diff --git a/ADLINK.zip b/ADLINK.zip deleted file mode 100644 index 92a0acc..0000000 Binary files a/ADLINK.zip and /dev/null differ diff --git a/README.md b/README.md index 61f7206..ee994cb 100644 --- a/README.md +++ b/README.md @@ -63,7 +63,7 @@ leak_test_project/ - 측정값(sccm), SPEC 범위(UL/LL), 판정(OK/NG) 실시간 확인 - 판정 결과에 따른 배경색 자동 변경 (OK=녹색, NG=빨간색) - 좌/우 채널별 상태(Status) 및 오류(Error) 메시지 표시 -- 센서 ID 정보 (LowID, 제조일, 시리얼, 라인, 제품 구분) 실시간 표시 +- 센서 ID 정보 (ID, 제조일, 시리얼, 라인, 제품 구분) 실시간 표시 - **ID 테스트 (L/R)** 버튼을 통한 센서 단독 통신 테스트 기능 ### 2. 자동 시험 프로세스 (TestProcessService) diff --git a/Setup/Release/Setup.msi b/Setup/Release/Setup.msi new file mode 100644 index 0000000..9730647 Binary files /dev/null and b/Setup/Release/Setup.msi differ diff --git a/Setup/Release/setup.exe b/Setup/Release/setup.exe new file mode 100644 index 0000000..92baeab Binary files /dev/null and b/Setup/Release/setup.exe differ diff --git a/Setup/Setup.vdproj b/Setup/Setup.vdproj new file mode 100644 index 0000000..93ed61c --- /dev/null +++ b/Setup/Setup.vdproj @@ -0,0 +1,30976 @@ +"DeployProject" +{ +"VSVersion" = "3:800" +"ProjectType" = "8:{978C614F-708E-4E1A-B201-565925725DBA}" +"IsWebType" = "8:FALSE" +"ProjectName" = "8:Setup" +"LanguageId" = "3:1042" +"CodePage" = "3:949" +"UILanguageId" = "3:1042" +"SccProjectName" = "8:" +"SccLocalPath" = "8:" +"SccAuxPath" = "8:" +"SccProvider" = "8:" + "Hierarchy" + { + "Entry" + { + "MsmKey" = "8:_0036124F08D44E92A70B64B41140023F" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_00870ADAC0484A5D86D37C9A575CCF3D" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_009772EA6AE2CED455464534B3EDA32B" + "OwnerKey" = "8:_885ACF4CE5ED65B8AE95F2B566DB5068" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_009772EA6AE2CED455464534B3EDA32B" + "OwnerKey" = "8:_5AFFAD1DB3394D668A182EBC3250F568" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_009772EA6AE2CED455464534B3EDA32B" + "OwnerKey" = "8:_7E9239EF51D949E5944F44165AAE0E45" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_009772EA6AE2CED455464534B3EDA32B" + "OwnerKey" = "8:_E7EBB094AEFE421893EC93722F3858CA" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_009772EA6AE2CED455464534B3EDA32B" + "OwnerKey" = "8:_DF0A22E9FCBC4DC7B7B85C268419DDC7" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_009772EA6AE2CED455464534B3EDA32B" + "OwnerKey" = "8:_4A73A72C37AD43BE874D5A1D1A0AAB49" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_009772EA6AE2CED455464534B3EDA32B" + "OwnerKey" = "8:_6064363DA54745BF80D07AE7BBAD2708" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_009772EA6AE2CED455464534B3EDA32B" + "OwnerKey" = "8:_E42E535A4E594AE395E6034A11D0BC18" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_009772EA6AE2CED455464534B3EDA32B" + "OwnerKey" = "8:_324C2F5994C24B94B5FC7875BAEC345C" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_009772EA6AE2CED455464534B3EDA32B" + "OwnerKey" = "8:_00BE6D73DBF24E039842B16D75344F46" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_009772EA6AE2CED455464534B3EDA32B" + "OwnerKey" = "8:_F91566EB89B347708B77D466605F363B" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_009772EA6AE2CED455464534B3EDA32B" + "OwnerKey" = "8:_527A891CDA554F859B36CDABC1846618" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_009772EA6AE2CED455464534B3EDA32B" + "OwnerKey" = "8:_D7B13A1948A74A85A3F106345CFBD518" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_009772EA6AE2CED455464534B3EDA32B" + "OwnerKey" = "8:_13D3431B48E2429EA0492571FB0A0DF5" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_009772EA6AE2CED455464534B3EDA32B" + "OwnerKey" = "8:_782B3A7F0C404202BB49F9B8976ED25E" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_009772EA6AE2CED455464534B3EDA32B" + "OwnerKey" = "8:_E5AFBB1B30114A789F779E58DF75A852" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_009772EA6AE2CED455464534B3EDA32B" + "OwnerKey" = "8:_B509DFE8D29A449F8BFF91DAE23D9FF8" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_009772EA6AE2CED455464534B3EDA32B" + "OwnerKey" = "8:_88663C8E7B3E467F8E97C0F8F32DA077" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_009772EA6AE2CED455464534B3EDA32B" + "OwnerKey" = "8:_3FCBB3459AEA49148CC829953A793252" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_009772EA6AE2CED455464534B3EDA32B" + "OwnerKey" = "8:_56D1D3A78E5E4185B6EDB009CF1798DC" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_009772EA6AE2CED455464534B3EDA32B" + "OwnerKey" = "8:_A51D015B5040499C9E740E5B6027AA00" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_009772EA6AE2CED455464534B3EDA32B" + "OwnerKey" = "8:_FDB9A054D5F14EC5964BEE14C0BC860A" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_009772EA6AE2CED455464534B3EDA32B" + "OwnerKey" = "8:_2C1DA645B2694569A12B0ECA7CB984DF" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_009772EA6AE2CED455464534B3EDA32B" + "OwnerKey" = "8:_83D0368A2D0549D593F1556F99EBDAE2" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_009772EA6AE2CED455464534B3EDA32B" + "OwnerKey" = "8:_E9906790AA414B2588DD26786A294C29" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_009772EA6AE2CED455464534B3EDA32B" + "OwnerKey" = "8:_B2C9C39DA23B458E9A978B9BD857F59B" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_009772EA6AE2CED455464534B3EDA32B" + "OwnerKey" = "8:_C4F6A258DAC346B5896CAD352E89A653" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_009772EA6AE2CED455464534B3EDA32B" + "OwnerKey" = "8:_49B55262F1F3454AAB2D13C6380C82F3" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_009772EA6AE2CED455464534B3EDA32B" + "OwnerKey" = "8:_3A32C2C6B10CFBAC734C10DFC0F2D83D" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_009772EA6AE2CED455464534B3EDA32B" + "OwnerKey" = "8:_F0F1AF4A4822AA44EDB6D341EFB2BDC1" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_009772EA6AE2CED455464534B3EDA32B" + "OwnerKey" = "8:_45D96C37531D229D4E62D781ED22A9D9" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_009772EA6AE2CED455464534B3EDA32B" + "OwnerKey" = "8:_C922CCA4B33A3F683FACF8530ED7F75B" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_009772EA6AE2CED455464534B3EDA32B" + "OwnerKey" = "8:_C667F7C6655F91B4FF60A357F0D2A867" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_009772EA6AE2CED455464534B3EDA32B" + "OwnerKey" = "8:_FCCFAEFE563F750053031528823CACF4" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_009772EA6AE2CED455464534B3EDA32B" + "OwnerKey" = "8:_B0A043DD5CEC99EC8E1850E93A3607E2" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_009772EA6AE2CED455464534B3EDA32B" + "OwnerKey" = "8:_58430C1692E289EE87AB6E8926D2E30F" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_009772EA6AE2CED455464534B3EDA32B" + "OwnerKey" = "8:_511FA553A2BB1508C041CAE5D0337949" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_009772EA6AE2CED455464534B3EDA32B" + "OwnerKey" = "8:_695DCEC11864890D1C962A88C49BD047" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_009772EA6AE2CED455464534B3EDA32B" + "OwnerKey" = "8:_6880C8C0D7F71507411900E1F1791D78" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_009772EA6AE2CED455464534B3EDA32B" + "OwnerKey" = "8:_EB5902B2FB790C091328A0B2955961F5" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_009772EA6AE2CED455464534B3EDA32B" + "OwnerKey" = "8:_F2A52197B30AAA0399607540DDFC0582" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_009772EA6AE2CED455464534B3EDA32B" + "OwnerKey" = "8:_167D566FCD3D724B914C3E6BBDBFA434" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_009772EA6AE2CED455464534B3EDA32B" + "OwnerKey" = "8:_391725973BE6623D5F25862C85007100" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_009772EA6AE2CED455464534B3EDA32B" + "OwnerKey" = "8:_1551258034248E4E492021BAF397CB42" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_009772EA6AE2CED455464534B3EDA32B" + "OwnerKey" = "8:_76BEA2873C26D5302B3D36ECF64BC24E" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_009772EA6AE2CED455464534B3EDA32B" + "OwnerKey" = "8:_30B24E91E79B41755B7C36FE3F34E6F6" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_009772EA6AE2CED455464534B3EDA32B" + "OwnerKey" = "8:_E78DD49ECC6739D6B2F1BD05764DAC06" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_009772EA6AE2CED455464534B3EDA32B" + "OwnerKey" = "8:_5DAB1E200E4FD0856E74B64E9E6B853F" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_009772EA6AE2CED455464534B3EDA32B" + "OwnerKey" = "8:_D4223ED3C06A3558BE43C03E1122A235" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_009772EA6AE2CED455464534B3EDA32B" + "OwnerKey" = "8:_02C6ED8601E890A673B5A2E5EFF784C2" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_009772EA6AE2CED455464534B3EDA32B" + "OwnerKey" = "8:_2FEF801058576444D70B4AA0E62F79F5" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_009772EA6AE2CED455464534B3EDA32B" + "OwnerKey" = "8:_147D97C9F3B6BA02F678CA3935F67915" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_009772EA6AE2CED455464534B3EDA32B" + "OwnerKey" = "8:_DD2B1DC8C4F5391A6425E017050F8D44" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_009772EA6AE2CED455464534B3EDA32B" + "OwnerKey" = "8:_B85447E82F233EDC44E9E1B01C9D0F34" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_00BE6D73DBF24E039842B16D75344F46" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_0104ABFCB751DC5DAD324EC1CA925DBE" + "OwnerKey" = "8:_632667153BFC4C2AA121974E10F49026" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_0104ABFCB751DC5DAD324EC1CA925DBE" + "OwnerKey" = "8:_624D6C2131D427E1FDCAAF7D749F959E" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_01DFED249049DDA72757FA18F4680151" + "OwnerKey" = "8:_C0D114703ACF4E88B4B47D7F4E04960C" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_01DFED249049DDA72757FA18F4680151" + "OwnerKey" = "8:_9C3FE60D2CB641EB8C20EB0A946F9793" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_01DFED249049DDA72757FA18F4680151" + "OwnerKey" = "8:_00870ADAC0484A5D86D37C9A575CCF3D" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_01DFED249049DDA72757FA18F4680151" + "OwnerKey" = "8:_D622EAEACBA547CB5BB0B80EF2F9FBEC" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_01EB6D17530A47109F2D66319328C67C" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_026AA5F28014499D2CA48D39AEBA8A0D" + "OwnerKey" = "8:_5AA5C97011089B80E80258C54FC9B702" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_026AA5F28014499D2CA48D39AEBA8A0D" + "OwnerKey" = "8:_9C3FE60D2CB641EB8C20EB0A946F9793" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_026AA5F28014499D2CA48D39AEBA8A0D" + "OwnerKey" = "8:_B35F3A0A06D64AB3A82CEAFE7EA8DBF9" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_026AA5F28014499D2CA48D39AEBA8A0D" + "OwnerKey" = "8:_D622EAEACBA547CB5BB0B80EF2F9FBEC" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_026AA5F28014499D2CA48D39AEBA8A0D" + "OwnerKey" = "8:_9CCA3CBAA527443294E12C0531E871DD" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_026AA5F28014499D2CA48D39AEBA8A0D" + "OwnerKey" = "8:_44B10BD5C45C69957E1AFCAD6BF10485" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_026AA5F28014499D2CA48D39AEBA8A0D" + "OwnerKey" = "8:_C0D114703ACF4E88B4B47D7F4E04960C" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_02B0F7551C1CF1CD6A6FE01252ED4F4C" + "OwnerKey" = "8:_C0D114703ACF4E88B4B47D7F4E04960C" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_02B0F7551C1CF1CD6A6FE01252ED4F4C" + "OwnerKey" = "8:_9C3FE60D2CB641EB8C20EB0A946F9793" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_02B0F7551C1CF1CD6A6FE01252ED4F4C" + "OwnerKey" = "8:_D622EAEACBA547CB5BB0B80EF2F9FBEC" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_02C6ED8601E890A673B5A2E5EFF784C2" + "OwnerKey" = "8:_87D96055A65C8E9143A977AA771F19A4" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_02C6ED8601E890A673B5A2E5EFF784C2" + "OwnerKey" = "8:_A09D5E52064B4EE8B58F413F03CA7A4C" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_02C6ED8601E890A673B5A2E5EFF784C2" + "OwnerKey" = "8:_F146D7D5982B4DAB8830740345D4B161" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_02C6ED8601E890A673B5A2E5EFF784C2" + "OwnerKey" = "8:_1CFDA3E92E67479FA1DCD568EF25F83B" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_02C6ED8601E890A673B5A2E5EFF784C2" + "OwnerKey" = "8:_1E055B0BAC1C43F5B5FEAD6924109C12" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_02C6ED8601E890A673B5A2E5EFF784C2" + "OwnerKey" = "8:_46704F13BB2D4842BE0A1793EE0FE473" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_02C6ED8601E890A673B5A2E5EFF784C2" + "OwnerKey" = "8:_B14294C19B2D48C39AC7F29189EFC261" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_02C6ED8601E890A673B5A2E5EFF784C2" + "OwnerKey" = "8:_7A6FFAB65849451985DC97672E60AC25" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_02C6ED8601E890A673B5A2E5EFF784C2" + "OwnerKey" = "8:_42E776DCC37C447AB3D84285C5BC636A" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_02C6ED8601E890A673B5A2E5EFF784C2" + "OwnerKey" = "8:_DD58016D60544560AA5E49FFE8AF107F" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_02C6ED8601E890A673B5A2E5EFF784C2" + "OwnerKey" = "8:_BB9BDFAB061A475D834F5B2188B1B0DF" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_02C6ED8601E890A673B5A2E5EFF784C2" + "OwnerKey" = "8:_F703AD86F2EE4F03B609DD408A7632FC" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_02C6ED8601E890A673B5A2E5EFF784C2" + "OwnerKey" = "8:_A5E25E6038B7491EB5E4C5164B34ED2A" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_02C6ED8601E890A673B5A2E5EFF784C2" + "OwnerKey" = "8:_3CBC60FF3B1D487BBD2C5E8B7C1343DA" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_02C6ED8601E890A673B5A2E5EFF784C2" + "OwnerKey" = "8:_A465D5ADCCED41E8A8F9DE1412BEE105" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_02C6ED8601E890A673B5A2E5EFF784C2" + "OwnerKey" = "8:_292CB48DD2234C5C9F966039981DA3DC" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_02C6ED8601E890A673B5A2E5EFF784C2" + "OwnerKey" = "8:_449AD383BF274A1BB871346ADC2CC6ED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_02C6ED8601E890A673B5A2E5EFF784C2" + "OwnerKey" = "8:_468BE8638DF04F0D822D6B0D3236D456" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_02C6ED8601E890A673B5A2E5EFF784C2" + "OwnerKey" = "8:_6677F7DDE833487685A5365B814C948E" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_02C6ED8601E890A673B5A2E5EFF784C2" + "OwnerKey" = "8:_21A2529647604DFFB1092B225884ECB6" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_02C6ED8601E890A673B5A2E5EFF784C2" + "OwnerKey" = "8:_A571C881BA284732B625F26EFFC63369" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_02C6ED8601E890A673B5A2E5EFF784C2" + "OwnerKey" = "8:_02E4613E8AEB4925B0909C28C1269A91" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_02C6ED8601E890A673B5A2E5EFF784C2" + "OwnerKey" = "8:_DC8D8DBC37CC4A48BAF0DC5E82766D9C" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_02C6ED8601E890A673B5A2E5EFF784C2" + "OwnerKey" = "8:_D3633B8ABDC546FD9B706F87CA11EB0D" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_02C6ED8601E890A673B5A2E5EFF784C2" + "OwnerKey" = "8:_9DD7D99ADB14464CAAD4E8856EDD4D90" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_02C6ED8601E890A673B5A2E5EFF784C2" + "OwnerKey" = "8:_95B62EB18B59449F80C102E0FA4D469D" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_02C6ED8601E890A673B5A2E5EFF784C2" + "OwnerKey" = "8:_CB93347BD17E465AB8DCE6E7803A8994" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_02C6ED8601E890A673B5A2E5EFF784C2" + "OwnerKey" = "8:_9C3FE60D2CB641EB8C20EB0A946F9793" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_02C6ED8601E890A673B5A2E5EFF784C2" + "OwnerKey" = "8:_C0C5097D17F34D15B8B17E20FDDC9766" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_02C6ED8601E890A673B5A2E5EFF784C2" + "OwnerKey" = "8:_53492C665B5D49D7B4705F3E23562157" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_02C6ED8601E890A673B5A2E5EFF784C2" + "OwnerKey" = "8:_20FFD0CF6C92429FAA25626C12E1F20C" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_02C6ED8601E890A673B5A2E5EFF784C2" + "OwnerKey" = "8:_ADECACE59CB14E8BA77539E1543F3F9E" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_02C6ED8601E890A673B5A2E5EFF784C2" + "OwnerKey" = "8:_17D03F5442B743769AF147B534D842BB" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_02C6ED8601E890A673B5A2E5EFF784C2" + "OwnerKey" = "8:_624C2F74AFC9428AA2BE6445E388E8B5" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_02C6ED8601E890A673B5A2E5EFF784C2" + "OwnerKey" = "8:_5E9E54CF8C9A48A28AE9FBB85927752D" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_02C6ED8601E890A673B5A2E5EFF784C2" + "OwnerKey" = "8:_594F61C6642845DF974AAD0E91EF9A37" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_02C6ED8601E890A673B5A2E5EFF784C2" + "OwnerKey" = "8:_2AD130904BC84DEA8501024AA232FC4E" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_02C6ED8601E890A673B5A2E5EFF784C2" + "OwnerKey" = "8:_C653534C72A8445D83D5885D02245F61" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_02C6ED8601E890A673B5A2E5EFF784C2" + "OwnerKey" = "8:_0DF687C0AA8641C092D2E3977BBDEFA7" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_02C6ED8601E890A673B5A2E5EFF784C2" + "OwnerKey" = "8:_01EB6D17530A47109F2D66319328C67C" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_02C6ED8601E890A673B5A2E5EFF784C2" + "OwnerKey" = "8:_AEB8C3BFA7FB4D8F8F36840AEC216303" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_02C6ED8601E890A673B5A2E5EFF784C2" + "OwnerKey" = "8:_4100FED7054648CDA194B4B8B07B2826" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_02C6ED8601E890A673B5A2E5EFF784C2" + "OwnerKey" = "8:_B3A91C3DDE21461499706CB060164DBF" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_02C6ED8601E890A673B5A2E5EFF784C2" + "OwnerKey" = "8:_3EAE9A25156D4C4E8D02740045C4BA86" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_02C6ED8601E890A673B5A2E5EFF784C2" + "OwnerKey" = "8:_B419E6174B6348818E0717CEB95B287E" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_02C6ED8601E890A673B5A2E5EFF784C2" + "OwnerKey" = "8:_6906CE29A1544D899543332AE5DFB93D" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_02C6ED8601E890A673B5A2E5EFF784C2" + "OwnerKey" = "8:_FFA7ACA8F65E48BC81C510AFD77C921F" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_02C6ED8601E890A673B5A2E5EFF784C2" + "OwnerKey" = "8:_5C5D73F2140D4BCD9209CD169908C37D" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_02C6ED8601E890A673B5A2E5EFF784C2" + "OwnerKey" = "8:_D0B3A652520B49CC8F4841279D757E59" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_02C6ED8601E890A673B5A2E5EFF784C2" + "OwnerKey" = "8:_7970EE0845C64C969FEA4A8C942AE6F6" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_02C6ED8601E890A673B5A2E5EFF784C2" + "OwnerKey" = "8:_6FAA499E74924D14BE2D95B3A55D4555" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_02C6ED8601E890A673B5A2E5EFF784C2" + "OwnerKey" = "8:_B7024C4C534B4076919F1F14AFE2A406" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_02C6ED8601E890A673B5A2E5EFF784C2" + "OwnerKey" = "8:_80700DA2DA0B4A82B43212E33F09A43C" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_02C6ED8601E890A673B5A2E5EFF784C2" + "OwnerKey" = "8:_3C19985D42B149389722FDE758E65B17" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_02C6ED8601E890A673B5A2E5EFF784C2" + "OwnerKey" = "8:_6BBC70E12174480BB9AA2BB5387E54BF" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_02C6ED8601E890A673B5A2E5EFF784C2" + "OwnerKey" = "8:_DF6FCAF566474F6C802DF369530FB263" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_02C6ED8601E890A673B5A2E5EFF784C2" + "OwnerKey" = "8:_3B22C3ECB76E01BF3655CCA58F521AE4" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_02C6ED8601E890A673B5A2E5EFF784C2" + "OwnerKey" = "8:_CF5F023E64024115B138FC74C0E7ED3D" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_02C6ED8601E890A673B5A2E5EFF784C2" + "OwnerKey" = "8:_A32CDB2D5DE248EEB28F28CAB6B79F5D" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_02C6ED8601E890A673B5A2E5EFF784C2" + "OwnerKey" = "8:_9A56688DC4D7494CBD7F5A9327D1F188" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_02C6ED8601E890A673B5A2E5EFF784C2" + "OwnerKey" = "8:_EB7787F6A450460E98169BCFF7B5668A" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_02C6ED8601E890A673B5A2E5EFF784C2" + "OwnerKey" = "8:_36D3CE517C9A4CD98E32A43137379986" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_02C6ED8601E890A673B5A2E5EFF784C2" + "OwnerKey" = "8:_0036124F08D44E92A70B64B41140023F" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_02C6ED8601E890A673B5A2E5EFF784C2" + "OwnerKey" = "8:_8438E7C8CC49448093B99673A2CC034F" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_02C6ED8601E890A673B5A2E5EFF784C2" + "OwnerKey" = "8:_12BFA5DCE4C74EBEBAEA5E50ED2ECF8B" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_02C6ED8601E890A673B5A2E5EFF784C2" + "OwnerKey" = "8:_B35F3A0A06D64AB3A82CEAFE7EA8DBF9" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_02C6ED8601E890A673B5A2E5EFF784C2" + "OwnerKey" = "8:_05581D908989450DBE2EF42B84501484" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_02C6ED8601E890A673B5A2E5EFF784C2" + "OwnerKey" = "8:_82C511A0589641DFA0DBE670DBE561CD" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_02C6ED8601E890A673B5A2E5EFF784C2" + "OwnerKey" = "8:_93CE5D9EAEFF4448ADF4B8776D5DFD70" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_02C6ED8601E890A673B5A2E5EFF784C2" + "OwnerKey" = "8:_FE23B45386AF0F9D3FB137DB948A7F53" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_02C6ED8601E890A673B5A2E5EFF784C2" + "OwnerKey" = "8:_67EB7D0AB53C9905790E1D5A3283B7A4" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_02C6ED8601E890A673B5A2E5EFF784C2" + "OwnerKey" = "8:_199C4E0C921D4A5DAEC115D1B8C45FD4" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_02C6ED8601E890A673B5A2E5EFF784C2" + "OwnerKey" = "8:_5291B57ED0674E68992853A555A116C3" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_02C6ED8601E890A673B5A2E5EFF784C2" + "OwnerKey" = "8:_B9A463F73DBC4127BD9C474727649628" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_02C6ED8601E890A673B5A2E5EFF784C2" + "OwnerKey" = "8:_A278A66B8DD64BBFB8143302051B8132" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_02C6ED8601E890A673B5A2E5EFF784C2" + "OwnerKey" = "8:_05A39EB48A324A02889E485BCFFAD76A" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_02C6ED8601E890A673B5A2E5EFF784C2" + "OwnerKey" = "8:_43391991848647868BF2E89CF637D486" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_02C6ED8601E890A673B5A2E5EFF784C2" + "OwnerKey" = "8:_5D13D6EC94124CF0A401D7DC97BEDFF2" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_02C6ED8601E890A673B5A2E5EFF784C2" + "OwnerKey" = "8:_E62C1A012A4E40798DE80BE3E6A4E951" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_02C6ED8601E890A673B5A2E5EFF784C2" + "OwnerKey" = "8:_EDF89CFEB9CD4C0DA79593E87E6BFE27" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_02C6ED8601E890A673B5A2E5EFF784C2" + "OwnerKey" = "8:_BC3E5B1940FE4B48AF468D860BC359CA" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_02C6ED8601E890A673B5A2E5EFF784C2" + "OwnerKey" = "8:_E485E664B108312262981F501B2F4848" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_02C6ED8601E890A673B5A2E5EFF784C2" + "OwnerKey" = "8:_00870ADAC0484A5D86D37C9A575CCF3D" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_02C6ED8601E890A673B5A2E5EFF784C2" + "OwnerKey" = "8:_7D1AF215AEF542A188BD95BB372EDFBF" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_02C6ED8601E890A673B5A2E5EFF784C2" + "OwnerKey" = "8:_32E3293A11F646DC9EC2E3A882DAA405" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_02C6ED8601E890A673B5A2E5EFF784C2" + "OwnerKey" = "8:_BF6D49BA584844B1A9F5E6E585DED179" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_02C6ED8601E890A673B5A2E5EFF784C2" + "OwnerKey" = "8:_B18DAA15A2D144CAB805DF98395AA6E6" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_02C6ED8601E890A673B5A2E5EFF784C2" + "OwnerKey" = "8:_9AEFF85A1F0544D48C72F1BBB0330C90" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_02C6ED8601E890A673B5A2E5EFF784C2" + "OwnerKey" = "8:_24DE3229C3EB23D88DA6489295CECC60" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_02C6ED8601E890A673B5A2E5EFF784C2" + "OwnerKey" = "8:_D622EAEACBA547CB5BB0B80EF2F9FBEC" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_02C6ED8601E890A673B5A2E5EFF784C2" + "OwnerKey" = "8:_9CCA3CBAA527443294E12C0531E871DD" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_02C6ED8601E890A673B5A2E5EFF784C2" + "OwnerKey" = "8:_B89EC8CDA071487ABA6E99DB1029E6C3" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_02C6ED8601E890A673B5A2E5EFF784C2" + "OwnerKey" = "8:_E3D0A6FB355A4EEAB008A5BEF4D333D3" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_02C6ED8601E890A673B5A2E5EFF784C2" + "OwnerKey" = "8:_E9A9169C65864477A15AD563011F5417" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_02C6ED8601E890A673B5A2E5EFF784C2" + "OwnerKey" = "8:_D64A9B36F8244321A075359E498601DC" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_02C6ED8601E890A673B5A2E5EFF784C2" + "OwnerKey" = "8:_B54170EB482D4C0A92074CE3C6E550BD" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_02C6ED8601E890A673B5A2E5EFF784C2" + "OwnerKey" = "8:_CF4BC0FBB809D9512674750602812472" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_02C6ED8601E890A673B5A2E5EFF784C2" + "OwnerKey" = "8:_EB7394202514501EB18031D2FA114FE0" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_02C6ED8601E890A673B5A2E5EFF784C2" + "OwnerKey" = "8:_44B10BD5C45C69957E1AFCAD6BF10485" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_02C6ED8601E890A673B5A2E5EFF784C2" + "OwnerKey" = "8:_1AFFE18A5663E9DC4F95DA808CC22BC4" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_02C6ED8601E890A673B5A2E5EFF784C2" + "OwnerKey" = "8:_01DFED249049DDA72757FA18F4680151" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_02C6ED8601E890A673B5A2E5EFF784C2" + "OwnerKey" = "8:_478C4D00C4B41A2FEFBA27FD80363947" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_02C6ED8601E890A673B5A2E5EFF784C2" + "OwnerKey" = "8:_C0D114703ACF4E88B4B47D7F4E04960C" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_02C6ED8601E890A673B5A2E5EFF784C2" + "OwnerKey" = "8:_045EC7442D5DE0F8BFC16091D4D0E81D" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_02C6ED8601E890A673B5A2E5EFF784C2" + "OwnerKey" = "8:_74DAED7BD8A1DE36D7E11A54E90C054F" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_02C6ED8601E890A673B5A2E5EFF784C2" + "OwnerKey" = "8:_D9EDC201718B1D32E78471AA154D1175" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_02C6ED8601E890A673B5A2E5EFF784C2" + "OwnerKey" = "8:_EE87D8D198A25894F219EBFDE24A8758" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_02C6ED8601E890A673B5A2E5EFF784C2" + "OwnerKey" = "8:_5AA5C97011089B80E80258C54FC9B702" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_02C6ED8601E890A673B5A2E5EFF784C2" + "OwnerKey" = "8:_E4CAF456C17123C182993937E22CEC06" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_02C6ED8601E890A673B5A2E5EFF784C2" + "OwnerKey" = "8:_BC31A8CC4EE0FEACA6403236951B65CF" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_02C6ED8601E890A673B5A2E5EFF784C2" + "OwnerKey" = "8:_179F68EB6691A388BE34A6557619EB81" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_02C6ED8601E890A673B5A2E5EFF784C2" + "OwnerKey" = "8:_2A334B668DCE33BCF921B34BEEE353B3" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_02C6ED8601E890A673B5A2E5EFF784C2" + "OwnerKey" = "8:_B96BF8D9E3FF5E8CDFD69659FF75C052" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_02C6ED8601E890A673B5A2E5EFF784C2" + "OwnerKey" = "8:_CF6116D74539692C6BD1F1CF4D8059DF" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_02C6ED8601E890A673B5A2E5EFF784C2" + "OwnerKey" = "8:_73AD4875357913BE8D8902DEE60B3E2F" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_02C6ED8601E890A673B5A2E5EFF784C2" + "OwnerKey" = "8:_E0FE5833AD3E054566DD4BE6AD0607BD" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_02C6ED8601E890A673B5A2E5EFF784C2" + "OwnerKey" = "8:_0EAABA4E186AE44B95DDA8539C36051A" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_02C6ED8601E890A673B5A2E5EFF784C2" + "OwnerKey" = "8:_026AA5F28014499D2CA48D39AEBA8A0D" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_02C6ED8601E890A673B5A2E5EFF784C2" + "OwnerKey" = "8:_786BFC89E84C53F8CFD5DCFE4E5A2C50" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_02C6ED8601E890A673B5A2E5EFF784C2" + "OwnerKey" = "8:_DF78794EEA35F4996762557B6D1F24DF" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_02C6ED8601E890A673B5A2E5EFF784C2" + "OwnerKey" = "8:_537EFDE831D746D17ADF3C0DB87B44A5" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_02C6ED8601E890A673B5A2E5EFF784C2" + "OwnerKey" = "8:_B7EF0CBFEF347A276FB32A581D514536" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_02C6ED8601E890A673B5A2E5EFF784C2" + "OwnerKey" = "8:_8C0A8BA04215433A1B10CC5A37BD3134" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_02C6ED8601E890A673B5A2E5EFF784C2" + "OwnerKey" = "8:_116EB9729A93F5A9EEF73567733F8298" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_02C6ED8601E890A673B5A2E5EFF784C2" + "OwnerKey" = "8:_9C6B1512878A30BB57B7470F506D4392" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_02C6ED8601E890A673B5A2E5EFF784C2" + "OwnerKey" = "8:_FCF185846CF41F04637293C35A21BF70" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_02C6ED8601E890A673B5A2E5EFF784C2" + "OwnerKey" = "8:_6C7EC0ABAE9AAD4FC604C53BE8578137" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_02C6ED8601E890A673B5A2E5EFF784C2" + "OwnerKey" = "8:_94F347547CB6AB524CDD9532C9708415" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_02C6ED8601E890A673B5A2E5EFF784C2" + "OwnerKey" = "8:_15554B3D9AB1703D58B0D31D6923E3C0" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_02C6ED8601E890A673B5A2E5EFF784C2" + "OwnerKey" = "8:_51F23CC790B4896F4232F5B87B191C29" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_02C6ED8601E890A673B5A2E5EFF784C2" + "OwnerKey" = "8:_A4C5548E242439A424F0DC360FC3CA1D" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_02C6ED8601E890A673B5A2E5EFF784C2" + "OwnerKey" = "8:_25119C0EDD984B380F70507E568E7EC3" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_02C6ED8601E890A673B5A2E5EFF784C2" + "OwnerKey" = "8:_9ACDBEABECC7440F13251DB88B9C7DD6" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_02C6ED8601E890A673B5A2E5EFF784C2" + "OwnerKey" = "8:_0C0770DF84ADB725BCC3B9FE50E944AD" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_02C6ED8601E890A673B5A2E5EFF784C2" + "OwnerKey" = "8:_8D9B92E094235D3CA8C0E0C80887BD9C" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_02C6ED8601E890A673B5A2E5EFF784C2" + "OwnerKey" = "8:_056F1A41DACF9EE6C093D4334D5B80A4" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_02C6ED8601E890A673B5A2E5EFF784C2" + "OwnerKey" = "8:_7D208C9FD90C6A50A40A16AA75D2015F" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_02C6ED8601E890A673B5A2E5EFF784C2" + "OwnerKey" = "8:_0302A0E8F069DC6D670ED6DCA4CE78EE" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_02C6ED8601E890A673B5A2E5EFF784C2" + "OwnerKey" = "8:_3EBF7A465C0CBA88AD6F19B254EF89C2" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_02C6ED8601E890A673B5A2E5EFF784C2" + "OwnerKey" = "8:_F6A075E3ABB3C787DAC223D19765A5EF" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_02C6ED8601E890A673B5A2E5EFF784C2" + "OwnerKey" = "8:_EE15A25C01E88F5B27815C3177A0A8C9" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_02C6ED8601E890A673B5A2E5EFF784C2" + "OwnerKey" = "8:_D68919677686C38D6B7CA42727FFEA37" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_02C6ED8601E890A673B5A2E5EFF784C2" + "OwnerKey" = "8:_A504707907BDD8C193F5FD8FD3CA6D90" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_02C6ED8601E890A673B5A2E5EFF784C2" + "OwnerKey" = "8:_8D7F4A72EC0092EE270B9C43BD633589" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_02C6ED8601E890A673B5A2E5EFF784C2" + "OwnerKey" = "8:_6370FD971DB9E8938A26E2982CF5CE7E" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_02C6ED8601E890A673B5A2E5EFF784C2" + "OwnerKey" = "8:_F0DFE7E3E5BBF1E65BC15B064AAE986E" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_02E4613E8AEB4925B0909C28C1269A91" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_0302A0E8F069DC6D670ED6DCA4CE78EE" + "OwnerKey" = "8:_7D208C9FD90C6A50A40A16AA75D2015F" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_0302A0E8F069DC6D670ED6DCA4CE78EE" + "OwnerKey" = "8:_DC8D8DBC37CC4A48BAF0DC5E82766D9C" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_0302A0E8F069DC6D670ED6DCA4CE78EE" + "OwnerKey" = "8:_95B62EB18B59449F80C102E0FA4D469D" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_0302A0E8F069DC6D670ED6DCA4CE78EE" + "OwnerKey" = "8:_9C3FE60D2CB641EB8C20EB0A946F9793" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_0302A0E8F069DC6D670ED6DCA4CE78EE" + "OwnerKey" = "8:_EB7787F6A450460E98169BCFF7B5668A" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_0302A0E8F069DC6D670ED6DCA4CE78EE" + "OwnerKey" = "8:_D622EAEACBA547CB5BB0B80EF2F9FBEC" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_0302A0E8F069DC6D670ED6DCA4CE78EE" + "OwnerKey" = "8:_9CCA3CBAA527443294E12C0531E871DD" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_0302A0E8F069DC6D670ED6DCA4CE78EE" + "OwnerKey" = "8:_C0D114703ACF4E88B4B47D7F4E04960C" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_0302A0E8F069DC6D670ED6DCA4CE78EE" + "OwnerKey" = "8:_5AA5C97011089B80E80258C54FC9B702" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_0302A0E8F069DC6D670ED6DCA4CE78EE" + "OwnerKey" = "8:_6C7EC0ABAE9AAD4FC604C53BE8578137" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_0319BF2D87724705AFF5187CB57DC4B2" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_03BA8ACDDDBF6520B59F51E73C4D971D" + "OwnerKey" = "8:_C0D114703ACF4E88B4B47D7F4E04960C" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_03BA8ACDDDBF6520B59F51E73C4D971D" + "OwnerKey" = "8:_9C3FE60D2CB641EB8C20EB0A946F9793" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_03BA8ACDDDBF6520B59F51E73C4D971D" + "OwnerKey" = "8:_D622EAEACBA547CB5BB0B80EF2F9FBEC" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_03EEA3B0054D3E7AA51C825DB765F06A" + "OwnerKey" = "8:_C0D114703ACF4E88B4B47D7F4E04960C" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_03EEA3B0054D3E7AA51C825DB765F06A" + "OwnerKey" = "8:_9C3FE60D2CB641EB8C20EB0A946F9793" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_03EEA3B0054D3E7AA51C825DB765F06A" + "OwnerKey" = "8:_8BF63CB8BADA5718336FE254291A8F66" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_03EEA3B0054D3E7AA51C825DB765F06A" + "OwnerKey" = "8:_D622EAEACBA547CB5BB0B80EF2F9FBEC" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_0422655D7A614C73B3A8A239E8F21AED" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_045EC7442D5DE0F8BFC16091D4D0E81D" + "OwnerKey" = "8:_13B476BCC07AAC0ACDCD13680C79132E" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_045EC7442D5DE0F8BFC16091D4D0E81D" + "OwnerKey" = "8:_9C3FE60D2CB641EB8C20EB0A946F9793" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_045EC7442D5DE0F8BFC16091D4D0E81D" + "OwnerKey" = "8:_4617971CE6594996B555E535CCE00211" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_045EC7442D5DE0F8BFC16091D4D0E81D" + "OwnerKey" = "8:_D622EAEACBA547CB5BB0B80EF2F9FBEC" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_045EC7442D5DE0F8BFC16091D4D0E81D" + "OwnerKey" = "8:_C0D114703ACF4E88B4B47D7F4E04960C" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_04B560317E914B3D845B6618DB552623" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_05581D908989450DBE2EF42B84501484" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_056F1A41DACF9EE6C093D4334D5B80A4" + "OwnerKey" = "8:_C0D114703ACF4E88B4B47D7F4E04960C" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_056F1A41DACF9EE6C093D4334D5B80A4" + "OwnerKey" = "8:_9C3FE60D2CB641EB8C20EB0A946F9793" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_056F1A41DACF9EE6C093D4334D5B80A4" + "OwnerKey" = "8:_D622EAEACBA547CB5BB0B80EF2F9FBEC" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_05A39EB48A324A02889E485BCFFAD76A" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_08D44BC560614CDDB589C5C658B59B7D" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_09A62DF5B6844A1F97C767EC8D252742" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_0C0770DF84ADB725BCC3B9FE50E944AD" + "OwnerKey" = "8:_FCF185846CF41F04637293C35A21BF70" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_0C0770DF84ADB725BCC3B9FE50E944AD" + "OwnerKey" = "8:_9C3FE60D2CB641EB8C20EB0A946F9793" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_0C0770DF84ADB725BCC3B9FE50E944AD" + "OwnerKey" = "8:_E9906790AA414B2588DD26786A294C29" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_0C0770DF84ADB725BCC3B9FE50E944AD" + "OwnerKey" = "8:_05581D908989450DBE2EF42B84501484" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_0C0770DF84ADB725BCC3B9FE50E944AD" + "OwnerKey" = "8:_5291B57ED0674E68992853A555A116C3" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_0C0770DF84ADB725BCC3B9FE50E944AD" + "OwnerKey" = "8:_05A39EB48A324A02889E485BCFFAD76A" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_0C0770DF84ADB725BCC3B9FE50E944AD" + "OwnerKey" = "8:_9AEFF85A1F0544D48C72F1BBB0330C90" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_0C0770DF84ADB725BCC3B9FE50E944AD" + "OwnerKey" = "8:_D622EAEACBA547CB5BB0B80EF2F9FBEC" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_0C0770DF84ADB725BCC3B9FE50E944AD" + "OwnerKey" = "8:_9CCA3CBAA527443294E12C0531E871DD" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_0C0770DF84ADB725BCC3B9FE50E944AD" + "OwnerKey" = "8:_C0D114703ACF4E88B4B47D7F4E04960C" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_0C0770DF84ADB725BCC3B9FE50E944AD" + "OwnerKey" = "8:_5AA5C97011089B80E80258C54FC9B702" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_0C0770DF84ADB725BCC3B9FE50E944AD" + "OwnerKey" = "8:_C667F7C6655F91B4FF60A357F0D2A867" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_0D4B1FACED7C406C8B45A2D42A956E94" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_0DCC0FC8674AE415B5CC1360A533D983" + "OwnerKey" = "8:_8BF63CB8BADA5718336FE254291A8F66" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_0DF687C0AA8641C092D2E3977BBDEFA7" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_0EAABA4E186AE44B95DDA8539C36051A" + "OwnerKey" = "8:_5AA5C97011089B80E80258C54FC9B702" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_0EAABA4E186AE44B95DDA8539C36051A" + "OwnerKey" = "8:_9C3FE60D2CB641EB8C20EB0A946F9793" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_0EAABA4E186AE44B95DDA8539C36051A" + "OwnerKey" = "8:_D622EAEACBA547CB5BB0B80EF2F9FBEC" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_0EAABA4E186AE44B95DDA8539C36051A" + "OwnerKey" = "8:_9CCA3CBAA527443294E12C0531E871DD" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_0EAABA4E186AE44B95DDA8539C36051A" + "OwnerKey" = "8:_C0D114703ACF4E88B4B47D7F4E04960C" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_116EB9729A93F5A9EEF73567733F8298" + "OwnerKey" = "8:_B7EF0CBFEF347A276FB32A581D514536" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_116EB9729A93F5A9EEF73567733F8298" + "OwnerKey" = "8:_9C3FE60D2CB641EB8C20EB0A946F9793" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_116EB9729A93F5A9EEF73567733F8298" + "OwnerKey" = "8:_D9A8CF85057F4275B76CBA27451FBBB5" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_116EB9729A93F5A9EEF73567733F8298" + "OwnerKey" = "8:_C653534C72A8445D83D5885D02245F61" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_116EB9729A93F5A9EEF73567733F8298" + "OwnerKey" = "8:_01EB6D17530A47109F2D66319328C67C" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_116EB9729A93F5A9EEF73567733F8298" + "OwnerKey" = "8:_D622EAEACBA547CB5BB0B80EF2F9FBEC" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_116EB9729A93F5A9EEF73567733F8298" + "OwnerKey" = "8:_9CCA3CBAA527443294E12C0531E871DD" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_116EB9729A93F5A9EEF73567733F8298" + "OwnerKey" = "8:_C0D114703ACF4E88B4B47D7F4E04960C" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_116EB9729A93F5A9EEF73567733F8298" + "OwnerKey" = "8:_57D7430D26C37BBE513C3DEF41482CB8" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_116EB9729A93F5A9EEF73567733F8298" + "OwnerKey" = "8:_5AA5C97011089B80E80258C54FC9B702" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_116EB9729A93F5A9EEF73567733F8298" + "OwnerKey" = "8:_BC31A8CC4EE0FEACA6403236951B65CF" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_12BFA5DCE4C74EBEBAEA5E50ED2ECF8B" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_13B476BCC07AAC0ACDCD13680C79132E" + "OwnerKey" = "8:_C0D114703ACF4E88B4B47D7F4E04960C" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_13B476BCC07AAC0ACDCD13680C79132E" + "OwnerKey" = "8:_9C3FE60D2CB641EB8C20EB0A946F9793" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_13B476BCC07AAC0ACDCD13680C79132E" + "OwnerKey" = "8:_D622EAEACBA547CB5BB0B80EF2F9FBEC" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_13C3B3EAC7BC4528B3D5C1A75241C869" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_13D3431B48E2429EA0492571FB0A0DF5" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_144E748AB58B4F28BB26CA6FE7DE7D6A" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_145E102706B3BD5EEB3E3ACE43A40B3F" + "OwnerKey" = "8:_5AA5C97011089B80E80258C54FC9B702" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_145E102706B3BD5EEB3E3ACE43A40B3F" + "OwnerKey" = "8:_9C3FE60D2CB641EB8C20EB0A946F9793" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_145E102706B3BD5EEB3E3ACE43A40B3F" + "OwnerKey" = "8:_D622EAEACBA547CB5BB0B80EF2F9FBEC" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_145E102706B3BD5EEB3E3ACE43A40B3F" + "OwnerKey" = "8:_9CCA3CBAA527443294E12C0531E871DD" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_145E102706B3BD5EEB3E3ACE43A40B3F" + "OwnerKey" = "8:_C0D114703ACF4E88B4B47D7F4E04960C" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_147D97C9F3B6BA02F678CA3935F67915" + "OwnerKey" = "8:_DD2B1DC8C4F5391A6425E017050F8D44" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_147D97C9F3B6BA02F678CA3935F67915" + "OwnerKey" = "8:_527A891CDA554F859B36CDABC1846618" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_147D97C9F3B6BA02F678CA3935F67915" + "OwnerKey" = "8:_E9906790AA414B2588DD26786A294C29" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_147D97C9F3B6BA02F678CA3935F67915" + "OwnerKey" = "8:_C667F7C6655F91B4FF60A357F0D2A867" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_1551258034248E4E492021BAF397CB42" + "OwnerKey" = "8:_EE15A25C01E88F5B27815C3177A0A8C9" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_1551258034248E4E492021BAF397CB42" + "OwnerKey" = "8:_BC1D614220704E83BF04A1DD4DF65D98" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_1551258034248E4E492021BAF397CB42" + "OwnerKey" = "8:_9C3FE60D2CB641EB8C20EB0A946F9793" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_1551258034248E4E492021BAF397CB42" + "OwnerKey" = "8:_C0C5097D17F34D15B8B17E20FDDC9766" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_1551258034248E4E492021BAF397CB42" + "OwnerKey" = "8:_AEB8C3BFA7FB4D8F8F36840AEC216303" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_1551258034248E4E492021BAF397CB42" + "OwnerKey" = "8:_DF6FCAF566474F6C802DF369530FB263" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_1551258034248E4E492021BAF397CB42" + "OwnerKey" = "8:_D622EAEACBA547CB5BB0B80EF2F9FBEC" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_1551258034248E4E492021BAF397CB42" + "OwnerKey" = "8:_9CCA3CBAA527443294E12C0531E871DD" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_1551258034248E4E492021BAF397CB42" + "OwnerKey" = "8:_C0D114703ACF4E88B4B47D7F4E04960C" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_1551258034248E4E492021BAF397CB42" + "OwnerKey" = "8:_CF83C7FEDEC9BC4B657C71FCF7227058" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_1551258034248E4E492021BAF397CB42" + "OwnerKey" = "8:_5AA5C97011089B80E80258C54FC9B702" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_1551258034248E4E492021BAF397CB42" + "OwnerKey" = "8:_2A334B668DCE33BCF921B34BEEE353B3" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_1551258034248E4E492021BAF397CB42" + "OwnerKey" = "8:_0C0770DF84ADB725BCC3B9FE50E944AD" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_15554B3D9AB1703D58B0D31D6923E3C0" + "OwnerKey" = "8:_FCF185846CF41F04637293C35A21BF70" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_15554B3D9AB1703D58B0D31D6923E3C0" + "OwnerKey" = "8:_9C3FE60D2CB641EB8C20EB0A946F9793" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_15554B3D9AB1703D58B0D31D6923E3C0" + "OwnerKey" = "8:_232ACD7603294423A9F576A29A52830E" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_15554B3D9AB1703D58B0D31D6923E3C0" + "OwnerKey" = "8:_ADECACE59CB14E8BA77539E1543F3F9E" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_15554B3D9AB1703D58B0D31D6923E3C0" + "OwnerKey" = "8:_17D03F5442B743769AF147B534D842BB" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_15554B3D9AB1703D58B0D31D6923E3C0" + "OwnerKey" = "8:_C653534C72A8445D83D5885D02245F61" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_15554B3D9AB1703D58B0D31D6923E3C0" + "OwnerKey" = "8:_0DF687C0AA8641C092D2E3977BBDEFA7" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_15554B3D9AB1703D58B0D31D6923E3C0" + "OwnerKey" = "8:_01EB6D17530A47109F2D66319328C67C" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_15554B3D9AB1703D58B0D31D6923E3C0" + "OwnerKey" = "8:_CF5F023E64024115B138FC74C0E7ED3D" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_15554B3D9AB1703D58B0D31D6923E3C0" + "OwnerKey" = "8:_05581D908989450DBE2EF42B84501484" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_15554B3D9AB1703D58B0D31D6923E3C0" + "OwnerKey" = "8:_D622EAEACBA547CB5BB0B80EF2F9FBEC" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_15554B3D9AB1703D58B0D31D6923E3C0" + "OwnerKey" = "8:_9CCA3CBAA527443294E12C0531E871DD" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_15554B3D9AB1703D58B0D31D6923E3C0" + "OwnerKey" = "8:_C0D114703ACF4E88B4B47D7F4E04960C" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_15554B3D9AB1703D58B0D31D6923E3C0" + "OwnerKey" = "8:_7B1123BEF5320FEEA1E91AE63DBD99ED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_15554B3D9AB1703D58B0D31D6923E3C0" + "OwnerKey" = "8:_5AA5C97011089B80E80258C54FC9B702" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_15554B3D9AB1703D58B0D31D6923E3C0" + "OwnerKey" = "8:_BC31A8CC4EE0FEACA6403236951B65CF" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_15554B3D9AB1703D58B0D31D6923E3C0" + "OwnerKey" = "8:_179F68EB6691A388BE34A6557619EB81" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_15554B3D9AB1703D58B0D31D6923E3C0" + "OwnerKey" = "8:_B96BF8D9E3FF5E8CDFD69659FF75C052" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_15554B3D9AB1703D58B0D31D6923E3C0" + "OwnerKey" = "8:_B7EF0CBFEF347A276FB32A581D514536" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_15554B3D9AB1703D58B0D31D6923E3C0" + "OwnerKey" = "8:_8C0A8BA04215433A1B10CC5A37BD3134" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_15A32CE5685D4C6695125860C16571FB" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_167D566FCD3D724B914C3E6BBDBFA434" + "OwnerKey" = "8:_8B9F83F5F57F4B7189E116FB04260682" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_167D566FCD3D724B914C3E6BBDBFA434" + "OwnerKey" = "8:_8B53F9CC53E544008D7A343B8E9AEA3B" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_167D566FCD3D724B914C3E6BBDBFA434" + "OwnerKey" = "8:_CB93347BD17E465AB8DCE6E7803A8994" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_167D566FCD3D724B914C3E6BBDBFA434" + "OwnerKey" = "8:_9C3FE60D2CB641EB8C20EB0A946F9793" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_167D566FCD3D724B914C3E6BBDBFA434" + "OwnerKey" = "8:_09A62DF5B6844A1F97C767EC8D252742" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_167D566FCD3D724B914C3E6BBDBFA434" + "OwnerKey" = "8:_D622EAEACBA547CB5BB0B80EF2F9FBEC" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_167D566FCD3D724B914C3E6BBDBFA434" + "OwnerKey" = "8:_9CCA3CBAA527443294E12C0531E871DD" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_167D566FCD3D724B914C3E6BBDBFA434" + "OwnerKey" = "8:_B54170EB482D4C0A92074CE3C6E550BD" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_167D566FCD3D724B914C3E6BBDBFA434" + "OwnerKey" = "8:_C0D114703ACF4E88B4B47D7F4E04960C" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_167D566FCD3D724B914C3E6BBDBFA434" + "OwnerKey" = "8:_5AA5C97011089B80E80258C54FC9B702" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_167D566FCD3D724B914C3E6BBDBFA434" + "OwnerKey" = "8:_2F94E013CF4ADD4522DADF1B2CC2DE3C" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_167D566FCD3D724B914C3E6BBDBFA434" + "OwnerKey" = "8:_537EFDE831D746D17ADF3C0DB87B44A5" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_179F68EB6691A388BE34A6557619EB81" + "OwnerKey" = "8:_5AA5C97011089B80E80258C54FC9B702" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_179F68EB6691A388BE34A6557619EB81" + "OwnerKey" = "8:_9C3FE60D2CB641EB8C20EB0A946F9793" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_179F68EB6691A388BE34A6557619EB81" + "OwnerKey" = "8:_D622EAEACBA547CB5BB0B80EF2F9FBEC" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_179F68EB6691A388BE34A6557619EB81" + "OwnerKey" = "8:_9CCA3CBAA527443294E12C0531E871DD" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_179F68EB6691A388BE34A6557619EB81" + "OwnerKey" = "8:_C0D114703ACF4E88B4B47D7F4E04960C" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_17D03F5442B743769AF147B534D842BB" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_189E57FC8047020AFCDB33ED035A7570" + "OwnerKey" = "8:_5AA5C97011089B80E80258C54FC9B702" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_189E57FC8047020AFCDB33ED035A7570" + "OwnerKey" = "8:_9C3FE60D2CB641EB8C20EB0A946F9793" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_189E57FC8047020AFCDB33ED035A7570" + "OwnerKey" = "8:_D622EAEACBA547CB5BB0B80EF2F9FBEC" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_189E57FC8047020AFCDB33ED035A7570" + "OwnerKey" = "8:_9CCA3CBAA527443294E12C0531E871DD" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_189E57FC8047020AFCDB33ED035A7570" + "OwnerKey" = "8:_C0D114703ACF4E88B4B47D7F4E04960C" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_199C4E0C921D4A5DAEC115D1B8C45FD4" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_1A1BA19615F44D1EB7CFF0FC8E35209C" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_1AFFE18A5663E9DC4F95DA808CC22BC4" + "OwnerKey" = "8:_44B10BD5C45C69957E1AFCAD6BF10485" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_1AFFE18A5663E9DC4F95DA808CC22BC4" + "OwnerKey" = "8:_A09D5E52064B4EE8B58F413F03CA7A4C" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_1AFFE18A5663E9DC4F95DA808CC22BC4" + "OwnerKey" = "8:_B35F3A0A06D64AB3A82CEAFE7EA8DBF9" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_1CFDA3E92E67479FA1DCD568EF25F83B" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_1D9A456B9E2081FFB17F4D552810A002" + "OwnerKey" = "8:_C0D114703ACF4E88B4B47D7F4E04960C" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_1D9A456B9E2081FFB17F4D552810A002" + "OwnerKey" = "8:_9C3FE60D2CB641EB8C20EB0A946F9793" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_1D9A456B9E2081FFB17F4D552810A002" + "OwnerKey" = "8:_D622EAEACBA547CB5BB0B80EF2F9FBEC" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_1E055B0BAC1C43F5B5FEAD6924109C12" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_1FD46B12238020C693B2CF0950844FA1" + "OwnerKey" = "8:_C0D114703ACF4E88B4B47D7F4E04960C" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_1FD46B12238020C693B2CF0950844FA1" + "OwnerKey" = "8:_9C3FE60D2CB641EB8C20EB0A946F9793" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_1FD46B12238020C693B2CF0950844FA1" + "OwnerKey" = "8:_D622EAEACBA547CB5BB0B80EF2F9FBEC" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_1FED32A36DEDF48FCB4ED09F524E99E5" + "OwnerKey" = "8:_5AA5C97011089B80E80258C54FC9B702" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_1FED32A36DEDF48FCB4ED09F524E99E5" + "OwnerKey" = "8:_9C3FE60D2CB641EB8C20EB0A946F9793" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_1FED32A36DEDF48FCB4ED09F524E99E5" + "OwnerKey" = "8:_D622EAEACBA547CB5BB0B80EF2F9FBEC" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_1FED32A36DEDF48FCB4ED09F524E99E5" + "OwnerKey" = "8:_9CCA3CBAA527443294E12C0531E871DD" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_1FED32A36DEDF48FCB4ED09F524E99E5" + "OwnerKey" = "8:_C0D114703ACF4E88B4B47D7F4E04960C" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_20C9B115AEE142BFB86DF96FC47D2D23" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_20FFD0CF6C92429FAA25626C12E1F20C" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_21A2529647604DFFB1092B225884ECB6" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_221D0F95C39A467EAA1EC8E87F57B8F8" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_22AD91526EBF08AC10B308C7CCE8F566" + "OwnerKey" = "8:_C0D114703ACF4E88B4B47D7F4E04960C" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_22AD91526EBF08AC10B308C7CCE8F566" + "OwnerKey" = "8:_9C3FE60D2CB641EB8C20EB0A946F9793" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_22AD91526EBF08AC10B308C7CCE8F566" + "OwnerKey" = "8:_D622EAEACBA547CB5BB0B80EF2F9FBEC" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_232ACD7603294423A9F576A29A52830E" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_23C93B17C2974D88A2B96A3C7E81E4AA" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_24DE3229C3EB23D88DA6489295CECC60" + "OwnerKey" = "8:_9AEFF85A1F0544D48C72F1BBB0330C90" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_24DE3229C3EB23D88DA6489295CECC60" + "OwnerKey" = "8:_9DD7D99ADB14464CAAD4E8856EDD4D90" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_24DE3229C3EB23D88DA6489295CECC60" + "OwnerKey" = "8:_00870ADAC0484A5D86D37C9A575CCF3D" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_24F9AB225145478C93BEB23ECA392FF7" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_25119C0EDD984B380F70507E568E7EC3" + "OwnerKey" = "8:_15554B3D9AB1703D58B0D31D6923E3C0" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_25119C0EDD984B380F70507E568E7EC3" + "OwnerKey" = "8:_1E055B0BAC1C43F5B5FEAD6924109C12" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_25119C0EDD984B380F70507E568E7EC3" + "OwnerKey" = "8:_DC8D8DBC37CC4A48BAF0DC5E82766D9C" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_25119C0EDD984B380F70507E568E7EC3" + "OwnerKey" = "8:_CB93347BD17E465AB8DCE6E7803A8994" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_25119C0EDD984B380F70507E568E7EC3" + "OwnerKey" = "8:_9C3FE60D2CB641EB8C20EB0A946F9793" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_25119C0EDD984B380F70507E568E7EC3" + "OwnerKey" = "8:_C0C5097D17F34D15B8B17E20FDDC9766" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_25119C0EDD984B380F70507E568E7EC3" + "OwnerKey" = "8:_232ACD7603294423A9F576A29A52830E" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_25119C0EDD984B380F70507E568E7EC3" + "OwnerKey" = "8:_D9A8CF85057F4275B76CBA27451FBBB5" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_25119C0EDD984B380F70507E568E7EC3" + "OwnerKey" = "8:_E244DF62356040C99174B6A95091F933" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_25119C0EDD984B380F70507E568E7EC3" + "OwnerKey" = "8:_53492C665B5D49D7B4705F3E23562157" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_25119C0EDD984B380F70507E568E7EC3" + "OwnerKey" = "8:_20FFD0CF6C92429FAA25626C12E1F20C" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_25119C0EDD984B380F70507E568E7EC3" + "OwnerKey" = "8:_ADECACE59CB14E8BA77539E1543F3F9E" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_25119C0EDD984B380F70507E568E7EC3" + "OwnerKey" = "8:_17D03F5442B743769AF147B534D842BB" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_25119C0EDD984B380F70507E568E7EC3" + "OwnerKey" = "8:_5E9E54CF8C9A48A28AE9FBB85927752D" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_25119C0EDD984B380F70507E568E7EC3" + "OwnerKey" = "8:_594F61C6642845DF974AAD0E91EF9A37" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_25119C0EDD984B380F70507E568E7EC3" + "OwnerKey" = "8:_2AD130904BC84DEA8501024AA232FC4E" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_25119C0EDD984B380F70507E568E7EC3" + "OwnerKey" = "8:_C653534C72A8445D83D5885D02245F61" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_25119C0EDD984B380F70507E568E7EC3" + "OwnerKey" = "8:_0DF687C0AA8641C092D2E3977BBDEFA7" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_25119C0EDD984B380F70507E568E7EC3" + "OwnerKey" = "8:_4617971CE6594996B555E535CCE00211" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_25119C0EDD984B380F70507E568E7EC3" + "OwnerKey" = "8:_01EB6D17530A47109F2D66319328C67C" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_25119C0EDD984B380F70507E568E7EC3" + "OwnerKey" = "8:_CF5F023E64024115B138FC74C0E7ED3D" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_25119C0EDD984B380F70507E568E7EC3" + "OwnerKey" = "8:_B35F3A0A06D64AB3A82CEAFE7EA8DBF9" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_25119C0EDD984B380F70507E568E7EC3" + "OwnerKey" = "8:_00870ADAC0484A5D86D37C9A575CCF3D" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_25119C0EDD984B380F70507E568E7EC3" + "OwnerKey" = "8:_9AEFF85A1F0544D48C72F1BBB0330C90" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_25119C0EDD984B380F70507E568E7EC3" + "OwnerKey" = "8:_D622EAEACBA547CB5BB0B80EF2F9FBEC" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_25119C0EDD984B380F70507E568E7EC3" + "OwnerKey" = "8:_9CCA3CBAA527443294E12C0531E871DD" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_25119C0EDD984B380F70507E568E7EC3" + "OwnerKey" = "8:_44B10BD5C45C69957E1AFCAD6BF10485" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_25119C0EDD984B380F70507E568E7EC3" + "OwnerKey" = "8:_C0D114703ACF4E88B4B47D7F4E04960C" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_25119C0EDD984B380F70507E568E7EC3" + "OwnerKey" = "8:_13B476BCC07AAC0ACDCD13680C79132E" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_25119C0EDD984B380F70507E568E7EC3" + "OwnerKey" = "8:_7B1123BEF5320FEEA1E91AE63DBD99ED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_25119C0EDD984B380F70507E568E7EC3" + "OwnerKey" = "8:_57D7430D26C37BBE513C3DEF41482CB8" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_25119C0EDD984B380F70507E568E7EC3" + "OwnerKey" = "8:_3D6C365612F792A384DA60D1A3F22B8F" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_25119C0EDD984B380F70507E568E7EC3" + "OwnerKey" = "8:_5AA5C97011089B80E80258C54FC9B702" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_25119C0EDD984B380F70507E568E7EC3" + "OwnerKey" = "8:_E4CAF456C17123C182993937E22CEC06" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_25119C0EDD984B380F70507E568E7EC3" + "OwnerKey" = "8:_BC31A8CC4EE0FEACA6403236951B65CF" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_25119C0EDD984B380F70507E568E7EC3" + "OwnerKey" = "8:_2A334B668DCE33BCF921B34BEEE353B3" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_25119C0EDD984B380F70507E568E7EC3" + "OwnerKey" = "8:_B96BF8D9E3FF5E8CDFD69659FF75C052" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_25119C0EDD984B380F70507E568E7EC3" + "OwnerKey" = "8:_179F68EB6691A388BE34A6557619EB81" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_25119C0EDD984B380F70507E568E7EC3" + "OwnerKey" = "8:_537EFDE831D746D17ADF3C0DB87B44A5" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_25119C0EDD984B380F70507E568E7EC3" + "OwnerKey" = "8:_8C0A8BA04215433A1B10CC5A37BD3134" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_25119C0EDD984B380F70507E568E7EC3" + "OwnerKey" = "8:_B7EF0CBFEF347A276FB32A581D514536" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_25119C0EDD984B380F70507E568E7EC3" + "OwnerKey" = "8:_116EB9729A93F5A9EEF73567733F8298" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_25119C0EDD984B380F70507E568E7EC3" + "OwnerKey" = "8:_6C7EC0ABAE9AAD4FC604C53BE8578137" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_25119C0EDD984B380F70507E568E7EC3" + "OwnerKey" = "8:_51F23CC790B4896F4232F5B87B191C29" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_25119C0EDD984B380F70507E568E7EC3" + "OwnerKey" = "8:_A4C5548E242439A424F0DC360FC3CA1D" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_25CD1BE430DE930834D38ED4434746A3" + "OwnerKey" = "8:_F0DFE7E3E5BBF1E65BC15B064AAE986E" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_25CD1BE430DE930834D38ED4434746A3" + "OwnerKey" = "8:_A09D5E52064B4EE8B58F413F03CA7A4C" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_25CD1BE430DE930834D38ED4434746A3" + "OwnerKey" = "8:_1E055B0BAC1C43F5B5FEAD6924109C12" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_25CD1BE430DE930834D38ED4434746A3" + "OwnerKey" = "8:_46704F13BB2D4842BE0A1793EE0FE473" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_25CD1BE430DE930834D38ED4434746A3" + "OwnerKey" = "8:_6677F7DDE833487685A5365B814C948E" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_25CD1BE430DE930834D38ED4434746A3" + "OwnerKey" = "8:_21A2529647604DFFB1092B225884ECB6" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_25CD1BE430DE930834D38ED4434746A3" + "OwnerKey" = "8:_02E4613E8AEB4925B0909C28C1269A91" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_25CD1BE430DE930834D38ED4434746A3" + "OwnerKey" = "8:_DC8D8DBC37CC4A48BAF0DC5E82766D9C" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_25CD1BE430DE930834D38ED4434746A3" + "OwnerKey" = "8:_D3633B8ABDC546FD9B706F87CA11EB0D" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_25CD1BE430DE930834D38ED4434746A3" + "OwnerKey" = "8:_6064363DA54745BF80D07AE7BBAD2708" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_25CD1BE430DE930834D38ED4434746A3" + "OwnerKey" = "8:_CB93347BD17E465AB8DCE6E7803A8994" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_25CD1BE430DE930834D38ED4434746A3" + "OwnerKey" = "8:_84AAC1ACC0F64471AD96E00B04F96574" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_25CD1BE430DE930834D38ED4434746A3" + "OwnerKey" = "8:_9C3FE60D2CB641EB8C20EB0A946F9793" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_25CD1BE430DE930834D38ED4434746A3" + "OwnerKey" = "8:_232ACD7603294423A9F576A29A52830E" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_25CD1BE430DE930834D38ED4434746A3" + "OwnerKey" = "8:_20FFD0CF6C92429FAA25626C12E1F20C" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_25CD1BE430DE930834D38ED4434746A3" + "OwnerKey" = "8:_624C2F74AFC9428AA2BE6445E388E8B5" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_25CD1BE430DE930834D38ED4434746A3" + "OwnerKey" = "8:_0DF687C0AA8641C092D2E3977BBDEFA7" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_25CD1BE430DE930834D38ED4434746A3" + "OwnerKey" = "8:_01EB6D17530A47109F2D66319328C67C" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_25CD1BE430DE930834D38ED4434746A3" + "OwnerKey" = "8:_3EAE9A25156D4C4E8D02740045C4BA86" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_25CD1BE430DE930834D38ED4434746A3" + "OwnerKey" = "8:_D0B3A652520B49CC8F4841279D757E59" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_25CD1BE430DE930834D38ED4434746A3" + "OwnerKey" = "8:_3B22C3ECB76E01BF3655CCA58F521AE4" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_25CD1BE430DE930834D38ED4434746A3" + "OwnerKey" = "8:_CF5F023E64024115B138FC74C0E7ED3D" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_25CD1BE430DE930834D38ED4434746A3" + "OwnerKey" = "8:_FDB9A054D5F14EC5964BEE14C0BC860A" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_25CD1BE430DE930834D38ED4434746A3" + "OwnerKey" = "8:_A32CDB2D5DE248EEB28F28CAB6B79F5D" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_25CD1BE430DE930834D38ED4434746A3" + "OwnerKey" = "8:_9A56688DC4D7494CBD7F5A9327D1F188" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_25CD1BE430DE930834D38ED4434746A3" + "OwnerKey" = "8:_EB7787F6A450460E98169BCFF7B5668A" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_25CD1BE430DE930834D38ED4434746A3" + "OwnerKey" = "8:_E9906790AA414B2588DD26786A294C29" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_25CD1BE430DE930834D38ED4434746A3" + "OwnerKey" = "8:_B35F3A0A06D64AB3A82CEAFE7EA8DBF9" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_25CD1BE430DE930834D38ED4434746A3" + "OwnerKey" = "8:_05581D908989450DBE2EF42B84501484" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_25CD1BE430DE930834D38ED4434746A3" + "OwnerKey" = "8:_8DF56435F0284783983A1229FCF82C23" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_25CD1BE430DE930834D38ED4434746A3" + "OwnerKey" = "8:_93CE5D9EAEFF4448ADF4B8776D5DFD70" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_25CD1BE430DE930834D38ED4434746A3" + "OwnerKey" = "8:_FE23B45386AF0F9D3FB137DB948A7F53" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_25CD1BE430DE930834D38ED4434746A3" + "OwnerKey" = "8:_67EB7D0AB53C9905790E1D5A3283B7A4" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_25CD1BE430DE930834D38ED4434746A3" + "OwnerKey" = "8:_199C4E0C921D4A5DAEC115D1B8C45FD4" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_25CD1BE430DE930834D38ED4434746A3" + "OwnerKey" = "8:_5291B57ED0674E68992853A555A116C3" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_25CD1BE430DE930834D38ED4434746A3" + "OwnerKey" = "8:_00870ADAC0484A5D86D37C9A575CCF3D" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_25CD1BE430DE930834D38ED4434746A3" + "OwnerKey" = "8:_9AEFF85A1F0544D48C72F1BBB0330C90" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_25CD1BE430DE930834D38ED4434746A3" + "OwnerKey" = "8:_D622EAEACBA547CB5BB0B80EF2F9FBEC" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_25CD1BE430DE930834D38ED4434746A3" + "OwnerKey" = "8:_9CCA3CBAA527443294E12C0531E871DD" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_25CD1BE430DE930834D38ED4434746A3" + "OwnerKey" = "8:_D64A9B36F8244321A075359E498601DC" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_25CD1BE430DE930834D38ED4434746A3" + "OwnerKey" = "8:_44B10BD5C45C69957E1AFCAD6BF10485" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_25CD1BE430DE930834D38ED4434746A3" + "OwnerKey" = "8:_C0D114703ACF4E88B4B47D7F4E04960C" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_25CD1BE430DE930834D38ED4434746A3" + "OwnerKey" = "8:_F0EFB4C551D3C7B408B65BEF69D52472" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_25CD1BE430DE930834D38ED4434746A3" + "OwnerKey" = "8:_7B1123BEF5320FEEA1E91AE63DBD99ED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_25CD1BE430DE930834D38ED4434746A3" + "OwnerKey" = "8:_179F68EB6691A388BE34A6557619EB81" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_25CD1BE430DE930834D38ED4434746A3" + "OwnerKey" = "8:_CF6116D74539692C6BD1F1CF4D8059DF" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_25CD1BE430DE930834D38ED4434746A3" + "OwnerKey" = "8:_73AD4875357913BE8D8902DEE60B3E2F" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_25CD1BE430DE930834D38ED4434746A3" + "OwnerKey" = "8:_026AA5F28014499D2CA48D39AEBA8A0D" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_25CD1BE430DE930834D38ED4434746A3" + "OwnerKey" = "8:_C667F7C6655F91B4FF60A357F0D2A867" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_25CD1BE430DE930834D38ED4434746A3" + "OwnerKey" = "8:_B7EF0CBFEF347A276FB32A581D514536" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_25CD1BE430DE930834D38ED4434746A3" + "OwnerKey" = "8:_FCCFAEFE563F750053031528823CACF4" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_25CD1BE430DE930834D38ED4434746A3" + "OwnerKey" = "8:_537EFDE831D746D17ADF3C0DB87B44A5" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_25CD1BE430DE930834D38ED4434746A3" + "OwnerKey" = "8:_B0A043DD5CEC99EC8E1850E93A3607E2" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_25CD1BE430DE930834D38ED4434746A3" + "OwnerKey" = "8:_6C7EC0ABAE9AAD4FC604C53BE8578137" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_25CD1BE430DE930834D38ED4434746A3" + "OwnerKey" = "8:_25119C0EDD984B380F70507E568E7EC3" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_25CD1BE430DE930834D38ED4434746A3" + "OwnerKey" = "8:_15554B3D9AB1703D58B0D31D6923E3C0" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_25CD1BE430DE930834D38ED4434746A3" + "OwnerKey" = "8:_FCF185846CF41F04637293C35A21BF70" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_25CD1BE430DE930834D38ED4434746A3" + "OwnerKey" = "8:_5AA5C97011089B80E80258C54FC9B702" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_25CD1BE430DE930834D38ED4434746A3" + "OwnerKey" = "8:_A504707907BDD8C193F5FD8FD3CA6D90" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_25CD1BE430DE930834D38ED4434746A3" + "OwnerKey" = "8:_8004588B7E71DBE837B5B7306765A3C3" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_25CD1BE430DE930834D38ED4434746A3" + "OwnerKey" = "8:_056F1A41DACF9EE6C093D4334D5B80A4" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_26E0C82D630083B6C5905B2906ED88EE" + "OwnerKey" = "8:_C0D114703ACF4E88B4B47D7F4E04960C" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_26E0C82D630083B6C5905B2906ED88EE" + "OwnerKey" = "8:_9C3FE60D2CB641EB8C20EB0A946F9793" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_26E0C82D630083B6C5905B2906ED88EE" + "OwnerKey" = "8:_D622EAEACBA547CB5BB0B80EF2F9FBEC" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_292CB48DD2234C5C9F966039981DA3DC" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_2A334B668DCE33BCF921B34BEEE353B3" + "OwnerKey" = "8:_179F68EB6691A388BE34A6557619EB81" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_2A334B668DCE33BCF921B34BEEE353B3" + "OwnerKey" = "8:_9C3FE60D2CB641EB8C20EB0A946F9793" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_2A334B668DCE33BCF921B34BEEE353B3" + "OwnerKey" = "8:_232ACD7603294423A9F576A29A52830E" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_2A334B668DCE33BCF921B34BEEE353B3" + "OwnerKey" = "8:_0DF687C0AA8641C092D2E3977BBDEFA7" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_2A334B668DCE33BCF921B34BEEE353B3" + "OwnerKey" = "8:_D622EAEACBA547CB5BB0B80EF2F9FBEC" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_2A334B668DCE33BCF921B34BEEE353B3" + "OwnerKey" = "8:_9CCA3CBAA527443294E12C0531E871DD" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_2A334B668DCE33BCF921B34BEEE353B3" + "OwnerKey" = "8:_C0D114703ACF4E88B4B47D7F4E04960C" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_2A334B668DCE33BCF921B34BEEE353B3" + "OwnerKey" = "8:_5AA5C97011089B80E80258C54FC9B702" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_2A334B668DCE33BCF921B34BEEE353B3" + "OwnerKey" = "8:_7B1123BEF5320FEEA1E91AE63DBD99ED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_2A658EAC69E52B448271E6CAAD1B1B7F" + "OwnerKey" = "8:_C0D114703ACF4E88B4B47D7F4E04960C" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_2A658EAC69E52B448271E6CAAD1B1B7F" + "OwnerKey" = "8:_9C3FE60D2CB641EB8C20EB0A946F9793" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_2A658EAC69E52B448271E6CAAD1B1B7F" + "OwnerKey" = "8:_D622EAEACBA547CB5BB0B80EF2F9FBEC" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_2AD130904BC84DEA8501024AA232FC4E" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_2BA878D1C62AB7B09F69BFBC559E3DC5" + "OwnerKey" = "8:_8BF63CB8BADA5718336FE254291A8F66" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_2BE296506CBF408BA73577F355DF35EA" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_2C1DA645B2694569A12B0ECA7CB984DF" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_2D8A23969B1E395FE213A4511F720758" + "OwnerKey" = "8:_5AA5C97011089B80E80258C54FC9B702" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_2D8A23969B1E395FE213A4511F720758" + "OwnerKey" = "8:_9C3FE60D2CB641EB8C20EB0A946F9793" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_2D8A23969B1E395FE213A4511F720758" + "OwnerKey" = "8:_D622EAEACBA547CB5BB0B80EF2F9FBEC" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_2D8A23969B1E395FE213A4511F720758" + "OwnerKey" = "8:_9CCA3CBAA527443294E12C0531E871DD" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_2D8A23969B1E395FE213A4511F720758" + "OwnerKey" = "8:_C0D114703ACF4E88B4B47D7F4E04960C" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_2EDFE99BA24842DDA91F67E6DB05440D" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_2F25D1ADC70603E609283EB9BAA97E02" + "OwnerKey" = "8:_5AA5C97011089B80E80258C54FC9B702" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_2F25D1ADC70603E609283EB9BAA97E02" + "OwnerKey" = "8:_46704F13BB2D4842BE0A1793EE0FE473" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_2F25D1ADC70603E609283EB9BAA97E02" + "OwnerKey" = "8:_DD58016D60544560AA5E49FFE8AF107F" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_2F25D1ADC70603E609283EB9BAA97E02" + "OwnerKey" = "8:_9C3FE60D2CB641EB8C20EB0A946F9793" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_2F25D1ADC70603E609283EB9BAA97E02" + "OwnerKey" = "8:_E244DF62356040C99174B6A95091F933" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_2F25D1ADC70603E609283EB9BAA97E02" + "OwnerKey" = "8:_5E9E54CF8C9A48A28AE9FBB85927752D" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_2F25D1ADC70603E609283EB9BAA97E02" + "OwnerKey" = "8:_C653534C72A8445D83D5885D02245F61" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_2F25D1ADC70603E609283EB9BAA97E02" + "OwnerKey" = "8:_199C4E0C921D4A5DAEC115D1B8C45FD4" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_2F25D1ADC70603E609283EB9BAA97E02" + "OwnerKey" = "8:_E485E664B108312262981F501B2F4848" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_2F25D1ADC70603E609283EB9BAA97E02" + "OwnerKey" = "8:_00870ADAC0484A5D86D37C9A575CCF3D" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_2F25D1ADC70603E609283EB9BAA97E02" + "OwnerKey" = "8:_9AEFF85A1F0544D48C72F1BBB0330C90" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_2F25D1ADC70603E609283EB9BAA97E02" + "OwnerKey" = "8:_D622EAEACBA547CB5BB0B80EF2F9FBEC" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_2F25D1ADC70603E609283EB9BAA97E02" + "OwnerKey" = "8:_9CCA3CBAA527443294E12C0531E871DD" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_2F25D1ADC70603E609283EB9BAA97E02" + "OwnerKey" = "8:_B89EC8CDA071487ABA6E99DB1029E6C3" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_2F25D1ADC70603E609283EB9BAA97E02" + "OwnerKey" = "8:_C0D114703ACF4E88B4B47D7F4E04960C" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_2F25D1ADC70603E609283EB9BAA97E02" + "OwnerKey" = "8:_3D6C365612F792A384DA60D1A3F22B8F" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_2F25D1ADC70603E609283EB9BAA97E02" + "OwnerKey" = "8:_E4CAF456C17123C182993937E22CEC06" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_2F25D1ADC70603E609283EB9BAA97E02" + "OwnerKey" = "8:_BC31A8CC4EE0FEACA6403236951B65CF" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_2F3DF2C97193539E507701F57A86CA4C" + "OwnerKey" = "8:_C0D114703ACF4E88B4B47D7F4E04960C" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_2F3DF2C97193539E507701F57A86CA4C" + "OwnerKey" = "8:_A465D5ADCCED41E8A8F9DE1412BEE105" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_2F3DF2C97193539E507701F57A86CA4C" + "OwnerKey" = "8:_9C3FE60D2CB641EB8C20EB0A946F9793" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_2F3DF2C97193539E507701F57A86CA4C" + "OwnerKey" = "8:_D622EAEACBA547CB5BB0B80EF2F9FBEC" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_2F3DF2C97193539E507701F57A86CA4C" + "OwnerKey" = "8:_045EC7442D5DE0F8BFC16091D4D0E81D" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_2F94E013CF4ADD4522DADF1B2CC2DE3C" + "OwnerKey" = "8:_5AA5C97011089B80E80258C54FC9B702" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_2F94E013CF4ADD4522DADF1B2CC2DE3C" + "OwnerKey" = "8:_9C3FE60D2CB641EB8C20EB0A946F9793" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_2F94E013CF4ADD4522DADF1B2CC2DE3C" + "OwnerKey" = "8:_D622EAEACBA547CB5BB0B80EF2F9FBEC" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_2F94E013CF4ADD4522DADF1B2CC2DE3C" + "OwnerKey" = "8:_9CCA3CBAA527443294E12C0531E871DD" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_2F94E013CF4ADD4522DADF1B2CC2DE3C" + "OwnerKey" = "8:_C0D114703ACF4E88B4B47D7F4E04960C" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_2FEF801058576444D70B4AA0E62F79F5" + "OwnerKey" = "8:_02C6ED8601E890A673B5A2E5EFF784C2" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_2FEF801058576444D70B4AA0E62F79F5" + "OwnerKey" = "8:_B14294C19B2D48C39AC7F29189EFC261" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_2FEF801058576444D70B4AA0E62F79F5" + "OwnerKey" = "8:_F703AD86F2EE4F03B609DD408A7632FC" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_2FEF801058576444D70B4AA0E62F79F5" + "OwnerKey" = "8:_DA0E578E801344D796ECF6D33EFC3C6B" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_2FEF801058576444D70B4AA0E62F79F5" + "OwnerKey" = "8:_B7EC99BD89A446C2BA73214BA2CAE40B" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_2FEF801058576444D70B4AA0E62F79F5" + "OwnerKey" = "8:_0D4B1FACED7C406C8B45A2D42A956E94" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_2FEF801058576444D70B4AA0E62F79F5" + "OwnerKey" = "8:_3CBC60FF3B1D487BBD2C5E8B7C1343DA" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_2FEF801058576444D70B4AA0E62F79F5" + "OwnerKey" = "8:_A465D5ADCCED41E8A8F9DE1412BEE105" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_2FEF801058576444D70B4AA0E62F79F5" + "OwnerKey" = "8:_DC8D8DBC37CC4A48BAF0DC5E82766D9C" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_2FEF801058576444D70B4AA0E62F79F5" + "OwnerKey" = "8:_6064363DA54745BF80D07AE7BBAD2708" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_2FEF801058576444D70B4AA0E62F79F5" + "OwnerKey" = "8:_F91566EB89B347708B77D466605F363B" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_2FEF801058576444D70B4AA0E62F79F5" + "OwnerKey" = "8:_9DD7D99ADB14464CAAD4E8856EDD4D90" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_2FEF801058576444D70B4AA0E62F79F5" + "OwnerKey" = "8:_84AAC1ACC0F64471AD96E00B04F96574" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_2FEF801058576444D70B4AA0E62F79F5" + "OwnerKey" = "8:_9C3FE60D2CB641EB8C20EB0A946F9793" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_2FEF801058576444D70B4AA0E62F79F5" + "OwnerKey" = "8:_20FFD0CF6C92429FAA25626C12E1F20C" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_2FEF801058576444D70B4AA0E62F79F5" + "OwnerKey" = "8:_ADECACE59CB14E8BA77539E1543F3F9E" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_2FEF801058576444D70B4AA0E62F79F5" + "OwnerKey" = "8:_17D03F5442B743769AF147B534D842BB" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_2FEF801058576444D70B4AA0E62F79F5" + "OwnerKey" = "8:_01EB6D17530A47109F2D66319328C67C" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_2FEF801058576444D70B4AA0E62F79F5" + "OwnerKey" = "8:_64770AF066B54BE3B8569E19B19E6B53" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_2FEF801058576444D70B4AA0E62F79F5" + "OwnerKey" = "8:_9A56688DC4D7494CBD7F5A9327D1F188" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_2FEF801058576444D70B4AA0E62F79F5" + "OwnerKey" = "8:_8438E7C8CC49448093B99673A2CC034F" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_2FEF801058576444D70B4AA0E62F79F5" + "OwnerKey" = "8:_E9906790AA414B2588DD26786A294C29" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_2FEF801058576444D70B4AA0E62F79F5" + "OwnerKey" = "8:_05581D908989450DBE2EF42B84501484" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_2FEF801058576444D70B4AA0E62F79F5" + "OwnerKey" = "8:_8A40B1029BB841ED88E1DEEF003820D3" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_2FEF801058576444D70B4AA0E62F79F5" + "OwnerKey" = "8:_E62C1A012A4E40798DE80BE3E6A4E951" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_2FEF801058576444D70B4AA0E62F79F5" + "OwnerKey" = "8:_EDF89CFEB9CD4C0DA79593E87E6BFE27" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_2FEF801058576444D70B4AA0E62F79F5" + "OwnerKey" = "8:_00870ADAC0484A5D86D37C9A575CCF3D" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_2FEF801058576444D70B4AA0E62F79F5" + "OwnerKey" = "8:_7D1AF215AEF542A188BD95BB372EDFBF" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_2FEF801058576444D70B4AA0E62F79F5" + "OwnerKey" = "8:_32E3293A11F646DC9EC2E3A882DAA405" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_2FEF801058576444D70B4AA0E62F79F5" + "OwnerKey" = "8:_BF6D49BA584844B1A9F5E6E585DED179" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_2FEF801058576444D70B4AA0E62F79F5" + "OwnerKey" = "8:_B18DAA15A2D144CAB805DF98395AA6E6" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_2FEF801058576444D70B4AA0E62F79F5" + "OwnerKey" = "8:_D622EAEACBA547CB5BB0B80EF2F9FBEC" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_2FEF801058576444D70B4AA0E62F79F5" + "OwnerKey" = "8:_9CCA3CBAA527443294E12C0531E871DD" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_2FEF801058576444D70B4AA0E62F79F5" + "OwnerKey" = "8:_B54170EB482D4C0A92074CE3C6E550BD" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_2FEF801058576444D70B4AA0E62F79F5" + "OwnerKey" = "8:_2A658EAC69E52B448271E6CAAD1B1B7F" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_2FEF801058576444D70B4AA0E62F79F5" + "OwnerKey" = "8:_045EC7442D5DE0F8BFC16091D4D0E81D" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_2FEF801058576444D70B4AA0E62F79F5" + "OwnerKey" = "8:_03BA8ACDDDBF6520B59F51E73C4D971D" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_2FEF801058576444D70B4AA0E62F79F5" + "OwnerKey" = "8:_C0D114703ACF4E88B4B47D7F4E04960C" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_2FEF801058576444D70B4AA0E62F79F5" + "OwnerKey" = "8:_189E57FC8047020AFCDB33ED035A7570" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_2FEF801058576444D70B4AA0E62F79F5" + "OwnerKey" = "8:_F0EFB4C551D3C7B408B65BEF69D52472" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_2FEF801058576444D70B4AA0E62F79F5" + "OwnerKey" = "8:_B96BF8D9E3FF5E8CDFD69659FF75C052" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_2FEF801058576444D70B4AA0E62F79F5" + "OwnerKey" = "8:_B0CF5469FF107F5B15750BCBDEF8BFE4" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_2FEF801058576444D70B4AA0E62F79F5" + "OwnerKey" = "8:_786BFC89E84C53F8CFD5DCFE4E5A2C50" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_2FEF801058576444D70B4AA0E62F79F5" + "OwnerKey" = "8:_C667F7C6655F91B4FF60A357F0D2A867" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_2FEF801058576444D70B4AA0E62F79F5" + "OwnerKey" = "8:_5D958D73994894B86D67E95AE1A90ECA" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_2FEF801058576444D70B4AA0E62F79F5" + "OwnerKey" = "8:_8C0A8BA04215433A1B10CC5A37BD3134" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_2FEF801058576444D70B4AA0E62F79F5" + "OwnerKey" = "8:_B7EF0CBFEF347A276FB32A581D514536" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_2FEF801058576444D70B4AA0E62F79F5" + "OwnerKey" = "8:_B0A043DD5CEC99EC8E1850E93A3607E2" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_2FEF801058576444D70B4AA0E62F79F5" + "OwnerKey" = "8:_6C7EC0ABAE9AAD4FC604C53BE8578137" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_2FEF801058576444D70B4AA0E62F79F5" + "OwnerKey" = "8:_9ACDBEABECC7440F13251DB88B9C7DD6" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_2FEF801058576444D70B4AA0E62F79F5" + "OwnerKey" = "8:_15554B3D9AB1703D58B0D31D6923E3C0" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_2FEF801058576444D70B4AA0E62F79F5" + "OwnerKey" = "8:_FCF185846CF41F04637293C35A21BF70" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_2FEF801058576444D70B4AA0E62F79F5" + "OwnerKey" = "8:_5AA5C97011089B80E80258C54FC9B702" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_2FEF801058576444D70B4AA0E62F79F5" + "OwnerKey" = "8:_8D9B92E094235D3CA8C0E0C80887BD9C" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_2FEF801058576444D70B4AA0E62F79F5" + "OwnerKey" = "8:_A504707907BDD8C193F5FD8FD3CA6D90" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_306F6D4ED3C9CFFEE088095DA0C76780" + "OwnerKey" = "8:_B96BF8D9E3FF5E8CDFD69659FF75C052" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_306F6D4ED3C9CFFEE088095DA0C76780" + "OwnerKey" = "8:_9C3FE60D2CB641EB8C20EB0A946F9793" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_306F6D4ED3C9CFFEE088095DA0C76780" + "OwnerKey" = "8:_232ACD7603294423A9F576A29A52830E" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_306F6D4ED3C9CFFEE088095DA0C76780" + "OwnerKey" = "8:_E244DF62356040C99174B6A95091F933" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_306F6D4ED3C9CFFEE088095DA0C76780" + "OwnerKey" = "8:_ADECACE59CB14E8BA77539E1543F3F9E" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_306F6D4ED3C9CFFEE088095DA0C76780" + "OwnerKey" = "8:_0DF687C0AA8641C092D2E3977BBDEFA7" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_306F6D4ED3C9CFFEE088095DA0C76780" + "OwnerKey" = "8:_9AEFF85A1F0544D48C72F1BBB0330C90" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_306F6D4ED3C9CFFEE088095DA0C76780" + "OwnerKey" = "8:_D622EAEACBA547CB5BB0B80EF2F9FBEC" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_306F6D4ED3C9CFFEE088095DA0C76780" + "OwnerKey" = "8:_9CCA3CBAA527443294E12C0531E871DD" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_306F6D4ED3C9CFFEE088095DA0C76780" + "OwnerKey" = "8:_C0D114703ACF4E88B4B47D7F4E04960C" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_306F6D4ED3C9CFFEE088095DA0C76780" + "OwnerKey" = "8:_7B1123BEF5320FEEA1E91AE63DBD99ED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_306F6D4ED3C9CFFEE088095DA0C76780" + "OwnerKey" = "8:_5AA5C97011089B80E80258C54FC9B702" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_306F6D4ED3C9CFFEE088095DA0C76780" + "OwnerKey" = "8:_3D6C365612F792A384DA60D1A3F22B8F" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_306F6D4ED3C9CFFEE088095DA0C76780" + "OwnerKey" = "8:_179F68EB6691A388BE34A6557619EB81" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_30B24E91E79B41755B7C36FE3F34E6F6" + "OwnerKey" = "8:_A504707907BDD8C193F5FD8FD3CA6D90" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_30B24E91E79B41755B7C36FE3F34E6F6" + "OwnerKey" = "8:_A09D5E52064B4EE8B58F413F03CA7A4C" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_30B24E91E79B41755B7C36FE3F34E6F6" + "OwnerKey" = "8:_B14294C19B2D48C39AC7F29189EFC261" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_30B24E91E79B41755B7C36FE3F34E6F6" + "OwnerKey" = "8:_A465D5ADCCED41E8A8F9DE1412BEE105" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_30B24E91E79B41755B7C36FE3F34E6F6" + "OwnerKey" = "8:_DC8D8DBC37CC4A48BAF0DC5E82766D9C" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_30B24E91E79B41755B7C36FE3F34E6F6" + "OwnerKey" = "8:_95B62EB18B59449F80C102E0FA4D469D" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_30B24E91E79B41755B7C36FE3F34E6F6" + "OwnerKey" = "8:_CB93347BD17E465AB8DCE6E7803A8994" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_30B24E91E79B41755B7C36FE3F34E6F6" + "OwnerKey" = "8:_84AAC1ACC0F64471AD96E00B04F96574" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_30B24E91E79B41755B7C36FE3F34E6F6" + "OwnerKey" = "8:_9C3FE60D2CB641EB8C20EB0A946F9793" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_30B24E91E79B41755B7C36FE3F34E6F6" + "OwnerKey" = "8:_C0C5097D17F34D15B8B17E20FDDC9766" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_30B24E91E79B41755B7C36FE3F34E6F6" + "OwnerKey" = "8:_0DF687C0AA8641C092D2E3977BBDEFA7" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_30B24E91E79B41755B7C36FE3F34E6F6" + "OwnerKey" = "8:_B3A91C3DDE21461499706CB060164DBF" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_30B24E91E79B41755B7C36FE3F34E6F6" + "OwnerKey" = "8:_3C19985D42B149389722FDE758E65B17" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_30B24E91E79B41755B7C36FE3F34E6F6" + "OwnerKey" = "8:_6BBC70E12174480BB9AA2BB5387E54BF" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_30B24E91E79B41755B7C36FE3F34E6F6" + "OwnerKey" = "8:_A32CDB2D5DE248EEB28F28CAB6B79F5D" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_30B24E91E79B41755B7C36FE3F34E6F6" + "OwnerKey" = "8:_9A56688DC4D7494CBD7F5A9327D1F188" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_30B24E91E79B41755B7C36FE3F34E6F6" + "OwnerKey" = "8:_12BFA5DCE4C74EBEBAEA5E50ED2ECF8B" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_30B24E91E79B41755B7C36FE3F34E6F6" + "OwnerKey" = "8:_B35F3A0A06D64AB3A82CEAFE7EA8DBF9" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_30B24E91E79B41755B7C36FE3F34E6F6" + "OwnerKey" = "8:_00870ADAC0484A5D86D37C9A575CCF3D" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_30B24E91E79B41755B7C36FE3F34E6F6" + "OwnerKey" = "8:_9AEFF85A1F0544D48C72F1BBB0330C90" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_30B24E91E79B41755B7C36FE3F34E6F6" + "OwnerKey" = "8:_24DE3229C3EB23D88DA6489295CECC60" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_30B24E91E79B41755B7C36FE3F34E6F6" + "OwnerKey" = "8:_D622EAEACBA547CB5BB0B80EF2F9FBEC" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_30B24E91E79B41755B7C36FE3F34E6F6" + "OwnerKey" = "8:_9CCA3CBAA527443294E12C0531E871DD" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_30B24E91E79B41755B7C36FE3F34E6F6" + "OwnerKey" = "8:_CF4BC0FBB809D9512674750602812472" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_30B24E91E79B41755B7C36FE3F34E6F6" + "OwnerKey" = "8:_44B10BD5C45C69957E1AFCAD6BF10485" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_30B24E91E79B41755B7C36FE3F34E6F6" + "OwnerKey" = "8:_C0D114703ACF4E88B4B47D7F4E04960C" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_30B24E91E79B41755B7C36FE3F34E6F6" + "OwnerKey" = "8:_045EC7442D5DE0F8BFC16091D4D0E81D" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_30B24E91E79B41755B7C36FE3F34E6F6" + "OwnerKey" = "8:_5AA5C97011089B80E80258C54FC9B702" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_30B24E91E79B41755B7C36FE3F34E6F6" + "OwnerKey" = "8:_F0EFB4C551D3C7B408B65BEF69D52472" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_30B24E91E79B41755B7C36FE3F34E6F6" + "OwnerKey" = "8:_179F68EB6691A388BE34A6557619EB81" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_30B24E91E79B41755B7C36FE3F34E6F6" + "OwnerKey" = "8:_2A334B668DCE33BCF921B34BEEE353B3" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_30B24E91E79B41755B7C36FE3F34E6F6" + "OwnerKey" = "8:_026AA5F28014499D2CA48D39AEBA8A0D" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_30B24E91E79B41755B7C36FE3F34E6F6" + "OwnerKey" = "8:_DF78794EEA35F4996762557B6D1F24DF" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_30B24E91E79B41755B7C36FE3F34E6F6" + "OwnerKey" = "8:_537EFDE831D746D17ADF3C0DB87B44A5" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_30B24E91E79B41755B7C36FE3F34E6F6" + "OwnerKey" = "8:_6C7EC0ABAE9AAD4FC604C53BE8578137" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_30B24E91E79B41755B7C36FE3F34E6F6" + "OwnerKey" = "8:_94F347547CB6AB524CDD9532C9708415" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_30B24E91E79B41755B7C36FE3F34E6F6" + "OwnerKey" = "8:_7D208C9FD90C6A50A40A16AA75D2015F" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_3175FDD1701046DA9D036C30DA0646D6" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_31923F9052BB4FF5B6CEB62608837591" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_322A2BD13A2F8D2A7F7F1F8F4C68D065" + "OwnerKey" = "8:_C0D114703ACF4E88B4B47D7F4E04960C" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_322A2BD13A2F8D2A7F7F1F8F4C68D065" + "OwnerKey" = "8:_9C3FE60D2CB641EB8C20EB0A946F9793" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_322A2BD13A2F8D2A7F7F1F8F4C68D065" + "OwnerKey" = "8:_D622EAEACBA547CB5BB0B80EF2F9FBEC" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_324C2F5994C24B94B5FC7875BAEC345C" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_32E3293A11F646DC9EC2E3A882DAA405" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_342F373C9312AE3FD9BAE4550A17F56B" + "OwnerKey" = "8:_C0D114703ACF4E88B4B47D7F4E04960C" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_342F373C9312AE3FD9BAE4550A17F56B" + "OwnerKey" = "8:_9C3FE60D2CB641EB8C20EB0A946F9793" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_342F373C9312AE3FD9BAE4550A17F56B" + "OwnerKey" = "8:_D622EAEACBA547CB5BB0B80EF2F9FBEC" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_35F5E445F24AA112B22666B93396AB93" + "OwnerKey" = "8:_8BF63CB8BADA5718336FE254291A8F66" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_36D3CE517C9A4CD98E32A43137379986" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_38FA273FA2364AA6B67C4AC1078D1D14" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_391725973BE6623D5F25862C85007100" + "OwnerKey" = "8:_EE15A25C01E88F5B27815C3177A0A8C9" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_391725973BE6623D5F25862C85007100" + "OwnerKey" = "8:_BC1D614220704E83BF04A1DD4DF65D98" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_391725973BE6623D5F25862C85007100" + "OwnerKey" = "8:_24F9AB225145478C93BEB23ECA392FF7" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_391725973BE6623D5F25862C85007100" + "OwnerKey" = "8:_84AAC1ACC0F64471AD96E00B04F96574" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_391725973BE6623D5F25862C85007100" + "OwnerKey" = "8:_9C3FE60D2CB641EB8C20EB0A946F9793" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_391725973BE6623D5F25862C85007100" + "OwnerKey" = "8:_624C2F74AFC9428AA2BE6445E388E8B5" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_391725973BE6623D5F25862C85007100" + "OwnerKey" = "8:_AEB8C3BFA7FB4D8F8F36840AEC216303" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_391725973BE6623D5F25862C85007100" + "OwnerKey" = "8:_D622EAEACBA547CB5BB0B80EF2F9FBEC" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_391725973BE6623D5F25862C85007100" + "OwnerKey" = "8:_C0D114703ACF4E88B4B47D7F4E04960C" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_391725973BE6623D5F25862C85007100" + "OwnerKey" = "8:_CF83C7FEDEC9BC4B657C71FCF7227058" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_391725973BE6623D5F25862C85007100" + "OwnerKey" = "8:_F0EFB4C551D3C7B408B65BEF69D52472" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_391725973BE6623D5F25862C85007100" + "OwnerKey" = "8:_BED09B653C2F1CCE5964EF9EACD6B1EE" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_391725973BE6623D5F25862C85007100" + "OwnerKey" = "8:_25119C0EDD984B380F70507E568E7EC3" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_3A32C2C6B10CFBAC734C10DFC0F2D83D" + "OwnerKey" = "8:_C0D114703ACF4E88B4B47D7F4E04960C" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_3A32C2C6B10CFBAC734C10DFC0F2D83D" + "OwnerKey" = "8:_9C3FE60D2CB641EB8C20EB0A946F9793" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_3A32C2C6B10CFBAC734C10DFC0F2D83D" + "OwnerKey" = "8:_D622EAEACBA547CB5BB0B80EF2F9FBEC" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_3B22C3ECB76E01BF3655CCA58F521AE4" + "OwnerKey" = "8:_CF5F023E64024115B138FC74C0E7ED3D" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_3B22C3ECB76E01BF3655CCA58F521AE4" + "OwnerKey" = "8:_A09D5E52064B4EE8B58F413F03CA7A4C" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_3B22C3ECB76E01BF3655CCA58F521AE4" + "OwnerKey" = "8:_B14294C19B2D48C39AC7F29189EFC261" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_3B8029F9BC2B4F77906ED2C56F5D8932" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_3C19985D42B149389722FDE758E65B17" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_3C21CFECD6694D9FB194D8D5F583185B" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_3CBC60FF3B1D487BBD2C5E8B7C1343DA" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_3D6C365612F792A384DA60D1A3F22B8F" + "OwnerKey" = "8:_5AA5C97011089B80E80258C54FC9B702" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_3D6C365612F792A384DA60D1A3F22B8F" + "OwnerKey" = "8:_9C3FE60D2CB641EB8C20EB0A946F9793" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_3D6C365612F792A384DA60D1A3F22B8F" + "OwnerKey" = "8:_B35F3A0A06D64AB3A82CEAFE7EA8DBF9" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_3D6C365612F792A384DA60D1A3F22B8F" + "OwnerKey" = "8:_D622EAEACBA547CB5BB0B80EF2F9FBEC" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_3D6C365612F792A384DA60D1A3F22B8F" + "OwnerKey" = "8:_9CCA3CBAA527443294E12C0531E871DD" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_3D6C365612F792A384DA60D1A3F22B8F" + "OwnerKey" = "8:_44B10BD5C45C69957E1AFCAD6BF10485" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_3D6C365612F792A384DA60D1A3F22B8F" + "OwnerKey" = "8:_C0D114703ACF4E88B4B47D7F4E04960C" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_3EAE9A25156D4C4E8D02740045C4BA86" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_3EBF7A465C0CBA88AD6F19B254EF89C2" + "OwnerKey" = "8:_7D208C9FD90C6A50A40A16AA75D2015F" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_3EBF7A465C0CBA88AD6F19B254EF89C2" + "OwnerKey" = "8:_A09D5E52064B4EE8B58F413F03CA7A4C" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_3EBF7A465C0CBA88AD6F19B254EF89C2" + "OwnerKey" = "8:_95B62EB18B59449F80C102E0FA4D469D" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_3EBF7A465C0CBA88AD6F19B254EF89C2" + "OwnerKey" = "8:_9C3FE60D2CB641EB8C20EB0A946F9793" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_3EBF7A465C0CBA88AD6F19B254EF89C2" + "OwnerKey" = "8:_01EB6D17530A47109F2D66319328C67C" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_3EBF7A465C0CBA88AD6F19B254EF89C2" + "OwnerKey" = "8:_B419E6174B6348818E0717CEB95B287E" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_3EBF7A465C0CBA88AD6F19B254EF89C2" + "OwnerKey" = "8:_7970EE0845C64C969FEA4A8C942AE6F6" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_3EBF7A465C0CBA88AD6F19B254EF89C2" + "OwnerKey" = "8:_B7024C4C534B4076919F1F14AFE2A406" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_3EBF7A465C0CBA88AD6F19B254EF89C2" + "OwnerKey" = "8:_D622EAEACBA547CB5BB0B80EF2F9FBEC" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_3EBF7A465C0CBA88AD6F19B254EF89C2" + "OwnerKey" = "8:_9CCA3CBAA527443294E12C0531E871DD" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_3EBF7A465C0CBA88AD6F19B254EF89C2" + "OwnerKey" = "8:_D9EDC201718B1D32E78471AA154D1175" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_3EBF7A465C0CBA88AD6F19B254EF89C2" + "OwnerKey" = "8:_C0D114703ACF4E88B4B47D7F4E04960C" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_3EBF7A465C0CBA88AD6F19B254EF89C2" + "OwnerKey" = "8:_0EAABA4E186AE44B95DDA8539C36051A" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_3EBF7A465C0CBA88AD6F19B254EF89C2" + "OwnerKey" = "8:_5AA5C97011089B80E80258C54FC9B702" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_3EBF7A465C0CBA88AD6F19B254EF89C2" + "OwnerKey" = "8:_B7EF0CBFEF347A276FB32A581D514536" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_3EBF7A465C0CBA88AD6F19B254EF89C2" + "OwnerKey" = "8:_9C6B1512878A30BB57B7470F506D4392" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_3F601349F92346E791DC4D9412E93FA5" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_3FCBB3459AEA49148CC829953A793252" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_4091E7B6A0994C7C849C01FB6DDBAEF7" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_4100FED7054648CDA194B4B8B07B2826" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_41033BDFB1F84088A1BE9A84417A6FBB" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_41AD63FF8C31C0A57A86209D0A6E5C80" + "OwnerKey" = "8:_9E55F358F7302BD386B0176D646A879D" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_41AD63FF8C31C0A57A86209D0A6E5C80" + "OwnerKey" = "8:_9BA26D5888BF43C992BD492156585269" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_41AD63FF8C31C0A57A86209D0A6E5C80" + "OwnerKey" = "8:_A6641DBF49634DD1BCA547850CF571A5" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_41AD63FF8C31C0A57A86209D0A6E5C80" + "OwnerKey" = "8:_1FED32A36DEDF48FCB4ED09F524E99E5" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_41BEAF514DE93A58976DF6577FF0710B" + "OwnerKey" = "8:_C667F7C6655F91B4FF60A357F0D2A867" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_41BEAF514DE93A58976DF6577FF0710B" + "OwnerKey" = "8:_84AAC1ACC0F64471AD96E00B04F96574" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_41BEAF514DE93A58976DF6577FF0710B" + "OwnerKey" = "8:_9C3FE60D2CB641EB8C20EB0A946F9793" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_41BEAF514DE93A58976DF6577FF0710B" + "OwnerKey" = "8:_E9906790AA414B2588DD26786A294C29" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_41BEAF514DE93A58976DF6577FF0710B" + "OwnerKey" = "8:_B35F3A0A06D64AB3A82CEAFE7EA8DBF9" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_41BEAF514DE93A58976DF6577FF0710B" + "OwnerKey" = "8:_D622EAEACBA547CB5BB0B80EF2F9FBEC" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_41BEAF514DE93A58976DF6577FF0710B" + "OwnerKey" = "8:_9CCA3CBAA527443294E12C0531E871DD" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_41BEAF514DE93A58976DF6577FF0710B" + "OwnerKey" = "8:_546EE584F91948C5A7CAF60245145DE3" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_41BEAF514DE93A58976DF6577FF0710B" + "OwnerKey" = "8:_44B10BD5C45C69957E1AFCAD6BF10485" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_41BEAF514DE93A58976DF6577FF0710B" + "OwnerKey" = "8:_C0D114703ACF4E88B4B47D7F4E04960C" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_41BEAF514DE93A58976DF6577FF0710B" + "OwnerKey" = "8:_5AA5C97011089B80E80258C54FC9B702" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_41BEAF514DE93A58976DF6577FF0710B" + "OwnerKey" = "8:_F0EFB4C551D3C7B408B65BEF69D52472" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_42E667E597FF4DA9B488239F01ED3B88" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_42E776DCC37C447AB3D84285C5BC636A" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_43391991848647868BF2E89CF637D486" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_449AD383BF274A1BB871346ADC2CC6ED" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_44A68DFBD45644DC8A67F0C87F267C7E" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_44B10BD5C45C69957E1AFCAD6BF10485" + "OwnerKey" = "8:_546EE584F91948C5A7CAF60245145DE3" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_44B10BD5C45C69957E1AFCAD6BF10485" + "OwnerKey" = "8:_A09D5E52064B4EE8B58F413F03CA7A4C" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_44B10BD5C45C69957E1AFCAD6BF10485" + "OwnerKey" = "8:_00870ADAC0484A5D86D37C9A575CCF3D" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_44B10BD5C45C69957E1AFCAD6BF10485" + "OwnerKey" = "8:_9AEFF85A1F0544D48C72F1BBB0330C90" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_45D96C37531D229D4E62D781ED22A9D9" + "OwnerKey" = "8:_5AA5C97011089B80E80258C54FC9B702" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_45D96C37531D229D4E62D781ED22A9D9" + "OwnerKey" = "8:_46704F13BB2D4842BE0A1793EE0FE473" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_45D96C37531D229D4E62D781ED22A9D9" + "OwnerKey" = "8:_9C3FE60D2CB641EB8C20EB0A946F9793" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_45D96C37531D229D4E62D781ED22A9D9" + "OwnerKey" = "8:_00870ADAC0484A5D86D37C9A575CCF3D" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_45D96C37531D229D4E62D781ED22A9D9" + "OwnerKey" = "8:_D622EAEACBA547CB5BB0B80EF2F9FBEC" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_45D96C37531D229D4E62D781ED22A9D9" + "OwnerKey" = "8:_9CCA3CBAA527443294E12C0531E871DD" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_45D96C37531D229D4E62D781ED22A9D9" + "OwnerKey" = "8:_C0D114703ACF4E88B4B47D7F4E04960C" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_45EAD0C161EF43589619CDE764684662" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_4617971CE6594996B555E535CCE00211" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_4621979E6FF23B3F24CC086F9E2C6D71" + "OwnerKey" = "8:_632667153BFC4C2AA121974E10F49026" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_4621979E6FF23B3F24CC086F9E2C6D71" + "OwnerKey" = "8:_624D6C2131D427E1FDCAAF7D749F959E" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_46704F13BB2D4842BE0A1793EE0FE473" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_46728EBA95714224B90A7E79E8E1D78D" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_468BE8638DF04F0D822D6B0D3236D456" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_478C4D00C4B41A2FEFBA27FD80363947" + "OwnerKey" = "8:_C0D114703ACF4E88B4B47D7F4E04960C" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_478C4D00C4B41A2FEFBA27FD80363947" + "OwnerKey" = "8:_9C3FE60D2CB641EB8C20EB0A946F9793" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_478C4D00C4B41A2FEFBA27FD80363947" + "OwnerKey" = "8:_D622EAEACBA547CB5BB0B80EF2F9FBEC" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_4894FAD3F0987772FDE1791AD6A5A778" + "OwnerKey" = "8:_FCF185846CF41F04637293C35A21BF70" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_4894FAD3F0987772FDE1791AD6A5A778" + "OwnerKey" = "8:_9DD7D99ADB14464CAAD4E8856EDD4D90" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_4894FAD3F0987772FDE1791AD6A5A778" + "OwnerKey" = "8:_9C3FE60D2CB641EB8C20EB0A946F9793" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_4894FAD3F0987772FDE1791AD6A5A778" + "OwnerKey" = "8:_05581D908989450DBE2EF42B84501484" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_4894FAD3F0987772FDE1791AD6A5A778" + "OwnerKey" = "8:_D622EAEACBA547CB5BB0B80EF2F9FBEC" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_4894FAD3F0987772FDE1791AD6A5A778" + "OwnerKey" = "8:_9CCA3CBAA527443294E12C0531E871DD" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_4894FAD3F0987772FDE1791AD6A5A778" + "OwnerKey" = "8:_C0D114703ACF4E88B4B47D7F4E04960C" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_4894FAD3F0987772FDE1791AD6A5A778" + "OwnerKey" = "8:_5AA5C97011089B80E80258C54FC9B702" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_48EDDB18C80C486BA87954860A112896" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_49B55262F1F3454AAB2D13C6380C82F3" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_49C1343ACD0F441A8A99D6F86F64B590" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_4A73A72C37AD43BE874D5A1D1A0AAB49" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_4CD8003046374664A5D2459A75EC33A3" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_4F62268C62B6425586A675A3464E7B53" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_50770C7C027D4E1A8CDBB9E3C363AFEB" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_511FA553A2BB1508C041CAE5D0337949" + "OwnerKey" = "8:_A4C5548E242439A424F0DC360FC3CA1D" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_511FA553A2BB1508C041CAE5D0337949" + "OwnerKey" = "8:_9C3FE60D2CB641EB8C20EB0A946F9793" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_511FA553A2BB1508C041CAE5D0337949" + "OwnerKey" = "8:_53492C665B5D49D7B4705F3E23562157" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_511FA553A2BB1508C041CAE5D0337949" + "OwnerKey" = "8:_2AD130904BC84DEA8501024AA232FC4E" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_511FA553A2BB1508C041CAE5D0337949" + "OwnerKey" = "8:_0DF687C0AA8641C092D2E3977BBDEFA7" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_511FA553A2BB1508C041CAE5D0337949" + "OwnerKey" = "8:_B3A91C3DDE21461499706CB060164DBF" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_511FA553A2BB1508C041CAE5D0337949" + "OwnerKey" = "8:_3EAE9A25156D4C4E8D02740045C4BA86" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_511FA553A2BB1508C041CAE5D0337949" + "OwnerKey" = "8:_FFA7ACA8F65E48BC81C510AFD77C921F" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_511FA553A2BB1508C041CAE5D0337949" + "OwnerKey" = "8:_D622EAEACBA547CB5BB0B80EF2F9FBEC" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_511FA553A2BB1508C041CAE5D0337949" + "OwnerKey" = "8:_9CCA3CBAA527443294E12C0531E871DD" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_511FA553A2BB1508C041CAE5D0337949" + "OwnerKey" = "8:_CF4BC0FBB809D9512674750602812472" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_511FA553A2BB1508C041CAE5D0337949" + "OwnerKey" = "8:_C0D114703ACF4E88B4B47D7F4E04960C" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_511FA553A2BB1508C041CAE5D0337949" + "OwnerKey" = "8:_5AA5C97011089B80E80258C54FC9B702" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_511FA553A2BB1508C041CAE5D0337949" + "OwnerKey" = "8:_179F68EB6691A388BE34A6557619EB81" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_511FA553A2BB1508C041CAE5D0337949" + "OwnerKey" = "8:_CF6116D74539692C6BD1F1CF4D8059DF" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_511FA553A2BB1508C041CAE5D0337949" + "OwnerKey" = "8:_E0FE5833AD3E054566DD4BE6AD0607BD" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_511FA553A2BB1508C041CAE5D0337949" + "OwnerKey" = "8:_51F23CC790B4896F4232F5B87B191C29" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_51F23CC790B4896F4232F5B87B191C29" + "OwnerKey" = "8:_15554B3D9AB1703D58B0D31D6923E3C0" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_51F23CC790B4896F4232F5B87B191C29" + "OwnerKey" = "8:_9C3FE60D2CB641EB8C20EB0A946F9793" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_51F23CC790B4896F4232F5B87B191C29" + "OwnerKey" = "8:_20FFD0CF6C92429FAA25626C12E1F20C" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_51F23CC790B4896F4232F5B87B191C29" + "OwnerKey" = "8:_ADECACE59CB14E8BA77539E1543F3F9E" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_51F23CC790B4896F4232F5B87B191C29" + "OwnerKey" = "8:_17D03F5442B743769AF147B534D842BB" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_51F23CC790B4896F4232F5B87B191C29" + "OwnerKey" = "8:_594F61C6642845DF974AAD0E91EF9A37" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_51F23CC790B4896F4232F5B87B191C29" + "OwnerKey" = "8:_C653534C72A8445D83D5885D02245F61" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_51F23CC790B4896F4232F5B87B191C29" + "OwnerKey" = "8:_01EB6D17530A47109F2D66319328C67C" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_51F23CC790B4896F4232F5B87B191C29" + "OwnerKey" = "8:_D622EAEACBA547CB5BB0B80EF2F9FBEC" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_51F23CC790B4896F4232F5B87B191C29" + "OwnerKey" = "8:_9CCA3CBAA527443294E12C0531E871DD" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_51F23CC790B4896F4232F5B87B191C29" + "OwnerKey" = "8:_C0D114703ACF4E88B4B47D7F4E04960C" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_51F23CC790B4896F4232F5B87B191C29" + "OwnerKey" = "8:_5AA5C97011089B80E80258C54FC9B702" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_51F23CC790B4896F4232F5B87B191C29" + "OwnerKey" = "8:_BC31A8CC4EE0FEACA6403236951B65CF" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_51F23CC790B4896F4232F5B87B191C29" + "OwnerKey" = "8:_B96BF8D9E3FF5E8CDFD69659FF75C052" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_51F23CC790B4896F4232F5B87B191C29" + "OwnerKey" = "8:_B7EF0CBFEF347A276FB32A581D514536" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_51F23CC790B4896F4232F5B87B191C29" + "OwnerKey" = "8:_8C0A8BA04215433A1B10CC5A37BD3134" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_51F23CC790B4896F4232F5B87B191C29" + "OwnerKey" = "8:_116EB9729A93F5A9EEF73567733F8298" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_51F5217E9DBD561DBC7FDECB0AD2C76A" + "OwnerKey" = "8:_8BF63CB8BADA5718336FE254291A8F66" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_527A891CDA554F859B36CDABC1846618" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_5291B57ED0674E68992853A555A116C3" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_53492C665B5D49D7B4705F3E23562157" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_537EFDE831D746D17ADF3C0DB87B44A5" + "OwnerKey" = "8:_41AD63FF8C31C0A57A86209D0A6E5C80" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_537EFDE831D746D17ADF3C0DB87B44A5" + "OwnerKey" = "8:_9BA26D5888BF43C992BD492156585269" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_537EFDE831D746D17ADF3C0DB87B44A5" + "OwnerKey" = "8:_5DEC5F989E1F4FE3B8BC00BE10B58169" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_537EFDE831D746D17ADF3C0DB87B44A5" + "OwnerKey" = "8:_F05A93887A074634AA0740E80D05D38A" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_537EFDE831D746D17ADF3C0DB87B44A5" + "OwnerKey" = "8:_74FBD4E6D00E43B0A17A4C03B5FE37BB" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_537EFDE831D746D17ADF3C0DB87B44A5" + "OwnerKey" = "8:_557C57CC46F148689753FD02506E0594" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_537EFDE831D746D17ADF3C0DB87B44A5" + "OwnerKey" = "8:_1FED32A36DEDF48FCB4ED09F524E99E5" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_537EFDE831D746D17ADF3C0DB87B44A5" + "OwnerKey" = "8:_946229117826D3A0D4BEAF474DC0D7D3" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_537EFDE831D746D17ADF3C0DB87B44A5" + "OwnerKey" = "8:_41BEAF514DE93A58976DF6577FF0710B" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_537EFDE831D746D17ADF3C0DB87B44A5" + "OwnerKey" = "8:_E465A96BEFD6704FF1A87F0746A71AE7" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_546EE584F91948C5A7CAF60245145DE3" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_557C57CC46F148689753FD02506E0594" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_56D1D3A78E5E4185B6EDB009CF1798DC" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_57D7430D26C37BBE513C3DEF41482CB8" + "OwnerKey" = "8:_5AA5C97011089B80E80258C54FC9B702" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_57D7430D26C37BBE513C3DEF41482CB8" + "OwnerKey" = "8:_9C3FE60D2CB641EB8C20EB0A946F9793" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_57D7430D26C37BBE513C3DEF41482CB8" + "OwnerKey" = "8:_D622EAEACBA547CB5BB0B80EF2F9FBEC" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_57D7430D26C37BBE513C3DEF41482CB8" + "OwnerKey" = "8:_9CCA3CBAA527443294E12C0531E871DD" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_57D7430D26C37BBE513C3DEF41482CB8" + "OwnerKey" = "8:_C0D114703ACF4E88B4B47D7F4E04960C" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_584028D3A72A3D2DFFEB75D85E0CB207" + "OwnerKey" = "8:_C0D114703ACF4E88B4B47D7F4E04960C" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_584028D3A72A3D2DFFEB75D85E0CB207" + "OwnerKey" = "8:_9C3FE60D2CB641EB8C20EB0A946F9793" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_584028D3A72A3D2DFFEB75D85E0CB207" + "OwnerKey" = "8:_D622EAEACBA547CB5BB0B80EF2F9FBEC" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_58430C1692E289EE87AB6E8926D2E30F" + "OwnerKey" = "8:_FCF185846CF41F04637293C35A21BF70" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_58430C1692E289EE87AB6E8926D2E30F" + "OwnerKey" = "8:_A465D5ADCCED41E8A8F9DE1412BEE105" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_58430C1692E289EE87AB6E8926D2E30F" + "OwnerKey" = "8:_8B53F9CC53E544008D7A343B8E9AEA3B" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_58430C1692E289EE87AB6E8926D2E30F" + "OwnerKey" = "8:_CB93347BD17E465AB8DCE6E7803A8994" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_58430C1692E289EE87AB6E8926D2E30F" + "OwnerKey" = "8:_84AAC1ACC0F64471AD96E00B04F96574" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_58430C1692E289EE87AB6E8926D2E30F" + "OwnerKey" = "8:_9C3FE60D2CB641EB8C20EB0A946F9793" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_58430C1692E289EE87AB6E8926D2E30F" + "OwnerKey" = "8:_05581D908989450DBE2EF42B84501484" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_58430C1692E289EE87AB6E8926D2E30F" + "OwnerKey" = "8:_D622EAEACBA547CB5BB0B80EF2F9FBEC" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_58430C1692E289EE87AB6E8926D2E30F" + "OwnerKey" = "8:_C0D114703ACF4E88B4B47D7F4E04960C" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_58430C1692E289EE87AB6E8926D2E30F" + "OwnerKey" = "8:_045EC7442D5DE0F8BFC16091D4D0E81D" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_58430C1692E289EE87AB6E8926D2E30F" + "OwnerKey" = "8:_F0EFB4C551D3C7B408B65BEF69D52472" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_58430C1692E289EE87AB6E8926D2E30F" + "OwnerKey" = "8:_2F94E013CF4ADD4522DADF1B2CC2DE3C" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_58430C1692E289EE87AB6E8926D2E30F" + "OwnerKey" = "8:_537EFDE831D746D17ADF3C0DB87B44A5" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_594F61C6642845DF974AAD0E91EF9A37" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_5AA5C97011089B80E80258C54FC9B702" + "OwnerKey" = "8:_C0D114703ACF4E88B4B47D7F4E04960C" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_5AA5C97011089B80E80258C54FC9B702" + "OwnerKey" = "8:_9C3FE60D2CB641EB8C20EB0A946F9793" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_5AA5C97011089B80E80258C54FC9B702" + "OwnerKey" = "8:_D622EAEACBA547CB5BB0B80EF2F9FBEC" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_5AA5C97011089B80E80258C54FC9B702" + "OwnerKey" = "8:_D76106A7441D4D69929B6B9E08B24846" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_5AFFAD1DB3394D668A182EBC3250F568" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_5B31F5B49AE508BB53A85BC64919D013" + "OwnerKey" = "8:_8BF63CB8BADA5718336FE254291A8F66" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_5C5D73F2140D4BCD9209CD169908C37D" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_5C96648DAA0847C7A5CEF0E0BD4C972A" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_5D13D6EC94124CF0A401D7DC97BEDFF2" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_5D958D73994894B86D67E95AE1A90ECA" + "OwnerKey" = "8:_8C0A8BA04215433A1B10CC5A37BD3134" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_5D958D73994894B86D67E95AE1A90ECA" + "OwnerKey" = "8:_9C3FE60D2CB641EB8C20EB0A946F9793" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_5D958D73994894B86D67E95AE1A90ECA" + "OwnerKey" = "8:_17D03F5442B743769AF147B534D842BB" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_5D958D73994894B86D67E95AE1A90ECA" + "OwnerKey" = "8:_01EB6D17530A47109F2D66319328C67C" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_5D958D73994894B86D67E95AE1A90ECA" + "OwnerKey" = "8:_D622EAEACBA547CB5BB0B80EF2F9FBEC" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_5D958D73994894B86D67E95AE1A90ECA" + "OwnerKey" = "8:_C0D114703ACF4E88B4B47D7F4E04960C" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_5D958D73994894B86D67E95AE1A90ECA" + "OwnerKey" = "8:_B7EF0CBFEF347A276FB32A581D514536" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_5DAB1E200E4FD0856E74B64E9E6B853F" + "OwnerKey" = "8:_25CD1BE430DE930834D38ED4434746A3" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_5DAB1E200E4FD0856E74B64E9E6B853F" + "OwnerKey" = "8:_A09D5E52064B4EE8B58F413F03CA7A4C" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_5DAB1E200E4FD0856E74B64E9E6B853F" + "OwnerKey" = "8:_F146D7D5982B4DAB8830740345D4B161" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_5DAB1E200E4FD0856E74B64E9E6B853F" + "OwnerKey" = "8:_1E055B0BAC1C43F5B5FEAD6924109C12" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_5DAB1E200E4FD0856E74B64E9E6B853F" + "OwnerKey" = "8:_46704F13BB2D4842BE0A1793EE0FE473" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_5DAB1E200E4FD0856E74B64E9E6B853F" + "OwnerKey" = "8:_B14294C19B2D48C39AC7F29189EFC261" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_5DAB1E200E4FD0856E74B64E9E6B853F" + "OwnerKey" = "8:_DD58016D60544560AA5E49FFE8AF107F" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_5DAB1E200E4FD0856E74B64E9E6B853F" + "OwnerKey" = "8:_BB9BDFAB061A475D834F5B2188B1B0DF" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_5DAB1E200E4FD0856E74B64E9E6B853F" + "OwnerKey" = "8:_F703AD86F2EE4F03B609DD408A7632FC" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_5DAB1E200E4FD0856E74B64E9E6B853F" + "OwnerKey" = "8:_DA0E578E801344D796ECF6D33EFC3C6B" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_5DAB1E200E4FD0856E74B64E9E6B853F" + "OwnerKey" = "8:_B7EC99BD89A446C2BA73214BA2CAE40B" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_5DAB1E200E4FD0856E74B64E9E6B853F" + "OwnerKey" = "8:_0D4B1FACED7C406C8B45A2D42A956E94" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_5DAB1E200E4FD0856E74B64E9E6B853F" + "OwnerKey" = "8:_A5E25E6038B7491EB5E4C5164B34ED2A" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_5DAB1E200E4FD0856E74B64E9E6B853F" + "OwnerKey" = "8:_3CBC60FF3B1D487BBD2C5E8B7C1343DA" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_5DAB1E200E4FD0856E74B64E9E6B853F" + "OwnerKey" = "8:_A465D5ADCCED41E8A8F9DE1412BEE105" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_5DAB1E200E4FD0856E74B64E9E6B853F" + "OwnerKey" = "8:_BC1D614220704E83BF04A1DD4DF65D98" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_5DAB1E200E4FD0856E74B64E9E6B853F" + "OwnerKey" = "8:_292CB48DD2234C5C9F966039981DA3DC" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_5DAB1E200E4FD0856E74B64E9E6B853F" + "OwnerKey" = "8:_468BE8638DF04F0D822D6B0D3236D456" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_5DAB1E200E4FD0856E74B64E9E6B853F" + "OwnerKey" = "8:_6677F7DDE833487685A5365B814C948E" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_5DAB1E200E4FD0856E74B64E9E6B853F" + "OwnerKey" = "8:_02E4613E8AEB4925B0909C28C1269A91" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_5DAB1E200E4FD0856E74B64E9E6B853F" + "OwnerKey" = "8:_DC8D8DBC37CC4A48BAF0DC5E82766D9C" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_5DAB1E200E4FD0856E74B64E9E6B853F" + "OwnerKey" = "8:_D3633B8ABDC546FD9B706F87CA11EB0D" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_5DAB1E200E4FD0856E74B64E9E6B853F" + "OwnerKey" = "8:_9DD7D99ADB14464CAAD4E8856EDD4D90" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_5DAB1E200E4FD0856E74B64E9E6B853F" + "OwnerKey" = "8:_95B62EB18B59449F80C102E0FA4D469D" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_5DAB1E200E4FD0856E74B64E9E6B853F" + "OwnerKey" = "8:_8B53F9CC53E544008D7A343B8E9AEA3B" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_5DAB1E200E4FD0856E74B64E9E6B853F" + "OwnerKey" = "8:_557C57CC46F148689753FD02506E0594" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_5DAB1E200E4FD0856E74B64E9E6B853F" + "OwnerKey" = "8:_CB93347BD17E465AB8DCE6E7803A8994" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_5DAB1E200E4FD0856E74B64E9E6B853F" + "OwnerKey" = "8:_84AAC1ACC0F64471AD96E00B04F96574" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_5DAB1E200E4FD0856E74B64E9E6B853F" + "OwnerKey" = "8:_9C3FE60D2CB641EB8C20EB0A946F9793" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_5DAB1E200E4FD0856E74B64E9E6B853F" + "OwnerKey" = "8:_7C075794BA3C4A028240B57A3EFB2A90" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_5DAB1E200E4FD0856E74B64E9E6B853F" + "OwnerKey" = "8:_C0C5097D17F34D15B8B17E20FDDC9766" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_5DAB1E200E4FD0856E74B64E9E6B853F" + "OwnerKey" = "8:_232ACD7603294423A9F576A29A52830E" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_5DAB1E200E4FD0856E74B64E9E6B853F" + "OwnerKey" = "8:_D9A8CF85057F4275B76CBA27451FBBB5" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_5DAB1E200E4FD0856E74B64E9E6B853F" + "OwnerKey" = "8:_E244DF62356040C99174B6A95091F933" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_5DAB1E200E4FD0856E74B64E9E6B853F" + "OwnerKey" = "8:_53492C665B5D49D7B4705F3E23562157" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_5DAB1E200E4FD0856E74B64E9E6B853F" + "OwnerKey" = "8:_20FFD0CF6C92429FAA25626C12E1F20C" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_5DAB1E200E4FD0856E74B64E9E6B853F" + "OwnerKey" = "8:_ADECACE59CB14E8BA77539E1543F3F9E" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_5DAB1E200E4FD0856E74B64E9E6B853F" + "OwnerKey" = "8:_17D03F5442B743769AF147B534D842BB" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_5DAB1E200E4FD0856E74B64E9E6B853F" + "OwnerKey" = "8:_624C2F74AFC9428AA2BE6445E388E8B5" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_5DAB1E200E4FD0856E74B64E9E6B853F" + "OwnerKey" = "8:_5E9E54CF8C9A48A28AE9FBB85927752D" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_5DAB1E200E4FD0856E74B64E9E6B853F" + "OwnerKey" = "8:_594F61C6642845DF974AAD0E91EF9A37" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_5DAB1E200E4FD0856E74B64E9E6B853F" + "OwnerKey" = "8:_2AD130904BC84DEA8501024AA232FC4E" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_5DAB1E200E4FD0856E74B64E9E6B853F" + "OwnerKey" = "8:_C653534C72A8445D83D5885D02245F61" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_5DAB1E200E4FD0856E74B64E9E6B853F" + "OwnerKey" = "8:_0DF687C0AA8641C092D2E3977BBDEFA7" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_5DAB1E200E4FD0856E74B64E9E6B853F" + "OwnerKey" = "8:_01EB6D17530A47109F2D66319328C67C" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_5DAB1E200E4FD0856E74B64E9E6B853F" + "OwnerKey" = "8:_64770AF066B54BE3B8569E19B19E6B53" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_5DAB1E200E4FD0856E74B64E9E6B853F" + "OwnerKey" = "8:_09A62DF5B6844A1F97C767EC8D252742" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_5DAB1E200E4FD0856E74B64E9E6B853F" + "OwnerKey" = "8:_B3A91C3DDE21461499706CB060164DBF" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_5DAB1E200E4FD0856E74B64E9E6B853F" + "OwnerKey" = "8:_3EAE9A25156D4C4E8D02740045C4BA86" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_5DAB1E200E4FD0856E74B64E9E6B853F" + "OwnerKey" = "8:_EB3961FC5BF146C49AB55CC9768DA841" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_5DAB1E200E4FD0856E74B64E9E6B853F" + "OwnerKey" = "8:_B419E6174B6348818E0717CEB95B287E" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_5DAB1E200E4FD0856E74B64E9E6B853F" + "OwnerKey" = "8:_6906CE29A1544D899543332AE5DFB93D" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_5DAB1E200E4FD0856E74B64E9E6B853F" + "OwnerKey" = "8:_31923F9052BB4FF5B6CEB62608837591" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_5DAB1E200E4FD0856E74B64E9E6B853F" + "OwnerKey" = "8:_FFA7ACA8F65E48BC81C510AFD77C921F" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_5DAB1E200E4FD0856E74B64E9E6B853F" + "OwnerKey" = "8:_6FAA499E74924D14BE2D95B3A55D4555" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_5DAB1E200E4FD0856E74B64E9E6B853F" + "OwnerKey" = "8:_B7024C4C534B4076919F1F14AFE2A406" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_5DAB1E200E4FD0856E74B64E9E6B853F" + "OwnerKey" = "8:_3C19985D42B149389722FDE758E65B17" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_5DAB1E200E4FD0856E74B64E9E6B853F" + "OwnerKey" = "8:_CF5F023E64024115B138FC74C0E7ED3D" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_5DAB1E200E4FD0856E74B64E9E6B853F" + "OwnerKey" = "8:_3B22C3ECB76E01BF3655CCA58F521AE4" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_5DAB1E200E4FD0856E74B64E9E6B853F" + "OwnerKey" = "8:_A32CDB2D5DE248EEB28F28CAB6B79F5D" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_5DAB1E200E4FD0856E74B64E9E6B853F" + "OwnerKey" = "8:_9A56688DC4D7494CBD7F5A9327D1F188" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_5DAB1E200E4FD0856E74B64E9E6B853F" + "OwnerKey" = "8:_EB7787F6A450460E98169BCFF7B5668A" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_5DAB1E200E4FD0856E74B64E9E6B853F" + "OwnerKey" = "8:_0036124F08D44E92A70B64B41140023F" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_5DAB1E200E4FD0856E74B64E9E6B853F" + "OwnerKey" = "8:_8438E7C8CC49448093B99673A2CC034F" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_5DAB1E200E4FD0856E74B64E9E6B853F" + "OwnerKey" = "8:_12BFA5DCE4C74EBEBAEA5E50ED2ECF8B" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_5DAB1E200E4FD0856E74B64E9E6B853F" + "OwnerKey" = "8:_B35F3A0A06D64AB3A82CEAFE7EA8DBF9" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_5DAB1E200E4FD0856E74B64E9E6B853F" + "OwnerKey" = "8:_05581D908989450DBE2EF42B84501484" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_5DAB1E200E4FD0856E74B64E9E6B853F" + "OwnerKey" = "8:_8DF56435F0284783983A1229FCF82C23" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_5DAB1E200E4FD0856E74B64E9E6B853F" + "OwnerKey" = "8:_86659D1DE4D241E595AD02D88D98BA68" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_5DAB1E200E4FD0856E74B64E9E6B853F" + "OwnerKey" = "8:_8A40B1029BB841ED88E1DEEF003820D3" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_5DAB1E200E4FD0856E74B64E9E6B853F" + "OwnerKey" = "8:_E0BFD1F79198404FBE500F4824FF0905" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_5DAB1E200E4FD0856E74B64E9E6B853F" + "OwnerKey" = "8:_82C511A0589641DFA0DBE670DBE561CD" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_5DAB1E200E4FD0856E74B64E9E6B853F" + "OwnerKey" = "8:_93CE5D9EAEFF4448ADF4B8776D5DFD70" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_5DAB1E200E4FD0856E74B64E9E6B853F" + "OwnerKey" = "8:_199C4E0C921D4A5DAEC115D1B8C45FD4" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_5DAB1E200E4FD0856E74B64E9E6B853F" + "OwnerKey" = "8:_FE23B45386AF0F9D3FB137DB948A7F53" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_5DAB1E200E4FD0856E74B64E9E6B853F" + "OwnerKey" = "8:_5291B57ED0674E68992853A555A116C3" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_5DAB1E200E4FD0856E74B64E9E6B853F" + "OwnerKey" = "8:_5D13D6EC94124CF0A401D7DC97BEDFF2" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_5DAB1E200E4FD0856E74B64E9E6B853F" + "OwnerKey" = "8:_E62C1A012A4E40798DE80BE3E6A4E951" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_5DAB1E200E4FD0856E74B64E9E6B853F" + "OwnerKey" = "8:_EDF89CFEB9CD4C0DA79593E87E6BFE27" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_5DAB1E200E4FD0856E74B64E9E6B853F" + "OwnerKey" = "8:_E485E664B108312262981F501B2F4848" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_5DAB1E200E4FD0856E74B64E9E6B853F" + "OwnerKey" = "8:_00870ADAC0484A5D86D37C9A575CCF3D" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_5DAB1E200E4FD0856E74B64E9E6B853F" + "OwnerKey" = "8:_7D1AF215AEF542A188BD95BB372EDFBF" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_5DAB1E200E4FD0856E74B64E9E6B853F" + "OwnerKey" = "8:_32E3293A11F646DC9EC2E3A882DAA405" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_5DAB1E200E4FD0856E74B64E9E6B853F" + "OwnerKey" = "8:_BF6D49BA584844B1A9F5E6E585DED179" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_5DAB1E200E4FD0856E74B64E9E6B853F" + "OwnerKey" = "8:_B18DAA15A2D144CAB805DF98395AA6E6" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_5DAB1E200E4FD0856E74B64E9E6B853F" + "OwnerKey" = "8:_9AEFF85A1F0544D48C72F1BBB0330C90" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_5DAB1E200E4FD0856E74B64E9E6B853F" + "OwnerKey" = "8:_24DE3229C3EB23D88DA6489295CECC60" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_5DAB1E200E4FD0856E74B64E9E6B853F" + "OwnerKey" = "8:_D622EAEACBA547CB5BB0B80EF2F9FBEC" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_5DAB1E200E4FD0856E74B64E9E6B853F" + "OwnerKey" = "8:_9CCA3CBAA527443294E12C0531E871DD" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_5DAB1E200E4FD0856E74B64E9E6B853F" + "OwnerKey" = "8:_B89EC8CDA071487ABA6E99DB1029E6C3" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_5DAB1E200E4FD0856E74B64E9E6B853F" + "OwnerKey" = "8:_D64A9B36F8244321A075359E498601DC" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_5DAB1E200E4FD0856E74B64E9E6B853F" + "OwnerKey" = "8:_B54170EB482D4C0A92074CE3C6E550BD" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_5DAB1E200E4FD0856E74B64E9E6B853F" + "OwnerKey" = "8:_546EE584F91948C5A7CAF60245145DE3" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_5DAB1E200E4FD0856E74B64E9E6B853F" + "OwnerKey" = "8:_CF4BC0FBB809D9512674750602812472" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_5DAB1E200E4FD0856E74B64E9E6B853F" + "OwnerKey" = "8:_44B10BD5C45C69957E1AFCAD6BF10485" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_5DAB1E200E4FD0856E74B64E9E6B853F" + "OwnerKey" = "8:_1AFFE18A5663E9DC4F95DA808CC22BC4" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_5DAB1E200E4FD0856E74B64E9E6B853F" + "OwnerKey" = "8:_2A658EAC69E52B448271E6CAAD1B1B7F" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_5DAB1E200E4FD0856E74B64E9E6B853F" + "OwnerKey" = "8:_C0D114703ACF4E88B4B47D7F4E04960C" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_5DAB1E200E4FD0856E74B64E9E6B853F" + "OwnerKey" = "8:_01DFED249049DDA72757FA18F4680151" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_5DAB1E200E4FD0856E74B64E9E6B853F" + "OwnerKey" = "8:_045EC7442D5DE0F8BFC16091D4D0E81D" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_5DAB1E200E4FD0856E74B64E9E6B853F" + "OwnerKey" = "8:_CF83C7FEDEC9BC4B657C71FCF7227058" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_5DAB1E200E4FD0856E74B64E9E6B853F" + "OwnerKey" = "8:_2F3DF2C97193539E507701F57A86CA4C" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_5DAB1E200E4FD0856E74B64E9E6B853F" + "OwnerKey" = "8:_D9EDC201718B1D32E78471AA154D1175" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_5DAB1E200E4FD0856E74B64E9E6B853F" + "OwnerKey" = "8:_03BA8ACDDDBF6520B59F51E73C4D971D" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_5DAB1E200E4FD0856E74B64E9E6B853F" + "OwnerKey" = "8:_189E57FC8047020AFCDB33ED035A7570" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_5DAB1E200E4FD0856E74B64E9E6B853F" + "OwnerKey" = "8:_5AA5C97011089B80E80258C54FC9B702" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_5DAB1E200E4FD0856E74B64E9E6B853F" + "OwnerKey" = "8:_F0EFB4C551D3C7B408B65BEF69D52472" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_5DAB1E200E4FD0856E74B64E9E6B853F" + "OwnerKey" = "8:_2F94E013CF4ADD4522DADF1B2CC2DE3C" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_5DAB1E200E4FD0856E74B64E9E6B853F" + "OwnerKey" = "8:_7B1123BEF5320FEEA1E91AE63DBD99ED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_5DAB1E200E4FD0856E74B64E9E6B853F" + "OwnerKey" = "8:_57D7430D26C37BBE513C3DEF41482CB8" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_5DAB1E200E4FD0856E74B64E9E6B853F" + "OwnerKey" = "8:_3D6C365612F792A384DA60D1A3F22B8F" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_5DAB1E200E4FD0856E74B64E9E6B853F" + "OwnerKey" = "8:_E4CAF456C17123C182993937E22CEC06" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_5DAB1E200E4FD0856E74B64E9E6B853F" + "OwnerKey" = "8:_BC31A8CC4EE0FEACA6403236951B65CF" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_5DAB1E200E4FD0856E74B64E9E6B853F" + "OwnerKey" = "8:_179F68EB6691A388BE34A6557619EB81" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_5DAB1E200E4FD0856E74B64E9E6B853F" + "OwnerKey" = "8:_2A334B668DCE33BCF921B34BEEE353B3" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_5DAB1E200E4FD0856E74B64E9E6B853F" + "OwnerKey" = "8:_B96BF8D9E3FF5E8CDFD69659FF75C052" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_5DAB1E200E4FD0856E74B64E9E6B853F" + "OwnerKey" = "8:_B0CF5469FF107F5B15750BCBDEF8BFE4" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_5DAB1E200E4FD0856E74B64E9E6B853F" + "OwnerKey" = "8:_CF6116D74539692C6BD1F1CF4D8059DF" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_5DAB1E200E4FD0856E74B64E9E6B853F" + "OwnerKey" = "8:_FDA019D101C6ACC973395D216205AFD3" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_5DAB1E200E4FD0856E74B64E9E6B853F" + "OwnerKey" = "8:_E0FE5833AD3E054566DD4BE6AD0607BD" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_5DAB1E200E4FD0856E74B64E9E6B853F" + "OwnerKey" = "8:_026AA5F28014499D2CA48D39AEBA8A0D" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_5DAB1E200E4FD0856E74B64E9E6B853F" + "OwnerKey" = "8:_786BFC89E84C53F8CFD5DCFE4E5A2C50" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_5DAB1E200E4FD0856E74B64E9E6B853F" + "OwnerKey" = "8:_DF78794EEA35F4996762557B6D1F24DF" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_5DAB1E200E4FD0856E74B64E9E6B853F" + "OwnerKey" = "8:_41AD63FF8C31C0A57A86209D0A6E5C80" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_5DAB1E200E4FD0856E74B64E9E6B853F" + "OwnerKey" = "8:_537EFDE831D746D17ADF3C0DB87B44A5" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_5DAB1E200E4FD0856E74B64E9E6B853F" + "OwnerKey" = "8:_B7EF0CBFEF347A276FB32A581D514536" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_5DAB1E200E4FD0856E74B64E9E6B853F" + "OwnerKey" = "8:_8C0A8BA04215433A1B10CC5A37BD3134" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_5DAB1E200E4FD0856E74B64E9E6B853F" + "OwnerKey" = "8:_5D958D73994894B86D67E95AE1A90ECA" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_5DAB1E200E4FD0856E74B64E9E6B853F" + "OwnerKey" = "8:_116EB9729A93F5A9EEF73567733F8298" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_5DAB1E200E4FD0856E74B64E9E6B853F" + "OwnerKey" = "8:_9C6B1512878A30BB57B7470F506D4392" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_5DAB1E200E4FD0856E74B64E9E6B853F" + "OwnerKey" = "8:_FCF185846CF41F04637293C35A21BF70" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_5DAB1E200E4FD0856E74B64E9E6B853F" + "OwnerKey" = "8:_15554B3D9AB1703D58B0D31D6923E3C0" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_5DAB1E200E4FD0856E74B64E9E6B853F" + "OwnerKey" = "8:_6C7EC0ABAE9AAD4FC604C53BE8578137" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_5DAB1E200E4FD0856E74B64E9E6B853F" + "OwnerKey" = "8:_51F23CC790B4896F4232F5B87B191C29" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_5DAB1E200E4FD0856E74B64E9E6B853F" + "OwnerKey" = "8:_A4C5548E242439A424F0DC360FC3CA1D" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_5DAB1E200E4FD0856E74B64E9E6B853F" + "OwnerKey" = "8:_25119C0EDD984B380F70507E568E7EC3" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_5DAB1E200E4FD0856E74B64E9E6B853F" + "OwnerKey" = "8:_9ACDBEABECC7440F13251DB88B9C7DD6" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_5DAB1E200E4FD0856E74B64E9E6B853F" + "OwnerKey" = "8:_2F25D1ADC70603E609283EB9BAA97E02" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_5DAB1E200E4FD0856E74B64E9E6B853F" + "OwnerKey" = "8:_056F1A41DACF9EE6C093D4334D5B80A4" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_5DAB1E200E4FD0856E74B64E9E6B853F" + "OwnerKey" = "8:_8D9B92E094235D3CA8C0E0C80887BD9C" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_5DAB1E200E4FD0856E74B64E9E6B853F" + "OwnerKey" = "8:_8B9F83F5F57F4B7189E116FB04260682" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_5DAB1E200E4FD0856E74B64E9E6B853F" + "OwnerKey" = "8:_7D208C9FD90C6A50A40A16AA75D2015F" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_5DAB1E200E4FD0856E74B64E9E6B853F" + "OwnerKey" = "8:_0302A0E8F069DC6D670ED6DCA4CE78EE" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_5DAB1E200E4FD0856E74B64E9E6B853F" + "OwnerKey" = "8:_3EBF7A465C0CBA88AD6F19B254EF89C2" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_5DAB1E200E4FD0856E74B64E9E6B853F" + "OwnerKey" = "8:_F6A075E3ABB3C787DAC223D19765A5EF" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_5DAB1E200E4FD0856E74B64E9E6B853F" + "OwnerKey" = "8:_A504707907BDD8C193F5FD8FD3CA6D90" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_5DAB1E200E4FD0856E74B64E9E6B853F" + "OwnerKey" = "8:_8004588B7E71DBE837B5B7306765A3C3" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_5DAB1E200E4FD0856E74B64E9E6B853F" + "OwnerKey" = "8:_A39E75420F60D39691AA5EF140522360" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_5DAB1E200E4FD0856E74B64E9E6B853F" + "OwnerKey" = "8:_F0DFE7E3E5BBF1E65BC15B064AAE986E" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_5DAB1E200E4FD0856E74B64E9E6B853F" + "OwnerKey" = "8:_6370FD971DB9E8938A26E2982CF5CE7E" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_5DEC5F989E1F4FE3B8BC00BE10B58169" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_5E627DC166BF3BA30273E85BAB4991DF" + "OwnerKey" = "8:_C0D114703ACF4E88B4B47D7F4E04960C" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_5E627DC166BF3BA30273E85BAB4991DF" + "OwnerKey" = "8:_9C3FE60D2CB641EB8C20EB0A946F9793" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_5E627DC166BF3BA30273E85BAB4991DF" + "OwnerKey" = "8:_D622EAEACBA547CB5BB0B80EF2F9FBEC" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_5E8BDAF70D53E26C13CCD0DEF6CCDA8A" + "OwnerKey" = "8:_C0D114703ACF4E88B4B47D7F4E04960C" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_5E8BDAF70D53E26C13CCD0DEF6CCDA8A" + "OwnerKey" = "8:_9C3FE60D2CB641EB8C20EB0A946F9793" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_5E8BDAF70D53E26C13CCD0DEF6CCDA8A" + "OwnerKey" = "8:_D622EAEACBA547CB5BB0B80EF2F9FBEC" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_5E9E54CF8C9A48A28AE9FBB85927752D" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_5F2335260578468CAF37B602E0D6B39F" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_5FB2770D61A7615DDE153C1333D1E2F2" + "OwnerKey" = "8:_C0D114703ACF4E88B4B47D7F4E04960C" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_5FB2770D61A7615DDE153C1333D1E2F2" + "OwnerKey" = "8:_9C3FE60D2CB641EB8C20EB0A946F9793" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_5FB2770D61A7615DDE153C1333D1E2F2" + "OwnerKey" = "8:_D622EAEACBA547CB5BB0B80EF2F9FBEC" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_5FC485A8266D4B31A6FCF6D6D7750CA2" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_5FD8EB0BF9064E83879A657267114383" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_6064363DA54745BF80D07AE7BBAD2708" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_608C0B48302340DEB1BA4641BC1760CA" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_6229ECB82F86E3E745458F873D941E6B" + "OwnerKey" = "8:_8BF63CB8BADA5718336FE254291A8F66" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_624C2F74AFC9428AA2BE6445E388E8B5" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_624D6C2131D427E1FDCAAF7D749F959E" + "OwnerKey" = "8:_00870ADAC0484A5D86D37C9A575CCF3D" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_624D6C2131D427E1FDCAAF7D749F959E" + "OwnerKey" = "8:_A09D5E52064B4EE8B58F413F03CA7A4C" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_624D6C2131D427E1FDCAAF7D749F959E" + "OwnerKey" = "8:_F146D7D5982B4DAB8830740345D4B161" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_624D6C2131D427E1FDCAAF7D749F959E" + "OwnerKey" = "8:_1E055B0BAC1C43F5B5FEAD6924109C12" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_624D6C2131D427E1FDCAAF7D749F959E" + "OwnerKey" = "8:_46704F13BB2D4842BE0A1793EE0FE473" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_632667153BFC4C2AA121974E10F49026" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_6332C8D5E24A4D89AECB3E2DFF1F03B9" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_6370FD971DB9E8938A26E2982CF5CE7E" + "OwnerKey" = "8:_F0DFE7E3E5BBF1E65BC15B064AAE986E" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_6370FD971DB9E8938A26E2982CF5CE7E" + "OwnerKey" = "8:_A09D5E52064B4EE8B58F413F03CA7A4C" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_6370FD971DB9E8938A26E2982CF5CE7E" + "OwnerKey" = "8:_A5E25E6038B7491EB5E4C5164B34ED2A" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_6370FD971DB9E8938A26E2982CF5CE7E" + "OwnerKey" = "8:_D3633B8ABDC546FD9B706F87CA11EB0D" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_6370FD971DB9E8938A26E2982CF5CE7E" + "OwnerKey" = "8:_9C3FE60D2CB641EB8C20EB0A946F9793" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_6370FD971DB9E8938A26E2982CF5CE7E" + "OwnerKey" = "8:_20FFD0CF6C92429FAA25626C12E1F20C" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_6370FD971DB9E8938A26E2982CF5CE7E" + "OwnerKey" = "8:_ADECACE59CB14E8BA77539E1543F3F9E" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_6370FD971DB9E8938A26E2982CF5CE7E" + "OwnerKey" = "8:_C653534C72A8445D83D5885D02245F61" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_6370FD971DB9E8938A26E2982CF5CE7E" + "OwnerKey" = "8:_0DF687C0AA8641C092D2E3977BBDEFA7" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_6370FD971DB9E8938A26E2982CF5CE7E" + "OwnerKey" = "8:_01EB6D17530A47109F2D66319328C67C" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_6370FD971DB9E8938A26E2982CF5CE7E" + "OwnerKey" = "8:_3EAE9A25156D4C4E8D02740045C4BA86" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_6370FD971DB9E8938A26E2982CF5CE7E" + "OwnerKey" = "8:_31923F9052BB4FF5B6CEB62608837591" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_6370FD971DB9E8938A26E2982CF5CE7E" + "OwnerKey" = "8:_D0B3A652520B49CC8F4841279D757E59" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_6370FD971DB9E8938A26E2982CF5CE7E" + "OwnerKey" = "8:_CF5F023E64024115B138FC74C0E7ED3D" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_6370FD971DB9E8938A26E2982CF5CE7E" + "OwnerKey" = "8:_EB7787F6A450460E98169BCFF7B5668A" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_6370FD971DB9E8938A26E2982CF5CE7E" + "OwnerKey" = "8:_0036124F08D44E92A70B64B41140023F" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_6370FD971DB9E8938A26E2982CF5CE7E" + "OwnerKey" = "8:_D622EAEACBA547CB5BB0B80EF2F9FBEC" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_6370FD971DB9E8938A26E2982CF5CE7E" + "OwnerKey" = "8:_E3D0A6FB355A4EEAB008A5BEF4D333D3" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_6370FD971DB9E8938A26E2982CF5CE7E" + "OwnerKey" = "8:_1AFFE18A5663E9DC4F95DA808CC22BC4" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_6370FD971DB9E8938A26E2982CF5CE7E" + "OwnerKey" = "8:_C0D114703ACF4E88B4B47D7F4E04960C" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_6370FD971DB9E8938A26E2982CF5CE7E" + "OwnerKey" = "8:_BC31A8CC4EE0FEACA6403236951B65CF" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_6370FD971DB9E8938A26E2982CF5CE7E" + "OwnerKey" = "8:_179F68EB6691A388BE34A6557619EB81" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_6370FD971DB9E8938A26E2982CF5CE7E" + "OwnerKey" = "8:_B96BF8D9E3FF5E8CDFD69659FF75C052" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_6370FD971DB9E8938A26E2982CF5CE7E" + "OwnerKey" = "8:_CF6116D74539692C6BD1F1CF4D8059DF" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_6370FD971DB9E8938A26E2982CF5CE7E" + "OwnerKey" = "8:_FDA019D101C6ACC973395D216205AFD3" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_6370FD971DB9E8938A26E2982CF5CE7E" + "OwnerKey" = "8:_73AD4875357913BE8D8902DEE60B3E2F" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_6370FD971DB9E8938A26E2982CF5CE7E" + "OwnerKey" = "8:_B7EF0CBFEF347A276FB32A581D514536" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_6370FD971DB9E8938A26E2982CF5CE7E" + "OwnerKey" = "8:_15554B3D9AB1703D58B0D31D6923E3C0" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_6370FD971DB9E8938A26E2982CF5CE7E" + "OwnerKey" = "8:_87D96055A65C8E9143A977AA771F19A4" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_641F826F791B4938BBD88529AF6F9D18" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_64770AF066B54BE3B8569E19B19E6B53" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_65D9AE21D2AE47DCA4A5090D290FB85C" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_6677F7DDE833487685A5365B814C948E" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_67EB7D0AB53C9905790E1D5A3283B7A4" + "OwnerKey" = "8:_199C4E0C921D4A5DAEC115D1B8C45FD4" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_67EB7D0AB53C9905790E1D5A3283B7A4" + "OwnerKey" = "8:_A09D5E52064B4EE8B58F413F03CA7A4C" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_686EE9565AAD480DBD62DCF182A8495D" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_6871E9B1CC1845E838FC02F63FA4F93F" + "OwnerKey" = "8:_056F1A41DACF9EE6C093D4334D5B80A4" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_6871E9B1CC1845E838FC02F63FA4F93F" + "OwnerKey" = "8:_A09D5E52064B4EE8B58F413F03CA7A4C" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_6871E9B1CC1845E838FC02F63FA4F93F" + "OwnerKey" = "8:_B14294C19B2D48C39AC7F29189EFC261" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_6871E9B1CC1845E838FC02F63FA4F93F" + "OwnerKey" = "8:_BB9BDFAB061A475D834F5B2188B1B0DF" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_6871E9B1CC1845E838FC02F63FA4F93F" + "OwnerKey" = "8:_A6DCF8CA5CA740BC9BF0616AEFCFF409" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_6871E9B1CC1845E838FC02F63FA4F93F" + "OwnerKey" = "8:_CB93347BD17E465AB8DCE6E7803A8994" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_6871E9B1CC1845E838FC02F63FA4F93F" + "OwnerKey" = "8:_84AAC1ACC0F64471AD96E00B04F96574" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_6871E9B1CC1845E838FC02F63FA4F93F" + "OwnerKey" = "8:_9C3FE60D2CB641EB8C20EB0A946F9793" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_6871E9B1CC1845E838FC02F63FA4F93F" + "OwnerKey" = "8:_C0C5097D17F34D15B8B17E20FDDC9766" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_6871E9B1CC1845E838FC02F63FA4F93F" + "OwnerKey" = "8:_232ACD7603294423A9F576A29A52830E" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_6871E9B1CC1845E838FC02F63FA4F93F" + "OwnerKey" = "8:_49C1343ACD0F441A8A99D6F86F64B590" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_6871E9B1CC1845E838FC02F63FA4F93F" + "OwnerKey" = "8:_E244DF62356040C99174B6A95091F933" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_6871E9B1CC1845E838FC02F63FA4F93F" + "OwnerKey" = "8:_ADECACE59CB14E8BA77539E1543F3F9E" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_6871E9B1CC1845E838FC02F63FA4F93F" + "OwnerKey" = "8:_C653534C72A8445D83D5885D02245F61" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_6871E9B1CC1845E838FC02F63FA4F93F" + "OwnerKey" = "8:_0DF687C0AA8641C092D2E3977BBDEFA7" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_6871E9B1CC1845E838FC02F63FA4F93F" + "OwnerKey" = "8:_CF5F023E64024115B138FC74C0E7ED3D" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_6871E9B1CC1845E838FC02F63FA4F93F" + "OwnerKey" = "8:_FDB9A054D5F14EC5964BEE14C0BC860A" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_6871E9B1CC1845E838FC02F63FA4F93F" + "OwnerKey" = "8:_A32CDB2D5DE248EEB28F28CAB6B79F5D" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_6871E9B1CC1845E838FC02F63FA4F93F" + "OwnerKey" = "8:_9A56688DC4D7494CBD7F5A9327D1F188" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_6871E9B1CC1845E838FC02F63FA4F93F" + "OwnerKey" = "8:_0036124F08D44E92A70B64B41140023F" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_6871E9B1CC1845E838FC02F63FA4F93F" + "OwnerKey" = "8:_B35F3A0A06D64AB3A82CEAFE7EA8DBF9" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_6871E9B1CC1845E838FC02F63FA4F93F" + "OwnerKey" = "8:_05581D908989450DBE2EF42B84501484" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_6871E9B1CC1845E838FC02F63FA4F93F" + "OwnerKey" = "8:_93CE5D9EAEFF4448ADF4B8776D5DFD70" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_6871E9B1CC1845E838FC02F63FA4F93F" + "OwnerKey" = "8:_00870ADAC0484A5D86D37C9A575CCF3D" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_6871E9B1CC1845E838FC02F63FA4F93F" + "OwnerKey" = "8:_9AEFF85A1F0544D48C72F1BBB0330C90" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_6871E9B1CC1845E838FC02F63FA4F93F" + "OwnerKey" = "8:_D622EAEACBA547CB5BB0B80EF2F9FBEC" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_6871E9B1CC1845E838FC02F63FA4F93F" + "OwnerKey" = "8:_9CCA3CBAA527443294E12C0531E871DD" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_6871E9B1CC1845E838FC02F63FA4F93F" + "OwnerKey" = "8:_D64A9B36F8244321A075359E498601DC" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_6871E9B1CC1845E838FC02F63FA4F93F" + "OwnerKey" = "8:_1AFFE18A5663E9DC4F95DA808CC22BC4" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_6871E9B1CC1845E838FC02F63FA4F93F" + "OwnerKey" = "8:_44B10BD5C45C69957E1AFCAD6BF10485" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_6871E9B1CC1845E838FC02F63FA4F93F" + "OwnerKey" = "8:_C0D114703ACF4E88B4B47D7F4E04960C" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_6871E9B1CC1845E838FC02F63FA4F93F" + "OwnerKey" = "8:_F0EFB4C551D3C7B408B65BEF69D52472" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_6871E9B1CC1845E838FC02F63FA4F93F" + "OwnerKey" = "8:_7B1123BEF5320FEEA1E91AE63DBD99ED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_6871E9B1CC1845E838FC02F63FA4F93F" + "OwnerKey" = "8:_F4CE69ADDB7FA8085884D6DBD0378DDB" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_6871E9B1CC1845E838FC02F63FA4F93F" + "OwnerKey" = "8:_3D6C365612F792A384DA60D1A3F22B8F" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_6871E9B1CC1845E838FC02F63FA4F93F" + "OwnerKey" = "8:_BC31A8CC4EE0FEACA6403236951B65CF" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_6871E9B1CC1845E838FC02F63FA4F93F" + "OwnerKey" = "8:_2A334B668DCE33BCF921B34BEEE353B3" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_6871E9B1CC1845E838FC02F63FA4F93F" + "OwnerKey" = "8:_306F6D4ED3C9CFFEE088095DA0C76780" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_6871E9B1CC1845E838FC02F63FA4F93F" + "OwnerKey" = "8:_B96BF8D9E3FF5E8CDFD69659FF75C052" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_6871E9B1CC1845E838FC02F63FA4F93F" + "OwnerKey" = "8:_179F68EB6691A388BE34A6557619EB81" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_6871E9B1CC1845E838FC02F63FA4F93F" + "OwnerKey" = "8:_026AA5F28014499D2CA48D39AEBA8A0D" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_6871E9B1CC1845E838FC02F63FA4F93F" + "OwnerKey" = "8:_FCCFAEFE563F750053031528823CACF4" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_6871E9B1CC1845E838FC02F63FA4F93F" + "OwnerKey" = "8:_537EFDE831D746D17ADF3C0DB87B44A5" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_6871E9B1CC1845E838FC02F63FA4F93F" + "OwnerKey" = "8:_FCF185846CF41F04637293C35A21BF70" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_6871E9B1CC1845E838FC02F63FA4F93F" + "OwnerKey" = "8:_5AA5C97011089B80E80258C54FC9B702" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_6871E9B1CC1845E838FC02F63FA4F93F" + "OwnerKey" = "8:_A504707907BDD8C193F5FD8FD3CA6D90" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_6880C8C0D7F71507411900E1F1791D78" + "OwnerKey" = "8:_8B9F83F5F57F4B7189E116FB04260682" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_6880C8C0D7F71507411900E1F1791D78" + "OwnerKey" = "8:_B14294C19B2D48C39AC7F29189EFC261" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_6880C8C0D7F71507411900E1F1791D78" + "OwnerKey" = "8:_3CBC60FF3B1D487BBD2C5E8B7C1343DA" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_6880C8C0D7F71507411900E1F1791D78" + "OwnerKey" = "8:_A465D5ADCCED41E8A8F9DE1412BEE105" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_6880C8C0D7F71507411900E1F1791D78" + "OwnerKey" = "8:_8B53F9CC53E544008D7A343B8E9AEA3B" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_6880C8C0D7F71507411900E1F1791D78" + "OwnerKey" = "8:_CB93347BD17E465AB8DCE6E7803A8994" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_6880C8C0D7F71507411900E1F1791D78" + "OwnerKey" = "8:_84AAC1ACC0F64471AD96E00B04F96574" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_6880C8C0D7F71507411900E1F1791D78" + "OwnerKey" = "8:_9C3FE60D2CB641EB8C20EB0A946F9793" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_6880C8C0D7F71507411900E1F1791D78" + "OwnerKey" = "8:_09A62DF5B6844A1F97C767EC8D252742" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_6880C8C0D7F71507411900E1F1791D78" + "OwnerKey" = "8:_D622EAEACBA547CB5BB0B80EF2F9FBEC" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_6880C8C0D7F71507411900E1F1791D78" + "OwnerKey" = "8:_9CCA3CBAA527443294E12C0531E871DD" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_6880C8C0D7F71507411900E1F1791D78" + "OwnerKey" = "8:_D64A9B36F8244321A075359E498601DC" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_6880C8C0D7F71507411900E1F1791D78" + "OwnerKey" = "8:_C0D114703ACF4E88B4B47D7F4E04960C" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_6880C8C0D7F71507411900E1F1791D78" + "OwnerKey" = "8:_045EC7442D5DE0F8BFC16091D4D0E81D" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_6880C8C0D7F71507411900E1F1791D78" + "OwnerKey" = "8:_F0EFB4C551D3C7B408B65BEF69D52472" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_6880C8C0D7F71507411900E1F1791D78" + "OwnerKey" = "8:_5AA5C97011089B80E80258C54FC9B702" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_6880C8C0D7F71507411900E1F1791D78" + "OwnerKey" = "8:_2F94E013CF4ADD4522DADF1B2CC2DE3C" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_6880C8C0D7F71507411900E1F1791D78" + "OwnerKey" = "8:_537EFDE831D746D17ADF3C0DB87B44A5" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_6880C8C0D7F71507411900E1F1791D78" + "OwnerKey" = "8:_8D9B92E094235D3CA8C0E0C80887BD9C" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_6880C8C0D7F71507411900E1F1791D78" + "OwnerKey" = "8:_056F1A41DACF9EE6C093D4334D5B80A4" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_6906CE29A1544D899543332AE5DFB93D" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_695DCEC11864890D1C962A88C49BD047" + "OwnerKey" = "8:_9ACDBEABECC7440F13251DB88B9C7DD6" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_695DCEC11864890D1C962A88C49BD047" + "OwnerKey" = "8:_F703AD86F2EE4F03B609DD408A7632FC" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_695DCEC11864890D1C962A88C49BD047" + "OwnerKey" = "8:_DA0E578E801344D796ECF6D33EFC3C6B" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_695DCEC11864890D1C962A88C49BD047" + "OwnerKey" = "8:_B7EC99BD89A446C2BA73214BA2CAE40B" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_695DCEC11864890D1C962A88C49BD047" + "OwnerKey" = "8:_CB93347BD17E465AB8DCE6E7803A8994" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_695DCEC11864890D1C962A88C49BD047" + "OwnerKey" = "8:_9C3FE60D2CB641EB8C20EB0A946F9793" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_695DCEC11864890D1C962A88C49BD047" + "OwnerKey" = "8:_C0C5097D17F34D15B8B17E20FDDC9766" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_695DCEC11864890D1C962A88C49BD047" + "OwnerKey" = "8:_53492C665B5D49D7B4705F3E23562157" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_695DCEC11864890D1C962A88C49BD047" + "OwnerKey" = "8:_20FFD0CF6C92429FAA25626C12E1F20C" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_695DCEC11864890D1C962A88C49BD047" + "OwnerKey" = "8:_ADECACE59CB14E8BA77539E1543F3F9E" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_695DCEC11864890D1C962A88C49BD047" + "OwnerKey" = "8:_17D03F5442B743769AF147B534D842BB" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_695DCEC11864890D1C962A88C49BD047" + "OwnerKey" = "8:_624C2F74AFC9428AA2BE6445E388E8B5" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_695DCEC11864890D1C962A88C49BD047" + "OwnerKey" = "8:_594F61C6642845DF974AAD0E91EF9A37" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_695DCEC11864890D1C962A88C49BD047" + "OwnerKey" = "8:_2AD130904BC84DEA8501024AA232FC4E" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_695DCEC11864890D1C962A88C49BD047" + "OwnerKey" = "8:_C653534C72A8445D83D5885D02245F61" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_695DCEC11864890D1C962A88C49BD047" + "OwnerKey" = "8:_0DF687C0AA8641C092D2E3977BBDEFA7" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_695DCEC11864890D1C962A88C49BD047" + "OwnerKey" = "8:_01EB6D17530A47109F2D66319328C67C" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_695DCEC11864890D1C962A88C49BD047" + "OwnerKey" = "8:_64770AF066B54BE3B8569E19B19E6B53" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_695DCEC11864890D1C962A88C49BD047" + "OwnerKey" = "8:_8438E7C8CC49448093B99673A2CC034F" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_695DCEC11864890D1C962A88C49BD047" + "OwnerKey" = "8:_00870ADAC0484A5D86D37C9A575CCF3D" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_695DCEC11864890D1C962A88C49BD047" + "OwnerKey" = "8:_9AEFF85A1F0544D48C72F1BBB0330C90" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_695DCEC11864890D1C962A88C49BD047" + "OwnerKey" = "8:_D622EAEACBA547CB5BB0B80EF2F9FBEC" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_695DCEC11864890D1C962A88C49BD047" + "OwnerKey" = "8:_9CCA3CBAA527443294E12C0531E871DD" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_695DCEC11864890D1C962A88C49BD047" + "OwnerKey" = "8:_2A658EAC69E52B448271E6CAAD1B1B7F" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_695DCEC11864890D1C962A88C49BD047" + "OwnerKey" = "8:_C0D114703ACF4E88B4B47D7F4E04960C" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_695DCEC11864890D1C962A88C49BD047" + "OwnerKey" = "8:_189E57FC8047020AFCDB33ED035A7570" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_695DCEC11864890D1C962A88C49BD047" + "OwnerKey" = "8:_BC31A8CC4EE0FEACA6403236951B65CF" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_695DCEC11864890D1C962A88C49BD047" + "OwnerKey" = "8:_2A334B668DCE33BCF921B34BEEE353B3" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_695DCEC11864890D1C962A88C49BD047" + "OwnerKey" = "8:_B96BF8D9E3FF5E8CDFD69659FF75C052" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_695DCEC11864890D1C962A88C49BD047" + "OwnerKey" = "8:_179F68EB6691A388BE34A6557619EB81" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_695DCEC11864890D1C962A88C49BD047" + "OwnerKey" = "8:_B0CF5469FF107F5B15750BCBDEF8BFE4" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_695DCEC11864890D1C962A88C49BD047" + "OwnerKey" = "8:_5AA5C97011089B80E80258C54FC9B702" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_695DCEC11864890D1C962A88C49BD047" + "OwnerKey" = "8:_786BFC89E84C53F8CFD5DCFE4E5A2C50" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_695DCEC11864890D1C962A88C49BD047" + "OwnerKey" = "8:_8C0A8BA04215433A1B10CC5A37BD3134" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_695DCEC11864890D1C962A88C49BD047" + "OwnerKey" = "8:_116EB9729A93F5A9EEF73567733F8298" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_695DCEC11864890D1C962A88C49BD047" + "OwnerKey" = "8:_B7EF0CBFEF347A276FB32A581D514536" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_695DCEC11864890D1C962A88C49BD047" + "OwnerKey" = "8:_537EFDE831D746D17ADF3C0DB87B44A5" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_695DCEC11864890D1C962A88C49BD047" + "OwnerKey" = "8:_A4C5548E242439A424F0DC360FC3CA1D" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_695DCEC11864890D1C962A88C49BD047" + "OwnerKey" = "8:_51F23CC790B4896F4232F5B87B191C29" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_695DCEC11864890D1C962A88C49BD047" + "OwnerKey" = "8:_25119C0EDD984B380F70507E568E7EC3" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_695DCEC11864890D1C962A88C49BD047" + "OwnerKey" = "8:_15554B3D9AB1703D58B0D31D6923E3C0" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_69C0DF05D4ACB9A64E9DF6BB789A54D2" + "OwnerKey" = "8:_8BF63CB8BADA5718336FE254291A8F66" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_6A7ABCEBA3D1D46DEF706D642F02CF0D" + "OwnerKey" = "8:_8BF63CB8BADA5718336FE254291A8F66" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_6BBC70E12174480BB9AA2BB5387E54BF" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_6C7EC0ABAE9AAD4FC604C53BE8578137" + "OwnerKey" = "8:_15554B3D9AB1703D58B0D31D6923E3C0" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_6C7EC0ABAE9AAD4FC604C53BE8578137" + "OwnerKey" = "8:_A09D5E52064B4EE8B58F413F03CA7A4C" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_6C7EC0ABAE9AAD4FC604C53BE8578137" + "OwnerKey" = "8:_DD58016D60544560AA5E49FFE8AF107F" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_6C7EC0ABAE9AAD4FC604C53BE8578137" + "OwnerKey" = "8:_6677F7DDE833487685A5365B814C948E" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_6C7EC0ABAE9AAD4FC604C53BE8578137" + "OwnerKey" = "8:_21A2529647604DFFB1092B225884ECB6" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_6C7EC0ABAE9AAD4FC604C53BE8578137" + "OwnerKey" = "8:_3B8029F9BC2B4F77906ED2C56F5D8932" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_6C7EC0ABAE9AAD4FC604C53BE8578137" + "OwnerKey" = "8:_8B93391D7EF04137AE1DBED5BC2B0A4B" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_6C7EC0ABAE9AAD4FC604C53BE8578137" + "OwnerKey" = "8:_02E4613E8AEB4925B0909C28C1269A91" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_6C7EC0ABAE9AAD4FC604C53BE8578137" + "OwnerKey" = "8:_81D1257A11DB455A804673C7A68DAD93" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_6C7EC0ABAE9AAD4FC604C53BE8578137" + "OwnerKey" = "8:_50770C7C027D4E1A8CDBB9E3C363AFEB" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_6C7EC0ABAE9AAD4FC604C53BE8578137" + "OwnerKey" = "8:_B3D68C43937F49C3A5779E2971FF19C5" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_6C7EC0ABAE9AAD4FC604C53BE8578137" + "OwnerKey" = "8:_D5654C7560B5435D91901BFD93D1B02C" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_6C7EC0ABAE9AAD4FC604C53BE8578137" + "OwnerKey" = "8:_D34A9B35C4B0434C9A63DD65EEDC1226" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_6C7EC0ABAE9AAD4FC604C53BE8578137" + "OwnerKey" = "8:_CB93347BD17E465AB8DCE6E7803A8994" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_6C7EC0ABAE9AAD4FC604C53BE8578137" + "OwnerKey" = "8:_9C3FE60D2CB641EB8C20EB0A946F9793" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_6C7EC0ABAE9AAD4FC604C53BE8578137" + "OwnerKey" = "8:_C0C5097D17F34D15B8B17E20FDDC9766" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_6C7EC0ABAE9AAD4FC604C53BE8578137" + "OwnerKey" = "8:_232ACD7603294423A9F576A29A52830E" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_6C7EC0ABAE9AAD4FC604C53BE8578137" + "OwnerKey" = "8:_20FFD0CF6C92429FAA25626C12E1F20C" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_6C7EC0ABAE9AAD4FC604C53BE8578137" + "OwnerKey" = "8:_ADECACE59CB14E8BA77539E1543F3F9E" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_6C7EC0ABAE9AAD4FC604C53BE8578137" + "OwnerKey" = "8:_17D03F5442B743769AF147B534D842BB" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_6C7EC0ABAE9AAD4FC604C53BE8578137" + "OwnerKey" = "8:_C653534C72A8445D83D5885D02245F61" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_6C7EC0ABAE9AAD4FC604C53BE8578137" + "OwnerKey" = "8:_0DF687C0AA8641C092D2E3977BBDEFA7" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_6C7EC0ABAE9AAD4FC604C53BE8578137" + "OwnerKey" = "8:_01EB6D17530A47109F2D66319328C67C" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_6C7EC0ABAE9AAD4FC604C53BE8578137" + "OwnerKey" = "8:_31923F9052BB4FF5B6CEB62608837591" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_6C7EC0ABAE9AAD4FC604C53BE8578137" + "OwnerKey" = "8:_3B22C3ECB76E01BF3655CCA58F521AE4" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_6C7EC0ABAE9AAD4FC604C53BE8578137" + "OwnerKey" = "8:_CF5F023E64024115B138FC74C0E7ED3D" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_6C7EC0ABAE9AAD4FC604C53BE8578137" + "OwnerKey" = "8:_B35F3A0A06D64AB3A82CEAFE7EA8DBF9" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_6C7EC0ABAE9AAD4FC604C53BE8578137" + "OwnerKey" = "8:_FE23B45386AF0F9D3FB137DB948A7F53" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_6C7EC0ABAE9AAD4FC604C53BE8578137" + "OwnerKey" = "8:_67EB7D0AB53C9905790E1D5A3283B7A4" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_6C7EC0ABAE9AAD4FC604C53BE8578137" + "OwnerKey" = "8:_199C4E0C921D4A5DAEC115D1B8C45FD4" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_6C7EC0ABAE9AAD4FC604C53BE8578137" + "OwnerKey" = "8:_5291B57ED0674E68992853A555A116C3" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_6C7EC0ABAE9AAD4FC604C53BE8578137" + "OwnerKey" = "8:_E485E664B108312262981F501B2F4848" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_6C7EC0ABAE9AAD4FC604C53BE8578137" + "OwnerKey" = "8:_00870ADAC0484A5D86D37C9A575CCF3D" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_6C7EC0ABAE9AAD4FC604C53BE8578137" + "OwnerKey" = "8:_D622EAEACBA547CB5BB0B80EF2F9FBEC" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_6C7EC0ABAE9AAD4FC604C53BE8578137" + "OwnerKey" = "8:_9CCA3CBAA527443294E12C0531E871DD" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_6C7EC0ABAE9AAD4FC604C53BE8578137" + "OwnerKey" = "8:_44B10BD5C45C69957E1AFCAD6BF10485" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_6C7EC0ABAE9AAD4FC604C53BE8578137" + "OwnerKey" = "8:_26E0C82D630083B6C5905B2906ED88EE" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_6C7EC0ABAE9AAD4FC604C53BE8578137" + "OwnerKey" = "8:_D05D4208BF233B832E5219D7F78FB58C" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_6C7EC0ABAE9AAD4FC604C53BE8578137" + "OwnerKey" = "8:_855A18FDDEE1520099CD0634D9DC3F40" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_6C7EC0ABAE9AAD4FC604C53BE8578137" + "OwnerKey" = "8:_7E3506CE0595D50BAAC343CAA82DCEF7" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_6C7EC0ABAE9AAD4FC604C53BE8578137" + "OwnerKey" = "8:_C0D114703ACF4E88B4B47D7F4E04960C" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_6C7EC0ABAE9AAD4FC604C53BE8578137" + "OwnerKey" = "8:_342F373C9312AE3FD9BAE4550A17F56B" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_6C7EC0ABAE9AAD4FC604C53BE8578137" + "OwnerKey" = "8:_584028D3A72A3D2DFFEB75D85E0CB207" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_6C7EC0ABAE9AAD4FC604C53BE8578137" + "OwnerKey" = "8:_77A9397D916FFAB4F7B897D7501EB8F0" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_6C7EC0ABAE9AAD4FC604C53BE8578137" + "OwnerKey" = "8:_5AA5C97011089B80E80258C54FC9B702" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_6C7EC0ABAE9AAD4FC604C53BE8578137" + "OwnerKey" = "8:_7B1123BEF5320FEEA1E91AE63DBD99ED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_6C7EC0ABAE9AAD4FC604C53BE8578137" + "OwnerKey" = "8:_BC31A8CC4EE0FEACA6403236951B65CF" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_6C7EC0ABAE9AAD4FC604C53BE8578137" + "OwnerKey" = "8:_179F68EB6691A388BE34A6557619EB81" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_6C7EC0ABAE9AAD4FC604C53BE8578137" + "OwnerKey" = "8:_2A334B668DCE33BCF921B34BEEE353B3" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_6C7EC0ABAE9AAD4FC604C53BE8578137" + "OwnerKey" = "8:_B96BF8D9E3FF5E8CDFD69659FF75C052" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_6C7EC0ABAE9AAD4FC604C53BE8578137" + "OwnerKey" = "8:_FDA019D101C6ACC973395D216205AFD3" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_6C7EC0ABAE9AAD4FC604C53BE8578137" + "OwnerKey" = "8:_537EFDE831D746D17ADF3C0DB87B44A5" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_6C7EC0ABAE9AAD4FC604C53BE8578137" + "OwnerKey" = "8:_B7EF0CBFEF347A276FB32A581D514536" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_6C7EC0ABAE9AAD4FC604C53BE8578137" + "OwnerKey" = "8:_8C0A8BA04215433A1B10CC5A37BD3134" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_6CE0E2FC4BB34BB206C0FFCA579DA5DC" + "OwnerKey" = "8:_C0D114703ACF4E88B4B47D7F4E04960C" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_6CE0E2FC4BB34BB206C0FFCA579DA5DC" + "OwnerKey" = "8:_9C3FE60D2CB641EB8C20EB0A946F9793" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_6CE0E2FC4BB34BB206C0FFCA579DA5DC" + "OwnerKey" = "8:_D622EAEACBA547CB5BB0B80EF2F9FBEC" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_6D63D4EE96264ACB81366F463C2F2FCE" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_6FAA499E74924D14BE2D95B3A55D4555" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_7068483860A642EF9ABD5830382DF252" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_7228AC184E44452B8CF88BA4D4DDDF1E" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_73AD4875357913BE8D8902DEE60B3E2F" + "OwnerKey" = "8:_FDA019D101C6ACC973395D216205AFD3" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_73AD4875357913BE8D8902DEE60B3E2F" + "OwnerKey" = "8:_9C3FE60D2CB641EB8C20EB0A946F9793" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_73AD4875357913BE8D8902DEE60B3E2F" + "OwnerKey" = "8:_31923F9052BB4FF5B6CEB62608837591" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_73AD4875357913BE8D8902DEE60B3E2F" + "OwnerKey" = "8:_CF5F023E64024115B138FC74C0E7ED3D" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_73AD4875357913BE8D8902DEE60B3E2F" + "OwnerKey" = "8:_5291B57ED0674E68992853A555A116C3" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_73AD4875357913BE8D8902DEE60B3E2F" + "OwnerKey" = "8:_D622EAEACBA547CB5BB0B80EF2F9FBEC" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_73AD4875357913BE8D8902DEE60B3E2F" + "OwnerKey" = "8:_C0D114703ACF4E88B4B47D7F4E04960C" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_746A1DED5A604FA7A3EC5F80ADFCD143" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_746B5E1B59844028823679AE5A7879E9" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_74712768A0C2E43D6463CB29F71EA3B2" + "OwnerKey" = "8:_C0D114703ACF4E88B4B47D7F4E04960C" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_74712768A0C2E43D6463CB29F71EA3B2" + "OwnerKey" = "8:_9C3FE60D2CB641EB8C20EB0A946F9793" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_74712768A0C2E43D6463CB29F71EA3B2" + "OwnerKey" = "8:_D622EAEACBA547CB5BB0B80EF2F9FBEC" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_74DAED7BD8A1DE36D7E11A54E90C054F" + "OwnerKey" = "8:_C0D114703ACF4E88B4B47D7F4E04960C" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_74DAED7BD8A1DE36D7E11A54E90C054F" + "OwnerKey" = "8:_9C3FE60D2CB641EB8C20EB0A946F9793" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_74DAED7BD8A1DE36D7E11A54E90C054F" + "OwnerKey" = "8:_D622EAEACBA547CB5BB0B80EF2F9FBEC" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_74FBD4E6D00E43B0A17A4C03B5FE37BB" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_76BEA2873C26D5302B3D36ECF64BC24E" + "OwnerKey" = "8:_A504707907BDD8C193F5FD8FD3CA6D90" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_76BEA2873C26D5302B3D36ECF64BC24E" + "OwnerKey" = "8:_A09D5E52064B4EE8B58F413F03CA7A4C" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_76BEA2873C26D5302B3D36ECF64BC24E" + "OwnerKey" = "8:_B14294C19B2D48C39AC7F29189EFC261" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_76BEA2873C26D5302B3D36ECF64BC24E" + "OwnerKey" = "8:_F703AD86F2EE4F03B609DD408A7632FC" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_76BEA2873C26D5302B3D36ECF64BC24E" + "OwnerKey" = "8:_DA0E578E801344D796ECF6D33EFC3C6B" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_76BEA2873C26D5302B3D36ECF64BC24E" + "OwnerKey" = "8:_B7EC99BD89A446C2BA73214BA2CAE40B" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_76BEA2873C26D5302B3D36ECF64BC24E" + "OwnerKey" = "8:_0D4B1FACED7C406C8B45A2D42A956E94" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_76BEA2873C26D5302B3D36ECF64BC24E" + "OwnerKey" = "8:_9C3FE60D2CB641EB8C20EB0A946F9793" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_76BEA2873C26D5302B3D36ECF64BC24E" + "OwnerKey" = "8:_5E9E54CF8C9A48A28AE9FBB85927752D" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_76BEA2873C26D5302B3D36ECF64BC24E" + "OwnerKey" = "8:_594F61C6642845DF974AAD0E91EF9A37" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_76BEA2873C26D5302B3D36ECF64BC24E" + "OwnerKey" = "8:_2AD130904BC84DEA8501024AA232FC4E" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_76BEA2873C26D5302B3D36ECF64BC24E" + "OwnerKey" = "8:_01EB6D17530A47109F2D66319328C67C" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_76BEA2873C26D5302B3D36ECF64BC24E" + "OwnerKey" = "8:_B3A91C3DDE21461499706CB060164DBF" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_76BEA2873C26D5302B3D36ECF64BC24E" + "OwnerKey" = "8:_EB3961FC5BF146C49AB55CC9768DA841" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_76BEA2873C26D5302B3D36ECF64BC24E" + "OwnerKey" = "8:_9A56688DC4D7494CBD7F5A9327D1F188" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_76BEA2873C26D5302B3D36ECF64BC24E" + "OwnerKey" = "8:_0036124F08D44E92A70B64B41140023F" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_76BEA2873C26D5302B3D36ECF64BC24E" + "OwnerKey" = "8:_8438E7C8CC49448093B99673A2CC034F" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_76BEA2873C26D5302B3D36ECF64BC24E" + "OwnerKey" = "8:_5291B57ED0674E68992853A555A116C3" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_76BEA2873C26D5302B3D36ECF64BC24E" + "OwnerKey" = "8:_00870ADAC0484A5D86D37C9A575CCF3D" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_76BEA2873C26D5302B3D36ECF64BC24E" + "OwnerKey" = "8:_9AEFF85A1F0544D48C72F1BBB0330C90" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_76BEA2873C26D5302B3D36ECF64BC24E" + "OwnerKey" = "8:_D622EAEACBA547CB5BB0B80EF2F9FBEC" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_76BEA2873C26D5302B3D36ECF64BC24E" + "OwnerKey" = "8:_9CCA3CBAA527443294E12C0531E871DD" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_76BEA2873C26D5302B3D36ECF64BC24E" + "OwnerKey" = "8:_CF4BC0FBB809D9512674750602812472" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_76BEA2873C26D5302B3D36ECF64BC24E" + "OwnerKey" = "8:_1AFFE18A5663E9DC4F95DA808CC22BC4" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_76BEA2873C26D5302B3D36ECF64BC24E" + "OwnerKey" = "8:_C0D114703ACF4E88B4B47D7F4E04960C" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_76BEA2873C26D5302B3D36ECF64BC24E" + "OwnerKey" = "8:_2A658EAC69E52B448271E6CAAD1B1B7F" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_76BEA2873C26D5302B3D36ECF64BC24E" + "OwnerKey" = "8:_2F3DF2C97193539E507701F57A86CA4C" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_76BEA2873C26D5302B3D36ECF64BC24E" + "OwnerKey" = "8:_5AA5C97011089B80E80258C54FC9B702" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_76BEA2873C26D5302B3D36ECF64BC24E" + "OwnerKey" = "8:_189E57FC8047020AFCDB33ED035A7570" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_76BEA2873C26D5302B3D36ECF64BC24E" + "OwnerKey" = "8:_E4CAF456C17123C182993937E22CEC06" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_76BEA2873C26D5302B3D36ECF64BC24E" + "OwnerKey" = "8:_786BFC89E84C53F8CFD5DCFE4E5A2C50" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_76BEA2873C26D5302B3D36ECF64BC24E" + "OwnerKey" = "8:_B7EF0CBFEF347A276FB32A581D514536" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_76BEA2873C26D5302B3D36ECF64BC24E" + "OwnerKey" = "8:_5D958D73994894B86D67E95AE1A90ECA" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_76BEA2873C26D5302B3D36ECF64BC24E" + "OwnerKey" = "8:_116EB9729A93F5A9EEF73567733F8298" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_76BEA2873C26D5302B3D36ECF64BC24E" + "OwnerKey" = "8:_A4C5548E242439A424F0DC360FC3CA1D" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_76BEA2873C26D5302B3D36ECF64BC24E" + "OwnerKey" = "8:_9ACDBEABECC7440F13251DB88B9C7DD6" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_76C8F0549EB0426AB8C6B8F5285B96F0" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_77A9397D916FFAB4F7B897D7501EB8F0" + "OwnerKey" = "8:_C0D114703ACF4E88B4B47D7F4E04960C" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_77A9397D916FFAB4F7B897D7501EB8F0" + "OwnerKey" = "8:_9C3FE60D2CB641EB8C20EB0A946F9793" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_77A9397D916FFAB4F7B897D7501EB8F0" + "OwnerKey" = "8:_D622EAEACBA547CB5BB0B80EF2F9FBEC" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_782B3A7F0C404202BB49F9B8976ED25E" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_786BFC89E84C53F8CFD5DCFE4E5A2C50" + "OwnerKey" = "8:_C667F7C6655F91B4FF60A357F0D2A867" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_786BFC89E84C53F8CFD5DCFE4E5A2C50" + "OwnerKey" = "8:_9C3FE60D2CB641EB8C20EB0A946F9793" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_786BFC89E84C53F8CFD5DCFE4E5A2C50" + "OwnerKey" = "8:_E9906790AA414B2588DD26786A294C29" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_786BFC89E84C53F8CFD5DCFE4E5A2C50" + "OwnerKey" = "8:_D622EAEACBA547CB5BB0B80EF2F9FBEC" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_786BFC89E84C53F8CFD5DCFE4E5A2C50" + "OwnerKey" = "8:_9CCA3CBAA527443294E12C0531E871DD" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_786BFC89E84C53F8CFD5DCFE4E5A2C50" + "OwnerKey" = "8:_C0D114703ACF4E88B4B47D7F4E04960C" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_786BFC89E84C53F8CFD5DCFE4E5A2C50" + "OwnerKey" = "8:_5AA5C97011089B80E80258C54FC9B702" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_7970EE0845C64C969FEA4A8C942AE6F6" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_7A6FFAB65849451985DC97672E60AC25" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_7B1123BEF5320FEEA1E91AE63DBD99ED" + "OwnerKey" = "8:_5AA5C97011089B80E80258C54FC9B702" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_7B1123BEF5320FEEA1E91AE63DBD99ED" + "OwnerKey" = "8:_9C3FE60D2CB641EB8C20EB0A946F9793" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_7B1123BEF5320FEEA1E91AE63DBD99ED" + "OwnerKey" = "8:_D622EAEACBA547CB5BB0B80EF2F9FBEC" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_7B1123BEF5320FEEA1E91AE63DBD99ED" + "OwnerKey" = "8:_9CCA3CBAA527443294E12C0531E871DD" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_7B1123BEF5320FEEA1E91AE63DBD99ED" + "OwnerKey" = "8:_C0D114703ACF4E88B4B47D7F4E04960C" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_7BA63C29702A482C978BA5D444266DEE" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_7C075794BA3C4A028240B57A3EFB2A90" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_7D1AF215AEF542A188BD95BB372EDFBF" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_7D208C9FD90C6A50A40A16AA75D2015F" + "OwnerKey" = "8:_167D566FCD3D724B914C3E6BBDBFA434" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_7D208C9FD90C6A50A40A16AA75D2015F" + "OwnerKey" = "8:_9DD7D99ADB14464CAAD4E8856EDD4D90" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_7D208C9FD90C6A50A40A16AA75D2015F" + "OwnerKey" = "8:_B509DFE8D29A449F8BFF91DAE23D9FF8" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_7D208C9FD90C6A50A40A16AA75D2015F" + "OwnerKey" = "8:_9C3FE60D2CB641EB8C20EB0A946F9793" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_7D208C9FD90C6A50A40A16AA75D2015F" + "OwnerKey" = "8:_3C19985D42B149389722FDE758E65B17" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_7D208C9FD90C6A50A40A16AA75D2015F" + "OwnerKey" = "8:_2C1DA645B2694569A12B0ECA7CB984DF" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_7D208C9FD90C6A50A40A16AA75D2015F" + "OwnerKey" = "8:_9AEFF85A1F0544D48C72F1BBB0330C90" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_7D208C9FD90C6A50A40A16AA75D2015F" + "OwnerKey" = "8:_24DE3229C3EB23D88DA6489295CECC60" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_7D208C9FD90C6A50A40A16AA75D2015F" + "OwnerKey" = "8:_D622EAEACBA547CB5BB0B80EF2F9FBEC" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_7D208C9FD90C6A50A40A16AA75D2015F" + "OwnerKey" = "8:_C0D114703ACF4E88B4B47D7F4E04960C" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_7D208C9FD90C6A50A40A16AA75D2015F" + "OwnerKey" = "8:_45D96C37531D229D4E62D781ED22A9D9" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_7D9D1E6D84DF41E8BE34F426C2516927" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_7E3506CE0595D50BAAC343CAA82DCEF7" + "OwnerKey" = "8:_C0D114703ACF4E88B4B47D7F4E04960C" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_7E3506CE0595D50BAAC343CAA82DCEF7" + "OwnerKey" = "8:_9C3FE60D2CB641EB8C20EB0A946F9793" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_7E3506CE0595D50BAAC343CAA82DCEF7" + "OwnerKey" = "8:_D622EAEACBA547CB5BB0B80EF2F9FBEC" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_7E9239EF51D949E5944F44165AAE0E45" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_7F4AD8F309343DD9473528F7E0F2D571" + "OwnerKey" = "8:_C0D114703ACF4E88B4B47D7F4E04960C" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_7F4AD8F309343DD9473528F7E0F2D571" + "OwnerKey" = "8:_9C3FE60D2CB641EB8C20EB0A946F9793" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_7F4AD8F309343DD9473528F7E0F2D571" + "OwnerKey" = "8:_D622EAEACBA547CB5BB0B80EF2F9FBEC" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_8004588B7E71DBE837B5B7306765A3C3" + "OwnerKey" = "8:_6871E9B1CC1845E838FC02F63FA4F93F" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_8004588B7E71DBE837B5B7306765A3C3" + "OwnerKey" = "8:_A09D5E52064B4EE8B58F413F03CA7A4C" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_8004588B7E71DBE837B5B7306765A3C3" + "OwnerKey" = "8:_1E055B0BAC1C43F5B5FEAD6924109C12" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_8004588B7E71DBE837B5B7306765A3C3" + "OwnerKey" = "8:_B14294C19B2D48C39AC7F29189EFC261" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_8004588B7E71DBE837B5B7306765A3C3" + "OwnerKey" = "8:_7A6FFAB65849451985DC97672E60AC25" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_8004588B7E71DBE837B5B7306765A3C3" + "OwnerKey" = "8:_DD58016D60544560AA5E49FFE8AF107F" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_8004588B7E71DBE837B5B7306765A3C3" + "OwnerKey" = "8:_BB9BDFAB061A475D834F5B2188B1B0DF" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_8004588B7E71DBE837B5B7306765A3C3" + "OwnerKey" = "8:_6677F7DDE833487685A5365B814C948E" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_8004588B7E71DBE837B5B7306765A3C3" + "OwnerKey" = "8:_9C3FE60D2CB641EB8C20EB0A946F9793" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_8004588B7E71DBE837B5B7306765A3C3" + "OwnerKey" = "8:_E244DF62356040C99174B6A95091F933" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_8004588B7E71DBE837B5B7306765A3C3" + "OwnerKey" = "8:_5E9E54CF8C9A48A28AE9FBB85927752D" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_8004588B7E71DBE837B5B7306765A3C3" + "OwnerKey" = "8:_B3A91C3DDE21461499706CB060164DBF" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_8004588B7E71DBE837B5B7306765A3C3" + "OwnerKey" = "8:_FFA7ACA8F65E48BC81C510AFD77C921F" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_8004588B7E71DBE837B5B7306765A3C3" + "OwnerKey" = "8:_DF6FCAF566474F6C802DF369530FB263" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_8004588B7E71DBE837B5B7306765A3C3" + "OwnerKey" = "8:_3B22C3ECB76E01BF3655CCA58F521AE4" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_8004588B7E71DBE837B5B7306765A3C3" + "OwnerKey" = "8:_CF5F023E64024115B138FC74C0E7ED3D" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_8004588B7E71DBE837B5B7306765A3C3" + "OwnerKey" = "8:_9A56688DC4D7494CBD7F5A9327D1F188" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_8004588B7E71DBE837B5B7306765A3C3" + "OwnerKey" = "8:_EB7787F6A450460E98169BCFF7B5668A" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_8004588B7E71DBE837B5B7306765A3C3" + "OwnerKey" = "8:_0036124F08D44E92A70B64B41140023F" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_8004588B7E71DBE837B5B7306765A3C3" + "OwnerKey" = "8:_E9906790AA414B2588DD26786A294C29" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_8004588B7E71DBE837B5B7306765A3C3" + "OwnerKey" = "8:_B35F3A0A06D64AB3A82CEAFE7EA8DBF9" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_8004588B7E71DBE837B5B7306765A3C3" + "OwnerKey" = "8:_05581D908989450DBE2EF42B84501484" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_8004588B7E71DBE837B5B7306765A3C3" + "OwnerKey" = "8:_86659D1DE4D241E595AD02D88D98BA68" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_8004588B7E71DBE837B5B7306765A3C3" + "OwnerKey" = "8:_8A40B1029BB841ED88E1DEEF003820D3" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_8004588B7E71DBE837B5B7306765A3C3" + "OwnerKey" = "8:_91665BA2BBE34BA3BD4C19D5E2C3D489" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_8004588B7E71DBE837B5B7306765A3C3" + "OwnerKey" = "8:_93CE5D9EAEFF4448ADF4B8776D5DFD70" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_8004588B7E71DBE837B5B7306765A3C3" + "OwnerKey" = "8:_199C4E0C921D4A5DAEC115D1B8C45FD4" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_8004588B7E71DBE837B5B7306765A3C3" + "OwnerKey" = "8:_5291B57ED0674E68992853A555A116C3" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_8004588B7E71DBE837B5B7306765A3C3" + "OwnerKey" = "8:_E485E664B108312262981F501B2F4848" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_8004588B7E71DBE837B5B7306765A3C3" + "OwnerKey" = "8:_00870ADAC0484A5D86D37C9A575CCF3D" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_8004588B7E71DBE837B5B7306765A3C3" + "OwnerKey" = "8:_9AEFF85A1F0544D48C72F1BBB0330C90" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_8004588B7E71DBE837B5B7306765A3C3" + "OwnerKey" = "8:_D622EAEACBA547CB5BB0B80EF2F9FBEC" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_8004588B7E71DBE837B5B7306765A3C3" + "OwnerKey" = "8:_9CCA3CBAA527443294E12C0531E871DD" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_8004588B7E71DBE837B5B7306765A3C3" + "OwnerKey" = "8:_B89EC8CDA071487ABA6E99DB1029E6C3" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_8004588B7E71DBE837B5B7306765A3C3" + "OwnerKey" = "8:_D64A9B36F8244321A075359E498601DC" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_8004588B7E71DBE837B5B7306765A3C3" + "OwnerKey" = "8:_CF4BC0FBB809D9512674750602812472" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_8004588B7E71DBE837B5B7306765A3C3" + "OwnerKey" = "8:_1AFFE18A5663E9DC4F95DA808CC22BC4" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_8004588B7E71DBE837B5B7306765A3C3" + "OwnerKey" = "8:_44B10BD5C45C69957E1AFCAD6BF10485" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_8004588B7E71DBE837B5B7306765A3C3" + "OwnerKey" = "8:_546EE584F91948C5A7CAF60245145DE3" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_8004588B7E71DBE837B5B7306765A3C3" + "OwnerKey" = "8:_C0D114703ACF4E88B4B47D7F4E04960C" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_8004588B7E71DBE837B5B7306765A3C3" + "OwnerKey" = "8:_03BA8ACDDDBF6520B59F51E73C4D971D" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_8004588B7E71DBE837B5B7306765A3C3" + "OwnerKey" = "8:_3D6C365612F792A384DA60D1A3F22B8F" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_8004588B7E71DBE837B5B7306765A3C3" + "OwnerKey" = "8:_E4CAF456C17123C182993937E22CEC06" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_8004588B7E71DBE837B5B7306765A3C3" + "OwnerKey" = "8:_E0FE5833AD3E054566DD4BE6AD0607BD" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_8004588B7E71DBE837B5B7306765A3C3" + "OwnerKey" = "8:_C667F7C6655F91B4FF60A357F0D2A867" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_8004588B7E71DBE837B5B7306765A3C3" + "OwnerKey" = "8:_0C0770DF84ADB725BCC3B9FE50E944AD" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_8004588B7E71DBE837B5B7306765A3C3" + "OwnerKey" = "8:_FCF185846CF41F04637293C35A21BF70" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_8004588B7E71DBE837B5B7306765A3C3" + "OwnerKey" = "8:_5AA5C97011089B80E80258C54FC9B702" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_8004588B7E71DBE837B5B7306765A3C3" + "OwnerKey" = "8:_2F25D1ADC70603E609283EB9BAA97E02" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_8004588B7E71DBE837B5B7306765A3C3" + "OwnerKey" = "8:_A504707907BDD8C193F5FD8FD3CA6D90" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_8004588B7E71DBE837B5B7306765A3C3" + "OwnerKey" = "8:_056F1A41DACF9EE6C093D4334D5B80A4" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_80700DA2DA0B4A82B43212E33F09A43C" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_81D1257A11DB455A804673C7A68DAD93" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_824E8CAAE690BB32A75A0C6016526D7E" + "OwnerKey" = "8:_C0D114703ACF4E88B4B47D7F4E04960C" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_824E8CAAE690BB32A75A0C6016526D7E" + "OwnerKey" = "8:_9C3FE60D2CB641EB8C20EB0A946F9793" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_824E8CAAE690BB32A75A0C6016526D7E" + "OwnerKey" = "8:_D622EAEACBA547CB5BB0B80EF2F9FBEC" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_82C511A0589641DFA0DBE670DBE561CD" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_82FA387612AA4DD2BF78046CB222C5E8" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_83D0368A2D0549D593F1556F99EBDAE2" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_8438E7C8CC49448093B99673A2CC034F" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_849FCF3844E04A289F6A07A5069DD878" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_84AAC1ACC0F64471AD96E00B04F96574" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_855A18FDDEE1520099CD0634D9DC3F40" + "OwnerKey" = "8:_C0D114703ACF4E88B4B47D7F4E04960C" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_855A18FDDEE1520099CD0634D9DC3F40" + "OwnerKey" = "8:_9C3FE60D2CB641EB8C20EB0A946F9793" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_855A18FDDEE1520099CD0634D9DC3F40" + "OwnerKey" = "8:_D622EAEACBA547CB5BB0B80EF2F9FBEC" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_861BF08C049E467EAD2DB44D558FDB20" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_86659D1DE4D241E595AD02D88D98BA68" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_877F8E228B373AE9A768021365913EF9" + "OwnerKey" = "8:_C0D114703ACF4E88B4B47D7F4E04960C" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_877F8E228B373AE9A768021365913EF9" + "OwnerKey" = "8:_9C3FE60D2CB641EB8C20EB0A946F9793" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_877F8E228B373AE9A768021365913EF9" + "OwnerKey" = "8:_D622EAEACBA547CB5BB0B80EF2F9FBEC" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_87D96055A65C8E9143A977AA771F19A4" + "OwnerKey" = "8:_056F1A41DACF9EE6C093D4334D5B80A4" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_87D96055A65C8E9143A977AA771F19A4" + "OwnerKey" = "8:_A09D5E52064B4EE8B58F413F03CA7A4C" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_87D96055A65C8E9143A977AA771F19A4" + "OwnerKey" = "8:_9C3FE60D2CB641EB8C20EB0A946F9793" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_87D96055A65C8E9143A977AA771F19A4" + "OwnerKey" = "8:_17D03F5442B743769AF147B534D842BB" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_87D96055A65C8E9143A977AA771F19A4" + "OwnerKey" = "8:_01EB6D17530A47109F2D66319328C67C" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_87D96055A65C8E9143A977AA771F19A4" + "OwnerKey" = "8:_B3A91C3DDE21461499706CB060164DBF" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_87D96055A65C8E9143A977AA771F19A4" + "OwnerKey" = "8:_9A56688DC4D7494CBD7F5A9327D1F188" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_87D96055A65C8E9143A977AA771F19A4" + "OwnerKey" = "8:_EB7787F6A450460E98169BCFF7B5668A" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_87D96055A65C8E9143A977AA771F19A4" + "OwnerKey" = "8:_0036124F08D44E92A70B64B41140023F" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_87D96055A65C8E9143A977AA771F19A4" + "OwnerKey" = "8:_5291B57ED0674E68992853A555A116C3" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_87D96055A65C8E9143A977AA771F19A4" + "OwnerKey" = "8:_00870ADAC0484A5D86D37C9A575CCF3D" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_87D96055A65C8E9143A977AA771F19A4" + "OwnerKey" = "8:_9AEFF85A1F0544D48C72F1BBB0330C90" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_87D96055A65C8E9143A977AA771F19A4" + "OwnerKey" = "8:_D622EAEACBA547CB5BB0B80EF2F9FBEC" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_87D96055A65C8E9143A977AA771F19A4" + "OwnerKey" = "8:_E9A9169C65864477A15AD563011F5417" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_87D96055A65C8E9143A977AA771F19A4" + "OwnerKey" = "8:_D64A9B36F8244321A075359E498601DC" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_87D96055A65C8E9143A977AA771F19A4" + "OwnerKey" = "8:_CF4BC0FBB809D9512674750602812472" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_87D96055A65C8E9143A977AA771F19A4" + "OwnerKey" = "8:_1AFFE18A5663E9DC4F95DA808CC22BC4" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_87D96055A65C8E9143A977AA771F19A4" + "OwnerKey" = "8:_8C0A8BA04215433A1B10CC5A37BD3134" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_87D96055A65C8E9143A977AA771F19A4" + "OwnerKey" = "8:_B7EF0CBFEF347A276FB32A581D514536" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_87D96055A65C8E9143A977AA771F19A4" + "OwnerKey" = "8:_C0D114703ACF4E88B4B47D7F4E04960C" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_87D96055A65C8E9143A977AA771F19A4" + "OwnerKey" = "8:_A504707907BDD8C193F5FD8FD3CA6D90" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_885ACF4CE5ED65B8AE95F2B566DB5068" + "OwnerKey" = "8:_056F1A41DACF9EE6C093D4334D5B80A4" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_885ACF4CE5ED65B8AE95F2B566DB5068" + "OwnerKey" = "8:_A09D5E52064B4EE8B58F413F03CA7A4C" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_885ACF4CE5ED65B8AE95F2B566DB5068" + "OwnerKey" = "8:_F146D7D5982B4DAB8830740345D4B161" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_885ACF4CE5ED65B8AE95F2B566DB5068" + "OwnerKey" = "8:_1E055B0BAC1C43F5B5FEAD6924109C12" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_885ACF4CE5ED65B8AE95F2B566DB5068" + "OwnerKey" = "8:_46704F13BB2D4842BE0A1793EE0FE473" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_885ACF4CE5ED65B8AE95F2B566DB5068" + "OwnerKey" = "8:_BB9BDFAB061A475D834F5B2188B1B0DF" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_885ACF4CE5ED65B8AE95F2B566DB5068" + "OwnerKey" = "8:_468BE8638DF04F0D822D6B0D3236D456" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_885ACF4CE5ED65B8AE95F2B566DB5068" + "OwnerKey" = "8:_D3633B8ABDC546FD9B706F87CA11EB0D" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_885ACF4CE5ED65B8AE95F2B566DB5068" + "OwnerKey" = "8:_9C3FE60D2CB641EB8C20EB0A946F9793" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_885ACF4CE5ED65B8AE95F2B566DB5068" + "OwnerKey" = "8:_C0C5097D17F34D15B8B17E20FDDC9766" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_885ACF4CE5ED65B8AE95F2B566DB5068" + "OwnerKey" = "8:_20FFD0CF6C92429FAA25626C12E1F20C" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_885ACF4CE5ED65B8AE95F2B566DB5068" + "OwnerKey" = "8:_624C2F74AFC9428AA2BE6445E388E8B5" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_885ACF4CE5ED65B8AE95F2B566DB5068" + "OwnerKey" = "8:_5E9E54CF8C9A48A28AE9FBB85927752D" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_885ACF4CE5ED65B8AE95F2B566DB5068" + "OwnerKey" = "8:_594F61C6642845DF974AAD0E91EF9A37" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_885ACF4CE5ED65B8AE95F2B566DB5068" + "OwnerKey" = "8:_0DF687C0AA8641C092D2E3977BBDEFA7" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_885ACF4CE5ED65B8AE95F2B566DB5068" + "OwnerKey" = "8:_B3A91C3DDE21461499706CB060164DBF" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_885ACF4CE5ED65B8AE95F2B566DB5068" + "OwnerKey" = "8:_FFA7ACA8F65E48BC81C510AFD77C921F" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_885ACF4CE5ED65B8AE95F2B566DB5068" + "OwnerKey" = "8:_CF5F023E64024115B138FC74C0E7ED3D" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_885ACF4CE5ED65B8AE95F2B566DB5068" + "OwnerKey" = "8:_9A56688DC4D7494CBD7F5A9327D1F188" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_885ACF4CE5ED65B8AE95F2B566DB5068" + "OwnerKey" = "8:_EB7787F6A450460E98169BCFF7B5668A" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_885ACF4CE5ED65B8AE95F2B566DB5068" + "OwnerKey" = "8:_0036124F08D44E92A70B64B41140023F" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_885ACF4CE5ED65B8AE95F2B566DB5068" + "OwnerKey" = "8:_199C4E0C921D4A5DAEC115D1B8C45FD4" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_885ACF4CE5ED65B8AE95F2B566DB5068" + "OwnerKey" = "8:_00870ADAC0484A5D86D37C9A575CCF3D" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_885ACF4CE5ED65B8AE95F2B566DB5068" + "OwnerKey" = "8:_9AEFF85A1F0544D48C72F1BBB0330C90" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_885ACF4CE5ED65B8AE95F2B566DB5068" + "OwnerKey" = "8:_D622EAEACBA547CB5BB0B80EF2F9FBEC" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_885ACF4CE5ED65B8AE95F2B566DB5068" + "OwnerKey" = "8:_9CCA3CBAA527443294E12C0531E871DD" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_885ACF4CE5ED65B8AE95F2B566DB5068" + "OwnerKey" = "8:_D64A9B36F8244321A075359E498601DC" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_885ACF4CE5ED65B8AE95F2B566DB5068" + "OwnerKey" = "8:_CF4BC0FBB809D9512674750602812472" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_885ACF4CE5ED65B8AE95F2B566DB5068" + "OwnerKey" = "8:_1AFFE18A5663E9DC4F95DA808CC22BC4" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_885ACF4CE5ED65B8AE95F2B566DB5068" + "OwnerKey" = "8:_E4CAF456C17123C182993937E22CEC06" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_885ACF4CE5ED65B8AE95F2B566DB5068" + "OwnerKey" = "8:_2A334B668DCE33BCF921B34BEEE353B3" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_885ACF4CE5ED65B8AE95F2B566DB5068" + "OwnerKey" = "8:_179F68EB6691A388BE34A6557619EB81" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_885ACF4CE5ED65B8AE95F2B566DB5068" + "OwnerKey" = "8:_E0FE5833AD3E054566DD4BE6AD0607BD" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_885ACF4CE5ED65B8AE95F2B566DB5068" + "OwnerKey" = "8:_116EB9729A93F5A9EEF73567733F8298" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_885ACF4CE5ED65B8AE95F2B566DB5068" + "OwnerKey" = "8:_25119C0EDD984B380F70507E568E7EC3" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_885ACF4CE5ED65B8AE95F2B566DB5068" + "OwnerKey" = "8:_15554B3D9AB1703D58B0D31D6923E3C0" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_885ACF4CE5ED65B8AE95F2B566DB5068" + "OwnerKey" = "8:_5AA5C97011089B80E80258C54FC9B702" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_885ACF4CE5ED65B8AE95F2B566DB5068" + "OwnerKey" = "8:_C0D114703ACF4E88B4B47D7F4E04960C" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_885ACF4CE5ED65B8AE95F2B566DB5068" + "OwnerKey" = "8:_A504707907BDD8C193F5FD8FD3CA6D90" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_885ACF4CE5ED65B8AE95F2B566DB5068" + "OwnerKey" = "8:_6370FD971DB9E8938A26E2982CF5CE7E" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_885ACF4CE5ED65B8AE95F2B566DB5068" + "OwnerKey" = "8:_F0DFE7E3E5BBF1E65BC15B064AAE986E" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_88663C8E7B3E467F8E97C0F8F32DA077" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_8A40B1029BB841ED88E1DEEF003820D3" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_8B53F9CC53E544008D7A343B8E9AEA3B" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_8B93391D7EF04137AE1DBED5BC2B0A4B" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_8B9F83F5F57F4B7189E116FB04260682" + "OwnerKey" = "8:_056F1A41DACF9EE6C093D4334D5B80A4" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_8B9F83F5F57F4B7189E116FB04260682" + "OwnerKey" = "8:_CB93347BD17E465AB8DCE6E7803A8994" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_8B9F83F5F57F4B7189E116FB04260682" + "OwnerKey" = "8:_9C3FE60D2CB641EB8C20EB0A946F9793" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_8B9F83F5F57F4B7189E116FB04260682" + "OwnerKey" = "8:_65D9AE21D2AE47DCA4A5090D290FB85C" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_8B9F83F5F57F4B7189E116FB04260682" + "OwnerKey" = "8:_46728EBA95714224B90A7E79E8E1D78D" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_8B9F83F5F57F4B7189E116FB04260682" + "OwnerKey" = "8:_E9906790AA414B2588DD26786A294C29" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_8B9F83F5F57F4B7189E116FB04260682" + "OwnerKey" = "8:_5D13D6EC94124CF0A401D7DC97BEDFF2" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_8B9F83F5F57F4B7189E116FB04260682" + "OwnerKey" = "8:_00870ADAC0484A5D86D37C9A575CCF3D" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_8B9F83F5F57F4B7189E116FB04260682" + "OwnerKey" = "8:_D622EAEACBA547CB5BB0B80EF2F9FBEC" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_8B9F83F5F57F4B7189E116FB04260682" + "OwnerKey" = "8:_9CCA3CBAA527443294E12C0531E871DD" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_8B9F83F5F57F4B7189E116FB04260682" + "OwnerKey" = "8:_D64A9B36F8244321A075359E498601DC" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_8B9F83F5F57F4B7189E116FB04260682" + "OwnerKey" = "8:_B54170EB482D4C0A92074CE3C6E550BD" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_8B9F83F5F57F4B7189E116FB04260682" + "OwnerKey" = "8:_C0D114703ACF4E88B4B47D7F4E04960C" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_8B9F83F5F57F4B7189E116FB04260682" + "OwnerKey" = "8:_9E62684B6048F1350D5BF500AD5A4270" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_8B9F83F5F57F4B7189E116FB04260682" + "OwnerKey" = "8:_145E102706B3BD5EEB3E3ACE43A40B3F" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_8B9F83F5F57F4B7189E116FB04260682" + "OwnerKey" = "8:_5AA5C97011089B80E80258C54FC9B702" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_8B9F83F5F57F4B7189E116FB04260682" + "OwnerKey" = "8:_C667F7C6655F91B4FF60A357F0D2A867" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_8B9F83F5F57F4B7189E116FB04260682" + "OwnerKey" = "8:_537EFDE831D746D17ADF3C0DB87B44A5" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_8BF63CB8BADA5718336FE254291A8F66" + "OwnerKey" = "8:_C29ACC3724DB497CBA634956BDFC3607" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_8C0A8BA04215433A1B10CC5A37BD3134" + "OwnerKey" = "8:_B7EF0CBFEF347A276FB32A581D514536" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_8C0A8BA04215433A1B10CC5A37BD3134" + "OwnerKey" = "8:_9C3FE60D2CB641EB8C20EB0A946F9793" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_8C0A8BA04215433A1B10CC5A37BD3134" + "OwnerKey" = "8:_01EB6D17530A47109F2D66319328C67C" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_8C0A8BA04215433A1B10CC5A37BD3134" + "OwnerKey" = "8:_D622EAEACBA547CB5BB0B80EF2F9FBEC" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_8C0A8BA04215433A1B10CC5A37BD3134" + "OwnerKey" = "8:_C0D114703ACF4E88B4B47D7F4E04960C" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_8D7F4A72EC0092EE270B9C43BD633589" + "OwnerKey" = "8:_A504707907BDD8C193F5FD8FD3CA6D90" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_8D7F4A72EC0092EE270B9C43BD633589" + "OwnerKey" = "8:_9C3FE60D2CB641EB8C20EB0A946F9793" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_8D7F4A72EC0092EE270B9C43BD633589" + "OwnerKey" = "8:_9A56688DC4D7494CBD7F5A9327D1F188" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_8D7F4A72EC0092EE270B9C43BD633589" + "OwnerKey" = "8:_00870ADAC0484A5D86D37C9A575CCF3D" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_8D7F4A72EC0092EE270B9C43BD633589" + "OwnerKey" = "8:_D622EAEACBA547CB5BB0B80EF2F9FBEC" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_8D7F4A72EC0092EE270B9C43BD633589" + "OwnerKey" = "8:_9CCA3CBAA527443294E12C0531E871DD" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_8D7F4A72EC0092EE270B9C43BD633589" + "OwnerKey" = "8:_C0D114703ACF4E88B4B47D7F4E04960C" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_8D7F4A72EC0092EE270B9C43BD633589" + "OwnerKey" = "8:_5AA5C97011089B80E80258C54FC9B702" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_8D9B92E094235D3CA8C0E0C80887BD9C" + "OwnerKey" = "8:_056F1A41DACF9EE6C093D4334D5B80A4" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_8D9B92E094235D3CA8C0E0C80887BD9C" + "OwnerKey" = "8:_A465D5ADCCED41E8A8F9DE1412BEE105" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_8D9B92E094235D3CA8C0E0C80887BD9C" + "OwnerKey" = "8:_6677F7DDE833487685A5365B814C948E" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_8D9B92E094235D3CA8C0E0C80887BD9C" + "OwnerKey" = "8:_CB93347BD17E465AB8DCE6E7803A8994" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_8D9B92E094235D3CA8C0E0C80887BD9C" + "OwnerKey" = "8:_84AAC1ACC0F64471AD96E00B04F96574" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_8D9B92E094235D3CA8C0E0C80887BD9C" + "OwnerKey" = "8:_9C3FE60D2CB641EB8C20EB0A946F9793" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_8D9B92E094235D3CA8C0E0C80887BD9C" + "OwnerKey" = "8:_D9A8CF85057F4275B76CBA27451FBBB5" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_8D9B92E094235D3CA8C0E0C80887BD9C" + "OwnerKey" = "8:_3B22C3ECB76E01BF3655CCA58F521AE4" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_8D9B92E094235D3CA8C0E0C80887BD9C" + "OwnerKey" = "8:_E9906790AA414B2588DD26786A294C29" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_8D9B92E094235D3CA8C0E0C80887BD9C" + "OwnerKey" = "8:_B35F3A0A06D64AB3A82CEAFE7EA8DBF9" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_8D9B92E094235D3CA8C0E0C80887BD9C" + "OwnerKey" = "8:_05581D908989450DBE2EF42B84501484" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_8D9B92E094235D3CA8C0E0C80887BD9C" + "OwnerKey" = "8:_8A40B1029BB841ED88E1DEEF003820D3" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_8D9B92E094235D3CA8C0E0C80887BD9C" + "OwnerKey" = "8:_00870ADAC0484A5D86D37C9A575CCF3D" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_8D9B92E094235D3CA8C0E0C80887BD9C" + "OwnerKey" = "8:_D622EAEACBA547CB5BB0B80EF2F9FBEC" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_8D9B92E094235D3CA8C0E0C80887BD9C" + "OwnerKey" = "8:_9CCA3CBAA527443294E12C0531E871DD" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_8D9B92E094235D3CA8C0E0C80887BD9C" + "OwnerKey" = "8:_D64A9B36F8244321A075359E498601DC" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_8D9B92E094235D3CA8C0E0C80887BD9C" + "OwnerKey" = "8:_546EE584F91948C5A7CAF60245145DE3" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_8D9B92E094235D3CA8C0E0C80887BD9C" + "OwnerKey" = "8:_44B10BD5C45C69957E1AFCAD6BF10485" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_8D9B92E094235D3CA8C0E0C80887BD9C" + "OwnerKey" = "8:_C0D114703ACF4E88B4B47D7F4E04960C" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_8D9B92E094235D3CA8C0E0C80887BD9C" + "OwnerKey" = "8:_045EC7442D5DE0F8BFC16091D4D0E81D" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_8D9B92E094235D3CA8C0E0C80887BD9C" + "OwnerKey" = "8:_03BA8ACDDDBF6520B59F51E73C4D971D" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_8D9B92E094235D3CA8C0E0C80887BD9C" + "OwnerKey" = "8:_5AA5C97011089B80E80258C54FC9B702" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_8D9B92E094235D3CA8C0E0C80887BD9C" + "OwnerKey" = "8:_F0EFB4C551D3C7B408B65BEF69D52472" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_8D9B92E094235D3CA8C0E0C80887BD9C" + "OwnerKey" = "8:_57D7430D26C37BBE513C3DEF41482CB8" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_8D9B92E094235D3CA8C0E0C80887BD9C" + "OwnerKey" = "8:_C667F7C6655F91B4FF60A357F0D2A867" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_8D9B92E094235D3CA8C0E0C80887BD9C" + "OwnerKey" = "8:_537EFDE831D746D17ADF3C0DB87B44A5" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_8D9B92E094235D3CA8C0E0C80887BD9C" + "OwnerKey" = "8:_FCF185846CF41F04637293C35A21BF70" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_8D9FCB9FA60F870A524D42753F90C828" + "OwnerKey" = "8:_8BF63CB8BADA5718336FE254291A8F66" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_8DF56435F0284783983A1229FCF82C23" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_8F12DF81160740F9BF26B5BE41F51906" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_8F17B8B6D62148AFA68AC45AD81B10DE" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_8FC8C4E8F4E64706895EA9F0277967A6" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_907CA1B8DD234537BBB7046C28F63076" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_91665BA2BBE34BA3BD4C19D5E2C3D489" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_93CE5D9EAEFF4448ADF4B8776D5DFD70" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_946229117826D3A0D4BEAF474DC0D7D3" + "OwnerKey" = "8:_5AA5C97011089B80E80258C54FC9B702" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_946229117826D3A0D4BEAF474DC0D7D3" + "OwnerKey" = "8:_21A2529647604DFFB1092B225884ECB6" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_946229117826D3A0D4BEAF474DC0D7D3" + "OwnerKey" = "8:_9C3FE60D2CB641EB8C20EB0A946F9793" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_946229117826D3A0D4BEAF474DC0D7D3" + "OwnerKey" = "8:_67EB7D0AB53C9905790E1D5A3283B7A4" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_946229117826D3A0D4BEAF474DC0D7D3" + "OwnerKey" = "8:_00870ADAC0484A5D86D37C9A575CCF3D" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_946229117826D3A0D4BEAF474DC0D7D3" + "OwnerKey" = "8:_D622EAEACBA547CB5BB0B80EF2F9FBEC" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_946229117826D3A0D4BEAF474DC0D7D3" + "OwnerKey" = "8:_9CCA3CBAA527443294E12C0531E871DD" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_946229117826D3A0D4BEAF474DC0D7D3" + "OwnerKey" = "8:_C0D114703ACF4E88B4B47D7F4E04960C" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_94C9DE074F8C4B2D8EB109CFFB219D60" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_94F347547CB6AB524CDD9532C9708415" + "OwnerKey" = "8:_6C7EC0ABAE9AAD4FC604C53BE8578137" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_94F347547CB6AB524CDD9532C9708415" + "OwnerKey" = "8:_02E4613E8AEB4925B0909C28C1269A91" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_94F347547CB6AB524CDD9532C9708415" + "OwnerKey" = "8:_DC8D8DBC37CC4A48BAF0DC5E82766D9C" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_94F347547CB6AB524CDD9532C9708415" + "OwnerKey" = "8:_9C3FE60D2CB641EB8C20EB0A946F9793" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_94F347547CB6AB524CDD9532C9708415" + "OwnerKey" = "8:_FE23B45386AF0F9D3FB137DB948A7F53" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_94F347547CB6AB524CDD9532C9708415" + "OwnerKey" = "8:_D622EAEACBA547CB5BB0B80EF2F9FBEC" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_94F347547CB6AB524CDD9532C9708415" + "OwnerKey" = "8:_C0D114703ACF4E88B4B47D7F4E04960C" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_95B62EB18B59449F80C102E0FA4D469D" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_978010B87A9E45ECB168866B128F1028" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_988131D9767B45E3890F16AE95D5612F" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_9A26CFB8C8D14C38AB95FB9F6FA1EA8D" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_9A2C2F7D756BABCC50826F5CB4DB88CD" + "OwnerKey" = "8:_8BF63CB8BADA5718336FE254291A8F66" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_9A56688DC4D7494CBD7F5A9327D1F188" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_9A7A899F87AF46329014F26B2F1768AC" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_9ACDBEABECC7440F13251DB88B9C7DD6" + "OwnerKey" = "8:_15554B3D9AB1703D58B0D31D6923E3C0" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_9ACDBEABECC7440F13251DB88B9C7DD6" + "OwnerKey" = "8:_9C3FE60D2CB641EB8C20EB0A946F9793" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_9ACDBEABECC7440F13251DB88B9C7DD6" + "OwnerKey" = "8:_53492C665B5D49D7B4705F3E23562157" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_9ACDBEABECC7440F13251DB88B9C7DD6" + "OwnerKey" = "8:_20FFD0CF6C92429FAA25626C12E1F20C" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_9ACDBEABECC7440F13251DB88B9C7DD6" + "OwnerKey" = "8:_17D03F5442B743769AF147B534D842BB" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_9ACDBEABECC7440F13251DB88B9C7DD6" + "OwnerKey" = "8:_2AD130904BC84DEA8501024AA232FC4E" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_9ACDBEABECC7440F13251DB88B9C7DD6" + "OwnerKey" = "8:_01EB6D17530A47109F2D66319328C67C" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_9ACDBEABECC7440F13251DB88B9C7DD6" + "OwnerKey" = "8:_D622EAEACBA547CB5BB0B80EF2F9FBEC" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_9ACDBEABECC7440F13251DB88B9C7DD6" + "OwnerKey" = "8:_C0D114703ACF4E88B4B47D7F4E04960C" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_9ACDBEABECC7440F13251DB88B9C7DD6" + "OwnerKey" = "8:_8C0A8BA04215433A1B10CC5A37BD3134" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_9ACDBEABECC7440F13251DB88B9C7DD6" + "OwnerKey" = "8:_B7EF0CBFEF347A276FB32A581D514536" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_9ACDBEABECC7440F13251DB88B9C7DD6" + "OwnerKey" = "8:_A4C5548E242439A424F0DC360FC3CA1D" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_9ACDBEABECC7440F13251DB88B9C7DD6" + "OwnerKey" = "8:_51F23CC790B4896F4232F5B87B191C29" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_9AEFF85A1F0544D48C72F1BBB0330C90" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_9BA26D5888BF43C992BD492156585269" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_9C3FE60D2CB641EB8C20EB0A946F9793" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_9C6B1512878A30BB57B7470F506D4392" + "OwnerKey" = "8:_B7EF0CBFEF347A276FB32A581D514536" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_9C6B1512878A30BB57B7470F506D4392" + "OwnerKey" = "8:_9C3FE60D2CB641EB8C20EB0A946F9793" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_9C6B1512878A30BB57B7470F506D4392" + "OwnerKey" = "8:_01EB6D17530A47109F2D66319328C67C" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_9C6B1512878A30BB57B7470F506D4392" + "OwnerKey" = "8:_D622EAEACBA547CB5BB0B80EF2F9FBEC" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_9C6B1512878A30BB57B7470F506D4392" + "OwnerKey" = "8:_9CCA3CBAA527443294E12C0531E871DD" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_9C6B1512878A30BB57B7470F506D4392" + "OwnerKey" = "8:_C0D114703ACF4E88B4B47D7F4E04960C" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_9C6B1512878A30BB57B7470F506D4392" + "OwnerKey" = "8:_5AA5C97011089B80E80258C54FC9B702" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_9C8EAF542A2E4051BF5D305518778AE7" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_9CCA3CBAA527443294E12C0531E871DD" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_9D7D82DC6C27D18AEBA9EF8FDBD334CD" + "OwnerKey" = "8:_C0D114703ACF4E88B4B47D7F4E04960C" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_9D7D82DC6C27D18AEBA9EF8FDBD334CD" + "OwnerKey" = "8:_9C3FE60D2CB641EB8C20EB0A946F9793" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_9D7D82DC6C27D18AEBA9EF8FDBD334CD" + "OwnerKey" = "8:_D622EAEACBA547CB5BB0B80EF2F9FBEC" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_9DD7D99ADB14464CAAD4E8856EDD4D90" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_9E3E9A454B71D00DCE94B3192C3E092A" + "OwnerKey" = "8:_C0D114703ACF4E88B4B47D7F4E04960C" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_9E3E9A454B71D00DCE94B3192C3E092A" + "OwnerKey" = "8:_9C3FE60D2CB641EB8C20EB0A946F9793" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_9E3E9A454B71D00DCE94B3192C3E092A" + "OwnerKey" = "8:_D622EAEACBA547CB5BB0B80EF2F9FBEC" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_9E55F358F7302BD386B0176D646A879D" + "OwnerKey" = "8:_FCF185846CF41F04637293C35A21BF70" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_9E55F358F7302BD386B0176D646A879D" + "OwnerKey" = "8:_84AAC1ACC0F64471AD96E00B04F96574" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_9E55F358F7302BD386B0176D646A879D" + "OwnerKey" = "8:_9C3FE60D2CB641EB8C20EB0A946F9793" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_9E55F358F7302BD386B0176D646A879D" + "OwnerKey" = "8:_05581D908989450DBE2EF42B84501484" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_9E55F358F7302BD386B0176D646A879D" + "OwnerKey" = "8:_B9A463F73DBC4127BD9C474727649628" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_9E55F358F7302BD386B0176D646A879D" + "OwnerKey" = "8:_D622EAEACBA547CB5BB0B80EF2F9FBEC" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_9E55F358F7302BD386B0176D646A879D" + "OwnerKey" = "8:_9CCA3CBAA527443294E12C0531E871DD" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_9E55F358F7302BD386B0176D646A879D" + "OwnerKey" = "8:_C0D114703ACF4E88B4B47D7F4E04960C" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_9E55F358F7302BD386B0176D646A879D" + "OwnerKey" = "8:_5AA5C97011089B80E80258C54FC9B702" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_9E55F358F7302BD386B0176D646A879D" + "OwnerKey" = "8:_F0EFB4C551D3C7B408B65BEF69D52472" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_9E62684B6048F1350D5BF500AD5A4270" + "OwnerKey" = "8:_C0D114703ACF4E88B4B47D7F4E04960C" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_9E62684B6048F1350D5BF500AD5A4270" + "OwnerKey" = "8:_9C3FE60D2CB641EB8C20EB0A946F9793" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_9E62684B6048F1350D5BF500AD5A4270" + "OwnerKey" = "8:_D622EAEACBA547CB5BB0B80EF2F9FBEC" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_A00D42E585453FCDC786F528231641C5" + "OwnerKey" = "8:_5AA5C97011089B80E80258C54FC9B702" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_A00D42E585453FCDC786F528231641C5" + "OwnerKey" = "8:_9C3FE60D2CB641EB8C20EB0A946F9793" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_A00D42E585453FCDC786F528231641C5" + "OwnerKey" = "8:_D622EAEACBA547CB5BB0B80EF2F9FBEC" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_A00D42E585453FCDC786F528231641C5" + "OwnerKey" = "8:_9CCA3CBAA527443294E12C0531E871DD" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_A00D42E585453FCDC786F528231641C5" + "OwnerKey" = "8:_C0D114703ACF4E88B4B47D7F4E04960C" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_A09D5E52064B4EE8B58F413F03CA7A4C" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_A10C6481D758E4C748CD369A1E57D97C" + "OwnerKey" = "8:_C0D114703ACF4E88B4B47D7F4E04960C" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_A10C6481D758E4C748CD369A1E57D97C" + "OwnerKey" = "8:_9C3FE60D2CB641EB8C20EB0A946F9793" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_A10C6481D758E4C748CD369A1E57D97C" + "OwnerKey" = "8:_D622EAEACBA547CB5BB0B80EF2F9FBEC" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_A278A66B8DD64BBFB8143302051B8132" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_A32CDB2D5DE248EEB28F28CAB6B79F5D" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_A39E75420F60D39691AA5EF140522360" + "OwnerKey" = "8:_8004588B7E71DBE837B5B7306765A3C3" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_A39E75420F60D39691AA5EF140522360" + "OwnerKey" = "8:_A09D5E52064B4EE8B58F413F03CA7A4C" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_A39E75420F60D39691AA5EF140522360" + "OwnerKey" = "8:_B14294C19B2D48C39AC7F29189EFC261" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_A39E75420F60D39691AA5EF140522360" + "OwnerKey" = "8:_BB9BDFAB061A475D834F5B2188B1B0DF" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_A39E75420F60D39691AA5EF140522360" + "OwnerKey" = "8:_557C57CC46F148689753FD02506E0594" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_A39E75420F60D39691AA5EF140522360" + "OwnerKey" = "8:_CB93347BD17E465AB8DCE6E7803A8994" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_A39E75420F60D39691AA5EF140522360" + "OwnerKey" = "8:_9C3FE60D2CB641EB8C20EB0A946F9793" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_A39E75420F60D39691AA5EF140522360" + "OwnerKey" = "8:_09A62DF5B6844A1F97C767EC8D252742" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_A39E75420F60D39691AA5EF140522360" + "OwnerKey" = "8:_DF6FCAF566474F6C802DF369530FB263" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_A39E75420F60D39691AA5EF140522360" + "OwnerKey" = "8:_CF5F023E64024115B138FC74C0E7ED3D" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_A39E75420F60D39691AA5EF140522360" + "OwnerKey" = "8:_E9906790AA414B2588DD26786A294C29" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_A39E75420F60D39691AA5EF140522360" + "OwnerKey" = "8:_B35F3A0A06D64AB3A82CEAFE7EA8DBF9" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_A39E75420F60D39691AA5EF140522360" + "OwnerKey" = "8:_05581D908989450DBE2EF42B84501484" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_A39E75420F60D39691AA5EF140522360" + "OwnerKey" = "8:_8DF56435F0284783983A1229FCF82C23" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_A39E75420F60D39691AA5EF140522360" + "OwnerKey" = "8:_199C4E0C921D4A5DAEC115D1B8C45FD4" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_A39E75420F60D39691AA5EF140522360" + "OwnerKey" = "8:_5291B57ED0674E68992853A555A116C3" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_A39E75420F60D39691AA5EF140522360" + "OwnerKey" = "8:_43391991848647868BF2E89CF637D486" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_A39E75420F60D39691AA5EF140522360" + "OwnerKey" = "8:_00870ADAC0484A5D86D37C9A575CCF3D" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_A39E75420F60D39691AA5EF140522360" + "OwnerKey" = "8:_9AEFF85A1F0544D48C72F1BBB0330C90" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_A39E75420F60D39691AA5EF140522360" + "OwnerKey" = "8:_D622EAEACBA547CB5BB0B80EF2F9FBEC" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_A39E75420F60D39691AA5EF140522360" + "OwnerKey" = "8:_9CCA3CBAA527443294E12C0531E871DD" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_A39E75420F60D39691AA5EF140522360" + "OwnerKey" = "8:_D64A9B36F8244321A075359E498601DC" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_A39E75420F60D39691AA5EF140522360" + "OwnerKey" = "8:_546EE584F91948C5A7CAF60245145DE3" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_A39E75420F60D39691AA5EF140522360" + "OwnerKey" = "8:_44B10BD5C45C69957E1AFCAD6BF10485" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_A39E75420F60D39691AA5EF140522360" + "OwnerKey" = "8:_C0D114703ACF4E88B4B47D7F4E04960C" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_A39E75420F60D39691AA5EF140522360" + "OwnerKey" = "8:_5AA5C97011089B80E80258C54FC9B702" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_A39E75420F60D39691AA5EF140522360" + "OwnerKey" = "8:_C667F7C6655F91B4FF60A357F0D2A867" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_A39E75420F60D39691AA5EF140522360" + "OwnerKey" = "8:_537EFDE831D746D17ADF3C0DB87B44A5" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_A39E75420F60D39691AA5EF140522360" + "OwnerKey" = "8:_41AD63FF8C31C0A57A86209D0A6E5C80" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_A39E75420F60D39691AA5EF140522360" + "OwnerKey" = "8:_FCF185846CF41F04637293C35A21BF70" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_A39E75420F60D39691AA5EF140522360" + "OwnerKey" = "8:_0C0770DF84ADB725BCC3B9FE50E944AD" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_A39E75420F60D39691AA5EF140522360" + "OwnerKey" = "8:_056F1A41DACF9EE6C093D4334D5B80A4" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_A39E75420F60D39691AA5EF140522360" + "OwnerKey" = "8:_8B9F83F5F57F4B7189E116FB04260682" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_A465D5ADCCED41E8A8F9DE1412BEE105" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_A4C5548E242439A424F0DC360FC3CA1D" + "OwnerKey" = "8:_51F23CC790B4896F4232F5B87B191C29" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_A4C5548E242439A424F0DC360FC3CA1D" + "OwnerKey" = "8:_9C3FE60D2CB641EB8C20EB0A946F9793" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_A4C5548E242439A424F0DC360FC3CA1D" + "OwnerKey" = "8:_D9A8CF85057F4275B76CBA27451FBBB5" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_A4C5548E242439A424F0DC360FC3CA1D" + "OwnerKey" = "8:_53492C665B5D49D7B4705F3E23562157" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_A4C5548E242439A424F0DC360FC3CA1D" + "OwnerKey" = "8:_ADECACE59CB14E8BA77539E1543F3F9E" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_A4C5548E242439A424F0DC360FC3CA1D" + "OwnerKey" = "8:_17D03F5442B743769AF147B534D842BB" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_A4C5548E242439A424F0DC360FC3CA1D" + "OwnerKey" = "8:_5E9E54CF8C9A48A28AE9FBB85927752D" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_A4C5548E242439A424F0DC360FC3CA1D" + "OwnerKey" = "8:_0DF687C0AA8641C092D2E3977BBDEFA7" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_A4C5548E242439A424F0DC360FC3CA1D" + "OwnerKey" = "8:_01EB6D17530A47109F2D66319328C67C" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_A4C5548E242439A424F0DC360FC3CA1D" + "OwnerKey" = "8:_CF5F023E64024115B138FC74C0E7ED3D" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_A4C5548E242439A424F0DC360FC3CA1D" + "OwnerKey" = "8:_D622EAEACBA547CB5BB0B80EF2F9FBEC" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_A4C5548E242439A424F0DC360FC3CA1D" + "OwnerKey" = "8:_9CCA3CBAA527443294E12C0531E871DD" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_A4C5548E242439A424F0DC360FC3CA1D" + "OwnerKey" = "8:_C0D114703ACF4E88B4B47D7F4E04960C" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_A4C5548E242439A424F0DC360FC3CA1D" + "OwnerKey" = "8:_57D7430D26C37BBE513C3DEF41482CB8" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_A4C5548E242439A424F0DC360FC3CA1D" + "OwnerKey" = "8:_E4CAF456C17123C182993937E22CEC06" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_A4C5548E242439A424F0DC360FC3CA1D" + "OwnerKey" = "8:_5AA5C97011089B80E80258C54FC9B702" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_A4C5548E242439A424F0DC360FC3CA1D" + "OwnerKey" = "8:_B96BF8D9E3FF5E8CDFD69659FF75C052" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_A4C5548E242439A424F0DC360FC3CA1D" + "OwnerKey" = "8:_179F68EB6691A388BE34A6557619EB81" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_A4C5548E242439A424F0DC360FC3CA1D" + "OwnerKey" = "8:_8C0A8BA04215433A1B10CC5A37BD3134" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_A4C5548E242439A424F0DC360FC3CA1D" + "OwnerKey" = "8:_B7EF0CBFEF347A276FB32A581D514536" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_A504707907BDD8C193F5FD8FD3CA6D90" + "OwnerKey" = "8:_056F1A41DACF9EE6C093D4334D5B80A4" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_A504707907BDD8C193F5FD8FD3CA6D90" + "OwnerKey" = "8:_A09D5E52064B4EE8B58F413F03CA7A4C" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_A504707907BDD8C193F5FD8FD3CA6D90" + "OwnerKey" = "8:_1E055B0BAC1C43F5B5FEAD6924109C12" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_A504707907BDD8C193F5FD8FD3CA6D90" + "OwnerKey" = "8:_46704F13BB2D4842BE0A1793EE0FE473" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_A504707907BDD8C193F5FD8FD3CA6D90" + "OwnerKey" = "8:_9C3FE60D2CB641EB8C20EB0A946F9793" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_A504707907BDD8C193F5FD8FD3CA6D90" + "OwnerKey" = "8:_A32CDB2D5DE248EEB28F28CAB6B79F5D" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_A504707907BDD8C193F5FD8FD3CA6D90" + "OwnerKey" = "8:_EB7787F6A450460E98169BCFF7B5668A" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_A504707907BDD8C193F5FD8FD3CA6D90" + "OwnerKey" = "8:_B35F3A0A06D64AB3A82CEAFE7EA8DBF9" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_A504707907BDD8C193F5FD8FD3CA6D90" + "OwnerKey" = "8:_93CE5D9EAEFF4448ADF4B8776D5DFD70" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_A504707907BDD8C193F5FD8FD3CA6D90" + "OwnerKey" = "8:_5291B57ED0674E68992853A555A116C3" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_A504707907BDD8C193F5FD8FD3CA6D90" + "OwnerKey" = "8:_9AEFF85A1F0544D48C72F1BBB0330C90" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_A504707907BDD8C193F5FD8FD3CA6D90" + "OwnerKey" = "8:_D622EAEACBA547CB5BB0B80EF2F9FBEC" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_A504707907BDD8C193F5FD8FD3CA6D90" + "OwnerKey" = "8:_9CCA3CBAA527443294E12C0531E871DD" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_A504707907BDD8C193F5FD8FD3CA6D90" + "OwnerKey" = "8:_D64A9B36F8244321A075359E498601DC" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_A504707907BDD8C193F5FD8FD3CA6D90" + "OwnerKey" = "8:_44B10BD5C45C69957E1AFCAD6BF10485" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_A504707907BDD8C193F5FD8FD3CA6D90" + "OwnerKey" = "8:_C0D114703ACF4E88B4B47D7F4E04960C" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_A504707907BDD8C193F5FD8FD3CA6D90" + "OwnerKey" = "8:_026AA5F28014499D2CA48D39AEBA8A0D" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_A504707907BDD8C193F5FD8FD3CA6D90" + "OwnerKey" = "8:_5AA5C97011089B80E80258C54FC9B702" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_A51D015B5040499C9E740E5B6027AA00" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_A571C881BA284732B625F26EFFC63369" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_A5CA0F9EC66EC0568874B27FD79B6B68" + "OwnerKey" = "8:_8BF63CB8BADA5718336FE254291A8F66" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_A5E25E6038B7491EB5E4C5164B34ED2A" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_A6641DBF49634DD1BCA547850CF571A5" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_A6C1C68CC7C7465EAA60A8FD628288E5" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_A6DCF8CA5CA740BC9BF0616AEFCFF409" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_A7B0EF42067D4B71B3778087E211A6EB" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_A81EEB8B066FAF54876B914EDEE2F8CB" + "OwnerKey" = "8:_03EEA3B0054D3E7AA51C825DB765F06A" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_A81EEB8B066FAF54876B914EDEE2F8CB" + "OwnerKey" = "8:_8BF63CB8BADA5718336FE254291A8F66" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_A9EA0A6B5010BD81E023956218102169" + "OwnerKey" = "8:_F0EFB4C551D3C7B408B65BEF69D52472" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_A9EA0A6B5010BD81E023956218102169" + "OwnerKey" = "8:_746A1DED5A604FA7A3EC5F80ADFCD143" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_A9EA0A6B5010BD81E023956218102169" + "OwnerKey" = "8:_84AAC1ACC0F64471AD96E00B04F96574" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_A9EA0A6B5010BD81E023956218102169" + "OwnerKey" = "8:_9C3FE60D2CB641EB8C20EB0A946F9793" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_A9EA0A6B5010BD81E023956218102169" + "OwnerKey" = "8:_D622EAEACBA547CB5BB0B80EF2F9FBEC" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_A9EA0A6B5010BD81E023956218102169" + "OwnerKey" = "8:_9CCA3CBAA527443294E12C0531E871DD" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_A9EA0A6B5010BD81E023956218102169" + "OwnerKey" = "8:_C0D114703ACF4E88B4B47D7F4E04960C" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_A9EA0A6B5010BD81E023956218102169" + "OwnerKey" = "8:_A00D42E585453FCDC786F528231641C5" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_A9EA0A6B5010BD81E023956218102169" + "OwnerKey" = "8:_5AA5C97011089B80E80258C54FC9B702" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_AA7EB8BA72AF4CE58D56E6A49C09AC6C" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_AB9A1B9059654202B42246C60077F70A" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_ADECACE59CB14E8BA77539E1543F3F9E" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_AEB8C3BFA7FB4D8F8F36840AEC216303" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_AFF383A44DAB874177E2A7ABE4745AF7" + "OwnerKey" = "8:_C0D114703ACF4E88B4B47D7F4E04960C" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_AFF383A44DAB874177E2A7ABE4745AF7" + "OwnerKey" = "8:_9C3FE60D2CB641EB8C20EB0A946F9793" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_AFF383A44DAB874177E2A7ABE4745AF7" + "OwnerKey" = "8:_D622EAEACBA547CB5BB0B80EF2F9FBEC" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_B0084FD8CA6C1D4F596795B67652371D" + "OwnerKey" = "8:_C0D114703ACF4E88B4B47D7F4E04960C" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_B0084FD8CA6C1D4F596795B67652371D" + "OwnerKey" = "8:_9C3FE60D2CB641EB8C20EB0A946F9793" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_B0084FD8CA6C1D4F596795B67652371D" + "OwnerKey" = "8:_D622EAEACBA547CB5BB0B80EF2F9FBEC" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_B043263649364239B010BA1A422B215C" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_B08DEC402E5140E780FC5B0E8FD1FE35" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_B0A043DD5CEC99EC8E1850E93A3607E2" + "OwnerKey" = "8:_FCF185846CF41F04637293C35A21BF70" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_B0A043DD5CEC99EC8E1850E93A3607E2" + "OwnerKey" = "8:_B14294C19B2D48C39AC7F29189EFC261" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_B0A043DD5CEC99EC8E1850E93A3607E2" + "OwnerKey" = "8:_9DD7D99ADB14464CAAD4E8856EDD4D90" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_B0A043DD5CEC99EC8E1850E93A3607E2" + "OwnerKey" = "8:_84AAC1ACC0F64471AD96E00B04F96574" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_B0A043DD5CEC99EC8E1850E93A3607E2" + "OwnerKey" = "8:_9C3FE60D2CB641EB8C20EB0A946F9793" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_B0A043DD5CEC99EC8E1850E93A3607E2" + "OwnerKey" = "8:_3C19985D42B149389722FDE758E65B17" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_B0A043DD5CEC99EC8E1850E93A3607E2" + "OwnerKey" = "8:_E9906790AA414B2588DD26786A294C29" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_B0A043DD5CEC99EC8E1850E93A3607E2" + "OwnerKey" = "8:_B35F3A0A06D64AB3A82CEAFE7EA8DBF9" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_B0A043DD5CEC99EC8E1850E93A3607E2" + "OwnerKey" = "8:_05581D908989450DBE2EF42B84501484" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_B0A043DD5CEC99EC8E1850E93A3607E2" + "OwnerKey" = "8:_00870ADAC0484A5D86D37C9A575CCF3D" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_B0A043DD5CEC99EC8E1850E93A3607E2" + "OwnerKey" = "8:_9AEFF85A1F0544D48C72F1BBB0330C90" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_B0A043DD5CEC99EC8E1850E93A3607E2" + "OwnerKey" = "8:_24DE3229C3EB23D88DA6489295CECC60" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_B0A043DD5CEC99EC8E1850E93A3607E2" + "OwnerKey" = "8:_D622EAEACBA547CB5BB0B80EF2F9FBEC" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_B0A043DD5CEC99EC8E1850E93A3607E2" + "OwnerKey" = "8:_9CCA3CBAA527443294E12C0531E871DD" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_B0A043DD5CEC99EC8E1850E93A3607E2" + "OwnerKey" = "8:_44B10BD5C45C69957E1AFCAD6BF10485" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_B0A043DD5CEC99EC8E1850E93A3607E2" + "OwnerKey" = "8:_C0D114703ACF4E88B4B47D7F4E04960C" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_B0A043DD5CEC99EC8E1850E93A3607E2" + "OwnerKey" = "8:_F0EFB4C551D3C7B408B65BEF69D52472" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_B0A043DD5CEC99EC8E1850E93A3607E2" + "OwnerKey" = "8:_5AA5C97011089B80E80258C54FC9B702" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_B0A043DD5CEC99EC8E1850E93A3607E2" + "OwnerKey" = "8:_C667F7C6655F91B4FF60A357F0D2A867" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_B0CF5469FF107F5B15750BCBDEF8BFE4" + "OwnerKey" = "8:_5AA5C97011089B80E80258C54FC9B702" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_B0CF5469FF107F5B15750BCBDEF8BFE4" + "OwnerKey" = "8:_9C3FE60D2CB641EB8C20EB0A946F9793" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_B0CF5469FF107F5B15750BCBDEF8BFE4" + "OwnerKey" = "8:_D622EAEACBA547CB5BB0B80EF2F9FBEC" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_B0CF5469FF107F5B15750BCBDEF8BFE4" + "OwnerKey" = "8:_9CCA3CBAA527443294E12C0531E871DD" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_B0CF5469FF107F5B15750BCBDEF8BFE4" + "OwnerKey" = "8:_C0D114703ACF4E88B4B47D7F4E04960C" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_B14294C19B2D48C39AC7F29189EFC261" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_B18DAA15A2D144CAB805DF98395AA6E6" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_B2C9C39DA23B458E9A978B9BD857F59B" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_B35F3A0A06D64AB3A82CEAFE7EA8DBF9" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_B3A91C3DDE21461499706CB060164DBF" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_B3D68C43937F49C3A5779E2971FF19C5" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_B419E6174B6348818E0717CEB95B287E" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_B4F1A52384A615C5C69E3EB7532C29F1" + "OwnerKey" = "8:_C0D114703ACF4E88B4B47D7F4E04960C" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_B4F1A52384A615C5C69E3EB7532C29F1" + "OwnerKey" = "8:_9C3FE60D2CB641EB8C20EB0A946F9793" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_B4F1A52384A615C5C69E3EB7532C29F1" + "OwnerKey" = "8:_D622EAEACBA547CB5BB0B80EF2F9FBEC" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_B509DFE8D29A449F8BFF91DAE23D9FF8" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_B54170EB482D4C0A92074CE3C6E550BD" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_B57C329BFBE84DA8A52A337B610529D7" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_B5A13A9C52414065A328E83503B2A1F3" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_B68320E9248C48A2BEFC16731CBC169F" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_B7024C4C534B4076919F1F14AFE2A406" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_B7BCD1A3EC3F46ECB1DBDAF0A0376413" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_B7EC99BD89A446C2BA73214BA2CAE40B" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_B7EF0CBFEF347A276FB32A581D514536" + "OwnerKey" = "8:_537EFDE831D746D17ADF3C0DB87B44A5" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_B7EF0CBFEF347A276FB32A581D514536" + "OwnerKey" = "8:_CB93347BD17E465AB8DCE6E7803A8994" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_B7EF0CBFEF347A276FB32A581D514536" + "OwnerKey" = "8:_9C3FE60D2CB641EB8C20EB0A946F9793" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_B7EF0CBFEF347A276FB32A581D514536" + "OwnerKey" = "8:_232ACD7603294423A9F576A29A52830E" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_B7EF0CBFEF347A276FB32A581D514536" + "OwnerKey" = "8:_ADECACE59CB14E8BA77539E1543F3F9E" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_B7EF0CBFEF347A276FB32A581D514536" + "OwnerKey" = "8:_4617971CE6594996B555E535CCE00211" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_B7EF0CBFEF347A276FB32A581D514536" + "OwnerKey" = "8:_D622EAEACBA547CB5BB0B80EF2F9FBEC" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_B7EF0CBFEF347A276FB32A581D514536" + "OwnerKey" = "8:_9CCA3CBAA527443294E12C0531E871DD" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_B7EF0CBFEF347A276FB32A581D514536" + "OwnerKey" = "8:_13B476BCC07AAC0ACDCD13680C79132E" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_B7EF0CBFEF347A276FB32A581D514536" + "OwnerKey" = "8:_C0D114703ACF4E88B4B47D7F4E04960C" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_B7EF0CBFEF347A276FB32A581D514536" + "OwnerKey" = "8:_7B1123BEF5320FEEA1E91AE63DBD99ED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_B7EF0CBFEF347A276FB32A581D514536" + "OwnerKey" = "8:_B96BF8D9E3FF5E8CDFD69659FF75C052" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_B7EF0CBFEF347A276FB32A581D514536" + "OwnerKey" = "8:_5AA5C97011089B80E80258C54FC9B702" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_B85447E82F233EDC44E9E1B01C9D0F34" + "OwnerKey" = "8:_87D96055A65C8E9143A977AA771F19A4" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_B85447E82F233EDC44E9E1B01C9D0F34" + "OwnerKey" = "8:_A09D5E52064B4EE8B58F413F03CA7A4C" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_B85447E82F233EDC44E9E1B01C9D0F34" + "OwnerKey" = "8:_1E055B0BAC1C43F5B5FEAD6924109C12" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_B85447E82F233EDC44E9E1B01C9D0F34" + "OwnerKey" = "8:_B14294C19B2D48C39AC7F29189EFC261" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_B85447E82F233EDC44E9E1B01C9D0F34" + "OwnerKey" = "8:_DD58016D60544560AA5E49FFE8AF107F" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_B85447E82F233EDC44E9E1B01C9D0F34" + "OwnerKey" = "8:_BB9BDFAB061A475D834F5B2188B1B0DF" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_B85447E82F233EDC44E9E1B01C9D0F34" + "OwnerKey" = "8:_A6DCF8CA5CA740BC9BF0616AEFCFF409" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_B85447E82F233EDC44E9E1B01C9D0F34" + "OwnerKey" = "8:_F703AD86F2EE4F03B609DD408A7632FC" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_B85447E82F233EDC44E9E1B01C9D0F34" + "OwnerKey" = "8:_3CBC60FF3B1D487BBD2C5E8B7C1343DA" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_B85447E82F233EDC44E9E1B01C9D0F34" + "OwnerKey" = "8:_A465D5ADCCED41E8A8F9DE1412BEE105" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_B85447E82F233EDC44E9E1B01C9D0F34" + "OwnerKey" = "8:_BC1D614220704E83BF04A1DD4DF65D98" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_B85447E82F233EDC44E9E1B01C9D0F34" + "OwnerKey" = "8:_292CB48DD2234C5C9F966039981DA3DC" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_B85447E82F233EDC44E9E1B01C9D0F34" + "OwnerKey" = "8:_21A2529647604DFFB1092B225884ECB6" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_B85447E82F233EDC44E9E1B01C9D0F34" + "OwnerKey" = "8:_02E4613E8AEB4925B0909C28C1269A91" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_B85447E82F233EDC44E9E1B01C9D0F34" + "OwnerKey" = "8:_DC8D8DBC37CC4A48BAF0DC5E82766D9C" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_B85447E82F233EDC44E9E1B01C9D0F34" + "OwnerKey" = "8:_D3633B8ABDC546FD9B706F87CA11EB0D" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_B85447E82F233EDC44E9E1B01C9D0F34" + "OwnerKey" = "8:_24F9AB225145478C93BEB23ECA392FF7" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_B85447E82F233EDC44E9E1B01C9D0F34" + "OwnerKey" = "8:_9DD7D99ADB14464CAAD4E8856EDD4D90" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_B85447E82F233EDC44E9E1B01C9D0F34" + "OwnerKey" = "8:_95B62EB18B59449F80C102E0FA4D469D" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_B85447E82F233EDC44E9E1B01C9D0F34" + "OwnerKey" = "8:_557C57CC46F148689753FD02506E0594" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_B85447E82F233EDC44E9E1B01C9D0F34" + "OwnerKey" = "8:_CB93347BD17E465AB8DCE6E7803A8994" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_B85447E82F233EDC44E9E1B01C9D0F34" + "OwnerKey" = "8:_84AAC1ACC0F64471AD96E00B04F96574" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_B85447E82F233EDC44E9E1B01C9D0F34" + "OwnerKey" = "8:_9C3FE60D2CB641EB8C20EB0A946F9793" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_B85447E82F233EDC44E9E1B01C9D0F34" + "OwnerKey" = "8:_C0C5097D17F34D15B8B17E20FDDC9766" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_B85447E82F233EDC44E9E1B01C9D0F34" + "OwnerKey" = "8:_232ACD7603294423A9F576A29A52830E" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_B85447E82F233EDC44E9E1B01C9D0F34" + "OwnerKey" = "8:_D9A8CF85057F4275B76CBA27451FBBB5" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_B85447E82F233EDC44E9E1B01C9D0F34" + "OwnerKey" = "8:_49C1343ACD0F441A8A99D6F86F64B590" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_B85447E82F233EDC44E9E1B01C9D0F34" + "OwnerKey" = "8:_E244DF62356040C99174B6A95091F933" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_B85447E82F233EDC44E9E1B01C9D0F34" + "OwnerKey" = "8:_53492C665B5D49D7B4705F3E23562157" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_B85447E82F233EDC44E9E1B01C9D0F34" + "OwnerKey" = "8:_20FFD0CF6C92429FAA25626C12E1F20C" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_B85447E82F233EDC44E9E1B01C9D0F34" + "OwnerKey" = "8:_ADECACE59CB14E8BA77539E1543F3F9E" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_B85447E82F233EDC44E9E1B01C9D0F34" + "OwnerKey" = "8:_17D03F5442B743769AF147B534D842BB" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_B85447E82F233EDC44E9E1B01C9D0F34" + "OwnerKey" = "8:_624C2F74AFC9428AA2BE6445E388E8B5" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_B85447E82F233EDC44E9E1B01C9D0F34" + "OwnerKey" = "8:_5E9E54CF8C9A48A28AE9FBB85927752D" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_B85447E82F233EDC44E9E1B01C9D0F34" + "OwnerKey" = "8:_594F61C6642845DF974AAD0E91EF9A37" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_B85447E82F233EDC44E9E1B01C9D0F34" + "OwnerKey" = "8:_2AD130904BC84DEA8501024AA232FC4E" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_B85447E82F233EDC44E9E1B01C9D0F34" + "OwnerKey" = "8:_C653534C72A8445D83D5885D02245F61" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_B85447E82F233EDC44E9E1B01C9D0F34" + "OwnerKey" = "8:_0DF687C0AA8641C092D2E3977BBDEFA7" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_B85447E82F233EDC44E9E1B01C9D0F34" + "OwnerKey" = "8:_01EB6D17530A47109F2D66319328C67C" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_B85447E82F233EDC44E9E1B01C9D0F34" + "OwnerKey" = "8:_AEB8C3BFA7FB4D8F8F36840AEC216303" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_B85447E82F233EDC44E9E1B01C9D0F34" + "OwnerKey" = "8:_B3A91C3DDE21461499706CB060164DBF" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_B85447E82F233EDC44E9E1B01C9D0F34" + "OwnerKey" = "8:_EB3961FC5BF146C49AB55CC9768DA841" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_B85447E82F233EDC44E9E1B01C9D0F34" + "OwnerKey" = "8:_B419E6174B6348818E0717CEB95B287E" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_B85447E82F233EDC44E9E1B01C9D0F34" + "OwnerKey" = "8:_FFA7ACA8F65E48BC81C510AFD77C921F" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_B85447E82F233EDC44E9E1B01C9D0F34" + "OwnerKey" = "8:_D0B3A652520B49CC8F4841279D757E59" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_B85447E82F233EDC44E9E1B01C9D0F34" + "OwnerKey" = "8:_7970EE0845C64C969FEA4A8C942AE6F6" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_B85447E82F233EDC44E9E1B01C9D0F34" + "OwnerKey" = "8:_6FAA499E74924D14BE2D95B3A55D4555" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_B85447E82F233EDC44E9E1B01C9D0F34" + "OwnerKey" = "8:_B7024C4C534B4076919F1F14AFE2A406" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_B85447E82F233EDC44E9E1B01C9D0F34" + "OwnerKey" = "8:_80700DA2DA0B4A82B43212E33F09A43C" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_B85447E82F233EDC44E9E1B01C9D0F34" + "OwnerKey" = "8:_3C19985D42B149389722FDE758E65B17" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_B85447E82F233EDC44E9E1B01C9D0F34" + "OwnerKey" = "8:_6BBC70E12174480BB9AA2BB5387E54BF" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_B85447E82F233EDC44E9E1B01C9D0F34" + "OwnerKey" = "8:_DF6FCAF566474F6C802DF369530FB263" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_B85447E82F233EDC44E9E1B01C9D0F34" + "OwnerKey" = "8:_A32CDB2D5DE248EEB28F28CAB6B79F5D" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_B85447E82F233EDC44E9E1B01C9D0F34" + "OwnerKey" = "8:_9A56688DC4D7494CBD7F5A9327D1F188" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_B85447E82F233EDC44E9E1B01C9D0F34" + "OwnerKey" = "8:_8438E7C8CC49448093B99673A2CC034F" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_B85447E82F233EDC44E9E1B01C9D0F34" + "OwnerKey" = "8:_B35F3A0A06D64AB3A82CEAFE7EA8DBF9" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_B85447E82F233EDC44E9E1B01C9D0F34" + "OwnerKey" = "8:_05581D908989450DBE2EF42B84501484" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_B85447E82F233EDC44E9E1B01C9D0F34" + "OwnerKey" = "8:_8A40B1029BB841ED88E1DEEF003820D3" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_B85447E82F233EDC44E9E1B01C9D0F34" + "OwnerKey" = "8:_82C511A0589641DFA0DBE670DBE561CD" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_B85447E82F233EDC44E9E1B01C9D0F34" + "OwnerKey" = "8:_93CE5D9EAEFF4448ADF4B8776D5DFD70" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_B85447E82F233EDC44E9E1B01C9D0F34" + "OwnerKey" = "8:_FE23B45386AF0F9D3FB137DB948A7F53" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_B85447E82F233EDC44E9E1B01C9D0F34" + "OwnerKey" = "8:_67EB7D0AB53C9905790E1D5A3283B7A4" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_B85447E82F233EDC44E9E1B01C9D0F34" + "OwnerKey" = "8:_199C4E0C921D4A5DAEC115D1B8C45FD4" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_B85447E82F233EDC44E9E1B01C9D0F34" + "OwnerKey" = "8:_5291B57ED0674E68992853A555A116C3" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_B85447E82F233EDC44E9E1B01C9D0F34" + "OwnerKey" = "8:_E485E664B108312262981F501B2F4848" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_B85447E82F233EDC44E9E1B01C9D0F34" + "OwnerKey" = "8:_00870ADAC0484A5D86D37C9A575CCF3D" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_B85447E82F233EDC44E9E1B01C9D0F34" + "OwnerKey" = "8:_9AEFF85A1F0544D48C72F1BBB0330C90" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_B85447E82F233EDC44E9E1B01C9D0F34" + "OwnerKey" = "8:_24DE3229C3EB23D88DA6489295CECC60" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_B85447E82F233EDC44E9E1B01C9D0F34" + "OwnerKey" = "8:_D622EAEACBA547CB5BB0B80EF2F9FBEC" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_B85447E82F233EDC44E9E1B01C9D0F34" + "OwnerKey" = "8:_9CCA3CBAA527443294E12C0531E871DD" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_B85447E82F233EDC44E9E1B01C9D0F34" + "OwnerKey" = "8:_E3D0A6FB355A4EEAB008A5BEF4D333D3" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_B85447E82F233EDC44E9E1B01C9D0F34" + "OwnerKey" = "8:_B54170EB482D4C0A92074CE3C6E550BD" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_B85447E82F233EDC44E9E1B01C9D0F34" + "OwnerKey" = "8:_CF4BC0FBB809D9512674750602812472" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_B85447E82F233EDC44E9E1B01C9D0F34" + "OwnerKey" = "8:_44B10BD5C45C69957E1AFCAD6BF10485" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_B85447E82F233EDC44E9E1B01C9D0F34" + "OwnerKey" = "8:_01DFED249049DDA72757FA18F4680151" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_B85447E82F233EDC44E9E1B01C9D0F34" + "OwnerKey" = "8:_CF83C7FEDEC9BC4B657C71FCF7227058" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_B85447E82F233EDC44E9E1B01C9D0F34" + "OwnerKey" = "8:_045EC7442D5DE0F8BFC16091D4D0E81D" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_B85447E82F233EDC44E9E1B01C9D0F34" + "OwnerKey" = "8:_C0D114703ACF4E88B4B47D7F4E04960C" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_B85447E82F233EDC44E9E1B01C9D0F34" + "OwnerKey" = "8:_2F3DF2C97193539E507701F57A86CA4C" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_B85447E82F233EDC44E9E1B01C9D0F34" + "OwnerKey" = "8:_D9EDC201718B1D32E78471AA154D1175" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_B85447E82F233EDC44E9E1B01C9D0F34" + "OwnerKey" = "8:_EE87D8D198A25894F219EBFDE24A8758" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_B85447E82F233EDC44E9E1B01C9D0F34" + "OwnerKey" = "8:_03BA8ACDDDBF6520B59F51E73C4D971D" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_B85447E82F233EDC44E9E1B01C9D0F34" + "OwnerKey" = "8:_F0EFB4C551D3C7B408B65BEF69D52472" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_B85447E82F233EDC44E9E1B01C9D0F34" + "OwnerKey" = "8:_7B1123BEF5320FEEA1E91AE63DBD99ED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_B85447E82F233EDC44E9E1B01C9D0F34" + "OwnerKey" = "8:_57D7430D26C37BBE513C3DEF41482CB8" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_B85447E82F233EDC44E9E1B01C9D0F34" + "OwnerKey" = "8:_F4CE69ADDB7FA8085884D6DBD0378DDB" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_B85447E82F233EDC44E9E1B01C9D0F34" + "OwnerKey" = "8:_3D6C365612F792A384DA60D1A3F22B8F" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_B85447E82F233EDC44E9E1B01C9D0F34" + "OwnerKey" = "8:_E4CAF456C17123C182993937E22CEC06" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_B85447E82F233EDC44E9E1B01C9D0F34" + "OwnerKey" = "8:_BC31A8CC4EE0FEACA6403236951B65CF" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_B85447E82F233EDC44E9E1B01C9D0F34" + "OwnerKey" = "8:_2A334B668DCE33BCF921B34BEEE353B3" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_B85447E82F233EDC44E9E1B01C9D0F34" + "OwnerKey" = "8:_306F6D4ED3C9CFFEE088095DA0C76780" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_B85447E82F233EDC44E9E1B01C9D0F34" + "OwnerKey" = "8:_B96BF8D9E3FF5E8CDFD69659FF75C052" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_B85447E82F233EDC44E9E1B01C9D0F34" + "OwnerKey" = "8:_179F68EB6691A388BE34A6557619EB81" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_B85447E82F233EDC44E9E1B01C9D0F34" + "OwnerKey" = "8:_5AA5C97011089B80E80258C54FC9B702" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_B85447E82F233EDC44E9E1B01C9D0F34" + "OwnerKey" = "8:_73AD4875357913BE8D8902DEE60B3E2F" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_B85447E82F233EDC44E9E1B01C9D0F34" + "OwnerKey" = "8:_E0FE5833AD3E054566DD4BE6AD0607BD" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_B85447E82F233EDC44E9E1B01C9D0F34" + "OwnerKey" = "8:_0EAABA4E186AE44B95DDA8539C36051A" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_B85447E82F233EDC44E9E1B01C9D0F34" + "OwnerKey" = "8:_026AA5F28014499D2CA48D39AEBA8A0D" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_B85447E82F233EDC44E9E1B01C9D0F34" + "OwnerKey" = "8:_786BFC89E84C53F8CFD5DCFE4E5A2C50" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_B85447E82F233EDC44E9E1B01C9D0F34" + "OwnerKey" = "8:_8C0A8BA04215433A1B10CC5A37BD3134" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_B85447E82F233EDC44E9E1B01C9D0F34" + "OwnerKey" = "8:_116EB9729A93F5A9EEF73567733F8298" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_B85447E82F233EDC44E9E1B01C9D0F34" + "OwnerKey" = "8:_B7EF0CBFEF347A276FB32A581D514536" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_B85447E82F233EDC44E9E1B01C9D0F34" + "OwnerKey" = "8:_9C6B1512878A30BB57B7470F506D4392" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_B85447E82F233EDC44E9E1B01C9D0F34" + "OwnerKey" = "8:_537EFDE831D746D17ADF3C0DB87B44A5" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_B85447E82F233EDC44E9E1B01C9D0F34" + "OwnerKey" = "8:_41AD63FF8C31C0A57A86209D0A6E5C80" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_B85447E82F233EDC44E9E1B01C9D0F34" + "OwnerKey" = "8:_6C7EC0ABAE9AAD4FC604C53BE8578137" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_B85447E82F233EDC44E9E1B01C9D0F34" + "OwnerKey" = "8:_BED09B653C2F1CCE5964EF9EACD6B1EE" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_B85447E82F233EDC44E9E1B01C9D0F34" + "OwnerKey" = "8:_94F347547CB6AB524CDD9532C9708415" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_B85447E82F233EDC44E9E1B01C9D0F34" + "OwnerKey" = "8:_A4C5548E242439A424F0DC360FC3CA1D" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_B85447E82F233EDC44E9E1B01C9D0F34" + "OwnerKey" = "8:_51F23CC790B4896F4232F5B87B191C29" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_B85447E82F233EDC44E9E1B01C9D0F34" + "OwnerKey" = "8:_25119C0EDD984B380F70507E568E7EC3" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_B85447E82F233EDC44E9E1B01C9D0F34" + "OwnerKey" = "8:_15554B3D9AB1703D58B0D31D6923E3C0" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_B85447E82F233EDC44E9E1B01C9D0F34" + "OwnerKey" = "8:_9ACDBEABECC7440F13251DB88B9C7DD6" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_B85447E82F233EDC44E9E1B01C9D0F34" + "OwnerKey" = "8:_FCF185846CF41F04637293C35A21BF70" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_B85447E82F233EDC44E9E1B01C9D0F34" + "OwnerKey" = "8:_0C0770DF84ADB725BCC3B9FE50E944AD" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_B85447E82F233EDC44E9E1B01C9D0F34" + "OwnerKey" = "8:_8D9B92E094235D3CA8C0E0C80887BD9C" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_B85447E82F233EDC44E9E1B01C9D0F34" + "OwnerKey" = "8:_7D208C9FD90C6A50A40A16AA75D2015F" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_B85447E82F233EDC44E9E1B01C9D0F34" + "OwnerKey" = "8:_3EBF7A465C0CBA88AD6F19B254EF89C2" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_B85447E82F233EDC44E9E1B01C9D0F34" + "OwnerKey" = "8:_F6A075E3ABB3C787DAC223D19765A5EF" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_B85447E82F233EDC44E9E1B01C9D0F34" + "OwnerKey" = "8:_EE15A25C01E88F5B27815C3177A0A8C9" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_B85447E82F233EDC44E9E1B01C9D0F34" + "OwnerKey" = "8:_A504707907BDD8C193F5FD8FD3CA6D90" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_B85447E82F233EDC44E9E1B01C9D0F34" + "OwnerKey" = "8:_F0DFE7E3E5BBF1E65BC15B064AAE986E" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_B89EC8CDA071487ABA6E99DB1029E6C3" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_B96BF8D9E3FF5E8CDFD69659FF75C052" + "OwnerKey" = "8:_179F68EB6691A388BE34A6557619EB81" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_B96BF8D9E3FF5E8CDFD69659FF75C052" + "OwnerKey" = "8:_DD58016D60544560AA5E49FFE8AF107F" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_B96BF8D9E3FF5E8CDFD69659FF75C052" + "OwnerKey" = "8:_21A2529647604DFFB1092B225884ECB6" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_B96BF8D9E3FF5E8CDFD69659FF75C052" + "OwnerKey" = "8:_9C3FE60D2CB641EB8C20EB0A946F9793" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_B96BF8D9E3FF5E8CDFD69659FF75C052" + "OwnerKey" = "8:_E244DF62356040C99174B6A95091F933" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_B96BF8D9E3FF5E8CDFD69659FF75C052" + "OwnerKey" = "8:_DCB56155B9554650BA7B0BF6B07C7CB0" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_B96BF8D9E3FF5E8CDFD69659FF75C052" + "OwnerKey" = "8:_C653534C72A8445D83D5885D02245F61" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_B96BF8D9E3FF5E8CDFD69659FF75C052" + "OwnerKey" = "8:_0DF687C0AA8641C092D2E3977BBDEFA7" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_B96BF8D9E3FF5E8CDFD69659FF75C052" + "OwnerKey" = "8:_67EB7D0AB53C9905790E1D5A3283B7A4" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_B96BF8D9E3FF5E8CDFD69659FF75C052" + "OwnerKey" = "8:_199C4E0C921D4A5DAEC115D1B8C45FD4" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_B96BF8D9E3FF5E8CDFD69659FF75C052" + "OwnerKey" = "8:_E485E664B108312262981F501B2F4848" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_B96BF8D9E3FF5E8CDFD69659FF75C052" + "OwnerKey" = "8:_00870ADAC0484A5D86D37C9A575CCF3D" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_B96BF8D9E3FF5E8CDFD69659FF75C052" + "OwnerKey" = "8:_9AEFF85A1F0544D48C72F1BBB0330C90" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_B96BF8D9E3FF5E8CDFD69659FF75C052" + "OwnerKey" = "8:_D622EAEACBA547CB5BB0B80EF2F9FBEC" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_B96BF8D9E3FF5E8CDFD69659FF75C052" + "OwnerKey" = "8:_9CCA3CBAA527443294E12C0531E871DD" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_B96BF8D9E3FF5E8CDFD69659FF75C052" + "OwnerKey" = "8:_BB5D05F989ED8A2E317A56C4C530C771" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_B96BF8D9E3FF5E8CDFD69659FF75C052" + "OwnerKey" = "8:_C0D114703ACF4E88B4B47D7F4E04960C" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_B96BF8D9E3FF5E8CDFD69659FF75C052" + "OwnerKey" = "8:_3D6C365612F792A384DA60D1A3F22B8F" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_B96BF8D9E3FF5E8CDFD69659FF75C052" + "OwnerKey" = "8:_5AA5C97011089B80E80258C54FC9B702" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_B96BF8D9E3FF5E8CDFD69659FF75C052" + "OwnerKey" = "8:_BC31A8CC4EE0FEACA6403236951B65CF" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_B9A463F73DBC4127BD9C474727649628" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_BB5D05F989ED8A2E317A56C4C530C771" + "OwnerKey" = "8:_C0D114703ACF4E88B4B47D7F4E04960C" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_BB5D05F989ED8A2E317A56C4C530C771" + "OwnerKey" = "8:_9C3FE60D2CB641EB8C20EB0A946F9793" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_BB5D05F989ED8A2E317A56C4C530C771" + "OwnerKey" = "8:_D622EAEACBA547CB5BB0B80EF2F9FBEC" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_BB9BDFAB061A475D834F5B2188B1B0DF" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_BC1D614220704E83BF04A1DD4DF65D98" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_BC31A8CC4EE0FEACA6403236951B65CF" + "OwnerKey" = "8:_5AA5C97011089B80E80258C54FC9B702" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_BC31A8CC4EE0FEACA6403236951B65CF" + "OwnerKey" = "8:_9C3FE60D2CB641EB8C20EB0A946F9793" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_BC31A8CC4EE0FEACA6403236951B65CF" + "OwnerKey" = "8:_D622EAEACBA547CB5BB0B80EF2F9FBEC" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_BC31A8CC4EE0FEACA6403236951B65CF" + "OwnerKey" = "8:_9CCA3CBAA527443294E12C0531E871DD" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_BC31A8CC4EE0FEACA6403236951B65CF" + "OwnerKey" = "8:_C0D114703ACF4E88B4B47D7F4E04960C" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_BC3E5B1940FE4B48AF468D860BC359CA" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_BED09B653C2F1CCE5964EF9EACD6B1EE" + "OwnerKey" = "8:_94F347547CB6AB524CDD9532C9708415" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_BED09B653C2F1CCE5964EF9EACD6B1EE" + "OwnerKey" = "8:_21A2529647604DFFB1092B225884ECB6" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_BED09B653C2F1CCE5964EF9EACD6B1EE" + "OwnerKey" = "8:_02E4613E8AEB4925B0909C28C1269A91" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_BED09B653C2F1CCE5964EF9EACD6B1EE" + "OwnerKey" = "8:_DC8D8DBC37CC4A48BAF0DC5E82766D9C" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_BED09B653C2F1CCE5964EF9EACD6B1EE" + "OwnerKey" = "8:_9C3FE60D2CB641EB8C20EB0A946F9793" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_BED09B653C2F1CCE5964EF9EACD6B1EE" + "OwnerKey" = "8:_6BBC70E12174480BB9AA2BB5387E54BF" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_BED09B653C2F1CCE5964EF9EACD6B1EE" + "OwnerKey" = "8:_E9906790AA414B2588DD26786A294C29" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_BED09B653C2F1CCE5964EF9EACD6B1EE" + "OwnerKey" = "8:_FE23B45386AF0F9D3FB137DB948A7F53" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_BED09B653C2F1CCE5964EF9EACD6B1EE" + "OwnerKey" = "8:_67EB7D0AB53C9905790E1D5A3283B7A4" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_BED09B653C2F1CCE5964EF9EACD6B1EE" + "OwnerKey" = "8:_D622EAEACBA547CB5BB0B80EF2F9FBEC" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_BED09B653C2F1CCE5964EF9EACD6B1EE" + "OwnerKey" = "8:_9CCA3CBAA527443294E12C0531E871DD" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_BED09B653C2F1CCE5964EF9EACD6B1EE" + "OwnerKey" = "8:_C0D114703ACF4E88B4B47D7F4E04960C" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_BED09B653C2F1CCE5964EF9EACD6B1EE" + "OwnerKey" = "8:_5AA5C97011089B80E80258C54FC9B702" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_BED09B653C2F1CCE5964EF9EACD6B1EE" + "OwnerKey" = "8:_C667F7C6655F91B4FF60A357F0D2A867" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_BED09B653C2F1CCE5964EF9EACD6B1EE" + "OwnerKey" = "8:_6C7EC0ABAE9AAD4FC604C53BE8578137" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_BF578F84AA594469A2CC0ECFC59BF0D3" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_BF6D49BA584844B1A9F5E6E585DED179" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_BF6FA047AD43E7C5F38C9A269AEC153C" + "OwnerKey" = "8:_C0D114703ACF4E88B4B47D7F4E04960C" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_BF6FA047AD43E7C5F38C9A269AEC153C" + "OwnerKey" = "8:_9C3FE60D2CB641EB8C20EB0A946F9793" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_BF6FA047AD43E7C5F38C9A269AEC153C" + "OwnerKey" = "8:_D622EAEACBA547CB5BB0B80EF2F9FBEC" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_C045B86585D343B19AA768912074765E" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_C0C5097D17F34D15B8B17E20FDDC9766" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_C0D114703ACF4E88B4B47D7F4E04960C" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_C103690E86C44D55ADF044659BA17520" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_C29ACC3724DB497CBA634956BDFC3607" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_C463FD2014144D3ABFE41C612D35C014" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_C4F6A258DAC346B5896CAD352E89A653" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_C653534C72A8445D83D5885D02245F61" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_C667F7C6655F91B4FF60A357F0D2A867" + "OwnerKey" = "8:_5AA5C97011089B80E80258C54FC9B702" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_C667F7C6655F91B4FF60A357F0D2A867" + "OwnerKey" = "8:_6677F7DDE833487685A5365B814C948E" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_C667F7C6655F91B4FF60A357F0D2A867" + "OwnerKey" = "8:_9C3FE60D2CB641EB8C20EB0A946F9793" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_C667F7C6655F91B4FF60A357F0D2A867" + "OwnerKey" = "8:_3B22C3ECB76E01BF3655CCA58F521AE4" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_C667F7C6655F91B4FF60A357F0D2A867" + "OwnerKey" = "8:_94C9DE074F8C4B2D8EB109CFFB219D60" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_C667F7C6655F91B4FF60A357F0D2A867" + "OwnerKey" = "8:_43391991848647868BF2E89CF637D486" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_C667F7C6655F91B4FF60A357F0D2A867" + "OwnerKey" = "8:_D622EAEACBA547CB5BB0B80EF2F9FBEC" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_C667F7C6655F91B4FF60A357F0D2A867" + "OwnerKey" = "8:_9CCA3CBAA527443294E12C0531E871DD" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_C667F7C6655F91B4FF60A357F0D2A867" + "OwnerKey" = "8:_546EE584F91948C5A7CAF60245145DE3" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_C667F7C6655F91B4FF60A357F0D2A867" + "OwnerKey" = "8:_C0D114703ACF4E88B4B47D7F4E04960C" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_C69BBEF08C88477D8A7539AF17B2A342" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_C922CCA4B33A3F683FACF8530ED7F75B" + "OwnerKey" = "8:_5AA5C97011089B80E80258C54FC9B702" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_C922CCA4B33A3F683FACF8530ED7F75B" + "OwnerKey" = "8:_9C3FE60D2CB641EB8C20EB0A946F9793" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_C922CCA4B33A3F683FACF8530ED7F75B" + "OwnerKey" = "8:_00870ADAC0484A5D86D37C9A575CCF3D" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_C922CCA4B33A3F683FACF8530ED7F75B" + "OwnerKey" = "8:_9AEFF85A1F0544D48C72F1BBB0330C90" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_C922CCA4B33A3F683FACF8530ED7F75B" + "OwnerKey" = "8:_D622EAEACBA547CB5BB0B80EF2F9FBEC" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_C922CCA4B33A3F683FACF8530ED7F75B" + "OwnerKey" = "8:_9CCA3CBAA527443294E12C0531E871DD" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_C922CCA4B33A3F683FACF8530ED7F75B" + "OwnerKey" = "8:_C0D114703ACF4E88B4B47D7F4E04960C" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_CA4B52A27EAD6182A25A7C52717E27A1" + "OwnerKey" = "8:_C0D114703ACF4E88B4B47D7F4E04960C" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_CA4B52A27EAD6182A25A7C52717E27A1" + "OwnerKey" = "8:_9C3FE60D2CB641EB8C20EB0A946F9793" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_CA4B52A27EAD6182A25A7C52717E27A1" + "OwnerKey" = "8:_D622EAEACBA547CB5BB0B80EF2F9FBEC" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_CB93347BD17E465AB8DCE6E7803A8994" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_CCB0E2DD4EC24AC48AB00B2CCA442F57" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_CD0B73F02BEE67C9B93B8E32BF37D932" + "OwnerKey" = "8:_C0D114703ACF4E88B4B47D7F4E04960C" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_CD0B73F02BEE67C9B93B8E32BF37D932" + "OwnerKey" = "8:_9C3FE60D2CB641EB8C20EB0A946F9793" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_CD0B73F02BEE67C9B93B8E32BF37D932" + "OwnerKey" = "8:_D622EAEACBA547CB5BB0B80EF2F9FBEC" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_CD1D31055FF14AFBB6846698B54D5C38" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_CF4BC0FBB809D9512674750602812472" + "OwnerKey" = "8:_546EE584F91948C5A7CAF60245145DE3" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_CF5F023E64024115B138FC74C0E7ED3D" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_CF6116D74539692C6BD1F1CF4D8059DF" + "OwnerKey" = "8:_5AA5C97011089B80E80258C54FC9B702" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_CF6116D74539692C6BD1F1CF4D8059DF" + "OwnerKey" = "8:_9C3FE60D2CB641EB8C20EB0A946F9793" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_CF6116D74539692C6BD1F1CF4D8059DF" + "OwnerKey" = "8:_3F601349F92346E791DC4D9412E93FA5" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_CF6116D74539692C6BD1F1CF4D8059DF" + "OwnerKey" = "8:_D622EAEACBA547CB5BB0B80EF2F9FBEC" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_CF6116D74539692C6BD1F1CF4D8059DF" + "OwnerKey" = "8:_9CCA3CBAA527443294E12C0531E871DD" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_CF6116D74539692C6BD1F1CF4D8059DF" + "OwnerKey" = "8:_C0D114703ACF4E88B4B47D7F4E04960C" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_CF6116D74539692C6BD1F1CF4D8059DF" + "OwnerKey" = "8:_AFF383A44DAB874177E2A7ABE4745AF7" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_CF6A574E633AAD24E09D1D01FAF8B744" + "OwnerKey" = "8:_5AA5C97011089B80E80258C54FC9B702" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_CF6A574E633AAD24E09D1D01FAF8B744" + "OwnerKey" = "8:_9C3FE60D2CB641EB8C20EB0A946F9793" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_CF6A574E633AAD24E09D1D01FAF8B744" + "OwnerKey" = "8:_9AEFF85A1F0544D48C72F1BBB0330C90" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_CF6A574E633AAD24E09D1D01FAF8B744" + "OwnerKey" = "8:_D622EAEACBA547CB5BB0B80EF2F9FBEC" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_CF6A574E633AAD24E09D1D01FAF8B744" + "OwnerKey" = "8:_9CCA3CBAA527443294E12C0531E871DD" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_CF6A574E633AAD24E09D1D01FAF8B744" + "OwnerKey" = "8:_C0D114703ACF4E88B4B47D7F4E04960C" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_CF83C7FEDEC9BC4B657C71FCF7227058" + "OwnerKey" = "8:_045EC7442D5DE0F8BFC16091D4D0E81D" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_CF83C7FEDEC9BC4B657C71FCF7227058" + "OwnerKey" = "8:_A465D5ADCCED41E8A8F9DE1412BEE105" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_CF83C7FEDEC9BC4B657C71FCF7227058" + "OwnerKey" = "8:_9C3FE60D2CB641EB8C20EB0A946F9793" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_CF83C7FEDEC9BC4B657C71FCF7227058" + "OwnerKey" = "8:_D622EAEACBA547CB5BB0B80EF2F9FBEC" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_CF83C7FEDEC9BC4B657C71FCF7227058" + "OwnerKey" = "8:_C0D114703ACF4E88B4B47D7F4E04960C" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_D05D4208BF233B832E5219D7F78FB58C" + "OwnerKey" = "8:_C0D114703ACF4E88B4B47D7F4E04960C" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_D05D4208BF233B832E5219D7F78FB58C" + "OwnerKey" = "8:_9C3FE60D2CB641EB8C20EB0A946F9793" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_D05D4208BF233B832E5219D7F78FB58C" + "OwnerKey" = "8:_D622EAEACBA547CB5BB0B80EF2F9FBEC" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_D0B3A652520B49CC8F4841279D757E59" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_D0DC57FA2200CA5B096E420B4E9B0BD3" + "OwnerKey" = "8:_C0D114703ACF4E88B4B47D7F4E04960C" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_D0DC57FA2200CA5B096E420B4E9B0BD3" + "OwnerKey" = "8:_9C3FE60D2CB641EB8C20EB0A946F9793" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_D0DC57FA2200CA5B096E420B4E9B0BD3" + "OwnerKey" = "8:_D622EAEACBA547CB5BB0B80EF2F9FBEC" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_D1A2212220B9F62101AB23547275030D" + "OwnerKey" = "8:_C0D114703ACF4E88B4B47D7F4E04960C" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_D1A2212220B9F62101AB23547275030D" + "OwnerKey" = "8:_9C3FE60D2CB641EB8C20EB0A946F9793" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_D1A2212220B9F62101AB23547275030D" + "OwnerKey" = "8:_D622EAEACBA547CB5BB0B80EF2F9FBEC" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_D2F5B1B67E847180D49B9AC0EC1B558D" + "OwnerKey" = "8:_8BF63CB8BADA5718336FE254291A8F66" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_D33EA1FEE5C8548B966E460AA1821279" + "OwnerKey" = "8:_C0D114703ACF4E88B4B47D7F4E04960C" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_D33EA1FEE5C8548B966E460AA1821279" + "OwnerKey" = "8:_9C3FE60D2CB641EB8C20EB0A946F9793" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_D33EA1FEE5C8548B966E460AA1821279" + "OwnerKey" = "8:_D622EAEACBA547CB5BB0B80EF2F9FBEC" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_D34A9B35C4B0434C9A63DD65EEDC1226" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_D3633B8ABDC546FD9B706F87CA11EB0D" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_D4223ED3C06A3558BE43C03E1122A235" + "OwnerKey" = "8:_F0DFE7E3E5BBF1E65BC15B064AAE986E" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_D4223ED3C06A3558BE43C03E1122A235" + "OwnerKey" = "8:_A09D5E52064B4EE8B58F413F03CA7A4C" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_D4223ED3C06A3558BE43C03E1122A235" + "OwnerKey" = "8:_B14294C19B2D48C39AC7F29189EFC261" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_D4223ED3C06A3558BE43C03E1122A235" + "OwnerKey" = "8:_42E776DCC37C447AB3D84285C5BC636A" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_D4223ED3C06A3558BE43C03E1122A235" + "OwnerKey" = "8:_BB9BDFAB061A475D834F5B2188B1B0DF" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_D4223ED3C06A3558BE43C03E1122A235" + "OwnerKey" = "8:_DA0E578E801344D796ECF6D33EFC3C6B" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_D4223ED3C06A3558BE43C03E1122A235" + "OwnerKey" = "8:_B7EC99BD89A446C2BA73214BA2CAE40B" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_D4223ED3C06A3558BE43C03E1122A235" + "OwnerKey" = "8:_0D4B1FACED7C406C8B45A2D42A956E94" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_D4223ED3C06A3558BE43C03E1122A235" + "OwnerKey" = "8:_3CBC60FF3B1D487BBD2C5E8B7C1343DA" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_D4223ED3C06A3558BE43C03E1122A235" + "OwnerKey" = "8:_A465D5ADCCED41E8A8F9DE1412BEE105" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_D4223ED3C06A3558BE43C03E1122A235" + "OwnerKey" = "8:_292CB48DD2234C5C9F966039981DA3DC" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_D4223ED3C06A3558BE43C03E1122A235" + "OwnerKey" = "8:_468BE8638DF04F0D822D6B0D3236D456" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_D4223ED3C06A3558BE43C03E1122A235" + "OwnerKey" = "8:_6677F7DDE833487685A5365B814C948E" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_D4223ED3C06A3558BE43C03E1122A235" + "OwnerKey" = "8:_21A2529647604DFFB1092B225884ECB6" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_D4223ED3C06A3558BE43C03E1122A235" + "OwnerKey" = "8:_02E4613E8AEB4925B0909C28C1269A91" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_D4223ED3C06A3558BE43C03E1122A235" + "OwnerKey" = "8:_DC8D8DBC37CC4A48BAF0DC5E82766D9C" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_D4223ED3C06A3558BE43C03E1122A235" + "OwnerKey" = "8:_5C96648DAA0847C7A5CEF0E0BD4C972A" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_D4223ED3C06A3558BE43C03E1122A235" + "OwnerKey" = "8:_D3633B8ABDC546FD9B706F87CA11EB0D" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_D4223ED3C06A3558BE43C03E1122A235" + "OwnerKey" = "8:_A6C1C68CC7C7465EAA60A8FD628288E5" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_D4223ED3C06A3558BE43C03E1122A235" + "OwnerKey" = "8:_9DD7D99ADB14464CAAD4E8856EDD4D90" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_D4223ED3C06A3558BE43C03E1122A235" + "OwnerKey" = "8:_95B62EB18B59449F80C102E0FA4D469D" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_D4223ED3C06A3558BE43C03E1122A235" + "OwnerKey" = "8:_8B53F9CC53E544008D7A343B8E9AEA3B" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_D4223ED3C06A3558BE43C03E1122A235" + "OwnerKey" = "8:_557C57CC46F148689753FD02506E0594" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_D4223ED3C06A3558BE43C03E1122A235" + "OwnerKey" = "8:_CB93347BD17E465AB8DCE6E7803A8994" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_D4223ED3C06A3558BE43C03E1122A235" + "OwnerKey" = "8:_84AAC1ACC0F64471AD96E00B04F96574" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_D4223ED3C06A3558BE43C03E1122A235" + "OwnerKey" = "8:_9C3FE60D2CB641EB8C20EB0A946F9793" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_D4223ED3C06A3558BE43C03E1122A235" + "OwnerKey" = "8:_7C075794BA3C4A028240B57A3EFB2A90" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_D4223ED3C06A3558BE43C03E1122A235" + "OwnerKey" = "8:_232ACD7603294423A9F576A29A52830E" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_D4223ED3C06A3558BE43C03E1122A235" + "OwnerKey" = "8:_49C1343ACD0F441A8A99D6F86F64B590" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_D4223ED3C06A3558BE43C03E1122A235" + "OwnerKey" = "8:_53492C665B5D49D7B4705F3E23562157" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_D4223ED3C06A3558BE43C03E1122A235" + "OwnerKey" = "8:_20FFD0CF6C92429FAA25626C12E1F20C" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_D4223ED3C06A3558BE43C03E1122A235" + "OwnerKey" = "8:_ADECACE59CB14E8BA77539E1543F3F9E" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_D4223ED3C06A3558BE43C03E1122A235" + "OwnerKey" = "8:_17D03F5442B743769AF147B534D842BB" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_D4223ED3C06A3558BE43C03E1122A235" + "OwnerKey" = "8:_624C2F74AFC9428AA2BE6445E388E8B5" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_D4223ED3C06A3558BE43C03E1122A235" + "OwnerKey" = "8:_594F61C6642845DF974AAD0E91EF9A37" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_D4223ED3C06A3558BE43C03E1122A235" + "OwnerKey" = "8:_2AD130904BC84DEA8501024AA232FC4E" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_D4223ED3C06A3558BE43C03E1122A235" + "OwnerKey" = "8:_C653534C72A8445D83D5885D02245F61" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_D4223ED3C06A3558BE43C03E1122A235" + "OwnerKey" = "8:_0DF687C0AA8641C092D2E3977BBDEFA7" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_D4223ED3C06A3558BE43C03E1122A235" + "OwnerKey" = "8:_01EB6D17530A47109F2D66319328C67C" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_D4223ED3C06A3558BE43C03E1122A235" + "OwnerKey" = "8:_65D9AE21D2AE47DCA4A5090D290FB85C" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_D4223ED3C06A3558BE43C03E1122A235" + "OwnerKey" = "8:_64770AF066B54BE3B8569E19B19E6B53" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_D4223ED3C06A3558BE43C03E1122A235" + "OwnerKey" = "8:_09A62DF5B6844A1F97C767EC8D252742" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_D4223ED3C06A3558BE43C03E1122A235" + "OwnerKey" = "8:_AEB8C3BFA7FB4D8F8F36840AEC216303" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_D4223ED3C06A3558BE43C03E1122A235" + "OwnerKey" = "8:_EB3961FC5BF146C49AB55CC9768DA841" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_D4223ED3C06A3558BE43C03E1122A235" + "OwnerKey" = "8:_B419E6174B6348818E0717CEB95B287E" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_D4223ED3C06A3558BE43C03E1122A235" + "OwnerKey" = "8:_D0B3A652520B49CC8F4841279D757E59" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_D4223ED3C06A3558BE43C03E1122A235" + "OwnerKey" = "8:_6FAA499E74924D14BE2D95B3A55D4555" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_D4223ED3C06A3558BE43C03E1122A235" + "OwnerKey" = "8:_80700DA2DA0B4A82B43212E33F09A43C" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_D4223ED3C06A3558BE43C03E1122A235" + "OwnerKey" = "8:_3C19985D42B149389722FDE758E65B17" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_D4223ED3C06A3558BE43C03E1122A235" + "OwnerKey" = "8:_6BBC70E12174480BB9AA2BB5387E54BF" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_D4223ED3C06A3558BE43C03E1122A235" + "OwnerKey" = "8:_DF6FCAF566474F6C802DF369530FB263" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_D4223ED3C06A3558BE43C03E1122A235" + "OwnerKey" = "8:_3B22C3ECB76E01BF3655CCA58F521AE4" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_D4223ED3C06A3558BE43C03E1122A235" + "OwnerKey" = "8:_CF5F023E64024115B138FC74C0E7ED3D" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_D4223ED3C06A3558BE43C03E1122A235" + "OwnerKey" = "8:_9A56688DC4D7494CBD7F5A9327D1F188" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_D4223ED3C06A3558BE43C03E1122A235" + "OwnerKey" = "8:_EB7787F6A450460E98169BCFF7B5668A" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_D4223ED3C06A3558BE43C03E1122A235" + "OwnerKey" = "8:_0036124F08D44E92A70B64B41140023F" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_D4223ED3C06A3558BE43C03E1122A235" + "OwnerKey" = "8:_8438E7C8CC49448093B99673A2CC034F" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_D4223ED3C06A3558BE43C03E1122A235" + "OwnerKey" = "8:_E9906790AA414B2588DD26786A294C29" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_D4223ED3C06A3558BE43C03E1122A235" + "OwnerKey" = "8:_B35F3A0A06D64AB3A82CEAFE7EA8DBF9" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_D4223ED3C06A3558BE43C03E1122A235" + "OwnerKey" = "8:_05581D908989450DBE2EF42B84501484" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_D4223ED3C06A3558BE43C03E1122A235" + "OwnerKey" = "8:_8A40B1029BB841ED88E1DEEF003820D3" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_D4223ED3C06A3558BE43C03E1122A235" + "OwnerKey" = "8:_82C511A0589641DFA0DBE670DBE561CD" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_D4223ED3C06A3558BE43C03E1122A235" + "OwnerKey" = "8:_93CE5D9EAEFF4448ADF4B8776D5DFD70" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_D4223ED3C06A3558BE43C03E1122A235" + "OwnerKey" = "8:_FE23B45386AF0F9D3FB137DB948A7F53" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_D4223ED3C06A3558BE43C03E1122A235" + "OwnerKey" = "8:_67EB7D0AB53C9905790E1D5A3283B7A4" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_D4223ED3C06A3558BE43C03E1122A235" + "OwnerKey" = "8:_199C4E0C921D4A5DAEC115D1B8C45FD4" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_D4223ED3C06A3558BE43C03E1122A235" + "OwnerKey" = "8:_5291B57ED0674E68992853A555A116C3" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_D4223ED3C06A3558BE43C03E1122A235" + "OwnerKey" = "8:_E62C1A012A4E40798DE80BE3E6A4E951" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_D4223ED3C06A3558BE43C03E1122A235" + "OwnerKey" = "8:_EDF89CFEB9CD4C0DA79593E87E6BFE27" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_D4223ED3C06A3558BE43C03E1122A235" + "OwnerKey" = "8:_00870ADAC0484A5D86D37C9A575CCF3D" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_D4223ED3C06A3558BE43C03E1122A235" + "OwnerKey" = "8:_7D1AF215AEF542A188BD95BB372EDFBF" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_D4223ED3C06A3558BE43C03E1122A235" + "OwnerKey" = "8:_32E3293A11F646DC9EC2E3A882DAA405" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_D4223ED3C06A3558BE43C03E1122A235" + "OwnerKey" = "8:_BF6D49BA584844B1A9F5E6E585DED179" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_D4223ED3C06A3558BE43C03E1122A235" + "OwnerKey" = "8:_B18DAA15A2D144CAB805DF98395AA6E6" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_D4223ED3C06A3558BE43C03E1122A235" + "OwnerKey" = "8:_24DE3229C3EB23D88DA6489295CECC60" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_D4223ED3C06A3558BE43C03E1122A235" + "OwnerKey" = "8:_9AEFF85A1F0544D48C72F1BBB0330C90" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_D4223ED3C06A3558BE43C03E1122A235" + "OwnerKey" = "8:_D622EAEACBA547CB5BB0B80EF2F9FBEC" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_D4223ED3C06A3558BE43C03E1122A235" + "OwnerKey" = "8:_9CCA3CBAA527443294E12C0531E871DD" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_D4223ED3C06A3558BE43C03E1122A235" + "OwnerKey" = "8:_B89EC8CDA071487ABA6E99DB1029E6C3" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_D4223ED3C06A3558BE43C03E1122A235" + "OwnerKey" = "8:_D64A9B36F8244321A075359E498601DC" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_D4223ED3C06A3558BE43C03E1122A235" + "OwnerKey" = "8:_B54170EB482D4C0A92074CE3C6E550BD" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_D4223ED3C06A3558BE43C03E1122A235" + "OwnerKey" = "8:_1AFFE18A5663E9DC4F95DA808CC22BC4" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_D4223ED3C06A3558BE43C03E1122A235" + "OwnerKey" = "8:_44B10BD5C45C69957E1AFCAD6BF10485" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_D4223ED3C06A3558BE43C03E1122A235" + "OwnerKey" = "8:_546EE584F91948C5A7CAF60245145DE3" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_D4223ED3C06A3558BE43C03E1122A235" + "OwnerKey" = "8:_2A658EAC69E52B448271E6CAAD1B1B7F" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_D4223ED3C06A3558BE43C03E1122A235" + "OwnerKey" = "8:_01DFED249049DDA72757FA18F4680151" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_D4223ED3C06A3558BE43C03E1122A235" + "OwnerKey" = "8:_045EC7442D5DE0F8BFC16091D4D0E81D" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_D4223ED3C06A3558BE43C03E1122A235" + "OwnerKey" = "8:_2F3DF2C97193539E507701F57A86CA4C" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_D4223ED3C06A3558BE43C03E1122A235" + "OwnerKey" = "8:_D9EDC201718B1D32E78471AA154D1175" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_D4223ED3C06A3558BE43C03E1122A235" + "OwnerKey" = "8:_EE87D8D198A25894F219EBFDE24A8758" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_D4223ED3C06A3558BE43C03E1122A235" + "OwnerKey" = "8:_03BA8ACDDDBF6520B59F51E73C4D971D" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_D4223ED3C06A3558BE43C03E1122A235" + "OwnerKey" = "8:_C0D114703ACF4E88B4B47D7F4E04960C" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_D4223ED3C06A3558BE43C03E1122A235" + "OwnerKey" = "8:_189E57FC8047020AFCDB33ED035A7570" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_D4223ED3C06A3558BE43C03E1122A235" + "OwnerKey" = "8:_F0EFB4C551D3C7B408B65BEF69D52472" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_D4223ED3C06A3558BE43C03E1122A235" + "OwnerKey" = "8:_2F94E013CF4ADD4522DADF1B2CC2DE3C" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_D4223ED3C06A3558BE43C03E1122A235" + "OwnerKey" = "8:_7B1123BEF5320FEEA1E91AE63DBD99ED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_D4223ED3C06A3558BE43C03E1122A235" + "OwnerKey" = "8:_BC31A8CC4EE0FEACA6403236951B65CF" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_D4223ED3C06A3558BE43C03E1122A235" + "OwnerKey" = "8:_306F6D4ED3C9CFFEE088095DA0C76780" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_D4223ED3C06A3558BE43C03E1122A235" + "OwnerKey" = "8:_B96BF8D9E3FF5E8CDFD69659FF75C052" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_D4223ED3C06A3558BE43C03E1122A235" + "OwnerKey" = "8:_179F68EB6691A388BE34A6557619EB81" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_D4223ED3C06A3558BE43C03E1122A235" + "OwnerKey" = "8:_145E102706B3BD5EEB3E3ACE43A40B3F" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_D4223ED3C06A3558BE43C03E1122A235" + "OwnerKey" = "8:_B0CF5469FF107F5B15750BCBDEF8BFE4" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_D4223ED3C06A3558BE43C03E1122A235" + "OwnerKey" = "8:_73AD4875357913BE8D8902DEE60B3E2F" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_D4223ED3C06A3558BE43C03E1122A235" + "OwnerKey" = "8:_C667F7C6655F91B4FF60A357F0D2A867" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_D4223ED3C06A3558BE43C03E1122A235" + "OwnerKey" = "8:_5D958D73994894B86D67E95AE1A90ECA" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_D4223ED3C06A3558BE43C03E1122A235" + "OwnerKey" = "8:_8C0A8BA04215433A1B10CC5A37BD3134" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_D4223ED3C06A3558BE43C03E1122A235" + "OwnerKey" = "8:_116EB9729A93F5A9EEF73567733F8298" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_D4223ED3C06A3558BE43C03E1122A235" + "OwnerKey" = "8:_B7EF0CBFEF347A276FB32A581D514536" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_D4223ED3C06A3558BE43C03E1122A235" + "OwnerKey" = "8:_537EFDE831D746D17ADF3C0DB87B44A5" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_D4223ED3C06A3558BE43C03E1122A235" + "OwnerKey" = "8:_41AD63FF8C31C0A57A86209D0A6E5C80" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_D4223ED3C06A3558BE43C03E1122A235" + "OwnerKey" = "8:_4894FAD3F0987772FDE1791AD6A5A778" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_D4223ED3C06A3558BE43C03E1122A235" + "OwnerKey" = "8:_94F347547CB6AB524CDD9532C9708415" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_D4223ED3C06A3558BE43C03E1122A235" + "OwnerKey" = "8:_6C7EC0ABAE9AAD4FC604C53BE8578137" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_D4223ED3C06A3558BE43C03E1122A235" + "OwnerKey" = "8:_A4C5548E242439A424F0DC360FC3CA1D" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_D4223ED3C06A3558BE43C03E1122A235" + "OwnerKey" = "8:_51F23CC790B4896F4232F5B87B191C29" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_D4223ED3C06A3558BE43C03E1122A235" + "OwnerKey" = "8:_25119C0EDD984B380F70507E568E7EC3" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_D4223ED3C06A3558BE43C03E1122A235" + "OwnerKey" = "8:_9ACDBEABECC7440F13251DB88B9C7DD6" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_D4223ED3C06A3558BE43C03E1122A235" + "OwnerKey" = "8:_15554B3D9AB1703D58B0D31D6923E3C0" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_D4223ED3C06A3558BE43C03E1122A235" + "OwnerKey" = "8:_0C0770DF84ADB725BCC3B9FE50E944AD" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_D4223ED3C06A3558BE43C03E1122A235" + "OwnerKey" = "8:_FCF185846CF41F04637293C35A21BF70" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_D4223ED3C06A3558BE43C03E1122A235" + "OwnerKey" = "8:_5AA5C97011089B80E80258C54FC9B702" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_D4223ED3C06A3558BE43C03E1122A235" + "OwnerKey" = "8:_8D9B92E094235D3CA8C0E0C80887BD9C" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_D4223ED3C06A3558BE43C03E1122A235" + "OwnerKey" = "8:_3EBF7A465C0CBA88AD6F19B254EF89C2" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_D4223ED3C06A3558BE43C03E1122A235" + "OwnerKey" = "8:_7D208C9FD90C6A50A40A16AA75D2015F" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_D4223ED3C06A3558BE43C03E1122A235" + "OwnerKey" = "8:_F6A075E3ABB3C787DAC223D19765A5EF" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_D4223ED3C06A3558BE43C03E1122A235" + "OwnerKey" = "8:_8B9F83F5F57F4B7189E116FB04260682" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_D4223ED3C06A3558BE43C03E1122A235" + "OwnerKey" = "8:_EE15A25C01E88F5B27815C3177A0A8C9" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_D4223ED3C06A3558BE43C03E1122A235" + "OwnerKey" = "8:_A504707907BDD8C193F5FD8FD3CA6D90" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_D4223ED3C06A3558BE43C03E1122A235" + "OwnerKey" = "8:_A39E75420F60D39691AA5EF140522360" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_D4223ED3C06A3558BE43C03E1122A235" + "OwnerKey" = "8:_056F1A41DACF9EE6C093D4334D5B80A4" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_D4223ED3C06A3558BE43C03E1122A235" + "OwnerKey" = "8:_DEF479EB1CA54386FD91A25911605878" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_D4223ED3C06A3558BE43C03E1122A235" + "OwnerKey" = "8:_6370FD971DB9E8938A26E2982CF5CE7E" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_D5654C7560B5435D91901BFD93D1B02C" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_D597560C350745FE81C7A6A9376E167B" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_D622EAEACBA547CB5BB0B80EF2F9FBEC" + "OwnerKey" = "8:_9AEFF85A1F0544D48C72F1BBB0330C90" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_D64A9B36F8244321A075359E498601DC" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_D68919677686C38D6B7CA42727FFEA37" + "OwnerKey" = "8:_056F1A41DACF9EE6C093D4334D5B80A4" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_D68919677686C38D6B7CA42727FFEA37" + "OwnerKey" = "8:_9C3FE60D2CB641EB8C20EB0A946F9793" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_D68919677686C38D6B7CA42727FFEA37" + "OwnerKey" = "8:_D622EAEACBA547CB5BB0B80EF2F9FBEC" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_D68919677686C38D6B7CA42727FFEA37" + "OwnerKey" = "8:_9CCA3CBAA527443294E12C0531E871DD" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_D68919677686C38D6B7CA42727FFEA37" + "OwnerKey" = "8:_D64A9B36F8244321A075359E498601DC" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_D68919677686C38D6B7CA42727FFEA37" + "OwnerKey" = "8:_C0D114703ACF4E88B4B47D7F4E04960C" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_D68919677686C38D6B7CA42727FFEA37" + "OwnerKey" = "8:_5AA5C97011089B80E80258C54FC9B702" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_D6BCE047962E4F8624B9B58386A3C017" + "OwnerKey" = "8:_C0D114703ACF4E88B4B47D7F4E04960C" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_D6BCE047962E4F8624B9B58386A3C017" + "OwnerKey" = "8:_9C3FE60D2CB641EB8C20EB0A946F9793" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_D6BCE047962E4F8624B9B58386A3C017" + "OwnerKey" = "8:_D622EAEACBA547CB5BB0B80EF2F9FBEC" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_D76106A7441D4D69929B6B9E08B24846" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_D7B13A1948A74A85A3F106345CFBD518" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_D9A8CF85057F4275B76CBA27451FBBB5" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_D9EDC201718B1D32E78471AA154D1175" + "OwnerKey" = "8:_C0D114703ACF4E88B4B47D7F4E04960C" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_D9EDC201718B1D32E78471AA154D1175" + "OwnerKey" = "8:_A09D5E52064B4EE8B58F413F03CA7A4C" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_D9EDC201718B1D32E78471AA154D1175" + "OwnerKey" = "8:_9C3FE60D2CB641EB8C20EB0A946F9793" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_D9EDC201718B1D32E78471AA154D1175" + "OwnerKey" = "8:_199C4E0C921D4A5DAEC115D1B8C45FD4" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_D9EDC201718B1D32E78471AA154D1175" + "OwnerKey" = "8:_5291B57ED0674E68992853A555A116C3" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_D9EDC201718B1D32E78471AA154D1175" + "OwnerKey" = "8:_00870ADAC0484A5D86D37C9A575CCF3D" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_D9EDC201718B1D32E78471AA154D1175" + "OwnerKey" = "8:_9AEFF85A1F0544D48C72F1BBB0330C90" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_D9EDC201718B1D32E78471AA154D1175" + "OwnerKey" = "8:_D622EAEACBA547CB5BB0B80EF2F9FBEC" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_DA0E578E801344D796ECF6D33EFC3C6B" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_DBD54E3B65E9E28524DF5D6FE00882D2" + "OwnerKey" = "8:_C0D114703ACF4E88B4B47D7F4E04960C" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_DBD54E3B65E9E28524DF5D6FE00882D2" + "OwnerKey" = "8:_9C3FE60D2CB641EB8C20EB0A946F9793" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_DBD54E3B65E9E28524DF5D6FE00882D2" + "OwnerKey" = "8:_D622EAEACBA547CB5BB0B80EF2F9FBEC" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_DC8D8DBC37CC4A48BAF0DC5E82766D9C" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_DCB56155B9554650BA7B0BF6B07C7CB0" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_DCE3753EDF454DE48A23729FC0701512" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_DD2B1DC8C4F5391A6425E017050F8D44" + "OwnerKey" = "8:_87D96055A65C8E9143A977AA771F19A4" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_DD2B1DC8C4F5391A6425E017050F8D44" + "OwnerKey" = "8:_A09D5E52064B4EE8B58F413F03CA7A4C" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_DD2B1DC8C4F5391A6425E017050F8D44" + "OwnerKey" = "8:_F146D7D5982B4DAB8830740345D4B161" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_DD2B1DC8C4F5391A6425E017050F8D44" + "OwnerKey" = "8:_1CFDA3E92E67479FA1DCD568EF25F83B" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_DD2B1DC8C4F5391A6425E017050F8D44" + "OwnerKey" = "8:_1E055B0BAC1C43F5B5FEAD6924109C12" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_DD2B1DC8C4F5391A6425E017050F8D44" + "OwnerKey" = "8:_46704F13BB2D4842BE0A1793EE0FE473" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_DD2B1DC8C4F5391A6425E017050F8D44" + "OwnerKey" = "8:_9BA26D5888BF43C992BD492156585269" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_DD2B1DC8C4F5391A6425E017050F8D44" + "OwnerKey" = "8:_5DEC5F989E1F4FE3B8BC00BE10B58169" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_DD2B1DC8C4F5391A6425E017050F8D44" + "OwnerKey" = "8:_F05A93887A074634AA0740E80D05D38A" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_DD2B1DC8C4F5391A6425E017050F8D44" + "OwnerKey" = "8:_41033BDFB1F84088A1BE9A84417A6FBB" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_DD2B1DC8C4F5391A6425E017050F8D44" + "OwnerKey" = "8:_A6641DBF49634DD1BCA547850CF571A5" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_DD2B1DC8C4F5391A6425E017050F8D44" + "OwnerKey" = "8:_74FBD4E6D00E43B0A17A4C03B5FE37BB" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_DD2B1DC8C4F5391A6425E017050F8D44" + "OwnerKey" = "8:_B14294C19B2D48C39AC7F29189EFC261" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_DD2B1DC8C4F5391A6425E017050F8D44" + "OwnerKey" = "8:_7A6FFAB65849451985DC97672E60AC25" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_DD2B1DC8C4F5391A6425E017050F8D44" + "OwnerKey" = "8:_42E776DCC37C447AB3D84285C5BC636A" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_DD2B1DC8C4F5391A6425E017050F8D44" + "OwnerKey" = "8:_DD58016D60544560AA5E49FFE8AF107F" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_DD2B1DC8C4F5391A6425E017050F8D44" + "OwnerKey" = "8:_BB9BDFAB061A475D834F5B2188B1B0DF" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_DD2B1DC8C4F5391A6425E017050F8D44" + "OwnerKey" = "8:_A6DCF8CA5CA740BC9BF0616AEFCFF409" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_DD2B1DC8C4F5391A6425E017050F8D44" + "OwnerKey" = "8:_38FA273FA2364AA6B67C4AC1078D1D14" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_DD2B1DC8C4F5391A6425E017050F8D44" + "OwnerKey" = "8:_F703AD86F2EE4F03B609DD408A7632FC" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_DD2B1DC8C4F5391A6425E017050F8D44" + "OwnerKey" = "8:_D597560C350745FE81C7A6A9376E167B" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_DD2B1DC8C4F5391A6425E017050F8D44" + "OwnerKey" = "8:_DA0E578E801344D796ECF6D33EFC3C6B" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_DD2B1DC8C4F5391A6425E017050F8D44" + "OwnerKey" = "8:_4091E7B6A0994C7C849C01FB6DDBAEF7" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_DD2B1DC8C4F5391A6425E017050F8D44" + "OwnerKey" = "8:_7BA63C29702A482C978BA5D444266DEE" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_DD2B1DC8C4F5391A6425E017050F8D44" + "OwnerKey" = "8:_B7EC99BD89A446C2BA73214BA2CAE40B" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_DD2B1DC8C4F5391A6425E017050F8D44" + "OwnerKey" = "8:_0D4B1FACED7C406C8B45A2D42A956E94" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_DD2B1DC8C4F5391A6425E017050F8D44" + "OwnerKey" = "8:_A5E25E6038B7491EB5E4C5164B34ED2A" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_DD2B1DC8C4F5391A6425E017050F8D44" + "OwnerKey" = "8:_3CBC60FF3B1D487BBD2C5E8B7C1343DA" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_DD2B1DC8C4F5391A6425E017050F8D44" + "OwnerKey" = "8:_A465D5ADCCED41E8A8F9DE1412BEE105" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_DD2B1DC8C4F5391A6425E017050F8D44" + "OwnerKey" = "8:_BC1D614220704E83BF04A1DD4DF65D98" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_DD2B1DC8C4F5391A6425E017050F8D44" + "OwnerKey" = "8:_9A7A899F87AF46329014F26B2F1768AC" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_DD2B1DC8C4F5391A6425E017050F8D44" + "OwnerKey" = "8:_292CB48DD2234C5C9F966039981DA3DC" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_DD2B1DC8C4F5391A6425E017050F8D44" + "OwnerKey" = "8:_449AD383BF274A1BB871346ADC2CC6ED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_DD2B1DC8C4F5391A6425E017050F8D44" + "OwnerKey" = "8:_468BE8638DF04F0D822D6B0D3236D456" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_DD2B1DC8C4F5391A6425E017050F8D44" + "OwnerKey" = "8:_20C9B115AEE142BFB86DF96FC47D2D23" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_DD2B1DC8C4F5391A6425E017050F8D44" + "OwnerKey" = "8:_6677F7DDE833487685A5365B814C948E" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_DD2B1DC8C4F5391A6425E017050F8D44" + "OwnerKey" = "8:_21A2529647604DFFB1092B225884ECB6" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_DD2B1DC8C4F5391A6425E017050F8D44" + "OwnerKey" = "8:_3B8029F9BC2B4F77906ED2C56F5D8932" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_DD2B1DC8C4F5391A6425E017050F8D44" + "OwnerKey" = "8:_A571C881BA284732B625F26EFFC63369" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_DD2B1DC8C4F5391A6425E017050F8D44" + "OwnerKey" = "8:_8B93391D7EF04137AE1DBED5BC2B0A4B" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_DD2B1DC8C4F5391A6425E017050F8D44" + "OwnerKey" = "8:_02E4613E8AEB4925B0909C28C1269A91" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_DD2B1DC8C4F5391A6425E017050F8D44" + "OwnerKey" = "8:_81D1257A11DB455A804673C7A68DAD93" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_DD2B1DC8C4F5391A6425E017050F8D44" + "OwnerKey" = "8:_50770C7C027D4E1A8CDBB9E3C363AFEB" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_DD2B1DC8C4F5391A6425E017050F8D44" + "OwnerKey" = "8:_DC8D8DBC37CC4A48BAF0DC5E82766D9C" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_DD2B1DC8C4F5391A6425E017050F8D44" + "OwnerKey" = "8:_B3D68C43937F49C3A5779E2971FF19C5" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_DD2B1DC8C4F5391A6425E017050F8D44" + "OwnerKey" = "8:_D5654C7560B5435D91901BFD93D1B02C" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_DD2B1DC8C4F5391A6425E017050F8D44" + "OwnerKey" = "8:_D34A9B35C4B0434C9A63DD65EEDC1226" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_DD2B1DC8C4F5391A6425E017050F8D44" + "OwnerKey" = "8:_5C96648DAA0847C7A5CEF0E0BD4C972A" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_DD2B1DC8C4F5391A6425E017050F8D44" + "OwnerKey" = "8:_D3633B8ABDC546FD9B706F87CA11EB0D" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_DD2B1DC8C4F5391A6425E017050F8D44" + "OwnerKey" = "8:_746A1DED5A604FA7A3EC5F80ADFCD143" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_DD2B1DC8C4F5391A6425E017050F8D44" + "OwnerKey" = "8:_221D0F95C39A467EAA1EC8E87F57B8F8" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_DD2B1DC8C4F5391A6425E017050F8D44" + "OwnerKey" = "8:_C463FD2014144D3ABFE41C612D35C014" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_DD2B1DC8C4F5391A6425E017050F8D44" + "OwnerKey" = "8:_24F9AB225145478C93BEB23ECA392FF7" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_DD2B1DC8C4F5391A6425E017050F8D44" + "OwnerKey" = "8:_A7B0EF42067D4B71B3778087E211A6EB" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_DD2B1DC8C4F5391A6425E017050F8D44" + "OwnerKey" = "8:_CD1D31055FF14AFBB6846698B54D5C38" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_DD2B1DC8C4F5391A6425E017050F8D44" + "OwnerKey" = "8:_4F62268C62B6425586A675A3464E7B53" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_DD2B1DC8C4F5391A6425E017050F8D44" + "OwnerKey" = "8:_E6B3C16CBF144D8DA164B0E62D5B044B" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_DD2B1DC8C4F5391A6425E017050F8D44" + "OwnerKey" = "8:_13C3B3EAC7BC4528B3D5C1A75241C869" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_DD2B1DC8C4F5391A6425E017050F8D44" + "OwnerKey" = "8:_A6C1C68CC7C7465EAA60A8FD628288E5" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_DD2B1DC8C4F5391A6425E017050F8D44" + "OwnerKey" = "8:_686EE9565AAD480DBD62DCF182A8495D" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_DD2B1DC8C4F5391A6425E017050F8D44" + "OwnerKey" = "8:_08D44BC560614CDDB589C5C658B59B7D" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_DD2B1DC8C4F5391A6425E017050F8D44" + "OwnerKey" = "8:_9DD7D99ADB14464CAAD4E8856EDD4D90" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_DD2B1DC8C4F5391A6425E017050F8D44" + "OwnerKey" = "8:_95B62EB18B59449F80C102E0FA4D469D" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_DD2B1DC8C4F5391A6425E017050F8D44" + "OwnerKey" = "8:_E7D5A6D3292C4A53979EAC3EE099309F" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_DD2B1DC8C4F5391A6425E017050F8D44" + "OwnerKey" = "8:_144E748AB58B4F28BB26CA6FE7DE7D6A" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_DD2B1DC8C4F5391A6425E017050F8D44" + "OwnerKey" = "8:_8B53F9CC53E544008D7A343B8E9AEA3B" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_DD2B1DC8C4F5391A6425E017050F8D44" + "OwnerKey" = "8:_557C57CC46F148689753FD02506E0594" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_DD2B1DC8C4F5391A6425E017050F8D44" + "OwnerKey" = "8:_CB93347BD17E465AB8DCE6E7803A8994" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_DD2B1DC8C4F5391A6425E017050F8D44" + "OwnerKey" = "8:_84AAC1ACC0F64471AD96E00B04F96574" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_DD2B1DC8C4F5391A6425E017050F8D44" + "OwnerKey" = "8:_9C3FE60D2CB641EB8C20EB0A946F9793" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_DD2B1DC8C4F5391A6425E017050F8D44" + "OwnerKey" = "8:_7C075794BA3C4A028240B57A3EFB2A90" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_DD2B1DC8C4F5391A6425E017050F8D44" + "OwnerKey" = "8:_C0C5097D17F34D15B8B17E20FDDC9766" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_DD2B1DC8C4F5391A6425E017050F8D44" + "OwnerKey" = "8:_232ACD7603294423A9F576A29A52830E" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_DD2B1DC8C4F5391A6425E017050F8D44" + "OwnerKey" = "8:_D9A8CF85057F4275B76CBA27451FBBB5" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_DD2B1DC8C4F5391A6425E017050F8D44" + "OwnerKey" = "8:_49C1343ACD0F441A8A99D6F86F64B590" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_DD2B1DC8C4F5391A6425E017050F8D44" + "OwnerKey" = "8:_E244DF62356040C99174B6A95091F933" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_DD2B1DC8C4F5391A6425E017050F8D44" + "OwnerKey" = "8:_53492C665B5D49D7B4705F3E23562157" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_DD2B1DC8C4F5391A6425E017050F8D44" + "OwnerKey" = "8:_DCB56155B9554650BA7B0BF6B07C7CB0" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_DD2B1DC8C4F5391A6425E017050F8D44" + "OwnerKey" = "8:_20FFD0CF6C92429FAA25626C12E1F20C" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_DD2B1DC8C4F5391A6425E017050F8D44" + "OwnerKey" = "8:_ADECACE59CB14E8BA77539E1543F3F9E" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_DD2B1DC8C4F5391A6425E017050F8D44" + "OwnerKey" = "8:_17D03F5442B743769AF147B534D842BB" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_DD2B1DC8C4F5391A6425E017050F8D44" + "OwnerKey" = "8:_624C2F74AFC9428AA2BE6445E388E8B5" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_DD2B1DC8C4F5391A6425E017050F8D44" + "OwnerKey" = "8:_5E9E54CF8C9A48A28AE9FBB85927752D" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_DD2B1DC8C4F5391A6425E017050F8D44" + "OwnerKey" = "8:_594F61C6642845DF974AAD0E91EF9A37" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_DD2B1DC8C4F5391A6425E017050F8D44" + "OwnerKey" = "8:_2AD130904BC84DEA8501024AA232FC4E" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_DD2B1DC8C4F5391A6425E017050F8D44" + "OwnerKey" = "8:_C653534C72A8445D83D5885D02245F61" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_DD2B1DC8C4F5391A6425E017050F8D44" + "OwnerKey" = "8:_0DF687C0AA8641C092D2E3977BBDEFA7" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_DD2B1DC8C4F5391A6425E017050F8D44" + "OwnerKey" = "8:_4617971CE6594996B555E535CCE00211" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_DD2B1DC8C4F5391A6425E017050F8D44" + "OwnerKey" = "8:_01EB6D17530A47109F2D66319328C67C" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_DD2B1DC8C4F5391A6425E017050F8D44" + "OwnerKey" = "8:_65D9AE21D2AE47DCA4A5090D290FB85C" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_DD2B1DC8C4F5391A6425E017050F8D44" + "OwnerKey" = "8:_64770AF066B54BE3B8569E19B19E6B53" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_DD2B1DC8C4F5391A6425E017050F8D44" + "OwnerKey" = "8:_09A62DF5B6844A1F97C767EC8D252742" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_DD2B1DC8C4F5391A6425E017050F8D44" + "OwnerKey" = "8:_AEB8C3BFA7FB4D8F8F36840AEC216303" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_DD2B1DC8C4F5391A6425E017050F8D44" + "OwnerKey" = "8:_4100FED7054648CDA194B4B8B07B2826" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_DD2B1DC8C4F5391A6425E017050F8D44" + "OwnerKey" = "8:_B3A91C3DDE21461499706CB060164DBF" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_DD2B1DC8C4F5391A6425E017050F8D44" + "OwnerKey" = "8:_3EAE9A25156D4C4E8D02740045C4BA86" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_DD2B1DC8C4F5391A6425E017050F8D44" + "OwnerKey" = "8:_3F601349F92346E791DC4D9412E93FA5" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_DD2B1DC8C4F5391A6425E017050F8D44" + "OwnerKey" = "8:_EB3961FC5BF146C49AB55CC9768DA841" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_DD2B1DC8C4F5391A6425E017050F8D44" + "OwnerKey" = "8:_B419E6174B6348818E0717CEB95B287E" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_DD2B1DC8C4F5391A6425E017050F8D44" + "OwnerKey" = "8:_6906CE29A1544D899543332AE5DFB93D" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_DD2B1DC8C4F5391A6425E017050F8D44" + "OwnerKey" = "8:_31923F9052BB4FF5B6CEB62608837591" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_DD2B1DC8C4F5391A6425E017050F8D44" + "OwnerKey" = "8:_FFA7ACA8F65E48BC81C510AFD77C921F" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_DD2B1DC8C4F5391A6425E017050F8D44" + "OwnerKey" = "8:_44A68DFBD45644DC8A67F0C87F267C7E" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_DD2B1DC8C4F5391A6425E017050F8D44" + "OwnerKey" = "8:_5C5D73F2140D4BCD9209CD169908C37D" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_DD2B1DC8C4F5391A6425E017050F8D44" + "OwnerKey" = "8:_5F2335260578468CAF37B602E0D6B39F" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_DD2B1DC8C4F5391A6425E017050F8D44" + "OwnerKey" = "8:_D0B3A652520B49CC8F4841279D757E59" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_DD2B1DC8C4F5391A6425E017050F8D44" + "OwnerKey" = "8:_FAD7F31884F24EFCBF3C494508FC0F19" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_DD2B1DC8C4F5391A6425E017050F8D44" + "OwnerKey" = "8:_7970EE0845C64C969FEA4A8C942AE6F6" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_DD2B1DC8C4F5391A6425E017050F8D44" + "OwnerKey" = "8:_6FAA499E74924D14BE2D95B3A55D4555" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_DD2B1DC8C4F5391A6425E017050F8D44" + "OwnerKey" = "8:_B7024C4C534B4076919F1F14AFE2A406" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_DD2B1DC8C4F5391A6425E017050F8D44" + "OwnerKey" = "8:_988131D9767B45E3890F16AE95D5612F" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_DD2B1DC8C4F5391A6425E017050F8D44" + "OwnerKey" = "8:_2EDFE99BA24842DDA91F67E6DB05440D" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_DD2B1DC8C4F5391A6425E017050F8D44" + "OwnerKey" = "8:_E6E01B452F794D809E309DFC0BD53908" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_DD2B1DC8C4F5391A6425E017050F8D44" + "OwnerKey" = "8:_80700DA2DA0B4A82B43212E33F09A43C" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_DD2B1DC8C4F5391A6425E017050F8D44" + "OwnerKey" = "8:_3C19985D42B149389722FDE758E65B17" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_DD2B1DC8C4F5391A6425E017050F8D44" + "OwnerKey" = "8:_6BBC70E12174480BB9AA2BB5387E54BF" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_DD2B1DC8C4F5391A6425E017050F8D44" + "OwnerKey" = "8:_46728EBA95714224B90A7E79E8E1D78D" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_DD2B1DC8C4F5391A6425E017050F8D44" + "OwnerKey" = "8:_DF6FCAF566474F6C802DF369530FB263" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_DD2B1DC8C4F5391A6425E017050F8D44" + "OwnerKey" = "8:_3B22C3ECB76E01BF3655CCA58F521AE4" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_DD2B1DC8C4F5391A6425E017050F8D44" + "OwnerKey" = "8:_CF5F023E64024115B138FC74C0E7ED3D" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_DD2B1DC8C4F5391A6425E017050F8D44" + "OwnerKey" = "8:_FED3CD9855FB4E26A4950F9A3E2E71C5" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_DD2B1DC8C4F5391A6425E017050F8D44" + "OwnerKey" = "8:_A32CDB2D5DE248EEB28F28CAB6B79F5D" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_DD2B1DC8C4F5391A6425E017050F8D44" + "OwnerKey" = "8:_9A56688DC4D7494CBD7F5A9327D1F188" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_DD2B1DC8C4F5391A6425E017050F8D44" + "OwnerKey" = "8:_EB7787F6A450460E98169BCFF7B5668A" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_DD2B1DC8C4F5391A6425E017050F8D44" + "OwnerKey" = "8:_36D3CE517C9A4CD98E32A43137379986" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_DD2B1DC8C4F5391A6425E017050F8D44" + "OwnerKey" = "8:_0036124F08D44E92A70B64B41140023F" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_DD2B1DC8C4F5391A6425E017050F8D44" + "OwnerKey" = "8:_8438E7C8CC49448093B99673A2CC034F" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_DD2B1DC8C4F5391A6425E017050F8D44" + "OwnerKey" = "8:_C69BBEF08C88477D8A7539AF17B2A342" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_DD2B1DC8C4F5391A6425E017050F8D44" + "OwnerKey" = "8:_94C9DE074F8C4B2D8EB109CFFB219D60" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_DD2B1DC8C4F5391A6425E017050F8D44" + "OwnerKey" = "8:_12BFA5DCE4C74EBEBAEA5E50ED2ECF8B" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_DD2B1DC8C4F5391A6425E017050F8D44" + "OwnerKey" = "8:_B35F3A0A06D64AB3A82CEAFE7EA8DBF9" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_DD2B1DC8C4F5391A6425E017050F8D44" + "OwnerKey" = "8:_05581D908989450DBE2EF42B84501484" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_DD2B1DC8C4F5391A6425E017050F8D44" + "OwnerKey" = "8:_8DF56435F0284783983A1229FCF82C23" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_DD2B1DC8C4F5391A6425E017050F8D44" + "OwnerKey" = "8:_86659D1DE4D241E595AD02D88D98BA68" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_DD2B1DC8C4F5391A6425E017050F8D44" + "OwnerKey" = "8:_B08DEC402E5140E780FC5B0E8FD1FE35" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_DD2B1DC8C4F5391A6425E017050F8D44" + "OwnerKey" = "8:_8A40B1029BB841ED88E1DEEF003820D3" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_DD2B1DC8C4F5391A6425E017050F8D44" + "OwnerKey" = "8:_91665BA2BBE34BA3BD4C19D5E2C3D489" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_DD2B1DC8C4F5391A6425E017050F8D44" + "OwnerKey" = "8:_E0BFD1F79198404FBE500F4824FF0905" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_DD2B1DC8C4F5391A6425E017050F8D44" + "OwnerKey" = "8:_82C511A0589641DFA0DBE670DBE561CD" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_DD2B1DC8C4F5391A6425E017050F8D44" + "OwnerKey" = "8:_93CE5D9EAEFF4448ADF4B8776D5DFD70" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_DD2B1DC8C4F5391A6425E017050F8D44" + "OwnerKey" = "8:_B5A13A9C52414065A328E83503B2A1F3" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_DD2B1DC8C4F5391A6425E017050F8D44" + "OwnerKey" = "8:_2BE296506CBF408BA73577F355DF35EA" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_DD2B1DC8C4F5391A6425E017050F8D44" + "OwnerKey" = "8:_FE23B45386AF0F9D3FB137DB948A7F53" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_DD2B1DC8C4F5391A6425E017050F8D44" + "OwnerKey" = "8:_67EB7D0AB53C9905790E1D5A3283B7A4" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_DD2B1DC8C4F5391A6425E017050F8D44" + "OwnerKey" = "8:_199C4E0C921D4A5DAEC115D1B8C45FD4" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_DD2B1DC8C4F5391A6425E017050F8D44" + "OwnerKey" = "8:_5291B57ED0674E68992853A555A116C3" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_DD2B1DC8C4F5391A6425E017050F8D44" + "OwnerKey" = "8:_B9A463F73DBC4127BD9C474727649628" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_DD2B1DC8C4F5391A6425E017050F8D44" + "OwnerKey" = "8:_A278A66B8DD64BBFB8143302051B8132" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_DD2B1DC8C4F5391A6425E017050F8D44" + "OwnerKey" = "8:_05A39EB48A324A02889E485BCFFAD76A" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_DD2B1DC8C4F5391A6425E017050F8D44" + "OwnerKey" = "8:_43391991848647868BF2E89CF637D486" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_DD2B1DC8C4F5391A6425E017050F8D44" + "OwnerKey" = "8:_5D13D6EC94124CF0A401D7DC97BEDFF2" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_DD2B1DC8C4F5391A6425E017050F8D44" + "OwnerKey" = "8:_E62C1A012A4E40798DE80BE3E6A4E951" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_DD2B1DC8C4F5391A6425E017050F8D44" + "OwnerKey" = "8:_EDF89CFEB9CD4C0DA79593E87E6BFE27" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_DD2B1DC8C4F5391A6425E017050F8D44" + "OwnerKey" = "8:_BC3E5B1940FE4B48AF468D860BC359CA" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_DD2B1DC8C4F5391A6425E017050F8D44" + "OwnerKey" = "8:_E485E664B108312262981F501B2F4848" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_DD2B1DC8C4F5391A6425E017050F8D44" + "OwnerKey" = "8:_00870ADAC0484A5D86D37C9A575CCF3D" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_DD2B1DC8C4F5391A6425E017050F8D44" + "OwnerKey" = "8:_7D1AF215AEF542A188BD95BB372EDFBF" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_DD2B1DC8C4F5391A6425E017050F8D44" + "OwnerKey" = "8:_32E3293A11F646DC9EC2E3A882DAA405" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_DD2B1DC8C4F5391A6425E017050F8D44" + "OwnerKey" = "8:_BF6D49BA584844B1A9F5E6E585DED179" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_DD2B1DC8C4F5391A6425E017050F8D44" + "OwnerKey" = "8:_B18DAA15A2D144CAB805DF98395AA6E6" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_DD2B1DC8C4F5391A6425E017050F8D44" + "OwnerKey" = "8:_9AEFF85A1F0544D48C72F1BBB0330C90" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_DD2B1DC8C4F5391A6425E017050F8D44" + "OwnerKey" = "8:_24DE3229C3EB23D88DA6489295CECC60" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_DD2B1DC8C4F5391A6425E017050F8D44" + "OwnerKey" = "8:_D622EAEACBA547CB5BB0B80EF2F9FBEC" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_DD2B1DC8C4F5391A6425E017050F8D44" + "OwnerKey" = "8:_9CCA3CBAA527443294E12C0531E871DD" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_DD2B1DC8C4F5391A6425E017050F8D44" + "OwnerKey" = "8:_B89EC8CDA071487ABA6E99DB1029E6C3" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_DD2B1DC8C4F5391A6425E017050F8D44" + "OwnerKey" = "8:_E3D0A6FB355A4EEAB008A5BEF4D333D3" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_DD2B1DC8C4F5391A6425E017050F8D44" + "OwnerKey" = "8:_E9A9169C65864477A15AD563011F5417" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_DD2B1DC8C4F5391A6425E017050F8D44" + "OwnerKey" = "8:_D64A9B36F8244321A075359E498601DC" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_DD2B1DC8C4F5391A6425E017050F8D44" + "OwnerKey" = "8:_B54170EB482D4C0A92074CE3C6E550BD" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_DD2B1DC8C4F5391A6425E017050F8D44" + "OwnerKey" = "8:_546EE584F91948C5A7CAF60245145DE3" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_DD2B1DC8C4F5391A6425E017050F8D44" + "OwnerKey" = "8:_CF4BC0FBB809D9512674750602812472" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_DD2B1DC8C4F5391A6425E017050F8D44" + "OwnerKey" = "8:_EB7394202514501EB18031D2FA114FE0" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_DD2B1DC8C4F5391A6425E017050F8D44" + "OwnerKey" = "8:_44B10BD5C45C69957E1AFCAD6BF10485" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_DD2B1DC8C4F5391A6425E017050F8D44" + "OwnerKey" = "8:_1AFFE18A5663E9DC4F95DA808CC22BC4" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_DD2B1DC8C4F5391A6425E017050F8D44" + "OwnerKey" = "8:_02B0F7551C1CF1CD6A6FE01252ED4F4C" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_DD2B1DC8C4F5391A6425E017050F8D44" + "OwnerKey" = "8:_22AD91526EBF08AC10B308C7CCE8F566" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_DD2B1DC8C4F5391A6425E017050F8D44" + "OwnerKey" = "8:_B0084FD8CA6C1D4F596795B67652371D" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_DD2B1DC8C4F5391A6425E017050F8D44" + "OwnerKey" = "8:_A10C6481D758E4C748CD369A1E57D97C" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_DD2B1DC8C4F5391A6425E017050F8D44" + "OwnerKey" = "8:_5FB2770D61A7615DDE153C1333D1E2F2" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_DD2B1DC8C4F5391A6425E017050F8D44" + "OwnerKey" = "8:_2A658EAC69E52B448271E6CAAD1B1B7F" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_DD2B1DC8C4F5391A6425E017050F8D44" + "OwnerKey" = "8:_1D9A456B9E2081FFB17F4D552810A002" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_DD2B1DC8C4F5391A6425E017050F8D44" + "OwnerKey" = "8:_01DFED249049DDA72757FA18F4680151" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_DD2B1DC8C4F5391A6425E017050F8D44" + "OwnerKey" = "8:_478C4D00C4B41A2FEFBA27FD80363947" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_DD2B1DC8C4F5391A6425E017050F8D44" + "OwnerKey" = "8:_CD0B73F02BEE67C9B93B8E32BF37D932" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_DD2B1DC8C4F5391A6425E017050F8D44" + "OwnerKey" = "8:_26E0C82D630083B6C5905B2906ED88EE" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_DD2B1DC8C4F5391A6425E017050F8D44" + "OwnerKey" = "8:_D05D4208BF233B832E5219D7F78FB58C" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_DD2B1DC8C4F5391A6425E017050F8D44" + "OwnerKey" = "8:_855A18FDDEE1520099CD0634D9DC3F40" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_DD2B1DC8C4F5391A6425E017050F8D44" + "OwnerKey" = "8:_7E3506CE0595D50BAAC343CAA82DCEF7" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_DD2B1DC8C4F5391A6425E017050F8D44" + "OwnerKey" = "8:_342F373C9312AE3FD9BAE4550A17F56B" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_DD2B1DC8C4F5391A6425E017050F8D44" + "OwnerKey" = "8:_584028D3A72A3D2DFFEB75D85E0CB207" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_DD2B1DC8C4F5391A6425E017050F8D44" + "OwnerKey" = "8:_77A9397D916FFAB4F7B897D7501EB8F0" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_DD2B1DC8C4F5391A6425E017050F8D44" + "OwnerKey" = "8:_DBD54E3B65E9E28524DF5D6FE00882D2" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_DD2B1DC8C4F5391A6425E017050F8D44" + "OwnerKey" = "8:_9D7D82DC6C27D18AEBA9EF8FDBD334CD" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_DD2B1DC8C4F5391A6425E017050F8D44" + "OwnerKey" = "8:_6CE0E2FC4BB34BB206C0FFCA579DA5DC" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_DD2B1DC8C4F5391A6425E017050F8D44" + "OwnerKey" = "8:_C0D114703ACF4E88B4B47D7F4E04960C" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_DD2B1DC8C4F5391A6425E017050F8D44" + "OwnerKey" = "8:_5E8BDAF70D53E26C13CCD0DEF6CCDA8A" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_DD2B1DC8C4F5391A6425E017050F8D44" + "OwnerKey" = "8:_CA4B52A27EAD6182A25A7C52717E27A1" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_DD2B1DC8C4F5391A6425E017050F8D44" + "OwnerKey" = "8:_B4F1A52384A615C5C69E3EB7532C29F1" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_DD2B1DC8C4F5391A6425E017050F8D44" + "OwnerKey" = "8:_877F8E228B373AE9A768021365913EF9" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_DD2B1DC8C4F5391A6425E017050F8D44" + "OwnerKey" = "8:_D0DC57FA2200CA5B096E420B4E9B0BD3" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_DD2B1DC8C4F5391A6425E017050F8D44" + "OwnerKey" = "8:_BB5D05F989ED8A2E317A56C4C530C771" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_DD2B1DC8C4F5391A6425E017050F8D44" + "OwnerKey" = "8:_CF83C7FEDEC9BC4B657C71FCF7227058" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_DD2B1DC8C4F5391A6425E017050F8D44" + "OwnerKey" = "8:_045EC7442D5DE0F8BFC16091D4D0E81D" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_DD2B1DC8C4F5391A6425E017050F8D44" + "OwnerKey" = "8:_13B476BCC07AAC0ACDCD13680C79132E" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_DD2B1DC8C4F5391A6425E017050F8D44" + "OwnerKey" = "8:_74DAED7BD8A1DE36D7E11A54E90C054F" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_DD2B1DC8C4F5391A6425E017050F8D44" + "OwnerKey" = "8:_AFF383A44DAB874177E2A7ABE4745AF7" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_DD2B1DC8C4F5391A6425E017050F8D44" + "OwnerKey" = "8:_2F3DF2C97193539E507701F57A86CA4C" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_DD2B1DC8C4F5391A6425E017050F8D44" + "OwnerKey" = "8:_D9EDC201718B1D32E78471AA154D1175" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_DD2B1DC8C4F5391A6425E017050F8D44" + "OwnerKey" = "8:_74712768A0C2E43D6463CB29F71EA3B2" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_DD2B1DC8C4F5391A6425E017050F8D44" + "OwnerKey" = "8:_5E627DC166BF3BA30273E85BAB4991DF" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_DD2B1DC8C4F5391A6425E017050F8D44" + "OwnerKey" = "8:_1FD46B12238020C693B2CF0950844FA1" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_DD2B1DC8C4F5391A6425E017050F8D44" + "OwnerKey" = "8:_D33EA1FEE5C8548B966E460AA1821279" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_DD2B1DC8C4F5391A6425E017050F8D44" + "OwnerKey" = "8:_322A2BD13A2F8D2A7F7F1F8F4C68D065" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_DD2B1DC8C4F5391A6425E017050F8D44" + "OwnerKey" = "8:_D6BCE047962E4F8624B9B58386A3C017" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_DD2B1DC8C4F5391A6425E017050F8D44" + "OwnerKey" = "8:_EE87D8D198A25894F219EBFDE24A8758" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_DD2B1DC8C4F5391A6425E017050F8D44" + "OwnerKey" = "8:_9E62684B6048F1350D5BF500AD5A4270" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_DD2B1DC8C4F5391A6425E017050F8D44" + "OwnerKey" = "8:_D1A2212220B9F62101AB23547275030D" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_DD2B1DC8C4F5391A6425E017050F8D44" + "OwnerKey" = "8:_824E8CAAE690BB32A75A0C6016526D7E" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_DD2B1DC8C4F5391A6425E017050F8D44" + "OwnerKey" = "8:_03BA8ACDDDBF6520B59F51E73C4D971D" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_DD2B1DC8C4F5391A6425E017050F8D44" + "OwnerKey" = "8:_9E3E9A454B71D00DCE94B3192C3E092A" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_DD2B1DC8C4F5391A6425E017050F8D44" + "OwnerKey" = "8:_BF6FA047AD43E7C5F38C9A269AEC153C" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_DD2B1DC8C4F5391A6425E017050F8D44" + "OwnerKey" = "8:_1FED32A36DEDF48FCB4ED09F524E99E5" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_DD2B1DC8C4F5391A6425E017050F8D44" + "OwnerKey" = "8:_946229117826D3A0D4BEAF474DC0D7D3" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_DD2B1DC8C4F5391A6425E017050F8D44" + "OwnerKey" = "8:_189E57FC8047020AFCDB33ED035A7570" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_DD2B1DC8C4F5391A6425E017050F8D44" + "OwnerKey" = "8:_A00D42E585453FCDC786F528231641C5" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_DD2B1DC8C4F5391A6425E017050F8D44" + "OwnerKey" = "8:_2D8A23969B1E395FE213A4511F720758" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_DD2B1DC8C4F5391A6425E017050F8D44" + "OwnerKey" = "8:_A9EA0A6B5010BD81E023956218102169" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_DD2B1DC8C4F5391A6425E017050F8D44" + "OwnerKey" = "8:_F0EFB4C551D3C7B408B65BEF69D52472" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_DD2B1DC8C4F5391A6425E017050F8D44" + "OwnerKey" = "8:_5AA5C97011089B80E80258C54FC9B702" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_DD2B1DC8C4F5391A6425E017050F8D44" + "OwnerKey" = "8:_CF6A574E633AAD24E09D1D01FAF8B744" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_DD2B1DC8C4F5391A6425E017050F8D44" + "OwnerKey" = "8:_2F94E013CF4ADD4522DADF1B2CC2DE3C" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_DD2B1DC8C4F5391A6425E017050F8D44" + "OwnerKey" = "8:_7B1123BEF5320FEEA1E91AE63DBD99ED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_DD2B1DC8C4F5391A6425E017050F8D44" + "OwnerKey" = "8:_57D7430D26C37BBE513C3DEF41482CB8" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_DD2B1DC8C4F5391A6425E017050F8D44" + "OwnerKey" = "8:_F4CE69ADDB7FA8085884D6DBD0378DDB" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_DD2B1DC8C4F5391A6425E017050F8D44" + "OwnerKey" = "8:_3D6C365612F792A384DA60D1A3F22B8F" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_DD2B1DC8C4F5391A6425E017050F8D44" + "OwnerKey" = "8:_E4CAF456C17123C182993937E22CEC06" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_DD2B1DC8C4F5391A6425E017050F8D44" + "OwnerKey" = "8:_BC31A8CC4EE0FEACA6403236951B65CF" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_DD2B1DC8C4F5391A6425E017050F8D44" + "OwnerKey" = "8:_179F68EB6691A388BE34A6557619EB81" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_DD2B1DC8C4F5391A6425E017050F8D44" + "OwnerKey" = "8:_2A334B668DCE33BCF921B34BEEE353B3" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_DD2B1DC8C4F5391A6425E017050F8D44" + "OwnerKey" = "8:_B96BF8D9E3FF5E8CDFD69659FF75C052" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_DD2B1DC8C4F5391A6425E017050F8D44" + "OwnerKey" = "8:_306F6D4ED3C9CFFEE088095DA0C76780" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_DD2B1DC8C4F5391A6425E017050F8D44" + "OwnerKey" = "8:_145E102706B3BD5EEB3E3ACE43A40B3F" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_DD2B1DC8C4F5391A6425E017050F8D44" + "OwnerKey" = "8:_B0CF5469FF107F5B15750BCBDEF8BFE4" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_DD2B1DC8C4F5391A6425E017050F8D44" + "OwnerKey" = "8:_CF6116D74539692C6BD1F1CF4D8059DF" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_DD2B1DC8C4F5391A6425E017050F8D44" + "OwnerKey" = "8:_FDA019D101C6ACC973395D216205AFD3" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_DD2B1DC8C4F5391A6425E017050F8D44" + "OwnerKey" = "8:_73AD4875357913BE8D8902DEE60B3E2F" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_DD2B1DC8C4F5391A6425E017050F8D44" + "OwnerKey" = "8:_E0FE5833AD3E054566DD4BE6AD0607BD" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_DD2B1DC8C4F5391A6425E017050F8D44" + "OwnerKey" = "8:_0EAABA4E186AE44B95DDA8539C36051A" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_DD2B1DC8C4F5391A6425E017050F8D44" + "OwnerKey" = "8:_026AA5F28014499D2CA48D39AEBA8A0D" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_DD2B1DC8C4F5391A6425E017050F8D44" + "OwnerKey" = "8:_41BEAF514DE93A58976DF6577FF0710B" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_DD2B1DC8C4F5391A6425E017050F8D44" + "OwnerKey" = "8:_E465A96BEFD6704FF1A87F0746A71AE7" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_DD2B1DC8C4F5391A6425E017050F8D44" + "OwnerKey" = "8:_786BFC89E84C53F8CFD5DCFE4E5A2C50" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_DD2B1DC8C4F5391A6425E017050F8D44" + "OwnerKey" = "8:_DF78794EEA35F4996762557B6D1F24DF" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_DD2B1DC8C4F5391A6425E017050F8D44" + "OwnerKey" = "8:_9E55F358F7302BD386B0176D646A879D" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_DD2B1DC8C4F5391A6425E017050F8D44" + "OwnerKey" = "8:_41AD63FF8C31C0A57A86209D0A6E5C80" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_DD2B1DC8C4F5391A6425E017050F8D44" + "OwnerKey" = "8:_537EFDE831D746D17ADF3C0DB87B44A5" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_DD2B1DC8C4F5391A6425E017050F8D44" + "OwnerKey" = "8:_B7EF0CBFEF347A276FB32A581D514536" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_DD2B1DC8C4F5391A6425E017050F8D44" + "OwnerKey" = "8:_5D958D73994894B86D67E95AE1A90ECA" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_DD2B1DC8C4F5391A6425E017050F8D44" + "OwnerKey" = "8:_8C0A8BA04215433A1B10CC5A37BD3134" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_DD2B1DC8C4F5391A6425E017050F8D44" + "OwnerKey" = "8:_116EB9729A93F5A9EEF73567733F8298" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_DD2B1DC8C4F5391A6425E017050F8D44" + "OwnerKey" = "8:_9C6B1512878A30BB57B7470F506D4392" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_DD2B1DC8C4F5391A6425E017050F8D44" + "OwnerKey" = "8:_FCF185846CF41F04637293C35A21BF70" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_DD2B1DC8C4F5391A6425E017050F8D44" + "OwnerKey" = "8:_4894FAD3F0987772FDE1791AD6A5A778" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_DD2B1DC8C4F5391A6425E017050F8D44" + "OwnerKey" = "8:_6C7EC0ABAE9AAD4FC604C53BE8578137" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_DD2B1DC8C4F5391A6425E017050F8D44" + "OwnerKey" = "8:_BED09B653C2F1CCE5964EF9EACD6B1EE" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_DD2B1DC8C4F5391A6425E017050F8D44" + "OwnerKey" = "8:_94F347547CB6AB524CDD9532C9708415" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_DD2B1DC8C4F5391A6425E017050F8D44" + "OwnerKey" = "8:_15554B3D9AB1703D58B0D31D6923E3C0" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_DD2B1DC8C4F5391A6425E017050F8D44" + "OwnerKey" = "8:_51F23CC790B4896F4232F5B87B191C29" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_DD2B1DC8C4F5391A6425E017050F8D44" + "OwnerKey" = "8:_A4C5548E242439A424F0DC360FC3CA1D" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_DD2B1DC8C4F5391A6425E017050F8D44" + "OwnerKey" = "8:_25119C0EDD984B380F70507E568E7EC3" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_DD2B1DC8C4F5391A6425E017050F8D44" + "OwnerKey" = "8:_9ACDBEABECC7440F13251DB88B9C7DD6" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_DD2B1DC8C4F5391A6425E017050F8D44" + "OwnerKey" = "8:_0C0770DF84ADB725BCC3B9FE50E944AD" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_DD2B1DC8C4F5391A6425E017050F8D44" + "OwnerKey" = "8:_2F25D1ADC70603E609283EB9BAA97E02" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_DD2B1DC8C4F5391A6425E017050F8D44" + "OwnerKey" = "8:_8D9B92E094235D3CA8C0E0C80887BD9C" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_DD2B1DC8C4F5391A6425E017050F8D44" + "OwnerKey" = "8:_056F1A41DACF9EE6C093D4334D5B80A4" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_DD2B1DC8C4F5391A6425E017050F8D44" + "OwnerKey" = "8:_8B9F83F5F57F4B7189E116FB04260682" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_DD2B1DC8C4F5391A6425E017050F8D44" + "OwnerKey" = "8:_7D208C9FD90C6A50A40A16AA75D2015F" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_DD2B1DC8C4F5391A6425E017050F8D44" + "OwnerKey" = "8:_0302A0E8F069DC6D670ED6DCA4CE78EE" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_DD2B1DC8C4F5391A6425E017050F8D44" + "OwnerKey" = "8:_3EBF7A465C0CBA88AD6F19B254EF89C2" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_DD2B1DC8C4F5391A6425E017050F8D44" + "OwnerKey" = "8:_F6A075E3ABB3C787DAC223D19765A5EF" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_DD2B1DC8C4F5391A6425E017050F8D44" + "OwnerKey" = "8:_EE15A25C01E88F5B27815C3177A0A8C9" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_DD2B1DC8C4F5391A6425E017050F8D44" + "OwnerKey" = "8:_D68919677686C38D6B7CA42727FFEA37" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_DD2B1DC8C4F5391A6425E017050F8D44" + "OwnerKey" = "8:_A504707907BDD8C193F5FD8FD3CA6D90" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_DD2B1DC8C4F5391A6425E017050F8D44" + "OwnerKey" = "8:_8D7F4A72EC0092EE270B9C43BD633589" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_DD2B1DC8C4F5391A6425E017050F8D44" + "OwnerKey" = "8:_6871E9B1CC1845E838FC02F63FA4F93F" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_DD2B1DC8C4F5391A6425E017050F8D44" + "OwnerKey" = "8:_8004588B7E71DBE837B5B7306765A3C3" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_DD2B1DC8C4F5391A6425E017050F8D44" + "OwnerKey" = "8:_A39E75420F60D39691AA5EF140522360" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_DD2B1DC8C4F5391A6425E017050F8D44" + "OwnerKey" = "8:_EA0EFD19C8A34C8A77E3D969D66268FA" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_DD2B1DC8C4F5391A6425E017050F8D44" + "OwnerKey" = "8:_DEF479EB1CA54386FD91A25911605878" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_DD2B1DC8C4F5391A6425E017050F8D44" + "OwnerKey" = "8:_6370FD971DB9E8938A26E2982CF5CE7E" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_DD2B1DC8C4F5391A6425E017050F8D44" + "OwnerKey" = "8:_F0DFE7E3E5BBF1E65BC15B064AAE986E" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_DD2B1DC8C4F5391A6425E017050F8D44" + "OwnerKey" = "8:_25CD1BE430DE930834D38ED4434746A3" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_DD58016D60544560AA5E49FFE8AF107F" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_DE83CAAB19114C6E890BA043FEE970D6" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_DEF479EB1CA54386FD91A25911605878" + "OwnerKey" = "8:_6370FD971DB9E8938A26E2982CF5CE7E" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_DEF479EB1CA54386FD91A25911605878" + "OwnerKey" = "8:_468BE8638DF04F0D822D6B0D3236D456" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_DEF479EB1CA54386FD91A25911605878" + "OwnerKey" = "8:_9C3FE60D2CB641EB8C20EB0A946F9793" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_DEF479EB1CA54386FD91A25911605878" + "OwnerKey" = "8:_20FFD0CF6C92429FAA25626C12E1F20C" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_DEF479EB1CA54386FD91A25911605878" + "OwnerKey" = "8:_0DF687C0AA8641C092D2E3977BBDEFA7" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_DEF479EB1CA54386FD91A25911605878" + "OwnerKey" = "8:_01EB6D17530A47109F2D66319328C67C" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_DEF479EB1CA54386FD91A25911605878" + "OwnerKey" = "8:_CF5F023E64024115B138FC74C0E7ED3D" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_DEF479EB1CA54386FD91A25911605878" + "OwnerKey" = "8:_D622EAEACBA547CB5BB0B80EF2F9FBEC" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_DEF479EB1CA54386FD91A25911605878" + "OwnerKey" = "8:_9CCA3CBAA527443294E12C0531E871DD" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_DEF479EB1CA54386FD91A25911605878" + "OwnerKey" = "8:_C0D114703ACF4E88B4B47D7F4E04960C" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_DEF479EB1CA54386FD91A25911605878" + "OwnerKey" = "8:_5AA5C97011089B80E80258C54FC9B702" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_DEF479EB1CA54386FD91A25911605878" + "OwnerKey" = "8:_179F68EB6691A388BE34A6557619EB81" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_DEF479EB1CA54386FD91A25911605878" + "OwnerKey" = "8:_B7EF0CBFEF347A276FB32A581D514536" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_DEF479EB1CA54386FD91A25911605878" + "OwnerKey" = "8:_15554B3D9AB1703D58B0D31D6923E3C0" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_DF0A22E9FCBC4DC7B7B85C268419DDC7" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_DF1E3B1EACE54710B4A72113DB26C91B" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_DF6FCAF566474F6C802DF369530FB263" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_DF78794EEA35F4996762557B6D1F24DF" + "OwnerKey" = "8:_5AA5C97011089B80E80258C54FC9B702" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_DF78794EEA35F4996762557B6D1F24DF" + "OwnerKey" = "8:_9C3FE60D2CB641EB8C20EB0A946F9793" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_DF78794EEA35F4996762557B6D1F24DF" + "OwnerKey" = "8:_A32CDB2D5DE248EEB28F28CAB6B79F5D" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_DF78794EEA35F4996762557B6D1F24DF" + "OwnerKey" = "8:_00870ADAC0484A5D86D37C9A575CCF3D" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_DF78794EEA35F4996762557B6D1F24DF" + "OwnerKey" = "8:_D622EAEACBA547CB5BB0B80EF2F9FBEC" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_DF78794EEA35F4996762557B6D1F24DF" + "OwnerKey" = "8:_9CCA3CBAA527443294E12C0531E871DD" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_DF78794EEA35F4996762557B6D1F24DF" + "OwnerKey" = "8:_546EE584F91948C5A7CAF60245145DE3" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_DF78794EEA35F4996762557B6D1F24DF" + "OwnerKey" = "8:_C0D114703ACF4E88B4B47D7F4E04960C" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_DF78794EEA35F4996762557B6D1F24DF" + "OwnerKey" = "8:_026AA5F28014499D2CA48D39AEBA8A0D" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_DFD6318B26A44001021430E8B801CE7A" + "OwnerKey" = "8:_546EE584F91948C5A7CAF60245145DE3" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_E0BFD1F79198404FBE500F4824FF0905" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_E0FE5833AD3E054566DD4BE6AD0607BD" + "OwnerKey" = "8:_5AA5C97011089B80E80258C54FC9B702" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_E0FE5833AD3E054566DD4BE6AD0607BD" + "OwnerKey" = "8:_9C3FE60D2CB641EB8C20EB0A946F9793" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_E0FE5833AD3E054566DD4BE6AD0607BD" + "OwnerKey" = "8:_D622EAEACBA547CB5BB0B80EF2F9FBEC" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_E0FE5833AD3E054566DD4BE6AD0607BD" + "OwnerKey" = "8:_9CCA3CBAA527443294E12C0531E871DD" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_E0FE5833AD3E054566DD4BE6AD0607BD" + "OwnerKey" = "8:_C0D114703ACF4E88B4B47D7F4E04960C" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_E244DF62356040C99174B6A95091F933" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_E3D0A6FB355A4EEAB008A5BEF4D333D3" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_E42E535A4E594AE395E6034A11D0BC18" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_E465A96BEFD6704FF1A87F0746A71AE7" + "OwnerKey" = "8:_C667F7C6655F91B4FF60A357F0D2A867" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_E465A96BEFD6704FF1A87F0746A71AE7" + "OwnerKey" = "8:_A09D5E52064B4EE8B58F413F03CA7A4C" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_E465A96BEFD6704FF1A87F0746A71AE7" + "OwnerKey" = "8:_41033BDFB1F84088A1BE9A84417A6FBB" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_E465A96BEFD6704FF1A87F0746A71AE7" + "OwnerKey" = "8:_B14294C19B2D48C39AC7F29189EFC261" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_E465A96BEFD6704FF1A87F0746A71AE7" + "OwnerKey" = "8:_BB9BDFAB061A475D834F5B2188B1B0DF" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_E465A96BEFD6704FF1A87F0746A71AE7" + "OwnerKey" = "8:_21A2529647604DFFB1092B225884ECB6" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_E465A96BEFD6704FF1A87F0746A71AE7" + "OwnerKey" = "8:_84AAC1ACC0F64471AD96E00B04F96574" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_E465A96BEFD6704FF1A87F0746A71AE7" + "OwnerKey" = "8:_9C3FE60D2CB641EB8C20EB0A946F9793" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_E465A96BEFD6704FF1A87F0746A71AE7" + "OwnerKey" = "8:_B419E6174B6348818E0717CEB95B287E" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_E465A96BEFD6704FF1A87F0746A71AE7" + "OwnerKey" = "8:_A32CDB2D5DE248EEB28F28CAB6B79F5D" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_E465A96BEFD6704FF1A87F0746A71AE7" + "OwnerKey" = "8:_E9906790AA414B2588DD26786A294C29" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_E465A96BEFD6704FF1A87F0746A71AE7" + "OwnerKey" = "8:_B35F3A0A06D64AB3A82CEAFE7EA8DBF9" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_E465A96BEFD6704FF1A87F0746A71AE7" + "OwnerKey" = "8:_199C4E0C921D4A5DAEC115D1B8C45FD4" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_E465A96BEFD6704FF1A87F0746A71AE7" + "OwnerKey" = "8:_67EB7D0AB53C9905790E1D5A3283B7A4" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_E465A96BEFD6704FF1A87F0746A71AE7" + "OwnerKey" = "8:_A278A66B8DD64BBFB8143302051B8132" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_E465A96BEFD6704FF1A87F0746A71AE7" + "OwnerKey" = "8:_00870ADAC0484A5D86D37C9A575CCF3D" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_E465A96BEFD6704FF1A87F0746A71AE7" + "OwnerKey" = "8:_9AEFF85A1F0544D48C72F1BBB0330C90" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_E465A96BEFD6704FF1A87F0746A71AE7" + "OwnerKey" = "8:_D622EAEACBA547CB5BB0B80EF2F9FBEC" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_E465A96BEFD6704FF1A87F0746A71AE7" + "OwnerKey" = "8:_9CCA3CBAA527443294E12C0531E871DD" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_E465A96BEFD6704FF1A87F0746A71AE7" + "OwnerKey" = "8:_546EE584F91948C5A7CAF60245145DE3" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_E465A96BEFD6704FF1A87F0746A71AE7" + "OwnerKey" = "8:_44B10BD5C45C69957E1AFCAD6BF10485" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_E465A96BEFD6704FF1A87F0746A71AE7" + "OwnerKey" = "8:_02B0F7551C1CF1CD6A6FE01252ED4F4C" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_E465A96BEFD6704FF1A87F0746A71AE7" + "OwnerKey" = "8:_C0D114703ACF4E88B4B47D7F4E04960C" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_E465A96BEFD6704FF1A87F0746A71AE7" + "OwnerKey" = "8:_D9EDC201718B1D32E78471AA154D1175" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_E465A96BEFD6704FF1A87F0746A71AE7" + "OwnerKey" = "8:_5AA5C97011089B80E80258C54FC9B702" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_E465A96BEFD6704FF1A87F0746A71AE7" + "OwnerKey" = "8:_F0EFB4C551D3C7B408B65BEF69D52472" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_E465A96BEFD6704FF1A87F0746A71AE7" + "OwnerKey" = "8:_026AA5F28014499D2CA48D39AEBA8A0D" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_E485E664B108312262981F501B2F4848" + "OwnerKey" = "8:_00870ADAC0484A5D86D37C9A575CCF3D" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_E485E664B108312262981F501B2F4848" + "OwnerKey" = "8:_A09D5E52064B4EE8B58F413F03CA7A4C" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_E485E664B108312262981F501B2F4848" + "OwnerKey" = "8:_B14294C19B2D48C39AC7F29189EFC261" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_E485E664B108312262981F501B2F4848" + "OwnerKey" = "8:_6677F7DDE833487685A5365B814C948E" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_E485E664B108312262981F501B2F4848" + "OwnerKey" = "8:_3B22C3ECB76E01BF3655CCA58F521AE4" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_E485E664B108312262981F501B2F4848" + "OwnerKey" = "8:_5291B57ED0674E68992853A555A116C3" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_E4CAF456C17123C182993937E22CEC06" + "OwnerKey" = "8:_5AA5C97011089B80E80258C54FC9B702" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_E4CAF456C17123C182993937E22CEC06" + "OwnerKey" = "8:_9C3FE60D2CB641EB8C20EB0A946F9793" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_E4CAF456C17123C182993937E22CEC06" + "OwnerKey" = "8:_D622EAEACBA547CB5BB0B80EF2F9FBEC" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_E4CAF456C17123C182993937E22CEC06" + "OwnerKey" = "8:_9CCA3CBAA527443294E12C0531E871DD" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_E4CAF456C17123C182993937E22CEC06" + "OwnerKey" = "8:_C0D114703ACF4E88B4B47D7F4E04960C" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_E53299A8F1614EEBA2E2BAFBABC0D9CF" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_E5AFBB1B30114A789F779E58DF75A852" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_E62C1A012A4E40798DE80BE3E6A4E951" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_E6B3C16CBF144D8DA164B0E62D5B044B" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_E6E01B452F794D809E309DFC0BD53908" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_E78DD49ECC6739D6B2F1BD05764DAC06" + "OwnerKey" = "8:_DEF479EB1CA54386FD91A25911605878" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_E78DD49ECC6739D6B2F1BD05764DAC06" + "OwnerKey" = "8:_A09D5E52064B4EE8B58F413F03CA7A4C" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_E78DD49ECC6739D6B2F1BD05764DAC06" + "OwnerKey" = "8:_F146D7D5982B4DAB8830740345D4B161" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_E78DD49ECC6739D6B2F1BD05764DAC06" + "OwnerKey" = "8:_1E055B0BAC1C43F5B5FEAD6924109C12" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_E78DD49ECC6739D6B2F1BD05764DAC06" + "OwnerKey" = "8:_46704F13BB2D4842BE0A1793EE0FE473" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_E78DD49ECC6739D6B2F1BD05764DAC06" + "OwnerKey" = "8:_B14294C19B2D48C39AC7F29189EFC261" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_E78DD49ECC6739D6B2F1BD05764DAC06" + "OwnerKey" = "8:_BB9BDFAB061A475D834F5B2188B1B0DF" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_E78DD49ECC6739D6B2F1BD05764DAC06" + "OwnerKey" = "8:_F703AD86F2EE4F03B609DD408A7632FC" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_E78DD49ECC6739D6B2F1BD05764DAC06" + "OwnerKey" = "8:_B7EC99BD89A446C2BA73214BA2CAE40B" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_E78DD49ECC6739D6B2F1BD05764DAC06" + "OwnerKey" = "8:_6677F7DDE833487685A5365B814C948E" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_E78DD49ECC6739D6B2F1BD05764DAC06" + "OwnerKey" = "8:_DC8D8DBC37CC4A48BAF0DC5E82766D9C" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_E78DD49ECC6739D6B2F1BD05764DAC06" + "OwnerKey" = "8:_5C96648DAA0847C7A5CEF0E0BD4C972A" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_E78DD49ECC6739D6B2F1BD05764DAC06" + "OwnerKey" = "8:_D3633B8ABDC546FD9B706F87CA11EB0D" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_E78DD49ECC6739D6B2F1BD05764DAC06" + "OwnerKey" = "8:_557C57CC46F148689753FD02506E0594" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_E78DD49ECC6739D6B2F1BD05764DAC06" + "OwnerKey" = "8:_CB93347BD17E465AB8DCE6E7803A8994" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_E78DD49ECC6739D6B2F1BD05764DAC06" + "OwnerKey" = "8:_84AAC1ACC0F64471AD96E00B04F96574" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_E78DD49ECC6739D6B2F1BD05764DAC06" + "OwnerKey" = "8:_9C3FE60D2CB641EB8C20EB0A946F9793" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_E78DD49ECC6739D6B2F1BD05764DAC06" + "OwnerKey" = "8:_ADECACE59CB14E8BA77539E1543F3F9E" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_E78DD49ECC6739D6B2F1BD05764DAC06" + "OwnerKey" = "8:_B3A91C3DDE21461499706CB060164DBF" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_E78DD49ECC6739D6B2F1BD05764DAC06" + "OwnerKey" = "8:_6906CE29A1544D899543332AE5DFB93D" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_E78DD49ECC6739D6B2F1BD05764DAC06" + "OwnerKey" = "8:_CF5F023E64024115B138FC74C0E7ED3D" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_E78DD49ECC6739D6B2F1BD05764DAC06" + "OwnerKey" = "8:_3B22C3ECB76E01BF3655CCA58F521AE4" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_E78DD49ECC6739D6B2F1BD05764DAC06" + "OwnerKey" = "8:_9A56688DC4D7494CBD7F5A9327D1F188" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_E78DD49ECC6739D6B2F1BD05764DAC06" + "OwnerKey" = "8:_EB7787F6A450460E98169BCFF7B5668A" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_E78DD49ECC6739D6B2F1BD05764DAC06" + "OwnerKey" = "8:_0036124F08D44E92A70B64B41140023F" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_E78DD49ECC6739D6B2F1BD05764DAC06" + "OwnerKey" = "8:_8438E7C8CC49448093B99673A2CC034F" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_E78DD49ECC6739D6B2F1BD05764DAC06" + "OwnerKey" = "8:_B35F3A0A06D64AB3A82CEAFE7EA8DBF9" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_E78DD49ECC6739D6B2F1BD05764DAC06" + "OwnerKey" = "8:_199C4E0C921D4A5DAEC115D1B8C45FD4" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_E78DD49ECC6739D6B2F1BD05764DAC06" + "OwnerKey" = "8:_5291B57ED0674E68992853A555A116C3" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_E78DD49ECC6739D6B2F1BD05764DAC06" + "OwnerKey" = "8:_00870ADAC0484A5D86D37C9A575CCF3D" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_E78DD49ECC6739D6B2F1BD05764DAC06" + "OwnerKey" = "8:_9AEFF85A1F0544D48C72F1BBB0330C90" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_E78DD49ECC6739D6B2F1BD05764DAC06" + "OwnerKey" = "8:_D622EAEACBA547CB5BB0B80EF2F9FBEC" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_E78DD49ECC6739D6B2F1BD05764DAC06" + "OwnerKey" = "8:_9CCA3CBAA527443294E12C0531E871DD" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_E78DD49ECC6739D6B2F1BD05764DAC06" + "OwnerKey" = "8:_B89EC8CDA071487ABA6E99DB1029E6C3" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_E78DD49ECC6739D6B2F1BD05764DAC06" + "OwnerKey" = "8:_D64A9B36F8244321A075359E498601DC" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_E78DD49ECC6739D6B2F1BD05764DAC06" + "OwnerKey" = "8:_546EE584F91948C5A7CAF60245145DE3" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_E78DD49ECC6739D6B2F1BD05764DAC06" + "OwnerKey" = "8:_CF4BC0FBB809D9512674750602812472" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_E78DD49ECC6739D6B2F1BD05764DAC06" + "OwnerKey" = "8:_44B10BD5C45C69957E1AFCAD6BF10485" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_E78DD49ECC6739D6B2F1BD05764DAC06" + "OwnerKey" = "8:_1AFFE18A5663E9DC4F95DA808CC22BC4" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_E78DD49ECC6739D6B2F1BD05764DAC06" + "OwnerKey" = "8:_C0D114703ACF4E88B4B47D7F4E04960C" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_E78DD49ECC6739D6B2F1BD05764DAC06" + "OwnerKey" = "8:_2A658EAC69E52B448271E6CAAD1B1B7F" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_E78DD49ECC6739D6B2F1BD05764DAC06" + "OwnerKey" = "8:_5AA5C97011089B80E80258C54FC9B702" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_E78DD49ECC6739D6B2F1BD05764DAC06" + "OwnerKey" = "8:_F0EFB4C551D3C7B408B65BEF69D52472" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_E78DD49ECC6739D6B2F1BD05764DAC06" + "OwnerKey" = "8:_B96BF8D9E3FF5E8CDFD69659FF75C052" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_E78DD49ECC6739D6B2F1BD05764DAC06" + "OwnerKey" = "8:_786BFC89E84C53F8CFD5DCFE4E5A2C50" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_E78DD49ECC6739D6B2F1BD05764DAC06" + "OwnerKey" = "8:_41AD63FF8C31C0A57A86209D0A6E5C80" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_E78DD49ECC6739D6B2F1BD05764DAC06" + "OwnerKey" = "8:_537EFDE831D746D17ADF3C0DB87B44A5" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_E78DD49ECC6739D6B2F1BD05764DAC06" + "OwnerKey" = "8:_6C7EC0ABAE9AAD4FC604C53BE8578137" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_E78DD49ECC6739D6B2F1BD05764DAC06" + "OwnerKey" = "8:_9ACDBEABECC7440F13251DB88B9C7DD6" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_E78DD49ECC6739D6B2F1BD05764DAC06" + "OwnerKey" = "8:_056F1A41DACF9EE6C093D4334D5B80A4" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_E78DD49ECC6739D6B2F1BD05764DAC06" + "OwnerKey" = "8:_0302A0E8F069DC6D670ED6DCA4CE78EE" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_E78DD49ECC6739D6B2F1BD05764DAC06" + "OwnerKey" = "8:_A504707907BDD8C193F5FD8FD3CA6D90" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_E78DD49ECC6739D6B2F1BD05764DAC06" + "OwnerKey" = "8:_F0DFE7E3E5BBF1E65BC15B064AAE986E" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_E7D5A6D3292C4A53979EAC3EE099309F" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_E7D9E7A5DEC7AC5FC633FCAA98E1430F" + "OwnerKey" = "8:_C0D114703ACF4E88B4B47D7F4E04960C" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_E7D9E7A5DEC7AC5FC633FCAA98E1430F" + "OwnerKey" = "8:_9C3FE60D2CB641EB8C20EB0A946F9793" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_E7D9E7A5DEC7AC5FC633FCAA98E1430F" + "OwnerKey" = "8:_D622EAEACBA547CB5BB0B80EF2F9FBEC" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_E7EBB094AEFE421893EC93722F3858CA" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_E9676E236007FFEE2EC8F1C1907BEE34" + "OwnerKey" = "8:_8BF63CB8BADA5718336FE254291A8F66" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_E9906790AA414B2588DD26786A294C29" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_E9A9169C65864477A15AD563011F5417" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_EA0EFD19C8A34C8A77E3D969D66268FA" + "OwnerKey" = "8:_8004588B7E71DBE837B5B7306765A3C3" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_EA0EFD19C8A34C8A77E3D969D66268FA" + "OwnerKey" = "8:_A09D5E52064B4EE8B58F413F03CA7A4C" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_EA0EFD19C8A34C8A77E3D969D66268FA" + "OwnerKey" = "8:_B14294C19B2D48C39AC7F29189EFC261" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_EA0EFD19C8A34C8A77E3D969D66268FA" + "OwnerKey" = "8:_BB9BDFAB061A475D834F5B2188B1B0DF" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_EA0EFD19C8A34C8A77E3D969D66268FA" + "OwnerKey" = "8:_9C3FE60D2CB641EB8C20EB0A946F9793" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_EA0EFD19C8A34C8A77E3D969D66268FA" + "OwnerKey" = "8:_E9906790AA414B2588DD26786A294C29" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_EA0EFD19C8A34C8A77E3D969D66268FA" + "OwnerKey" = "8:_B35F3A0A06D64AB3A82CEAFE7EA8DBF9" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_EA0EFD19C8A34C8A77E3D969D66268FA" + "OwnerKey" = "8:_05581D908989450DBE2EF42B84501484" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_EA0EFD19C8A34C8A77E3D969D66268FA" + "OwnerKey" = "8:_8DF56435F0284783983A1229FCF82C23" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_EA0EFD19C8A34C8A77E3D969D66268FA" + "OwnerKey" = "8:_86659D1DE4D241E595AD02D88D98BA68" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_EA0EFD19C8A34C8A77E3D969D66268FA" + "OwnerKey" = "8:_8A40B1029BB841ED88E1DEEF003820D3" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_EA0EFD19C8A34C8A77E3D969D66268FA" + "OwnerKey" = "8:_199C4E0C921D4A5DAEC115D1B8C45FD4" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_EA0EFD19C8A34C8A77E3D969D66268FA" + "OwnerKey" = "8:_5291B57ED0674E68992853A555A116C3" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_EA0EFD19C8A34C8A77E3D969D66268FA" + "OwnerKey" = "8:_00870ADAC0484A5D86D37C9A575CCF3D" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_EA0EFD19C8A34C8A77E3D969D66268FA" + "OwnerKey" = "8:_9AEFF85A1F0544D48C72F1BBB0330C90" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_EA0EFD19C8A34C8A77E3D969D66268FA" + "OwnerKey" = "8:_D622EAEACBA547CB5BB0B80EF2F9FBEC" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_EA0EFD19C8A34C8A77E3D969D66268FA" + "OwnerKey" = "8:_9CCA3CBAA527443294E12C0531E871DD" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_EA0EFD19C8A34C8A77E3D969D66268FA" + "OwnerKey" = "8:_44B10BD5C45C69957E1AFCAD6BF10485" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_EA0EFD19C8A34C8A77E3D969D66268FA" + "OwnerKey" = "8:_546EE584F91948C5A7CAF60245145DE3" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_EA0EFD19C8A34C8A77E3D969D66268FA" + "OwnerKey" = "8:_C0D114703ACF4E88B4B47D7F4E04960C" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_EA0EFD19C8A34C8A77E3D969D66268FA" + "OwnerKey" = "8:_03BA8ACDDDBF6520B59F51E73C4D971D" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_EA0EFD19C8A34C8A77E3D969D66268FA" + "OwnerKey" = "8:_C667F7C6655F91B4FF60A357F0D2A867" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_EA0EFD19C8A34C8A77E3D969D66268FA" + "OwnerKey" = "8:_FCF185846CF41F04637293C35A21BF70" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_EA0EFD19C8A34C8A77E3D969D66268FA" + "OwnerKey" = "8:_2F25D1ADC70603E609283EB9BAA97E02" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_EA0EFD19C8A34C8A77E3D969D66268FA" + "OwnerKey" = "8:_5AA5C97011089B80E80258C54FC9B702" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_EB3961FC5BF146C49AB55CC9768DA841" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_EB5902B2FB790C091328A0B2955961F5" + "OwnerKey" = "8:_8B9F83F5F57F4B7189E116FB04260682" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_EB5902B2FB790C091328A0B2955961F5" + "OwnerKey" = "8:_B14294C19B2D48C39AC7F29189EFC261" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_EB5902B2FB790C091328A0B2955961F5" + "OwnerKey" = "8:_3CBC60FF3B1D487BBD2C5E8B7C1343DA" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_EB5902B2FB790C091328A0B2955961F5" + "OwnerKey" = "8:_A465D5ADCCED41E8A8F9DE1412BEE105" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_EB5902B2FB790C091328A0B2955961F5" + "OwnerKey" = "8:_CB93347BD17E465AB8DCE6E7803A8994" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_EB5902B2FB790C091328A0B2955961F5" + "OwnerKey" = "8:_84AAC1ACC0F64471AD96E00B04F96574" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_EB5902B2FB790C091328A0B2955961F5" + "OwnerKey" = "8:_9C3FE60D2CB641EB8C20EB0A946F9793" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_EB5902B2FB790C091328A0B2955961F5" + "OwnerKey" = "8:_09A62DF5B6844A1F97C767EC8D252742" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_EB5902B2FB790C091328A0B2955961F5" + "OwnerKey" = "8:_D622EAEACBA547CB5BB0B80EF2F9FBEC" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_EB5902B2FB790C091328A0B2955961F5" + "OwnerKey" = "8:_9CCA3CBAA527443294E12C0531E871DD" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_EB5902B2FB790C091328A0B2955961F5" + "OwnerKey" = "8:_D64A9B36F8244321A075359E498601DC" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_EB5902B2FB790C091328A0B2955961F5" + "OwnerKey" = "8:_C0D114703ACF4E88B4B47D7F4E04960C" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_EB5902B2FB790C091328A0B2955961F5" + "OwnerKey" = "8:_045EC7442D5DE0F8BFC16091D4D0E81D" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_EB5902B2FB790C091328A0B2955961F5" + "OwnerKey" = "8:_F0EFB4C551D3C7B408B65BEF69D52472" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_EB5902B2FB790C091328A0B2955961F5" + "OwnerKey" = "8:_5AA5C97011089B80E80258C54FC9B702" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_EB5902B2FB790C091328A0B2955961F5" + "OwnerKey" = "8:_537EFDE831D746D17ADF3C0DB87B44A5" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_EB5902B2FB790C091328A0B2955961F5" + "OwnerKey" = "8:_8D9B92E094235D3CA8C0E0C80887BD9C" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_EB5902B2FB790C091328A0B2955961F5" + "OwnerKey" = "8:_056F1A41DACF9EE6C093D4334D5B80A4" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_EB7394202514501EB18031D2FA114FE0" + "OwnerKey" = "8:_44B10BD5C45C69957E1AFCAD6BF10485" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_EB7394202514501EB18031D2FA114FE0" + "OwnerKey" = "8:_B35F3A0A06D64AB3A82CEAFE7EA8DBF9" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_EB7787F6A450460E98169BCFF7B5668A" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_EDF89CFEB9CD4C0DA79593E87E6BFE27" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_EE15A25C01E88F5B27815C3177A0A8C9" + "OwnerKey" = "8:_056F1A41DACF9EE6C093D4334D5B80A4" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_EE15A25C01E88F5B27815C3177A0A8C9" + "OwnerKey" = "8:_A09D5E52064B4EE8B58F413F03CA7A4C" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_EE15A25C01E88F5B27815C3177A0A8C9" + "OwnerKey" = "8:_B7EC99BD89A446C2BA73214BA2CAE40B" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_EE15A25C01E88F5B27815C3177A0A8C9" + "OwnerKey" = "8:_02E4613E8AEB4925B0909C28C1269A91" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_EE15A25C01E88F5B27815C3177A0A8C9" + "OwnerKey" = "8:_9DD7D99ADB14464CAAD4E8856EDD4D90" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_EE15A25C01E88F5B27815C3177A0A8C9" + "OwnerKey" = "8:_8B53F9CC53E544008D7A343B8E9AEA3B" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_EE15A25C01E88F5B27815C3177A0A8C9" + "OwnerKey" = "8:_557C57CC46F148689753FD02506E0594" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_EE15A25C01E88F5B27815C3177A0A8C9" + "OwnerKey" = "8:_84AAC1ACC0F64471AD96E00B04F96574" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_EE15A25C01E88F5B27815C3177A0A8C9" + "OwnerKey" = "8:_9C3FE60D2CB641EB8C20EB0A946F9793" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_EE15A25C01E88F5B27815C3177A0A8C9" + "OwnerKey" = "8:_65D9AE21D2AE47DCA4A5090D290FB85C" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_EE15A25C01E88F5B27815C3177A0A8C9" + "OwnerKey" = "8:_64770AF066B54BE3B8569E19B19E6B53" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_EE15A25C01E88F5B27815C3177A0A8C9" + "OwnerKey" = "8:_09A62DF5B6844A1F97C767EC8D252742" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_EE15A25C01E88F5B27815C3177A0A8C9" + "OwnerKey" = "8:_31923F9052BB4FF5B6CEB62608837591" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_EE15A25C01E88F5B27815C3177A0A8C9" + "OwnerKey" = "8:_3C19985D42B149389722FDE758E65B17" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_EE15A25C01E88F5B27815C3177A0A8C9" + "OwnerKey" = "8:_E9906790AA414B2588DD26786A294C29" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_EE15A25C01E88F5B27815C3177A0A8C9" + "OwnerKey" = "8:_05581D908989450DBE2EF42B84501484" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_EE15A25C01E88F5B27815C3177A0A8C9" + "OwnerKey" = "8:_8A40B1029BB841ED88E1DEEF003820D3" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_EE15A25C01E88F5B27815C3177A0A8C9" + "OwnerKey" = "8:_82C511A0589641DFA0DBE670DBE561CD" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_EE15A25C01E88F5B27815C3177A0A8C9" + "OwnerKey" = "8:_FE23B45386AF0F9D3FB137DB948A7F53" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_EE15A25C01E88F5B27815C3177A0A8C9" + "OwnerKey" = "8:_00870ADAC0484A5D86D37C9A575CCF3D" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_EE15A25C01E88F5B27815C3177A0A8C9" + "OwnerKey" = "8:_24DE3229C3EB23D88DA6489295CECC60" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_EE15A25C01E88F5B27815C3177A0A8C9" + "OwnerKey" = "8:_D622EAEACBA547CB5BB0B80EF2F9FBEC" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_EE15A25C01E88F5B27815C3177A0A8C9" + "OwnerKey" = "8:_9CCA3CBAA527443294E12C0531E871DD" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_EE15A25C01E88F5B27815C3177A0A8C9" + "OwnerKey" = "8:_D64A9B36F8244321A075359E498601DC" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_EE15A25C01E88F5B27815C3177A0A8C9" + "OwnerKey" = "8:_B54170EB482D4C0A92074CE3C6E550BD" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_EE15A25C01E88F5B27815C3177A0A8C9" + "OwnerKey" = "8:_546EE584F91948C5A7CAF60245145DE3" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_EE15A25C01E88F5B27815C3177A0A8C9" + "OwnerKey" = "8:_2A658EAC69E52B448271E6CAAD1B1B7F" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_EE15A25C01E88F5B27815C3177A0A8C9" + "OwnerKey" = "8:_C0D114703ACF4E88B4B47D7F4E04960C" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_EE15A25C01E88F5B27815C3177A0A8C9" + "OwnerKey" = "8:_03BA8ACDDDBF6520B59F51E73C4D971D" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_EE15A25C01E88F5B27815C3177A0A8C9" + "OwnerKey" = "8:_F0EFB4C551D3C7B408B65BEF69D52472" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_EE15A25C01E88F5B27815C3177A0A8C9" + "OwnerKey" = "8:_2F94E013CF4ADD4522DADF1B2CC2DE3C" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_EE15A25C01E88F5B27815C3177A0A8C9" + "OwnerKey" = "8:_145E102706B3BD5EEB3E3ACE43A40B3F" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_EE15A25C01E88F5B27815C3177A0A8C9" + "OwnerKey" = "8:_B0CF5469FF107F5B15750BCBDEF8BFE4" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_EE15A25C01E88F5B27815C3177A0A8C9" + "OwnerKey" = "8:_5AA5C97011089B80E80258C54FC9B702" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_EE15A25C01E88F5B27815C3177A0A8C9" + "OwnerKey" = "8:_FDA019D101C6ACC973395D216205AFD3" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_EE15A25C01E88F5B27815C3177A0A8C9" + "OwnerKey" = "8:_C667F7C6655F91B4FF60A357F0D2A867" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_EE15A25C01E88F5B27815C3177A0A8C9" + "OwnerKey" = "8:_41AD63FF8C31C0A57A86209D0A6E5C80" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_EE15A25C01E88F5B27815C3177A0A8C9" + "OwnerKey" = "8:_FCF185846CF41F04637293C35A21BF70" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_EE15A25C01E88F5B27815C3177A0A8C9" + "OwnerKey" = "8:_F6A075E3ABB3C787DAC223D19765A5EF" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_EE15A25C01E88F5B27815C3177A0A8C9" + "OwnerKey" = "8:_8B9F83F5F57F4B7189E116FB04260682" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_EE87D8D198A25894F219EBFDE24A8758" + "OwnerKey" = "8:_C0D114703ACF4E88B4B47D7F4E04960C" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_EE87D8D198A25894F219EBFDE24A8758" + "OwnerKey" = "8:_9C3FE60D2CB641EB8C20EB0A946F9793" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_EE87D8D198A25894F219EBFDE24A8758" + "OwnerKey" = "8:_D622EAEACBA547CB5BB0B80EF2F9FBEC" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_EF667135718849DBB253C2D63D3B2892" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_F05A93887A074634AA0740E80D05D38A" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_F0DFE7E3E5BBF1E65BC15B064AAE986E" + "OwnerKey" = "8:_87D96055A65C8E9143A977AA771F19A4" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_F0DFE7E3E5BBF1E65BC15B064AAE986E" + "OwnerKey" = "8:_A5E25E6038B7491EB5E4C5164B34ED2A" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_F0DFE7E3E5BBF1E65BC15B064AAE986E" + "OwnerKey" = "8:_6677F7DDE833487685A5365B814C948E" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_F0DFE7E3E5BBF1E65BC15B064AAE986E" + "OwnerKey" = "8:_21A2529647604DFFB1092B225884ECB6" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_F0DFE7E3E5BBF1E65BC15B064AAE986E" + "OwnerKey" = "8:_9C3FE60D2CB641EB8C20EB0A946F9793" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_F0DFE7E3E5BBF1E65BC15B064AAE986E" + "OwnerKey" = "8:_3EAE9A25156D4C4E8D02740045C4BA86" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_F0DFE7E3E5BBF1E65BC15B064AAE986E" + "OwnerKey" = "8:_31923F9052BB4FF5B6CEB62608837591" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_F0DFE7E3E5BBF1E65BC15B064AAE986E" + "OwnerKey" = "8:_D0B3A652520B49CC8F4841279D757E59" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_F0DFE7E3E5BBF1E65BC15B064AAE986E" + "OwnerKey" = "8:_3B22C3ECB76E01BF3655CCA58F521AE4" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_F0DFE7E3E5BBF1E65BC15B064AAE986E" + "OwnerKey" = "8:_CF5F023E64024115B138FC74C0E7ED3D" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_F0DFE7E3E5BBF1E65BC15B064AAE986E" + "OwnerKey" = "8:_67EB7D0AB53C9905790E1D5A3283B7A4" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_F0DFE7E3E5BBF1E65BC15B064AAE986E" + "OwnerKey" = "8:_5291B57ED0674E68992853A555A116C3" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_F0DFE7E3E5BBF1E65BC15B064AAE986E" + "OwnerKey" = "8:_D622EAEACBA547CB5BB0B80EF2F9FBEC" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_F0DFE7E3E5BBF1E65BC15B064AAE986E" + "OwnerKey" = "8:_E3D0A6FB355A4EEAB008A5BEF4D333D3" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_F0DFE7E3E5BBF1E65BC15B064AAE986E" + "OwnerKey" = "8:_E9A9169C65864477A15AD563011F5417" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_F0DFE7E3E5BBF1E65BC15B064AAE986E" + "OwnerKey" = "8:_C0D114703ACF4E88B4B47D7F4E04960C" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_F0DFE7E3E5BBF1E65BC15B064AAE986E" + "OwnerKey" = "8:_CF6116D74539692C6BD1F1CF4D8059DF" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_F0DFE7E3E5BBF1E65BC15B064AAE986E" + "OwnerKey" = "8:_FDA019D101C6ACC973395D216205AFD3" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_F0DFE7E3E5BBF1E65BC15B064AAE986E" + "OwnerKey" = "8:_73AD4875357913BE8D8902DEE60B3E2F" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_F0EFB4C551D3C7B408B65BEF69D52472" + "OwnerKey" = "8:_2D8A23969B1E395FE213A4511F720758" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_F0EFB4C551D3C7B408B65BEF69D52472" + "OwnerKey" = "8:_746A1DED5A604FA7A3EC5F80ADFCD143" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_F0EFB4C551D3C7B408B65BEF69D52472" + "OwnerKey" = "8:_C463FD2014144D3ABFE41C612D35C014" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_F0EFB4C551D3C7B408B65BEF69D52472" + "OwnerKey" = "8:_A00D42E585453FCDC786F528231641C5" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_F0F1AF4A4822AA44EDB6D341EFB2BDC1" + "OwnerKey" = "8:_C0D114703ACF4E88B4B47D7F4E04960C" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_F0F1AF4A4822AA44EDB6D341EFB2BDC1" + "OwnerKey" = "8:_9C3FE60D2CB641EB8C20EB0A946F9793" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_F0F1AF4A4822AA44EDB6D341EFB2BDC1" + "OwnerKey" = "8:_D622EAEACBA547CB5BB0B80EF2F9FBEC" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_F146D7D5982B4DAB8830740345D4B161" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_F2A52197B30AAA0399607540DDFC0582" + "OwnerKey" = "8:_8B9F83F5F57F4B7189E116FB04260682" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_F2A52197B30AAA0399607540DDFC0582" + "OwnerKey" = "8:_B14294C19B2D48C39AC7F29189EFC261" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_F2A52197B30AAA0399607540DDFC0582" + "OwnerKey" = "8:_3CBC60FF3B1D487BBD2C5E8B7C1343DA" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_F2A52197B30AAA0399607540DDFC0582" + "OwnerKey" = "8:_A465D5ADCCED41E8A8F9DE1412BEE105" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_F2A52197B30AAA0399607540DDFC0582" + "OwnerKey" = "8:_8B53F9CC53E544008D7A343B8E9AEA3B" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_F2A52197B30AAA0399607540DDFC0582" + "OwnerKey" = "8:_CB93347BD17E465AB8DCE6E7803A8994" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_F2A52197B30AAA0399607540DDFC0582" + "OwnerKey" = "8:_84AAC1ACC0F64471AD96E00B04F96574" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_F2A52197B30AAA0399607540DDFC0582" + "OwnerKey" = "8:_9C3FE60D2CB641EB8C20EB0A946F9793" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_F2A52197B30AAA0399607540DDFC0582" + "OwnerKey" = "8:_09A62DF5B6844A1F97C767EC8D252742" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_F2A52197B30AAA0399607540DDFC0582" + "OwnerKey" = "8:_D622EAEACBA547CB5BB0B80EF2F9FBEC" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_F2A52197B30AAA0399607540DDFC0582" + "OwnerKey" = "8:_9CCA3CBAA527443294E12C0531E871DD" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_F2A52197B30AAA0399607540DDFC0582" + "OwnerKey" = "8:_D64A9B36F8244321A075359E498601DC" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_F2A52197B30AAA0399607540DDFC0582" + "OwnerKey" = "8:_C0D114703ACF4E88B4B47D7F4E04960C" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_F2A52197B30AAA0399607540DDFC0582" + "OwnerKey" = "8:_045EC7442D5DE0F8BFC16091D4D0E81D" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_F2A52197B30AAA0399607540DDFC0582" + "OwnerKey" = "8:_F0EFB4C551D3C7B408B65BEF69D52472" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_F2A52197B30AAA0399607540DDFC0582" + "OwnerKey" = "8:_5AA5C97011089B80E80258C54FC9B702" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_F2A52197B30AAA0399607540DDFC0582" + "OwnerKey" = "8:_2F94E013CF4ADD4522DADF1B2CC2DE3C" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_F2A52197B30AAA0399607540DDFC0582" + "OwnerKey" = "8:_537EFDE831D746D17ADF3C0DB87B44A5" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_F2A52197B30AAA0399607540DDFC0582" + "OwnerKey" = "8:_8D9B92E094235D3CA8C0E0C80887BD9C" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_F2A52197B30AAA0399607540DDFC0582" + "OwnerKey" = "8:_056F1A41DACF9EE6C093D4334D5B80A4" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_F4CE69ADDB7FA8085884D6DBD0378DDB" + "OwnerKey" = "8:_3D6C365612F792A384DA60D1A3F22B8F" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_F4CE69ADDB7FA8085884D6DBD0378DDB" + "OwnerKey" = "8:_9C3FE60D2CB641EB8C20EB0A946F9793" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_F4CE69ADDB7FA8085884D6DBD0378DDB" + "OwnerKey" = "8:_E244DF62356040C99174B6A95091F933" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_F4CE69ADDB7FA8085884D6DBD0378DDB" + "OwnerKey" = "8:_D622EAEACBA547CB5BB0B80EF2F9FBEC" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_F4CE69ADDB7FA8085884D6DBD0378DDB" + "OwnerKey" = "8:_9CCA3CBAA527443294E12C0531E871DD" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_F4CE69ADDB7FA8085884D6DBD0378DDB" + "OwnerKey" = "8:_C0D114703ACF4E88B4B47D7F4E04960C" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_F4CE69ADDB7FA8085884D6DBD0378DDB" + "OwnerKey" = "8:_5AA5C97011089B80E80258C54FC9B702" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_F6A075E3ABB3C787DAC223D19765A5EF" + "OwnerKey" = "8:_167D566FCD3D724B914C3E6BBDBFA434" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_F6A075E3ABB3C787DAC223D19765A5EF" + "OwnerKey" = "8:_95B62EB18B59449F80C102E0FA4D469D" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_F6A075E3ABB3C787DAC223D19765A5EF" + "OwnerKey" = "8:_B509DFE8D29A449F8BFF91DAE23D9FF8" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_F6A075E3ABB3C787DAC223D19765A5EF" + "OwnerKey" = "8:_9C3FE60D2CB641EB8C20EB0A946F9793" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_F6A075E3ABB3C787DAC223D19765A5EF" + "OwnerKey" = "8:_3C19985D42B149389722FDE758E65B17" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_F6A075E3ABB3C787DAC223D19765A5EF" + "OwnerKey" = "8:_2C1DA645B2694569A12B0ECA7CB984DF" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_F6A075E3ABB3C787DAC223D19765A5EF" + "OwnerKey" = "8:_24DE3229C3EB23D88DA6489295CECC60" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_F6A075E3ABB3C787DAC223D19765A5EF" + "OwnerKey" = "8:_9AEFF85A1F0544D48C72F1BBB0330C90" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_F6A075E3ABB3C787DAC223D19765A5EF" + "OwnerKey" = "8:_D622EAEACBA547CB5BB0B80EF2F9FBEC" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_F6A075E3ABB3C787DAC223D19765A5EF" + "OwnerKey" = "8:_C0D114703ACF4E88B4B47D7F4E04960C" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_F6A075E3ABB3C787DAC223D19765A5EF" + "OwnerKey" = "8:_45D96C37531D229D4E62D781ED22A9D9" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_F6A075E3ABB3C787DAC223D19765A5EF" + "OwnerKey" = "8:_7D208C9FD90C6A50A40A16AA75D2015F" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_F703AD86F2EE4F03B609DD408A7632FC" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_F75B5EFE8D2B4361982D2DDC580501FF" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_F77EAA93221581C6338221902C4AE2D1" + "OwnerKey" = "8:_8BF63CB8BADA5718336FE254291A8F66" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_F82592C32DF24808BE71A6511D21CAF5" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_F91566EB89B347708B77D466605F363B" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_FAD7F31884F24EFCBF3C494508FC0F19" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_FC3ADA02E4104C4DB96B40736514BCC4" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_FCCFAEFE563F750053031528823CACF4" + "OwnerKey" = "8:_537EFDE831D746D17ADF3C0DB87B44A5" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_FCCFAEFE563F750053031528823CACF4" + "OwnerKey" = "8:_A09D5E52064B4EE8B58F413F03CA7A4C" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_FCCFAEFE563F750053031528823CACF4" + "OwnerKey" = "8:_21A2529647604DFFB1092B225884ECB6" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_FCCFAEFE563F750053031528823CACF4" + "OwnerKey" = "8:_CB93347BD17E465AB8DCE6E7803A8994" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_FCCFAEFE563F750053031528823CACF4" + "OwnerKey" = "8:_9C3FE60D2CB641EB8C20EB0A946F9793" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_FCCFAEFE563F750053031528823CACF4" + "OwnerKey" = "8:_A32CDB2D5DE248EEB28F28CAB6B79F5D" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_FCCFAEFE563F750053031528823CACF4" + "OwnerKey" = "8:_0036124F08D44E92A70B64B41140023F" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_FCCFAEFE563F750053031528823CACF4" + "OwnerKey" = "8:_B35F3A0A06D64AB3A82CEAFE7EA8DBF9" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_FCCFAEFE563F750053031528823CACF4" + "OwnerKey" = "8:_67EB7D0AB53C9905790E1D5A3283B7A4" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_FCCFAEFE563F750053031528823CACF4" + "OwnerKey" = "8:_5291B57ED0674E68992853A555A116C3" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_FCCFAEFE563F750053031528823CACF4" + "OwnerKey" = "8:_00870ADAC0484A5D86D37C9A575CCF3D" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_FCCFAEFE563F750053031528823CACF4" + "OwnerKey" = "8:_9AEFF85A1F0544D48C72F1BBB0330C90" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_FCCFAEFE563F750053031528823CACF4" + "OwnerKey" = "8:_D622EAEACBA547CB5BB0B80EF2F9FBEC" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_FCCFAEFE563F750053031528823CACF4" + "OwnerKey" = "8:_9CCA3CBAA527443294E12C0531E871DD" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_FCCFAEFE563F750053031528823CACF4" + "OwnerKey" = "8:_44B10BD5C45C69957E1AFCAD6BF10485" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_FCCFAEFE563F750053031528823CACF4" + "OwnerKey" = "8:_1AFFE18A5663E9DC4F95DA808CC22BC4" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_FCCFAEFE563F750053031528823CACF4" + "OwnerKey" = "8:_C0D114703ACF4E88B4B47D7F4E04960C" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_FCCFAEFE563F750053031528823CACF4" + "OwnerKey" = "8:_5AA5C97011089B80E80258C54FC9B702" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_FCCFAEFE563F750053031528823CACF4" + "OwnerKey" = "8:_026AA5F28014499D2CA48D39AEBA8A0D" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_FCF185846CF41F04637293C35A21BF70" + "OwnerKey" = "8:_5AA5C97011089B80E80258C54FC9B702" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_FCF185846CF41F04637293C35A21BF70" + "OwnerKey" = "8:_A09D5E52064B4EE8B58F413F03CA7A4C" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_FCF185846CF41F04637293C35A21BF70" + "OwnerKey" = "8:_B14294C19B2D48C39AC7F29189EFC261" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_FCF185846CF41F04637293C35A21BF70" + "OwnerKey" = "8:_DD58016D60544560AA5E49FFE8AF107F" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_FCF185846CF41F04637293C35A21BF70" + "OwnerKey" = "8:_BB9BDFAB061A475D834F5B2188B1B0DF" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_FCF185846CF41F04637293C35A21BF70" + "OwnerKey" = "8:_9DD7D99ADB14464CAAD4E8856EDD4D90" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_FCF185846CF41F04637293C35A21BF70" + "OwnerKey" = "8:_9C3FE60D2CB641EB8C20EB0A946F9793" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_FCF185846CF41F04637293C35A21BF70" + "OwnerKey" = "8:_CF5F023E64024115B138FC74C0E7ED3D" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_FCF185846CF41F04637293C35A21BF70" + "OwnerKey" = "8:_EB7787F6A450460E98169BCFF7B5668A" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_FCF185846CF41F04637293C35A21BF70" + "OwnerKey" = "8:_0036124F08D44E92A70B64B41140023F" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_FCF185846CF41F04637293C35A21BF70" + "OwnerKey" = "8:_E9906790AA414B2588DD26786A294C29" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_FCF185846CF41F04637293C35A21BF70" + "OwnerKey" = "8:_B35F3A0A06D64AB3A82CEAFE7EA8DBF9" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_FCF185846CF41F04637293C35A21BF70" + "OwnerKey" = "8:_8A40B1029BB841ED88E1DEEF003820D3" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_FCF185846CF41F04637293C35A21BF70" + "OwnerKey" = "8:_93CE5D9EAEFF4448ADF4B8776D5DFD70" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_FCF185846CF41F04637293C35A21BF70" + "OwnerKey" = "8:_199C4E0C921D4A5DAEC115D1B8C45FD4" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_FCF185846CF41F04637293C35A21BF70" + "OwnerKey" = "8:_B9A463F73DBC4127BD9C474727649628" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_FCF185846CF41F04637293C35A21BF70" + "OwnerKey" = "8:_A278A66B8DD64BBFB8143302051B8132" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_FCF185846CF41F04637293C35A21BF70" + "OwnerKey" = "8:_43391991848647868BF2E89CF637D486" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_FCF185846CF41F04637293C35A21BF70" + "OwnerKey" = "8:_E62C1A012A4E40798DE80BE3E6A4E951" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_FCF185846CF41F04637293C35A21BF70" + "OwnerKey" = "8:_EDF89CFEB9CD4C0DA79593E87E6BFE27" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_FCF185846CF41F04637293C35A21BF70" + "OwnerKey" = "8:_E485E664B108312262981F501B2F4848" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_FCF185846CF41F04637293C35A21BF70" + "OwnerKey" = "8:_00870ADAC0484A5D86D37C9A575CCF3D" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_FCF185846CF41F04637293C35A21BF70" + "OwnerKey" = "8:_7D1AF215AEF542A188BD95BB372EDFBF" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_FCF185846CF41F04637293C35A21BF70" + "OwnerKey" = "8:_32E3293A11F646DC9EC2E3A882DAA405" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_FCF185846CF41F04637293C35A21BF70" + "OwnerKey" = "8:_BF6D49BA584844B1A9F5E6E585DED179" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_FCF185846CF41F04637293C35A21BF70" + "OwnerKey" = "8:_B18DAA15A2D144CAB805DF98395AA6E6" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_FCF185846CF41F04637293C35A21BF70" + "OwnerKey" = "8:_9AEFF85A1F0544D48C72F1BBB0330C90" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_FCF185846CF41F04637293C35A21BF70" + "OwnerKey" = "8:_D622EAEACBA547CB5BB0B80EF2F9FBEC" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_FCF185846CF41F04637293C35A21BF70" + "OwnerKey" = "8:_9CCA3CBAA527443294E12C0531E871DD" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_FCF185846CF41F04637293C35A21BF70" + "OwnerKey" = "8:_1AFFE18A5663E9DC4F95DA808CC22BC4" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_FCF185846CF41F04637293C35A21BF70" + "OwnerKey" = "8:_44B10BD5C45C69957E1AFCAD6BF10485" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_FCF185846CF41F04637293C35A21BF70" + "OwnerKey" = "8:_546EE584F91948C5A7CAF60245145DE3" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_FCF185846CF41F04637293C35A21BF70" + "OwnerKey" = "8:_C0D114703ACF4E88B4B47D7F4E04960C" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_FCF185846CF41F04637293C35A21BF70" + "OwnerKey" = "8:_03BA8ACDDDBF6520B59F51E73C4D971D" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_FCF185846CF41F04637293C35A21BF70" + "OwnerKey" = "8:_C667F7C6655F91B4FF60A357F0D2A867" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_FDA019D101C6ACC973395D216205AFD3" + "OwnerKey" = "8:_5AA5C97011089B80E80258C54FC9B702" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_FDA019D101C6ACC973395D216205AFD3" + "OwnerKey" = "8:_A09D5E52064B4EE8B58F413F03CA7A4C" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_FDA019D101C6ACC973395D216205AFD3" + "OwnerKey" = "8:_9C3FE60D2CB641EB8C20EB0A946F9793" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_FDA019D101C6ACC973395D216205AFD3" + "OwnerKey" = "8:_D622EAEACBA547CB5BB0B80EF2F9FBEC" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_FDA019D101C6ACC973395D216205AFD3" + "OwnerKey" = "8:_9CCA3CBAA527443294E12C0531E871DD" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_FDA019D101C6ACC973395D216205AFD3" + "OwnerKey" = "8:_C0D114703ACF4E88B4B47D7F4E04960C" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_FDB9A054D5F14EC5964BEE14C0BC860A" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_FE23B45386AF0F9D3FB137DB948A7F53" + "OwnerKey" = "8:_67EB7D0AB53C9905790E1D5A3283B7A4" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_FE23B45386AF0F9D3FB137DB948A7F53" + "OwnerKey" = "8:_21A2529647604DFFB1092B225884ECB6" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_FED3CD9855FB4E26A4950F9A3E2E71C5" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_FFA7ACA8F65E48BC81C510AFD77C921F" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_UNDEFINED" + "OwnerKey" = "8:_4621979E6FF23B3F24CC086F9E2C6D71" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_UNDEFINED" + "OwnerKey" = "8:_A09D5E52064B4EE8B58F413F03CA7A4C" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_UNDEFINED" + "OwnerKey" = "8:_F146D7D5982B4DAB8830740345D4B161" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_UNDEFINED" + "OwnerKey" = "8:_1CFDA3E92E67479FA1DCD568EF25F83B" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_UNDEFINED" + "OwnerKey" = "8:_1E055B0BAC1C43F5B5FEAD6924109C12" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_UNDEFINED" + "OwnerKey" = "8:_46704F13BB2D4842BE0A1793EE0FE473" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_UNDEFINED" + "OwnerKey" = "8:_7A6FFAB65849451985DC97672E60AC25" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_UNDEFINED" + "OwnerKey" = "8:_BB9BDFAB061A475D834F5B2188B1B0DF" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_UNDEFINED" + "OwnerKey" = "8:_9C3FE60D2CB641EB8C20EB0A946F9793" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_UNDEFINED" + "OwnerKey" = "8:_8BF63CB8BADA5718336FE254291A8F66" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_UNDEFINED" + "OwnerKey" = "8:_35F5E445F24AA112B22666B93396AB93" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_UNDEFINED" + "OwnerKey" = "8:_E9676E236007FFEE2EC8F1C1907BEE34" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_UNDEFINED" + "OwnerKey" = "8:_8D9FCB9FA60F870A524D42753F90C828" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_UNDEFINED" + "OwnerKey" = "8:_6229ECB82F86E3E745458F873D941E6B" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_UNDEFINED" + "OwnerKey" = "8:_9A2C2F7D756BABCC50826F5CB4DB88CD" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_UNDEFINED" + "OwnerKey" = "8:_69C0DF05D4ACB9A64E9DF6BB789A54D2" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_UNDEFINED" + "OwnerKey" = "8:_D2F5B1B67E847180D49B9AC0EC1B558D" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_UNDEFINED" + "OwnerKey" = "8:_51F5217E9DBD561DBC7FDECB0AD2C76A" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_UNDEFINED" + "OwnerKey" = "8:_2BA878D1C62AB7B09F69BFBC559E3DC5" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_UNDEFINED" + "OwnerKey" = "8:_0DCC0FC8674AE415B5CC1360A533D983" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_UNDEFINED" + "OwnerKey" = "8:_F77EAA93221581C6338221902C4AE2D1" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_UNDEFINED" + "OwnerKey" = "8:_5B31F5B49AE508BB53A85BC64919D013" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_UNDEFINED" + "OwnerKey" = "8:_A5CA0F9EC66EC0568874B27FD79B6B68" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_UNDEFINED" + "OwnerKey" = "8:_6A7ABCEBA3D1D46DEF706D642F02CF0D" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_UNDEFINED" + "OwnerKey" = "8:_199C4E0C921D4A5DAEC115D1B8C45FD4" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_UNDEFINED" + "OwnerKey" = "8:_5291B57ED0674E68992853A555A116C3" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_UNDEFINED" + "OwnerKey" = "8:_B9A463F73DBC4127BD9C474727649628" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_UNDEFINED" + "OwnerKey" = "8:_A278A66B8DD64BBFB8143302051B8132" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_UNDEFINED" + "OwnerKey" = "8:_05A39EB48A324A02889E485BCFFAD76A" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_UNDEFINED" + "OwnerKey" = "8:_43391991848647868BF2E89CF637D486" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_UNDEFINED" + "OwnerKey" = "8:_5D13D6EC94124CF0A401D7DC97BEDFF2" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_UNDEFINED" + "OwnerKey" = "8:_E62C1A012A4E40798DE80BE3E6A4E951" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_UNDEFINED" + "OwnerKey" = "8:_EDF89CFEB9CD4C0DA79593E87E6BFE27" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_UNDEFINED" + "OwnerKey" = "8:_BC3E5B1940FE4B48AF468D860BC359CA" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_UNDEFINED" + "OwnerKey" = "8:_00870ADAC0484A5D86D37C9A575CCF3D" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_UNDEFINED" + "OwnerKey" = "8:_7D1AF215AEF542A188BD95BB372EDFBF" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_UNDEFINED" + "OwnerKey" = "8:_32E3293A11F646DC9EC2E3A882DAA405" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_UNDEFINED" + "OwnerKey" = "8:_BF6D49BA584844B1A9F5E6E585DED179" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_UNDEFINED" + "OwnerKey" = "8:_B18DAA15A2D144CAB805DF98395AA6E6" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_UNDEFINED" + "OwnerKey" = "8:_9AEFF85A1F0544D48C72F1BBB0330C90" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_UNDEFINED" + "OwnerKey" = "8:_D622EAEACBA547CB5BB0B80EF2F9FBEC" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_UNDEFINED" + "OwnerKey" = "8:_546EE584F91948C5A7CAF60245145DE3" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_UNDEFINED" + "OwnerKey" = "8:_C0D114703ACF4E88B4B47D7F4E04960C" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_UNDEFINED" + "OwnerKey" = "8:_7F4AD8F309343DD9473528F7E0F2D571" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_UNDEFINED" + "OwnerKey" = "8:_E7D9E7A5DEC7AC5FC633FCAA98E1430F" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_UNDEFINED" + "OwnerKey" = "8:_03EEA3B0054D3E7AA51C825DB765F06A" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_UNDEFINED" + "OwnerKey" = "8:_A81EEB8B066FAF54876B914EDEE2F8CB" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_UNDEFINED" + "OwnerKey" = "8:_0104ABFCB751DC5DAD324EC1CA925DBE" + "MsmSig" = "8:_UNDEFINED" + } + } + "Configurations" + { + "Debug" + { + "DisplayName" = "8:Debug" + "IsDebugOnly" = "11:TRUE" + "IsReleaseOnly" = "11:FALSE" + "OutputFilename" = "8:Debug\\Setup.msi" + "PackageFilesAs" = "3:2" + "PackageFileSize" = "3:-2147483648" + "CabType" = "3:1" + "Compression" = "3:2" + "SignOutput" = "11:FALSE" + "CertificateFile" = "8:" + "PrivateKeyFile" = "8:" + "TimeStampServer" = "8:" + "InstallerBootstrapper" = "3:2" + "BootstrapperCfg:{63ACBE69-63AA-4F98-B2B6-99F9E24495F2}" + { + "Enabled" = "11:TRUE" + "PromptEnabled" = "11:TRUE" + "PrerequisitesLocation" = "2:1" + "Url" = "8:" + "ComponentsUrl" = "8:" + } + } + "Release" + { + "DisplayName" = "8:Release" + "IsDebugOnly" = "11:FALSE" + "IsReleaseOnly" = "11:TRUE" + "OutputFilename" = "8:Release\\Setup.msi" + "PackageFilesAs" = "3:2" + "PackageFileSize" = "3:-2147483648" + "CabType" = "3:1" + "Compression" = "3:2" + "SignOutput" = "11:FALSE" + "CertificateFile" = "8:" + "PrivateKeyFile" = "8:" + "TimeStampServer" = "8:" + "InstallerBootstrapper" = "3:2" + "BootstrapperCfg:{63ACBE69-63AA-4F98-B2B6-99F9E24495F2}" + { + "Enabled" = "11:TRUE" + "PromptEnabled" = "11:TRUE" + "PrerequisitesLocation" = "2:1" + "Url" = "8:" + "ComponentsUrl" = "8:" + "Items" + { + "{EDC2488A-8267-493A-A98E-7D9C3B36CDF3}:Microsoft.NetCore.CoreRuntime.9.0.x64" + { + "Name" = "8:.NET 런타임 9.0.17 (x64)" + "ProductCode" = "8:Microsoft.NetCore.CoreRuntime.9.0.x64" + } + } + } + } + } + "Deployable" + { + "CustomAction" + { + } + "DefaultFeature" + { + "Name" = "8:DefaultFeature" + "Title" = "8:" + "Description" = "8:" + } + "ExternalPersistence" + { + "LaunchCondition" + { + "{A06ECF26-33A3-4562-8140-9B0E340D4F24}:_2410D71D6D33469CB90D46E8500D01C9" + { + "Name" = "8:.NET Framework" + "Message" = "8:[VSDNETMSG]" + "FrameworkVersion" = "8:.NETFramework,Version=v4.7.2" + "AllowLaterVersions" = "11:FALSE" + "InstallUrl" = "8:http://go.microsoft.com/fwlink/?LinkId=863262" + } + "{A06ECF26-33A3-4562-8140-9B0E340D4F24}:_4C6AA021710F4FD9AE935A17BDB170FA" + { + "Name" = "8:.NET Core" + "Message" = "8:[VSDNETCOREMSG]" + "AllowLaterVersions" = "11:FALSE" + "InstallUrl" = "8:https://dotnet.microsoft.com/download/dotnet-core/[NetCoreVerMajorDotMinor]" + "IsNETCore" = "11:TRUE" + "Architecture" = "2:0" + "Runtime" = "2:0" + } + } + } + "File" + { + "{9F6F8455-1EF1-4B85-886A-4223BCC8E7F7}:_0036124F08D44E92A70B64B41140023F" + { + "AssemblyRegister" = "3:1" + "AssemblyIsInGAC" = "11:FALSE" + "AssemblyAsmDisplayName" = "8:System.Diagnostics.EventLog, Version=9.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51, processorArchitecture=MSIL" + "ScatterAssemblies" + { + "_0036124F08D44E92A70B64B41140023F" + { + "Name" = "8:System.Diagnostics.EventLog.dll" + "Attributes" = "3:512" + } + } + "SourcePath" = "8:..\\leak_test_project\\bin\\Release\\net9.0-windows\\win-x64\\publish\\System.Diagnostics.EventLog.dll" + "TargetName" = "8:" + "Tag" = "8:" + "Folder" = "8:_62218C84F9DA4935A123ACECCBAC06B0" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:FALSE" + "IsolateTo" = "8:" + } + "{9F6F8455-1EF1-4B85-886A-4223BCC8E7F7}:_00870ADAC0484A5D86D37C9A575CCF3D" + { + "AssemblyRegister" = "3:1" + "AssemblyIsInGAC" = "11:FALSE" + "AssemblyAsmDisplayName" = "8:PresentationFramework, Version=9.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=AMD64" + "ScatterAssemblies" + { + "_00870ADAC0484A5D86D37C9A575CCF3D" + { + "Name" = "8:PresentationFramework.dll" + "Attributes" = "3:512" + } + } + "SourcePath" = "8:..\\leak_test_project\\bin\\Release\\net9.0-windows\\win-x64\\publish\\PresentationFramework.dll" + "TargetName" = "8:" + "Tag" = "8:" + "Folder" = "8:_62218C84F9DA4935A123ACECCBAC06B0" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:FALSE" + "IsolateTo" = "8:" + } + "{9F6F8455-1EF1-4B85-886A-4223BCC8E7F7}:_009772EA6AE2CED455464534B3EDA32B" + { + "AssemblyRegister" = "3:1" + "AssemblyIsInGAC" = "11:FALSE" + "AssemblyAsmDisplayName" = "8:System.Private.CoreLib, Version=9.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e, processorArchitecture=MSIL" + "ScatterAssemblies" + { + "_009772EA6AE2CED455464534B3EDA32B" + { + "Name" = "8:System.Private.CoreLib.dll" + "Attributes" = "3:512" + } + } + "SourcePath" = "8:System.Private.CoreLib.dll" + "TargetName" = "8:" + "Tag" = "8:" + "Folder" = "8:_62218C84F9DA4935A123ACECCBAC06B0" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:TRUE" + "IsolateTo" = "8:" + } + "{9F6F8455-1EF1-4B85-886A-4223BCC8E7F7}:_00BE6D73DBF24E039842B16D75344F46" + { + "AssemblyRegister" = "3:1" + "AssemblyIsInGAC" = "11:FALSE" + "AssemblyAsmDisplayName" = "8:System.Runtime.InteropServices.JavaScript, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL" + "ScatterAssemblies" + { + "_00BE6D73DBF24E039842B16D75344F46" + { + "Name" = "8:System.Runtime.InteropServices.JavaScript.dll" + "Attributes" = "3:512" + } + } + "SourcePath" = "8:..\\leak_test_project\\bin\\Release\\net9.0-windows\\win-x64\\publish\\System.Runtime.InteropServices.JavaScript.dll" + "TargetName" = "8:" + "Tag" = "8:" + "Folder" = "8:_62218C84F9DA4935A123ACECCBAC06B0" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:FALSE" + "IsolateTo" = "8:" + } + "{9F6F8455-1EF1-4B85-886A-4223BCC8E7F7}:_0104ABFCB751DC5DAD324EC1CA925DBE" + { + "AssemblyRegister" = "3:1" + "AssemblyIsInGAC" = "11:TRUE" + "AssemblyAsmDisplayName" = "8:System.Runtime, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL" + "ScatterAssemblies" + { + "_0104ABFCB751DC5DAD324EC1CA925DBE" + { + "Name" = "8:System.Runtime.dll" + "Attributes" = "3:512" + } + } + "SourcePath" = "8:System.Runtime.dll" + "TargetName" = "8:" + "Tag" = "8:" + "Folder" = "8:_62218C84F9DA4935A123ACECCBAC06B0" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:TRUE" + "IsolateTo" = "8:" + } + "{9F6F8455-1EF1-4B85-886A-4223BCC8E7F7}:_01DFED249049DDA72757FA18F4680151" + { + "AssemblyRegister" = "3:1" + "AssemblyIsInGAC" = "11:FALSE" + "AssemblyAsmDisplayName" = "8:System.Text.Encoding.CodePages, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL" + "ScatterAssemblies" + { + "_01DFED249049DDA72757FA18F4680151" + { + "Name" = "8:System.Text.Encoding.CodePages.dll" + "Attributes" = "3:512" + } + } + "SourcePath" = "8:System.Text.Encoding.CodePages.dll" + "TargetName" = "8:" + "Tag" = "8:" + "Folder" = "8:_62218C84F9DA4935A123ACECCBAC06B0" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:TRUE" + "IsolateTo" = "8:" + } + "{9F6F8455-1EF1-4B85-886A-4223BCC8E7F7}:_01EB6D17530A47109F2D66319328C67C" + { + "AssemblyRegister" = "3:1" + "AssemblyIsInGAC" = "11:FALSE" + "AssemblyAsmDisplayName" = "8:System.Net.Http, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL" + "ScatterAssemblies" + { + "_01EB6D17530A47109F2D66319328C67C" + { + "Name" = "8:System.Net.Http.dll" + "Attributes" = "3:512" + } + } + "SourcePath" = "8:..\\leak_test_project\\bin\\Release\\net9.0-windows\\win-x64\\publish\\System.Net.Http.dll" + "TargetName" = "8:" + "Tag" = "8:" + "Folder" = "8:_62218C84F9DA4935A123ACECCBAC06B0" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:FALSE" + "IsolateTo" = "8:" + } + "{9F6F8455-1EF1-4B85-886A-4223BCC8E7F7}:_026AA5F28014499D2CA48D39AEBA8A0D" + { + "AssemblyRegister" = "3:1" + "AssemblyIsInGAC" = "11:FALSE" + "AssemblyAsmDisplayName" = "8:System.Diagnostics.TextWriterTraceListener, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL" + "ScatterAssemblies" + { + "_026AA5F28014499D2CA48D39AEBA8A0D" + { + "Name" = "8:System.Diagnostics.TextWriterTraceListener.dll" + "Attributes" = "3:512" + } + } + "SourcePath" = "8:System.Diagnostics.TextWriterTraceListener.dll" + "TargetName" = "8:" + "Tag" = "8:" + "Folder" = "8:_62218C84F9DA4935A123ACECCBAC06B0" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:TRUE" + "IsolateTo" = "8:" + } + "{9F6F8455-1EF1-4B85-886A-4223BCC8E7F7}:_02B0F7551C1CF1CD6A6FE01252ED4F4C" + { + "AssemblyRegister" = "3:1" + "AssemblyIsInGAC" = "11:FALSE" + "AssemblyAsmDisplayName" = "8:System.Xml.XmlDocument, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL" + "ScatterAssemblies" + { + "_02B0F7551C1CF1CD6A6FE01252ED4F4C" + { + "Name" = "8:System.Xml.XmlDocument.dll" + "Attributes" = "3:512" + } + } + "SourcePath" = "8:System.Xml.XmlDocument.dll" + "TargetName" = "8:" + "Tag" = "8:" + "Folder" = "8:_62218C84F9DA4935A123ACECCBAC06B0" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:TRUE" + "IsolateTo" = "8:" + } + "{9F6F8455-1EF1-4B85-886A-4223BCC8E7F7}:_02C6ED8601E890A673B5A2E5EFF784C2" + { + "AssemblyRegister" = "3:1" + "AssemblyIsInGAC" = "11:FALSE" + "AssemblyAsmDisplayName" = "8:System.Runtime.InteropServices, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL" + "ScatterAssemblies" + { + "_02C6ED8601E890A673B5A2E5EFF784C2" + { + "Name" = "8:System.Runtime.InteropServices.dll" + "Attributes" = "3:512" + } + } + "SourcePath" = "8:System.Runtime.InteropServices.dll" + "TargetName" = "8:" + "Tag" = "8:" + "Folder" = "8:_62218C84F9DA4935A123ACECCBAC06B0" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:TRUE" + "IsolateTo" = "8:" + } + "{9F6F8455-1EF1-4B85-886A-4223BCC8E7F7}:_02E4613E8AEB4925B0909C28C1269A91" + { + "AssemblyRegister" = "3:1" + "AssemblyIsInGAC" = "11:FALSE" + "AssemblyAsmDisplayName" = "8:System.Security.Cryptography.Pkcs, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL" + "ScatterAssemblies" + { + "_02E4613E8AEB4925B0909C28C1269A91" + { + "Name" = "8:System.Security.Cryptography.Pkcs.dll" + "Attributes" = "3:512" + } + } + "SourcePath" = "8:..\\leak_test_project\\bin\\Release\\net9.0-windows\\win-x64\\publish\\System.Security.Cryptography.Pkcs.dll" + "TargetName" = "8:" + "Tag" = "8:" + "Folder" = "8:_62218C84F9DA4935A123ACECCBAC06B0" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:FALSE" + "IsolateTo" = "8:" + } + "{9F6F8455-1EF1-4B85-886A-4223BCC8E7F7}:_0302A0E8F069DC6D670ED6DCA4CE78EE" + { + "AssemblyRegister" = "3:1" + "AssemblyIsInGAC" = "11:FALSE" + "AssemblyAsmDisplayName" = "8:System.IO.MemoryMappedFiles, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL" + "ScatterAssemblies" + { + "_0302A0E8F069DC6D670ED6DCA4CE78EE" + { + "Name" = "8:System.IO.MemoryMappedFiles.dll" + "Attributes" = "3:512" + } + } + "SourcePath" = "8:System.IO.MemoryMappedFiles.dll" + "TargetName" = "8:" + "Tag" = "8:" + "Folder" = "8:_62218C84F9DA4935A123ACECCBAC06B0" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:TRUE" + "IsolateTo" = "8:" + } + "{9F6F8455-1EF1-4B85-886A-4223BCC8E7F7}:_0319BF2D87724705AFF5187CB57DC4B2" + { + "AssemblyRegister" = "3:1" + "AssemblyIsInGAC" = "11:FALSE" + "AssemblyAsmDisplayName" = "8:System.Security, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL" + "ScatterAssemblies" + { + "_0319BF2D87724705AFF5187CB57DC4B2" + { + "Name" = "8:System.Security.dll" + "Attributes" = "3:512" + } + } + "SourcePath" = "8:..\\leak_test_project\\bin\\Release\\net9.0-windows\\win-x64\\publish\\System.Security.dll" + "TargetName" = "8:" + "Tag" = "8:" + "Folder" = "8:_62218C84F9DA4935A123ACECCBAC06B0" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:FALSE" + "IsolateTo" = "8:" + } + "{9F6F8455-1EF1-4B85-886A-4223BCC8E7F7}:_03BA8ACDDDBF6520B59F51E73C4D971D" + { + "AssemblyRegister" = "3:1" + "AssemblyIsInGAC" = "11:FALSE" + "AssemblyAsmDisplayName" = "8:System.ComponentModel.Annotations, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL" + "ScatterAssemblies" + { + "_03BA8ACDDDBF6520B59F51E73C4D971D" + { + "Name" = "8:System.ComponentModel.Annotations.dll" + "Attributes" = "3:512" + } + } + "SourcePath" = "8:System.ComponentModel.Annotations.dll" + "TargetName" = "8:" + "Tag" = "8:" + "Folder" = "8:_62218C84F9DA4935A123ACECCBAC06B0" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:TRUE" + "IsolateTo" = "8:" + } + "{9F6F8455-1EF1-4B85-886A-4223BCC8E7F7}:_03EEA3B0054D3E7AA51C825DB765F06A" + { + "AssemblyRegister" = "3:1" + "AssemblyIsInGAC" = "11:TRUE" + "AssemblyAsmDisplayName" = "8:System.IO.Compression.FileSystem, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089, processorArchitecture=MSIL" + "ScatterAssemblies" + { + "_03EEA3B0054D3E7AA51C825DB765F06A" + { + "Name" = "8:System.IO.Compression.FileSystem.dll" + "Attributes" = "3:512" + } + } + "SourcePath" = "8:System.IO.Compression.FileSystem.dll" + "TargetName" = "8:" + "Tag" = "8:" + "Folder" = "8:_62218C84F9DA4935A123ACECCBAC06B0" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:TRUE" + "IsolateTo" = "8:" + } + "{9F6F8455-1EF1-4B85-886A-4223BCC8E7F7}:_0422655D7A614C73B3A8A239E8F21AED" + { + "AssemblyRegister" = "3:1" + "AssemblyIsInGAC" = "11:FALSE" + "AssemblyAsmDisplayName" = "8:System.ComponentModel.DataAnnotations, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL" + "ScatterAssemblies" + { + "_0422655D7A614C73B3A8A239E8F21AED" + { + "Name" = "8:System.ComponentModel.DataAnnotations.dll" + "Attributes" = "3:512" + } + } + "SourcePath" = "8:..\\leak_test_project\\bin\\Release\\net9.0-windows\\win-x64\\publish\\System.ComponentModel.DataAnnotations.dll" + "TargetName" = "8:" + "Tag" = "8:" + "Folder" = "8:_62218C84F9DA4935A123ACECCBAC06B0" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:FALSE" + "IsolateTo" = "8:" + } + "{9F6F8455-1EF1-4B85-886A-4223BCC8E7F7}:_045EC7442D5DE0F8BFC16091D4D0E81D" + { + "AssemblyRegister" = "3:1" + "AssemblyIsInGAC" = "11:FALSE" + "AssemblyAsmDisplayName" = "8:System.Text.Json, Version=9.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51, processorArchitecture=MSIL" + "ScatterAssemblies" + { + "_045EC7442D5DE0F8BFC16091D4D0E81D" + { + "Name" = "8:System.Text.Json.dll" + "Attributes" = "3:512" + } + } + "SourcePath" = "8:System.Text.Json.dll" + "TargetName" = "8:" + "Tag" = "8:" + "Folder" = "8:_62218C84F9DA4935A123ACECCBAC06B0" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:TRUE" + "IsolateTo" = "8:" + } + "{9F6F8455-1EF1-4B85-886A-4223BCC8E7F7}:_04B560317E914B3D845B6618DB552623" + { + "AssemblyRegister" = "3:1" + "AssemblyIsInGAC" = "11:FALSE" + "AssemblyAsmDisplayName" = "8:System.Core, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089, processorArchitecture=MSIL" + "ScatterAssemblies" + { + "_04B560317E914B3D845B6618DB552623" + { + "Name" = "8:System.Core.dll" + "Attributes" = "3:512" + } + } + "SourcePath" = "8:..\\leak_test_project\\bin\\Release\\net9.0-windows\\win-x64\\publish\\System.Core.dll" + "TargetName" = "8:" + "Tag" = "8:" + "Folder" = "8:_62218C84F9DA4935A123ACECCBAC06B0" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:FALSE" + "IsolateTo" = "8:" + } + "{9F6F8455-1EF1-4B85-886A-4223BCC8E7F7}:_05581D908989450DBE2EF42B84501484" + { + "AssemblyRegister" = "3:1" + "AssemblyIsInGAC" = "11:FALSE" + "AssemblyAsmDisplayName" = "8:System.ComponentModel.TypeConverter, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL" + "ScatterAssemblies" + { + "_05581D908989450DBE2EF42B84501484" + { + "Name" = "8:System.ComponentModel.TypeConverter.dll" + "Attributes" = "3:512" + } + } + "SourcePath" = "8:..\\leak_test_project\\bin\\Release\\net9.0-windows\\win-x64\\publish\\System.ComponentModel.TypeConverter.dll" + "TargetName" = "8:" + "Tag" = "8:" + "Folder" = "8:_62218C84F9DA4935A123ACECCBAC06B0" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:FALSE" + "IsolateTo" = "8:" + } + "{9F6F8455-1EF1-4B85-886A-4223BCC8E7F7}:_056F1A41DACF9EE6C093D4334D5B80A4" + { + "AssemblyRegister" = "3:1" + "AssemblyIsInGAC" = "11:FALSE" + "AssemblyAsmDisplayName" = "8:Microsoft.VisualBasic.Core, Version=14.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL" + "ScatterAssemblies" + { + "_056F1A41DACF9EE6C093D4334D5B80A4" + { + "Name" = "8:Microsoft.VisualBasic.Core.dll" + "Attributes" = "3:512" + } + } + "SourcePath" = "8:Microsoft.VisualBasic.Core.dll" + "TargetName" = "8:" + "Tag" = "8:" + "Folder" = "8:_62218C84F9DA4935A123ACECCBAC06B0" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:TRUE" + "IsolateTo" = "8:" + } + "{9F6F8455-1EF1-4B85-886A-4223BCC8E7F7}:_05A39EB48A324A02889E485BCFFAD76A" + { + "AssemblyRegister" = "3:1" + "AssemblyIsInGAC" = "11:FALSE" + "AssemblyAsmDisplayName" = "8:PresentationFramework-SystemDrawing, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089, processorArchitecture=AMD64" + "ScatterAssemblies" + { + "_05A39EB48A324A02889E485BCFFAD76A" + { + "Name" = "8:PresentationFramework-SystemDrawing.dll" + "Attributes" = "3:512" + } + } + "SourcePath" = "8:..\\leak_test_project\\bin\\Release\\net9.0-windows\\win-x64\\publish\\PresentationFramework-SystemDrawing.dll" + "TargetName" = "8:" + "Tag" = "8:" + "Folder" = "8:_62218C84F9DA4935A123ACECCBAC06B0" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:FALSE" + "IsolateTo" = "8:" + } + "{9F6F8455-1EF1-4B85-886A-4223BCC8E7F7}:_08D44BC560614CDDB589C5C658B59B7D" + { + "AssemblyRegister" = "3:1" + "AssemblyIsInGAC" = "11:FALSE" + "AssemblyAsmDisplayName" = "8:System.Resources.Reader, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL" + "ScatterAssemblies" + { + "_08D44BC560614CDDB589C5C658B59B7D" + { + "Name" = "8:System.Resources.Reader.dll" + "Attributes" = "3:512" + } + } + "SourcePath" = "8:..\\leak_test_project\\bin\\Release\\net9.0-windows\\win-x64\\publish\\System.Resources.Reader.dll" + "TargetName" = "8:" + "Tag" = "8:" + "Folder" = "8:_62218C84F9DA4935A123ACECCBAC06B0" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:FALSE" + "IsolateTo" = "8:" + } + "{9F6F8455-1EF1-4B85-886A-4223BCC8E7F7}:_09A62DF5B6844A1F97C767EC8D252742" + { + "AssemblyRegister" = "3:1" + "AssemblyIsInGAC" = "11:FALSE" + "AssemblyAsmDisplayName" = "8:System.Linq.Expressions, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL" + "ScatterAssemblies" + { + "_09A62DF5B6844A1F97C767EC8D252742" + { + "Name" = "8:System.Linq.Expressions.dll" + "Attributes" = "3:512" + } + } + "SourcePath" = "8:..\\leak_test_project\\bin\\Release\\net9.0-windows\\win-x64\\publish\\System.Linq.Expressions.dll" + "TargetName" = "8:" + "Tag" = "8:" + "Folder" = "8:_62218C84F9DA4935A123ACECCBAC06B0" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:FALSE" + "IsolateTo" = "8:" + } + "{9F6F8455-1EF1-4B85-886A-4223BCC8E7F7}:_0C0770DF84ADB725BCC3B9FE50E944AD" + { + "AssemblyRegister" = "3:1" + "AssemblyIsInGAC" = "11:FALSE" + "AssemblyAsmDisplayName" = "8:System.Drawing.Primitives, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL" + "ScatterAssemblies" + { + "_0C0770DF84ADB725BCC3B9FE50E944AD" + { + "Name" = "8:System.Drawing.Primitives.dll" + "Attributes" = "3:512" + } + } + "SourcePath" = "8:System.Drawing.Primitives.dll" + "TargetName" = "8:" + "Tag" = "8:" + "Folder" = "8:_62218C84F9DA4935A123ACECCBAC06B0" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:TRUE" + "IsolateTo" = "8:" + } + "{9F6F8455-1EF1-4B85-886A-4223BCC8E7F7}:_0D4B1FACED7C406C8B45A2D42A956E94" + { + "AssemblyRegister" = "3:1" + "AssemblyIsInGAC" = "11:FALSE" + "AssemblyAsmDisplayName" = "8:System.Threading.Channels, Version=9.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51, processorArchitecture=MSIL" + "ScatterAssemblies" + { + "_0D4B1FACED7C406C8B45A2D42A956E94" + { + "Name" = "8:System.Threading.Channels.dll" + "Attributes" = "3:512" + } + } + "SourcePath" = "8:..\\leak_test_project\\bin\\Release\\net9.0-windows\\win-x64\\publish\\System.Threading.Channels.dll" + "TargetName" = "8:" + "Tag" = "8:" + "Folder" = "8:_62218C84F9DA4935A123ACECCBAC06B0" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:FALSE" + "IsolateTo" = "8:" + } + "{9F6F8455-1EF1-4B85-886A-4223BCC8E7F7}:_0DCC0FC8674AE415B5CC1360A533D983" + { + "AssemblyRegister" = "3:1" + "AssemblyIsInGAC" = "11:TRUE" + "AssemblyAsmDisplayName" = "8:System.Net.Http, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL" + "ScatterAssemblies" + { + "_0DCC0FC8674AE415B5CC1360A533D983" + { + "Name" = "8:System.Net.Http.dll" + "Attributes" = "3:512" + } + } + "SourcePath" = "8:System.Net.Http.dll" + "TargetName" = "8:" + "Tag" = "8:" + "Folder" = "8:_62218C84F9DA4935A123ACECCBAC06B0" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:TRUE" + "IsolateTo" = "8:" + } + "{9F6F8455-1EF1-4B85-886A-4223BCC8E7F7}:_0DF687C0AA8641C092D2E3977BBDEFA7" + { + "AssemblyRegister" = "3:1" + "AssemblyIsInGAC" = "11:FALSE" + "AssemblyAsmDisplayName" = "8:System.Net.HttpListener, Version=9.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51, processorArchitecture=MSIL" + "ScatterAssemblies" + { + "_0DF687C0AA8641C092D2E3977BBDEFA7" + { + "Name" = "8:System.Net.HttpListener.dll" + "Attributes" = "3:512" + } + } + "SourcePath" = "8:..\\leak_test_project\\bin\\Release\\net9.0-windows\\win-x64\\publish\\System.Net.HttpListener.dll" + "TargetName" = "8:" + "Tag" = "8:" + "Folder" = "8:_62218C84F9DA4935A123ACECCBAC06B0" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:FALSE" + "IsolateTo" = "8:" + } + "{9F6F8455-1EF1-4B85-886A-4223BCC8E7F7}:_0EAABA4E186AE44B95DDA8539C36051A" + { + "AssemblyRegister" = "3:1" + "AssemblyIsInGAC" = "11:FALSE" + "AssemblyAsmDisplayName" = "8:System.IO.Compression.ZipFile, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089, processorArchitecture=MSIL" + "ScatterAssemblies" + { + "_0EAABA4E186AE44B95DDA8539C36051A" + { + "Name" = "8:System.IO.Compression.ZipFile.dll" + "Attributes" = "3:512" + } + } + "SourcePath" = "8:System.IO.Compression.ZipFile.dll" + "TargetName" = "8:" + "Tag" = "8:" + "Folder" = "8:_62218C84F9DA4935A123ACECCBAC06B0" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:TRUE" + "IsolateTo" = "8:" + } + "{9F6F8455-1EF1-4B85-886A-4223BCC8E7F7}:_116EB9729A93F5A9EEF73567733F8298" + { + "AssemblyRegister" = "3:1" + "AssemblyIsInGAC" = "11:FALSE" + "AssemblyAsmDisplayName" = "8:System.Net.NetworkInformation, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL" + "ScatterAssemblies" + { + "_116EB9729A93F5A9EEF73567733F8298" + { + "Name" = "8:System.Net.NetworkInformation.dll" + "Attributes" = "3:512" + } + } + "SourcePath" = "8:System.Net.NetworkInformation.dll" + "TargetName" = "8:" + "Tag" = "8:" + "Folder" = "8:_62218C84F9DA4935A123ACECCBAC06B0" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:TRUE" + "IsolateTo" = "8:" + } + "{9F6F8455-1EF1-4B85-886A-4223BCC8E7F7}:_12BFA5DCE4C74EBEBAEA5E50ED2ECF8B" + { + "AssemblyRegister" = "3:1" + "AssemblyIsInGAC" = "11:FALSE" + "AssemblyAsmDisplayName" = "8:System.Console, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL" + "ScatterAssemblies" + { + "_12BFA5DCE4C74EBEBAEA5E50ED2ECF8B" + { + "Name" = "8:System.Console.dll" + "Attributes" = "3:512" + } + } + "SourcePath" = "8:..\\leak_test_project\\bin\\Release\\net9.0-windows\\win-x64\\publish\\System.Console.dll" + "TargetName" = "8:" + "Tag" = "8:" + "Folder" = "8:_62218C84F9DA4935A123ACECCBAC06B0" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:FALSE" + "IsolateTo" = "8:" + } + "{9F6F8455-1EF1-4B85-886A-4223BCC8E7F7}:_13B476BCC07AAC0ACDCD13680C79132E" + { + "AssemblyRegister" = "3:1" + "AssemblyIsInGAC" = "11:FALSE" + "AssemblyAsmDisplayName" = "8:System.Net.Http.Json, Version=9.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51, processorArchitecture=MSIL" + "ScatterAssemblies" + { + "_13B476BCC07AAC0ACDCD13680C79132E" + { + "Name" = "8:System.Net.Http.Json.dll" + "Attributes" = "3:512" + } + } + "SourcePath" = "8:System.Net.Http.Json.dll" + "TargetName" = "8:" + "Tag" = "8:" + "Folder" = "8:_62218C84F9DA4935A123ACECCBAC06B0" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:TRUE" + "IsolateTo" = "8:" + } + "{9F6F8455-1EF1-4B85-886A-4223BCC8E7F7}:_13C3B3EAC7BC4528B3D5C1A75241C869" + { + "AssemblyRegister" = "3:1" + "AssemblyIsInGAC" = "11:FALSE" + "AssemblyAsmDisplayName" = "8:System.Runtime.CompilerServices.Unsafe, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL" + "ScatterAssemblies" + { + "_13C3B3EAC7BC4528B3D5C1A75241C869" + { + "Name" = "8:System.Runtime.CompilerServices.Unsafe.dll" + "Attributes" = "3:512" + } + } + "SourcePath" = "8:..\\leak_test_project\\bin\\Release\\net9.0-windows\\win-x64\\publish\\System.Runtime.CompilerServices.Unsafe.dll" + "TargetName" = "8:" + "Tag" = "8:" + "Folder" = "8:_62218C84F9DA4935A123ACECCBAC06B0" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:FALSE" + "IsolateTo" = "8:" + } + "{9F6F8455-1EF1-4B85-886A-4223BCC8E7F7}:_13D3431B48E2429EA0492571FB0A0DF5" + { + "AssemblyRegister" = "3:1" + "AssemblyIsInGAC" = "11:FALSE" + "AssemblyAsmDisplayName" = "8:System.Reflection.Primitives, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL" + "ScatterAssemblies" + { + "_13D3431B48E2429EA0492571FB0A0DF5" + { + "Name" = "8:System.Reflection.Primitives.dll" + "Attributes" = "3:512" + } + } + "SourcePath" = "8:..\\leak_test_project\\bin\\Release\\net9.0-windows\\win-x64\\publish\\System.Reflection.Primitives.dll" + "TargetName" = "8:" + "Tag" = "8:" + "Folder" = "8:_62218C84F9DA4935A123ACECCBAC06B0" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:FALSE" + "IsolateTo" = "8:" + } + "{9F6F8455-1EF1-4B85-886A-4223BCC8E7F7}:_144E748AB58B4F28BB26CA6FE7DE7D6A" + { + "AssemblyRegister" = "3:1" + "AssemblyIsInGAC" = "11:FALSE" + "AssemblyAsmDisplayName" = "8:System.Reflection, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL" + "ScatterAssemblies" + { + "_144E748AB58B4F28BB26CA6FE7DE7D6A" + { + "Name" = "8:System.Reflection.dll" + "Attributes" = "3:512" + } + } + "SourcePath" = "8:..\\leak_test_project\\bin\\Release\\net9.0-windows\\win-x64\\publish\\System.Reflection.dll" + "TargetName" = "8:" + "Tag" = "8:" + "Folder" = "8:_62218C84F9DA4935A123ACECCBAC06B0" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:FALSE" + "IsolateTo" = "8:" + } + "{9F6F8455-1EF1-4B85-886A-4223BCC8E7F7}:_145E102706B3BD5EEB3E3ACE43A40B3F" + { + "AssemblyRegister" = "3:1" + "AssemblyIsInGAC" = "11:FALSE" + "AssemblyAsmDisplayName" = "8:System.Linq.Queryable, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL" + "ScatterAssemblies" + { + "_145E102706B3BD5EEB3E3ACE43A40B3F" + { + "Name" = "8:System.Linq.Queryable.dll" + "Attributes" = "3:512" + } + } + "SourcePath" = "8:System.Linq.Queryable.dll" + "TargetName" = "8:" + "Tag" = "8:" + "Folder" = "8:_62218C84F9DA4935A123ACECCBAC06B0" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:TRUE" + "IsolateTo" = "8:" + } + "{9F6F8455-1EF1-4B85-886A-4223BCC8E7F7}:_147D97C9F3B6BA02F678CA3935F67915" + { + "AssemblyRegister" = "3:1" + "AssemblyIsInGAC" = "11:FALSE" + "AssemblyAsmDisplayName" = "8:System.Private.Uri, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL" + "ScatterAssemblies" + { + "_147D97C9F3B6BA02F678CA3935F67915" + { + "Name" = "8:System.Private.Uri.dll" + "Attributes" = "3:512" + } + } + "SourcePath" = "8:System.Private.Uri.dll" + "TargetName" = "8:" + "Tag" = "8:" + "Folder" = "8:_62218C84F9DA4935A123ACECCBAC06B0" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:TRUE" + "IsolateTo" = "8:" + } + "{9F6F8455-1EF1-4B85-886A-4223BCC8E7F7}:_1551258034248E4E492021BAF397CB42" + { + "AssemblyRegister" = "3:1" + "AssemblyIsInGAC" = "11:FALSE" + "AssemblyAsmDisplayName" = "8:System.Numerics.Vectors, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL" + "ScatterAssemblies" + { + "_1551258034248E4E492021BAF397CB42" + { + "Name" = "8:System.Numerics.Vectors.dll" + "Attributes" = "3:512" + } + } + "SourcePath" = "8:System.Numerics.Vectors.dll" + "TargetName" = "8:" + "Tag" = "8:" + "Folder" = "8:_62218C84F9DA4935A123ACECCBAC06B0" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:TRUE" + "IsolateTo" = "8:" + } + "{9F6F8455-1EF1-4B85-886A-4223BCC8E7F7}:_15554B3D9AB1703D58B0D31D6923E3C0" + { + "AssemblyRegister" = "3:1" + "AssemblyIsInGAC" = "11:FALSE" + "AssemblyAsmDisplayName" = "8:System.Net.Security, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL" + "ScatterAssemblies" + { + "_15554B3D9AB1703D58B0D31D6923E3C0" + { + "Name" = "8:System.Net.Security.dll" + "Attributes" = "3:512" + } + } + "SourcePath" = "8:System.Net.Security.dll" + "TargetName" = "8:" + "Tag" = "8:" + "Folder" = "8:_62218C84F9DA4935A123ACECCBAC06B0" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:TRUE" + "IsolateTo" = "8:" + } + "{9F6F8455-1EF1-4B85-886A-4223BCC8E7F7}:_15A32CE5685D4C6695125860C16571FB" + { + "AssemblyRegister" = "3:1" + "AssemblyIsInGAC" = "11:FALSE" + "AssemblyAsmDisplayName" = "8:System.Private.CoreLib, Version=9.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e, processorArchitecture=MSIL" + "ScatterAssemblies" + { + "_15A32CE5685D4C6695125860C16571FB" + { + "Name" = "8:System.Private.CoreLib.dll" + "Attributes" = "3:512" + } + } + "SourcePath" = "8:..\\leak_test_project\\bin\\Release\\net9.0-windows\\win-x64\\publish\\System.Private.CoreLib.dll" + "TargetName" = "8:" + "Tag" = "8:" + "Folder" = "8:_62218C84F9DA4935A123ACECCBAC06B0" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:FALSE" + "IsolateTo" = "8:" + } + "{9F6F8455-1EF1-4B85-886A-4223BCC8E7F7}:_167D566FCD3D724B914C3E6BBDBFA434" + { + "AssemblyRegister" = "3:1" + "AssemblyIsInGAC" = "11:FALSE" + "AssemblyAsmDisplayName" = "8:System.Reflection.Emit, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL" + "ScatterAssemblies" + { + "_167D566FCD3D724B914C3E6BBDBFA434" + { + "Name" = "8:System.Reflection.Emit.dll" + "Attributes" = "3:512" + } + } + "SourcePath" = "8:System.Reflection.Emit.dll" + "TargetName" = "8:" + "Tag" = "8:" + "Folder" = "8:_62218C84F9DA4935A123ACECCBAC06B0" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:TRUE" + "IsolateTo" = "8:" + } + "{9F6F8455-1EF1-4B85-886A-4223BCC8E7F7}:_179F68EB6691A388BE34A6557619EB81" + { + "AssemblyRegister" = "3:1" + "AssemblyIsInGAC" = "11:FALSE" + "AssemblyAsmDisplayName" = "8:System.Net.HttpListener, Version=9.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51, processorArchitecture=MSIL" + "ScatterAssemblies" + { + "_179F68EB6691A388BE34A6557619EB81" + { + "Name" = "8:System.Net.HttpListener.dll" + "Attributes" = "3:512" + } + } + "SourcePath" = "8:System.Net.HttpListener.dll" + "TargetName" = "8:" + "Tag" = "8:" + "Folder" = "8:_62218C84F9DA4935A123ACECCBAC06B0" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:TRUE" + "IsolateTo" = "8:" + } + "{9F6F8455-1EF1-4B85-886A-4223BCC8E7F7}:_17D03F5442B743769AF147B534D842BB" + { + "AssemblyRegister" = "3:1" + "AssemblyIsInGAC" = "11:FALSE" + "AssemblyAsmDisplayName" = "8:System.Net.Quic, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL" + "ScatterAssemblies" + { + "_17D03F5442B743769AF147B534D842BB" + { + "Name" = "8:System.Net.Quic.dll" + "Attributes" = "3:512" + } + } + "SourcePath" = "8:..\\leak_test_project\\bin\\Release\\net9.0-windows\\win-x64\\publish\\System.Net.Quic.dll" + "TargetName" = "8:" + "Tag" = "8:" + "Folder" = "8:_62218C84F9DA4935A123ACECCBAC06B0" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:FALSE" + "IsolateTo" = "8:" + } + "{9F6F8455-1EF1-4B85-886A-4223BCC8E7F7}:_189E57FC8047020AFCDB33ED035A7570" + { + "AssemblyRegister" = "3:1" + "AssemblyIsInGAC" = "11:FALSE" + "AssemblyAsmDisplayName" = "8:System.Threading.Tasks.Parallel, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL" + "ScatterAssemblies" + { + "_189E57FC8047020AFCDB33ED035A7570" + { + "Name" = "8:System.Threading.Tasks.Parallel.dll" + "Attributes" = "3:512" + } + } + "SourcePath" = "8:System.Threading.Tasks.Parallel.dll" + "TargetName" = "8:" + "Tag" = "8:" + "Folder" = "8:_62218C84F9DA4935A123ACECCBAC06B0" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:TRUE" + "IsolateTo" = "8:" + } + "{9F6F8455-1EF1-4B85-886A-4223BCC8E7F7}:_199C4E0C921D4A5DAEC115D1B8C45FD4" + { + "AssemblyRegister" = "3:1" + "AssemblyIsInGAC" = "11:FALSE" + "AssemblyAsmDisplayName" = "8:ReachFramework, Version=9.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=AMD64" + "ScatterAssemblies" + { + "_199C4E0C921D4A5DAEC115D1B8C45FD4" + { + "Name" = "8:ReachFramework.dll" + "Attributes" = "3:512" + } + } + "SourcePath" = "8:..\\leak_test_project\\bin\\Release\\net9.0-windows\\win-x64\\publish\\ReachFramework.dll" + "TargetName" = "8:" + "Tag" = "8:" + "Folder" = "8:_62218C84F9DA4935A123ACECCBAC06B0" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:FALSE" + "IsolateTo" = "8:" + } + "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_1A1BA19615F44D1EB7CFF0FC8E35209C" + { + "SourcePath" = "8:..\\leak_test_project\\bin\\Release\\net9.0-windows\\win-x64\\publish\\mscordaccore.dll" + "TargetName" = "8:mscordaccore.dll" + "Tag" = "8:" + "Folder" = "8:_62218C84F9DA4935A123ACECCBAC06B0" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:FALSE" + "IsolateTo" = "8:" + } + "{9F6F8455-1EF1-4B85-886A-4223BCC8E7F7}:_1AFFE18A5663E9DC4F95DA808CC22BC4" + { + "AssemblyRegister" = "3:1" + "AssemblyIsInGAC" = "11:FALSE" + "AssemblyAsmDisplayName" = "8:System.Diagnostics.EventLog, Version=9.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51, processorArchitecture=MSIL" + "ScatterAssemblies" + { + "_1AFFE18A5663E9DC4F95DA808CC22BC4" + { + "Name" = "8:System.Diagnostics.EventLog.dll" + "Attributes" = "3:512" + } + } + "SourcePath" = "8:System.Diagnostics.EventLog.dll" + "TargetName" = "8:" + "Tag" = "8:" + "Folder" = "8:_62218C84F9DA4935A123ACECCBAC06B0" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:TRUE" + "IsolateTo" = "8:" + } + "{9F6F8455-1EF1-4B85-886A-4223BCC8E7F7}:_1CFDA3E92E67479FA1DCD568EF25F83B" + { + "AssemblyRegister" = "3:1" + "AssemblyIsInGAC" = "11:FALSE" + "AssemblyAsmDisplayName" = "8:UIAutomationProvider, Version=9.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=AMD64" + "ScatterAssemblies" + { + "_1CFDA3E92E67479FA1DCD568EF25F83B" + { + "Name" = "8:UIAutomationProvider.dll" + "Attributes" = "3:512" + } + } + "SourcePath" = "8:..\\leak_test_project\\bin\\Release\\net9.0-windows\\win-x64\\publish\\UIAutomationProvider.dll" + "TargetName" = "8:" + "Tag" = "8:" + "Folder" = "8:_62218C84F9DA4935A123ACECCBAC06B0" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:FALSE" + "IsolateTo" = "8:" + } + "{9F6F8455-1EF1-4B85-886A-4223BCC8E7F7}:_1D9A456B9E2081FFB17F4D552810A002" + { + "AssemblyRegister" = "3:1" + "AssemblyIsInGAC" = "11:FALSE" + "AssemblyAsmDisplayName" = "8:System.Text.Encoding, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL" + "ScatterAssemblies" + { + "_1D9A456B9E2081FFB17F4D552810A002" + { + "Name" = "8:System.Text.Encoding.dll" + "Attributes" = "3:512" + } + } + "SourcePath" = "8:System.Text.Encoding.dll" + "TargetName" = "8:" + "Tag" = "8:" + "Folder" = "8:_62218C84F9DA4935A123ACECCBAC06B0" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:TRUE" + "IsolateTo" = "8:" + } + "{9F6F8455-1EF1-4B85-886A-4223BCC8E7F7}:_1E055B0BAC1C43F5B5FEAD6924109C12" + { + "AssemblyRegister" = "3:1" + "AssemblyIsInGAC" = "11:FALSE" + "AssemblyAsmDisplayName" = "8:UIAutomationClientSideProviders, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089, processorArchitecture=AMD64" + "ScatterAssemblies" + { + "_1E055B0BAC1C43F5B5FEAD6924109C12" + { + "Name" = "8:UIAutomationClientSideProviders.dll" + "Attributes" = "3:512" + } + } + "SourcePath" = "8:..\\leak_test_project\\bin\\Release\\net9.0-windows\\win-x64\\publish\\UIAutomationClientSideProviders.dll" + "TargetName" = "8:" + "Tag" = "8:" + "Folder" = "8:_62218C84F9DA4935A123ACECCBAC06B0" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:FALSE" + "IsolateTo" = "8:" + } + "{9F6F8455-1EF1-4B85-886A-4223BCC8E7F7}:_1FD46B12238020C693B2CF0950844FA1" + { + "AssemblyRegister" = "3:1" + "AssemblyIsInGAC" = "11:FALSE" + "AssemblyAsmDisplayName" = "8:System.IO, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL" + "ScatterAssemblies" + { + "_1FD46B12238020C693B2CF0950844FA1" + { + "Name" = "8:System.IO.dll" + "Attributes" = "3:512" + } + } + "SourcePath" = "8:System.IO.dll" + "TargetName" = "8:" + "Tag" = "8:" + "Folder" = "8:_62218C84F9DA4935A123ACECCBAC06B0" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:TRUE" + "IsolateTo" = "8:" + } + "{9F6F8455-1EF1-4B85-886A-4223BCC8E7F7}:_1FED32A36DEDF48FCB4ED09F524E99E5" + { + "AssemblyRegister" = "3:1" + "AssemblyIsInGAC" = "11:FALSE" + "AssemblyAsmDisplayName" = "8:System.Xml.XPath.XDocument, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL" + "ScatterAssemblies" + { + "_1FED32A36DEDF48FCB4ED09F524E99E5" + { + "Name" = "8:System.Xml.XPath.XDocument.dll" + "Attributes" = "3:512" + } + } + "SourcePath" = "8:System.Xml.XPath.XDocument.dll" + "TargetName" = "8:" + "Tag" = "8:" + "Folder" = "8:_62218C84F9DA4935A123ACECCBAC06B0" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:TRUE" + "IsolateTo" = "8:" + } + "{9F6F8455-1EF1-4B85-886A-4223BCC8E7F7}:_20C9B115AEE142BFB86DF96FC47D2D23" + { + "AssemblyRegister" = "3:1" + "AssemblyIsInGAC" = "11:FALSE" + "AssemblyAsmDisplayName" = "8:System.Security.Principal, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL" + "ScatterAssemblies" + { + "_20C9B115AEE142BFB86DF96FC47D2D23" + { + "Name" = "8:System.Security.Principal.dll" + "Attributes" = "3:512" + } + } + "SourcePath" = "8:..\\leak_test_project\\bin\\Release\\net9.0-windows\\win-x64\\publish\\System.Security.Principal.dll" + "TargetName" = "8:" + "Tag" = "8:" + "Folder" = "8:_62218C84F9DA4935A123ACECCBAC06B0" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:FALSE" + "IsolateTo" = "8:" + } + "{9F6F8455-1EF1-4B85-886A-4223BCC8E7F7}:_20FFD0CF6C92429FAA25626C12E1F20C" + { + "AssemblyRegister" = "3:1" + "AssemblyIsInGAC" = "11:FALSE" + "AssemblyAsmDisplayName" = "8:System.Net.Security, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL" + "ScatterAssemblies" + { + "_20FFD0CF6C92429FAA25626C12E1F20C" + { + "Name" = "8:System.Net.Security.dll" + "Attributes" = "3:512" + } + } + "SourcePath" = "8:..\\leak_test_project\\bin\\Release\\net9.0-windows\\win-x64\\publish\\System.Net.Security.dll" + "TargetName" = "8:" + "Tag" = "8:" + "Folder" = "8:_62218C84F9DA4935A123ACECCBAC06B0" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:FALSE" + "IsolateTo" = "8:" + } + "{9F6F8455-1EF1-4B85-886A-4223BCC8E7F7}:_21A2529647604DFFB1092B225884ECB6" + { + "AssemblyRegister" = "3:1" + "AssemblyIsInGAC" = "11:FALSE" + "AssemblyAsmDisplayName" = "8:System.Security.Cryptography.Xml, Version=9.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51, processorArchitecture=MSIL" + "ScatterAssemblies" + { + "_21A2529647604DFFB1092B225884ECB6" + { + "Name" = "8:System.Security.Cryptography.Xml.dll" + "Attributes" = "3:512" + } + } + "SourcePath" = "8:..\\leak_test_project\\bin\\Release\\net9.0-windows\\win-x64\\publish\\System.Security.Cryptography.Xml.dll" + "TargetName" = "8:" + "Tag" = "8:" + "Folder" = "8:_62218C84F9DA4935A123ACECCBAC06B0" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:FALSE" + "IsolateTo" = "8:" + } + "{9F6F8455-1EF1-4B85-886A-4223BCC8E7F7}:_221D0F95C39A467EAA1EC8E87F57B8F8" + { + "AssemblyRegister" = "3:1" + "AssemblyIsInGAC" = "11:FALSE" + "AssemblyAsmDisplayName" = "8:System.Runtime.Serialization.Primitives, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL" + "ScatterAssemblies" + { + "_221D0F95C39A467EAA1EC8E87F57B8F8" + { + "Name" = "8:System.Runtime.Serialization.Primitives.dll" + "Attributes" = "3:512" + } + } + "SourcePath" = "8:..\\leak_test_project\\bin\\Release\\net9.0-windows\\win-x64\\publish\\System.Runtime.Serialization.Primitives.dll" + "TargetName" = "8:" + "Tag" = "8:" + "Folder" = "8:_62218C84F9DA4935A123ACECCBAC06B0" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:FALSE" + "IsolateTo" = "8:" + } + "{9F6F8455-1EF1-4B85-886A-4223BCC8E7F7}:_22AD91526EBF08AC10B308C7CCE8F566" + { + "AssemblyRegister" = "3:1" + "AssemblyIsInGAC" = "11:FALSE" + "AssemblyAsmDisplayName" = "8:System.ValueTuple, Version=9.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51, processorArchitecture=MSIL" + "ScatterAssemblies" + { + "_22AD91526EBF08AC10B308C7CCE8F566" + { + "Name" = "8:System.ValueTuple.dll" + "Attributes" = "3:512" + } + } + "SourcePath" = "8:System.ValueTuple.dll" + "TargetName" = "8:" + "Tag" = "8:" + "Folder" = "8:_62218C84F9DA4935A123ACECCBAC06B0" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:TRUE" + "IsolateTo" = "8:" + } + "{9F6F8455-1EF1-4B85-886A-4223BCC8E7F7}:_232ACD7603294423A9F576A29A52830E" + { + "AssemblyRegister" = "3:1" + "AssemblyIsInGAC" = "11:FALSE" + "AssemblyAsmDisplayName" = "8:System.Net.WebSockets.Client, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL" + "ScatterAssemblies" + { + "_232ACD7603294423A9F576A29A52830E" + { + "Name" = "8:System.Net.WebSockets.Client.dll" + "Attributes" = "3:512" + } + } + "SourcePath" = "8:..\\leak_test_project\\bin\\Release\\net9.0-windows\\win-x64\\publish\\System.Net.WebSockets.Client.dll" + "TargetName" = "8:" + "Tag" = "8:" + "Folder" = "8:_62218C84F9DA4935A123ACECCBAC06B0" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:FALSE" + "IsolateTo" = "8:" + } + "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_23C93B17C2974D88A2B96A3C7E81E4AA" + { + "SourcePath" = "8:..\\leak_test_project\\bin\\Release\\net9.0-windows\\win-x64\\publish\\wpfgfx_cor3.dll" + "TargetName" = "8:wpfgfx_cor3.dll" + "Tag" = "8:" + "Folder" = "8:_62218C84F9DA4935A123ACECCBAC06B0" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:FALSE" + "IsolateTo" = "8:" + } + "{9F6F8455-1EF1-4B85-886A-4223BCC8E7F7}:_24DE3229C3EB23D88DA6489295CECC60" + { + "AssemblyRegister" = "3:1" + "AssemblyIsInGAC" = "11:FALSE" + "AssemblyAsmDisplayName" = "8:System.Formats.Nrbf, Version=9.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51, processorArchitecture=MSIL" + "ScatterAssemblies" + { + "_24DE3229C3EB23D88DA6489295CECC60" + { + "Name" = "8:System.Formats.Nrbf.dll" + "Attributes" = "3:512" + } + } + "SourcePath" = "8:System.Formats.Nrbf.dll" + "TargetName" = "8:" + "Tag" = "8:" + "Folder" = "8:_62218C84F9DA4935A123ACECCBAC06B0" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:TRUE" + "IsolateTo" = "8:" + } + "{9F6F8455-1EF1-4B85-886A-4223BCC8E7F7}:_24F9AB225145478C93BEB23ECA392FF7" + { + "AssemblyRegister" = "3:1" + "AssemblyIsInGAC" = "11:FALSE" + "AssemblyAsmDisplayName" = "8:System.Runtime.Numerics, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL" + "ScatterAssemblies" + { + "_24F9AB225145478C93BEB23ECA392FF7" + { + "Name" = "8:System.Runtime.Numerics.dll" + "Attributes" = "3:512" + } + } + "SourcePath" = "8:..\\leak_test_project\\bin\\Release\\net9.0-windows\\win-x64\\publish\\System.Runtime.Numerics.dll" + "TargetName" = "8:" + "Tag" = "8:" + "Folder" = "8:_62218C84F9DA4935A123ACECCBAC06B0" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:FALSE" + "IsolateTo" = "8:" + } + "{9F6F8455-1EF1-4B85-886A-4223BCC8E7F7}:_25119C0EDD984B380F70507E568E7EC3" + { + "AssemblyRegister" = "3:1" + "AssemblyIsInGAC" = "11:FALSE" + "AssemblyAsmDisplayName" = "8:System.Net.Primitives, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL" + "ScatterAssemblies" + { + "_25119C0EDD984B380F70507E568E7EC3" + { + "Name" = "8:System.Net.Primitives.dll" + "Attributes" = "3:512" + } + } + "SourcePath" = "8:System.Net.Primitives.dll" + "TargetName" = "8:" + "Tag" = "8:" + "Folder" = "8:_62218C84F9DA4935A123ACECCBAC06B0" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:TRUE" + "IsolateTo" = "8:" + } + "{9F6F8455-1EF1-4B85-886A-4223BCC8E7F7}:_25CD1BE430DE930834D38ED4434746A3" + { + "AssemblyRegister" = "3:1" + "AssemblyIsInGAC" = "11:FALSE" + "AssemblyAsmDisplayName" = "8:System.Collections.NonGeneric, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL" + "ScatterAssemblies" + { + "_25CD1BE430DE930834D38ED4434746A3" + { + "Name" = "8:System.Collections.NonGeneric.dll" + "Attributes" = "3:512" + } + } + "SourcePath" = "8:System.Collections.NonGeneric.dll" + "TargetName" = "8:" + "Tag" = "8:" + "Folder" = "8:_62218C84F9DA4935A123ACECCBAC06B0" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:TRUE" + "IsolateTo" = "8:" + } + "{9F6F8455-1EF1-4B85-886A-4223BCC8E7F7}:_26E0C82D630083B6C5905B2906ED88EE" + { + "AssemblyRegister" = "3:1" + "AssemblyIsInGAC" = "11:FALSE" + "AssemblyAsmDisplayName" = "8:System.Security.Cryptography.X509Certificates, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL" + "ScatterAssemblies" + { + "_26E0C82D630083B6C5905B2906ED88EE" + { + "Name" = "8:System.Security.Cryptography.X509Certificates.dll" + "Attributes" = "3:512" + } + } + "SourcePath" = "8:System.Security.Cryptography.X509Certificates.dll" + "TargetName" = "8:" + "Tag" = "8:" + "Folder" = "8:_62218C84F9DA4935A123ACECCBAC06B0" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:TRUE" + "IsolateTo" = "8:" + } + "{9F6F8455-1EF1-4B85-886A-4223BCC8E7F7}:_292CB48DD2234C5C9F966039981DA3DC" + { + "AssemblyRegister" = "3:1" + "AssemblyIsInGAC" = "11:FALSE" + "AssemblyAsmDisplayName" = "8:System.Text.Encoding.CodePages, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL" + "ScatterAssemblies" + { + "_292CB48DD2234C5C9F966039981DA3DC" + { + "Name" = "8:System.Text.Encoding.CodePages.dll" + "Attributes" = "3:512" + } + } + "SourcePath" = "8:..\\leak_test_project\\bin\\Release\\net9.0-windows\\win-x64\\publish\\System.Text.Encoding.CodePages.dll" + "TargetName" = "8:" + "Tag" = "8:" + "Folder" = "8:_62218C84F9DA4935A123ACECCBAC06B0" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:FALSE" + "IsolateTo" = "8:" + } + "{9F6F8455-1EF1-4B85-886A-4223BCC8E7F7}:_2A334B668DCE33BCF921B34BEEE353B3" + { + "AssemblyRegister" = "3:1" + "AssemblyIsInGAC" = "11:FALSE" + "AssemblyAsmDisplayName" = "8:System.Net.WebSockets, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL" + "ScatterAssemblies" + { + "_2A334B668DCE33BCF921B34BEEE353B3" + { + "Name" = "8:System.Net.WebSockets.dll" + "Attributes" = "3:512" + } + } + "SourcePath" = "8:System.Net.WebSockets.dll" + "TargetName" = "8:" + "Tag" = "8:" + "Folder" = "8:_62218C84F9DA4935A123ACECCBAC06B0" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:TRUE" + "IsolateTo" = "8:" + } + "{9F6F8455-1EF1-4B85-886A-4223BCC8E7F7}:_2A658EAC69E52B448271E6CAAD1B1B7F" + { + "AssemblyRegister" = "3:1" + "AssemblyIsInGAC" = "11:FALSE" + "AssemblyAsmDisplayName" = "8:System.Threading.Tasks.Dataflow, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL" + "ScatterAssemblies" + { + "_2A658EAC69E52B448271E6CAAD1B1B7F" + { + "Name" = "8:System.Threading.Tasks.Dataflow.dll" + "Attributes" = "3:512" + } + } + "SourcePath" = "8:System.Threading.Tasks.Dataflow.dll" + "TargetName" = "8:" + "Tag" = "8:" + "Folder" = "8:_62218C84F9DA4935A123ACECCBAC06B0" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:TRUE" + "IsolateTo" = "8:" + } + "{9F6F8455-1EF1-4B85-886A-4223BCC8E7F7}:_2AD130904BC84DEA8501024AA232FC4E" + { + "AssemblyRegister" = "3:1" + "AssemblyIsInGAC" = "11:FALSE" + "AssemblyAsmDisplayName" = "8:System.Net.NameResolution, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL" + "ScatterAssemblies" + { + "_2AD130904BC84DEA8501024AA232FC4E" + { + "Name" = "8:System.Net.NameResolution.dll" + "Attributes" = "3:512" + } + } + "SourcePath" = "8:..\\leak_test_project\\bin\\Release\\net9.0-windows\\win-x64\\publish\\System.Net.NameResolution.dll" + "TargetName" = "8:" + "Tag" = "8:" + "Folder" = "8:_62218C84F9DA4935A123ACECCBAC06B0" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:FALSE" + "IsolateTo" = "8:" + } + "{9F6F8455-1EF1-4B85-886A-4223BCC8E7F7}:_2BA878D1C62AB7B09F69BFBC559E3DC5" + { + "AssemblyRegister" = "3:1" + "AssemblyIsInGAC" = "11:TRUE" + "AssemblyAsmDisplayName" = "8:System.Net.Sockets, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL" + "ScatterAssemblies" + { + "_2BA878D1C62AB7B09F69BFBC559E3DC5" + { + "Name" = "8:System.Net.Sockets.dll" + "Attributes" = "3:512" + } + } + "SourcePath" = "8:System.Net.Sockets.dll" + "TargetName" = "8:" + "Tag" = "8:" + "Folder" = "8:_62218C84F9DA4935A123ACECCBAC06B0" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:TRUE" + "IsolateTo" = "8:" + } + "{9F6F8455-1EF1-4B85-886A-4223BCC8E7F7}:_2BE296506CBF408BA73577F355DF35EA" + { + "AssemblyRegister" = "3:1" + "AssemblyIsInGAC" = "11:FALSE" + "AssemblyAsmDisplayName" = "8:System.AppContext, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL" + "ScatterAssemblies" + { + "_2BE296506CBF408BA73577F355DF35EA" + { + "Name" = "8:System.AppContext.dll" + "Attributes" = "3:512" + } + } + "SourcePath" = "8:..\\leak_test_project\\bin\\Release\\net9.0-windows\\win-x64\\publish\\System.AppContext.dll" + "TargetName" = "8:" + "Tag" = "8:" + "Folder" = "8:_62218C84F9DA4935A123ACECCBAC06B0" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:FALSE" + "IsolateTo" = "8:" + } + "{9F6F8455-1EF1-4B85-886A-4223BCC8E7F7}:_2C1DA645B2694569A12B0ECA7CB984DF" + { + "AssemblyRegister" = "3:1" + "AssemblyIsInGAC" = "11:FALSE" + "AssemblyAsmDisplayName" = "8:System.Diagnostics.StackTrace, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL" + "ScatterAssemblies" + { + "_2C1DA645B2694569A12B0ECA7CB984DF" + { + "Name" = "8:System.Diagnostics.StackTrace.dll" + "Attributes" = "3:512" + } + } + "SourcePath" = "8:..\\leak_test_project\\bin\\Release\\net9.0-windows\\win-x64\\publish\\System.Diagnostics.StackTrace.dll" + "TargetName" = "8:" + "Tag" = "8:" + "Folder" = "8:_62218C84F9DA4935A123ACECCBAC06B0" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:FALSE" + "IsolateTo" = "8:" + } + "{9F6F8455-1EF1-4B85-886A-4223BCC8E7F7}:_2D8A23969B1E395FE213A4511F720758" + { + "AssemblyRegister" = "3:1" + "AssemblyIsInGAC" = "11:FALSE" + "AssemblyAsmDisplayName" = "8:System.Runtime.Serialization.Json, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL" + "ScatterAssemblies" + { + "_2D8A23969B1E395FE213A4511F720758" + { + "Name" = "8:System.Runtime.Serialization.Json.dll" + "Attributes" = "3:512" + } + } + "SourcePath" = "8:System.Runtime.Serialization.Json.dll" + "TargetName" = "8:" + "Tag" = "8:" + "Folder" = "8:_62218C84F9DA4935A123ACECCBAC06B0" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:TRUE" + "IsolateTo" = "8:" + } + "{9F6F8455-1EF1-4B85-886A-4223BCC8E7F7}:_2EDFE99BA24842DDA91F67E6DB05440D" + { + "AssemblyRegister" = "3:1" + "AssemblyIsInGAC" = "11:FALSE" + "AssemblyAsmDisplayName" = "8:System.Globalization, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL" + "ScatterAssemblies" + { + "_2EDFE99BA24842DDA91F67E6DB05440D" + { + "Name" = "8:System.Globalization.dll" + "Attributes" = "3:512" + } + } + "SourcePath" = "8:..\\leak_test_project\\bin\\Release\\net9.0-windows\\win-x64\\publish\\System.Globalization.dll" + "TargetName" = "8:" + "Tag" = "8:" + "Folder" = "8:_62218C84F9DA4935A123ACECCBAC06B0" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:FALSE" + "IsolateTo" = "8:" + } + "{9F6F8455-1EF1-4B85-886A-4223BCC8E7F7}:_2F25D1ADC70603E609283EB9BAA97E02" + { + "AssemblyRegister" = "3:1" + "AssemblyIsInGAC" = "11:FALSE" + "AssemblyAsmDisplayName" = "8:System.ComponentModel.EventBasedAsync, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL" + "ScatterAssemblies" + { + "_2F25D1ADC70603E609283EB9BAA97E02" + { + "Name" = "8:System.ComponentModel.EventBasedAsync.dll" + "Attributes" = "3:512" + } + } + "SourcePath" = "8:System.ComponentModel.EventBasedAsync.dll" + "TargetName" = "8:" + "Tag" = "8:" + "Folder" = "8:_62218C84F9DA4935A123ACECCBAC06B0" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:TRUE" + "IsolateTo" = "8:" + } + "{9F6F8455-1EF1-4B85-886A-4223BCC8E7F7}:_2F3DF2C97193539E507701F57A86CA4C" + { + "AssemblyRegister" = "3:1" + "AssemblyIsInGAC" = "11:FALSE" + "AssemblyAsmDisplayName" = "8:System.IO.Pipelines, Version=9.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51, processorArchitecture=MSIL" + "ScatterAssemblies" + { + "_2F3DF2C97193539E507701F57A86CA4C" + { + "Name" = "8:System.IO.Pipelines.dll" + "Attributes" = "3:512" + } + } + "SourcePath" = "8:System.IO.Pipelines.dll" + "TargetName" = "8:" + "Tag" = "8:" + "Folder" = "8:_62218C84F9DA4935A123ACECCBAC06B0" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:TRUE" + "IsolateTo" = "8:" + } + "{9F6F8455-1EF1-4B85-886A-4223BCC8E7F7}:_2F94E013CF4ADD4522DADF1B2CC2DE3C" + { + "AssemblyRegister" = "3:1" + "AssemblyIsInGAC" = "11:FALSE" + "AssemblyAsmDisplayName" = "8:System.Reflection.DispatchProxy, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL" + "ScatterAssemblies" + { + "_2F94E013CF4ADD4522DADF1B2CC2DE3C" + { + "Name" = "8:System.Reflection.DispatchProxy.dll" + "Attributes" = "3:512" + } + } + "SourcePath" = "8:System.Reflection.DispatchProxy.dll" + "TargetName" = "8:" + "Tag" = "8:" + "Folder" = "8:_62218C84F9DA4935A123ACECCBAC06B0" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:TRUE" + "IsolateTo" = "8:" + } + "{9F6F8455-1EF1-4B85-886A-4223BCC8E7F7}:_2FEF801058576444D70B4AA0E62F79F5" + { + "AssemblyRegister" = "3:1" + "AssemblyIsInGAC" = "11:FALSE" + "AssemblyAsmDisplayName" = "8:System.Collections.Concurrent, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL" + "ScatterAssemblies" + { + "_2FEF801058576444D70B4AA0E62F79F5" + { + "Name" = "8:System.Collections.Concurrent.dll" + "Attributes" = "3:512" + } + } + "SourcePath" = "8:System.Collections.Concurrent.dll" + "TargetName" = "8:" + "Tag" = "8:" + "Folder" = "8:_62218C84F9DA4935A123ACECCBAC06B0" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:TRUE" + "IsolateTo" = "8:" + } + "{9F6F8455-1EF1-4B85-886A-4223BCC8E7F7}:_306F6D4ED3C9CFFEE088095DA0C76780" + { + "AssemblyRegister" = "3:1" + "AssemblyIsInGAC" = "11:FALSE" + "AssemblyAsmDisplayName" = "8:System.Net.WebHeaderCollection, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL" + "ScatterAssemblies" + { + "_306F6D4ED3C9CFFEE088095DA0C76780" + { + "Name" = "8:System.Net.WebHeaderCollection.dll" + "Attributes" = "3:512" + } + } + "SourcePath" = "8:System.Net.WebHeaderCollection.dll" + "TargetName" = "8:" + "Tag" = "8:" + "Folder" = "8:_62218C84F9DA4935A123ACECCBAC06B0" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:TRUE" + "IsolateTo" = "8:" + } + "{9F6F8455-1EF1-4B85-886A-4223BCC8E7F7}:_30B24E91E79B41755B7C36FE3F34E6F6" + { + "AssemblyRegister" = "3:1" + "AssemblyIsInGAC" = "11:FALSE" + "AssemblyAsmDisplayName" = "8:System.Text.Encoding.Extensions, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL" + "ScatterAssemblies" + { + "_30B24E91E79B41755B7C36FE3F34E6F6" + { + "Name" = "8:System.Text.Encoding.Extensions.dll" + "Attributes" = "3:512" + } + } + "SourcePath" = "8:System.Text.Encoding.Extensions.dll" + "TargetName" = "8:" + "Tag" = "8:" + "Folder" = "8:_62218C84F9DA4935A123ACECCBAC06B0" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:TRUE" + "IsolateTo" = "8:" + } + "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_3175FDD1701046DA9D036C30DA0646D6" + { + "SourcePath" = "8:..\\leak_test_project\\bin\\Release\\net9.0-windows\\win-x64\\publish\\leak_test_project.exe" + "TargetName" = "8:leak_test_project.exe" + "Tag" = "8:" + "Folder" = "8:_62218C84F9DA4935A123ACECCBAC06B0" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:FALSE" + "IsolateTo" = "8:" + } + "{9F6F8455-1EF1-4B85-886A-4223BCC8E7F7}:_31923F9052BB4FF5B6CEB62608837591" + { + "AssemblyRegister" = "3:1" + "AssemblyIsInGAC" = "11:FALSE" + "AssemblyAsmDisplayName" = "8:System.IO.IsolatedStorage, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL" + "ScatterAssemblies" + { + "_31923F9052BB4FF5B6CEB62608837591" + { + "Name" = "8:System.IO.IsolatedStorage.dll" + "Attributes" = "3:512" + } + } + "SourcePath" = "8:..\\leak_test_project\\bin\\Release\\net9.0-windows\\win-x64\\publish\\System.IO.IsolatedStorage.dll" + "TargetName" = "8:" + "Tag" = "8:" + "Folder" = "8:_62218C84F9DA4935A123ACECCBAC06B0" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:FALSE" + "IsolateTo" = "8:" + } + "{9F6F8455-1EF1-4B85-886A-4223BCC8E7F7}:_322A2BD13A2F8D2A7F7F1F8F4C68D065" + { + "AssemblyRegister" = "3:1" + "AssemblyIsInGAC" = "11:FALSE" + "AssemblyAsmDisplayName" = "8:System.Globalization, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL" + "ScatterAssemblies" + { + "_322A2BD13A2F8D2A7F7F1F8F4C68D065" + { + "Name" = "8:System.Globalization.dll" + "Attributes" = "3:512" + } + } + "SourcePath" = "8:System.Globalization.dll" + "TargetName" = "8:" + "Tag" = "8:" + "Folder" = "8:_62218C84F9DA4935A123ACECCBAC06B0" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:TRUE" + "IsolateTo" = "8:" + } + "{9F6F8455-1EF1-4B85-886A-4223BCC8E7F7}:_324C2F5994C24B94B5FC7875BAEC345C" + { + "AssemblyRegister" = "3:1" + "AssemblyIsInGAC" = "11:FALSE" + "AssemblyAsmDisplayName" = "8:System.Runtime.Intrinsics, Version=9.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51, processorArchitecture=MSIL" + "ScatterAssemblies" + { + "_324C2F5994C24B94B5FC7875BAEC345C" + { + "Name" = "8:System.Runtime.Intrinsics.dll" + "Attributes" = "3:512" + } + } + "SourcePath" = "8:..\\leak_test_project\\bin\\Release\\net9.0-windows\\win-x64\\publish\\System.Runtime.Intrinsics.dll" + "TargetName" = "8:" + "Tag" = "8:" + "Folder" = "8:_62218C84F9DA4935A123ACECCBAC06B0" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:FALSE" + "IsolateTo" = "8:" + } + "{9F6F8455-1EF1-4B85-886A-4223BCC8E7F7}:_32E3293A11F646DC9EC2E3A882DAA405" + { + "AssemblyRegister" = "3:1" + "AssemblyIsInGAC" = "11:FALSE" + "AssemblyAsmDisplayName" = "8:PresentationFramework.AeroLite, Version=9.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=AMD64" + "ScatterAssemblies" + { + "_32E3293A11F646DC9EC2E3A882DAA405" + { + "Name" = "8:PresentationFramework.AeroLite.dll" + "Attributes" = "3:512" + } + } + "SourcePath" = "8:..\\leak_test_project\\bin\\Release\\net9.0-windows\\win-x64\\publish\\PresentationFramework.AeroLite.dll" + "TargetName" = "8:" + "Tag" = "8:" + "Folder" = "8:_62218C84F9DA4935A123ACECCBAC06B0" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:FALSE" + "IsolateTo" = "8:" + } + "{9F6F8455-1EF1-4B85-886A-4223BCC8E7F7}:_342F373C9312AE3FD9BAE4550A17F56B" + { + "AssemblyRegister" = "3:1" + "AssemblyIsInGAC" = "11:FALSE" + "AssemblyAsmDisplayName" = "8:System.Security.Cryptography.Csp, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL" + "ScatterAssemblies" + { + "_342F373C9312AE3FD9BAE4550A17F56B" + { + "Name" = "8:System.Security.Cryptography.Csp.dll" + "Attributes" = "3:512" + } + } + "SourcePath" = "8:System.Security.Cryptography.Csp.dll" + "TargetName" = "8:" + "Tag" = "8:" + "Folder" = "8:_62218C84F9DA4935A123ACECCBAC06B0" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:TRUE" + "IsolateTo" = "8:" + } + "{9F6F8455-1EF1-4B85-886A-4223BCC8E7F7}:_35F5E445F24AA112B22666B93396AB93" + { + "AssemblyRegister" = "3:1" + "AssemblyIsInGAC" = "11:TRUE" + "AssemblyAsmDisplayName" = "8:System.Xml.XPath.XDocument, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL" + "ScatterAssemblies" + { + "_35F5E445F24AA112B22666B93396AB93" + { + "Name" = "8:System.Xml.XPath.XDocument.dll" + "Attributes" = "3:512" + } + } + "SourcePath" = "8:System.Xml.XPath.XDocument.dll" + "TargetName" = "8:" + "Tag" = "8:" + "Folder" = "8:_62218C84F9DA4935A123ACECCBAC06B0" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:TRUE" + "IsolateTo" = "8:" + } + "{9F6F8455-1EF1-4B85-886A-4223BCC8E7F7}:_36D3CE517C9A4CD98E32A43137379986" + { + "AssemblyRegister" = "3:1" + "AssemblyIsInGAC" = "11:FALSE" + "AssemblyAsmDisplayName" = "8:System.Diagnostics.FileVersionInfo, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL" + "ScatterAssemblies" + { + "_36D3CE517C9A4CD98E32A43137379986" + { + "Name" = "8:System.Diagnostics.FileVersionInfo.dll" + "Attributes" = "3:512" + } + } + "SourcePath" = "8:..\\leak_test_project\\bin\\Release\\net9.0-windows\\win-x64\\publish\\System.Diagnostics.FileVersionInfo.dll" + "TargetName" = "8:" + "Tag" = "8:" + "Folder" = "8:_62218C84F9DA4935A123ACECCBAC06B0" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:FALSE" + "IsolateTo" = "8:" + } + "{9F6F8455-1EF1-4B85-886A-4223BCC8E7F7}:_38FA273FA2364AA6B67C4AC1078D1D14" + { + "AssemblyRegister" = "3:1" + "AssemblyIsInGAC" = "11:FALSE" + "AssemblyAsmDisplayName" = "8:System.ValueTuple, Version=9.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51, processorArchitecture=MSIL" + "ScatterAssemblies" + { + "_38FA273FA2364AA6B67C4AC1078D1D14" + { + "Name" = "8:System.ValueTuple.dll" + "Attributes" = "3:512" + } + } + "SourcePath" = "8:..\\leak_test_project\\bin\\Release\\net9.0-windows\\win-x64\\publish\\System.ValueTuple.dll" + "TargetName" = "8:" + "Tag" = "8:" + "Folder" = "8:_62218C84F9DA4935A123ACECCBAC06B0" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:FALSE" + "IsolateTo" = "8:" + } + "{9F6F8455-1EF1-4B85-886A-4223BCC8E7F7}:_391725973BE6623D5F25862C85007100" + { + "AssemblyRegister" = "3:1" + "AssemblyIsInGAC" = "11:FALSE" + "AssemblyAsmDisplayName" = "8:System.Runtime.Intrinsics, Version=9.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51, processorArchitecture=MSIL" + "ScatterAssemblies" + { + "_391725973BE6623D5F25862C85007100" + { + "Name" = "8:System.Runtime.Intrinsics.dll" + "Attributes" = "3:512" + } + } + "SourcePath" = "8:System.Runtime.Intrinsics.dll" + "TargetName" = "8:" + "Tag" = "8:" + "Folder" = "8:_62218C84F9DA4935A123ACECCBAC06B0" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:TRUE" + "IsolateTo" = "8:" + } + "{9F6F8455-1EF1-4B85-886A-4223BCC8E7F7}:_3A32C2C6B10CFBAC734C10DFC0F2D83D" + { + "AssemblyRegister" = "3:1" + "AssemblyIsInGAC" = "11:FALSE" + "AssemblyAsmDisplayName" = "8:System.Runtime.InteropServices.JavaScript, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL" + "ScatterAssemblies" + { + "_3A32C2C6B10CFBAC734C10DFC0F2D83D" + { + "Name" = "8:System.Runtime.InteropServices.JavaScript.dll" + "Attributes" = "3:512" + } + } + "SourcePath" = "8:System.Runtime.InteropServices.JavaScript.dll" + "TargetName" = "8:" + "Tag" = "8:" + "Folder" = "8:_62218C84F9DA4935A123ACECCBAC06B0" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:TRUE" + "IsolateTo" = "8:" + } + "{9F6F8455-1EF1-4B85-886A-4223BCC8E7F7}:_3B22C3ECB76E01BF3655CCA58F521AE4" + { + "AssemblyRegister" = "3:1" + "AssemblyIsInGAC" = "11:FALSE" + "AssemblyAsmDisplayName" = "8:System.Security.Permissions, Version=9.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51, processorArchitecture=MSIL" + "ScatterAssemblies" + { + "_3B22C3ECB76E01BF3655CCA58F521AE4" + { + "Name" = "8:System.Security.Permissions.dll" + "Attributes" = "3:512" + } + } + "SourcePath" = "8:System.Security.Permissions.dll" + "TargetName" = "8:" + "Tag" = "8:" + "Folder" = "8:_62218C84F9DA4935A123ACECCBAC06B0" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:TRUE" + "IsolateTo" = "8:" + } + "{9F6F8455-1EF1-4B85-886A-4223BCC8E7F7}:_3B8029F9BC2B4F77906ED2C56F5D8932" + { + "AssemblyRegister" = "3:1" + "AssemblyIsInGAC" = "11:FALSE" + "AssemblyAsmDisplayName" = "8:System.Security.Cryptography.X509Certificates, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL" + "ScatterAssemblies" + { + "_3B8029F9BC2B4F77906ED2C56F5D8932" + { + "Name" = "8:System.Security.Cryptography.X509Certificates.dll" + "Attributes" = "3:512" + } + } + "SourcePath" = "8:..\\leak_test_project\\bin\\Release\\net9.0-windows\\win-x64\\publish\\System.Security.Cryptography.X509Certificates.dll" + "TargetName" = "8:" + "Tag" = "8:" + "Folder" = "8:_62218C84F9DA4935A123ACECCBAC06B0" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:FALSE" + "IsolateTo" = "8:" + } + "{9F6F8455-1EF1-4B85-886A-4223BCC8E7F7}:_3C19985D42B149389722FDE758E65B17" + { + "AssemblyRegister" = "3:1" + "AssemblyIsInGAC" = "11:FALSE" + "AssemblyAsmDisplayName" = "8:System.Formats.Nrbf, Version=9.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51, processorArchitecture=MSIL" + "ScatterAssemblies" + { + "_3C19985D42B149389722FDE758E65B17" + { + "Name" = "8:System.Formats.Nrbf.dll" + "Attributes" = "3:512" + } + } + "SourcePath" = "8:..\\leak_test_project\\bin\\Release\\net9.0-windows\\win-x64\\publish\\System.Formats.Nrbf.dll" + "TargetName" = "8:" + "Tag" = "8:" + "Folder" = "8:_62218C84F9DA4935A123ACECCBAC06B0" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:FALSE" + "IsolateTo" = "8:" + } + "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_3C21CFECD6694D9FB194D8D5F583185B" + { + "SourcePath" = "8:..\\leak_test_project\\bin\\Release\\net9.0-windows\\win-x64\\publish\\clrgcexp.dll" + "TargetName" = "8:clrgcexp.dll" + "Tag" = "8:" + "Folder" = "8:_62218C84F9DA4935A123ACECCBAC06B0" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:FALSE" + "IsolateTo" = "8:" + } + "{9F6F8455-1EF1-4B85-886A-4223BCC8E7F7}:_3CBC60FF3B1D487BBD2C5E8B7C1343DA" + { + "AssemblyRegister" = "3:1" + "AssemblyIsInGAC" = "11:FALSE" + "AssemblyAsmDisplayName" = "8:System.Text.RegularExpressions, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL" + "ScatterAssemblies" + { + "_3CBC60FF3B1D487BBD2C5E8B7C1343DA" + { + "Name" = "8:System.Text.RegularExpressions.dll" + "Attributes" = "3:512" + } + } + "SourcePath" = "8:..\\leak_test_project\\bin\\Release\\net9.0-windows\\win-x64\\publish\\System.Text.RegularExpressions.dll" + "TargetName" = "8:" + "Tag" = "8:" + "Folder" = "8:_62218C84F9DA4935A123ACECCBAC06B0" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:FALSE" + "IsolateTo" = "8:" + } + "{9F6F8455-1EF1-4B85-886A-4223BCC8E7F7}:_3D6C365612F792A384DA60D1A3F22B8F" + { + "AssemblyRegister" = "3:1" + "AssemblyIsInGAC" = "11:FALSE" + "AssemblyAsmDisplayName" = "8:System.Net.WebClient, Version=9.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51, processorArchitecture=MSIL" + "ScatterAssemblies" + { + "_3D6C365612F792A384DA60D1A3F22B8F" + { + "Name" = "8:System.Net.WebClient.dll" + "Attributes" = "3:512" + } + } + "SourcePath" = "8:System.Net.WebClient.dll" + "TargetName" = "8:" + "Tag" = "8:" + "Folder" = "8:_62218C84F9DA4935A123ACECCBAC06B0" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:TRUE" + "IsolateTo" = "8:" + } + "{9F6F8455-1EF1-4B85-886A-4223BCC8E7F7}:_3EAE9A25156D4C4E8D02740045C4BA86" + { + "AssemblyRegister" = "3:1" + "AssemblyIsInGAC" = "11:FALSE" + "AssemblyAsmDisplayName" = "8:System.IO.Pipes, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL" + "ScatterAssemblies" + { + "_3EAE9A25156D4C4E8D02740045C4BA86" + { + "Name" = "8:System.IO.Pipes.dll" + "Attributes" = "3:512" + } + } + "SourcePath" = "8:..\\leak_test_project\\bin\\Release\\net9.0-windows\\win-x64\\publish\\System.IO.Pipes.dll" + "TargetName" = "8:" + "Tag" = "8:" + "Folder" = "8:_62218C84F9DA4935A123ACECCBAC06B0" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:FALSE" + "IsolateTo" = "8:" + } + "{9F6F8455-1EF1-4B85-886A-4223BCC8E7F7}:_3EBF7A465C0CBA88AD6F19B254EF89C2" + { + "AssemblyRegister" = "3:1" + "AssemblyIsInGAC" = "11:FALSE" + "AssemblyAsmDisplayName" = "8:System.IO.Compression, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089, processorArchitecture=MSIL" + "ScatterAssemblies" + { + "_3EBF7A465C0CBA88AD6F19B254EF89C2" + { + "Name" = "8:System.IO.Compression.dll" + "Attributes" = "3:512" + } + } + "SourcePath" = "8:System.IO.Compression.dll" + "TargetName" = "8:" + "Tag" = "8:" + "Folder" = "8:_62218C84F9DA4935A123ACECCBAC06B0" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:TRUE" + "IsolateTo" = "8:" + } + "{9F6F8455-1EF1-4B85-886A-4223BCC8E7F7}:_3F601349F92346E791DC4D9412E93FA5" + { + "AssemblyRegister" = "3:1" + "AssemblyIsInGAC" = "11:FALSE" + "AssemblyAsmDisplayName" = "8:System.IO.Pipes.AccessControl, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL" + "ScatterAssemblies" + { + "_3F601349F92346E791DC4D9412E93FA5" + { + "Name" = "8:System.IO.Pipes.AccessControl.dll" + "Attributes" = "3:512" + } + } + "SourcePath" = "8:..\\leak_test_project\\bin\\Release\\net9.0-windows\\win-x64\\publish\\System.IO.Pipes.AccessControl.dll" + "TargetName" = "8:" + "Tag" = "8:" + "Folder" = "8:_62218C84F9DA4935A123ACECCBAC06B0" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:FALSE" + "IsolateTo" = "8:" + } + "{9F6F8455-1EF1-4B85-886A-4223BCC8E7F7}:_3FCBB3459AEA49148CC829953A793252" + { + "AssemblyRegister" = "3:1" + "AssemblyIsInGAC" = "11:FALSE" + "AssemblyAsmDisplayName" = "8:System.Numerics.Vectors, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL" + "ScatterAssemblies" + { + "_3FCBB3459AEA49148CC829953A793252" + { + "Name" = "8:System.Numerics.Vectors.dll" + "Attributes" = "3:512" + } + } + "SourcePath" = "8:..\\leak_test_project\\bin\\Release\\net9.0-windows\\win-x64\\publish\\System.Numerics.Vectors.dll" + "TargetName" = "8:" + "Tag" = "8:" + "Folder" = "8:_62218C84F9DA4935A123ACECCBAC06B0" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:FALSE" + "IsolateTo" = "8:" + } + "{9F6F8455-1EF1-4B85-886A-4223BCC8E7F7}:_4091E7B6A0994C7C849C01FB6DDBAEF7" + { + "AssemblyRegister" = "3:1" + "AssemblyIsInGAC" = "11:FALSE" + "AssemblyAsmDisplayName" = "8:System.Threading.Tasks.Extensions, Version=9.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51, processorArchitecture=MSIL" + "ScatterAssemblies" + { + "_4091E7B6A0994C7C849C01FB6DDBAEF7" + { + "Name" = "8:System.Threading.Tasks.Extensions.dll" + "Attributes" = "3:512" + } + } + "SourcePath" = "8:..\\leak_test_project\\bin\\Release\\net9.0-windows\\win-x64\\publish\\System.Threading.Tasks.Extensions.dll" + "TargetName" = "8:" + "Tag" = "8:" + "Folder" = "8:_62218C84F9DA4935A123ACECCBAC06B0" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:FALSE" + "IsolateTo" = "8:" + } + "{9F6F8455-1EF1-4B85-886A-4223BCC8E7F7}:_4100FED7054648CDA194B4B8B07B2826" + { + "AssemblyRegister" = "3:1" + "AssemblyIsInGAC" = "11:FALSE" + "AssemblyAsmDisplayName" = "8:System.IO.UnmanagedMemoryStream, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL" + "ScatterAssemblies" + { + "_4100FED7054648CDA194B4B8B07B2826" + { + "Name" = "8:System.IO.UnmanagedMemoryStream.dll" + "Attributes" = "3:512" + } + } + "SourcePath" = "8:..\\leak_test_project\\bin\\Release\\net9.0-windows\\win-x64\\publish\\System.IO.UnmanagedMemoryStream.dll" + "TargetName" = "8:" + "Tag" = "8:" + "Folder" = "8:_62218C84F9DA4935A123ACECCBAC06B0" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:FALSE" + "IsolateTo" = "8:" + } + "{9F6F8455-1EF1-4B85-886A-4223BCC8E7F7}:_41033BDFB1F84088A1BE9A84417A6FBB" + { + "AssemblyRegister" = "3:1" + "AssemblyIsInGAC" = "11:FALSE" + "AssemblyAsmDisplayName" = "8:System.Xml.XmlDocument, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL" + "ScatterAssemblies" + { + "_41033BDFB1F84088A1BE9A84417A6FBB" + { + "Name" = "8:System.Xml.XmlDocument.dll" + "Attributes" = "3:512" + } + } + "SourcePath" = "8:..\\leak_test_project\\bin\\Release\\net9.0-windows\\win-x64\\publish\\System.Xml.XmlDocument.dll" + "TargetName" = "8:" + "Tag" = "8:" + "Folder" = "8:_62218C84F9DA4935A123ACECCBAC06B0" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:FALSE" + "IsolateTo" = "8:" + } + "{9F6F8455-1EF1-4B85-886A-4223BCC8E7F7}:_41AD63FF8C31C0A57A86209D0A6E5C80" + { + "AssemblyRegister" = "3:1" + "AssemblyIsInGAC" = "11:FALSE" + "AssemblyAsmDisplayName" = "8:System.Private.Xml.Linq, Version=9.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51, processorArchitecture=MSIL" + "ScatterAssemblies" + { + "_41AD63FF8C31C0A57A86209D0A6E5C80" + { + "Name" = "8:System.Private.Xml.Linq.dll" + "Attributes" = "3:512" + } + } + "SourcePath" = "8:System.Private.Xml.Linq.dll" + "TargetName" = "8:" + "Tag" = "8:" + "Folder" = "8:_62218C84F9DA4935A123ACECCBAC06B0" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:TRUE" + "IsolateTo" = "8:" + } + "{9F6F8455-1EF1-4B85-886A-4223BCC8E7F7}:_41BEAF514DE93A58976DF6577FF0710B" + { + "AssemblyRegister" = "3:1" + "AssemblyIsInGAC" = "11:FALSE" + "AssemblyAsmDisplayName" = "8:System.Xml.XmlSerializer, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL" + "ScatterAssemblies" + { + "_41BEAF514DE93A58976DF6577FF0710B" + { + "Name" = "8:System.Xml.XmlSerializer.dll" + "Attributes" = "3:512" + } + } + "SourcePath" = "8:System.Xml.XmlSerializer.dll" + "TargetName" = "8:" + "Tag" = "8:" + "Folder" = "8:_62218C84F9DA4935A123ACECCBAC06B0" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:TRUE" + "IsolateTo" = "8:" + } + "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_42E667E597FF4DA9B488239F01ED3B88" + { + "SourcePath" = "8:..\\leak_test_project\\bin\\Release\\net9.0-windows\\win-x64\\publish\\sni.dll" + "TargetName" = "8:sni.dll" + "Tag" = "8:" + "Folder" = "8:_62218C84F9DA4935A123ACECCBAC06B0" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:FALSE" + "IsolateTo" = "8:" + } + "{9F6F8455-1EF1-4B85-886A-4223BCC8E7F7}:_42E776DCC37C447AB3D84285C5BC636A" + { + "AssemblyRegister" = "3:1" + "AssemblyIsInGAC" = "11:FALSE" + "AssemblyAsmDisplayName" = "8:System.Windows.Input.Manipulations, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089, processorArchitecture=AMD64" + "ScatterAssemblies" + { + "_42E776DCC37C447AB3D84285C5BC636A" + { + "Name" = "8:System.Windows.Input.Manipulations.dll" + "Attributes" = "3:512" + } + } + "SourcePath" = "8:..\\leak_test_project\\bin\\Release\\net9.0-windows\\win-x64\\publish\\System.Windows.Input.Manipulations.dll" + "TargetName" = "8:" + "Tag" = "8:" + "Folder" = "8:_62218C84F9DA4935A123ACECCBAC06B0" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:FALSE" + "IsolateTo" = "8:" + } + "{9F6F8455-1EF1-4B85-886A-4223BCC8E7F7}:_43391991848647868BF2E89CF637D486" + { + "AssemblyRegister" = "3:1" + "AssemblyIsInGAC" = "11:FALSE" + "AssemblyAsmDisplayName" = "8:PresentationFramework-SystemData, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089, processorArchitecture=AMD64" + "ScatterAssemblies" + { + "_43391991848647868BF2E89CF637D486" + { + "Name" = "8:PresentationFramework-SystemData.dll" + "Attributes" = "3:512" + } + } + "SourcePath" = "8:..\\leak_test_project\\bin\\Release\\net9.0-windows\\win-x64\\publish\\PresentationFramework-SystemData.dll" + "TargetName" = "8:" + "Tag" = "8:" + "Folder" = "8:_62218C84F9DA4935A123ACECCBAC06B0" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:FALSE" + "IsolateTo" = "8:" + } + "{9F6F8455-1EF1-4B85-886A-4223BCC8E7F7}:_449AD383BF274A1BB871346ADC2CC6ED" + { + "AssemblyRegister" = "3:1" + "AssemblyIsInGAC" = "11:FALSE" + "AssemblyAsmDisplayName" = "8:System.Security.SecureString, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL" + "ScatterAssemblies" + { + "_449AD383BF274A1BB871346ADC2CC6ED" + { + "Name" = "8:System.Security.SecureString.dll" + "Attributes" = "3:512" + } + } + "SourcePath" = "8:..\\leak_test_project\\bin\\Release\\net9.0-windows\\win-x64\\publish\\System.Security.SecureString.dll" + "TargetName" = "8:" + "Tag" = "8:" + "Folder" = "8:_62218C84F9DA4935A123ACECCBAC06B0" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:FALSE" + "IsolateTo" = "8:" + } + "{9F6F8455-1EF1-4B85-886A-4223BCC8E7F7}:_44A68DFBD45644DC8A67F0C87F267C7E" + { + "AssemblyRegister" = "3:1" + "AssemblyIsInGAC" = "11:FALSE" + "AssemblyAsmDisplayName" = "8:System.IO.FileSystem.Primitives, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL" + "ScatterAssemblies" + { + "_44A68DFBD45644DC8A67F0C87F267C7E" + { + "Name" = "8:System.IO.FileSystem.Primitives.dll" + "Attributes" = "3:512" + } + } + "SourcePath" = "8:..\\leak_test_project\\bin\\Release\\net9.0-windows\\win-x64\\publish\\System.IO.FileSystem.Primitives.dll" + "TargetName" = "8:" + "Tag" = "8:" + "Folder" = "8:_62218C84F9DA4935A123ACECCBAC06B0" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:FALSE" + "IsolateTo" = "8:" + } + "{9F6F8455-1EF1-4B85-886A-4223BCC8E7F7}:_44B10BD5C45C69957E1AFCAD6BF10485" + { + "AssemblyRegister" = "3:1" + "AssemblyIsInGAC" = "11:FALSE" + "AssemblyAsmDisplayName" = "8:System.Configuration.ConfigurationManager, Version=9.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51, processorArchitecture=MSIL" + "ScatterAssemblies" + { + "_44B10BD5C45C69957E1AFCAD6BF10485" + { + "Name" = "8:System.Configuration.ConfigurationManager.dll" + "Attributes" = "3:512" + } + } + "SourcePath" = "8:System.Configuration.ConfigurationManager.dll" + "TargetName" = "8:" + "Tag" = "8:" + "Folder" = "8:_62218C84F9DA4935A123ACECCBAC06B0" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:TRUE" + "IsolateTo" = "8:" + } + "{9F6F8455-1EF1-4B85-886A-4223BCC8E7F7}:_45D96C37531D229D4E62D781ED22A9D9" + { + "AssemblyRegister" = "3:1" + "AssemblyIsInGAC" = "11:FALSE" + "AssemblyAsmDisplayName" = "8:System.Diagnostics.StackTrace, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL" + "ScatterAssemblies" + { + "_45D96C37531D229D4E62D781ED22A9D9" + { + "Name" = "8:System.Diagnostics.StackTrace.dll" + "Attributes" = "3:512" + } + } + "SourcePath" = "8:System.Diagnostics.StackTrace.dll" + "TargetName" = "8:" + "Tag" = "8:" + "Folder" = "8:_62218C84F9DA4935A123ACECCBAC06B0" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:TRUE" + "IsolateTo" = "8:" + } + "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_45EAD0C161EF43589619CDE764684662" + { + "SourcePath" = "8:..\\leak_test_project\\bin\\Release\\net9.0-windows\\win-x64\\publish\\hostfxr.dll" + "TargetName" = "8:hostfxr.dll" + "Tag" = "8:" + "Folder" = "8:_62218C84F9DA4935A123ACECCBAC06B0" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:FALSE" + "IsolateTo" = "8:" + } + "{9F6F8455-1EF1-4B85-886A-4223BCC8E7F7}:_4617971CE6594996B555E535CCE00211" + { + "AssemblyRegister" = "3:1" + "AssemblyIsInGAC" = "11:FALSE" + "AssemblyAsmDisplayName" = "8:System.Net.Http.Json, Version=9.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51, processorArchitecture=MSIL" + "ScatterAssemblies" + { + "_4617971CE6594996B555E535CCE00211" + { + "Name" = "8:System.Net.Http.Json.dll" + "Attributes" = "3:512" + } + } + "SourcePath" = "8:..\\leak_test_project\\bin\\Release\\net9.0-windows\\win-x64\\publish\\System.Net.Http.Json.dll" + "TargetName" = "8:" + "Tag" = "8:" + "Folder" = "8:_62218C84F9DA4935A123ACECCBAC06B0" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:FALSE" + "IsolateTo" = "8:" + } + "{9F6F8455-1EF1-4B85-886A-4223BCC8E7F7}:_4621979E6FF23B3F24CC086F9E2C6D71" + { + "AssemblyRegister" = "3:1" + "AssemblyIsInGAC" = "11:TRUE" + "AssemblyAsmDisplayName" = "8:System.Runtime.InteropServices, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL" + "ScatterAssemblies" + { + "_4621979E6FF23B3F24CC086F9E2C6D71" + { + "Name" = "8:System.Runtime.InteropServices.dll" + "Attributes" = "3:512" + } + } + "SourcePath" = "8:System.Runtime.InteropServices.dll" + "TargetName" = "8:" + "Tag" = "8:" + "Folder" = "8:_62218C84F9DA4935A123ACECCBAC06B0" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:TRUE" + "IsolateTo" = "8:" + } + "{9F6F8455-1EF1-4B85-886A-4223BCC8E7F7}:_46704F13BB2D4842BE0A1793EE0FE473" + { + "AssemblyRegister" = "3:1" + "AssemblyIsInGAC" = "11:FALSE" + "AssemblyAsmDisplayName" = "8:UIAutomationClient, Version=9.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=AMD64" + "ScatterAssemblies" + { + "_46704F13BB2D4842BE0A1793EE0FE473" + { + "Name" = "8:UIAutomationClient.dll" + "Attributes" = "3:512" + } + } + "SourcePath" = "8:..\\leak_test_project\\bin\\Release\\net9.0-windows\\win-x64\\publish\\UIAutomationClient.dll" + "TargetName" = "8:" + "Tag" = "8:" + "Folder" = "8:_62218C84F9DA4935A123ACECCBAC06B0" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:FALSE" + "IsolateTo" = "8:" + } + "{9F6F8455-1EF1-4B85-886A-4223BCC8E7F7}:_46728EBA95714224B90A7E79E8E1D78D" + { + "AssemblyRegister" = "3:1" + "AssemblyIsInGAC" = "11:FALSE" + "AssemblyAsmDisplayName" = "8:System.Dynamic.Runtime, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL" + "ScatterAssemblies" + { + "_46728EBA95714224B90A7E79E8E1D78D" + { + "Name" = "8:System.Dynamic.Runtime.dll" + "Attributes" = "3:512" + } + } + "SourcePath" = "8:..\\leak_test_project\\bin\\Release\\net9.0-windows\\win-x64\\publish\\System.Dynamic.Runtime.dll" + "TargetName" = "8:" + "Tag" = "8:" + "Folder" = "8:_62218C84F9DA4935A123ACECCBAC06B0" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:FALSE" + "IsolateTo" = "8:" + } + "{9F6F8455-1EF1-4B85-886A-4223BCC8E7F7}:_468BE8638DF04F0D822D6B0D3236D456" + { + "AssemblyRegister" = "3:1" + "AssemblyIsInGAC" = "11:FALSE" + "AssemblyAsmDisplayName" = "8:System.Security.Principal.Windows, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL" + "ScatterAssemblies" + { + "_468BE8638DF04F0D822D6B0D3236D456" + { + "Name" = "8:System.Security.Principal.Windows.dll" + "Attributes" = "3:512" + } + } + "SourcePath" = "8:..\\leak_test_project\\bin\\Release\\net9.0-windows\\win-x64\\publish\\System.Security.Principal.Windows.dll" + "TargetName" = "8:" + "Tag" = "8:" + "Folder" = "8:_62218C84F9DA4935A123ACECCBAC06B0" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:FALSE" + "IsolateTo" = "8:" + } + "{9F6F8455-1EF1-4B85-886A-4223BCC8E7F7}:_478C4D00C4B41A2FEFBA27FD80363947" + { + "AssemblyRegister" = "3:1" + "AssemblyIsInGAC" = "11:FALSE" + "AssemblyAsmDisplayName" = "8:System.Security.SecureString, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL" + "ScatterAssemblies" + { + "_478C4D00C4B41A2FEFBA27FD80363947" + { + "Name" = "8:System.Security.SecureString.dll" + "Attributes" = "3:512" + } + } + "SourcePath" = "8:System.Security.SecureString.dll" + "TargetName" = "8:" + "Tag" = "8:" + "Folder" = "8:_62218C84F9DA4935A123ACECCBAC06B0" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:TRUE" + "IsolateTo" = "8:" + } + "{9F6F8455-1EF1-4B85-886A-4223BCC8E7F7}:_4894FAD3F0987772FDE1791AD6A5A778" + { + "AssemblyRegister" = "3:1" + "AssemblyIsInGAC" = "11:FALSE" + "AssemblyAsmDisplayName" = "8:System.Resources.Writer, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL" + "ScatterAssemblies" + { + "_4894FAD3F0987772FDE1791AD6A5A778" + { + "Name" = "8:System.Resources.Writer.dll" + "Attributes" = "3:512" + } + } + "SourcePath" = "8:System.Resources.Writer.dll" + "TargetName" = "8:" + "Tag" = "8:" + "Folder" = "8:_62218C84F9DA4935A123ACECCBAC06B0" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:TRUE" + "IsolateTo" = "8:" + } + "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_48EDDB18C80C486BA87954860A112896" + { + "SourcePath" = "8:..\\leak_test_project\\bin\\Release\\net9.0-windows\\win-x64\\publish\\System.IO.Compression.Native.dll" + "TargetName" = "8:System.IO.Compression.Native.dll" + "Tag" = "8:" + "Folder" = "8:_62218C84F9DA4935A123ACECCBAC06B0" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:FALSE" + "IsolateTo" = "8:" + } + "{9F6F8455-1EF1-4B85-886A-4223BCC8E7F7}:_49B55262F1F3454AAB2D13C6380C82F3" + { + "AssemblyRegister" = "3:1" + "AssemblyIsInGAC" = "11:FALSE" + "AssemblyAsmDisplayName" = "8:Microsoft.Win32.Primitives, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL" + "ScatterAssemblies" + { + "_49B55262F1F3454AAB2D13C6380C82F3" + { + "Name" = "8:Microsoft.Win32.Primitives.dll" + "Attributes" = "3:512" + } + } + "SourcePath" = "8:..\\leak_test_project\\bin\\Release\\net9.0-windows\\win-x64\\publish\\Microsoft.Win32.Primitives.dll" + "TargetName" = "8:" + "Tag" = "8:" + "Folder" = "8:_62218C84F9DA4935A123ACECCBAC06B0" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:FALSE" + "IsolateTo" = "8:" + } + "{9F6F8455-1EF1-4B85-886A-4223BCC8E7F7}:_49C1343ACD0F441A8A99D6F86F64B590" + { + "AssemblyRegister" = "3:1" + "AssemblyIsInGAC" = "11:FALSE" + "AssemblyAsmDisplayName" = "8:System.Net.WebHeaderCollection, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL" + "ScatterAssemblies" + { + "_49C1343ACD0F441A8A99D6F86F64B590" + { + "Name" = "8:System.Net.WebHeaderCollection.dll" + "Attributes" = "3:512" + } + } + "SourcePath" = "8:..\\leak_test_project\\bin\\Release\\net9.0-windows\\win-x64\\publish\\System.Net.WebHeaderCollection.dll" + "TargetName" = "8:" + "Tag" = "8:" + "Folder" = "8:_62218C84F9DA4935A123ACECCBAC06B0" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:FALSE" + "IsolateTo" = "8:" + } + "{9F6F8455-1EF1-4B85-886A-4223BCC8E7F7}:_4A73A72C37AD43BE874D5A1D1A0AAB49" + { + "AssemblyRegister" = "3:1" + "AssemblyIsInGAC" = "11:FALSE" + "AssemblyAsmDisplayName" = "8:System.Text.Encoding.Extensions, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL" + "ScatterAssemblies" + { + "_4A73A72C37AD43BE874D5A1D1A0AAB49" + { + "Name" = "8:System.Text.Encoding.Extensions.dll" + "Attributes" = "3:512" + } + } + "SourcePath" = "8:..\\leak_test_project\\bin\\Release\\net9.0-windows\\win-x64\\publish\\System.Text.Encoding.Extensions.dll" + "TargetName" = "8:" + "Tag" = "8:" + "Folder" = "8:_62218C84F9DA4935A123ACECCBAC06B0" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:FALSE" + "IsolateTo" = "8:" + } + "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_4CD8003046374664A5D2459A75EC33A3" + { + "SourcePath" = "8:..\\leak_test_project\\bin\\Release\\net9.0-windows\\win-x64\\publish\\PresentationNative_cor3.dll" + "TargetName" = "8:PresentationNative_cor3.dll" + "Tag" = "8:" + "Folder" = "8:_62218C84F9DA4935A123ACECCBAC06B0" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:FALSE" + "IsolateTo" = "8:" + } + "{9F6F8455-1EF1-4B85-886A-4223BCC8E7F7}:_4F62268C62B6425586A675A3464E7B53" + { + "AssemblyRegister" = "3:1" + "AssemblyIsInGAC" = "11:FALSE" + "AssemblyAsmDisplayName" = "8:System.Runtime.Extensions, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL" + "ScatterAssemblies" + { + "_4F62268C62B6425586A675A3464E7B53" + { + "Name" = "8:System.Runtime.Extensions.dll" + "Attributes" = "3:512" + } + } + "SourcePath" = "8:..\\leak_test_project\\bin\\Release\\net9.0-windows\\win-x64\\publish\\System.Runtime.Extensions.dll" + "TargetName" = "8:" + "Tag" = "8:" + "Folder" = "8:_62218C84F9DA4935A123ACECCBAC06B0" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:FALSE" + "IsolateTo" = "8:" + } + "{9F6F8455-1EF1-4B85-886A-4223BCC8E7F7}:_50770C7C027D4E1A8CDBB9E3C363AFEB" + { + "AssemblyRegister" = "3:1" + "AssemblyIsInGAC" = "11:FALSE" + "AssemblyAsmDisplayName" = "8:System.Security.Cryptography.Encoding, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL" + "ScatterAssemblies" + { + "_50770C7C027D4E1A8CDBB9E3C363AFEB" + { + "Name" = "8:System.Security.Cryptography.Encoding.dll" + "Attributes" = "3:512" + } + } + "SourcePath" = "8:..\\leak_test_project\\bin\\Release\\net9.0-windows\\win-x64\\publish\\System.Security.Cryptography.Encoding.dll" + "TargetName" = "8:" + "Tag" = "8:" + "Folder" = "8:_62218C84F9DA4935A123ACECCBAC06B0" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:FALSE" + "IsolateTo" = "8:" + } + "{9F6F8455-1EF1-4B85-886A-4223BCC8E7F7}:_511FA553A2BB1508C041CAE5D0337949" + { + "AssemblyRegister" = "3:1" + "AssemblyIsInGAC" = "11:FALSE" + "AssemblyAsmDisplayName" = "8:System.Threading.Overlapped, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL" + "ScatterAssemblies" + { + "_511FA553A2BB1508C041CAE5D0337949" + { + "Name" = "8:System.Threading.Overlapped.dll" + "Attributes" = "3:512" + } + } + "SourcePath" = "8:System.Threading.Overlapped.dll" + "TargetName" = "8:" + "Tag" = "8:" + "Folder" = "8:_62218C84F9DA4935A123ACECCBAC06B0" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:TRUE" + "IsolateTo" = "8:" + } + "{9F6F8455-1EF1-4B85-886A-4223BCC8E7F7}:_51F23CC790B4896F4232F5B87B191C29" + { + "AssemblyRegister" = "3:1" + "AssemblyIsInGAC" = "11:FALSE" + "AssemblyAsmDisplayName" = "8:System.Net.Sockets, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL" + "ScatterAssemblies" + { + "_51F23CC790B4896F4232F5B87B191C29" + { + "Name" = "8:System.Net.Sockets.dll" + "Attributes" = "3:512" + } + } + "SourcePath" = "8:System.Net.Sockets.dll" + "TargetName" = "8:" + "Tag" = "8:" + "Folder" = "8:_62218C84F9DA4935A123ACECCBAC06B0" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:TRUE" + "IsolateTo" = "8:" + } + "{9F6F8455-1EF1-4B85-886A-4223BCC8E7F7}:_51F5217E9DBD561DBC7FDECB0AD2C76A" + { + "AssemblyRegister" = "3:1" + "AssemblyIsInGAC" = "11:TRUE" + "AssemblyAsmDisplayName" = "8:System.Runtime.InteropServices.RuntimeInformation, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL" + "ScatterAssemblies" + { + "_51F5217E9DBD561DBC7FDECB0AD2C76A" + { + "Name" = "8:System.Runtime.InteropServices.RuntimeInformation.dll" + "Attributes" = "3:512" + } + } + "SourcePath" = "8:System.Runtime.InteropServices.RuntimeInformation.dll" + "TargetName" = "8:" + "Tag" = "8:" + "Folder" = "8:_62218C84F9DA4935A123ACECCBAC06B0" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:TRUE" + "IsolateTo" = "8:" + } + "{9F6F8455-1EF1-4B85-886A-4223BCC8E7F7}:_527A891CDA554F859B36CDABC1846618" + { + "AssemblyRegister" = "3:1" + "AssemblyIsInGAC" = "11:FALSE" + "AssemblyAsmDisplayName" = "8:System.Runtime, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL" + "ScatterAssemblies" + { + "_527A891CDA554F859B36CDABC1846618" + { + "Name" = "8:System.Runtime.dll" + "Attributes" = "3:512" + } + } + "SourcePath" = "8:..\\leak_test_project\\bin\\Release\\net9.0-windows\\win-x64\\publish\\System.Runtime.dll" + "TargetName" = "8:" + "Tag" = "8:" + "Folder" = "8:_62218C84F9DA4935A123ACECCBAC06B0" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:FALSE" + "IsolateTo" = "8:" + } + "{9F6F8455-1EF1-4B85-886A-4223BCC8E7F7}:_5291B57ED0674E68992853A555A116C3" + { + "AssemblyRegister" = "3:1" + "AssemblyIsInGAC" = "11:FALSE" + "AssemblyAsmDisplayName" = "8:PresentationUI, Version=9.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=AMD64" + "ScatterAssemblies" + { + "_5291B57ED0674E68992853A555A116C3" + { + "Name" = "8:PresentationUI.dll" + "Attributes" = "3:512" + } + } + "SourcePath" = "8:..\\leak_test_project\\bin\\Release\\net9.0-windows\\win-x64\\publish\\PresentationUI.dll" + "TargetName" = "8:" + "Tag" = "8:" + "Folder" = "8:_62218C84F9DA4935A123ACECCBAC06B0" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:FALSE" + "IsolateTo" = "8:" + } + "{9F6F8455-1EF1-4B85-886A-4223BCC8E7F7}:_53492C665B5D49D7B4705F3E23562157" + { + "AssemblyRegister" = "3:1" + "AssemblyIsInGAC" = "11:FALSE" + "AssemblyAsmDisplayName" = "8:System.Net.Sockets, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL" + "ScatterAssemblies" + { + "_53492C665B5D49D7B4705F3E23562157" + { + "Name" = "8:System.Net.Sockets.dll" + "Attributes" = "3:512" + } + } + "SourcePath" = "8:..\\leak_test_project\\bin\\Release\\net9.0-windows\\win-x64\\publish\\System.Net.Sockets.dll" + "TargetName" = "8:" + "Tag" = "8:" + "Folder" = "8:_62218C84F9DA4935A123ACECCBAC06B0" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:FALSE" + "IsolateTo" = "8:" + } + "{9F6F8455-1EF1-4B85-886A-4223BCC8E7F7}:_537EFDE831D746D17ADF3C0DB87B44A5" + { + "AssemblyRegister" = "3:1" + "AssemblyIsInGAC" = "11:FALSE" + "AssemblyAsmDisplayName" = "8:System.Private.Xml, Version=9.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51, processorArchitecture=MSIL" + "ScatterAssemblies" + { + "_537EFDE831D746D17ADF3C0DB87B44A5" + { + "Name" = "8:System.Private.Xml.dll" + "Attributes" = "3:512" + } + } + "SourcePath" = "8:System.Private.Xml.dll" + "TargetName" = "8:" + "Tag" = "8:" + "Folder" = "8:_62218C84F9DA4935A123ACECCBAC06B0" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:TRUE" + "IsolateTo" = "8:" + } + "{9F6F8455-1EF1-4B85-886A-4223BCC8E7F7}:_546EE584F91948C5A7CAF60245145DE3" + { + "AssemblyRegister" = "3:1" + "AssemblyIsInGAC" = "11:FALSE" + "AssemblyAsmDisplayName" = "8:leak_test_project, Version=1.0.0.0, Culture=neutral, processorArchitecture=AMD64" + "ScatterAssemblies" + { + "_546EE584F91948C5A7CAF60245145DE3" + { + "Name" = "8:leak_test_project.dll" + "Attributes" = "3:512" + } + } + "SourcePath" = "8:..\\leak_test_project\\bin\\Release\\net9.0-windows\\win-x64\\publish\\leak_test_project.dll" + "TargetName" = "8:" + "Tag" = "8:" + "Folder" = "8:_62218C84F9DA4935A123ACECCBAC06B0" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:FALSE" + "IsolateTo" = "8:" + } + "{9F6F8455-1EF1-4B85-886A-4223BCC8E7F7}:_557C57CC46F148689753FD02506E0594" + { + "AssemblyRegister" = "3:1" + "AssemblyIsInGAC" = "11:FALSE" + "AssemblyAsmDisplayName" = "8:System.Private.Xml.Linq, Version=9.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51, processorArchitecture=MSIL" + "ScatterAssemblies" + { + "_557C57CC46F148689753FD02506E0594" + { + "Name" = "8:System.Private.Xml.Linq.dll" + "Attributes" = "3:512" + } + } + "SourcePath" = "8:..\\leak_test_project\\bin\\Release\\net9.0-windows\\win-x64\\publish\\System.Private.Xml.Linq.dll" + "TargetName" = "8:" + "Tag" = "8:" + "Folder" = "8:_62218C84F9DA4935A123ACECCBAC06B0" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:FALSE" + "IsolateTo" = "8:" + } + "{9F6F8455-1EF1-4B85-886A-4223BCC8E7F7}:_56D1D3A78E5E4185B6EDB009CF1798DC" + { + "AssemblyRegister" = "3:1" + "AssemblyIsInGAC" = "11:FALSE" + "AssemblyAsmDisplayName" = "8:System.Memory, Version=9.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51, processorArchitecture=MSIL" + "ScatterAssemblies" + { + "_56D1D3A78E5E4185B6EDB009CF1798DC" + { + "Name" = "8:System.Memory.dll" + "Attributes" = "3:512" + } + } + "SourcePath" = "8:..\\leak_test_project\\bin\\Release\\net9.0-windows\\win-x64\\publish\\System.Memory.dll" + "TargetName" = "8:" + "Tag" = "8:" + "Folder" = "8:_62218C84F9DA4935A123ACECCBAC06B0" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:FALSE" + "IsolateTo" = "8:" + } + "{9F6F8455-1EF1-4B85-886A-4223BCC8E7F7}:_57D7430D26C37BBE513C3DEF41482CB8" + { + "AssemblyRegister" = "3:1" + "AssemblyIsInGAC" = "11:FALSE" + "AssemblyAsmDisplayName" = "8:System.Net.WebProxy, Version=9.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51, processorArchitecture=MSIL" + "ScatterAssemblies" + { + "_57D7430D26C37BBE513C3DEF41482CB8" + { + "Name" = "8:System.Net.WebProxy.dll" + "Attributes" = "3:512" + } + } + "SourcePath" = "8:System.Net.WebProxy.dll" + "TargetName" = "8:" + "Tag" = "8:" + "Folder" = "8:_62218C84F9DA4935A123ACECCBAC06B0" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:TRUE" + "IsolateTo" = "8:" + } + "{9F6F8455-1EF1-4B85-886A-4223BCC8E7F7}:_584028D3A72A3D2DFFEB75D85E0CB207" + { + "AssemblyRegister" = "3:1" + "AssemblyIsInGAC" = "11:FALSE" + "AssemblyAsmDisplayName" = "8:System.Security.Cryptography.Cng, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL" + "ScatterAssemblies" + { + "_584028D3A72A3D2DFFEB75D85E0CB207" + { + "Name" = "8:System.Security.Cryptography.Cng.dll" + "Attributes" = "3:512" + } + } + "SourcePath" = "8:System.Security.Cryptography.Cng.dll" + "TargetName" = "8:" + "Tag" = "8:" + "Folder" = "8:_62218C84F9DA4935A123ACECCBAC06B0" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:TRUE" + "IsolateTo" = "8:" + } + "{9F6F8455-1EF1-4B85-886A-4223BCC8E7F7}:_58430C1692E289EE87AB6E8926D2E30F" + { + "AssemblyRegister" = "3:1" + "AssemblyIsInGAC" = "11:FALSE" + "AssemblyAsmDisplayName" = "8:System.Runtime.Loader, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL" + "ScatterAssemblies" + { + "_58430C1692E289EE87AB6E8926D2E30F" + { + "Name" = "8:System.Runtime.Loader.dll" + "Attributes" = "3:512" + } + } + "SourcePath" = "8:System.Runtime.Loader.dll" + "TargetName" = "8:" + "Tag" = "8:" + "Folder" = "8:_62218C84F9DA4935A123ACECCBAC06B0" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:TRUE" + "IsolateTo" = "8:" + } + "{9F6F8455-1EF1-4B85-886A-4223BCC8E7F7}:_594F61C6642845DF974AAD0E91EF9A37" + { + "AssemblyRegister" = "3:1" + "AssemblyIsInGAC" = "11:FALSE" + "AssemblyAsmDisplayName" = "8:System.Net.NetworkInformation, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL" + "ScatterAssemblies" + { + "_594F61C6642845DF974AAD0E91EF9A37" + { + "Name" = "8:System.Net.NetworkInformation.dll" + "Attributes" = "3:512" + } + } + "SourcePath" = "8:..\\leak_test_project\\bin\\Release\\net9.0-windows\\win-x64\\publish\\System.Net.NetworkInformation.dll" + "TargetName" = "8:" + "Tag" = "8:" + "Folder" = "8:_62218C84F9DA4935A123ACECCBAC06B0" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:FALSE" + "IsolateTo" = "8:" + } + "{9F6F8455-1EF1-4B85-886A-4223BCC8E7F7}:_5AA5C97011089B80E80258C54FC9B702" + { + "AssemblyRegister" = "3:1" + "AssemblyIsInGAC" = "11:FALSE" + "AssemblyAsmDisplayName" = "8:netstandard, Version=2.1.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51, processorArchitecture=MSIL" + "ScatterAssemblies" + { + "_5AA5C97011089B80E80258C54FC9B702" + { + "Name" = "8:netstandard.dll" + "Attributes" = "3:512" + } + } + "SourcePath" = "8:netstandard.dll" + "TargetName" = "8:" + "Tag" = "8:" + "Folder" = "8:_62218C84F9DA4935A123ACECCBAC06B0" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:TRUE" + "IsolateTo" = "8:" + } + "{9F6F8455-1EF1-4B85-886A-4223BCC8E7F7}:_5AFFAD1DB3394D668A182EBC3250F568" + { + "AssemblyRegister" = "3:1" + "AssemblyIsInGAC" = "11:FALSE" + "AssemblyAsmDisplayName" = "8:System.Threading.ThreadPool, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL" + "ScatterAssemblies" + { + "_5AFFAD1DB3394D668A182EBC3250F568" + { + "Name" = "8:System.Threading.ThreadPool.dll" + "Attributes" = "3:512" + } + } + "SourcePath" = "8:..\\leak_test_project\\bin\\Release\\net9.0-windows\\win-x64\\publish\\System.Threading.ThreadPool.dll" + "TargetName" = "8:" + "Tag" = "8:" + "Folder" = "8:_62218C84F9DA4935A123ACECCBAC06B0" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:FALSE" + "IsolateTo" = "8:" + } + "{9F6F8455-1EF1-4B85-886A-4223BCC8E7F7}:_5B31F5B49AE508BB53A85BC64919D013" + { + "AssemblyRegister" = "3:1" + "AssemblyIsInGAC" = "11:TRUE" + "AssemblyAsmDisplayName" = "8:System.Diagnostics.Tracing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL" + "ScatterAssemblies" + { + "_5B31F5B49AE508BB53A85BC64919D013" + { + "Name" = "8:System.Diagnostics.Tracing.dll" + "Attributes" = "3:512" + } + } + "SourcePath" = "8:System.Diagnostics.Tracing.dll" + "TargetName" = "8:" + "Tag" = "8:" + "Folder" = "8:_62218C84F9DA4935A123ACECCBAC06B0" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:TRUE" + "IsolateTo" = "8:" + } + "{9F6F8455-1EF1-4B85-886A-4223BCC8E7F7}:_5C5D73F2140D4BCD9209CD169908C37D" + { + "AssemblyRegister" = "3:1" + "AssemblyIsInGAC" = "11:FALSE" + "AssemblyAsmDisplayName" = "8:System.IO.FileSystem.DriveInfo, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL" + "ScatterAssemblies" + { + "_5C5D73F2140D4BCD9209CD169908C37D" + { + "Name" = "8:System.IO.FileSystem.DriveInfo.dll" + "Attributes" = "3:512" + } + } + "SourcePath" = "8:..\\leak_test_project\\bin\\Release\\net9.0-windows\\win-x64\\publish\\System.IO.FileSystem.DriveInfo.dll" + "TargetName" = "8:" + "Tag" = "8:" + "Folder" = "8:_62218C84F9DA4935A123ACECCBAC06B0" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:FALSE" + "IsolateTo" = "8:" + } + "{9F6F8455-1EF1-4B85-886A-4223BCC8E7F7}:_5C96648DAA0847C7A5CEF0E0BD4C972A" + { + "AssemblyRegister" = "3:1" + "AssemblyIsInGAC" = "11:FALSE" + "AssemblyAsmDisplayName" = "8:System.Security.Claims, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL" + "ScatterAssemblies" + { + "_5C96648DAA0847C7A5CEF0E0BD4C972A" + { + "Name" = "8:System.Security.Claims.dll" + "Attributes" = "3:512" + } + } + "SourcePath" = "8:..\\leak_test_project\\bin\\Release\\net9.0-windows\\win-x64\\publish\\System.Security.Claims.dll" + "TargetName" = "8:" + "Tag" = "8:" + "Folder" = "8:_62218C84F9DA4935A123ACECCBAC06B0" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:FALSE" + "IsolateTo" = "8:" + } + "{9F6F8455-1EF1-4B85-886A-4223BCC8E7F7}:_5D13D6EC94124CF0A401D7DC97BEDFF2" + { + "AssemblyRegister" = "3:1" + "AssemblyIsInGAC" = "11:FALSE" + "AssemblyAsmDisplayName" = "8:PresentationFramework-SystemCore, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089, processorArchitecture=AMD64" + "ScatterAssemblies" + { + "_5D13D6EC94124CF0A401D7DC97BEDFF2" + { + "Name" = "8:PresentationFramework-SystemCore.dll" + "Attributes" = "3:512" + } + } + "SourcePath" = "8:..\\leak_test_project\\bin\\Release\\net9.0-windows\\win-x64\\publish\\PresentationFramework-SystemCore.dll" + "TargetName" = "8:" + "Tag" = "8:" + "Folder" = "8:_62218C84F9DA4935A123ACECCBAC06B0" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:FALSE" + "IsolateTo" = "8:" + } + "{9F6F8455-1EF1-4B85-886A-4223BCC8E7F7}:_5D958D73994894B86D67E95AE1A90ECA" + { + "AssemblyRegister" = "3:1" + "AssemblyIsInGAC" = "11:FALSE" + "AssemblyAsmDisplayName" = "8:System.Threading.Channels, Version=9.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51, processorArchitecture=MSIL" + "ScatterAssemblies" + { + "_5D958D73994894B86D67E95AE1A90ECA" + { + "Name" = "8:System.Threading.Channels.dll" + "Attributes" = "3:512" + } + } + "SourcePath" = "8:System.Threading.Channels.dll" + "TargetName" = "8:" + "Tag" = "8:" + "Folder" = "8:_62218C84F9DA4935A123ACECCBAC06B0" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:TRUE" + "IsolateTo" = "8:" + } + "{9F6F8455-1EF1-4B85-886A-4223BCC8E7F7}:_5DAB1E200E4FD0856E74B64E9E6B853F" + { + "AssemblyRegister" = "3:1" + "AssemblyIsInGAC" = "11:FALSE" + "AssemblyAsmDisplayName" = "8:System.Threading, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL" + "ScatterAssemblies" + { + "_5DAB1E200E4FD0856E74B64E9E6B853F" + { + "Name" = "8:System.Threading.dll" + "Attributes" = "3:512" + } + } + "SourcePath" = "8:System.Threading.dll" + "TargetName" = "8:" + "Tag" = "8:" + "Folder" = "8:_62218C84F9DA4935A123ACECCBAC06B0" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:TRUE" + "IsolateTo" = "8:" + } + "{9F6F8455-1EF1-4B85-886A-4223BCC8E7F7}:_5DEC5F989E1F4FE3B8BC00BE10B58169" + { + "AssemblyRegister" = "3:1" + "AssemblyIsInGAC" = "11:FALSE" + "AssemblyAsmDisplayName" = "8:System.Xml.XPath, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL" + "ScatterAssemblies" + { + "_5DEC5F989E1F4FE3B8BC00BE10B58169" + { + "Name" = "8:System.Xml.XPath.dll" + "Attributes" = "3:512" + } + } + "SourcePath" = "8:..\\leak_test_project\\bin\\Release\\net9.0-windows\\win-x64\\publish\\System.Xml.XPath.dll" + "TargetName" = "8:" + "Tag" = "8:" + "Folder" = "8:_62218C84F9DA4935A123ACECCBAC06B0" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:FALSE" + "IsolateTo" = "8:" + } + "{9F6F8455-1EF1-4B85-886A-4223BCC8E7F7}:_5E627DC166BF3BA30273E85BAB4991DF" + { + "AssemblyRegister" = "3:1" + "AssemblyIsInGAC" = "11:FALSE" + "AssemblyAsmDisplayName" = "8:System.IO.FileSystem, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL" + "ScatterAssemblies" + { + "_5E627DC166BF3BA30273E85BAB4991DF" + { + "Name" = "8:System.IO.FileSystem.dll" + "Attributes" = "3:512" + } + } + "SourcePath" = "8:System.IO.FileSystem.dll" + "TargetName" = "8:" + "Tag" = "8:" + "Folder" = "8:_62218C84F9DA4935A123ACECCBAC06B0" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:TRUE" + "IsolateTo" = "8:" + } + "{9F6F8455-1EF1-4B85-886A-4223BCC8E7F7}:_5E8BDAF70D53E26C13CCD0DEF6CCDA8A" + { + "AssemblyRegister" = "3:1" + "AssemblyIsInGAC" = "11:FALSE" + "AssemblyAsmDisplayName" = "8:System.Runtime.CompilerServices.Unsafe, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL" + "ScatterAssemblies" + { + "_5E8BDAF70D53E26C13CCD0DEF6CCDA8A" + { + "Name" = "8:System.Runtime.CompilerServices.Unsafe.dll" + "Attributes" = "3:512" + } + } + "SourcePath" = "8:System.Runtime.CompilerServices.Unsafe.dll" + "TargetName" = "8:" + "Tag" = "8:" + "Folder" = "8:_62218C84F9DA4935A123ACECCBAC06B0" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:TRUE" + "IsolateTo" = "8:" + } + "{9F6F8455-1EF1-4B85-886A-4223BCC8E7F7}:_5E9E54CF8C9A48A28AE9FBB85927752D" + { + "AssemblyRegister" = "3:1" + "AssemblyIsInGAC" = "11:FALSE" + "AssemblyAsmDisplayName" = "8:System.Net.Ping, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL" + "ScatterAssemblies" + { + "_5E9E54CF8C9A48A28AE9FBB85927752D" + { + "Name" = "8:System.Net.Ping.dll" + "Attributes" = "3:512" + } + } + "SourcePath" = "8:..\\leak_test_project\\bin\\Release\\net9.0-windows\\win-x64\\publish\\System.Net.Ping.dll" + "TargetName" = "8:" + "Tag" = "8:" + "Folder" = "8:_62218C84F9DA4935A123ACECCBAC06B0" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:FALSE" + "IsolateTo" = "8:" + } + "{9F6F8455-1EF1-4B85-886A-4223BCC8E7F7}:_5F2335260578468CAF37B602E0D6B39F" + { + "AssemblyRegister" = "3:1" + "AssemblyIsInGAC" = "11:FALSE" + "AssemblyAsmDisplayName" = "8:System.IO.FileSystem, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL" + "ScatterAssemblies" + { + "_5F2335260578468CAF37B602E0D6B39F" + { + "Name" = "8:System.IO.FileSystem.dll" + "Attributes" = "3:512" + } + } + "SourcePath" = "8:..\\leak_test_project\\bin\\Release\\net9.0-windows\\win-x64\\publish\\System.IO.FileSystem.dll" + "TargetName" = "8:" + "Tag" = "8:" + "Folder" = "8:_62218C84F9DA4935A123ACECCBAC06B0" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:FALSE" + "IsolateTo" = "8:" + } + "{9F6F8455-1EF1-4B85-886A-4223BCC8E7F7}:_5FB2770D61A7615DDE153C1333D1E2F2" + { + "AssemblyRegister" = "3:1" + "AssemblyIsInGAC" = "11:FALSE" + "AssemblyAsmDisplayName" = "8:System.Threading.Tasks, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL" + "ScatterAssemblies" + { + "_5FB2770D61A7615DDE153C1333D1E2F2" + { + "Name" = "8:System.Threading.Tasks.dll" + "Attributes" = "3:512" + } + } + "SourcePath" = "8:System.Threading.Tasks.dll" + "TargetName" = "8:" + "Tag" = "8:" + "Folder" = "8:_62218C84F9DA4935A123ACECCBAC06B0" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:TRUE" + "IsolateTo" = "8:" + } + "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_5FC485A8266D4B31A6FCF6D6D7750CA2" + { + "SourcePath" = "8:..\\leak_test_project\\bin\\Release\\net9.0-windows\\win-x64\\publish\\createdump.exe" + "TargetName" = "8:createdump.exe" + "Tag" = "8:" + "Folder" = "8:_62218C84F9DA4935A123ACECCBAC06B0" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:FALSE" + "IsolateTo" = "8:" + } + "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_5FD8EB0BF9064E83879A657267114383" + { + "SourcePath" = "8:..\\leak_test_project\\bin\\Release\\net9.0-windows\\win-x64\\publish\\clretwrc.dll" + "TargetName" = "8:clretwrc.dll" + "Tag" = "8:" + "Folder" = "8:_62218C84F9DA4935A123ACECCBAC06B0" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:FALSE" + "IsolateTo" = "8:" + } + "{9F6F8455-1EF1-4B85-886A-4223BCC8E7F7}:_6064363DA54745BF80D07AE7BBAD2708" + { + "AssemblyRegister" = "3:1" + "AssemblyIsInGAC" = "11:FALSE" + "AssemblyAsmDisplayName" = "8:System.Runtime.Serialization.Formatters, Version=8.1.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL" + "ScatterAssemblies" + { + "_6064363DA54745BF80D07AE7BBAD2708" + { + "Name" = "8:System.Runtime.Serialization.Formatters.dll" + "Attributes" = "3:512" + } + } + "SourcePath" = "8:..\\leak_test_project\\bin\\Release\\net9.0-windows\\win-x64\\publish\\System.Runtime.Serialization.Formatters.dll" + "TargetName" = "8:" + "Tag" = "8:" + "Folder" = "8:_62218C84F9DA4935A123ACECCBAC06B0" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:FALSE" + "IsolateTo" = "8:" + } + "{9F6F8455-1EF1-4B85-886A-4223BCC8E7F7}:_608C0B48302340DEB1BA4641BC1760CA" + { + "AssemblyRegister" = "3:1" + "AssemblyIsInGAC" = "11:FALSE" + "AssemblyAsmDisplayName" = "8:System.IO.Compression.FileSystem, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089, processorArchitecture=MSIL" + "ScatterAssemblies" + { + "_608C0B48302340DEB1BA4641BC1760CA" + { + "Name" = "8:System.IO.Compression.FileSystem.dll" + "Attributes" = "3:512" + } + } + "SourcePath" = "8:..\\leak_test_project\\bin\\Release\\net9.0-windows\\win-x64\\publish\\System.IO.Compression.FileSystem.dll" + "TargetName" = "8:" + "Tag" = "8:" + "Folder" = "8:_62218C84F9DA4935A123ACECCBAC06B0" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:FALSE" + "IsolateTo" = "8:" + } + "{9F6F8455-1EF1-4B85-886A-4223BCC8E7F7}:_6229ECB82F86E3E745458F873D941E6B" + { + "AssemblyRegister" = "3:1" + "AssemblyIsInGAC" = "11:TRUE" + "AssemblyAsmDisplayName" = "8:System.Security.SecureString, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL" + "ScatterAssemblies" + { + "_6229ECB82F86E3E745458F873D941E6B" + { + "Name" = "8:System.Security.SecureString.dll" + "Attributes" = "3:512" + } + } + "SourcePath" = "8:System.Security.SecureString.dll" + "TargetName" = "8:" + "Tag" = "8:" + "Folder" = "8:_62218C84F9DA4935A123ACECCBAC06B0" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:TRUE" + "IsolateTo" = "8:" + } + "{9F6F8455-1EF1-4B85-886A-4223BCC8E7F7}:_624C2F74AFC9428AA2BE6445E388E8B5" + { + "AssemblyRegister" = "3:1" + "AssemblyIsInGAC" = "11:FALSE" + "AssemblyAsmDisplayName" = "8:System.Net.Primitives, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL" + "ScatterAssemblies" + { + "_624C2F74AFC9428AA2BE6445E388E8B5" + { + "Name" = "8:System.Net.Primitives.dll" + "Attributes" = "3:512" + } + } + "SourcePath" = "8:..\\leak_test_project\\bin\\Release\\net9.0-windows\\win-x64\\publish\\System.Net.Primitives.dll" + "TargetName" = "8:" + "Tag" = "8:" + "Folder" = "8:_62218C84F9DA4935A123ACECCBAC06B0" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:FALSE" + "IsolateTo" = "8:" + } + "{9F6F8455-1EF1-4B85-886A-4223BCC8E7F7}:_624D6C2131D427E1FDCAAF7D749F959E" + { + "AssemblyRegister" = "3:1" + "AssemblyIsInGAC" = "11:FALSE" + "AssemblyAsmDisplayName" = "8:Accessibility, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL" + "ScatterAssemblies" + { + "_624D6C2131D427E1FDCAAF7D749F959E" + { + "Name" = "8:Accessibility.dll" + "Attributes" = "3:512" + } + } + "SourcePath" = "8:Accessibility.dll" + "TargetName" = "8:" + "Tag" = "8:" + "Folder" = "8:_62218C84F9DA4935A123ACECCBAC06B0" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:TRUE" + "IsolateTo" = "8:" + } + "{9F6F8455-1EF1-4B85-886A-4223BCC8E7F7}:_632667153BFC4C2AA121974E10F49026" + { + "AssemblyRegister" = "3:1" + "AssemblyIsInGAC" = "11:FALSE" + "AssemblyAsmDisplayName" = "8:Accessibility, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL" + "ScatterAssemblies" + { + "_632667153BFC4C2AA121974E10F49026" + { + "Name" = "8:Accessibility.dll" + "Attributes" = "3:512" + } + } + "SourcePath" = "8:..\\leak_test_project\\bin\\Release\\net9.0-windows\\win-x64\\publish\\Accessibility.dll" + "TargetName" = "8:" + "Tag" = "8:" + "Folder" = "8:_62218C84F9DA4935A123ACECCBAC06B0" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:FALSE" + "IsolateTo" = "8:" + } + "{9F6F8455-1EF1-4B85-886A-4223BCC8E7F7}:_6332C8D5E24A4D89AECB3E2DFF1F03B9" + { + "AssemblyRegister" = "3:1" + "AssemblyIsInGAC" = "11:FALSE" + "AssemblyAsmDisplayName" = "8:System.Transactions, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089, processorArchitecture=MSIL" + "ScatterAssemblies" + { + "_6332C8D5E24A4D89AECB3E2DFF1F03B9" + { + "Name" = "8:System.Transactions.dll" + "Attributes" = "3:512" + } + } + "SourcePath" = "8:..\\leak_test_project\\bin\\Release\\net9.0-windows\\win-x64\\publish\\System.Transactions.dll" + "TargetName" = "8:" + "Tag" = "8:" + "Folder" = "8:_62218C84F9DA4935A123ACECCBAC06B0" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:FALSE" + "IsolateTo" = "8:" + } + "{9F6F8455-1EF1-4B85-886A-4223BCC8E7F7}:_6370FD971DB9E8938A26E2982CF5CE7E" + { + "AssemblyRegister" = "3:1" + "AssemblyIsInGAC" = "11:FALSE" + "AssemblyAsmDisplayName" = "8:System.Security.Principal.Windows, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL" + "ScatterAssemblies" + { + "_6370FD971DB9E8938A26E2982CF5CE7E" + { + "Name" = "8:System.Security.Principal.Windows.dll" + "Attributes" = "3:512" + } + } + "SourcePath" = "8:System.Security.Principal.Windows.dll" + "TargetName" = "8:" + "Tag" = "8:" + "Folder" = "8:_62218C84F9DA4935A123ACECCBAC06B0" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:TRUE" + "IsolateTo" = "8:" + } + "{9F6F8455-1EF1-4B85-886A-4223BCC8E7F7}:_641F826F791B4938BBD88529AF6F9D18" + { + "AssemblyRegister" = "3:1" + "AssemblyIsInGAC" = "11:FALSE" + "AssemblyAsmDisplayName" = "8:System.Numerics, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089, processorArchitecture=MSIL" + "ScatterAssemblies" + { + "_641F826F791B4938BBD88529AF6F9D18" + { + "Name" = "8:System.Numerics.dll" + "Attributes" = "3:512" + } + } + "SourcePath" = "8:..\\leak_test_project\\bin\\Release\\net9.0-windows\\win-x64\\publish\\System.Numerics.dll" + "TargetName" = "8:" + "Tag" = "8:" + "Folder" = "8:_62218C84F9DA4935A123ACECCBAC06B0" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:FALSE" + "IsolateTo" = "8:" + } + "{9F6F8455-1EF1-4B85-886A-4223BCC8E7F7}:_64770AF066B54BE3B8569E19B19E6B53" + { + "AssemblyRegister" = "3:1" + "AssemblyIsInGAC" = "11:FALSE" + "AssemblyAsmDisplayName" = "8:System.Linq.Parallel, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL" + "ScatterAssemblies" + { + "_64770AF066B54BE3B8569E19B19E6B53" + { + "Name" = "8:System.Linq.Parallel.dll" + "Attributes" = "3:512" + } + } + "SourcePath" = "8:..\\leak_test_project\\bin\\Release\\net9.0-windows\\win-x64\\publish\\System.Linq.Parallel.dll" + "TargetName" = "8:" + "Tag" = "8:" + "Folder" = "8:_62218C84F9DA4935A123ACECCBAC06B0" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:FALSE" + "IsolateTo" = "8:" + } + "{9F6F8455-1EF1-4B85-886A-4223BCC8E7F7}:_65D9AE21D2AE47DCA4A5090D290FB85C" + { + "AssemblyRegister" = "3:1" + "AssemblyIsInGAC" = "11:FALSE" + "AssemblyAsmDisplayName" = "8:System.Linq.Queryable, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL" + "ScatterAssemblies" + { + "_65D9AE21D2AE47DCA4A5090D290FB85C" + { + "Name" = "8:System.Linq.Queryable.dll" + "Attributes" = "3:512" + } + } + "SourcePath" = "8:..\\leak_test_project\\bin\\Release\\net9.0-windows\\win-x64\\publish\\System.Linq.Queryable.dll" + "TargetName" = "8:" + "Tag" = "8:" + "Folder" = "8:_62218C84F9DA4935A123ACECCBAC06B0" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:FALSE" + "IsolateTo" = "8:" + } + "{9F6F8455-1EF1-4B85-886A-4223BCC8E7F7}:_6677F7DDE833487685A5365B814C948E" + { + "AssemblyRegister" = "3:1" + "AssemblyIsInGAC" = "11:FALSE" + "AssemblyAsmDisplayName" = "8:System.Security.Permissions, Version=9.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51, processorArchitecture=MSIL" + "ScatterAssemblies" + { + "_6677F7DDE833487685A5365B814C948E" + { + "Name" = "8:System.Security.Permissions.dll" + "Attributes" = "3:512" + } + } + "SourcePath" = "8:..\\leak_test_project\\bin\\Release\\net9.0-windows\\win-x64\\publish\\System.Security.Permissions.dll" + "TargetName" = "8:" + "Tag" = "8:" + "Folder" = "8:_62218C84F9DA4935A123ACECCBAC06B0" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:FALSE" + "IsolateTo" = "8:" + } + "{9F6F8455-1EF1-4B85-886A-4223BCC8E7F7}:_67EB7D0AB53C9905790E1D5A3283B7A4" + { + "AssemblyRegister" = "3:1" + "AssemblyIsInGAC" = "11:FALSE" + "AssemblyAsmDisplayName" = "8:System.Security.Cryptography.Xml, Version=9.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51, processorArchitecture=MSIL" + "ScatterAssemblies" + { + "_67EB7D0AB53C9905790E1D5A3283B7A4" + { + "Name" = "8:System.Security.Cryptography.Xml.dll" + "Attributes" = "3:512" + } + } + "SourcePath" = "8:System.Security.Cryptography.Xml.dll" + "TargetName" = "8:" + "Tag" = "8:" + "Folder" = "8:_62218C84F9DA4935A123ACECCBAC06B0" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:TRUE" + "IsolateTo" = "8:" + } + "{9F6F8455-1EF1-4B85-886A-4223BCC8E7F7}:_686EE9565AAD480DBD62DCF182A8495D" + { + "AssemblyRegister" = "3:1" + "AssemblyIsInGAC" = "11:FALSE" + "AssemblyAsmDisplayName" = "8:System.Resources.ResourceManager, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL" + "ScatterAssemblies" + { + "_686EE9565AAD480DBD62DCF182A8495D" + { + "Name" = "8:System.Resources.ResourceManager.dll" + "Attributes" = "3:512" + } + } + "SourcePath" = "8:..\\leak_test_project\\bin\\Release\\net9.0-windows\\win-x64\\publish\\System.Resources.ResourceManager.dll" + "TargetName" = "8:" + "Tag" = "8:" + "Folder" = "8:_62218C84F9DA4935A123ACECCBAC06B0" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:FALSE" + "IsolateTo" = "8:" + } + "{9F6F8455-1EF1-4B85-886A-4223BCC8E7F7}:_6871E9B1CC1845E838FC02F63FA4F93F" + { + "AssemblyRegister" = "3:1" + "AssemblyIsInGAC" = "11:FALSE" + "AssemblyAsmDisplayName" = "8:System.Collections.Specialized, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL" + "ScatterAssemblies" + { + "_6871E9B1CC1845E838FC02F63FA4F93F" + { + "Name" = "8:System.Collections.Specialized.dll" + "Attributes" = "3:512" + } + } + "SourcePath" = "8:System.Collections.Specialized.dll" + "TargetName" = "8:" + "Tag" = "8:" + "Folder" = "8:_62218C84F9DA4935A123ACECCBAC06B0" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:TRUE" + "IsolateTo" = "8:" + } + "{9F6F8455-1EF1-4B85-886A-4223BCC8E7F7}:_6880C8C0D7F71507411900E1F1791D78" + { + "AssemblyRegister" = "3:1" + "AssemblyIsInGAC" = "11:FALSE" + "AssemblyAsmDisplayName" = "8:System.Reflection.Primitives, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL" + "ScatterAssemblies" + { + "_6880C8C0D7F71507411900E1F1791D78" + { + "Name" = "8:System.Reflection.Primitives.dll" + "Attributes" = "3:512" + } + } + "SourcePath" = "8:System.Reflection.Primitives.dll" + "TargetName" = "8:" + "Tag" = "8:" + "Folder" = "8:_62218C84F9DA4935A123ACECCBAC06B0" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:TRUE" + "IsolateTo" = "8:" + } + "{9F6F8455-1EF1-4B85-886A-4223BCC8E7F7}:_6906CE29A1544D899543332AE5DFB93D" + { + "AssemblyRegister" = "3:1" + "AssemblyIsInGAC" = "11:FALSE" + "AssemblyAsmDisplayName" = "8:System.IO.MemoryMappedFiles, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL" + "ScatterAssemblies" + { + "_6906CE29A1544D899543332AE5DFB93D" + { + "Name" = "8:System.IO.MemoryMappedFiles.dll" + "Attributes" = "3:512" + } + } + "SourcePath" = "8:..\\leak_test_project\\bin\\Release\\net9.0-windows\\win-x64\\publish\\System.IO.MemoryMappedFiles.dll" + "TargetName" = "8:" + "Tag" = "8:" + "Folder" = "8:_62218C84F9DA4935A123ACECCBAC06B0" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:FALSE" + "IsolateTo" = "8:" + } + "{9F6F8455-1EF1-4B85-886A-4223BCC8E7F7}:_695DCEC11864890D1C962A88C49BD047" + { + "AssemblyRegister" = "3:1" + "AssemblyIsInGAC" = "11:FALSE" + "AssemblyAsmDisplayName" = "8:System.Diagnostics.Tracing, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL" + "ScatterAssemblies" + { + "_695DCEC11864890D1C962A88C49BD047" + { + "Name" = "8:System.Diagnostics.Tracing.dll" + "Attributes" = "3:512" + } + } + "SourcePath" = "8:System.Diagnostics.Tracing.dll" + "TargetName" = "8:" + "Tag" = "8:" + "Folder" = "8:_62218C84F9DA4935A123ACECCBAC06B0" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:TRUE" + "IsolateTo" = "8:" + } + "{9F6F8455-1EF1-4B85-886A-4223BCC8E7F7}:_69C0DF05D4ACB9A64E9DF6BB789A54D2" + { + "AssemblyRegister" = "3:1" + "AssemblyIsInGAC" = "11:TRUE" + "AssemblyAsmDisplayName" = "8:System.Runtime.Serialization.Xml, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL" + "ScatterAssemblies" + { + "_69C0DF05D4ACB9A64E9DF6BB789A54D2" + { + "Name" = "8:System.Runtime.Serialization.Xml.dll" + "Attributes" = "3:512" + } + } + "SourcePath" = "8:System.Runtime.Serialization.Xml.dll" + "TargetName" = "8:" + "Tag" = "8:" + "Folder" = "8:_62218C84F9DA4935A123ACECCBAC06B0" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:TRUE" + "IsolateTo" = "8:" + } + "{9F6F8455-1EF1-4B85-886A-4223BCC8E7F7}:_6A7ABCEBA3D1D46DEF706D642F02CF0D" + { + "AssemblyRegister" = "3:1" + "AssemblyIsInGAC" = "11:TRUE" + "AssemblyAsmDisplayName" = "8:System.Data.Common, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL" + "ScatterAssemblies" + { + "_6A7ABCEBA3D1D46DEF706D642F02CF0D" + { + "Name" = "8:System.Data.Common.dll" + "Attributes" = "3:512" + } + } + "SourcePath" = "8:System.Data.Common.dll" + "TargetName" = "8:" + "Tag" = "8:" + "Folder" = "8:_62218C84F9DA4935A123ACECCBAC06B0" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:TRUE" + "IsolateTo" = "8:" + } + "{9F6F8455-1EF1-4B85-886A-4223BCC8E7F7}:_6BBC70E12174480BB9AA2BB5387E54BF" + { + "AssemblyRegister" = "3:1" + "AssemblyIsInGAC" = "11:FALSE" + "AssemblyAsmDisplayName" = "8:System.Formats.Asn1, Version=9.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51, processorArchitecture=MSIL" + "ScatterAssemblies" + { + "_6BBC70E12174480BB9AA2BB5387E54BF" + { + "Name" = "8:System.Formats.Asn1.dll" + "Attributes" = "3:512" + } + } + "SourcePath" = "8:..\\leak_test_project\\bin\\Release\\net9.0-windows\\win-x64\\publish\\System.Formats.Asn1.dll" + "TargetName" = "8:" + "Tag" = "8:" + "Folder" = "8:_62218C84F9DA4935A123ACECCBAC06B0" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:FALSE" + "IsolateTo" = "8:" + } + "{9F6F8455-1EF1-4B85-886A-4223BCC8E7F7}:_6C7EC0ABAE9AAD4FC604C53BE8578137" + { + "AssemblyRegister" = "3:1" + "AssemblyIsInGAC" = "11:FALSE" + "AssemblyAsmDisplayName" = "8:System.Security.Cryptography, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL" + "ScatterAssemblies" + { + "_6C7EC0ABAE9AAD4FC604C53BE8578137" + { + "Name" = "8:System.Security.Cryptography.dll" + "Attributes" = "3:512" + } + } + "SourcePath" = "8:System.Security.Cryptography.dll" + "TargetName" = "8:" + "Tag" = "8:" + "Folder" = "8:_62218C84F9DA4935A123ACECCBAC06B0" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:TRUE" + "IsolateTo" = "8:" + } + "{9F6F8455-1EF1-4B85-886A-4223BCC8E7F7}:_6CE0E2FC4BB34BB206C0FFCA579DA5DC" + { + "AssemblyRegister" = "3:1" + "AssemblyIsInGAC" = "11:FALSE" + "AssemblyAsmDisplayName" = "8:System.Runtime.Extensions, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL" + "ScatterAssemblies" + { + "_6CE0E2FC4BB34BB206C0FFCA579DA5DC" + { + "Name" = "8:System.Runtime.Extensions.dll" + "Attributes" = "3:512" + } + } + "SourcePath" = "8:System.Runtime.Extensions.dll" + "TargetName" = "8:" + "Tag" = "8:" + "Folder" = "8:_62218C84F9DA4935A123ACECCBAC06B0" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:TRUE" + "IsolateTo" = "8:" + } + "{9F6F8455-1EF1-4B85-886A-4223BCC8E7F7}:_6D63D4EE96264ACB81366F463C2F2FCE" + { + "AssemblyRegister" = "3:1" + "AssemblyIsInGAC" = "11:FALSE" + "AssemblyAsmDisplayName" = "8:mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089, processorArchitecture=MSIL" + "ScatterAssemblies" + { + "_6D63D4EE96264ACB81366F463C2F2FCE" + { + "Name" = "8:mscorlib.dll" + "Attributes" = "3:512" + } + } + "SourcePath" = "8:..\\leak_test_project\\bin\\Release\\net9.0-windows\\win-x64\\publish\\mscorlib.dll" + "TargetName" = "8:" + "Tag" = "8:" + "Folder" = "8:_62218C84F9DA4935A123ACECCBAC06B0" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:FALSE" + "IsolateTo" = "8:" + } + "{9F6F8455-1EF1-4B85-886A-4223BCC8E7F7}:_6FAA499E74924D14BE2D95B3A55D4555" + { + "AssemblyRegister" = "3:1" + "AssemblyIsInGAC" = "11:FALSE" + "AssemblyAsmDisplayName" = "8:System.IO.Compression, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089, processorArchitecture=MSIL" + "ScatterAssemblies" + { + "_6FAA499E74924D14BE2D95B3A55D4555" + { + "Name" = "8:System.IO.Compression.dll" + "Attributes" = "3:512" + } + } + "SourcePath" = "8:..\\leak_test_project\\bin\\Release\\net9.0-windows\\win-x64\\publish\\System.IO.Compression.dll" + "TargetName" = "8:" + "Tag" = "8:" + "Folder" = "8:_62218C84F9DA4935A123ACECCBAC06B0" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:FALSE" + "IsolateTo" = "8:" + } + "{9F6F8455-1EF1-4B85-886A-4223BCC8E7F7}:_7068483860A642EF9ABD5830382DF252" + { + "AssemblyRegister" = "3:1" + "AssemblyIsInGAC" = "11:FALSE" + "AssemblyAsmDisplayName" = "8:System.Data, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089, processorArchitecture=MSIL" + "ScatterAssemblies" + { + "_7068483860A642EF9ABD5830382DF252" + { + "Name" = "8:System.Data.dll" + "Attributes" = "3:512" + } + } + "SourcePath" = "8:..\\leak_test_project\\bin\\Release\\net9.0-windows\\win-x64\\publish\\System.Data.dll" + "TargetName" = "8:" + "Tag" = "8:" + "Folder" = "8:_62218C84F9DA4935A123ACECCBAC06B0" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:FALSE" + "IsolateTo" = "8:" + } + "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_7228AC184E44452B8CF88BA4D4DDDF1E" + { + "SourcePath" = "8:..\\leak_test_project\\bin\\Release\\net9.0-windows\\win-x64\\publish\\Microsoft.DiaSymReader.Native.amd64.dll" + "TargetName" = "8:Microsoft.DiaSymReader.Native.amd64.dll" + "Tag" = "8:" + "Folder" = "8:_62218C84F9DA4935A123ACECCBAC06B0" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:FALSE" + "IsolateTo" = "8:" + } + "{9F6F8455-1EF1-4B85-886A-4223BCC8E7F7}:_73AD4875357913BE8D8902DEE60B3E2F" + { + "AssemblyRegister" = "3:1" + "AssemblyIsInGAC" = "11:FALSE" + "AssemblyAsmDisplayName" = "8:System.IO.FileSystem.AccessControl, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL" + "ScatterAssemblies" + { + "_73AD4875357913BE8D8902DEE60B3E2F" + { + "Name" = "8:System.IO.FileSystem.AccessControl.dll" + "Attributes" = "3:512" + } + } + "SourcePath" = "8:System.IO.FileSystem.AccessControl.dll" + "TargetName" = "8:" + "Tag" = "8:" + "Folder" = "8:_62218C84F9DA4935A123ACECCBAC06B0" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:TRUE" + "IsolateTo" = "8:" + } + "{9F6F8455-1EF1-4B85-886A-4223BCC8E7F7}:_746A1DED5A604FA7A3EC5F80ADFCD143" + { + "AssemblyRegister" = "3:1" + "AssemblyIsInGAC" = "11:FALSE" + "AssemblyAsmDisplayName" = "8:System.Runtime.Serialization.Xml, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL" + "ScatterAssemblies" + { + "_746A1DED5A604FA7A3EC5F80ADFCD143" + { + "Name" = "8:System.Runtime.Serialization.Xml.dll" + "Attributes" = "3:512" + } + } + "SourcePath" = "8:..\\leak_test_project\\bin\\Release\\net9.0-windows\\win-x64\\publish\\System.Runtime.Serialization.Xml.dll" + "TargetName" = "8:" + "Tag" = "8:" + "Folder" = "8:_62218C84F9DA4935A123ACECCBAC06B0" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:FALSE" + "IsolateTo" = "8:" + } + "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_746B5E1B59844028823679AE5A7879E9" + { + "SourcePath" = "8:..\\leak_test_project\\bin\\Release\\net9.0-windows\\win-x64\\publish\\coreclr.dll" + "TargetName" = "8:coreclr.dll" + "Tag" = "8:" + "Folder" = "8:_62218C84F9DA4935A123ACECCBAC06B0" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:FALSE" + "IsolateTo" = "8:" + } + "{9F6F8455-1EF1-4B85-886A-4223BCC8E7F7}:_74712768A0C2E43D6463CB29F71EA3B2" + { + "AssemblyRegister" = "3:1" + "AssemblyIsInGAC" = "11:FALSE" + "AssemblyAsmDisplayName" = "8:System.IO.FileSystem.Primitives, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL" + "ScatterAssemblies" + { + "_74712768A0C2E43D6463CB29F71EA3B2" + { + "Name" = "8:System.IO.FileSystem.Primitives.dll" + "Attributes" = "3:512" + } + } + "SourcePath" = "8:System.IO.FileSystem.Primitives.dll" + "TargetName" = "8:" + "Tag" = "8:" + "Folder" = "8:_62218C84F9DA4935A123ACECCBAC06B0" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:TRUE" + "IsolateTo" = "8:" + } + "{9F6F8455-1EF1-4B85-886A-4223BCC8E7F7}:_74DAED7BD8A1DE36D7E11A54E90C054F" + { + "AssemblyRegister" = "3:1" + "AssemblyIsInGAC" = "11:FALSE" + "AssemblyAsmDisplayName" = "8:System.IO.UnmanagedMemoryStream, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL" + "ScatterAssemblies" + { + "_74DAED7BD8A1DE36D7E11A54E90C054F" + { + "Name" = "8:System.IO.UnmanagedMemoryStream.dll" + "Attributes" = "3:512" + } + } + "SourcePath" = "8:System.IO.UnmanagedMemoryStream.dll" + "TargetName" = "8:" + "Tag" = "8:" + "Folder" = "8:_62218C84F9DA4935A123ACECCBAC06B0" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:TRUE" + "IsolateTo" = "8:" + } + "{9F6F8455-1EF1-4B85-886A-4223BCC8E7F7}:_74FBD4E6D00E43B0A17A4C03B5FE37BB" + { + "AssemblyRegister" = "3:1" + "AssemblyIsInGAC" = "11:FALSE" + "AssemblyAsmDisplayName" = "8:System.Xml.ReaderWriter, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL" + "ScatterAssemblies" + { + "_74FBD4E6D00E43B0A17A4C03B5FE37BB" + { + "Name" = "8:System.Xml.ReaderWriter.dll" + "Attributes" = "3:512" + } + } + "SourcePath" = "8:..\\leak_test_project\\bin\\Release\\net9.0-windows\\win-x64\\publish\\System.Xml.ReaderWriter.dll" + "TargetName" = "8:" + "Tag" = "8:" + "Folder" = "8:_62218C84F9DA4935A123ACECCBAC06B0" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:FALSE" + "IsolateTo" = "8:" + } + "{9F6F8455-1EF1-4B85-886A-4223BCC8E7F7}:_76BEA2873C26D5302B3D36ECF64BC24E" + { + "AssemblyRegister" = "3:1" + "AssemblyIsInGAC" = "11:FALSE" + "AssemblyAsmDisplayName" = "8:System.Threading.ThreadPool, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL" + "ScatterAssemblies" + { + "_76BEA2873C26D5302B3D36ECF64BC24E" + { + "Name" = "8:System.Threading.ThreadPool.dll" + "Attributes" = "3:512" + } + } + "SourcePath" = "8:System.Threading.ThreadPool.dll" + "TargetName" = "8:" + "Tag" = "8:" + "Folder" = "8:_62218C84F9DA4935A123ACECCBAC06B0" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:TRUE" + "IsolateTo" = "8:" + } + "{9F6F8455-1EF1-4B85-886A-4223BCC8E7F7}:_76C8F0549EB0426AB8C6B8F5285B96F0" + { + "AssemblyRegister" = "3:1" + "AssemblyIsInGAC" = "11:FALSE" + "AssemblyAsmDisplayName" = "8:System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL" + "ScatterAssemblies" + { + "_76C8F0549EB0426AB8C6B8F5285B96F0" + { + "Name" = "8:System.Drawing.dll" + "Attributes" = "3:512" + } + } + "SourcePath" = "8:..\\leak_test_project\\bin\\Release\\net9.0-windows\\win-x64\\publish\\System.Drawing.dll" + "TargetName" = "8:" + "Tag" = "8:" + "Folder" = "8:_62218C84F9DA4935A123ACECCBAC06B0" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:FALSE" + "IsolateTo" = "8:" + } + "{9F6F8455-1EF1-4B85-886A-4223BCC8E7F7}:_77A9397D916FFAB4F7B897D7501EB8F0" + { + "AssemblyRegister" = "3:1" + "AssemblyIsInGAC" = "11:FALSE" + "AssemblyAsmDisplayName" = "8:System.Security.Cryptography.Algorithms, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL" + "ScatterAssemblies" + { + "_77A9397D916FFAB4F7B897D7501EB8F0" + { + "Name" = "8:System.Security.Cryptography.Algorithms.dll" + "Attributes" = "3:512" + } + } + "SourcePath" = "8:System.Security.Cryptography.Algorithms.dll" + "TargetName" = "8:" + "Tag" = "8:" + "Folder" = "8:_62218C84F9DA4935A123ACECCBAC06B0" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:TRUE" + "IsolateTo" = "8:" + } + "{9F6F8455-1EF1-4B85-886A-4223BCC8E7F7}:_782B3A7F0C404202BB49F9B8976ED25E" + { + "AssemblyRegister" = "3:1" + "AssemblyIsInGAC" = "11:FALSE" + "AssemblyAsmDisplayName" = "8:System.Reflection.Emit.Lightweight, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL" + "ScatterAssemblies" + { + "_782B3A7F0C404202BB49F9B8976ED25E" + { + "Name" = "8:System.Reflection.Emit.Lightweight.dll" + "Attributes" = "3:512" + } + } + "SourcePath" = "8:..\\leak_test_project\\bin\\Release\\net9.0-windows\\win-x64\\publish\\System.Reflection.Emit.Lightweight.dll" + "TargetName" = "8:" + "Tag" = "8:" + "Folder" = "8:_62218C84F9DA4935A123ACECCBAC06B0" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:FALSE" + "IsolateTo" = "8:" + } + "{9F6F8455-1EF1-4B85-886A-4223BCC8E7F7}:_786BFC89E84C53F8CFD5DCFE4E5A2C50" + { + "AssemblyRegister" = "3:1" + "AssemblyIsInGAC" = "11:FALSE" + "AssemblyAsmDisplayName" = "8:System.Transactions.Local, Version=9.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51, processorArchitecture=MSIL" + "ScatterAssemblies" + { + "_786BFC89E84C53F8CFD5DCFE4E5A2C50" + { + "Name" = "8:System.Transactions.Local.dll" + "Attributes" = "3:512" + } + } + "SourcePath" = "8:System.Transactions.Local.dll" + "TargetName" = "8:" + "Tag" = "8:" + "Folder" = "8:_62218C84F9DA4935A123ACECCBAC06B0" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:TRUE" + "IsolateTo" = "8:" + } + "{9F6F8455-1EF1-4B85-886A-4223BCC8E7F7}:_7970EE0845C64C969FEA4A8C942AE6F6" + { + "AssemblyRegister" = "3:1" + "AssemblyIsInGAC" = "11:FALSE" + "AssemblyAsmDisplayName" = "8:System.IO.Compression.ZipFile, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089, processorArchitecture=MSIL" + "ScatterAssemblies" + { + "_7970EE0845C64C969FEA4A8C942AE6F6" + { + "Name" = "8:System.IO.Compression.ZipFile.dll" + "Attributes" = "3:512" + } + } + "SourcePath" = "8:..\\leak_test_project\\bin\\Release\\net9.0-windows\\win-x64\\publish\\System.IO.Compression.ZipFile.dll" + "TargetName" = "8:" + "Tag" = "8:" + "Folder" = "8:_62218C84F9DA4935A123ACECCBAC06B0" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:FALSE" + "IsolateTo" = "8:" + } + "{9F6F8455-1EF1-4B85-886A-4223BCC8E7F7}:_7A6FFAB65849451985DC97672E60AC25" + { + "AssemblyRegister" = "3:1" + "AssemblyIsInGAC" = "11:FALSE" + "AssemblyAsmDisplayName" = "8:System.Windows.Presentation, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089, processorArchitecture=AMD64" + "ScatterAssemblies" + { + "_7A6FFAB65849451985DC97672E60AC25" + { + "Name" = "8:System.Windows.Presentation.dll" + "Attributes" = "3:512" + } + } + "SourcePath" = "8:..\\leak_test_project\\bin\\Release\\net9.0-windows\\win-x64\\publish\\System.Windows.Presentation.dll" + "TargetName" = "8:" + "Tag" = "8:" + "Folder" = "8:_62218C84F9DA4935A123ACECCBAC06B0" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:FALSE" + "IsolateTo" = "8:" + } + "{9F6F8455-1EF1-4B85-886A-4223BCC8E7F7}:_7B1123BEF5320FEEA1E91AE63DBD99ED" + { + "AssemblyRegister" = "3:1" + "AssemblyIsInGAC" = "11:FALSE" + "AssemblyAsmDisplayName" = "8:System.Net.WebSockets.Client, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL" + "ScatterAssemblies" + { + "_7B1123BEF5320FEEA1E91AE63DBD99ED" + { + "Name" = "8:System.Net.WebSockets.Client.dll" + "Attributes" = "3:512" + } + } + "SourcePath" = "8:System.Net.WebSockets.Client.dll" + "TargetName" = "8:" + "Tag" = "8:" + "Folder" = "8:_62218C84F9DA4935A123ACECCBAC06B0" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:TRUE" + "IsolateTo" = "8:" + } + "{9F6F8455-1EF1-4B85-886A-4223BCC8E7F7}:_7BA63C29702A482C978BA5D444266DEE" + { + "AssemblyRegister" = "3:1" + "AssemblyIsInGAC" = "11:FALSE" + "AssemblyAsmDisplayName" = "8:System.Threading.Tasks, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL" + "ScatterAssemblies" + { + "_7BA63C29702A482C978BA5D444266DEE" + { + "Name" = "8:System.Threading.Tasks.dll" + "Attributes" = "3:512" + } + } + "SourcePath" = "8:..\\leak_test_project\\bin\\Release\\net9.0-windows\\win-x64\\publish\\System.Threading.Tasks.dll" + "TargetName" = "8:" + "Tag" = "8:" + "Folder" = "8:_62218C84F9DA4935A123ACECCBAC06B0" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:FALSE" + "IsolateTo" = "8:" + } + "{9F6F8455-1EF1-4B85-886A-4223BCC8E7F7}:_7C075794BA3C4A028240B57A3EFB2A90" + { + "AssemblyRegister" = "3:1" + "AssemblyIsInGAC" = "11:FALSE" + "AssemblyAsmDisplayName" = "8:System.ObjectModel, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL" + "ScatterAssemblies" + { + "_7C075794BA3C4A028240B57A3EFB2A90" + { + "Name" = "8:System.ObjectModel.dll" + "Attributes" = "3:512" + } + } + "SourcePath" = "8:..\\leak_test_project\\bin\\Release\\net9.0-windows\\win-x64\\publish\\System.ObjectModel.dll" + "TargetName" = "8:" + "Tag" = "8:" + "Folder" = "8:_62218C84F9DA4935A123ACECCBAC06B0" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:FALSE" + "IsolateTo" = "8:" + } + "{9F6F8455-1EF1-4B85-886A-4223BCC8E7F7}:_7D1AF215AEF542A188BD95BB372EDFBF" + { + "AssemblyRegister" = "3:1" + "AssemblyIsInGAC" = "11:FALSE" + "AssemblyAsmDisplayName" = "8:PresentationFramework.Classic, Version=9.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=AMD64" + "ScatterAssemblies" + { + "_7D1AF215AEF542A188BD95BB372EDFBF" + { + "Name" = "8:PresentationFramework.Classic.dll" + "Attributes" = "3:512" + } + } + "SourcePath" = "8:..\\leak_test_project\\bin\\Release\\net9.0-windows\\win-x64\\publish\\PresentationFramework.Classic.dll" + "TargetName" = "8:" + "Tag" = "8:" + "Folder" = "8:_62218C84F9DA4935A123ACECCBAC06B0" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:FALSE" + "IsolateTo" = "8:" + } + "{9F6F8455-1EF1-4B85-886A-4223BCC8E7F7}:_7D208C9FD90C6A50A40A16AA75D2015F" + { + "AssemblyRegister" = "3:1" + "AssemblyIsInGAC" = "11:FALSE" + "AssemblyAsmDisplayName" = "8:System.Reflection.Metadata, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL" + "ScatterAssemblies" + { + "_7D208C9FD90C6A50A40A16AA75D2015F" + { + "Name" = "8:System.Reflection.Metadata.dll" + "Attributes" = "3:512" + } + } + "SourcePath" = "8:System.Reflection.Metadata.dll" + "TargetName" = "8:" + "Tag" = "8:" + "Folder" = "8:_62218C84F9DA4935A123ACECCBAC06B0" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:TRUE" + "IsolateTo" = "8:" + } + "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_7D9D1E6D84DF41E8BE34F426C2516927" + { + "SourcePath" = "8:..\\leak_test_project\\bin\\Release\\net9.0-windows\\win-x64\\publish\\PenImc_cor3.dll" + "TargetName" = "8:PenImc_cor3.dll" + "Tag" = "8:" + "Folder" = "8:_62218C84F9DA4935A123ACECCBAC06B0" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:FALSE" + "IsolateTo" = "8:" + } + "{9F6F8455-1EF1-4B85-886A-4223BCC8E7F7}:_7E3506CE0595D50BAAC343CAA82DCEF7" + { + "AssemblyRegister" = "3:1" + "AssemblyIsInGAC" = "11:FALSE" + "AssemblyAsmDisplayName" = "8:System.Security.Cryptography.Encoding, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL" + "ScatterAssemblies" + { + "_7E3506CE0595D50BAAC343CAA82DCEF7" + { + "Name" = "8:System.Security.Cryptography.Encoding.dll" + "Attributes" = "3:512" + } + } + "SourcePath" = "8:System.Security.Cryptography.Encoding.dll" + "TargetName" = "8:" + "Tag" = "8:" + "Folder" = "8:_62218C84F9DA4935A123ACECCBAC06B0" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:TRUE" + "IsolateTo" = "8:" + } + "{9F6F8455-1EF1-4B85-886A-4223BCC8E7F7}:_7E9239EF51D949E5944F44165AAE0E45" + { + "AssemblyRegister" = "3:1" + "AssemblyIsInGAC" = "11:FALSE" + "AssemblyAsmDisplayName" = "8:System.Threading.Thread, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL" + "ScatterAssemblies" + { + "_7E9239EF51D949E5944F44165AAE0E45" + { + "Name" = "8:System.Threading.Thread.dll" + "Attributes" = "3:512" + } + } + "SourcePath" = "8:..\\leak_test_project\\bin\\Release\\net9.0-windows\\win-x64\\publish\\System.Threading.Thread.dll" + "TargetName" = "8:" + "Tag" = "8:" + "Folder" = "8:_62218C84F9DA4935A123ACECCBAC06B0" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:FALSE" + "IsolateTo" = "8:" + } + "{9F6F8455-1EF1-4B85-886A-4223BCC8E7F7}:_7F4AD8F309343DD9473528F7E0F2D571" + { + "AssemblyRegister" = "3:1" + "AssemblyIsInGAC" = "11:TRUE" + "AssemblyAsmDisplayName" = "8:System.Xml.Serialization, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089, processorArchitecture=MSIL" + "ScatterAssemblies" + { + "_7F4AD8F309343DD9473528F7E0F2D571" + { + "Name" = "8:System.Xml.Serialization.dll" + "Attributes" = "3:512" + } + } + "SourcePath" = "8:System.Xml.Serialization.dll" + "TargetName" = "8:" + "Tag" = "8:" + "Folder" = "8:_62218C84F9DA4935A123ACECCBAC06B0" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:TRUE" + "IsolateTo" = "8:" + } + "{9F6F8455-1EF1-4B85-886A-4223BCC8E7F7}:_8004588B7E71DBE837B5B7306765A3C3" + { + "AssemblyRegister" = "3:1" + "AssemblyIsInGAC" = "11:FALSE" + "AssemblyAsmDisplayName" = "8:System.ComponentModel.Primitives, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL" + "ScatterAssemblies" + { + "_8004588B7E71DBE837B5B7306765A3C3" + { + "Name" = "8:System.ComponentModel.Primitives.dll" + "Attributes" = "3:512" + } + } + "SourcePath" = "8:System.ComponentModel.Primitives.dll" + "TargetName" = "8:" + "Tag" = "8:" + "Folder" = "8:_62218C84F9DA4935A123ACECCBAC06B0" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:TRUE" + "IsolateTo" = "8:" + } + "{9F6F8455-1EF1-4B85-886A-4223BCC8E7F7}:_80700DA2DA0B4A82B43212E33F09A43C" + { + "AssemblyRegister" = "3:1" + "AssemblyIsInGAC" = "11:FALSE" + "AssemblyAsmDisplayName" = "8:System.Formats.Tar, Version=9.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51, processorArchitecture=MSIL" + "ScatterAssemblies" + { + "_80700DA2DA0B4A82B43212E33F09A43C" + { + "Name" = "8:System.Formats.Tar.dll" + "Attributes" = "3:512" + } + } + "SourcePath" = "8:..\\leak_test_project\\bin\\Release\\net9.0-windows\\win-x64\\publish\\System.Formats.Tar.dll" + "TargetName" = "8:" + "Tag" = "8:" + "Folder" = "8:_62218C84F9DA4935A123ACECCBAC06B0" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:FALSE" + "IsolateTo" = "8:" + } + "{9F6F8455-1EF1-4B85-886A-4223BCC8E7F7}:_81D1257A11DB455A804673C7A68DAD93" + { + "AssemblyRegister" = "3:1" + "AssemblyIsInGAC" = "11:FALSE" + "AssemblyAsmDisplayName" = "8:System.Security.Cryptography.OpenSsl, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL" + "ScatterAssemblies" + { + "_81D1257A11DB455A804673C7A68DAD93" + { + "Name" = "8:System.Security.Cryptography.OpenSsl.dll" + "Attributes" = "3:512" + } + } + "SourcePath" = "8:..\\leak_test_project\\bin\\Release\\net9.0-windows\\win-x64\\publish\\System.Security.Cryptography.OpenSsl.dll" + "TargetName" = "8:" + "Tag" = "8:" + "Folder" = "8:_62218C84F9DA4935A123ACECCBAC06B0" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:FALSE" + "IsolateTo" = "8:" + } + "{9F6F8455-1EF1-4B85-886A-4223BCC8E7F7}:_824E8CAAE690BB32A75A0C6016526D7E" + { + "AssemblyRegister" = "3:1" + "AssemblyIsInGAC" = "11:FALSE" + "AssemblyAsmDisplayName" = "8:System.Diagnostics.Debug, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL" + "ScatterAssemblies" + { + "_824E8CAAE690BB32A75A0C6016526D7E" + { + "Name" = "8:System.Diagnostics.Debug.dll" + "Attributes" = "3:512" + } + } + "SourcePath" = "8:System.Diagnostics.Debug.dll" + "TargetName" = "8:" + "Tag" = "8:" + "Folder" = "8:_62218C84F9DA4935A123ACECCBAC06B0" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:TRUE" + "IsolateTo" = "8:" + } + "{9F6F8455-1EF1-4B85-886A-4223BCC8E7F7}:_82C511A0589641DFA0DBE670DBE561CD" + { + "AssemblyRegister" = "3:1" + "AssemblyIsInGAC" = "11:FALSE" + "AssemblyAsmDisplayName" = "8:System.Collections.Immutable, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL" + "ScatterAssemblies" + { + "_82C511A0589641DFA0DBE670DBE561CD" + { + "Name" = "8:System.Collections.Immutable.dll" + "Attributes" = "3:512" + } + } + "SourcePath" = "8:..\\leak_test_project\\bin\\Release\\net9.0-windows\\win-x64\\publish\\System.Collections.Immutable.dll" + "TargetName" = "8:" + "Tag" = "8:" + "Folder" = "8:_62218C84F9DA4935A123ACECCBAC06B0" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:FALSE" + "IsolateTo" = "8:" + } + "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_82FA387612AA4DD2BF78046CB222C5E8" + { + "SourcePath" = "8:..\\leak_test_project\\bin\\Release\\net9.0-windows\\win-x64\\publish\\mscordaccore_amd64_amd64_9.0.1726.26416.dll" + "TargetName" = "8:mscordaccore_amd64_amd64_9.0.1726.26416.dll" + "Tag" = "8:" + "Folder" = "8:_62218C84F9DA4935A123ACECCBAC06B0" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:FALSE" + "IsolateTo" = "8:" + } + "{9F6F8455-1EF1-4B85-886A-4223BCC8E7F7}:_83D0368A2D0549D593F1556F99EBDAE2" + { + "AssemblyRegister" = "3:1" + "AssemblyIsInGAC" = "11:FALSE" + "AssemblyAsmDisplayName" = "8:System.Diagnostics.Contracts, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL" + "ScatterAssemblies" + { + "_83D0368A2D0549D593F1556F99EBDAE2" + { + "Name" = "8:System.Diagnostics.Contracts.dll" + "Attributes" = "3:512" + } + } + "SourcePath" = "8:..\\leak_test_project\\bin\\Release\\net9.0-windows\\win-x64\\publish\\System.Diagnostics.Contracts.dll" + "TargetName" = "8:" + "Tag" = "8:" + "Folder" = "8:_62218C84F9DA4935A123ACECCBAC06B0" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:FALSE" + "IsolateTo" = "8:" + } + "{9F6F8455-1EF1-4B85-886A-4223BCC8E7F7}:_8438E7C8CC49448093B99673A2CC034F" + { + "AssemblyRegister" = "3:1" + "AssemblyIsInGAC" = "11:FALSE" + "AssemblyAsmDisplayName" = "8:System.Diagnostics.DiagnosticSource, Version=9.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51, processorArchitecture=MSIL" + "ScatterAssemblies" + { + "_8438E7C8CC49448093B99673A2CC034F" + { + "Name" = "8:System.Diagnostics.DiagnosticSource.dll" + "Attributes" = "3:512" + } + } + "SourcePath" = "8:..\\leak_test_project\\bin\\Release\\net9.0-windows\\win-x64\\publish\\System.Diagnostics.DiagnosticSource.dll" + "TargetName" = "8:" + "Tag" = "8:" + "Folder" = "8:_62218C84F9DA4935A123ACECCBAC06B0" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:FALSE" + "IsolateTo" = "8:" + } + "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_849FCF3844E04A289F6A07A5069DD878" + { + "SourcePath" = "8:..\\leak_test_project\\bin\\Release\\net9.0-windows\\win-x64\\publish\\D3DCompiler_47_cor3.dll" + "TargetName" = "8:D3DCompiler_47_cor3.dll" + "Tag" = "8:" + "Folder" = "8:_62218C84F9DA4935A123ACECCBAC06B0" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:FALSE" + "IsolateTo" = "8:" + } + "{9F6F8455-1EF1-4B85-886A-4223BCC8E7F7}:_84AAC1ACC0F64471AD96E00B04F96574" + { + "AssemblyRegister" = "3:1" + "AssemblyIsInGAC" = "11:FALSE" + "AssemblyAsmDisplayName" = "8:System.Private.DataContractSerialization, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL" + "ScatterAssemblies" + { + "_84AAC1ACC0F64471AD96E00B04F96574" + { + "Name" = "8:System.Private.DataContractSerialization.dll" + "Attributes" = "3:512" + } + } + "SourcePath" = "8:..\\leak_test_project\\bin\\Release\\net9.0-windows\\win-x64\\publish\\System.Private.DataContractSerialization.dll" + "TargetName" = "8:" + "Tag" = "8:" + "Folder" = "8:_62218C84F9DA4935A123ACECCBAC06B0" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:FALSE" + "IsolateTo" = "8:" + } + "{9F6F8455-1EF1-4B85-886A-4223BCC8E7F7}:_855A18FDDEE1520099CD0634D9DC3F40" + { + "AssemblyRegister" = "3:1" + "AssemblyIsInGAC" = "11:FALSE" + "AssemblyAsmDisplayName" = "8:System.Security.Cryptography.OpenSsl, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL" + "ScatterAssemblies" + { + "_855A18FDDEE1520099CD0634D9DC3F40" + { + "Name" = "8:System.Security.Cryptography.OpenSsl.dll" + "Attributes" = "3:512" + } + } + "SourcePath" = "8:System.Security.Cryptography.OpenSsl.dll" + "TargetName" = "8:" + "Tag" = "8:" + "Folder" = "8:_62218C84F9DA4935A123ACECCBAC06B0" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:TRUE" + "IsolateTo" = "8:" + } + "{9F6F8455-1EF1-4B85-886A-4223BCC8E7F7}:_861BF08C049E467EAD2DB44D558FDB20" + { + "AssemblyRegister" = "3:1" + "AssemblyIsInGAC" = "11:FALSE" + "AssemblyAsmDisplayName" = "8:System.Xml.Linq, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089, processorArchitecture=MSIL" + "ScatterAssemblies" + { + "_861BF08C049E467EAD2DB44D558FDB20" + { + "Name" = "8:System.Xml.Linq.dll" + "Attributes" = "3:512" + } + } + "SourcePath" = "8:..\\leak_test_project\\bin\\Release\\net9.0-windows\\win-x64\\publish\\System.Xml.Linq.dll" + "TargetName" = "8:" + "Tag" = "8:" + "Folder" = "8:_62218C84F9DA4935A123ACECCBAC06B0" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:FALSE" + "IsolateTo" = "8:" + } + "{9F6F8455-1EF1-4B85-886A-4223BCC8E7F7}:_86659D1DE4D241E595AD02D88D98BA68" + { + "AssemblyRegister" = "3:1" + "AssemblyIsInGAC" = "11:FALSE" + "AssemblyAsmDisplayName" = "8:System.ComponentModel.EventBasedAsync, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL" + "ScatterAssemblies" + { + "_86659D1DE4D241E595AD02D88D98BA68" + { + "Name" = "8:System.ComponentModel.EventBasedAsync.dll" + "Attributes" = "3:512" + } + } + "SourcePath" = "8:..\\leak_test_project\\bin\\Release\\net9.0-windows\\win-x64\\publish\\System.ComponentModel.EventBasedAsync.dll" + "TargetName" = "8:" + "Tag" = "8:" + "Folder" = "8:_62218C84F9DA4935A123ACECCBAC06B0" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:FALSE" + "IsolateTo" = "8:" + } + "{9F6F8455-1EF1-4B85-886A-4223BCC8E7F7}:_877F8E228B373AE9A768021365913EF9" + { + "AssemblyRegister" = "3:1" + "AssemblyIsInGAC" = "11:FALSE" + "AssemblyAsmDisplayName" = "8:System.Reflection.Extensions, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL" + "ScatterAssemblies" + { + "_877F8E228B373AE9A768021365913EF9" + { + "Name" = "8:System.Reflection.Extensions.dll" + "Attributes" = "3:512" + } + } + "SourcePath" = "8:System.Reflection.Extensions.dll" + "TargetName" = "8:" + "Tag" = "8:" + "Folder" = "8:_62218C84F9DA4935A123ACECCBAC06B0" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:TRUE" + "IsolateTo" = "8:" + } + "{9F6F8455-1EF1-4B85-886A-4223BCC8E7F7}:_87D96055A65C8E9143A977AA771F19A4" + { + "AssemblyRegister" = "3:1" + "AssemblyIsInGAC" = "11:FALSE" + "AssemblyAsmDisplayName" = "8:Microsoft.Win32.Registry, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL" + "ScatterAssemblies" + { + "_87D96055A65C8E9143A977AA771F19A4" + { + "Name" = "8:Microsoft.Win32.Registry.dll" + "Attributes" = "3:512" + } + } + "SourcePath" = "8:Microsoft.Win32.Registry.dll" + "TargetName" = "8:" + "Tag" = "8:" + "Folder" = "8:_62218C84F9DA4935A123ACECCBAC06B0" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:TRUE" + "IsolateTo" = "8:" + } + "{9F6F8455-1EF1-4B85-886A-4223BCC8E7F7}:_885ACF4CE5ED65B8AE95F2B566DB5068" + { + "AssemblyRegister" = "3:1" + "AssemblyIsInGAC" = "11:FALSE" + "AssemblyAsmDisplayName" = "8:Microsoft.Win32.Primitives, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL" + "ScatterAssemblies" + { + "_885ACF4CE5ED65B8AE95F2B566DB5068" + { + "Name" = "8:Microsoft.Win32.Primitives.dll" + "Attributes" = "3:512" + } + } + "SourcePath" = "8:Microsoft.Win32.Primitives.dll" + "TargetName" = "8:" + "Tag" = "8:" + "Folder" = "8:_62218C84F9DA4935A123ACECCBAC06B0" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:TRUE" + "IsolateTo" = "8:" + } + "{9F6F8455-1EF1-4B85-886A-4223BCC8E7F7}:_88663C8E7B3E467F8E97C0F8F32DA077" + { + "AssemblyRegister" = "3:1" + "AssemblyIsInGAC" = "11:FALSE" + "AssemblyAsmDisplayName" = "8:System.Private.Uri, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL" + "ScatterAssemblies" + { + "_88663C8E7B3E467F8E97C0F8F32DA077" + { + "Name" = "8:System.Private.Uri.dll" + "Attributes" = "3:512" + } + } + "SourcePath" = "8:..\\leak_test_project\\bin\\Release\\net9.0-windows\\win-x64\\publish\\System.Private.Uri.dll" + "TargetName" = "8:" + "Tag" = "8:" + "Folder" = "8:_62218C84F9DA4935A123ACECCBAC06B0" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:FALSE" + "IsolateTo" = "8:" + } + "{9F6F8455-1EF1-4B85-886A-4223BCC8E7F7}:_8A40B1029BB841ED88E1DEEF003820D3" + { + "AssemblyRegister" = "3:1" + "AssemblyIsInGAC" = "11:FALSE" + "AssemblyAsmDisplayName" = "8:System.ComponentModel.Annotations, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL" + "ScatterAssemblies" + { + "_8A40B1029BB841ED88E1DEEF003820D3" + { + "Name" = "8:System.ComponentModel.Annotations.dll" + "Attributes" = "3:512" + } + } + "SourcePath" = "8:..\\leak_test_project\\bin\\Release\\net9.0-windows\\win-x64\\publish\\System.ComponentModel.Annotations.dll" + "TargetName" = "8:" + "Tag" = "8:" + "Folder" = "8:_62218C84F9DA4935A123ACECCBAC06B0" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:FALSE" + "IsolateTo" = "8:" + } + "{9F6F8455-1EF1-4B85-886A-4223BCC8E7F7}:_8B53F9CC53E544008D7A343B8E9AEA3B" + { + "AssemblyRegister" = "3:1" + "AssemblyIsInGAC" = "11:FALSE" + "AssemblyAsmDisplayName" = "8:System.Reflection.DispatchProxy, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL" + "ScatterAssemblies" + { + "_8B53F9CC53E544008D7A343B8E9AEA3B" + { + "Name" = "8:System.Reflection.DispatchProxy.dll" + "Attributes" = "3:512" + } + } + "SourcePath" = "8:..\\leak_test_project\\bin\\Release\\net9.0-windows\\win-x64\\publish\\System.Reflection.DispatchProxy.dll" + "TargetName" = "8:" + "Tag" = "8:" + "Folder" = "8:_62218C84F9DA4935A123ACECCBAC06B0" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:FALSE" + "IsolateTo" = "8:" + } + "{9F6F8455-1EF1-4B85-886A-4223BCC8E7F7}:_8B93391D7EF04137AE1DBED5BC2B0A4B" + { + "AssemblyRegister" = "3:1" + "AssemblyIsInGAC" = "11:FALSE" + "AssemblyAsmDisplayName" = "8:System.Security.Cryptography.Primitives, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL" + "ScatterAssemblies" + { + "_8B93391D7EF04137AE1DBED5BC2B0A4B" + { + "Name" = "8:System.Security.Cryptography.Primitives.dll" + "Attributes" = "3:512" + } + } + "SourcePath" = "8:..\\leak_test_project\\bin\\Release\\net9.0-windows\\win-x64\\publish\\System.Security.Cryptography.Primitives.dll" + "TargetName" = "8:" + "Tag" = "8:" + "Folder" = "8:_62218C84F9DA4935A123ACECCBAC06B0" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:FALSE" + "IsolateTo" = "8:" + } + "{9F6F8455-1EF1-4B85-886A-4223BCC8E7F7}:_8B9F83F5F57F4B7189E116FB04260682" + { + "AssemblyRegister" = "3:1" + "AssemblyIsInGAC" = "11:FALSE" + "AssemblyAsmDisplayName" = "8:System.Linq.Expressions, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL" + "ScatterAssemblies" + { + "_8B9F83F5F57F4B7189E116FB04260682" + { + "Name" = "8:System.Linq.Expressions.dll" + "Attributes" = "3:512" + } + } + "SourcePath" = "8:System.Linq.Expressions.dll" + "TargetName" = "8:" + "Tag" = "8:" + "Folder" = "8:_62218C84F9DA4935A123ACECCBAC06B0" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:TRUE" + "IsolateTo" = "8:" + } + "{9F6F8455-1EF1-4B85-886A-4223BCC8E7F7}:_8BF63CB8BADA5718336FE254291A8F66" + { + "AssemblyRegister" = "3:1" + "AssemblyIsInGAC" = "11:TRUE" + "AssemblyAsmDisplayName" = "8:netstandard, Version=2.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51, processorArchitecture=MSIL" + "ScatterAssemblies" + { + "_8BF63CB8BADA5718336FE254291A8F66" + { + "Name" = "8:netstandard.dll" + "Attributes" = "3:512" + } + } + "SourcePath" = "8:netstandard.dll" + "TargetName" = "8:" + "Tag" = "8:" + "Folder" = "8:_62218C84F9DA4935A123ACECCBAC06B0" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:TRUE" + "IsolateTo" = "8:" + } + "{9F6F8455-1EF1-4B85-886A-4223BCC8E7F7}:_8C0A8BA04215433A1B10CC5A37BD3134" + { + "AssemblyRegister" = "3:1" + "AssemblyIsInGAC" = "11:FALSE" + "AssemblyAsmDisplayName" = "8:System.Net.Quic, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL" + "ScatterAssemblies" + { + "_8C0A8BA04215433A1B10CC5A37BD3134" + { + "Name" = "8:System.Net.Quic.dll" + "Attributes" = "3:512" + } + } + "SourcePath" = "8:System.Net.Quic.dll" + "TargetName" = "8:" + "Tag" = "8:" + "Folder" = "8:_62218C84F9DA4935A123ACECCBAC06B0" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:TRUE" + "IsolateTo" = "8:" + } + "{9F6F8455-1EF1-4B85-886A-4223BCC8E7F7}:_8D7F4A72EC0092EE270B9C43BD633589" + { + "AssemblyRegister" = "3:1" + "AssemblyIsInGAC" = "11:FALSE" + "AssemblyAsmDisplayName" = "8:System.Diagnostics.FileVersionInfo, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL" + "ScatterAssemblies" + { + "_8D7F4A72EC0092EE270B9C43BD633589" + { + "Name" = "8:System.Diagnostics.FileVersionInfo.dll" + "Attributes" = "3:512" + } + } + "SourcePath" = "8:System.Diagnostics.FileVersionInfo.dll" + "TargetName" = "8:" + "Tag" = "8:" + "Folder" = "8:_62218C84F9DA4935A123ACECCBAC06B0" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:TRUE" + "IsolateTo" = "8:" + } + "{9F6F8455-1EF1-4B85-886A-4223BCC8E7F7}:_8D9B92E094235D3CA8C0E0C80887BD9C" + { + "AssemblyRegister" = "3:1" + "AssemblyIsInGAC" = "11:FALSE" + "AssemblyAsmDisplayName" = "8:System.Text.RegularExpressions, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL" + "ScatterAssemblies" + { + "_8D9B92E094235D3CA8C0E0C80887BD9C" + { + "Name" = "8:System.Text.RegularExpressions.dll" + "Attributes" = "3:512" + } + } + "SourcePath" = "8:System.Text.RegularExpressions.dll" + "TargetName" = "8:" + "Tag" = "8:" + "Folder" = "8:_62218C84F9DA4935A123ACECCBAC06B0" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:TRUE" + "IsolateTo" = "8:" + } + "{9F6F8455-1EF1-4B85-886A-4223BCC8E7F7}:_8D9FCB9FA60F870A524D42753F90C828" + { + "AssemblyRegister" = "3:1" + "AssemblyIsInGAC" = "11:TRUE" + "AssemblyAsmDisplayName" = "8:System.Threading.Overlapped, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL" + "ScatterAssemblies" + { + "_8D9FCB9FA60F870A524D42753F90C828" + { + "Name" = "8:System.Threading.Overlapped.dll" + "Attributes" = "3:512" + } + } + "SourcePath" = "8:System.Threading.Overlapped.dll" + "TargetName" = "8:" + "Tag" = "8:" + "Folder" = "8:_62218C84F9DA4935A123ACECCBAC06B0" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:TRUE" + "IsolateTo" = "8:" + } + "{9F6F8455-1EF1-4B85-886A-4223BCC8E7F7}:_8DF56435F0284783983A1229FCF82C23" + { + "AssemblyRegister" = "3:1" + "AssemblyIsInGAC" = "11:FALSE" + "AssemblyAsmDisplayName" = "8:System.ComponentModel.Primitives, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL" + "ScatterAssemblies" + { + "_8DF56435F0284783983A1229FCF82C23" + { + "Name" = "8:System.ComponentModel.Primitives.dll" + "Attributes" = "3:512" + } + } + "SourcePath" = "8:..\\leak_test_project\\bin\\Release\\net9.0-windows\\win-x64\\publish\\System.ComponentModel.Primitives.dll" + "TargetName" = "8:" + "Tag" = "8:" + "Folder" = "8:_62218C84F9DA4935A123ACECCBAC06B0" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:FALSE" + "IsolateTo" = "8:" + } + "{9F6F8455-1EF1-4B85-886A-4223BCC8E7F7}:_8F12DF81160740F9BF26B5BE41F51906" + { + "AssemblyRegister" = "3:1" + "AssemblyIsInGAC" = "11:FALSE" + "AssemblyAsmDisplayName" = "8:System.ServiceProcess, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL" + "ScatterAssemblies" + { + "_8F12DF81160740F9BF26B5BE41F51906" + { + "Name" = "8:System.ServiceProcess.dll" + "Attributes" = "3:512" + } + } + "SourcePath" = "8:..\\leak_test_project\\bin\\Release\\net9.0-windows\\win-x64\\publish\\System.ServiceProcess.dll" + "TargetName" = "8:" + "Tag" = "8:" + "Folder" = "8:_62218C84F9DA4935A123ACECCBAC06B0" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:FALSE" + "IsolateTo" = "8:" + } + "{9F6F8455-1EF1-4B85-886A-4223BCC8E7F7}:_8F17B8B6D62148AFA68AC45AD81B10DE" + { + "AssemblyRegister" = "3:1" + "AssemblyIsInGAC" = "11:FALSE" + "AssemblyAsmDisplayName" = "8:System.Net, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL" + "ScatterAssemblies" + { + "_8F17B8B6D62148AFA68AC45AD81B10DE" + { + "Name" = "8:System.Net.dll" + "Attributes" = "3:512" + } + } + "SourcePath" = "8:..\\leak_test_project\\bin\\Release\\net9.0-windows\\win-x64\\publish\\System.Net.dll" + "TargetName" = "8:" + "Tag" = "8:" + "Folder" = "8:_62218C84F9DA4935A123ACECCBAC06B0" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:FALSE" + "IsolateTo" = "8:" + } + "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_8FC8C4E8F4E64706895EA9F0277967A6" + { + "SourcePath" = "8:..\\leak_test_project\\bin\\Release\\net9.0-windows\\win-x64\\publish\\hostpolicy.dll" + "TargetName" = "8:hostpolicy.dll" + "Tag" = "8:" + "Folder" = "8:_62218C84F9DA4935A123ACECCBAC06B0" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:FALSE" + "IsolateTo" = "8:" + } + "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_907CA1B8DD234537BBB7046C28F63076" + { + "SourcePath" = "8:..\\leak_test_project\\bin\\Release\\net9.0-windows\\win-x64\\publish\\vcruntime140_cor3.dll" + "TargetName" = "8:vcruntime140_cor3.dll" + "Tag" = "8:" + "Folder" = "8:_62218C84F9DA4935A123ACECCBAC06B0" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:FALSE" + "IsolateTo" = "8:" + } + "{9F6F8455-1EF1-4B85-886A-4223BCC8E7F7}:_91665BA2BBE34BA3BD4C19D5E2C3D489" + { + "AssemblyRegister" = "3:1" + "AssemblyIsInGAC" = "11:FALSE" + "AssemblyAsmDisplayName" = "8:System.Collections.Specialized, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL" + "ScatterAssemblies" + { + "_91665BA2BBE34BA3BD4C19D5E2C3D489" + { + "Name" = "8:System.Collections.Specialized.dll" + "Attributes" = "3:512" + } + } + "SourcePath" = "8:..\\leak_test_project\\bin\\Release\\net9.0-windows\\win-x64\\publish\\System.Collections.Specialized.dll" + "TargetName" = "8:" + "Tag" = "8:" + "Folder" = "8:_62218C84F9DA4935A123ACECCBAC06B0" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:FALSE" + "IsolateTo" = "8:" + } + "{9F6F8455-1EF1-4B85-886A-4223BCC8E7F7}:_93CE5D9EAEFF4448ADF4B8776D5DFD70" + { + "AssemblyRegister" = "3:1" + "AssemblyIsInGAC" = "11:FALSE" + "AssemblyAsmDisplayName" = "8:System.CodeDom, Version=9.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51, processorArchitecture=MSIL" + "ScatterAssemblies" + { + "_93CE5D9EAEFF4448ADF4B8776D5DFD70" + { + "Name" = "8:System.CodeDom.dll" + "Attributes" = "3:512" + } + } + "SourcePath" = "8:..\\leak_test_project\\bin\\Release\\net9.0-windows\\win-x64\\publish\\System.CodeDom.dll" + "TargetName" = "8:" + "Tag" = "8:" + "Folder" = "8:_62218C84F9DA4935A123ACECCBAC06B0" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:FALSE" + "IsolateTo" = "8:" + } + "{9F6F8455-1EF1-4B85-886A-4223BCC8E7F7}:_946229117826D3A0D4BEAF474DC0D7D3" + { + "AssemblyRegister" = "3:1" + "AssemblyIsInGAC" = "11:FALSE" + "AssemblyAsmDisplayName" = "8:System.Xml.XPath, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL" + "ScatterAssemblies" + { + "_946229117826D3A0D4BEAF474DC0D7D3" + { + "Name" = "8:System.Xml.XPath.dll" + "Attributes" = "3:512" + } + } + "SourcePath" = "8:System.Xml.XPath.dll" + "TargetName" = "8:" + "Tag" = "8:" + "Folder" = "8:_62218C84F9DA4935A123ACECCBAC06B0" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:TRUE" + "IsolateTo" = "8:" + } + "{9F6F8455-1EF1-4B85-886A-4223BCC8E7F7}:_94C9DE074F8C4B2D8EB109CFFB219D60" + { + "AssemblyRegister" = "3:1" + "AssemblyIsInGAC" = "11:FALSE" + "AssemblyAsmDisplayName" = "8:System.Data.DataSetExtensions, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089, processorArchitecture=MSIL" + "ScatterAssemblies" + { + "_94C9DE074F8C4B2D8EB109CFFB219D60" + { + "Name" = "8:System.Data.DataSetExtensions.dll" + "Attributes" = "3:512" + } + } + "SourcePath" = "8:..\\leak_test_project\\bin\\Release\\net9.0-windows\\win-x64\\publish\\System.Data.DataSetExtensions.dll" + "TargetName" = "8:" + "Tag" = "8:" + "Folder" = "8:_62218C84F9DA4935A123ACECCBAC06B0" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:FALSE" + "IsolateTo" = "8:" + } + "{9F6F8455-1EF1-4B85-886A-4223BCC8E7F7}:_94F347547CB6AB524CDD9532C9708415" + { + "AssemblyRegister" = "3:1" + "AssemblyIsInGAC" = "11:FALSE" + "AssemblyAsmDisplayName" = "8:System.Formats.Asn1, Version=9.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51, processorArchitecture=MSIL" + "ScatterAssemblies" + { + "_94F347547CB6AB524CDD9532C9708415" + { + "Name" = "8:System.Formats.Asn1.dll" + "Attributes" = "3:512" + } + } + "SourcePath" = "8:System.Formats.Asn1.dll" + "TargetName" = "8:" + "Tag" = "8:" + "Folder" = "8:_62218C84F9DA4935A123ACECCBAC06B0" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:TRUE" + "IsolateTo" = "8:" + } + "{9F6F8455-1EF1-4B85-886A-4223BCC8E7F7}:_95B62EB18B59449F80C102E0FA4D469D" + { + "AssemblyRegister" = "3:1" + "AssemblyIsInGAC" = "11:FALSE" + "AssemblyAsmDisplayName" = "8:System.Reflection.Metadata, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL" + "ScatterAssemblies" + { + "_95B62EB18B59449F80C102E0FA4D469D" + { + "Name" = "8:System.Reflection.Metadata.dll" + "Attributes" = "3:512" + } + } + "SourcePath" = "8:..\\leak_test_project\\bin\\Release\\net9.0-windows\\win-x64\\publish\\System.Reflection.Metadata.dll" + "TargetName" = "8:" + "Tag" = "8:" + "Folder" = "8:_62218C84F9DA4935A123ACECCBAC06B0" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:FALSE" + "IsolateTo" = "8:" + } + "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_978010B87A9E45ECB168866B128F1028" + { + "SourcePath" = "8:..\\leak_test_project\\bin\\Release\\net9.0-windows\\win-x64\\publish\\leak_test_project.pdb" + "TargetName" = "8:leak_test_project.pdb" + "Tag" = "8:" + "Folder" = "8:_62218C84F9DA4935A123ACECCBAC06B0" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:FALSE" + "IsolateTo" = "8:" + } + "{9F6F8455-1EF1-4B85-886A-4223BCC8E7F7}:_988131D9767B45E3890F16AE95D5612F" + { + "AssemblyRegister" = "3:1" + "AssemblyIsInGAC" = "11:FALSE" + "AssemblyAsmDisplayName" = "8:System.Globalization.Extensions, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL" + "ScatterAssemblies" + { + "_988131D9767B45E3890F16AE95D5612F" + { + "Name" = "8:System.Globalization.Extensions.dll" + "Attributes" = "3:512" + } + } + "SourcePath" = "8:..\\leak_test_project\\bin\\Release\\net9.0-windows\\win-x64\\publish\\System.Globalization.Extensions.dll" + "TargetName" = "8:" + "Tag" = "8:" + "Folder" = "8:_62218C84F9DA4935A123ACECCBAC06B0" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:FALSE" + "IsolateTo" = "8:" + } + "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_9A26CFB8C8D14C38AB95FB9F6FA1EA8D" + { + "SourcePath" = "8:..\\leak_test_project\\bin\\Release\\net9.0-windows\\win-x64\\publish\\Database.ini" + "TargetName" = "8:Database.ini" + "Tag" = "8:" + "Folder" = "8:_62218C84F9DA4935A123ACECCBAC06B0" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:FALSE" + "IsolateTo" = "8:" + } + "{9F6F8455-1EF1-4B85-886A-4223BCC8E7F7}:_9A2C2F7D756BABCC50826F5CB4DB88CD" + { + "AssemblyRegister" = "3:1" + "AssemblyIsInGAC" = "11:TRUE" + "AssemblyAsmDisplayName" = "8:System.Security.Cryptography.Algorithms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL" + "ScatterAssemblies" + { + "_9A2C2F7D756BABCC50826F5CB4DB88CD" + { + "Name" = "8:System.Security.Cryptography.Algorithms.dll" + "Attributes" = "3:512" + } + } + "SourcePath" = "8:System.Security.Cryptography.Algorithms.dll" + "TargetName" = "8:" + "Tag" = "8:" + "Folder" = "8:_62218C84F9DA4935A123ACECCBAC06B0" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:TRUE" + "IsolateTo" = "8:" + } + "{9F6F8455-1EF1-4B85-886A-4223BCC8E7F7}:_9A56688DC4D7494CBD7F5A9327D1F188" + { + "AssemblyRegister" = "3:1" + "AssemblyIsInGAC" = "11:FALSE" + "AssemblyAsmDisplayName" = "8:System.Diagnostics.Process, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL" + "ScatterAssemblies" + { + "_9A56688DC4D7494CBD7F5A9327D1F188" + { + "Name" = "8:System.Diagnostics.Process.dll" + "Attributes" = "3:512" + } + } + "SourcePath" = "8:..\\leak_test_project\\bin\\Release\\net9.0-windows\\win-x64\\publish\\System.Diagnostics.Process.dll" + "TargetName" = "8:" + "Tag" = "8:" + "Folder" = "8:_62218C84F9DA4935A123ACECCBAC06B0" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:FALSE" + "IsolateTo" = "8:" + } + "{9F6F8455-1EF1-4B85-886A-4223BCC8E7F7}:_9A7A899F87AF46329014F26B2F1768AC" + { + "AssemblyRegister" = "3:1" + "AssemblyIsInGAC" = "11:FALSE" + "AssemblyAsmDisplayName" = "8:System.Text.Encoding, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL" + "ScatterAssemblies" + { + "_9A7A899F87AF46329014F26B2F1768AC" + { + "Name" = "8:System.Text.Encoding.dll" + "Attributes" = "3:512" + } + } + "SourcePath" = "8:..\\leak_test_project\\bin\\Release\\net9.0-windows\\win-x64\\publish\\System.Text.Encoding.dll" + "TargetName" = "8:" + "Tag" = "8:" + "Folder" = "8:_62218C84F9DA4935A123ACECCBAC06B0" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:FALSE" + "IsolateTo" = "8:" + } + "{9F6F8455-1EF1-4B85-886A-4223BCC8E7F7}:_9ACDBEABECC7440F13251DB88B9C7DD6" + { + "AssemblyRegister" = "3:1" + "AssemblyIsInGAC" = "11:FALSE" + "AssemblyAsmDisplayName" = "8:System.Diagnostics.DiagnosticSource, Version=9.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51, processorArchitecture=MSIL" + "ScatterAssemblies" + { + "_9ACDBEABECC7440F13251DB88B9C7DD6" + { + "Name" = "8:System.Diagnostics.DiagnosticSource.dll" + "Attributes" = "3:512" + } + } + "SourcePath" = "8:System.Diagnostics.DiagnosticSource.dll" + "TargetName" = "8:" + "Tag" = "8:" + "Folder" = "8:_62218C84F9DA4935A123ACECCBAC06B0" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:TRUE" + "IsolateTo" = "8:" + } + "{9F6F8455-1EF1-4B85-886A-4223BCC8E7F7}:_9AEFF85A1F0544D48C72F1BBB0330C90" + { + "AssemblyRegister" = "3:1" + "AssemblyIsInGAC" = "11:FALSE" + "AssemblyAsmDisplayName" = "8:PresentationCore, Version=9.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=AMD64" + "ScatterAssemblies" + { + "_9AEFF85A1F0544D48C72F1BBB0330C90" + { + "Name" = "8:PresentationCore.dll" + "Attributes" = "3:512" + } + } + "SourcePath" = "8:..\\leak_test_project\\bin\\Release\\net9.0-windows\\win-x64\\publish\\PresentationCore.dll" + "TargetName" = "8:" + "Tag" = "8:" + "Folder" = "8:_62218C84F9DA4935A123ACECCBAC06B0" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:FALSE" + "IsolateTo" = "8:" + } + "{9F6F8455-1EF1-4B85-886A-4223BCC8E7F7}:_9BA26D5888BF43C992BD492156585269" + { + "AssemblyRegister" = "3:1" + "AssemblyIsInGAC" = "11:FALSE" + "AssemblyAsmDisplayName" = "8:System.Xml.XPath.XDocument, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL" + "ScatterAssemblies" + { + "_9BA26D5888BF43C992BD492156585269" + { + "Name" = "8:System.Xml.XPath.XDocument.dll" + "Attributes" = "3:512" + } + } + "SourcePath" = "8:..\\leak_test_project\\bin\\Release\\net9.0-windows\\win-x64\\publish\\System.Xml.XPath.XDocument.dll" + "TargetName" = "8:" + "Tag" = "8:" + "Folder" = "8:_62218C84F9DA4935A123ACECCBAC06B0" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:FALSE" + "IsolateTo" = "8:" + } + "{9F6F8455-1EF1-4B85-886A-4223BCC8E7F7}:_9C3FE60D2CB641EB8C20EB0A946F9793" + { + "AssemblyRegister" = "3:1" + "AssemblyIsInGAC" = "11:FALSE" + "AssemblyAsmDisplayName" = "8:System.Printing, Version=9.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=AMD64" + "ScatterAssemblies" + { + "_9C3FE60D2CB641EB8C20EB0A946F9793" + { + "Name" = "8:System.Printing.dll" + "Attributes" = "3:512" + } + } + "SourcePath" = "8:..\\leak_test_project\\bin\\Release\\net9.0-windows\\win-x64\\publish\\System.Printing.dll" + "TargetName" = "8:" + "Tag" = "8:" + "Folder" = "8:_62218C84F9DA4935A123ACECCBAC06B0" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:FALSE" + "IsolateTo" = "8:" + } + "{9F6F8455-1EF1-4B85-886A-4223BCC8E7F7}:_9C6B1512878A30BB57B7470F506D4392" + { + "AssemblyRegister" = "3:1" + "AssemblyIsInGAC" = "11:FALSE" + "AssemblyAsmDisplayName" = "8:System.IO.Compression.Brotli, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089, processorArchitecture=MSIL" + "ScatterAssemblies" + { + "_9C6B1512878A30BB57B7470F506D4392" + { + "Name" = "8:System.IO.Compression.Brotli.dll" + "Attributes" = "3:512" + } + } + "SourcePath" = "8:System.IO.Compression.Brotli.dll" + "TargetName" = "8:" + "Tag" = "8:" + "Folder" = "8:_62218C84F9DA4935A123ACECCBAC06B0" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:TRUE" + "IsolateTo" = "8:" + } + "{9F6F8455-1EF1-4B85-886A-4223BCC8E7F7}:_9C8EAF542A2E4051BF5D305518778AE7" + { + "AssemblyRegister" = "3:1" + "AssemblyIsInGAC" = "11:FALSE" + "AssemblyAsmDisplayName" = "8:System.Windows, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL" + "ScatterAssemblies" + { + "_9C8EAF542A2E4051BF5D305518778AE7" + { + "Name" = "8:System.Windows.dll" + "Attributes" = "3:512" + } + } + "SourcePath" = "8:..\\leak_test_project\\bin\\Release\\net9.0-windows\\win-x64\\publish\\System.Windows.dll" + "TargetName" = "8:" + "Tag" = "8:" + "Folder" = "8:_62218C84F9DA4935A123ACECCBAC06B0" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:FALSE" + "IsolateTo" = "8:" + } + "{9F6F8455-1EF1-4B85-886A-4223BCC8E7F7}:_9CCA3CBAA527443294E12C0531E871DD" + { + "AssemblyRegister" = "3:1" + "AssemblyIsInGAC" = "11:FALSE" + "AssemblyAsmDisplayName" = "8:netstandard, Version=2.1.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51, processorArchitecture=MSIL" + "ScatterAssemblies" + { + "_9CCA3CBAA527443294E12C0531E871DD" + { + "Name" = "8:netstandard.dll" + "Attributes" = "3:512" + } + } + "SourcePath" = "8:..\\leak_test_project\\bin\\Release\\net9.0-windows\\win-x64\\publish\\netstandard.dll" + "TargetName" = "8:" + "Tag" = "8:" + "Folder" = "8:_62218C84F9DA4935A123ACECCBAC06B0" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:FALSE" + "IsolateTo" = "8:" + } + "{9F6F8455-1EF1-4B85-886A-4223BCC8E7F7}:_9D7D82DC6C27D18AEBA9EF8FDBD334CD" + { + "AssemblyRegister" = "3:1" + "AssemblyIsInGAC" = "11:FALSE" + "AssemblyAsmDisplayName" = "8:System.Runtime.Handles, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL" + "ScatterAssemblies" + { + "_9D7D82DC6C27D18AEBA9EF8FDBD334CD" + { + "Name" = "8:System.Runtime.Handles.dll" + "Attributes" = "3:512" + } + } + "SourcePath" = "8:System.Runtime.Handles.dll" + "TargetName" = "8:" + "Tag" = "8:" + "Folder" = "8:_62218C84F9DA4935A123ACECCBAC06B0" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:TRUE" + "IsolateTo" = "8:" + } + "{9F6F8455-1EF1-4B85-886A-4223BCC8E7F7}:_9DD7D99ADB14464CAAD4E8856EDD4D90" + { + "AssemblyRegister" = "3:1" + "AssemblyIsInGAC" = "11:FALSE" + "AssemblyAsmDisplayName" = "8:System.Resources.Extensions, Version=9.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51, processorArchitecture=MSIL" + "ScatterAssemblies" + { + "_9DD7D99ADB14464CAAD4E8856EDD4D90" + { + "Name" = "8:System.Resources.Extensions.dll" + "Attributes" = "3:512" + } + } + "SourcePath" = "8:..\\leak_test_project\\bin\\Release\\net9.0-windows\\win-x64\\publish\\System.Resources.Extensions.dll" + "TargetName" = "8:" + "Tag" = "8:" + "Folder" = "8:_62218C84F9DA4935A123ACECCBAC06B0" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:FALSE" + "IsolateTo" = "8:" + } + "{9F6F8455-1EF1-4B85-886A-4223BCC8E7F7}:_9E3E9A454B71D00DCE94B3192C3E092A" + { + "AssemblyRegister" = "3:1" + "AssemblyIsInGAC" = "11:FALSE" + "AssemblyAsmDisplayName" = "8:System.Buffers, Version=9.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51, processorArchitecture=MSIL" + "ScatterAssemblies" + { + "_9E3E9A454B71D00DCE94B3192C3E092A" + { + "Name" = "8:System.Buffers.dll" + "Attributes" = "3:512" + } + } + "SourcePath" = "8:System.Buffers.dll" + "TargetName" = "8:" + "Tag" = "8:" + "Folder" = "8:_62218C84F9DA4935A123ACECCBAC06B0" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:TRUE" + "IsolateTo" = "8:" + } + "{9F6F8455-1EF1-4B85-886A-4223BCC8E7F7}:_9E55F358F7302BD386B0176D646A879D" + { + "AssemblyRegister" = "3:1" + "AssemblyIsInGAC" = "11:FALSE" + "AssemblyAsmDisplayName" = "8:System.Xml.XDocument, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL" + "ScatterAssemblies" + { + "_9E55F358F7302BD386B0176D646A879D" + { + "Name" = "8:System.Xml.XDocument.dll" + "Attributes" = "3:512" + } + } + "SourcePath" = "8:System.Xml.XDocument.dll" + "TargetName" = "8:" + "Tag" = "8:" + "Folder" = "8:_62218C84F9DA4935A123ACECCBAC06B0" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:TRUE" + "IsolateTo" = "8:" + } + "{9F6F8455-1EF1-4B85-886A-4223BCC8E7F7}:_9E62684B6048F1350D5BF500AD5A4270" + { + "AssemblyRegister" = "3:1" + "AssemblyIsInGAC" = "11:FALSE" + "AssemblyAsmDisplayName" = "8:System.Dynamic.Runtime, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL" + "ScatterAssemblies" + { + "_9E62684B6048F1350D5BF500AD5A4270" + { + "Name" = "8:System.Dynamic.Runtime.dll" + "Attributes" = "3:512" + } + } + "SourcePath" = "8:System.Dynamic.Runtime.dll" + "TargetName" = "8:" + "Tag" = "8:" + "Folder" = "8:_62218C84F9DA4935A123ACECCBAC06B0" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:TRUE" + "IsolateTo" = "8:" + } + "{9F6F8455-1EF1-4B85-886A-4223BCC8E7F7}:_A00D42E585453FCDC786F528231641C5" + { + "AssemblyRegister" = "3:1" + "AssemblyIsInGAC" = "11:FALSE" + "AssemblyAsmDisplayName" = "8:System.Runtime.Serialization.Xml, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL" + "ScatterAssemblies" + { + "_A00D42E585453FCDC786F528231641C5" + { + "Name" = "8:System.Runtime.Serialization.Xml.dll" + "Attributes" = "3:512" + } + } + "SourcePath" = "8:System.Runtime.Serialization.Xml.dll" + "TargetName" = "8:" + "Tag" = "8:" + "Folder" = "8:_62218C84F9DA4935A123ACECCBAC06B0" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:TRUE" + "IsolateTo" = "8:" + } + "{9F6F8455-1EF1-4B85-886A-4223BCC8E7F7}:_A09D5E52064B4EE8B58F413F03CA7A4C" + { + "AssemblyRegister" = "3:1" + "AssemblyIsInGAC" = "11:FALSE" + "AssemblyAsmDisplayName" = "8:WindowsBase, Version=9.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=AMD64" + "ScatterAssemblies" + { + "_A09D5E52064B4EE8B58F413F03CA7A4C" + { + "Name" = "8:WindowsBase.dll" + "Attributes" = "3:512" + } + } + "SourcePath" = "8:..\\leak_test_project\\bin\\Release\\net9.0-windows\\win-x64\\publish\\WindowsBase.dll" + "TargetName" = "8:" + "Tag" = "8:" + "Folder" = "8:_62218C84F9DA4935A123ACECCBAC06B0" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:FALSE" + "IsolateTo" = "8:" + } + "{9F6F8455-1EF1-4B85-886A-4223BCC8E7F7}:_A10C6481D758E4C748CD369A1E57D97C" + { + "AssemblyRegister" = "3:1" + "AssemblyIsInGAC" = "11:FALSE" + "AssemblyAsmDisplayName" = "8:System.Threading.Tasks.Extensions, Version=9.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51, processorArchitecture=MSIL" + "ScatterAssemblies" + { + "_A10C6481D758E4C748CD369A1E57D97C" + { + "Name" = "8:System.Threading.Tasks.Extensions.dll" + "Attributes" = "3:512" + } + } + "SourcePath" = "8:System.Threading.Tasks.Extensions.dll" + "TargetName" = "8:" + "Tag" = "8:" + "Folder" = "8:_62218C84F9DA4935A123ACECCBAC06B0" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:TRUE" + "IsolateTo" = "8:" + } + "{9F6F8455-1EF1-4B85-886A-4223BCC8E7F7}:_A278A66B8DD64BBFB8143302051B8132" + { + "AssemblyRegister" = "3:1" + "AssemblyIsInGAC" = "11:FALSE" + "AssemblyAsmDisplayName" = "8:PresentationFramework-SystemXml, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089, processorArchitecture=AMD64" + "ScatterAssemblies" + { + "_A278A66B8DD64BBFB8143302051B8132" + { + "Name" = "8:PresentationFramework-SystemXml.dll" + "Attributes" = "3:512" + } + } + "SourcePath" = "8:..\\leak_test_project\\bin\\Release\\net9.0-windows\\win-x64\\publish\\PresentationFramework-SystemXml.dll" + "TargetName" = "8:" + "Tag" = "8:" + "Folder" = "8:_62218C84F9DA4935A123ACECCBAC06B0" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:FALSE" + "IsolateTo" = "8:" + } + "{9F6F8455-1EF1-4B85-886A-4223BCC8E7F7}:_A32CDB2D5DE248EEB28F28CAB6B79F5D" + { + "AssemblyRegister" = "3:1" + "AssemblyIsInGAC" = "11:FALSE" + "AssemblyAsmDisplayName" = "8:System.Diagnostics.TextWriterTraceListener, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL" + "ScatterAssemblies" + { + "_A32CDB2D5DE248EEB28F28CAB6B79F5D" + { + "Name" = "8:System.Diagnostics.TextWriterTraceListener.dll" + "Attributes" = "3:512" + } + } + "SourcePath" = "8:..\\leak_test_project\\bin\\Release\\net9.0-windows\\win-x64\\publish\\System.Diagnostics.TextWriterTraceListener.dll" + "TargetName" = "8:" + "Tag" = "8:" + "Folder" = "8:_62218C84F9DA4935A123ACECCBAC06B0" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:FALSE" + "IsolateTo" = "8:" + } + "{9F6F8455-1EF1-4B85-886A-4223BCC8E7F7}:_A39E75420F60D39691AA5EF140522360" + { + "AssemblyRegister" = "3:1" + "AssemblyIsInGAC" = "11:FALSE" + "AssemblyAsmDisplayName" = "8:System.ObjectModel, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL" + "ScatterAssemblies" + { + "_A39E75420F60D39691AA5EF140522360" + { + "Name" = "8:System.ObjectModel.dll" + "Attributes" = "3:512" + } + } + "SourcePath" = "8:System.ObjectModel.dll" + "TargetName" = "8:" + "Tag" = "8:" + "Folder" = "8:_62218C84F9DA4935A123ACECCBAC06B0" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:TRUE" + "IsolateTo" = "8:" + } + "{9F6F8455-1EF1-4B85-886A-4223BCC8E7F7}:_A465D5ADCCED41E8A8F9DE1412BEE105" + { + "AssemblyRegister" = "3:1" + "AssemblyIsInGAC" = "11:FALSE" + "AssemblyAsmDisplayName" = "8:System.Text.Json, Version=9.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51, processorArchitecture=MSIL" + "ScatterAssemblies" + { + "_A465D5ADCCED41E8A8F9DE1412BEE105" + { + "Name" = "8:System.Text.Json.dll" + "Attributes" = "3:512" + } + } + "SourcePath" = "8:..\\leak_test_project\\bin\\Release\\net9.0-windows\\win-x64\\publish\\System.Text.Json.dll" + "TargetName" = "8:" + "Tag" = "8:" + "Folder" = "8:_62218C84F9DA4935A123ACECCBAC06B0" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:FALSE" + "IsolateTo" = "8:" + } + "{9F6F8455-1EF1-4B85-886A-4223BCC8E7F7}:_A4C5548E242439A424F0DC360FC3CA1D" + { + "AssemblyRegister" = "3:1" + "AssemblyIsInGAC" = "11:FALSE" + "AssemblyAsmDisplayName" = "8:System.Net.NameResolution, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL" + "ScatterAssemblies" + { + "_A4C5548E242439A424F0DC360FC3CA1D" + { + "Name" = "8:System.Net.NameResolution.dll" + "Attributes" = "3:512" + } + } + "SourcePath" = "8:System.Net.NameResolution.dll" + "TargetName" = "8:" + "Tag" = "8:" + "Folder" = "8:_62218C84F9DA4935A123ACECCBAC06B0" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:TRUE" + "IsolateTo" = "8:" + } + "{9F6F8455-1EF1-4B85-886A-4223BCC8E7F7}:_A504707907BDD8C193F5FD8FD3CA6D90" + { + "AssemblyRegister" = "3:1" + "AssemblyIsInGAC" = "11:FALSE" + "AssemblyAsmDisplayName" = "8:System.Diagnostics.Process, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL" + "ScatterAssemblies" + { + "_A504707907BDD8C193F5FD8FD3CA6D90" + { + "Name" = "8:System.Diagnostics.Process.dll" + "Attributes" = "3:512" + } + } + "SourcePath" = "8:System.Diagnostics.Process.dll" + "TargetName" = "8:" + "Tag" = "8:" + "Folder" = "8:_62218C84F9DA4935A123ACECCBAC06B0" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:TRUE" + "IsolateTo" = "8:" + } + "{9F6F8455-1EF1-4B85-886A-4223BCC8E7F7}:_A51D015B5040499C9E740E5B6027AA00" + { + "AssemblyRegister" = "3:1" + "AssemblyIsInGAC" = "11:FALSE" + "AssemblyAsmDisplayName" = "8:System.Diagnostics.Tracing, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL" + "ScatterAssemblies" + { + "_A51D015B5040499C9E740E5B6027AA00" + { + "Name" = "8:System.Diagnostics.Tracing.dll" + "Attributes" = "3:512" + } + } + "SourcePath" = "8:..\\leak_test_project\\bin\\Release\\net9.0-windows\\win-x64\\publish\\System.Diagnostics.Tracing.dll" + "TargetName" = "8:" + "Tag" = "8:" + "Folder" = "8:_62218C84F9DA4935A123ACECCBAC06B0" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:FALSE" + "IsolateTo" = "8:" + } + "{9F6F8455-1EF1-4B85-886A-4223BCC8E7F7}:_A571C881BA284732B625F26EFFC63369" + { + "AssemblyRegister" = "3:1" + "AssemblyIsInGAC" = "11:FALSE" + "AssemblyAsmDisplayName" = "8:System.Security.Cryptography.ProtectedData, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL" + "ScatterAssemblies" + { + "_A571C881BA284732B625F26EFFC63369" + { + "Name" = "8:System.Security.Cryptography.ProtectedData.dll" + "Attributes" = "3:512" + } + } + "SourcePath" = "8:..\\leak_test_project\\bin\\Release\\net9.0-windows\\win-x64\\publish\\System.Security.Cryptography.ProtectedData.dll" + "TargetName" = "8:" + "Tag" = "8:" + "Folder" = "8:_62218C84F9DA4935A123ACECCBAC06B0" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:FALSE" + "IsolateTo" = "8:" + } + "{9F6F8455-1EF1-4B85-886A-4223BCC8E7F7}:_A5CA0F9EC66EC0568874B27FD79B6B68" + { + "AssemblyRegister" = "3:1" + "AssemblyIsInGAC" = "11:TRUE" + "AssemblyAsmDisplayName" = "8:System.Diagnostics.StackTrace, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL" + "ScatterAssemblies" + { + "_A5CA0F9EC66EC0568874B27FD79B6B68" + { + "Name" = "8:System.Diagnostics.StackTrace.dll" + "Attributes" = "3:512" + } + } + "SourcePath" = "8:System.Diagnostics.StackTrace.dll" + "TargetName" = "8:" + "Tag" = "8:" + "Folder" = "8:_62218C84F9DA4935A123ACECCBAC06B0" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:TRUE" + "IsolateTo" = "8:" + } + "{9F6F8455-1EF1-4B85-886A-4223BCC8E7F7}:_A5E25E6038B7491EB5E4C5164B34ED2A" + { + "AssemblyRegister" = "3:1" + "AssemblyIsInGAC" = "11:FALSE" + "AssemblyAsmDisplayName" = "8:System.Threading.AccessControl, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL" + "ScatterAssemblies" + { + "_A5E25E6038B7491EB5E4C5164B34ED2A" + { + "Name" = "8:System.Threading.AccessControl.dll" + "Attributes" = "3:512" + } + } + "SourcePath" = "8:..\\leak_test_project\\bin\\Release\\net9.0-windows\\win-x64\\publish\\System.Threading.AccessControl.dll" + "TargetName" = "8:" + "Tag" = "8:" + "Folder" = "8:_62218C84F9DA4935A123ACECCBAC06B0" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:FALSE" + "IsolateTo" = "8:" + } + "{9F6F8455-1EF1-4B85-886A-4223BCC8E7F7}:_A6641DBF49634DD1BCA547850CF571A5" + { + "AssemblyRegister" = "3:1" + "AssemblyIsInGAC" = "11:FALSE" + "AssemblyAsmDisplayName" = "8:System.Xml.XDocument, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL" + "ScatterAssemblies" + { + "_A6641DBF49634DD1BCA547850CF571A5" + { + "Name" = "8:System.Xml.XDocument.dll" + "Attributes" = "3:512" + } + } + "SourcePath" = "8:..\\leak_test_project\\bin\\Release\\net9.0-windows\\win-x64\\publish\\System.Xml.XDocument.dll" + "TargetName" = "8:" + "Tag" = "8:" + "Folder" = "8:_62218C84F9DA4935A123ACECCBAC06B0" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:FALSE" + "IsolateTo" = "8:" + } + "{9F6F8455-1EF1-4B85-886A-4223BCC8E7F7}:_A6C1C68CC7C7465EAA60A8FD628288E5" + { + "AssemblyRegister" = "3:1" + "AssemblyIsInGAC" = "11:FALSE" + "AssemblyAsmDisplayName" = "8:System.Resources.Writer, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL" + "ScatterAssemblies" + { + "_A6C1C68CC7C7465EAA60A8FD628288E5" + { + "Name" = "8:System.Resources.Writer.dll" + "Attributes" = "3:512" + } + } + "SourcePath" = "8:..\\leak_test_project\\bin\\Release\\net9.0-windows\\win-x64\\publish\\System.Resources.Writer.dll" + "TargetName" = "8:" + "Tag" = "8:" + "Folder" = "8:_62218C84F9DA4935A123ACECCBAC06B0" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:FALSE" + "IsolateTo" = "8:" + } + "{9F6F8455-1EF1-4B85-886A-4223BCC8E7F7}:_A6DCF8CA5CA740BC9BF0616AEFCFF409" + { + "AssemblyRegister" = "3:1" + "AssemblyIsInGAC" = "11:FALSE" + "AssemblyAsmDisplayName" = "8:System.Web.HttpUtility, Version=9.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51, processorArchitecture=MSIL" + "ScatterAssemblies" + { + "_A6DCF8CA5CA740BC9BF0616AEFCFF409" + { + "Name" = "8:System.Web.HttpUtility.dll" + "Attributes" = "3:512" + } + } + "SourcePath" = "8:..\\leak_test_project\\bin\\Release\\net9.0-windows\\win-x64\\publish\\System.Web.HttpUtility.dll" + "TargetName" = "8:" + "Tag" = "8:" + "Folder" = "8:_62218C84F9DA4935A123ACECCBAC06B0" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:FALSE" + "IsolateTo" = "8:" + } + "{9F6F8455-1EF1-4B85-886A-4223BCC8E7F7}:_A7B0EF42067D4B71B3778087E211A6EB" + { + "AssemblyRegister" = "3:1" + "AssemblyIsInGAC" = "11:FALSE" + "AssemblyAsmDisplayName" = "8:System.Runtime.InteropServices.RuntimeInformation, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL" + "ScatterAssemblies" + { + "_A7B0EF42067D4B71B3778087E211A6EB" + { + "Name" = "8:System.Runtime.InteropServices.RuntimeInformation.dll" + "Attributes" = "3:512" + } + } + "SourcePath" = "8:..\\leak_test_project\\bin\\Release\\net9.0-windows\\win-x64\\publish\\System.Runtime.InteropServices.RuntimeInformation.dll" + "TargetName" = "8:" + "Tag" = "8:" + "Folder" = "8:_62218C84F9DA4935A123ACECCBAC06B0" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:FALSE" + "IsolateTo" = "8:" + } + "{9F6F8455-1EF1-4B85-886A-4223BCC8E7F7}:_A81EEB8B066FAF54876B914EDEE2F8CB" + { + "AssemblyRegister" = "3:1" + "AssemblyIsInGAC" = "11:TRUE" + "AssemblyAsmDisplayName" = "8:System.IO.Compression, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089, processorArchitecture=MSIL" + "ScatterAssemblies" + { + "_A81EEB8B066FAF54876B914EDEE2F8CB" + { + "Name" = "8:System.IO.Compression.dll" + "Attributes" = "3:512" + } + } + "SourcePath" = "8:System.IO.Compression.dll" + "TargetName" = "8:" + "Tag" = "8:" + "Folder" = "8:_62218C84F9DA4935A123ACECCBAC06B0" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:TRUE" + "IsolateTo" = "8:" + } + "{9F6F8455-1EF1-4B85-886A-4223BCC8E7F7}:_A9EA0A6B5010BD81E023956218102169" + { + "AssemblyRegister" = "3:1" + "AssemblyIsInGAC" = "11:FALSE" + "AssemblyAsmDisplayName" = "8:System.Runtime.Serialization.Primitives, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL" + "ScatterAssemblies" + { + "_A9EA0A6B5010BD81E023956218102169" + { + "Name" = "8:System.Runtime.Serialization.Primitives.dll" + "Attributes" = "3:512" + } + } + "SourcePath" = "8:System.Runtime.Serialization.Primitives.dll" + "TargetName" = "8:" + "Tag" = "8:" + "Folder" = "8:_62218C84F9DA4935A123ACECCBAC06B0" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:TRUE" + "IsolateTo" = "8:" + } + "{9F6F8455-1EF1-4B85-886A-4223BCC8E7F7}:_AA7EB8BA72AF4CE58D56E6A49C09AC6C" + { + "AssemblyRegister" = "3:1" + "AssemblyIsInGAC" = "11:FALSE" + "AssemblyAsmDisplayName" = "8:System.Xml, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089, processorArchitecture=MSIL" + "ScatterAssemblies" + { + "_AA7EB8BA72AF4CE58D56E6A49C09AC6C" + { + "Name" = "8:System.Xml.dll" + "Attributes" = "3:512" + } + } + "SourcePath" = "8:..\\leak_test_project\\bin\\Release\\net9.0-windows\\win-x64\\publish\\System.Xml.dll" + "TargetName" = "8:" + "Tag" = "8:" + "Folder" = "8:_62218C84F9DA4935A123ACECCBAC06B0" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:FALSE" + "IsolateTo" = "8:" + } + "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_AB9A1B9059654202B42246C60077F70A" + { + "SourcePath" = "8:..\\leak_test_project\\bin\\Release\\net9.0-windows\\win-x64\\publish\\mscordbi.dll" + "TargetName" = "8:mscordbi.dll" + "Tag" = "8:" + "Folder" = "8:_62218C84F9DA4935A123ACECCBAC06B0" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:FALSE" + "IsolateTo" = "8:" + } + "{9F6F8455-1EF1-4B85-886A-4223BCC8E7F7}:_ADECACE59CB14E8BA77539E1543F3F9E" + { + "AssemblyRegister" = "3:1" + "AssemblyIsInGAC" = "11:FALSE" + "AssemblyAsmDisplayName" = "8:System.Net.Requests, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL" + "ScatterAssemblies" + { + "_ADECACE59CB14E8BA77539E1543F3F9E" + { + "Name" = "8:System.Net.Requests.dll" + "Attributes" = "3:512" + } + } + "SourcePath" = "8:..\\leak_test_project\\bin\\Release\\net9.0-windows\\win-x64\\publish\\System.Net.Requests.dll" + "TargetName" = "8:" + "Tag" = "8:" + "Folder" = "8:_62218C84F9DA4935A123ACECCBAC06B0" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:FALSE" + "IsolateTo" = "8:" + } + "{9F6F8455-1EF1-4B85-886A-4223BCC8E7F7}:_AEB8C3BFA7FB4D8F8F36840AEC216303" + { + "AssemblyRegister" = "3:1" + "AssemblyIsInGAC" = "11:FALSE" + "AssemblyAsmDisplayName" = "8:System.Linq, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL" + "ScatterAssemblies" + { + "_AEB8C3BFA7FB4D8F8F36840AEC216303" + { + "Name" = "8:System.Linq.dll" + "Attributes" = "3:512" + } + } + "SourcePath" = "8:..\\leak_test_project\\bin\\Release\\net9.0-windows\\win-x64\\publish\\System.Linq.dll" + "TargetName" = "8:" + "Tag" = "8:" + "Folder" = "8:_62218C84F9DA4935A123ACECCBAC06B0" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:FALSE" + "IsolateTo" = "8:" + } + "{9F6F8455-1EF1-4B85-886A-4223BCC8E7F7}:_AFF383A44DAB874177E2A7ABE4745AF7" + { + "AssemblyRegister" = "3:1" + "AssemblyIsInGAC" = "11:FALSE" + "AssemblyAsmDisplayName" = "8:System.IO.Pipes.AccessControl, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL" + "ScatterAssemblies" + { + "_AFF383A44DAB874177E2A7ABE4745AF7" + { + "Name" = "8:System.IO.Pipes.AccessControl.dll" + "Attributes" = "3:512" + } + } + "SourcePath" = "8:System.IO.Pipes.AccessControl.dll" + "TargetName" = "8:" + "Tag" = "8:" + "Folder" = "8:_62218C84F9DA4935A123ACECCBAC06B0" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:TRUE" + "IsolateTo" = "8:" + } + "{9F6F8455-1EF1-4B85-886A-4223BCC8E7F7}:_B0084FD8CA6C1D4F596795B67652371D" + { + "AssemblyRegister" = "3:1" + "AssemblyIsInGAC" = "11:FALSE" + "AssemblyAsmDisplayName" = "8:System.Threading.Timer, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL" + "ScatterAssemblies" + { + "_B0084FD8CA6C1D4F596795B67652371D" + { + "Name" = "8:System.Threading.Timer.dll" + "Attributes" = "3:512" + } + } + "SourcePath" = "8:System.Threading.Timer.dll" + "TargetName" = "8:" + "Tag" = "8:" + "Folder" = "8:_62218C84F9DA4935A123ACECCBAC06B0" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:TRUE" + "IsolateTo" = "8:" + } + "{9F6F8455-1EF1-4B85-886A-4223BCC8E7F7}:_B043263649364239B010BA1A422B215C" + { + "AssemblyRegister" = "3:1" + "AssemblyIsInGAC" = "11:FALSE" + "AssemblyAsmDisplayName" = "8:System.ServiceModel.Web, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL" + "ScatterAssemblies" + { + "_B043263649364239B010BA1A422B215C" + { + "Name" = "8:System.ServiceModel.Web.dll" + "Attributes" = "3:512" + } + } + "SourcePath" = "8:..\\leak_test_project\\bin\\Release\\net9.0-windows\\win-x64\\publish\\System.ServiceModel.Web.dll" + "TargetName" = "8:" + "Tag" = "8:" + "Folder" = "8:_62218C84F9DA4935A123ACECCBAC06B0" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:FALSE" + "IsolateTo" = "8:" + } + "{9F6F8455-1EF1-4B85-886A-4223BCC8E7F7}:_B08DEC402E5140E780FC5B0E8FD1FE35" + { + "AssemblyRegister" = "3:1" + "AssemblyIsInGAC" = "11:FALSE" + "AssemblyAsmDisplayName" = "8:System.ComponentModel, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL" + "ScatterAssemblies" + { + "_B08DEC402E5140E780FC5B0E8FD1FE35" + { + "Name" = "8:System.ComponentModel.dll" + "Attributes" = "3:512" + } + } + "SourcePath" = "8:..\\leak_test_project\\bin\\Release\\net9.0-windows\\win-x64\\publish\\System.ComponentModel.dll" + "TargetName" = "8:" + "Tag" = "8:" + "Folder" = "8:_62218C84F9DA4935A123ACECCBAC06B0" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:FALSE" + "IsolateTo" = "8:" + } + "{9F6F8455-1EF1-4B85-886A-4223BCC8E7F7}:_B0A043DD5CEC99EC8E1850E93A3607E2" + { + "AssemblyRegister" = "3:1" + "AssemblyIsInGAC" = "11:FALSE" + "AssemblyAsmDisplayName" = "8:System.Runtime.Serialization.Formatters, Version=8.1.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL" + "ScatterAssemblies" + { + "_B0A043DD5CEC99EC8E1850E93A3607E2" + { + "Name" = "8:System.Runtime.Serialization.Formatters.dll" + "Attributes" = "3:512" + } + } + "SourcePath" = "8:System.Runtime.Serialization.Formatters.dll" + "TargetName" = "8:" + "Tag" = "8:" + "Folder" = "8:_62218C84F9DA4935A123ACECCBAC06B0" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:TRUE" + "IsolateTo" = "8:" + } + "{9F6F8455-1EF1-4B85-886A-4223BCC8E7F7}:_B0CF5469FF107F5B15750BCBDEF8BFE4" + { + "AssemblyRegister" = "3:1" + "AssemblyIsInGAC" = "11:FALSE" + "AssemblyAsmDisplayName" = "8:System.Linq.Parallel, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL" + "ScatterAssemblies" + { + "_B0CF5469FF107F5B15750BCBDEF8BFE4" + { + "Name" = "8:System.Linq.Parallel.dll" + "Attributes" = "3:512" + } + } + "SourcePath" = "8:System.Linq.Parallel.dll" + "TargetName" = "8:" + "Tag" = "8:" + "Folder" = "8:_62218C84F9DA4935A123ACECCBAC06B0" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:TRUE" + "IsolateTo" = "8:" + } + "{9F6F8455-1EF1-4B85-886A-4223BCC8E7F7}:_B14294C19B2D48C39AC7F29189EFC261" + { + "AssemblyRegister" = "3:1" + "AssemblyIsInGAC" = "11:FALSE" + "AssemblyAsmDisplayName" = "8:System.Xaml, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089, processorArchitecture=AMD64" + "ScatterAssemblies" + { + "_B14294C19B2D48C39AC7F29189EFC261" + { + "Name" = "8:System.Xaml.dll" + "Attributes" = "3:512" + } + } + "SourcePath" = "8:..\\leak_test_project\\bin\\Release\\net9.0-windows\\win-x64\\publish\\System.Xaml.dll" + "TargetName" = "8:" + "Tag" = "8:" + "Folder" = "8:_62218C84F9DA4935A123ACECCBAC06B0" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:FALSE" + "IsolateTo" = "8:" + } + "{9F6F8455-1EF1-4B85-886A-4223BCC8E7F7}:_B18DAA15A2D144CAB805DF98395AA6E6" + { + "AssemblyRegister" = "3:1" + "AssemblyIsInGAC" = "11:FALSE" + "AssemblyAsmDisplayName" = "8:PresentationFramework.Aero, Version=9.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=AMD64" + "ScatterAssemblies" + { + "_B18DAA15A2D144CAB805DF98395AA6E6" + { + "Name" = "8:PresentationFramework.Aero.dll" + "Attributes" = "3:512" + } + } + "SourcePath" = "8:..\\leak_test_project\\bin\\Release\\net9.0-windows\\win-x64\\publish\\PresentationFramework.Aero.dll" + "TargetName" = "8:" + "Tag" = "8:" + "Folder" = "8:_62218C84F9DA4935A123ACECCBAC06B0" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:FALSE" + "IsolateTo" = "8:" + } + "{9F6F8455-1EF1-4B85-886A-4223BCC8E7F7}:_B2C9C39DA23B458E9A978B9BD857F59B" + { + "AssemblyRegister" = "3:1" + "AssemblyIsInGAC" = "11:FALSE" + "AssemblyAsmDisplayName" = "8:System.Collections, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL" + "ScatterAssemblies" + { + "_B2C9C39DA23B458E9A978B9BD857F59B" + { + "Name" = "8:System.Collections.dll" + "Attributes" = "3:512" + } + } + "SourcePath" = "8:..\\leak_test_project\\bin\\Release\\net9.0-windows\\win-x64\\publish\\System.Collections.dll" + "TargetName" = "8:" + "Tag" = "8:" + "Folder" = "8:_62218C84F9DA4935A123ACECCBAC06B0" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:FALSE" + "IsolateTo" = "8:" + } + "{9F6F8455-1EF1-4B85-886A-4223BCC8E7F7}:_B35F3A0A06D64AB3A82CEAFE7EA8DBF9" + { + "AssemblyRegister" = "3:1" + "AssemblyIsInGAC" = "11:FALSE" + "AssemblyAsmDisplayName" = "8:System.Configuration.ConfigurationManager, Version=9.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51, processorArchitecture=MSIL" + "ScatterAssemblies" + { + "_B35F3A0A06D64AB3A82CEAFE7EA8DBF9" + { + "Name" = "8:System.Configuration.ConfigurationManager.dll" + "Attributes" = "3:512" + } + } + "SourcePath" = "8:..\\leak_test_project\\bin\\Release\\net9.0-windows\\win-x64\\publish\\System.Configuration.ConfigurationManager.dll" + "TargetName" = "8:" + "Tag" = "8:" + "Folder" = "8:_62218C84F9DA4935A123ACECCBAC06B0" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:FALSE" + "IsolateTo" = "8:" + } + "{9F6F8455-1EF1-4B85-886A-4223BCC8E7F7}:_B3A91C3DDE21461499706CB060164DBF" + { + "AssemblyRegister" = "3:1" + "AssemblyIsInGAC" = "11:FALSE" + "AssemblyAsmDisplayName" = "8:System.IO.Ports, Version=9.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51, processorArchitecture=MSIL" + "ScatterAssemblies" + { + "_B3A91C3DDE21461499706CB060164DBF" + { + "Name" = "8:System.IO.Ports.dll" + "Attributes" = "3:512" + } + } + "SourcePath" = "8:..\\leak_test_project\\bin\\Release\\net9.0-windows\\win-x64\\publish\\System.IO.Ports.dll" + "TargetName" = "8:" + "Tag" = "8:" + "Folder" = "8:_62218C84F9DA4935A123ACECCBAC06B0" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:FALSE" + "IsolateTo" = "8:" + } + "{9F6F8455-1EF1-4B85-886A-4223BCC8E7F7}:_B3D68C43937F49C3A5779E2971FF19C5" + { + "AssemblyRegister" = "3:1" + "AssemblyIsInGAC" = "11:FALSE" + "AssemblyAsmDisplayName" = "8:System.Security.Cryptography.Csp, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL" + "ScatterAssemblies" + { + "_B3D68C43937F49C3A5779E2971FF19C5" + { + "Name" = "8:System.Security.Cryptography.Csp.dll" + "Attributes" = "3:512" + } + } + "SourcePath" = "8:..\\leak_test_project\\bin\\Release\\net9.0-windows\\win-x64\\publish\\System.Security.Cryptography.Csp.dll" + "TargetName" = "8:" + "Tag" = "8:" + "Folder" = "8:_62218C84F9DA4935A123ACECCBAC06B0" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:FALSE" + "IsolateTo" = "8:" + } + "{9F6F8455-1EF1-4B85-886A-4223BCC8E7F7}:_B419E6174B6348818E0717CEB95B287E" + { + "AssemblyRegister" = "3:1" + "AssemblyIsInGAC" = "11:FALSE" + "AssemblyAsmDisplayName" = "8:System.IO.Packaging, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL" + "ScatterAssemblies" + { + "_B419E6174B6348818E0717CEB95B287E" + { + "Name" = "8:System.IO.Packaging.dll" + "Attributes" = "3:512" + } + } + "SourcePath" = "8:..\\leak_test_project\\bin\\Release\\net9.0-windows\\win-x64\\publish\\System.IO.Packaging.dll" + "TargetName" = "8:" + "Tag" = "8:" + "Folder" = "8:_62218C84F9DA4935A123ACECCBAC06B0" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:FALSE" + "IsolateTo" = "8:" + } + "{9F6F8455-1EF1-4B85-886A-4223BCC8E7F7}:_B4F1A52384A615C5C69E3EB7532C29F1" + { + "AssemblyRegister" = "3:1" + "AssemblyIsInGAC" = "11:FALSE" + "AssemblyAsmDisplayName" = "8:System.Resources.Reader, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL" + "ScatterAssemblies" + { + "_B4F1A52384A615C5C69E3EB7532C29F1" + { + "Name" = "8:System.Resources.Reader.dll" + "Attributes" = "3:512" + } + } + "SourcePath" = "8:System.Resources.Reader.dll" + "TargetName" = "8:" + "Tag" = "8:" + "Folder" = "8:_62218C84F9DA4935A123ACECCBAC06B0" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:TRUE" + "IsolateTo" = "8:" + } + "{9F6F8455-1EF1-4B85-886A-4223BCC8E7F7}:_B509DFE8D29A449F8BFF91DAE23D9FF8" + { + "AssemblyRegister" = "3:1" + "AssemblyIsInGAC" = "11:FALSE" + "AssemblyAsmDisplayName" = "8:System.Reflection.Emit, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL" + "ScatterAssemblies" + { + "_B509DFE8D29A449F8BFF91DAE23D9FF8" + { + "Name" = "8:System.Reflection.Emit.dll" + "Attributes" = "3:512" + } + } + "SourcePath" = "8:..\\leak_test_project\\bin\\Release\\net9.0-windows\\win-x64\\publish\\System.Reflection.Emit.dll" + "TargetName" = "8:" + "Tag" = "8:" + "Folder" = "8:_62218C84F9DA4935A123ACECCBAC06B0" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:FALSE" + "IsolateTo" = "8:" + } + "{9F6F8455-1EF1-4B85-886A-4223BCC8E7F7}:_B54170EB482D4C0A92074CE3C6E550BD" + { + "AssemblyRegister" = "3:1" + "AssemblyIsInGAC" = "11:FALSE" + "AssemblyAsmDisplayName" = "8:Microsoft.CSharp, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL" + "ScatterAssemblies" + { + "_B54170EB482D4C0A92074CE3C6E550BD" + { + "Name" = "8:Microsoft.CSharp.dll" + "Attributes" = "3:512" + } + } + "SourcePath" = "8:..\\leak_test_project\\bin\\Release\\net9.0-windows\\win-x64\\publish\\Microsoft.CSharp.dll" + "TargetName" = "8:" + "Tag" = "8:" + "Folder" = "8:_62218C84F9DA4935A123ACECCBAC06B0" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:FALSE" + "IsolateTo" = "8:" + } + "{9F6F8455-1EF1-4B85-886A-4223BCC8E7F7}:_B57C329BFBE84DA8A52A337B610529D7" + { + "AssemblyRegister" = "3:1" + "AssemblyIsInGAC" = "11:FALSE" + "AssemblyAsmDisplayName" = "8:System.Runtime.Serialization, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089, processorArchitecture=MSIL" + "ScatterAssemblies" + { + "_B57C329BFBE84DA8A52A337B610529D7" + { + "Name" = "8:System.Runtime.Serialization.dll" + "Attributes" = "3:512" + } + } + "SourcePath" = "8:..\\leak_test_project\\bin\\Release\\net9.0-windows\\win-x64\\publish\\System.Runtime.Serialization.dll" + "TargetName" = "8:" + "Tag" = "8:" + "Folder" = "8:_62218C84F9DA4935A123ACECCBAC06B0" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:FALSE" + "IsolateTo" = "8:" + } + "{9F6F8455-1EF1-4B85-886A-4223BCC8E7F7}:_B5A13A9C52414065A328E83503B2A1F3" + { + "AssemblyRegister" = "3:1" + "AssemblyIsInGAC" = "11:FALSE" + "AssemblyAsmDisplayName" = "8:System.Buffers, Version=9.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51, processorArchitecture=MSIL" + "ScatterAssemblies" + { + "_B5A13A9C52414065A328E83503B2A1F3" + { + "Name" = "8:System.Buffers.dll" + "Attributes" = "3:512" + } + } + "SourcePath" = "8:..\\leak_test_project\\bin\\Release\\net9.0-windows\\win-x64\\publish\\System.Buffers.dll" + "TargetName" = "8:" + "Tag" = "8:" + "Folder" = "8:_62218C84F9DA4935A123ACECCBAC06B0" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:FALSE" + "IsolateTo" = "8:" + } + "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_B68320E9248C48A2BEFC16731CBC169F" + { + "SourcePath" = "8:..\\leak_test_project\\bin\\Release\\net9.0-windows\\win-x64\\publish\\leak_test_project.deps.json" + "TargetName" = "8:leak_test_project.deps.json" + "Tag" = "8:" + "Folder" = "8:_62218C84F9DA4935A123ACECCBAC06B0" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:FALSE" + "IsolateTo" = "8:" + } + "{9F6F8455-1EF1-4B85-886A-4223BCC8E7F7}:_B7024C4C534B4076919F1F14AFE2A406" + { + "AssemblyRegister" = "3:1" + "AssemblyIsInGAC" = "11:FALSE" + "AssemblyAsmDisplayName" = "8:System.IO.Compression.Brotli, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089, processorArchitecture=MSIL" + "ScatterAssemblies" + { + "_B7024C4C534B4076919F1F14AFE2A406" + { + "Name" = "8:System.IO.Compression.Brotli.dll" + "Attributes" = "3:512" + } + } + "SourcePath" = "8:..\\leak_test_project\\bin\\Release\\net9.0-windows\\win-x64\\publish\\System.IO.Compression.Brotli.dll" + "TargetName" = "8:" + "Tag" = "8:" + "Folder" = "8:_62218C84F9DA4935A123ACECCBAC06B0" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:FALSE" + "IsolateTo" = "8:" + } + "{9F6F8455-1EF1-4B85-886A-4223BCC8E7F7}:_B7BCD1A3EC3F46ECB1DBDAF0A0376413" + { + "AssemblyRegister" = "3:1" + "AssemblyIsInGAC" = "11:FALSE" + "AssemblyAsmDisplayName" = "8:Microsoft.VisualBasic, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL" + "ScatterAssemblies" + { + "_B7BCD1A3EC3F46ECB1DBDAF0A0376413" + { + "Name" = "8:Microsoft.VisualBasic.dll" + "Attributes" = "3:512" + } + } + "SourcePath" = "8:..\\leak_test_project\\bin\\Release\\net9.0-windows\\win-x64\\publish\\Microsoft.VisualBasic.dll" + "TargetName" = "8:" + "Tag" = "8:" + "Folder" = "8:_62218C84F9DA4935A123ACECCBAC06B0" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:FALSE" + "IsolateTo" = "8:" + } + "{9F6F8455-1EF1-4B85-886A-4223BCC8E7F7}:_B7EC99BD89A446C2BA73214BA2CAE40B" + { + "AssemblyRegister" = "3:1" + "AssemblyIsInGAC" = "11:FALSE" + "AssemblyAsmDisplayName" = "8:System.Threading.Tasks.Dataflow, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL" + "ScatterAssemblies" + { + "_B7EC99BD89A446C2BA73214BA2CAE40B" + { + "Name" = "8:System.Threading.Tasks.Dataflow.dll" + "Attributes" = "3:512" + } + } + "SourcePath" = "8:..\\leak_test_project\\bin\\Release\\net9.0-windows\\win-x64\\publish\\System.Threading.Tasks.Dataflow.dll" + "TargetName" = "8:" + "Tag" = "8:" + "Folder" = "8:_62218C84F9DA4935A123ACECCBAC06B0" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:FALSE" + "IsolateTo" = "8:" + } + "{9F6F8455-1EF1-4B85-886A-4223BCC8E7F7}:_B7EF0CBFEF347A276FB32A581D514536" + { + "AssemblyRegister" = "3:1" + "AssemblyIsInGAC" = "11:FALSE" + "AssemblyAsmDisplayName" = "8:System.Net.Http, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL" + "ScatterAssemblies" + { + "_B7EF0CBFEF347A276FB32A581D514536" + { + "Name" = "8:System.Net.Http.dll" + "Attributes" = "3:512" + } + } + "SourcePath" = "8:System.Net.Http.dll" + "TargetName" = "8:" + "Tag" = "8:" + "Folder" = "8:_62218C84F9DA4935A123ACECCBAC06B0" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:TRUE" + "IsolateTo" = "8:" + } + "{9F6F8455-1EF1-4B85-886A-4223BCC8E7F7}:_B85447E82F233EDC44E9E1B01C9D0F34" + { + "AssemblyRegister" = "3:1" + "AssemblyIsInGAC" = "11:FALSE" + "AssemblyAsmDisplayName" = "8:System.Memory, Version=9.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51, processorArchitecture=MSIL" + "ScatterAssemblies" + { + "_B85447E82F233EDC44E9E1B01C9D0F34" + { + "Name" = "8:System.Memory.dll" + "Attributes" = "3:512" + } + } + "SourcePath" = "8:System.Memory.dll" + "TargetName" = "8:" + "Tag" = "8:" + "Folder" = "8:_62218C84F9DA4935A123ACECCBAC06B0" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:TRUE" + "IsolateTo" = "8:" + } + "{9F6F8455-1EF1-4B85-886A-4223BCC8E7F7}:_B89EC8CDA071487ABA6E99DB1029E6C3" + { + "AssemblyRegister" = "3:1" + "AssemblyIsInGAC" = "11:FALSE" + "AssemblyAsmDisplayName" = "8:Microsoft.Win32.SystemEvents, Version=9.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51, processorArchitecture=MSIL" + "ScatterAssemblies" + { + "_B89EC8CDA071487ABA6E99DB1029E6C3" + { + "Name" = "8:Microsoft.Win32.SystemEvents.dll" + "Attributes" = "3:512" + } + } + "SourcePath" = "8:..\\leak_test_project\\bin\\Release\\net9.0-windows\\win-x64\\publish\\Microsoft.Win32.SystemEvents.dll" + "TargetName" = "8:" + "Tag" = "8:" + "Folder" = "8:_62218C84F9DA4935A123ACECCBAC06B0" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:FALSE" + "IsolateTo" = "8:" + } + "{9F6F8455-1EF1-4B85-886A-4223BCC8E7F7}:_B96BF8D9E3FF5E8CDFD69659FF75C052" + { + "AssemblyRegister" = "3:1" + "AssemblyIsInGAC" = "11:FALSE" + "AssemblyAsmDisplayName" = "8:System.Net.Requests, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL" + "ScatterAssemblies" + { + "_B96BF8D9E3FF5E8CDFD69659FF75C052" + { + "Name" = "8:System.Net.Requests.dll" + "Attributes" = "3:512" + } + } + "SourcePath" = "8:System.Net.Requests.dll" + "TargetName" = "8:" + "Tag" = "8:" + "Folder" = "8:_62218C84F9DA4935A123ACECCBAC06B0" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:TRUE" + "IsolateTo" = "8:" + } + "{9F6F8455-1EF1-4B85-886A-4223BCC8E7F7}:_B9A463F73DBC4127BD9C474727649628" + { + "AssemblyRegister" = "3:1" + "AssemblyIsInGAC" = "11:FALSE" + "AssemblyAsmDisplayName" = "8:PresentationFramework-SystemXmlLinq, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089, processorArchitecture=AMD64" + "ScatterAssemblies" + { + "_B9A463F73DBC4127BD9C474727649628" + { + "Name" = "8:PresentationFramework-SystemXmlLinq.dll" + "Attributes" = "3:512" + } + } + "SourcePath" = "8:..\\leak_test_project\\bin\\Release\\net9.0-windows\\win-x64\\publish\\PresentationFramework-SystemXmlLinq.dll" + "TargetName" = "8:" + "Tag" = "8:" + "Folder" = "8:_62218C84F9DA4935A123ACECCBAC06B0" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:FALSE" + "IsolateTo" = "8:" + } + "{9F6F8455-1EF1-4B85-886A-4223BCC8E7F7}:_BB5D05F989ED8A2E317A56C4C530C771" + { + "AssemblyRegister" = "3:1" + "AssemblyIsInGAC" = "11:FALSE" + "AssemblyAsmDisplayName" = "8:System.Net.ServicePoint, Version=9.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51, processorArchitecture=MSIL" + "ScatterAssemblies" + { + "_BB5D05F989ED8A2E317A56C4C530C771" + { + "Name" = "8:System.Net.ServicePoint.dll" + "Attributes" = "3:512" + } + } + "SourcePath" = "8:System.Net.ServicePoint.dll" + "TargetName" = "8:" + "Tag" = "8:" + "Folder" = "8:_62218C84F9DA4935A123ACECCBAC06B0" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:TRUE" + "IsolateTo" = "8:" + } + "{9F6F8455-1EF1-4B85-886A-4223BCC8E7F7}:_BB9BDFAB061A475D834F5B2188B1B0DF" + { + "AssemblyRegister" = "3:1" + "AssemblyIsInGAC" = "11:FALSE" + "AssemblyAsmDisplayName" = "8:System.Windows.Controls.Ribbon, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089, processorArchitecture=AMD64" + "ScatterAssemblies" + { + "_BB9BDFAB061A475D834F5B2188B1B0DF" + { + "Name" = "8:System.Windows.Controls.Ribbon.dll" + "Attributes" = "3:512" + } + } + "SourcePath" = "8:..\\leak_test_project\\bin\\Release\\net9.0-windows\\win-x64\\publish\\System.Windows.Controls.Ribbon.dll" + "TargetName" = "8:" + "Tag" = "8:" + "Folder" = "8:_62218C84F9DA4935A123ACECCBAC06B0" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:FALSE" + "IsolateTo" = "8:" + } + "{9F6F8455-1EF1-4B85-886A-4223BCC8E7F7}:_BC1D614220704E83BF04A1DD4DF65D98" + { + "AssemblyRegister" = "3:1" + "AssemblyIsInGAC" = "11:FALSE" + "AssemblyAsmDisplayName" = "8:System.Text.Encodings.Web, Version=9.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51, processorArchitecture=MSIL" + "ScatterAssemblies" + { + "_BC1D614220704E83BF04A1DD4DF65D98" + { + "Name" = "8:System.Text.Encodings.Web.dll" + "Attributes" = "3:512" + } + } + "SourcePath" = "8:..\\leak_test_project\\bin\\Release\\net9.0-windows\\win-x64\\publish\\System.Text.Encodings.Web.dll" + "TargetName" = "8:" + "Tag" = "8:" + "Folder" = "8:_62218C84F9DA4935A123ACECCBAC06B0" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:FALSE" + "IsolateTo" = "8:" + } + "{9F6F8455-1EF1-4B85-886A-4223BCC8E7F7}:_BC31A8CC4EE0FEACA6403236951B65CF" + { + "AssemblyRegister" = "3:1" + "AssemblyIsInGAC" = "11:FALSE" + "AssemblyAsmDisplayName" = "8:System.Net.Mail, Version=9.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51, processorArchitecture=MSIL" + "ScatterAssemblies" + { + "_BC31A8CC4EE0FEACA6403236951B65CF" + { + "Name" = "8:System.Net.Mail.dll" + "Attributes" = "3:512" + } + } + "SourcePath" = "8:System.Net.Mail.dll" + "TargetName" = "8:" + "Tag" = "8:" + "Folder" = "8:_62218C84F9DA4935A123ACECCBAC06B0" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:TRUE" + "IsolateTo" = "8:" + } + "{9F6F8455-1EF1-4B85-886A-4223BCC8E7F7}:_BC3E5B1940FE4B48AF468D860BC359CA" + { + "AssemblyRegister" = "3:1" + "AssemblyIsInGAC" = "11:FALSE" + "AssemblyAsmDisplayName" = "8:PresentationFramework.Fluent, Version=9.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=AMD64" + "ScatterAssemblies" + { + "_BC3E5B1940FE4B48AF468D860BC359CA" + { + "Name" = "8:PresentationFramework.Fluent.dll" + "Attributes" = "3:512" + } + } + "SourcePath" = "8:..\\leak_test_project\\bin\\Release\\net9.0-windows\\win-x64\\publish\\PresentationFramework.Fluent.dll" + "TargetName" = "8:" + "Tag" = "8:" + "Folder" = "8:_62218C84F9DA4935A123ACECCBAC06B0" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:FALSE" + "IsolateTo" = "8:" + } + "{9F6F8455-1EF1-4B85-886A-4223BCC8E7F7}:_BED09B653C2F1CCE5964EF9EACD6B1EE" + { + "AssemblyRegister" = "3:1" + "AssemblyIsInGAC" = "11:FALSE" + "AssemblyAsmDisplayName" = "8:System.Runtime.Numerics, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL" + "ScatterAssemblies" + { + "_BED09B653C2F1CCE5964EF9EACD6B1EE" + { + "Name" = "8:System.Runtime.Numerics.dll" + "Attributes" = "3:512" + } + } + "SourcePath" = "8:System.Runtime.Numerics.dll" + "TargetName" = "8:" + "Tag" = "8:" + "Folder" = "8:_62218C84F9DA4935A123ACECCBAC06B0" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:TRUE" + "IsolateTo" = "8:" + } + "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_BF578F84AA594469A2CC0ECFC59BF0D3" + { + "SourcePath" = "8:..\\leak_test_project\\bin\\Release\\net9.0-windows\\win-x64\\publish\\leak_test_project.runtimeconfig.json" + "TargetName" = "8:leak_test_project.runtimeconfig.json" + "Tag" = "8:" + "Folder" = "8:_62218C84F9DA4935A123ACECCBAC06B0" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:FALSE" + "IsolateTo" = "8:" + } + "{9F6F8455-1EF1-4B85-886A-4223BCC8E7F7}:_BF6D49BA584844B1A9F5E6E585DED179" + { + "AssemblyRegister" = "3:1" + "AssemblyIsInGAC" = "11:FALSE" + "AssemblyAsmDisplayName" = "8:PresentationFramework.Aero2, Version=9.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=AMD64" + "ScatterAssemblies" + { + "_BF6D49BA584844B1A9F5E6E585DED179" + { + "Name" = "8:PresentationFramework.Aero2.dll" + "Attributes" = "3:512" + } + } + "SourcePath" = "8:..\\leak_test_project\\bin\\Release\\net9.0-windows\\win-x64\\publish\\PresentationFramework.Aero2.dll" + "TargetName" = "8:" + "Tag" = "8:" + "Folder" = "8:_62218C84F9DA4935A123ACECCBAC06B0" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:FALSE" + "IsolateTo" = "8:" + } + "{9F6F8455-1EF1-4B85-886A-4223BCC8E7F7}:_BF6FA047AD43E7C5F38C9A269AEC153C" + { + "AssemblyRegister" = "3:1" + "AssemblyIsInGAC" = "11:FALSE" + "AssemblyAsmDisplayName" = "8:System.AppContext, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL" + "ScatterAssemblies" + { + "_BF6FA047AD43E7C5F38C9A269AEC153C" + { + "Name" = "8:System.AppContext.dll" + "Attributes" = "3:512" + } + } + "SourcePath" = "8:System.AppContext.dll" + "TargetName" = "8:" + "Tag" = "8:" + "Folder" = "8:_62218C84F9DA4935A123ACECCBAC06B0" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:TRUE" + "IsolateTo" = "8:" + } + "{9F6F8455-1EF1-4B85-886A-4223BCC8E7F7}:_C045B86585D343B19AA768912074765E" + { + "AssemblyRegister" = "3:1" + "AssemblyIsInGAC" = "11:FALSE" + "AssemblyAsmDisplayName" = "8:System.Data.SqlClient, Version=4.6.1.6, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL" + "ScatterAssemblies" + { + "_C045B86585D343B19AA768912074765E" + { + "Name" = "8:System.Data.SqlClient.dll" + "Attributes" = "3:512" + } + } + "SourcePath" = "8:..\\leak_test_project\\bin\\Release\\net9.0-windows\\win-x64\\publish\\System.Data.SqlClient.dll" + "TargetName" = "8:" + "Tag" = "8:" + "Folder" = "8:_62218C84F9DA4935A123ACECCBAC06B0" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:FALSE" + "IsolateTo" = "8:" + } + "{9F6F8455-1EF1-4B85-886A-4223BCC8E7F7}:_C0C5097D17F34D15B8B17E20FDDC9766" + { + "AssemblyRegister" = "3:1" + "AssemblyIsInGAC" = "11:FALSE" + "AssemblyAsmDisplayName" = "8:System.Net.WebSockets, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL" + "ScatterAssemblies" + { + "_C0C5097D17F34D15B8B17E20FDDC9766" + { + "Name" = "8:System.Net.WebSockets.dll" + "Attributes" = "3:512" + } + } + "SourcePath" = "8:..\\leak_test_project\\bin\\Release\\net9.0-windows\\win-x64\\publish\\System.Net.WebSockets.dll" + "TargetName" = "8:" + "Tag" = "8:" + "Folder" = "8:_62218C84F9DA4935A123ACECCBAC06B0" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:FALSE" + "IsolateTo" = "8:" + } + "{9F6F8455-1EF1-4B85-886A-4223BCC8E7F7}:_C0D114703ACF4E88B4B47D7F4E04960C" + { + "AssemblyRegister" = "3:1" + "AssemblyIsInGAC" = "11:FALSE" + "AssemblyAsmDisplayName" = "8:DirectWriteForwarder, Version=9.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=AMD64" + "ScatterAssemblies" + { + "_C0D114703ACF4E88B4B47D7F4E04960C" + { + "Name" = "8:DirectWriteForwarder.dll" + "Attributes" = "3:512" + } + } + "SourcePath" = "8:..\\leak_test_project\\bin\\Release\\net9.0-windows\\win-x64\\publish\\DirectWriteForwarder.dll" + "TargetName" = "8:" + "Tag" = "8:" + "Folder" = "8:_62218C84F9DA4935A123ACECCBAC06B0" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:FALSE" + "IsolateTo" = "8:" + } + "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_C103690E86C44D55ADF044659BA17520" + { + "SourcePath" = "8:..\\leak_test_project\\bin\\Release\\net9.0-windows\\win-x64\\publish\\mscorrc.dll" + "TargetName" = "8:mscorrc.dll" + "Tag" = "8:" + "Folder" = "8:_62218C84F9DA4935A123ACECCBAC06B0" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:FALSE" + "IsolateTo" = "8:" + } + "{9F6F8455-1EF1-4B85-886A-4223BCC8E7F7}:_C29ACC3724DB497CBA634956BDFC3607" + { + "AssemblyRegister" = "3:1" + "AssemblyIsInGAC" = "11:FALSE" + "AssemblyAsmDisplayName" = "8:System.Diagnostics.EventLog.Messages, Version=9.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51, processorArchitecture=MSIL" + "ScatterAssemblies" + { + "_C29ACC3724DB497CBA634956BDFC3607" + { + "Name" = "8:System.Diagnostics.EventLog.Messages.dll" + "Attributes" = "3:512" + } + } + "SourcePath" = "8:..\\leak_test_project\\bin\\Release\\net9.0-windows\\win-x64\\publish\\System.Diagnostics.EventLog.Messages.dll" + "TargetName" = "8:" + "Tag" = "8:" + "Folder" = "8:_62218C84F9DA4935A123ACECCBAC06B0" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:FALSE" + "IsolateTo" = "8:" + } + "{9F6F8455-1EF1-4B85-886A-4223BCC8E7F7}:_C463FD2014144D3ABFE41C612D35C014" + { + "AssemblyRegister" = "3:1" + "AssemblyIsInGAC" = "11:FALSE" + "AssemblyAsmDisplayName" = "8:System.Runtime.Serialization.Json, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL" + "ScatterAssemblies" + { + "_C463FD2014144D3ABFE41C612D35C014" + { + "Name" = "8:System.Runtime.Serialization.Json.dll" + "Attributes" = "3:512" + } + } + "SourcePath" = "8:..\\leak_test_project\\bin\\Release\\net9.0-windows\\win-x64\\publish\\System.Runtime.Serialization.Json.dll" + "TargetName" = "8:" + "Tag" = "8:" + "Folder" = "8:_62218C84F9DA4935A123ACECCBAC06B0" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:FALSE" + "IsolateTo" = "8:" + } + "{9F6F8455-1EF1-4B85-886A-4223BCC8E7F7}:_C4F6A258DAC346B5896CAD352E89A653" + { + "AssemblyRegister" = "3:1" + "AssemblyIsInGAC" = "11:FALSE" + "AssemblyAsmDisplayName" = "8:System.Collections.Concurrent, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL" + "ScatterAssemblies" + { + "_C4F6A258DAC346B5896CAD352E89A653" + { + "Name" = "8:System.Collections.Concurrent.dll" + "Attributes" = "3:512" + } + } + "SourcePath" = "8:..\\leak_test_project\\bin\\Release\\net9.0-windows\\win-x64\\publish\\System.Collections.Concurrent.dll" + "TargetName" = "8:" + "Tag" = "8:" + "Folder" = "8:_62218C84F9DA4935A123ACECCBAC06B0" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:FALSE" + "IsolateTo" = "8:" + } + "{9F6F8455-1EF1-4B85-886A-4223BCC8E7F7}:_C653534C72A8445D83D5885D02245F61" + { + "AssemblyRegister" = "3:1" + "AssemblyIsInGAC" = "11:FALSE" + "AssemblyAsmDisplayName" = "8:System.Net.Mail, Version=9.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51, processorArchitecture=MSIL" + "ScatterAssemblies" + { + "_C653534C72A8445D83D5885D02245F61" + { + "Name" = "8:System.Net.Mail.dll" + "Attributes" = "3:512" + } + } + "SourcePath" = "8:..\\leak_test_project\\bin\\Release\\net9.0-windows\\win-x64\\publish\\System.Net.Mail.dll" + "TargetName" = "8:" + "Tag" = "8:" + "Folder" = "8:_62218C84F9DA4935A123ACECCBAC06B0" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:FALSE" + "IsolateTo" = "8:" + } + "{9F6F8455-1EF1-4B85-886A-4223BCC8E7F7}:_C667F7C6655F91B4FF60A357F0D2A867" + { + "AssemblyRegister" = "3:1" + "AssemblyIsInGAC" = "11:FALSE" + "AssemblyAsmDisplayName" = "8:System.Data.Common, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL" + "ScatterAssemblies" + { + "_C667F7C6655F91B4FF60A357F0D2A867" + { + "Name" = "8:System.Data.Common.dll" + "Attributes" = "3:512" + } + } + "SourcePath" = "8:System.Data.Common.dll" + "TargetName" = "8:" + "Tag" = "8:" + "Folder" = "8:_62218C84F9DA4935A123ACECCBAC06B0" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:TRUE" + "IsolateTo" = "8:" + } + "{9F6F8455-1EF1-4B85-886A-4223BCC8E7F7}:_C69BBEF08C88477D8A7539AF17B2A342" + { + "AssemblyRegister" = "3:1" + "AssemblyIsInGAC" = "11:FALSE" + "AssemblyAsmDisplayName" = "8:System.Diagnostics.Debug, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL" + "ScatterAssemblies" + { + "_C69BBEF08C88477D8A7539AF17B2A342" + { + "Name" = "8:System.Diagnostics.Debug.dll" + "Attributes" = "3:512" + } + } + "SourcePath" = "8:..\\leak_test_project\\bin\\Release\\net9.0-windows\\win-x64\\publish\\System.Diagnostics.Debug.dll" + "TargetName" = "8:" + "Tag" = "8:" + "Folder" = "8:_62218C84F9DA4935A123ACECCBAC06B0" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:FALSE" + "IsolateTo" = "8:" + } + "{9F6F8455-1EF1-4B85-886A-4223BCC8E7F7}:_C922CCA4B33A3F683FACF8530ED7F75B" + { + "AssemblyRegister" = "3:1" + "AssemblyIsInGAC" = "11:FALSE" + "AssemblyAsmDisplayName" = "8:System.Diagnostics.Contracts, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL" + "ScatterAssemblies" + { + "_C922CCA4B33A3F683FACF8530ED7F75B" + { + "Name" = "8:System.Diagnostics.Contracts.dll" + "Attributes" = "3:512" + } + } + "SourcePath" = "8:System.Diagnostics.Contracts.dll" + "TargetName" = "8:" + "Tag" = "8:" + "Folder" = "8:_62218C84F9DA4935A123ACECCBAC06B0" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:TRUE" + "IsolateTo" = "8:" + } + "{9F6F8455-1EF1-4B85-886A-4223BCC8E7F7}:_CA4B52A27EAD6182A25A7C52717E27A1" + { + "AssemblyRegister" = "3:1" + "AssemblyIsInGAC" = "11:FALSE" + "AssemblyAsmDisplayName" = "8:System.Resources.ResourceManager, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL" + "ScatterAssemblies" + { + "_CA4B52A27EAD6182A25A7C52717E27A1" + { + "Name" = "8:System.Resources.ResourceManager.dll" + "Attributes" = "3:512" + } + } + "SourcePath" = "8:System.Resources.ResourceManager.dll" + "TargetName" = "8:" + "Tag" = "8:" + "Folder" = "8:_62218C84F9DA4935A123ACECCBAC06B0" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:TRUE" + "IsolateTo" = "8:" + } + "{9F6F8455-1EF1-4B85-886A-4223BCC8E7F7}:_CB93347BD17E465AB8DCE6E7803A8994" + { + "AssemblyRegister" = "3:1" + "AssemblyIsInGAC" = "11:FALSE" + "AssemblyAsmDisplayName" = "8:System.Private.Xml, Version=9.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51, processorArchitecture=MSIL" + "ScatterAssemblies" + { + "_CB93347BD17E465AB8DCE6E7803A8994" + { + "Name" = "8:System.Private.Xml.dll" + "Attributes" = "3:512" + } + } + "SourcePath" = "8:..\\leak_test_project\\bin\\Release\\net9.0-windows\\win-x64\\publish\\System.Private.Xml.dll" + "TargetName" = "8:" + "Tag" = "8:" + "Folder" = "8:_62218C84F9DA4935A123ACECCBAC06B0" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:FALSE" + "IsolateTo" = "8:" + } + "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_CCB0E2DD4EC24AC48AB00B2CCA442F57" + { + "SourcePath" = "8:..\\leak_test_project\\bin\\Release\\net9.0-windows\\win-x64\\publish\\clrgc.dll" + "TargetName" = "8:clrgc.dll" + "Tag" = "8:" + "Folder" = "8:_62218C84F9DA4935A123ACECCBAC06B0" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:FALSE" + "IsolateTo" = "8:" + } + "{9F6F8455-1EF1-4B85-886A-4223BCC8E7F7}:_CD0B73F02BEE67C9B93B8E32BF37D932" + { + "AssemblyRegister" = "3:1" + "AssemblyIsInGAC" = "11:FALSE" + "AssemblyAsmDisplayName" = "8:System.Security.Principal, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL" + "ScatterAssemblies" + { + "_CD0B73F02BEE67C9B93B8E32BF37D932" + { + "Name" = "8:System.Security.Principal.dll" + "Attributes" = "3:512" + } + } + "SourcePath" = "8:System.Security.Principal.dll" + "TargetName" = "8:" + "Tag" = "8:" + "Folder" = "8:_62218C84F9DA4935A123ACECCBAC06B0" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:TRUE" + "IsolateTo" = "8:" + } + "{9F6F8455-1EF1-4B85-886A-4223BCC8E7F7}:_CD1D31055FF14AFBB6846698B54D5C38" + { + "AssemblyRegister" = "3:1" + "AssemblyIsInGAC" = "11:FALSE" + "AssemblyAsmDisplayName" = "8:System.Runtime.Handles, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL" + "ScatterAssemblies" + { + "_CD1D31055FF14AFBB6846698B54D5C38" + { + "Name" = "8:System.Runtime.Handles.dll" + "Attributes" = "3:512" + } + } + "SourcePath" = "8:..\\leak_test_project\\bin\\Release\\net9.0-windows\\win-x64\\publish\\System.Runtime.Handles.dll" + "TargetName" = "8:" + "Tag" = "8:" + "Folder" = "8:_62218C84F9DA4935A123ACECCBAC06B0" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:FALSE" + "IsolateTo" = "8:" + } + "{9F6F8455-1EF1-4B85-886A-4223BCC8E7F7}:_CF4BC0FBB809D9512674750602812472" + { + "AssemblyRegister" = "3:1" + "AssemblyIsInGAC" = "11:FALSE" + "AssemblyAsmDisplayName" = "8:System.IO.Ports, Version=9.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51, processorArchitecture=MSIL" + "ScatterAssemblies" + { + "_CF4BC0FBB809D9512674750602812472" + { + "Name" = "8:System.IO.Ports.dll" + "Attributes" = "3:512" + } + } + "SourcePath" = "8:System.IO.Ports.dll" + "TargetName" = "8:" + "Tag" = "8:" + "Folder" = "8:_62218C84F9DA4935A123ACECCBAC06B0" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:TRUE" + "IsolateTo" = "8:" + } + "{9F6F8455-1EF1-4B85-886A-4223BCC8E7F7}:_CF5F023E64024115B138FC74C0E7ED3D" + { + "AssemblyRegister" = "3:1" + "AssemblyIsInGAC" = "11:FALSE" + "AssemblyAsmDisplayName" = "8:System.DirectoryServices, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL" + "ScatterAssemblies" + { + "_CF5F023E64024115B138FC74C0E7ED3D" + { + "Name" = "8:System.DirectoryServices.dll" + "Attributes" = "3:512" + } + } + "SourcePath" = "8:..\\leak_test_project\\bin\\Release\\net9.0-windows\\win-x64\\publish\\System.DirectoryServices.dll" + "TargetName" = "8:" + "Tag" = "8:" + "Folder" = "8:_62218C84F9DA4935A123ACECCBAC06B0" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:FALSE" + "IsolateTo" = "8:" + } + "{9F6F8455-1EF1-4B85-886A-4223BCC8E7F7}:_CF6116D74539692C6BD1F1CF4D8059DF" + { + "AssemblyRegister" = "3:1" + "AssemblyIsInGAC" = "11:FALSE" + "AssemblyAsmDisplayName" = "8:System.IO.Pipes, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL" + "ScatterAssemblies" + { + "_CF6116D74539692C6BD1F1CF4D8059DF" + { + "Name" = "8:System.IO.Pipes.dll" + "Attributes" = "3:512" + } + } + "SourcePath" = "8:System.IO.Pipes.dll" + "TargetName" = "8:" + "Tag" = "8:" + "Folder" = "8:_62218C84F9DA4935A123ACECCBAC06B0" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:TRUE" + "IsolateTo" = "8:" + } + "{9F6F8455-1EF1-4B85-886A-4223BCC8E7F7}:_CF6A574E633AAD24E09D1D01FAF8B744" + { + "AssemblyRegister" = "3:1" + "AssemblyIsInGAC" = "11:FALSE" + "AssemblyAsmDisplayName" = "8:System.Runtime.CompilerServices.VisualC, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL" + "ScatterAssemblies" + { + "_CF6A574E633AAD24E09D1D01FAF8B744" + { + "Name" = "8:System.Runtime.CompilerServices.VisualC.dll" + "Attributes" = "3:512" + } + } + "SourcePath" = "8:System.Runtime.CompilerServices.VisualC.dll" + "TargetName" = "8:" + "Tag" = "8:" + "Folder" = "8:_62218C84F9DA4935A123ACECCBAC06B0" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:TRUE" + "IsolateTo" = "8:" + } + "{9F6F8455-1EF1-4B85-886A-4223BCC8E7F7}:_CF83C7FEDEC9BC4B657C71FCF7227058" + { + "AssemblyRegister" = "3:1" + "AssemblyIsInGAC" = "11:FALSE" + "AssemblyAsmDisplayName" = "8:System.Text.Encodings.Web, Version=9.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51, processorArchitecture=MSIL" + "ScatterAssemblies" + { + "_CF83C7FEDEC9BC4B657C71FCF7227058" + { + "Name" = "8:System.Text.Encodings.Web.dll" + "Attributes" = "3:512" + } + } + "SourcePath" = "8:System.Text.Encodings.Web.dll" + "TargetName" = "8:" + "Tag" = "8:" + "Folder" = "8:_62218C84F9DA4935A123ACECCBAC06B0" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:TRUE" + "IsolateTo" = "8:" + } + "{9F6F8455-1EF1-4B85-886A-4223BCC8E7F7}:_D05D4208BF233B832E5219D7F78FB58C" + { + "AssemblyRegister" = "3:1" + "AssemblyIsInGAC" = "11:FALSE" + "AssemblyAsmDisplayName" = "8:System.Security.Cryptography.Primitives, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL" + "ScatterAssemblies" + { + "_D05D4208BF233B832E5219D7F78FB58C" + { + "Name" = "8:System.Security.Cryptography.Primitives.dll" + "Attributes" = "3:512" + } + } + "SourcePath" = "8:System.Security.Cryptography.Primitives.dll" + "TargetName" = "8:" + "Tag" = "8:" + "Folder" = "8:_62218C84F9DA4935A123ACECCBAC06B0" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:TRUE" + "IsolateTo" = "8:" + } + "{9F6F8455-1EF1-4B85-886A-4223BCC8E7F7}:_D0B3A652520B49CC8F4841279D757E59" + { + "AssemblyRegister" = "3:1" + "AssemblyIsInGAC" = "11:FALSE" + "AssemblyAsmDisplayName" = "8:System.IO.FileSystem.AccessControl, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL" + "ScatterAssemblies" + { + "_D0B3A652520B49CC8F4841279D757E59" + { + "Name" = "8:System.IO.FileSystem.AccessControl.dll" + "Attributes" = "3:512" + } + } + "SourcePath" = "8:..\\leak_test_project\\bin\\Release\\net9.0-windows\\win-x64\\publish\\System.IO.FileSystem.AccessControl.dll" + "TargetName" = "8:" + "Tag" = "8:" + "Folder" = "8:_62218C84F9DA4935A123ACECCBAC06B0" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:FALSE" + "IsolateTo" = "8:" + } + "{9F6F8455-1EF1-4B85-886A-4223BCC8E7F7}:_D0DC57FA2200CA5B096E420B4E9B0BD3" + { + "AssemblyRegister" = "3:1" + "AssemblyIsInGAC" = "11:FALSE" + "AssemblyAsmDisplayName" = "8:System.Reflection, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL" + "ScatterAssemblies" + { + "_D0DC57FA2200CA5B096E420B4E9B0BD3" + { + "Name" = "8:System.Reflection.dll" + "Attributes" = "3:512" + } + } + "SourcePath" = "8:System.Reflection.dll" + "TargetName" = "8:" + "Tag" = "8:" + "Folder" = "8:_62218C84F9DA4935A123ACECCBAC06B0" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:TRUE" + "IsolateTo" = "8:" + } + "{9F6F8455-1EF1-4B85-886A-4223BCC8E7F7}:_D1A2212220B9F62101AB23547275030D" + { + "AssemblyRegister" = "3:1" + "AssemblyIsInGAC" = "11:FALSE" + "AssemblyAsmDisplayName" = "8:System.Diagnostics.Tools, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL" + "ScatterAssemblies" + { + "_D1A2212220B9F62101AB23547275030D" + { + "Name" = "8:System.Diagnostics.Tools.dll" + "Attributes" = "3:512" + } + } + "SourcePath" = "8:System.Diagnostics.Tools.dll" + "TargetName" = "8:" + "Tag" = "8:" + "Folder" = "8:_62218C84F9DA4935A123ACECCBAC06B0" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:TRUE" + "IsolateTo" = "8:" + } + "{9F6F8455-1EF1-4B85-886A-4223BCC8E7F7}:_D2F5B1B67E847180D49B9AC0EC1B558D" + { + "AssemblyRegister" = "3:1" + "AssemblyIsInGAC" = "11:TRUE" + "AssemblyAsmDisplayName" = "8:System.Runtime.Serialization.Primitives, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL" + "ScatterAssemblies" + { + "_D2F5B1B67E847180D49B9AC0EC1B558D" + { + "Name" = "8:System.Runtime.Serialization.Primitives.dll" + "Attributes" = "3:512" + } + } + "SourcePath" = "8:System.Runtime.Serialization.Primitives.dll" + "TargetName" = "8:" + "Tag" = "8:" + "Folder" = "8:_62218C84F9DA4935A123ACECCBAC06B0" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:TRUE" + "IsolateTo" = "8:" + } + "{9F6F8455-1EF1-4B85-886A-4223BCC8E7F7}:_D33EA1FEE5C8548B966E460AA1821279" + { + "AssemblyRegister" = "3:1" + "AssemblyIsInGAC" = "11:FALSE" + "AssemblyAsmDisplayName" = "8:System.Globalization.Extensions, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL" + "ScatterAssemblies" + { + "_D33EA1FEE5C8548B966E460AA1821279" + { + "Name" = "8:System.Globalization.Extensions.dll" + "Attributes" = "3:512" + } + } + "SourcePath" = "8:System.Globalization.Extensions.dll" + "TargetName" = "8:" + "Tag" = "8:" + "Folder" = "8:_62218C84F9DA4935A123ACECCBAC06B0" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:TRUE" + "IsolateTo" = "8:" + } + "{9F6F8455-1EF1-4B85-886A-4223BCC8E7F7}:_D34A9B35C4B0434C9A63DD65EEDC1226" + { + "AssemblyRegister" = "3:1" + "AssemblyIsInGAC" = "11:FALSE" + "AssemblyAsmDisplayName" = "8:System.Security.Cryptography.Algorithms, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL" + "ScatterAssemblies" + { + "_D34A9B35C4B0434C9A63DD65EEDC1226" + { + "Name" = "8:System.Security.Cryptography.Algorithms.dll" + "Attributes" = "3:512" + } + } + "SourcePath" = "8:..\\leak_test_project\\bin\\Release\\net9.0-windows\\win-x64\\publish\\System.Security.Cryptography.Algorithms.dll" + "TargetName" = "8:" + "Tag" = "8:" + "Folder" = "8:_62218C84F9DA4935A123ACECCBAC06B0" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:FALSE" + "IsolateTo" = "8:" + } + "{9F6F8455-1EF1-4B85-886A-4223BCC8E7F7}:_D3633B8ABDC546FD9B706F87CA11EB0D" + { + "AssemblyRegister" = "3:1" + "AssemblyIsInGAC" = "11:FALSE" + "AssemblyAsmDisplayName" = "8:System.Security.AccessControl, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL" + "ScatterAssemblies" + { + "_D3633B8ABDC546FD9B706F87CA11EB0D" + { + "Name" = "8:System.Security.AccessControl.dll" + "Attributes" = "3:512" + } + } + "SourcePath" = "8:..\\leak_test_project\\bin\\Release\\net9.0-windows\\win-x64\\publish\\System.Security.AccessControl.dll" + "TargetName" = "8:" + "Tag" = "8:" + "Folder" = "8:_62218C84F9DA4935A123ACECCBAC06B0" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:FALSE" + "IsolateTo" = "8:" + } + "{9F6F8455-1EF1-4B85-886A-4223BCC8E7F7}:_D4223ED3C06A3558BE43C03E1122A235" + { + "AssemblyRegister" = "3:1" + "AssemblyIsInGAC" = "11:FALSE" + "AssemblyAsmDisplayName" = "8:System.Collections, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL" + "ScatterAssemblies" + { + "_D4223ED3C06A3558BE43C03E1122A235" + { + "Name" = "8:System.Collections.dll" + "Attributes" = "3:512" + } + } + "SourcePath" = "8:System.Collections.dll" + "TargetName" = "8:" + "Tag" = "8:" + "Folder" = "8:_62218C84F9DA4935A123ACECCBAC06B0" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:TRUE" + "IsolateTo" = "8:" + } + "{9F6F8455-1EF1-4B85-886A-4223BCC8E7F7}:_D5654C7560B5435D91901BFD93D1B02C" + { + "AssemblyRegister" = "3:1" + "AssemblyIsInGAC" = "11:FALSE" + "AssemblyAsmDisplayName" = "8:System.Security.Cryptography.Cng, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL" + "ScatterAssemblies" + { + "_D5654C7560B5435D91901BFD93D1B02C" + { + "Name" = "8:System.Security.Cryptography.Cng.dll" + "Attributes" = "3:512" + } + } + "SourcePath" = "8:..\\leak_test_project\\bin\\Release\\net9.0-windows\\win-x64\\publish\\System.Security.Cryptography.Cng.dll" + "TargetName" = "8:" + "Tag" = "8:" + "Folder" = "8:_62218C84F9DA4935A123ACECCBAC06B0" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:FALSE" + "IsolateTo" = "8:" + } + "{9F6F8455-1EF1-4B85-886A-4223BCC8E7F7}:_D597560C350745FE81C7A6A9376E167B" + { + "AssemblyRegister" = "3:1" + "AssemblyIsInGAC" = "11:FALSE" + "AssemblyAsmDisplayName" = "8:System.Threading.Timer, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL" + "ScatterAssemblies" + { + "_D597560C350745FE81C7A6A9376E167B" + { + "Name" = "8:System.Threading.Timer.dll" + "Attributes" = "3:512" + } + } + "SourcePath" = "8:..\\leak_test_project\\bin\\Release\\net9.0-windows\\win-x64\\publish\\System.Threading.Timer.dll" + "TargetName" = "8:" + "Tag" = "8:" + "Folder" = "8:_62218C84F9DA4935A123ACECCBAC06B0" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:FALSE" + "IsolateTo" = "8:" + } + "{9F6F8455-1EF1-4B85-886A-4223BCC8E7F7}:_D622EAEACBA547CB5BB0B80EF2F9FBEC" + { + "AssemblyRegister" = "3:1" + "AssemblyIsInGAC" = "11:FALSE" + "AssemblyAsmDisplayName" = "8:DirectWriteForwarder, Version=9.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=AMD64" + "ScatterAssemblies" + { + "_D622EAEACBA547CB5BB0B80EF2F9FBEC" + { + "Name" = "8:DirectWriteForwarder.dll" + "Attributes" = "3:512" + } + } + "SourcePath" = "8:DirectWriteForwarder.dll" + "TargetName" = "8:" + "Tag" = "8:" + "Folder" = "8:_62218C84F9DA4935A123ACECCBAC06B0" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:TRUE" + "IsolateTo" = "8:" + } + "{9F6F8455-1EF1-4B85-886A-4223BCC8E7F7}:_D64A9B36F8244321A075359E498601DC" + { + "AssemblyRegister" = "3:1" + "AssemblyIsInGAC" = "11:FALSE" + "AssemblyAsmDisplayName" = "8:Microsoft.VisualBasic.Core, Version=14.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL" + "ScatterAssemblies" + { + "_D64A9B36F8244321A075359E498601DC" + { + "Name" = "8:Microsoft.VisualBasic.Core.dll" + "Attributes" = "3:512" + } + } + "SourcePath" = "8:..\\leak_test_project\\bin\\Release\\net9.0-windows\\win-x64\\publish\\Microsoft.VisualBasic.Core.dll" + "TargetName" = "8:" + "Tag" = "8:" + "Folder" = "8:_62218C84F9DA4935A123ACECCBAC06B0" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:FALSE" + "IsolateTo" = "8:" + } + "{9F6F8455-1EF1-4B85-886A-4223BCC8E7F7}:_D68919677686C38D6B7CA42727FFEA37" + { + "AssemblyRegister" = "3:1" + "AssemblyIsInGAC" = "11:FALSE" + "AssemblyAsmDisplayName" = "8:System.IO.FileSystem.DriveInfo, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL" + "ScatterAssemblies" + { + "_D68919677686C38D6B7CA42727FFEA37" + { + "Name" = "8:System.IO.FileSystem.DriveInfo.dll" + "Attributes" = "3:512" + } + } + "SourcePath" = "8:System.IO.FileSystem.DriveInfo.dll" + "TargetName" = "8:" + "Tag" = "8:" + "Folder" = "8:_62218C84F9DA4935A123ACECCBAC06B0" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:TRUE" + "IsolateTo" = "8:" + } + "{9F6F8455-1EF1-4B85-886A-4223BCC8E7F7}:_D6BCE047962E4F8624B9B58386A3C017" + { + "AssemblyRegister" = "3:1" + "AssemblyIsInGAC" = "11:FALSE" + "AssemblyAsmDisplayName" = "8:System.Globalization.Calendars, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL" + "ScatterAssemblies" + { + "_D6BCE047962E4F8624B9B58386A3C017" + { + "Name" = "8:System.Globalization.Calendars.dll" + "Attributes" = "3:512" + } + } + "SourcePath" = "8:System.Globalization.Calendars.dll" + "TargetName" = "8:" + "Tag" = "8:" + "Folder" = "8:_62218C84F9DA4935A123ACECCBAC06B0" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:TRUE" + "IsolateTo" = "8:" + } + "{9F6F8455-1EF1-4B85-886A-4223BCC8E7F7}:_D76106A7441D4D69929B6B9E08B24846" + { + "AssemblyRegister" = "3:1" + "AssemblyIsInGAC" = "11:FALSE" + "AssemblyAsmDisplayName" = "8:Microsoft.VisualStudio.Setup.Configuration.Interop, Version=1.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL" + "ScatterAssemblies" + { + "_D76106A7441D4D69929B6B9E08B24846" + { + "Name" = "8:Microsoft.VisualStudio.Setup.Configuration.Interop.dll" + "Attributes" = "3:512" + } + } + "SourcePath" = "8:..\\leak_test_project\\bin\\Release\\net9.0-windows\\win-x64\\publish\\Microsoft.VisualStudio.Setup.Configuration.Interop.dll" + "TargetName" = "8:" + "Tag" = "8:" + "Folder" = "8:_62218C84F9DA4935A123ACECCBAC06B0" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:FALSE" + "IsolateTo" = "8:" + } + "{9F6F8455-1EF1-4B85-886A-4223BCC8E7F7}:_D7B13A1948A74A85A3F106345CFBD518" + { + "AssemblyRegister" = "3:1" + "AssemblyIsInGAC" = "11:FALSE" + "AssemblyAsmDisplayName" = "8:System.Reflection.TypeExtensions, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL" + "ScatterAssemblies" + { + "_D7B13A1948A74A85A3F106345CFBD518" + { + "Name" = "8:System.Reflection.TypeExtensions.dll" + "Attributes" = "3:512" + } + } + "SourcePath" = "8:..\\leak_test_project\\bin\\Release\\net9.0-windows\\win-x64\\publish\\System.Reflection.TypeExtensions.dll" + "TargetName" = "8:" + "Tag" = "8:" + "Folder" = "8:_62218C84F9DA4935A123ACECCBAC06B0" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:FALSE" + "IsolateTo" = "8:" + } + "{9F6F8455-1EF1-4B85-886A-4223BCC8E7F7}:_D9A8CF85057F4275B76CBA27451FBBB5" + { + "AssemblyRegister" = "3:1" + "AssemblyIsInGAC" = "11:FALSE" + "AssemblyAsmDisplayName" = "8:System.Net.WebProxy, Version=9.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51, processorArchitecture=MSIL" + "ScatterAssemblies" + { + "_D9A8CF85057F4275B76CBA27451FBBB5" + { + "Name" = "8:System.Net.WebProxy.dll" + "Attributes" = "3:512" + } + } + "SourcePath" = "8:..\\leak_test_project\\bin\\Release\\net9.0-windows\\win-x64\\publish\\System.Net.WebProxy.dll" + "TargetName" = "8:" + "Tag" = "8:" + "Folder" = "8:_62218C84F9DA4935A123ACECCBAC06B0" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:FALSE" + "IsolateTo" = "8:" + } + "{9F6F8455-1EF1-4B85-886A-4223BCC8E7F7}:_D9EDC201718B1D32E78471AA154D1175" + { + "AssemblyRegister" = "3:1" + "AssemblyIsInGAC" = "11:FALSE" + "AssemblyAsmDisplayName" = "8:System.IO.Packaging, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL" + "ScatterAssemblies" + { + "_D9EDC201718B1D32E78471AA154D1175" + { + "Name" = "8:System.IO.Packaging.dll" + "Attributes" = "3:512" + } + } + "SourcePath" = "8:System.IO.Packaging.dll" + "TargetName" = "8:" + "Tag" = "8:" + "Folder" = "8:_62218C84F9DA4935A123ACECCBAC06B0" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:TRUE" + "IsolateTo" = "8:" + } + "{9F6F8455-1EF1-4B85-886A-4223BCC8E7F7}:_DA0E578E801344D796ECF6D33EFC3C6B" + { + "AssemblyRegister" = "3:1" + "AssemblyIsInGAC" = "11:FALSE" + "AssemblyAsmDisplayName" = "8:System.Threading.Tasks.Parallel, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL" + "ScatterAssemblies" + { + "_DA0E578E801344D796ECF6D33EFC3C6B" + { + "Name" = "8:System.Threading.Tasks.Parallel.dll" + "Attributes" = "3:512" + } + } + "SourcePath" = "8:..\\leak_test_project\\bin\\Release\\net9.0-windows\\win-x64\\publish\\System.Threading.Tasks.Parallel.dll" + "TargetName" = "8:" + "Tag" = "8:" + "Folder" = "8:_62218C84F9DA4935A123ACECCBAC06B0" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:FALSE" + "IsolateTo" = "8:" + } + "{9F6F8455-1EF1-4B85-886A-4223BCC8E7F7}:_DBD54E3B65E9E28524DF5D6FE00882D2" + { + "AssemblyRegister" = "3:1" + "AssemblyIsInGAC" = "11:FALSE" + "AssemblyAsmDisplayName" = "8:System.Runtime.InteropServices.RuntimeInformation, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL" + "ScatterAssemblies" + { + "_DBD54E3B65E9E28524DF5D6FE00882D2" + { + "Name" = "8:System.Runtime.InteropServices.RuntimeInformation.dll" + "Attributes" = "3:512" + } + } + "SourcePath" = "8:System.Runtime.InteropServices.RuntimeInformation.dll" + "TargetName" = "8:" + "Tag" = "8:" + "Folder" = "8:_62218C84F9DA4935A123ACECCBAC06B0" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:TRUE" + "IsolateTo" = "8:" + } + "{9F6F8455-1EF1-4B85-886A-4223BCC8E7F7}:_DC8D8DBC37CC4A48BAF0DC5E82766D9C" + { + "AssemblyRegister" = "3:1" + "AssemblyIsInGAC" = "11:FALSE" + "AssemblyAsmDisplayName" = "8:System.Security.Cryptography, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL" + "ScatterAssemblies" + { + "_DC8D8DBC37CC4A48BAF0DC5E82766D9C" + { + "Name" = "8:System.Security.Cryptography.dll" + "Attributes" = "3:512" + } + } + "SourcePath" = "8:..\\leak_test_project\\bin\\Release\\net9.0-windows\\win-x64\\publish\\System.Security.Cryptography.dll" + "TargetName" = "8:" + "Tag" = "8:" + "Folder" = "8:_62218C84F9DA4935A123ACECCBAC06B0" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:FALSE" + "IsolateTo" = "8:" + } + "{9F6F8455-1EF1-4B85-886A-4223BCC8E7F7}:_DCB56155B9554650BA7B0BF6B07C7CB0" + { + "AssemblyRegister" = "3:1" + "AssemblyIsInGAC" = "11:FALSE" + "AssemblyAsmDisplayName" = "8:System.Net.ServicePoint, Version=9.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51, processorArchitecture=MSIL" + "ScatterAssemblies" + { + "_DCB56155B9554650BA7B0BF6B07C7CB0" + { + "Name" = "8:System.Net.ServicePoint.dll" + "Attributes" = "3:512" + } + } + "SourcePath" = "8:..\\leak_test_project\\bin\\Release\\net9.0-windows\\win-x64\\publish\\System.Net.ServicePoint.dll" + "TargetName" = "8:" + "Tag" = "8:" + "Folder" = "8:_62218C84F9DA4935A123ACECCBAC06B0" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:FALSE" + "IsolateTo" = "8:" + } + "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_DCE3753EDF454DE48A23729FC0701512" + { + "SourcePath" = "8:..\\leak_test_project\\bin\\Release\\net9.0-windows\\win-x64\\publish\\leak_test_project.dll.config" + "TargetName" = "8:leak_test_project.dll.config" + "Tag" = "8:" + "Folder" = "8:_62218C84F9DA4935A123ACECCBAC06B0" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:FALSE" + "IsolateTo" = "8:" + } + "{9F6F8455-1EF1-4B85-886A-4223BCC8E7F7}:_DD2B1DC8C4F5391A6425E017050F8D44" + { + "AssemblyRegister" = "3:1" + "AssemblyIsInGAC" = "11:FALSE" + "AssemblyAsmDisplayName" = "8:System.Runtime, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL" + "ScatterAssemblies" + { + "_DD2B1DC8C4F5391A6425E017050F8D44" + { + "Name" = "8:System.Runtime.dll" + "Attributes" = "3:512" + } + } + "SourcePath" = "8:System.Runtime.dll" + "TargetName" = "8:" + "Tag" = "8:" + "Folder" = "8:_62218C84F9DA4935A123ACECCBAC06B0" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:TRUE" + "IsolateTo" = "8:" + } + "{9F6F8455-1EF1-4B85-886A-4223BCC8E7F7}:_DD58016D60544560AA5E49FFE8AF107F" + { + "AssemblyRegister" = "3:1" + "AssemblyIsInGAC" = "11:FALSE" + "AssemblyAsmDisplayName" = "8:System.Windows.Extensions, Version=9.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51, processorArchitecture=MSIL" + "ScatterAssemblies" + { + "_DD58016D60544560AA5E49FFE8AF107F" + { + "Name" = "8:System.Windows.Extensions.dll" + "Attributes" = "3:512" + } + } + "SourcePath" = "8:..\\leak_test_project\\bin\\Release\\net9.0-windows\\win-x64\\publish\\System.Windows.Extensions.dll" + "TargetName" = "8:" + "Tag" = "8:" + "Folder" = "8:_62218C84F9DA4935A123ACECCBAC06B0" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:FALSE" + "IsolateTo" = "8:" + } + "{9F6F8455-1EF1-4B85-886A-4223BCC8E7F7}:_DE83CAAB19114C6E890BA043FEE970D6" + { + "AssemblyRegister" = "3:1" + "AssemblyIsInGAC" = "11:FALSE" + "AssemblyAsmDisplayName" = "8:System.Xml.Serialization, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089, processorArchitecture=MSIL" + "ScatterAssemblies" + { + "_DE83CAAB19114C6E890BA043FEE970D6" + { + "Name" = "8:System.Xml.Serialization.dll" + "Attributes" = "3:512" + } + } + "SourcePath" = "8:..\\leak_test_project\\bin\\Release\\net9.0-windows\\win-x64\\publish\\System.Xml.Serialization.dll" + "TargetName" = "8:" + "Tag" = "8:" + "Folder" = "8:_62218C84F9DA4935A123ACECCBAC06B0" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:FALSE" + "IsolateTo" = "8:" + } + "{9F6F8455-1EF1-4B85-886A-4223BCC8E7F7}:_DEF479EB1CA54386FD91A25911605878" + { + "AssemblyRegister" = "3:1" + "AssemblyIsInGAC" = "11:FALSE" + "AssemblyAsmDisplayName" = "8:System.Security.Claims, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL" + "ScatterAssemblies" + { + "_DEF479EB1CA54386FD91A25911605878" + { + "Name" = "8:System.Security.Claims.dll" + "Attributes" = "3:512" + } + } + "SourcePath" = "8:System.Security.Claims.dll" + "TargetName" = "8:" + "Tag" = "8:" + "Folder" = "8:_62218C84F9DA4935A123ACECCBAC06B0" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:TRUE" + "IsolateTo" = "8:" + } + "{9F6F8455-1EF1-4B85-886A-4223BCC8E7F7}:_DF0A22E9FCBC4DC7B7B85C268419DDC7" + { + "AssemblyRegister" = "3:1" + "AssemblyIsInGAC" = "11:FALSE" + "AssemblyAsmDisplayName" = "8:System.Threading, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL" + "ScatterAssemblies" + { + "_DF0A22E9FCBC4DC7B7B85C268419DDC7" + { + "Name" = "8:System.Threading.dll" + "Attributes" = "3:512" + } + } + "SourcePath" = "8:..\\leak_test_project\\bin\\Release\\net9.0-windows\\win-x64\\publish\\System.Threading.dll" + "TargetName" = "8:" + "Tag" = "8:" + "Folder" = "8:_62218C84F9DA4935A123ACECCBAC06B0" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:FALSE" + "IsolateTo" = "8:" + } + "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_DF1E3B1EACE54710B4A72113DB26C91B" + { + "SourcePath" = "8:..\\leak_test_project\\bin\\Release\\net9.0-windows\\win-x64\\publish\\PCI-Dask.dll" + "TargetName" = "8:PCI-Dask.dll" + "Tag" = "8:" + "Folder" = "8:_62218C84F9DA4935A123ACECCBAC06B0" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:FALSE" + "IsolateTo" = "8:" + } + "{9F6F8455-1EF1-4B85-886A-4223BCC8E7F7}:_DF6FCAF566474F6C802DF369530FB263" + { + "AssemblyRegister" = "3:1" + "AssemblyIsInGAC" = "11:FALSE" + "AssemblyAsmDisplayName" = "8:System.Drawing.Primitives, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL" + "ScatterAssemblies" + { + "_DF6FCAF566474F6C802DF369530FB263" + { + "Name" = "8:System.Drawing.Primitives.dll" + "Attributes" = "3:512" + } + } + "SourcePath" = "8:..\\leak_test_project\\bin\\Release\\net9.0-windows\\win-x64\\publish\\System.Drawing.Primitives.dll" + "TargetName" = "8:" + "Tag" = "8:" + "Folder" = "8:_62218C84F9DA4935A123ACECCBAC06B0" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:FALSE" + "IsolateTo" = "8:" + } + "{9F6F8455-1EF1-4B85-886A-4223BCC8E7F7}:_DF78794EEA35F4996762557B6D1F24DF" + { + "AssemblyRegister" = "3:1" + "AssemblyIsInGAC" = "11:FALSE" + "AssemblyAsmDisplayName" = "8:System.Console, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL" + "ScatterAssemblies" + { + "_DF78794EEA35F4996762557B6D1F24DF" + { + "Name" = "8:System.Console.dll" + "Attributes" = "3:512" + } + } + "SourcePath" = "8:System.Console.dll" + "TargetName" = "8:" + "Tag" = "8:" + "Folder" = "8:_62218C84F9DA4935A123ACECCBAC06B0" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:TRUE" + "IsolateTo" = "8:" + } + "{9F6F8455-1EF1-4B85-886A-4223BCC8E7F7}:_DFD6318B26A44001021430E8B801CE7A" + { + "AssemblyRegister" = "3:1" + "AssemblyIsInGAC" = "11:FALSE" + "AssemblyAsmDisplayName" = "8:System.Data.SqlClient, Version=4.6.1.6, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL" + "ScatterAssemblies" + { + "_DFD6318B26A44001021430E8B801CE7A" + { + "Name" = "8:System.Data.SqlClient.dll" + "Attributes" = "3:512" + } + } + "SourcePath" = "8:System.Data.SqlClient.dll" + "TargetName" = "8:" + "Tag" = "8:" + "Folder" = "8:_62218C84F9DA4935A123ACECCBAC06B0" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:TRUE" + "IsolateTo" = "8:" + } + "{9F6F8455-1EF1-4B85-886A-4223BCC8E7F7}:_E0BFD1F79198404FBE500F4824FF0905" + { + "AssemblyRegister" = "3:1" + "AssemblyIsInGAC" = "11:FALSE" + "AssemblyAsmDisplayName" = "8:System.Collections.NonGeneric, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL" + "ScatterAssemblies" + { + "_E0BFD1F79198404FBE500F4824FF0905" + { + "Name" = "8:System.Collections.NonGeneric.dll" + "Attributes" = "3:512" + } + } + "SourcePath" = "8:..\\leak_test_project\\bin\\Release\\net9.0-windows\\win-x64\\publish\\System.Collections.NonGeneric.dll" + "TargetName" = "8:" + "Tag" = "8:" + "Folder" = "8:_62218C84F9DA4935A123ACECCBAC06B0" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:FALSE" + "IsolateTo" = "8:" + } + "{9F6F8455-1EF1-4B85-886A-4223BCC8E7F7}:_E0FE5833AD3E054566DD4BE6AD0607BD" + { + "AssemblyRegister" = "3:1" + "AssemblyIsInGAC" = "11:FALSE" + "AssemblyAsmDisplayName" = "8:System.IO.FileSystem.Watcher, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL" + "ScatterAssemblies" + { + "_E0FE5833AD3E054566DD4BE6AD0607BD" + { + "Name" = "8:System.IO.FileSystem.Watcher.dll" + "Attributes" = "3:512" + } + } + "SourcePath" = "8:System.IO.FileSystem.Watcher.dll" + "TargetName" = "8:" + "Tag" = "8:" + "Folder" = "8:_62218C84F9DA4935A123ACECCBAC06B0" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:TRUE" + "IsolateTo" = "8:" + } + "{9F6F8455-1EF1-4B85-886A-4223BCC8E7F7}:_E244DF62356040C99174B6A95091F933" + { + "AssemblyRegister" = "3:1" + "AssemblyIsInGAC" = "11:FALSE" + "AssemblyAsmDisplayName" = "8:System.Net.WebClient, Version=9.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51, processorArchitecture=MSIL" + "ScatterAssemblies" + { + "_E244DF62356040C99174B6A95091F933" + { + "Name" = "8:System.Net.WebClient.dll" + "Attributes" = "3:512" + } + } + "SourcePath" = "8:..\\leak_test_project\\bin\\Release\\net9.0-windows\\win-x64\\publish\\System.Net.WebClient.dll" + "TargetName" = "8:" + "Tag" = "8:" + "Folder" = "8:_62218C84F9DA4935A123ACECCBAC06B0" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:FALSE" + "IsolateTo" = "8:" + } + "{9F6F8455-1EF1-4B85-886A-4223BCC8E7F7}:_E3D0A6FB355A4EEAB008A5BEF4D333D3" + { + "AssemblyRegister" = "3:1" + "AssemblyIsInGAC" = "11:FALSE" + "AssemblyAsmDisplayName" = "8:Microsoft.Win32.Registry, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL" + "ScatterAssemblies" + { + "_E3D0A6FB355A4EEAB008A5BEF4D333D3" + { + "Name" = "8:Microsoft.Win32.Registry.dll" + "Attributes" = "3:512" + } + } + "SourcePath" = "8:..\\leak_test_project\\bin\\Release\\net9.0-windows\\win-x64\\publish\\Microsoft.Win32.Registry.dll" + "TargetName" = "8:" + "Tag" = "8:" + "Folder" = "8:_62218C84F9DA4935A123ACECCBAC06B0" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:FALSE" + "IsolateTo" = "8:" + } + "{9F6F8455-1EF1-4B85-886A-4223BCC8E7F7}:_E42E535A4E594AE395E6034A11D0BC18" + { + "AssemblyRegister" = "3:1" + "AssemblyIsInGAC" = "11:FALSE" + "AssemblyAsmDisplayName" = "8:System.Runtime.Loader, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL" + "ScatterAssemblies" + { + "_E42E535A4E594AE395E6034A11D0BC18" + { + "Name" = "8:System.Runtime.Loader.dll" + "Attributes" = "3:512" + } + } + "SourcePath" = "8:..\\leak_test_project\\bin\\Release\\net9.0-windows\\win-x64\\publish\\System.Runtime.Loader.dll" + "TargetName" = "8:" + "Tag" = "8:" + "Folder" = "8:_62218C84F9DA4935A123ACECCBAC06B0" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:FALSE" + "IsolateTo" = "8:" + } + "{9F6F8455-1EF1-4B85-886A-4223BCC8E7F7}:_E465A96BEFD6704FF1A87F0746A71AE7" + { + "AssemblyRegister" = "3:1" + "AssemblyIsInGAC" = "11:FALSE" + "AssemblyAsmDisplayName" = "8:System.Xml.ReaderWriter, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL" + "ScatterAssemblies" + { + "_E465A96BEFD6704FF1A87F0746A71AE7" + { + "Name" = "8:System.Xml.ReaderWriter.dll" + "Attributes" = "3:512" + } + } + "SourcePath" = "8:System.Xml.ReaderWriter.dll" + "TargetName" = "8:" + "Tag" = "8:" + "Folder" = "8:_62218C84F9DA4935A123ACECCBAC06B0" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:TRUE" + "IsolateTo" = "8:" + } + "{9F6F8455-1EF1-4B85-886A-4223BCC8E7F7}:_E485E664B108312262981F501B2F4848" + { + "AssemblyRegister" = "3:1" + "AssemblyIsInGAC" = "11:FALSE" + "AssemblyAsmDisplayName" = "8:System.Windows.Extensions, Version=9.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51, processorArchitecture=MSIL" + "ScatterAssemblies" + { + "_E485E664B108312262981F501B2F4848" + { + "Name" = "8:System.Windows.Extensions.dll" + "Attributes" = "3:512" + } + } + "SourcePath" = "8:System.Windows.Extensions.dll" + "TargetName" = "8:" + "Tag" = "8:" + "Folder" = "8:_62218C84F9DA4935A123ACECCBAC06B0" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:TRUE" + "IsolateTo" = "8:" + } + "{9F6F8455-1EF1-4B85-886A-4223BCC8E7F7}:_E4CAF456C17123C182993937E22CEC06" + { + "AssemblyRegister" = "3:1" + "AssemblyIsInGAC" = "11:FALSE" + "AssemblyAsmDisplayName" = "8:System.Net.Ping, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL" + "ScatterAssemblies" + { + "_E4CAF456C17123C182993937E22CEC06" + { + "Name" = "8:System.Net.Ping.dll" + "Attributes" = "3:512" + } + } + "SourcePath" = "8:System.Net.Ping.dll" + "TargetName" = "8:" + "Tag" = "8:" + "Folder" = "8:_62218C84F9DA4935A123ACECCBAC06B0" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:TRUE" + "IsolateTo" = "8:" + } + "{9F6F8455-1EF1-4B85-886A-4223BCC8E7F7}:_E53299A8F1614EEBA2E2BAFBABC0D9CF" + { + "AssemblyRegister" = "3:1" + "AssemblyIsInGAC" = "11:FALSE" + "AssemblyAsmDisplayName" = "8:System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089, processorArchitecture=MSIL" + "ScatterAssemblies" + { + "_E53299A8F1614EEBA2E2BAFBABC0D9CF" + { + "Name" = "8:System.dll" + "Attributes" = "3:512" + } + } + "SourcePath" = "8:..\\leak_test_project\\bin\\Release\\net9.0-windows\\win-x64\\publish\\System.dll" + "TargetName" = "8:" + "Tag" = "8:" + "Folder" = "8:_62218C84F9DA4935A123ACECCBAC06B0" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:FALSE" + "IsolateTo" = "8:" + } + "{9F6F8455-1EF1-4B85-886A-4223BCC8E7F7}:_E5AFBB1B30114A789F779E58DF75A852" + { + "AssemblyRegister" = "3:1" + "AssemblyIsInGAC" = "11:FALSE" + "AssemblyAsmDisplayName" = "8:System.Reflection.Emit.ILGeneration, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL" + "ScatterAssemblies" + { + "_E5AFBB1B30114A789F779E58DF75A852" + { + "Name" = "8:System.Reflection.Emit.ILGeneration.dll" + "Attributes" = "3:512" + } + } + "SourcePath" = "8:..\\leak_test_project\\bin\\Release\\net9.0-windows\\win-x64\\publish\\System.Reflection.Emit.ILGeneration.dll" + "TargetName" = "8:" + "Tag" = "8:" + "Folder" = "8:_62218C84F9DA4935A123ACECCBAC06B0" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:FALSE" + "IsolateTo" = "8:" + } + "{9F6F8455-1EF1-4B85-886A-4223BCC8E7F7}:_E62C1A012A4E40798DE80BE3E6A4E951" + { + "AssemblyRegister" = "3:1" + "AssemblyIsInGAC" = "11:FALSE" + "AssemblyAsmDisplayName" = "8:PresentationFramework.Royale, Version=9.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=AMD64" + "ScatterAssemblies" + { + "_E62C1A012A4E40798DE80BE3E6A4E951" + { + "Name" = "8:PresentationFramework.Royale.dll" + "Attributes" = "3:512" + } + } + "SourcePath" = "8:..\\leak_test_project\\bin\\Release\\net9.0-windows\\win-x64\\publish\\PresentationFramework.Royale.dll" + "TargetName" = "8:" + "Tag" = "8:" + "Folder" = "8:_62218C84F9DA4935A123ACECCBAC06B0" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:FALSE" + "IsolateTo" = "8:" + } + "{9F6F8455-1EF1-4B85-886A-4223BCC8E7F7}:_E6B3C16CBF144D8DA164B0E62D5B044B" + { + "AssemblyRegister" = "3:1" + "AssemblyIsInGAC" = "11:FALSE" + "AssemblyAsmDisplayName" = "8:System.Runtime.CompilerServices.VisualC, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL" + "ScatterAssemblies" + { + "_E6B3C16CBF144D8DA164B0E62D5B044B" + { + "Name" = "8:System.Runtime.CompilerServices.VisualC.dll" + "Attributes" = "3:512" + } + } + "SourcePath" = "8:..\\leak_test_project\\bin\\Release\\net9.0-windows\\win-x64\\publish\\System.Runtime.CompilerServices.VisualC.dll" + "TargetName" = "8:" + "Tag" = "8:" + "Folder" = "8:_62218C84F9DA4935A123ACECCBAC06B0" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:FALSE" + "IsolateTo" = "8:" + } + "{9F6F8455-1EF1-4B85-886A-4223BCC8E7F7}:_E6E01B452F794D809E309DFC0BD53908" + { + "AssemblyRegister" = "3:1" + "AssemblyIsInGAC" = "11:FALSE" + "AssemblyAsmDisplayName" = "8:System.Globalization.Calendars, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL" + "ScatterAssemblies" + { + "_E6E01B452F794D809E309DFC0BD53908" + { + "Name" = "8:System.Globalization.Calendars.dll" + "Attributes" = "3:512" + } + } + "SourcePath" = "8:..\\leak_test_project\\bin\\Release\\net9.0-windows\\win-x64\\publish\\System.Globalization.Calendars.dll" + "TargetName" = "8:" + "Tag" = "8:" + "Folder" = "8:_62218C84F9DA4935A123ACECCBAC06B0" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:FALSE" + "IsolateTo" = "8:" + } + "{9F6F8455-1EF1-4B85-886A-4223BCC8E7F7}:_E78DD49ECC6739D6B2F1BD05764DAC06" + { + "AssemblyRegister" = "3:1" + "AssemblyIsInGAC" = "11:FALSE" + "AssemblyAsmDisplayName" = "8:System.Threading.Thread, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL" + "ScatterAssemblies" + { + "_E78DD49ECC6739D6B2F1BD05764DAC06" + { + "Name" = "8:System.Threading.Thread.dll" + "Attributes" = "3:512" + } + } + "SourcePath" = "8:System.Threading.Thread.dll" + "TargetName" = "8:" + "Tag" = "8:" + "Folder" = "8:_62218C84F9DA4935A123ACECCBAC06B0" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:TRUE" + "IsolateTo" = "8:" + } + "{9F6F8455-1EF1-4B85-886A-4223BCC8E7F7}:_E7D5A6D3292C4A53979EAC3EE099309F" + { + "AssemblyRegister" = "3:1" + "AssemblyIsInGAC" = "11:FALSE" + "AssemblyAsmDisplayName" = "8:System.Reflection.Extensions, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL" + "ScatterAssemblies" + { + "_E7D5A6D3292C4A53979EAC3EE099309F" + { + "Name" = "8:System.Reflection.Extensions.dll" + "Attributes" = "3:512" + } + } + "SourcePath" = "8:..\\leak_test_project\\bin\\Release\\net9.0-windows\\win-x64\\publish\\System.Reflection.Extensions.dll" + "TargetName" = "8:" + "Tag" = "8:" + "Folder" = "8:_62218C84F9DA4935A123ACECCBAC06B0" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:FALSE" + "IsolateTo" = "8:" + } + "{9F6F8455-1EF1-4B85-886A-4223BCC8E7F7}:_E7D9E7A5DEC7AC5FC633FCAA98E1430F" + { + "AssemblyRegister" = "3:1" + "AssemblyIsInGAC" = "11:TRUE" + "AssemblyAsmDisplayName" = "8:System.Windows, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL" + "ScatterAssemblies" + { + "_E7D9E7A5DEC7AC5FC633FCAA98E1430F" + { + "Name" = "8:System.Windows.dll" + "Attributes" = "3:512" + } + } + "SourcePath" = "8:System.Windows.dll" + "TargetName" = "8:" + "Tag" = "8:" + "Folder" = "8:_62218C84F9DA4935A123ACECCBAC06B0" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:TRUE" + "IsolateTo" = "8:" + } + "{9F6F8455-1EF1-4B85-886A-4223BCC8E7F7}:_E7EBB094AEFE421893EC93722F3858CA" + { + "AssemblyRegister" = "3:1" + "AssemblyIsInGAC" = "11:FALSE" + "AssemblyAsmDisplayName" = "8:System.Threading.Overlapped, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL" + "ScatterAssemblies" + { + "_E7EBB094AEFE421893EC93722F3858CA" + { + "Name" = "8:System.Threading.Overlapped.dll" + "Attributes" = "3:512" + } + } + "SourcePath" = "8:..\\leak_test_project\\bin\\Release\\net9.0-windows\\win-x64\\publish\\System.Threading.Overlapped.dll" + "TargetName" = "8:" + "Tag" = "8:" + "Folder" = "8:_62218C84F9DA4935A123ACECCBAC06B0" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:FALSE" + "IsolateTo" = "8:" + } + "{9F6F8455-1EF1-4B85-886A-4223BCC8E7F7}:_E9676E236007FFEE2EC8F1C1907BEE34" + { + "AssemblyRegister" = "3:1" + "AssemblyIsInGAC" = "11:TRUE" + "AssemblyAsmDisplayName" = "8:System.ValueTuple, Version=4.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51, processorArchitecture=MSIL" + "ScatterAssemblies" + { + "_E9676E236007FFEE2EC8F1C1907BEE34" + { + "Name" = "8:System.ValueTuple.dll" + "Attributes" = "3:512" + } + } + "SourcePath" = "8:System.ValueTuple.dll" + "TargetName" = "8:" + "Tag" = "8:" + "Folder" = "8:_62218C84F9DA4935A123ACECCBAC06B0" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:TRUE" + "IsolateTo" = "8:" + } + "{9F6F8455-1EF1-4B85-886A-4223BCC8E7F7}:_E9906790AA414B2588DD26786A294C29" + { + "AssemblyRegister" = "3:1" + "AssemblyIsInGAC" = "11:FALSE" + "AssemblyAsmDisplayName" = "8:System.Data.Common, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL" + "ScatterAssemblies" + { + "_E9906790AA414B2588DD26786A294C29" + { + "Name" = "8:System.Data.Common.dll" + "Attributes" = "3:512" + } + } + "SourcePath" = "8:..\\leak_test_project\\bin\\Release\\net9.0-windows\\win-x64\\publish\\System.Data.Common.dll" + "TargetName" = "8:" + "Tag" = "8:" + "Folder" = "8:_62218C84F9DA4935A123ACECCBAC06B0" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:FALSE" + "IsolateTo" = "8:" + } + "{9F6F8455-1EF1-4B85-886A-4223BCC8E7F7}:_E9A9169C65864477A15AD563011F5417" + { + "AssemblyRegister" = "3:1" + "AssemblyIsInGAC" = "11:FALSE" + "AssemblyAsmDisplayName" = "8:Microsoft.Win32.Registry.AccessControl, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL" + "ScatterAssemblies" + { + "_E9A9169C65864477A15AD563011F5417" + { + "Name" = "8:Microsoft.Win32.Registry.AccessControl.dll" + "Attributes" = "3:512" + } + } + "SourcePath" = "8:..\\leak_test_project\\bin\\Release\\net9.0-windows\\win-x64\\publish\\Microsoft.Win32.Registry.AccessControl.dll" + "TargetName" = "8:" + "Tag" = "8:" + "Folder" = "8:_62218C84F9DA4935A123ACECCBAC06B0" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:FALSE" + "IsolateTo" = "8:" + } + "{9F6F8455-1EF1-4B85-886A-4223BCC8E7F7}:_EA0EFD19C8A34C8A77E3D969D66268FA" + { + "AssemblyRegister" = "3:1" + "AssemblyIsInGAC" = "11:FALSE" + "AssemblyAsmDisplayName" = "8:System.ComponentModel, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL" + "ScatterAssemblies" + { + "_EA0EFD19C8A34C8A77E3D969D66268FA" + { + "Name" = "8:System.ComponentModel.dll" + "Attributes" = "3:512" + } + } + "SourcePath" = "8:System.ComponentModel.dll" + "TargetName" = "8:" + "Tag" = "8:" + "Folder" = "8:_62218C84F9DA4935A123ACECCBAC06B0" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:TRUE" + "IsolateTo" = "8:" + } + "{9F6F8455-1EF1-4B85-886A-4223BCC8E7F7}:_EB3961FC5BF146C49AB55CC9768DA841" + { + "AssemblyRegister" = "3:1" + "AssemblyIsInGAC" = "11:FALSE" + "AssemblyAsmDisplayName" = "8:System.IO.Pipelines, Version=9.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51, processorArchitecture=MSIL" + "ScatterAssemblies" + { + "_EB3961FC5BF146C49AB55CC9768DA841" + { + "Name" = "8:System.IO.Pipelines.dll" + "Attributes" = "3:512" + } + } + "SourcePath" = "8:..\\leak_test_project\\bin\\Release\\net9.0-windows\\win-x64\\publish\\System.IO.Pipelines.dll" + "TargetName" = "8:" + "Tag" = "8:" + "Folder" = "8:_62218C84F9DA4935A123ACECCBAC06B0" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:FALSE" + "IsolateTo" = "8:" + } + "{9F6F8455-1EF1-4B85-886A-4223BCC8E7F7}:_EB5902B2FB790C091328A0B2955961F5" + { + "AssemblyRegister" = "3:1" + "AssemblyIsInGAC" = "11:FALSE" + "AssemblyAsmDisplayName" = "8:System.Reflection.Emit.Lightweight, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL" + "ScatterAssemblies" + { + "_EB5902B2FB790C091328A0B2955961F5" + { + "Name" = "8:System.Reflection.Emit.Lightweight.dll" + "Attributes" = "3:512" + } + } + "SourcePath" = "8:System.Reflection.Emit.Lightweight.dll" + "TargetName" = "8:" + "Tag" = "8:" + "Folder" = "8:_62218C84F9DA4935A123ACECCBAC06B0" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:TRUE" + "IsolateTo" = "8:" + } + "{9F6F8455-1EF1-4B85-886A-4223BCC8E7F7}:_EB7394202514501EB18031D2FA114FE0" + { + "AssemblyRegister" = "3:1" + "AssemblyIsInGAC" = "11:FALSE" + "AssemblyAsmDisplayName" = "8:System.Security.Cryptography.ProtectedData, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL" + "ScatterAssemblies" + { + "_EB7394202514501EB18031D2FA114FE0" + { + "Name" = "8:System.Security.Cryptography.ProtectedData.dll" + "Attributes" = "3:512" + } + } + "SourcePath" = "8:System.Security.Cryptography.ProtectedData.dll" + "TargetName" = "8:" + "Tag" = "8:" + "Folder" = "8:_62218C84F9DA4935A123ACECCBAC06B0" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:TRUE" + "IsolateTo" = "8:" + } + "{9F6F8455-1EF1-4B85-886A-4223BCC8E7F7}:_EB7787F6A450460E98169BCFF7B5668A" + { + "AssemblyRegister" = "3:1" + "AssemblyIsInGAC" = "11:FALSE" + "AssemblyAsmDisplayName" = "8:System.Diagnostics.PerformanceCounter, Version=9.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51, processorArchitecture=MSIL" + "ScatterAssemblies" + { + "_EB7787F6A450460E98169BCFF7B5668A" + { + "Name" = "8:System.Diagnostics.PerformanceCounter.dll" + "Attributes" = "3:512" + } + } + "SourcePath" = "8:..\\leak_test_project\\bin\\Release\\net9.0-windows\\win-x64\\publish\\System.Diagnostics.PerformanceCounter.dll" + "TargetName" = "8:" + "Tag" = "8:" + "Folder" = "8:_62218C84F9DA4935A123ACECCBAC06B0" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:FALSE" + "IsolateTo" = "8:" + } + "{9F6F8455-1EF1-4B85-886A-4223BCC8E7F7}:_EDF89CFEB9CD4C0DA79593E87E6BFE27" + { + "AssemblyRegister" = "3:1" + "AssemblyIsInGAC" = "11:FALSE" + "AssemblyAsmDisplayName" = "8:PresentationFramework.Luna, Version=9.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=AMD64" + "ScatterAssemblies" + { + "_EDF89CFEB9CD4C0DA79593E87E6BFE27" + { + "Name" = "8:PresentationFramework.Luna.dll" + "Attributes" = "3:512" + } + } + "SourcePath" = "8:..\\leak_test_project\\bin\\Release\\net9.0-windows\\win-x64\\publish\\PresentationFramework.Luna.dll" + "TargetName" = "8:" + "Tag" = "8:" + "Folder" = "8:_62218C84F9DA4935A123ACECCBAC06B0" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:FALSE" + "IsolateTo" = "8:" + } + "{9F6F8455-1EF1-4B85-886A-4223BCC8E7F7}:_EE15A25C01E88F5B27815C3177A0A8C9" + { + "AssemblyRegister" = "3:1" + "AssemblyIsInGAC" = "11:FALSE" + "AssemblyAsmDisplayName" = "8:System.Linq, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL" + "ScatterAssemblies" + { + "_EE15A25C01E88F5B27815C3177A0A8C9" + { + "Name" = "8:System.Linq.dll" + "Attributes" = "3:512" + } + } + "SourcePath" = "8:System.Linq.dll" + "TargetName" = "8:" + "Tag" = "8:" + "Folder" = "8:_62218C84F9DA4935A123ACECCBAC06B0" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:TRUE" + "IsolateTo" = "8:" + } + "{9F6F8455-1EF1-4B85-886A-4223BCC8E7F7}:_EE87D8D198A25894F219EBFDE24A8758" + { + "AssemblyRegister" = "3:1" + "AssemblyIsInGAC" = "11:FALSE" + "AssemblyAsmDisplayName" = "8:System.Formats.Tar, Version=9.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51, processorArchitecture=MSIL" + "ScatterAssemblies" + { + "_EE87D8D198A25894F219EBFDE24A8758" + { + "Name" = "8:System.Formats.Tar.dll" + "Attributes" = "3:512" + } + } + "SourcePath" = "8:System.Formats.Tar.dll" + "TargetName" = "8:" + "Tag" = "8:" + "Folder" = "8:_62218C84F9DA4935A123ACECCBAC06B0" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:TRUE" + "IsolateTo" = "8:" + } + "{9F6F8455-1EF1-4B85-886A-4223BCC8E7F7}:_EF667135718849DBB253C2D63D3B2892" + { + "AssemblyRegister" = "3:1" + "AssemblyIsInGAC" = "11:FALSE" + "AssemblyAsmDisplayName" = "8:System.Configuration, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL" + "ScatterAssemblies" + { + "_EF667135718849DBB253C2D63D3B2892" + { + "Name" = "8:System.Configuration.dll" + "Attributes" = "3:512" + } + } + "SourcePath" = "8:..\\leak_test_project\\bin\\Release\\net9.0-windows\\win-x64\\publish\\System.Configuration.dll" + "TargetName" = "8:" + "Tag" = "8:" + "Folder" = "8:_62218C84F9DA4935A123ACECCBAC06B0" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:FALSE" + "IsolateTo" = "8:" + } + "{9F6F8455-1EF1-4B85-886A-4223BCC8E7F7}:_F05A93887A074634AA0740E80D05D38A" + { + "AssemblyRegister" = "3:1" + "AssemblyIsInGAC" = "11:FALSE" + "AssemblyAsmDisplayName" = "8:System.Xml.XmlSerializer, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL" + "ScatterAssemblies" + { + "_F05A93887A074634AA0740E80D05D38A" + { + "Name" = "8:System.Xml.XmlSerializer.dll" + "Attributes" = "3:512" + } + } + "SourcePath" = "8:..\\leak_test_project\\bin\\Release\\net9.0-windows\\win-x64\\publish\\System.Xml.XmlSerializer.dll" + "TargetName" = "8:" + "Tag" = "8:" + "Folder" = "8:_62218C84F9DA4935A123ACECCBAC06B0" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:FALSE" + "IsolateTo" = "8:" + } + "{9F6F8455-1EF1-4B85-886A-4223BCC8E7F7}:_F0DFE7E3E5BBF1E65BC15B064AAE986E" + { + "AssemblyRegister" = "3:1" + "AssemblyIsInGAC" = "11:FALSE" + "AssemblyAsmDisplayName" = "8:System.Security.AccessControl, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL" + "ScatterAssemblies" + { + "_F0DFE7E3E5BBF1E65BC15B064AAE986E" + { + "Name" = "8:System.Security.AccessControl.dll" + "Attributes" = "3:512" + } + } + "SourcePath" = "8:System.Security.AccessControl.dll" + "TargetName" = "8:" + "Tag" = "8:" + "Folder" = "8:_62218C84F9DA4935A123ACECCBAC06B0" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:TRUE" + "IsolateTo" = "8:" + } + "{9F6F8455-1EF1-4B85-886A-4223BCC8E7F7}:_F0EFB4C551D3C7B408B65BEF69D52472" + { + "AssemblyRegister" = "3:1" + "AssemblyIsInGAC" = "11:FALSE" + "AssemblyAsmDisplayName" = "8:System.Private.DataContractSerialization, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL" + "ScatterAssemblies" + { + "_F0EFB4C551D3C7B408B65BEF69D52472" + { + "Name" = "8:System.Private.DataContractSerialization.dll" + "Attributes" = "3:512" + } + } + "SourcePath" = "8:System.Private.DataContractSerialization.dll" + "TargetName" = "8:" + "Tag" = "8:" + "Folder" = "8:_62218C84F9DA4935A123ACECCBAC06B0" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:TRUE" + "IsolateTo" = "8:" + } + "{9F6F8455-1EF1-4B85-886A-4223BCC8E7F7}:_F0F1AF4A4822AA44EDB6D341EFB2BDC1" + { + "AssemblyRegister" = "3:1" + "AssemblyIsInGAC" = "11:FALSE" + "AssemblyAsmDisplayName" = "8:System.Reflection.TypeExtensions, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL" + "ScatterAssemblies" + { + "_F0F1AF4A4822AA44EDB6D341EFB2BDC1" + { + "Name" = "8:System.Reflection.TypeExtensions.dll" + "Attributes" = "3:512" + } + } + "SourcePath" = "8:System.Reflection.TypeExtensions.dll" + "TargetName" = "8:" + "Tag" = "8:" + "Folder" = "8:_62218C84F9DA4935A123ACECCBAC06B0" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:TRUE" + "IsolateTo" = "8:" + } + "{9F6F8455-1EF1-4B85-886A-4223BCC8E7F7}:_F146D7D5982B4DAB8830740345D4B161" + { + "AssemblyRegister" = "3:1" + "AssemblyIsInGAC" = "11:FALSE" + "AssemblyAsmDisplayName" = "8:UIAutomationTypes, Version=9.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=AMD64" + "ScatterAssemblies" + { + "_F146D7D5982B4DAB8830740345D4B161" + { + "Name" = "8:UIAutomationTypes.dll" + "Attributes" = "3:512" + } + } + "SourcePath" = "8:..\\leak_test_project\\bin\\Release\\net9.0-windows\\win-x64\\publish\\UIAutomationTypes.dll" + "TargetName" = "8:" + "Tag" = "8:" + "Folder" = "8:_62218C84F9DA4935A123ACECCBAC06B0" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:FALSE" + "IsolateTo" = "8:" + } + "{9F6F8455-1EF1-4B85-886A-4223BCC8E7F7}:_F2A52197B30AAA0399607540DDFC0582" + { + "AssemblyRegister" = "3:1" + "AssemblyIsInGAC" = "11:FALSE" + "AssemblyAsmDisplayName" = "8:System.Reflection.Emit.ILGeneration, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL" + "ScatterAssemblies" + { + "_F2A52197B30AAA0399607540DDFC0582" + { + "Name" = "8:System.Reflection.Emit.ILGeneration.dll" + "Attributes" = "3:512" + } + } + "SourcePath" = "8:System.Reflection.Emit.ILGeneration.dll" + "TargetName" = "8:" + "Tag" = "8:" + "Folder" = "8:_62218C84F9DA4935A123ACECCBAC06B0" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:TRUE" + "IsolateTo" = "8:" + } + "{9F6F8455-1EF1-4B85-886A-4223BCC8E7F7}:_F4CE69ADDB7FA8085884D6DBD0378DDB" + { + "AssemblyRegister" = "3:1" + "AssemblyIsInGAC" = "11:FALSE" + "AssemblyAsmDisplayName" = "8:System.Web.HttpUtility, Version=9.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51, processorArchitecture=MSIL" + "ScatterAssemblies" + { + "_F4CE69ADDB7FA8085884D6DBD0378DDB" + { + "Name" = "8:System.Web.HttpUtility.dll" + "Attributes" = "3:512" + } + } + "SourcePath" = "8:System.Web.HttpUtility.dll" + "TargetName" = "8:" + "Tag" = "8:" + "Folder" = "8:_62218C84F9DA4935A123ACECCBAC06B0" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:TRUE" + "IsolateTo" = "8:" + } + "{9F6F8455-1EF1-4B85-886A-4223BCC8E7F7}:_F6A075E3ABB3C787DAC223D19765A5EF" + { + "AssemblyRegister" = "3:1" + "AssemblyIsInGAC" = "11:FALSE" + "AssemblyAsmDisplayName" = "8:System.Collections.Immutable, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL" + "ScatterAssemblies" + { + "_F6A075E3ABB3C787DAC223D19765A5EF" + { + "Name" = "8:System.Collections.Immutable.dll" + "Attributes" = "3:512" + } + } + "SourcePath" = "8:System.Collections.Immutable.dll" + "TargetName" = "8:" + "Tag" = "8:" + "Folder" = "8:_62218C84F9DA4935A123ACECCBAC06B0" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:TRUE" + "IsolateTo" = "8:" + } + "{9F6F8455-1EF1-4B85-886A-4223BCC8E7F7}:_F703AD86F2EE4F03B609DD408A7632FC" + { + "AssemblyRegister" = "3:1" + "AssemblyIsInGAC" = "11:FALSE" + "AssemblyAsmDisplayName" = "8:System.Transactions.Local, Version=9.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51, processorArchitecture=MSIL" + "ScatterAssemblies" + { + "_F703AD86F2EE4F03B609DD408A7632FC" + { + "Name" = "8:System.Transactions.Local.dll" + "Attributes" = "3:512" + } + } + "SourcePath" = "8:..\\leak_test_project\\bin\\Release\\net9.0-windows\\win-x64\\publish\\System.Transactions.Local.dll" + "TargetName" = "8:" + "Tag" = "8:" + "Folder" = "8:_62218C84F9DA4935A123ACECCBAC06B0" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:FALSE" + "IsolateTo" = "8:" + } + "{9F6F8455-1EF1-4B85-886A-4223BCC8E7F7}:_F75B5EFE8D2B4361982D2DDC580501FF" + { + "AssemblyRegister" = "3:1" + "AssemblyIsInGAC" = "11:FALSE" + "AssemblyAsmDisplayName" = "8:System.Web, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL" + "ScatterAssemblies" + { + "_F75B5EFE8D2B4361982D2DDC580501FF" + { + "Name" = "8:System.Web.dll" + "Attributes" = "3:512" + } + } + "SourcePath" = "8:..\\leak_test_project\\bin\\Release\\net9.0-windows\\win-x64\\publish\\System.Web.dll" + "TargetName" = "8:" + "Tag" = "8:" + "Folder" = "8:_62218C84F9DA4935A123ACECCBAC06B0" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:FALSE" + "IsolateTo" = "8:" + } + "{9F6F8455-1EF1-4B85-886A-4223BCC8E7F7}:_F77EAA93221581C6338221902C4AE2D1" + { + "AssemblyRegister" = "3:1" + "AssemblyIsInGAC" = "11:TRUE" + "AssemblyAsmDisplayName" = "8:System.Globalization.Extensions, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL" + "ScatterAssemblies" + { + "_F77EAA93221581C6338221902C4AE2D1" + { + "Name" = "8:System.Globalization.Extensions.dll" + "Attributes" = "3:512" + } + } + "SourcePath" = "8:System.Globalization.Extensions.dll" + "TargetName" = "8:" + "Tag" = "8:" + "Folder" = "8:_62218C84F9DA4935A123ACECCBAC06B0" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:TRUE" + "IsolateTo" = "8:" + } + "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_F82592C32DF24808BE71A6511D21CAF5" + { + "SourcePath" = "8:..\\leak_test_project\\bin\\Release\\net9.0-windows\\win-x64\\publish\\clrjit.dll" + "TargetName" = "8:clrjit.dll" + "Tag" = "8:" + "Folder" = "8:_62218C84F9DA4935A123ACECCBAC06B0" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:FALSE" + "IsolateTo" = "8:" + } + "{9F6F8455-1EF1-4B85-886A-4223BCC8E7F7}:_F91566EB89B347708B77D466605F363B" + { + "AssemblyRegister" = "3:1" + "AssemblyIsInGAC" = "11:FALSE" + "AssemblyAsmDisplayName" = "8:System.Runtime.InteropServices, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL" + "ScatterAssemblies" + { + "_F91566EB89B347708B77D466605F363B" + { + "Name" = "8:System.Runtime.InteropServices.dll" + "Attributes" = "3:512" + } + } + "SourcePath" = "8:..\\leak_test_project\\bin\\Release\\net9.0-windows\\win-x64\\publish\\System.Runtime.InteropServices.dll" + "TargetName" = "8:" + "Tag" = "8:" + "Folder" = "8:_62218C84F9DA4935A123ACECCBAC06B0" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:FALSE" + "IsolateTo" = "8:" + } + "{9F6F8455-1EF1-4B85-886A-4223BCC8E7F7}:_FAD7F31884F24EFCBF3C494508FC0F19" + { + "AssemblyRegister" = "3:1" + "AssemblyIsInGAC" = "11:FALSE" + "AssemblyAsmDisplayName" = "8:System.IO, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL" + "ScatterAssemblies" + { + "_FAD7F31884F24EFCBF3C494508FC0F19" + { + "Name" = "8:System.IO.dll" + "Attributes" = "3:512" + } + } + "SourcePath" = "8:..\\leak_test_project\\bin\\Release\\net9.0-windows\\win-x64\\publish\\System.IO.dll" + "TargetName" = "8:" + "Tag" = "8:" + "Folder" = "8:_62218C84F9DA4935A123ACECCBAC06B0" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:FALSE" + "IsolateTo" = "8:" + } + "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_FC3ADA02E4104C4DB96B40736514BCC4" + { + "SourcePath" = "8:..\\leak_test_project\\bin\\Release\\net9.0-windows\\win-x64\\publish\\msquic.dll" + "TargetName" = "8:msquic.dll" + "Tag" = "8:" + "Folder" = "8:_62218C84F9DA4935A123ACECCBAC06B0" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:FALSE" + "IsolateTo" = "8:" + } + "{9F6F8455-1EF1-4B85-886A-4223BCC8E7F7}:_FCCFAEFE563F750053031528823CACF4" + { + "AssemblyRegister" = "3:1" + "AssemblyIsInGAC" = "11:FALSE" + "AssemblyAsmDisplayName" = "8:System.Diagnostics.TraceSource, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL" + "ScatterAssemblies" + { + "_FCCFAEFE563F750053031528823CACF4" + { + "Name" = "8:System.Diagnostics.TraceSource.dll" + "Attributes" = "3:512" + } + } + "SourcePath" = "8:System.Diagnostics.TraceSource.dll" + "TargetName" = "8:" + "Tag" = "8:" + "Folder" = "8:_62218C84F9DA4935A123ACECCBAC06B0" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:TRUE" + "IsolateTo" = "8:" + } + "{9F6F8455-1EF1-4B85-886A-4223BCC8E7F7}:_FCF185846CF41F04637293C35A21BF70" + { + "AssemblyRegister" = "3:1" + "AssemblyIsInGAC" = "11:FALSE" + "AssemblyAsmDisplayName" = "8:System.ComponentModel.TypeConverter, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL" + "ScatterAssemblies" + { + "_FCF185846CF41F04637293C35A21BF70" + { + "Name" = "8:System.ComponentModel.TypeConverter.dll" + "Attributes" = "3:512" + } + } + "SourcePath" = "8:System.ComponentModel.TypeConverter.dll" + "TargetName" = "8:" + "Tag" = "8:" + "Folder" = "8:_62218C84F9DA4935A123ACECCBAC06B0" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:TRUE" + "IsolateTo" = "8:" + } + "{9F6F8455-1EF1-4B85-886A-4223BCC8E7F7}:_FDA019D101C6ACC973395D216205AFD3" + { + "AssemblyRegister" = "3:1" + "AssemblyIsInGAC" = "11:FALSE" + "AssemblyAsmDisplayName" = "8:System.IO.IsolatedStorage, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL" + "ScatterAssemblies" + { + "_FDA019D101C6ACC973395D216205AFD3" + { + "Name" = "8:System.IO.IsolatedStorage.dll" + "Attributes" = "3:512" + } + } + "SourcePath" = "8:System.IO.IsolatedStorage.dll" + "TargetName" = "8:" + "Tag" = "8:" + "Folder" = "8:_62218C84F9DA4935A123ACECCBAC06B0" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:TRUE" + "IsolateTo" = "8:" + } + "{9F6F8455-1EF1-4B85-886A-4223BCC8E7F7}:_FDB9A054D5F14EC5964BEE14C0BC860A" + { + "AssemblyRegister" = "3:1" + "AssemblyIsInGAC" = "11:FALSE" + "AssemblyAsmDisplayName" = "8:System.Diagnostics.TraceSource, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL" + "ScatterAssemblies" + { + "_FDB9A054D5F14EC5964BEE14C0BC860A" + { + "Name" = "8:System.Diagnostics.TraceSource.dll" + "Attributes" = "3:512" + } + } + "SourcePath" = "8:..\\leak_test_project\\bin\\Release\\net9.0-windows\\win-x64\\publish\\System.Diagnostics.TraceSource.dll" + "TargetName" = "8:" + "Tag" = "8:" + "Folder" = "8:_62218C84F9DA4935A123ACECCBAC06B0" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:FALSE" + "IsolateTo" = "8:" + } + "{9F6F8455-1EF1-4B85-886A-4223BCC8E7F7}:_FE23B45386AF0F9D3FB137DB948A7F53" + { + "AssemblyRegister" = "3:1" + "AssemblyIsInGAC" = "11:FALSE" + "AssemblyAsmDisplayName" = "8:System.Security.Cryptography.Pkcs, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL" + "ScatterAssemblies" + { + "_FE23B45386AF0F9D3FB137DB948A7F53" + { + "Name" = "8:System.Security.Cryptography.Pkcs.dll" + "Attributes" = "3:512" + } + } + "SourcePath" = "8:System.Security.Cryptography.Pkcs.dll" + "TargetName" = "8:" + "Tag" = "8:" + "Folder" = "8:_62218C84F9DA4935A123ACECCBAC06B0" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:TRUE" + "IsolateTo" = "8:" + } + "{9F6F8455-1EF1-4B85-886A-4223BCC8E7F7}:_FED3CD9855FB4E26A4950F9A3E2E71C5" + { + "AssemblyRegister" = "3:1" + "AssemblyIsInGAC" = "11:FALSE" + "AssemblyAsmDisplayName" = "8:System.Diagnostics.Tools, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL" + "ScatterAssemblies" + { + "_FED3CD9855FB4E26A4950F9A3E2E71C5" + { + "Name" = "8:System.Diagnostics.Tools.dll" + "Attributes" = "3:512" + } + } + "SourcePath" = "8:..\\leak_test_project\\bin\\Release\\net9.0-windows\\win-x64\\publish\\System.Diagnostics.Tools.dll" + "TargetName" = "8:" + "Tag" = "8:" + "Folder" = "8:_62218C84F9DA4935A123ACECCBAC06B0" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:FALSE" + "IsolateTo" = "8:" + } + "{9F6F8455-1EF1-4B85-886A-4223BCC8E7F7}:_FFA7ACA8F65E48BC81C510AFD77C921F" + { + "AssemblyRegister" = "3:1" + "AssemblyIsInGAC" = "11:FALSE" + "AssemblyAsmDisplayName" = "8:System.IO.FileSystem.Watcher, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL" + "ScatterAssemblies" + { + "_FFA7ACA8F65E48BC81C510AFD77C921F" + { + "Name" = "8:System.IO.FileSystem.Watcher.dll" + "Attributes" = "3:512" + } + } + "SourcePath" = "8:..\\leak_test_project\\bin\\Release\\net9.0-windows\\win-x64\\publish\\System.IO.FileSystem.Watcher.dll" + "TargetName" = "8:" + "Tag" = "8:" + "Folder" = "8:_62218C84F9DA4935A123ACECCBAC06B0" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:FALSE" + "IsolateTo" = "8:" + } + } + "FileType" + { + } + "Folder" + { + "{1525181F-901A-416C-8A58-119130FE478E}:_5C74D4397F6644EDB3EE8B3E81C3BAC0" + { + "Name" = "8:#1919" + "AlwaysCreate" = "11:FALSE" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Property" = "8:ProgramMenuFolder" + "Folders" + { + } + } + "{3C67513D-01DD-4637-8A68-80971EB9504F}:_7293D1FC4EAC496DA91DE08B107800CF" + { + "DefaultLocation" = "8:[ProgramFiles64Folder][Manufacturer]\\[ProductName]" + "Name" = "8:#1925" + "AlwaysCreate" = "11:TRUE" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Property" = "8:TARGETDIR" + "Folders" + { + "{9EF0B969-E518-4E46-987F-47570745A589}:_62218C84F9DA4935A123ACECCBAC06B0" + { + "Name" = "8:app" + "AlwaysCreate" = "11:FALSE" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Property" = "8:_8DB78F571C8C454183C7E0DA3AE33F38" + "Folders" + { + } + } + } + } + "{1525181F-901A-416C-8A58-119130FE478E}:_E045C9E13EE74E799C0FBC5D8D6D926C" + { + "Name" = "8:#1916" + "AlwaysCreate" = "11:FALSE" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Property" = "8:DesktopFolder" + "Folders" + { + } + } + } + "LaunchCondition" + { + } + "Locator" + { + } + "MsiBootstrapper" + { + "LangId" = "3:1042" + "RequiresElevation" = "11:FALSE" + } + "Product" + { + "Name" = "8:Microsoft Visual Studio" + "ProductName" = "8:Setup" + "ProductCode" = "8:{75A3D7EF-1F01-4988-9480-A3D946AD72EA}" + "PackageCode" = "8:{C6771CF8-C2FF-4B02-A548-394772C06A71}" + "UpgradeCode" = "8:{1D948A4F-ED6C-429D-B394-C7488DD74889}" + "AspNetVersion" = "8:2.0.50727.0" + "RestartWWWService" = "11:FALSE" + "RemovePreviousVersions" = "11:FALSE" + "DetectNewerInstalledVersion" = "11:TRUE" + "InstallAllUsers" = "11:FALSE" + "ProductVersion" = "8:1.0.0" + "Manufacturer" = "8:COMPUTER1" + "ARPHELPTELEPHONE" = "8:" + "ARPHELPLINK" = "8:" + "Title" = "8:Setup" + "Subject" = "8:" + "ARPCONTACT" = "8:COMPUTER1" + "Keywords" = "8:" + "ARPCOMMENTS" = "8:" + "ARPURLINFOABOUT" = "8:" + "ARPPRODUCTICON" = "8:" + "ARPIconIndex" = "3:0" + "SearchPath" = "8:" + "UseSystemSearchPath" = "11:TRUE" + "TargetPlatform" = "3:1" + "PreBuildEvent" = "8:" + "PostBuildEvent" = "8:" + "RunPostBuildEvent" = "3:0" + } + "Registry" + { + "HKLM" + { + "Keys" + { + "{60EA8692-D2D5-43EB-80DC-7906BF13D6EF}:_F7BD31F597284AACBD2AA8574DD1129C" + { + "Name" = "8:Software" + "Condition" = "8:" + "AlwaysCreate" = "11:FALSE" + "DeleteAtUninstall" = "11:FALSE" + "Transitive" = "11:FALSE" + "Keys" + { + "{60EA8692-D2D5-43EB-80DC-7906BF13D6EF}:_3647AAD4D55C445EBC6E527670A06F63" + { + "Name" = "8:[Manufacturer]" + "Condition" = "8:" + "AlwaysCreate" = "11:FALSE" + "DeleteAtUninstall" = "11:FALSE" + "Transitive" = "11:FALSE" + "Keys" + { + } + "Values" + { + } + } + } + "Values" + { + } + } + } + } + "HKCU" + { + "Keys" + { + "{60EA8692-D2D5-43EB-80DC-7906BF13D6EF}:_3EA9C511ABE241558E784C421CE5C0F5" + { + "Name" = "8:Software" + "Condition" = "8:" + "AlwaysCreate" = "11:FALSE" + "DeleteAtUninstall" = "11:FALSE" + "Transitive" = "11:FALSE" + "Keys" + { + "{60EA8692-D2D5-43EB-80DC-7906BF13D6EF}:_39F3F73AD7FB47419DD4F75F710A1029" + { + "Name" = "8:[Manufacturer]" + "Condition" = "8:" + "AlwaysCreate" = "11:FALSE" + "DeleteAtUninstall" = "11:FALSE" + "Transitive" = "11:FALSE" + "Keys" + { + } + "Values" + { + } + } + } + "Values" + { + } + } + } + } + "HKCR" + { + "Keys" + { + } + } + "HKU" + { + "Keys" + { + } + } + "HKPU" + { + "Keys" + { + } + } + } + "Sequences" + { + } + "Shortcut" + { + "{970C0BB2-C7D0-45D7-ABFA-7EC378858BC0}:_1144CA5169274339BD5FE2B2187180BA" + { + "Name" = "8:Shortcut to %sleak_test_project.exe" + "Arguments" = "8:" + "Description" = "8:" + "ShowCmd" = "3:1" + "IconIndex" = "3:0" + "Transitive" = "11:FALSE" + "Target" = "8:_3175FDD1701046DA9D036C30DA0646D6" + "Folder" = "8:_E045C9E13EE74E799C0FBC5D8D6D926C" + "WorkingFolder" = "8:_62218C84F9DA4935A123ACECCBAC06B0" + "Icon" = "8:" + "Feature" = "8:" + } + } + "UserInterface" + { + "{DF760B10-853B-4699-99F2-AFF7185B4A62}:_10257DFFFFFF44B78270DC31A26FBB91" + { + "Name" = "8:#1902" + "Sequence" = "3:1" + "Attributes" = "3:3" + "Dialogs" + { + "{688940B3-5CA9-4162-8DEE-2993FA9D8CBC}:_E545089A8F154EBA89905A2BFB0CDC1A" + { + "Sequence" = "3:100" + "DisplayName" = "8:마침" + "UseDynamicProperties" = "11:TRUE" + "IsDependency" = "11:FALSE" + "SourcePath" = "8:\\VsdFinishedDlg.wid" + "Properties" + { + "BannerBitmap" + { + "Name" = "8:BannerBitmap" + "DisplayName" = "8:#1001" + "Description" = "8:#1101" + "Type" = "3:8" + "ContextData" = "8:Bitmap" + "Attributes" = "3:4" + "Setting" = "3:1" + "UsePlugInResources" = "11:TRUE" + } + "UpdateText" + { + "Name" = "8:UpdateText" + "DisplayName" = "8:#1058" + "Description" = "8:#1158" + "Type" = "3:15" + "ContextData" = "8:" + "Attributes" = "3:0" + "Setting" = "3:1" + "Value" = "8:#1258" + "DefaultValue" = "8:#1258" + "UsePlugInResources" = "11:TRUE" + } + } + } + } + } + "{DF760B10-853B-4699-99F2-AFF7185B4A62}:_27FBD6CB570343C49F759D74880DC120" + { + "Name" = "8:#1900" + "Sequence" = "3:2" + "Attributes" = "3:1" + "Dialogs" + { + "{688940B3-5CA9-4162-8DEE-2993FA9D8CBC}:_01F16225D2714538B27F1B70E5E93239" + { + "Sequence" = "3:300" + "DisplayName" = "8:설치 확인" + "UseDynamicProperties" = "11:TRUE" + "IsDependency" = "11:FALSE" + "SourcePath" = "8:\\VsdAdminConfirmDlg.wid" + "Properties" + { + "BannerBitmap" + { + "Name" = "8:BannerBitmap" + "DisplayName" = "8:#1001" + "Description" = "8:#1101" + "Type" = "3:8" + "ContextData" = "8:Bitmap" + "Attributes" = "3:4" + "Setting" = "3:1" + "UsePlugInResources" = "11:TRUE" + } + } + } + "{688940B3-5CA9-4162-8DEE-2993FA9D8CBC}:_6526B8071AF444BB8D14A16A91DF6798" + { + "Sequence" = "3:100" + "DisplayName" = "8:환영" + "UseDynamicProperties" = "11:TRUE" + "IsDependency" = "11:FALSE" + "SourcePath" = "8:\\VsdAdminWelcomeDlg.wid" + "Properties" + { + "BannerBitmap" + { + "Name" = "8:BannerBitmap" + "DisplayName" = "8:#1001" + "Description" = "8:#1101" + "Type" = "3:8" + "ContextData" = "8:Bitmap" + "Attributes" = "3:4" + "Setting" = "3:1" + "UsePlugInResources" = "11:TRUE" + } + "CopyrightWarning" + { + "Name" = "8:CopyrightWarning" + "DisplayName" = "8:#1002" + "Description" = "8:#1102" + "Type" = "3:3" + "ContextData" = "8:" + "Attributes" = "3:0" + "Setting" = "3:1" + "Value" = "8:#1202" + "DefaultValue" = "8:#1202" + "UsePlugInResources" = "11:TRUE" + } + "Welcome" + { + "Name" = "8:Welcome" + "DisplayName" = "8:#1003" + "Description" = "8:#1103" + "Type" = "3:3" + "ContextData" = "8:" + "Attributes" = "3:0" + "Setting" = "3:1" + "Value" = "8:#1203" + "DefaultValue" = "8:#1203" + "UsePlugInResources" = "11:TRUE" + } + } + } + "{688940B3-5CA9-4162-8DEE-2993FA9D8CBC}:_71E4E34190404A1B9C5161FAFAC39268" + { + "Sequence" = "3:200" + "DisplayName" = "8:설치 폴더" + "UseDynamicProperties" = "11:TRUE" + "IsDependency" = "11:FALSE" + "SourcePath" = "8:\\VsdAdminFolderDlg.wid" + "Properties" + { + "BannerBitmap" + { + "Name" = "8:BannerBitmap" + "DisplayName" = "8:#1001" + "Description" = "8:#1101" + "Type" = "3:8" + "ContextData" = "8:Bitmap" + "Attributes" = "3:4" + "Setting" = "3:1" + "UsePlugInResources" = "11:TRUE" + } + } + } + } + } + "{DF760B10-853B-4699-99F2-AFF7185B4A62}:_338FE87367F64BE8886DFCFB349CFF2F" + { + "Name" = "8:#1900" + "Sequence" = "3:1" + "Attributes" = "3:1" + "Dialogs" + { + "{688940B3-5CA9-4162-8DEE-2993FA9D8CBC}:_057BE288BB854F2096FA9DA684A14C8B" + { + "Sequence" = "3:300" + "DisplayName" = "8:설치 확인" + "UseDynamicProperties" = "11:TRUE" + "IsDependency" = "11:FALSE" + "SourcePath" = "8:\\VsdConfirmDlg.wid" + "Properties" + { + "BannerBitmap" + { + "Name" = "8:BannerBitmap" + "DisplayName" = "8:#1001" + "Description" = "8:#1101" + "Type" = "3:8" + "ContextData" = "8:Bitmap" + "Attributes" = "3:4" + "Setting" = "3:1" + "UsePlugInResources" = "11:TRUE" + } + } + } + "{688940B3-5CA9-4162-8DEE-2993FA9D8CBC}:_3C857602C4C549019529344E02742D82" + { + "Sequence" = "3:100" + "DisplayName" = "8:환영" + "UseDynamicProperties" = "11:TRUE" + "IsDependency" = "11:FALSE" + "SourcePath" = "8:\\VsdWelcomeDlg.wid" + "Properties" + { + "BannerBitmap" + { + "Name" = "8:BannerBitmap" + "DisplayName" = "8:#1001" + "Description" = "8:#1101" + "Type" = "3:8" + "ContextData" = "8:Bitmap" + "Attributes" = "3:4" + "Setting" = "3:1" + "UsePlugInResources" = "11:TRUE" + } + "CopyrightWarning" + { + "Name" = "8:CopyrightWarning" + "DisplayName" = "8:#1002" + "Description" = "8:#1102" + "Type" = "3:3" + "ContextData" = "8:" + "Attributes" = "3:0" + "Setting" = "3:1" + "Value" = "8:#1202" + "DefaultValue" = "8:#1202" + "UsePlugInResources" = "11:TRUE" + } + "Welcome" + { + "Name" = "8:Welcome" + "DisplayName" = "8:#1003" + "Description" = "8:#1103" + "Type" = "3:3" + "ContextData" = "8:" + "Attributes" = "3:0" + "Setting" = "3:1" + "Value" = "8:#1203" + "DefaultValue" = "8:#1203" + "UsePlugInResources" = "11:TRUE" + } + } + } + "{688940B3-5CA9-4162-8DEE-2993FA9D8CBC}:_6F2947B7C4E24616ACEF3E362068775C" + { + "Sequence" = "3:200" + "DisplayName" = "8:설치 폴더" + "UseDynamicProperties" = "11:TRUE" + "IsDependency" = "11:FALSE" + "SourcePath" = "8:\\VsdFolderDlg.wid" + "Properties" + { + "BannerBitmap" + { + "Name" = "8:BannerBitmap" + "DisplayName" = "8:#1001" + "Description" = "8:#1101" + "Type" = "3:8" + "ContextData" = "8:Bitmap" + "Attributes" = "3:4" + "Setting" = "3:1" + "UsePlugInResources" = "11:TRUE" + } + "InstallAllUsersVisible" + { + "Name" = "8:InstallAllUsersVisible" + "DisplayName" = "8:#1059" + "Description" = "8:#1159" + "Type" = "3:5" + "ContextData" = "8:1;True=1;False=0" + "Attributes" = "3:0" + "Setting" = "3:0" + "Value" = "3:1" + "DefaultValue" = "3:1" + "UsePlugInResources" = "11:TRUE" + } + } + } + } + } + "{DF760B10-853B-4699-99F2-AFF7185B4A62}:_515B57182F424EE2997F86131054A829" + { + "Name" = "8:#1901" + "Sequence" = "3:1" + "Attributes" = "3:2" + "Dialogs" + { + "{688940B3-5CA9-4162-8DEE-2993FA9D8CBC}:_91532DEB918E40D2AA21C082E0056C08" + { + "Sequence" = "3:100" + "DisplayName" = "8:진행률" + "UseDynamicProperties" = "11:TRUE" + "IsDependency" = "11:FALSE" + "SourcePath" = "8:\\VsdProgressDlg.wid" + "Properties" + { + "BannerBitmap" + { + "Name" = "8:BannerBitmap" + "DisplayName" = "8:#1001" + "Description" = "8:#1101" + "Type" = "3:8" + "ContextData" = "8:Bitmap" + "Attributes" = "3:4" + "Setting" = "3:1" + "UsePlugInResources" = "11:TRUE" + } + "ShowProgress" + { + "Name" = "8:ShowProgress" + "DisplayName" = "8:#1009" + "Description" = "8:#1109" + "Type" = "3:5" + "ContextData" = "8:1;True=1;False=0" + "Attributes" = "3:0" + "Setting" = "3:0" + "Value" = "3:1" + "DefaultValue" = "3:1" + "UsePlugInResources" = "11:TRUE" + } + } + } + } + } + "{2479F3F5-0309-486D-8047-8187E2CE5BA0}:_5F8B0FDE83554EE1A29B7AF2E7388A8C" + { + "UseDynamicProperties" = "11:FALSE" + "IsDependency" = "11:FALSE" + "SourcePath" = "8:\\VsdUserInterface.wim" + } + "{2479F3F5-0309-486D-8047-8187E2CE5BA0}:_A316C256048A4722AE51518FE4F5C97C" + { + "UseDynamicProperties" = "11:FALSE" + "IsDependency" = "11:FALSE" + "SourcePath" = "8:\\VsdBasicDialogs.wim" + } + "{DF760B10-853B-4699-99F2-AFF7185B4A62}:_B5A2B2E4611A4C82901123BAD9E13C96" + { + "Name" = "8:#1902" + "Sequence" = "3:2" + "Attributes" = "3:3" + "Dialogs" + { + "{688940B3-5CA9-4162-8DEE-2993FA9D8CBC}:_F78BC103D92B4A1F81083E599611C4CC" + { + "Sequence" = "3:100" + "DisplayName" = "8:마침" + "UseDynamicProperties" = "11:TRUE" + "IsDependency" = "11:FALSE" + "SourcePath" = "8:\\VsdAdminFinishedDlg.wid" + "Properties" + { + "BannerBitmap" + { + "Name" = "8:BannerBitmap" + "DisplayName" = "8:#1001" + "Description" = "8:#1101" + "Type" = "3:8" + "ContextData" = "8:Bitmap" + "Attributes" = "3:4" + "Setting" = "3:1" + "UsePlugInResources" = "11:TRUE" + } + } + } + } + } + "{DF760B10-853B-4699-99F2-AFF7185B4A62}:_CA8F0182AC0F4643A2C862755CF52213" + { + "Name" = "8:#1901" + "Sequence" = "3:2" + "Attributes" = "3:2" + "Dialogs" + { + "{688940B3-5CA9-4162-8DEE-2993FA9D8CBC}:_6A6B5E4E2DD94607AAB3CF1561829667" + { + "Sequence" = "3:100" + "DisplayName" = "8:진행률" + "UseDynamicProperties" = "11:TRUE" + "IsDependency" = "11:FALSE" + "SourcePath" = "8:\\VsdAdminProgressDlg.wid" + "Properties" + { + "BannerBitmap" + { + "Name" = "8:BannerBitmap" + "DisplayName" = "8:#1001" + "Description" = "8:#1101" + "Type" = "3:8" + "ContextData" = "8:Bitmap" + "Attributes" = "3:4" + "Setting" = "3:1" + "UsePlugInResources" = "11:TRUE" + } + "ShowProgress" + { + "Name" = "8:ShowProgress" + "DisplayName" = "8:#1009" + "Description" = "8:#1109" + "Type" = "3:5" + "ContextData" = "8:1;True=1;False=0" + "Attributes" = "3:0" + "Setting" = "3:0" + "Value" = "3:1" + "DefaultValue" = "3:1" + "UsePlugInResources" = "11:TRUE" + } + } + } + } + } + } + "MergeModule" + { + } + "ProjectOutput" + { + } + } +} diff --git a/Setup1/Release/Setup1.msi b/Setup1/Release/Setup1.msi new file mode 100644 index 0000000..4f124d5 Binary files /dev/null and b/Setup1/Release/Setup1.msi differ diff --git a/Setup1/Release/setup.exe b/Setup1/Release/setup.exe new file mode 100644 index 0000000..f3c7445 Binary files /dev/null and b/Setup1/Release/setup.exe differ diff --git a/Setup1/Setup1.vdproj b/Setup1/Setup1.vdproj new file mode 100644 index 0000000..86a9517 --- /dev/null +++ b/Setup1/Setup1.vdproj @@ -0,0 +1,689 @@ +"DeployProject" +{ +"VSVersion" = "3:800" +"ProjectType" = "8:{978C614F-708E-4E1A-B201-565925725DBA}" +"IsWebType" = "8:FALSE" +"ProjectName" = "8:Setup1" +"LanguageId" = "3:1042" +"CodePage" = "3:949" +"UILanguageId" = "3:1042" +"SccProjectName" = "8:" +"SccLocalPath" = "8:" +"SccAuxPath" = "8:" +"SccProvider" = "8:" + "Hierarchy" + { + "Entry" + { + "MsmKey" = "8:_BDA89A38FB90491D8677F9F61BFE58EF" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + } + "Configurations" + { + "Debug" + { + "DisplayName" = "8:Debug" + "IsDebugOnly" = "11:TRUE" + "IsReleaseOnly" = "11:FALSE" + "OutputFilename" = "8:Debug\\Setup1.msi" + "PackageFilesAs" = "3:2" + "PackageFileSize" = "3:-2147483648" + "CabType" = "3:1" + "Compression" = "3:2" + "SignOutput" = "11:FALSE" + "CertificateFile" = "8:" + "PrivateKeyFile" = "8:" + "TimeStampServer" = "8:" + "InstallerBootstrapper" = "3:2" + } + "Release" + { + "DisplayName" = "8:Release" + "IsDebugOnly" = "11:FALSE" + "IsReleaseOnly" = "11:TRUE" + "OutputFilename" = "8:Release\\Setup1.msi" + "PackageFilesAs" = "3:2" + "PackageFileSize" = "3:-2147483648" + "CabType" = "3:1" + "Compression" = "3:2" + "SignOutput" = "11:FALSE" + "CertificateFile" = "8:" + "PrivateKeyFile" = "8:" + "TimeStampServer" = "8:" + "InstallerBootstrapper" = "3:2" + } + } + "Deployable" + { + "CustomAction" + { + } + "DefaultFeature" + { + "Name" = "8:DefaultFeature" + "Title" = "8:" + "Description" = "8:" + } + "ExternalPersistence" + { + "LaunchCondition" + { + } + } + "File" + { + "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_BDA89A38FB90491D8677F9F61BFE58EF" + { + "SourcePath" = "8:..\\leak_test_project\\bin\\Release\\leak_test_project.exe" + "TargetName" = "8:leak_test_project.exe" + "Tag" = "8:" + "Folder" = "8:_BD9EAF16D8B4406C86DFAADC3DFE7CBC" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:FALSE" + "IsolateTo" = "8:" + } + } + "FileType" + { + } + "Folder" + { + "{1525181F-901A-416C-8A58-119130FE478E}:_168AD8B046834C1EA526FDC2362A1627" + { + "Name" = "8:#1919" + "AlwaysCreate" = "11:FALSE" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Property" = "8:ProgramMenuFolder" + "Folders" + { + } + } + "{1525181F-901A-416C-8A58-119130FE478E}:_966813E6546A452AA7A4BDFA135C84D8" + { + "Name" = "8:#1916" + "AlwaysCreate" = "11:FALSE" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Property" = "8:DesktopFolder" + "Folders" + { + } + } + "{3C67513D-01DD-4637-8A68-80971EB9504F}:_BD9EAF16D8B4406C86DFAADC3DFE7CBC" + { + "DefaultLocation" = "8:[ProgramFilesFolder][Manufacturer]\\[ProductName]" + "Name" = "8:#1925" + "AlwaysCreate" = "11:FALSE" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Property" = "8:TARGETDIR" + "Folders" + { + } + } + } + "LaunchCondition" + { + } + "Locator" + { + } + "MsiBootstrapper" + { + "LangId" = "3:1042" + "RequiresElevation" = "11:FALSE" + } + "Product" + { + "Name" = "8:Microsoft Visual Studio" + "ProductName" = "8:Setup1" + "ProductCode" = "8:{B593CAF7-50B6-473C-9A4C-0AE9EC06EB69}" + "PackageCode" = "8:{C52B34AD-9C56-4434-A425-EE8A2D9B8348}" + "UpgradeCode" = "8:{94F66916-40E9-4AA7-A7D8-251F926256D2}" + "AspNetVersion" = "8:2.0.50727.0" + "RestartWWWService" = "11:FALSE" + "RemovePreviousVersions" = "11:FALSE" + "DetectNewerInstalledVersion" = "11:TRUE" + "InstallAllUsers" = "11:FALSE" + "ProductVersion" = "8:1.0.0" + "Manufacturer" = "8:COMPUTER1" + "ARPHELPTELEPHONE" = "8:" + "ARPHELPLINK" = "8:" + "Title" = "8:Setup1" + "Subject" = "8:" + "ARPCONTACT" = "8:COMPUTER1" + "Keywords" = "8:" + "ARPCOMMENTS" = "8:" + "ARPURLINFOABOUT" = "8:" + "ARPPRODUCTICON" = "8:" + "ARPIconIndex" = "3:0" + "SearchPath" = "8:" + "UseSystemSearchPath" = "11:TRUE" + "TargetPlatform" = "3:0" + "PreBuildEvent" = "8:" + "PostBuildEvent" = "8:" + "RunPostBuildEvent" = "3:0" + } + "Registry" + { + "HKLM" + { + "Keys" + { + "{60EA8692-D2D5-43EB-80DC-7906BF13D6EF}:_07FC6772798B49ECADA69954DD4F0B52" + { + "Name" = "8:Software" + "Condition" = "8:" + "AlwaysCreate" = "11:FALSE" + "DeleteAtUninstall" = "11:FALSE" + "Transitive" = "11:FALSE" + "Keys" + { + "{60EA8692-D2D5-43EB-80DC-7906BF13D6EF}:_42F6C644E4D54C04BB16042F26EB8A93" + { + "Name" = "8:[Manufacturer]" + "Condition" = "8:" + "AlwaysCreate" = "11:FALSE" + "DeleteAtUninstall" = "11:FALSE" + "Transitive" = "11:FALSE" + "Keys" + { + } + "Values" + { + } + } + } + "Values" + { + } + } + } + } + "HKCU" + { + "Keys" + { + "{60EA8692-D2D5-43EB-80DC-7906BF13D6EF}:_5DD40767F49740FABC0433B725B4CE2B" + { + "Name" = "8:Software" + "Condition" = "8:" + "AlwaysCreate" = "11:FALSE" + "DeleteAtUninstall" = "11:FALSE" + "Transitive" = "11:FALSE" + "Keys" + { + "{60EA8692-D2D5-43EB-80DC-7906BF13D6EF}:_F71517E33974467D8B234135D86F411E" + { + "Name" = "8:[Manufacturer]" + "Condition" = "8:" + "AlwaysCreate" = "11:FALSE" + "DeleteAtUninstall" = "11:FALSE" + "Transitive" = "11:FALSE" + "Keys" + { + } + "Values" + { + } + } + } + "Values" + { + } + } + } + } + "HKCR" + { + "Keys" + { + } + } + "HKU" + { + "Keys" + { + } + } + "HKPU" + { + "Keys" + { + } + } + } + "Sequences" + { + } + "Shortcut" + { + "{970C0BB2-C7D0-45D7-ABFA-7EC378858BC0}:_E0D3DF43E6F746F68FAAD261C8242F29" + { + "Name" = "8:Shortcut to %sleak_test_project.exe" + "Arguments" = "8:" + "Description" = "8:" + "ShowCmd" = "3:1" + "IconIndex" = "3:0" + "Transitive" = "11:FALSE" + "Target" = "8:_BDA89A38FB90491D8677F9F61BFE58EF" + "Folder" = "8:_966813E6546A452AA7A4BDFA135C84D8" + "WorkingFolder" = "8:_BD9EAF16D8B4406C86DFAADC3DFE7CBC" + "Icon" = "8:" + "Feature" = "8:" + } + } + "UserInterface" + { + "{2479F3F5-0309-486D-8047-8187E2CE5BA0}:_39B931F091AE4C22A876F911EAFCB65F" + { + "UseDynamicProperties" = "11:FALSE" + "IsDependency" = "11:FALSE" + "SourcePath" = "8:\\VsdBasicDialogs.wim" + } + "{DF760B10-853B-4699-99F2-AFF7185B4A62}:_4F116053C70847B59C242EF887603E8A" + { + "Name" = "8:#1902" + "Sequence" = "3:2" + "Attributes" = "3:3" + "Dialogs" + { + "{688940B3-5CA9-4162-8DEE-2993FA9D8CBC}:_BC3C4A8A383C47A0ACA1DF2E84733EB8" + { + "Sequence" = "3:100" + "DisplayName" = "8:마침" + "UseDynamicProperties" = "11:TRUE" + "IsDependency" = "11:FALSE" + "SourcePath" = "8:\\VsdAdminFinishedDlg.wid" + "Properties" + { + "BannerBitmap" + { + "Name" = "8:BannerBitmap" + "DisplayName" = "8:#1001" + "Description" = "8:#1101" + "Type" = "3:8" + "ContextData" = "8:Bitmap" + "Attributes" = "3:4" + "Setting" = "3:1" + "UsePlugInResources" = "11:TRUE" + } + } + } + } + } + "{2479F3F5-0309-486D-8047-8187E2CE5BA0}:_5A03024520484DB9B0DAD72ED6DD2775" + { + "UseDynamicProperties" = "11:FALSE" + "IsDependency" = "11:FALSE" + "SourcePath" = "8:\\VsdUserInterface.wim" + } + "{DF760B10-853B-4699-99F2-AFF7185B4A62}:_6293FB2DC5BF41108DE1ACBD1382668E" + { + "Name" = "8:#1902" + "Sequence" = "3:1" + "Attributes" = "3:3" + "Dialogs" + { + "{688940B3-5CA9-4162-8DEE-2993FA9D8CBC}:_B8721924583C4E129524A5BC6FF9E873" + { + "Sequence" = "3:100" + "DisplayName" = "8:마침" + "UseDynamicProperties" = "11:TRUE" + "IsDependency" = "11:FALSE" + "SourcePath" = "8:\\VsdFinishedDlg.wid" + "Properties" + { + "BannerBitmap" + { + "Name" = "8:BannerBitmap" + "DisplayName" = "8:#1001" + "Description" = "8:#1101" + "Type" = "3:8" + "ContextData" = "8:Bitmap" + "Attributes" = "3:4" + "Setting" = "3:1" + "UsePlugInResources" = "11:TRUE" + } + "UpdateText" + { + "Name" = "8:UpdateText" + "DisplayName" = "8:#1058" + "Description" = "8:#1158" + "Type" = "3:15" + "ContextData" = "8:" + "Attributes" = "3:0" + "Setting" = "3:1" + "Value" = "8:#1258" + "DefaultValue" = "8:#1258" + "UsePlugInResources" = "11:TRUE" + } + } + } + } + } + "{DF760B10-853B-4699-99F2-AFF7185B4A62}:_D32DD10BF47D4C1DA77CCD7B39B6C448" + { + "Name" = "8:#1901" + "Sequence" = "3:2" + "Attributes" = "3:2" + "Dialogs" + { + "{688940B3-5CA9-4162-8DEE-2993FA9D8CBC}:_E1094BC3121B4A8481D89679A087094A" + { + "Sequence" = "3:100" + "DisplayName" = "8:진행률" + "UseDynamicProperties" = "11:TRUE" + "IsDependency" = "11:FALSE" + "SourcePath" = "8:\\VsdAdminProgressDlg.wid" + "Properties" + { + "BannerBitmap" + { + "Name" = "8:BannerBitmap" + "DisplayName" = "8:#1001" + "Description" = "8:#1101" + "Type" = "3:8" + "ContextData" = "8:Bitmap" + "Attributes" = "3:4" + "Setting" = "3:1" + "UsePlugInResources" = "11:TRUE" + } + "ShowProgress" + { + "Name" = "8:ShowProgress" + "DisplayName" = "8:#1009" + "Description" = "8:#1109" + "Type" = "3:5" + "ContextData" = "8:1;True=1;False=0" + "Attributes" = "3:0" + "Setting" = "3:0" + "Value" = "3:1" + "DefaultValue" = "3:1" + "UsePlugInResources" = "11:TRUE" + } + } + } + } + } + "{DF760B10-853B-4699-99F2-AFF7185B4A62}:_D368AA2C3E894C6E9B9E4F663B915C00" + { + "Name" = "8:#1900" + "Sequence" = "3:2" + "Attributes" = "3:1" + "Dialogs" + { + "{688940B3-5CA9-4162-8DEE-2993FA9D8CBC}:_66C7A280677542F698350C3D2A100180" + { + "Sequence" = "3:300" + "DisplayName" = "8:설치 확인" + "UseDynamicProperties" = "11:TRUE" + "IsDependency" = "11:FALSE" + "SourcePath" = "8:\\VsdAdminConfirmDlg.wid" + "Properties" + { + "BannerBitmap" + { + "Name" = "8:BannerBitmap" + "DisplayName" = "8:#1001" + "Description" = "8:#1101" + "Type" = "3:8" + "ContextData" = "8:Bitmap" + "Attributes" = "3:4" + "Setting" = "3:1" + "UsePlugInResources" = "11:TRUE" + } + } + } + "{688940B3-5CA9-4162-8DEE-2993FA9D8CBC}:_9CCC2B09C8FD4391B21A2E9AED1FB4A0" + { + "Sequence" = "3:100" + "DisplayName" = "8:환영" + "UseDynamicProperties" = "11:TRUE" + "IsDependency" = "11:FALSE" + "SourcePath" = "8:\\VsdAdminWelcomeDlg.wid" + "Properties" + { + "BannerBitmap" + { + "Name" = "8:BannerBitmap" + "DisplayName" = "8:#1001" + "Description" = "8:#1101" + "Type" = "3:8" + "ContextData" = "8:Bitmap" + "Attributes" = "3:4" + "Setting" = "3:1" + "UsePlugInResources" = "11:TRUE" + } + "CopyrightWarning" + { + "Name" = "8:CopyrightWarning" + "DisplayName" = "8:#1002" + "Description" = "8:#1102" + "Type" = "3:3" + "ContextData" = "8:" + "Attributes" = "3:0" + "Setting" = "3:1" + "Value" = "8:#1202" + "DefaultValue" = "8:#1202" + "UsePlugInResources" = "11:TRUE" + } + "Welcome" + { + "Name" = "8:Welcome" + "DisplayName" = "8:#1003" + "Description" = "8:#1103" + "Type" = "3:3" + "ContextData" = "8:" + "Attributes" = "3:0" + "Setting" = "3:1" + "Value" = "8:#1203" + "DefaultValue" = "8:#1203" + "UsePlugInResources" = "11:TRUE" + } + } + } + "{688940B3-5CA9-4162-8DEE-2993FA9D8CBC}:_CFE439A462B1461EAC49DBAF66F2B446" + { + "Sequence" = "3:200" + "DisplayName" = "8:설치 폴더" + "UseDynamicProperties" = "11:TRUE" + "IsDependency" = "11:FALSE" + "SourcePath" = "8:\\VsdAdminFolderDlg.wid" + "Properties" + { + "BannerBitmap" + { + "Name" = "8:BannerBitmap" + "DisplayName" = "8:#1001" + "Description" = "8:#1101" + "Type" = "3:8" + "ContextData" = "8:Bitmap" + "Attributes" = "3:4" + "Setting" = "3:1" + "UsePlugInResources" = "11:TRUE" + } + } + } + } + } + "{DF760B10-853B-4699-99F2-AFF7185B4A62}:_D6DB45365BDF4E8BAE0C48C2337965D2" + { + "Name" = "8:#1901" + "Sequence" = "3:1" + "Attributes" = "3:2" + "Dialogs" + { + "{688940B3-5CA9-4162-8DEE-2993FA9D8CBC}:_5BFEC1290D2349B98A42CEA62D1B52E6" + { + "Sequence" = "3:100" + "DisplayName" = "8:진행률" + "UseDynamicProperties" = "11:TRUE" + "IsDependency" = "11:FALSE" + "SourcePath" = "8:\\VsdProgressDlg.wid" + "Properties" + { + "BannerBitmap" + { + "Name" = "8:BannerBitmap" + "DisplayName" = "8:#1001" + "Description" = "8:#1101" + "Type" = "3:8" + "ContextData" = "8:Bitmap" + "Attributes" = "3:4" + "Setting" = "3:1" + "UsePlugInResources" = "11:TRUE" + } + "ShowProgress" + { + "Name" = "8:ShowProgress" + "DisplayName" = "8:#1009" + "Description" = "8:#1109" + "Type" = "3:5" + "ContextData" = "8:1;True=1;False=0" + "Attributes" = "3:0" + "Setting" = "3:0" + "Value" = "3:1" + "DefaultValue" = "3:1" + "UsePlugInResources" = "11:TRUE" + } + } + } + } + } + "{DF760B10-853B-4699-99F2-AFF7185B4A62}:_D99B132739A244E8820912FE34D79B2B" + { + "Name" = "8:#1900" + "Sequence" = "3:1" + "Attributes" = "3:1" + "Dialogs" + { + "{688940B3-5CA9-4162-8DEE-2993FA9D8CBC}:_5D2590475DC847BBA50C5212F237A708" + { + "Sequence" = "3:200" + "DisplayName" = "8:설치 폴더" + "UseDynamicProperties" = "11:TRUE" + "IsDependency" = "11:FALSE" + "SourcePath" = "8:\\VsdFolderDlg.wid" + "Properties" + { + "BannerBitmap" + { + "Name" = "8:BannerBitmap" + "DisplayName" = "8:#1001" + "Description" = "8:#1101" + "Type" = "3:8" + "ContextData" = "8:Bitmap" + "Attributes" = "3:4" + "Setting" = "3:1" + "UsePlugInResources" = "11:TRUE" + } + "InstallAllUsersVisible" + { + "Name" = "8:InstallAllUsersVisible" + "DisplayName" = "8:#1059" + "Description" = "8:#1159" + "Type" = "3:5" + "ContextData" = "8:1;True=1;False=0" + "Attributes" = "3:0" + "Setting" = "3:0" + "Value" = "3:1" + "DefaultValue" = "3:1" + "UsePlugInResources" = "11:TRUE" + } + } + } + "{688940B3-5CA9-4162-8DEE-2993FA9D8CBC}:_E7AB59F144B842BCA4334ED5C9C271ED" + { + "Sequence" = "3:100" + "DisplayName" = "8:환영" + "UseDynamicProperties" = "11:TRUE" + "IsDependency" = "11:FALSE" + "SourcePath" = "8:\\VsdWelcomeDlg.wid" + "Properties" + { + "BannerBitmap" + { + "Name" = "8:BannerBitmap" + "DisplayName" = "8:#1001" + "Description" = "8:#1101" + "Type" = "3:8" + "ContextData" = "8:Bitmap" + "Attributes" = "3:4" + "Setting" = "3:1" + "UsePlugInResources" = "11:TRUE" + } + "CopyrightWarning" + { + "Name" = "8:CopyrightWarning" + "DisplayName" = "8:#1002" + "Description" = "8:#1102" + "Type" = "3:3" + "ContextData" = "8:" + "Attributes" = "3:0" + "Setting" = "3:1" + "Value" = "8:#1202" + "DefaultValue" = "8:#1202" + "UsePlugInResources" = "11:TRUE" + } + "Welcome" + { + "Name" = "8:Welcome" + "DisplayName" = "8:#1003" + "Description" = "8:#1103" + "Type" = "3:3" + "ContextData" = "8:" + "Attributes" = "3:0" + "Setting" = "3:1" + "Value" = "8:#1203" + "DefaultValue" = "8:#1203" + "UsePlugInResources" = "11:TRUE" + } + } + } + "{688940B3-5CA9-4162-8DEE-2993FA9D8CBC}:_FD26B9BF12B14607835CDA42807B4CD8" + { + "Sequence" = "3:300" + "DisplayName" = "8:설치 확인" + "UseDynamicProperties" = "11:TRUE" + "IsDependency" = "11:FALSE" + "SourcePath" = "8:\\VsdConfirmDlg.wid" + "Properties" + { + "BannerBitmap" + { + "Name" = "8:BannerBitmap" + "DisplayName" = "8:#1001" + "Description" = "8:#1101" + "Type" = "3:8" + "ContextData" = "8:Bitmap" + "Attributes" = "3:4" + "Setting" = "3:1" + "UsePlugInResources" = "11:TRUE" + } + } + } + } + } + } + "MergeModule" + { + } + "ProjectOutput" + { + } + } +} diff --git a/UpgradeLog.htm b/UpgradeLog.htm new file mode 100644 index 0000000..be65a75 --- /dev/null +++ b/UpgradeLog.htm @@ -0,0 +1,268 @@ + + + + 마이그레이션 보고서 +

+ 마이그레이션 보고서 -

\ No newline at end of file diff --git a/UpgradeLog2.htm b/UpgradeLog2.htm new file mode 100644 index 0000000..5a7f095 --- /dev/null +++ b/UpgradeLog2.htm @@ -0,0 +1,268 @@ + + + + 마이그레이션 보고서 +

+ 마이그레이션 보고서 -

\ No newline at end of file diff --git a/UpgradeLog3.htm b/UpgradeLog3.htm new file mode 100644 index 0000000..5a7f095 --- /dev/null +++ b/UpgradeLog3.htm @@ -0,0 +1,268 @@ + + + + 마이그레이션 보고서 +

+ 마이그레이션 보고서 -

\ No newline at end of file diff --git a/UpgradeLog4.htm b/UpgradeLog4.htm new file mode 100644 index 0000000..5a7f095 --- /dev/null +++ b/UpgradeLog4.htm @@ -0,0 +1,268 @@ + + + + 마이그레이션 보고서 +

+ 마이그레이션 보고서 -

\ No newline at end of file diff --git a/build_log.txt b/build_log.txt deleted file mode 100644 index 459e8ca..0000000 Binary files a/build_log.txt and /dev/null differ diff --git a/leak_test_project.Setup/Product.wxs b/leak_test_project.Setup/Product.wxs new file mode 100644 index 0000000..7795f64 --- /dev/null +++ b/leak_test_project.Setup/Product.wxs @@ -0,0 +1,13 @@ + + + + + +"UTF-8"?> + + + + + + diff --git a/leak_test_project.slnx b/leak_test_project.slnx index 5c33b2e..c611017 100644 --- a/leak_test_project.slnx +++ b/leak_test_project.slnx @@ -1,3 +1,4 @@ - + + \ No newline at end of file diff --git a/leak_test_project/Manual/02_초기_설정.md b/leak_test_project/Manual/02_초기_설정.md index dbe0b8a..3febfc5 100644 --- a/leak_test_project/Manual/02_초기_설정.md +++ b/leak_test_project/Manual/02_초기_설정.md @@ -159,7 +159,7 @@ OfflinePreview=false 1. **`ID Test (L)`** 버튼을 클릭합니다. 2. 좌측 채널의 진행 메시지가 순서대로 표시됩니다: - `시험 시작` → `센서 정보 읽는 중` → `ID 테스트 완료` (또는 `ID 테스트 실패`) -3. 좌측 채널의 **ID / LOW ID** 영역에 읽은 제품 ID가 표시되면 정상입니다. +3. 좌측 채널의 **ID** 영역에 읽은 제품 ID가 표시되면 정상입니다. > **참고**: ID Test는 DIO 시작 신호 없이도 4251 보드의 센서 판독 기능만 단독으로 테스트합니다. 실제 LEAK 시험은 수행하지 않습니다. diff --git a/leak_test_project/Manual/03_메인_화면.md b/leak_test_project/Manual/03_메인_화면.md index 4dd5b61..1932142 100644 --- a/leak_test_project/Manual/03_메인_화면.md +++ b/leak_test_project/Manual/03_메인_화면.md @@ -16,7 +16,7 @@ │ LEFT LEAK TESTER │ RIGHT LEAK TESTER │ ├─────────────────────────────┼──────────────────────────────────┤ │ 시작 시간 │ 2026-06-23 ... │ 시작 시간 │ 2026-06-23 ... │ -│ ID/LOW ID │ ABC123 / 00FF │ ID/LOW ID │ DEF456 / 01AA │ +│ ID │ ABC123456789012 │ ID │ DEF4567890123456 │ │ 측정값 │ 0.5234 sccm │ 측정값 │ 0.3124 sccm │ │ │ SPEC UL: 1.00 │ │ SPEC UL: 1.00 │ │ │ SPEC LL: -1.00 │ │ SPEC LL: -1.00 │ @@ -73,11 +73,11 @@ | 값 | `yyyy-MM-dd HH:mm:ss` 형식 (예: `2026-05-08 10:30:15`) | | 갱신 시점 | 시험이 시작될 때마다 현재 시각으로 자동 갱신 | -#### ③ ID / LOW ID (Row 2) +#### ③ ID (Row 2) | 항목 | 설명 | |------|------| -| 라벨 | `ID / LOW ID` (회색 헤더 배경) | -| 값 | `{제품ID} / {Low ID}` 형식으로 조합 표시 | +| 라벨 | `ID` (회색 헤더 배경) | +| 값 | 16자리 제품 ID 표시 | | 데이터 소스 | 4251 보드를 통해 ZMDI 센서에서 읽은 값 | | 갱신 시점 | 시험 시작 시 초기화, 센서 판독 완료 시 표시 | diff --git a/leak_test_project/Manual/07_시험_프로세스.md b/leak_test_project/Manual/07_시험_프로세스.md index 2d7c21c..f495229 100644 --- a/leak_test_project/Manual/07_시험_프로세스.md +++ b/leak_test_project/Manual/07_시험_프로세스.md @@ -29,7 +29,7 @@ ┌──────────────────────────────────────────────────────┐ │ 2단계: 센서 정보 읽기 │ │ · 4251 보드를 통해 ZMDI 센서에서 제품 ID 판독 │ - │ · ID / LOW ID를 메인 화면에 표시 │ + │ · ID를 메인 화면에 표시 │ │ · ID 읽기 실패 시: "ID 읽기 실패" 오류 출력 후 │ │ "NG" 판정으로 DB 비동기 저장 및 조기 종료 (Skip) │ │ (DB 저장 실패 시 "DB 저장 실패" 문구 표시) │ @@ -112,7 +112,7 @@ Sentinel C28 센서에서 수신한 데이터는 채널 번호(ChannelNo)로 구 3. 500ms 대기 (UI 피드백용) 4. "센서 정보 읽는 중" 메시지 표시 5. 4251 보드를 통해 ZMDI 센서 ID 판독 -6. 성공 시: ID / LOW ID 표시 + "ID 테스트 완료" +6. 성공 시: ID 표시 + "ID 테스트 완료" 7. 실패 시: ID를 "-"로 표시 + "ID 테스트 실패" 8. 세마포어 잠금 해제 diff --git a/leak_test_project/Models/ProjectModels.cs b/leak_test_project/Models/ProjectModels.cs index 3746696..416e985 100644 --- a/leak_test_project/Models/ProjectModels.cs +++ b/leak_test_project/Models/ProjectModels.cs @@ -126,7 +126,6 @@ namespace leak_test_project.Models public string TestDate { get; set; } public string TestTime { get; set; } public string SerialNo { get; set; } - public string LowID { get; set; } /// 센서 자체 판정 결과 (A=Accept, R=Reject). SPEC 교차 검증에 사용. public string SensorJudgment { get; set; } @@ -143,9 +142,6 @@ namespace leak_test_project.Models /// public class SensorIdData { - /// 센서 메모리에서 읽은 원본 Low ID 문자열 - public string LowID { get; set; } = ""; - /// 제조 년도 public int Year { get; set; } diff --git a/leak_test_project/Properties/PublishProfiles/ClickOnceProfile.pubxml b/leak_test_project/Properties/PublishProfiles/ClickOnceProfile.pubxml new file mode 100644 index 0000000..5c70920 --- /dev/null +++ b/leak_test_project/Properties/PublishProfiles/ClickOnceProfile.pubxml @@ -0,0 +1,39 @@ + + + + + 1 + 1.0.0.* + True + Release + False + true + True + Disk + True + False + True + False + Any CPU + bin\Release\net9.0-windows\app.publish\ + bin\publish\ + ClickOnce + False + False + False + (없음) + False + false + net9.0-windows + False + Foreground + False + Publish.html + + + + True + .NET 데스크톱 런타임 9.0.17 (x64) + + + \ No newline at end of file diff --git a/leak_test_project/Properties/PublishProfiles/ClickOnceProfile.pubxml.user b/leak_test_project/Properties/PublishProfiles/ClickOnceProfile.pubxml.user new file mode 100644 index 0000000..f5f7e08 --- /dev/null +++ b/leak_test_project/Properties/PublishProfiles/ClickOnceProfile.pubxml.user @@ -0,0 +1,8 @@ + + + + + True|2026-06-25T02:53:03.4858059Z||; + + + \ No newline at end of file diff --git a/leak_test_project/Properties/PublishProfiles/FolderProfile.pubxml b/leak_test_project/Properties/PublishProfiles/FolderProfile.pubxml new file mode 100644 index 0000000..78fce8a --- /dev/null +++ b/leak_test_project/Properties/PublishProfiles/FolderProfile.pubxml @@ -0,0 +1,13 @@ + + + + + Release + Any CPU + C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release + FileSystem + <_TargetId>Folder + net9.0-windows + false + + \ No newline at end of file diff --git a/leak_test_project/Properties/PublishProfiles/FolderProfile.pubxml.user b/leak_test_project/Properties/PublishProfiles/FolderProfile.pubxml.user new file mode 100644 index 0000000..2b4af05 --- /dev/null +++ b/leak_test_project/Properties/PublishProfiles/FolderProfile.pubxml.user @@ -0,0 +1,8 @@ + + + + + True|2026-06-25T05:28:15.0458856Z||;True|2026-06-25T13:57:36.3233571+09:00||;True|2026-06-25T12:56:04.8828587+09:00||; + + + \ No newline at end of file diff --git a/leak_test_project/Services/Board4251.cs b/leak_test_project/Services/Board4251.cs index 300052d..4268c19 100644 --- a/leak_test_project/Services/Board4251.cs +++ b/leak_test_project/Services/Board4251.cs @@ -395,7 +395,6 @@ namespace leak_test_project.Services // 특정 규칙이 있다면 여기서 분할함. var data = new SensorIdData { - LowID = rawId, ID = rawId, // 16자리 전체를 ID로 사용 Serial = "", // 시리얼 번호는 현재 존재하지 않으므로 강제로 파싱하지 않음 Item = "N/A" diff --git a/leak_test_project/Services/SentinelC28Service.cs b/leak_test_project/Services/SentinelC28Service.cs index b6862a5..82ba3a0 100644 --- a/leak_test_project/Services/SentinelC28Service.cs +++ b/leak_test_project/Services/SentinelC28Service.cs @@ -1,6 +1,7 @@ using System; using System.Diagnostics; using System.Timers; +using Timer = System.Timers.Timer; using leak_test_project.Infrastructure; using leak_test_project.Utils; diff --git a/leak_test_project/ViewModels/HomeViewModel.cs b/leak_test_project/ViewModels/HomeViewModel.cs index a04d446..e3e8621 100644 --- a/leak_test_project/ViewModels/HomeViewModel.cs +++ b/leak_test_project/ViewModels/HomeViewModel.cs @@ -45,28 +45,7 @@ namespace leak_test_project.ViewModels public string LeftStartTime { get => _leftStartTime; set => SetProperty(ref _leftStartTime, value); } private string _leftId = ""; - public string LeftId - { - get => _leftId; - set - { - if (SetProperty(ref _leftId, value)) - OnPropertyChanged(nameof(LeftIdCombined)); - } - } - - private string _leftLowId = ""; - public string LeftLowId - { - get => _leftLowId; - set - { - if (SetProperty(ref _leftLowId, value)) - OnPropertyChanged(nameof(LeftIdCombined)); - } - } - - public string LeftIdCombined => $"{LeftId} / {LeftLowId}"; + public string LeftId { get => _leftId; set => SetProperty(ref _leftId, value); } private string _leftError = ""; public string LeftError { get => _leftError; set => SetProperty(ref _leftError, value); } @@ -89,28 +68,7 @@ namespace leak_test_project.ViewModels public string RightStartTime { get => _rightStartTime; set => SetProperty(ref _rightStartTime, value); } private string _rightId = ""; - public string RightId - { - get => _rightId; - set - { - if (SetProperty(ref _rightId, value)) - OnPropertyChanged(nameof(RightIdCombined)); - } - } - - private string _rightLowId = ""; - public string RightLowId - { - get => _rightLowId; - set - { - if (SetProperty(ref _rightLowId, value)) - OnPropertyChanged(nameof(RightIdCombined)); - } - } - - public string RightIdCombined => $"{RightId} / {RightLowId}"; + public string RightId { get => _rightId; set => SetProperty(ref _rightId, value); } private string _rightError = ""; public string RightError { get => _rightError; set => SetProperty(ref _rightError, value); } @@ -300,12 +258,10 @@ namespace leak_test_project.ViewModels if (args.TestIndex == 0) { LeftId = d.ID; - LeftLowId = d.LowID; } else { RightId = d.ID; - RightLowId = d.LowID; } }); @@ -346,7 +302,7 @@ namespace leak_test_project.ViewModels { LeftValue = ""; LeftJudgment = ""; IsLeftOk = false; LeftStartTime = DateTime.Now.ToString("yyyy-MM-dd HH:mm:ss"); - LeftId = ""; LeftLowId = ""; + LeftId = ""; LeftError = ""; } @@ -354,7 +310,7 @@ namespace leak_test_project.ViewModels { RightValue = ""; RightJudgment = ""; IsRightOk = false; RightStartTime = DateTime.Now.ToString("yyyy-MM-dd HH:mm:ss"); - RightId = ""; RightLowId = ""; + RightId = ""; RightError = ""; } diff --git a/leak_test_project/Views/HomeView.xaml b/leak_test_project/Views/HomeView.xaml index 2569c94..f5f0b0f 100644 --- a/leak_test_project/Views/HomeView.xaml +++ b/leak_test_project/Views/HomeView.xaml @@ -83,17 +83,17 @@ - + - + - + @@ -256,17 +256,17 @@ - + - + - + diff --git a/leak_test_project/bin/Debug/Logs/2026-04-10_system.log b/leak_test_project/bin/Debug/Logs/2026-04-10_system.log deleted file mode 100644 index 97f16be..0000000 --- a/leak_test_project/bin/Debug/Logs/2026-04-10_system.log +++ /dev/null @@ -1,40 +0,0 @@ -[10:57:23.540] [WARNING] [Board4253] Timeout waiting for response (Retry 1/3): x00c_001101:or2800326003e -[10:57:24.360] [WARNING] [Board4253] Timeout waiting for response (Retry 2/3): x00c_001101:or2800326003e -[10:57:25.176] [WARNING] [Board4253] Timeout waiting for response (Retry 3/3): x00c_001101:or2800326003e -[10:57:25.996] [WARNING] [Board4253] Timeout waiting for response (Retry 4/3): x00c_001101:or2800326003e -[10:57:25.996] [ERROR] [Board4253] Failed to receive response after 3 retries: x00c_001101:or2800326003e -[11:27:53.912] [WARNING] [Board4253] Timeout waiting for response (Retry 1/3): x00c_001101:ow2800326003e -[11:27:54.720] [WARNING] [Board4253] Timeout waiting for response (Retry 2/3): x00c_001101:ow2800326003e -[11:27:55.532] [WARNING] [Board4253] Timeout waiting for response (Retry 3/3): x00c_001101:ow2800326003e -[11:27:56.342] [WARNING] [Board4253] Timeout waiting for response (Retry 4/3): x00c_001101:ow2800326003e -[11:27:56.342] [ERROR] [Board4253] Failed to receive response after 3 retries: x00c_001101:ow2800326003e -[11:29:30.538] [WARNING] [Board4253] Timeout waiting for response (Retry 1/3): x00c_001101:ow2800326003e -[11:29:31.343] [WARNING] [Board4253] Timeout waiting for response (Retry 2/3): x00c_001101:ow2800326003e -[11:29:32.156] [WARNING] [Board4253] Timeout waiting for response (Retry 3/3): x00c_001101:ow2800326003e -[11:29:33.452] [WARNING] [Board4253] Timeout waiting for response (Retry 1/3): x00c_002101:owt28006727ea97c7801 -[11:29:34.263] [WARNING] [Board4253] Timeout waiting for response (Retry 2/3): x00c_002101:owt28006727ea97c7801 -[11:29:38.203] [WARNING] [Board4253] Timeout waiting for response (Retry 1/3): x00c_001101:ow2800326003e -[11:29:39.013] [WARNING] [Board4253] Timeout waiting for response (Retry 2/3): x00c_001101:ow2800326003e -[11:29:39.827] [WARNING] [Board4253] Timeout waiting for response (Retry 3/3): x00c_001101:ow2800326003e -[11:29:40.640] [WARNING] [Board4253] Timeout waiting for response (Retry 4/3): x00c_001101:ow2800326003e -[11:29:40.641] [ERROR] [Board4253] Failed to receive response after 3 retries: x00c_001101:ow2800326003e -[11:30:02.158] [WARNING] [Board4253] Timeout waiting for response (Retry 1/3): x00c_001101:ow2800326003e -[11:30:02.970] [WARNING] [Board4253] Timeout waiting for response (Retry 2/3): x00c_001101:ow2800326003e -[11:30:03.782] [WARNING] [Board4253] Timeout waiting for response (Retry 3/3): x00c_001101:ow2800326003e -[11:30:04.399] [ERROR] [Board4253] Failed to receive response after 3 retries: x00c_001101:ow2800326003e -[11:31:35.380] [WARNING] [Board4253] Timeout waiting for response (Retry 1/3): x00c_001101:ow2800326003e -[11:31:36.186] [WARNING] [Board4253] Timeout waiting for response (Retry 2/3): x00c_001101:ow2800326003e -[11:31:36.998] [WARNING] [Board4253] Timeout waiting for response (Retry 3/3): x00c_001101:ow2800326003e -[11:31:39.570] [WARNING] [Board4253] Timeout waiting for response (Retry 1/3): x00c_002101:owt28006727ea97c7801 -[11:31:40.392] [WARNING] [Board4253] Timeout waiting for response (Retry 2/3): x00c_002101:owt28006727ea97c7801 -[11:31:41.203] [WARNING] [Board4253] Timeout waiting for response (Retry 3/3): x00c_002101:owt28006727ea97c7801 -[11:31:42.014] [WARNING] [Board4253] Timeout waiting for response (Retry 4/3): x00c_002101:owt28006727ea97c7801 -[11:31:42.014] [ERROR] [Board4253] Failed to receive response after 3 retries: x00c_002101:owt28006727ea97c7801 -[11:31:42.521] [WARNING] [Board4253] Timeout waiting for response (Retry 1/3): x00c_001101:owt28006727ea97c7801 -[11:32:17.987] [WARNING] [Board4253] Timeout waiting for response (Retry 1/3): x00c_001101:ow2800326003e -[11:32:18.794] [WARNING] [Board4253] Timeout waiting for response (Retry 2/3): x00c_001101:ow2800326003e -[11:32:19.609] [WARNING] [Board4253] Timeout waiting for response (Retry 3/3): x00c_001101:ow2800326003e -[11:32:20.227] [ERROR] [Board4253] Failed to receive response after 3 retries: x00c_001101:ow2800326003e -[11:34:56.304] [WARNING] [Board4253] Timeout waiting for response (Retry 1/3): x00c_001101:ow2800326003e -[11:34:57.111] [WARNING] [Board4253] Timeout waiting for response (Retry 2/3): x00c_001101:ow2800326003e -[11:34:57.922] [WARNING] [Board4253] Timeout waiting for response (Retry 3/3): x00c_001101:ow2800326003e diff --git a/leak_test_project/bin/Debug/PCI-Dask64.dll b/leak_test_project/bin/Debug/PCI-Dask64.dll deleted file mode 100644 index bfe5d7a..0000000 Binary files a/leak_test_project/bin/Debug/PCI-Dask64.dll and /dev/null differ diff --git a/leak_test_project/bin/Debug/app.publish/leak_test_project.exe b/leak_test_project/bin/Debug/app.publish/leak_test_project.exe deleted file mode 100644 index af9f670..0000000 Binary files a/leak_test_project/bin/Debug/app.publish/leak_test_project.exe and /dev/null differ diff --git a/leak_test_project/bin/Debug/config.xml b/leak_test_project/bin/Debug/config.xml deleted file mode 100644 index 20aa724..0000000 --- a/leak_test_project/bin/Debug/config.xml +++ /dev/null @@ -1,14 +0,0 @@ - - - Board4253 - COM9 - COM8 - 19200 - COM1 - 9600 - COM11 - 115200 - 500 - 1 - -1 - \ No newline at end of file diff --git a/leak_test_project/bin/Debug/leak_test_project.application b/leak_test_project/bin/Debug/leak_test_project.application deleted file mode 100644 index eedb28f..0000000 --- a/leak_test_project/bin/Debug/leak_test_project.application +++ /dev/null @@ -1,21 +0,0 @@ - - - - - - - - - - - - - - - - - oBxYPjguQtv1EuRHadukWOmGPPqWPod5v+TZToduxNk= - - - - \ No newline at end of file diff --git a/leak_test_project/bin/Debug/leak_test_project.exe b/leak_test_project/bin/Debug/leak_test_project.exe deleted file mode 100644 index af9f670..0000000 Binary files a/leak_test_project/bin/Debug/leak_test_project.exe and /dev/null differ diff --git a/leak_test_project/bin/Debug/leak_test_project.exe.manifest b/leak_test_project/bin/Debug/leak_test_project.exe.manifest deleted file mode 100644 index ae8c6d0..0000000 --- a/leak_test_project/bin/Debug/leak_test_project.exe.manifest +++ /dev/null @@ -1,74 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - NEvi6EY1Ysg2m7d04Ix80K81U0DF+ZZKnv+9QRT3SMc= - - - - - - - - - - pDB54gSYV5M/tu2DZtDUj13HUp3HrRLSNr97K/nGHh4= - - - - - - - - - R+Wg8QGvQVHX8T0ta/qbhH1bXkqY0fRnS3wBV3J0bN8= - - - \ No newline at end of file diff --git a/leak_test_project/bin/Debug/leak_test_project.pdb b/leak_test_project/bin/Debug/leak_test_project.pdb deleted file mode 100644 index 0378060..0000000 Binary files a/leak_test_project/bin/Debug/leak_test_project.pdb and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Include/DAQHeader.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Include/DAQHeader.h deleted file mode 100644 index 18ac31b..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Include/DAQHeader.h +++ /dev/null @@ -1,68 +0,0 @@ -#ifndef _DAQHEADER_H -#define _DAQHEADER_H - -/*========================================== - - Map of DAQ File - +-------------------------+ - | | - | Header | - | | - +-------------------------+ - | ChannelRange | - | (Optional) | - +-------------------------+ - | ChannelCompensation | - | (Only for PCI-9524) | - +-------------------------+ - | | - | DAQ data | - | | - | | - +-------------------------+ - -============================================*/ - -#pragma pack(push, before_include) -#pragma pack(1) - -/*size is 60 bytes*/ -typedef struct _DAQFILE_HEADER -{ - char ID[10]; //ex "ADLinkDAQ1" - short card_type; //Pci7250, Pci9112...(include DG, HR, HG) - short num_of_channel; //1, 2,... - unsigned char channel_no; //used only num_of_channel is 1 - long num_of_scan; - short data_width; //0: 8 bits, 1: 16 bits, 2: 32 bits - short channel_order; //0: 0-1-2-3, 1: 3-2-1-0, 2: custom - short ad_range; - double scan_rate; - short num_of_channel_range; - char start_date[8]; //"12/31/99" - char start_time[8]; //"18:30:25" - char start_millisec[3]; //"360" - char reserved[6]; -} -DAQFileHeader; - - -typedef struct _CHANNEL_RANGE -{ - unsigned char channel; - unsigned char range; -} -DAQChannelRange; - - -typedef struct _Channel_Compensation_9524 -{ - double residual_offset; - double residual_scaling; -} -ChannelCompensation9524; - - -#pragma pack(pop, before_include) - -#endif diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Include/Dask.bas b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Include/Dask.bas deleted file mode 100644 index 675ecf6..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Include/Dask.bas +++ /dev/null @@ -1,1516 +0,0 @@ -Attribute VB_Name = "DASK" -Option Explicit - -'ADLink PCI Card Type -Global Const PCI_6208V = 1 -Global Const PCI_6208A = 2 -Global Const PCI_6308V = 3 -Global Const PCI_6308A = 4 -Global Const PCI_7200 = 5 -Global Const PCI_7230 = 6 -Global Const PCI_7233 = 7 -Global Const PCI_7234 = 8 -Global Const PCI_7248 = 9 -Global Const PCI_7249 = 10 -Global Const PCI_7250 = 11 -Global Const PCI_7252 = 12 -Global Const PCI_7296 = 13 -Global Const PCI_7300A_RevA = 14 -Global Const PCI_7300A_RevB = 15 -Global Const PCI_7432 = 16 -Global Const PCI_7433 = 17 -Global Const PCI_7434 = 18 -Global Const PCI_8554 = 19 -Global Const PCI_9111DG = 20 -Global Const PCI_9111HR = 21 -Global Const PCI_9112 = 22 -Global Const PCI_9113 = 23 -Global Const PCI_9114DG = 24 -Global Const PCI_9114HG = 25 -Global Const PCI_9118DG = 26 -Global Const PCI_9118HG = 27 -Global Const PCI_9118HR = 28 -Global Const PCI_9810 = 29 -Global Const PCI_9812 = 30 -Global Const PCI_7396 = 31 -Global Const PCI_9116 = 32 -Global Const PCI_7256 = 33 -Global Const PCI_7258 = 34 -Global Const PCI_7260 = 35 -Global Const PCI_7452 = 36 -Global Const PCI_7442 = 37 -Global Const PCI_7443 = 38 -Global Const PCI_7444 = 39 -Global Const PCI_9221 = 40 -Global Const PCI_9524 = 41 -Global Const PCI_6202 = 42 -Global Const PCI_9222 = 43 -Global Const PCI_9223 = 44 -Global Const PCI_7433C = 45 -Global Const PCI_7434C = 46 -Global Const PCI_922A = 47 -Global Const PCI_7350 = 48 -Global Const PCI_7360 = 49 - -Global Const MAX_CARD = 32 - -'Error Code -Global Const NoError = 0 -Global Const ErrorUnknownCardType = -1 -Global Const ErrorInvalidCardNumber = -2 -Global Const ErrorTooManyCardRegistered = -3 -Global Const ErrorCardNotRegistered = -4 -Global Const ErrorFuncNotSupport = -5 -Global Const ErrorInvalidIoChannel = -6 -Global Const ErrorInvalidAdRange = -7 -Global Const ErrorContIoNotAllowed = -8 -Global Const ErrorDiffRangeNotSupport = -9 -Global Const ErrorLastChannelNotZero = -10 -Global Const ErrorChannelNotDescending = -11 -Global Const ErrorChannelNotAscending = -12 -Global Const ErrorOpenDriverFailed = -13 -Global Const ErrorOpenEventFailed = -14 -Global Const ErrorTransferCountTooLarge = -15 -Global Const ErrorNotDoubleBufferMode = -16 -Global Const ErrorInvalidSampleRate = -17 -Global Const ErrorInvalidCounterMode = -18 -Global Const ErrorInvalidCounter = -19 -Global Const ErrorInvalidCounterState = -20 -Global Const ErrorInvalidBinBcdParam = -21 -Global Const ErrorBadCardType = -22 -Global Const ErrorInvalidDaRange = -23 -Global Const ErrorAdTimeOut = -24 -Global Const ErrorNoAsyncAI = -25 -Global Const ErrorNoAsyncAO = -26 -Global Const ErrorNoAsyncDI = -27 -Global Const ErrorNoAsyncDO = -28 -Global Const ErrorNotInputPort = -29 -Global Const ErrorNotOutputPort = -30 -Global Const ErrorInvalidDioPort = -31 -Global Const ErrorInvalidDioLine = -32 -Global Const ErrorContIoActive = -33 -Global Const ErrorDblBufModeNotAllowed = -34 -Global Const ErrorConfigFailed = -35 -Global Const ErrorInvalidPortDirection = -36 -Global Const ErrorBeginThreadError = -37 -Global Const ErrorInvalidPortWidth = -38 -Global Const ErrorInvalidCtrSource = -39 -Global Const ErrorOpenFile = -40 -Global Const ErrorAllocateMemory = -41 -Global Const ErrorDaVoltageOutOfRange = -42 -Global Const ErrorDaExtRefNotAllowed = -43 -Global Const ErrorDIODataWidthError = -44 -Global Const ErrorTaskCodeError = -45 -Global Const ErrortriggercountError = -46 -Global Const ErrorInvalidTriggerMode = -47 -Global Const ErrorInvalidTriggerType = -48 -Global Const ErrorInvalidCounterValue = -50 -Global Const ErrorInvalidEventHandle = -60 -Global Const ErrorNoMessageAvailable = -61 -Global Const ErrorEventMessgaeNotAdded = -62 -Global Const ErrorCalibrationTimeOut = -63 -Global Const ErrorUndefinedParameter = -64 -Global Const ErrorInvalidBufferID = -65 -Global Const ErrorInvalidSampledClock = -66 -Global Const ErrorInvalisOperationMode = -67 - -'Error code for driver API -Global Const ErrorConfigIoctl = -201 -Global Const ErrorAsyncSetIoctl = -202 -Global Const ErrorDBSetIoctl = -203 -Global Const ErrorDBHalfReadyIoctl = -204 -Global Const ErrorContOPIoctl = -205 -Global Const ErrorContStatusIoctl = -206 -Global Const ErrorPIOIoctl = -207 -Global Const ErrorDIntSetIoctl = -208 -Global Const ErrorWaitEvtIoctl = -209 -Global Const ErrorOpenEvtIoctl = -210 -Global Const ErrorCOSIntSetIoctl = -211 -Global Const ErrorMemMapIoctl = -212 -Global Const ErrorMemUMapSetIoctl = -213 -Global Const ErrorCTRIoctl = -214 -Global Const ErrorGetResIoctl = -215 -Global Const ErrorCalIoctl = -216 -Global Const ErrorPMIntSetIoctl = -217 - -'AD Range -Global Const AD_B_10_V = 1 -Global Const AD_B_5_V = 2 -Global Const AD_B_2_5_V = 3 -Global Const AD_B_1_25_V = 4 -Global Const AD_B_0_625_V = 5 -Global Const AD_B_0_3125_V = 6 -Global Const AD_B_0_5_V = 7 -Global Const AD_B_0_05_V = 8 -Global Const AD_B_0_005_V = 9 -Global Const AD_B_1_V = 10 -Global Const AD_B_0_1_V = 11 -Global Const AD_B_0_01_V = 12 -Global Const AD_B_0_001_V = 13 -Global Const AD_U_20_V = 14 -Global Const AD_U_10_V = 15 -Global Const AD_U_5_V = 16 -Global Const AD_U_2_5_V = 17 -Global Const AD_U_1_25_V = 18 -Global Const AD_U_1_V = 19 -Global Const AD_U_0_1_V = 20 -Global Const AD_U_0_01_V = 21 -Global Const AD_U_0_001_V = 22 -Global Const AD_B_2_V = 23 -Global Const AD_B_0_25_V = 24 -Global Const AD_B_0_2_V = 25 -Global Const AD_U_4_V = 26 -Global Const AD_U_2_V = 27 -Global Const AD_U_0_5_V = 28 -Global Const AD_U_0_4_V = 29 - -'Synchronous Mode -Global Const SYNCH_OP = 1 -Global Const ASYNCH_OP = 2 - -'AO Terminate Mode -Global Const DA_TerminateImmediate = 0 - -'Trigger Source -Global Const TRIG_SOFTWARE = 0 -Global Const TRIG_INT_PACER = 1 -Global Const TRIG_EXT_STROBE = 2 -Global Const TRIG_HANDSHAKE = 3 -Global Const TRIG_CLK_10MHZ = 4 'PCI-7300A -Global Const TRIG_CLK_20MHZ = 5 'PCI-7300A -Global Const TRIG_DO_CLK_TIMER_ACK = 6 'PCI-7300A Rev. B -Global Const TRIG_DO_CLK_10M_ACK = 7 'PCI-7300A Rev. B -Global Const TRIG_DO_CLK_20M_ACK = 8 'PCI-7300A Rev. B - -' -'DIO & AFI Voltage Level -' -Global Const VoltLevel_3R3 = 0 -Global Const VoltLevel_2R5 = 1 -Global Const VoltLevel_1R8 = 2 - -'Virtual sampling rate for using external clock as the clock source -Global Const CLKSRC_EXT_SampRate = 10000 - -'--------- Constants for PCI-6208A -------------- -'Output Mode -Global Const P6208_CURRENT_0_20MA = 0 -Global Const P6208_CURRENT_5_25MA = 1 -Global Const P6208_CURRENT_4_20MA = 3 - -'--------- Constants for PCI-6308A/PCI-6308V -------------- -'Output Mode -Global Const P6308_CURRENT_0_20MA = 0 -Global Const P6308_CURRENT_5_25MA = 1 -Global Const P6308_CURRENT_4_20MA = 3 -'AO Setting -Global Const P6308V_AO_CH0_3 = 0 -Global Const P6308V_AO_CH4_7 = 1 -Global Const P6308V_AO_UNIPOLAR = 0 -Global Const P6308V_AO_BIPOLAR = 1 - -'--------- Constants for PCI-7200 -------------- -'InputMode -Global Const DI_WAITING = &H2 -Global Const DI_NOWAITING = &H0 - -Global Const DI_TRIG_RISING = &H4 -Global Const DI_TRIG_FALLING = &H0 - -Global Const IREQ_RISING = &H8 -Global Const IREQ_FALLING = &H0 - -'Output Mode -Global Const OREQ_ENABLE = &H10 -Global Const OREQ_DISABLE = &H0 - -Global Const OTRIG_HIGH = &H20 -Global Const OTRIG_LOW = &H0 - -'--------- Constants for PCI-7248/7296/7442 -------------- -'DIO Port Direction -Global Const INPUT_PORT = 1 -Global Const OUTPUT_PORT = 2 -'DIO Line Direction -Global Const INPUT_LINE = 1 -Global Const OUTPUT_LINE = 2 - -'Channel&Port -Global Const Channel_P1A = 0 -Global Const Channel_P1B = 1 -Global Const Channel_P1C = 2 -Global Const Channel_P1CL = 3 -Global Const Channel_P1CH = 4 -Global Const Channel_P1AE = 10 -Global Const Channel_P1BE = 11 -Global Const Channel_P1CE = 12 -Global Const Channel_P2A = 5 -Global Const Channel_P2B = 6 -Global Const Channel_P2C = 7 -Global Const Channel_P2CL = 8 -Global Const Channel_P2CH = 9 -Global Const Channel_P2AE = 15 -Global Const Channel_P2BE = 16 -Global Const Channel_P2CE = 17 -Global Const Channel_P3A = 10 -Global Const Channel_P3B = 11 -Global Const Channel_P3C = 12 -Global Const Channel_P3CL = 13 -Global Const Channel_P3CH = 14 -Global Const Channel_P4A = 15 -Global Const Channel_P4B = 16 -Global Const Channel_P4C = 17 -Global Const Channel_P4CL = 18 -Global Const Channel_P4CH = 19 -Global Const Channel_P5A = 20 -Global Const Channel_P5B = 21 -Global Const Channel_P5C = 22 -Global Const Channel_P5CL = 23 -Global Const Channel_P5CH = 24 -Global Const Channel_P6A = 25 -Global Const Channel_P6B = 26 -Global Const Channel_P6C = 27 -Global Const Channel_P6CL = 28 -Global Const Channel_P6CH = 29 -Global Const Channel_P1 = 30 -Global Const Channel_P2 = 31 -Global Const Channel_P3 = 32 -Global Const Channel_P4 = 33 -Global Const Channel_P1E = 34 -Global Const Channel_P2E = 35 -Global Const Channel_P3E = 36 -Global Const Channel_P4E = 37 - -Global Const P7442_CH0 = 0 -Global Const P7442_CH1 = 1 -Global Const P7442_TTL0 = 2 -Global Const P7442_TTL1 = 3 - -Global Const P7443_CH0 = 0 -Global Const P7443_CH1 = 1 -Global Const P7443_CH2 = 2 -Global Const P7443_CH3 = 3 -Global Const P7443_TTL0 = 4 -Global Const P7443_TTL1 = 5 - -Global Const P7444_CH0 = 0 -Global Const P7444_CH1 = 1 -Global Const P7444_CH2 = 2 -Global Const P7444_CH3 = 3 -Global Const P7444_TTL0 = 4 -Global Const P7444_TTL1 = 5 - -'--------- Constants for PCI-7300A -------------- -'Wait Status -Global Const P7300_WAIT_NO = 0 -Global Const P7300_WAIT_TRG = 1 -Global Const P7300_WAIT_FIFO = 2 -Global Const P7300_WAIT_BOTH = 3 - -'Terminator control -Global Const P7300_TERM_OFF = 0 -Global Const P7300_TERM_ON = 1 - -'DI control signals polarity for PCI-7300A Rev. B -Global Const P7300_DIREQ_POS = &H0 -Global Const P7300_DIREQ_NEG = &H1 -Global Const P7300_DIACK_POS = &H0 -Global Const P7300_DIACK_NEG = &H2 -Global Const P7300_DITRIG_POS = &H0 -Global Const P7300_DITRIG_NEG = &H4 - -'DO control signals polarity for PCI-7300A Rev. B -Global Const P7300_DOREQ_POS = &H0 -Global Const P7300_DOREQ_NEG = &H8 -Global Const P7300_DOACK_POS = &H0 -Global Const P7300_DOACK_NEG = &H10 -Global Const P7300_DOTRIG_POS = &H0 -Global Const P7300_DOTRIG_NEG = &H20 - -'DO Disable mode in DO_AsyncClear -Global Const P7300_DODisableDOEnabled = 0 -Global Const P7300_DONotDisableDOEnabled = 1 - -'--------- Constants for PCI-7432/7433/7434/7433C/7434C -------------- -Global Const CHANNEL_DI_LOW = 0 -Global Const CHANNEL_DI_HIGH = 1 -Global Const CHANNEL_DO_LOW = 0 -Global Const CHANNEL_DO_HIGH = 1 -Global Const P7432R_DO_LED = 1 -Global Const P7433R_DO_LED = 0 -Global Const P7434R_DO_LED = 2 -Global Const P7432R_DI_SLOT = 1 -Global Const P7433R_DI_SLOT = 2 -Global Const P7434R_DI_SLOT = 0 - -'----- Dual-Interrupt Source control for PCI-7248/49/96 & 7230 & 8554 & 7396 &7256/58 & 7260 & 7433C ----- -Global Const INT1_NC = -1 'INT1 Unchanged -Global Const INT1_DISABLE = -1 'INT1 Disabled -Global Const INT1_COS = 0 'INT1 COS : only available for PCI-7396, PCI-7256/58 & PCI-7260 -Global Const INT1_FP1C0 = 1 'INT1 by Falling edge of P1C0 -Global Const INT1_RP1C0_FP1C3 = 2 'INT1 by P1C0 Rising or P1C3 Falling -Global Const INT1_EVENT_COUNTER = 3 'INT1 by Event Counter down to zero -Global Const INT1_EXT_SIGNAL = 1 'INT1 by external signal : only available for PCI7432/PCI7433/PCI7230 -Global Const INT1_COUT12 = 1 'INT1 COUT12 : only available for PCI8554 -Global Const INT1_CH0 = 1 'INT1 CH0 : only available for PCI7256/58/60 -Global Const INT1_COS0 = 1 'INT1 COS0 : only available for PCI-7452 -Global Const INT1_COS1 = 2 'INT1 COS1 : only available for PCI-7452 -Global Const INT1_COS2 = 3 'INT1 COS2 : only available for PCI-7452 -Global Const INT1_COS3 = 8 'INT1 COS3 : only available for PCI-7452 -Global Const INT2_NC = -1 'INT2 Unchanged -Global Const INT2_DISABLE = -1 'INT2 Disabled -Global Const INT2_COS = 0 'INT2 COS : only available for PCI-7396 -Global Const INT2_FP2C0 = 1 'INT2 by Falling edge of P2C0 -Global Const INT2_RP2C0_FP2C3 = 2 'INT2 by P2C0 Rising or P2C3 Falling -Global Const INT2_TIMER_COUNTER = 3 'INT2 by Timer Counter down to zero -Global Const INT2_EXT_SIGNAL = 1 'INT2 by external signal : only available for PCI7432/PCI7433/PCI7230 -Global Const INT2_CH1 = 2 'INT2 CH1 : only available for PCI7256/58/60 -Global Const INT2_WDT = 4 'INT2 by WDT - -Global Const WDT_OVRFLOW_SAFETYOUT = &H8000 'enable safteyout while WDT overflow -'-------- Constants for PCI-8554 -------------------- -'Clock Source of Cunter N -Global Const ECKN = 0 -Global Const COUTN_1 = 1 -Global Const CK1 = 2 -Global Const COUT10 = 3 - -'Clock Source of CK1 -Global Const CK1_C8M = 0 -Global Const CK1_COUT11 = 1 - -'Debounce Clock -Global Const DBCLK_COUT11 = 0 -Global Const DBCLK_2MHZ = 1 - -'--------- Constants for PCI-9111 -------------- -'Dual Interrupt Mode -Global Const P9111_INT1_EOC = 0 'Ending of AD conversion -Global Const P9111_INT1_FIFO_HF = 1 'FIFO Half Full -Global Const P9111_INT2_PACER = 0 'Every Timer tick -Global Const P9111_INT2_EXT_TRG = 1 'ExtTrig High->Low - -'Channel Count -Global Const P9111_CHANNEL_DO = 0 -Global Const P9111_CHANNEL_EDO = 1 -Global Const P9111_CHANNEL_DI = 0 -Global Const P9111_CHANNEL_EDI = 1 - -'Trigger Mode -Global Const P9111_TRGMOD_SOFT = 0 'Software Trigger Mode -Global Const P9111_TRGMOD_PRE = 1 'Pre-Trigger Mode -Global Const P9111_TRGMOD_POST = 2 'Post Trigger Mode - -'EDO function -Global Const P9111_EDO_INPUT = 1 'EDO port set as Input port -Global Const P9111_EDO_OUT_EDO = 2 'EDO port set as Output port -Global Const P9111_EDO_OUT_CHN = 3 'EDO port set as channel number ouput port - -'AO Setting -Global Const P9111_AO_UNIPOLAR = 0 -Global Const P9111_AO_BIPOLAR = 1 - -'--------- Constants for PCI-9118 -------------- -Global Const P9118_AI_BiPolar = &H0 -Global Const P9118_AI_UniPolar = &H1 - -Global Const P9118_AI_SingEnded = &H0 -Global Const P9118_AI_Differential = &H2 - -Global Const P9118_AI_ExtG = &H4 - -Global Const P9118_AI_ExtTrig = &H8 - -Global Const P9118_AI_DtrgNegative = &H0 -Global Const P9118_AI_DtrgPositive = &H10 - -Global Const P9118_AI_EtrgNegative = &H0 -Global Const P9118_AI_EtrgPositive = &H20 - -Global Const P9118_AI_BurstModeEn = &H40 -Global Const P9118_AI_SampleHold = &H80 -Global Const P9118_AI_PostTrgEn = &H100 -Global Const P9118_AI_AboutTrgEn = &H200 - -'--------- Constants for PCI-9812/9810 -------------- -'Channel Count -Global Const P9116_AI_LocalGND = &H0 -Global Const P9116_AI_UserCMMD = &H1 -Global Const P9116_AI_SingEnded = &H0 -Global Const P9116_AI_Differential = &H2 -Global Const P9116_AI_BiPolar = &H0 -Global Const P9116_AI_UniPolar = &H4 - -Global Const P9116_TRGMOD_SOFT = &H0 'Software Trigger Mode -Global Const P9116_TRGMOD_POST = &H10 'Post Trigger Mode -Global Const P9116_TRGMOD_DELAY = &H20 'Delay Trigger Mode -Global Const P9116_TRGMOD_PRE = &H30 'Pre-Trigger Mode -Global Const P9116_TRGMOD_MIDL = &H40 'Middle Trigger Mode -Global Const P9116_AI_TrgPositive = &H0 -Global Const P9116_AI_TrgNegative = &H80 -Global Const P9116_AI_IntTimeBase = &H0 -Global Const P9116_AI_ExtTimeBase = &H100 -Global Const P9116_AI_DlyInSamples = &H200 -Global Const P9116_AI_DlyInTimebase = &H0 -Global Const P9116_AI_ReTrigEn = &H400 -Global Const P9116_AI_MCounterEn = &H800 -Global Const P9116_AI_SoftPolling = &H0 -Global Const P9116_AI_INT = &H1000 -Global Const P9116_AI_DMA = &H2000 - -'--------- Constants for PCI-9812/9810 -------------- -'Channel Count -Global Const P9812_CHANNEL_CNT1 = 1 -Global Const P9812_CHANNEL_CNT2 = 2 -Global Const P9812_CHANNEL_CNT4 = 4 - -'Trigger Mode -Global Const P9812_TRGMOD_SOFT = 0 'Software Trigger Mode -Global Const P9812_TRGMOD_POST = 1 'Post Trigger Mode -Global Const P9812_TRGMOD_PRE = 2 'Pre-Trigger Mode -Global Const P9812_TRGMOD_DELAY = 3 'Delay Trigger Mode -Global Const P9812_TRGMOD_MIDL = 4 'Middle Trigger Mode - -'Trigger Source -Global Const P9812_TRGSRC_CH0 = 0 'trigger source --CH0 -Global Const P9812_TRGSRC_CH1 = 8 'trigger source --CH1 -Global Const P9812_TRGSRC_CH2 = &H10 'trigger source --CH2 -Global Const P9812_TRGSRC_CH3 = &H18 'trigger source --CH3 -Global Const P9812_TRGSRC_EXT_DIG = &H20 'External Digital Trigger - -'Trigger Polarity -Global Const P9812_TRGSLP_POS = 0 'Positive slope trigger -Global Const P9812_TRGSLP_NEG = &H40 'Negative slope trigger - -'Frequency Selection -Global Const P9812_AD2_GT_PCI = &H80 'Freq. of A/D clock > PCI clock freq. -Global Const P9812_AD2_LT_PCI = &H0 'Freq. of A/D clock < PCI clock freq. - -'Clock Source -Global Const P9812_CLKSRC_INT = &H0 'Internal clock -Global Const P9812_CLKSRC_EXT_SIN = &H100 'External SIN wave clock -Global Const P9812_CLKSRC_EXT_DIG = &H200 'External Square wave clock - -'-------- Constants for PCI-9221 -------------------- -Global Const P9221_AI_SingEnded = 0 -Global Const P9221_AI_NonRef_SingEnded = 1 -Global Const P9221_AI_Differential = 2 - -'Trigger Mode -Global Const P9221_TRGMOD_SOFT = 0 -Global Const P9221_TRGMOD_ExtD = 8 - -'Trigger Source -Global Const P9221_TRGSRC_GPI0 = 0 -Global Const P9221_TRGSRC_GPI1 = 1 -Global Const P9221_TRGSRC_GPI2 = 2 -Global Const P9221_TRGSRC_GPI3 = 3 -Global Const P9221_TRGSRC_GPI4 = 4 -Global Const P9221_TRGSRC_GPI5 = 5 -Global Const P9221_TRGSRC_GPI6 = 6 -Global Const P9221_TRGSRC_GPI7 = 7 - -'Trigger Polarity -Global Const P9221_AI_TrgPositive = 0 -Global Const P9221_AI_TrgNegative = &H10 - -'TimeBase Mode -Global Const P9221_AI_IntTimeBase = 0 -Global Const P9221_AI_ExtTimeBase = &H80 - -'TimeBase Source -Global Const P9221_TimeBaseSRC_GPI0 = 0 -Global Const P9221_TimeBaseSRC_GPI1 = &H10 -Global Const P9221_TimeBaseSRC_GPI2 = &H20 -Global Const P9221_TimeBaseSRC_GPI3 = &H30 -Global Const P9221_TimeBaseSRC_GPI4 = &H40 -Global Const P9221_TimeBaseSRC_GPI5 = &H50 -Global Const P9221_TimeBaseSRC_GPI6 = &H60 -Global Const P9221_TimeBaseSRC_GPI7 = &H70 - - -'DAQ Event type for the event message -Global Const AIEnd = 0 -Global Const AOEnd = 0 -Global Const DIEnd = 0 -Global Const DOEnd = 0 -Global Const DBEvent = 1 -Global Const TrigEvent = 2 - -'EMG shdn ctrl code -Global Const EMGSHDN_OFF = 0 'off -Global Const EMGSHDN_ON = 1 'on -Global Const EMGSHDN_RECOVERY = 2 'recovery - -'Hot Reset Hold ctrl code -Global Const HRH_OFF = 0 'off -Global Const HRH_ON = 1 'on - -'COS Counter OP -Global Const COS_COUNTER_RESET = 0 -Global Const COS_COUNTER_SETUP = 1 -Global Const COS_COUNTER_START = 2 -Global Const COS_COUNTER_STOP = 3 -Global Const COS_COUNTER_READ = 4 - -'--------- Constants for Timer/Counter -------------- -'Counter Mode (8254) -Global Const TOGGLE_OUTPUT = 0 'Toggle output from low to high on terminal count -Global Const PROG_ONE_SHOT = 1 'Programmable one-shot -Global Const RATE_GENERATOR = 2 'Rate generator -Global Const SQ_WAVE_RATE_GENERATOR = 3 'Square wave rate generator -Global Const SOFT_TRIG = 4 'Software-triggered strobe -Global Const HARD_TRIG = 5 'Hardware-triggered strobe - -'------- General Purpose Timer/Counter ----------------- -'Counter Mode -Global Const General_Counter = &H0 'general counter -Global Const Pulse_Generation = &H1 'pulse generation -'GPTC clock source -Global Const GPTC_CLKSRC_Ext = &H8 -Global Const GPTC_CLKSRC_Int = &H0 -Global Const GPTC_GATESRC_Ext = &H10 -Global Const GPTC_GATESRC_Int = &H0 -Global Const GPTC_UPDOWN_SELECT_EXT = &H20 -Global Const GPTC_UPDOWN_SELECT_SOFT = &H0 -Global Const GPTC_UP_CTR = &H40 -Global Const GPTC_DOWN_CTR = &H0 -Global Const GPTC_ENABLE = &H80 -Global Const GPTC_DISABLE = &H0 - -'General Purpose Timer/Counter for 9221 -'Counter Mode -Global Const SimpleGatedEventCNT = 1 -Global Const SinglePeriodMSR = 2 -Global Const SinglePulseWidthMSR = 3 -Global Const SingleGatedPulseGen = 4 -Global Const SingleTrigPulseGen = 5 -Global Const RetrigSinglePulseGen = 6 -Global Const SingleTrigContPulseGen = 7 -Global Const ContGatedPulseGen = 8 -Global Const EdgeSeparationMSR = 9 -Global Const SingleTrigContPulseGenPWM = 10 -Global Const ContGatedPulseGenPWM = 11 -Global Const CW_CCW_Encoder = 12 -Global Const x1_AB_Phase_Encoder = 13 -Global Const x2_AB_Phase_Encoder = 14 -Global Const x4_AB_Phase_Encoder = 15 -Global Const Phase_Z = 16 - -'GPTC clock source -Global Const GPTC_CLK_SRC_Ext = 1 -Global Const GPTC_CLK_SRC_Int = 0 -Global Const GPTC_GATE_SRC_Ext = 2 -Global Const GPTC_GATE_SRC_Int = 0 -Global Const GPTC_UPDOWN_Ext = 4 -Global Const GPTC_UPDOWN_Int = 0 - -'GPTC clock polarity -Global Const GPTC_CLKSRC_LACTIVE = 1 -Global Const GPTC_CLKSRC_HACTIVE = 0 -Global Const GPTC_GATE_LACTIVE = 2 -Global Const GPTC_GATE_HACTIVE = 0 -Global Const GPTC_UPDOWN_LACTIVE = 4 -Global Const GPTC_UPDOWN_HACTIVE = 0 -Global Const GPTC_OUTPUT_LACTIVE = 8 -Global Const GPTC_OUTPUT_HACTIVE = 0 - -Global Const IntGate = 0 -Global Const IntUpDnCTR = 1 -Global Const IntENABLE = 2 - -Global Const GPTC_EZ0_ClearPhase0 = 0 -Global Const GPTC_EZ0_ClearPhase1 = 1 -Global Const GPTC_EZ0_ClearPhase2 = 2 -Global Const GPTC_EZ0_ClearPhase3 = 3 - -Global Const GPTC_EZ0_ClearMode0 = 0 -Global Const GPTC_EZ0_ClearMode1 = 1 -Global Const GPTC_EZ0_ClearMode2 = 2 -Global Const GPTC_EZ0_clearMode3 = 3 - -'Watchdog Timer -'Counter action -Global Const WDT_DISARM = 0 -Global Const WDT_ARM = 1 -Global Const WDT_RESTART = 2 - -'Pattern ID -Global Const INIT_PTN = 0 -Global Const EMGSHDN_PTN = 1 - -'Pattern ID for 7442 -Global Const INIT_PTN_CH0 = 0 -Global Const INIT_PTN_CH1 = 1 -Global Const INIT_PTN_CH2 = 2 -Global Const INIT_PTN_CH3 = 3 -Global Const SAFTOUT_PTN_CH0 = 4 -Global Const SAFTOUT_PTN_CH1 = 5 -Global Const SAFTOUT_PTN_CH2 = 6 -Global Const SAFTOUT_PTN_CH3 = 7 - -'16-bit binary or 4-decade BCD counter -Global Const BIN = 0 -Global Const BCD = 1 - -'EEPROM -Global Const EEPROM_DEFAULT_BANK = 0 -Global Const EEPROM_USER_BANK1 = 1 - - -'----------- 9524 Const ----------------- -'AI Interrupt -Global Const P9524_INT_LC_EOC = 2 -Global Const P9524_INT_GP_EOC = 3 -'DSP Constants -Global Const P9524_SPIKE_REJ_DISABLE = 0 -Global Const P9524_SPIKE_REJ_ENABLE = 1 -'AI Transfer Mode -Global Const P9524_AI_XFER_POLL = 0 -Global Const P9524_AI_XFER_DMA = 1 -'AI Poll all channels -Global Const P9524_AI_POLL_ALLCHANNELS = 8 -Global Const P9524_AI_POLLSCANS_CH0_CH3 = 8 -Global Const P9524_AI_POLLSCANS_CH0_CH2 = 9 -Global Const P9524_AI_POLLSCANS_CH0_CH1 = 10 -'AI Transfer Speed -Global Const P9524_ADC_30K_SPS = 0 -Global Const P9524_ADC_15K_SPS = 1 -Global Const P9524_ADC_7K5_SPS = 2 -Global Const P9524_ADC_3K75_SPS = 3 -Global Const P9524_ADC_2K_SPS = 4 -Global Const P9524_ADC_1K_SPS = 5 -Global Const P9524_ADC_500_SPS = 6 -Global Const P9524_ADC_100_SPS = 7 -Global Const P9524_ADC_60_SPS = 8 -Global Const P9524_ADC_50_SPS = 9 -Global Const P9524_ADC_30_SPS = 10 -Global Const P9524_ADC_25_SPS = 11 -Global Const P9524_ADC_15_SPS = 12 -Global Const P9524_ADC_10_SPS = 13 -Global Const P9524_ADC_5_SPS = 14 -Global Const P9524_ADC_2R5_SPS = 15 -'AI Configuration Mode -Global Const P9524_VEX_Range_2R5V = &H0 -Global Const P9524_VEX_Range_10V = &H1 -Global Const P9524_VEX_Sence_Local = &H0 -Global Const P9524_VEX_Sence_Remote = &H2 -Global Const P9524_AI_AZMode = &H4 -Global Const P9524_AI_BufAutoReset = &H8 -Global Const P9524_AI_EnEOCInt = &H10 -'AI Trigger configuration -Global Const P9524_TRGMOD_POST = 0 -Global Const P9524_TRGSRC_SOFT = 0 -Global Const P9524_TRGSRC_ExtD = 1 -Global Const P9524_TRGSRC_SSI = 2 -Global Const P9524_TRGSRC_QD0 = 3 -Global Const P9524_TRGSRC_PG0 = 4 -Global Const P9524_AI_TrgPositive = 0 -Global Const P9524_AI_TrgNegative = 8 -'AI Group -Global Const P9524_AI_LC_Group = 0 -Global Const P9524_AI_GP_Group = 1 -'AI Channel -Global Const P9524_AI_LC_CH0 = 0 -Global Const P9524_AI_LC_CH1 = 1 -Global Const P9524_AI_LC_CH2 = 2 -Global Const P9524_AI_LC_CH3 = 3 -Global Const P9524_AI_GP_CH0 = 4 -Global Const P9524_AI_GP_CH1 = 5 -Global Const P9524_AI_GP_CH2 = 6 -Global Const P9524_AI_GP_CH3 = 7 - -'Counter Number -Global Const P9524_CTR_PG0 = 0 -Global Const P9524_CTR_PG1 = 1 -Global Const P9524_CTR_PG2 = 2 -Global Const P9524_CTR_QD0 = 3 -Global Const P9524_CTR_QD1 = 4 -Global Const P9524_CTR_QD2 = 5 -Global Const P9524_CTR_INTCOUNTER = 6 -'Counter Mode -Global Const P9524_PulseGen_OUTDIR_N = 0 -Global Const P9524_PulseGen_OUTDIR_R = 1 -Global Const P9524_PulseGen_CW = 0 -Global Const P9524_PulseGen_CCW = 2 -Global Const P9524_x4_AB_Phase_Decoder = 3 -Global Const P9524_Timer = 4 -'Counter Op -Global Const P9524_CTR_Enable = 0 -'Event Mode -Global Const P9524_Event_Timer = 0 - -'AO -Global Const P9524_AO_CH0_1 = 0 - - -'------Constants for PCI-6202------ -Global Const P6202_ISO0 = 0 -Global Const P6202_TTL0 = 1 - -Global Const P6202_GPTC0 = 0 -Global Const P6202_GPTC1 = 1 -Global Const P6202_ENCODER0 = 2 -Global Const P6202_ENCODER1 = 3 -Global Const P6202_ENCODER2 = 4 - -'DA control constant -Global Const P6202_DA_WRSRC_Int = 0 -Global Const P6202_DA_WRSRC_AFI0 = 1 -Global Const P6202_DA_WRSRC_SSI = 2 -Global Const P6202_DA_WRSRC_AFI1 = 3 - -'DA trigger constant -Global Const P6202_DA_TRGSRC_SOFT = &H0 -Global Const P6202_DA_TRGSRC_AFI0 = &H1 -Global Const P6202_DA_TRSRC_SSI = &H2 -Global Const P6202_DA_TRGSRC_AFI1 = &H3 -Global Const P6202_DA_TRGMOD_POST = &H0 -Global Const P6202_DA_TRGMOD_DELAY = &H4 -Global Const P6202_DA_ReTrigEn = &H20 -Global Const P6202_DA_DLY2En = &H100 - -'SSI signal code -Global Const P6202_SSI_DA_CONV = &H4 -Global Const P6202_SSI_DA_TRIG = &H40 - -'Encoder constant -Global Const P6202_EVT_TYPE_EPT0 = &H0 -Global Const P6202_EVT_TYPE_EPT1 = &H1 -Global Const P6202_EVT_TYPE_EPT2 = &H2 -Global Const P6202_EVT_TYPE_EZC0 = &H3 -Global Const P6202_EVT_TYPE_EZC1 = &H4 -Global Const P6202_EVT_TYPE_EZC2 = &H5 - -Global Const P6202_EVT_MOD_EPT = &H0 - -Global Const P6202_EPT_PULWIDTH_200us = &H0 -Global Const P6202_EPT_PULWIDTH_2ms = &H1 -Global Const P6202_EPT_PULWIDTH_20ms = &H2 -Global Const P6202_EPT_PULWIDTH_200ms = &H3 - -Global Const P6202_EPT_TRGOUT_CALLBACK = &H4 -Global Const P6202_EPT_TRGOUT_AFI = &H8 - -Global Const P6202_ENCODER0_LDATA = &H5 -Global Const P6202_ENCODER1_LDATA = &H6 -Global Const P6202_ENCODER2_LDATA = &H7 - -'------------------------' -' Constants for PCI-922x ' -'------------------------' -'-- AI Constants --' -'Input Type -Global Const P922x_AI_SingEnded = &H0 -Global Const P922x_AI_NonRef_SingEnded = &H1 -Global Const P922x_AI_Differential = &H2 -'Conversion Source -Global Const P922x_AI_CONVSRC_INT = &H0 -Global Const P922x_AI_CONVSRC_GPI0 = &H10 -Global Const P922x_AI_CONVSRC_GPI1 = &H20 -Global Const P922x_AI_CONVSRC_GPI2 = &H30 -Global Const P922x_AI_CONVSRC_GPI3 = &H40 -Global Const P922x_AI_CONVSRC_GPI4 = &H50 -Global Const P922x_AI_CONVSRC_GPI5 = &H60 -Global Const P922x_AI_CONVSRC_GPI6 = &H70 -Global Const P922x_AI_CONVSRC_GPI7 = &H80 -Global Const P922x_AI_CONVSRC_SSI1 = &H90 -Global Const P922x_AI_CONVSRC_SSI = &H90 -'Trigger Mode -Global Const P922x_AI_TRGMOD_POST = &H0 -Global Const P922x_AI_TRGMOD_GATED = &H1 -'Trigger Source -Global Const P922x_AI_TRGSRC_SOFT = &H0 -Global Const P922x_AI_TRGSRC_GPI0 = &H10 -Global Const P922x_AI_TRGSRC_GPI1 = &H20 -Global Const P922x_AI_TRGSRC_GPI2 = &H30 -Global Const P922x_AI_TRGSRC_GPI3 = &H40 -Global Const P922x_AI_TRGSRC_GPI4 = &H50 -Global Const P922x_AI_TRGSRC_GPI5 = &H60 -Global Const P922x_AI_TRGSRC_GPI6 = &H70 -Global Const P922x_AI_TRGSRC_GPI7 = &H80 -Global Const P922x_AI_TRGSRC_SSI5 = &H90 -Global Const P922x_AI_TRGSRC_SSI = &H90 -'Trigger Polarity -Global Const P922x_AI_TrgPositive = &H0 -Global Const P922x_AI_TrgNegative = &H100 -'ReTrigger -Global Const P922x_AI_EnReTigger = &H200 - -'-- AO Constants --' -'Conversion Source -Global Const P922x_AO_CONVSRC_INT = &H0 -Global Const P922x_AO_CONVSRC_GPI0 = &H1 -Global Const P922x_AO_CONVSRC_GPI1 = &H2 -Global Const P922x_AO_CONVSRC_GPI2 = &H3 -Global Const P922x_AO_CONVSRC_GPI3 = &H4 -Global Const P922x_AO_CONVSRC_GPI4 = &H5 -Global Const P922x_AO_CONVSRC_GPI5 = &H6 -Global Const P922x_AO_CONVSRC_GPI6 = &H7 -Global Const P922x_AO_CONVSRC_GPI7 = &H8 -Global Const P922x_AO_CONVSRC_SSI2 = &H9 -Global Const P922x_AO_CONVSRC_SSI = &H9 -'Trigger Mode -Global Const P922x_AO_TRGMOD_POST = &H0 -Global Const P922x_AO_TRGMOD_DELAY = &H1 -'Trigger Source -Global Const P922x_AO_TRGSRC_SOFT = &H0 -Global Const P922x_AO_TRGSRC_GPI0 = &H10 -Global Const P922x_AO_TRGSRC_GPI1 = &H20 -Global Const P922x_AO_TRGSRC_GPI2 = &H30 -Global Const P922x_AO_TRGSRC_GPI3 = &H40 -Global Const P922x_AO_TRGSRC_GPI4 = &H50 -Global Const P922x_AO_TRGSRC_GPI5 = &H60 -Global Const P922x_AO_TRGSRC_GPI6 = &H70 -Global Const P922x_AO_TRGSRC_GPI7 = &H80 -Global Const P922x_AO_TRGSRC_SSI6 = &H90 -Global Const P922x_AO_TRGSRC_SSI = &H90 -'Trigger Polarity -Global Const P922x_AO_TrgPositive = &H0 -Global Const P922x_AO_TrgNegative = &H100 -'Retrigger -Global Const P922x_AO_EnReTigger = &H200 -'Delay 2 -Global Const P922x_AO_EnDelay2 = &H400 - -'-- DI Constants --' -'Conversion Source -Global Const P922x_DI_CONVSRC_INT = &H0 -Global Const P922x_DI_CONVSRC_GPI0 = &H1 -Global Const P922x_DI_CONVSRC_GPI1 = &H2 -Global Const P922x_DI_CONVSRC_GPI2 = &H3 -Global Const P922x_DI_CONVSRC_GPI3 = &H4 -Global Const P922x_DI_CONVSRC_GPI4 = &H5 -Global Const P922x_DI_CONVSRC_GPI5 = &H6 -Global Const P922x_DI_CONVSRC_GPI6 = &H7 -Global Const P922x_DI_CONVSRC_GPI7 = &H8 -Global Const P922x_DI_CONVSRC_ADCONV = &H9 -Global Const P922x_DI_CONVSRC_DACONV = &HA -'Trigger Mode -Global Const P922x_DI_TRGMOD_POST = &H0 -'Trigger Source -Global Const P922x_DI_TRGSRC_SOFT = &H0 -Global Const P922x_DI_TRGSRC_GPI0 = &H10 -Global Const P922x_DI_TRGSRC_GPI1 = &H20 -Global Const P922x_DI_TRGSRC_GPI2 = &H30 -Global Const P922x_DI_TRGSRC_GPI3 = &H40 -Global Const P922x_DI_TRGSRC_GPI4 = &H50 -Global Const P922x_DI_TRGSRC_GPI5 = &H60 -Global Const P922x_DI_TRGSRC_GPI6 = &H70 -Global Const P922x_DI_TRGSRC_GPI7 = &H80 -'Trigger Polarity -Global Const P922x_DI_TrgPositive = &H0 -Global Const P922x_DI_TrgNegative = &H100 -'ReTrigger -Global Const P922x_DI_EnReTigger = &H200 - -'-- DO Constants --' -'Conversion Source -Global Const P922x_DO_CONVSRC_INT = &H0 -Global Const P922x_DO_CONVSRC_GPI0 = &H1 -Global Const P922x_DO_CONVSRC_GPI1 = &H2 -Global Const P922x_DO_CONVSRC_GPI2 = &H3 -Global Const P922x_DO_CONVSRC_GPI3 = &H4 -Global Const P922x_DO_CONVSRC_GPI4 = &H5 -Global Const P922x_DO_CONVSRC_GPI5 = &H6 -Global Const P922x_DO_CONVSRC_GPI6 = &H7 -Global Const P922x_DO_CONVSRC_GPI7 = &H8 -Global Const P922x_DO_CONVSRC_ADCONV = &H9 -Global Const P922x_DO_CONVSRC_DACONV = &HA -'Trigger Mode -Global Const P922x_DO_TRGMOD_POST = &H0 -Global Const P922x_DO_TRGMOD_DELAY = &H1 -'Trigger Source -Global Const P922x_DO_TRGSRC_SOFT = &H0 -Global Const P922x_DO_TRGSRC_GPI0 = &H10 -Global Const P922x_DO_TRGSRC_GPI1 = &H20 -Global Const P922x_DO_TRGSRC_GPI2 = &H30 -Global Const P922x_DO_TRGSRC_GPI3 = &H40 -Global Const P922x_DO_TRGSRC_GPI4 = &H50 -Global Const P922x_DO_TRGSRC_GPI5 = &H60 -Global Const P922x_DO_TRGSRC_GPI6 = &H70 -Global Const P922x_DO_TRGSRC_GPI7 = &H80 -'Trigger Polarity -Global Const P922x_DO_TrgPositive = &H0 -Global Const P922x_DO_TrgNegative = &H100 -'Retrigger -Global Const P922x_DO_EnReTigger = &H200 - -'-- Encoder/GPTC Constants --' -Global Const P922x_GPTC0 = &H0 -Global Const P922x_GPTC1 = &H1 -Global Const P922x_GPTC2 = &H2 -Global Const P922x_GPTC3 = &H3 -Global Const P922x_ENCODER0 = &H4 -Global Const P922x_ENCODER1 = &H5 -'Encoder Setting Event Mode -Global Const P922x_EVT_MOD_EPT = &H0 -'Encoder Setting Event Control -Global Const P922x_EPT_PULWIDTH_200us = &H0 -Global Const P922x_EPT_PULWIDTH_2ms = &H1 -Global Const P922x_EPT_PULWIDTH_20ms = &H2 -Global Const P922x_EPT_PULWIDTH_200ms = &H3 -Global Const P922x_EPT_TRGOUT_GPO = &H4 -Global Const P922x_EPT_TRGOUT_CALLBACK = &H8 -'Event Type -Global Const P922x_EVT_TYPE_EPT0 = &H0 -Global Const P922x_EVT_TYPE_EPT1 = &H1 - -'SSI signal code -Global Const P922x_SSI_AI_CONV = &H02 -Global Const P922x_SSI_AI_TRIG = &H20 -Global Const P922x_SSI_AO_CONV = &H04 -Global Const P922x_SSI_AO_TRIG = &H40 - -' -'Constants for PCIe-7350 -' -Global Const P7350_PortDIO = 0 -Global Const P7350_PortAFI = 1 -'DIO Port -Global Const P7350_DIO_A = 0 -Global Const P7350_DIO_B = 1 -Global Const P7350_DIO_C = 2 -Global Const P7350_DIO_D = 3 -'AFI Port -Global Const P7350_AFI_0 = 0 -Global Const P7350_AFI_1 = 1 -Global Const P7350_AFI_2 = 2 -Global Const P7350_AFI_3 = 3 -Global Const P7350_AFI_4 = 4 -Global Const P7350_AFI_5 = 5 -Global Const P7350_AFI_6 = 6 -Global Const P7350_AFI_7 = 7 -'AFI Mode -Global Const P7350_AFI_DIStartTrig = 0 -Global Const P7350_AFI_DOStartTrig = 1 -Global Const P7350_AFI_DIPauseTrig = 2 -Global Const P7350_AFI_DOPauseTrig = 3 -Global Const P7350_AFI_DISWTrigOut = 4 -Global Const P7350_AFI_DOSWTrigOut =5 -Global Const P7350_AFI_COSTrigOut = 6 -Global Const P7350_AFI_PMTrigOut = 7 -Global Const P7350_AFI_HSDIREQ = 8 -Global Const P7350_AFI_HSDIACK = 9 -Global Const P7350_AFI_HSDITRIG = 10 -Global Const P7350_AFI_HSDOREQ = 11 -Global Const P7350_AFI_HSDOACK = 12 -Global Const P7350_AFI_HSDOTRIG = 13 -Global Const P7350_AFI_SPI = 14 -Global Const P7350_AFI_I2C = 15 -Global Const P7350_POLL_DI = 16 -Global Const P7350_POLL_DO = 17 -'Operation Mode -Global Const P7350_FreeRun = 0 -Global Const P7350_HandShake = 1 -Global Const P7350_BurstHandShake = 2 -'Trigger Status -Global Const P7350_WAIT_NO = 0 -Global Const P7350_WAIT_EXTTRG = 1 -Global Const P7350_WAIT_SOFTTRG = 2 -'Sampled Clock -Global Const P7350_IntSampledCLK = &H00 -Global Const P7350_ExtSampledCLK = &H01 -'Sampled Clock Edge -Global Const P7350_SampledCLK_R = &H00 -Global Const P7350_SampledCLK_F = &H02 -'Enable Export Sample Clock*/ -Global Const P7350_EnExpSampledCLK = &H04 -'Trigger Configuration -Global Const P7350_EnPauseTrig = &H01 -Global Const P7350_EnSoftTrigOut = &H02 -'HandShake & Trigger Polarity -Global Const P7350_DIREQ_POS = &H00 -Global Const P7350_DIREQ_NEG = &H01 -Global Const P7350_DIACK_POS = &H00 -Global Const P7350_DIACK_NEG = &H02 -Global Const P7350_DITRIG_POS = &H00 -Global Const P7350_DITRIG_NEG = &H04 -Global Const P7350_DIStartTrig_POS = &H00 -Global Const P7350_DIStartTrig_NEG = &H08 -Global Const P7350_DIPauseTrig_POS = &H00 -Global Const P7350_DIPauseTrig_NEG = &H10 -Global Const P7350_DOREQ_POS = &H00 -Global Const P7350_DOREQ_NEG = &H01 -Global Const P7350_DOACK_POS = &H00 -Global Const P7350_DOACK_NEG = &H02 -Global Const P7350_DOTRIG_POS = &H00 -Global Const P7350_DOTRIG_NEG = &H04 -Global Const P7350_DOStartTrig_POS = &H00 -Global Const P7350_DOStartTrig_NEG = &H08 -Global Const P7350_DOPauseTrig_POS = &H00 -Global Const P7350_DOPauseTrig_NEG = &H10 - -'External Sampled Clock Source -Global Const P7350_ECLK_IN = 8 -'Export Sampled Clock -Global Const P7350_ECLK_OUT = 8 -'Enable Dynamic Delay Adjust -Global Const P7350_DisDDA = &H00 -Global Const P7350_EnDDA = &H01 -'Dynamic Delay Adjust Mode -Global Const P7350_DDA_Lag = &H00 -Global Const P7350_DDA_Lead = &H02 -'Dynamic Delay Adjust Step -Global Const P7350_DDA_130PS = 0 -Global Const P7350_DDA_260PS = 1 -Global Const P7350_DDA_390PS = 2 -Global Const P7350_DDA_520PS = 3 -Global Const P7350_DDA_650PS = 4 -Global Const P7350_DDA_780PS = 5 -Global Const P7350_DDA_910PS = 6 -Global Const P7350_DDA_1R04NS = 7 -'Enable Dynamic Phase Adjust -Global Const P7350_DisDPA = &H00 -Global Const P7350_EnDPA = &H01 -'Dynamic Delay Adjust Degree -Global Const P7350_DPA_0DG = 0 -Global Const P7350_DPA_22R5DG = 1 -Global Const P7350_DPA_45DG = 2 -Global Const P7350_DPA_67R5DG = 3 -Global Const P7350_DPA_90DG = 4 -Global Const P7350_DPA_112R5DG = 5 -Global Const P7350_DPA_135DG = 6 -Global Const P7350_DPA_157R5DG = 7 -Global Const P7350_DPA_180DG = 8 -Global Const P7350_DPA_202R5DG = 9 -Global Const P7350_DPA_225DG = 10 -Global Const P7350_DPA_247R5DG = 11 -Global Const P7350_DPA_270DG = 12 -Global Const P7350_DPA_292R5DG = 13 -Global Const P7350_DPA_315DG = 14 -Global Const P7350_DPA_337R5DG = 15 - -' -'Constants for PCIe-7360 -' -Global Const P7360_PortDIO = 0 -Global Const P7360_PortAFI = 1 -Global Const P7360_PortECLK = 2 -'DIO Port -Global Const P7360_DIO_A = 0 -Global Const P7360_DIO_B = 1 -Global Const P7360_DIO_C = 2 -Global Const P7360_DIO_D = 3 -'AFI Por -Global Const P7360_AFI_0 = 0 -Global Const P7360_AFI_1 = 1 -Global Const P7360_AFI_2 = 2 -Global Const P7360_AFI_3 = 3 -Global Const P7360_AFI_4 = 4 -Global Const P7360_AFI_5 = 5 -Global Const P7360_AFI_6 = 6 -Global Const P7360_AFI_7 = 7 -'AFI Mode -Global Const P7360_AFI_DIStartTrig = 0 -Global Const P7360_AFI_DOStartTrig = 1 -Global Const P7360_AFI_DIPauseTrig = 2 -Global Const P7360_AFI_DOPauseTrig = 3 -Global Const P7360_AFI_DISWTrigOut = 4 -Global Const P7360_AFI_DOSWTrigOut =5 -Global Const P7360_AFI_COSTrigOut = 6 -Global Const P7360_AFI_PMTrigOut = 7 -Global Const P7360_AFI_HSDIREQ = 8 -Global Const P7360_AFI_HSDIACK = 9 -Global Const P7360_AFI_HSDITRIG = 10 -Global Const P7360_AFI_HSDOREQ = 11 -Global Const P7360_AFI_HSDOACK = 12 -Global Const P7360_AFI_HSDOTRIG = 13 -Global Const P7360_AFI_SPI = 14 -Global Const P7360_AFI_I2C = 15 -Global Const P7360_POLL_DI = 16 -Global Const P7360_POLL_DO = 17 -'Operation Mode -Global Const P7360_FreeRun = 0 -Global Const P7360_HandShake = 1 -Global Const P7360_BurstHandShake = 2 -'Trigger Status -Global Const P7360_WAIT_NO = 0 -Global Const P7360_WAIT_EXTTRG = 1 -Global Const P7360_WAIT_SOFTTRG = 2 -'Sampled Clock -Global Const P7360_IntSampledCLK = &H00 -Global Const P7360_ExtSampledCLK = &H01 -'Sampled Clock Edge -Global Const P7360_SampledCLK_R = &H00 -Global Const P7360_SampledCLK_F = &H02 -'Enable Export Sample Clock*/ -Global Const P7360_EnExpSampledCLK = &H04 -'Trigger Configuration -Global Const P7360_EnPauseTrig = &H01 -Global Const P7360_EnSoftTrigOut = &H02 -'HandShake & Trigger Polarity -Global Const P7360_DIREQ_POS = &H00 -Global Const P7360_DIREQ_NEG = &H01 -Global Const P7360_DIACK_POS = &H00 -Global Const P7360_DIACK_NEG = &H02 -Global Const P7360_DITRIG_POS = &H00 -Global Const P7360_DITRIG_NEG = &H04 -Global Const P7360_DIStartTrig_POS = &H00 -Global Const P7360_DIStartTrig_NEG = &H08 -Global Const P7360_DIPauseTrig_POS = &H00 -Global Const P7360_DIPauseTrig_NEG = &H10 -Global Const P7360_DOREQ_POS = &H00 -Global Const P7360_DOREQ_NEG = &H01 -Global Const P7360_DOACK_POS = &H00 -Global Const P7360_DOACK_NEG = &H02 -Global Const P7360_DOTRIG_POS = &H00 -Global Const P7360_DOTRIG_NEG = &H04 -Global Const P7360_DOStartTrig_POS = &H00 -Global Const P7360_DOStartTrig_NEG = &H08 -Global Const P7360_DOPauseTrig_POS = &H00 -Global Const P7360_DOPauseTrig_NEG = &H10 - -'External Sampled Clock Source -Global Const P7360_ECLK_IN = 8 -'Export Sampled Clock -Global Const P7360_ECLK_OUT = 8 -'Enable Dynamic Delay Adjust -Global Const P7360_DisDDA = &H00 -Global Const P7360_EnDDA = &H01 -'Dynamic Delay Adjust Mode -Global Const P7360_DDA_Lag = &H00 -Global Const P7360_DDA_Lead = &H02 -'Enable Dynamic Phase Adjust -Global Const P7360_DisDPA = &H00 -Global Const P7360_EnDPA = &H01 - -' -'Constants for I Squared C (I2C) -' -'I2C Port -Global Const I2C_Port_A = 0 -'I2C Control Operation -Global Const I2C_ENABLE = 0 -Global Const I2C_STOP = 1 - -' -'Constants for Serial Peripheral Interface -'SPI Port -' -Global Const SPI_Port_A = 0 -'SPI Clock Mode -Global Const SPI_CLK_L = &H0 -Global Const SPI_CLK_H = &H1 -'SPI TX Polarity -Global Const SPI_TX_POS = &H0 -Global Const SPI_TX_NEG = &H2 -'SPI RX Polarity -Global Const SPI_RX_POS = &H0 -Global Const SPI_RX_NEG = &H4 -'SPI Transferred Order -Global Const SPI_MSB = &H0 -Global Const SPI_LSB = &H8 -'SPI Control Operation -Global Const SPI_ENABLE = 0 - -' -'Constants for Pattern Match -' -'Pattern Match Channel Mode -Global Const PATMATCH_CHNDisable = 0 -Global Const PATMATCH_CHNEnable = 1 -'Pattern Match Channel Type -Global Const PATMATCH_Level_L = 0 -Global Const PATMATCH_Level_H = 1 -Global Const PATMATCH_Edge_R = 2 -Global Const PATMATCH_Edge_F = 3 -'Pattern Match Operation -Global Const PATMATCH_STOP = 0 -Global Const PATMATCH_START = 1 -Global Const PATMATCH_RESTART = 2 - -' -'Constants for Access EEPROM -' -'for PCI-7230/PCMe-7230 -Global Const P7230_EEP_BLK_0 = 0 -Global Const P7230_EEP_BLK_1 = 1 - -Declare Function WaitForSingleObject Lib "kernel32" (ByVal hHandle As Long, ByVal Milliseconds As Long) As Long -'-------------------------------------------------------------------' -' PCIS-DASK Function prototype ' -'-------------------------------------------------------------------' -'Basic Functions -Declare Function Register_Card Lib "Pci-Dask.dll" (ByVal cardType As Integer, ByVal card_num As Integer) As Integer -Declare Function Release_Card Lib "Pci-Dask.dll" (ByVal CardNumber As Integer) As Integer - -'AI Functions -Declare Function AI_9111_Config Lib "Pci-Dask.dll" (ByVal CardNumber As Integer, ByVal TrigSource As Integer, ByVal TrgMode As Integer, ByVal TraceCnt As Integer) As Integer -Declare Function AI_9112_Config Lib "Pci-Dask.dll" (ByVal CardNumber As Integer, ByVal TrigSource As Integer) As Integer -Declare Function AI_9113_Config Lib "Pci-Dask.dll" (ByVal CardNumber As Integer, ByVal TrigSource As Integer) As Integer -Declare Function AI_9114_Config Lib "Pci-Dask.dll" (ByVal CardNumber As Integer, ByVal TrigSource As Integer) As Integer -Declare Function AI_9114_PreTrigConfig Lib "Pci-Dask.dll" (ByVal CardNumber As Integer, ByVal PreTrgEn As Integer, ByVal TraceCnt As Integer) As Integer -Declare Function AI_9116_Config Lib "Pci-Dask.dll" (ByVal CardNumber As Integer, ByVal ConfigCtrl As Integer, ByVal TrigCtrl As Integer, ByVal PostCnt As Integer, ByVal MCnt As Integer, ByVal ReTrgCnt As Integer) As Integer -Declare Function AI_9116_CounterInterval Lib "Pci-Dask.dll" (ByVal CardNumber As Integer, ByVal ScanIntrv As Long, ByVal SampIntrv As Long) As Integer -Declare Function AI_9118_Config Lib "Pci-Dask.dll" (ByVal CardNumber As Integer, ByVal ModeCtrl As Integer, ByVal FunCtrl As Integer, ByVal BurstCnt As Integer, ByVal PostCnt As Integer) As Integer -Declare Function AI_9221_Config Lib "Pci-Dask.dll" (ByVal CardNumber As Integer, ByVal ConfigCtrl As Integer, ByVal TrigCtrl As Integer, ByVal AutoResetBuf As Byte) As Integer -Declare Function AI_9221_CounterInterval Lib "Pci-Dask.dll" (ByVal CardNumber As Integer, ByVal ScanIntrv As Long, ByVal SampIntrv As Long) As Integer -Declare Function AI_9222_Config Lib "Pci-Dask.dll" (ByVal CardNumber As Integer, ByVal ConfigCtrl As Integer, ByVal TrigCtrl As Integer, ByVal ReTriggerCnt As Long, ByVal AutoResetBuf As Byte) As Integer -Declare Function AI_9222_CounterInterval Lib "Pci-Dask.dll" (ByVal CardNumber As Integer, ByVal ScanIntrv As Long, ByVal SampIntrv As Long) As Integer -Declare Function AI_9223_Config Lib "Pci-Dask.dll" (ByVal CardNumber As Integer, ByVal ConfigCtrl As Integer, ByVal TrigCtrl As Integer, ByVal ReTriggerCnt As Long, ByVal AutoResetBuf As Byte) As Integer -Declare Function AI_9223_CounterInterval Lib "Pci-Dask.dll" (ByVal CardNumber As Integer, ByVal ScanIntrv As Long, ByVal SampIntrv As Long) As Integer -Declare Function AI_922A_Config Lib "Pci-Dask.dll" (ByVal CardNumber As Integer, ByVal ConfigCtrl As Integer, ByVal TrigCtrl As Integer, ByVal ReTriggerCnt As Long, ByVal AutoResetBuf As Byte) As Integer -Declare Function AI_922A_CounterInterval Lib "Pci-Dask.dll" (ByVal CardNumber As Integer, ByVal ScanIntrv As Long, ByVal SampIntrv As Long) As Integer -Declare Function AI_9524_Config Lib "Pci-Dask.dll" (ByVal CardNumber As Integer, ByVal Group As Integer, ByVal XMode As Integer, ByVal ConfigCtrl As Integer, ByVal TrigCtrl As Integer, ByVal TrigValue As Long) As Integer -Declare Function AI_9524_PollConfig Lib "Pci-Dask.dll" (ByVal CardNumber As Integer, ByVal Group As Integer, ByVal PollChannel As Integer, ByVal PollRange As Integer, ByVal PollSpeed As Integer) As Integer -Declare Function AI_9524_SetDSP Lib "Pci-Dask.dll" (ByVal CardNumber As Integer, ByVal Channel As Integer, ByVal Mode As Integer, ByVal DFStage As Integer, ByVal SPKRejThreshold As Long) As Integer -Declare Function AI_9524_GetEOCEvent Lib "Pci-Dask.dll" (ByVal CardNumber As Integer, ByVal Group As Integer, hEvent As Long) As Integer -Declare Function AI_9812_Config Lib "Pci-Dask.dll" (ByVal CardNumber As Integer, ByVal TrgMode As Integer, ByVal TrgSrc As Integer, ByVal TrgPol As Integer, ByVal ClkSel As Integer, ByVal TrgLevel As Integer, ByVal PostCnt As Integer) As Integer -Declare Function AI_9812_SetDiv Lib "Pci-Dask.dll" (ByVal CardNumber As Integer, ByVal pacerVal As Long) As Integer -Declare Function AI_AsyncCheck Lib "Pci-Dask.dll" (ByVal CardNumber As Integer, Stopped As Byte, AccessCnt As Long) As Integer -Declare Function AI_AsyncClear Lib "Pci-Dask.dll" (ByVal CardNumber As Integer, AccessCnt As Long) As Integer -Declare Function AI_AsyncDblBufferHalfReady Lib "Pci-Dask.dll" (ByVal CardNumber As Integer, HalfReady As Byte, StopFlag As Byte) As Integer -Declare Function AI_AsyncDblBufferMode Lib "Pci-Dask.dll" (ByVal CardNumber As Integer, ByVal Enable As Byte) As Integer -Declare Function AI_AsyncDblBufferTransfer Lib "Pci-Dask.dll" (ByVal CardNumber As Integer, Buffer As Integer) As Integer -Declare Function AI_AsyncDblBufferHandled Lib "Pci-Dask.dll" (ByVal CardNumber As Integer) As Integer -Declare Function AI_AsyncDblBufferToFile Lib "Pci-Dask.dll" (ByVal CardNumber As Integer) As Integer -Declare Function AI_AsyncDblBufferOverrun Lib "Pci-Dask.dll" (ByVal CardNumber As Integer, ByVal op As Integer, overrunFlag As Integer) As Integer -Declare Function AI_AsyncReTrigNextReady Lib "Pci-Dask.dll" (ByVal CardNumber As Integer, Ready As Byte, StopFlag As Byte, RdyTrigCnt As Integer) As Integer -Declare Function AI_ContReadChannel Lib "Pci-Dask.dll" (ByVal CardNumber As Integer, ByVal Channel As Integer, ByVal AdRange As Integer, Buffer As Integer, ByVal ReadCount As Long, ByVal SampleRate As Double, ByVal SyncMode As Integer) As Integer -Declare Function AI_ContReadChannelToFile Lib "Pci-Dask.dll" (ByVal CardNumber As Integer, ByVal Channel As Integer, ByVal AdRange As Integer, ByVal FileName As String, ByVal ReadCount As Long, ByVal SampleRate As Double, ByVal SyncMode As Integer) As Integer -Declare Function AI_ContScanChannels Lib "Pci-Dask.dll" (ByVal CardNumber As Integer, ByVal Channel As Integer, ByVal AdRange As Integer, Buffer As Integer, ByVal ReadCount As Long, ByVal SampleRate As Double, ByVal SyncMode As Integer) As Integer -Declare Function AI_ContScanChannelsToFile Lib "Pci-Dask.dll" (ByVal CardNumber As Integer, ByVal Channel As Integer, ByVal AdRange As Integer, ByVal FileName As String, ByVal ReadCount As Long, ByVal SampleRate As Double, ByVal SyncMode As Integer) As Integer -Declare Function AI_ContReadMultiChannels Lib "Pci-Dask.dll" (ByVal CardNumber As Integer, ByVal NumChans As Integer, Chans As Integer, AdRanges As Integer, Buffer As Integer, ByVal ReadCount As Long, ByVal SampleRate As Double, ByVal SyncMode As Integer) As Integer -Declare Function AI_ContReadMultiChannelsToFile Lib "Pci-Dask.dll" (ByVal CardNumber As Integer, ByVal NumChans As Integer, Chans As Integer, AdRanges As Integer, ByVal FileName As String, ByVal ReadCount As Long, ByVal SampleRate As Double, ByVal SyncMode As Integer) As Integer -Declare Function AI_ContStatus Lib "Pci-Dask.dll" (ByVal CardNumber As Integer, Status As Integer) As Integer -Declare Function AI_ContBufferReset Lib "Pci-Dask.dll" (ByVal CardNumber As Integer) As Integer -Declare Function AI_ContBufferSetup Lib "Pci-Dask.dll" (ByVal CardNumber As Integer, Buffer As Any, ByVal ReadCount As Long, BufferId As Integer) As Integer -Declare Function AI_EventCallBack Lib "Pci-Dask.dll" (ByVal CardNumber As Integer, ByVal Mode As Integer, ByVal EventType As Integer, ByVal callbackAddr As Long) As Integer -Declare Function AI_InitialMemoryAllocated Lib "Pci-Dask.dll" (ByVal CardNumber As Integer, MemSize As Long) As Integer -Declare Function AI_ReadChannel Lib "Pci-Dask.dll" (ByVal CardNumber As Integer, ByVal Channel As Integer, ByVal AdRange As Integer, Value As Integer) As Integer -Declare Function AI_ReadChannel32 Lib "Pci-Dask.dll" (ByVal CardNumber As Integer, ByVal Channel As Integer, ByVal AdRange As Integer, Value As Long) As Integer -Declare Function AI_VReadChannel Lib "Pci-Dask.dll" (ByVal CardNumber As Integer, ByVal Channel As Integer, ByVal AdRange As Integer, Voltage As Double) As Integer -Declare Function AI_ScanReadChannels Lib "Pci-Dask.dll" (ByVal CardNumber As Integer, ByVal Channel As Integer, ByVal AdRange As Integer, Buffer As Integer) As Integer -Declare Function AI_ScanReadChannels32 Lib "Pci-Dask.dll" (ByVal CardNumber As Integer, ByVal Channel As Integer, ByVal AdRange As Integer, Buffer As Long) As Integer -Declare Function AI_ReadMultiChannels Lib "Pci-Dask.dll" (ByVal CardNumber As Integer, ByVal NumChans As Integer, Chans As Integer, AdRanges As Integer, Buffer As Integer) As Integer -Declare Function AI_VoltScale Lib "Pci-Dask.dll" (ByVal CardNumber As Integer, ByVal AdRange As Integer, ByVal reading As Integer, Voltage As Double) As Integer -Declare Function AI_VoltScale32 Lib "Pci-Dask.dll" (ByVal CardNumber As Integer, ByVal AdRange As Integer, ByVal reading As Long, Voltage As Double) As Integer -Declare Function AI_ContVScale Lib "Pci-Dask.dll" (ByVal CardNumber As Integer, ByVal AdRange As Integer, readingArray As Integer, voltageArray As Double, ByVal CCount As Long) As Integer -Declare Function AI_SetTimeOut Lib "Pci-Dask.dll" (ByVal CardNumber As Integer, ByVal TimeOut As Long) As Integer - -'AO Functions -Declare Function AO_6202_Config Lib "Pci-Dask.dll" (ByVal CardNumber As Integer, ByVal ConfigCtrl As Integer, ByVal TrigCtrl As Integer, ByVal ReTrgCnt As Long, ByVal DLY1Cnt As Long, ByVal DLY2Cnt As Long, ByVal AutoResetBuf As Byte) As Integer -Declare Function AO_6208A_Config Lib "Pci-Dask.dll" (ByVal CardNumber As Integer, ByVal V2AMode As Integer) As Integer -Declare Function AO_6308A_Config Lib "Pci-Dask.dll" (ByVal CardNumber As Integer, ByVal V2AMode As Integer) As Integer -Declare Function AO_6308V_Config Lib "Pci-Dask.dll" (ByVal CardNumber As Integer, ByVal Channel As Integer, ByVal OutputPolarity As Integer, ByVal refVoltage As Double) As Integer -Declare Function AO_9111_Config Lib "Pci-Dask.dll" (ByVal CardNumber As Integer, ByVal OutputPolarity As Integer) As Integer -Declare Function AO_9112_Config Lib "Pci-Dask.dll" (ByVal CardNumber As Integer, ByVal Channel As Integer, ByVal refVoltage As Double) As Integer -Declare Function AO_9222_Config Lib "Pci-Dask.dll" (ByVal CardNumber As Integer, ByVal ConfigCtrl As Integer, ByVal TrigCtrl As Integer, ByVal ReTrgCnt As Long, ByVal DLY1Cnt As Long, ByVal DLY2Cnt As Long, ByVal AutoResetBuf As Byte) As Integer -Declare Function AO_9223_Config Lib "Pci-Dask.dll" (ByVal CardNumber As Integer, ByVal ConfigCtrl As Integer, ByVal TrigCtrl As Integer, ByVal ReTrgCnt As Long, ByVal DLY1Cnt As Long, ByVal DLY2Cnt As Long, ByVal AutoResetBuf As Byte) As Integer -Declare Function AO_AsyncCheck Lib "Pci-Dask.dll" (ByVal CardNumber As Integer, Stopped As Byte, AccessCnt As Long) As Integer -Declare Function AO_AsyncClear Lib "Pci-Dask.dll" (ByVal CardNumber As Integer, AccessCnt As Long, ByVal stop_mode As Integer) As Integer -Declare Function AO_AsyncDblBufferHalfReady Lib "Pci-Dask.dll" (ByVal CardNumber As Integer, HalfReady As Byte) As Integer -Declare Function AO_AsyncDblBufferMode Lib "Pci-Dask.dll" (ByVal CardNumber As Integer, ByVal Enable As Byte) As Integer -Declare Function AO_ContBufferCompose Lib "Pci-Dask.dll" (ByVal CardNumber As Integer, ByVal TotalChnCount As Integer, ByVal ChnNum As Integer, ByVal UpdateCount As Long, ConBuffer As Any, Buffer As Any) As Integer -Declare Function AO_ContBufferReset Lib "Pci-Dask.dll" (ByVal CardNumber As Integer) As Integer -Declare Function AO_ContBufferSetup Lib "Pci-Dask.dll" (ByVal CardNumber As Integer, Buffer As Any, ByVal WriteCount As Long, BufferId As Integer) As Integer -Declare Function AO_ContStatus Lib "Pci-Dask.dll" (ByVal CardNumber As Integer, Status As Integer) As Integer -Declare Function AO_ContWriteChannel Lib "Pci-Dask.dll" (ByVal CardNumber As Integer, ByVal Channel As Integer, ByVal BufId As Integer, ByVal WriteCount As Long, ByVal Iterations As Long, ByVal CHUI As Long, ByVal definite As Integer, ByVal SyncMode As Integer) As Integer -Declare Function AO_ContWriteMultiChannels Lib "Pci-Dask.dll" (ByVal CardNumber As Integer, ByVal NumChans As Integer, Chans As Integer, ByVal BufId As Integer, ByVal WriteCount As Long, ByVal Iterations As Long, ByVal CHUI As Long, ByVal definite As Integer, ByVal SyncMode As Integer) As Integer -Declare Function AO_EventCallBack Lib "Pci-Dask.dll" (ByVal CardNumber As Integer, ByVal Mode As Integer, ByVal EventType As Integer, ByVal callbackAddr As Long) As Integer -Declare Function AO_InitialMemoryAllocated Lib "Pci-Dask.dll" (ByVal CardNumber As Integer, MemSize As Long) As Integer -Declare Function AO_SetTimeOut Lib "Pci-Dask.dll" (ByVal CardNumber As Integer, ByVal TimeOut As Long) As Integer -Declare Function AO_SimuVWriteChannel Lib "Pci-Dask.dll" (ByVal CardNumber As Integer, ByVal Group As Integer, voltageArray As Double) As Integer -Declare Function AO_SimuWriteChannel Lib "Pci-Dask.dll" (ByVal CardNumber As Integer, ByVal Group As Integer, valueArray As Integer) As Integer -Declare Function AO_VoltScale Lib "Pci-Dask.dll" (ByVal CardNumber As Integer, ByVal Channel As Integer, ByVal Voltage As Double, binValue As Integer) As Integer -Declare Function AO_VWriteChannel Lib "Pci-Dask.dll" (ByVal CardNumber As Integer, ByVal Channel As Integer, ByVal Voltage As Double) As Integer -Declare Function AO_WriteChannel Lib "Pci-Dask.dll" (ByVal CardNumber As Integer, ByVal Channel As Integer, ByVal Value As Integer) As Integer - -'DI Functions -Declare Function DI_7200_Config Lib "Pci-Dask.dll" (ByVal CardNumber As Integer, ByVal TrigSource As Integer, ByVal ExtTrigEn As Integer, ByVal TrigPol As Integer, ByVal I_REQ_Pol As Integer) As Integer -Declare Function DI_7233_ForceLogic Lib "Pci-Dask.dll" (ByVal CardNumber As Integer, ByVal ConfigCtrl As Integer) As Integer -Declare Function DI_7300A_Config Lib "Pci-Dask.dll" (ByVal CardNumber As Integer, ByVal PortWidth As Integer, ByVal TrigSource As Integer, ByVal WaitStatus As Integer, ByVal Terminaor As Integer, ByVal I_REQ_Pol As Integer, ByVal clear_fifo As Byte, ByVal disable_di As Byte) As Integer -Declare Function DI_7300B_Config Lib "Pci-Dask.dll" (ByVal CardNumber As Integer, ByVal PortWidth As Integer, ByVal TrigSource As Integer, ByVal WaitStatus As Integer, ByVal Terminator As Integer, ByVal I_Cntrl_Pol As Integer, ByVal clear_fifo As Byte, ByVal disable_di As Byte) As Integer -Declare Function DI_7350_Config Lib "Pci-Dask.dll" (ByVal CardNumber As Integer, ByVal DIPortWidth As Integer, ByVal DIMode As Integer, ByVal DIWaitStatus As Integer, ByVal DIClkConfig As Integer) As Integer -Declare Function DI_7350_ExportSampCLKConfig Lib "Pci-Dask.dll" (ByVal CardNumber As Integer, ByVal CLK_Src As Integer, ByVal CLK_DPAMode As Integer, ByVal CLK_DPAVlaue As Integer) As Integer -Declare Function DI_7350_ExtSampCLKConfig Lib "Pci-Dask.dll" (ByVal CardNumber As Integer, ByVal CLK_Src As Integer, ByVal CLK_DDAMode As Integer, ByVal CLK_DPAMode As Integer, ByVal CLK_DDAVlaue As Integer, ByVal CLK_DPAVlaue As Integer) As Integer -Declare Function DI_7350_SoftTriggerGen Lib "Pci-Dask.dll" (ByVal CardNumber As Integer) As Integer -Declare Function DI_7350_TrigHSConfig Lib "Pci-Dask.dll" (ByVal CardNumber As Integer, ByVal TrigConfig As Integer, ByVal DI_IPOL As Integer, ByVal DI_REQSrc As Integer, ByVal DI_ACKSrc As Integer, ByVal DI_TRIGSrc As Integer, ByVal StartTrigSrc As Integer, ByVal PauseTrigSrc As Integer, ByVal SoftTrigOutSrc As Integer, ByVal SoftTrigOutLength As Long, ByVal TrigCount As Long) As Integer -Declare Function DI_7350_BurstHandShakeDelay Lib "Pci-Dask.dll" (ByVal CardNumber As Integer, ByVal Delay As Byte) As Integer -Declare Function DI_7360_Config Lib "Pci-Dask.dll" (ByVal CardNumber As Integer, ByVal DIPortWidth As Integer, ByVal DIMode As Integer, ByVal DIWaitStatus As Integer, ByVal DIClkConfig As Integer) As Integer -Declare Function DI_7360_ExportSampCLKConfig Lib "Pci-Dask.dll" (ByVal CardNumber As Integer, ByVal CLK_Src As Integer, ByVal CLK_DPAMode As Integer, ByVal CLK_DPAVlaue As Integer) As Integer -Declare Function DI_7360_ExtSampCLKConfig Lib "Pci-Dask.dll" (ByVal CardNumber As Integer, ByVal CLK_Src As Integer, ByVal CLK_DDAMode As Integer, ByVal CLK_DPAMode As Integer, ByVal CLK_DDAVlaue As Integer, ByVal CLK_DPAVlaue As Integer) As Integer -Declare Function DI_7360_SoftTriggerGen Lib "Pci-Dask.dll" (ByVal CardNumber As Integer) As Integer -Declare Function DI_7360_TrigHSConfig Lib "Pci-Dask.dll" (ByVal CardNumber As Integer, ByVal TrigConfig As Integer, ByVal DI_IPOL As Integer, ByVal DI_REQSrc As Integer, ByVal DI_ACKSrc As Integer, ByVal DI_TRIGSrc As Integer, ByVal StartTrigSrc As Integer, ByVal PauseTrigSrc As Integer, ByVal SoftTrigOutSrc As Integer, ByVal SoftTrigOutLength As Long, ByVal TrigCount As Long) As Integer -Declare Function DI_7360_BurstHandShakeDelay Lib "Pci-Dask.dll" (ByVal CardNumber As Integer, ByVal Delay As Byte) As Integer -Declare Function DI_9222_Config Lib "Pci-Dask.dll" (ByVal CardNumber As Integer, ByVal ConfigCtrl As Integer, ByVal TrigCtrl As Integer, ByVal ReTriggerCnt As Long, ByVal AutoResetBuf As Byte) As Integer -Declare Function DI_9223_Config Lib "Pci-Dask.dll" (ByVal CardNumber As Integer, ByVal ConfigCtrl As Integer, ByVal TrigCtrl As Integer, ByVal ReTriggerCnt As Long, ByVal AutoResetBuf As Byte) As Integer -Declare Function DI_AsyncCheck Lib "Pci-Dask.dll" (ByVal CardNumber As Integer, Stopped As Byte, AccessCnt As Long) As Integer -Declare Function DI_AsyncClear Lib "Pci-Dask.dll" (ByVal CardNumber As Integer, AccessCnt As Long) As Integer -Declare Function DI_AsyncDblBufferHalfReady Lib "Pci-Dask.dll" (ByVal CardNumber As Integer, HalfReady As Byte) As Integer -Declare Function DI_AsyncDblBufferHandled Lib "Pci-Dask.dll" (ByVal CardNumber As Integer) As Integer -Declare Function DI_AsyncDblBufferMode Lib "Pci-Dask.dll" (ByVal CardNumber As Integer, ByVal Enable As Byte) As Integer -Declare Function DI_AsyncDblBufferToFile Lib "Pci-Dask.dll" (ByVal CardNumber As Integer) As Integer -Declare Function DI_AsyncDblBufferTransfer Lib "Pci-Dask.dll" (ByVal CardNumber As Integer, Buffer As Any) As Integer -Declare Function DI_AsyncDblBufferOverrun Lib "Pci-Dask.dll" (ByVal CardNumber As Integer, ByVal op As Integer, overrunFlag As Integer) As Integer -Declare Function DI_AsyncMultiBuffersHandled Lib "Pci-Dask.dll" (ByVal CardNumber As Integer, ByVal bufcnt As Integer, bufs As Integer) As Integer -Declare Function DI_AsyncMultiBufferNextReady Lib "Pci-Dask.dll" (ByVal CardNumber As Integer, NextReady As Byte, BufferId As Integer) As Integer -Declare Function DI_AsyncReTrigNextReady Lib "Pci-Dask.dll" (ByVal CardNumber As Integer, Ready As Byte, StopFlag As Byte, RdyTrigCnt As Integer) As Integer -Declare Function DI_ContBufferReset Lib "Pci-Dask.dll" (ByVal CardNumber As Integer) As Integer -Declare Function DI_ContBufferSetup Lib "Pci-Dask.dll" (ByVal CardNumber As Integer, Buffer As Any, ByVal ReadCount As Long, BufferId As Integer) As Integer -Declare Function DI_ContMultiBufferSetup Lib "Pci-Dask.dll" (ByVal CardNumber As Integer, Buffer As Any, ByVal ReadCount As Long, BufferId As Integer) As Integer -Declare Function DI_ContMultiBufferStart Lib "Pci-Dask.dll" (ByVal CardNumber As Integer, ByVal Port As Integer, ByVal SampleRate As Double) As Integer -Declare Function DI_ContReadPort Lib "Pci-Dask.dll" (ByVal CardNumber As Integer, ByVal Port As Integer, Buffer As Any, ByVal ReadCount As Long, ByVal SampleRate As Double, ByVal SyncMode As Integer) As Integer -Declare Function DI_ContReadPortToFile Lib "Pci-Dask.dll" (ByVal CardNumber As Integer, ByVal Port As Integer, ByVal FileName As String, ByVal ReadCount As Long, ByVal SampleRate As Double, ByVal SyncMode As Integer) As Integer -Declare Function DI_ContStatus Lib "Pci-Dask.dll" (ByVal CardNumber As Integer, Status As Integer) As Integer -Declare Function DI_EventCallBack Lib "Pci-Dask.dll" (ByVal CardNumber As Integer, ByVal Mode As Integer, ByVal EventType As Integer, ByVal callbackAddr As Long) As Integer -Declare Function DI_InitialMemoryAllocated Lib "Pci-Dask.dll" (ByVal CardNumber As Integer, MemSize As Long) As Integer -Declare Function DI_ReadPort Lib "Pci-Dask.dll" (ByVal CardNumber As Integer, ByVal Port As Integer, Value As Long) As Integer -Declare Function DI_ReadLine Lib "Pci-Dask.dll" (ByVal CardNumber As Integer, ByVal Port As Integer, ByVal LLine As Integer, Value As Integer) As Integer -Declare Function DI_SetTimeOut Lib "Pci-Dask.dll" (ByVal CardNumber As Integer, ByVal TimeOut As Long) As Integer - -'DO Functions -Declare Function DO_7200_Config Lib "Pci-Dask.dll" (ByVal CardNumber As Integer, ByVal TrigSource As Integer, ByVal OutReqEn As Integer, ByVal OutTrigSig As Integer) As Integer -Declare Function DO_7300A_Config Lib "Pci-Dask.dll" (ByVal CardNumber As Integer, ByVal PortWidth As Integer, ByVal TrigSource As Integer, ByVal WaitStatus As Integer, ByVal Terminaor As Integer, ByVal O_REQ_Pol As Integer) As Integer -Declare Function DO_7300B_Config Lib "Pci-Dask.dll" (ByVal CardNumber As Integer, ByVal PortWidth As Integer, ByVal TrigSource As Integer, ByVal WaitStatus As Integer, ByVal Terminator As Integer, ByVal O_Cntrl_Pol As Integer, ByVal FifoThreshold As Long) As Integer -Declare Function DO_7300B_SetDODisableMode Lib "Pci-Dask.dll" (ByVal CardNumber As Integer, ByVal Mode As Integer) As Integer -Declare Function DO_7350_Config Lib "Pci-Dask.dll" (ByVal CardNumber As Integer, ByVal DOPortWidth As Integer, ByVal DOMode As Integer, ByVal DOWaitStatus As Integer, ByVal DOClkConfig As Integer) As Integer -Declare Function DO_7350_ExportSampCLKConfig Lib "Pci-Dask.dll" (ByVal CardNumber As Integer, ByVal CLK_Src As Integer, ByVal CLK_DPAMode As Integer, ByVal CLK_DPAVlaue As Integer) As Integer -Declare Function DO_7350_ExtSampCLKConfig Lib "Pci-Dask.dll" (ByVal CardNumber As Integer, ByVal CLK_Src As Integer, ByVal CLK_DDAMode As Integer, ByVal CLK_DPAMode As Integer, ByVal CLK_DDAVlaue As Integer, ByVal CLK_DPAVlaue As Integer) As Integer -Declare Function DO_7350_SoftTriggerGen Lib "Pci-Dask.dll" (ByVal CardNumber As Integer) As Integer -Declare Function DO_7350_TrigHSConfig Lib "Pci-Dask.dll" (ByVal CardNumber As Integer, ByVal TrigConfig As Integer, ByVal DO_IPOL As Integer, ByVal DO_REQSrc As Integer, ByVal DO_ACKSrc As Integer, ByVal DO_TRIGSrc As Integer, ByVal StartTrigSrc As Integer, ByVal PauseTrigSrc As Integer, ByVal SoftTrigOutSrc As Integer, ByVal SoftTrigOutLength As Long, ByVal TrigCount As Long) As Integer -Declare Function DO_7350_BurstHandShakeDelay Lib "Pci-Dask.dll" (ByVal CardNumber As Integer, ByVal Delay As Byte) As Integer -Declare Function DO_7360_Config Lib "Pci-Dask.dll" (ByVal CardNumber As Integer, ByVal DOPortWidth As Integer, ByVal DOMode As Integer, ByVal DOWaitStatus As Integer, ByVal DOClkConfig As Integer) As Integer -Declare Function DO_7360_ExportSampCLKConfig Lib "Pci-Dask.dll" (ByVal CardNumber As Integer, ByVal CLK_Src As Integer, ByVal CLK_DPAMode As Integer, ByVal CLK_DPAVlaue As Integer) As Integer -Declare Function DO_7360_ExtSampCLKConfig Lib "Pci-Dask.dll" (ByVal CardNumber As Integer, ByVal CLK_Src As Integer, ByVal CLK_DDAMode As Integer, ByVal CLK_DPAMode As Integer, ByVal CLK_DDAVlaue As Integer, ByVal CLK_DPAVlaue As Integer) As Integer -Declare Function DO_7360_SoftTriggerGen Lib "Pci-Dask.dll" (ByVal CardNumber As Integer) As Integer -Declare Function DO_7360_TrigHSConfig Lib "Pci-Dask.dll" (ByVal CardNumber As Integer, ByVal TrigConfig As Integer, ByVal DO_IPOL As Integer, ByVal DO_REQSrc As Integer, ByVal DO_ACKSrc As Integer, ByVal DO_TRIGSrc As Integer, ByVal StartTrigSrc As Integer, ByVal PauseTrigSrc As Integer, ByVal SoftTrigOutSrc As Integer, ByVal SoftTrigOutLength As Long, ByVal TrigCount As Long) As Integer -Declare Function DO_7360_BurstHandShakeDelay Lib "Pci-Dask.dll" (ByVal CardNumber As Integer, ByVal Delay As Byte) As Integer -Declare Function EDO_9111_Config Lib "Pci-Dask.dll" (ByVal CardNumber As Integer, ByVal EDO_Fun As Integer) As Integer -Declare Function DO_9222_Config Lib "Pci-Dask.dll" (ByVal CardNumber As Integer, ByVal ConfigCtrl As Integer, ByVal TrigCtrl As Integer, ByVal ReTrgCnt As Long, ByVal DLY1Cnt As Long, ByVal DLY2Cnt As Long, ByVal AutoResetBuf As Byte) As Integer -Declare Function DO_9223_Config Lib "Pci-Dask.dll" (ByVal CardNumber As Integer, ByVal ConfigCtrl As Integer, ByVal TrigCtrl As Integer, ByVal ReTrgCnt As Long, ByVal DLY1Cnt As Long, ByVal DLY2Cnt As Long, ByVal AutoResetBuf As Byte) As Integer -Declare Function DO_AsyncCheck Lib "Pci-Dask.dll" (ByVal CardNumber As Integer, Stopped As Byte, AccessCnt As Long) As Integer -Declare Function DO_AsyncClear Lib "Pci-Dask.dll" (ByVal CardNumber As Integer, AccessCnt As Long) As Integer -Declare Function DO_AsyncMultiBufferNextReady Lib "Pci-Dask.dll" (ByVal CardNumber As Integer, NextReady As Byte, BufferId As Integer) As Integer -Declare Function DO_ContBufferReset Lib "Pci-Dask.dll" (ByVal CardNumber As Integer) As Integer -Declare Function DO_ContBufferSetup Lib "Pci-Dask.dll" (ByVal CardNumber As Integer, Buffer As Any, ByVal WriteCount As Long, BufferId As Integer) As Integer -Declare Function DO_ContMultiBufferSetup Lib "Pci-Dask.dll" (ByVal CardNumber As Integer, Buffer As Any, ByVal WriteCount As Long, BufferId As Integer) As Integer -Declare Function DO_ContMultiBufferStart Lib "Pci-Dask.dll" (ByVal CardNumber As Integer, ByVal Port As Integer, ByVal SampleRate As Double) As Integer -Declare Function DO_ContStatus Lib "Pci-Dask.dll" (ByVal CardNumber As Integer, Status As Integer) As Integer -Declare Function DO_ContWritePort Lib "Pci-Dask.dll" (ByVal CardNumber As Integer, ByVal Port As Integer, Buffer As Any, ByVal WriteCount As Long, ByVal Iterations As Integer, ByVal SampleRate As Double, ByVal SyncMode As Integer) As Integer -Declare Function DO_ContWritePortEx Lib "Pci-Dask.dll" (ByVal CardNumber As Integer, ByVal Port As Integer, Buffer As Any, ByVal WriteCount As Long, ByVal Iterations As Integer, ByVal SampleRate As Double, ByVal SyncMode As Integer) As Integer - -Declare Function DO_EventCallBack Lib "Pci-Dask.dll" (ByVal CardNumber As Integer, ByVal Mode As Integer, ByVal EventType As Integer, ByVal callbackAddr As Long) As Integer -Declare Function DO_InitialMemoryAllocated Lib "Pci-Dask.dll" (ByVal CardNumber As Integer, MemSize As Long) As Integer -Declare Function DO_PGStart Lib "Pci-Dask.dll" (ByVal CardNumber As Integer, Buffer As Any, ByVal WriteCount As Long, ByVal SampleRate As Double) As Integer -Declare Function DO_PGStop Lib "Pci-Dask.dll" (ByVal CardNumber As Integer) As Integer -Declare Function DO_ReadLine Lib "Pci-Dask.dll" (ByVal CardNumber As Integer, ByVal Port As Integer, ByVal LLine As Integer, Value As Integer) As Integer -Declare Function DO_ReadPort Lib "Pci-Dask.dll" (ByVal CardNumber As Integer, ByVal Port As Integer, Value As Long) As Integer -Declare Function DO_SetTimeOut Lib "Pci-Dask.dll" (ByVal CardNumber As Integer, ByVal TimeOut As Long) As Integer -Declare Function DO_SimuWritePort Lib "Pci-Dask.dll" (ByVal CardNumber As Integer, ByVal NumChans As Integer, Buffer As Long) As Integer -Declare Function DO_WriteExtTrigLine Lib "Pci-Dask.dll" (ByVal CardNumber As Integer, ByVal Value As Integer) As Integer -Declare Function DO_WriteLine Lib "Pci-Dask.dll" (ByVal CardNumber As Integer, ByVal Port As Integer, ByVal LLine As Integer, ByVal Value As Integer) As Integer -Declare Function DO_WritePort Lib "Pci-Dask.dll" (ByVal CardNumber As Integer, ByVal Port As Integer, ByVal Value As Long) As Integer - -'DIO Functions -Declare Function DIO_7300SetInterrupt Lib "Pci-Dask.dll" (ByVal CardNumber As Integer, ByVal AuxDIEn As Integer, ByVal T2En As Integer, hEvent As Long) As Integer -Declare Function DIO_7350_AFIConfig Lib "Pci-Dask.dll" (ByVal CardNumber As Integer, ByVal AFI_Port As Integer, ByVal AFI_Enable As Integer, ByVal AFI_Mode As Integer, ByVal AFI_TrigOutLen As Long) As Integer -Declare Function DIO_7360_AFIConfig Lib "Pci-Dask.dll" (ByVal CardNumber As Integer, ByVal AFI_Port As Integer, ByVal AFI_Enable As Integer, ByVal AFI_Mode As Integer, ByVal AFI_TrigOutLen As Long) As Integer -Declare Function DIO_AUXDI_EventMessage Lib "Pci-Dask.dll" (ByVal CardNumber As Integer, ByVal AuxDIEn As Integer, ByVal windowHandle As Long, ByVal message As Long, ByVal callbackAddr As Long) As Integer -Declare Function DIO_COSInterruptCounter Lib "Pci-Dask.dll" (ByVal CardNumber As Integer, ByVal Counter_Num As Integer, ByVal Counter_Mode As Integer, ByVal DI_Port As Integer, ByVal DI_Line As Integer, Counter_Value As Long) As Integer -Declare Function DIO_GetCOSLatchData Lib "Pci-Dask.dll" (ByVal CardNumber As Integer, CosLData As Integer) As Integer -Declare Function DIO_GetCOSLatchData32 Lib "Pci-Dask.dll" (ByVal CardNumber As Integer, ByVal Port As Byte, CosLData As Long) As Integer -Declare Function DIO_GetCOSLatchDataInt32 Lib "Pci-Dask.dll" (ByVal CardNumber As Integer, ByVal Port As Byte, CosLData As Long) As Integer -Declare Function DIO_GetPMLatchData32 Lib "Pci-Dask.dll" (ByVal CardNumber As Integer, ByVal Port As Integer, PMLData As Long) As Integer -Declare Function DIO_INT_EventMessage Lib "Pci-Dask.dll" (ByVal CardNumber As Integer, ByVal Mode As Integer, ByVal hEvent As Long, ByVal windowHandle As Long, ByVal message As Long, ByVal callbackAddr As Long) As Integer -Declare Function DIO_INT1_EventMessage Lib "Pci-Dask.dll" (ByVal CardNumber As Integer, ByVal Int1Mode As Integer, ByVal windowHandle As Long, ByVal message As Long, ByVal callbackAddr As Long) As Integer -Declare Function DIO_INT2_EventMessage Lib "Pci-Dask.dll" (ByVal CardNumber As Integer, ByVal Int2Mode As Integer, ByVal windowHandle As Long, ByVal message As Long, ByVal callbackAddr As Long) As Integer -Declare Function DIO_LineConfig Lib "Pci-Dask.dll" (ByVal CardNumber As Integer, ByVal Port As Integer, ByVal LLine As Integer, ByVal Direction As Integer) As Integer -Declare Function DIO_LinesConfig Lib "Pci-Dask.dll" (ByVal CardNumber As Integer, ByVal Port As Integer, ByVal Linesdirmap As Integer) As Integer -Declare Function DIO_PortConfig Lib "Pci-Dask.dll" (ByVal CardNumber As Integer, ByVal Port As Integer, ByVal Direction As Integer) As Integer -Declare Function DIO_PMConfig Lib "Pci-Dask.dll" (ByVal CardNumber As Integer, ByVal Channel As Integer, ByVal PM_ChnEn As Integer, ByVal PM_ChnType As Integer) As Integer -Declare Function DIO_PMControl Lib "Pci-Dask.dll" (ByVal CardNumber As Integer, ByVal Port As Integer, ByVal PM_Start As Integer, hEvent As Long, ByVal ManualReset As Byte) As Integer -Declare Function DIO_SetCOSInterrupt Lib "Pci-Dask.dll" (ByVal CardNumber As Integer, ByVal Port As Integer, ByVal ctlA As Integer, ByVal ctlB As Integer, ByVal ctlC As Integer) As Integer -Declare Function DIO_SetCOSInterrupt32 Lib "Pci-Dask.dll" (ByVal CardNumber As Integer, ByVal Port As Byte, ByVal ctl As Long, hEvent As Long, ByVal ManualReset As Byte) As Integer -Declare Function DIO_SetDualInterrupt Lib "Pci-Dask.dll" (ByVal CardNumber As Integer, ByVal Int1Mode As Integer, ByVal Int2Mode As Integer, hEvent As Long) As Integer -Declare Function DIO_SetPMInterrupt32 Lib "Pci-Dask.dll" (ByVal CardNumber As Integer, ByVal Port As Integer, ByVal Ctrl As Long, ByVal Pattern1 As Long, ByVal Pattern2 As Long, hEvent As Long, ByVal ManualReset As Byte) As Integer -Declare Function DIO_T2_EventMessage Lib "Pci-Dask.dll" (ByVal CardNumber As Integer, ByVal T2En As Integer, ByVal windowHandle As Long, ByVal message As Long, ByVal callbackAddr As Long) As Integer -Declare Function DIO_VoltLevelConfig Lib "Pci-Dask.dll" (ByVal CardNumber As Integer, ByVal PortType As Integer, ByVal VoltLevel As Integer) As Integer - -'Counter Functions -Declare Function CTR_8554_CK1_Config Lib "Pci-Dask.dll" (ByVal CardNumber As Integer, ByVal ClockSource As Integer) As Integer -Declare Function CTR_8554_ClkSrc_Config Lib "Pci-Dask.dll" (ByVal CardNumber As Integer, ByVal Ctr As Integer, ByVal ClockSource As Integer) As Integer -Declare Function CTR_8554_Debounce_Config Lib "Pci-Dask.dll" (ByVal CardNumber As Integer, ByVal DebounceClock As Integer) As Integer -Declare Function CTR_Clear Lib "Pci-Dask.dll" (ByVal CardNumber As Integer, ByVal Ctr As Integer, ByVal State As Integer) As Integer -Declare Function CTR_Read Lib "Pci-Dask.dll" (ByVal CardNumber As Integer, ByVal Ctr As Integer, Value As Long) As Integer -Declare Function CTR_Read_All Lib "Pci-Dask.dll" (ByVal CardNumber As Integer, ByVal CtrCnt As Integer, Ctr As Integer, Value As Long) As Integer -Declare Function CTR_Setup Lib "Pci-Dask.dll" (ByVal CardNumber As Integer, ByVal Ctr As Integer, ByVal Mode As Integer, ByVal CCount As Long, ByVal BinBcd As Integer) As Integer -Declare Function CTR_Setup_All Lib "Pci-Dask.dll" (ByVal CardNumber As Integer, ByVal CtrCnt As Integer, Ctr As Integer, Mode As Integer, CCount As Long, BinBcd As Integer) As Integer -Declare Function CTR_Status Lib "Pci-Dask.dll" (ByVal CardNumber As Integer, ByVal Ctr As Integer, Value As Long) As Integer -Declare Function CTR_Update Lib "Pci-Dask.dll" (ByVal CardNumber As Integer, ByVal Ctr As Integer, ByVal CCount As Long) As Integer -Declare Function GCTR_Clear Lib "Pci-Dask.dll" (ByVal CardNumber As Integer, ByVal GCtr As Integer) As Integer -Declare Function GCTR_Read Lib "Pci-Dask.dll" (ByVal CardNumber As Integer, ByVal GCtr As Integer, Value As Long) As Integer -Declare Function GCTR_Setup Lib "Pci-Dask.dll" (ByVal CardNumber As Integer, ByVal GCtr As Integer, ByVal GCtrCtrl As Integer, ByVal CCount As Long) As Integer -Declare Function GPTC_9524_PG_Config Lib "Pci-Dask.dll" (ByVal CardNumber As Integer, ByVal GCtr As Integer, ByVal PulseGenNum As Long) As Integer -Declare Function GPTC_Clear Lib "Pci-Dask.dll" (ByVal CardNumber As Integer, ByVal GCtr As Integer) As Integer -Declare Function GPTC_Control Lib "Pci-Dask.dll" (ByVal CardNumber As Integer, ByVal GCtr As Integer, ByVal ParamID As Integer, ByVal Value As Integer) As Integer -Declare Function GPTC_EventCallBack Lib "Pci-Dask.dll" (ByVal CardNumber As Integer, ByVal Enabled As Integer, ByVal EventType As Integer, ByVal callbackAddr As Long) As Integer -Declare Function GPTC_EventSetup Lib "Pci-Dask.dll" (ByVal CardNumber As Integer, ByVal GCtr As Integer, ByVal Mode As Integer, ByVal ctrl As Integer, ByVal LVal_1 As Long, ByVal LVal_2 As Long) As Integer -Declare Function GPTC_Read Lib "Pci-Dask.dll" (ByVal CardNumber As Integer, ByVal GCtr As Integer, Value As Long) As Integer -Declare Function GPTC_Setup Lib "Pci-Dask.dll" (ByVal CardNumber As Integer, ByVal GCtr As Integer, ByVal Mode As Integer, ByVal SrcCtrl As Integer, ByVal PolCtrl As Integer, ByVal LReg1_Val As Long, ByVal LReg2_Val As Long) As Integer -Declare Function GPTC_Status Lib "Pci-Dask.dll" (ByVal CardNumber As Integer, ByVal GCtr As Integer, Value As Long) As Integer -Declare Function GPTC_9524_GetTimerEvent Lib "Pci-Dask.dll" (ByVal CardNumber As Integer, ByVal GCtr As Integer, hEvent As Long) As Integer -Declare Function WDT_Control Lib "Pci-Dask.dll" (ByVal CardNumber As Integer, ByVal Ctr As Integer, ByVal action As Integer) As Integer -Declare Function WDT_Reload Lib "Pci-Dask.dll" (ByVal CardNumber As Integer, ByVal Ctr As Integer, ByVal ovflowSec As Single, actualSec As Single) As Integer -Declare Function WDT_Setup Lib "Pci-Dask.dll" (ByVal CardNumber As Integer, ByVal Ctr As Integer, ByVal ovflowSec As Single, actualSec As Single, hEvent As Long) As Integer -Declare Function WDT_Status Lib "Pci-Dask.dll" (ByVal CardNumber As Integer, ByVal Ctr As Integer, Value As Long) As Integer - -'Get Event or View Functions -Declare Function AI_GetEvent Lib "Pci-Dask.dll" (ByVal CardNumber As Integer, hEvent As Long) As Integer -Declare Function AO_GetEvent Lib "Pci-Dask.dll" (ByVal CardNumber As Integer, hEvent As Long) As Integer -Declare Function DI_GetEvent Lib "Pci-Dask.dll" (ByVal CardNumber As Integer, hEvent As Long) As Integer -Declare Function DO_GetEvent Lib "Pci-Dask.dll" (ByVal CardNumber As Integer, hEvent As Long) As Integer - -'Common Functions -Declare Function GetActualRate Lib "Pci-Dask.dll" (ByVal CardNumber As Integer, ByVal SampleRate As Double, ActualRate As Double) As Integer -Declare Function GetActualRate_9524 Lib "Pci-Dask.dll" (ByVal CardNumber As Integer, ByVal Group As Integer, ByVal SampleRate As Double, ActualRate As Double) As Integer -Declare Function GetBaseAddr Lib "Pci-Dask.dll" (ByVal CardNumber As Integer, BaseAddr As Long, BaseAddr2 As Long) As Integer -Declare Function GetCardIndexFromID Lib "Pci-Dask.dll" (ByVal CardNumber As Integer, cardType As Integer, cardIndex As Integer) As Integer -Declare Function GetCardType Lib "Pci-Dask.dll" (ByVal CardNumber As Integer, cardType As Integer) As Integer -Declare Function GetLCRAddr Lib "Pci-Dask.dll" (ByVal CardNumber As Integer, LcrAddr As Long) As Integer -Declare Function PCI_EEPROM_LoadData Lib "Pci-Dask.dll" (ByVal CardNumber As Integer, ByVal block As Integer, data As Integer) As Integer -Declare Function PCI_EEPROM_SaveData Lib "Pci-Dask.dll" (ByVal CardNumber As Integer, ByVal block As Integer, ByVal data As Integer) As Integer - -'Safety Control Functions -Declare Function EMGShutDownControl Lib "Pci-Dask.dll" (ByVal CardNumber As Integer, ByVal ctrl As Byte) As Integer -Declare Function EMGShutDownStatus Lib "Pci-Dask.dll" (ByVal CardNumber As Integer, ctrl As Byte) As Integer -Declare Function GetInitPattern Lib "Pci-Dask.dll" (ByVal CardNumber As Integer, ByVal patID As Byte, pattern As Long) As Integer -Declare Function HotResetHoldControl Lib "Pci-Dask.dll" (ByVal CardNumber As Integer, ByVal Enable As Byte) As Integer -Declare Function HotResetHoldStatus Lib "Pci-Dask.dll" (ByVal CardNumber As Integer, sts As Byte) As Integer -Declare Function IdentifyLED_Control Lib "Pci-Dask.dll" (ByVal CardNumber As Integer, ByVal ctrl As Byte) As Integer -Declare Function SetInitPattern Lib "Pci-Dask.dll" (ByVal CardNumber As Integer, ByVal patID As Byte, ByVal pattern As Long) As Integer - -'Calibration Function -Declare Function PCI9524_Acquire_AD_CalConst Lib "Pci-Dask.dll" (ByVal CardNumber As Integer, ByVal Group As Integer, ByVal ADC_Range As Integer, ByVal ADC_Speed As Integer, CalDate As Long, CalTemp As Single, ADC_offset As Long, ADC_gain As Long, Residual_offset As Double, Residual_scaling As Double) As Integer -Declare Function PCI9524_Acquire_DA_CalConst Lib "Pci-Dask.dll" (ByVal CardNumber As Integer, ByVal Channel As Integer, CalDate As Long, CalTemp As Single, DAC_offset As Byte, DAC_linearity As Byte, Gain_factor As Single) As Integer -Declare Function PCI9524_Read_EEProm Lib "Pci-Dask.dll" (ByVal CardNumber As Integer, ByVal ReadAddr As Integer, ReadData As Byte) As Integer -Declare Function PCI9524_Read_RemoteSPI Lib "Pci-Dask.dll" (ByVal CardNumber As Integer, ByVal Addr As Integer, RdData As Byte) As Integer -Declare Function PCI9524_Write_EEProm Lib "Pci-Dask.dll" (ByVal CardNumber As Integer, ByVal WriteAddr As Integer, WriteData As Byte) As Integer -Declare Function PCI9524_Write_RemoteSPI Lib "Pci-Dask.dll" (ByVal CardNumber As Integer, ByVal Addr As Integer, ByVal WrtData As Byte) As Integer -Declare Function PCI_DB_Auto_Calibration_ALL Lib "Pci-Dask.dll" (ByVal CardNumber As Integer) As Integer -Declare Function PCI_EEPROM_CAL_Constant_Update Lib "Pci-Dask.dll" (ByVal CardNumber As Integer, ByVal bank As Integer) As Integer -Declare Function PCI_Load_CAL_Data Lib "Pci-Dask.dll" (ByVal CardNumber As Integer, ByVal bank As Integer) As Integer - -'SSI Functions -Declare Function SSI_SourceConn Lib "Pci-Dask.dll" (ByVal CardNumber As Integer, ByVal sigCode As Integer) As Integer -Declare Function SSI_SourceDisConn Lib "Pci-Dask.dll" (ByVal CardNumber As Integer, ByVal sigCode As Integer) As Integer -Declare Function SSI_SourceClear Lib "Pci-Dask.dll" (ByVal CardNumber As Integer) As Integer - -'PWM Functions -Declare Function PWM_Output Lib "Pci-Dask.dll" (ByVal CardNumber As Integer, ByVal Channel As Integer, ByVal high_interval As Long, ByVal low_interval As Long) As Integer -Declare Function PWM_Stop Lib "Pci-Dask.dll" (ByVal CardNumber As Integer, ByVal Channel As Integer) As Integer - -'I2C Functions -Declare Function I2C_Setup Lib "Pci-Dask.dll" (ByVal CardNumber As Integer, ByVal I2C_Port As Integer, ByVal I2C_Config As Integer, ByVal I2C_SetupValue1 As Long, ByVal I2C_SetupValue2 As Long) As Integer -Declare Function I2C_Control Lib "Pci-Dask.dll" (ByVal CardNumber As Integer, ByVal I2C_Port As Integer, ByVal I2C_CtrlParam As Integer, ByVal I2C_CtrlValue As Long) As Integer -Declare Function I2C_Status Lib "Pci-Dask.dll" (ByVal CardNumber As Integer, ByVal I2C_Port As Integer, I2C_Status As Long) As Integer -Declare Function I2C_Read Lib "Pci-Dask.dll" (ByVal CardNumber As Integer, ByVal I2C_Port As Integer, ByVal I2C_SlaveAddr As Integer, ByVal I2C_CmdAddrBytes As Integer, ByVal I2C_DataBytes As Integer, ByVal I2C_CmdAddr As Long, I2C_Data As Long) As Integer -Declare Function I2C_Write Lib "Pci-Dask.dll" (ByVal CardNumber As Integer, ByVal I2C_Port As Integer, ByVal I2C_SlaveAddr As Integer, ByVal I2C_CmdAddrBytes As Integer, ByVal I2C_DataBytes As Integer, ByVal I2C_CmdAddr As Long, ByVal I2C_Data As Long) As Integer - -'SPI Functions -Declare Function SPI_Setup Lib "Pci-Dask.dll" (ByVal CardNumber As Integer, ByVal SPI_Port As Integer, ByVal SPI_Config As Integer, ByVal SPI_SetupValue1 As Long, ByVal SPI_SetupValue2 As Long) As Integer -Declare Function SPI_Control Lib "Pci-Dask.dll" (ByVal CardNumber As Integer, ByVal SPI_Port As Integer, ByVal SPI_CtrlParam As Integer, ByVal SPI_CtrlValue As Long) As Integer -Declare Function SPI_Status Lib "Pci-Dask.dll" (ByVal CardNumber As Integer, ByVal SPI_Port As Integer, SPI_Status As Long) As Integer -Declare Function SPI_Read Lib "Pci-Dask.dll" (ByVal CardNumber As Integer, ByVal SPI_Port As Integer, ByVal SPI_SlaveAddr As Integer, ByVal SPI_CmdAddrBits As Integer, ByVal SPI_DataBits As Integer, ByVal SPI_FrontDummyBits As Integer, ByVal SPI_CmdAddr As Long, SPI_Data As Long) As Integer -Declare Function SPI_Write Lib "Pci-Dask.dll" (ByVal CardNumber As Integer, ByVal SPI_Port As Integer, ByVal SPI_SlaveAddr As Integer, ByVal SPI_CmdAddrBits As Integer, ByVal SPI_DataBits As Integer, ByVal SPI_FrontDummyBits As Integer, ByVal SPI_TailDummyBits As Integer, ByVal SPI_CmdAddr As Long, ByVal SPI_Data As Long) As Integer diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Include/Dask.cs b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Include/Dask.cs deleted file mode 100644 index b7735ff..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Include/Dask.cs +++ /dev/null @@ -1,1796 +0,0 @@ -using System.Runtime.InteropServices; -using System; - -public delegate void CallbackDelegate(); - -public class DASK -{ - //ADLink PCI Card Type - public const ushort PCI_6208V = 1; - public const ushort PCI_6208A = 2; - public const ushort PCI_6308V = 3; - public const ushort PCI_6308A = 4; - public const ushort PCI_7200 = 5; - public const ushort PCI_7230 = 6; - public const ushort PCI_7233 = 7; - public const ushort PCI_7234 = 8; - public const ushort PCI_7248 = 9; - public const ushort PCI_7249 = 10; - public const ushort PCI_7250 = 11; - public const ushort PCI_7252 = 12; - public const ushort PCI_7296 = 13; - public const ushort PCI_7300A_RevA = 14; - public const ushort PCI_7300A_RevB = 15; - public const ushort PCI_7432 = 16; - public const ushort PCI_7433 = 17; - public const ushort PCI_7434 = 18; - public const ushort PCI_8554 = 19; - public const ushort PCI_9111DG = 20; - public const ushort PCI_9111HR = 21; - public const ushort PCI_9112 = 22; - public const ushort PCI_9113 = 23; - public const ushort PCI_9114DG = 24; - public const ushort PCI_9114HG = 25; - public const ushort PCI_9118DG = 26; - public const ushort PCI_9118HG = 27; - public const ushort PCI_9118HR = 28; - public const ushort PCI_9810 = 29; - public const ushort PCI_9812 = 30; - public const ushort PCI_7396 = 31; - public const ushort PCI_9116 = 32; - public const ushort PCI_7256 = 33; - public const ushort PCI_7258 = 34; - public const ushort PCI_7260 = 35; - public const ushort PCI_7452 = 36; - public const ushort PCI_7442 = 37; - public const ushort PCI_7443 = 38; - public const ushort PCI_7444 = 39; - public const ushort PCI_9221 = 40; - public const ushort PCI_9524 = 41; - public const ushort PCI_6202 = 42; - public const ushort PCI_9222 = 43; - public const ushort PCI_9223 = 44; - public const ushort PCI_7433C = 45; - public const ushort PCI_7434C = 46; - public const ushort PCI_922A = 47; - public const ushort PCI_7350 = 48; - public const ushort PCI_7360 = 49; - - public const ushort MAX_CARD = 32; - -//Error Number - public const short NoError = 0; - public const short ErrorUnknownCardType = -1; - public const short ErrorInvalidCardNumber = -2; - public const short ErrorTooManyCardRegistered = -3; - public const short ErrorCardNotRegistered = -4; - public const short ErrorFuncNotSupport = -5; - public const short ErrorInvalidIoChannel = -6; - public const short ErrorInvalidAdRange = -7; - public const short ErrorContIoNotAllowed = -8; - public const short ErrorDiffRangeNotSupport = -9; - public const short ErrorLastChannelNotZero = -10; - public const short ErrorChannelNotDescending = -11; - public const short ErrorChannelNotAscending = -12; - public const short ErrorOpenDriverFailed = -13; - public const short ErrorOpenEventFailed = -14; - public const short ErrorTransferCountTooLarge = -15; - public const short ErrorNotDoubleBufferMode = -16; - public const short ErrorInvalidSampleRate = -17; - public const short ErrorInvalidCounterMode = -18; - public const short ErrorInvalidCounter = -19; - public const short ErrorInvalidCounterState = -20; - public const short ErrorInvalidBinBcdParam = -21; - public const short ErrorBadCardType = -22; - public const short ErrorInvalidDaRefVoltage = -23; - public const short ErrorAdTimeOut = -24; - public const short ErrorNoAsyncAI = -25; - public const short ErrorNoAsyncAO = -26; - public const short ErrorNoAsyncDI = -27; - public const short ErrorNoAsyncDO = -28; - public const short ErrorNotInputPort = -29; - public const short ErrorNotOutputPort = -30; - public const short ErrorInvalidDioPort = -31; - public const short ErrorInvalidDioLine = -32; - public const short ErrorContIoActive = -33; - public const short ErrorDblBufModeNotAllowed = -34; - public const short ErrorConfigFailed = -35; - public const short ErrorInvalidPortDirection = -36; - public const short ErrorBeginThreadError = -37; - public const short ErrorInvalidPortWidth = -38; - public const short ErrorInvalidCtrSource = -39; - public const short ErrorOpenFile = -40; - public const short ErrorAllocateMemory = -41; - public const short ErrorDaVoltageOutOfRange = -42; - public const short ErrorDaExtRefNotAllowed = -43; - public const short ErrorDIODataWidthError = -44; - public const short ErrorTaskCodeError = -45; - public const short ErrortriggercountError = -46; - public const short ErrorInvalidTriggerMode = -47; - public const short ErrorInvalidTriggerType = -48; - public const short ErrorInvalidCounterValue = -50; - public const short ErrorInvalidEventHandle = -60; - public const short ErrorNoMessageAvailable = -61; - public const short ErrorEventMessgaeNotAdded = -62; - public const short ErrorCalibrationTimeOut = -63; - public const short ErrorUndefinedParameter = -64; - public const short ErrorInvalidBufferID = -65; - public const short ErrorInvalidSampledClock = -66; - public const short ErrorInvalisOperationMode = -67; - -//Error number for driver API - public const short ErrorConfigIoctl = -201; - public const short ErrorAsyncSetIoctl = -202; - public const short ErrorDBSetIoctl = -203; - public const short ErrorDBHalfReadyIoctl = -204; - public const short ErrorContOPIoctl = -205; - public const short ErrorContStatusIoctl = -206; - public const short ErrorPIOIoctl = -207; - public const short ErrorDIntSetIoctl = -208; - public const short ErrorWaitEvtIoctl = -209; - public const short ErrorOpenEvtIoctl = -210; - public const short ErrorCOSIntSetIoctl = -211; - public const short ErrorMemMapIoctl = -212; - public const short ErrorMemUMapSetIoctl = -213; - public const short ErrorCTRIoctl = -214; - public const short ErrorGetResIoctl = -215; - public const short ErrorCalIoctl = -216; - public const short ErrorPMIntSetIoctl = -217; - -//AD Range - public const ushort AD_B_10_V = 1; - public const ushort AD_B_5_V = 2; - public const ushort AD_B_2_5_V = 3; - public const ushort AD_B_1_25_V = 4; - public const ushort AD_B_0_625_V = 5; - public const ushort AD_B_0_3125_V = 6; - public const ushort AD_B_0_5_V = 7; - public const ushort AD_B_0_05_V = 8; - public const ushort AD_B_0_005_V = 9; - public const ushort AD_B_1_V = 10; - public const ushort AD_B_0_1_V = 11; - public const ushort AD_B_0_01_V = 12; - public const ushort AD_B_0_001_V = 13; - public const ushort AD_U_20_V = 14; - public const ushort AD_U_10_V = 15; - public const ushort AD_U_5_V = 16; - public const ushort AD_U_2_5_V = 17; - public const ushort AD_U_1_25_V = 18; - public const ushort AD_U_1_V = 19; - public const ushort AD_U_0_1_V = 20; - public const ushort AD_U_0_01_V = 21; - public const ushort AD_U_0_001_V = 22; - public const ushort AD_B_2_V = 23; - public const ushort AD_B_0_25_V = 24; - public const ushort AD_B_0_2_V = 25; - public const ushort AD_U_4_V = 26; - public const ushort AD_U_2_V = 27; - public const ushort AD_U_0_5_V = 28; - public const ushort AD_U_0_4_V = 29; - - //Synchronous Mode - public const ushort SYNCH_OP = 1; - public const ushort ASYNCH_OP = 2; - - //AO Terminate Mode - public const ushort DA_TerminateImmediate = 0; - - //Clock Mode - public const ushort TRIG_SOFTWARE = 0; - public const ushort TRIG_INT_PACER = 1; - public const ushort TRIG_EXT_STROBE = 2; - public const ushort TRIG_HANDSHAKE = 3; - public const ushort TRIG_CLK_10MHZ = 4; //PCI-7300A - public const ushort TRIG_CLK_20MHZ = 5; //PCI-7300A - public const ushort TRIG_DO_CLK_TIMER_ACK = 6; //PCI-7300A Rev. B - public const ushort TRIG_DO_CLK_10M_ACK = 7; //PCI-7300A Rev. B - public const ushort TRIG_DO_CLK_20M_ACK = 8; //PCI-7300A Rev. B - - /*DIO & AFI Voltage Level*/ - public const ushort VoltLevel_3R3 = 0; - public const ushort VoltLevel_2R5 = 1; - public const ushort VoltLevel_1R8 = 2; - -//Virtual Sampling Rate for using external clock as the clock source - public const double CLKSRC_EXT_SampRate = 10000; - -//-------- Constants for PCI-6208A/PCI-6308A/PCI-6308V ------------------- -//Output Mode - public const ushort P6208_CURRENT_0_20MA = 0; - public const ushort P6208_CURRENT_4_20MA = 3; - public const ushort P6208_CURRENT_5_25MA = 1; - public const ushort P6308_CURRENT_0_20MA = 0; - public const ushort P6308_CURRENT_4_20MA = 3; - public const ushort P6308_CURRENT_5_25MA = 1; -//AO Setting - public const ushort P6308V_AO_CH0_3 = 0; - public const ushort P6308V_AO_CH4_7 = 1; - public const ushort P6308V_AO_UNIPOLAR = 0; - public const ushort P6308V_AO_BIPOLAR = 1; -//-------- Constants for PCI-7200 -------------------- -//InputMode - public const ushort DI_WAITING = 0x02; - public const ushort DI_NOWAITING = 0x00; - - public const ushort DI_TRIG_RISING = 0x04; - public const ushort DI_TRIG_FALLING = 0x00; - - public const ushort IREQ_RISING = 0x08; - public const ushort IREQ_FALLING = 0x00; - -//Output Mode - public const ushort OREQ_ENABLE = 0x10; - public const ushort OREQ_DISABLE = 0x00; - - public const ushort OTRIG_HIGH = 0x20; - public const ushort OTRIG_LOW = 0x00; - -//-------- Constants for PCI-7248/7296/7396/7442 --------------- -//DIO Port Direction - public const ushort INPUT_PORT = 1; - public const ushort OUTPUT_PORT = 2; -//DIO Line Direction - public const ushort INPUT_LINE = 1; - public const ushort OUTPUT_LINE = 2; - -//Channel & Port - public const ushort Channel_P1A = 0; - public const ushort Channel_P1B = 1; - public const ushort Channel_P1C = 2; - public const ushort Channel_P1CL = 3; - public const ushort Channel_P1CH = 4; - public const ushort Channel_P1AE = 10; - public const ushort Channel_P1BE = 11; - public const ushort Channel_P1CE = 12; - public const ushort Channel_P2A = 5; - public const ushort Channel_P2B = 6; - public const ushort Channel_P2C = 7; - public const ushort Channel_P2CL = 8; - public const ushort Channel_P2CH = 9; - public const ushort Channel_P2AE = 15; - public const ushort Channel_P2BE = 16; - public const ushort Channel_P2CE = 17; - public const ushort Channel_P3A = 10; - public const ushort Channel_P3B = 11; - public const ushort Channel_P3C = 12; - public const ushort Channel_P3CL = 13; - public const ushort Channel_P3CH = 14; - public const ushort Channel_P4A = 15; - public const ushort Channel_P4B = 16; - public const ushort Channel_P4C = 17; - public const ushort Channel_P4CL = 18; - public const ushort Channel_P4CH = 19; - public const ushort Channel_P5A = 20; - public const ushort Channel_P5B = 21; - public const ushort Channel_P5C = 22; - public const ushort Channel_P5CL = 23; - public const ushort Channel_P5CH = 24; - public const ushort Channel_P6A = 25; - public const ushort Channel_P6B = 26; - public const ushort Channel_P6C = 27; - public const ushort Channel_P6CL = 28; - public const ushort Channel_P6CH = 29; -//the following are used for PCI7396 - public const ushort Channel_P1 = 30; - public const ushort Channel_P2 = 31; - public const ushort Channel_P3 = 32; - public const ushort Channel_P4 = 33; - public const ushort Channel_P1E = 34; //only used by DIO_PortConfig function - public const ushort Channel_P2E = 35; //only used by DIO_PortConfig function - public const ushort Channel_P3E = 36; //only used by DIO_PortConfig function - public const ushort Channel_P4E = 37; //only used by DIO_PortConfig function -//7442 - public const ushort P7442_CH0 = 0; - public const ushort P7442_CH1 = 1; - public const ushort P7442_TTL0 = 2; - public const ushort P7442_TTL1 = 3; -// P7443 - public const ushort P7443_CH0 = 0; - public const ushort P7443_CH1 = 1; - public const ushort P7443_CH2 = 2; - public const ushort P7443_CH3 = 3; - public const ushort P7443_TTL0 = 4; - public const ushort P7443_TTL1 = 5; -// P7444 - public const ushort P7444_CH0 = 0; - public const ushort P7444_CH1 = 1; - public const ushort P7444_CH2 = 2; - public const ushort P7444_CH3 = 3; - public const ushort P7444_TTL0 = 4; - public const ushort P7444_TTL1 = 5; - - //-------- Constants for PCI-7300A ------------------- -//Wait Status - public const ushort P7300_WAIT_NO = 0; - public const ushort P7300_WAIT_TRG = 1; - public const ushort P7300_WAIT_FIFO = 2; - public const ushort P7300_WAIT_BOTH = 3; - -//Terminator control - public const ushort P7300_TERM_OFF = 0; - public const ushort P7300_TERM_ON = 1; - -//DI control signals polarity for PCI-7300A Rev. B - public const ushort P7300_DIREQ_POS = 0x00000000; - public const ushort P7300_DIREQ_NEG = 0x00000001; - public const ushort P7300_DIACK_POS = 0x00000000; - public const ushort P7300_DIACK_NEG = 0x00000002; - public const ushort P7300_DITRIG_POS = 0x00000000; - public const ushort P7300_DITRIG_NEG = 0x00000004; - -//DO control signals polarity for PCI-7300A Rev. B - public const ushort P7300_DOREQ_POS = 0x00000000; - public const ushort P7300_DOREQ_NEG = 0x00000008; - public const ushort P7300_DOACK_POS = 0x00000000; - public const ushort P7300_DOACK_NEG = 0x00000010; - public const ushort P7300_DOTRIG_POS = 0x00000000; - public const ushort P7300_DOTRIG_NEG = 0x00000020; - -//DO Disable mode in DO_AsyncClear - public const ushort P7300_DODisableDOEnabled = 0; - public const ushort P7300_DONotDisableDOEnabled = 1; - -//-------- Constants for PCI-7432/7433/7434/7433C/7434C --------------- - public const ushort PORT_DI_LOW = 0; - public const ushort PORT_DI_HIGH = 1; - public const ushort PORT_DO_LOW = 0; - public const ushort PORT_DO_HIGH = 1; - public const ushort P7432R_DO_LED = 1; - public const ushort P7433R_DO_LED = 0; - public const ushort P7434R_DO_LED = 2; - public const ushort P7432R_DI_SLOT = 1; - public const ushort P7433R_DI_SLOT = 2; - public const ushort P7434R_DI_SLOT = 0; -//-- Dual-Interrupt Source control for PCI-7248/96 & 7432/33 & 7230 & 8554 & 7396 &7256 &7260 & 7433C --- - public const short INT1_NC = -2; //INT1 Unchange - public const short INT1_DISABLE = -1; //INT1 Disabled - public const short INT1_COS = 0; //INT1 COS : only available for PCI-7396, PCI-7256, PCI-7260 - public const short INT1_FP1C0 = 1; //INT1 by Falling edge of P1C0 : only available for PCI7248/96/7396 - public const short INT1_RP1C0_FP1C3 = 2; //INT1 by P1C0 Rising or P1C3 Falling : only available for PCI7248/96/7396 - public const short INT1_EVENT_COUNTER = 3; //INT1 by Event Counter down to zero : only available for PCI7248/96/7396 - public const short INT1_EXT_SIGNAL = 1; //INT1 by external signal : only available for PCI7432/7433/7230/8554 - public const short INT1_COUT12 = 1; //INT1 COUT12 : only available for PCI8554 - public const short INT1_CH0 = 1; //INT1 CH0 : only available for PCI7256, PCI7260 - public const short INT1_COS0 = 1; //INT1 COS0 : only available for PCI-7452/PCI-7442 - public const short INT1_COS1 = 2; //INT1 COS1 : only available for PCI-7452/PCI-7442 - public const short INT1_COS2 = 4; //INT1 COS2 : only available for PCI-7452/PCI-7442 - public const short INT1_COS3 = 8; //INT1 COS3 : only available for PCI-7452/PCI-7442 - public const short INT2_NC = -2; //INT1 Unchange - public const short INT2_DISABLE = -1; //INT2 Disabled - public const short INT2_COS = 0; //INT2 COS : only available for PCI-7396 - public const short INT2_FP2C0 = 1; //INT2 by Falling edge of P2C0 : only available for PCI7248/96/7396 - public const short INT2_RP2C0_FP2C3 = 2; //INT2 by P2C0 Rising or P2C3 Falling : only available for PCI7248/96/7396 - public const short INT2_TIMER_COUNTER = 3; //INT2 by Timer Counter down to zero : only available for PCI7248/96/7396 - public const short INT2_EXT_SIGNAL = 1; //INT2 by external signal : only available for PCI7432/7433/7230/8554 - public const short INT2_CH1 = 2; //INT2 CH1 : only available for PCI7256, PCI7260 - public const short INT2_WDT = 4; //INT2 by WDT - - public const ushort ManualResetIEvt = 0x4000;//interrupt event is manually reset by user - public const ushort WDT_OVRFLOW_SAFETYOUT = 0x8000;// enable safteyout while WDT overflow -//-------- Constants for PCI-8554 -------------------- -//Clock Source of Cunter N - public const ushort ECKN = 0; - public const ushort COUTN_1 = 1; - public const ushort CK1 = 2; - public const ushort COUT10 = 3; - -//Clock Source of CK1 - public const ushort CK1_C8M = 0; - public const ushort CK1_COUT11 = 1; - -//Debounce Clock - public const ushort DBCLK_COUT11 = 0; - public const ushort DBCLK_2MHZ = 1; - -//-------- Constants for PCI-9111 -------------------- -//Dual Interrupt Mode - public const ushort P9111_INT1_EOC = 0; //Ending of AD conversion - public const ushort P9111_INT1_FIFO_HF = 1; //FIFO Half Full - public const ushort P9111_INT2_PACER = 0; //Every Timer tick - public const ushort P9111_INT2_EXT_TRG = 1; //ExtTrig High->Low - -//Channel Count - public const ushort P9111_CHANNEL_DO = 0; - public const ushort P9111_CHANNEL_EDO = 1; - public const ushort P9111_CHANNEL_DI = 0; - public const ushort P9111_CHANNEL_EDI = 1; - -//EDO function - public const ushort P9111_EDO_INPUT = 1; //EDO port set as Input port - public const ushort P9111_EDO_OUT_EDO = 2; //EDO port set as Output port - public const ushort P9111_EDO_OUT_CHN = 3; //EDO port set as channel number ouput port - -//Trigger Mode - public const ushort P9111_TRGMOD_SOFT = 0x00; //Software Trigger Mode - public const ushort P9111_TRGMOD_PRE = 0x01; //Pre-Trigger Mode - public const ushort P9111_TRGMOD_POST = 0x02; //Post Trigger Mode - -//AO Setting - public const ushort P9111_AO_UNIPOLAR = 0; - public const ushort P9111_AO_BIPOLAR = 1; - -//-------- Constants for PCI-9118 -------------------- - public const ushort P9118_AI_BiPolar = 0x00; - public const ushort P9118_AI_UniPolar = 0x01; - - public const ushort P9118_AI_SingEnded = 0x00; - public const ushort P9118_AI_Differential = 0x02; - - public const ushort P9118_AI_ExtG = 0x04; - - public const ushort P9118_AI_ExtTrig = 0x08; - - public const ushort P9118_AI_DtrgNegative = 0x00; - public const ushort P9118_AI_DtrgPositive = 0x10; - - public const ushort P9118_AI_EtrgNegative = 0x00; - public const ushort P9118_AI_EtrgPositive = 0x20; - - public const ushort P9118_AI_BurstModeEn = 0x40; - public const ushort P9118_AI_SampleHold = 0x80; - public const ushort P9118_AI_PostTrgEn = 0x100; - public const ushort P9118_AI_AboutTrgEn = 0x200; - -//-------- Constants for PCI-9116 -------------------- - public const ushort P9116_AI_LocalGND = 0x00; - public const ushort P9116_AI_UserCMMD = 0x01; - public const ushort P9116_AI_SingEnded = 0x00; - public const ushort P9116_AI_Differential = 0x02; - public const ushort P9116_AI_BiPolar = 0x00; - public const ushort P9116_AI_UniPolar = 0x04; - - public const ushort P9116_TRGMOD_SOFT = 0x00; //Software Trigger Mode - public const ushort P9116_TRGMOD_POST = 0x10; //Post Trigger Mode - public const ushort P9116_TRGMOD_DELAY = 0x20; //Delay Trigger Mode - public const ushort P9116_TRGMOD_PRE = 0x30; //Pre-Trigger Mode - public const ushort P9116_TRGMOD_MIDL = 0x40; //Middle Trigger Mode - public const ushort P9116_AI_TrgPositive = 0x00; - public const ushort P9116_AI_TrgNegative = 0x80; - public const ushort P9116_AI_ExtTimeBase = 0x100; - public const ushort P9116_AI_IntTimeBase = 0x000; - public const ushort P9116_AI_DlyInSamples = 0x200; - public const ushort P9116_AI_DlyInTimebase = 0x000; - public const ushort P9116_AI_ReTrigEn = 0x400; - public const ushort P9116_AI_MCounterEn = 0x800; - public const ushort P9116_AI_SoftPolling = 0x0000; - public const ushort P9116_AI_INT = 0x1000; - public const ushort P9116_AI_DMA = 0x2000; - -//-------- Constants for PCI-9812 -------------------- -//Trigger Mode - public const ushort P9812_TRGMOD_SOFT = 0x00; //Software Trigger Mode - public const ushort P9812_TRGMOD_POST = 0x01; //Post Trigger Mode - public const ushort P9812_TRGMOD_PRE = 0x02; //Pre-Trigger Mode - public const ushort P9812_TRGMOD_DELAY = 0x03; //Delay Trigger Mode - public const ushort P9812_TRGMOD_MIDL = 0x04; //Middle Trigger Mode - - public const ushort P9812_AIEvent_Manual = 0x08; //Middle Trigger Mode - - //Trigger Source - public const ushort P9812_TRGSRC_CH0 = 0x00; //trigger source --CH0 - public const ushort P9812_TRGSRC_CH1 = 0x08; //trigger source --CH1 - public const ushort P9812_TRGSRC_CH2 = 0x10; //trigger source --CH2 - public const ushort P9812_TRGSRC_CH3 = 0x18; //trigger source --CH3 - public const ushort P9812_TRGSRC_EXT_DIG = 0x20; //External Digital Trigger - -//Trigger Polarity - public const ushort P9812_TRGSLP_POS = 0x00; //Positive slope trigger - public const ushort P9812_TRGSLP_NEG = 0x40; //Negative slope trigger - -//Frequency Selection - public const ushort P9812_AD2_GT_PCI = 0x80; //Freq. of A/D clock > PCI clock freq. - public const ushort P9812_AD2_LT_PCI = 0x00; //Freq. of A/D clock < PCI clock freq. - -//Clock Source - public const ushort P9812_CLKSRC_INT = 0x000; //Internal clock - public const ushort P9812_CLKSRC_EXT_SIN = 0x100; //External SIN wave clock - public const ushort P9812_CLKSRC_EXT_DIG = 0x200; //External Square wave clock - -/*-------- Constants for PCI-9221 --------------------*/ -//Input Type - public const ushort P9221_AI_SingEnded = 0x0; - public const ushort P9221_AI_NonRef_SingEnded = 0x1; - public const ushort P9221_AI_Differential = 0x2; - -//Trigger Mode - public const ushort P9221_TRGMOD_SOFT = 0x00; - public const ushort P9221_TRGMOD_ExtD = 0x08; -//Trigger Source - public const ushort P9221_TRGSRC_GPI0 = 0x00; - public const ushort P9221_TRGSRC_GPI1 = 0x01; - public const ushort P9221_TRGSRC_GPI2 = 0x02; - public const ushort P9221_TRGSRC_GPI3 = 0x03; - public const ushort P9221_TRGSRC_GPI4 = 0x04; - public const ushort P9221_TRGSRC_GPI5 = 0x05; - public const ushort P9221_TRGSRC_GPI6 = 0x06; - public const ushort P9221_TRGSRC_GPI7 = 0x07; - -//Trigger Polarity - public const ushort P9221_AI_TrgPositive = 0; - public const ushort P9221_AI_TrgNegative = 0x10; - -//TimeBase Mode - public const ushort P9221_AI_IntTimeBase = 0x00; - public const ushort P9221_AI_ExtTimeBase = 0x80; -//TimeBase Source - public const ushort P9221_TimeBaseSRC_GPI0 = 0x00; - public const ushort P9221_TimeBaseSRC_GPI1 = 0x10; - public const ushort P9221_TimeBaseSRC_GPI2 = 0x20; - public const ushort P9221_TimeBaseSRC_GPI3 = 0x30; - public const ushort P9221_TimeBaseSRC_GPI4 = 0x40; - public const ushort P9221_TimeBaseSRC_GPI5 = 0x50; - public const ushort P9221_TimeBaseSRC_GPI6 = 0x60; - public const ushort P9221_TimeBaseSRC_GPI7 = 0x70; - -//DAQ Event type for the event message - public const ushort AIEnd = 0; - public const ushort AOEnd = 0; - public const ushort DIEnd = 0; - public const ushort DOEnd = 0; - public const ushort DBEvent = 1; - public const ushort TrigEvent = 2; - -//EMG shdn ctrl code - public const ushort EMGSHDN_OFF = 0; //off - public const ushort EMGSHDN_ON = 1; //on - public const ushort EMGSHDN_RECOVERY = 2; //recovery - -//Hot Reset Hold ctrl code - public const ushort HRH_OFF = 0; //off - public const ushort HRH_ON = 1; //on - -//COS Counter OP - public const ushort COS_COUNTER_RESET = 0; - public const ushort COS_COUNTER_SETUP = 1; - public const ushort COS_COUNTER_START = 2; - public const ushort COS_COUNTER_STOP = 3; - public const ushort COS_COUNTER_READ = 4; - -//-------- Timer/Counter ----------------------------- -//Counter Mode (8254) - public const ushort TOGGLE_OUTPUT = 0; //Toggle output from low to high on terminal count - public const ushort PROG_ONE_SHOT = 1; //Programmable one-shot - public const ushort RATE_GENERATOR = 2; //Rate generator - public const ushort SQ_WAVE_RATE_GENERATOR = 3; //Square wave rate generator - public const ushort SOFT_TRIG = 4; //Software-triggered strobe - public const ushort HARD_TRIG = 5; //Hardware-triggered strobe - -//General Purpose Timer/Counter -//Counter Mode - public const ushort General_Counter = 0x00; //general counter - public const ushort Pulse_Generation = 0x01; //pulse generation -//GPTC clock source - public const ushort GPTC_CLKSRC_EXT = 0x08; - public const ushort GPTC_CLKSRC_INT = 0x00; - public const ushort GPTC_GATESRC_EXT = 0x10; - public const ushort GPTC_GATESRC_INT = 0x00; - public const ushort GPTC_UPDOWN_SELECT_EXT = 0x20; - public const ushort GPTC_UPDOWN_SELECT_SOFT = 0x00; - public const ushort GPTC_UP_CTR = 0x40; - public const ushort GPTC_DOWN_CTR = 0x00; - public const ushort GPTC_ENABLE = 0x80; - public const ushort GPTC_DISABLE = 0x00; - -//General Purpose Timer/Counter for 9221 -//Counter Mode - public const ushort SimpleGatedEventCNT = 0x01; - public const ushort SinglePeriodMSR = 0x02; - public const ushort SinglePulseWidthMSR = 0x03; - public const ushort SingleGatedPulseGen = 0x04; - public const ushort SingleTrigPulseGen = 0x05; - public const ushort RetrigSinglePulseGen = 0x06; - public const ushort SingleTrigContPulseGen = 0x07; - public const ushort ContGatedPulseGen = 0x08; - public const ushort EdgeSeparationMSR = 0x09; - public const ushort SingleTrigContPulseGenPWM = 0x0a; - public const ushort ContGatedPulseGenPWM = 0x0b; - public const ushort CW_CCW_Encoder = 0x0c; - public const ushort x1_AB_Phase_Encoder = 0x0d; - public const ushort x2_AB_Phase_Encoder = 0x0e; - public const ushort x4_AB_Phase_Encoder = 0x0f; - public const ushort Phase_Z = 0x10; - -//GPTC clock source - public const ushort GPTC_CLK_SRC_Ext = 0x01; - public const ushort GPTC_CLK_SRC_Int = 0x00; - public const ushort GPTC_GATE_SRC_Ext = 0x02; - public const ushort GPTC_GATE_SRC_Int = 0x00; - public const ushort GPTC_UPDOWN_Ext = 0x04; - public const ushort GPTC_UPDOWN_Int = 0x00; - -//GPTC clock polarity - public const ushort GPTC_CLKSRC_LACTIVE = 0x01; - public const ushort GPTC_CLKSRC_HACTIVE = 0x00; - public const ushort GPTC_GATE_LACTIVE = 0x02; - public const ushort GPTC_GATE_HACTIVE = 0x00; - public const ushort GPTC_UPDOWN_LACTIVE = 0x04; - public const ushort GPTC_UPDOWN_HACTIVE = 0x00; - public const ushort GPTC_OUTPUT_LACTIVE = 0x08; - public const ushort GPTC_OUTPUT_HACTIVE = 0x00; - - public const ushort IntGate = 0x0; - public const ushort IntUpDnCTR = 0x1; - public const ushort IntENABLE = 0x2; - - public const ushort GPTC_EZ0_ClearPhase0 = 0x0; - public const ushort GPTC_EZ0_ClearPhase1 = 0x1; - public const ushort GPTC_EZ0_ClearPhase2 = 0x2; - public const ushort GPTC_EZ0_ClearPhase3 = 0x3; - - public const ushort GPTC_EZ0_ClearMode0 = 0x0; - public const ushort GPTC_EZ0_ClearMode1 = 0x1; - public const ushort GPTC_EZ0_ClearMode2 = 0x2; - public const ushort GPTC_EZ0_clearMode3 = 0x3; - -//Watchdog Timer -//Counter action - public const ushort WDT_DISARM = 0; - public const ushort WDT_ARM = 1; - public const ushort WDT_RESTART = 2; - -//Pattern ID - public const ushort INIT_PTN = 0; - public const ushort EMGSHDN_PTN = 1; - -//Pattern ID for 7442 - public const ushort INIT_PTN_CH0 = 0; - public const ushort INIT_PTN_CH1 = 1; - public const ushort INIT_PTN_CH2 = 2; //only for 7444 - public const ushort INIT_PTN_CH3 = 3; //only for 7444 - public const ushort SAFTOUT_PTN_CH0 = 4; - public const ushort SAFTOUT_PTN_CH1 = 5; - public const ushort SAFTOUT_PTN_CH2 = 6; //only for 7444 - public const ushort SAFTOUT_PTN_CH3 = 7; //only for 7444 - -//16-bit binary or 4-decade BCD counter - public const ushort BIN = 0; - public const ushort BCD = 1; - -/*EEPROM*/ - public const ushort EEPROM_DEFAULT_BANK = 0; - public const ushort EEPROM_USER_BANK1 = 1; - -//----------- 9524 Const ----------------- -//AI Interrupt - public const ushort P9524_INT_LC_EOC = 2; - public const ushort P9524_INT_GP_EOC = 3; -//DSP Constants - public const ushort P9524_SPIKE_REJ_DISABLE = 0; - public const ushort P9524_SPIKE_REJ_ENABLE = 1; -//AI Transfer Mode - public const ushort P9524_AI_XFER_POLL = 0; - public const ushort P9524_AI_XFER_DMA = 1; -//AI Poll all channels - public const ushort P9524_AI_POLL_ALLCHANNELS = 8; - public const ushort P9524_AI_POLLSCANS_CH0_CH3 = 8; - public const ushort P9524_AI_POLLSCANS_CH0_CH2 = 9; - public const ushort P9524_AI_POLLSCANS_CH0_CH1 = 10; -//AI Transfer Speed - public const ushort P9524_ADC_30K_SPS = 0; - public const ushort P9524_ADC_15K_SPS = 1; - public const ushort P9524_ADC_7K5_SPS = 2; - public const ushort P9524_ADC_3K75_SPS = 3; - public const ushort P9524_ADC_2K_SPS = 4; - public const ushort P9524_ADC_1K_SPS = 5; - public const ushort P9524_ADC_500_SPS = 6; - public const ushort P9524_ADC_100_SPS = 7; - public const ushort P9524_ADC_60_SPS = 8; - public const ushort P9524_ADC_50_SPS = 9; - public const ushort P9524_ADC_30_SPS = 10; - public const ushort P9524_ADC_25_SPS = 11; - public const ushort P9524_ADC_15_SPS = 12; - public const ushort P9524_ADC_10_SPS = 13; - public const ushort P9524_ADC_5_SPS = 14; - public const ushort P9524_ADC_2R5_SPS = 15; -//AI Configuration Mode - public const ushort P9524_VEX_Range_2R5V = 0x00; - public const ushort P9524_VEX_Range_10V = 0x01; - public const ushort P9524_VEX_Sence_Local = 0x00; - public const ushort P9524_VEX_Sence_Remote = 0x02; - public const ushort P9524_AI_AZMode = 0x04; - public const ushort P9524_AI_BufAutoReset = 0x08; - public const ushort P9524_AI_EnEOCInt = 0x10; -//AI Trigger configuration - public const ushort P9524_TRGMOD_POST = 0; - public const ushort P9524_TRGSRC_SOFT = 0; - public const ushort P9524_TRGSRC_ExtD = 1; - public const ushort P9524_TRGSRC_SSI = 2; - public const ushort P9524_TRGSRC_QD0 = 3; - public const ushort P9524_TRGSRC_PG0 = 4; - public const ushort P9524_AI_TrgPositive = 0; - public const ushort P9524_AI_TrgNegative = 8; -//AI Group - public const ushort P9524_AI_LC_Group = 0; - public const ushort P9524_AI_GP_Group = 1; -//AI Channel - public const ushort P9524_AI_LC_CH0 = 0; - public const ushort P9524_AI_LC_CH1 = 1; - public const ushort P9524_AI_LC_CH2 = 2; - public const ushort P9524_AI_LC_CH3 = 3; - public const ushort P9524_AI_GP_CH0 = 4; - public const ushort P9524_AI_GP_CH1 = 5; - public const ushort P9524_AI_GP_CH2 = 6; - public const ushort P9524_AI_GP_CH3 = 7; - -//Counter Number - public const ushort P9524_CTR_PG0 = 0; - public const ushort P9524_CTR_PG1 = 1; - public const ushort P9524_CTR_PG2 = 2; - public const ushort P9524_CTR_QD0 = 3; - public const ushort P9524_CTR_QD1 = 4; - public const ushort P9524_CTR_QD2 = 5; - public const ushort P9524_CTR_INTCOUNTER = 6; -//Counter Mode - public const ushort P9524_PulseGen_OUTDIR_N = 0; - public const ushort P9524_PulseGen_OUTDIR_R = 1; - public const ushort P9524_PulseGen_CW = 0; - public const ushort P9524_PulseGen_CCW = 2; - public const ushort P9524_x4_AB_Phase_Decoder = 3; - public const ushort P9524_Timer = 4; -//Counter Op - public const ushort P9524_CTR_Enable = 0; -//Event Mode - public const ushort P9524_Event_Timer = 0; - -//AO - public const ushort P9524_AO_CH0_1 = 0; - - -//------Constants for PCI-6202------ - public const ushort P6202_ISO0 = 0; - public const ushort P6202_TTL0 = 1; - public const ushort P6202_GPTC0 = 0; - public const ushort P6202_GPTC1 = 1; - public const ushort P6202_ENCODER0 = 2; - public const ushort P6202_ENCODER1 = 3; - public const ushort P6202_ENCODER2 = 4; - -//DA control constant - public const ushort P6202_DA_WRSRC_Int = 0; - public const ushort P6202_DA_WRSRC_AFI0 = 1; - public const ushort P6202_DA_WRSRC_SSI = 2; - public const ushort P6202_DA_WRSRC_AFI1 = 3; - -//DA trigger constant - public const ushort P6202_DA_TRGSRC_SOFT = 0x00; - public const ushort P6202_DA_TRGSRC_AFI0 = 0x01; - public const ushort P6202_DA_TRSRC_SSI = 0x02; - public const ushort P6202_DA_TRGSRC_AFI1 = 0x03; - public const ushort P6202_DA_TRGMOD_POST = 0x00; - public const ushort P6202_DA_TRGMOD_DELAY = 0x04; - public const ushort P6202_DA_ReTrigEn = 0x20; - public const ushort P6202_DA_DLY2En = 0x100; - -//SSI signal code - public const ushort P6202_SSI_DA_CONV = 0x04; - public const ushort P6202_SSI_DA_TRIG = 0x40; - -//Encoder constant - public const ushort P6202_EVT_TYPE_EPT0 = 0x00; - public const ushort P6202_EVT_TYPE_EPT1 = 0x01; - public const ushort P6202_EVT_TYPE_EPT2 = 0x02; - public const ushort P6202_EVT_TYPE_EZC0 = 0x03; - public const ushort P6202_EVT_TYPE_EZC1 = 0x04; - public const ushort P6202_EVT_TYPE_EZC2 = 0x05; - - public const ushort P6202_EVT_MOD_EPT = 0x00; - - public const ushort P6202_EPT_PULWIDTH_200us = 0x00; - public const ushort P6202_EPT_PULWIDTH_2ms = 0x01; - public const ushort P6202_EPT_PULWIDTH_20ms = 0x02; - public const ushort P6202_EPT_PULWIDTH_200ms = 0x03; - - public const ushort P6202_EPT_TRGOUT_CALLBACK = 0x04; - public const ushort P6202_EPT_TRGOUT_AFI = 0x08; - - public const ushort P6202_ENCODER0_LDATA = 0x05; - public const ushort P6202_ENCODER1_LDATA = 0x06; - public const ushort P6202_ENCODER2_LDATA = 0x07; - - /*------------------------------------*/ - /* Constants for PCI-922x */ - /*------------------------------------*/ - /*------------------*/ - /* AI Constants */ - /*------------------*/ - /*Input Type*/ - public const ushort P922x_AI_SingEnded = 0x00; - public const ushort P922x_AI_NonRef_SingEnded = 0x01; - public const ushort P922x_AI_Differential = 0x02; - /*Conversion Source*/ - public const ushort P922x_AI_CONVSRC_INT = 0x00; - public const ushort P922x_AI_CONVSRC_GPI0 = 0x10; - public const ushort P922x_AI_CONVSRC_GPI1 = 0x20; - public const ushort P922x_AI_CONVSRC_GPI2 = 0x30; - public const ushort P922x_AI_CONVSRC_GPI3 = 0x40; - public const ushort P922x_AI_CONVSRC_GPI4 = 0x50; - public const ushort P922x_AI_CONVSRC_GPI5 = 0x60; - public const ushort P922x_AI_CONVSRC_GPI6 = 0x70; - public const ushort P922x_AI_CONVSRC_GPI7 = 0x80; - public const ushort P922x_AI_CONVSRC_SSI1 = 0x90; - public const ushort P922x_AI_CONVSRC_SSI = 0x90; - /*Trigger Mode*/ - public const ushort P922x_AI_TRGMOD_POST = 0x00; - public const ushort P922x_AI_TRGMOD_GATED = 0x01; - /*Trigger Source*/ - public const ushort P922x_AI_TRGSRC_SOFT = 0x00; - public const ushort P922x_AI_TRGSRC_GPI0 = 0x10; - public const ushort P922x_AI_TRGSRC_GPI1 = 0x20; - public const ushort P922x_AI_TRGSRC_GPI2 = 0x30; - public const ushort P922x_AI_TRGSRC_GPI3 = 0x40; - public const ushort P922x_AI_TRGSRC_GPI4 = 0x50; - public const ushort P922x_AI_TRGSRC_GPI5 = 0x60; - public const ushort P922x_AI_TRGSRC_GPI6 = 0x70; - public const ushort P922x_AI_TRGSRC_GPI7 = 0x80; - public const ushort P922x_AI_TRGSRC_SSI5 = 0x90; - public const ushort P922x_AI_TRGSRC_SSI = 0x90; - /*Trigger Polarity*/ - public const ushort P922x_AI_TrgPositive = 0x000; - public const ushort P922x_AI_TrgNegative = 0x100; - /*ReTrigger*/ - public const ushort P922x_AI_EnReTigger = 0x200; - - /*------------------*/ - /* AO Constants */ - /*------------------*/ - /*Conversion Source*/ - public const ushort P922x_AO_CONVSRC_INT = 0x00; - public const ushort P922x_AO_CONVSRC_GPI0 = 0x01; - public const ushort P922x_AO_CONVSRC_GPI1 = 0x02; - public const ushort P922x_AO_CONVSRC_GPI2 = 0x03; - public const ushort P922x_AO_CONVSRC_GPI3 = 0x04; - public const ushort P922x_AO_CONVSRC_GPI4 = 0x05; - public const ushort P922x_AO_CONVSRC_GPI5 = 0x06; - public const ushort P922x_AO_CONVSRC_GPI6 = 0x07; - public const ushort P922x_AO_CONVSRC_GPI7 = 0x08; - public const ushort P922x_AO_CONVSRC_SSI2 = 0x09; - public const ushort P922x_AO_CONVSRC_SSI = 0x09; - /*Trigger Mode*/ - public const ushort P922x_AO_TRGMOD_POST = 0x00; - public const ushort P922x_AO_TRGMOD_DELAY = 0x01; - /*Trigger Source*/ - public const ushort P922x_AO_TRGSRC_SOFT = 0x00; - public const ushort P922x_AO_TRGSRC_GPI0 = 0x10; - public const ushort P922x_AO_TRGSRC_GPI1 = 0x20; - public const ushort P922x_AO_TRGSRC_GPI2 = 0x30; - public const ushort P922x_AO_TRGSRC_GPI3 = 0x40; - public const ushort P922x_AO_TRGSRC_GPI4 = 0x50; - public const ushort P922x_AO_TRGSRC_GPI5 = 0x60; - public const ushort P922x_AO_TRGSRC_GPI6 = 0x70; - public const ushort P922x_AO_TRGSRC_GPI7 = 0x80; - public const ushort P922x_AO_TRGSRC_SSI6 = 0x90; - public const ushort P922x_AO_TRGSRC_SSI = 0x90; - /*Trigger Polarity*/ - public const ushort P922x_AO_TrgPositive = 0x000; - public const ushort P922x_AO_TrgNegative = 0x100; - /*Retrigger*/ - public const ushort P922x_AO_EnReTigger = 0x200; - /*Delay 2*/ - public const ushort P922x_AO_EnDelay2 = 0x400; - - /*------------------*/ - /* DI Constants */ - /*------------------*/ - /*Conversion Source*/ - public const ushort P922x_DI_CONVSRC_INT = 0x00; - public const ushort P922x_DI_CONVSRC_GPI0 = 0x01; - public const ushort P922x_DI_CONVSRC_GPI1 = 0x02; - public const ushort P922x_DI_CONVSRC_GPI2 = 0x03; - public const ushort P922x_DI_CONVSRC_GPI3 = 0x04; - public const ushort P922x_DI_CONVSRC_GPI4 = 0x05; - public const ushort P922x_DI_CONVSRC_GPI5 = 0x06; - public const ushort P922x_DI_CONVSRC_GPI6 = 0x07; - public const ushort P922x_DI_CONVSRC_GPI7 = 0x08; - public const ushort P922x_DI_CONVSRC_ADCONV = 0x09; - public const ushort P922x_DI_CONVSRC_DACONV = 0x0A; - /*Trigger Mode*/ - public const ushort P922x_DI_TRGMOD_POST = 0x00; - /*Trigger Source*/ - public const ushort P922x_DI_TRGSRC_SOFT = 0x00; - public const ushort P922x_DI_TRGSRC_GPI0 = 0x10; - public const ushort P922x_DI_TRGSRC_GPI1 = 0x20; - public const ushort P922x_DI_TRGSRC_GPI2 = 0x30; - public const ushort P922x_DI_TRGSRC_GPI3 = 0x40; - public const ushort P922x_DI_TRGSRC_GPI4 = 0x50; - public const ushort P922x_DI_TRGSRC_GPI5 = 0x60; - public const ushort P922x_DI_TRGSRC_GPI6 = 0x70; - public const ushort P922x_DI_TRGSRC_GPI7 = 0x80; - /*Trigger Polarity*/ - public const ushort P922x_DI_TrgPositive = 0x000; - public const ushort P922x_DI_TrgNegative = 0x100; - /*ReTrigger*/ - public const ushort P922x_DI_EnReTigger = 0x200; - - /*------------------*/ - /* DO Constants */ - /*------------------*/ - /*Conversion Source*/ - public const ushort P922x_DO_CONVSRC_INT = 0x00; - public const ushort P922x_DO_CONVSRC_GPI0 = 0x01; - public const ushort P922x_DO_CONVSRC_GPI1 = 0x02; - public const ushort P922x_DO_CONVSRC_GPI2 = 0x03; - public const ushort P922x_DO_CONVSRC_GPI3 = 0x04; - public const ushort P922x_DO_CONVSRC_GPI4 = 0x05; - public const ushort P922x_DO_CONVSRC_GPI5 = 0x06; - public const ushort P922x_DO_CONVSRC_GPI6 = 0x07; - public const ushort P922x_DO_CONVSRC_GPI7 = 0x08; - public const ushort P922x_DO_CONVSRC_ADCONV = 0x09; - public const ushort P922x_DO_CONVSRC_DACONV = 0x0A; - /*Trigger Mode*/ - public const ushort P922x_DO_TRGMOD_POST = 0x00; - public const ushort P922x_DO_TRGMOD_DELAY = 0x01; - /*Trigger Source*/ - public const ushort P922x_DO_TRGSRC_SOFT = 0x00; - public const ushort P922x_DO_TRGSRC_GPI0 = 0x10; - public const ushort P922x_DO_TRGSRC_GPI1 = 0x20; - public const ushort P922x_DO_TRGSRC_GPI2 = 0x30; - public const ushort P922x_DO_TRGSRC_GPI3 = 0x40; - public const ushort P922x_DO_TRGSRC_GPI4 = 0x50; - public const ushort P922x_DO_TRGSRC_GPI5 = 0x60; - public const ushort P922x_DO_TRGSRC_GPI6 = 0x70; - public const ushort P922x_DO_TRGSRC_GPI7 = 0x80; - /*Trigger Polarity*/ - public const ushort P922x_DO_TrgPositive = 0x000; - public const ushort P922x_DO_TrgNegative = 0x100; - /*Retrigger*/ - public const ushort P922x_DO_EnReTigger = 0x200; - - /*--------------------------*/ - /* Encoder/GPTC Constants */ - /*--------------------------*/ - public const ushort P922x_GPTC0 = 0x00; - public const ushort P922x_GPTC1 = 0x01; - public const ushort P922x_GPTC2 = 0x02; - public const ushort P922x_GPTC3 = 0x03; - public const ushort P922x_ENCODER0 = 0x04; - public const ushort P922x_ENCODER1 = 0x05; - /*Encoder Setting Event Mode*/ - public const ushort P922x_EVT_MOD_EPT = 0x00; - /*Encoder Setting Event Control*/ - public const ushort P922x_EPT_PULWIDTH_200us = 0x00; - public const ushort P922x_EPT_PULWIDTH_2ms = 0x01; - public const ushort P922x_EPT_PULWIDTH_20ms = 0x02; - public const ushort P922x_EPT_PULWIDTH_200ms = 0x03; - public const ushort P922x_EPT_TRGOUT_GPO = 0x04; - public const ushort P922x_EPT_TRGOUT_CALLBACK = 0x08; - /*Event Type*/ - public const ushort P922x_EVT_TYPE_EPT0 = 0x00; - public const ushort P922x_EVT_TYPE_EPT1 = 0x01; - - /*SSI signal code*/ - public const ushort P922x_SSI_AI_CONV = 0x02; - public const ushort P922x_SSI_AI_TRIG = 0x20; - public const ushort P922x_SSI_AO_CONV = 0x04; - public const ushort P922x_SSI_AO_TRIG = 0x40; - - /*------------------------------------*/ - /* Constants for PCIe-7350 */ - /*------------------------------------*/ - public const ushort P7350_PortDIO = 0; - public const ushort P7350_PortAFI = 1; - /*DIO Port*/ - public const ushort P7350_DIO_A = 0; - public const ushort P7350_DIO_B = 1; - public const ushort P7350_DIO_C = 2; - public const ushort P7350_DIO_D = 3; - /*AFI Port*/ - public const ushort P7350_AFI_0 = 0; - public const ushort P7350_AFI_1 = 1; - public const ushort P7350_AFI_2 = 2; - public const ushort P7350_AFI_3 = 3; - public const ushort P7350_AFI_4 = 4; - public const ushort P7350_AFI_5 = 5; - public const ushort P7350_AFI_6 = 6; - public const ushort P7350_AFI_7 = 7; - /*AFI Mode*/ - public const ushort P7350_AFI_DIStartTrig = 0; - public const ushort P7350_AFI_DOStartTrig = 1; - public const ushort P7350_AFI_DIPauseTrig = 2; - public const ushort P7350_AFI_DOPauseTrig = 3; - public const ushort P7350_AFI_DISWTrigOut = 4; - public const ushort P7350_AFI_DOSWTrigOut = 5; - public const ushort P7350_AFI_COSTrigOut = 6; - public const ushort P7350_AFI_PMTrigOut = 7; - public const ushort P7350_AFI_HSDIREQ = 8; - public const ushort P7350_AFI_HSDIACK = 9; - public const ushort P7350_AFI_HSDITRIG = 10; - public const ushort P7350_AFI_HSDOREQ = 11; - public const ushort P7350_AFI_HSDOACK = 12; - public const ushort P7350_AFI_HSDOTRIG = 13; - public const ushort P7350_AFI_SPI = 14; - public const ushort P7350_AFI_I2C = 15; - public const ushort P7350_POLL_DI = 16; - public const ushort P7350_POLL_DO = 17; - /*Operation Mode*/ - public const ushort P7350_FreeRun = 0; - public const ushort P7350_HandShake = 1; - public const ushort P7350_BurstHandShake = 2; - /*Trigger Status*/ - public const ushort P7350_WAIT_NO = 0; - public const ushort P7350_WAIT_EXTTRG = 1; - public const ushort P7350_WAIT_SOFTTRG = 2; - /*Sampled Clock*/ - public const ushort P7350_IntSampledCLK = 0x00; - public const ushort P7350_ExtSampledCLK = 0x01; - /*Sampled Clock Edge*/ - public const ushort P7350_SampledCLK_R = 0x00; - public const ushort P7350_SampledCLK_F = 0x02; - /*Enable Export Sample Clock*/ - public const ushort P7350_EnExpSampledCLK = 0x04; - /*Trigger Configuration*/ - public const ushort P7350_EnPauseTrig = 0x01; - public const ushort P7350_EnSoftTrigOut = 0x02; - /*HandShake & Trigger Polarity*/ - public const ushort P7350_DIREQ_POS = 0x00; - public const ushort P7350_DIREQ_NEG = 0x01; - public const ushort P7350_DIACK_POS = 0x00; - public const ushort P7350_DIACK_NEG = 0x02; - public const ushort P7350_DITRIG_POS = 0x00; - public const ushort P7350_DITRIG_NEG = 0x04; - public const ushort P7350_DIStartTrig_POS = 0x00; - public const ushort P7350_DIStartTrig_NEG = 0x08; - public const ushort P7350_DIPauseTrig_POS = 0x00; - public const ushort P7350_DIPauseTrig_NEG = 0x10; - public const ushort P7350_DOREQ_POS = 0x00; - public const ushort P7350_DOREQ_NEG = 0x01; - public const ushort P7350_DOACK_POS = 0x00; - public const ushort P7350_DOACK_NEG = 0x02; - public const ushort P7350_DOTRIG_POS = 0x00; - public const ushort P7350_DOTRIG_NEG = 0x04; - public const ushort P7350_DOStartTrig_POS = 0x00; - public const ushort P7350_DOStartTrig_NEG = 0x08; - public const ushort P7350_DOPauseTrig_POS = 0x00; - public const ushort P7350_DOPauseTrig_NEG = 0x10; - - /*External Sampled Clock Source*/ - public const ushort P7350_ECLK_IN = 8; - /*Export Sampled Clock*/ - public const ushort P7350_ECLK_OUT = 8; - /*Enable Dynamic Delay Adjust*/ - public const ushort P7350_DisDDA = 0x0; - public const ushort P7350_EnDDA = 0x1; - /*Dynamic Delay Adjust Mode*/ - public const ushort P7350_DDA_Lag = 0x0; - public const ushort P7350_DDA_Lead = 0x2; - /*Dynamic Delay Adjust Step*/ - public const ushort P7350_DDA_130PS = 0; - public const ushort P7350_DDA_260PS = 1; - public const ushort P7350_DDA_390PS = 2; - public const ushort P7350_DDA_520PS = 3; - public const ushort P7350_DDA_650PS = 4; - public const ushort P7350_DDA_780PS = 5; - public const ushort P7350_DDA_910PS = 6; - public const ushort P7350_DDA_1R04NS = 7; - /*Enable Dynamic Phase Adjust*/ - public const ushort P7350_DisDPA = 0x0; - public const ushort P7350_EnDPA = 0x1; - /*Dynamic Delay Adjust Degree*/ - public const ushort P7350_DPA_0DG = 0; - public const ushort P7350_DPA_22R5DG = 1; - public const ushort P7350_DPA_45DG = 2; - public const ushort P7350_DPA_67R5DG = 3; - public const ushort P7350_DPA_90DG = 4; - public const ushort P7350_DPA_112R5DG = 5; - public const ushort P7350_DPA_135DG = 6; - public const ushort P7350_DPA_157R5DG = 7; - public const ushort P7350_DPA_180DG = 8; - public const ushort P7350_DPA_202R5DG = 9; - public const ushort P7350_DPA_225DG = 10; - public const ushort P7350_DPA_247R5DG = 11; - public const ushort P7350_DPA_270DG = 12; - public const ushort P7350_DPA_292R5DG = 13; - public const ushort P7350_DPA_315DG = 14; - public const ushort P7350_DPA_337R5DG = 15; - - /*------------------------------------*/ - /* Constants for PCIe-7360 */ - /*------------------------------------*/ - public const ushort P7360_PortDIO = 0; - public const ushort P7360_PortAFI = 1; - public const ushort P7360_PortECLK = 2; - /*DIO Port*/ - public const ushort P7360_DIO_A = 0; - public const ushort P7360_DIO_B = 1; - public const ushort P7360_DIO_C = 2; - public const ushort P7360_DIO_D = 3; - /*AFI Port*/ - public const ushort P7360_AFI_0 = 0; - public const ushort P7360_AFI_1 = 1; - public const ushort P7360_AFI_2 = 2; - public const ushort P7360_AFI_3 = 3; - public const ushort P7360_AFI_4 = 4; - public const ushort P7360_AFI_5 = 5; - public const ushort P7360_AFI_6 = 6; - public const ushort P7360_AFI_7 = 7; - /*AFI Mode*/ - public const ushort P7360_AFI_DIStartTrig = 0; - public const ushort P7360_AFI_DOStartTrig = 1; - public const ushort P7360_AFI_DIPauseTrig = 2; - public const ushort P7360_AFI_DOPauseTrig = 3; - public const ushort P7360_AFI_DISWTrigOut = 4; - public const ushort P7360_AFI_DOSWTrigOut = 5; - public const ushort P7360_AFI_COSTrigOut = 6; - public const ushort P7360_AFI_PMTrigOut = 7; - public const ushort P7360_AFI_HSDIREQ = 8; - public const ushort P7360_AFI_HSDIACK = 9; - public const ushort P7360_AFI_HSDITRIG = 10; - public const ushort P7360_AFI_HSDOREQ = 11; - public const ushort P7360_AFI_HSDOACK = 12; - public const ushort P7360_AFI_HSDOTRIG = 13; - public const ushort P7360_AFI_SPI = 14; - public const ushort P7360_AFI_I2C = 15; - public const ushort P7360_POLL_DI = 16; - public const ushort P7360_POLL_DO = 17; - /*Operation Mode*/ - public const ushort P7360_FreeRun = 0; - public const ushort P7360_HandShake = 1; - public const ushort P7360_BurstHandShake = 2; - /*Trigger Status*/ - public const ushort P7360_WAIT_NO = 0; - public const ushort P7360_WAIT_EXTTRG = 1; - public const ushort P7360_WAIT_SOFTTRG = 2; - /*Sampled Clock*/ - public const ushort P7360_IntSampledCLK = 0x00; - public const ushort P7360_ExtSampledCLK = 0x01; - /*Sampled Clock Edge*/ - public const ushort P7360_SampledCLK_R = 0x00; - public const ushort P7360_SampledCLK_F = 0x02; - /*Enable Export Sample Clock*/ - public const ushort P7360_EnExpSampledCLK = 0x04; - /*Trigger Configuration*/ - public const ushort P7360_EnPauseTrig = 0x01; - public const ushort P7360_EnSoftTrigOut = 0x02; - /*HandShake & Trigger Polarity*/ - public const ushort P7360_DIREQ_POS = 0x00; - public const ushort P7360_DIREQ_NEG = 0x01; - public const ushort P7360_DIACK_POS = 0x00; - public const ushort P7360_DIACK_NEG = 0x02; - public const ushort P7360_DITRIG_POS = 0x00; - public const ushort P7360_DITRIG_NEG = 0x04; - public const ushort P7360_DIStartTrig_POS = 0x00; - public const ushort P7360_DIStartTrig_NEG = 0x08; - public const ushort P7360_DIPauseTrig_POS = 0x00; - public const ushort P7360_DIPauseTrig_NEG = 0x10; - public const ushort P7360_DOREQ_POS = 0x00; - public const ushort P7360_DOREQ_NEG = 0x01; - public const ushort P7360_DOACK_POS = 0x00; - public const ushort P7360_DOACK_NEG = 0x02; - public const ushort P7360_DOTRIG_POS = 0x00; - public const ushort P7360_DOTRIG_NEG = 0x04; - public const ushort P7360_DOStartTrig_POS = 0x00; - public const ushort P7360_DOStartTrig_NEG = 0x08; - public const ushort P7360_DOPauseTrig_POS = 0x00; - public const ushort P7360_DOPauseTrig_NEG = 0x10; - - /*External Sampled Clock Source*/ - public const ushort P7360_ECLK_IN = 8; - /*Export Sampled Clock*/ - public const ushort P7360_ECLK_OUT = 8; - /*Enable Dynamic Delay Adjust*/ - public const ushort P7360_DisDDA = 0x0; - public const ushort P7360_EnDDA = 0x1; - /*Dynamic Delay Adjust Mode*/ - public const ushort P7360_DDA_Lag = 0x0; - public const ushort P7360_DDA_Lead = 0x2; - /*Enable Dynamic Phase Adjust*/ - public const ushort P7360_DisDPA = 0x0; - public const ushort P7360_EnDPA = 0x1; - - /*------------------------------------*/ - /* Constants for I Squared C (I2C) */ - /*------------------------------------*/ - /*I2C Port*/ - public const ushort I2C_Port_A = 0; - /*I2C Control Operation*/ - public const ushort I2C_ENABLE = 0; - public const ushort I2C_STOP = 1; - - /*-------------------------------------------*/ - /* Constants for Serial Peripheral Interface */ - /*-------------------------------------------*/ - /*SPI Port*/ - public const ushort SPI_Port_A = 0; - /*SPI Clock Mode*/ - public const ushort SPI_CLK_L = 0x00; - public const ushort SPI_CLK_H = 0x01; - /*SPI TX Polarity*/ - public const ushort SPI_TX_POS = 0x00; - public const ushort SPI_TX_NEG = 0x02; - /*SPI RX Polarity*/ - public const ushort SPI_RX_POS = 0x00; - public const ushort SPI_RX_NEG = 0x04; - /*SPI Transferred Order*/ - public const ushort SPI_MSB = 0x00; - public const ushort SPI_LSB = 0x08; - /*SPI Control Operation*/ - public const ushort SPI_ENABLE = 0; - - /*------------------------------------*/ - /* Constants for Pattern Match */ - /*------------------------------------*/ - /*Pattern Match Channel Mode*/ - public const ushort PATMATCH_CHNDisable = 0; - public const ushort PATMATCH_CHNEnable = 1; - /*Pattern Match Channel Type*/ - public const ushort PATMATCH_Level_L = 0; - public const ushort PATMATCH_Level_H = 1; - public const ushort PATMATCH_Edge_R = 2; - public const ushort PATMATCH_Edge_F = 3; - /*Pattern Match Operation*/ - public const ushort PATMATCH_STOP = 0; - public const ushort PATMATCH_START = 1; - public const ushort PATMATCH_RESTART = 2; - - public const ushort RegBySlot = 0x8000; - - /*---------------------------------*/ - /* Constants for Access EEPROM */ - /*---------------------------------*/ - /*for PCI-7230/PCMe-7230*/ - public const ushort P7230_EEP_BLK_0 = 0 - public const ushort P7230_EEP_BLK_1 = 1 - -/*----------------------------------------------------------------------------*/ -/* PCIS-DASK Function prototype */ -/*----------------------------------------------------------------------------*/ - [DllImport("PCI-Dask.dll")] - public static extern short Register_Card (ushort CardType, ushort card_num); - [DllImport("PCI-Dask.dll")] - public static extern short Release_Card (ushort CardNumber); - [DllImport("PCI-Dask.dll")] - public static extern short GetActualRate (ushort CardNumber, double fSampleRate, out double fActualRate); - [DllImport("PCI-Dask.dll")] - public static extern short GetActualRate_9524 (ushort CardNumber, ushort Group, double SampleRate, out double ActualRate); - [DllImport("PCI-Dask.dll")] - public static extern short EMGShutDownControl (ushort CardNumber, byte ctrl); - [DllImport("PCI-Dask.dll")] - public static extern short EMGShutDownStatus (ushort CardNumber, out byte sts); - [DllImport("PCI-Dask.dll")] - public static extern short HotResetHoldControl (ushort CardNumber, byte enable); - [DllImport("PCI-Dask.dll")] - public static extern short HotResetHoldStatus (ushort CardNumber, out byte sts); - [DllImport("PCI-Dask.dll")] - public static extern short GetInitPattern (ushort CardNumber, byte patID, out uint pattern); - [DllImport("PCI-Dask.dll")] - public static extern short SetInitPattern (ushort CardNumber, byte patID, uint pattern); - [DllImport("PCI-Dask.dll")] - public static extern short IdentifyLED_Control (ushort CardNumber, byte ctrl); -/*---------------------------------------------------------------------------*/ - [DllImport("PCI-Dask.dll")] - public static extern short AI_9111_Config (ushort CardNumber, ushort TrigSource, ushort TrgMode, ushort TraceCnt); - [DllImport("PCI-Dask.dll")] - public static extern short AI_9112_Config (ushort CardNumber, ushort TrigSource); - [DllImport("PCI-Dask.dll")] - public static extern short AI_9113_Config (ushort CardNumber, ushort TrigSource); - [DllImport("PCI-Dask.dll")] - public static extern short AI_9114_Config (ushort CardNumber, ushort TrigSource); - [DllImport("PCI-Dask.dll")] - public static extern short AI_9114_PreTrigConfig (ushort CardNumber, ushort PreTrgEn, ushort TraceCnt); - [DllImport("PCI-Dask.dll")] - public static extern short AI_9116_Config (ushort CardNumber, ushort ConfigCtrl, ushort TrigCtrl, ushort PostCnt, ushort MCnt, ushort ReTrgCnt); - [DllImport("PCI-Dask.dll")] - public static extern short AI_9116_CounterInterval (ushort CardNumber, uint ScanIntrv, uint SampIntrv); - [DllImport("PCI-Dask.dll")] - public static extern short AI_9118_Config (ushort CardNumber, ushort ModeCtrl, ushort FunCtrl, ushort BurstCnt, ushort PostCnt); - [DllImport("PCI-Dask.dll")] - public static extern short AI_9221_Config (ushort CardNumber, ushort ConfigCtrl, ushort TrigCtrl, bool AutoResetBuf); - [DllImport("PCI-Dask.dll")] - public static extern short AI_9221_CounterInterval (ushort CardNumber, uint ScanIntrv, uint SampIntrv); - [DllImport("PCI-Dask.dll")] - public static extern short AI_9812_Config (ushort CardNumber, ushort TrgMode, ushort TrgSrc, ushort TrgPol, ushort ClkSel, ushort TrgLevel, ushort PostCnt); - [DllImport("PCI-Dask.dll")] - public static extern short AI_9812_SetDiv (ushort CardNumber, uint PacerVal); - [DllImport("PCI-Dask.dll")] - public static extern short AI_9524_Config (ushort CardNumber, ushort Group, ushort XMode, ushort ConfigCtrl, ushort TrigCtrl, ushort TrigValue); - [DllImport("PCI-Dask.dll")] - public static extern short AI_9524_PollConfig (ushort CardNumber, ushort Groupt, ushort PollChannel, ushort PollRange, ushort PollSpeed); - [DllImport("PCI-Dask.dll")] - public static extern short AI_9524_SetDSP (ushort CardNumber, ushort Channel, ushort Mode, ushort DFStage, ushort SPKRejThreshold); - [DllImport("PCI-Dask.dll")] - public static extern short AI_9524_GetEOCEvent (ushort CardNumber, ushort Group, out uint hEvent); - [DllImport("PCI-Dask.dll")] - public static extern short AI_9222_Config (ushort CardNumber, ushort ConfigCtrl, ushort TrigCtrl, uint ReTriggerCnt, bool AutoResetBuf); - [DllImport("PCI-Dask.dll")] - public static extern short AI_9222_CounterInterval (ushort CardNumber, uint ScanIntrv, uint SampIntrv); - [DllImport("PCI-Dask.dll")] - public static extern short AI_9223_Config (ushort CardNumber, ushort ConfigCtrl, ushort TrigCtrl, uint ReTriggerCnt, bool AutoResetBuf); - [DllImport("PCI-Dask.dll")] - public static extern short AI_9223_CounterInterval (ushort CardNumber, uint ScanIntrv, uint SampIntrv); - [DllImport("PCI-Dask.dll")] - public static extern short AI_922A_Config (ushort CardNumber, ushort ConfigCtrl, ushort TrigCtrl, uint ReTriggerCnt, bool AutoResetBuf); - [DllImport("PCI-Dask.dll")] - public static extern short AI_922A_CounterInterval (ushort CardNumber, uint ScanIntrv, uint SampIntrv); - [DllImport("PCI-Dask.dll")] - public static extern short AI_AsyncCheck (ushort CardNumber, out byte Stopped, out uint AccessCnt); - [DllImport("PCI-Dask.dll")] - public static extern short AI_AsyncClear (ushort CardNumber, out uint AccessCnt); - [DllImport("PCI-Dask.dll")] - public static extern short AI_AsyncDblBufferHalfReady (ushort CardNumber, out byte HalfReady, out byte StopFlag); - [DllImport("PCI-Dask.dll")] - public static extern short AI_AsyncDblBufferMode (ushort CardNumber, bool Enable); - [DllImport("PCI-Dask.dll")] - public static extern short AI_AsyncDblBufferTransfer (ushort CardNumber, ushort[] Buffer); - [DllImport("PCI-Dask.dll")] - public static extern short AI_AsyncDblBufferOverrun (ushort CardNumber, ushort op, out ushort overrunFlag); - [DllImport("PCI-Dask.dll")] - public static extern short AI_AsyncDblBufferHandled (ushort CardNumber); - [DllImport("PCI-Dask.dll")] - public static extern short AI_AsyncDblBufferToFile (ushort CardNumber); - [DllImport("PCI-Dask.dll")] - public static extern short AI_AsyncReTrigNextReady (ushort CardNumber, out bool Ready, out bool StopFlag, out ushort RdyTrigCnt); - [DllImport("PCI-Dask.dll")] - public static extern short AI_ContBufferSetup (ushort CardNumber, ushort[] Buffer, uint ReadCount, out ushort BufferId); - [DllImport("PCI-Dask.dll")] - public static extern short AI_ContBufferReset (ushort CardNumber); - [DllImport("PCI-Dask.dll")] - public static extern short AI_ContReadChannel (ushort CardNumber, ushort Channel, ushort AdRange, ushort[] Buffer, uint ReadCount, double SampleRate, ushort SyncMode); - [DllImport("PCI-Dask.dll")] - public static extern short AI_ContReadMultiChannels (ushort CardNumber, ushort NumChans, ushort[] Chans, ushort[] AdRanges, ushort[] Buffer, uint ReadCount, double SampleRate, ushort SyncMode); - [DllImport("PCI-Dask.dll")] - public static extern short AI_ContReadChannelToFile (ushort CardNumber, ushort Channel, ushort AdRange, string FileName, uint ReadCount, double SampleRate, ushort SyncMode); - [DllImport("PCI-Dask.dll")] - public static extern short AI_ContReadMultiChannelsToFile (ushort CardNumber, ushort NumChans, ushort[] Chans, ushort[] AdRanges, string[] FileName, uint ReadCount, double SampleRate, ushort SyncMode); - [DllImport("PCI-Dask.dll")] - public static extern short AI_ContScanChannels (ushort CardNumber, ushort Channel, ushort AdRange, ushort[] Buffer, uint ReadCount, double SampleRate, ushort SyncMode); - [DllImport("PCI-Dask.dll")] - public static extern short AI_ContScanChannelsToFile (ushort CardNumber, ushort Channel, ushort AdRange, string FileName, uint ReadCount, double SampleRate, ushort SyncMode); - [DllImport("PCI-Dask.dll")] - public static extern short AI_ContStatus (ushort CardNumber, out ushort Status); - [DllImport("PCI-Dask.dll")] - public static extern short AI_ContVScale (ushort CardNumber, ushort adRange, ushort[] readingArray, double[] voltageArray, int count); - [DllImport("PCI-Dask.dll")] - public static extern short AI_EventCallBack (ushort CardNumber, ushort mode, ushort EventType, MulticastDelegate callbackAddr); - [DllImport("PCI-Dask.dll")] - public static extern short AI_InitialMemoryAllocated (ushort CardNumber, out uint MemSize); - [DllImport("PCI-Dask.dll")] - public static extern short AI_ReadChannel (ushort CardNumber, ushort Channel, ushort AdRange, out ushort Value); - [DllImport("PCI-Dask.dll")] - public static extern short AI_ReadChannel32 (ushort CardNumber, ushort Channel, ushort AdRange, out uint Value); - [DllImport("PCI-Dask.dll")] - public static extern short AI_ReadMultiChannels (ushort CardNumber, ushort NumChans, ushort[] Chans, ushort[] AdRanges, ushort[] Buffer); - [DllImport("PCI-Dask.dll")] - public static extern short AI_ScanReadChannels (ushort CardNumber, ushort NumChans, ushort AdRanges, ushort[] Buffer); - [DllImport("PCI-Dask.dll")] - public static extern short AI_ScanReadChannels32 (ushort CardNumber, ushort Channel, ushort AdRange, uint[] Buffer); - [DllImport("PCI-Dask.dll")] - public static extern short AI_SetTimeOut (ushort CardNumber, uint TimeOut); - [DllImport("PCI-Dask.dll")] - public static extern short AI_VoltScale (ushort CardNumber, ushort AdRange, ushort reading, out double voltage); - [DllImport("PCI-Dask.dll")] - public static extern short AI_VReadChannel (ushort CardNumber, ushort Channel, ushort AdRange, out double voltage); -/*---------------------------------------------------------------------------*/ - [DllImport("PCI-Dask.dll")] - public static extern short AO_6202_Config (ushort CardNumber, ushort ConfigCtrl, ushort TrigCtrl, uint ReTrgCnt, uint DLY1Cnt, uint DLY2Cnt, bool AutoResetBuf); - [DllImport("PCI-Dask.dll")] - public static extern short AO_6208A_Config (ushort CardNumber, ushort V2AMode); - [DllImport("PCI-Dask.dll")] - public static extern short AO_6308A_Config (ushort CardNumber, ushort V2AMode); - [DllImport("PCI-Dask.dll")] - public static extern short AO_6308V_Config (ushort CardNumber, ushort Channel, ushort OutputPolarity, double refVoltage); - [DllImport("PCI-Dask.dll")] - public static extern short AO_9111_Config (ushort CardNumber, ushort OutputPolarity); - [DllImport("PCI-Dask.dll")] - public static extern short AO_9112_Config (ushort CardNumber, ushort Channel, double refVoltage); - [DllImport("PCI-Dask.dll")] - public static extern short AO_9222_Config (ushort CardNumber, ushort ConfigCtrl, ushort TrigCtrl, uint ReTrgCnt, uint DLY1Cnt, uint DLY2Cnt, bool AutoResetBuf); - [DllImport("PCI-Dask.dll")] - public static extern short AO_9223_Config (ushort CardNumber, ushort ConfigCtrl, ushort TrigCtrl, uint ReTrgCnt, uint DLY1Cnt, uint DLY2Cnt, bool AutoResetBuf); - [DllImport("PCI-Dask.dll")] - public static extern short AO_InitialMemoryAllocated (ushort CardNumber, out uint MemSize); - [DllImport("PCI-Dask.dll")] - public static extern short AO_AsyncCheck (ushort CardNumber, out bool Stopped, out uint AccessCnt); - [DllImport("PCI-Dask.dll")] - public static extern short AO_AsyncClear (ushort CardNumber, out uint AccessCnt, ushort stop_mode); - [DllImport("PCI-Dask.dll")] - public static extern short AO_AsyncDblBufferMode (ushort CardNumber, bool Enable); - [DllImport("PCI-Dask.dll")] - public static extern short AO_AsyncDblBufferHalfReady (ushort CardNumber, out bool bHalfReady); - [DllImport("PCI-Dask.dll")] - public static extern short AO_ContBufferCompose (ushort CardNumber, ushort TotalChnCount, ushort ChnNum, uint UpdateCount, uint [] ConBuffer, uint [] Buffer); - [DllImport("PCI-Dask.dll")] - public static extern short AO_ContBufferReset (ushort CardNumber); - [DllImport("PCI-Dask.dll")] - public static extern short AO_ContBufferSetup (ushort CardNumber, uint[] Buffer, uint WriteCount, out ushort BufferId); - [DllImport("PCI-Dask.dll")] - public static extern short AO_ContStatus (ushort CardNumber, out ushort Status); - [DllImport("PCI-Dask.dll")] - public static extern short AO_ContWriteChannel (ushort CardNumber, ushort Channel, ushort BufId, uint WriteCount, uint Iterations, uint CHUI, ushort definite, ushort SyncMode); - [DllImport("PCI-Dask.dll")] - public static extern short AO_ContWriteMultiChannels(ushort CardNumber, ushort NumChans, ushort[] Chans, ushort BufId, uint WriteCount, uint Iterations, uint CHUI, ushort definite, ushort SyncMode); - [DllImport("PCI-Dask.dll")] - public static extern short AO_EventCallBack (ushort CardNumber, ushort mode, ushort EventType, MulticastDelegate callbackAddr); - [DllImport("PCI-Dask.dll")] - public static extern short AO_SetTimeOut (ushort CardNumber, uint TimeOut); - [DllImport("PCI-Dask.dll")] - public static extern short AO_WriteChannel (ushort CardNumber, ushort Channel, short Value); - [DllImport("PCI-Dask.dll")] - public static extern short AO_VWriteChannel (ushort CardNumber, ushort Channel, double Voltage); - [DllImport("PCI-Dask.dll")] - public static extern short AO_VoltScale (ushort CardNumber, ushort Channel, double Voltage, out short binValue); - [DllImport("PCI-Dask.dll")] - public static extern short AO_SimuWriteChannel (ushort CardNumber, ushort Group, short[] Buffer); - [DllImport("PCI-Dask.dll")] - public static extern short AO_SimuVWriteChannel (ushort CardNumber, ushort Group, double[] VBuffer); -/*---------------------------------------------------------------------------*/ - [DllImport("PCI-Dask.dll")] - public static extern short DI_7200_Config (ushort CardNumber, ushort TrigSource, ushort ExtTrigEn, ushort TrigPol, ushort I_REQ_Pol); - [DllImport("PCI-Dask.dll")] - public static extern short DI_7233_ForceLogic (ushort CardNumber, ushort ConfigCtrl); - [DllImport("PCI-Dask.dll")] - public static extern short DI_7300A_Config (ushort CardNumber, ushort PortWidth, ushort TrigSource, ushort WaitStatus, ushort Terminator, ushort I_REQ_Pol, bool clear_fifo, bool disable_di); - [DllImport("PCI-Dask.dll")] - public static extern short DI_7300B_Config (ushort CardNumber, ushort PortWidth, ushort TrigSource, ushort WaitStatus, ushort Terminator, ushort I_Cntrl_Pol, bool clear_fifo, bool disable_di); - [DllImport("PCI-Dask.dll")] - public static extern short DI_7350_Config (ushort CardNumber, ushort DIPortWidth, ushort DIMode, ushort DIWaitStatus, ushort DIClkConfig); - [DllImport("PCI-Dask.dll")] - public static extern short DI_7350_ExportSampCLKConfig (ushort CardNumber, ushort CLK_Src, ushort CLK_DPAMode, ushort CLK_DPAVlaue); - [DllImport("PCI-Dask.dll")] - public static extern short DI_7350_ExtSampCLKConfig (ushort CardNumber, ushort CLK_Src, ushort CLK_DDAMode, ushort CLK_DPAMode, ushort CLK_DDAVlaue, ushort CLK_DPAVlaue); - [DllImport("PCI-Dask.dll")] - public static extern short DI_7350_SoftTriggerGen (ushort CardNumber); - [DllImport("PCI-Dask.dll")] - public static extern short DI_7350_TrigHSConfig (ushort CardNumber, ushort TrigConfig, ushort DI_IPOL, ushort DI_REQSrc, ushort DI_ACKSrc, ushort DI_TRIGSrc, ushort StartTrigSrc, ushort PauseTrigSrc, ushort SoftTrigOutSrc, uint SoftTrigOutLength, uint TrigCount); - [DllImport("PCI-Dask.dll")] - public static extern short DI_7350_BurstHandShakeDelay (ushort CardNumber, byte Delay); - [DllImport("PCI-Dask.dll")] - public static extern short DI_7360_Config (ushort CardNumber, ushort DIPortWidth, ushort DIMode, ushort DIWaitStatus, ushort DIClkConfig); - [DllImport("PCI-Dask.dll")] - public static extern short DI_7360_ExportSampCLKConfig (ushort CardNumber, ushort CLK_Src, ushort CLK_DPAMode, ushort CLK_DPAVlaue); - [DllImport("PCI-Dask.dll")] - public static extern short DI_7360_ExtSampCLKConfig (ushort CardNumber, ushort CLK_Src, ushort CLK_DDAMode, ushort CLK_DPAMode, ushort CLK_DDAVlaue, ushort CLK_DPAVlaue); - [DllImport("PCI-Dask.dll")] - public static extern short DI_7360_SoftTriggerGen (ushort CardNumber); - [DllImport("PCI-Dask.dll")] - public static extern short DI_7360_TrigHSConfig (ushort CardNumber, ushort TrigConfig, ushort DI_IPOL, ushort DI_REQSrc, ushort DI_ACKSrc, ushort DI_TRIGSrc, ushort StartTrigSrc, ushort PauseTrigSrc, ushort SoftTrigOutSrc, uint SoftTrigOutLength, uint TrigCount); - [DllImport("PCI-Dask.dll")] - public static extern short DI_7360_BurstHandShakeDelay (ushort CardNumber, byte Delay); - [DllImport("PCI-Dask.dll")] - public static extern short DI_9222_Config (ushort CardNumber, ushort ConfigCtrl, ushort TrigCtrl, uint ReTriggerCnt, bool AutoResetBuf); - [DllImport("PCI-Dask.dll")] - public static extern short DI_9223_Config (ushort CardNumber, ushort ConfigCtrl, ushort TrigCtrl, uint ReTriggerCnt, bool AutoResetBuf); - [DllImport("PCI-Dask.dll")] - public static extern short DI_InitialMemoryAllocated (ushort CardNumber, out uint DmaSize); - [DllImport("PCI-Dask.dll")] - public static extern short DI_ReadLine (ushort CardNumber, ushort Port, ushort Line, out ushort State); - [DllImport("PCI-Dask.dll")] - public static extern short DI_ReadPort (ushort CardNumber, ushort Port, out uint Value); - [DllImport("PCI-Dask.dll")] - public static extern short DI_ContReadPort (ushort CardNumber, ushort Port, byte[] Buffer, uint ReadCount, double SampleRate, ushort SyncMode); - [DllImport("PCI-Dask.dll")] - public static extern short DI_ContReadPort (ushort CardNumber, ushort Port, ushort[] Buffer, uint ReadCount, double SampleRate, ushort SyncMode); - [DllImport("PCI-Dask.dll")] - public static extern short DI_ContReadPort(ushort CardNumber, ushort Port, uint[] Buffer, uint ReadCount, double SampleRate, ushort SyncMode); - [DllImport("PCI-Dask.dll")] - public static extern short DI_ContReadPortToFile (ushort CardNumber, ushort Port, string FileName, uint ReadCount, double SampleRate, ushort SyncMode); - [DllImport("PCI-Dask.dll")] - public static extern short DI_ContStatus (ushort CardNumber, out ushort Status); - [DllImport("PCI-Dask.dll")] - public static extern short DI_AsyncCheck (ushort CardNumber, out byte Stopped, out uint AccessCnt); - [DllImport("PCI-Dask.dll")] - public static extern short DI_AsyncClear (ushort CardNumber, out uint AccessCnt); - [DllImport("PCI-Dask.dll")] - public static extern short DI_AsyncDblBufferHalfReady (ushort CardNumber, out byte HalfReady); - [DllImport("PCI-Dask.dll")] - public static extern short DI_AsyncDblBufferMode (ushort CardNumber, bool Enable); - [DllImport("PCI-Dask.dll")] - public static extern short DI_AsyncDblBufferTransfer (ushort CardNumber, byte[] Buffer); - [DllImport("PCI-Dask.dll")] - public static extern short DI_AsyncDblBufferTransfer (ushort CardNumber, short[] Buffer); - [DllImport("PCI-Dask.dll")] - public static extern short DI_AsyncDblBufferTransfer(ushort CardNumber, uint[] Buffer); - [DllImport("PCI-Dask.dll")] - public static extern short DI_AsyncDblBufferOverrun (ushort CardNumber, ushort op, out ushort overrunFlag); - [DllImport("PCI-Dask.dll")] - public static extern short DI_AsyncDblBufferHandled (ushort CardNumber); - [DllImport("PCI-Dask.dll")] - public static extern short DI_AsyncDblBufferToFile (ushort CardNumber); - [DllImport("PCI-Dask.dll")] - public static extern short DI_AsyncMultiBuffersHandled (ushort CardNumber, ushort bufcnt, ushort[] bufs); - [DllImport("PCI-Dask.dll")] - public static extern short DI_AsyncMultiBufferNextReady (ushort CardNumber, out byte bNextReady, out ushort BufferId); - [DllImport("PCI-Dask.dll")] - public static extern short DI_AsyncReTrigNextReady (ushort CardNumber, out bool Ready, out bool StopFlag, out ushort RdyTrigCnt); - [DllImport("PCI-Dask.dll")] - public static extern short DI_ContBufferSetup (ushort CardNumber, ushort[] Buffer, uint ReadCount, out ushort BufferId); - [DllImport("PCI-Dask.dll")] - public static extern short DI_ContBufferSetup (ushort CardNumber, uint[] Buffer, uint ReadCount, out ushort BufferId); - [DllImport("PCI-Dask.dll")] - public static extern short DI_ContBufferReset (ushort CardNumber); - [DllImport("PCI-Dask.dll")] - public static extern short DI_ContMultiBufferSetup (ushort CardNumber, byte[] Buffer, uint ReadCount, out ushort BufferId); - [DllImport("PCI-Dask.dll")] - public static extern short DI_ContMultiBufferSetup (ushort CardNumber, short[] Buffer, uint ReadCount, out ushort BufferId); - [DllImport("PCI-Dask.dll")] - public static extern short DI_ContMultiBufferSetup(ushort CardNumber, uint[] Buffer, uint ReadCount, out ushort BufferId); - [DllImport("PCI-Dask.dll")] - public static extern short DI_ContMultiBufferStart (ushort CardNumber, ushort Port, double fSampleRate); - [DllImport("PCI-Dask.dll")] - public static extern short DI_EventCallBack (ushort CardNumber, short mode, short EventType, MulticastDelegate callbackAddr); - [DllImport("PCI-Dask.dll")] - public static extern short DI_SetTimeOut (ushort CardNumber, uint TimeOut); -/*---------------------------------------------------------------------------*/ - [DllImport("PCI-Dask.dll")] - public static extern short DO_7200_Config (ushort CardNumber, ushort TrigSource, ushort OutReqEn, ushort OutTrigSig); - [DllImport("PCI-Dask.dll")] - public static extern short DO_7300A_Config (ushort CardNumber, ushort PortWidth, ushort TrigSource, ushort WaitStatus, ushort Terminator, ushort O_REQ_Pol); - [DllImport("PCI-Dask.dll")] - public static extern short DO_7300B_Config (ushort CardNumber, ushort PortWidth, ushort TrigSource, ushort WaitStatus, ushort Terminator, ushort O_Cntrl_Pol, uint FifoThreshold); - [DllImport("PCI-Dask.dll")] - public static extern short DO_7300B_SetDODisableMode (ushort CardNumber, ushort Mode); - [DllImport("PCI-Dask.dll")] - public static extern short DO_7350_Config (ushort CardNumber, ushort DOPortWidth, ushort DOMode, ushort DOWaitStatus, ushort DOClkConfig); - [DllImport("PCI-Dask.dll")] - public static extern short DO_7350_ExportSampCLKConfig (ushort CardNumber, ushort CLK_Src, ushort CLK_DPAMode, ushort CLK_DPAVlaue); - [DllImport("PCI-Dask.dll")] - public static extern short DO_7350_ExtSampCLKConfig (ushort CardNumber, ushort CLK_Src, ushort CLK_DDAMode, ushort CLK_DPAMode, ushort CLK_DDAVlaue, ushort CLK_DPAVlaue); - [DllImport("PCI-Dask.dll")] - public static extern short DO_7350_SoftTriggerGen (ushort CardNumber); - [DllImport("PCI-Dask.dll")] - public static extern short DO_7350_TrigHSConfig (ushort CardNumber, ushort TrigConfig, ushort DO_IPOL, ushort DO_REQSrc, ushort DO_ACKSrc, ushort DO_TRIGSrc, ushort StartTrigSrc, ushort PauseTrigSrc, ushort SoftTrigOutSrc, uint SoftTrigOutLength, uint TrigCount); - [DllImport("PCI-Dask.dll")] - public static extern short DO_7350_BurstHandShakeDelay (ushort CardNumber, byte Delay); - [DllImport("PCI-Dask.dll")] - public static extern short DO_7360_Config (ushort CardNumber, ushort DOPortWidth, ushort DOMode, ushort DOWaitStatus, ushort DOClkConfig); - [DllImport("PCI-Dask.dll")] - public static extern short DO_7360_ExportSampCLKConfig (ushort CardNumber, ushort CLK_Src, ushort CLK_DPAMode, ushort CLK_DPAVlaue); - [DllImport("PCI-Dask.dll")] - public static extern short DO_7360_ExtSampCLKConfig (ushort CardNumber, ushort CLK_Src, ushort CLK_DDAMode, ushort CLK_DPAMode, ushort CLK_DDAVlaue, ushort CLK_DPAVlaue); - [DllImport("PCI-Dask.dll")] - public static extern short DO_7360_SoftTriggerGen (ushort CardNumber); - [DllImport("PCI-Dask.dll")] - public static extern short DO_7360_TrigHSConfig (ushort CardNumber, ushort TrigConfig, ushort DO_IPOL, ushort DO_REQSrc, ushort DO_ACKSrc, ushort DO_TRIGSrc, ushort StartTrigSrc, ushort PauseTrigSrc, ushort SoftTrigOutSrc, uint SoftTrigOutLength, uint TrigCount); - [DllImport("PCI-Dask.dll")] - public static extern short DO_7360_BurstHandShakeDelay (ushort CardNumber, byte Delay); - [DllImport("PCI-Dask.dll")] - public static extern short DO_9222_Config (ushort CardNumber, ushort ConfigCtrl, ushort TrigCtrl, uint ReTrgCnt, uint DLY1Cnt, uint DLY2Cnt, bool AutoResetBuf); - [DllImport("PCI-Dask.dll")] - public static extern short DO_9223_Config (ushort CardNumber, ushort ConfigCtrl, ushort TrigCtrl, uint ReTrgCnt, uint DLY1Cnt, uint DLY2Cnt, bool AutoResetBuf); - [DllImport("PCI-Dask.dll")] - public static extern short DO_InitialMemoryAllocated (ushort CardNumber, out uint MemSize); - [DllImport("PCI-Dask.dll")] - public static extern short DO_WriteLine (ushort CardNumber, ushort Port, ushort Line, ushort Value); - [DllImport("PCI-Dask.dll")] - public static extern short DO_WritePort (ushort CardNumber, byte Port, uint Value); - [DllImport("PCI-Dask.dll")] - public static extern short DO_WritePort (ushort CardNumber, ushort Port, uint Value); - [DllImport("PCI-Dask.dll")] - public static extern short DO_WritePort(ushort CardNumber, uint Port, uint Value); - [DllImport("PCI-Dask.dll")] - public static extern short DO_ContWritePortEx (ushort CardNumber, ushort Port, byte[] Buffer, uint WriteCount, ushort Iterations, double SampleRate, ushort SyncMode); - [DllImport("PCI-Dask.dll")] - public static extern short DO_ContWritePortEx (ushort CardNumber, ushort Port, ushort[] Buffer, uint WriteCount, ushort Iterations, double SampleRate, ushort SyncMode); - [DllImport("PCI-Dask.dll")] - public static extern short DO_ContWritePortEx (ushort CardNumber, ushort Port, uint[] Buffer, uint WriteCount, ushort Iterations, double SampleRate, ushort SyncMode); - [DllImport("PCI-Dask.dll")] - public static extern short DO_SimuWritePort(ushort CardNumber, ushort NumChans, uint[] Buffer); - [DllImport("PCI-Dask.dll")] - public static extern short DO_WriteExtTrigLine (ushort CardNumber, ushort Value); - [DllImport("PCI-Dask.dll")] - public static extern short DO_ReadLine (ushort CardNumber, ushort Port, ushort Line, out ushort Value); - [DllImport("PCI-Dask.dll")] - public static extern short DO_ReadPort (ushort CardNumber, ushort Port, out uint Value); - [DllImport("PCI-Dask.dll")] - public static extern short DO_ContWritePort (ushort CardNumber, ushort Port, byte[] Buffer, uint WriteCount, ushort Iterations, double SampleRate, ushort SyncMode); - [DllImport("PCI-Dask.dll")] - public static extern short DO_ContWritePort (ushort CardNumber, ushort Port, ushort[] Buffer, uint WriteCount, ushort Iterations, double SampleRate, ushort SyncMode); - [DllImport("PCI-Dask.dll")] - public static extern short DO_ContWritePort (ushort CardNumber, ushort Port, uint[] Buffer, uint WriteCount, ushort Iterations, double SampleRate, ushort SyncMode); - [DllImport("PCI-Dask.dll")] - public static extern short DO_PGStart (ushort CardNumber, byte[] Buffer, uint WriteCount, double SampleRate); - [DllImport("PCI-Dask.dll")] - public static extern short DO_PGStart (ushort CardNumber, short[] Buffer, uint WriteCount, double SampleRate); - [DllImport("PCI-Dask.dll")] - public static extern short DO_PGStart (ushort CardNumber, uint[] Buffer, uint WriteCount, double SampleRate); - [DllImport("PCI-Dask.dll")] - public static extern short DO_PGStop (ushort CardNumber); - [DllImport("PCI-Dask.dll")] - public static extern short DO_ContStatus (ushort CardNumber, out ushort Status); - [DllImport("PCI-Dask.dll")] - public static extern short DO_AsyncCheck (ushort CardNumber, out byte Stopped, out uint AccessCnt); - [DllImport("PCI-Dask.dll")] - public static extern short DO_AsyncClear (ushort CardNumber, out uint AccessCnt); - [DllImport("PCI-Dask.dll")] - public static extern short EDO_9111_Config (ushort CardNumber, ushort EDO_Fun); - [DllImport("PCI-Dask.dll")] - public static extern short DO_ContMultiBufferSetup (ushort CardNumber, byte[] Buffer, uint WriteCount, out ushort BufferId); - [DllImport("PCI-Dask.dll")] - public static extern short DO_ContMultiBufferSetup (ushort CardNumber, short[] Buffer, uint WriteCount, out ushort BufferId); - [DllImport("PCI-Dask.dll")] - public static extern short DO_ContMultiBufferSetup (ushort CardNumber, uint[] Buffer, uint WriteCount, out ushort BufferId); - [DllImport("PCI-Dask.dll")] - public static extern short DO_AsyncMultiBufferNextReady (ushort CardNumber, out byte bNextReady, out ushort BufferId); - [DllImport("PCI-Dask.dll")] - public static extern short DO_ContMultiBufferStart (ushort CardNumber, ushort Port, double fSampleRate); - [DllImport("PCI-Dask.dll")] - public static extern short DO_EventCallBack (ushort CardNumber, short mode, short EventType, MulticastDelegate callbackAddr); - [DllImport("PCI-Dask.dll")] - public static extern short DO_SetTimeOut (ushort CardNumber, uint TimeOut); - [DllImport("PCI-Dask.dll")] - public static extern short DO_ContBufferSetup (ushort CardNumber, ushort[] Buffer, uint WriteCount, out ushort BufferId); - [DllImport("PCI-Dask.dll")] - public static extern short DO_ContBufferSetup (ushort CardNumber, uint[] Buffer, uint WriteCount, out ushort BufferId); - [DllImport("PCI-Dask.dll")] - public static extern short DO_ContBufferReset (ushort CardNumber); -/*---------------------------------------------------------------------------*/ - [DllImport("PCI-Dask.dll")] - public static extern short DIO_PortConfig (ushort CardNumber, ushort Port, ushort Direction); - [DllImport("PCI-Dask.dll")] - public static extern short DIO_LinesConfig (ushort CardNumber, ushort Port, ushort Linesdirmap); - [DllImport("PCI-Dask.dll")] - public static extern short DIO_LineConfig (ushort CardNumber, ushort Port, ushort Line, ushort Direction); - [DllImport("PCI-Dask.dll")] - public static extern short DIO_SetDualInterrupt (ushort CardNumber, short Int1Mode, short Int2Mode, uint hEvent); - [DllImport("PCI-Dask.dll")] - public static extern short DIO_SetCOSInterrupt (ushort CardNumber, ushort Port, ushort ctlA, ushort ctlB, ushort ctlC); - [DllImport("PCI-Dask.dll")] - public static extern short DIO_INT1_EventMessage (ushort CardNumber, short Int1Mode, uint windowHandle, uint message, MulticastDelegate callbackAddr); - [DllImport("PCI-Dask.dll")] - public static extern short DIO_INT2_EventMessage (ushort CardNumber, short Int2Mode, uint windowHandle, uint message, MulticastDelegate callbackAddr); - [DllImport("PCI-Dask.dll")] - public static extern short DIO_7300SetInterrupt (ushort CardNumber, short AuxDIEn, short T2En, uint hEvent); - [DllImport("PCI-Dask.dll")] - public static extern short DIO_AUXDI_EventMessage (ushort CardNumber, short AuxDIEn, uint windowHandle, uint message, MulticastDelegate callbackAddr); - [DllImport("PCI-Dask.dll")] - public static extern short DIO_T2_EventMessage (ushort CardNumber, short T2En, uint windowHandle, uint message, MulticastDelegate callbackAddr); - [DllImport("PCI-Dask.dll")] - public static extern short DIO_GetCOSLatchData (ushort CardNumber, out ushort CosLData); - [DllImport("PCI-Dask.dll")] - public static extern short DIO_SetCOSInterrupt32 (ushort CardNumber, byte Port, uint ctl, out uint hEvent, bool ManualReset); - [DllImport("PCI-Dask.dll")] - public static extern short DIO_GetCOSLatchData32 (ushort CardNumber, byte Port, out uint CosLData); - [DllImport("PCI-Dask.dll")] - public static extern short DIO_GetCOSLatchDataInt32 (ushort CardNumber, byte Port, out uint CosLData); - [DllImport("PCI-Dask.dll")] - public static extern short DIO_COSInterruptCounter (ushort CardNumber, ushort Counter_Num, ushort Counter_Mode, ushort DI_Port, ushort DI_Line, out uint Counter_Value); - [DllImport("PCI-Dask.dll")] - public static extern short DIO_VoltLevelConfig (ushort CardNumber, ushort PortType, ushort VoltLevel); - [DllImport("PCI-Dask.dll")] - public static extern short DIO_7350_AFIConfig (ushort CardNumber, ushort AFI_Port, ushort AFI_Enable, ushort AFI_Mode, uint AFI_TrigOutLen); - [DllImport("PCI-Dask.dll")] - public static extern short DIO_7360_AFIConfig (ushort CardNumber, ushort AFI_Port, ushort AFI_Enable, ushort AFI_Mode, uint AFI_TrigOutLen); - [DllImport("PCI-Dask.dll")] - public static extern short DIO_PMConfig (ushort CardNumber, ushort Channel, ushort PM_ChnEn, ushort PM_ChnType); - [DllImport("PCI-Dask.dll")] - public static extern short DIO_PMControl (ushort CardNumber, ushort Port, ushort PM_Start, out uint hEvent, bool ManualReset); - [DllImport("PCI-Dask.dll")] - public static extern short DIO_SetPMInterrupt32 (ushort CardNumber, ushort Port, uint Ctrl, uint Pattern1, uint Pattern2, out uint hEvent, bool ManualReset); - [DllImport("PCI-Dask.dll")] - public static extern short DIO_GetPMLatchData32 (ushort CardNumber, ushort Port, out uint PMLData); -/*---------------------------------------------------------------------------*/ - [DllImport("PCI-Dask.dll")] - public static extern short CTR_Setup (ushort CardNumber, ushort Ctr, ushort Mode, uint Count, ushort BinBcd); - [DllImport("PCI-Dask.dll")] - public static extern short CTR_Setup_All (ushort CardNumber, ushort CtrCnt, ushort[] Ctr, ushort[] Mode, uint[] Count, ushort[] BinBcd); - [DllImport("PCI-Dask.dll")] - public static extern short CTR_Clear (ushort CardNumber, ushort Ctr, ushort State); - [DllImport("PCI-Dask.dll")] - public static extern short CTR_Read (ushort CardNumber, ushort Ctr, out uint Value); - [DllImport("PCI-Dask.dll")] - public static extern short CTR_Read_All (ushort CardNumber, ushort CtrCnt, ushort[] Ctr, uint[] Value); - [DllImport("PCI-Dask.dll")] - public static extern short CTR_Status (ushort CardNumber, ushort Ctr, out uint Value); - [DllImport("PCI-Dask.dll")] - public static extern short CTR_Update (ushort CardNumber, ushort Ctr, uint Count); - [DllImport("PCI-Dask.dll")] - public static extern short CTR_8554_ClkSrc_Config (ushort CardNumber, ushort Ctr, ushort ClockSource); - [DllImport("PCI-Dask.dll")] - public static extern short CTR_8554_CK1_Config (ushort CardNumber, ushort ClockSource); - [DllImport("PCI-Dask.dll")] - public static extern short CTR_8554_Debounce_Config (ushort CardNumber, ushort DebounceClock); - [DllImport("PCI-Dask.dll")] - public static extern short GCTR_Setup (ushort CardNumber, ushort GCtr, ushort GCtrCtrl, uint Count); - [DllImport("PCI-Dask.dll")] - public static extern short GCTR_Clear (ushort CardNumber, ushort GCtr); - [DllImport("PCI-Dask.dll")] - public static extern short GCTR_Read (ushort CardNumber, ushort GCtr, out uint Value); - [DllImport("PCI-Dask.dll")] - public static extern short GPTC_Clear (ushort CardNumber, ushort GCtr); - [DllImport("PCI-Dask.dll")] - public static extern short GPTC_Control (ushort CardNumber, ushort GCtr, ushort ParamID, ushort Value); - [DllImport("PCI-Dask.dll")] - public static extern short GPTC_EventCallBack (ushort CardNumber, ushort Enabled, ushort EventType, MulticastDelegate callbackAddr); - [DllImport("PCI-Dask.dll")] - public static extern short GPTC_EventSetup (ushort CardNumber, ushort GCtr, ushort Mode, ushort Ctrl, uint LVal_1, uint LVal_2); - [DllImport("PCI-Dask.dll")] - public static extern short GPTC_Read (ushort CardNumber, ushort GCtr, out uint Value); - [DllImport("PCI-Dask.dll")] - public static extern short GPTC_Setup (ushort CardNumber, ushort GCtr, ushort Mode, ushort SrcCtrl, ushort PolCtrl, uint LReg1_Val, uint LReg2_Val); - [DllImport("PCI-Dask.dll")] - public static extern short GPTC_Status(ushort CardNumber, ushort GCtr, out ushort Value); - [DllImport("PCI-Dask.dll")] - public static extern short GPTC_9524_PG_Config (ushort CardNumber, ushort GCtr, uint PulseGenNum); - [DllImport("PCI-Dask.dll")] - public static extern short GPTC_9524_GetTimerEvent (ushort CardNumber, ushort GCtr, out uint hEvent); - [DllImport("PCI-Dask.dll")] - public static extern short WDT_Setup (ushort CardNumber, ushort Ctr, float ovflowSec, out float actualSec, out uint hEvent); - [DllImport("PCI-Dask.dll")] - public static extern short WDT_Control (ushort CardNumber, ushort Ctr, ushort action); - [DllImport("PCI-Dask.dll")] - public static extern short WDT_Status (ushort CardNumber, ushort Ctr, out uint Value); - [DllImport("PCI-Dask.dll")] - public static extern short WDT_Reload (ushort CardNumber, float ovflowSec, out float actualSec); -/*---------------------------------------------------------------------------*/ - [DllImport("PCI-Dask.dll")] - public static extern short AI_GetEvent (ushort CardNumber, out uint hEvent); - [DllImport("PCI-Dask.dll")] - public static extern short AO_GetEvent (ushort CardNumber, out uint hEvent); - [DllImport("PCI-Dask.dll")] - public static extern short DI_GetEvent (ushort CardNumber, out uint hEvent); - [DllImport("PCI-Dask.dll")] - public static extern short DO_GetEvent (ushort CardNumber, out uint hEvent); -/*---------------------------------------------------------------------------*/ - [DllImport("PCI-Dask.dll")] - public static extern short AI_GetView (ushort CardNumber, uint[] View); - [DllImport("PCI-Dask.dll")] - public static extern short DI_GetView (ushort CardNumber, uint[] View); - [DllImport("PCI-Dask.dll")] - public static extern short DO_GetView (ushort CardNumber, uint[] View); -/*---------------------------------------------------------------------------*/ - [DllImport("PCI-Dask.dll")] - public static extern short GetCardType (ushort CardNumber, out ushort cardType); - [DllImport("PCI-Dask.dll")] - public static extern short GetCardIndexFromID (ushort CardNumber, out ushort cardType, out ushort cardIndex); - [DllImport("PCI-Dask.dll")] - public static extern short GetBaseAddr (ushort CardNumber, uint[] BaseAddr, uint[] BaseAddr2); - [DllImport("PCI-Dask.dll")] - public static extern short GetLCRAddr (ushort CardNumber, uint[] LcrAddr); - [DllImport("PCI-Dask.dll")] - public static extern short PCI_EEPROM_LoadData (ushort CardNumber, ushort block, out ushort data); - [DllImport("PCI-Dask.dll")] - public static extern short PCI_EEPROM_SaveData (ushort CardNumber, ushort block, ushort data); -/*---------------------------------------------------------------------------*/ - [DllImport("PCI-Dask.dll")] - public static extern short PCI_DB_Auto_Calibration_ALL (ushort CardNumber); - [DllImport("PCI-Dask.dll")] - public static extern short PCI_Load_CAL_Data (ushort CardNumber, ushort bank); - [DllImport("PCI-Dask.dll")] - public static extern short PCI_EEPROM_CAL_Constant_Update (ushort CardNumber, ushort bank); - [DllImport("PCI-Dask.dll")] - public static extern short PCI9524_Acquire_AD_CalConst (ushort CardNumber, ushort Group, ushort ADC_Range, ushort ADC_Speed, out uint CalDate, out float CalTemp, out uint ADC_offset, out uint ADC_gain, out double Residual_offset, out double Residual_scaling); - [DllImport("PCI-Dask.dll")] - public static extern short PCI9524_Acquire_DA_CalConst (ushort CardNumber, ushort Channel, out uint CalDate, out float CalTemp, out byte DAC_offset, out byte DAC_linearity, out float Gain_factor); - [DllImport("PCI-Dask.dll")] - public static extern short PCI9524_Read_EEProm (ushort CardNumber, ushort ReadAddr, byte[] ReadData); - [DllImport("PCI-Dask.dll")] - public static extern short PCI9524_Read_RemoteSPI (ushort CardNumber, ushort Addr, byte[] RdData); - [DllImport("PCI-Dask.dll")] - public static extern short PCI9524_Write_EEProm (ushort CardNumber, ushort WriteAddr, byte[] WriteData); - [DllImport("PCI-Dask.dll")] - public static extern short PCI9524_Write_RemoteSPI (ushort CardNumber, ushort Addr, byte WrtData); - -/*----------------------------------------------------------------------------*/ - [DllImport("PCI-Dask.dll")] - public static extern short SSI_SourceConn (ushort CardNumber, ushort sigCode); - [DllImport("PCI-Dask.dll")] - public static extern short SSI_SourceDisConn (ushort CardNumber, ushort sigCode); - [DllImport("PCI-Dask.dll")] - public static extern short SSI_SourceClear (ushort CardNumber); -/*----------------------------------------------------------------------------*/ - [DllImport("PCI-Dask.dll")] - public static extern short PWM_Output (ushort CardNumber, ushort Channel, uint high_interval, uint low_interval); - [DllImport("PCI-Dask.dll")] - public static extern short PWM_Stop (ushort CardNumber, ushort Channel); -/*----------------------------------------------------------------------------*/ - [DllImport("PCI-Dask.dll")] - public static extern short I2C_Setup (ushort CardNumber, ushort I2C_Port, ushort I2C_Config, uint I2C_SetupValue1, uint I2C_SetupValue2); - [DllImport("PCI-Dask.dll")] - public static extern short I2C_Control (ushort CardNumber, ushort I2C_Port, ushort I2C_CtrlParam, uint I2C_CtrlValue); - [DllImport("PCI-Dask.dll")] - public static extern short I2C_Status (ushort CardNumber, ushort I2C_Port, out uint I2C_Status); - [DllImport("PCI-Dask.dll")] - public static extern short I2C_Read (ushort CardNumber, ushort I2C_Port, ushort I2C_SlaveAddr, ushort I2C_CmdAddrBytes, ushort I2C_DataBytes, uint I2C_CmdAddr, out uint I2C_Data); - [DllImport("PCI-Dask.dll")] - public static extern short I2C_Write (ushort CardNumber, ushort I2C_Port, ushort I2C_SlaveAddr, ushort I2C_CmdAddrBytes, ushort I2C_DataBytes, uint I2C_CmdAddr, uint I2C_Data); -/*----------------------------------------------------------------------------*/ - [DllImport("PCI-Dask.dll")] - public static extern short SPI_Setup (ushort CardNumber, ushort SPI_Port, ushort SPI_Config, uint SPI_SetupValue1, uint SPI_SetupValue2); - [DllImport("PCI-Dask.dll")] - public static extern short SPI_Control (ushort CardNumber, ushort SPI_Port, ushort SPI_CtrlParam, uint SPI_CtrlValue); - [DllImport("PCI-Dask.dll")] - public static extern short SPI_Status (ushort CardNumber, ushort SPI_Port, out uint SPI_Status); - [DllImport("PCI-Dask.dll")] - public static extern short SPI_Read (ushort CardNumber, ushort SPI_Port, ushort SPI_SlaveAddr, ushort SPI_CmdAddrBits, ushort SPI_DataBits, ushort SPI_FrontDummyBits, uint SPI_CmdAddr, out uint SPI_Data); - [DllImport("PCI-Dask.dll")] - public static extern short SPI_Write (ushort CardNumber, ushort SPI_Port, ushort SPI_SlaveAddr, ushort SPI_CmdAddrBits, ushort SPI_DataBits, ushort SPI_FrontDummyBits, ushort SPI_TailDummyBits, uint SPI_CmdAddr, uint SPI_Data); -/*----------------------------------------------------------------------------*/ -} diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Include/Dask.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Include/Dask.h deleted file mode 100644 index 39c7784..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Include/Dask.h +++ /dev/null @@ -1,2027 +0,0 @@ -#ifndef _DASK_H -#define _DASK_H - -#ifdef __cplusplus -extern "C" { -#endif - - -/* - * DASK Data Types - */ -typedef unsigned char U8; -typedef short I16; -typedef unsigned short U16; -typedef long I32; -typedef unsigned long U32; -typedef float F32; -typedef double F64; - - -/* - * ADLink PCI Card Type - */ -#define PCI_6208V 1 -#define PCI_6208A 2 -#define PCI_6308V 3 -#define PCI_6308A 4 -#define PCI_7200 5 -#define PCI_7230 6 -#define PCI_7233 7 -#define PCI_7234 8 -#define PCI_7248 9 -#define PCI_7249 10 -#define PCI_7250 11 -#define PCI_7252 12 -#define PCI_7296 13 -#define PCI_7300A_RevA 14 -#define PCI_7300A_RevB 15 -#define PCI_7432 16 -#define PCI_7433 17 -#define PCI_7434 18 -#define PCI_8554 19 -#define PCI_9111DG 20 -#define PCI_9111HR 21 -#define PCI_9112 22 -#define PCI_9113 23 -#define PCI_9114DG 24 -#define PCI_9114HG 25 -#define PCI_9118DG 26 -#define PCI_9118HG 27 -#define PCI_9118HR 28 -#define PCI_9810 29 -#define PCI_9812 30 -#define PCI_7396 31 -#define PCI_9116 32 -#define PCI_7256 33 -#define PCI_7258 34 -#define PCI_7260 35 -#define PCI_7452 36 -#define PCI_7442 37 -#define PCI_7443 38 -#define PCI_7444 39 -#define PCI_9221 40 -#define PCI_9524 41 -#define PCI_6202 42 -#define PCI_9222 43 -#define PCI_9223 44 -#define PCI_7433C 45 -#define PCI_7434C 46 -#define PCI_922A 47 -#define PCI_7350 48 -#define PCI_7360 49 - -#define MAX_CARD 32 - - -/* - * Error Number - */ -#define NoError 0 -#define ErrorUnknownCardType -1 -#define ErrorInvalidCardNumber -2 -#define ErrorTooManyCardRegistered -3 -#define ErrorCardNotRegistered -4 -#define ErrorFuncNotSupport -5 -#define ErrorInvalidIoChannel -6 -#define ErrorInvalidAdRange -7 -#define ErrorContIoNotAllowed -8 -#define ErrorDiffRangeNotSupport -9 -#define ErrorLastChannelNotZero -10 -#define ErrorChannelNotDescending -11 -#define ErrorChannelNotAscending -12 -#define ErrorOpenDriverFailed -13 -#define ErrorOpenEventFailed -14 -#define ErrorTransferCountTooLarge -15 -#define ErrorNotDoubleBufferMode -16 -#define ErrorInvalidSampleRate -17 -#define ErrorInvalidCounterMode -18 -#define ErrorInvalidCounter -19 -#define ErrorInvalidCounterState -20 -#define ErrorInvalidBinBcdParam -21 -#define ErrorBadCardType -22 -#define ErrorInvalidDaRefVoltage -23 -#define ErrorAdTimeOut -24 -#define ErrorNoAsyncAI -25 -#define ErrorNoAsyncAO -26 -#define ErrorNoAsyncDI -27 -#define ErrorNoAsyncDO -28 -#define ErrorNotInputPort -29 -#define ErrorNotOutputPort -30 -#define ErrorInvalidDioPort -31 -#define ErrorInvalidDioLine -32 -#define ErrorContIoActive -33 -#define ErrorDblBufModeNotAllowed -34 -#define ErrorConfigFailed -35 -#define ErrorInvalidPortDirection -36 -#define ErrorBeginThreadError -37 -#define ErrorInvalidPortWidth -38 -#define ErrorInvalidCtrSource -39 -#define ErrorOpenFile -40 -#define ErrorAllocateMemory -41 -#define ErrorDaVoltageOutOfRange -42 -#define ErrorDaExtRefNotAllowed -43 -#define ErrorDIODataWidthError -44 -#define ErrorTaskCodeError -45 -#define ErrortriggercountError -46 -#define ErrorInvalidTriggerMode -47 -#define ErrorInvalidTriggerType -48 -#define ErrorInvalidCounterValue -50 -#define ErrorInvalidEventHandle -60 -#define ErrorNoMessageAvailable -61 -#define ErrorEventMessgaeNotAdded -62 -#define ErrorCalibrationTimeOut -63 -#define ErrorUndefinedParameter -64 -#define ErrorInvalidBufferID -65 -#define ErrorInvalidSampledClock -66 -#define ErrorInvalidOperationMode -67 -/*Error number for driver API*/ -#define ErrorConfigIoctl -201 -#define ErrorAsyncSetIoctl -202 -#define ErrorDBSetIoctl -203 -#define ErrorDBHalfReadyIoctl -204 -#define ErrorContOPIoctl -205 -#define ErrorContStatusIoctl -206 -#define ErrorPIOIoctl -207 -#define ErrorDIntSetIoctl -208 -#define ErrorWaitEvtIoctl -209 -#define ErrorOpenEvtIoctl -210 -#define ErrorCOSIntSetIoctl -211 -#define ErrorMemMapIoctl -212 -#define ErrorMemUMapSetIoctl -213 -#define ErrorCTRIoctl -214 -#define ErrorGetResIoctl -215 -#define ErrorCalIoctl -216 -#define ErrorPMIntSetIoctl -217 - - - -/* - * AD Range - */ -#define AD_B_10_V 1 -#define AD_B_5_V 2 -#define AD_B_2_5_V 3 -#define AD_B_1_25_V 4 -#define AD_B_0_625_V 5 -#define AD_B_0_3125_V 6 -#define AD_B_0_5_V 7 -#define AD_B_0_05_V 8 -#define AD_B_0_005_V 9 -#define AD_B_1_V 10 -#define AD_B_0_1_V 11 -#define AD_B_0_01_V 12 -#define AD_B_0_001_V 13 -#define AD_U_20_V 14 -#define AD_U_10_V 15 -#define AD_U_5_V 16 -#define AD_U_2_5_V 17 -#define AD_U_1_25_V 18 -#define AD_U_1_V 19 -#define AD_U_0_1_V 20 -#define AD_U_0_01_V 21 -#define AD_U_0_001_V 22 -#define AD_B_2_V 23 -#define AD_B_0_25_V 24 -#define AD_B_0_2_V 25 -#define AD_U_4_V 26 -#define AD_U_2_V 27 -#define AD_U_0_5_V 28 -#define AD_U_0_4_V 29 - - -/*------------------*/ -/* Common Constants */ -/*------------------*/ -/* T or F*/ -#define TRUE 1 -#define FALSE 0 - -/*Synchronous Mode*/ -#define SYNCH_OP 1 -#define ASYNCH_OP 2 - -/*AO Terminate Mode*/ -#define DA_TerminateImmediate 0 - -/*DIO Port Direction*/ -#define INPUT_PORT 1 -#define OUTPUT_PORT 2 -/*DIO Line Direction*/ -#define INPUT_LINE 1 -#define OUTPUT_LINE 2 - -/*Clock Mode*/ -#define TRIG_SOFTWARE 0 -#define TRIG_INT_PACER 1 -#define TRIG_EXT_STROBE 2 -#define TRIG_HANDSHAKE 3 -#define TRIG_CLK_10MHZ 4 -#define TRIG_CLK_20MHZ 5 -#define TRIG_DO_CLK_TIMER_ACK 6 -#define TRIG_DO_CLK_10M_ACK 7 -#define TRIG_DO_CLK_20M_ACK 8 - -/*Virtual Sampling Rate for using external clock as the clock source*/ -#define CLKSRC_EXT_SampRate 10000 - -/*Register by slot*/ -#define RegBySlot 0x8000 - -/*PCI info*/ -#define PCILocInfo(bus, dev, fun) \ - RegBySlot|((bus&0xffff)<<8)|((dev&0x1f)<<3)|(fun&0x7) - -/*DIO & AFI Voltage Level*/ -#define VoltLevel_3R3 0 -#define VoltLevel_2R5 1 -#define VoltLevel_1R8 2 - - -/*---------------------------------------------*/ -/* Constants for PCI-6208A/PCI-6308A/PCI-6308V */ -/*---------------------------------------------*/ -/*Output Mode*/ -#define P6208_CURRENT_0_20MA 0 -#define P6208_CURRENT_4_20MA 3 -#define P6208_CURRENT_5_25MA 1 -#define P6308_CURRENT_0_20MA 0 -#define P6308_CURRENT_4_20MA 3 -#define P6308_CURRENT_5_25MA 1 -/*AO Setting*/ -#define P6308V_AO_CH0_3 0 -#define P6308V_AO_CH4_7 1 -#define P6308V_AO_UNIPOLAR 0 -#define P6308V_AO_BIPOLAR 1 - - -/*------------------------*/ -/* Constants for PCI-7200 */ -/*------------------------*/ -/*InputMode*/ -#define DI_WAITING 0x02 -#define DI_NOWAITING 0x00 -#define DI_TRIG_RISING 0x04 -#define DI_TRIG_FALLING 0x00 -#define IREQ_RISING 0x08 -#define IREQ_FALLING 0x00 -/*Output Mode*/ -#define OREQ_ENABLE 0x10 -#define OREQ_DISABLE 0x00 -#define OTRIG_HIGH 0x20 -#define OTRIG_LOW 0x00 - - -/*----------------------------------*/ -/* Constants for PCI-7248/7296/7396 */ -/*----------------------------------*/ -/*Channel & Port*/ -#define Channel_P1A 0 -#define Channel_P1B 1 -#define Channel_P1C 2 -#define Channel_P1CL 3 -#define Channel_P1CH 4 -#define Channel_P1AE 10 -#define Channel_P1BE 11 -#define Channel_P1CE 12 -#define Channel_P2A 5 -#define Channel_P2B 6 -#define Channel_P2C 7 -#define Channel_P2CL 8 -#define Channel_P2CH 9 -#define Channel_P2AE 15 -#define Channel_P2BE 16 -#define Channel_P2CE 17 -#define Channel_P3A 10 -#define Channel_P3B 11 -#define Channel_P3C 12 -#define Channel_P3CL 13 -#define Channel_P3CH 14 -#define Channel_P4A 15 -#define Channel_P4B 16 -#define Channel_P4C 17 -#define Channel_P4CL 18 -#define Channel_P4CH 19 -#define Channel_P5A 20 -#define Channel_P5B 21 -#define Channel_P5C 22 -#define Channel_P5CL 23 -#define Channel_P5CH 24 -#define Channel_P6A 25 -#define Channel_P6B 26 -#define Channel_P6C 27 -#define Channel_P6CL 28 -#define Channel_P6CH 29 -/*the following are used for PCI7396*/ -#define Channel_P1 30 -#define Channel_P2 31 -#define Channel_P3 32 -#define Channel_P4 33 -#define Channel_P1E 34 -#define Channel_P2E 35 -#define Channel_P3E 36 -#define Channel_P4E 37 - - -/*----------------------------------*/ -/* Constants for PCI-7442/7443/7444 */ -/*----------------------------------*/ -/*P7442*/ -#define P7442_CH0 0 -#define P7442_CH1 1 -#define P7442_TTL0 2 -#define P7442_TTL1 3 -/*P7443*/ -#define P7443_CH0 0 -#define P7443_CH1 1 -#define P7443_CH2 2 -#define P7443_CH3 3 -#define P7443_TTL0 4 -#define P7443_TTL1 5 -/*P7444*/ -#define P7444_CH0 0 -#define P7444_CH1 1 -#define P7444_CH2 2 -#define P7444_CH3 3 -#define P7444_TTL0 4 -#define P7444_TTL1 5 - -/*COS Counter OP*/ -#define COS_COUNTER_RESET 0 -#define COS_COUNTER_SETUP 1 -#define COS_COUNTER_START 2 -#define COS_COUNTER_STOP 3 -#define COS_COUNTER_READ 4 - - -/* - * EMG shdn ctrl code - */ -#define EMGSHDN_OFF 0 -#define EMGSHDN_ON 1 -#define EMGSHDN_RECOVERY 2 - - -/* - * Hot Reset Hold ctrl code - */ -#define HRH_OFF 0 -#define HRH_ON 1 - - -/*-------------------------*/ -/* Constants for PCI-7300A */ -/*-------------------------*/ -/*Wait Status*/ -#define P7300_WAIT_NO 0 -#define P7300_WAIT_TRG 1 -#define P7300_WAIT_FIFO 2 -#define P7300_WAIT_BOTH 3 - -/*Terminator control*/ -#define P7300_TERM_OFF 0 -#define P7300_TERM_ON 1 - -/*DI control signals polarity for PCI-7300A Rev. B*/ -#define P7300_DIREQ_POS 0x00000000L -#define P7300_DIREQ_NEG 0x00000001L -#define P7300_DIACK_POS 0x00000000L -#define P7300_DIACK_NEG 0x00000002L -#define P7300_DITRIG_POS 0x00000000L -#define P7300_DITRIG_NEG 0x00000004L -/*DO control signals polarity for PCI-7300A Rev. B*/ -#define P7300_DOREQ_POS 0x00000000L -#define P7300_DOREQ_NEG 0x00000008L -#define P7300_DOACK_POS 0x00000000L -#define P7300_DOACK_NEG 0x00000010L -#define P7300_DOTRIG_POS 0x00000000L -#define P7300_DOTRIG_NEG 0x00000020L - -/*DO Disable mode in DO_AsyncClear*/ -#define P7300_DODisableDOEnabled 0 -#define P7300_DONotDisableDOEnabled 1 - - -/*----------------------------------------------*/ -/* Constants for PCI-7432/7433/7434/7433C/7434C */ -/*----------------------------------------------*/ -#define PORT_DI_LOW 0 -#define PORT_DI_HIGH 1 -#define PORT_DO_LOW 0 -#define PORT_DO_HIGH 1 -#define P7432R_DO_LED 1 -#define P7433R_DO_LED 0 -#define P7434R_DO_LED 2 -#define P7432R_DI_SLOT 1 -#define P7433R_DI_SLOT 2 -#define P7434R_DI_SLOT 0 - - -/*----------------------------------------------------------------------------*/ -/* Dual-Interrupt Source control for PCI-7248/96 & 7432/33 & 7230 & 8554 & */ -/* 7396 & 7256 & 7260 & 7442/43/44 & 7433C */ -/*----------------------------------------------------------------------------*/ -#define INT1_NC -2 -#define INT1_DISABLE -1 -#define INT1_COS 0 -#define INT1_FP1C0 1 -#define INT1_RP1C0_FP1C3 2 -#define INT1_EVENT_COUNTER 3 -#define INT1_EXT_SIGNAL 1 -#define INT1_COUT12 1 -#define INT1_CH0 1 -#define INT1_COS0 1 -#define INT1_COS1 2 -#define INT1_COS2 4 -#define INT1_COS3 8 -#define INT2_NC -2 -#define INT2_DISABLE -1 -#define INT2_COS 0 -#define INT2_FP2C0 1 -#define INT2_RP2C0_FP2C3 2 -#define INT2_TIMER_COUNTER 3 -#define INT2_EXT_SIGNAL 1 -#define INT2_CH1 2 -#define INT2_WDT 4 -#define ManualResetIEvt 0x4000 -#define WDT_OVRFLOW_SAFETYOUT 0x8000 - - -/*------------------------*/ -/* Constants for PCI-8554 */ -/*------------------------*/ -/*Clock Source of Cunter N*/ -#define ECKN 0 -#define COUTN_1 1 -#define CK1 2 -#define COUT10 3 -/*Clock Source of CK1*/ -#define CK1_C8M 0 -#define CK1_COUT11 1 -/*Debounce Clock*/ -#define DBCLK_COUT11 0 -#define DBCLK_2MHZ 1 - - -/*------------------------*/ -/* Constants for PCI-9111 */ -/*------------------------*/ -/*Dual Interrupt Mode*/ -#define P9111_INT1_EOC 0 -#define P9111_INT1_FIFO_HF 1 -#define P9111_INT2_PACER 0 -#define P9111_INT2_EXT_TRG 1 -/*Channel Count*/ -#define P9111_CHANNEL_DO 0 -#define P9111_CHANNEL_EDO 1 -#define P9111_CHANNEL_DI 0 -#define P9111_CHANNEL_EDI 1 -/*EDO function*/ -#define P9111_EDO_INPUT 1 -#define P9111_EDO_OUT_EDO 2 -#define P9111_EDO_OUT_CHN 3 -/*Trigger Mode*/ -#define P9111_TRGMOD_SOFT 0x00 -#define P9111_TRGMOD_PRE 0x01 -#define P9111_TRGMOD_POST 0x02 -/*AO Setting*/ -#define P9111_AO_UNIPOLAR 0 -#define P9111_AO_BIPOLAR 1 - - -/*------------------------*/ -/* Constants for PCI-9118 */ -/*------------------------*/ -#define P9118_AI_BiPolar 0x00 -#define P9118_AI_UniPolar 0x01 - -#define P9118_AI_SingEnded 0x00 -#define P9118_AI_Differential 0x02 - -#define P9118_AI_ExtG 0x04 - -#define P9118_AI_ExtTrig 0x08 - -#define P9118_AI_DtrgNegative 0x00 -#define P9118_AI_DtrgPositive 0x10 - -#define P9118_AI_EtrgNegative 0x00 -#define P9118_AI_EtrgPositive 0x20 - -#define P9118_AI_BurstModeEn 0x40 -#define P9118_AI_SampleHold 0x80 -#define P9118_AI_PostTrgEn 0x100 -#define P9118_AI_AboutTrgEn 0x200 - - -/*------------------------*/ -/* Constants for PCI-9116 */ -/*------------------------*/ -#define P9116_AI_LocalGND 0x00 -#define P9116_AI_UserCMMD 0x01 -#define P9116_AI_SingEnded 0x00 -#define P9116_AI_Differential 0x02 -#define P9116_AI_BiPolar 0x00 -#define P9116_AI_UniPolar 0x04 - -#define P9116_TRGMOD_SOFT 0x00 -#define P9116_TRGMOD_POST 0x10 -#define P9116_TRGMOD_DELAY 0x20 -#define P9116_TRGMOD_PRE 0x30 -#define P9116_TRGMOD_MIDL 0x40 -#define P9116_AI_TrgPositive 0x00 -#define P9116_AI_TrgNegative 0x80 -#define P9116_AI_ExtTimeBase 0x100 -#define P9116_AI_IntTimeBase 0x000 -#define P9116_AI_DlyInSamples 0x200 -#define P9116_AI_DlyInTimebase 0x000 -#define P9116_AI_ReTrigEn 0x400 -#define P9116_AI_MCounterEn 0x800 -#define P9116_AI_SoftPolling 0x0000 -#define P9116_AI_INT 0x1000 -#define P9116_AI_DMA 0x2000 - - -/*------------------------*/ -/* Constants for PCI-9812 */ -/*------------------------*/ -/*Trigger Mode*/ -#define P9812_TRGMOD_SOFT 0x00 -#define P9812_TRGMOD_POST 0x01 -#define P9812_TRGMOD_PRE 0x02 -#define P9812_TRGMOD_DELAY 0x03 -#define P9812_TRGMOD_MIDL 0x04 - -#define P9812_AIEvent_Manual 0x80 - -/*Trigger Source*/ -#define P9812_TRGSRC_CH0 0x00 -#define P9812_TRGSRC_CH1 0x08 -#define P9812_TRGSRC_CH2 0x10 -#define P9812_TRGSRC_CH3 0x18 -#define P9812_TRGSRC_EXT_DIG 0x20 - -/*Trigger Polarity*/ -#define P9812_TRGSLP_POS 0x00 -#define P9812_TRGSLP_NEG 0x40 - -/*Frequency Selection*/ -#define P9812_AD2_GT_PCI 0x80 -#define P9812_AD2_LT_PCI 0x00 - -/*Clock Source*/ -#define P9812_CLKSRC_INT 0x000 -#define P9812_CLKSRC_EXT_SIN 0x100 -#define P9812_CLKSRC_EXT_DIG 0x200 - - -/*------------------------*/ -/* Constants for PCI-9221 */ -/*------------------------*/ -/*Input Type*/ -#define P9221_AI_SingEnded 0x0 -#define P9221_AI_NonRef_SingEnded 0x1 -#define P9221_AI_Differential 0x2 - -/*Trigger Mode*/ -#define P9221_TRGMOD_SOFT 0x00 -#define P9221_TRGMOD_ExtD 0x08 -/*Trigger Source*/ -#define P9221_TRGSRC_GPI0 0x00 -#define P9221_TRGSRC_GPI1 0x01 -#define P9221_TRGSRC_GPI2 0x02 -#define P9221_TRGSRC_GPI3 0x03 -#define P9221_TRGSRC_GPI4 0x04 -#define P9221_TRGSRC_GPI5 0x05 -#define P9221_TRGSRC_GPI6 0x06 -#define P9221_TRGSRC_GPI7 0x07 -/*Trigger Polarity*/ -#define P9221_AI_TrgPositive 0x00 -#define P9221_AI_TrgNegative 0x10 - -/*TimeBase Mode*/ -#define P9221_AI_IntTimeBase 0x00 -#define P9221_AI_ExtTimeBase 0x80 -/*TimeBase Source*/ -#define P9221_TimeBaseSRC_GPI0 0x00 -#define P9221_TimeBaseSRC_GPI1 0x10 -#define P9221_TimeBaseSRC_GPI2 0x20 -#define P9221_TimeBaseSRC_GPI3 0x30 -#define P9221_TimeBaseSRC_GPI4 0x40 -#define P9221_TimeBaseSRC_GPI5 0x50 -#define P9221_TimeBaseSRC_GPI6 0x60 -#define P9221_TimeBaseSRC_GPI7 0x70 - -/*EEPROM*/ -#define EEPROM_DEFAULT_BANK 0 -#define EEPROM_USER_BANK1 1 - - -/*---------------*/ -/* Timer/Counter */ -/*---------------*/ -/*Counter Mode(8254)*/ -#define TOGGLE_OUTPUT 0 -#define PROG_ONE_SHOT 1 -#define RATE_GENERATOR 2 -#define SQ_WAVE_RATE_GENERATOR 3 -#define SOFT_TRIG 4 -#define HARD_TRIG 5 - -/*16-bit binary or 4-decade BCD counter*/ -#define BIN 0 -#define BCD 1 - - -/*-------------------------------*/ -/* General Purpose Timer/Counter */ -/*-------------------------------*/ -/*Counter Mode*/ -#define General_Counter 0x00 -#define Pulse_Generation 0x01 -/*GPTC clock source*/ -#define GPTC_CLKSRC_EXT 0x08 -#define GPTC_CLKSRC_INT 0x00 -#define GPTC_GATESRC_EXT 0x10 -#define GPTC_GATESRC_INT 0x00 -#define GPTC_UPDOWN_SELECT_EXT 0x20 -#define GPTC_UPDOWN_SELECT_SOFT 0x00 -#define GPTC_UP_CTR 0x40 -#define GPTC_DOWN_CTR 0x00 -#define GPTC_ENABLE 0x80 -#define GPTC_DISABLE 0x00 - - -/*-------------------------------------------------*/ -/* General Purpose Timer/Counter for PCI-922x/6202 */ -/*-------------------------------------------------*/ -/*Counter Mode*/ -#define SimpleGatedEventCNT 0x01 -#define SinglePeriodMSR 0x02 -#define SinglePulseWidthMSR 0x03 -#define SingleGatedPulseGen 0x04 -#define SingleTrigPulseGen 0x05 -#define RetrigSinglePulseGen 0x06 -#define SingleTrigContPulseGen 0x07 -#define ContGatedPulseGen 0x08 -#define EdgeSeparationMSR 0x09 -#define SingleTrigContPulseGenPWM 0x0a -#define ContGatedPulseGenPWM 0x0b -#define CW_CCW_Encoder 0x0c -#define x1_AB_Phase_Encoder 0x0d -#define x2_AB_Phase_Encoder 0x0e -#define x4_AB_Phase_Encoder 0x0f -#define Phase_Z 0x10 -/*GPTC clock source*/ -#define GPTC_CLK_SRC_Ext 0x01 -#define GPTC_CLK_SRC_Int 0x00 -#define GPTC_GATE_SRC_Ext 0x02 -#define GPTC_GATE_SRC_Int 0x00 -#define GPTC_UPDOWN_Ext 0x04 -#define GPTC_UPDOWN_Int 0x00 -/*GPTC clock polarity*/ -#define GPTC_CLKSRC_LACTIVE 0x01 -#define GPTC_CLKSRC_HACTIVE 0x00 -#define GPTC_GATE_LACTIVE 0x02 -#define GPTC_GATE_HACTIVE 0x00 -#define GPTC_UPDOWN_LACTIVE 0x04 -#define GPTC_UPDOWN_HACTIVE 0x00 -#define GPTC_OUTPUT_LACTIVE 0x08 -#define GPTC_OUTPUT_HACTIVE 0x00 -/*GPTC OP Parameter*/ -#define IntGate 0x0 -#define IntUpDnCTR 0x1 -#define IntENABLE 0x2 -/*Z-Phase*/ -#define GPTC_EZ0_ClearPhase0 0x0 -#define GPTC_EZ0_ClearPhase1 0x1 -#define GPTC_EZ0_ClearPhase2 0x2 -#define GPTC_EZ0_ClearPhase3 0x3 -/*Z-Mode*/ -#define GPTC_EZ0_ClearMode0 0x0 -#define GPTC_EZ0_ClearMode1 0x1 -#define GPTC_EZ0_ClearMode2 0x2 -#define GPTC_EZ0_clearMode3 0x3 - - -/*----------------*/ -/* Watchdog Timer */ -/*----------------*/ -/*Counter action*/ -#define WDT_DISARM 0 -#define WDT_ARM 1 -#define WDT_RESTART 2 -/*Pattern ID*/ -#define INIT_PTN 0 -#define EMGSHDN_PTN 1 -/*Pattern ID for 7442/7444*/ -#define INIT_PTN_CH0 0 -#define INIT_PTN_CH1 1 -#define INIT_PTN_CH2 2 -#define INIT_PTN_CH3 3 -#define SAFTOUT_PTN_CH0 4 -#define SAFTOUT_PTN_CH1 5 -#define SAFTOUT_PTN_CH2 6 -#define SAFTOUT_PTN_CH3 7 - - -/*----------------------------------------------------------*/ -/* Previous renamed functions re-directed for compatibility */ -/*----------------------------------------------------------*/ -#define AI_VScale AI_VoltScale -#define AO_VScale AO_VoltScale -#define CTR_Reset CTR_Clear - - -/*--------------------------------------*/ -/* DAQ Event type for the event message */ -/*--------------------------------------*/ -#define AIEnd 0 -#define AOEnd 0 -#define DIEnd 0 -#define DOEnd 0 -#define DBEvent 1 -#define TrigEvent 2 - - -/*------------------------*/ -/* Constants for PCI-9524 */ -/*------------------------*/ -/*AI Interrupt*/ -#define P9524_INT_LC_EOC 0x2 //06/10/08 -#define P9524_INT_GP_EOC 0x3 //06/10/08 -/*DSP Constants*/ -#define P9524_SPIKE_REJ_DISABLE 0x0 -#define P9524_SPIKE_REJ_ENABLE 0x1 -/*Transfer Mode*/ -#define P9524_AI_XFER_POLL 0x0 -#define P9524_AI_XFER_DMA 0x1 -/*Poll All Channels*/ -#define P9524_AI_POLL_ALLCHANNELS 8 -#define P9524_AI_POLLSCANS_CH0_CH3 8 -#define P9524_AI_POLLSCANS_CH0_CH2 9 -#define P9524_AI_POLLSCANS_CH0_CH1 10 -/*ADC Sampling Rate*/ -#define P9524_ADC_30K_SPS 0 -#define P9524_ADC_15K_SPS 1 -#define P9524_ADC_7K5_SPS 2 -#define P9524_ADC_3K75_SPS 3 -#define P9524_ADC_2K_SPS 4 -#define P9524_ADC_1K_SPS 5 -#define P9524_ADC_500_SPS 6 -#define P9524_ADC_100_SPS 7 -#define P9524_ADC_60_SPS 8 -#define P9524_ADC_50_SPS 9 -#define P9524_ADC_30_SPS 10 -#define P9524_ADC_25_SPS 11 -#define P9524_ADC_15_SPS 12 -#define P9524_ADC_10_SPS 13 -#define P9524_ADC_5_SPS 14 -#define P9524_ADC_2R5_SPS 15 -/*ConfigCtrl Constants*/ -#define P9524_VEX_Range_2R5V 0x0 -#define P9524_VEX_Range_10V 0x1 -#define P9524_VEX_Sence_Local 0x0 -#define P9524_VEX_Sence_Remote 0x2 -#define P9524_AI_AZMode 0x4 -#define P9524_AI_BufAutoReset 0x8 -#define P9524_AI_EnEOCInt 0x10 //06/10/08 -/*Trigger Constants*/ -#define P9524_TRGMOD_POST 0x00 -#define P9524_TRGSRC_SOFT 0x00 -#define P9524_TRGSRC_ExtD 0x01 -#define P9524_TRGSRC_SSI 0x02 -#define P9524_TRGSRC_QD0 0x03 -#define P9524_TRGSRC_PG0 0x04 -#define P9524_AI_TrgPositive 0x00 -#define P9524_AI_TrgNegative 0x08 -/*Group*/ -#define P9524_AI_LC_Group 0 -#define P9524_AI_GP_Group 1 -/*Channel*/ -#define P9524_AI_LC_CH0 0 -#define P9524_AI_LC_CH1 1 -#define P9524_AI_LC_CH2 2 -#define P9524_AI_LC_CH3 3 -#define P9524_AI_GP_CH0 4 -#define P9524_AI_GP_CH1 5 -#define P9524_AI_GP_CH2 6 -#define P9524_AI_GP_CH3 7 -/*Pulse Generation and Quadrature Decoder*/ -#define P9524_CTR_PG0 0 -#define P9524_CTR_PG1 1 -#define P9524_CTR_PG2 2 -#define P9524_CTR_QD0 3 -#define P9524_CTR_QD1 4 -#define P9524_CTR_QD2 5 -#define P9524_CTR_INTCOUNTER 6 -/*Counter Mode*/ -#define P9524_PulseGen_OUTDIR_N 0 -#define P9524_PulseGen_OUTDIR_R 1 -#define P9524_PulseGen_CW 0 -#define P9524_PulseGen_CCW 2 -#define P9524_x4_AB_Phase_Decoder 3 -#define P9524_Timer 4 -/*Counter Op*/ -#define P9524_CTR_Enable 0 -/*Event Mode*/ -#define P9524_Event_Timer 0 -/*AO*/ -#define P9524_AO_CH0_1 0 - -/*------------------------*/ -/* Constants for PCI-6202 */ -/*------------------------*/ -/*DIO channel*/ -#define P6202_ISO0 0 -#define P6202_TTL0 1 -/*GPTC/Encoder channel*/ -#define P6202_GPTC0 0x00 -#define P6202_GPTC1 0x01 -#define P6202_ENCODER0 0x02 -#define P6202_ENCODER1 0x03 -#define P6202_ENCODER2 0x04 -/*DA control constant*/ -#define P6202_DA_WRSRC_Int 0x00 -#define P6202_DA_WRSRC_AFI0 0x01 -#define P6202_DA_WRSRC_SSI 0x02 -#define P6202_DA_WRSRC_AFI1 0x03 -/*DA trigger constant*/ -#define P6202_DA_TRGSRC_SOFT 0x00 -#define P6202_DA_TRGSRC_AFI0 0x01 -#define P6202_DA_TRGSRC_SSI 0x02 -#define P6202_DA_TRGSRC_AFI1 0x03 -#define P6202_DA_TRGMOD_POST 0x00 -#define P6202_DA_TRGMOD_DELAY 0x04 -#define P6202_DA_ReTrigEn 0x20 -#define P6202_DA_DLY2En 0x100 -/*SSI signal code*/ -#define P6202_SSI_DA_CONV 0x04 -#define P6202_SSI_DA_TRIG 0x40 -/*Encoder constant*/ -#define P6202_EVT_TYPE_EPT0 0x00 -#define P6202_EVT_TYPE_EPT1 0x01 -#define P6202_EVT_TYPE_EPT2 0x02 -#define P6202_EVT_TYPE_EZC0 0x03 -#define P6202_EVT_TYPE_EZC1 0x04 -#define P6202_EVT_TYPE_EZC2 0x05 - -#define P6202_EVT_MOD_EPT 0x00 - -#define P6202_EPT_PULWIDTH_200us 0x00 -#define P6202_EPT_PULWIDTH_2ms 0x01 -#define P6202_EPT_PULWIDTH_20ms 0x02 -#define P6202_EPT_PULWIDTH_200ms 0x03 - -#define P6202_EPT_TRGOUT_CALLBACK 0x04 -#define P6202_EPT_TRGOUT_AFI 0x08 - -#define P6202_ENCODER0_LDATA 0x05 -#define P6202_ENCODER1_LDATA 0x06 -#define P6202_ENCODER2_LDATA 0x07 - -/*AFI Port*/ -#define P6202_AFI_0 0 -#define P6202_AFI_1 1 - -/*AFI Mode*/ -#define P6202_AFI_SYNCIntTrigOut 0 - -/*AFI Trigout Length*/ -#define P6202_AFI_SYNCTrig_200ns 0 -#define P6202_AFI_SYNCTrig_2ms 1 -#define P6202_AFI_SYNCTrig_20ms 2 -#define P6202_AFI_SYNCTrig_200ms 3 - -/*------------------------*/ -/* Constants for PCI-922x */ -/*------------------------*/ -/* - * AI Constants - */ -/*Input Type*/ -#define P922x_AI_SingEnded 0x00 -#define P922x_AI_NonRef_SingEnded 0x01 -#define P922x_AI_Differential 0x02 -/*Conversion Source*/ -#define P922x_AI_CONVSRC_INT 0x00 -#define P922x_AI_CONVSRC_GPI0 0x10 -#define P922x_AI_CONVSRC_GPI1 0x20 -#define P922x_AI_CONVSRC_GPI2 0x30 -#define P922x_AI_CONVSRC_GPI3 0x40 -#define P922x_AI_CONVSRC_GPI4 0x50 -#define P922x_AI_CONVSRC_GPI5 0x60 -#define P922x_AI_CONVSRC_GPI6 0x70 -#define P922x_AI_CONVSRC_GPI7 0x80 -#define P922x_AI_CONVSRC_SSI1 0x90 -#define P922x_AI_CONVSRC_SSI 0x90 -/*Trigger Mode*/ -#define P922x_AI_TRGMOD_POST 0x00 -#define P922x_AI_TRGMOD_GATED 0x01 -/*Trigger Source*/ -#define P922x_AI_TRGSRC_SOFT 0x00 -#define P922x_AI_TRGSRC_GPI0 0x10 -#define P922x_AI_TRGSRC_GPI1 0x20 -#define P922x_AI_TRGSRC_GPI2 0x30 -#define P922x_AI_TRGSRC_GPI3 0x40 -#define P922x_AI_TRGSRC_GPI4 0x50 -#define P922x_AI_TRGSRC_GPI5 0x60 -#define P922x_AI_TRGSRC_GPI6 0x70 -#define P922x_AI_TRGSRC_GPI7 0x80 -#define P922x_AI_TRGSRC_SSI5 0x90 -#define P922x_AI_TRGSRC_SSI 0x90 -/*Trigger Polarity*/ -#define P922x_AI_TrgPositive 0x000 -#define P922x_AI_TrgNegative 0x100 -/*ReTrigger*/ -#define P922x_AI_EnReTigger 0x200 - -/* - * AO Constants - */ -/*Conversion Source*/ -#define P922x_AO_CONVSRC_INT 0x00 -#define P922x_AO_CONVSRC_GPI0 0x01 -#define P922x_AO_CONVSRC_GPI1 0x02 -#define P922x_AO_CONVSRC_GPI2 0x03 -#define P922x_AO_CONVSRC_GPI3 0x04 -#define P922x_AO_CONVSRC_GPI4 0x05 -#define P922x_AO_CONVSRC_GPI5 0x06 -#define P922x_AO_CONVSRC_GPI6 0x07 -#define P922x_AO_CONVSRC_GPI7 0x08 -#define P922x_AO_CONVSRC_SSI2 0x09 -#define P922x_AO_CONVSRC_SSI 0x09 -/*Trigger Mode*/ -#define P922x_AO_TRGMOD_POST 0x00 -#define P922x_AO_TRGMOD_DELAY 0x01 -/*Trigger Source*/ -#define P922x_AO_TRGSRC_SOFT 0x00 -#define P922x_AO_TRGSRC_GPI0 0x10 -#define P922x_AO_TRGSRC_GPI1 0x20 -#define P922x_AO_TRGSRC_GPI2 0x30 -#define P922x_AO_TRGSRC_GPI3 0x40 -#define P922x_AO_TRGSRC_GPI4 0x50 -#define P922x_AO_TRGSRC_GPI5 0x60 -#define P922x_AO_TRGSRC_GPI6 0x70 -#define P922x_AO_TRGSRC_GPI7 0x80 -#define P922x_AO_TRGSRC_SSI6 0x90 -#define P922x_AO_TRGSRC_SSI 0x90 -/*Trigger Polarity*/ -#define P922x_AO_TrgPositive 0x000 -#define P922x_AO_TrgNegative 0x100 -#define P922x_AO_EnReTigger 0x200 -#define P922x_AO_EnDelay2 0x400 - -/* - * DI Constants - */ -/*Conversion Source*/ -#define P922x_DI_CONVSRC_INT 0x00 -#define P922x_DI_CONVSRC_GPI0 0x01 -#define P922x_DI_CONVSRC_GPI1 0x02 -#define P922x_DI_CONVSRC_GPI2 0x03 -#define P922x_DI_CONVSRC_GPI3 0x04 -#define P922x_DI_CONVSRC_GPI4 0x05 -#define P922x_DI_CONVSRC_GPI5 0x06 -#define P922x_DI_CONVSRC_GPI6 0x07 -#define P922x_DI_CONVSRC_GPI7 0x08 -#define P922x_DI_CONVSRC_ADCONV 0x09 -#define P922x_DI_CONVSRC_DACONV 0x0A -/*Trigger Mode*/ -#define P922x_DI_TRGMOD_POST 0x00 -/*Trigger Source*/ -#define P922x_DI_TRGSRC_SOFT 0x00 -#define P922x_DI_TRGSRC_GPI0 0x10 -#define P922x_DI_TRGSRC_GPI1 0x20 -#define P922x_DI_TRGSRC_GPI2 0x30 -#define P922x_DI_TRGSRC_GPI3 0x40 -#define P922x_DI_TRGSRC_GPI4 0x50 -#define P922x_DI_TRGSRC_GPI5 0x60 -#define P922x_DI_TRGSRC_GPI6 0x70 -#define P922x_DI_TRGSRC_GPI7 0x80 -/*Trigger Polarity*/ -#define P922x_DI_TrgPositive 0x000 -#define P922x_DI_TrgNegative 0x100 -/*ReTrigger*/ -#define P922x_DI_EnReTigger 0x200 - -/* - * DO Constants - */ -/*Conversion Source*/ -#define P922x_DO_CONVSRC_INT 0x00 -#define P922x_DO_CONVSRC_GPI0 0x01 -#define P922x_DO_CONVSRC_GPI1 0x02 -#define P922x_DO_CONVSRC_GPI2 0x03 -#define P922x_DO_CONVSRC_GPI3 0x04 -#define P922x_DO_CONVSRC_GPI4 0x05 -#define P922x_DO_CONVSRC_GPI5 0x06 -#define P922x_DO_CONVSRC_GPI6 0x07 -#define P922x_DO_CONVSRC_GPI7 0x08 -#define P922x_DO_CONVSRC_ADCONV 0x09 -#define P922x_DO_CONVSRC_DACONV 0x0A -/*Trigger Mode*/ -#define P922x_DO_TRGMOD_POST 0x00 -#define P922x_DO_TRGMOD_DELAY 0x01 -/*Trigger Source*/ -#define P922x_DO_TRGSRC_SOFT 0x00 -#define P922x_DO_TRGSRC_GPI0 0x10 -#define P922x_DO_TRGSRC_GPI1 0x20 -#define P922x_DO_TRGSRC_GPI2 0x30 -#define P922x_DO_TRGSRC_GPI3 0x40 -#define P922x_DO_TRGSRC_GPI4 0x50 -#define P922x_DO_TRGSRC_GPI5 0x60 -#define P922x_DO_TRGSRC_GPI6 0x70 -#define P922x_DO_TRGSRC_GPI7 0x80 -/*Trigger Polarity*/ -#define P922x_DO_TrgPositive 0x000 -#define P922x_DO_TrgNegative 0x100 -#define P922x_DO_EnReTigger 0x200 - -/* - * Encoder/GPTC Constants - */ -#define P922x_GPTC0 0x00 -#define P922x_GPTC1 0x01 -#define P922x_GPTC2 0x02 -#define P922x_GPTC3 0x03 -#define P922x_ENCODER0 0x04 -#define P922x_ENCODER1 0x05 -/*Encoder Setting Event Mode*/ -#define P922x_EVT_MOD_EPT 0x00 -/*Encoder Setting Event Control*/ -#define P922x_EPT_PULWIDTH_200us 0x00 -#define P922x_EPT_PULWIDTH_2ms 0x01 -#define P922x_EPT_PULWIDTH_20ms 0x02 -#define P922x_EPT_PULWIDTH_200ms 0x03 -#define P922x_EPT_TRGOUT_GPO 0x04 -#define P922x_EPT_TRGOUT_CALLBACK 0x08 -/*Event Type*/ -#define P922x_EVT_TYPE_EPT0 0x00 -#define P922x_EVT_TYPE_EPT1 0x01 - -/* - * SSI signal code - */ -#define P922x_SSI_AI_CONV 0x02 -#define P922x_SSI_AI_TRIG 0x20 -#define P922x_SSI_AO_CONV 0x04 -#define P922x_SSI_AO_TRIG 0x40 - - -/*-------------------------*/ -/* Constants for PCIe-7350 */ -/*-------------------------*/ -#define P7350_PortDIO 0 -#define P7350_PortAFI 1 -/*DIO Port*/ -#define P7350_DIO_A 0 -#define P7350_DIO_B 1 -#define P7350_DIO_C 2 -#define P7350_DIO_D 3 -/*AFI Port*/ -#define P7350_AFI_0 0 -#define P7350_AFI_1 1 -#define P7350_AFI_2 2 -#define P7350_AFI_3 3 -#define P7350_AFI_4 4 -#define P7350_AFI_5 5 -#define P7350_AFI_6 6 -#define P7350_AFI_7 7 -/*AFI Mode*/ -#define P7350_AFI_DIStartTrig 0 -#define P7350_AFI_DOStartTrig 1 -#define P7350_AFI_DIPauseTrig 2 -#define P7350_AFI_DOPauseTrig 3 -#define P7350_AFI_DISWTrigOut 4 -#define P7350_AFI_DOSWTrigOut 5 -#define P7350_AFI_COSTrigOut 6 -#define P7350_AFI_PMTrigOut 7 -#define P7350_AFI_HSDIREQ 8 -#define P7350_AFI_HSDIACK 9 -#define P7350_AFI_HSDITRIG 10 -#define P7350_AFI_HSDOREQ 11 -#define P7350_AFI_HSDOACK 12 -#define P7350_AFI_HSDOTRIG 13 -#define P7350_AFI_SPI 14 -#define P7350_AFI_I2C 15 -#define P7350_POLL_DI 16 -#define P7350_POLL_DO 17 -/*Operation Mode*/ -#define P7350_FreeRun 0 -#define P7350_HandShake 1 -#define P7350_BurstHandShake 2 -/*Trigger Status*/ -#define P7350_WAIT_NO 0 -#define P7350_WAIT_EXTTRG 1 -#define P7350_WAIT_SOFTTRG 2 -/*Sampled Clock*/ -#define P7350_IntSampledCLK 0x00 -#define P7350_ExtSampledCLK 0x01 -/*Sampled Clock Edge*/ -#define P7350_SampledCLK_R 0x00 -#define P7350_SampledCLK_F 0x02 -/*Enable Export Sample Clock*/ -#define P7350_EnExpSampledCLK 0x04 -/*Trigger Configuration*/ -#define P7350_EnPauseTrig 0x01 -#define P7350_EnSoftTrigOut 0x02 -/*HandShake & Trigger Polarity*/ -#define P7350_DIREQ_POS 0x00 -#define P7350_DIREQ_NEG 0x01 -#define P7350_DIACK_POS 0x00 -#define P7350_DIACK_NEG 0x02 -#define P7350_DITRIG_POS 0x00 -#define P7350_DITRIG_NEG 0x04 -#define P7350_DIStartTrig_POS 0x00 -#define P7350_DIStartTrig_NEG 0x08 -#define P7350_DIPauseTrig_POS 0x00 -#define P7350_DIPauseTrig_NEG 0x10 -#define P7350_DOREQ_POS 0x00 -#define P7350_DOREQ_NEG 0x01 -#define P7350_DOACK_POS 0x00 -#define P7350_DOACK_NEG 0x02 -#define P7350_DOTRIG_POS 0x00 -#define P7350_DOTRIG_NEG 0x04 -#define P7350_DOStartTrig_POS 0x00 -#define P7350_DOStartTrig_NEG 0x08 -#define P7350_DOPauseTrig_POS 0x00 -#define P7350_DOPauseTrig_NEG 0x10 -/*External Sampled Clock Source*/ -#define P7350_ECLK_IN 8 -/*Export Sampled Clock*/ -#define P7350_ECLK_OUT 8 -/*Enable Dynamic Delay Adjust*/ -#define P7350_DisDDA 0x0 -#define P7350_EnDDA 0x1 -/*Dynamic Delay Adjust Mode*/ -#define P7350_DDA_Lag 0x0 -#define P7350_DDA_Lead 0x2 -/*Dynamic Delay Adjust Step*/ -#define P7350_DDA_130PS 0 -#define P7350_DDA_260PS 1 -#define P7350_DDA_390PS 2 -#define P7350_DDA_520PS 3 -#define P7350_DDA_650PS 4 -#define P7350_DDA_780PS 5 -#define P7350_DDA_910PS 6 -#define P7350_DDA_1R04NS 7 -/*Enable Dynamic Phase Adjust*/ -#define P7350_DisDPA 0x0 -#define P7350_EnDPA 0x1 -/*Dynamic Delay Adjust Degree*/ -#define P7350_DPA_0DG 0 -#define P7350_DPA_22R5DG 1 -#define P7350_DPA_45DG 2 -#define P7350_DPA_67R5DG 3 -#define P7350_DPA_90DG 4 -#define P7350_DPA_112R5DG 5 -#define P7350_DPA_135DG 6 -#define P7350_DPA_157R5DG 7 -#define P7350_DPA_180DG 8 -#define P7350_DPA_202R5DG 9 -#define P7350_DPA_225DG 10 -#define P7350_DPA_247R5DG 11 -#define P7350_DPA_270DG 12 -#define P7350_DPA_292R5DG 13 -#define P7350_DPA_315DG 14 -#define P7350_DPA_337R5DG 15 - -/*-------------------------*/ -/* Constants for PCIe-7360 */ -/*-------------------------*/ -#define P7360_PortDIO 0 -#define P7360_PortAFI 1 -#define P7360_PortECLK 2 -/*DIO Port*/ -#define P7360_DIO_A 0 -#define P7360_DIO_B 1 -#define P7360_DIO_C 2 -#define P7360_DIO_D 3 -/*AFI Port*/ -#define P7360_AFI_0 0 -#define P7360_AFI_1 1 -#define P7360_AFI_2 2 -#define P7360_AFI_3 3 -#define P7360_AFI_4 4 -#define P7360_AFI_5 5 -#define P7360_AFI_6 6 -#define P7360_AFI_7 7 -/*AFI Mode*/ -#define P7360_AFI_DIStartTrig 0 -#define P7360_AFI_DOStartTrig 1 -#define P7360_AFI_DIPauseTrig 2 -#define P7360_AFI_DOPauseTrig 3 -#define P7360_AFI_DISWTrigOut 4 -#define P7360_AFI_DOSWTrigOut 5 -#define P7360_AFI_COSTrigOut 6 -#define P7360_AFI_PMTrigOut 7 -#define P7360_AFI_HSDIREQ 8 -#define P7360_AFI_HSDIACK 9 -#define P7360_AFI_HSDITRIG 10 -#define P7360_AFI_HSDOREQ 11 -#define P7360_AFI_HSDOACK 12 -#define P7360_AFI_HSDOTRIG 13 -#define P7360_AFI_SPI 14 -#define P7360_AFI_I2C 15 -#define P7360_POLL_DI 16 -#define P7360_POLL_DO 17 -/*Operation Mode*/ -#define P7360_FreeRun 0 -#define P7360_HandShake 1 -#define P7360_BurstHandShake 2 -/*Trigger Status*/ -#define P7360_WAIT_NO 0 -#define P7360_WAIT_EXTTRG 1 -#define P7360_WAIT_SOFTTRG 2 -/*Sampled Clock*/ -#define P7360_IntSampledCLK 0x00 -#define P7360_ExtSampledCLK 0x01 -/*Sampled Clock Edge*/ -#define P7360_SampledCLK_R 0x00 -#define P7360_SampledCLK_F 0x02 -/*Enable Export Sample Clock*/ -#define P7360_EnExpSampledCLK 0x04 -/*Trigger Configuration*/ -#define P7360_EnPauseTrig 0x01 -#define P7360_EnSoftTrigOut 0x02 -/*HandShake & Trigger Polarity*/ -#define P7360_DIREQ_POS 0x00 -#define P7360_DIREQ_NEG 0x01 -#define P7360_DIACK_POS 0x00 -#define P7360_DIACK_NEG 0x02 -#define P7360_DITRIG_POS 0x00 -#define P7360_DITRIG_NEG 0x04 -#define P7360_DIStartTrig_POS 0x00 -#define P7360_DIStartTrig_NEG 0x08 -#define P7360_DIPauseTrig_POS 0x00 -#define P7360_DIPauseTrig_NEG 0x10 -#define P7360_DOREQ_POS 0x00 -#define P7360_DOREQ_NEG 0x01 -#define P7360_DOACK_POS 0x00 -#define P7360_DOACK_NEG 0x02 -#define P7360_DOTRIG_POS 0x00 -#define P7360_DOTRIG_NEG 0x04 -#define P7360_DOStartTrig_POS 0x00 -#define P7360_DOStartTrig_NEG 0x08 -#define P7360_DOPauseTrig_POS 0x00 -#define P7360_DOPauseTrig_NEG 0x10 -/*External Sampled Clock Source*/ -#define P7360_ECLK_IN 8 -/*Export Sampled Clock*/ -#define P7360_ECLK_OUT 8 -/*Enable Dynamic Delay Adjust*/ -#define P7360_DisDDA 0x0 -#define P7360_EnDDA 0x1 -/*Dynamic Delay Adjust Mode*/ -#define P7360_DDA_Lag 0x0 -#define P7360_DDA_Lead 0x2 -/*Enable Dynamic Phase Adjust*/ -#define P7360_DisDPA 0x0 -#define P7360_EnDPA 0x1 - -/*---------------------------------*/ -/* Constants for I Squared C (I2C) */ -/*---------------------------------*/ -/*I2C Port*/ -#define I2C_Port_A 0 -/*I2C Control Operation*/ -#define I2C_ENABLE 0 -#define I2C_STOP 1 - - -/*-------------------------------------------*/ -/* Constants for Serial Peripheral Interface */ -/*-------------------------------------------*/ -/*SPI Port*/ -#define SPI_Port_A 0 -/*SPI Clock Mode*/ -#define SPI_CLK_L 0x00 -#define SPI_CLK_H 0x01 -/*SPI TX Polarity*/ -#define SPI_TX_POS 0x00 -#define SPI_TX_NEG 0x02 -/*SPI RX Polarity*/ -#define SPI_RX_POS 0x00 -#define SPI_RX_NEG 0x04 -/*SPI Transferred Order*/ -#define SPI_MSB 0x00 -#define SPI_LSB 0x08 -/*SPI Control Operation*/ -#define SPI_ENABLE 0 - - -/*-----------------------------*/ -/* Constants for Pattern Match */ -/*-----------------------------*/ -/*Pattern Match Channel Mode*/ -#define PATMATCH_CHNDisable 0 -#define PATMATCH_CHNEnable 1 -/*Pattern Match Channel Type*/ -#define PATMATCH_Level_L 0 -#define PATMATCH_Level_H 1 -#define PATMATCH_Edge_R 2 -#define PATMATCH_Edge_F 3 -/*Pattern Match Operation*/ -#define PATMATCH_STOP 0 -#define PATMATCH_START 1 -#define PATMATCH_RESTART 2 - -/*---------------------------------------------*/ -/* Constants for Access EEPROM */ -/*---------------------------------------------*/ -/*for PCI-7230/PCMe-7230*/ -#define P7230_EEP_BLK_0 0 -#define P7230_EEP_BLK_1 1 - -/*----------------------------------------------------------------------------*/ -/* PCIS-DASK Function prototype */ -/*----------------------------------------------------------------------------*/ -/*----------------------------------------------------------------------------*/ -/* Basic Function */ -I16 __stdcall Register_Card(U16 CardType, U16 card_num); - -I16 __stdcall Release_Card(U16 CardNumber); - -/*----------------------------------------------------------------------------*/ -/* AI Function */ -I16 __stdcall AI_9111_Config(U16 CardNumber, U16 TrigSource, U16 TrgMode, \ - U16 TraceCnt); - -I16 __stdcall AI_9112_Config(U16 CardNumber, U16 TrigSource); - -I16 __stdcall AI_9113_Config(U16 CardNumber, U16 TrigSource); - -I16 __stdcall AI_9114_Config(U16 CardNumber, U16 TrigSource); - -I16 __stdcall AI_9114_PreTrigConfig(U16 CardNumber, U16 PreTrgEn, U16 TraceCnt); - -I16 __stdcall AI_9116_Config(U16 CardNumber, U16 ConfigCtrl, U16 TrigCtrl, \ - U16 PostCnt, U16 MCnt, U16 ReTrgCnt); - -I16 __stdcall AI_9116_CounterInterval(U16 CardNumber, U32 ScanIntrv, \ - U32 SampIntrv); - -I16 __stdcall AI_9118_Config(U16 CardNumber, U16 ModeCtrl, U16 FunCtrl, \ - U16 BurstCnt, U16 PostCnt); - -I16 __stdcall AI_9221_Config(U16 CardNumber, U16 ConfigCtrl, U16 TrigCtrl, \ - BOOLEAN AutoResetBuf); - -I16 __stdcall AI_9221_CounterInterval(U16 CardNumber, U32 ScanIntrv, \ - U32 SampIntrv); - -I16 __stdcall AI_9812_Config(U16 CardNumber, U16 TrgMode, U16 TrgSrc, \ - U16 TrgPol, U16 ClkSel, U16 TrgLevel, U16 PostCnt); - -I16 __stdcall AI_9812_SetDiv(U16 CardNumber, U32 PacerVal); - -I16 __stdcall AI_9524_Config(U16 CardNumber, U16 Group, U16 XMode, \ - U16 ConfigCtrl, U16 TrigCtrl, U32 TrigValue); - -I16 __stdcall AI_9524_PollConfig(U16 CardNumber, U16 Group, U16 PollChannel, \ - U16 PollRange, U16 PollSpeed); - -I16 __stdcall AI_9524_SetDSP(U16 CardNumber, U16 Channel, U16 Mode, \ - U16 DFStage, U32 SPKRejThreshold); - -I16 __stdcall AI_9524_GetEOCEvent(U16 CardNumber, U16 Group, HANDLE *hEvent); - -I16 __stdcall AI_9222_Config(U16 CardNumber, U16 ConfigCtrl, U16 TrigCtrl, \ - U32 ReTriggerCnt, BOOLEAN AutoResetBuf); - -I16 __stdcall AI_9222_CounterInterval(U16 CardNumber, U32 ScanIntrv, \ - U32 SampIntrv); - -I16 __stdcall AI_9223_Config(U16 CardNumber, U16 ConfigCtrl, U16 TrigCtrl, \ - U32 ReTriggerCnt, BOOLEAN AutoResetBuf); - -I16 __stdcall AI_9223_CounterInterval(U16 CardNumber, U32 ScanIntrv, \ - U32 SampIntrv); - -I16 __stdcall AI_922A_Config(U16 CardNumber, U16 ConfigCtrl, U16 TrigCtrl, \ - U32 ReTriggerCnt, BOOLEAN AutoResetBuf); - -I16 __stdcall AI_922A_CounterInterval(U16 CardNumber, U32 ScanIntrv, \ - U32 SampIntrv); - -I16 __stdcall AI_AsyncCheck(U16 CardNumber, BOOLEAN *Stopped, U32 *AccessCnt); - -I16 __stdcall AI_AsyncClear(U16 CardNumber, U32 *AccessCnt); - -I16 __stdcall AI_AsyncDblBufferHalfReady(U16 CardNumber, BOOLEAN *HalfReady, \ - BOOLEAN *StopFlag); - -I16 __stdcall AI_AsyncDblBufferMode(U16 CardNumber, BOOLEAN Enable); - -I16 __stdcall AI_AsyncDblBufferTransfer(U16 CardNumber, U16 *Buffer); - -I16 __stdcall AI_AsyncDblBufferOverrun(U16 CardNumber, U16 op, \ - U16 *overrunFlag); - -I16 __stdcall AI_AsyncDblBufferHandled(U16 CardNumber); - -I16 __stdcall AI_AsyncDblBufferToFile(U16 CardNumber); - -I16 __stdcall AI_AsyncReTrigNextReady(U16 CardNumber, BOOLEAN *Ready, \ - BOOLEAN *StopFlag, U16 *RdyTrigCnt); - -I16 __stdcall AI_ContReadChannel(U16 CardNumber, U16 Channel, U16 AdRange, \ - U16 *Buffer, U32 ReadCount, F64 SampleRate, U16 SyncMode); - -I16 __stdcall AI_ContReadMultiChannels(U16 CardNumber, U16 NumChans, \ - U16 *Chans, U16 *AdRanges, U16 *Buffer, U32 ReadCount, F64 SampleRate, \ - U16 SyncMode); - -I16 __stdcall AI_ContScanChannels(U16 CardNumber, U16 Channel, U16 AdRange, \ - U16 *Buffer, U32 ReadCount, F64 SampleRate, U16 SyncMode); - -I16 __stdcall AI_ContReadChannelToFile(U16 CardNumber, U16 Channel, \ - U16 AdRange, U8 *FileName, U32 ReadCount, F64 SampleRate, U16 SyncMode); - -I16 __stdcall AI_ContReadMultiChannelsToFile(U16 CardNumber, U16 NumChans, \ - U16 *Chans, U16 *AdRanges, U8 *FileName, U32 ReadCount, F64 SampleRate, \ - U16 SyncMode); - -I16 __stdcall AI_ContScanChannelsToFile(U16 CardNumber, U16 Channel, \ - U16 AdRange, U8 *FileName, U32 ReadCount, F64 SampleRate, U16 SyncMode); - -I16 __stdcall AI_ContStatus(U16 CardNumber, U16 *Status); - -I16 __stdcall AI_ContBufferSetup(U16 CardNumber, void *Buffer, U32 ReadCount, \ - U16 *BufferId); - -I16 __stdcall AI_ContBufferReset(U16 CardNumber); - -I16 __stdcall AI_EventCallBack(U16 CardNumber, I16 mode, I16 EventType, \ - U32 callbackAddr); - -I16 __stdcall AI_InitialMemoryAllocated(U16 CardNumber, U32 *MemSize); - -I16 __stdcall AI_ReadChannel(U16 CardNumber, U16 Channel, U16 AdRange, \ - U16 *Value); - -I16 __stdcall AI_ReadChannel32(U16 CardNumber, U16 Channel, U16 AdRange, \ - U32 *Value); - -I16 __stdcall AI_VReadChannel(U16 CardNumber, U16 Channel, U16 AdRange, \ - F64 *voltage); - -I16 __stdcall AI_ScanReadChannels(U16 CardNumber, U16 Channel, U16 AdRange, \ - U16 *Buffer); - -I16 __stdcall AI_ScanReadChannels32(U16 CardNumber, U16 Channel, U16 AdRange, \ - U32 *Buffer); - -I16 __stdcall AI_ReadMultiChannels(U16 CardNumber, U16 NumChans, U16 *Chans, \ - U16 *AdRanges, U16 *Buffer); - -I16 __stdcall AI_VoltScale(U16 CardNumber, U16 AdRange, I16 reading, \ - F64 *voltage); - -I16 __stdcall AI_VoltScale32(U16 CardNumber, U16 adRange, I32 reading, \ - F64 *voltage); - -I16 __stdcall AI_ContVScale(U16 CardNumber, U16 adRange, void *readingArray, \ - F64 *voltageArray, I32 count); - -I16 __stdcall AI_SetTimeOut(U16 CardNumber, U32 TimeOut); - -/*----------------------------------------------------------------------------*/ -/* AO Function */ -I16 __stdcall AO_6202_Config(U16 CardNumber, U16 ConfigCtrl, U16 TrigCtrl, \ - U32 ReTrgCnt, U32 DLY1Cnt, U32 DLY2Cnt, BOOLEAN AutoResetBuf); - -I16 __stdcall AO_6208A_Config(U16 CardNumber, U16 V2AMode); - -I16 __stdcall AO_6308A_Config(U16 CardNumber, U16 V2AMode); - -I16 __stdcall AO_6308V_Config(U16 CardNumber, U16 Channel, U16 OutputPolarity, \ - F64 refVoltage); - -I16 __stdcall AO_9111_Config(U16 CardNumber, U16 OutputPolarity); - -I16 __stdcall AO_9112_Config(U16 CardNumber, U16 Channel, F64 refVoltage); - -I16 __stdcall AO_9222_Config(U16 CardNumber, U16 ConfigCtrl, U16 TrigCtrl, \ - U32 ReTrgCnt, U32 DLY1Cnt, U32 DLY2Cnt, BOOLEAN AutoResetBuf); - -I16 __stdcall AO_9223_Config(U16 CardNumber, U16 ConfigCtrl, U16 TrigCtrl, \ - U32 ReTrgCnt, U32 DLY1Cnt, U32 DLY2Cnt, BOOLEAN AutoResetBuf); - -I16 __stdcall AO_AsyncCheck(U16 CardNumber, BOOLEAN *Stopped, U32 *AccessCnt); - -I16 __stdcall AO_AsyncClear(U16 CardNumber, U32 *AccessCnt, U16 stop_mode); - -I16 __stdcall AO_AsyncDblBufferHalfReady(U16 CardNumber, BOOLEAN *bHalfReady); - -I16 __stdcall AO_AsyncDblBufferMode(U16 CardNumber, BOOLEAN Enable); - -I16 __stdcall AO_ContBufferCompose(U16 CardNumber, U16 TotalChnCount, \ - U16 ChnNum, U32 UpdateCount, void *ConBuffer, void *Buffer); - -I16 __stdcall AO_ContBufferReset(U16 CardNumber); - -I16 __stdcall AO_ContBufferSetup(U16 CardNumber, void *Buffer, U32 WriteCount, \ - U16 *BufferId); - -I16 __stdcall AO_ContStatus(U16 CardNumber, U16 *Status); - -I16 __stdcall AO_ContWriteChannel(U16 CardNumber, U16 Channel, U16 BufId, \ - U32 WriteCount, U32 Iterations, U32 CHUI, U16 definite, U16 SyncMode); - -I16 __stdcall AO_ContWriteMultiChannels(U16 CardNumber, U16 NumChans, \ - U16 *Chans, U16 BufId, U32 WriteCount, U32 Iterations, U32 CHUI, \ - U16 definite, U16 SyncMode); - -I16 __stdcall AO_EventCallBack(U16 CardNumber, I16 mode, I16 EventType, \ - U32 callbackAddr); - -I16 __stdcall AO_InitialMemoryAllocated(U16 CardNumber, U32 *MemSize); - -I16 __stdcall AO_SetTimeOut(U16 CardNumber, U32 TimeOut); - -I16 __stdcall AO_SimuVWriteChannel(U16 CardNumber, U16 Group, F64 *VBuffer); - -I16 __stdcall AO_SimuWriteChannel(U16 CardNumber, U16 Group, I16 *Buffer); - -I16 __stdcall AO_VoltScale(U16 CardNumber, U16 Channel, F64 Voltage, \ - I16 *binValue); - -I16 __stdcall AO_VWriteChannel(U16 CardNumber, U16 Channel, F64 Voltage); - -I16 __stdcall AO_WriteChannel(U16 CardNumber, U16 Channel, I16 Value); - -/*----------------------------------------------------------------------------*/ -/* DI Function */ -I16 __stdcall DI_7200_Config(U16 CardNumber, U16 TrigSource, U16 ExtTrigEn, \ - U16 TrigPol, U16 I_REQ_Pol); - -I16 __stdcall DI_7233_ForceLogic(U16 CardNumber, U16 ConfigCtrl); - -I16 __stdcall DI_7300A_Config(U16 CardNumber, U16 PortWidth, U16 TrigSource, \ - U16 WaitStatus, U16 Terminator, U16 I_REQ_Pol, BOOLEAN clear_fifo, \ - BOOLEAN disable_di); - -I16 __stdcall DI_7300B_Config(U16 CardNumber, U16 PortWidth, U16 TrigSource, \ - U16 WaitStatus, U16 Terminator, U16 I_Cntrl_Pol, BOOLEAN clear_fifo, \ - BOOLEAN disable_di); - -I16 __stdcall DI_7350_Config(U16 CardNumber, U16 DIPortWidth, U16 DIMode, \ - U16 DIWaitStatus, U16 DIClkConfig); - -I16 __stdcall DI_7350_ExportSampCLKConfig(U16 CardNumber, U16 CLK_Src, \ - U16 CLK_DPAMode, U16 CLK_DPAVlaue); - -I16 __stdcall DI_7350_ExtSampCLKConfig(U16 CardNumber, U16 CLK_Src, \ - U16 CLK_DDAMode, U16 CLK_DPAMode, U16 CLK_DDAVlaue, U16 CLK_DPAVlaue); - -I16 __stdcall DI_7350_SoftTriggerGen(U16 CardNumber); - -I16 __stdcall DI_7350_TrigHSConfig(U16 CardNumber, U16 TrigConfig, U16 DI_IPOL, \ - U16 DI_REQSrc, U16 DI_ACKSrc, U16 DI_TRIGSrc, U16 StartTrigSrc, \ - U16 PauseTrigSrc, U16 SoftTrigOutSrc, U32 SoftTrigOutLength, U32 TrigCount); - -I16 __stdcall DI_7350_BurstHandShakeDelay(U16 CardNumber, U8 Delay); - -I16 __stdcall DI_7360_Config(U16 CardNumber, U16 DIPortWidth, U16 DIMode, \ - U16 DIWaitStatus, U16 DIClkConfig); - -I16 __stdcall DI_7360_ExportSampCLKConfig(U16 CardNumber, U16 CLK_Src, \ - U16 CLK_DPAMode, U16 CLK_DPAVlaue); - -I16 __stdcall DI_7360_ExtSampCLKConfig(U16 CardNumber, U16 CLK_Src, \ - U16 CLK_DDAMode, U16 CLK_DPAMode, U16 CLK_DDAVlaue, U16 CLK_DPAVlaue); - -I16 __stdcall DI_7360_SoftTriggerGen(U16 CardNumber); - -I16 __stdcall DI_7360_TrigHSConfig(U16 CardNumber, U16 TrigConfig, U16 DI_IPOL, \ - U16 DI_REQSrc, U16 DI_ACKSrc, U16 DI_TRIGSrc, U16 StartTrigSrc, \ - U16 PauseTrigSrc, U16 SoftTrigOutSrc, U32 SoftTrigOutLength, U32 TrigCount); - -I16 __stdcall DI_7360_BurstHandShakeDelay(U16 CardNumber, U8 Delay); - -I16 __stdcall DI_9222_Config(U16 CardNumber, U16 ConfigCtrl, U16 TrigCtrl, \ - U32 ReTriggerCnt, BOOLEAN AutoResetBuf); - -I16 __stdcall DI_9223_Config(U16 CardNumber, U16 ConfigCtrl, U16 TrigCtrl, \ - U32 ReTriggerCnt, BOOLEAN AutoResetBuf); - -I16 __stdcall DI_AsyncCheck(U16 CardNumber, BOOLEAN *Stopped, U32 *AccessCnt); - -I16 __stdcall DI_AsyncClear(U16 CardNumber, U32 *AccessCnt); - -I16 __stdcall DI_AsyncDblBufferHalfReady(U16 CardNumber, BOOLEAN *HalfReady); - -I16 __stdcall DI_AsyncDblBufferHandled(U16 CardNumber); - -I16 __stdcall DI_AsyncDblBufferMode(U16 CardNumber, BOOLEAN Enable); - -I16 __stdcall DI_AsyncDblBufferToFile(U16 CardNumber); - -I16 __stdcall DI_AsyncDblBufferTransfer(U16 CardNumber, void *Buffer); - -I16 __stdcall DI_AsyncDblBufferOverrun(U16 CardNumber, U16 op, \ - U16 *overrunFlag); - -I16 __stdcall DI_AsyncMultiBuffersHandled(U16 CardNumber, U16 bufcnt, \ - U16* bufs); - -I16 __stdcall DI_AsyncMultiBufferNextReady(U16 CardNumber, BOOLEAN *NextReady, \ - U16 *BufferId); - -I16 __stdcall DI_AsyncReTrigNextReady(U16 CardNumber, BOOLEAN *Ready, \ - BOOLEAN *StopFlag, U16 *RdyTrigCnt); - -I16 __stdcall DI_ContBufferReset(U16 CardNumber); - -I16 __stdcall DI_ContBufferSetup(U16 CardNumber, void *Buffer, U32 ReadCount, \ - U16 *BufferId); - -I16 __stdcall DI_ContMultiBufferSetup(U16 CardNumber, void *Buffer, \ - U32 ReadCount, U16 *BufferId); - -I16 __stdcall DI_ContMultiBufferStart(U16 CardNumber, U16 Port, F64 SampleRate); - -I16 __stdcall DI_ContReadPort(U16 CardNumber, U16 Port, void *Buffer, \ - U32 ReadCount, F64 SampleRate, U16 SyncMode); - -I16 __stdcall DI_ContReadPortToFile(U16 CardNumber, U16 Port, U8 *FileName, \ - U32 ReadCount, F64 SampleRate, U16 SyncMode); - -I16 __stdcall DI_ContStatus(U16 CardNumber, U16 *Status); - -I16 __stdcall DI_EventCallBack(U16 CardNumber, I16 mode, I16 EventType, \ - U32 callbackAddr); - -I16 __stdcall DI_InitialMemoryAllocated(U16 CardNumber, U32 *DmaSize); - -I16 __stdcall DI_ReadLine(U16 CardNumber, U16 Port, U16 Line, U16 *State); - -I16 __stdcall DI_ReadPort(U16 CardNumber, U16 Port, U32 *Value); - -I16 __stdcall DI_SetTimeOut(U16 CardNumber, U32 TimeOut); - -/*----------------------------------------------------------------------------*/ -/* DO Function */ -I16 __stdcall DO_7200_Config(U16 CardNumber, U16 TrigSource, U16 OutReqEn, \ - U16 OutTrigSig); - -I16 __stdcall DO_7300A_Config(U16 CardNumber, U16 PortWidth, U16 TrigSource, \ - U16 WaitStatus, U16 Terminator, U16 O_REQ_Pol); - -I16 __stdcall DO_7300B_Config(U16 CardNumber, U16 PortWidth, U16 TrigSource, \ - U16 WaitStatus, U16 Terminator, U16 O_Cntrl_Pol, U32 FifoThreshold); - -I16 __stdcall DO_7300B_SetDODisableMode(U16 CardNumber, U16 Mode); - -I16 __stdcall DO_7350_Config(U16 CardNumber, U16 DOPortWidth, U16 DOMode, \ - U16 DOWaitStatus, U16 DOClkConfig); - -I16 __stdcall DO_7350_ExportSampCLKConfig(U16 CardNumber, U16 CLK_Src, \ - U16 CLK_DPAMode, U16 CLK_DPAVlaue); - -I16 __stdcall DO_7350_ExtSampCLKConfig(U16 CardNumber, U16 CLK_Src, \ - U16 CLK_DDAMode, U16 CLK_DPAMode, U16 CLK_DDAVlaue, U16 CLK_DPAVlaue); - -I16 __stdcall DO_7350_SoftTriggerGen(U16 CardNumber); - -I16 __stdcall DO_7350_TrigHSConfig(U16 CardNumber, U16 TrigConfig, U16 DO_IPOL, \ - U16 DO_REQSrc, U16 DO_ACKSrc, U16 DO_TRIGSrc, U16 StartTrigSrc, \ - U16 PauseTrigSrc, U16 SoftTrigOutSrc, U32 SoftTrigOutLength, U32 TrigCount); - -I16 __stdcall DO_7350_BurstHandShakeDelay(U16 CardNumber, U8 Delay); - -I16 __stdcall DO_7360_Config(U16 CardNumber, U16 DOPortWidth, U16 DOMode, \ - U16 DOWaitStatus, U16 DOClkConfig); - -I16 __stdcall DO_7360_ExportSampCLKConfig(U16 CardNumber, U16 CLK_Src, \ - U16 CLK_DPAMode, U16 CLK_DPAVlaue); - -I16 __stdcall DO_7360_ExtSampCLKConfig(U16 CardNumber, U16 CLK_Src, \ - U16 CLK_DDAMode, U16 CLK_DPAMode, U16 CLK_DDAVlaue, U16 CLK_DPAVlaue); - -I16 __stdcall DO_7360_SoftTriggerGen(U16 CardNumber); - -I16 __stdcall DO_7360_TrigHSConfig(U16 CardNumber, U16 TrigConfig, U16 DO_IPOL, \ - U16 DO_REQSrc, U16 DO_ACKSrc, U16 DO_TRIGSrc, U16 StartTrigSrc, \ - U16 PauseTrigSrc, U16 SoftTrigOutSrc, U32 SoftTrigOutLength, U32 TrigCount); - -I16 __stdcall DO_7360_BurstHandShakeDelay(U16 CardNumber, U8 Delay); - -I16 __stdcall EDO_9111_Config(U16 CardNumber, U16 EDO_Fun); - -I16 __stdcall DO_9222_Config(U16 CardNumber, U16 ConfigCtrl, U16 TrigCtrl, \ - U32 ReTrgCnt, U32 DLY1Cnt, U32 DLY2Cnt, BOOLEAN AutoResetBuf); - -I16 __stdcall DO_9223_Config(U16 CardNumber, U16 ConfigCtrl, U16 TrigCtrl, \ - U32 ReTrgCnt, U32 DLY1Cnt, U32 DLY2Cnt, BOOLEAN AutoResetBuf); - -I16 __stdcall DO_AsyncCheck(U16 CardNumber, BOOLEAN *Stopped, U32 *AccessCnt); - -I16 __stdcall DO_AsyncClear(U16 CardNumber, U32 *AccessCnt); - -I16 __stdcall DO_AsyncMultiBufferNextReady(U16 CardNumber, BOOLEAN *NextReady, \ - U16 *BufferId); - -I16 __stdcall DO_ContBufferReset(U16 CardNumber); - -I16 __stdcall DO_ContBufferSetup(U16 CardNumber, VOID *Buffer, U32 WriteCount, - U16 *BufferId); - -I16 __stdcall DO_ContMultiBufferSetup(U16 CardNumber, void *Buffer, \ - U32 WriteCount, U16 *BufferId); - -I16 __stdcall DO_ContMultiBufferStart(U16 CardNumber, U16 Port, \ - double fSampleRate); - -I16 __stdcall DO_ContStatus(U16 CardNumber, U16 *Status); - -I16 __stdcall DO_ContWritePort(U16 CardNumber, U16 Port, void *Buffer, \ - U32 WriteCount, U16 Iterations, F64 SampleRate, U16 SyncMode); - -I16 __stdcall DO_ContWritePortEx(U16 CardNumber, U16 Port, void *Buffer, \ - U32 WriteCount, U16 Iterations, F64 SampleRate, U16 SyncMode); - -I16 __stdcall DO_EventCallBack(U16 CardNumber, I16 mode, I16 EventType, \ - U32 callbackAddr); - -I16 __stdcall DO_InitialMemoryAllocated(U16 CardNumber, U32 *MemSize); - -I16 __stdcall DO_PGStart(U16 CardNumber, void *Buffer, U32 WriteCount, \ - F64 SampleRate); - -I16 __stdcall DO_PGStop(U16 CardNumber); - -I16 __stdcall DO_ReadLine(U16 CardNumber, U16 Port, U16 Line, U16 *Value); - -I16 __stdcall DO_ReadPort(U16 CardNumber, U16 Port, U32 *Value); - -I16 __stdcall DO_ResetOutput(U16 CardNumber, U16 reset); - -I16 __stdcall DO_SetTimeOut(U16 CardNumber, U32 TimeOut); - -I16 __stdcall DO_SimuWritePort(U16 CardNumber, U16 NumChans, U32 *Buffer); - -I16 __stdcall DO_WriteExtTrigLine(U16 CardNumber, U16 Value); - -I16 __stdcall DO_WriteLine(U16 CardNumber, U16 Port, U16 Line, U16 Value); - -I16 __stdcall DO_WritePort(U16 CardNumber, U16 Port, U32 Value); - -/*----------------------------------------------------------------------------*/ -/* DIO Function */ -I16 __stdcall DIO_7300SetInterrupt(U16 CardNumber, I16 AuxDIEn, I16 T2En, \ - HANDLE *Event); - -I16 __stdcall DIO_7350_AFIConfig(U16 CardNumber, U16 AFI_Port, U16 AFI_Enable, \ - U16 AFI_Mode, U32 AFI_TrigOutLen); - -I16 __stdcall DIO_7360_AFIConfig(U16 CardNumber, U16 AFI_Port, U16 AFI_Enable, \ - U16 AFI_Mode, U32 AFI_TrigOutLen); - -I16 __stdcall DIO_AUXDI_EventMessage(U16 CardNumber, I16 AuxDIEn, \ - HANDLE windowHandle, U32 message, void *callbackAddr()); - -I16 __stdcall DIO_COSInterruptCounter(U16 CardNumber, U16 Counter_Num, \ - U16 Counter_Mode, U16 DI_Port, U16 DI_Line, U32 *Counter_Value); - -I16 __stdcall DIO_GetCOSLatchData(U16 CardNumber, U16 *CosLData); - -I16 __stdcall DIO_GetCOSLatchData32(U16 CardNumber, U8 Port, U32 *CosLData); - -I16 __stdcall DIO_GetCOSLatchDataInt32(U16 CardNumber, U8 Port, U32 *CosLData); - -I16 __stdcall DIO_GetPMLatchData32(U16 CardNumber, U16 Port, U32 *PMLData); - -I16 __stdcall DIO_INT1_EventMessage(U16 CardNumber, I16 Int1Mode, \ - HANDLE windowHandle, U32 message, void *callbackAddr()); - -I16 __stdcall DIO_INT2_EventMessage(U16 CardNumber, I16 Int2Mode, \ - HANDLE windowHandle, U32 message, void *callbackAddr()); - -I16 __stdcall DIO_INT_Event_Message(U16 CardNumber, I16 mode, HANDLE evt, \ - HANDLE windowHandle, U32 message, U32 callbackAddr); - -I16 __stdcall DIO_LineConfig(U16 CardNumber, U16 Port, U16 Line, U16 Direction); - -I16 __stdcall DIO_LinesConfig(U16 CardNumber, U16 Port, U16 Linesdirmap); - -I16 __stdcall DIO_PortConfig(U16 CardNumber, U16 Port, U16 Direction); - -I16 __stdcall DIO_PMConfig(U16 CardNumber, U16 Channel, U16 PM_ChnEn, \ - U16 PM_ChnType); - -I16 __stdcall DIO_PMControl(U16 CardNumber, U16 Port, U16 PM_Start, \ - HANDLE *hEvent, BOOLEAN ManualReset); - -I16 __stdcall DIO_SetCOSInterrupt(U16 CardNumber, U16 Port, U16 ctlA, U16 ctlB,\ - U16 ctlC); - -I16 __stdcall DIO_SetCOSInterrupt32(U16 CardNumber, U8 Port, U32 ctl, \ - HANDLE *Event, BOOLEAN ManualReset); - -I16 __stdcall DIO_SetPMInterrupt32(U16 CardNumber, U16 Port, U32 Ctrl, \ - U32 Pattern1, U32 Pattern2, HANDLE *hEvent, BOOLEAN ManualReset); - -I16 __stdcall DIO_SetDualInterrupt(U16 CardNumber, I16 Int1Mode, I16 Int2Mode, \ - HANDLE *Event); - -I16 __stdcall DIO_T2_EventMessage(U16 CardNumber, I16 T2En, \ - HANDLE windowHandle, U32 message, void *callbackAddr()); - -I16 __stdcall DIO_VoltLevelConfig(U16 CardNumber, U16 PortType, U16 VoltLevel); - -I16 __stdcall DIO_AFIConfig(U16 wCardNumber, U16 wAFI_Port, \ - U16 wAFI_Enable, U16 wAFI_Mode, U32 dwAFI_TrigOutLen); -/*----------------------------------------------------------------------------*/ -/* Timer/Counter Function */ -I16 __stdcall CTR_8554_CK1_Config(U16 CardNumber, U16 ClockSource); - -I16 __stdcall CTR_8554_ClkSrc_Config(U16 CardNumber, U16 Ctr, U16 ClockSource); - -I16 __stdcall CTR_8554_Debounce_Config(U16 CardNumber, U16 DebounceClock); - -I16 __stdcall CTR_Clear(U16 CardNumber, U16 Ctr, U16 State); - -I16 __stdcall CTR_Read(U16 CardNumber, U16 Ctr, U32 *Value); - -I16 __stdcall CTR_Read_All(U16 CardNumber, U16 CtrCnt, U16 *Ctr, U32 *Value); - -I16 __stdcall CTR_Setup(U16 CardNumber, U16 Ctr, U16 Mode, U32 Count, \ - U16 BinBcd); - -I16 __stdcall CTR_Setup_All(U16 CardNumber, U16 CtrCnt, U16 *Ctr, U16 *Mode, \ - U32 *Count, U16 *BinBcd); - -I16 __stdcall CTR_Status(U16 CardNumber, U16 Ctr, U32 *Value); - -I16 __stdcall CTR_Update(U16 CardNumber, U16 Ctr, U32 Count); - -I16 __stdcall GCTR_Clear(U16 CardNumber, U16 GCtr); - -I16 __stdcall GCTR_Read(U16 CardNumber, U16 GCtr, U32 *Value); - -I16 __stdcall GCTR_Setup(U16 CardNumber, U16 GCtr, U16 GCtrCtrl, U32 Count); - -I16 __stdcall GPTC_9524_PG_Config(U16 CardNumber, U16 GCtr, U32 PulseGenNum); - -I16 __stdcall GPTC_Clear(U16 CardNumber, U16 GCtr); - -I16 __stdcall GPTC_Control(U16 CardNumber, U16 GCtr, U16 ParamID, U16 Value); - -I16 __stdcall GPTC_EventCallBack(U16 CardNumber, I16 Enabled, I16 EventType, \ - U32 callbackAddr); - -I16 __stdcall GPTC_EventSetup(U16 CardNumber, U16 GCtr, U16 Mode, U16 Ctrl, \ - U32 LVal_1, U32 LVal_2); - -I16 __stdcall GPTC_Read(U16 CardNumber, U16 GCtr, U32 *Value); - -I16 __stdcall GPTC_Setup(U16 CardNumber, U16 GCtr, U16 Mode, U16 SrcCtrl, \ - U16 PolCtrl, U32 LReg1_Val, U32 LReg2_Val); - -I16 __stdcall GPTC_Status(U16 CardNumber, U16 GCtr, U16 *Value); - -I16 __stdcall GPTC_9524_GetTimerEvent(U16 CardNumber, U16 GCtr, HANDLE *hEvent); - -I16 __stdcall WDT_Control(U16 CardNumber, U16 Ctr, U16 action); - -I16 __stdcall WDT_Reload(U16 CardNumber, U16 Ctr, F32 ovflowSec, \ - F32 *actualSec); - -I16 __stdcall WDT_Setup(U16 CardNumber, U16 Ctr, F32 ovflowSec, \ - F32 *actualSec, HANDLE *Event); - -I16 __stdcall WDT_Status(U16 CardNumber, U16 Ctr, U32 *Value); - -/*----------------------------------------------------------------------------*/ -/* Get Event or View Function */ -I16 __stdcall AI_GetEvent(U16 CardNumber, HANDLE *Event); - -I16 __stdcall AO_GetEvent(U16 CardNumber, HANDLE *Event); - -I16 __stdcall DI_GetEvent(U16 CardNumber, HANDLE *Event); - -I16 __stdcall DO_GetEvent(U16 CardNumber, HANDLE *Event); - -I16 __stdcall AI_GetView(U16 CardNumber, U32 *View); - -I16 __stdcall DI_GetView(U16 CardNumber, U32 *View); - -I16 __stdcall DO_GetView(U16 CardNumber, U32 *View); - -/*---------------------------------------------------------------------------*/ -/* Common Function */ -I16 __stdcall GetActualRate(U16 CardNumber, F64 SampleRate, F64 *ActualRate); - -I16 __stdcall GetActualRate_9524(U16 CardNumber, U16 Group, F64 SampleRate, \ - F64 *ActualRate); - -I16 __stdcall GetBaseAddr(U16 CardNumber, U32 *BaseAddr, U32 *BaseAddr2); - -I16 __stdcall GetCardIndexFromID(U16 CardNumber, U16 *cardType, U16 *cardIndex); - -I16 __stdcall GetCardType(U16 CardNumber, U16 *cardType); - -I16 __stdcall GetLCRAddr(U16 CardNumber, U32 *LcrAddr); - -I16 __stdcall PCI_EEPROM_LoadData(U16 CardNumber, U16 block, U16 *data); - -I16 __stdcall PCI_EEPROM_SaveData(U16 CardNumber, U16 block, U16 data); -/*----------------------------------------------------------------------------*/ -/* Safety Control Function */ -I16 __stdcall EMGShutDownControl(U16 CardNumber, U8 ctrl); - -I16 __stdcall EMGShutDownStatus(U16 CardNumber, U8 *sts); - -I16 __stdcall GetInitPattern(U16 CardNumber, U8 patID, U32 *pattern); - -I16 __stdcall HotResetHoldControl(U16 CardNumber, U8 enable); - -I16 __stdcall HotResetHoldStatus(U16 CardNumber, U8 *sts); - -I16 __stdcall IdentifyLED_Control(U16 CardNumber, U8 ctrl); - -I16 __stdcall SetInitPattern(U16 CardNumber, U8 patID, U32 pattern); - -/*----------------------------------------------------------------------------*/ -/* Calibration Function */ -I16 __stdcall PCI9524_Acquire_AD_CalConst(U16 CardNumber, U16 Group, \ - U16 ADC_Range, U16 ADC_Speed, U32 *CalDate, F32 *CalTemp, U32 *ADC_offset, \ - U32 *ADC_gain, F64 *Residual_offset, F64 *Residual_scaling); - -I16 __stdcall PCI9524_Acquire_DA_CalConst(U16 CardNumber, U16 Channel, \ - U32 *CalDate, F32 *CalTemp, U8 *DAC_offset, U8 *DAC_linearity, \ - F32 *Gain_factor); - -I16 __stdcall PCI9524_Read_EEProm(U16 CardNumber, U16 ReadAddr, U8 *ReadData); - -I16 __stdcall PCI9524_Read_RemoteSPI(U16 CardNumber, U16 Addr, U8 *RdData); - -I16 __stdcall PCI9524_Write_EEProm(U16 CardNumber, U16 WriteAddr, U8 *WriteData); - -I16 __stdcall PCI9524_Write_RemoteSPI(U16 CardNumber, U16 Addr, U8 WrtData); - -I16 __stdcall PCI_DB_Auto_Calibration_ALL(U16 CardNumber); - -I16 __stdcall PCI_EEPROM_CAL_Constant_Update(U16 CardNumber, U16 bank); - -I16 __stdcall PCI_Load_CAL_Data(U16 CardNumber, U16 bank); - -/*----------------------------------------------------------------------------*/ -/* SSI Function */ -I16 __stdcall SSI_SourceConn(U16 CardNumber, U16 sigCode); - -I16 __stdcall SSI_SourceDisConn(U16 CardNumber, U16 sigCode); - -I16 __stdcall SSI_SourceClear(U16 CardNumber); - -/*----------------------------------------------------------------------------*/ -/* PWM Function */ -I16 __stdcall PWM_Output(U16 CardNumber, U16 Channel, U32 high_interval, \ - U32 low_interval); - -I16 __stdcall PWM_Stop(U16 CardNumber, U16 Channel); - -/*----------------------------------------------------------------------------*/ -/* I2C Function */ -I16 __stdcall I2C_Setup(U16 CardNumber, U16 I2C_Port, U16 I2C_Config, \ - U32 I2C_SetupValue1, U32 I2C_SetupValue2); - -I16 __stdcall I2C_Control(U16 CardNumber, U16 I2C_Port, U16 I2C_CtrlParam, \ - U32 I2C_CtrlValue); - -I16 __stdcall I2C_Status(U16 CardNumber, U16 I2C_Port, U32 *I2C_Status); - -I16 __stdcall I2C_Read(U16 CardNumber, U16 I2C_Port, U16 I2C_SlaveAddr, \ - U16 I2C_CmdAddrBytes, U16 I2C_DataBytes, U32 I2C_CmdAddr, U32 *I2C_Data); - -I16 __stdcall I2C_Write(U16 CardNumber, U16 I2C_Port, U16 I2C_SlaveAddr, \ - U16 I2C_CmdAddrBytes, U16 I2C_DataBytes, U32 I2C_CmdAddr, U32 I2C_Data); - -/*----------------------------------------------------------------------------*/ -/* SPI Function */ -I16 __stdcall SPI_Setup(U16 CardNumber, U16 SPI_Port, U16 SPI_Config, \ - U32 SPI_SetupValue1, U32 SPI_SetupValue2); - -I16 __stdcall SPI_Control(U16 CardNumber, U16 SPI_Port, U16 SPI_CtrlParam, \ - U32 SPI_CtrlValue); - -I16 __stdcall SPI_Status(U16 CardNumber, U16 SPI_Port, U32 *SPI_Status); - -I16 __stdcall SPI_Read(U16 CardNumber, U16 SPI_Port, U16 SPI_SlaveAddr, \ - U16 SPI_CmdAddrBits, U16 SPI_DataBits, U16 SPI_FrontDummyBits, \ - U32 SPI_CmdAddr, U32 *SPI_Data); - -I16 __stdcall SPI_Write(U16 CardNumber, U16 SPI_Port, U16 SPI_SlaveAddr, \ - U16 SPI_CmdAddrBits, U16 SPI_DataBits, U16 SPI_FrontDummyBits, \ - U16 SPI_TailDummyBits, U32 SPI_CmdAddr, U32 SPI_Data); - -/*----------------------------------------------------------------------------*/ - -#ifdef __cplusplus -} -#endif - -#endif diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Include/Dask.pas b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Include/Dask.pas deleted file mode 100644 index f3f73a3..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Include/Dask.pas +++ /dev/null @@ -1,1649 +0,0 @@ -unit DASK; - -interface - -Const - -(*-------- ADLink PCI Card Type -----------*) - PCI_6208V = 1; - PCI_6208A = 2; - PCI_6308V = 3; - PCI_6308A = 4; - PCI_7200 = 5; - PCI_7230 = 6; - PCI_7233 = 7; - PCI_7234 = 8; - PCI_7248 = 9; - PCI_7249 = 10; - PCI_7250 = 11; - PCI_7252 = 12; - PCI_7296 = 13; - PCI_7300A_RevA = 14; - PCI_7300A_RevB = 15; - PCI_7432 = 16; - PCI_7433 = 17; - PCI_7434 = 18; - PCI_8554 = 19; - PCI_9111DG = 20; - PCI_9111HR = 21; - PCI_9112 = 22; - PCI_9113 = 23; - PCI_9114DG = 24; - PCI_9114HG = 25; - PCI_9118DG = 26; - PCI_9118HG = 27; - PCI_9118HR = 28; - PCI_9810 = 29; - PCI_9812 = 30; - PCI_7396 = 31; - PCI_9116 = 32; - PCI_7256 = 33; - PCI_7258 = 34; - PCI_7260 = 35; - PCI_7452 = 36; - PCI_7442 = 37; - PCI_7443 = 38; - PCI_7444 = 39; - PCI_9221 = 40; - PCI_9524 = 41; - PCI_6202 = 42; - PCI_9222 = 43; - PCI_9223 = 44; - PCI_7433C = 45; - PCI_7434C = 46; - PCI_922A = 47; - PCI_7350 = 48; - - MAX_CARD = 32; - -(*-------- Error Number -----------*) - NoError = 0; - ErrorUnknownCardType = -1; - ErrorInvalidCardNumber = -2; - ErrorTooManyCardRegistered = -3; - ErrorCardNotRegistered = -4; - ErrorFuncNotSupport = -5; - ErrorInvalidIoChannel = -6; - ErrorInvalidAdRange = -7; - ErrorContIoNotAllowed = -8; - ErrorDiffRangeNotSupport = -9; - ErrorLastChannelNotZero = -10; - ErrorChannelNotDescending = -11; - ErrorChannelNotAscending = -12; - ErrorOpenDriverFailed = -13; - ErrorOpenEventFailed = -14; - ErrorTransferCountTooLarge = -15; - ErrorNotDoubleBufferMode = -16; - ErrorInvalidSampleRate = -17; - ErrorInvalidCounterMode = -18; - ErrorInvalidCounter = -19; - ErrorInvalidCounterState = -20; - ErrorInvalidBinBcdParam = -21; - ErrorBadCardType = -22; - ErrorInvalidDaRefVoltage = -23; - ErrorAdTimeOut = -24; - ErrorNoAsyncAI = -25; - ErrorNoAsyncAO = -26; - ErrorNoAsyncDI = -27; - ErrorNoAsyncDO = -28; - ErrorNotInputPort = -29; - ErrorNotOutputPort = -30; - ErrorInvalidDioPort = -31; - ErrorInvalidDioLine = -32; - ErrorContIoActive = -33; - ErrorDblBufModeNotAllowed = -34; - ErrorConfigFailed = -35; - ErrorInvalidPortDirection = -36; - ErrorBeginThreadError = -37; - ErrorInvalidPortWidth = -38; - ErrorInvalidCtrSource = -39; - ErrorOpenFile = -40; - ErrorAllocateMemory = -41; - ErrorDaVoltageOutOfRange = -42; - ErrorDaExtRefNotAllowed = -43; - ErrorDIODataWidthError = -44; - ErrorTaskCodeError = -45; - ErrortriggercountError = -46; - ErrorInvalidTriggerMode = -47; - ErrorInvalidTriggerType = -48; - ErrorInvalidCounterValue = -50; - ErrorInvalidEventHandle = -60; - ErrorNoMessageAvailable = -61; - ErrorEventMessgaeNotAdded = -62; - ErrorCalibrationTimeOut = -63; - ErrorUndefinedParameter = -64; - ErrorInvalidBufferID = -65; - ErrorInvalidSampledClock = -66; - ErrorInvalisOperationMode = -67; - - ErrorConfigIoctl = -201; - ErrorAsyncSetIoctl = -202; - ErrorDBSetIoctl = -203; - ErrorDBHalfReadyIoctl = -204; - ErrorContOPIoctl = -205; - ErrorContStatusIoctl = -206; - ErrorPIOIoctl = -207; - ErrorDIntSetIoctl = -208; - ErrorWaitEvtIoctl = -209; - ErrorOpenEvtIoctl = -210; - ErrorCOSIntSetIoctl = -211; - ErrorMemMapIoctl = -212; - ErrorMemUMapSetIoctl = -213; - ErrorCTRIoctl = -214; - ErrorGetResIoctl = -215; - ErrorCalIoctl = -216; - ErrorPMIntSetIoctl = -217; - -(*-------- AD Range -----------*) - AD_B_10_V = 1; - AD_B_5_V = 2; - AD_B_2_5_V = 3; - AD_B_1_25_V = 4; - AD_B_0_625_V = 5; - AD_B_0_3125_V = 6; - AD_B_0_5_V = 7; - AD_B_0_05_V = 8; - AD_B_0_005_V = 9; - AD_B_1_V = 10; - AD_B_0_1_V = 11; - AD_B_0_01_V = 12; - AD_B_0_001_V = 13; - AD_U_20_V = 14; - AD_U_10_V = 15; - AD_U_5_V = 16; - AD_U_2_5_V = 17; - AD_U_1_25_V = 18; - AD_U_1_V = 19; - AD_U_0_1_V = 20; - AD_U_0_01_V = 21; - AD_U_0_001_V = 22; - AD_B_2_V = 23; - AD_B_0_25_V = 24; - AD_B_0_2_V = 25; - AD_U_4_V = 26; - AD_U_2_V = 27; - AD_U_0_5_V = 28; - AD_U_0_4_V = 29; - - -(*-------- AO Terminate Mode -----------*) - DA_TerminateImmediate = 0; - - -(*-------- Trigger Mode -----------*) - TRIG_SOFTWARE = 0; - TRIG_INT_PACER = 1; - TRIG_EXT_STROBE = 2; - TRIG_HANDSHAKE = 3; - TRIG_CLK_10MHZ = 4; (* PCI-7300A *) - TRIG_CLK_20MHZ = 5; (* PCI-7300A *) - TRIG_DO_CLK_TIMER_ACK = 6; (* PCI-7300A Rev. B *) - TRIG_DO_CLK_10M_ACK = 7; (* PCI-7300A Rev. B *) - TRIG_DO_CLK_20M_ACK = 8; (* PCI-7300A Rev. B *) - -(*-- Virtual Sampling Rate for using external clock as the clock source --*) - CLKSRC_EXT_SampRate = 10000; - -(*-------- Constants for PCI-6208A -----------*) -(*-- Output Mode --*) - P6208_CURRENT_0_20MA = 0; - P6208_CURRENT_5_25MA = 1; - P6208_CURRENT_4_20MA = 3; -(*-------- Constants for PCI-6308A/PCI-6308V -----------*) -(*-- Output Mode --*) - P6308_CURRENT_0_20MA = 0; - P6308_CURRENT_5_25MA = 1; - P6308_CURRENT_4_20MA = 3; -(*-- AO Setting --*) - P6308V_AO_CH0_3 = 0; - P6308V_AO_CH4_7 = 1; - P6308V_AO_UNIPOLAR = 0; - P6308V_AO_BIPOLAR = 1; -(*-------- Constants for PCI-7200 ------------*) -(*-- InputMode --*) - DI_WAITING = $02; - DI_NOWAITING = $00; - DI_TRIG_RISING = $04; - DI_TRIG_FALLING = $00; - IREQ_RISING = $08; - IREQ_FALLING = $00; -(*------- Output Mode ---------------------- *) - OREQ_ENABLE = $10; - OREQ_DISABLE = $00; - OTRIG_HIGH = $20; - OTRIG_LOW = $00; - -(*--------- Constants for PCI-7248/7296/7442 ----------*) -(*--- DIO Port Direction ---*) - INPUT_PORT = 1; - OUTPUT_PORT = 2; -(*--- DIO Line Direction ---*) - INPUT_LINE = 1; - OUTPUT_LINE = 2; - -(*--- Channel&Port ---*) - Channel_P1A = 0; - Channel_P1B = 1; - Channel_P1C = 2; - Channel_P1CL = 3; - Channel_P1CH = 4; - Channel_P1AE = 10; - Channel_P1BE = 11; - Channel_P1CE = 12; - Channel_P2A = 5; - Channel_P2B = 6; - Channel_P2C = 7; - Channel_P2CL = 8; - Channel_P2CH = 9; - Channel_P2AE = 15; - Channel_P2BE = 16; - Channel_P2CE = 17; - Channel_P3A = 10; - Channel_P3B = 11; - Channel_P3C = 12; - Channel_P3CL = 13; - Channel_P3CH = 14; - Channel_P4A = 15; - Channel_P4B = 16; - Channel_P4C = 17; - Channel_P4CL = 18; - Channel_P4CH = 19; - Channel_P5A = 20; - Channel_P5B = 21; - Channel_P5C = 22; - Channel_P5CL = 23; - Channel_P5CH = 24; - Channel_P6A = 25; - Channel_P6B = 26; - Channel_P6C = 27; - Channel_P6CL = 28; - Channel_P6CH = 29; - Channel_P1 = 30; - Channel_P2 = 31; - Channel_P3 = 32; - Channel_P4 = 33; - Channel_P1E = 34; - Channel_P2E = 35; - Channel_P3E = 36; - Channel_P4E = 37; - - P7442_CH0 = 0; - P7442_CH1 = 1; - P7442_TTL0 = 2; - P7442_TTL1 = 3; - P7443_CH0 = 0; - P7443_CH1 = 1; - P7443_CH2 = 2; - P7443_CH3 = 3; - P7443_TTL0 = 4; - P7443_TTL1 = 5; - P7444_CH0 = 0; - P7444_CH1 = 1; - P7444_CH2 = 2; - P7444_CH3 = 3; - P7444_TTL0 = 4; - P7444_TTL1 = 5; - -(*-------- Constants for PCI-7300A -------------------*) -(*--- Wait Status ---*) - P7300_WAIT_NO = 0; - P7300_WAIT_TRG = 1; - P7300_WAIT_FIFO = 2; - P7300_WAIT_BOTH = 3; - -(*--- Terminator control ---*) - P7300_TERM_OFF = 0; - P7300_TERM_ON = 1; - -(*--- DI control signals polarity for PCI-7300A Rev. B ---*) - P7300_DIREQ_POS = $00; - P7300_DIREQ_NEG = $01; - P7300_DIACK_POS = $00; - P7300_DIACK_NEG = $02; - P7300_DITRIG_POS = $00; - P7300_DITRIG_NEG = $04; - -(*--- DO control signals polarity for PCI-7300A Rev. B ---*) - P7300_DOREQ_POS = $00; - P7300_DOREQ_NEG = $08; - P7300_DOACK_POS = $00; - P7300_DOACK_NEG = $10; - P7300_DOTRIG_POS = $00; - P7300_DOTRIG_NEG = $20; - -(*--- DO Disable mode in DO_AsyncClear ---*) - P7300_DODisableDOEnabled = 0; - P7300_DONotDisableDOEnabled = 1; - -(*-------- Constants for PCI-7432/7433/7434/7433C/7434C ---------------*) - PORT_DI_LOW = 0; - PORT_DI_HIGH = 1; - PORT_DO_LOW = 0; - PORT_DO_HIGH = 1; - P7432R_DO_LED = 1; - P7433R_DO_LED = 0; - P7434R_DO_LED = 2; - P7432R_DI_SLOT = 1; - P7433R_DI_SLOT = 2; - P7434R_DI_SLOT = 0; - -(*-- Dual-Interrupt Source control for PCI-7248/29/96 & 7432/33 & 7230/7233 & 8554 & 7396 & 7256/58/60 & 7433C --*) - INT1_NC = -2; (* INT1 Unchanged *) - INT1_DISABLE = -1; (* INT1 Disabled *) - INT1_COS = 0; (* INT1 COS : only available for PCI-7396, PCI-7256/58/60 *) - INT1_FP1C0 = 1; (* INT1 by Falling edge of P1C0 : only available for PCI7248/96/7396 *) - INT1_RP1C0_FP1C3 = 2; (* INT1 by P1C0 Rising or P1C3 Falling : only available for PCI7248/96/7396 *) - INT1_EVENT_COUNTER = 3; (* INT1 by Event Counter down to zero : only available for PCI7248/96/7396 *) - INT1_EXT_SIGNAL = 1; (* INT1 by external signal: only available for PCI7432/33 *) - INT1_COUT12 = 1; (* INT1 COUT12 : only available for PCI8554 *) - INT1_CH0 = 1; (* INT1 CH0 : only available for PCI7256/58/60 *) - INT1_COS0 = 1; (* INT1 COS0 : only available for PCI-7452/7442/7443 *) - INT1_COS1 = 2; (* INT1 COS1 : only available for PCI-7452/7442/7443 *) - INT1_COS2 = 4; (* INT1 COS2 : only available for PCI-7452/7443 *) - INT1_COS3 = 8; (* INT1 COS3 : only available for PCI-7452/7443 *) - INT2_NC = -2; (* INT2 Unchanged *) - INT2_DISABLE = -1; (* INT2 Disabled *) - INT2_COS = 0; (* INT2 COS : only available for PCI-7396 *) - INT2_FP2C0 = 1; (* INT2 by Falling edge of P2C0 : only available for PCI7248/96/7396 *) - INT2_RP2C0_FP2C3 = 2; (* INT2 by P2C0 Rising or P2C3 Falling : only available for PCI7248/96/7396 *) - INT2_TIMER_COUNTER = 3; (* INT2 by Timer Counter down to zero : only available for PCI7248/96/7396 *) - INT2_EXT_SIGNAL = 1; (* INT2 by external signal: only available for PCI7432/33 *) - INT2_CH1 = 2; (* INT2 CH1 : only available for PCI7256/58/60 *) - INT2_WDT = 4; (* INT2 by WDT *) - - WDT_OVRFLOW_SAFETYOUT = $8000; (* enable safteyout while WDT overflow *) -(*-------- Constants for PCI-8554 -----------*) -(*-- Clock Source of Cunter N --*) - ECKN = 0; - COUTN_1 = 1; - CK1 = 2; - COUT10 = 3; - -(*-- Clock Source of CK1 --*) - CK1_C8M = 0; - CK1_COUT11 = 1; - -(*-- Debounce Clock --*) - DBCLK_COUT11 = 0; - DBCLK_2MHZ = 1; - -(*-------- Constants for PCI-9111 ------------*) -(*-- Dual Interrupt Mode --*) - P9111_INT1_EOC = 0; (* Ending of AD conversion *) - P9111_INT1_FIFO_HF = 1; (* FIFO Half Full *) - P9111_INT2_PACER = 0; (* Every Timer tick *) - P9111_INT2_EXT_TRG = 1; (* ExtTrig High->Low *) - -(*-- Channel Count --*) - P9111_CHANNEL_DO = 0; - P9111_CHANNEL_EDO = 1; - P9111_CHANNEL_DI = 0; - P9111_CHANNEL_EDI = 1; - -(*-- EDO function --*) - P9111_EDO_INPUT = 1; (* EDO port set as Input port *) - P9111_EDO_OUT_EDO = 2; (* EDO port set as Output port *) - P9111_EDO_OUT_CHN = 3; (* EDO port set as channel number ouput port *) - -(*-- Trigger Mode --*) - P9111_TRGMOD_SOFT = 0; (* Software Trigger Mode *) - P9111_TRGMOD_PRE = 1; (* Pre-Trigger Mode *) - P9111_TRGMOD_POST = 2; (* Post Trigger Mode *) - -(*-- AO Setting --*) - P9111_AO_UNIPOLAR = 0; - P9111_AO_BIPOLAR = 1; - -(*-------- Constants for PCI-9116 ------------*) - P9116_AI_LocalGND = $00; - P9116_AI_UserCMMD = $01; - P9116_AI_SingEnded = $00; - P9116_AI_Differential = $02; - P9116_AI_BiPolar = $00; - P9116_AI_UniPolar = $04; - - P9116_TRGMOD_SOFT = $00; (* Software Trigger Mode *) - P9116_TRGMOD_POST = $10; (* Post Trigger Mode *) - P9116_TRGMOD_DELAY = $20; (* Delay Trigger Mode *) - P9116_TRGMOD_PRE = $30; (* Pre-Trigger Mode *) - P9116_TRGMOD_MIDL = $40; (* Middle Trigger Mode *) - P9116_AI_TrgPositive = $00; - P9116_AI_TrgNegative = $80; - P9116_AI_IntTimeBase = $00; - P9116_AI_ExtTimeBase = $100; - P9116_AI_DlyInSamples = $200; - P9116_AI_DlyInTimebase = $000; - P9116_AI_ReTrigEn = $400; - P9116_AI_MCounterEn = $800; - P9116_AI_SoftPolling = $0000; - P9116_AI_INT = $1000; - P9116_AI_DMA = $2000; - -(*-------- Constants for PCI-9118 ------------*) - P9118_AI_BiPolar = $00; - P9118_AI_UniPolar = $01; - - P9118_AI_SingEnded = $00; - P9118_AI_Differential = $02; - - P9118_AI_ExtG = $04; - - P9118_AI_ExtTrig = $08; - - P9118_AI_DtrgNegative = $00; - P9118_AI_DtrgPositive = $10; - - P9118_AI_EtrgNegative = $00; - P9118_AI_EtrgPositive = $20; - - P9118_AI_BurstModeEn = $40; - P9118_AI_SampleHold = $80; - P9118_AI_PostTrgEn = $100; - P9118_AI_AboutTrgEn = $200; - -(*-------- Constants for PCI-9812 ------------*) -(*-- Channel Count --*) - P9812_CHANNEL_CNT1 = 1; (* Channel 0 is enabled *) - P9812_CHANNEL_CNT2 = 2; (* Channel 0 and 1 is enabled *) - P9812_CHANNEL_CNT4 = 4; (* All channels are enabled *) - -(*-- Trigger Mode --*) - P9812_TRGMOD_SOFT = $00; (* Software Trigger Mode *) - P9812_TRGMOD_POST = $01; (* Post Trigger Mode *) - P9812_TRGMOD_PRE = $02; (* Pre-Trigger Mode *) - P9812_TRGMOD_DELAY = $03; (* Delay Trigger Mode *) - P9812_TRGMOD_MIDL = $04; (* Middle Trigger Mode *) - - P9812_AIEvent_Manual = $80; (* AI event manual reset *) - -(*-- Trigger Source --*) - P9812_TRGSRC_CH0 = $00; (* trigger source --CH0 *) - P9812_TRGSRC_CH1 = $08; (* trigger source --CH1 *) - P9812_TRGSRC_CH2 = $10; (* trigger source --CH2 *) - P9812_TRGSRC_CH3 = $18; (* trigger source --CH3 *) - P9812_TRGSRC_EXT_DIG = $20; (* External Digital Trigger *) - -(*-- Trigger Polarity --*) - P9812_TRGSLP_POS = $00; (* Positive slope trigger *) - P9812_TRGSLP_NEG = $40; (* Negative slope trigger *) - -(*-- Frequency Selection --*) - P9812_AD2_GT_PCI = $80; (* Freq. of A/D clock > PCI clock freq. *) - P9812_AD2_LT_PCI = $00; (* Freq. of A/D clock < PCI clock freq. *) - -(*-- Clock Source --*) - P9812_CLKSRC_INT = $000; (* Internal clock *) - P9812_CLKSRC_EXT_SIN = $100; (* External SIN wave clock *) - P9812_CLKSRC_EXT_DIG = $200; (* External Square wave clock *) - - -(*-------- Constants for PCI-9221 -------*) -(*-- Input Type --*) - P9221_AI_SingEnded = $00; - P9221_AI_NonRef_SingEnded = $01; - P9221_AI_Differential = $02; - -(*-- Trigger Mode --*) - P9221_TRGMOD_SOFT = $00; - P9221_TRGMOD_ExtD = $08; - -(*-- Trigger Source --*) - P9221_TRGSRC_GPI0 = $00; - P9221_TRGSRC_GPI1 = $01; - P9221_TRGSRC_GPI2 = $02; - P9221_TRGSRC_GPI3 = $03; - P9221_TRGSRC_GPI4 = $04; - P9221_TRGSRC_GPI5 = $05; - P9221_TRGSRC_GPI6 = $06; - P9221_TRGSRC_GPI7 = $07; - -(*-- Trigger Polarity --*) - P9221_AI_TrgPositive = $00; - P9221_AI_TrgNegative = $10; - -(*-- TimeBase Mode --*) - P9221_AI_IntTimeBase = $00; - P9221_AI_ExtTimeBase = $80; - -(*-- TimeBase Source --*) - P9221_TimeBaseSRC_GPI0 = $00; - P9221_TimeBaseSRC_GPI1 = $10; - P9221_TimeBaseSRC_GPI2 = $20; - P9221_TimeBaseSRC_GPI3 = $30; - P9221_TimeBaseSRC_GPI4 = $40; - P9221_TimeBaseSRC_GPI5 = $50; - P9221_TimeBaseSRC_GPI6 = $60; - P9221_TimeBaseSRC_GPI7 = $70; - -(*-- DAQ Event type for the event message --*) - AIEnd = 0; - AOEnd = 0; - DIEnd = 0; - DOEnd = 0; - DBEvent = 1; - TrigEvent = 2; - -(*-- EMG shdn ctrl code --*) - EMGSHDN_OFF = 0; - EMGSHDN_ON = 1; - EMGSHDN_RECOVERY = 2; - -(*-- Hot Reset Hold ctrl code --*) - HRH_OFF = 0; - HRH_ON = 1; - -(*-- COS Counter OP --*) - COS_COUNTER_RESET = 0; - COS_COUNTER_SETUP = 1; - COS_COUNTER_START = 2; - COS_COUNTER_STOP = 3; - COS_COUNTER_READ = 4; - -(*-------- Timer/Counter -----------------------------*) -(*-- Counter Mode (8254) --*) - TOGGLE_OUTPUT = 0; (* Toggle output from low to high on terminal count *) - PROG_ONE_SHOT = 1; (* Programmable one-shot *) - RATE_GENERATOR = 2; (* Rate generator *) - SQ_WAVE_RATE_GENERATOR = 3; (* Square wave rate generator *) - SOFT_TRIG = 4; (* Software-triggered strobe *) - HARD_TRIG = 5; (* Hardware-triggered strobe *) - -(* General Purpose Timer/Counter *) -(* -- Counter Mode -- *) - General_Counter = $00; (* general counter *) - Pulse_Generation = $01; (* pulse generation *) -(* -- GPTC clock source --*) - GPTC_CLKSRC_EXT = $08; - GPTC_CLKSRC_INT = $00; - GPTC_GATESRC_EXT = $10; - GPTC_GATESRC_INT = $00; - GPTC_UPDOWN_SELECT_EXT = $20; - GPTC_UPDOWN_SELECT_SOFT = $00; - GPTC_UP_CTR = $40; - GPTC_DOWN_CTR = $00; - GPTC_ENABLE = $80; - GPTC_DISABLE = $00; - -(*-- General Purpose Timer/Counter for 9221 --*) -(*-- Counter Mode --*) - SimpleGatedEventCNT = $01; - SinglePeriodMSR = $02; - SinglePulseWidthMSR = $03; - SingleGatedPulseGen = $04; - SingleTrigPulseGen = $05; - RetrigSinglePulseGen = $06; - SingleTrigContPulseGen = $07; - ContGatedPulseGen = $08; - EdgeSeparationMSR = $09; - SingleTrigContPulseGenPWM = $0a; - ContGatedPulseGenPWM = $0b; - CW_CCW_Encoder = $0c; - x1_AB_Phase_Encoder = $0d; - x2_AB_Phase_Encoder = $0e; - x4_AB_Phase_Encoder = $0f; - Phase_Z = $10; - - (*-- GPTC clock source --*) - GPTC_CLK_SRC_Ext = $01; - GPTC_CLK_SRC_Int = $00; - GPTC_GATE_SRC_Ext = $02; - GPTC_GATE_SRC_Int = $00; - GPTC_UPDOWN_Ext = $04; - GPTC_UPDOWN_Int = $00; - - (*-- GPTC clock polarity --*) - GPTC_CLKSRC_LACTIVE = $01; - GPTC_CLKSRC_HACTIVE = $00; - GPTC_GATE_LACTIVE = $02; - GPTC_GATE_HACTIVE = $00; - GPTC_UPDOWN_LACTIVE = $04; - GPTC_UPDOWN_HACTIVE = $00; - GPTC_OUTPUT_LACTIVE = $08; - GPTC_OUTPUT_HACTIVE = $00; - - IntGate = $00; - IntUpDnCTR = $01; - IntENABLE = $02; - - GPTC_EZ0_ClearPhase0 = $00; - GPTC_EZ0_ClearPhase1 = $01; - GPTC_EZ0_ClearPhase2 = $02; - GPTC_EZ0_ClearPhase3 = $03; - - GPTC_EZ0_ClearMode0 = $00; - GPTC_EZ0_ClearMode1 = $01; - GPTC_EZ0_ClearMode2 = $02; - GPTC_EZ0_ClearMode3 = $03; - -(*-- Watchdog Timer --*) -(*-- Counter action --*) - WDT_DISARM = 0; - WDT_ARM = 1; - WDT_RESTART = 2; - -(*-- Pattern ID --*) - INIT_PTN = 0; - EMGSHDN_PTN = 1; - -(*-- Pattern ID for 7442/7444 --*) - INIT_PTN_CH0 = 0; - INIT_PTN_CH1 = 1; - INIT_PTN_CH2 = 2; (* Only for 7444 *) - INIT_PTN_CH3 = 3; (* Only for 7444 *) - SAFTOUT_PTN_CH0 = 4; - SAFTOUT_PTN_CH1 = 5; - SAFTOUT_PTN_CH2 = 6; (* Only for 7444 *) - SAFTOUT_PTN_CH3 = 7; (* Only for 7444 *) - -(*-------- 16-bit binary or 4-decade BCD counter------------------*) - BIN = 0; - BCD = 1; - -(*-- EEPROM --*) - EEPROM_DEFAULT_BANK = 0; - EEPROM_USER_BANK1 = 1; - -(*------------------------------------*) -(* Constants for PCI-9524 *) -(*------------------------------------*) -(*AI Interrupt*) - P9524_INT_LC_EOC = $02; - P9524_INT_GP_EOC = $03; -(*DSP Constants*) - P9524_SPIKE_REJ_DISABLE = $00; - P9524_SPIKE_REJ_ENABLE = $01; -(*Transfer Mode*) - P9524_AI_XFER_POLL = $00; - P9524_AI_XFER_DMA = $01; -(*Poll All Channels*) - P9524_AI_POLL_ALLCHANNELS = 8; - P9524_AI_POLLSCANS_CH0_CH3 = 8; - P9524_AI_POLLSCANS_CH0_CH2 = 9; - P9524_AI_POLLSCANS_CH0_CH1 = 10; -(*ADC Sampling Rate*) - P9524_ADC_30K_SPS = 0; - P9524_ADC_15K_SPS = 1; - P9524_ADC_7K5_SPS = 2; - P9524_ADC_3K75_SPS = 3; - P9524_ADC_2K_SPS = 4; - P9524_ADC_1K_SPS = 5; - P9524_ADC_500_SPS = 6; - P9524_ADC_100_SPS = 7; - P9524_ADC_60_SPS = 8; - P9524_ADC_50_SPS = 9; - P9524_ADC_30_SPS = 10; - P9524_ADC_25_SPS = 11; - P9524_ADC_15_SPS = 12; - P9524_ADC_10_SPS = 13; - P9524_ADC_5_SPS = 14; - P9524_ADC_2R5_SPS = 15; -(*ConfigCtrl Constants*) - P9524_VEX_Range_2R5V = $00; - P9524_VEX_Range_10V = $01; - P9524_VEX_Sence_Local = $00; - P9524_VEX_Sence_Remote = $02; - P9524_AI_AZMode = $04; - P9524_AI_BufAutoReset = $08; - P9524_AI_EnEOCInt = $10; -(*Trigger Constants*) - P9524_TRGMOD_POST = $00; - P9524_TRGSRC_SOFT = $00; - P9524_TRGSRC_ExtD = $01; - P9524_TRGSRC_SSI = $02; - P9524_TRGSRC_QD0 = $03; - P9524_TRGSRC_PG0 = $04; - P9524_AI_TrgPositive = $00; - P9524_AI_TrgNegative = $08; -(*Group*) - P9524_AI_LC_Group = 0; - P9524_AI_GP_Group = 1; -(*Channel*) - P9524_AI_LC_CH0 = 0; - P9524_AI_LC_CH1 = 1; - P9524_AI_LC_CH2 = 2; - P9524_AI_LC_CH3 = 3; - P9524_AI_GP_CH0 = 4; - P9524_AI_GP_CH1 = 5; - P9524_AI_GP_CH2 = 6; - P9524_AI_GP_CH3 = 7; -(*Pulse Generation and Quadrature Decoder*) - P9524_CTR_PG0 = 0; - P9524_CTR_PG1 = 1; - P9524_CTR_PG2 = 2; - P9524_CTR_QD0 = 3; - P9524_CTR_QD1 = 4; - P9524_CTR_QD2 = 5; - P9524_CTR_INTCOUNTER = 6; -(*Counter Mode*) - P9524_PulseGen_OUTDIR_N = 0; - P9524_PulseGen_OUTDIR_R = 1; - P9524_PulseGen_CW = 0; - P9524_PulseGen_CCW = 2; - P9524_x4_AB_Phase_Decoder = 3; - P9524_Timer = 4; -(*Counter Op*) - P9524_CTR_Enable = 0; -(*Event Mode*) - P9524_Event_Timer = 0; -(*AO*) - P9524_AO_CH0_1 = 0; - -(*------------------------------------*) -(* Constants for PCI-6202 *) -(*------------------------------------*) - P6202_ISO0 = 0; - P6202_TTL0 = 1; - P6202_GPTC0 = $00; - P6202_GPTC1 = $01; - P6202_ENCODER0 = $02; - P6202_ENCODER1 = $03; - P6202_ENCODER2 = $04; -(*DA control constant*) - P6202_DA_WRSRC_Int = $00; - P6202_DA_WRSRC_AFI0 = $01; - P6202_DA_WRSRC_SSI = $02; - P6202_DA_WRSRC_AFI1 = $03; -(*DA trigger constant*) - P6202_DA_TRGSRC_SOFT = $00; - P6202_DA_TRGSRC_AFI0 = $01; - P6202_DA_TRGSRC_SSI = $02; - P6202_DA_TRGSRC_AFI1 = $03; - P6202_DA_TRGMOD_POST = $00; - P6202_DA_TRGMOD_DELAY = $04; - P6202_DA_ReTrigEn = $20; - P6202_DA_DLY2En = $100; -(*SSI signal code*) - P6202_SSI_DA_CONV = $04; - P6202_SSI_DA_TRIG = $40; -(*Encoder constant*) - P6202_EVT_TYPE_EPT0 = $00; - P6202_EVT_TYPE_EPT1 = $01; - P6202_EVT_TYPE_EPT2 = $02; - P6202_EVT_TYPE_EZC0 = $03; - P6202_EVT_TYPE_EZC1 = $04; - P6202_EVT_TYPE_EZC2 = $05; - P6202_EVT_MOD_EPT = $00; - P6202_EPT_PULWIDTH_200us = $00; - P6202_EPT_PULWIDTH_2ms = $01; - P6202_EPT_PULWIDTH_20ms = $02; - P6202_EPT_PULWIDTH_200ms = $03; - P6202_EPT_TRGOUT_CALLBACK = $04; - P6202_EPT_TRGOUT_AFI = $08; - - P6202_ENCODER0_LDATA = $05; - P6202_ENCODER1_LDATA = $06; - P6202_ENCODER2_LDATA = $07; - -(*------------------------------------*) -(* Constants for PCI-922x *) -(*------------------------------------*) -(*------------------*) -(* AI Constants *) -(*------------------*) -(*Input Type*) - P922x_AI_SingEnded = $00; - P922x_AI_NonRef_SingEnded = $01; - P922x_AI_Differential = $02; -(*Conversion Source*) - P922x_AI_CONVSRC_INT = $00; - P922x_AI_CONVSRC_GPI0 = $10; - P922x_AI_CONVSRC_GPI1 = $20; - P922x_AI_CONVSRC_GPI2 = $30; - P922x_AI_CONVSRC_GPI3 = $40; - P922x_AI_CONVSRC_GPI4 = $50; - P922x_AI_CONVSRC_GPI5 = $60; - P922x_AI_CONVSRC_GPI6 = $70; - P922x_AI_CONVSRC_GPI7 = $80; - P922x_AI_CONVSRC_SSI1 = $90; - P922x_AI_CONVSRC_SSI = $90; -(*Trigger Mode*) - P922x_AI_TRGMOD_POST = $00; - P922x_AI_TRGMOD_GATED = $01; -(*Trigger Source*) - P922x_AI_TRGSRC_SOFT = $00; - P922x_AI_TRGSRC_GPI0 = $10; - P922x_AI_TRGSRC_GPI1 = $20; - P922x_AI_TRGSRC_GPI2 = $30; - P922x_AI_TRGSRC_GPI3 = $40; - P922x_AI_TRGSRC_GPI4 = $50; - P922x_AI_TRGSRC_GPI5 = $60; - P922x_AI_TRGSRC_GPI6 = $70; - P922x_AI_TRGSRC_GPI7 = $80; - P922x_AI_TRGSRC_SSI5 = $90; - P922x_AI_TRGSRC_SSI = $90; -(*Trigger Polarity*) - P922x_AI_TrgPositive = $000; - P922x_AI_TrgNegative = $100; -(*ReTrigger*) - P922x_AI_EnReTigger = $200; - -(*------------------*) -(* AO Constants *) -(*------------------*) -(*Conversion Source*) - P922x_AO_CONVSRC_INT = $00; - P922x_AO_CONVSRC_GPI0 = $01; - P922x_AO_CONVSRC_GPI1 = $02; - P922x_AO_CONVSRC_GPI2 = $03; - P922x_AO_CONVSRC_GPI3 = $04; - P922x_AO_CONVSRC_GPI4 = $05; - P922x_AO_CONVSRC_GPI5 = $06; - P922x_AO_CONVSRC_GPI6 = $07; - P922x_AO_CONVSRC_GPI7 = $08; - P922x_AO_CONVSRC_SSI2 = $09; - P922x_AO_CONVSRC_SSI = $09; -(*Trigger Mode*) - P922x_AO_TRGMOD_POST = $00; - P922x_AO_TRGMOD_DELAY = $01; -(*Trigger Source*) - P922x_AO_TRGSRC_SOFT = $00; - P922x_AO_TRGSRC_GPI0 = $10; - P922x_AO_TRGSRC_GPI1 = $20; - P922x_AO_TRGSRC_GPI2 = $30; - P922x_AO_TRGSRC_GPI3 = $40; - P922x_AO_TRGSRC_GPI4 = $50; - P922x_AO_TRGSRC_GPI5 = $60; - P922x_AO_TRGSRC_GPI6 = $70; - P922x_AO_TRGSRC_GPI7 = $80; - P922x_AO_TRGSRC_SSI6 = $90; - P922x_AO_TRGSRC_SSI = $90; -(*Trigger Polarity*) - P922x_AO_TrgPositive = $000; - P922x_AO_TrgNegative = $100; -(*Retrigger*) - P922x_AO_EnReTigger = $200; -(*Delay 2*) - P922x_AO_EnDelay2 = $400; - -(*------------------*) -(* DI Constants *) -(*------------------*) -(*Conversion Source*) - P922x_DI_CONVSRC_INT = $00; - P922x_DI_CONVSRC_GPI0 = $01; - P922x_DI_CONVSRC_GPI1 = $02; - P922x_DI_CONVSRC_GPI2 = $03; - P922x_DI_CONVSRC_GPI3 = $04; - P922x_DI_CONVSRC_GPI4 = $05; - P922x_DI_CONVSRC_GPI5 = $06; - P922x_DI_CONVSRC_GPI6 = $07; - P922x_DI_CONVSRC_GPI7 = $08; - P922x_DI_CONVSRC_ADCONV = $09; - P922x_DI_CONVSRC_DACONV = $0A; -(*Trigger Mode*) - P922x_DI_TRGMOD_POST = $00; -(*Trigger Source*) - P922x_DI_TRGSRC_SOFT = $00; - P922x_DI_TRGSRC_GPI0 = $10; - P922x_DI_TRGSRC_GPI1 = $20; - P922x_DI_TRGSRC_GPI2 = $30; - P922x_DI_TRGSRC_GPI3 = $40; - P922x_DI_TRGSRC_GPI4 = $50; - P922x_DI_TRGSRC_GPI5 = $60; - P922x_DI_TRGSRC_GPI6 = $70; - P922x_DI_TRGSRC_GPI7 = $80; -(*Trigger Polarity*) - P922x_DI_TrgPositive = $000; - P922x_DI_TrgNegative = $100; -(*ReTrigger*) - P922x_DI_EnReTigger = $200; - -(*------------------*) -(* DO Constants *) -(*------------------*) -(*Conversion Source*) - P922x_DO_CONVSRC_INT = $00; - P922x_DO_CONVSRC_GPI0 = $01; - P922x_DO_CONVSRC_GPI1 = $02; - P922x_DO_CONVSRC_GPI2 = $03; - P922x_DO_CONVSRC_GPI3 = $04; - P922x_DO_CONVSRC_GPI4 = $05; - P922x_DO_CONVSRC_GPI5 = $06; - P922x_DO_CONVSRC_GPI6 = $07; - P922x_DO_CONVSRC_GPI7 = $08; - P922x_DO_CONVSRC_ADCONV = $09; - P922x_DO_CONVSRC_DACONV = $0A; -(*Trigger Mode*) - P922x_DO_TRGMOD_POST = $00; - P922x_DO_TRGMOD_DELAY = $01; -(*Trigger Source*) - P922x_DO_TRGSRC_SOFT = $00; - P922x_DO_TRGSRC_GPI0 = $10; - P922x_DO_TRGSRC_GPI1 = $20; - P922x_DO_TRGSRC_GPI2 = $30; - P922x_DO_TRGSRC_GPI3 = $40; - P922x_DO_TRGSRC_GPI4 = $50; - P922x_DO_TRGSRC_GPI5 = $60; - P922x_DO_TRGSRC_GPI6 = $70; - P922x_DO_TRGSRC_GPI7 = $80; -(*Trigger Polarity*) - P922x_DO_TrgPositive = $000; - P922x_DO_TrgNegative = $100; -(*Retrigger*) - P922x_DO_EnReTigger = $200; - -(*--------------------------*) -(* Encoder/GPTC Constants *) -(*--------------------------*) - P922x_GPTC0 = $00; - P922x_GPTC1 = $01; - P922x_GPTC2 = $02; - P922x_GPTC3 = $03; - P922x_ENCODER0 = $04; - P922x_ENCODER1 = $05; -(*Encoder Setting Event Mode*) - P922x_EVT_MOD_EPT = $00; -(*Encoder Setting Event Control*) - P922x_EPT_PULWIDTH_200us = $00; - P922x_EPT_PULWIDTH_2ms = $01; - P922x_EPT_PULWIDTH_20ms = $02; - P922x_EPT_PULWIDTH_200ms = $03; - P922x_EPT_TRGOUT_GPO = $04; - P922x_EPT_TRGOUT_CALLBACK = $08; -(*Event Type*) - P922x_EVT_TYPE_EPT0 = $00; - P922x_EVT_TYPE_EPT1 = $01; - -(*SSI signal code*) - P922x_SSI_AI_CONV = $02; - P922x_SSI_AI_TRIG = $20; - P922x_SSI_AO_CONV = $04; - P922x_SSI_AO_TRIG = $40; - - -(*------------------------------------*) -(* Constants for PCIe-7350 *) -(*------------------------------------*) - P7350_PortDIO = 0; - P7350_PortAFI = 1; -(*DIO Port*) - P7350_DIO_A = 0; - P7350_DIO_B = 1; - P7350_DIO_C = 2; - P7350_DIO_D = 3; -(*AFI Port*) - P7350_AFI_0 = 0; - P7350_AFI_1 = 1; - P7350_AFI_2 = 2; - P7350_AFI_3 = 3; - P7350_AFI_4 = 4; - P7350_AFI_5 = 5; - P7350_AFI_6 = 6; - P7350_AFI_7 = 7; -(*AFI Mode*) - P7350_AFI_DIStartTrig = 0; - P7350_AFI_DOStartTrig = 1; - P7350_AFI_DIPauseTrig = 2; - P7350_AFI_DOPauseTrig = 3; - P7350_AFI_DISWTrigOut = 4; - P7350_AFI_DOSWTrigOut = 5; - P7350_AFI_COSTrigOut = 6; - P7350_AFI_PMTrigOut = 7; - P7350_AFI_HSDIREQ = 8; - P7350_AFI_HSDIACK = 9; - P7350_AFI_HSDITRIG = 10; - P7350_AFI_HSDOREQ = 11; - P7350_AFI_HSDOACK = 12; - P7350_AFI_HSDOTRIG = 13; - P7350_AFI_SPI = 14; - P7350_AFI_I2C = 15; - P7350_POLL_DI = 16; - P7350_POLL_DO = 17; -(*Operation Mode*) - P7350_FreeRun = 0; - P7350_HandShake = 1; - P7350_BurstHandShake = 2; -(*Trigger Status*) - P7350_WAIT_NO = 0; - P7350_WAIT_EXTTRG = 1; - P7350_WAIT_SOFTTRG = 2; -(*Sampled Clock*) - P7350_IntSampledCLK = 0x00; - P7350_ExtSampledCLK = 0x01; -(*Sampled Clock Edge*) - P7350_SampledCLK_R = 0x00; - P7350_SampledCLK_F = 0x02; -(*Enable Export Sample Clock*) - P7350_EnExpSampledCLK = 0x04; -(*Trigger Configuration*) - P7350_EnPauseTrig = 0x01; - P7350_EnSoftTrigOut = 0x02; -(*HandShake & Trigger Polarity*) - P7350_DIREQ_POS = 0x00; - P7350_DIREQ_NEG = 0x01; - P7350_DIACK_POS = 0x00; - P7350_DIACK_NEG = 0x02; - P7350_DITRIG_POS = 0x00; - P7350_DITRIG_NEG = 0x04; - P7350_DIStartTrig_POS = 0x00; - P7350_DIStartTrig_NEG = 0x08; - P7350_DIPauseTrig_POS = 0x00; - P7350_DIPauseTrig_NEG = 0x10; - P7350_DOREQ_POS = 0x00; - P7350_DOREQ_NEG = 0x01; - P7350_DOACK_POS = 0x00; - P7350_DOACK_NEG = 0x02; - P7350_DOTRIG_POS = 0x00; - P7350_DOTRIG_NEG = 0x04; - P7350_DOStartTrig_POS = 0x00; - P7350_DOStartTrig_NEG = 0x08; - P7350_DOPauseTrig_POS = 0x00; - P7350_DOPauseTrig_NEG = 0x10; -(*External Sampled Clock Source*) - P7350_ECLK_IN = 8; -(*Export Sampled Clock*) - P7350_ECLK_OUT = 8; -(*Enable Dynamic Delay Adjust*) - P7350_DisDDA = 0x0; - P7350_EnDDA = 0x1; -(*Dynamic Delay Adjust Mode*) - P7350_DDA_Lag = 0x0; - P7350_DDA_Lead = 0x2; -(*Dynamic Delay Adjust Step*) - P7350_DDA_130PS = 0; - P7350_DDA_260PS = 1; - P7350_DDA_390PS = 2; - P7350_DDA_520PS = 3; - P7350_DDA_650PS = 4; - P7350_DDA_780PS = 5; - P7350_DDA_910PS = 6; - P7350_DDA_1R04NS = 7; -(*Enable Dynamic Phase Adjust*) - P7350_DisDPA = 0x0; - P7350_EnDPA = 0x1; -(*Dynamic Delay Adjust Degree*) - P7350_DPA_0DG = 0; - P7350_DPA_22R5DG = 1; - P7350_DPA_45DG = 2; - P7350_DPA_67R5DG = 3; - P7350_DPA_90DG = 4; - P7350_DPA_112R5DG = 5; - P7350_DPA_135DG = 6; - P7350_DPA_157R5DG = 7; - P7350_DPA_180DG = 8; - P7350_DPA_202R5DG = 9; - P7350_DPA_225DG = 10; - P7350_DPA_247R5DG = 11; - P7350_DPA_270DG = 12; - P7350_DPA_292R5DG = 13; - P7350_DPA_315DG = 14; - P7350_DPA_337R5DG = 15; - -(*DIO & AFI Voltage Level*) - VoltLevel_3R3 = 0; - VoltLevel_2R5 = 1; - VoltLevel_1R8 = 2; - -(*------------------------------------*) -(* Constants for I Squared C (I2C) *) -(*------------------------------------*) -(*I2C Port*) - I2C_Port_A = 0; -(*I2C Control Operation*) - I2C_ENABLE = 0; - I2C_STOP = 1; - -(*-------------------------------------------*) -(* Constants for Serial Peripheral Interface *) -(*-------------------------------------------*) -(*SPI Port*) - SPI_Port_A = 0; -(*SPI Clock Mode*) - SPI_CLK_L = $00; - SPI_CLK_H = $01; -(*SPI TX Polarity*) - SPI_TX_POS = $00; - SPI_TX_NEG = $02; -(*SPI RX Polarity*) - SPI_RX_POS = $00; - SPI_RX_NEG = $04; -(*SPI Transferred Order*) - SPI_MSB = $00; - SPI_LSB = $08; -(*SPI Control Operation*) - SPI_ENABLE = 0; - -(*------------------------------------*) -(* Constants for Access EEPROM *) -(*------------------------------------*) -(*Pattern Match Channel Mode*) - PATMATCH_CHNDisable = 0; - PATMATCH_CHNEnable = 1; -(*Pattern Match Channel Type*) - PATMATCH_Level_L = 0; - PATMATCH_Level_H = 1; - PATMATCH_Edge_R = 2; - PATMATCH_Edge_F = 3; -(*Pattern Match Operation*) - PATMATCH_STOP = 0; - PATMATCH_START = 1; - PATMATCH_RESTART = 2; - -(*------------------------------------*) -(* Constants for Pattern Match *) -(*------------------------------------*) -(*for PCI-7230/PCMe-7230*) - P7230_EEP_BLK_0 = 0; - P7230_EEP_BLK_1 = 1; - -type - TCallbackFunc = function : Integer; - -(****************************************************************************) -(* PCIS-DASK Functions Declarations *) -(****************************************************************************) -function Register_Card (CardType:Word; card_num:Word):Smallint;stdcall; -function Release_Card (CardNumber:Word):Smallint;stdcall; -function GetActualRate (CardNumber:word; SampleRate:Double; var ActualRate:Double):Smallint;stdcall; -function GetActualRate_9524 (CardNumber:word; Group:word; SampleRate:Double; var ActualRate:Double):Smallint;stdcall; -function GetCardType (CardNumber:word; var cardType:Word):Smallint;stdcall; -function GetBaseAddr (CardNumber:word; var BaseAddr:Cardinal; var BaseAddr2:Cardinal):Smallint;stdcall; -function GetLCRAddr (CardNumber:word; LcrAddr:Cardinal):Smallint;stdcall; -function GetCardIndexFromID (CardNumber:word; var cardType:Word; var cardIndex:Word):Smallint;stdcall; -function EMGShutDownControl (CardNumber:word; ctrl:Byte):Smallint;stdcall; -function EMGShutDownStatus (CardNumber:word; var status:Byte):Smallint;stdcall; -function HotResetHoldControl (CardNumber:word; enable:Byte):Smallint;stdcall; -function HotResetHoldStatus (CardNumber:word; var sts:Byte):Smallint;stdcall; -function GetInitPattern (CardNumber:word; patID:Byte; var pattern:Cardinal):Smallint;stdcall; -function SetInitPattern (CardNumber:word; patID:Byte; pattern:Cardinal):Smallint;stdcall; -function IdentifyLED_Control (CardNumber:word; ctrl:Byte):Smallint;stdcall; -function PCI_EEPROM_LoadData (CardNumber:word; block:word; var data:word):Smallint;stdcall; -function PCI_EEPROM_SaveData (CardNumber:word; block:word; data:word):Smallint;stdcall; -(*---------------------------------------------------------------------------*) -function AI_9111_Config (CardNumber:Word; TrigSource:Word; TrgMode:Word; TraceCnt:Word):Smallint;stdcall; -function AI_9112_Config (CardNumber:Word; TrigSource:Word):Smallint;stdcall; -function AI_9113_Config (CardNumber:Word; TrigSource:Word):Smallint;stdcall; -function AI_9114_Config (CardNumber:Word; TrigSource:Word):Smallint;stdcall; -function AI_9114_PreTrigConfig (CardNumber:Word; PreTrgEn:Word; TraceCnt:Word):Smallint;stdcall; -function AI_9116_Config (CardNumber:Word; ConfigCtrl:Word; TrigCtrl:Word; PostCnt:Word; MCnt:Word; ReTrgCnt:Word):Smallint;stdcall; -function AI_9118_Config (CardNumber:Word; ModeCtrl:Word; FunCtrl:Word; BurstCnt:Word; PostCnt:Word):Smallint;stdcall; -function AI_9221_Config (CardNumber:Word; ConfigCtrl:Word; TrigCtrl:Word; AutoResetBuf:Byte):Smallint;stdcall; -function AI_9812_Config (CardNumber:Word; TrgMode:Word; TrgSrc:Word; TrgPol:Word; ClkSel:Word; TrgLevel:Word; PostCnt:Word):Smallint;stdcall; -function AI_9812_SetDiv (CardNumber:Word; pacerVal:Cardinal):Smallint;stdcall; -function AI_9116_CounterInterval (CardNumber:Word; ScanIntrv:Cardinal; SampIntrv:Cardinal):Smallint;stdcall; -function AI_9221_CounterInterval (CardNumber:Word; ScanIntrv:Cardinal; SampIntrv:Cardinal):Smallint;stdcall; -function AI_9524_Config (CardNumber:Word; Group:Word; XMode:Word; ConfigCtrl:Word; TrigCtrl:Word; TrigValue:Cardinal):Smallint;stdcall; -function AI_9524_PollConfig (CardNumber:Word; Group:Word; PollChannel:Word; PollRange:Word; PollSpeed:Word):Smallint;stdcall; -function AI_9524_SetDSP (CardNumber:Word; Channel:Word; Mode:Word; DFStage:Word; SPKRejThreshold:Cardinal):Smallint;stdcall; -function AI_9524_GetEOCEvent (CardNumber:Word; Group:Word; var hEvent:Cardinal):Smallint;stdcall; -function AI_9222_Config (CardNumber:Word; ConfigCtrl:Word; TrigCtrl:Word; ReTriggerCnt:Cardinal; AutoResetBuf:Byte):Smallint;stdcall; -function AI_9222_CounterInterval (CardNumber:Word; ScanIntrv:Cardinal; SampIntrv:Cardinal):Smallint;stdcall; -function AI_9223_Config (CardNumber:Word; ConfigCtrl:Word; TrigCtrl:Word; ReTriggerCnt:Cardinal; AutoResetBuf:Byte):Smallint;stdcall; -function AI_9223_CounterInterval (CardNumber:Word; ScanIntrv:Cardinal; SampIntrv:Cardinal):Smallint;stdcall; -function AI_922A_Config (CardNumber:Word; ConfigCtrl:Word; TrigCtrl:Word; ReTriggerCnt:Cardinal; AutoResetBuf:Byte):Smallint;stdcall; -function AI_922A_CounterInterval (CardNumber:Word; ScanIntrv:Cardinal; SampIntrv:Cardinal):Smallint;stdcall; -function AI_InitialMemoryAllocated (CardNumber:Word; var MemSize:Cardinal):Smallint;stdcall; -function AI_ReadChannel (CardNumber:Word; Channel:Word; AdRange:Word; var Value:Word):Smallint;stdcall; -function AI_ReadChannel32 (CardNumber:Word; Channel:Word; AdRange:Word; var Value:Cardinal):Smallint;stdcall; -function AI_VReadChannel (CardNumber:Word; Channel:Word; AdRange:Word; var voltage:Double):Smallint;stdcall; -function AI_ScanReadChannels (CardNumber:Word; Channel:Word; AdRange:Word; var Buffer:Word):Smallint;stdcall; -function AI_ScanReadChannels32 (CardNumber:Word; Channel:Word; AdRange:Word; var Buffer:Cardinal):Smallint;stdcall; -function AI_ReadMultiChannels (CardNumber:Word; NumChans:Word; var Chans:Word; var AdRanges:Word; var Buffer:Word):Smallint;stdcall; -function AI_VoltScale (CardNumber:Word; AdRange:Word; reading:Smallint; var voltage:Double):Smallint;stdcall; -function AI_VoltScale32 (CardNumber:Word; AdRange:Word; reading:Longint; var voltage:Double):Smallint;stdcall; -function AI_ContReadChannel (CardNumber:Word; Channel:Word; AdRange:Word; var Buffer:Word; ReadCount:Cardinal; SampleRate:Double; SyncMode:Word):Smallint;stdcall; -function AI_ContReadMultiChannels (CardNumber:Word; NumChans:Word; var Chans:Word; var AdRanges:Word; var Buffer:Word; ReadCount:Cardinal; SampleRate:Double; SyncMode:Word):Smallint;stdcall; -function AI_ContScanChannels (CardNumber:Word; Channel:Word; AdRange:Word; var Buffer:Word; ReadCount:Cardinal; SampleRate:Double; SyncMode:Word):Smallint;stdcall; -function AI_ContReadChannelToFile (CardNumber:Word; Channel:Word; AdRange:Word; var FileName:Char; ReadCount:Cardinal; SampleRate:Double; SyncMode:Word):Smallint;stdcall; -function AI_ContReadMultiChannelsToFile (CardNumber:Word; NumChans:Word; var Chans:Word; var AdRanges:Word; var FileName:Char; ReadCount:Cardinal; SampleRate:Double; SyncMode:Word):Smallint;stdcall; -function AI_ContScanChannelsToFile (CardNumber:Word; Channel:Word; AdRange:Word; var FileName:Char; ReadCount:Cardinal; SampleRate:Double; SyncMode:Word):Smallint;stdcall; -function AI_ContVScale (CardNumber:Word; AdRange:Word; var readingArray:Word; var voltageArray:Double; count:Longint):Smallint;stdcall; -function AI_ContStatus (CardNumber:Word; var Status:Word):Smallint;stdcall; -function AI_AsyncCheck (CardNumber:Word; var Stopped:Byte; var AccessCnt:Cardinal):Smallint;stdcall; -function AI_AsyncClear (CardNumber:Word; var AccessCnt:Cardinal):Smallint;stdcall; -function AI_AsyncDblBufferHalfReady (CardNumber:Word; var HalfReady:Byte; var StopFlag:Byte):Smallint;stdcall; -function AI_AsyncDblBufferMode (CardNumber:Word; Enable:Byte):Smallint;stdcall; -function AI_AsyncDblBufferTransfer (CardNumber:Word; var Buffer:Word):Smallint;stdcall; -function AI_AsyncDblBufferOverrun (CardNumber:Word; op:Word; var overrunFlag:Word):Smallint;stdcall; -function AI_AsyncDblBufferHandled (CardNumber:Word):Smallint;stdcall; -function AI_AsyncDblBufferToFile (CardNumber:Word):Smallint;stdcall; -function AI_EventCallBack (CardNumber:Word; mode:Smallint; EventType:Smallint; callbackAddr:Cardinal):Smallint;stdcall; -function AI_SetTimeOut (CardNumber:Word; TimeOut:Cardinal):Smallint;stdcall; -function AI_ContBufferSetup (CardNumber:Word; var Buffer:Word; ReadCount:Cardinal; var BufferId:Word):Smallint;stdcall; -function AI_ContBufferReset (CardNumber:Word):Smallint;stdcall; -function AI_AsyncReTrigNextReady (CardNumber:Word; var Ready:Byte; var StopFlag:Byte; var RdyTrigCnt:Word):Smallint;stdcall; -(*---------------------------------------------------------------------------*) -function AO_6202_Config (CardNumber:Word; ConfigCtrl:Word; TrigCtrl:Word; ReTrgCnt:Cardinal; DLY1Cnt:Cardinal; DLY2Cnt:Cardinal; AutoResetBuf:Byte):Smallint;stdcall; -function AO_6208A_Config (CardNumber:Word; V2AMode:Word):Smallint;stdcall; -function AO_6308A_Config (CardNumber:Word; V2AMode:Word):Smallint;stdcall; -function AO_6308V_Config (CardNumber:Word; Channel:Word; OutputPolarity:Word; refVoltage:Double):Smallint;stdcall; -function AO_9111_Config (CardNumber:Word; OutputPolarity:Word):Smallint;stdcall; -function AO_9112_Config (CardNumber:Word; Channel:Word; refVoltage:Double):Smallint;stdcall; -function AO_AsyncCheck (CardNumber:Word; var Stopped:Byte; var AccessCnt:Cardinal):Smallint;stdcall; -function AO_9222_Config (CardNumber:Word; ConfigCtrl:Word; TrigCtrl:Word; ReTrgCnt:Cardinal; DLY1Cnt:Cardinal; DLY2Cnt:Cardinal; AutoResetBuf:Byte):Smallint;stdcall; -function AO_9223_Config (CardNumber:Word; ConfigCtrl:Word; TrigCtrl:Word; ReTrgCnt:Cardinal; DLY1Cnt:Cardinal; DLY2Cnt:Cardinal; AutoResetBuf:Byte):Smallint;stdcall; -function AO_InitialMemoryAllocated (CardNumber:Word; var MemSize:Cardinal):Smallint;stdcall; -function AO_AsyncClear (CardNumber:Word; var AccessCnt:Cardinal; stop_mode:Word):Smallint;stdcall; -function AO_AsyncDblBufferHalfReady (CardNumber:Word; var HalfReady:Byte):Smallint;stdcall; -function AO_AsyncDblBufferMode (CardNumber:Word; Enable:Byte):Smallint;stdcall; -function AO_ContBufferCompose (CardNumber:Word; TotalChnCount:Word; ChnNum:Word; UpdateCount:Cardinal; var ConBuffer:Cardinal; var Buffer:Cardinal):Smallint;stdcall; -function AO_ContBufferReset (CardNumber:Word):Smallint;stdcall; -function AO_ContBufferSetup (CardNumber:Word; var Buffer:Cardinal; WriteCount:Cardinal; var BufferId:Word):Smallint;stdcall; -function AO_ContStatus (CardNumber:Word; var Status:Word):Smallint;stdcall; -function AO_ContWriteChannel (CardNumber:Word; Channel:Word; BufId:Word; WriteCount:Cardinal; Iterations:Cardinal; CHUI:Cardinal; definite:Word; SyncMode:Word):Smallint;stdcall; -function AO_ContWriteMultiChannels (CardNumber:Word; NumChans:Word; var Chans:Word; BufId:Word; WriteCount:Cardinal; Iterations:Cardinal; CHUI:Cardinal; definite:Word; SyncMode:Word):Smallint;stdcall; -function AO_EventCallBack (CardNumber:Word; mode:Smallint; EventType:Smallint; callbackAddr:Cardinal):Smallint;stdcall; -function AO_SetTimeOut (CardNumber:Word; TimeOut:Cardinal):Smallint;stdcall; -function AO_WriteChannel (CardNumber:Word; Channel:Word; Value:Word):Smallint;stdcall; -function AO_VWriteChannel (CardNumber:Word; Channel:Word; Voltage:Double):Smallint;stdcall; -function AO_VoltScale (CardNumber:Word; Channel:Word; Voltage:Double; var binValue:Smallint):Smallint;stdcall; -function AO_SimuWriteChannel (CardNumber:Word; Group:Word; var valueArray:Word):Smallint;stdcall; -function AO_SimuVWriteChannel (CardNumber:Word; Group:Word; var voltageArray:Double):Smallint;stdcall; -(*---------------------------------------------------------------------------*) -function DI_7200_Config (CardNumber:Word; TrigSource:Word; ExtTrigEn:Word; TrigPol:Word; I_REQ_Pol:Word):Smallint;stdcall; -function DI_7233_ForceLogic (CardNumber:Word; ConfigCtrl:Word):Smallint;stdcall; -function DI_7300A_Config (CardNumber:Word; PortWidth:Word; TrigSource:Word; WaitStatus:Word; Terminator:Word; I_REQ_Pol:Word; clear_fifo:Byte; disable_di:Byte):Smallint;stdcall; -function DI_7300B_Config (CardNumber:Word; PortWidth:Word; TrigSource:Word; WaitStatus:Word; Terminator:Word; I_Cntrl_Pol:Word; clear_fifo:Byte; disable_di:Byte):Smallint;stdcall; -function DI_9222_Config (CardNumber:Word; ConfigCtrl:Word; TrigCtrl:Word; ReTriggerCnt:Cardinal; AutoResetBuf:Byte):Smallint;stdcall; -function DI_9223_Config (CardNumber:Word; ConfigCtrl:Word; TrigCtrl:Word; ReTriggerCnt:Cardinal; AutoResetBuf:Byte):Smallint;stdcall; -function DI_InitialMemoryAllocated (CardNumber:Word; var DmaSize:Cardinal):Smallint;stdcall; -function DI_ReadLine (CardNumber:Word; Port:Word; Line:Word; var State:Word):Smallint;stdcall; -function DI_ReadPort (CardNumber:Word; Port:Word; var Value:Cardinal):Smallint;stdcall; -function DI_ContReadPort (CardNumber:Word; Port:Word; var Buffer:Cardinal; ReadCount:Cardinal; SampleRate:Double; SyncMode:Word):Smallint;stdcall; -function DI_ContReadPortToFile (CardNumber:Word; Port:Word; var FileName:Byte; ReadCount:Cardinal; SampleRate:Double; SyncMode:Word):Smallint;stdcall; -function DI_ContStatus (CardNumber:Word; var Status:Word):smallint;stdcall; -function DI_AsyncCheck (CardNumber:Word; var Stopped:Byte; var AccessCnt:Cardinal):Smallint;stdcall; -function DI_AsyncClear (CardNumber:Word; var AccessCnt:Cardinal):Smallint;stdcall; -function DI_AsyncDblBufferHalfReady (CardNumber:Word; var HalfReady:Byte):Smallint;stdcall; -function DI_AsyncDblBufferMode (CardNumber:Word; Enable:Byte):Smallint;stdcall; -function DI_AsyncDblBufferTransfer (CardNumber:Word; var Buffer:Cardinal):Smallint;stdcall; -function DI_ContMultiBufferSetup (CardNumber:Word; var Buffer:Cardinal; ReadCount:Cardinal; var BufferId:Word):Smallint;stdcall; -function DI_ContMultiBufferStart (CardNumber:Word; Port:Word; SampleRate:Double):Smallint;stdcall; -function DI_AsyncMultiBufferNextReady (CardNumber:Word; var NextReady:Byte; var BufferId:Word):Smallint;stdcall; -function DI_AsyncDblBufferOverrun (CardNumber:Word; op:Word; var overrunFlag:Word):Smallint;stdcall; -function DI_EventCallBack (CardNumber:Word; mode:Smallint; EventType:Smallint; callbackAddr:Cardinal):Smallint;stdcall; -function DI_AsyncDblBufferHandled (CardNumber:Word):Smallint;stdcall; -function DI_AsyncDblBufferToFile (CardNumber:Word):Smallint;stdcall; -function DI_SetTimeOut (CardNumber:Word; TimeOut:Cardinal):Smallint;stdcall; -function DI_ContBufferSetup (CardNumber:Word; var Buffer:Cardinal; ReadCount:Cardinal; var BufferId:Word):Smallint;stdcall; -function DI_ContBufferReset (CardNumber:Word):Smallint;stdcall; -function DI_AsyncReTrigNextReady (CardNumber:Word; var Ready:Byte; var StopFlag:Byte; var RdyTrigCnt:Word):Smallint;stdcall; -function DI_7350_Config (CardNumber:Word; DIPortWidth:Word; DIMode:Word; DIWaitStatus:Word; DIClkConfig:Word):Smallint;stdcall; -function DI_7350_ExportSampCLKConfig (CardNumber:Word; CLK_Src:Word; CLK_DPAMode:Word; CLK_DPAVlaue:Word):Smallint;stdcall; -function DI_7350_ExtSampCLKConfig (CardNumber:Word; CLK_Src:Word; CLK_DDAMode:Word; CLK_DPAMode:Word; CLK_DDAVlaue:Word; CLK_DPAVlaue:Word):Smallint;stdcall; -function DI_7350_SoftTriggerGen (CardNumber:Word):Smallint;stdcall; -function DI_7350_TrigHSConfig (CardNumber:Word; TrigConfig:Word; DI_IPOL:Word; DI_REQSrc:Word; DI_ACKSrc:Word; DI_TRIGSrc:Word; StartTrigSrc:Word; PauseTrigSrc:Word; SoftTrigOutSrc:Word; SoftTrigOutLength:Cardinal; TrigCount:Cardinal):Smallint;stdcall; -function DI_7350_BurstHandShakeDelay (CardNumber:Word; Delay:Byte):Smallint;stdcall; -(*---------------------------------------------------------------------------*) -function DO_7200_Config (CardNumber:Word; TrigSource:Word; OutReqEn:Word; OutTrigSig:Word):Smallint;stdcall; -function DO_7300A_Config (CardNumber:Word; PortWidth:Word; TrigSource:Word; WaitStatus:Word; Terminator:Word; O_REQ_Pol:Word):Smallint;stdcall; -function DO_7300B_Config (CardNumber:Word; PortWidth:Word; TrigSource:Word; WaitStatus:Word; Terminator:Word; O_Cntrl_Pol:Word; FifoThreshold:Cardinal):Smallint;stdcall; -function DO_7300B_SetDODisableMode (CardNumber:Word; Mode:Word):Smallint;stdcall; -function DO_9222_Config (CardNumber:Word; ConfigCtrl:Word; TrigCtrl:Word; ReTrgCnt:Cardinal; DLY1Cnt:Cardinal; DLY2Cnt:Cardinal; AutoResetBuf:Byte):Smallint;stdcall; -function DO_9223_Config (CardNumber:Word; ConfigCtrl:Word; TrigCtrl:Word; ReTrgCnt:Cardinal; DLY1Cnt:Cardinal; DLY2Cnt:Cardinal; AutoResetBuf:Byte):Smallint;stdcall; -function DO_InitialMemoryAllocated (CardNumber:Word; var MemSize:Cardinal):Smallint;stdcall; -function DO_WriteLine (CardNumber:Word; Port:Word; Line:Word; Value:Word):Smallint;stdcall; -function DO_WritePort (CardNumber:Word; Port:Word; Value:Cardinal):Smallint;stdcall; -function DO_SimuWritePort (CardNumber:Word; NumChans:Word; var dwBuffer:Cardinal):Smallint;stdcall; -function DO_ReadLine (CardNumber:Word; Port:Word; Line:Word; var Value:Word):Smallint;stdcall; -function DO_ReadPort (CardNumber:Word; Port:Word; var Value:Cardinal):Smallint;stdcall; -function DO_ContWritePort (CardNumber:Word; Port:Word; var Buffer:Cardinal; WriteCount:Cardinal; Iterations:Word; SampleRate:Double; SyncMode:Word):Smallint;stdcall; -function DO_PGStart (CardNumber:Word; var Buffer:Cardinal; WriteCount:Cardinal; SampleRate:Double):Smallint;stdcall; -function DO_PGStop (CardNumber:Word):Smallint;stdcall; -function DO_ContStatus (CardNumber:Word; var Status:Word):Smallint;stdcall; -function DO_AsyncCheck (CardNumber:Word; var Stopped:Byte; var AccessCnt:Cardinal):Smallint;stdcall; -function DO_AsyncClear (CardNumber:Word; var AccessCnt:Cardinal):Smallint;stdcall; -function EDO_9111_Config (CardNumber:Word; EDO_Fun:Word):Smallint;stdcall; -function DO_WriteExtTrigLine (CardNumber:Word; Value:Word):Smallint;stdcall; -function DO_ContMultiBufferSetup (CardNumber:Word; var Buffer:Cardinal; WriteCount:Cardinal; var BufferId:Word):Smallint;stdcall; -function DO_ContMultiBufferStart (CardNumber:Word; Port:Word; SampleRate:Double):Smallint;stdcall; -function DO_AsyncMultiBufferNextReady (CardNumber:Word; var NextReady:Byte; var BufferId:Word):Smallint;stdcall; -function DO_EventCallBack (CardNumber:Word; mode:Smallint; EventType:Smallint; callbackAddr:Cardinal):Smallint;stdcall; -function DO_SetTimeOut (CardNumber:Word; TimeOut:Cardinal):Smallint;stdcall; -function DO_ContBufferSetup (CardNumber:Word; var Buffer:Cardinal; WriteCount:Cardinal; var BufferId:Word):Smallint;stdcall; -function DO_ContBufferReset (CardNumber:Word):Smallint;stdcall; -function DO_7350_Config (CardNumber:Word; DOPortWidth:Word; DOMode:Word; DOWaitStatus:Word; DOClkConfig:Word):Smallint;stdcall; -function DO_7350_TrigHSConfig (CardNumber:Word; TrigConfig:Word; DO_IPOL:Word; DO_REQSrc:Word; DO_ACKSrc:Word; DO_TRIGSrc:Word; StartTrigSrc:Word; PauseTrigSrc:Word; SoftTrigOutSrc:Word; SoftTrigOutLength:Cardinal; TrigCount:Cardinal):Smallint;stdcall; -function DO_7350_ExtSampCLKConfig (CardNumber:Word; CLK_Src:Word; CLK_DDAMode:Word; CLK_DPAMode:Word; CLK_DDAVlaue:Word; CLK_DPAVlaue:Word):Smallint;stdcall; -function DO_7350_ExportSampCLKConfig (CardNumber:Word; CLK_Src:Word; CLK_DPAMode:Word; CLK_DPAVlaue:Word):Smallint;stdcall; -function DO_7350_SoftTriggerGen (CardNumber:Word):Smallint;stdcall; -function DO_ContWritePortEx (CardNumber:Word; Port:Word; var Buffer:Cardinal; WriteCount:Cardinal; Iterations:Word; SampleRate:Double; SyncMode:Word):Smallint;stdcall; -function DO_7350_BurstHandShakeDelay (CardNumber:Word; Delay:Byte):Smallint;stdcall; -(*---------------------------------------------------------------------------*) -function DIO_PortConfig (CardNumber:Word; Port:Word; Direction:Word):Smallint;stdcall; -function DIO_LinesConfig (CardNumber:Word; Port:Word; Linesdirmap:Word):Smallint;stdcall; -function DIO_LineConfig (CardNumber:Word; Port:Word; Line:Word; Direction:Word):Smallint;stdcall; -function DIO_SetDualInterrupt (CardNumber:Word; Int1Mode:Smallint; Int2Mode:Smallint; var hEvent:Cardinal):Smallint;stdcall; -function DIO_SetCOSInterrupt (CardNumber:Word; Port:Word; ctlA:Word; ctlB:Word; ctlC:Word):Smallint;stdcall; -function DIO_GetCOSLatchData (CardNumber:Word; var CosLData:Word):Smallint;stdcall; -function DIO_SetCOSInterrupt32(CardNumber:Word; Port:Byte; ctl:Cardinal; var hEvent:Cardinal; ManualReset:Byte):Smallint;stdcall; -function DIO_GetCOSLatchData32 (CardNumber:Word; Port:Byte; var CosLData:Cardinal):Smallint;stdcall; -function DIO_GetCOSLatchDataInt32 (CardNumber:Word; Port:Byte; var CosLData:Cardinal):Smallint;stdcall; -function DIO_INT1_EventMessage (CardNumber:Word; Int1Mode:Smallint; windowHandle:Cardinal; message:Cardinal; callbackAddr:TCallbackFunc):Smallint;stdcall; -function DIO_INT2_EventMessage (CardNumber:Word; Int2Mode:Smallint; windowHandle:Cardinal; message:Cardinal; callbackAddr:TCallbackFunc):Smallint;stdcall; -function DIO_INT_EventMessage (CardNumber:Word; mode:Smallint; evt:Cardinal; windowHandle:Cardinal; message:Cardinal; callbackAddr:Cardinal):Smallint;stdcall; -function DIO_7300SetInterrupt (CardNumber:Word; AuxDIEn:Smallint; T2En:Smallint; var hEvent:Cardinal):Smallint;stdcall; -function DIO_AUXDI_EventMessage (CardNumber:Word; AuxDIEn:Smallint; windowHandle:Cardinal; message:Cardinal; callbackAddr:TCallbackFunc):Smallint;stdcall; -function DIO_T2_EventMessage (CardNumber:Word; T2En:Smallint; windowHandle:Cardinal; message:Cardinal; callbackAddr:TCallbackFunc):Smallint;stdcall; -function DIO_COSInterruptCounter (CardNumber:Word; Counter_Num:Word; Counter_Mode:Word; DI_Port:Word; DI_Line:Word; var Counter_Value:Cardinal):Smallint;stdcall; -function DIO_VoltLevelConfig (CardNumber:Word; PortType:Word; VoltLevel:Word):Smallint;stdcall; -function DIO_7350_AFIConfig (CardNumber:Word; AFI_Port:Word; AFI_Enable:Word; AFI_Mode:Word; AFI_TrigOutLen:Cardinal):Smallint;stdcall; -function DIO_PMConfig (CardNumber:Word; Channel:Word; PM_ChnEn:Word; PM_ChnType:Word):Smallint;stdcall; -function DIO_PMControl (CardNumber:Word; Port:Word; PM_Enable:Word; var hEvent:Cardinal; ManualReset:Byte):Smallint;stdcall; -function DIO_SetPMInterrupt32 (CardNumber:Word; Port:Word; Ctrl:Cardinal; Pattern1:Cardinal; Pattern2:Cardinal; var hEvent:Cardinal; ManualReset:Byte):Smallint;stdcall; -function DIO_GetPMLatchData32 (U16 CardNumber:Word; U16 Port:Word; var PMLData:Cardinal):Smallint;stdcall; -(*---------------------------------------------------------------------------*) -function CTR_Setup (CardNumber:Word; Ctr:Word; Mode:Word; Count:Cardinal; BinBcd:Word):Smallint;stdcall; -function CTR_Setup_All (CardNumber:Word; CtrCnt:Word; var Ctr:Word; var Mode:Word; var Count:Cardinal; var BinBcd:Word):Smallint;stdcall; -function CTR_Clear (CardNumber:Word; Ctr:Word; State:Word):Smallint;stdcall; -function CTR_Read (CardNumber:Word; Ctr:Word; var Value:Cardinal):Smallint;stdcall; -function CTR_Read_All (CardNumber:Word; CtrCnt:Word; var Ctr:Word; var Value:Cardinal):Smallint;stdcall; -function CTR_Status (CardNumber:Word; Ctr:Word; var Value:Cardinal):Smallint;stdcall; -function CTR_Update (CardNumber:Word; Ctr:Word; Count:Cardinal):Smallint;stdcall; -function CTR_8554_ClkSrc_Config (CardNumber:Word; Ctr:Word; ClockSource:Word):Smallint;stdcall; -function CTR_8554_CK1_Config (CardNumber:Word; ClockSource:Word):Smallint;stdcall; -function CTR_8554_Debounce_Config (CardNumber:Word; DebounceClock:Word):Smallint;stdcall; -function GCTR_Setup (CardNumber:Word; GCtr:Word; GCtrCtrl:Word; Count:Cardinal):Smallint;stdcall; -function GCTR_Clear (CardNumber:Word; GCtr:Word):Smallint;stdcall; -function GCTR_Read (CardNumber:Word; GCtr:Word; var Value:Cardinal):Smallint;stdcall; -function GPTC_Clear (CardNumber:Word; GCtr:Word):Smallint;stdcall; -function GPTC_Control (CardNumber:Word; GCtr:Word; ParamID:Word; Value:Word):Smallint;stdcall; -function GPTC_Read (CardNumber:Word; GCtr:Word; var Value:Cardinal):Smallint;stdcall; -function GPTC_Setup (CardNumber:Word; GCtr:Word; Mode:Word; SrcCtrl:Word; PolCtrl:Word; LReg1_Val:Cardinal; LReg2_Val:Cardinal):Smallint;stdcall; -function GPTC_Status (CardNumber:Word; GCtr:Word; var Value:Word):Smallint;stdcall; -function GPTC_EventCallBack (CardNumber:Word; Enabled:Smallint; EventType:Smallint; callbackAddr:Cardinal):Smallint;stdcall; -function GPTC_EventSetup (CardNumber:Word; GCtr:Word; Mode:Word; Ctrl:Word; LVal_1:Cardinal; LVal_2:Cardinal):Smallint;stdcall; -function GPTC_9524_PG_Config (CardNumber:Word; GCtr:Word; PulseGenNum:Cardinal):Smallint;stdcall; -function GPTC_9524_GetTimerEvent (CardNumber:Word; GCtr:Word; var hEvent:Cardinal):Smallint;stdcall; -function WDT_Setup (CardNumber:Word; Ctr:Word; ovflowSec:Single; var actualSec:Single; var hEvent:Cardinal):Smallint;stdcall; -function WDT_Control (CardNumber:Word; Ctr:Word; action:Word):Smallint;stdcall; -function WDT_Status (CardNumber:Word; Ctr:Word; var Value:Cardinal):Smallint;stdcall; -function WDT_Reload (CardNumber:Word; ovflowSec:Single; var actualSec:Single):Smallint;stdcall; -(*---------------------------------------------------------------------------*) -function AI_GetView (CardNumber:word; View:Pointer):Smallint;stdcall; -function DI_GetView (CardNumber:word; View:Pointer):Smallint;stdcall; -function DO_GetView (CardNumber:word; View:Pointer):Smallint;stdcall; -function AI_GetEvent (CardNumber:Word; var hEvent:Cardinal):Smallint;stdcall; -function AO_GetEvent (CardNumber:Word; var hEvent:Cardinal):Smallint;stdcall; -function DI_GetEvent (CardNumber:Word; var hEvent:Cardinal):Smallint;stdcall; -function DO_GetEvent (CardNumber:Word; var hEvent:Cardinal):Smallint;stdcall; -(*------------------------------------------------------------------------------*) -function PCI_DB_Auto_Calibration_ALL (CardNumber:Word):Smallint;stdcall; -function PCI_Load_CAL_Data (CardNumber:Word; bank:Word):Smallint;stdcall; -function PCI_EEPROM_CAL_Constant_Update (CardNumber:Word; bank:Word):Smallint;stdcall; -function PCI9524_Acquire_AD_CalConst (CardNumber:Word; Group:Word; ADC_Range:Word; ADC_Speed:Word; var CalDate:Cardinal; var CalTemp:Single; var ADC_offset:Cardinal; var ADC_gain:Cardinal; var Residual_offset:Double; var Residual_scaling:Double):Smallint;stdcall; -function PCI9524_Acquire_DA_CalConst (CardNumber:Word; Channel:Word; var CalDate:Cardinal; var CalTemp:Single; var DAC_offset:Byte; var DAC_linearity:Byte; var Gain_factor:Single):Smallint;stdcall; -function PCI9524_Read_EEProm (CardNumber:Word; ReadAddr:Word; var ReadData:Byte):Smallint;stdcall; -function PCI9524_Read_RemoteSPI (CardNumber:Word; Addr:Word; var RdData:Byte):Smallint;stdcall; -function PCI9524_Write_EEProm (CardNumber:Word; WriteAddr:Word; var WriteData:Byte):Smallint;stdcall; -function PCI9524_Write_RemoteSPI (CardNumber:Word; Addr:Word; WrtData:Byte):Smallint;stdcall; -(*------------------------------------------------------------------------------*) -function SSI_SourceConn (CardNumber:Word; sigCode:Word):Smallint;stdcall; -function SSI_SourceDisConn (CardNumber:Word; sigCode:Word):Smallint;stdcall; -function SSI_SourceClear (CardNumber:Word):Smallint;stdcall; -(*-----------------------------------------------------------------------------*) -function PWM_Output (CardNumber:Word; Channel:Word; high_interval:Cardinal; low_interval:Cardinal):Smallint;stdcall; -function PWM_Stop (CardNumber:Word; Channel:Word):Smallint;stdcall; -(*-----------------------------------------------------------------------------*) -function I2C_Setup (CardNumber:Word; I2C_Port:Word; I2C_Config:Word; I2C_SetupValue1:Cardinal; I2C_SetupValue2:Cardinal):Smallint;stdcall; -function I2C_Control (CardNumber:Word; I2C_Port:Word; I2C_CtrlParam:Word; I2C_CtrlValue:Cardinal):Smallint;stdcall; -function I2C_Status (CardNumber:Word; I2C_Port:Word; var I2C_Status:Cardinal):Smallint;stdcall; -function I2C_Read (CardNumber:Word; I2C_Port:Word; I2C_SlaveAddr:Word; I2C_CmdAddrBytes:Word; I2C_DataBytes:Word; I2C_CmdAddr:Cardinal; var I2C_Data:Cardinal):Smallint;stdcall; -function I2C_Write (CardNumber:Word; I2C_Port:Word; I2C_SlaveAddr:Word; I2C_CmdAddrBytes:Word; I2C_DataBytes:Word; I2C_CmdAddr:Cardinal; I2C_Data:Cardinal):Smallint;stdcall; -(*-----------------------------------------------------------------------------*) -function SPI_Setup (CardNumber:Word; SPI_Port:Word; SPI_Config:Word; SPI_SetupValue1:Cardinal; SPI_SetupValue2:Cardinal):Smallint;stdcall; -function SPI_Control (CardNumber:Word; SPI_Port:Word; SPI_CtrlParam:Word; SPI_CtrlValue:Cardinal):Smallint;stdcall; -function SPI_Status (CardNumber:Word; SPI_Port:Word; var SPI_Status:Cardinal):Smallint;stdcall; -function SPI_Read (CardNumber:Word; SPI_Port:Word; SPI_SlaveAddr:Word; SPI_CmdAddrBits:Word; SPI_DataBits:Word; SPI_FrontDummyBits:Word; SPI_CmdAddr:Cardinal; var SPI_Data:Cardinal):Smallint;stdcall; -function SPI_Write (CardNumber:Word; SPI_Port:Word; SPI_SlaveAddr:Word; SPI_CmdAddrBits:Word; SPI_DataBits:Word; SPI_FrontDummyBits:Word; SPI_TailDummyBits:Word; SPI_CmdAddr:Cardinal; SPI_Data:Cardinal):Smallint;stdcall; -(*-----------------------------------------------------------------------------*) - - -implementation - -function Register_Card; external 'Pci-Dask.dll'; -function Release_Card; external 'Pci-Dask.dll'; -function GetActualRate; external 'Pci-Dask.dll'; -function GetActualRate_9524; external 'Pci-Dask.dll'; -function GetCardType; external 'Pci-Dask.dll'; -function GetBaseAddr; external 'Pci-Dask.dll'; -function GetLCRAddr; external 'Pci-Dask.dll'; -function GetCardIndexFromID; external 'Pci-Dask.dll'; -function EMGShutDownControl; external 'Pci-Dask.dll'; -function EMGShutDownStatus; external 'Pci-Dask.dll'; -function HotResetHoldControl; external 'Pci-Dask.dll'; -function HotResetHoldStatus; external 'Pci-Dask.dll'; -function SetInitPattern; external 'Pci-Dask.dll'; -function GetInitPattern; external 'Pci-Dask.dll'; -function IdentifyLED_Control; external 'Pci-Dask.dll'; -(*---------------------------------------------------------------------------*) -function AI_9111_Config; external 'Pci-Dask.dll'; -function AI_9112_Config; external 'Pci-Dask.dll'; -function AI_9113_Config; external 'Pci-Dask.dll'; -function AI_9114_Config; external 'Pci-Dask.dll'; -function AI_9114_PreTrigConfig; external 'Pci-Dask.dll'; -function AI_9116_Config; external 'Pci-Dask.dll'; -function AI_9118_Config; external 'Pci-Dask.dll'; -function AI_9221_Config; external 'Pci-Dask.dll'; -function AI_9812_Config; external 'Pci-Dask.dll'; -function AI_9812_SetDiv; external 'Pci-Dask.dll'; -function AI_9116_CounterInterval; external 'Pci-Dask.dll'; -function AI_9221_CounterInterval; external 'Pci-Dask.dll'; -function AI_9524_Config; external 'Pci-Dask.dll'; -function AI_9524_PollConfig; external 'Pci-Dask.dll'; -function AI_9524_SetDSP; external 'Pci-Dask.dll'; -function AI_9524_GetEOCEvent; external 'Pci-Dask.dll'; -function AI_9222_Config; external 'Pci-Dask.dll'; -function AI_9222_CounterInterval; external 'Pci-Dask.dll'; -function AI_9223_Config; external 'Pci-Dask.dll'; -function AI_9223_CounterInterval; external 'Pci-Dask.dll'; -function AI_922A_Config; external 'Pci-Dask.dll'; -function AI_922A_CounterInterval; external 'Pci-Dask.dll'; -function AI_AsyncReTrigNextReady; external 'Pci-Dask.dll'; -function AI_InitialMemoryAllocated; external 'Pci-Dask.dll'; -function AI_ReadChannel; external 'Pci-Dask.dll'; -function AI_ReadChannel32; external 'Pci-Dask.dll'; -function AI_VReadChannel; external 'Pci-Dask.dll'; -function AI_ScanReadChannels; external 'Pci-Dask.dll'; -function AI_ScanReadChannels32; external 'Pci-Dask.dll'; -function AI_ReadMultiChannels; external 'Pci-Dask.dll'; -function AI_VoltScale; external 'Pci-Dask.dll'; -function AI_VoltScale32; external 'Pci-Dask.dll'; -function AI_ContReadChannel; external 'Pci-Dask.dll'; -function AI_ContReadMultiChannels; external 'Pci-Dask.dll'; -function AI_ContScanChannels; external 'Pci-Dask.dll'; -function AI_ContReadChannelToFile; external 'Pci-Dask.dll'; -function AI_ContReadMultiChannelsToFile; external 'Pci-Dask.dll'; -function AI_ContScanChannelsToFile; external 'Pci-Dask.dll'; -function AI_ContVScale; external 'Pci-Dask.dll'; -function AI_ContStatus; external 'Pci-Dask.dll'; -function AI_AsyncCheck; external 'Pci-Dask.dll'; -function AI_AsyncClear; external 'Pci-Dask.dll'; -function AI_AsyncDblBufferHalfReady; external 'Pci-Dask.dll'; -function AI_AsyncDblBufferMode; external 'Pci-Dask.dll'; -function AI_AsyncDblBufferTransfer; external 'Pci-Dask.dll'; -function AI_AsyncDblBufferOverrun; external 'Pci-Dask.dll'; -function AI_AsyncDblBufferHandled; external 'Pci-Dask.dll'; -function AI_AsyncDblBufferToFile; external 'Pci-Dask.dll'; -function AI_EventCallBack; external 'Pci-Dask.dll'; -function AI_SetTimeOut; external 'Pci-Dask.dll'; -function AI_ContBufferSetup; external 'Pci-Dask.dll'; -function AI_ContBufferReset; external 'Pci-Dask.dll'; -(*---------------------------------------------------------------------------*) -function AO_6202_Config; external 'Pci-Dask.dll'; -function AO_6208A_Config; external 'Pci-Dask.dll'; -function AO_6308A_Config; external 'Pci-Dask.dll'; -function AO_6308V_Config; external 'Pci-Dask.dll'; -function AO_9111_Config; external 'Pci-Dask.dll'; -function AO_9112_Config; external 'Pci-Dask.dll'; -function AO_9222_Config; external 'Pci-Dask.dll'; -function AO_9223_Config; external 'Pci-Dask.dll'; -function AO_InitialMemoryAllocated; external 'Pci-Dask.dll'; -function AO_AsyncCheck; external 'Pci-Dask.dll'; -function AO_AsyncClear; external 'Pci-Dask.dll'; -function AO_AsyncDblBufferHalfReady; external 'Pci-Dask.dll'; -function AO_AsyncDblBufferMode; external 'Pci-Dask.dll'; -function AO_ContBufferCompose; external 'Pci-Dask.dll'; -function AO_ContBufferReset; external 'Pci-Dask.dll'; -function AO_ContBufferSetup; external 'Pci-Dask.dll'; -function AO_ContStatus; external 'Pci-Dask.dll'; -function AO_ContWriteChannel; external 'Pci-Dask.dll'; -function AO_ContWriteMultiChannels; external 'Pci-Dask.dll'; -function AO_EventCallBack; external 'Pci-Dask.dll'; -function AO_SetTimeOut; external 'Pci-Dask.dll'; -function AO_WriteChannel; external 'Pci-Dask.dll'; -function AO_VWriteChannel; external 'Pci-Dask.dll'; -function AO_VoltScale; external 'Pci-Dask.dll'; -function AO_SimuWriteChannel; external 'Pci-Dask.dll'; -function AO_SimuVWriteChannel; external 'Pci-Dask.dll'; -(*---------------------------------------------------------------------------*) -function DI_7200_Config; external 'Pci-Dask.dll'; -function DI_7233_ForceLogic; external 'Pci-Dask.dll'; -function DI_7300A_Config; external 'Pci-Dask.dll'; -function DI_7300B_Config; external 'Pci-Dask.dll'; -function DI_InitialMemoryAllocated; external 'Pci-Dask.dll'; -function DI_ReadLine; external 'Pci-Dask.dll'; -function DI_ReadPort; external 'Pci-Dask.dll'; -function DI_ContReadPort; external 'Pci-Dask.dll'; -function DI_ContReadPortToFile; external 'Pci-Dask.dll'; -function DI_ContStatus; external 'Pci-Dask.dll'; -function DI_AsyncCheck; external 'Pci-Dask.dll'; -function DI_AsyncClear; external 'Pci-Dask.dll'; -function DI_AsyncDblBufferHalfReady; external 'Pci-Dask.dll'; -function DI_AsyncDblBufferMode; external 'Pci-Dask.dll'; -function DI_AsyncDblBufferTransfer; external 'Pci-Dask.dll'; -function DI_ContMultiBufferSetup; external 'Pci-Dask.dll'; -function DI_ContMultiBufferStart; external 'Pci-Dask.dll'; -function DI_AsyncMultiBufferNextReady; external 'Pci-Dask.dll'; -function DI_AsyncDblBufferOverrun; external 'Pci-Dask.dll'; -function DI_EventCallBack; external 'Pci-Dask.dll'; -function DI_9222_Config; external 'Pci-Dask.dll'; -function DI_9223_Config; external 'Pci-Dask.dll'; -function DI_AsyncDblBufferHandled; external 'Pci-Dask.dll'; -function DI_AsyncDblBufferToFile; external 'Pci-Dask.dll'; -function DI_SetTimeOut; external 'Pci-Dask.dll'; -function DI_ContBufferSetup; external 'Pci-Dask.dll'; -function DI_ContBufferReset; external 'Pci-Dask.dll'; -function DI_AsyncReTrigNextReady; external 'Pci-Dask.dll'; -function DI_7350_Config; external 'Pci-Dask.dll'; -function DI_7350_TrigHSConfig; external 'Pci-Dask.dll'; -function DI_7350_ExtSampCLKConfig; external 'Pci-Dask.dll'; -function DI_7350_ExportSampCLKConfig; external 'Pci-Dask.dll'; -function DI_7350_SoftTriggerGen; external 'Pci-Dask.dll'; -function DI_7350_BurstHandShakeDelay; external 'Pci-Dask.dll'; -(*---------------------------------------------------------------------------*) -function DO_7200_Config; external 'Pci-Dask.dll'; -function DO_7300A_Config; external 'Pci-Dask.dll'; -function DO_7300B_Config; external 'Pci-Dask.dll'; -function DO_7300B_SetDODisableMode; external 'Pci-Dask.dll'; -function DO_InitialMemoryAllocated; external 'Pci-Dask.dll'; -function DO_WriteLine; external 'Pci-Dask.dll'; -function DO_WritePort; external 'Pci-Dask.dll'; -function DO_SimuWritePort; external 'Pci-Dask.dll'; -function DO_ReadLine; external 'Pci-Dask.dll'; -function DO_ReadPort; external 'Pci-Dask.dll'; -function DO_ContWritePort; external 'Pci-Dask.dll'; -function DO_PGStart; external 'Pci-Dask.dll'; -function DO_PGStop; external 'Pci-Dask.dll'; -function DO_ContStatus; external 'Pci-Dask.dll'; -function DO_AsyncCheck; external 'Pci-Dask.dll'; -function DO_AsyncClear; external 'Pci-Dask.dll'; -function EDO_9111_Config; external 'Pci-Dask.dll'; -function DO_WriteExtTrigLine; external 'Pci-Dask.dll'; -function DO_ContMultiBufferSetup; external 'Pci-Dask.dll'; -function DO_ContMultiBufferStart; external 'Pci-Dask.dll'; -function DO_AsyncMultiBufferNextReady; external 'Pci-Dask.dll'; -function DO_EventCallBack; external 'Pci-Dask.dll'; -function DO_9222_Config; external 'Pci-Dask.dll'; -function DO_9223_Config; external 'Pci-Dask.dll'; -function DO_SetTimeOut; external 'Pci-Dask.dll'; -function DO_ContBufferSetup; external 'Pci-Dask.dll'; -function DO_ContBufferReset; external 'Pci-Dask.dll'; -function DO_7350_Config; external 'Pci-Dask.dll'; -function DO_7350_TrigHSConfig; external 'Pci-Dask.dll'; -function DO_7350_ExtSampCLKConfig; external 'Pci-Dask.dll'; -function DO_7350_ExportSampCLKConfig; external 'Pci-Dask.dll'; -function DO_7350_SoftTriggerGen; external 'Pci-Dask.dll'; -function DO_ContWritePortEx; external 'Pci-Dask.dll'; -function DO_7350_BurstHandShakeDelay; external 'Pci-Dask.dll'; -(*---------------------------------------------------------------------------*) -function DIO_PortConfig; external 'Pci-Dask.dll'; -function DIO_LinesConfig; external 'Pci-Dask.dll'; -function DIO_LineConfig; external 'Pci-Dask.dll'; -function DIO_SetDualInterrupt; external 'Pci-Dask.dll'; -function DIO_SetCOSInterrupt; external 'Pci-Dask.dll'; -function DIO_GetCOSLatchData; external 'Pci-Dask.dll'; -function DIO_SetCOSInterrupt32; external 'Pci-Dask.dll'; -function DIO_GetCOSLatchData32; external 'Pci-Dask.dll'; -function DIO_GetCOSLatchDataInt32; external 'Pci-Dask.dll'; -function DIO_INT1_EventMessage; external 'Pci-Dask.dll'; -function DIO_INT2_EventMessage; external 'Pci-Dask.dll'; -function DIO_INT_EventMessage; external 'Pci-Dask.dll'; -function DIO_7300SetInterrupt; external 'Pci-Dask.dll'; -function DIO_AUXDI_EventMessage; external 'Pci-Dask.dll'; -function DIO_T2_EventMessage; external 'Pci-Dask.dll'; -function DIO_COSInterruptCounter; external 'Pci-Dask.dll'; -function DIO_VoltLevelConfig; external 'Pci-Dask.dll'; -function DIO_7350_AFIConfig; external 'Pci-Dask.dll'; -function DIO_PMConfig; external 'Pci-Dask.dll'; -function DIO_PMControl; external 'Pci-Dask.dll'; -function DIO_SetPMInterrupt32; external 'Pci-Dask.dll'; -function DIO_GetPMLatchData32; external 'Pci-Dask.dll'; -(*---------------------------------------------------------------------------*) -function CTR_Setup; external 'Pci-Dask.dll'; -function CTR_Setup_All; external 'Pci-Dask.dll'; -function CTR_Clear; external 'Pci-Dask.dll'; -function CTR_Read; external 'Pci-Dask.dll'; -function CTR_Read_All; external 'Pci-Dask.dll'; -function CTR_Status; external 'Pci-Dask.dll'; -function CTR_Update; external 'Pci-Dask.dll'; -function CTR_8554_ClkSrc_Config; external 'Pci-Dask.dll'; -function CTR_8554_CK1_Config; external 'Pci-Dask.dll'; -function CTR_8554_Debounce_Config; external 'Pci-Dask.dll'; -function GCTR_Setup; external 'Pci-Dask.dll'; -function GCTR_Clear; external 'Pci-Dask.dll'; -function GCTR_Read; external 'Pci-Dask.dll'; -function GPTC_Clear; external 'Pci-Dask.dll'; -function GPTC_Control; external 'Pci-Dask.dll'; -function GPTC_Read; external 'Pci-Dask.dll'; -function GPTC_Setup; external 'Pci-Dask.dll'; -function GPTC_Status; external 'Pci-Dask.dll'; -function GPTC_EventCallBack; external 'Pci-Dask.dll'; -function GPTC_EventSetup; external 'Pci-Dask.dll'; -function GPTC_9524_PG_Config; external 'Pci-Dask.dll'; -function GPTC_9524_GetTimerEvent; external 'Pci-Dask.dll'; -function WDT_Setup; external 'Pci-Dask.dll'; -function WDT_Control; external 'Pci-Dask.dll'; -function WDT_Status; external 'Pci-Dask.dll'; -function WDT_Reload; external 'Pci-Dask.dll'; -(*---------------------------------------------------------------------------*) -function AI_GetEvent; external 'Pci-Dask.dll'; -function AO_GetEvent; external 'Pci-Dask.dll'; -function DI_GetEvent; external 'Pci-Dask.dll'; -function DO_GetEvent; external 'Pci-Dask.dll'; -(*---------------------------------------------------------------------------*) -function AI_GetView; external 'Pci-Dask.dll'; -function DI_GetView; external 'Pci-Dask.dll'; -function DO_GetView; external 'Pci-Dask.dll'; -(*---------------------------------------------------------------------------*) -function PCI_DB_Auto_Calibration_ALL; external 'Pci-Dask.dll'; -function PCI_Load_CAL_Data; external 'Pci-Dask.dll'; -function PCI_EEPROM_CAL_Constant_Update; external 'Pci-Dask.dll'; -function PCI9524_Acquire_AD_CalConst; external 'Pci-Dask.dll'; -function PCI9524_Acquire_DA_CalConst; external 'Pci-Dask.dll'; -function PCI9524_Read_EEProm; external 'Pci-Dask.dll'; -function PCI9524_Read_RemoteSPI; external 'Pci-Dask.dll'; -function PCI9524_Write_EEProm; external 'Pci-Dask.dll'; -function PCI9524_Write_RemoteSPI; external 'Pci-Dask.dll'; -(*---------------------------------------------------------------------------*) -function SSI_SourceConn; external 'Pci-Dask.dll'; -function SSI_SourceDisConn; external 'Pci-Dask.dll'; -function SSI_SourceClear; external 'Pci-Dask.dll'; -(*----------------------------------------------------------------------------*) -function PWM_Output; external 'Pci-Dask.dll'; -function PWM_Stop; external 'Pci-Dask.dll'; -(*----------------------------------------------------------------------------*) -function I2C_Setup; external 'Pci-Dask.dll'; -function I2C_Control; external 'Pci-Dask.dll'; -function I2C_Status; external 'Pci-Dask.dll'; -function I2C_Read; external 'Pci-Dask.dll'; -function I2C_Write; external 'Pci-Dask.dll'; -(*----------------------------------------------------------------------------*) -function SPI_Setup; external 'Pci-Dask.dll'; -function SPI_Control; external 'Pci-Dask.dll'; -function SPI_Status; external 'Pci-Dask.dll'; -function SPI_Read; external 'Pci-Dask.dll'; -function SPI_Write; external 'Pci-Dask.dll'; -(*----------------------------------------------------------------------------*) - -end. diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Include/Dask.vb b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Include/Dask.vb deleted file mode 100644 index 98a57d0..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Include/Dask.vb +++ /dev/null @@ -1,1544 +0,0 @@ -Option Strict Off -Option Explicit On -Module DASK - - 'ADLink PCI Card Type - Public Const PCI_6208V As Short = 1 - Public Const PCI_6208A As Short = 2 - Public Const PCI_6308V As Short = 3 - Public Const PCI_6308A As Short = 4 - Public Const PCI_7200 As Short = 5 - Public Const PCI_7230 As Short = 6 - Public Const PCI_7233 As Short = 7 - Public Const PCI_7234 As Short = 8 - Public Const PCI_7248 As Short = 9 - Public Const PCI_7249 As Short = 10 - Public Const PCI_7250 As Short = 11 - Public Const PCI_7252 As Short = 12 - Public Const PCI_7296 As Short = 13 - Public Const PCI_7300A_RevA As Short = 14 - Public Const PCI_7300A_RevB As Short = 15 - Public Const PCI_7432 As Short = 16 - Public Const PCI_7433 As Short = 17 - Public Const PCI_7434 As Short = 18 - Public Const PCI_8554 As Short = 19 - Public Const PCI_9111DG As Short = 20 - Public Const PCI_9111HR As Short = 21 - Public Const PCI_9112 As Short = 22 - Public Const PCI_9113 As Short = 23 - Public Const PCI_9114DG As Short = 24 - Public Const PCI_9114HG As Short = 25 - Public Const PCI_9118DG As Short = 26 - Public Const PCI_9118HG As Short = 27 - Public Const PCI_9118HR As Short = 28 - Public Const PCI_9810 As Short = 29 - Public Const PCI_9812 As Short = 30 - Public Const PCI_7396 As Short = 31 - Public Const PCI_9116 As Short = 32 - Public Const PCI_7256 As Short = 33 - Public Const PCI_7258 As Short = 34 - Public Const PCI_7260 As Short = 35 - Public Const PCI_7452 As Short = 36 - Public Const PCI_7442 As Short = 37 - Public Const PCI_7443 As Short = 38 - Public Const PCI_7444 As Short = 39 - Public Const PCI_9221 As Short = 40 - Public Const PCI_9524 As Short = 41 - Public Const PCI_6202 As Short = 42 - Public Const PCI_9222 As Short = 43 - Public Const PCI_9223 As Short = 44 - Public Const PCI_7433C As Short = 45 - Public Const PCI_7434C As Short = 46 - Public Const PCI_922A As Short = 47 - Public Const PCI_7350 As Short = 48 - Public Const PCI_7360 As Short = 49 - - Public Const MAX_CARD As Short = 32 - - 'Error Code - Public Const NoError As Short = 0 - Public Const ErrorUnknownCardType As Short = -1 - Public Const ErrorInvalidCardNumber As Short = -2 - Public Const ErrorTooManyCardRegistered As Short = -3 - Public Const ErrorCardNotRegistered As Short = -4 - Public Const ErrorFuncNotSupport As Short = -5 - Public Const ErrorInvalidIoChannel As Short = -6 - Public Const ErrorInvalidAdRange As Short = -7 - Public Const ErrorContIoNotAllowed As Short = -8 - Public Const ErrorDiffRangeNotSupport As Short = -9 - Public Const ErrorLastChannelNotZero As Short = -10 - Public Const ErrorChannelNotDescending As Short = -11 - Public Const ErrorChannelNotAscending As Short = -12 - Public Const ErrorOpenDriverFailed As Short = -13 - Public Const ErrorOpenEventFailed As Short = -14 - Public Const ErrorTransferCountTooLarge As Short = -15 - Public Const ErrorNotDoubleBufferMode As Short = -16 - Public Const ErrorInvalidSampleRate As Short = -17 - Public Const ErrorInvalidCounterMode As Short = -18 - Public Const ErrorInvalidCounter As Short = -19 - Public Const ErrorInvalidCounterState As Short = -20 - Public Const ErrorInvalidBinBcdParam As Short = -21 - Public Const ErrorBadCardType As Short = -22 - Public Const ErrorInvalidDaRange As Short = -23 - Public Const ErrorAdTimeOut As Short = -24 - Public Const ErrorNoAsyncAI As Short = -25 - Public Const ErrorNoAsyncAO As Short = -26 - Public Const ErrorNoAsyncDI As Short = -27 - Public Const ErrorNoAsyncDO As Short = -28 - Public Const ErrorNotInputPort As Short = -29 - Public Const ErrorNotOutputPort As Short = -30 - Public Const ErrorInvalidDioPort As Short = -31 - Public Const ErrorInvalidDioLine As Short = -32 - Public Const ErrorContIoActive As Short = -33 - Public Const ErrorDblBufModeNotAllowed As Short = -34 - Public Const ErrorConfigFailed As Short = -35 - Public Const ErrorInvalidPortDirection As Short = -36 - Public Const ErrorBeginThreadError As Short = -37 - Public Const ErrorInvalidPortWidth As Short = -38 - Public Const ErrorInvalidCtrSource As Short = -39 - Public Const ErrorOpenFile As Short = -40 - Public Const ErrorAllocateMemory As Short = -41 - Public Const ErrorDaVoltageOutOfRange As Short = -42 - Public Const ErrorDaExtRefNotAllowed As Short = -43 - Public Const ErrorDIODataWidthError As Short = -44 - Public Const ErrorTaskCodeError As Short = -45 - Public Const ErrortriggercountError As Short = -46 - Public Const ErrorInvalidTriggerMode As Short = -47 - Public Const ErrorInvalidTriggerType As Short = -48 - Public Const ErrorInvalidCounterValue As Short = -50 - Public Const ErrorInvalidEventHandle As Short = -60 - Public Const ErrorNoMessageAvailable As Short = -61 - Public Const ErrorEventMessgaeNotAdded As Short = -62 - Public Const ErrorCalibrationTimeOut = -63 - Public Const ErrorUndefinedParameter = -64 - Public Const ErrorInvalidBufferID = -65 - Public Const ErrorInvalidSampledClock = -66 - Public Const ErrorInvalisOperationMode = -67 - - 'Error code for driver API - Public Const ErrorConfigIoctl As Short = -201 - Public Const ErrorAsyncSetIoctl As Short = -202 - Public Const ErrorDBSetIoctl As Short = -203 - Public Const ErrorDBHalfReadyIoctl As Short = -204 - Public Const ErrorContOPIoctl As Short = -205 - Public Const ErrorContStatusIoctl As Short = -206 - Public Const ErrorPIOIoctl As Short = -207 - Public Const ErrorDIntSetIoctl As Short = -208 - Public Const ErrorWaitEvtIoctl As Short = -209 - Public Const ErrorOpenEvtIoctl As Short = -210 - Public Const ErrorCOSIntSetIoctl As Short = -211 - Public Const ErrorMemMapIoctl As Short = -212 - Public Const ErrorMemUMapSetIoctl As Short = -213 - Public Const ErrorCTRIoctl As Short = -214 - Public Const ErrorGetResIoctl As Short = -215 - Public Const ErrorCalIoctl = -216 - Public Const ErrorPMIntSetIoctl = -217 - - 'AD Range - Public Const AD_B_10_V As Short = 1 - Public Const AD_B_5_V As Short = 2 - Public Const AD_B_2_5_V As Short = 3 - Public Const AD_B_1_25_V As Short = 4 - Public Const AD_B_0_625_V As Short = 5 - Public Const AD_B_0_3125_V As Short = 6 - Public Const AD_B_0_5_V As Short = 7 - Public Const AD_B_0_05_V As Short = 8 - Public Const AD_B_0_005_V As Short = 9 - Public Const AD_B_1_V As Short = 10 - Public Const AD_B_0_1_V As Short = 11 - Public Const AD_B_0_01_V As Short = 12 - Public Const AD_B_0_001_V As Short = 13 - Public Const AD_U_20_V As Short = 14 - Public Const AD_U_10_V As Short = 15 - Public Const AD_U_5_V As Short = 16 - Public Const AD_U_2_5_V As Short = 17 - Public Const AD_U_1_25_V As Short = 18 - Public Const AD_U_1_V As Short = 19 - Public Const AD_U_0_1_V As Short = 20 - Public Const AD_U_0_01_V As Short = 21 - Public Const AD_U_0_001_V As Short = 22 - Public Const AD_B_2_V As Short = 23 - Public Const AD_B_0_25_V As Short = 24 - Public Const AD_B_0_2_V As Short = 25 - Public Const AD_U_4_V As Short = 26 - Public Const AD_U_2_V As Short = 27 - Public Const AD_U_0_5_V As Short = 28 - Public Const AD_U_0_4_V As Short = 29 - - 'Synchronous Mode - Public Const SYNCH_OP As Short = 1 - Public Const ASYNCH_OP As Short = 2 - - 'AO Terminate Mode - Public Const DA_TerminateImmediate = 0 - - 'Trigger Source - Public Const TRIG_SOFTWARE As Short = 0 - Public Const TRIG_INT_PACER As Short = 1 - Public Const TRIG_EXT_STROBE As Short = 2 - Public Const TRIG_HANDSHAKE As Short = 3 - Public Const TRIG_CLK_10MHZ As Short = 4 'PCI-7300A - Public Const TRIG_CLK_20MHZ As Short = 5 'PCI-7300A - Public Const TRIG_DO_CLK_TIMER_ACK As Short = 6 'PCI-7300A Rev. B - Public Const TRIG_DO_CLK_10M_ACK As Short = 7 'PCI-7300A Rev. B - Public Const TRIG_DO_CLK_20M_ACK As Short = 8 'PCI-7300A Rev. B - - 'DIO & AFI Voltage Level - Public Const VoltLevel_3R3 As Short = 0 - Public Const VoltLevel_2R5 As Short = 1 - Public Const VoltLevel_1R8 As Short = 2 - - 'Virtual sampling rate for using external clock as the clock source - Public Const CLKSRC_EXT_SampRate As Short = 10000 - - '--------- Constants for PCI-6208A -------------- - 'Output Mode - Public Const P6208_CURRENT_0_20MA As Short = 0 - Public Const P6208_CURRENT_5_25MA As Short = 1 - Public Const P6208_CURRENT_4_20MA As Short = 3 - - '--------- Constants for PCI-6308A/PCI-6308V -------------- - 'Output Mode - Public Const P6308_CURRENT_0_20MA As Short = 0 - Public Const P6308_CURRENT_5_25MA As Short = 1 - Public Const P6308_CURRENT_4_20MA As Short = 3 - 'AO Setting - Public Const P6308V_AO_CH0_3 As Short = 0 - Public Const P6308V_AO_CH4_7 As Short = 1 - Public Const P6308V_AO_UNIPOLAR As Short = 0 - Public Const P6308V_AO_BIPOLAR As Short = 1 - - '--------- Constants for PCI-7200 -------------- - 'InputMode - Public Const DI_WAITING As Short = &H2S - Public Const DI_NOWAITING As Short = &H0S - - Public Const DI_TRIG_RISING As Short = &H4S - Public Const DI_TRIG_FALLING As Short = &H0S - - Public Const IREQ_RISING As Short = &H8S - Public Const IREQ_FALLING As Short = &H0S - - 'Output Mode - Public Const OREQ_ENABLE As Short = &H10S - Public Const OREQ_DISABLE As Short = &H0S - - Public Const OTRIG_HIGH As Short = &H20S - Public Const OTRIG_LOW As Short = &H0S - - '--------- Constants for PCI-7248/7296/7442 -------------- - 'DIO Port Direction - Public Const INPUT_PORT As Short = 1 - Public Const OUTPUT_PORT As Short = 2 - 'DIO Line Direction - Public Const INPUT_LINE As Short = 1 - Public Const OUTPUT_LINE As Short = 2 - - 'Channel&Port - Public Const Channel_P1A As Short = 0 - Public Const Channel_P1B As Short = 1 - Public Const Channel_P1C As Short = 2 - Public Const Channel_P1CL As Short = 3 - Public Const Channel_P1CH As Short = 4 - Public Const Channel_P1AE As Short = 10 - Public Const Channel_P1BE As Short = 11 - Public Const Channel_P1CE As Short = 12 - Public Const Channel_P2A As Short = 5 - Public Const Channel_P2B As Short = 6 - Public Const Channel_P2C As Short = 7 - Public Const Channel_P2CL As Short = 8 - Public Const Channel_P2CH As Short = 9 - Public Const Channel_P2AE As Short = 15 - Public Const Channel_P2BE As Short = 16 - Public Const Channel_P2CE As Short = 17 - Public Const Channel_P3A As Short = 10 - Public Const Channel_P3B As Short = 11 - Public Const Channel_P3C As Short = 12 - Public Const Channel_P3CL As Short = 13 - Public Const Channel_P3CH As Short = 14 - Public Const Channel_P4A As Short = 15 - Public Const Channel_P4B As Short = 16 - Public Const Channel_P4C As Short = 17 - Public Const Channel_P4CL As Short = 18 - Public Const Channel_P4CH As Short = 19 - Public Const Channel_P5A As Short = 20 - Public Const Channel_P5B As Short = 21 - Public Const Channel_P5C As Short = 22 - Public Const Channel_P5CL As Short = 23 - Public Const Channel_P5CH As Short = 24 - Public Const Channel_P6A As Short = 25 - Public Const Channel_P6B As Short = 26 - Public Const Channel_P6C As Short = 27 - Public Const Channel_P6CL As Short = 28 - Public Const Channel_P6CH As Short = 29 - Public Const Channel_P1 As Short = 30 - Public Const Channel_P2 As Short = 31 - Public Const Channel_P3 As Short = 32 - Public Const Channel_P4 As Short = 33 - Public Const Channel_P1E As Short = 34 - Public Const Channel_P2E As Short = 35 - Public Const Channel_P3E As Short = 36 - Public Const Channel_P4E As Short = 37 - ' 7442 - Public Const P7442_CH0 As Short = 0 - Public Const P7442_CH1 As Short = 1 - Public Const P7442_TTL0 As Short = 2 - Public Const P7442_TTL1 As Short = 3 - ' P7443 - Public Const P7443_CH0 = 0 - Public Const P7443_CH1 = 1 - Public Const P7443_CH2 = 2 - Public Const P7443_CH3 = 3 - Public Const P7443_TTL0 = 4 - Public Const P7443_TTL1 = 5 - ' P7444 - Public Const P7444_CH0 = 0 - Public Const P7444_CH1 = 1 - Public Const P7444_CH2 = 2 - Public Const P7444_CH3 = 3 - Public Const P7444_TTL0 = 4 - Public Const P7444_TTL1 = 5 - '--------- Constants for PCI-7300A -------------- - 'Wait Status - Public Const P7300_WAIT_NO As Short = 0 - Public Const P7300_WAIT_TRG As Short = 1 - Public Const P7300_WAIT_FIFO As Short = 2 - Public Const P7300_WAIT_BOTH As Short = 3 - - 'Terminator control - Public Const P7300_TERM_OFF As Short = 0 - Public Const P7300_TERM_ON As Short = 1 - - 'DI control signals polarity for PCI-7300A Rev. B - Public Const P7300_DIREQ_POS As Short = &H0S - Public Const P7300_DIREQ_NEG As Short = &H1S - Public Const P7300_DIACK_POS As Short = &H0S - Public Const P7300_DIACK_NEG As Short = &H2S - Public Const P7300_DITRIG_POS As Short = &H0S - Public Const P7300_DITRIG_NEG As Short = &H4S - - 'DO control signals polarity for PCI-7300A Rev. B - Public Const P7300_DOREQ_POS As Short = &H0S - Public Const P7300_DOREQ_NEG As Short = &H8S - Public Const P7300_DOACK_POS As Short = &H0S - Public Const P7300_DOACK_NEG As Short = &H10S - Public Const P7300_DOTRIG_POS As Short = &H0S - Public Const P7300_DOTRIG_NEG As Short = &H20S - - 'DO Disable mode in DO_AsyncClear - Public Const P7300_DODisableDOEnabled As Short = 0 - Public Const P7300_DONotDisableDOEnabled As Short = 1 - - '--------- Constants for PCI-7432/7433/7434/7433C/7434C -------------- - Public Const CHANNEL_DI_LOW As Short = 0 - Public Const CHANNEL_DI_HIGH As Short = 1 - Public Const CHANNEL_DO_LOW As Short = 0 - Public Const CHANNEL_DO_HIGH As Short = 1 - Public Const P7432R_DO_LED As Short = 1 - Public Const P7433R_DO_LED As Short = 0 - Public Const P7434R_DO_LED As Short = 2 - Public Const P7432R_DI_SLOT As Short = 1 - Public Const P7433R_DI_SLOT As Short = 2 - Public Const P7434R_DI_SLOT As Short = 0 - - '----- Dual-Interrupt Source control for PCI-7248/49/96 & 7230 & 8554 & 7396 &7256/58 & 7260 & 7433C ----- - Public Const INT1_NC As Short = -2 'INT1 Unchanged - Public Const INT1_DISABLE As Short = -1 'INT1 Disabled - Public Const INT1_COS As Short = 0 'INT1 COS : only available for PCI-7396, PCI-7256/58 & PCI-7260 - Public Const INT1_FP1C0 As Short = 1 'INT1 by Falling edge of P1C0 - Public Const INT1_RP1C0_FP1C3 As Short = 2 'INT1 by P1C0 Rising or P1C3 Falling - Public Const INT1_EVENT_COUNTER As Short = 3 'INT1 by Event Counter down to zero - Public Const INT1_EXT_SIGNAL As Short = 1 'INT1 by external signal : only available for PCI7432/PCI7433/PCI7230 - Public Const INT1_COUT12 As Short = 1 'INT1 COUT12 : only available for PCI8554 - Public Const INT1_CH0 As Short = 1 'INT1 CH0 : only available for PCI7256/58/60 - Public Const INT1_COS0 As Short = 1 'INT1 COS0 : only available for PCI-7452/PCI-7443 - Public Const INT1_COS1 As Short = 2 'INT1 COS1 : only available for PCI-7452/PCI-7443 - Public Const INT1_COS2 As Short = 3 'INT1 COS2 : only available for PCI-7452/PCI-7443 - Public Const INT1_COS3 As Short = 8 'INT1 COS3 : only available for PCI-7452/PCI-7443 - Public Const INT2_NC As Short = -2 'INT2 Unchanged - Public Const INT2_DISABLE As Short = -1 'INT2 Disabled - Public Const INT2_COS As Short = 0 'INT2 COS : only available for PCI-7396 - Public Const INT2_FP2C0 As Short = 1 'INT2 by Falling edge of P2C0 - Public Const INT2_RP2C0_FP2C3 As Short = 2 'INT2 by P2C0 Rising or P2C3 Falling - Public Const INT2_TIMER_COUNTER As Short = 3 'INT2 by Timer Counter down to zero - Public Const INT2_EXT_SIGNAL As Short = 1 'INT2 by external signal : only available for PCI7432/PCI7433/PCI7230 - Public Const INT2_CH1 As Short = 2 'INT2 CH1 : only available for PCI7256/58/60 - Public Const INT2_WDT As Short = 4 'INT2 by WDT - - Public Const WDT_OVRFLOW_SAFETYOUT As Short = &H8000S 'enable safteyout while WDT overflow - '-------- Constants for PCI-8554 -------------------- - 'Clock Source of Cunter N - Public Const ECKN As Short = 0 - Public Const COUTN_1 As Short = 1 - Public Const CK1 As Short = 2 - Public Const COUT10 As Short = 3 - - 'Clock Source of CK1 - Public Const CK1_C8M As Short = 0 - Public Const CK1_COUT11 As Short = 1 - - 'Debounce Clock - Public Const DBCLK_COUT11 As Short = 0 - Public Const DBCLK_2MHZ As Short = 1 - - '--------- Constants for PCI-9111 -------------- - 'Dual Interrupt Mode - Public Const P9111_INT1_EOC As Short = 0 'Ending of AD conversion - Public Const P9111_INT1_FIFO_HF As Short = 1 'FIFO Half Full - Public Const P9111_INT2_PACER As Short = 0 'Every Timer tick - Public Const P9111_INT2_EXT_TRG As Short = 1 'ExtTrig High->Low - - 'Channel Count - Public Const P9111_CHANNEL_DO As Short = 0 - Public Const P9111_CHANNEL_EDO As Short = 1 - Public Const P9111_CHANNEL_DI As Short = 0 - Public Const P9111_CHANNEL_EDI As Short = 1 - - 'Trigger Mode - Public Const P9111_TRGMOD_SOFT As Short = 0 'Software Trigger Mode - Public Const P9111_TRGMOD_PRE As Short = 1 'Pre-Trigger Mode - Public Const P9111_TRGMOD_POST As Short = 2 'Post Trigger Mode - - 'EDO function - Public Const P9111_EDO_INPUT As Short = 1 'EDO port set as Input port - Public Const P9111_EDO_OUT_EDO As Short = 2 'EDO port set as Output port - Public Const P9111_EDO_OUT_CHN As Short = 3 'EDO port set as channel number ouput port - - 'AO Setting - Public Const P9111_AO_UNIPOLAR As Short = 0 - Public Const P9111_AO_BIPOLAR As Short = 1 - - '--------- Constants for PCI-9118 -------------- - Public Const P9118_AI_BiPolar As Short = &H0S - Public Const P9118_AI_UniPolar As Short = &H1S - - Public Const P9118_AI_SingEnded As Short = &H0S - Public Const P9118_AI_Differential As Short = &H2S - - Public Const P9118_AI_ExtG As Short = &H4S - - Public Const P9118_AI_ExtTrig As Short = &H8S - - Public Const P9118_AI_DtrgNegative As Short = &H0S - Public Const P9118_AI_DtrgPositive As Short = &H10S - - Public Const P9118_AI_EtrgNegative As Short = &H0S - Public Const P9118_AI_EtrgPositive As Short = &H20S - - Public Const P9118_AI_BurstModeEn As Short = &H40S - Public Const P9118_AI_SampleHold As Short = &H80S - Public Const P9118_AI_PostTrgEn As Short = &H100S - Public Const P9118_AI_AboutTrgEn As Short = &H200S - - '--------- Constants for PCI-9812/9810 -------------- - 'Channel Count - Public Const P9116_AI_LocalGND As Short = &H0S - Public Const P9116_AI_UserCMMD As Short = &H1S - Public Const P9116_AI_SingEnded As Short = &H0S - Public Const P9116_AI_Differential As Short = &H2S - Public Const P9116_AI_BiPolar As Short = &H0S - Public Const P9116_AI_UniPolar As Short = &H4S - - Public Const P9116_TRGMOD_SOFT As Short = &H0S 'Software Trigger Mode - Public Const P9116_TRGMOD_POST As Short = &H10S 'Post Trigger Mode - Public Const P9116_TRGMOD_DELAY As Short = &H20S 'Delay Trigger Mode - Public Const P9116_TRGMOD_PRE As Short = &H30S 'Pre-Trigger Mode - Public Const P9116_TRGMOD_MIDL As Short = &H40S 'Middle Trigger Mode - Public Const P9116_AI_TrgPositive As Short = &H0S - Public Const P9116_AI_TrgNegative As Short = &H80S - Public Const P9116_AI_IntTimeBase As Short = &H0S - Public Const P9116_AI_ExtTimeBase As Short = &H100S - Public Const P9116_AI_DlyInSamples As Short = &H200S - Public Const P9116_AI_DlyInTimebase As Short = &H0S - Public Const P9116_AI_ReTrigEn As Short = &H400S - Public Const P9116_AI_MCounterEn As Short = &H800S - Public Const P9116_AI_SoftPolling As Short = &H0S - Public Const P9116_AI_INT As Short = &H1000S - Public Const P9116_AI_DMA As Short = &H2000S - - '--------- Constants for PCI-9812/9810 -------------- - 'Channel Count - Public Const P9812_CHANNEL_CNT1 As Short = 1 - Public Const P9812_CHANNEL_CNT2 As Short = 2 - Public Const P9812_CHANNEL_CNT4 As Short = 4 - - 'Trigger Mode - Public Const P9812_TRGMOD_SOFT As Short = 0 'Software Trigger Mode - Public Const P9812_TRGMOD_POST As Short = 1 'Post Trigger Mode - Public Const P9812_TRGMOD_PRE As Short = 2 'Pre-Trigger Mode - Public Const P9812_TRGMOD_DELAY As Short = 3 'Delay Trigger Mode - Public Const P9812_TRGMOD_MIDL As Short = 4 'Middle Trigger Mode - - 'Trigger Source - Public Const P9812_TRGSRC_CH0 As Short = &H0S 'trigger source --CH0 - Public Const P9812_TRGSRC_CH1 As Short = &H8S 'trigger source --CH1 - Public Const P9812_TRGSRC_CH2 As Short = &H10S 'trigger source --CH2 - Public Const P9812_TRGSRC_CH3 As Short = &H18S 'trigger source --CH3 - Public Const P9812_TRGSRC_EXT_DIG As Short = &H20S 'External Digital Trigger - - 'Trigger Polarity - Public Const P9812_TRGSLP_POS As Short = &H0S 'Positive slope trigger - Public Const P9812_TRGSLP_NEG As Short = &H40S 'Negative slope trigger - - 'Frequency Selection - Public Const P9812_AD2_GT_PCI As Short = &H80S 'Freq. of A/D clock > PCI clock freq. - Public Const P9812_AD2_LT_PCI As Short = &H0S 'Freq. of A/D clock < PCI clock freq. - - 'Clock Source - Public Const P9812_CLKSRC_INT As Short = &H0S 'Internal clock - Public Const P9812_CLKSRC_EXT_SIN As Short = &H100S 'External SIN wave clock - Public Const P9812_CLKSRC_EXT_DIG As Short = &H200S 'External Square wave clock - - '-------- Constants for PCI-9221 -------------------- - 'Input Type - Public Const P9221_AI_SingEnded As Short = &H0S - Public Const P9221_AI_NonRef_SingEnded As Short = &H1S - Public Const P9221_AI_Differential As Short = &H2S - - 'Trigger Mode - Public Const P9221_TRGMOD_SOFT As Short = &H0S - Public Const P9221_TRGMOD_ExtD As Short = &H8S - 'Trigger Source - Public Const P9221_TRGSRC_GPI0 As Short = &H0S - Public Const P9221_TRGSRC_GPI1 As Short = &H1S - Public Const P9221_TRGSRC_GPI2 As Short = &H2S - Public Const P9221_TRGSRC_GPI3 As Short = &H3S - Public Const P9221_TRGSRC_GPI4 As Short = &H4S - Public Const P9221_TRGSRC_GPI5 As Short = &H5S - Public Const P9221_TRGSRC_GPI6 As Short = &H6S - Public Const P9221_TRGSRC_GPI7 As Short = &H7S - - 'Trigger Polarity - Public Const P9221_AI_TrgPositive As Short = &H00S - Public Const P9221_AI_TrgNegative As Short = &H10S - - 'TimeBase Mode - Public Const P9221_AI_IntTimeBase As Short = &H0S - Public Const P9221_AI_ExtTimeBase As Short = &H80S - - 'TimeBase Source - Public Const P9221_TimeBaseSRC_GPI0 As Short = &H0S - Public Const P9221_TimeBaseSRC_GPI1 As Short = &H10S - Public Const P9221_TimeBaseSRC_GPI2 As Short = &H20S - Public Const P9221_TimeBaseSRC_GPI3 As Short = &H30S - Public Const P9221_TimeBaseSRC_GPI4 As Short = &H40S - Public Const P9221_TimeBaseSRC_GPI5 As Short = &H50S - Public Const P9221_TimeBaseSRC_GPI6 As Short = &H60S - Public Const P9221_TimeBaseSRC_GPI7 As Short = &H70S - - 'DAQ Event type for the event message - Public Const AIEnd As Short = 0 - Public Const A0End As Short = 0 - Public Const DIEnd As Short = 0 - Public Const DOEnd As Short = 0 - Public Const DBEvent As Short = 1 - Public Const TrigEvent As Short = 2 - - 'EMG shdn ctrl code - Public Const EMGSHDN_OFF As Short = 0 'off - Public Const EMGSHDN_ON As Short = 1 'on - Public Const EMGSHDN_RECOVERY As Short = 2 'recovery - - 'Hot Reset Hold ctrl code - Public Const HRH_OFF As Short = 0 'off - Public Const HRH_ON As Short = 1 'on - - 'COS Counter OP - Public Const COS_COUNTER_RESET As Short = 0 - Public Const COS_COUNTER_SETUP As Short = 1 - Public Const COS_COUNTER_START As Short = 2 - Public Const COS_COUNTER_STOP As Short = 3 - Public Const COS_COUNTER_READ As Short = 4 - - '--------- Constants for Timer/Counter -------------- - 'Counter Mode (8254) - Public Const TOGGLE_OUTPUT As Short = 0 'Toggle output from low to high on terminal count - Public Const PROG_ONE_SHOT As Short = 1 'Programmable one-shot - Public Const RATE_GENERATOR As Short = 2 'Rate generator - Public Const SQ_WAVE_RATE_GENERATOR As Short = 3 'Square wave rate generator - Public Const SOFT_TRIG As Short = 4 'Software-triggered strobe - Public Const HARD_TRIG As Short = 5 'Hardware-triggered strobe - - '------- General Purpose Timer/Counter ----------------- - 'Counter Mode - Public Const General_Counter As Short = &H0S 'general counter - Public Const Pulse_Generation As Short = &H1S 'pulse generation - 'GPTC clock source - Public Const GPTC_CLKSRC_EXT As Short = &H8S - Public Const GPTC_CLKSRC_INT As Short = &H0S - Public Const GPTC_GATESRC_EXT As Short = &H10S - Public Const GPTC_GATESRC_INT As Short = &H0S - Public Const GPTC_UPDOWN_SELECT_EXT As Short = &H20S - Public Const GPTC_UPDOWN_SELECT_SOFT As Short = &H0S - Public Const GPTC_UP_CTR As Short = &H40S - Public Const GPTC_DOWN_CTR As Short = &H0S - Public Const GPTC_ENABLE As Short = &H80S - Public Const GPTC_DISABLE As Short = &H0S - - 'General Purpose Timer/Counter for 9221 - 'Counter Mode - Public Const SimpleGatedEventCNT As Short = &H01S - Public Const SinglePeriodMSR As Short = &H02S - Public Const SinglePulseWidthMSR As Short = &H03S - Public Const SingleGatedPulseGen As Short = &H04S - Public Const SingleTrigPulseGen As Short = &H05S - Public Const RetrigSinglePulseGen As Short = &H06S - Public Const SingleTrigContPulseGen As Short = &H07S - Public Const ContGatedPulseGen As Short = &H08S - Public Const EdgeSeparationMSR As Short = &H09S - Public Const SingleTrigContPulseGenPWM As Short = &H0AS - Public Const ContGatedPulseGenPWM As Short = &H0BS - Public Const CW_CCW_Encoder As Short = &H0CS - Public Const x1_AB_Phase_Encoder As Short = &H0DS - Public Const x2_AB_Phase_Encoder As Short = &H0ES - Public Const x4_AB_Phase_Encoder As Short = &H0FS - Public Const Phase_Z As Short = &H10S - - 'GPTC clock source - Public Const GPTC_CLK_SRC_Ext As Short = &H01S - Public Const GPTC_CLK_SRC_Int As Short = &H00S - Public Const GPTC_GATE_SRC_Ext As Short = &H02S - Public Const GPTC_GATE_SRC_Int As Short = &H00S - Public Const GPTC_UPDOWN_Ext As Short = &H04S - Public Const GPTC_UPDOWN_Int As Short = &H00S - - 'GPTC clock polarity - Public Const GPTC_CLKSRC_LACTIVE As Short = &H01S - Public Const GPTC_CLKSRC_HACTIVE As Short = &H00S - Public Const GPTC_GATE_LACTIVE As Short = &H02S - Public Const GPTC_GATE_HACTIVE As Short = &H00S - Public Const GPTC_UPDOWN_LACTIVE As Short = &H04S - Public Const GPTC_UPDOWN_HACTIVE As Short = &H00S - Public Const GPTC_OUTPUT_LACTIVE As Short = &H08S - Public Const GPTC_OUTPUT_HACTIVE As Short = &H00S - - Public Const IntGate As Short = &H00S - Public Const IntUpDnCTR As Short = &H01S - Public Const IntENABLE As Short = &H02S - - Public Const GPTC_EZ0_ClearPhase0 As Short = &H00S - Public Const GPTC_EZ0_ClearPhase1 As Short = &H01S - Public Const GPTC_EZ0_ClearPhase2 As Short = &H02S - Public Const GPTC_EZ0_ClearPhase3 As Short = &H03S - - Public Const GPTC_EZ0_ClearMode0 As Short = &H00S - Public Const GPTC_EZ0_ClearMode1 As Short = &H01S - Public Const GPTC_EZ0_ClearMode2 As Short = &H02S - Public Const GPTC_EZ0_ClearMode3 As Short = &H03S - - 'Watchdog Timer - 'Counter action - Public Const WDT_DISARM As Short = 0 - Public Const WDT_ARM As Short = 1 - Public Const WDT_RESTART As Short = 2 - - 'Pattern ID - Public Const INIT_PTN As Short = 0 - Public Const EMGSHDN_PTN As Short = 1 - - 'Pattern ID for 7442/7444 - Public Const INIT_PTN_CH0 As Short = 0 - Public Const INIT_PTN_CH1 As Short = 1 - Public Const INIT_PTN_CH2 As Short = 2 'only for 7444 - Public Const INIT_PTN_CH3 As Short = 3 'only for 7444 - Public Const SAFTOUT_PTN_CH0 As Short = 4 - Public Const SAFTOUT_PTN_CH1 As Short = 5 - Public Const SAFTOUT_PTN_CH2 As Short = 6 'only for 7444 - Public Const SAFTOUT_PTN_CH3 As Short = 7 'only for 7444 - - '16-bit binary or 4-decade BCD counter - Public Const BIN As Short = 0 - Public Const BCD As Short = 1 - - 'EEPROM - Public Const EEPROM_DEFAULT_BANK As Short = 0 - Public Const EEPROM_USER_BANK1 As Short = 1 - - '----------- 9524 Const ----------------- - 'AI Interrupt - Public Const P9524_INT_LC_EOC As Short = 2 - Public Const P9524_INT_GP_EOC As Short = 3 - 'DSP Constants - Public Const P9524_SPIKE_REJ_DISABLE As Short = 0 - Public Const P9524_SPIKE_REJ_ENABLE As Short = 1 - 'AI Transfer Mode - Public Const P9524_AI_XFER_POLL As Short = 0 - Public Const P9524_AI_XFER_DMA As Short = 1 - 'AI Poll all channels - Public Const P9524_AI_POLL_ALLCHANNELS As Short = 8 - Public Const P9524_AI_POLLSCANS_CH0_CH3 As Short = 8 - Public Const P9524_AI_POLLSCANS_CH0_CH2 As Short = 9 - Public Const P9524_AI_POLLSCANS_CH0_CH1 As Short = 10 - 'AI Transfer Speed - Public Const P9524_ADC_30K_SPS As Short = 0 - Public Const P9524_ADC_15K_SPS As Short = 1 - Public Const P9524_ADC_7K5_SPS As Short = 2 - Public Const P9524_ADC_3K75_SPS As Short = 3 - Public Const P9524_ADC_2K_SPS As Short = 4 - Public Const P9524_ADC_1K_SPS As Short = 5 - Public Const P9524_ADC_500_SPS As Short = 6 - Public Const P9524_ADC_100_SPS As Short = 7 - Public Const P9524_ADC_60_SPS As Short = 8 - Public Const P9524_ADC_50_SPS As Short = 9 - Public Const P9524_ADC_30_SPS As Short = 10 - Public Const P9524_ADC_25_SPS As Short = 11 - Public Const P9524_ADC_15_SPS As Short = 12 - Public Const P9524_ADC_10_SPS As Short = 13 - Public Const P9524_ADC_5_SPS As Short = 14 - Public Const P9524_ADC_2R5_SPS As Short = 15 - 'AI Configuration Mode - Public Const P9524_VEX_Range_2R5V As Short = &H00S - Public Const P9524_VEX_Range_10V As Short = &H01S - Public Const P9524_VEX_Sence_Local As Short = &H00S - Public Const P9524_VEX_Sence_Remote As Short = &H02S - Public Const P9524_AI_AZMode As Short = &H04S - Public Const P9524_AI_BufAutoReset As Short = &H08S - Public Const P9524_AI_EnEOCInt As Short = &H10S - 'AI Trigger configuration - Public Const P9524_TRGMOD_POST As Short = 0 - Public Const P9524_TRGSRC_SOFT As Short = 0 - Public Const P9524_TRGSRC_ExtD As Short = 1 - Public Const P9524_TRGSRC_SSI As Short = 2 - Public Const P9524_TRGSRC_QD0 As Short = 3 - Public Const P9524_TRGSRC_PG0 As Short = 4 - Public Const P9524_AI_TrgPositive As Short = 0 - Public Const P9524_AI_TrgNegative As Short = 8 - 'AI Group - Public Const P9524_AI_LC_Group As Short = 0 - Public Const P9524_AI_GP_Group As Short = 1 - 'AI Channel - Public Const P9524_AI_LC_CH0 As Short = 0 - Public Const P9524_AI_LC_CH1 As Short = 1 - Public Const P9524_AI_LC_CH2 As Short = 2 - Public Const P9524_AI_LC_CH3 As Short = 3 - Public Const P9524_AI_GP_CH0 As Short = 4 - Public Const P9524_AI_GP_CH1 As Short = 5 - Public Const P9524_AI_GP_CH2 As Short = 6 - Public Const P9524_AI_GP_CH3 As Short = 7 - - 'Counter Number - Public Const P9524_CTR_PG0 As Short = 0 - Public Const P9524_CTR_PG1 As Short = 1 - Public Const P9524_CTR_PG2 As Short = 2 - Public Const P9524_CTR_QD0 As Short = 3 - Public Const P9524_CTR_QD1 As Short = 4 - Public Const P9524_CTR_QD2 As Short = 5 - Public Const P9524_CTR_INTCOUNTER As Short = 6 - 'Counter Mode - Public Const P9524_PulseGen_OUTDIR_N As Short = 0 - Public Const P9524_PulseGen_OUTDIR_R As Short = 1 - Public Const P9524_PulseGen_CW As Short = 0 - Public Const P9524_PulseGen_CCW As Short = 2 - Public Const P9524_x4_AB_Phase_Decoder As Short = 3 - Public Const P9524_Timer As Short = 4 - 'Counter Op - Public Const P9524_CTR_Enable As Short = 0 - 'Event Mode - Public Const P9524_Event_Timer As Short = 0 - - 'AO - Public Const P9524_AO_CH0_1 As Short = 0 - - - '------Constants for PCI-6202------ - Public Const P6202_ISO0 As Short = 0 - Public Const P6202_TTL0 As Short = 1 - - Public Const P6202_GPTC0 As Short = 0 - Public Const P6202_GPTC1 As Short = 1 - Public Const P6202_ENCODER0 As Short = 2 - Public Const P6202_ENCODER1 As Short = 3 - Public Const P6202_ENCODER2 As Short = 4 - - 'DA control constant - Public Const P6202_DA_WRSRC_Int As Short = 0 - Public Const P6202_DA_WRSRC_AFI0 As Short = 1 - Public Const P6202_DA_WRSRC_SSI As Short = 2 - Public Const P6202_DA_WRSRC_AFI1 As Short = 3 - - 'DA trigger constant - Public Const P6202_DA_TRGSRC_SOFT As Short = &H00S - Public Const P6202_DA_TRGSRC_AFI0 As Short = &H01S - Public Const P6202_DA_TRSRC_SSI As Short = &H02S - Public Const P6202_DA_TRGSRC_AFI1 As Short = &H03S - Public Const P6202_DA_TRGMOD_POST As Short = &H00S - Public Const P6202_DA_TRGMOD_DELAY As Short = &H04S - Public Const P6202_DA_ReTrigEn As Short = &H20S - Public Const P6202_DA_DLY2En As Short = &H100S - - 'SSI signal code - Public Const P6202_SSI_DA_CONV As Short = &H04S - Public Const P6202_SSI_DA_TRIG As Short = &H40S - - 'Encoder constant - Public Const P6202_EVT_TYPE_EPT0 As Short = &H00S - Public Const P6202_EVT_TYPE_EPT1 As Short = &H01S - Public Const P6202_EVT_TYPE_EPT2 As Short = &H02S - Public Const P6202_EVT_TYPE_EZC0 As Short = &H03S - Public Const P6202_EVT_TYPE_EZC1 As Short = &H04S - Public Const P6202_EVT_TYPE_EZC2 As Short = &H05S - - Public Const P6202_EVT_MOD_EPT As Short = &H00S - - Public Const P6202_EPT_PULWIDTH_200us As Short = &H00S - Public Const P6202_EPT_PULWIDTH_2ms As Short = &H01S - Public Const P6202_EPT_PULWIDTH_20ms As Short = &H02S - Public Const P6202_EPT_PULWIDTH_200ms As Short = &H03S - - Public Const P6202_EPT_TRGOUT_CALLBACK As Short = &H04S - Public Const P6202_EPT_TRGOUT_AFI As Short = &H08S - - Public Const P6202_ENCODER0_LDATA As Short = &H05S - Public Const P6202_ENCODER1_LDATA As Short = &H06S - Public Const P6202_ENCODER2_LDATA As Short = &H07S - - '------------------------' - ' Constants for PCI-922x ' - '------------------------' - ' -- AI Constants -- ' - 'Input Type - Public Const P922x_AI_SingEnded As Short = &H00S - Public Const P922x_AI_NonRef_SingEnded As Short = &H01S - Public Const P922x_AI_Differential As Short = &H02S - - 'Conversion Source - Public Const P922x_AI_CONVSRC_INT As Short = &H00S - Public Const P922x_AI_CONVSRC_GPI0 As Short = &H10S - Public Const P922x_AI_CONVSRC_GPI1 As Short = &H20S - Public Const P922x_AI_CONVSRC_GPI2 As Short = &H30S - Public Const P922x_AI_CONVSRC_GPI3 As Short = &H40S - Public Const P922x_AI_CONVSRC_GPI4 As Short = &H50S - Public Const P922x_AI_CONVSRC_GPI5 As Short = &H60S - Public Const P922x_AI_CONVSRC_GPI6 As Short = &H70S - Public Const P922x_AI_CONVSRC_GPI7 As Short = &H80S - Public Const P922x_AI_CONVSRC_SSI1 As Short = &H90S - Public Const P922x_AI_CONVSRC_SSI As Short = &H90S - - 'Trigger Mode - Public Const P922x_AI_TRGMOD_POST As Short = &H00S - Public Const P922x_AI_TRGMOD_GATED As Short = &H01S - - 'Trigger Source - Public Const P922x_AI_TRGSRC_SOFT As Short = &H00S - Public Const P922x_AI_TRGSRC_GPI0 As Short = &H10S - Public Const P922x_AI_TRGSRC_GPI1 As Short = &H20S - Public Const P922x_AI_TRGSRC_GPI2 As Short = &H30S - Public Const P922x_AI_TRGSRC_GPI3 As Short = &H40S - Public Const P922x_AI_TRGSRC_GPI4 As Short = &H50S - Public Const P922x_AI_TRGSRC_GPI5 As Short = &H60S - Public Const P922x_AI_TRGSRC_GPI6 As Short = &H70S - Public Const P922x_AI_TRGSRC_GPI7 As Short = &H80S - Public Const P922x_AI_TRGSRC_SSI5 As Short = &H90S - Public Const P922x_AI_TRGSRC_SSI As Short = &H90S - - 'Trigger Polarity - Public Const P922x_AI_TrgPositive As Short = &H000S - Public Const P922x_AI_TrgNegative As Short = &H100S - - 'ReTrigger - Public Const P922x_AI_EnReTigger As Short = &H200S - - ' -- AO Constants -- ' - 'Conversion Source - Public Const P922x_AO_CONVSRC_INT As Short = &H00S - Public Const P922x_AO_CONVSRC_GPI0 As Short = &H01S - Public Const P922x_AO_CONVSRC_GPI1 As Short = &H02S - Public Const P922x_AO_CONVSRC_GPI2 As Short = &H03S - Public Const P922x_AO_CONVSRC_GPI3 As Short = &H04S - Public Const P922x_AO_CONVSRC_GPI4 As Short = &H05S - Public Const P922x_AO_CONVSRC_GPI5 As Short = &H06S - Public Const P922x_AO_CONVSRC_GPI6 As Short = &H07S - Public Const P922x_AO_CONVSRC_GPI7 As Short = &H08S - Public Const P922x_AO_CONVSRC_SSI2 As Short = &H09S - Public Const P922x_AO_CONVSRC_SSI As Short = &H09S - - 'Trigger Mode - Public Const P922x_AO_TRGMOD_POST As Short = &H00S - Public Const P922x_AO_TRGMOD_DELAY As Short = &H01S - - 'Trigger Source - Public Const P922x_AO_TRGSRC_SOFT As Short = &H00S - Public Const P922x_AO_TRGSRC_GPI0 As Short = &H10S - Public Const P922x_AO_TRGSRC_GPI1 As Short = &H20S - Public Const P922x_AO_TRGSRC_GPI2 As Short = &H30S - Public Const P922x_AO_TRGSRC_GPI3 As Short = &H40S - Public Const P922x_AO_TRGSRC_GPI4 As Short = &H50S - Public Const P922x_AO_TRGSRC_GPI5 As Short = &H60S - Public Const P922x_AO_TRGSRC_GPI6 As Short = &H70S - Public Const P922x_AO_TRGSRC_GPI7 As Short = &H80S - Public Const P922x_AO_TRGSRC_SSI6 As Short = &H90S - Public Const P922x_AO_TRGSRC_SSI As Short = &H90S - - 'Trigger Polarity - Public Const P922x_AO_TrgPositive As Short = &H000S - Public Const P922x_AO_TrgNegative As Short = &H100S - - 'Retrigger - Public Const P922x_AO_EnReTigger As Short = &H200S - - 'Trigger Delay 2 - Public Const P922x_AO_EnDelay2 As Short = &H400S - - ' -- DI Constants -- ' - 'Conversion Source - Public Const P922x_DI_CONVSRC_INT As Short = &H00S - Public Const P922x_DI_CONVSRC_GPI0 As Short = &H01S - Public Const P922x_DI_CONVSRC_GPI1 As Short = &H02S - Public Const P922x_DI_CONVSRC_GPI2 As Short = &H03S - Public Const P922x_DI_CONVSRC_GPI3 As Short = &H04S - Public Const P922x_DI_CONVSRC_GPI4 As Short = &H05S - Public Const P922x_DI_CONVSRC_GPI5 As Short = &H06S - Public Const P922x_DI_CONVSRC_GPI6 As Short = &H07S - Public Const P922x_DI_CONVSRC_GPI7 As Short = &H08S - Public Const P922x_DI_CONVSRC_ADCONV As Short = &H09S - Public Const P922x_DI_CONVSRC_DACONV As Short = &H0AS - - 'Trigger Mode - Public Const P922x_DI_TRGMOD_POST As Short = &H00S - - 'Trigger Source - Public Const P922x_DI_TRGSRC_SOFT As Short = &H00S - Public Const P922x_DI_TRGSRC_GPI0 As Short = &H10S - Public Const P922x_DI_TRGSRC_GPI1 As Short = &H20S - Public Const P922x_DI_TRGSRC_GPI2 As Short = &H30S - Public Const P922x_DI_TRGSRC_GPI3 As Short = &H40S - Public Const P922x_DI_TRGSRC_GPI4 As Short = &H50S - Public Const P922x_DI_TRGSRC_GPI5 As Short = &H60S - Public Const P922x_DI_TRGSRC_GPI6 As Short = &H70S - Public Const P922x_DI_TRGSRC_GPI7 As Short = &H80S - - 'Trigger Polarity - Public Const P922x_DI_TrgPositive As Short = &H000S - Public Const P922x_DI_TrgNegative As Short = &H100S - - 'ReTrigger - Public Const P922x_DI_EnReTigger As Short = &H200S - - ' -- DO Constants -- ' - 'Conversion Source - Public Const P922x_DO_CONVSRC_INT As Short = &H00S - Public Const P922x_DO_CONVSRC_GPI0 As Short = &H01S - Public Const P922x_DO_CONVSRC_GPI1 As Short = &H02S - Public Const P922x_DO_CONVSRC_GPI2 As Short = &H03S - Public Const P922x_DO_CONVSRC_GPI3 As Short = &H04S - Public Const P922x_DO_CONVSRC_GPI4 As Short = &H05S - Public Const P922x_DO_CONVSRC_GPI5 As Short = &H06S - Public Const P922x_DO_CONVSRC_GPI6 As Short = &H07S - Public Const P922x_DO_CONVSRC_GPI7 As Short = &H08S - Public Const P922x_DO_CONVSRC_ADCONV As Short = &H09S - Public Const P922x_DO_CONVSRC_DACONV As Short = &H0AS - - 'Trigger Mode - Public Const P922x_DO_TRGMOD_POST As Short = &H00S - Public Const P922x_DO_TRGMOD_DELAY As Short = &H01S - - 'Trigger Source - Public Const P922x_DO_TRGSRC_SOFT As Short = &H00S - Public Const P922x_DO_TRGSRC_GPI0 As Short = &H10S - Public Const P922x_DO_TRGSRC_GPI1 As Short = &H20S - Public Const P922x_DO_TRGSRC_GPI2 As Short = &H30S - Public Const P922x_DO_TRGSRC_GPI3 As Short = &H40S - Public Const P922x_DO_TRGSRC_GPI4 As Short = &H50S - Public Const P922x_DO_TRGSRC_GPI5 As Short = &H60S - Public Const P922x_DO_TRGSRC_GPI6 As Short = &H70S - Public Const P922x_DO_TRGSRC_GPI7 As Short = &H80S - - 'Trigger Polarity - Public Const P922x_DO_TrgPositive As Short = &H000S - Public Const P922x_DO_TrgNegative As Short = &H100S - - 'Retrigger - Public Const P922x_DO_EnReTigger As Short = &H200S - - ' -- Encoder/GPTC Constants -- ' - Public Const P922x_GPTC0 As Short = &H00S - Public Const P922x_GPTC1 As Short = &H01S - Public Const P922x_GPTC2 As Short = &H02S - Public Const P922x_GPTC3 As Short = &H03S - Public Const P922x_ENCODER0 As Short = &H04S - Public Const P922x_ENCODER1 As Short = &H05S - - 'Encoder Setting Event Mode - Public Const P922x_EVT_MOD_EPT As Short = &H00S - - 'Encoder Setting Event Control - Public Const P922x_EPT_PULWIDTH_200us As Short = &H00S - Public Const P922x_EPT_PULWIDTH_2ms As Short = &H01S - Public Const P922x_EPT_PULWIDTH_20ms As Short = &H02S - Public Const P922x_EPT_PULWIDTH_200ms As Short = &H03S - Public Const P922x_EPT_TRGOUT_GPO As Short = &H04S - Public Const P922x_EPT_TRGOUT_CALLBACK As Short = &H08S - - 'Event Type - Public Const P922x_EVT_TYPE_EPT0 As Short = &H00S - Public Const P922x_EVT_TYPE_EPT1 As Short = &H01S - - 'SSI signal code - Public Const P922x_SSI_AI_CONV As Short = &H02S - Public Const P922x_SSI_AI_TRIG As Short = &H20S - Public Const P922x_SSI_AO_CONV As Short = &H04S - Public Const P922x_SSI_AO_TRIG As Short = &H40S - - '------------------------' - 'Constants for PCIe-7350 ' - '------------------------' - Public Const P7350_PortDIO As Short = 0 - Public Const P7350_PortAFI As Short = 1 - 'DIO Port - Public Const P7350_DIO_A As Short = 0 - Public Const P7350_DIO_B As Short = 1 - Public Const P7350_DIO_C As Short = 2 - Public Const P7350_DIO_D As Short = 3 - 'AFI Port - Public Const P7350_AFI_0 As Short = 0 - Public Const P7350_AFI_1 As Short = 1 - Public Const P7350_AFI_2 As Short = 2 - Public Const P7350_AFI_3 As Short = 3 - Public Const P7350_AFI_4 As Short = 4 - Public Const P7350_AFI_5 As Short = 5 - Public Const P7350_AFI_6 As Short = 6 - Public Const P7350_AFI_7 As Short = 7 - 'AFI Mode - Public Const P7350_AFI_DIStartTrig As Short = 0 - Public Const P7350_AFI_DOStartTrig As Short = 1 - Public Const P7350_AFI_DIPauseTrig As Short = 2 - Public Const P7350_AFI_DOPauseTri As Short = 3 - Public Const P7350_AFI_DISWTrigOut As Short = 4 - Public Const P7350_AFI_DOSWTrigOut As Short =5 - Public Const P7350_AFI_COSTrigOut As Short = 6 - Public Const P7350_AFI_PMTrigOut As Short = 7 - Public Const P7350_AFI_HSDIREQ As Short = 8 - Public Const P7350_AFI_HSDIACK As Short = 9 - Public Const P7350_AFI_HSDITRIG As Short = 10 - Public Const P7350_AFI_HSDOREQ As Short = 11 - Public Const P7350_AFI_HSDOACK As Short = 12 - Public Const P7350_AFI_HSDOTRIG As Short = 13 - Public Const P7350_AFI_SPI As Short = 14 - Public Const P7350_AFI_I2C As Short = 15 - Public Const P7350_POLL_DI As Short = 16 - Public Const P7350_POLL_DO As Short = 17 - 'Operation Mode - Public Const P7350_FreeRun As Short = 0 - Public Const P7350_HandShake As Short = 1 - Public Const P7350_BurstHandShake As Short = 2 - 'Trigger Status - Public Const P7350_WAIT_NO As Short = 0 - Public Const P7350_WAIT_EXTTRG As Short = 1 - Public Const P7350_WAIT_SOFTTRG As Short = 2 - 'Sampled Clock - Public Const P7350_IntSampledCLK As Short = &H00S - Public Const P7350_ExtSampledCLK As Short = &H01S - 'Sampled Clock Edge - Public Const P7350_SampledCLK_R As Short = &H00S - Public Const P7350_SampledCLK_F As Short = &H02S - 'Enable Export Sample Clock*/ - Public Const P7350_EnExpSampledCLK As Short = &H04S - 'Trigger Configuration - Public Const P7350_EnPauseTrig As Short = &H01S - Public Const P7350_EnSoftTrigOut As Short = &H02S - 'HandShake & Trigger Polarity - Public Const P7350_DIREQ_POS As Short = &H00S - Public Const P7350_DIREQ_NEG As Short = &H01S - Public Const P7350_DIACK_POS As Short = &H00S - Public Const P7350_DIACK_NEG As Short = &H02S - Public Const P7350_DITRIG_POS As Short = &H00S - Public Const P7350_DITRIG_NEG As Short = &H04S - Public Const P7350_DIStartTrig_POS As Short = &H00S - Public Const P7350_DIStartTrig_NEG As Short = &H08S - Public Const P7350_DIPauseTrig_POS As Short = &H00S - Public Const P7350_DIPauseTrig_NEG As Short = &H10S - Public Const P7350_DOREQ_POS As Short = &H00S - Public Const P7350_DOREQ_NEG As Short = &H01S - Public Const P7350_DOACK_POS As Short = &H00S - Public Const P7350_DOACK_NEG As Short = &H02S - Public Const P7350_DOTRIG_POS As Short = &H00S - Public Const P7350_DOTRIG_NEG As Short = &H04S - Public Const P7350_DOStartTrig_POS As Short = &H00S - Public Const P7350_DOStartTrig_NEG As Short = &H08S - Public Const P7350_DOPauseTrig_POS As Short = &H00S - Public Const P7350_DOPauseTrig_NEG As Short = &H10S - 'External Sampled Clock Source - Public Const P7350_ECLK_IN As Short = 8 - 'Export Sampled Clock - Public Const P7350_ECLK_OUT As Short = 8 - 'Enable Dynamic Delay Adjust - Public Const P7350_DisDDA As Short = &H00S - Public Const P7350_EnDDA As Short = &H01S - 'Dynamic Delay Adjust Mode - Public Const P7350_DDA_Lag As Short = &H00S - Public Const P7350_DDA_Lead As Short = &H02S - 'Dynamic Delay Adjust Step - Public Const P7350_DDA_130PS As Short = 0 - Public Const P7350_DDA_260PS As Short = 1 - Public Const P7350_DDA_390PS As Short = 2 - Public Const P7350_DDA_520PS As Short = 3 - Public Const P7350_DDA_650PS As Short = 4 - Public Const P7350_DDA_780PS As Short = 5 - Public Const P7350_DDA_910PS As Short = 6 - Public Const P7350_DDA_1R04NS As Short = 7 - 'Enable Dynamic Phase Adjust - Public Const P7350_DisDPA As Short = &H00S - Public Const P7350_EnDPA As Short = &H01S - 'Dynamic Delay Adjust Degree - Public Const P7350_DPA_0DG As Short = 0 - Public Const P7350_DPA_22R5DG As Short = 1 - Public Const P7350_DPA_45DG As Short = 2 - Public Const P7350_DPA_67R5DG As Short = 3 - Public Const P7350_DPA_90DG As Short = 4 - Public Const P7350_DPA_112R5DG As Short = 5 - Public Const P7350_DPA_135DG As Short = 6 - Public Const P7350_DPA_157R5DG As Short = 7 - Public Const P7350_DPA_180DG As Short = 8 - Public Const P7350_DPA_202R5DG As Short = 9 - Public Const P7350_DPA_225DG As Short = 10 - Public Const P7350_DPA_247R5DG As Short = 11 - Public Const P7350_DPA_270DG As Short = 12 - Public Const P7350_DPA_292R5DG As Short = 13 - Public Const P7350_DPA_315DG As Short = 14 - Public Const P7350_DPA_337R5DG As Short = 15 - - '------------------------' - 'Constants for PCIe-7360 ' - '------------------------' - Public Const P7360_PortDIO As Short = 0 - Public Const P7360_PortAFI As Short = 1 - Public Const P7360_PortECLK As Short = 2 - 'DIO Port - Public Const P7360_DIO_A As Short = 0 - Public Const P7360_DIO_B As Short = 1 - Public Const P7360_DIO_C As Short = 2 - Public Const P7360_DIO_D As Short = 3 - 'AFI Port - Public Const P7360_AFI_0 As Short = 0 - Public Const P7360_AFI_1 As Short = 1 - Public Const P7360_AFI_2 As Short = 2 - Public Const P7360_AFI_3 As Short = 3 - Public Const P7360_AFI_4 As Short = 4 - Public Const P7360_AFI_5 As Short = 5 - Public Const P7360_AFI_6 As Short = 6 - Public Const P7360_AFI_7 As Short = 7 - 'AFI Mode - Public Const P7360_AFI_DIStartTrig As Short = 0 - Public Const P7360_AFI_DOStartTrig As Short = 1 - Public Const P7360_AFI_DIPauseTrig As Short = 2 - Public Const P7360_AFI_DOPauseTri As Short = 3 - Public Const P7360_AFI_DISWTrigOut As Short = 4 - Public Const P7360_AFI_DOSWTrigOut As Short =5 - Public Const P7360_AFI_COSTrigOut As Short = 6 - Public Const P7360_AFI_PMTrigOut As Short = 7 - Public Const P7360_AFI_HSDIREQ As Short = 8 - Public Const P7360_AFI_HSDIACK As Short = 9 - Public Const P7360_AFI_HSDITRIG As Short = 10 - Public Const P7360_AFI_HSDOREQ As Short = 11 - Public Const P7360_AFI_HSDOACK As Short = 12 - Public Const P7360_AFI_HSDOTRIG As Short = 13 - Public Const P7360_AFI_SPI As Short = 14 - Public Const P7360_AFI_I2C As Short = 15 - Public Const P7360_POLL_DI As Short = 16 - Public Const P7360_POLL_DO As Short = 17 - 'Operation Mode - Public Const P7360_FreeRun As Short = 0 - Public Const P7360_HandShake As Short = 1 - Public Const P7360_BurstHandShake As Short = 2 - 'Trigger Status - Public Const P7360_WAIT_NO As Short = 0 - Public Const P7360_WAIT_EXTTRG As Short = 1 - Public Const P7360_WAIT_SOFTTRG As Short = 2 - 'Sampled Clock - Public Const P7360_IntSampledCLK As Short = &H00S - Public Const P7360_ExtSampledCLK As Short = &H01S - 'Sampled Clock Edge - Public Const P7360_SampledCLK_R As Short = &H00S - Public Const P7360_SampledCLK_F As Short = &H02S - 'Enable Export Sample Clock*/ - Public Const P7360_EnExpSampledCLK As Short = &H04S - 'Trigger Configuration - Public Const P7360_EnPauseTrig As Short = &H01S - Public Const P7360_EnSoftTrigOut As Short = &H02S - 'HandShake & Trigger Polarity - Public Const P7360_DIREQ_POS As Short = &H00S - Public Const P7360_DIREQ_NEG As Short = &H01S - Public Const P7360_DIACK_POS As Short = &H00S - Public Const P7360_DIACK_NEG As Short = &H02S - Public Const P7360_DITRIG_POS As Short = &H00S - Public Const P7360_DITRIG_NEG As Short = &H04S - Public Const P7360_DIStartTrig_POS As Short = &H00S - Public Const P7360_DIStartTrig_NEG As Short = &H08S - Public Const P7360_DIPauseTrig_POS As Short = &H00S - Public Const P7360_DIPauseTrig_NEG As Short = &H10S - Public Const P7360_DOREQ_POS As Short = &H00S - Public Const P7360_DOREQ_NEG As Short = &H01S - Public Const P7360_DOACK_POS As Short = &H00S - Public Const P7360_DOACK_NEG As Short = &H02S - Public Const P7360_DOTRIG_POS As Short = &H00S - Public Const P7360_DOTRIG_NEG As Short = &H04S - Public Const P7360_DOStartTrig_POS As Short = &H00S - Public Const P7360_DOStartTrig_NEG As Short = &H08S - Public Const P7360_DOPauseTrig_POS As Short = &H00S - Public Const P7360_DOPauseTrig_NEG As Short = &H10S - 'External Sampled Clock Source - Public Const P7360_ECLK_IN As Short = 8 - 'Export Sampled Clock - Public Const P7360_ECLK_OUT As Short = 8 - 'Enable Dynamic Delay Adjust - Public Const P7360_DisDDA As Short = &H00S - Public Const P7360_EnDDA As Short = &H01S - 'Dynamic Delay Adjust Mode - Public Const P7360_DDA_Lag As Short = &H00S - Public Const P7360_DDA_Lead As Short = &H02S - 'Enable Dynamic Phase Adjust - Public Const P7360_DisDPA As Short = &H00S - Public Const P7360_EnDPA As Short = &H01S - - '--------------------------------' - 'Constants for I Squared C (I2C) - '--------------------------------' - 'I2C Port - Public Const I2C_Port_A As Short = 0 - 'I2C Control Operation - Public Const I2C_ENABLE As Short = 0 - Public Const I2C_STOP As Short = 1 - - '----------------------------------------' - 'Constants for Serial Peripheral Interface - '----------------------------------------' - 'SPI Port*/ - Public Const SPI_Port_A As Short = 0 - 'SPI Clock Mode - Public Const SPI_CLK_L As Short = &H00S - Public Const SPI_CLK_H As Short = &H01S - 'SPI TX Polarity - Public Const SPI_TX_POS As Short = &H00S - Public Const SPI_TX_NEG As Short = &H02S - 'SPI RX Polarity - Public Const SPI_RX_POS As Short = &H00S - Public Const SPI_RX_NEG As Short = &H04S - 'SPI Transferred Order - Public Const SPI_MSB As Short = &H00S - Public Const SPI_LSB As Short = &H08S - 'SPI Control Operation - Public Const SPI_ENABLE As Short = 0 - - '--------------------------' - 'Constants for Pattern Match - '--------------------------' - 'Pattern Match Channel Mode - Public Const PATMATCH_CHNDisable As Short = 0 - Public Const PATMATCH_CHNEnable As Short = 1 - 'Pattern Match Channel Type - Public Const PATMATCH_Level_L As Short = 0 - Public Const PATMATCH_Level_H As Short = 1 - Public Const PATMATCH_Edge_R As Short = 2 - Public Const PATMATCH_Edge_F As Short = 3 - 'Pattern Match Operation - Public Const PATMATCH_STOP As Short = 0 - Public Const PATMATCH_START As Short = 1 - Public Const PATMATCH_RESTART As Short = 2 - - '--------------------------' - 'Constants for Access EEPROM - '--------------------------' - 'for PCI-7230/PCMe-7230 - Public Const P7230_EEP_BLK_0 As Short = 0 - Public Const P7230_EEP_BLK_1 As Short = 1 - - 'System Function - Declare Function WaitForSingleObject Lib "kernel32" (ByVal hHandle As Integer, ByVal dwMilliseconds As Integer) As Integer - Public Delegate Sub CallbackDelegate() - '------------------------------------------------------------------- - ' PCIS-DASK Function prototype - '-----------------------------------------------------------------*/ - Declare Function Register_Card Lib "Pci-Dask.dll" (ByVal cardType As Short, ByVal card_num As Short) As Short - Declare Function Release_Card Lib "Pci-Dask.dll" (ByVal CardNumber As Short) As Short - Declare Function GetActualRate Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal SampleRate As Double, ByRef ActualRate As Double) As Short - Declare Function GetActualRate_9524 Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal Group As Short, ByVal SampleRate As Double, ByRef ActualRate As Double) As Short - Declare Function GetCardType Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByRef cardType As Short) As Short - Declare Function GetBaseAddr Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByRef BaseAddr As Integer, ByRef BaseAddr2 As Integer) As Short - Declare Function GetLCRAddr Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByRef LcrAddr As Integer) As Short - Declare Function GetCardIndexFromID Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByRef cardType As Short, ByRef cardIndex As Short) As Short - Declare Function EMGShutDownControl Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal ctrl As Byte) As Short - Declare Function EMGShutDownStatus Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByRef ctrl As Byte) As Short - Declare Function HotResetHoldControl Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal Enable As Byte) As Short - Declare Function HotResetHoldStatus Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByRef sts As Byte) As Short - Declare Function SetInitPattern Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal patID As Byte, ByVal pattern As Integer) As Short - Declare Function GetInitPattern Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal patID As Byte, ByRef pattern As Integer) As Short - Declare Function IdentifyLED_Control Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal ctrl As Byte) As Short - Declare Function PCI_EEPROM_LoadData Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal block As Short, ByRef data As Short) As Short - Declare Function PCI_EEPROM_SaveData Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal block As Short, ByVal data As Short) As Short - - 'AI Functions - Declare Function AI_9111_Config Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal TrigSource As Short, ByVal TrgMode As Short, ByVal TraceCnt As Short) As Short - Declare Function AI_9112_Config Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal TrigSource As Short) As Short - Declare Function AI_9113_Config Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal TrigSource As Short) As Short - Declare Function AI_9114_Config Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal TrigSource As Short) As Short - Declare Function AI_9114_PreTrigConfig Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal PreTrgEn As Short, ByVal TraceCnt As Short) As Short - Declare Function AI_9116_Config Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal ConfigCtrl As Short, ByVal TrigCtrl As Short, ByVal PostCnt As Short, ByVal MCnt As Short, ByVal ReTrgCnt As Short) As Short - Declare Function AI_9118_Config Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal ModeCtrl As Short, ByVal FunCtrl As Short, ByVal BurstCnt As Short, ByVal PostCnt As Short) As Short - Declare Function AI_9221_Config Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal ConfigCtrl As Short, ByVal TrigCtrl As Short, ByVal AutoResetBuf As Byte) As Short - Declare Function AI_9812_Config Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal TrgMode As Short, ByVal TrgSrc As Short, ByVal TrgPol As Short, ByVal ClkSel As Short, ByVal TrgLevel As Short, ByVal PostCnt As Short) As Short - Declare Function AI_9116_CounterInterval Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal ScanIntrv As Integer, ByVal SampIntrv As Integer) As Short - Declare Function AI_9221_CounterInterval Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal ScanIntrv As Integer, ByVal SampIntrv As Integer) As Short - Declare Function AI_9812_SetDiv Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal pacerVal As Integer) As Short - Declare Function AI_9524_Config Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal Group As Short, ByVal XMode As Short, ByVal ConfigCtrl As Short, ByVal TrigCtrl As Short, ByVal TrigValue As Integer) As Short - Declare Function AI_9524_PollConfig Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal Group As Short, ByVal PollChannel As Short, ByVal PollRange As Short, ByVal PollSpeed As Short) As Short - Declare Function AI_9524_SetDSP Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal Channel As Short, ByVal Mode As Short, ByVal DFStage As Short, ByVal SPKRejThreshold As Integer) As Short - Declare Function AI_9524_GetEOCEvent Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal Group As Short, ByRef hEvent As Integer) As Short - Declare Function AI_9222_Config Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal ConfigCtrl As Short, ByVal TrigCtrl As Short, ByVal ReTriggerCnt As Integer, ByVal AutoResetBuf As Byte) As Short - Declare Function AI_9222_CounterInterval Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal ScanIntrv As Integer, ByVal SampIntrv As Integer) As Short - Declare Function AI_9223_Config Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal ConfigCtrl As Short, ByVal TrigCtrl As Short, ByVal ReTriggerCnt As Integer, ByVal AutoResetBuf As Byte) As Short - Declare Function AI_9223_CounterInterval Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal ScanIntrv As Integer, ByVal SampIntrv As Integer) As Short - Declare Function AI_922A_Config Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal ConfigCtrl As Short, ByVal TrigCtrl As Short, ByVal ReTriggerCnt As Integer, ByVal AutoResetBuf As Byte) As Short - Declare Function AI_922A_CounterInterval Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal ScanIntrv As Integer, ByVal SampIntrv As Integer) As Short - Declare Function AI_AsyncCheck Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByRef Stopped As Byte, ByRef AccessCnt As Integer) As Short - Declare Function AI_AsyncClear Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByRef AccessCnt As Integer) As Short - Declare Function AI_AsyncDblBufferHalfReady Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByRef HalfReady As Byte, ByRef StopFlag As Byte) As Short - Declare Function AI_AsyncDblBufferMode Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal Enable As Byte) As Short - Declare Function AI_AsyncDblBufferTransfer Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByRef Buffer As Short) As Short - Declare Function AI_AsyncDblBufferHandled Lib "Pci-Dask.dll" (ByVal CardNumber As Short) As Short - Declare Function AI_AsyncDblBufferToFile Lib "Pci-Dask.dll" (ByVal CardNumber As Short) As Short - Declare Function AI_ContReadChannel Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal Channel As Short, ByVal AdRange As Short, ByRef Buffer As Short, ByVal ReadCount As Integer, ByVal SampleRate As Double, ByVal SyncMode As Short) As Short - Declare Function AI_ContScanChannels Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal Channel As Short, ByVal AdRange As Short, ByRef Buffer As Short, ByVal ReadCount As Integer, ByVal SampleRate As Double, ByVal SyncMode As Short) As Short - Declare Function AI_ContReadMultiChannels Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal NumChans As Short, ByRef chans As Short, ByRef AdRanges As Short, ByRef Buffer As Short, ByVal ReadCount As Integer, ByVal SampleRate As Double, ByVal SyncMode As Short) As Short - Declare Function AI_ContReadChannelToFile Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal Channel As Short, ByVal AdRange As Short, ByVal FileName As String, ByVal ReadCount As Integer, ByVal SampleRate As Double, ByVal SyncMode As Short) As Short - Declare Function AI_ContScanChannelsToFile Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal Channel As Short, ByVal AdRange As Short, ByVal FileName As String, ByVal ReadCount As Integer, ByVal SampleRate As Double, ByVal SyncMode As Short) As Short - Declare Function AI_ContReadMultiChannelsToFile Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal NumChans As Short, ByRef chans As Short, ByRef AdRanges As Short, ByVal FileName As String, ByVal ReadCount As Integer, ByVal SampleRate As Double, ByVal SyncMode As Short) As Short - Declare Function AI_ContStatus Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByRef Status As Short) As Short - Declare Function AI_InitialMemoryAllocated Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByRef MemSize As Integer) As Short - Declare Function AI_ReadChannel Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal Channel As Short, ByVal AdRange As Short, ByRef Value As Short) As Short - Declare Function AI_ReadChannel32 Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal Channel As Short, ByVal AdRange As Short, ByRef Value As Integer) As Short - Declare Function AI_VReadChannel Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal Channel As Short, ByVal AdRange As Short, ByRef Voltage As Double) As Short - Declare Function AI_ScanReadChannels Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal Channel As Short, ByVal AdRange As Short, ByRef Buffer As Short) As Short - Declare Function AI_ScanReadChannels32 Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal Channel As Short, ByVal AdRange As Short, ByRef Buffer As Integer) As Short - Declare Function AI_ReadMultiChannels Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal NumChans As Short, ByRef Chans As Short, ByRef AdRanges As Short, ByRef Buffer As Short) As Short - Declare Function AI_VoltScale Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal AdRange As Short, ByRef reading As Short, ByRef Voltage As Double) As Short - Declare Function AI_VoltScale32 Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal AdRange As Short, ByRef reading As Integer, ByRef Voltage As Double) As Short - Declare Function AI_ContVScale Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal AdRange As Short, ByRef readingArray As Short, ByRef voltageArray As Double, ByVal CCount As Integer) As Short - Declare Function AI_ContVScale Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal AdRange As Short, ByRef readingArray As Integer, ByRef voltageArray As Double, ByVal CCount As Integer) As Short - Declare Function AI_AsyncDblBufferOverrun Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal op As Short, ByRef overrunFlag As Short) As Short - Declare Function AI_EventCallBack Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal Mode As Short, ByVal EventType As Short, ByVal callbackAddr As CallbackDelegate) As Short - Declare Function AI_SetTimeOut Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal TimeOut As Integer) As Short - Declare Function AI_ContBufferReset Lib "Pci-Dask.dll" (ByVal CardNumber As Short) As Short - Declare Function AI_ContBufferSetup Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByRef Buffer As Short, ByVal ReadCount As Integer, ByRef BufferId As Short) As Short - Declare Function AI_AsyncReTrigNextReady Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByRef Ready As Byte, ByRef StopFlag As Byte, ByRef RdyTrigCnt As Short) As Short - - 'AO Functions - Declare Function AO_6202_Config Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal ConfigCtrl As Short, ByVal TrigCtrl As Short, ByVal ReTrgCnt As Integer, ByVal DLY1Cnt As Integer, ByVal DLY2Cnt As Integer, ByVal AutoResetBuf As Byte) As Short - Declare Function AO_6208A_Config Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal V2AMode As Short) As Short - Declare Function AO_6308A_Config Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal V2AMode As Short) As Short - Declare Function AO_6308V_Config Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal Channel As Short, ByVal OutputPolarity As Short, ByVal refVoltage As Double) As Short - Declare Function AO_9111_Config Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal OutputPolarity As Short) As Short - Declare Function AO_9112_Config Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal Channel As Short, ByVal refVoltage As Double) As Short - Declare Function AO_9222_Config Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal ConfigCtrl As Short, ByVal TrigCtrl As Short, ByVal ReTrgCnt As Integer, ByVal DLY1Cnt As Integer, ByVal DLY2Cnt As Integer, ByVal AutoResetBuf As Byte) As Short - Declare Function AO_9223_Config Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal ConfigCtrl As Short, ByVal TrigCtrl As Short, ByVal ReTrgCnt As Integer, ByVal DLY1Cnt As Integer, ByVal DLY2Cnt As Integer, ByVal AutoResetBuf As Byte) As Short - Declare Function AO_InitialMemoryAllocated Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByRef MemSize As Integer) As Short - Declare Function AO_AsyncCheck Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByRef Stopped As Byte, ByRef AccessCnt As Integer) As Short - Declare Function AO_AsyncClear Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByRef AccessCnt As Integer, ByVal stop_mode As Short) As Short - Declare Function AO_AsyncDblBufferHalfReady Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByRef HalfReady As Byte) As Short - Declare Function AO_AsyncDblBufferMode Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal Enable As Byte) As Short - Declare Function AO_ContBufferCompose Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal TotalChnCount As Short, ByVal ChnNum As Short, ByVal UpdateCount As Integer, ByRef ConBuffer As Integer, ByRef Buffer As Integer) As Short - Declare Function AO_ContBufferReset Lib "Pci-Dask.dll" (ByVal CardNumber As Short) As Short - Declare Function AO_ContBufferSetup Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal Buffer As Short, ByVal WriteCount As Integer, ByRef BufferId As Short) As Short - Declare Function AO_ContBufferSetup Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal Buffer As Integer, ByVal WriteCount As Integer, ByRef BufferId As Short) As Short - Declare Function AO_ContStatus Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByRef Status As Short) As Short - Declare Function AO_ContWriteChannel Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal Channel As Short, ByVal BufId As Short, ByVal WriteCount As Integer, ByVal Iterations As Integer, ByVal CHUI As Integer, ByVal definite As Short, ByVal SyncMode As Short) As Short - Declare Function AO_ContWriteMultiChannels Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal NumChans As Short, ByVal Chans As Short, ByVal BufId As Short, ByVal WriteCount As Integer, ByVal Iterations As Integer, ByVal CHUI As Integer, ByVal definite As Short, ByVal SyncMode As Short) As Short - Declare Function AO_EventCallBack Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal Mode As Short, ByVal EventType As Short, ByVal callbackAddr As CallbackDelegate) As Short - Declare Function AO_SetTimeOut Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal TimeOut As Integer) As Short - Declare Function AO_SimuWriteChannel Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal Group As Short, ByRef valueArray As Short) As Short - Declare Function AO_SimuVWriteChannel Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal Group As Short, ByRef voltageArray As Double) As Short - Declare Function AO_WriteChannel Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal Channel As Short, ByVal Value As Short) As Short - Declare Function AO_VWriteChannel Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal Channel As Short, ByVal Voltage As Double) As Short - Declare Function AO_VoltScale Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal Channel As Short, ByVal Voltage As Double, ByRef binValue As Short) As Short - - 'DI Functions - Declare Function DI_7200_Config Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal TrigSource As Short, ByVal ExtTrigEn As Short, ByVal TrigPol As Short, ByVal I_REQ_Pol As Short) As Short - Declare Function DI_7233_ForceLogic Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal ConfigCtrl As Short) As Short - Declare Function DI_7300A_Config Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal PortWidth As Short, ByVal TrigSource As Short, ByVal WaitStatus As Short, ByVal Terminaor As Short, ByVal I_REQ_Pol As Short, ByVal clear_fifo As Byte, ByVal disable_di As Byte) As Short - Declare Function DI_7300B_Config Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal PortWidth As Short, ByVal TrigSource As Short, ByVal WaitStatus As Short, ByVal Terminator As Short, ByVal I_Cntrl_Pol As Short, ByVal clear_fifo As Byte, ByVal disable_di As Byte) As Short - Declare Function DI_7350_Config Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal DIPortWidth As Short, ByVal DIMode As Short, ByVal DIWaitStatus As Short, ByVal DIClkConfig As Short) As Short - Declare Function DI_7350_TrigHSConfig Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal TrigConfig As Short, ByVal DI_IPOL As Short, ByVal DI_REQSrc As Short, ByVal DI_ACKSrc As Short, ByVal DI_TRIGSrc As Short, ByVal StartTrigSrc As Short, ByVal PauseTrigSrc As Short, ByVal SoftTrigOutSrc As Short, ByVal SoftTrigOutLength As Integer, ByVal TrigCount As Integer) As Short - Declare Function DI_7350_ExtSampCLKConfig Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal CLK_Src As Short, ByVal CLK_DDAMode As Short, ByVal CLK_DPAMode As Short, ByVal CLK_DDAVlaue As Short, ByVal CLK_DPAVlaue As Short) As Short - Declare Function DI_7350_ExportSampCLKConfig Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal CLK_Src As Short, ByVal CLK_DPAMode As Short, ByVal CLK_DPAVlaue As Short) As Short - Declare Function DI_7350_SoftTriggerGen Lib "Pci-Dask.dll" (ByVal CardNumber As Short) As Short - Declare Function DI_7350_BurstHandShakeDelay Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal Delay As Byte) As Short - Declare Function DI_7360_Config Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal DIPortWidth As Short, ByVal DIMode As Short, ByVal DIWaitStatus As Short, ByVal DIClkConfig As Short) As Short - Declare Function DI_7360_TrigHSConfig Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal TrigConfig As Short, ByVal DI_IPOL As Short, ByVal DI_REQSrc As Short, ByVal DI_ACKSrc As Short, ByVal DI_TRIGSrc As Short, ByVal StartTrigSrc As Short, ByVal PauseTrigSrc As Short, ByVal SoftTrigOutSrc As Short, ByVal SoftTrigOutLength As Integer, ByVal TrigCount As Integer) As Short - Declare Function DI_7360_ExtSampCLKConfig Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal CLK_Src As Short, ByVal CLK_DDAMode As Short, ByVal CLK_DPAMode As Short, ByVal CLK_DDAVlaue As Short, ByVal CLK_DPAVlaue As Short) As Short - Declare Function DI_7360_ExportSampCLKConfig Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal CLK_Src As Short, ByVal CLK_DPAMode As Short, ByVal CLK_DPAVlaue As Short) As Short - Declare Function DI_7360_SoftTriggerGen Lib "Pci-Dask.dll" (ByVal CardNumber As Short) As Short - Declare Function DI_7360_BurstHandShakeDelay Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal Delay As Byte) As Short - Declare Function DI_9222_Config Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal ConfigCtrl As Short, ByVal TrigCtrl As Short, ByVal ReTriggerCnt As Integer, ByVal AutoResetBuf As Byte) As Short - Declare Function DI_9223_Config Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal ConfigCtrl As Short, ByVal TrigCtrl As Short, ByVal ReTriggerCnt As Integer, ByVal AutoResetBuf As Byte) As Short - Declare Function DI_AsyncCheck Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByRef Stopped As Byte, ByRef AccessCnt As Integer) As Short - Declare Function DI_AsyncClear Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByRef AccessCnt As Integer) As Short - Declare Function DI_AsyncDblBufferHalfReady Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByRef HalfReady As Byte) As Short - Declare Function DI_AsyncDblBufferMode Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal Enable As Byte) As Short - Declare Function DI_AsyncDblBufferTransfer Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByRef Buffer As Byte) As Short - Declare Function DI_AsyncDblBufferTransfer Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByRef Buffer As Short) As Short - Declare Function DI_AsyncDblBufferTransfer Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByRef Buffer As Integer) As Short - Declare Function DI_ContMultiBufferSetup Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByRef Buffer As Byte, ByVal ReadCount As Integer, ByRef BufferId As Short) As Short - Declare Function DI_ContMultiBufferSetup Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByRef Buffer As Short, ByVal ReadCount As Integer, ByRef BufferId As Short) As Short - Declare Function DI_ContMultiBufferSetup Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByRef Buffer As Integer, ByVal ReadCount As Integer, ByRef BufferId As Short) As Short - Declare Function DI_ContMultiBufferStart Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal Port As Short, ByVal SampleRate As Double) As Short - Declare Function DI_AsyncMultiBufferNextReady Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByRef NextReady As Byte, ByRef BufferId As Short) As Short - Declare Function DI_ContReadPort Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal Port As Short, ByRef Buffer As Byte, ByVal ReadCount As Integer, ByVal SampleRate As Double, ByVal SyncMode As Short) As Short - Declare Function DI_ContReadPort Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal Port As Short, ByRef Buffer As UShort, ByVal ReadCount As Integer, ByVal SampleRate As Double, ByVal SyncMode As Short) As Short - Declare Function DI_ContReadPort Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal Port As Short, ByRef Buffer As Integer, ByVal ReadCount As Integer, ByVal SampleRate As Double, ByVal SyncMode As Short) As Short - Declare Function DI_ContReadPortToFile Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal Port As Short, ByVal FileName As String, ByVal ReadCount As Integer, ByVal SampleRate As Double, ByVal SyncMode As Short) As Short - Declare Function DI_ContStatus Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByRef Status As Short) As Short - Declare Function DI_InitialMemoryAllocated Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByRef MemSize As Integer) As Short - Declare Function DI_ReadPort Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal Port As Short, ByRef Value As Integer) As Short - Declare Function DI_ReadLine Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal Port As Short, ByVal LLine As Short, ByRef Value As Short) As Short - Declare Function DI_AsyncDblBufferOverrun Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal op As Short, ByRef overrunFlag As Short) As Short - Declare Function DI_EventCallBack Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal Mode As Short, ByVal EventType As Short, ByVal callbackAddr As CallbackDelegate) As Short - Declare Function DI_AsyncDblBufferHandled Lib "Pci-Dask.dll" (ByVal CardNumber As Short) As Short - Declare Function DI_AsyncDblBufferToFile Lib "Pci-Dask.dll" (ByVal CardNumber As Short) As Short - Declare Function DI_SetTimeOut Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal TimeOut As Integer) As Short - Declare Function DI_ContBufferSetup Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByRef Buffer As Short, ByVal ReadCount As Integer, ByRef BufferId As Short) As Short - Declare Function DI_ContBufferSetup Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByRef Buffer As Integer, ByVal ReadCount As Integer, ByRef BufferId As Short) As Short - Declare Function DI_ContBufferReset Lib "Pci-Dask.dll" (ByVal CardNumber As Short) As Short - Declare Function DI_AsyncReTrigNextReady Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByRef Ready As Byte, ByRef StopFlag As Byte, ByRef RdyTrigCnt As Short) As Short - - 'DO Functions - Declare Function DO_7200_Config Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal TrigSource As Short, ByVal OutReqEn As Short, ByVal OutTrigSig As Short) As Short - Declare Function DO_7300A_Config Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal PortWidth As Short, ByVal TrigSource As Short, ByVal WaitStatus As Short, ByVal Terminaor As Short, ByVal O_REQ_Pol As Short) As Short - Declare Function DO_7300B_Config Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal PortWidth As Short, ByVal TrigSource As Short, ByVal WaitStatus As Short, ByVal Terminator As Short, ByVal O_Cntrl_Pol As Short, ByVal FifoThreshold As Integer) As Short - Declare Function DO_7300B_SetDODisableMode Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal Mode As Short) As Short - Declare Function DO_7350_Config Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal DOPortWidth As Short, ByVal DOMode As Short, ByVal DOWaitStatus As Short, ByVal DOClkConfig As Short) As Short - Declare Function DO_7350_TrigHSConfig Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal TrigConfig As Short, ByVal DO_IPOL As Short, ByVal DO_REQSrc As Short, ByVal DO_ACKSrc As Short, ByVal DO_TRIGSrc As Short, ByVal StartTrigSrc As Short, ByVal PauseTrigSrc As Short, ByVal SoftTrigOutSrc As Short, ByVal SoftTrigOutLength As Integer, ByVal TrigCount As Integer) As Short - Declare Function DO_7350_ExtSampCLKConfig Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal CLK_Src As Short, ByVal CLK_DDAMode As Short, ByVal CLK_DPAMode As Short, ByVal CLK_DDAVlaue As Short, ByVal CLK_DPAVlaue As Short) As Short - Declare Function DO_7350_ExportSampCLKConfig Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal CLK_Src As Short, ByVal CLK_DPAMode As Short, ByVal CLK_DPAVlaue As Short) As Short - Declare Function DO_7350_SoftTriggerGen Lib "Pci-Dask.dll" (ByVal CardNumber As Short) As Short - Declare Function DO_7350_BurstHandShakeDelay Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal Delay As Byte) As Short - Declare Function DO_7360_Config Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal DOPortWidth As Short, ByVal DOMode As Short, ByVal DOWaitStatus As Short, ByVal DOClkConfig As Short) As Short - Declare Function DO_7360_TrigHSConfig Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal TrigConfig As Short, ByVal DO_IPOL As Short, ByVal DO_REQSrc As Short, ByVal DO_ACKSrc As Short, ByVal DO_TRIGSrc As Short, ByVal StartTrigSrc As Short, ByVal PauseTrigSrc As Short, ByVal SoftTrigOutSrc As Short, ByVal SoftTrigOutLength As Integer, ByVal TrigCount As Integer) As Short - Declare Function DO_7360_ExtSampCLKConfig Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal CLK_Src As Short, ByVal CLK_DDAMode As Short, ByVal CLK_DPAMode As Short, ByVal CLK_DDAVlaue As Short, ByVal CLK_DPAVlaue As Short) As Short - Declare Function DO_7360_ExportSampCLKConfig Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal CLK_Src As Short, ByVal CLK_DPAMode As Short, ByVal CLK_DPAVlaue As Short) As Short - Declare Function DO_7360_SoftTriggerGen Lib "Pci-Dask.dll" (ByVal CardNumber As Short) As Short - Declare Function DO_7360_BurstHandShakeDelay Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal Delay As Byte) As Short - Declare Function DO_9222_Config Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal ConfigCtrl As Short, ByVal TrigCtrl As Short, ByVal ReTrgCnt As Integer, ByVal DLY1Cnt As Integer, ByVal DLY2Cnt As Integer, ByVal AutoResetBuf As Byte) As Short - Declare Function DO_9223_Config Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal ConfigCtrl As Short, ByVal TrigCtrl As Short, ByVal ReTrgCnt As Integer, ByVal DLY1Cnt As Integer, ByVal DLY2Cnt As Integer, ByVal AutoResetBuf As Byte) As Short - Declare Function DO_AsyncCheck Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByRef Stopped As Byte, ByRef AccessCnt As Integer) As Short - Declare Function DO_AsyncClear Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByRef AccessCnt As Integer) As Short - Declare Function DO_ContWritePort Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal Port As Integer, ByRef Buffer As Byte, ByVal WriteCount As Integer, ByVal Iterations As Integer, ByVal SampleRate As Double, ByVal SyncMode As Short) As Short - Declare Function DO_ContWritePort Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal Port As Integer, ByRef Buffer As UShort, ByVal WriteCount As Integer, ByVal Iterations As Integer, ByVal SampleRate As Double, ByVal SyncMode As Short) As Short - Declare Function DO_ContWritePort Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal Port As Integer, ByRef Buffer As UInt32, ByVal WriteCount As Integer, ByVal Iterations As Integer, ByVal SampleRate As Double, ByVal SyncMode As Short) As Short - Declare Function DO_ContWritePortEx Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal Port As Integer, ByRef Buffer As Byte, ByVal WriteCount As Integer, ByVal Iterations As Integer, ByVal SampleRate As Double, ByVal SyncMode As Short) As Short - Declare Function DO_ContWritePortEx Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal Port As Integer, ByRef Buffer As UShort, ByVal WriteCount As Integer, ByVal Iterations As Integer, ByVal SampleRate As Double, ByVal SyncMode As Short) As Short - Declare Function DO_ContWritePortEx Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal Port As Integer, ByRef Buffer As UInt32, ByVal WriteCount As Integer, ByVal Iterations As Integer, ByVal SampleRate As Double, ByVal SyncMode As Short) As Short - Declare Function DO_ContStatus Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByRef Status As Short) As Short - Declare Function DO_InitialMemoryAllocated Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByRef MemSize As Integer) As Short - Declare Function DO_PGStart Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByRef Buffer As Byte, ByVal WriteCount As Integer, ByVal SampleRate As Double) As Short - Declare Function DO_PGStart Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByRef Buffer As Short, ByVal WriteCount As Integer, ByVal SampleRate As Double) As Short - Declare Function DO_PGStart Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByRef Buffer As UInt32, ByVal WriteCount As Integer, ByVal SampleRate As Double) As Short - Declare Function DO_PGStop Lib "Pci-Dask.dll" (ByVal CardNumber As Short) As Short - Declare Function DO_WritePort Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal Port As Short, ByVal Value As Integer) As Short - Declare Function DO_WriteLine Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal Port As Short, ByVal LLine As Short, ByVal Value As Short) As Short - Declare Function DO_SimuWritePort Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal NumChans As Short, ByRef Buffer As Integer) As Short - Declare Function DO_ReadLine Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal Port As Short, ByVal LLine As Short, ByRef Value As Short) As Short - Declare Function DO_ReadPort Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal Port As Short, ByRef Value As Integer) As Short - Declare Function EDO_9111_Config Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal EDO_Fun As Short) As Short - Declare Function DO_WriteExtTrigLine Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal Value As Short) As Short - Declare Function DO_ContMultiBufferSetup Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByRef Buffer As Byte, ByVal WriteCount As Integer, ByRef BufferId As Short) As Short - Declare Function DO_ContMultiBufferSetup Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByRef Buffer As Short, ByVal WriteCount As Integer, ByRef BufferId As Short) As Short - Declare Function DO_ContMultiBufferSetup Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByRef Buffer As Integer, ByVal WriteCount As Integer, ByRef BufferId As Short) As Short - Declare Function DO_ContMultiBufferStart Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal Port As Short, ByVal SampleRate As Double) As Short - Declare Function DO_AsyncMultiBufferNextReady Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByRef NextReady As Byte, ByRef BufferId As Short) As Short - Declare Function DO_EventCallBack Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal Mode As Short, ByVal EventType As Short, ByVal callbackAddr As Integer) As Short - Declare Function DO_SetTimeOut Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal TimeOut As Integer) As Short - Declare Function DO_ContBufferSetup Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByRef Buffer As Short, ByVal WriteCount As Integer, ByRef BufferId As Short) As Short - Declare Function DO_ContBufferSetup Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByRef Buffer As Integer, ByVal WriteCount As Integer, ByRef BufferId As Short) As Short - Declare Function DO_ContBufferReset Lib "Pci-Dask.dll" (ByVal CardNumber As Short) As Short - - 'DIO Functions - Declare Function DIO_PortConfig Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal Port As Short, ByVal Direction As Short) As Short - Declare Function DIO_LinesConfig Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal Port As Short, ByVal Linesdirmap As Short) As Short - Declare Function DIO_LineConfig Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal Port As Short, ByVal wLine As Short, ByVal Direction As Short) As Short - Declare Function DIO_SetDualInterrupt Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal Int1Mode As Short, ByVal Int2Mode As Short, ByRef hEvent As Integer) As Short - Declare Function DIO_SetCOSInterrupt Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal Port As Short, ByVal ctlA As Short, ByVal ctlB As Short, ByVal ctlC As Short) As Short - Declare Function DIO_GetCOSLatchData Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByRef CosLData As Short) As Short - Declare Function DIO_SetCOSInterrupt32 Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal Port As Byte, ByVal ctl As Integer, ByRef hEvent As Integer, ByVal ManualReset As Byte) As Short - Declare Function DIO_GetCOSLatchData32 Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal Port As Byte, ByRef CosLData As Integer) As Short - Declare Function DIO_GetCOSLatchDataInt32 Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal Port As Byte, ByRef CosLData As Integer) As Short - Declare Function DIO_INT_EventMessage Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal Mode As Short, ByVal hEvent As Integer, ByVal windowHandle As Integer, ByVal message As Integer, ByVal callbackAddr As CallbackDelegate) As Short - Declare Function DIO_INT1_EventMessage Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal Int1Mode As Short, ByVal windowHandle As Integer, ByVal message As Integer, ByVal callbackAddr As CallbackDelegate) As Short - Declare Function DIO_INT2_EventMessage Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal Int2Mode As Short, ByVal windowHandle As Integer, ByVal message As Integer, ByVal callbackAddr As CallbackDelegate) As Short - Declare Function DIO_7300SetInterrupt Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal AuxDIEn As Short, ByVal T2En As Short, ByRef hEvent As Integer) As Short - Declare Function DIO_AUXDI_EventMessage Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal AuxDIEn As Short, ByVal windowHandle As Integer, ByVal message As Integer, ByVal callbackAddr As CallbackDelegate) As Short - Declare Function DIO_T2_EventMessage Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal T2En As Short, ByVal windowHandle As Integer, ByVal message As Integer, ByVal callbackAddr As CallbackDelegate) As Short - Declare Function DIO_COSInterruptCounter Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal Counter_Num As Short, ByVal Counter_Mode As Short, ByVal DI_Port As Short, ByVal DI_Line As Short, ByRef Counter_Value As Integer) As Short - Declare Function DIO_VoltLevelConfig Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal PortType As Short, ByVal VoltLevel As Short) As Short - Declare Function DIO_7350_AFIConfig Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal AFI_Port As Short, ByVal AFI_Enable As Short, ByVal AFI_Mode As Short, ByVal AFI_TrigOutLen As Integer) As Short - Declare Function DIO_7360_AFIConfig Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal AFI_Port As Short, ByVal AFI_Enable As Short, ByVal AFI_Mode As Short, ByVal AFI_TrigOutLen As Integer) As Short - Declare Function DIO_PMConfig Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal Channel As Short, ByVal PM_ChnEn As Short, ByVal PM_ChnType As Short) As Short - Declare Function DIO_PMControl Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal Port As Short, ByVal PM_Start As Short, ByRef hEvent As Integer, ByVal ManualReset As Byte) As Short - Declare Function DIO_SetPMInterrupt32 Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal Port As Short, ByVal Ctrl As Integer, ByVal Pattern1 As Integer, ByVal Pattern2 As Integer,ByRef hEvent As Integer, ByVal ManualReset As Byte) As Short - Declare Function DIO_GetPMLatchData32 Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal Port As Short, ByRef PMLData As Integer) As Short - - 'Counter Functions - Declare Function CTR_Setup Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal Ctr As Short, ByVal Mode As Short, ByVal CCount As Integer, ByVal BinBcd As Short) As Short - Declare Function CTR_Setup_All "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal CtrCnt As Short, ByRef Ctr As Short, ByRef Mode As Short, ByRef CCount As Integer, ByRef BinBcd As Short) As Short - Declare Function CTR_Clear Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal Ctr As Short, ByVal State As Short) As Short - Declare Function CTR_Read Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal Ctr As Short, ByRef Value As Integer) As Short - Declare Function CTR_Read_All "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal CtrCnt As Short, ByRef Ctr As Short, ByRef Value As Integer) As Short - Declare Function CTR_Status Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal Ctr As Short, ByRef Value As Integer) As Short - Declare Function CTR_Update Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal Ctr As Short, ByVal CCount As Integer) As Short - Declare Function CTR_8554_ClkSrc_Config Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal Ctr As Short, ByVal ClockSource As Short) As Short - Declare Function CTR_8554_CK1_Config Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal ClockSource As Short) As Short - Declare Function CTR_8554_Debounce_Config Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal DebounceClock As Short) As Short - Declare Function GCTR_Setup Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal GCtr As Short, ByVal GCtrCtrl As Short, ByVal CCount As Integer) As Short - Declare Function GCTR_Clear Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal GCtr As Short) As Short - Declare Function GCTR_Read Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal GCtr As Short, ByRef Value As Integer) As Short - Declare Function GPTC_Clear Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal GCtr As Short) As Short - Declare Function GPTC_Control Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal GCtr As Short, ByVal ParamID As Short, ByVal Value As Short) As Short - Declare Function GPTC_EventCallBack Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal Enabled As Short, ByVal EventType As Short, ByVal callbackAddr As CallbackDelegate) As Short - Declare Function GPTC_EventSetup Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal GCtr As Short, ByVal Mode As Short, ByVal Ctrl As Short, ByVal LVal_1 As Integer, ByVal LVal_2 As Integer) As Short - Declare Function GPTC_Read Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal GCtr As Short, ByRef Value As Integer) As Short - Declare Function GPTC_Setup Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal GCtr As Short, ByVal Mode As Short, ByVal SrcCtrl As Short, ByVal PolCtrl As Short, ByVal LReg1_Val As Integer, ByVal LReg2_Val As Integer) As Short - Declare Function GPTC_Status Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal GCtr As Short, ByRef Value As Short) As Short - Declare Function GPTC_9524_PG_Config Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal GCtr As Short, ByVal PulseGenNum As Integer) As Short - Declare Function GPTC_9524_GetTimerEvent Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal GCtr As Short, ByRef hEvent As Integer) As Short - Declare Function WDT_Setup Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal Ctr As Short, ByVal ovflowSec As Single, ByRef actualSec As Single, ByRef hEvent As Integer) As Short - Declare Function WDT_Control Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal Ctr As Short, ByVal action As Short) As Short - Declare Function WDT_Status Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal Ctr As Short, ByRef Value As Integer) As Short - Declare Function WDT_Reload Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal ovflowSec As Single, ByRef actualSec As Single) As Short - Declare Function AI_GetEvent Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByRef hEvent As Integer) As Short - Declare Function AO_GetEvent Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByRef hEvent As Integer) As Short - Declare Function DI_GetEvent Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByRef hEvent As Integer) As Short - Declare Function DO_GetEvent Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByRef hEvent As Integer) As Short - - 'Cal Function - Declare Function PCI_DB_Auto_Calibration_ALL Lib "Pci-Dask.dll" (ByVal CardNumber As Short) As Short - Declare Function PCI_Load_CAL_Data Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal bank As Short) As Short - Declare Function PCI_EEPROM_CAL_Constant_Update Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal bank As Short) As Short - Declare Function PCI9524_Acquire_AD_CalConst Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal Group As Short, ByVal ADC_Range As Short, ByVal ADC_Speed As Short, ByRef CalDate As Integer, ByRef CalTemp As Single, ByRef ADC_offset As Integer, ByRef ADC_gain As Integer, ByRef Residual_offset As Double, ByRef Residual_scaling As Double) As Short - Declare Function PCI9524_Acquire_DA_CalConst Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal Channel As Short, ByRef CalDate As Integer, ByRef CalTemp As Single, ByRef DAC_offset As Byte, ByRef DAC_linearity As Byte, ByRef Gain_factor As Single) As Short - Declare Function PCI9524_Read_EEProm Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal ReadAddr As Short, ByRef ReadData As Byte) As Short - Declare Function PCI9524_Read_RemoteSPI Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal Addr As Short, ByRef RdData As Byte) As Short - Declare Function PCI9524_Write_EEProm Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal WriteAddr As Short, ByRef WriteData As Byte) As Short - Declare Function PCI9524_Write_RemoteSPI Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal Addr As Short, ByVal WrtData As Byte) As Short - - 'SSI Function - Declare Function SSI_SourceConn Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal sigCode As Short) As Short - Declare Function SSI_SourceDisConn Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal sigCode As Short) As Short - Declare Function SSI_SourceClear Lib "Pci-Dask.dll" (ByVal CardNumber As Short) As Short - - 'PWM Function - Declare Function PWM_Output Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal Channel As Short, ByVal high_interval As Integer, ByVal low_interval As Integer) As Short - Declare Function PWM_Stop Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal Channel As Short) As Short - - 'I2C Function - Declare Function I2C_Setup Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal I2C_Port As Short, ByVal I2C_Config As Short, ByVal I2C_SetupValue1 As Integer, ByVal I2C_SetupValue2 As Integer) As Short - Declare Function I2C_Control Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal I2C_Port As Short, ByVal I2C_CtrlParam As Short, ByVal I2C_CtrlValue As Integer) As Short - Declare Function I2C_Status Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal I2C_Port As Short, ByRef I2C_Status As Integer) As Short - Declare Function I2C_Read Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal I2C_Port As Short, ByVal I2C_SlaveAddr As Short, ByVal I2C_CmdAddrBytes As Short, ByVal I2C_DataBytes As Short, ByVal I2C_CmdAddr As Integer, ByRef I2C_Data As Integer) As Short - Declare Function I2C_Write Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal I2C_Port As Short, ByVal I2C_SlaveAddr As Short, ByVal I2C_CmdAddrBytes As Short, ByVal I2C_DataBytes As Short, ByVal I2C_CmdAddr As Integer, ByVal I2C_Data As Integer) As Short - - 'SPI Function - Declare Function SPI_Setup Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal SPI_Port As Short, ByVal SPI_Config As Short, ByVal SPI_SetupValue1 As Integer, ByVal SPI_SetupValue2 As Integer) As Short - Declare Function SPI_Control Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal SPI_Port As Short, ByVal SPI_CtrlParam As Short, ByVal SPI_CtrlValue As Integer) As Short - Declare Function SPI_Status Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal SPI_Port As Short, ByRef SPI_Status As Integer) As Short - Declare Function SPI_Read Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal SPI_Port As Short, ByVal SPI_SlaveAddr As Short, ByVal SPI_CmdAddrBits As Short, ByVal SPI_DataBits As Short, ByVal SPI_FrontDummyBits As Short, ByVal SPI_CmdAddr As Integer, ByRef SPI_Data As Integer) As Short - Declare Function SPI_Write Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal SPI_Port As Short, ByVal SPI_SlaveAddr As Short, ByVal SPI_CmdAddrBits As Short, ByVal SPI_DataBits As Short, ByVal SPI_FrontDummyBits As Short, ByVal SPI_TailDummyBits As Short, ByVal SPI_CmdAddr As Integer, ByVal SPI_Data As Integer) As Short - -End Module diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Include/Dask64.cs b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Include/Dask64.cs deleted file mode 100644 index 30a8a3f..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Include/Dask64.cs +++ /dev/null @@ -1,1661 +0,0 @@ -using System.Runtime.InteropServices; -using System; - -public delegate void CallbackDelegate(); - -public class DASK -{ - //ADLink PCI Card Type - public const ushort PCI_6208V = 1; - public const ushort PCI_6208A = 2; - public const ushort PCI_6308V = 3; - public const ushort PCI_6308A = 4; - public const ushort PCI_7200 = 5; - public const ushort PCI_7230 = 6; - public const ushort PCI_7233 = 7; - public const ushort PCI_7234 = 8; - public const ushort PCI_7248 = 9; - public const ushort PCI_7249 = 10; - public const ushort PCI_7250 = 11; - public const ushort PCI_7252 = 12; - public const ushort PCI_7296 = 13; - public const ushort PCI_7300A_RevA = 14; - public const ushort PCI_7300A_RevB = 15; - public const ushort PCI_7432 = 16; - public const ushort PCI_7433 = 17; - public const ushort PCI_7434 = 18; - public const ushort PCI_8554 = 19; - public const ushort PCI_9111DG = 20; - public const ushort PCI_9111HR = 21; - public const ushort PCI_9112 = 22; - public const ushort PCI_9113 = 23; - public const ushort PCI_9114DG = 24; - public const ushort PCI_9114HG = 25; - public const ushort PCI_9118DG = 26; - public const ushort PCI_9118HG = 27; - public const ushort PCI_9118HR = 28; - public const ushort PCI_9810 = 29; - public const ushort PCI_9812 = 30; - public const ushort PCI_7396 = 31; - public const ushort PCI_9116 = 32; - public const ushort PCI_7256 = 33; - public const ushort PCI_7258 = 34; - public const ushort PCI_7260 = 35; - public const ushort PCI_7452 = 36; - public const ushort PCI_7442 = 37; - public const ushort PCI_7443 = 38; - public const ushort PCI_7444 = 39; - public const ushort PCI_9221 = 40; - public const ushort PCI_9524 = 41; - public const ushort PCI_6202 = 42; - public const ushort PCI_9222 = 43; - public const ushort PCI_9223 = 44; - public const ushort PCI_7433C = 45; - public const ushort PCI_7434C = 46; - public const ushort PCI_922A = 47; - public const ushort PCI_7350 = 48; - - public const ushort MAX_CARD = 32; - -//Error Number - public const short NoError = 0; - public const short ErrorUnknownCardType = -1; - public const short ErrorInvalidCardNumber = -2; - public const short ErrorTooManyCardRegistered = -3; - public const short ErrorCardNotRegistered = -4; - public const short ErrorFuncNotSupport = -5; - public const short ErrorInvalidIoChannel = -6; - public const short ErrorInvalidAdRange = -7; - public const short ErrorContIoNotAllowed = -8; - public const short ErrorDiffRangeNotSupport = -9; - public const short ErrorLastChannelNotZero = -10; - public const short ErrorChannelNotDescending = -11; - public const short ErrorChannelNotAscending = -12; - public const short ErrorOpenDriverFailed = -13; - public const short ErrorOpenEventFailed = -14; - public const short ErrorTransferCountTooLarge = -15; - public const short ErrorNotDoubleBufferMode = -16; - public const short ErrorInvalidSampleRate = -17; - public const short ErrorInvalidCounterMode = -18; - public const short ErrorInvalidCounter = -19; - public const short ErrorInvalidCounterState = -20; - public const short ErrorInvalidBinBcdParam = -21; - public const short ErrorBadCardType = -22; - public const short ErrorInvalidDaRefVoltage = -23; - public const short ErrorAdTimeOut = -24; - public const short ErrorNoAsyncAI = -25; - public const short ErrorNoAsyncAO = -26; - public const short ErrorNoAsyncDI = -27; - public const short ErrorNoAsyncDO = -28; - public const short ErrorNotInputPort = -29; - public const short ErrorNotOutputPort = -30; - public const short ErrorInvalidDioPort = -31; - public const short ErrorInvalidDioLine = -32; - public const short ErrorContIoActive = -33; - public const short ErrorDblBufModeNotAllowed = -34; - public const short ErrorConfigFailed = -35; - public const short ErrorInvalidPortDirection = -36; - public const short ErrorBeginThreadError = -37; - public const short ErrorInvalidPortWidth = -38; - public const short ErrorInvalidCtrSource = -39; - public const short ErrorOpenFile = -40; - public const short ErrorAllocateMemory = -41; - public const short ErrorDaVoltageOutOfRange = -42; - public const short ErrorDaExtRefNotAllowed = -43; - public const short ErrorDIODataWidthError = -44; - public const short ErrorTaskCodeError = -45; - public const short ErrortriggercountError = -46; - public const short ErrorInvalidTriggerMode = -47; - public const short ErrorInvalidTriggerType = -48; - public const short ErrorInvalidCounterValue = -50; - public const short ErrorInvalidEventHandle = -60; - public const short ErrorNoMessageAvailable = -61; - public const short ErrorEventMessgaeNotAdded = -62; - public const short ErrorCalibrationTimeOut = -63; - public const short ErrorUndefinedParameter = -64; - public const short ErrorInvalidBufferID = -65; - public const short ErrorInvalidSampledClock = -66; - public const short ErrorInvalisOperationMode = -67; - -//Error number for driver API - public const short ErrorConfigIoctl = -201; - public const short ErrorAsyncSetIoctl = -202; - public const short ErrorDBSetIoctl = -203; - public const short ErrorDBHalfReadyIoctl = -204; - public const short ErrorContOPIoctl = -205; - public const short ErrorContStatusIoctl = -206; - public const short ErrorPIOIoctl = -207; - public const short ErrorDIntSetIoctl = -208; - public const short ErrorWaitEvtIoctl = -209; - public const short ErrorOpenEvtIoctl = -210; - public const short ErrorCOSIntSetIoctl = -211; - public const short ErrorMemMapIoctl = -212; - public const short ErrorMemUMapSetIoctl = -213; - public const short ErrorCTRIoctl = -214; - public const short ErrorGetResIoctl = -215; - public const short ErrorCalIoctl = -216; - public const short ErrorPMIntSetIoctl = -217; - -//AD Range - public const ushort AD_B_10_V = 1; - public const ushort AD_B_5_V = 2; - public const ushort AD_B_2_5_V = 3; - public const ushort AD_B_1_25_V = 4; - public const ushort AD_B_0_625_V = 5; - public const ushort AD_B_0_3125_V = 6; - public const ushort AD_B_0_5_V = 7; - public const ushort AD_B_0_05_V = 8; - public const ushort AD_B_0_005_V = 9; - public const ushort AD_B_1_V = 10; - public const ushort AD_B_0_1_V = 11; - public const ushort AD_B_0_01_V = 12; - public const ushort AD_B_0_001_V = 13; - public const ushort AD_U_20_V = 14; - public const ushort AD_U_10_V = 15; - public const ushort AD_U_5_V = 16; - public const ushort AD_U_2_5_V = 17; - public const ushort AD_U_1_25_V = 18; - public const ushort AD_U_1_V = 19; - public const ushort AD_U_0_1_V = 20; - public const ushort AD_U_0_01_V = 21; - public const ushort AD_U_0_001_V = 22; - public const ushort AD_B_2_V = 23; - public const ushort AD_B_0_25_V = 24; - public const ushort AD_B_0_2_V = 25; - public const ushort AD_U_4_V = 26; - public const ushort AD_U_2_V = 27; - public const ushort AD_U_0_5_V = 28; - public const ushort AD_U_0_4_V = 29; - - //Synchronous Mode - public const ushort SYNCH_OP = 1; - public const ushort ASYNCH_OP = 2; - - //AO Terminate Mode - public const ushort DA_TerminateImmediate = 0; - - //Clock Mode - public const ushort TRIG_SOFTWARE = 0; - public const ushort TRIG_INT_PACER = 1; - public const ushort TRIG_EXT_STROBE = 2; - public const ushort TRIG_HANDSHAKE = 3; - public const ushort TRIG_CLK_10MHZ = 4; //PCI-7300A - public const ushort TRIG_CLK_20MHZ = 5; //PCI-7300A - public const ushort TRIG_DO_CLK_TIMER_ACK = 6; //PCI-7300A Rev. B - public const ushort TRIG_DO_CLK_10M_ACK = 7; //PCI-7300A Rev. B - public const ushort TRIG_DO_CLK_20M_ACK = 8; //PCI-7300A Rev. B -//Virtual Sampling Rate for using external clock as the clock source - public const double CLKSRC_EXT_SampRate = 10000; - -//-------- Constants for PCI-6208A/PCI-6308A/PCI-6308V ------------------- -//Output Mode - public const ushort P6208_CURRENT_0_20MA = 0; - public const ushort P6208_CURRENT_4_20MA = 3; - public const ushort P6208_CURRENT_5_25MA = 1; - public const ushort P6308_CURRENT_0_20MA = 0; - public const ushort P6308_CURRENT_4_20MA = 3; - public const ushort P6308_CURRENT_5_25MA = 1; -//AO Setting - public const ushort P6308V_AO_CH0_3 = 0; - public const ushort P6308V_AO_CH4_7 = 1; - public const ushort P6308V_AO_UNIPOLAR = 0; - public const ushort P6308V_AO_BIPOLAR = 1; -//-------- Constants for PCI-7200 -------------------- -//InputMode - public const ushort DI_WAITING = 0x02; - public const ushort DI_NOWAITING = 0x00; - - public const ushort DI_TRIG_RISING = 0x04; - public const ushort DI_TRIG_FALLING = 0x00; - - public const ushort IREQ_RISING = 0x08; - public const ushort IREQ_FALLING = 0x00; - -//Output Mode - public const ushort OREQ_ENABLE = 0x10; - public const ushort OREQ_DISABLE = 0x00; - - public const ushort OTRIG_HIGH = 0x20; - public const ushort OTRIG_LOW = 0x00; - -//-------- Constants for PCI-7248/7296/7396/7442 --------------- -//DIO Port Direction - public const ushort INPUT_PORT = 1; - public const ushort OUTPUT_PORT = 2; -//DIO Line Direction - public const ushort INPUT_LINE = 1; - public const ushort OUTPUT_LINE = 2; - -//Channel & Port - public const ushort Channel_P1A = 0; - public const ushort Channel_P1B = 1; - public const ushort Channel_P1C = 2; - public const ushort Channel_P1CL = 3; - public const ushort Channel_P1CH = 4; - public const ushort Channel_P1AE = 10; - public const ushort Channel_P1BE = 11; - public const ushort Channel_P1CE = 12; - public const ushort Channel_P2A = 5; - public const ushort Channel_P2B = 6; - public const ushort Channel_P2C = 7; - public const ushort Channel_P2CL = 8; - public const ushort Channel_P2CH = 9; - public const ushort Channel_P2AE = 15; - public const ushort Channel_P2BE = 16; - public const ushort Channel_P2CE = 17; - public const ushort Channel_P3A = 10; - public const ushort Channel_P3B = 11; - public const ushort Channel_P3C = 12; - public const ushort Channel_P3CL = 13; - public const ushort Channel_P3CH = 14; - public const ushort Channel_P4A = 15; - public const ushort Channel_P4B = 16; - public const ushort Channel_P4C = 17; - public const ushort Channel_P4CL = 18; - public const ushort Channel_P4CH = 19; - public const ushort Channel_P5A = 20; - public const ushort Channel_P5B = 21; - public const ushort Channel_P5C = 22; - public const ushort Channel_P5CL = 23; - public const ushort Channel_P5CH = 24; - public const ushort Channel_P6A = 25; - public const ushort Channel_P6B = 26; - public const ushort Channel_P6C = 27; - public const ushort Channel_P6CL = 28; - public const ushort Channel_P6CH = 29; -//the following are used for PCI7396 - public const ushort Channel_P1 = 30; - public const ushort Channel_P2 = 31; - public const ushort Channel_P3 = 32; - public const ushort Channel_P4 = 33; - public const ushort Channel_P1E = 34; //only used by DIO_PortConfig function - public const ushort Channel_P2E = 35; //only used by DIO_PortConfig function - public const ushort Channel_P3E = 36; //only used by DIO_PortConfig function - public const ushort Channel_P4E = 37; //only used by DIO_PortConfig function -//7442 - public const ushort P7442_CH0 = 0; - public const ushort P7442_CH1 = 1; - public const ushort P7442_TTL0 = 2; - public const ushort P7442_TTL1 = 3; -// P7443 - public const ushort P7443_CH0 = 0; - public const ushort P7443_CH1 = 1; - public const ushort P7443_CH2 = 2; - public const ushort P7443_CH3 = 3; - public const ushort P7443_TTL0 = 4; - public const ushort P7443_TTL1 = 5; -// P7444 - public const ushort P7444_CH0 = 0; - public const ushort P7444_CH1 = 1; - public const ushort P7444_CH2 = 2; - public const ushort P7444_CH3 = 3; - public const ushort P7444_TTL0 = 4; - public const ushort P7444_TTL1 = 5; - - //-------- Constants for PCI-7300A ------------------- -//Wait Status - public const ushort P7300_WAIT_NO = 0; - public const ushort P7300_WAIT_TRG = 1; - public const ushort P7300_WAIT_FIFO = 2; - public const ushort P7300_WAIT_BOTH = 3; - -//Terminator control - public const ushort P7300_TERM_OFF = 0; - public const ushort P7300_TERM_ON = 1; - -//DI control signals polarity for PCI-7300A Rev. B - public const ushort P7300_DIREQ_POS = 0x00000000; - public const ushort P7300_DIREQ_NEG = 0x00000001; - public const ushort P7300_DIACK_POS = 0x00000000; - public const ushort P7300_DIACK_NEG = 0x00000002; - public const ushort P7300_DITRIG_POS = 0x00000000; - public const ushort P7300_DITRIG_NEG = 0x00000004; - -//DO control signals polarity for PCI-7300A Rev. B - public const ushort P7300_DOREQ_POS = 0x00000000; - public const ushort P7300_DOREQ_NEG = 0x00000008; - public const ushort P7300_DOACK_POS = 0x00000000; - public const ushort P7300_DOACK_NEG = 0x00000010; - public const ushort P7300_DOTRIG_POS = 0x00000000; - public const ushort P7300_DOTRIG_NEG = 0x00000020; - -//DO Disable mode in DO_AsyncClear - public const ushort P7300_DODisableDOEnabled = 0; - public const ushort P7300_DONotDisableDOEnabled = 1; - -//-------- Constants for PCI-7432/7433/7434/7433C/7434C --------------- - public const ushort PORT_DI_LOW = 0; - public const ushort PORT_DI_HIGH = 1; - public const ushort PORT_DO_LOW = 0; - public const ushort PORT_DO_HIGH = 1; - public const ushort P7432R_DO_LED = 1; - public const ushort P7433R_DO_LED = 0; - public const ushort P7434R_DO_LED = 2; - public const ushort P7432R_DI_SLOT = 1; - public const ushort P7433R_DI_SLOT = 2; - public const ushort P7434R_DI_SLOT = 0; -//-- Dual-Interrupt Source control for PCI-7248/96 & 7432/33 & 7230 & 8554 & 7396 &7256 &7260 & 7433C --- - public const short INT1_DISABLE = -1; //INT1 Disabled - public const short INT1_COS = 0; //INT1 COS : only available for PCI-7396, PCI-7256, PCI-7260 - public const short INT1_FP1C0 = 1; //INT1 by Falling edge of P1C0 : only available for PCI7248/96/7396 - public const short INT1_RP1C0_FP1C3 = 2; //INT1 by P1C0 Rising or P1C3 Falling : only available for PCI7248/96/7396 - public const short INT1_EVENT_COUNTER = 3; //INT1 by Event Counter down to zero : only available for PCI7248/96/7396 - public const short INT1_EXT_SIGNAL = 1; //INT1 by external signal : only available for PCI7432/7433/7230/8554 - public const short INT1_COUT12 = 1; //INT1 COUT12 : only available for PCI8554 - public const short INT1_CH0 = 1; //INT1 CH0 : only available for PCI7256, PCI7260 - public const short INT1_COS0 = 1; //INT1 COS0 : only available for PCI-7452/PCI-7442 - public const short INT1_COS1 = 2; //INT1 COS1 : only available for PCI-7452/PCI-7442 - public const short INT1_COS2 = 4; //INT1 COS2 : only available for PCI-7452/PCI-7442 - public const short INT1_COS3 = 8; //INT1 COS3 : only available for PCI-7452/PCI-7442 - public const short INT2_DISABLE = -1; //INT2 Disabled - public const short INT2_COS = 0; //INT2 COS : only available for PCI-7396 - public const short INT2_FP2C0 = 1; //INT2 by Falling edge of P2C0 : only available for PCI7248/96/7396 - public const short INT2_RP2C0_FP2C3 = 2; //INT2 by P2C0 Rising or P2C3 Falling : only available for PCI7248/96/7396 - public const short INT2_TIMER_COUNTER = 3; //INT2 by Timer Counter down to zero : only available for PCI7248/96/7396 - public const short INT2_EXT_SIGNAL = 1; //INT2 by external signal : only available for PCI7432/7433/7230/8554 - public const short INT2_CH1 = 2; //INT2 CH1 : only available for PCI7256, PCI7260 - public const short INT2_WDT = 4; //INT2 by WDT - - public const ushort ManualResetIEvt = 0x4000;//interrupt event is manually reset by user - public const ushort WDT_OVRFLOW_SAFETYOUT = 0x8000;// enable safteyout while WDT overflow -//-------- Constants for PCI-8554 -------------------- -//Clock Source of Cunter N - public const ushort ECKN = 0; - public const ushort COUTN_1 = 1; - public const ushort CK1 = 2; - public const ushort COUT10 = 3; - -//Clock Source of CK1 - public const ushort CK1_C8M = 0; - public const ushort CK1_COUT11 = 1; - -//Debounce Clock - public const ushort DBCLK_COUT11 = 0; - public const ushort DBCLK_2MHZ = 1; - -//-------- Constants for PCI-9111 -------------------- -//Dual Interrupt Mode - public const ushort P9111_INT1_EOC = 0; //Ending of AD conversion - public const ushort P9111_INT1_FIFO_HF = 1; //FIFO Half Full - public const ushort P9111_INT2_PACER = 0; //Every Timer tick - public const ushort P9111_INT2_EXT_TRG = 1; //ExtTrig High->Low - -//Channel Count - public const ushort P9111_CHANNEL_DO = 0; - public const ushort P9111_CHANNEL_EDO = 1; - public const ushort P9111_CHANNEL_DI = 0; - public const ushort P9111_CHANNEL_EDI = 1; - -//EDO function - public const ushort P9111_EDO_INPUT = 1; //EDO port set as Input port - public const ushort P9111_EDO_OUT_EDO = 2; //EDO port set as Output port - public const ushort P9111_EDO_OUT_CHN = 3; //EDO port set as channel number ouput port - -//Trigger Mode - public const ushort P9111_TRGMOD_SOFT = 0x00; //Software Trigger Mode - public const ushort P9111_TRGMOD_PRE = 0x01; //Pre-Trigger Mode - public const ushort P9111_TRGMOD_POST = 0x02; //Post Trigger Mode - -//AO Setting - public const ushort P9111_AO_UNIPOLAR = 0; - public const ushort P9111_AO_BIPOLAR = 1; - -//-------- Constants for PCI-9118 -------------------- - public const ushort P9118_AI_BiPolar = 0x00; - public const ushort P9118_AI_UniPolar = 0x01; - - public const ushort P9118_AI_SingEnded = 0x00; - public const ushort P9118_AI_Differential = 0x02; - - public const ushort P9118_AI_ExtG = 0x04; - - public const ushort P9118_AI_ExtTrig = 0x08; - - public const ushort P9118_AI_DtrgNegative = 0x00; - public const ushort P9118_AI_DtrgPositive = 0x10; - - public const ushort P9118_AI_EtrgNegative = 0x00; - public const ushort P9118_AI_EtrgPositive = 0x20; - - public const ushort P9118_AI_BurstModeEn = 0x40; - public const ushort P9118_AI_SampleHold = 0x80; - public const ushort P9118_AI_PostTrgEn = 0x100; - public const ushort P9118_AI_AboutTrgEn = 0x200; - -//-------- Constants for PCI-9116 -------------------- - public const ushort P9116_AI_LocalGND = 0x00; - public const ushort P9116_AI_UserCMMD = 0x01; - public const ushort P9116_AI_SingEnded = 0x00; - public const ushort P9116_AI_Differential = 0x02; - public const ushort P9116_AI_BiPolar = 0x00; - public const ushort P9116_AI_UniPolar = 0x04; - - public const ushort P9116_TRGMOD_SOFT = 0x00; //Software Trigger Mode - public const ushort P9116_TRGMOD_POST = 0x10; //Post Trigger Mode - public const ushort P9116_TRGMOD_DELAY = 0x20; //Delay Trigger Mode - public const ushort P9116_TRGMOD_PRE = 0x30; //Pre-Trigger Mode - public const ushort P9116_TRGMOD_MIDL = 0x40; //Middle Trigger Mode - public const ushort P9116_AI_TrgPositive = 0x00; - public const ushort P9116_AI_TrgNegative = 0x80; - public const ushort P9116_AI_ExtTimeBase = 0x100; - public const ushort P9116_AI_IntTimeBase = 0x000; - public const ushort P9116_AI_DlyInSamples = 0x200; - public const ushort P9116_AI_DlyInTimebase = 0x000; - public const ushort P9116_AI_ReTrigEn = 0x400; - public const ushort P9116_AI_MCounterEn = 0x800; - public const ushort P9116_AI_SoftPolling = 0x0000; - public const ushort P9116_AI_INT = 0x1000; - public const ushort P9116_AI_DMA = 0x2000; - -//-------- Constants for PCI-9812 -------------------- -//Trigger Mode - public const ushort P9812_TRGMOD_SOFT = 0x00; //Software Trigger Mode - public const ushort P9812_TRGMOD_POST = 0x01; //Post Trigger Mode - public const ushort P9812_TRGMOD_PRE = 0x02; //Pre-Trigger Mode - public const ushort P9812_TRGMOD_DELAY = 0x03; //Delay Trigger Mode - public const ushort P9812_TRGMOD_MIDL = 0x04; //Middle Trigger Mode - - public const ushort P9812_AIEvent_Manual = 0x08; //Middle Trigger Mode - - //Trigger Source - public const ushort P9812_TRGSRC_CH0 = 0x00; //trigger source --CH0 - public const ushort P9812_TRGSRC_CH1 = 0x08; //trigger source --CH1 - public const ushort P9812_TRGSRC_CH2 = 0x10; //trigger source --CH2 - public const ushort P9812_TRGSRC_CH3 = 0x18; //trigger source --CH3 - public const ushort P9812_TRGSRC_EXT_DIG = 0x20; //External Digital Trigger - -//Trigger Polarity - public const ushort P9812_TRGSLP_POS = 0x00; //Positive slope trigger - public const ushort P9812_TRGSLP_NEG = 0x40; //Negative slope trigger - -//Frequency Selection - public const ushort P9812_AD2_GT_PCI = 0x80; //Freq. of A/D clock > PCI clock freq. - public const ushort P9812_AD2_LT_PCI = 0x00; //Freq. of A/D clock < PCI clock freq. - -//Clock Source - public const ushort P9812_CLKSRC_INT = 0x000; //Internal clock - public const ushort P9812_CLKSRC_EXT_SIN = 0x100; //External SIN wave clock - public const ushort P9812_CLKSRC_EXT_DIG = 0x200; //External Square wave clock - -/*-------- Constants for PCI-9221 --------------------*/ -//Input Type - public const ushort P9221_AI_SingEnded = 0x0; - public const ushort P9221_AI_NonRef_SingEnded = 0x1; - public const ushort P9221_AI_Differential = 0x2; - -//Trigger Mode - public const ushort P9221_TRGMOD_SOFT = 0x00; - public const ushort P9221_TRGMOD_ExtD = 0x08; -//Trigger Source - public const ushort P9221_TRGSRC_GPI0 = 0x00; - public const ushort P9221_TRGSRC_GPI1 = 0x01; - public const ushort P9221_TRGSRC_GPI2 = 0x02; - public const ushort P9221_TRGSRC_GPI3 = 0x03; - public const ushort P9221_TRGSRC_GPI4 = 0x04; - public const ushort P9221_TRGSRC_GPI5 = 0x05; - public const ushort P9221_TRGSRC_GPI6 = 0x06; - public const ushort P9221_TRGSRC_GPI7 = 0x07; - -//Trigger Polarity - public const ushort P9221_AI_TrgPositive = 0; - public const ushort P9221_AI_TrgNegative = 0x10; - -//TimeBase Mode - public const ushort P9221_AI_IntTimeBase = 0x00; - public const ushort P9221_AI_ExtTimeBase = 0x80; -//TimeBase Source - public const ushort P9221_TimeBaseSRC_GPI0 = 0x00; - public const ushort P9221_TimeBaseSRC_GPI1 = 0x10; - public const ushort P9221_TimeBaseSRC_GPI2 = 0x20; - public const ushort P9221_TimeBaseSRC_GPI3 = 0x30; - public const ushort P9221_TimeBaseSRC_GPI4 = 0x40; - public const ushort P9221_TimeBaseSRC_GPI5 = 0x50; - public const ushort P9221_TimeBaseSRC_GPI6 = 0x60; - public const ushort P9221_TimeBaseSRC_GPI7 = 0x70; - -//DAQ Event type for the event message - public const ushort AIEnd = 0; - public const ushort AOEnd = 0; - public const ushort DIEnd = 0; - public const ushort DOEnd = 0; - public const ushort DBEvent = 1; - public const ushort TrigEvent = 2; - -//EMG shdn ctrl code - public const ushort EMGSHDN_OFF = 0; //off - public const ushort EMGSHDN_ON = 1; //on - public const ushort EMGSHDN_RECOVERY = 2; //recovery - -//Hot Reset Hold ctrl code - public const ushort HRH_OFF = 0; //off - public const ushort HRH_ON = 1; //on - -//COS Counter OP - public const ushort COS_COUNTER_RESET = 0; - public const ushort COS_COUNTER_SETUP = 1; - public const ushort COS_COUNTER_START = 2; - public const ushort COS_COUNTER_STOP = 3; - public const ushort COS_COUNTER_READ = 4; - -//-------- Timer/Counter ----------------------------- -//Counter Mode (8254) - public const ushort TOGGLE_OUTPUT = 0; //Toggle output from low to high on terminal count - public const ushort PROG_ONE_SHOT = 1; //Programmable one-shot - public const ushort RATE_GENERATOR = 2; //Rate generator - public const ushort SQ_WAVE_RATE_GENERATOR = 3; //Square wave rate generator - public const ushort SOFT_TRIG = 4; //Software-triggered strobe - public const ushort HARD_TRIG = 5; //Hardware-triggered strobe - -//General Purpose Timer/Counter -//Counter Mode - public const ushort General_Counter = 0x00; //general counter - public const ushort Pulse_Generation = 0x01; //pulse generation -//GPTC clock source - public const ushort GPTC_CLKSRC_EXT = 0x08; - public const ushort GPTC_CLKSRC_INT = 0x00; - public const ushort GPTC_GATESRC_EXT = 0x10; - public const ushort GPTC_GATESRC_INT = 0x00; - public const ushort GPTC_UPDOWN_SELECT_EXT = 0x20; - public const ushort GPTC_UPDOWN_SELECT_SOFT = 0x00; - public const ushort GPTC_UP_CTR = 0x40; - public const ushort GPTC_DOWN_CTR = 0x00; - public const ushort GPTC_ENABLE = 0x80; - public const ushort GPTC_DISABLE = 0x00; - -//General Purpose Timer/Counter for 9221 -//Counter Mode - public const ushort SimpleGatedEventCNT = 0x01; - public const ushort SinglePeriodMSR = 0x02; - public const ushort SinglePulseWidthMSR = 0x03; - public const ushort SingleGatedPulseGen = 0x04; - public const ushort SingleTrigPulseGen = 0x05; - public const ushort RetrigSinglePulseGen = 0x06; - public const ushort SingleTrigContPulseGen = 0x07; - public const ushort ContGatedPulseGen = 0x08; - public const ushort EdgeSeparationMSR = 0x09; - public const ushort SingleTrigContPulseGenPWM = 0x0a; - public const ushort ContGatedPulseGenPWM = 0x0b; - public const ushort CW_CCW_Encoder = 0x0c; - public const ushort x1_AB_Phase_Encoder = 0x0d; - public const ushort x2_AB_Phase_Encoder = 0x0e; - public const ushort x4_AB_Phase_Encoder = 0x0f; - public const ushort Phase_Z = 0x10; - -//GPTC clock source - public const ushort GPTC_CLK_SRC_Ext = 0x01; - public const ushort GPTC_CLK_SRC_Int = 0x00; - public const ushort GPTC_GATE_SRC_Ext = 0x02; - public const ushort GPTC_GATE_SRC_Int = 0x00; - public const ushort GPTC_UPDOWN_Ext = 0x04; - public const ushort GPTC_UPDOWN_Int = 0x00; - -//GPTC clock polarity - public const ushort GPTC_CLKSRC_LACTIVE = 0x01; - public const ushort GPTC_CLKSRC_HACTIVE = 0x00; - public const ushort GPTC_GATE_LACTIVE = 0x02; - public const ushort GPTC_GATE_HACTIVE = 0x00; - public const ushort GPTC_UPDOWN_LACTIVE = 0x04; - public const ushort GPTC_UPDOWN_HACTIVE = 0x00; - public const ushort GPTC_OUTPUT_LACTIVE = 0x08; - public const ushort GPTC_OUTPUT_HACTIVE = 0x00; - - public const ushort IntGate = 0x0; - public const ushort IntUpDnCTR = 0x1; - public const ushort IntENABLE = 0x2; - - public const ushort GPTC_EZ0_ClearPhase0 = 0x0; - public const ushort GPTC_EZ0_ClearPhase1 = 0x1; - public const ushort GPTC_EZ0_ClearPhase2 = 0x2; - public const ushort GPTC_EZ0_ClearPhase3 = 0x3; - - public const ushort GPTC_EZ0_ClearMode0 = 0x0; - public const ushort GPTC_EZ0_ClearMode1 = 0x1; - public const ushort GPTC_EZ0_ClearMode2 = 0x2; - public const ushort GPTC_EZ0_clearMode3 = 0x3; - -//Watchdog Timer -//Counter action - public const ushort WDT_DISARM = 0; - public const ushort WDT_ARM = 1; - public const ushort WDT_RESTART = 2; - -//Pattern ID - public const ushort INIT_PTN = 0; - public const ushort EMGSHDN_PTN = 1; - -//Pattern ID for 7442 - public const ushort INIT_PTN_CH0 = 0; - public const ushort INIT_PTN_CH1 = 1; - public const ushort INIT_PTN_CH2 = 2; //only for 7444 - public const ushort INIT_PTN_CH3 = 3; //only for 7444 - public const ushort SAFTOUT_PTN_CH0 = 4; - public const ushort SAFTOUT_PTN_CH1 = 5; - public const ushort SAFTOUT_PTN_CH2 = 6; //only for 7444 - public const ushort SAFTOUT_PTN_CH3 = 7; //only for 7444 - -//16-bit binary or 4-decade BCD counter - public const ushort BIN = 0; - public const ushort BCD = 1; - -/*EEPROM*/ - public const ushort EEPROM_DEFAULT_BANK = 0; - public const ushort EEPROM_USER_BANK1 = 1; - -//----------- 9524 Const ----------------- -//AI Interrupt - public const ushort P9524_INT_LC_EOC = 2; - public const ushort P9524_INT_GP_EOC = 3; -//DSP Constants - public const ushort P9524_SPIKE_REJ_DISABLE = 0; - public const ushort P9524_SPIKE_REJ_ENABLE = 1; -//AI Transfer Mode - public const ushort P9524_AI_XFER_POLL = 0; - public const ushort P9524_AI_XFER_DMA = 1; -//AI Poll all channels - public const ushort P9524_AI_POLL_ALLCHANNELS = 8; - public const ushort P9524_AI_POLLSCANS_CH0_CH3 = 8; - public const ushort P9524_AI_POLLSCANS_CH0_CH2 = 9; - public const ushort P9524_AI_POLLSCANS_CH0_CH1 = 10; -//AI Transfer Speed - public const ushort P9524_ADC_30K_SPS = 0; - public const ushort P9524_ADC_15K_SPS = 1; - public const ushort P9524_ADC_7K5_SPS = 2; - public const ushort P9524_ADC_3K75_SPS = 3; - public const ushort P9524_ADC_2K_SPS = 4; - public const ushort P9524_ADC_1K_SPS = 5; - public const ushort P9524_ADC_500_SPS = 6; - public const ushort P9524_ADC_100_SPS = 7; - public const ushort P9524_ADC_60_SPS = 8; - public const ushort P9524_ADC_50_SPS = 9; - public const ushort P9524_ADC_30_SPS = 10; - public const ushort P9524_ADC_25_SPS = 11; - public const ushort P9524_ADC_15_SPS = 12; - public const ushort P9524_ADC_10_SPS = 13; - public const ushort P9524_ADC_5_SPS = 14; - public const ushort P9524_ADC_2R5_SPS = 15; -//AI Configuration Mode - public const ushort P9524_VEX_Range_2R5V = 0x00; - public const ushort P9524_VEX_Range_10V = 0x01; - public const ushort P9524_VEX_Sence_Local = 0x00; - public const ushort P9524_VEX_Sence_Remote = 0x02; - public const ushort P9524_AI_AZMode = 0x04; - public const ushort P9524_AI_BufAutoReset = 0x08; - public const ushort P9524_AI_EnEOCInt = 0x10; -//AI Trigger configuration - public const ushort P9524_TRGMOD_POST = 0; - public const ushort P9524_TRGSRC_SOFT = 0; - public const ushort P9524_TRGSRC_ExtD = 1; - public const ushort P9524_TRGSRC_SSI = 2; - public const ushort P9524_TRGSRC_QD0 = 3; - public const ushort P9524_TRGSRC_PG0 = 4; - public const ushort P9524_AI_TrgPositive = 0; - public const ushort P9524_AI_TrgNegative = 8; -//AI Group - public const ushort P9524_AI_LC_Group = 0; - public const ushort P9524_AI_GP_Group = 1; -//AI Channel - public const ushort P9524_AI_LC_CH0 = 0; - public const ushort P9524_AI_LC_CH1 = 1; - public const ushort P9524_AI_LC_CH2 = 2; - public const ushort P9524_AI_LC_CH3 = 3; - public const ushort P9524_AI_GP_CH0 = 4; - public const ushort P9524_AI_GP_CH1 = 5; - public const ushort P9524_AI_GP_CH2 = 6; - public const ushort P9524_AI_GP_CH3 = 7; - -//Counter Number - public const ushort P9524_CTR_PG0 = 0; - public const ushort P9524_CTR_PG1 = 1; - public const ushort P9524_CTR_PG2 = 2; - public const ushort P9524_CTR_QD0 = 3; - public const ushort P9524_CTR_QD1 = 4; - public const ushort P9524_CTR_QD2 = 5; - public const ushort P9524_CTR_INTCOUNTER = 6; -//Counter Mode - public const ushort P9524_PulseGen_OUTDIR_N = 0; - public const ushort P9524_PulseGen_OUTDIR_R = 1; - public const ushort P9524_PulseGen_CW = 0; - public const ushort P9524_PulseGen_CCW = 2; - public const ushort P9524_x4_AB_Phase_Decoder = 3; - public const ushort P9524_Timer = 4; -//Counter Op - public const ushort P9524_CTR_Enable = 0; -//Event Mode - public const ushort P9524_Event_Timer = 0; - -//AO - public const ushort P9524_AO_CH0_1 = 0; - - -//------Constants for PCI-6202------ - public const ushort P6202_ISO0 = 0; - public const ushort P6202_TTL0 = 1; - public const ushort P6202_GPTC0 = 0; - public const ushort P6202_GPTC1 = 1; - public const ushort P6202_ENCODER0 = 2; - public const ushort P6202_ENCODER1 = 3; - public const ushort P6202_ENCODER2 = 4; - -//DA control constant - public const ushort P6202_DA_WRSRC_Int = 0; - public const ushort P6202_DA_WRSRC_AFI0 = 1; - public const ushort P6202_DA_WRSRC_SSI = 2; - public const ushort P6202_DA_WRSRC_AFI1 = 3; - -//DA trigger constant - public const ushort P6202_DA_TRGSRC_SOFT = 0x00; - public const ushort P6202_DA_TRGSRC_AFI0 = 0x01; - public const ushort P6202_DA_TRSRC_SSI = 0x02; - public const ushort P6202_DA_TRGSRC_AFI1 = 0x03; - public const ushort P6202_DA_TRGMOD_POST = 0x00; - public const ushort P6202_DA_TRGMOD_DELAY = 0x04; - public const ushort P6202_DA_ReTrigEn = 0x20; - public const ushort P6202_DA_DLY2En = 0x100; - -//SSI signal code - public const ushort P6202_SSI_DA_CONV = 0x04; - public const ushort P6202_SSI_DA_TRIG = 0x40; - -//Encoder constant - public const ushort P6202_EVT_TYPE_EPT0 = 0x00; - public const ushort P6202_EVT_TYPE_EPT1 = 0x01; - public const ushort P6202_EVT_TYPE_EPT2 = 0x02; - public const ushort P6202_EVT_TYPE_EZC0 = 0x03; - public const ushort P6202_EVT_TYPE_EZC1 = 0x04; - public const ushort P6202_EVT_TYPE_EZC2 = 0x05; - - public const ushort P6202_EVT_MOD_EPT = 0x00; - - public const ushort P6202_EPT_PULWIDTH_200us = 0x00; - public const ushort P6202_EPT_PULWIDTH_2ms = 0x01; - public const ushort P6202_EPT_PULWIDTH_20ms = 0x02; - public const ushort P6202_EPT_PULWIDTH_200ms = 0x03; - - public const ushort P6202_EPT_TRGOUT_CALLBACK = 0x04; - public const ushort P6202_EPT_TRGOUT_AFI = 0x08; - - public const ushort P6202_ENCODER0_LDATA = 0x05; - public const ushort P6202_ENCODER1_LDATA = 0x06; - public const ushort P6202_ENCODER2_LDATA = 0x07; - - /*------------------------------------*/ - /* Constants for PCI-922x */ - /*------------------------------------*/ - /*------------------*/ - /* AI Constants */ - /*------------------*/ - /*Input Type*/ - public const ushort P922x_AI_SingEnded = 0x00; - public const ushort P922x_AI_NonRef_SingEnded = 0x01; - public const ushort P922x_AI_Differential = 0x02; - /*Conversion Source*/ - public const ushort P922x_AI_CONVSRC_INT = 0x00; - public const ushort P922x_AI_CONVSRC_GPI0 = 0x10; - public const ushort P922x_AI_CONVSRC_GPI1 = 0x20; - public const ushort P922x_AI_CONVSRC_GPI2 = 0x30; - public const ushort P922x_AI_CONVSRC_GPI3 = 0x40; - public const ushort P922x_AI_CONVSRC_GPI4 = 0x50; - public const ushort P922x_AI_CONVSRC_GPI5 = 0x60; - public const ushort P922x_AI_CONVSRC_GPI6 = 0x70; - public const ushort P922x_AI_CONVSRC_GPI7 = 0x80; - public const ushort P922x_AI_CONVSRC_SSI1 = 0x90; - public const ushort P922x_AI_CONVSRC_SSI = 0x90; - /*Trigger Mode*/ - public const ushort P922x_AI_TRGMOD_POST = 0x00; - public const ushort P922x_AI_TRGMOD_GATED = 0x01; - /*Trigger Source*/ - public const ushort P922x_AI_TRGSRC_SOFT = 0x00; - public const ushort P922x_AI_TRGSRC_GPI0 = 0x10; - public const ushort P922x_AI_TRGSRC_GPI1 = 0x20; - public const ushort P922x_AI_TRGSRC_GPI2 = 0x30; - public const ushort P922x_AI_TRGSRC_GPI3 = 0x40; - public const ushort P922x_AI_TRGSRC_GPI4 = 0x50; - public const ushort P922x_AI_TRGSRC_GPI5 = 0x60; - public const ushort P922x_AI_TRGSRC_GPI6 = 0x70; - public const ushort P922x_AI_TRGSRC_GPI7 = 0x80; - public const ushort P922x_AI_TRGSRC_SSI5 = 0x90; - public const ushort P922x_AI_TRGSRC_SSI = 0x90; - /*Trigger Polarity*/ - public const ushort P922x_AI_TrgPositive = 0x000; - public const ushort P922x_AI_TrgNegative = 0x100; - /*ReTrigger*/ - public const ushort P922x_AI_EnReTigger = 0x200; - - /*------------------*/ - /* AO Constants */ - /*------------------*/ - /*Conversion Source*/ - public const ushort P922x_AO_CONVSRC_INT = 0x00; - public const ushort P922x_AO_CONVSRC_GPI0 = 0x01; - public const ushort P922x_AO_CONVSRC_GPI1 = 0x02; - public const ushort P922x_AO_CONVSRC_GPI2 = 0x03; - public const ushort P922x_AO_CONVSRC_GPI3 = 0x04; - public const ushort P922x_AO_CONVSRC_GPI4 = 0x05; - public const ushort P922x_AO_CONVSRC_GPI5 = 0x06; - public const ushort P922x_AO_CONVSRC_GPI6 = 0x07; - public const ushort P922x_AO_CONVSRC_GPI7 = 0x08; - public const ushort P922x_AO_CONVSRC_SSI2 = 0x09; - public const ushort P922x_AO_CONVSRC_SSI = 0x09; - /*Trigger Mode*/ - public const ushort P922x_AO_TRGMOD_POST = 0x00; - public const ushort P922x_AO_TRGMOD_DELAY = 0x01; - /*Trigger Source*/ - public const ushort P922x_AO_TRGSRC_SOFT = 0x00; - public const ushort P922x_AO_TRGSRC_GPI0 = 0x10; - public const ushort P922x_AO_TRGSRC_GPI1 = 0x20; - public const ushort P922x_AO_TRGSRC_GPI2 = 0x30; - public const ushort P922x_AO_TRGSRC_GPI3 = 0x40; - public const ushort P922x_AO_TRGSRC_GPI4 = 0x50; - public const ushort P922x_AO_TRGSRC_GPI5 = 0x60; - public const ushort P922x_AO_TRGSRC_GPI6 = 0x70; - public const ushort P922x_AO_TRGSRC_GPI7 = 0x80; - public const ushort P922x_AO_TRGSRC_SSI6 = 0x90; - public const ushort P922x_AO_TRGSRC_SSI = 0x90; - /*Trigger Polarity*/ - public const ushort P922x_AO_TrgPositive = 0x000; - public const ushort P922x_AO_TrgNegative = 0x100; - /*Retrigger*/ - public const ushort P922x_AO_EnReTigger = 0x200; - /*Delay 2*/ - public const ushort P922x_AO_EnDelay2 = 0x400; - - /*------------------*/ - /* DI Constants */ - /*------------------*/ - /*Conversion Source*/ - public const ushort P922x_DI_CONVSRC_INT = 0x00; - public const ushort P922x_DI_CONVSRC_GPI0 = 0x01; - public const ushort P922x_DI_CONVSRC_GPI1 = 0x02; - public const ushort P922x_DI_CONVSRC_GPI2 = 0x03; - public const ushort P922x_DI_CONVSRC_GPI3 = 0x04; - public const ushort P922x_DI_CONVSRC_GPI4 = 0x05; - public const ushort P922x_DI_CONVSRC_GPI5 = 0x06; - public const ushort P922x_DI_CONVSRC_GPI6 = 0x07; - public const ushort P922x_DI_CONVSRC_GPI7 = 0x08; - public const ushort P922x_DI_CONVSRC_ADCONV = 0x09; - public const ushort P922x_DI_CONVSRC_DACONV = 0x0A; - /*Trigger Mode*/ - public const ushort P922x_DI_TRGMOD_POST = 0x00; - /*Trigger Source*/ - public const ushort P922x_DI_TRGSRC_SOFT = 0x00; - public const ushort P922x_DI_TRGSRC_GPI0 = 0x10; - public const ushort P922x_DI_TRGSRC_GPI1 = 0x20; - public const ushort P922x_DI_TRGSRC_GPI2 = 0x30; - public const ushort P922x_DI_TRGSRC_GPI3 = 0x40; - public const ushort P922x_DI_TRGSRC_GPI4 = 0x50; - public const ushort P922x_DI_TRGSRC_GPI5 = 0x60; - public const ushort P922x_DI_TRGSRC_GPI6 = 0x70; - public const ushort P922x_DI_TRGSRC_GPI7 = 0x80; - /*Trigger Polarity*/ - public const ushort P922x_DI_TrgPositive = 0x000; - public const ushort P922x_DI_TrgNegative = 0x100; - /*ReTrigger*/ - public const ushort P922x_DI_EnReTigger = 0x200; - - /*------------------*/ - /* DO Constants */ - /*------------------*/ - /*Conversion Source*/ - public const ushort P922x_DO_CONVSRC_INT = 0x00; - public const ushort P922x_DO_CONVSRC_GPI0 = 0x01; - public const ushort P922x_DO_CONVSRC_GPI1 = 0x02; - public const ushort P922x_DO_CONVSRC_GPI2 = 0x03; - public const ushort P922x_DO_CONVSRC_GPI3 = 0x04; - public const ushort P922x_DO_CONVSRC_GPI4 = 0x05; - public const ushort P922x_DO_CONVSRC_GPI5 = 0x06; - public const ushort P922x_DO_CONVSRC_GPI6 = 0x07; - public const ushort P922x_DO_CONVSRC_GPI7 = 0x08; - public const ushort P922x_DO_CONVSRC_ADCONV = 0x09; - public const ushort P922x_DO_CONVSRC_DACONV = 0x0A; - /*Trigger Mode*/ - public const ushort P922x_DO_TRGMOD_POST = 0x00; - public const ushort P922x_DO_TRGMOD_DELAY = 0x01; - /*Trigger Source*/ - public const ushort P922x_DO_TRGSRC_SOFT = 0x00; - public const ushort P922x_DO_TRGSRC_GPI0 = 0x10; - public const ushort P922x_DO_TRGSRC_GPI1 = 0x20; - public const ushort P922x_DO_TRGSRC_GPI2 = 0x30; - public const ushort P922x_DO_TRGSRC_GPI3 = 0x40; - public const ushort P922x_DO_TRGSRC_GPI4 = 0x50; - public const ushort P922x_DO_TRGSRC_GPI5 = 0x60; - public const ushort P922x_DO_TRGSRC_GPI6 = 0x70; - public const ushort P922x_DO_TRGSRC_GPI7 = 0x80; - /*Trigger Polarity*/ - public const ushort P922x_DO_TrgPositive = 0x000; - public const ushort P922x_DO_TrgNegative = 0x100; - /*Retrigger*/ - public const ushort P922x_DO_EnReTigger = 0x200; - - /*--------------------------*/ - /* Encoder/GPTC Constants */ - /*--------------------------*/ - public const ushort P922x_GPTC0 = 0x00; - public const ushort P922x_GPTC1 = 0x01; - public const ushort P922x_GPTC2 = 0x02; - public const ushort P922x_GPTC3 = 0x03; - public const ushort P922x_ENCODER0 = 0x04; - public const ushort P922x_ENCODER1 = 0x05; - /*Encoder Setting Event Mode*/ - public const ushort P922x_EVT_MOD_EPT = 0x00; - /*Encoder Setting Event Control*/ - public const ushort P922x_EPT_PULWIDTH_200us = 0x00; - public const ushort P922x_EPT_PULWIDTH_2ms = 0x01; - public const ushort P922x_EPT_PULWIDTH_20ms = 0x02; - public const ushort P922x_EPT_PULWIDTH_200ms = 0x03; - public const ushort P922x_EPT_TRGOUT_GPO = 0x04; - public const ushort P922x_EPT_TRGOUT_CALLBACK = 0x08; - /*Event Type*/ - public const ushort P922x_EVT_TYPE_EPT0 = 0x00; - public const ushort P922x_EVT_TYPE_EPT1 = 0x01; - - /*SSI signal code*/ - public const ushort P922x_SSI_AI_CONV = 0x02; - public const ushort P922x_SSI_AI_TRIG = 0x20; - public const ushort P922x_SSI_AO_CONV = 0x04; - public const ushort P922x_SSI_AO_TRIG = 0x40; - - /*------------------------------------*/ - /* Constants for PCIe-7350 */ - /*------------------------------------*/ - public const ushort P7350_PortDIO = 0; - public const ushort P7350_PortAFI = 1; - /*DIO Port*/ - public const ushort P7350_DIO_A = 0; - public const ushort P7350_DIO_B = 1; - public const ushort P7350_DIO_C = 2; - public const ushort P7350_DIO_D = 3; - /*AFI Port*/ - public const ushort P7350_AFI_0 = 0; - public const ushort P7350_AFI_1 = 1; - public const ushort P7350_AFI_2 = 2; - public const ushort P7350_AFI_3 = 3; - public const ushort P7350_AFI_4 = 4; - public const ushort P7350_AFI_5 = 5; - public const ushort P7350_AFI_6 = 6; - public const ushort P7350_AFI_7 = 7; - /*AFI Mode*/ - public const ushort P7350_AFI_DIStartTrig = 0; - public const ushort P7350_AFI_DOStartTrig = 1; - public const ushort P7350_AFI_DIPauseTrig = 2; - public const ushort P7350_AFI_DOPauseTrig = 3; - public const ushort P7350_AFI_DISWTrigOut = 4; - public const ushort P7350_AFI_DOSWTrigOut = 5; - public const ushort P7350_AFI_COSTrigOut = 6; - public const ushort P7350_AFI_PMTrigOut = 7; - public const ushort P7350_AFI_HSDIREQ = 8; - public const ushort P7350_AFI_HSDIACK = 9; - public const ushort P7350_AFI_HSDITRIG = 10; - public const ushort P7350_AFI_HSDOREQ = 11; - public const ushort P7350_AFI_HSDOACK = 12; - public const ushort P7350_AFI_HSDOTRIG = 13; - public const ushort P7350_AFI_SPI = 14; - public const ushort P7350_AFI_I2C = 15; - public const ushort P7350_POLL_DI = 16; - public const ushort P7350_POLL_DO = 17; - /*Operation Mode*/ - public const ushort P7350_FreeRun = 0; - public const ushort P7350_HandShake = 1; - public const ushort P7350_BurstHandShake = 2; - /*Trigger Status*/ - public const ushort P7350_WAIT_NO = 0; - public const ushort P7350_WAIT_EXTTRG = 1; - public const ushort P7350_WAIT_SOFTTRG = 2; - /*Sampled Clock*/ - public const ushort P7350_IntSampledCLK = 0x00; - public const ushort P7350_ExtSampledCLK = 0x01; - /*Sampled Clock Edge*/ - public const ushort P7350_SampledCLK_R = 0x00; - public const ushort P7350_SampledCLK_F = 0x02; - /*Enable Export Sample Clock*/ - public const ushort P7350_EnExpSampledCLK = 0x04; - /*Trigger Configuration*/ - public const ushort P7350_EnPauseTrig = 0x01; - public const ushort P7350_EnSoftTrigOut = 0x02; - /*HandShake & Trigger Polarity*/ - public const ushort P7350_DIREQ_POS = 0x00; - public const ushort P7350_DIREQ_NEG = 0x01; - public const ushort P7350_DIACK_POS = 0x00; - public const ushort P7350_DIACK_NEG = 0x02; - public const ushort P7350_DITRIG_POS = 0x00; - public const ushort P7350_DITRIG_NEG = 0x04; - public const ushort P7350_DIStartTrig_POS = 0x00; - public const ushort P7350_DIStartTrig_NEG = 0x08; - public const ushort P7350_DIPauseTrig_POS = 0x00; - public const ushort P7350_DIPauseTrig_NEG = 0x10; - public const ushort P7350_DOREQ_POS = 0x00; - public const ushort P7350_DOREQ_NEG = 0x01; - public const ushort P7350_DOACK_POS = 0x00; - public const ushort P7350_DOACK_NEG = 0x02; - public const ushort P7350_DOTRIG_POS = 0x00; - public const ushort P7350_DOTRIG_NEG = 0x04; - public const ushort P7350_DOStartTrig_POS = 0x00; - public const ushort P7350_DOStartTrig_NEG = 0x08; - public const ushort P7350_DOPauseTrig_POS = 0x00; - public const ushort P7350_DOPauseTrig_NEG = 0x10; - - /*External Sampled Clock Source*/ - public const ushort P7350_ECLK_IN = 8; - /*Export Sampled Clock*/ - public const ushort P7350_ECLK_OUT = 8; - /*Enable Dynamic Delay Adjust*/ - public const ushort P7350_DisDDA = 0x0; - public const ushort P7350_EnDDA = 0x1; - /*Dynamic Delay Adjust Mode*/ - public const ushort P7350_DDA_Lag = 0x0; - public const ushort P7350_DDA_Lead = 0x2; - /*Dynamic Delay Adjust Step*/ - public const ushort P7350_DDA_130PS = 0; - public const ushort P7350_DDA_260PS = 1; - public const ushort P7350_DDA_390PS = 2; - public const ushort P7350_DDA_520PS = 3; - public const ushort P7350_DDA_650PS = 4; - public const ushort P7350_DDA_780PS = 5; - public const ushort P7350_DDA_910PS = 6; - public const ushort P7350_DDA_1R04NS = 7; - /*Enable Dynamic Phase Adjust*/ - public const ushort P7350_DisDPA = 0x0; - public const ushort P7350_EnDPA = 0x1; - /*Dynamic Delay Adjust Degree*/ - public const ushort P7350_DPA_0DG = 0; - public const ushort P7350_DPA_22R5DG = 1; - public const ushort P7350_DPA_45DG = 2; - public const ushort P7350_DPA_67R5DG = 3; - public const ushort P7350_DPA_90DG = 4; - public const ushort P7350_DPA_112R5DG = 5; - public const ushort P7350_DPA_135DG = 6; - public const ushort P7350_DPA_157R5DG = 7; - public const ushort P7350_DPA_180DG = 8; - public const ushort P7350_DPA_202R5DG = 9; - public const ushort P7350_DPA_225DG = 10; - public const ushort P7350_DPA_247R5DG = 11; - public const ushort P7350_DPA_270DG = 12; - public const ushort P7350_DPA_292R5DG = 13; - public const ushort P7350_DPA_315DG = 14; - public const ushort P7350_DPA_337R5DG = 15; - - /*DIO & AFI Voltage Level*/ - public const ushort VoltLevel_3R3 = 0; - public const ushort VoltLevel_2R5 = 1; - public const ushort VoltLevel_1R8 = 2; - - /*------------------------------------*/ - /* Constants for I Squared C (I2C) */ - /*------------------------------------*/ - /*I2C Port*/ - public const ushort I2C_Port_A = 0; - /*I2C Control Operation*/ - public const ushort I2C_ENABLE = 0; - public const ushort I2C_STOP = 1; - - /*-------------------------------------------*/ - /* Constants for Serial Peripheral Interface */ - /*-------------------------------------------*/ - /*SPI Port*/ - public const ushort SPI_Port_A = 0; - /*SPI Clock Mode*/ - public const ushort SPI_CLK_L = 0x00; - public const ushort SPI_CLK_H = 0x01; - /*SPI TX Polarity*/ - public const ushort SPI_TX_POS = 0x00; - public const ushort SPI_TX_NEG = 0x02; - /*SPI RX Polarity*/ - public const ushort SPI_RX_POS = 0x00; - public const ushort SPI_RX_NEG = 0x04; - /*SPI Transferred Order*/ - public const ushort SPI_MSB = 0x00; - public const ushort SPI_LSB = 0x08; - /*SPI Control Operation*/ - public const ushort SPI_ENABLE = 0; - - /*------------------------------------*/ - /* Constants for Pattern Match */ - /*------------------------------------*/ - /*Pattern Match Channel Mode*/ - public const ushort PATMATCH_CHNDisable = 0; - public const ushort PATMATCH_CHNEnable = 1; - /*Pattern Match Channel Type*/ - public const ushort PATMATCH_Level_L = 0; - public const ushort PATMATCH_Level_H = 1; - public const ushort PATMATCH_Edge_R = 2; - public const ushort PATMATCH_Edge_F = 3; - /*Pattern Match Operation*/ - public const ushort PATMATCH_STOP = 0; - public const ushort PATMATCH_START = 1; - public const ushort PATMATCH_RESTART = 2; - - public const ushort RegBySlot = 0x8000; - -/*----------------------------------------------------------------------------*/ -/* PCIS-DASK Function prototype */ -/*----------------------------------------------------------------------------*/ - [DllImport("PCI-Dask64.dll")] - public static extern short Register_Card (ushort CardType, ushort card_num); - [DllImport("PCI-Dask64.dll")] - public static extern short Release_Card (ushort CardNumber); - [DllImport("PCI-Dask64.dll")] - public static extern short GetActualRate (ushort CardNumber, double fSampleRate, out double fActualRate); - [DllImport("PCI-Dask64.dll")] - public static extern short GetActualRate_9524 (ushort CardNumber, ushort Group, double SampleRate, out double ActualRate); - [DllImport("PCI-Dask64.dll")] - public static extern short EMGShutDownControl (ushort CardNumber, byte ctrl); - [DllImport("PCI-Dask64.dll")] - public static extern short EMGShutDownStatus (ushort CardNumber, out byte sts); - [DllImport("PCI-Dask64.dll")] - public static extern short HotResetHoldControl (ushort CardNumber, byte enable); - [DllImport("PCI-Dask64.dll")] - public static extern short HotResetHoldStatus (ushort CardNumber, out byte sts); - [DllImport("PCI-Dask64.dll")] - public static extern short GetInitPattern (ushort CardNumber, byte patID, out uint pattern); - [DllImport("PCI-Dask64.dll")] - public static extern short SetInitPattern (ushort CardNumber, byte patID, uint pattern); - [DllImport("PCI-Dask64.dll")] - public static extern short IdentifyLED_Control (ushort CardNumber, byte ctrl); -/*---------------------------------------------------------------------------*/ - [DllImport("PCI-Dask64.dll")] - public static extern short AI_9111_Config (ushort CardNumber, ushort TrigSource, ushort TrgMode, ushort TraceCnt); - [DllImport("PCI-Dask64.dll")] - public static extern short AI_9112_Config (ushort CardNumber, ushort TrigSource); - [DllImport("PCI-Dask64.dll")] - public static extern short AI_9113_Config (ushort CardNumber, ushort TrigSource); - [DllImport("PCI-Dask64.dll")] - public static extern short AI_9114_Config (ushort CardNumber, ushort TrigSource); - [DllImport("PCI-Dask64.dll")] - public static extern short AI_9114_PreTrigConfig (ushort CardNumber, ushort PreTrgEn, ushort TraceCnt); - [DllImport("PCI-Dask64.dll")] - public static extern short AI_9116_Config (ushort CardNumber, ushort ConfigCtrl, ushort TrigCtrl, ushort PostCnt, ushort MCnt, ushort ReTrgCnt); - [DllImport("PCI-Dask64.dll")] - public static extern short AI_9116_CounterInterval (ushort CardNumber, uint ScanIntrv, uint SampIntrv); - [DllImport("PCI-Dask64.dll")] - public static extern short AI_9118_Config (ushort CardNumber, ushort ModeCtrl, ushort FunCtrl, ushort BurstCnt, ushort PostCnt); - [DllImport("PCI-Dask64.dll")] - public static extern short AI_9221_Config (ushort CardNumber, ushort TrigCtrl, bool AutoResetBuf); - [DllImport("PCI-Dask64.dll")] - public static extern short AI_9221_CounterInterval (ushort CardNumber, uint ScanIntrv, uint SampIntrv); - [DllImport("PCI-Dask64.dll")] - public static extern short AI_9812_Config (ushort CardNumber, ushort TrgMode, ushort TrgSrc, ushort TrgPol, ushort ClkSel, ushort TrgLevel, ushort PostCnt); - [DllImport("PCI-Dask64.dll")] - public static extern short AI_9812_SetDiv (ushort CardNumber, uint PacerVal); - [DllImport("PCI-Dask64.dll")] - public static extern short AI_9524_Config (ushort CardNumber, ushort Group, ushort XMode, ushort ConfigCtrl, ushort TrigCtrl, ushort TrigValue); - [DllImport("PCI-Dask64.dll")] - public static extern short AI_9524_PollConfig (ushort CardNumber, ushort Groupt, ushort PollChannel, ushort PollRange, ushort PollSpeed); - [DllImport("PCI-Dask64.dll")] - public static extern short AI_9524_SetDSP (ushort CardNumber, ushort Channel, ushort Mode, ushort DFStage, ushort SPKRejThreshold); - [DllImport("PCI-Dask64.dll")] - public static extern short AI_9524_GetEOCEvent (ushort CardNumber, ushort Group, out long hEvent); - [DllImport("PCI-Dask64.dll")] - public static extern short AI_9222_Config (ushort CardNumber, ushort ConfigCtrl, ushort TrigCtrl, uint ReTriggerCnt, bool AutoResetBuf); - [DllImport("PCI-Dask64.dll")] - public static extern short AI_9222_CounterInterval (ushort CardNumber, uint ScanIntrv, uint SampIntrv); - [DllImport("PCI-Dask64.dll")] - public static extern short AI_9223_Config (ushort CardNumber, ushort ConfigCtrl, ushort TrigCtrl, uint ReTriggerCnt, bool AutoResetBuf); - [DllImport("PCI-Dask64.dll")] - public static extern short AI_9223_CounterInterval (ushort CardNumber, uint ScanIntrv, uint SampIntrv); - [DllImport("PCI-Dask64.dll")] - public static extern short AI_922A_Config (ushort CardNumber, ushort ConfigCtrl, ushort TrigCtrl, uint ReTriggerCnt, bool AutoResetBuf); - [DllImport("PCI-Dask64.dll")] - public static extern short AI_922A_CounterInterval (ushort CardNumber, uint ScanIntrv, uint SampIntrv); - [DllImport("PCI-Dask64.dll")] - public static extern short AI_AsyncCheck (ushort CardNumber, out byte Stopped, out uint AccessCnt); - [DllImport("PCI-Dask64.dll")] - public static extern short AI_AsyncClear (ushort CardNumber, out uint AccessCnt); - [DllImport("PCI-Dask64.dll")] - public static extern short AI_AsyncDblBufferHalfReady (ushort CardNumber, out byte HalfReady, out byte StopFlag); - [DllImport("PCI-Dask64.dll")] - public static extern short AI_AsyncDblBufferMode (ushort CardNumber, bool Enable); - [DllImport("PCI-Dask64.dll")] - public static extern short AI_AsyncDblBufferTransfer (ushort CardNumber, ushort[] Buffer); - [DllImport("PCI-Dask64.dll")] - public static extern short AI_AsyncDblBufferOverrun (ushort CardNumber, ushort op, out ushort overrunFlag); - [DllImport("PCI-Dask64.dll")] - public static extern short AI_AsyncDblBufferHandled (ushort CardNumber); - [DllImport("PCI-Dask64.dll")] - public static extern short AI_AsyncDblBufferToFile (ushort CardNumber); - [DllImport("PCI-Dask64.dll")] - public static extern short AI_AsyncReTrigNextReady (ushort CardNumber, out bool Ready, out bool StopFlag, out ushort RdyTrigCnt); - [DllImport("PCI-Dask64.dll")] - public static extern short AI_ContBufferSetup (ushort CardNumber, ushort[] Buffer, uint ReadCount, out ushort BufferId); - [DllImport("PCI-Dask64.dll")] - public static extern short AI_ContBufferReset (ushort CardNumber); - [DllImport("PCI-Dask64.dll")] - public static extern short AI_ContReadChannel (ushort CardNumber, ushort Channel, ushort AdRange, ushort[] Buffer, uint ReadCount, double SampleRate, ushort SyncMode); - [DllImport("PCI-Dask64.dll")] - public static extern short AI_ContReadMultiChannels (ushort CardNumber, ushort NumChans, ushort[] Chans, ushort[] AdRanges, ushort[] Buffer, uint ReadCount, double SampleRate, ushort SyncMode); - [DllImport("PCI-Dask64.dll")] - public static extern short AI_ContReadChannelToFile (ushort CardNumber, ushort Channel, ushort AdRange, string FileName, uint ReadCount, double SampleRate, ushort SyncMode); - [DllImport("PCI-Dask64.dll")] - public static extern short AI_ContReadMultiChannelsToFile (ushort CardNumber, ushort NumChans, ushort[] Chans, ushort[] AdRanges, string[] FileName, uint ReadCount, double SampleRate, ushort SyncMode); - [DllImport("PCI-Dask64.dll")] - public static extern short AI_ContScanChannels (ushort CardNumber, ushort Channel, ushort AdRange, ushort[] Buffer, uint ReadCount, double SampleRate, ushort SyncMode); - [DllImport("PCI-Dask64.dll")] - public static extern short AI_ContScanChannelsToFile (ushort CardNumber, ushort Channel, ushort AdRange, string FileName, uint ReadCount, double SampleRate, ushort SyncMode); - [DllImport("PCI-Dask64.dll")] - public static extern short AI_ContStatus (ushort CardNumber, out ushort Status); - [DllImport("PCI-Dask64.dll")] - public static extern short AI_ContVScale (ushort CardNumber, ushort adRange, ushort[] readingArray, double[] voltageArray, int count); - [DllImport("PCI-Dask64.dll")] - public static extern short AI_EventCallBack_x64 (ushort CardNumber, ushort mode, ushort EventType, MulticastDelegate callbackAddr); - [DllImport("PCI-Dask64.dll")] - public static extern short AI_InitialMemoryAllocated (ushort CardNumber, out uint MemSize); - [DllImport("PCI-Dask64.dll")] - public static extern short AI_ReadChannel (ushort CardNumber, ushort Channel, ushort AdRange, out ushort Value); - [DllImport("PCI-Dask64.dll")] - public static extern short AI_ReadChannel32 (ushort CardNumber, ushort Channel, ushort AdRange, out uint Value); - [DllImport("PCI-Dask64.dll")] - public static extern short AI_ReadMultiChannels (ushort CardNumber, ushort NumChans, ushort[] Chans, ushort[] AdRanges, ushort[] Buffer); - [DllImport("PCI-Dask64.dll")] - public static extern short AI_ScanReadChannels (ushort CardNumber, ushort NumChans, ushort AdRanges, ushort[] Buffer); - [DllImport("PCI-Dask64.dll")] - public static extern short AI_ScanReadChannels32 (ushort CardNumber, ushort Channel, ushort AdRange, uint[] Buffer); - [DllImport("PCI-Dask64.dll")] - public static extern short AI_SetTimeOut (ushort CardNumber, uint TimeOut); - [DllImport("PCI-Dask64.dll")] - public static extern short AI_VoltScale (ushort CardNumber, ushort AdRange, ushort reading, out double voltage); - [DllImport("PCI-Dask64.dll")] - public static extern short AI_VReadChannel (ushort CardNumber, ushort Channel, ushort AdRange, out double voltage); -/*---------------------------------------------------------------------------*/ - [DllImport("PCI-Dask64.dll")] - public static extern short AO_6202_Config (ushort CardNumber, ushort ConfigCtrl, ushort TrigCtrl, uint ReTrgCnt, uint DLY1Cnt, uint DLY2Cnt, bool AutoResetBuf); - [DllImport("PCI-Dask64.dll")] - public static extern short AO_6208A_Config (ushort CardNumber, ushort V2AMode); - [DllImport("PCI-Dask64.dll")] - public static extern short AO_6308A_Config (ushort CardNumber, ushort V2AMode); - [DllImport("PCI-Dask64.dll")] - public static extern short AO_6308V_Config (ushort CardNumber, ushort Channel, ushort OutputPolarity, double refVoltage); - [DllImport("PCI-Dask64.dll")] - public static extern short AO_9111_Config (ushort CardNumber, ushort OutputPolarity); - [DllImport("PCI-Dask64.dll")] - public static extern short AO_9112_Config (ushort CardNumber, ushort Channel, double refVoltage); - [DllImport("PCI-Dask64.dll")] - public static extern short AO_9222_Config (ushort CardNumber, ushort ConfigCtrl, ushort TrigCtrl, uint ReTrgCnt, uint DLY1Cnt, uint DLY2Cnt, bool AutoResetBuf); - [DllImport("PCI-Dask64.dll")] - public static extern short AO_9223_Config (ushort CardNumber, ushort ConfigCtrl, ushort TrigCtrl, uint ReTrgCnt, uint DLY1Cnt, uint DLY2Cnt, bool AutoResetBuf); - [DllImport("PCI-Dask64.dll")] - public static extern short AO_InitialMemoryAllocated (ushort CardNumber, out uint MemSize); - [DllImport("PCI-Dask64.dll")] - public static extern short AO_AsyncCheck (ushort CardNumber, out bool Stopped, out uint AccessCnt); - [DllImport("PCI-Dask64.dll")] - public static extern short AO_AsyncClear (ushort CardNumber, out uint AccessCnt, ushort stop_mode); - [DllImport("PCI-Dask64.dll")] - public static extern short AO_AsyncDblBufferMode (ushort CardNumber, bool Enable); - [DllImport("PCI-Dask64.dll")] - public static extern short AO_AsyncDblBufferHalfReady (ushort CardNumber, out bool bHalfReady); - [DllImport("PCI-Dask64.dll")] - public static extern short AO_ContBufferCompose (ushort CardNumber, ushort TotalChnCount, ushort ChnNum, uint UpdateCount, uint [] ConBuffer, uint [] Buffer); - [DllImport("PCI-Dask64.dll")] - public static extern short AO_ContBufferReset (ushort CardNumber); - [DllImport("PCI-Dask64.dll")] - public static extern short AO_ContBufferSetup (ushort CardNumber, uint[] Buffer, uint WriteCount, out ushort BufferId); - [DllImport("PCI-Dask64.dll")] - public static extern short AO_ContStatus (ushort CardNumber, out ushort Status); - [DllImport("PCI-Dask64.dll")] - public static extern short AO_ContWriteChannel (ushort CardNumber, ushort Channel, ushort BufId, uint WriteCount, uint Iterations, uint CHUI, ushort definite, ushort SyncMode); - [DllImport("PCI-Dask64.dll")] - public static extern short AO_ContWriteMultiChannels(ushort CardNumber, ushort NumChans, ushort[] Chans, ushort BufId, uint WriteCount, uint Iterations, uint CHUI, ushort definite, ushort SyncMode); - [DllImport("PCI-Dask64.dll")] - public static extern short AO_EventCallBack_x64 (ushort CardNumber, ushort mode, ushort EventType, MulticastDelegate callbackAddr); - [DllImport("PCI-Dask64.dll")] - public static extern short AO_SetTimeOut (ushort CardNumber, uint TimeOut); - [DllImport("PCI-Dask64.dll")] - public static extern short AO_WriteChannel (ushort CardNumber, ushort Channel, short Value); - [DllImport("PCI-Dask64.dll")] - public static extern short AO_VWriteChannel (ushort CardNumber, ushort Channel, double Voltage); - [DllImport("PCI-Dask64.dll")] - public static extern short AO_VoltScale (ushort CardNumber, ushort Channel, double Voltage, out short binValue); - [DllImport("PCI-Dask64.dll")] - public static extern short AO_SimuWriteChannel (ushort CardNumber, ushort Group, short[] Buffer); - [DllImport("PCI-Dask64.dll")] - public static extern short AO_SimuVWriteChannel (ushort CardNumber, ushort Group, double[] VBuffer); -/*---------------------------------------------------------------------------*/ - [DllImport("PCI-Dask64.dll")] - public static extern short DI_7200_Config (ushort CardNumber, ushort TrigSource, ushort ExtTrigEn, ushort TrigPol, ushort I_REQ_Pol); - [DllImport("PCI-Dask64.dll")] - public static extern short DI_7233_ForceLogic (ushort CardNumber, ushort ConfigCtrl); - [DllImport("PCI-Dask64.dll")] - public static extern short DI_7300A_Config (ushort CardNumber, ushort PortWidth, ushort TrigSource, ushort WaitStatus, ushort Terminator, ushort I_REQ_Pol, bool clear_fifo, bool disable_di); - [DllImport("PCI-Dask64.dll")] - public static extern short DI_7300B_Config (ushort CardNumber, ushort PortWidth, ushort TrigSource, ushort WaitStatus, ushort Terminator, ushort I_Cntrl_Pol, bool clear_fifo, bool disable_di); - [DllImport("PCI-Dask64.dll")] - public static extern short DI_7350_Config (ushort CardNumber, ushort DIPortWidth, ushort DIMode, ushort DIWaitStatus, ushort DIClkConfig); - [DllImport("PCI-Dask64.dll")] - public static extern short DI_7350_ExportSampCLKConfig (ushort CardNumber, ushort CLK_Src, ushort CLK_DPAMode, ushort CLK_DPAVlaue); - [DllImport("PCI-Dask64.dll")] - public static extern short DI_7350_ExtSampCLKConfig (ushort CardNumber, ushort CLK_Src, ushort CLK_DDAMode, ushort CLK_DPAMode, ushort CLK_DDAVlaue, ushort CLK_DPAVlaue); - [DllImport("PCI-Dask64.dll")] - public static extern short DI_7350_SoftTriggerGen (ushort CardNumber); - [DllImport("PCI-Dask64.dll")] - public static extern short DI_7350_TrigHSConfig (ushort CardNumber, ushort TrigConfig, ushort DI_IPOL, ushort DI_REQSrc, ushort DI_ACKSrc, ushort DI_TRIGSrc, ushort StartTrigSrc, ushort PauseTrigSrc, ushort SoftTrigOutSrc, uint SoftTrigOutLength, uint TrigCount); - [DllImport("PCI-Dask64.dll")] - public static extern short DI_7350_BurstHandShakeDelay (ushort CardNumber, byte Delay); - [DllImport("PCI-Dask64.dll")] - public static extern short DI_9222_Config (ushort CardNumber, ushort ConfigCtrl, ushort TrigCtrl, uint ReTriggerCnt, bool AutoResetBuf); - [DllImport("PCI-Dask64.dll")] - public static extern short DI_9223_Config (ushort CardNumber, ushort ConfigCtrl, ushort TrigCtrl, uint ReTriggerCnt, bool AutoResetBuf); - [DllImport("PCI-Dask64.dll")] - public static extern short DI_InitialMemoryAllocated (ushort CardNumber, out uint DmaSize); - [DllImport("PCI-Dask64.dll")] - public static extern short DI_ReadLine (ushort CardNumber, ushort Port, ushort Line, out ushort State); - [DllImport("PCI-Dask64.dll")] - public static extern short DI_ReadPort (ushort CardNumber, ushort Port, out uint Value); - [DllImport("PCI-Dask64.dll")] - public static extern short DI_ContReadPort (ushort CardNumber, ushort Port, byte[] Buffer, uint ReadCount, double SampleRate, ushort SyncMode); - [DllImport("PCI-Dask64.dll")] - public static extern short DI_ContReadPort (ushort CardNumber, ushort Port, ushort[] Buffer, uint ReadCount, double SampleRate, ushort SyncMode); - [DllImport("PCI-Dask64.dll")] - public static extern short DI_ContReadPort(ushort CardNumber, ushort Port, uint[] Buffer, uint ReadCount, double SampleRate, ushort SyncMode); - [DllImport("PCI-Dask64.dll")] - public static extern short DI_ContReadPortToFile (ushort CardNumber, ushort Port, string FileName, uint ReadCount, double SampleRate, ushort SyncMode); - [DllImport("PCI-Dask64.dll")] - public static extern short DI_ContStatus (ushort CardNumber, out ushort Status); - [DllImport("PCI-Dask64.dll")] - public static extern short DI_AsyncCheck (ushort CardNumber, out byte Stopped, out uint AccessCnt); - [DllImport("PCI-Dask64.dll")] - public static extern short DI_AsyncClear (ushort CardNumber, out uint AccessCnt); - [DllImport("PCI-Dask64.dll")] - public static extern short DI_AsyncDblBufferHalfReady (ushort CardNumber, out byte HalfReady); - [DllImport("PCI-Dask64.dll")] - public static extern short DI_AsyncDblBufferMode (ushort CardNumber, bool Enable); - [DllImport("PCI-Dask64.dll")] - public static extern short DI_AsyncDblBufferTransfer (ushort CardNumber, byte[] Buffer); - [DllImport("PCI-Dask64.dll")] - public static extern short DI_AsyncDblBufferTransfer (ushort CardNumber, short[] Buffer); - [DllImport("PCI-Dask64.dll")] - public static extern short DI_AsyncDblBufferTransfer(ushort CardNumber, uint[] Buffer); - [DllImport("PCI-Dask64.dll")] - public static extern short DI_AsyncDblBufferOverrun (ushort CardNumber, ushort op, out ushort overrunFlag); - [DllImport("PCI-Dask64.dll")] - public static extern short DI_AsyncDblBufferHandled (ushort CardNumber); - [DllImport("PCI-Dask64.dll")] - public static extern short DI_AsyncDblBufferToFile (ushort CardNumber); - [DllImport("PCI-Dask64.dll")] - public static extern short DI_AsyncMultiBuffersHandled (ushort CardNumber, ushort bufcnt, ushort[] bufs); - [DllImport("PCI-Dask64.dll")] - public static extern short DI_AsyncMultiBufferNextReady (ushort CardNumber, out byte bNextReady, out ushort BufferId); - [DllImport("PCI-Dask64.dll")] - public static extern short DI_AsyncReTrigNextReady (ushort CardNumber, out bool Ready, out bool StopFlag, out ushort RdyTrigCnt); - [DllImport("PCI-Dask64.dll")] - public static extern short DI_ContBufferSetup (ushort CardNumber, ushort[] Buffer, uint ReadCount, out ushort BufferId); - [DllImport("PCI-Dask64.dll")] - public static extern short DI_ContBufferSetup (ushort CardNumber, uint[] Buffer, uint ReadCount, out ushort BufferId); - [DllImport("PCI-Dask64.dll")] - public static extern short DI_ContBufferReset (ushort CardNumber); - [DllImport("PCI-Dask64.dll")] - public static extern short DI_ContMultiBufferSetup (ushort CardNumber, byte[] Buffer, uint ReadCount, out ushort BufferId); - [DllImport("PCI-Dask64.dll")] - public static extern short DI_ContMultiBufferSetup (ushort CardNumber, short[] Buffer, uint ReadCount, out ushort BufferId); - [DllImport("PCI-Dask64.dll")] - public static extern short DI_ContMultiBufferSetup(ushort CardNumber, uint[] Buffer, uint ReadCount, out ushort BufferId); - [DllImport("PCI-Dask64.dll")] - public static extern short DI_ContMultiBufferStart (ushort CardNumber, ushort Port, double fSampleRate); - [DllImport("PCI-Dask64.dll")] - public static extern short DI_EventCallBack_x64 (ushort CardNumber, short mode, short EventType, MulticastDelegate callbackAddr); - [DllImport("PCI-Dask64.dll")] - public static extern short DI_SetTimeOut (ushort CardNumber, uint TimeOut); -/*---------------------------------------------------------------------------*/ - [DllImport("PCI-Dask64.dll")] - public static extern short DO_7200_Config (ushort CardNumber, ushort TrigSource, ushort OutReqEn, ushort OutTrigSig); - [DllImport("PCI-Dask64.dll")] - public static extern short DO_7300A_Config (ushort CardNumber, ushort PortWidth, ushort TrigSource, ushort WaitStatus, ushort Terminator, ushort O_REQ_Pol); - [DllImport("PCI-Dask64.dll")] - public static extern short DO_7300B_Config (ushort CardNumber, ushort PortWidth, ushort TrigSource, ushort WaitStatus, ushort Terminator, ushort O_Cntrl_Pol, uint FifoThreshold); - [DllImport("PCI-Dask64.dll")] - public static extern short DO_7300B_SetDODisableMode (ushort CardNumber, ushort Mode); - [DllImport("PCI-Dask64.dll")] - public static extern short DO_7350_Config (ushort CardNumber, ushort DOPortWidth, ushort DOMode, ushort DOWaitStatus, ushort DOClkConfig); - [DllImport("PCI-Dask64.dll")] - public static extern short DO_7350_ExportSampCLKConfig (ushort CardNumber, ushort CLK_Src, ushort CLK_DPAMode, ushort CLK_DPAVlaue); - [DllImport("PCI-Dask64.dll")] - public static extern short DO_7350_ExtSampCLKConfig (ushort CardNumber, ushort CLK_Src, ushort CLK_DDAMode, ushort CLK_DPAMode, ushort CLK_DDAVlaue, ushort CLK_DPAVlaue); - [DllImport("PCI-Dask64.dll")] - public static extern short DO_7350_SoftTriggerGen (ushort CardNumber); - [DllImport("PCI-Dask64.dll")] - public static extern short DO_7350_TrigHSConfig (ushort CardNumber, ushort TrigConfig, ushort DO_IPOL, ushort DO_REQSrc, ushort DO_ACKSrc, ushort DO_TRIGSrc, ushort StartTrigSrc, ushort PauseTrigSrc, ushort SoftTrigOutSrc, uint SoftTrigOutLength, uint TrigCount); - [DllImport("PCI-Dask64.dll")] - public static extern short DO_7350_BurstHandShakeDelay (ushort CardNumber, byte Delay); - [DllImport("PCI-Dask64.dll")] - public static extern short DO_9222_Config (ushort CardNumber, ushort ConfigCtrl, ushort TrigCtrl, uint ReTrgCnt, uint DLY1Cnt, uint DLY2Cnt, bool AutoResetBuf); - [DllImport("PCI-Dask64.dll")] - public static extern short DO_9223_Config (ushort CardNumber, ushort ConfigCtrl, ushort TrigCtrl, uint ReTrgCnt, uint DLY1Cnt, uint DLY2Cnt, bool AutoResetBuf); - [DllImport("PCI-Dask64.dll")] - public static extern short DO_InitialMemoryAllocated (ushort CardNumber, out uint MemSize); - [DllImport("PCI-Dask64.dll")] - public static extern short DO_WriteLine (ushort CardNumber, ushort Port, ushort Line, ushort Value); - [DllImport("PCI-Dask64.dll")] - public static extern short DO_WritePort (ushort CardNumber, byte Port, uint Value); - [DllImport("PCI-Dask64.dll")] - public static extern short DO_WritePort (ushort CardNumber, ushort Port, uint Value); - [DllImport("PCI-Dask64.dll")] - public static extern short DO_WritePort(ushort CardNumber, uint Port, uint Value); - [DllImport("PCI-Dask64.dll")] - public static extern short DO_ContWritePortEx (ushort CardNumber, ushort Port, byte[] Buffer, uint WriteCount, ushort Iterations, double SampleRate, ushort SyncMode); - [DllImport("PCI-Dask64.dll")] - public static extern short DO_ContWritePortEx (ushort CardNumber, ushort Port, ushort[] Buffer, uint WriteCount, ushort Iterations, double SampleRate, ushort SyncMode); - [DllImport("PCI-Dask64.dll")] - public static extern short DO_ContWritePortEx (ushort CardNumber, ushort Port, uint[] Buffer, uint WriteCount, ushort Iterations, double SampleRate, ushort SyncMode); - [DllImport("PCI-Dask64.dll")] - public static extern short DO_SimuWritePort(ushort CardNumber, ushort NumChans, uint[] Buffer); - [DllImport("PCI-Dask64.dll")] - public static extern short DO_WriteExtTrigLine (ushort CardNumber, ushort Value); - [DllImport("PCI-Dask64.dll")] - public static extern short DO_ReadLine (ushort CardNumber, ushort Port, ushort Line, out ushort Value); - [DllImport("PCI-Dask64.dll")] - public static extern short DO_ReadPort (ushort CardNumber, ushort Port, out uint Value); - [DllImport("PCI-Dask64.dll")] - public static extern short DO_ContWritePort (ushort CardNumber, ushort Port, byte[] Buffer, uint WriteCount, ushort Iterations, double SampleRate, ushort SyncMode); - [DllImport("PCI-Dask64.dll")] - public static extern short DO_ContWritePort (ushort CardNumber, ushort Port, ushort[] Buffer, uint WriteCount, ushort Iterations, double SampleRate, ushort SyncMode); - [DllImport("PCI-Dask64.dll")] - public static extern short DO_ContWritePort (ushort CardNumber, ushort Port, uint[] Buffer, uint WriteCount, ushort Iterations, double SampleRate, ushort SyncMode); - [DllImport("PCI-Dask64.dll")] - public static extern short DO_PGStart (ushort CardNumber, byte[] Buffer, uint WriteCount, double SampleRate); - [DllImport("PCI-Dask64.dll")] - public static extern short DO_PGStart (ushort CardNumber, short[] Buffer, uint WriteCount, double SampleRate); - [DllImport("PCI-Dask64.dll")] - public static extern short DO_PGStart (ushort CardNumber, uint[] Buffer, uint WriteCount, double SampleRate); - [DllImport("PCI-Dask64.dll")] - public static extern short DO_PGStop (ushort CardNumber); - [DllImport("PCI-Dask64.dll")] - public static extern short DO_ContStatus (ushort CardNumber, out ushort Status); - [DllImport("PCI-Dask64.dll")] - public static extern short DO_AsyncCheck (ushort CardNumber, out byte Stopped, out uint AccessCnt); - [DllImport("PCI-Dask64.dll")] - public static extern short DO_AsyncClear (ushort CardNumber, out uint AccessCnt); - [DllImport("PCI-Dask64.dll")] - public static extern short EDO_9111_Config (ushort CardNumber, ushort EDO_Fun); - [DllImport("PCI-Dask64.dll")] - public static extern short DO_ContMultiBufferSetup (ushort CardNumber, byte[] Buffer, uint WriteCount, out ushort BufferId); - [DllImport("PCI-Dask64.dll")] - public static extern short DO_ContMultiBufferSetup (ushort CardNumber, short[] Buffer, uint WriteCount, out ushort BufferId); - [DllImport("PCI-Dask64.dll")] - public static extern short DO_ContMultiBufferSetup (ushort CardNumber, uint[] Buffer, uint WriteCount, out ushort BufferId); - [DllImport("PCI-Dask64.dll")] - public static extern short DO_AsyncMultiBufferNextReady (ushort CardNumber, out byte bNextReady, out ushort BufferId); - [DllImport("PCI-Dask64.dll")] - public static extern short DO_ContMultiBufferStart (ushort CardNumber, ushort Port, double fSampleRate); - [DllImport("PCI-Dask64.dll")] - public static extern short DO_EventCallBack_x64 (ushort CardNumber, short mode, short EventType, MulticastDelegate callbackAddr); - [DllImport("PCI-Dask64.dll")] - public static extern short DO_SetTimeOut (ushort CardNumber, uint TimeOut); - [DllImport("PCI-Dask64.dll")] - public static extern short DO_ContBufferSetup (ushort CardNumber, ushort[] Buffer, uint WriteCount, out ushort BufferId); - [DllImport("PCI-Dask64.dll")] - public static extern short DO_ContBufferSetup (ushort CardNumber, uint[] Buffer, uint WriteCount, out ushort BufferId); - [DllImport("PCI-Dask64.dll")] - public static extern short DO_ContBufferReset (ushort CardNumber); -/*---------------------------------------------------------------------------*/ - [DllImport("PCI-Dask64.dll")] - public static extern short DIO_PortConfig (ushort CardNumber, ushort Port, ushort Direction); - [DllImport("PCI-Dask64.dll")] - public static extern short DIO_LinesConfig (ushort CardNumber, ushort Port, ushort Linesdirmap); - [DllImport("PCI-Dask64.dll")] - public static extern short DIO_LineConfig (ushort CardNumber, ushort Port, ushort Line, ushort Direction); - [DllImport("PCI-Dask64.dll")] - public static extern short DIO_SetDualInterrupt (ushort CardNumber, short Int1Mode, short Int2Mode, long hEvent); - [DllImport("PCI-Dask64.dll")] - public static extern short DIO_SetCOSInterrupt (ushort CardNumber, ushort Port, ushort ctlA, ushort ctlB, ushort ctlC); - [DllImport("PCI-Dask64.dll")] - public static extern short DIO_INT1_EventMessage (ushort CardNumber, short Int1Mode, long windowHandle, long message, MulticastDelegate callbackAddr); - [DllImport("PCI-Dask64.dll")] - public static extern short DIO_INT2_EventMessage (ushort CardNumber, short Int2Mode, long windowHandle, long message, MulticastDelegate callbackAddr); - [DllImport("PCI-Dask64.dll")] - public static extern short DIO_7300SetInterrupt (ushort CardNumber, short AuxDIEn, short T2En, long hEvent); - [DllImport("PCI-Dask64.dll")] - public static extern short DIO_AUXDI_EventMessage (ushort CardNumber, short AuxDIEn, long windowHandle, uint message, MulticastDelegate callbackAddr); - [DllImport("PCI-Dask64.dll")] - public static extern short DIO_T2_EventMessage (ushort CardNumber, short T2En, long windowHandle, uint message, MulticastDelegate callbackAddr); - [DllImport("PCI-Dask64.dll")] - public static extern short DIO_GetCOSLatchData (ushort CardNumber, out ushort CosLData); - [DllImport("PCI-Dask64.dll")] - public static extern short DIO_SetCOSInterrupt32 (ushort CardNumber, byte Port, uint ctl, out long hEvent, bool ManualReset); - [DllImport("PCI-Dask64.dll")] - public static extern short DIO_GetCOSLatchData32 (ushort CardNumber, byte Port, out uint CosLData); - [DllImport("PCI-Dask64.dll")] - public static extern short DIO_GetCOSLatchDataInt32 (ushort CardNumber, byte Port, out uint CosLData); - [DllImport("PCI-Dask64.dll")] - public static extern short DIO_COSInterruptCounter (ushort CardNumber, ushort Counter_Num, ushort Counter_Mode, ushort DI_Port, ushort DI_Line, out uint Counter_Value); - [DllImport("PCI-Dask64.dll")] - public static extern short DIO_VoltLevelConfig (ushort CardNumber, ushort PortType, ushort VoltLevel); - [DllImport("PCI-Dask64.dll")] - public static extern short DIO_7350_AFIConfig (ushort CardNumber, ushort AFI_Port, ushort AFI_Enable, ushort AFI_Mode, uint AFI_TrigOutLen); - [DllImport("PCI-Dask64.dll")] - public static extern short DIO_PMConfig (ushort CardNumber, ushort Channel, ushort PM_ChnEn, ushort PM_ChnType); - [DllImport("PCI-Dask64.dll")] - public static extern short DIO_PMControl (ushort CardNumber, ushort Port, ushort PM_Start, out long hEvent, bool ManualReset); - [DllImport("PCI-Dask64.dll")] - public static extern short DIO_SetPMInterrupt32 (ushort CardNumber, ushort Port, uint Ctrl, uint Pattern1, uint Pattern2, out long hEvent, bool ManualReset); - [DllImport("PCI-Dask64.dll")] - public static extern short DIO_GetPMLatchData32 (ushort CardNumber, ushort Port, out uint PMLData); -/*---------------------------------------------------------------------------*/ - [DllImport("PCI-Dask64.dll")] - public static extern short CTR_Setup (ushort CardNumber, ushort Ctr, ushort Mode, uint Count, ushort BinBcd); - [DllImport("PCI-Dask64.dll")] - public static extern short CTR_Setup_All (ushort CardNumber, ushort CtrCnt, ushort[] Ctr, ushort[] Mode, uint[] Count, ushort[] BinBcd); - [DllImport("PCI-Dask64.dll")] - public static extern short CTR_Clear (ushort CardNumber, ushort Ctr, ushort State); - [DllImport("PCI-Dask64.dll")] - public static extern short CTR_Read (ushort CardNumber, ushort Ctr, out uint Value); - [DllImport("PCI-Dask64.dll")] - public static extern short CTR_Read_All (ushort CardNumber, ushort CtrCnt, ushort[] Ctr, uint[] Value); - [DllImport("PCI-Dask64.dll")] - public static extern short CTR_Status (ushort CardNumber, ushort Ctr, out uint Value); - [DllImport("PCI-Dask64.dll")] - public static extern short CTR_Update (ushort CardNumber, ushort Ctr, uint Count); - [DllImport("PCI-Dask64.dll")] - public static extern short CTR_8554_ClkSrc_Config (ushort CardNumber, ushort Ctr, ushort ClockSource); - [DllImport("PCI-Dask64.dll")] - public static extern short CTR_8554_CK1_Config (ushort CardNumber, ushort ClockSource); - [DllImport("PCI-Dask64.dll")] - public static extern short CTR_8554_Debounce_Config (ushort CardNumber, ushort DebounceClock); - [DllImport("PCI-Dask64.dll")] - public static extern short GCTR_Setup (ushort CardNumber, ushort GCtr, ushort GCtrCtrl, uint Count); - [DllImport("PCI-Dask64.dll")] - public static extern short GCTR_Clear (ushort CardNumber, ushort GCtr); - [DllImport("PCI-Dask64.dll")] - public static extern short GCTR_Read (ushort CardNumber, ushort GCtr, out uint Value); - [DllImport("PCI-Dask64.dll")] - public static extern short GPTC_Clear (ushort CardNumber, ushort GCtr); - [DllImport("PCI-Dask64.dll")] - public static extern short GPTC_Control (ushort CardNumber, ushort GCtr, ushort ParamID, ushort Value); - [DllImport("PCI-Dask64.dll")] - public static extern short GPTC_EventCallBack_x64 (ushort CardNumber, ushort Enabled, ushort EventType, MulticastDelegate callbackAddr); - [DllImport("PCI-Dask64.dll")] - public static extern short GPTC_EventSetup (ushort CardNumber, ushort GCtr, ushort Mode, ushort Ctrl, uint LVal_1, uint LVal_2); - [DllImport("PCI-Dask64.dll")] - public static extern short GPTC_Read (ushort CardNumber, ushort GCtr, out uint Value); - [DllImport("PCI-Dask64.dll")] - public static extern short GPTC_Setup (ushort CardNumber, ushort GCtr, ushort Mode, ushort SrcCtrl, ushort PolCtrl, uint LReg1_Val, uint LReg2_Val); - [DllImport("PCI-Dask64.dll")] - public static extern short GPTC_Status(ushort CardNumber, ushort GCtr, out ushort Value); - [DllImport("PCI-Dask64.dll")] - public static extern short GPTC_9524_PG_Config (ushort CardNumber, ushort GCtr, uint PulseGenNum); - [DllImport("PCI-Dask64.dll")] - public static extern short GPTC_9524_GetTimerEvent (ushort CardNumber, ushort GCtr, out long hEvent); - [DllImport("PCI-Dask64.dll")] - public static extern short WDT_Setup (ushort CardNumber, ushort Ctr, float ovflowSec, out float actualSec, out long hEvent); - [DllImport("PCI-Dask64.dll")] - public static extern short WDT_Control (ushort CardNumber, ushort Ctr, ushort action); - [DllImport("PCI-Dask64.dll")] - public static extern short WDT_Status (ushort CardNumber, ushort Ctr, out uint Value); - [DllImport("PCI-Dask64.dll")] - public static extern short WDT_Reload (ushort CardNumber, float ovflowSec, out float actualSec); -/*---------------------------------------------------------------------------*/ - [DllImport("PCI-Dask64.dll")] - public static extern short AI_GetEvent (ushort CardNumber, out long hEvent); - [DllImport("PCI-Dask64.dll")] - public static extern short AO_GetEvent (ushort CardNumber, out long hEvent); - [DllImport("PCI-Dask64.dll")] - public static extern short DI_GetEvent (ushort CardNumber, out long hEvent); - [DllImport("PCI-Dask64.dll")] - public static extern short DO_GetEvent (ushort CardNumber, out long hEvent); -/*---------------------------------------------------------------------------*/ - [DllImport("PCI-Dask64.dll")] - public static extern short AI_GetView (ushort CardNumber, uint[] View); - [DllImport("PCI-Dask64.dll")] - public static extern short DI_GetView (ushort CardNumber, uint[] View); - [DllImport("PCI-Dask64.dll")] - public static extern short DO_GetView (ushort CardNumber, uint[] View); -/*---------------------------------------------------------------------------*/ - [DllImport("PCI-Dask64.dll")] - public static extern short GetCardType (ushort CardNumber, out ushort cardType); - [DllImport("PCI-Dask64.dll")] - public static extern short GetCardIndexFromID (ushort CardNumber, out ushort cardType, out ushort cardIndex); - [DllImport("PCI-Dask64.dll")] - public static extern short GetBaseAddr (ushort CardNumber, uint[] BaseAddr, uint[] BaseAddr2); - [DllImport("PCI-Dask64.dll")] - public static extern short GetLCRAddr (ushort CardNumber, uint[] LcrAddr); -/*---------------------------------------------------------------------------*/ - [DllImport("PCI-Dask64.dll")] - public static extern short PCI_DB_Auto_Calibration_ALL (ushort CardNumber); - [DllImport("PCI-Dask64.dll")] - public static extern short PCI_Load_CAL_Data (ushort CardNumber, ushort bank); - [DllImport("PCI-Dask64.dll")] - public static extern short PCI_EEPROM_CAL_Constant_Update (ushort CardNumber, ushort bank); - [DllImport("PCI-Dask64.dll")] - public static extern short PCI9524_Acquire_AD_CalConst (ushort CardNumber, ushort Group, ushort ADC_Range, ushort ADC_Speed, out uint CalDate, out float CalTemp, out uint ADC_offset, out uint ADC_gain, out double Residual_offset, out double Residual_scaling); - [DllImport("PCI-Dask64.dll")] - public static extern short PCI9524_Acquire_DA_CalConst (ushort CardNumber, ushort Channel, out uint CalDate, out float CalTemp, out byte DAC_offset, out byte DAC_linearity, out float Gain_factor); - [DllImport("PCI-Dask64.dll")] - public static extern short PCI9524_Read_EEProm (ushort CardNumber, ushort ReadAddr, byte[] ReadData); - [DllImport("PCI-Dask64.dll")] - public static extern short PCI9524_Read_RemoteSPI (ushort CardNumber, ushort Addr, byte[] RdData); - [DllImport("PCI-Dask64.dll")] - public static extern short PCI9524_Write_EEProm (ushort CardNumber, ushort WriteAddr, byte[] WriteData); - [DllImport("PCI-Dask64.dll")] - public static extern short PCI9524_Write_RemoteSPI (ushort CardNumber, ushort Addr, byte WrtData); - -/*----------------------------------------------------------------------------*/ - [DllImport("PCI-Dask64.dll")] - public static extern short SSI_SourceConn (ushort CardNumber, ushort sigCode); - [DllImport("PCI-Dask64.dll")] - public static extern short SSI_SourceDisConn (ushort CardNumber, ushort sigCode); - [DllImport("PCI-Dask64.dll")] - public static extern short SSI_SourceClear (ushort CardNumber); -/*----------------------------------------------------------------------------*/ - [DllImport("PCI-Dask64.dll")] - public static extern short PWM_Output (ushort CardNumber, ushort Channel, uint high_interval, uint low_interval); - [DllImport("PCI-Dask64.dll")] - public static extern short PWM_Stop (ushort CardNumber, ushort Channel); -/*----------------------------------------------------------------------------*/ - [DllImport("PCI-Dask64.dll")] - public static extern short I2C_Setup (ushort CardNumber, ushort I2C_Port, ushort I2C_Config, uint I2C_SetupValue1, uint I2C_SetupValue2); - [DllImport("PCI-Dask64.dll")] - public static extern short I2C_Control (ushort CardNumber, ushort I2C_Port, ushort I2C_CtrlParam, uint I2C_CtrlValue); - [DllImport("PCI-Dask64.dll")] - public static extern short I2C_Status (ushort CardNumber, ushort I2C_Port, out uint I2C_Status); - [DllImport("PCI-Dask64.dll")] - public static extern short I2C_Read (ushort CardNumber, ushort I2C_Port, ushort I2C_SlaveAddr, ushort I2C_CmdAddrBytes, ushort I2C_DataBytes, uint I2C_CmdAddr, out uint I2C_Data); - [DllImport("PCI-Dask64.dll")] - public static extern short I2C_Write (ushort CardNumber, ushort I2C_Port, ushort I2C_SlaveAddr, ushort I2C_CmdAddrBytes, ushort I2C_DataBytes, uint I2C_CmdAddr, uint I2C_Data); -/*----------------------------------------------------------------------------*/ - [DllImport("PCI-Dask64.dll")] - public static extern short SPI_Setup (ushort CardNumber, ushort SPI_Port, ushort SPI_Config, uint SPI_SetupValue1, uint SPI_SetupValue2); - [DllImport("PCI-Dask64.dll")] - public static extern short SPI_Control (ushort CardNumber, ushort SPI_Port, ushort SPI_CtrlParam, uint SPI_CtrlValue); - [DllImport("PCI-Dask64.dll")] - public static extern short SPI_Status (ushort CardNumber, ushort SPI_Port, out uint SPI_Status); - [DllImport("PCI-Dask64.dll")] - public static extern short SPI_Read (ushort CardNumber, ushort SPI_Port, ushort SPI_SlaveAddr, ushort SPI_CmdAddrBits, ushort SPI_DataBits, ushort SPI_FrontDummyBits, uint SPI_CmdAddr, out uint SPI_Data); - [DllImport("PCI-Dask64.dll")] - public static extern short SPI_Write (ushort CardNumber, ushort SPI_Port, ushort SPI_SlaveAddr, ushort SPI_CmdAddrBits, ushort SPI_DataBits, ushort SPI_FrontDummyBits, ushort SPI_TailDummyBits, uint SPI_CmdAddr, uint SPI_Data); -/*----------------------------------------------------------------------------*/ -} diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Include/Dask64.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Include/Dask64.h deleted file mode 100644 index 69bf301..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Include/Dask64.h +++ /dev/null @@ -1,1882 +0,0 @@ -#ifndef _DASK_H -#define _DASK_H - -#ifdef __cplusplus -extern "C" { -#endif - - -/* - * DASK Data Types - */ -typedef unsigned char U8; -typedef short I16; -typedef unsigned short U16; -typedef long I32; -typedef unsigned long U32; -typedef float F32; -typedef double F64; - - -/* - * ADLink PCI Card Type - */ -#define PCI_6208V 1 -#define PCI_6208A 2 -#define PCI_6308V 3 -#define PCI_6308A 4 -#define PCI_7200 5 -#define PCI_7230 6 -#define PCI_7233 7 -#define PCI_7234 8 -#define PCI_7248 9 -#define PCI_7249 10 -#define PCI_7250 11 -#define PCI_7252 12 -#define PCI_7296 13 -#define PCI_7300A_RevA 14 -#define PCI_7300A_RevB 15 -#define PCI_7432 16 -#define PCI_7433 17 -#define PCI_7434 18 -#define PCI_8554 19 -#define PCI_9111DG 20 -#define PCI_9111HR 21 -#define PCI_9112 22 -#define PCI_9113 23 -#define PCI_9114DG 24 -#define PCI_9114HG 25 -#define PCI_9118DG 26 -#define PCI_9118HG 27 -#define PCI_9118HR 28 -#define PCI_9810 29 -#define PCI_9812 30 -#define PCI_7396 31 -#define PCI_9116 32 -#define PCI_7256 33 -#define PCI_7258 34 -#define PCI_7260 35 -#define PCI_7452 36 -#define PCI_7442 37 -#define PCI_7443 38 -#define PCI_7444 39 -#define PCI_9221 40 -#define PCI_9524 41 -#define PCI_6202 42 -#define PCI_9222 43 -#define PCI_9223 44 -#define PCI_7433C 45 -#define PCI_7434C 46 -#define PCI_922A 47 -#define PCI_7350 48 - -#define MAX_CARD 32 - - -/* - * Error Number - */ -#define NoError 0 -#define ErrorUnknownCardType -1 -#define ErrorInvalidCardNumber -2 -#define ErrorTooManyCardRegistered -3 -#define ErrorCardNotRegistered -4 -#define ErrorFuncNotSupport -5 -#define ErrorInvalidIoChannel -6 -#define ErrorInvalidAdRange -7 -#define ErrorContIoNotAllowed -8 -#define ErrorDiffRangeNotSupport -9 -#define ErrorLastChannelNotZero -10 -#define ErrorChannelNotDescending -11 -#define ErrorChannelNotAscending -12 -#define ErrorOpenDriverFailed -13 -#define ErrorOpenEventFailed -14 -#define ErrorTransferCountTooLarge -15 -#define ErrorNotDoubleBufferMode -16 -#define ErrorInvalidSampleRate -17 -#define ErrorInvalidCounterMode -18 -#define ErrorInvalidCounter -19 -#define ErrorInvalidCounterState -20 -#define ErrorInvalidBinBcdParam -21 -#define ErrorBadCardType -22 -#define ErrorInvalidDaRefVoltage -23 -#define ErrorAdTimeOut -24 -#define ErrorNoAsyncAI -25 -#define ErrorNoAsyncAO -26 -#define ErrorNoAsyncDI -27 -#define ErrorNoAsyncDO -28 -#define ErrorNotInputPort -29 -#define ErrorNotOutputPort -30 -#define ErrorInvalidDioPort -31 -#define ErrorInvalidDioLine -32 -#define ErrorContIoActive -33 -#define ErrorDblBufModeNotAllowed -34 -#define ErrorConfigFailed -35 -#define ErrorInvalidPortDirection -36 -#define ErrorBeginThreadError -37 -#define ErrorInvalidPortWidth -38 -#define ErrorInvalidCtrSource -39 -#define ErrorOpenFile -40 -#define ErrorAllocateMemory -41 -#define ErrorDaVoltageOutOfRange -42 -#define ErrorDaExtRefNotAllowed -43 -#define ErrorDIODataWidthError -44 -#define ErrorTaskCodeError -45 -#define ErrortriggercountError -46 -#define ErrorInvalidTriggerMode -47 -#define ErrorInvalidTriggerType -48 -#define ErrorInvalidCounterValue -50 -#define ErrorInvalidEventHandle -60 -#define ErrorNoMessageAvailable -61 -#define ErrorEventMessgaeNotAdded -62 -#define ErrorCalibrationTimeOut -63 -#define ErrorUndefinedParameter -64 -#define ErrorInvalidBufferID -65 -#define ErrorInvalidSampledClock -66 -#define ErrorInvalidOperationMode -67 -/*Error number for driver API*/ -#define ErrorConfigIoctl -201 -#define ErrorAsyncSetIoctl -202 -#define ErrorDBSetIoctl -203 -#define ErrorDBHalfReadyIoctl -204 -#define ErrorContOPIoctl -205 -#define ErrorContStatusIoctl -206 -#define ErrorPIOIoctl -207 -#define ErrorDIntSetIoctl -208 -#define ErrorWaitEvtIoctl -209 -#define ErrorOpenEvtIoctl -210 -#define ErrorCOSIntSetIoctl -211 -#define ErrorMemMapIoctl -212 -#define ErrorMemUMapSetIoctl -213 -#define ErrorCTRIoctl -214 -#define ErrorGetResIoctl -215 -#define ErrorCalIoctl -216 -#define ErrorPMIntSetIoctl -217 - -#define ErrorNotSuportOldDriver -301 - -/* - * AD Range - */ -#define AD_B_10_V 1 -#define AD_B_5_V 2 -#define AD_B_2_5_V 3 -#define AD_B_1_25_V 4 -#define AD_B_0_625_V 5 -#define AD_B_0_3125_V 6 -#define AD_B_0_5_V 7 -#define AD_B_0_05_V 8 -#define AD_B_0_005_V 9 -#define AD_B_1_V 10 -#define AD_B_0_1_V 11 -#define AD_B_0_01_V 12 -#define AD_B_0_001_V 13 -#define AD_U_20_V 14 -#define AD_U_10_V 15 -#define AD_U_5_V 16 -#define AD_U_2_5_V 17 -#define AD_U_1_25_V 18 -#define AD_U_1_V 19 -#define AD_U_0_1_V 20 -#define AD_U_0_01_V 21 -#define AD_U_0_001_V 22 -#define AD_B_2_V 23 -#define AD_B_0_25_V 24 -#define AD_B_0_2_V 25 -#define AD_U_4_V 26 -#define AD_U_2_V 27 -#define AD_U_0_5_V 28 -#define AD_U_0_4_V 29 - - -/*------------------*/ -/* Common Constants */ -/*------------------*/ -/* T or F*/ -#define TRUE 1 -#define FALSE 0 - -/*Synchronous Mode*/ -#define SYNCH_OP 1 -#define ASYNCH_OP 2 - -/*AO Terminate Mode*/ -#define DA_TerminateImmediate 0 - -/*DIO Port Direction*/ -#define INPUT_PORT 1 -#define OUTPUT_PORT 2 -/*DIO Line Direction*/ -#define INPUT_LINE 1 -#define OUTPUT_LINE 2 - -/*Clock Mode*/ -#define TRIG_SOFTWARE 0 -#define TRIG_INT_PACER 1 -#define TRIG_EXT_STROBE 2 -#define TRIG_HANDSHAKE 3 -#define TRIG_CLK_10MHZ 4 -#define TRIG_CLK_20MHZ 5 -#define TRIG_DO_CLK_TIMER_ACK 6 -#define TRIG_DO_CLK_10M_ACK 7 -#define TRIG_DO_CLK_20M_ACK 8 - -/*Virtual Sampling Rate for using external clock as the clock source*/ -#define CLKSRC_EXT_SampRate 10000 - -/*Register by slot*/ -#define RegBySlot 0x8000 - -/*PCI info*/ -#define PCILocInfo(bus, dev, fun) \ - RegBySlot|((bus&0xffff)<<8)|((dev&0x1f)<<3)|(fun&0x7) - -/*DIO & AFI Voltage Level*/ -#define VoltLevel_3R3 0 -#define VoltLevel_2R5 1 -#define VoltLevel_1R8 2 - - -/*---------------------------------------------*/ -/* Constants for PCI-6208A/PCI-6308A/PCI-6308V */ -/*---------------------------------------------*/ -/*Output Mode*/ -#define P6208_CURRENT_0_20MA 0 -#define P6208_CURRENT_4_20MA 3 -#define P6208_CURRENT_5_25MA 1 -#define P6308_CURRENT_0_20MA 0 -#define P6308_CURRENT_4_20MA 3 -#define P6308_CURRENT_5_25MA 1 -/*AO Setting*/ -#define P6308V_AO_CH0_3 0 -#define P6308V_AO_CH4_7 1 -#define P6308V_AO_UNIPOLAR 0 -#define P6308V_AO_BIPOLAR 1 - - -/*------------------------*/ -/* Constants for PCI-7200 */ -/*------------------------*/ -/*InputMode*/ -#define DI_WAITING 0x02 -#define DI_NOWAITING 0x00 -#define DI_TRIG_RISING 0x04 -#define DI_TRIG_FALLING 0x00 -#define IREQ_RISING 0x08 -#define IREQ_FALLING 0x00 -/*Output Mode*/ -#define OREQ_ENABLE 0x10 -#define OREQ_DISABLE 0x00 -#define OTRIG_HIGH 0x20 -#define OTRIG_LOW 0x00 - - -/*----------------------------------*/ -/* Constants for PCI-7248/7296/7396 */ -/*----------------------------------*/ -/*Channel & Port*/ -#define Channel_P1A 0 -#define Channel_P1B 1 -#define Channel_P1C 2 -#define Channel_P1CL 3 -#define Channel_P1CH 4 -#define Channel_P1AE 10 -#define Channel_P1BE 11 -#define Channel_P1CE 12 -#define Channel_P2A 5 -#define Channel_P2B 6 -#define Channel_P2C 7 -#define Channel_P2CL 8 -#define Channel_P2CH 9 -#define Channel_P2AE 15 -#define Channel_P2BE 16 -#define Channel_P2CE 17 -#define Channel_P3A 10 -#define Channel_P3B 11 -#define Channel_P3C 12 -#define Channel_P3CL 13 -#define Channel_P3CH 14 -#define Channel_P4A 15 -#define Channel_P4B 16 -#define Channel_P4C 17 -#define Channel_P4CL 18 -#define Channel_P4CH 19 -#define Channel_P5A 20 -#define Channel_P5B 21 -#define Channel_P5C 22 -#define Channel_P5CL 23 -#define Channel_P5CH 24 -#define Channel_P6A 25 -#define Channel_P6B 26 -#define Channel_P6C 27 -#define Channel_P6CL 28 -#define Channel_P6CH 29 -/*the following are used for PCI7396*/ -#define Channel_P1 30 -#define Channel_P2 31 -#define Channel_P3 32 -#define Channel_P4 33 -#define Channel_P1E 34 -#define Channel_P2E 35 -#define Channel_P3E 36 -#define Channel_P4E 37 - - -/*----------------------------------*/ -/* Constants for PCI-7442/7443/7444 */ -/*----------------------------------*/ -/*P7442*/ -#define P7442_CH0 0 -#define P7442_CH1 1 -#define P7442_TTL0 2 -#define P7442_TTL1 3 -/*P7443*/ -#define P7443_CH0 0 -#define P7443_CH1 1 -#define P7443_CH2 2 -#define P7443_CH3 3 -#define P7443_TTL0 4 -#define P7443_TTL1 5 -/*P7444*/ -#define P7444_CH0 0 -#define P7444_CH1 1 -#define P7444_CH2 2 -#define P7444_CH3 3 -#define P7444_TTL0 4 -#define P7444_TTL1 5 - -/*COS Counter OP*/ -#define COS_COUNTER_RESET 0 -#define COS_COUNTER_SETUP 1 -#define COS_COUNTER_START 2 -#define COS_COUNTER_STOP 3 -#define COS_COUNTER_READ 4 - - -/* - * EMG shdn ctrl code - */ -#define EMGSHDN_OFF 0 -#define EMGSHDN_ON 1 -#define EMGSHDN_RECOVERY 2 - - -/* - * Hot Reset Hold ctrl code - */ -#define HRH_OFF 0 -#define HRH_ON 1 - - -/*-------------------------*/ -/* Constants for PCI-7300A */ -/*-------------------------*/ -/*Wait Status*/ -#define P7300_WAIT_NO 0 -#define P7300_WAIT_TRG 1 -#define P7300_WAIT_FIFO 2 -#define P7300_WAIT_BOTH 3 - -/*Terminator control*/ -#define P7300_TERM_OFF 0 -#define P7300_TERM_ON 1 - -/*DI control signals polarity for PCI-7300A Rev. B*/ -#define P7300_DIREQ_POS 0x00000000L -#define P7300_DIREQ_NEG 0x00000001L -#define P7300_DIACK_POS 0x00000000L -#define P7300_DIACK_NEG 0x00000002L -#define P7300_DITRIG_POS 0x00000000L -#define P7300_DITRIG_NEG 0x00000004L -/*DO control signals polarity for PCI-7300A Rev. B*/ -#define P7300_DOREQ_POS 0x00000000L -#define P7300_DOREQ_NEG 0x00000008L -#define P7300_DOACK_POS 0x00000000L -#define P7300_DOACK_NEG 0x00000010L -#define P7300_DOTRIG_POS 0x00000000L -#define P7300_DOTRIG_NEG 0x00000020L - -/*DO Disable mode in DO_AsyncClear*/ -#define P7300_DODisableDOEnabled 0 -#define P7300_DONotDisableDOEnabled 1 - - -/*----------------------------------------------*/ -/* Constants for PCI-7432/7433/7434/7433C/7434C */ -/*----------------------------------------------*/ -#define PORT_DI_LOW 0 -#define PORT_DI_HIGH 1 -#define PORT_DO_LOW 0 -#define PORT_DO_HIGH 1 -#define P7432R_DO_LED 1 -#define P7433R_DO_LED 0 -#define P7434R_DO_LED 2 -#define P7432R_DI_SLOT 1 -#define P7433R_DI_SLOT 2 -#define P7434R_DI_SLOT 0 - - -/*----------------------------------------------------------------------------*/ -/* Dual-Interrupt Source control for PCI-7248/96 & 7432/33 & 7230 & 8554 & */ -/* 7396 & 7256 & 7260 & 7442/43/44 & 7433C */ -/*----------------------------------------------------------------------------*/ -#define INT1_NC -2 -#define INT1_DISABLE -1 -#define INT1_COS 0 -#define INT1_FP1C0 1 -#define INT1_RP1C0_FP1C3 2 -#define INT1_EVENT_COUNTER 3 -#define INT1_EXT_SIGNAL 1 -#define INT1_COUT12 1 -#define INT1_CH0 1 -#define INT1_COS0 1 -#define INT1_COS1 2 -#define INT1_COS2 4 -#define INT1_COS3 8 -#define INT2_NC -2 -#define INT2_DISABLE -1 -#define INT2_COS 0 -#define INT2_FP2C0 1 -#define INT2_RP2C0_FP2C3 2 -#define INT2_TIMER_COUNTER 3 -#define INT2_EXT_SIGNAL 1 -#define INT2_CH1 2 -#define INT2_WDT 4 -#define ManualResetIEvt 0x4000 -#define WDT_OVRFLOW_SAFETYOUT 0x8000 - - -/*------------------------*/ -/* Constants for PCI-8554 */ -/*------------------------*/ -/*Clock Source of Cunter N*/ -#define ECKN 0 -#define COUTN_1 1 -#define CK1 2 -#define COUT10 3 -/*Clock Source of CK1*/ -#define CK1_C8M 0 -#define CK1_COUT11 1 -/*Debounce Clock*/ -#define DBCLK_COUT11 0 -#define DBCLK_2MHZ 1 - - -/*------------------------*/ -/* Constants for PCI-9111 */ -/*------------------------*/ -/*Dual Interrupt Mode*/ -#define P9111_INT1_EOC 0 -#define P9111_INT1_FIFO_HF 1 -#define P9111_INT2_PACER 0 -#define P9111_INT2_EXT_TRG 1 -/*Channel Count*/ -#define P9111_CHANNEL_DO 0 -#define P9111_CHANNEL_EDO 1 -#define P9111_CHANNEL_DI 0 -#define P9111_CHANNEL_EDI 1 -/*EDO function*/ -#define P9111_EDO_INPUT 1 -#define P9111_EDO_OUT_EDO 2 -#define P9111_EDO_OUT_CHN 3 -/*Trigger Mode*/ -#define P9111_TRGMOD_SOFT 0x00 -#define P9111_TRGMOD_PRE 0x01 -#define P9111_TRGMOD_POST 0x02 -/*AO Setting*/ -#define P9111_AO_UNIPOLAR 0 -#define P9111_AO_BIPOLAR 1 - - -/*------------------------*/ -/* Constants for PCI-9118 */ -/*------------------------*/ -#define P9118_AI_BiPolar 0x00 -#define P9118_AI_UniPolar 0x01 - -#define P9118_AI_SingEnded 0x00 -#define P9118_AI_Differential 0x02 - -#define P9118_AI_ExtG 0x04 - -#define P9118_AI_ExtTrig 0x08 - -#define P9118_AI_DtrgNegative 0x00 -#define P9118_AI_DtrgPositive 0x10 - -#define P9118_AI_EtrgNegative 0x00 -#define P9118_AI_EtrgPositive 0x20 - -#define P9118_AI_BurstModeEn 0x40 -#define P9118_AI_SampleHold 0x80 -#define P9118_AI_PostTrgEn 0x100 -#define P9118_AI_AboutTrgEn 0x200 - - -/*------------------------*/ -/* Constants for PCI-9116 */ -/*------------------------*/ -#define P9116_AI_LocalGND 0x00 -#define P9116_AI_UserCMMD 0x01 -#define P9116_AI_SingEnded 0x00 -#define P9116_AI_Differential 0x02 -#define P9116_AI_BiPolar 0x00 -#define P9116_AI_UniPolar 0x04 - -#define P9116_TRGMOD_SOFT 0x00 -#define P9116_TRGMOD_POST 0x10 -#define P9116_TRGMOD_DELAY 0x20 -#define P9116_TRGMOD_PRE 0x30 -#define P9116_TRGMOD_MIDL 0x40 -#define P9116_AI_TrgPositive 0x00 -#define P9116_AI_TrgNegative 0x80 -#define P9116_AI_ExtTimeBase 0x100 -#define P9116_AI_IntTimeBase 0x000 -#define P9116_AI_DlyInSamples 0x200 -#define P9116_AI_DlyInTimebase 0x000 -#define P9116_AI_ReTrigEn 0x400 -#define P9116_AI_MCounterEn 0x800 -#define P9116_AI_SoftPolling 0x0000 -#define P9116_AI_INT 0x1000 -#define P9116_AI_DMA 0x2000 - - -/*------------------------*/ -/* Constants for PCI-9812 */ -/*------------------------*/ -/*Trigger Mode*/ -#define P9812_TRGMOD_SOFT 0x00 -#define P9812_TRGMOD_POST 0x01 -#define P9812_TRGMOD_PRE 0x02 -#define P9812_TRGMOD_DELAY 0x03 -#define P9812_TRGMOD_MIDL 0x04 - -#define P9812_AIEvent_Manual 0x80 - -/*Trigger Source*/ -#define P9812_TRGSRC_CH0 0x00 -#define P9812_TRGSRC_CH1 0x08 -#define P9812_TRGSRC_CH2 0x10 -#define P9812_TRGSRC_CH3 0x18 -#define P9812_TRGSRC_EXT_DIG 0x20 - -/*Trigger Polarity*/ -#define P9812_TRGSLP_POS 0x00 -#define P9812_TRGSLP_NEG 0x40 - -/*Frequency Selection*/ -#define P9812_AD2_GT_PCI 0x80 -#define P9812_AD2_LT_PCI 0x00 - -/*Clock Source*/ -#define P9812_CLKSRC_INT 0x000 -#define P9812_CLKSRC_EXT_SIN 0x100 -#define P9812_CLKSRC_EXT_DIG 0x200 - - -/*------------------------*/ -/* Constants for PCI-9221 */ -/*------------------------*/ -/*Input Type*/ -#define P9221_AI_SingEnded 0x0 -#define P9221_AI_NonRef_SingEnded 0x1 -#define P9221_AI_Differential 0x2 - -/*Trigger Mode*/ -#define P9221_TRGMOD_SOFT 0x00 -#define P9221_TRGMOD_ExtD 0x08 -/*Trigger Source*/ -#define P9221_TRGSRC_GPI0 0x00 -#define P9221_TRGSRC_GPI1 0x01 -#define P9221_TRGSRC_GPI2 0x02 -#define P9221_TRGSRC_GPI3 0x03 -#define P9221_TRGSRC_GPI4 0x04 -#define P9221_TRGSRC_GPI5 0x05 -#define P9221_TRGSRC_GPI6 0x06 -#define P9221_TRGSRC_GPI7 0x07 -/*Trigger Polarity*/ -#define P9221_AI_TrgPositive 0x00 -#define P9221_AI_TrgNegative 0x10 - -/*TimeBase Mode*/ -#define P9221_AI_IntTimeBase 0x00 -#define P9221_AI_ExtTimeBase 0x80 -/*TimeBase Source*/ -#define P9221_TimeBaseSRC_GPI0 0x00 -#define P9221_TimeBaseSRC_GPI1 0x10 -#define P9221_TimeBaseSRC_GPI2 0x20 -#define P9221_TimeBaseSRC_GPI3 0x30 -#define P9221_TimeBaseSRC_GPI4 0x40 -#define P9221_TimeBaseSRC_GPI5 0x50 -#define P9221_TimeBaseSRC_GPI6 0x60 -#define P9221_TimeBaseSRC_GPI7 0x70 - -/*EEPROM*/ -#define EEPROM_DEFAULT_BANK 0 -#define EEPROM_USER_BANK1 1 - - -/*---------------*/ -/* Timer/Counter */ -/*---------------*/ -/*Counter Mode(8254)*/ -#define TOGGLE_OUTPUT 0 -#define PROG_ONE_SHOT 1 -#define RATE_GENERATOR 2 -#define SQ_WAVE_RATE_GENERATOR 3 -#define SOFT_TRIG 4 -#define HARD_TRIG 5 - -/*16-bit binary or 4-decade BCD counter*/ -#define BIN 0 -#define BCD 1 - - -/*-------------------------------*/ -/* General Purpose Timer/Counter */ -/*-------------------------------*/ -/*Counter Mode*/ -#define General_Counter 0x00 -#define Pulse_Generation 0x01 -/*GPTC clock source*/ -#define GPTC_CLKSRC_EXT 0x08 -#define GPTC_CLKSRC_INT 0x00 -#define GPTC_GATESRC_EXT 0x10 -#define GPTC_GATESRC_INT 0x00 -#define GPTC_UPDOWN_SELECT_EXT 0x20 -#define GPTC_UPDOWN_SELECT_SOFT 0x00 -#define GPTC_UP_CTR 0x40 -#define GPTC_DOWN_CTR 0x00 -#define GPTC_ENABLE 0x80 -#define GPTC_DISABLE 0x00 - - -/*-------------------------------------------------*/ -/* General Purpose Timer/Counter for PCI-922x/6202 */ -/*-------------------------------------------------*/ -/*Counter Mode*/ -#define SimpleGatedEventCNT 0x01 -#define SinglePeriodMSR 0x02 -#define SinglePulseWidthMSR 0x03 -#define SingleGatedPulseGen 0x04 -#define SingleTrigPulseGen 0x05 -#define RetrigSinglePulseGen 0x06 -#define SingleTrigContPulseGen 0x07 -#define ContGatedPulseGen 0x08 -#define EdgeSeparationMSR 0x09 -#define SingleTrigContPulseGenPWM 0x0a -#define ContGatedPulseGenPWM 0x0b -#define CW_CCW_Encoder 0x0c -#define x1_AB_Phase_Encoder 0x0d -#define x2_AB_Phase_Encoder 0x0e -#define x4_AB_Phase_Encoder 0x0f -#define Phase_Z 0x10 -/*GPTC clock source*/ -#define GPTC_CLK_SRC_Ext 0x01 -#define GPTC_CLK_SRC_Int 0x00 -#define GPTC_GATE_SRC_Ext 0x02 -#define GPTC_GATE_SRC_Int 0x00 -#define GPTC_UPDOWN_Ext 0x04 -#define GPTC_UPDOWN_Int 0x00 -/*GPTC clock polarity*/ -#define GPTC_CLKSRC_LACTIVE 0x01 -#define GPTC_CLKSRC_HACTIVE 0x00 -#define GPTC_GATE_LACTIVE 0x02 -#define GPTC_GATE_HACTIVE 0x00 -#define GPTC_UPDOWN_LACTIVE 0x04 -#define GPTC_UPDOWN_HACTIVE 0x00 -#define GPTC_OUTPUT_LACTIVE 0x08 -#define GPTC_OUTPUT_HACTIVE 0x00 -/*GPTC OP Parameter*/ -#define IntGate 0x0 -#define IntUpDnCTR 0x1 -#define IntENABLE 0x2 -/*Z-Phase*/ -#define GPTC_EZ0_ClearPhase0 0x0 -#define GPTC_EZ0_ClearPhase1 0x1 -#define GPTC_EZ0_ClearPhase2 0x2 -#define GPTC_EZ0_ClearPhase3 0x3 -/*Z-Mode*/ -#define GPTC_EZ0_ClearMode0 0x0 -#define GPTC_EZ0_ClearMode1 0x1 -#define GPTC_EZ0_ClearMode2 0x2 -#define GPTC_EZ0_clearMode3 0x3 - - -/*----------------*/ -/* Watchdog Timer */ -/*----------------*/ -/*Counter action*/ -#define WDT_DISARM 0 -#define WDT_ARM 1 -#define WDT_RESTART 2 -/*Pattern ID*/ -#define INIT_PTN 0 -#define EMGSHDN_PTN 1 -/*Pattern ID for 7442/7444*/ -#define INIT_PTN_CH0 0 -#define INIT_PTN_CH1 1 -#define INIT_PTN_CH2 2 -#define INIT_PTN_CH3 3 -#define SAFTOUT_PTN_CH0 4 -#define SAFTOUT_PTN_CH1 5 -#define SAFTOUT_PTN_CH2 6 -#define SAFTOUT_PTN_CH3 7 - - -/*----------------------------------------------------------*/ -/* Previous renamed functions re-directed for compatibility */ -/*----------------------------------------------------------*/ -#define AI_VScale AI_VoltScale -#define AO_VScale AO_VoltScale -#define CTR_Reset CTR_Clear - - -/*--------------------------------------*/ -/* DAQ Event type for the event message */ -/*--------------------------------------*/ -#define AIEnd 0 -#define AOEnd 0 -#define DIEnd 0 -#define DOEnd 0 -#define DBEvent 1 -#define TrigEvent 2 - - -/*------------------------*/ -/* Constants for PCI-9524 */ -/*------------------------*/ -/*AI Interrupt*/ -#define P9524_INT_LC_EOC 0x2 //06/10/08 -#define P9524_INT_GP_EOC 0x3 //06/10/08 -/*DSP Constants*/ -#define P9524_SPIKE_REJ_DISABLE 0x0 -#define P9524_SPIKE_REJ_ENABLE 0x1 -/*Transfer Mode*/ -#define P9524_AI_XFER_POLL 0x0 -#define P9524_AI_XFER_DMA 0x1 -/*Poll All Channels*/ -#define P9524_AI_POLL_ALLCHANNELS 8 -#define P9524_AI_POLLSCANS_CH0_CH3 8 -#define P9524_AI_POLLSCANS_CH0_CH2 9 -#define P9524_AI_POLLSCANS_CH0_CH1 10 -/*ADC Sampling Rate*/ -#define P9524_ADC_30K_SPS 0 -#define P9524_ADC_15K_SPS 1 -#define P9524_ADC_7K5_SPS 2 -#define P9524_ADC_3K75_SPS 3 -#define P9524_ADC_2K_SPS 4 -#define P9524_ADC_1K_SPS 5 -#define P9524_ADC_500_SPS 6 -#define P9524_ADC_100_SPS 7 -#define P9524_ADC_60_SPS 8 -#define P9524_ADC_50_SPS 9 -#define P9524_ADC_30_SPS 10 -#define P9524_ADC_25_SPS 11 -#define P9524_ADC_15_SPS 12 -#define P9524_ADC_10_SPS 13 -#define P9524_ADC_5_SPS 14 -#define P9524_ADC_2R5_SPS 15 -/*ConfigCtrl Constants*/ -#define P9524_VEX_Range_2R5V 0x0 -#define P9524_VEX_Range_10V 0x1 -#define P9524_VEX_Sence_Local 0x0 -#define P9524_VEX_Sence_Remote 0x2 -#define P9524_AI_AZMode 0x4 -#define P9524_AI_BufAutoReset 0x8 -#define P9524_AI_EnEOCInt 0x10 //06/10/08 -/*Trigger Constants*/ -#define P9524_TRGMOD_POST 0x00 -#define P9524_TRGSRC_SOFT 0x00 -#define P9524_TRGSRC_ExtD 0x01 -#define P9524_TRGSRC_SSI 0x02 -#define P9524_TRGSRC_QD0 0x03 -#define P9524_TRGSRC_PG0 0x04 -#define P9524_AI_TrgPositive 0x00 -#define P9524_AI_TrgNegative 0x08 -/*Group*/ -#define P9524_AI_LC_Group 0 -#define P9524_AI_GP_Group 1 -/*Channel*/ -#define P9524_AI_LC_CH0 0 -#define P9524_AI_LC_CH1 1 -#define P9524_AI_LC_CH2 2 -#define P9524_AI_LC_CH3 3 -#define P9524_AI_GP_CH0 4 -#define P9524_AI_GP_CH1 5 -#define P9524_AI_GP_CH2 6 -#define P9524_AI_GP_CH3 7 -/*Pulse Generation and Quadrature Decoder*/ -#define P9524_CTR_PG0 0 -#define P9524_CTR_PG1 1 -#define P9524_CTR_PG2 2 -#define P9524_CTR_QD0 3 -#define P9524_CTR_QD1 4 -#define P9524_CTR_QD2 5 -#define P9524_CTR_INTCOUNTER 6 -/*Counter Mode*/ -#define P9524_PulseGen_OUTDIR_N 0 -#define P9524_PulseGen_OUTDIR_R 1 -#define P9524_PulseGen_CW 0 -#define P9524_PulseGen_CCW 2 -#define P9524_x4_AB_Phase_Decoder 3 -#define P9524_Timer 4 -/*Counter Op*/ -#define P9524_CTR_Enable 0 -/*Event Mode*/ -#define P9524_Event_Timer 0 -/*AO*/ -#define P9524_AO_CH0_1 0 - -/*------------------------*/ -/* Constants for PCI-6202 */ -/*------------------------*/ -/*DIO channel*/ -#define P6202_ISO0 0 -#define P6202_TTL0 1 -/*GPTC/Encoder channel*/ -#define P6202_GPTC0 0x00 -#define P6202_GPTC1 0x01 -#define P6202_ENCODER0 0x02 -#define P6202_ENCODER1 0x03 -#define P6202_ENCODER2 0x04 -/*DA control constant*/ -#define P6202_DA_WRSRC_Int 0x00 -#define P6202_DA_WRSRC_AFI0 0x01 -#define P6202_DA_WRSRC_SSI 0x02 -#define P6202_DA_WRSRC_AFI1 0x03 -/*DA trigger constant*/ -#define P6202_DA_TRGSRC_SOFT 0x00 -#define P6202_DA_TRGSRC_AFI0 0x01 -#define P6202_DA_TRGSRC_SSI 0x02 -#define P6202_DA_TRGSRC_AFI1 0x03 -#define P6202_DA_TRGMOD_POST 0x00 -#define P6202_DA_TRGMOD_DELAY 0x04 -#define P6202_DA_ReTrigEn 0x20 -#define P6202_DA_DLY2En 0x100 -/*SSI signal code*/ -#define P6202_SSI_DA_CONV 0x04 -#define P6202_SSI_DA_TRIG 0x40 -/*Encoder constant*/ -#define P6202_EVT_TYPE_EPT0 0x00 -#define P6202_EVT_TYPE_EPT1 0x01 -#define P6202_EVT_TYPE_EPT2 0x02 -#define P6202_EVT_TYPE_EZC0 0x03 -#define P6202_EVT_TYPE_EZC1 0x04 -#define P6202_EVT_TYPE_EZC2 0x05 - -#define P6202_EVT_MOD_EPT 0x00 - -#define P6202_EPT_PULWIDTH_200us 0x00 -#define P6202_EPT_PULWIDTH_2ms 0x01 -#define P6202_EPT_PULWIDTH_20ms 0x02 -#define P6202_EPT_PULWIDTH_200ms 0x03 - -#define P6202_EPT_TRGOUT_CALLBACK 0x04 -#define P6202_EPT_TRGOUT_AFI 0x08 - -#define P6202_ENCODER0_LDATA 0x05 -#define P6202_ENCODER1_LDATA 0x06 -#define P6202_ENCODER2_LDATA 0x07 - -/*------------------------*/ -/* Constants for PCI-922x */ -/*------------------------*/ -/* - * AI Constants - */ -/*Input Type*/ -#define P922x_AI_SingEnded 0x00 -#define P922x_AI_NonRef_SingEnded 0x01 -#define P922x_AI_Differential 0x02 -/*Conversion Source*/ -#define P922x_AI_CONVSRC_INT 0x00 -#define P922x_AI_CONVSRC_GPI0 0x10 -#define P922x_AI_CONVSRC_GPI1 0x20 -#define P922x_AI_CONVSRC_GPI2 0x30 -#define P922x_AI_CONVSRC_GPI3 0x40 -#define P922x_AI_CONVSRC_GPI4 0x50 -#define P922x_AI_CONVSRC_GPI5 0x60 -#define P922x_AI_CONVSRC_GPI6 0x70 -#define P922x_AI_CONVSRC_GPI7 0x80 -#define P922x_AI_CONVSRC_SSI1 0x90 -#define P922x_AI_CONVSRC_SSI 0x90 -/*Trigger Mode*/ -#define P922x_AI_TRGMOD_POST 0x00 -#define P922x_AI_TRGMOD_GATED 0x01 -/*Trigger Source*/ -#define P922x_AI_TRGSRC_SOFT 0x00 -#define P922x_AI_TRGSRC_GPI0 0x10 -#define P922x_AI_TRGSRC_GPI1 0x20 -#define P922x_AI_TRGSRC_GPI2 0x30 -#define P922x_AI_TRGSRC_GPI3 0x40 -#define P922x_AI_TRGSRC_GPI4 0x50 -#define P922x_AI_TRGSRC_GPI5 0x60 -#define P922x_AI_TRGSRC_GPI6 0x70 -#define P922x_AI_TRGSRC_GPI7 0x80 -#define P922x_AI_TRGSRC_SSI5 0x90 -#define P922x_AI_TRGSRC_SSI 0x90 -/*Trigger Polarity*/ -#define P922x_AI_TrgPositive 0x000 -#define P922x_AI_TrgNegative 0x100 -/*ReTrigger*/ -#define P922x_AI_EnReTigger 0x200 - -/* - * AO Constants - */ -/*Conversion Source*/ -#define P922x_AO_CONVSRC_INT 0x00 -#define P922x_AO_CONVSRC_GPI0 0x01 -#define P922x_AO_CONVSRC_GPI1 0x02 -#define P922x_AO_CONVSRC_GPI2 0x03 -#define P922x_AO_CONVSRC_GPI3 0x04 -#define P922x_AO_CONVSRC_GPI4 0x05 -#define P922x_AO_CONVSRC_GPI5 0x06 -#define P922x_AO_CONVSRC_GPI6 0x07 -#define P922x_AO_CONVSRC_GPI7 0x08 -#define P922x_AO_CONVSRC_SSI2 0x09 -#define P922x_AO_CONVSRC_SSI 0x09 -/*Trigger Mode*/ -#define P922x_AO_TRGMOD_POST 0x00 -#define P922x_AO_TRGMOD_DELAY 0x01 -/*Trigger Source*/ -#define P922x_AO_TRGSRC_SOFT 0x00 -#define P922x_AO_TRGSRC_GPI0 0x10 -#define P922x_AO_TRGSRC_GPI1 0x20 -#define P922x_AO_TRGSRC_GPI2 0x30 -#define P922x_AO_TRGSRC_GPI3 0x40 -#define P922x_AO_TRGSRC_GPI4 0x50 -#define P922x_AO_TRGSRC_GPI5 0x60 -#define P922x_AO_TRGSRC_GPI6 0x70 -#define P922x_AO_TRGSRC_GPI7 0x80 -#define P922x_AO_TRGSRC_SSI6 0x90 -#define P922x_AO_TRGSRC_SSI 0x90 -/*Trigger Polarity*/ -#define P922x_AO_TrgPositive 0x000 -#define P922x_AO_TrgNegative 0x100 -#define P922x_AO_EnReTigger 0x200 -#define P922x_AO_EnDelay2 0x400 - -/* - * DI Constants - */ -/*Conversion Source*/ -#define P922x_DI_CONVSRC_INT 0x00 -#define P922x_DI_CONVSRC_GPI0 0x01 -#define P922x_DI_CONVSRC_GPI1 0x02 -#define P922x_DI_CONVSRC_GPI2 0x03 -#define P922x_DI_CONVSRC_GPI3 0x04 -#define P922x_DI_CONVSRC_GPI4 0x05 -#define P922x_DI_CONVSRC_GPI5 0x06 -#define P922x_DI_CONVSRC_GPI6 0x07 -#define P922x_DI_CONVSRC_GPI7 0x08 -#define P922x_DI_CONVSRC_ADCONV 0x09 -#define P922x_DI_CONVSRC_DACONV 0x0A -/*Trigger Mode*/ -#define P922x_DI_TRGMOD_POST 0x00 -/*Trigger Source*/ -#define P922x_DI_TRGSRC_SOFT 0x00 -#define P922x_DI_TRGSRC_GPI0 0x10 -#define P922x_DI_TRGSRC_GPI1 0x20 -#define P922x_DI_TRGSRC_GPI2 0x30 -#define P922x_DI_TRGSRC_GPI3 0x40 -#define P922x_DI_TRGSRC_GPI4 0x50 -#define P922x_DI_TRGSRC_GPI5 0x60 -#define P922x_DI_TRGSRC_GPI6 0x70 -#define P922x_DI_TRGSRC_GPI7 0x80 -/*Trigger Polarity*/ -#define P922x_DI_TrgPositive 0x000 -#define P922x_DI_TrgNegative 0x100 -/*ReTrigger*/ -#define P922x_DI_EnReTigger 0x200 - -/* - * DO Constants - */ -/*Conversion Source*/ -#define P922x_DO_CONVSRC_INT 0x00 -#define P922x_DO_CONVSRC_GPI0 0x01 -#define P922x_DO_CONVSRC_GPI1 0x02 -#define P922x_DO_CONVSRC_GPI2 0x03 -#define P922x_DO_CONVSRC_GPI3 0x04 -#define P922x_DO_CONVSRC_GPI4 0x05 -#define P922x_DO_CONVSRC_GPI5 0x06 -#define P922x_DO_CONVSRC_GPI6 0x07 -#define P922x_DO_CONVSRC_GPI7 0x08 -#define P922x_DO_CONVSRC_ADCONV 0x09 -#define P922x_DO_CONVSRC_DACONV 0x0A -/*Trigger Mode*/ -#define P922x_DO_TRGMOD_POST 0x00 -#define P922x_DO_TRGMOD_DELAY 0x01 -/*Trigger Source*/ -#define P922x_DO_TRGSRC_SOFT 0x00 -#define P922x_DO_TRGSRC_GPI0 0x10 -#define P922x_DO_TRGSRC_GPI1 0x20 -#define P922x_DO_TRGSRC_GPI2 0x30 -#define P922x_DO_TRGSRC_GPI3 0x40 -#define P922x_DO_TRGSRC_GPI4 0x50 -#define P922x_DO_TRGSRC_GPI5 0x60 -#define P922x_DO_TRGSRC_GPI6 0x70 -#define P922x_DO_TRGSRC_GPI7 0x80 -/*Trigger Polarity*/ -#define P922x_DO_TrgPositive 0x000 -#define P922x_DO_TrgNegative 0x100 -#define P922x_DO_EnReTigger 0x200 - -/* - * Encoder/GPTC Constants - */ -#define P922x_GPTC0 0x00 -#define P922x_GPTC1 0x01 -#define P922x_GPTC2 0x02 -#define P922x_GPTC3 0x03 -#define P922x_ENCODER0 0x04 -#define P922x_ENCODER1 0x05 -/*Encoder Setting Event Mode*/ -#define P922x_EVT_MOD_EPT 0x00 -/*Encoder Setting Event Control*/ -#define P922x_EPT_PULWIDTH_200us 0x00 -#define P922x_EPT_PULWIDTH_2ms 0x01 -#define P922x_EPT_PULWIDTH_20ms 0x02 -#define P922x_EPT_PULWIDTH_200ms 0x03 -#define P922x_EPT_TRGOUT_GPO 0x04 -#define P922x_EPT_TRGOUT_CALLBACK 0x08 -/*Event Type*/ -#define P922x_EVT_TYPE_EPT0 0x00 -#define P922x_EVT_TYPE_EPT1 0x01 - -/* - * SSI signal code - */ -#define P922x_SSI_AI_CONV 0x02 -#define P922x_SSI_AI_TRIG 0x20 -#define P922x_SSI_AO_CONV 0x04 -#define P922x_SSI_AO_TRIG 0x40 - - -/*-------------------------*/ -/* Constants for PCIe-7350 */ -/*-------------------------*/ -#define P7350_PortDIO 0 -#define P7350_PortAFI 1 -/*DIO Port*/ -#define P7350_DIO_A 0 -#define P7350_DIO_B 1 -#define P7350_DIO_C 2 -#define P7350_DIO_D 3 -/*AFI Port*/ -#define P7350_AFI_0 0 -#define P7350_AFI_1 1 -#define P7350_AFI_2 2 -#define P7350_AFI_3 3 -#define P7350_AFI_4 4 -#define P7350_AFI_5 5 -#define P7350_AFI_6 6 -#define P7350_AFI_7 7 -/*AFI Mode*/ -#define P7350_AFI_DIStartTrig 0 -#define P7350_AFI_DOStartTrig 1 -#define P7350_AFI_DIPauseTrig 2 -#define P7350_AFI_DOPauseTrig 3 -#define P7350_AFI_DISWTrigOut 4 -#define P7350_AFI_DOSWTrigOut 5 -#define P7350_AFI_COSTrigOut 6 -#define P7350_AFI_PMTrigOut 7 -#define P7350_AFI_HSDIREQ 8 -#define P7350_AFI_HSDIACK 9 -#define P7350_AFI_HSDITRIG 10 -#define P7350_AFI_HSDOREQ 11 -#define P7350_AFI_HSDOACK 12 -#define P7350_AFI_HSDOTRIG 13 -#define P7350_AFI_SPI 14 -#define P7350_AFI_I2C 15 -#define P7350_POLL_DI 16 -#define P7350_POLL_DO 17 -/*Operation Mode*/ -#define P7350_FreeRun 0 -#define P7350_HandShake 1 -#define P7350_BurstHandShake 2 -/*Trigger Status*/ -#define P7350_WAIT_NO 0 -#define P7350_WAIT_EXTTRG 1 -#define P7350_WAIT_SOFTTRG 2 -/*Sampled Clock*/ -#define P7350_IntSampledCLK 0x00 -#define P7350_ExtSampledCLK 0x01 -/*Sampled Clock Edge*/ -#define P7350_SampledCLK_R 0x00 -#define P7350_SampledCLK_F 0x02 -/*Enable Export Sample Clock*/ -#define P7350_EnExpSampledCLK 0x04 -/*Trigger Configuration*/ -#define P7350_EnPauseTrig 0x01 -#define P7350_EnSoftTrigOut 0x02 -/*HandShake & Trigger Polarity*/ -#define P7350_DIREQ_POS 0x00 -#define P7350_DIREQ_NEG 0x01 -#define P7350_DIACK_POS 0x00 -#define P7350_DIACK_NEG 0x02 -#define P7350_DITRIG_POS 0x00 -#define P7350_DITRIG_NEG 0x04 -#define P7350_DIStartTrig_POS 0x00 -#define P7350_DIStartTrig_NEG 0x08 -#define P7350_DIPauseTrig_POS 0x00 -#define P7350_DIPauseTrig_NEG 0x10 -#define P7350_DOREQ_POS 0x00 -#define P7350_DOREQ_NEG 0x01 -#define P7350_DOACK_POS 0x00 -#define P7350_DOACK_NEG 0x02 -#define P7350_DOTRIG_POS 0x00 -#define P7350_DOTRIG_NEG 0x04 -#define P7350_DOStartTrig_POS 0x00 -#define P7350_DOStartTrig_NEG 0x08 -#define P7350_DOPauseTrig_POS 0x00 -#define P7350_DOPauseTrig_NEG 0x10 -/*External Sampled Clock Source*/ -#define P7350_ECLK_IN 8 -/*Export Sampled Clock*/ -#define P7350_ECLK_OUT 8 -/*Enable Dynamic Delay Adjust*/ -#define P7350_DisDDA 0x0 -#define P7350_EnDDA 0x1 -/*Dynamic Delay Adjust Mode*/ -#define P7350_DDA_Lag 0x0 -#define P7350_DDA_Lead 0x2 -/*Dynamic Delay Adjust Step*/ -#define P7350_DDA_130PS 0 -#define P7350_DDA_260PS 1 -#define P7350_DDA_390PS 2 -#define P7350_DDA_520PS 3 -#define P7350_DDA_650PS 4 -#define P7350_DDA_780PS 5 -#define P7350_DDA_910PS 6 -#define P7350_DDA_1R04NS 7 -/*Enable Dynamic Phase Adjust*/ -#define P7350_DisDPA 0x0 -#define P7350_EnDPA 0x1 -/*Dynamic Delay Adjust Degree*/ -#define P7350_DPA_0DG 0 -#define P7350_DPA_22R5DG 1 -#define P7350_DPA_45DG 2 -#define P7350_DPA_67R5DG 3 -#define P7350_DPA_90DG 4 -#define P7350_DPA_112R5DG 5 -#define P7350_DPA_135DG 6 -#define P7350_DPA_157R5DG 7 -#define P7350_DPA_180DG 8 -#define P7350_DPA_202R5DG 9 -#define P7350_DPA_225DG 10 -#define P7350_DPA_247R5DG 11 -#define P7350_DPA_270DG 12 -#define P7350_DPA_292R5DG 13 -#define P7350_DPA_315DG 14 -#define P7350_DPA_337R5DG 15 - - -/*---------------------------------*/ -/* Constants for I Squared C (I2C) */ -/*---------------------------------*/ -/*I2C Port*/ -#define I2C_Port_A 0 -/*I2C Control Operation*/ -#define I2C_ENABLE 0 -#define I2C_STOP 1 - - -/*-------------------------------------------*/ -/* Constants for Serial Peripheral Interface */ -/*-------------------------------------------*/ -/*SPI Port*/ -#define SPI_Port_A 0 -/*SPI Clock Mode*/ -#define SPI_CLK_L 0x00 -#define SPI_CLK_H 0x01 -/*SPI TX Polarity*/ -#define SPI_TX_POS 0x00 -#define SPI_TX_NEG 0x02 -/*SPI RX Polarity*/ -#define SPI_RX_POS 0x00 -#define SPI_RX_NEG 0x04 -/*SPI Transferred Order*/ -#define SPI_MSB 0x00 -#define SPI_LSB 0x08 -/*SPI Control Operation*/ -#define SPI_ENABLE 0 - - -/*-----------------------------*/ -/* Constants for Pattern Match */ -/*-----------------------------*/ -/*Pattern Match Channel Mode*/ -#define PATMATCH_CHNDisable 0 -#define PATMATCH_CHNEnable 1 -/*Pattern Match Channel Type*/ -#define PATMATCH_Level_L 0 -#define PATMATCH_Level_H 1 -#define PATMATCH_Edge_R 2 -#define PATMATCH_Edge_F 3 -/*Pattern Match Operation*/ -#define PATMATCH_STOP 0 -#define PATMATCH_START 1 -#define PATMATCH_RESTART 2 - -/*---------------------------------------------*/ -/* Constants for Access EEPROM */ -/*---------------------------------------------*/ -/*for PCI-7230/PCMe-7230*/ -#define P7230_EEP_BLK_0 0 -#define P7230_EEP_BLK_1 1 - -/*----------------------------------------------------------------------------*/ -/* PCIS-DASK Function prototype */ -/*----------------------------------------------------------------------------*/ -/*----------------------------------------------------------------------------*/ -/* Basic Function */ -I16 __stdcall Register_Card(U16 CardType, U16 card_num); - -I16 __stdcall Release_Card(U16 CardNumber); - -/*----------------------------------------------------------------------------*/ -/* AI Function */ -I16 __stdcall AI_9111_Config(U16 CardNumber, U16 TrigSource, U16 TrgMode, \ - U16 TraceCnt); - -I16 __stdcall AI_9112_Config(U16 CardNumber, U16 TrigSource); - -I16 __stdcall AI_9113_Config(U16 CardNumber, U16 TrigSource); - -I16 __stdcall AI_9114_Config(U16 CardNumber, U16 TrigSource); - -I16 __stdcall AI_9114_PreTrigConfig(U16 CardNumber, U16 PreTrgEn, U16 TraceCnt); - -I16 __stdcall AI_9116_Config(U16 CardNumber, U16 ConfigCtrl, U16 TrigCtrl, \ - U16 PostCnt, U16 MCnt, U16 ReTrgCnt); - -I16 __stdcall AI_9116_CounterInterval(U16 CardNumber, U32 ScanIntrv, \ - U32 SampIntrv); - -I16 __stdcall AI_9118_Config(U16 CardNumber, U16 ModeCtrl, U16 FunCtrl, \ - U16 BurstCnt, U16 PostCnt); - -I16 __stdcall AI_9221_Config(U16 CardNumber, U16 ConfigCtrl, U16 TrigCtrl, \ - BOOLEAN AutoResetBuf); - -I16 __stdcall AI_9221_CounterInterval(U16 CardNumber, U32 ScanIntrv, \ - U32 SampIntrv); - -I16 __stdcall AI_9812_Config(U16 CardNumber, U16 TrgMode, U16 TrgSrc, \ - U16 TrgPol, U16 ClkSel, U16 TrgLevel, U16 PostCnt); - -I16 __stdcall AI_9812_SetDiv(U16 CardNumber, U32 PacerVal); - -I16 __stdcall AI_9524_Config(U16 CardNumber, U16 Group, U16 XMode, \ - U16 ConfigCtrl, U16 TrigCtrl, U32 TrigValue); - -I16 __stdcall AI_9524_PollConfig(U16 CardNumber, U16 Group, U16 PollChannel, \ - U16 PollRange, U16 PollSpeed); - -I16 __stdcall AI_9524_SetDSP(U16 CardNumber, U16 Channel, U16 Mode, \ - U16 DFStage, U32 SPKRejThreshold); - -I16 __stdcall AI_9524_GetEOCEvent(U16 CardNumber, U16 Group, HANDLE *hEvent); - -I16 __stdcall AI_9222_Config(U16 CardNumber, U16 ConfigCtrl, U16 TrigCtrl, \ - U32 ReTriggerCnt, BOOLEAN AutoResetBuf); - -I16 __stdcall AI_9222_CounterInterval(U16 CardNumber, U32 ScanIntrv, \ - U32 SampIntrv); - -I16 __stdcall AI_9223_Config(U16 CardNumber, U16 ConfigCtrl, U16 TrigCtrl, \ - U32 ReTriggerCnt, BOOLEAN AutoResetBuf); - -I16 __stdcall AI_9223_CounterInterval(U16 CardNumber, U32 ScanIntrv, \ - U32 SampIntrv); - -I16 __stdcall AI_922A_Config(U16 CardNumber, U16 ConfigCtrl, U16 TrigCtrl, \ - U32 ReTriggerCnt, BOOLEAN AutoResetBuf); - -I16 __stdcall AI_922A_CounterInterval(U16 CardNumber, U32 ScanIntrv, \ - U32 SampIntrv); - -I16 __stdcall AI_AsyncCheck(U16 CardNumber, BOOLEAN *Stopped, U32 *AccessCnt); - -I16 __stdcall AI_AsyncClear(U16 CardNumber, U32 *AccessCnt); - -I16 __stdcall AI_AsyncDblBufferHalfReady(U16 CardNumber, BOOLEAN *HalfReady, \ - BOOLEAN *StopFlag); - -I16 __stdcall AI_AsyncDblBufferMode(U16 CardNumber, BOOLEAN Enable); - -I16 __stdcall AI_AsyncDblBufferTransfer(U16 CardNumber, U16 *Buffer); - -I16 __stdcall AI_AsyncDblBufferOverrun(U16 CardNumber, U16 op, \ - U16 *overrunFlag); - -I16 __stdcall AI_AsyncDblBufferHandled(U16 CardNumber); - -I16 __stdcall AI_AsyncDblBufferToFile(U16 CardNumber); - -I16 __stdcall AI_AsyncReTrigNextReady(U16 CardNumber, BOOLEAN *Ready, \ - BOOLEAN *StopFlag, U16 *RdyTrigCnt); - -I16 __stdcall AI_ContReadChannel(U16 CardNumber, U16 Channel, U16 AdRange, \ - U16 *Buffer, U32 ReadCount, F64 SampleRate, U16 SyncMode); - -I16 __stdcall AI_ContReadMultiChannels(U16 CardNumber, U16 NumChans, \ - U16 *Chans, U16 *AdRanges, U16 *Buffer, U32 ReadCount, F64 SampleRate, \ - U16 SyncMode); - -I16 __stdcall AI_ContScanChannels(U16 CardNumber, U16 Channel, U16 AdRange, \ - U16 *Buffer, U32 ReadCount, F64 SampleRate, U16 SyncMode); - -I16 __stdcall AI_ContReadChannelToFile(U16 CardNumber, U16 Channel, \ - U16 AdRange, U8 *FileName, U32 ReadCount, F64 SampleRate, U16 SyncMode); - -I16 __stdcall AI_ContReadMultiChannelsToFile(U16 CardNumber, U16 NumChans, \ - U16 *Chans, U16 *AdRanges, U8 *FileName, U32 ReadCount, F64 SampleRate, \ - U16 SyncMode); - -I16 __stdcall AI_ContScanChannelsToFile(U16 CardNumber, U16 Channel, \ - U16 AdRange, U8 *FileName, U32 ReadCount, F64 SampleRate, U16 SyncMode); - -I16 __stdcall AI_ContStatus(U16 CardNumber, U16 *Status); - -I16 __stdcall AI_ContBufferSetup(U16 CardNumber, void *Buffer, U32 ReadCount, \ - U16 *BufferId); - -I16 __stdcall AI_ContBufferReset(U16 CardNumber); - -I16 __stdcall AI_EventCallBack(U16 CardNumber, I16 mode, I16 EventType, \ - U32 callbackAddr); - -I16 __stdcall AI_InitialMemoryAllocated(U16 CardNumber, U32 *MemSize); - -I16 __stdcall AI_ReadChannel(U16 CardNumber, U16 Channel, U16 AdRange, \ - U16 *Value); - -I16 __stdcall AI_ReadChannel32(U16 CardNumber, U16 Channel, U16 AdRange, \ - U32 *Value); - -I16 __stdcall AI_VReadChannel(U16 CardNumber, U16 Channel, U16 AdRange, \ - F64 *voltage); - -I16 __stdcall AI_ScanReadChannels(U16 CardNumber, U16 Channel, U16 AdRange, \ - U16 *Buffer); - -I16 __stdcall AI_ScanReadChannels32(U16 CardNumber, U16 Channel, U16 AdRange, \ - U32 *Buffer); - -I16 __stdcall AI_ReadMultiChannels(U16 CardNumber, U16 NumChans, U16 *Chans, \ - U16 *AdRanges, U16 *Buffer); - -I16 __stdcall AI_VoltScale(U16 CardNumber, U16 AdRange, I16 reading, \ - F64 *voltage); - -I16 __stdcall AI_VoltScale32(U16 CardNumber, U16 adRange, I32 reading, \ - F64 *voltage); - -I16 __stdcall AI_ContVScale(U16 CardNumber, U16 adRange, void *readingArray, \ - F64 *voltageArray, I32 count); - -I16 __stdcall AI_SetTimeOut(U16 CardNumber, U32 TimeOut); - -/*----------------------------------------------------------------------------*/ -/* AO Function */ -I16 __stdcall AO_6202_Config(U16 CardNumber, U16 ConfigCtrl, U16 TrigCtrl, \ - U32 ReTrgCnt, U32 DLY1Cnt, U32 DLY2Cnt, BOOLEAN AutoResetBuf); - -I16 __stdcall AO_6208A_Config(U16 CardNumber, U16 V2AMode); - -I16 __stdcall AO_6308A_Config(U16 CardNumber, U16 V2AMode); - -I16 __stdcall AO_6308V_Config(U16 CardNumber, U16 Channel, U16 OutputPolarity, \ - F64 refVoltage); - -I16 __stdcall AO_9111_Config(U16 CardNumber, U16 OutputPolarity); - -I16 __stdcall AO_9112_Config(U16 CardNumber, U16 Channel, F64 refVoltage); - -I16 __stdcall AO_9222_Config(U16 CardNumber, U16 ConfigCtrl, U16 TrigCtrl, \ - U32 ReTrgCnt, U32 DLY1Cnt, U32 DLY2Cnt, BOOLEAN AutoResetBuf); - -I16 __stdcall AO_9223_Config(U16 CardNumber, U16 ConfigCtrl, U16 TrigCtrl, \ - U32 ReTrgCnt, U32 DLY1Cnt, U32 DLY2Cnt, BOOLEAN AutoResetBuf); - -I16 __stdcall AO_AsyncCheck(U16 CardNumber, BOOLEAN *Stopped, U32 *AccessCnt); - -I16 __stdcall AO_AsyncClear(U16 CardNumber, U32 *AccessCnt, U16 stop_mode); - -I16 __stdcall AO_AsyncDblBufferHalfReady(U16 CardNumber, BOOLEAN *bHalfReady); - -I16 __stdcall AO_AsyncDblBufferMode(U16 CardNumber, BOOLEAN Enable); - -I16 __stdcall AO_ContBufferCompose(U16 CardNumber, U16 TotalChnCount, \ - U16 ChnNum, U32 UpdateCount, void *ConBuffer, void *Buffer); - -I16 __stdcall AO_ContBufferReset(U16 CardNumber); - -I16 __stdcall AO_ContBufferSetup(U16 CardNumber, void *Buffer, U32 WriteCount, \ - U16 *BufferId); - -I16 __stdcall AO_ContStatus(U16 CardNumber, U16 *Status); - -I16 __stdcall AO_ContWriteChannel(U16 CardNumber, U16 Channel, U16 BufId, \ - U32 WriteCount, U32 Iterations, U32 CHUI, U16 definite, U16 SyncMode); - -I16 __stdcall AO_ContWriteMultiChannels(U16 CardNumber, U16 NumChans, \ - U16 *Chans, U16 BufId, U32 WriteCount, U32 Iterations, U32 CHUI, \ - U16 definite, U16 SyncMode); - -I16 __stdcall AO_EventCallBack(U16 CardNumber, I16 mode, I16 EventType, \ - U32 callbackAddr); - -I16 __stdcall AO_InitialMemoryAllocated(U16 CardNumber, U32 *MemSize); - -I16 __stdcall AO_SetTimeOut(U16 CardNumber, U32 TimeOut); - -I16 __stdcall AO_SimuVWriteChannel(U16 CardNumber, U16 Group, F64 *VBuffer); - -I16 __stdcall AO_SimuWriteChannel(U16 CardNumber, U16 Group, I16 *Buffer); - -I16 __stdcall AO_VoltScale(U16 CardNumber, U16 Channel, F64 Voltage, \ - I16 *binValue); - -I16 __stdcall AO_VWriteChannel(U16 CardNumber, U16 Channel, F64 Voltage); - -I16 __stdcall AO_WriteChannel(U16 CardNumber, U16 Channel, I16 Value); - -/*----------------------------------------------------------------------------*/ -/* DI Function */ -I16 __stdcall DI_7200_Config(U16 CardNumber, U16 TrigSource, U16 ExtTrigEn, \ - U16 TrigPol, U16 I_REQ_Pol); - -I16 __stdcall DI_7233_ForceLogic(U16 CardNumber, U16 ConfigCtrl); - -I16 __stdcall DI_7300A_Config(U16 CardNumber, U16 PortWidth, U16 TrigSource, \ - U16 WaitStatus, U16 Terminator, U16 I_REQ_Pol, BOOLEAN clear_fifo, \ - BOOLEAN disable_di); - -I16 __stdcall DI_7300B_Config(U16 CardNumber, U16 PortWidth, U16 TrigSource, \ - U16 WaitStatus, U16 Terminator, U16 I_Cntrl_Pol, BOOLEAN clear_fifo, \ - BOOLEAN disable_di); - -I16 __stdcall DI_7350_Config(U16 CardNumber, U16 DIPortWidth, U16 DIMode, \ - U16 DIWaitStatus, U16 DIClkConfig); - -I16 __stdcall DI_7350_ExportSampCLKConfig(U16 CardNumber, U16 CLK_Src, \ - U16 CLK_DPAMode, U16 CLK_DPAVlaue); - -I16 __stdcall DI_7350_ExtSampCLKConfig(U16 CardNumber, U16 CLK_Src, \ - U16 CLK_DDAMode, U16 CLK_DPAMode, U16 CLK_DDAVlaue, U16 CLK_DPAVlaue); - -I16 __stdcall DI_7350_SoftTriggerGen(U16 CardNumber); - -I16 __stdcall DI_7350_TrigHSConfig(U16 CardNumber, U16 TrigConfig, U16 DI_IPOL, \ - U16 DI_REQSrc, U16 DI_ACKSrc, U16 DI_TRIGSrc, U16 StartTrigSrc, \ - U16 PauseTrigSrc, U16 SoftTrigOutSrc, U32 SoftTrigOutLength, U32 TrigCount); - -I16 __stdcall DI_7350_BurstHandShakeDelay(U16 CardNumber, U8 Delay); - -I16 __stdcall DI_9222_Config(U16 CardNumber, U16 ConfigCtrl, U16 TrigCtrl, \ - U32 ReTriggerCnt, BOOLEAN AutoResetBuf); - -I16 __stdcall DI_9223_Config(U16 CardNumber, U16 ConfigCtrl, U16 TrigCtrl, \ - U32 ReTriggerCnt, BOOLEAN AutoResetBuf); - -I16 __stdcall DI_AsyncCheck(U16 CardNumber, BOOLEAN *Stopped, U32 *AccessCnt); - -I16 __stdcall DI_AsyncClear(U16 CardNumber, U32 *AccessCnt); - -I16 __stdcall DI_AsyncDblBufferHalfReady(U16 CardNumber, BOOLEAN *HalfReady); - -I16 __stdcall DI_AsyncDblBufferHandled(U16 CardNumber); - -I16 __stdcall DI_AsyncDblBufferMode(U16 CardNumber, BOOLEAN Enable); - -I16 __stdcall DI_AsyncDblBufferToFile(U16 CardNumber); - -I16 __stdcall DI_AsyncDblBufferTransfer(U16 CardNumber, void *Buffer); - -I16 __stdcall DI_AsyncDblBufferOverrun(U16 CardNumber, U16 op, \ - U16 *overrunFlag); - -I16 __stdcall DI_AsyncMultiBuffersHandled(U16 CardNumber, U16 bufcnt, \ - U16* bufs); - -I16 __stdcall DI_AsyncMultiBufferNextReady(U16 CardNumber, BOOLEAN *NextReady, \ - U16 *BufferId); - -I16 __stdcall DI_AsyncReTrigNextReady(U16 CardNumber, BOOLEAN *Ready, \ - BOOLEAN *StopFlag, U16 *RdyTrigCnt); - -I16 __stdcall DI_ContBufferReset(U16 CardNumber); - -I16 __stdcall DI_ContBufferSetup(U16 CardNumber, void *Buffer, U32 ReadCount, \ - U16 *BufferId); - -I16 __stdcall DI_ContMultiBufferSetup(U16 CardNumber, void *Buffer, \ - U32 ReadCount, U16 *BufferId); - -I16 __stdcall DI_ContMultiBufferStart(U16 CardNumber, U16 Port, F64 SampleRate); - -I16 __stdcall DI_ContReadPort(U16 CardNumber, U16 Port, void *Buffer, \ - U32 ReadCount, F64 SampleRate, U16 SyncMode); - -I16 __stdcall DI_ContReadPortToFile(U16 CardNumber, U16 Port, U8 *FileName, \ - U32 ReadCount, F64 SampleRate, U16 SyncMode); - -I16 __stdcall DI_ContStatus(U16 CardNumber, U16 *Status); - -I16 __stdcall DI_EventCallBack_x64(U16 CardNumber, I16 mode, I16 EventType, \ - ULONG_PTR callbackAddr); - -I16 __stdcall DI_InitialMemoryAllocated(U16 CardNumber, U32 *DmaSize); - -I16 __stdcall DI_ReadLine(U16 CardNumber, U16 Port, U16 Line, U16 *State); - -I16 __stdcall DI_ReadPort(U16 CardNumber, U16 Port, U32 *Value); - -I16 __stdcall DI_SetTimeOut(U16 CardNumber, U32 TimeOut); - -/*----------------------------------------------------------------------------*/ -/* DO Function */ -I16 __stdcall DO_7200_Config(U16 CardNumber, U16 TrigSource, U16 OutReqEn, \ - U16 OutTrigSig); - -I16 __stdcall DO_7300A_Config(U16 CardNumber, U16 PortWidth, U16 TrigSource, \ - U16 WaitStatus, U16 Terminator, U16 O_REQ_Pol); - -I16 __stdcall DO_7300B_Config(U16 CardNumber, U16 PortWidth, U16 TrigSource, \ - U16 WaitStatus, U16 Terminator, U16 O_Cntrl_Pol, U32 FifoThreshold); - -I16 __stdcall DO_7300B_SetDODisableMode(U16 CardNumber, U16 Mode); - -I16 __stdcall DO_7350_Config(U16 CardNumber, U16 DOPortWidth, U16 DOMode, \ - U16 DOWaitStatus, U16 DOClkConfig); - -I16 __stdcall DO_7350_ExportSampCLKConfig(U16 CardNumber, U16 CLK_Src, \ - U16 CLK_DPAMode, U16 CLK_DPAVlaue); - -I16 __stdcall DO_7350_ExtSampCLKConfig(U16 CardNumber, U16 CLK_Src, \ - U16 CLK_DDAMode, U16 CLK_DPAMode, U16 CLK_DDAVlaue, U16 CLK_DPAVlaue); - -I16 __stdcall DO_7350_SoftTriggerGen(U16 CardNumber); - -I16 __stdcall DO_7350_TrigHSConfig(U16 CardNumber, U16 TrigConfig, U16 DO_IPOL, \ - U16 DO_REQSrc, U16 DO_ACKSrc, U16 DO_TRIGSrc, U16 StartTrigSrc, \ - U16 PauseTrigSrc, U16 SoftTrigOutSrc, U32 SoftTrigOutLength, U32 TrigCount); - -I16 __stdcall DO_7350_BurstHandShakeDelay(U16 CardNumber, U8 Delay); - -I16 __stdcall EDO_9111_Config(U16 CardNumber, U16 EDO_Fun); - -I16 __stdcall DO_9222_Config(U16 CardNumber, U16 ConfigCtrl, U16 TrigCtrl, \ - U32 ReTrgCnt, U32 DLY1Cnt, U32 DLY2Cnt, BOOLEAN AutoResetBuf); - -I16 __stdcall DO_9223_Config(U16 CardNumber, U16 ConfigCtrl, U16 TrigCtrl, \ - U32 ReTrgCnt, U32 DLY1Cnt, U32 DLY2Cnt, BOOLEAN AutoResetBuf); - -I16 __stdcall DO_AsyncCheck(U16 CardNumber, BOOLEAN *Stopped, U32 *AccessCnt); - -I16 __stdcall DO_AsyncClear(U16 CardNumber, U32 *AccessCnt); - -I16 __stdcall DO_AsyncMultiBufferNextReady(U16 CardNumber, BOOLEAN *NextReady, \ - U16 *BufferId); - -I16 __stdcall DO_ContBufferReset(U16 CardNumber); - -I16 __stdcall DO_ContBufferSetup(U16 CardNumber, VOID *Buffer, U32 WriteCount, - U16 *BufferId); - -I16 __stdcall DO_ContMultiBufferSetup(U16 CardNumber, void *Buffer, \ - U32 WriteCount, U16 *BufferId); - -I16 __stdcall DO_ContMultiBufferStart(U16 CardNumber, U16 Port, \ - double fSampleRate); - -I16 __stdcall DO_ContStatus(U16 CardNumber, U16 *Status); - -I16 __stdcall DO_ContWritePort(U16 CardNumber, U16 Port, void *Buffer, \ - U32 WriteCount, U16 Iterations, F64 SampleRate, U16 SyncMode); - -I16 __stdcall DO_ContWritePortEx(U16 CardNumber, U16 Port, void *Buffer, \ - U32 WriteCount, U16 Iterations, F64 SampleRate, U16 SyncMode); - -I16 __stdcall DO_EventCallBack_x64(U16 CardNumber, I16 mode, I16 EventType, \ - ULONG_PTR callbackAddr); - -I16 __stdcall DO_InitialMemoryAllocated(U16 CardNumber, U32 *MemSize); - -I16 __stdcall DO_PGStart(U16 CardNumber, void *Buffer, U32 WriteCount, \ - F64 SampleRate); - -I16 __stdcall DO_PGStop(U16 CardNumber); - -I16 __stdcall DO_ReadLine(U16 CardNumber, U16 Port, U16 Line, U16 *Value); - -I16 __stdcall DO_ReadPort(U16 CardNumber, U16 Port, U32 *Value); - -I16 __stdcall DO_ResetOutput(U16 CardNumber, U16 reset); - -I16 __stdcall DO_SetTimeOut(U16 CardNumber, U32 TimeOut); - -I16 __stdcall DO_SimuWritePort(U16 CardNumber, U16 NumChans, U32 *Buffer); - -I16 __stdcall DO_WriteExtTrigLine(U16 CardNumber, U16 Value); - -I16 __stdcall DO_WriteLine(U16 CardNumber, U16 Port, U16 Line, U16 Value); - -I16 __stdcall DO_WritePort(U16 CardNumber, U16 Port, U32 Value); - -/*----------------------------------------------------------------------------*/ -/* DIO Function */ -I16 __stdcall DIO_7300SetInterrupt(U16 CardNumber, I16 AuxDIEn, I16 T2En, \ - HANDLE *Event); - -I16 __stdcall DIO_7350_AFIConfig(U16 CardNumber, U16 AFI_Port, U16 AFI_Enable, \ - U16 AFI_Mode, U32 AFI_TrigOutLen); - -I16 __stdcall DIO_AUXDI_EventMessage(U16 CardNumber, I16 AuxDIEn, \ - HANDLE windowHandle, U32 message, void *callbackAddr()); - -I16 __stdcall DIO_COSInterruptCounter(U16 CardNumber, U16 Counter_Num, \ - U16 Counter_Mode, U16 DI_Port, U16 DI_Line, U32 *Counter_Value); - -I16 __stdcall DIO_GetCOSLatchData(U16 CardNumber, U16 *CosLData); - -I16 __stdcall DIO_GetCOSLatchData32(U16 CardNumber, U8 Port, U32 *CosLData); - -I16 __stdcall DIO_GetCOSLatchDataInt32(U16 CardNumber, U8 Port, U32 *CosLData); - -I16 __stdcall DIO_GetPMLatchData32(U16 CardNumber, U16 Port, U32 *PMLData); - -I16 __stdcall DIO_INT1_EventMessage(U16 CardNumber, I16 Int1Mode, \ - HANDLE windowHandle, U32 message, void *callbackAddr()); - -I16 __stdcall DIO_INT2_EventMessage(U16 CardNumber, I16 Int2Mode, \ - HANDLE windowHandle, U32 message, void *callbackAddr()); - -I16 __stdcall DIO_INT_Event_Message_x64(U16 CardNumber, I16 mode, HANDLE evt, \ - HANDLE windowHandle, U32 message, ULONG_PTR callbackAddr); - -I16 __stdcall DIO_LineConfig(U16 CardNumber, U16 Port, U16 Line, U16 Direction); - -I16 __stdcall DIO_LinesConfig(U16 CardNumber, U16 Port, U16 Linesdirmap); - -I16 __stdcall DIO_PortConfig(U16 CardNumber, U16 Port, U16 Direction); - -I16 __stdcall DIO_PMConfig(U16 CardNumber, U16 Channel, U16 PM_ChnEn, \ - U16 PM_ChnType); - -I16 __stdcall DIO_PMControl(U16 CardNumber, U16 Port, U16 PM_Start, \ - HANDLE *hEvent, BOOLEAN ManualReset); - -I16 __stdcall DIO_SetCOSInterrupt(U16 CardNumber, U16 Port, U16 ctlA, U16 ctlB,\ - U16 ctlC); - -I16 __stdcall DIO_SetCOSInterrupt32(U16 CardNumber, U8 Port, U32 ctl, \ - HANDLE *Event, BOOLEAN ManualReset); - -I16 __stdcall DIO_SetPMInterrupt32(U16 CardNumber, U16 Port, U32 Ctrl, \ - U32 Pattern1, U32 Pattern2, HANDLE *hEvent, BOOLEAN ManualReset); - -I16 __stdcall DIO_SetDualInterrupt(U16 CardNumber, I16 Int1Mode, I16 Int2Mode, \ - HANDLE *Event); - -I16 __stdcall DIO_T2_EventMessage(U16 CardNumber, I16 T2En, \ - HANDLE windowHandle, U32 message, void *callbackAddr()); - -I16 __stdcall DIO_VoltLevelConfig(U16 CardNumber, U16 PortType, U16 VoltLevel); - -/*----------------------------------------------------------------------------*/ -/* Timer/Counter Function */ -I16 __stdcall CTR_8554_CK1_Config(U16 CardNumber, U16 ClockSource); - -I16 __stdcall CTR_8554_ClkSrc_Config(U16 CardNumber, U16 Ctr, U16 ClockSource); - -I16 __stdcall CTR_8554_Debounce_Config(U16 CardNumber, U16 DebounceClock); - -I16 __stdcall CTR_Clear(U16 CardNumber, U16 Ctr, U16 State); - -I16 __stdcall CTR_Read(U16 CardNumber, U16 Ctr, U32 *Value); - -I16 __stdcall CTR_Read_All(U16 CardNumber, U16 CtrCnt, U16 *Ctr, U32 *Value); - -I16 __stdcall CTR_Setup(U16 CardNumber, U16 Ctr, U16 Mode, U32 Count, \ - U16 BinBcd); - -I16 __stdcall CTR_Setup_All(U16 CardNumber, U16 CtrCnt, U16 *Ctr, U16 *Mode, \ - U32 *Count, U16 *BinBcd); - -I16 __stdcall CTR_Status(U16 CardNumber, U16 Ctr, U32 *Value); - -I16 __stdcall CTR_Update(U16 CardNumber, U16 Ctr, U32 Count); - -I16 __stdcall GCTR_Clear(U16 CardNumber, U16 GCtr); - -I16 __stdcall GCTR_Read(U16 CardNumber, U16 GCtr, U32 *Value); - -I16 __stdcall GCTR_Setup(U16 CardNumber, U16 GCtr, U16 GCtrCtrl, U32 Count); - -I16 __stdcall GPTC_9524_PG_Config(U16 CardNumber, U16 GCtr, U32 PulseGenNum); - -I16 __stdcall GPTC_Clear(U16 CardNumber, U16 GCtr); - -I16 __stdcall GPTC_Control(U16 CardNumber, U16 GCtr, U16 ParamID, U16 Value); - -I16 __stdcall GPTC_EventCallBack(U16 CardNumber, I16 Enabled, I16 EventType, \ - U32 callbackAddr); - -I16 __stdcall GPTC_EventSetup(U16 CardNumber, U16 GCtr, U16 Mode, U16 Ctrl, \ - U32 LVal_1, U32 LVal_2); - -I16 __stdcall GPTC_Read(U16 CardNumber, U16 GCtr, U32 *Value); - -I16 __stdcall GPTC_Setup(U16 CardNumber, U16 GCtr, U16 Mode, U16 SrcCtrl, \ - U16 PolCtrl, U32 LReg1_Val, U32 LReg2_Val); - -I16 __stdcall GPTC_Status(U16 CardNumber, U16 GCtr, U16 *Value); - -I16 __stdcall GPTC_9524_GetTimerEvent(U16 CardNumber, U16 GCtr, HANDLE *hEvent); - -I16 __stdcall WDT_Control(U16 CardNumber, U16 Ctr, U16 action); - -I16 __stdcall WDT_Reload(U16 CardNumber, U16 Ctr, F32 ovflowSec, \ - F32 *actualSec); - -I16 __stdcall WDT_Setup(U16 CardNumber, U16 Ctr, F32 ovflowSec, \ - F32 *actualSec, HANDLE *Event); - -I16 __stdcall WDT_Status(U16 CardNumber, U16 Ctr, U32 *Value); - -/*----------------------------------------------------------------------------*/ -/* Get Event or View Function */ -I16 __stdcall AI_GetEvent(U16 CardNumber, HANDLE *Event); - -I16 __stdcall AO_GetEvent(U16 CardNumber, HANDLE *Event); - -I16 __stdcall DI_GetEvent(U16 CardNumber, HANDLE *Event); - -I16 __stdcall DO_GetEvent(U16 CardNumber, HANDLE *Event); - -I16 __stdcall AI_GetView(U16 CardNumber, U32 *View); - -I16 __stdcall DI_GetView(U16 CardNumber, U32 *View); - -I16 __stdcall DO_GetView(U16 CardNumber, U32 *View); - -/*---------------------------------------------------------------------------*/ -/* Common Function */ -I16 __stdcall GetActualRate(U16 CardNumber, F64 SampleRate, F64 *ActualRate); - -I16 __stdcall GetActualRate_9524(U16 CardNumber, U16 Group, F64 SampleRate, \ - F64 *ActualRate); - -I16 __stdcall GetBaseAddr(U16 CardNumber, U32 *BaseAddr, U32 *BaseAddr2); - -I16 __stdcall GetCardIndexFromID(U16 CardNumber, U16 *cardType, U16 *cardIndex); - -I16 __stdcall GetCardType(U16 CardNumber, U16 *cardType); - -I16 __stdcall GetLCRAddr(U16 CardNumber, U32 *LcrAddr); - -I16 __stdcall PCI_EEPROM_LoadData(U16 CardNumber, U16 block, U16 *data); - -I16 __stdcall PCI_EEPROM_SaveData(U16 CardNumber, U16 block, U16 data); -/*----------------------------------------------------------------------------*/ -/* Safety Control Function */ -I16 __stdcall EMGShutDownControl(U16 CardNumber, U8 ctrl); - -I16 __stdcall EMGShutDownStatus(U16 CardNumber, U8 *sts); - -I16 __stdcall GetInitPattern(U16 CardNumber, U8 patID, U32 *pattern); - -I16 __stdcall HotResetHoldControl(U16 CardNumber, U8 enable); - -I16 __stdcall HotResetHoldStatus(U16 CardNumber, U8 *sts); - -I16 __stdcall IdentifyLED_Control(U16 CardNumber, U8 ctrl); - -I16 __stdcall SetInitPattern(U16 CardNumber, U8 patID, U32 pattern); - -/*----------------------------------------------------------------------------*/ -/* Calibration Function */ -I16 __stdcall PCI9524_Acquire_AD_CalConst(U16 CardNumber, U16 Group, \ - U16 ADC_Range, U16 ADC_Speed, U32 *CalDate, F32 *CalTemp, U32 *ADC_offset, \ - U32 *ADC_gain, F64 *Residual_offset, F64 *Residual_scaling); - -I16 __stdcall PCI9524_Acquire_DA_CalConst(U16 CardNumber, U16 Channel, \ - U32 *CalDate, F32 *CalTemp, U8 *DAC_offset, U8 *DAC_linearity, \ - F32 *Gain_factor); - -I16 __stdcall PCI9524_Read_EEProm(U16 CardNumber, U16 ReadAddr, U8 *ReadData); - -I16 __stdcall PCI9524_Read_RemoteSPI(U16 CardNumber, U16 Addr, U8 *RdData); - -I16 __stdcall PCI9524_Write_EEProm(U16 CardNumber, U16 WriteAddr, U8 *WriteData); - -I16 __stdcall PCI9524_Write_RemoteSPI(U16 CardNumber, U16 Addr, U8 WrtData); - -I16 __stdcall PCI_DB_Auto_Calibration_ALL(U16 CardNumber); - -I16 __stdcall PCI_EEPROM_CAL_Constant_Update(U16 CardNumber, U16 bank); - -I16 __stdcall PCI_Load_CAL_Data(U16 CardNumber, U16 bank); - -/*----------------------------------------------------------------------------*/ -/* SSI Function */ -I16 __stdcall SSI_SourceConn(U16 CardNumber, U16 sigCode); - -I16 __stdcall SSI_SourceDisConn(U16 CardNumber, U16 sigCode); - -I16 __stdcall SSI_SourceClear(U16 CardNumber); - -/*----------------------------------------------------------------------------*/ -/* PWM Function */ -I16 __stdcall PWM_Output(U16 CardNumber, U16 Channel, U32 high_interval, \ - U32 low_interval); - -I16 __stdcall PWM_Stop(U16 CardNumber, U16 Channel); - -/*----------------------------------------------------------------------------*/ -/* I2C Function */ -I16 __stdcall I2C_Setup(U16 CardNumber, U16 I2C_Port, U16 I2C_Config, \ - U32 I2C_SetupValue1, U32 I2C_SetupValue2); - -I16 __stdcall I2C_Control(U16 CardNumber, U16 I2C_Port, U16 I2C_CtrlParam, \ - U32 I2C_CtrlValue); - -I16 __stdcall I2C_Status(U16 CardNumber, U16 I2C_Port, U32 *I2C_Status); - -I16 __stdcall I2C_Read(U16 CardNumber, U16 I2C_Port, U16 I2C_SlaveAddr, \ - U16 I2C_CmdAddrBytes, U16 I2C_DataBytes, U32 I2C_CmdAddr, U32 *I2C_Data); - -I16 __stdcall I2C_Write(U16 CardNumber, U16 I2C_Port, U16 I2C_SlaveAddr, \ - U16 I2C_CmdAddrBytes, U16 I2C_DataBytes, U32 I2C_CmdAddr, U32 I2C_Data); - -/*----------------------------------------------------------------------------*/ -/* SPI Function */ -I16 __stdcall SPI_Setup(U16 CardNumber, U16 SPI_Port, U16 SPI_Config, \ - U32 SPI_SetupValue1, U32 SPI_SetupValue2); - -I16 __stdcall SPI_Control(U16 CardNumber, U16 SPI_Port, U16 SPI_CtrlParam, \ - U32 SPI_CtrlValue); - -I16 __stdcall SPI_Status(U16 CardNumber, U16 SPI_Port, U32 *SPI_Status); - -I16 __stdcall SPI_Read(U16 CardNumber, U16 SPI_Port, U16 SPI_SlaveAddr, \ - U16 SPI_CmdAddrBits, U16 SPI_DataBits, U16 SPI_FrontDummyBits, \ - U32 SPI_CmdAddr, U32 *SPI_Data); - -I16 __stdcall SPI_Write(U16 CardNumber, U16 SPI_Port, U16 SPI_SlaveAddr, \ - U16 SPI_CmdAddrBits, U16 SPI_DataBits, U16 SPI_FrontDummyBits, \ - U16 SPI_TailDummyBits, U32 SPI_CmdAddr, U32 SPI_Data); - -/*----------------------------------------------------------------------------*/ - -#ifdef __cplusplus -} -#endif - -#endif diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Include/Dask64.vb b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Include/Dask64.vb deleted file mode 100644 index b31971d..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Include/Dask64.vb +++ /dev/null @@ -1,1421 +0,0 @@ -Option Strict Off -Option Explicit On -Module DASK - - 'ADLink PCI Card Type - Public Const PCI_6208V As Short = 1 - Public Const PCI_6208A As Short = 2 - Public Const PCI_6308V As Short = 3 - Public Const PCI_6308A As Short = 4 - Public Const PCI_7200 As Short = 5 - Public Const PCI_7230 As Short = 6 - Public Const PCI_7233 As Short = 7 - Public Const PCI_7234 As Short = 8 - Public Const PCI_7248 As Short = 9 - Public Const PCI_7249 As Short = 10 - Public Const PCI_7250 As Short = 11 - Public Const PCI_7252 As Short = 12 - Public Const PCI_7296 As Short = 13 - Public Const PCI_7300A_RevA As Short = 14 - Public Const PCI_7300A_RevB As Short = 15 - Public Const PCI_7432 As Short = 16 - Public Const PCI_7433 As Short = 17 - Public Const PCI_7434 As Short = 18 - Public Const PCI_8554 As Short = 19 - Public Const PCI_9111DG As Short = 20 - Public Const PCI_9111HR As Short = 21 - Public Const PCI_9112 As Short = 22 - Public Const PCI_9113 As Short = 23 - Public Const PCI_9114DG As Short = 24 - Public Const PCI_9114HG As Short = 25 - Public Const PCI_9118DG As Short = 26 - Public Const PCI_9118HG As Short = 27 - Public Const PCI_9118HR As Short = 28 - Public Const PCI_9810 As Short = 29 - Public Const PCI_9812 As Short = 30 - Public Const PCI_7396 As Short = 31 - Public Const PCI_9116 As Short = 32 - Public Const PCI_7256 As Short = 33 - Public Const PCI_7258 As Short = 34 - Public Const PCI_7260 As Short = 35 - Public Const PCI_7452 As Short = 36 - Public Const PCI_7442 As Short = 37 - Public Const PCI_7443 As Short = 38 - Public Const PCI_7444 As Short = 39 - Public Const PCI_9221 As Short = 40 - Public Const PCI_9524 As Short = 41 - Public Const PCI_6202 As Short = 42 - Public Const PCI_9222 As Short = 43 - Public Const PCI_9223 As Short = 44 - Public Const PCI_7433C As Short = 45 - Public Const PCI_7434C As Short = 46 - Public Const PCI_922A As Short = 47 - Public Const PCI_7350 As Short = 48 - - Public Const MAX_CARD As Short = 32 - - 'Error Code - Public Const NoError As Short = 0 - Public Const ErrorUnknownCardType As Short = -1 - Public Const ErrorInvalidCardNumber As Short = -2 - Public Const ErrorTooManyCardRegistered As Short = -3 - Public Const ErrorCardNotRegistered As Short = -4 - Public Const ErrorFuncNotSupport As Short = -5 - Public Const ErrorInvalidIoChannel As Short = -6 - Public Const ErrorInvalidAdRange As Short = -7 - Public Const ErrorContIoNotAllowed As Short = -8 - Public Const ErrorDiffRangeNotSupport As Short = -9 - Public Const ErrorLastChannelNotZero As Short = -10 - Public Const ErrorChannelNotDescending As Short = -11 - Public Const ErrorChannelNotAscending As Short = -12 - Public Const ErrorOpenDriverFailed As Short = -13 - Public Const ErrorOpenEventFailed As Short = -14 - Public Const ErrorTransferCountTooLarge As Short = -15 - Public Const ErrorNotDoubleBufferMode As Short = -16 - Public Const ErrorInvalidSampleRate As Short = -17 - Public Const ErrorInvalidCounterMode As Short = -18 - Public Const ErrorInvalidCounter As Short = -19 - Public Const ErrorInvalidCounterState As Short = -20 - Public Const ErrorInvalidBinBcdParam As Short = -21 - Public Const ErrorBadCardType As Short = -22 - Public Const ErrorInvalidDaRange As Short = -23 - Public Const ErrorAdTimeOut As Short = -24 - Public Const ErrorNoAsyncAI As Short = -25 - Public Const ErrorNoAsyncAO As Short = -26 - Public Const ErrorNoAsyncDI As Short = -27 - Public Const ErrorNoAsyncDO As Short = -28 - Public Const ErrorNotInputPort As Short = -29 - Public Const ErrorNotOutputPort As Short = -30 - Public Const ErrorInvalidDioPort As Short = -31 - Public Const ErrorInvalidDioLine As Short = -32 - Public Const ErrorContIoActive As Short = -33 - Public Const ErrorDblBufModeNotAllowed As Short = -34 - Public Const ErrorConfigFailed As Short = -35 - Public Const ErrorInvalidPortDirection As Short = -36 - Public Const ErrorBeginThreadError As Short = -37 - Public Const ErrorInvalidPortWidth As Short = -38 - Public Const ErrorInvalidCtrSource As Short = -39 - Public Const ErrorOpenFile As Short = -40 - Public Const ErrorAllocateMemory As Short = -41 - Public Const ErrorDaVoltageOutOfRange As Short = -42 - Public Const ErrorDaExtRefNotAllowed As Short = -43 - Public Const ErrorDIODataWidthError As Short = -44 - Public Const ErrorTaskCodeError As Short = -45 - Public Const ErrortriggercountError As Short = -46 - Public Const ErrorInvalidTriggerMode As Short = -47 - Public Const ErrorInvalidTriggerType As Short = -48 - Public Const ErrorInvalidCounterValue As Short = -50 - Public Const ErrorInvalidEventHandle As Short = -60 - Public Const ErrorNoMessageAvailable As Short = -61 - Public Const ErrorEventMessgaeNotAdded As Short = -62 - Public Const ErrorCalibrationTimeOut = -63 - Public Const ErrorUndefinedParameter = -64 - Public Const ErrorInvalidBufferID = -65 - Public Const ErrorInvalidSampledClock = -66 - Public Const ErrorInvalisOperationMode = -67 - - 'Error code for driver API - Public Const ErrorConfigIoctl As Short = -201 - Public Const ErrorAsyncSetIoctl As Short = -202 - Public Const ErrorDBSetIoctl As Short = -203 - Public Const ErrorDBHalfReadyIoctl As Short = -204 - Public Const ErrorContOPIoctl As Short = -205 - Public Const ErrorContStatusIoctl As Short = -206 - Public Const ErrorPIOIoctl As Short = -207 - Public Const ErrorDIntSetIoctl As Short = -208 - Public Const ErrorWaitEvtIoctl As Short = -209 - Public Const ErrorOpenEvtIoctl As Short = -210 - Public Const ErrorCOSIntSetIoctl As Short = -211 - Public Const ErrorMemMapIoctl As Short = -212 - Public Const ErrorMemUMapSetIoctl As Short = -213 - Public Const ErrorCTRIoctl As Short = -214 - Public Const ErrorGetResIoctl As Short = -215 - Public Const ErrorCalIoctl = -216 - Public Const ErrorPMIntSetIoctl = -217 - - 'AD Range - Public Const AD_B_10_V As Short = 1 - Public Const AD_B_5_V As Short = 2 - Public Const AD_B_2_5_V As Short = 3 - Public Const AD_B_1_25_V As Short = 4 - Public Const AD_B_0_625_V As Short = 5 - Public Const AD_B_0_3125_V As Short = 6 - Public Const AD_B_0_5_V As Short = 7 - Public Const AD_B_0_05_V As Short = 8 - Public Const AD_B_0_005_V As Short = 9 - Public Const AD_B_1_V As Short = 10 - Public Const AD_B_0_1_V As Short = 11 - Public Const AD_B_0_01_V As Short = 12 - Public Const AD_B_0_001_V As Short = 13 - Public Const AD_U_20_V As Short = 14 - Public Const AD_U_10_V As Short = 15 - Public Const AD_U_5_V As Short = 16 - Public Const AD_U_2_5_V As Short = 17 - Public Const AD_U_1_25_V As Short = 18 - Public Const AD_U_1_V As Short = 19 - Public Const AD_U_0_1_V As Short = 20 - Public Const AD_U_0_01_V As Short = 21 - Public Const AD_U_0_001_V As Short = 22 - Public Const AD_B_2_V As Short = 23 - Public Const AD_B_0_25_V As Short = 24 - Public Const AD_B_0_2_V As Short = 25 - Public Const AD_U_4_V As Short = 26 - Public Const AD_U_2_V As Short = 27 - Public Const AD_U_0_5_V As Short = 28 - Public Const AD_U_0_4_V As Short = 29 - - 'Synchronous Mode - Public Const SYNCH_OP As Short = 1 - Public Const ASYNCH_OP As Short = 2 - - 'AO Terminate Mode - Public Const DA_TerminateImmediate = 0 - - 'Trigger Source - Public Const TRIG_SOFTWARE As Short = 0 - Public Const TRIG_INT_PACER As Short = 1 - Public Const TRIG_EXT_STROBE As Short = 2 - Public Const TRIG_HANDSHAKE As Short = 3 - Public Const TRIG_CLK_10MHZ As Short = 4 'PCI-7300A - Public Const TRIG_CLK_20MHZ As Short = 5 'PCI-7300A - Public Const TRIG_DO_CLK_TIMER_ACK As Short = 6 'PCI-7300A Rev. B - Public Const TRIG_DO_CLK_10M_ACK As Short = 7 'PCI-7300A Rev. B - Public Const TRIG_DO_CLK_20M_ACK As Short = 8 'PCI-7300A Rev. B - - 'Virtual sampling rate for using external clock as the clock source - Public Const CLKSRC_EXT_SampRate As Short = 10000 - - '--------- Constants for PCI-6208A -------------- - 'Output Mode - Public Const P6208_CURRENT_0_20MA As Short = 0 - Public Const P6208_CURRENT_5_25MA As Short = 1 - Public Const P6208_CURRENT_4_20MA As Short = 3 - - '--------- Constants for PCI-6308A/PCI-6308V -------------- - 'Output Mode - Public Const P6308_CURRENT_0_20MA As Short = 0 - Public Const P6308_CURRENT_5_25MA As Short = 1 - Public Const P6308_CURRENT_4_20MA As Short = 3 - 'AO Setting - Public Const P6308V_AO_CH0_3 As Short = 0 - Public Const P6308V_AO_CH4_7 As Short = 1 - Public Const P6308V_AO_UNIPOLAR As Short = 0 - Public Const P6308V_AO_BIPOLAR As Short = 1 - - '--------- Constants for PCI-7200 -------------- - 'InputMode - Public Const DI_WAITING As Short = &H2S - Public Const DI_NOWAITING As Short = &H0S - - Public Const DI_TRIG_RISING As Short = &H4S - Public Const DI_TRIG_FALLING As Short = &H0S - - Public Const IREQ_RISING As Short = &H8S - Public Const IREQ_FALLING As Short = &H0S - - 'Output Mode - Public Const OREQ_ENABLE As Short = &H10S - Public Const OREQ_DISABLE As Short = &H0S - - Public Const OTRIG_HIGH As Short = &H20S - Public Const OTRIG_LOW As Short = &H0S - - '--------- Constants for PCI-7248/7296/7442 -------------- - 'DIO Port Direction - Public Const INPUT_PORT As Short = 1 - Public Const OUTPUT_PORT As Short = 2 - 'DIO Line Direction - Public Const INPUT_LINE As Short = 1 - Public Const OUTPUT_LINE As Short = 2 - - 'Channel&Port - Public Const Channel_P1A As Short = 0 - Public Const Channel_P1B As Short = 1 - Public Const Channel_P1C As Short = 2 - Public Const Channel_P1CL As Short = 3 - Public Const Channel_P1CH As Short = 4 - Public Const Channel_P1AE As Short = 10 - Public Const Channel_P1BE As Short = 11 - Public Const Channel_P1CE As Short = 12 - Public Const Channel_P2A As Short = 5 - Public Const Channel_P2B As Short = 6 - Public Const Channel_P2C As Short = 7 - Public Const Channel_P2CL As Short = 8 - Public Const Channel_P2CH As Short = 9 - Public Const Channel_P2AE As Short = 15 - Public Const Channel_P2BE As Short = 16 - Public Const Channel_P2CE As Short = 17 - Public Const Channel_P3A As Short = 10 - Public Const Channel_P3B As Short = 11 - Public Const Channel_P3C As Short = 12 - Public Const Channel_P3CL As Short = 13 - Public Const Channel_P3CH As Short = 14 - Public Const Channel_P4A As Short = 15 - Public Const Channel_P4B As Short = 16 - Public Const Channel_P4C As Short = 17 - Public Const Channel_P4CL As Short = 18 - Public Const Channel_P4CH As Short = 19 - Public Const Channel_P5A As Short = 20 - Public Const Channel_P5B As Short = 21 - Public Const Channel_P5C As Short = 22 - Public Const Channel_P5CL As Short = 23 - Public Const Channel_P5CH As Short = 24 - Public Const Channel_P6A As Short = 25 - Public Const Channel_P6B As Short = 26 - Public Const Channel_P6C As Short = 27 - Public Const Channel_P6CL As Short = 28 - Public Const Channel_P6CH As Short = 29 - Public Const Channel_P1 As Short = 30 - Public Const Channel_P2 As Short = 31 - Public Const Channel_P3 As Short = 32 - Public Const Channel_P4 As Short = 33 - Public Const Channel_P1E As Short = 34 - Public Const Channel_P2E As Short = 35 - Public Const Channel_P3E As Short = 36 - Public Const Channel_P4E As Short = 37 - ' 7442 - Public Const P7442_CH0 As Short = 0 - Public Const P7442_CH1 As Short = 1 - Public Const P7442_TTL0 As Short = 2 - Public Const P7442_TTL1 As Short = 3 - ' P7443 - Public Const P7443_CH0 = 0 - Public Const P7443_CH1 = 1 - Public Const P7443_CH2 = 2 - Public Const P7443_CH3 = 3 - Public Const P7443_TTL0 = 4 - Public Const P7443_TTL1 = 5 - ' P7444 - Public Const P7444_CH0 = 0 - Public Const P7444_CH1 = 1 - Public Const P7444_CH2 = 2 - Public Const P7444_CH3 = 3 - Public Const P7444_TTL0 = 4 - Public Const P7444_TTL1 = 5 - '--------- Constants for PCI-7300A -------------- - 'Wait Status - Public Const P7300_WAIT_NO As Short = 0 - Public Const P7300_WAIT_TRG As Short = 1 - Public Const P7300_WAIT_FIFO As Short = 2 - Public Const P7300_WAIT_BOTH As Short = 3 - - 'Terminator control - Public Const P7300_TERM_OFF As Short = 0 - Public Const P7300_TERM_ON As Short = 1 - - 'DI control signals polarity for PCI-7300A Rev. B - Public Const P7300_DIREQ_POS As Short = &H0S - Public Const P7300_DIREQ_NEG As Short = &H1S - Public Const P7300_DIACK_POS As Short = &H0S - Public Const P7300_DIACK_NEG As Short = &H2S - Public Const P7300_DITRIG_POS As Short = &H0S - Public Const P7300_DITRIG_NEG As Short = &H4S - - 'DO control signals polarity for PCI-7300A Rev. B - Public Const P7300_DOREQ_POS As Short = &H0S - Public Const P7300_DOREQ_NEG As Short = &H8S - Public Const P7300_DOACK_POS As Short = &H0S - Public Const P7300_DOACK_NEG As Short = &H10S - Public Const P7300_DOTRIG_POS As Short = &H0S - Public Const P7300_DOTRIG_NEG As Short = &H20S - - 'DO Disable mode in DO_AsyncClear - Public Const P7300_DODisableDOEnabled As Short = 0 - Public Const P7300_DONotDisableDOEnabled As Short = 1 - - '--------- Constants for PCI-7432/7433/7434/7433C/7434C -------------- - Public Const CHANNEL_DI_LOW As Short = 0 - Public Const CHANNEL_DI_HIGH As Short = 1 - Public Const CHANNEL_DO_LOW As Short = 0 - Public Const CHANNEL_DO_HIGH As Short = 1 - Public Const P7432R_DO_LED As Short = 1 - Public Const P7433R_DO_LED As Short = 0 - Public Const P7434R_DO_LED As Short = 2 - Public Const P7432R_DI_SLOT As Short = 1 - Public Const P7433R_DI_SLOT As Short = 2 - Public Const P7434R_DI_SLOT As Short = 0 - - '----- Dual-Interrupt Source control for PCI-7248/49/96 & 7230 & 8554 & 7396 &7256/58 & 7260 & 7433C ----- - Public Const INT1_DISABLE As Short = -1 'INT1 Disabled - Public Const INT1_COS As Short = 0 'INT1 COS : only available for PCI-7396, PCI-7256/58 & PCI-7260 - Public Const INT1_FP1C0 As Short = 1 'INT1 by Falling edge of P1C0 - Public Const INT1_RP1C0_FP1C3 As Short = 2 'INT1 by P1C0 Rising or P1C3 Falling - Public Const INT1_EVENT_COUNTER As Short = 3 'INT1 by Event Counter down to zero - Public Const INT1_EXT_SIGNAL As Short = 1 'INT1 by external signal : only available for PCI7432/PCI7433/PCI7230 - Public Const INT1_COUT12 As Short = 1 'INT1 COUT12 : only available for PCI8554 - Public Const INT1_CH0 As Short = 1 'INT1 CH0 : only available for PCI7256/58/60 - Public Const INT1_COS0 As Short = 1 'INT1 COS0 : only available for PCI-7452/PCI-7443 - Public Const INT1_COS1 As Short = 2 'INT1 COS1 : only available for PCI-7452/PCI-7443 - Public Const INT1_COS2 As Short = 3 'INT1 COS2 : only available for PCI-7452/PCI-7443 - Public Const INT1_COS3 As Short = 8 'INT1 COS3 : only available for PCI-7452/PCI-7443 - Public Const INT2_DISABLE As Short = -1 'INT2 Disabled - Public Const INT2_COS As Short = 0 'INT2 COS : only available for PCI-7396 - Public Const INT2_FP2C0 As Short = 1 'INT2 by Falling edge of P2C0 - Public Const INT2_RP2C0_FP2C3 As Short = 2 'INT2 by P2C0 Rising or P2C3 Falling - Public Const INT2_TIMER_COUNTER As Short = 3 'INT2 by Timer Counter down to zero - Public Const INT2_EXT_SIGNAL As Short = 1 'INT2 by external signal : only available for PCI7432/PCI7433/PCI7230 - Public Const INT2_CH1 As Short = 2 'INT2 CH1 : only available for PCI7256/58/60 - Public Const INT2_WDT As Short = 4 'INT2 by WDT - - Public Const WDT_OVRFLOW_SAFETYOUT As Short = &H8000S 'enable safteyout while WDT overflow - '-------- Constants for PCI-8554 -------------------- - 'Clock Source of Cunter N - Public Const ECKN As Short = 0 - Public Const COUTN_1 As Short = 1 - Public Const CK1 As Short = 2 - Public Const COUT10 As Short = 3 - - 'Clock Source of CK1 - Public Const CK1_C8M As Short = 0 - Public Const CK1_COUT11 As Short = 1 - - 'Debounce Clock - Public Const DBCLK_COUT11 As Short = 0 - Public Const DBCLK_2MHZ As Short = 1 - - '--------- Constants for PCI-9111 -------------- - 'Dual Interrupt Mode - Public Const P9111_INT1_EOC As Short = 0 'Ending of AD conversion - Public Const P9111_INT1_FIFO_HF As Short = 1 'FIFO Half Full - Public Const P9111_INT2_PACER As Short = 0 'Every Timer tick - Public Const P9111_INT2_EXT_TRG As Short = 1 'ExtTrig High->Low - - 'Channel Count - Public Const P9111_CHANNEL_DO As Short = 0 - Public Const P9111_CHANNEL_EDO As Short = 1 - Public Const P9111_CHANNEL_DI As Short = 0 - Public Const P9111_CHANNEL_EDI As Short = 1 - - 'Trigger Mode - Public Const P9111_TRGMOD_SOFT As Short = 0 'Software Trigger Mode - Public Const P9111_TRGMOD_PRE As Short = 1 'Pre-Trigger Mode - Public Const P9111_TRGMOD_POST As Short = 2 'Post Trigger Mode - - 'EDO function - Public Const P9111_EDO_INPUT As Short = 1 'EDO port set as Input port - Public Const P9111_EDO_OUT_EDO As Short = 2 'EDO port set as Output port - Public Const P9111_EDO_OUT_CHN As Short = 3 'EDO port set as channel number ouput port - - 'AO Setting - Public Const P9111_AO_UNIPOLAR As Short = 0 - Public Const P9111_AO_BIPOLAR As Short = 1 - - '--------- Constants for PCI-9118 -------------- - Public Const P9118_AI_BiPolar As Short = &H0S - Public Const P9118_AI_UniPolar As Short = &H1S - - Public Const P9118_AI_SingEnded As Short = &H0S - Public Const P9118_AI_Differential As Short = &H2S - - Public Const P9118_AI_ExtG As Short = &H4S - - Public Const P9118_AI_ExtTrig As Short = &H8S - - Public Const P9118_AI_DtrgNegative As Short = &H0S - Public Const P9118_AI_DtrgPositive As Short = &H10S - - Public Const P9118_AI_EtrgNegative As Short = &H0S - Public Const P9118_AI_EtrgPositive As Short = &H20S - - Public Const P9118_AI_BurstModeEn As Short = &H40S - Public Const P9118_AI_SampleHold As Short = &H80S - Public Const P9118_AI_PostTrgEn As Short = &H100S - Public Const P9118_AI_AboutTrgEn As Short = &H200S - - '--------- Constants for PCI-9812/9810 -------------- - 'Channel Count - Public Const P9116_AI_LocalGND As Short = &H0S - Public Const P9116_AI_UserCMMD As Short = &H1S - Public Const P9116_AI_SingEnded As Short = &H0S - Public Const P9116_AI_Differential As Short = &H2S - Public Const P9116_AI_BiPolar As Short = &H0S - Public Const P9116_AI_UniPolar As Short = &H4S - - Public Const P9116_TRGMOD_SOFT As Short = &H0S 'Software Trigger Mode - Public Const P9116_TRGMOD_POST As Short = &H10S 'Post Trigger Mode - Public Const P9116_TRGMOD_DELAY As Short = &H20S 'Delay Trigger Mode - Public Const P9116_TRGMOD_PRE As Short = &H30S 'Pre-Trigger Mode - Public Const P9116_TRGMOD_MIDL As Short = &H40S 'Middle Trigger Mode - Public Const P9116_AI_TrgPositive As Short = &H0S - Public Const P9116_AI_TrgNegative As Short = &H80S - Public Const P9116_AI_IntTimeBase As Short = &H0S - Public Const P9116_AI_ExtTimeBase As Short = &H100S - Public Const P9116_AI_DlyInSamples As Short = &H200S - Public Const P9116_AI_DlyInTimebase As Short = &H0S - Public Const P9116_AI_ReTrigEn As Short = &H400S - Public Const P9116_AI_MCounterEn As Short = &H800S - Public Const P9116_AI_SoftPolling As Short = &H0S - Public Const P9116_AI_INT As Short = &H1000S - Public Const P9116_AI_DMA As Short = &H2000S - - '--------- Constants for PCI-9812/9810 -------------- - 'Channel Count - Public Const P9812_CHANNEL_CNT1 As Short = 1 - Public Const P9812_CHANNEL_CNT2 As Short = 2 - Public Const P9812_CHANNEL_CNT4 As Short = 4 - - 'Trigger Mode - Public Const P9812_TRGMOD_SOFT As Short = 0 'Software Trigger Mode - Public Const P9812_TRGMOD_POST As Short = 1 'Post Trigger Mode - Public Const P9812_TRGMOD_PRE As Short = 2 'Pre-Trigger Mode - Public Const P9812_TRGMOD_DELAY As Short = 3 'Delay Trigger Mode - Public Const P9812_TRGMOD_MIDL As Short = 4 'Middle Trigger Mode - - 'Trigger Source - Public Const P9812_TRGSRC_CH0 As Short = &H0S 'trigger source --CH0 - Public Const P9812_TRGSRC_CH1 As Short = &H8S 'trigger source --CH1 - Public Const P9812_TRGSRC_CH2 As Short = &H10S 'trigger source --CH2 - Public Const P9812_TRGSRC_CH3 As Short = &H18S 'trigger source --CH3 - Public Const P9812_TRGSRC_EXT_DIG As Short = &H20S 'External Digital Trigger - - 'Trigger Polarity - Public Const P9812_TRGSLP_POS As Short = &H0S 'Positive slope trigger - Public Const P9812_TRGSLP_NEG As Short = &H40S 'Negative slope trigger - - 'Frequency Selection - Public Const P9812_AD2_GT_PCI As Short = &H80S 'Freq. of A/D clock > PCI clock freq. - Public Const P9812_AD2_LT_PCI As Short = &H0S 'Freq. of A/D clock < PCI clock freq. - - 'Clock Source - Public Const P9812_CLKSRC_INT As Short = &H0S 'Internal clock - Public Const P9812_CLKSRC_EXT_SIN As Short = &H100S 'External SIN wave clock - Public Const P9812_CLKSRC_EXT_DIG As Short = &H200S 'External Square wave clock - - '-------- Constants for PCI-9221 -------------------- - 'Input Type - Public Const P9221_AI_SingEnded As Short = &H0S - Public Const P9221_AI_NonRef_SingEnded As Short = &H1S - Public Const P9221_AI_Differential As Short = &H2S - - 'Trigger Mode - Public Const P9221_TRGMOD_SOFT As Short = &H0S - Public Const P9221_TRGMOD_ExtD As Short = &H8S - 'Trigger Source - Public Const P9221_TRGSRC_GPI0 As Short = &H0S - Public Const P9221_TRGSRC_GPI1 As Short = &H1S - Public Const P9221_TRGSRC_GPI2 As Short = &H2S - Public Const P9221_TRGSRC_GPI3 As Short = &H3S - Public Const P9221_TRGSRC_GPI4 As Short = &H4S - Public Const P9221_TRGSRC_GPI5 As Short = &H5S - Public Const P9221_TRGSRC_GPI6 As Short = &H6S - Public Const P9221_TRGSRC_GPI7 As Short = &H7S - - 'Trigger Polarity - Public Const P9221_AI_TrgPositive As Short = &H00S - Public Const P9221_AI_TrgNegative As Short = &H10S - - 'TimeBase Mode - Public Const P9221_AI_IntTimeBase As Short = &H0S - Public Const P9221_AI_ExtTimeBase As Short = &H80S - - 'TimeBase Source - Public Const P9221_TimeBaseSRC_GPI0 As Short = &H0S - Public Const P9221_TimeBaseSRC_GPI1 As Short = &H10S - Public Const P9221_TimeBaseSRC_GPI2 As Short = &H20S - Public Const P9221_TimeBaseSRC_GPI3 As Short = &H30S - Public Const P9221_TimeBaseSRC_GPI4 As Short = &H40S - Public Const P9221_TimeBaseSRC_GPI5 As Short = &H50S - Public Const P9221_TimeBaseSRC_GPI6 As Short = &H60S - Public Const P9221_TimeBaseSRC_GPI7 As Short = &H70S - - 'DAQ Event type for the event message - Public Const AIEnd As Short = 0 - Public Const A0End As Short = 0 - Public Const DIEnd As Short = 0 - Public Const DOEnd As Short = 0 - Public Const DBEvent As Short = 1 - Public Const TrigEvent As Short = 2 - - 'EMG shdn ctrl code - Public Const EMGSHDN_OFF As Short = 0 'off - Public Const EMGSHDN_ON As Short = 1 'on - Public Const EMGSHDN_RECOVERY As Short = 2 'recovery - - 'Hot Reset Hold ctrl code - Public Const HRH_OFF As Short = 0 'off - Public Const HRH_ON As Short = 1 'on - - 'COS Counter OP - Public Const COS_COUNTER_RESET As Short = 0 - Public Const COS_COUNTER_SETUP As Short = 1 - Public Const COS_COUNTER_START As Short = 2 - Public Const COS_COUNTER_STOP As Short = 3 - Public Const COS_COUNTER_READ As Short = 4 - - '--------- Constants for Timer/Counter -------------- - 'Counter Mode (8254) - Public Const TOGGLE_OUTPUT As Short = 0 'Toggle output from low to high on terminal count - Public Const PROG_ONE_SHOT As Short = 1 'Programmable one-shot - Public Const RATE_GENERATOR As Short = 2 'Rate generator - Public Const SQ_WAVE_RATE_GENERATOR As Short = 3 'Square wave rate generator - Public Const SOFT_TRIG As Short = 4 'Software-triggered strobe - Public Const HARD_TRIG As Short = 5 'Hardware-triggered strobe - - '------- General Purpose Timer/Counter ----------------- - 'Counter Mode - Public Const General_Counter As Short = &H0S 'general counter - Public Const Pulse_Generation As Short = &H1S 'pulse generation - 'GPTC clock source - Public Const GPTC_CLKSRC_EXT As Short = &H8S - Public Const GPTC_CLKSRC_INT As Short = &H0S - Public Const GPTC_GATESRC_EXT As Short = &H10S - Public Const GPTC_GATESRC_INT As Short = &H0S - Public Const GPTC_UPDOWN_SELECT_EXT As Short = &H20S - Public Const GPTC_UPDOWN_SELECT_SOFT As Short = &H0S - Public Const GPTC_UP_CTR As Short = &H40S - Public Const GPTC_DOWN_CTR As Short = &H0S - Public Const GPTC_ENABLE As Short = &H80S - Public Const GPTC_DISABLE As Short = &H0S - - 'General Purpose Timer/Counter for 9221 - 'Counter Mode - Public Const SimpleGatedEventCNT As Short = &H01S - Public Const SinglePeriodMSR As Short = &H02S - Public Const SinglePulseWidthMSR As Short = &H03S - Public Const SingleGatedPulseGen As Short = &H04S - Public Const SingleTrigPulseGen As Short = &H05S - Public Const RetrigSinglePulseGen As Short = &H06S - Public Const SingleTrigContPulseGen As Short = &H07S - Public Const ContGatedPulseGen As Short = &H08S - Public Const EdgeSeparationMSR As Short = &H09S - Public Const SingleTrigContPulseGenPWM As Short = &H0AS - Public Const ContGatedPulseGenPWM As Short = &H0BS - Public Const CW_CCW_Encoder As Short = &H0CS - Public Const x1_AB_Phase_Encoder As Short = &H0DS - Public Const x2_AB_Phase_Encoder As Short = &H0ES - Public Const x4_AB_Phase_Encoder As Short = &H0FS - Public Const Phase_Z As Short = &H10S - - 'GPTC clock source - Public Const GPTC_CLK_SRC_Ext As Short = &H01S - Public Const GPTC_CLK_SRC_Int As Short = &H00S - Public Const GPTC_GATE_SRC_Ext As Short = &H02S - Public Const GPTC_GATE_SRC_Int As Short = &H00S - Public Const GPTC_UPDOWN_Ext As Short = &H04S - Public Const GPTC_UPDOWN_Int As Short = &H00S - - 'GPTC clock polarity - Public Const GPTC_CLKSRC_LACTIVE As Short = &H01S - Public Const GPTC_CLKSRC_HACTIVE As Short = &H00S - Public Const GPTC_GATE_LACTIVE As Short = &H02S - Public Const GPTC_GATE_HACTIVE As Short = &H00S - Public Const GPTC_UPDOWN_LACTIVE As Short = &H04S - Public Const GPTC_UPDOWN_HACTIVE As Short = &H00S - Public Const GPTC_OUTPUT_LACTIVE As Short = &H08S - Public Const GPTC_OUTPUT_HACTIVE As Short = &H00S - - Public Const IntGate As Short = &H00S - Public Const IntUpDnCTR As Short = &H01S - Public Const IntENABLE As Short = &H02S - - Public Const GPTC_EZ0_ClearPhase0 As Short = &H00S - Public Const GPTC_EZ0_ClearPhase1 As Short = &H01S - Public Const GPTC_EZ0_ClearPhase2 As Short = &H02S - Public Const GPTC_EZ0_ClearPhase3 As Short = &H03S - - Public Const GPTC_EZ0_ClearMode0 As Short = &H00S - Public Const GPTC_EZ0_ClearMode1 As Short = &H01S - Public Const GPTC_EZ0_ClearMode2 As Short = &H02S - Public Const GPTC_EZ0_ClearMode3 As Short = &H03S - - 'Watchdog Timer - 'Counter action - Public Const WDT_DISARM As Short = 0 - Public Const WDT_ARM As Short = 1 - Public Const WDT_RESTART As Short = 2 - - 'Pattern ID - Public Const INIT_PTN As Short = 0 - Public Const EMGSHDN_PTN As Short = 1 - - 'Pattern ID for 7442/7444 - Public Const INIT_PTN_CH0 As Short = 0 - Public Const INIT_PTN_CH1 As Short = 1 - Public Const INIT_PTN_CH2 As Short = 2 'only for 7444 - Public Const INIT_PTN_CH3 As Short = 3 'only for 7444 - Public Const SAFTOUT_PTN_CH0 As Short = 4 - Public Const SAFTOUT_PTN_CH1 As Short = 5 - Public Const SAFTOUT_PTN_CH2 As Short = 6 'only for 7444 - Public Const SAFTOUT_PTN_CH3 As Short = 7 'only for 7444 - - '16-bit binary or 4-decade BCD counter - Public Const BIN As Short = 0 - Public Const BCD As Short = 1 - - 'EEPROM - Public Const EEPROM_DEFAULT_BANK As Short = 0 - Public Const EEPROM_USER_BANK1 As Short = 1 - - '----------- 9524 Const ----------------- - 'AI Interrupt - Public Const P9524_INT_LC_EOC As Short = 2 - Public Const P9524_INT_GP_EOC As Short = 3 - 'DSP Constants - Public Const P9524_SPIKE_REJ_DISABLE As Short = 0 - Public Const P9524_SPIKE_REJ_ENABLE As Short = 1 - 'AI Transfer Mode - Public Const P9524_AI_XFER_POLL As Short = 0 - Public Const P9524_AI_XFER_DMA As Short = 1 - 'AI Poll all channels - Public Const P9524_AI_POLL_ALLCHANNELS As Short = 8 - Public Const P9524_AI_POLLSCANS_CH0_CH3 As Short = 8 - Public Const P9524_AI_POLLSCANS_CH0_CH2 As Short = 9 - Public Const P9524_AI_POLLSCANS_CH0_CH1 As Short = 10 - 'AI Transfer Speed - Public Const P9524_ADC_30K_SPS As Short = 0 - Public Const P9524_ADC_15K_SPS As Short = 1 - Public Const P9524_ADC_7K5_SPS As Short = 2 - Public Const P9524_ADC_3K75_SPS As Short = 3 - Public Const P9524_ADC_2K_SPS As Short = 4 - Public Const P9524_ADC_1K_SPS As Short = 5 - Public Const P9524_ADC_500_SPS As Short = 6 - Public Const P9524_ADC_100_SPS As Short = 7 - Public Const P9524_ADC_60_SPS As Short = 8 - Public Const P9524_ADC_50_SPS As Short = 9 - Public Const P9524_ADC_30_SPS As Short = 10 - Public Const P9524_ADC_25_SPS As Short = 11 - Public Const P9524_ADC_15_SPS As Short = 12 - Public Const P9524_ADC_10_SPS As Short = 13 - Public Const P9524_ADC_5_SPS As Short = 14 - Public Const P9524_ADC_2R5_SPS As Short = 15 - 'AI Configuration Mode - Public Const P9524_VEX_Range_2R5V As Short = &H00S - Public Const P9524_VEX_Range_10V As Short = &H01S - Public Const P9524_VEX_Sence_Local As Short = &H00S - Public Const P9524_VEX_Sence_Remote As Short = &H02S - Public Const P9524_AI_AZMode As Short = &H04S - Public Const P9524_AI_BufAutoReset As Short = &H08S - Public Const P9524_AI_EnEOCInt As Short = &H10S - 'AI Trigger configuration - Public Const P9524_TRGMOD_POST As Short = 0 - Public Const P9524_TRGSRC_SOFT As Short = 0 - Public Const P9524_TRGSRC_ExtD As Short = 1 - Public Const P9524_TRGSRC_SSI As Short = 2 - Public Const P9524_TRGSRC_QD0 As Short = 3 - Public Const P9524_TRGSRC_PG0 As Short = 4 - Public Const P9524_AI_TrgPositive As Short = 0 - Public Const P9524_AI_TrgNegative As Short = 8 - 'AI Group - Public Const P9524_AI_LC_Group As Short = 0 - Public Const P9524_AI_GP_Group As Short = 1 - 'AI Channel - Public Const P9524_AI_LC_CH0 As Short = 0 - Public Const P9524_AI_LC_CH1 As Short = 1 - Public Const P9524_AI_LC_CH2 As Short = 2 - Public Const P9524_AI_LC_CH3 As Short = 3 - Public Const P9524_AI_GP_CH0 As Short = 4 - Public Const P9524_AI_GP_CH1 As Short = 5 - Public Const P9524_AI_GP_CH2 As Short = 6 - Public Const P9524_AI_GP_CH3 As Short = 7 - - 'Counter Number - Public Const P9524_CTR_PG0 As Short = 0 - Public Const P9524_CTR_PG1 As Short = 1 - Public Const P9524_CTR_PG2 As Short = 2 - Public Const P9524_CTR_QD0 As Short = 3 - Public Const P9524_CTR_QD1 As Short = 4 - Public Const P9524_CTR_QD2 As Short = 5 - Public Const P9524_CTR_INTCOUNTER As Short = 6 - 'Counter Mode - Public Const P9524_PulseGen_OUTDIR_N As Short = 0 - Public Const P9524_PulseGen_OUTDIR_R As Short = 1 - Public Const P9524_PulseGen_CW As Short = 0 - Public Const P9524_PulseGen_CCW As Short = 2 - Public Const P9524_x4_AB_Phase_Decoder As Short = 3 - Public Const P9524_Timer As Short = 4 - 'Counter Op - Public Const P9524_CTR_Enable As Short = 0 - 'Event Mode - Public Const P9524_Event_Timer As Short = 0 - - 'AO - Public Const P9524_AO_CH0_1 As Short = 0 - - - '------Constants for PCI-6202------ - Public Const P6202_ISO0 As Short = 0 - Public Const P6202_TTL0 As Short = 1 - - Public Const P6202_GPTC0 As Short = 0 - Public Const P6202_GPTC1 As Short = 1 - Public Const P6202_ENCODER0 As Short = 2 - Public Const P6202_ENCODER1 As Short = 3 - Public Const P6202_ENCODER2 As Short = 4 - - 'DA control constant - Public Const P6202_DA_WRSRC_Int As Short = 0 - Public Const P6202_DA_WRSRC_AFI0 As Short = 1 - Public Const P6202_DA_WRSRC_SSI As Short = 2 - Public Const P6202_DA_WRSRC_AFI1 As Short = 3 - - 'DA trigger constant - Public Const P6202_DA_TRGSRC_SOFT As Short = &H00S - Public Const P6202_DA_TRGSRC_AFI0 As Short = &H01S - Public Const P6202_DA_TRSRC_SSI As Short = &H02S - Public Const P6202_DA_TRGSRC_AFI1 As Short = &H03S - Public Const P6202_DA_TRGMOD_POST As Short = &H00S - Public Const P6202_DA_TRGMOD_DELAY As Short = &H04S - Public Const P6202_DA_ReTrigEn As Short = &H20S - Public Const P6202_DA_DLY2En As Short = &H100S - - 'SSI signal code - Public Const P6202_SSI_DA_CONV As Short = &H04S - Public Const P6202_SSI_DA_TRIG As Short = &H40S - - 'Encoder constant - Public Const P6202_EVT_TYPE_EPT0 As Short = &H00S - Public Const P6202_EVT_TYPE_EPT1 As Short = &H01S - Public Const P6202_EVT_TYPE_EPT2 As Short = &H02S - Public Const P6202_EVT_TYPE_EZC0 As Short = &H03S - Public Const P6202_EVT_TYPE_EZC1 As Short = &H04S - Public Const P6202_EVT_TYPE_EZC2 As Short = &H05S - - Public Const P6202_EVT_MOD_EPT As Short = &H00S - - Public Const P6202_EPT_PULWIDTH_200us As Short = &H00S - Public Const P6202_EPT_PULWIDTH_2ms As Short = &H01S - Public Const P6202_EPT_PULWIDTH_20ms As Short = &H02S - Public Const P6202_EPT_PULWIDTH_200ms As Short = &H03S - - Public Const P6202_EPT_TRGOUT_CALLBACK As Short = &H04S - Public Const P6202_EPT_TRGOUT_AFI As Short = &H08S - - Public Const P6202_ENCODER0_LDATA As Short = &H05S - Public Const P6202_ENCODER1_LDATA As Short = &H06S - Public Const P6202_ENCODER2_LDATA As Short = &H07S - - '------------------------' - ' Constants for PCI-922x ' - '------------------------' - ' -- AI Constants -- ' - 'Input Type - Public Const P922x_AI_SingEnded As Short = &H00S - Public Const P922x_AI_NonRef_SingEnded As Short = &H01S - Public Const P922x_AI_Differential As Short = &H02S - - 'Conversion Source - Public Const P922x_AI_CONVSRC_INT As Short = &H00S - Public Const P922x_AI_CONVSRC_GPI0 As Short = &H10S - Public Const P922x_AI_CONVSRC_GPI1 As Short = &H20S - Public Const P922x_AI_CONVSRC_GPI2 As Short = &H30S - Public Const P922x_AI_CONVSRC_GPI3 As Short = &H40S - Public Const P922x_AI_CONVSRC_GPI4 As Short = &H50S - Public Const P922x_AI_CONVSRC_GPI5 As Short = &H60S - Public Const P922x_AI_CONVSRC_GPI6 As Short = &H70S - Public Const P922x_AI_CONVSRC_GPI7 As Short = &H80S - Public Const P922x_AI_CONVSRC_SSI1 As Short = &H90S - Public Const P922x_AI_CONVSRC_SSI As Short = &H90S - - 'Trigger Mode - Public Const P922x_AI_TRGMOD_POST As Short = &H00S - Public Const P922x_AI_TRGMOD_GATED As Short = &H01S - - 'Trigger Source - Public Const P922x_AI_TRGSRC_SOFT As Short = &H00S - Public Const P922x_AI_TRGSRC_GPI0 As Short = &H10S - Public Const P922x_AI_TRGSRC_GPI1 As Short = &H20S - Public Const P922x_AI_TRGSRC_GPI2 As Short = &H30S - Public Const P922x_AI_TRGSRC_GPI3 As Short = &H40S - Public Const P922x_AI_TRGSRC_GPI4 As Short = &H50S - Public Const P922x_AI_TRGSRC_GPI5 As Short = &H60S - Public Const P922x_AI_TRGSRC_GPI6 As Short = &H70S - Public Const P922x_AI_TRGSRC_GPI7 As Short = &H80S - Public Const P922x_AI_TRGSRC_SSI5 As Short = &H90S - Public Const P922x_AI_TRGSRC_SSI As Short = &H90S - - 'Trigger Polarity - Public Const P922x_AI_TrgPositive As Short = &H000S - Public Const P922x_AI_TrgNegative As Short = &H100S - - 'ReTrigger - Public Const P922x_AI_EnReTigger As Short = &H200S - - ' -- AO Constants -- ' - 'Conversion Source - Public Const P922x_AO_CONVSRC_INT As Short = &H00S - Public Const P922x_AO_CONVSRC_GPI0 As Short = &H01S - Public Const P922x_AO_CONVSRC_GPI1 As Short = &H02S - Public Const P922x_AO_CONVSRC_GPI2 As Short = &H03S - Public Const P922x_AO_CONVSRC_GPI3 As Short = &H04S - Public Const P922x_AO_CONVSRC_GPI4 As Short = &H05S - Public Const P922x_AO_CONVSRC_GPI5 As Short = &H06S - Public Const P922x_AO_CONVSRC_GPI6 As Short = &H07S - Public Const P922x_AO_CONVSRC_GPI7 As Short = &H08S - Public Const P922x_AO_CONVSRC_SSI2 As Short = &H09S - Public Const P922x_AO_CONVSRC_SSI As Short = &H09S - - 'Trigger Mode - Public Const P922x_AO_TRGMOD_POST As Short = &H00S - Public Const P922x_AO_TRGMOD_DELAY As Short = &H01S - - 'Trigger Source - Public Const P922x_AO_TRGSRC_SOFT As Short = &H00S - Public Const P922x_AO_TRGSRC_GPI0 As Short = &H10S - Public Const P922x_AO_TRGSRC_GPI1 As Short = &H20S - Public Const P922x_AO_TRGSRC_GPI2 As Short = &H30S - Public Const P922x_AO_TRGSRC_GPI3 As Short = &H40S - Public Const P922x_AO_TRGSRC_GPI4 As Short = &H50S - Public Const P922x_AO_TRGSRC_GPI5 As Short = &H60S - Public Const P922x_AO_TRGSRC_GPI6 As Short = &H70S - Public Const P922x_AO_TRGSRC_GPI7 As Short = &H80S - Public Const P922x_AO_TRGSRC_SSI6 As Short = &H90S - Public Const P922x_AO_TRGSRC_SSI As Short = &H90S - - 'Trigger Polarity - Public Const P922x_AO_TrgPositive As Short = &H000S - Public Const P922x_AO_TrgNegative As Short = &H100S - - 'Retrigger - Public Const P922x_AO_EnReTigger As Short = &H200S - - 'Trigger Delay 2 - Public Const P922x_AO_EnDelay2 As Short = &H400S - - ' -- DI Constants -- ' - 'Conversion Source - Public Const P922x_DI_CONVSRC_INT As Short = &H00S - Public Const P922x_DI_CONVSRC_GPI0 As Short = &H01S - Public Const P922x_DI_CONVSRC_GPI1 As Short = &H02S - Public Const P922x_DI_CONVSRC_GPI2 As Short = &H03S - Public Const P922x_DI_CONVSRC_GPI3 As Short = &H04S - Public Const P922x_DI_CONVSRC_GPI4 As Short = &H05S - Public Const P922x_DI_CONVSRC_GPI5 As Short = &H06S - Public Const P922x_DI_CONVSRC_GPI6 As Short = &H07S - Public Const P922x_DI_CONVSRC_GPI7 As Short = &H08S - Public Const P922x_DI_CONVSRC_ADCONV As Short = &H09S - Public Const P922x_DI_CONVSRC_DACONV As Short = &H0AS - - 'Trigger Mode - Public Const P922x_DI_TRGMOD_POST As Short = &H00S - - 'Trigger Source - Public Const P922x_DI_TRGSRC_SOFT As Short = &H00S - Public Const P922x_DI_TRGSRC_GPI0 As Short = &H10S - Public Const P922x_DI_TRGSRC_GPI1 As Short = &H20S - Public Const P922x_DI_TRGSRC_GPI2 As Short = &H30S - Public Const P922x_DI_TRGSRC_GPI3 As Short = &H40S - Public Const P922x_DI_TRGSRC_GPI4 As Short = &H50S - Public Const P922x_DI_TRGSRC_GPI5 As Short = &H60S - Public Const P922x_DI_TRGSRC_GPI6 As Short = &H70S - Public Const P922x_DI_TRGSRC_GPI7 As Short = &H80S - - 'Trigger Polarity - Public Const P922x_DI_TrgPositive As Short = &H000S - Public Const P922x_DI_TrgNegative As Short = &H100S - - 'ReTrigger - Public Const P922x_DI_EnReTigger As Short = &H200S - - ' -- DO Constants -- ' - 'Conversion Source - Public Const P922x_DO_CONVSRC_INT As Short = &H00S - Public Const P922x_DO_CONVSRC_GPI0 As Short = &H01S - Public Const P922x_DO_CONVSRC_GPI1 As Short = &H02S - Public Const P922x_DO_CONVSRC_GPI2 As Short = &H03S - Public Const P922x_DO_CONVSRC_GPI3 As Short = &H04S - Public Const P922x_DO_CONVSRC_GPI4 As Short = &H05S - Public Const P922x_DO_CONVSRC_GPI5 As Short = &H06S - Public Const P922x_DO_CONVSRC_GPI6 As Short = &H07S - Public Const P922x_DO_CONVSRC_GPI7 As Short = &H08S - Public Const P922x_DO_CONVSRC_ADCONV As Short = &H09S - Public Const P922x_DO_CONVSRC_DACONV As Short = &H0AS - - 'Trigger Mode - Public Const P922x_DO_TRGMOD_POST As Short = &H00S - Public Const P922x_DO_TRGMOD_DELAY As Short = &H01S - - 'Trigger Source - Public Const P922x_DO_TRGSRC_SOFT As Short = &H00S - Public Const P922x_DO_TRGSRC_GPI0 As Short = &H10S - Public Const P922x_DO_TRGSRC_GPI1 As Short = &H20S - Public Const P922x_DO_TRGSRC_GPI2 As Short = &H30S - Public Const P922x_DO_TRGSRC_GPI3 As Short = &H40S - Public Const P922x_DO_TRGSRC_GPI4 As Short = &H50S - Public Const P922x_DO_TRGSRC_GPI5 As Short = &H60S - Public Const P922x_DO_TRGSRC_GPI6 As Short = &H70S - Public Const P922x_DO_TRGSRC_GPI7 As Short = &H80S - - 'Trigger Polarity - Public Const P922x_DO_TrgPositive As Short = &H000S - Public Const P922x_DO_TrgNegative As Short = &H100S - - 'Retrigger - Public Const P922x_DO_EnReTigger As Short = &H200S - - ' -- Encoder/GPTC Constants -- ' - Public Const P922x_GPTC0 As Short = &H00S - Public Const P922x_GPTC1 As Short = &H01S - Public Const P922x_GPTC2 As Short = &H02S - Public Const P922x_GPTC3 As Short = &H03S - Public Const P922x_ENCODER0 As Short = &H04S - Public Const P922x_ENCODER1 As Short = &H05S - - 'Encoder Setting Event Mode - Public Const P922x_EVT_MOD_EPT As Short = &H00S - - 'Encoder Setting Event Control - Public Const P922x_EPT_PULWIDTH_200us As Short = &H00S - Public Const P922x_EPT_PULWIDTH_2ms As Short = &H01S - Public Const P922x_EPT_PULWIDTH_20ms As Short = &H02S - Public Const P922x_EPT_PULWIDTH_200ms As Short = &H03S - Public Const P922x_EPT_TRGOUT_GPO As Short = &H04S - Public Const P922x_EPT_TRGOUT_CALLBACK As Short = &H08S - - 'Event Type - Public Const P922x_EVT_TYPE_EPT0 As Short = &H00S - Public Const P922x_EVT_TYPE_EPT1 As Short = &H01S - - 'SSI signal code - Public Const P922x_SSI_AI_CONV As Short = &H02S - Public Const P922x_SSI_AI_TRIG As Short = &H20S - Public Const P922x_SSI_AO_CONV As Short = &H04S - Public Const P922x_SSI_AO_TRIG As Short = &H40S - - '------------------------' - 'Constants for PCIe-7350 ' - '------------------------' - Public Const P7350_PortDIO As Short = 0 - Public Const P7350_PortAFI As Short = 1 - 'DIO Port - Public Const P7350_DIO_A As Short = 0 - Public Const P7350_DIO_B As Short = 1 - Public Const P7350_DIO_C As Short = 2 - Public Const P7350_DIO_D As Short = 3 - 'AFI Port - Public Const P7350_AFI_0 As Short = 0 - Public Const P7350_AFI_1 As Short = 1 - Public Const P7350_AFI_2 As Short = 2 - Public Const P7350_AFI_3 As Short = 3 - Public Const P7350_AFI_4 As Short = 4 - Public Const P7350_AFI_5 As Short = 5 - Public Const P7350_AFI_6 As Short = 6 - Public Const P7350_AFI_7 As Short = 7 - 'AFI Mode - Public Const P7350_AFI_DIStartTrig As Short = 0 - Public Const P7350_AFI_DOStartTrig As Short = 1 - Public Const P7350_AFI_DIPauseTrig As Short = 2 - Public Const P7350_AFI_DOPauseTri As Short = 3 - Public Const P7350_AFI_DISWTrigOut As Short = 4 - Public Const P7350_AFI_DOSWTrigOut As Short =5 - Public Const P7350_AFI_COSTrigOut As Short = 6 - Public Const P7350_AFI_PMTrigOut As Short = 7 - Public Const P7350_AFI_HSDIREQ As Short = 8 - Public Const P7350_AFI_HSDIACK As Short = 9 - Public Const P7350_AFI_HSDITRIG As Short = 10 - Public Const P7350_AFI_HSDOREQ As Short = 11 - Public Const P7350_AFI_HSDOACK As Short = 12 - Public Const P7350_AFI_HSDOTRIG As Short = 13 - Public Const P7350_AFI_SPI As Short = 14 - Public Const P7350_AFI_I2C As Short = 15 - Public Const P7350_POLL_DI As Short = 16 - Public Const P7350_POLL_DO As Short = 17 - 'Operation Mode - Public Const P7350_FreeRun As Short = 0 - Public Const P7350_HandShake As Short = 1 - Public Const P7350_BurstHandShake As Short = 2 - 'Trigger Status - Public Const P7350_WAIT_NO As Short = 0 - Public Const P7350_WAIT_EXTTRG As Short = 1 - Public Const P7350_WAIT_SOFTTRG As Short = 2 - 'Sampled Clock - Public Const P7350_IntSampledCLK As Short = &H00S - Public Const P7350_ExtSampledCLK As Short = &H01S - 'Sampled Clock Edge - Public Const P7350_SampledCLK_R As Short = &H00S - Public Const P7350_SampledCLK_F As Short = &H02S - 'Enable Export Sample Clock*/ - Public Const P7350_EnExpSampledCLK As Short = &H04S - 'Trigger Configuration - Public Const P7350_EnPauseTrig As Short = &H01S - Public Const P7350_EnSoftTrigOut As Short = &H02S - 'HandShake & Trigger Polarity - Public Const P7350_DIREQ_POS As Short = &H00S - Public Const P7350_DIREQ_NEG As Short = &H01S - Public Const P7350_DIACK_POS As Short = &H00S - Public Const P7350_DIACK_NEG As Short = &H02S - Public Const P7350_DITRIG_POS As Short = &H00S - Public Const P7350_DITRIG_NEG As Short = &H04S - Public Const P7350_DIStartTrig_POS As Short = &H00S - Public Const P7350_DIStartTrig_NEG As Short = &H08S - Public Const P7350_DIPauseTrig_POS As Short = &H00S - Public Const P7350_DIPauseTrig_NEG As Short = &H10S - Public Const P7350_DOREQ_POS As Short = &H00S - Public Const P7350_DOREQ_NEG As Short = &H01S - Public Const P7350_DOACK_POS As Short = &H00S - Public Const P7350_DOACK_NEG As Short = &H02S - Public Const P7350_DOTRIG_POS As Short = &H00S - Public Const P7350_DOTRIG_NEG As Short = &H04S - Public Const P7350_DOStartTrig_POS As Short = &H00S - Public Const P7350_DOStartTrig_NEG As Short = &H08S - Public Const P7350_DOPauseTrig_POS As Short = &H00S - Public Const P7350_DOPauseTrig_NEG As Short = &H10S - 'External Sampled Clock Source - Public Const P7350_ECLK_IN As Short = 8 - 'Export Sampled Clock - Public Const P7350_ECLK_OUT As Short = 8 - 'Enable Dynamic Delay Adjust - Public Const P7350_DisDDA As Short = &H00S - Public Const P7350_EnDDA As Short = &H01S - 'Dynamic Delay Adjust Mode - Public Const P7350_DDA_Lag As Short = &H00S - Public Const P7350_DDA_Lead As Short = &H02S - 'Dynamic Delay Adjust Step - Public Const P7350_DDA_130PS As Short = 0 - Public Const P7350_DDA_260PS As Short = 1 - Public Const P7350_DDA_390PS As Short = 2 - Public Const P7350_DDA_520PS As Short = 3 - Public Const P7350_DDA_650PS As Short = 4 - Public Const P7350_DDA_780PS As Short = 5 - Public Const P7350_DDA_910PS As Short = 6 - Public Const P7350_DDA_1R04NS As Short = 7 - 'Enable Dynamic Phase Adjust - Public Const P7350_DisDPA As Short = &H00S - Public Const P7350_EnDPA As Short = &H01S - 'Dynamic Delay Adjust Degree - Public Const P7350_DPA_0DG As Short = 0 - Public Const P7350_DPA_22R5DG As Short = 1 - Public Const P7350_DPA_45DG As Short = 2 - Public Const P7350_DPA_67R5DG As Short = 3 - Public Const P7350_DPA_90DG As Short = 4 - Public Const P7350_DPA_112R5DG As Short = 5 - Public Const P7350_DPA_135DG As Short = 6 - Public Const P7350_DPA_157R5DG As Short = 7 - Public Const P7350_DPA_180DG As Short = 8 - Public Const P7350_DPA_202R5DG As Short = 9 - Public Const P7350_DPA_225DG As Short = 10 - Public Const P7350_DPA_247R5DG As Short = 11 - Public Const P7350_DPA_270DG As Short = 12 - Public Const P7350_DPA_292R5DG As Short = 13 - Public Const P7350_DPA_315DG As Short = 14 - Public Const P7350_DPA_337R5DG As Short = 15 - - 'DIO & AFI Voltage Level - Public Const VoltLevel_3R3 As Short = 0 - Public Const VoltLevel_2R5 As Short = 1 - Public Const VoltLevel_1R8 As Short = 2 - - 'Constants for I Squared C (I2C) - 'I2C Port - Public Const I2C_Port_A As Short = 0 - 'I2C Control Operation - Public Const I2C_ENABLE As Short = 0 - Public Const I2C_STOP As Short = 1 - - 'Constants for Serial Peripheral Interface - 'SPI Port*/ - Public Const SPI_Port_A As Short = 0 - 'SPI Clock Mode - Public Const SPI_CLK_L As Short = &H00S - Public Const SPI_CLK_H As Short = &H01S - 'SPI TX Polarity - Public Const SPI_TX_POS As Short = &H00S - Public Const SPI_TX_NEG As Short = &H02S - 'SPI RX Polarity - Public Const SPI_RX_POS As Short = &H00S - Public Const SPI_RX_NEG As Short = &H04S - 'SPI Transferred Order - Public Const SPI_MSB As Short = &H00S - Public Const SPI_LSB As Short = &H08S - 'SPI Control Operation - Public Const SPI_ENABLE As Short = 0 - - 'Constants for Pattern Match - 'Pattern Match Channel Mode - Public Const PATMATCH_CHNDisable As Short = 0 - Public Const PATMATCH_CHNEnable As Short = 1 - 'Pattern Match Channel Type - Public Const PATMATCH_Level_L As Short = 0 - Public Const PATMATCH_Level_H As Short = 1 - Public Const PATMATCH_Edge_R As Short = 2 - Public Const PATMATCH_Edge_F As Short = 3 - 'Pattern Match Operation - Public Const PATMATCH_STOP As Short = 0 - Public Const PATMATCH_START As Short = 1 - Public Const PATMATCH_RESTART As Short = 2 - - 'System Function - Declare Function WaitForSingleObject Lib "kernel32" (ByVal hHandle As Integer, ByVal dwMilliseconds As Integer) As Integer - Public Delegate Sub CallbackDelegate() - - '------------------------------------------------------------------- - ' PCIS-DASK Function prototype - '-----------------------------------------------------------------*/ - Declare Function Register_Card Lib "PCI-Dask64.dll" (ByVal cardType As Short, ByVal card_num As Short) As Short - Declare Function Release_Card Lib "PCI-Dask64.dll" (ByVal CardNumber As Short) As Short - Declare Function GetActualRate Lib "PCI-Dask64.dll" (ByVal CardNumber As Short, ByVal SampleRate As Double, ByRef ActualRate As Double) As Short - Declare Function GetActualRate_9524 Lib "PCI-Dask64.dll" (ByVal CardNumber As Short, ByVal Group As Short, ByVal SampleRate As Double, ByRef ActualRate As Double) As Short - Declare Function GetCardType Lib "PCI-Dask64.dll" (ByVal CardNumber As Short, ByRef cardType As Short) As Short - Declare Function GetBaseAddr Lib "PCI-Dask64.dll" (ByVal CardNumber As Short, ByRef BaseAddr As Integer, ByRef BaseAddr2 As Integer) As Short - Declare Function GetLCRAddr Lib "PCI-Dask64.dll" (ByVal CardNumber As Short, ByRef LcrAddr As Integer) As Short - Declare Function GetCardIndexFromID Lib "PCI-Dask64.dll" (ByVal CardNumber As Short, ByRef cardType As Short, ByRef cardIndex As Short) As Short - Declare Function EMGShutDownControl Lib "PCI-Dask64.dll" (ByVal CardNumber As Short, ByVal ctrl As Byte) As Short - Declare Function EMGShutDownStatus Lib "PCI-Dask64.dll" (ByVal CardNumber As Short, ByRef ctrl As Byte) As Short - Declare Function HotResetHoldControl Lib "PCI-Dask64.dll" (ByVal CardNumber As Short, ByVal Enable As Byte) As Short - Declare Function HotResetHoldStatus Lib "PCI-Dask64.dll" (ByVal CardNumber As Short, ByRef sts As Byte) As Short - Declare Function SetInitPattern Lib "PCI-Dask64.dll" (ByVal CardNumber As Short, ByVal patID As Byte, ByVal pattern As Integer) As Short - Declare Function GetInitPattern Lib "PCI-Dask64.dll" (ByVal CardNumber As Short, ByVal patID As Byte, ByRef pattern As Integer) As Short - Declare Function IdentifyLED_Control Lib "PCI-Dask64.dll" (ByVal CardNumber As Short, ByVal ctrl As Byte) As Short - - 'AI Functions - Declare Function AI_9111_Config Lib "PCI-Dask64.dll" (ByVal CardNumber As Short, ByVal TrigSource As Short, ByVal TrgMode As Short, ByVal TraceCnt As Short) As Short - Declare Function AI_9112_Config Lib "PCI-Dask64.dll" (ByVal CardNumber As Short, ByVal TrigSource As Short) As Short - Declare Function AI_9113_Config Lib "PCI-Dask64.dll" (ByVal CardNumber As Short, ByVal TrigSource As Short) As Short - Declare Function AI_9114_Config Lib "PCI-Dask64.dll" (ByVal CardNumber As Short, ByVal TrigSource As Short) As Short - Declare Function AI_9114_PreTrigConfig Lib "PCI-Dask64.dll" (ByVal CardNumber As Short, ByVal PreTrgEn As Short, ByVal TraceCnt As Short) As Short - Declare Function AI_9116_Config Lib "PCI-Dask64.dll" (ByVal CardNumber As Short, ByVal ConfigCtrl As Short, ByVal TrigCtrl As Short, ByVal PostCnt As Short, ByVal MCnt As Short, ByVal ReTrgCnt As Short) As Short - Declare Function AI_9118_Config Lib "PCI-Dask64.dll" (ByVal CardNumber As Short, ByVal ModeCtrl As Short, ByVal FunCtrl As Short, ByVal BurstCnt As Short, ByVal PostCnt As Short) As Short - Declare Function AI_9221_Config Lib "PCI-Dask64.dll" (ByVal CardNumber As Short, ByVal ConfigCtrl As Short, ByVal TrigCtrl As Short, ByVal AutoResetBuf As Byte) As Short - Declare Function AI_9812_Config Lib "PCI-Dask64.dll" (ByVal CardNumber As Short, ByVal TrgMode As Short, ByVal TrgSrc As Short, ByVal TrgPol As Short, ByVal ClkSel As Short, ByVal TrgLevel As Short, ByVal PostCnt As Short) As Short - Declare Function AI_9116_CounterInterval Lib "PCI-Dask64.dll" (ByVal CardNumber As Short, ByVal ScanIntrv As Integer, ByVal SampIntrv As Integer) As Short - Declare Function AI_9221_CounterInterval Lib "PCI-Dask64.dll" (ByVal CardNumber As Short, ByVal ScanIntrv As Integer, ByVal SampIntrv As Integer) As Short - Declare Function AI_9812_SetDiv Lib "PCI-Dask64.dll" (ByVal CardNumber As Short, ByVal pacerVal As Integer) As Short - Declare Function AI_9524_Config Lib "PCI-Dask64.dll" (ByVal CardNumber As Short, ByVal Group As Short, ByVal XMode As Short, ByVal ConfigCtrl As Short, ByVal TrigCtrl As Short, ByVal TrigValue As Integer) As Short - Declare Function AI_9524_PollConfig Lib "PCI-Dask64.dll" (ByVal CardNumber As Short, ByVal Group As Short, ByVal PollChannel As Short, ByVal PollRange As Short, ByVal PollSpeed As Short) As Short - Declare Function AI_9524_SetDSP Lib "PCI-Dask64.dll" (ByVal CardNumber As Short, ByVal Channel As Short, ByVal Mode As Short, ByVal DFStage As Short, ByVal SPKRejThreshold As Integer) As Short - Declare Function AI_9524_GetEOCEvent Lib "PCI-Dask64.dll" (ByVal CardNumber As Short, ByVal Group As Short, ByRef hEvent As Integer) As Short - Declare Function AI_9222_Config Lib "PCI-Dask64.dll" (ByVal CardNumber As Short, ByVal ConfigCtrl As Short, ByVal TrigCtrl As Short, ByVal ReTriggerCnt As Integer, ByVal AutoResetBuf As Byte) As Short - Declare Function AI_9222_CounterInterval Lib "PCI-Dask64.dll" (ByVal CardNumber As Short, ByVal ScanIntrv As Integer, ByVal SampIntrv As Integer) As Short - Declare Function AI_9223_Config Lib "PCI-Dask64.dll" (ByVal CardNumber As Short, ByVal ConfigCtrl As Short, ByVal TrigCtrl As Short, ByVal ReTriggerCnt As Integer, ByVal AutoResetBuf As Byte) As Short - Declare Function AI_9223_CounterInterval Lib "PCI-Dask64.dll" (ByVal CardNumber As Short, ByVal ScanIntrv As Integer, ByVal SampIntrv As Integer) As Short - Declare Function AI_922A_Config Lib "PCI-Dask64.dll" (ByVal CardNumber As Short, ByVal ConfigCtrl As Short, ByVal TrigCtrl As Short, ByVal ReTriggerCnt As Integer, ByVal AutoResetBuf As Byte) As Short - Declare Function AI_922A_CounterInterval Lib "PCI-Dask64.dll" (ByVal CardNumber As Short, ByVal ScanIntrv As Integer, ByVal SampIntrv As Integer) As Short - Declare Function AI_AsyncCheck Lib "PCI-Dask64.dll" (ByVal CardNumber As Short, ByRef Stopped As Byte, ByRef AccessCnt As Integer) As Short - Declare Function AI_AsyncClear Lib "PCI-Dask64.dll" (ByVal CardNumber As Short, ByRef AccessCnt As Integer) As Short - Declare Function AI_AsyncDblBufferHalfReady Lib "PCI-Dask64.dll" (ByVal CardNumber As Short, ByRef HalfReady As Byte, ByRef StopFlag As Byte) As Short - Declare Function AI_AsyncDblBufferMode Lib "PCI-Dask64.dll" (ByVal CardNumber As Short, ByVal Enable As Byte) As Short - Declare Function AI_AsyncDblBufferTransfer Lib "PCI-Dask64.dll" (ByVal CardNumber As Short, ByRef Buffer As Short) As Short - Declare Function AI_AsyncDblBufferHandled Lib "PCI-Dask64.dll" (ByVal CardNumber As Short) As Short - Declare Function AI_AsyncDblBufferToFile Lib "PCI-Dask64.dll" (ByVal CardNumber As Short) As Short - Declare Function AI_ContReadChannel Lib "PCI-Dask64.dll" (ByVal CardNumber As Short, ByVal Channel As Short, ByVal AdRange As Short, ByRef Buffer As Short, ByVal ReadCount As Integer, ByVal SampleRate As Double, ByVal SyncMode As Short) As Short - Declare Function AI_ContScanChannels Lib "PCI-Dask64.dll" (ByVal CardNumber As Short, ByVal Channel As Short, ByVal AdRange As Short, ByRef Buffer As Short, ByVal ReadCount As Integer, ByVal SampleRate As Double, ByVal SyncMode As Short) As Short - Declare Function AI_ContReadMultiChannels Lib "PCI-Dask64.dll" (ByVal CardNumber As Short, ByVal NumChans As Short, ByRef chans As Short, ByRef AdRanges As Short, ByRef Buffer As Short, ByVal ReadCount As Integer, ByVal SampleRate As Double, ByVal SyncMode As Short) As Short - Declare Function AI_ContReadChannelToFile Lib "PCI-Dask64.dll" (ByVal CardNumber As Short, ByVal Channel As Short, ByVal AdRange As Short, ByVal FileName As String, ByVal ReadCount As Integer, ByVal SampleRate As Double, ByVal SyncMode As Short) As Short - Declare Function AI_ContScanChannelsToFile Lib "PCI-Dask64.dll" (ByVal CardNumber As Short, ByVal Channel As Short, ByVal AdRange As Short, ByVal FileName As String, ByVal ReadCount As Integer, ByVal SampleRate As Double, ByVal SyncMode As Short) As Short - Declare Function AI_ContReadMultiChannelsToFile Lib "PCI-Dask64.dll" (ByVal CardNumber As Short, ByVal NumChans As Short, ByRef chans As Short, ByRef AdRanges As Short, ByVal FileName As String, ByVal ReadCount As Integer, ByVal SampleRate As Double, ByVal SyncMode As Short) As Short - Declare Function AI_ContStatus Lib "PCI-Dask64.dll" (ByVal CardNumber As Short, ByRef Status As Short) As Short - Declare Function AI_InitialMemoryAllocated Lib "PCI-Dask64.dll" (ByVal CardNumber As Short, ByRef MemSize As Integer) As Short - Declare Function AI_ReadChannel Lib "PCI-Dask64.dll" (ByVal CardNumber As Short, ByVal Channel As Short, ByVal AdRange As Short, ByRef Value As Short) As Short - Declare Function AI_ReadChannel32 Lib "PCI-Dask64.dll" (ByVal CardNumber As Short, ByVal Channel As Short, ByVal AdRange As Short, ByRef Value As Integer) As Short - Declare Function AI_VReadChannel Lib "PCI-Dask64.dll" (ByVal CardNumber As Short, ByVal Channel As Short, ByVal AdRange As Short, ByRef Voltage As Double) As Short - Declare Function AI_ScanReadChannels Lib "PCI-Dask64.dll" (ByVal CardNumber As Short, ByVal Channel As Short, ByVal AdRange As Short, ByRef Buffer As Short) As Short - Declare Function AI_ScanReadChannels32 Lib "PCI-Dask64.dll" (ByVal CardNumber As Short, ByVal Channel As Short, ByVal AdRange As Short, ByRef Buffer As Integer) As Short - Declare Function AI_ReadMultiChannels Lib "PCI-Dask64.dll" (ByVal CardNumber As Short, ByVal NumChans As Short, ByRef Chans As Short, ByRef AdRanges As Short, ByRef Buffer As Short) As Short - Declare Function AI_VoltScale Lib "PCI-Dask64.dll" (ByVal CardNumber As Short, ByVal AdRange As Short, ByRef reading As Short, ByRef Voltage As Double) As Short - Declare Function AI_VoltScale32 Lib "PCI-Dask64.dll" (ByVal CardNumber As Short, ByVal AdRange As Short, ByRef reading As Integer, ByRef Voltage As Double) As Short - Declare Function AI_ContVScale Lib "PCI-Dask64.dll" (ByVal CardNumber As Short, ByVal AdRange As Short, ByRef readingArray As Short, ByRef voltageArray As Double, ByVal CCount As Integer) As Short - Declare Function AI_ContVScale Lib "PCI-Dask64.dll" (ByVal CardNumber As Short, ByVal AdRange As Short, ByRef readingArray As Integer, ByRef voltageArray As Double, ByVal CCount As Integer) As Short - Declare Function AI_AsyncDblBufferOverrun Lib "PCI-Dask64.dll" (ByVal CardNumber As Short, ByVal op As Short, ByRef overrunFlag As Short) As Short - Declare Function AI_EventCallBack_x64 Lib "PCI-Dask64.dll" (ByVal CardNumber As Short, ByVal Mode As Short, ByVal EventType As Short, ByVal callbackAddr As CallbackDelegate) As Short - Declare Function AI_SetTimeOut Lib "PCI-Dask64.dll" (ByVal CardNumber As Short, ByVal TimeOut As Integer) As Short - Declare Function AI_ContBufferReset Lib "PCI-Dask64.dll" (ByVal CardNumber As Short) As Short - Declare Function AI_ContBufferSetup Lib "PCI-Dask64.dll" (ByVal CardNumber As Short, ByRef Buffer As Short, ByVal ReadCount As Integer, ByRef BufferId As Short) As Short - Declare Function AI_AsyncReTrigNextReady Lib "PCI-Dask64.dll" (ByVal CardNumber As Short, ByRef Ready As Byte, ByRef StopFlag As Byte, ByRef RdyTrigCnt As Short) As Short - - 'AO Functions - Declare Function AO_6202_Config Lib "PCI-Dask64.dll" (ByVal CardNumber As Short, ByVal ConfigCtrl As Short, ByVal TrigCtrl As Short, ByVal ReTrgCnt As Integer, ByVal DLY1Cnt As Integer, ByVal DLY2Cnt As Integer, ByVal AutoResetBuf As Byte) As Short - Declare Function AO_6208A_Config Lib "PCI-Dask64.dll" (ByVal CardNumber As Short, ByVal V2AMode As Short) As Short - Declare Function AO_6308A_Config Lib "PCI-Dask64.dll" (ByVal CardNumber As Short, ByVal V2AMode As Short) As Short - Declare Function AO_6308V_Config Lib "PCI-Dask64.dll" (ByVal CardNumber As Short, ByVal Channel As Short, ByVal OutputPolarity As Short, ByVal refVoltage As Double) As Short - Declare Function AO_9111_Config Lib "PCI-Dask64.dll" (ByVal CardNumber As Short, ByVal OutputPolarity As Short) As Short - Declare Function AO_9112_Config Lib "PCI-Dask64.dll" (ByVal CardNumber As Short, ByVal Channel As Short, ByVal refVoltage As Double) As Short - Declare Function AO_9222_Config Lib "PCI-Dask64.dll" (ByVal CardNumber As Short, ByVal ConfigCtrl As Short, ByVal TrigCtrl As Short, ByVal ReTrgCnt As Integer, ByVal DLY1Cnt As Integer, ByVal DLY2Cnt As Integer, ByVal AutoResetBuf As Byte) As Short - Declare Function AO_9223_Config Lib "PCI-Dask64.dll" (ByVal CardNumber As Short, ByVal ConfigCtrl As Short, ByVal TrigCtrl As Short, ByVal ReTrgCnt As Integer, ByVal DLY1Cnt As Integer, ByVal DLY2Cnt As Integer, ByVal AutoResetBuf As Byte) As Short - Declare Function AO_InitialMemoryAllocated Lib "PCI-Dask64.dll" (ByVal CardNumber As Short, ByRef MemSize As Integer) As Short - Declare Function AO_AsyncCheck Lib "PCI-Dask64.dll" (ByVal CardNumber As Short, ByRef Stopped As Byte, ByRef AccessCnt As Integer) As Short - Declare Function AO_AsyncClear Lib "PCI-Dask64.dll" (ByVal CardNumber As Short, ByRef AccessCnt As Integer, ByVal stop_mode As Short) As Short - Declare Function AO_AsyncDblBufferHalfReady Lib "PCI-Dask64.dll" (ByVal CardNumber As Short, ByRef HalfReady As Byte) As Short - Declare Function AO_AsyncDblBufferMode Lib "PCI-Dask64.dll" (ByVal CardNumber As Short, ByVal Enable As Byte) As Short - Declare Function AO_ContBufferCompose Lib "PCI-Dask64.dll" (ByVal CardNumber As Short, ByVal TotalChnCount As Short, ByVal ChnNum As Short, ByVal UpdateCount As Integer, ByRef ConBuffer As Integer, ByRef Buffer As Integer) As Short - Declare Function AO_ContBufferReset Lib "PCI-Dask64.dll" (ByVal CardNumber As Short) As Short - Declare Function AO_ContBufferSetup Lib "PCI-Dask64.dll" (ByVal CardNumber As Short, ByVal Buffer As Short, ByVal WriteCount As Integer, ByRef BufferId As Short) As Short - Declare Function AO_ContBufferSetup Lib "PCI-Dask64.dll" (ByVal CardNumber As Short, ByVal Buffer As Integer, ByVal WriteCount As Integer, ByRef BufferId As Short) As Short - Declare Function AO_ContStatus Lib "PCI-Dask64.dll" (ByVal CardNumber As Short, ByRef Status As Short) As Short - Declare Function AO_ContWriteChannel Lib "PCI-Dask64.dll" (ByVal CardNumber As Short, ByVal Channel As Short, ByVal BufId As Short, ByVal WriteCount As Integer, ByVal Iterations As Integer, ByVal CHUI As Integer, ByVal definite As Short, ByVal SyncMode As Short) As Short - Declare Function AO_ContWriteMultiChannels Lib "PCI-Dask64.dll" (ByVal CardNumber As Short, ByVal NumChans As Short, ByVal Chans As Short, ByVal BufId As Short, ByVal WriteCount As Integer, ByVal Iterations As Integer, ByVal CHUI As Integer, ByVal definite As Short, ByVal SyncMode As Short) As Short - Declare Function AO_EventCallBack_x64 Lib "PCI-Dask64.dll" (ByVal CardNumber As Short, ByVal Mode As Short, ByVal EventType As Short, ByVal callbackAddr As CallbackDelegate) As Short - Declare Function AO_SetTimeOut Lib "PCI-Dask64.dll" (ByVal CardNumber As Short, ByVal TimeOut As Integer) As Short - Declare Function AO_SimuWriteChannel Lib "PCI-Dask64.dll" (ByVal CardNumber As Short, ByVal Group As Short, ByRef valueArray As Short) As Short - Declare Function AO_SimuVWriteChannel Lib "PCI-Dask64.dll" (ByVal CardNumber As Short, ByVal Group As Short, ByRef voltageArray As Double) As Short - Declare Function AO_WriteChannel Lib "PCI-Dask64.dll" (ByVal CardNumber As Short, ByVal Channel As Short, ByVal Value As Short) As Short - Declare Function AO_VWriteChannel Lib "PCI-Dask64.dll" (ByVal CardNumber As Short, ByVal Channel As Short, ByVal Voltage As Double) As Short - Declare Function AO_VoltScale Lib "PCI-Dask64.dll" (ByVal CardNumber As Short, ByVal Channel As Short, ByVal Voltage As Double, ByRef binValue As Short) As Short - - 'DI Functions - Declare Function DI_7200_Config Lib "PCI-Dask64.dll" (ByVal CardNumber As Short, ByVal TrigSource As Short, ByVal ExtTrigEn As Short, ByVal TrigPol As Short, ByVal I_REQ_Pol As Short) As Short - Declare Function DI_7233_ForceLogic Lib "PCI-Dask64.dll" (ByVal CardNumber As Short, ByVal ConfigCtrl As Short) As Short - Declare Function DI_7300A_Config Lib "PCI-Dask64.dll" (ByVal CardNumber As Short, ByVal PortWidth As Short, ByVal TrigSource As Short, ByVal WaitStatus As Short, ByVal Terminaor As Short, ByVal I_REQ_Pol As Short, ByVal clear_fifo As Byte, ByVal disable_di As Byte) As Short - Declare Function DI_7300B_Config Lib "PCI-Dask64.dll" (ByVal CardNumber As Short, ByVal PortWidth As Short, ByVal TrigSource As Short, ByVal WaitStatus As Short, ByVal Terminator As Short, ByVal I_Cntrl_Pol As Short, ByVal clear_fifo As Byte, ByVal disable_di As Byte) As Short - Declare Function DI_7350_Config Lib "PCI-Dask64.dll" (ByVal CardNumber As Short, ByVal DIPortWidth As Short, ByVal DIMode As Short, ByVal DIWaitStatus As Short, ByVal DIClkConfig As Short) As Short - Declare Function DI_7350_TrigHSConfig Lib "PCI-Dask64.dll" (ByVal CardNumber As Short, ByVal TrigConfig As Short, ByVal DI_IPOL As Short, ByVal DI_REQSrc As Short, ByVal DI_ACKSrc As Short, ByVal DI_TRIGSrc As Short, ByVal StartTrigSrc As Short, ByVal PauseTrigSrc As Short, ByVal SoftTrigOutSrc As Short, ByVal SoftTrigOutLength As Integer, ByVal TrigCount As Integer) As Short - Declare Function DI_7350_ExtSampCLKConfig Lib "PCI-Dask64.dll" (ByVal CardNumber As Short, ByVal CLK_Src As Short, ByVal CLK_DDAMode As Short, ByVal CLK_DPAMode As Short, ByVal CLK_DDAVlaue As Short, ByVal CLK_DPAVlaue As Short) As Short - Declare Function DI_7350_ExportSampCLKConfig Lib "PCI-Dask64.dll" (ByVal CardNumber As Short, ByVal CLK_Src As Short, ByVal CLK_DPAMode As Short, ByVal CLK_DPAVlaue As Short) As Short - Declare Function DI_7350_SoftTriggerGen Lib "PCI-Dask64.dll" (ByVal CardNumber As Short) As Short - Declare Function DI_7350_BurstHandShakeDelay Lib "PCI-Dask64.dll" (ByVal CardNumber As Short, ByVal Delay As Byte) As Short - Declare Function DI_9222_Config Lib "PCI-Dask64.dll" (ByVal CardNumber As Short, ByVal ConfigCtrl As Short, ByVal TrigCtrl As Short, ByVal ReTriggerCnt As Integer, ByVal AutoResetBuf As Byte) As Short - Declare Function DI_9223_Config Lib "PCI-Dask64.dll" (ByVal CardNumber As Short, ByVal ConfigCtrl As Short, ByVal TrigCtrl As Short, ByVal ReTriggerCnt As Integer, ByVal AutoResetBuf As Byte) As Short - Declare Function DI_AsyncCheck Lib "PCI-Dask64.dll" (ByVal CardNumber As Short, ByRef Stopped As Byte, ByRef AccessCnt As Integer) As Short - Declare Function DI_AsyncClear Lib "PCI-Dask64.dll" (ByVal CardNumber As Short, ByRef AccessCnt As Integer) As Short - Declare Function DI_AsyncDblBufferHalfReady Lib "PCI-Dask64.dll" (ByVal CardNumber As Short, ByRef HalfReady As Byte) As Short - Declare Function DI_AsyncDblBufferMode Lib "PCI-Dask64.dll" (ByVal CardNumber As Short, ByVal Enable As Byte) As Short - Declare Function DI_AsyncDblBufferTransfer Lib "PCI-Dask64.dll" (ByVal CardNumber As Short, ByRef Buffer As Byte) As Short - Declare Function DI_AsyncDblBufferTransfer Lib "PCI-Dask64.dll" (ByVal CardNumber As Short, ByRef Buffer As Short) As Short - Declare Function DI_AsyncDblBufferTransfer Lib "PCI-Dask64.dll" (ByVal CardNumber As Short, ByRef Buffer As Integer) As Short - Declare Function DI_ContMultiBufferSetup Lib "PCI-Dask64.dll" (ByVal CardNumber As Short, ByRef Buffer As Byte, ByVal ReadCount As Integer, ByRef BufferId As Short) As Short - Declare Function DI_ContMultiBufferSetup Lib "PCI-Dask64.dll" (ByVal CardNumber As Short, ByRef Buffer As Short, ByVal ReadCount As Integer, ByRef BufferId As Short) As Short - Declare Function DI_ContMultiBufferSetup Lib "PCI-Dask64.dll" (ByVal CardNumber As Short, ByRef Buffer As Integer, ByVal ReadCount As Integer, ByRef BufferId As Short) As Short - Declare Function DI_ContMultiBufferStart Lib "PCI-Dask64.dll" (ByVal CardNumber As Short, ByVal Port As Short, ByVal SampleRate As Double) As Short - Declare Function DI_AsyncMultiBufferNextReady Lib "PCI-Dask64.dll" (ByVal CardNumber As Short, ByRef NextReady As Byte, ByRef BufferId As Short) As Short - Declare Function DI_ContReadPort Lib "PCI-Dask64.dll" (ByVal CardNumber As Short, ByVal Port As Short, ByRef Buffer As Byte, ByVal ReadCount As Integer, ByVal SampleRate As Double, ByVal SyncMode As Short) As Short - Declare Function DI_ContReadPort Lib "PCI-Dask64.dll" (ByVal CardNumber As Short, ByVal Port As Short, ByRef Buffer As UShort, ByVal ReadCount As Integer, ByVal SampleRate As Double, ByVal SyncMode As Short) As Short - Declare Function DI_ContReadPort Lib "PCI-Dask64.dll" (ByVal CardNumber As Short, ByVal Port As Short, ByRef Buffer As Integer, ByVal ReadCount As Integer, ByVal SampleRate As Double, ByVal SyncMode As Short) As Short - Declare Function DI_ContReadPortToFile Lib "PCI-Dask64.dll" (ByVal CardNumber As Short, ByVal Port As Short, ByVal FileName As String, ByVal ReadCount As Integer, ByVal SampleRate As Double, ByVal SyncMode As Short) As Short - Declare Function DI_ContStatus Lib "PCI-Dask64.dll" (ByVal CardNumber As Short, ByRef Status As Short) As Short - Declare Function DI_InitialMemoryAllocated Lib "PCI-Dask64.dll" (ByVal CardNumber As Short, ByRef MemSize As Integer) As Short - Declare Function DI_ReadPort Lib "PCI-Dask64.dll" (ByVal CardNumber As Short, ByVal Port As Short, ByRef Value As Integer) As Short - Declare Function DI_ReadLine Lib "PCI-Dask64.dll" (ByVal CardNumber As Short, ByVal Port As Short, ByVal LLine As Short, ByRef Value As Short) As Short - Declare Function DI_AsyncDblBufferOverrun Lib "PCI-Dask64.dll" (ByVal CardNumber As Short, ByVal op As Short, ByRef overrunFlag As Short) As Short - Declare Function DI_EventCallBack_x64 Lib "PCI-Dask64.dll" (ByVal CardNumber As Short, ByVal Mode As Short, ByVal EventType As Short, ByVal callbackAddr As CallbackDelegate) As Short - Declare Function DI_AsyncDblBufferHandled Lib "PCI-Dask64.dll" (ByVal CardNumber As Short) As Short - Declare Function DI_AsyncDblBufferToFile Lib "PCI-Dask64.dll" (ByVal CardNumber As Short) As Short - Declare Function DI_SetTimeOut Lib "PCI-Dask64.dll" (ByVal CardNumber As Short, ByVal TimeOut As Integer) As Short - Declare Function DI_ContBufferSetup Lib "PCI-Dask64.dll" (ByVal CardNumber As Short, ByRef Buffer As Short, ByVal ReadCount As Integer, ByRef BufferId As Short) As Short - Declare Function DI_ContBufferSetup Lib "PCI-Dask64.dll" (ByVal CardNumber As Short, ByRef Buffer As Integer, ByVal ReadCount As Integer, ByRef BufferId As Short) As Short - Declare Function DI_ContBufferReset Lib "PCI-Dask64.dll" (ByVal CardNumber As Short) As Short - Declare Function DI_AsyncReTrigNextReady Lib "PCI-Dask64.dll" (ByVal CardNumber As Short, ByRef Ready As Byte, ByRef StopFlag As Byte, ByRef RdyTrigCnt As Short) As Short - - 'DO Functions - Declare Function DO_7200_Config Lib "PCI-Dask64.dll" (ByVal CardNumber As Short, ByVal TrigSource As Short, ByVal OutReqEn As Short, ByVal OutTrigSig As Short) As Short - Declare Function DO_7300A_Config Lib "PCI-Dask64.dll" (ByVal CardNumber As Short, ByVal PortWidth As Short, ByVal TrigSource As Short, ByVal WaitStatus As Short, ByVal Terminaor As Short, ByVal O_REQ_Pol As Short) As Short - Declare Function DO_7300B_Config Lib "PCI-Dask64.dll" (ByVal CardNumber As Short, ByVal PortWidth As Short, ByVal TrigSource As Short, ByVal WaitStatus As Short, ByVal Terminator As Short, ByVal O_Cntrl_Pol As Short, ByVal FifoThreshold As Integer) As Short - Declare Function DO_7300B_SetDODisableMode Lib "PCI-Dask64.dll" (ByVal CardNumber As Short, ByVal Mode As Short) As Short - Declare Function DO_7350_Config Lib "PCI-Dask64.dll" (ByVal CardNumber As Short, ByVal DOPortWidth As Short, ByVal DOMode As Short, ByVal DOWaitStatus As Short, ByVal DOClkConfig As Short) As Short - Declare Function DO_7350_TrigHSConfig Lib "PCI-Dask64.dll" (ByVal CardNumber As Short, ByVal TrigConfig As Short, ByVal DO_IPOL As Short, ByVal DO_REQSrc As Short, ByVal DO_ACKSrc As Short, ByVal DO_TRIGSrc As Short, ByVal StartTrigSrc As Short, ByVal PauseTrigSrc As Short, ByVal SoftTrigOutSrc As Short, ByVal SoftTrigOutLength As Integer, ByVal TrigCount As Integer) As Short - Declare Function DO_7350_ExtSampCLKConfig Lib "PCI-Dask64.dll" (ByVal CardNumber As Short, ByVal CLK_Src As Short, ByVal CLK_DDAMode As Short, ByVal CLK_DPAMode As Short, ByVal CLK_DDAVlaue As Short, ByVal CLK_DPAVlaue As Short) As Short - Declare Function DO_7350_ExportSampCLKConfig Lib "PCI-Dask64.dll" (ByVal CardNumber As Short, ByVal CLK_Src As Short, ByVal CLK_DPAMode As Short, ByVal CLK_DPAVlaue As Short) As Short - Declare Function DO_7350_SoftTriggerGen Lib "PCI-Dask64.dll" (ByVal CardNumber As Short) As Short - Declare Function DO_7350_BurstHandShakeDelay Lib "PCI-Dask64.dll" (ByVal CardNumber As Short, ByVal Delay As Byte) As Short - Declare Function DO_9222_Config Lib "PCI-Dask64.dll" (ByVal CardNumber As Short, ByVal ConfigCtrl As Short, ByVal TrigCtrl As Short, ByVal ReTrgCnt As Integer, ByVal DLY1Cnt As Integer, ByVal DLY2Cnt As Integer, ByVal AutoResetBuf As Byte) As Short - Declare Function DO_9223_Config Lib "PCI-Dask64.dll" (ByVal CardNumber As Short, ByVal ConfigCtrl As Short, ByVal TrigCtrl As Short, ByVal ReTrgCnt As Integer, ByVal DLY1Cnt As Integer, ByVal DLY2Cnt As Integer, ByVal AutoResetBuf As Byte) As Short - Declare Function DO_AsyncCheck Lib "PCI-Dask64.dll" (ByVal CardNumber As Short, ByRef Stopped As Byte, ByRef AccessCnt As Integer) As Short - Declare Function DO_AsyncClear Lib "PCI-Dask64.dll" (ByVal CardNumber As Short, ByRef AccessCnt As Integer) As Short - Declare Function DO_ContWritePort Lib "PCI-Dask64.dll" (ByVal CardNumber As Short, ByVal Port As Integer, ByRef Buffer As Byte, ByVal WriteCount As Integer, ByVal Iterations As Integer, ByVal SampleRate As Double, ByVal SyncMode As Short) As Short - Declare Function DO_ContWritePort Lib "PCI-Dask64.dll" (ByVal CardNumber As Short, ByVal Port As Integer, ByRef Buffer As UShort, ByVal WriteCount As Integer, ByVal Iterations As Integer, ByVal SampleRate As Double, ByVal SyncMode As Short) As Short - Declare Function DO_ContWritePort Lib "PCI-Dask64.dll" (ByVal CardNumber As Short, ByVal Port As Integer, ByRef Buffer As UInt32, ByVal WriteCount As Integer, ByVal Iterations As Integer, ByVal SampleRate As Double, ByVal SyncMode As Short) As Short - Declare Function DO_ContWritePortEx Lib "PCI-Dask64.dll" (ByVal CardNumber As Short, ByVal Port As Integer, ByRef Buffer As Byte, ByVal WriteCount As Integer, ByVal Iterations As Integer, ByVal SampleRate As Double, ByVal SyncMode As Short) As Short - Declare Function DO_ContWritePortEx Lib "PCI-Dask64.dll" (ByVal CardNumber As Short, ByVal Port As Integer, ByRef Buffer As UShort, ByVal WriteCount As Integer, ByVal Iterations As Integer, ByVal SampleRate As Double, ByVal SyncMode As Short) As Short - Declare Function DO_ContWritePortEx Lib "PCI-Dask64.dll" (ByVal CardNumber As Short, ByVal Port As Integer, ByRef Buffer As UInt32, ByVal WriteCount As Integer, ByVal Iterations As Integer, ByVal SampleRate As Double, ByVal SyncMode As Short) As Short - Declare Function DO_ContStatus Lib "PCI-Dask64.dll" (ByVal CardNumber As Short, ByRef Status As Short) As Short - Declare Function DO_InitialMemoryAllocated Lib "PCI-Dask64.dll" (ByVal CardNumber As Short, ByRef MemSize As Integer) As Short - Declare Function DO_PGStart Lib "PCI-Dask64.dll" (ByVal CardNumber As Short, ByRef Buffer As Byte, ByVal WriteCount As Integer, ByVal SampleRate As Double) As Short - Declare Function DO_PGStart Lib "PCI-Dask64.dll" (ByVal CardNumber As Short, ByRef Buffer As Short, ByVal WriteCount As Integer, ByVal SampleRate As Double) As Short - Declare Function DO_PGStart Lib "PCI-Dask64.dll" (ByVal CardNumber As Short, ByRef Buffer As UInt32, ByVal WriteCount As Integer, ByVal SampleRate As Double) As Short - Declare Function DO_PGStop Lib "PCI-Dask64.dll" (ByVal CardNumber As Short) As Short - Declare Function DO_WritePort Lib "PCI-Dask64.dll" (ByVal CardNumber As Short, ByVal Port As Short, ByVal Value As Integer) As Short - Declare Function DO_WriteLine Lib "PCI-Dask64.dll" (ByVal CardNumber As Short, ByVal Port As Short, ByVal LLine As Short, ByVal Value As Short) As Short - Declare Function DO_SimuWritePort Lib "PCI-Dask64.dll" (ByVal CardNumber As Short, ByVal NumChans As Short, ByRef Buffer As Integer) As Short - Declare Function DO_ReadLine Lib "PCI-Dask64.dll" (ByVal CardNumber As Short, ByVal Port As Short, ByVal LLine As Short, ByRef Value As Short) As Short - Declare Function DO_ReadPort Lib "PCI-Dask64.dll" (ByVal CardNumber As Short, ByVal Port As Short, ByRef Value As Integer) As Short - Declare Function EDO_9111_Config Lib "PCI-Dask64.dll" (ByVal CardNumber As Short, ByVal EDO_Fun As Short) As Short - Declare Function DO_WriteExtTrigLine Lib "PCI-Dask64.dll" (ByVal CardNumber As Short, ByVal Value As Short) As Short - Declare Function DO_ContMultiBufferSetup Lib "PCI-Dask64.dll" (ByVal CardNumber As Short, ByRef Buffer As Byte, ByVal WriteCount As Integer, ByRef BufferId As Short) As Short - Declare Function DO_ContMultiBufferSetup Lib "PCI-Dask64.dll" (ByVal CardNumber As Short, ByRef Buffer As Short, ByVal WriteCount As Integer, ByRef BufferId As Short) As Short - Declare Function DO_ContMultiBufferSetup Lib "PCI-Dask64.dll" (ByVal CardNumber As Short, ByRef Buffer As Integer, ByVal WriteCount As Integer, ByRef BufferId As Short) As Short - Declare Function DO_ContMultiBufferStart Lib "PCI-Dask64.dll" (ByVal CardNumber As Short, ByVal Port As Short, ByVal SampleRate As Double) As Short - Declare Function DO_AsyncMultiBufferNextReady Lib "PCI-Dask64.dll" (ByVal CardNumber As Short, ByRef NextReady As Byte, ByRef BufferId As Short) As Short - Declare Function DO_EventCallBack_x64 Lib "PCI-Dask64.dll" (ByVal CardNumber As Short, ByVal Mode As Short, ByVal EventType As Short, ByVal callbackAddr As Integer) As Short - Declare Function DO_SetTimeOut Lib "PCI-Dask64.dll" (ByVal CardNumber As Short, ByVal TimeOut As Integer) As Short - Declare Function DO_ContBufferSetup Lib "PCI-Dask64.dll" (ByVal CardNumber As Short, ByRef Buffer As Short, ByVal WriteCount As Integer, ByRef BufferId As Short) As Short - Declare Function DO_ContBufferSetup Lib "PCI-Dask64.dll" (ByVal CardNumber As Short, ByRef Buffer As Integer, ByVal WriteCount As Integer, ByRef BufferId As Short) As Short - Declare Function DO_ContBufferReset Lib "PCI-Dask64.dll" (ByVal CardNumber As Short) As Short - - 'DIO Functions - Declare Function DIO_PortConfig Lib "PCI-Dask64.dll" (ByVal CardNumber As Short, ByVal Port As Short, ByVal Direction As Short) As Short - Declare Function DIO_LinesConfig Lib "PCI-Dask64.dll" (ByVal CardNumber As Short, ByVal Port As Short, ByVal Linesdirmap As Short) As Short - Declare Function DIO_LineConfig Lib "PCI-Dask64.dll" (ByVal CardNumber As Short, ByVal Port As Short, ByVal wLine As Short, ByVal Direction As Short) As Short - Declare Function DIO_SetDualInterrupt Lib "PCI-Dask64.dll" (ByVal CardNumber As Short, ByVal Int1Mode As Short, ByVal Int2Mode As Short, ByRef hEvent As Integer) As Short - Declare Function DIO_SetCOSInterrupt Lib "PCI-Dask64.dll" (ByVal CardNumber As Short, ByVal Port As Short, ByVal ctlA As Short, ByVal ctlB As Short, ByVal ctlC As Short) As Short - Declare Function DIO_GetCOSLatchData Lib "PCI-Dask64.dll" (ByVal CardNumber As Short, ByRef CosLData As Short) As Short - Declare Function DIO_SetCOSInterrupt32 Lib "PCI-Dask64.dll" (ByVal CardNumber As Short, ByVal Port As Byte, ByVal ctl As Integer, ByRef hEvent As Integer, ByVal ManualReset As Byte) As Short - Declare Function DIO_GetCOSLatchData32 Lib "PCI-Dask64.dll" (ByVal CardNumber As Short, ByVal Port As Byte, ByRef CosLData As Integer) As Short - Declare Function DIO_GetCOSLatchDataInt32 Lib "PCI-Dask64.dll" (ByVal CardNumber As Short, ByVal Port As Byte, ByRef CosLData As Integer) As Short - Declare Function DIO_INT_EventMessage Lib "PCI-Dask64.dll" (ByVal CardNumber As Short, ByVal Mode As Short, ByVal hEvent As Integer, ByVal windowHandle As Integer, ByVal message As Integer, ByVal callbackAddr As CallbackDelegate) As Short - Declare Function DIO_INT1_EventMessage Lib "PCI-Dask64.dll" (ByVal CardNumber As Short, ByVal Int1Mode As Short, ByVal windowHandle As Integer, ByVal message As Integer, ByVal callbackAddr As CallbackDelegate) As Short - Declare Function DIO_INT2_EventMessage Lib "PCI-Dask64.dll" (ByVal CardNumber As Short, ByVal Int2Mode As Short, ByVal windowHandle As Integer, ByVal message As Integer, ByVal callbackAddr As CallbackDelegate) As Short - Declare Function DIO_7300SetInterrupt Lib "PCI-Dask64.dll" (ByVal CardNumber As Short, ByVal AuxDIEn As Short, ByVal T2En As Short, ByRef hEvent As Integer) As Short - Declare Function DIO_AUXDI_EventMessage Lib "PCI-Dask64.dll" (ByVal CardNumber As Short, ByVal AuxDIEn As Short, ByVal windowHandle As Integer, ByVal message As Integer, ByVal callbackAddr As CallbackDelegate) As Short - Declare Function DIO_T2_EventMessage Lib "PCI-Dask64.dll" (ByVal CardNumber As Short, ByVal T2En As Short, ByVal windowHandle As Integer, ByVal message As Integer, ByVal callbackAddr As CallbackDelegate) As Short - Declare Function DIO_COSInterruptCounter Lib "PCI-Dask64.dll" (ByVal CardNumber As Short, ByVal Counter_Num As Short, ByVal Counter_Mode As Short, ByVal DI_Port As Short, ByVal DI_Line As Short, ByRef Counter_Value As Integer) As Short - Declare Function DIO_VoltLevelConfig Lib "PCI-Dask64.dll" (ByVal CardNumber As Short, ByVal PortType As Short, ByVal VoltLevel As Short) As Short - Declare Function DIO_7350_AFIConfig Lib "PCI-Dask64.dll" (ByVal CardNumber As Short, ByVal AFI_Port As Short, ByVal AFI_Enable As Short, ByVal AFI_Mode As Short, ByVal AFI_TrigOutLen As Integer) As Short - Declare Function DIO_PMConfig Lib "PCI-Dask64.dll" (ByVal CardNumber As Short, ByVal Channel As Short, ByVal PM_ChnEn As Short, ByVal PM_ChnType As Short) As Short - Declare Function DIO_PMControl Lib "PCI-Dask64.dll" (ByVal CardNumber As Short, ByVal Port As Short, ByVal PM_Start As Short, ByRef hEvent As Integer, ByVal ManualReset As Byte) As Short - Declare Function DIO_SetPMInterrupt32 Lib "PCI-Dask64.dll" (ByVal CardNumber As Short, ByVal Port As Short, ByVal Ctrl As Integer, ByVal Pattern1 As Integer, ByVal Pattern2 As Integer,ByRef hEvent As Integer, ByVal ManualReset As Byte) As Short - Declare Function DIO_GetPMLatchData32 Lib "PCI-Dask64.dll" (ByVal CardNumber As Short, ByVal Port As Short, ByRef PMLData As Integer) As Short - - 'Counter Functions - Declare Function CTR_Setup Lib "PCI-Dask64.dll" (ByVal CardNumber As Short, ByVal Ctr As Short, ByVal Mode As Short, ByVal CCount As Integer, ByVal BinBcd As Short) As Short - Declare Function CTR_Setup_All "PCI-Dask64.dll" (ByVal CardNumber As Short, ByVal CtrCnt As Short, ByRef Ctr As Short, ByRef Mode As Short, ByRef CCount As Integer, ByRef BinBcd As Short) As Short - Declare Function CTR_Clear Lib "PCI-Dask64.dll" (ByVal CardNumber As Short, ByVal Ctr As Short, ByVal State As Short) As Short - Declare Function CTR_Read Lib "PCI-Dask64.dll" (ByVal CardNumber As Short, ByVal Ctr As Short, ByRef Value As Integer) As Short - Declare Function CTR_Read_All "PCI-Dask64.dll" (ByVal CardNumber As Short, ByVal CtrCnt As Short, ByRef Ctr As Short, ByRef Value As Integer) As Short - Declare Function CTR_Status Lib "PCI-Dask64.dll" (ByVal CardNumber As Short, ByVal Ctr As Short, ByRef Value As Integer) As Short - Declare Function CTR_Update Lib "PCI-Dask64.dll" (ByVal CardNumber As Short, ByVal Ctr As Short, ByVal CCount As Integer) As Short - Declare Function CTR_8554_ClkSrc_Config Lib "PCI-Dask64.dll" (ByVal CardNumber As Short, ByVal Ctr As Short, ByVal ClockSource As Short) As Short - Declare Function CTR_8554_CK1_Config Lib "PCI-Dask64.dll" (ByVal CardNumber As Short, ByVal ClockSource As Short) As Short - Declare Function CTR_8554_Debounce_Config Lib "PCI-Dask64.dll" (ByVal CardNumber As Short, ByVal DebounceClock As Short) As Short - Declare Function GCTR_Setup Lib "PCI-Dask64.dll" (ByVal CardNumber As Short, ByVal GCtr As Short, ByVal GCtrCtrl As Short, ByVal CCount As Integer) As Short - Declare Function GCTR_Clear Lib "PCI-Dask64.dll" (ByVal CardNumber As Short, ByVal GCtr As Short) As Short - Declare Function GCTR_Read Lib "PCI-Dask64.dll" (ByVal CardNumber As Short, ByVal GCtr As Short, ByRef Value As Integer) As Short - Declare Function GPTC_Clear Lib "PCI-Dask64.dll" (ByVal CardNumber As Short, ByVal GCtr As Short) As Short - Declare Function GPTC_Control Lib "PCI-Dask64.dll" (ByVal CardNumber As Short, ByVal GCtr As Short, ByVal ParamID As Short, ByVal Value As Short) As Short - Declare Function GPTC_EventCallBack_x64 Lib "PCI-Dask64.dll" (ByVal CardNumber As Short, ByVal Enabled As Short, ByVal EventType As Short, ByVal callbackAddr As CallbackDelegate) As Short - Declare Function GPTC_EventSetup Lib "PCI-Dask64.dll" (ByVal CardNumber As Short, ByVal GCtr As Short, ByVal Mode As Short, ByVal Ctrl As Short, ByVal LVal_1 As Integer, ByVal LVal_2 As Integer) As Short - Declare Function GPTC_Read Lib "PCI-Dask64.dll" (ByVal CardNumber As Short, ByVal GCtr As Short, ByRef Value As Integer) As Short - Declare Function GPTC_Setup Lib "PCI-Dask64.dll" (ByVal CardNumber As Short, ByVal GCtr As Short, ByVal Mode As Short, ByVal SrcCtrl As Short, ByVal PolCtrl As Short, ByVal LReg1_Val As Integer, ByVal LReg2_Val As Integer) As Short - Declare Function GPTC_Status Lib "PCI-Dask64.dll" (ByVal CardNumber As Short, ByVal GCtr As Short, ByRef Value As Short) As Short - Declare Function GPTC_9524_PG_Config Lib "PCI-Dask64.dll" (ByVal CardNumber As Short, ByVal GCtr As Short, ByVal PulseGenNum As Integer) As Short - Declare Function GPTC_9524_GetTimerEvent Lib "PCI-Dask64.dll" (ByVal CardNumber As Short, ByVal GCtr As Short, ByRef hEvent As Integer) As Short - Declare Function WDT_Setup Lib "PCI-Dask64.dll" (ByVal CardNumber As Short, ByVal Ctr As Short, ByVal ovflowSec As Single, ByRef actualSec As Single, ByRef hEvent As Integer) As Short - Declare Function WDT_Control Lib "PCI-Dask64.dll" (ByVal CardNumber As Short, ByVal Ctr As Short, ByVal action As Short) As Short - Declare Function WDT_Status Lib "PCI-Dask64.dll" (ByVal CardNumber As Short, ByVal Ctr As Short, ByRef Value As Integer) As Short - Declare Function WDT_Reload Lib "PCI-Dask64.dll" (ByVal CardNumber As Short, ByVal ovflowSec As Single, ByRef actualSec As Single) As Short - Declare Function AI_GetEvent Lib "PCI-Dask64.dll" (ByVal CardNumber As Short, ByRef hEvent As Integer) As Short - Declare Function AO_GetEvent Lib "PCI-Dask64.dll" (ByVal CardNumber As Short, ByRef hEvent As Integer) As Short - Declare Function DI_GetEvent Lib "PCI-Dask64.dll" (ByVal CardNumber As Short, ByRef hEvent As Integer) As Short - Declare Function DO_GetEvent Lib "PCI-Dask64.dll" (ByVal CardNumber As Short, ByRef hEvent As Integer) As Short - - 'Cal Function - Declare Function PCI_DB_Auto_Calibration_ALL Lib "PCI-Dask64.dll" (ByVal CardNumber As Short) As Short - Declare Function PCI_Load_CAL_Data Lib "PCI-Dask64.dll" (ByVal CardNumber As Short, ByVal bank As Short) As Short - Declare Function PCI_EEPROM_CAL_Constant_Update Lib "PCI-Dask64.dll" (ByVal CardNumber As Short, ByVal bank As Short) As Short - Declare Function PCI9524_Acquire_AD_CalConst Lib "PCI-Dask64.dll" (ByVal CardNumber As Short, ByVal Group As Short, ByVal ADC_Range As Short, ByVal ADC_Speed As Short, ByRef CalDate As Integer, ByRef CalTemp As Single, ByRef ADC_offset As Integer, ByRef ADC_gain As Integer, ByRef Residual_offset As Double, ByRef Residual_scaling As Double) As Short - Declare Function PCI9524_Acquire_DA_CalConst Lib "PCI-Dask64.dll" (ByVal CardNumber As Short, ByVal Channel As Short, ByRef CalDate As Integer, ByRef CalTemp As Single, ByRef DAC_offset As Byte, ByRef DAC_linearity As Byte, ByRef Gain_factor As Single) As Short - Declare Function PCI9524_Read_EEProm Lib "PCI-Dask64.dll" (ByVal CardNumber As Short, ByVal ReadAddr As Short, ByRef ReadData As Byte) As Short - Declare Function PCI9524_Read_RemoteSPI Lib "PCI-Dask64.dll" (ByVal CardNumber As Short, ByVal Addr As Short, ByRef RdData As Byte) As Short - Declare Function PCI9524_Write_EEProm Lib "PCI-Dask64.dll" (ByVal CardNumber As Short, ByVal WriteAddr As Short, ByRef WriteData As Byte) As Short - Declare Function PCI9524_Write_RemoteSPI Lib "PCI-Dask64.dll" (ByVal CardNumber As Short, ByVal Addr As Short, ByVal WrtData As Byte) As Short - - 'SSI Function - Declare Function SSI_SourceConn Lib "PCI-Dask64.dll" (ByVal CardNumber As Short, ByVal sigCode As Short) As Short - Declare Function SSI_SourceDisConn Lib "PCI-Dask64.dll" (ByVal CardNumber As Short, ByVal sigCode As Short) As Short - Declare Function SSI_SourceClear Lib "PCI-Dask64.dll" (ByVal CardNumber As Short) As Short - - 'PWM Function - Declare Function PWM_Output Lib "PCI-Dask64.dll" (ByVal CardNumber As Short, ByVal Channel As Short, ByVal high_interval As Integer, ByVal low_interval As Integer) As Short - Declare Function PWM_Stop Lib "PCI-Dask64.dll" (ByVal CardNumber As Short, ByVal Channel As Short) As Short - - 'I2C Function - Declare Function I2C_Setup Lib "PCI-Dask64.dll" (ByVal CardNumber As Short, ByVal I2C_Port As Short, ByVal I2C_Config As Short, ByVal I2C_SetupValue1 As Integer, ByVal I2C_SetupValue2 As Integer) As Short - Declare Function I2C_Control Lib "PCI-Dask64.dll" (ByVal CardNumber As Short, ByVal I2C_Port As Short, ByVal I2C_CtrlParam As Short, ByVal I2C_CtrlValue As Integer) As Short - Declare Function I2C_Status Lib "PCI-Dask64.dll" (ByVal CardNumber As Short, ByVal I2C_Port As Short, ByRef I2C_Status As Integer) As Short - Declare Function I2C_Read Lib "PCI-Dask64.dll" (ByVal CardNumber As Short, ByVal I2C_Port As Short, ByVal I2C_SlaveAddr As Short, ByVal I2C_CmdAddrBytes As Short, ByVal I2C_DataBytes As Short, ByVal I2C_CmdAddr As Integer, ByRef I2C_Data As Integer) As Short - Declare Function I2C_Write Lib "PCI-Dask64.dll" (ByVal CardNumber As Short, ByVal I2C_Port As Short, ByVal I2C_SlaveAddr As Short, ByVal I2C_CmdAddrBytes As Short, ByVal I2C_DataBytes As Short, ByVal I2C_CmdAddr As Integer, ByVal I2C_Data As Integer) As Short - - 'SPI Function - Declare Function SPI_Setup Lib "PCI-Dask64.dll" (ByVal CardNumber As Short, ByVal SPI_Port As Short, ByVal SPI_Config As Short, ByVal SPI_SetupValue1 As Integer, ByVal SPI_SetupValue2 As Integer) As Short - Declare Function SPI_Control Lib "PCI-Dask64.dll" (ByVal CardNumber As Short, ByVal SPI_Port As Short, ByVal SPI_CtrlParam As Short, ByVal SPI_CtrlValue As Integer) As Short - Declare Function SPI_Status Lib "PCI-Dask64.dll" (ByVal CardNumber As Short, ByVal SPI_Port As Short, ByRef SPI_Status As Integer) As Short - Declare Function SPI_Read Lib "PCI-Dask64.dll" (ByVal CardNumber As Short, ByVal SPI_Port As Short, ByVal SPI_SlaveAddr As Short, ByVal SPI_CmdAddrBits As Short, ByVal SPI_DataBits As Short, ByVal SPI_FrontDummyBits As Short, ByVal SPI_CmdAddr As Integer, ByRef SPI_Data As Integer) As Short - Declare Function SPI_Write Lib "PCI-Dask64.dll" (ByVal CardNumber As Short, ByVal SPI_Port As Short, ByVal SPI_SlaveAddr As Short, ByVal SPI_CmdAddrBits As Short, ByVal SPI_DataBits As Short, ByVal SPI_FrontDummyBits As Short, ByVal SPI_TailDummyBits As Short, ByVal SPI_CmdAddr As Integer, ByVal SPI_Data As Integer) As Short - -End Module diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Lib/PCI-Dask.lib b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Lib/PCI-Dask.lib deleted file mode 100644 index 5726f6e..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Lib/PCI-Dask.lib and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Lib/PCI-Dask64.dll b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Lib/PCI-Dask64.dll deleted file mode 100644 index bfe5d7a..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Lib/PCI-Dask64.dll and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Lib/PCI-Dask64.lib b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Lib/PCI-Dask64.lib deleted file mode 100644 index e275811..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Lib/PCI-Dask64.lib and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Lib/pdask_bc.lib b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Lib/pdask_bc.lib deleted file mode 100644 index d40fa3c..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Lib/pdask_bc.lib and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Manual/DASK Installation Guide.pdf b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Manual/DASK Installation Guide.pdf deleted file mode 100644 index 36a10a0..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Manual/DASK Installation Guide.pdf and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Manual/PCIS-DASK Function Reference.pdf b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Manual/PCIS-DASK Function Reference.pdf deleted file mode 100644 index 21d80ab..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Manual/PCIS-DASK Function Reference.pdf and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Manual/PCIS-DASK User Manual.pdf b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Manual/PCIS-DASK User Manual.pdf deleted file mode 100644 index a635be8..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Manual/PCIS-DASK User Manual.pdf and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/RelNotes.txt b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/RelNotes.txt deleted file mode 100644 index 6294944..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/RelNotes.txt +++ /dev/null @@ -1,3036 +0,0 @@ -PCIS-DASK ReadMe File - -================================================================= - Table Of Contents -================================================================= -* PCIS-DASK 5.03 Release Notes - + PCIS-DASK 5.03 Hardware Support - + PCIS-DASK 5.00 New Functions (versus 5.02) - + Miscellaneous bug fixes - -* PCIS-DASK 5.02 Release Notes - + PCIS-DASK 5.02 Hardware Support - + Miscellaneous bug fixes - + Miscellaneous - -* PCIS-DASK 5.00 Release Notes - + PCIS-DASK 5.00 New Features (versus 4.29) - + PCIS-DASK 5.00 Hardware Support - + PCIS-DASK 5.00 New Functions (versus 4.29) - + Miscellaneous bug fixes - + Miscellaneous - -* PCIS-DASK 4.29 Release Notes - + PCIS-DASK 4.29 New Features (versus 4.28) - + PCIS-DASK 4.29 Hardware Support - + PCIS-DASK 4.29 New Functions (versus 4.28) - + Miscellaneous bug fixes - + Miscellaneous - -* PCIS-DASK 4.28 Release Notes - + PCIS-DASK 4.28 Hardware Support - + Miscellaneous bug fixes - -* PCIS-DASK 4.27 Release Notes - + PCIS-DASK 4.27 New Features (versus 4.26) - + PCIS-DASK 4.27 Hardware Support - + Miscellaneous bug fixes - -* PCIS-DASK 4.26 Release Notes - + PCIS-DASK 4.26 Hardware Support - + Miscellaneous bug fixes - + Miscellaneous - -* PCIS-DASK 4.25 Release Notes - + PCIS-DASK 4.25 New Features (versus 4.24) - + PCIS-DASK 4.25 Hardware Support - + PCIS-DASK 4.25 New Functions (versus 4.24) - + Miscellaneous bug fixes - -* PCIS-DASK 4.24 Release Notes - + PCIS-DASK 4.24 Hardware Support - + Miscellaneous bug fixes - + Miscellaneous - -* PCIS-DASK 4.23 Release Notes - + PCIS-DASK 4.23 New Features (versus 4.22) - + PCIS-DASK 4.23 Hardware Support - + Miscellaneous bug fixes - + Miscellaneous - -* PCIS-DASK 4.22 Release Notes - + PCIS-DASK 4.22 New Features (versus 4.21) - + PCIS-DASK 4.22 Hardware Support - + PCIS-DASK 4.22 New Functions (versus 4.21) - + Miscellaneous bug fixes - + Miscellaneous - -* PCIS-DASK 4.21 Release Notes - + PCIS-DASK 4.21 New Features (versus 4.20) - + PCIS-DASK 4.21 Hardware Support - + Miscellaneous bug fixes - -* PCIS-DASK 4.20 Release Notes - + PCIS-DASK 4.20 New Features (versus 4.19) - + PCIS-DASK 4.20 Hardware Support - + PCIS-DASK 4.20 New Functions (versus 4.19) - + Miscellaneous bug fixes - + Miscellaneous - -* PCIS-DASK 4.19 Release Notes - + PCIS-DASK 4.19 Hardware Support - + Miscellaneous - -* PCIS-DASK 4.18 Release Notes - + PCIS-DASK 4.18 Hardware Support - + Miscellaneous bug fixes - + Miscellaneous - -* PCIS-DASK 4.17 Release Notes - + PCIS-DASK 4.17 Hardware Support - + PCIS-DASK 4.17 New Functions (versus 4.16) - + Miscellaneous bug fixes - + Miscellaneous - -* PCIS-DASK 4.16 Release Notes - + PCIS-DASK 4.16 New Features (versus 4.15) - + PCIS-DASK 4.16 Hardware Support - + Miscellaneous bug fixes - + Miscellaneous - -* PCIS-DASK 4.15 Release Notes - + PCIS-DASK 4.15 New Features (versus 4.14) - + PCIS-DASK 4.15 Hardware Support - + PCIS-DASK 4.15 New Functions (versus 4.14) - + Miscellaneous bug fixes - + Miscellaneous - -* PCIS-DASK 4.14 Release Notes - + PCIS-DASK 4.14 New Features (versus 4.13.1) - + PCIS-DASK 4.14 Hardware Support - -* PCIS-DASK 4.13.1 Release Notes - + PCIS-DASK 4.13.1 Hardware Support - -* PCIS-DASK 4.13 Release Notes - + PCIS-DASK 4.13 New Features (versus 4.12.1) - + PCIS-DASK 4.13 Hardware Support - + PCIS-DASK 4.13 New Functions (versus 4.12.1) - + Miscellaneous bug fixes - + Miscellaneous - -* PCIS-DASK 4.12.1 Release Notes - + PCIS-DASK 4.12.1 New Features (versus 4.12) - -* PCIS-DASK 4.12 Release Notes - + PCIS-DASK 4.12 New Features (versus 4.10) - + PCIS-DASK 4.12 Hardware Support - + PCIS-DASK 4.12 New Functions (versus 4.10) - + Miscellaneous bug fixes - + Miscellaneous - -* PCIS-DASK 4.11 Release Notes - + PCIS-DASK 4.11 New Features (versus 4.10) - + PCIS-DASK 4.11 Hardware Support - + PCIS-DASK 4.11 New Functions - -* PCIS-DASK 4.10 Release Notes - + PCIS-DASK 4.10 New Features (versus 4.09) - + PCIS-DASK 4.10 Hardware Support - + PCIS-DASK 4.10 New Functions - -* PCIS-DASK 4.09 Release Notes - + PCIS-DASK 4.09 Hardware Support - + Miscellaneous bug fixes - -* PCIS-DASK 4.08 Release Notes - + PCIS-DASK 4.08 Hardware Support - + Miscellaneous bug fixes - -* PCIS-DASK 4.07 Release Notes - + PCIS-DASK 4.07 Hardware Support - -* PCIS-DASK 4.06 Release Notes - + PCIS-DASK 4.06 New Features (versus 4.05) - + PCIS-DASK 4.06 Hardware Support - + Miscellaneous bug fixes - + Miscellaneous - -* PCIS-DASK 4.05 Release Notes - + PCIS-DASK 4.05 Hardware Support - + Miscellaneous bug fixes - + Miscellaneous - -* PCIS-DASK 4.04 Release Notes - + PCIS-DASK 4.04 Hardware Support - + Miscellaneous bug fixes - -* PCIS-DASK 4.03 Release Notes - + PCIS-DASK 4.03 Hardware Support - + Miscellaneous bug fixes - -* PCIS-DASK 4.02 Release Notes - + PCIS-DASK 4.02 Hardware Support - + Miscellaneous bug fixes - -* PCIS-DASK 4.01 Release Notes - + PCIS-DASK 4.01 New Features (versus 4.0) - + PCIS-DASK 4.01 Hardware Support - + PCIS-DASK 4.01 New Functions - + Miscellaneous - -* PCIS-DASK 4.0 Release Notes - + PCIS-DASK 4.0 New Features (versus 3.25) - + PCIS-DASK 4.0 Hardware Support - + PCIS-DASK 4.0 New Functions - + Miscellaneous bug fixes - + Miscellaneous - -* PCIS-DASK 3.25 Release Notes - + PCIS-DASK 3.25 New Features (versus 3.24) - + PCIS-DASK 3.25 Hardware Support - + Miscellaneous bug fixes - + Miscellaneous - -* PCIS-DASK 3.24 Release Notes - + PCIS-DASK 3.24 New Features (versus 3.23) - + PCIS-DASK 3.24 Hardware Support - + PCIS-DASK 3.24 New Functions - -* PCIS-DASK 3.23 Release Notes - + PCIS-DASK 3.23 New Features (versus 3.22) - + PCIS-DASK 3.23 Hardware Support - + PCIS-DASK 3.23 New Functions - + Miscellaneous bug fixes - + Miscellaneous - -* PCIS-DASK 3.22 Release Notes - + PCIS-DASK 3.22 New Features (versus 3.21) - + PCIS-DASK 3.22 Hardware Support - + PCIS-DASK 3.22 New Functions - + Miscellaneous bug fixes - -* PCIS-DASK 3.21 Release Notes - + PCIS-DASK 3.21 New Features (versus 3.20) - + PCIS-DASK 3.21 Hardware Support - + Miscellaneous bug fixes - + Miscellaneous - -* PCIS-DASK 3.20 Release Notes - + PCIS-DASK 3.20 New Features (versus 3.10) - + PCIS-DASK 3.20 Hardware Support - + PCIS-DASK 3.20 New Functions - + Miscellaneous bug fixes - + Miscellaneous - -* PCIS-DASK 3.10 Release Notes - + PCIS-DASK 3.10 New Features (versus 3.02) - + PCIS-DASK 3.10 Hardware Support - + PCIS-DASK 3.10 New Functions - + Miscellaneous bug fixes - + Miscellaneous - -* PCIS-DASK 3.02 Release Notes - + PCIS-DASK 3.02 New Features (versus 3.01) - + PCIS-DASK 3.02 Hardware Support - + Miscellaneous bug fixes - + Miscellaneous - -* PCIS-DASK 3.01 Release Notes - + PCIS-DASK 3.01 Hardware Support - + PCIS-DASK 3.01 Functions Modification - -* PCIS-DASK 3.0 Release Notes - + PCIS-DASK 3.0 New Features (versus 2.10) - + PCIS-DASK 3.0 Hardware Support - + Miscellaneous - -* PCIS-DASK 2.10 Release Notes - + PCIS-DASK 2.10 New Features (versus 2.00) - + PCIS-DASK 2.10 Hardware Support - + PCIS-DASK 2.10 New Functions - + PCIS-DASK 2.10 Functions Modification - + Miscellaneous - -* PCIS-DASK 2.00 Release Notes - + PCIS-DASK 2.00 New Features - + PCIS-DASK 2.00 Hardware Support - + PCIS-DASK 2.00 New Functions - + PCIS-DASK 2.00 Functions Modification - + Miscellaneous - ------------------------------------------------------------------ - PCIS-DASK 5.03 Release Notes ------------------------------------------------------------------ - -**** PCIS-DASK 5.03 Hardware Support **** - - * PCI-6202 - * PCI-6208A - * PCI-6208V/16V - * PCI-6308A - * PCI-6308V - * PCI-7200/cPCI-7200 - * PCI-7230/cPCI-7230 - * PCI-7233/PCI-7233H - * PCI-7234 - * PCI-7248/cPCI-7248/PCI-7224 - * cPCI-7249R - * PCI-7250 - * cPCI-7252 - * PCI-7256 - * PCI-7258 - * PCI-7260 - * PCI-7296 - * PCI-7300A/cPCI-7300A - * PCIe-7350 - * PCI-7396/PCI-7348 - * PCI-7432/cPCI-7432/cPCI-7432R - * PCI-7433/cPCI-7433/cPCI-7433R - * PCI-7434/cPCI-7434/cPCI-7434R - * PCI-7433C/PCI-7434C - * PCI-7442 - * PCI-7443 - * PCI-7444 - * cPCI-7452 - * PCI-8554 - * PCI-9111 - * PCI-9112/cPCI-9112 - * PCI-9113 - * PCI-9114/PCI-9114A - * cPCI-9116 - * PCI-9118 - * PCI-9221 - * PCI-9222/23 - * PCM-922A - * PCI-9524 - * PCI-9812/10 - -**** PCIS-DASK 5.03 New Functions **** - - * PCI_EEPROM_LoadData (x64 DLL) - * PCI_EEPROM_SaveData (x64 DLL) - * DO_ResetOutput (x64 DLL) - * DIO_AFI_Config (both x86/x64 DLL) - -**** Miscellaneous bug fixes **** - - * Fix a bug that PCI-7200 DO_AsyncCheck could not return the "STOPPED" flag properly. - * Fix a bug that PCI-7350 might crash system if call Register_card() repeatlly in short time. - * Fix a bug that PCI-9221 might have AI channel swap issue if calling AI_ReadChannel() repeatlly in short period. - * Fix a bug that Dask64.h contains wrong definition of AI_9221_Config(). - * Modified AI procedure of PCI-9222/9223 to prevent AI channel swap issue, if using external conversion source. - * Modified drivers of PCI-9222/9223, to load Auto-Calibration parameters during system boot automatically. - * Modified the AI_ContReadChannel() procedure of PCI-9113, to prevent getting wrong data which cause by hardware failure. - - - ------------------------------------------------------------------ - PCIS-DASK 5.02 Release Notes ------------------------------------------------------------------ - -**** PCIS-DASK 5.02 Hardware Support **** - - * PCI-6202 - * PCI-6208A - * PCI-6208V/16V - * PCI-6308A - * PCI-6308V - * PCI-7200/cPCI-7200 - * PCI-7230/cPCI-7230 - * PCI-7233/PCI-7233H - * PCI-7234 - * PCI-7248/cPCI-7248/PCI-7224 - * cPCI-7249R - * PCI-7250 - * cPCI-7252 - * PCI-7256 - * PCI-7258 - * PCI-7260 - * PCI-7296 - * PCI-7300A/cPCI-7300A - * PCIe-7350 - * PCI-7396/PCI-7348 - * PCI-7432/cPCI-7432/cPCI-7432R - * PCI-7433/cPCI-7433/cPCI-7433R - * PCI-7434/cPCI-7434/cPCI-7434R - * PCI-7433C/PCI-7434C - * PCI-7442 - * PCI-7443 - * PCI-7444 - * cPCI-7452 - * PCI-8554 - * PCI-9111 - * PCI-9112/cPCI-9112 - * PCI-9113 - * PCI-9114/PCI-9114A - * cPCI-9116 - * PCI-9118 - * PCI-9221 - * PCI-9222/23 - * PCM-922A - * PCI-9524 - * PCI-9812/10 - -**** Miscellaneous bug fixes **** - - * Fix a bug that header files contain wrong dll name.(INC) - -**** Miscellaneous **** - - * From this version, the supporting of windows 98 and windows NT have been removed. - ------------------------------------------------------------------ - PCIS-DASK 5.00 Release Notes ------------------------------------------------------------------ - -**** PCIS-DASK 5.00 New Features **** - - * Support native 64-bit upper layer API, the pci-dask64.dll. - - * Support a new functionality, to control DO finish state - of PCI-6202. - -**** PCIS-DASK 5.00 Hardware Support **** - - * PCI-6202 - * PCI-6208A - * PCI-6208V/16V - * PCI-6308A - * PCI-6308V - * PCI-7200/cPCI-7200 - * PCI-7230/cPCI-7230 - * PCI-7233/PCI-7233H - * PCI-7234 - * PCI-7248/cPCI-7248/PCI-7224 - * cPCI-7249R - * PCI-7250 - * cPCI-7252 - * PCI-7256 - * PCI-7258 - * PCI-7260 - * PCI-7296 - * PCI-7300A/cPCI-7300A - * PCIe-7350 - * PCI-7396/PCI-7348 - * PCI-7432/cPCI-7432/cPCI-7432R - * PCI-7433/cPCI-7433/cPCI-7433R - * PCI-7434/cPCI-7434/cPCI-7434R - * PCI-7433C/PCI-7434C - * PCI-7442 - * PCI-7443 - * PCI-7444 - * cPCI-7452 - * PCI-8554 - * PCI-9111 - * PCI-9112/cPCI-9112 - * PCI-9113 - * PCI-9114/PCI-9114A - * cPCI-9116 - * PCI-9118 - * PCI-9221 - * PCI-9222/23 - * PCM-922A - * PCI-9524 - * PCI-9812/10 - -**** PCIS-DASK 5.00 New Functions **** - - * DO_ResetOutput - -**** Miscellaneous bug fixes **** - - * Fix a bug that devices might mal-function when system wake up - from hibernated mode in Windows Vista and 7.(SYS) - - * Fix a issue of PCI-7300A rev.B that memory-mapping might cause BSOD in x64 systems. - - * Fix a issue of 9112 that channels' raw data might be swapped. - -**** Miscellaneous **** - - * Add x64 samples. - ------------------------------------------------------------------ - PCIS-DASK 4.29 Release Notes ------------------------------------------------------------------ - -**** PCIS-DASK 4.29 New Features **** - - * Support a new functionality, EEPROM read/write functionality - of PCI-7230. - -**** PCIS-DASK 4.29 Hardware Support **** - - * PCI-6202 - * PCI-6208A - * PCI-6208V/16V - * PCI-6308A - * PCI-6308V - * PCI-7200/cPCI-7200 - * PCI-7230/cPCI-7230 - * PCI-7233/PCI-7233H - * PCI-7234 - * PCI-7248/cPCI-7248/PCI-7224 - * cPCI-7249R - * PCI-7250 - * cPCI-7252 - * PCI-7256 - * PCI-7258 - * PCI-7260 - * PCI-7296 - * PCI-7300A/cPCI-7300A - * PCIe-7350 - * PCI-7396/PCI-7348 - * PCI-7432/cPCI-7432/cPCI-7432R - * PCI-7433/cPCI-7433/cPCI-7433R - * PCI-7434/cPCI-7434/cPCI-7434R - * PCI-7433C/PCI-7434C - * PCI-7442 - * PCI-7443 - * PCI-7444 - * cPCI-7452 - * PCI-8554 - * PCI-9111 - * PCI-9112/cPCI-9112 - * PCI-9113 - * PCI-9114/PCI-9114A - * cPCI-9116 - * PCI-9118 - * PCI-9221 - * PCI-9222/23 - * PCM-922A - * PCI-9524 - * PCI-9812/10 - -**** PCIS-DASK 4.29 New Functions **** - - * PCI_EEPROM_LoadData - * PCI_EEPROM_SaveData - -**** Miscellaneous bug fixes **** - - * Fix a bug that the Event Callback might malfunction in some situations. - -**** Miscellaneous **** - - * Add several samples for PCI-6202. - * Add EEPROM read/write functionality sample for PCI-7230. - * Renew certification of x64(Vista/Win7) drivers - ------------------------------------------------------------------ - PCIS-DASK 4.28 Release Notes ------------------------------------------------------------------ - -**** PCIS-DASK 4.28 Hardware Support **** - - * PCI-6202 - * PCI-6208A - * PCI-6208V/16V - * PCI-6308A - * PCI-6308V - * PCI-7200/cPCI-7200 - * PCI-7230/cPCI-7230 - * PCI-7233/PCI-7233H - * PCI-7234 - * PCI-7248/cPCI-7248/PCI-7224 - * cPCI-7249R - * PCI-7250 - * cPCI-7252 - * PCI-7256 - * PCI-7258 - * PCI-7260 - * PCI-7296 - * PCI-7300A/cPCI-7300A - * PCIe-7350 - * PCI-7396/PCI-7348 - * PCI-7432/cPCI-7432/cPCI-7432R - * PCI-7433/cPCI-7433/cPCI-7433R - * PCI-7434/cPCI-7434/cPCI-7434R - * PCI-7433C/PCI-7434C - * PCI-7442 - * PCI-7443 - * PCI-7444 - * cPCI-7452 - * PCI-8554 - * PCI-9111 - * PCI-9112/cPCI-9112 - * PCI-9113 - * PCI-9114/PCI-9114A - * cPCI-9116 - * PCI-9118 - * PCI-9221 - * PCI-9222/23 - * PCM-922A - * PCI-9524 - * PCI-9812/10 - -**** Miscellaneous bug fixes **** - - * Fix a bug that the repeat wave function of 6202 might - malfunction in some situations. - - * Fix a bug that the DI function of 7233 might be failure on - 64-bit systems. - - * Fix a bug that the function of 7250 might unstable on - 64-bit systems. - ------------------------------------------------------------------ - PCIS-DASK 4.27 Release Notes ------------------------------------------------------------------ - -**** PCIS-DASK 4.27 New Features **** - - * Windows 7 32-bit support. - * Windows 7 X64 kernel support. - -**** PCIS-DASK 4.27 Hardware Support **** - - * PCI-6202 - * PCI-6208A - * PCI-6208V/16V - * PCI-6308A - * PCI-6308V - * PCI-7200/cPCI-7200 - * PCI-7230/cPCI-7230 - * PCI-7233/PCI-7233H - * PCI-7234 - * PCI-7248/cPCI-7248/PCI-7224 - * cPCI-7249R - * PCI-7250 - * cPCI-7252 - * PCI-7256 - * PCI-7258 - * PCI-7260 - * PCI-7296 - * PCI-7300A/cPCI-7300A - * PCIe-7350 - * PCI-7396/PCI-7348 - * PCI-7432/cPCI-7432/cPCI-7432R - * PCI-7433/cPCI-7433/cPCI-7433R - * PCI-7434/cPCI-7434/cPCI-7434R - * PCI-7433C/PCI-7434C - * PCI-7442 - * PCI-7443 - * PCI-7444 - * cPCI-7452 - * PCI-8554 - * PCI-9111 - * PCI-9112/cPCI-9112 - * PCI-9113 - * PCI-9114/PCI-9114A - * cPCI-9116 - * PCI-9118 - * PCI-9221 - * PCI-9222/23 - * PCM-922A - * PCI-9524 - * PCI-9812/10 - -**** Miscellaneous bug fixes **** - - * Fix a bug that the retrigger count of 7350 might not be reset - in some situations. - - * Fix a bug that the repeat wave function of 6202 might - malfunction in some situations. - - * Fix a bug that memory mapping might be failure on Windows 7. - ------------------------------------------------------------------ - PCIS-DASK 4.26 Release Notes ------------------------------------------------------------------ - -**** PCIS-DASK 4.26 Hardware Support **** - - * PCI-6202 - * PCI-6208A - * PCI-6208V/16V - * PCI-6308A - * PCI-6308V - * PCI-7200/cPCI-7200 - * PCI-7230/cPCI-7230 - * PCI-7233/PCI-7233H - * PCI-7234 - * PCI-7248/cPCI-7248/PCI-7224 - * cPCI-7249R - * PCI-7250 - * cPCI-7252 - * PCI-7256 - * PCI-7258 - * PCI-7260 - * PCI-7296 - * PCI-7300A/cPCI-7300A - * PCIe-7350 - * PCI-7396/PCI-7348 - * PCI-7432/cPCI-7432/cPCI-7432R - * PCI-7433/cPCI-7433/cPCI-7433R - * PCI-7434/cPCI-7434/cPCI-7434R - * PCI-7433C/PCI-7434C - * PCI-7442 - * PCI-7443 - * PCI-7444 - * cPCI-7452 - * PCI-8554 - * PCI-9111 - * PCI-9112/cPCI-9112 - * PCI-9113 - * PCI-9114/PCI-9114A - * cPCI-9116 - * PCI-9118 - * PCI-9221 - * PCI-9222/23 - * PCM-922A - * PCI-9524 - * PCI-9812/10 - -**** Miscellaneous bug fixes **** - - * Fix a bug of getting continuous status of 9524 - on Windows 2K/XP/Vista. - - * Fix a bug of DI_AsyncMultiBuffersHandled() of 7300 - generated in version 4.25 - - * Fix a bug of 7350 that AFI configurations do not be - cleared completely in close device period. - -**** Miscellaneous **** - - * Extend 9524 PWM width from 24 bits to 32 bits - on Windows 2K/XP/Vista. - - * Add a functionality of arbitrary AI channels scan - for 9524 on Windows 2K/XP/Vista. - ------------------------------------------------------------------ - PCIS-DASK 4.25 Release Notes ------------------------------------------------------------------ - -**** PCIS-DASK 4.25 New Features **** - - * Support new products, PCIe-7350 on Windows 2K/XP/Vista x86/x64. - -**** PCIS-DASK 4.25 Hardware Support **** - - * PCI-6202 - * PCI-6208A - * PCI-6208V/16V - * PCI-6308A - * PCI-6308V - * PCI-7200/cPCI-7200 - * PCI-7230/cPCI-7230 - * PCI-7233/PCI-7233H - * PCI-7234 - * PCI-7248/cPCI-7248/PCI-7224 - * cPCI-7249R - * PCI-7250 - * cPCI-7252 - * PCI-7256 - * PCI-7258 - * PCI-7260 - * PCI-7296 - * PCI-7300A/cPCI-7300A - * PCIe-7350 - * PCI-7396/PCI-7348 - * PCI-7432/cPCI-7432/cPCI-7432R - * PCI-7433/cPCI-7433/cPCI-7433R - * PCI-7434/cPCI-7434/cPCI-7434R - * PCI-7433C/PCI-7434C - * PCI-7442 - * PCI-7443 - * PCI-7444 - * cPCI-7452 - * PCI-8554 - * PCI-9111 - * PCI-9112/cPCI-9112 - * PCI-9113 - * PCI-9114/PCI-9114A - * cPCI-9116 - * PCI-9118 - * PCI-9221 - * PCI-9222/23 - * PCM-922A - * PCI-9524 - * PCI-9812/10 - -**** PCIS-DASK 4.25 New Functions **** - - * DIO_VoltLevelConfig - * DIO_7350_AFIConfig - * DI_7350_Config - * DI_7350_TrigHSConfig - * DI_7350_ExtSampCLKConfig - * DI_7350_ExportSampCLKConfig - * DI_7350_SoftTriggerGen - * DO_7350_Config - * DO_7350_TrigHSConfig - * DO_7350_ExtSampCLKConfig - * DO_7350_ExportSampCLKConfig - * DO_7350_SoftTriggerGen - * I2C_Setup - * I2C_Control - * I2C_Status - * I2C_Read - * I2C_Write - * SPI_Setup - * SPI_Control - * SPI_Status - * SPI_Read - * SPI_Write - * DIO_PMConfig - * DIO_PMControl - * DIO_GetPMLatchData32 - -**** Miscellaneous bug fixes **** - - * Fix 6202 ISO DIO logic level issue. - ------------------------------------------------------------------ - PCIS-DASK 4.24 Release Notes ------------------------------------------------------------------ - -**** PCIS-DASK 4.24 Hardware Support **** - - * PCI-6202 - * PCI-6208A - * PCI-6208V/16V - * PCI-6308A - * PCI-6308V - * PCI-7200/cPCI-7200 - * PCI-7230/cPCI-7230 - * PCI-7233/PCI-7233H - * PCI-7234 - * PCI-7248/cPCI-7248/PCI-7224 - * cPCI-7249R - * PCI-7250 - * cPCI-7252 - * PCI-7256 - * PCI-7258 - * PCI-7260 - * PCI-7296 - * PCI-7300A/cPCI-7300A - * PCI-7396/PCI-7348 - * PCI-7432/cPCI-7432/cPCI-7432R - * PCI-7433/cPCI-7433/cPCI-7433R - * PCI-7434/cPCI-7434/cPCI-7434R - * PCI-7433C/PCI-7434C - * PCI-7442 - * PCI-7443 - * PCI-7444 - * cPCI-7452 - * PCI-8554 - * PCI-9111 - * PCI-9112/cPCI-9112 - * PCI-9113 - * PCI-9114/PCI-9114A - * cPCI-9116 - * PCI-9118 - * PCI-9221 - * PCI-9222/23 - * PCM-922A - * PCI-9524 - * PCI-9812/10 - -**** Miscellaneous bug fixes **** - - * Fix a bug of PCI-9222/PCI-9223 AO inaccuracy issue. - -**** Miscellaneous **** - - * refine the power management for all PCIS-DASK devices. - ------------------------------------------------------------------ - PCIS-DASK 4.23 Release Notes ------------------------------------------------------------------ - -**** PCIS-DASK 4.23 New Features **** - - * Support a new functionality, an internal counter for timer, - of PCI-9524. - -**** PCIS-DASK 4.23 Hardware Support **** - - * PCI-6202 - * PCI-6208A - * PCI-6208V/16V - * PCI-6308A - * PCI-6308V - * PCI-7200/cPCI-7200 - * PCI-7230/cPCI-7230 - * PCI-7233/PCI-7233H - * PCI-7234 - * PCI-7248/cPCI-7248/PCI-7224 - * cPCI-7249R - * PCI-7250 - * cPCI-7252 - * PCI-7256 - * PCI-7258 - * PCI-7260 - * PCI-7296 - * PCI-7300A/cPCI-7300A - * PCI-7396/PCI-7348 - * PCI-7432/cPCI-7432/cPCI-7432R - * PCI-7433/cPCI-7433/cPCI-7433R - * PCI-7434/cPCI-7434/cPCI-7434R - * PCI-7442 - * PCI-7443 - * PCI-7444 - * cPCI-7452 - * PCI-8554 - * PCI-9111 - * PCI-9112/cPCI-9112 - * PCI-9113 - * PCI-9114/PCI-9114A - * cPCI-9116 - * PCI-9118 - * PCI-9221 - * PCI-9222/23 - * PCI-9524 - * PCI-9812/10 - -**** Miscellaneous bug fixes **** - - * Fix a bug of PCI-9114 IoTimer routine. - * Fix 9221 AO output latancy issue. - * Fix 6202 TTL channel logic level issue. - -**** Miscellaneous **** - - * Modify 9222/9223 gptc sample. - * Fix a issue about PCI-DASK example browser. - * Sign new code signature to kernel drivers for Vista_x64. - ------------------------------------------------------------------ - PCIS-DASK 4.22 Release Notes ------------------------------------------------------------------ - -**** PCIS-DASK 4.22 New Features **** - - * Support new products, PCI-9222 and PCI-9223, on Windows - 2K/XP/Vista x86/x64. - -**** PCIS-DASK 4.22 Hardware Support **** - - * PCI-6202 - * PCI-6208A - * PCI-6208V/16V - * PCI-6308A - * PCI-6308V - * PCI-7200/cPCI-7200 - * PCI-7230/cPCI-7230 - * PCI-7233/PCI-7233H - * PCI-7234 - * PCI-7248/cPCI-7248/PCI-7224 - * cPCI-7249R - * PCI-7250 - * cPCI-7252 - * PCI-7256 - * PCI-7258 - * PCI-7260 - * PCI-7296 - * PCI-7300A/cPCI-7300A - * PCI-7396/PCI-7348 - * PCI-7432/cPCI-7432/cPCI-7432R - * PCI-7433/cPCI-7433/cPCI-7433R - * PCI-7434/cPCI-7434/cPCI-7434R - * PCI-7442 - * PCI-7443 - * PCI-7444 - * cPCI-7452 - * PCI-8554 - * PCI-9111 - * PCI-9112/cPCI-9112 - * PCI-9113 - * PCI-9114/PCI-9114A - * cPCI-9116 - * PCI-9118 - * PCI-9221 - * PCI-9222/23 - * PCI-9524 - * PCI-9812/10 - -**** PCIS-DASK 4.22 New Functions **** - - * AI_9222_Config - * AI_9222_CounterInterval - * AI_9223_Config - * AI_9223_CounterInterval - * AI_AsyncReTrigNextReady - * AO_9222_Config - * AO_9223_Config - * AO_ContBufferCompose - * AO_ContStatus - * AO_InitialMemoryAllocated - * AO_SetTimeOut - * DI_9222_Config - * DI_9223_Config - * DI_AsyncDblBufferHandled - * DI_AsyncDblBufferToFile - * DI_AsyncMultiBuffersHandled - * DI_AsyncReTrigNextReady - * DI_ContBufferReset - * DI_ContBufferSetup - * DI_SetTimeOut - * DO_9222_Config - * DO_9222_Config - * DO_ContBufferReset - * DO_ContBufferSetup - * DO_SetTimeOut - -**** Miscellaneous bug fixes **** - - * Fix PCI-9524 Calibration inaccuracy issue. - * Fix a bug about PCI-6202 AO External Trigger. - * Fix a bug about PCI-6202 Multi-Channel AO. - -**** Miscellaneous **** - - * Extend the decimal accuracy of covert data of - Data File Converter Utility. - * Export DIO_GetCOSLatchData32 to meet the definition of - function reference and VB/C# include files. - ------------------------------------------------------------------ - PCIS-DASK 4.21 Release Notes ------------------------------------------------------------------ - -**** PCIS-DASK 4.21 New Features **** - - * Support DO read back of PCI-6202. - * Support new products, PCI-6202 and PCI-9524, on Windows - XP/2003/Vista x64. - -**** PCIS-DASK 4.21 Hardware Support **** - - * PCI-6202 - * PCI-6208A - * PCI-6208V/16V - * PCI-6308A - * PCI-6308V - * PCI-7200/cPCI-7200 - * PCI-7230/cPCI-7230 - * PCI-7233/PCI-7233H - * PCI-7234 - * PCI-7248/cPCI-7248/PCI-7224 - * cPCI-7249R - * PCI-7250 - * cPCI-7252 - * PCI-7256 - * PCI-7258 - * PCI-7260 - * PCI-7296 - * PCI-7300A/cPCI-7300A - * PCI-7396/PCI-7348 - * PCI-7432/cPCI-7432/cPCI-7432R - * PCI-7433/cPCI-7433/cPCI-7433R - * PCI-7434/cPCI-7434/cPCI-7434R - * PCI-7442 - * PCI-7443 - * PCI-7444 - * cPCI-7452 - * PCI-8554 - * PCI-9111 - * PCI-9112/cPCI-9112 - * PCI-9113 - * PCI-9114/PCI-9114A - * cPCI-9116 - * PCI-9118 - * PCI-9221 - * PCI-9524 - * PCI-9812/10 - -**** Miscellaneous bug fixes **** - - * Fix PCI-9524 AO reference voltage bug. - * Fix a bug about PCI-6202 buffer reset with Auto buffer reset mode. - ------------------------------------------------------------------ - PCIS-DASK 4.20 Release Notes ------------------------------------------------------------------ - -**** PCIS-DASK 4.20 New Features **** - - * Support new products, PCI-6202 and PCI-9524, on Windows - 2000/XP/Vista_x86. - -**** PCIS-DASK 4.20 Hardware Support **** - - * PCI-6202 - * PCI-6208A - * PCI-6208V/16V - * PCI-6308A - * PCI-6308V - * PCI-7200/cPCI-7200 - * PCI-7230/cPCI-7230 - * PCI-7233/PCI-7233H - * PCI-7234 - * PCI-7248/cPCI-7248/PCI-7224 - * cPCI-7249R - * PCI-7250 - * cPCI-7252 - * PCI-7256 - * PCI-7258 - * PCI-7260 - * PCI-7296 - * PCI-7300A/cPCI-7300A - * PCI-7396/PCI-7348 - * PCI-7432/cPCI-7432/cPCI-7432R - * PCI-7433/cPCI-7433/cPCI-7433R - * PCI-7434/cPCI-7434/cPCI-7434R - * PCI-7442 - * PCI-7443 - * PCI-7444 - * cPCI-7452 - * PCI-8554 - * PCI-9111 - * PCI-9112/cPCI-9112 - * PCI-9113 - * PCI-9114/PCI-9114A - * cPCI-9116 - * PCI-9118 - * PCI-9221 - * PCI-9524 - * PCI-9812/10 - -**** PCIS-DASK 4.20 New Functions **** - - * AI_9524_Config - * AI_9524_PollConfig - * AI_9524_SetDSP - * AI_ReadChannel32 - * AI_ScanReadChannels32 - * AI_VoltScale32 - * AO_6202_Config - * AO_AsyncCheck - * AO_AsyncClear - * AO_AsyncDblBufferMode - * AO_AsyncDblBufferHalfReady - * AO_ContBufferReset - * AO_ContBufferSetup - * AO_ContWriteChannel - * AO_ContWriteMultiChannels - * AO_EventCallBack - * AO_SetTimeOut - * GPTC_EventCallBack - * GPTC_EventSetup - * GPTC_9524_PG_Config - * GetActualRate_9524 - * PCI9524_Acquire_AD_CalConst - * PCI9524_Acquire_DA_CalConst - * SSI_SourceConn - * SSI_SourceDisConn - * SSI_SourceClear - * PWM_Output - * PWM_Stop - -**** Miscellaneous bug fixes **** - - * Fix synchronous issues of PCI-7200 and PCI-7300A_RevB. - * Fix a bug about PCI-9221 pulse generation with external timebase. - * Fix the external digital trigger delay issue of PCI-9812. - * Fix a bug that Some resource do not be released at release card. - * Recover a bug of PCI-7248 firmware initialization. - -**** Miscellaneous **** - - * Refine AI Sync. mode structures of PCI-9xxx series. - * Add AI timeout mechanism for PCI-9xxx series. - ------------------------------------------------------------------ - PCIS-DASK 4.19 Release Notes ------------------------------------------------------------------ - -**** PCIS-DASK 4.19 Hardware Support **** - - * PCI-6208A - * PCI-6208V/16V - * PCI-6308A - * PCI-6308V - * PCI-7200/cPCI-7200 - * PCI-7230/cPCI-7230 - * PCI-7233/PCI-7233H - * PCI-7234 - * PCI-7248/cPCI-7248/PCI-7224 - * cPCI-7249R - * PCI-7250 - * cPCI-7252 - * PCI-7256 - * PCI-7258 - * PCI-7260 - * PCI-7296 - * PCI-7300A/cPCI-7300A - * PCI-7396/PCI-7348 - * PCI-7432/cPCI-7432/cPCI-7432R - * PCI-7433/cPCI-7433/cPCI-7433R - * PCI-7434/cPCI-7434/cPCI-7434R - * PCI-7442 - * PCI-7443 - * PCI-7444 - * cPCI-7452 - * PCI-8554 - * PCI-9111 - * PCI-9112/cPCI-9112 - * PCI-9113 - * PCI-9114/PCI-9114A - * cPCI-9116 - * PCI-9118 - * PCI-9221 - * PCI-9812/10 - -**** Miscellaneous **** - - * Extend Multi-Buffer Number of Continuous digital input of - PCI-7300A_RevB from 8 to 64 in Windows 98/2000/XP/Vista - Environment. - ------------------------------------------------------------------ - PCIS-DASK 4.18 Release Notes ------------------------------------------------------------------ - -**** PCIS-DASK 4.18 Hardware Support **** - - * PCI-6208A - * PCI-6208V/16V - * PCI-6308A - * PCI-6308V - * PCI-7200/cPCI-7200 - * PCI-7230/cPCI-7230 - * PCI-7233/PCI-7233H - * PCI-7234 - * PCI-7248/cPCI-7248/PCI-7224 - * cPCI-7249R - * PCI-7250 - * cPCI-7252 - * PCI-7256 - * PCI-7258 - * PCI-7260 - * PCI-7296 - * PCI-7300A/cPCI-7300A - * PCI-7396/PCI-7348 - * PCI-7432/cPCI-7432/cPCI-7432R - * PCI-7433/cPCI-7433/cPCI-7433R - * PCI-7434/cPCI-7434/cPCI-7434R - * PCI-7442 - * PCI-7443 - * PCI-7444 - * cPCI-7452 - * PCI-8554 - * PCI-9111 - * PCI-9112/cPCI-9112 - * PCI-9113 - * PCI-9114/PCI-9114A - * cPCI-9116 - * PCI-9118 - * PCI-9221 - * PCI-9812/10 - -**** Miscellaneous bug fixes **** - - * The bug of PCI-9221 Analog Output tranfomation is fixed. - -**** Miscellaneous **** - - * Re-write general purpose timer/counter sample of PCI-9221 - since some function of firmware of PCI-9221 is modified. - * Remove the restriction of sample and scan interval of - PCI-9221. - ------------------------------------------------------------------ - PCIS-DASK 4.17 Release Notes ------------------------------------------------------------------ - -**** PCIS-DASK 4.17 New Features**** - -The following new features are supported in PCIS-DASK 4.17 : - - * Add new function, CTR_Status, for pci8554. - -**** PCIS-DASK 4.17 Hardware Support **** - - * PCI-6208A - * PCI-6208V/16V - * PCI-6308A - * PCI-6308V - * PCI-7200/cPCI-7200 - * PCI-7230/cPCI-7230 - * PCI-7233/PCI-7233H - * PCI-7234 - * PCI-7248/cPCI-7248/PCI-7224 - * cPCI-7249R - * PCI-7250 - * cPCI-7252 - * PCI-7256 - * PCI-7258 - * PCI-7260 - * PCI-7296 - * PCI-7300A/cPCI-7300A - * PCI-7396/PCI-7348 - * PCI-7432/cPCI-7432/cPCI-7432R - * PCI-7433/cPCI-7433/cPCI-7433R - * PCI-7434/cPCI-7434/cPCI-7434R - * PCI-7442 - * PCI-7443 - * PCI-7444 - * cPCI-7452 - * PCI-8554 - * PCI-9111 - * PCI-9112/cPCI-9112 - * PCI-9113 - * PCI-9114/PCI-9114A - * cPCI-9116 - * PCI-9118 - * PCI-9221 - * PCI-9812/10 - -**** PCIS-DASK 4.17 New Functions **** - -The following new functions are added to PCIS-DASK 4.17 - - * CTR_Status - -**** Miscellaneous bug fixes **** - - * The problem that the system may crash while the board id of - pci7256/7452 is reading from board is fixed. - * Fixed the bug of AI differential mode of PCI9221 that causes - AI acquisition fault. - ------------------------------------------------------------------ - PCIS-DASK 4.16 Release Notes ------------------------------------------------------------------ - -**** PCIS-DASK 4.16 New Features**** - -The following new features are supported in PCIS-DASK 4.16 : - - * Windows Vista x86 support. - * Windows Vista/XP/2003 x64 support. - -**** PCIS-DASK 4.16 Hardware Support **** - - * PCI-6208A - * PCI-6208V/16V - * PCI-6308A - * PCI-6308V - * PCI-7200/cPCI-7200 - * PCI-7230/cPCI-7230 - * PCI-7233/PCI-7233H - * PCI-7234 - * PCI-7248/cPCI-7248/PCI-7224 - * cPCI-7249R - * PCI-7250 - * cPCI-7252 - * PCI-7256 - * PCI-7258 - * PCI-7260 - * PCI-7296 - * PCI-7300A/cPCI-7300A - * PCI-7396/PCI-7348 - * PCI-7432/cPCI-7432/cPCI-7432R - * PCI-7433/cPCI-7433/cPCI-7433R - * PCI-7434/cPCI-7434/cPCI-7434R - * PCI-7442 - * PCI-7443 - * PCI-7444 - * cPCI-7452 - * PCI-8554 - * PCI-9111 - * PCI-9112/cPCI-9112 - * PCI-9113 - * PCI-9114/PCI-9114A - * cPCI-9116 - * PCI-9118 - * PCI-9221 - * PCI-9812/10 - -**** Miscellaneous bug fixes **** - - * The problem of GPTC Retrigger Pulse Generation of Pci-9221 is fixed. - * The problem that Pci-9221 DMA Transfer may crash the system with some - PCI bridges is fixed. - -**** Miscellaneous **** - - * P9221.inf is re-written. - * Some sample programs are re-written. - ------------------------------------------------------------------ - PCIS-DASK 4.15 Release Notes ------------------------------------------------------------------ - -**** PCIS-DASK 4.15 New Features (versus 4.14) **** - -The following new features are supported in PCIS-DASK 4.15 : - - * Driver for new NuDAQ card, PCI-7443 supports. - * Driver for new NuDAQ card, PCI-7444 supports. - * Driver for new NuDAQ card, PCI-9221 supports. - -**** PCIS-DASK 4.15 Hardware Support **** - - * PCI-6208A - * PCI-6208V/16V - * PCI-6308A - * PCI-6308V - * PCI-7200/cPCI-7200 - * PCI-7230/cPCI-7230 - * PCI-7233/PCI-7233H - * PCI-7234 - * PCI-7248/cPCI-7248/PCI-7224 - * cPCI-7249R - * PCI-7250 - * cPCI-7252 - * PCI-7256 - * PCI-7258 - * PCI-7260 - * PCI-7296 - * PCI-7300A/cPCI-7300A - * PCI-7396/PCI-7348 - * PCI-7432/cPCI-7432/cPCI-7432R - * PCI-7433/cPCI-7433/cPCI-7433R - * PCI-7434/cPCI-7434/cPCI-7434R - * PCI-7442 - * PCI-7443 - * PCI-7444 - * cPCI-7452 - * PCI-8554 - * PCI-9111 - * PCI-9112/cPCI-9112 - * PCI-9113 - * PCI-9114/PCI-9114A - * cPCI-9116 - * PCI-9118 - * PCI-9221 - * PCI-9812/10 - -**** PCIS-DASK 4.15 New Functions **** - -The following new functions are added to PCIS-DASK 4.15 - - * AI_9221_Config - * AI_9221_CounterInterval - * AI_ScanReadChannels - * AI_ReadMultiChannels - * AI_AsyncDblBufferHandled - * AI_AsyncDblBufferToFile - * AI_SetTimeOut - * AI_ContBufferSetup - * AI_ContBufferReset - * GPTC_Clear - * GPTC_Control - * GPTC_Read - * GPTC_Setup - * GPTC_Status - * PCI_DB_Auto_Calibration_ALL - * PCI_Load_CAL_Data - * PCI_EEPROM_CAL_Constant_Update - -**** Miscellaneous bug fixes **** - -* The problem that latching DI state while COS channel 1 occurs for pci-7442 is fixed. - ------------------------------------------------------------------ - PCIS-DASK 4.14 Release Notes ------------------------------------------------------------------ - -**** PCIS-DASK 4.14 New Features (versus 4.13.1) **** - -The following new features are supported in PCIS-DASK 4.14 : - - * New .NET(C# and VB.NET) samples provide. - -**** PCIS-DASK 4.14 Hardware Support **** - - * PCI-6208A - * PCI-6208V/16V - * PCI-6308A - * PCI-6308V - * PCI-7200/cPCI-7200 - * PCI-7230/cPCI-7230 - * PCI-7233/PCI-7233H - * PCI-7234 - * PCI-7248/cPCI-7248/PCI-7224 - * cPCI-7249R - * PCI-7250 - * cPCI-7252 - * PCI-7256 - * PCI-7258 - * PCI-7260 - * PCI-7296 - * PCI-7300A/cPCI-7300A - * PCI-7396/PCI-7348 - * PCI-7432/cPCI-7432/cPCI-7432R - * PCI-7433/cPCI-7433/cPCI-7433R - * PCI-7434/cPCI-7434/cPCI-7434R - * PCI-7442 - * cPCI-7452 - * PCI-8554 - * PCI-9111 - * PCI-9112/cPCI-9112 - * PCI-9113 - * PCI-9114/PCI-9114A - * cPCI-9116 - * PCI-9118 - * PCI-9812/10 ------------------------------------------------------------------ - PCIS-DASK 4.13.1 Release Notes ------------------------------------------------------------------ - -**** PCIS-DASK 4.13.1 Hardware Support **** - - * PCI-6208A - * PCI-6208V/16V - * PCI-6308A - * PCI-6308V - * PCI-7200/cPCI-7200 - * PCI-7230/cPCI-7230 - * PCI-7233/PCI-7233H - * PCI-7234 - * PCI-7248/cPCI-7248/PCI-7224 - * cPCI-7249R - * PCI-7250 - * cPCI-7252 - * PCI-7256 - * PCI-7258 - * PCI-7260 - * PCI-7296 - * PCI-7300A/cPCI-7300A - * PCI-7396/PCI-7348 - * PCI-7432/cPCI-7432/cPCI-7432R - * PCI-7433/cPCI-7433/cPCI-7433R - * PCI-7434/cPCI-7434/cPCI-7434R - * PCI-7442 - * cPCI-7452 - * PCI-8554 - * PCI-9111 - * PCI-9112/cPCI-9112 - * PCI-9113 - * PCI-9114/PCI-9114A - * cPCI-9116 - * PCI-9118 - * PCI-9812/10 - ------------------------------------------------------------------ - PCIS-DASK 4.13 Release Notes ------------------------------------------------------------------ - -**** PCIS-DASK 4.13 New Features (versus 4.12.1) **** - -The following new features are supported in PCIS-DASK 4.13 : - - * Driver for new NuDAQ card, PCI-7442 supports. - -**** PCIS-DASK 4.13 Hardware Support **** - - * PCI-6208A - * PCI-6208V/16V - * PCI-6308A - * PCI-6308V - * PCI-7200/cPCI-7200 - * PCI-7230/cPCI-7230 - * PCI-7233/PCI-7233H - * PCI-7234 - * PCI-7248/cPCI-7248/PCI-7224 - * cPCI-7249R - * PCI-7250 - * cPCI-7252 - * PCI-7256 - * PCI-7258 - * PCI-7260 - * PCI-7296 - * PCI-7300A/cPCI-7300A - * PCI-7396/PCI-7348 - * PCI-7432/cPCI-7432/cPCI-7432R - * PCI-7433/cPCI-7433/cPCI-7433R - * PCI-7434/cPCI-7434/cPCI-7434R - * PCI-7442 - * cPCI-7452 - * PCI-8554 - * PCI-9111 - * PCI-9112/cPCI-9112 - * PCI-9113 - * PCI-9114/PCI-9114A - * cPCI-9116 - * PCI-9118 - * PCI-9812/10 - -**** PCIS-DASK 4.13 New Functions **** - -The following new functions are added to PCIS-DASK 4.13 - - * DO_SimuWritePort - * DIO_LineConfig - * DIO_LinesConfig - * HotResetHoldControl - * HotResetHoldStatus - * SetInitPattern - * WDT_Reload - * DI_AsyncMultiBuffersHandled - -**** Miscellaneous bug fixes **** - -* The problem that failing on repeated multi-buffer acquisition - for pci-7300A is fixed. - -**** Miscellaneous **** - -* One additional function, DI_AsyncMultiBuffersHandled is added to check - multi-buffer overrun status. Using this function, user can specified - the buffer ids that have been handled by the application. - ------------------------------------------------------------------ - PCIS-DASK 4.12.1 Release Notes ------------------------------------------------------------------ - -**** PCIS-DASK 4.12.1 New Features (versus 4.12) **** - -The following new features are supported in PCIS-DASK 4.12.1 : - - * A C# file that define a new class, called DASK, with methods for - PCI-DASK functions - * A new header file for VB.NET. - -**** PCIS-DASK 4.12.1 Hardware Support **** - - * PCI-6208A - * PCI-6208V/16V - * PCI-6308A - * PCI-6308V - * PCI-7200/cPCI-7200 - * PCI-7230/cPCI-7230 - * PCI-7233/PCI-7233H - * PCI-7234 - * PCI-7248/cPCI-7248/PCI-7224 - * cPCI-7249R - * PCI-7250 - * cPCI-7252 - * PCI-7256 - * PCI-7258 - * PCI-7260 - * PCI-7296 - * PCI-7300A/cPCI-7300A - * PCI-7396/PCI-7348 - * PCI-7432/cPCI-7432/cPCI-7432R - * PCI-7433/cPCI-7433/cPCI-7433R - * PCI-7434/cPCI-7434/cPCI-7434R - * cPCI-7452 - * PCI-8554 - * PCI-9111 - * PCI-9112/cPCI-9112 - * PCI-9113 - * PCI-9114/PCI-9114A - * cPCI-9116 - * PCI-9118 - * PCI-9812/10 - - ------------------------------------------------------------------ - PCIS-DASK 4.12 Release Notes ------------------------------------------------------------------ - -**** PCIS-DASK 4.11 New Features (versus 4.10) **** - -The following new features are supported in PCIS-DASK 4.12 : - - * Driver for new NuDAQ card, cPCI-7452 supports - -**** PCIS-DASK 4.12 Hardware Support **** - -PCIS-DASK 4.12 Windows 2000/NT/98 version : - * PCI-6208A - * PCI-6208V/16V - * PCI-6308A - * PCI-6308V - * PCI-7200/cPCI-7200 - * PCI-7230/cPCI-7230 - * PCI-7233/PCI-7233H - * PCI-7234 - * PCI-7248/cPCI-7248/PCI-7224 - * cPCI-7249R - * PCI-7250 - * cPCI-7252 - * PCI-7256 - * PCI-7258 - * PCI-7260 - * PCI-7296 - * PCI-7300A/cPCI-7300A - * PCI-7396/PCI-7348 - * PCI-7432/cPCI-7432/cPCI-7432R - * PCI-7433/cPCI-7433/cPCI-7433R - * PCI-7434/cPCI-7434/cPCI-7434R - * cPCI-7452 - * PCI-8554 - * PCI-9111 - * PCI-9112/cPCI-9112 - * PCI-9113 - * PCI-9114/PCI-9114A - * cPCI-9116 - * PCI-9118 - * PCI-9812/10 - -**** PCIS-DASK 4.12 New Functions **** - -The following new functions are added to PCIS-DASK 4.12 - - * DIO_INT_Event_Message - * DIO_SetCOSInterrupt32 - * DIO_GetCOSLatchDataInt32 - -**** Miscellaneous bug fixes **** - -* Issuse with failing to load pci-7224 driver in window 2000/XP. - - -**** Miscellaneous **** - -* The AD channel number can be extended to 255 (for external AD channels) - for PCI-9118 series boards. - ------------------------------------------------------------------ - PCIS-DASK 4.11 Release Notes ------------------------------------------------------------------ - -**** PCIS-DASK 4.11 New Features (versus 4.10) **** - -The following new features are supported in PCIS-DASK 4.11 : - - * Driver for new NuDAQ card, cPCI-7452 supports - -**** PCIS-DASK 4.11 Hardware Support **** - -PCIS-DASK 4.11 Windows 2000/NT/98 version : - * PCI-6208A - * PCI-6208V/16V - * PCI-6308A - * PCI-6308V - * PCI-7200/cPCI-7200 - * PCI-7230/cPCI-7230 - * PCI-7233/PCI-7233H - * PCI-7234 - * PCI-7248/cPCI-7248/PCI-7224 - * cPCI-7249R - * PCI-7250 - * cPCI-7252 - * PCI-7256 - * PCI-7258 - * PCI-7260 - * PCI-7296 - * PCI-7300A/cPCI-7300A - * PCI-7396/PCI-7348 - * PCI-7432/cPCI-7432/cPCI-7432R - * PCI-7433/cPCI-7433/cPCI-7433R - * PCI-7434/cPCI-7434/cPCI-7434R - * cPCI-7452 - * PCI-8554 - * PCI-9111 - * PCI-9112/cPCI-9112 - * PCI-9113 - * PCI-9114/PCI-9114A - * cPCI-9116 - * PCI-9118 - * PCI-9812/10 - -**** PCIS-DASK 4.11 New Functions **** - -The following new functions are added to PCIS-DASK 4.11 - - * DIO_INT_Event_Message - * DIO_SetCOSInterrupt32 - * DIO_GetCOSLatchDataInt32 - ------------------------------------------------------------------ - PCIS-DASK 4.10 Release Notes ------------------------------------------------------------------ - -**** PCIS-DASK 4.10 New Features (versus 4.09) **** - -The following new features are supported in PCIS-DASK 4.10 : - - * Driver for new NuDAQ card, PCI-7260 supports - -**** PCIS-DASK 4.10 Hardware Support **** - -PCIS-DASK 4.10 Windows 2000/NT/98 version : - * PCI-6208A - * PCI-6208V/16V - * PCI-6308A - * PCI-6308V - * PCI-7200/cPCI-7200 - * PCI-7230/cPCI-7230 - * PCI-7233/PCI-7233H - * PCI-7234 - * PCI-7248/cPCI-7248/PCI-7224 - * cPCI-7249R - * PCI-7250 - * cPCI-7252 - * PCI-7256 - * PCI-7258 - * PCI-7260 - * PCI-7296 - * PCI-7300A/cPCI-7300A - * PCI-7396/PCI-7348 - * PCI-7432/cPCI-7432/cPCI-7432R - * PCI-7433/cPCI-7433/cPCI-7433R - * PCI-7434/cPCI-7434/cPCI-7434R - * PCI-8554 - * PCI-9111 - * PCI-9112/cPCI-9112 - * PCI-9113 - * PCI-9114/PCI-9114A - * cPCI-9116 - * PCI-9118 - * PCI-9812/10 - -**** PCIS-DASK 4.10 New Functions **** - -The following new functions are added to PCIS-DASK 4.10 - - * GetCardIndexFromID - * EMGShutDownControl - * EMGShutDownStatus - * GetInitPattern - * IdentifyLED_Control - * WDT_Setup - * WDT_Control - * AI_AsyncDblBufferOverrun - * DI_AsyncDblBufferOverrun - * WDT_Status - ------------------------------------------------------------------ - PCIS-DASK 4.09 Release Notes ------------------------------------------------------------------ - -**** PCIS-DASK 4.06 Hardware Support **** - - * PCI-6208A - * PCI-6208V/16V - * PCI-6308A - * PCI-6308V - * PCI-7200/cPCI-7200 - * PCI-7230/cPCI-7230 - * PCI-7233/PCI-7233H - * PCI-7234 - * PCI-7248/cPCI-7248/PCI-7224 - * cPCI-7249R - * PCI-7250 - * cPCI-7252 - * PCI-7256 - * PCI-7258 - * PCI-7296 - * PCI-7300A/cPCI-7300A - * PCI-7396/PCI-7348 - * PCI-7432/cPCI-7432/cPCI-7432R - * PCI-7433/cPCI-7433/cPCI-7433R - * PCI-7434/cPCI-7434/cPCI-7434R - * PCI-8554 - * PCI-9111 - * PCI-9112/cPCI-9112 - * PCI-9113 - * PCI-9114/PCI-9114A - * cPCI-9116 - * PCI-9118 - * PCI-9812/10 - -**** Miscellaneous bug fixes **** - -* Issuse with wrong data for uni-polar mode of continuous analog input - of PCI-9118HR. -* Issue with failing to disable PCI-9116 driver in Device Manager. - ------------------------------------------------------------------ - PCIS-DASK 4.08 Release Notes ------------------------------------------------------------------ - -**** PCIS-DASK 4.06 Hardware Support **** - - * PCI-6208A - * PCI-6208V/16V - * PCI-6308A - * PCI-6308V - * PCI-7200/cPCI-7200 - * PCI-7230/cPCI-7230 - * PCI-7233/PCI-7233H - * PCI-7234 - * PCI-7248/cPCI-7248/PCI-7224 - * cPCI-7249R - * PCI-7250 - * cPCI-7252 - * PCI-7256 - * PCI-7258 - * PCI-7296 - * PCI-7300A/cPCI-7300A - * PCI-7396/PCI-7348 - * PCI-7432/cPCI-7432/cPCI-7432R - * PCI-7433/cPCI-7433/cPCI-7433R - * PCI-7434/cPCI-7434/cPCI-7434R - * PCI-8554 - * PCI-9111 - * PCI-9112/cPCI-9112 - * PCI-9113 - * PCI-9114/PCI-9114A - * cPCI-9116 - * PCI-9118 - * PCI-9812/10 - -**** Miscellaneous bug fixes **** - -* Issuse with wrong address offset of LED light of cPCI7433/7434. -* The initialization failed problem for pci7256/58 with card number - more than 0 in windows 2000 is fixed. - ------------------------------------------------------------------ - PCIS-DASK 4.07 Release Notes ------------------------------------------------------------------ - -**** PCIS-DASK 4.06 Hardware Support **** - - * PCI-6208A - * PCI-6208V/16V - * PCI-6308A - * PCI-6308V - * PCI-7200/cPCI-7200 - * PCI-7230/cPCI-7230 - * PCI-7233/PCI-7233H - * PCI-7234 - * PCI-7248/cPCI-7248/PCI-7224 - * cPCI-7249R - * PCI-7250 - * cPCI-7252 - * PCI-7256 - * PCI-7258 - * PCI-7296 - * PCI-7300A/cPCI-7300A - * PCI-7396/PCI-7348 - * PCI-7432/cPCI-7432/cPCI-7432R - * PCI-7433/cPCI-7433/cPCI-7433R - * PCI-7434/cPCI-7434/cPCI-7434R - * PCI-8554 - * PCI-9111 - * PCI-9112/cPCI-9112 - * PCI-9113 - * PCI-9114/PCI-9114A - * cPCI-9116 - * PCI-9118 - * PCI-9812/10 - ------------------------------------------------------------------ - PCIS-DASK 4.06 Release Notes ------------------------------------------------------------------ - -**** PCIS-DASK 4.06 New Features (versus 4.05) **** - -The following new features are supported in PCIS-DASK 4.06 : - - * User-defined callbacks of Multiple buffer Event Message method is - now implemented for asynchronous DI data acquisition of PCI-7300A_RevB. - * The overrun status of Multiple buffered data acquisition can be - got by the function "DI_AsyncDblBufferOverrun" for PCI-7300A_RevB. - -**** PCIS-DASK 4.06 Hardware Support **** - -PCIS-DASK 4.06 Windows 2000/NT/98 version : - * PCI-6208A - * PCI-6208V/16V - * PCI-6308A - * PCI-6308V - * PCI-7200/cPCI-7200 - * PCI-7230/cPCI-7230 - * PCI-7233/PCI-7233H - * PCI-7234 - * PCI-7248/cPCI-7248/PCI-7224 - * cPCI-7249R - * PCI-7250 - * cPCI-7252 - * PCI-7256 - * PCI-7258 - * PCI-7296 - * PCI-7300A/cPCI-7300A - * PCI-7396/PCI-7348 - * PCI-7432/cPCI-7432/cPCI-7432R - * PCI-7433/cPCI-7433/cPCI-7433R - * PCI-7434/cPCI-7434/cPCI-7434R - * PCI-8554 - * PCI-9111 - * PCI-9112/cPCI-9112 - * PCI-9113 - * PCI-9114/PCI-9114A - * cPCI-9116 - * PCI-9118 - * PCI-9812/10 - -**** Miscellaneous bug fixes **** - -Some resource (a handle) is not removed after calling Release_Card. - -**** Miscellaneous **** - -For PCI-7300A_RevB, DI_AsyncDblBufferTransfer doesn't perform memory transfer but -notifies pci-dask.dll the data stored in buffer have been handled. - ------------------------------------------------------------------ - PCIS-DASK 4.05 Release Notes ------------------------------------------------------------------ - -**** PCIS-DASK 4.05 Hardware Support **** - -PCIS-DASK 4.05 Windows 2000/NT/98 version : - * PCI-6208A - * PCI-6208V/16V - * PCI-6308A - * PCI-6308V - * PCI-7200/cPCI-7200 - * PCI-7230/cPCI-7230 - * PCI-7233/PCI-7233H - * PCI-7234 - * PCI-7248/cPCI-7248/PCI-7224 - * cPCI-7249R - * PCI-7250 - * cPCI-7252 - * PCI-7256 - * PCI-7258 - * PCI-7296 - * PCI-7300A/cPCI-7300A - * PCI-7396/PCI-7348 - * PCI-7432/cPCI-7432/cPCI-7432R - * PCI-7433/cPCI-7433/cPCI-7433R - * PCI-7434/cPCI-7434/cPCI-7434R - * PCI-8554 - * PCI-9111 - * PCI-9112/cPCI-9112 - * PCI-9113 - * PCI-9114/PCI-9114A - * cPCI-9116 - * PCI-9118 - * PCI-9812/10 - -**** Miscellaneous bug fixes **** - -* Issue with pci-dask.dll can't be loaded in window NT4.0. -* The problem that many channles of data file can't be converted - correctly for DaqCvt utility is fixed. - -**** Miscellaneous **** -* The drivers of PCI-6208/7432/7249/8554 and adldask are modified - for embedded chip replacement. -* The revsed pci-9111 inf for additional device ID of new version - of PCI-9111. - ------------------------------------------------------------------ - PCIS-DASK 4.04 Release Notes ------------------------------------------------------------------ - -**** PCIS-DASK 4.04 Hardware Support **** - -PCIS-DASK 4.04 Windows 2000/NT/98 version : - * PCI-6208A - * PCI-6208V/16V - * PCI-6308A - * PCI-6308V - * PCI-7200/cPCI-7200 - * PCI-7230/cPCI-7230 - * PCI-7233/PCI-7233H - * PCI-7234 - * PCI-7248/cPCI-7248/PCI-7224 - * cPCI-7249R - * PCI-7250 - * cPCI-7252 - * PCI-7256 - * PCI-7258 - * PCI-7296 - * PCI-7300A/cPCI-7300A - * PCI-7396/PCI-7348 - * PCI-7432/cPCI-7432/cPCI-7432R - * PCI-7433/cPCI-7433/cPCI-7433R - * PCI-7434/cPCI-7434/cPCI-7434R - * PCI-8554 - * PCI-9111 - * PCI-9112/cPCI-9112 - * PCI-9113 - * PCI-9114/PCI-9114A - * cPCI-9116 - * PCI-9118 - * PCI-9812/10 - -**** Miscellaneous bug fixes **** - -* Issues with continuous AI operation (for PCI-9111DG/HR and - PCI-9114DG/HG) hanging on the systems with "Hyper Threading" enabled and - multiprocessor. -* The privilege problem for the driver of pci7256/58 in windows 2000 is fixed. - ------------------------------------------------------------------ - PCIS-DASK 4.03 Release Notes ------------------------------------------------------------------ -**** PCIS-DASK 4.03 New Features (versus 4.02) **** - -**** PCIS-DASK 4.03 Hardware Support **** - -PCIS-DASK 4.03 Windows 2000/NT/98 version : - * PCI-6208A - * PCI-6208V/16V - * PCI-6308A - * PCI-6308V - * PCI-7200/cPCI-7200 - * PCI-7230/cPCI-7230 - * PCI-7233/PCI-7233H - * PCI-7234 - * PCI-7248/cPCI-7248/PCI-7224 - * cPCI-7249R - * PCI-7250 - * cPCI-7252 - * PCI-7256 - * PCI-7258 - * PCI-7296 - * PCI-7300A/cPCI-7300A - * PCI-7396/PCI-7348 - * PCI-7432/cPCI-7432/cPCI-7432R - * PCI-7433/cPCI-7433/cPCI-7433R - * PCI-7434/cPCI-7434/cPCI-7434R - * PCI-8554 - * PCI-9111 - * PCI-9112/cPCI-9112 - * PCI-9113 - * PCI-9114/PCI-9114A - * cPCI-9116 - * PCI-9118 - * PCI-9812/10 - -**** Miscellaneous bug fixes **** - -* Issues with Double buffer mode DMA (for the devices embedded - with AMCC5933/5935) and buffered mode DMA (for PCI-7300A_RevB) - hanging on the systems with "Hyper Threading" enabled and - multiprocessor. - ------------------------------------------------------------------ - PCIS-DASK 4.02 Release Notes ------------------------------------------------------------------ -**** PCIS-DASK 4.02 New Features (versus 4.01) **** - -**** PCIS-DASK 4.02 Hardware Support **** - -PCIS-DASK 4.02 Windows 2000/NT/98 version : - * PCI-6208A - * PCI-6208V/16V - * PCI-6308A - * PCI-6308V - * PCI-7200/cPCI-7200 - * PCI-7230/cPCI-7230 - * PCI-7233/PCI-7233H - * PCI-7234 - * PCI-7248/cPCI-7248/PCI-7224 - * cPCI-7249R - * PCI-7250 - * cPCI-7252 - * PCI-7256 - * PCI-7258 - * PCI-7296 - * PCI-7300A/cPCI-7300A - * PCI-7396/PCI-7348 - * PCI-7432/cPCI-7432/cPCI-7432R - * PCI-7433/cPCI-7433/cPCI-7433R - * PCI-7434/cPCI-7434/cPCI-7434R - * PCI-8554 - * PCI-9111 - * PCI-9112/cPCI-9112 - * PCI-9113 - * PCI-9114/PCI-9114A - * cPCI-9116 - * PCI-9118 - * PCI-9812/10 - -**** Miscellaneous bug fixes **** - -* The wrong data problem for uni-polar mode of continuous analog input - of PCI-9118HR is now fixed. -* It is now fixed that the DO_WriteLine doesn't work for PCI-9111DG/HG - ------------------------------------------------------------------ - PCIS-DASK 4.01 Release Notes ------------------------------------------------------------------ -**** PCIS-DASK 4.01 New Features (versus 4.0) **** - -The following new features are supported in PCIS-DASK 4.01 : - - * Post trigger mode of continuous AI are now supported for PCI-9111DG/HR - with hardware version B1 or larger. Please refer to the PCIS-DASK - function reference manual for the details. - * A new function "CTR_Update", which writes initial count to the selected - counter without affecting the counter's programmed mode, is now supported - for the NuDAQ devices that have onboard 82C54 timer/counters. - -**** PCIS-DASK 4.01 Hardware Support **** - -PCIS-DASK 4.01 Windows 2000/NT/98 version : - * PCI-6208A - * PCI-6208V/16V - * PCI-6308A - * PCI-6308V - * PCI-7200/cPCI-7200 - * PCI-7230/cPCI-7230 - * PCI-7233/PCI-7233H - * PCI-7234 - * PCI-7248/cPCI-7248/PCI-7224 - * cPCI-7249R - * PCI-7250 - * cPCI-7252 - * PCI-7256 - * PCI-7258 - * PCI-7296 - * PCI-7300A/cPCI-7300A - * PCI-7396/PCI-7348 - * PCI-7432/cPCI-7432/cPCI-7432R - * PCI-7433/cPCI-7433/cPCI-7433R - * PCI-7434/cPCI-7434/cPCI-7434R - * PCI-8554 - * PCI-9111 - * PCI-9112/cPCI-9112 - * PCI-9113 - * PCI-9114/PCI-9114A - * cPCI-9116 - * PCI-9118 - * PCI-9812/10 - -**** PCIS-DASK 4.01 New Functions **** - -The following new functions are added to PCIS-DASK 4.01 - - * CTR_Update - -**** Miscellaneous **** - -The time delay between that the hardware stops AI and that software gets the AI complete -message for pre-triggered mode of PCI-9111 (checking by AI_AsyncCheck), is now decreased. - ------------------------------------------------------------------ - PCIS-DASK 4.0 Release Notes ------------------------------------------------------------------ - -**** PCIS-DASK 4.0 New Features (versus 3.25) **** - -The following new features are supported in PCIS-DASK 4.0 : - - * User-defined callbacks of DAQ Event Message method is now - implemented for asynchronous data acquisition. - * The overrun status of double buffered data acquisition - can be got by the function "AI_AsyncDblBufferOverrun" or - "DI_AsyncDblBufferOverrun". - * The map address of driver buffer can be got by the function - AI_GetView/DI_GetView/DO_GetView. - * The funcitons DO_ReadLine, DO_ReadPort and DO_WriteLine are now - supported for all of the NuDAQ devices containing digital output - ports. - * A easy-to-use utility, CodeCreator is now included. - With configuration windows, you can specify the card type, I/O mode, - device configuration, ...and so on to generate the appropriated code - segment. - * The PCIS-DASK Tutorial is now included. - -**** PCIS-DASK 4.0 Hardware Support **** - -PCIS-DASK 4.0 Windows 2000/NT/98 version : - * PCI-6208A - * PCI-6208V/16V - * PCI-6308A - * PCI-6308V - * PCI-7200/cPCI-7200 - * PCI-7230/cPCI-7230 - * PCI-7233/PCI-7233H - * PCI-7234 - * PCI-7248/cPCI-7248/PCI-7224 - * cPCI-7249R - * PCI-7250 - * cPCI-7252 - * PCI-7256 - * PCI-7258 - * PCI-7296 - * PCI-7300A/cPCI-7300A - * PCI-7396/PCI-7348 - * PCI-7432/cPCI-7432/cPCI-7432R - * PCI-7433/cPCI-7433/cPCI-7433R - * PCI-7434/cPCI-7434/cPCI-7434R - * PCI-8554 - * PCI-9111 - * PCI-9112/cPCI-9112 - * PCI-9113 - * PCI-9114/PCI-9114A - * cPCI-9116 - * PCI-9118 - * PCI-9812/10 - -**** PCIS-DASK 4.0 New Functions **** - -The following new functions are added to PCIS-DASK 4.0 - - * GetCardType - * GetBaseAddr - * GetLCRAddr - * AI_9812_SetDiv - * AI_EventCallBack - * DI_EventCallBack - * DO_EventCallBack - * AI_AsyncDblBufferOverrun - * DI_AsyncDblBufferOverrun - * AI_GetView - * DI_GetView - * DO_GetView - -**** Miscellaneous bug fixes **** - - * The problem that all the AUXDO lines of PCI-7300A go high after - calling "Register_card" is now fixed. - ------------------------------------------------------------------ - PCIS-DASK 3.25 Release Notes ------------------------------------------------------------------ - -**** PCIS-DASK 3.25 New Features (versus 3.24) **** - -The following new features are supported in PCIS-DASK 3.25 : - - * Driver for new NuDAQ card, PCI-7258 supports - * The slot number of cPCI-7432R/cPCI-7433R/cPCI-7434R can be - read by the function "D2K_DI_ReadPort". Please refer to the - PCIS-DASK function reference manual for the details. - -**** PCIS-DASK 3.25 Hardware Support **** - -PCIS-DASK 3.25 Windows 2000/NT/98 version : - * PCI-6208A - * PCI-6208V/16V - * PCI-6308A - * PCI-6308V - * PCI-7200/cPCI-7200 - * PCI-7230/cPCI-7230 - * PCI-7233/PCI-7233H - * PCI-7234 - * PCI-7248/cPCI-7248 - * cPCI-7249R - * PCI-7250 - * cPCI-7252 - * PCI-7256 - * PCI-7258 - * PCI-7296 - * PCI-7300A/cPCI-7300A - * PCI-7396/PCI-7348 - * PCI-7432/cPCI-7432/cPCI-7432R - * PCI-7433/cPCI-7433/cPCI-7433R - * PCI-7434/cPCI-7434/cPCI-7434R - * PCI-8554 - * PCI-9111 - * PCI-9112/cPCI-9112 - * PCI-9113 - * PCI-9114/PCI-9114A - * cPCI-9116 - * PCI-9118 - * PCI-9812/10 - -**** Miscellaneous bug fixes **** - - * Repeatedly aborting the DMA operation of PCI-7300A/cPCI-7300A causes - the next DMA transfer is stuck in the middle of transfer. - The problem is now fixed. - -**** Miscellaneous **** - -The LED of cPCI-7432R/cPCI-7433R/cPCI-7434R can be controlled by the -function "D2K_DO_WritePort". Please refer to the PCIS-DASK function -reference manual for the details. - ------------------------------------------------------------------ - PCIS-DASK 3.24 Release Notes ------------------------------------------------------------------ - -**** PCIS-DASK 3.24 New Features (versus 3.23) **** - -The following new features are supported in PCIS-DASK 3.24 : - - * Pre-trigger and external strobe mode of continuous AI are now - supported for PCI-9114A - -**** PCIS-DASK 3.24 Hardware Support **** - -PCIS-DASK 3.24 Windows 2000/NT/98 version : - * PCI-6208A - * PCI-6208V/16V - * PCI-6308A - * PCI-6308V - * PCI-7200/cPCI-7200 - * PCI-7230/cPCI-7230 - * PCI-7233/PCI-7233H - * PCI-7234 - * PCI-7248/cPCI-7248 - * cPCI-7249R - * PCI-7250 - * cPCI-7252 - * PCI-7256 - * PCI-7296 - * PCI-7300A/cPCI-7300A - * PCI-7396/PCI-7348 - * PCI-7432/cPCI-7432/cPCI-7432R - * PCI-7433/cPCI-7433/cPCI-7433R - * PCI-7434/cPCI-7434/cPCI-7434R - * PCI-8554 - * PCI-9111 - * PCI-9112/cPCI-9112 - * PCI-9113 - * PCI-9114/PCI-9114A - * cPCI-9116 - * PCI-9118 - * PCI-9812/10 - -**** PCIS-DASK 3.24 New Functions **** - -The following new functions are added to PCIS-DASK 3.23 - - * AI_9114_PreTrigConfig - ------------------------------------------------------------------ - PCIS-DASK 3.23 Release Notes ------------------------------------------------------------------ - -**** PCIS-DASK 3.23 New Features (versus 3.22) **** - -The following new features are supported in PCIS-DASK 3.23 : - - * Simultaneous analog output is now supported for - PCI-6308V/6308A - -**** PCIS-DASK 3.23 Hardware Support **** - -PCIS-DASK 3.23 Windows 2000/NT/98 version : - * PCI-6208A - * PCI-6208V/16V - * PCI-6308A - * PCI-6308V - * PCI-7200/cPCI-7200 - * PCI-7230/cPCI-7230 - * PCI-7233/PCI-7233H - * PCI-7234 - * PCI-7248/cPCI-7248 - * cPCI-7249R - * PCI-7250 - * cPCI-7252 - * PCI-7256 - * PCI-7296 - * PCI-7300A/cPCI-7300A - * PCI-7396/PCI-7348 - * PCI-7432/cPCI-7432/cPCI-7432R - * PCI-7433/cPCI-7433/cPCI-7433R - * PCI-7434/cPCI-7434/cPCI-7434R - * PCI-8554 - * PCI-9111 - * PCI-9112/cPCI-9112 - * PCI-9113 - * PCI-9114 - * cPCI-9116 - * PCI-9118 - * PCI-9812/10 - -**** PCIS-DASK 3.23 New Functions **** - -The following new functions are added to PCIS-DASK 3.23 - - * AO_SimuWriteChannel - * AO_SimuVWriteChannel - -**** Miscellaneous bug fixes **** - - * The problem that DI/DO control signals' polarity of PCI-7300A Rev.B - can't set as you wish by DI_7300B_Config/DO_7300B_Config, is now fixed. - * The problem that I_REQ Polarity of PCI-7200 can't set as falling edge - active by DI_7200_Config, is now fixed. - * The problem that the AI data returned by AI_ReadChannel (the driver - released with PCIS-DASK 3.22) for PCI9111 is delayed, is now fixed. - -**** Miscellaneous **** - -The Data File converter, DAQCvt.exe, is modified for the convertion of -very large size of data file in the system with limited memory (at least -32M of memory). - ------------------------------------------------------------------ - PCIS-DASK 3.22 Release Notes ------------------------------------------------------------------ - -**** PCIS-DASK 3.22 New Features (versus 3.21) **** - -The following new features are supported in PCIS-DASK 3.22 : - - * Multi-buffered mode of continuous DO is now supported for - PCI-7300A/cPCI-7300A - * Driver for new NuDAQ card, PCI-7256 supports - -**** PCIS-DASK 3.22 Hardware Support **** - -PCIS-DASK 3.22 Windows 2000/NT/98 version : - * PCI-6208A - * PCI-6208V/16V - * PCI-6308A - * PCI-6308V - * PCI-7200/cPCI-7200 - * PCI-7230/cPCI-7230 - * PCI-7233/PCI-7233H - * PCI-7234 - * PCI-7248/cPCI-7248 - * cPCI-7249R - * PCI-7250 - * cPCI-7252 - * PCI-7256 - * PCI-7296 - * PCI-7300A/cPCI-7300A - * PCI-7396/PCI-7348 - * PCI-7432/cPCI-7432/cPCI-7432R - * PCI-7433/cPCI-7433/cPCI-7433R - * PCI-7434/cPCI-7434/cPCI-7434R - * PCI-8554 - * PCI-9111 - * PCI-9112/cPCI-9112 - * PCI-9113 - * PCI-9114 - * cPCI-9116 - * PCI-9118 - * PCI-9812/10 - -**** PCIS-DASK 3.22 New Functions **** - -The following new functions are added to PCIS-DASK 3.22 - - 1. Asynchronous Multi-buffered Continuous Digital Output Functions - * DO_ContMultiBufferSetup - * DO_ContMultiBufferStart - * DO_AsyncMultiBufferNextReady - -**** Miscellaneous bug fixes **** - - * The problem that PCI-9111DG/HR sometimes gets wrong sequence of - data is now fixed. - * It is now fixed that the P3A port of PCI-7396 can't be configured - to be output port as the interrupt mode is enabled. - ------------------------------------------------------------------ - PCIS-DASK 3.21 Release Notes ------------------------------------------------------------------ - -**** PCIS-DASK 3.21 New Features (versus 3.20) **** - -The following new features are supported in PCIS-DASK 3.21 : - - * Double buffered mode of about-triggered continuous AI is now - supported for cPCI-9116 - -**** PCIS-DASK 3.21 Hardware Support **** - -PCIS-DASK 3.21 Windows 2000/NT/98 version : - * PCI-6208A - * PCI-6208V/16V - * PCI-6308A - * PCI-6308V - * PCI-7200/cPCI-7200 - * PCI-7230/cPCI-7230 - * PCI-7233/PCI-7233H - * PCI-7234 - * PCI-7248/cPCI-7248 - * cPCI-7249R - * PCI-7250 - * cPCI-7252 - * PCI-7296 - * PCI-7300A/cPCI-7300A - * PCI-7396/PCI-7348 - * PCI-7432/cPCI-7432/cPCI-7432R - * PCI-7433/cPCI-7433/cPCI-7433R - * PCI-7434/cPCI-7434/cPCI-7434R - * PCI-8554 - * PCI-9111 - * PCI-9112/cPCI-9112 - * PCI-9113 - * PCI-9114 - * cPCI-9116 - * PCI-9118 - * PCI-9812/10 - -**** Miscellaneous bug fixes **** - - * The system hang problem for repeatedly aborting DMA operation of - PCI-7300A/cPCI-7300A is fixed. - -**** Miscellaneous **** - -Functions "AI_AsyncClear/DI_AsyncClear" return the data count in the -circular buffer at the last cycle of double mode of data acquisition. -Please refer to the PCIS-DASK function reference manual for the details. - ------------------------------------------------------------------ - PCIS-DASK 3.20 Release Notes ------------------------------------------------------------------ - -**** PCIS-DASK 3.20 New Features (versus 3.10) **** - -The following new features are supported in PCIS-DASK 3.20 : - - * Multi-buffered mode of continuous DI is now supported for - PCI-7300A/cPCI-7300A - * AUXDI0/Timer2 interrupt control for PCI-7300A/cPCI-7300A - is supported - -**** PCIS-DASK 3.20 Hardware Support **** - -PCIS-DASK 3.20 Windows 2000/NT/98 version : - * PCI-6208A - * PCI-6208V/16V - * PCI-6308A - * PCI-6308V - * PCI-7200/cPCI-7200 - * PCI-7230/cPCI-7230 - * PCI-7233/PCI-7233H - * PCI-7234 - * PCI-7248/cPCI-7248 - * cPCI-7249R - * PCI-7250 - * cPCI-7252 - * PCI-7296 - * PCI-7300A/cPCI-7300A - * PCI-7396/PCI-7348 - * PCI-7432/cPCI-7432/cPCI-7432R - * PCI-7433/cPCI-7433/cPCI-7433R - * PCI-7434/cPCI-7434/cPCI-7434R - * PCI-8554 - * PCI-9111 - * PCI-9112/cPCI-9112 - * PCI-9113 - * PCI-9114 - * cPCI-9116 - * PCI-9118 - * PCI-9812/10 - * cPCI-9812/10 - -**** PCIS-DASK 3.20 New Functions **** - -The following new functions are added to PCIS-DASK 3.20 - - 1. One-Shot Digital Output Function: - * DO_WriteExtTrigLine - - 2. Local Interrupt Setting Functions: - * DIO_7300SetInterrupt - * DIO_AUXDI_EventMessage - * DIO_T2_EventMessage - - 3. Asynchronous Multi-buffered Continuous Digital Input Functions - * DI_ContMultiBufferSetup - * DI_ContMultiBufferStart - * DI_AsyncMultiBufferNextReady - -**** Miscellaneous bug fixes **** - - * The data remained in the FIFO of PCI-7200 are all read out after - the abortion of DMA operation. - * The system hang problem for very short time of sync. mode of - continuous DI of PCI-7300A/cPCI-7300A is fixed. - * The time gap between the finish of one block of data output and the - re-starting of the next block of data output for PCI-7300A/cPCI-7300A - is eliminated. - -**** Miscellaneous **** - -Function "DO_WriteExtTrigLine" controls the output trigger signal for -the O_TRG pin of PCI-7200. - ------------------------------------------------------------------ - PCIS-DASK 3.10 Release Notes ------------------------------------------------------------------ - -**** PCIS-DASK 3.10 New Features (versus 3.02) **** - -The following new features are supported in PCIS-DASK 3.10 : - - * Driver for new NuDAQ card, cPCI-9116 supports - -**** PCIS-DASK 3.10 Hardware Support **** - -PCIS-DASK 3.10 Windows 2000/NT/98 version : - * PCI-6208A - * PCI-6208V/16V - * PCI-6308A - * PCI-6308V - * PCI-7200/cPCI-7200 - * PCI-7230/cPCI-7230 - * PCI-7233/PCI-7233H - * PCI-7234 - * PCI-7248/cPCI-7248 - * cPCI-7249R - * PCI-7250 - * cPCI-7252 - * PCI-7296 - * PCI-7300A/cPCI-7300A - * PCI-7396/PCI-7348 - * PCI-7432/cPCI-7432/cPCI-7432R - * PCI-7433/cPCI-7433/cPCI-7433R - * PCI-7434/cPCI-7434/cPCI-7434R - * PCI-8554 - * PCI-9111 - * PCI-9112/cPCI-9112 - * PCI-9113 - * PCI-9114 - * cPCI-9116 - * PCI-9118 - * PCI-9812/10 - * cPCI-9812/10 - -**** PCIS-DASK 3.10 New Functions **** - -The following new functions are added to PCIS-DASK 3.10 - - 1. AI configuration function: - * AI_9116_Config - * AI_9116_CounterInterval - - 2. General-purpose Timer/Counter functions: - * GCTR_Setup - * GCTR_Clear - * GCTR_Read - - 3. Actual Sampling Rate function: - * GetActualRate - -**** Miscellaneous bug fixes **** - - * It is now fixed that the FIFO of PCI-7300A_RevA and PCI-7300A_RevB - isn't cleared after sync. mode of DO operation. - -**** Miscellaneous **** - -Function "GetActualRate" produces the actual sampling rate the hardware -will perform corresponding to the board type and the rate you want. - ------------------------------------------------------------------ - PCIS-DASK 3.02 Release Notes ------------------------------------------------------------------ - -**** PCIS-DASK 3.02 New Features (versus 3.01) **** - -The following new features are supported in PCIS-DASK 3.02 : - - * Driver of PCI-7396 are modified for new NuDAQ cards PCI-7348 support - * Up to 32 of the NuDAQ boards with the same modle number can be - operated simulaneously - -**** PCIS-DASK 3.02 Hardware Support **** - -PCIS-DASK 3.02 Windows 2000/NT/98 version : - * PCI-6208A - * PCI-6208V/16V - * PCI-6308A - * PCI-6308V - * PCI-7200/cPCI-7200 - * PCI-7230/cPCI-7230 - * PCI-7233/PCI-7233H - * PCI-7234 - * PCI-7248/cPCI-7248 - * cPCI-7249R - * PCI-7250 - * cPCI-7252 - * PCI-7296 - * PCI-7300A/cPCI-7300A - * PCI-7396/PCI-7348 - * PCI-7432/cPCI-7432/cPCI-7432R - * PCI-7433/cPCI-7433/cPCI-7433R - * PCI-7434/cPCI-7434/cPCI-7434R - * PCI-8554 - * PCI-9111 - * PCI-9112/cPCI-9112 - * PCI-9113 - * PCI-9114 - * PCI-9118 - * PCI-9812/10 - * cPCI-9812/10 - -**** Miscellaneous bug fixes **** - - * The maximum transfter size of PCI-7300A_RevA and PCI-7300A_RevB - can now exceed 64MB. - * It is now fixed that the FIFO of PCI-7300A_RevA and PCI-7300A_RevB isn't - cleared after the abortion of DMA operation. - * The bug in the header part of the data file generated by AI_ContXXXXToFile - functions for PCI-9812 is now fixed. - * AI_ContVScale converts the raw value to voltage correctly now for - PCI-9812. - * The wrong data at high speed acquisition problem for PCI-9111, PCI-9113 and - PCI9114 is now fixed. - -**** Miscellaneous **** - -More error codes are defined in header file for application -debugging more easily. - ------------------------------------------------------------------ - PCIS-DASK 3.01 Release Notes ------------------------------------------------------------------ - -**** PCIS-DASK 3.01 Hardware Support **** - -PCIS-DASK 3.01 Windows 2000/NT/98 version : - * PCI-6208A - * PCI-6208V/16V - * PCI-6308A - * PCI-6308V - * PCI-7200/cPCI-7200 - * PCI-7230/cPCI-7230 - * PCI-7233/PCI-7233H - * PCI-7234 - * PCI-7248/cPCI-7248 - * cPCI-7249R - * PCI-7250 - * cPCI-7252 - * PCI-7296 - * PCI-7300A/cPCI-7300A - * PCI-7396 - * PCI-7432/cPCI-7432/cPCI-7432R - * PCI-7433/cPCI-7433/cPCI-7433R - * PCI-7434/cPCI-7434/cPCI-7434R - * PCI-8554 - * PCI-9111 - * PCI-9112/cPCI-9112 - * PCI-9113 - * PCI-9114 - * PCI-9118 - * PCI-9812/10 - * cPCI-9812/10 - -**** PCIS-DASK 3.01 Functions Modification ***** - -The following functions are renamed in PCIS-DASK 3.01 : - - * AI_VScale is renamed AI_VoltScale - * AO_VScale is renamed AO_VoltScale - * CTR_Reset is renamed CTR_Clear - ------------------------------------------------------------------ - PCIS-DASK 3.0 Release Notes ------------------------------------------------------------------ - -**** PCIS-DASK 3.0 New Features (versus 2.10) **** - -The following new features are supported in PCIS-DASK 3.0 : - * Windows 2000 release support - * Completely redesigned WDM drivers for Windows 2000 - * Dynamic-Link Library is binary compatible across Windows 98, - Windows NT and Windows 2000 - * All applications developed with PCIS-DASK are compatible across - Windows 98, Windows NT and Windows 2000 - -**** PCIS-DASK 3.0 Hardware Support **** - -PCIS-DASK 3.0 Windows 2000/NT/98 version : - * PCI-6208A - * PCI-6208V/16V - * PCI-6308A - * PCI-6308V - * PCI-7200/cPCI-7200 - * PCI-7230/cPCI-7230 - * PCI-7233/PCI-7233H - * PCI-7234 - * PCI-7248/cPCI-7248 - * cPCI-7249R - * PCI-7250 - * cPCI-7252 - * PCI-7296 - * PCI-7300A/cPCI-7300A - * PCI-7396 - * PCI-7432/cPCI-7432/cPCI-7432R - * PCI-7433/cPCI-7433/cPCI-7433R - * PCI-7434/cPCI-7434/cPCI-7434R - * PCI-8554 - * PCI-9111 - * PCI-9112/cPCI-9112 - * PCI-9113 - * PCI-9114 - * PCI-9118 - * PCI-9812/10 - * cPCI-9812/10 - -**** Miscellaneous **** - -The driver configuration utility, PciUtil.exe, is now supported by -PCIS-DASK 3.0 Windows 2000 version. - -Some samples are added to demonstrate the operation of PCI-9118HR, -including : - - * SDK9118HRAboutTrg - * SDK9118HRDbfDma - * SDK9118ScanDma - * VB9118HRDma - ------------------------------------------------------------------ - PCIS-DASK 2.10 Release Notes ------------------------------------------------------------------ - -**** PCIS-DASK 2.10 New Features (versus 2.00) **** - -The following new features are supported in PCIS-DASK 2.10 : - - * More WDM drivers support for Windows 98 version - * Drivers for new NuDAQ cards, PCI-6308A/08V, PCI-7233, cPCI-7249R - and PCI-7396, support - * Data File Format Conversion utility, DAQCvt, support - -**** PCIS-DASK 2.10 Hardware Support **** - -PCIS-DASK 2.10 Windows NT/98 version : - * PCI-6208A - * PCI-6208V/16V - * PCI-6308A - * PCI-6308V - * PCI-7200/cPCI-7200 - * PCI-7230/cPCI-7230 - * PCI-7233/PCI-7233H - * PCI-7234 - * PCI-7248/cPCI-7248 - * cPCI-7249R - * PCI-7250 - * cPCI-7252 - * PCI-7296 - * PCI-7300A/cPCI-7300A - * PCI-7396 - * PCI-7432/cPCI-7432/cPCI-7432R - * PCI-7433/cPCI-7433/cPCI-7433R - * PCI-7434/cPCI-7434/cPCI-7434R - * PCI-8554 - * PCI-9111 - * PCI-9112/cPCI-9112 - * PCI-9113 - * PCI-9114 - * PCI-9118 - * PCI-9812/10 - * cPCI-9812/10 - -**** PCIS-DASK 2.10 New Functions **** - -The following new functions are added to PCIS-DASK 2.10 - - 1. AO configuration function: - * AO_6308A_Config - - 2. Pattern Generation DO functions: - * DO_PGStart - * DO_PGStop - - 3. DIO COS interrupt configuration function: - * DIO_SetCOSInterrupt - -**** PCIS-DASK 2.10 Functions Modification **** - -The following functions are modified in PCIS-DASK 2.10 : - - AI_ContReadChannelToFile - AI_ContReadMultiChannelsToFile - AI_ContScanChannelsToFile - DI_ContReadPortToFile - * The argument, concat, is removed. - * The length of argument FileName, is limited to 123 characters. - * The data file includes header and data blocks. The data is - written to disk in 16-bit binary format, with the lower byte - first (little endian). Please refer to the Appendix of PCIS-DASK - Function Reference Manual for the details. - -**** Miscellaneous **** - -The driver configuration utility, PciUtil.exe, is now supported by -PCIS-DASK 2.10 Windows 98 version. - ------------------------------------------------------------------ - PCIS-DASK 2.00 Release Notes ------------------------------------------------------------------ - -**** PCIS-DASK 2.00 New Features **** - -The following new features are supported in PCIS-DASK 2.0 - - * Windows 98 release support - * WDM drivers support for Windows 98 version - * More convenient functions support for data conversion and data - logging - * More high level functions support for interrupt event handling - -**** PCIS-DASK 2.00 Hardware Support **** - -1. PCIS-DASK 2.00 Windows NT version: - * PCI-6208A - * PCI-6208V/16V - * PCI-7200/cPCI-7200 - * PCI-7230/cPCI-7230 - * PCI-7234 - * PCI-7248/cPCI-7248 - * PCI-7250 - * cPCI-7252 - * PCI-7296 - * PCI-7300A/cPCI-7300A - * PCI-7432/cPCI-7432/ cPCI-7432R - * PCI-7433/cPCI-7433/ cPCI-7433R - * PCI-7434/cPCI-7434/ cPCI-7434R - * PCI-8554 - * PCI-9111 - * PCI-9112/cPCI-9112 - * PCI-9113 - * PCI-9114 - * PCI-9118 - * PCI-9812/10 - * cPCI-9812/10 - -2. PCIS-DASK 2.00 Window 98 version: - * PCI-6208A - * PCI-6208V/16V - * PCI-7230/cPCI-7230 - * PCI-7234 - * PCI-7248/cPCI-7248 - * PCI-7250 - * cPCI-7252 - * PCI-7296 - * PCI-7432/cPCI-7432/ cPCI-7432R - * PCI-7433/cPCI-7433/ cPCI-7433R - * PCI-7434/cPCI-7434/ cPCI-7434R - -**** PCIS-DASK 2.00 New Functions **** - -The following new functions are added to PCIS-DASK 2.0 - -1. Voltage Data Reading / Writing and Data Conversion functions: - * AI_VReadChannel - * AI_VScale - * AI_ContVScale - * AO_VWriteChannel - * AO_VScale - -2. Data Logging functions: - * AI_ContReadChannelToFile - * AI_ContReadMultiChannelsToFile - * AI_ContScanChannelsToFile - * DI_ContReadPortToFile - -3. Continuous Data Acquisition status check functions: - * AI_ContStatus - * DI_ContStatus - * DO_ContStatus - -4. Interrupt Event Message functions: - * DIO_INT1_EventMessage - * DIO_INT2_EventMessage - -**** PCIS-DASK 2.00 Functions Modification ***** - -The following functions are modified in PCIS-DASK 2.0 : - - * Register_Card : The arguments, Bus and Slot, are removed - * AI_AsyncDblBufferTransfer : Depends on the continuous AI/DI - function selected, the data will be logged into a buffer or a - file - -**** Miscellaneous **** - -In PCIS-DASK 2.00 windows 98 version, PciUtil.exe is not included -for the continuous data acquisition operation in that right now, -there are no devices work with the operation in current window98 -version. \ No newline at end of file diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/.NET/C#/6208/D6208_AO_OnePoint/D6208_AO_OnePoint.sln b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/.NET/C#/6208/D6208_AO_OnePoint/D6208_AO_OnePoint.sln deleted file mode 100644 index 32e1e80..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/.NET/C#/6208/D6208_AO_OnePoint/D6208_AO_OnePoint.sln +++ /dev/null @@ -1,20 +0,0 @@ - -Microsoft Visual Studio Solution File, Format Version 9.00 -# Visual Studio 2005 -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "D6208_AO_OnePoint", "D6208_AO_OnePoint\D6208_AO_OnePoint.csproj", "{B2C25848-3284-4C83-8F36-288F7F0F9E29}" -EndProject -Global - GlobalSection(SolutionConfigurationPlatforms) = preSolution - Debug|Any CPU = Debug|Any CPU - Release|Any CPU = Release|Any CPU - EndGlobalSection - GlobalSection(ProjectConfigurationPlatforms) = postSolution - {B2C25848-3284-4C83-8F36-288F7F0F9E29}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {B2C25848-3284-4C83-8F36-288F7F0F9E29}.Debug|Any CPU.Build.0 = Debug|Any CPU - {B2C25848-3284-4C83-8F36-288F7F0F9E29}.Release|Any CPU.ActiveCfg = Release|Any CPU - {B2C25848-3284-4C83-8F36-288F7F0F9E29}.Release|Any CPU.Build.0 = Release|Any CPU - EndGlobalSection - GlobalSection(SolutionProperties) = preSolution - HideSolutionNode = FALSE - EndGlobalSection -EndGlobal diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/.NET/C#/6208/D6208_AO_OnePoint/D6208_AO_OnePoint/D6208_AO_OnePoint.csproj b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/.NET/C#/6208/D6208_AO_OnePoint/D6208_AO_OnePoint/D6208_AO_OnePoint.csproj deleted file mode 100644 index 27fdc62..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/.NET/C#/6208/D6208_AO_OnePoint/D6208_AO_OnePoint/D6208_AO_OnePoint.csproj +++ /dev/null @@ -1,81 +0,0 @@ - - - Debug - AnyCPU - 8.0.50727 - 2.0 - {B2C25848-3284-4C83-8F36-288F7F0F9E29} - WinExe - Properties - D6208_AO_OnePoint - D6208_AO_OnePoint - - - true - full - false - bin\Debug\ - DEBUG;TRACE - prompt - 4 - x86 - - - pdbonly - true - bin\Release\ - TRACE - prompt - 4 - x86 - - - - - - - - - - - - - Form - - - Form1.cs - - - - - Designer - Form1.cs - - - ResXFileCodeGenerator - Resources.Designer.cs - Designer - - - True - Resources.resx - - - SettingsSingleFileGenerator - Settings.Designer.cs - - - True - Settings.settings - True - - - - - \ No newline at end of file diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/.NET/C#/6208/D6208_AO_OnePoint/D6208_AO_OnePoint/Dask.cs b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/.NET/C#/6208/D6208_AO_OnePoint/D6208_AO_OnePoint/Dask.cs deleted file mode 100644 index ab80232..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/.NET/C#/6208/D6208_AO_OnePoint/D6208_AO_OnePoint/Dask.cs +++ /dev/null @@ -1,956 +0,0 @@ -using System.Runtime.InteropServices; -using System; - -public delegate void CallbackDelegate(); - -public class DASK -{ - //ADLink PCI Card Type - public const ushort PCI_6208V = 1; - public const ushort PCI_6208A = 2; - public const ushort PCI_6308V = 3; - public const ushort PCI_6308A = 4; - public const ushort PCI_7200 = 5; - public const ushort PCI_7230 = 6; - public const ushort PCI_7233 = 7; - public const ushort PCI_7234 = 8; - public const ushort PCI_7248 = 9; - public const ushort PCI_7249 = 10; - public const ushort PCI_7250 = 11; - public const ushort PCI_7252 = 12; - public const ushort PCI_7296 = 13; - public const ushort PCI_7300A_RevA = 14; - public const ushort PCI_7300A_RevB = 15; - public const ushort PCI_7432 = 16; - public const ushort PCI_7433 = 17; - public const ushort PCI_7434 = 18; - public const ushort PCI_8554 = 19; - public const ushort PCI_9111DG = 20; - public const ushort PCI_9111HR = 21; - public const ushort PCI_9112 = 22; - public const ushort PCI_9113 = 23; - public const ushort PCI_9114DG = 24; - public const ushort PCI_9114HG = 25; - public const ushort PCI_9118DG = 26; - public const ushort PCI_9118HG = 27; - public const ushort PCI_9118HR = 28; - public const ushort PCI_9810 = 29; - public const ushort PCI_9812 = 30; - public const ushort PCI_7396 = 31; - public const ushort PCI_9116 = 32; - public const ushort PCI_7256 = 33; - public const ushort PCI_7258 = 34; - public const ushort PCI_7260 = 35; - public const ushort PCI_7452 = 36; - public const ushort PCI_7442 = 37; - public const ushort PCI_7443 = 38; - public const ushort PCI_7444 = 39; - public const ushort PCI_9221 = 40; - - public const ushort MAX_CARD =32; - -//Error Number - public const short NoError =0; - public const short ErrorUnknownCardType =-1; - public const short ErrorInvalidCardNumber =-2; - public const short ErrorTooManyCardRegistered =-3; - public const short ErrorCardNotRegistered =-4; - public const short ErrorFuncNotSupport =-5; - public const short ErrorInvalidIoChannel =-6; - public const short ErrorInvalidAdRange =-7; - public const short ErrorContIoNotAllowed =-8; - public const short ErrorDiffRangeNotSupport =-9; - public const short ErrorLastChannelNotZero =-10; - public const short ErrorChannelNotDescending =-11; - public const short ErrorChannelNotAscending =-12; - public const short ErrorOpenDriverFailed =-13; - public const short ErrorOpenEventFailed =-14; - public const short ErrorTransferCountTooLarge =-15; - public const short ErrorNotDoubleBufferMode =-16; - public const short ErrorInvalidSampleRate =-17; - public const short ErrorInvalidCounterMode =-18; - public const short ErrorInvalidCounter =-19; - public const short ErrorInvalidCounterState =-20; - public const short ErrorInvalidBinBcdParam =-21; - public const short ErrorBadCardType =-22; - public const short ErrorInvalidDaRefVoltage =-23; - public const short ErrorAdTimeOut =-24; - public const short ErrorNoAsyncAI =-25; - public const short ErrorNoAsyncAO =-26; - public const short ErrorNoAsyncDI =-27; - public const short ErrorNoAsyncDO =-28; - public const short ErrorNotInputPort =-29; - public const short ErrorNotOutputPort =-30; - public const short ErrorInvalidDioPort =-31; - public const short ErrorInvalidDioLine =-32; - public const short ErrorContIoActive =-33; - public const short ErrorDblBufModeNotAllowed =-34; - public const short ErrorConfigFailed =-35; - public const short ErrorInvalidPortDirection =-36; - public const short ErrorBeginThreadError =-37; - public const short ErrorInvalidPortWidth =-38; - public const short ErrorInvalidCtrSource =-39; - public const short ErrorOpenFile =-40; - public const short ErrorAllocateMemory =-41; - public const short ErrorDaVoltageOutOfRange =-42; - public const short ErrorDaExtRefNotAllowed =-43; - public const short ErrorDIODataWidthError =-44; - public const short ErrorTaskCodeError =-45; - public const short ErrortriggercountError =-46; - public const short ErrorInvalidTriggerMode =-47; - public const short ErrorInvalidTriggerType =-48; - public const short ErrorInvalidCounterValue =-50; - public const short ErrorInvalidEventHandle =-60; - public const short ErrorNoMessageAvailable =-61; - public const short ErrorEventMessgaeNotAdded =-62; - public const short ErrorCalibrationTimeOut =-63; - public const short ErrorUndefinedParameter =-64; - public const short ErrorInvalidBufferID =-65; - -//Error number for driver API - public const short ErrorConfigIoctl = -201; - public const short ErrorAsyncSetIoctl = -202; - public const short ErrorDBSetIoctl = -203; - public const short ErrorDBHalfReadyIoctl = -204; - public const short ErrorContOPIoctl = -205; - public const short ErrorContStatusIoctl = -206; - public const short ErrorPIOIoctl = -207; - public const short ErrorDIntSetIoctl = -208; - public const short ErrorWaitEvtIoctl = -209; - public const short ErrorOpenEvtIoctl = -210; - public const short ErrorCOSIntSetIoctl = -211; - public const short ErrorMemMapIoctl = -212; - public const short ErrorMemUMapSetIoctl = -213; - public const short ErrorCTRIoctl = -214; - public const short ErrorGetResIoctl = -215; - public const short ErrorCalIoctl = -216; - -//Synchronous Mode - public const ushort SYNCH_OP =1; - public const ushort ASYNCH_OP =2; - -//AD Range - public const ushort AD_B_10_V =1; - public const ushort AD_B_5_V =2; - public const ushort AD_B_2_5_V =3; - public const ushort AD_B_1_25_V =4; - public const ushort AD_B_0_625_V =5; - public const ushort AD_B_0_3125_V =6; - public const ushort AD_B_0_5_V =7; - public const ushort AD_B_0_05_V =8; - public const ushort AD_B_0_005_V =9; - public const ushort AD_B_1_V =10; - public const ushort AD_B_0_1_V =11; - public const ushort AD_B_0_01_V =12; - public const ushort AD_B_0_001_V =13; - public const ushort AD_U_20_V =14; - public const ushort AD_U_10_V =15; - public const ushort AD_U_5_V =16; - public const ushort AD_U_2_5_V =17; - public const ushort AD_U_1_25_V =18; - public const ushort AD_U_1_V =19; - public const ushort AD_U_0_1_V =20; - public const ushort AD_U_0_01_V =21; - public const ushort AD_U_0_001_V =22; - public const ushort AD_B_2_V =23; - public const ushort AD_U_2_V =24; - public const ushort AD_B_0_2_V =25; - -//Clock Mode - public const ushort TRIG_SOFTWARE =0; - public const ushort TRIG_INT_PACER =1; - public const ushort TRIG_EXT_STROBE =2; - public const ushort TRIG_HANDSHAKE =3; - public const ushort TRIG_CLK_10MHZ =4; //PCI-7300A - public const ushort TRIG_CLK_20MHZ =5; //PCI-7300A - public const ushort TRIG_DO_CLK_TIMER_ACK =6; //PCI-7300A Rev. B - public const ushort TRIG_DO_CLK_10M_ACK =7; //PCI-7300A Rev. B - public const ushort TRIG_DO_CLK_20M_ACK =8; //PCI-7300A Rev. B -//Virtual Sampling Rate for using external clock as the clock source - public const double CLKSRC_EXT_SampRate =10000; - -//-------- Constants for PCI-6208A/PCI-6308A/PCI-6308V ------------------- -//Output Mode - public const ushort P6208_CURRENT_0_20MA =0; - public const ushort P6208_CURRENT_4_20MA =3; - public const ushort P6208_CURRENT_5_25MA =1; - public const ushort P6308_CURRENT_0_20MA =0; - public const ushort P6308_CURRENT_4_20MA =3; - public const ushort P6308_CURRENT_5_25MA =1; -//AO Setting - public const ushort P6308V_AO_CH0_3 =0; - public const ushort P6308V_AO_CH4_7 =1; - public const ushort P6308V_AO_UNIPOLAR =0; - public const ushort P6308V_AO_BIPOLAR =1; -//-------- Constants for PCI-7200 -------------------- -//InputMode - public const ushort DI_WAITING =0x02; - public const ushort DI_NOWAITING =0x00; - - public const ushort DI_TRIG_RISING =0x04; - public const ushort DI_TRIG_FALLING =0x00; - - public const ushort IREQ_RISING =0x08; - public const ushort IREQ_FALLING =0x00; - -//Output Mode - public const ushort OREQ_ENABLE =0x10; - public const ushort OREQ_DISABLE =0x00; - - public const ushort OTRIG_HIGH =0x20; - public const ushort OTRIG_LOW =0x00; - -//-------- Constants for PCI-7248/7296/7396/7442 --------------- -//DIO Port Direction - public const ushort INPUT_PORT = 1; - public const ushort OUTPUT_PORT = 2; -//DIO Line Direction - public const ushort INPUT_LINE = 1; - public const ushort OUTPUT_LINE = 2; - -//Channel & Port - public const ushort Channel_P1A =0; - public const ushort Channel_P1B =1; - public const ushort Channel_P1C =2; - public const ushort Channel_P1CL =3; - public const ushort Channel_P1CH =4; - public const ushort Channel_P1AE =10; - public const ushort Channel_P1BE =11; - public const ushort Channel_P1CE =12; - public const ushort Channel_P2A =5; - public const ushort Channel_P2B =6; - public const ushort Channel_P2C =7; - public const ushort Channel_P2CL =8; - public const ushort Channel_P2CH =9; - public const ushort Channel_P2AE =15; - public const ushort Channel_P2BE =16; - public const ushort Channel_P2CE =17; - public const ushort Channel_P3A =10; - public const ushort Channel_P3B =11; - public const ushort Channel_P3C =12; - public const ushort Channel_P3CL =13; - public const ushort Channel_P3CH =14; - public const ushort Channel_P4A =15; - public const ushort Channel_P4B =16; - public const ushort Channel_P4C =17; - public const ushort Channel_P4CL =18; - public const ushort Channel_P4CH =19; - public const ushort Channel_P5A =20; - public const ushort Channel_P5B =21; - public const ushort Channel_P5C =22; - public const ushort Channel_P5CL =23; - public const ushort Channel_P5CH =24; - public const ushort Channel_P6A =25; - public const ushort Channel_P6B =26; - public const ushort Channel_P6C =27; - public const ushort Channel_P6CL =28; - public const ushort Channel_P6CH =29; -//the following are used for PCI7396 - public const ushort Channel_P1 =30; - public const ushort Channel_P2 =31; - public const ushort Channel_P3 =32; - public const ushort Channel_P4 =33; - public const ushort Channel_P1E =34; //only used by DIO_PortConfig function - public const ushort Channel_P2E =35; //only used by DIO_PortConfig function - public const ushort Channel_P3E =36; //only used by DIO_PortConfig function - public const ushort Channel_P4E =37; //only used by DIO_PortConfig function -//7442 - public const ushort P7442_CH0 = 0; - public const ushort P7442_CH1 = 1; - public const ushort P7442_TTL0 = 2; - public const ushort P7442_TTL1 = 3; -// P7443 - public const ushort P7443_CH0 = 0; - public const ushort P7443_CH1 = 1; - public const ushort P7443_CH2 = 2; - public const ushort P7443_CH3 = 3; - public const ushort P7443_TTL0 = 4; - public const ushort P7443_TTL1 = 5; -// P7444 - public const ushort P7444_CH0 = 0; - public const ushort P7444_CH1 = 1; - public const ushort P7444_CH2 = 2; - public const ushort P7444_CH3 = 3; - public const ushort P7444_TTL0 = 4; - public const ushort P7444_TTL1 = 5; - - //-------- Constants for PCI-7300A ------------------- -//Wait Status - public const ushort P7300_WAIT_NO =0; - public const ushort P7300_WAIT_TRG =1; - public const ushort P7300_WAIT_FIFO =2; - public const ushort P7300_WAIT_BOTH =3; - -//Terminator control - public const ushort P7300_TERM_OFF =0; - public const ushort P7300_TERM_ON =1; - -//DI control signals polarity for PCI-7300A Rev. B - public const ushort P7300_DIREQ_POS =0x00000000; - public const ushort P7300_DIREQ_NEG =0x00000001; - public const ushort P7300_DIACK_POS =0x00000000; - public const ushort P7300_DIACK_NEG =0x00000002; - public const ushort P7300_DITRIG_POS =0x00000000; - public const ushort P7300_DITRIG_NEG =0x00000004; - -//DO control signals polarity for PCI-7300A Rev. B - public const ushort P7300_DOREQ_POS =0x00000000; - public const ushort P7300_DOREQ_NEG =0x00000008; - public const ushort P7300_DOACK_POS =0x00000000; - public const ushort P7300_DOACK_NEG =0x00000010; - public const ushort P7300_DOTRIG_POS =0x00000000; - public const ushort P7300_DOTRIG_NEG =0x00000020; -//-------- Constants for PCI-7432/7433/7434 --------------- - public const ushort PORT_DI_LOW =0; - public const ushort PORT_DI_HIGH =1; - public const ushort PORT_DO_LOW =0; - public const ushort PORT_DO_HIGH =1; - public const ushort P7432R_DO_LED =1; - public const ushort P7433R_DO_LED =0; - public const ushort P7434R_DO_LED =2; - public const ushort P7432R_DI_SLOT =1; - public const ushort P7433R_DI_SLOT =2; - public const ushort P7434R_DI_SLOT =0; -//-- Dual-Interrupt Source control for PCI-7248/96 & 7432/33 & 7230 & 8554 & 7396 &7256 &7260 --- - public const short INT1_DISABLE =-1; //INT1 Disabled - public const short INT1_COS =0; //INT1 COS : only available for PCI-7396, PCI-7256, PCI-7260 - public const short INT1_FP1C0 =1; //INT1 by Falling edge of P1C0 : only available for PCI7248/96/7396 - public const short INT1_RP1C0_FP1C3 =2; //INT1 by P1C0 Rising or P1C3 Falling : only available for PCI7248/96/7396 - public const short INT1_EVENT_COUNTER =3; //INT1 by Event Counter down to zero : only available for PCI7248/96/7396 - public const short INT1_EXT_SIGNAL =1; //INT1 by external signal : only available for PCI7432/7433/7230/8554 - public const short INT1_COUT12 =1; //INT1 COUT12 : only available for PCI8554 - public const short INT1_CH0 =1; //INT1 CH0 : only available for PCI7256, PCI7260 - public const short INT1_COS0 =1; //INT1 COS0 : only available for PCI-7452/PCI-7442 - public const short INT1_COS1 =2; //INT1 COS1 : only available for PCI-7452/PCI-7442 - public const short INT1_COS2 =4; //INT1 COS2 : only available for PCI-7452/PCI-7442 - public const short INT1_COS3 =8; //INT1 COS3 : only available for PCI-7452/PCI-7442 - public const short INT2_DISABLE =-1; //INT2 Disabled - public const short INT2_COS =0; //INT2 COS : only available for PCI-7396 - public const short INT2_FP2C0 =1; //INT2 by Falling edge of P2C0 : only available for PCI7248/96/7396 - public const short INT2_RP2C0_FP2C3 =2; //INT2 by P2C0 Rising or P2C3 Falling : only available for PCI7248/96/7396 - public const short INT2_TIMER_COUNTER =3; //INT2 by Timer Counter down to zero : only available for PCI7248/96/7396 - public const short INT2_EXT_SIGNAL =1; //INT2 by external signal : only available for PCI7432/7433/7230/8554 - public const short INT2_CH1 =2; //INT2 CH1 : only available for PCI7256, PCI7260 - public const short INT2_WDT =4; //INT2 by WDT - - public const ushort ManualResetIEvt =0x4000;//interrupt event is manually reset by user - public const ushort WDT_OVRFLOW_SAFETYOUT =0x8000;// enable safteyout while WDT overflow -//-------- Constants for PCI-8554 -------------------- -//Clock Source of Cunter N - public const ushort ECKN =0; - public const ushort COUTN_1 =1; - public const ushort CK1 =2; - public const ushort COUT10 =3; - -//Clock Source of CK1 - public const ushort CK1_C8M =0; - public const ushort CK1_COUT11 =1; - -//Debounce Clock - public const ushort DBCLK_COUT11 =0; - public const ushort DBCLK_2MHZ =1; - -//-------- Constants for PCI-9111 -------------------- -//Dual Interrupt Mode - public const ushort P9111_INT1_EOC =0; //Ending of AD conversion - public const ushort P9111_INT1_FIFO_HF =1; //FIFO Half Full - public const ushort P9111_INT2_PACER =0; //Every Timer tick - public const ushort P9111_INT2_EXT_TRG =1; //ExtTrig High->Low - -//Channel Count - public const ushort P9111_CHANNEL_DO =0; - public const ushort P9111_CHANNEL_EDO =1; - public const ushort P9111_CHANNEL_DI =0; - public const ushort P9111_CHANNEL_EDI =1; - -//EDO function - public const ushort P9111_EDO_INPUT =1; //EDO port set as Input port - public const ushort P9111_EDO_OUT_EDO =2; //EDO port set as Output port - public const ushort P9111_EDO_OUT_CHN =3; //EDO port set as channel number ouput port - -//Trigger Mode - public const ushort P9111_TRGMOD_SOFT =0x00; //Software Trigger Mode - public const ushort P9111_TRGMOD_PRE =0x01; //Pre-Trigger Mode - public const ushort P9111_TRGMOD_POST =0x02; //Post Trigger Mode - -//AO Setting - public const ushort P9111_AO_UNIPOLAR =0; - public const ushort P9111_AO_BIPOLAR =1; - -//-------- Constants for PCI-9118 -------------------- - public const ushort P9118_AI_BiPolar =0x00; - public const ushort P9118_AI_UniPolar =0x01; - - public const ushort P9118_AI_SingEnded =0x00; - public const ushort P9118_AI_Differential =0x02; - - public const ushort P9118_AI_ExtG =0x04; - - public const ushort P9118_AI_ExtTrig =0x08; - - public const ushort P9118_AI_DtrgNegative =0x00; - public const ushort P9118_AI_DtrgPositive =0x10; - - public const ushort P9118_AI_EtrgNegative =0x00; - public const ushort P9118_AI_EtrgPositive =0x20; - - public const ushort P9118_AI_BurstModeEn =0x40; - public const ushort P9118_AI_SampleHold =0x80; - public const ushort P9118_AI_PostTrgEn =0x100; - public const ushort P9118_AI_AboutTrgEn =0x200; - -//-------- Constants for PCI-9116 -------------------- - public const ushort P9116_AI_LocalGND =0x00; - public const ushort P9116_AI_UserCMMD =0x01; - public const ushort P9116_AI_SingEnded =0x00; - public const ushort P9116_AI_Differential =0x02; - public const ushort P9116_AI_BiPolar =0x00; - public const ushort P9116_AI_UniPolar =0x04; - - public const ushort P9116_TRGMOD_SOFT =0x00; //Software Trigger Mode - public const ushort P9116_TRGMOD_POST =0x10; //Post Trigger Mode - public const ushort P9116_TRGMOD_DELAY =0x20; //Delay Trigger Mode - public const ushort P9116_TRGMOD_PRE =0x30; //Pre-Trigger Mode - public const ushort P9116_TRGMOD_MIDL =0x40; //Middle Trigger Mode - public const ushort P9116_AI_TrgPositive =0x00; - public const ushort P9116_AI_TrgNegative =0x80; - public const ushort P9116_AI_ExtTimeBase =0x100; - public const ushort P9116_AI_IntTimeBase =0x000; - public const ushort P9116_AI_DlyInSamples =0x200; - public const ushort P9116_AI_DlyInTimebase =0x000; - public const ushort P9116_AI_ReTrigEn =0x400; - public const ushort P9116_AI_MCounterEn =0x800; - public const ushort P9116_AI_SoftPolling =0x0000; - public const ushort P9116_AI_INT =0x1000; - public const ushort P9116_AI_DMA =0x2000; - -//-------- Constants for PCI-9812 -------------------- -//Trigger Mode - public const ushort P9812_TRGMOD_SOFT =0x00; //Software Trigger Mode - public const ushort P9812_TRGMOD_POST =0x01; //Post Trigger Mode - public const ushort P9812_TRGMOD_PRE =0x02; //Pre-Trigger Mode - public const ushort P9812_TRGMOD_DELAY =0x03; //Delay Trigger Mode - public const ushort P9812_TRGMOD_MIDL =0x04; //Middle Trigger Mode - - public const ushort P9812_AIEvent_Manual =0x08; //Middle Trigger Mode - - //Trigger Source - public const ushort P9812_TRGSRC_CH0 =0x00; //trigger source --CH0 - public const ushort P9812_TRGSRC_CH1 =0x08; //trigger source --CH1 - public const ushort P9812_TRGSRC_CH2 =0x10; //trigger source --CH2 - public const ushort P9812_TRGSRC_CH3 =0x18; //trigger source --CH3 - public const ushort P9812_TRGSRC_EXT_DIG =0x20; //External Digital Trigger - -//Trigger Polarity - public const ushort P9812_TRGSLP_POS =0x00; //Positive slope trigger - public const ushort P9812_TRGSLP_NEG =0x40; //Negative slope trigger - -//Frequency Selection - public const ushort P9812_AD2_GT_PCI =0x80; //Freq. of A/D clock > PCI clock freq. - public const ushort P9812_AD2_LT_PCI =0x00; //Freq. of A/D clock < PCI clock freq. - -//Clock Source - public const ushort P9812_CLKSRC_INT =0x000; //Internal clock - public const ushort P9812_CLKSRC_EXT_SIN =0x100; //External SIN wave clock - public const ushort P9812_CLKSRC_EXT_DIG =0x200; //External Square wave clock - -/*-------- Constants for PCI-9221 --------------------*/ -//Input Type - public const ushort P9221_AI_SingEnded = 0x0; - public const ushort P9221_AI_NonRef_SingEnded = 0x1; - public const ushort P9221_AI_Differential = 0x2; - -//Trigger Mode - public const ushort P9221_TRGMOD_SOFT =0x00; - public const ushort P9221_TRGMOD_ExtD =0x08; -//Trigger Source - public const ushort P9221_TRGSRC_GPI0 =0x00; - public const ushort P9221_TRGSRC_GPI1 =0x01; - public const ushort P9221_TRGSRC_GPI2 =0x02; - public const ushort P9221_TRGSRC_GPI3 =0x03; - public const ushort P9221_TRGSRC_GPI4 =0x04; - public const ushort P9221_TRGSRC_GPI5 =0x05; - public const ushort P9221_TRGSRC_GPI6 =0x06; - public const ushort P9221_TRGSRC_GPI7 =0x07; - -//TimeBase Mode - public const ushort P9221_AI_IntTimeBase = 0x00; - public const ushort P9221_AI_ExtTimeBase = 0x80; -//TimeBase Source - public const ushort P9221_TimeBaseSRC_GPI0 = 0x00; - public const ushort P9221_TimeBaseSRC_GPI1 = 0x10; - public const ushort P9221_TimeBaseSRC_GPI2 = 0x20; - public const ushort P9221_TimeBaseSRC_GPI3 = 0x30; - public const ushort P9221_TimeBaseSRC_GPI4 = 0x40; - public const ushort P9221_TimeBaseSRC_GPI5 = 0x50; - public const ushort P9221_TimeBaseSRC_GPI6 = 0x60; - public const ushort P9221_TimeBaseSRC_GPI7 = 0x70; - -//EMG shdn ctrl code - public const ushort EMGSHDN_OFF =0; //off - public const ushort EMGSHDN_ON =1; //on - public const ushort EMGSHDN_RECOVERY =2; //recovery - -//Hot Reset Hold ctrl code - public const ushort HRH_OFF =0; //off - public const ushort HRH_ON =1; //on - -//-------- Timer/Counter ----------------------------- -//Counter Mode (8254) - public const ushort TOGGLE_OUTPUT =0; //Toggle output from low to high on terminal count - public const ushort PROG_ONE_SHOT =1; //Programmable one-shot - public const ushort RATE_GENERATOR =2; //Rate generator - public const ushort SQ_WAVE_RATE_GENERATOR =3; //Square wave rate generator - public const ushort SOFT_TRIG =4; //Software-triggered strobe - public const ushort HARD_TRIG =5; //Hardware-triggered strobe - -//General Purpose Timer/Counter -//Counter Mode - public const ushort General_Counter =0x00; //general counter - public const ushort Pulse_Generation =0x01; //pulse generation -//GPTC clock source - public const ushort GPTC_CLKSRC_EXT =0x08; - public const ushort GPTC_CLKSRC_INT =0x00; - public const ushort GPTC_GATESRC_EXT =0x10; - public const ushort GPTC_GATESRC_INT =0x00; - public const ushort GPTC_UPDOWN_SELECT_EXT =0x20; - public const ushort GPTC_UPDOWN_SELECT_SOFT =0x00; - public const ushort GPTC_UP_CTR =0x40; - public const ushort GPTC_DOWN_CTR =0x00; - public const ushort GPTC_ENABLE =0x80; - public const ushort GPTC_DISABLE =0x00; - -//General Purpose Timer/Counter for 9221 -//Counter Mode - public const ushort SimpleGatedEventCNT = 0x01; - public const ushort SinglePeriodMSR = 0x02; - public const ushort SinglePulseWidthMSR = 0x03; - public const ushort SingleGatedPulseGen = 0x04; - public const ushort SingleTrigPulseGen = 0x05; - public const ushort RetrigSinglePulseGen = 0x06; - public const ushort SingleTrigContPulseGen = 0x07; - public const ushort ContGatedPulseGen = 0x08; - public const ushort EdgeSeparationMSR = 0x09; - public const ushort SingleTrigContPulseGenPWM = 0x0a; - public const ushort ContGatedPulseGenPWM = 0x0b; - public const ushort CW_CCW_Encoder = 0x0c; - public const ushort x1_AB_Phase_Encoder = 0x0d; - public const ushort x2_AB_Phase_Encoder = 0x0e; - public const ushort x4_AB_Phase_Encoder = 0x0f; - public const ushort Phase_Z = 0x10; - -//GPTC clock source - public const ushort GPTC_CLK_SRC_Ext = 0x01; - public const ushort GPTC_CLK_SRC_Int = 0x00; - public const ushort GPTC_GATE_SRC_Ext = 0x02; - public const ushort GPTC_GATE_SRC_Int = 0x00; - public const ushort GPTC_UPDOWN_Ext = 0x04; - public const ushort GPTC_UPDOWN_Int = 0x00; - -//GPTC clock polarity - public const ushort GPTC_CLKSRC_LACTIVE = 0x01; - public const ushort GPTC_CLKSRC_HACTIVE = 0x00; - public const ushort GPTC_GATE_LACTIVE = 0x02; - public const ushort GPTC_GATE_HACTIVE = 0x00; - public const ushort GPTC_UPDOWN_LACTIVE = 0x04; - public const ushort GPTC_UPDOWN_HACTIVE = 0x00; - public const ushort GPTC_OUTPUT_LACTIVE = 0x08; - public const ushort GPTC_OUTPUT_HACTIVE = 0x00; - - public const ushort IntGate = 0x0; - public const ushort IntUpDnCTR = 0x1; - public const ushort IntENABLE = 0x2; - - public const ushort GPTC_EZ0_ClearPhase0 = 0x0; - public const ushort GPTC_EZ0_ClearPhase1 = 0x1; - public const ushort GPTC_EZ0_ClearPhase2 = 0x2; - public const ushort GPTC_EZ0_ClearPhase3 = 0x3; - - public const ushort GPTC_EZ0_ClearMode0 = 0x0; - public const ushort GPTC_EZ0_ClearMode1 = 0x1; - public const ushort GPTC_EZ0_ClearMode2 = 0x2; - -//Watchdog Timer -//Counter action - public const ushort WDT_DISARM = 0; - public const ushort WDT_ARM = 1; - public const ushort WDT_RESTART = 2; - -//Pattern ID - public const ushort INIT_PTN = 0; - public const ushort EMGSHDN_PTN = 1; - -//Pattern ID for 7442 - public const ushort INIT_PTN_CH0 = 0; - public const ushort INIT_PTN_CH1 = 1; - public const ushort INIT_PTN_CH2 = 2; //only for 7444 - public const ushort INIT_PTN_CH3 = 3; //only for 7444 - public const ushort SAFTOUT_PTN_CH0 = 4; - public const ushort SAFTOUT_PTN_CH1 = 5; - public const ushort SAFTOUT_PTN_CH2 = 6; //only for 7444 - public const ushort SAFTOUT_PTN_CH3 = 7; //only for 7444 - -//16-bit binary or 4-decade BCD counter - public const ushort BIN = 0; - public const ushort BCD = 1; - -//DAQ Event type for the event message - public const ushort AIEnd =0; - public const ushort DIEnd =0; - public const ushort DOEnd =0; - public const ushort DBEvent =1; - -/*EEPROM*/ - public const ushort EEPROM_DEFAULT_BANK =0; - public const ushort EEPROM_USER_BANK1 = 1; - - public const ushort RegBySlot=0x8000; - -/*------------------------------------------------------------------ -** PCIS-DASK Function prototype -------------------------------------------------------------------*/ - [DllImport("PCI-Dask.dll")] - public static extern short Register_Card (ushort CardType, ushort card_num); - [DllImport("PCI-Dask.dll")] - public static extern short Release_Card (ushort CardNumber); - [DllImport("PCI-Dask.dll")] - public static extern short GetActualRate (ushort CardNumber, double fSampleRate, out double fActualRate); - [DllImport("PCI-Dask.dll")] - public static extern short EMGShutDownControl (ushort CardNumber, byte ctrl); - [DllImport("PCI-Dask.dll")] - public static extern short EMGShutDownStatus (ushort CardNumber, out byte sts); - [DllImport("PCI-Dask.dll")] - public static extern short HotResetHoldControl(ushort wCardNumber, byte enable); - [DllImport("PCI-Dask.dll")] - public static extern short HotResetHoldStatus(ushort wCardNumber, out byte sts); - [DllImport("PCI-Dask.dll")] - public static extern short GetInitPattern (ushort CardNumber, byte patID, out uint pattern); - [DllImport("PCI-Dask.dll")] - public static extern short SetInitPattern(ushort wCardNumber, byte patID, uint pattern); - [DllImport("PCI-Dask.dll")] - public static extern short IdentifyLED_Control (ushort CardNumber, byte ctrl); -/*---------------------------------------------------------------------------*/ - [DllImport("PCI-Dask.dll")] - public static extern short AI_9111_Config (ushort CardNumber, ushort TrigSource, ushort TrgMode, ushort TraceCnt); - [DllImport("PCI-Dask.dll")] - public static extern short AI_9112_Config (ushort CardNumber, ushort TrigSource); - [DllImport("PCI-Dask.dll")] - public static extern short AI_9113_Config (ushort CardNumber, ushort TrigSource); - [DllImport("PCI-Dask.dll")] - public static extern short AI_9114_Config (ushort CardNumber, ushort TrigSource); - [DllImport("PCI-Dask.dll")] - public static extern short AI_9116_Config (ushort CardNumber, ushort ConfigCtrl, ushort TrigCtrl, ushort PostCnt, ushort MCnt, ushort ReTrgCnt); - [DllImport("PCI-Dask.dll")] - public static extern short AI_9118_Config (ushort CardNumber, ushort ModeCtrl, ushort FunCtrl, ushort BurstCnt, ushort PostCnt); - [DllImport("PCI-Dask.dll")] - public static extern short AI_9221_Config(ushort CardNumber, ushort TrigCtrl, bool AutoResetBuf); - [DllImport("PCI-Dask.dll")] - public static extern short AI_9812_Config (ushort CardNumber, ushort TrgMode, ushort TrgSrc, ushort TrgPol, ushort ClkSel, ushort TrgLevel, ushort PostCnt); - [DllImport("PCI-Dask.dll")] - public static extern short AI_9812_SetDiv (ushort wCardNumber, uint PacerVal); - [DllImport("PCI-Dask.dll")] - public static extern short AI_9114_PreTrigConfig (ushort CardNumber, ushort PreTrgEn, ushort TraceCnt); - [DllImport("PCI-Dask.dll")] - public static extern short AI_9116_CounterInterval(ushort wCardNumber, uint ScanIntrv, uint SampIntrv); - [DllImport("PCI-Dask.dll")] - public static extern short AI_9221_CounterInterval(ushort wCardNumber, uint ScanIntrv, uint SampIntrv); - [DllImport("PCI-Dask.dll")] - public static extern short AI_InitialMemoryAllocated (ushort CardNumber, out uint MemSize); - [DllImport("PCI-Dask.dll")] - public static extern short AI_ReadChannel (ushort CardNumber, ushort Channel, ushort AdRange, out ushort Value); - [DllImport("PCI-Dask.dll")] - public static extern short AI_VReadChannel (ushort CardNumber, ushort Channel, ushort AdRange, out double voltage); - [DllImport("PCI-Dask.dll")] - public static extern short AI_ScanReadChannels(ushort CardNumber, ushort wNumChans, ushort wAdRanges, ushort[] pwBuffer); - [DllImport("PCI-Dask.dll")] - public static extern short AI_ReadMultiChannels(ushort CardNumber, ushort wNumChans, ushort[] pwChans, ushort[] pwAdRanges, ushort[] pwBuffer); - [DllImport("PCI-Dask.dll")] - public static extern short AI_VoltScale (ushort CardNumber, ushort AdRange, ushort reading, out double voltage); - [DllImport("PCI-Dask.dll")] - public static extern short AI_ContReadChannel (ushort CardNumber, ushort Channel, ushort AdRange, - ushort[] Buffer, uint ReadCount, double SampleRate, ushort SyncMode); - [DllImport("PCI-Dask.dll")] - public static extern short AI_ContReadMultiChannels (ushort CardNumber, ushort NumChans, ushort[] Chans, - ushort[] AdRanges, ushort[] Buffer, uint ReadCount, - double SampleRate, ushort SyncMode); - [DllImport("PCI-Dask.dll")] - public static extern short AI_ContScanChannels (ushort CardNumber, ushort Channel, ushort AdRange, - ushort[] Buffer, uint ReadCount, double SampleRate, ushort SyncMode); - [DllImport("PCI-Dask.dll")] - public static extern short AI_ContReadChannelToFile (ushort CardNumber, ushort Channel, ushort AdRange, - string FileName, uint ReadCount, double SampleRate, ushort SyncMode); - [DllImport("PCI-Dask.dll")] - public static extern short AI_ContReadMultiChannelsToFile (ushort CardNumber, ushort NumChans, ushort[] Chans, - ushort[] AdRanges, string[] FileName, uint ReadCount, - double SampleRate, ushort SyncMode); - [DllImport("PCI-Dask.dll")] - public static extern short AI_ContScanChannelsToFile (ushort CardNumber, ushort Channel, ushort AdRange, - string FileName, uint ReadCount, double SampleRate, ushort SyncMode); - [DllImport("PCI-Dask.dll")] - public static extern short AI_ContStatus (ushort CardNumber, out ushort Status); - [DllImport("PCI-Dask.dll")] - public static extern short AI_ContVScale (ushort wCardNumber, ushort adRange, ushort[] readingArray, double[] voltageArray, int count); - [DllImport("PCI-Dask.dll")] - public static extern short AI_AsyncCheck(ushort CardNumber, out byte Stopped, out uint AccessCnt); - [DllImport("PCI-Dask.dll")] - public static extern short AI_AsyncClear (ushort CardNumber, out uint AccessCnt); - [DllImport("PCI-Dask.dll")] - public static extern short AI_AsyncDblBufferHalfReady(ushort CardNumber, out byte HalfReady, out byte StopFlag); - [DllImport("PCI-Dask.dll")] - public static extern short AI_AsyncDblBufferMode (ushort CardNumber, bool Enable); - [DllImport("PCI-Dask.dll")] - public static extern short AI_AsyncDblBufferTransfer (ushort CardNumber, ushort[] Buffer); - [DllImport("PCI-Dask.dll")] - public static extern short AI_AsyncDblBufferOverrun (ushort CardNumber, ushort op, out ushort overrunFlag); - [DllImport("PCI-Dask.dll")] - public static extern short AI_AsyncDblBufferHandled(ushort CardNumber); - [DllImport("PCI-Dask.dll")] - public static extern short AI_AsyncDblBufferToFile(ushort CardNumber); - [DllImport("PCI-Dask.dll")] - public static extern short AI_EventCallBack(ushort CardNumber, ushort mode, ushort EventType, MulticastDelegate callbackAddr); - [DllImport("PCI-Dask.dll")] - public static extern short AI_SetTimeOut(ushort CardNumber, uint dwTimeOut); - [DllImport("PCI-Dask.dll")] - public static extern short AI_ContBufferSetup(ushort CardNumber, ushort[] pwBuffer, uint dwReadCount, out ushort BufferId); - [DllImport("PCI-Dask.dll")] - public static extern short AI_ContBufferReset(ushort CardNumber); -/*---------------------------------------------------------------------------*/ - [DllImport("PCI-Dask.dll")] - public static extern short AO_6208A_Config (ushort CardNumber, ushort V2AMode); - [DllImport("PCI-Dask.dll")] - public static extern short AO_6308A_Config (ushort CardNumber, ushort V2AMode); - [DllImport("PCI-Dask.dll")] - public static extern short AO_6308V_Config (ushort wCardNumber, ushort Channel, ushort wOutputPolarity, double refVoltage); - [DllImport("PCI-Dask.dll")] - public static extern short AO_9111_Config (ushort CardNumber, ushort OutputPolarity); - [DllImport("PCI-Dask.dll")] - public static extern short AO_9112_Config (ushort CardNumber, ushort Channel, double refVoltage); - [DllImport("PCI-Dask.dll")] - public static extern short AO_WriteChannel (ushort CardNumber, ushort Channel, short Value); - [DllImport("PCI-Dask.dll")] - public static extern short AO_VWriteChannel (ushort CardNumber, ushort Channel, double Voltage); - [DllImport("PCI-Dask.dll")] - public static extern short AO_VoltScale (ushort CardNumber, ushort Channel, double Voltage, out short binValue); - [DllImport("PCI-Dask.dll")] - public static extern short AO_SimuWriteChannel (ushort wCardNumber, ushort wGroup, short[] pwBuffer); - [DllImport("PCI-Dask.dll")] - public static extern short AO_SimuVWriteChannel (ushort wCardNumber, ushort wGroup, double[] VBuffer); -/*---------------------------------------------------------------------------*/ - [DllImport("PCI-Dask.dll")] - public static extern short DI_7200_Config (ushort CardNumber, ushort TrigSource, ushort ExtTrigEn, ushort TrigPol, ushort I_REQ_Pol); - [DllImport("PCI-Dask.dll")] - public static extern short DI_7300A_Config (ushort CardNumber, ushort PortWidth, ushort TrigSource, ushort WaitStatus, ushort Terminator, ushort I_REQ_Pol, bool clear_fifo, bool disable_di); - [DllImport("PCI-Dask.dll")] - public static extern short DI_7300B_Config (ushort CardNumber, ushort PortWidth, ushort TrigSource, ushort WaitStatus, ushort Terminator, ushort I_Cntrl_Pol, bool clear_fifo, bool disable_di); - [DllImport("PCI-Dask.dll")] - public static extern short DI_InitialMemoryAllocated (ushort CardNumber, out uint DmaSize); - [DllImport("PCI-Dask.dll")] - public static extern short DI_ReadLine (ushort CardNumber, ushort Port, ushort Line, out ushort State); - [DllImport("PCI-Dask.dll")] - public static extern short DI_ReadPort (ushort CardNumber, ushort Port, out uint Value); - [DllImport("PCI-Dask.dll")] - public static extern short DI_ContReadPort (ushort CardNumber, ushort Port, byte[] Buffer, - uint ReadCount, double SampleRate, ushort SyncMode); - [DllImport("PCI-Dask.dll")] - public static extern short DI_ContReadPort (ushort CardNumber, ushort Port, ushort[] Buffer, - uint ReadCount, double SampleRate, ushort SyncMode); - [DllImport("PCI-Dask.dll")] - public static extern short DI_ContReadPort(ushort CardNumber, ushort Port, uint[] Buffer, - uint ReadCount, double SampleRate, ushort SyncMode); - [DllImport("PCI-Dask.dll")] - public static extern short DI_ContReadPortToFile (ushort CardNumber, ushort Port, string FileName, - uint ReadCount, double SampleRate, ushort SyncMode); - [DllImport("PCI-Dask.dll")] - public static extern short DI_ContStatus (ushort CardNumber, out ushort Status); - [DllImport("PCI-Dask.dll")] - public static extern short DI_AsyncCheck (ushort CardNumber, out byte Stopped, out uint AccessCnt); - [DllImport("PCI-Dask.dll")] - public static extern short DI_AsyncClear (ushort CardNumber, out uint AccessCnt); - [DllImport("PCI-Dask.dll")] - public static extern short DI_AsyncDblBufferHalfReady(ushort CardNumber, out byte HalfReady); - [DllImport("PCI-Dask.dll")] - public static extern short DI_AsyncDblBufferMode (ushort CardNumber, bool Enable); - [DllImport("PCI-Dask.dll")] - public static extern short DI_AsyncDblBufferTransfer (ushort CardNumber, byte[] Buffer); - [DllImport("PCI-Dask.dll")] - public static extern short DI_AsyncDblBufferTransfer (ushort CardNumber, short[] Buffer); - [DllImport("PCI-Dask.dll")] - public static extern short DI_AsyncDblBufferTransfer(ushort CardNumber, uint[] Buffer); - [DllImport("PCI-Dask.dll")] - public static extern short DI_ContMultiBufferSetup (ushort wCardNumber, byte[] pwBuffer, uint dwReadCount, out ushort BufferId); - [DllImport("PCI-Dask.dll")] - public static extern short DI_ContMultiBufferSetup (ushort wCardNumber, short[] pwBuffer, uint dwReadCount, out ushort BufferId); - [DllImport("PCI-Dask.dll")] - public static extern short DI_ContMultiBufferSetup(ushort wCardNumber, uint[] pwBuffer, uint dwReadCount, out ushort BufferId); - [DllImport("PCI-Dask.dll")] - public static extern short DI_ContMultiBufferStart (ushort wCardNumber, ushort wPort, double fSampleRate); - [DllImport("PCI-Dask.dll")] - public static extern short DI_AsyncMultiBufferNextReady(ushort CardNumber, out byte bNextReady, out ushort wBufferId); - [DllImport("PCI-Dask.dll")] - public static extern short DI_AsyncDblBufferOverrun (ushort CardNumber, ushort op, out ushort overrunFlag); - [DllImport("PCI-Dask.dll")] - public static extern short DI_EventCallBack(ushort CardNumber, short mode, short EventType, MulticastDelegate callbackAddr); - [DllImport("PCI-Dask.dll")] - public static extern short DI_AsyncMultiBuffersHandled(ushort wCardNumber, ushort bufcnt, ushort[] bufs); -/*---------------------------------------------------------------------------*/ - [DllImport("PCI-Dask.dll")] - public static extern short DO_7200_Config (ushort CardNumber, ushort TrigSource, ushort OutReqEn, ushort OutTrigSig); - [DllImport("PCI-Dask.dll")] - public static extern short DO_7300A_Config (ushort CardNumber, ushort PortWidth, ushort TrigSource, ushort WaitStatus, ushort Terminator, ushort O_REQ_Pol); - [DllImport("PCI-Dask.dll")] - public static extern short DO_7300B_Config (ushort CardNumber, ushort PortWidth, ushort TrigSource, ushort WaitStatus, ushort Terminator, ushort O_Cntrl_Pol, uint FifoThreshold); - [DllImport("PCI-Dask.dll")] - public static extern short DO_InitialMemoryAllocated (ushort CardNumber, out uint MemSize); - [DllImport("PCI-Dask.dll")] - public static extern short DO_WriteLine (ushort CardNumber, ushort Port, ushort Line, ushort Value); - [DllImport("PCI-Dask.dll")] - public static extern short DO_WritePort (ushort CardNumber, byte Port, uint Value); - [DllImport("PCI-Dask.dll")] - public static extern short DO_WritePort (ushort CardNumber, ushort Port, uint Value); - [DllImport("PCI-Dask.dll")] - public static extern short DO_WritePort(ushort CardNumber, uint Port, uint Value); - [DllImport("PCI-Dask.dll")] - public static extern short DO_SimuWritePort(ushort wCardNumber, ushort wNumChans, uint[] pdwBuffer); - [DllImport("PCI-Dask.dll")] - public static extern short DO_WriteExtTrigLine (ushort CardNumber, ushort Value); - [DllImport("PCI-Dask.dll")] - public static extern short DO_ReadLine (ushort CardNumber, ushort Port, ushort Line, out ushort Value); - [DllImport("PCI-Dask.dll")] - public static extern short DO_ReadPort (ushort CardNumber, ushort Port, out uint Value); - [DllImport("PCI-Dask.dll")] - public static extern short DO_ContWritePort (ushort CardNumber, ushort Port, byte[] Buffer, - uint WriteCount, ushort Iterations, double SampleRate, ushort SyncMode); - [DllImport("PCI-Dask.dll")] - public static extern short DO_ContWritePort (ushort CardNumber, ushort Port, ushort[] Buffer, - uint WriteCount, ushort Iterations, double SampleRate, ushort SyncMode); - [DllImport("PCI-Dask.dll")] - public static extern short DO_ContWritePort (ushort CardNumber, ushort Port, uint[] Buffer, - uint WriteCount, ushort Iterations, double SampleRate, ushort SyncMode); - [DllImport("PCI-Dask.dll")] - public static extern short DO_PGStart (ushort CardNumber, byte[] Buffer, uint WriteCount, double SampleRate); - [DllImport("PCI-Dask.dll")] - public static extern short DO_PGStart (ushort CardNumber, short[] Buffer, uint WriteCount, double SampleRate); - [DllImport("PCI-Dask.dll")] - public static extern short DO_PGStart(ushort CardNumber, uint[] Buffer, uint WriteCount, double SampleRate); - [DllImport("PCI-Dask.dll")] - public static extern short DO_PGStop (ushort CardNumber); - [DllImport("PCI-Dask.dll")] - public static extern short DO_ContStatus (ushort CardNumber, out ushort Status); - [DllImport("PCI-Dask.dll")] - public static extern short DO_AsyncCheck(ushort CardNumber, out byte Stopped, out uint AccessCnt); - [DllImport("PCI-Dask.dll")] - public static extern short DO_AsyncClear (ushort CardNumber, out uint AccessCnt); - [DllImport("PCI-Dask.dll")] - public static extern short EDO_9111_Config (ushort CardNumber, ushort EDO_Fun); - [DllImport("PCI-Dask.dll")] - public static extern short DO_ContMultiBufferSetup (ushort CardNumber, byte[] pwBuffer, uint dwWriteCount, out ushort BufferId); - [DllImport("PCI-Dask.dll")] - public static extern short DO_ContMultiBufferSetup (ushort CardNumber, short[] pwBuffer, uint dwWriteCount, out ushort BufferId); - [DllImport("PCI-Dask.dll")] - public static extern short DO_ContMultiBufferSetup(ushort CardNumber, uint[] pwBuffer, uint dwWriteCount, out ushort BufferId); - [DllImport("PCI-Dask.dll")] - public static extern short DO_AsyncMultiBufferNextReady(ushort CardNumber, out byte bNextReady, out ushort wBufferId); - [DllImport("PCI-Dask.dll")] - public static extern short DO_ContMultiBufferStart (ushort wCardNumber, ushort wPort, double fSampleRate); - [DllImport("PCI-Dask.dll")] - public static extern short DO_EventCallBack(ushort CardNumber, short mode, short EventType, MulticastDelegate callbackAddr); -/*---------------------------------------------------------------------------*/ - [DllImport("PCI-Dask.dll")] - public static extern short DIO_PortConfig (ushort CardNumber, ushort Port, ushort Direction); - [DllImport("PCI-Dask.dll")] - public static extern short DIO_LinesConfig(ushort wCardNumber, ushort wPort, ushort wLinesdirmap); - [DllImport("PCI-Dask.dll")] - public static extern short DIO_LineConfig(ushort wCardNumber, ushort wPort, ushort wLine, ushort wDirection); - [DllImport("PCI-Dask.dll")] - public static extern short DIO_SetDualInterrupt (ushort CardNumber, short Int1Mode, short Int2Mode, long hEvent); - [DllImport("PCI-Dask.dll")] - public static extern short DIO_SetCOSInterrupt (ushort CardNumber, ushort Port, ushort ctlA, ushort ctlB, ushort ctlC); - [DllImport("PCI-Dask.dll")] - public static extern short DIO_INT1_EventMessage(ushort CardNumber, short Int1Mode, long windowHandle, long message, MulticastDelegate callbackAddr); - [DllImport("PCI-Dask.dll")] - public static extern short DIO_INT2_EventMessage(ushort CardNumber, short Int2Mode, long windowHandle, long message, MulticastDelegate callbackAddr); - [DllImport("PCI-Dask.dll")] - public static extern short DIO_7300SetInterrupt (ushort CardNumber, short AuxDIEn, short T2En, long hEvent); - [DllImport("PCI-Dask.dll")] - public static extern short DIO_AUXDI_EventMessage(ushort CardNumber, short AuxDIEn, long windowHandle, uint message, MulticastDelegate callbackAddr); - [DllImport("PCI-Dask.dll")] - public static extern short DIO_T2_EventMessage(ushort CardNumber, short T2En, long windowHandle, uint message, MulticastDelegate callbackAddr); - [DllImport("PCI-Dask.dll")] - public static extern short DIO_GetCOSLatchData(ushort wCardNumber, out ushort CosLData); - [DllImport("PCI-Dask.dll")] - public static extern short DIO_SetCOSInterrupt32(ushort wCardNumber, byte Port, uint ctl, out long hEvent, bool bManualReset); - [DllImport("PCI-Dask.dll")] - public static extern short DIO_GetCOSLatchDataInt32(ushort wCardNumber, byte Port, out uint CosLData); -/*---------------------------------------------------------------------------*/ - [DllImport("PCI-Dask.dll")] - public static extern short CTR_Setup (ushort CardNumber, ushort Ctr, ushort Mode, uint Count, ushort BinBcd); - [DllImport("PCI-Dask.dll")] - public static extern short CTR_Clear (ushort CardNumber, ushort Ctr, ushort State); - [DllImport("PCI-Dask.dll")] - public static extern short CTR_Read (ushort CardNumber, ushort Ctr, out uint Value); - [DllImport("PCI-Dask.dll")] - public static extern short CTR_Update (ushort CardNumber, ushort Ctr, uint Count); - [DllImport("PCI-Dask.dll")] - public static extern short CTR_8554_ClkSrc_Config (ushort CardNumber, ushort Ctr, ushort ClockSource); - [DllImport("PCI-Dask.dll")] - public static extern short CTR_8554_CK1_Config (ushort CardNumber, ushort ClockSource); - [DllImport("PCI-Dask.dll")] - public static extern short CTR_8554_Debounce_Config (ushort CardNumber, ushort DebounceClock); - [DllImport("PCI-Dask.dll")] - public static extern short GCTR_Setup (ushort wCardNumber, ushort wGCtr, ushort wGCtrCtrl,uint dwCount); - [DllImport("PCI-Dask.dll")] - public static extern short GCTR_Clear (ushort wCardNumber, ushort wGCtr); - [DllImport("PCI-Dask.dll")] - public static extern short GCTR_Read (ushort wCardNumber, ushort wGCtr, out uint pValue); - [DllImport("PCI-Dask.dll")] - public static extern short GPTC_Clear (ushort wCardNumber, ushort wGCtr); - [DllImport("PCI-Dask.dll")] - public static extern short GPTC_Control (ushort wCardNumber, ushort wGCtr, ushort ParamID, ushort Value); - [DllImport("PCI-Dask.dll")] - public static extern short GPTC_Read (ushort wCardNumber, ushort wGCtr, out uint pValue); - [DllImport("PCI-Dask.dll")] - public static extern short GPTC_Setup (ushort wCardNumber, ushort wGCtr, ushort wMode, ushort wSrcCtrl, ushort wPolCtrl, uint LReg1_Val, uint LReg2_Val); - [DllImport("PCI-Dask.dll")] - public static extern short GPTC_Status(ushort wCardNumber, ushort wGCtr, out ushort pValue); - [DllImport("PCI-Dask.dll")] - public static extern short WDT_Setup (ushort CardNumber, ushort wCtr, float ovflowSec, out float actualSec, out long hEvent); - [DllImport("PCI-Dask.dll")] - public static extern short WDT_Control (ushort wCardNumber, ushort wCtr, ushort action); - [DllImport("PCI-Dask.dll")] - public static extern short WDT_Status (ushort wCardNumber, ushort Ctr, out uint pValue); - [DllImport("PCI-Dask.dll")] - public static extern short WDT_Reload(ushort wCardNumber, float ovflowSec, out float actualSec); -/*---------------------------------------------------------------------------*/ - [DllImport("PCI-Dask.dll")] - public static extern short AI_GetEvent(ushort wCardNumber, out long hEvent); - [DllImport("PCI-Dask.dll")] - public static extern short AO_GetEvent(ushort wCardNumber, out long hEvent); - [DllImport("PCI-Dask.dll")] - public static extern short DI_GetEvent(ushort wCardNumber, out long hEvent); - [DllImport("PCI-Dask.dll")] - public static extern short DO_GetEvent(ushort wCardNumber, out long hEvent); -/*---------------------------------------------------------------------------*/ - [DllImport("PCI-Dask.dll")] - public static extern short AI_GetView(ushort wCardNumber, uint[] pView); - [DllImport("PCI-Dask.dll")] - public static extern short DI_GetView(ushort wCardNumber, uint[] pView); - [DllImport("PCI-Dask.dll")] - public static extern short DO_GetView(ushort wCardNumber, uint[] pView); -/*---------------------------------------------------------------------------*/ - [DllImport("PCI-Dask.dll")] - public static extern short GetCardType (ushort wCardNumber, out ushort cardType); - [DllImport("PCI-Dask.dll")] - public static extern short GetCardIndexFromID (ushort wCardNumber, out ushort cardType, out ushort cardIndex); - [DllImport("PCI-Dask.dll")] - public static extern short GetBaseAddr(ushort wCardNumber, uint[] BaseAddr, uint[] BaseAddr2); - [DllImport("PCI-Dask.dll")] - public static extern short GetLCRAddr(ushort wCardNumber, uint[] LcrAddr); -/*---------------------------------------------------------------------------*/ - [DllImport("PCI-Dask.dll")] - public static extern short PCI_DB_Auto_Calibration_ALL(ushort wCardNumber); - [DllImport("PCI-Dask.dll")] - public static extern short PCI_Load_CAL_Data(ushort wCardNumber, ushort bank); - [DllImport("PCI-Dask.dll")] - public static extern short PCI_EEPROM_CAL_Constant_Update(ushort wCardNumber, ushort bank); -/*----------------------------------------------------------------------------*/ -} \ No newline at end of file diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/.NET/C#/6208/D6208_AO_OnePoint/D6208_AO_OnePoint/Form1.Designer.cs b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/.NET/C#/6208/D6208_AO_OnePoint/D6208_AO_OnePoint/Form1.Designer.cs deleted file mode 100644 index 7307455..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/.NET/C#/6208/D6208_AO_OnePoint/D6208_AO_OnePoint/Form1.Designer.cs +++ /dev/null @@ -1,88 +0,0 @@ -namespace D6208_AO_OnePoint -{ - partial class Form1 - { - /// - /// 設計工具所需的變數。 - /// - private System.ComponentModel.IContainer components = null; - - /// - /// 清除任何使用中的資源。 - /// - /// 如果應該公開 Managed 資源則為 true,否則為 false。 - protected override void Dispose(bool disposing) - { - if (disposing && (components != null)) - { - components.Dispose(); - } - base.Dispose(disposing); - } - - #region Windows Form 設計工具產生的程式碼 - - /// - /// 此為設計工具支援所需的方法 - 請勿使用程式碼編輯器修改這個方法的內容。 - /// - /// - private void InitializeComponent() - { - this.label1 = new System.Windows.Forms.Label(); - this.textBox1 = new System.Windows.Forms.TextBox(); - this.button1 = new System.Windows.Forms.Button(); - this.SuspendLayout(); - // - // label1 - // - this.label1.AutoSize = true; - this.label1.Location = new System.Drawing.Point(136, 34); - this.label1.Name = "label1"; - this.label1.Size = new System.Drawing.Size(13, 12); - this.label1.TabIndex = 5; - this.label1.Text = "V"; - // - // textBox1 - // - this.textBox1.Location = new System.Drawing.Point(32, 23); - this.textBox1.Name = "textBox1"; - this.textBox1.Size = new System.Drawing.Size(99, 22); - this.textBox1.TabIndex = 4; - this.textBox1.Text = "2"; - this.textBox1.TextAlign = System.Windows.Forms.HorizontalAlignment.Right; - // - // button1 - // - this.button1.Location = new System.Drawing.Point(174, 23); - this.button1.Name = "button1"; - this.button1.Size = new System.Drawing.Size(93, 22); - this.button1.TabIndex = 3; - this.button1.Text = "Output"; - this.button1.UseVisualStyleBackColor = true; - this.button1.Click += new System.EventHandler(this.button1_Click); - // - // Form1 - // - this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F); - this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; - this.ClientSize = new System.Drawing.Size(292, 79); - this.Controls.Add(this.label1); - this.Controls.Add(this.textBox1); - this.Controls.Add(this.button1); - this.Name = "Form1"; - this.Text = "Form1"; - this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.Form1_FormClosing); - this.Load += new System.EventHandler(this.Form1_Load); - this.ResumeLayout(false); - this.PerformLayout(); - - } - - #endregion - - private System.Windows.Forms.Label label1; - private System.Windows.Forms.TextBox textBox1; - private System.Windows.Forms.Button button1; - } -} - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/.NET/C#/6208/D6208_AO_OnePoint/D6208_AO_OnePoint/Form1.cs b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/.NET/C#/6208/D6208_AO_OnePoint/D6208_AO_OnePoint/Form1.cs deleted file mode 100644 index f6ba26b..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/.NET/C#/6208/D6208_AO_OnePoint/D6208_AO_OnePoint/Form1.cs +++ /dev/null @@ -1,55 +0,0 @@ -using System; -using System.Collections.Generic; -using System.ComponentModel; -using System.Data; -using System.Drawing; -using System.Text; -using System.Windows.Forms; - -namespace D6208_AO_OnePoint -{ - public partial class Form1 : Form - { - public short m_dev; - public Form1() - { - InitializeComponent(); - } - - private void Form1_Load(object sender, EventArgs e) - { - m_dev = DASK.Register_Card(DASK.PCI_6208V, 0); - if (m_dev < 0) - { - MessageBox.Show("Register_Card error!"); - } - } - - private void Form1_FormClosing(object sender, FormClosingEventArgs e) - { - short ret; - if (m_dev >= 0) - { - ret = DASK.Release_Card((ushort)m_dev); - } - } - - private void button1_Click(object sender, EventArgs e) - { - short ret; - double out_value; - if (Double.TryParse(textBox1.Text, out out_value)) - { - ret = DASK.AO_VWriteChannel((ushort)m_dev, 0, out_value); - if (ret < 0) - { - MessageBox.Show("AO_VWriteChannel error!"); - } - } - else - { - MessageBox.Show("Input error!"); - } - } - } -} \ No newline at end of file diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/.NET/C#/6208/D6208_AO_OnePoint/D6208_AO_OnePoint/Form1.resx b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/.NET/C#/6208/D6208_AO_OnePoint/D6208_AO_OnePoint/Form1.resx deleted file mode 100644 index 19dc0dd..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/.NET/C#/6208/D6208_AO_OnePoint/D6208_AO_OnePoint/Form1.resx +++ /dev/null @@ -1,120 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - text/microsoft-resx - - - 2.0 - - - System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - \ No newline at end of file diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/.NET/C#/6208/D6208_AO_OnePoint/D6208_AO_OnePoint/Program.cs b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/.NET/C#/6208/D6208_AO_OnePoint/D6208_AO_OnePoint/Program.cs deleted file mode 100644 index f5a6eed..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/.NET/C#/6208/D6208_AO_OnePoint/D6208_AO_OnePoint/Program.cs +++ /dev/null @@ -1,20 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Windows.Forms; - -namespace D6208_AO_OnePoint -{ - static class Program - { - /// - /// 應用程式的主要進入點。 - /// - [STAThread] - static void Main() - { - Application.EnableVisualStyles(); - Application.SetCompatibleTextRenderingDefault(false); - Application.Run(new Form1()); - } - } -} \ No newline at end of file diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/.NET/C#/6208/D6208_AO_OnePoint/D6208_AO_OnePoint/Properties/AssemblyInfo.cs b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/.NET/C#/6208/D6208_AO_OnePoint/D6208_AO_OnePoint/Properties/AssemblyInfo.cs deleted file mode 100644 index fecfd20..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/.NET/C#/6208/D6208_AO_OnePoint/D6208_AO_OnePoint/Properties/AssemblyInfo.cs +++ /dev/null @@ -1,33 +0,0 @@ -using System.Reflection; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; - -// 組件的一般資訊是由下列的屬性集控制。 -// 變更這些屬性的值即可修改組件的相關 -// 資訊。 -[assembly: AssemblyTitle("D6208_AO_OnePoint")] -[assembly: AssemblyDescription("")] -[assembly: AssemblyConfiguration("")] -[assembly: AssemblyCompany("ADLINK")] -[assembly: AssemblyProduct("D6208_AO_OnePoint")] -[assembly: AssemblyCopyright("Copyright (C) ADLINK 2006")] -[assembly: AssemblyTrademark("")] -[assembly: AssemblyCulture("")] - -// 將 ComVisible 設定為 false 會使得這個組件中的型別 -// 對 COM 元件而言為不可見。如果您需要從 COM 存取這個組件中 -// 的型別,請在該型別上將 ComVisible 屬性設定為 true。 -[assembly: ComVisible(false)] - -// 下列 GUID 為專案公開 (Expose) 至 COM 時所要使用的 typelib ID -[assembly: Guid("89d7e9b7-d784-45ba-b1a9-75bb7a11363d")] - -// 組件的版本資訊是由下列四項值構成: -// -// 主要版本 -// 次要版本 -// 組建編號 -// 修訂編號 -// -[assembly: AssemblyVersion("1.0.0.0")] -[assembly: AssemblyFileVersion("1.0.0.0")] diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/.NET/C#/6208/D6208_AO_OnePoint/D6208_AO_OnePoint/Properties/Resources.Designer.cs b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/.NET/C#/6208/D6208_AO_OnePoint/D6208_AO_OnePoint/Properties/Resources.Designer.cs deleted file mode 100644 index 19a30e4..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/.NET/C#/6208/D6208_AO_OnePoint/D6208_AO_OnePoint/Properties/Resources.Designer.cs +++ /dev/null @@ -1,71 +0,0 @@ -//------------------------------------------------------------------------------ -// -// 這段程式碼是由工具產生的。 -// 執行階段版本:2.0.50727.42 -// -// 變更這個檔案可能會導致不正確的行為,而且如果已重新產生 -// 程式碼,這個檔案將會遺失。 -// -//------------------------------------------------------------------------------ - -namespace D6208_AO_OnePoint.Properties -{ - - - /// - /// 用於查詢當地語系化字串等的強型別資源類別 - /// - // 這個類別是自動產生的,是利用 StronglyTypedResourceBuilder - // 類別透過 ResGen 或 Visual Studio 這類工具。 - // 若要加入或移除成員,請編輯您的 .ResX 檔,然後重新執行 ResGen - // (利用 /str 選項),或重建您的 VS 專案。 - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "2.0.0.0")] - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()] - internal class Resources - { - - private static global::System.Resources.ResourceManager resourceMan; - - private static global::System.Globalization.CultureInfo resourceCulture; - - [global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")] - internal Resources() - { - } - - /// - /// 傳回這個類別使用的快取的 ResourceManager 執行個體。 - /// - [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] - internal static global::System.Resources.ResourceManager ResourceManager - { - get - { - if ((resourceMan == null)) - { - global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("D6208_AO_OnePoint.Properties.Resources", typeof(Resources).Assembly); - resourceMan = temp; - } - return resourceMan; - } - } - - /// - /// 覆寫目前執行緒的 CurrentUICulture 屬性,對象是所有 - /// 使用這個強型別資源類別的資源查閱。 - /// - [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] - internal static global::System.Globalization.CultureInfo Culture - { - get - { - return resourceCulture; - } - set - { - resourceCulture = value; - } - } - } -} diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/.NET/C#/6208/D6208_AO_OnePoint/D6208_AO_OnePoint/Properties/Resources.resx b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/.NET/C#/6208/D6208_AO_OnePoint/D6208_AO_OnePoint/Properties/Resources.resx deleted file mode 100644 index af7dbeb..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/.NET/C#/6208/D6208_AO_OnePoint/D6208_AO_OnePoint/Properties/Resources.resx +++ /dev/null @@ -1,117 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - text/microsoft-resx - - - 2.0 - - - System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - \ No newline at end of file diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/.NET/C#/6208/D6208_AO_OnePoint/D6208_AO_OnePoint/Properties/Settings.Designer.cs b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/.NET/C#/6208/D6208_AO_OnePoint/D6208_AO_OnePoint/Properties/Settings.Designer.cs deleted file mode 100644 index c58ba4f..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/.NET/C#/6208/D6208_AO_OnePoint/D6208_AO_OnePoint/Properties/Settings.Designer.cs +++ /dev/null @@ -1,30 +0,0 @@ -//------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// Runtime Version:2.0.50727.42 -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -//------------------------------------------------------------------------------ - -namespace D6208_AO_OnePoint.Properties -{ - - - [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "8.0.0.0")] - internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase - { - - private static Settings defaultInstance = ((Settings)(global::System.Configuration.ApplicationSettingsBase.Synchronized(new Settings()))); - - public static Settings Default - { - get - { - return defaultInstance; - } - } - } -} diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/.NET/C#/6208/D6208_AO_OnePoint/D6208_AO_OnePoint/Properties/Settings.settings b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/.NET/C#/6208/D6208_AO_OnePoint/D6208_AO_OnePoint/Properties/Settings.settings deleted file mode 100644 index 3964565..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/.NET/C#/6208/D6208_AO_OnePoint/D6208_AO_OnePoint/Properties/Settings.settings +++ /dev/null @@ -1,7 +0,0 @@ - - - - - - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/.NET/C#/7250/D7250_DIO/D7250_DIO.sln b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/.NET/C#/7250/D7250_DIO/D7250_DIO.sln deleted file mode 100644 index 52f314f..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/.NET/C#/7250/D7250_DIO/D7250_DIO.sln +++ /dev/null @@ -1,20 +0,0 @@ - -Microsoft Visual Studio Solution File, Format Version 9.00 -# Visual Studio 2005 -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "D7250_DIO", "D7250_DIO\D7250_DIO.csproj", "{53EBDCB0-FF0D-4E67-B67E-A19FB38D9DC5}" -EndProject -Global - GlobalSection(SolutionConfigurationPlatforms) = preSolution - Debug|Any CPU = Debug|Any CPU - Release|Any CPU = Release|Any CPU - EndGlobalSection - GlobalSection(ProjectConfigurationPlatforms) = postSolution - {53EBDCB0-FF0D-4E67-B67E-A19FB38D9DC5}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {53EBDCB0-FF0D-4E67-B67E-A19FB38D9DC5}.Debug|Any CPU.Build.0 = Debug|Any CPU - {53EBDCB0-FF0D-4E67-B67E-A19FB38D9DC5}.Release|Any CPU.ActiveCfg = Release|Any CPU - {53EBDCB0-FF0D-4E67-B67E-A19FB38D9DC5}.Release|Any CPU.Build.0 = Release|Any CPU - EndGlobalSection - GlobalSection(SolutionProperties) = preSolution - HideSolutionNode = FALSE - EndGlobalSection -EndGlobal diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/.NET/C#/7250/D7250_DIO/D7250_DIO/D7250_DIO.csproj b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/.NET/C#/7250/D7250_DIO/D7250_DIO/D7250_DIO.csproj deleted file mode 100644 index cb57531..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/.NET/C#/7250/D7250_DIO/D7250_DIO/D7250_DIO.csproj +++ /dev/null @@ -1,81 +0,0 @@ - - - Debug - AnyCPU - 8.0.50727 - 2.0 - {53EBDCB0-FF0D-4E67-B67E-A19FB38D9DC5} - WinExe - Properties - D7250_DIO - D7250_DIO - - - true - full - false - bin\Debug\ - DEBUG;TRACE - prompt - 4 - x86 - - - pdbonly - true - bin\Release\ - TRACE - prompt - 4 - x86 - - - - - - - - - - - - - Form - - - Form1.cs - - - - - Designer - Form1.cs - - - ResXFileCodeGenerator - Resources.Designer.cs - Designer - - - True - Resources.resx - - - SettingsSingleFileGenerator - Settings.Designer.cs - - - True - Settings.settings - True - - - - - \ No newline at end of file diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/.NET/C#/7250/D7250_DIO/D7250_DIO/Dask.cs b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/.NET/C#/7250/D7250_DIO/D7250_DIO/Dask.cs deleted file mode 100644 index 3947ef9..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/.NET/C#/7250/D7250_DIO/D7250_DIO/Dask.cs +++ /dev/null @@ -1,800 +0,0 @@ -using System.Runtime.InteropServices; -using System; - -public delegate void CallbackDelegate(); - -public class DASK -{ - //ADLink PCI Card Type - public const ushort PCI_6208V =1; - public const ushort PCI_6208A =2; - public const ushort PCI_6308V =3; - public const ushort PCI_6308A =4; - public const ushort PCI_7200 =5; - public const ushort PCI_7230 =6; - public const ushort PCI_7233 =7; - public const ushort PCI_7234 =8; - public const ushort PCI_7248 =9; - public const ushort PCI_7249 =10; - public const ushort PCI_7250 =11; - public const ushort PCI_7252 =12; - public const ushort PCI_7296 =13; - public const ushort PCI_7300A_RevA =14; - public const ushort PCI_7300A_RevB =15; - public const ushort PCI_7432 =16; - public const ushort PCI_7433 =17; - public const ushort PCI_7434 =18; - public const ushort PCI_8554 =19; - public const ushort PCI_9111DG =20; - public const ushort PCI_9111HR =21; - public const ushort PCI_9112 =22; - public const ushort PCI_9113 =23; - public const ushort PCI_9114DG =24; - public const ushort PCI_9114HG =25; - public const ushort PCI_9118DG =26; - public const ushort PCI_9118HG =27; - public const ushort PCI_9118HR =28; - public const ushort PCI_9810 =29; - public const ushort PCI_9812 =30; - public const ushort PCI_7396 =31; - public const ushort PCI_9116 =32; - public const ushort PCI_7256 =33; - public const ushort PCI_7258 =34; - public const ushort PCI_7260 =35; - public const ushort PCI_7452 =36; - public const ushort PCI_7442 =37; - - public const ushort MAX_CARD =32; - -//Error Number - public const short NoError =0; - public const short ErrorUnknownCardType =-1; - public const short ErrorInvalidCardNumber =-2; - public const short ErrorTooManyCardRegistered =-3; - public const short ErrorCardNotRegistered =-4; - public const short ErrorFuncNotSupport =-5; - public const short ErrorInvalidIoChannel =-6; - public const short ErrorInvalidAdRange =-7; - public const short ErrorContIoNotAllowed =-8; - public const short ErrorDiffRangeNotSupport =-9; - public const short ErrorLastChannelNotZero =-10; - public const short ErrorChannelNotDescending =-11; - public const short ErrorChannelNotAscending =-12; - public const short ErrorOpenDriverFailed =-13; - public const short ErrorOpenEventFailed =-14; - public const short ErrorTransferCountTooLarge =-15; - public const short ErrorNotDoubleBufferMode =-16; - public const short ErrorInvalidSampleRate =-17; - public const short ErrorInvalidCounterMode =-18; - public const short ErrorInvalidCounter =-19; - public const short ErrorInvalidCounterState =-20; - public const short ErrorInvalidBinBcdParam =-21; - public const short ErrorBadCardType =-22; - public const short ErrorInvalidDaRefVoltage =-23; - public const short ErrorAdTimeOut =-24; - public const short ErrorNoAsyncAI =-25; - public const short ErrorNoAsyncAO =-26; - public const short ErrorNoAsyncDI =-27; - public const short ErrorNoAsyncDO =-28; - public const short ErrorNotInputPort =-29; - public const short ErrorNotOutputPort =-30; - public const short ErrorInvalidDioPort =-31; - public const short ErrorInvalidDioLine =-32; - public const short ErrorContIoActive =-33; - public const short ErrorDblBufModeNotAllowed =-34; - public const short ErrorConfigFailed =-35; - public const short ErrorInvalidPortDirection =-36; - public const short ErrorBeginThreadError =-37; - public const short ErrorInvalidPortWidth =-38; - public const short ErrorInvalidCtrSource =-39; - public const short ErrorOpenFile =-40; - public const short ErrorAllocateMemory =-41; - public const short ErrorDaVoltageOutOfRange =-42; - public const short ErrorDaExtRefNotAllowed =-43; - public const short ErrorDIODataWidthError =-44; - public const short ErrorTaskCodeError =-45; - public const short ErrortriggercountError =-46; - public const short ErrorInvalidTriggerMode =-47; - public const short ErrorInvalidTriggerType =-48; - public const short ErrorInvalidCounterValue =-50; - public const short ErrorInvalidEventHandle =-60; - public const short ErrorNoMessageAvailable =-61; - public const short ErrorEventMessgaeNotAdded =-62; -//Error number for driver API - public const short ErrorConfigIoctl =-201; - public const short ErrorAsyncSetIoctl =-202; - public const short ErrorDBSetIoctl =-203; - public const short ErrorDBHalfReadyIoctl =-204; - public const short ErrorContOPIoctl =-205; - public const short ErrorContStatusIoctl =-206; - public const short ErrorPIOIoctl =-207; - public const short ErrorDIntSetIoctl =-208; - public const short ErrorWaitEvtIoctl =-209; - public const short ErrorOpenEvtIoctl =-210; - public const short ErrorCOSIntSetIoctl =-211; - public const short ErrorMemMapIoctl =-212; - public const short ErrorMemUMapSetIoctl =-213; - public const short ErrorCTRIoctl =-214; - public const short ErrorGetResIoctl =-215; - -//Synchronous Mode - public const ushort SYNCH_OP =1; - public const ushort ASYNCH_OP =2; - -//AD Range - public const ushort AD_B_10_V =1; - public const ushort AD_B_5_V =2; - public const ushort AD_B_2_5_V =3; - public const ushort AD_B_1_25_V =4; - public const ushort AD_B_0_625_V =5; - public const ushort AD_B_0_3125_V =6; - public const ushort AD_B_0_5_V =7; - public const ushort AD_B_0_05_V =8; - public const ushort AD_B_0_005_V =9; - public const ushort AD_B_1_V =10; - public const ushort AD_B_0_1_V =11; - public const ushort AD_B_0_01_V =12; - public const ushort AD_B_0_001_V =13; - public const ushort AD_U_20_V =14; - public const ushort AD_U_10_V =15; - public const ushort AD_U_5_V =16; - public const ushort AD_U_2_5_V =17; - public const ushort AD_U_1_25_V =18; - public const ushort AD_U_1_V =19; - public const ushort AD_U_0_1_V =20; - public const ushort AD_U_0_01_V =21; - public const ushort AD_U_0_001_V =22; - -//Clock Mode - public const ushort TRIG_SOFTWARE =0; - public const ushort TRIG_INT_PACER =1; - public const ushort TRIG_EXT_STROBE =2; - public const ushort TRIG_HANDSHAKE =3; - public const ushort TRIG_CLK_10MHZ =4; //PCI-7300A - public const ushort TRIG_CLK_20MHZ =5; //PCI-7300A - public const ushort TRIG_DO_CLK_TIMER_ACK =6; //PCI-7300A Rev. B - public const ushort TRIG_DO_CLK_10M_ACK =7; //PCI-7300A Rev. B - public const ushort TRIG_DO_CLK_20M_ACK =8; //PCI-7300A Rev. B -//Virtual Sampling Rate for using external clock as the clock source - public const double CLKSRC_EXT_SampRate =10000; - -//-------- Constants for PCI-6208A/PCI-6308A/PCI-6308V ------------------- -//Output Mode - public const ushort P6208_CURRENT_0_20MA =0; - public const ushort P6208_CURRENT_4_20MA =3; - public const ushort P6208_CURRENT_5_25MA =1; - public const ushort P6308_CURRENT_0_20MA =0; - public const ushort P6308_CURRENT_4_20MA =3; - public const ushort P6308_CURRENT_5_25MA =1; -//AO Setting - public const ushort P6308V_AO_CH0_3 =0; - public const ushort P6308V_AO_CH4_7 =1; - public const ushort P6308V_AO_UNIPOLAR =0; - public const ushort P6308V_AO_BIPOLAR =1; -//-------- Constants for PCI-7200 -------------------- -//InputMode - public const ushort DI_WAITING =0x02; - public const ushort DI_NOWAITING =0x00; - - public const ushort DI_TRIG_RISING =0x04; - public const ushort DI_TRIG_FALLING =0x00; - - public const ushort IREQ_RISING =0x08; - public const ushort IREQ_FALLING =0x00; - -//Output Mode - public const ushort OREQ_ENABLE =0x10; - public const ushort OREQ_DISABLE =0x00; - - public const ushort OTRIG_HIGH =0x20; - public const ushort OTRIG_LOW =0x00; - -//-------- Constants for PCI-7248/7296/7396/7442 --------------- -//DIO Port Direction - public const ushort INPUT_PORT = 1; - public const ushort OUTPUT_PORT = 2; -//DIO Line Direction - public const ushort INPUT_LINE = 1; - public const ushort OUTPUT_LINE = 2; - -//Channel & Port - public const ushort Channel_P1A =0; - public const ushort Channel_P1B =1; - public const ushort Channel_P1C =2; - public const ushort Channel_P1CL =3; - public const ushort Channel_P1CH =4; - public const ushort Channel_P1AE =10; - public const ushort Channel_P1BE =11; - public const ushort Channel_P1CE =12; - public const ushort Channel_P2A =5; - public const ushort Channel_P2B =6; - public const ushort Channel_P2C =7; - public const ushort Channel_P2CL =8; - public const ushort Channel_P2CH =9; - public const ushort Channel_P2AE =15; - public const ushort Channel_P2BE =16; - public const ushort Channel_P2CE =17; - public const ushort Channel_P3A =10; - public const ushort Channel_P3B =11; - public const ushort Channel_P3C =12; - public const ushort Channel_P3CL =13; - public const ushort Channel_P3CH =14; - public const ushort Channel_P4A =15; - public const ushort Channel_P4B =16; - public const ushort Channel_P4C =17; - public const ushort Channel_P4CL =18; - public const ushort Channel_P4CH =19; - public const ushort Channel_P5A =20; - public const ushort Channel_P5B =21; - public const ushort Channel_P5C =22; - public const ushort Channel_P5CL =23; - public const ushort Channel_P5CH =24; - public const ushort Channel_P6A =25; - public const ushort Channel_P6B =26; - public const ushort Channel_P6C =27; - public const ushort Channel_P6CL =28; - public const ushort Channel_P6CH =29; -//the following are used for PCI7396 - public const ushort Channel_P1 =30; - public const ushort Channel_P2 =31; - public const ushort Channel_P3 =32; - public const ushort Channel_P4 =33; - public const ushort Channel_P1E =34; //only used by DIO_PortConfig function - public const ushort Channel_P2E =35; //only used by DIO_PortConfig function - public const ushort Channel_P3E =36; //only used by DIO_PortConfig function - public const ushort Channel_P4E =37; //only used by DIO_PortConfig function -//7442 - public const ushort P7442_CH0 = 0; - public const ushort P7442_CH1 = 1; - public const ushort P7442_TTL0 = 2; - public const ushort P7442_TTL1 = 3; -//-------- Constants for PCI-7300A ------------------- -//Wait Status - public const ushort P7300_WAIT_NO =0; - public const ushort P7300_WAIT_TRG =1; - public const ushort P7300_WAIT_FIFO =2; - public const ushort P7300_WAIT_BOTH =3; - -//Terminator control - public const ushort P7300_TERM_OFF =0; - public const ushort P7300_TERM_ON =1; - -//DI control signals polarity for PCI-7300A Rev. B - public const ushort P7300_DIREQ_POS =0x00000000; - public const ushort P7300_DIREQ_NEG =0x00000001; - public const ushort P7300_DIACK_POS =0x00000000; - public const ushort P7300_DIACK_NEG =0x00000002; - public const ushort P7300_DITRIG_POS =0x00000000; - public const ushort P7300_DITRIG_NEG =0x00000004; - -//DO control signals polarity for PCI-7300A Rev. B - public const ushort P7300_DOREQ_POS =0x00000000; - public const ushort P7300_DOREQ_NEG =0x00000008; - public const ushort P7300_DOACK_POS =0x00000000; - public const ushort P7300_DOACK_NEG =0x00000010; - public const ushort P7300_DOTRIG_POS =0x00000000; - public const ushort P7300_DOTRIG_NEG =0x00000020; -//-------- Constants for PCI-7432/7433/7434 --------------- - public const ushort PORT_DI_LOW =0; - public const ushort PORT_DI_HIGH =1; - public const ushort PORT_DO_LOW =0; - public const ushort PORT_DO_HIGH =1; - public const ushort P7432R_DO_LED =1; - public const ushort P7433R_DO_LED =0; - public const ushort P7434R_DO_LED =2; - public const ushort P7432R_DI_SLOT =1; - public const ushort P7433R_DI_SLOT =2; - public const ushort P7434R_DI_SLOT =0; -//-- Dual-Interrupt Source control for PCI-7248/96 & 7432/33 & 7230 & 8554 & 7396 &7256 &7260 --- - public const short INT1_DISABLE =-1; //INT1 Disabled - public const short INT1_COS =0; //INT1 COS : only available for PCI-7396, PCI-7256, PCI-7260 - public const short INT1_FP1C0 =1; //INT1 by Falling edge of P1C0 : only available for PCI7248/96/7396 - public const short INT1_RP1C0_FP1C3 =2; //INT1 by P1C0 Rising or P1C3 Falling : only available for PCI7248/96/7396 - public const short INT1_EVENT_COUNTER =3; //INT1 by Event Counter down to zero : only available for PCI7248/96/7396 - public const short INT1_EXT_SIGNAL =1; //INT1 by external signal : only available for PCI7432/7433/7230/8554 - public const short INT1_COUT12 =1; //INT1 COUT12 : only available for PCI8554 - public const short INT1_CH0 =1; //INT1 CH0 : only available for PCI7256, PCI7260 - public const short INT1_COS0 =1; //INT1 COS0 : only available for PCI-7452/PCI-7442 - public const short INT1_COS1 =2; //INT1 COS1 : only available for PCI-7452/PCI-7442 - public const short INT1_COS2 =4; //INT1 COS2 : only available for PCI-7452/PCI-7442 - public const short INT1_COS3 =8; //INT1 COS3 : only available for PCI-7452/PCI-7442 - public const short INT2_DISABLE =-1; //INT2 Disabled - public const short INT2_COS =0; //INT2 COS : only available for PCI-7396 - public const short INT2_FP2C0 =1; //INT2 by Falling edge of P2C0 : only available for PCI7248/96/7396 - public const short INT2_RP2C0_FP2C3 =2; //INT2 by P2C0 Rising or P2C3 Falling : only available for PCI7248/96/7396 - public const short INT2_TIMER_COUNTER =3; //INT2 by Timer Counter down to zero : only available for PCI7248/96/7396 - public const short INT2_EXT_SIGNAL =1; //INT2 by external signal : only available for PCI7432/7433/7230/8554 - public const short INT2_CH1 =2; //INT2 CH1 : only available for PCI7256, PCI7260 - public const short INT2_WDT =4; //INT2 by WDT - - public const ushort ManualResetIEvt =0x4000;//interrupt event is manually reset by user - public const ushort WDT_OVRFLOW_SAFETYOUT =0x8000;// enable safteyout while WDT overflow -//-------- Constants for PCI-8554 -------------------- -//Clock Source of Cunter N - public const ushort ECKN =0; - public const ushort COUTN_1 =1; - public const ushort CK1 =2; - public const ushort COUT10 =3; - -//Clock Source of CK1 - public const ushort CK1_C8M =0; - public const ushort CK1_COUT11 =1; - -//Debounce Clock - public const ushort DBCLK_COUT11 =0; - public const ushort DBCLK_2MHZ =1; - -//-------- Constants for PCI-9111 -------------------- -//Dual Interrupt Mode - public const ushort P9111_INT1_EOC =0; //Ending of AD conversion - public const ushort P9111_INT1_FIFO_HF =1; //FIFO Half Full - public const ushort P9111_INT2_PACER =0; //Every Timer tick - public const ushort P9111_INT2_EXT_TRG =1; //ExtTrig High->Low - -//Channel Count - public const ushort P9111_CHANNEL_DO =0; - public const ushort P9111_CHANNEL_EDO =1; - public const ushort P9111_CHANNEL_DI =0; - public const ushort P9111_CHANNEL_EDI =1; - -//EDO function - public const ushort P9111_EDO_INPUT =1; //EDO port set as Input port - public const ushort P9111_EDO_OUT_EDO =2; //EDO port set as Output port - public const ushort P9111_EDO_OUT_CHN =3; //EDO port set as channel number ouput port - -//Trigger Mode - public const ushort P9111_TRGMOD_SOFT =0x00; //Software Trigger Mode - public const ushort P9111_TRGMOD_PRE =0x01; //Pre-Trigger Mode - public const ushort P9111_TRGMOD_POST =0x02; //Post Trigger Mode - -//AO Setting - public const ushort P9111_AO_UNIPOLAR =0; - public const ushort P9111_AO_BIPOLAR =1; - -//-------- Constants for PCI-9118 -------------------- - public const ushort P9118_AI_BiPolar =0x00; - public const ushort P9118_AI_UniPolar =0x01; - - public const ushort P9118_AI_SingEnded =0x00; - public const ushort P9118_AI_Differential =0x02; - - public const ushort P9118_AI_ExtG =0x04; - - public const ushort P9118_AI_ExtTrig =0x08; - - public const ushort P9118_AI_DtrgNegative =0x00; - public const ushort P9118_AI_DtrgPositive =0x10; - - public const ushort P9118_AI_EtrgNegative =0x00; - public const ushort P9118_AI_EtrgPositive =0x20; - - public const ushort P9118_AI_BurstModeEn =0x40; - public const ushort P9118_AI_SampleHold =0x80; - public const ushort P9118_AI_PostTrgEn =0x100; - public const ushort P9118_AI_AboutTrgEn =0x200; - -//-------- Constants for PCI-9116 -------------------- - public const ushort P9116_AI_LocalGND =0x00; - public const ushort P9116_AI_UserCMMD =0x01; - public const ushort P9116_AI_SingEnded =0x00; - public const ushort P9116_AI_Differential =0x02; - public const ushort P9116_AI_BiPolar =0x00; - public const ushort P9116_AI_UniPolar =0x04; - - public const ushort P9116_TRGMOD_SOFT =0x00; //Software Trigger Mode - public const ushort P9116_TRGMOD_POST =0x10; //Post Trigger Mode - public const ushort P9116_TRGMOD_DELAY =0x20; //Delay Trigger Mode - public const ushort P9116_TRGMOD_PRE =0x30; //Pre-Trigger Mode - public const ushort P9116_TRGMOD_MIDL =0x40; //Middle Trigger Mode - public const ushort P9116_AI_TrgPositive =0x00; - public const ushort P9116_AI_TrgNegative =0x80; - public const ushort P9116_AI_ExtTimeBase =0x100; - public const ushort P9116_AI_IntTimeBase =0x000; - public const ushort P9116_AI_DlyInSamples =0x200; - public const ushort P9116_AI_DlyInTimebase =0x000; - public const ushort P9116_AI_ReTrigEn =0x400; - public const ushort P9116_AI_MCounterEn =0x800; - public const ushort P9116_AI_SoftPolling =0x0000; - public const ushort P9116_AI_INT =0x1000; - public const ushort P9116_AI_DMA =0x2000; - -//-------- Constants for PCI-9812 -------------------- -//Trigger Mode - public const ushort P9812_TRGMOD_SOFT =0x00; //Software Trigger Mode - public const ushort P9812_TRGMOD_POST =0x01; //Post Trigger Mode - public const ushort P9812_TRGMOD_PRE =0x02; //Pre-Trigger Mode - public const ushort P9812_TRGMOD_DELAY =0x03; //Delay Trigger Mode - public const ushort P9812_TRGMOD_MIDL =0x04; //Middle Trigger Mode - - public const ushort P9812_AIEvent_Manual =0x08; //Middle Trigger Mode - - //Trigger Source - public const ushort P9812_TRGSRC_CH0 =0x00; //trigger source --CH0 - public const ushort P9812_TRGSRC_CH1 =0x08; //trigger source --CH1 - public const ushort P9812_TRGSRC_CH2 =0x10; //trigger source --CH2 - public const ushort P9812_TRGSRC_CH3 =0x18; //trigger source --CH3 - public const ushort P9812_TRGSRC_EXT_DIG =0x20; //External Digital Trigger - -//Trigger Polarity - public const ushort P9812_TRGSLP_POS =0x00; //Positive slope trigger - public const ushort P9812_TRGSLP_NEG =0x40; //Negative slope trigger - -//Frequency Selection - public const ushort P9812_AD2_GT_PCI =0x80; //Freq. of A/D clock > PCI clock freq. - public const ushort P9812_AD2_LT_PCI =0x00; //Freq. of A/D clock < PCI clock freq. - -//Clock Source - public const ushort P9812_CLKSRC_INT =0x000; //Internal clock - public const ushort P9812_CLKSRC_EXT_SIN =0x100; //External SIN wave clock - public const ushort P9812_CLKSRC_EXT_DIG =0x200; //External Square wave clock - -//EMG shdn ctrl code - public const ushort EMGSHDN_OFF =0; //off - public const ushort EMGSHDN_ON =1; //on - public const ushort EMGSHDN_RECOVERY =2; //recovery - -//Hot Reset Hold ctrl code - public const ushort HRH_OFF =0; //off - public const ushort HRH_ON =1; //on - -//-------- Timer/Counter ----------------------------- -//Counter Mode (8254) - public const ushort TOGGLE_OUTPUT =0; //Toggle output from low to high on terminal count - public const ushort PROG_ONE_SHOT =1; //Programmable one-shot - public const ushort RATE_GENERATOR =2; //Rate generator - public const ushort SQ_WAVE_RATE_GENERATOR =3; //Square wave rate generator - public const ushort SOFT_TRIG =4; //Software-triggered strobe - public const ushort HARD_TRIG =5; //Hardware-triggered strobe - -//General Purpose Timer/Counter -//Counter Mode - public const ushort General_Counter =0x00; //general counter - public const ushort Pulse_Generation =0x01; //pulse generation -//GPTC clock source - public const ushort GPTC_CLKSRC_EXT =0x08; - public const ushort GPTC_CLKSRC_INT =0x00; - public const ushort GPTC_GATESRC_EXT =0x10; - public const ushort GPTC_GATESRC_INT =0x00; - public const ushort GPTC_UPDOWN_SELECT_EXT =0x20; - public const ushort GPTC_UPDOWN_SELECT_SOFT =0x00; - public const ushort GPTC_UP_CTR =0x40; - public const ushort GPTC_DOWN_CTR =0x00; - public const ushort GPTC_ENABLE =0x80; - public const ushort GPTC_DISABLE =0x00; - -//Watchdog Timer -//Counter action - public const ushort WDT_DISARM =0; - public const ushort WDT_ARM =1; - public const ushort WDT_RESTART =2; - -//Pattern ID - public const ushort INIT_PTN =0; - public const ushort EMGSHDN_PTN =1; - -//16-bit binary or 4-decade BCD counter - public const ushort BIN =0; - public const ushort BCD =1; - -//Pattern ID for 7442 - public const ushort INIT_PTN_CH0 = 0; - public const ushort INIT_PTN_CH1 =1; - public const ushort SAFTOUT_PTN_CH0 =4; - public const ushort SAFTOUT_PTN_CH1 =5; - -//DAQ Event type for the event message - public const ushort AIEnd =0; - public const ushort DIEnd =0; - public const ushort DOEnd =0; - public const ushort DBEvent =1; - - public const ushort RegBySlot=0x8000; - -/*------------------------------------------------------------------ -** PCIS-DASK Function prototype -------------------------------------------------------------------*/ - [DllImport("PCI-Dask.dll")] - public static extern short Register_Card (ushort CardType, ushort card_num); - [DllImport("PCI-Dask.dll")] - public static extern short Release_Card (ushort CardNumber); - [DllImport("PCI-Dask.dll")] - public static extern short GetActualRate (ushort CardNumber, double fSampleRate, out double fActualRate); - [DllImport("PCI-Dask.dll")] - public static extern short EMGShutDownControl (ushort CardNumber, byte ctrl); - [DllImport("PCI-Dask.dll")] - public static extern short EMGShutDownStatus (ushort CardNumber, out byte sts); - [DllImport("PCI-Dask.dll")] - public static extern short HotResetHoldControl(ushort wCardNumber, byte enable); - [DllImport("PCI-Dask.dll")] - public static extern short HotResetHoldStatus(ushort wCardNumber, out byte sts); - [DllImport("PCI-Dask.dll")] - public static extern short GetInitPattern (ushort CardNumber, byte patID, out uint pattern); - [DllImport("PCI-Dask.dll")] - public static extern short SetInitPattern(ushort wCardNumber, byte patID, uint pattern); - [DllImport("PCI-Dask.dll")] - public static extern short IdentifyLED_Control (ushort CardNumber, byte ctrl); -/*---------------------------------------------------------------------------*/ - [DllImport("PCI-Dask.dll")] - public static extern short AI_9111_Config (ushort CardNumber, ushort TrigSource, ushort TrgMode, ushort TraceCnt); - [DllImport("PCI-Dask.dll")] - public static extern short AI_9112_Config (ushort CardNumber, ushort TrigSource); - [DllImport("PCI-Dask.dll")] - public static extern short AI_9113_Config (ushort CardNumber, ushort TrigSource); - [DllImport("PCI-Dask.dll")] - public static extern short AI_9114_Config (ushort CardNumber, ushort TrigSource); - [DllImport("PCI-Dask.dll")] - public static extern short AI_9116_Config (ushort CardNumber, ushort ConfigCtrl, ushort TrigCtrl, ushort PostCnt, ushort MCnt, ushort ReTrgCnt); - [DllImport("PCI-Dask.dll")] - public static extern short AI_9118_Config (ushort CardNumber, ushort ModeCtrl, ushort FunCtrl, ushort BurstCnt, ushort PostCnt); - [DllImport("PCI-Dask.dll")] - public static extern short AI_9812_Config (ushort CardNumber, ushort TrgMode, ushort TrgSrc, ushort TrgPol, ushort ClkSel, ushort TrgLevel, ushort PostCnt); - [DllImport("PCI-Dask.dll")] - public static extern short AI_9812_SetDiv (ushort wCardNumber, uint PacerVal); - [DllImport("PCI-Dask.dll")] - public static extern short AI_9114_PreTrigConfig (ushort CardNumber, ushort PreTrgEn, ushort TraceCnt); - [DllImport("PCI-Dask.dll")] - public static extern short AI_9116_CounterInterval (ushort wCardNumber, uint ScanIntrv, uint SampIntrv); - [DllImport("PCI-Dask.dll")] - public static extern short AI_InitialMemoryAllocated (ushort CardNumber, out uint MemSize); - [DllImport("PCI-Dask.dll")] - public static extern short AI_ReadChannel (ushort CardNumber, ushort Channel, ushort AdRange, out ushort Value); - [DllImport("PCI-Dask.dll")] - public static extern short AI_VReadChannel (ushort CardNumber, ushort Channel, ushort AdRange, out double voltage); - [DllImport("PCI-Dask.dll")] - public static extern short AI_VoltScale (ushort CardNumber, ushort AdRange, ushort reading, out double voltage); - [DllImport("PCI-Dask.dll")] - public static extern short AI_ContReadChannel (ushort CardNumber, ushort Channel, ushort AdRange, - ushort[] Buffer, uint ReadCount, double SampleRate, ushort SyncMode); - [DllImport("PCI-Dask.dll")] - public static extern short AI_ContReadMultiChannels (ushort CardNumber, ushort NumChans, ushort[] Chans, - ushort[] AdRanges, ushort[] Buffer, uint ReadCount, - double SampleRate, ushort SyncMode); - [DllImport("PCI-Dask.dll")] - public static extern short AI_ContScanChannels (ushort CardNumber, ushort Channel, ushort AdRange, - ushort[] Buffer, uint ReadCount, double SampleRate, ushort SyncMode); - [DllImport("PCI-Dask.dll")] - public static extern short AI_ContReadChannelToFile (ushort CardNumber, ushort Channel, ushort AdRange, - string FileName, uint ReadCount, double SampleRate, ushort SyncMode); - [DllImport("PCI-Dask.dll")] - public static extern short AI_ContReadMultiChannelsToFile (ushort CardNumber, ushort NumChans, ushort[] Chans, - ushort[] AdRanges, string[] FileName, uint ReadCount, - double SampleRate, ushort SyncMode); - [DllImport("PCI-Dask.dll")] - public static extern short AI_ContScanChannelsToFile (ushort CardNumber, ushort Channel, ushort AdRange, - string FileName, uint ReadCount, double SampleRate, ushort SyncMode); - [DllImport("PCI-Dask.dll")] - public static extern short AI_ContStatus (ushort CardNumber, out ushort Status); - [DllImport("PCI-Dask.dll")] - public static extern short AI_ContVScale (ushort wCardNumber, ushort adRange, ushort[] readingArray, double[] voltageArray, int count); - [DllImport("PCI-Dask.dll")] - public static extern short AI_AsyncCheck(ushort CardNumber, out byte Stopped, out uint AccessCnt); - [DllImport("PCI-Dask.dll")] - public static extern short AI_AsyncClear (ushort CardNumber, out uint AccessCnt); - [DllImport("PCI-Dask.dll")] - public static extern short AI_AsyncDblBufferHalfReady(ushort CardNumber, out byte HalfReady, out byte StopFlag); - [DllImport("PCI-Dask.dll")] - public static extern short AI_AsyncDblBufferMode (ushort CardNumber, bool Enable); - [DllImport("PCI-Dask.dll")] - public static extern short AI_AsyncDblBufferTransfer (ushort CardNumber, ushort[] Buffer); - [DllImport("PCI-Dask.dll")] - public static extern short AI_AsyncDblBufferOverrun (ushort CardNumber, ushort op, out ushort overrunFlag); - [DllImport("PCI-Dask.dll")] - public static extern short AI_EventCallBack(ushort CardNumber, ushort mode, ushort EventType, MulticastDelegate callbackAddr); -/*---------------------------------------------------------------------------*/ - [DllImport("PCI-Dask.dll")] - public static extern short AO_6208A_Config (ushort CardNumber, ushort V2AMode); - [DllImport("PCI-Dask.dll")] - public static extern short AO_6308A_Config (ushort CardNumber, ushort V2AMode); - [DllImport("PCI-Dask.dll")] - public static extern short AO_6308V_Config (ushort wCardNumber, ushort Channel, ushort wOutputPolarity, double refVoltage); - [DllImport("PCI-Dask.dll")] - public static extern short AO_9111_Config (ushort CardNumber, ushort OutputPolarity); - [DllImport("PCI-Dask.dll")] - public static extern short AO_9112_Config (ushort CardNumber, ushort Channel, double refVoltage); - [DllImport("PCI-Dask.dll")] - public static extern short AO_WriteChannel (ushort CardNumber, ushort Channel, short Value); - [DllImport("PCI-Dask.dll")] - public static extern short AO_VWriteChannel (ushort CardNumber, ushort Channel, double Voltage); - [DllImport("PCI-Dask.dll")] - public static extern short AO_VoltScale (ushort CardNumber, ushort Channel, double Voltage, out short binValue); - [DllImport("PCI-Dask.dll")] - public static extern short AO_SimuWriteChannel (ushort wCardNumber, ushort wGroup, short[] pwBuffer); - [DllImport("PCI-Dask.dll")] - public static extern short AO_SimuVWriteChannel (ushort wCardNumber, ushort wGroup, double[] VBuffer); -/*---------------------------------------------------------------------------*/ - [DllImport("PCI-Dask.dll")] - public static extern short DI_7200_Config (ushort CardNumber, ushort TrigSource, ushort ExtTrigEn, ushort TrigPol, ushort I_REQ_Pol); - [DllImport("PCI-Dask.dll")] - public static extern short DI_7300A_Config (ushort CardNumber, ushort PortWidth, ushort TrigSource, ushort WaitStatus, ushort Terminator, ushort I_REQ_Pol, bool clear_fifo, bool disable_di); - [DllImport("PCI-Dask.dll")] - public static extern short DI_7300B_Config (ushort CardNumber, ushort PortWidth, ushort TrigSource, ushort WaitStatus, ushort Terminator, ushort I_Cntrl_Pol, bool clear_fifo, bool disable_di); - [DllImport("PCI-Dask.dll")] - public static extern short DI_InitialMemoryAllocated (ushort CardNumber, out uint DmaSize); - [DllImport("PCI-Dask.dll")] - public static extern short DI_ReadLine (ushort CardNumber, ushort Port, ushort Line, out ushort State); - [DllImport("PCI-Dask.dll")] - public static extern short DI_ReadPort (ushort CardNumber, ushort Port, out uint Value); - [DllImport("PCI-Dask.dll")] - public static extern short DI_ContReadPort (ushort CardNumber, ushort Port, byte[] Buffer, - uint ReadCount, double SampleRate, ushort SyncMode); - [DllImport("PCI-Dask.dll")] - public static extern short DI_ContReadPort (ushort CardNumber, ushort Port, ushort[] Buffer, - uint ReadCount, double SampleRate, ushort SyncMode); - [DllImport("PCI-Dask.dll")] - public static extern short DI_ContReadPort(ushort CardNumber, ushort Port, uint[] Buffer, - uint ReadCount, double SampleRate, ushort SyncMode); - [DllImport("PCI-Dask.dll")] - public static extern short DI_ContReadPortToFile (ushort CardNumber, ushort Port, string FileName, - uint ReadCount, double SampleRate, ushort SyncMode); - [DllImport("PCI-Dask.dll")] - public static extern short DI_ContStatus (ushort CardNumber, out ushort Status); - [DllImport("PCI-Dask.dll")] - public static extern short DI_AsyncCheck (ushort CardNumber, out byte Stopped, out uint AccessCnt); - [DllImport("PCI-Dask.dll")] - public static extern short DI_AsyncClear (ushort CardNumber, out uint AccessCnt); - [DllImport("PCI-Dask.dll")] - public static extern short DI_AsyncDblBufferHalfReady(ushort CardNumber, out byte HalfReady); - [DllImport("PCI-Dask.dll")] - public static extern short DI_AsyncDblBufferMode (ushort CardNumber, bool Enable); - [DllImport("PCI-Dask.dll")] - public static extern short DI_AsyncDblBufferTransfer (ushort CardNumber, byte[] Buffer); - [DllImport("PCI-Dask.dll")] - public static extern short DI_AsyncDblBufferTransfer (ushort CardNumber, short[] Buffer); - [DllImport("PCI-Dask.dll")] - public static extern short DI_AsyncDblBufferTransfer(ushort CardNumber, uint[] Buffer); - [DllImport("PCI-Dask.dll")] - public static extern short DI_ContMultiBufferSetup (ushort wCardNumber, byte[] pwBuffer, uint dwReadCount, out ushort BufferId); - [DllImport("PCI-Dask.dll")] - public static extern short DI_ContMultiBufferSetup (ushort wCardNumber, short[] pwBuffer, uint dwReadCount, out ushort BufferId); - [DllImport("PCI-Dask.dll")] - public static extern short DI_ContMultiBufferSetup(ushort wCardNumber, uint[] pwBuffer, uint dwReadCount, out ushort BufferId); - [DllImport("PCI-Dask.dll")] - public static extern short DI_ContMultiBufferStart (ushort wCardNumber, ushort wPort, double fSampleRate); - [DllImport("PCI-Dask.dll")] - public static extern short DI_AsyncMultiBufferNextReady(ushort CardNumber, out byte bNextReady, out ushort wBufferId); - [DllImport("PCI-Dask.dll")] - public static extern short DI_AsyncDblBufferOverrun (ushort CardNumber, ushort op, out ushort overrunFlag); - [DllImport("PCI-Dask.dll")] - public static extern short DI_EventCallBack(ushort CardNumber, short mode, short EventType, MulticastDelegate callbackAddr); -/*---------------------------------------------------------------------------*/ - [DllImport("PCI-Dask.dll")] - public static extern short DO_7200_Config (ushort CardNumber, ushort TrigSource, ushort OutReqEn, ushort OutTrigSig); - [DllImport("PCI-Dask.dll")] - public static extern short DO_7300A_Config (ushort CardNumber, ushort PortWidth, ushort TrigSource, ushort WaitStatus, ushort Terminator, ushort O_REQ_Pol); - [DllImport("PCI-Dask.dll")] - public static extern short DO_7300B_Config (ushort CardNumber, ushort PortWidth, ushort TrigSource, ushort WaitStatus, ushort Terminator, ushort O_Cntrl_Pol, uint FifoThreshold); - [DllImport("PCI-Dask.dll")] - public static extern short DO_InitialMemoryAllocated (ushort CardNumber, out uint MemSize); - [DllImport("PCI-Dask.dll")] - public static extern short DO_WriteLine (ushort CardNumber, ushort Port, ushort Line, ushort Value); - [DllImport("PCI-Dask.dll")] - public static extern short DO_WritePort (ushort CardNumber, byte Port, uint Value); - [DllImport("PCI-Dask.dll")] - public static extern short DO_WritePort (ushort CardNumber, ushort Port, uint Value); - [DllImport("PCI-Dask.dll")] - public static extern short DO_WritePort(ushort CardNumber, uint Port, uint Value); - [DllImport("PCI-Dask.dll")] - public static extern short DO_WriteExtTrigLine (ushort CardNumber, ushort Value); - [DllImport("PCI-Dask.dll")] - public static extern short DO_ReadLine (ushort CardNumber, ushort Port, ushort Line, out ushort Value); - [DllImport("PCI-Dask.dll")] - public static extern short DO_ReadPort (ushort CardNumber, ushort Port, out uint Value); - [DllImport("PCI-Dask.dll")] - public static extern short DO_ContWritePort (ushort CardNumber, ushort Port, byte[] Buffer, - uint WriteCount, ushort Iterations, double SampleRate, ushort SyncMode); - [DllImport("PCI-Dask.dll")] - public static extern short DO_ContWritePort (ushort CardNumber, ushort Port, ushort[] Buffer, - uint WriteCount, ushort Iterations, double SampleRate, ushort SyncMode); - [DllImport("PCI-Dask.dll")] - public static extern short DO_ContWritePort (ushort CardNumber, ushort Port, uint[] Buffer, - uint WriteCount, ushort Iterations, double SampleRate, ushort SyncMode); - [DllImport("PCI-Dask.dll")] - public static extern short DO_PGStart (ushort CardNumber, byte[] Buffer, uint WriteCount, double SampleRate); - [DllImport("PCI-Dask.dll")] - public static extern short DO_PGStart (ushort CardNumber, short[] Buffer, uint WriteCount, double SampleRate); - [DllImport("PCI-Dask.dll")] - public static extern short DO_PGStart(ushort CardNumber, uint[] Buffer, uint WriteCount, double SampleRate); - [DllImport("PCI-Dask.dll")] - public static extern short DO_PGStop (ushort CardNumber); - [DllImport("PCI-Dask.dll")] - public static extern short DO_ContStatus (ushort CardNumber, out ushort Status); - [DllImport("PCI-Dask.dll")] - public static extern short DO_AsyncCheck(ushort CardNumber, out byte Stopped, out uint AccessCnt); - [DllImport("PCI-Dask.dll")] - public static extern short DO_AsyncClear (ushort CardNumber, out uint AccessCnt); - [DllImport("PCI-Dask.dll")] - public static extern short EDO_9111_Config (ushort CardNumber, ushort EDO_Fun); - [DllImport("PCI-Dask.dll")] - public static extern short DO_ContMultiBufferSetup (ushort CardNumber, byte[] pwBuffer, uint dwWriteCount, out ushort BufferId); - [DllImport("PCI-Dask.dll")] - public static extern short DO_ContMultiBufferSetup (ushort CardNumber, short[] pwBuffer, uint dwWriteCount, out ushort BufferId); - [DllImport("PCI-Dask.dll")] - public static extern short DO_ContMultiBufferSetup(ushort CardNumber, uint[] pwBuffer, uint dwWriteCount, out ushort BufferId); - [DllImport("PCI-Dask.dll")] - public static extern short DO_AsyncMultiBufferNextReady(ushort CardNumber, out byte bNextReady, out ushort wBufferId); - [DllImport("PCI-Dask.dll")] - public static extern short DO_ContMultiBufferStart (ushort wCardNumber, ushort wPort, double fSampleRate); - [DllImport("PCI-Dask.dll")] - public static extern short DO_EventCallBack(ushort CardNumber, short mode, short EventType, MulticastDelegate callbackAddr); -/*---------------------------------------------------------------------------*/ - [DllImport("PCI-Dask.dll")] - public static extern short DIO_PortConfig (ushort CardNumber, ushort Port, ushort Direction); - [DllImport("PCI-Dask.dll")] - public static extern short DIO_LinesConfig(ushort wCardNumber, ushort wPort, ushort wLinesdirmap); - [DllImport("PCI-Dask.dll")] - public static extern short DIO_LineConfig(ushort wCardNumber, ushort wPort, ushort wLine, ushort wDirection); - [DllImport("PCI-Dask.dll")] - public static extern short DIO_SetDualInterrupt (ushort CardNumber, short Int1Mode, short Int2Mode, long hEvent); - [DllImport("PCI-Dask.dll")] - public static extern short DIO_SetCOSInterrupt (ushort CardNumber, ushort Port, ushort ctlA, ushort ctlB, ushort ctlC); - [DllImport("PCI-Dask.dll")] - public static extern short DIO_INT1_EventMessage(ushort CardNumber, short Int1Mode, long windowHandle, long message, MulticastDelegate callbackAddr); - [DllImport("PCI-Dask.dll")] - public static extern short DIO_INT2_EventMessage(ushort CardNumber, short Int2Mode, long windowHandle, long message, MulticastDelegate callbackAddr); - [DllImport("PCI-Dask.dll")] - public static extern short DIO_7300SetInterrupt (ushort CardNumber, short AuxDIEn, short T2En, long hEvent); - [DllImport("PCI-Dask.dll")] - public static extern short DIO_AUXDI_EventMessage(ushort CardNumber, short AuxDIEn, long windowHandle, uint message, MulticastDelegate callbackAddr); - [DllImport("PCI-Dask.dll")] - public static extern short DIO_T2_EventMessage(ushort CardNumber, short T2En, long windowHandle, uint message, MulticastDelegate callbackAddr); - [DllImport("PCI-Dask.dll")] - public static extern short DIO_GetCOSLatchData(ushort wCardNumber, out ushort CosLData); - [DllImport("PCI-Dask.dll")] - public static extern short DIO_SetCOSInterrupt32(ushort wCardNumber, byte Port, uint ctl, out long hEvent, bool bManualReset); - [DllImport("PCI-Dask.dll")] - public static extern short DIO_GetCOSLatchDataInt32(ushort wCardNumber, byte Port, out uint CosLData); -/*---------------------------------------------------------------------------*/ - [DllImport("PCI-Dask.dll")] - public static extern short CTR_Setup (ushort CardNumber, ushort Ctr, ushort Mode, uint Count, ushort BinBcd); - [DllImport("PCI-Dask.dll")] - public static extern short CTR_Clear (ushort CardNumber, ushort Ctr, ushort State); - [DllImport("PCI-Dask.dll")] - public static extern short CTR_Read (ushort CardNumber, ushort Ctr, out uint Value); - [DllImport("PCI-Dask.dll")] - public static extern short CTR_Update (ushort CardNumber, ushort Ctr, uint Count); - [DllImport("PCI-Dask.dll")] - public static extern short CTR_8554_ClkSrc_Config (ushort CardNumber, ushort Ctr, ushort ClockSource); - [DllImport("PCI-Dask.dll")] - public static extern short CTR_8554_CK1_Config (ushort CardNumber, ushort ClockSource); - [DllImport("PCI-Dask.dll")] - public static extern short CTR_8554_Debounce_Config (ushort CardNumber, ushort DebounceClock); - [DllImport("PCI-Dask.dll")] - public static extern short GCTR_Setup (ushort wCardNumber, ushort wGCtr, ushort wGCtrCtrl,uint dwCount); - [DllImport("PCI-Dask.dll")] - public static extern short GCTR_Clear (ushort wCardNumber, ushort wGCtr); - [DllImport("PCI-Dask.dll")] - public static extern short GCTR_Read (ushort wCardNumber, ushort wGCtr, out uint pValue); - [DllImport("PCI-Dask.dll")] - public static extern short WDT_Setup (ushort CardNumber, ushort wCtr, float ovflowSec, out float actualSec, out long hEvent); - [DllImport("PCI-Dask.dll")] - public static extern short WDT_Control (ushort wCardNumber, ushort wCtr, ushort action); - [DllImport("PCI-Dask.dll")] - public static extern short WDT_Status (ushort wCardNumber, ushort Ctr, out uint pValue); - [DllImport("PCI-Dask.dll")] - public static extern short WDT_Reload(ushort wCardNumber, float ovflowSec, out float actualSec); -/*---------------------------------------------------------------------------*/ - [DllImport("PCI-Dask.dll")] - public static extern short AI_GetEvent(ushort wCardNumber, out long hEvent); - [DllImport("PCI-Dask.dll")] - public static extern short AO_GetEvent(ushort wCardNumber, out long hEvent); - [DllImport("PCI-Dask.dll")] - public static extern short DI_GetEvent(ushort wCardNumber, out long hEvent); - [DllImport("PCI-Dask.dll")] - public static extern short DO_GetEvent(ushort wCardNumber, out long hEvent); -/*---------------------------------------------------------------------------*/ - [DllImport("PCI-Dask.dll")] - public static extern short AI_GetView(ushort wCardNumber, uint[] pView); - [DllImport("PCI-Dask.dll")] - public static extern short DI_GetView(ushort wCardNumber, uint[] pView); - [DllImport("PCI-Dask.dll")] - public static extern short DO_GetView(ushort wCardNumber, uint[] pView); -/*---------------------------------------------------------------------------*/ - [DllImport("PCI-Dask.dll")] - public static extern short GetCardType (ushort wCardNumber, out ushort cardType); - [DllImport("PCI-Dask.dll")] - public static extern short GetCardIndexFromID (ushort wCardNumber, out ushort cardType, out ushort cardIndex); - [DllImport("PCI-Dask.dll")] - public static extern short GetBaseAddr(ushort wCardNumber, uint[] BaseAddr, uint[] BaseAddr2); - [DllImport("PCI-Dask.dll")] - public static extern short GetLCRAddr(ushort wCardNumber, uint[] LcrAddr); -} \ No newline at end of file diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/.NET/C#/7250/D7250_DIO/D7250_DIO/Form1.Designer.cs b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/.NET/C#/7250/D7250_DIO/D7250_DIO/Form1.Designer.cs deleted file mode 100644 index a951899..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/.NET/C#/7250/D7250_DIO/D7250_DIO/Form1.Designer.cs +++ /dev/null @@ -1,127 +0,0 @@ -namespace D7250_DIO -{ - partial class Form1 - { - /// - /// 設計工具所需的變數。 - /// - private System.ComponentModel.IContainer components = null; - - /// - /// 清除任何使用中的資源。 - /// - /// 如果應該公開 Managed 資源則為 true,否則為 false。 - protected override void Dispose(bool disposing) - { - if (disposing && (components != null)) - { - components.Dispose(); - } - base.Dispose(disposing); - } - - #region Windows Form 設計工具產生的程式碼 - - /// - /// 此為設計工具支援所需的方法 - 請勿使用程式碼編輯器修改這個方法的內容。 - /// - /// - private void InitializeComponent() - { - this.button2 = new System.Windows.Forms.Button(); - this.label2 = new System.Windows.Forms.Label(); - this.label1 = new System.Windows.Forms.Label(); - this.textBox2 = new System.Windows.Forms.TextBox(); - this.textBox1 = new System.Windows.Forms.TextBox(); - this.button1 = new System.Windows.Forms.Button(); - this.SuspendLayout(); - // - // button2 - // - this.button2.Location = new System.Drawing.Point(168, 80); - this.button2.Name = "button2"; - this.button2.Size = new System.Drawing.Size(100, 23); - this.button2.TabIndex = 11; - this.button2.Text = "Read From DI"; - this.button2.UseVisualStyleBackColor = true; - this.button2.Click += new System.EventHandler(this.button2_Click); - // - // label2 - // - this.label2.AutoSize = true; - this.label2.Location = new System.Drawing.Point(166, 21); - this.label2.Name = "label2"; - this.label2.Size = new System.Drawing.Size(20, 12); - this.label2.TabIndex = 10; - this.label2.Text = "DI:"; - this.label2.Click += new System.EventHandler(this.label2_Click); - // - // label1 - // - this.label1.AutoSize = true; - this.label1.Location = new System.Drawing.Point(22, 21); - this.label1.Name = "label1"; - this.label1.Size = new System.Drawing.Size(24, 12); - this.label1.TabIndex = 9; - this.label1.Text = "DO:"; - this.label1.Click += new System.EventHandler(this.label1_Click); - // - // textBox2 - // - this.textBox2.Location = new System.Drawing.Point(168, 36); - this.textBox2.Name = "textBox2"; - this.textBox2.Size = new System.Drawing.Size(100, 22); - this.textBox2.TabIndex = 8; - this.textBox2.TextAlign = System.Windows.Forms.HorizontalAlignment.Right; - this.textBox2.TextChanged += new System.EventHandler(this.textBox2_TextChanged); - // - // textBox1 - // - this.textBox1.Location = new System.Drawing.Point(22, 36); - this.textBox1.Name = "textBox1"; - this.textBox1.Size = new System.Drawing.Size(100, 22); - this.textBox1.TabIndex = 7; - this.textBox1.TextAlign = System.Windows.Forms.HorizontalAlignment.Right; - this.textBox1.TextChanged += new System.EventHandler(this.textBox1_TextChanged); - // - // button1 - // - this.button1.Location = new System.Drawing.Point(24, 80); - this.button1.Name = "button1"; - this.button1.Size = new System.Drawing.Size(98, 23); - this.button1.TabIndex = 6; - this.button1.Text = "Write To DO"; - this.button1.UseVisualStyleBackColor = true; - this.button1.Click += new System.EventHandler(this.button1_Click); - // - // Form1 - // - this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F); - this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; - this.ClientSize = new System.Drawing.Size(292, 137); - this.Controls.Add(this.button2); - this.Controls.Add(this.label2); - this.Controls.Add(this.label1); - this.Controls.Add(this.textBox2); - this.Controls.Add(this.textBox1); - this.Controls.Add(this.button1); - this.Name = "Form1"; - this.Text = "Form1"; - this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.Form1_FormClosing); - this.Load += new System.EventHandler(this.Form1_Load); - this.ResumeLayout(false); - this.PerformLayout(); - - } - - #endregion - - private System.Windows.Forms.Button button2; - private System.Windows.Forms.Label label2; - private System.Windows.Forms.Label label1; - private System.Windows.Forms.TextBox textBox2; - private System.Windows.Forms.TextBox textBox1; - private System.Windows.Forms.Button button1; - } -} - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/.NET/C#/7250/D7250_DIO/D7250_DIO/Form1.cs b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/.NET/C#/7250/D7250_DIO/D7250_DIO/Form1.cs deleted file mode 100644 index f6be7f9..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/.NET/C#/7250/D7250_DIO/D7250_DIO/Form1.cs +++ /dev/null @@ -1,89 +0,0 @@ -using System; -using System.Collections.Generic; -using System.ComponentModel; -using System.Data; -using System.Drawing; -using System.Text; -using System.Windows.Forms; - -namespace D7250_DIO -{ - public partial class Form1 : Form - { - public short m_dev; - public Form1() - { - InitializeComponent(); - } - - private void Form1_Load(object sender, EventArgs e) - { - m_dev = DASK.Register_Card(DASK.PCI_7250, 0); - if (m_dev < 0) - { - MessageBox.Show("Register_Card error!"); - - } - } - - private void Form1_FormClosing(object sender, FormClosingEventArgs e) - { - short ret; - if (m_dev >= 0) - { - ret = DASK.Release_Card((ushort)m_dev); - } - } - - private void button1_Click(object sender, EventArgs e) - { - short ret; - int out_value; - if (Int32.TryParse(textBox1.Text, out out_value)) - { - ret = DASK.DO_WritePort((ushort)m_dev, 0, (uint)out_value); - if (ret < 0) - { - MessageBox.Show("DO_WritePort error!"); - } - } - else - { - MessageBox.Show("Input error!"); - } - } - - private void button2_Click(object sender, EventArgs e) - { - short ret; - uint int_value; - ret = DASK.DI_ReadPort((ushort)m_dev, 0, out int_value); - if (ret < 0) - { - MessageBox.Show("D2K_DI_ReadPort error!"); - return; - } - textBox2.Text = String.Format("{0}", int_value); - } - - private void label2_Click(object sender, EventArgs e) - { - - } - - private void label1_Click(object sender, EventArgs e) - { - - } - - private void textBox2_TextChanged(object sender, EventArgs e) - { - - } - - private void textBox1_TextChanged(object sender, EventArgs e) - { - - } - } -} \ No newline at end of file diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/.NET/C#/7250/D7250_DIO/D7250_DIO/Form1.resx b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/.NET/C#/7250/D7250_DIO/D7250_DIO/Form1.resx deleted file mode 100644 index 19dc0dd..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/.NET/C#/7250/D7250_DIO/D7250_DIO/Form1.resx +++ /dev/null @@ -1,120 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - text/microsoft-resx - - - 2.0 - - - System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - \ No newline at end of file diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/.NET/C#/7250/D7250_DIO/D7250_DIO/Program.cs b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/.NET/C#/7250/D7250_DIO/D7250_DIO/Program.cs deleted file mode 100644 index 358945c..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/.NET/C#/7250/D7250_DIO/D7250_DIO/Program.cs +++ /dev/null @@ -1,20 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Windows.Forms; - -namespace D7250_DIO -{ - static class Program - { - /// - /// 應用程式的主要進入點。 - /// - [STAThread] - static void Main() - { - Application.EnableVisualStyles(); - Application.SetCompatibleTextRenderingDefault(false); - Application.Run(new Form1()); - } - } -} \ No newline at end of file diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/.NET/C#/7250/D7250_DIO/D7250_DIO/Properties/AssemblyInfo.cs b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/.NET/C#/7250/D7250_DIO/D7250_DIO/Properties/AssemblyInfo.cs deleted file mode 100644 index 99bfb15..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/.NET/C#/7250/D7250_DIO/D7250_DIO/Properties/AssemblyInfo.cs +++ /dev/null @@ -1,33 +0,0 @@ -using System.Reflection; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; - -// 組件的一般資訊是由下列的屬性集控制。 -// 變更這些屬性的值即可修改組件的相關 -// 資訊。 -[assembly: AssemblyTitle("D7250_DIO")] -[assembly: AssemblyDescription("")] -[assembly: AssemblyConfiguration("")] -[assembly: AssemblyCompany("ADLINK")] -[assembly: AssemblyProduct("D7250_DIO")] -[assembly: AssemblyCopyright("Copyright (C) ADLINK 2006")] -[assembly: AssemblyTrademark("")] -[assembly: AssemblyCulture("")] - -// 將 ComVisible 設定為 false 會使得這個組件中的型別 -// 對 COM 元件而言為不可見。如果您需要從 COM 存取這個組件中 -// 的型別,請在該型別上將 ComVisible 屬性設定為 true。 -[assembly: ComVisible(false)] - -// 下列 GUID 為專案公開 (Expose) 至 COM 時所要使用的 typelib ID -[assembly: Guid("66557528-c2f9-4c61-b148-6b17ae1e3032")] - -// 組件的版本資訊是由下列四項值構成: -// -// 主要版本 -// 次要版本 -// 組建編號 -// 修訂編號 -// -[assembly: AssemblyVersion("1.0.0.0")] -[assembly: AssemblyFileVersion("1.0.0.0")] diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/.NET/C#/7250/D7250_DIO/D7250_DIO/Properties/Resources.Designer.cs b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/.NET/C#/7250/D7250_DIO/D7250_DIO/Properties/Resources.Designer.cs deleted file mode 100644 index baae0c7..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/.NET/C#/7250/D7250_DIO/D7250_DIO/Properties/Resources.Designer.cs +++ /dev/null @@ -1,71 +0,0 @@ -//------------------------------------------------------------------------------ -// -// 這段程式碼是由工具產生的。 -// 執行階段版本:2.0.50727.42 -// -// 變更這個檔案可能會導致不正確的行為,而且如果已重新產生 -// 程式碼,這個檔案將會遺失。 -// -//------------------------------------------------------------------------------ - -namespace D7250_DIO.Properties -{ - - - /// - /// 用於查詢當地語系化字串等的強型別資源類別 - /// - // 這個類別是自動產生的,是利用 StronglyTypedResourceBuilder - // 類別透過 ResGen 或 Visual Studio 這類工具。 - // 若要加入或移除成員,請編輯您的 .ResX 檔,然後重新執行 ResGen - // (利用 /str 選項),或重建您的 VS 專案。 - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "2.0.0.0")] - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()] - internal class Resources - { - - private static global::System.Resources.ResourceManager resourceMan; - - private static global::System.Globalization.CultureInfo resourceCulture; - - [global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")] - internal Resources() - { - } - - /// - /// 傳回這個類別使用的快取的 ResourceManager 執行個體。 - /// - [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] - internal static global::System.Resources.ResourceManager ResourceManager - { - get - { - if ((resourceMan == null)) - { - global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("D7250_DIO.Properties.Resources", typeof(Resources).Assembly); - resourceMan = temp; - } - return resourceMan; - } - } - - /// - /// 覆寫目前執行緒的 CurrentUICulture 屬性,對象是所有 - /// 使用這個強型別資源類別的資源查閱。 - /// - [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] - internal static global::System.Globalization.CultureInfo Culture - { - get - { - return resourceCulture; - } - set - { - resourceCulture = value; - } - } - } -} diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/.NET/C#/7250/D7250_DIO/D7250_DIO/Properties/Resources.resx b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/.NET/C#/7250/D7250_DIO/D7250_DIO/Properties/Resources.resx deleted file mode 100644 index af7dbeb..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/.NET/C#/7250/D7250_DIO/D7250_DIO/Properties/Resources.resx +++ /dev/null @@ -1,117 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - text/microsoft-resx - - - 2.0 - - - System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - \ No newline at end of file diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/.NET/C#/7250/D7250_DIO/D7250_DIO/Properties/Settings.Designer.cs b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/.NET/C#/7250/D7250_DIO/D7250_DIO/Properties/Settings.Designer.cs deleted file mode 100644 index 12389b3..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/.NET/C#/7250/D7250_DIO/D7250_DIO/Properties/Settings.Designer.cs +++ /dev/null @@ -1,30 +0,0 @@ -//------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// Runtime Version:2.0.50727.42 -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -//------------------------------------------------------------------------------ - -namespace D7250_DIO.Properties -{ - - - [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "8.0.0.0")] - internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase - { - - private static Settings defaultInstance = ((Settings)(global::System.Configuration.ApplicationSettingsBase.Synchronized(new Settings()))); - - public static Settings Default - { - get - { - return defaultInstance; - } - } - } -} diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/.NET/C#/7250/D7250_DIO/D7250_DIO/Properties/Settings.settings b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/.NET/C#/7250/D7250_DIO/D7250_DIO/Properties/Settings.settings deleted file mode 100644 index 3964565..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/.NET/C#/7250/D7250_DIO/D7250_DIO/Properties/Settings.settings +++ /dev/null @@ -1,7 +0,0 @@ - - - - - - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/.NET/C#/7300/D7300_DI_Single_buffer_Sync/D7300_DI_Single_buffer_Sync.sln b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/.NET/C#/7300/D7300_DI_Single_buffer_Sync/D7300_DI_Single_buffer_Sync.sln deleted file mode 100644 index 68186eb..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/.NET/C#/7300/D7300_DI_Single_buffer_Sync/D7300_DI_Single_buffer_Sync.sln +++ /dev/null @@ -1,20 +0,0 @@ - -Microsoft Visual Studio Solution File, Format Version 9.00 -# Visual Studio 2005 -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "D7300_DI_Single_buffer_Sync", "D7300_DI_Single_buffer_Sync\D7300_DI_Single_buffer_Sync.csproj", "{EC5650E8-5DBA-459B-97B3-04436CF6BD86}" -EndProject -Global - GlobalSection(SolutionConfigurationPlatforms) = preSolution - Debug|Any CPU = Debug|Any CPU - Release|Any CPU = Release|Any CPU - EndGlobalSection - GlobalSection(ProjectConfigurationPlatforms) = postSolution - {EC5650E8-5DBA-459B-97B3-04436CF6BD86}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {EC5650E8-5DBA-459B-97B3-04436CF6BD86}.Debug|Any CPU.Build.0 = Debug|Any CPU - {EC5650E8-5DBA-459B-97B3-04436CF6BD86}.Release|Any CPU.ActiveCfg = Release|Any CPU - {EC5650E8-5DBA-459B-97B3-04436CF6BD86}.Release|Any CPU.Build.0 = Release|Any CPU - EndGlobalSection - GlobalSection(SolutionProperties) = preSolution - HideSolutionNode = FALSE - EndGlobalSection -EndGlobal diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/.NET/C#/7300/D7300_DI_Single_buffer_Sync/D7300_DI_Single_buffer_Sync/D7300_DI_Single_buffer_Sync.csproj b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/.NET/C#/7300/D7300_DI_Single_buffer_Sync/D7300_DI_Single_buffer_Sync/D7300_DI_Single_buffer_Sync.csproj deleted file mode 100644 index b483513..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/.NET/C#/7300/D7300_DI_Single_buffer_Sync/D7300_DI_Single_buffer_Sync/D7300_DI_Single_buffer_Sync.csproj +++ /dev/null @@ -1,81 +0,0 @@ - - - Debug - AnyCPU - 8.0.50727 - 2.0 - {EC5650E8-5DBA-459B-97B3-04436CF6BD86} - WinExe - Properties - D7300_DI_Single_buffer_Sync - D7300_DI_Single_buffer_Sync - - - true - full - false - bin\Debug\ - DEBUG;TRACE - prompt - 4 - x86 - - - pdbonly - true - bin\Release\ - TRACE - prompt - 4 - x86 - - - - - - - - - - - - - Form - - - Form1.cs - - - - - Designer - Form1.cs - - - ResXFileCodeGenerator - Resources.Designer.cs - Designer - - - True - Resources.resx - - - SettingsSingleFileGenerator - Settings.Designer.cs - - - True - Settings.settings - True - - - - - \ No newline at end of file diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/.NET/C#/7300/D7300_DI_Single_buffer_Sync/D7300_DI_Single_buffer_Sync/Dask.cs b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/.NET/C#/7300/D7300_DI_Single_buffer_Sync/D7300_DI_Single_buffer_Sync/Dask.cs deleted file mode 100644 index 3947ef9..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/.NET/C#/7300/D7300_DI_Single_buffer_Sync/D7300_DI_Single_buffer_Sync/Dask.cs +++ /dev/null @@ -1,800 +0,0 @@ -using System.Runtime.InteropServices; -using System; - -public delegate void CallbackDelegate(); - -public class DASK -{ - //ADLink PCI Card Type - public const ushort PCI_6208V =1; - public const ushort PCI_6208A =2; - public const ushort PCI_6308V =3; - public const ushort PCI_6308A =4; - public const ushort PCI_7200 =5; - public const ushort PCI_7230 =6; - public const ushort PCI_7233 =7; - public const ushort PCI_7234 =8; - public const ushort PCI_7248 =9; - public const ushort PCI_7249 =10; - public const ushort PCI_7250 =11; - public const ushort PCI_7252 =12; - public const ushort PCI_7296 =13; - public const ushort PCI_7300A_RevA =14; - public const ushort PCI_7300A_RevB =15; - public const ushort PCI_7432 =16; - public const ushort PCI_7433 =17; - public const ushort PCI_7434 =18; - public const ushort PCI_8554 =19; - public const ushort PCI_9111DG =20; - public const ushort PCI_9111HR =21; - public const ushort PCI_9112 =22; - public const ushort PCI_9113 =23; - public const ushort PCI_9114DG =24; - public const ushort PCI_9114HG =25; - public const ushort PCI_9118DG =26; - public const ushort PCI_9118HG =27; - public const ushort PCI_9118HR =28; - public const ushort PCI_9810 =29; - public const ushort PCI_9812 =30; - public const ushort PCI_7396 =31; - public const ushort PCI_9116 =32; - public const ushort PCI_7256 =33; - public const ushort PCI_7258 =34; - public const ushort PCI_7260 =35; - public const ushort PCI_7452 =36; - public const ushort PCI_7442 =37; - - public const ushort MAX_CARD =32; - -//Error Number - public const short NoError =0; - public const short ErrorUnknownCardType =-1; - public const short ErrorInvalidCardNumber =-2; - public const short ErrorTooManyCardRegistered =-3; - public const short ErrorCardNotRegistered =-4; - public const short ErrorFuncNotSupport =-5; - public const short ErrorInvalidIoChannel =-6; - public const short ErrorInvalidAdRange =-7; - public const short ErrorContIoNotAllowed =-8; - public const short ErrorDiffRangeNotSupport =-9; - public const short ErrorLastChannelNotZero =-10; - public const short ErrorChannelNotDescending =-11; - public const short ErrorChannelNotAscending =-12; - public const short ErrorOpenDriverFailed =-13; - public const short ErrorOpenEventFailed =-14; - public const short ErrorTransferCountTooLarge =-15; - public const short ErrorNotDoubleBufferMode =-16; - public const short ErrorInvalidSampleRate =-17; - public const short ErrorInvalidCounterMode =-18; - public const short ErrorInvalidCounter =-19; - public const short ErrorInvalidCounterState =-20; - public const short ErrorInvalidBinBcdParam =-21; - public const short ErrorBadCardType =-22; - public const short ErrorInvalidDaRefVoltage =-23; - public const short ErrorAdTimeOut =-24; - public const short ErrorNoAsyncAI =-25; - public const short ErrorNoAsyncAO =-26; - public const short ErrorNoAsyncDI =-27; - public const short ErrorNoAsyncDO =-28; - public const short ErrorNotInputPort =-29; - public const short ErrorNotOutputPort =-30; - public const short ErrorInvalidDioPort =-31; - public const short ErrorInvalidDioLine =-32; - public const short ErrorContIoActive =-33; - public const short ErrorDblBufModeNotAllowed =-34; - public const short ErrorConfigFailed =-35; - public const short ErrorInvalidPortDirection =-36; - public const short ErrorBeginThreadError =-37; - public const short ErrorInvalidPortWidth =-38; - public const short ErrorInvalidCtrSource =-39; - public const short ErrorOpenFile =-40; - public const short ErrorAllocateMemory =-41; - public const short ErrorDaVoltageOutOfRange =-42; - public const short ErrorDaExtRefNotAllowed =-43; - public const short ErrorDIODataWidthError =-44; - public const short ErrorTaskCodeError =-45; - public const short ErrortriggercountError =-46; - public const short ErrorInvalidTriggerMode =-47; - public const short ErrorInvalidTriggerType =-48; - public const short ErrorInvalidCounterValue =-50; - public const short ErrorInvalidEventHandle =-60; - public const short ErrorNoMessageAvailable =-61; - public const short ErrorEventMessgaeNotAdded =-62; -//Error number for driver API - public const short ErrorConfigIoctl =-201; - public const short ErrorAsyncSetIoctl =-202; - public const short ErrorDBSetIoctl =-203; - public const short ErrorDBHalfReadyIoctl =-204; - public const short ErrorContOPIoctl =-205; - public const short ErrorContStatusIoctl =-206; - public const short ErrorPIOIoctl =-207; - public const short ErrorDIntSetIoctl =-208; - public const short ErrorWaitEvtIoctl =-209; - public const short ErrorOpenEvtIoctl =-210; - public const short ErrorCOSIntSetIoctl =-211; - public const short ErrorMemMapIoctl =-212; - public const short ErrorMemUMapSetIoctl =-213; - public const short ErrorCTRIoctl =-214; - public const short ErrorGetResIoctl =-215; - -//Synchronous Mode - public const ushort SYNCH_OP =1; - public const ushort ASYNCH_OP =2; - -//AD Range - public const ushort AD_B_10_V =1; - public const ushort AD_B_5_V =2; - public const ushort AD_B_2_5_V =3; - public const ushort AD_B_1_25_V =4; - public const ushort AD_B_0_625_V =5; - public const ushort AD_B_0_3125_V =6; - public const ushort AD_B_0_5_V =7; - public const ushort AD_B_0_05_V =8; - public const ushort AD_B_0_005_V =9; - public const ushort AD_B_1_V =10; - public const ushort AD_B_0_1_V =11; - public const ushort AD_B_0_01_V =12; - public const ushort AD_B_0_001_V =13; - public const ushort AD_U_20_V =14; - public const ushort AD_U_10_V =15; - public const ushort AD_U_5_V =16; - public const ushort AD_U_2_5_V =17; - public const ushort AD_U_1_25_V =18; - public const ushort AD_U_1_V =19; - public const ushort AD_U_0_1_V =20; - public const ushort AD_U_0_01_V =21; - public const ushort AD_U_0_001_V =22; - -//Clock Mode - public const ushort TRIG_SOFTWARE =0; - public const ushort TRIG_INT_PACER =1; - public const ushort TRIG_EXT_STROBE =2; - public const ushort TRIG_HANDSHAKE =3; - public const ushort TRIG_CLK_10MHZ =4; //PCI-7300A - public const ushort TRIG_CLK_20MHZ =5; //PCI-7300A - public const ushort TRIG_DO_CLK_TIMER_ACK =6; //PCI-7300A Rev. B - public const ushort TRIG_DO_CLK_10M_ACK =7; //PCI-7300A Rev. B - public const ushort TRIG_DO_CLK_20M_ACK =8; //PCI-7300A Rev. B -//Virtual Sampling Rate for using external clock as the clock source - public const double CLKSRC_EXT_SampRate =10000; - -//-------- Constants for PCI-6208A/PCI-6308A/PCI-6308V ------------------- -//Output Mode - public const ushort P6208_CURRENT_0_20MA =0; - public const ushort P6208_CURRENT_4_20MA =3; - public const ushort P6208_CURRENT_5_25MA =1; - public const ushort P6308_CURRENT_0_20MA =0; - public const ushort P6308_CURRENT_4_20MA =3; - public const ushort P6308_CURRENT_5_25MA =1; -//AO Setting - public const ushort P6308V_AO_CH0_3 =0; - public const ushort P6308V_AO_CH4_7 =1; - public const ushort P6308V_AO_UNIPOLAR =0; - public const ushort P6308V_AO_BIPOLAR =1; -//-------- Constants for PCI-7200 -------------------- -//InputMode - public const ushort DI_WAITING =0x02; - public const ushort DI_NOWAITING =0x00; - - public const ushort DI_TRIG_RISING =0x04; - public const ushort DI_TRIG_FALLING =0x00; - - public const ushort IREQ_RISING =0x08; - public const ushort IREQ_FALLING =0x00; - -//Output Mode - public const ushort OREQ_ENABLE =0x10; - public const ushort OREQ_DISABLE =0x00; - - public const ushort OTRIG_HIGH =0x20; - public const ushort OTRIG_LOW =0x00; - -//-------- Constants for PCI-7248/7296/7396/7442 --------------- -//DIO Port Direction - public const ushort INPUT_PORT = 1; - public const ushort OUTPUT_PORT = 2; -//DIO Line Direction - public const ushort INPUT_LINE = 1; - public const ushort OUTPUT_LINE = 2; - -//Channel & Port - public const ushort Channel_P1A =0; - public const ushort Channel_P1B =1; - public const ushort Channel_P1C =2; - public const ushort Channel_P1CL =3; - public const ushort Channel_P1CH =4; - public const ushort Channel_P1AE =10; - public const ushort Channel_P1BE =11; - public const ushort Channel_P1CE =12; - public const ushort Channel_P2A =5; - public const ushort Channel_P2B =6; - public const ushort Channel_P2C =7; - public const ushort Channel_P2CL =8; - public const ushort Channel_P2CH =9; - public const ushort Channel_P2AE =15; - public const ushort Channel_P2BE =16; - public const ushort Channel_P2CE =17; - public const ushort Channel_P3A =10; - public const ushort Channel_P3B =11; - public const ushort Channel_P3C =12; - public const ushort Channel_P3CL =13; - public const ushort Channel_P3CH =14; - public const ushort Channel_P4A =15; - public const ushort Channel_P4B =16; - public const ushort Channel_P4C =17; - public const ushort Channel_P4CL =18; - public const ushort Channel_P4CH =19; - public const ushort Channel_P5A =20; - public const ushort Channel_P5B =21; - public const ushort Channel_P5C =22; - public const ushort Channel_P5CL =23; - public const ushort Channel_P5CH =24; - public const ushort Channel_P6A =25; - public const ushort Channel_P6B =26; - public const ushort Channel_P6C =27; - public const ushort Channel_P6CL =28; - public const ushort Channel_P6CH =29; -//the following are used for PCI7396 - public const ushort Channel_P1 =30; - public const ushort Channel_P2 =31; - public const ushort Channel_P3 =32; - public const ushort Channel_P4 =33; - public const ushort Channel_P1E =34; //only used by DIO_PortConfig function - public const ushort Channel_P2E =35; //only used by DIO_PortConfig function - public const ushort Channel_P3E =36; //only used by DIO_PortConfig function - public const ushort Channel_P4E =37; //only used by DIO_PortConfig function -//7442 - public const ushort P7442_CH0 = 0; - public const ushort P7442_CH1 = 1; - public const ushort P7442_TTL0 = 2; - public const ushort P7442_TTL1 = 3; -//-------- Constants for PCI-7300A ------------------- -//Wait Status - public const ushort P7300_WAIT_NO =0; - public const ushort P7300_WAIT_TRG =1; - public const ushort P7300_WAIT_FIFO =2; - public const ushort P7300_WAIT_BOTH =3; - -//Terminator control - public const ushort P7300_TERM_OFF =0; - public const ushort P7300_TERM_ON =1; - -//DI control signals polarity for PCI-7300A Rev. B - public const ushort P7300_DIREQ_POS =0x00000000; - public const ushort P7300_DIREQ_NEG =0x00000001; - public const ushort P7300_DIACK_POS =0x00000000; - public const ushort P7300_DIACK_NEG =0x00000002; - public const ushort P7300_DITRIG_POS =0x00000000; - public const ushort P7300_DITRIG_NEG =0x00000004; - -//DO control signals polarity for PCI-7300A Rev. B - public const ushort P7300_DOREQ_POS =0x00000000; - public const ushort P7300_DOREQ_NEG =0x00000008; - public const ushort P7300_DOACK_POS =0x00000000; - public const ushort P7300_DOACK_NEG =0x00000010; - public const ushort P7300_DOTRIG_POS =0x00000000; - public const ushort P7300_DOTRIG_NEG =0x00000020; -//-------- Constants for PCI-7432/7433/7434 --------------- - public const ushort PORT_DI_LOW =0; - public const ushort PORT_DI_HIGH =1; - public const ushort PORT_DO_LOW =0; - public const ushort PORT_DO_HIGH =1; - public const ushort P7432R_DO_LED =1; - public const ushort P7433R_DO_LED =0; - public const ushort P7434R_DO_LED =2; - public const ushort P7432R_DI_SLOT =1; - public const ushort P7433R_DI_SLOT =2; - public const ushort P7434R_DI_SLOT =0; -//-- Dual-Interrupt Source control for PCI-7248/96 & 7432/33 & 7230 & 8554 & 7396 &7256 &7260 --- - public const short INT1_DISABLE =-1; //INT1 Disabled - public const short INT1_COS =0; //INT1 COS : only available for PCI-7396, PCI-7256, PCI-7260 - public const short INT1_FP1C0 =1; //INT1 by Falling edge of P1C0 : only available for PCI7248/96/7396 - public const short INT1_RP1C0_FP1C3 =2; //INT1 by P1C0 Rising or P1C3 Falling : only available for PCI7248/96/7396 - public const short INT1_EVENT_COUNTER =3; //INT1 by Event Counter down to zero : only available for PCI7248/96/7396 - public const short INT1_EXT_SIGNAL =1; //INT1 by external signal : only available for PCI7432/7433/7230/8554 - public const short INT1_COUT12 =1; //INT1 COUT12 : only available for PCI8554 - public const short INT1_CH0 =1; //INT1 CH0 : only available for PCI7256, PCI7260 - public const short INT1_COS0 =1; //INT1 COS0 : only available for PCI-7452/PCI-7442 - public const short INT1_COS1 =2; //INT1 COS1 : only available for PCI-7452/PCI-7442 - public const short INT1_COS2 =4; //INT1 COS2 : only available for PCI-7452/PCI-7442 - public const short INT1_COS3 =8; //INT1 COS3 : only available for PCI-7452/PCI-7442 - public const short INT2_DISABLE =-1; //INT2 Disabled - public const short INT2_COS =0; //INT2 COS : only available for PCI-7396 - public const short INT2_FP2C0 =1; //INT2 by Falling edge of P2C0 : only available for PCI7248/96/7396 - public const short INT2_RP2C0_FP2C3 =2; //INT2 by P2C0 Rising or P2C3 Falling : only available for PCI7248/96/7396 - public const short INT2_TIMER_COUNTER =3; //INT2 by Timer Counter down to zero : only available for PCI7248/96/7396 - public const short INT2_EXT_SIGNAL =1; //INT2 by external signal : only available for PCI7432/7433/7230/8554 - public const short INT2_CH1 =2; //INT2 CH1 : only available for PCI7256, PCI7260 - public const short INT2_WDT =4; //INT2 by WDT - - public const ushort ManualResetIEvt =0x4000;//interrupt event is manually reset by user - public const ushort WDT_OVRFLOW_SAFETYOUT =0x8000;// enable safteyout while WDT overflow -//-------- Constants for PCI-8554 -------------------- -//Clock Source of Cunter N - public const ushort ECKN =0; - public const ushort COUTN_1 =1; - public const ushort CK1 =2; - public const ushort COUT10 =3; - -//Clock Source of CK1 - public const ushort CK1_C8M =0; - public const ushort CK1_COUT11 =1; - -//Debounce Clock - public const ushort DBCLK_COUT11 =0; - public const ushort DBCLK_2MHZ =1; - -//-------- Constants for PCI-9111 -------------------- -//Dual Interrupt Mode - public const ushort P9111_INT1_EOC =0; //Ending of AD conversion - public const ushort P9111_INT1_FIFO_HF =1; //FIFO Half Full - public const ushort P9111_INT2_PACER =0; //Every Timer tick - public const ushort P9111_INT2_EXT_TRG =1; //ExtTrig High->Low - -//Channel Count - public const ushort P9111_CHANNEL_DO =0; - public const ushort P9111_CHANNEL_EDO =1; - public const ushort P9111_CHANNEL_DI =0; - public const ushort P9111_CHANNEL_EDI =1; - -//EDO function - public const ushort P9111_EDO_INPUT =1; //EDO port set as Input port - public const ushort P9111_EDO_OUT_EDO =2; //EDO port set as Output port - public const ushort P9111_EDO_OUT_CHN =3; //EDO port set as channel number ouput port - -//Trigger Mode - public const ushort P9111_TRGMOD_SOFT =0x00; //Software Trigger Mode - public const ushort P9111_TRGMOD_PRE =0x01; //Pre-Trigger Mode - public const ushort P9111_TRGMOD_POST =0x02; //Post Trigger Mode - -//AO Setting - public const ushort P9111_AO_UNIPOLAR =0; - public const ushort P9111_AO_BIPOLAR =1; - -//-------- Constants for PCI-9118 -------------------- - public const ushort P9118_AI_BiPolar =0x00; - public const ushort P9118_AI_UniPolar =0x01; - - public const ushort P9118_AI_SingEnded =0x00; - public const ushort P9118_AI_Differential =0x02; - - public const ushort P9118_AI_ExtG =0x04; - - public const ushort P9118_AI_ExtTrig =0x08; - - public const ushort P9118_AI_DtrgNegative =0x00; - public const ushort P9118_AI_DtrgPositive =0x10; - - public const ushort P9118_AI_EtrgNegative =0x00; - public const ushort P9118_AI_EtrgPositive =0x20; - - public const ushort P9118_AI_BurstModeEn =0x40; - public const ushort P9118_AI_SampleHold =0x80; - public const ushort P9118_AI_PostTrgEn =0x100; - public const ushort P9118_AI_AboutTrgEn =0x200; - -//-------- Constants for PCI-9116 -------------------- - public const ushort P9116_AI_LocalGND =0x00; - public const ushort P9116_AI_UserCMMD =0x01; - public const ushort P9116_AI_SingEnded =0x00; - public const ushort P9116_AI_Differential =0x02; - public const ushort P9116_AI_BiPolar =0x00; - public const ushort P9116_AI_UniPolar =0x04; - - public const ushort P9116_TRGMOD_SOFT =0x00; //Software Trigger Mode - public const ushort P9116_TRGMOD_POST =0x10; //Post Trigger Mode - public const ushort P9116_TRGMOD_DELAY =0x20; //Delay Trigger Mode - public const ushort P9116_TRGMOD_PRE =0x30; //Pre-Trigger Mode - public const ushort P9116_TRGMOD_MIDL =0x40; //Middle Trigger Mode - public const ushort P9116_AI_TrgPositive =0x00; - public const ushort P9116_AI_TrgNegative =0x80; - public const ushort P9116_AI_ExtTimeBase =0x100; - public const ushort P9116_AI_IntTimeBase =0x000; - public const ushort P9116_AI_DlyInSamples =0x200; - public const ushort P9116_AI_DlyInTimebase =0x000; - public const ushort P9116_AI_ReTrigEn =0x400; - public const ushort P9116_AI_MCounterEn =0x800; - public const ushort P9116_AI_SoftPolling =0x0000; - public const ushort P9116_AI_INT =0x1000; - public const ushort P9116_AI_DMA =0x2000; - -//-------- Constants for PCI-9812 -------------------- -//Trigger Mode - public const ushort P9812_TRGMOD_SOFT =0x00; //Software Trigger Mode - public const ushort P9812_TRGMOD_POST =0x01; //Post Trigger Mode - public const ushort P9812_TRGMOD_PRE =0x02; //Pre-Trigger Mode - public const ushort P9812_TRGMOD_DELAY =0x03; //Delay Trigger Mode - public const ushort P9812_TRGMOD_MIDL =0x04; //Middle Trigger Mode - - public const ushort P9812_AIEvent_Manual =0x08; //Middle Trigger Mode - - //Trigger Source - public const ushort P9812_TRGSRC_CH0 =0x00; //trigger source --CH0 - public const ushort P9812_TRGSRC_CH1 =0x08; //trigger source --CH1 - public const ushort P9812_TRGSRC_CH2 =0x10; //trigger source --CH2 - public const ushort P9812_TRGSRC_CH3 =0x18; //trigger source --CH3 - public const ushort P9812_TRGSRC_EXT_DIG =0x20; //External Digital Trigger - -//Trigger Polarity - public const ushort P9812_TRGSLP_POS =0x00; //Positive slope trigger - public const ushort P9812_TRGSLP_NEG =0x40; //Negative slope trigger - -//Frequency Selection - public const ushort P9812_AD2_GT_PCI =0x80; //Freq. of A/D clock > PCI clock freq. - public const ushort P9812_AD2_LT_PCI =0x00; //Freq. of A/D clock < PCI clock freq. - -//Clock Source - public const ushort P9812_CLKSRC_INT =0x000; //Internal clock - public const ushort P9812_CLKSRC_EXT_SIN =0x100; //External SIN wave clock - public const ushort P9812_CLKSRC_EXT_DIG =0x200; //External Square wave clock - -//EMG shdn ctrl code - public const ushort EMGSHDN_OFF =0; //off - public const ushort EMGSHDN_ON =1; //on - public const ushort EMGSHDN_RECOVERY =2; //recovery - -//Hot Reset Hold ctrl code - public const ushort HRH_OFF =0; //off - public const ushort HRH_ON =1; //on - -//-------- Timer/Counter ----------------------------- -//Counter Mode (8254) - public const ushort TOGGLE_OUTPUT =0; //Toggle output from low to high on terminal count - public const ushort PROG_ONE_SHOT =1; //Programmable one-shot - public const ushort RATE_GENERATOR =2; //Rate generator - public const ushort SQ_WAVE_RATE_GENERATOR =3; //Square wave rate generator - public const ushort SOFT_TRIG =4; //Software-triggered strobe - public const ushort HARD_TRIG =5; //Hardware-triggered strobe - -//General Purpose Timer/Counter -//Counter Mode - public const ushort General_Counter =0x00; //general counter - public const ushort Pulse_Generation =0x01; //pulse generation -//GPTC clock source - public const ushort GPTC_CLKSRC_EXT =0x08; - public const ushort GPTC_CLKSRC_INT =0x00; - public const ushort GPTC_GATESRC_EXT =0x10; - public const ushort GPTC_GATESRC_INT =0x00; - public const ushort GPTC_UPDOWN_SELECT_EXT =0x20; - public const ushort GPTC_UPDOWN_SELECT_SOFT =0x00; - public const ushort GPTC_UP_CTR =0x40; - public const ushort GPTC_DOWN_CTR =0x00; - public const ushort GPTC_ENABLE =0x80; - public const ushort GPTC_DISABLE =0x00; - -//Watchdog Timer -//Counter action - public const ushort WDT_DISARM =0; - public const ushort WDT_ARM =1; - public const ushort WDT_RESTART =2; - -//Pattern ID - public const ushort INIT_PTN =0; - public const ushort EMGSHDN_PTN =1; - -//16-bit binary or 4-decade BCD counter - public const ushort BIN =0; - public const ushort BCD =1; - -//Pattern ID for 7442 - public const ushort INIT_PTN_CH0 = 0; - public const ushort INIT_PTN_CH1 =1; - public const ushort SAFTOUT_PTN_CH0 =4; - public const ushort SAFTOUT_PTN_CH1 =5; - -//DAQ Event type for the event message - public const ushort AIEnd =0; - public const ushort DIEnd =0; - public const ushort DOEnd =0; - public const ushort DBEvent =1; - - public const ushort RegBySlot=0x8000; - -/*------------------------------------------------------------------ -** PCIS-DASK Function prototype -------------------------------------------------------------------*/ - [DllImport("PCI-Dask.dll")] - public static extern short Register_Card (ushort CardType, ushort card_num); - [DllImport("PCI-Dask.dll")] - public static extern short Release_Card (ushort CardNumber); - [DllImport("PCI-Dask.dll")] - public static extern short GetActualRate (ushort CardNumber, double fSampleRate, out double fActualRate); - [DllImport("PCI-Dask.dll")] - public static extern short EMGShutDownControl (ushort CardNumber, byte ctrl); - [DllImport("PCI-Dask.dll")] - public static extern short EMGShutDownStatus (ushort CardNumber, out byte sts); - [DllImport("PCI-Dask.dll")] - public static extern short HotResetHoldControl(ushort wCardNumber, byte enable); - [DllImport("PCI-Dask.dll")] - public static extern short HotResetHoldStatus(ushort wCardNumber, out byte sts); - [DllImport("PCI-Dask.dll")] - public static extern short GetInitPattern (ushort CardNumber, byte patID, out uint pattern); - [DllImport("PCI-Dask.dll")] - public static extern short SetInitPattern(ushort wCardNumber, byte patID, uint pattern); - [DllImport("PCI-Dask.dll")] - public static extern short IdentifyLED_Control (ushort CardNumber, byte ctrl); -/*---------------------------------------------------------------------------*/ - [DllImport("PCI-Dask.dll")] - public static extern short AI_9111_Config (ushort CardNumber, ushort TrigSource, ushort TrgMode, ushort TraceCnt); - [DllImport("PCI-Dask.dll")] - public static extern short AI_9112_Config (ushort CardNumber, ushort TrigSource); - [DllImport("PCI-Dask.dll")] - public static extern short AI_9113_Config (ushort CardNumber, ushort TrigSource); - [DllImport("PCI-Dask.dll")] - public static extern short AI_9114_Config (ushort CardNumber, ushort TrigSource); - [DllImport("PCI-Dask.dll")] - public static extern short AI_9116_Config (ushort CardNumber, ushort ConfigCtrl, ushort TrigCtrl, ushort PostCnt, ushort MCnt, ushort ReTrgCnt); - [DllImport("PCI-Dask.dll")] - public static extern short AI_9118_Config (ushort CardNumber, ushort ModeCtrl, ushort FunCtrl, ushort BurstCnt, ushort PostCnt); - [DllImport("PCI-Dask.dll")] - public static extern short AI_9812_Config (ushort CardNumber, ushort TrgMode, ushort TrgSrc, ushort TrgPol, ushort ClkSel, ushort TrgLevel, ushort PostCnt); - [DllImport("PCI-Dask.dll")] - public static extern short AI_9812_SetDiv (ushort wCardNumber, uint PacerVal); - [DllImport("PCI-Dask.dll")] - public static extern short AI_9114_PreTrigConfig (ushort CardNumber, ushort PreTrgEn, ushort TraceCnt); - [DllImport("PCI-Dask.dll")] - public static extern short AI_9116_CounterInterval (ushort wCardNumber, uint ScanIntrv, uint SampIntrv); - [DllImport("PCI-Dask.dll")] - public static extern short AI_InitialMemoryAllocated (ushort CardNumber, out uint MemSize); - [DllImport("PCI-Dask.dll")] - public static extern short AI_ReadChannel (ushort CardNumber, ushort Channel, ushort AdRange, out ushort Value); - [DllImport("PCI-Dask.dll")] - public static extern short AI_VReadChannel (ushort CardNumber, ushort Channel, ushort AdRange, out double voltage); - [DllImport("PCI-Dask.dll")] - public static extern short AI_VoltScale (ushort CardNumber, ushort AdRange, ushort reading, out double voltage); - [DllImport("PCI-Dask.dll")] - public static extern short AI_ContReadChannel (ushort CardNumber, ushort Channel, ushort AdRange, - ushort[] Buffer, uint ReadCount, double SampleRate, ushort SyncMode); - [DllImport("PCI-Dask.dll")] - public static extern short AI_ContReadMultiChannels (ushort CardNumber, ushort NumChans, ushort[] Chans, - ushort[] AdRanges, ushort[] Buffer, uint ReadCount, - double SampleRate, ushort SyncMode); - [DllImport("PCI-Dask.dll")] - public static extern short AI_ContScanChannels (ushort CardNumber, ushort Channel, ushort AdRange, - ushort[] Buffer, uint ReadCount, double SampleRate, ushort SyncMode); - [DllImport("PCI-Dask.dll")] - public static extern short AI_ContReadChannelToFile (ushort CardNumber, ushort Channel, ushort AdRange, - string FileName, uint ReadCount, double SampleRate, ushort SyncMode); - [DllImport("PCI-Dask.dll")] - public static extern short AI_ContReadMultiChannelsToFile (ushort CardNumber, ushort NumChans, ushort[] Chans, - ushort[] AdRanges, string[] FileName, uint ReadCount, - double SampleRate, ushort SyncMode); - [DllImport("PCI-Dask.dll")] - public static extern short AI_ContScanChannelsToFile (ushort CardNumber, ushort Channel, ushort AdRange, - string FileName, uint ReadCount, double SampleRate, ushort SyncMode); - [DllImport("PCI-Dask.dll")] - public static extern short AI_ContStatus (ushort CardNumber, out ushort Status); - [DllImport("PCI-Dask.dll")] - public static extern short AI_ContVScale (ushort wCardNumber, ushort adRange, ushort[] readingArray, double[] voltageArray, int count); - [DllImport("PCI-Dask.dll")] - public static extern short AI_AsyncCheck(ushort CardNumber, out byte Stopped, out uint AccessCnt); - [DllImport("PCI-Dask.dll")] - public static extern short AI_AsyncClear (ushort CardNumber, out uint AccessCnt); - [DllImport("PCI-Dask.dll")] - public static extern short AI_AsyncDblBufferHalfReady(ushort CardNumber, out byte HalfReady, out byte StopFlag); - [DllImport("PCI-Dask.dll")] - public static extern short AI_AsyncDblBufferMode (ushort CardNumber, bool Enable); - [DllImport("PCI-Dask.dll")] - public static extern short AI_AsyncDblBufferTransfer (ushort CardNumber, ushort[] Buffer); - [DllImport("PCI-Dask.dll")] - public static extern short AI_AsyncDblBufferOverrun (ushort CardNumber, ushort op, out ushort overrunFlag); - [DllImport("PCI-Dask.dll")] - public static extern short AI_EventCallBack(ushort CardNumber, ushort mode, ushort EventType, MulticastDelegate callbackAddr); -/*---------------------------------------------------------------------------*/ - [DllImport("PCI-Dask.dll")] - public static extern short AO_6208A_Config (ushort CardNumber, ushort V2AMode); - [DllImport("PCI-Dask.dll")] - public static extern short AO_6308A_Config (ushort CardNumber, ushort V2AMode); - [DllImport("PCI-Dask.dll")] - public static extern short AO_6308V_Config (ushort wCardNumber, ushort Channel, ushort wOutputPolarity, double refVoltage); - [DllImport("PCI-Dask.dll")] - public static extern short AO_9111_Config (ushort CardNumber, ushort OutputPolarity); - [DllImport("PCI-Dask.dll")] - public static extern short AO_9112_Config (ushort CardNumber, ushort Channel, double refVoltage); - [DllImport("PCI-Dask.dll")] - public static extern short AO_WriteChannel (ushort CardNumber, ushort Channel, short Value); - [DllImport("PCI-Dask.dll")] - public static extern short AO_VWriteChannel (ushort CardNumber, ushort Channel, double Voltage); - [DllImport("PCI-Dask.dll")] - public static extern short AO_VoltScale (ushort CardNumber, ushort Channel, double Voltage, out short binValue); - [DllImport("PCI-Dask.dll")] - public static extern short AO_SimuWriteChannel (ushort wCardNumber, ushort wGroup, short[] pwBuffer); - [DllImport("PCI-Dask.dll")] - public static extern short AO_SimuVWriteChannel (ushort wCardNumber, ushort wGroup, double[] VBuffer); -/*---------------------------------------------------------------------------*/ - [DllImport("PCI-Dask.dll")] - public static extern short DI_7200_Config (ushort CardNumber, ushort TrigSource, ushort ExtTrigEn, ushort TrigPol, ushort I_REQ_Pol); - [DllImport("PCI-Dask.dll")] - public static extern short DI_7300A_Config (ushort CardNumber, ushort PortWidth, ushort TrigSource, ushort WaitStatus, ushort Terminator, ushort I_REQ_Pol, bool clear_fifo, bool disable_di); - [DllImport("PCI-Dask.dll")] - public static extern short DI_7300B_Config (ushort CardNumber, ushort PortWidth, ushort TrigSource, ushort WaitStatus, ushort Terminator, ushort I_Cntrl_Pol, bool clear_fifo, bool disable_di); - [DllImport("PCI-Dask.dll")] - public static extern short DI_InitialMemoryAllocated (ushort CardNumber, out uint DmaSize); - [DllImport("PCI-Dask.dll")] - public static extern short DI_ReadLine (ushort CardNumber, ushort Port, ushort Line, out ushort State); - [DllImport("PCI-Dask.dll")] - public static extern short DI_ReadPort (ushort CardNumber, ushort Port, out uint Value); - [DllImport("PCI-Dask.dll")] - public static extern short DI_ContReadPort (ushort CardNumber, ushort Port, byte[] Buffer, - uint ReadCount, double SampleRate, ushort SyncMode); - [DllImport("PCI-Dask.dll")] - public static extern short DI_ContReadPort (ushort CardNumber, ushort Port, ushort[] Buffer, - uint ReadCount, double SampleRate, ushort SyncMode); - [DllImport("PCI-Dask.dll")] - public static extern short DI_ContReadPort(ushort CardNumber, ushort Port, uint[] Buffer, - uint ReadCount, double SampleRate, ushort SyncMode); - [DllImport("PCI-Dask.dll")] - public static extern short DI_ContReadPortToFile (ushort CardNumber, ushort Port, string FileName, - uint ReadCount, double SampleRate, ushort SyncMode); - [DllImport("PCI-Dask.dll")] - public static extern short DI_ContStatus (ushort CardNumber, out ushort Status); - [DllImport("PCI-Dask.dll")] - public static extern short DI_AsyncCheck (ushort CardNumber, out byte Stopped, out uint AccessCnt); - [DllImport("PCI-Dask.dll")] - public static extern short DI_AsyncClear (ushort CardNumber, out uint AccessCnt); - [DllImport("PCI-Dask.dll")] - public static extern short DI_AsyncDblBufferHalfReady(ushort CardNumber, out byte HalfReady); - [DllImport("PCI-Dask.dll")] - public static extern short DI_AsyncDblBufferMode (ushort CardNumber, bool Enable); - [DllImport("PCI-Dask.dll")] - public static extern short DI_AsyncDblBufferTransfer (ushort CardNumber, byte[] Buffer); - [DllImport("PCI-Dask.dll")] - public static extern short DI_AsyncDblBufferTransfer (ushort CardNumber, short[] Buffer); - [DllImport("PCI-Dask.dll")] - public static extern short DI_AsyncDblBufferTransfer(ushort CardNumber, uint[] Buffer); - [DllImport("PCI-Dask.dll")] - public static extern short DI_ContMultiBufferSetup (ushort wCardNumber, byte[] pwBuffer, uint dwReadCount, out ushort BufferId); - [DllImport("PCI-Dask.dll")] - public static extern short DI_ContMultiBufferSetup (ushort wCardNumber, short[] pwBuffer, uint dwReadCount, out ushort BufferId); - [DllImport("PCI-Dask.dll")] - public static extern short DI_ContMultiBufferSetup(ushort wCardNumber, uint[] pwBuffer, uint dwReadCount, out ushort BufferId); - [DllImport("PCI-Dask.dll")] - public static extern short DI_ContMultiBufferStart (ushort wCardNumber, ushort wPort, double fSampleRate); - [DllImport("PCI-Dask.dll")] - public static extern short DI_AsyncMultiBufferNextReady(ushort CardNumber, out byte bNextReady, out ushort wBufferId); - [DllImport("PCI-Dask.dll")] - public static extern short DI_AsyncDblBufferOverrun (ushort CardNumber, ushort op, out ushort overrunFlag); - [DllImport("PCI-Dask.dll")] - public static extern short DI_EventCallBack(ushort CardNumber, short mode, short EventType, MulticastDelegate callbackAddr); -/*---------------------------------------------------------------------------*/ - [DllImport("PCI-Dask.dll")] - public static extern short DO_7200_Config (ushort CardNumber, ushort TrigSource, ushort OutReqEn, ushort OutTrigSig); - [DllImport("PCI-Dask.dll")] - public static extern short DO_7300A_Config (ushort CardNumber, ushort PortWidth, ushort TrigSource, ushort WaitStatus, ushort Terminator, ushort O_REQ_Pol); - [DllImport("PCI-Dask.dll")] - public static extern short DO_7300B_Config (ushort CardNumber, ushort PortWidth, ushort TrigSource, ushort WaitStatus, ushort Terminator, ushort O_Cntrl_Pol, uint FifoThreshold); - [DllImport("PCI-Dask.dll")] - public static extern short DO_InitialMemoryAllocated (ushort CardNumber, out uint MemSize); - [DllImport("PCI-Dask.dll")] - public static extern short DO_WriteLine (ushort CardNumber, ushort Port, ushort Line, ushort Value); - [DllImport("PCI-Dask.dll")] - public static extern short DO_WritePort (ushort CardNumber, byte Port, uint Value); - [DllImport("PCI-Dask.dll")] - public static extern short DO_WritePort (ushort CardNumber, ushort Port, uint Value); - [DllImport("PCI-Dask.dll")] - public static extern short DO_WritePort(ushort CardNumber, uint Port, uint Value); - [DllImport("PCI-Dask.dll")] - public static extern short DO_WriteExtTrigLine (ushort CardNumber, ushort Value); - [DllImport("PCI-Dask.dll")] - public static extern short DO_ReadLine (ushort CardNumber, ushort Port, ushort Line, out ushort Value); - [DllImport("PCI-Dask.dll")] - public static extern short DO_ReadPort (ushort CardNumber, ushort Port, out uint Value); - [DllImport("PCI-Dask.dll")] - public static extern short DO_ContWritePort (ushort CardNumber, ushort Port, byte[] Buffer, - uint WriteCount, ushort Iterations, double SampleRate, ushort SyncMode); - [DllImport("PCI-Dask.dll")] - public static extern short DO_ContWritePort (ushort CardNumber, ushort Port, ushort[] Buffer, - uint WriteCount, ushort Iterations, double SampleRate, ushort SyncMode); - [DllImport("PCI-Dask.dll")] - public static extern short DO_ContWritePort (ushort CardNumber, ushort Port, uint[] Buffer, - uint WriteCount, ushort Iterations, double SampleRate, ushort SyncMode); - [DllImport("PCI-Dask.dll")] - public static extern short DO_PGStart (ushort CardNumber, byte[] Buffer, uint WriteCount, double SampleRate); - [DllImport("PCI-Dask.dll")] - public static extern short DO_PGStart (ushort CardNumber, short[] Buffer, uint WriteCount, double SampleRate); - [DllImport("PCI-Dask.dll")] - public static extern short DO_PGStart(ushort CardNumber, uint[] Buffer, uint WriteCount, double SampleRate); - [DllImport("PCI-Dask.dll")] - public static extern short DO_PGStop (ushort CardNumber); - [DllImport("PCI-Dask.dll")] - public static extern short DO_ContStatus (ushort CardNumber, out ushort Status); - [DllImport("PCI-Dask.dll")] - public static extern short DO_AsyncCheck(ushort CardNumber, out byte Stopped, out uint AccessCnt); - [DllImport("PCI-Dask.dll")] - public static extern short DO_AsyncClear (ushort CardNumber, out uint AccessCnt); - [DllImport("PCI-Dask.dll")] - public static extern short EDO_9111_Config (ushort CardNumber, ushort EDO_Fun); - [DllImport("PCI-Dask.dll")] - public static extern short DO_ContMultiBufferSetup (ushort CardNumber, byte[] pwBuffer, uint dwWriteCount, out ushort BufferId); - [DllImport("PCI-Dask.dll")] - public static extern short DO_ContMultiBufferSetup (ushort CardNumber, short[] pwBuffer, uint dwWriteCount, out ushort BufferId); - [DllImport("PCI-Dask.dll")] - public static extern short DO_ContMultiBufferSetup(ushort CardNumber, uint[] pwBuffer, uint dwWriteCount, out ushort BufferId); - [DllImport("PCI-Dask.dll")] - public static extern short DO_AsyncMultiBufferNextReady(ushort CardNumber, out byte bNextReady, out ushort wBufferId); - [DllImport("PCI-Dask.dll")] - public static extern short DO_ContMultiBufferStart (ushort wCardNumber, ushort wPort, double fSampleRate); - [DllImport("PCI-Dask.dll")] - public static extern short DO_EventCallBack(ushort CardNumber, short mode, short EventType, MulticastDelegate callbackAddr); -/*---------------------------------------------------------------------------*/ - [DllImport("PCI-Dask.dll")] - public static extern short DIO_PortConfig (ushort CardNumber, ushort Port, ushort Direction); - [DllImport("PCI-Dask.dll")] - public static extern short DIO_LinesConfig(ushort wCardNumber, ushort wPort, ushort wLinesdirmap); - [DllImport("PCI-Dask.dll")] - public static extern short DIO_LineConfig(ushort wCardNumber, ushort wPort, ushort wLine, ushort wDirection); - [DllImport("PCI-Dask.dll")] - public static extern short DIO_SetDualInterrupt (ushort CardNumber, short Int1Mode, short Int2Mode, long hEvent); - [DllImport("PCI-Dask.dll")] - public static extern short DIO_SetCOSInterrupt (ushort CardNumber, ushort Port, ushort ctlA, ushort ctlB, ushort ctlC); - [DllImport("PCI-Dask.dll")] - public static extern short DIO_INT1_EventMessage(ushort CardNumber, short Int1Mode, long windowHandle, long message, MulticastDelegate callbackAddr); - [DllImport("PCI-Dask.dll")] - public static extern short DIO_INT2_EventMessage(ushort CardNumber, short Int2Mode, long windowHandle, long message, MulticastDelegate callbackAddr); - [DllImport("PCI-Dask.dll")] - public static extern short DIO_7300SetInterrupt (ushort CardNumber, short AuxDIEn, short T2En, long hEvent); - [DllImport("PCI-Dask.dll")] - public static extern short DIO_AUXDI_EventMessage(ushort CardNumber, short AuxDIEn, long windowHandle, uint message, MulticastDelegate callbackAddr); - [DllImport("PCI-Dask.dll")] - public static extern short DIO_T2_EventMessage(ushort CardNumber, short T2En, long windowHandle, uint message, MulticastDelegate callbackAddr); - [DllImport("PCI-Dask.dll")] - public static extern short DIO_GetCOSLatchData(ushort wCardNumber, out ushort CosLData); - [DllImport("PCI-Dask.dll")] - public static extern short DIO_SetCOSInterrupt32(ushort wCardNumber, byte Port, uint ctl, out long hEvent, bool bManualReset); - [DllImport("PCI-Dask.dll")] - public static extern short DIO_GetCOSLatchDataInt32(ushort wCardNumber, byte Port, out uint CosLData); -/*---------------------------------------------------------------------------*/ - [DllImport("PCI-Dask.dll")] - public static extern short CTR_Setup (ushort CardNumber, ushort Ctr, ushort Mode, uint Count, ushort BinBcd); - [DllImport("PCI-Dask.dll")] - public static extern short CTR_Clear (ushort CardNumber, ushort Ctr, ushort State); - [DllImport("PCI-Dask.dll")] - public static extern short CTR_Read (ushort CardNumber, ushort Ctr, out uint Value); - [DllImport("PCI-Dask.dll")] - public static extern short CTR_Update (ushort CardNumber, ushort Ctr, uint Count); - [DllImport("PCI-Dask.dll")] - public static extern short CTR_8554_ClkSrc_Config (ushort CardNumber, ushort Ctr, ushort ClockSource); - [DllImport("PCI-Dask.dll")] - public static extern short CTR_8554_CK1_Config (ushort CardNumber, ushort ClockSource); - [DllImport("PCI-Dask.dll")] - public static extern short CTR_8554_Debounce_Config (ushort CardNumber, ushort DebounceClock); - [DllImport("PCI-Dask.dll")] - public static extern short GCTR_Setup (ushort wCardNumber, ushort wGCtr, ushort wGCtrCtrl,uint dwCount); - [DllImport("PCI-Dask.dll")] - public static extern short GCTR_Clear (ushort wCardNumber, ushort wGCtr); - [DllImport("PCI-Dask.dll")] - public static extern short GCTR_Read (ushort wCardNumber, ushort wGCtr, out uint pValue); - [DllImport("PCI-Dask.dll")] - public static extern short WDT_Setup (ushort CardNumber, ushort wCtr, float ovflowSec, out float actualSec, out long hEvent); - [DllImport("PCI-Dask.dll")] - public static extern short WDT_Control (ushort wCardNumber, ushort wCtr, ushort action); - [DllImport("PCI-Dask.dll")] - public static extern short WDT_Status (ushort wCardNumber, ushort Ctr, out uint pValue); - [DllImport("PCI-Dask.dll")] - public static extern short WDT_Reload(ushort wCardNumber, float ovflowSec, out float actualSec); -/*---------------------------------------------------------------------------*/ - [DllImport("PCI-Dask.dll")] - public static extern short AI_GetEvent(ushort wCardNumber, out long hEvent); - [DllImport("PCI-Dask.dll")] - public static extern short AO_GetEvent(ushort wCardNumber, out long hEvent); - [DllImport("PCI-Dask.dll")] - public static extern short DI_GetEvent(ushort wCardNumber, out long hEvent); - [DllImport("PCI-Dask.dll")] - public static extern short DO_GetEvent(ushort wCardNumber, out long hEvent); -/*---------------------------------------------------------------------------*/ - [DllImport("PCI-Dask.dll")] - public static extern short AI_GetView(ushort wCardNumber, uint[] pView); - [DllImport("PCI-Dask.dll")] - public static extern short DI_GetView(ushort wCardNumber, uint[] pView); - [DllImport("PCI-Dask.dll")] - public static extern short DO_GetView(ushort wCardNumber, uint[] pView); -/*---------------------------------------------------------------------------*/ - [DllImport("PCI-Dask.dll")] - public static extern short GetCardType (ushort wCardNumber, out ushort cardType); - [DllImport("PCI-Dask.dll")] - public static extern short GetCardIndexFromID (ushort wCardNumber, out ushort cardType, out ushort cardIndex); - [DllImport("PCI-Dask.dll")] - public static extern short GetBaseAddr(ushort wCardNumber, uint[] BaseAddr, uint[] BaseAddr2); - [DllImport("PCI-Dask.dll")] - public static extern short GetLCRAddr(ushort wCardNumber, uint[] LcrAddr); -} \ No newline at end of file diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/.NET/C#/7300/D7300_DI_Single_buffer_Sync/D7300_DI_Single_buffer_Sync/Form1.Designer.cs b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/.NET/C#/7300/D7300_DI_Single_buffer_Sync/D7300_DI_Single_buffer_Sync/Form1.Designer.cs deleted file mode 100644 index 388310a..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/.NET/C#/7300/D7300_DI_Single_buffer_Sync/D7300_DI_Single_buffer_Sync/Form1.Designer.cs +++ /dev/null @@ -1,88 +0,0 @@ -namespace D7300_DI_Single_buffer_Sync -{ - partial class Form1 - { - /// - /// 設計工具所需的變數。 - /// - private System.ComponentModel.IContainer components = null; - - /// - /// 清除任何使用中的資源。 - /// - /// 如果應該公開 Managed 資源則為 true,否則為 false。 - protected override void Dispose(bool disposing) - { - if (disposing && (components != null)) - { - components.Dispose(); - } - base.Dispose(disposing); - } - - #region Windows Form 設計工具產生的程式碼 - - /// - /// 此為設計工具支援所需的方法 - 請勿使用程式碼編輯器修改這個方法的內容。 - /// - /// - private void InitializeComponent() - { - this.button1 = new System.Windows.Forms.Button(); - this.listBox1 = new System.Windows.Forms.ListBox(); - this.label1 = new System.Windows.Forms.Label(); - this.SuspendLayout(); - // - // button1 - // - this.button1.Location = new System.Drawing.Point(49, 151); - this.button1.Name = "button1"; - this.button1.Size = new System.Drawing.Size(73, 29); - this.button1.TabIndex = 0; - this.button1.Text = "Start"; - this.button1.UseVisualStyleBackColor = true; - this.button1.Click += new System.EventHandler(this.button1_Click); - // - // listBox1 - // - this.listBox1.FormattingEnabled = true; - this.listBox1.ItemHeight = 12; - this.listBox1.Location = new System.Drawing.Point(12, 33); - this.listBox1.Name = "listBox1"; - this.listBox1.Size = new System.Drawing.Size(143, 112); - this.listBox1.TabIndex = 1; - // - // label1 - // - this.label1.AutoSize = true; - this.label1.Location = new System.Drawing.Point(12, 9); - this.label1.Name = "label1"; - this.label1.Size = new System.Drawing.Size(57, 12); - this.label1.TabIndex = 2; - this.label1.Text = "Input Data:"; - // - // Form1 - // - this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F); - this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; - this.ClientSize = new System.Drawing.Size(172, 186); - this.Controls.Add(this.label1); - this.Controls.Add(this.listBox1); - this.Controls.Add(this.button1); - this.Name = "Form1"; - this.Text = "Form1"; - this.InputLanguageChanged += new System.Windows.Forms.InputLanguageChangedEventHandler(this.Form1_InputLanguageChanged); - this.Load += new System.EventHandler(this.Form1_Load); - this.ResumeLayout(false); - this.PerformLayout(); - - } - - #endregion - - private System.Windows.Forms.Button button1; - private System.Windows.Forms.ListBox listBox1; - private System.Windows.Forms.Label label1; - } -} - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/.NET/C#/7300/D7300_DI_Single_buffer_Sync/D7300_DI_Single_buffer_Sync/Form1.cs b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/.NET/C#/7300/D7300_DI_Single_buffer_Sync/D7300_DI_Single_buffer_Sync/Form1.cs deleted file mode 100644 index 7f71074..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/.NET/C#/7300/D7300_DI_Single_buffer_Sync/D7300_DI_Single_buffer_Sync/Form1.cs +++ /dev/null @@ -1,62 +0,0 @@ -using System; -using System.Collections.Generic; -using System.ComponentModel; -using System.Data; -using System.Drawing; -using System.Text; -using System.Windows.Forms; - -namespace D7300_DI_Single_buffer_Sync -{ - public partial class Form1 : Form - { - ushort[] data_buffer = new ushort[100]; - public short m_dev; - public Form1() - { - InitializeComponent(); - } - - private void Form1_Load(object sender, EventArgs e) - { - m_dev = DASK.Register_Card(DASK.PCI_7300A_RevB, 0); - if (m_dev < 0) - { - MessageBox.Show("Register_Card error!"); - - } - } - - private void Form1_InputLanguageChanged(object sender, InputLanguageChangedEventArgs e) - { - short ret; - if (m_dev >= 0) - { - ret = DASK.Release_Card((ushort)m_dev); - } - } - - private void button1_Click(object sender, EventArgs e) - { - int i; - short err; - err = DASK.DI_7300B_Config((ushort)m_dev, 16, DASK.TRIG_INT_PACER, DASK.P7300_WAIT_NO, DASK.P7300_TERM_OFF, DASK.P7300_DIREQ_POS | DASK.P7300_DIACK_POS | DASK.P7300_DITRIG_POS, false, false); - if (err != 0) - { - MessageBox.Show("DI_7300B_Config error!"); - return; - } - err = DASK.DI_ContReadPort((ushort)m_dev, 0, data_buffer, 100, 10000, DASK.SYNCH_OP); - if (err != 0) - { - MessageBox.Show("DI_ContReadPort error!"); - return; - } - listBox1.Items.Clear(); - for (i = 0; i < 100; i++) - { - listBox1.Items.Add(data_buffer[i]); - } - } - } -} \ No newline at end of file diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/.NET/C#/7300/D7300_DI_Single_buffer_Sync/D7300_DI_Single_buffer_Sync/Form1.resx b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/.NET/C#/7300/D7300_DI_Single_buffer_Sync/D7300_DI_Single_buffer_Sync/Form1.resx deleted file mode 100644 index 19dc0dd..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/.NET/C#/7300/D7300_DI_Single_buffer_Sync/D7300_DI_Single_buffer_Sync/Form1.resx +++ /dev/null @@ -1,120 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - text/microsoft-resx - - - 2.0 - - - System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - \ No newline at end of file diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/.NET/C#/7300/D7300_DI_Single_buffer_Sync/D7300_DI_Single_buffer_Sync/Program.cs b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/.NET/C#/7300/D7300_DI_Single_buffer_Sync/D7300_DI_Single_buffer_Sync/Program.cs deleted file mode 100644 index d781038..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/.NET/C#/7300/D7300_DI_Single_buffer_Sync/D7300_DI_Single_buffer_Sync/Program.cs +++ /dev/null @@ -1,20 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Windows.Forms; - -namespace D7300_DI_Single_buffer_Sync -{ - static class Program - { - /// - /// 應用程式的主要進入點。 - /// - [STAThread] - static void Main() - { - Application.EnableVisualStyles(); - Application.SetCompatibleTextRenderingDefault(false); - Application.Run(new Form1()); - } - } -} \ No newline at end of file diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/.NET/C#/7300/D7300_DI_Single_buffer_Sync/D7300_DI_Single_buffer_Sync/Properties/AssemblyInfo.cs b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/.NET/C#/7300/D7300_DI_Single_buffer_Sync/D7300_DI_Single_buffer_Sync/Properties/AssemblyInfo.cs deleted file mode 100644 index 1ca8a50..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/.NET/C#/7300/D7300_DI_Single_buffer_Sync/D7300_DI_Single_buffer_Sync/Properties/AssemblyInfo.cs +++ /dev/null @@ -1,33 +0,0 @@ -using System.Reflection; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; - -// 組件的一般資訊是由下列的屬性集控制。 -// 變更這些屬性的值即可修改組件的相關 -// 資訊。 -[assembly: AssemblyTitle("D7300_DI_Single_buffer_Sync")] -[assembly: AssemblyDescription("")] -[assembly: AssemblyConfiguration("")] -[assembly: AssemblyCompany("ADLINK")] -[assembly: AssemblyProduct("D7300_DI_Single_buffer_Sync")] -[assembly: AssemblyCopyright("Copyright (C) ADLINK 2007")] -[assembly: AssemblyTrademark("")] -[assembly: AssemblyCulture("")] - -// 將 ComVisible 設定為 false 會使得這個組件中的型別 -// 對 COM 元件而言為不可見。如果您需要從 COM 存取這個組件中 -// 的型別,請在該型別上將 ComVisible 屬性設定為 true。 -[assembly: ComVisible(false)] - -// 下列 GUID 為專案公開 (Expose) 至 COM 時所要使用的 typelib ID -[assembly: Guid("423fc586-4fa1-45ba-a51a-3824a82dd13b")] - -// 組件的版本資訊是由下列四項值構成: -// -// 主要版本 -// 次要版本 -// 組建編號 -// 修訂編號 -// -[assembly: AssemblyVersion("1.0.0.0")] -[assembly: AssemblyFileVersion("1.0.0.0")] diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/.NET/C#/7300/D7300_DI_Single_buffer_Sync/D7300_DI_Single_buffer_Sync/Properties/Resources.Designer.cs b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/.NET/C#/7300/D7300_DI_Single_buffer_Sync/D7300_DI_Single_buffer_Sync/Properties/Resources.Designer.cs deleted file mode 100644 index 4b32b0b..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/.NET/C#/7300/D7300_DI_Single_buffer_Sync/D7300_DI_Single_buffer_Sync/Properties/Resources.Designer.cs +++ /dev/null @@ -1,71 +0,0 @@ -//------------------------------------------------------------------------------ -// -// 這段程式碼是由工具產生的。 -// 執行階段版本:2.0.50727.42 -// -// 變更這個檔案可能會導致不正確的行為,而且如果已重新產生 -// 程式碼,這個檔案將會遺失。 -// -//------------------------------------------------------------------------------ - -namespace D7300_DI_Single_buffer_Sync.Properties -{ - - - /// - /// 用於查詢當地語系化字串等的強型別資源類別 - /// - // 這個類別是自動產生的,是利用 StronglyTypedResourceBuilder - // 類別透過 ResGen 或 Visual Studio 這類工具。 - // 若要加入或移除成員,請編輯您的 .ResX 檔,然後重新執行 ResGen - // (利用 /str 選項),或重建您的 VS 專案。 - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "2.0.0.0")] - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()] - internal class Resources - { - - private static global::System.Resources.ResourceManager resourceMan; - - private static global::System.Globalization.CultureInfo resourceCulture; - - [global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")] - internal Resources() - { - } - - /// - /// 傳回這個類別使用的快取的 ResourceManager 執行個體。 - /// - [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] - internal static global::System.Resources.ResourceManager ResourceManager - { - get - { - if ((resourceMan == null)) - { - global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("D7300_DI_Single_buffer_Sync.Properties.Resources", typeof(Resources).Assembly); - resourceMan = temp; - } - return resourceMan; - } - } - - /// - /// 覆寫目前執行緒的 CurrentUICulture 屬性,對象是所有 - /// 使用這個強型別資源類別的資源查閱。 - /// - [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] - internal static global::System.Globalization.CultureInfo Culture - { - get - { - return resourceCulture; - } - set - { - resourceCulture = value; - } - } - } -} diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/.NET/C#/7300/D7300_DI_Single_buffer_Sync/D7300_DI_Single_buffer_Sync/Properties/Resources.resx b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/.NET/C#/7300/D7300_DI_Single_buffer_Sync/D7300_DI_Single_buffer_Sync/Properties/Resources.resx deleted file mode 100644 index af7dbeb..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/.NET/C#/7300/D7300_DI_Single_buffer_Sync/D7300_DI_Single_buffer_Sync/Properties/Resources.resx +++ /dev/null @@ -1,117 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - text/microsoft-resx - - - 2.0 - - - System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - \ No newline at end of file diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/.NET/C#/7300/D7300_DI_Single_buffer_Sync/D7300_DI_Single_buffer_Sync/Properties/Settings.Designer.cs b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/.NET/C#/7300/D7300_DI_Single_buffer_Sync/D7300_DI_Single_buffer_Sync/Properties/Settings.Designer.cs deleted file mode 100644 index 6834fcb..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/.NET/C#/7300/D7300_DI_Single_buffer_Sync/D7300_DI_Single_buffer_Sync/Properties/Settings.Designer.cs +++ /dev/null @@ -1,30 +0,0 @@ -//------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// Runtime Version:2.0.50727.42 -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -//------------------------------------------------------------------------------ - -namespace D7300_DI_Single_buffer_Sync.Properties -{ - - - [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "8.0.0.0")] - internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase - { - - private static Settings defaultInstance = ((Settings)(global::System.Configuration.ApplicationSettingsBase.Synchronized(new Settings()))); - - public static Settings Default - { - get - { - return defaultInstance; - } - } - } -} diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/.NET/C#/7300/D7300_DI_Single_buffer_Sync/D7300_DI_Single_buffer_Sync/Properties/Settings.settings b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/.NET/C#/7300/D7300_DI_Single_buffer_Sync/D7300_DI_Single_buffer_Sync/Properties/Settings.settings deleted file mode 100644 index 3964565..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/.NET/C#/7300/D7300_DI_Single_buffer_Sync/D7300_DI_Single_buffer_Sync/Properties/Settings.settings +++ /dev/null @@ -1,7 +0,0 @@ - - - - - - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/.NET/C#/7300/D7300_DO_Single_Buffer_Sync/D7300_DO_Single_Buffer_Sync.sln b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/.NET/C#/7300/D7300_DO_Single_Buffer_Sync/D7300_DO_Single_Buffer_Sync.sln deleted file mode 100644 index e3d7f9a..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/.NET/C#/7300/D7300_DO_Single_Buffer_Sync/D7300_DO_Single_Buffer_Sync.sln +++ /dev/null @@ -1,20 +0,0 @@ - -Microsoft Visual Studio Solution File, Format Version 9.00 -# Visual Studio 2005 -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "D7300_DO_Single_Buffer_Sync", "D7300_DO_Single_Buffer_Sync\D7300_DO_Single_Buffer_Sync.csproj", "{DE60F0FD-5710-4C15-BC88-560E90BF1AC4}" -EndProject -Global - GlobalSection(SolutionConfigurationPlatforms) = preSolution - Debug|Any CPU = Debug|Any CPU - Release|Any CPU = Release|Any CPU - EndGlobalSection - GlobalSection(ProjectConfigurationPlatforms) = postSolution - {DE60F0FD-5710-4C15-BC88-560E90BF1AC4}.Debug|Any CPU.ActiveCfg = Release|Any CPU - {DE60F0FD-5710-4C15-BC88-560E90BF1AC4}.Debug|Any CPU.Build.0 = Release|Any CPU - {DE60F0FD-5710-4C15-BC88-560E90BF1AC4}.Release|Any CPU.ActiveCfg = Release|Any CPU - {DE60F0FD-5710-4C15-BC88-560E90BF1AC4}.Release|Any CPU.Build.0 = Release|Any CPU - EndGlobalSection - GlobalSection(SolutionProperties) = preSolution - HideSolutionNode = FALSE - EndGlobalSection -EndGlobal diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/.NET/C#/7300/D7300_DO_Single_Buffer_Sync/D7300_DO_Single_Buffer_Sync/D7300_DO_Single_Buffer_Sync.csproj b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/.NET/C#/7300/D7300_DO_Single_Buffer_Sync/D7300_DO_Single_Buffer_Sync/D7300_DO_Single_Buffer_Sync.csproj deleted file mode 100644 index eec00f2..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/.NET/C#/7300/D7300_DO_Single_Buffer_Sync/D7300_DO_Single_Buffer_Sync/D7300_DO_Single_Buffer_Sync.csproj +++ /dev/null @@ -1,81 +0,0 @@ - - - Debug - AnyCPU - 8.0.50727 - 2.0 - {DE60F0FD-5710-4C15-BC88-560E90BF1AC4} - WinExe - Properties - D7300_DO_Single_Buffer_Sync - D7300_DO_Single_Buffer_Sync - - - true - full - false - bin\Debug\ - DEBUG;TRACE - prompt - 4 - x86 - - - pdbonly - true - bin\Release\ - TRACE - prompt - 4 - x86 - - - - - - - - - - - - - Form - - - Form1.cs - - - - - Designer - Form1.cs - - - ResXFileCodeGenerator - Resources.Designer.cs - Designer - - - True - Resources.resx - - - SettingsSingleFileGenerator - Settings.Designer.cs - - - True - Settings.settings - True - - - - - \ No newline at end of file diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/.NET/C#/7300/D7300_DO_Single_Buffer_Sync/D7300_DO_Single_Buffer_Sync/Dask.cs b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/.NET/C#/7300/D7300_DO_Single_Buffer_Sync/D7300_DO_Single_Buffer_Sync/Dask.cs deleted file mode 100644 index 3947ef9..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/.NET/C#/7300/D7300_DO_Single_Buffer_Sync/D7300_DO_Single_Buffer_Sync/Dask.cs +++ /dev/null @@ -1,800 +0,0 @@ -using System.Runtime.InteropServices; -using System; - -public delegate void CallbackDelegate(); - -public class DASK -{ - //ADLink PCI Card Type - public const ushort PCI_6208V =1; - public const ushort PCI_6208A =2; - public const ushort PCI_6308V =3; - public const ushort PCI_6308A =4; - public const ushort PCI_7200 =5; - public const ushort PCI_7230 =6; - public const ushort PCI_7233 =7; - public const ushort PCI_7234 =8; - public const ushort PCI_7248 =9; - public const ushort PCI_7249 =10; - public const ushort PCI_7250 =11; - public const ushort PCI_7252 =12; - public const ushort PCI_7296 =13; - public const ushort PCI_7300A_RevA =14; - public const ushort PCI_7300A_RevB =15; - public const ushort PCI_7432 =16; - public const ushort PCI_7433 =17; - public const ushort PCI_7434 =18; - public const ushort PCI_8554 =19; - public const ushort PCI_9111DG =20; - public const ushort PCI_9111HR =21; - public const ushort PCI_9112 =22; - public const ushort PCI_9113 =23; - public const ushort PCI_9114DG =24; - public const ushort PCI_9114HG =25; - public const ushort PCI_9118DG =26; - public const ushort PCI_9118HG =27; - public const ushort PCI_9118HR =28; - public const ushort PCI_9810 =29; - public const ushort PCI_9812 =30; - public const ushort PCI_7396 =31; - public const ushort PCI_9116 =32; - public const ushort PCI_7256 =33; - public const ushort PCI_7258 =34; - public const ushort PCI_7260 =35; - public const ushort PCI_7452 =36; - public const ushort PCI_7442 =37; - - public const ushort MAX_CARD =32; - -//Error Number - public const short NoError =0; - public const short ErrorUnknownCardType =-1; - public const short ErrorInvalidCardNumber =-2; - public const short ErrorTooManyCardRegistered =-3; - public const short ErrorCardNotRegistered =-4; - public const short ErrorFuncNotSupport =-5; - public const short ErrorInvalidIoChannel =-6; - public const short ErrorInvalidAdRange =-7; - public const short ErrorContIoNotAllowed =-8; - public const short ErrorDiffRangeNotSupport =-9; - public const short ErrorLastChannelNotZero =-10; - public const short ErrorChannelNotDescending =-11; - public const short ErrorChannelNotAscending =-12; - public const short ErrorOpenDriverFailed =-13; - public const short ErrorOpenEventFailed =-14; - public const short ErrorTransferCountTooLarge =-15; - public const short ErrorNotDoubleBufferMode =-16; - public const short ErrorInvalidSampleRate =-17; - public const short ErrorInvalidCounterMode =-18; - public const short ErrorInvalidCounter =-19; - public const short ErrorInvalidCounterState =-20; - public const short ErrorInvalidBinBcdParam =-21; - public const short ErrorBadCardType =-22; - public const short ErrorInvalidDaRefVoltage =-23; - public const short ErrorAdTimeOut =-24; - public const short ErrorNoAsyncAI =-25; - public const short ErrorNoAsyncAO =-26; - public const short ErrorNoAsyncDI =-27; - public const short ErrorNoAsyncDO =-28; - public const short ErrorNotInputPort =-29; - public const short ErrorNotOutputPort =-30; - public const short ErrorInvalidDioPort =-31; - public const short ErrorInvalidDioLine =-32; - public const short ErrorContIoActive =-33; - public const short ErrorDblBufModeNotAllowed =-34; - public const short ErrorConfigFailed =-35; - public const short ErrorInvalidPortDirection =-36; - public const short ErrorBeginThreadError =-37; - public const short ErrorInvalidPortWidth =-38; - public const short ErrorInvalidCtrSource =-39; - public const short ErrorOpenFile =-40; - public const short ErrorAllocateMemory =-41; - public const short ErrorDaVoltageOutOfRange =-42; - public const short ErrorDaExtRefNotAllowed =-43; - public const short ErrorDIODataWidthError =-44; - public const short ErrorTaskCodeError =-45; - public const short ErrortriggercountError =-46; - public const short ErrorInvalidTriggerMode =-47; - public const short ErrorInvalidTriggerType =-48; - public const short ErrorInvalidCounterValue =-50; - public const short ErrorInvalidEventHandle =-60; - public const short ErrorNoMessageAvailable =-61; - public const short ErrorEventMessgaeNotAdded =-62; -//Error number for driver API - public const short ErrorConfigIoctl =-201; - public const short ErrorAsyncSetIoctl =-202; - public const short ErrorDBSetIoctl =-203; - public const short ErrorDBHalfReadyIoctl =-204; - public const short ErrorContOPIoctl =-205; - public const short ErrorContStatusIoctl =-206; - public const short ErrorPIOIoctl =-207; - public const short ErrorDIntSetIoctl =-208; - public const short ErrorWaitEvtIoctl =-209; - public const short ErrorOpenEvtIoctl =-210; - public const short ErrorCOSIntSetIoctl =-211; - public const short ErrorMemMapIoctl =-212; - public const short ErrorMemUMapSetIoctl =-213; - public const short ErrorCTRIoctl =-214; - public const short ErrorGetResIoctl =-215; - -//Synchronous Mode - public const ushort SYNCH_OP =1; - public const ushort ASYNCH_OP =2; - -//AD Range - public const ushort AD_B_10_V =1; - public const ushort AD_B_5_V =2; - public const ushort AD_B_2_5_V =3; - public const ushort AD_B_1_25_V =4; - public const ushort AD_B_0_625_V =5; - public const ushort AD_B_0_3125_V =6; - public const ushort AD_B_0_5_V =7; - public const ushort AD_B_0_05_V =8; - public const ushort AD_B_0_005_V =9; - public const ushort AD_B_1_V =10; - public const ushort AD_B_0_1_V =11; - public const ushort AD_B_0_01_V =12; - public const ushort AD_B_0_001_V =13; - public const ushort AD_U_20_V =14; - public const ushort AD_U_10_V =15; - public const ushort AD_U_5_V =16; - public const ushort AD_U_2_5_V =17; - public const ushort AD_U_1_25_V =18; - public const ushort AD_U_1_V =19; - public const ushort AD_U_0_1_V =20; - public const ushort AD_U_0_01_V =21; - public const ushort AD_U_0_001_V =22; - -//Clock Mode - public const ushort TRIG_SOFTWARE =0; - public const ushort TRIG_INT_PACER =1; - public const ushort TRIG_EXT_STROBE =2; - public const ushort TRIG_HANDSHAKE =3; - public const ushort TRIG_CLK_10MHZ =4; //PCI-7300A - public const ushort TRIG_CLK_20MHZ =5; //PCI-7300A - public const ushort TRIG_DO_CLK_TIMER_ACK =6; //PCI-7300A Rev. B - public const ushort TRIG_DO_CLK_10M_ACK =7; //PCI-7300A Rev. B - public const ushort TRIG_DO_CLK_20M_ACK =8; //PCI-7300A Rev. B -//Virtual Sampling Rate for using external clock as the clock source - public const double CLKSRC_EXT_SampRate =10000; - -//-------- Constants for PCI-6208A/PCI-6308A/PCI-6308V ------------------- -//Output Mode - public const ushort P6208_CURRENT_0_20MA =0; - public const ushort P6208_CURRENT_4_20MA =3; - public const ushort P6208_CURRENT_5_25MA =1; - public const ushort P6308_CURRENT_0_20MA =0; - public const ushort P6308_CURRENT_4_20MA =3; - public const ushort P6308_CURRENT_5_25MA =1; -//AO Setting - public const ushort P6308V_AO_CH0_3 =0; - public const ushort P6308V_AO_CH4_7 =1; - public const ushort P6308V_AO_UNIPOLAR =0; - public const ushort P6308V_AO_BIPOLAR =1; -//-------- Constants for PCI-7200 -------------------- -//InputMode - public const ushort DI_WAITING =0x02; - public const ushort DI_NOWAITING =0x00; - - public const ushort DI_TRIG_RISING =0x04; - public const ushort DI_TRIG_FALLING =0x00; - - public const ushort IREQ_RISING =0x08; - public const ushort IREQ_FALLING =0x00; - -//Output Mode - public const ushort OREQ_ENABLE =0x10; - public const ushort OREQ_DISABLE =0x00; - - public const ushort OTRIG_HIGH =0x20; - public const ushort OTRIG_LOW =0x00; - -//-------- Constants for PCI-7248/7296/7396/7442 --------------- -//DIO Port Direction - public const ushort INPUT_PORT = 1; - public const ushort OUTPUT_PORT = 2; -//DIO Line Direction - public const ushort INPUT_LINE = 1; - public const ushort OUTPUT_LINE = 2; - -//Channel & Port - public const ushort Channel_P1A =0; - public const ushort Channel_P1B =1; - public const ushort Channel_P1C =2; - public const ushort Channel_P1CL =3; - public const ushort Channel_P1CH =4; - public const ushort Channel_P1AE =10; - public const ushort Channel_P1BE =11; - public const ushort Channel_P1CE =12; - public const ushort Channel_P2A =5; - public const ushort Channel_P2B =6; - public const ushort Channel_P2C =7; - public const ushort Channel_P2CL =8; - public const ushort Channel_P2CH =9; - public const ushort Channel_P2AE =15; - public const ushort Channel_P2BE =16; - public const ushort Channel_P2CE =17; - public const ushort Channel_P3A =10; - public const ushort Channel_P3B =11; - public const ushort Channel_P3C =12; - public const ushort Channel_P3CL =13; - public const ushort Channel_P3CH =14; - public const ushort Channel_P4A =15; - public const ushort Channel_P4B =16; - public const ushort Channel_P4C =17; - public const ushort Channel_P4CL =18; - public const ushort Channel_P4CH =19; - public const ushort Channel_P5A =20; - public const ushort Channel_P5B =21; - public const ushort Channel_P5C =22; - public const ushort Channel_P5CL =23; - public const ushort Channel_P5CH =24; - public const ushort Channel_P6A =25; - public const ushort Channel_P6B =26; - public const ushort Channel_P6C =27; - public const ushort Channel_P6CL =28; - public const ushort Channel_P6CH =29; -//the following are used for PCI7396 - public const ushort Channel_P1 =30; - public const ushort Channel_P2 =31; - public const ushort Channel_P3 =32; - public const ushort Channel_P4 =33; - public const ushort Channel_P1E =34; //only used by DIO_PortConfig function - public const ushort Channel_P2E =35; //only used by DIO_PortConfig function - public const ushort Channel_P3E =36; //only used by DIO_PortConfig function - public const ushort Channel_P4E =37; //only used by DIO_PortConfig function -//7442 - public const ushort P7442_CH0 = 0; - public const ushort P7442_CH1 = 1; - public const ushort P7442_TTL0 = 2; - public const ushort P7442_TTL1 = 3; -//-------- Constants for PCI-7300A ------------------- -//Wait Status - public const ushort P7300_WAIT_NO =0; - public const ushort P7300_WAIT_TRG =1; - public const ushort P7300_WAIT_FIFO =2; - public const ushort P7300_WAIT_BOTH =3; - -//Terminator control - public const ushort P7300_TERM_OFF =0; - public const ushort P7300_TERM_ON =1; - -//DI control signals polarity for PCI-7300A Rev. B - public const ushort P7300_DIREQ_POS =0x00000000; - public const ushort P7300_DIREQ_NEG =0x00000001; - public const ushort P7300_DIACK_POS =0x00000000; - public const ushort P7300_DIACK_NEG =0x00000002; - public const ushort P7300_DITRIG_POS =0x00000000; - public const ushort P7300_DITRIG_NEG =0x00000004; - -//DO control signals polarity for PCI-7300A Rev. B - public const ushort P7300_DOREQ_POS =0x00000000; - public const ushort P7300_DOREQ_NEG =0x00000008; - public const ushort P7300_DOACK_POS =0x00000000; - public const ushort P7300_DOACK_NEG =0x00000010; - public const ushort P7300_DOTRIG_POS =0x00000000; - public const ushort P7300_DOTRIG_NEG =0x00000020; -//-------- Constants for PCI-7432/7433/7434 --------------- - public const ushort PORT_DI_LOW =0; - public const ushort PORT_DI_HIGH =1; - public const ushort PORT_DO_LOW =0; - public const ushort PORT_DO_HIGH =1; - public const ushort P7432R_DO_LED =1; - public const ushort P7433R_DO_LED =0; - public const ushort P7434R_DO_LED =2; - public const ushort P7432R_DI_SLOT =1; - public const ushort P7433R_DI_SLOT =2; - public const ushort P7434R_DI_SLOT =0; -//-- Dual-Interrupt Source control for PCI-7248/96 & 7432/33 & 7230 & 8554 & 7396 &7256 &7260 --- - public const short INT1_DISABLE =-1; //INT1 Disabled - public const short INT1_COS =0; //INT1 COS : only available for PCI-7396, PCI-7256, PCI-7260 - public const short INT1_FP1C0 =1; //INT1 by Falling edge of P1C0 : only available for PCI7248/96/7396 - public const short INT1_RP1C0_FP1C3 =2; //INT1 by P1C0 Rising or P1C3 Falling : only available for PCI7248/96/7396 - public const short INT1_EVENT_COUNTER =3; //INT1 by Event Counter down to zero : only available for PCI7248/96/7396 - public const short INT1_EXT_SIGNAL =1; //INT1 by external signal : only available for PCI7432/7433/7230/8554 - public const short INT1_COUT12 =1; //INT1 COUT12 : only available for PCI8554 - public const short INT1_CH0 =1; //INT1 CH0 : only available for PCI7256, PCI7260 - public const short INT1_COS0 =1; //INT1 COS0 : only available for PCI-7452/PCI-7442 - public const short INT1_COS1 =2; //INT1 COS1 : only available for PCI-7452/PCI-7442 - public const short INT1_COS2 =4; //INT1 COS2 : only available for PCI-7452/PCI-7442 - public const short INT1_COS3 =8; //INT1 COS3 : only available for PCI-7452/PCI-7442 - public const short INT2_DISABLE =-1; //INT2 Disabled - public const short INT2_COS =0; //INT2 COS : only available for PCI-7396 - public const short INT2_FP2C0 =1; //INT2 by Falling edge of P2C0 : only available for PCI7248/96/7396 - public const short INT2_RP2C0_FP2C3 =2; //INT2 by P2C0 Rising or P2C3 Falling : only available for PCI7248/96/7396 - public const short INT2_TIMER_COUNTER =3; //INT2 by Timer Counter down to zero : only available for PCI7248/96/7396 - public const short INT2_EXT_SIGNAL =1; //INT2 by external signal : only available for PCI7432/7433/7230/8554 - public const short INT2_CH1 =2; //INT2 CH1 : only available for PCI7256, PCI7260 - public const short INT2_WDT =4; //INT2 by WDT - - public const ushort ManualResetIEvt =0x4000;//interrupt event is manually reset by user - public const ushort WDT_OVRFLOW_SAFETYOUT =0x8000;// enable safteyout while WDT overflow -//-------- Constants for PCI-8554 -------------------- -//Clock Source of Cunter N - public const ushort ECKN =0; - public const ushort COUTN_1 =1; - public const ushort CK1 =2; - public const ushort COUT10 =3; - -//Clock Source of CK1 - public const ushort CK1_C8M =0; - public const ushort CK1_COUT11 =1; - -//Debounce Clock - public const ushort DBCLK_COUT11 =0; - public const ushort DBCLK_2MHZ =1; - -//-------- Constants for PCI-9111 -------------------- -//Dual Interrupt Mode - public const ushort P9111_INT1_EOC =0; //Ending of AD conversion - public const ushort P9111_INT1_FIFO_HF =1; //FIFO Half Full - public const ushort P9111_INT2_PACER =0; //Every Timer tick - public const ushort P9111_INT2_EXT_TRG =1; //ExtTrig High->Low - -//Channel Count - public const ushort P9111_CHANNEL_DO =0; - public const ushort P9111_CHANNEL_EDO =1; - public const ushort P9111_CHANNEL_DI =0; - public const ushort P9111_CHANNEL_EDI =1; - -//EDO function - public const ushort P9111_EDO_INPUT =1; //EDO port set as Input port - public const ushort P9111_EDO_OUT_EDO =2; //EDO port set as Output port - public const ushort P9111_EDO_OUT_CHN =3; //EDO port set as channel number ouput port - -//Trigger Mode - public const ushort P9111_TRGMOD_SOFT =0x00; //Software Trigger Mode - public const ushort P9111_TRGMOD_PRE =0x01; //Pre-Trigger Mode - public const ushort P9111_TRGMOD_POST =0x02; //Post Trigger Mode - -//AO Setting - public const ushort P9111_AO_UNIPOLAR =0; - public const ushort P9111_AO_BIPOLAR =1; - -//-------- Constants for PCI-9118 -------------------- - public const ushort P9118_AI_BiPolar =0x00; - public const ushort P9118_AI_UniPolar =0x01; - - public const ushort P9118_AI_SingEnded =0x00; - public const ushort P9118_AI_Differential =0x02; - - public const ushort P9118_AI_ExtG =0x04; - - public const ushort P9118_AI_ExtTrig =0x08; - - public const ushort P9118_AI_DtrgNegative =0x00; - public const ushort P9118_AI_DtrgPositive =0x10; - - public const ushort P9118_AI_EtrgNegative =0x00; - public const ushort P9118_AI_EtrgPositive =0x20; - - public const ushort P9118_AI_BurstModeEn =0x40; - public const ushort P9118_AI_SampleHold =0x80; - public const ushort P9118_AI_PostTrgEn =0x100; - public const ushort P9118_AI_AboutTrgEn =0x200; - -//-------- Constants for PCI-9116 -------------------- - public const ushort P9116_AI_LocalGND =0x00; - public const ushort P9116_AI_UserCMMD =0x01; - public const ushort P9116_AI_SingEnded =0x00; - public const ushort P9116_AI_Differential =0x02; - public const ushort P9116_AI_BiPolar =0x00; - public const ushort P9116_AI_UniPolar =0x04; - - public const ushort P9116_TRGMOD_SOFT =0x00; //Software Trigger Mode - public const ushort P9116_TRGMOD_POST =0x10; //Post Trigger Mode - public const ushort P9116_TRGMOD_DELAY =0x20; //Delay Trigger Mode - public const ushort P9116_TRGMOD_PRE =0x30; //Pre-Trigger Mode - public const ushort P9116_TRGMOD_MIDL =0x40; //Middle Trigger Mode - public const ushort P9116_AI_TrgPositive =0x00; - public const ushort P9116_AI_TrgNegative =0x80; - public const ushort P9116_AI_ExtTimeBase =0x100; - public const ushort P9116_AI_IntTimeBase =0x000; - public const ushort P9116_AI_DlyInSamples =0x200; - public const ushort P9116_AI_DlyInTimebase =0x000; - public const ushort P9116_AI_ReTrigEn =0x400; - public const ushort P9116_AI_MCounterEn =0x800; - public const ushort P9116_AI_SoftPolling =0x0000; - public const ushort P9116_AI_INT =0x1000; - public const ushort P9116_AI_DMA =0x2000; - -//-------- Constants for PCI-9812 -------------------- -//Trigger Mode - public const ushort P9812_TRGMOD_SOFT =0x00; //Software Trigger Mode - public const ushort P9812_TRGMOD_POST =0x01; //Post Trigger Mode - public const ushort P9812_TRGMOD_PRE =0x02; //Pre-Trigger Mode - public const ushort P9812_TRGMOD_DELAY =0x03; //Delay Trigger Mode - public const ushort P9812_TRGMOD_MIDL =0x04; //Middle Trigger Mode - - public const ushort P9812_AIEvent_Manual =0x08; //Middle Trigger Mode - - //Trigger Source - public const ushort P9812_TRGSRC_CH0 =0x00; //trigger source --CH0 - public const ushort P9812_TRGSRC_CH1 =0x08; //trigger source --CH1 - public const ushort P9812_TRGSRC_CH2 =0x10; //trigger source --CH2 - public const ushort P9812_TRGSRC_CH3 =0x18; //trigger source --CH3 - public const ushort P9812_TRGSRC_EXT_DIG =0x20; //External Digital Trigger - -//Trigger Polarity - public const ushort P9812_TRGSLP_POS =0x00; //Positive slope trigger - public const ushort P9812_TRGSLP_NEG =0x40; //Negative slope trigger - -//Frequency Selection - public const ushort P9812_AD2_GT_PCI =0x80; //Freq. of A/D clock > PCI clock freq. - public const ushort P9812_AD2_LT_PCI =0x00; //Freq. of A/D clock < PCI clock freq. - -//Clock Source - public const ushort P9812_CLKSRC_INT =0x000; //Internal clock - public const ushort P9812_CLKSRC_EXT_SIN =0x100; //External SIN wave clock - public const ushort P9812_CLKSRC_EXT_DIG =0x200; //External Square wave clock - -//EMG shdn ctrl code - public const ushort EMGSHDN_OFF =0; //off - public const ushort EMGSHDN_ON =1; //on - public const ushort EMGSHDN_RECOVERY =2; //recovery - -//Hot Reset Hold ctrl code - public const ushort HRH_OFF =0; //off - public const ushort HRH_ON =1; //on - -//-------- Timer/Counter ----------------------------- -//Counter Mode (8254) - public const ushort TOGGLE_OUTPUT =0; //Toggle output from low to high on terminal count - public const ushort PROG_ONE_SHOT =1; //Programmable one-shot - public const ushort RATE_GENERATOR =2; //Rate generator - public const ushort SQ_WAVE_RATE_GENERATOR =3; //Square wave rate generator - public const ushort SOFT_TRIG =4; //Software-triggered strobe - public const ushort HARD_TRIG =5; //Hardware-triggered strobe - -//General Purpose Timer/Counter -//Counter Mode - public const ushort General_Counter =0x00; //general counter - public const ushort Pulse_Generation =0x01; //pulse generation -//GPTC clock source - public const ushort GPTC_CLKSRC_EXT =0x08; - public const ushort GPTC_CLKSRC_INT =0x00; - public const ushort GPTC_GATESRC_EXT =0x10; - public const ushort GPTC_GATESRC_INT =0x00; - public const ushort GPTC_UPDOWN_SELECT_EXT =0x20; - public const ushort GPTC_UPDOWN_SELECT_SOFT =0x00; - public const ushort GPTC_UP_CTR =0x40; - public const ushort GPTC_DOWN_CTR =0x00; - public const ushort GPTC_ENABLE =0x80; - public const ushort GPTC_DISABLE =0x00; - -//Watchdog Timer -//Counter action - public const ushort WDT_DISARM =0; - public const ushort WDT_ARM =1; - public const ushort WDT_RESTART =2; - -//Pattern ID - public const ushort INIT_PTN =0; - public const ushort EMGSHDN_PTN =1; - -//16-bit binary or 4-decade BCD counter - public const ushort BIN =0; - public const ushort BCD =1; - -//Pattern ID for 7442 - public const ushort INIT_PTN_CH0 = 0; - public const ushort INIT_PTN_CH1 =1; - public const ushort SAFTOUT_PTN_CH0 =4; - public const ushort SAFTOUT_PTN_CH1 =5; - -//DAQ Event type for the event message - public const ushort AIEnd =0; - public const ushort DIEnd =0; - public const ushort DOEnd =0; - public const ushort DBEvent =1; - - public const ushort RegBySlot=0x8000; - -/*------------------------------------------------------------------ -** PCIS-DASK Function prototype -------------------------------------------------------------------*/ - [DllImport("PCI-Dask.dll")] - public static extern short Register_Card (ushort CardType, ushort card_num); - [DllImport("PCI-Dask.dll")] - public static extern short Release_Card (ushort CardNumber); - [DllImport("PCI-Dask.dll")] - public static extern short GetActualRate (ushort CardNumber, double fSampleRate, out double fActualRate); - [DllImport("PCI-Dask.dll")] - public static extern short EMGShutDownControl (ushort CardNumber, byte ctrl); - [DllImport("PCI-Dask.dll")] - public static extern short EMGShutDownStatus (ushort CardNumber, out byte sts); - [DllImport("PCI-Dask.dll")] - public static extern short HotResetHoldControl(ushort wCardNumber, byte enable); - [DllImport("PCI-Dask.dll")] - public static extern short HotResetHoldStatus(ushort wCardNumber, out byte sts); - [DllImport("PCI-Dask.dll")] - public static extern short GetInitPattern (ushort CardNumber, byte patID, out uint pattern); - [DllImport("PCI-Dask.dll")] - public static extern short SetInitPattern(ushort wCardNumber, byte patID, uint pattern); - [DllImport("PCI-Dask.dll")] - public static extern short IdentifyLED_Control (ushort CardNumber, byte ctrl); -/*---------------------------------------------------------------------------*/ - [DllImport("PCI-Dask.dll")] - public static extern short AI_9111_Config (ushort CardNumber, ushort TrigSource, ushort TrgMode, ushort TraceCnt); - [DllImport("PCI-Dask.dll")] - public static extern short AI_9112_Config (ushort CardNumber, ushort TrigSource); - [DllImport("PCI-Dask.dll")] - public static extern short AI_9113_Config (ushort CardNumber, ushort TrigSource); - [DllImport("PCI-Dask.dll")] - public static extern short AI_9114_Config (ushort CardNumber, ushort TrigSource); - [DllImport("PCI-Dask.dll")] - public static extern short AI_9116_Config (ushort CardNumber, ushort ConfigCtrl, ushort TrigCtrl, ushort PostCnt, ushort MCnt, ushort ReTrgCnt); - [DllImport("PCI-Dask.dll")] - public static extern short AI_9118_Config (ushort CardNumber, ushort ModeCtrl, ushort FunCtrl, ushort BurstCnt, ushort PostCnt); - [DllImport("PCI-Dask.dll")] - public static extern short AI_9812_Config (ushort CardNumber, ushort TrgMode, ushort TrgSrc, ushort TrgPol, ushort ClkSel, ushort TrgLevel, ushort PostCnt); - [DllImport("PCI-Dask.dll")] - public static extern short AI_9812_SetDiv (ushort wCardNumber, uint PacerVal); - [DllImport("PCI-Dask.dll")] - public static extern short AI_9114_PreTrigConfig (ushort CardNumber, ushort PreTrgEn, ushort TraceCnt); - [DllImport("PCI-Dask.dll")] - public static extern short AI_9116_CounterInterval (ushort wCardNumber, uint ScanIntrv, uint SampIntrv); - [DllImport("PCI-Dask.dll")] - public static extern short AI_InitialMemoryAllocated (ushort CardNumber, out uint MemSize); - [DllImport("PCI-Dask.dll")] - public static extern short AI_ReadChannel (ushort CardNumber, ushort Channel, ushort AdRange, out ushort Value); - [DllImport("PCI-Dask.dll")] - public static extern short AI_VReadChannel (ushort CardNumber, ushort Channel, ushort AdRange, out double voltage); - [DllImport("PCI-Dask.dll")] - public static extern short AI_VoltScale (ushort CardNumber, ushort AdRange, ushort reading, out double voltage); - [DllImport("PCI-Dask.dll")] - public static extern short AI_ContReadChannel (ushort CardNumber, ushort Channel, ushort AdRange, - ushort[] Buffer, uint ReadCount, double SampleRate, ushort SyncMode); - [DllImport("PCI-Dask.dll")] - public static extern short AI_ContReadMultiChannels (ushort CardNumber, ushort NumChans, ushort[] Chans, - ushort[] AdRanges, ushort[] Buffer, uint ReadCount, - double SampleRate, ushort SyncMode); - [DllImport("PCI-Dask.dll")] - public static extern short AI_ContScanChannels (ushort CardNumber, ushort Channel, ushort AdRange, - ushort[] Buffer, uint ReadCount, double SampleRate, ushort SyncMode); - [DllImport("PCI-Dask.dll")] - public static extern short AI_ContReadChannelToFile (ushort CardNumber, ushort Channel, ushort AdRange, - string FileName, uint ReadCount, double SampleRate, ushort SyncMode); - [DllImport("PCI-Dask.dll")] - public static extern short AI_ContReadMultiChannelsToFile (ushort CardNumber, ushort NumChans, ushort[] Chans, - ushort[] AdRanges, string[] FileName, uint ReadCount, - double SampleRate, ushort SyncMode); - [DllImport("PCI-Dask.dll")] - public static extern short AI_ContScanChannelsToFile (ushort CardNumber, ushort Channel, ushort AdRange, - string FileName, uint ReadCount, double SampleRate, ushort SyncMode); - [DllImport("PCI-Dask.dll")] - public static extern short AI_ContStatus (ushort CardNumber, out ushort Status); - [DllImport("PCI-Dask.dll")] - public static extern short AI_ContVScale (ushort wCardNumber, ushort adRange, ushort[] readingArray, double[] voltageArray, int count); - [DllImport("PCI-Dask.dll")] - public static extern short AI_AsyncCheck(ushort CardNumber, out byte Stopped, out uint AccessCnt); - [DllImport("PCI-Dask.dll")] - public static extern short AI_AsyncClear (ushort CardNumber, out uint AccessCnt); - [DllImport("PCI-Dask.dll")] - public static extern short AI_AsyncDblBufferHalfReady(ushort CardNumber, out byte HalfReady, out byte StopFlag); - [DllImport("PCI-Dask.dll")] - public static extern short AI_AsyncDblBufferMode (ushort CardNumber, bool Enable); - [DllImport("PCI-Dask.dll")] - public static extern short AI_AsyncDblBufferTransfer (ushort CardNumber, ushort[] Buffer); - [DllImport("PCI-Dask.dll")] - public static extern short AI_AsyncDblBufferOverrun (ushort CardNumber, ushort op, out ushort overrunFlag); - [DllImport("PCI-Dask.dll")] - public static extern short AI_EventCallBack(ushort CardNumber, ushort mode, ushort EventType, MulticastDelegate callbackAddr); -/*---------------------------------------------------------------------------*/ - [DllImport("PCI-Dask.dll")] - public static extern short AO_6208A_Config (ushort CardNumber, ushort V2AMode); - [DllImport("PCI-Dask.dll")] - public static extern short AO_6308A_Config (ushort CardNumber, ushort V2AMode); - [DllImport("PCI-Dask.dll")] - public static extern short AO_6308V_Config (ushort wCardNumber, ushort Channel, ushort wOutputPolarity, double refVoltage); - [DllImport("PCI-Dask.dll")] - public static extern short AO_9111_Config (ushort CardNumber, ushort OutputPolarity); - [DllImport("PCI-Dask.dll")] - public static extern short AO_9112_Config (ushort CardNumber, ushort Channel, double refVoltage); - [DllImport("PCI-Dask.dll")] - public static extern short AO_WriteChannel (ushort CardNumber, ushort Channel, short Value); - [DllImport("PCI-Dask.dll")] - public static extern short AO_VWriteChannel (ushort CardNumber, ushort Channel, double Voltage); - [DllImport("PCI-Dask.dll")] - public static extern short AO_VoltScale (ushort CardNumber, ushort Channel, double Voltage, out short binValue); - [DllImport("PCI-Dask.dll")] - public static extern short AO_SimuWriteChannel (ushort wCardNumber, ushort wGroup, short[] pwBuffer); - [DllImport("PCI-Dask.dll")] - public static extern short AO_SimuVWriteChannel (ushort wCardNumber, ushort wGroup, double[] VBuffer); -/*---------------------------------------------------------------------------*/ - [DllImport("PCI-Dask.dll")] - public static extern short DI_7200_Config (ushort CardNumber, ushort TrigSource, ushort ExtTrigEn, ushort TrigPol, ushort I_REQ_Pol); - [DllImport("PCI-Dask.dll")] - public static extern short DI_7300A_Config (ushort CardNumber, ushort PortWidth, ushort TrigSource, ushort WaitStatus, ushort Terminator, ushort I_REQ_Pol, bool clear_fifo, bool disable_di); - [DllImport("PCI-Dask.dll")] - public static extern short DI_7300B_Config (ushort CardNumber, ushort PortWidth, ushort TrigSource, ushort WaitStatus, ushort Terminator, ushort I_Cntrl_Pol, bool clear_fifo, bool disable_di); - [DllImport("PCI-Dask.dll")] - public static extern short DI_InitialMemoryAllocated (ushort CardNumber, out uint DmaSize); - [DllImport("PCI-Dask.dll")] - public static extern short DI_ReadLine (ushort CardNumber, ushort Port, ushort Line, out ushort State); - [DllImport("PCI-Dask.dll")] - public static extern short DI_ReadPort (ushort CardNumber, ushort Port, out uint Value); - [DllImport("PCI-Dask.dll")] - public static extern short DI_ContReadPort (ushort CardNumber, ushort Port, byte[] Buffer, - uint ReadCount, double SampleRate, ushort SyncMode); - [DllImport("PCI-Dask.dll")] - public static extern short DI_ContReadPort (ushort CardNumber, ushort Port, ushort[] Buffer, - uint ReadCount, double SampleRate, ushort SyncMode); - [DllImport("PCI-Dask.dll")] - public static extern short DI_ContReadPort(ushort CardNumber, ushort Port, uint[] Buffer, - uint ReadCount, double SampleRate, ushort SyncMode); - [DllImport("PCI-Dask.dll")] - public static extern short DI_ContReadPortToFile (ushort CardNumber, ushort Port, string FileName, - uint ReadCount, double SampleRate, ushort SyncMode); - [DllImport("PCI-Dask.dll")] - public static extern short DI_ContStatus (ushort CardNumber, out ushort Status); - [DllImport("PCI-Dask.dll")] - public static extern short DI_AsyncCheck (ushort CardNumber, out byte Stopped, out uint AccessCnt); - [DllImport("PCI-Dask.dll")] - public static extern short DI_AsyncClear (ushort CardNumber, out uint AccessCnt); - [DllImport("PCI-Dask.dll")] - public static extern short DI_AsyncDblBufferHalfReady(ushort CardNumber, out byte HalfReady); - [DllImport("PCI-Dask.dll")] - public static extern short DI_AsyncDblBufferMode (ushort CardNumber, bool Enable); - [DllImport("PCI-Dask.dll")] - public static extern short DI_AsyncDblBufferTransfer (ushort CardNumber, byte[] Buffer); - [DllImport("PCI-Dask.dll")] - public static extern short DI_AsyncDblBufferTransfer (ushort CardNumber, short[] Buffer); - [DllImport("PCI-Dask.dll")] - public static extern short DI_AsyncDblBufferTransfer(ushort CardNumber, uint[] Buffer); - [DllImport("PCI-Dask.dll")] - public static extern short DI_ContMultiBufferSetup (ushort wCardNumber, byte[] pwBuffer, uint dwReadCount, out ushort BufferId); - [DllImport("PCI-Dask.dll")] - public static extern short DI_ContMultiBufferSetup (ushort wCardNumber, short[] pwBuffer, uint dwReadCount, out ushort BufferId); - [DllImport("PCI-Dask.dll")] - public static extern short DI_ContMultiBufferSetup(ushort wCardNumber, uint[] pwBuffer, uint dwReadCount, out ushort BufferId); - [DllImport("PCI-Dask.dll")] - public static extern short DI_ContMultiBufferStart (ushort wCardNumber, ushort wPort, double fSampleRate); - [DllImport("PCI-Dask.dll")] - public static extern short DI_AsyncMultiBufferNextReady(ushort CardNumber, out byte bNextReady, out ushort wBufferId); - [DllImport("PCI-Dask.dll")] - public static extern short DI_AsyncDblBufferOverrun (ushort CardNumber, ushort op, out ushort overrunFlag); - [DllImport("PCI-Dask.dll")] - public static extern short DI_EventCallBack(ushort CardNumber, short mode, short EventType, MulticastDelegate callbackAddr); -/*---------------------------------------------------------------------------*/ - [DllImport("PCI-Dask.dll")] - public static extern short DO_7200_Config (ushort CardNumber, ushort TrigSource, ushort OutReqEn, ushort OutTrigSig); - [DllImport("PCI-Dask.dll")] - public static extern short DO_7300A_Config (ushort CardNumber, ushort PortWidth, ushort TrigSource, ushort WaitStatus, ushort Terminator, ushort O_REQ_Pol); - [DllImport("PCI-Dask.dll")] - public static extern short DO_7300B_Config (ushort CardNumber, ushort PortWidth, ushort TrigSource, ushort WaitStatus, ushort Terminator, ushort O_Cntrl_Pol, uint FifoThreshold); - [DllImport("PCI-Dask.dll")] - public static extern short DO_InitialMemoryAllocated (ushort CardNumber, out uint MemSize); - [DllImport("PCI-Dask.dll")] - public static extern short DO_WriteLine (ushort CardNumber, ushort Port, ushort Line, ushort Value); - [DllImport("PCI-Dask.dll")] - public static extern short DO_WritePort (ushort CardNumber, byte Port, uint Value); - [DllImport("PCI-Dask.dll")] - public static extern short DO_WritePort (ushort CardNumber, ushort Port, uint Value); - [DllImport("PCI-Dask.dll")] - public static extern short DO_WritePort(ushort CardNumber, uint Port, uint Value); - [DllImport("PCI-Dask.dll")] - public static extern short DO_WriteExtTrigLine (ushort CardNumber, ushort Value); - [DllImport("PCI-Dask.dll")] - public static extern short DO_ReadLine (ushort CardNumber, ushort Port, ushort Line, out ushort Value); - [DllImport("PCI-Dask.dll")] - public static extern short DO_ReadPort (ushort CardNumber, ushort Port, out uint Value); - [DllImport("PCI-Dask.dll")] - public static extern short DO_ContWritePort (ushort CardNumber, ushort Port, byte[] Buffer, - uint WriteCount, ushort Iterations, double SampleRate, ushort SyncMode); - [DllImport("PCI-Dask.dll")] - public static extern short DO_ContWritePort (ushort CardNumber, ushort Port, ushort[] Buffer, - uint WriteCount, ushort Iterations, double SampleRate, ushort SyncMode); - [DllImport("PCI-Dask.dll")] - public static extern short DO_ContWritePort (ushort CardNumber, ushort Port, uint[] Buffer, - uint WriteCount, ushort Iterations, double SampleRate, ushort SyncMode); - [DllImport("PCI-Dask.dll")] - public static extern short DO_PGStart (ushort CardNumber, byte[] Buffer, uint WriteCount, double SampleRate); - [DllImport("PCI-Dask.dll")] - public static extern short DO_PGStart (ushort CardNumber, short[] Buffer, uint WriteCount, double SampleRate); - [DllImport("PCI-Dask.dll")] - public static extern short DO_PGStart(ushort CardNumber, uint[] Buffer, uint WriteCount, double SampleRate); - [DllImport("PCI-Dask.dll")] - public static extern short DO_PGStop (ushort CardNumber); - [DllImport("PCI-Dask.dll")] - public static extern short DO_ContStatus (ushort CardNumber, out ushort Status); - [DllImport("PCI-Dask.dll")] - public static extern short DO_AsyncCheck(ushort CardNumber, out byte Stopped, out uint AccessCnt); - [DllImport("PCI-Dask.dll")] - public static extern short DO_AsyncClear (ushort CardNumber, out uint AccessCnt); - [DllImport("PCI-Dask.dll")] - public static extern short EDO_9111_Config (ushort CardNumber, ushort EDO_Fun); - [DllImport("PCI-Dask.dll")] - public static extern short DO_ContMultiBufferSetup (ushort CardNumber, byte[] pwBuffer, uint dwWriteCount, out ushort BufferId); - [DllImport("PCI-Dask.dll")] - public static extern short DO_ContMultiBufferSetup (ushort CardNumber, short[] pwBuffer, uint dwWriteCount, out ushort BufferId); - [DllImport("PCI-Dask.dll")] - public static extern short DO_ContMultiBufferSetup(ushort CardNumber, uint[] pwBuffer, uint dwWriteCount, out ushort BufferId); - [DllImport("PCI-Dask.dll")] - public static extern short DO_AsyncMultiBufferNextReady(ushort CardNumber, out byte bNextReady, out ushort wBufferId); - [DllImport("PCI-Dask.dll")] - public static extern short DO_ContMultiBufferStart (ushort wCardNumber, ushort wPort, double fSampleRate); - [DllImport("PCI-Dask.dll")] - public static extern short DO_EventCallBack(ushort CardNumber, short mode, short EventType, MulticastDelegate callbackAddr); -/*---------------------------------------------------------------------------*/ - [DllImport("PCI-Dask.dll")] - public static extern short DIO_PortConfig (ushort CardNumber, ushort Port, ushort Direction); - [DllImport("PCI-Dask.dll")] - public static extern short DIO_LinesConfig(ushort wCardNumber, ushort wPort, ushort wLinesdirmap); - [DllImport("PCI-Dask.dll")] - public static extern short DIO_LineConfig(ushort wCardNumber, ushort wPort, ushort wLine, ushort wDirection); - [DllImport("PCI-Dask.dll")] - public static extern short DIO_SetDualInterrupt (ushort CardNumber, short Int1Mode, short Int2Mode, long hEvent); - [DllImport("PCI-Dask.dll")] - public static extern short DIO_SetCOSInterrupt (ushort CardNumber, ushort Port, ushort ctlA, ushort ctlB, ushort ctlC); - [DllImport("PCI-Dask.dll")] - public static extern short DIO_INT1_EventMessage(ushort CardNumber, short Int1Mode, long windowHandle, long message, MulticastDelegate callbackAddr); - [DllImport("PCI-Dask.dll")] - public static extern short DIO_INT2_EventMessage(ushort CardNumber, short Int2Mode, long windowHandle, long message, MulticastDelegate callbackAddr); - [DllImport("PCI-Dask.dll")] - public static extern short DIO_7300SetInterrupt (ushort CardNumber, short AuxDIEn, short T2En, long hEvent); - [DllImport("PCI-Dask.dll")] - public static extern short DIO_AUXDI_EventMessage(ushort CardNumber, short AuxDIEn, long windowHandle, uint message, MulticastDelegate callbackAddr); - [DllImport("PCI-Dask.dll")] - public static extern short DIO_T2_EventMessage(ushort CardNumber, short T2En, long windowHandle, uint message, MulticastDelegate callbackAddr); - [DllImport("PCI-Dask.dll")] - public static extern short DIO_GetCOSLatchData(ushort wCardNumber, out ushort CosLData); - [DllImport("PCI-Dask.dll")] - public static extern short DIO_SetCOSInterrupt32(ushort wCardNumber, byte Port, uint ctl, out long hEvent, bool bManualReset); - [DllImport("PCI-Dask.dll")] - public static extern short DIO_GetCOSLatchDataInt32(ushort wCardNumber, byte Port, out uint CosLData); -/*---------------------------------------------------------------------------*/ - [DllImport("PCI-Dask.dll")] - public static extern short CTR_Setup (ushort CardNumber, ushort Ctr, ushort Mode, uint Count, ushort BinBcd); - [DllImport("PCI-Dask.dll")] - public static extern short CTR_Clear (ushort CardNumber, ushort Ctr, ushort State); - [DllImport("PCI-Dask.dll")] - public static extern short CTR_Read (ushort CardNumber, ushort Ctr, out uint Value); - [DllImport("PCI-Dask.dll")] - public static extern short CTR_Update (ushort CardNumber, ushort Ctr, uint Count); - [DllImport("PCI-Dask.dll")] - public static extern short CTR_8554_ClkSrc_Config (ushort CardNumber, ushort Ctr, ushort ClockSource); - [DllImport("PCI-Dask.dll")] - public static extern short CTR_8554_CK1_Config (ushort CardNumber, ushort ClockSource); - [DllImport("PCI-Dask.dll")] - public static extern short CTR_8554_Debounce_Config (ushort CardNumber, ushort DebounceClock); - [DllImport("PCI-Dask.dll")] - public static extern short GCTR_Setup (ushort wCardNumber, ushort wGCtr, ushort wGCtrCtrl,uint dwCount); - [DllImport("PCI-Dask.dll")] - public static extern short GCTR_Clear (ushort wCardNumber, ushort wGCtr); - [DllImport("PCI-Dask.dll")] - public static extern short GCTR_Read (ushort wCardNumber, ushort wGCtr, out uint pValue); - [DllImport("PCI-Dask.dll")] - public static extern short WDT_Setup (ushort CardNumber, ushort wCtr, float ovflowSec, out float actualSec, out long hEvent); - [DllImport("PCI-Dask.dll")] - public static extern short WDT_Control (ushort wCardNumber, ushort wCtr, ushort action); - [DllImport("PCI-Dask.dll")] - public static extern short WDT_Status (ushort wCardNumber, ushort Ctr, out uint pValue); - [DllImport("PCI-Dask.dll")] - public static extern short WDT_Reload(ushort wCardNumber, float ovflowSec, out float actualSec); -/*---------------------------------------------------------------------------*/ - [DllImport("PCI-Dask.dll")] - public static extern short AI_GetEvent(ushort wCardNumber, out long hEvent); - [DllImport("PCI-Dask.dll")] - public static extern short AO_GetEvent(ushort wCardNumber, out long hEvent); - [DllImport("PCI-Dask.dll")] - public static extern short DI_GetEvent(ushort wCardNumber, out long hEvent); - [DllImport("PCI-Dask.dll")] - public static extern short DO_GetEvent(ushort wCardNumber, out long hEvent); -/*---------------------------------------------------------------------------*/ - [DllImport("PCI-Dask.dll")] - public static extern short AI_GetView(ushort wCardNumber, uint[] pView); - [DllImport("PCI-Dask.dll")] - public static extern short DI_GetView(ushort wCardNumber, uint[] pView); - [DllImport("PCI-Dask.dll")] - public static extern short DO_GetView(ushort wCardNumber, uint[] pView); -/*---------------------------------------------------------------------------*/ - [DllImport("PCI-Dask.dll")] - public static extern short GetCardType (ushort wCardNumber, out ushort cardType); - [DllImport("PCI-Dask.dll")] - public static extern short GetCardIndexFromID (ushort wCardNumber, out ushort cardType, out ushort cardIndex); - [DllImport("PCI-Dask.dll")] - public static extern short GetBaseAddr(ushort wCardNumber, uint[] BaseAddr, uint[] BaseAddr2); - [DllImport("PCI-Dask.dll")] - public static extern short GetLCRAddr(ushort wCardNumber, uint[] LcrAddr); -} \ No newline at end of file diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/.NET/C#/7300/D7300_DO_Single_Buffer_Sync/D7300_DO_Single_Buffer_Sync/Form1.Designer.cs b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/.NET/C#/7300/D7300_DO_Single_Buffer_Sync/D7300_DO_Single_Buffer_Sync/Form1.Designer.cs deleted file mode 100644 index 2ecb23a..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/.NET/C#/7300/D7300_DO_Single_Buffer_Sync/D7300_DO_Single_Buffer_Sync/Form1.Designer.cs +++ /dev/null @@ -1,63 +0,0 @@ -namespace D7300_DO_Single_Buffer_Sync -{ - partial class Form1 - { - /// - /// 設計工具所需的變數。 - /// - private System.ComponentModel.IContainer components = null; - - /// - /// 清除任何使用中的資源。 - /// - /// 如果應該公開 Managed 資源則為 true,否則為 false。 - protected override void Dispose(bool disposing) - { - if (disposing && (components != null)) - { - components.Dispose(); - } - base.Dispose(disposing); - } - - #region Windows Form 設計工具產生的程式碼 - - /// - /// 此為設計工具支援所需的方法 - 請勿使用程式碼編輯器修改這個方法的內容。 - /// - /// - private void InitializeComponent() - { - this.button1 = new System.Windows.Forms.Button(); - this.SuspendLayout(); - // - // button1 - // - this.button1.Location = new System.Drawing.Point(101, 45); - this.button1.Name = "button1"; - this.button1.Size = new System.Drawing.Size(73, 29); - this.button1.TabIndex = 1; - this.button1.Text = "Start"; - this.button1.UseVisualStyleBackColor = true; - this.button1.Click += new System.EventHandler(this.button1_Click); - // - // Form1 - // - this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F); - this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; - this.ClientSize = new System.Drawing.Size(292, 116); - this.Controls.Add(this.button1); - this.Name = "Form1"; - this.Text = "AO"; - this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.Form1_FormClosing); - this.Load += new System.EventHandler(this.Form1_Load); - this.ResumeLayout(false); - - } - - #endregion - - private System.Windows.Forms.Button button1; - } -} - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/.NET/C#/7300/D7300_DO_Single_Buffer_Sync/D7300_DO_Single_Buffer_Sync/Form1.cs b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/.NET/C#/7300/D7300_DO_Single_Buffer_Sync/D7300_DO_Single_Buffer_Sync/Form1.cs deleted file mode 100644 index eeef77d..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/.NET/C#/7300/D7300_DO_Single_Buffer_Sync/D7300_DO_Single_Buffer_Sync/Form1.cs +++ /dev/null @@ -1,61 +0,0 @@ -using System; -using System.Collections.Generic; -using System.ComponentModel; -using System.Data; -using System.Drawing; -using System.Text; -using System.Windows.Forms; - -namespace D7300_DO_Single_Buffer_Sync -{ - public partial class Form1 : Form - { - ushort[] data_buffer = new ushort[1000]; - public short m_dev; - public Form1() - { - InitializeComponent(); - } - - private void Form1_Load(object sender, EventArgs e) - { - m_dev = DASK.Register_Card(DASK.PCI_7300A_RevB, 0); - if (m_dev < 0) - { - MessageBox.Show("Register_Card error!"); - - } - } - - private void Form1_FormClosing(object sender, FormClosingEventArgs e) - { - short ret; - if (m_dev >= 0) - { - ret = DASK.Release_Card((ushort)m_dev); - } - } - - private void button1_Click(object sender, EventArgs e) - { - int i; - short err; - for (i = 0; i < 1000; i++) - { - data_buffer[i] = (ushort)i; - } - err = DASK.DO_7300B_Config((ushort)m_dev, 16, DASK.TRIG_INT_PACER, DASK.P7300_WAIT_NO, DASK.P7300_TERM_OFF, 0, 0x29810); - if (err != 0) - { - MessageBox.Show("DO_7300B_Config error!"); - return; - } - err = DASK.DO_ContWritePort((ushort)m_dev, 0, data_buffer, 1000,10, 10000, DASK.SYNCH_OP); - if (err != 0) - { - MessageBox.Show("DO_ContWritePort error!"); - return; - } - } - } -} \ No newline at end of file diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/.NET/C#/7300/D7300_DO_Single_Buffer_Sync/D7300_DO_Single_Buffer_Sync/Form1.resx b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/.NET/C#/7300/D7300_DO_Single_Buffer_Sync/D7300_DO_Single_Buffer_Sync/Form1.resx deleted file mode 100644 index 19dc0dd..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/.NET/C#/7300/D7300_DO_Single_Buffer_Sync/D7300_DO_Single_Buffer_Sync/Form1.resx +++ /dev/null @@ -1,120 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - text/microsoft-resx - - - 2.0 - - - System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - \ No newline at end of file diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/.NET/C#/7300/D7300_DO_Single_Buffer_Sync/D7300_DO_Single_Buffer_Sync/Program.cs b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/.NET/C#/7300/D7300_DO_Single_Buffer_Sync/D7300_DO_Single_Buffer_Sync/Program.cs deleted file mode 100644 index d110173..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/.NET/C#/7300/D7300_DO_Single_Buffer_Sync/D7300_DO_Single_Buffer_Sync/Program.cs +++ /dev/null @@ -1,20 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Windows.Forms; - -namespace D7300_DO_Single_Buffer_Sync -{ - static class Program - { - /// - /// 應用程式的主要進入點。 - /// - [STAThread] - static void Main() - { - Application.EnableVisualStyles(); - Application.SetCompatibleTextRenderingDefault(false); - Application.Run(new Form1()); - } - } -} \ No newline at end of file diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/.NET/C#/7300/D7300_DO_Single_Buffer_Sync/D7300_DO_Single_Buffer_Sync/Properties/AssemblyInfo.cs b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/.NET/C#/7300/D7300_DO_Single_Buffer_Sync/D7300_DO_Single_Buffer_Sync/Properties/AssemblyInfo.cs deleted file mode 100644 index 6dbbb8b..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/.NET/C#/7300/D7300_DO_Single_Buffer_Sync/D7300_DO_Single_Buffer_Sync/Properties/AssemblyInfo.cs +++ /dev/null @@ -1,33 +0,0 @@ -using System.Reflection; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; - -// 組件的一般資訊是由下列的屬性集控制。 -// 變更這些屬性的值即可修改組件的相關 -// 資訊。 -[assembly: AssemblyTitle("D7300_DO_Single_Buffer_Sync")] -[assembly: AssemblyDescription("")] -[assembly: AssemblyConfiguration("")] -[assembly: AssemblyCompany("ADLINK")] -[assembly: AssemblyProduct("D7300_DO_Single_Buffer_Sync")] -[assembly: AssemblyCopyright("Copyright (C) ADLINK 2007")] -[assembly: AssemblyTrademark("")] -[assembly: AssemblyCulture("")] - -// 將 ComVisible 設定為 false 會使得這個組件中的型別 -// 對 COM 元件而言為不可見。如果您需要從 COM 存取這個組件中 -// 的型別,請在該型別上將 ComVisible 屬性設定為 true。 -[assembly: ComVisible(false)] - -// 下列 GUID 為專案公開 (Expose) 至 COM 時所要使用的 typelib ID -[assembly: Guid("bcc3a5fa-3ea0-471d-a2b0-71fc2cf1bb64")] - -// 組件的版本資訊是由下列四項值構成: -// -// 主要版本 -// 次要版本 -// 組建編號 -// 修訂編號 -// -[assembly: AssemblyVersion("1.0.0.0")] -[assembly: AssemblyFileVersion("1.0.0.0")] diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/.NET/C#/7300/D7300_DO_Single_Buffer_Sync/D7300_DO_Single_Buffer_Sync/Properties/Resources.Designer.cs b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/.NET/C#/7300/D7300_DO_Single_Buffer_Sync/D7300_DO_Single_Buffer_Sync/Properties/Resources.Designer.cs deleted file mode 100644 index d3989f7..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/.NET/C#/7300/D7300_DO_Single_Buffer_Sync/D7300_DO_Single_Buffer_Sync/Properties/Resources.Designer.cs +++ /dev/null @@ -1,71 +0,0 @@ -//------------------------------------------------------------------------------ -// -// 這段程式碼是由工具產生的。 -// 執行階段版本:2.0.50727.42 -// -// 變更這個檔案可能會導致不正確的行為,而且如果已重新產生 -// 程式碼,這個檔案將會遺失。 -// -//------------------------------------------------------------------------------ - -namespace D7300_DO_Single_Buffer_Sync.Properties -{ - - - /// - /// 用於查詢當地語系化字串等的強型別資源類別 - /// - // 這個類別是自動產生的,是利用 StronglyTypedResourceBuilder - // 類別透過 ResGen 或 Visual Studio 這類工具。 - // 若要加入或移除成員,請編輯您的 .ResX 檔,然後重新執行 ResGen - // (利用 /str 選項),或重建您的 VS 專案。 - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "2.0.0.0")] - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()] - internal class Resources - { - - private static global::System.Resources.ResourceManager resourceMan; - - private static global::System.Globalization.CultureInfo resourceCulture; - - [global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")] - internal Resources() - { - } - - /// - /// 傳回這個類別使用的快取的 ResourceManager 執行個體。 - /// - [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] - internal static global::System.Resources.ResourceManager ResourceManager - { - get - { - if ((resourceMan == null)) - { - global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("D7300_DO_Single_Buffer_Sync.Properties.Resources", typeof(Resources).Assembly); - resourceMan = temp; - } - return resourceMan; - } - } - - /// - /// 覆寫目前執行緒的 CurrentUICulture 屬性,對象是所有 - /// 使用這個強型別資源類別的資源查閱。 - /// - [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] - internal static global::System.Globalization.CultureInfo Culture - { - get - { - return resourceCulture; - } - set - { - resourceCulture = value; - } - } - } -} diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/.NET/C#/7300/D7300_DO_Single_Buffer_Sync/D7300_DO_Single_Buffer_Sync/Properties/Resources.resx b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/.NET/C#/7300/D7300_DO_Single_Buffer_Sync/D7300_DO_Single_Buffer_Sync/Properties/Resources.resx deleted file mode 100644 index af7dbeb..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/.NET/C#/7300/D7300_DO_Single_Buffer_Sync/D7300_DO_Single_Buffer_Sync/Properties/Resources.resx +++ /dev/null @@ -1,117 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - text/microsoft-resx - - - 2.0 - - - System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - \ No newline at end of file diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/.NET/C#/7300/D7300_DO_Single_Buffer_Sync/D7300_DO_Single_Buffer_Sync/Properties/Settings.Designer.cs b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/.NET/C#/7300/D7300_DO_Single_Buffer_Sync/D7300_DO_Single_Buffer_Sync/Properties/Settings.Designer.cs deleted file mode 100644 index 32529cb..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/.NET/C#/7300/D7300_DO_Single_Buffer_Sync/D7300_DO_Single_Buffer_Sync/Properties/Settings.Designer.cs +++ /dev/null @@ -1,30 +0,0 @@ -//------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// Runtime Version:2.0.50727.42 -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -//------------------------------------------------------------------------------ - -namespace D7300_DO_Single_Buffer_Sync.Properties -{ - - - [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "8.0.0.0")] - internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase - { - - private static Settings defaultInstance = ((Settings)(global::System.Configuration.ApplicationSettingsBase.Synchronized(new Settings()))); - - public static Settings Default - { - get - { - return defaultInstance; - } - } - } -} diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/.NET/C#/7300/D7300_DO_Single_Buffer_Sync/D7300_DO_Single_Buffer_Sync/Properties/Settings.settings b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/.NET/C#/7300/D7300_DO_Single_Buffer_Sync/D7300_DO_Single_Buffer_Sync/Properties/Settings.settings deleted file mode 100644 index 3964565..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/.NET/C#/7300/D7300_DO_Single_Buffer_Sync/D7300_DO_Single_Buffer_Sync/Properties/Settings.settings +++ /dev/null @@ -1,7 +0,0 @@ - - - - - - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/.NET/C#/9112/D9112_AI_Single_Buffer_Callback/D9112_AI_Single_Buffer_Callback.sln b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/.NET/C#/9112/D9112_AI_Single_Buffer_Callback/D9112_AI_Single_Buffer_Callback.sln deleted file mode 100644 index ab41745..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/.NET/C#/9112/D9112_AI_Single_Buffer_Callback/D9112_AI_Single_Buffer_Callback.sln +++ /dev/null @@ -1,20 +0,0 @@ - -Microsoft Visual Studio Solution File, Format Version 9.00 -# Visual Studio 2005 -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "D9112_AI_Single_Buffer_Callback", "D9112_AI_Single_Buffer_Callback\D9112_AI_Single_Buffer_Callback.csproj", "{F270782E-3929-4F29-B83D-049EB4BA7258}" -EndProject -Global - GlobalSection(SolutionConfigurationPlatforms) = preSolution - Debug|Any CPU = Debug|Any CPU - Release|Any CPU = Release|Any CPU - EndGlobalSection - GlobalSection(ProjectConfigurationPlatforms) = postSolution - {F270782E-3929-4F29-B83D-049EB4BA7258}.Debug|Any CPU.ActiveCfg = Release|Any CPU - {F270782E-3929-4F29-B83D-049EB4BA7258}.Debug|Any CPU.Build.0 = Release|Any CPU - {F270782E-3929-4F29-B83D-049EB4BA7258}.Release|Any CPU.ActiveCfg = Release|Any CPU - {F270782E-3929-4F29-B83D-049EB4BA7258}.Release|Any CPU.Build.0 = Release|Any CPU - EndGlobalSection - GlobalSection(SolutionProperties) = preSolution - HideSolutionNode = FALSE - EndGlobalSection -EndGlobal diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/.NET/C#/9112/D9112_AI_Single_Buffer_Callback/D9112_AI_Single_Buffer_Callback/D9112_AI_Single_Buffer_Callback.csproj b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/.NET/C#/9112/D9112_AI_Single_Buffer_Callback/D9112_AI_Single_Buffer_Callback/D9112_AI_Single_Buffer_Callback.csproj deleted file mode 100644 index c16ce29..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/.NET/C#/9112/D9112_AI_Single_Buffer_Callback/D9112_AI_Single_Buffer_Callback/D9112_AI_Single_Buffer_Callback.csproj +++ /dev/null @@ -1,107 +0,0 @@ - - - Debug - AnyCPU - 8.0.50727 - 2.0 - {F270782E-3929-4F29-B83D-049EB4BA7258} - WinExe - Properties - D9112_AI_Single_Buffer_Callback - D9112_AI_Single_Buffer_Callback - - - true - full - false - bin\Debug\ - DEBUG;TRACE - prompt - 4 - x86 - - - pdbonly - true - bin\Release\ - TRACE - prompt - 4 - x86 - - - - - - - - - - - - - Form - - - Form1.cs - - - - - Designer - Form1.cs - - - ResXFileCodeGenerator - Resources.Designer.cs - Designer - - - True - Resources.resx - - - SettingsSingleFileGenerator - Settings.Designer.cs - - - True - Settings.settings - True - - - - - {5CB6BA63-F26A-11D2-BA6D-0080AD747B35} - 2 - 4 - 0 - aximp - False - - - {5CB6BA63-F26A-11D2-BA6D-0080AD747B35} - 2 - 4 - 0 - tlbimp - False - - - {00020430-0000-0000-C000-000000000046} - 2 - 0 - 0 - primary - False - - - - - \ No newline at end of file diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/.NET/C#/9112/D9112_AI_Single_Buffer_Callback/D9112_AI_Single_Buffer_Callback/Dask.cs b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/.NET/C#/9112/D9112_AI_Single_Buffer_Callback/D9112_AI_Single_Buffer_Callback/Dask.cs deleted file mode 100644 index 3947ef9..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/.NET/C#/9112/D9112_AI_Single_Buffer_Callback/D9112_AI_Single_Buffer_Callback/Dask.cs +++ /dev/null @@ -1,800 +0,0 @@ -using System.Runtime.InteropServices; -using System; - -public delegate void CallbackDelegate(); - -public class DASK -{ - //ADLink PCI Card Type - public const ushort PCI_6208V =1; - public const ushort PCI_6208A =2; - public const ushort PCI_6308V =3; - public const ushort PCI_6308A =4; - public const ushort PCI_7200 =5; - public const ushort PCI_7230 =6; - public const ushort PCI_7233 =7; - public const ushort PCI_7234 =8; - public const ushort PCI_7248 =9; - public const ushort PCI_7249 =10; - public const ushort PCI_7250 =11; - public const ushort PCI_7252 =12; - public const ushort PCI_7296 =13; - public const ushort PCI_7300A_RevA =14; - public const ushort PCI_7300A_RevB =15; - public const ushort PCI_7432 =16; - public const ushort PCI_7433 =17; - public const ushort PCI_7434 =18; - public const ushort PCI_8554 =19; - public const ushort PCI_9111DG =20; - public const ushort PCI_9111HR =21; - public const ushort PCI_9112 =22; - public const ushort PCI_9113 =23; - public const ushort PCI_9114DG =24; - public const ushort PCI_9114HG =25; - public const ushort PCI_9118DG =26; - public const ushort PCI_9118HG =27; - public const ushort PCI_9118HR =28; - public const ushort PCI_9810 =29; - public const ushort PCI_9812 =30; - public const ushort PCI_7396 =31; - public const ushort PCI_9116 =32; - public const ushort PCI_7256 =33; - public const ushort PCI_7258 =34; - public const ushort PCI_7260 =35; - public const ushort PCI_7452 =36; - public const ushort PCI_7442 =37; - - public const ushort MAX_CARD =32; - -//Error Number - public const short NoError =0; - public const short ErrorUnknownCardType =-1; - public const short ErrorInvalidCardNumber =-2; - public const short ErrorTooManyCardRegistered =-3; - public const short ErrorCardNotRegistered =-4; - public const short ErrorFuncNotSupport =-5; - public const short ErrorInvalidIoChannel =-6; - public const short ErrorInvalidAdRange =-7; - public const short ErrorContIoNotAllowed =-8; - public const short ErrorDiffRangeNotSupport =-9; - public const short ErrorLastChannelNotZero =-10; - public const short ErrorChannelNotDescending =-11; - public const short ErrorChannelNotAscending =-12; - public const short ErrorOpenDriverFailed =-13; - public const short ErrorOpenEventFailed =-14; - public const short ErrorTransferCountTooLarge =-15; - public const short ErrorNotDoubleBufferMode =-16; - public const short ErrorInvalidSampleRate =-17; - public const short ErrorInvalidCounterMode =-18; - public const short ErrorInvalidCounter =-19; - public const short ErrorInvalidCounterState =-20; - public const short ErrorInvalidBinBcdParam =-21; - public const short ErrorBadCardType =-22; - public const short ErrorInvalidDaRefVoltage =-23; - public const short ErrorAdTimeOut =-24; - public const short ErrorNoAsyncAI =-25; - public const short ErrorNoAsyncAO =-26; - public const short ErrorNoAsyncDI =-27; - public const short ErrorNoAsyncDO =-28; - public const short ErrorNotInputPort =-29; - public const short ErrorNotOutputPort =-30; - public const short ErrorInvalidDioPort =-31; - public const short ErrorInvalidDioLine =-32; - public const short ErrorContIoActive =-33; - public const short ErrorDblBufModeNotAllowed =-34; - public const short ErrorConfigFailed =-35; - public const short ErrorInvalidPortDirection =-36; - public const short ErrorBeginThreadError =-37; - public const short ErrorInvalidPortWidth =-38; - public const short ErrorInvalidCtrSource =-39; - public const short ErrorOpenFile =-40; - public const short ErrorAllocateMemory =-41; - public const short ErrorDaVoltageOutOfRange =-42; - public const short ErrorDaExtRefNotAllowed =-43; - public const short ErrorDIODataWidthError =-44; - public const short ErrorTaskCodeError =-45; - public const short ErrortriggercountError =-46; - public const short ErrorInvalidTriggerMode =-47; - public const short ErrorInvalidTriggerType =-48; - public const short ErrorInvalidCounterValue =-50; - public const short ErrorInvalidEventHandle =-60; - public const short ErrorNoMessageAvailable =-61; - public const short ErrorEventMessgaeNotAdded =-62; -//Error number for driver API - public const short ErrorConfigIoctl =-201; - public const short ErrorAsyncSetIoctl =-202; - public const short ErrorDBSetIoctl =-203; - public const short ErrorDBHalfReadyIoctl =-204; - public const short ErrorContOPIoctl =-205; - public const short ErrorContStatusIoctl =-206; - public const short ErrorPIOIoctl =-207; - public const short ErrorDIntSetIoctl =-208; - public const short ErrorWaitEvtIoctl =-209; - public const short ErrorOpenEvtIoctl =-210; - public const short ErrorCOSIntSetIoctl =-211; - public const short ErrorMemMapIoctl =-212; - public const short ErrorMemUMapSetIoctl =-213; - public const short ErrorCTRIoctl =-214; - public const short ErrorGetResIoctl =-215; - -//Synchronous Mode - public const ushort SYNCH_OP =1; - public const ushort ASYNCH_OP =2; - -//AD Range - public const ushort AD_B_10_V =1; - public const ushort AD_B_5_V =2; - public const ushort AD_B_2_5_V =3; - public const ushort AD_B_1_25_V =4; - public const ushort AD_B_0_625_V =5; - public const ushort AD_B_0_3125_V =6; - public const ushort AD_B_0_5_V =7; - public const ushort AD_B_0_05_V =8; - public const ushort AD_B_0_005_V =9; - public const ushort AD_B_1_V =10; - public const ushort AD_B_0_1_V =11; - public const ushort AD_B_0_01_V =12; - public const ushort AD_B_0_001_V =13; - public const ushort AD_U_20_V =14; - public const ushort AD_U_10_V =15; - public const ushort AD_U_5_V =16; - public const ushort AD_U_2_5_V =17; - public const ushort AD_U_1_25_V =18; - public const ushort AD_U_1_V =19; - public const ushort AD_U_0_1_V =20; - public const ushort AD_U_0_01_V =21; - public const ushort AD_U_0_001_V =22; - -//Clock Mode - public const ushort TRIG_SOFTWARE =0; - public const ushort TRIG_INT_PACER =1; - public const ushort TRIG_EXT_STROBE =2; - public const ushort TRIG_HANDSHAKE =3; - public const ushort TRIG_CLK_10MHZ =4; //PCI-7300A - public const ushort TRIG_CLK_20MHZ =5; //PCI-7300A - public const ushort TRIG_DO_CLK_TIMER_ACK =6; //PCI-7300A Rev. B - public const ushort TRIG_DO_CLK_10M_ACK =7; //PCI-7300A Rev. B - public const ushort TRIG_DO_CLK_20M_ACK =8; //PCI-7300A Rev. B -//Virtual Sampling Rate for using external clock as the clock source - public const double CLKSRC_EXT_SampRate =10000; - -//-------- Constants for PCI-6208A/PCI-6308A/PCI-6308V ------------------- -//Output Mode - public const ushort P6208_CURRENT_0_20MA =0; - public const ushort P6208_CURRENT_4_20MA =3; - public const ushort P6208_CURRENT_5_25MA =1; - public const ushort P6308_CURRENT_0_20MA =0; - public const ushort P6308_CURRENT_4_20MA =3; - public const ushort P6308_CURRENT_5_25MA =1; -//AO Setting - public const ushort P6308V_AO_CH0_3 =0; - public const ushort P6308V_AO_CH4_7 =1; - public const ushort P6308V_AO_UNIPOLAR =0; - public const ushort P6308V_AO_BIPOLAR =1; -//-------- Constants for PCI-7200 -------------------- -//InputMode - public const ushort DI_WAITING =0x02; - public const ushort DI_NOWAITING =0x00; - - public const ushort DI_TRIG_RISING =0x04; - public const ushort DI_TRIG_FALLING =0x00; - - public const ushort IREQ_RISING =0x08; - public const ushort IREQ_FALLING =0x00; - -//Output Mode - public const ushort OREQ_ENABLE =0x10; - public const ushort OREQ_DISABLE =0x00; - - public const ushort OTRIG_HIGH =0x20; - public const ushort OTRIG_LOW =0x00; - -//-------- Constants for PCI-7248/7296/7396/7442 --------------- -//DIO Port Direction - public const ushort INPUT_PORT = 1; - public const ushort OUTPUT_PORT = 2; -//DIO Line Direction - public const ushort INPUT_LINE = 1; - public const ushort OUTPUT_LINE = 2; - -//Channel & Port - public const ushort Channel_P1A =0; - public const ushort Channel_P1B =1; - public const ushort Channel_P1C =2; - public const ushort Channel_P1CL =3; - public const ushort Channel_P1CH =4; - public const ushort Channel_P1AE =10; - public const ushort Channel_P1BE =11; - public const ushort Channel_P1CE =12; - public const ushort Channel_P2A =5; - public const ushort Channel_P2B =6; - public const ushort Channel_P2C =7; - public const ushort Channel_P2CL =8; - public const ushort Channel_P2CH =9; - public const ushort Channel_P2AE =15; - public const ushort Channel_P2BE =16; - public const ushort Channel_P2CE =17; - public const ushort Channel_P3A =10; - public const ushort Channel_P3B =11; - public const ushort Channel_P3C =12; - public const ushort Channel_P3CL =13; - public const ushort Channel_P3CH =14; - public const ushort Channel_P4A =15; - public const ushort Channel_P4B =16; - public const ushort Channel_P4C =17; - public const ushort Channel_P4CL =18; - public const ushort Channel_P4CH =19; - public const ushort Channel_P5A =20; - public const ushort Channel_P5B =21; - public const ushort Channel_P5C =22; - public const ushort Channel_P5CL =23; - public const ushort Channel_P5CH =24; - public const ushort Channel_P6A =25; - public const ushort Channel_P6B =26; - public const ushort Channel_P6C =27; - public const ushort Channel_P6CL =28; - public const ushort Channel_P6CH =29; -//the following are used for PCI7396 - public const ushort Channel_P1 =30; - public const ushort Channel_P2 =31; - public const ushort Channel_P3 =32; - public const ushort Channel_P4 =33; - public const ushort Channel_P1E =34; //only used by DIO_PortConfig function - public const ushort Channel_P2E =35; //only used by DIO_PortConfig function - public const ushort Channel_P3E =36; //only used by DIO_PortConfig function - public const ushort Channel_P4E =37; //only used by DIO_PortConfig function -//7442 - public const ushort P7442_CH0 = 0; - public const ushort P7442_CH1 = 1; - public const ushort P7442_TTL0 = 2; - public const ushort P7442_TTL1 = 3; -//-------- Constants for PCI-7300A ------------------- -//Wait Status - public const ushort P7300_WAIT_NO =0; - public const ushort P7300_WAIT_TRG =1; - public const ushort P7300_WAIT_FIFO =2; - public const ushort P7300_WAIT_BOTH =3; - -//Terminator control - public const ushort P7300_TERM_OFF =0; - public const ushort P7300_TERM_ON =1; - -//DI control signals polarity for PCI-7300A Rev. B - public const ushort P7300_DIREQ_POS =0x00000000; - public const ushort P7300_DIREQ_NEG =0x00000001; - public const ushort P7300_DIACK_POS =0x00000000; - public const ushort P7300_DIACK_NEG =0x00000002; - public const ushort P7300_DITRIG_POS =0x00000000; - public const ushort P7300_DITRIG_NEG =0x00000004; - -//DO control signals polarity for PCI-7300A Rev. B - public const ushort P7300_DOREQ_POS =0x00000000; - public const ushort P7300_DOREQ_NEG =0x00000008; - public const ushort P7300_DOACK_POS =0x00000000; - public const ushort P7300_DOACK_NEG =0x00000010; - public const ushort P7300_DOTRIG_POS =0x00000000; - public const ushort P7300_DOTRIG_NEG =0x00000020; -//-------- Constants for PCI-7432/7433/7434 --------------- - public const ushort PORT_DI_LOW =0; - public const ushort PORT_DI_HIGH =1; - public const ushort PORT_DO_LOW =0; - public const ushort PORT_DO_HIGH =1; - public const ushort P7432R_DO_LED =1; - public const ushort P7433R_DO_LED =0; - public const ushort P7434R_DO_LED =2; - public const ushort P7432R_DI_SLOT =1; - public const ushort P7433R_DI_SLOT =2; - public const ushort P7434R_DI_SLOT =0; -//-- Dual-Interrupt Source control for PCI-7248/96 & 7432/33 & 7230 & 8554 & 7396 &7256 &7260 --- - public const short INT1_DISABLE =-1; //INT1 Disabled - public const short INT1_COS =0; //INT1 COS : only available for PCI-7396, PCI-7256, PCI-7260 - public const short INT1_FP1C0 =1; //INT1 by Falling edge of P1C0 : only available for PCI7248/96/7396 - public const short INT1_RP1C0_FP1C3 =2; //INT1 by P1C0 Rising or P1C3 Falling : only available for PCI7248/96/7396 - public const short INT1_EVENT_COUNTER =3; //INT1 by Event Counter down to zero : only available for PCI7248/96/7396 - public const short INT1_EXT_SIGNAL =1; //INT1 by external signal : only available for PCI7432/7433/7230/8554 - public const short INT1_COUT12 =1; //INT1 COUT12 : only available for PCI8554 - public const short INT1_CH0 =1; //INT1 CH0 : only available for PCI7256, PCI7260 - public const short INT1_COS0 =1; //INT1 COS0 : only available for PCI-7452/PCI-7442 - public const short INT1_COS1 =2; //INT1 COS1 : only available for PCI-7452/PCI-7442 - public const short INT1_COS2 =4; //INT1 COS2 : only available for PCI-7452/PCI-7442 - public const short INT1_COS3 =8; //INT1 COS3 : only available for PCI-7452/PCI-7442 - public const short INT2_DISABLE =-1; //INT2 Disabled - public const short INT2_COS =0; //INT2 COS : only available for PCI-7396 - public const short INT2_FP2C0 =1; //INT2 by Falling edge of P2C0 : only available for PCI7248/96/7396 - public const short INT2_RP2C0_FP2C3 =2; //INT2 by P2C0 Rising or P2C3 Falling : only available for PCI7248/96/7396 - public const short INT2_TIMER_COUNTER =3; //INT2 by Timer Counter down to zero : only available for PCI7248/96/7396 - public const short INT2_EXT_SIGNAL =1; //INT2 by external signal : only available for PCI7432/7433/7230/8554 - public const short INT2_CH1 =2; //INT2 CH1 : only available for PCI7256, PCI7260 - public const short INT2_WDT =4; //INT2 by WDT - - public const ushort ManualResetIEvt =0x4000;//interrupt event is manually reset by user - public const ushort WDT_OVRFLOW_SAFETYOUT =0x8000;// enable safteyout while WDT overflow -//-------- Constants for PCI-8554 -------------------- -//Clock Source of Cunter N - public const ushort ECKN =0; - public const ushort COUTN_1 =1; - public const ushort CK1 =2; - public const ushort COUT10 =3; - -//Clock Source of CK1 - public const ushort CK1_C8M =0; - public const ushort CK1_COUT11 =1; - -//Debounce Clock - public const ushort DBCLK_COUT11 =0; - public const ushort DBCLK_2MHZ =1; - -//-------- Constants for PCI-9111 -------------------- -//Dual Interrupt Mode - public const ushort P9111_INT1_EOC =0; //Ending of AD conversion - public const ushort P9111_INT1_FIFO_HF =1; //FIFO Half Full - public const ushort P9111_INT2_PACER =0; //Every Timer tick - public const ushort P9111_INT2_EXT_TRG =1; //ExtTrig High->Low - -//Channel Count - public const ushort P9111_CHANNEL_DO =0; - public const ushort P9111_CHANNEL_EDO =1; - public const ushort P9111_CHANNEL_DI =0; - public const ushort P9111_CHANNEL_EDI =1; - -//EDO function - public const ushort P9111_EDO_INPUT =1; //EDO port set as Input port - public const ushort P9111_EDO_OUT_EDO =2; //EDO port set as Output port - public const ushort P9111_EDO_OUT_CHN =3; //EDO port set as channel number ouput port - -//Trigger Mode - public const ushort P9111_TRGMOD_SOFT =0x00; //Software Trigger Mode - public const ushort P9111_TRGMOD_PRE =0x01; //Pre-Trigger Mode - public const ushort P9111_TRGMOD_POST =0x02; //Post Trigger Mode - -//AO Setting - public const ushort P9111_AO_UNIPOLAR =0; - public const ushort P9111_AO_BIPOLAR =1; - -//-------- Constants for PCI-9118 -------------------- - public const ushort P9118_AI_BiPolar =0x00; - public const ushort P9118_AI_UniPolar =0x01; - - public const ushort P9118_AI_SingEnded =0x00; - public const ushort P9118_AI_Differential =0x02; - - public const ushort P9118_AI_ExtG =0x04; - - public const ushort P9118_AI_ExtTrig =0x08; - - public const ushort P9118_AI_DtrgNegative =0x00; - public const ushort P9118_AI_DtrgPositive =0x10; - - public const ushort P9118_AI_EtrgNegative =0x00; - public const ushort P9118_AI_EtrgPositive =0x20; - - public const ushort P9118_AI_BurstModeEn =0x40; - public const ushort P9118_AI_SampleHold =0x80; - public const ushort P9118_AI_PostTrgEn =0x100; - public const ushort P9118_AI_AboutTrgEn =0x200; - -//-------- Constants for PCI-9116 -------------------- - public const ushort P9116_AI_LocalGND =0x00; - public const ushort P9116_AI_UserCMMD =0x01; - public const ushort P9116_AI_SingEnded =0x00; - public const ushort P9116_AI_Differential =0x02; - public const ushort P9116_AI_BiPolar =0x00; - public const ushort P9116_AI_UniPolar =0x04; - - public const ushort P9116_TRGMOD_SOFT =0x00; //Software Trigger Mode - public const ushort P9116_TRGMOD_POST =0x10; //Post Trigger Mode - public const ushort P9116_TRGMOD_DELAY =0x20; //Delay Trigger Mode - public const ushort P9116_TRGMOD_PRE =0x30; //Pre-Trigger Mode - public const ushort P9116_TRGMOD_MIDL =0x40; //Middle Trigger Mode - public const ushort P9116_AI_TrgPositive =0x00; - public const ushort P9116_AI_TrgNegative =0x80; - public const ushort P9116_AI_ExtTimeBase =0x100; - public const ushort P9116_AI_IntTimeBase =0x000; - public const ushort P9116_AI_DlyInSamples =0x200; - public const ushort P9116_AI_DlyInTimebase =0x000; - public const ushort P9116_AI_ReTrigEn =0x400; - public const ushort P9116_AI_MCounterEn =0x800; - public const ushort P9116_AI_SoftPolling =0x0000; - public const ushort P9116_AI_INT =0x1000; - public const ushort P9116_AI_DMA =0x2000; - -//-------- Constants for PCI-9812 -------------------- -//Trigger Mode - public const ushort P9812_TRGMOD_SOFT =0x00; //Software Trigger Mode - public const ushort P9812_TRGMOD_POST =0x01; //Post Trigger Mode - public const ushort P9812_TRGMOD_PRE =0x02; //Pre-Trigger Mode - public const ushort P9812_TRGMOD_DELAY =0x03; //Delay Trigger Mode - public const ushort P9812_TRGMOD_MIDL =0x04; //Middle Trigger Mode - - public const ushort P9812_AIEvent_Manual =0x08; //Middle Trigger Mode - - //Trigger Source - public const ushort P9812_TRGSRC_CH0 =0x00; //trigger source --CH0 - public const ushort P9812_TRGSRC_CH1 =0x08; //trigger source --CH1 - public const ushort P9812_TRGSRC_CH2 =0x10; //trigger source --CH2 - public const ushort P9812_TRGSRC_CH3 =0x18; //trigger source --CH3 - public const ushort P9812_TRGSRC_EXT_DIG =0x20; //External Digital Trigger - -//Trigger Polarity - public const ushort P9812_TRGSLP_POS =0x00; //Positive slope trigger - public const ushort P9812_TRGSLP_NEG =0x40; //Negative slope trigger - -//Frequency Selection - public const ushort P9812_AD2_GT_PCI =0x80; //Freq. of A/D clock > PCI clock freq. - public const ushort P9812_AD2_LT_PCI =0x00; //Freq. of A/D clock < PCI clock freq. - -//Clock Source - public const ushort P9812_CLKSRC_INT =0x000; //Internal clock - public const ushort P9812_CLKSRC_EXT_SIN =0x100; //External SIN wave clock - public const ushort P9812_CLKSRC_EXT_DIG =0x200; //External Square wave clock - -//EMG shdn ctrl code - public const ushort EMGSHDN_OFF =0; //off - public const ushort EMGSHDN_ON =1; //on - public const ushort EMGSHDN_RECOVERY =2; //recovery - -//Hot Reset Hold ctrl code - public const ushort HRH_OFF =0; //off - public const ushort HRH_ON =1; //on - -//-------- Timer/Counter ----------------------------- -//Counter Mode (8254) - public const ushort TOGGLE_OUTPUT =0; //Toggle output from low to high on terminal count - public const ushort PROG_ONE_SHOT =1; //Programmable one-shot - public const ushort RATE_GENERATOR =2; //Rate generator - public const ushort SQ_WAVE_RATE_GENERATOR =3; //Square wave rate generator - public const ushort SOFT_TRIG =4; //Software-triggered strobe - public const ushort HARD_TRIG =5; //Hardware-triggered strobe - -//General Purpose Timer/Counter -//Counter Mode - public const ushort General_Counter =0x00; //general counter - public const ushort Pulse_Generation =0x01; //pulse generation -//GPTC clock source - public const ushort GPTC_CLKSRC_EXT =0x08; - public const ushort GPTC_CLKSRC_INT =0x00; - public const ushort GPTC_GATESRC_EXT =0x10; - public const ushort GPTC_GATESRC_INT =0x00; - public const ushort GPTC_UPDOWN_SELECT_EXT =0x20; - public const ushort GPTC_UPDOWN_SELECT_SOFT =0x00; - public const ushort GPTC_UP_CTR =0x40; - public const ushort GPTC_DOWN_CTR =0x00; - public const ushort GPTC_ENABLE =0x80; - public const ushort GPTC_DISABLE =0x00; - -//Watchdog Timer -//Counter action - public const ushort WDT_DISARM =0; - public const ushort WDT_ARM =1; - public const ushort WDT_RESTART =2; - -//Pattern ID - public const ushort INIT_PTN =0; - public const ushort EMGSHDN_PTN =1; - -//16-bit binary or 4-decade BCD counter - public const ushort BIN =0; - public const ushort BCD =1; - -//Pattern ID for 7442 - public const ushort INIT_PTN_CH0 = 0; - public const ushort INIT_PTN_CH1 =1; - public const ushort SAFTOUT_PTN_CH0 =4; - public const ushort SAFTOUT_PTN_CH1 =5; - -//DAQ Event type for the event message - public const ushort AIEnd =0; - public const ushort DIEnd =0; - public const ushort DOEnd =0; - public const ushort DBEvent =1; - - public const ushort RegBySlot=0x8000; - -/*------------------------------------------------------------------ -** PCIS-DASK Function prototype -------------------------------------------------------------------*/ - [DllImport("PCI-Dask.dll")] - public static extern short Register_Card (ushort CardType, ushort card_num); - [DllImport("PCI-Dask.dll")] - public static extern short Release_Card (ushort CardNumber); - [DllImport("PCI-Dask.dll")] - public static extern short GetActualRate (ushort CardNumber, double fSampleRate, out double fActualRate); - [DllImport("PCI-Dask.dll")] - public static extern short EMGShutDownControl (ushort CardNumber, byte ctrl); - [DllImport("PCI-Dask.dll")] - public static extern short EMGShutDownStatus (ushort CardNumber, out byte sts); - [DllImport("PCI-Dask.dll")] - public static extern short HotResetHoldControl(ushort wCardNumber, byte enable); - [DllImport("PCI-Dask.dll")] - public static extern short HotResetHoldStatus(ushort wCardNumber, out byte sts); - [DllImport("PCI-Dask.dll")] - public static extern short GetInitPattern (ushort CardNumber, byte patID, out uint pattern); - [DllImport("PCI-Dask.dll")] - public static extern short SetInitPattern(ushort wCardNumber, byte patID, uint pattern); - [DllImport("PCI-Dask.dll")] - public static extern short IdentifyLED_Control (ushort CardNumber, byte ctrl); -/*---------------------------------------------------------------------------*/ - [DllImport("PCI-Dask.dll")] - public static extern short AI_9111_Config (ushort CardNumber, ushort TrigSource, ushort TrgMode, ushort TraceCnt); - [DllImport("PCI-Dask.dll")] - public static extern short AI_9112_Config (ushort CardNumber, ushort TrigSource); - [DllImport("PCI-Dask.dll")] - public static extern short AI_9113_Config (ushort CardNumber, ushort TrigSource); - [DllImport("PCI-Dask.dll")] - public static extern short AI_9114_Config (ushort CardNumber, ushort TrigSource); - [DllImport("PCI-Dask.dll")] - public static extern short AI_9116_Config (ushort CardNumber, ushort ConfigCtrl, ushort TrigCtrl, ushort PostCnt, ushort MCnt, ushort ReTrgCnt); - [DllImport("PCI-Dask.dll")] - public static extern short AI_9118_Config (ushort CardNumber, ushort ModeCtrl, ushort FunCtrl, ushort BurstCnt, ushort PostCnt); - [DllImport("PCI-Dask.dll")] - public static extern short AI_9812_Config (ushort CardNumber, ushort TrgMode, ushort TrgSrc, ushort TrgPol, ushort ClkSel, ushort TrgLevel, ushort PostCnt); - [DllImport("PCI-Dask.dll")] - public static extern short AI_9812_SetDiv (ushort wCardNumber, uint PacerVal); - [DllImport("PCI-Dask.dll")] - public static extern short AI_9114_PreTrigConfig (ushort CardNumber, ushort PreTrgEn, ushort TraceCnt); - [DllImport("PCI-Dask.dll")] - public static extern short AI_9116_CounterInterval (ushort wCardNumber, uint ScanIntrv, uint SampIntrv); - [DllImport("PCI-Dask.dll")] - public static extern short AI_InitialMemoryAllocated (ushort CardNumber, out uint MemSize); - [DllImport("PCI-Dask.dll")] - public static extern short AI_ReadChannel (ushort CardNumber, ushort Channel, ushort AdRange, out ushort Value); - [DllImport("PCI-Dask.dll")] - public static extern short AI_VReadChannel (ushort CardNumber, ushort Channel, ushort AdRange, out double voltage); - [DllImport("PCI-Dask.dll")] - public static extern short AI_VoltScale (ushort CardNumber, ushort AdRange, ushort reading, out double voltage); - [DllImport("PCI-Dask.dll")] - public static extern short AI_ContReadChannel (ushort CardNumber, ushort Channel, ushort AdRange, - ushort[] Buffer, uint ReadCount, double SampleRate, ushort SyncMode); - [DllImport("PCI-Dask.dll")] - public static extern short AI_ContReadMultiChannels (ushort CardNumber, ushort NumChans, ushort[] Chans, - ushort[] AdRanges, ushort[] Buffer, uint ReadCount, - double SampleRate, ushort SyncMode); - [DllImport("PCI-Dask.dll")] - public static extern short AI_ContScanChannels (ushort CardNumber, ushort Channel, ushort AdRange, - ushort[] Buffer, uint ReadCount, double SampleRate, ushort SyncMode); - [DllImport("PCI-Dask.dll")] - public static extern short AI_ContReadChannelToFile (ushort CardNumber, ushort Channel, ushort AdRange, - string FileName, uint ReadCount, double SampleRate, ushort SyncMode); - [DllImport("PCI-Dask.dll")] - public static extern short AI_ContReadMultiChannelsToFile (ushort CardNumber, ushort NumChans, ushort[] Chans, - ushort[] AdRanges, string[] FileName, uint ReadCount, - double SampleRate, ushort SyncMode); - [DllImport("PCI-Dask.dll")] - public static extern short AI_ContScanChannelsToFile (ushort CardNumber, ushort Channel, ushort AdRange, - string FileName, uint ReadCount, double SampleRate, ushort SyncMode); - [DllImport("PCI-Dask.dll")] - public static extern short AI_ContStatus (ushort CardNumber, out ushort Status); - [DllImport("PCI-Dask.dll")] - public static extern short AI_ContVScale (ushort wCardNumber, ushort adRange, ushort[] readingArray, double[] voltageArray, int count); - [DllImport("PCI-Dask.dll")] - public static extern short AI_AsyncCheck(ushort CardNumber, out byte Stopped, out uint AccessCnt); - [DllImport("PCI-Dask.dll")] - public static extern short AI_AsyncClear (ushort CardNumber, out uint AccessCnt); - [DllImport("PCI-Dask.dll")] - public static extern short AI_AsyncDblBufferHalfReady(ushort CardNumber, out byte HalfReady, out byte StopFlag); - [DllImport("PCI-Dask.dll")] - public static extern short AI_AsyncDblBufferMode (ushort CardNumber, bool Enable); - [DllImport("PCI-Dask.dll")] - public static extern short AI_AsyncDblBufferTransfer (ushort CardNumber, ushort[] Buffer); - [DllImport("PCI-Dask.dll")] - public static extern short AI_AsyncDblBufferOverrun (ushort CardNumber, ushort op, out ushort overrunFlag); - [DllImport("PCI-Dask.dll")] - public static extern short AI_EventCallBack(ushort CardNumber, ushort mode, ushort EventType, MulticastDelegate callbackAddr); -/*---------------------------------------------------------------------------*/ - [DllImport("PCI-Dask.dll")] - public static extern short AO_6208A_Config (ushort CardNumber, ushort V2AMode); - [DllImport("PCI-Dask.dll")] - public static extern short AO_6308A_Config (ushort CardNumber, ushort V2AMode); - [DllImport("PCI-Dask.dll")] - public static extern short AO_6308V_Config (ushort wCardNumber, ushort Channel, ushort wOutputPolarity, double refVoltage); - [DllImport("PCI-Dask.dll")] - public static extern short AO_9111_Config (ushort CardNumber, ushort OutputPolarity); - [DllImport("PCI-Dask.dll")] - public static extern short AO_9112_Config (ushort CardNumber, ushort Channel, double refVoltage); - [DllImport("PCI-Dask.dll")] - public static extern short AO_WriteChannel (ushort CardNumber, ushort Channel, short Value); - [DllImport("PCI-Dask.dll")] - public static extern short AO_VWriteChannel (ushort CardNumber, ushort Channel, double Voltage); - [DllImport("PCI-Dask.dll")] - public static extern short AO_VoltScale (ushort CardNumber, ushort Channel, double Voltage, out short binValue); - [DllImport("PCI-Dask.dll")] - public static extern short AO_SimuWriteChannel (ushort wCardNumber, ushort wGroup, short[] pwBuffer); - [DllImport("PCI-Dask.dll")] - public static extern short AO_SimuVWriteChannel (ushort wCardNumber, ushort wGroup, double[] VBuffer); -/*---------------------------------------------------------------------------*/ - [DllImport("PCI-Dask.dll")] - public static extern short DI_7200_Config (ushort CardNumber, ushort TrigSource, ushort ExtTrigEn, ushort TrigPol, ushort I_REQ_Pol); - [DllImport("PCI-Dask.dll")] - public static extern short DI_7300A_Config (ushort CardNumber, ushort PortWidth, ushort TrigSource, ushort WaitStatus, ushort Terminator, ushort I_REQ_Pol, bool clear_fifo, bool disable_di); - [DllImport("PCI-Dask.dll")] - public static extern short DI_7300B_Config (ushort CardNumber, ushort PortWidth, ushort TrigSource, ushort WaitStatus, ushort Terminator, ushort I_Cntrl_Pol, bool clear_fifo, bool disable_di); - [DllImport("PCI-Dask.dll")] - public static extern short DI_InitialMemoryAllocated (ushort CardNumber, out uint DmaSize); - [DllImport("PCI-Dask.dll")] - public static extern short DI_ReadLine (ushort CardNumber, ushort Port, ushort Line, out ushort State); - [DllImport("PCI-Dask.dll")] - public static extern short DI_ReadPort (ushort CardNumber, ushort Port, out uint Value); - [DllImport("PCI-Dask.dll")] - public static extern short DI_ContReadPort (ushort CardNumber, ushort Port, byte[] Buffer, - uint ReadCount, double SampleRate, ushort SyncMode); - [DllImport("PCI-Dask.dll")] - public static extern short DI_ContReadPort (ushort CardNumber, ushort Port, ushort[] Buffer, - uint ReadCount, double SampleRate, ushort SyncMode); - [DllImport("PCI-Dask.dll")] - public static extern short DI_ContReadPort(ushort CardNumber, ushort Port, uint[] Buffer, - uint ReadCount, double SampleRate, ushort SyncMode); - [DllImport("PCI-Dask.dll")] - public static extern short DI_ContReadPortToFile (ushort CardNumber, ushort Port, string FileName, - uint ReadCount, double SampleRate, ushort SyncMode); - [DllImport("PCI-Dask.dll")] - public static extern short DI_ContStatus (ushort CardNumber, out ushort Status); - [DllImport("PCI-Dask.dll")] - public static extern short DI_AsyncCheck (ushort CardNumber, out byte Stopped, out uint AccessCnt); - [DllImport("PCI-Dask.dll")] - public static extern short DI_AsyncClear (ushort CardNumber, out uint AccessCnt); - [DllImport("PCI-Dask.dll")] - public static extern short DI_AsyncDblBufferHalfReady(ushort CardNumber, out byte HalfReady); - [DllImport("PCI-Dask.dll")] - public static extern short DI_AsyncDblBufferMode (ushort CardNumber, bool Enable); - [DllImport("PCI-Dask.dll")] - public static extern short DI_AsyncDblBufferTransfer (ushort CardNumber, byte[] Buffer); - [DllImport("PCI-Dask.dll")] - public static extern short DI_AsyncDblBufferTransfer (ushort CardNumber, short[] Buffer); - [DllImport("PCI-Dask.dll")] - public static extern short DI_AsyncDblBufferTransfer(ushort CardNumber, uint[] Buffer); - [DllImport("PCI-Dask.dll")] - public static extern short DI_ContMultiBufferSetup (ushort wCardNumber, byte[] pwBuffer, uint dwReadCount, out ushort BufferId); - [DllImport("PCI-Dask.dll")] - public static extern short DI_ContMultiBufferSetup (ushort wCardNumber, short[] pwBuffer, uint dwReadCount, out ushort BufferId); - [DllImport("PCI-Dask.dll")] - public static extern short DI_ContMultiBufferSetup(ushort wCardNumber, uint[] pwBuffer, uint dwReadCount, out ushort BufferId); - [DllImport("PCI-Dask.dll")] - public static extern short DI_ContMultiBufferStart (ushort wCardNumber, ushort wPort, double fSampleRate); - [DllImport("PCI-Dask.dll")] - public static extern short DI_AsyncMultiBufferNextReady(ushort CardNumber, out byte bNextReady, out ushort wBufferId); - [DllImport("PCI-Dask.dll")] - public static extern short DI_AsyncDblBufferOverrun (ushort CardNumber, ushort op, out ushort overrunFlag); - [DllImport("PCI-Dask.dll")] - public static extern short DI_EventCallBack(ushort CardNumber, short mode, short EventType, MulticastDelegate callbackAddr); -/*---------------------------------------------------------------------------*/ - [DllImport("PCI-Dask.dll")] - public static extern short DO_7200_Config (ushort CardNumber, ushort TrigSource, ushort OutReqEn, ushort OutTrigSig); - [DllImport("PCI-Dask.dll")] - public static extern short DO_7300A_Config (ushort CardNumber, ushort PortWidth, ushort TrigSource, ushort WaitStatus, ushort Terminator, ushort O_REQ_Pol); - [DllImport("PCI-Dask.dll")] - public static extern short DO_7300B_Config (ushort CardNumber, ushort PortWidth, ushort TrigSource, ushort WaitStatus, ushort Terminator, ushort O_Cntrl_Pol, uint FifoThreshold); - [DllImport("PCI-Dask.dll")] - public static extern short DO_InitialMemoryAllocated (ushort CardNumber, out uint MemSize); - [DllImport("PCI-Dask.dll")] - public static extern short DO_WriteLine (ushort CardNumber, ushort Port, ushort Line, ushort Value); - [DllImport("PCI-Dask.dll")] - public static extern short DO_WritePort (ushort CardNumber, byte Port, uint Value); - [DllImport("PCI-Dask.dll")] - public static extern short DO_WritePort (ushort CardNumber, ushort Port, uint Value); - [DllImport("PCI-Dask.dll")] - public static extern short DO_WritePort(ushort CardNumber, uint Port, uint Value); - [DllImport("PCI-Dask.dll")] - public static extern short DO_WriteExtTrigLine (ushort CardNumber, ushort Value); - [DllImport("PCI-Dask.dll")] - public static extern short DO_ReadLine (ushort CardNumber, ushort Port, ushort Line, out ushort Value); - [DllImport("PCI-Dask.dll")] - public static extern short DO_ReadPort (ushort CardNumber, ushort Port, out uint Value); - [DllImport("PCI-Dask.dll")] - public static extern short DO_ContWritePort (ushort CardNumber, ushort Port, byte[] Buffer, - uint WriteCount, ushort Iterations, double SampleRate, ushort SyncMode); - [DllImport("PCI-Dask.dll")] - public static extern short DO_ContWritePort (ushort CardNumber, ushort Port, ushort[] Buffer, - uint WriteCount, ushort Iterations, double SampleRate, ushort SyncMode); - [DllImport("PCI-Dask.dll")] - public static extern short DO_ContWritePort (ushort CardNumber, ushort Port, uint[] Buffer, - uint WriteCount, ushort Iterations, double SampleRate, ushort SyncMode); - [DllImport("PCI-Dask.dll")] - public static extern short DO_PGStart (ushort CardNumber, byte[] Buffer, uint WriteCount, double SampleRate); - [DllImport("PCI-Dask.dll")] - public static extern short DO_PGStart (ushort CardNumber, short[] Buffer, uint WriteCount, double SampleRate); - [DllImport("PCI-Dask.dll")] - public static extern short DO_PGStart(ushort CardNumber, uint[] Buffer, uint WriteCount, double SampleRate); - [DllImport("PCI-Dask.dll")] - public static extern short DO_PGStop (ushort CardNumber); - [DllImport("PCI-Dask.dll")] - public static extern short DO_ContStatus (ushort CardNumber, out ushort Status); - [DllImport("PCI-Dask.dll")] - public static extern short DO_AsyncCheck(ushort CardNumber, out byte Stopped, out uint AccessCnt); - [DllImport("PCI-Dask.dll")] - public static extern short DO_AsyncClear (ushort CardNumber, out uint AccessCnt); - [DllImport("PCI-Dask.dll")] - public static extern short EDO_9111_Config (ushort CardNumber, ushort EDO_Fun); - [DllImport("PCI-Dask.dll")] - public static extern short DO_ContMultiBufferSetup (ushort CardNumber, byte[] pwBuffer, uint dwWriteCount, out ushort BufferId); - [DllImport("PCI-Dask.dll")] - public static extern short DO_ContMultiBufferSetup (ushort CardNumber, short[] pwBuffer, uint dwWriteCount, out ushort BufferId); - [DllImport("PCI-Dask.dll")] - public static extern short DO_ContMultiBufferSetup(ushort CardNumber, uint[] pwBuffer, uint dwWriteCount, out ushort BufferId); - [DllImport("PCI-Dask.dll")] - public static extern short DO_AsyncMultiBufferNextReady(ushort CardNumber, out byte bNextReady, out ushort wBufferId); - [DllImport("PCI-Dask.dll")] - public static extern short DO_ContMultiBufferStart (ushort wCardNumber, ushort wPort, double fSampleRate); - [DllImport("PCI-Dask.dll")] - public static extern short DO_EventCallBack(ushort CardNumber, short mode, short EventType, MulticastDelegate callbackAddr); -/*---------------------------------------------------------------------------*/ - [DllImport("PCI-Dask.dll")] - public static extern short DIO_PortConfig (ushort CardNumber, ushort Port, ushort Direction); - [DllImport("PCI-Dask.dll")] - public static extern short DIO_LinesConfig(ushort wCardNumber, ushort wPort, ushort wLinesdirmap); - [DllImport("PCI-Dask.dll")] - public static extern short DIO_LineConfig(ushort wCardNumber, ushort wPort, ushort wLine, ushort wDirection); - [DllImport("PCI-Dask.dll")] - public static extern short DIO_SetDualInterrupt (ushort CardNumber, short Int1Mode, short Int2Mode, long hEvent); - [DllImport("PCI-Dask.dll")] - public static extern short DIO_SetCOSInterrupt (ushort CardNumber, ushort Port, ushort ctlA, ushort ctlB, ushort ctlC); - [DllImport("PCI-Dask.dll")] - public static extern short DIO_INT1_EventMessage(ushort CardNumber, short Int1Mode, long windowHandle, long message, MulticastDelegate callbackAddr); - [DllImport("PCI-Dask.dll")] - public static extern short DIO_INT2_EventMessage(ushort CardNumber, short Int2Mode, long windowHandle, long message, MulticastDelegate callbackAddr); - [DllImport("PCI-Dask.dll")] - public static extern short DIO_7300SetInterrupt (ushort CardNumber, short AuxDIEn, short T2En, long hEvent); - [DllImport("PCI-Dask.dll")] - public static extern short DIO_AUXDI_EventMessage(ushort CardNumber, short AuxDIEn, long windowHandle, uint message, MulticastDelegate callbackAddr); - [DllImport("PCI-Dask.dll")] - public static extern short DIO_T2_EventMessage(ushort CardNumber, short T2En, long windowHandle, uint message, MulticastDelegate callbackAddr); - [DllImport("PCI-Dask.dll")] - public static extern short DIO_GetCOSLatchData(ushort wCardNumber, out ushort CosLData); - [DllImport("PCI-Dask.dll")] - public static extern short DIO_SetCOSInterrupt32(ushort wCardNumber, byte Port, uint ctl, out long hEvent, bool bManualReset); - [DllImport("PCI-Dask.dll")] - public static extern short DIO_GetCOSLatchDataInt32(ushort wCardNumber, byte Port, out uint CosLData); -/*---------------------------------------------------------------------------*/ - [DllImport("PCI-Dask.dll")] - public static extern short CTR_Setup (ushort CardNumber, ushort Ctr, ushort Mode, uint Count, ushort BinBcd); - [DllImport("PCI-Dask.dll")] - public static extern short CTR_Clear (ushort CardNumber, ushort Ctr, ushort State); - [DllImport("PCI-Dask.dll")] - public static extern short CTR_Read (ushort CardNumber, ushort Ctr, out uint Value); - [DllImport("PCI-Dask.dll")] - public static extern short CTR_Update (ushort CardNumber, ushort Ctr, uint Count); - [DllImport("PCI-Dask.dll")] - public static extern short CTR_8554_ClkSrc_Config (ushort CardNumber, ushort Ctr, ushort ClockSource); - [DllImport("PCI-Dask.dll")] - public static extern short CTR_8554_CK1_Config (ushort CardNumber, ushort ClockSource); - [DllImport("PCI-Dask.dll")] - public static extern short CTR_8554_Debounce_Config (ushort CardNumber, ushort DebounceClock); - [DllImport("PCI-Dask.dll")] - public static extern short GCTR_Setup (ushort wCardNumber, ushort wGCtr, ushort wGCtrCtrl,uint dwCount); - [DllImport("PCI-Dask.dll")] - public static extern short GCTR_Clear (ushort wCardNumber, ushort wGCtr); - [DllImport("PCI-Dask.dll")] - public static extern short GCTR_Read (ushort wCardNumber, ushort wGCtr, out uint pValue); - [DllImport("PCI-Dask.dll")] - public static extern short WDT_Setup (ushort CardNumber, ushort wCtr, float ovflowSec, out float actualSec, out long hEvent); - [DllImport("PCI-Dask.dll")] - public static extern short WDT_Control (ushort wCardNumber, ushort wCtr, ushort action); - [DllImport("PCI-Dask.dll")] - public static extern short WDT_Status (ushort wCardNumber, ushort Ctr, out uint pValue); - [DllImport("PCI-Dask.dll")] - public static extern short WDT_Reload(ushort wCardNumber, float ovflowSec, out float actualSec); -/*---------------------------------------------------------------------------*/ - [DllImport("PCI-Dask.dll")] - public static extern short AI_GetEvent(ushort wCardNumber, out long hEvent); - [DllImport("PCI-Dask.dll")] - public static extern short AO_GetEvent(ushort wCardNumber, out long hEvent); - [DllImport("PCI-Dask.dll")] - public static extern short DI_GetEvent(ushort wCardNumber, out long hEvent); - [DllImport("PCI-Dask.dll")] - public static extern short DO_GetEvent(ushort wCardNumber, out long hEvent); -/*---------------------------------------------------------------------------*/ - [DllImport("PCI-Dask.dll")] - public static extern short AI_GetView(ushort wCardNumber, uint[] pView); - [DllImport("PCI-Dask.dll")] - public static extern short DI_GetView(ushort wCardNumber, uint[] pView); - [DllImport("PCI-Dask.dll")] - public static extern short DO_GetView(ushort wCardNumber, uint[] pView); -/*---------------------------------------------------------------------------*/ - [DllImport("PCI-Dask.dll")] - public static extern short GetCardType (ushort wCardNumber, out ushort cardType); - [DllImport("PCI-Dask.dll")] - public static extern short GetCardIndexFromID (ushort wCardNumber, out ushort cardType, out ushort cardIndex); - [DllImport("PCI-Dask.dll")] - public static extern short GetBaseAddr(ushort wCardNumber, uint[] BaseAddr, uint[] BaseAddr2); - [DllImport("PCI-Dask.dll")] - public static extern short GetLCRAddr(ushort wCardNumber, uint[] LcrAddr); -} \ No newline at end of file diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/.NET/C#/9112/D9112_AI_Single_Buffer_Callback/D9112_AI_Single_Buffer_Callback/Form1.Designer.cs b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/.NET/C#/9112/D9112_AI_Single_Buffer_Callback/D9112_AI_Single_Buffer_Callback/Form1.Designer.cs deleted file mode 100644 index 46beb63..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/.NET/C#/9112/D9112_AI_Single_Buffer_Callback/D9112_AI_Single_Buffer_Callback/Form1.Designer.cs +++ /dev/null @@ -1,78 +0,0 @@ -namespace D9112_AI_Single_Buffer_Callback -{ - partial class Form1 - { - /// - /// 設計工具所需的變數。 - /// - private System.ComponentModel.IContainer components = null; - - /// - /// 清除任何使用中的資源。 - /// - /// 如果應該公開 Managed 資源則為 true,否則為 false。 - protected override void Dispose(bool disposing) - { - if (disposing && (components != null)) - { - components.Dispose(); - } - base.Dispose(disposing); - } - - #region Windows Form 設計工具產生的程式碼 - - /// - /// 此為設計工具支援所需的方法 - 請勿使用程式碼編輯器修改這個方法的內容。 - /// - /// - private void InitializeComponent() - { - System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Form1)); - this.button1 = new System.Windows.Forms.Button(); - this.axDGraph1 = new AxDBGRAPHLib.AxDGraph(); - ((System.ComponentModel.ISupportInitialize)(this.axDGraph1)).BeginInit(); - this.SuspendLayout(); - // - // button1 - // - this.button1.Location = new System.Drawing.Point(98, 242); - this.button1.Name = "button1"; - this.button1.Size = new System.Drawing.Size(90, 30); - this.button1.TabIndex = 2; - this.button1.Text = "Start"; - this.button1.UseVisualStyleBackColor = true; - this.button1.Click += new System.EventHandler(this.button1_Click); - // - // axDGraph1 - // - this.axDGraph1.Enabled = true; - this.axDGraph1.Location = new System.Drawing.Point(0, 0); - this.axDGraph1.Name = "axDGraph1"; - this.axDGraph1.OcxState = ((System.Windows.Forms.AxHost.State)(resources.GetObject("axDGraph1.OcxState"))); - this.axDGraph1.Size = new System.Drawing.Size(292, 236); - this.axDGraph1.TabIndex = 3; - // - // Form1 - // - this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F); - this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; - this.ClientSize = new System.Drawing.Size(292, 273); - this.Controls.Add(this.axDGraph1); - this.Controls.Add(this.button1); - this.Name = "Form1"; - this.Text = "Form1"; - this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.Form1_FormClosing); - this.Load += new System.EventHandler(this.Form1_Load); - ((System.ComponentModel.ISupportInitialize)(this.axDGraph1)).EndInit(); - this.ResumeLayout(false); - - } - - #endregion - - private System.Windows.Forms.Button button1; - private AxDBGRAPHLib.AxDGraph axDGraph1; - } -} - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/.NET/C#/9112/D9112_AI_Single_Buffer_Callback/D9112_AI_Single_Buffer_Callback/Form1.cs b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/.NET/C#/9112/D9112_AI_Single_Buffer_Callback/D9112_AI_Single_Buffer_Callback/Form1.cs deleted file mode 100644 index e871fb1..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/.NET/C#/9112/D9112_AI_Single_Buffer_Callback/D9112_AI_Single_Buffer_Callback/Form1.cs +++ /dev/null @@ -1,76 +0,0 @@ -using System; -using System.Collections.Generic; -using System.ComponentModel; -using System.Data; -using System.Drawing; -using System.Text; -using System.Windows.Forms; - -namespace D9112_AI_Single_Buffer_Callback -{ - public partial class Form1 : Form - { - public short m_dev; - CallbackDelegate m_del; - ushort[] m_data_buffer = new ushort[1000]; - double[] m_voltage_array = new double[1000]; - public Form1() - { - InitializeComponent(); - } - - private void Form1_Load(object sender, EventArgs e) - { - m_del = new CallbackDelegate(Callback); - m_dev = DASK.Register_Card(DASK.PCI_9112, 0); - if (m_dev < 0) - { - MessageBox.Show("Register_Card error!"); - - } - } - - private void Form1_FormClosing(object sender, FormClosingEventArgs e) - { - short ret; - if (m_dev >= 0) - { - ret = DASK.Release_Card((ushort)m_dev); - } - } - - private void button1_Click(object sender, EventArgs e) - { - short ret; - ret = DASK.AI_EventCallBack((ushort)m_dev, 1, DASK.AIEnd, m_del); - if (ret < 0) - { - MessageBox.Show("D2K_AI_EventCallBack error!"); - return; - } - ret = DASK.AI_9112_Config((ushort)m_dev, DASK.TRIG_INT_PACER); - if (ret < 0) - { - MessageBox.Show("AI_9112_Config error!"); - return; - } - ret = DASK.AI_ContReadChannel((ushort)m_dev, 0, DASK.AD_B_5_V, m_data_buffer, 1000, 10000, DASK.ASYNCH_OP); - if (ret < 0) - { - MessageBox.Show("AI_ContReadChannel error!"); - return; - } - } - private void Callback() - { - short ret; - ret = DASK.AI_ContVScale((ushort)m_dev, DASK.AD_B_5_V, m_data_buffer, m_voltage_array, 1000); - if (ret < 0) - { - MessageBox.Show("D2K_AI_ContVScale error!"); - return; - } - axDGraph1.PlotGraph(m_voltage_array, 0); - } - } -} \ No newline at end of file diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/.NET/C#/9112/D9112_AI_Single_Buffer_Callback/D9112_AI_Single_Buffer_Callback/Form1.resx b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/.NET/C#/9112/D9112_AI_Single_Buffer_Callback/D9112_AI_Single_Buffer_Callback/Form1.resx deleted file mode 100644 index ec695c4..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/.NET/C#/9112/D9112_AI_Single_Buffer_Callback/D9112_AI_Single_Buffer_Callback/Form1.resx +++ /dev/null @@ -1,138 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - text/microsoft-resx - - - 2.0 - - - System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - - AAEAAAD/////AQAAAAAAAAAMAgAAAFdTeXN0ZW0uV2luZG93cy5Gb3JtcywgVmVyc2lvbj0yLjAuMC4w - LCBDdWx0dXJlPW5ldXRyYWwsIFB1YmxpY0tleVRva2VuPWI3N2E1YzU2MTkzNGUwODkFAQAAACFTeXN0 - ZW0uV2luZG93cy5Gb3Jtcy5BeEhvc3QrU3RhdGUBAAAABERhdGEHAgIAAAAJAwAAAA8DAAAAcAIAAAIB - AAAAAQAAAAAZAAAAQ29weXJpZ2h0IChjKSAyMDAyIEFETGluawAAAABCAgAABAACAC4eAABkGAAABwAA - AADU0MgAAANS4wuRj84RneMAqgBLuFEBiAAAvALcfAEACLdzstOp+sXpAAABAAAAAAAAAAAAAADoAwAA - AAAAAAAAAAAAAS4AABAAAAAFAAAAAAAAAAAAAAAAAAAAEAAAAAUAAAAAAAAAAAAAAAAAAAAQAAAABQAA - AAAAAAAAAAAAAAAAAAABAAEBAQAAAAAAAAAAAACAgIAAQEBAAAAAAAAAEAAAAAUAAAAbwh9sAAAAAAAA - FEAQAAAABQAAABvCH2wAAAAAAAAUwBAAAAAFAGkAIHwuAQAAAAAA/q9AEAAAAAUAaQAgfC4BAAAAAAAA - AAABLgAAAAAQAAAABQAAAAAAAAAAAAAAAAAAABAAAAAFAAAAAAAAAAAAAAAAAAAAEAAAAAUAAAAAAAAA - AAAAAAAAAAABAAEAAQEAAAAAAAAAAAAAgICAAEBAQAAAAAAAGAAAAAAAAAAAAAEAAADoef8AAAD/AAAA - /wAAABgAAAAAAAAAAAABAAAA6Hn/gAAA/4AAAP+AAAAYAAAAAAAAAAAAAQAAAOh5//8AAP//AAD//wAA - GAAAAAAAAAAAAAEAAADoeQD/AAAA/wAAAP8AABgAAAAAAAAAAAABAAAA6HkA//8AAP//AAD//wAYAAAA - AAAAAAAAAQAAAOh5AAD/AAAA/wAAAP8AGAAAAAAAAAAAAAEAAADoef8A/wD/AP8A/wD/ABgAAAAAAAAA - AAABAAAA6HnAwMAAwMDAAMDAwAABAQAL - - - \ No newline at end of file diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/.NET/C#/9112/D9112_AI_Single_Buffer_Callback/D9112_AI_Single_Buffer_Callback/Program.cs b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/.NET/C#/9112/D9112_AI_Single_Buffer_Callback/D9112_AI_Single_Buffer_Callback/Program.cs deleted file mode 100644 index bec0cbd..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/.NET/C#/9112/D9112_AI_Single_Buffer_Callback/D9112_AI_Single_Buffer_Callback/Program.cs +++ /dev/null @@ -1,20 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Windows.Forms; - -namespace D9112_AI_Single_Buffer_Callback -{ - static class Program - { - /// - /// 應用程式的主要進入點。 - /// - [STAThread] - static void Main() - { - Application.EnableVisualStyles(); - Application.SetCompatibleTextRenderingDefault(false); - Application.Run(new Form1()); - } - } -} \ No newline at end of file diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/.NET/C#/9112/D9112_AI_Single_Buffer_Callback/D9112_AI_Single_Buffer_Callback/Properties/AssemblyInfo.cs b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/.NET/C#/9112/D9112_AI_Single_Buffer_Callback/D9112_AI_Single_Buffer_Callback/Properties/AssemblyInfo.cs deleted file mode 100644 index 2749eb2..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/.NET/C#/9112/D9112_AI_Single_Buffer_Callback/D9112_AI_Single_Buffer_Callback/Properties/AssemblyInfo.cs +++ /dev/null @@ -1,33 +0,0 @@ -using System.Reflection; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; - -// 組件的一般資訊是由下列的屬性集控制。 -// 變更這些屬性的值即可修改組件的相關 -// 資訊。 -[assembly: AssemblyTitle("D9112_AI_Single_Buffer_Callback")] -[assembly: AssemblyDescription("")] -[assembly: AssemblyConfiguration("")] -[assembly: AssemblyCompany("ADLINK")] -[assembly: AssemblyProduct("D9112_AI_Single_Buffer_Callback")] -[assembly: AssemblyCopyright("Copyright (C) ADLINK 2007")] -[assembly: AssemblyTrademark("")] -[assembly: AssemblyCulture("")] - -// 將 ComVisible 設定為 false 會使得這個組件中的型別 -// 對 COM 元件而言為不可見。如果您需要從 COM 存取這個組件中 -// 的型別,請在該型別上將 ComVisible 屬性設定為 true。 -[assembly: ComVisible(false)] - -// 下列 GUID 為專案公開 (Expose) 至 COM 時所要使用的 typelib ID -[assembly: Guid("0a21be72-a20c-4f81-bc5d-26046635ce2c")] - -// 組件的版本資訊是由下列四項值構成: -// -// 主要版本 -// 次要版本 -// 組建編號 -// 修訂編號 -// -[assembly: AssemblyVersion("1.0.0.0")] -[assembly: AssemblyFileVersion("1.0.0.0")] diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/.NET/C#/9112/D9112_AI_Single_Buffer_Callback/D9112_AI_Single_Buffer_Callback/Properties/Resources.Designer.cs b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/.NET/C#/9112/D9112_AI_Single_Buffer_Callback/D9112_AI_Single_Buffer_Callback/Properties/Resources.Designer.cs deleted file mode 100644 index 21a50d9..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/.NET/C#/9112/D9112_AI_Single_Buffer_Callback/D9112_AI_Single_Buffer_Callback/Properties/Resources.Designer.cs +++ /dev/null @@ -1,71 +0,0 @@ -//------------------------------------------------------------------------------ -// -// 這段程式碼是由工具產生的。 -// 執行階段版本:2.0.50727.42 -// -// 變更這個檔案可能會導致不正確的行為,而且如果已重新產生 -// 程式碼,這個檔案將會遺失。 -// -//------------------------------------------------------------------------------ - -namespace D9112_AI_Single_Buffer_Callback.Properties -{ - - - /// - /// 用於查詢當地語系化字串等的強型別資源類別 - /// - // 這個類別是自動產生的,是利用 StronglyTypedResourceBuilder - // 類別透過 ResGen 或 Visual Studio 這類工具。 - // 若要加入或移除成員,請編輯您的 .ResX 檔,然後重新執行 ResGen - // (利用 /str 選項),或重建您的 VS 專案。 - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "2.0.0.0")] - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()] - internal class Resources - { - - private static global::System.Resources.ResourceManager resourceMan; - - private static global::System.Globalization.CultureInfo resourceCulture; - - [global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")] - internal Resources() - { - } - - /// - /// 傳回這個類別使用的快取的 ResourceManager 執行個體。 - /// - [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] - internal static global::System.Resources.ResourceManager ResourceManager - { - get - { - if ((resourceMan == null)) - { - global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("D9112_AI_Single_Buffer_Callback.Properties.Resources", typeof(Resources).Assembly); - resourceMan = temp; - } - return resourceMan; - } - } - - /// - /// 覆寫目前執行緒的 CurrentUICulture 屬性,對象是所有 - /// 使用這個強型別資源類別的資源查閱。 - /// - [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] - internal static global::System.Globalization.CultureInfo Culture - { - get - { - return resourceCulture; - } - set - { - resourceCulture = value; - } - } - } -} diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/.NET/C#/9112/D9112_AI_Single_Buffer_Callback/D9112_AI_Single_Buffer_Callback/Properties/Resources.resx b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/.NET/C#/9112/D9112_AI_Single_Buffer_Callback/D9112_AI_Single_Buffer_Callback/Properties/Resources.resx deleted file mode 100644 index af7dbeb..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/.NET/C#/9112/D9112_AI_Single_Buffer_Callback/D9112_AI_Single_Buffer_Callback/Properties/Resources.resx +++ /dev/null @@ -1,117 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - text/microsoft-resx - - - 2.0 - - - System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - \ No newline at end of file diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/.NET/C#/9112/D9112_AI_Single_Buffer_Callback/D9112_AI_Single_Buffer_Callback/Properties/Settings.Designer.cs b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/.NET/C#/9112/D9112_AI_Single_Buffer_Callback/D9112_AI_Single_Buffer_Callback/Properties/Settings.Designer.cs deleted file mode 100644 index 9e8d866..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/.NET/C#/9112/D9112_AI_Single_Buffer_Callback/D9112_AI_Single_Buffer_Callback/Properties/Settings.Designer.cs +++ /dev/null @@ -1,30 +0,0 @@ -//------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// Runtime Version:2.0.50727.42 -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -//------------------------------------------------------------------------------ - -namespace D9112_AI_Single_Buffer_Callback.Properties -{ - - - [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "8.0.0.0")] - internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase - { - - private static Settings defaultInstance = ((Settings)(global::System.Configuration.ApplicationSettingsBase.Synchronized(new Settings()))); - - public static Settings Default - { - get - { - return defaultInstance; - } - } - } -} diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/.NET/C#/9112/D9112_AI_Single_Buffer_Callback/D9112_AI_Single_Buffer_Callback/Properties/Settings.settings b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/.NET/C#/9112/D9112_AI_Single_Buffer_Callback/D9112_AI_Single_Buffer_Callback/Properties/Settings.settings deleted file mode 100644 index 3964565..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/.NET/C#/9112/D9112_AI_Single_Buffer_Callback/D9112_AI_Single_Buffer_Callback/Properties/Settings.settings +++ /dev/null @@ -1,7 +0,0 @@ - - - - - - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/.NET/C#/9112/D9112_AI_Single_Buffer_Check/D9112_AI_Single_Buffer_Check.sln b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/.NET/C#/9112/D9112_AI_Single_Buffer_Check/D9112_AI_Single_Buffer_Check.sln deleted file mode 100644 index 9447210..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/.NET/C#/9112/D9112_AI_Single_Buffer_Check/D9112_AI_Single_Buffer_Check.sln +++ /dev/null @@ -1,20 +0,0 @@ - -Microsoft Visual Studio Solution File, Format Version 9.00 -# Visual Studio 2005 -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "D9112_AI_Single_Buffer_Check", "D9112_AI_Single_Buffer_Check\D9112_AI_Single_Buffer_Check.csproj", "{6FC4E9E2-C4DA-4B67-B70B-52005582EDB3}" -EndProject -Global - GlobalSection(SolutionConfigurationPlatforms) = preSolution - Debug|Any CPU = Debug|Any CPU - Release|Any CPU = Release|Any CPU - EndGlobalSection - GlobalSection(ProjectConfigurationPlatforms) = postSolution - {6FC4E9E2-C4DA-4B67-B70B-52005582EDB3}.Debug|Any CPU.ActiveCfg = Release|Any CPU - {6FC4E9E2-C4DA-4B67-B70B-52005582EDB3}.Debug|Any CPU.Build.0 = Release|Any CPU - {6FC4E9E2-C4DA-4B67-B70B-52005582EDB3}.Release|Any CPU.ActiveCfg = Release|Any CPU - {6FC4E9E2-C4DA-4B67-B70B-52005582EDB3}.Release|Any CPU.Build.0 = Release|Any CPU - EndGlobalSection - GlobalSection(SolutionProperties) = preSolution - HideSolutionNode = FALSE - EndGlobalSection -EndGlobal diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/.NET/C#/9112/D9112_AI_Single_Buffer_Check/D9112_AI_Single_Buffer_Check/D9112_AI_Single_Buffer_Check.csproj b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/.NET/C#/9112/D9112_AI_Single_Buffer_Check/D9112_AI_Single_Buffer_Check/D9112_AI_Single_Buffer_Check.csproj deleted file mode 100644 index 3ae6c36..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/.NET/C#/9112/D9112_AI_Single_Buffer_Check/D9112_AI_Single_Buffer_Check/D9112_AI_Single_Buffer_Check.csproj +++ /dev/null @@ -1,107 +0,0 @@ - - - Debug - AnyCPU - 8.0.50727 - 2.0 - {6FC4E9E2-C4DA-4B67-B70B-52005582EDB3} - WinExe - Properties - D9112_AI_Single_Buffer_Check - D9112_AI_Single_Buffer_Check - - - true - full - false - bin\Debug\ - DEBUG;TRACE - prompt - 4 - x86 - - - pdbonly - true - bin\Release\ - TRACE - prompt - 4 - x86 - - - - - - - - - - - - - Form - - - Form1.cs - - - - - Designer - Form1.cs - - - ResXFileCodeGenerator - Resources.Designer.cs - Designer - - - True - Resources.resx - - - SettingsSingleFileGenerator - Settings.Designer.cs - - - True - Settings.settings - True - - - - - {5CB6BA63-F26A-11D2-BA6D-0080AD747B35} - 2 - 4 - 0 - aximp - False - - - {5CB6BA63-F26A-11D2-BA6D-0080AD747B35} - 2 - 4 - 0 - tlbimp - False - - - {00020430-0000-0000-C000-000000000046} - 2 - 0 - 0 - primary - False - - - - - \ No newline at end of file diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/.NET/C#/9112/D9112_AI_Single_Buffer_Check/D9112_AI_Single_Buffer_Check/Dask.cs b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/.NET/C#/9112/D9112_AI_Single_Buffer_Check/D9112_AI_Single_Buffer_Check/Dask.cs deleted file mode 100644 index 3947ef9..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/.NET/C#/9112/D9112_AI_Single_Buffer_Check/D9112_AI_Single_Buffer_Check/Dask.cs +++ /dev/null @@ -1,800 +0,0 @@ -using System.Runtime.InteropServices; -using System; - -public delegate void CallbackDelegate(); - -public class DASK -{ - //ADLink PCI Card Type - public const ushort PCI_6208V =1; - public const ushort PCI_6208A =2; - public const ushort PCI_6308V =3; - public const ushort PCI_6308A =4; - public const ushort PCI_7200 =5; - public const ushort PCI_7230 =6; - public const ushort PCI_7233 =7; - public const ushort PCI_7234 =8; - public const ushort PCI_7248 =9; - public const ushort PCI_7249 =10; - public const ushort PCI_7250 =11; - public const ushort PCI_7252 =12; - public const ushort PCI_7296 =13; - public const ushort PCI_7300A_RevA =14; - public const ushort PCI_7300A_RevB =15; - public const ushort PCI_7432 =16; - public const ushort PCI_7433 =17; - public const ushort PCI_7434 =18; - public const ushort PCI_8554 =19; - public const ushort PCI_9111DG =20; - public const ushort PCI_9111HR =21; - public const ushort PCI_9112 =22; - public const ushort PCI_9113 =23; - public const ushort PCI_9114DG =24; - public const ushort PCI_9114HG =25; - public const ushort PCI_9118DG =26; - public const ushort PCI_9118HG =27; - public const ushort PCI_9118HR =28; - public const ushort PCI_9810 =29; - public const ushort PCI_9812 =30; - public const ushort PCI_7396 =31; - public const ushort PCI_9116 =32; - public const ushort PCI_7256 =33; - public const ushort PCI_7258 =34; - public const ushort PCI_7260 =35; - public const ushort PCI_7452 =36; - public const ushort PCI_7442 =37; - - public const ushort MAX_CARD =32; - -//Error Number - public const short NoError =0; - public const short ErrorUnknownCardType =-1; - public const short ErrorInvalidCardNumber =-2; - public const short ErrorTooManyCardRegistered =-3; - public const short ErrorCardNotRegistered =-4; - public const short ErrorFuncNotSupport =-5; - public const short ErrorInvalidIoChannel =-6; - public const short ErrorInvalidAdRange =-7; - public const short ErrorContIoNotAllowed =-8; - public const short ErrorDiffRangeNotSupport =-9; - public const short ErrorLastChannelNotZero =-10; - public const short ErrorChannelNotDescending =-11; - public const short ErrorChannelNotAscending =-12; - public const short ErrorOpenDriverFailed =-13; - public const short ErrorOpenEventFailed =-14; - public const short ErrorTransferCountTooLarge =-15; - public const short ErrorNotDoubleBufferMode =-16; - public const short ErrorInvalidSampleRate =-17; - public const short ErrorInvalidCounterMode =-18; - public const short ErrorInvalidCounter =-19; - public const short ErrorInvalidCounterState =-20; - public const short ErrorInvalidBinBcdParam =-21; - public const short ErrorBadCardType =-22; - public const short ErrorInvalidDaRefVoltage =-23; - public const short ErrorAdTimeOut =-24; - public const short ErrorNoAsyncAI =-25; - public const short ErrorNoAsyncAO =-26; - public const short ErrorNoAsyncDI =-27; - public const short ErrorNoAsyncDO =-28; - public const short ErrorNotInputPort =-29; - public const short ErrorNotOutputPort =-30; - public const short ErrorInvalidDioPort =-31; - public const short ErrorInvalidDioLine =-32; - public const short ErrorContIoActive =-33; - public const short ErrorDblBufModeNotAllowed =-34; - public const short ErrorConfigFailed =-35; - public const short ErrorInvalidPortDirection =-36; - public const short ErrorBeginThreadError =-37; - public const short ErrorInvalidPortWidth =-38; - public const short ErrorInvalidCtrSource =-39; - public const short ErrorOpenFile =-40; - public const short ErrorAllocateMemory =-41; - public const short ErrorDaVoltageOutOfRange =-42; - public const short ErrorDaExtRefNotAllowed =-43; - public const short ErrorDIODataWidthError =-44; - public const short ErrorTaskCodeError =-45; - public const short ErrortriggercountError =-46; - public const short ErrorInvalidTriggerMode =-47; - public const short ErrorInvalidTriggerType =-48; - public const short ErrorInvalidCounterValue =-50; - public const short ErrorInvalidEventHandle =-60; - public const short ErrorNoMessageAvailable =-61; - public const short ErrorEventMessgaeNotAdded =-62; -//Error number for driver API - public const short ErrorConfigIoctl =-201; - public const short ErrorAsyncSetIoctl =-202; - public const short ErrorDBSetIoctl =-203; - public const short ErrorDBHalfReadyIoctl =-204; - public const short ErrorContOPIoctl =-205; - public const short ErrorContStatusIoctl =-206; - public const short ErrorPIOIoctl =-207; - public const short ErrorDIntSetIoctl =-208; - public const short ErrorWaitEvtIoctl =-209; - public const short ErrorOpenEvtIoctl =-210; - public const short ErrorCOSIntSetIoctl =-211; - public const short ErrorMemMapIoctl =-212; - public const short ErrorMemUMapSetIoctl =-213; - public const short ErrorCTRIoctl =-214; - public const short ErrorGetResIoctl =-215; - -//Synchronous Mode - public const ushort SYNCH_OP =1; - public const ushort ASYNCH_OP =2; - -//AD Range - public const ushort AD_B_10_V =1; - public const ushort AD_B_5_V =2; - public const ushort AD_B_2_5_V =3; - public const ushort AD_B_1_25_V =4; - public const ushort AD_B_0_625_V =5; - public const ushort AD_B_0_3125_V =6; - public const ushort AD_B_0_5_V =7; - public const ushort AD_B_0_05_V =8; - public const ushort AD_B_0_005_V =9; - public const ushort AD_B_1_V =10; - public const ushort AD_B_0_1_V =11; - public const ushort AD_B_0_01_V =12; - public const ushort AD_B_0_001_V =13; - public const ushort AD_U_20_V =14; - public const ushort AD_U_10_V =15; - public const ushort AD_U_5_V =16; - public const ushort AD_U_2_5_V =17; - public const ushort AD_U_1_25_V =18; - public const ushort AD_U_1_V =19; - public const ushort AD_U_0_1_V =20; - public const ushort AD_U_0_01_V =21; - public const ushort AD_U_0_001_V =22; - -//Clock Mode - public const ushort TRIG_SOFTWARE =0; - public const ushort TRIG_INT_PACER =1; - public const ushort TRIG_EXT_STROBE =2; - public const ushort TRIG_HANDSHAKE =3; - public const ushort TRIG_CLK_10MHZ =4; //PCI-7300A - public const ushort TRIG_CLK_20MHZ =5; //PCI-7300A - public const ushort TRIG_DO_CLK_TIMER_ACK =6; //PCI-7300A Rev. B - public const ushort TRIG_DO_CLK_10M_ACK =7; //PCI-7300A Rev. B - public const ushort TRIG_DO_CLK_20M_ACK =8; //PCI-7300A Rev. B -//Virtual Sampling Rate for using external clock as the clock source - public const double CLKSRC_EXT_SampRate =10000; - -//-------- Constants for PCI-6208A/PCI-6308A/PCI-6308V ------------------- -//Output Mode - public const ushort P6208_CURRENT_0_20MA =0; - public const ushort P6208_CURRENT_4_20MA =3; - public const ushort P6208_CURRENT_5_25MA =1; - public const ushort P6308_CURRENT_0_20MA =0; - public const ushort P6308_CURRENT_4_20MA =3; - public const ushort P6308_CURRENT_5_25MA =1; -//AO Setting - public const ushort P6308V_AO_CH0_3 =0; - public const ushort P6308V_AO_CH4_7 =1; - public const ushort P6308V_AO_UNIPOLAR =0; - public const ushort P6308V_AO_BIPOLAR =1; -//-------- Constants for PCI-7200 -------------------- -//InputMode - public const ushort DI_WAITING =0x02; - public const ushort DI_NOWAITING =0x00; - - public const ushort DI_TRIG_RISING =0x04; - public const ushort DI_TRIG_FALLING =0x00; - - public const ushort IREQ_RISING =0x08; - public const ushort IREQ_FALLING =0x00; - -//Output Mode - public const ushort OREQ_ENABLE =0x10; - public const ushort OREQ_DISABLE =0x00; - - public const ushort OTRIG_HIGH =0x20; - public const ushort OTRIG_LOW =0x00; - -//-------- Constants for PCI-7248/7296/7396/7442 --------------- -//DIO Port Direction - public const ushort INPUT_PORT = 1; - public const ushort OUTPUT_PORT = 2; -//DIO Line Direction - public const ushort INPUT_LINE = 1; - public const ushort OUTPUT_LINE = 2; - -//Channel & Port - public const ushort Channel_P1A =0; - public const ushort Channel_P1B =1; - public const ushort Channel_P1C =2; - public const ushort Channel_P1CL =3; - public const ushort Channel_P1CH =4; - public const ushort Channel_P1AE =10; - public const ushort Channel_P1BE =11; - public const ushort Channel_P1CE =12; - public const ushort Channel_P2A =5; - public const ushort Channel_P2B =6; - public const ushort Channel_P2C =7; - public const ushort Channel_P2CL =8; - public const ushort Channel_P2CH =9; - public const ushort Channel_P2AE =15; - public const ushort Channel_P2BE =16; - public const ushort Channel_P2CE =17; - public const ushort Channel_P3A =10; - public const ushort Channel_P3B =11; - public const ushort Channel_P3C =12; - public const ushort Channel_P3CL =13; - public const ushort Channel_P3CH =14; - public const ushort Channel_P4A =15; - public const ushort Channel_P4B =16; - public const ushort Channel_P4C =17; - public const ushort Channel_P4CL =18; - public const ushort Channel_P4CH =19; - public const ushort Channel_P5A =20; - public const ushort Channel_P5B =21; - public const ushort Channel_P5C =22; - public const ushort Channel_P5CL =23; - public const ushort Channel_P5CH =24; - public const ushort Channel_P6A =25; - public const ushort Channel_P6B =26; - public const ushort Channel_P6C =27; - public const ushort Channel_P6CL =28; - public const ushort Channel_P6CH =29; -//the following are used for PCI7396 - public const ushort Channel_P1 =30; - public const ushort Channel_P2 =31; - public const ushort Channel_P3 =32; - public const ushort Channel_P4 =33; - public const ushort Channel_P1E =34; //only used by DIO_PortConfig function - public const ushort Channel_P2E =35; //only used by DIO_PortConfig function - public const ushort Channel_P3E =36; //only used by DIO_PortConfig function - public const ushort Channel_P4E =37; //only used by DIO_PortConfig function -//7442 - public const ushort P7442_CH0 = 0; - public const ushort P7442_CH1 = 1; - public const ushort P7442_TTL0 = 2; - public const ushort P7442_TTL1 = 3; -//-------- Constants for PCI-7300A ------------------- -//Wait Status - public const ushort P7300_WAIT_NO =0; - public const ushort P7300_WAIT_TRG =1; - public const ushort P7300_WAIT_FIFO =2; - public const ushort P7300_WAIT_BOTH =3; - -//Terminator control - public const ushort P7300_TERM_OFF =0; - public const ushort P7300_TERM_ON =1; - -//DI control signals polarity for PCI-7300A Rev. B - public const ushort P7300_DIREQ_POS =0x00000000; - public const ushort P7300_DIREQ_NEG =0x00000001; - public const ushort P7300_DIACK_POS =0x00000000; - public const ushort P7300_DIACK_NEG =0x00000002; - public const ushort P7300_DITRIG_POS =0x00000000; - public const ushort P7300_DITRIG_NEG =0x00000004; - -//DO control signals polarity for PCI-7300A Rev. B - public const ushort P7300_DOREQ_POS =0x00000000; - public const ushort P7300_DOREQ_NEG =0x00000008; - public const ushort P7300_DOACK_POS =0x00000000; - public const ushort P7300_DOACK_NEG =0x00000010; - public const ushort P7300_DOTRIG_POS =0x00000000; - public const ushort P7300_DOTRIG_NEG =0x00000020; -//-------- Constants for PCI-7432/7433/7434 --------------- - public const ushort PORT_DI_LOW =0; - public const ushort PORT_DI_HIGH =1; - public const ushort PORT_DO_LOW =0; - public const ushort PORT_DO_HIGH =1; - public const ushort P7432R_DO_LED =1; - public const ushort P7433R_DO_LED =0; - public const ushort P7434R_DO_LED =2; - public const ushort P7432R_DI_SLOT =1; - public const ushort P7433R_DI_SLOT =2; - public const ushort P7434R_DI_SLOT =0; -//-- Dual-Interrupt Source control for PCI-7248/96 & 7432/33 & 7230 & 8554 & 7396 &7256 &7260 --- - public const short INT1_DISABLE =-1; //INT1 Disabled - public const short INT1_COS =0; //INT1 COS : only available for PCI-7396, PCI-7256, PCI-7260 - public const short INT1_FP1C0 =1; //INT1 by Falling edge of P1C0 : only available for PCI7248/96/7396 - public const short INT1_RP1C0_FP1C3 =2; //INT1 by P1C0 Rising or P1C3 Falling : only available for PCI7248/96/7396 - public const short INT1_EVENT_COUNTER =3; //INT1 by Event Counter down to zero : only available for PCI7248/96/7396 - public const short INT1_EXT_SIGNAL =1; //INT1 by external signal : only available for PCI7432/7433/7230/8554 - public const short INT1_COUT12 =1; //INT1 COUT12 : only available for PCI8554 - public const short INT1_CH0 =1; //INT1 CH0 : only available for PCI7256, PCI7260 - public const short INT1_COS0 =1; //INT1 COS0 : only available for PCI-7452/PCI-7442 - public const short INT1_COS1 =2; //INT1 COS1 : only available for PCI-7452/PCI-7442 - public const short INT1_COS2 =4; //INT1 COS2 : only available for PCI-7452/PCI-7442 - public const short INT1_COS3 =8; //INT1 COS3 : only available for PCI-7452/PCI-7442 - public const short INT2_DISABLE =-1; //INT2 Disabled - public const short INT2_COS =0; //INT2 COS : only available for PCI-7396 - public const short INT2_FP2C0 =1; //INT2 by Falling edge of P2C0 : only available for PCI7248/96/7396 - public const short INT2_RP2C0_FP2C3 =2; //INT2 by P2C0 Rising or P2C3 Falling : only available for PCI7248/96/7396 - public const short INT2_TIMER_COUNTER =3; //INT2 by Timer Counter down to zero : only available for PCI7248/96/7396 - public const short INT2_EXT_SIGNAL =1; //INT2 by external signal : only available for PCI7432/7433/7230/8554 - public const short INT2_CH1 =2; //INT2 CH1 : only available for PCI7256, PCI7260 - public const short INT2_WDT =4; //INT2 by WDT - - public const ushort ManualResetIEvt =0x4000;//interrupt event is manually reset by user - public const ushort WDT_OVRFLOW_SAFETYOUT =0x8000;// enable safteyout while WDT overflow -//-------- Constants for PCI-8554 -------------------- -//Clock Source of Cunter N - public const ushort ECKN =0; - public const ushort COUTN_1 =1; - public const ushort CK1 =2; - public const ushort COUT10 =3; - -//Clock Source of CK1 - public const ushort CK1_C8M =0; - public const ushort CK1_COUT11 =1; - -//Debounce Clock - public const ushort DBCLK_COUT11 =0; - public const ushort DBCLK_2MHZ =1; - -//-------- Constants for PCI-9111 -------------------- -//Dual Interrupt Mode - public const ushort P9111_INT1_EOC =0; //Ending of AD conversion - public const ushort P9111_INT1_FIFO_HF =1; //FIFO Half Full - public const ushort P9111_INT2_PACER =0; //Every Timer tick - public const ushort P9111_INT2_EXT_TRG =1; //ExtTrig High->Low - -//Channel Count - public const ushort P9111_CHANNEL_DO =0; - public const ushort P9111_CHANNEL_EDO =1; - public const ushort P9111_CHANNEL_DI =0; - public const ushort P9111_CHANNEL_EDI =1; - -//EDO function - public const ushort P9111_EDO_INPUT =1; //EDO port set as Input port - public const ushort P9111_EDO_OUT_EDO =2; //EDO port set as Output port - public const ushort P9111_EDO_OUT_CHN =3; //EDO port set as channel number ouput port - -//Trigger Mode - public const ushort P9111_TRGMOD_SOFT =0x00; //Software Trigger Mode - public const ushort P9111_TRGMOD_PRE =0x01; //Pre-Trigger Mode - public const ushort P9111_TRGMOD_POST =0x02; //Post Trigger Mode - -//AO Setting - public const ushort P9111_AO_UNIPOLAR =0; - public const ushort P9111_AO_BIPOLAR =1; - -//-------- Constants for PCI-9118 -------------------- - public const ushort P9118_AI_BiPolar =0x00; - public const ushort P9118_AI_UniPolar =0x01; - - public const ushort P9118_AI_SingEnded =0x00; - public const ushort P9118_AI_Differential =0x02; - - public const ushort P9118_AI_ExtG =0x04; - - public const ushort P9118_AI_ExtTrig =0x08; - - public const ushort P9118_AI_DtrgNegative =0x00; - public const ushort P9118_AI_DtrgPositive =0x10; - - public const ushort P9118_AI_EtrgNegative =0x00; - public const ushort P9118_AI_EtrgPositive =0x20; - - public const ushort P9118_AI_BurstModeEn =0x40; - public const ushort P9118_AI_SampleHold =0x80; - public const ushort P9118_AI_PostTrgEn =0x100; - public const ushort P9118_AI_AboutTrgEn =0x200; - -//-------- Constants for PCI-9116 -------------------- - public const ushort P9116_AI_LocalGND =0x00; - public const ushort P9116_AI_UserCMMD =0x01; - public const ushort P9116_AI_SingEnded =0x00; - public const ushort P9116_AI_Differential =0x02; - public const ushort P9116_AI_BiPolar =0x00; - public const ushort P9116_AI_UniPolar =0x04; - - public const ushort P9116_TRGMOD_SOFT =0x00; //Software Trigger Mode - public const ushort P9116_TRGMOD_POST =0x10; //Post Trigger Mode - public const ushort P9116_TRGMOD_DELAY =0x20; //Delay Trigger Mode - public const ushort P9116_TRGMOD_PRE =0x30; //Pre-Trigger Mode - public const ushort P9116_TRGMOD_MIDL =0x40; //Middle Trigger Mode - public const ushort P9116_AI_TrgPositive =0x00; - public const ushort P9116_AI_TrgNegative =0x80; - public const ushort P9116_AI_ExtTimeBase =0x100; - public const ushort P9116_AI_IntTimeBase =0x000; - public const ushort P9116_AI_DlyInSamples =0x200; - public const ushort P9116_AI_DlyInTimebase =0x000; - public const ushort P9116_AI_ReTrigEn =0x400; - public const ushort P9116_AI_MCounterEn =0x800; - public const ushort P9116_AI_SoftPolling =0x0000; - public const ushort P9116_AI_INT =0x1000; - public const ushort P9116_AI_DMA =0x2000; - -//-------- Constants for PCI-9812 -------------------- -//Trigger Mode - public const ushort P9812_TRGMOD_SOFT =0x00; //Software Trigger Mode - public const ushort P9812_TRGMOD_POST =0x01; //Post Trigger Mode - public const ushort P9812_TRGMOD_PRE =0x02; //Pre-Trigger Mode - public const ushort P9812_TRGMOD_DELAY =0x03; //Delay Trigger Mode - public const ushort P9812_TRGMOD_MIDL =0x04; //Middle Trigger Mode - - public const ushort P9812_AIEvent_Manual =0x08; //Middle Trigger Mode - - //Trigger Source - public const ushort P9812_TRGSRC_CH0 =0x00; //trigger source --CH0 - public const ushort P9812_TRGSRC_CH1 =0x08; //trigger source --CH1 - public const ushort P9812_TRGSRC_CH2 =0x10; //trigger source --CH2 - public const ushort P9812_TRGSRC_CH3 =0x18; //trigger source --CH3 - public const ushort P9812_TRGSRC_EXT_DIG =0x20; //External Digital Trigger - -//Trigger Polarity - public const ushort P9812_TRGSLP_POS =0x00; //Positive slope trigger - public const ushort P9812_TRGSLP_NEG =0x40; //Negative slope trigger - -//Frequency Selection - public const ushort P9812_AD2_GT_PCI =0x80; //Freq. of A/D clock > PCI clock freq. - public const ushort P9812_AD2_LT_PCI =0x00; //Freq. of A/D clock < PCI clock freq. - -//Clock Source - public const ushort P9812_CLKSRC_INT =0x000; //Internal clock - public const ushort P9812_CLKSRC_EXT_SIN =0x100; //External SIN wave clock - public const ushort P9812_CLKSRC_EXT_DIG =0x200; //External Square wave clock - -//EMG shdn ctrl code - public const ushort EMGSHDN_OFF =0; //off - public const ushort EMGSHDN_ON =1; //on - public const ushort EMGSHDN_RECOVERY =2; //recovery - -//Hot Reset Hold ctrl code - public const ushort HRH_OFF =0; //off - public const ushort HRH_ON =1; //on - -//-------- Timer/Counter ----------------------------- -//Counter Mode (8254) - public const ushort TOGGLE_OUTPUT =0; //Toggle output from low to high on terminal count - public const ushort PROG_ONE_SHOT =1; //Programmable one-shot - public const ushort RATE_GENERATOR =2; //Rate generator - public const ushort SQ_WAVE_RATE_GENERATOR =3; //Square wave rate generator - public const ushort SOFT_TRIG =4; //Software-triggered strobe - public const ushort HARD_TRIG =5; //Hardware-triggered strobe - -//General Purpose Timer/Counter -//Counter Mode - public const ushort General_Counter =0x00; //general counter - public const ushort Pulse_Generation =0x01; //pulse generation -//GPTC clock source - public const ushort GPTC_CLKSRC_EXT =0x08; - public const ushort GPTC_CLKSRC_INT =0x00; - public const ushort GPTC_GATESRC_EXT =0x10; - public const ushort GPTC_GATESRC_INT =0x00; - public const ushort GPTC_UPDOWN_SELECT_EXT =0x20; - public const ushort GPTC_UPDOWN_SELECT_SOFT =0x00; - public const ushort GPTC_UP_CTR =0x40; - public const ushort GPTC_DOWN_CTR =0x00; - public const ushort GPTC_ENABLE =0x80; - public const ushort GPTC_DISABLE =0x00; - -//Watchdog Timer -//Counter action - public const ushort WDT_DISARM =0; - public const ushort WDT_ARM =1; - public const ushort WDT_RESTART =2; - -//Pattern ID - public const ushort INIT_PTN =0; - public const ushort EMGSHDN_PTN =1; - -//16-bit binary or 4-decade BCD counter - public const ushort BIN =0; - public const ushort BCD =1; - -//Pattern ID for 7442 - public const ushort INIT_PTN_CH0 = 0; - public const ushort INIT_PTN_CH1 =1; - public const ushort SAFTOUT_PTN_CH0 =4; - public const ushort SAFTOUT_PTN_CH1 =5; - -//DAQ Event type for the event message - public const ushort AIEnd =0; - public const ushort DIEnd =0; - public const ushort DOEnd =0; - public const ushort DBEvent =1; - - public const ushort RegBySlot=0x8000; - -/*------------------------------------------------------------------ -** PCIS-DASK Function prototype -------------------------------------------------------------------*/ - [DllImport("PCI-Dask.dll")] - public static extern short Register_Card (ushort CardType, ushort card_num); - [DllImport("PCI-Dask.dll")] - public static extern short Release_Card (ushort CardNumber); - [DllImport("PCI-Dask.dll")] - public static extern short GetActualRate (ushort CardNumber, double fSampleRate, out double fActualRate); - [DllImport("PCI-Dask.dll")] - public static extern short EMGShutDownControl (ushort CardNumber, byte ctrl); - [DllImport("PCI-Dask.dll")] - public static extern short EMGShutDownStatus (ushort CardNumber, out byte sts); - [DllImport("PCI-Dask.dll")] - public static extern short HotResetHoldControl(ushort wCardNumber, byte enable); - [DllImport("PCI-Dask.dll")] - public static extern short HotResetHoldStatus(ushort wCardNumber, out byte sts); - [DllImport("PCI-Dask.dll")] - public static extern short GetInitPattern (ushort CardNumber, byte patID, out uint pattern); - [DllImport("PCI-Dask.dll")] - public static extern short SetInitPattern(ushort wCardNumber, byte patID, uint pattern); - [DllImport("PCI-Dask.dll")] - public static extern short IdentifyLED_Control (ushort CardNumber, byte ctrl); -/*---------------------------------------------------------------------------*/ - [DllImport("PCI-Dask.dll")] - public static extern short AI_9111_Config (ushort CardNumber, ushort TrigSource, ushort TrgMode, ushort TraceCnt); - [DllImport("PCI-Dask.dll")] - public static extern short AI_9112_Config (ushort CardNumber, ushort TrigSource); - [DllImport("PCI-Dask.dll")] - public static extern short AI_9113_Config (ushort CardNumber, ushort TrigSource); - [DllImport("PCI-Dask.dll")] - public static extern short AI_9114_Config (ushort CardNumber, ushort TrigSource); - [DllImport("PCI-Dask.dll")] - public static extern short AI_9116_Config (ushort CardNumber, ushort ConfigCtrl, ushort TrigCtrl, ushort PostCnt, ushort MCnt, ushort ReTrgCnt); - [DllImport("PCI-Dask.dll")] - public static extern short AI_9118_Config (ushort CardNumber, ushort ModeCtrl, ushort FunCtrl, ushort BurstCnt, ushort PostCnt); - [DllImport("PCI-Dask.dll")] - public static extern short AI_9812_Config (ushort CardNumber, ushort TrgMode, ushort TrgSrc, ushort TrgPol, ushort ClkSel, ushort TrgLevel, ushort PostCnt); - [DllImport("PCI-Dask.dll")] - public static extern short AI_9812_SetDiv (ushort wCardNumber, uint PacerVal); - [DllImport("PCI-Dask.dll")] - public static extern short AI_9114_PreTrigConfig (ushort CardNumber, ushort PreTrgEn, ushort TraceCnt); - [DllImport("PCI-Dask.dll")] - public static extern short AI_9116_CounterInterval (ushort wCardNumber, uint ScanIntrv, uint SampIntrv); - [DllImport("PCI-Dask.dll")] - public static extern short AI_InitialMemoryAllocated (ushort CardNumber, out uint MemSize); - [DllImport("PCI-Dask.dll")] - public static extern short AI_ReadChannel (ushort CardNumber, ushort Channel, ushort AdRange, out ushort Value); - [DllImport("PCI-Dask.dll")] - public static extern short AI_VReadChannel (ushort CardNumber, ushort Channel, ushort AdRange, out double voltage); - [DllImport("PCI-Dask.dll")] - public static extern short AI_VoltScale (ushort CardNumber, ushort AdRange, ushort reading, out double voltage); - [DllImport("PCI-Dask.dll")] - public static extern short AI_ContReadChannel (ushort CardNumber, ushort Channel, ushort AdRange, - ushort[] Buffer, uint ReadCount, double SampleRate, ushort SyncMode); - [DllImport("PCI-Dask.dll")] - public static extern short AI_ContReadMultiChannels (ushort CardNumber, ushort NumChans, ushort[] Chans, - ushort[] AdRanges, ushort[] Buffer, uint ReadCount, - double SampleRate, ushort SyncMode); - [DllImport("PCI-Dask.dll")] - public static extern short AI_ContScanChannels (ushort CardNumber, ushort Channel, ushort AdRange, - ushort[] Buffer, uint ReadCount, double SampleRate, ushort SyncMode); - [DllImport("PCI-Dask.dll")] - public static extern short AI_ContReadChannelToFile (ushort CardNumber, ushort Channel, ushort AdRange, - string FileName, uint ReadCount, double SampleRate, ushort SyncMode); - [DllImport("PCI-Dask.dll")] - public static extern short AI_ContReadMultiChannelsToFile (ushort CardNumber, ushort NumChans, ushort[] Chans, - ushort[] AdRanges, string[] FileName, uint ReadCount, - double SampleRate, ushort SyncMode); - [DllImport("PCI-Dask.dll")] - public static extern short AI_ContScanChannelsToFile (ushort CardNumber, ushort Channel, ushort AdRange, - string FileName, uint ReadCount, double SampleRate, ushort SyncMode); - [DllImport("PCI-Dask.dll")] - public static extern short AI_ContStatus (ushort CardNumber, out ushort Status); - [DllImport("PCI-Dask.dll")] - public static extern short AI_ContVScale (ushort wCardNumber, ushort adRange, ushort[] readingArray, double[] voltageArray, int count); - [DllImport("PCI-Dask.dll")] - public static extern short AI_AsyncCheck(ushort CardNumber, out byte Stopped, out uint AccessCnt); - [DllImport("PCI-Dask.dll")] - public static extern short AI_AsyncClear (ushort CardNumber, out uint AccessCnt); - [DllImport("PCI-Dask.dll")] - public static extern short AI_AsyncDblBufferHalfReady(ushort CardNumber, out byte HalfReady, out byte StopFlag); - [DllImport("PCI-Dask.dll")] - public static extern short AI_AsyncDblBufferMode (ushort CardNumber, bool Enable); - [DllImport("PCI-Dask.dll")] - public static extern short AI_AsyncDblBufferTransfer (ushort CardNumber, ushort[] Buffer); - [DllImport("PCI-Dask.dll")] - public static extern short AI_AsyncDblBufferOverrun (ushort CardNumber, ushort op, out ushort overrunFlag); - [DllImport("PCI-Dask.dll")] - public static extern short AI_EventCallBack(ushort CardNumber, ushort mode, ushort EventType, MulticastDelegate callbackAddr); -/*---------------------------------------------------------------------------*/ - [DllImport("PCI-Dask.dll")] - public static extern short AO_6208A_Config (ushort CardNumber, ushort V2AMode); - [DllImport("PCI-Dask.dll")] - public static extern short AO_6308A_Config (ushort CardNumber, ushort V2AMode); - [DllImport("PCI-Dask.dll")] - public static extern short AO_6308V_Config (ushort wCardNumber, ushort Channel, ushort wOutputPolarity, double refVoltage); - [DllImport("PCI-Dask.dll")] - public static extern short AO_9111_Config (ushort CardNumber, ushort OutputPolarity); - [DllImport("PCI-Dask.dll")] - public static extern short AO_9112_Config (ushort CardNumber, ushort Channel, double refVoltage); - [DllImport("PCI-Dask.dll")] - public static extern short AO_WriteChannel (ushort CardNumber, ushort Channel, short Value); - [DllImport("PCI-Dask.dll")] - public static extern short AO_VWriteChannel (ushort CardNumber, ushort Channel, double Voltage); - [DllImport("PCI-Dask.dll")] - public static extern short AO_VoltScale (ushort CardNumber, ushort Channel, double Voltage, out short binValue); - [DllImport("PCI-Dask.dll")] - public static extern short AO_SimuWriteChannel (ushort wCardNumber, ushort wGroup, short[] pwBuffer); - [DllImport("PCI-Dask.dll")] - public static extern short AO_SimuVWriteChannel (ushort wCardNumber, ushort wGroup, double[] VBuffer); -/*---------------------------------------------------------------------------*/ - [DllImport("PCI-Dask.dll")] - public static extern short DI_7200_Config (ushort CardNumber, ushort TrigSource, ushort ExtTrigEn, ushort TrigPol, ushort I_REQ_Pol); - [DllImport("PCI-Dask.dll")] - public static extern short DI_7300A_Config (ushort CardNumber, ushort PortWidth, ushort TrigSource, ushort WaitStatus, ushort Terminator, ushort I_REQ_Pol, bool clear_fifo, bool disable_di); - [DllImport("PCI-Dask.dll")] - public static extern short DI_7300B_Config (ushort CardNumber, ushort PortWidth, ushort TrigSource, ushort WaitStatus, ushort Terminator, ushort I_Cntrl_Pol, bool clear_fifo, bool disable_di); - [DllImport("PCI-Dask.dll")] - public static extern short DI_InitialMemoryAllocated (ushort CardNumber, out uint DmaSize); - [DllImport("PCI-Dask.dll")] - public static extern short DI_ReadLine (ushort CardNumber, ushort Port, ushort Line, out ushort State); - [DllImport("PCI-Dask.dll")] - public static extern short DI_ReadPort (ushort CardNumber, ushort Port, out uint Value); - [DllImport("PCI-Dask.dll")] - public static extern short DI_ContReadPort (ushort CardNumber, ushort Port, byte[] Buffer, - uint ReadCount, double SampleRate, ushort SyncMode); - [DllImport("PCI-Dask.dll")] - public static extern short DI_ContReadPort (ushort CardNumber, ushort Port, ushort[] Buffer, - uint ReadCount, double SampleRate, ushort SyncMode); - [DllImport("PCI-Dask.dll")] - public static extern short DI_ContReadPort(ushort CardNumber, ushort Port, uint[] Buffer, - uint ReadCount, double SampleRate, ushort SyncMode); - [DllImport("PCI-Dask.dll")] - public static extern short DI_ContReadPortToFile (ushort CardNumber, ushort Port, string FileName, - uint ReadCount, double SampleRate, ushort SyncMode); - [DllImport("PCI-Dask.dll")] - public static extern short DI_ContStatus (ushort CardNumber, out ushort Status); - [DllImport("PCI-Dask.dll")] - public static extern short DI_AsyncCheck (ushort CardNumber, out byte Stopped, out uint AccessCnt); - [DllImport("PCI-Dask.dll")] - public static extern short DI_AsyncClear (ushort CardNumber, out uint AccessCnt); - [DllImport("PCI-Dask.dll")] - public static extern short DI_AsyncDblBufferHalfReady(ushort CardNumber, out byte HalfReady); - [DllImport("PCI-Dask.dll")] - public static extern short DI_AsyncDblBufferMode (ushort CardNumber, bool Enable); - [DllImport("PCI-Dask.dll")] - public static extern short DI_AsyncDblBufferTransfer (ushort CardNumber, byte[] Buffer); - [DllImport("PCI-Dask.dll")] - public static extern short DI_AsyncDblBufferTransfer (ushort CardNumber, short[] Buffer); - [DllImport("PCI-Dask.dll")] - public static extern short DI_AsyncDblBufferTransfer(ushort CardNumber, uint[] Buffer); - [DllImport("PCI-Dask.dll")] - public static extern short DI_ContMultiBufferSetup (ushort wCardNumber, byte[] pwBuffer, uint dwReadCount, out ushort BufferId); - [DllImport("PCI-Dask.dll")] - public static extern short DI_ContMultiBufferSetup (ushort wCardNumber, short[] pwBuffer, uint dwReadCount, out ushort BufferId); - [DllImport("PCI-Dask.dll")] - public static extern short DI_ContMultiBufferSetup(ushort wCardNumber, uint[] pwBuffer, uint dwReadCount, out ushort BufferId); - [DllImport("PCI-Dask.dll")] - public static extern short DI_ContMultiBufferStart (ushort wCardNumber, ushort wPort, double fSampleRate); - [DllImport("PCI-Dask.dll")] - public static extern short DI_AsyncMultiBufferNextReady(ushort CardNumber, out byte bNextReady, out ushort wBufferId); - [DllImport("PCI-Dask.dll")] - public static extern short DI_AsyncDblBufferOverrun (ushort CardNumber, ushort op, out ushort overrunFlag); - [DllImport("PCI-Dask.dll")] - public static extern short DI_EventCallBack(ushort CardNumber, short mode, short EventType, MulticastDelegate callbackAddr); -/*---------------------------------------------------------------------------*/ - [DllImport("PCI-Dask.dll")] - public static extern short DO_7200_Config (ushort CardNumber, ushort TrigSource, ushort OutReqEn, ushort OutTrigSig); - [DllImport("PCI-Dask.dll")] - public static extern short DO_7300A_Config (ushort CardNumber, ushort PortWidth, ushort TrigSource, ushort WaitStatus, ushort Terminator, ushort O_REQ_Pol); - [DllImport("PCI-Dask.dll")] - public static extern short DO_7300B_Config (ushort CardNumber, ushort PortWidth, ushort TrigSource, ushort WaitStatus, ushort Terminator, ushort O_Cntrl_Pol, uint FifoThreshold); - [DllImport("PCI-Dask.dll")] - public static extern short DO_InitialMemoryAllocated (ushort CardNumber, out uint MemSize); - [DllImport("PCI-Dask.dll")] - public static extern short DO_WriteLine (ushort CardNumber, ushort Port, ushort Line, ushort Value); - [DllImport("PCI-Dask.dll")] - public static extern short DO_WritePort (ushort CardNumber, byte Port, uint Value); - [DllImport("PCI-Dask.dll")] - public static extern short DO_WritePort (ushort CardNumber, ushort Port, uint Value); - [DllImport("PCI-Dask.dll")] - public static extern short DO_WritePort(ushort CardNumber, uint Port, uint Value); - [DllImport("PCI-Dask.dll")] - public static extern short DO_WriteExtTrigLine (ushort CardNumber, ushort Value); - [DllImport("PCI-Dask.dll")] - public static extern short DO_ReadLine (ushort CardNumber, ushort Port, ushort Line, out ushort Value); - [DllImport("PCI-Dask.dll")] - public static extern short DO_ReadPort (ushort CardNumber, ushort Port, out uint Value); - [DllImport("PCI-Dask.dll")] - public static extern short DO_ContWritePort (ushort CardNumber, ushort Port, byte[] Buffer, - uint WriteCount, ushort Iterations, double SampleRate, ushort SyncMode); - [DllImport("PCI-Dask.dll")] - public static extern short DO_ContWritePort (ushort CardNumber, ushort Port, ushort[] Buffer, - uint WriteCount, ushort Iterations, double SampleRate, ushort SyncMode); - [DllImport("PCI-Dask.dll")] - public static extern short DO_ContWritePort (ushort CardNumber, ushort Port, uint[] Buffer, - uint WriteCount, ushort Iterations, double SampleRate, ushort SyncMode); - [DllImport("PCI-Dask.dll")] - public static extern short DO_PGStart (ushort CardNumber, byte[] Buffer, uint WriteCount, double SampleRate); - [DllImport("PCI-Dask.dll")] - public static extern short DO_PGStart (ushort CardNumber, short[] Buffer, uint WriteCount, double SampleRate); - [DllImport("PCI-Dask.dll")] - public static extern short DO_PGStart(ushort CardNumber, uint[] Buffer, uint WriteCount, double SampleRate); - [DllImport("PCI-Dask.dll")] - public static extern short DO_PGStop (ushort CardNumber); - [DllImport("PCI-Dask.dll")] - public static extern short DO_ContStatus (ushort CardNumber, out ushort Status); - [DllImport("PCI-Dask.dll")] - public static extern short DO_AsyncCheck(ushort CardNumber, out byte Stopped, out uint AccessCnt); - [DllImport("PCI-Dask.dll")] - public static extern short DO_AsyncClear (ushort CardNumber, out uint AccessCnt); - [DllImport("PCI-Dask.dll")] - public static extern short EDO_9111_Config (ushort CardNumber, ushort EDO_Fun); - [DllImport("PCI-Dask.dll")] - public static extern short DO_ContMultiBufferSetup (ushort CardNumber, byte[] pwBuffer, uint dwWriteCount, out ushort BufferId); - [DllImport("PCI-Dask.dll")] - public static extern short DO_ContMultiBufferSetup (ushort CardNumber, short[] pwBuffer, uint dwWriteCount, out ushort BufferId); - [DllImport("PCI-Dask.dll")] - public static extern short DO_ContMultiBufferSetup(ushort CardNumber, uint[] pwBuffer, uint dwWriteCount, out ushort BufferId); - [DllImport("PCI-Dask.dll")] - public static extern short DO_AsyncMultiBufferNextReady(ushort CardNumber, out byte bNextReady, out ushort wBufferId); - [DllImport("PCI-Dask.dll")] - public static extern short DO_ContMultiBufferStart (ushort wCardNumber, ushort wPort, double fSampleRate); - [DllImport("PCI-Dask.dll")] - public static extern short DO_EventCallBack(ushort CardNumber, short mode, short EventType, MulticastDelegate callbackAddr); -/*---------------------------------------------------------------------------*/ - [DllImport("PCI-Dask.dll")] - public static extern short DIO_PortConfig (ushort CardNumber, ushort Port, ushort Direction); - [DllImport("PCI-Dask.dll")] - public static extern short DIO_LinesConfig(ushort wCardNumber, ushort wPort, ushort wLinesdirmap); - [DllImport("PCI-Dask.dll")] - public static extern short DIO_LineConfig(ushort wCardNumber, ushort wPort, ushort wLine, ushort wDirection); - [DllImport("PCI-Dask.dll")] - public static extern short DIO_SetDualInterrupt (ushort CardNumber, short Int1Mode, short Int2Mode, long hEvent); - [DllImport("PCI-Dask.dll")] - public static extern short DIO_SetCOSInterrupt (ushort CardNumber, ushort Port, ushort ctlA, ushort ctlB, ushort ctlC); - [DllImport("PCI-Dask.dll")] - public static extern short DIO_INT1_EventMessage(ushort CardNumber, short Int1Mode, long windowHandle, long message, MulticastDelegate callbackAddr); - [DllImport("PCI-Dask.dll")] - public static extern short DIO_INT2_EventMessage(ushort CardNumber, short Int2Mode, long windowHandle, long message, MulticastDelegate callbackAddr); - [DllImport("PCI-Dask.dll")] - public static extern short DIO_7300SetInterrupt (ushort CardNumber, short AuxDIEn, short T2En, long hEvent); - [DllImport("PCI-Dask.dll")] - public static extern short DIO_AUXDI_EventMessage(ushort CardNumber, short AuxDIEn, long windowHandle, uint message, MulticastDelegate callbackAddr); - [DllImport("PCI-Dask.dll")] - public static extern short DIO_T2_EventMessage(ushort CardNumber, short T2En, long windowHandle, uint message, MulticastDelegate callbackAddr); - [DllImport("PCI-Dask.dll")] - public static extern short DIO_GetCOSLatchData(ushort wCardNumber, out ushort CosLData); - [DllImport("PCI-Dask.dll")] - public static extern short DIO_SetCOSInterrupt32(ushort wCardNumber, byte Port, uint ctl, out long hEvent, bool bManualReset); - [DllImport("PCI-Dask.dll")] - public static extern short DIO_GetCOSLatchDataInt32(ushort wCardNumber, byte Port, out uint CosLData); -/*---------------------------------------------------------------------------*/ - [DllImport("PCI-Dask.dll")] - public static extern short CTR_Setup (ushort CardNumber, ushort Ctr, ushort Mode, uint Count, ushort BinBcd); - [DllImport("PCI-Dask.dll")] - public static extern short CTR_Clear (ushort CardNumber, ushort Ctr, ushort State); - [DllImport("PCI-Dask.dll")] - public static extern short CTR_Read (ushort CardNumber, ushort Ctr, out uint Value); - [DllImport("PCI-Dask.dll")] - public static extern short CTR_Update (ushort CardNumber, ushort Ctr, uint Count); - [DllImport("PCI-Dask.dll")] - public static extern short CTR_8554_ClkSrc_Config (ushort CardNumber, ushort Ctr, ushort ClockSource); - [DllImport("PCI-Dask.dll")] - public static extern short CTR_8554_CK1_Config (ushort CardNumber, ushort ClockSource); - [DllImport("PCI-Dask.dll")] - public static extern short CTR_8554_Debounce_Config (ushort CardNumber, ushort DebounceClock); - [DllImport("PCI-Dask.dll")] - public static extern short GCTR_Setup (ushort wCardNumber, ushort wGCtr, ushort wGCtrCtrl,uint dwCount); - [DllImport("PCI-Dask.dll")] - public static extern short GCTR_Clear (ushort wCardNumber, ushort wGCtr); - [DllImport("PCI-Dask.dll")] - public static extern short GCTR_Read (ushort wCardNumber, ushort wGCtr, out uint pValue); - [DllImport("PCI-Dask.dll")] - public static extern short WDT_Setup (ushort CardNumber, ushort wCtr, float ovflowSec, out float actualSec, out long hEvent); - [DllImport("PCI-Dask.dll")] - public static extern short WDT_Control (ushort wCardNumber, ushort wCtr, ushort action); - [DllImport("PCI-Dask.dll")] - public static extern short WDT_Status (ushort wCardNumber, ushort Ctr, out uint pValue); - [DllImport("PCI-Dask.dll")] - public static extern short WDT_Reload(ushort wCardNumber, float ovflowSec, out float actualSec); -/*---------------------------------------------------------------------------*/ - [DllImport("PCI-Dask.dll")] - public static extern short AI_GetEvent(ushort wCardNumber, out long hEvent); - [DllImport("PCI-Dask.dll")] - public static extern short AO_GetEvent(ushort wCardNumber, out long hEvent); - [DllImport("PCI-Dask.dll")] - public static extern short DI_GetEvent(ushort wCardNumber, out long hEvent); - [DllImport("PCI-Dask.dll")] - public static extern short DO_GetEvent(ushort wCardNumber, out long hEvent); -/*---------------------------------------------------------------------------*/ - [DllImport("PCI-Dask.dll")] - public static extern short AI_GetView(ushort wCardNumber, uint[] pView); - [DllImport("PCI-Dask.dll")] - public static extern short DI_GetView(ushort wCardNumber, uint[] pView); - [DllImport("PCI-Dask.dll")] - public static extern short DO_GetView(ushort wCardNumber, uint[] pView); -/*---------------------------------------------------------------------------*/ - [DllImport("PCI-Dask.dll")] - public static extern short GetCardType (ushort wCardNumber, out ushort cardType); - [DllImport("PCI-Dask.dll")] - public static extern short GetCardIndexFromID (ushort wCardNumber, out ushort cardType, out ushort cardIndex); - [DllImport("PCI-Dask.dll")] - public static extern short GetBaseAddr(ushort wCardNumber, uint[] BaseAddr, uint[] BaseAddr2); - [DllImport("PCI-Dask.dll")] - public static extern short GetLCRAddr(ushort wCardNumber, uint[] LcrAddr); -} \ No newline at end of file diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/.NET/C#/9112/D9112_AI_Single_Buffer_Check/D9112_AI_Single_Buffer_Check/Form1.Designer.cs b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/.NET/C#/9112/D9112_AI_Single_Buffer_Check/D9112_AI_Single_Buffer_Check/Form1.Designer.cs deleted file mode 100644 index 981a459..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/.NET/C#/9112/D9112_AI_Single_Buffer_Check/D9112_AI_Single_Buffer_Check/Form1.Designer.cs +++ /dev/null @@ -1,78 +0,0 @@ -namespace D9112_AI_Single_Buffer_Check -{ - partial class Form1 - { - /// - /// 設計工具所需的變數。 - /// - private System.ComponentModel.IContainer components = null; - - /// - /// 清除任何使用中的資源。 - /// - /// 如果應該公開 Managed 資源則為 true,否則為 false。 - protected override void Dispose(bool disposing) - { - if (disposing && (components != null)) - { - components.Dispose(); - } - base.Dispose(disposing); - } - - #region Windows Form 設計工具產生的程式碼 - - /// - /// 此為設計工具支援所需的方法 - 請勿使用程式碼編輯器修改這個方法的內容。 - /// - /// - private void InitializeComponent() - { - System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Form1)); - this.button1 = new System.Windows.Forms.Button(); - this.axDGraph1 = new AxDBGRAPHLib.AxDGraph(); - ((System.ComponentModel.ISupportInitialize)(this.axDGraph1)).BeginInit(); - this.SuspendLayout(); - // - // button1 - // - this.button1.Location = new System.Drawing.Point(99, 242); - this.button1.Name = "button1"; - this.button1.Size = new System.Drawing.Size(90, 30); - this.button1.TabIndex = 1; - this.button1.Text = "Start"; - this.button1.UseVisualStyleBackColor = true; - this.button1.Click += new System.EventHandler(this.button1_Click); - // - // axDGraph1 - // - this.axDGraph1.Enabled = true; - this.axDGraph1.Location = new System.Drawing.Point(2, 0); - this.axDGraph1.Name = "axDGraph1"; - this.axDGraph1.OcxState = ((System.Windows.Forms.AxHost.State)(resources.GetObject("axDGraph1.OcxState"))); - this.axDGraph1.Size = new System.Drawing.Size(287, 236); - this.axDGraph1.TabIndex = 2; - // - // Form1 - // - this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F); - this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; - this.ClientSize = new System.Drawing.Size(292, 273); - this.Controls.Add(this.axDGraph1); - this.Controls.Add(this.button1); - this.Name = "Form1"; - this.Text = "Form1"; - this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.Form1_FormClosing); - this.Load += new System.EventHandler(this.Form1_Load); - ((System.ComponentModel.ISupportInitialize)(this.axDGraph1)).EndInit(); - this.ResumeLayout(false); - - } - - #endregion - - private System.Windows.Forms.Button button1; - private AxDBGRAPHLib.AxDGraph axDGraph1; - } -} - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/.NET/C#/9112/D9112_AI_Single_Buffer_Check/D9112_AI_Single_Buffer_Check/Form1.cs b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/.NET/C#/9112/D9112_AI_Single_Buffer_Check/D9112_AI_Single_Buffer_Check/Form1.cs deleted file mode 100644 index 6ef4ead..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/.NET/C#/9112/D9112_AI_Single_Buffer_Check/D9112_AI_Single_Buffer_Check/Form1.cs +++ /dev/null @@ -1,75 +0,0 @@ -using System; -using System.Collections.Generic; -using System.ComponentModel; -using System.Data; -using System.Drawing; -using System.Text; -using System.Windows.Forms; - -namespace D9112_AI_Single_Buffer_Check -{ - public partial class Form1 : Form - { - ushort[] data_buffer = new ushort[1000]; - double[] voltage_array = new double[1000]; - public short m_dev; - public Form1() - { - InitializeComponent(); - } - - private void Form1_Load(object sender, EventArgs e) - { - m_dev = DASK.Register_Card(DASK.PCI_9112, 0); - if (m_dev < 0) - { - MessageBox.Show("Register_Card error!"); - - } - } - - private void Form1_FormClosing(object sender, FormClosingEventArgs e) - { - short ret; - if (m_dev >= 0) - { - ret = DASK.Release_Card((ushort)m_dev); - } - } - - private void button1_Click(object sender, EventArgs e) - { - short ret; - byte stopped; - uint access_cnt; - ret = DASK.AI_9112_Config((ushort)m_dev, DASK.TRIG_INT_PACER); - if (ret < 0) - { - MessageBox.Show("AI_9112_Config error!"); - return; - } - ret = DASK.AI_ContReadChannel((ushort)m_dev, 0, DASK.AD_B_5_V, data_buffer, 1000, 10000, DASK.ASYNCH_OP); - if (ret < 0) - { - MessageBox.Show("AI_ContReadChannel error!"); - return; - } - do - { - ret = DASK.AI_AsyncCheck((ushort)m_dev, out stopped, out access_cnt); - if (ret < 0) - { - MessageBox.Show("AI_AsyncCheck error!"); - return; - } - } while (stopped == 0); - ret = DASK.AI_ContVScale((ushort)m_dev, DASK.AD_B_5_V, data_buffer, voltage_array, 1000); - if (ret < 0) - { - MessageBox.Show("AI_ContVScale error!"); - return; - } - axDGraph1.PlotGraph(voltage_array, 0); - } - } -} \ No newline at end of file diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/.NET/C#/9112/D9112_AI_Single_Buffer_Check/D9112_AI_Single_Buffer_Check/Form1.resx b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/.NET/C#/9112/D9112_AI_Single_Buffer_Check/D9112_AI_Single_Buffer_Check/Form1.resx deleted file mode 100644 index d0d5915..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/.NET/C#/9112/D9112_AI_Single_Buffer_Check/D9112_AI_Single_Buffer_Check/Form1.resx +++ /dev/null @@ -1,138 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - text/microsoft-resx - - - 2.0 - - - System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - - AAEAAAD/////AQAAAAAAAAAMAgAAAFdTeXN0ZW0uV2luZG93cy5Gb3JtcywgVmVyc2lvbj0yLjAuMC4w - LCBDdWx0dXJlPW5ldXRyYWwsIFB1YmxpY0tleVRva2VuPWI3N2E1YzU2MTkzNGUwODkFAQAAACFTeXN0 - ZW0uV2luZG93cy5Gb3Jtcy5BeEhvc3QrU3RhdGUBAAAABERhdGEHAgIAAAAJAwAAAA8DAAAAcAIAAAIB - AAAAAQAAAAAZAAAAQ29weXJpZ2h0IChjKSAyMDAyIEFETGluawAAAABCAgAABAACAKodAABkGAAABwAA - AADU0MgAAANS4wuRj84RneMAqgBLuFEBiAAAvALcfAEACLdzstOp+sXpAAABAAAAAAAAAAAAAADoAwAA - AAAAAAAAAAAAAS4AABAAAAAFAAAAAAAAAAAAAAAAAAAAEAAAAAUAAAAAAAAAAAAAAAAAAAAQAAAABQAA - AAAAAAAAAAAAAAAAAAABAAEBAQAAAAAAAAAAAACAgIAAQEBAAAAAAAAAEAAAAAUAAAAbwh9sAAAAAAAA - JEAQAAAABQAAABvCH2wAAAAAAAAkwBAAAAAFAGkA8It+AAAAAAAA/q9AEAAAAAUAaQDwi34AAAAAAAAA - AAABLgAAAAAQAAAABQAAAAAAAAAAAAAAAAAAABAAAAAFAAAAAAAAAAAAAAAAAAAAEAAAAAUAAAAAAAAA - AAAAAAAAAAABAAEAAQEAAAAAAAAAAAAAgICAAEBAQAAAAAAAGAAAAAAAAAAAAAEAAADoef8AAAD/AAAA - /wAAABgAAAAAAAAAAAABAAAA6Hn/gAAA/4AAAP+AAAAYAAAAAAAAAAAAAQAAAOh5//8AAP//AAD//wAA - GAAAAAAAAAAAAAEAAADoeQD/AAAA/wAAAP8AABgAAAAAAAAAAAABAAAA6HkA//8AAP//AAD//wAYAAAA - AAAAAAAAAQAAAOh5AAD/AAAA/wAAAP8AGAAAAAAAAAAAAAEAAADoef8A/wD/AP8A/wD/ABgAAAAAAAAA - AAABAAAA6HnAwMAAwMDAAMDAwAABAQAL - - - \ No newline at end of file diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/.NET/C#/9112/D9112_AI_Single_Buffer_Check/D9112_AI_Single_Buffer_Check/Program.cs b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/.NET/C#/9112/D9112_AI_Single_Buffer_Check/D9112_AI_Single_Buffer_Check/Program.cs deleted file mode 100644 index 9246e3d..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/.NET/C#/9112/D9112_AI_Single_Buffer_Check/D9112_AI_Single_Buffer_Check/Program.cs +++ /dev/null @@ -1,20 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Windows.Forms; - -namespace D9112_AI_Single_Buffer_Check -{ - static class Program - { - /// - /// 應用程式的主要進入點。 - /// - [STAThread] - static void Main() - { - Application.EnableVisualStyles(); - Application.SetCompatibleTextRenderingDefault(false); - Application.Run(new Form1()); - } - } -} \ No newline at end of file diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/.NET/C#/9112/D9112_AI_Single_Buffer_Check/D9112_AI_Single_Buffer_Check/Properties/AssemblyInfo.cs b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/.NET/C#/9112/D9112_AI_Single_Buffer_Check/D9112_AI_Single_Buffer_Check/Properties/AssemblyInfo.cs deleted file mode 100644 index 7c70bef..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/.NET/C#/9112/D9112_AI_Single_Buffer_Check/D9112_AI_Single_Buffer_Check/Properties/AssemblyInfo.cs +++ /dev/null @@ -1,33 +0,0 @@ -using System.Reflection; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; - -// 組件的一般資訊是由下列的屬性集控制。 -// 變更這些屬性的值即可修改組件的相關 -// 資訊。 -[assembly: AssemblyTitle("D9112_AI_Single_Buffer_Check")] -[assembly: AssemblyDescription("")] -[assembly: AssemblyConfiguration("")] -[assembly: AssemblyCompany("ADLINK")] -[assembly: AssemblyProduct("D9112_AI_Single_Buffer_Check")] -[assembly: AssemblyCopyright("Copyright (C) ADLINK 2006")] -[assembly: AssemblyTrademark("")] -[assembly: AssemblyCulture("")] - -// 將 ComVisible 設定為 false 會使得這個組件中的型別 -// 對 COM 元件而言為不可見。如果您需要從 COM 存取這個組件中 -// 的型別,請在該型別上將 ComVisible 屬性設定為 true。 -[assembly: ComVisible(false)] - -// 下列 GUID 為專案公開 (Expose) 至 COM 時所要使用的 typelib ID -[assembly: Guid("b1902899-7b7d-4258-b421-97fad4069b2f")] - -// 組件的版本資訊是由下列四項值構成: -// -// 主要版本 -// 次要版本 -// 組建編號 -// 修訂編號 -// -[assembly: AssemblyVersion("1.0.0.0")] -[assembly: AssemblyFileVersion("1.0.0.0")] diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/.NET/C#/9112/D9112_AI_Single_Buffer_Check/D9112_AI_Single_Buffer_Check/Properties/Resources.Designer.cs b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/.NET/C#/9112/D9112_AI_Single_Buffer_Check/D9112_AI_Single_Buffer_Check/Properties/Resources.Designer.cs deleted file mode 100644 index 37fd96b..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/.NET/C#/9112/D9112_AI_Single_Buffer_Check/D9112_AI_Single_Buffer_Check/Properties/Resources.Designer.cs +++ /dev/null @@ -1,71 +0,0 @@ -//------------------------------------------------------------------------------ -// -// 這段程式碼是由工具產生的。 -// 執行階段版本:2.0.50727.42 -// -// 變更這個檔案可能會導致不正確的行為,而且如果已重新產生 -// 程式碼,這個檔案將會遺失。 -// -//------------------------------------------------------------------------------ - -namespace D9112_AI_Single_Buffer_Check.Properties -{ - - - /// - /// 用於查詢當地語系化字串等的強型別資源類別 - /// - // 這個類別是自動產生的,是利用 StronglyTypedResourceBuilder - // 類別透過 ResGen 或 Visual Studio 這類工具。 - // 若要加入或移除成員,請編輯您的 .ResX 檔,然後重新執行 ResGen - // (利用 /str 選項),或重建您的 VS 專案。 - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "2.0.0.0")] - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()] - internal class Resources - { - - private static global::System.Resources.ResourceManager resourceMan; - - private static global::System.Globalization.CultureInfo resourceCulture; - - [global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")] - internal Resources() - { - } - - /// - /// 傳回這個類別使用的快取的 ResourceManager 執行個體。 - /// - [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] - internal static global::System.Resources.ResourceManager ResourceManager - { - get - { - if ((resourceMan == null)) - { - global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("D9112_AI_Single_Buffer_Check.Properties.Resources", typeof(Resources).Assembly); - resourceMan = temp; - } - return resourceMan; - } - } - - /// - /// 覆寫目前執行緒的 CurrentUICulture 屬性,對象是所有 - /// 使用這個強型別資源類別的資源查閱。 - /// - [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] - internal static global::System.Globalization.CultureInfo Culture - { - get - { - return resourceCulture; - } - set - { - resourceCulture = value; - } - } - } -} diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/.NET/C#/9112/D9112_AI_Single_Buffer_Check/D9112_AI_Single_Buffer_Check/Properties/Resources.resx b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/.NET/C#/9112/D9112_AI_Single_Buffer_Check/D9112_AI_Single_Buffer_Check/Properties/Resources.resx deleted file mode 100644 index af7dbeb..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/.NET/C#/9112/D9112_AI_Single_Buffer_Check/D9112_AI_Single_Buffer_Check/Properties/Resources.resx +++ /dev/null @@ -1,117 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - text/microsoft-resx - - - 2.0 - - - System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - \ No newline at end of file diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/.NET/C#/9112/D9112_AI_Single_Buffer_Check/D9112_AI_Single_Buffer_Check/Properties/Settings.Designer.cs b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/.NET/C#/9112/D9112_AI_Single_Buffer_Check/D9112_AI_Single_Buffer_Check/Properties/Settings.Designer.cs deleted file mode 100644 index 16e46de..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/.NET/C#/9112/D9112_AI_Single_Buffer_Check/D9112_AI_Single_Buffer_Check/Properties/Settings.Designer.cs +++ /dev/null @@ -1,30 +0,0 @@ -//------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// Runtime Version:2.0.50727.42 -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -//------------------------------------------------------------------------------ - -namespace D9112_AI_Single_Buffer_Check.Properties -{ - - - [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "8.0.0.0")] - internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase - { - - private static Settings defaultInstance = ((Settings)(global::System.Configuration.ApplicationSettingsBase.Synchronized(new Settings()))); - - public static Settings Default - { - get - { - return defaultInstance; - } - } - } -} diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/.NET/C#/9112/D9112_AI_Single_Buffer_Check/D9112_AI_Single_Buffer_Check/Properties/Settings.settings b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/.NET/C#/9112/D9112_AI_Single_Buffer_Check/D9112_AI_Single_Buffer_Check/Properties/Settings.settings deleted file mode 100644 index 3964565..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/.NET/C#/9112/D9112_AI_Single_Buffer_Check/D9112_AI_Single_Buffer_Check/Properties/Settings.settings +++ /dev/null @@ -1,7 +0,0 @@ - - - - - - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/.NET/VB.NET/6208/D6208_AO_OnePoint/D6208_AO_OnePoint.sln b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/.NET/VB.NET/6208/D6208_AO_OnePoint/D6208_AO_OnePoint.sln deleted file mode 100644 index c58c648..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/.NET/VB.NET/6208/D6208_AO_OnePoint/D6208_AO_OnePoint.sln +++ /dev/null @@ -1,20 +0,0 @@ - -Microsoft Visual Studio Solution File, Format Version 9.00 -# Visual Studio 2005 -Project("{F184B08F-C81C-45F6-A57F-5ABD9991F28F}") = "D6208_AO_OnePoint", "D6208_AO_OnePoint\D6208_AO_OnePoint.vbproj", "{43814036-5A5E-44BD-961E-820797A91AD6}" -EndProject -Global - GlobalSection(SolutionConfigurationPlatforms) = preSolution - Debug|Any CPU = Debug|Any CPU - Release|Any CPU = Release|Any CPU - EndGlobalSection - GlobalSection(ProjectConfigurationPlatforms) = postSolution - {43814036-5A5E-44BD-961E-820797A91AD6}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {43814036-5A5E-44BD-961E-820797A91AD6}.Debug|Any CPU.Build.0 = Debug|Any CPU - {43814036-5A5E-44BD-961E-820797A91AD6}.Release|Any CPU.ActiveCfg = Release|Any CPU - {43814036-5A5E-44BD-961E-820797A91AD6}.Release|Any CPU.Build.0 = Release|Any CPU - EndGlobalSection - GlobalSection(SolutionProperties) = preSolution - HideSolutionNode = FALSE - EndGlobalSection -EndGlobal diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/.NET/VB.NET/6208/D6208_AO_OnePoint/D6208_AO_OnePoint/D6208_AO_OnePoint.vbproj b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/.NET/VB.NET/6208/D6208_AO_OnePoint/D6208_AO_OnePoint/D6208_AO_OnePoint.vbproj deleted file mode 100644 index 423280c..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/.NET/VB.NET/6208/D6208_AO_OnePoint/D6208_AO_OnePoint/D6208_AO_OnePoint.vbproj +++ /dev/null @@ -1,109 +0,0 @@ - - - - Debug - AnyCPU - 8.0.50727 - 2.0 - {43814036-5A5E-44BD-961E-820797A91AD6} - WinExe - D6208_AO_OnePoint.My.MyApplication - D6208_AO_OnePoint - D6208_AO_OnePoint - WindowsForms - - - true - full - true - true - bin\Debug\ - D6208_AO_OnePoint.xml - 42016,41999,42017,42018,42019,42032,42036,42020,42021,42022 - x86 - - - pdbonly - false - true - true - bin\Release\ - D6208_AO_OnePoint.xml - 42016,41999,42017,42018,42019,42032,42036,42020,42021,42022 - x86 - - - - - - - - - - - - - - - - - - - - - - - Form - - - Form1.vb - Form - - - - True - Application.myapp - - - True - True - Resources.resx - - - True - Settings.settings - True - - - - - Designer - Form1.vb - - - VbMyResourcesResXFileCodeGenerator - Resources.Designer.vb - My.Resources - Designer - - - - - MyApplicationCodeGenerator - Application.Designer.vb - - - SettingsSingleFileGenerator - My - Settings.Designer.vb - - - - - \ No newline at end of file diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/.NET/VB.NET/6208/D6208_AO_OnePoint/D6208_AO_OnePoint/DASK.vb b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/.NET/VB.NET/6208/D6208_AO_OnePoint/D6208_AO_OnePoint/DASK.vb deleted file mode 100644 index be1e17c..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/.NET/VB.NET/6208/D6208_AO_OnePoint/D6208_AO_OnePoint/DASK.vb +++ /dev/null @@ -1,788 +0,0 @@ -Option Strict Off -Option Explicit On -Module DASK - - 'ADLink PCI Card Type - Public Const PCI_6208V As Short = 1 - Public Const PCI_6208A As Short = 2 - Public Const PCI_6308V As Short = 3 - Public Const PCI_6308A As Short = 4 - Public Const PCI_7200 As Short = 5 - Public Const PCI_7230 As Short = 6 - Public Const PCI_7233 As Short = 7 - Public Const PCI_7234 As Short = 8 - Public Const PCI_7248 As Short = 9 - Public Const PCI_7249 As Short = 10 - Public Const PCI_7250 As Short = 11 - Public Const PCI_7252 As Short = 12 - Public Const PCI_7296 As Short = 13 - Public Const PCI_7300A_RevA As Short = 14 - Public Const PCI_7300A_RevB As Short = 15 - Public Const PCI_7432 As Short = 16 - Public Const PCI_7433 As Short = 17 - Public Const PCI_7434 As Short = 18 - Public Const PCI_8554 As Short = 19 - Public Const PCI_9111DG As Short = 20 - Public Const PCI_9111HR As Short = 21 - Public Const PCI_9112 As Short = 22 - Public Const PCI_9113 As Short = 23 - Public Const PCI_9114DG As Short = 24 - Public Const PCI_9114HG As Short = 25 - Public Const PCI_9118DG As Short = 26 - Public Const PCI_9118HG As Short = 27 - Public Const PCI_9118HR As Short = 28 - Public Const PCI_9810 As Short = 29 - Public Const PCI_9812 As Short = 30 - Public Const PCI_7396 As Short = 31 - Public Const PCI_9116 As Short = 32 - Public Const PCI_7256 As Short = 33 - Public Const PCI_7258 As Short = 34 - Public Const PCI_7260 As Short = 35 - Public Const PCI_7452 As Short = 36 - Public Const PCI_7442 As Short = 37 - Public Const PCI_7443 = 38 - Public Const PCI_7444 = 39 - Public Const PCI_9221 = 40 - - Public Const MAX_CARD As Short = 32 - - 'Error Code - Public Const NoError As Short = 0 - Public Const ErrorUnknownCardType As Short = -1 - Public Const ErrorInvalidCardNumber As Short = -2 - Public Const ErrorTooManyCardRegistered As Short = -3 - Public Const ErrorCardNotRegistered As Short = -4 - Public Const ErrorFuncNotSupport As Short = -5 - Public Const ErrorInvalidIoChannel As Short = -6 - Public Const ErrorInvalidAdRange As Short = -7 - Public Const ErrorContIoNotAllowed As Short = -8 - Public Const ErrorDiffRangeNotSupport As Short = -9 - Public Const ErrorLastChannelNotZero As Short = -10 - Public Const ErrorChannelNotDescending As Short = -11 - Public Const ErrorChannelNotAscending As Short = -12 - Public Const ErrorOpenDriverFailed As Short = -13 - Public Const ErrorOpenEventFailed As Short = -14 - Public Const ErrorTransferCountTooLarge As Short = -15 - Public Const ErrorNotDoubleBufferMode As Short = -16 - Public Const ErrorInvalidSampleRate As Short = -17 - Public Const ErrorInvalidCounterMode As Short = -18 - Public Const ErrorInvalidCounter As Short = -19 - Public Const ErrorInvalidCounterState As Short = -20 - Public Const ErrorInvalidBinBcdParam As Short = -21 - Public Const ErrorBadCardType As Short = -22 - Public Const ErrorInvalidDaRange As Short = -23 - Public Const ErrorAdTimeOut As Short = -24 - Public Const ErrorNoAsyncAI As Short = -25 - Public Const ErrorNoAsyncAO As Short = -26 - Public Const ErrorNoAsyncDI As Short = -27 - Public Const ErrorNoAsyncDO As Short = -28 - Public Const ErrorNotInputPort As Short = -29 - Public Const ErrorNotOutputPort As Short = -30 - Public Const ErrorInvalidDioPort As Short = -31 - Public Const ErrorInvalidDioLine As Short = -32 - Public Const ErrorContIoActive As Short = -33 - Public Const ErrorDblBufModeNotAllowed As Short = -34 - Public Const ErrorConfigFailed As Short = -35 - Public Const ErrorInvalidPortDirection As Short = -36 - Public Const ErrorBeginThreadError As Short = -37 - Public Const ErrorInvalidPortWidth As Short = -38 - Public Const ErrorInvalidCtrSource As Short = -39 - Public Const ErrorOpenFile As Short = -40 - Public Const ErrorAllocateMemory As Short = -41 - Public Const ErrorDaVoltageOutOfRange As Short = -42 - Public Const ErrorDaExtRefNotAllowed As Short = -43 - Public Const ErrorDIODataWidthError As Short = -44 - Public Const ErrorTaskCodeError As Short = -45 - Public Const ErrortriggercountError As Short = -46 - Public Const ErrorInvalidTriggerMode As Short = -47 - Public Const ErrorInvalidTriggerType As Short = -48 - Public Const ErrorInvalidCounterValue As Short = -50 - Public Const ErrorInvalidEventHandle As Short = -60 - Public Const ErrorNoMessageAvailable As Short = -61 - Public Const ErrorEventMessgaeNotAdded As Short = -62 - Public Const ErrorCalibrationTimeOut = -63 - Public Const ErrorUndefinedParameter = -64 - Public Const ErrorInvalidBufferID = -65 - - 'Error code for driver API - Public Const ErrorConfigIoctl As Short = -201 - Public Const ErrorAsyncSetIoctl As Short = -202 - Public Const ErrorDBSetIoctl As Short = -203 - Public Const ErrorDBHalfReadyIoctl As Short = -204 - Public Const ErrorContOPIoctl As Short = -205 - Public Const ErrorContStatusIoctl As Short = -206 - Public Const ErrorPIOIoctl As Short = -207 - Public Const ErrorDIntSetIoctl As Short = -208 - Public Const ErrorWaitEvtIoctl As Short = -209 - Public Const ErrorOpenEvtIoctl As Short = -210 - Public Const ErrorCOSIntSetIoctl As Short = -211 - Public Const ErrorMemMapIoctl As Short = -212 - Public Const ErrorMemUMapSetIoctl As Short = -213 - Public Const ErrorCTRIoctl As Short = -214 - Public Const ErrorGetResIoctl As Short = -215 - Public Const ErrorCalIoctl = -216 - - 'Synchronous Mode - Public Const SYNCH_OP As Short = 1 - Public Const ASYNCH_OP As Short = 2 - - 'AD Range - Public Const AD_B_10_V As Short = 1 - Public Const AD_B_5_V As Short = 2 - Public Const AD_B_2_5_V As Short = 3 - Public Const AD_B_1_25_V As Short = 4 - Public Const AD_B_0_625_V As Short = 5 - Public Const AD_B_0_3125_V As Short = 6 - Public Const AD_B_0_5_V As Short = 7 - Public Const AD_B_0_05_V As Short = 8 - Public Const AD_B_0_005_V As Short = 9 - Public Const AD_B_1_V As Short = 10 - Public Const AD_B_0_1_V As Short = 11 - Public Const AD_B_0_01_V As Short = 12 - Public Const AD_B_0_001_V As Short = 13 - Public Const AD_U_20_V As Short = 14 - Public Const AD_U_10_V As Short = 15 - Public Const AD_U_5_V As Short = 16 - Public Const AD_U_2_5_V As Short = 17 - Public Const AD_U_1_25_V As Short = 18 - Public Const AD_U_1_V As Short = 19 - Public Const AD_U_0_1_V As Short = 20 - Public Const AD_U_0_01_V As Short = 21 - Public Const AD_U_0_001_V As Short = 22 - Public Const AD_B_2_V = 23 - Public Const AD_U_2_V = 24 - Public Const AD_B_0_2_V = 25 - - 'Trigger Source - Public Const TRIG_SOFTWARE As Short = 0 - Public Const TRIG_INT_PACER As Short = 1 - Public Const TRIG_EXT_STROBE As Short = 2 - Public Const TRIG_HANDSHAKE As Short = 3 - Public Const TRIG_CLK_10MHZ As Short = 4 'PCI-7300A - Public Const TRIG_CLK_20MHZ As Short = 5 'PCI-7300A - Public Const TRIG_DO_CLK_TIMER_ACK As Short = 6 'PCI-7300A Rev. B - Public Const TRIG_DO_CLK_10M_ACK As Short = 7 'PCI-7300A Rev. B - Public Const TRIG_DO_CLK_20M_ACK As Short = 8 'PCI-7300A Rev. B - - 'Virtual sampling rate for using external clock as the clock source - Public Const CLKSRC_EXT_SampRate As Short = 10000 - - '--------- Constants for PCI-6208A -------------- - 'Output Mode - Public Const P6208_CURRENT_0_20MA As Short = 0 - Public Const P6208_CURRENT_5_25MA As Short = 1 - Public Const P6208_CURRENT_4_20MA As Short = 3 - - '--------- Constants for PCI-6308A/PCI-6308V -------------- - 'Output Mode - Public Const P6308_CURRENT_0_20MA As Short = 0 - Public Const P6308_CURRENT_5_25MA As Short = 1 - Public Const P6308_CURRENT_4_20MA As Short = 3 - 'AO Setting - Public Const P6308V_AO_CH0_3 As Short = 0 - Public Const P6308V_AO_CH4_7 As Short = 1 - Public Const P6308V_AO_UNIPOLAR As Short = 0 - Public Const P6308V_AO_BIPOLAR As Short = 1 - - '--------- Constants for PCI-7200 -------------- - 'InputMode - Public Const DI_WAITING As Short = &H2s - Public Const DI_NOWAITING As Short = &H0s - - Public Const DI_TRIG_RISING As Short = &H4s - Public Const DI_TRIG_FALLING As Short = &H0s - - Public Const IREQ_RISING As Short = &H8s - Public Const IREQ_FALLING As Short = &H0s - - 'Output Mode - Public Const OREQ_ENABLE As Short = &H10s - Public Const OREQ_DISABLE As Short = &H0s - - Public Const OTRIG_HIGH As Short = &H20s - Public Const OTRIG_LOW As Short = &H0s - - '--------- Constants for PCI-7248/7296/7442 -------------- - 'DIO Port Direction - Public Const INPUT_PORT As Short = 1 - Public Const OUTPUT_PORT As Short = 2 - 'DIO Line Direction - Public Const INPUT_LINE As Short = 1 - Public Const OUTPUT_LINE As Short = 2 - - 'Channel&Port - Public Const Channel_P1A As Short = 0 - Public Const Channel_P1B As Short = 1 - Public Const Channel_P1C As Short = 2 - Public Const Channel_P1CL As Short = 3 - Public Const Channel_P1CH As Short = 4 - Public Const Channel_P1AE As Short = 10 - Public Const Channel_P1BE As Short = 11 - Public Const Channel_P1CE As Short = 12 - Public Const Channel_P2A As Short = 5 - Public Const Channel_P2B As Short = 6 - Public Const Channel_P2C As Short = 7 - Public Const Channel_P2CL As Short = 8 - Public Const Channel_P2CH As Short = 9 - Public Const Channel_P2AE As Short = 15 - Public Const Channel_P2BE As Short = 16 - Public Const Channel_P2CE As Short = 17 - Public Const Channel_P3A As Short = 10 - Public Const Channel_P3B As Short = 11 - Public Const Channel_P3C As Short = 12 - Public Const Channel_P3CL As Short = 13 - Public Const Channel_P3CH As Short = 14 - Public Const Channel_P4A As Short = 15 - Public Const Channel_P4B As Short = 16 - Public Const Channel_P4C As Short = 17 - Public Const Channel_P4CL As Short = 18 - Public Const Channel_P4CH As Short = 19 - Public Const Channel_P5A As Short = 20 - Public Const Channel_P5B As Short = 21 - Public Const Channel_P5C As Short = 22 - Public Const Channel_P5CL As Short = 23 - Public Const Channel_P5CH As Short = 24 - Public Const Channel_P6A As Short = 25 - Public Const Channel_P6B As Short = 26 - Public Const Channel_P6C As Short = 27 - Public Const Channel_P6CL As Short = 28 - Public Const Channel_P6CH As Short = 29 - Public Const Channel_P1 As Short = 30 - Public Const Channel_P2 As Short = 31 - Public Const Channel_P3 As Short = 32 - Public Const Channel_P4 As Short = 33 - Public Const Channel_P1E As Short = 34 - Public Const Channel_P2E As Short = 35 - Public Const Channel_P3E As Short = 36 - Public Const Channel_P4E As Short = 37 - ' 7442 - Public Const P7442_CH0 As Short = 0 - Public Const P7442_CH1 As Short = 1 - Public Const P7442_TTL0 As Short = 2 - Public Const P7442_TTL1 As Short = 3 - ' P7443 - Public Const P7443_CH0 = 0 - Public Const P7443_CH1 = 1 - Public Const P7443_CH2 = 2 - Public Const P7443_CH3 = 3 - Public Const P7443_TTL0 = 4 - Public Const P7443_TTL1 = 5 - ' P7444 - Public Const P7444_CH0 = 0 - Public Const P7444_CH1 = 1 - Public Const P7444_CH2 = 2 - Public Const P7444_CH3 = 3 - Public Const P7444_TTL0 = 4 - Public Const P7444_TTL1 = 5 - '--------- Constants for PCI-7300A -------------- - 'Wait Status - Public Const P7300_WAIT_NO As Short = 0 - Public Const P7300_WAIT_TRG As Short = 1 - Public Const P7300_WAIT_FIFO As Short = 2 - Public Const P7300_WAIT_BOTH As Short = 3 - - 'Terminator control - Public Const P7300_TERM_OFF As Short = 0 - Public Const P7300_TERM_ON As Short = 1 - - 'DI control signals polarity for PCI-7300A Rev. B - Public Const P7300_DIREQ_POS As Short = &H0s - Public Const P7300_DIREQ_NEG As Short = &H1s - Public Const P7300_DIACK_POS As Short = &H0s - Public Const P7300_DIACK_NEG As Short = &H2s - Public Const P7300_DITRIG_POS As Short = &H0s - Public Const P7300_DITRIG_NEG As Short = &H4s - - 'DO control signals polarity for PCI-7300A Rev. B - Public Const P7300_DOREQ_POS As Short = &H0s - Public Const P7300_DOREQ_NEG As Short = &H8s - Public Const P7300_DOACK_POS As Short = &H0s - Public Const P7300_DOACK_NEG As Short = &H10s - Public Const P7300_DOTRIG_POS As Short = &H0s - Public Const P7300_DOTRIG_NEG As Short = &H20s - - '--------- Constants for PCI-7432/7433/7434 -------------- - Public Const CHANNEL_DI_LOW As Short = 0 - Public Const CHANNEL_DI_HIGH As Short = 1 - Public Const CHANNEL_DO_LOW As Short = 0 - Public Const CHANNEL_DO_HIGH As Short = 1 - Public Const P7432R_DO_LED As Short = 1 - Public Const P7433R_DO_LED As Short = 0 - Public Const P7434R_DO_LED As Short = 2 - Public Const P7432R_DI_SLOT As Short = 1 - Public Const P7433R_DI_SLOT As Short = 2 - Public Const P7434R_DI_SLOT As Short = 0 - - '----- Dual-Interrupt Source control for PCI-7248/49/96 & 7230 & 8554 & 7396 &7256/58 & 7260----- - Public Const INT1_DISABLE As Short = -1 'INT1 Disabled - Public Const INT1_COS As Short = 0 'INT1 COS : only available for PCI-7396, PCI-7256/58 & PCI-7260 - Public Const INT1_FP1C0 As Short = 1 'INT1 by Falling edge of P1C0 - Public Const INT1_RP1C0_FP1C3 As Short = 2 'INT1 by P1C0 Rising or P1C3 Falling - Public Const INT1_EVENT_COUNTER As Short = 3 'INT1 by Event Counter down to zero - Public Const INT1_EXT_SIGNAL As Short = 1 'INT1 by external signal : only available for PCI7432/PCI7433/PCI7230 - Public Const INT1_COUT12 As Short = 1 'INT1 COUT12 : only available for PCI8554 - Public Const INT1_CH0 As Short = 1 'INT1 CH0 : only available for PCI7256/58/60 - Public Const INT1_COS0 As Short = 1 'INT1 COS0 : only available for PCI-7452/PCI-7443 - Public Const INT1_COS1 As Short = 2 'INT1 COS1 : only available for PCI-7452/PCI-7443 - Public Const INT1_COS2 As Short = 3 'INT1 COS2 : only available for PCI-7452/PCI-7443 - Public Const INT1_COS3 As Short = 8 'INT1 COS3 : only available for PCI-7452/PCI-7443 - Public Const INT2_DISABLE As Short = -1 'INT2 Disabled - Public Const INT2_COS As Short = 0 'INT2 COS : only available for PCI-7396 - Public Const INT2_FP2C0 As Short = 1 'INT2 by Falling edge of P2C0 - Public Const INT2_RP2C0_FP2C3 As Short = 2 'INT2 by P2C0 Rising or P2C3 Falling - Public Const INT2_TIMER_COUNTER As Short = 3 'INT2 by Timer Counter down to zero - Public Const INT2_EXT_SIGNAL As Short = 1 'INT2 by external signal : only available for PCI7432/PCI7433/PCI7230 - Public Const INT2_CH1 As Short = 2 'INT2 CH1 : only available for PCI7256/58/60 - Public Const INT2_WDT As Short = 4 'INT2 by WDT - - Public Const WDT_OVRFLOW_SAFETYOUT As Short = &H8000s 'enable safteyout while WDT overflow - '-------- Constants for PCI-8554 -------------------- - 'Clock Source of Cunter N - Public Const ECKN As Short = 0 - Public Const COUTN_1 As Short = 1 - Public Const CK1 As Short = 2 - Public Const COUT10 As Short = 3 - - 'Clock Source of CK1 - Public Const CK1_C8M As Short = 0 - Public Const CK1_COUT11 As Short = 1 - - 'Debounce Clock - Public Const DBCLK_COUT11 As Short = 0 - Public Const DBCLK_2MHZ As Short = 1 - - '--------- Constants for PCI-9111 -------------- - 'Dual Interrupt Mode - Public Const P9111_INT1_EOC As Short = 0 'Ending of AD conversion - Public Const P9111_INT1_FIFO_HF As Short = 1 'FIFO Half Full - Public Const P9111_INT2_PACER As Short = 0 'Every Timer tick - Public Const P9111_INT2_EXT_TRG As Short = 1 'ExtTrig High->Low - - 'Channel Count - Public Const P9111_CHANNEL_DO As Short = 0 - Public Const P9111_CHANNEL_EDO As Short = 1 - Public Const P9111_CHANNEL_DI As Short = 0 - Public Const P9111_CHANNEL_EDI As Short = 1 - - 'Trigger Mode - Public Const P9111_TRGMOD_SOFT As Short = 0 'Software Trigger Mode - Public Const P9111_TRGMOD_PRE As Short = 1 'Pre-Trigger Mode - Public Const P9111_TRGMOD_POST As Short = 2 'Post Trigger Mode - - 'EDO function - Public Const P9111_EDO_INPUT As Short = 1 'EDO port set as Input port - Public Const P9111_EDO_OUT_EDO As Short = 2 'EDO port set as Output port - Public Const P9111_EDO_OUT_CHN As Short = 3 'EDO port set as channel number ouput port - - 'AO Setting - Public Const P9111_AO_UNIPOLAR As Short = 0 - Public Const P9111_AO_BIPOLAR As Short = 1 - - '--------- Constants for PCI-9118 -------------- - Public Const P9118_AI_BiPolar As Short = &H0s - Public Const P9118_AI_UniPolar As Short = &H1s - - Public Const P9118_AI_SingEnded As Short = &H0s - Public Const P9118_AI_Differential As Short = &H2s - - Public Const P9118_AI_ExtG As Short = &H4s - - Public Const P9118_AI_ExtTrig As Short = &H8s - - Public Const P9118_AI_DtrgNegative As Short = &H0s - Public Const P9118_AI_DtrgPositive As Short = &H10s - - Public Const P9118_AI_EtrgNegative As Short = &H0s - Public Const P9118_AI_EtrgPositive As Short = &H20s - - Public Const P9118_AI_BurstModeEn As Short = &H40s - Public Const P9118_AI_SampleHold As Short = &H80s - Public Const P9118_AI_PostTrgEn As Short = &H100s - Public Const P9118_AI_AboutTrgEn As Short = &H200s - - '--------- Constants for PCI-9812/9810 -------------- - 'Channel Count - Public Const P9116_AI_LocalGND As Short = &H0s - Public Const P9116_AI_UserCMMD As Short = &H1s - Public Const P9116_AI_SingEnded As Short = &H0s - Public Const P9116_AI_Differential As Short = &H2s - Public Const P9116_AI_BiPolar As Short = &H0s - Public Const P9116_AI_UniPolar As Short = &H4s - - Public Const P9116_TRGMOD_SOFT As Short = &H0s 'Software Trigger Mode - Public Const P9116_TRGMOD_POST As Short = &H10s 'Post Trigger Mode - Public Const P9116_TRGMOD_DELAY As Short = &H20s 'Delay Trigger Mode - Public Const P9116_TRGMOD_PRE As Short = &H30s 'Pre-Trigger Mode - Public Const P9116_TRGMOD_MIDL As Short = &H40s 'Middle Trigger Mode - Public Const P9116_AI_TrgPositive As Short = &H0s - Public Const P9116_AI_TrgNegative As Short = &H80s - Public Const P9116_AI_IntTimeBase As Short = &H0s - Public Const P9116_AI_ExtTimeBase As Short = &H100s - Public Const P9116_AI_DlyInSamples As Short = &H200s - Public Const P9116_AI_DlyInTimebase As Short = &H0s - Public Const P9116_AI_ReTrigEn As Short = &H400s - Public Const P9116_AI_MCounterEn As Short = &H800s - Public Const P9116_AI_SoftPolling As Short = &H0s - Public Const P9116_AI_INT As Short = &H1000s - Public Const P9116_AI_DMA As Short = &H2000s - - '--------- Constants for PCI-9812/9810 -------------- - 'Channel Count - Public Const P9812_CHANNEL_CNT1 As Short = 1 - Public Const P9812_CHANNEL_CNT2 As Short = 2 - Public Const P9812_CHANNEL_CNT4 As Short = 4 - - 'Trigger Mode - Public Const P9812_TRGMOD_SOFT As Short = 0 'Software Trigger Mode - Public Const P9812_TRGMOD_POST As Short = 1 'Post Trigger Mode - Public Const P9812_TRGMOD_PRE As Short = 2 'Pre-Trigger Mode - Public Const P9812_TRGMOD_DELAY As Short = 3 'Delay Trigger Mode - Public Const P9812_TRGMOD_MIDL As Short = 4 'Middle Trigger Mode - - 'Trigger Source - Public Const P9812_TRGSRC_CH0 As Short = 0 'trigger source --CH0 - Public Const P9812_TRGSRC_CH1 As Short = 8 'trigger source --CH1 - Public Const P9812_TRGSRC_CH2 As Short = &H10s 'trigger source --CH2 - Public Const P9812_TRGSRC_CH3 As Short = &H18s 'trigger source --CH3 - Public Const P9812_TRGSRC_EXT_DIG As Short = &H20s 'External Digital Trigger - - 'Trigger Polarity - Public Const P9812_TRGSLP_POS As Short = 0 'Positive slope trigger - Public Const P9812_TRGSLP_NEG As Short = &H40s 'Negative slope trigger - - 'Frequency Selection - Public Const P9812_AD2_GT_PCI As Short = &H80s 'Freq. of A/D clock > PCI clock freq. - Public Const P9812_AD2_LT_PCI As Short = &H0s 'Freq. of A/D clock < PCI clock freq. - - 'Clock Source - Public Const P9812_CLKSRC_INT As Short = &H0s 'Internal clock - Public Const P9812_CLKSRC_EXT_SIN As Short = &H100s 'External SIN wave clock - Public Const P9812_CLKSRC_EXT_DIG As Short = &H200s 'External Square wave clock - - '-------- Constants for PCI-9221 -------------------- - 'Input Type - Public Const P9221_AI_SingEnded = &H0 - Public Const P9221_AI_NonRef_SingEnded = &H1 - Public Const P9221_AI_Differential = &H2 - - 'Trigger Mode - Public Const P9221_TRGMOD_SOFT = &H0 - Public Const P9221_TRGMOD_ExtD = &H8 - 'Trigger Source - Public Const P9221_TRGSRC_GPI0 = &H0 - Public Const P9221_TRGSRC_GPI1 = &H1 - Public Const P9221_TRGSRC_GPI2 = &H2 - Public Const P9221_TRGSRC_GPI3 = &H3 - Public Const P9221_TRGSRC_GPI4 = &H4 - Public Const P9221_TRGSRC_GPI5 = &H5 - Public Const P9221_TRGSRC_GPI6 = &H6 - Public Const P9221_TRGSRC_GPI7 = &H7 - - 'TimeBase Mode - Public Const P9221_AI_IntTimeBase = &H0 - Public Const P9221_AI_ExtTimeBase = &H80 - 'TimeBase Source - Public Const P9221_TimeBaseSRC_GPI0 = &H0 - Public Const P9221_TimeBaseSRC_GPI1 = &H10 - Public Const P9221_TimeBaseSRC_GPI2 = &H20 - Public Const P9221_TimeBaseSRC_GPI3 = &H30 - Public Const P9221_TimeBaseSRC_GPI4 = &H40 - Public Const P9221_TimeBaseSRC_GPI5 = &H50 - Public Const P9221_TimeBaseSRC_GPI6 = &H60 - Public Const P9221_TimeBaseSRC_GPI7 = &H70 - - 'EMG shdn ctrl code - Public Const EMGSHDN_OFF As Short = 0 'off - Public Const EMGSHDN_ON As Short = 1 'on - Public Const EMGSHDN_RECOVERY As Short = 2 'recovery - - 'Hot Reset Hold ctrl code - Public Const HRH_OFF As Short = 0 'off - Public Const HRH_ON As Short = 1 'on - - '--------- Constants for Timer/Counter -------------- - 'Counter Mode (8254) - Public Const TOGGLE_OUTPUT As Short = 0 'Toggle output from low to high on terminal count - Public Const PROG_ONE_SHOT As Short = 1 'Programmable one-shot - Public Const RATE_GENERATOR As Short = 2 'Rate generator - Public Const SQ_WAVE_RATE_GENERATOR As Short = 3 'Square wave rate generator - Public Const SOFT_TRIG As Short = 4 'Software-triggered strobe - Public Const HARD_TRIG As Short = 5 'Hardware-triggered strobe - - '------- General Purpose Timer/Counter ----------------- - 'Counter Mode - Public Const General_Counter As Short = &H0S 'general counter - Public Const Pulse_Generation As Short = &H1S 'pulse generation - 'GPTC clock source - Public Const GPTC_CLKSRC_EXT As Short = &H8S - Public Const GPTC_CLKSRC_INT As Short = &H0S - Public Const GPTC_GATESRC_EXT As Short = &H10S - Public Const GPTC_GATESRC_INT As Short = &H0S - Public Const GPTC_UPDOWN_SELECT_EXT As Short = &H20S - Public Const GPTC_UPDOWN_SELECT_SOFT As Short = &H0S - Public Const GPTC_UP_CTR As Short = &H40S - Public Const GPTC_DOWN_CTR As Short = &H0S - Public Const GPTC_ENABLE As Short = &H80S - Public Const GPTC_DISABLE As Short = &H0S - - 'General Purpose Timer/Counter for 9221 - 'Counter Mode - Public Const SimpleGatedEventCNT = &H1 - Public Const SinglePeriodMSR = &H2 - Public Const SinglePulseWidthMSR = &H3 - Public Const SingleGatedPulseGen = &H4 - Public Const SingleTrigPulseGen = &H5 - Public Const RetrigSinglePulseGen = &H6 - Public Const SingleTrigContPulseGen = &H7 - Public Const ContGatedPulseGen = &H8 - Public Const EdgeSeparationMSR = &H9 - Public Const SingleTrigContPulseGenPWM = &HA - Public Const ContGatedPulseGenPWM = &HB - Public Const CW_CCW_Encoder = &HC - Public Const x1_AB_Phase_Encoder = &HD - Public Const x2_AB_Phase_Encoder = &HE - Public Const x4_AB_Phase_Encoder = &HF - Public Const Phase_Z = &H10 - - 'GPTC clock source - Public Const GPTC_CLK_SRC_Ext = &H1 - Public Const GPTC_CLK_SRC_Int = &H0 - Public Const GPTC_GATE_SRC_Ext = &H2 - Public Const GPTC_GATE_SRC_Int = &H0 - Public Const GPTC_UPDOWN_Ext = &H4 - Public Const GPTC_UPDOWN_Int = &H0 - - 'GPTC clock polarity - Public Const GPTC_CLKSRC_LACTIVE = &H1 - Public Const GPTC_CLKSRC_HACTIVE = &H0 - Public Const GPTC_GATE_LACTIVE = &H2 - Public Const GPTC_GATE_HACTIVE = &H0 - Public Const GPTC_UPDOWN_LACTIVE = &H4 - Public Const GPTC_UPDOWN_HACTIVE = &H0 - Public Const GPTC_OUTPUT_LACTIVE = &H8 - Public Const GPTC_OUTPUT_HACTIVE = &H0 - - Public Const IntGate = &H0 - Public Const IntUpDnCTR = &H1 - Public Const IntENABLE = &H2 - - Public Const GPTC_EZ0_ClearPhase0 = &H0 - Public Const GPTC_EZ0_ClearPhase1 = &H1 - Public Const GPTC_EZ0_ClearPhase2 = &H2 - Public Const GPTC_EZ0_ClearPhase3 = &H3 - - Public Const GPTC_EZ0_ClearMode0 = &H0 - Public Const GPTC_EZ0_ClearMode1 = &H1 - Public Const GPTC_EZ0_ClearMode2 = &H2 - - 'Watchdog Timer - 'Counter action - Public Const WDT_DISARM As Short = 0 - Public Const WDT_ARM As Short = 1 - Public Const WDT_RESTART As Short = 2 - - 'Pattern ID - Public Const INIT_PTN As Short = 0 - Public Const EMGSHDN_PTN As Short = 1 - - 'Pattern ID for 7442/7444 - Public Const INIT_PTN_CH0 As Short = 0 - Public Const INIT_PTN_CH1 As Short = 1 - Public Const INIT_PTN_CH2 As Short = 2 'only for 7444 - Public Const INIT_PTN_CH3 As Short = 3 'only for 7444 - Public Const SAFTOUT_PTN_CH0 As Short = 4 - Public Const SAFTOUT_PTN_CH1 As Short = 5 - Public Const SAFTOUT_PTN_CH2 As Short = 6 'only for 7444 - Public Const SAFTOUT_PTN_CH3 As Short = 7 'only for 7444 - - '16-bit binary or 4-decade BCD counter - Public Const BIN As Short = 0 - Public Const BCD As Short = 1 - - 'DAQ Event type for the event message - Public Const AIEnd As Short = 0 - Public Const DIEnd As Short = 0 - Public Const DOEnd As Short = 0 - Public Const DBEvent As Short = 1 - - 'EEPROM - Public Const EEPROM_DEFAULT_BANK = 0 - Public Const EEPROM_USER_BANK1 = 1 - - Declare Function WaitForSingleObject Lib "kernel32" (ByVal hHandle As Integer, ByVal dwMilliseconds As Integer) As Integer - Public Delegate Sub CallbackDelegate() - - '------------------------------------------------------------------- - ' PCIS-DASK Function prototype - '-----------------------------------------------------------------*/ - Declare Function Register_Card Lib "Pci-Dask.dll" (ByVal cardType As Short, ByVal card_num As Short) As Short - Declare Function Release_Card Lib "Pci-Dask.dll" (ByVal CardNumber As Short) As Short - Declare Function GetActualRate Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal SampleRate As Double, ByRef ActualRate As Double) As Short - Declare Function GetCardType Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByRef cardType As Short) As Short - Declare Function GetBaseAddr Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByRef BaseAddr As Integer, ByRef BaseAddr2 As Integer) As Short - Declare Function GetLCRAddr Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByRef LcrAddr As Integer) As Short - Declare Function GetCardIndexFromID Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByRef cardType As Short, ByRef cardIndex As Short) As Short - Declare Function EMGShutDownControl Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal ctrl As Byte) As Short - Declare Function EMGShutDownStatus Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByRef ctrl As Byte) As Short - Declare Function HotResetHoldControl Lib "Pci-Dask.dll" (ByVal wCardNumber As Short, ByVal Enable As Byte) As Short - Declare Function HotResetHoldStatus Lib "Pci-Dask.dll" (ByVal wCardNumber As Short, ByRef sts As Byte) As Short - Declare Function SetInitPattern Lib "Pci-Dask.dll" (ByVal wCardNumber As Short, ByVal patID As Byte, ByVal pattern As Integer) As Short - Declare Function GetInitPattern Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal patID As Byte, ByRef pattern As Integer) As Short - Declare Function IdentifyLED_Control Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal ctrl As Byte) As Short - - 'AI Functions - Declare Function AI_9111_Config Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal TrigSource As Short, ByVal TrgMode As Short, ByVal wTraceCnt As Short) As Short - Declare Function AI_9112_Config Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal TrigSource As Short) As Short - Declare Function AI_9113_Config Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal TrigSource As Short) As Short - Declare Function AI_9114_Config Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal TrigSource As Short) As Short - Declare Function AI_9114_PreTrigConfig Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal PreTrgEn As Short, ByVal TraceCnt As Short) As Short - Declare Function AI_9116_Config Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal ConfigCtrl As Short, ByVal TrigCtrl As Short, ByVal PostCnt As Short, ByVal MCnt As Short, ByVal ReTrgCnt As Short) As Short - Declare Function AI_9118_Config Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal wModeCtrl As Short, ByVal wFunCtrl As Short, ByVal wBurstCnt As Short, ByVal wPostCnt As Short) As Short - Declare Function AI_9221_Config Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal ConfigCtrl As Short, ByVal TrigCtrl As Short, ByVal ByValAutoResetBuf As Byte) - Declare Function AI_9812_Config Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal wTrgMode As Short, ByVal wTrgSrc As Short, ByVal wTrgPol As Short, ByVal wClkSel As Short, ByVal wTrgLevel As Short, ByVal wPostCnt As Short) As Short - Declare Function AI_9116_CounterInterval Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal ScanIntrv As Integer, ByVal SampIntrv As Integer) As Short - Declare Function AI_9221_CounterInterval Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal ScanIntrv As Integer, ByVal SampIntrv As Integer) As Short - Declare Function AI_9812_SetDiv Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal pacerVal As Integer) As Short - Declare Function AI_AsyncCheck Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByRef Stopped As Byte, ByRef AccessCnt As Integer) As Short - Declare Function AI_AsyncClear Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByRef AccessCnt As Integer) As Short - Declare Function AI_AsyncDblBufferHalfReady Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByRef HalfReady As Byte, ByRef StopFlag As Byte) As Short - Declare Function AI_AsyncDblBufferMode Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal Enable As Byte) As Short - Declare Function AI_AsyncDblBufferTransfer Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByRef Buffer As Short) As Short - Declare Function AI_AsyncDblBufferHandled Lib "Pci-Dask.dll" (ByVal CardNumber As Integer) As Integer - Declare Function AI_AsyncDblBufferToFile Lib "Pci-Dask.dll" (ByVal CardNumber As Integer) As Integer - Declare Function AI_ContReadChannel Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal Channel As Short, ByVal AdRange As Short, ByRef Buffer As Short, ByVal ReadCount As Integer, ByVal SampleRate As Double, ByVal SyncMode As Short) As Short - Declare Function AI_ContScanChannels Lib "Pci-Dask.dll" (ByVal wCardNumber As Short, ByVal wChannel As Short, ByVal wAdRange As Short, ByRef pwBuffer As Short, ByVal dwReadCount As Integer, ByVal SampleRate As Double, ByVal SyncMode As Short) As Short - Declare Function AI_ContReadMultiChannels Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal NumChans As Short, ByRef chans As Short, ByRef AdRanges As Short, ByRef Buffer As Short, ByVal ReadCount As Integer, ByVal SampleRate As Double, ByVal SyncMode As Short) As Short - Declare Function AI_ContReadChannelToFile Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal Channel As Short, ByVal AdRange As Short, ByVal FileName As String, ByVal ReadCount As Integer, ByVal SampleRate As Double, ByVal SyncMode As Short) As Short - Declare Function AI_ContScanChannelsToFile Lib "Pci-Dask.dll" (ByVal wCardNumber As Short, ByVal wChannel As Short, ByVal wAdRange As Short, ByVal FileName As String, ByVal dwReadCount As Integer, ByVal SampleRate As Double, ByVal SyncMode As Short) As Short - Declare Function AI_ContReadMultiChannelsToFile Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal NumChans As Short, ByRef chans As Short, ByRef AdRanges As Short, ByVal FileName As String, ByVal ReadCount As Integer, ByVal SampleRate As Double, ByVal SyncMode As Short) As Short - Declare Function AI_ContStatus Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByRef Status As Short) As Short - Declare Function AI_InitialMemoryAllocated Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByRef MemSize As Integer) As Short - Declare Function AI_ReadChannel Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal Channel As Short, ByVal AdRange As Short, ByRef Value As Short) As Short - Declare Function AI_VReadChannel Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal Channel As Short, ByVal AdRange As Short, ByRef Voltage As Double) As Short - Declare Function AI_ScanReadChannels Lib "Pci-Dask.dll" (ByVal CardNumber As Integer, ByVal Channel As Integer, ByVal AdRange As Integer, ByVal pwBuffer As Integer) As Integer - Declare Function AI_ReadMultiChannels Lib "Pci-Dask.dll" (ByVal CardNumber As Integer, ByVal NumChans As Integer, ByVal pwChans As Integer, ByVal pwAdRanges As Integer, ByVal pwBuffer As Integer) As Integer - Declare Function AI_VoltScale Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal AdRange As Short, ByVal reading As Short, ByRef Voltage As Double) As Short - Declare Function AI_ContVScale Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal AdRange As Short, ByRef readingArray As UShort, ByRef voltageArray As Double, ByVal Count As Integer) As Short - Declare Function AI_AsyncDblBufferOverrun Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal op As Short, ByRef overrunFlag As Short) As Short - Declare Function AI_EventCallBack Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal Mode As Short, ByVal EventType As Short, ByVal callbackAddr As CallbackDelegate) As Short - Declare Function AI_SetTimeOut Lib "Pci-Dask.dll" (ByVal CardNumber As Integer, ByVal dwTimeOut As Long) As Integer - Declare Function AI_ContBufferReset Lib "Pci-Dask.dll" (ByVal CardNumber As Integer) As Integer - Declare Function AI_ContBufferSetup Lib "Pci-Dask.dll" (ByVal CardNumber As Integer, ByVal pwBuffer As Short, ByVal ReadCount As Long, ByVal BufferId As Integer) As Integer - - 'AO Functions - Declare Function AO_6208A_Config Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal V2AMode As Short) As Short - Declare Function AO_6308A_Config Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal V2AMode As Short) As Short - Declare Function AO_6308V_Config Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal Channel As Short, ByVal OutputPolarity As Short, ByVal refVoltage As Double) As Short - Declare Function AO_9111_Config Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal OutputPolarity As Short) As Short - Declare Function AO_9112_Config Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal Channel As Short, ByVal refVoltage As Double) As Short - Declare Function AO_WriteChannel Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal Channel As Short, ByVal Value As Short) As Short - Declare Function AO_VWriteChannel Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal Channel As Short, ByVal Voltage As Double) As Short - Declare Function AO_VoltScale Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal Channel As Short, ByVal Voltage As Double, ByRef binValue As Short) As Short - Declare Function AO_SimuWriteChannel Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal wGroup As Short, ByRef valueArray As Short) As Short - Declare Function AO_SimuVWriteChannel Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal wGroup As Short, ByRef voltageArray As Double) As Short - - 'DI Functions - Declare Function DI_7200_Config Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal TrigSource As Short, ByVal wExtTrigEn As Short, ByVal wTrigPol As Short, ByVal wI_REQ_Pol As Short) As Short - Declare Function DI_7300A_Config Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal PortWidth As Short, ByVal TrigSource As Short, ByVal WaitStatus As Short, ByVal Terminaor As Short, ByVal I_REQ_Pol As Short, ByVal clear_fifo As Byte, ByVal disable_di As Byte) As Short - Declare Function DI_7300B_Config Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal PortWidth As Short, ByVal TrigSource As Short, ByVal WaitStatus As Short, ByVal Terminator As Short, ByVal I_Cntrl_Pol As Short, ByVal clear_fifo As Byte, ByVal disable_di As Byte) As Short - Declare Function DI_AsyncCheck Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByRef Stopped As Byte, ByRef AccessCnt As Integer) As Short - Declare Function DI_AsyncClear Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByRef AccessCnt As Integer) As Short - Declare Function DI_AsyncDblBufferHalfReady Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByRef HalfReady As Byte) As Short - Declare Function DI_AsyncDblBufferMode Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal Enable As Byte) As Short - Declare Function DI_AsyncDblBufferTransfer Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByRef Buffer As Byte) As Short - Declare Function DI_AsyncDblBufferTransfer Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByRef Buffer As Short) As Short - Declare Function DI_AsyncDblBufferTransfer Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByRef Buffer As UInt32) As Short - Declare Function DI_ContMultiBufferSetup Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByRef Buffer As Byte, ByVal ReadCount As Integer, ByRef BufferId As Short) As Short - Declare Function DI_ContMultiBufferSetup Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByRef Buffer As Short, ByVal ReadCount As Integer, ByRef BufferId As Short) As Short - Declare Function DI_ContMultiBufferSetup Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByRef Buffer As UInt32, ByVal ReadCount As Integer, ByRef BufferId As Short) As Short - Declare Function DI_ContMultiBufferStart Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal Port As Short, ByVal SampleRate As Double) As Short - Declare Function DI_AsyncMultiBufferNextReady Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByRef NextReady As Byte, ByRef BufferId As Short) As Short - Declare Function DI_ContReadPort Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal Port As Integer, ByRef Buffer As Byte, ByVal ReadCount As Integer, ByVal SampleRate As Double, ByVal SyncMode As Short) As Short - Declare Function DI_ContReadPort Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal Port As Integer, ByRef Buffer As UShort, ByVal ReadCount As Integer, ByVal SampleRate As Double, ByVal SyncMode As Short) As Short - Declare Function DI_ContReadPort Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal Port As Integer, ByRef Buffer As UInt32, ByVal ReadCount As Integer, ByVal SampleRate As Double, ByVal SyncMode As Short) As Short - Declare Function DI_ContReadPortToFile Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal Port As Short, ByVal FileName As String, ByVal ReadCount As Integer, ByVal SampleRate As Double, ByVal SyncMode As Short) As Short - Declare Function DI_ContStatus Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByRef Status As Short) As Short - Declare Function DI_InitialMemoryAllocated Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByRef MemSize As Integer) As Short - Declare Function DI_ReadPort Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal Port As Short, ByRef Value As Integer) As Short - Declare Function DI_ReadLine Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal Port As Short, ByVal Line As Short, ByRef Value As Short) As Short - Declare Function DI_AsyncDblBufferOverrun Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal op As Short, ByRef overrunFlag As Short) As Short - Declare Function DI_EventCallBack Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal Mode As Short, ByVal EventType As Short, ByVal callbackAddr As Integer) As Short - - 'DO Functions - Declare Function DO_7200_Config Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal TrigSource As Short, ByVal wOutReqEn As Short, ByVal wOutTrigSig As Short) As Short - Declare Function DO_7300A_Config Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal PortWidth As Short, ByVal TrigSource As Short, ByVal WaitStatus As Short, ByVal Terminaor As Short, ByVal O_REQ_Pol As Short) As Short - Declare Function DO_7300B_Config Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal PortWidth As Short, ByVal TrigSource As Short, ByVal WaitStatus As Short, ByVal Terminator As Short, ByVal O_Cntrl_Pol As Short, ByVal FifoThreshold As Integer) As Short - Declare Function DO_AsyncCheck Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByRef Stopped As Byte, ByRef AccessCnt As Integer) As Short - Declare Function DO_AsyncClear Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByRef AccessCnt As Integer) As Short - Declare Function DO_ContWritePort Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal Port As Integer, ByRef Buffer As Byte, ByVal WriteCount As Integer, ByVal Iterations As Integer, ByVal SampleRate As Double, ByVal SyncMode As Short) As Short - Declare Function DO_ContWritePort Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal Port As Integer, ByRef Buffer As UShort, ByVal WriteCount As Integer, ByVal Iterations As Integer, ByVal SampleRate As Double, ByVal SyncMode As Short) As Short - Declare Function DO_ContWritePort Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal Port As Integer, ByRef Buffer As UInt32, ByVal WriteCount As Integer, ByVal Iterations As Integer, ByVal SampleRate As Double, ByVal SyncMode As Short) As Short - Declare Function DO_ContStatus Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByRef Status As Short) As Short - Declare Function DO_InitialMemoryAllocated Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByRef MemSize As Integer) As Short - Declare Function DO_PGStart Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByRef Buffer As Byte, ByVal WriteCount As Integer, ByVal SampleRate As Double) As Short - Declare Function DO_PGStart Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByRef Buffer As Short, ByVal WriteCount As Integer, ByVal SampleRate As Double) As Short - Declare Function DO_PGStart Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByRef Buffer As UInt32, ByVal WriteCount As Integer, ByVal SampleRate As Double) As Short - Declare Function DO_PGStop Lib "Pci-Dask.dll" (ByVal CardNumber As Short) As Short - Declare Function DO_WritePort Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal Port As Short, ByVal Value As Integer) As Short - Declare Function DO_WriteLine Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal Port As Short, ByVal Line As Short, ByVal Value As Short) As Short - Declare Function DO_SimuWritePort Lib "Pci-Dask.dll" (ByVal wCardNumber As Short, ByVal wNumChans As Short, ByRef pdwBuffer As Integer) As Short - Declare Function DO_ReadLine Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal Port As Short, ByVal Line As Short, ByRef Value As Short) As Short - Declare Function DO_ReadPort Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal Port As Short, ByRef Value As Integer) As Short - Declare Function EDO_9111_Config Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal wEDO_Fun As Short) As Short - Declare Function DO_WriteExtTrigLine Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal Value As Short) As Short - Declare Function DO_ContMultiBufferSetup Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByRef Buffer As Byte, ByVal WriteCount As Integer, ByRef BufferId As Short) As Short - Declare Function DO_ContMultiBufferSetup Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByRef Buffer As Short, ByVal WriteCount As Integer, ByRef BufferId As Short) As Short - Declare Function DO_ContMultiBufferSetup Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByRef Buffer As UInt32, ByVal WriteCount As Integer, ByRef BufferId As Short) As Short - Declare Function DO_ContMultiBufferStart Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal Port As Short, ByVal SampleRate As Double) As Short - Declare Function DO_AsyncMultiBufferNextReady Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByRef NextReady As Byte, ByRef BufferId As Short) As Short - Declare Function DO_EventCallBack Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal Mode As Short, ByVal EventType As Short, ByVal callbackAddr As Integer) As Short - - 'DIO Functions - Declare Function DIO_PortConfig Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal Port As Short, ByVal Direction As Short) As Short - Declare Function DIO_LinesConfig Lib "Pci-Dask.dll" (ByVal wCardNumber As Short, ByVal wPort As Short, ByVal wLinesdirmap As Short) As Short - Declare Function DIO_LineConfig Lib "Pci-Dask.dll" (ByVal wCardNumber As Short, ByVal wPort As Short, ByVal wLine As Short, ByVal wDirection As Short) As Short - Declare Function DIO_SetDualInterrupt Lib "Pci-Dask.dll" (ByVal wCardNumber As Short, ByVal wInt1Mode As Short, ByVal wInt2Mode As Short, ByRef hEvent As Integer) As Short - Declare Function DIO_SetCOSInterrupt Lib "Pci-Dask.dll" (ByVal wCardNumber As Short, ByVal Port As Short, ByVal ctlA As Short, ByVal ctlB As Short, ByVal ctlC As Short) As Short - Declare Function DIO_GetCOSLatchData Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByRef CosLData As Integer) As Short - Declare Function DIO_SetCOSInterrupt32 Lib "Pci-Dask.dll" (ByVal wCardNumber As Short, ByVal Port As Byte, ByVal ctl As Integer, ByRef hEvent As Integer, ByVal bManualReset As Byte) As Short - Declare Function DIO_GetCOSLatchData32 Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByRef CosLData As Integer) As Short - Declare Function DIO_INT_EventMessage Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal Mode As Short, ByVal hEvent As Integer, ByVal windowHandle As Integer, ByVal message As Integer, ByVal callbackAddr As CallbackDelegate) As Short - Declare Function DIO_INT1_EventMessage Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal Int1Mode As Short, ByVal windowHandle As Integer, ByVal message As Integer, ByVal callbackAddr As CallbackDelegate) As Short - Declare Function DIO_INT2_EventMessage Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal Int2Mode As Short, ByVal windowHandle As Integer, ByVal message As Integer, ByVal callbackAddr As CallbackDelegate) As Short - Declare Function DIO_7300SetInterrupt Lib "Pci-Dask.dll" (ByVal wCardNumber As Short, ByVal AuxDIEn As Short, ByVal T2En As Short, ByRef hEvent As Integer) As Short - Declare Function DIO_AUXDI_EventMessage Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal AuxDIEn As Short, ByVal windowHandle As Integer, ByVal message As Integer, ByVal callbackAddr As CallbackDelegate) As Short - Declare Function DIO_T2_EventMessage Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal T2En As Short, ByVal windowHandle As Integer, ByVal message As Integer, ByVal callbackAddr As CallbackDelegate) As Short - - 'Counter Functions - Declare Function CTR_Setup Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal Ctr As Short, ByVal Mode As Short, ByVal Count As Integer, ByVal BinBcd As Short) As Short - Declare Function CTR_Clear Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal Ctr As Short, ByVal State As Short) As Short - Declare Function CTR_Read Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal Ctr As Short, ByRef Value As Integer) As Short - Declare Function CTR_Update Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal Ctr As Short, ByVal Count As Integer) As Short - Declare Function CTR_8554_ClkSrc_Config Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal Ctr As Short, ByVal ClockSource As Short) As Short - Declare Function CTR_8554_CK1_Config Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal ClockSource As Short) As Short - Declare Function CTR_8554_Debounce_Config Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal DebounceClock As Short) As Short - Declare Function GCTR_Setup Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal wGCtr As Short, ByVal wGCtrCtrl As Short, ByVal dwCount As Integer) As Short - Declare Function GCTR_Clear Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal wGCtr As Short) As Short - Declare Function GCTR_Read Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal wGCtr As Short, ByRef pValue As Integer) As Short - Declare Function GPTC_Clear Lib "Pci-Dask.dll" (ByVal CardNumber As Integer, ByVal wGCtr As Integer) As Integer - Declare Function GPTC_Control Lib "Pci-Dask.dll" (ByVal CardNumber As Integer, ByVal wGCtr As Integer, ByVal ParamID As Integer, ByVal Value As Integer) As Integer - Declare Function GPTC_Read Lib "Pci-Dask.dll" (ByVal CardNumber As Integer, ByVal wGCtr As Integer, ByVal pValue As Long) As Integer - Declare Function GPTC_Setup Lib "Pci-Dask.dll" (ByVal CardNumber As Integer, ByVal wGCtr As Integer, ByVal wMode As Integer, ByVal wSrcCtrl As Integer, ByVal wPolCtrl As Integer, ByVal LReg1_Val As Long, ByVal LReg2_Val As Long) As Integer - Declare Function GPTC_Status Lib "Pci-Dask.dll" (ByVal CardNumber As Integer, ByVal wGCtr As Integer, ByVal pValue As Long) As Integer - Declare Function WDT_Setup Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal wCtr As Short, ByVal ovflowSec As Single, ByRef actualSec As Single, ByRef hEvent As Integer) As Short - Declare Function WDT_Control Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal wCtr As Short, ByVal action As Short) As Short - Declare Function WDT_Status Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal wCtr As Short, ByRef pValue As Integer) As Short - Declare Function WDT_Reload Lib "Pci-Dask.dll" (ByVal wCardNumber As Short, ByVal ovflowSec As Single, ByRef actualSec As Single) As Short - - Declare Function AI_GetEvent Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByRef hEvent As Integer) As Short - Declare Function AO_GetEvent Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByRef hEvent As Integer) As Short - Declare Function DI_GetEvent Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByRef hEvent As Integer) As Short - Declare Function DO_GetEvent Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByRef hEvent As Integer) As Short - - 'Cal Function - Declare Function PCI_DB_Auto_Calibration_ALL Lib "Pci-Dask.dll" (ByVal CardNumber As Integer) As Integer - Declare Function PCI_Load_CAL_Data Lib "Pci-Dask.dll" (ByVal CardNumber As Integer, ByVal bank As Integer) As Integer - Declare Function PCI_EEPROM_CAL_Constant_Update Lib "Pci-Dask.dll" (ByVal CardNumber As Integer, ByVal bank As Integer) As Integer - -End Module \ No newline at end of file diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/.NET/VB.NET/6208/D6208_AO_OnePoint/D6208_AO_OnePoint/Form1.Designer.vb b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/.NET/VB.NET/6208/D6208_AO_OnePoint/D6208_AO_OnePoint/Form1.Designer.vb deleted file mode 100644 index 86dcd6a..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/.NET/VB.NET/6208/D6208_AO_OnePoint/D6208_AO_OnePoint/Form1.Designer.vb +++ /dev/null @@ -1,72 +0,0 @@ - _ -Partial Class Form1 - Inherits System.Windows.Forms.Form - - 'Form 覆寫 Dispose 以清除元件清單。 - _ - Protected Overrides Sub Dispose(ByVal disposing As Boolean) - If disposing AndAlso components IsNot Nothing Then - components.Dispose() - End If - MyBase.Dispose(disposing) - End Sub - - '為 Windows Form 設計工具的必要項 - Private components As System.ComponentModel.IContainer - - '注意: 以下為 Windows Form 設計工具所需的程序 - '可以使用 Windows Form 設計工具進行修改。 - '請不要使用程式碼編輯器進行修改。 - _ - Private Sub InitializeComponent() - Me.label1 = New System.Windows.Forms.Label - Me.textBox1 = New System.Windows.Forms.TextBox - Me.button1 = New System.Windows.Forms.Button - Me.SuspendLayout() - ' - 'label1 - ' - Me.label1.AutoSize = True - Me.label1.Location = New System.Drawing.Point(133, 23) - Me.label1.Name = "label1" - Me.label1.Size = New System.Drawing.Size(13, 12) - Me.label1.TabIndex = 8 - Me.label1.Text = "V" - ' - 'textBox1 - ' - Me.textBox1.Location = New System.Drawing.Point(29, 12) - Me.textBox1.Name = "textBox1" - Me.textBox1.Size = New System.Drawing.Size(99, 22) - Me.textBox1.TabIndex = 7 - Me.textBox1.Text = "2" - Me.textBox1.TextAlign = System.Windows.Forms.HorizontalAlignment.Right - ' - 'button1 - ' - Me.button1.Location = New System.Drawing.Point(171, 12) - Me.button1.Name = "button1" - Me.button1.Size = New System.Drawing.Size(93, 22) - Me.button1.TabIndex = 6 - Me.button1.Text = "Output" - Me.button1.UseVisualStyleBackColor = True - ' - 'Form1 - ' - Me.AutoScaleDimensions = New System.Drawing.SizeF(6.0!, 12.0!) - Me.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font - Me.ClientSize = New System.Drawing.Size(292, 54) - Me.Controls.Add(Me.label1) - Me.Controls.Add(Me.textBox1) - Me.Controls.Add(Me.button1) - Me.Name = "Form1" - Me.Text = "Form1" - Me.ResumeLayout(False) - Me.PerformLayout() - - End Sub - Private WithEvents label1 As System.Windows.Forms.Label - Private WithEvents textBox1 As System.Windows.Forms.TextBox - Private WithEvents button1 As System.Windows.Forms.Button - -End Class diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/.NET/VB.NET/6208/D6208_AO_OnePoint/D6208_AO_OnePoint/Form1.resx b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/.NET/VB.NET/6208/D6208_AO_OnePoint/D6208_AO_OnePoint/Form1.resx deleted file mode 100644 index 19dc0dd..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/.NET/VB.NET/6208/D6208_AO_OnePoint/D6208_AO_OnePoint/Form1.resx +++ /dev/null @@ -1,120 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - text/microsoft-resx - - - 2.0 - - - System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - \ No newline at end of file diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/.NET/VB.NET/6208/D6208_AO_OnePoint/D6208_AO_OnePoint/Form1.vb b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/.NET/VB.NET/6208/D6208_AO_OnePoint/D6208_AO_OnePoint/Form1.vb deleted file mode 100644 index b2974b7..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/.NET/VB.NET/6208/D6208_AO_OnePoint/D6208_AO_OnePoint/Form1.vb +++ /dev/null @@ -1,30 +0,0 @@ -Public Class Form1 - Dim m_dev As Short - - Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load - m_dev = Register_Card(PCI_6208V, 0) - If (m_dev < 0) Then - MessageBox.Show("PCI_6208V error!") - End If - End Sub - - Private Sub Form1_FormClosing(ByVal sender As System.Object, ByVal e As System.Windows.Forms.FormClosingEventArgs) Handles MyBase.FormClosing - Dim ret As Short - If (m_dev >= 0) Then - ret = DASK.Release_Card(m_dev) - End If - End Sub - - Private Sub button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles button1.Click - Dim err As Short - Dim out_value As Double - If (Double.TryParse(textBox1.Text, out_value)) Then - err = DASK.AO_VWriteChannel(m_dev, 0, out_value) - If (err < 0) Then - MessageBox.Show("AO_VWriteChannel error!") - End If - Else - MessageBox.Show("Input error!") - End If - End Sub -End Class diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/.NET/VB.NET/6208/D6208_AO_OnePoint/D6208_AO_OnePoint/My Project/Application.Designer.vb b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/.NET/VB.NET/6208/D6208_AO_OnePoint/D6208_AO_OnePoint/My Project/Application.Designer.vb deleted file mode 100644 index e4eedf8..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/.NET/VB.NET/6208/D6208_AO_OnePoint/D6208_AO_OnePoint/My Project/Application.Designer.vb +++ /dev/null @@ -1,38 +0,0 @@ -'------------------------------------------------------------------------------ -' -' This code was generated by a tool. -' Runtime Version:2.0.50727.42 -' -' Changes to this file may cause incorrect behavior and will be lost if -' the code is regenerated. -' -'------------------------------------------------------------------------------ - -Option Strict On -Option Explicit On - - -Namespace My - - 'NOTE: This file is auto-generated; do not modify it directly. To make changes, - ' or if you encounter build errors in this file, go to the Project Designer - ' (go to Project Properties or double-click the My Project node in - ' Solution Explorer), and make changes on the Application tab. - ' - Partial Friend Class MyApplication - - _ - Public Sub New() - MyBase.New(Global.Microsoft.VisualBasic.ApplicationServices.AuthenticationMode.Windows) - Me.IsSingleInstance = false - Me.EnableVisualStyles = true - Me.SaveMySettingsOnExit = true - Me.ShutDownStyle = Global.Microsoft.VisualBasic.ApplicationServices.ShutdownMode.AfterMainFormCloses - End Sub - - _ - Protected Overrides Sub OnCreateMainForm() - Me.MainForm = Global.D6208_AO_OnePoint.Form1 - End Sub - End Class -End Namespace diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/.NET/VB.NET/6208/D6208_AO_OnePoint/D6208_AO_OnePoint/My Project/Application.myapp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/.NET/VB.NET/6208/D6208_AO_OnePoint/D6208_AO_OnePoint/My Project/Application.myapp deleted file mode 100644 index 1243847..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/.NET/VB.NET/6208/D6208_AO_OnePoint/D6208_AO_OnePoint/My Project/Application.myapp +++ /dev/null @@ -1,11 +0,0 @@ - - - true - Form1 - false - 0 - true - 0 - 0 - true - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/.NET/VB.NET/6208/D6208_AO_OnePoint/D6208_AO_OnePoint/My Project/AssemblyInfo.vb b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/.NET/VB.NET/6208/D6208_AO_OnePoint/D6208_AO_OnePoint/My Project/AssemblyInfo.vb deleted file mode 100644 index cafdde4..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/.NET/VB.NET/6208/D6208_AO_OnePoint/D6208_AO_OnePoint/My Project/AssemblyInfo.vb +++ /dev/null @@ -1,35 +0,0 @@ -Imports System -Imports System.Reflection -Imports System.Runtime.InteropServices - -' 組件的一般資訊是由下列的屬性集控制。 -' 變更這些屬性的值即可修改組件的相關 -' 資訊。 - -' 檢閱組件屬性的值 - - - - - - - - - - -'下列 GUID 為專案公開 (Expose) 至 COM 時所要使用的 typelib ID - - -' 組件的版本資訊是由下列四項值構成: -' -' 主要版本 -' 次要版本 -' 組建編號 -' 修訂編號 -' -' 您可以指定所有的值,也可以依照以下的方式,使用 '*' 將組建和修訂編號 -' 指定為預設值: -' - - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/.NET/VB.NET/6208/D6208_AO_OnePoint/D6208_AO_OnePoint/My Project/Resources.Designer.vb b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/.NET/VB.NET/6208/D6208_AO_OnePoint/D6208_AO_OnePoint/My Project/Resources.Designer.vb deleted file mode 100644 index 9a95f5d..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/.NET/VB.NET/6208/D6208_AO_OnePoint/D6208_AO_OnePoint/My Project/Resources.Designer.vb +++ /dev/null @@ -1,62 +0,0 @@ -'------------------------------------------------------------------------------ -' -' This code was generated by a tool. -' Runtime Version:2.0.50727.42 -' -' Changes to this file may cause incorrect behavior and will be lost if -' the code is regenerated. -' -'------------------------------------------------------------------------------ - -Option Strict On -Option Explicit On - - -Namespace My.Resources - - 'This class was auto-generated by the StronglyTypedResourceBuilder - 'class via a tool like ResGen or Visual Studio. - 'To add or remove a member, edit your .ResX file then rerun ResGen - 'with the /str option, or rebuild your VS project. - ' - ' A strongly-typed resource class, for looking up localized strings, etc. - ' - _ - Friend Module Resources - - Private resourceMan As Global.System.Resources.ResourceManager - - Private resourceCulture As Global.System.Globalization.CultureInfo - - ' - ' Returns the cached ResourceManager instance used by this class. - ' - _ - Friend ReadOnly Property ResourceManager() As Global.System.Resources.ResourceManager - Get - If Object.ReferenceEquals(resourceMan, Nothing) Then - Dim temp As Global.System.Resources.ResourceManager = New Global.System.Resources.ResourceManager("D6208_AO_OnePoint.Resources", GetType(Resources).Assembly) - resourceMan = temp - End If - Return resourceMan - End Get - End Property - - ' - ' Overrides the current thread's CurrentUICulture property for all - ' resource lookups using this strongly typed resource class. - ' - _ - Friend Property Culture() As Global.System.Globalization.CultureInfo - Get - Return resourceCulture - End Get - Set(ByVal value As Global.System.Globalization.CultureInfo) - resourceCulture = value - End Set - End Property - End Module -End Namespace diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/.NET/VB.NET/6208/D6208_AO_OnePoint/D6208_AO_OnePoint/My Project/Resources.resx b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/.NET/VB.NET/6208/D6208_AO_OnePoint/D6208_AO_OnePoint/My Project/Resources.resx deleted file mode 100644 index af7dbeb..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/.NET/VB.NET/6208/D6208_AO_OnePoint/D6208_AO_OnePoint/My Project/Resources.resx +++ /dev/null @@ -1,117 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - text/microsoft-resx - - - 2.0 - - - System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - \ No newline at end of file diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/.NET/VB.NET/6208/D6208_AO_OnePoint/D6208_AO_OnePoint/My Project/Settings.Designer.vb b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/.NET/VB.NET/6208/D6208_AO_OnePoint/D6208_AO_OnePoint/My Project/Settings.Designer.vb deleted file mode 100644 index 12aff8a..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/.NET/VB.NET/6208/D6208_AO_OnePoint/D6208_AO_OnePoint/My Project/Settings.Designer.vb +++ /dev/null @@ -1,73 +0,0 @@ -'------------------------------------------------------------------------------ -' -' This code was generated by a tool. -' Runtime Version:2.0.50727.42 -' -' Changes to this file may cause incorrect behavior and will be lost if -' the code is regenerated. -' -'------------------------------------------------------------------------------ - -Option Strict On -Option Explicit On - - -Namespace My - - _ - Partial Friend NotInheritable Class MySettings - Inherits Global.System.Configuration.ApplicationSettingsBase - - Private Shared defaultInstance As MySettings = CType(Global.System.Configuration.ApplicationSettingsBase.Synchronized(New MySettings), MySettings) - -#Region "My.Settings Auto-Save Functionality" -#If _MyType = "WindowsForms" Then - Private Shared addedHandler As Boolean - - Private Shared addedHandlerLockObject As New Object - - _ - Private Shared Sub AutoSaveSettings(ByVal sender As Global.System.Object, ByVal e As Global.System.EventArgs) - If My.Application.SaveMySettingsOnExit Then - My.Settings.Save() - End If - End Sub -#End If -#End Region - - Public Shared ReadOnly Property [Default]() As MySettings - Get - -#If _MyType = "WindowsForms" Then - If Not addedHandler Then - SyncLock addedHandlerLockObject - If Not addedHandler Then - AddHandler My.Application.Shutdown, AddressOf AutoSaveSettings - addedHandler = True - End If - End SyncLock - End If -#End If - Return defaultInstance - End Get - End Property - End Class -End Namespace - -Namespace My - - _ - Friend Module MySettingsProperty - - _ - Friend ReadOnly Property Settings() As Global.D6208_AO_OnePoint.My.MySettings - Get - Return Global.D6208_AO_OnePoint.My.MySettings.Default - End Get - End Property - End Module -End Namespace diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/.NET/VB.NET/6208/D6208_AO_OnePoint/D6208_AO_OnePoint/My Project/Settings.settings b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/.NET/VB.NET/6208/D6208_AO_OnePoint/D6208_AO_OnePoint/My Project/Settings.settings deleted file mode 100644 index 85b890b..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/.NET/VB.NET/6208/D6208_AO_OnePoint/D6208_AO_OnePoint/My Project/Settings.settings +++ /dev/null @@ -1,7 +0,0 @@ - - - - - - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/.NET/VB.NET/7250/D7250_DIO/D7250_DIO.sln b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/.NET/VB.NET/7250/D7250_DIO/D7250_DIO.sln deleted file mode 100644 index 18827d5..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/.NET/VB.NET/7250/D7250_DIO/D7250_DIO.sln +++ /dev/null @@ -1,20 +0,0 @@ - -Microsoft Visual Studio Solution File, Format Version 9.00 -# Visual Studio 2005 -Project("{F184B08F-C81C-45F6-A57F-5ABD9991F28F}") = "D7250_DIO", "D7250_DIO\D7250_DIO.vbproj", "{EE636679-4024-4F5F-A706-DDAAA85DF55F}" -EndProject -Global - GlobalSection(SolutionConfigurationPlatforms) = preSolution - Debug|Any CPU = Debug|Any CPU - Release|Any CPU = Release|Any CPU - EndGlobalSection - GlobalSection(ProjectConfigurationPlatforms) = postSolution - {EE636679-4024-4F5F-A706-DDAAA85DF55F}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {EE636679-4024-4F5F-A706-DDAAA85DF55F}.Debug|Any CPU.Build.0 = Debug|Any CPU - {EE636679-4024-4F5F-A706-DDAAA85DF55F}.Release|Any CPU.ActiveCfg = Release|Any CPU - {EE636679-4024-4F5F-A706-DDAAA85DF55F}.Release|Any CPU.Build.0 = Release|Any CPU - EndGlobalSection - GlobalSection(SolutionProperties) = preSolution - HideSolutionNode = FALSE - EndGlobalSection -EndGlobal diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/.NET/VB.NET/7250/D7250_DIO/D7250_DIO/D7250_DIO.vbproj b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/.NET/VB.NET/7250/D7250_DIO/D7250_DIO/D7250_DIO.vbproj deleted file mode 100644 index 8bfee87..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/.NET/VB.NET/7250/D7250_DIO/D7250_DIO/D7250_DIO.vbproj +++ /dev/null @@ -1,108 +0,0 @@ - - - - Debug - AnyCPU - 8.0.50727 - 2.0 - {EE636679-4024-4F5F-A706-DDAAA85DF55F} - WinExe - D7250_DIO.My.MyApplication - D7250_DIO - D7250_DIO - WindowsForms - - - true - full - true - true - bin\Debug\ - D7250_DIO.xml - 42016,41999,42017,42018,42019,42032,42036,42020,42021,42022 - - - pdbonly - false - true - true - bin\Release\ - D7250_DIO.xml - 42016,41999,42017,42018,42019,42032,42036,42020,42021,42022 - x86 - - - - - - - - - - - - - - - - - - - - - - - Form - - - Form1.vb - Form - - - - True - Application.myapp - - - True - True - Resources.resx - - - True - Settings.settings - True - - - - - Designer - Form1.vb - - - VbMyResourcesResXFileCodeGenerator - Resources.Designer.vb - My.Resources - Designer - - - - - MyApplicationCodeGenerator - Application.Designer.vb - - - SettingsSingleFileGenerator - My - Settings.Designer.vb - - - - - \ No newline at end of file diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/.NET/VB.NET/7250/D7250_DIO/D7250_DIO/DASK.vb b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/.NET/VB.NET/7250/D7250_DIO/D7250_DIO/DASK.vb deleted file mode 100644 index cdc485d..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/.NET/VB.NET/7250/D7250_DIO/D7250_DIO/DASK.vb +++ /dev/null @@ -1,655 +0,0 @@ -Option Strict Off -Option Explicit On -Module DASK - - 'ADLink PCI Card Type - Public Const PCI_6208V As Short = 1 - Public Const PCI_6208A As Short = 2 - Public Const PCI_6308V As Short = 3 - Public Const PCI_6308A As Short = 4 - Public Const PCI_7200 As Short = 5 - Public Const PCI_7230 As Short = 6 - Public Const PCI_7233 As Short = 7 - Public Const PCI_7234 As Short = 8 - Public Const PCI_7248 As Short = 9 - Public Const PCI_7249 As Short = 10 - Public Const PCI_7250 As Short = 11 - Public Const PCI_7252 As Short = 12 - Public Const PCI_7296 As Short = 13 - Public Const PCI_7300A_RevA As Short = 14 - Public Const PCI_7300A_RevB As Short = 15 - Public Const PCI_7432 As Short = 16 - Public Const PCI_7433 As Short = 17 - Public Const PCI_7434 As Short = 18 - Public Const PCI_8554 As Short = 19 - Public Const PCI_9111DG As Short = 20 - Public Const PCI_9111HR As Short = 21 - Public Const PCI_9112 As Short = 22 - Public Const PCI_9113 As Short = 23 - Public Const PCI_9114DG As Short = 24 - Public Const PCI_9114HG As Short = 25 - Public Const PCI_9118DG As Short = 26 - Public Const PCI_9118HG As Short = 27 - Public Const PCI_9118HR As Short = 28 - Public Const PCI_9810 As Short = 29 - Public Const PCI_9812 As Short = 30 - Public Const PCI_7396 As Short = 31 - Public Const PCI_9116 As Short = 32 - Public Const PCI_7256 As Short = 33 - Public Const PCI_7258 As Short = 34 - Public Const PCI_7260 As Short = 35 - Public Const PCI_7452 As Short = 36 - Public Const PCI_7442 As Short = 37 - - Public Const MAX_CARD As Short = 32 - - 'Error Code - Public Const NoError As Short = 0 - Public Const ErrorUnknownCardType As Short = -1 - Public Const ErrorInvalidCardNumber As Short = -2 - Public Const ErrorTooManyCardRegistered As Short = -3 - Public Const ErrorCardNotRegistered As Short = -4 - Public Const ErrorFuncNotSupport As Short = -5 - Public Const ErrorInvalidIoChannel As Short = -6 - Public Const ErrorInvalidAdRange As Short = -7 - Public Const ErrorContIoNotAllowed As Short = -8 - Public Const ErrorDiffRangeNotSupport As Short = -9 - Public Const ErrorLastChannelNotZero As Short = -10 - Public Const ErrorChannelNotDescending As Short = -11 - Public Const ErrorChannelNotAscending As Short = -12 - Public Const ErrorOpenDriverFailed As Short = -13 - Public Const ErrorOpenEventFailed As Short = -14 - Public Const ErrorTransferCountTooLarge As Short = -15 - Public Const ErrorNotDoubleBufferMode As Short = -16 - Public Const ErrorInvalidSampleRate As Short = -17 - Public Const ErrorInvalidCounterMode As Short = -18 - Public Const ErrorInvalidCounter As Short = -19 - Public Const ErrorInvalidCounterState As Short = -20 - Public Const ErrorInvalidBinBcdParam As Short = -21 - Public Const ErrorBadCardType As Short = -22 - Public Const ErrorInvalidDaRange As Short = -23 - Public Const ErrorAdTimeOut As Short = -24 - Public Const ErrorNoAsyncAI As Short = -25 - Public Const ErrorNoAsyncAO As Short = -26 - Public Const ErrorNoAsyncDI As Short = -27 - Public Const ErrorNoAsyncDO As Short = -28 - Public Const ErrorNotInputPort As Short = -29 - Public Const ErrorNotOutputPort As Short = -30 - Public Const ErrorInvalidDioPort As Short = -31 - Public Const ErrorInvalidDioLine As Short = -32 - Public Const ErrorContIoActive As Short = -33 - Public Const ErrorDblBufModeNotAllowed As Short = -34 - Public Const ErrorConfigFailed As Short = -35 - Public Const ErrorInvalidPortDirection As Short = -36 - Public Const ErrorBeginThreadError As Short = -37 - Public Const ErrorInvalidPortWidth As Short = -38 - Public Const ErrorInvalidCtrSource As Short = -39 - Public Const ErrorOpenFile As Short = -40 - Public Const ErrorAllocateMemory As Short = -41 - Public Const ErrorDaVoltageOutOfRange As Short = -42 - Public Const ErrorDaExtRefNotAllowed As Short = -43 - Public Const ErrorDIODataWidthError As Short = -44 - Public Const ErrorTaskCodeError As Short = -45 - Public Const ErrortriggercountError As Short = -46 - Public Const ErrorInvalidTriggerMode As Short = -47 - Public Const ErrorInvalidTriggerType As Short = -48 - Public Const ErrorInvalidCounterValue As Short = -50 - Public Const ErrorInvalidEventHandle As Short = -60 - Public Const ErrorNoMessageAvailable As Short = -61 - Public Const ErrorEventMessgaeNotAdded As Short = -62 - - 'Error code for driver API - Public Const ErrorConfigIoctl As Short = -201 - Public Const ErrorAsyncSetIoctl As Short = -202 - Public Const ErrorDBSetIoctl As Short = -203 - Public Const ErrorDBHalfReadyIoctl As Short = -204 - Public Const ErrorContOPIoctl As Short = -205 - Public Const ErrorContStatusIoctl As Short = -206 - Public Const ErrorPIOIoctl As Short = -207 - Public Const ErrorDIntSetIoctl As Short = -208 - Public Const ErrorWaitEvtIoctl As Short = -209 - Public Const ErrorOpenEvtIoctl As Short = -210 - Public Const ErrorCOSIntSetIoctl As Short = -211 - Public Const ErrorMemMapIoctl As Short = -212 - Public Const ErrorMemUMapSetIoctl As Short = -213 - Public Const ErrorCTRIoctl As Short = -214 - Public Const ErrorGetResIoctl As Short = -215 - - 'Synchronous Mode - Public Const SYNCH_OP As Short = 1 - Public Const ASYNCH_OP As Short = 2 - - 'AD Range - Public Const AD_B_10_V As Short = 1 - Public Const AD_B_5_V As Short = 2 - Public Const AD_B_2_5_V As Short = 3 - Public Const AD_B_1_25_V As Short = 4 - Public Const AD_B_0_625_V As Short = 5 - Public Const AD_B_0_3125_V As Short = 6 - Public Const AD_B_0_5_V As Short = 7 - Public Const AD_B_0_05_V As Short = 8 - Public Const AD_B_0_005_V As Short = 9 - Public Const AD_B_1_V As Short = 10 - Public Const AD_B_0_1_V As Short = 11 - Public Const AD_B_0_01_V As Short = 12 - Public Const AD_B_0_001_V As Short = 13 - Public Const AD_U_20_V As Short = 14 - Public Const AD_U_10_V As Short = 15 - Public Const AD_U_5_V As Short = 16 - Public Const AD_U_2_5_V As Short = 17 - Public Const AD_U_1_25_V As Short = 18 - Public Const AD_U_1_V As Short = 19 - Public Const AD_U_0_1_V As Short = 20 - Public Const AD_U_0_01_V As Short = 21 - Public Const AD_U_0_001_V As Short = 22 - - 'Trigger Source - Public Const TRIG_SOFTWARE As Short = 0 - Public Const TRIG_INT_PACER As Short = 1 - Public Const TRIG_EXT_STROBE As Short = 2 - Public Const TRIG_HANDSHAKE As Short = 3 - Public Const TRIG_CLK_10MHZ As Short = 4 'PCI-7300A - Public Const TRIG_CLK_20MHZ As Short = 5 'PCI-7300A - Public Const TRIG_DO_CLK_TIMER_ACK As Short = 6 'PCI-7300A Rev. B - Public Const TRIG_DO_CLK_10M_ACK As Short = 7 'PCI-7300A Rev. B - Public Const TRIG_DO_CLK_20M_ACK As Short = 8 'PCI-7300A Rev. B - - 'Virtual sampling rate for using external clock as the clock source - Public Const CLKSRC_EXT_SampRate As Short = 10000 - - '--------- Constants for PCI-6208A -------------- - 'Output Mode - Public Const P6208_CURRENT_0_20MA As Short = 0 - Public Const P6208_CURRENT_5_25MA As Short = 1 - Public Const P6208_CURRENT_4_20MA As Short = 3 - - '--------- Constants for PCI-6308A/PCI-6308V -------------- - 'Output Mode - Public Const P6308_CURRENT_0_20MA As Short = 0 - Public Const P6308_CURRENT_5_25MA As Short = 1 - Public Const P6308_CURRENT_4_20MA As Short = 3 - 'AO Setting - Public Const P6308V_AO_CH0_3 As Short = 0 - Public Const P6308V_AO_CH4_7 As Short = 1 - Public Const P6308V_AO_UNIPOLAR As Short = 0 - Public Const P6308V_AO_BIPOLAR As Short = 1 - - '--------- Constants for PCI-7200 -------------- - 'InputMode - Public Const DI_WAITING As Short = &H2s - Public Const DI_NOWAITING As Short = &H0s - - Public Const DI_TRIG_RISING As Short = &H4s - Public Const DI_TRIG_FALLING As Short = &H0s - - Public Const IREQ_RISING As Short = &H8s - Public Const IREQ_FALLING As Short = &H0s - - 'Output Mode - Public Const OREQ_ENABLE As Short = &H10s - Public Const OREQ_DISABLE As Short = &H0s - - Public Const OTRIG_HIGH As Short = &H20s - Public Const OTRIG_LOW As Short = &H0s - - '--------- Constants for PCI-7248/7296/7442 -------------- - 'DIO Port Direction - Public Const INPUT_PORT As Short = 1 - Public Const OUTPUT_PORT As Short = 2 - 'DIO Line Direction - Public Const INPUT_LINE As Short = 1 - Public Const OUTPUT_LINE As Short = 2 - - 'Channel&Port - Public Const Channel_P1A As Short = 0 - Public Const Channel_P1B As Short = 1 - Public Const Channel_P1C As Short = 2 - Public Const Channel_P1CL As Short = 3 - Public Const Channel_P1CH As Short = 4 - Public Const Channel_P1AE As Short = 10 - Public Const Channel_P1BE As Short = 11 - Public Const Channel_P1CE As Short = 12 - Public Const Channel_P2A As Short = 5 - Public Const Channel_P2B As Short = 6 - Public Const Channel_P2C As Short = 7 - Public Const Channel_P2CL As Short = 8 - Public Const Channel_P2CH As Short = 9 - Public Const Channel_P2AE As Short = 15 - Public Const Channel_P2BE As Short = 16 - Public Const Channel_P2CE As Short = 17 - Public Const Channel_P3A As Short = 10 - Public Const Channel_P3B As Short = 11 - Public Const Channel_P3C As Short = 12 - Public Const Channel_P3CL As Short = 13 - Public Const Channel_P3CH As Short = 14 - Public Const Channel_P4A As Short = 15 - Public Const Channel_P4B As Short = 16 - Public Const Channel_P4C As Short = 17 - Public Const Channel_P4CL As Short = 18 - Public Const Channel_P4CH As Short = 19 - Public Const Channel_P5A As Short = 20 - Public Const Channel_P5B As Short = 21 - Public Const Channel_P5C As Short = 22 - Public Const Channel_P5CL As Short = 23 - Public Const Channel_P5CH As Short = 24 - Public Const Channel_P6A As Short = 25 - Public Const Channel_P6B As Short = 26 - Public Const Channel_P6C As Short = 27 - Public Const Channel_P6CL As Short = 28 - Public Const Channel_P6CH As Short = 29 - Public Const Channel_P1 As Short = 30 - Public Const Channel_P2 As Short = 31 - Public Const Channel_P3 As Short = 32 - Public Const Channel_P4 As Short = 33 - Public Const Channel_P1E As Short = 34 - Public Const Channel_P2E As Short = 35 - Public Const Channel_P3E As Short = 36 - Public Const Channel_P4E As Short = 37 - - Public Const P7442_CH0 As Short = 0 - Public Const P7442_CH1 As Short = 1 - Public Const P7442_TTL0 As Short = 2 - Public Const P7442_TTL1 As Short = 3 - - '--------- Constants for PCI-7300A -------------- - 'Wait Status - Public Const P7300_WAIT_NO As Short = 0 - Public Const P7300_WAIT_TRG As Short = 1 - Public Const P7300_WAIT_FIFO As Short = 2 - Public Const P7300_WAIT_BOTH As Short = 3 - - 'Terminator control - Public Const P7300_TERM_OFF As Short = 0 - Public Const P7300_TERM_ON As Short = 1 - - 'DI control signals polarity for PCI-7300A Rev. B - Public Const P7300_DIREQ_POS As Short = &H0s - Public Const P7300_DIREQ_NEG As Short = &H1s - Public Const P7300_DIACK_POS As Short = &H0s - Public Const P7300_DIACK_NEG As Short = &H2s - Public Const P7300_DITRIG_POS As Short = &H0s - Public Const P7300_DITRIG_NEG As Short = &H4s - - 'DO control signals polarity for PCI-7300A Rev. B - Public Const P7300_DOREQ_POS As Short = &H0s - Public Const P7300_DOREQ_NEG As Short = &H8s - Public Const P7300_DOACK_POS As Short = &H0s - Public Const P7300_DOACK_NEG As Short = &H10s - Public Const P7300_DOTRIG_POS As Short = &H0s - Public Const P7300_DOTRIG_NEG As Short = &H20s - - '--------- Constants for PCI-7432/7433/7434 -------------- - Public Const CHANNEL_DI_LOW As Short = 0 - Public Const CHANNEL_DI_HIGH As Short = 1 - Public Const CHANNEL_DO_LOW As Short = 0 - Public Const CHANNEL_DO_HIGH As Short = 1 - Public Const P7432R_DO_LED As Short = 1 - Public Const P7433R_DO_LED As Short = 0 - Public Const P7434R_DO_LED As Short = 2 - Public Const P7432R_DI_SLOT As Short = 1 - Public Const P7433R_DI_SLOT As Short = 2 - Public Const P7434R_DI_SLOT As Short = 0 - - '----- Dual-Interrupt Source control for PCI-7248/49/96 & 7230 & 8554 & 7396 &7256/58 & 7260----- - Public Const INT1_DISABLE As Short = -1 'INT1 Disabled - Public Const INT1_COS As Short = 0 'INT1 COS : only available for PCI-7396, PCI-7256/58 & PCI-7260 - Public Const INT1_FP1C0 As Short = 1 'INT1 by Falling edge of P1C0 - Public Const INT1_RP1C0_FP1C3 As Short = 2 'INT1 by P1C0 Rising or P1C3 Falling - Public Const INT1_EVENT_COUNTER As Short = 3 'INT1 by Event Counter down to zero - Public Const INT1_EXT_SIGNAL As Short = 1 'INT1 by external signal : only available for PCI7432/PCI7433/PCI7230 - Public Const INT1_COUT12 As Short = 1 'INT1 COUT12 : only available for PCI8554 - Public Const INT1_CH0 As Short = 1 'INT1 CH0 : only available for PCI7256/58/60 - Public Const INT1_COS0 As Short = 1 'INT1 COS0 : only available for PCI-7452 - Public Const INT1_COS1 As Short = 2 'INT1 COS1 : only available for PCI-7452 - Public Const INT1_COS2 As Short = 3 'INT1 COS2 : only available for PCI-7452 - Public Const INT1_COS3 As Short = 8 'INT1 COS3 : only available for PCI-7452 - Public Const INT2_DISABLE As Short = -1 'INT2 Disabled - Public Const INT2_COS As Short = 0 'INT2 COS : only available for PCI-7396 - Public Const INT2_FP2C0 As Short = 1 'INT2 by Falling edge of P2C0 - Public Const INT2_RP2C0_FP2C3 As Short = 2 'INT2 by P2C0 Rising or P2C3 Falling - Public Const INT2_TIMER_COUNTER As Short = 3 'INT2 by Timer Counter down to zero - Public Const INT2_EXT_SIGNAL As Short = 1 'INT2 by external signal : only available for PCI7432/PCI7433/PCI7230 - Public Const INT2_CH1 As Short = 2 'INT2 CH1 : only available for PCI7256/58/60 - Public Const INT2_WDT As Short = 4 'INT2 by WDT - - Public Const WDT_OVRFLOW_SAFETYOUT As Short = &H8000s 'enable safteyout while WDT overflow - '-------- Constants for PCI-8554 -------------------- - 'Clock Source of Cunter N - Public Const ECKN As Short = 0 - Public Const COUTN_1 As Short = 1 - Public Const CK1 As Short = 2 - Public Const COUT10 As Short = 3 - - 'Clock Source of CK1 - Public Const CK1_C8M As Short = 0 - Public Const CK1_COUT11 As Short = 1 - - 'Debounce Clock - Public Const DBCLK_COUT11 As Short = 0 - Public Const DBCLK_2MHZ As Short = 1 - - '--------- Constants for PCI-9111 -------------- - 'Dual Interrupt Mode - Public Const P9111_INT1_EOC As Short = 0 'Ending of AD conversion - Public Const P9111_INT1_FIFO_HF As Short = 1 'FIFO Half Full - Public Const P9111_INT2_PACER As Short = 0 'Every Timer tick - Public Const P9111_INT2_EXT_TRG As Short = 1 'ExtTrig High->Low - - 'Channel Count - Public Const P9111_CHANNEL_DO As Short = 0 - Public Const P9111_CHANNEL_EDO As Short = 1 - Public Const P9111_CHANNEL_DI As Short = 0 - Public Const P9111_CHANNEL_EDI As Short = 1 - - 'Trigger Mode - Public Const P9111_TRGMOD_SOFT As Short = 0 'Software Trigger Mode - Public Const P9111_TRGMOD_PRE As Short = 1 'Pre-Trigger Mode - Public Const P9111_TRGMOD_POST As Short = 2 'Post Trigger Mode - - 'EDO function - Public Const P9111_EDO_INPUT As Short = 1 'EDO port set as Input port - Public Const P9111_EDO_OUT_EDO As Short = 2 'EDO port set as Output port - Public Const P9111_EDO_OUT_CHN As Short = 3 'EDO port set as channel number ouput port - - 'AO Setting - Public Const P9111_AO_UNIPOLAR As Short = 0 - Public Const P9111_AO_BIPOLAR As Short = 1 - - '--------- Constants for PCI-9118 -------------- - Public Const P9118_AI_BiPolar As Short = &H0s - Public Const P9118_AI_UniPolar As Short = &H1s - - Public Const P9118_AI_SingEnded As Short = &H0s - Public Const P9118_AI_Differential As Short = &H2s - - Public Const P9118_AI_ExtG As Short = &H4s - - Public Const P9118_AI_ExtTrig As Short = &H8s - - Public Const P9118_AI_DtrgNegative As Short = &H0s - Public Const P9118_AI_DtrgPositive As Short = &H10s - - Public Const P9118_AI_EtrgNegative As Short = &H0s - Public Const P9118_AI_EtrgPositive As Short = &H20s - - Public Const P9118_AI_BurstModeEn As Short = &H40s - Public Const P9118_AI_SampleHold As Short = &H80s - Public Const P9118_AI_PostTrgEn As Short = &H100s - Public Const P9118_AI_AboutTrgEn As Short = &H200s - - '--------- Constants for PCI-9812/9810 -------------- - 'Channel Count - Public Const P9116_AI_LocalGND As Short = &H0s - Public Const P9116_AI_UserCMMD As Short = &H1s - Public Const P9116_AI_SingEnded As Short = &H0s - Public Const P9116_AI_Differential As Short = &H2s - Public Const P9116_AI_BiPolar As Short = &H0s - Public Const P9116_AI_UniPolar As Short = &H4s - - Public Const P9116_TRGMOD_SOFT As Short = &H0s 'Software Trigger Mode - Public Const P9116_TRGMOD_POST As Short = &H10s 'Post Trigger Mode - Public Const P9116_TRGMOD_DELAY As Short = &H20s 'Delay Trigger Mode - Public Const P9116_TRGMOD_PRE As Short = &H30s 'Pre-Trigger Mode - Public Const P9116_TRGMOD_MIDL As Short = &H40s 'Middle Trigger Mode - Public Const P9116_AI_TrgPositive As Short = &H0s - Public Const P9116_AI_TrgNegative As Short = &H80s - Public Const P9116_AI_IntTimeBase As Short = &H0s - Public Const P9116_AI_ExtTimeBase As Short = &H100s - Public Const P9116_AI_DlyInSamples As Short = &H200s - Public Const P9116_AI_DlyInTimebase As Short = &H0s - Public Const P9116_AI_ReTrigEn As Short = &H400s - Public Const P9116_AI_MCounterEn As Short = &H800s - Public Const P9116_AI_SoftPolling As Short = &H0s - Public Const P9116_AI_INT As Short = &H1000s - Public Const P9116_AI_DMA As Short = &H2000s - - '--------- Constants for PCI-9812/9810 -------------- - 'Channel Count - Public Const P9812_CHANNEL_CNT1 As Short = 1 - Public Const P9812_CHANNEL_CNT2 As Short = 2 - Public Const P9812_CHANNEL_CNT4 As Short = 4 - - 'Trigger Mode - Public Const P9812_TRGMOD_SOFT As Short = 0 'Software Trigger Mode - Public Const P9812_TRGMOD_POST As Short = 1 'Post Trigger Mode - Public Const P9812_TRGMOD_PRE As Short = 2 'Pre-Trigger Mode - Public Const P9812_TRGMOD_DELAY As Short = 3 'Delay Trigger Mode - Public Const P9812_TRGMOD_MIDL As Short = 4 'Middle Trigger Mode - - 'Trigger Source - Public Const P9812_TRGSRC_CH0 As Short = 0 'trigger source --CH0 - Public Const P9812_TRGSRC_CH1 As Short = 8 'trigger source --CH1 - Public Const P9812_TRGSRC_CH2 As Short = &H10s 'trigger source --CH2 - Public Const P9812_TRGSRC_CH3 As Short = &H18s 'trigger source --CH3 - Public Const P9812_TRGSRC_EXT_DIG As Short = &H20s 'External Digital Trigger - - 'Trigger Polarity - Public Const P9812_TRGSLP_POS As Short = 0 'Positive slope trigger - Public Const P9812_TRGSLP_NEG As Short = &H40s 'Negative slope trigger - - 'Frequency Selection - Public Const P9812_AD2_GT_PCI As Short = &H80s 'Freq. of A/D clock > PCI clock freq. - Public Const P9812_AD2_LT_PCI As Short = &H0s 'Freq. of A/D clock < PCI clock freq. - - 'Clock Source - Public Const P9812_CLKSRC_INT As Short = &H0s 'Internal clock - Public Const P9812_CLKSRC_EXT_SIN As Short = &H100s 'External SIN wave clock - Public Const P9812_CLKSRC_EXT_DIG As Short = &H200s 'External Square wave clock - - 'DAQ Event type for the event message - Public Const AIEnd As Short = 0 - Public Const DIEnd As Short = 0 - Public Const DOEnd As Short = 0 - Public Const DBEvent As Short = 1 - - 'EMG shdn ctrl code - Public Const EMGSHDN_OFF As Short = 0 'off - Public Const EMGSHDN_ON As Short = 1 'on - Public Const EMGSHDN_RECOVERY As Short = 2 'recovery - - 'Hot Reset Hold ctrl code - Public Const HRH_OFF As Short = 0 'off - Public Const HRH_ON As Short = 1 'on - - '--------- Constants for Timer/Counter -------------- - 'Counter Mode (8254) - Public Const TOGGLE_OUTPUT As Short = 0 'Toggle output from low to high on terminal count - Public Const PROG_ONE_SHOT As Short = 1 'Programmable one-shot - Public Const RATE_GENERATOR As Short = 2 'Rate generator - Public Const SQ_WAVE_RATE_GENERATOR As Short = 3 'Square wave rate generator - Public Const SOFT_TRIG As Short = 4 'Software-triggered strobe - Public Const HARD_TRIG As Short = 5 'Hardware-triggered strobe - - '------- General Purpose Timer/Counter ----------------- - 'Counter Mode - Public Const General_Counter As Short = &H0s 'general counter - Public Const Pulse_Generation As Short = &H1s 'pulse generation - 'GPTC clock source - Public Const GPTC_CLKSRC_EXT As Short = &H8s - Public Const GPTC_CLKSRC_INT As Short = &H0s - Public Const GPTC_GATESRC_EXT As Short = &H10s - Public Const GPTC_GATESRC_INT As Short = &H0s - Public Const GPTC_UPDOWN_SELECT_EXT As Short = &H20s - Public Const GPTC_UPDOWN_SELECT_SOFT As Short = &H0s - Public Const GPTC_UP_CTR As Short = &H40s - Public Const GPTC_DOWN_CTR As Short = &H0s - Public Const GPTC_ENABLE As Short = &H80s - Public Const GPTC_DISABLE As Short = &H0s - - 'Watchdog Timer - 'Counter action - Public Const WDT_DISARM As Short = 0 - Public Const WDT_ARM As Short = 1 - Public Const WDT_RESTART As Short = 2 - - 'Pattern ID - Public Const INIT_PTN As Short = 0 - Public Const EMGSHDN_PTN As Short = 1 - - 'Pattern ID for 7442 - Public Const INIT_PTN_CH0 As Short = 0 - Public Const INIT_PTN_CH1 As Short = 1 - Public Const SAFTOUT_PTN_CH0 As Short = 4 - Public Const SAFTOUT_PTN_CH1 As Short = 5 - - '16-bit binary or 4-decade BCD counter - Public Const BIN As Short = 0 - Public Const BCD As Short = 1 - - Declare Function WaitForSingleObject Lib "kernel32" (ByVal hHandle As Integer, ByVal dwMilliseconds As Integer) As Integer - Public Delegate Sub CallbackDelegate() - - '------------------------------------------------------------------- - ' PCIS-DASK Function prototype - '-----------------------------------------------------------------*/ - Declare Function Register_Card Lib "Pci-Dask.dll" (ByVal cardType As Short, ByVal card_num As Short) As Short - Declare Function Release_Card Lib "Pci-Dask.dll" (ByVal CardNumber As Short) As Short - Declare Function GetActualRate Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal SampleRate As Double, ByRef ActualRate As Double) As Short - Declare Function GetCardType Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByRef cardType As Short) As Short - Declare Function GetBaseAddr Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByRef BaseAddr As Integer, ByRef BaseAddr2 As Integer) As Short - Declare Function GetLCRAddr Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByRef LcrAddr As Integer) As Short - Declare Function GetCardIndexFromID Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByRef cardType As Short, ByRef cardIndex As Short) As Short - Declare Function EMGShutDownControl Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal ctrl As Byte) As Short - Declare Function EMGShutDownStatus Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByRef ctrl As Byte) As Short - Declare Function HotResetHoldControl Lib "Pci-Dask.dll" (ByVal wCardNumber As Short, ByVal Enable As Byte) As Short - Declare Function HotResetHoldStatus Lib "Pci-Dask.dll" (ByVal wCardNumber As Short, ByRef sts As Byte) As Short - Declare Function SetInitPattern Lib "Pci-Dask.dll" (ByVal wCardNumber As Short, ByVal patID As Byte, ByVal pattern As Integer) As Short - Declare Function GetInitPattern Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal patID As Byte, ByRef pattern As Integer) As Short - Declare Function IdentifyLED_Control Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal ctrl As Byte) As Short - - 'AI Functions - Declare Function AI_9111_Config Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal TrigSource As Short, ByVal TrgMode As Short, ByVal wTraceCnt As Short) As Short - Declare Function AI_9112_Config Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal TrigSource As Short) As Short - Declare Function AI_9113_Config Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal TrigSource As Short) As Short - Declare Function AI_9114_Config Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal TrigSource As Short) As Short - Declare Function AI_9114_PreTrigConfig Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal PreTrgEn As Short, ByVal TraceCnt As Short) As Short - Declare Function AI_9116_Config Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal ConfigCtrl As Short, ByVal TrigCtrl As Short, ByVal PostCnt As Short, ByVal MCnt As Short, ByVal ReTrgCnt As Short) As Short - Declare Function AI_9118_Config Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal wModeCtrl As Short, ByVal wFunCtrl As Short, ByVal wBurstCnt As Short, ByVal wPostCnt As Short) As Short - Declare Function AI_9812_Config Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal wTrgMode As Short, ByVal wTrgSrc As Short, ByVal wTrgPol As Short, ByVal wClkSel As Short, ByVal wTrgLevel As Short, ByVal wPostCnt As Short) As Short - Declare Function AI_9116_CounterInterval Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal ScanIntrv As Integer, ByVal SampIntrv As Integer) As Short - Declare Function AI_9812_SetDiv Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal pacerVal As Integer) As Short - Declare Function AI_AsyncCheck Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByRef Stopped As Byte, ByRef AccessCnt As Integer) As Short - Declare Function AI_AsyncClear Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByRef AccessCnt As Integer) As Short - Declare Function AI_AsyncDblBufferHalfReady Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByRef HalfReady As Byte, ByRef StopFlag As Byte) As Short - Declare Function AI_AsyncDblBufferMode Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal Enable As Byte) As Short - Declare Function AI_AsyncDblBufferTransfer Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByRef Buffer As Short) As Short - Declare Function AI_ContReadChannel Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal Channel As Short, ByVal AdRange As Short, ByRef Buffer As Short, ByVal ReadCount As Integer, ByVal SampleRate As Double, ByVal SyncMode As Short) As Short - Declare Function AI_ContScanChannels Lib "Pci-Dask.dll" (ByVal wCardNumber As Short, ByVal wChannel As Short, ByVal wAdRange As Short, ByRef pwBuffer As Short, ByVal dwReadCount As Integer, ByVal SampleRate As Double, ByVal SyncMode As Short) As Short - Declare Function AI_ContReadMultiChannels Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal NumChans As Short, ByRef chans As Short, ByRef AdRanges As Short, ByRef Buffer As Short, ByVal ReadCount As Integer, ByVal SampleRate As Double, ByVal SyncMode As Short) As Short - Declare Function AI_ContReadChannelToFile Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal Channel As Short, ByVal AdRange As Short, ByVal FileName As String, ByVal ReadCount As Integer, ByVal SampleRate As Double, ByVal SyncMode As Short) As Short - Declare Function AI_ContScanChannelsToFile Lib "Pci-Dask.dll" (ByVal wCardNumber As Short, ByVal wChannel As Short, ByVal wAdRange As Short, ByVal FileName As String, ByVal dwReadCount As Integer, ByVal SampleRate As Double, ByVal SyncMode As Short) As Short - Declare Function AI_ContReadMultiChannelsToFile Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal NumChans As Short, ByRef chans As Short, ByRef AdRanges As Short, ByVal FileName As String, ByVal ReadCount As Integer, ByVal SampleRate As Double, ByVal SyncMode As Short) As Short - Declare Function AI_ContStatus Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByRef Status As Short) As Short - Declare Function AI_InitialMemoryAllocated Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByRef MemSize As Integer) As Short - Declare Function AI_ReadChannel Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal Channel As Short, ByVal AdRange As Short, ByRef Value As Short) As Short - Declare Function AI_VReadChannel Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal Channel As Short, ByVal AdRange As Short, ByRef Voltage As Double) As Short - Declare Function AI_VoltScale Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal AdRange As Short, ByVal reading As Short, ByRef Voltage As Double) As Short - Declare Function AI_ContVScale Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal AdRange As Short, ByRef readingArray As UShort, ByRef voltageArray As Double, ByVal Count As Integer) As Short - Declare Function AI_AsyncDblBufferOverrun Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal op As Short, ByRef overrunFlag As Short) As Short - Declare Function AI_EventCallBack Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal Mode As Short, ByVal EventType As Short, ByVal callbackAddr As CallbackDelegate) As Short - - 'AO Functions - Declare Function AO_6208A_Config Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal V2AMode As Short) As Short - Declare Function AO_6308A_Config Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal V2AMode As Short) As Short - Declare Function AO_6308V_Config Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal Channel As Short, ByVal OutputPolarity As Short, ByVal refVoltage As Double) As Short - Declare Function AO_9111_Config Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal OutputPolarity As Short) As Short - Declare Function AO_9112_Config Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal Channel As Short, ByVal refVoltage As Double) As Short - Declare Function AO_WriteChannel Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal Channel As Short, ByVal Value As Short) As Short - Declare Function AO_VWriteChannel Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal Channel As Short, ByVal Voltage As Double) As Short - Declare Function AO_VoltScale Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal Channel As Short, ByVal Voltage As Double, ByRef binValue As Short) As Short - Declare Function AO_SimuWriteChannel Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal wGroup As Short, ByRef valueArray As Short) As Short - Declare Function AO_SimuVWriteChannel Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal wGroup As Short, ByRef voltageArray As Double) As Short - - 'DI Functions - Declare Function DI_7200_Config Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal TrigSource As Short, ByVal wExtTrigEn As Short, ByVal wTrigPol As Short, ByVal wI_REQ_Pol As Short) As Short - Declare Function DI_7300A_Config Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal PortWidth As Short, ByVal TrigSource As Short, ByVal WaitStatus As Short, ByVal Terminaor As Short, ByVal I_REQ_Pol As Short, ByVal clear_fifo As Byte, ByVal disable_di As Byte) As Short - Declare Function DI_7300B_Config Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal PortWidth As Short, ByVal TrigSource As Short, ByVal WaitStatus As Short, ByVal Terminator As Short, ByVal I_Cntrl_Pol As Short, ByVal clear_fifo As Byte, ByVal disable_di As Byte) As Short - Declare Function DI_AsyncCheck Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByRef Stopped As Byte, ByRef AccessCnt As Integer) As Short - Declare Function DI_AsyncClear Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByRef AccessCnt As Integer) As Short - Declare Function DI_AsyncDblBufferHalfReady Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByRef HalfReady As Byte) As Short - Declare Function DI_AsyncDblBufferMode Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal Enable As Byte) As Short - Declare Function DI_AsyncDblBufferTransfer Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByRef Buffer As Byte) As Short - Declare Function DI_AsyncDblBufferTransfer Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByRef Buffer As Short) As Short - Declare Function DI_AsyncDblBufferTransfer Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByRef Buffer As UInt32) As Short - Declare Function DI_ContMultiBufferSetup Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByRef Buffer As Byte, ByVal ReadCount As Integer, ByRef BufferId As Short) As Short - Declare Function DI_ContMultiBufferSetup Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByRef Buffer As Short, ByVal ReadCount As Integer, ByRef BufferId As Short) As Short - Declare Function DI_ContMultiBufferSetup Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByRef Buffer As UInt32, ByVal ReadCount As Integer, ByRef BufferId As Short) As Short - Declare Function DI_ContMultiBufferStart Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal Port As Short, ByVal SampleRate As Double) As Short - Declare Function DI_AsyncMultiBufferNextReady Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByRef NextReady As Byte, ByRef BufferId As Short) As Short - Declare Function DI_ContReadPort Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal Port As Integer, ByRef Buffer As Byte, ByVal ReadCount As Integer, ByVal SampleRate As Double, ByVal SyncMode As Short) As Short - Declare Function DI_ContReadPort Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal Port As Integer, ByRef Buffer As UShort, ByVal ReadCount As Integer, ByVal SampleRate As Double, ByVal SyncMode As Short) As Short - Declare Function DI_ContReadPort Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal Port As Integer, ByRef Buffer As UInt32, ByVal ReadCount As Integer, ByVal SampleRate As Double, ByVal SyncMode As Short) As Short - Declare Function DI_ContReadPortToFile Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal Port As Short, ByVal FileName As String, ByVal ReadCount As Integer, ByVal SampleRate As Double, ByVal SyncMode As Short) As Short - Declare Function DI_ContStatus Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByRef Status As Short) As Short - Declare Function DI_InitialMemoryAllocated Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByRef MemSize As Integer) As Short - Declare Function DI_ReadPort Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal Port As Short, ByRef Value As Integer) As Short - Declare Function DI_ReadLine Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal Port As Short, ByVal Line As Short, ByRef Value As Short) As Short - Declare Function DI_AsyncDblBufferOverrun Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal op As Short, ByRef overrunFlag As Short) As Short - Declare Function DI_EventCallBack Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal Mode As Short, ByVal EventType As Short, ByVal callbackAddr As Integer) As Short - - 'DO Functions - Declare Function DO_7200_Config Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal TrigSource As Short, ByVal wOutReqEn As Short, ByVal wOutTrigSig As Short) As Short - Declare Function DO_7300A_Config Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal PortWidth As Short, ByVal TrigSource As Short, ByVal WaitStatus As Short, ByVal Terminaor As Short, ByVal O_REQ_Pol As Short) As Short - Declare Function DO_7300B_Config Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal PortWidth As Short, ByVal TrigSource As Short, ByVal WaitStatus As Short, ByVal Terminator As Short, ByVal O_Cntrl_Pol As Short, ByVal FifoThreshold As Integer) As Short - Declare Function DO_AsyncCheck Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByRef Stopped As Byte, ByRef AccessCnt As Integer) As Short - Declare Function DO_AsyncClear Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByRef AccessCnt As Integer) As Short - Declare Function DO_ContWritePort Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal Port As Integer, ByRef Buffer As Byte, ByVal WriteCount As Integer, ByVal Iterations As Integer, ByVal SampleRate As Double, ByVal SyncMode As Short) As Short - Declare Function DO_ContWritePort Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal Port As Integer, ByRef Buffer As UShort, ByVal WriteCount As Integer, ByVal Iterations As Integer, ByVal SampleRate As Double, ByVal SyncMode As Short) As Short - Declare Function DO_ContWritePort Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal Port As Integer, ByRef Buffer As UInt32, ByVal WriteCount As Integer, ByVal Iterations As Integer, ByVal SampleRate As Double, ByVal SyncMode As Short) As Short - Declare Function DO_ContStatus Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByRef Status As Short) As Short - Declare Function DO_InitialMemoryAllocated Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByRef MemSize As Integer) As Short - Declare Function DO_PGStart Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByRef Buffer As Byte, ByVal WriteCount As Integer, ByVal SampleRate As Double) As Short - Declare Function DO_PGStart Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByRef Buffer As Short, ByVal WriteCount As Integer, ByVal SampleRate As Double) As Short - Declare Function DO_PGStart Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByRef Buffer As UInt32, ByVal WriteCount As Integer, ByVal SampleRate As Double) As Short - Declare Function DO_PGStop Lib "Pci-Dask.dll" (ByVal CardNumber As Short) As Short - Declare Function DO_WritePort Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal Port As Short, ByVal Value As Integer) As Short - Declare Function DO_WriteLine Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal Port As Short, ByVal Line As Short, ByVal Value As Short) As Short - Declare Function DO_SimuWritePort Lib "Pci-Dask.dll" (ByVal wCardNumber As Short, ByVal wNumChans As Short, ByRef pdwBuffer As Integer) As Short - Declare Function DO_ReadLine Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal Port As Short, ByVal Line As Short, ByRef Value As Short) As Short - Declare Function DO_ReadPort Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal Port As Short, ByRef Value As Integer) As Short - Declare Function EDO_9111_Config Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal wEDO_Fun As Short) As Short - Declare Function DO_WriteExtTrigLine Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal Value As Short) As Short - Declare Function DO_ContMultiBufferSetup Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByRef Buffer As Byte, ByVal WriteCount As Integer, ByRef BufferId As Short) As Short - Declare Function DO_ContMultiBufferSetup Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByRef Buffer As Short, ByVal WriteCount As Integer, ByRef BufferId As Short) As Short - Declare Function DO_ContMultiBufferSetup Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByRef Buffer As UInt32, ByVal WriteCount As Integer, ByRef BufferId As Short) As Short - Declare Function DO_ContMultiBufferStart Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal Port As Short, ByVal SampleRate As Double) As Short - Declare Function DO_AsyncMultiBufferNextReady Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByRef NextReady As Byte, ByRef BufferId As Short) As Short - Declare Function DO_EventCallBack Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal Mode As Short, ByVal EventType As Short, ByVal callbackAddr As Integer) As Short - - 'DIO Functions - Declare Function DIO_PortConfig Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal Port As Short, ByVal Direction As Short) As Short - Declare Function DIO_LinesConfig Lib "Pci-Dask.dll" (ByVal wCardNumber As Short, ByVal wPort As Short, ByVal wLinesdirmap As Short) As Short - Declare Function DIO_LineConfig Lib "Pci-Dask.dll" (ByVal wCardNumber As Short, ByVal wPort As Short, ByVal wLine As Short, ByVal wDirection As Short) As Short - Declare Function DIO_SetDualInterrupt Lib "Pci-Dask.dll" (ByVal wCardNumber As Short, ByVal wInt1Mode As Short, ByVal wInt2Mode As Short, ByRef hEvent As Integer) As Short - Declare Function DIO_SetCOSInterrupt Lib "Pci-Dask.dll" (ByVal wCardNumber As Short, ByVal Port As Short, ByVal ctlA As Short, ByVal ctlB As Short, ByVal ctlC As Short) As Short - Declare Function DIO_GetCOSLatchData Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByRef CosLData As Integer) As Short - Declare Function DIO_SetCOSInterrupt32 Lib "Pci-Dask.dll" (ByVal wCardNumber As Short, ByVal Port As Byte, ByVal ctl As Integer, ByRef hEvent As Integer, ByVal bManualReset As Byte) As Short - Declare Function DIO_GetCOSLatchData32 Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByRef CosLData As Integer) As Short - Declare Function DIO_INT_EventMessage Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal Mode As Short, ByVal hEvent As Integer, ByVal windowHandle As Integer, ByVal message As Integer, ByVal callbackAddr As CallbackDelegate) As Short - Declare Function DIO_INT1_EventMessage Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal Int1Mode As Short, ByVal windowHandle As Integer, ByVal message As Integer, ByVal callbackAddr As CallbackDelegate) As Short - Declare Function DIO_INT2_EventMessage Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal Int2Mode As Short, ByVal windowHandle As Integer, ByVal message As Integer, ByVal callbackAddr As CallbackDelegate) As Short - Declare Function DIO_7300SetInterrupt Lib "Pci-Dask.dll" (ByVal wCardNumber As Short, ByVal AuxDIEn As Short, ByVal T2En As Short, ByRef hEvent As Integer) As Short - Declare Function DIO_AUXDI_EventMessage Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal AuxDIEn As Short, ByVal windowHandle As Integer, ByVal message As Integer, ByVal callbackAddr As CallbackDelegate) As Short - Declare Function DIO_T2_EventMessage Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal T2En As Short, ByVal windowHandle As Integer, ByVal message As Integer, ByVal callbackAddr As CallbackDelegate) As Short - - 'Counter Functions - Declare Function CTR_Setup Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal Ctr As Short, ByVal Mode As Short, ByVal Count As Integer, ByVal BinBcd As Short) As Short - Declare Function CTR_Clear Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal Ctr As Short, ByVal State As Short) As Short - Declare Function CTR_Read Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal Ctr As Short, ByRef Value As Integer) As Short - Declare Function CTR_Update Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal Ctr As Short, ByVal Count As Integer) As Short - Declare Function CTR_8554_ClkSrc_Config Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal Ctr As Short, ByVal ClockSource As Short) As Short - Declare Function CTR_8554_CK1_Config Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal ClockSource As Short) As Short - Declare Function CTR_8554_Debounce_Config Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal DebounceClock As Short) As Short - Declare Function GCTR_Setup Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal wGCtr As Short, ByVal wGCtrCtrl As Short, ByVal dwCount As Integer) As Short - Declare Function GCTR_Clear Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal wGCtr As Short) As Short - Declare Function GCTR_Read Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal wGCtr As Short, ByRef pValue As Integer) As Short - Declare Function WDT_Setup Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal wCtr As Short, ByVal ovflowSec As Single, ByRef actualSec As Single, ByRef hEvent As Integer) As Short - Declare Function WDT_Control Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal wCtr As Short, ByVal action As Short) As Short - Declare Function WDT_Status Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal wCtr As Short, ByRef pValue As Integer) As Short - Declare Function WDT_Reload Lib "Pci-Dask.dll" (ByVal wCardNumber As Short, ByVal ovflowSec As Single, ByRef actualSec As Single) As Short - - Declare Function AI_GetEvent Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByRef hEvent As Integer) As Short - Declare Function AO_GetEvent Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByRef hEvent As Integer) As Short - Declare Function DI_GetEvent Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByRef hEvent As Integer) As Short - Declare Function DO_GetEvent Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByRef hEvent As Integer) As Short -End Module \ No newline at end of file diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/.NET/VB.NET/7250/D7250_DIO/D7250_DIO/Form1.Designer.vb b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/.NET/VB.NET/7250/D7250_DIO/D7250_DIO/Form1.Designer.vb deleted file mode 100644 index 4c4ab4a..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/.NET/VB.NET/7250/D7250_DIO/D7250_DIO/Form1.Designer.vb +++ /dev/null @@ -1,106 +0,0 @@ - _ -Partial Class Form1 - Inherits System.Windows.Forms.Form - - 'Form 覆寫 Dispose 以清除元件清單。 - _ - Protected Overrides Sub Dispose(ByVal disposing As Boolean) - If disposing AndAlso components IsNot Nothing Then - components.Dispose() - End If - MyBase.Dispose(disposing) - End Sub - - '為 Windows Form 設計工具的必要項 - Private components As System.ComponentModel.IContainer - - '注意: 以下為 Windows Form 設計工具所需的程序 - '可以使用 Windows Form 設計工具進行修改。 - '請不要使用程式碼編輯器進行修改。 - _ - Private Sub InitializeComponent() - Me.button2 = New System.Windows.Forms.Button - Me.label2 = New System.Windows.Forms.Label - Me.label1 = New System.Windows.Forms.Label - Me.textBox2 = New System.Windows.Forms.TextBox - Me.textBox1 = New System.Windows.Forms.TextBox - Me.button1 = New System.Windows.Forms.Button - Me.SuspendLayout() - ' - 'button2 - ' - Me.button2.Location = New System.Drawing.Point(167, 82) - Me.button2.Name = "button2" - Me.button2.Size = New System.Drawing.Size(100, 23) - Me.button2.TabIndex = 17 - Me.button2.Text = "Read From DI" - Me.button2.UseVisualStyleBackColor = True - ' - 'label2 - ' - Me.label2.AutoSize = True - Me.label2.Location = New System.Drawing.Point(165, 23) - Me.label2.Name = "label2" - Me.label2.Size = New System.Drawing.Size(20, 12) - Me.label2.TabIndex = 16 - Me.label2.Text = "DI:" - ' - 'label1 - ' - Me.label1.AutoSize = True - Me.label1.Location = New System.Drawing.Point(21, 23) - Me.label1.Name = "label1" - Me.label1.Size = New System.Drawing.Size(24, 12) - Me.label1.TabIndex = 15 - Me.label1.Text = "DO:" - ' - 'textBox2 - ' - Me.textBox2.Location = New System.Drawing.Point(167, 38) - Me.textBox2.Name = "textBox2" - Me.textBox2.Size = New System.Drawing.Size(100, 22) - Me.textBox2.TabIndex = 14 - Me.textBox2.TextAlign = System.Windows.Forms.HorizontalAlignment.Right - ' - 'textBox1 - ' - Me.textBox1.Location = New System.Drawing.Point(21, 38) - Me.textBox1.Name = "textBox1" - Me.textBox1.Size = New System.Drawing.Size(100, 22) - Me.textBox1.TabIndex = 13 - Me.textBox1.TextAlign = System.Windows.Forms.HorizontalAlignment.Right - ' - 'button1 - ' - Me.button1.Location = New System.Drawing.Point(23, 82) - Me.button1.Name = "button1" - Me.button1.Size = New System.Drawing.Size(98, 23) - Me.button1.TabIndex = 12 - Me.button1.Text = "Write To DO" - Me.button1.UseVisualStyleBackColor = True - ' - 'Form1 - ' - Me.AutoScaleDimensions = New System.Drawing.SizeF(6.0!, 12.0!) - Me.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font - Me.ClientSize = New System.Drawing.Size(292, 142) - Me.Controls.Add(Me.button2) - Me.Controls.Add(Me.label2) - Me.Controls.Add(Me.label1) - Me.Controls.Add(Me.textBox2) - Me.Controls.Add(Me.textBox1) - Me.Controls.Add(Me.button1) - Me.Name = "Form1" - Me.Text = "Form1" - Me.ResumeLayout(False) - Me.PerformLayout() - - End Sub - Private WithEvents button2 As System.Windows.Forms.Button - Private WithEvents label2 As System.Windows.Forms.Label - Private WithEvents label1 As System.Windows.Forms.Label - Private WithEvents textBox2 As System.Windows.Forms.TextBox - Private WithEvents textBox1 As System.Windows.Forms.TextBox - Private WithEvents button1 As System.Windows.Forms.Button - -End Class diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/.NET/VB.NET/7250/D7250_DIO/D7250_DIO/Form1.resx b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/.NET/VB.NET/7250/D7250_DIO/D7250_DIO/Form1.resx deleted file mode 100644 index 19dc0dd..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/.NET/VB.NET/7250/D7250_DIO/D7250_DIO/Form1.resx +++ /dev/null @@ -1,120 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - text/microsoft-resx - - - 2.0 - - - System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - \ No newline at end of file diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/.NET/VB.NET/7250/D7250_DIO/D7250_DIO/Form1.vb b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/.NET/VB.NET/7250/D7250_DIO/D7250_DIO/Form1.vb deleted file mode 100644 index f07edc6..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/.NET/VB.NET/7250/D7250_DIO/D7250_DIO/Form1.vb +++ /dev/null @@ -1,41 +0,0 @@ -Public Class Form1 - Dim m_dev As Short - - Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load - m_dev = Register_Card(PCI_7250, 0) - If (m_dev < 0) Then - MessageBox.Show("Register_Card error!") - End If - End Sub - - Private Sub Form1_FormClosing(ByVal sender As System.Object, ByVal e As System.Windows.Forms.FormClosingEventArgs) Handles MyBase.FormClosing - Dim err As Short - If (m_dev >= 0) Then - err = DASK.Release_Card(m_dev) - End If - End Sub - - Private Sub button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles button1.Click - Dim err As Short - Dim out_value As Integer - If (Int32.TryParse(textBox1.Text, out_value)) Then - err = DO_WritePort(m_dev, 0, out_value) - If (err < 0) Then - MessageBox.Show("DO_WritePort error!") - End If - Else - MessageBox.Show("Input error!") - End If - End Sub - - Private Sub button2_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles button2.Click - Dim err As Short - Dim int_value As UInteger - err = DASK.DI_ReadPort(m_dev, 0, int_value) - If (err < 0) Then - MessageBox.Show("D2K_DI_ReadPort error!") - Return - End If - textBox2.Text = int_value - End Sub -End Class diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/.NET/VB.NET/7250/D7250_DIO/D7250_DIO/My Project/Application.Designer.vb b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/.NET/VB.NET/7250/D7250_DIO/D7250_DIO/My Project/Application.Designer.vb deleted file mode 100644 index 45cec38..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/.NET/VB.NET/7250/D7250_DIO/D7250_DIO/My Project/Application.Designer.vb +++ /dev/null @@ -1,38 +0,0 @@ -'------------------------------------------------------------------------------ -' -' This code was generated by a tool. -' Runtime Version:2.0.50727.42 -' -' Changes to this file may cause incorrect behavior and will be lost if -' the code is regenerated. -' -'------------------------------------------------------------------------------ - -Option Strict On -Option Explicit On - - -Namespace My - - 'NOTE: This file is auto-generated; do not modify it directly. To make changes, - ' or if you encounter build errors in this file, go to the Project Designer - ' (go to Project Properties or double-click the My Project node in - ' Solution Explorer), and make changes on the Application tab. - ' - Partial Friend Class MyApplication - - _ - Public Sub New() - MyBase.New(Global.Microsoft.VisualBasic.ApplicationServices.AuthenticationMode.Windows) - Me.IsSingleInstance = false - Me.EnableVisualStyles = true - Me.SaveMySettingsOnExit = true - Me.ShutDownStyle = Global.Microsoft.VisualBasic.ApplicationServices.ShutdownMode.AfterMainFormCloses - End Sub - - _ - Protected Overrides Sub OnCreateMainForm() - Me.MainForm = Global.D7250_DIO.Form1 - End Sub - End Class -End Namespace diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/.NET/VB.NET/7250/D7250_DIO/D7250_DIO/My Project/Application.myapp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/.NET/VB.NET/7250/D7250_DIO/D7250_DIO/My Project/Application.myapp deleted file mode 100644 index 1243847..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/.NET/VB.NET/7250/D7250_DIO/D7250_DIO/My Project/Application.myapp +++ /dev/null @@ -1,11 +0,0 @@ - - - true - Form1 - false - 0 - true - 0 - 0 - true - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/.NET/VB.NET/7250/D7250_DIO/D7250_DIO/My Project/AssemblyInfo.vb b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/.NET/VB.NET/7250/D7250_DIO/D7250_DIO/My Project/AssemblyInfo.vb deleted file mode 100644 index 7d1656f..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/.NET/VB.NET/7250/D7250_DIO/D7250_DIO/My Project/AssemblyInfo.vb +++ /dev/null @@ -1,35 +0,0 @@ -Imports System -Imports System.Reflection -Imports System.Runtime.InteropServices - -' 組件的一般資訊是由下列的屬性集控制。 -' 變更這些屬性的值即可修改組件的相關 -' 資訊。 - -' 檢閱組件屬性的值 - - - - - - - - - - -'下列 GUID 為專案公開 (Expose) 至 COM 時所要使用的 typelib ID - - -' 組件的版本資訊是由下列四項值構成: -' -' 主要版本 -' 次要版本 -' 組建編號 -' 修訂編號 -' -' 您可以指定所有的值,也可以依照以下的方式,使用 '*' 將組建和修訂編號 -' 指定為預設值: -' - - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/.NET/VB.NET/7250/D7250_DIO/D7250_DIO/My Project/Resources.Designer.vb b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/.NET/VB.NET/7250/D7250_DIO/D7250_DIO/My Project/Resources.Designer.vb deleted file mode 100644 index 9b85c63..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/.NET/VB.NET/7250/D7250_DIO/D7250_DIO/My Project/Resources.Designer.vb +++ /dev/null @@ -1,62 +0,0 @@ -'------------------------------------------------------------------------------ -' -' This code was generated by a tool. -' Runtime Version:2.0.50727.42 -' -' Changes to this file may cause incorrect behavior and will be lost if -' the code is regenerated. -' -'------------------------------------------------------------------------------ - -Option Strict On -Option Explicit On - - -Namespace My.Resources - - 'This class was auto-generated by the StronglyTypedResourceBuilder - 'class via a tool like ResGen or Visual Studio. - 'To add or remove a member, edit your .ResX file then rerun ResGen - 'with the /str option, or rebuild your VS project. - ' - ' A strongly-typed resource class, for looking up localized strings, etc. - ' - _ - Friend Module Resources - - Private resourceMan As Global.System.Resources.ResourceManager - - Private resourceCulture As Global.System.Globalization.CultureInfo - - ' - ' Returns the cached ResourceManager instance used by this class. - ' - _ - Friend ReadOnly Property ResourceManager() As Global.System.Resources.ResourceManager - Get - If Object.ReferenceEquals(resourceMan, Nothing) Then - Dim temp As Global.System.Resources.ResourceManager = New Global.System.Resources.ResourceManager("D7250_DIO.Resources", GetType(Resources).Assembly) - resourceMan = temp - End If - Return resourceMan - End Get - End Property - - ' - ' Overrides the current thread's CurrentUICulture property for all - ' resource lookups using this strongly typed resource class. - ' - _ - Friend Property Culture() As Global.System.Globalization.CultureInfo - Get - Return resourceCulture - End Get - Set(ByVal value As Global.System.Globalization.CultureInfo) - resourceCulture = value - End Set - End Property - End Module -End Namespace diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/.NET/VB.NET/7250/D7250_DIO/D7250_DIO/My Project/Resources.resx b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/.NET/VB.NET/7250/D7250_DIO/D7250_DIO/My Project/Resources.resx deleted file mode 100644 index af7dbeb..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/.NET/VB.NET/7250/D7250_DIO/D7250_DIO/My Project/Resources.resx +++ /dev/null @@ -1,117 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - text/microsoft-resx - - - 2.0 - - - System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - \ No newline at end of file diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/.NET/VB.NET/7250/D7250_DIO/D7250_DIO/My Project/Settings.Designer.vb b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/.NET/VB.NET/7250/D7250_DIO/D7250_DIO/My Project/Settings.Designer.vb deleted file mode 100644 index 24ff4c9..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/.NET/VB.NET/7250/D7250_DIO/D7250_DIO/My Project/Settings.Designer.vb +++ /dev/null @@ -1,73 +0,0 @@ -'------------------------------------------------------------------------------ -' -' This code was generated by a tool. -' Runtime Version:2.0.50727.42 -' -' Changes to this file may cause incorrect behavior and will be lost if -' the code is regenerated. -' -'------------------------------------------------------------------------------ - -Option Strict On -Option Explicit On - - -Namespace My - - _ - Partial Friend NotInheritable Class MySettings - Inherits Global.System.Configuration.ApplicationSettingsBase - - Private Shared defaultInstance As MySettings = CType(Global.System.Configuration.ApplicationSettingsBase.Synchronized(New MySettings), MySettings) - -#Region "My.Settings Auto-Save Functionality" -#If _MyType = "WindowsForms" Then - Private Shared addedHandler As Boolean - - Private Shared addedHandlerLockObject As New Object - - _ - Private Shared Sub AutoSaveSettings(ByVal sender As Global.System.Object, ByVal e As Global.System.EventArgs) - If My.Application.SaveMySettingsOnExit Then - My.Settings.Save() - End If - End Sub -#End If -#End Region - - Public Shared ReadOnly Property [Default]() As MySettings - Get - -#If _MyType = "WindowsForms" Then - If Not addedHandler Then - SyncLock addedHandlerLockObject - If Not addedHandler Then - AddHandler My.Application.Shutdown, AddressOf AutoSaveSettings - addedHandler = True - End If - End SyncLock - End If -#End If - Return defaultInstance - End Get - End Property - End Class -End Namespace - -Namespace My - - _ - Friend Module MySettingsProperty - - _ - Friend ReadOnly Property Settings() As Global.D7250_DIO.My.MySettings - Get - Return Global.D7250_DIO.My.MySettings.Default - End Get - End Property - End Module -End Namespace diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/.NET/VB.NET/7250/D7250_DIO/D7250_DIO/My Project/Settings.settings b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/.NET/VB.NET/7250/D7250_DIO/D7250_DIO/My Project/Settings.settings deleted file mode 100644 index 85b890b..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/.NET/VB.NET/7250/D7250_DIO/D7250_DIO/My Project/Settings.settings +++ /dev/null @@ -1,7 +0,0 @@ - - - - - - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/.NET/VB.NET/7300/D7300_DI_Single_Buffer_Sync/D7300_DI_Single_Buffer_Sync.sln b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/.NET/VB.NET/7300/D7300_DI_Single_Buffer_Sync/D7300_DI_Single_Buffer_Sync.sln deleted file mode 100644 index d75d803..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/.NET/VB.NET/7300/D7300_DI_Single_Buffer_Sync/D7300_DI_Single_Buffer_Sync.sln +++ /dev/null @@ -1,20 +0,0 @@ - -Microsoft Visual Studio Solution File, Format Version 9.00 -# Visual Studio 2005 -Project("{F184B08F-C81C-45F6-A57F-5ABD9991F28F}") = "D7300_DI_Single_Buffer_Sync", "D7300_DI_Single_Buffer_Sync\D7300_DI_Single_Buffer_Sync.vbproj", "{A7F85906-E76E-40C2-B7F5-B51A8BA024C8}" -EndProject -Global - GlobalSection(SolutionConfigurationPlatforms) = preSolution - Debug|Any CPU = Debug|Any CPU - Release|Any CPU = Release|Any CPU - EndGlobalSection - GlobalSection(ProjectConfigurationPlatforms) = postSolution - {A7F85906-E76E-40C2-B7F5-B51A8BA024C8}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {A7F85906-E76E-40C2-B7F5-B51A8BA024C8}.Debug|Any CPU.Build.0 = Debug|Any CPU - {A7F85906-E76E-40C2-B7F5-B51A8BA024C8}.Release|Any CPU.ActiveCfg = Release|Any CPU - {A7F85906-E76E-40C2-B7F5-B51A8BA024C8}.Release|Any CPU.Build.0 = Release|Any CPU - EndGlobalSection - GlobalSection(SolutionProperties) = preSolution - HideSolutionNode = FALSE - EndGlobalSection -EndGlobal diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/.NET/VB.NET/7300/D7300_DI_Single_Buffer_Sync/D7300_DI_Single_Buffer_Sync/D7300_DI_Single_Buffer_Sync.vbproj b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/.NET/VB.NET/7300/D7300_DI_Single_Buffer_Sync/D7300_DI_Single_Buffer_Sync/D7300_DI_Single_Buffer_Sync.vbproj deleted file mode 100644 index ddec621..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/.NET/VB.NET/7300/D7300_DI_Single_Buffer_Sync/D7300_DI_Single_Buffer_Sync/D7300_DI_Single_Buffer_Sync.vbproj +++ /dev/null @@ -1,109 +0,0 @@ - - - - Debug - AnyCPU - 8.0.50727 - 2.0 - {A7F85906-E76E-40C2-B7F5-B51A8BA024C8} - WinExe - D7300_DI_Single_Buffer_Sync.My.MyApplication - D7300_DI_Single_Buffer_Sync - D7300_DI_Single_Buffer_Sync - WindowsForms - - - true - full - true - true - bin\Debug\ - D7300_DI_Single_Buffer_Sync.xml - 42016,41999,42017,42018,42019,42032,42036,42020,42021,42022 - x86 - - - pdbonly - false - true - true - bin\Release\ - D7300_DI_Single_Buffer_Sync.xml - 42016,41999,42017,42018,42019,42032,42036,42020,42021,42022 - x86 - - - - - - - - - - - - - - - - - - - - - - - Form - - - Form1.vb - Form - - - - True - Application.myapp - - - True - True - Resources.resx - - - True - Settings.settings - True - - - - - Designer - Form1.vb - - - VbMyResourcesResXFileCodeGenerator - Resources.Designer.vb - My.Resources - Designer - - - - - MyApplicationCodeGenerator - Application.Designer.vb - - - SettingsSingleFileGenerator - My - Settings.Designer.vb - - - - - \ No newline at end of file diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/.NET/VB.NET/7300/D7300_DI_Single_Buffer_Sync/D7300_DI_Single_Buffer_Sync/DASK.vb b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/.NET/VB.NET/7300/D7300_DI_Single_Buffer_Sync/D7300_DI_Single_Buffer_Sync/DASK.vb deleted file mode 100644 index cdc485d..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/.NET/VB.NET/7300/D7300_DI_Single_Buffer_Sync/D7300_DI_Single_Buffer_Sync/DASK.vb +++ /dev/null @@ -1,655 +0,0 @@ -Option Strict Off -Option Explicit On -Module DASK - - 'ADLink PCI Card Type - Public Const PCI_6208V As Short = 1 - Public Const PCI_6208A As Short = 2 - Public Const PCI_6308V As Short = 3 - Public Const PCI_6308A As Short = 4 - Public Const PCI_7200 As Short = 5 - Public Const PCI_7230 As Short = 6 - Public Const PCI_7233 As Short = 7 - Public Const PCI_7234 As Short = 8 - Public Const PCI_7248 As Short = 9 - Public Const PCI_7249 As Short = 10 - Public Const PCI_7250 As Short = 11 - Public Const PCI_7252 As Short = 12 - Public Const PCI_7296 As Short = 13 - Public Const PCI_7300A_RevA As Short = 14 - Public Const PCI_7300A_RevB As Short = 15 - Public Const PCI_7432 As Short = 16 - Public Const PCI_7433 As Short = 17 - Public Const PCI_7434 As Short = 18 - Public Const PCI_8554 As Short = 19 - Public Const PCI_9111DG As Short = 20 - Public Const PCI_9111HR As Short = 21 - Public Const PCI_9112 As Short = 22 - Public Const PCI_9113 As Short = 23 - Public Const PCI_9114DG As Short = 24 - Public Const PCI_9114HG As Short = 25 - Public Const PCI_9118DG As Short = 26 - Public Const PCI_9118HG As Short = 27 - Public Const PCI_9118HR As Short = 28 - Public Const PCI_9810 As Short = 29 - Public Const PCI_9812 As Short = 30 - Public Const PCI_7396 As Short = 31 - Public Const PCI_9116 As Short = 32 - Public Const PCI_7256 As Short = 33 - Public Const PCI_7258 As Short = 34 - Public Const PCI_7260 As Short = 35 - Public Const PCI_7452 As Short = 36 - Public Const PCI_7442 As Short = 37 - - Public Const MAX_CARD As Short = 32 - - 'Error Code - Public Const NoError As Short = 0 - Public Const ErrorUnknownCardType As Short = -1 - Public Const ErrorInvalidCardNumber As Short = -2 - Public Const ErrorTooManyCardRegistered As Short = -3 - Public Const ErrorCardNotRegistered As Short = -4 - Public Const ErrorFuncNotSupport As Short = -5 - Public Const ErrorInvalidIoChannel As Short = -6 - Public Const ErrorInvalidAdRange As Short = -7 - Public Const ErrorContIoNotAllowed As Short = -8 - Public Const ErrorDiffRangeNotSupport As Short = -9 - Public Const ErrorLastChannelNotZero As Short = -10 - Public Const ErrorChannelNotDescending As Short = -11 - Public Const ErrorChannelNotAscending As Short = -12 - Public Const ErrorOpenDriverFailed As Short = -13 - Public Const ErrorOpenEventFailed As Short = -14 - Public Const ErrorTransferCountTooLarge As Short = -15 - Public Const ErrorNotDoubleBufferMode As Short = -16 - Public Const ErrorInvalidSampleRate As Short = -17 - Public Const ErrorInvalidCounterMode As Short = -18 - Public Const ErrorInvalidCounter As Short = -19 - Public Const ErrorInvalidCounterState As Short = -20 - Public Const ErrorInvalidBinBcdParam As Short = -21 - Public Const ErrorBadCardType As Short = -22 - Public Const ErrorInvalidDaRange As Short = -23 - Public Const ErrorAdTimeOut As Short = -24 - Public Const ErrorNoAsyncAI As Short = -25 - Public Const ErrorNoAsyncAO As Short = -26 - Public Const ErrorNoAsyncDI As Short = -27 - Public Const ErrorNoAsyncDO As Short = -28 - Public Const ErrorNotInputPort As Short = -29 - Public Const ErrorNotOutputPort As Short = -30 - Public Const ErrorInvalidDioPort As Short = -31 - Public Const ErrorInvalidDioLine As Short = -32 - Public Const ErrorContIoActive As Short = -33 - Public Const ErrorDblBufModeNotAllowed As Short = -34 - Public Const ErrorConfigFailed As Short = -35 - Public Const ErrorInvalidPortDirection As Short = -36 - Public Const ErrorBeginThreadError As Short = -37 - Public Const ErrorInvalidPortWidth As Short = -38 - Public Const ErrorInvalidCtrSource As Short = -39 - Public Const ErrorOpenFile As Short = -40 - Public Const ErrorAllocateMemory As Short = -41 - Public Const ErrorDaVoltageOutOfRange As Short = -42 - Public Const ErrorDaExtRefNotAllowed As Short = -43 - Public Const ErrorDIODataWidthError As Short = -44 - Public Const ErrorTaskCodeError As Short = -45 - Public Const ErrortriggercountError As Short = -46 - Public Const ErrorInvalidTriggerMode As Short = -47 - Public Const ErrorInvalidTriggerType As Short = -48 - Public Const ErrorInvalidCounterValue As Short = -50 - Public Const ErrorInvalidEventHandle As Short = -60 - Public Const ErrorNoMessageAvailable As Short = -61 - Public Const ErrorEventMessgaeNotAdded As Short = -62 - - 'Error code for driver API - Public Const ErrorConfigIoctl As Short = -201 - Public Const ErrorAsyncSetIoctl As Short = -202 - Public Const ErrorDBSetIoctl As Short = -203 - Public Const ErrorDBHalfReadyIoctl As Short = -204 - Public Const ErrorContOPIoctl As Short = -205 - Public Const ErrorContStatusIoctl As Short = -206 - Public Const ErrorPIOIoctl As Short = -207 - Public Const ErrorDIntSetIoctl As Short = -208 - Public Const ErrorWaitEvtIoctl As Short = -209 - Public Const ErrorOpenEvtIoctl As Short = -210 - Public Const ErrorCOSIntSetIoctl As Short = -211 - Public Const ErrorMemMapIoctl As Short = -212 - Public Const ErrorMemUMapSetIoctl As Short = -213 - Public Const ErrorCTRIoctl As Short = -214 - Public Const ErrorGetResIoctl As Short = -215 - - 'Synchronous Mode - Public Const SYNCH_OP As Short = 1 - Public Const ASYNCH_OP As Short = 2 - - 'AD Range - Public Const AD_B_10_V As Short = 1 - Public Const AD_B_5_V As Short = 2 - Public Const AD_B_2_5_V As Short = 3 - Public Const AD_B_1_25_V As Short = 4 - Public Const AD_B_0_625_V As Short = 5 - Public Const AD_B_0_3125_V As Short = 6 - Public Const AD_B_0_5_V As Short = 7 - Public Const AD_B_0_05_V As Short = 8 - Public Const AD_B_0_005_V As Short = 9 - Public Const AD_B_1_V As Short = 10 - Public Const AD_B_0_1_V As Short = 11 - Public Const AD_B_0_01_V As Short = 12 - Public Const AD_B_0_001_V As Short = 13 - Public Const AD_U_20_V As Short = 14 - Public Const AD_U_10_V As Short = 15 - Public Const AD_U_5_V As Short = 16 - Public Const AD_U_2_5_V As Short = 17 - Public Const AD_U_1_25_V As Short = 18 - Public Const AD_U_1_V As Short = 19 - Public Const AD_U_0_1_V As Short = 20 - Public Const AD_U_0_01_V As Short = 21 - Public Const AD_U_0_001_V As Short = 22 - - 'Trigger Source - Public Const TRIG_SOFTWARE As Short = 0 - Public Const TRIG_INT_PACER As Short = 1 - Public Const TRIG_EXT_STROBE As Short = 2 - Public Const TRIG_HANDSHAKE As Short = 3 - Public Const TRIG_CLK_10MHZ As Short = 4 'PCI-7300A - Public Const TRIG_CLK_20MHZ As Short = 5 'PCI-7300A - Public Const TRIG_DO_CLK_TIMER_ACK As Short = 6 'PCI-7300A Rev. B - Public Const TRIG_DO_CLK_10M_ACK As Short = 7 'PCI-7300A Rev. B - Public Const TRIG_DO_CLK_20M_ACK As Short = 8 'PCI-7300A Rev. B - - 'Virtual sampling rate for using external clock as the clock source - Public Const CLKSRC_EXT_SampRate As Short = 10000 - - '--------- Constants for PCI-6208A -------------- - 'Output Mode - Public Const P6208_CURRENT_0_20MA As Short = 0 - Public Const P6208_CURRENT_5_25MA As Short = 1 - Public Const P6208_CURRENT_4_20MA As Short = 3 - - '--------- Constants for PCI-6308A/PCI-6308V -------------- - 'Output Mode - Public Const P6308_CURRENT_0_20MA As Short = 0 - Public Const P6308_CURRENT_5_25MA As Short = 1 - Public Const P6308_CURRENT_4_20MA As Short = 3 - 'AO Setting - Public Const P6308V_AO_CH0_3 As Short = 0 - Public Const P6308V_AO_CH4_7 As Short = 1 - Public Const P6308V_AO_UNIPOLAR As Short = 0 - Public Const P6308V_AO_BIPOLAR As Short = 1 - - '--------- Constants for PCI-7200 -------------- - 'InputMode - Public Const DI_WAITING As Short = &H2s - Public Const DI_NOWAITING As Short = &H0s - - Public Const DI_TRIG_RISING As Short = &H4s - Public Const DI_TRIG_FALLING As Short = &H0s - - Public Const IREQ_RISING As Short = &H8s - Public Const IREQ_FALLING As Short = &H0s - - 'Output Mode - Public Const OREQ_ENABLE As Short = &H10s - Public Const OREQ_DISABLE As Short = &H0s - - Public Const OTRIG_HIGH As Short = &H20s - Public Const OTRIG_LOW As Short = &H0s - - '--------- Constants for PCI-7248/7296/7442 -------------- - 'DIO Port Direction - Public Const INPUT_PORT As Short = 1 - Public Const OUTPUT_PORT As Short = 2 - 'DIO Line Direction - Public Const INPUT_LINE As Short = 1 - Public Const OUTPUT_LINE As Short = 2 - - 'Channel&Port - Public Const Channel_P1A As Short = 0 - Public Const Channel_P1B As Short = 1 - Public Const Channel_P1C As Short = 2 - Public Const Channel_P1CL As Short = 3 - Public Const Channel_P1CH As Short = 4 - Public Const Channel_P1AE As Short = 10 - Public Const Channel_P1BE As Short = 11 - Public Const Channel_P1CE As Short = 12 - Public Const Channel_P2A As Short = 5 - Public Const Channel_P2B As Short = 6 - Public Const Channel_P2C As Short = 7 - Public Const Channel_P2CL As Short = 8 - Public Const Channel_P2CH As Short = 9 - Public Const Channel_P2AE As Short = 15 - Public Const Channel_P2BE As Short = 16 - Public Const Channel_P2CE As Short = 17 - Public Const Channel_P3A As Short = 10 - Public Const Channel_P3B As Short = 11 - Public Const Channel_P3C As Short = 12 - Public Const Channel_P3CL As Short = 13 - Public Const Channel_P3CH As Short = 14 - Public Const Channel_P4A As Short = 15 - Public Const Channel_P4B As Short = 16 - Public Const Channel_P4C As Short = 17 - Public Const Channel_P4CL As Short = 18 - Public Const Channel_P4CH As Short = 19 - Public Const Channel_P5A As Short = 20 - Public Const Channel_P5B As Short = 21 - Public Const Channel_P5C As Short = 22 - Public Const Channel_P5CL As Short = 23 - Public Const Channel_P5CH As Short = 24 - Public Const Channel_P6A As Short = 25 - Public Const Channel_P6B As Short = 26 - Public Const Channel_P6C As Short = 27 - Public Const Channel_P6CL As Short = 28 - Public Const Channel_P6CH As Short = 29 - Public Const Channel_P1 As Short = 30 - Public Const Channel_P2 As Short = 31 - Public Const Channel_P3 As Short = 32 - Public Const Channel_P4 As Short = 33 - Public Const Channel_P1E As Short = 34 - Public Const Channel_P2E As Short = 35 - Public Const Channel_P3E As Short = 36 - Public Const Channel_P4E As Short = 37 - - Public Const P7442_CH0 As Short = 0 - Public Const P7442_CH1 As Short = 1 - Public Const P7442_TTL0 As Short = 2 - Public Const P7442_TTL1 As Short = 3 - - '--------- Constants for PCI-7300A -------------- - 'Wait Status - Public Const P7300_WAIT_NO As Short = 0 - Public Const P7300_WAIT_TRG As Short = 1 - Public Const P7300_WAIT_FIFO As Short = 2 - Public Const P7300_WAIT_BOTH As Short = 3 - - 'Terminator control - Public Const P7300_TERM_OFF As Short = 0 - Public Const P7300_TERM_ON As Short = 1 - - 'DI control signals polarity for PCI-7300A Rev. B - Public Const P7300_DIREQ_POS As Short = &H0s - Public Const P7300_DIREQ_NEG As Short = &H1s - Public Const P7300_DIACK_POS As Short = &H0s - Public Const P7300_DIACK_NEG As Short = &H2s - Public Const P7300_DITRIG_POS As Short = &H0s - Public Const P7300_DITRIG_NEG As Short = &H4s - - 'DO control signals polarity for PCI-7300A Rev. B - Public Const P7300_DOREQ_POS As Short = &H0s - Public Const P7300_DOREQ_NEG As Short = &H8s - Public Const P7300_DOACK_POS As Short = &H0s - Public Const P7300_DOACK_NEG As Short = &H10s - Public Const P7300_DOTRIG_POS As Short = &H0s - Public Const P7300_DOTRIG_NEG As Short = &H20s - - '--------- Constants for PCI-7432/7433/7434 -------------- - Public Const CHANNEL_DI_LOW As Short = 0 - Public Const CHANNEL_DI_HIGH As Short = 1 - Public Const CHANNEL_DO_LOW As Short = 0 - Public Const CHANNEL_DO_HIGH As Short = 1 - Public Const P7432R_DO_LED As Short = 1 - Public Const P7433R_DO_LED As Short = 0 - Public Const P7434R_DO_LED As Short = 2 - Public Const P7432R_DI_SLOT As Short = 1 - Public Const P7433R_DI_SLOT As Short = 2 - Public Const P7434R_DI_SLOT As Short = 0 - - '----- Dual-Interrupt Source control for PCI-7248/49/96 & 7230 & 8554 & 7396 &7256/58 & 7260----- - Public Const INT1_DISABLE As Short = -1 'INT1 Disabled - Public Const INT1_COS As Short = 0 'INT1 COS : only available for PCI-7396, PCI-7256/58 & PCI-7260 - Public Const INT1_FP1C0 As Short = 1 'INT1 by Falling edge of P1C0 - Public Const INT1_RP1C0_FP1C3 As Short = 2 'INT1 by P1C0 Rising or P1C3 Falling - Public Const INT1_EVENT_COUNTER As Short = 3 'INT1 by Event Counter down to zero - Public Const INT1_EXT_SIGNAL As Short = 1 'INT1 by external signal : only available for PCI7432/PCI7433/PCI7230 - Public Const INT1_COUT12 As Short = 1 'INT1 COUT12 : only available for PCI8554 - Public Const INT1_CH0 As Short = 1 'INT1 CH0 : only available for PCI7256/58/60 - Public Const INT1_COS0 As Short = 1 'INT1 COS0 : only available for PCI-7452 - Public Const INT1_COS1 As Short = 2 'INT1 COS1 : only available for PCI-7452 - Public Const INT1_COS2 As Short = 3 'INT1 COS2 : only available for PCI-7452 - Public Const INT1_COS3 As Short = 8 'INT1 COS3 : only available for PCI-7452 - Public Const INT2_DISABLE As Short = -1 'INT2 Disabled - Public Const INT2_COS As Short = 0 'INT2 COS : only available for PCI-7396 - Public Const INT2_FP2C0 As Short = 1 'INT2 by Falling edge of P2C0 - Public Const INT2_RP2C0_FP2C3 As Short = 2 'INT2 by P2C0 Rising or P2C3 Falling - Public Const INT2_TIMER_COUNTER As Short = 3 'INT2 by Timer Counter down to zero - Public Const INT2_EXT_SIGNAL As Short = 1 'INT2 by external signal : only available for PCI7432/PCI7433/PCI7230 - Public Const INT2_CH1 As Short = 2 'INT2 CH1 : only available for PCI7256/58/60 - Public Const INT2_WDT As Short = 4 'INT2 by WDT - - Public Const WDT_OVRFLOW_SAFETYOUT As Short = &H8000s 'enable safteyout while WDT overflow - '-------- Constants for PCI-8554 -------------------- - 'Clock Source of Cunter N - Public Const ECKN As Short = 0 - Public Const COUTN_1 As Short = 1 - Public Const CK1 As Short = 2 - Public Const COUT10 As Short = 3 - - 'Clock Source of CK1 - Public Const CK1_C8M As Short = 0 - Public Const CK1_COUT11 As Short = 1 - - 'Debounce Clock - Public Const DBCLK_COUT11 As Short = 0 - Public Const DBCLK_2MHZ As Short = 1 - - '--------- Constants for PCI-9111 -------------- - 'Dual Interrupt Mode - Public Const P9111_INT1_EOC As Short = 0 'Ending of AD conversion - Public Const P9111_INT1_FIFO_HF As Short = 1 'FIFO Half Full - Public Const P9111_INT2_PACER As Short = 0 'Every Timer tick - Public Const P9111_INT2_EXT_TRG As Short = 1 'ExtTrig High->Low - - 'Channel Count - Public Const P9111_CHANNEL_DO As Short = 0 - Public Const P9111_CHANNEL_EDO As Short = 1 - Public Const P9111_CHANNEL_DI As Short = 0 - Public Const P9111_CHANNEL_EDI As Short = 1 - - 'Trigger Mode - Public Const P9111_TRGMOD_SOFT As Short = 0 'Software Trigger Mode - Public Const P9111_TRGMOD_PRE As Short = 1 'Pre-Trigger Mode - Public Const P9111_TRGMOD_POST As Short = 2 'Post Trigger Mode - - 'EDO function - Public Const P9111_EDO_INPUT As Short = 1 'EDO port set as Input port - Public Const P9111_EDO_OUT_EDO As Short = 2 'EDO port set as Output port - Public Const P9111_EDO_OUT_CHN As Short = 3 'EDO port set as channel number ouput port - - 'AO Setting - Public Const P9111_AO_UNIPOLAR As Short = 0 - Public Const P9111_AO_BIPOLAR As Short = 1 - - '--------- Constants for PCI-9118 -------------- - Public Const P9118_AI_BiPolar As Short = &H0s - Public Const P9118_AI_UniPolar As Short = &H1s - - Public Const P9118_AI_SingEnded As Short = &H0s - Public Const P9118_AI_Differential As Short = &H2s - - Public Const P9118_AI_ExtG As Short = &H4s - - Public Const P9118_AI_ExtTrig As Short = &H8s - - Public Const P9118_AI_DtrgNegative As Short = &H0s - Public Const P9118_AI_DtrgPositive As Short = &H10s - - Public Const P9118_AI_EtrgNegative As Short = &H0s - Public Const P9118_AI_EtrgPositive As Short = &H20s - - Public Const P9118_AI_BurstModeEn As Short = &H40s - Public Const P9118_AI_SampleHold As Short = &H80s - Public Const P9118_AI_PostTrgEn As Short = &H100s - Public Const P9118_AI_AboutTrgEn As Short = &H200s - - '--------- Constants for PCI-9812/9810 -------------- - 'Channel Count - Public Const P9116_AI_LocalGND As Short = &H0s - Public Const P9116_AI_UserCMMD As Short = &H1s - Public Const P9116_AI_SingEnded As Short = &H0s - Public Const P9116_AI_Differential As Short = &H2s - Public Const P9116_AI_BiPolar As Short = &H0s - Public Const P9116_AI_UniPolar As Short = &H4s - - Public Const P9116_TRGMOD_SOFT As Short = &H0s 'Software Trigger Mode - Public Const P9116_TRGMOD_POST As Short = &H10s 'Post Trigger Mode - Public Const P9116_TRGMOD_DELAY As Short = &H20s 'Delay Trigger Mode - Public Const P9116_TRGMOD_PRE As Short = &H30s 'Pre-Trigger Mode - Public Const P9116_TRGMOD_MIDL As Short = &H40s 'Middle Trigger Mode - Public Const P9116_AI_TrgPositive As Short = &H0s - Public Const P9116_AI_TrgNegative As Short = &H80s - Public Const P9116_AI_IntTimeBase As Short = &H0s - Public Const P9116_AI_ExtTimeBase As Short = &H100s - Public Const P9116_AI_DlyInSamples As Short = &H200s - Public Const P9116_AI_DlyInTimebase As Short = &H0s - Public Const P9116_AI_ReTrigEn As Short = &H400s - Public Const P9116_AI_MCounterEn As Short = &H800s - Public Const P9116_AI_SoftPolling As Short = &H0s - Public Const P9116_AI_INT As Short = &H1000s - Public Const P9116_AI_DMA As Short = &H2000s - - '--------- Constants for PCI-9812/9810 -------------- - 'Channel Count - Public Const P9812_CHANNEL_CNT1 As Short = 1 - Public Const P9812_CHANNEL_CNT2 As Short = 2 - Public Const P9812_CHANNEL_CNT4 As Short = 4 - - 'Trigger Mode - Public Const P9812_TRGMOD_SOFT As Short = 0 'Software Trigger Mode - Public Const P9812_TRGMOD_POST As Short = 1 'Post Trigger Mode - Public Const P9812_TRGMOD_PRE As Short = 2 'Pre-Trigger Mode - Public Const P9812_TRGMOD_DELAY As Short = 3 'Delay Trigger Mode - Public Const P9812_TRGMOD_MIDL As Short = 4 'Middle Trigger Mode - - 'Trigger Source - Public Const P9812_TRGSRC_CH0 As Short = 0 'trigger source --CH0 - Public Const P9812_TRGSRC_CH1 As Short = 8 'trigger source --CH1 - Public Const P9812_TRGSRC_CH2 As Short = &H10s 'trigger source --CH2 - Public Const P9812_TRGSRC_CH3 As Short = &H18s 'trigger source --CH3 - Public Const P9812_TRGSRC_EXT_DIG As Short = &H20s 'External Digital Trigger - - 'Trigger Polarity - Public Const P9812_TRGSLP_POS As Short = 0 'Positive slope trigger - Public Const P9812_TRGSLP_NEG As Short = &H40s 'Negative slope trigger - - 'Frequency Selection - Public Const P9812_AD2_GT_PCI As Short = &H80s 'Freq. of A/D clock > PCI clock freq. - Public Const P9812_AD2_LT_PCI As Short = &H0s 'Freq. of A/D clock < PCI clock freq. - - 'Clock Source - Public Const P9812_CLKSRC_INT As Short = &H0s 'Internal clock - Public Const P9812_CLKSRC_EXT_SIN As Short = &H100s 'External SIN wave clock - Public Const P9812_CLKSRC_EXT_DIG As Short = &H200s 'External Square wave clock - - 'DAQ Event type for the event message - Public Const AIEnd As Short = 0 - Public Const DIEnd As Short = 0 - Public Const DOEnd As Short = 0 - Public Const DBEvent As Short = 1 - - 'EMG shdn ctrl code - Public Const EMGSHDN_OFF As Short = 0 'off - Public Const EMGSHDN_ON As Short = 1 'on - Public Const EMGSHDN_RECOVERY As Short = 2 'recovery - - 'Hot Reset Hold ctrl code - Public Const HRH_OFF As Short = 0 'off - Public Const HRH_ON As Short = 1 'on - - '--------- Constants for Timer/Counter -------------- - 'Counter Mode (8254) - Public Const TOGGLE_OUTPUT As Short = 0 'Toggle output from low to high on terminal count - Public Const PROG_ONE_SHOT As Short = 1 'Programmable one-shot - Public Const RATE_GENERATOR As Short = 2 'Rate generator - Public Const SQ_WAVE_RATE_GENERATOR As Short = 3 'Square wave rate generator - Public Const SOFT_TRIG As Short = 4 'Software-triggered strobe - Public Const HARD_TRIG As Short = 5 'Hardware-triggered strobe - - '------- General Purpose Timer/Counter ----------------- - 'Counter Mode - Public Const General_Counter As Short = &H0s 'general counter - Public Const Pulse_Generation As Short = &H1s 'pulse generation - 'GPTC clock source - Public Const GPTC_CLKSRC_EXT As Short = &H8s - Public Const GPTC_CLKSRC_INT As Short = &H0s - Public Const GPTC_GATESRC_EXT As Short = &H10s - Public Const GPTC_GATESRC_INT As Short = &H0s - Public Const GPTC_UPDOWN_SELECT_EXT As Short = &H20s - Public Const GPTC_UPDOWN_SELECT_SOFT As Short = &H0s - Public Const GPTC_UP_CTR As Short = &H40s - Public Const GPTC_DOWN_CTR As Short = &H0s - Public Const GPTC_ENABLE As Short = &H80s - Public Const GPTC_DISABLE As Short = &H0s - - 'Watchdog Timer - 'Counter action - Public Const WDT_DISARM As Short = 0 - Public Const WDT_ARM As Short = 1 - Public Const WDT_RESTART As Short = 2 - - 'Pattern ID - Public Const INIT_PTN As Short = 0 - Public Const EMGSHDN_PTN As Short = 1 - - 'Pattern ID for 7442 - Public Const INIT_PTN_CH0 As Short = 0 - Public Const INIT_PTN_CH1 As Short = 1 - Public Const SAFTOUT_PTN_CH0 As Short = 4 - Public Const SAFTOUT_PTN_CH1 As Short = 5 - - '16-bit binary or 4-decade BCD counter - Public Const BIN As Short = 0 - Public Const BCD As Short = 1 - - Declare Function WaitForSingleObject Lib "kernel32" (ByVal hHandle As Integer, ByVal dwMilliseconds As Integer) As Integer - Public Delegate Sub CallbackDelegate() - - '------------------------------------------------------------------- - ' PCIS-DASK Function prototype - '-----------------------------------------------------------------*/ - Declare Function Register_Card Lib "Pci-Dask.dll" (ByVal cardType As Short, ByVal card_num As Short) As Short - Declare Function Release_Card Lib "Pci-Dask.dll" (ByVal CardNumber As Short) As Short - Declare Function GetActualRate Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal SampleRate As Double, ByRef ActualRate As Double) As Short - Declare Function GetCardType Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByRef cardType As Short) As Short - Declare Function GetBaseAddr Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByRef BaseAddr As Integer, ByRef BaseAddr2 As Integer) As Short - Declare Function GetLCRAddr Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByRef LcrAddr As Integer) As Short - Declare Function GetCardIndexFromID Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByRef cardType As Short, ByRef cardIndex As Short) As Short - Declare Function EMGShutDownControl Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal ctrl As Byte) As Short - Declare Function EMGShutDownStatus Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByRef ctrl As Byte) As Short - Declare Function HotResetHoldControl Lib "Pci-Dask.dll" (ByVal wCardNumber As Short, ByVal Enable As Byte) As Short - Declare Function HotResetHoldStatus Lib "Pci-Dask.dll" (ByVal wCardNumber As Short, ByRef sts As Byte) As Short - Declare Function SetInitPattern Lib "Pci-Dask.dll" (ByVal wCardNumber As Short, ByVal patID As Byte, ByVal pattern As Integer) As Short - Declare Function GetInitPattern Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal patID As Byte, ByRef pattern As Integer) As Short - Declare Function IdentifyLED_Control Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal ctrl As Byte) As Short - - 'AI Functions - Declare Function AI_9111_Config Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal TrigSource As Short, ByVal TrgMode As Short, ByVal wTraceCnt As Short) As Short - Declare Function AI_9112_Config Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal TrigSource As Short) As Short - Declare Function AI_9113_Config Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal TrigSource As Short) As Short - Declare Function AI_9114_Config Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal TrigSource As Short) As Short - Declare Function AI_9114_PreTrigConfig Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal PreTrgEn As Short, ByVal TraceCnt As Short) As Short - Declare Function AI_9116_Config Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal ConfigCtrl As Short, ByVal TrigCtrl As Short, ByVal PostCnt As Short, ByVal MCnt As Short, ByVal ReTrgCnt As Short) As Short - Declare Function AI_9118_Config Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal wModeCtrl As Short, ByVal wFunCtrl As Short, ByVal wBurstCnt As Short, ByVal wPostCnt As Short) As Short - Declare Function AI_9812_Config Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal wTrgMode As Short, ByVal wTrgSrc As Short, ByVal wTrgPol As Short, ByVal wClkSel As Short, ByVal wTrgLevel As Short, ByVal wPostCnt As Short) As Short - Declare Function AI_9116_CounterInterval Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal ScanIntrv As Integer, ByVal SampIntrv As Integer) As Short - Declare Function AI_9812_SetDiv Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal pacerVal As Integer) As Short - Declare Function AI_AsyncCheck Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByRef Stopped As Byte, ByRef AccessCnt As Integer) As Short - Declare Function AI_AsyncClear Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByRef AccessCnt As Integer) As Short - Declare Function AI_AsyncDblBufferHalfReady Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByRef HalfReady As Byte, ByRef StopFlag As Byte) As Short - Declare Function AI_AsyncDblBufferMode Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal Enable As Byte) As Short - Declare Function AI_AsyncDblBufferTransfer Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByRef Buffer As Short) As Short - Declare Function AI_ContReadChannel Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal Channel As Short, ByVal AdRange As Short, ByRef Buffer As Short, ByVal ReadCount As Integer, ByVal SampleRate As Double, ByVal SyncMode As Short) As Short - Declare Function AI_ContScanChannels Lib "Pci-Dask.dll" (ByVal wCardNumber As Short, ByVal wChannel As Short, ByVal wAdRange As Short, ByRef pwBuffer As Short, ByVal dwReadCount As Integer, ByVal SampleRate As Double, ByVal SyncMode As Short) As Short - Declare Function AI_ContReadMultiChannels Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal NumChans As Short, ByRef chans As Short, ByRef AdRanges As Short, ByRef Buffer As Short, ByVal ReadCount As Integer, ByVal SampleRate As Double, ByVal SyncMode As Short) As Short - Declare Function AI_ContReadChannelToFile Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal Channel As Short, ByVal AdRange As Short, ByVal FileName As String, ByVal ReadCount As Integer, ByVal SampleRate As Double, ByVal SyncMode As Short) As Short - Declare Function AI_ContScanChannelsToFile Lib "Pci-Dask.dll" (ByVal wCardNumber As Short, ByVal wChannel As Short, ByVal wAdRange As Short, ByVal FileName As String, ByVal dwReadCount As Integer, ByVal SampleRate As Double, ByVal SyncMode As Short) As Short - Declare Function AI_ContReadMultiChannelsToFile Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal NumChans As Short, ByRef chans As Short, ByRef AdRanges As Short, ByVal FileName As String, ByVal ReadCount As Integer, ByVal SampleRate As Double, ByVal SyncMode As Short) As Short - Declare Function AI_ContStatus Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByRef Status As Short) As Short - Declare Function AI_InitialMemoryAllocated Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByRef MemSize As Integer) As Short - Declare Function AI_ReadChannel Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal Channel As Short, ByVal AdRange As Short, ByRef Value As Short) As Short - Declare Function AI_VReadChannel Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal Channel As Short, ByVal AdRange As Short, ByRef Voltage As Double) As Short - Declare Function AI_VoltScale Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal AdRange As Short, ByVal reading As Short, ByRef Voltage As Double) As Short - Declare Function AI_ContVScale Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal AdRange As Short, ByRef readingArray As UShort, ByRef voltageArray As Double, ByVal Count As Integer) As Short - Declare Function AI_AsyncDblBufferOverrun Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal op As Short, ByRef overrunFlag As Short) As Short - Declare Function AI_EventCallBack Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal Mode As Short, ByVal EventType As Short, ByVal callbackAddr As CallbackDelegate) As Short - - 'AO Functions - Declare Function AO_6208A_Config Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal V2AMode As Short) As Short - Declare Function AO_6308A_Config Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal V2AMode As Short) As Short - Declare Function AO_6308V_Config Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal Channel As Short, ByVal OutputPolarity As Short, ByVal refVoltage As Double) As Short - Declare Function AO_9111_Config Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal OutputPolarity As Short) As Short - Declare Function AO_9112_Config Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal Channel As Short, ByVal refVoltage As Double) As Short - Declare Function AO_WriteChannel Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal Channel As Short, ByVal Value As Short) As Short - Declare Function AO_VWriteChannel Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal Channel As Short, ByVal Voltage As Double) As Short - Declare Function AO_VoltScale Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal Channel As Short, ByVal Voltage As Double, ByRef binValue As Short) As Short - Declare Function AO_SimuWriteChannel Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal wGroup As Short, ByRef valueArray As Short) As Short - Declare Function AO_SimuVWriteChannel Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal wGroup As Short, ByRef voltageArray As Double) As Short - - 'DI Functions - Declare Function DI_7200_Config Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal TrigSource As Short, ByVal wExtTrigEn As Short, ByVal wTrigPol As Short, ByVal wI_REQ_Pol As Short) As Short - Declare Function DI_7300A_Config Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal PortWidth As Short, ByVal TrigSource As Short, ByVal WaitStatus As Short, ByVal Terminaor As Short, ByVal I_REQ_Pol As Short, ByVal clear_fifo As Byte, ByVal disable_di As Byte) As Short - Declare Function DI_7300B_Config Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal PortWidth As Short, ByVal TrigSource As Short, ByVal WaitStatus As Short, ByVal Terminator As Short, ByVal I_Cntrl_Pol As Short, ByVal clear_fifo As Byte, ByVal disable_di As Byte) As Short - Declare Function DI_AsyncCheck Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByRef Stopped As Byte, ByRef AccessCnt As Integer) As Short - Declare Function DI_AsyncClear Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByRef AccessCnt As Integer) As Short - Declare Function DI_AsyncDblBufferHalfReady Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByRef HalfReady As Byte) As Short - Declare Function DI_AsyncDblBufferMode Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal Enable As Byte) As Short - Declare Function DI_AsyncDblBufferTransfer Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByRef Buffer As Byte) As Short - Declare Function DI_AsyncDblBufferTransfer Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByRef Buffer As Short) As Short - Declare Function DI_AsyncDblBufferTransfer Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByRef Buffer As UInt32) As Short - Declare Function DI_ContMultiBufferSetup Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByRef Buffer As Byte, ByVal ReadCount As Integer, ByRef BufferId As Short) As Short - Declare Function DI_ContMultiBufferSetup Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByRef Buffer As Short, ByVal ReadCount As Integer, ByRef BufferId As Short) As Short - Declare Function DI_ContMultiBufferSetup Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByRef Buffer As UInt32, ByVal ReadCount As Integer, ByRef BufferId As Short) As Short - Declare Function DI_ContMultiBufferStart Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal Port As Short, ByVal SampleRate As Double) As Short - Declare Function DI_AsyncMultiBufferNextReady Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByRef NextReady As Byte, ByRef BufferId As Short) As Short - Declare Function DI_ContReadPort Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal Port As Integer, ByRef Buffer As Byte, ByVal ReadCount As Integer, ByVal SampleRate As Double, ByVal SyncMode As Short) As Short - Declare Function DI_ContReadPort Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal Port As Integer, ByRef Buffer As UShort, ByVal ReadCount As Integer, ByVal SampleRate As Double, ByVal SyncMode As Short) As Short - Declare Function DI_ContReadPort Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal Port As Integer, ByRef Buffer As UInt32, ByVal ReadCount As Integer, ByVal SampleRate As Double, ByVal SyncMode As Short) As Short - Declare Function DI_ContReadPortToFile Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal Port As Short, ByVal FileName As String, ByVal ReadCount As Integer, ByVal SampleRate As Double, ByVal SyncMode As Short) As Short - Declare Function DI_ContStatus Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByRef Status As Short) As Short - Declare Function DI_InitialMemoryAllocated Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByRef MemSize As Integer) As Short - Declare Function DI_ReadPort Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal Port As Short, ByRef Value As Integer) As Short - Declare Function DI_ReadLine Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal Port As Short, ByVal Line As Short, ByRef Value As Short) As Short - Declare Function DI_AsyncDblBufferOverrun Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal op As Short, ByRef overrunFlag As Short) As Short - Declare Function DI_EventCallBack Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal Mode As Short, ByVal EventType As Short, ByVal callbackAddr As Integer) As Short - - 'DO Functions - Declare Function DO_7200_Config Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal TrigSource As Short, ByVal wOutReqEn As Short, ByVal wOutTrigSig As Short) As Short - Declare Function DO_7300A_Config Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal PortWidth As Short, ByVal TrigSource As Short, ByVal WaitStatus As Short, ByVal Terminaor As Short, ByVal O_REQ_Pol As Short) As Short - Declare Function DO_7300B_Config Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal PortWidth As Short, ByVal TrigSource As Short, ByVal WaitStatus As Short, ByVal Terminator As Short, ByVal O_Cntrl_Pol As Short, ByVal FifoThreshold As Integer) As Short - Declare Function DO_AsyncCheck Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByRef Stopped As Byte, ByRef AccessCnt As Integer) As Short - Declare Function DO_AsyncClear Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByRef AccessCnt As Integer) As Short - Declare Function DO_ContWritePort Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal Port As Integer, ByRef Buffer As Byte, ByVal WriteCount As Integer, ByVal Iterations As Integer, ByVal SampleRate As Double, ByVal SyncMode As Short) As Short - Declare Function DO_ContWritePort Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal Port As Integer, ByRef Buffer As UShort, ByVal WriteCount As Integer, ByVal Iterations As Integer, ByVal SampleRate As Double, ByVal SyncMode As Short) As Short - Declare Function DO_ContWritePort Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal Port As Integer, ByRef Buffer As UInt32, ByVal WriteCount As Integer, ByVal Iterations As Integer, ByVal SampleRate As Double, ByVal SyncMode As Short) As Short - Declare Function DO_ContStatus Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByRef Status As Short) As Short - Declare Function DO_InitialMemoryAllocated Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByRef MemSize As Integer) As Short - Declare Function DO_PGStart Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByRef Buffer As Byte, ByVal WriteCount As Integer, ByVal SampleRate As Double) As Short - Declare Function DO_PGStart Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByRef Buffer As Short, ByVal WriteCount As Integer, ByVal SampleRate As Double) As Short - Declare Function DO_PGStart Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByRef Buffer As UInt32, ByVal WriteCount As Integer, ByVal SampleRate As Double) As Short - Declare Function DO_PGStop Lib "Pci-Dask.dll" (ByVal CardNumber As Short) As Short - Declare Function DO_WritePort Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal Port As Short, ByVal Value As Integer) As Short - Declare Function DO_WriteLine Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal Port As Short, ByVal Line As Short, ByVal Value As Short) As Short - Declare Function DO_SimuWritePort Lib "Pci-Dask.dll" (ByVal wCardNumber As Short, ByVal wNumChans As Short, ByRef pdwBuffer As Integer) As Short - Declare Function DO_ReadLine Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal Port As Short, ByVal Line As Short, ByRef Value As Short) As Short - Declare Function DO_ReadPort Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal Port As Short, ByRef Value As Integer) As Short - Declare Function EDO_9111_Config Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal wEDO_Fun As Short) As Short - Declare Function DO_WriteExtTrigLine Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal Value As Short) As Short - Declare Function DO_ContMultiBufferSetup Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByRef Buffer As Byte, ByVal WriteCount As Integer, ByRef BufferId As Short) As Short - Declare Function DO_ContMultiBufferSetup Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByRef Buffer As Short, ByVal WriteCount As Integer, ByRef BufferId As Short) As Short - Declare Function DO_ContMultiBufferSetup Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByRef Buffer As UInt32, ByVal WriteCount As Integer, ByRef BufferId As Short) As Short - Declare Function DO_ContMultiBufferStart Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal Port As Short, ByVal SampleRate As Double) As Short - Declare Function DO_AsyncMultiBufferNextReady Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByRef NextReady As Byte, ByRef BufferId As Short) As Short - Declare Function DO_EventCallBack Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal Mode As Short, ByVal EventType As Short, ByVal callbackAddr As Integer) As Short - - 'DIO Functions - Declare Function DIO_PortConfig Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal Port As Short, ByVal Direction As Short) As Short - Declare Function DIO_LinesConfig Lib "Pci-Dask.dll" (ByVal wCardNumber As Short, ByVal wPort As Short, ByVal wLinesdirmap As Short) As Short - Declare Function DIO_LineConfig Lib "Pci-Dask.dll" (ByVal wCardNumber As Short, ByVal wPort As Short, ByVal wLine As Short, ByVal wDirection As Short) As Short - Declare Function DIO_SetDualInterrupt Lib "Pci-Dask.dll" (ByVal wCardNumber As Short, ByVal wInt1Mode As Short, ByVal wInt2Mode As Short, ByRef hEvent As Integer) As Short - Declare Function DIO_SetCOSInterrupt Lib "Pci-Dask.dll" (ByVal wCardNumber As Short, ByVal Port As Short, ByVal ctlA As Short, ByVal ctlB As Short, ByVal ctlC As Short) As Short - Declare Function DIO_GetCOSLatchData Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByRef CosLData As Integer) As Short - Declare Function DIO_SetCOSInterrupt32 Lib "Pci-Dask.dll" (ByVal wCardNumber As Short, ByVal Port As Byte, ByVal ctl As Integer, ByRef hEvent As Integer, ByVal bManualReset As Byte) As Short - Declare Function DIO_GetCOSLatchData32 Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByRef CosLData As Integer) As Short - Declare Function DIO_INT_EventMessage Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal Mode As Short, ByVal hEvent As Integer, ByVal windowHandle As Integer, ByVal message As Integer, ByVal callbackAddr As CallbackDelegate) As Short - Declare Function DIO_INT1_EventMessage Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal Int1Mode As Short, ByVal windowHandle As Integer, ByVal message As Integer, ByVal callbackAddr As CallbackDelegate) As Short - Declare Function DIO_INT2_EventMessage Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal Int2Mode As Short, ByVal windowHandle As Integer, ByVal message As Integer, ByVal callbackAddr As CallbackDelegate) As Short - Declare Function DIO_7300SetInterrupt Lib "Pci-Dask.dll" (ByVal wCardNumber As Short, ByVal AuxDIEn As Short, ByVal T2En As Short, ByRef hEvent As Integer) As Short - Declare Function DIO_AUXDI_EventMessage Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal AuxDIEn As Short, ByVal windowHandle As Integer, ByVal message As Integer, ByVal callbackAddr As CallbackDelegate) As Short - Declare Function DIO_T2_EventMessage Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal T2En As Short, ByVal windowHandle As Integer, ByVal message As Integer, ByVal callbackAddr As CallbackDelegate) As Short - - 'Counter Functions - Declare Function CTR_Setup Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal Ctr As Short, ByVal Mode As Short, ByVal Count As Integer, ByVal BinBcd As Short) As Short - Declare Function CTR_Clear Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal Ctr As Short, ByVal State As Short) As Short - Declare Function CTR_Read Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal Ctr As Short, ByRef Value As Integer) As Short - Declare Function CTR_Update Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal Ctr As Short, ByVal Count As Integer) As Short - Declare Function CTR_8554_ClkSrc_Config Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal Ctr As Short, ByVal ClockSource As Short) As Short - Declare Function CTR_8554_CK1_Config Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal ClockSource As Short) As Short - Declare Function CTR_8554_Debounce_Config Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal DebounceClock As Short) As Short - Declare Function GCTR_Setup Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal wGCtr As Short, ByVal wGCtrCtrl As Short, ByVal dwCount As Integer) As Short - Declare Function GCTR_Clear Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal wGCtr As Short) As Short - Declare Function GCTR_Read Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal wGCtr As Short, ByRef pValue As Integer) As Short - Declare Function WDT_Setup Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal wCtr As Short, ByVal ovflowSec As Single, ByRef actualSec As Single, ByRef hEvent As Integer) As Short - Declare Function WDT_Control Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal wCtr As Short, ByVal action As Short) As Short - Declare Function WDT_Status Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal wCtr As Short, ByRef pValue As Integer) As Short - Declare Function WDT_Reload Lib "Pci-Dask.dll" (ByVal wCardNumber As Short, ByVal ovflowSec As Single, ByRef actualSec As Single) As Short - - Declare Function AI_GetEvent Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByRef hEvent As Integer) As Short - Declare Function AO_GetEvent Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByRef hEvent As Integer) As Short - Declare Function DI_GetEvent Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByRef hEvent As Integer) As Short - Declare Function DO_GetEvent Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByRef hEvent As Integer) As Short -End Module \ No newline at end of file diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/.NET/VB.NET/7300/D7300_DI_Single_Buffer_Sync/D7300_DI_Single_Buffer_Sync/Form1.Designer.vb b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/.NET/VB.NET/7300/D7300_DI_Single_Buffer_Sync/D7300_DI_Single_Buffer_Sync/Form1.Designer.vb deleted file mode 100644 index e2a0603..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/.NET/VB.NET/7300/D7300_DI_Single_Buffer_Sync/D7300_DI_Single_Buffer_Sync/Form1.Designer.vb +++ /dev/null @@ -1,72 +0,0 @@ - _ -Partial Class Form1 - Inherits System.Windows.Forms.Form - - 'Form 覆寫 Dispose 以清除元件清單。 - _ - Protected Overrides Sub Dispose(ByVal disposing As Boolean) - If disposing AndAlso components IsNot Nothing Then - components.Dispose() - End If - MyBase.Dispose(disposing) - End Sub - - '為 Windows Form 設計工具的必要項 - Private components As System.ComponentModel.IContainer - - '注意: 以下為 Windows Form 設計工具所需的程序 - '可以使用 Windows Form 設計工具進行修改。 - '請不要使用程式碼編輯器進行修改。 - _ - Private Sub InitializeComponent() - Me.button1 = New System.Windows.Forms.Button - Me.listBox1 = New System.Windows.Forms.ListBox - Me.label1 = New System.Windows.Forms.Label - Me.SuspendLayout() - ' - 'button1 - ' - Me.button1.Location = New System.Drawing.Point(63, 142) - Me.button1.Name = "button1" - Me.button1.Size = New System.Drawing.Size(73, 29) - Me.button1.TabIndex = 1 - Me.button1.Text = "Start" - Me.button1.UseVisualStyleBackColor = True - ' - 'listBox1 - ' - Me.listBox1.FormattingEnabled = True - Me.listBox1.ItemHeight = 12 - Me.listBox1.Location = New System.Drawing.Point(29, 24) - Me.listBox1.Name = "listBox1" - Me.listBox1.Size = New System.Drawing.Size(143, 112) - Me.listBox1.TabIndex = 2 - ' - 'label1 - ' - Me.label1.AutoSize = True - Me.label1.Location = New System.Drawing.Point(27, 9) - Me.label1.Name = "label1" - Me.label1.Size = New System.Drawing.Size(57, 12) - Me.label1.TabIndex = 3 - Me.label1.Text = "Input Data:" - ' - 'Form1 - ' - Me.AutoScaleDimensions = New System.Drawing.SizeF(6.0!, 12.0!) - Me.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font - Me.ClientSize = New System.Drawing.Size(202, 187) - Me.Controls.Add(Me.label1) - Me.Controls.Add(Me.listBox1) - Me.Controls.Add(Me.button1) - Me.Name = "Form1" - Me.Text = "Form1" - Me.ResumeLayout(False) - Me.PerformLayout() - - End Sub - Private WithEvents button1 As System.Windows.Forms.Button - Private WithEvents listBox1 As System.Windows.Forms.ListBox - Private WithEvents label1 As System.Windows.Forms.Label - -End Class diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/.NET/VB.NET/7300/D7300_DI_Single_Buffer_Sync/D7300_DI_Single_Buffer_Sync/Form1.resx b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/.NET/VB.NET/7300/D7300_DI_Single_Buffer_Sync/D7300_DI_Single_Buffer_Sync/Form1.resx deleted file mode 100644 index 19dc0dd..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/.NET/VB.NET/7300/D7300_DI_Single_Buffer_Sync/D7300_DI_Single_Buffer_Sync/Form1.resx +++ /dev/null @@ -1,120 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - text/microsoft-resx - - - 2.0 - - - System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - \ No newline at end of file diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/.NET/VB.NET/7300/D7300_DI_Single_Buffer_Sync/D7300_DI_Single_Buffer_Sync/Form1.vb b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/.NET/VB.NET/7300/D7300_DI_Single_Buffer_Sync/D7300_DI_Single_Buffer_Sync/Form1.vb deleted file mode 100644 index 873ab5b..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/.NET/VB.NET/7300/D7300_DI_Single_Buffer_Sync/D7300_DI_Single_Buffer_Sync/Form1.vb +++ /dev/null @@ -1,37 +0,0 @@ -Public Class Form1 - Dim m_dev As Short - Dim data_buffer(99) As UShort - - Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load - m_dev = Register_Card(PCI_7300A_RevB, 0) - If (m_dev < 0) Then - MessageBox.Show("DO_7300B_Config error!") - End If - End Sub - - Private Sub Form1_FormClosing(ByVal sender As System.Object, ByVal e As System.Windows.Forms.FormClosingEventArgs) Handles MyBase.FormClosing - Dim ret As Short - If (m_dev >= 0) Then - ret = DASK.Release_Card(m_dev) - End If - End Sub - - Private Sub button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles button1.Click - Dim i As Integer - Dim err As Short - err = DASK.DI_7300B_Config(m_dev, 16, TRIG_INT_PACER, P7300_WAIT_NO, P7300_TERM_OFF, P7300_DIREQ_POS Or P7300_DIACK_POS Or P7300_DITRIG_POS, False, False) - If (err <> 0) Then - MessageBox.Show("DI_7300B_Config error!") - Return - End If - err = DI_ContReadPort(m_dev, 0, data_buffer(0), 100, 10000, SYNCH_OP) - If (err <> 0) Then - MessageBox.Show("DI_ContReadPort error!") - Return - End If - listBox1.Items.Clear() - For i = 0 To 99 - listBox1.Items.Add(data_buffer(i)) - Next - End Sub -End Class diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/.NET/VB.NET/7300/D7300_DI_Single_Buffer_Sync/D7300_DI_Single_Buffer_Sync/My Project/Application.Designer.vb b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/.NET/VB.NET/7300/D7300_DI_Single_Buffer_Sync/D7300_DI_Single_Buffer_Sync/My Project/Application.Designer.vb deleted file mode 100644 index 8e3740a..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/.NET/VB.NET/7300/D7300_DI_Single_Buffer_Sync/D7300_DI_Single_Buffer_Sync/My Project/Application.Designer.vb +++ /dev/null @@ -1,38 +0,0 @@ -'------------------------------------------------------------------------------ -' -' This code was generated by a tool. -' Runtime Version:2.0.50727.42 -' -' Changes to this file may cause incorrect behavior and will be lost if -' the code is regenerated. -' -'------------------------------------------------------------------------------ - -Option Strict On -Option Explicit On - - -Namespace My - - 'NOTE: This file is auto-generated; do not modify it directly. To make changes, - ' or if you encounter build errors in this file, go to the Project Designer - ' (go to Project Properties or double-click the My Project node in - ' Solution Explorer), and make changes on the Application tab. - ' - Partial Friend Class MyApplication - - _ - Public Sub New() - MyBase.New(Global.Microsoft.VisualBasic.ApplicationServices.AuthenticationMode.Windows) - Me.IsSingleInstance = false - Me.EnableVisualStyles = true - Me.SaveMySettingsOnExit = true - Me.ShutDownStyle = Global.Microsoft.VisualBasic.ApplicationServices.ShutdownMode.AfterMainFormCloses - End Sub - - _ - Protected Overrides Sub OnCreateMainForm() - Me.MainForm = Global.D7300_DI_Single_Buffer_Sync.Form1 - End Sub - End Class -End Namespace diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/.NET/VB.NET/7300/D7300_DI_Single_Buffer_Sync/D7300_DI_Single_Buffer_Sync/My Project/Application.myapp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/.NET/VB.NET/7300/D7300_DI_Single_Buffer_Sync/D7300_DI_Single_Buffer_Sync/My Project/Application.myapp deleted file mode 100644 index 1243847..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/.NET/VB.NET/7300/D7300_DI_Single_Buffer_Sync/D7300_DI_Single_Buffer_Sync/My Project/Application.myapp +++ /dev/null @@ -1,11 +0,0 @@ - - - true - Form1 - false - 0 - true - 0 - 0 - true - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/.NET/VB.NET/7300/D7300_DI_Single_Buffer_Sync/D7300_DI_Single_Buffer_Sync/My Project/AssemblyInfo.vb b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/.NET/VB.NET/7300/D7300_DI_Single_Buffer_Sync/D7300_DI_Single_Buffer_Sync/My Project/AssemblyInfo.vb deleted file mode 100644 index 6c67314..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/.NET/VB.NET/7300/D7300_DI_Single_Buffer_Sync/D7300_DI_Single_Buffer_Sync/My Project/AssemblyInfo.vb +++ /dev/null @@ -1,35 +0,0 @@ -Imports System -Imports System.Reflection -Imports System.Runtime.InteropServices - -' 組件的一般資訊是由下列的屬性集控制。 -' 變更這些屬性的值即可修改組件的相關 -' 資訊。 - -' 檢閱組件屬性的值 - - - - - - - - - - -'下列 GUID 為專案公開 (Expose) 至 COM 時所要使用的 typelib ID - - -' 組件的版本資訊是由下列四項值構成: -' -' 主要版本 -' 次要版本 -' 組建編號 -' 修訂編號 -' -' 您可以指定所有的值,也可以依照以下的方式,使用 '*' 將組建和修訂編號 -' 指定為預設值: -' - - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/.NET/VB.NET/7300/D7300_DI_Single_Buffer_Sync/D7300_DI_Single_Buffer_Sync/My Project/Resources.Designer.vb b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/.NET/VB.NET/7300/D7300_DI_Single_Buffer_Sync/D7300_DI_Single_Buffer_Sync/My Project/Resources.Designer.vb deleted file mode 100644 index 72fd0a4..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/.NET/VB.NET/7300/D7300_DI_Single_Buffer_Sync/D7300_DI_Single_Buffer_Sync/My Project/Resources.Designer.vb +++ /dev/null @@ -1,62 +0,0 @@ -'------------------------------------------------------------------------------ -' -' This code was generated by a tool. -' Runtime Version:2.0.50727.42 -' -' Changes to this file may cause incorrect behavior and will be lost if -' the code is regenerated. -' -'------------------------------------------------------------------------------ - -Option Strict On -Option Explicit On - - -Namespace My.Resources - - 'This class was auto-generated by the StronglyTypedResourceBuilder - 'class via a tool like ResGen or Visual Studio. - 'To add or remove a member, edit your .ResX file then rerun ResGen - 'with the /str option, or rebuild your VS project. - ' - ' A strongly-typed resource class, for looking up localized strings, etc. - ' - _ - Friend Module Resources - - Private resourceMan As Global.System.Resources.ResourceManager - - Private resourceCulture As Global.System.Globalization.CultureInfo - - ' - ' Returns the cached ResourceManager instance used by this class. - ' - _ - Friend ReadOnly Property ResourceManager() As Global.System.Resources.ResourceManager - Get - If Object.ReferenceEquals(resourceMan, Nothing) Then - Dim temp As Global.System.Resources.ResourceManager = New Global.System.Resources.ResourceManager("D7300_DI_Single_Buffer_Sync.Resources", GetType(Resources).Assembly) - resourceMan = temp - End If - Return resourceMan - End Get - End Property - - ' - ' Overrides the current thread's CurrentUICulture property for all - ' resource lookups using this strongly typed resource class. - ' - _ - Friend Property Culture() As Global.System.Globalization.CultureInfo - Get - Return resourceCulture - End Get - Set(ByVal value As Global.System.Globalization.CultureInfo) - resourceCulture = value - End Set - End Property - End Module -End Namespace diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/.NET/VB.NET/7300/D7300_DI_Single_Buffer_Sync/D7300_DI_Single_Buffer_Sync/My Project/Resources.resx b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/.NET/VB.NET/7300/D7300_DI_Single_Buffer_Sync/D7300_DI_Single_Buffer_Sync/My Project/Resources.resx deleted file mode 100644 index af7dbeb..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/.NET/VB.NET/7300/D7300_DI_Single_Buffer_Sync/D7300_DI_Single_Buffer_Sync/My Project/Resources.resx +++ /dev/null @@ -1,117 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - text/microsoft-resx - - - 2.0 - - - System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - \ No newline at end of file diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/.NET/VB.NET/7300/D7300_DI_Single_Buffer_Sync/D7300_DI_Single_Buffer_Sync/My Project/Settings.Designer.vb b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/.NET/VB.NET/7300/D7300_DI_Single_Buffer_Sync/D7300_DI_Single_Buffer_Sync/My Project/Settings.Designer.vb deleted file mode 100644 index 91f6a15..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/.NET/VB.NET/7300/D7300_DI_Single_Buffer_Sync/D7300_DI_Single_Buffer_Sync/My Project/Settings.Designer.vb +++ /dev/null @@ -1,73 +0,0 @@ -'------------------------------------------------------------------------------ -' -' This code was generated by a tool. -' Runtime Version:2.0.50727.42 -' -' Changes to this file may cause incorrect behavior and will be lost if -' the code is regenerated. -' -'------------------------------------------------------------------------------ - -Option Strict On -Option Explicit On - - -Namespace My - - _ - Partial Friend NotInheritable Class MySettings - Inherits Global.System.Configuration.ApplicationSettingsBase - - Private Shared defaultInstance As MySettings = CType(Global.System.Configuration.ApplicationSettingsBase.Synchronized(New MySettings), MySettings) - -#Region "My.Settings Auto-Save Functionality" -#If _MyType = "WindowsForms" Then - Private Shared addedHandler As Boolean - - Private Shared addedHandlerLockObject As New Object - - _ - Private Shared Sub AutoSaveSettings(ByVal sender As Global.System.Object, ByVal e As Global.System.EventArgs) - If My.Application.SaveMySettingsOnExit Then - My.Settings.Save() - End If - End Sub -#End If -#End Region - - Public Shared ReadOnly Property [Default]() As MySettings - Get - -#If _MyType = "WindowsForms" Then - If Not addedHandler Then - SyncLock addedHandlerLockObject - If Not addedHandler Then - AddHandler My.Application.Shutdown, AddressOf AutoSaveSettings - addedHandler = True - End If - End SyncLock - End If -#End If - Return defaultInstance - End Get - End Property - End Class -End Namespace - -Namespace My - - _ - Friend Module MySettingsProperty - - _ - Friend ReadOnly Property Settings() As Global.D7300_DI_Single_Buffer_Sync.My.MySettings - Get - Return Global.D7300_DI_Single_Buffer_Sync.My.MySettings.Default - End Get - End Property - End Module -End Namespace diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/.NET/VB.NET/7300/D7300_DI_Single_Buffer_Sync/D7300_DI_Single_Buffer_Sync/My Project/Settings.settings b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/.NET/VB.NET/7300/D7300_DI_Single_Buffer_Sync/D7300_DI_Single_Buffer_Sync/My Project/Settings.settings deleted file mode 100644 index 85b890b..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/.NET/VB.NET/7300/D7300_DI_Single_Buffer_Sync/D7300_DI_Single_Buffer_Sync/My Project/Settings.settings +++ /dev/null @@ -1,7 +0,0 @@ - - - - - - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/.NET/VB.NET/7300/D7300_DO_Single_Buffer_Sync/D7300_DO_Single_Buffer_Sync.sln b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/.NET/VB.NET/7300/D7300_DO_Single_Buffer_Sync/D7300_DO_Single_Buffer_Sync.sln deleted file mode 100644 index d8684f3..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/.NET/VB.NET/7300/D7300_DO_Single_Buffer_Sync/D7300_DO_Single_Buffer_Sync.sln +++ /dev/null @@ -1,20 +0,0 @@ - -Microsoft Visual Studio Solution File, Format Version 9.00 -# Visual Studio 2005 -Project("{F184B08F-C81C-45F6-A57F-5ABD9991F28F}") = "D7300_DO_Single_Buffer_Sync", "D7300_DO_Single_Buffer_Sync\D7300_DO_Single_Buffer_Sync.vbproj", "{52700FE6-AB1E-4C67-9F38-197D83F0D7E5}" -EndProject -Global - GlobalSection(SolutionConfigurationPlatforms) = preSolution - Debug|Any CPU = Debug|Any CPU - Release|Any CPU = Release|Any CPU - EndGlobalSection - GlobalSection(ProjectConfigurationPlatforms) = postSolution - {52700FE6-AB1E-4C67-9F38-197D83F0D7E5}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {52700FE6-AB1E-4C67-9F38-197D83F0D7E5}.Debug|Any CPU.Build.0 = Debug|Any CPU - {52700FE6-AB1E-4C67-9F38-197D83F0D7E5}.Release|Any CPU.ActiveCfg = Release|Any CPU - {52700FE6-AB1E-4C67-9F38-197D83F0D7E5}.Release|Any CPU.Build.0 = Release|Any CPU - EndGlobalSection - GlobalSection(SolutionProperties) = preSolution - HideSolutionNode = FALSE - EndGlobalSection -EndGlobal diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/.NET/VB.NET/7300/D7300_DO_Single_Buffer_Sync/D7300_DO_Single_Buffer_Sync/D7300_DO_Single_Buffer_Sync.vbproj b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/.NET/VB.NET/7300/D7300_DO_Single_Buffer_Sync/D7300_DO_Single_Buffer_Sync/D7300_DO_Single_Buffer_Sync.vbproj deleted file mode 100644 index 45e5682..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/.NET/VB.NET/7300/D7300_DO_Single_Buffer_Sync/D7300_DO_Single_Buffer_Sync/D7300_DO_Single_Buffer_Sync.vbproj +++ /dev/null @@ -1,109 +0,0 @@ - - - - Debug - AnyCPU - 8.0.50727 - 2.0 - {52700FE6-AB1E-4C67-9F38-197D83F0D7E5} - WinExe - D7300_DO_Single_Buffer_Sync.My.MyApplication - D7300_DO_Single_Buffer_Sync - D7300_DO_Single_Buffer_Sync - WindowsForms - - - true - full - true - true - bin\Debug\ - D7300_DO_Single_Buffer_Sync.xml - 42016,41999,42017,42018,42019,42032,42036,42020,42021,42022 - x86 - - - pdbonly - false - true - true - bin\Release\ - D7300_DO_Single_Buffer_Sync.xml - 42016,41999,42017,42018,42019,42032,42036,42020,42021,42022 - x86 - - - - - - - - - - - - - - - - - - - - - - - Form - - - Form1.vb - Form - - - - True - Application.myapp - - - True - True - Resources.resx - - - True - Settings.settings - True - - - - - Designer - Form1.vb - - - VbMyResourcesResXFileCodeGenerator - Resources.Designer.vb - My.Resources - Designer - - - - - MyApplicationCodeGenerator - Application.Designer.vb - - - SettingsSingleFileGenerator - My - Settings.Designer.vb - - - - - \ No newline at end of file diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/.NET/VB.NET/7300/D7300_DO_Single_Buffer_Sync/D7300_DO_Single_Buffer_Sync/DASK.vb b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/.NET/VB.NET/7300/D7300_DO_Single_Buffer_Sync/D7300_DO_Single_Buffer_Sync/DASK.vb deleted file mode 100644 index cdc485d..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/.NET/VB.NET/7300/D7300_DO_Single_Buffer_Sync/D7300_DO_Single_Buffer_Sync/DASK.vb +++ /dev/null @@ -1,655 +0,0 @@ -Option Strict Off -Option Explicit On -Module DASK - - 'ADLink PCI Card Type - Public Const PCI_6208V As Short = 1 - Public Const PCI_6208A As Short = 2 - Public Const PCI_6308V As Short = 3 - Public Const PCI_6308A As Short = 4 - Public Const PCI_7200 As Short = 5 - Public Const PCI_7230 As Short = 6 - Public Const PCI_7233 As Short = 7 - Public Const PCI_7234 As Short = 8 - Public Const PCI_7248 As Short = 9 - Public Const PCI_7249 As Short = 10 - Public Const PCI_7250 As Short = 11 - Public Const PCI_7252 As Short = 12 - Public Const PCI_7296 As Short = 13 - Public Const PCI_7300A_RevA As Short = 14 - Public Const PCI_7300A_RevB As Short = 15 - Public Const PCI_7432 As Short = 16 - Public Const PCI_7433 As Short = 17 - Public Const PCI_7434 As Short = 18 - Public Const PCI_8554 As Short = 19 - Public Const PCI_9111DG As Short = 20 - Public Const PCI_9111HR As Short = 21 - Public Const PCI_9112 As Short = 22 - Public Const PCI_9113 As Short = 23 - Public Const PCI_9114DG As Short = 24 - Public Const PCI_9114HG As Short = 25 - Public Const PCI_9118DG As Short = 26 - Public Const PCI_9118HG As Short = 27 - Public Const PCI_9118HR As Short = 28 - Public Const PCI_9810 As Short = 29 - Public Const PCI_9812 As Short = 30 - Public Const PCI_7396 As Short = 31 - Public Const PCI_9116 As Short = 32 - Public Const PCI_7256 As Short = 33 - Public Const PCI_7258 As Short = 34 - Public Const PCI_7260 As Short = 35 - Public Const PCI_7452 As Short = 36 - Public Const PCI_7442 As Short = 37 - - Public Const MAX_CARD As Short = 32 - - 'Error Code - Public Const NoError As Short = 0 - Public Const ErrorUnknownCardType As Short = -1 - Public Const ErrorInvalidCardNumber As Short = -2 - Public Const ErrorTooManyCardRegistered As Short = -3 - Public Const ErrorCardNotRegistered As Short = -4 - Public Const ErrorFuncNotSupport As Short = -5 - Public Const ErrorInvalidIoChannel As Short = -6 - Public Const ErrorInvalidAdRange As Short = -7 - Public Const ErrorContIoNotAllowed As Short = -8 - Public Const ErrorDiffRangeNotSupport As Short = -9 - Public Const ErrorLastChannelNotZero As Short = -10 - Public Const ErrorChannelNotDescending As Short = -11 - Public Const ErrorChannelNotAscending As Short = -12 - Public Const ErrorOpenDriverFailed As Short = -13 - Public Const ErrorOpenEventFailed As Short = -14 - Public Const ErrorTransferCountTooLarge As Short = -15 - Public Const ErrorNotDoubleBufferMode As Short = -16 - Public Const ErrorInvalidSampleRate As Short = -17 - Public Const ErrorInvalidCounterMode As Short = -18 - Public Const ErrorInvalidCounter As Short = -19 - Public Const ErrorInvalidCounterState As Short = -20 - Public Const ErrorInvalidBinBcdParam As Short = -21 - Public Const ErrorBadCardType As Short = -22 - Public Const ErrorInvalidDaRange As Short = -23 - Public Const ErrorAdTimeOut As Short = -24 - Public Const ErrorNoAsyncAI As Short = -25 - Public Const ErrorNoAsyncAO As Short = -26 - Public Const ErrorNoAsyncDI As Short = -27 - Public Const ErrorNoAsyncDO As Short = -28 - Public Const ErrorNotInputPort As Short = -29 - Public Const ErrorNotOutputPort As Short = -30 - Public Const ErrorInvalidDioPort As Short = -31 - Public Const ErrorInvalidDioLine As Short = -32 - Public Const ErrorContIoActive As Short = -33 - Public Const ErrorDblBufModeNotAllowed As Short = -34 - Public Const ErrorConfigFailed As Short = -35 - Public Const ErrorInvalidPortDirection As Short = -36 - Public Const ErrorBeginThreadError As Short = -37 - Public Const ErrorInvalidPortWidth As Short = -38 - Public Const ErrorInvalidCtrSource As Short = -39 - Public Const ErrorOpenFile As Short = -40 - Public Const ErrorAllocateMemory As Short = -41 - Public Const ErrorDaVoltageOutOfRange As Short = -42 - Public Const ErrorDaExtRefNotAllowed As Short = -43 - Public Const ErrorDIODataWidthError As Short = -44 - Public Const ErrorTaskCodeError As Short = -45 - Public Const ErrortriggercountError As Short = -46 - Public Const ErrorInvalidTriggerMode As Short = -47 - Public Const ErrorInvalidTriggerType As Short = -48 - Public Const ErrorInvalidCounterValue As Short = -50 - Public Const ErrorInvalidEventHandle As Short = -60 - Public Const ErrorNoMessageAvailable As Short = -61 - Public Const ErrorEventMessgaeNotAdded As Short = -62 - - 'Error code for driver API - Public Const ErrorConfigIoctl As Short = -201 - Public Const ErrorAsyncSetIoctl As Short = -202 - Public Const ErrorDBSetIoctl As Short = -203 - Public Const ErrorDBHalfReadyIoctl As Short = -204 - Public Const ErrorContOPIoctl As Short = -205 - Public Const ErrorContStatusIoctl As Short = -206 - Public Const ErrorPIOIoctl As Short = -207 - Public Const ErrorDIntSetIoctl As Short = -208 - Public Const ErrorWaitEvtIoctl As Short = -209 - Public Const ErrorOpenEvtIoctl As Short = -210 - Public Const ErrorCOSIntSetIoctl As Short = -211 - Public Const ErrorMemMapIoctl As Short = -212 - Public Const ErrorMemUMapSetIoctl As Short = -213 - Public Const ErrorCTRIoctl As Short = -214 - Public Const ErrorGetResIoctl As Short = -215 - - 'Synchronous Mode - Public Const SYNCH_OP As Short = 1 - Public Const ASYNCH_OP As Short = 2 - - 'AD Range - Public Const AD_B_10_V As Short = 1 - Public Const AD_B_5_V As Short = 2 - Public Const AD_B_2_5_V As Short = 3 - Public Const AD_B_1_25_V As Short = 4 - Public Const AD_B_0_625_V As Short = 5 - Public Const AD_B_0_3125_V As Short = 6 - Public Const AD_B_0_5_V As Short = 7 - Public Const AD_B_0_05_V As Short = 8 - Public Const AD_B_0_005_V As Short = 9 - Public Const AD_B_1_V As Short = 10 - Public Const AD_B_0_1_V As Short = 11 - Public Const AD_B_0_01_V As Short = 12 - Public Const AD_B_0_001_V As Short = 13 - Public Const AD_U_20_V As Short = 14 - Public Const AD_U_10_V As Short = 15 - Public Const AD_U_5_V As Short = 16 - Public Const AD_U_2_5_V As Short = 17 - Public Const AD_U_1_25_V As Short = 18 - Public Const AD_U_1_V As Short = 19 - Public Const AD_U_0_1_V As Short = 20 - Public Const AD_U_0_01_V As Short = 21 - Public Const AD_U_0_001_V As Short = 22 - - 'Trigger Source - Public Const TRIG_SOFTWARE As Short = 0 - Public Const TRIG_INT_PACER As Short = 1 - Public Const TRIG_EXT_STROBE As Short = 2 - Public Const TRIG_HANDSHAKE As Short = 3 - Public Const TRIG_CLK_10MHZ As Short = 4 'PCI-7300A - Public Const TRIG_CLK_20MHZ As Short = 5 'PCI-7300A - Public Const TRIG_DO_CLK_TIMER_ACK As Short = 6 'PCI-7300A Rev. B - Public Const TRIG_DO_CLK_10M_ACK As Short = 7 'PCI-7300A Rev. B - Public Const TRIG_DO_CLK_20M_ACK As Short = 8 'PCI-7300A Rev. B - - 'Virtual sampling rate for using external clock as the clock source - Public Const CLKSRC_EXT_SampRate As Short = 10000 - - '--------- Constants for PCI-6208A -------------- - 'Output Mode - Public Const P6208_CURRENT_0_20MA As Short = 0 - Public Const P6208_CURRENT_5_25MA As Short = 1 - Public Const P6208_CURRENT_4_20MA As Short = 3 - - '--------- Constants for PCI-6308A/PCI-6308V -------------- - 'Output Mode - Public Const P6308_CURRENT_0_20MA As Short = 0 - Public Const P6308_CURRENT_5_25MA As Short = 1 - Public Const P6308_CURRENT_4_20MA As Short = 3 - 'AO Setting - Public Const P6308V_AO_CH0_3 As Short = 0 - Public Const P6308V_AO_CH4_7 As Short = 1 - Public Const P6308V_AO_UNIPOLAR As Short = 0 - Public Const P6308V_AO_BIPOLAR As Short = 1 - - '--------- Constants for PCI-7200 -------------- - 'InputMode - Public Const DI_WAITING As Short = &H2s - Public Const DI_NOWAITING As Short = &H0s - - Public Const DI_TRIG_RISING As Short = &H4s - Public Const DI_TRIG_FALLING As Short = &H0s - - Public Const IREQ_RISING As Short = &H8s - Public Const IREQ_FALLING As Short = &H0s - - 'Output Mode - Public Const OREQ_ENABLE As Short = &H10s - Public Const OREQ_DISABLE As Short = &H0s - - Public Const OTRIG_HIGH As Short = &H20s - Public Const OTRIG_LOW As Short = &H0s - - '--------- Constants for PCI-7248/7296/7442 -------------- - 'DIO Port Direction - Public Const INPUT_PORT As Short = 1 - Public Const OUTPUT_PORT As Short = 2 - 'DIO Line Direction - Public Const INPUT_LINE As Short = 1 - Public Const OUTPUT_LINE As Short = 2 - - 'Channel&Port - Public Const Channel_P1A As Short = 0 - Public Const Channel_P1B As Short = 1 - Public Const Channel_P1C As Short = 2 - Public Const Channel_P1CL As Short = 3 - Public Const Channel_P1CH As Short = 4 - Public Const Channel_P1AE As Short = 10 - Public Const Channel_P1BE As Short = 11 - Public Const Channel_P1CE As Short = 12 - Public Const Channel_P2A As Short = 5 - Public Const Channel_P2B As Short = 6 - Public Const Channel_P2C As Short = 7 - Public Const Channel_P2CL As Short = 8 - Public Const Channel_P2CH As Short = 9 - Public Const Channel_P2AE As Short = 15 - Public Const Channel_P2BE As Short = 16 - Public Const Channel_P2CE As Short = 17 - Public Const Channel_P3A As Short = 10 - Public Const Channel_P3B As Short = 11 - Public Const Channel_P3C As Short = 12 - Public Const Channel_P3CL As Short = 13 - Public Const Channel_P3CH As Short = 14 - Public Const Channel_P4A As Short = 15 - Public Const Channel_P4B As Short = 16 - Public Const Channel_P4C As Short = 17 - Public Const Channel_P4CL As Short = 18 - Public Const Channel_P4CH As Short = 19 - Public Const Channel_P5A As Short = 20 - Public Const Channel_P5B As Short = 21 - Public Const Channel_P5C As Short = 22 - Public Const Channel_P5CL As Short = 23 - Public Const Channel_P5CH As Short = 24 - Public Const Channel_P6A As Short = 25 - Public Const Channel_P6B As Short = 26 - Public Const Channel_P6C As Short = 27 - Public Const Channel_P6CL As Short = 28 - Public Const Channel_P6CH As Short = 29 - Public Const Channel_P1 As Short = 30 - Public Const Channel_P2 As Short = 31 - Public Const Channel_P3 As Short = 32 - Public Const Channel_P4 As Short = 33 - Public Const Channel_P1E As Short = 34 - Public Const Channel_P2E As Short = 35 - Public Const Channel_P3E As Short = 36 - Public Const Channel_P4E As Short = 37 - - Public Const P7442_CH0 As Short = 0 - Public Const P7442_CH1 As Short = 1 - Public Const P7442_TTL0 As Short = 2 - Public Const P7442_TTL1 As Short = 3 - - '--------- Constants for PCI-7300A -------------- - 'Wait Status - Public Const P7300_WAIT_NO As Short = 0 - Public Const P7300_WAIT_TRG As Short = 1 - Public Const P7300_WAIT_FIFO As Short = 2 - Public Const P7300_WAIT_BOTH As Short = 3 - - 'Terminator control - Public Const P7300_TERM_OFF As Short = 0 - Public Const P7300_TERM_ON As Short = 1 - - 'DI control signals polarity for PCI-7300A Rev. B - Public Const P7300_DIREQ_POS As Short = &H0s - Public Const P7300_DIREQ_NEG As Short = &H1s - Public Const P7300_DIACK_POS As Short = &H0s - Public Const P7300_DIACK_NEG As Short = &H2s - Public Const P7300_DITRIG_POS As Short = &H0s - Public Const P7300_DITRIG_NEG As Short = &H4s - - 'DO control signals polarity for PCI-7300A Rev. B - Public Const P7300_DOREQ_POS As Short = &H0s - Public Const P7300_DOREQ_NEG As Short = &H8s - Public Const P7300_DOACK_POS As Short = &H0s - Public Const P7300_DOACK_NEG As Short = &H10s - Public Const P7300_DOTRIG_POS As Short = &H0s - Public Const P7300_DOTRIG_NEG As Short = &H20s - - '--------- Constants for PCI-7432/7433/7434 -------------- - Public Const CHANNEL_DI_LOW As Short = 0 - Public Const CHANNEL_DI_HIGH As Short = 1 - Public Const CHANNEL_DO_LOW As Short = 0 - Public Const CHANNEL_DO_HIGH As Short = 1 - Public Const P7432R_DO_LED As Short = 1 - Public Const P7433R_DO_LED As Short = 0 - Public Const P7434R_DO_LED As Short = 2 - Public Const P7432R_DI_SLOT As Short = 1 - Public Const P7433R_DI_SLOT As Short = 2 - Public Const P7434R_DI_SLOT As Short = 0 - - '----- Dual-Interrupt Source control for PCI-7248/49/96 & 7230 & 8554 & 7396 &7256/58 & 7260----- - Public Const INT1_DISABLE As Short = -1 'INT1 Disabled - Public Const INT1_COS As Short = 0 'INT1 COS : only available for PCI-7396, PCI-7256/58 & PCI-7260 - Public Const INT1_FP1C0 As Short = 1 'INT1 by Falling edge of P1C0 - Public Const INT1_RP1C0_FP1C3 As Short = 2 'INT1 by P1C0 Rising or P1C3 Falling - Public Const INT1_EVENT_COUNTER As Short = 3 'INT1 by Event Counter down to zero - Public Const INT1_EXT_SIGNAL As Short = 1 'INT1 by external signal : only available for PCI7432/PCI7433/PCI7230 - Public Const INT1_COUT12 As Short = 1 'INT1 COUT12 : only available for PCI8554 - Public Const INT1_CH0 As Short = 1 'INT1 CH0 : only available for PCI7256/58/60 - Public Const INT1_COS0 As Short = 1 'INT1 COS0 : only available for PCI-7452 - Public Const INT1_COS1 As Short = 2 'INT1 COS1 : only available for PCI-7452 - Public Const INT1_COS2 As Short = 3 'INT1 COS2 : only available for PCI-7452 - Public Const INT1_COS3 As Short = 8 'INT1 COS3 : only available for PCI-7452 - Public Const INT2_DISABLE As Short = -1 'INT2 Disabled - Public Const INT2_COS As Short = 0 'INT2 COS : only available for PCI-7396 - Public Const INT2_FP2C0 As Short = 1 'INT2 by Falling edge of P2C0 - Public Const INT2_RP2C0_FP2C3 As Short = 2 'INT2 by P2C0 Rising or P2C3 Falling - Public Const INT2_TIMER_COUNTER As Short = 3 'INT2 by Timer Counter down to zero - Public Const INT2_EXT_SIGNAL As Short = 1 'INT2 by external signal : only available for PCI7432/PCI7433/PCI7230 - Public Const INT2_CH1 As Short = 2 'INT2 CH1 : only available for PCI7256/58/60 - Public Const INT2_WDT As Short = 4 'INT2 by WDT - - Public Const WDT_OVRFLOW_SAFETYOUT As Short = &H8000s 'enable safteyout while WDT overflow - '-------- Constants for PCI-8554 -------------------- - 'Clock Source of Cunter N - Public Const ECKN As Short = 0 - Public Const COUTN_1 As Short = 1 - Public Const CK1 As Short = 2 - Public Const COUT10 As Short = 3 - - 'Clock Source of CK1 - Public Const CK1_C8M As Short = 0 - Public Const CK1_COUT11 As Short = 1 - - 'Debounce Clock - Public Const DBCLK_COUT11 As Short = 0 - Public Const DBCLK_2MHZ As Short = 1 - - '--------- Constants for PCI-9111 -------------- - 'Dual Interrupt Mode - Public Const P9111_INT1_EOC As Short = 0 'Ending of AD conversion - Public Const P9111_INT1_FIFO_HF As Short = 1 'FIFO Half Full - Public Const P9111_INT2_PACER As Short = 0 'Every Timer tick - Public Const P9111_INT2_EXT_TRG As Short = 1 'ExtTrig High->Low - - 'Channel Count - Public Const P9111_CHANNEL_DO As Short = 0 - Public Const P9111_CHANNEL_EDO As Short = 1 - Public Const P9111_CHANNEL_DI As Short = 0 - Public Const P9111_CHANNEL_EDI As Short = 1 - - 'Trigger Mode - Public Const P9111_TRGMOD_SOFT As Short = 0 'Software Trigger Mode - Public Const P9111_TRGMOD_PRE As Short = 1 'Pre-Trigger Mode - Public Const P9111_TRGMOD_POST As Short = 2 'Post Trigger Mode - - 'EDO function - Public Const P9111_EDO_INPUT As Short = 1 'EDO port set as Input port - Public Const P9111_EDO_OUT_EDO As Short = 2 'EDO port set as Output port - Public Const P9111_EDO_OUT_CHN As Short = 3 'EDO port set as channel number ouput port - - 'AO Setting - Public Const P9111_AO_UNIPOLAR As Short = 0 - Public Const P9111_AO_BIPOLAR As Short = 1 - - '--------- Constants for PCI-9118 -------------- - Public Const P9118_AI_BiPolar As Short = &H0s - Public Const P9118_AI_UniPolar As Short = &H1s - - Public Const P9118_AI_SingEnded As Short = &H0s - Public Const P9118_AI_Differential As Short = &H2s - - Public Const P9118_AI_ExtG As Short = &H4s - - Public Const P9118_AI_ExtTrig As Short = &H8s - - Public Const P9118_AI_DtrgNegative As Short = &H0s - Public Const P9118_AI_DtrgPositive As Short = &H10s - - Public Const P9118_AI_EtrgNegative As Short = &H0s - Public Const P9118_AI_EtrgPositive As Short = &H20s - - Public Const P9118_AI_BurstModeEn As Short = &H40s - Public Const P9118_AI_SampleHold As Short = &H80s - Public Const P9118_AI_PostTrgEn As Short = &H100s - Public Const P9118_AI_AboutTrgEn As Short = &H200s - - '--------- Constants for PCI-9812/9810 -------------- - 'Channel Count - Public Const P9116_AI_LocalGND As Short = &H0s - Public Const P9116_AI_UserCMMD As Short = &H1s - Public Const P9116_AI_SingEnded As Short = &H0s - Public Const P9116_AI_Differential As Short = &H2s - Public Const P9116_AI_BiPolar As Short = &H0s - Public Const P9116_AI_UniPolar As Short = &H4s - - Public Const P9116_TRGMOD_SOFT As Short = &H0s 'Software Trigger Mode - Public Const P9116_TRGMOD_POST As Short = &H10s 'Post Trigger Mode - Public Const P9116_TRGMOD_DELAY As Short = &H20s 'Delay Trigger Mode - Public Const P9116_TRGMOD_PRE As Short = &H30s 'Pre-Trigger Mode - Public Const P9116_TRGMOD_MIDL As Short = &H40s 'Middle Trigger Mode - Public Const P9116_AI_TrgPositive As Short = &H0s - Public Const P9116_AI_TrgNegative As Short = &H80s - Public Const P9116_AI_IntTimeBase As Short = &H0s - Public Const P9116_AI_ExtTimeBase As Short = &H100s - Public Const P9116_AI_DlyInSamples As Short = &H200s - Public Const P9116_AI_DlyInTimebase As Short = &H0s - Public Const P9116_AI_ReTrigEn As Short = &H400s - Public Const P9116_AI_MCounterEn As Short = &H800s - Public Const P9116_AI_SoftPolling As Short = &H0s - Public Const P9116_AI_INT As Short = &H1000s - Public Const P9116_AI_DMA As Short = &H2000s - - '--------- Constants for PCI-9812/9810 -------------- - 'Channel Count - Public Const P9812_CHANNEL_CNT1 As Short = 1 - Public Const P9812_CHANNEL_CNT2 As Short = 2 - Public Const P9812_CHANNEL_CNT4 As Short = 4 - - 'Trigger Mode - Public Const P9812_TRGMOD_SOFT As Short = 0 'Software Trigger Mode - Public Const P9812_TRGMOD_POST As Short = 1 'Post Trigger Mode - Public Const P9812_TRGMOD_PRE As Short = 2 'Pre-Trigger Mode - Public Const P9812_TRGMOD_DELAY As Short = 3 'Delay Trigger Mode - Public Const P9812_TRGMOD_MIDL As Short = 4 'Middle Trigger Mode - - 'Trigger Source - Public Const P9812_TRGSRC_CH0 As Short = 0 'trigger source --CH0 - Public Const P9812_TRGSRC_CH1 As Short = 8 'trigger source --CH1 - Public Const P9812_TRGSRC_CH2 As Short = &H10s 'trigger source --CH2 - Public Const P9812_TRGSRC_CH3 As Short = &H18s 'trigger source --CH3 - Public Const P9812_TRGSRC_EXT_DIG As Short = &H20s 'External Digital Trigger - - 'Trigger Polarity - Public Const P9812_TRGSLP_POS As Short = 0 'Positive slope trigger - Public Const P9812_TRGSLP_NEG As Short = &H40s 'Negative slope trigger - - 'Frequency Selection - Public Const P9812_AD2_GT_PCI As Short = &H80s 'Freq. of A/D clock > PCI clock freq. - Public Const P9812_AD2_LT_PCI As Short = &H0s 'Freq. of A/D clock < PCI clock freq. - - 'Clock Source - Public Const P9812_CLKSRC_INT As Short = &H0s 'Internal clock - Public Const P9812_CLKSRC_EXT_SIN As Short = &H100s 'External SIN wave clock - Public Const P9812_CLKSRC_EXT_DIG As Short = &H200s 'External Square wave clock - - 'DAQ Event type for the event message - Public Const AIEnd As Short = 0 - Public Const DIEnd As Short = 0 - Public Const DOEnd As Short = 0 - Public Const DBEvent As Short = 1 - - 'EMG shdn ctrl code - Public Const EMGSHDN_OFF As Short = 0 'off - Public Const EMGSHDN_ON As Short = 1 'on - Public Const EMGSHDN_RECOVERY As Short = 2 'recovery - - 'Hot Reset Hold ctrl code - Public Const HRH_OFF As Short = 0 'off - Public Const HRH_ON As Short = 1 'on - - '--------- Constants for Timer/Counter -------------- - 'Counter Mode (8254) - Public Const TOGGLE_OUTPUT As Short = 0 'Toggle output from low to high on terminal count - Public Const PROG_ONE_SHOT As Short = 1 'Programmable one-shot - Public Const RATE_GENERATOR As Short = 2 'Rate generator - Public Const SQ_WAVE_RATE_GENERATOR As Short = 3 'Square wave rate generator - Public Const SOFT_TRIG As Short = 4 'Software-triggered strobe - Public Const HARD_TRIG As Short = 5 'Hardware-triggered strobe - - '------- General Purpose Timer/Counter ----------------- - 'Counter Mode - Public Const General_Counter As Short = &H0s 'general counter - Public Const Pulse_Generation As Short = &H1s 'pulse generation - 'GPTC clock source - Public Const GPTC_CLKSRC_EXT As Short = &H8s - Public Const GPTC_CLKSRC_INT As Short = &H0s - Public Const GPTC_GATESRC_EXT As Short = &H10s - Public Const GPTC_GATESRC_INT As Short = &H0s - Public Const GPTC_UPDOWN_SELECT_EXT As Short = &H20s - Public Const GPTC_UPDOWN_SELECT_SOFT As Short = &H0s - Public Const GPTC_UP_CTR As Short = &H40s - Public Const GPTC_DOWN_CTR As Short = &H0s - Public Const GPTC_ENABLE As Short = &H80s - Public Const GPTC_DISABLE As Short = &H0s - - 'Watchdog Timer - 'Counter action - Public Const WDT_DISARM As Short = 0 - Public Const WDT_ARM As Short = 1 - Public Const WDT_RESTART As Short = 2 - - 'Pattern ID - Public Const INIT_PTN As Short = 0 - Public Const EMGSHDN_PTN As Short = 1 - - 'Pattern ID for 7442 - Public Const INIT_PTN_CH0 As Short = 0 - Public Const INIT_PTN_CH1 As Short = 1 - Public Const SAFTOUT_PTN_CH0 As Short = 4 - Public Const SAFTOUT_PTN_CH1 As Short = 5 - - '16-bit binary or 4-decade BCD counter - Public Const BIN As Short = 0 - Public Const BCD As Short = 1 - - Declare Function WaitForSingleObject Lib "kernel32" (ByVal hHandle As Integer, ByVal dwMilliseconds As Integer) As Integer - Public Delegate Sub CallbackDelegate() - - '------------------------------------------------------------------- - ' PCIS-DASK Function prototype - '-----------------------------------------------------------------*/ - Declare Function Register_Card Lib "Pci-Dask.dll" (ByVal cardType As Short, ByVal card_num As Short) As Short - Declare Function Release_Card Lib "Pci-Dask.dll" (ByVal CardNumber As Short) As Short - Declare Function GetActualRate Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal SampleRate As Double, ByRef ActualRate As Double) As Short - Declare Function GetCardType Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByRef cardType As Short) As Short - Declare Function GetBaseAddr Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByRef BaseAddr As Integer, ByRef BaseAddr2 As Integer) As Short - Declare Function GetLCRAddr Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByRef LcrAddr As Integer) As Short - Declare Function GetCardIndexFromID Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByRef cardType As Short, ByRef cardIndex As Short) As Short - Declare Function EMGShutDownControl Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal ctrl As Byte) As Short - Declare Function EMGShutDownStatus Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByRef ctrl As Byte) As Short - Declare Function HotResetHoldControl Lib "Pci-Dask.dll" (ByVal wCardNumber As Short, ByVal Enable As Byte) As Short - Declare Function HotResetHoldStatus Lib "Pci-Dask.dll" (ByVal wCardNumber As Short, ByRef sts As Byte) As Short - Declare Function SetInitPattern Lib "Pci-Dask.dll" (ByVal wCardNumber As Short, ByVal patID As Byte, ByVal pattern As Integer) As Short - Declare Function GetInitPattern Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal patID As Byte, ByRef pattern As Integer) As Short - Declare Function IdentifyLED_Control Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal ctrl As Byte) As Short - - 'AI Functions - Declare Function AI_9111_Config Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal TrigSource As Short, ByVal TrgMode As Short, ByVal wTraceCnt As Short) As Short - Declare Function AI_9112_Config Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal TrigSource As Short) As Short - Declare Function AI_9113_Config Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal TrigSource As Short) As Short - Declare Function AI_9114_Config Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal TrigSource As Short) As Short - Declare Function AI_9114_PreTrigConfig Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal PreTrgEn As Short, ByVal TraceCnt As Short) As Short - Declare Function AI_9116_Config Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal ConfigCtrl As Short, ByVal TrigCtrl As Short, ByVal PostCnt As Short, ByVal MCnt As Short, ByVal ReTrgCnt As Short) As Short - Declare Function AI_9118_Config Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal wModeCtrl As Short, ByVal wFunCtrl As Short, ByVal wBurstCnt As Short, ByVal wPostCnt As Short) As Short - Declare Function AI_9812_Config Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal wTrgMode As Short, ByVal wTrgSrc As Short, ByVal wTrgPol As Short, ByVal wClkSel As Short, ByVal wTrgLevel As Short, ByVal wPostCnt As Short) As Short - Declare Function AI_9116_CounterInterval Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal ScanIntrv As Integer, ByVal SampIntrv As Integer) As Short - Declare Function AI_9812_SetDiv Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal pacerVal As Integer) As Short - Declare Function AI_AsyncCheck Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByRef Stopped As Byte, ByRef AccessCnt As Integer) As Short - Declare Function AI_AsyncClear Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByRef AccessCnt As Integer) As Short - Declare Function AI_AsyncDblBufferHalfReady Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByRef HalfReady As Byte, ByRef StopFlag As Byte) As Short - Declare Function AI_AsyncDblBufferMode Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal Enable As Byte) As Short - Declare Function AI_AsyncDblBufferTransfer Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByRef Buffer As Short) As Short - Declare Function AI_ContReadChannel Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal Channel As Short, ByVal AdRange As Short, ByRef Buffer As Short, ByVal ReadCount As Integer, ByVal SampleRate As Double, ByVal SyncMode As Short) As Short - Declare Function AI_ContScanChannels Lib "Pci-Dask.dll" (ByVal wCardNumber As Short, ByVal wChannel As Short, ByVal wAdRange As Short, ByRef pwBuffer As Short, ByVal dwReadCount As Integer, ByVal SampleRate As Double, ByVal SyncMode As Short) As Short - Declare Function AI_ContReadMultiChannels Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal NumChans As Short, ByRef chans As Short, ByRef AdRanges As Short, ByRef Buffer As Short, ByVal ReadCount As Integer, ByVal SampleRate As Double, ByVal SyncMode As Short) As Short - Declare Function AI_ContReadChannelToFile Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal Channel As Short, ByVal AdRange As Short, ByVal FileName As String, ByVal ReadCount As Integer, ByVal SampleRate As Double, ByVal SyncMode As Short) As Short - Declare Function AI_ContScanChannelsToFile Lib "Pci-Dask.dll" (ByVal wCardNumber As Short, ByVal wChannel As Short, ByVal wAdRange As Short, ByVal FileName As String, ByVal dwReadCount As Integer, ByVal SampleRate As Double, ByVal SyncMode As Short) As Short - Declare Function AI_ContReadMultiChannelsToFile Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal NumChans As Short, ByRef chans As Short, ByRef AdRanges As Short, ByVal FileName As String, ByVal ReadCount As Integer, ByVal SampleRate As Double, ByVal SyncMode As Short) As Short - Declare Function AI_ContStatus Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByRef Status As Short) As Short - Declare Function AI_InitialMemoryAllocated Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByRef MemSize As Integer) As Short - Declare Function AI_ReadChannel Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal Channel As Short, ByVal AdRange As Short, ByRef Value As Short) As Short - Declare Function AI_VReadChannel Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal Channel As Short, ByVal AdRange As Short, ByRef Voltage As Double) As Short - Declare Function AI_VoltScale Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal AdRange As Short, ByVal reading As Short, ByRef Voltage As Double) As Short - Declare Function AI_ContVScale Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal AdRange As Short, ByRef readingArray As UShort, ByRef voltageArray As Double, ByVal Count As Integer) As Short - Declare Function AI_AsyncDblBufferOverrun Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal op As Short, ByRef overrunFlag As Short) As Short - Declare Function AI_EventCallBack Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal Mode As Short, ByVal EventType As Short, ByVal callbackAddr As CallbackDelegate) As Short - - 'AO Functions - Declare Function AO_6208A_Config Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal V2AMode As Short) As Short - Declare Function AO_6308A_Config Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal V2AMode As Short) As Short - Declare Function AO_6308V_Config Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal Channel As Short, ByVal OutputPolarity As Short, ByVal refVoltage As Double) As Short - Declare Function AO_9111_Config Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal OutputPolarity As Short) As Short - Declare Function AO_9112_Config Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal Channel As Short, ByVal refVoltage As Double) As Short - Declare Function AO_WriteChannel Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal Channel As Short, ByVal Value As Short) As Short - Declare Function AO_VWriteChannel Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal Channel As Short, ByVal Voltage As Double) As Short - Declare Function AO_VoltScale Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal Channel As Short, ByVal Voltage As Double, ByRef binValue As Short) As Short - Declare Function AO_SimuWriteChannel Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal wGroup As Short, ByRef valueArray As Short) As Short - Declare Function AO_SimuVWriteChannel Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal wGroup As Short, ByRef voltageArray As Double) As Short - - 'DI Functions - Declare Function DI_7200_Config Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal TrigSource As Short, ByVal wExtTrigEn As Short, ByVal wTrigPol As Short, ByVal wI_REQ_Pol As Short) As Short - Declare Function DI_7300A_Config Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal PortWidth As Short, ByVal TrigSource As Short, ByVal WaitStatus As Short, ByVal Terminaor As Short, ByVal I_REQ_Pol As Short, ByVal clear_fifo As Byte, ByVal disable_di As Byte) As Short - Declare Function DI_7300B_Config Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal PortWidth As Short, ByVal TrigSource As Short, ByVal WaitStatus As Short, ByVal Terminator As Short, ByVal I_Cntrl_Pol As Short, ByVal clear_fifo As Byte, ByVal disable_di As Byte) As Short - Declare Function DI_AsyncCheck Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByRef Stopped As Byte, ByRef AccessCnt As Integer) As Short - Declare Function DI_AsyncClear Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByRef AccessCnt As Integer) As Short - Declare Function DI_AsyncDblBufferHalfReady Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByRef HalfReady As Byte) As Short - Declare Function DI_AsyncDblBufferMode Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal Enable As Byte) As Short - Declare Function DI_AsyncDblBufferTransfer Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByRef Buffer As Byte) As Short - Declare Function DI_AsyncDblBufferTransfer Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByRef Buffer As Short) As Short - Declare Function DI_AsyncDblBufferTransfer Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByRef Buffer As UInt32) As Short - Declare Function DI_ContMultiBufferSetup Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByRef Buffer As Byte, ByVal ReadCount As Integer, ByRef BufferId As Short) As Short - Declare Function DI_ContMultiBufferSetup Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByRef Buffer As Short, ByVal ReadCount As Integer, ByRef BufferId As Short) As Short - Declare Function DI_ContMultiBufferSetup Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByRef Buffer As UInt32, ByVal ReadCount As Integer, ByRef BufferId As Short) As Short - Declare Function DI_ContMultiBufferStart Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal Port As Short, ByVal SampleRate As Double) As Short - Declare Function DI_AsyncMultiBufferNextReady Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByRef NextReady As Byte, ByRef BufferId As Short) As Short - Declare Function DI_ContReadPort Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal Port As Integer, ByRef Buffer As Byte, ByVal ReadCount As Integer, ByVal SampleRate As Double, ByVal SyncMode As Short) As Short - Declare Function DI_ContReadPort Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal Port As Integer, ByRef Buffer As UShort, ByVal ReadCount As Integer, ByVal SampleRate As Double, ByVal SyncMode As Short) As Short - Declare Function DI_ContReadPort Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal Port As Integer, ByRef Buffer As UInt32, ByVal ReadCount As Integer, ByVal SampleRate As Double, ByVal SyncMode As Short) As Short - Declare Function DI_ContReadPortToFile Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal Port As Short, ByVal FileName As String, ByVal ReadCount As Integer, ByVal SampleRate As Double, ByVal SyncMode As Short) As Short - Declare Function DI_ContStatus Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByRef Status As Short) As Short - Declare Function DI_InitialMemoryAllocated Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByRef MemSize As Integer) As Short - Declare Function DI_ReadPort Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal Port As Short, ByRef Value As Integer) As Short - Declare Function DI_ReadLine Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal Port As Short, ByVal Line As Short, ByRef Value As Short) As Short - Declare Function DI_AsyncDblBufferOverrun Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal op As Short, ByRef overrunFlag As Short) As Short - Declare Function DI_EventCallBack Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal Mode As Short, ByVal EventType As Short, ByVal callbackAddr As Integer) As Short - - 'DO Functions - Declare Function DO_7200_Config Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal TrigSource As Short, ByVal wOutReqEn As Short, ByVal wOutTrigSig As Short) As Short - Declare Function DO_7300A_Config Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal PortWidth As Short, ByVal TrigSource As Short, ByVal WaitStatus As Short, ByVal Terminaor As Short, ByVal O_REQ_Pol As Short) As Short - Declare Function DO_7300B_Config Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal PortWidth As Short, ByVal TrigSource As Short, ByVal WaitStatus As Short, ByVal Terminator As Short, ByVal O_Cntrl_Pol As Short, ByVal FifoThreshold As Integer) As Short - Declare Function DO_AsyncCheck Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByRef Stopped As Byte, ByRef AccessCnt As Integer) As Short - Declare Function DO_AsyncClear Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByRef AccessCnt As Integer) As Short - Declare Function DO_ContWritePort Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal Port As Integer, ByRef Buffer As Byte, ByVal WriteCount As Integer, ByVal Iterations As Integer, ByVal SampleRate As Double, ByVal SyncMode As Short) As Short - Declare Function DO_ContWritePort Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal Port As Integer, ByRef Buffer As UShort, ByVal WriteCount As Integer, ByVal Iterations As Integer, ByVal SampleRate As Double, ByVal SyncMode As Short) As Short - Declare Function DO_ContWritePort Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal Port As Integer, ByRef Buffer As UInt32, ByVal WriteCount As Integer, ByVal Iterations As Integer, ByVal SampleRate As Double, ByVal SyncMode As Short) As Short - Declare Function DO_ContStatus Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByRef Status As Short) As Short - Declare Function DO_InitialMemoryAllocated Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByRef MemSize As Integer) As Short - Declare Function DO_PGStart Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByRef Buffer As Byte, ByVal WriteCount As Integer, ByVal SampleRate As Double) As Short - Declare Function DO_PGStart Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByRef Buffer As Short, ByVal WriteCount As Integer, ByVal SampleRate As Double) As Short - Declare Function DO_PGStart Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByRef Buffer As UInt32, ByVal WriteCount As Integer, ByVal SampleRate As Double) As Short - Declare Function DO_PGStop Lib "Pci-Dask.dll" (ByVal CardNumber As Short) As Short - Declare Function DO_WritePort Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal Port As Short, ByVal Value As Integer) As Short - Declare Function DO_WriteLine Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal Port As Short, ByVal Line As Short, ByVal Value As Short) As Short - Declare Function DO_SimuWritePort Lib "Pci-Dask.dll" (ByVal wCardNumber As Short, ByVal wNumChans As Short, ByRef pdwBuffer As Integer) As Short - Declare Function DO_ReadLine Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal Port As Short, ByVal Line As Short, ByRef Value As Short) As Short - Declare Function DO_ReadPort Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal Port As Short, ByRef Value As Integer) As Short - Declare Function EDO_9111_Config Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal wEDO_Fun As Short) As Short - Declare Function DO_WriteExtTrigLine Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal Value As Short) As Short - Declare Function DO_ContMultiBufferSetup Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByRef Buffer As Byte, ByVal WriteCount As Integer, ByRef BufferId As Short) As Short - Declare Function DO_ContMultiBufferSetup Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByRef Buffer As Short, ByVal WriteCount As Integer, ByRef BufferId As Short) As Short - Declare Function DO_ContMultiBufferSetup Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByRef Buffer As UInt32, ByVal WriteCount As Integer, ByRef BufferId As Short) As Short - Declare Function DO_ContMultiBufferStart Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal Port As Short, ByVal SampleRate As Double) As Short - Declare Function DO_AsyncMultiBufferNextReady Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByRef NextReady As Byte, ByRef BufferId As Short) As Short - Declare Function DO_EventCallBack Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal Mode As Short, ByVal EventType As Short, ByVal callbackAddr As Integer) As Short - - 'DIO Functions - Declare Function DIO_PortConfig Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal Port As Short, ByVal Direction As Short) As Short - Declare Function DIO_LinesConfig Lib "Pci-Dask.dll" (ByVal wCardNumber As Short, ByVal wPort As Short, ByVal wLinesdirmap As Short) As Short - Declare Function DIO_LineConfig Lib "Pci-Dask.dll" (ByVal wCardNumber As Short, ByVal wPort As Short, ByVal wLine As Short, ByVal wDirection As Short) As Short - Declare Function DIO_SetDualInterrupt Lib "Pci-Dask.dll" (ByVal wCardNumber As Short, ByVal wInt1Mode As Short, ByVal wInt2Mode As Short, ByRef hEvent As Integer) As Short - Declare Function DIO_SetCOSInterrupt Lib "Pci-Dask.dll" (ByVal wCardNumber As Short, ByVal Port As Short, ByVal ctlA As Short, ByVal ctlB As Short, ByVal ctlC As Short) As Short - Declare Function DIO_GetCOSLatchData Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByRef CosLData As Integer) As Short - Declare Function DIO_SetCOSInterrupt32 Lib "Pci-Dask.dll" (ByVal wCardNumber As Short, ByVal Port As Byte, ByVal ctl As Integer, ByRef hEvent As Integer, ByVal bManualReset As Byte) As Short - Declare Function DIO_GetCOSLatchData32 Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByRef CosLData As Integer) As Short - Declare Function DIO_INT_EventMessage Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal Mode As Short, ByVal hEvent As Integer, ByVal windowHandle As Integer, ByVal message As Integer, ByVal callbackAddr As CallbackDelegate) As Short - Declare Function DIO_INT1_EventMessage Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal Int1Mode As Short, ByVal windowHandle As Integer, ByVal message As Integer, ByVal callbackAddr As CallbackDelegate) As Short - Declare Function DIO_INT2_EventMessage Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal Int2Mode As Short, ByVal windowHandle As Integer, ByVal message As Integer, ByVal callbackAddr As CallbackDelegate) As Short - Declare Function DIO_7300SetInterrupt Lib "Pci-Dask.dll" (ByVal wCardNumber As Short, ByVal AuxDIEn As Short, ByVal T2En As Short, ByRef hEvent As Integer) As Short - Declare Function DIO_AUXDI_EventMessage Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal AuxDIEn As Short, ByVal windowHandle As Integer, ByVal message As Integer, ByVal callbackAddr As CallbackDelegate) As Short - Declare Function DIO_T2_EventMessage Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal T2En As Short, ByVal windowHandle As Integer, ByVal message As Integer, ByVal callbackAddr As CallbackDelegate) As Short - - 'Counter Functions - Declare Function CTR_Setup Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal Ctr As Short, ByVal Mode As Short, ByVal Count As Integer, ByVal BinBcd As Short) As Short - Declare Function CTR_Clear Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal Ctr As Short, ByVal State As Short) As Short - Declare Function CTR_Read Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal Ctr As Short, ByRef Value As Integer) As Short - Declare Function CTR_Update Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal Ctr As Short, ByVal Count As Integer) As Short - Declare Function CTR_8554_ClkSrc_Config Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal Ctr As Short, ByVal ClockSource As Short) As Short - Declare Function CTR_8554_CK1_Config Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal ClockSource As Short) As Short - Declare Function CTR_8554_Debounce_Config Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal DebounceClock As Short) As Short - Declare Function GCTR_Setup Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal wGCtr As Short, ByVal wGCtrCtrl As Short, ByVal dwCount As Integer) As Short - Declare Function GCTR_Clear Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal wGCtr As Short) As Short - Declare Function GCTR_Read Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal wGCtr As Short, ByRef pValue As Integer) As Short - Declare Function WDT_Setup Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal wCtr As Short, ByVal ovflowSec As Single, ByRef actualSec As Single, ByRef hEvent As Integer) As Short - Declare Function WDT_Control Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal wCtr As Short, ByVal action As Short) As Short - Declare Function WDT_Status Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal wCtr As Short, ByRef pValue As Integer) As Short - Declare Function WDT_Reload Lib "Pci-Dask.dll" (ByVal wCardNumber As Short, ByVal ovflowSec As Single, ByRef actualSec As Single) As Short - - Declare Function AI_GetEvent Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByRef hEvent As Integer) As Short - Declare Function AO_GetEvent Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByRef hEvent As Integer) As Short - Declare Function DI_GetEvent Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByRef hEvent As Integer) As Short - Declare Function DO_GetEvent Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByRef hEvent As Integer) As Short -End Module \ No newline at end of file diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/.NET/VB.NET/7300/D7300_DO_Single_Buffer_Sync/D7300_DO_Single_Buffer_Sync/Form1.Designer.vb b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/.NET/VB.NET/7300/D7300_DO_Single_Buffer_Sync/D7300_DO_Single_Buffer_Sync/Form1.Designer.vb deleted file mode 100644 index b8e5c5a..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/.NET/VB.NET/7300/D7300_DO_Single_Buffer_Sync/D7300_DO_Single_Buffer_Sync/Form1.Designer.vb +++ /dev/null @@ -1,47 +0,0 @@ - _ -Partial Class Form1 - Inherits System.Windows.Forms.Form - - 'Form 覆寫 Dispose 以清除元件清單。 - _ - Protected Overrides Sub Dispose(ByVal disposing As Boolean) - If disposing AndAlso components IsNot Nothing Then - components.Dispose() - End If - MyBase.Dispose(disposing) - End Sub - - '為 Windows Form 設計工具的必要項 - Private components As System.ComponentModel.IContainer - - '注意: 以下為 Windows Form 設計工具所需的程序 - '可以使用 Windows Form 設計工具進行修改。 - '請不要使用程式碼編輯器進行修改。 - _ - Private Sub InitializeComponent() - Me.Button1 = New System.Windows.Forms.Button - Me.SuspendLayout() - ' - 'Button1 - ' - Me.Button1.Location = New System.Drawing.Point(79, 27) - Me.Button1.Name = "Button1" - Me.Button1.Size = New System.Drawing.Size(118, 50) - Me.Button1.TabIndex = 0 - Me.Button1.Text = "Start" - Me.Button1.UseVisualStyleBackColor = True - ' - 'Form1 - ' - Me.AutoScaleDimensions = New System.Drawing.SizeF(6.0!, 12.0!) - Me.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font - Me.ClientSize = New System.Drawing.Size(275, 114) - Me.Controls.Add(Me.Button1) - Me.Name = "Form1" - Me.Text = "Form1" - Me.ResumeLayout(False) - - End Sub - Friend WithEvents Button1 As System.Windows.Forms.Button - -End Class diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/.NET/VB.NET/7300/D7300_DO_Single_Buffer_Sync/D7300_DO_Single_Buffer_Sync/Form1.resx b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/.NET/VB.NET/7300/D7300_DO_Single_Buffer_Sync/D7300_DO_Single_Buffer_Sync/Form1.resx deleted file mode 100644 index 19dc0dd..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/.NET/VB.NET/7300/D7300_DO_Single_Buffer_Sync/D7300_DO_Single_Buffer_Sync/Form1.resx +++ /dev/null @@ -1,120 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - text/microsoft-resx - - - 2.0 - - - System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - \ No newline at end of file diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/.NET/VB.NET/7300/D7300_DO_Single_Buffer_Sync/D7300_DO_Single_Buffer_Sync/Form1.vb b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/.NET/VB.NET/7300/D7300_DO_Single_Buffer_Sync/D7300_DO_Single_Buffer_Sync/Form1.vb deleted file mode 100644 index e67cab7..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/.NET/VB.NET/7300/D7300_DO_Single_Buffer_Sync/D7300_DO_Single_Buffer_Sync/Form1.vb +++ /dev/null @@ -1,40 +0,0 @@ -Public Class Form1 - Dim m_dev As Short - Dim data_buffer(999) As UShort - - Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load - m_dev = Register_Card(PCI_7300A_RevB, 0) - If (m_dev < 0) Then - MessageBox.Show("DO_7300B_Config error!") - End If - End Sub - - Private Sub Form1_FormClosing(ByVal sender As Object, ByVal e As System.Windows.Forms.FormClosingEventArgs) Handles Me.FormClosing - Dim ret As Short - If (m_dev >= 0) Then - ret = DASK.Release_Card(m_dev) - End If - End Sub - - Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click - Dim i As Integer - Dim err As Short - Dim port As Short - - For i = 0 To 999 - data_buffer(i) = i - Next - - err = DO_7300B_Config(m_dev, 16, DASK.TRIG_INT_PACER, DASK.P7300_WAIT_NO, DASK.P7300_TERM_OFF, 0, &H29810) - If (err <> 0) Then - MessageBox.Show("DO_7300B_Config error!") - Return - End If - port = 0 - err = DO_ContWritePort(m_dev, 0, data_buffer(0), 1000, 10, 10000, SYNCH_OP) - If (err <> 0) Then - MessageBox.Show("DO_ContWritePort error!") - Return - End If - End Sub -End Class diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/.NET/VB.NET/7300/D7300_DO_Single_Buffer_Sync/D7300_DO_Single_Buffer_Sync/My Project/Application.Designer.vb b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/.NET/VB.NET/7300/D7300_DO_Single_Buffer_Sync/D7300_DO_Single_Buffer_Sync/My Project/Application.Designer.vb deleted file mode 100644 index aa394e3..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/.NET/VB.NET/7300/D7300_DO_Single_Buffer_Sync/D7300_DO_Single_Buffer_Sync/My Project/Application.Designer.vb +++ /dev/null @@ -1,38 +0,0 @@ -'------------------------------------------------------------------------------ -' -' This code was generated by a tool. -' Runtime Version:2.0.50727.42 -' -' Changes to this file may cause incorrect behavior and will be lost if -' the code is regenerated. -' -'------------------------------------------------------------------------------ - -Option Strict On -Option Explicit On - - -Namespace My - - 'NOTE: This file is auto-generated; do not modify it directly. To make changes, - ' or if you encounter build errors in this file, go to the Project Designer - ' (go to Project Properties or double-click the My Project node in - ' Solution Explorer), and make changes on the Application tab. - ' - Partial Friend Class MyApplication - - _ - Public Sub New() - MyBase.New(Global.Microsoft.VisualBasic.ApplicationServices.AuthenticationMode.Windows) - Me.IsSingleInstance = false - Me.EnableVisualStyles = true - Me.SaveMySettingsOnExit = true - Me.ShutDownStyle = Global.Microsoft.VisualBasic.ApplicationServices.ShutdownMode.AfterMainFormCloses - End Sub - - _ - Protected Overrides Sub OnCreateMainForm() - Me.MainForm = Global.D7300_DO_Single_Buffer_Sync.Form1 - End Sub - End Class -End Namespace diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/.NET/VB.NET/7300/D7300_DO_Single_Buffer_Sync/D7300_DO_Single_Buffer_Sync/My Project/Application.myapp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/.NET/VB.NET/7300/D7300_DO_Single_Buffer_Sync/D7300_DO_Single_Buffer_Sync/My Project/Application.myapp deleted file mode 100644 index 1243847..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/.NET/VB.NET/7300/D7300_DO_Single_Buffer_Sync/D7300_DO_Single_Buffer_Sync/My Project/Application.myapp +++ /dev/null @@ -1,11 +0,0 @@ - - - true - Form1 - false - 0 - true - 0 - 0 - true - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/.NET/VB.NET/7300/D7300_DO_Single_Buffer_Sync/D7300_DO_Single_Buffer_Sync/My Project/AssemblyInfo.vb b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/.NET/VB.NET/7300/D7300_DO_Single_Buffer_Sync/D7300_DO_Single_Buffer_Sync/My Project/AssemblyInfo.vb deleted file mode 100644 index 9382b91..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/.NET/VB.NET/7300/D7300_DO_Single_Buffer_Sync/D7300_DO_Single_Buffer_Sync/My Project/AssemblyInfo.vb +++ /dev/null @@ -1,35 +0,0 @@ -Imports System -Imports System.Reflection -Imports System.Runtime.InteropServices - -' 組件的一般資訊是由下列的屬性集控制。 -' 變更這些屬性的值即可修改組件的相關 -' 資訊。 - -' 檢閱組件屬性的值 - - - - - - - - - - -'下列 GUID 為專案公開 (Expose) 至 COM 時所要使用的 typelib ID - - -' 組件的版本資訊是由下列四項值構成: -' -' 主要版本 -' 次要版本 -' 組建編號 -' 修訂編號 -' -' 您可以指定所有的值,也可以依照以下的方式,使用 '*' 將組建和修訂編號 -' 指定為預設值: -' - - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/.NET/VB.NET/7300/D7300_DO_Single_Buffer_Sync/D7300_DO_Single_Buffer_Sync/My Project/Resources.Designer.vb b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/.NET/VB.NET/7300/D7300_DO_Single_Buffer_Sync/D7300_DO_Single_Buffer_Sync/My Project/Resources.Designer.vb deleted file mode 100644 index e57802a..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/.NET/VB.NET/7300/D7300_DO_Single_Buffer_Sync/D7300_DO_Single_Buffer_Sync/My Project/Resources.Designer.vb +++ /dev/null @@ -1,62 +0,0 @@ -'------------------------------------------------------------------------------ -' -' This code was generated by a tool. -' Runtime Version:2.0.50727.42 -' -' Changes to this file may cause incorrect behavior and will be lost if -' the code is regenerated. -' -'------------------------------------------------------------------------------ - -Option Strict On -Option Explicit On - - -Namespace My.Resources - - 'This class was auto-generated by the StronglyTypedResourceBuilder - 'class via a tool like ResGen or Visual Studio. - 'To add or remove a member, edit your .ResX file then rerun ResGen - 'with the /str option, or rebuild your VS project. - ' - ' A strongly-typed resource class, for looking up localized strings, etc. - ' - _ - Friend Module Resources - - Private resourceMan As Global.System.Resources.ResourceManager - - Private resourceCulture As Global.System.Globalization.CultureInfo - - ' - ' Returns the cached ResourceManager instance used by this class. - ' - _ - Friend ReadOnly Property ResourceManager() As Global.System.Resources.ResourceManager - Get - If Object.ReferenceEquals(resourceMan, Nothing) Then - Dim temp As Global.System.Resources.ResourceManager = New Global.System.Resources.ResourceManager("D7300_DO_Single_Buffer_Sync.Resources", GetType(Resources).Assembly) - resourceMan = temp - End If - Return resourceMan - End Get - End Property - - ' - ' Overrides the current thread's CurrentUICulture property for all - ' resource lookups using this strongly typed resource class. - ' - _ - Friend Property Culture() As Global.System.Globalization.CultureInfo - Get - Return resourceCulture - End Get - Set(ByVal value As Global.System.Globalization.CultureInfo) - resourceCulture = value - End Set - End Property - End Module -End Namespace diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/.NET/VB.NET/7300/D7300_DO_Single_Buffer_Sync/D7300_DO_Single_Buffer_Sync/My Project/Resources.resx b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/.NET/VB.NET/7300/D7300_DO_Single_Buffer_Sync/D7300_DO_Single_Buffer_Sync/My Project/Resources.resx deleted file mode 100644 index af7dbeb..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/.NET/VB.NET/7300/D7300_DO_Single_Buffer_Sync/D7300_DO_Single_Buffer_Sync/My Project/Resources.resx +++ /dev/null @@ -1,117 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - text/microsoft-resx - - - 2.0 - - - System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - \ No newline at end of file diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/.NET/VB.NET/7300/D7300_DO_Single_Buffer_Sync/D7300_DO_Single_Buffer_Sync/My Project/Settings.Designer.vb b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/.NET/VB.NET/7300/D7300_DO_Single_Buffer_Sync/D7300_DO_Single_Buffer_Sync/My Project/Settings.Designer.vb deleted file mode 100644 index 8d2134d..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/.NET/VB.NET/7300/D7300_DO_Single_Buffer_Sync/D7300_DO_Single_Buffer_Sync/My Project/Settings.Designer.vb +++ /dev/null @@ -1,73 +0,0 @@ -'------------------------------------------------------------------------------ -' -' This code was generated by a tool. -' Runtime Version:2.0.50727.42 -' -' Changes to this file may cause incorrect behavior and will be lost if -' the code is regenerated. -' -'------------------------------------------------------------------------------ - -Option Strict On -Option Explicit On - - -Namespace My - - _ - Partial Friend NotInheritable Class MySettings - Inherits Global.System.Configuration.ApplicationSettingsBase - - Private Shared defaultInstance As MySettings = CType(Global.System.Configuration.ApplicationSettingsBase.Synchronized(New MySettings), MySettings) - -#Region "My.Settings Auto-Save Functionality" -#If _MyType = "WindowsForms" Then - Private Shared addedHandler As Boolean - - Private Shared addedHandlerLockObject As New Object - - _ - Private Shared Sub AutoSaveSettings(ByVal sender As Global.System.Object, ByVal e As Global.System.EventArgs) - If My.Application.SaveMySettingsOnExit Then - My.Settings.Save() - End If - End Sub -#End If -#End Region - - Public Shared ReadOnly Property [Default]() As MySettings - Get - -#If _MyType = "WindowsForms" Then - If Not addedHandler Then - SyncLock addedHandlerLockObject - If Not addedHandler Then - AddHandler My.Application.Shutdown, AddressOf AutoSaveSettings - addedHandler = True - End If - End SyncLock - End If -#End If - Return defaultInstance - End Get - End Property - End Class -End Namespace - -Namespace My - - _ - Friend Module MySettingsProperty - - _ - Friend ReadOnly Property Settings() As Global.D7300_DO_Single_Buffer_Sync.My.MySettings - Get - Return Global.D7300_DO_Single_Buffer_Sync.My.MySettings.Default - End Get - End Property - End Module -End Namespace diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/.NET/VB.NET/7300/D7300_DO_Single_Buffer_Sync/D7300_DO_Single_Buffer_Sync/My Project/Settings.settings b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/.NET/VB.NET/7300/D7300_DO_Single_Buffer_Sync/D7300_DO_Single_Buffer_Sync/My Project/Settings.settings deleted file mode 100644 index 85b890b..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/.NET/VB.NET/7300/D7300_DO_Single_Buffer_Sync/D7300_DO_Single_Buffer_Sync/My Project/Settings.settings +++ /dev/null @@ -1,7 +0,0 @@ - - - - - - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/.NET/VB.NET/9112/D9112_AI_Single_Buffer_Callback/D9112_AI_Single_Buffer_Callback.sln b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/.NET/VB.NET/9112/D9112_AI_Single_Buffer_Callback/D9112_AI_Single_Buffer_Callback.sln deleted file mode 100644 index 6a669ea..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/.NET/VB.NET/9112/D9112_AI_Single_Buffer_Callback/D9112_AI_Single_Buffer_Callback.sln +++ /dev/null @@ -1,20 +0,0 @@ - -Microsoft Visual Studio Solution File, Format Version 9.00 -# Visual Studio 2005 -Project("{F184B08F-C81C-45F6-A57F-5ABD9991F28F}") = "D9112_AI_Single_Buffer_Callback", "D9112_AI_Single_Buffer_Callback\D9112_AI_Single_Buffer_Callback.vbproj", "{B0919A78-31A8-496D-BCB8-2A0A62C83EAB}" -EndProject -Global - GlobalSection(SolutionConfigurationPlatforms) = preSolution - Debug|Any CPU = Debug|Any CPU - Release|Any CPU = Release|Any CPU - EndGlobalSection - GlobalSection(ProjectConfigurationPlatforms) = postSolution - {B0919A78-31A8-496D-BCB8-2A0A62C83EAB}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {B0919A78-31A8-496D-BCB8-2A0A62C83EAB}.Debug|Any CPU.Build.0 = Debug|Any CPU - {B0919A78-31A8-496D-BCB8-2A0A62C83EAB}.Release|Any CPU.ActiveCfg = Release|Any CPU - {B0919A78-31A8-496D-BCB8-2A0A62C83EAB}.Release|Any CPU.Build.0 = Release|Any CPU - EndGlobalSection - GlobalSection(SolutionProperties) = preSolution - HideSolutionNode = FALSE - EndGlobalSection -EndGlobal diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/.NET/VB.NET/9112/D9112_AI_Single_Buffer_Callback/D9112_AI_Single_Buffer_Callback/D9112_AI_Single_Buffer_Callback.vbproj b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/.NET/VB.NET/9112/D9112_AI_Single_Buffer_Callback/D9112_AI_Single_Buffer_Callback/D9112_AI_Single_Buffer_Callback.vbproj deleted file mode 100644 index ac6460e..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/.NET/VB.NET/9112/D9112_AI_Single_Buffer_Callback/D9112_AI_Single_Buffer_Callback/D9112_AI_Single_Buffer_Callback.vbproj +++ /dev/null @@ -1,135 +0,0 @@ - - - - Debug - AnyCPU - 8.0.50727 - 2.0 - {B0919A78-31A8-496D-BCB8-2A0A62C83EAB} - WinExe - D9112_AI_Single_Buffer_Callback.My.MyApplication - D9112_AI_Single_Buffer_Callback - D9112_AI_Single_Buffer_Callback - WindowsForms - - - true - full - true - true - bin\Debug\ - D9112_AI_Single_Buffer_Callback.xml - 42016,41999,42017,42018,42019,42032,42036,42020,42021,42022 - x86 - - - pdbonly - false - true - true - bin\Release\ - D9112_AI_Single_Buffer_Callback.xml - 42016,41999,42017,42018,42019,42032,42036,42020,42021,42022 - x86 - - - - - - - - - - - - - - - - - - - - - - - Form - - - Form1.vb - Form - - - - True - Application.myapp - - - True - True - Resources.resx - - - True - Settings.settings - True - - - - - Designer - Form1.vb - - - VbMyResourcesResXFileCodeGenerator - Resources.Designer.vb - My.Resources - Designer - - - - - MyApplicationCodeGenerator - Application.Designer.vb - - - SettingsSingleFileGenerator - My - Settings.Designer.vb - - - - - {5CB6BA63-F26A-11D2-BA6D-0080AD747B35} - 2 - 4 - 0 - aximp - False - - - {5CB6BA63-F26A-11D2-BA6D-0080AD747B35} - 2 - 4 - 0 - tlbimp - False - - - {00020430-0000-0000-C000-000000000046} - 2 - 0 - 0 - primary - False - - - - - \ No newline at end of file diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/.NET/VB.NET/9112/D9112_AI_Single_Buffer_Callback/D9112_AI_Single_Buffer_Callback/DASK.vb b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/.NET/VB.NET/9112/D9112_AI_Single_Buffer_Callback/D9112_AI_Single_Buffer_Callback/DASK.vb deleted file mode 100644 index 71a8ec6..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/.NET/VB.NET/9112/D9112_AI_Single_Buffer_Callback/D9112_AI_Single_Buffer_Callback/DASK.vb +++ /dev/null @@ -1,655 +0,0 @@ -Option Strict Off -Option Explicit On -Module DASK - - 'ADLink PCI Card Type - Public Const PCI_6208V As Short = 1 - Public Const PCI_6208A As Short = 2 - Public Const PCI_6308V As Short = 3 - Public Const PCI_6308A As Short = 4 - Public Const PCI_7200 As Short = 5 - Public Const PCI_7230 As Short = 6 - Public Const PCI_7233 As Short = 7 - Public Const PCI_7234 As Short = 8 - Public Const PCI_7248 As Short = 9 - Public Const PCI_7249 As Short = 10 - Public Const PCI_7250 As Short = 11 - Public Const PCI_7252 As Short = 12 - Public Const PCI_7296 As Short = 13 - Public Const PCI_7300A_RevA As Short = 14 - Public Const PCI_7300A_RevB As Short = 15 - Public Const PCI_7432 As Short = 16 - Public Const PCI_7433 As Short = 17 - Public Const PCI_7434 As Short = 18 - Public Const PCI_8554 As Short = 19 - Public Const PCI_9111DG As Short = 20 - Public Const PCI_9111HR As Short = 21 - Public Const PCI_9112 As Short = 22 - Public Const PCI_9113 As Short = 23 - Public Const PCI_9114DG As Short = 24 - Public Const PCI_9114HG As Short = 25 - Public Const PCI_9118DG As Short = 26 - Public Const PCI_9118HG As Short = 27 - Public Const PCI_9118HR As Short = 28 - Public Const PCI_9810 As Short = 29 - Public Const PCI_9812 As Short = 30 - Public Const PCI_7396 As Short = 31 - Public Const PCI_9116 As Short = 32 - Public Const PCI_7256 As Short = 33 - Public Const PCI_7258 As Short = 34 - Public Const PCI_7260 As Short = 35 - Public Const PCI_7452 As Short = 36 - Public Const PCI_7442 As Short = 37 - - Public Const MAX_CARD As Short = 32 - - 'Error Code - Public Const NoError As Short = 0 - Public Const ErrorUnknownCardType As Short = -1 - Public Const ErrorInvalidCardNumber As Short = -2 - Public Const ErrorTooManyCardRegistered As Short = -3 - Public Const ErrorCardNotRegistered As Short = -4 - Public Const ErrorFuncNotSupport As Short = -5 - Public Const ErrorInvalidIoChannel As Short = -6 - Public Const ErrorInvalidAdRange As Short = -7 - Public Const ErrorContIoNotAllowed As Short = -8 - Public Const ErrorDiffRangeNotSupport As Short = -9 - Public Const ErrorLastChannelNotZero As Short = -10 - Public Const ErrorChannelNotDescending As Short = -11 - Public Const ErrorChannelNotAscending As Short = -12 - Public Const ErrorOpenDriverFailed As Short = -13 - Public Const ErrorOpenEventFailed As Short = -14 - Public Const ErrorTransferCountTooLarge As Short = -15 - Public Const ErrorNotDoubleBufferMode As Short = -16 - Public Const ErrorInvalidSampleRate As Short = -17 - Public Const ErrorInvalidCounterMode As Short = -18 - Public Const ErrorInvalidCounter As Short = -19 - Public Const ErrorInvalidCounterState As Short = -20 - Public Const ErrorInvalidBinBcdParam As Short = -21 - Public Const ErrorBadCardType As Short = -22 - Public Const ErrorInvalidDaRange As Short = -23 - Public Const ErrorAdTimeOut As Short = -24 - Public Const ErrorNoAsyncAI As Short = -25 - Public Const ErrorNoAsyncAO As Short = -26 - Public Const ErrorNoAsyncDI As Short = -27 - Public Const ErrorNoAsyncDO As Short = -28 - Public Const ErrorNotInputPort As Short = -29 - Public Const ErrorNotOutputPort As Short = -30 - Public Const ErrorInvalidDioPort As Short = -31 - Public Const ErrorInvalidDioLine As Short = -32 - Public Const ErrorContIoActive As Short = -33 - Public Const ErrorDblBufModeNotAllowed As Short = -34 - Public Const ErrorConfigFailed As Short = -35 - Public Const ErrorInvalidPortDirection As Short = -36 - Public Const ErrorBeginThreadError As Short = -37 - Public Const ErrorInvalidPortWidth As Short = -38 - Public Const ErrorInvalidCtrSource As Short = -39 - Public Const ErrorOpenFile As Short = -40 - Public Const ErrorAllocateMemory As Short = -41 - Public Const ErrorDaVoltageOutOfRange As Short = -42 - Public Const ErrorDaExtRefNotAllowed As Short = -43 - Public Const ErrorDIODataWidthError As Short = -44 - Public Const ErrorTaskCodeError As Short = -45 - Public Const ErrortriggercountError As Short = -46 - Public Const ErrorInvalidTriggerMode As Short = -47 - Public Const ErrorInvalidTriggerType As Short = -48 - Public Const ErrorInvalidCounterValue As Short = -50 - Public Const ErrorInvalidEventHandle As Short = -60 - Public Const ErrorNoMessageAvailable As Short = -61 - Public Const ErrorEventMessgaeNotAdded As Short = -62 - - 'Error code for driver API - Public Const ErrorConfigIoctl As Short = -201 - Public Const ErrorAsyncSetIoctl As Short = -202 - Public Const ErrorDBSetIoctl As Short = -203 - Public Const ErrorDBHalfReadyIoctl As Short = -204 - Public Const ErrorContOPIoctl As Short = -205 - Public Const ErrorContStatusIoctl As Short = -206 - Public Const ErrorPIOIoctl As Short = -207 - Public Const ErrorDIntSetIoctl As Short = -208 - Public Const ErrorWaitEvtIoctl As Short = -209 - Public Const ErrorOpenEvtIoctl As Short = -210 - Public Const ErrorCOSIntSetIoctl As Short = -211 - Public Const ErrorMemMapIoctl As Short = -212 - Public Const ErrorMemUMapSetIoctl As Short = -213 - Public Const ErrorCTRIoctl As Short = -214 - Public Const ErrorGetResIoctl As Short = -215 - - 'Synchronous Mode - Public Const SYNCH_OP As Short = 1 - Public Const ASYNCH_OP As Short = 2 - - 'AD Range - Public Const AD_B_10_V As Short = 1 - Public Const AD_B_5_V As Short = 2 - Public Const AD_B_2_5_V As Short = 3 - Public Const AD_B_1_25_V As Short = 4 - Public Const AD_B_0_625_V As Short = 5 - Public Const AD_B_0_3125_V As Short = 6 - Public Const AD_B_0_5_V As Short = 7 - Public Const AD_B_0_05_V As Short = 8 - Public Const AD_B_0_005_V As Short = 9 - Public Const AD_B_1_V As Short = 10 - Public Const AD_B_0_1_V As Short = 11 - Public Const AD_B_0_01_V As Short = 12 - Public Const AD_B_0_001_V As Short = 13 - Public Const AD_U_20_V As Short = 14 - Public Const AD_U_10_V As Short = 15 - Public Const AD_U_5_V As Short = 16 - Public Const AD_U_2_5_V As Short = 17 - Public Const AD_U_1_25_V As Short = 18 - Public Const AD_U_1_V As Short = 19 - Public Const AD_U_0_1_V As Short = 20 - Public Const AD_U_0_01_V As Short = 21 - Public Const AD_U_0_001_V As Short = 22 - - 'Trigger Source - Public Const TRIG_SOFTWARE As Short = 0 - Public Const TRIG_INT_PACER As Short = 1 - Public Const TRIG_EXT_STROBE As Short = 2 - Public Const TRIG_HANDSHAKE As Short = 3 - Public Const TRIG_CLK_10MHZ As Short = 4 'PCI-7300A - Public Const TRIG_CLK_20MHZ As Short = 5 'PCI-7300A - Public Const TRIG_DO_CLK_TIMER_ACK As Short = 6 'PCI-7300A Rev. B - Public Const TRIG_DO_CLK_10M_ACK As Short = 7 'PCI-7300A Rev. B - Public Const TRIG_DO_CLK_20M_ACK As Short = 8 'PCI-7300A Rev. B - - 'Virtual sampling rate for using external clock as the clock source - Public Const CLKSRC_EXT_SampRate As Short = 10000 - - '--------- Constants for PCI-6208A -------------- - 'Output Mode - Public Const P6208_CURRENT_0_20MA As Short = 0 - Public Const P6208_CURRENT_5_25MA As Short = 1 - Public Const P6208_CURRENT_4_20MA As Short = 3 - - '--------- Constants for PCI-6308A/PCI-6308V -------------- - 'Output Mode - Public Const P6308_CURRENT_0_20MA As Short = 0 - Public Const P6308_CURRENT_5_25MA As Short = 1 - Public Const P6308_CURRENT_4_20MA As Short = 3 - 'AO Setting - Public Const P6308V_AO_CH0_3 As Short = 0 - Public Const P6308V_AO_CH4_7 As Short = 1 - Public Const P6308V_AO_UNIPOLAR As Short = 0 - Public Const P6308V_AO_BIPOLAR As Short = 1 - - '--------- Constants for PCI-7200 -------------- - 'InputMode - Public Const DI_WAITING As Short = &H2s - Public Const DI_NOWAITING As Short = &H0s - - Public Const DI_TRIG_RISING As Short = &H4s - Public Const DI_TRIG_FALLING As Short = &H0s - - Public Const IREQ_RISING As Short = &H8s - Public Const IREQ_FALLING As Short = &H0s - - 'Output Mode - Public Const OREQ_ENABLE As Short = &H10s - Public Const OREQ_DISABLE As Short = &H0s - - Public Const OTRIG_HIGH As Short = &H20s - Public Const OTRIG_LOW As Short = &H0s - - '--------- Constants for PCI-7248/7296/7442 -------------- - 'DIO Port Direction - Public Const INPUT_PORT As Short = 1 - Public Const OUTPUT_PORT As Short = 2 - 'DIO Line Direction - Public Const INPUT_LINE As Short = 1 - Public Const OUTPUT_LINE As Short = 2 - - 'Channel&Port - Public Const Channel_P1A As Short = 0 - Public Const Channel_P1B As Short = 1 - Public Const Channel_P1C As Short = 2 - Public Const Channel_P1CL As Short = 3 - Public Const Channel_P1CH As Short = 4 - Public Const Channel_P1AE As Short = 10 - Public Const Channel_P1BE As Short = 11 - Public Const Channel_P1CE As Short = 12 - Public Const Channel_P2A As Short = 5 - Public Const Channel_P2B As Short = 6 - Public Const Channel_P2C As Short = 7 - Public Const Channel_P2CL As Short = 8 - Public Const Channel_P2CH As Short = 9 - Public Const Channel_P2AE As Short = 15 - Public Const Channel_P2BE As Short = 16 - Public Const Channel_P2CE As Short = 17 - Public Const Channel_P3A As Short = 10 - Public Const Channel_P3B As Short = 11 - Public Const Channel_P3C As Short = 12 - Public Const Channel_P3CL As Short = 13 - Public Const Channel_P3CH As Short = 14 - Public Const Channel_P4A As Short = 15 - Public Const Channel_P4B As Short = 16 - Public Const Channel_P4C As Short = 17 - Public Const Channel_P4CL As Short = 18 - Public Const Channel_P4CH As Short = 19 - Public Const Channel_P5A As Short = 20 - Public Const Channel_P5B As Short = 21 - Public Const Channel_P5C As Short = 22 - Public Const Channel_P5CL As Short = 23 - Public Const Channel_P5CH As Short = 24 - Public Const Channel_P6A As Short = 25 - Public Const Channel_P6B As Short = 26 - Public Const Channel_P6C As Short = 27 - Public Const Channel_P6CL As Short = 28 - Public Const Channel_P6CH As Short = 29 - Public Const Channel_P1 As Short = 30 - Public Const Channel_P2 As Short = 31 - Public Const Channel_P3 As Short = 32 - Public Const Channel_P4 As Short = 33 - Public Const Channel_P1E As Short = 34 - Public Const Channel_P2E As Short = 35 - Public Const Channel_P3E As Short = 36 - Public Const Channel_P4E As Short = 37 - - Public Const P7442_CH0 As Short = 0 - Public Const P7442_CH1 As Short = 1 - Public Const P7442_TTL0 As Short = 2 - Public Const P7442_TTL1 As Short = 3 - - '--------- Constants for PCI-7300A -------------- - 'Wait Status - Public Const P7300_WAIT_NO As Short = 0 - Public Const P7300_WAIT_TRG As Short = 1 - Public Const P7300_WAIT_FIFO As Short = 2 - Public Const P7300_WAIT_BOTH As Short = 3 - - 'Terminator control - Public Const P7300_TERM_OFF As Short = 0 - Public Const P7300_TERM_ON As Short = 1 - - 'DI control signals polarity for PCI-7300A Rev. B - Public Const P7300_DIREQ_POS As Short = &H0s - Public Const P7300_DIREQ_NEG As Short = &H1s - Public Const P7300_DIACK_POS As Short = &H0s - Public Const P7300_DIACK_NEG As Short = &H2s - Public Const P7300_DITRIG_POS As Short = &H0s - Public Const P7300_DITRIG_NEG As Short = &H4s - - 'DO control signals polarity for PCI-7300A Rev. B - Public Const P7300_DOREQ_POS As Short = &H0s - Public Const P7300_DOREQ_NEG As Short = &H8s - Public Const P7300_DOACK_POS As Short = &H0s - Public Const P7300_DOACK_NEG As Short = &H10s - Public Const P7300_DOTRIG_POS As Short = &H0s - Public Const P7300_DOTRIG_NEG As Short = &H20s - - '--------- Constants for PCI-7432/7433/7434 -------------- - Public Const CHANNEL_DI_LOW As Short = 0 - Public Const CHANNEL_DI_HIGH As Short = 1 - Public Const CHANNEL_DO_LOW As Short = 0 - Public Const CHANNEL_DO_HIGH As Short = 1 - Public Const P7432R_DO_LED As Short = 1 - Public Const P7433R_DO_LED As Short = 0 - Public Const P7434R_DO_LED As Short = 2 - Public Const P7432R_DI_SLOT As Short = 1 - Public Const P7433R_DI_SLOT As Short = 2 - Public Const P7434R_DI_SLOT As Short = 0 - - '----- Dual-Interrupt Source control for PCI-7248/49/96 & 7230 & 8554 & 7396 &7256/58 & 7260----- - Public Const INT1_DISABLE As Short = -1 'INT1 Disabled - Public Const INT1_COS As Short = 0 'INT1 COS : only available for PCI-7396, PCI-7256/58 & PCI-7260 - Public Const INT1_FP1C0 As Short = 1 'INT1 by Falling edge of P1C0 - Public Const INT1_RP1C0_FP1C3 As Short = 2 'INT1 by P1C0 Rising or P1C3 Falling - Public Const INT1_EVENT_COUNTER As Short = 3 'INT1 by Event Counter down to zero - Public Const INT1_EXT_SIGNAL As Short = 1 'INT1 by external signal : only available for PCI7432/PCI7433/PCI7230 - Public Const INT1_COUT12 As Short = 1 'INT1 COUT12 : only available for PCI8554 - Public Const INT1_CH0 As Short = 1 'INT1 CH0 : only available for PCI7256/58/60 - Public Const INT1_COS0 As Short = 1 'INT1 COS0 : only available for PCI-7452 - Public Const INT1_COS1 As Short = 2 'INT1 COS1 : only available for PCI-7452 - Public Const INT1_COS2 As Short = 3 'INT1 COS2 : only available for PCI-7452 - Public Const INT1_COS3 As Short = 8 'INT1 COS3 : only available for PCI-7452 - Public Const INT2_DISABLE As Short = -1 'INT2 Disabled - Public Const INT2_COS As Short = 0 'INT2 COS : only available for PCI-7396 - Public Const INT2_FP2C0 As Short = 1 'INT2 by Falling edge of P2C0 - Public Const INT2_RP2C0_FP2C3 As Short = 2 'INT2 by P2C0 Rising or P2C3 Falling - Public Const INT2_TIMER_COUNTER As Short = 3 'INT2 by Timer Counter down to zero - Public Const INT2_EXT_SIGNAL As Short = 1 'INT2 by external signal : only available for PCI7432/PCI7433/PCI7230 - Public Const INT2_CH1 As Short = 2 'INT2 CH1 : only available for PCI7256/58/60 - Public Const INT2_WDT As Short = 4 'INT2 by WDT - - Public Const WDT_OVRFLOW_SAFETYOUT As Short = &H8000s 'enable safteyout while WDT overflow - '-------- Constants for PCI-8554 -------------------- - 'Clock Source of Cunter N - Public Const ECKN As Short = 0 - Public Const COUTN_1 As Short = 1 - Public Const CK1 As Short = 2 - Public Const COUT10 As Short = 3 - - 'Clock Source of CK1 - Public Const CK1_C8M As Short = 0 - Public Const CK1_COUT11 As Short = 1 - - 'Debounce Clock - Public Const DBCLK_COUT11 As Short = 0 - Public Const DBCLK_2MHZ As Short = 1 - - '--------- Constants for PCI-9111 -------------- - 'Dual Interrupt Mode - Public Const P9111_INT1_EOC As Short = 0 'Ending of AD conversion - Public Const P9111_INT1_FIFO_HF As Short = 1 'FIFO Half Full - Public Const P9111_INT2_PACER As Short = 0 'Every Timer tick - Public Const P9111_INT2_EXT_TRG As Short = 1 'ExtTrig High->Low - - 'Channel Count - Public Const P9111_CHANNEL_DO As Short = 0 - Public Const P9111_CHANNEL_EDO As Short = 1 - Public Const P9111_CHANNEL_DI As Short = 0 - Public Const P9111_CHANNEL_EDI As Short = 1 - - 'Trigger Mode - Public Const P9111_TRGMOD_SOFT As Short = 0 'Software Trigger Mode - Public Const P9111_TRGMOD_PRE As Short = 1 'Pre-Trigger Mode - Public Const P9111_TRGMOD_POST As Short = 2 'Post Trigger Mode - - 'EDO function - Public Const P9111_EDO_INPUT As Short = 1 'EDO port set as Input port - Public Const P9111_EDO_OUT_EDO As Short = 2 'EDO port set as Output port - Public Const P9111_EDO_OUT_CHN As Short = 3 'EDO port set as channel number ouput port - - 'AO Setting - Public Const P9111_AO_UNIPOLAR As Short = 0 - Public Const P9111_AO_BIPOLAR As Short = 1 - - '--------- Constants for PCI-9118 -------------- - Public Const P9118_AI_BiPolar As Short = &H0s - Public Const P9118_AI_UniPolar As Short = &H1s - - Public Const P9118_AI_SingEnded As Short = &H0s - Public Const P9118_AI_Differential As Short = &H2s - - Public Const P9118_AI_ExtG As Short = &H4s - - Public Const P9118_AI_ExtTrig As Short = &H8s - - Public Const P9118_AI_DtrgNegative As Short = &H0s - Public Const P9118_AI_DtrgPositive As Short = &H10s - - Public Const P9118_AI_EtrgNegative As Short = &H0s - Public Const P9118_AI_EtrgPositive As Short = &H20s - - Public Const P9118_AI_BurstModeEn As Short = &H40s - Public Const P9118_AI_SampleHold As Short = &H80s - Public Const P9118_AI_PostTrgEn As Short = &H100s - Public Const P9118_AI_AboutTrgEn As Short = &H200s - - '--------- Constants for PCI-9812/9810 -------------- - 'Channel Count - Public Const P9116_AI_LocalGND As Short = &H0s - Public Const P9116_AI_UserCMMD As Short = &H1s - Public Const P9116_AI_SingEnded As Short = &H0s - Public Const P9116_AI_Differential As Short = &H2s - Public Const P9116_AI_BiPolar As Short = &H0s - Public Const P9116_AI_UniPolar As Short = &H4s - - Public Const P9116_TRGMOD_SOFT As Short = &H0s 'Software Trigger Mode - Public Const P9116_TRGMOD_POST As Short = &H10s 'Post Trigger Mode - Public Const P9116_TRGMOD_DELAY As Short = &H20s 'Delay Trigger Mode - Public Const P9116_TRGMOD_PRE As Short = &H30s 'Pre-Trigger Mode - Public Const P9116_TRGMOD_MIDL As Short = &H40s 'Middle Trigger Mode - Public Const P9116_AI_TrgPositive As Short = &H0s - Public Const P9116_AI_TrgNegative As Short = &H80s - Public Const P9116_AI_IntTimeBase As Short = &H0s - Public Const P9116_AI_ExtTimeBase As Short = &H100s - Public Const P9116_AI_DlyInSamples As Short = &H200s - Public Const P9116_AI_DlyInTimebase As Short = &H0s - Public Const P9116_AI_ReTrigEn As Short = &H400s - Public Const P9116_AI_MCounterEn As Short = &H800s - Public Const P9116_AI_SoftPolling As Short = &H0s - Public Const P9116_AI_INT As Short = &H1000s - Public Const P9116_AI_DMA As Short = &H2000s - - '--------- Constants for PCI-9812/9810 -------------- - 'Channel Count - Public Const P9812_CHANNEL_CNT1 As Short = 1 - Public Const P9812_CHANNEL_CNT2 As Short = 2 - Public Const P9812_CHANNEL_CNT4 As Short = 4 - - 'Trigger Mode - Public Const P9812_TRGMOD_SOFT As Short = 0 'Software Trigger Mode - Public Const P9812_TRGMOD_POST As Short = 1 'Post Trigger Mode - Public Const P9812_TRGMOD_PRE As Short = 2 'Pre-Trigger Mode - Public Const P9812_TRGMOD_DELAY As Short = 3 'Delay Trigger Mode - Public Const P9812_TRGMOD_MIDL As Short = 4 'Middle Trigger Mode - - 'Trigger Source - Public Const P9812_TRGSRC_CH0 As Short = 0 'trigger source --CH0 - Public Const P9812_TRGSRC_CH1 As Short = 8 'trigger source --CH1 - Public Const P9812_TRGSRC_CH2 As Short = &H10s 'trigger source --CH2 - Public Const P9812_TRGSRC_CH3 As Short = &H18s 'trigger source --CH3 - Public Const P9812_TRGSRC_EXT_DIG As Short = &H20s 'External Digital Trigger - - 'Trigger Polarity - Public Const P9812_TRGSLP_POS As Short = 0 'Positive slope trigger - Public Const P9812_TRGSLP_NEG As Short = &H40s 'Negative slope trigger - - 'Frequency Selection - Public Const P9812_AD2_GT_PCI As Short = &H80s 'Freq. of A/D clock > PCI clock freq. - Public Const P9812_AD2_LT_PCI As Short = &H0s 'Freq. of A/D clock < PCI clock freq. - - 'Clock Source - Public Const P9812_CLKSRC_INT As Short = &H0s 'Internal clock - Public Const P9812_CLKSRC_EXT_SIN As Short = &H100s 'External SIN wave clock - Public Const P9812_CLKSRC_EXT_DIG As Short = &H200s 'External Square wave clock - - 'DAQ Event type for the event message - Public Const AIEnd As Short = 0 - Public Const DIEnd As Short = 0 - Public Const DOEnd As Short = 0 - Public Const DBEvent As Short = 1 - - 'EMG shdn ctrl code - Public Const EMGSHDN_OFF As Short = 0 'off - Public Const EMGSHDN_ON As Short = 1 'on - Public Const EMGSHDN_RECOVERY As Short = 2 'recovery - - 'Hot Reset Hold ctrl code - Public Const HRH_OFF As Short = 0 'off - Public Const HRH_ON As Short = 1 'on - - '--------- Constants for Timer/Counter -------------- - 'Counter Mode (8254) - Public Const TOGGLE_OUTPUT As Short = 0 'Toggle output from low to high on terminal count - Public Const PROG_ONE_SHOT As Short = 1 'Programmable one-shot - Public Const RATE_GENERATOR As Short = 2 'Rate generator - Public Const SQ_WAVE_RATE_GENERATOR As Short = 3 'Square wave rate generator - Public Const SOFT_TRIG As Short = 4 'Software-triggered strobe - Public Const HARD_TRIG As Short = 5 'Hardware-triggered strobe - - '------- General Purpose Timer/Counter ----------------- - 'Counter Mode - Public Const General_Counter As Short = &H0s 'general counter - Public Const Pulse_Generation As Short = &H1s 'pulse generation - 'GPTC clock source - Public Const GPTC_CLKSRC_EXT As Short = &H8s - Public Const GPTC_CLKSRC_INT As Short = &H0s - Public Const GPTC_GATESRC_EXT As Short = &H10s - Public Const GPTC_GATESRC_INT As Short = &H0s - Public Const GPTC_UPDOWN_SELECT_EXT As Short = &H20s - Public Const GPTC_UPDOWN_SELECT_SOFT As Short = &H0s - Public Const GPTC_UP_CTR As Short = &H40s - Public Const GPTC_DOWN_CTR As Short = &H0s - Public Const GPTC_ENABLE As Short = &H80s - Public Const GPTC_DISABLE As Short = &H0s - - 'Watchdog Timer - 'Counter action - Public Const WDT_DISARM As Short = 0 - Public Const WDT_ARM As Short = 1 - Public Const WDT_RESTART As Short = 2 - - 'Pattern ID - Public Const INIT_PTN As Short = 0 - Public Const EMGSHDN_PTN As Short = 1 - - 'Pattern ID for 7442 - Public Const INIT_PTN_CH0 As Short = 0 - Public Const INIT_PTN_CH1 As Short = 1 - Public Const SAFTOUT_PTN_CH0 As Short = 4 - Public Const SAFTOUT_PTN_CH1 As Short = 5 - - '16-bit binary or 4-decade BCD counter - Public Const BIN As Short = 0 - Public Const BCD As Short = 1 - - Declare Function WaitForSingleObject Lib "kernel32" (ByVal hHandle As Integer, ByVal dwMilliseconds As Integer) As Integer - Public Delegate Sub CallbackDelegate() - - '------------------------------------------------------------------- - ' PCIS-DASK Function prototype - '-----------------------------------------------------------------*/ - Declare Function Register_Card Lib "Pci-Dask.dll" (ByVal cardType As Short, ByVal card_num As Short) As Short - Declare Function Release_Card Lib "Pci-Dask.dll" (ByVal CardNumber As Short) As Short - Declare Function GetActualRate Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal SampleRate As Double, ByRef ActualRate As Double) As Short - Declare Function GetCardType Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByRef cardType As Short) As Short - Declare Function GetBaseAddr Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByRef BaseAddr As Integer, ByRef BaseAddr2 As Integer) As Short - Declare Function GetLCRAddr Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByRef LcrAddr As Integer) As Short - Declare Function GetCardIndexFromID Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByRef cardType As Short, ByRef cardIndex As Short) As Short - Declare Function EMGShutDownControl Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal ctrl As Byte) As Short - Declare Function EMGShutDownStatus Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByRef ctrl As Byte) As Short - Declare Function HotResetHoldControl Lib "Pci-Dask.dll" (ByVal wCardNumber As Short, ByVal Enable As Byte) As Short - Declare Function HotResetHoldStatus Lib "Pci-Dask.dll" (ByVal wCardNumber As Short, ByRef sts As Byte) As Short - Declare Function SetInitPattern Lib "Pci-Dask.dll" (ByVal wCardNumber As Short, ByVal patID As Byte, ByVal pattern As Integer) As Short - Declare Function GetInitPattern Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal patID As Byte, ByRef pattern As Integer) As Short - Declare Function IdentifyLED_Control Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal ctrl As Byte) As Short - - 'AI Functions - Declare Function AI_9111_Config Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal TrigSource As Short, ByVal TrgMode As Short, ByVal wTraceCnt As Short) As Short - Declare Function AI_9112_Config Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal TrigSource As Short) As Short - Declare Function AI_9113_Config Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal TrigSource As Short) As Short - Declare Function AI_9114_Config Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal TrigSource As Short) As Short - Declare Function AI_9114_PreTrigConfig Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal PreTrgEn As Short, ByVal TraceCnt As Short) As Short - Declare Function AI_9116_Config Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal ConfigCtrl As Short, ByVal TrigCtrl As Short, ByVal PostCnt As Short, ByVal MCnt As Short, ByVal ReTrgCnt As Short) As Short - Declare Function AI_9118_Config Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal wModeCtrl As Short, ByVal wFunCtrl As Short, ByVal wBurstCnt As Short, ByVal wPostCnt As Short) As Short - Declare Function AI_9812_Config Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal wTrgMode As Short, ByVal wTrgSrc As Short, ByVal wTrgPol As Short, ByVal wClkSel As Short, ByVal wTrgLevel As Short, ByVal wPostCnt As Short) As Short - Declare Function AI_9116_CounterInterval Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal ScanIntrv As Integer, ByVal SampIntrv As Integer) As Short - Declare Function AI_9812_SetDiv Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal pacerVal As Integer) As Short - Declare Function AI_AsyncCheck Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByRef Stopped As Byte, ByRef AccessCnt As Integer) As Short - Declare Function AI_AsyncClear Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByRef AccessCnt As Integer) As Short - Declare Function AI_AsyncDblBufferHalfReady Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByRef HalfReady As Byte, ByRef StopFlag As Byte) As Short - Declare Function AI_AsyncDblBufferMode Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal Enable As Byte) As Short - Declare Function AI_AsyncDblBufferTransfer Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByRef Buffer As Short) As Short - Declare Function AI_ContReadChannel Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal Channel As Short, ByVal AdRange As Short, ByRef Buffer As UShort, ByVal ReadCount As Integer, ByVal SampleRate As Double, ByVal SyncMode As Short) As Short - Declare Function AI_ContScanChannels Lib "Pci-Dask.dll" (ByVal wCardNumber As Short, ByVal wChannel As Short, ByVal wAdRange As Short, ByRef pwBuffer As Short, ByVal dwReadCount As Integer, ByVal SampleRate As Double, ByVal SyncMode As Short) As Short - Declare Function AI_ContReadMultiChannels Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal NumChans As Short, ByRef chans As Short, ByRef AdRanges As Short, ByRef Buffer As Short, ByVal ReadCount As Integer, ByVal SampleRate As Double, ByVal SyncMode As Short) As Short - Declare Function AI_ContReadChannelToFile Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal Channel As Short, ByVal AdRange As Short, ByVal FileName As String, ByVal ReadCount As Integer, ByVal SampleRate As Double, ByVal SyncMode As Short) As Short - Declare Function AI_ContScanChannelsToFile Lib "Pci-Dask.dll" (ByVal wCardNumber As Short, ByVal wChannel As Short, ByVal wAdRange As Short, ByVal FileName As String, ByVal dwReadCount As Integer, ByVal SampleRate As Double, ByVal SyncMode As Short) As Short - Declare Function AI_ContReadMultiChannelsToFile Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal NumChans As Short, ByRef chans As Short, ByRef AdRanges As Short, ByVal FileName As String, ByVal ReadCount As Integer, ByVal SampleRate As Double, ByVal SyncMode As Short) As Short - Declare Function AI_ContStatus Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByRef Status As Short) As Short - Declare Function AI_InitialMemoryAllocated Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByRef MemSize As Integer) As Short - Declare Function AI_ReadChannel Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal Channel As Short, ByVal AdRange As Short, ByRef Value As Short) As Short - Declare Function AI_VReadChannel Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal Channel As Short, ByVal AdRange As Short, ByRef Voltage As Double) As Short - Declare Function AI_VoltScale Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal AdRange As Short, ByVal reading As Short, ByRef Voltage As Double) As Short - Declare Function AI_ContVScale Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal AdRange As Short, ByRef readingArray As UShort, ByRef voltageArray As Double, ByVal Count As Integer) As Short - Declare Function AI_AsyncDblBufferOverrun Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal op As Short, ByRef overrunFlag As Short) As Short - Declare Function AI_EventCallBack Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal Mode As Short, ByVal EventType As Short, ByVal callbackAddr As CallbackDelegate) As Short - - 'AO Functions - Declare Function AO_6208A_Config Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal V2AMode As Short) As Short - Declare Function AO_6308A_Config Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal V2AMode As Short) As Short - Declare Function AO_6308V_Config Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal Channel As Short, ByVal OutputPolarity As Short, ByVal refVoltage As Double) As Short - Declare Function AO_9111_Config Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal OutputPolarity As Short) As Short - Declare Function AO_9112_Config Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal Channel As Short, ByVal refVoltage As Double) As Short - Declare Function AO_WriteChannel Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal Channel As Short, ByVal Value As Short) As Short - Declare Function AO_VWriteChannel Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal Channel As Short, ByVal Voltage As Double) As Short - Declare Function AO_VoltScale Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal Channel As Short, ByVal Voltage As Double, ByRef binValue As Short) As Short - Declare Function AO_SimuWriteChannel Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal wGroup As Short, ByRef valueArray As Short) As Short - Declare Function AO_SimuVWriteChannel Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal wGroup As Short, ByRef voltageArray As Double) As Short - - 'DI Functions - Declare Function DI_7200_Config Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal TrigSource As Short, ByVal wExtTrigEn As Short, ByVal wTrigPol As Short, ByVal wI_REQ_Pol As Short) As Short - Declare Function DI_7300A_Config Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal PortWidth As Short, ByVal TrigSource As Short, ByVal WaitStatus As Short, ByVal Terminaor As Short, ByVal I_REQ_Pol As Short, ByVal clear_fifo As Byte, ByVal disable_di As Byte) As Short - Declare Function DI_7300B_Config Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal PortWidth As Short, ByVal TrigSource As Short, ByVal WaitStatus As Short, ByVal Terminator As Short, ByVal I_Cntrl_Pol As Short, ByVal clear_fifo As Byte, ByVal disable_di As Byte) As Short - Declare Function DI_AsyncCheck Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByRef Stopped As Byte, ByRef AccessCnt As Integer) As Short - Declare Function DI_AsyncClear Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByRef AccessCnt As Integer) As Short - Declare Function DI_AsyncDblBufferHalfReady Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByRef HalfReady As Byte) As Short - Declare Function DI_AsyncDblBufferMode Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal Enable As Byte) As Short - Declare Function DI_AsyncDblBufferTransfer Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByRef Buffer As Byte) As Short - Declare Function DI_AsyncDblBufferTransfer Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByRef Buffer As Short) As Short - Declare Function DI_AsyncDblBufferTransfer Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByRef Buffer As UInt32) As Short - Declare Function DI_ContMultiBufferSetup Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByRef Buffer As Byte, ByVal ReadCount As Integer, ByRef BufferId As Short) As Short - Declare Function DI_ContMultiBufferSetup Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByRef Buffer As Short, ByVal ReadCount As Integer, ByRef BufferId As Short) As Short - Declare Function DI_ContMultiBufferSetup Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByRef Buffer As UInt32, ByVal ReadCount As Integer, ByRef BufferId As Short) As Short - Declare Function DI_ContMultiBufferStart Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal Port As Short, ByVal SampleRate As Double) As Short - Declare Function DI_AsyncMultiBufferNextReady Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByRef NextReady As Byte, ByRef BufferId As Short) As Short - Declare Function DI_ContReadPort Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal Port As Integer, ByRef Buffer As Byte, ByVal ReadCount As Integer, ByVal SampleRate As Double, ByVal SyncMode As Short) As Short - Declare Function DI_ContReadPort Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal Port As Integer, ByRef Buffer As UShort, ByVal ReadCount As Integer, ByVal SampleRate As Double, ByVal SyncMode As Short) As Short - Declare Function DI_ContReadPort Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal Port As Integer, ByRef Buffer As UInt32, ByVal ReadCount As Integer, ByVal SampleRate As Double, ByVal SyncMode As Short) As Short - Declare Function DI_ContReadPortToFile Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal Port As Short, ByVal FileName As String, ByVal ReadCount As Integer, ByVal SampleRate As Double, ByVal SyncMode As Short) As Short - Declare Function DI_ContStatus Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByRef Status As Short) As Short - Declare Function DI_InitialMemoryAllocated Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByRef MemSize As Integer) As Short - Declare Function DI_ReadPort Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal Port As Short, ByRef Value As Integer) As Short - Declare Function DI_ReadLine Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal Port As Short, ByVal Line As Short, ByRef Value As Short) As Short - Declare Function DI_AsyncDblBufferOverrun Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal op As Short, ByRef overrunFlag As Short) As Short - Declare Function DI_EventCallBack Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal Mode As Short, ByVal EventType As Short, ByVal callbackAddr As Integer) As Short - - 'DO Functions - Declare Function DO_7200_Config Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal TrigSource As Short, ByVal wOutReqEn As Short, ByVal wOutTrigSig As Short) As Short - Declare Function DO_7300A_Config Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal PortWidth As Short, ByVal TrigSource As Short, ByVal WaitStatus As Short, ByVal Terminaor As Short, ByVal O_REQ_Pol As Short) As Short - Declare Function DO_7300B_Config Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal PortWidth As Short, ByVal TrigSource As Short, ByVal WaitStatus As Short, ByVal Terminator As Short, ByVal O_Cntrl_Pol As Short, ByVal FifoThreshold As Integer) As Short - Declare Function DO_AsyncCheck Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByRef Stopped As Byte, ByRef AccessCnt As Integer) As Short - Declare Function DO_AsyncClear Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByRef AccessCnt As Integer) As Short - Declare Function DO_ContWritePort Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal Port As Integer, ByRef Buffer As Byte, ByVal WriteCount As Integer, ByVal Iterations As Integer, ByVal SampleRate As Double, ByVal SyncMode As Short) As Short - Declare Function DO_ContWritePort Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal Port As Integer, ByRef Buffer As UShort, ByVal WriteCount As Integer, ByVal Iterations As Integer, ByVal SampleRate As Double, ByVal SyncMode As Short) As Short - Declare Function DO_ContWritePort Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal Port As Integer, ByRef Buffer As UInt32, ByVal WriteCount As Integer, ByVal Iterations As Integer, ByVal SampleRate As Double, ByVal SyncMode As Short) As Short - Declare Function DO_ContStatus Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByRef Status As Short) As Short - Declare Function DO_InitialMemoryAllocated Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByRef MemSize As Integer) As Short - Declare Function DO_PGStart Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByRef Buffer As Byte, ByVal WriteCount As Integer, ByVal SampleRate As Double) As Short - Declare Function DO_PGStart Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByRef Buffer As Short, ByVal WriteCount As Integer, ByVal SampleRate As Double) As Short - Declare Function DO_PGStart Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByRef Buffer As UInt32, ByVal WriteCount As Integer, ByVal SampleRate As Double) As Short - Declare Function DO_PGStop Lib "Pci-Dask.dll" (ByVal CardNumber As Short) As Short - Declare Function DO_WritePort Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal Port As Short, ByVal Value As Integer) As Short - Declare Function DO_WriteLine Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal Port As Short, ByVal Line As Short, ByVal Value As Short) As Short - Declare Function DO_SimuWritePort Lib "Pci-Dask.dll" (ByVal wCardNumber As Short, ByVal wNumChans As Short, ByRef pdwBuffer As Integer) As Short - Declare Function DO_ReadLine Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal Port As Short, ByVal Line As Short, ByRef Value As Short) As Short - Declare Function DO_ReadPort Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal Port As Short, ByRef Value As Integer) As Short - Declare Function EDO_9111_Config Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal wEDO_Fun As Short) As Short - Declare Function DO_WriteExtTrigLine Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal Value As Short) As Short - Declare Function DO_ContMultiBufferSetup Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByRef Buffer As Byte, ByVal WriteCount As Integer, ByRef BufferId As Short) As Short - Declare Function DO_ContMultiBufferSetup Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByRef Buffer As Short, ByVal WriteCount As Integer, ByRef BufferId As Short) As Short - Declare Function DO_ContMultiBufferSetup Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByRef Buffer As UInt32, ByVal WriteCount As Integer, ByRef BufferId As Short) As Short - Declare Function DO_ContMultiBufferStart Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal Port As Short, ByVal SampleRate As Double) As Short - Declare Function DO_AsyncMultiBufferNextReady Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByRef NextReady As Byte, ByRef BufferId As Short) As Short - Declare Function DO_EventCallBack Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal Mode As Short, ByVal EventType As Short, ByVal callbackAddr As Integer) As Short - - 'DIO Functions - Declare Function DIO_PortConfig Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal Port As Short, ByVal Direction As Short) As Short - Declare Function DIO_LinesConfig Lib "Pci-Dask.dll" (ByVal wCardNumber As Short, ByVal wPort As Short, ByVal wLinesdirmap As Short) As Short - Declare Function DIO_LineConfig Lib "Pci-Dask.dll" (ByVal wCardNumber As Short, ByVal wPort As Short, ByVal wLine As Short, ByVal wDirection As Short) As Short - Declare Function DIO_SetDualInterrupt Lib "Pci-Dask.dll" (ByVal wCardNumber As Short, ByVal wInt1Mode As Short, ByVal wInt2Mode As Short, ByRef hEvent As Integer) As Short - Declare Function DIO_SetCOSInterrupt Lib "Pci-Dask.dll" (ByVal wCardNumber As Short, ByVal Port As Short, ByVal ctlA As Short, ByVal ctlB As Short, ByVal ctlC As Short) As Short - Declare Function DIO_GetCOSLatchData Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByRef CosLData As Integer) As Short - Declare Function DIO_SetCOSInterrupt32 Lib "Pci-Dask.dll" (ByVal wCardNumber As Short, ByVal Port As Byte, ByVal ctl As Integer, ByRef hEvent As Integer, ByVal bManualReset As Byte) As Short - Declare Function DIO_GetCOSLatchData32 Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByRef CosLData As Integer) As Short - Declare Function DIO_INT_EventMessage Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal Mode As Short, ByVal hEvent As Integer, ByVal windowHandle As Integer, ByVal message As Integer, ByVal callbackAddr As CallbackDelegate) As Short - Declare Function DIO_INT1_EventMessage Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal Int1Mode As Short, ByVal windowHandle As Integer, ByVal message As Integer, ByVal callbackAddr As CallbackDelegate) As Short - Declare Function DIO_INT2_EventMessage Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal Int2Mode As Short, ByVal windowHandle As Integer, ByVal message As Integer, ByVal callbackAddr As CallbackDelegate) As Short - Declare Function DIO_7300SetInterrupt Lib "Pci-Dask.dll" (ByVal wCardNumber As Short, ByVal AuxDIEn As Short, ByVal T2En As Short, ByRef hEvent As Integer) As Short - Declare Function DIO_AUXDI_EventMessage Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal AuxDIEn As Short, ByVal windowHandle As Integer, ByVal message As Integer, ByVal callbackAddr As CallbackDelegate) As Short - Declare Function DIO_T2_EventMessage Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal T2En As Short, ByVal windowHandle As Integer, ByVal message As Integer, ByVal callbackAddr As CallbackDelegate) As Short - - 'Counter Functions - Declare Function CTR_Setup Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal Ctr As Short, ByVal Mode As Short, ByVal Count As Integer, ByVal BinBcd As Short) As Short - Declare Function CTR_Clear Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal Ctr As Short, ByVal State As Short) As Short - Declare Function CTR_Read Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal Ctr As Short, ByRef Value As Integer) As Short - Declare Function CTR_Update Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal Ctr As Short, ByVal Count As Integer) As Short - Declare Function CTR_8554_ClkSrc_Config Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal Ctr As Short, ByVal ClockSource As Short) As Short - Declare Function CTR_8554_CK1_Config Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal ClockSource As Short) As Short - Declare Function CTR_8554_Debounce_Config Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal DebounceClock As Short) As Short - Declare Function GCTR_Setup Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal wGCtr As Short, ByVal wGCtrCtrl As Short, ByVal dwCount As Integer) As Short - Declare Function GCTR_Clear Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal wGCtr As Short) As Short - Declare Function GCTR_Read Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal wGCtr As Short, ByRef pValue As Integer) As Short - Declare Function WDT_Setup Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal wCtr As Short, ByVal ovflowSec As Single, ByRef actualSec As Single, ByRef hEvent As Integer) As Short - Declare Function WDT_Control Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal wCtr As Short, ByVal action As Short) As Short - Declare Function WDT_Status Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal wCtr As Short, ByRef pValue As Integer) As Short - Declare Function WDT_Reload Lib "Pci-Dask.dll" (ByVal wCardNumber As Short, ByVal ovflowSec As Single, ByRef actualSec As Single) As Short - - Declare Function AI_GetEvent Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByRef hEvent As Integer) As Short - Declare Function AO_GetEvent Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByRef hEvent As Integer) As Short - Declare Function DI_GetEvent Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByRef hEvent As Integer) As Short - Declare Function DO_GetEvent Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByRef hEvent As Integer) As Short -End Module \ No newline at end of file diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/.NET/VB.NET/9112/D9112_AI_Single_Buffer_Callback/D9112_AI_Single_Buffer_Callback/Form1.Designer.vb b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/.NET/VB.NET/9112/D9112_AI_Single_Buffer_Callback/D9112_AI_Single_Buffer_Callback/Form1.Designer.vb deleted file mode 100644 index d3b9a3f..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/.NET/VB.NET/9112/D9112_AI_Single_Buffer_Callback/D9112_AI_Single_Buffer_Callback/Form1.Designer.vb +++ /dev/null @@ -1,62 +0,0 @@ - _ -Partial Class Form1 - Inherits System.Windows.Forms.Form - - 'Form 覆寫 Dispose 以清除元件清單。 - _ - Protected Overrides Sub Dispose(ByVal disposing As Boolean) - If disposing AndAlso components IsNot Nothing Then - components.Dispose() - End If - MyBase.Dispose(disposing) - End Sub - - '為 Windows Form 設計工具的必要項 - Private components As System.ComponentModel.IContainer - - '注意: 以下為 Windows Form 設計工具所需的程序 - '可以使用 Windows Form 設計工具進行修改。 - '請不要使用程式碼編輯器進行修改。 - _ - Private Sub InitializeComponent() - Dim resources As System.ComponentModel.ComponentResourceManager = New System.ComponentModel.ComponentResourceManager(GetType(Form1)) - Me.button1 = New System.Windows.Forms.Button - Me.AxDGraph1 = New AxDBGRAPHLib.AxDGraph - CType(Me.AxDGraph1, System.ComponentModel.ISupportInitialize).BeginInit() - Me.SuspendLayout() - ' - 'button1 - ' - Me.button1.Location = New System.Drawing.Point(100, 240) - Me.button1.Name = "button1" - Me.button1.Size = New System.Drawing.Size(90, 30) - Me.button1.TabIndex = 4 - Me.button1.Text = "Start" - Me.button1.UseVisualStyleBackColor = True - ' - 'AxDGraph1 - ' - Me.AxDGraph1.Enabled = True - Me.AxDGraph1.Location = New System.Drawing.Point(1, 5) - Me.AxDGraph1.Name = "AxDGraph1" - Me.AxDGraph1.OcxState = CType(resources.GetObject("AxDGraph1.OcxState"), System.Windows.Forms.AxHost.State) - Me.AxDGraph1.Size = New System.Drawing.Size(290, 229) - Me.AxDGraph1.TabIndex = 5 - ' - 'Form1 - ' - Me.AutoScaleDimensions = New System.Drawing.SizeF(6.0!, 12.0!) - Me.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font - Me.ClientSize = New System.Drawing.Size(292, 273) - Me.Controls.Add(Me.AxDGraph1) - Me.Controls.Add(Me.button1) - Me.Name = "Form1" - Me.Text = "Form1" - CType(Me.AxDGraph1, System.ComponentModel.ISupportInitialize).EndInit() - Me.ResumeLayout(False) - - End Sub - Private WithEvents button1 As System.Windows.Forms.Button - Friend WithEvents AxDGraph1 As AxDBGRAPHLib.AxDGraph - -End Class diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/.NET/VB.NET/9112/D9112_AI_Single_Buffer_Callback/D9112_AI_Single_Buffer_Callback/Form1.resx b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/.NET/VB.NET/9112/D9112_AI_Single_Buffer_Callback/D9112_AI_Single_Buffer_Callback/Form1.resx deleted file mode 100644 index 579c3eb..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/.NET/VB.NET/9112/D9112_AI_Single_Buffer_Callback/D9112_AI_Single_Buffer_Callback/Form1.resx +++ /dev/null @@ -1,138 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - text/microsoft-resx - - - 2.0 - - - System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - - AAEAAAD/////AQAAAAAAAAAMAgAAAFdTeXN0ZW0uV2luZG93cy5Gb3JtcywgVmVyc2lvbj0yLjAuMC4w - LCBDdWx0dXJlPW5ldXRyYWwsIFB1YmxpY0tleVRva2VuPWI3N2E1YzU2MTkzNGUwODkFAQAAACFTeXN0 - ZW0uV2luZG93cy5Gb3Jtcy5BeEhvc3QrU3RhdGUBAAAABERhdGEHAgIAAAAJAwAAAA8DAAAAcAIAAAIB - AAAAAQAAAAAZAAAAQ29weXJpZ2h0IChjKSAyMDAyIEFETGluawAAAABCAgAABAACAPkdAACrFwAABwAA - AADU0MgAAANS4wuRj84RneMAqgBLuFEBiAAAvALcfAEACLdzstOp+sXpAAABAAAAAAAAAAAAAADoAwAA - AAAAAAAAAAAAAS4AABAAAAAFAAAAAAAAAAAAAAAAAAAAEAAAAAUAAAAAAAAAAAAAAAAAAAAQAAAABQAA - AAAAAAAAAAAAAAAAAAABAAEBAQAAAAAAAAAAAACAgIAAQEBAAAAAAAAAEAAAAAUAAAAbwh9sAAAAAAAA - JEAQAAAABQAAABvCH2wAAAAAAAAkwBAAAAAFAGkASIh+AAAAAAAA/q9AEAAAAAUAaQBIiH4AAAAAAAAA - AAABLgAAAAAQAAAABQAAAAAAAAAAAAAAAAAAABAAAAAFAAAAAAAAAAAAAAAAAAAAEAAAAAUAAAAAAAAA - AAAAAAAAAAABAAEAAQEAAAAAAAAAAAAAgICAAEBAQAAAAAAAGAAAAAAAAAAAAAEAAADoef8AAAD/AAAA - /wAAABgAAAAAAAAAAAABAAAA6Hn/gAAA/4AAAP+AAAAYAAAAAAAAAAAAAQAAAOh5//8AAP//AAD//wAA - GAAAAAAAAAAAAAEAAADoeQD/AAAA/wAAAP8AABgAAAAAAAAAAAABAAAA6HkA//8AAP//AAD//wAYAAAA - AAAAAAAAAQAAAOh5AAD/AAAA/wAAAP8AGAAAAAAAAAAAAAEAAADoef8A/wD/AP8A/wD/ABgAAAAAAAAA - AAABAAAA6HnAwMAAwMDAAMDAwAABAQAL - - - \ No newline at end of file diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/.NET/VB.NET/9112/D9112_AI_Single_Buffer_Callback/D9112_AI_Single_Buffer_Callback/Form1.vb b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/.NET/VB.NET/9112/D9112_AI_Single_Buffer_Callback/D9112_AI_Single_Buffer_Callback/Form1.vb deleted file mode 100644 index b52662c..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/.NET/VB.NET/9112/D9112_AI_Single_Buffer_Callback/D9112_AI_Single_Buffer_Callback/Form1.vb +++ /dev/null @@ -1,54 +0,0 @@ -Public Class Form1 - Dim data_buffer(999) As UShort - Dim voltage_array(999) As Double - Dim m_dev As Short - - Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load - m_dev = Register_Card(PCI_9112, 0) - If (m_dev < 0) Then - MessageBox.Show("Register_Card error!") - End If - End Sub - - Private Sub Form1_FormClosing(ByVal sender As System.Object, ByVal e As System.Windows.Forms.FormClosingEventArgs) Handles MyBase.FormClosing - Dim err As Short - If (m_dev >= 0) Then - err = Release_Card(m_dev) - End If - End Sub - - Private Sub button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles button1.Click - Dim err As Short - err = AI_EventCallBack(m_dev, 1, AIEnd, AddressOf Callback) - If (err < 0) Then - MessageBox.Show("AI_EventCallBack error!") - Return - End If - err = AI_9112_Config(m_dev, TRIG_INT_PACER) - If (err < 0) Then - MessageBox.Show("AI_9112_Config error!") - Return - End If - err = AI_ContReadChannel(m_dev, 0, AD_B_5_V, data_buffer(0), 1000, 10000, ASYNCH_OP) - If (err < 0) Then - MessageBox.Show("AI_ContReadChannel error!") - Return - End If - End Sub - - Sub Callback() - Dim err As Short - Dim access_cnt As Integer - err = DASK.AI_AsyncClear(m_dev, access_cnt) - If (err < 0) Then - MessageBox.Show("D2K_AI_ContVScale error!") - Return - End If - err = DASK.AI_ContVScale(m_dev, AD_B_5_V, data_buffer(0), voltage_array(0), 1000) - If (err < 0) Then - MessageBox.Show("D2K_AI_ContVScale error!") - Return - End If - AxDGraph1.PlotGraph(voltage_array, 0) - End Sub -End Class diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/.NET/VB.NET/9112/D9112_AI_Single_Buffer_Callback/D9112_AI_Single_Buffer_Callback/My Project/Application.Designer.vb b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/.NET/VB.NET/9112/D9112_AI_Single_Buffer_Callback/D9112_AI_Single_Buffer_Callback/My Project/Application.Designer.vb deleted file mode 100644 index 8001c5f..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/.NET/VB.NET/9112/D9112_AI_Single_Buffer_Callback/D9112_AI_Single_Buffer_Callback/My Project/Application.Designer.vb +++ /dev/null @@ -1,38 +0,0 @@ -'------------------------------------------------------------------------------ -' -' This code was generated by a tool. -' Runtime Version:2.0.50727.42 -' -' Changes to this file may cause incorrect behavior and will be lost if -' the code is regenerated. -' -'------------------------------------------------------------------------------ - -Option Strict On -Option Explicit On - - -Namespace My - - 'NOTE: This file is auto-generated; do not modify it directly. To make changes, - ' or if you encounter build errors in this file, go to the Project Designer - ' (go to Project Properties or double-click the My Project node in - ' Solution Explorer), and make changes on the Application tab. - ' - Partial Friend Class MyApplication - - _ - Public Sub New() - MyBase.New(Global.Microsoft.VisualBasic.ApplicationServices.AuthenticationMode.Windows) - Me.IsSingleInstance = false - Me.EnableVisualStyles = true - Me.SaveMySettingsOnExit = true - Me.ShutDownStyle = Global.Microsoft.VisualBasic.ApplicationServices.ShutdownMode.AfterMainFormCloses - End Sub - - _ - Protected Overrides Sub OnCreateMainForm() - Me.MainForm = Global.D9112_AI_Single_Buffer_Callback.Form1 - End Sub - End Class -End Namespace diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/.NET/VB.NET/9112/D9112_AI_Single_Buffer_Callback/D9112_AI_Single_Buffer_Callback/My Project/Application.myapp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/.NET/VB.NET/9112/D9112_AI_Single_Buffer_Callback/D9112_AI_Single_Buffer_Callback/My Project/Application.myapp deleted file mode 100644 index 1243847..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/.NET/VB.NET/9112/D9112_AI_Single_Buffer_Callback/D9112_AI_Single_Buffer_Callback/My Project/Application.myapp +++ /dev/null @@ -1,11 +0,0 @@ - - - true - Form1 - false - 0 - true - 0 - 0 - true - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/.NET/VB.NET/9112/D9112_AI_Single_Buffer_Callback/D9112_AI_Single_Buffer_Callback/My Project/AssemblyInfo.vb b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/.NET/VB.NET/9112/D9112_AI_Single_Buffer_Callback/D9112_AI_Single_Buffer_Callback/My Project/AssemblyInfo.vb deleted file mode 100644 index b865379..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/.NET/VB.NET/9112/D9112_AI_Single_Buffer_Callback/D9112_AI_Single_Buffer_Callback/My Project/AssemblyInfo.vb +++ /dev/null @@ -1,35 +0,0 @@ -Imports System -Imports System.Reflection -Imports System.Runtime.InteropServices - -' 組件的一般資訊是由下列的屬性集控制。 -' 變更這些屬性的值即可修改組件的相關 -' 資訊。 - -' 檢閱組件屬性的值 - - - - - - - - - - -'下列 GUID 為專案公開 (Expose) 至 COM 時所要使用的 typelib ID - - -' 組件的版本資訊是由下列四項值構成: -' -' 主要版本 -' 次要版本 -' 組建編號 -' 修訂編號 -' -' 您可以指定所有的值,也可以依照以下的方式,使用 '*' 將組建和修訂編號 -' 指定為預設值: -' - - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/.NET/VB.NET/9112/D9112_AI_Single_Buffer_Callback/D9112_AI_Single_Buffer_Callback/My Project/Resources.Designer.vb b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/.NET/VB.NET/9112/D9112_AI_Single_Buffer_Callback/D9112_AI_Single_Buffer_Callback/My Project/Resources.Designer.vb deleted file mode 100644 index b1761d4..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/.NET/VB.NET/9112/D9112_AI_Single_Buffer_Callback/D9112_AI_Single_Buffer_Callback/My Project/Resources.Designer.vb +++ /dev/null @@ -1,62 +0,0 @@ -'------------------------------------------------------------------------------ -' -' This code was generated by a tool. -' Runtime Version:2.0.50727.42 -' -' Changes to this file may cause incorrect behavior and will be lost if -' the code is regenerated. -' -'------------------------------------------------------------------------------ - -Option Strict On -Option Explicit On - - -Namespace My.Resources - - 'This class was auto-generated by the StronglyTypedResourceBuilder - 'class via a tool like ResGen or Visual Studio. - 'To add or remove a member, edit your .ResX file then rerun ResGen - 'with the /str option, or rebuild your VS project. - ' - ' A strongly-typed resource class, for looking up localized strings, etc. - ' - _ - Friend Module Resources - - Private resourceMan As Global.System.Resources.ResourceManager - - Private resourceCulture As Global.System.Globalization.CultureInfo - - ' - ' Returns the cached ResourceManager instance used by this class. - ' - _ - Friend ReadOnly Property ResourceManager() As Global.System.Resources.ResourceManager - Get - If Object.ReferenceEquals(resourceMan, Nothing) Then - Dim temp As Global.System.Resources.ResourceManager = New Global.System.Resources.ResourceManager("D9112_AI_Single_Buffer_Callback.Resources", GetType(Resources).Assembly) - resourceMan = temp - End If - Return resourceMan - End Get - End Property - - ' - ' Overrides the current thread's CurrentUICulture property for all - ' resource lookups using this strongly typed resource class. - ' - _ - Friend Property Culture() As Global.System.Globalization.CultureInfo - Get - Return resourceCulture - End Get - Set(ByVal value As Global.System.Globalization.CultureInfo) - resourceCulture = value - End Set - End Property - End Module -End Namespace diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/.NET/VB.NET/9112/D9112_AI_Single_Buffer_Callback/D9112_AI_Single_Buffer_Callback/My Project/Resources.resx b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/.NET/VB.NET/9112/D9112_AI_Single_Buffer_Callback/D9112_AI_Single_Buffer_Callback/My Project/Resources.resx deleted file mode 100644 index af7dbeb..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/.NET/VB.NET/9112/D9112_AI_Single_Buffer_Callback/D9112_AI_Single_Buffer_Callback/My Project/Resources.resx +++ /dev/null @@ -1,117 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - text/microsoft-resx - - - 2.0 - - - System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - \ No newline at end of file diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/.NET/VB.NET/9112/D9112_AI_Single_Buffer_Callback/D9112_AI_Single_Buffer_Callback/My Project/Settings.Designer.vb b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/.NET/VB.NET/9112/D9112_AI_Single_Buffer_Callback/D9112_AI_Single_Buffer_Callback/My Project/Settings.Designer.vb deleted file mode 100644 index b10aba5..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/.NET/VB.NET/9112/D9112_AI_Single_Buffer_Callback/D9112_AI_Single_Buffer_Callback/My Project/Settings.Designer.vb +++ /dev/null @@ -1,73 +0,0 @@ -'------------------------------------------------------------------------------ -' -' This code was generated by a tool. -' Runtime Version:2.0.50727.42 -' -' Changes to this file may cause incorrect behavior and will be lost if -' the code is regenerated. -' -'------------------------------------------------------------------------------ - -Option Strict On -Option Explicit On - - -Namespace My - - _ - Partial Friend NotInheritable Class MySettings - Inherits Global.System.Configuration.ApplicationSettingsBase - - Private Shared defaultInstance As MySettings = CType(Global.System.Configuration.ApplicationSettingsBase.Synchronized(New MySettings), MySettings) - -#Region "My.Settings Auto-Save Functionality" -#If _MyType = "WindowsForms" Then - Private Shared addedHandler As Boolean - - Private Shared addedHandlerLockObject As New Object - - _ - Private Shared Sub AutoSaveSettings(ByVal sender As Global.System.Object, ByVal e As Global.System.EventArgs) - If My.Application.SaveMySettingsOnExit Then - My.Settings.Save() - End If - End Sub -#End If -#End Region - - Public Shared ReadOnly Property [Default]() As MySettings - Get - -#If _MyType = "WindowsForms" Then - If Not addedHandler Then - SyncLock addedHandlerLockObject - If Not addedHandler Then - AddHandler My.Application.Shutdown, AddressOf AutoSaveSettings - addedHandler = True - End If - End SyncLock - End If -#End If - Return defaultInstance - End Get - End Property - End Class -End Namespace - -Namespace My - - _ - Friend Module MySettingsProperty - - _ - Friend ReadOnly Property Settings() As Global.D9112_AI_Single_Buffer_Callback.My.MySettings - Get - Return Global.D9112_AI_Single_Buffer_Callback.My.MySettings.Default - End Get - End Property - End Module -End Namespace diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/.NET/VB.NET/9112/D9112_AI_Single_Buffer_Callback/D9112_AI_Single_Buffer_Callback/My Project/Settings.settings b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/.NET/VB.NET/9112/D9112_AI_Single_Buffer_Callback/D9112_AI_Single_Buffer_Callback/My Project/Settings.settings deleted file mode 100644 index 85b890b..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/.NET/VB.NET/9112/D9112_AI_Single_Buffer_Callback/D9112_AI_Single_Buffer_Callback/My Project/Settings.settings +++ /dev/null @@ -1,7 +0,0 @@ - - - - - - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/.NET/VB.NET/9112/D9112_AI_Single_Buffer_Check/D9112_AI_Single_Buffer_Check.sln b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/.NET/VB.NET/9112/D9112_AI_Single_Buffer_Check/D9112_AI_Single_Buffer_Check.sln deleted file mode 100644 index 9c5918d..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/.NET/VB.NET/9112/D9112_AI_Single_Buffer_Check/D9112_AI_Single_Buffer_Check.sln +++ /dev/null @@ -1,26 +0,0 @@ - -Microsoft Visual Studio Solution File, Format Version 9.00 -# Visual Studio 2005 -Project("{F184B08F-C81C-45F6-A57F-5ABD9991F28F}") = "D9112_AI_Single_Buffer_Check", "D9112_AI_Single_Buffer_Check\D9112_AI_Single_Buffer_Check.vbproj", "{3F424F28-A9ED-4552-824E-56B914BA83C7}" -EndProject -Global - GlobalSection(SolutionConfigurationPlatforms) = preSolution - Debug|Any CPU = Debug|Any CPU - Debug|x86 = Debug|x86 - Release|Any CPU = Release|Any CPU - Release|x86 = Release|x86 - EndGlobalSection - GlobalSection(ProjectConfigurationPlatforms) = postSolution - {3F424F28-A9ED-4552-824E-56B914BA83C7}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {3F424F28-A9ED-4552-824E-56B914BA83C7}.Debug|Any CPU.Build.0 = Debug|Any CPU - {3F424F28-A9ED-4552-824E-56B914BA83C7}.Debug|x86.ActiveCfg = Debug|x86 - {3F424F28-A9ED-4552-824E-56B914BA83C7}.Debug|x86.Build.0 = Debug|x86 - {3F424F28-A9ED-4552-824E-56B914BA83C7}.Release|Any CPU.ActiveCfg = Release|Any CPU - {3F424F28-A9ED-4552-824E-56B914BA83C7}.Release|Any CPU.Build.0 = Release|Any CPU - {3F424F28-A9ED-4552-824E-56B914BA83C7}.Release|x86.ActiveCfg = Release|x86 - {3F424F28-A9ED-4552-824E-56B914BA83C7}.Release|x86.Build.0 = Release|x86 - EndGlobalSection - GlobalSection(SolutionProperties) = preSolution - HideSolutionNode = FALSE - EndGlobalSection -EndGlobal diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/.NET/VB.NET/9112/D9112_AI_Single_Buffer_Check/D9112_AI_Single_Buffer_Check/D9112_AI_Single_Buffer_Check.vbproj b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/.NET/VB.NET/9112/D9112_AI_Single_Buffer_Check/D9112_AI_Single_Buffer_Check/D9112_AI_Single_Buffer_Check.vbproj deleted file mode 100644 index 8ea2d8f..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/.NET/VB.NET/9112/D9112_AI_Single_Buffer_Check/D9112_AI_Single_Buffer_Check/D9112_AI_Single_Buffer_Check.vbproj +++ /dev/null @@ -1,155 +0,0 @@ - - - - Debug - AnyCPU - 8.0.50727 - 2.0 - {3F424F28-A9ED-4552-824E-56B914BA83C7} - WinExe - D9112_AI_Single_Buffer_Check.Form1 - D9112_AI_Single_Buffer_Check - D9112_AI_Single_Buffer_Check - WindowsFormsWithCustomSubMain - - - true - full - true - true - bin\ - D9112_AI_Single_Buffer_Check.xml - 41999,42016,42017,42018,42019,42032,42036 - x86 - Win32=True - - - pdbonly - false - true - true - bin\Release\ - D9112_AI_Single_Buffer_Check.xml - 41999,42016,42017,42018,42019,42032,42036 - x86 - - - true - true - true - bin\x86\Debug\ - D9112_AI_Single_Buffer_Check.xml - 41999,42016,42017,42018,42019,42032,42036 - full - x86 - - - true - bin\x86\Release\ - D9112_AI_Single_Buffer_Check.xml - true - 41999,42016,42017,42018,42019,42032,42036 - pdbonly - x86 - - - - - - - - - - - - - - - - - - - - - - - Form - - - Form1.vb - Form - - - - True - Application.myapp - - - True - True - Resources.resx - - - True - Settings.settings - True - - - - - Designer - Form1.vb - - - VbMyResourcesResXFileCodeGenerator - Resources.Designer.vb - My.Resources - Designer - - - - - MyApplicationCodeGenerator - Application.Designer.vb - - - SettingsSingleFileGenerator - My - Settings.Designer.vb - - - - - {5CB6BA63-F26A-11D2-BA6D-0080AD747B35} - 2 - 4 - 0 - aximp - False - - - {5CB6BA63-F26A-11D2-BA6D-0080AD747B35} - 2 - 4 - 0 - tlbimp - False - - - {00020430-0000-0000-C000-000000000046} - 2 - 0 - 0 - primary - False - - - - - \ No newline at end of file diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/.NET/VB.NET/9112/D9112_AI_Single_Buffer_Check/D9112_AI_Single_Buffer_Check/DASK.vb b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/.NET/VB.NET/9112/D9112_AI_Single_Buffer_Check/D9112_AI_Single_Buffer_Check/DASK.vb deleted file mode 100644 index dcb8a7a..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/.NET/VB.NET/9112/D9112_AI_Single_Buffer_Check/D9112_AI_Single_Buffer_Check/DASK.vb +++ /dev/null @@ -1,655 +0,0 @@ -Option Strict Off -Option Explicit On -Module DASK - - 'ADLink PCI Card Type - Public Const PCI_6208V As Short = 1 - Public Const PCI_6208A As Short = 2 - Public Const PCI_6308V As Short = 3 - Public Const PCI_6308A As Short = 4 - Public Const PCI_7200 As Short = 5 - Public Const PCI_7230 As Short = 6 - Public Const PCI_7233 As Short = 7 - Public Const PCI_7234 As Short = 8 - Public Const PCI_7248 As Short = 9 - Public Const PCI_7249 As Short = 10 - Public Const PCI_7250 As Short = 11 - Public Const PCI_7252 As Short = 12 - Public Const PCI_7296 As Short = 13 - Public Const PCI_7300A_RevA As Short = 14 - Public Const PCI_7300A_RevB As Short = 15 - Public Const PCI_7432 As Short = 16 - Public Const PCI_7433 As Short = 17 - Public Const PCI_7434 As Short = 18 - Public Const PCI_8554 As Short = 19 - Public Const PCI_9111DG As Short = 20 - Public Const PCI_9111HR As Short = 21 - Public Const PCI_9112 As Short = 22 - Public Const PCI_9113 As Short = 23 - Public Const PCI_9114DG As Short = 24 - Public Const PCI_9114HG As Short = 25 - Public Const PCI_9118DG As Short = 26 - Public Const PCI_9118HG As Short = 27 - Public Const PCI_9118HR As Short = 28 - Public Const PCI_9810 As Short = 29 - Public Const PCI_9812 As Short = 30 - Public Const PCI_7396 As Short = 31 - Public Const PCI_9116 As Short = 32 - Public Const PCI_7256 As Short = 33 - Public Const PCI_7258 As Short = 34 - Public Const PCI_7260 As Short = 35 - Public Const PCI_7452 As Short = 36 - Public Const PCI_7442 As Short = 37 - - Public Const MAX_CARD As Short = 32 - - 'Error Code - Public Const NoError As Short = 0 - Public Const ErrorUnknownCardType As Short = -1 - Public Const ErrorInvalidCardNumber As Short = -2 - Public Const ErrorTooManyCardRegistered As Short = -3 - Public Const ErrorCardNotRegistered As Short = -4 - Public Const ErrorFuncNotSupport As Short = -5 - Public Const ErrorInvalidIoChannel As Short = -6 - Public Const ErrorInvalidAdRange As Short = -7 - Public Const ErrorContIoNotAllowed As Short = -8 - Public Const ErrorDiffRangeNotSupport As Short = -9 - Public Const ErrorLastChannelNotZero As Short = -10 - Public Const ErrorChannelNotDescending As Short = -11 - Public Const ErrorChannelNotAscending As Short = -12 - Public Const ErrorOpenDriverFailed As Short = -13 - Public Const ErrorOpenEventFailed As Short = -14 - Public Const ErrorTransferCountTooLarge As Short = -15 - Public Const ErrorNotDoubleBufferMode As Short = -16 - Public Const ErrorInvalidSampleRate As Short = -17 - Public Const ErrorInvalidCounterMode As Short = -18 - Public Const ErrorInvalidCounter As Short = -19 - Public Const ErrorInvalidCounterState As Short = -20 - Public Const ErrorInvalidBinBcdParam As Short = -21 - Public Const ErrorBadCardType As Short = -22 - Public Const ErrorInvalidDaRange As Short = -23 - Public Const ErrorAdTimeOut As Short = -24 - Public Const ErrorNoAsyncAI As Short = -25 - Public Const ErrorNoAsyncAO As Short = -26 - Public Const ErrorNoAsyncDI As Short = -27 - Public Const ErrorNoAsyncDO As Short = -28 - Public Const ErrorNotInputPort As Short = -29 - Public Const ErrorNotOutputPort As Short = -30 - Public Const ErrorInvalidDioPort As Short = -31 - Public Const ErrorInvalidDioLine As Short = -32 - Public Const ErrorContIoActive As Short = -33 - Public Const ErrorDblBufModeNotAllowed As Short = -34 - Public Const ErrorConfigFailed As Short = -35 - Public Const ErrorInvalidPortDirection As Short = -36 - Public Const ErrorBeginThreadError As Short = -37 - Public Const ErrorInvalidPortWidth As Short = -38 - Public Const ErrorInvalidCtrSource As Short = -39 - Public Const ErrorOpenFile As Short = -40 - Public Const ErrorAllocateMemory As Short = -41 - Public Const ErrorDaVoltageOutOfRange As Short = -42 - Public Const ErrorDaExtRefNotAllowed As Short = -43 - Public Const ErrorDIODataWidthError As Short = -44 - Public Const ErrorTaskCodeError As Short = -45 - Public Const ErrortriggercountError As Short = -46 - Public Const ErrorInvalidTriggerMode As Short = -47 - Public Const ErrorInvalidTriggerType As Short = -48 - Public Const ErrorInvalidCounterValue As Short = -50 - Public Const ErrorInvalidEventHandle As Short = -60 - Public Const ErrorNoMessageAvailable As Short = -61 - Public Const ErrorEventMessgaeNotAdded As Short = -62 - - 'Error code for driver API - Public Const ErrorConfigIoctl As Short = -201 - Public Const ErrorAsyncSetIoctl As Short = -202 - Public Const ErrorDBSetIoctl As Short = -203 - Public Const ErrorDBHalfReadyIoctl As Short = -204 - Public Const ErrorContOPIoctl As Short = -205 - Public Const ErrorContStatusIoctl As Short = -206 - Public Const ErrorPIOIoctl As Short = -207 - Public Const ErrorDIntSetIoctl As Short = -208 - Public Const ErrorWaitEvtIoctl As Short = -209 - Public Const ErrorOpenEvtIoctl As Short = -210 - Public Const ErrorCOSIntSetIoctl As Short = -211 - Public Const ErrorMemMapIoctl As Short = -212 - Public Const ErrorMemUMapSetIoctl As Short = -213 - Public Const ErrorCTRIoctl As Short = -214 - Public Const ErrorGetResIoctl As Short = -215 - - 'Synchronous Mode - Public Const SYNCH_OP As Short = 1 - Public Const ASYNCH_OP As Short = 2 - - 'AD Range - Public Const AD_B_10_V As Short = 1 - Public Const AD_B_5_V As Short = 2 - Public Const AD_B_2_5_V As Short = 3 - Public Const AD_B_1_25_V As Short = 4 - Public Const AD_B_0_625_V As Short = 5 - Public Const AD_B_0_3125_V As Short = 6 - Public Const AD_B_0_5_V As Short = 7 - Public Const AD_B_0_05_V As Short = 8 - Public Const AD_B_0_005_V As Short = 9 - Public Const AD_B_1_V As Short = 10 - Public Const AD_B_0_1_V As Short = 11 - Public Const AD_B_0_01_V As Short = 12 - Public Const AD_B_0_001_V As Short = 13 - Public Const AD_U_20_V As Short = 14 - Public Const AD_U_10_V As Short = 15 - Public Const AD_U_5_V As Short = 16 - Public Const AD_U_2_5_V As Short = 17 - Public Const AD_U_1_25_V As Short = 18 - Public Const AD_U_1_V As Short = 19 - Public Const AD_U_0_1_V As Short = 20 - Public Const AD_U_0_01_V As Short = 21 - Public Const AD_U_0_001_V As Short = 22 - - 'Trigger Source - Public Const TRIG_SOFTWARE As Short = 0 - Public Const TRIG_INT_PACER As Short = 1 - Public Const TRIG_EXT_STROBE As Short = 2 - Public Const TRIG_HANDSHAKE As Short = 3 - Public Const TRIG_CLK_10MHZ As Short = 4 'PCI-7300A - Public Const TRIG_CLK_20MHZ As Short = 5 'PCI-7300A - Public Const TRIG_DO_CLK_TIMER_ACK As Short = 6 'PCI-7300A Rev. B - Public Const TRIG_DO_CLK_10M_ACK As Short = 7 'PCI-7300A Rev. B - Public Const TRIG_DO_CLK_20M_ACK As Short = 8 'PCI-7300A Rev. B - - 'Virtual sampling rate for using external clock as the clock source - Public Const CLKSRC_EXT_SampRate As Short = 10000 - - '--------- Constants for PCI-6208A -------------- - 'Output Mode - Public Const P6208_CURRENT_0_20MA As Short = 0 - Public Const P6208_CURRENT_5_25MA As Short = 1 - Public Const P6208_CURRENT_4_20MA As Short = 3 - - '--------- Constants for PCI-6308A/PCI-6308V -------------- - 'Output Mode - Public Const P6308_CURRENT_0_20MA As Short = 0 - Public Const P6308_CURRENT_5_25MA As Short = 1 - Public Const P6308_CURRENT_4_20MA As Short = 3 - 'AO Setting - Public Const P6308V_AO_CH0_3 As Short = 0 - Public Const P6308V_AO_CH4_7 As Short = 1 - Public Const P6308V_AO_UNIPOLAR As Short = 0 - Public Const P6308V_AO_BIPOLAR As Short = 1 - - '--------- Constants for PCI-7200 -------------- - 'InputMode - Public Const DI_WAITING As Short = &H2s - Public Const DI_NOWAITING As Short = &H0s - - Public Const DI_TRIG_RISING As Short = &H4s - Public Const DI_TRIG_FALLING As Short = &H0s - - Public Const IREQ_RISING As Short = &H8s - Public Const IREQ_FALLING As Short = &H0s - - 'Output Mode - Public Const OREQ_ENABLE As Short = &H10s - Public Const OREQ_DISABLE As Short = &H0s - - Public Const OTRIG_HIGH As Short = &H20s - Public Const OTRIG_LOW As Short = &H0s - - '--------- Constants for PCI-7248/7296/7442 -------------- - 'DIO Port Direction - Public Const INPUT_PORT As Short = 1 - Public Const OUTPUT_PORT As Short = 2 - 'DIO Line Direction - Public Const INPUT_LINE As Short = 1 - Public Const OUTPUT_LINE As Short = 2 - - 'Channel&Port - Public Const Channel_P1A As Short = 0 - Public Const Channel_P1B As Short = 1 - Public Const Channel_P1C As Short = 2 - Public Const Channel_P1CL As Short = 3 - Public Const Channel_P1CH As Short = 4 - Public Const Channel_P1AE As Short = 10 - Public Const Channel_P1BE As Short = 11 - Public Const Channel_P1CE As Short = 12 - Public Const Channel_P2A As Short = 5 - Public Const Channel_P2B As Short = 6 - Public Const Channel_P2C As Short = 7 - Public Const Channel_P2CL As Short = 8 - Public Const Channel_P2CH As Short = 9 - Public Const Channel_P2AE As Short = 15 - Public Const Channel_P2BE As Short = 16 - Public Const Channel_P2CE As Short = 17 - Public Const Channel_P3A As Short = 10 - Public Const Channel_P3B As Short = 11 - Public Const Channel_P3C As Short = 12 - Public Const Channel_P3CL As Short = 13 - Public Const Channel_P3CH As Short = 14 - Public Const Channel_P4A As Short = 15 - Public Const Channel_P4B As Short = 16 - Public Const Channel_P4C As Short = 17 - Public Const Channel_P4CL As Short = 18 - Public Const Channel_P4CH As Short = 19 - Public Const Channel_P5A As Short = 20 - Public Const Channel_P5B As Short = 21 - Public Const Channel_P5C As Short = 22 - Public Const Channel_P5CL As Short = 23 - Public Const Channel_P5CH As Short = 24 - Public Const Channel_P6A As Short = 25 - Public Const Channel_P6B As Short = 26 - Public Const Channel_P6C As Short = 27 - Public Const Channel_P6CL As Short = 28 - Public Const Channel_P6CH As Short = 29 - Public Const Channel_P1 As Short = 30 - Public Const Channel_P2 As Short = 31 - Public Const Channel_P3 As Short = 32 - Public Const Channel_P4 As Short = 33 - Public Const Channel_P1E As Short = 34 - Public Const Channel_P2E As Short = 35 - Public Const Channel_P3E As Short = 36 - Public Const Channel_P4E As Short = 37 - - Public Const P7442_CH0 As Short = 0 - Public Const P7442_CH1 As Short = 1 - Public Const P7442_TTL0 As Short = 2 - Public Const P7442_TTL1 As Short = 3 - - '--------- Constants for PCI-7300A -------------- - 'Wait Status - Public Const P7300_WAIT_NO As Short = 0 - Public Const P7300_WAIT_TRG As Short = 1 - Public Const P7300_WAIT_FIFO As Short = 2 - Public Const P7300_WAIT_BOTH As Short = 3 - - 'Terminator control - Public Const P7300_TERM_OFF As Short = 0 - Public Const P7300_TERM_ON As Short = 1 - - 'DI control signals polarity for PCI-7300A Rev. B - Public Const P7300_DIREQ_POS As Short = &H0s - Public Const P7300_DIREQ_NEG As Short = &H1s - Public Const P7300_DIACK_POS As Short = &H0s - Public Const P7300_DIACK_NEG As Short = &H2s - Public Const P7300_DITRIG_POS As Short = &H0s - Public Const P7300_DITRIG_NEG As Short = &H4s - - 'DO control signals polarity for PCI-7300A Rev. B - Public Const P7300_DOREQ_POS As Short = &H0s - Public Const P7300_DOREQ_NEG As Short = &H8s - Public Const P7300_DOACK_POS As Short = &H0s - Public Const P7300_DOACK_NEG As Short = &H10s - Public Const P7300_DOTRIG_POS As Short = &H0s - Public Const P7300_DOTRIG_NEG As Short = &H20s - - '--------- Constants for PCI-7432/7433/7434 -------------- - Public Const CHANNEL_DI_LOW As Short = 0 - Public Const CHANNEL_DI_HIGH As Short = 1 - Public Const CHANNEL_DO_LOW As Short = 0 - Public Const CHANNEL_DO_HIGH As Short = 1 - Public Const P7432R_DO_LED As Short = 1 - Public Const P7433R_DO_LED As Short = 0 - Public Const P7434R_DO_LED As Short = 2 - Public Const P7432R_DI_SLOT As Short = 1 - Public Const P7433R_DI_SLOT As Short = 2 - Public Const P7434R_DI_SLOT As Short = 0 - - '----- Dual-Interrupt Source control for PCI-7248/49/96 & 7230 & 8554 & 7396 &7256/58 & 7260----- - Public Const INT1_DISABLE As Short = -1 'INT1 Disabled - Public Const INT1_COS As Short = 0 'INT1 COS : only available for PCI-7396, PCI-7256/58 & PCI-7260 - Public Const INT1_FP1C0 As Short = 1 'INT1 by Falling edge of P1C0 - Public Const INT1_RP1C0_FP1C3 As Short = 2 'INT1 by P1C0 Rising or P1C3 Falling - Public Const INT1_EVENT_COUNTER As Short = 3 'INT1 by Event Counter down to zero - Public Const INT1_EXT_SIGNAL As Short = 1 'INT1 by external signal : only available for PCI7432/PCI7433/PCI7230 - Public Const INT1_COUT12 As Short = 1 'INT1 COUT12 : only available for PCI8554 - Public Const INT1_CH0 As Short = 1 'INT1 CH0 : only available for PCI7256/58/60 - Public Const INT1_COS0 As Short = 1 'INT1 COS0 : only available for PCI-7452 - Public Const INT1_COS1 As Short = 2 'INT1 COS1 : only available for PCI-7452 - Public Const INT1_COS2 As Short = 3 'INT1 COS2 : only available for PCI-7452 - Public Const INT1_COS3 As Short = 8 'INT1 COS3 : only available for PCI-7452 - Public Const INT2_DISABLE As Short = -1 'INT2 Disabled - Public Const INT2_COS As Short = 0 'INT2 COS : only available for PCI-7396 - Public Const INT2_FP2C0 As Short = 1 'INT2 by Falling edge of P2C0 - Public Const INT2_RP2C0_FP2C3 As Short = 2 'INT2 by P2C0 Rising or P2C3 Falling - Public Const INT2_TIMER_COUNTER As Short = 3 'INT2 by Timer Counter down to zero - Public Const INT2_EXT_SIGNAL As Short = 1 'INT2 by external signal : only available for PCI7432/PCI7433/PCI7230 - Public Const INT2_CH1 As Short = 2 'INT2 CH1 : only available for PCI7256/58/60 - Public Const INT2_WDT As Short = 4 'INT2 by WDT - - Public Const WDT_OVRFLOW_SAFETYOUT As Short = &H8000s 'enable safteyout while WDT overflow - '-------- Constants for PCI-8554 -------------------- - 'Clock Source of Cunter N - Public Const ECKN As Short = 0 - Public Const COUTN_1 As Short = 1 - Public Const CK1 As Short = 2 - Public Const COUT10 As Short = 3 - - 'Clock Source of CK1 - Public Const CK1_C8M As Short = 0 - Public Const CK1_COUT11 As Short = 1 - - 'Debounce Clock - Public Const DBCLK_COUT11 As Short = 0 - Public Const DBCLK_2MHZ As Short = 1 - - '--------- Constants for PCI-9111 -------------- - 'Dual Interrupt Mode - Public Const P9111_INT1_EOC As Short = 0 'Ending of AD conversion - Public Const P9111_INT1_FIFO_HF As Short = 1 'FIFO Half Full - Public Const P9111_INT2_PACER As Short = 0 'Every Timer tick - Public Const P9111_INT2_EXT_TRG As Short = 1 'ExtTrig High->Low - - 'Channel Count - Public Const P9111_CHANNEL_DO As Short = 0 - Public Const P9111_CHANNEL_EDO As Short = 1 - Public Const P9111_CHANNEL_DI As Short = 0 - Public Const P9111_CHANNEL_EDI As Short = 1 - - 'Trigger Mode - Public Const P9111_TRGMOD_SOFT As Short = 0 'Software Trigger Mode - Public Const P9111_TRGMOD_PRE As Short = 1 'Pre-Trigger Mode - Public Const P9111_TRGMOD_POST As Short = 2 'Post Trigger Mode - - 'EDO function - Public Const P9111_EDO_INPUT As Short = 1 'EDO port set as Input port - Public Const P9111_EDO_OUT_EDO As Short = 2 'EDO port set as Output port - Public Const P9111_EDO_OUT_CHN As Short = 3 'EDO port set as channel number ouput port - - 'AO Setting - Public Const P9111_AO_UNIPOLAR As Short = 0 - Public Const P9111_AO_BIPOLAR As Short = 1 - - '--------- Constants for PCI-9118 -------------- - Public Const P9118_AI_BiPolar As Short = &H0s - Public Const P9118_AI_UniPolar As Short = &H1s - - Public Const P9118_AI_SingEnded As Short = &H0s - Public Const P9118_AI_Differential As Short = &H2s - - Public Const P9118_AI_ExtG As Short = &H4s - - Public Const P9118_AI_ExtTrig As Short = &H8s - - Public Const P9118_AI_DtrgNegative As Short = &H0s - Public Const P9118_AI_DtrgPositive As Short = &H10s - - Public Const P9118_AI_EtrgNegative As Short = &H0s - Public Const P9118_AI_EtrgPositive As Short = &H20s - - Public Const P9118_AI_BurstModeEn As Short = &H40s - Public Const P9118_AI_SampleHold As Short = &H80s - Public Const P9118_AI_PostTrgEn As Short = &H100s - Public Const P9118_AI_AboutTrgEn As Short = &H200s - - '--------- Constants for PCI-9812/9810 -------------- - 'Channel Count - Public Const P9116_AI_LocalGND As Short = &H0s - Public Const P9116_AI_UserCMMD As Short = &H1s - Public Const P9116_AI_SingEnded As Short = &H0s - Public Const P9116_AI_Differential As Short = &H2s - Public Const P9116_AI_BiPolar As Short = &H0s - Public Const P9116_AI_UniPolar As Short = &H4s - - Public Const P9116_TRGMOD_SOFT As Short = &H0s 'Software Trigger Mode - Public Const P9116_TRGMOD_POST As Short = &H10s 'Post Trigger Mode - Public Const P9116_TRGMOD_DELAY As Short = &H20s 'Delay Trigger Mode - Public Const P9116_TRGMOD_PRE As Short = &H30s 'Pre-Trigger Mode - Public Const P9116_TRGMOD_MIDL As Short = &H40s 'Middle Trigger Mode - Public Const P9116_AI_TrgPositive As Short = &H0s - Public Const P9116_AI_TrgNegative As Short = &H80s - Public Const P9116_AI_IntTimeBase As Short = &H0s - Public Const P9116_AI_ExtTimeBase As Short = &H100s - Public Const P9116_AI_DlyInSamples As Short = &H200s - Public Const P9116_AI_DlyInTimebase As Short = &H0s - Public Const P9116_AI_ReTrigEn As Short = &H400s - Public Const P9116_AI_MCounterEn As Short = &H800s - Public Const P9116_AI_SoftPolling As Short = &H0s - Public Const P9116_AI_INT As Short = &H1000s - Public Const P9116_AI_DMA As Short = &H2000s - - '--------- Constants for PCI-9812/9810 -------------- - 'Channel Count - Public Const P9812_CHANNEL_CNT1 As Short = 1 - Public Const P9812_CHANNEL_CNT2 As Short = 2 - Public Const P9812_CHANNEL_CNT4 As Short = 4 - - 'Trigger Mode - Public Const P9812_TRGMOD_SOFT As Short = 0 'Software Trigger Mode - Public Const P9812_TRGMOD_POST As Short = 1 'Post Trigger Mode - Public Const P9812_TRGMOD_PRE As Short = 2 'Pre-Trigger Mode - Public Const P9812_TRGMOD_DELAY As Short = 3 'Delay Trigger Mode - Public Const P9812_TRGMOD_MIDL As Short = 4 'Middle Trigger Mode - - 'Trigger Source - Public Const P9812_TRGSRC_CH0 As Short = 0 'trigger source --CH0 - Public Const P9812_TRGSRC_CH1 As Short = 8 'trigger source --CH1 - Public Const P9812_TRGSRC_CH2 As Short = &H10s 'trigger source --CH2 - Public Const P9812_TRGSRC_CH3 As Short = &H18s 'trigger source --CH3 - Public Const P9812_TRGSRC_EXT_DIG As Short = &H20s 'External Digital Trigger - - 'Trigger Polarity - Public Const P9812_TRGSLP_POS As Short = 0 'Positive slope trigger - Public Const P9812_TRGSLP_NEG As Short = &H40s 'Negative slope trigger - - 'Frequency Selection - Public Const P9812_AD2_GT_PCI As Short = &H80s 'Freq. of A/D clock > PCI clock freq. - Public Const P9812_AD2_LT_PCI As Short = &H0s 'Freq. of A/D clock < PCI clock freq. - - 'Clock Source - Public Const P9812_CLKSRC_INT As Short = &H0s 'Internal clock - Public Const P9812_CLKSRC_EXT_SIN As Short = &H100s 'External SIN wave clock - Public Const P9812_CLKSRC_EXT_DIG As Short = &H200s 'External Square wave clock - - 'DAQ Event type for the event message - Public Const AIEnd As Short = 0 - Public Const DIEnd As Short = 0 - Public Const DOEnd As Short = 0 - Public Const DBEvent As Short = 1 - - 'EMG shdn ctrl code - Public Const EMGSHDN_OFF As Short = 0 'off - Public Const EMGSHDN_ON As Short = 1 'on - Public Const EMGSHDN_RECOVERY As Short = 2 'recovery - - 'Hot Reset Hold ctrl code - Public Const HRH_OFF As Short = 0 'off - Public Const HRH_ON As Short = 1 'on - - '--------- Constants for Timer/Counter -------------- - 'Counter Mode (8254) - Public Const TOGGLE_OUTPUT As Short = 0 'Toggle output from low to high on terminal count - Public Const PROG_ONE_SHOT As Short = 1 'Programmable one-shot - Public Const RATE_GENERATOR As Short = 2 'Rate generator - Public Const SQ_WAVE_RATE_GENERATOR As Short = 3 'Square wave rate generator - Public Const SOFT_TRIG As Short = 4 'Software-triggered strobe - Public Const HARD_TRIG As Short = 5 'Hardware-triggered strobe - - '------- General Purpose Timer/Counter ----------------- - 'Counter Mode - Public Const General_Counter As Short = &H0s 'general counter - Public Const Pulse_Generation As Short = &H1s 'pulse generation - 'GPTC clock source - Public Const GPTC_CLKSRC_EXT As Short = &H8s - Public Const GPTC_CLKSRC_INT As Short = &H0s - Public Const GPTC_GATESRC_EXT As Short = &H10s - Public Const GPTC_GATESRC_INT As Short = &H0s - Public Const GPTC_UPDOWN_SELECT_EXT As Short = &H20s - Public Const GPTC_UPDOWN_SELECT_SOFT As Short = &H0s - Public Const GPTC_UP_CTR As Short = &H40s - Public Const GPTC_DOWN_CTR As Short = &H0s - Public Const GPTC_ENABLE As Short = &H80s - Public Const GPTC_DISABLE As Short = &H0s - - 'Watchdog Timer - 'Counter action - Public Const WDT_DISARM As Short = 0 - Public Const WDT_ARM As Short = 1 - Public Const WDT_RESTART As Short = 2 - - 'Pattern ID - Public Const INIT_PTN As Short = 0 - Public Const EMGSHDN_PTN As Short = 1 - - 'Pattern ID for 7442 - Public Const INIT_PTN_CH0 As Short = 0 - Public Const INIT_PTN_CH1 As Short = 1 - Public Const SAFTOUT_PTN_CH0 As Short = 4 - Public Const SAFTOUT_PTN_CH1 As Short = 5 - - '16-bit binary or 4-decade BCD counter - Public Const BIN As Short = 0 - Public Const BCD As Short = 1 - - Declare Function WaitForSingleObject Lib "kernel32" (ByVal hHandle As Integer, ByVal dwMilliseconds As Integer) As Integer - Public Delegate Sub CallbackDelegate() - - '------------------------------------------------------------------- - ' PCIS-DASK Function prototype - '-----------------------------------------------------------------*/ - Declare Function Register_Card Lib "Pci-Dask.dll" (ByVal cardType As Short, ByVal card_num As Short) As Short - Declare Function Release_Card Lib "Pci-Dask.dll" (ByVal CardNumber As Short) As Short - Declare Function GetActualRate Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal SampleRate As Double, ByRef ActualRate As Double) As Short - Declare Function GetCardType Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByRef cardType As Short) As Short - Declare Function GetBaseAddr Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByRef BaseAddr As Integer, ByRef BaseAddr2 As Integer) As Short - Declare Function GetLCRAddr Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByRef LcrAddr As Integer) As Short - Declare Function GetCardIndexFromID Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByRef cardType As Short, ByRef cardIndex As Short) As Short - Declare Function EMGShutDownControl Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal ctrl As Byte) As Short - Declare Function EMGShutDownStatus Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByRef ctrl As Byte) As Short - Declare Function HotResetHoldControl Lib "Pci-Dask.dll" (ByVal wCardNumber As Short, ByVal Enable As Byte) As Short - Declare Function HotResetHoldStatus Lib "Pci-Dask.dll" (ByVal wCardNumber As Short, ByRef sts As Byte) As Short - Declare Function SetInitPattern Lib "Pci-Dask.dll" (ByVal wCardNumber As Short, ByVal patID As Byte, ByVal pattern As Integer) As Short - Declare Function GetInitPattern Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal patID As Byte, ByRef pattern As Integer) As Short - Declare Function IdentifyLED_Control Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal ctrl As Byte) As Short - - 'AI Functions - Declare Function AI_9111_Config Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal TrigSource As Short, ByVal TrgMode As Short, ByVal wTraceCnt As Short) As Short - Declare Function AI_9112_Config Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal TrigSource As Short) As Short - Declare Function AI_9113_Config Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal TrigSource As Short) As Short - Declare Function AI_9114_Config Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal TrigSource As Short) As Short - Declare Function AI_9114_PreTrigConfig Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal PreTrgEn As Short, ByVal TraceCnt As Short) As Short - Declare Function AI_9116_Config Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal ConfigCtrl As Short, ByVal TrigCtrl As Short, ByVal PostCnt As Short, ByVal MCnt As Short, ByVal ReTrgCnt As Short) As Short - Declare Function AI_9118_Config Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal wModeCtrl As Short, ByVal wFunCtrl As Short, ByVal wBurstCnt As Short, ByVal wPostCnt As Short) As Short - Declare Function AI_9812_Config Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal wTrgMode As Short, ByVal wTrgSrc As Short, ByVal wTrgPol As Short, ByVal wClkSel As Short, ByVal wTrgLevel As Short, ByVal wPostCnt As Short) As Short - Declare Function AI_9116_CounterInterval Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal ScanIntrv As Integer, ByVal SampIntrv As Integer) As Short - Declare Function AI_9812_SetDiv Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal pacerVal As Integer) As Short - Declare Function AI_AsyncCheck Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByRef Stopped As Byte, ByRef AccessCnt As Integer) As Short - Declare Function AI_AsyncClear Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByRef AccessCnt As Integer) As Short - Declare Function AI_AsyncDblBufferHalfReady Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByRef HalfReady As Byte, ByRef StopFlag As Byte) As Short - Declare Function AI_AsyncDblBufferMode Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal Enable As Byte) As Short - Declare Function AI_AsyncDblBufferTransfer Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByRef Buffer As Short) As Short - Declare Function AI_ContReadChannel Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal Channel As Short, ByVal AdRange As Short, ByRef Buffer As UShort, ByVal ReadCount As Integer, ByVal SampleRate As Double, ByVal SyncMode As Short) As Short - Declare Function AI_ContScanChannels Lib "Pci-Dask.dll" (ByVal wCardNumber As Short, ByVal wChannel As Short, ByVal wAdRange As Short, ByRef pwBuffer As Short, ByVal dwReadCount As Integer, ByVal SampleRate As Double, ByVal SyncMode As Short) As Short - Declare Function AI_ContReadMultiChannels Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal NumChans As Short, ByRef chans As Short, ByRef AdRanges As Short, ByRef Buffer As Short, ByVal ReadCount As Integer, ByVal SampleRate As Double, ByVal SyncMode As Short) As Short - Declare Function AI_ContReadChannelToFile Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal Channel As Short, ByVal AdRange As Short, ByVal FileName As String, ByVal ReadCount As Integer, ByVal SampleRate As Double, ByVal SyncMode As Short) As Short - Declare Function AI_ContScanChannelsToFile Lib "Pci-Dask.dll" (ByVal wCardNumber As Short, ByVal wChannel As Short, ByVal wAdRange As Short, ByVal FileName As String, ByVal dwReadCount As Integer, ByVal SampleRate As Double, ByVal SyncMode As Short) As Short - Declare Function AI_ContReadMultiChannelsToFile Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal NumChans As Short, ByRef chans As Short, ByRef AdRanges As Short, ByVal FileName As String, ByVal ReadCount As Integer, ByVal SampleRate As Double, ByVal SyncMode As Short) As Short - Declare Function AI_ContStatus Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByRef Status As Short) As Short - Declare Function AI_InitialMemoryAllocated Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByRef MemSize As Integer) As Short - Declare Function AI_ReadChannel Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal Channel As Short, ByVal AdRange As Short, ByRef Value As Short) As Short - Declare Function AI_VReadChannel Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal Channel As Short, ByVal AdRange As Short, ByRef Voltage As Double) As Short - Declare Function AI_VoltScale Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal AdRange As Short, ByVal reading As Short, ByRef Voltage As Double) As Short - Declare Function AI_ContVScale Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal AdRange As Short, ByRef readingArray As UShort, ByRef voltageArray As Double, ByVal Count As Integer) As Short - Declare Function AI_AsyncDblBufferOverrun Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal op As Short, ByRef overrunFlag As Short) As Short - Declare Function AI_EventCallBack Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal Mode As Short, ByVal EventType As Short, ByVal callbackAddr As CallbackDelegate) As Short - - 'AO Functions - Declare Function AO_6208A_Config Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal V2AMode As Short) As Short - Declare Function AO_6308A_Config Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal V2AMode As Short) As Short - Declare Function AO_6308V_Config Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal Channel As Short, ByVal OutputPolarity As Short, ByVal refVoltage As Double) As Short - Declare Function AO_9111_Config Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal OutputPolarity As Short) As Short - Declare Function AO_9112_Config Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal Channel As Short, ByVal refVoltage As Double) As Short - Declare Function AO_WriteChannel Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal Channel As Short, ByVal Value As Short) As Short - Declare Function AO_VWriteChannel Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal Channel As Short, ByVal Voltage As Double) As Short - Declare Function AO_VoltScale Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal Channel As Short, ByVal Voltage As Double, ByRef binValue As Short) As Short - Declare Function AO_SimuWriteChannel Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal wGroup As Short, ByRef valueArray As Short) As Short - Declare Function AO_SimuVWriteChannel Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal wGroup As Short, ByRef voltageArray As Double) As Short - - 'DI Functions - Declare Function DI_7200_Config Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal TrigSource As Short, ByVal wExtTrigEn As Short, ByVal wTrigPol As Short, ByVal wI_REQ_Pol As Short) As Short - Declare Function DI_7300A_Config Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal PortWidth As Short, ByVal TrigSource As Short, ByVal WaitStatus As Short, ByVal Terminaor As Short, ByVal I_REQ_Pol As Short, ByVal clear_fifo As Byte, ByVal disable_di As Byte) As Short - Declare Function DI_7300B_Config Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal PortWidth As Short, ByVal TrigSource As Short, ByVal WaitStatus As Short, ByVal Terminator As Short, ByVal I_Cntrl_Pol As Short, ByVal clear_fifo As Byte, ByVal disable_di As Byte) As Short - Declare Function DI_AsyncCheck Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByRef Stopped As Byte, ByRef AccessCnt As Integer) As Short - Declare Function DI_AsyncClear Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByRef AccessCnt As Integer) As Short - Declare Function DI_AsyncDblBufferHalfReady Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByRef HalfReady As Byte) As Short - Declare Function DI_AsyncDblBufferMode Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal Enable As Byte) As Short - Declare Function DI_AsyncDblBufferTransfer Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByRef Buffer As Byte) As Short - Declare Function DI_AsyncDblBufferTransfer Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByRef Buffer As Short) As Short - Declare Function DI_AsyncDblBufferTransfer Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByRef Buffer As UInt32) As Short - Declare Function DI_ContMultiBufferSetup Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByRef Buffer As Byte, ByVal ReadCount As Integer, ByRef BufferId As Short) As Short - Declare Function DI_ContMultiBufferSetup Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByRef Buffer As Short, ByVal ReadCount As Integer, ByRef BufferId As Short) As Short - Declare Function DI_ContMultiBufferSetup Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByRef Buffer As UInt32, ByVal ReadCount As Integer, ByRef BufferId As Short) As Short - Declare Function DI_ContMultiBufferStart Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal Port As Short, ByVal SampleRate As Double) As Short - Declare Function DI_AsyncMultiBufferNextReady Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByRef NextReady As Byte, ByRef BufferId As Short) As Short - Declare Function DI_ContReadPort Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal Port As Integer, ByRef Buffer As Byte, ByVal ReadCount As Integer, ByVal SampleRate As Double, ByVal SyncMode As Short) As Short - Declare Function DI_ContReadPort Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal Port As Integer, ByRef Buffer As UShort, ByVal ReadCount As Integer, ByVal SampleRate As Double, ByVal SyncMode As Short) As Short - Declare Function DI_ContReadPort Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal Port As Integer, ByRef Buffer As UInt32, ByVal ReadCount As Integer, ByVal SampleRate As Double, ByVal SyncMode As Short) As Short - Declare Function DI_ContReadPortToFile Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal Port As Short, ByVal FileName As String, ByVal ReadCount As Integer, ByVal SampleRate As Double, ByVal SyncMode As Short) As Short - Declare Function DI_ContStatus Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByRef Status As Short) As Short - Declare Function DI_InitialMemoryAllocated Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByRef MemSize As Integer) As Short - Declare Function DI_ReadPort Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal Port As Short, ByRef Value As Integer) As Short - Declare Function DI_ReadLine Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal Port As Short, ByVal Line As Short, ByRef Value As Short) As Short - Declare Function DI_AsyncDblBufferOverrun Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal op As Short, ByRef overrunFlag As Short) As Short - Declare Function DI_EventCallBack Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal Mode As Short, ByVal EventType As Short, ByVal callbackAddr As Integer) As Short - - 'DO Functions - Declare Function DO_7200_Config Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal TrigSource As Short, ByVal wOutReqEn As Short, ByVal wOutTrigSig As Short) As Short - Declare Function DO_7300A_Config Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal PortWidth As Short, ByVal TrigSource As Short, ByVal WaitStatus As Short, ByVal Terminaor As Short, ByVal O_REQ_Pol As Short) As Short - Declare Function DO_7300B_Config Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal PortWidth As Short, ByVal TrigSource As Short, ByVal WaitStatus As Short, ByVal Terminator As Short, ByVal O_Cntrl_Pol As Short, ByVal FifoThreshold As Integer) As Short - Declare Function DO_AsyncCheck Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByRef Stopped As Byte, ByRef AccessCnt As Integer) As Short - Declare Function DO_AsyncClear Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByRef AccessCnt As Integer) As Short - Declare Function DO_ContWritePort Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal Port As Integer, ByRef Buffer As Byte, ByVal WriteCount As Integer, ByVal Iterations As Integer, ByVal SampleRate As Double, ByVal SyncMode As Short) As Short - Declare Function DO_ContWritePort Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal Port As Integer, ByRef Buffer As UShort, ByVal WriteCount As Integer, ByVal Iterations As Integer, ByVal SampleRate As Double, ByVal SyncMode As Short) As Short - Declare Function DO_ContWritePort Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal Port As Integer, ByRef Buffer As UInt32, ByVal WriteCount As Integer, ByVal Iterations As Integer, ByVal SampleRate As Double, ByVal SyncMode As Short) As Short - Declare Function DO_ContStatus Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByRef Status As Short) As Short - Declare Function DO_InitialMemoryAllocated Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByRef MemSize As Integer) As Short - Declare Function DO_PGStart Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByRef Buffer As Byte, ByVal WriteCount As Integer, ByVal SampleRate As Double) As Short - Declare Function DO_PGStart Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByRef Buffer As Short, ByVal WriteCount As Integer, ByVal SampleRate As Double) As Short - Declare Function DO_PGStart Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByRef Buffer As UInt32, ByVal WriteCount As Integer, ByVal SampleRate As Double) As Short - Declare Function DO_PGStop Lib "Pci-Dask.dll" (ByVal CardNumber As Short) As Short - Declare Function DO_WritePort Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal Port As Short, ByVal Value As Integer) As Short - Declare Function DO_WriteLine Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal Port As Short, ByVal Line As Short, ByVal Value As Short) As Short - Declare Function DO_SimuWritePort Lib "Pci-Dask.dll" (ByVal wCardNumber As Short, ByVal wNumChans As Short, ByRef pdwBuffer As Integer) As Short - Declare Function DO_ReadLine Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal Port As Short, ByVal Line As Short, ByRef Value As Short) As Short - Declare Function DO_ReadPort Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal Port As Short, ByRef Value As Integer) As Short - Declare Function EDO_9111_Config Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal wEDO_Fun As Short) As Short - Declare Function DO_WriteExtTrigLine Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal Value As Short) As Short - Declare Function DO_ContMultiBufferSetup Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByRef Buffer As Byte, ByVal WriteCount As Integer, ByRef BufferId As Short) As Short - Declare Function DO_ContMultiBufferSetup Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByRef Buffer As Short, ByVal WriteCount As Integer, ByRef BufferId As Short) As Short - Declare Function DO_ContMultiBufferSetup Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByRef Buffer As UInt32, ByVal WriteCount As Integer, ByRef BufferId As Short) As Short - Declare Function DO_ContMultiBufferStart Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal Port As Short, ByVal SampleRate As Double) As Short - Declare Function DO_AsyncMultiBufferNextReady Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByRef NextReady As Byte, ByRef BufferId As Short) As Short - Declare Function DO_EventCallBack Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal Mode As Short, ByVal EventType As Short, ByVal callbackAddr As Integer) As Short - - 'DIO Functions - Declare Function DIO_PortConfig Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal Port As Short, ByVal Direction As Short) As Short - Declare Function DIO_LinesConfig Lib "Pci-Dask.dll" (ByVal wCardNumber As Short, ByVal wPort As Short, ByVal wLinesdirmap As Short) As Short - Declare Function DIO_LineConfig Lib "Pci-Dask.dll" (ByVal wCardNumber As Short, ByVal wPort As Short, ByVal wLine As Short, ByVal wDirection As Short) As Short - Declare Function DIO_SetDualInterrupt Lib "Pci-Dask.dll" (ByVal wCardNumber As Short, ByVal wInt1Mode As Short, ByVal wInt2Mode As Short, ByRef hEvent As Integer) As Short - Declare Function DIO_SetCOSInterrupt Lib "Pci-Dask.dll" (ByVal wCardNumber As Short, ByVal Port As Short, ByVal ctlA As Short, ByVal ctlB As Short, ByVal ctlC As Short) As Short - Declare Function DIO_GetCOSLatchData Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByRef CosLData As Integer) As Short - Declare Function DIO_SetCOSInterrupt32 Lib "Pci-Dask.dll" (ByVal wCardNumber As Short, ByVal Port As Byte, ByVal ctl As Integer, ByRef hEvent As Integer, ByVal bManualReset As Byte) As Short - Declare Function DIO_GetCOSLatchData32 Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByRef CosLData As Integer) As Short - Declare Function DIO_INT_EventMessage Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal Mode As Short, ByVal hEvent As Integer, ByVal windowHandle As Integer, ByVal message As Integer, ByVal callbackAddr As CallbackDelegate) As Short - Declare Function DIO_INT1_EventMessage Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal Int1Mode As Short, ByVal windowHandle As Integer, ByVal message As Integer, ByVal callbackAddr As CallbackDelegate) As Short - Declare Function DIO_INT2_EventMessage Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal Int2Mode As Short, ByVal windowHandle As Integer, ByVal message As Integer, ByVal callbackAddr As CallbackDelegate) As Short - Declare Function DIO_7300SetInterrupt Lib "Pci-Dask.dll" (ByVal wCardNumber As Short, ByVal AuxDIEn As Short, ByVal T2En As Short, ByRef hEvent As Integer) As Short - Declare Function DIO_AUXDI_EventMessage Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal AuxDIEn As Short, ByVal windowHandle As Integer, ByVal message As Integer, ByVal callbackAddr As CallbackDelegate) As Short - Declare Function DIO_T2_EventMessage Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal T2En As Short, ByVal windowHandle As Integer, ByVal message As Integer, ByVal callbackAddr As CallbackDelegate) As Short - - 'Counter Functions - Declare Function CTR_Setup Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal Ctr As Short, ByVal Mode As Short, ByVal Count As Integer, ByVal BinBcd As Short) As Short - Declare Function CTR_Clear Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal Ctr As Short, ByVal State As Short) As Short - Declare Function CTR_Read Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal Ctr As Short, ByRef Value As Integer) As Short - Declare Function CTR_Update Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal Ctr As Short, ByVal Count As Integer) As Short - Declare Function CTR_8554_ClkSrc_Config Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal Ctr As Short, ByVal ClockSource As Short) As Short - Declare Function CTR_8554_CK1_Config Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal ClockSource As Short) As Short - Declare Function CTR_8554_Debounce_Config Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal DebounceClock As Short) As Short - Declare Function GCTR_Setup Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal wGCtr As Short, ByVal wGCtrCtrl As Short, ByVal dwCount As Integer) As Short - Declare Function GCTR_Clear Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal wGCtr As Short) As Short - Declare Function GCTR_Read Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal wGCtr As Short, ByRef pValue As Integer) As Short - Declare Function WDT_Setup Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal wCtr As Short, ByVal ovflowSec As Single, ByRef actualSec As Single, ByRef hEvent As Integer) As Short - Declare Function WDT_Control Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal wCtr As Short, ByVal action As Short) As Short - Declare Function WDT_Status Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByVal wCtr As Short, ByRef pValue As Integer) As Short - Declare Function WDT_Reload Lib "Pci-Dask.dll" (ByVal wCardNumber As Short, ByVal ovflowSec As Single, ByRef actualSec As Single) As Short - - Declare Function AI_GetEvent Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByRef hEvent As Integer) As Short - Declare Function AO_GetEvent Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByRef hEvent As Integer) As Short - Declare Function DI_GetEvent Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByRef hEvent As Integer) As Short - Declare Function DO_GetEvent Lib "Pci-Dask.dll" (ByVal CardNumber As Short, ByRef hEvent As Integer) As Short -End Module \ No newline at end of file diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/.NET/VB.NET/9112/D9112_AI_Single_Buffer_Check/D9112_AI_Single_Buffer_Check/Form1.Designer.vb b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/.NET/VB.NET/9112/D9112_AI_Single_Buffer_Check/D9112_AI_Single_Buffer_Check/Form1.Designer.vb deleted file mode 100644 index d5d012e..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/.NET/VB.NET/9112/D9112_AI_Single_Buffer_Check/D9112_AI_Single_Buffer_Check/Form1.Designer.vb +++ /dev/null @@ -1,62 +0,0 @@ - _ -Partial Class Form1 - Inherits System.Windows.Forms.Form - - 'Form 覆寫 Dispose 以清除元件清單。 - _ - Protected Overrides Sub Dispose(ByVal disposing As Boolean) - If disposing AndAlso components IsNot Nothing Then - components.Dispose() - End If - MyBase.Dispose(disposing) - End Sub - - '為 Windows Form 設計工具的必要項 - Private components As System.ComponentModel.IContainer - - '注意: 以下為 Windows Form 設計工具所需的程序 - '可以使用 Windows Form 設計工具進行修改。 - '請不要使用程式碼編輯器進行修改。 - _ - Private Sub InitializeComponent() - Dim resources As System.ComponentModel.ComponentResourceManager = New System.ComponentModel.ComponentResourceManager(GetType(Form1)) - Me.AxDGraph1 = New AxDBGRAPHLib.AxDGraph - Me.button1 = New System.Windows.Forms.Button - CType(Me.AxDGraph1, System.ComponentModel.ISupportInitialize).BeginInit() - Me.SuspendLayout() - ' - 'AxDGraph1 - ' - Me.AxDGraph1.Enabled = True - Me.AxDGraph1.Location = New System.Drawing.Point(23, 12) - Me.AxDGraph1.Name = "AxDGraph1" - Me.AxDGraph1.OcxState = CType(resources.GetObject("AxDGraph1.OcxState"), System.Windows.Forms.AxHost.State) - Me.AxDGraph1.Size = New System.Drawing.Size(257, 212) - Me.AxDGraph1.TabIndex = 0 - ' - 'button1 - ' - Me.button1.Location = New System.Drawing.Point(100, 242) - Me.button1.Name = "button1" - Me.button1.Size = New System.Drawing.Size(90, 30) - Me.button1.TabIndex = 3 - Me.button1.Text = "Start" - Me.button1.UseVisualStyleBackColor = True - ' - 'Form1 - ' - Me.AutoScaleDimensions = New System.Drawing.SizeF(6.0!, 12.0!) - Me.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font - Me.ClientSize = New System.Drawing.Size(292, 273) - Me.Controls.Add(Me.button1) - Me.Controls.Add(Me.AxDGraph1) - Me.Name = "Form1" - Me.Text = "Form1" - CType(Me.AxDGraph1, System.ComponentModel.ISupportInitialize).EndInit() - Me.ResumeLayout(False) - - End Sub - Friend WithEvents AxDGraph1 As AxDBGRAPHLib.AxDGraph - Private WithEvents button1 As System.Windows.Forms.Button - -End Class diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/.NET/VB.NET/9112/D9112_AI_Single_Buffer_Check/D9112_AI_Single_Buffer_Check/Form1.resx b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/.NET/VB.NET/9112/D9112_AI_Single_Buffer_Check/D9112_AI_Single_Buffer_Check/Form1.resx deleted file mode 100644 index c758481..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/.NET/VB.NET/9112/D9112_AI_Single_Buffer_Check/D9112_AI_Single_Buffer_Check/Form1.resx +++ /dev/null @@ -1,138 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - text/microsoft-resx - - - 2.0 - - - System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - - AAEAAAD/////AQAAAAAAAAAMAgAAAFdTeXN0ZW0uV2luZG93cy5Gb3JtcywgVmVyc2lvbj0yLjAuMC4w - LCBDdWx0dXJlPW5ldXRyYWwsIFB1YmxpY0tleVRva2VuPWI3N2E1YzU2MTkzNGUwODkFAQAAACFTeXN0 - ZW0uV2luZG93cy5Gb3Jtcy5BeEhvc3QrU3RhdGUBAAAABERhdGEHAgIAAAAJAwAAAA8DAAAAcAIAAAIB - AAAAAQAAAAAZAAAAQ29weXJpZ2h0IChjKSAyMDAyIEFETGluawAAAABCAgAABAACAJAaAADpFQAABwAA - AADU0MgAAANS4wuRj84RneMAqgBLuFEBiAAAvALcfAEACLdzstOp+sXpAAABAAAAAAAAAAAAAADoAwAA - AAAAAAAAAAAAAS4AABAAAAAFAAAAAAAAAAAAAAAAAAAAEAAAAAUAAAAAAAAAAAAAAAAAAAAQAAAABQAA - AAAAAAAAAAAAAAAAAAABAAEBAQAAAAAAAAAAAACAgIAAQEBAAAAAAAAAEAAAAAUAAAAbwh9sAAAAAAAA - JEAQAAAABQAAABvCH2wAAAAAAAAkwBAAAAAFAGkAuId+AAAAAAAA/q9AEAAAAAUAaQC4h34AAAAAAAAA - AAABLgAAAAAQAAAABQAAAAAAAAAAAAAAAAAAABAAAAAFAAAAAAAAAAAAAAAAAAAAEAAAAAUAAAAAAAAA - AAAAAAAAAAABAAEAAQEAAAAAAAAAAAAAgICAAEBAQAAAAAAAGAAAAAAAAAAAAAEAAADoef8AAAD/AAAA - /wAAABgAAAAAAAAAAAABAAAA6Hn/gAAA/4AAAP+AAAAYAAAAAAAAAAAAAQAAAOh5//8AAP//AAD//wAA - GAAAAAAAAAAAAAEAAADoeQD/AAAA/wAAAP8AABgAAAAAAAAAAAABAAAA6HkA//8AAP//AAD//wAYAAAA - AAAAAAAAAQAAAOh5AAD/AAAA/wAAAP8AGAAAAAAAAAAAAAEAAADoef8A/wD/AP8A/wD/ABgAAAAAAAAA - AAABAAAA6HnAwMAAwMDAAMDAwAABAQAL - - - \ No newline at end of file diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/.NET/VB.NET/9112/D9112_AI_Single_Buffer_Check/D9112_AI_Single_Buffer_Check/Form1.vb b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/.NET/VB.NET/9112/D9112_AI_Single_Buffer_Check/D9112_AI_Single_Buffer_Check/Form1.vb deleted file mode 100644 index f8f7d62..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/.NET/VB.NET/9112/D9112_AI_Single_Buffer_Check/D9112_AI_Single_Buffer_Check/Form1.vb +++ /dev/null @@ -1,53 +0,0 @@ -Public Class Form1 - Dim data_buffer(999) As UShort - Dim voltage_array(999) As Double - Dim m_dev As Short - - Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load - m_dev = Register_Card(PCI_9112, 0) - If (m_dev < 0) Then - MessageBox.Show("Register_Card error!") - End If - End Sub - - Private Sub Form1_FormClosing(ByVal sender As System.Object, ByVal e As System.Windows.Forms.FormClosingEventArgs) Handles MyBase.FormClosing - Dim err As Short - If (m_dev >= 0) Then - err = DASK.Release_Card(m_dev) - End If - End Sub - - Private Sub button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles button1.Click - Dim err As Short - Dim stopped As Byte - Dim access_cnt As UInteger - err = AI_9112_Config(m_dev, TRIG_INT_PACER) - If (err < 0) Then - MessageBox.Show("AI_9112_Config error!") - Return - End If - err = AI_ContReadChannel(m_dev, 0, AD_B_5_V, data_buffer(0), 1000, 10000, ASYNCH_OP) - If (err < 0) Then - MessageBox.Show("AI_ContReadChannel error!") - Return - End If - Do - err = AI_AsyncCheck(m_dev, stopped, access_cnt) - If (err < 0) Then - MessageBox.Show("AI_AsyncCheck error!") - Return - End If - Loop Until (stopped <> 0) - err = AI_AsyncClear(m_dev, access_cnt) - If (err < 0) Then - MessageBox.Show("AI_AsyncClear error!") - Return - End If - err = AI_ContVScale(m_dev, AD_B_5_V, data_buffer(0), voltage_array(0), 1000) - If (err < 0) Then - MessageBox.Show("AI_ContVScale error!") - Return - End If - AxDGraph1.PlotGraph(voltage_array, 0) - End Sub -End Class diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/.NET/VB.NET/9112/D9112_AI_Single_Buffer_Check/D9112_AI_Single_Buffer_Check/My Project/Application.Designer.vb b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/.NET/VB.NET/9112/D9112_AI_Single_Buffer_Check/D9112_AI_Single_Buffer_Check/My Project/Application.Designer.vb deleted file mode 100644 index fedbff2..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/.NET/VB.NET/9112/D9112_AI_Single_Buffer_Check/D9112_AI_Single_Buffer_Check/My Project/Application.Designer.vb +++ /dev/null @@ -1,13 +0,0 @@ -'------------------------------------------------------------------------------ -' -' This code was generated by a tool. -' Runtime Version:2.0.50727.832 -' -' Changes to this file may cause incorrect behavior and will be lost if -' the code is regenerated. -' -'------------------------------------------------------------------------------ - -Option Strict On -Option Explicit On - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/.NET/VB.NET/9112/D9112_AI_Single_Buffer_Check/D9112_AI_Single_Buffer_Check/My Project/Application.myapp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/.NET/VB.NET/9112/D9112_AI_Single_Buffer_Check/D9112_AI_Single_Buffer_Check/My Project/Application.myapp deleted file mode 100644 index ff73056..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/.NET/VB.NET/9112/D9112_AI_Single_Buffer_Check/D9112_AI_Single_Buffer_Check/My Project/Application.myapp +++ /dev/null @@ -1,10 +0,0 @@ - - - false - Form1 - false - 0 - true - 0 - true - \ No newline at end of file diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/.NET/VB.NET/9112/D9112_AI_Single_Buffer_Check/D9112_AI_Single_Buffer_Check/My Project/AssemblyInfo.vb b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/.NET/VB.NET/9112/D9112_AI_Single_Buffer_Check/D9112_AI_Single_Buffer_Check/My Project/AssemblyInfo.vb deleted file mode 100644 index e957b17..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/.NET/VB.NET/9112/D9112_AI_Single_Buffer_Check/D9112_AI_Single_Buffer_Check/My Project/AssemblyInfo.vb +++ /dev/null @@ -1,35 +0,0 @@ -Imports System -Imports System.Reflection -Imports System.Runtime.InteropServices - -' 組件的一般資訊是由下列的屬性集控制。 -' 變更這些屬性的值即可修改組件的相關 -' 資訊。 - -' 檢閱組件屬性的值 - - - - - - - - - - -'下列 GUID 為專案公開 (Expose) 至 COM 時所要使用的 typelib ID - - -' 組件的版本資訊是由下列四項值構成: -' -' 主要版本 -' 次要版本 -' 組建編號 -' 修訂編號 -' -' 您可以指定所有的值,也可以依照以下的方式,使用 '*' 將組建和修訂編號 -' 指定為預設值: -' - - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/.NET/VB.NET/9112/D9112_AI_Single_Buffer_Check/D9112_AI_Single_Buffer_Check/My Project/Resources.Designer.vb b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/.NET/VB.NET/9112/D9112_AI_Single_Buffer_Check/D9112_AI_Single_Buffer_Check/My Project/Resources.Designer.vb deleted file mode 100644 index d9bebac..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/.NET/VB.NET/9112/D9112_AI_Single_Buffer_Check/D9112_AI_Single_Buffer_Check/My Project/Resources.Designer.vb +++ /dev/null @@ -1,63 +0,0 @@ -'------------------------------------------------------------------------------ -' -' This code was generated by a tool. -' Runtime Version:2.0.50727.832 -' -' Changes to this file may cause incorrect behavior and will be lost if -' the code is regenerated. -' -'------------------------------------------------------------------------------ - -Option Strict On -Option Explicit On - -Imports System - -Namespace My.Resources - - 'This class was auto-generated by the StronglyTypedResourceBuilder - 'class via a tool like ResGen or Visual Studio. - 'To add or remove a member, edit your .ResX file then rerun ResGen - 'with the /str option, or rebuild your VS project. - ''' - ''' A strongly-typed resource class, for looking up localized strings, etc. - ''' - _ - Friend Module Resources - - Private resourceMan As Global.System.Resources.ResourceManager - - Private resourceCulture As Global.System.Globalization.CultureInfo - - ''' - ''' Returns the cached ResourceManager instance used by this class. - ''' - _ - Friend ReadOnly Property ResourceManager() As Global.System.Resources.ResourceManager - Get - If Object.ReferenceEquals(resourceMan, Nothing) Then - Dim temp As Global.System.Resources.ResourceManager = New Global.System.Resources.ResourceManager("D9112_AI_Single_Buffer_Check.Resources", GetType(Resources).Assembly) - resourceMan = temp - End If - Return resourceMan - End Get - End Property - - ''' - ''' Overrides the current thread's CurrentUICulture property for all - ''' resource lookups using this strongly typed resource class. - ''' - _ - Friend Property Culture() As Global.System.Globalization.CultureInfo - Get - Return resourceCulture - End Get - Set - resourceCulture = value - End Set - End Property - End Module -End Namespace diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/.NET/VB.NET/9112/D9112_AI_Single_Buffer_Check/D9112_AI_Single_Buffer_Check/My Project/Resources.resx b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/.NET/VB.NET/9112/D9112_AI_Single_Buffer_Check/D9112_AI_Single_Buffer_Check/My Project/Resources.resx deleted file mode 100644 index af7dbeb..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/.NET/VB.NET/9112/D9112_AI_Single_Buffer_Check/D9112_AI_Single_Buffer_Check/My Project/Resources.resx +++ /dev/null @@ -1,117 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - text/microsoft-resx - - - 2.0 - - - System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - \ No newline at end of file diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/.NET/VB.NET/9112/D9112_AI_Single_Buffer_Check/D9112_AI_Single_Buffer_Check/My Project/Settings.Designer.vb b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/.NET/VB.NET/9112/D9112_AI_Single_Buffer_Check/D9112_AI_Single_Buffer_Check/My Project/Settings.Designer.vb deleted file mode 100644 index 8a427d5..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/.NET/VB.NET/9112/D9112_AI_Single_Buffer_Check/D9112_AI_Single_Buffer_Check/My Project/Settings.Designer.vb +++ /dev/null @@ -1,73 +0,0 @@ -'------------------------------------------------------------------------------ -' -' This code was generated by a tool. -' Runtime Version:2.0.50727.832 -' -' Changes to this file may cause incorrect behavior and will be lost if -' the code is regenerated. -' -'------------------------------------------------------------------------------ - -Option Strict On -Option Explicit On - - -Namespace My - - _ - Partial Friend NotInheritable Class MySettings - Inherits Global.System.Configuration.ApplicationSettingsBase - - Private Shared defaultInstance As MySettings = CType(Global.System.Configuration.ApplicationSettingsBase.Synchronized(New MySettings),MySettings) - -#Region "My.Settings Auto-Save Functionality" -#If _MyType = "WindowsForms" Then - Private Shared addedHandler As Boolean - - Private Shared addedHandlerLockObject As New Object - - _ - Private Shared Sub AutoSaveSettings(ByVal sender As Global.System.Object, ByVal e As Global.System.EventArgs) - If My.Application.SaveMySettingsOnExit Then - My.Settings.Save() - End If - End Sub -#End If -#End Region - - Public Shared ReadOnly Property [Default]() As MySettings - Get - -#If _MyType = "WindowsForms" Then - If Not addedHandler Then - SyncLock addedHandlerLockObject - If Not addedHandler Then - AddHandler My.Application.Shutdown, AddressOf AutoSaveSettings - addedHandler = True - End If - End SyncLock - End If -#End If - Return defaultInstance - End Get - End Property - End Class -End Namespace - -Namespace My - - _ - Friend Module MySettingsProperty - - _ - Friend ReadOnly Property Settings() As Global.D9112_AI_Single_Buffer_Check.My.MySettings - Get - Return Global.D9112_AI_Single_Buffer_Check.My.MySettings.Default - End Get - End Property - End Module -End Namespace diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/.NET/VB.NET/9112/D9112_AI_Single_Buffer_Check/D9112_AI_Single_Buffer_Check/My Project/Settings.settings b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/.NET/VB.NET/9112/D9112_AI_Single_Buffer_Check/D9112_AI_Single_Buffer_Check/My Project/Settings.settings deleted file mode 100644 index 85b890b..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/.NET/VB.NET/9112/D9112_AI_Single_Buffer_Check/D9112_AI_Single_Buffer_Check/My Project/Settings.settings +++ /dev/null @@ -1,7 +0,0 @@ - - - - - - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/6202/C6202AODoubleBuffer/C6202AODoubleBuffer.aps b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/6202/C6202AODoubleBuffer/C6202AODoubleBuffer.aps deleted file mode 100644 index df6699e..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/6202/C6202AODoubleBuffer/C6202AODoubleBuffer.aps and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/6202/C6202AODoubleBuffer/C6202AODoubleBuffer.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/6202/C6202AODoubleBuffer/C6202AODoubleBuffer.cpp deleted file mode 100644 index 1ed92ba..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/6202/C6202AODoubleBuffer/C6202AODoubleBuffer.cpp +++ /dev/null @@ -1,74 +0,0 @@ -// C6202AODoubleBuffer.cpp : Defines the class behaviors for the application. -// - -#include "stdafx.h" -#include "C6202AODoubleBuffer.h" -#include "C6202AODoubleBufferDlg.h" - -#ifdef _DEBUG -#define new DEBUG_NEW -#undef THIS_FILE -static char THIS_FILE[] = __FILE__; -#endif - -///////////////////////////////////////////////////////////////////////////// -// CC6202AODoubleBufferApp - -BEGIN_MESSAGE_MAP(CC6202AODoubleBufferApp, CWinApp) - //{{AFX_MSG_MAP(CC6202AODoubleBufferApp) - // NOTE - the ClassWizard will add and remove mapping macros here. - // DO NOT EDIT what you see in these blocks of generated code! - //}}AFX_MSG - ON_COMMAND(ID_HELP, CWinApp::OnHelp) -END_MESSAGE_MAP() - -///////////////////////////////////////////////////////////////////////////// -// CC6202AODoubleBufferApp construction - -CC6202AODoubleBufferApp::CC6202AODoubleBufferApp() -{ - // TODO: add construction code here, - // Place all significant initialization in InitInstance -} - -///////////////////////////////////////////////////////////////////////////// -// The one and only CC6202AODoubleBufferApp object - -CC6202AODoubleBufferApp theApp; - -///////////////////////////////////////////////////////////////////////////// -// CC6202AODoubleBufferApp initialization - -BOOL CC6202AODoubleBufferApp::InitInstance() -{ - AfxEnableControlContainer(); - - // Standard initialization - // If you are not using these features and wish to reduce the size - // of your final executable, you should remove from the following - // the specific initialization routines you do not need. - -#ifdef _AFXDLL - Enable3dControls(); // Call this when using MFC in a shared DLL -#else - Enable3dControlsStatic(); // Call this when linking to MFC statically -#endif - - CC6202AODoubleBufferDlg dlg; - m_pMainWnd = &dlg; - int nResponse = dlg.DoModal(); - if (nResponse == IDOK) - { - // TODO: Place code here to handle when the dialog is - // dismissed with OK - } - else if (nResponse == IDCANCEL) - { - // TODO: Place code here to handle when the dialog is - // dismissed with Cancel - } - - // Since the dialog has been closed, return FALSE so that we exit the - // application, rather than start the application's message pump. - return FALSE; -} diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/6202/C6202AODoubleBuffer/C6202AODoubleBuffer.dsp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/6202/C6202AODoubleBuffer/C6202AODoubleBuffer.dsp deleted file mode 100644 index 9bd48c7..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/6202/C6202AODoubleBuffer/C6202AODoubleBuffer.dsp +++ /dev/null @@ -1,154 +0,0 @@ -# Microsoft Developer Studio Project File - Name="C6202AODoubleBuffer" - Package Owner=<4> -# Microsoft Developer Studio Generated Build File, Format Version 6.00 -# ** DO NOT EDIT ** - -# TARGTYPE "Win32 (x86) Application" 0x0101 - -CFG=C6202AODoubleBuffer - Win32 Debug -!MESSAGE This is not a valid makefile. To build this project using NMAKE, -!MESSAGE use the Export Makefile command and run -!MESSAGE -!MESSAGE NMAKE /f "C6202AODoubleBuffer.mak". -!MESSAGE -!MESSAGE You can specify a configuration when running NMAKE -!MESSAGE by defining the macro CFG on the command line. For example: -!MESSAGE -!MESSAGE NMAKE /f "C6202AODoubleBuffer.mak" CFG="C6202AODoubleBuffer - Win32 Debug" -!MESSAGE -!MESSAGE Possible choices for configuration are: -!MESSAGE -!MESSAGE "C6202AODoubleBuffer - Win32 Release" (based on "Win32 (x86) Application") -!MESSAGE "C6202AODoubleBuffer - Win32 Debug" (based on "Win32 (x86) Application") -!MESSAGE - -# Begin Project -# PROP AllowPerConfigDependencies 0 -# PROP Scc_ProjName "" -# PROP Scc_LocalPath "" -CPP=cl.exe -MTL=midl.exe -RSC=rc.exe - -!IF "$(CFG)" == "C6202AODoubleBuffer - Win32 Release" - -# PROP BASE Use_MFC 6 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "Release" -# PROP BASE Intermediate_Dir "Release" -# PROP BASE Target_Dir "" -# PROP Use_MFC 6 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "Release" -# PROP Intermediate_Dir "Release" -# PROP Target_Dir "" -# ADD BASE CPP /nologo /MD /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /D "_AFXDLL" /Yu"stdafx.h" /FD /c -# ADD CPP /nologo /MD /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /D "_AFXDLL" /D "_MBCS" /Yu"stdafx.h" /FD /c -# ADD BASE MTL /nologo /D "NDEBUG" /mktyplib203 /win32 -# ADD MTL /nologo /D "NDEBUG" /mktyplib203 /win32 -# ADD BASE RSC /l 0x404 /d "NDEBUG" /d "_AFXDLL" -# ADD RSC /l 0x404 /d "NDEBUG" /d "_AFXDLL" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 /nologo /subsystem:windows /machine:I386 -# ADD LINK32 /nologo /subsystem:windows /machine:I386 - -!ELSEIF "$(CFG)" == "C6202AODoubleBuffer - Win32 Debug" - -# PROP BASE Use_MFC 6 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "Debug" -# PROP BASE Intermediate_Dir "Debug" -# PROP BASE Target_Dir "" -# PROP Use_MFC 6 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "Debug" -# PROP Intermediate_Dir "Debug" -# PROP Target_Dir "" -# ADD BASE CPP /nologo /MDd /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /D "_AFXDLL" /Yu"stdafx.h" /FD /GZ /c -# ADD CPP /nologo /MDd /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /D "_AFXDLL" /D "_MBCS" /Yu"stdafx.h" /FD /GZ /c -# ADD BASE MTL /nologo /D "_DEBUG" /mktyplib203 /win32 -# ADD MTL /nologo /D "_DEBUG" /mktyplib203 /win32 -# ADD BASE RSC /l 0x404 /d "_DEBUG" /d "_AFXDLL" -# ADD RSC /l 0x404 /d "_DEBUG" /d "_AFXDLL" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 /nologo /subsystem:windows /debug /machine:I386 /pdbtype:sept -# ADD LINK32 /nologo /subsystem:windows /debug /machine:I386 /pdbtype:sept - -!ENDIF - -# Begin Target - -# Name "C6202AODoubleBuffer - Win32 Release" -# Name "C6202AODoubleBuffer - Win32 Debug" -# Begin Group "Source Files" - -# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;idl;hpj;bat" -# Begin Source File - -SOURCE=.\C6202AODoubleBuffer.cpp -# End Source File -# Begin Source File - -SOURCE=.\C6202AODoubleBuffer.rc -# End Source File -# Begin Source File - -SOURCE=.\C6202AODoubleBufferDlg.cpp -# End Source File -# Begin Source File - -SOURCE=.\StdAfx.cpp -# ADD CPP /Yc"stdafx.h" -# End Source File -# End Group -# Begin Group "Header Files" - -# PROP Default_Filter "h;hpp;hxx;hm;inl" -# Begin Source File - -SOURCE=.\C6202AODoubleBuffer.h -# End Source File -# Begin Source File - -SOURCE=.\C6202AODoubleBufferDlg.h -# End Source File -# Begin Source File - -SOURCE=..\..\..\Include\Dask.h -# End Source File -# Begin Source File - -SOURCE=.\Resource.h -# End Source File -# Begin Source File - -SOURCE=.\StdAfx.h -# End Source File -# End Group -# Begin Group "Resource Files" - -# PROP Default_Filter "ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe" -# Begin Source File - -SOURCE=.\res\C6202AODoubleBuffer.ico -# End Source File -# Begin Source File - -SOURCE=.\res\C6202AODoubleBuffer.rc2 -# End Source File -# End Group -# Begin Source File - -SOURCE=.\ReadMe.txt -# End Source File -# Begin Source File - -SOURCE="..\..\..\Lib\PCI-Dask.lib" -# End Source File -# End Target -# End Project diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/6202/C6202AODoubleBuffer/C6202AODoubleBuffer.dsw b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/6202/C6202AODoubleBuffer/C6202AODoubleBuffer.dsw deleted file mode 100644 index a3f142d..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/6202/C6202AODoubleBuffer/C6202AODoubleBuffer.dsw +++ /dev/null @@ -1,29 +0,0 @@ -Microsoft Developer Studio Workspace File, Format Version 6.00 -# WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE! - -############################################################################### - -Project: "C6202AODoubleBuffer"=.\C6202AODoubleBuffer.dsp - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ -}}} - -############################################################################### - -Global: - -Package=<5> -{{{ -}}} - -Package=<3> -{{{ -}}} - -############################################################################### - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/6202/C6202AODoubleBuffer/C6202AODoubleBuffer.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/6202/C6202AODoubleBuffer/C6202AODoubleBuffer.h deleted file mode 100644 index 9436fb6..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/6202/C6202AODoubleBuffer/C6202AODoubleBuffer.h +++ /dev/null @@ -1,49 +0,0 @@ -// C6202AODoubleBuffer.h : main header file for the C6202AODOUBLEBUFFER application -// - -#if !defined(AFX_C6202AODOUBLEBUFFER_H__24D00059_F4F8_4631_AE42_BF27FFA12009__INCLUDED_) -#define AFX_C6202AODOUBLEBUFFER_H__24D00059_F4F8_4631_AE42_BF27FFA12009__INCLUDED_ - -#if _MSC_VER > 1000 -#pragma once -#endif // _MSC_VER > 1000 - -#ifndef __AFXWIN_H__ - #error include 'stdafx.h' before including this file for PCH -#endif - -#include "resource.h" // main symbols - -///////////////////////////////////////////////////////////////////////////// -// CC6202AODoubleBufferApp: -// See C6202AODoubleBuffer.cpp for the implementation of this class -// - -class CC6202AODoubleBufferApp : public CWinApp -{ -public: - CC6202AODoubleBufferApp(); - -// Overrides - // ClassWizard generated virtual function overrides - //{{AFX_VIRTUAL(CC6202AODoubleBufferApp) - public: - virtual BOOL InitInstance(); - //}}AFX_VIRTUAL - -// Implementation - - //{{AFX_MSG(CC6202AODoubleBufferApp) - // NOTE - the ClassWizard will add and remove member functions here. - // DO NOT EDIT what you see in these blocks of generated code ! - //}}AFX_MSG - DECLARE_MESSAGE_MAP() -}; - - -///////////////////////////////////////////////////////////////////////////// - -//{{AFX_INSERT_LOCATION}} -// Microsoft Visual C++ will insert additional declarations immediately before the previous line. - -#endif // !defined(AFX_C6202AODOUBLEBUFFER_H__24D00059_F4F8_4631_AE42_BF27FFA12009__INCLUDED_) diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/6202/C6202AODoubleBuffer/C6202AODoubleBuffer.rc b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/6202/C6202AODoubleBuffer/C6202AODoubleBuffer.rc deleted file mode 100644 index 41b308d..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/6202/C6202AODoubleBuffer/C6202AODoubleBuffer.rc +++ /dev/null @@ -1,218 +0,0 @@ -//Microsoft Developer Studio generated resource script. -// -#include "resource.h" - -#define APSTUDIO_READONLY_SYMBOLS -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 2 resource. -// -#include "afxres.h" - -///////////////////////////////////////////////////////////////////////////// -#undef APSTUDIO_READONLY_SYMBOLS - -///////////////////////////////////////////////////////////////////////////// -// Chinese (Taiwan) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_CHT) -#ifdef _WIN32 -LANGUAGE LANG_CHINESE, SUBLANG_CHINESE_TRADITIONAL -#pragma code_page(950) -#endif //_WIN32 - -#ifdef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// TEXTINCLUDE -// - -1 TEXTINCLUDE DISCARDABLE -BEGIN - "resource.h\0" -END - -2 TEXTINCLUDE DISCARDABLE -BEGIN - "#include ""afxres.h""\r\n" - "\0" -END - -3 TEXTINCLUDE DISCARDABLE -BEGIN - "#define _AFX_NO_SPLITTER_RESOURCES\r\n" - "#define _AFX_NO_OLE_RESOURCES\r\n" - "#define _AFX_NO_TRACKER_RESOURCES\r\n" - "#define _AFX_NO_PROPERTY_RESOURCES\r\n" - "\r\n" - "#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)\r\n" - "#ifdef _WIN32\r\n" - "LANGUAGE 9, 1\r\n" - "#pragma code_page(1252)\r\n" - "#endif //_WIN32\r\n" - "#include ""res\\C6202AODoubleBuffer.rc2"" // non-Microsoft Visual C++ edited resources\r\n" - "#include ""afxres.rc"" // Standard components\r\n" - "#endif\r\n" - "\0" -END - -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// Icon -// - -// Icon with lowest ID value placed first to ensure application icon -// remains consistent on all systems. -IDR_MAINFRAME ICON DISCARDABLE "res\\C6202AODoubleBuffer.ico" -#endif // Chinese (Taiwan) resources -///////////////////////////////////////////////////////////////////////////// - - -///////////////////////////////////////////////////////////////////////////// -// English (U.S.) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -#ifdef _WIN32 -LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US -#pragma code_page(1252) -#endif //_WIN32 - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog -// - -IDD_ABOUTBOX DIALOG DISCARDABLE 0, 0, 235, 55 -STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "About C6202AODoubleBuffer" -FONT 8, "MS Sans Serif" -BEGIN - ICON IDR_MAINFRAME,IDC_STATIC,11,17,20,20 - LTEXT "C6202AODoubleBuffer Version 1.0",IDC_STATIC,40,10,119,8, - SS_NOPREFIX - LTEXT "Copyright (C) 2007",IDC_STATIC,40,25,119,8 - DEFPUSHBUTTON "OK",IDOK,178,7,50,14,WS_GROUP -END - -IDD_C6202AODOUBLEBUFFER_DIALOG DIALOGEX 0, 0, 155, 71 -STYLE DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU -EXSTYLE WS_EX_APPWINDOW -CAPTION "C6202AODoubleBuffer" -FONT 8, "MS Sans Serif" -BEGIN - DEFPUSHBUTTON "Exit",IDOK,98,50,50,14 - PUSHBUTTON "Start",IDC_BTN_START,28,7,50,14 - PUSHBUTTON "Stop",IDC_BTN_STOP,27,33,50,14 -END - - -#ifndef _MAC -///////////////////////////////////////////////////////////////////////////// -// -// Version -// - -VS_VERSION_INFO VERSIONINFO - FILEVERSION 1,0,0,1 - PRODUCTVERSION 1,0,0,1 - FILEFLAGSMASK 0x3fL -#ifdef _DEBUG - FILEFLAGS 0x1L -#else - FILEFLAGS 0x0L -#endif - FILEOS 0x4L - FILETYPE 0x1L - FILESUBTYPE 0x0L -BEGIN - BLOCK "StringFileInfo" - BEGIN - BLOCK "040904B0" - BEGIN - VALUE "CompanyName", "\0" - VALUE "FileDescription", "C6202AODoubleBuffer MFC Application\0" - VALUE "FileVersion", "1, 0, 0, 1\0" - VALUE "InternalName", "C6202AODoubleBuffer\0" - VALUE "LegalCopyright", "Copyright (C) 2007\0" - VALUE "LegalTrademarks", "\0" - VALUE "OriginalFilename", "C6202AODoubleBuffer.EXE\0" - VALUE "ProductName", "C6202AODoubleBuffer Application\0" - VALUE "ProductVersion", "1, 0, 0, 1\0" - END - END - BLOCK "VarFileInfo" - BEGIN - VALUE "Translation", 0x409, 1200 - END -END - -#endif // !_MAC - - -///////////////////////////////////////////////////////////////////////////// -// -// DESIGNINFO -// - -#ifdef APSTUDIO_INVOKED -GUIDELINES DESIGNINFO DISCARDABLE -BEGIN - IDD_ABOUTBOX, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 228 - TOPMARGIN, 7 - BOTTOMMARGIN, 48 - END - - IDD_C6202AODOUBLEBUFFER_DIALOG, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 148 - TOPMARGIN, 7 - BOTTOMMARGIN, 64 - END -END -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// String Table -// - -STRINGTABLE DISCARDABLE -BEGIN - IDS_ABOUTBOX "&About C6202AODoubleBuffer..." -END - -#endif // English (U.S.) resources -///////////////////////////////////////////////////////////////////////////// - - - -#ifndef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 3 resource. -// -#define _AFX_NO_SPLITTER_RESOURCES -#define _AFX_NO_OLE_RESOURCES -#define _AFX_NO_TRACKER_RESOURCES -#define _AFX_NO_PROPERTY_RESOURCES - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -#ifdef _WIN32 -LANGUAGE 9, 1 -#pragma code_page(1252) -#endif //_WIN32 -#include "res\C6202AODoubleBuffer.rc2" // non-Microsoft Visual C++ edited resources -#include "afxres.rc" // Standard components -#endif - -///////////////////////////////////////////////////////////////////////////// -#endif // not APSTUDIO_INVOKED - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/6202/C6202AODoubleBuffer/C6202AODoubleBufferDlg.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/6202/C6202AODoubleBuffer/C6202AODoubleBufferDlg.cpp deleted file mode 100644 index d937161..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/6202/C6202AODoubleBuffer/C6202AODoubleBufferDlg.cpp +++ /dev/null @@ -1,271 +0,0 @@ -// C6202AODoubleBufferDlg.cpp : implementation file -// - -#include "stdafx.h" -#include "C6202AODoubleBuffer.h" -#include "C6202AODoubleBufferDlg.h" - -#ifdef _DEBUG -#define new DEBUG_NEW -#undef THIS_FILE -static char THIS_FILE[] = __FILE__; -#endif - -///////////////////////////////////////////////////////////////////////////// -// CAboutDlg dialog used for App About - -class CAboutDlg : public CDialog -{ -public: - CAboutDlg(); - -// Dialog Data - //{{AFX_DATA(CAboutDlg) - enum { IDD = IDD_ABOUTBOX }; - //}}AFX_DATA - - // ClassWizard generated virtual function overrides - //{{AFX_VIRTUAL(CAboutDlg) - protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - //}}AFX_VIRTUAL - -// Implementation -protected: - //{{AFX_MSG(CAboutDlg) - //}}AFX_MSG - DECLARE_MESSAGE_MAP() -}; - -CAboutDlg::CAboutDlg() : CDialog(CAboutDlg::IDD) -{ - //{{AFX_DATA_INIT(CAboutDlg) - //}}AFX_DATA_INIT -} - -void CAboutDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); - //{{AFX_DATA_MAP(CAboutDlg) - //}}AFX_DATA_MAP -} - -BEGIN_MESSAGE_MAP(CAboutDlg, CDialog) - //{{AFX_MSG_MAP(CAboutDlg) - // No message handlers - //}}AFX_MSG_MAP -END_MESSAGE_MAP() - -///////////////////////////////////////////////////////////////////////////// -// CC6202AODoubleBufferDlg dialog - -CC6202AODoubleBufferDlg::CC6202AODoubleBufferDlg(CWnd* pParent /*=NULL*/) - : CDialog(CC6202AODoubleBufferDlg::IDD, pParent) -{ - //{{AFX_DATA_INIT(CC6202AODoubleBufferDlg) - // NOTE: the ClassWizard will add member initialization here - //}}AFX_DATA_INIT - // Note that LoadIcon does not require a subsequent DestroyIcon in Win32 - m_hIcon = AfxGetApp()->LoadIcon(IDR_MAINFRAME); -} - -void CC6202AODoubleBufferDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); - //{{AFX_DATA_MAP(CC6202AODoubleBufferDlg) - // NOTE: the ClassWizard will add DDX and DDV calls here - //}}AFX_DATA_MAP -} - -BEGIN_MESSAGE_MAP(CC6202AODoubleBufferDlg, CDialog) - //{{AFX_MSG_MAP(CC6202AODoubleBufferDlg) - ON_WM_SYSCOMMAND() - ON_WM_PAINT() - ON_WM_QUERYDRAGICON() - ON_WM_CREATE() - ON_WM_CLOSE() - ON_BN_CLICKED(IDC_BTN_START, OnBtnStart) - ON_BN_CLICKED(IDC_BTN_STOP, OnBtnStop) - //}}AFX_MSG_MAP -END_MESSAGE_MAP() - -///////////////////////////////////////////////////////////////////////////// -// CC6202AODoubleBufferDlg message handlers - -BOOL CC6202AODoubleBufferDlg::OnInitDialog() -{ - CDialog::OnInitDialog(); - - // Add "About..." menu item to system menu. - - // IDM_ABOUTBOX must be in the system command range. - ASSERT((IDM_ABOUTBOX & 0xFFF0) == IDM_ABOUTBOX); - ASSERT(IDM_ABOUTBOX < 0xF000); - - CMenu* pSysMenu = GetSystemMenu(FALSE); - if (pSysMenu != NULL) - { - CString strAboutMenu; - strAboutMenu.LoadString(IDS_ABOUTBOX); - if (!strAboutMenu.IsEmpty()) - { - pSysMenu->AppendMenu(MF_SEPARATOR); - pSysMenu->AppendMenu(MF_STRING, IDM_ABOUTBOX, strAboutMenu); - } - } - - // Set the icon for this dialog. The framework does this automatically - // when the application's main window is not a dialog - SetIcon(m_hIcon, TRUE); // Set big icon - SetIcon(m_hIcon, FALSE); // Set small icon - - // TODO: Add extra initialization here - - return TRUE; // return TRUE unless you set the focus to a control -} - -void CC6202AODoubleBufferDlg::OnSysCommand(UINT nID, LPARAM lParam) -{ - if ((nID & 0xFFF0) == IDM_ABOUTBOX) - { - CAboutDlg dlgAbout; - dlgAbout.DoModal(); - } - else - { - CDialog::OnSysCommand(nID, lParam); - } -} - -// If you add a minimize button to your dialog, you will need the code below -// to draw the icon. For MFC applications using the document/view model, -// this is automatically done for you by the framework. - -void CC6202AODoubleBufferDlg::OnPaint() -{ - if (IsIconic()) - { - CPaintDC dc(this); // device context for painting - - SendMessage(WM_ICONERASEBKGND, (WPARAM) dc.GetSafeHdc(), 0); - - // Center icon in client rectangle - int cxIcon = GetSystemMetrics(SM_CXICON); - int cyIcon = GetSystemMetrics(SM_CYICON); - CRect rect; - GetClientRect(&rect); - int x = (rect.Width() - cxIcon + 1) / 2; - int y = (rect.Height() - cyIcon + 1) / 2; - - // Draw the icon - dc.DrawIcon(x, y, m_hIcon); - } - else - { - CDialog::OnPaint(); - } -} - -// The system calls this to obtain the cursor to display while the user drags -// the minimized window. -HCURSOR CC6202AODoubleBufferDlg::OnQueryDragIcon() -{ - return (HCURSOR) m_hIcon; -} - -int CC6202AODoubleBufferDlg::OnCreate(LPCREATESTRUCT lpCreateStruct) -{ - int i; - - if (CDialog::OnCreate(lpCreateStruct) == -1) - return -1; - - for(i = 0; i < DATA_CNT; i++) - { -// m_data_buffer[0][i] = i * (65536/DATA_CNT); -// m_data_buffer[1][i] = 65535 - i * (65536/DATA_CNT); -// m_data_buffer[2][i] = 32768 * (65536/DATA_CNT); - if(i%2) - { - m_data_buffer[0][i] = i * (65536/DATA_CNT); - m_data_buffer[1][i] = 65535 - i * (65536/DATA_CNT); - m_data_buffer[2][i] = 32768 * (65536/DATA_CNT); - } - else - { - m_data_buffer[0][i] = 65535 - i * (65536/DATA_CNT); - m_data_buffer[1][i] = i * (65536/DATA_CNT); - m_data_buffer[2][i] = 32768 * (65536/DATA_CNT); - } - } - m_dev = Register_Card(PCI_6202, 0); - if(m_dev < 0) - { - MessageBox("Register_Card Error!"); - } - - return 0; -} - -void CC6202AODoubleBufferDlg::OnClose() -{ - I16 err; - - if(m_dev >= 0) - { - err = Release_Card(m_dev); - } - - CDialog::OnClose(); -} - -void CC6202AODoubleBufferDlg::OnBtnStart() -{ - I16 err; - int i,j; - U16 BufId_0; - U16 BufId_1; - BOOLEAN Stopped, HalfReady; - U32 AccessCnt; - U16 chans[4]; - - err = AO_6202_Config(m_dev, P6202_DA_WRSRC_Int, - P6202_DA_TRGSRC_SOFT | P6202_DA_TRGMOD_POST , - 1,//ReTrg cont - 0,//delay1 - 0,//delay2 - true); - err = AO_ContBufferReset(m_dev); - err = AO_ContBufferSetup(m_dev, m_data_buffer[0], DATA_CNT, &BufId_0); - err = AO_ContBufferSetup(m_dev, m_data_buffer[1], DATA_CNT, &BufId_1); - err = AO_AsyncDblBufferMode(m_dev ,1 ); - chans[0]=0; - chans[1]=1; -/* err = AO_ContWriteChannel(m_dev, - 0,//channel - BufId_0, - DATA_CNT, - 0,//Iterations - 8000,//CHUI - 0,//definite - ASYNCH_OP);*/ - err = AO_ContWriteMultiChannels(m_dev, - 2, - chans, - BufId_0, - DATA_CNT, - 0,//Iterations - 800000,//CHUI - 0,//definite - ASYNCH_OP); - -} - -void CC6202AODoubleBufferDlg::OnBtnStop() -{ - I16 err; - U32 AccessCnt; - - err = AO_AsyncClear(m_dev , &AccessCnt, 0); - -} diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/6202/C6202AODoubleBuffer/C6202AODoubleBufferDlg.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/6202/C6202AODoubleBuffer/C6202AODoubleBufferDlg.h deleted file mode 100644 index b92ffc1..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/6202/C6202AODoubleBuffer/C6202AODoubleBufferDlg.h +++ /dev/null @@ -1,61 +0,0 @@ -// C6202AODoubleBufferDlg.h : header file -// - -#if !defined(AFX_C6202AODOUBLEBUFFERDLG_H__BEA45924_71F5_4B16_94C0_DA782FD85D61__INCLUDED_) -#define AFX_C6202AODOUBLEBUFFERDLG_H__BEA45924_71F5_4B16_94C0_DA782FD85D61__INCLUDED_ - -#if _MSC_VER > 1000 -#pragma once -#endif // _MSC_VER > 1000 - -#include "..\..\..\include\dask.h" - -#define DATA_CNT 1024 - -///////////////////////////////////////////////////////////////////////////// -// CC6202AODoubleBufferDlg dialog - -class CC6202AODoubleBufferDlg : public CDialog -{ -// Construction -public: - CC6202AODoubleBufferDlg(CWnd* pParent = NULL); // standard constructor - - I16 m_dev; - U32 m_data_buffer[3][DATA_CNT]; - U32 m_dev_buffer[2][DATA_CNT]; - -// Dialog Data - //{{AFX_DATA(CC6202AODoubleBufferDlg) - enum { IDD = IDD_C6202AODOUBLEBUFFER_DIALOG }; - // NOTE: the ClassWizard will add data members here - //}}AFX_DATA - - // ClassWizard generated virtual function overrides - //{{AFX_VIRTUAL(CC6202AODoubleBufferDlg) - protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - //}}AFX_VIRTUAL - -// Implementation -protected: - HICON m_hIcon; - - // Generated message map functions - //{{AFX_MSG(CC6202AODoubleBufferDlg) - virtual BOOL OnInitDialog(); - afx_msg void OnSysCommand(UINT nID, LPARAM lParam); - afx_msg void OnPaint(); - afx_msg HCURSOR OnQueryDragIcon(); - afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct); - afx_msg void OnClose(); - afx_msg void OnBtnStart(); - afx_msg void OnBtnStop(); - //}}AFX_MSG - DECLARE_MESSAGE_MAP() -}; - -//{{AFX_INSERT_LOCATION}} -// Microsoft Visual C++ will insert additional declarations immediately before the previous line. - -#endif // !defined(AFX_C6202AODOUBLEBUFFERDLG_H__BEA45924_71F5_4B16_94C0_DA782FD85D61__INCLUDED_) diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/6202/C6202AODoubleBuffer/ReadMe.txt b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/6202/C6202AODoubleBuffer/ReadMe.txt deleted file mode 100644 index 910b169..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/6202/C6202AODoubleBuffer/ReadMe.txt +++ /dev/null @@ -1,88 +0,0 @@ -======================================================================== - MICROSOFT FOUNDATION CLASS LIBRARY : C6202AODoubleBuffer -======================================================================== - - -AppWizard has created this C6202AODoubleBuffer application for you. This application -not only demonstrates the basics of using the Microsoft Foundation classes -but is also a starting point for writing your application. - -This file contains a summary of what you will find in each of the files that -make up your C6202AODoubleBuffer application. - -C6202AODoubleBuffer.dsp - This file (the project file) contains information at the project level and - is used to build a single project or subproject. Other users can share the - project (.dsp) file, but they should export the makefiles locally. - -C6202AODoubleBuffer.h - This is the main header file for the application. It includes other - project specific headers (including Resource.h) and declares the - CC6202AODoubleBufferApp application class. - -C6202AODoubleBuffer.cpp - This is the main application source file that contains the application - class CC6202AODoubleBufferApp. - -C6202AODoubleBuffer.rc - This is a listing of all of the Microsoft Windows resources that the - program uses. It includes the icons, bitmaps, and cursors that are stored - in the RES subdirectory. This file can be directly edited in Microsoft - Visual C++. - -C6202AODoubleBuffer.clw - This file contains information used by ClassWizard to edit existing - classes or add new classes. ClassWizard also uses this file to store - information needed to create and edit message maps and dialog data - maps and to create prototype member functions. - -res\C6202AODoubleBuffer.ico - This is an icon file, which is used as the application's icon. This - icon is included by the main resource file C6202AODoubleBuffer.rc. - -res\C6202AODoubleBuffer.rc2 - This file contains resources that are not edited by Microsoft - Visual C++. You should place all resources not editable by - the resource editor in this file. - - - - -///////////////////////////////////////////////////////////////////////////// - -AppWizard creates one dialog class: - -C6202AODoubleBufferDlg.h, C6202AODoubleBufferDlg.cpp - the dialog - These files contain your CC6202AODoubleBufferDlg class. This class defines - the behavior of your application's main dialog. The dialog's - template is in C6202AODoubleBuffer.rc, which can be edited in Microsoft - Visual C++. - - -///////////////////////////////////////////////////////////////////////////// -Other standard files: - -StdAfx.h, StdAfx.cpp - These files are used to build a precompiled header (PCH) file - named C6202AODoubleBuffer.pch and a precompiled types file named StdAfx.obj. - -Resource.h - This is the standard header file, which defines new resource IDs. - Microsoft Visual C++ reads and updates this file. - -///////////////////////////////////////////////////////////////////////////// -Other notes: - -AppWizard uses "TODO:" to indicate parts of the source code you -should add to or customize. - -If your application uses MFC in a shared DLL, and your application is -in a language other than the operating system's current language, you -will need to copy the corresponding localized resources MFC42XXX.DLL -from the Microsoft Visual C++ CD-ROM onto the system or system32 directory, -and rename it to be MFCLOC.DLL. ("XXX" stands for the language abbreviation. -For example, MFC42DEU.DLL contains resources translated to German.) If you -don't do this, some of the UI elements of your application will remain in the -language of the operating system. - -///////////////////////////////////////////////////////////////////////////// diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/6202/C6202AODoubleBuffer/Release/C6202AODoubleBuffer.exe b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/6202/C6202AODoubleBuffer/Release/C6202AODoubleBuffer.exe deleted file mode 100644 index 065c82b..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/6202/C6202AODoubleBuffer/Release/C6202AODoubleBuffer.exe and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/6202/C6202AODoubleBuffer/Resource.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/6202/C6202AODoubleBuffer/Resource.h deleted file mode 100644 index 939f761..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/6202/C6202AODoubleBuffer/Resource.h +++ /dev/null @@ -1,22 +0,0 @@ -//{{NO_DEPENDENCIES}} -// Microsoft Developer Studio generated include file. -// Used by C6202AODoubleBuffer.rc -// -#define IDM_ABOUTBOX 0x0010 -#define IDD_ABOUTBOX 100 -#define IDS_ABOUTBOX 101 -#define IDD_C6202AODOUBLEBUFFER_DIALOG 102 -#define IDR_MAINFRAME 128 -#define IDC_BTN_START 1000 -#define IDC_BTN_STOP 1001 - -// Next default values for new objects -// -#ifdef APSTUDIO_INVOKED -#ifndef APSTUDIO_READONLY_SYMBOLS -#define _APS_NEXT_RESOURCE_VALUE 129 -#define _APS_NEXT_COMMAND_VALUE 32771 -#define _APS_NEXT_CONTROL_VALUE 1003 -#define _APS_NEXT_SYMED_VALUE 101 -#endif -#endif diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/6202/C6202AODoubleBuffer/StdAfx.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/6202/C6202AODoubleBuffer/StdAfx.cpp deleted file mode 100644 index 35e77ae..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/6202/C6202AODoubleBuffer/StdAfx.cpp +++ /dev/null @@ -1,8 +0,0 @@ -// stdafx.cpp : source file that includes just the standard includes -// C6202AODoubleBuffer.pch will be the pre-compiled header -// stdafx.obj will contain the pre-compiled type information - -#include "stdafx.h" - - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/6202/C6202AODoubleBuffer/StdAfx.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/6202/C6202AODoubleBuffer/StdAfx.h deleted file mode 100644 index e617459..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/6202/C6202AODoubleBuffer/StdAfx.h +++ /dev/null @@ -1,27 +0,0 @@ -// stdafx.h : include file for standard system include files, -// or project specific include files that are used frequently, but -// are changed infrequently -// - -#if !defined(AFX_STDAFX_H__D98C5CD8_E3DD_490F_A36D_89F01117B67E__INCLUDED_) -#define AFX_STDAFX_H__D98C5CD8_E3DD_490F_A36D_89F01117B67E__INCLUDED_ - -#if _MSC_VER > 1000 -#pragma once -#endif // _MSC_VER > 1000 - -#define VC_EXTRALEAN // Exclude rarely-used stuff from Windows headers - -#include // MFC core and standard components -#include // MFC extensions -#include // MFC Automation classes -#include // MFC support for Internet Explorer 4 Common Controls -#ifndef _AFX_NO_AFXCMN_SUPPORT -#include // MFC support for Windows Common Controls -#endif // _AFX_NO_AFXCMN_SUPPORT - - -//{{AFX_INSERT_LOCATION}} -// Microsoft Visual C++ will insert additional declarations immediately before the previous line. - -#endif // !defined(AFX_STDAFX_H__D98C5CD8_E3DD_490F_A36D_89F01117B67E__INCLUDED_) diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/6202/C6202AODoubleBuffer/res/C6202AODoubleBuffer.ico b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/6202/C6202AODoubleBuffer/res/C6202AODoubleBuffer.ico deleted file mode 100644 index 7eef0bc..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/6202/C6202AODoubleBuffer/res/C6202AODoubleBuffer.ico and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/6202/C6202AODoubleBuffer/res/C6202AODoubleBuffer.rc2 b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/6202/C6202AODoubleBuffer/res/C6202AODoubleBuffer.rc2 deleted file mode 100644 index 95d33a2..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/6202/C6202AODoubleBuffer/res/C6202AODoubleBuffer.rc2 +++ /dev/null @@ -1,13 +0,0 @@ -// -// C6202AODOUBLEBUFFER.RC2 - resources Microsoft Visual C++ does not edit directly -// - -#ifdef APSTUDIO_INVOKED - #error this file is not editable by Microsoft Visual C++ -#endif //APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// Add manually edited resources here... - -///////////////////////////////////////////////////////////////////////////// diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/6202/C6202AOSingleBuffer/C6202AOSingleBuffer.aps b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/6202/C6202AOSingleBuffer/C6202AOSingleBuffer.aps deleted file mode 100644 index d95bfc8..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/6202/C6202AOSingleBuffer/C6202AOSingleBuffer.aps and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/6202/C6202AOSingleBuffer/C6202AOSingleBuffer.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/6202/C6202AOSingleBuffer/C6202AOSingleBuffer.cpp deleted file mode 100644 index 64cd891..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/6202/C6202AOSingleBuffer/C6202AOSingleBuffer.cpp +++ /dev/null @@ -1,74 +0,0 @@ -// C6202AOSingleBuffer.cpp : Defines the class behaviors for the application. -// - -#include "stdafx.h" -#include "C6202AOSingleBuffer.h" -#include "C6202AOSingleBufferDlg.h" - -#ifdef _DEBUG -#define new DEBUG_NEW -#undef THIS_FILE -static char THIS_FILE[] = __FILE__; -#endif - -///////////////////////////////////////////////////////////////////////////// -// CC6202AOSingleBufferApp - -BEGIN_MESSAGE_MAP(CC6202AOSingleBufferApp, CWinApp) - //{{AFX_MSG_MAP(CC6202AOSingleBufferApp) - // NOTE - the ClassWizard will add and remove mapping macros here. - // DO NOT EDIT what you see in these blocks of generated code! - //}}AFX_MSG - ON_COMMAND(ID_HELP, CWinApp::OnHelp) -END_MESSAGE_MAP() - -///////////////////////////////////////////////////////////////////////////// -// CC6202AOSingleBufferApp construction - -CC6202AOSingleBufferApp::CC6202AOSingleBufferApp() -{ - // TODO: add construction code here, - // Place all significant initialization in InitInstance -} - -///////////////////////////////////////////////////////////////////////////// -// The one and only CC6202AOSingleBufferApp object - -CC6202AOSingleBufferApp theApp; - -///////////////////////////////////////////////////////////////////////////// -// CC6202AOSingleBufferApp initialization - -BOOL CC6202AOSingleBufferApp::InitInstance() -{ - AfxEnableControlContainer(); - - // Standard initialization - // If you are not using these features and wish to reduce the size - // of your final executable, you should remove from the following - // the specific initialization routines you do not need. - -#ifdef _AFXDLL - Enable3dControls(); // Call this when using MFC in a shared DLL -#else - Enable3dControlsStatic(); // Call this when linking to MFC statically -#endif - - CC6202AOSingleBufferDlg dlg; - m_pMainWnd = &dlg; - int nResponse = dlg.DoModal(); - if (nResponse == IDOK) - { - // TODO: Place code here to handle when the dialog is - // dismissed with OK - } - else if (nResponse == IDCANCEL) - { - // TODO: Place code here to handle when the dialog is - // dismissed with Cancel - } - - // Since the dialog has been closed, return FALSE so that we exit the - // application, rather than start the application's message pump. - return FALSE; -} diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/6202/C6202AOSingleBuffer/C6202AOSingleBuffer.dsp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/6202/C6202AOSingleBuffer/C6202AOSingleBuffer.dsp deleted file mode 100644 index 005b47c..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/6202/C6202AOSingleBuffer/C6202AOSingleBuffer.dsp +++ /dev/null @@ -1,158 +0,0 @@ -# Microsoft Developer Studio Project File - Name="C6202AOSingleBuffer" - Package Owner=<4> -# Microsoft Developer Studio Generated Build File, Format Version 6.00 -# ** DO NOT EDIT ** - -# TARGTYPE "Win32 (x86) Application" 0x0101 - -CFG=C6202AOSingleBuffer - Win32 Debug -!MESSAGE This is not a valid makefile. To build this project using NMAKE, -!MESSAGE use the Export Makefile command and run -!MESSAGE -!MESSAGE NMAKE /f "C6202AOSingleBuffer.mak". -!MESSAGE -!MESSAGE You can specify a configuration when running NMAKE -!MESSAGE by defining the macro CFG on the command line. For example: -!MESSAGE -!MESSAGE NMAKE /f "C6202AOSingleBuffer.mak" CFG="C6202AOSingleBuffer - Win32 Debug" -!MESSAGE -!MESSAGE Possible choices for configuration are: -!MESSAGE -!MESSAGE "C6202AOSingleBuffer - Win32 Release" (based on "Win32 (x86) Application") -!MESSAGE "C6202AOSingleBuffer - Win32 Debug" (based on "Win32 (x86) Application") -!MESSAGE - -# Begin Project -# PROP AllowPerConfigDependencies 0 -# PROP Scc_ProjName "" -# PROP Scc_LocalPath "" -CPP=cl.exe -MTL=midl.exe -RSC=rc.exe - -!IF "$(CFG)" == "C6202AOSingleBuffer - Win32 Release" - -# PROP BASE Use_MFC 6 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "Release" -# PROP BASE Intermediate_Dir "Release" -# PROP BASE Target_Dir "" -# PROP Use_MFC 6 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "Release" -# PROP Intermediate_Dir "Release" -# PROP Target_Dir "" -# ADD BASE CPP /nologo /MD /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /D "_AFXDLL" /Yu"stdafx.h" /FD /c -# ADD CPP /nologo /MD /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /D "_AFXDLL" /D "_MBCS" /Yu"stdafx.h" /FD /c -# ADD BASE MTL /nologo /D "NDEBUG" /mktyplib203 /win32 -# ADD MTL /nologo /D "NDEBUG" /mktyplib203 /win32 -# ADD BASE RSC /l 0x404 /d "NDEBUG" /d "_AFXDLL" -# ADD RSC /l 0x404 /d "NDEBUG" /d "_AFXDLL" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 /nologo /subsystem:windows /machine:I386 -# ADD LINK32 /nologo /subsystem:windows /machine:I386 - -!ELSEIF "$(CFG)" == "C6202AOSingleBuffer - Win32 Debug" - -# PROP BASE Use_MFC 6 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "Debug" -# PROP BASE Intermediate_Dir "Debug" -# PROP BASE Target_Dir "" -# PROP Use_MFC 6 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "Debug" -# PROP Intermediate_Dir "Debug" -# PROP Target_Dir "" -# ADD BASE CPP /nologo /MDd /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /D "_AFXDLL" /Yu"stdafx.h" /FD /GZ /c -# ADD CPP /nologo /MDd /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /D "_AFXDLL" /D "_MBCS" /Yu"stdafx.h" /FD /GZ /c -# ADD BASE MTL /nologo /D "_DEBUG" /mktyplib203 /win32 -# ADD MTL /nologo /D "_DEBUG" /mktyplib203 /win32 -# ADD BASE RSC /l 0x404 /d "_DEBUG" /d "_AFXDLL" -# ADD RSC /l 0x404 /d "_DEBUG" /d "_AFXDLL" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 /nologo /subsystem:windows /debug /machine:I386 /pdbtype:sept -# ADD LINK32 /nologo /subsystem:windows /debug /machine:I386 /pdbtype:sept - -!ENDIF - -# Begin Target - -# Name "C6202AOSingleBuffer - Win32 Release" -# Name "C6202AOSingleBuffer - Win32 Debug" -# Begin Group "Source Files" - -# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;idl;hpj;bat" -# Begin Source File - -SOURCE=.\C6202AOSingleBuffer.cpp -# End Source File -# Begin Source File - -SOURCE=.\C6202AOSingleBuffer.rc -# End Source File -# Begin Source File - -SOURCE=.\C6202AOSingleBufferDlg.cpp -# End Source File -# Begin Source File - -SOURCE=.\StdAfx.cpp -# ADD CPP /Yc"stdafx.h" -# End Source File -# End Group -# Begin Group "Header Files" - -# PROP Default_Filter "h;hpp;hxx;hm;inl" -# Begin Source File - -SOURCE=.\C6202AOSingleBuffer.h -# End Source File -# Begin Source File - -SOURCE=.\C6202AOSingleBufferDlg.h -# End Source File -# Begin Source File - -SOURCE=..\..\..\Include\Dask.h -# End Source File -# Begin Source File - -SOURCE=.\Resource.h -# End Source File -# Begin Source File - -SOURCE=.\StdAfx.h -# End Source File -# End Group -# Begin Group "Resource Files" - -# PROP Default_Filter "ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe" -# Begin Source File - -SOURCE=.\res\C6202AOSingleBuffer.ico -# End Source File -# Begin Source File - -SOURCE=.\res\C6202AOSingleBuffer.rc2 -# End Source File -# Begin Source File - -SOURCE=.\res\cursor1.cur -# End Source File -# End Group -# Begin Source File - -SOURCE=.\ReadMe.txt -# End Source File -# Begin Source File - -SOURCE="..\..\..\Lib\PCI-Dask.lib" -# End Source File -# End Target -# End Project diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/6202/C6202AOSingleBuffer/C6202AOSingleBuffer.dsw b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/6202/C6202AOSingleBuffer/C6202AOSingleBuffer.dsw deleted file mode 100644 index ed06e4d..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/6202/C6202AOSingleBuffer/C6202AOSingleBuffer.dsw +++ /dev/null @@ -1,29 +0,0 @@ -Microsoft Developer Studio Workspace File, Format Version 6.00 -# WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE! - -############################################################################### - -Project: "C6202AOSingleBuffer"=.\C6202AOSingleBuffer.dsp - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ -}}} - -############################################################################### - -Global: - -Package=<5> -{{{ -}}} - -Package=<3> -{{{ -}}} - -############################################################################### - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/6202/C6202AOSingleBuffer/C6202AOSingleBuffer.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/6202/C6202AOSingleBuffer/C6202AOSingleBuffer.h deleted file mode 100644 index dbeea64..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/6202/C6202AOSingleBuffer/C6202AOSingleBuffer.h +++ /dev/null @@ -1,49 +0,0 @@ -// C6202AOSingleBuffer.h : main header file for the C6202AOSINGLEBUFFER application -// - -#if !defined(AFX_C6202AOSINGLEBUFFER_H__5F53D893_72E1_4142_A3C0_B4DDF9EE5740__INCLUDED_) -#define AFX_C6202AOSINGLEBUFFER_H__5F53D893_72E1_4142_A3C0_B4DDF9EE5740__INCLUDED_ - -#if _MSC_VER > 1000 -#pragma once -#endif // _MSC_VER > 1000 - -#ifndef __AFXWIN_H__ - #error include 'stdafx.h' before including this file for PCH -#endif - -#include "resource.h" // main symbols - -///////////////////////////////////////////////////////////////////////////// -// CC6202AOSingleBufferApp: -// See C6202AOSingleBuffer.cpp for the implementation of this class -// - -class CC6202AOSingleBufferApp : public CWinApp -{ -public: - CC6202AOSingleBufferApp(); - -// Overrides - // ClassWizard generated virtual function overrides - //{{AFX_VIRTUAL(CC6202AOSingleBufferApp) - public: - virtual BOOL InitInstance(); - //}}AFX_VIRTUAL - -// Implementation - - //{{AFX_MSG(CC6202AOSingleBufferApp) - // NOTE - the ClassWizard will add and remove member functions here. - // DO NOT EDIT what you see in these blocks of generated code ! - //}}AFX_MSG - DECLARE_MESSAGE_MAP() -}; - - -///////////////////////////////////////////////////////////////////////////// - -//{{AFX_INSERT_LOCATION}} -// Microsoft Visual C++ will insert additional declarations immediately before the previous line. - -#endif // !defined(AFX_C6202AOSINGLEBUFFER_H__5F53D893_72E1_4142_A3C0_B4DDF9EE5740__INCLUDED_) diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/6202/C6202AOSingleBuffer/C6202AOSingleBuffer.rc b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/6202/C6202AOSingleBuffer/C6202AOSingleBuffer.rc deleted file mode 100644 index 74c8a7a..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/6202/C6202AOSingleBuffer/C6202AOSingleBuffer.rc +++ /dev/null @@ -1,255 +0,0 @@ -//Microsoft Developer Studio generated resource script. -// -#include "resource.h" - -#define APSTUDIO_READONLY_SYMBOLS -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 2 resource. -// -#include "afxres.h" - -///////////////////////////////////////////////////////////////////////////// -#undef APSTUDIO_READONLY_SYMBOLS - -///////////////////////////////////////////////////////////////////////////// -// Chinese (Taiwan) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_CHT) -#ifdef _WIN32 -LANGUAGE LANG_CHINESE, SUBLANG_CHINESE_TRADITIONAL -#pragma code_page(950) -#endif //_WIN32 - -#ifdef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// TEXTINCLUDE -// - -1 TEXTINCLUDE DISCARDABLE -BEGIN - "resource.h\0" -END - -2 TEXTINCLUDE DISCARDABLE -BEGIN - "#include ""afxres.h""\r\n" - "\0" -END - -3 TEXTINCLUDE DISCARDABLE -BEGIN - "#define _AFX_NO_SPLITTER_RESOURCES\r\n" - "#define _AFX_NO_OLE_RESOURCES\r\n" - "#define _AFX_NO_TRACKER_RESOURCES\r\n" - "#define _AFX_NO_PROPERTY_RESOURCES\r\n" - "\r\n" - "#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)\r\n" - "#ifdef _WIN32\r\n" - "LANGUAGE 9, 1\r\n" - "#pragma code_page(1252)\r\n" - "#endif //_WIN32\r\n" - "#include ""res\\C6202AOSingleBuffer.rc2"" // non-Microsoft Visual C++ edited resources\r\n" - "#include ""afxres.rc"" // Standard components\r\n" - "#endif\r\n" - "\0" -END - -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// Icon -// - -// Icon with lowest ID value placed first to ensure application icon -// remains consistent on all systems. -IDR_MAINFRAME ICON DISCARDABLE "res\\C6202AOSingleBuffer.ico" -#endif // Chinese (Taiwan) resources -///////////////////////////////////////////////////////////////////////////// - - -///////////////////////////////////////////////////////////////////////////// -// English (U.S.) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -#ifdef _WIN32 -LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US -#pragma code_page(1252) -#endif //_WIN32 - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog -// - -IDD_ABOUTBOX DIALOG DISCARDABLE 0, 0, 235, 55 -STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "About C6202AOSingleBuffer" -FONT 8, "MS Sans Serif" -BEGIN - ICON IDR_MAINFRAME,IDC_STATIC,11,17,20,20 - LTEXT "C6202AOSingleBuffer Version 1.0",IDC_STATIC,40,10,119,8, - SS_NOPREFIX - LTEXT "Copyright (C) 2007",IDC_STATIC,40,25,119,8 - DEFPUSHBUTTON "OK",IDOK,178,7,50,14,WS_GROUP -END - -IDD_C6202AOSINGLEBUFFER_DIALOG DIALOGEX 0, 0, 167, 153 -STYLE DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU -EXSTYLE WS_EX_APPWINDOW -CAPTION "C6202AOSingleBuffer" -FONT 8, "MS Sans Serif" -BEGIN - DEFPUSHBUTTON "Exit",IDOK,95,121,50,14 - PUSHBUTTON "Start",IDC_BTN_START,25,121,50,14 - LTEXT "Iteration:",IDC_STATIC,20,35,45,8 - LTEXT "Delay1:",IDC_STATIC,20,60,23,8 - LTEXT "Delay2:",IDC_STATIC,20,85,23,8 - LTEXT "Trigger Source:",IDC_STATIC,20,10,51,8 - COMBOBOX IDC_COMBO_TRG_SRC,70,10,80,68,CBS_DROPDOWNLIST | - WS_VSCROLL | WS_TABSTOP - COMBOBOX IDC_COMBO_ITERATION,70,35,80,75,CBS_DROPDOWNLIST | - WS_VSCROLL | WS_TABSTOP - EDITTEXT IDC_EDIT_DELAY_1,70,60,50,14,ES_RIGHT | ES_AUTOHSCROLL - EDITTEXT IDC_EDIT_DELAY_2,70,85,50,14,ES_RIGHT | ES_AUTOHSCROLL -END - - -#ifndef _MAC -///////////////////////////////////////////////////////////////////////////// -// -// Version -// - -VS_VERSION_INFO VERSIONINFO - FILEVERSION 1,0,0,1 - PRODUCTVERSION 1,0,0,1 - FILEFLAGSMASK 0x3fL -#ifdef _DEBUG - FILEFLAGS 0x1L -#else - FILEFLAGS 0x0L -#endif - FILEOS 0x4L - FILETYPE 0x1L - FILESUBTYPE 0x0L -BEGIN - BLOCK "StringFileInfo" - BEGIN - BLOCK "040904B0" - BEGIN - VALUE "CompanyName", "\0" - VALUE "FileDescription", "C6202AOSingleBuffer MFC Application\0" - VALUE "FileVersion", "1, 0, 0, 1\0" - VALUE "InternalName", "C6202AOSingleBuffer\0" - VALUE "LegalCopyright", "Copyright (C) 2007\0" - VALUE "LegalTrademarks", "\0" - VALUE "OriginalFilename", "C6202AOSingleBuffer.EXE\0" - VALUE "ProductName", "C6202AOSingleBuffer Application\0" - VALUE "ProductVersion", "1, 0, 0, 1\0" - END - END - BLOCK "VarFileInfo" - BEGIN - VALUE "Translation", 0x409, 1200 - END -END - -#endif // !_MAC - - -///////////////////////////////////////////////////////////////////////////// -// -// DESIGNINFO -// - -#ifdef APSTUDIO_INVOKED -GUIDELINES DESIGNINFO DISCARDABLE -BEGIN - IDD_ABOUTBOX, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 228 - TOPMARGIN, 7 - BOTTOMMARGIN, 48 - END - - IDD_C6202AOSINGLEBUFFER_DIALOG, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 160 - TOPMARGIN, 7 - BOTTOMMARGIN, 146 - END -END -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog Info -// - -IDD_C6202AOSINGLEBUFFER_DIALOG DLGINIT -BEGIN - IDC_COMBO_TRG_SRC, 0x403, 13, 0 -0x6f53, 0x7466, 0x7420, 0x6972, 0x6767, 0x7265, "\000" - IDC_COMBO_TRG_SRC, 0x403, 18, 0 -0x7845, 0x2074, 0x7274, 0x6769, 0x6567, 0x2872, 0x4641, 0x3049, 0x0029, - - IDC_COMBO_ITERATION, 0x403, 2, 0 -0x0031, - IDC_COMBO_ITERATION, 0x403, 2, 0 -0x0032, - IDC_COMBO_ITERATION, 0x403, 2, 0 -0x0033, - IDC_COMBO_ITERATION, 0x403, 2, 0 -0x0034, - IDC_COMBO_ITERATION, 0x403, 2, 0 -0x0035, - IDC_COMBO_ITERATION, 0x403, 2, 0 -0x0036, - 0 -END - - -///////////////////////////////////////////////////////////////////////////// -// -// String Table -// - -STRINGTABLE DISCARDABLE -BEGIN - IDS_ABOUTBOX "&About C6202AOSingleBuffer..." -END - -#endif // English (U.S.) resources -///////////////////////////////////////////////////////////////////////////// - - - -#ifndef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 3 resource. -// -#define _AFX_NO_SPLITTER_RESOURCES -#define _AFX_NO_OLE_RESOURCES -#define _AFX_NO_TRACKER_RESOURCES -#define _AFX_NO_PROPERTY_RESOURCES - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -#ifdef _WIN32 -LANGUAGE 9, 1 -#pragma code_page(1252) -#endif //_WIN32 -#include "res\C6202AOSingleBuffer.rc2" // non-Microsoft Visual C++ edited resources -#include "afxres.rc" // Standard components -#endif - -///////////////////////////////////////////////////////////////////////////// -#endif // not APSTUDIO_INVOKED - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/6202/C6202AOSingleBuffer/C6202AOSingleBufferDlg.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/6202/C6202AOSingleBuffer/C6202AOSingleBufferDlg.cpp deleted file mode 100644 index 70b7a29..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/6202/C6202AOSingleBuffer/C6202AOSingleBufferDlg.cpp +++ /dev/null @@ -1,255 +0,0 @@ -// C6202AOSingleBufferDlg.cpp : implementation file -// - -#include "stdafx.h" -#include "C6202AOSingleBuffer.h" -#include "C6202AOSingleBufferDlg.h" - -#ifdef _DEBUG -#define new DEBUG_NEW -#undef THIS_FILE -static char THIS_FILE[] = __FILE__; -#endif - -///////////////////////////////////////////////////////////////////////////// -// CAboutDlg dialog used for App About - -class CAboutDlg : public CDialog -{ -public: - CAboutDlg(); - -// Dialog Data - //{{AFX_DATA(CAboutDlg) - enum { IDD = IDD_ABOUTBOX }; - //}}AFX_DATA - - // ClassWizard generated virtual function overrides - //{{AFX_VIRTUAL(CAboutDlg) - protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - //}}AFX_VIRTUAL - -// Implementation -protected: - //{{AFX_MSG(CAboutDlg) - //}}AFX_MSG - DECLARE_MESSAGE_MAP() -}; - -CAboutDlg::CAboutDlg() : CDialog(CAboutDlg::IDD) -{ - //{{AFX_DATA_INIT(CAboutDlg) - //}}AFX_DATA_INIT -} - -void CAboutDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); - //{{AFX_DATA_MAP(CAboutDlg) - //}}AFX_DATA_MAP -} - -BEGIN_MESSAGE_MAP(CAboutDlg, CDialog) - //{{AFX_MSG_MAP(CAboutDlg) - // No message handlers - //}}AFX_MSG_MAP -END_MESSAGE_MAP() - -///////////////////////////////////////////////////////////////////////////// -// CC6202AOSingleBufferDlg dialog - -CC6202AOSingleBufferDlg::CC6202AOSingleBufferDlg(CWnd* pParent /*=NULL*/) - : CDialog(CC6202AOSingleBufferDlg::IDD, pParent) -{ - //{{AFX_DATA_INIT(CC6202AOSingleBufferDlg) - m_trg_src = 0; - m_delay_1 = 0; - m_delay_2 = 0; - m_iteration = 0; - //}}AFX_DATA_INIT - // Note that LoadIcon does not require a subsequent DestroyIcon in Win32 - m_hIcon = AfxGetApp()->LoadIcon(IDR_MAINFRAME); -} - -void CC6202AOSingleBufferDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); - //{{AFX_DATA_MAP(CC6202AOSingleBufferDlg) - DDX_CBIndex(pDX, IDC_COMBO_TRG_SRC, m_trg_src); - DDX_Text(pDX, IDC_EDIT_DELAY_1, m_delay_1); - DDX_Text(pDX, IDC_EDIT_DELAY_2, m_delay_2); - DDX_CBIndex(pDX, IDC_COMBO_ITERATION, m_iteration); - //}}AFX_DATA_MAP -} - -BEGIN_MESSAGE_MAP(CC6202AOSingleBufferDlg, CDialog) - //{{AFX_MSG_MAP(CC6202AOSingleBufferDlg) - ON_WM_SYSCOMMAND() - ON_WM_PAINT() - ON_WM_QUERYDRAGICON() - ON_WM_CREATE() - ON_WM_CLOSE() - ON_BN_CLICKED(IDC_BTN_START, OnBtnStart) - //}}AFX_MSG_MAP -END_MESSAGE_MAP() - -///////////////////////////////////////////////////////////////////////////// -// CC6202AOSingleBufferDlg message handlers - -BOOL CC6202AOSingleBufferDlg::OnInitDialog() -{ - CDialog::OnInitDialog(); - - // Add "About..." menu item to system menu. - - // IDM_ABOUTBOX must be in the system command range. - ASSERT((IDM_ABOUTBOX & 0xFFF0) == IDM_ABOUTBOX); - ASSERT(IDM_ABOUTBOX < 0xF000); - - CMenu* pSysMenu = GetSystemMenu(FALSE); - if (pSysMenu != NULL) - { - CString strAboutMenu; - strAboutMenu.LoadString(IDS_ABOUTBOX); - if (!strAboutMenu.IsEmpty()) - { - pSysMenu->AppendMenu(MF_SEPARATOR); - pSysMenu->AppendMenu(MF_STRING, IDM_ABOUTBOX, strAboutMenu); - } - } - - // Set the icon for this dialog. The framework does this automatically - // when the application's main window is not a dialog - SetIcon(m_hIcon, TRUE); // Set big icon - SetIcon(m_hIcon, FALSE); // Set small icon - - // TODO: Add extra initialization here - - return TRUE; // return TRUE unless you set the focus to a control -} - -void CC6202AOSingleBufferDlg::OnSysCommand(UINT nID, LPARAM lParam) -{ - if ((nID & 0xFFF0) == IDM_ABOUTBOX) - { - CAboutDlg dlgAbout; - dlgAbout.DoModal(); - } - else - { - CDialog::OnSysCommand(nID, lParam); - } -} - -// If you add a minimize button to your dialog, you will need the code below -// to draw the icon. For MFC applications using the document/view model, -// this is automatically done for you by the framework. - -void CC6202AOSingleBufferDlg::OnPaint() -{ - if (IsIconic()) - { - CPaintDC dc(this); // device context for painting - - SendMessage(WM_ICONERASEBKGND, (WPARAM) dc.GetSafeHdc(), 0); - - // Center icon in client rectangle - int cxIcon = GetSystemMetrics(SM_CXICON); - int cyIcon = GetSystemMetrics(SM_CYICON); - CRect rect; - GetClientRect(&rect); - int x = (rect.Width() - cxIcon + 1) / 2; - int y = (rect.Height() - cyIcon + 1) / 2; - - // Draw the icon - dc.DrawIcon(x, y, m_hIcon); - } - else - { - CDialog::OnPaint(); - } -} - -// The system calls this to obtain the cursor to display while the user drags -// the minimized window. -HCURSOR CC6202AOSingleBufferDlg::OnQueryDragIcon() -{ - return (HCURSOR) m_hIcon; -} - -int CC6202AOSingleBufferDlg::OnCreate(LPCREATESTRUCT lpCreateStruct) -{ - int i; - - if (CDialog::OnCreate(lpCreateStruct) == -1) - return -1; - - for(i = 0; i < DATA_CNT; i++) - { - m_buffer[i] = i * (65536/DATA_CNT); - } - m_dev = Register_Card(PCI_6202, 0); - if(m_dev < 0) - { - MessageBox("Register_Card Error!"); - return 0; - } - - return 0; -} - -void CC6202AOSingleBufferDlg::OnClose() -{ - I16 err; - - if(m_dev >= 0) - { - err = Release_Card(m_dev); - } - - CDialog::OnClose(); -} - -void CC6202AOSingleBufferDlg::OnBtnStart() -{ - I16 err; - U16 trg_src; - U16 BufId_0; - BOOLEAN bStopFlag = FALSE; - DWORD dwWriteCnt = 0; - - UpdateData(); - switch(m_trg_src) - { - case 0: - trg_src = P6202_DA_TRGSRC_SOFT; - break; - case 1: - trg_src = P6202_DA_TRGSRC_AFI0; - break; - } - err = AO_6202_Config(m_dev, P6202_DA_WRSRC_Int, - trg_src | P6202_DA_TRGMOD_DELAY , - 0,//ReTrg cont - m_delay_1,//delay1 - m_delay_2,//delay2 - true); - err = AO_ContBufferReset(m_dev); - err = AO_ContBufferSetup(m_dev, m_buffer, DATA_CNT, &BufId_0); - err = AO_AsyncDblBufferMode(m_dev , 0); - err = AO_ContWriteChannel(m_dev, - 0,//ch - BufId_0, - DATA_CNT, - m_iteration+1,//Iterations - 80,//CHUI - 1,//definite - ASYNCH_OP); - while(!bStopFlag) - { - AO_AsyncCheck(m_dev, &bStopFlag, &dwWriteCnt); - } - AO_AsyncClear(m_dev, &dwWriteCnt, 0); - AfxMessageBox("ok"); -} diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/6202/C6202AOSingleBuffer/C6202AOSingleBufferDlg.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/6202/C6202AOSingleBuffer/C6202AOSingleBufferDlg.h deleted file mode 100644 index 14f0b31..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/6202/C6202AOSingleBuffer/C6202AOSingleBufferDlg.h +++ /dev/null @@ -1,61 +0,0 @@ -// C6202AOSingleBufferDlg.h : header file -// - -#if !defined(AFX_C6202AOSINGLEBUFFERDLG_H__2C022A7A_DE70_468D_ADA8_A5DD90727C2A__INCLUDED_) -#define AFX_C6202AOSINGLEBUFFERDLG_H__2C022A7A_DE70_468D_ADA8_A5DD90727C2A__INCLUDED_ - -#if _MSC_VER > 1000 -#pragma once -#endif // _MSC_VER > 1000 - -#include "..\..\..\include\dask.h" - -#define DATA_CNT 1024 - -///////////////////////////////////////////////////////////////////////////// -// CC6202AOSingleBufferDlg dialog -class CC6202AOSingleBufferDlg : public CDialog -{ -// Construction -public: - CC6202AOSingleBufferDlg(CWnd* pParent = NULL); // standard constructor - - I16 m_dev; - U32 m_buffer[DATA_CNT]; - -// Dialog Data - //{{AFX_DATA(CC6202AOSingleBufferDlg) - enum { IDD = IDD_C6202AOSINGLEBUFFER_DIALOG }; - int m_trg_src; - DWORD m_delay_1; - DWORD m_delay_2; - int m_iteration; - //}}AFX_DATA - - // ClassWizard generated virtual function overrides - //{{AFX_VIRTUAL(CC6202AOSingleBufferDlg) - protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - //}}AFX_VIRTUAL - -// Implementation -protected: - HICON m_hIcon; - - // Generated message map functions - //{{AFX_MSG(CC6202AOSingleBufferDlg) - virtual BOOL OnInitDialog(); - afx_msg void OnSysCommand(UINT nID, LPARAM lParam); - afx_msg void OnPaint(); - afx_msg HCURSOR OnQueryDragIcon(); - afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct); - afx_msg void OnClose(); - afx_msg void OnBtnStart(); - //}}AFX_MSG - DECLARE_MESSAGE_MAP() -}; - -//{{AFX_INSERT_LOCATION}} -// Microsoft Visual C++ will insert additional declarations immediately before the previous line. - -#endif // !defined(AFX_C6202AOSINGLEBUFFERDLG_H__2C022A7A_DE70_468D_ADA8_A5DD90727C2A__INCLUDED_) diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/6202/C6202AOSingleBuffer/ReadMe.txt b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/6202/C6202AOSingleBuffer/ReadMe.txt deleted file mode 100644 index f7b3143..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/6202/C6202AOSingleBuffer/ReadMe.txt +++ /dev/null @@ -1,88 +0,0 @@ -======================================================================== - MICROSOFT FOUNDATION CLASS LIBRARY : C6202AOSingleBuffer -======================================================================== - - -AppWizard has created this C6202AOSingleBuffer application for you. This application -not only demonstrates the basics of using the Microsoft Foundation classes -but is also a starting point for writing your application. - -This file contains a summary of what you will find in each of the files that -make up your C6202AOSingleBuffer application. - -C6202AOSingleBuffer.dsp - This file (the project file) contains information at the project level and - is used to build a single project or subproject. Other users can share the - project (.dsp) file, but they should export the makefiles locally. - -C6202AOSingleBuffer.h - This is the main header file for the application. It includes other - project specific headers (including Resource.h) and declares the - CC6202AOSingleBufferApp application class. - -C6202AOSingleBuffer.cpp - This is the main application source file that contains the application - class CC6202AOSingleBufferApp. - -C6202AOSingleBuffer.rc - This is a listing of all of the Microsoft Windows resources that the - program uses. It includes the icons, bitmaps, and cursors that are stored - in the RES subdirectory. This file can be directly edited in Microsoft - Visual C++. - -C6202AOSingleBuffer.clw - This file contains information used by ClassWizard to edit existing - classes or add new classes. ClassWizard also uses this file to store - information needed to create and edit message maps and dialog data - maps and to create prototype member functions. - -res\C6202AOSingleBuffer.ico - This is an icon file, which is used as the application's icon. This - icon is included by the main resource file C6202AOSingleBuffer.rc. - -res\C6202AOSingleBuffer.rc2 - This file contains resources that are not edited by Microsoft - Visual C++. You should place all resources not editable by - the resource editor in this file. - - - - -///////////////////////////////////////////////////////////////////////////// - -AppWizard creates one dialog class: - -C6202AOSingleBufferDlg.h, C6202AOSingleBufferDlg.cpp - the dialog - These files contain your CC6202AOSingleBufferDlg class. This class defines - the behavior of your application's main dialog. The dialog's - template is in C6202AOSingleBuffer.rc, which can be edited in Microsoft - Visual C++. - - -///////////////////////////////////////////////////////////////////////////// -Other standard files: - -StdAfx.h, StdAfx.cpp - These files are used to build a precompiled header (PCH) file - named C6202AOSingleBuffer.pch and a precompiled types file named StdAfx.obj. - -Resource.h - This is the standard header file, which defines new resource IDs. - Microsoft Visual C++ reads and updates this file. - -///////////////////////////////////////////////////////////////////////////// -Other notes: - -AppWizard uses "TODO:" to indicate parts of the source code you -should add to or customize. - -If your application uses MFC in a shared DLL, and your application is -in a language other than the operating system's current language, you -will need to copy the corresponding localized resources MFC42XXX.DLL -from the Microsoft Visual C++ CD-ROM onto the system or system32 directory, -and rename it to be MFCLOC.DLL. ("XXX" stands for the language abbreviation. -For example, MFC42DEU.DLL contains resources translated to German.) If you -don't do this, some of the UI elements of your application will remain in the -language of the operating system. - -///////////////////////////////////////////////////////////////////////////// diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/6202/C6202AOSingleBuffer/Release/C6202AOSingleBuffer.exe b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/6202/C6202AOSingleBuffer/Release/C6202AOSingleBuffer.exe deleted file mode 100644 index f0ccfe9..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/6202/C6202AOSingleBuffer/Release/C6202AOSingleBuffer.exe and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/6202/C6202AOSingleBuffer/Resource.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/6202/C6202AOSingleBuffer/Resource.h deleted file mode 100644 index e8f03d6..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/6202/C6202AOSingleBuffer/Resource.h +++ /dev/null @@ -1,25 +0,0 @@ -//{{NO_DEPENDENCIES}} -// Microsoft Developer Studio generated include file. -// Used by C6202AOSingleBuffer.rc -// -#define IDM_ABOUTBOX 0x0010 -#define IDD_ABOUTBOX 100 -#define IDS_ABOUTBOX 101 -#define IDD_C6202AOSINGLEBUFFER_DIALOG 102 -#define IDR_MAINFRAME 128 -#define IDC_BTN_START 1000 -#define IDC_COMBO_TRG_SRC 1001 -#define IDC_COMBO_ITERATION 1002 -#define IDC_EDIT_DELAY_1 1003 -#define IDC_EDIT_DELAY_2 1004 - -// Next default values for new objects -// -#ifdef APSTUDIO_INVOKED -#ifndef APSTUDIO_READONLY_SYMBOLS -#define _APS_NEXT_RESOURCE_VALUE 131 -#define _APS_NEXT_COMMAND_VALUE 32771 -#define _APS_NEXT_CONTROL_VALUE 1005 -#define _APS_NEXT_SYMED_VALUE 101 -#endif -#endif diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/6202/C6202AOSingleBuffer/StdAfx.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/6202/C6202AOSingleBuffer/StdAfx.cpp deleted file mode 100644 index b9195aa..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/6202/C6202AOSingleBuffer/StdAfx.cpp +++ /dev/null @@ -1,8 +0,0 @@ -// stdafx.cpp : source file that includes just the standard includes -// C6202AOSingleBuffer.pch will be the pre-compiled header -// stdafx.obj will contain the pre-compiled type information - -#include "stdafx.h" - - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/6202/C6202AOSingleBuffer/StdAfx.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/6202/C6202AOSingleBuffer/StdAfx.h deleted file mode 100644 index bfd8833..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/6202/C6202AOSingleBuffer/StdAfx.h +++ /dev/null @@ -1,27 +0,0 @@ -// stdafx.h : include file for standard system include files, -// or project specific include files that are used frequently, but -// are changed infrequently -// - -#if !defined(AFX_STDAFX_H__0CE30F42_618B_42FA_87D6_6CD2318E2EBE__INCLUDED_) -#define AFX_STDAFX_H__0CE30F42_618B_42FA_87D6_6CD2318E2EBE__INCLUDED_ - -#if _MSC_VER > 1000 -#pragma once -#endif // _MSC_VER > 1000 - -#define VC_EXTRALEAN // Exclude rarely-used stuff from Windows headers - -#include // MFC core and standard components -#include // MFC extensions -#include // MFC Automation classes -#include // MFC support for Internet Explorer 4 Common Controls -#ifndef _AFX_NO_AFXCMN_SUPPORT -#include // MFC support for Windows Common Controls -#endif // _AFX_NO_AFXCMN_SUPPORT - - -//{{AFX_INSERT_LOCATION}} -// Microsoft Visual C++ will insert additional declarations immediately before the previous line. - -#endif // !defined(AFX_STDAFX_H__0CE30F42_618B_42FA_87D6_6CD2318E2EBE__INCLUDED_) diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/6202/C6202AOSingleBuffer/res/C6202AOSingleBuffer.ico b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/6202/C6202AOSingleBuffer/res/C6202AOSingleBuffer.ico deleted file mode 100644 index 7eef0bc..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/6202/C6202AOSingleBuffer/res/C6202AOSingleBuffer.ico and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/6202/C6202AOSingleBuffer/res/C6202AOSingleBuffer.rc2 b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/6202/C6202AOSingleBuffer/res/C6202AOSingleBuffer.rc2 deleted file mode 100644 index d463580..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/6202/C6202AOSingleBuffer/res/C6202AOSingleBuffer.rc2 +++ /dev/null @@ -1,13 +0,0 @@ -// -// C6202AOSINGLEBUFFER.RC2 - resources Microsoft Visual C++ does not edit directly -// - -#ifdef APSTUDIO_INVOKED - #error this file is not editable by Microsoft Visual C++ -#endif //APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// Add manually edited resources here... - -///////////////////////////////////////////////////////////////////////////// diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/6202/C6202AOSingleBuffer/res/cursor1.cur b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/6202/C6202AOSingleBuffer/res/cursor1.cur deleted file mode 100644 index 048f06b..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/6202/C6202AOSingleBuffer/res/cursor1.cur and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/6202/C6202AO_SSI_Source/C6202AO_SSI_Source.aps b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/6202/C6202AO_SSI_Source/C6202AO_SSI_Source.aps deleted file mode 100644 index 3fa26dc..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/6202/C6202AO_SSI_Source/C6202AO_SSI_Source.aps and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/6202/C6202AO_SSI_Source/C6202AO_SSI_Source.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/6202/C6202AO_SSI_Source/C6202AO_SSI_Source.cpp deleted file mode 100644 index c78275b..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/6202/C6202AO_SSI_Source/C6202AO_SSI_Source.cpp +++ /dev/null @@ -1,74 +0,0 @@ -// C6202AOSingleBuffer.cpp : Defines the class behaviors for the application. -// - -#include "stdafx.h" -#include "C6202AO_SSI_Source.h" -#include "C6202AO_SSI_SourceDlg.h" - -#ifdef _DEBUG -#define new DEBUG_NEW -#undef THIS_FILE -static char THIS_FILE[] = __FILE__; -#endif - -///////////////////////////////////////////////////////////////////////////// -// CC6202AOSingleBufferApp - -BEGIN_MESSAGE_MAP(CC6202AOSingleBufferApp, CWinApp) - //{{AFX_MSG_MAP(CC6202AOSingleBufferApp) - // NOTE - the ClassWizard will add and remove mapping macros here. - // DO NOT EDIT what you see in these blocks of generated code! - //}}AFX_MSG - ON_COMMAND(ID_HELP, CWinApp::OnHelp) -END_MESSAGE_MAP() - -///////////////////////////////////////////////////////////////////////////// -// CC6202AOSingleBufferApp construction - -CC6202AOSingleBufferApp::CC6202AOSingleBufferApp() -{ - // TODO: add construction code here, - // Place all significant initialization in InitInstance -} - -///////////////////////////////////////////////////////////////////////////// -// The one and only CC6202AOSingleBufferApp object - -CC6202AOSingleBufferApp theApp; - -///////////////////////////////////////////////////////////////////////////// -// CC6202AOSingleBufferApp initialization - -BOOL CC6202AOSingleBufferApp::InitInstance() -{ - AfxEnableControlContainer(); - - // Standard initialization - // If you are not using these features and wish to reduce the size - // of your final executable, you should remove from the following - // the specific initialization routines you do not need. - -#ifdef _AFXDLL - Enable3dControls(); // Call this when using MFC in a shared DLL -#else - Enable3dControlsStatic(); // Call this when linking to MFC statically -#endif - - CC6202AOSingleBufferDlg dlg; - m_pMainWnd = &dlg; - int nResponse = dlg.DoModal(); - if (nResponse == IDOK) - { - // TODO: Place code here to handle when the dialog is - // dismissed with OK - } - else if (nResponse == IDCANCEL) - { - // TODO: Place code here to handle when the dialog is - // dismissed with Cancel - } - - // Since the dialog has been closed, return FALSE so that we exit the - // application, rather than start the application's message pump. - return FALSE; -} diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/6202/C6202AO_SSI_Source/C6202AO_SSI_Source.dsp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/6202/C6202AO_SSI_Source/C6202AO_SSI_Source.dsp deleted file mode 100644 index 51e59a1..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/6202/C6202AO_SSI_Source/C6202AO_SSI_Source.dsp +++ /dev/null @@ -1,162 +0,0 @@ -# Microsoft Developer Studio Project File - Name="C6202AO_SSI_Source" - Package Owner=<4> -# Microsoft Developer Studio Generated Build File, Format Version 6.00 -# ** DO NOT EDIT ** - -# TARGTYPE "Win32 (x86) Application" 0x0101 - -CFG=C6202AO_SSI_Source - Win32 Debug -!MESSAGE This is not a valid makefile. To build this project using NMAKE, -!MESSAGE use the Export Makefile command and run -!MESSAGE -!MESSAGE NMAKE /f "C6202AO_SSI_Source.mak". -!MESSAGE -!MESSAGE You can specify a configuration when running NMAKE -!MESSAGE by defining the macro CFG on the command line. For example: -!MESSAGE -!MESSAGE NMAKE /f "C6202AO_SSI_Source.mak" CFG="C6202AO_SSI_Source - Win32 Debug" -!MESSAGE -!MESSAGE Possible choices for configuration are: -!MESSAGE -!MESSAGE "C6202AO_SSI_Source - Win32 Release" (based on "Win32 (x86) Application") -!MESSAGE "C6202AO_SSI_Source - Win32 Debug" (based on "Win32 (x86) Application") -!MESSAGE - -# Begin Project -# PROP AllowPerConfigDependencies 0 -# PROP Scc_ProjName "" -# PROP Scc_LocalPath "" -CPP=cl.exe -MTL=midl.exe -RSC=rc.exe - -!IF "$(CFG)" == "C6202AO_SSI_Source - Win32 Release" - -# PROP BASE Use_MFC 6 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "Release" -# PROP BASE Intermediate_Dir "Release" -# PROP BASE Target_Dir "" -# PROP Use_MFC 6 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "Release" -# PROP Intermediate_Dir "Release" -# PROP Target_Dir "" -# ADD BASE CPP /nologo /MD /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /D "_AFXDLL" /Yu"stdafx.h" /FD /c -# ADD CPP /nologo /MD /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /D "_AFXDLL" /D "_MBCS" /Yu"stdafx.h" /FD /c -# ADD BASE MTL /nologo /D "NDEBUG" /mktyplib203 /win32 -# ADD MTL /nologo /D "NDEBUG" /mktyplib203 /win32 -# ADD BASE RSC /l 0x404 /d "NDEBUG" /d "_AFXDLL" -# ADD RSC /l 0x404 /d "NDEBUG" /d "_AFXDLL" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 /nologo /subsystem:windows /machine:I386 -# ADD LINK32 /nologo /subsystem:windows /machine:I386 - -!ELSEIF "$(CFG)" == "C6202AO_SSI_Source - Win32 Debug" - -# PROP BASE Use_MFC 6 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "Debug" -# PROP BASE Intermediate_Dir "Debug" -# PROP BASE Target_Dir "" -# PROP Use_MFC 6 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "Debug" -# PROP Intermediate_Dir "Debug" -# PROP Target_Dir "" -# ADD BASE CPP /nologo /MDd /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /D "_AFXDLL" /Yu"stdafx.h" /FD /GZ /c -# ADD CPP /nologo /MDd /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /D "_AFXDLL" /D "_MBCS" /Yu"stdafx.h" /FD /GZ /c -# ADD BASE MTL /nologo /D "_DEBUG" /mktyplib203 /win32 -# ADD MTL /nologo /D "_DEBUG" /mktyplib203 /win32 -# ADD BASE RSC /l 0x404 /d "_DEBUG" /d "_AFXDLL" -# ADD RSC /l 0x404 /d "_DEBUG" /d "_AFXDLL" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 /nologo /subsystem:windows /debug /machine:I386 /pdbtype:sept -# ADD LINK32 /nologo /subsystem:windows /debug /machine:I386 /pdbtype:sept - -!ENDIF - -# Begin Target - -# Name "C6202AO_SSI_Source - Win32 Release" -# Name "C6202AO_SSI_Source - Win32 Debug" -# Begin Group "Source Files" - -# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;idl;hpj;bat" -# Begin Source File - -SOURCE=.\C6202AO_SSI_Source.cpp -# End Source File -# Begin Source File - -SOURCE=.\C6202AO_SSI_Source.rc -# End Source File -# Begin Source File - -SOURCE=.\C6202AO_SSI_SourceDlg.cpp -# End Source File -# Begin Source File - -SOURCE=.\StdAfx.cpp -# ADD CPP /Yc"stdafx.h" -# End Source File -# End Group -# Begin Group "Header Files" - -# PROP Default_Filter "h;hpp;hxx;hm;inl" -# Begin Source File - -SOURCE=.\C6202AO_SSI_Source.h -# End Source File -# Begin Source File - -SOURCE=.\C6202AO_SSI_SourceDlg.h -# End Source File -# Begin Source File - -SOURCE=..\..\..\Include\Dask.h -# End Source File -# Begin Source File - -SOURCE=.\Resource.h -# End Source File -# Begin Source File - -SOURCE=.\StdAfx.h -# End Source File -# End Group -# Begin Group "Resource Files" - -# PROP Default_Filter "ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe" -# Begin Source File - -SOURCE=.\res\C6202AO_SSI_Source.ico -# End Source File -# Begin Source File - -SOURCE=.\res\C6202AO_SSI_Source.rc2 -# End Source File -# Begin Source File - -SOURCE=.\res\C6202AO_SSI_Source.ico -# End Source File -# Begin Source File - -SOURCE=.\res\cursor1.cur -# End Source File -# End Group -# Begin Source File - -SOURCE=.\ReadMe.txt -# End Source File -# Begin Source File - -SOURCE="..\..\..\Lib\PCI-Dask.lib" -# End Source File -# End Target -# End Project diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/6202/C6202AO_SSI_Source/C6202AO_SSI_Source.dsw b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/6202/C6202AO_SSI_Source/C6202AO_SSI_Source.dsw deleted file mode 100644 index 9b64b56..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/6202/C6202AO_SSI_Source/C6202AO_SSI_Source.dsw +++ /dev/null @@ -1,29 +0,0 @@ -Microsoft Developer Studio Workspace File, Format Version 6.00 -# WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE! - -############################################################################### - -Project: "C6202AO_SSI_Source"=.\C6202AO_SSI_Source.dsp - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ -}}} - -############################################################################### - -Global: - -Package=<5> -{{{ -}}} - -Package=<3> -{{{ -}}} - -############################################################################### - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/6202/C6202AO_SSI_Source/C6202AO_SSI_Source.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/6202/C6202AO_SSI_Source/C6202AO_SSI_Source.h deleted file mode 100644 index dbeea64..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/6202/C6202AO_SSI_Source/C6202AO_SSI_Source.h +++ /dev/null @@ -1,49 +0,0 @@ -// C6202AOSingleBuffer.h : main header file for the C6202AOSINGLEBUFFER application -// - -#if !defined(AFX_C6202AOSINGLEBUFFER_H__5F53D893_72E1_4142_A3C0_B4DDF9EE5740__INCLUDED_) -#define AFX_C6202AOSINGLEBUFFER_H__5F53D893_72E1_4142_A3C0_B4DDF9EE5740__INCLUDED_ - -#if _MSC_VER > 1000 -#pragma once -#endif // _MSC_VER > 1000 - -#ifndef __AFXWIN_H__ - #error include 'stdafx.h' before including this file for PCH -#endif - -#include "resource.h" // main symbols - -///////////////////////////////////////////////////////////////////////////// -// CC6202AOSingleBufferApp: -// See C6202AOSingleBuffer.cpp for the implementation of this class -// - -class CC6202AOSingleBufferApp : public CWinApp -{ -public: - CC6202AOSingleBufferApp(); - -// Overrides - // ClassWizard generated virtual function overrides - //{{AFX_VIRTUAL(CC6202AOSingleBufferApp) - public: - virtual BOOL InitInstance(); - //}}AFX_VIRTUAL - -// Implementation - - //{{AFX_MSG(CC6202AOSingleBufferApp) - // NOTE - the ClassWizard will add and remove member functions here. - // DO NOT EDIT what you see in these blocks of generated code ! - //}}AFX_MSG - DECLARE_MESSAGE_MAP() -}; - - -///////////////////////////////////////////////////////////////////////////// - -//{{AFX_INSERT_LOCATION}} -// Microsoft Visual C++ will insert additional declarations immediately before the previous line. - -#endif // !defined(AFX_C6202AOSINGLEBUFFER_H__5F53D893_72E1_4142_A3C0_B4DDF9EE5740__INCLUDED_) diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/6202/C6202AO_SSI_Source/C6202AO_SSI_Source.rc b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/6202/C6202AO_SSI_Source/C6202AO_SSI_Source.rc deleted file mode 100644 index c3e64e0..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/6202/C6202AO_SSI_Source/C6202AO_SSI_Source.rc +++ /dev/null @@ -1,266 +0,0 @@ -//Microsoft Developer Studio generated resource script. -// -#include "resource.h" - -#define APSTUDIO_READONLY_SYMBOLS -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 2 resource. -// -#include "afxres.h" - -///////////////////////////////////////////////////////////////////////////// -#undef APSTUDIO_READONLY_SYMBOLS - -///////////////////////////////////////////////////////////////////////////// -// Chinese (Taiwan) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_CHT) -#ifdef _WIN32 -LANGUAGE LANG_CHINESE, SUBLANG_CHINESE_TRADITIONAL -#pragma code_page(950) -#endif //_WIN32 - -#ifdef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// TEXTINCLUDE -// - -1 TEXTINCLUDE DISCARDABLE -BEGIN - "resource.h\0" -END - -2 TEXTINCLUDE DISCARDABLE -BEGIN - "#include ""afxres.h""\r\n" - "\0" -END - -3 TEXTINCLUDE DISCARDABLE -BEGIN - "#define _AFX_NO_SPLITTER_RESOURCES\r\n" - "#define _AFX_NO_OLE_RESOURCES\r\n" - "#define _AFX_NO_TRACKER_RESOURCES\r\n" - "#define _AFX_NO_PROPERTY_RESOURCES\r\n" - "\r\n" - "#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)\r\n" - "#ifdef _WIN32\r\n" - "LANGUAGE 9, 1\r\n" - "#pragma code_page(1252)\r\n" - "#endif //_WIN32\r\n" - "#include ""res\\C6202AO_SSI_Source.rc2"" // non-Microsoft Visual C++ edited resources\r\n" - "#include ""afxres.rc"" // Standard components\r\n" - "#endif\r\n" - "\0" -END - -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// Icon -// - -// Icon with lowest ID value placed first to ensure application icon -// remains consistent on all systems. -IDR_MAINFRAME ICON DISCARDABLE "res\\C6202AO_SSI_Source.ico" -#endif // Chinese (Taiwan) resources -///////////////////////////////////////////////////////////////////////////// - - -///////////////////////////////////////////////////////////////////////////// -// English (U.S.) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -#ifdef _WIN32 -LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US -#pragma code_page(1252) -#endif //_WIN32 - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog -// - -IDD_ABOUTBOX DIALOG DISCARDABLE 0, 0, 235, 55 -STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "About C6202AO_SSI_Source" -FONT 8, "MS Sans Serif" -BEGIN - ICON IDR_MAINFRAME,IDC_STATIC,11,17,20,20 - LTEXT "C6202AO_SSI_Source Version 2.0",IDC_STATIC,40,10,119,8, - SS_NOPREFIX - LTEXT "Copyright (C) 2010",IDC_STATIC,40,25,119,8 - DEFPUSHBUTTON "OK",IDOK,178,7,50,14,WS_GROUP -END - -IDD_C6202AOSINGLEBUFFER_DIALOG DIALOGEX 0, 0, 147, 132 -STYLE DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU -EXSTYLE WS_EX_APPWINDOW -CAPTION "C6202AO_SSI_Source" -FONT 8, "MS Sans Serif" -BEGIN - DEFPUSHBUTTON "Exit",IDOK,80,110,50,14 - PUSHBUTTON "Start",IDC_BTN_START,14,110,50,14 - LTEXT "Iteration:",IDC_STATIC,7,47,45,8 - LTEXT "Delay1:",IDC_STATIC,7,67,23,8 - LTEXT "Delay2:",IDC_STATIC,7,87,23,8 - LTEXT "Trigger Source:",IDC_STATIC,7,27,51,8 - COMBOBOX IDC_COMBO_TRG_SRC,60,27,80,68,CBS_DROPDOWNLIST | - WS_VSCROLL | WS_TABSTOP - COMBOBOX IDC_COMBO_ITERATION,60,47,80,75,CBS_DROPDOWNLIST | - WS_VSCROLL | WS_TABSTOP - EDITTEXT IDC_EDIT_DELAY_1,60,67,80,14,ES_RIGHT | ES_AUTOHSCROLL - EDITTEXT IDC_EDIT_DELAY_2,60,87,80,14,ES_RIGHT | ES_AUTOHSCROLL - COMBOBOX IDC_COMBO_CARDNUM,60,7,80,73,CBS_DROPDOWN | WS_VSCROLL | - WS_TABSTOP - LTEXT "Card Number:",IDC_CARDNUM,7,7,40,8 -END - - -#ifndef _MAC -///////////////////////////////////////////////////////////////////////////// -// -// Version -// - -VS_VERSION_INFO VERSIONINFO - FILEVERSION 2,0,0,0 - PRODUCTVERSION 2,0,0,0 - FILEFLAGSMASK 0x3fL -#ifdef _DEBUG - FILEFLAGS 0x1L -#else - FILEFLAGS 0x0L -#endif - FILEOS 0x4L - FILETYPE 0x1L - FILESUBTYPE 0x0L -BEGIN - BLOCK "StringFileInfo" - BEGIN - BLOCK "040904b0" - BEGIN - VALUE "Comments", "\0" - VALUE "CompanyName", "ADLINK\0" - VALUE "FileDescription", "C6202AO_SSI_Source MFC Application\0" - VALUE "FileVersion", "2, 0, 0, 0\0" - VALUE "InternalName", "C6202AO_SSI_Source\0" - VALUE "LegalCopyright", "Copyright (C) 2010\0" - VALUE "LegalTrademarks", "\0" - VALUE "OriginalFilename", "C6202AO_SSI_Source.exe\0" - VALUE "PrivateBuild", "\0" - VALUE "ProductName", "C6202AO_SSI_Source Application\0" - VALUE "ProductVersion", "2, 0, 0, 0\0" - VALUE "SpecialBuild", "\0" - END - END - BLOCK "VarFileInfo" - BEGIN - VALUE "Translation", 0x409, 1200 - END -END - -#endif // !_MAC - - -///////////////////////////////////////////////////////////////////////////// -// -// DESIGNINFO -// - -#ifdef APSTUDIO_INVOKED -GUIDELINES DESIGNINFO DISCARDABLE -BEGIN - IDD_ABOUTBOX, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 228 - TOPMARGIN, 7 - BOTTOMMARGIN, 48 - END - - IDD_C6202AOSINGLEBUFFER_DIALOG, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 140 - TOPMARGIN, 7 - BOTTOMMARGIN, 125 - END -END -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog Info -// - -IDD_C6202AOSINGLEBUFFER_DIALOG DLGINIT -BEGIN - IDC_COMBO_TRG_SRC, 0x403, 13, 0 -0x6f53, 0x7466, 0x7420, 0x6972, 0x6767, 0x7265, "\000" - IDC_COMBO_ITERATION, 0x403, 2, 0 -0x0031, - IDC_COMBO_ITERATION, 0x403, 2, 0 -0x0032, - IDC_COMBO_ITERATION, 0x403, 2, 0 -0x0033, - IDC_COMBO_ITERATION, 0x403, 2, 0 -0x0034, - IDC_COMBO_ITERATION, 0x403, 2, 0 -0x0035, - IDC_COMBO_ITERATION, 0x403, 2, 0 -0x0036, - IDC_COMBO_CARDNUM, 0x403, 2, 0 -0x0030, - IDC_COMBO_CARDNUM, 0x403, 2, 0 -0x0031, - IDC_COMBO_CARDNUM, 0x403, 2, 0 -0x0032, - IDC_COMBO_CARDNUM, 0x403, 2, 0 -0x0033, - 0 -END - - -///////////////////////////////////////////////////////////////////////////// -// -// String Table -// - -STRINGTABLE DISCARDABLE -BEGIN - IDS_ABOUTBOX "&About C6202AO_SSI_Source..." -END - -#endif // English (U.S.) resources -///////////////////////////////////////////////////////////////////////////// - - - -#ifndef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 3 resource. -// -#define _AFX_NO_SPLITTER_RESOURCES -#define _AFX_NO_OLE_RESOURCES -#define _AFX_NO_TRACKER_RESOURCES -#define _AFX_NO_PROPERTY_RESOURCES - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -#ifdef _WIN32 -LANGUAGE 9, 1 -#pragma code_page(1252) -#endif //_WIN32 -#include "res\C6202AO_SSI_Source.rc2" // non-Microsoft Visual C++ edited resources -#include "afxres.rc" // Standard components -#endif - -///////////////////////////////////////////////////////////////////////////// -#endif // not APSTUDIO_INVOKED - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/6202/C6202AO_SSI_Source/C6202AO_SSI_SourceDlg.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/6202/C6202AO_SSI_Source/C6202AO_SSI_SourceDlg.cpp deleted file mode 100644 index b652f1c..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/6202/C6202AO_SSI_Source/C6202AO_SSI_SourceDlg.cpp +++ /dev/null @@ -1,256 +0,0 @@ -// C6202AOSingleBufferDlg.cpp : implementation file -// - -#include "stdafx.h" -#include "C6202AO_SSI_Source.h" -#include "C6202AO_SSI_SourceDlg.h" - -#ifdef _DEBUG -#define new DEBUG_NEW -#undef THIS_FILE -static char THIS_FILE[] = __FILE__; -#endif - -///////////////////////////////////////////////////////////////////////////// -// CAboutDlg dialog used for App About - -class CAboutDlg : public CDialog -{ -public: - CAboutDlg(); - -// Dialog Data - //{{AFX_DATA(CAboutDlg) - enum { IDD = IDD_ABOUTBOX }; - //}}AFX_DATA - - // ClassWizard generated virtual function overrides - //{{AFX_VIRTUAL(CAboutDlg) - protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - //}}AFX_VIRTUAL - -// Implementation -protected: - //{{AFX_MSG(CAboutDlg) - //}}AFX_MSG - DECLARE_MESSAGE_MAP() -}; - -CAboutDlg::CAboutDlg() : CDialog(CAboutDlg::IDD) -{ - //{{AFX_DATA_INIT(CAboutDlg) - //}}AFX_DATA_INIT -} - -void CAboutDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); - //{{AFX_DATA_MAP(CAboutDlg) - //}}AFX_DATA_MAP -} - -BEGIN_MESSAGE_MAP(CAboutDlg, CDialog) - //{{AFX_MSG_MAP(CAboutDlg) - // No message handlers - //}}AFX_MSG_MAP -END_MESSAGE_MAP() - -///////////////////////////////////////////////////////////////////////////// -// CC6202AOSingleBufferDlg dialog - -CC6202AOSingleBufferDlg::CC6202AOSingleBufferDlg(CWnd* pParent /*=NULL*/) - : CDialog(CC6202AOSingleBufferDlg::IDD, pParent) -{ - m_dev = -1; - //{{AFX_DATA_INIT(CC6202AOSingleBufferDlg) - m_trg_src = 0; - m_delay_1 = 0; - m_delay_2 = 0; - m_iteration = 0; - m_cardnum = 0; - //}}AFX_DATA_INIT - // Note that LoadIcon does not require a subsequent DestroyIcon in Win32 - m_hIcon = AfxGetApp()->LoadIcon(IDR_MAINFRAME); -} - -void CC6202AOSingleBufferDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); - //{{AFX_DATA_MAP(CC6202AOSingleBufferDlg) - DDX_CBIndex(pDX, IDC_COMBO_TRG_SRC, m_trg_src); - DDX_Text(pDX, IDC_EDIT_DELAY_1, m_delay_1); - DDX_Text(pDX, IDC_EDIT_DELAY_2, m_delay_2); - DDX_CBIndex(pDX, IDC_COMBO_ITERATION, m_iteration); - DDX_CBIndex(pDX, IDC_COMBO_CARDNUM, m_cardnum); - //}}AFX_DATA_MAP -} - -BEGIN_MESSAGE_MAP(CC6202AOSingleBufferDlg, CDialog) - //{{AFX_MSG_MAP(CC6202AOSingleBufferDlg) - ON_WM_SYSCOMMAND() - ON_WM_PAINT() - ON_WM_QUERYDRAGICON() - ON_WM_CREATE() - ON_WM_CLOSE() - ON_BN_CLICKED(IDC_BTN_START, OnBtnStart) - //}}AFX_MSG_MAP -END_MESSAGE_MAP() - -///////////////////////////////////////////////////////////////////////////// -// CC6202AOSingleBufferDlg message handlers - -BOOL CC6202AOSingleBufferDlg::OnInitDialog() -{ - CDialog::OnInitDialog(); - - // Add "About..." menu item to system menu. - - // IDM_ABOUTBOX must be in the system command range. - ASSERT((IDM_ABOUTBOX & 0xFFF0) == IDM_ABOUTBOX); - ASSERT(IDM_ABOUTBOX < 0xF000); - - CMenu* pSysMenu = GetSystemMenu(FALSE); - if (pSysMenu != NULL) - { - CString strAboutMenu; - strAboutMenu.LoadString(IDS_ABOUTBOX); - if (!strAboutMenu.IsEmpty()) - { - pSysMenu->AppendMenu(MF_SEPARATOR); - pSysMenu->AppendMenu(MF_STRING, IDM_ABOUTBOX, strAboutMenu); - } - } - - // Set the icon for this dialog. The framework does this automatically - // when the application's main window is not a dialog - SetIcon(m_hIcon, TRUE); // Set big icon - SetIcon(m_hIcon, FALSE); // Set small icon - - // TODO: Add extra initialization here - - return TRUE; // return TRUE unless you set the focus to a control -} - -void CC6202AOSingleBufferDlg::OnSysCommand(UINT nID, LPARAM lParam) -{ - if ((nID & 0xFFF0) == IDM_ABOUTBOX) - { - CAboutDlg dlgAbout; - dlgAbout.DoModal(); - } - else - { - CDialog::OnSysCommand(nID, lParam); - } -} - -// If you add a minimize button to your dialog, you will need the code below -// to draw the icon. For MFC applications using the document/view model, -// this is automatically done for you by the framework. - -void CC6202AOSingleBufferDlg::OnPaint() -{ - if (IsIconic()) - { - CPaintDC dc(this); // device context for painting - - SendMessage(WM_ICONERASEBKGND, (WPARAM) dc.GetSafeHdc(), 0); - - // Center icon in client rectangle - int cxIcon = GetSystemMetrics(SM_CXICON); - int cyIcon = GetSystemMetrics(SM_CYICON); - CRect rect; - GetClientRect(&rect); - int x = (rect.Width() - cxIcon + 1) / 2; - int y = (rect.Height() - cyIcon + 1) / 2; - - // Draw the icon - dc.DrawIcon(x, y, m_hIcon); - } - else - { - CDialog::OnPaint(); - } -} - -// The system calls this to obtain the cursor to display while the user drags -// the minimized window. -HCURSOR CC6202AOSingleBufferDlg::OnQueryDragIcon() -{ - return (HCURSOR) m_hIcon; -} - -int CC6202AOSingleBufferDlg::OnCreate(LPCREATESTRUCT lpCreateStruct) -{ - int i; - - if (CDialog::OnCreate(lpCreateStruct) == -1) - return -1; - - for(i = 0; i < DATA_CNT; i++) - { - m_buffer[i] = i * (65536/DATA_CNT); - } - - return 0; -} - -void CC6202AOSingleBufferDlg::OnClose() -{ - I16 err; - - if(m_dev >= 0) - { - err = Release_Card(m_dev); - } - - CDialog::OnClose(); -} - -void CC6202AOSingleBufferDlg::OnBtnStart() -{ - I16 err; - U16 trg_src; - U16 BufId_0; - BOOLEAN bStopFlag = FALSE; - DWORD dwWriteCnt = 0; - - UpdateData(); - m_dev = Register_Card(PCI_6202, m_cardnum); - if(m_dev < 0) - { - MessageBox("Register_Card Error!"); - return; - } - switch(m_trg_src) - { - case 0: - trg_src = P6202_DA_TRGSRC_SOFT; - break; - } - err = AO_6202_Config(m_dev, P6202_DA_WRSRC_Int, - trg_src | P6202_DA_TRGMOD_DELAY , - 0,//ReTrg cont - m_delay_1,//delay1 - m_delay_2,//delay2 - true); - err = SSI_SourceConn(m_dev, P6202_SSI_DA_TRIG); - err = AO_ContBufferReset(m_dev); - err = AO_ContBufferSetup(m_dev, m_buffer, DATA_CNT, &BufId_0); - err = AO_AsyncDblBufferMode(m_dev , 0); - err = AO_ContWriteChannel(m_dev, - 0,//ch - BufId_0, - DATA_CNT, - m_iteration+1,//Iterations - 80,//CHUI - 1,//definite - ASYNCH_OP); - while(!bStopFlag) - { - AO_AsyncCheck(m_dev, &bStopFlag, &dwWriteCnt); - } - AO_AsyncClear(m_dev, &dwWriteCnt, 0); - AfxMessageBox("ok"); -} diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/6202/C6202AO_SSI_Source/C6202AO_SSI_SourceDlg.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/6202/C6202AO_SSI_Source/C6202AO_SSI_SourceDlg.h deleted file mode 100644 index 046c351..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/6202/C6202AO_SSI_Source/C6202AO_SSI_SourceDlg.h +++ /dev/null @@ -1,63 +0,0 @@ -// C6202AOSingleBufferDlg.h : header file -// - -#if !defined(AFX_C6202AOSINGLEBUFFERDLG_H__2C022A7A_DE70_468D_ADA8_A5DD90727C2A__INCLUDED_) -#define AFX_C6202AOSINGLEBUFFERDLG_H__2C022A7A_DE70_468D_ADA8_A5DD90727C2A__INCLUDED_ - -#if _MSC_VER > 1000 -#pragma once -#endif // _MSC_VER > 1000 - -#include "..\..\..\include\dask.h" - -#define DATA_CNT 1024 - -///////////////////////////////////////////////////////////////////////////// -// CC6202AOSingleBufferDlg dialog - -class CC6202AOSingleBufferDlg : public CDialog -{ -// Construction -public: - CC6202AOSingleBufferDlg(CWnd* pParent = NULL); // standard constructor - - I16 m_dev; - U32 m_buffer[DATA_CNT]; - -// Dialog Data - //{{AFX_DATA(CC6202AOSingleBufferDlg) - enum { IDD = IDD_C6202AOSINGLEBUFFER_DIALOG }; - int m_trg_src; - DWORD m_delay_1; - DWORD m_delay_2; - int m_iteration; - int m_cardnum; - //}}AFX_DATA - - // ClassWizard generated virtual function overrides - //{{AFX_VIRTUAL(CC6202AOSingleBufferDlg) - protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - //}}AFX_VIRTUAL - -// Implementation -protected: - HICON m_hIcon; - - // Generated message map functions - //{{AFX_MSG(CC6202AOSingleBufferDlg) - virtual BOOL OnInitDialog(); - afx_msg void OnSysCommand(UINT nID, LPARAM lParam); - afx_msg void OnPaint(); - afx_msg HCURSOR OnQueryDragIcon(); - afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct); - afx_msg void OnClose(); - afx_msg void OnBtnStart(); - //}}AFX_MSG - DECLARE_MESSAGE_MAP() -}; - -//{{AFX_INSERT_LOCATION}} -// Microsoft Visual C++ will insert additional declarations immediately before the previous line. - -#endif // !defined(AFX_C6202AOSINGLEBUFFERDLG_H__2C022A7A_DE70_468D_ADA8_A5DD90727C2A__INCLUDED_) diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/6202/C6202AO_SSI_Source/ReadMe.txt b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/6202/C6202AO_SSI_Source/ReadMe.txt deleted file mode 100644 index f7b3143..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/6202/C6202AO_SSI_Source/ReadMe.txt +++ /dev/null @@ -1,88 +0,0 @@ -======================================================================== - MICROSOFT FOUNDATION CLASS LIBRARY : C6202AOSingleBuffer -======================================================================== - - -AppWizard has created this C6202AOSingleBuffer application for you. This application -not only demonstrates the basics of using the Microsoft Foundation classes -but is also a starting point for writing your application. - -This file contains a summary of what you will find in each of the files that -make up your C6202AOSingleBuffer application. - -C6202AOSingleBuffer.dsp - This file (the project file) contains information at the project level and - is used to build a single project or subproject. Other users can share the - project (.dsp) file, but they should export the makefiles locally. - -C6202AOSingleBuffer.h - This is the main header file for the application. It includes other - project specific headers (including Resource.h) and declares the - CC6202AOSingleBufferApp application class. - -C6202AOSingleBuffer.cpp - This is the main application source file that contains the application - class CC6202AOSingleBufferApp. - -C6202AOSingleBuffer.rc - This is a listing of all of the Microsoft Windows resources that the - program uses. It includes the icons, bitmaps, and cursors that are stored - in the RES subdirectory. This file can be directly edited in Microsoft - Visual C++. - -C6202AOSingleBuffer.clw - This file contains information used by ClassWizard to edit existing - classes or add new classes. ClassWizard also uses this file to store - information needed to create and edit message maps and dialog data - maps and to create prototype member functions. - -res\C6202AOSingleBuffer.ico - This is an icon file, which is used as the application's icon. This - icon is included by the main resource file C6202AOSingleBuffer.rc. - -res\C6202AOSingleBuffer.rc2 - This file contains resources that are not edited by Microsoft - Visual C++. You should place all resources not editable by - the resource editor in this file. - - - - -///////////////////////////////////////////////////////////////////////////// - -AppWizard creates one dialog class: - -C6202AOSingleBufferDlg.h, C6202AOSingleBufferDlg.cpp - the dialog - These files contain your CC6202AOSingleBufferDlg class. This class defines - the behavior of your application's main dialog. The dialog's - template is in C6202AOSingleBuffer.rc, which can be edited in Microsoft - Visual C++. - - -///////////////////////////////////////////////////////////////////////////// -Other standard files: - -StdAfx.h, StdAfx.cpp - These files are used to build a precompiled header (PCH) file - named C6202AOSingleBuffer.pch and a precompiled types file named StdAfx.obj. - -Resource.h - This is the standard header file, which defines new resource IDs. - Microsoft Visual C++ reads and updates this file. - -///////////////////////////////////////////////////////////////////////////// -Other notes: - -AppWizard uses "TODO:" to indicate parts of the source code you -should add to or customize. - -If your application uses MFC in a shared DLL, and your application is -in a language other than the operating system's current language, you -will need to copy the corresponding localized resources MFC42XXX.DLL -from the Microsoft Visual C++ CD-ROM onto the system or system32 directory, -and rename it to be MFCLOC.DLL. ("XXX" stands for the language abbreviation. -For example, MFC42DEU.DLL contains resources translated to German.) If you -don't do this, some of the UI elements of your application will remain in the -language of the operating system. - -///////////////////////////////////////////////////////////////////////////// diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/6202/C6202AO_SSI_Source/Release/C6202AO_SSI_Source.exe b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/6202/C6202AO_SSI_Source/Release/C6202AO_SSI_Source.exe deleted file mode 100644 index 00568cb..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/6202/C6202AO_SSI_Source/Release/C6202AO_SSI_Source.exe and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/6202/C6202AO_SSI_Source/StdAfx.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/6202/C6202AO_SSI_Source/StdAfx.cpp deleted file mode 100644 index b9195aa..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/6202/C6202AO_SSI_Source/StdAfx.cpp +++ /dev/null @@ -1,8 +0,0 @@ -// stdafx.cpp : source file that includes just the standard includes -// C6202AOSingleBuffer.pch will be the pre-compiled header -// stdafx.obj will contain the pre-compiled type information - -#include "stdafx.h" - - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/6202/C6202AO_SSI_Source/StdAfx.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/6202/C6202AO_SSI_Source/StdAfx.h deleted file mode 100644 index bfd8833..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/6202/C6202AO_SSI_Source/StdAfx.h +++ /dev/null @@ -1,27 +0,0 @@ -// stdafx.h : include file for standard system include files, -// or project specific include files that are used frequently, but -// are changed infrequently -// - -#if !defined(AFX_STDAFX_H__0CE30F42_618B_42FA_87D6_6CD2318E2EBE__INCLUDED_) -#define AFX_STDAFX_H__0CE30F42_618B_42FA_87D6_6CD2318E2EBE__INCLUDED_ - -#if _MSC_VER > 1000 -#pragma once -#endif // _MSC_VER > 1000 - -#define VC_EXTRALEAN // Exclude rarely-used stuff from Windows headers - -#include // MFC core and standard components -#include // MFC extensions -#include // MFC Automation classes -#include // MFC support for Internet Explorer 4 Common Controls -#ifndef _AFX_NO_AFXCMN_SUPPORT -#include // MFC support for Windows Common Controls -#endif // _AFX_NO_AFXCMN_SUPPORT - - -//{{AFX_INSERT_LOCATION}} -// Microsoft Visual C++ will insert additional declarations immediately before the previous line. - -#endif // !defined(AFX_STDAFX_H__0CE30F42_618B_42FA_87D6_6CD2318E2EBE__INCLUDED_) diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/6202/C6202AO_SSI_Source/res/C6202AO_SSI_Source.ico b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/6202/C6202AO_SSI_Source/res/C6202AO_SSI_Source.ico deleted file mode 100644 index 7eef0bc..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/6202/C6202AO_SSI_Source/res/C6202AO_SSI_Source.ico and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/6202/C6202AO_SSI_Source/res/C6202AO_SSI_Source.rc2 b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/6202/C6202AO_SSI_Source/res/C6202AO_SSI_Source.rc2 deleted file mode 100644 index d463580..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/6202/C6202AO_SSI_Source/res/C6202AO_SSI_Source.rc2 +++ /dev/null @@ -1,13 +0,0 @@ -// -// C6202AOSINGLEBUFFER.RC2 - resources Microsoft Visual C++ does not edit directly -// - -#ifdef APSTUDIO_INVOKED - #error this file is not editable by Microsoft Visual C++ -#endif //APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// Add manually edited resources here... - -///////////////////////////////////////////////////////////////////////////// diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/6202/C6202AO_SSI_Source/res/cursor1.cur b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/6202/C6202AO_SSI_Source/res/cursor1.cur deleted file mode 100644 index 048f06b..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/6202/C6202AO_SSI_Source/res/cursor1.cur and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/6202/C6202AO_SSI_Source/resource.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/6202/C6202AO_SSI_Source/resource.h deleted file mode 100644 index fc6253c..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/6202/C6202AO_SSI_Source/resource.h +++ /dev/null @@ -1,27 +0,0 @@ -//{{NO_DEPENDENCIES}} -// Microsoft Developer Studio generated include file. -// Used by C6202AO_SSI_Source.rc -// -#define IDM_ABOUTBOX 0x0010 -#define IDD_ABOUTBOX 100 -#define IDS_ABOUTBOX 101 -#define IDD_C6202AOSINGLEBUFFER_DIALOG 102 -#define IDR_MAINFRAME 128 -#define IDC_BTN_START 1000 -#define IDC_COMBO_TRG_SRC 1001 -#define IDC_COMBO_ITERATION 1002 -#define IDC_EDIT_DELAY_1 1003 -#define IDC_EDIT_DELAY_2 1004 -#define IDC_COMBO_CARDNUM 1005 -#define IDC_CARDNUM 1006 - -// Next default values for new objects -// -#ifdef APSTUDIO_INVOKED -#ifndef APSTUDIO_READONLY_SYMBOLS -#define _APS_NEXT_RESOURCE_VALUE 131 -#define _APS_NEXT_COMMAND_VALUE 32771 -#define _APS_NEXT_CONTROL_VALUE 1007 -#define _APS_NEXT_SYMED_VALUE 101 -#endif -#endif diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/6202/C6202AO_SSI_Target/C6202AO_SSI_Target.aps b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/6202/C6202AO_SSI_Target/C6202AO_SSI_Target.aps deleted file mode 100644 index 379f841..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/6202/C6202AO_SSI_Target/C6202AO_SSI_Target.aps and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/6202/C6202AO_SSI_Target/C6202AO_SSI_Target.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/6202/C6202AO_SSI_Target/C6202AO_SSI_Target.cpp deleted file mode 100644 index 42eaed8..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/6202/C6202AO_SSI_Target/C6202AO_SSI_Target.cpp +++ /dev/null @@ -1,74 +0,0 @@ -// C6202AOSingleBuffer.cpp : Defines the class behaviors for the application. -// - -#include "stdafx.h" -#include "C6202AO_SSI_Target.h" -#include "C6202AO_SSI_TargetDlg.h" - -#ifdef _DEBUG -#define new DEBUG_NEW -#undef THIS_FILE -static char THIS_FILE[] = __FILE__; -#endif - -///////////////////////////////////////////////////////////////////////////// -// CC6202AOSingleBufferApp - -BEGIN_MESSAGE_MAP(CC6202AOSingleBufferApp, CWinApp) - //{{AFX_MSG_MAP(CC6202AOSingleBufferApp) - // NOTE - the ClassWizard will add and remove mapping macros here. - // DO NOT EDIT what you see in these blocks of generated code! - //}}AFX_MSG - ON_COMMAND(ID_HELP, CWinApp::OnHelp) -END_MESSAGE_MAP() - -///////////////////////////////////////////////////////////////////////////// -// CC6202AOSingleBufferApp construction - -CC6202AOSingleBufferApp::CC6202AOSingleBufferApp() -{ - // TODO: add construction code here, - // Place all significant initialization in InitInstance -} - -///////////////////////////////////////////////////////////////////////////// -// The one and only CC6202AOSingleBufferApp object - -CC6202AOSingleBufferApp theApp; - -///////////////////////////////////////////////////////////////////////////// -// CC6202AOSingleBufferApp initialization - -BOOL CC6202AOSingleBufferApp::InitInstance() -{ - AfxEnableControlContainer(); - - // Standard initialization - // If you are not using these features and wish to reduce the size - // of your final executable, you should remove from the following - // the specific initialization routines you do not need. - -#ifdef _AFXDLL - Enable3dControls(); // Call this when using MFC in a shared DLL -#else - Enable3dControlsStatic(); // Call this when linking to MFC statically -#endif - - CC6202AOSingleBufferDlg dlg; - m_pMainWnd = &dlg; - int nResponse = dlg.DoModal(); - if (nResponse == IDOK) - { - // TODO: Place code here to handle when the dialog is - // dismissed with OK - } - else if (nResponse == IDCANCEL) - { - // TODO: Place code here to handle when the dialog is - // dismissed with Cancel - } - - // Since the dialog has been closed, return FALSE so that we exit the - // application, rather than start the application's message pump. - return FALSE; -} diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/6202/C6202AO_SSI_Target/C6202AO_SSI_Target.dsp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/6202/C6202AO_SSI_Target/C6202AO_SSI_Target.dsp deleted file mode 100644 index 02a29a5..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/6202/C6202AO_SSI_Target/C6202AO_SSI_Target.dsp +++ /dev/null @@ -1,162 +0,0 @@ -# Microsoft Developer Studio Project File - Name="C6202AO_SSI_Target" - Package Owner=<4> -# Microsoft Developer Studio Generated Build File, Format Version 6.00 -# ** DO NOT EDIT ** - -# TARGTYPE "Win32 (x86) Application" 0x0101 - -CFG=C6202AO_SSI_Target - Win32 Debug -!MESSAGE This is not a valid makefile. To build this project using NMAKE, -!MESSAGE use the Export Makefile command and run -!MESSAGE -!MESSAGE NMAKE /f "C6202AO_SSI_Target.mak". -!MESSAGE -!MESSAGE You can specify a configuration when running NMAKE -!MESSAGE by defining the macro CFG on the command line. For example: -!MESSAGE -!MESSAGE NMAKE /f "C6202AO_SSI_Target.mak" CFG="C6202AO_SSI_Target - Win32 Debug" -!MESSAGE -!MESSAGE Possible choices for configuration are: -!MESSAGE -!MESSAGE "C6202AO_SSI_Target - Win32 Release" (based on "Win32 (x86) Application") -!MESSAGE "C6202AO_SSI_Target - Win32 Debug" (based on "Win32 (x86) Application") -!MESSAGE - -# Begin Project -# PROP AllowPerConfigDependencies 0 -# PROP Scc_ProjName "" -# PROP Scc_LocalPath "" -CPP=cl.exe -MTL=midl.exe -RSC=rc.exe - -!IF "$(CFG)" == "C6202AO_SSI_Target - Win32 Release" - -# PROP BASE Use_MFC 6 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "Release" -# PROP BASE Intermediate_Dir "Release" -# PROP BASE Target_Dir "" -# PROP Use_MFC 6 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "Release" -# PROP Intermediate_Dir "Release" -# PROP Target_Dir "" -# ADD BASE CPP /nologo /MD /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /D "_AFXDLL" /Yu"stdafx.h" /FD /c -# ADD CPP /nologo /MD /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /D "_AFXDLL" /D "_MBCS" /Yu"stdafx.h" /FD /c -# ADD BASE MTL /nologo /D "NDEBUG" /mktyplib203 /win32 -# ADD MTL /nologo /D "NDEBUG" /mktyplib203 /win32 -# ADD BASE RSC /l 0x404 /d "NDEBUG" /d "_AFXDLL" -# ADD RSC /l 0x404 /d "NDEBUG" /d "_AFXDLL" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 /nologo /subsystem:windows /machine:I386 -# ADD LINK32 /nologo /subsystem:windows /machine:I386 - -!ELSEIF "$(CFG)" == "C6202AO_SSI_Target - Win32 Debug" - -# PROP BASE Use_MFC 6 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "Debug" -# PROP BASE Intermediate_Dir "Debug" -# PROP BASE Target_Dir "" -# PROP Use_MFC 6 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "Debug" -# PROP Intermediate_Dir "Debug" -# PROP Target_Dir "" -# ADD BASE CPP /nologo /MDd /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /D "_AFXDLL" /Yu"stdafx.h" /FD /GZ /c -# ADD CPP /nologo /MDd /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /D "_AFXDLL" /D "_MBCS" /Yu"stdafx.h" /FD /GZ /c -# ADD BASE MTL /nologo /D "_DEBUG" /mktyplib203 /win32 -# ADD MTL /nologo /D "_DEBUG" /mktyplib203 /win32 -# ADD BASE RSC /l 0x404 /d "_DEBUG" /d "_AFXDLL" -# ADD RSC /l 0x404 /d "_DEBUG" /d "_AFXDLL" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 /nologo /subsystem:windows /debug /machine:I386 /pdbtype:sept -# ADD LINK32 /nologo /subsystem:windows /debug /machine:I386 /pdbtype:sept - -!ENDIF - -# Begin Target - -# Name "C6202AO_SSI_Target - Win32 Release" -# Name "C6202AO_SSI_Target - Win32 Debug" -# Begin Group "Source Files" - -# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;idl;hpj;bat" -# Begin Source File - -SOURCE=.\C6202AO_SSI_Target.cpp -# End Source File -# Begin Source File - -SOURCE=.\C6202AO_SSI_Target.rc -# End Source File -# Begin Source File - -SOURCE=.\C6202AO_SSI_TargetDlg.cpp -# End Source File -# Begin Source File - -SOURCE=.\StdAfx.cpp -# ADD CPP /Yc"stdafx.h" -# End Source File -# End Group -# Begin Group "Header Files" - -# PROP Default_Filter "h;hpp;hxx;hm;inl" -# Begin Source File - -SOURCE=.\C6202AO_SSI_Target.h -# End Source File -# Begin Source File - -SOURCE=.\C6202AO_SSI_TargetDlg.h -# End Source File -# Begin Source File - -SOURCE=..\..\..\Include\Dask.h -# End Source File -# Begin Source File - -SOURCE=.\Resource.h -# End Source File -# Begin Source File - -SOURCE=.\StdAfx.h -# End Source File -# End Group -# Begin Group "Resource Files" - -# PROP Default_Filter "ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe" -# Begin Source File - -SOURCE=.\res\C6202AO_SSI_Target.ico -# End Source File -# Begin Source File - -SOURCE=.\res\C6202AO_SSI_Target.rc2 -# End Source File -# Begin Source File - -SOURCE=.\res\C6202AO_SSI_Target.ico -# End Source File -# Begin Source File - -SOURCE=.\res\cursor1.cur -# End Source File -# End Group -# Begin Source File - -SOURCE=.\ReadMe.txt -# End Source File -# Begin Source File - -SOURCE="..\..\..\Lib\PCI-Dask.lib" -# End Source File -# End Target -# End Project diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/6202/C6202AO_SSI_Target/C6202AO_SSI_Target.dsw b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/6202/C6202AO_SSI_Target/C6202AO_SSI_Target.dsw deleted file mode 100644 index 04f9f82..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/6202/C6202AO_SSI_Target/C6202AO_SSI_Target.dsw +++ /dev/null @@ -1,29 +0,0 @@ -Microsoft Developer Studio Workspace File, Format Version 6.00 -# WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE! - -############################################################################### - -Project: "C6202AO_SSI_Target"=.\C6202AO_SSI_Target.dsp - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ -}}} - -############################################################################### - -Global: - -Package=<5> -{{{ -}}} - -Package=<3> -{{{ -}}} - -############################################################################### - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/6202/C6202AO_SSI_Target/C6202AO_SSI_Target.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/6202/C6202AO_SSI_Target/C6202AO_SSI_Target.h deleted file mode 100644 index dbeea64..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/6202/C6202AO_SSI_Target/C6202AO_SSI_Target.h +++ /dev/null @@ -1,49 +0,0 @@ -// C6202AOSingleBuffer.h : main header file for the C6202AOSINGLEBUFFER application -// - -#if !defined(AFX_C6202AOSINGLEBUFFER_H__5F53D893_72E1_4142_A3C0_B4DDF9EE5740__INCLUDED_) -#define AFX_C6202AOSINGLEBUFFER_H__5F53D893_72E1_4142_A3C0_B4DDF9EE5740__INCLUDED_ - -#if _MSC_VER > 1000 -#pragma once -#endif // _MSC_VER > 1000 - -#ifndef __AFXWIN_H__ - #error include 'stdafx.h' before including this file for PCH -#endif - -#include "resource.h" // main symbols - -///////////////////////////////////////////////////////////////////////////// -// CC6202AOSingleBufferApp: -// See C6202AOSingleBuffer.cpp for the implementation of this class -// - -class CC6202AOSingleBufferApp : public CWinApp -{ -public: - CC6202AOSingleBufferApp(); - -// Overrides - // ClassWizard generated virtual function overrides - //{{AFX_VIRTUAL(CC6202AOSingleBufferApp) - public: - virtual BOOL InitInstance(); - //}}AFX_VIRTUAL - -// Implementation - - //{{AFX_MSG(CC6202AOSingleBufferApp) - // NOTE - the ClassWizard will add and remove member functions here. - // DO NOT EDIT what you see in these blocks of generated code ! - //}}AFX_MSG - DECLARE_MESSAGE_MAP() -}; - - -///////////////////////////////////////////////////////////////////////////// - -//{{AFX_INSERT_LOCATION}} -// Microsoft Visual C++ will insert additional declarations immediately before the previous line. - -#endif // !defined(AFX_C6202AOSINGLEBUFFER_H__5F53D893_72E1_4142_A3C0_B4DDF9EE5740__INCLUDED_) diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/6202/C6202AO_SSI_Target/C6202AO_SSI_Target.rc b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/6202/C6202AO_SSI_Target/C6202AO_SSI_Target.rc deleted file mode 100644 index 28ce2a2..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/6202/C6202AO_SSI_Target/C6202AO_SSI_Target.rc +++ /dev/null @@ -1,266 +0,0 @@ -//Microsoft Developer Studio generated resource script. -// -#include "resource.h" - -#define APSTUDIO_READONLY_SYMBOLS -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 2 resource. -// -#include "afxres.h" - -///////////////////////////////////////////////////////////////////////////// -#undef APSTUDIO_READONLY_SYMBOLS - -///////////////////////////////////////////////////////////////////////////// -// Chinese (Taiwan) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_CHT) -#ifdef _WIN32 -LANGUAGE LANG_CHINESE, SUBLANG_CHINESE_TRADITIONAL -#pragma code_page(950) -#endif //_WIN32 - -#ifdef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// TEXTINCLUDE -// - -1 TEXTINCLUDE DISCARDABLE -BEGIN - "resource.h\0" -END - -2 TEXTINCLUDE DISCARDABLE -BEGIN - "#include ""afxres.h""\r\n" - "\0" -END - -3 TEXTINCLUDE DISCARDABLE -BEGIN - "#define _AFX_NO_SPLITTER_RESOURCES\r\n" - "#define _AFX_NO_OLE_RESOURCES\r\n" - "#define _AFX_NO_TRACKER_RESOURCES\r\n" - "#define _AFX_NO_PROPERTY_RESOURCES\r\n" - "\r\n" - "#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)\r\n" - "#ifdef _WIN32\r\n" - "LANGUAGE 9, 1\r\n" - "#pragma code_page(1252)\r\n" - "#endif //_WIN32\r\n" - "#include ""res\\C6202AO_SSI_Target.rc2"" // non-Microsoft Visual C++ edited resources\r\n" - "#include ""afxres.rc"" // Standard components\r\n" - "#endif\r\n" - "\0" -END - -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// Icon -// - -// Icon with lowest ID value placed first to ensure application icon -// remains consistent on all systems. -IDR_MAINFRAME ICON DISCARDABLE "res\\C6202AO_SSI_Target.ico" -#endif // Chinese (Taiwan) resources -///////////////////////////////////////////////////////////////////////////// - - -///////////////////////////////////////////////////////////////////////////// -// English (U.S.) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -#ifdef _WIN32 -LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US -#pragma code_page(1252) -#endif //_WIN32 - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog -// - -IDD_ABOUTBOX DIALOG DISCARDABLE 0, 0, 235, 55 -STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "About C6202AO_SSI_Target" -FONT 8, "MS Sans Serif" -BEGIN - ICON IDR_MAINFRAME,IDC_STATIC,11,17,20,20 - LTEXT "C6202AO_SSI_Target Version 2.0",IDC_STATIC,40,10,119,8, - SS_NOPREFIX - LTEXT "Copyright (C) 2010",IDC_STATIC,40,25,119,8 - DEFPUSHBUTTON "OK",IDOK,178,7,50,14,WS_GROUP -END - -IDD_C6202AOSINGLEBUFFER_DIALOG DIALOGEX 0, 0, 147, 132 -STYLE DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU -EXSTYLE WS_EX_APPWINDOW -CAPTION "C6202AO_SSI_Target" -FONT 8, "MS Sans Serif" -BEGIN - DEFPUSHBUTTON "Exit",IDOK,80,110,50,14 - PUSHBUTTON "Start",IDC_BTN_START,14,110,50,14 - LTEXT "Iteration:",IDC_STATIC,7,47,45,8 - LTEXT "Delay1:",IDC_STATIC,7,67,23,8 - LTEXT "Delay2:",IDC_STATIC,7,87,23,8 - LTEXT "Trigger Source:",IDC_STATIC,7,27,51,8 - COMBOBOX IDC_COMBO_TRG_SRC,60,27,80,68,CBS_DROPDOWNLIST | - WS_VSCROLL | WS_TABSTOP - COMBOBOX IDC_COMBO_ITERATION,60,47,80,75,CBS_DROPDOWNLIST | - WS_VSCROLL | WS_TABSTOP - EDITTEXT IDC_EDIT_DELAY_1,60,67,80,14,ES_RIGHT | ES_AUTOHSCROLL - EDITTEXT IDC_EDIT_DELAY_2,60,87,80,14,ES_RIGHT | ES_AUTOHSCROLL - LTEXT "Card Number:",IDC_CARDNUM,7,7,40,8 - COMBOBOX IDC_COMBO_CARDNUM,60,7,80,65,CBS_DROPDOWN | WS_VSCROLL | - WS_TABSTOP -END - - -#ifndef _MAC -///////////////////////////////////////////////////////////////////////////// -// -// Version -// - -VS_VERSION_INFO VERSIONINFO - FILEVERSION 2,0,0,0 - PRODUCTVERSION 2,0,0,0 - FILEFLAGSMASK 0x3fL -#ifdef _DEBUG - FILEFLAGS 0x1L -#else - FILEFLAGS 0x0L -#endif - FILEOS 0x4L - FILETYPE 0x1L - FILESUBTYPE 0x0L -BEGIN - BLOCK "StringFileInfo" - BEGIN - BLOCK "040904b0" - BEGIN - VALUE "Comments", "\0" - VALUE "CompanyName", "ADLINK\0" - VALUE "FileDescription", "C6202AO_SSI_Target MFC Application\0" - VALUE "FileVersion", "2, 0, 0, 0\0" - VALUE "InternalName", "C6202AO_SSI_Target\0" - VALUE "LegalCopyright", "Copyright (C) 2010\0" - VALUE "LegalTrademarks", "\0" - VALUE "OriginalFilename", "C6202AO_SSI_Target.exe\0" - VALUE "PrivateBuild", "\0" - VALUE "ProductName", "C6202AO_SSI_Target Application\0" - VALUE "ProductVersion", "2, 0, 0, 0\0" - VALUE "SpecialBuild", "\0" - END - END - BLOCK "VarFileInfo" - BEGIN - VALUE "Translation", 0x409, 1200 - END -END - -#endif // !_MAC - - -///////////////////////////////////////////////////////////////////////////// -// -// DESIGNINFO -// - -#ifdef APSTUDIO_INVOKED -GUIDELINES DESIGNINFO DISCARDABLE -BEGIN - IDD_ABOUTBOX, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 228 - TOPMARGIN, 7 - BOTTOMMARGIN, 48 - END - - IDD_C6202AOSINGLEBUFFER_DIALOG, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 140 - TOPMARGIN, 7 - BOTTOMMARGIN, 125 - END -END -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog Info -// - -IDD_C6202AOSINGLEBUFFER_DIALOG DLGINIT -BEGIN - IDC_COMBO_TRG_SRC, 0x403, 14, 0 -0x4144, 0x545f, 0x4752, 0x5253, 0x5f43, 0x5353, 0x0049, - IDC_COMBO_ITERATION, 0x403, 2, 0 -0x0031, - IDC_COMBO_ITERATION, 0x403, 2, 0 -0x0032, - IDC_COMBO_ITERATION, 0x403, 2, 0 -0x0033, - IDC_COMBO_ITERATION, 0x403, 2, 0 -0x0034, - IDC_COMBO_ITERATION, 0x403, 2, 0 -0x0035, - IDC_COMBO_ITERATION, 0x403, 2, 0 -0x0036, - IDC_COMBO_CARDNUM, 0x403, 2, 0 -0x0030, - IDC_COMBO_CARDNUM, 0x403, 2, 0 -0x0031, - IDC_COMBO_CARDNUM, 0x403, 2, 0 -0x0032, - IDC_COMBO_CARDNUM, 0x403, 2, 0 -0x0033, - 0 -END - - -///////////////////////////////////////////////////////////////////////////// -// -// String Table -// - -STRINGTABLE DISCARDABLE -BEGIN - IDS_ABOUTBOX "&About C6202AO_SSI_Target..." -END - -#endif // English (U.S.) resources -///////////////////////////////////////////////////////////////////////////// - - - -#ifndef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 3 resource. -// -#define _AFX_NO_SPLITTER_RESOURCES -#define _AFX_NO_OLE_RESOURCES -#define _AFX_NO_TRACKER_RESOURCES -#define _AFX_NO_PROPERTY_RESOURCES - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -#ifdef _WIN32 -LANGUAGE 9, 1 -#pragma code_page(1252) -#endif //_WIN32 -#include "res\C6202AO_SSI_Target.rc2" // non-Microsoft Visual C++ edited resources -#include "afxres.rc" // Standard components -#endif - -///////////////////////////////////////////////////////////////////////////// -#endif // not APSTUDIO_INVOKED - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/6202/C6202AO_SSI_Target/C6202AO_SSI_TargetDlg.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/6202/C6202AO_SSI_Target/C6202AO_SSI_TargetDlg.cpp deleted file mode 100644 index 49f44a0..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/6202/C6202AO_SSI_Target/C6202AO_SSI_TargetDlg.cpp +++ /dev/null @@ -1,256 +0,0 @@ -// C6202AOSingleBufferDlg.cpp : implementation file -// - -#include "stdafx.h" -#include "C6202AO_SSI_Target.h" -#include "C6202AO_SSI_TargetDlg.h" - -#ifdef _DEBUG -#define new DEBUG_NEW -#undef THIS_FILE -static char THIS_FILE[] = __FILE__; -#endif - -///////////////////////////////////////////////////////////////////////////// -// CAboutDlg dialog used for App About - -class CAboutDlg : public CDialog -{ -public: - CAboutDlg(); - -// Dialog Data - //{{AFX_DATA(CAboutDlg) - enum { IDD = IDD_ABOUTBOX }; - //}}AFX_DATA - - // ClassWizard generated virtual function overrides - //{{AFX_VIRTUAL(CAboutDlg) - protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - //}}AFX_VIRTUAL - -// Implementation -protected: - //{{AFX_MSG(CAboutDlg) - //}}AFX_MSG - DECLARE_MESSAGE_MAP() -}; - -CAboutDlg::CAboutDlg() : CDialog(CAboutDlg::IDD) -{ - //{{AFX_DATA_INIT(CAboutDlg) - //}}AFX_DATA_INIT -} - -void CAboutDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); - //{{AFX_DATA_MAP(CAboutDlg) - //}}AFX_DATA_MAP -} - -BEGIN_MESSAGE_MAP(CAboutDlg, CDialog) - //{{AFX_MSG_MAP(CAboutDlg) - // No message handlers - //}}AFX_MSG_MAP -END_MESSAGE_MAP() - -///////////////////////////////////////////////////////////////////////////// -// CC6202AOSingleBufferDlg dialog - -CC6202AOSingleBufferDlg::CC6202AOSingleBufferDlg(CWnd* pParent /*=NULL*/) - : CDialog(CC6202AOSingleBufferDlg::IDD, pParent) -{ - m_dev = -1; - //{{AFX_DATA_INIT(CC6202AOSingleBufferDlg) - m_trg_src = 0; - m_delay_1 = 0; - m_delay_2 = 0; - m_iteration = 0; - m_cardnum = 0; - //}}AFX_DATA_INIT - // Note that LoadIcon does not require a subsequent DestroyIcon in Win32 - m_hIcon = AfxGetApp()->LoadIcon(IDR_MAINFRAME); -} - -void CC6202AOSingleBufferDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); - //{{AFX_DATA_MAP(CC6202AOSingleBufferDlg) - DDX_CBIndex(pDX, IDC_COMBO_TRG_SRC, m_trg_src); - DDX_Text(pDX, IDC_EDIT_DELAY_1, m_delay_1); - DDX_Text(pDX, IDC_EDIT_DELAY_2, m_delay_2); - DDX_CBIndex(pDX, IDC_COMBO_ITERATION, m_iteration); - DDX_CBIndex(pDX, IDC_COMBO_CARDNUM, m_cardnum); - //}}AFX_DATA_MAP -} - -BEGIN_MESSAGE_MAP(CC6202AOSingleBufferDlg, CDialog) - //{{AFX_MSG_MAP(CC6202AOSingleBufferDlg) - ON_WM_SYSCOMMAND() - ON_WM_PAINT() - ON_WM_QUERYDRAGICON() - ON_WM_CREATE() - ON_WM_CLOSE() - ON_BN_CLICKED(IDC_BTN_START, OnBtnStart) - //}}AFX_MSG_MAP -END_MESSAGE_MAP() - -///////////////////////////////////////////////////////////////////////////// -// CC6202AOSingleBufferDlg message handlers - -BOOL CC6202AOSingleBufferDlg::OnInitDialog() -{ - CDialog::OnInitDialog(); - - // Add "About..." menu item to system menu. - - // IDM_ABOUTBOX must be in the system command range. - ASSERT((IDM_ABOUTBOX & 0xFFF0) == IDM_ABOUTBOX); - ASSERT(IDM_ABOUTBOX < 0xF000); - - CMenu* pSysMenu = GetSystemMenu(FALSE); - if (pSysMenu != NULL) - { - CString strAboutMenu; - strAboutMenu.LoadString(IDS_ABOUTBOX); - if (!strAboutMenu.IsEmpty()) - { - pSysMenu->AppendMenu(MF_SEPARATOR); - pSysMenu->AppendMenu(MF_STRING, IDM_ABOUTBOX, strAboutMenu); - } - } - - // Set the icon for this dialog. The framework does this automatically - // when the application's main window is not a dialog - SetIcon(m_hIcon, TRUE); // Set big icon - SetIcon(m_hIcon, FALSE); // Set small icon - - // TODO: Add extra initialization here - - return TRUE; // return TRUE unless you set the focus to a control -} - -void CC6202AOSingleBufferDlg::OnSysCommand(UINT nID, LPARAM lParam) -{ - if ((nID & 0xFFF0) == IDM_ABOUTBOX) - { - CAboutDlg dlgAbout; - dlgAbout.DoModal(); - } - else - { - CDialog::OnSysCommand(nID, lParam); - } -} - -// If you add a minimize button to your dialog, you will need the code below -// to draw the icon. For MFC applications using the document/view model, -// this is automatically done for you by the framework. - -void CC6202AOSingleBufferDlg::OnPaint() -{ - if (IsIconic()) - { - CPaintDC dc(this); // device context for painting - - SendMessage(WM_ICONERASEBKGND, (WPARAM) dc.GetSafeHdc(), 0); - - // Center icon in client rectangle - int cxIcon = GetSystemMetrics(SM_CXICON); - int cyIcon = GetSystemMetrics(SM_CYICON); - CRect rect; - GetClientRect(&rect); - int x = (rect.Width() - cxIcon + 1) / 2; - int y = (rect.Height() - cyIcon + 1) / 2; - - // Draw the icon - dc.DrawIcon(x, y, m_hIcon); - } - else - { - CDialog::OnPaint(); - } -} - -// The system calls this to obtain the cursor to display while the user drags -// the minimized window. -HCURSOR CC6202AOSingleBufferDlg::OnQueryDragIcon() -{ - return (HCURSOR) m_hIcon; -} - -int CC6202AOSingleBufferDlg::OnCreate(LPCREATESTRUCT lpCreateStruct) -{ - int i; - - if (CDialog::OnCreate(lpCreateStruct) == -1) - return -1; - - for(i = 0; i < DATA_CNT; i++) - { - m_buffer[i] = i * (65536/DATA_CNT); - } - - return 0; -} - -void CC6202AOSingleBufferDlg::OnClose() -{ - I16 err; - - if(m_dev >= 0) - { - err = Release_Card(m_dev); - } - - CDialog::OnClose(); -} - -void CC6202AOSingleBufferDlg::OnBtnStart() -{ - I16 err; - U16 trg_src; - U16 BufId_0; - BOOLEAN bStopFlag = FALSE; - DWORD dwWriteCnt = 0; - - UpdateData(); - m_dev = Register_Card(PCI_6202, m_cardnum); - if(m_dev < 0) - { - MessageBox("Register_Card Error!"); - return; - } - switch(m_trg_src) - { - case 0: - trg_src = P6202_DA_TRGSRC_SSI; - break; - } - err = AO_6202_Config(m_dev, P6202_DA_WRSRC_Int, - trg_src | P6202_DA_TRGMOD_DELAY , - 0,//ReTrg cont - m_delay_1,//delay1 - m_delay_2,//delay2 - true); - err = AO_ContBufferReset(m_dev); - err = AO_ContBufferSetup(m_dev, m_buffer, DATA_CNT, &BufId_0); - err = AO_AsyncDblBufferMode(m_dev , 0); - err = AO_ContWriteChannel(m_dev, - 0,//ch - BufId_0, - DATA_CNT, - m_iteration+1,//Iterations - 80,//CHUI - 1,//definite - ASYNCH_OP); - while(!bStopFlag) - { - AO_AsyncCheck(m_dev, &bStopFlag, &dwWriteCnt); - } - AO_AsyncClear(m_dev, &dwWriteCnt, 0); - AfxMessageBox("ok"); -} - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/6202/C6202AO_SSI_Target/C6202AO_SSI_TargetDlg.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/6202/C6202AO_SSI_Target/C6202AO_SSI_TargetDlg.h deleted file mode 100644 index 046c351..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/6202/C6202AO_SSI_Target/C6202AO_SSI_TargetDlg.h +++ /dev/null @@ -1,63 +0,0 @@ -// C6202AOSingleBufferDlg.h : header file -// - -#if !defined(AFX_C6202AOSINGLEBUFFERDLG_H__2C022A7A_DE70_468D_ADA8_A5DD90727C2A__INCLUDED_) -#define AFX_C6202AOSINGLEBUFFERDLG_H__2C022A7A_DE70_468D_ADA8_A5DD90727C2A__INCLUDED_ - -#if _MSC_VER > 1000 -#pragma once -#endif // _MSC_VER > 1000 - -#include "..\..\..\include\dask.h" - -#define DATA_CNT 1024 - -///////////////////////////////////////////////////////////////////////////// -// CC6202AOSingleBufferDlg dialog - -class CC6202AOSingleBufferDlg : public CDialog -{ -// Construction -public: - CC6202AOSingleBufferDlg(CWnd* pParent = NULL); // standard constructor - - I16 m_dev; - U32 m_buffer[DATA_CNT]; - -// Dialog Data - //{{AFX_DATA(CC6202AOSingleBufferDlg) - enum { IDD = IDD_C6202AOSINGLEBUFFER_DIALOG }; - int m_trg_src; - DWORD m_delay_1; - DWORD m_delay_2; - int m_iteration; - int m_cardnum; - //}}AFX_DATA - - // ClassWizard generated virtual function overrides - //{{AFX_VIRTUAL(CC6202AOSingleBufferDlg) - protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - //}}AFX_VIRTUAL - -// Implementation -protected: - HICON m_hIcon; - - // Generated message map functions - //{{AFX_MSG(CC6202AOSingleBufferDlg) - virtual BOOL OnInitDialog(); - afx_msg void OnSysCommand(UINT nID, LPARAM lParam); - afx_msg void OnPaint(); - afx_msg HCURSOR OnQueryDragIcon(); - afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct); - afx_msg void OnClose(); - afx_msg void OnBtnStart(); - //}}AFX_MSG - DECLARE_MESSAGE_MAP() -}; - -//{{AFX_INSERT_LOCATION}} -// Microsoft Visual C++ will insert additional declarations immediately before the previous line. - -#endif // !defined(AFX_C6202AOSINGLEBUFFERDLG_H__2C022A7A_DE70_468D_ADA8_A5DD90727C2A__INCLUDED_) diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/6202/C6202AO_SSI_Target/ReadMe.txt b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/6202/C6202AO_SSI_Target/ReadMe.txt deleted file mode 100644 index f7b3143..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/6202/C6202AO_SSI_Target/ReadMe.txt +++ /dev/null @@ -1,88 +0,0 @@ -======================================================================== - MICROSOFT FOUNDATION CLASS LIBRARY : C6202AOSingleBuffer -======================================================================== - - -AppWizard has created this C6202AOSingleBuffer application for you. This application -not only demonstrates the basics of using the Microsoft Foundation classes -but is also a starting point for writing your application. - -This file contains a summary of what you will find in each of the files that -make up your C6202AOSingleBuffer application. - -C6202AOSingleBuffer.dsp - This file (the project file) contains information at the project level and - is used to build a single project or subproject. Other users can share the - project (.dsp) file, but they should export the makefiles locally. - -C6202AOSingleBuffer.h - This is the main header file for the application. It includes other - project specific headers (including Resource.h) and declares the - CC6202AOSingleBufferApp application class. - -C6202AOSingleBuffer.cpp - This is the main application source file that contains the application - class CC6202AOSingleBufferApp. - -C6202AOSingleBuffer.rc - This is a listing of all of the Microsoft Windows resources that the - program uses. It includes the icons, bitmaps, and cursors that are stored - in the RES subdirectory. This file can be directly edited in Microsoft - Visual C++. - -C6202AOSingleBuffer.clw - This file contains information used by ClassWizard to edit existing - classes or add new classes. ClassWizard also uses this file to store - information needed to create and edit message maps and dialog data - maps and to create prototype member functions. - -res\C6202AOSingleBuffer.ico - This is an icon file, which is used as the application's icon. This - icon is included by the main resource file C6202AOSingleBuffer.rc. - -res\C6202AOSingleBuffer.rc2 - This file contains resources that are not edited by Microsoft - Visual C++. You should place all resources not editable by - the resource editor in this file. - - - - -///////////////////////////////////////////////////////////////////////////// - -AppWizard creates one dialog class: - -C6202AOSingleBufferDlg.h, C6202AOSingleBufferDlg.cpp - the dialog - These files contain your CC6202AOSingleBufferDlg class. This class defines - the behavior of your application's main dialog. The dialog's - template is in C6202AOSingleBuffer.rc, which can be edited in Microsoft - Visual C++. - - -///////////////////////////////////////////////////////////////////////////// -Other standard files: - -StdAfx.h, StdAfx.cpp - These files are used to build a precompiled header (PCH) file - named C6202AOSingleBuffer.pch and a precompiled types file named StdAfx.obj. - -Resource.h - This is the standard header file, which defines new resource IDs. - Microsoft Visual C++ reads and updates this file. - -///////////////////////////////////////////////////////////////////////////// -Other notes: - -AppWizard uses "TODO:" to indicate parts of the source code you -should add to or customize. - -If your application uses MFC in a shared DLL, and your application is -in a language other than the operating system's current language, you -will need to copy the corresponding localized resources MFC42XXX.DLL -from the Microsoft Visual C++ CD-ROM onto the system or system32 directory, -and rename it to be MFCLOC.DLL. ("XXX" stands for the language abbreviation. -For example, MFC42DEU.DLL contains resources translated to German.) If you -don't do this, some of the UI elements of your application will remain in the -language of the operating system. - -///////////////////////////////////////////////////////////////////////////// diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/6202/C6202AO_SSI_Target/Release/C6202AO_SSI_Target.exe b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/6202/C6202AO_SSI_Target/Release/C6202AO_SSI_Target.exe deleted file mode 100644 index 83d756d..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/6202/C6202AO_SSI_Target/Release/C6202AO_SSI_Target.exe and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/6202/C6202AO_SSI_Target/StdAfx.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/6202/C6202AO_SSI_Target/StdAfx.cpp deleted file mode 100644 index b9195aa..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/6202/C6202AO_SSI_Target/StdAfx.cpp +++ /dev/null @@ -1,8 +0,0 @@ -// stdafx.cpp : source file that includes just the standard includes -// C6202AOSingleBuffer.pch will be the pre-compiled header -// stdafx.obj will contain the pre-compiled type information - -#include "stdafx.h" - - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/6202/C6202AO_SSI_Target/StdAfx.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/6202/C6202AO_SSI_Target/StdAfx.h deleted file mode 100644 index bfd8833..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/6202/C6202AO_SSI_Target/StdAfx.h +++ /dev/null @@ -1,27 +0,0 @@ -// stdafx.h : include file for standard system include files, -// or project specific include files that are used frequently, but -// are changed infrequently -// - -#if !defined(AFX_STDAFX_H__0CE30F42_618B_42FA_87D6_6CD2318E2EBE__INCLUDED_) -#define AFX_STDAFX_H__0CE30F42_618B_42FA_87D6_6CD2318E2EBE__INCLUDED_ - -#if _MSC_VER > 1000 -#pragma once -#endif // _MSC_VER > 1000 - -#define VC_EXTRALEAN // Exclude rarely-used stuff from Windows headers - -#include // MFC core and standard components -#include // MFC extensions -#include // MFC Automation classes -#include // MFC support for Internet Explorer 4 Common Controls -#ifndef _AFX_NO_AFXCMN_SUPPORT -#include // MFC support for Windows Common Controls -#endif // _AFX_NO_AFXCMN_SUPPORT - - -//{{AFX_INSERT_LOCATION}} -// Microsoft Visual C++ will insert additional declarations immediately before the previous line. - -#endif // !defined(AFX_STDAFX_H__0CE30F42_618B_42FA_87D6_6CD2318E2EBE__INCLUDED_) diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/6202/C6202AO_SSI_Target/res/C6202AO_SSI_Target.ico b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/6202/C6202AO_SSI_Target/res/C6202AO_SSI_Target.ico deleted file mode 100644 index 7eef0bc..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/6202/C6202AO_SSI_Target/res/C6202AO_SSI_Target.ico and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/6202/C6202AO_SSI_Target/res/C6202AO_SSI_Target.rc2 b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/6202/C6202AO_SSI_Target/res/C6202AO_SSI_Target.rc2 deleted file mode 100644 index d463580..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/6202/C6202AO_SSI_Target/res/C6202AO_SSI_Target.rc2 +++ /dev/null @@ -1,13 +0,0 @@ -// -// C6202AOSINGLEBUFFER.RC2 - resources Microsoft Visual C++ does not edit directly -// - -#ifdef APSTUDIO_INVOKED - #error this file is not editable by Microsoft Visual C++ -#endif //APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// Add manually edited resources here... - -///////////////////////////////////////////////////////////////////////////// diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/6202/C6202AO_SSI_Target/res/cursor1.cur b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/6202/C6202AO_SSI_Target/res/cursor1.cur deleted file mode 100644 index 048f06b..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/6202/C6202AO_SSI_Target/res/cursor1.cur and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/6202/C6202AO_SSI_Target/resource.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/6202/C6202AO_SSI_Target/resource.h deleted file mode 100644 index d39e295..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/6202/C6202AO_SSI_Target/resource.h +++ /dev/null @@ -1,28 +0,0 @@ -//{{NO_DEPENDENCIES}} -// Microsoft Developer Studio generated include file. -// Used by C6202AO_SSI_Target.rc -// -#define IDM_ABOUTBOX 0x0010 -#define IDD_ABOUTBOX 100 -#define IDS_ABOUTBOX 101 -#define IDD_C6202AOSINGLEBUFFER_DIALOG 102 -#define IDR_MAINFRAME 128 -#define IDC_BTN_START 1000 -#define IDC_COMBO_TRG_SRC 1001 -#define IDC_COMBO_ITERATION 1002 -#define IDC_EDIT_DELAY_1 1003 -#define IDC_EDIT_DELAY_2 1004 -#define IDC_BUTTON1 1005 -#define IDC_CARDNUM 1006 -#define IDC_COMBO_CARDNUM 1007 - -// Next default values for new objects -// -#ifdef APSTUDIO_INVOKED -#ifndef APSTUDIO_READONLY_SYMBOLS -#define _APS_NEXT_RESOURCE_VALUE 131 -#define _APS_NEXT_COMMAND_VALUE 32771 -#define _APS_NEXT_CONTROL_VALUE 1008 -#define _APS_NEXT_SYMED_VALUE 101 -#endif -#endif diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/6202/C6202DIO/C6202DIO.APS b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/6202/C6202DIO/C6202DIO.APS deleted file mode 100644 index 416ddcd..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/6202/C6202DIO/C6202DIO.APS and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/6202/C6202DIO/C6202DIO.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/6202/C6202DIO/C6202DIO.cpp deleted file mode 100644 index 1c537f2..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/6202/C6202DIO/C6202DIO.cpp +++ /dev/null @@ -1,74 +0,0 @@ -// C6202DIO.cpp : Defines the class behaviors for the application. -// - -#include "stdafx.h" -#include "C6202DIO.h" -#include "C6202DIODlg.h" - -#ifdef _DEBUG -#define new DEBUG_NEW -#undef THIS_FILE -static char THIS_FILE[] = __FILE__; -#endif - -///////////////////////////////////////////////////////////////////////////// -// CC6202DIOApp - -BEGIN_MESSAGE_MAP(CC6202DIOApp, CWinApp) - //{{AFX_MSG_MAP(CC6202DIOApp) - // NOTE - the ClassWizard will add and remove mapping macros here. - // DO NOT EDIT what you see in these blocks of generated code! - //}}AFX_MSG - ON_COMMAND(ID_HELP, CWinApp::OnHelp) -END_MESSAGE_MAP() - -///////////////////////////////////////////////////////////////////////////// -// CC6202DIOApp construction - -CC6202DIOApp::CC6202DIOApp() -{ - // TODO: add construction code here, - // Place all significant initialization in InitInstance -} - -///////////////////////////////////////////////////////////////////////////// -// The one and only CC6202DIOApp object - -CC6202DIOApp theApp; - -///////////////////////////////////////////////////////////////////////////// -// CC6202DIOApp initialization - -BOOL CC6202DIOApp::InitInstance() -{ - AfxEnableControlContainer(); - - // Standard initialization - // If you are not using these features and wish to reduce the size - // of your final executable, you should remove from the following - // the specific initialization routines you do not need. - -#ifdef _AFXDLL - Enable3dControls(); // Call this when using MFC in a shared DLL -#else - Enable3dControlsStatic(); // Call this when linking to MFC statically -#endif - - CC6202DIODlg dlg; - m_pMainWnd = &dlg; - int nResponse = dlg.DoModal(); - if (nResponse == IDOK) - { - // TODO: Place code here to handle when the dialog is - // dismissed with OK - } - else if (nResponse == IDCANCEL) - { - // TODO: Place code here to handle when the dialog is - // dismissed with Cancel - } - - // Since the dialog has been closed, return FALSE so that we exit the - // application, rather than start the application's message pump. - return FALSE; -} diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/6202/C6202DIO/C6202DIO.dsp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/6202/C6202DIO/C6202DIO.dsp deleted file mode 100644 index e3c886e..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/6202/C6202DIO/C6202DIO.dsp +++ /dev/null @@ -1,154 +0,0 @@ -# Microsoft Developer Studio Project File - Name="C6202DIO" - Package Owner=<4> -# Microsoft Developer Studio Generated Build File, Format Version 6.00 -# ** DO NOT EDIT ** - -# TARGTYPE "Win32 (x86) Application" 0x0101 - -CFG=C6202DIO - Win32 Debug -!MESSAGE This is not a valid makefile. To build this project using NMAKE, -!MESSAGE use the Export Makefile command and run -!MESSAGE -!MESSAGE NMAKE /f "C6202DIO.mak". -!MESSAGE -!MESSAGE You can specify a configuration when running NMAKE -!MESSAGE by defining the macro CFG on the command line. For example: -!MESSAGE -!MESSAGE NMAKE /f "C6202DIO.mak" CFG="C6202DIO - Win32 Debug" -!MESSAGE -!MESSAGE Possible choices for configuration are: -!MESSAGE -!MESSAGE "C6202DIO - Win32 Release" (based on "Win32 (x86) Application") -!MESSAGE "C6202DIO - Win32 Debug" (based on "Win32 (x86) Application") -!MESSAGE - -# Begin Project -# PROP AllowPerConfigDependencies 0 -# PROP Scc_ProjName "" -# PROP Scc_LocalPath "" -CPP=cl.exe -MTL=midl.exe -RSC=rc.exe - -!IF "$(CFG)" == "C6202DIO - Win32 Release" - -# PROP BASE Use_MFC 6 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "Release" -# PROP BASE Intermediate_Dir "Release" -# PROP BASE Target_Dir "" -# PROP Use_MFC 6 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "Release" -# PROP Intermediate_Dir "Release" -# PROP Target_Dir "" -# ADD BASE CPP /nologo /MD /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /D "_AFXDLL" /Yu"stdafx.h" /FD /c -# ADD CPP /nologo /MD /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /D "_AFXDLL" /D "_MBCS" /Yu"stdafx.h" /FD /c -# ADD BASE MTL /nologo /D "NDEBUG" /mktyplib203 /win32 -# ADD MTL /nologo /D "NDEBUG" /mktyplib203 /win32 -# ADD BASE RSC /l 0x404 /d "NDEBUG" /d "_AFXDLL" -# ADD RSC /l 0x404 /d "NDEBUG" /d "_AFXDLL" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 /nologo /subsystem:windows /machine:I386 -# ADD LINK32 /nologo /subsystem:windows /machine:I386 - -!ELSEIF "$(CFG)" == "C6202DIO - Win32 Debug" - -# PROP BASE Use_MFC 6 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "Debug" -# PROP BASE Intermediate_Dir "Debug" -# PROP BASE Target_Dir "" -# PROP Use_MFC 6 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "Debug" -# PROP Intermediate_Dir "Debug" -# PROP Target_Dir "" -# ADD BASE CPP /nologo /MDd /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /D "_AFXDLL" /Yu"stdafx.h" /FD /GZ /c -# ADD CPP /nologo /MDd /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /D "_AFXDLL" /D "_MBCS" /Yu"stdafx.h" /FD /GZ /c -# ADD BASE MTL /nologo /D "_DEBUG" /mktyplib203 /win32 -# ADD MTL /nologo /D "_DEBUG" /mktyplib203 /win32 -# ADD BASE RSC /l 0x404 /d "_DEBUG" /d "_AFXDLL" -# ADD RSC /l 0x404 /d "_DEBUG" /d "_AFXDLL" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 /nologo /subsystem:windows /debug /machine:I386 /pdbtype:sept -# ADD LINK32 /nologo /subsystem:windows /debug /machine:I386 /pdbtype:sept - -!ENDIF - -# Begin Target - -# Name "C6202DIO - Win32 Release" -# Name "C6202DIO - Win32 Debug" -# Begin Group "Source Files" - -# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;idl;hpj;bat" -# Begin Source File - -SOURCE=.\C6202DIO.cpp -# End Source File -# Begin Source File - -SOURCE=.\C6202DIO.rc -# End Source File -# Begin Source File - -SOURCE=.\C6202DIODlg.cpp -# End Source File -# Begin Source File - -SOURCE=.\StdAfx.cpp -# ADD CPP /Yc"stdafx.h" -# End Source File -# End Group -# Begin Group "Header Files" - -# PROP Default_Filter "h;hpp;hxx;hm;inl" -# Begin Source File - -SOURCE=.\C6202DIO.h -# End Source File -# Begin Source File - -SOURCE=.\C6202DIODlg.h -# End Source File -# Begin Source File - -SOURCE=..\..\..\Include\Dask.h -# End Source File -# Begin Source File - -SOURCE=.\Resource.h -# End Source File -# Begin Source File - -SOURCE=.\StdAfx.h -# End Source File -# End Group -# Begin Group "Resource Files" - -# PROP Default_Filter "ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe" -# Begin Source File - -SOURCE=.\res\C6202DIO.ico -# End Source File -# Begin Source File - -SOURCE=.\res\C6202DIO.rc2 -# End Source File -# End Group -# Begin Source File - -SOURCE=.\ReadMe.txt -# End Source File -# Begin Source File - -SOURCE="..\..\..\Lib\PCI-Dask.lib" -# End Source File -# End Target -# End Project diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/6202/C6202DIO/C6202DIO.dsw b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/6202/C6202DIO/C6202DIO.dsw deleted file mode 100644 index 24a78cb..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/6202/C6202DIO/C6202DIO.dsw +++ /dev/null @@ -1,29 +0,0 @@ -Microsoft Developer Studio Workspace File, Format Version 6.00 -# WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE! - -############################################################################### - -Project: "C6202DIO"=.\C6202DIO.dsp - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ -}}} - -############################################################################### - -Global: - -Package=<5> -{{{ -}}} - -Package=<3> -{{{ -}}} - -############################################################################### - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/6202/C6202DIO/C6202DIO.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/6202/C6202DIO/C6202DIO.h deleted file mode 100644 index 2897f11..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/6202/C6202DIO/C6202DIO.h +++ /dev/null @@ -1,49 +0,0 @@ -// C6202DIO.h : main header file for the C6202DIO application -// - -#if !defined(AFX_C6202DIO_H__74EFE087_B46F_4E7F_8218_F37BB2FBC0DA__INCLUDED_) -#define AFX_C6202DIO_H__74EFE087_B46F_4E7F_8218_F37BB2FBC0DA__INCLUDED_ - -#if _MSC_VER > 1000 -#pragma once -#endif // _MSC_VER > 1000 - -#ifndef __AFXWIN_H__ - #error include 'stdafx.h' before including this file for PCH -#endif - -#include "resource.h" // main symbols - -///////////////////////////////////////////////////////////////////////////// -// CC6202DIOApp: -// See C6202DIO.cpp for the implementation of this class -// - -class CC6202DIOApp : public CWinApp -{ -public: - CC6202DIOApp(); - -// Overrides - // ClassWizard generated virtual function overrides - //{{AFX_VIRTUAL(CC6202DIOApp) - public: - virtual BOOL InitInstance(); - //}}AFX_VIRTUAL - -// Implementation - - //{{AFX_MSG(CC6202DIOApp) - // NOTE - the ClassWizard will add and remove member functions here. - // DO NOT EDIT what you see in these blocks of generated code ! - //}}AFX_MSG - DECLARE_MESSAGE_MAP() -}; - - -///////////////////////////////////////////////////////////////////////////// - -//{{AFX_INSERT_LOCATION}} -// Microsoft Visual C++ will insert additional declarations immediately before the previous line. - -#endif // !defined(AFX_C6202DIO_H__74EFE087_B46F_4E7F_8218_F37BB2FBC0DA__INCLUDED_) diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/6202/C6202DIO/C6202DIO.rc b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/6202/C6202DIO/C6202DIO.rc deleted file mode 100644 index 691afb0..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/6202/C6202DIO/C6202DIO.rc +++ /dev/null @@ -1,220 +0,0 @@ -//Microsoft Developer Studio generated resource script. -// -#include "resource.h" - -#define APSTUDIO_READONLY_SYMBOLS -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 2 resource. -// -#include "afxres.h" - -///////////////////////////////////////////////////////////////////////////// -#undef APSTUDIO_READONLY_SYMBOLS - -///////////////////////////////////////////////////////////////////////////// -// Chinese (Taiwan) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_CHT) -#ifdef _WIN32 -LANGUAGE LANG_CHINESE, SUBLANG_CHINESE_TRADITIONAL -#pragma code_page(950) -#endif //_WIN32 - -#ifdef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// TEXTINCLUDE -// - -1 TEXTINCLUDE DISCARDABLE -BEGIN - "resource.h\0" -END - -2 TEXTINCLUDE DISCARDABLE -BEGIN - "#include ""afxres.h""\r\n" - "\0" -END - -3 TEXTINCLUDE DISCARDABLE -BEGIN - "#define _AFX_NO_SPLITTER_RESOURCES\r\n" - "#define _AFX_NO_OLE_RESOURCES\r\n" - "#define _AFX_NO_TRACKER_RESOURCES\r\n" - "#define _AFX_NO_PROPERTY_RESOURCES\r\n" - "\r\n" - "#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_CHT)\r\n" - "#ifdef _WIN32\r\n" - "LANGUAGE 4, 1\r\n" - "#pragma code_page(950)\r\n" - "#endif //_WIN32\r\n" - "#include ""res\\C6202DIO.rc2"" // non-Microsoft Visual C++ edited resources\r\n" - "#include ""l.cht\\afxres.rc"" // Standard components\r\n" - "#endif\r\n" - "\0" -END - -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// Icon -// - -// Icon with lowest ID value placed first to ensure application icon -// remains consistent on all systems. -IDR_MAINFRAME ICON DISCARDABLE "res\\C6202DIO.ico" - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog -// - -IDD_ABOUTBOX DIALOG DISCARDABLE 0, 0, 235, 55 -STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION " C6202DIO" -FONT 9, "sө" -BEGIN - ICON IDR_MAINFRAME,IDC_STATIC,11,17,20,20 - LTEXT "C6202DIO Version 1.0",IDC_STATIC,40,10,119,8, - SS_NOPREFIX - LTEXT "Copyright (C) 2007",IDC_STATIC,40,25,119,8 - DEFPUSHBUTTON "Tw",IDOK,178,7,50,14,WS_GROUP -END - -IDD_C6202DIO_DIALOG DIALOGEX 0, 0, 212, 185 -STYLE DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU -EXSTYLE WS_EX_APPWINDOW -CAPTION "C6202DIO" -FONT 9, "sө" -BEGIN - DEFPUSHBUTTON "exit",IDOK,77,153,50,14 - GROUPBOX "DO",IDC_STATIC,7,78,198,66 - GROUPBOX "DI",IDC_STATIC,7,7,198,66 - LTEXT "Isolation DI Port:",IDC_STATIC,25,27,54,8 - LTEXT "Isolation DO Port:",IDC_STATIC,22,96,57,8 - LTEXT "TTL DI Port:",IDC_STATIC,25,45,42,8 - LTEXT "TTL DO Port:",IDC_STATIC,23,117,44,8 - EDITTEXT IDC_EDIT_DI_0,90,26,40,14,ES_RIGHT | ES_AUTOHSCROLL | - ES_READONLY - EDITTEXT IDC_EDIT_DI_1,91,46,40,14,ES_RIGHT | ES_AUTOHSCROLL | - ES_READONLY - EDITTEXT IDC_EDIT_DO_0,88,94,40,14,ES_RIGHT | ES_AUTOHSCROLL - EDITTEXT IDC_EDIT_DO_1,87,113,40,14,ES_RIGHT | ES_AUTOHSCROLL - PUSHBUTTON "Read",IDC_BUTTON_DI_0,140,27,50,14 - PUSHBUTTON "Read",IDC_BUTTON_DI_1,140,47,50,14 - PUSHBUTTON "Write",IDC_BUTTON_DO_0,141,91,50,14 - PUSHBUTTON "Write",IDC_BUTTON_DO_1,141,113,50,14 -END - - -#ifndef _MAC -///////////////////////////////////////////////////////////////////////////// -// -// Version -// - -VS_VERSION_INFO VERSIONINFO - FILEVERSION 1,0,0,1 - PRODUCTVERSION 1,0,0,1 - FILEFLAGSMASK 0x3fL -#ifdef _DEBUG - FILEFLAGS 0x1L -#else - FILEFLAGS 0x0L -#endif - FILEOS 0x4L - FILETYPE 0x1L - FILESUBTYPE 0x0L -BEGIN - BLOCK "StringFileInfo" - BEGIN - BLOCK "040404B0" - BEGIN - VALUE "CompanyName", "\0" - VALUE "FileDescription", "C6202DIO MFC Application\0" - VALUE "FileVersion", "1, 0, 0, 1\0" - VALUE "InternalName", "C6202DIO\0" - VALUE "LegalCopyright", "Copyright (C) 2007\0" - VALUE "LegalTrademarks", "\0" - VALUE "OriginalFilename", "C6202DIO.EXE\0" - VALUE "ProductName", "C6202DIO Application\0" - VALUE "ProductVersion", "1, 0, 0, 1\0" - END - END - BLOCK "VarFileInfo" - BEGIN - VALUE "Translation", 0x404, 1200 - END -END - -#endif // !_MAC - - -///////////////////////////////////////////////////////////////////////////// -// -// DESIGNINFO -// - -#ifdef APSTUDIO_INVOKED -GUIDELINES DESIGNINFO DISCARDABLE -BEGIN - IDD_ABOUTBOX, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 228 - TOPMARGIN, 7 - BOTTOMMARGIN, 48 - END - - IDD_C6202DIO_DIALOG, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 205 - TOPMARGIN, 7 - BOTTOMMARGIN, 178 - END -END -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// String Table -// - -STRINGTABLE DISCARDABLE -BEGIN - IDS_ABOUTBOX " C6202DIO(&A)..." -END - -#endif // Chinese (Taiwan) resources -///////////////////////////////////////////////////////////////////////////// - - - -#ifndef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 3 resource. -// -#define _AFX_NO_SPLITTER_RESOURCES -#define _AFX_NO_OLE_RESOURCES -#define _AFX_NO_TRACKER_RESOURCES -#define _AFX_NO_PROPERTY_RESOURCES - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_CHT) -#ifdef _WIN32 -LANGUAGE 4, 1 -#pragma code_page(950) -#endif //_WIN32 -#include "res\C6202DIO.rc2" // non-Microsoft Visual C++ edited resources -#include "l.cht\afxres.rc" // Standard components -#endif - -///////////////////////////////////////////////////////////////////////////// -#endif // not APSTUDIO_INVOKED - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/6202/C6202DIO/C6202DIODlg.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/6202/C6202DIO/C6202DIODlg.cpp deleted file mode 100644 index 4b9e0db..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/6202/C6202DIO/C6202DIODlg.cpp +++ /dev/null @@ -1,246 +0,0 @@ -// C6202DIODlg.cpp : implementation file -// - -#include "stdafx.h" -#include "C6202DIO.h" -#include "C6202DIODlg.h" - -#ifdef _DEBUG -#define new DEBUG_NEW -#undef THIS_FILE -static char THIS_FILE[] = __FILE__; -#endif - -///////////////////////////////////////////////////////////////////////////// -// CAboutDlg dialog used for App About - -class CAboutDlg : public CDialog -{ -public: - CAboutDlg(); - -// Dialog Data - //{{AFX_DATA(CAboutDlg) - enum { IDD = IDD_ABOUTBOX }; - //}}AFX_DATA - - // ClassWizard generated virtual function overrides - //{{AFX_VIRTUAL(CAboutDlg) - protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - //}}AFX_VIRTUAL - -// Implementation -protected: - //{{AFX_MSG(CAboutDlg) - //}}AFX_MSG - DECLARE_MESSAGE_MAP() -}; - -CAboutDlg::CAboutDlg() : CDialog(CAboutDlg::IDD) -{ - //{{AFX_DATA_INIT(CAboutDlg) - //}}AFX_DATA_INIT -} - -void CAboutDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); - //{{AFX_DATA_MAP(CAboutDlg) - //}}AFX_DATA_MAP -} - -BEGIN_MESSAGE_MAP(CAboutDlg, CDialog) - //{{AFX_MSG_MAP(CAboutDlg) - // No message handlers - //}}AFX_MSG_MAP -END_MESSAGE_MAP() - -///////////////////////////////////////////////////////////////////////////// -// CC6202DIODlg dialog - -CC6202DIODlg::CC6202DIODlg(CWnd* pParent /*=NULL*/) - : CDialog(CC6202DIODlg::IDD, pParent) -{ - //{{AFX_DATA_INIT(CC6202DIODlg) - m_di_0 = 0; - m_di_1 = 0; - m_do_0 = 0; - m_do_1 = 0; - //}}AFX_DATA_INIT - // Note that LoadIcon does not require a subsequent DestroyIcon in Win32 - m_hIcon = AfxGetApp()->LoadIcon(IDR_MAINFRAME); -} - -void CC6202DIODlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); - //{{AFX_DATA_MAP(CC6202DIODlg) - DDX_Text(pDX, IDC_EDIT_DI_0, m_di_0); - DDV_MinMaxDWord(pDX, m_di_0, 0, 65536); - DDX_Text(pDX, IDC_EDIT_DI_1, m_di_1); - DDV_MinMaxDWord(pDX, m_di_1, 0, 255); - DDX_Text(pDX, IDC_EDIT_DO_0, m_do_0); - DDV_MinMaxDWord(pDX, m_do_0, 0, 65535); - DDX_Text(pDX, IDC_EDIT_DO_1, m_do_1); - DDV_MinMaxDWord(pDX, m_do_1, 0, 255); - //}}AFX_DATA_MAP -} - -BEGIN_MESSAGE_MAP(CC6202DIODlg, CDialog) - //{{AFX_MSG_MAP(CC6202DIODlg) - ON_WM_SYSCOMMAND() - ON_WM_PAINT() - ON_WM_QUERYDRAGICON() - ON_WM_CREATE() - ON_WM_CLOSE() - ON_BN_CLICKED(IDC_BUTTON_DI_0, OnButtonDi0) - ON_BN_CLICKED(IDC_BUTTON_DI_1, OnButtonDi1) - ON_BN_CLICKED(IDC_BUTTON_DO_0, OnButtonDo0) - ON_BN_CLICKED(IDC_BUTTON_DO_1, OnButtonDo1) - //}}AFX_MSG_MAP -END_MESSAGE_MAP() - -///////////////////////////////////////////////////////////////////////////// -// CC6202DIODlg message handlers - -BOOL CC6202DIODlg::OnInitDialog() -{ - CDialog::OnInitDialog(); - - // Add "About..." menu item to system menu. - - // IDM_ABOUTBOX must be in the system command range. - ASSERT((IDM_ABOUTBOX & 0xFFF0) == IDM_ABOUTBOX); - ASSERT(IDM_ABOUTBOX < 0xF000); - - CMenu* pSysMenu = GetSystemMenu(FALSE); - if (pSysMenu != NULL) - { - CString strAboutMenu; - strAboutMenu.LoadString(IDS_ABOUTBOX); - if (!strAboutMenu.IsEmpty()) - { - pSysMenu->AppendMenu(MF_SEPARATOR); - pSysMenu->AppendMenu(MF_STRING, IDM_ABOUTBOX, strAboutMenu); - } - } - - // Set the icon for this dialog. The framework does this automatically - // when the application's main window is not a dialog - SetIcon(m_hIcon, TRUE); // Set big icon - SetIcon(m_hIcon, FALSE); // Set small icon - - // TODO: Add extra initialization here - - return TRUE; // return TRUE unless you set the focus to a control -} - -void CC6202DIODlg::OnSysCommand(UINT nID, LPARAM lParam) -{ - if ((nID & 0xFFF0) == IDM_ABOUTBOX) - { - CAboutDlg dlgAbout; - dlgAbout.DoModal(); - } - else - { - CDialog::OnSysCommand(nID, lParam); - } -} - -// If you add a minimize button to your dialog, you will need the code below -// to draw the icon. For MFC applications using the document/view model, -// this is automatically done for you by the framework. - -void CC6202DIODlg::OnPaint() -{ - if (IsIconic()) - { - CPaintDC dc(this); // device context for painting - - SendMessage(WM_ICONERASEBKGND, (WPARAM) dc.GetSafeHdc(), 0); - - // Center icon in client rectangle - int cxIcon = GetSystemMetrics(SM_CXICON); - int cyIcon = GetSystemMetrics(SM_CYICON); - CRect rect; - GetClientRect(&rect); - int x = (rect.Width() - cxIcon + 1) / 2; - int y = (rect.Height() - cyIcon + 1) / 2; - - // Draw the icon - dc.DrawIcon(x, y, m_hIcon); - } - else - { - CDialog::OnPaint(); - } -} - -// The system calls this to obtain the cursor to display while the user drags -// the minimized window. -HCURSOR CC6202DIODlg::OnQueryDragIcon() -{ - return (HCURSOR) m_hIcon; -} - -int CC6202DIODlg::OnCreate(LPCREATESTRUCT lpCreateStruct) -{ - if (CDialog::OnCreate(lpCreateStruct) == -1) - return -1; - - // TODO: Add your specialized creation code here - m_dev = Register_Card(PCI_6202, 0); - if(m_dev < 0) - { - MessageBox("Register_Card Error!"); - } - - return 0; -} - -void CC6202DIODlg::OnClose() -{ - I16 err; - - // TODO: Add your message handler code here and/or call default - if(m_dev >= 0) - { - err = Release_Card(m_dev); - } - - CDialog::OnClose(); -} - -void CC6202DIODlg::OnButtonDi0() -{ - I16 err; - - err = DI_ReadPort(m_dev, P6202_ISO0, &m_di_0); - UpdateData(FALSE); -} - -void CC6202DIODlg::OnButtonDi1() -{ - I16 err; - - err = DI_ReadPort(m_dev, P6202_TTL0, &m_di_1); - UpdateData(FALSE); -} - -void CC6202DIODlg::OnButtonDo0() -{ - I16 err; - - UpdateData(TRUE); - err = DO_WritePort(m_dev, P6202_ISO0, m_do_0); -} - -void CC6202DIODlg::OnButtonDo1() -{ - I16 err; - - UpdateData(TRUE); - err = DO_WritePort(m_dev, P6202_TTL0, m_do_1); -} diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/6202/C6202DIO/C6202DIODlg.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/6202/C6202DIO/C6202DIODlg.h deleted file mode 100644 index ed063f3..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/6202/C6202DIO/C6202DIODlg.h +++ /dev/null @@ -1,62 +0,0 @@ -// C6202DIODlg.h : header file -// - -#if !defined(AFX_C6202DIODLG_H__B502D023_5FD7_423E_8688_910E29AAE265__INCLUDED_) -#define AFX_C6202DIODLG_H__B502D023_5FD7_423E_8688_910E29AAE265__INCLUDED_ - -#if _MSC_VER > 1000 -#pragma once -#endif // _MSC_VER > 1000 - -#include "..\..\..\include\dask.h" - -///////////////////////////////////////////////////////////////////////////// -// CC6202DIODlg dialog - -class CC6202DIODlg : public CDialog -{ -// Construction -public: - CC6202DIODlg(CWnd* pParent = NULL); // standard constructor - - I16 m_dev; - -// Dialog Data - //{{AFX_DATA(CC6202DIODlg) - enum { IDD = IDD_C6202DIO_DIALOG }; - DWORD m_di_0; - DWORD m_di_1; - DWORD m_do_0; - DWORD m_do_1; - //}}AFX_DATA - - // ClassWizard generated virtual function overrides - //{{AFX_VIRTUAL(CC6202DIODlg) - protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - //}}AFX_VIRTUAL - -// Implementation -protected: - HICON m_hIcon; - - // Generated message map functions - //{{AFX_MSG(CC6202DIODlg) - virtual BOOL OnInitDialog(); - afx_msg void OnSysCommand(UINT nID, LPARAM lParam); - afx_msg void OnPaint(); - afx_msg HCURSOR OnQueryDragIcon(); - afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct); - afx_msg void OnClose(); - afx_msg void OnButtonDi0(); - afx_msg void OnButtonDi1(); - afx_msg void OnButtonDo0(); - afx_msg void OnButtonDo1(); - //}}AFX_MSG - DECLARE_MESSAGE_MAP() -}; - -//{{AFX_INSERT_LOCATION}} -// Microsoft Visual C++ will insert additional declarations immediately before the previous line. - -#endif // !defined(AFX_C6202DIODLG_H__B502D023_5FD7_423E_8688_910E29AAE265__INCLUDED_) diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/6202/C6202DIO/ReadMe.txt b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/6202/C6202DIO/ReadMe.txt deleted file mode 100644 index 9fe57c5..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/6202/C6202DIO/ReadMe.txt +++ /dev/null @@ -1,88 +0,0 @@ -======================================================================== - MICROSOFT FOUNDATION CLASS LIBRARY : C6202DIO -======================================================================== - - -AppWizard has created this C6202DIO application for you. This application -not only demonstrates the basics of using the Microsoft Foundation classes -but is also a starting point for writing your application. - -This file contains a summary of what you will find in each of the files that -make up your C6202DIO application. - -C6202DIO.dsp - This file (the project file) contains information at the project level and - is used to build a single project or subproject. Other users can share the - project (.dsp) file, but they should export the makefiles locally. - -C6202DIO.h - This is the main header file for the application. It includes other - project specific headers (including Resource.h) and declares the - CC6202DIOApp application class. - -C6202DIO.cpp - This is the main application source file that contains the application - class CC6202DIOApp. - -C6202DIO.rc - This is a listing of all of the Microsoft Windows resources that the - program uses. It includes the icons, bitmaps, and cursors that are stored - in the RES subdirectory. This file can be directly edited in Microsoft - Visual C++. - -C6202DIO.clw - This file contains information used by ClassWizard to edit existing - classes or add new classes. ClassWizard also uses this file to store - information needed to create and edit message maps and dialog data - maps and to create prototype member functions. - -res\C6202DIO.ico - This is an icon file, which is used as the application's icon. This - icon is included by the main resource file C6202DIO.rc. - -res\C6202DIO.rc2 - This file contains resources that are not edited by Microsoft - Visual C++. You should place all resources not editable by - the resource editor in this file. - - - - -///////////////////////////////////////////////////////////////////////////// - -AppWizard creates one dialog class: - -C6202DIODlg.h, C6202DIODlg.cpp - the dialog - These files contain your CC6202DIODlg class. This class defines - the behavior of your application's main dialog. The dialog's - template is in C6202DIO.rc, which can be edited in Microsoft - Visual C++. - - -///////////////////////////////////////////////////////////////////////////// -Other standard files: - -StdAfx.h, StdAfx.cpp - These files are used to build a precompiled header (PCH) file - named C6202DIO.pch and a precompiled types file named StdAfx.obj. - -Resource.h - This is the standard header file, which defines new resource IDs. - Microsoft Visual C++ reads and updates this file. - -///////////////////////////////////////////////////////////////////////////// -Other notes: - -AppWizard uses "TODO:" to indicate parts of the source code you -should add to or customize. - -If your application uses MFC in a shared DLL, and your application is -in a language other than the operating system's current language, you -will need to copy the corresponding localized resources MFC42XXX.DLL -from the Microsoft Visual C++ CD-ROM onto the system or system32 directory, -and rename it to be MFCLOC.DLL. ("XXX" stands for the language abbreviation. -For example, MFC42DEU.DLL contains resources translated to German.) If you -don't do this, some of the UI elements of your application will remain in the -language of the operating system. - -///////////////////////////////////////////////////////////////////////////// diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/6202/C6202DIO/Release/C6202DIO.exe b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/6202/C6202DIO/Release/C6202DIO.exe deleted file mode 100644 index 3b168ee..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/6202/C6202DIO/Release/C6202DIO.exe and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/6202/C6202DIO/Resource.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/6202/C6202DIO/Resource.h deleted file mode 100644 index efd2e62..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/6202/C6202DIO/Resource.h +++ /dev/null @@ -1,28 +0,0 @@ -//{{NO_DEPENDENCIES}} -// Microsoft Developer Studio generated include file. -// Used by C6202DIO.rc -// -#define IDM_ABOUTBOX 0x0010 -#define IDD_ABOUTBOX 100 -#define IDS_ABOUTBOX 101 -#define IDD_C6202DIO_DIALOG 102 -#define IDR_MAINFRAME 128 -#define IDC_EDIT_DI_0 1000 -#define IDC_EDIT_DI_1 1001 -#define IDC_EDIT_DO_0 1002 -#define IDC_EDIT_DO_1 1003 -#define IDC_BUTTON_DI_0 1004 -#define IDC_BUTTON_DI_1 1005 -#define IDC_BUTTON_DO_0 1006 -#define IDC_BUTTON_DO_1 1007 - -// Next default values for new objects -// -#ifdef APSTUDIO_INVOKED -#ifndef APSTUDIO_READONLY_SYMBOLS -#define _APS_NEXT_RESOURCE_VALUE 129 -#define _APS_NEXT_COMMAND_VALUE 32771 -#define _APS_NEXT_CONTROL_VALUE 1008 -#define _APS_NEXT_SYMED_VALUE 101 -#endif -#endif diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/6202/C6202DIO/StdAfx.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/6202/C6202DIO/StdAfx.cpp deleted file mode 100644 index 29c9091..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/6202/C6202DIO/StdAfx.cpp +++ /dev/null @@ -1,8 +0,0 @@ -// stdafx.cpp : source file that includes just the standard includes -// C6202DIO.pch will be the pre-compiled header -// stdafx.obj will contain the pre-compiled type information - -#include "stdafx.h" - - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/6202/C6202DIO/StdAfx.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/6202/C6202DIO/StdAfx.h deleted file mode 100644 index 49ca589..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/6202/C6202DIO/StdAfx.h +++ /dev/null @@ -1,27 +0,0 @@ -// stdafx.h : include file for standard system include files, -// or project specific include files that are used frequently, but -// are changed infrequently -// - -#if !defined(AFX_STDAFX_H__52B3B4F6_CEA5_4623_9C02_8FA9A0CA9813__INCLUDED_) -#define AFX_STDAFX_H__52B3B4F6_CEA5_4623_9C02_8FA9A0CA9813__INCLUDED_ - -#if _MSC_VER > 1000 -#pragma once -#endif // _MSC_VER > 1000 - -#define VC_EXTRALEAN // Exclude rarely-used stuff from Windows headers - -#include // MFC core and standard components -#include // MFC extensions -#include // MFC Automation classes -#include // MFC support for Internet Explorer 4 Common Controls -#ifndef _AFX_NO_AFXCMN_SUPPORT -#include // MFC support for Windows Common Controls -#endif // _AFX_NO_AFXCMN_SUPPORT - - -//{{AFX_INSERT_LOCATION}} -// Microsoft Visual C++ will insert additional declarations immediately before the previous line. - -#endif // !defined(AFX_STDAFX_H__52B3B4F6_CEA5_4623_9C02_8FA9A0CA9813__INCLUDED_) diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/6202/C6202DIO/res/C6202DIO.ico b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/6202/C6202DIO/res/C6202DIO.ico deleted file mode 100644 index 7eef0bc..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/6202/C6202DIO/res/C6202DIO.ico and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/6202/C6202DIO/res/C6202DIO.rc2 b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/6202/C6202DIO/res/C6202DIO.rc2 deleted file mode 100644 index 9a8a8b7..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/6202/C6202DIO/res/C6202DIO.rc2 +++ /dev/null @@ -1,13 +0,0 @@ -// -// C6202DIO.RC2 - resources Microsoft Visual C++ does not edit directly -// - -#ifdef APSTUDIO_INVOKED - #error this file is not editable by Microsoft Visual C++ -#endif //APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// Add manually edited resources here... - -///////////////////////////////////////////////////////////////////////////// diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/6202/C6202Encoder/C6202Encoder.aps b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/6202/C6202Encoder/C6202Encoder.aps deleted file mode 100644 index 9888591..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/6202/C6202Encoder/C6202Encoder.aps and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/6202/C6202Encoder/C6202Encoder.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/6202/C6202Encoder/C6202Encoder.cpp deleted file mode 100644 index f168ab5..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/6202/C6202Encoder/C6202Encoder.cpp +++ /dev/null @@ -1,74 +0,0 @@ -// C6202Encoder.cpp : Defines the class behaviors for the application. -// - -#include "stdafx.h" -#include "C6202Encoder.h" -#include "C6202EncoderDlg.h" - -#ifdef _DEBUG -#define new DEBUG_NEW -#undef THIS_FILE -static char THIS_FILE[] = __FILE__; -#endif - -///////////////////////////////////////////////////////////////////////////// -// CC6202EncoderApp - -BEGIN_MESSAGE_MAP(CC6202EncoderApp, CWinApp) - //{{AFX_MSG_MAP(CC6202EncoderApp) - // NOTE - the ClassWizard will add and remove mapping macros here. - // DO NOT EDIT what you see in these blocks of generated code! - //}}AFX_MSG - ON_COMMAND(ID_HELP, CWinApp::OnHelp) -END_MESSAGE_MAP() - -///////////////////////////////////////////////////////////////////////////// -// CC6202EncoderApp construction - -CC6202EncoderApp::CC6202EncoderApp() -{ - // TODO: add construction code here, - // Place all significant initialization in InitInstance -} - -///////////////////////////////////////////////////////////////////////////// -// The one and only CC6202EncoderApp object - -CC6202EncoderApp theApp; - -///////////////////////////////////////////////////////////////////////////// -// CC6202EncoderApp initialization - -BOOL CC6202EncoderApp::InitInstance() -{ - AfxEnableControlContainer(); - - // Standard initialization - // If you are not using these features and wish to reduce the size - // of your final executable, you should remove from the following - // the specific initialization routines you do not need. - -#ifdef _AFXDLL - Enable3dControls(); // Call this when using MFC in a shared DLL -#else - Enable3dControlsStatic(); // Call this when linking to MFC statically -#endif - - CC6202EncoderDlg dlg; - m_pMainWnd = &dlg; - int nResponse = dlg.DoModal(); - if (nResponse == IDOK) - { - // TODO: Place code here to handle when the dialog is - // dismissed with OK - } - else if (nResponse == IDCANCEL) - { - // TODO: Place code here to handle when the dialog is - // dismissed with Cancel - } - - // Since the dialog has been closed, return FALSE so that we exit the - // application, rather than start the application's message pump. - return FALSE; -} diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/6202/C6202Encoder/C6202Encoder.dsp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/6202/C6202Encoder/C6202Encoder.dsp deleted file mode 100644 index f8172a5..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/6202/C6202Encoder/C6202Encoder.dsp +++ /dev/null @@ -1,154 +0,0 @@ -# Microsoft Developer Studio Project File - Name="C6202Encoder" - Package Owner=<4> -# Microsoft Developer Studio Generated Build File, Format Version 6.00 -# ** DO NOT EDIT ** - -# TARGTYPE "Win32 (x86) Application" 0x0101 - -CFG=C6202Encoder - Win32 Debug -!MESSAGE This is not a valid makefile. To build this project using NMAKE, -!MESSAGE use the Export Makefile command and run -!MESSAGE -!MESSAGE NMAKE /f "C6202Encoder.mak". -!MESSAGE -!MESSAGE You can specify a configuration when running NMAKE -!MESSAGE by defining the macro CFG on the command line. For example: -!MESSAGE -!MESSAGE NMAKE /f "C6202Encoder.mak" CFG="C6202Encoder - Win32 Debug" -!MESSAGE -!MESSAGE Possible choices for configuration are: -!MESSAGE -!MESSAGE "C6202Encoder - Win32 Release" (based on "Win32 (x86) Application") -!MESSAGE "C6202Encoder - Win32 Debug" (based on "Win32 (x86) Application") -!MESSAGE - -# Begin Project -# PROP AllowPerConfigDependencies 0 -# PROP Scc_ProjName "" -# PROP Scc_LocalPath "" -CPP=cl.exe -MTL=midl.exe -RSC=rc.exe - -!IF "$(CFG)" == "C6202Encoder - Win32 Release" - -# PROP BASE Use_MFC 6 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "Release" -# PROP BASE Intermediate_Dir "Release" -# PROP BASE Target_Dir "" -# PROP Use_MFC 6 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "Release" -# PROP Intermediate_Dir "Release" -# PROP Target_Dir "" -# ADD BASE CPP /nologo /MD /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /D "_AFXDLL" /Yu"stdafx.h" /FD /c -# ADD CPP /nologo /MD /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /D "_AFXDLL" /D "_MBCS" /Yu"stdafx.h" /FD /c -# ADD BASE MTL /nologo /D "NDEBUG" /mktyplib203 /win32 -# ADD MTL /nologo /D "NDEBUG" /mktyplib203 /win32 -# ADD BASE RSC /l 0x404 /d "NDEBUG" /d "_AFXDLL" -# ADD RSC /l 0x404 /d "NDEBUG" /d "_AFXDLL" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 /nologo /subsystem:windows /machine:I386 -# ADD LINK32 /nologo /subsystem:windows /machine:I386 - -!ELSEIF "$(CFG)" == "C6202Encoder - Win32 Debug" - -# PROP BASE Use_MFC 6 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "Debug" -# PROP BASE Intermediate_Dir "Debug" -# PROP BASE Target_Dir "" -# PROP Use_MFC 6 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "Debug" -# PROP Intermediate_Dir "Debug" -# PROP Target_Dir "" -# ADD BASE CPP /nologo /MDd /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /D "_AFXDLL" /Yu"stdafx.h" /FD /GZ /c -# ADD CPP /nologo /MDd /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /D "_AFXDLL" /D "_MBCS" /Yu"stdafx.h" /FD /GZ /c -# ADD BASE MTL /nologo /D "_DEBUG" /mktyplib203 /win32 -# ADD MTL /nologo /D "_DEBUG" /mktyplib203 /win32 -# ADD BASE RSC /l 0x404 /d "_DEBUG" /d "_AFXDLL" -# ADD RSC /l 0x404 /d "_DEBUG" /d "_AFXDLL" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 /nologo /subsystem:windows /debug /machine:I386 /pdbtype:sept -# ADD LINK32 /nologo /subsystem:windows /debug /machine:I386 /pdbtype:sept - -!ENDIF - -# Begin Target - -# Name "C6202Encoder - Win32 Release" -# Name "C6202Encoder - Win32 Debug" -# Begin Group "Source Files" - -# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;idl;hpj;bat" -# Begin Source File - -SOURCE=.\C6202Encoder.cpp -# End Source File -# Begin Source File - -SOURCE=.\C6202Encoder.rc -# End Source File -# Begin Source File - -SOURCE=.\C6202EncoderDlg.cpp -# End Source File -# Begin Source File - -SOURCE=.\StdAfx.cpp -# ADD CPP /Yc"stdafx.h" -# End Source File -# End Group -# Begin Group "Header Files" - -# PROP Default_Filter "h;hpp;hxx;hm;inl" -# Begin Source File - -SOURCE=.\C6202Encoder.h -# End Source File -# Begin Source File - -SOURCE=.\C6202EncoderDlg.h -# End Source File -# Begin Source File - -SOURCE=..\..\..\Include\Dask.h -# End Source File -# Begin Source File - -SOURCE=.\Resource.h -# End Source File -# Begin Source File - -SOURCE=.\StdAfx.h -# End Source File -# End Group -# Begin Group "Resource Files" - -# PROP Default_Filter "ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe" -# Begin Source File - -SOURCE=.\res\C6202Encoder.ico -# End Source File -# Begin Source File - -SOURCE=.\res\C6202Encoder.rc2 -# End Source File -# End Group -# Begin Source File - -SOURCE=.\ReadMe.txt -# End Source File -# Begin Source File - -SOURCE="..\..\..\Lib\PCI-Dask.lib" -# End Source File -# End Target -# End Project diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/6202/C6202Encoder/C6202Encoder.dsw b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/6202/C6202Encoder/C6202Encoder.dsw deleted file mode 100644 index f118010..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/6202/C6202Encoder/C6202Encoder.dsw +++ /dev/null @@ -1,29 +0,0 @@ -Microsoft Developer Studio Workspace File, Format Version 6.00 -# WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE! - -############################################################################### - -Project: "C6202Encoder"=.\C6202Encoder.dsp - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ -}}} - -############################################################################### - -Global: - -Package=<5> -{{{ -}}} - -Package=<3> -{{{ -}}} - -############################################################################### - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/6202/C6202Encoder/C6202Encoder.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/6202/C6202Encoder/C6202Encoder.h deleted file mode 100644 index 6749ae7..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/6202/C6202Encoder/C6202Encoder.h +++ /dev/null @@ -1,49 +0,0 @@ -// C6202Encoder.h : main header file for the C6202ENCODER application -// - -#if !defined(AFX_C6202ENCODER_H__8A48C31B_1C80_4309_8B3A_9DEEB6E7963B__INCLUDED_) -#define AFX_C6202ENCODER_H__8A48C31B_1C80_4309_8B3A_9DEEB6E7963B__INCLUDED_ - -#if _MSC_VER > 1000 -#pragma once -#endif // _MSC_VER > 1000 - -#ifndef __AFXWIN_H__ - #error include 'stdafx.h' before including this file for PCH -#endif - -#include "resource.h" // main symbols - -///////////////////////////////////////////////////////////////////////////// -// CC6202EncoderApp: -// See C6202Encoder.cpp for the implementation of this class -// - -class CC6202EncoderApp : public CWinApp -{ -public: - CC6202EncoderApp(); - -// Overrides - // ClassWizard generated virtual function overrides - //{{AFX_VIRTUAL(CC6202EncoderApp) - public: - virtual BOOL InitInstance(); - //}}AFX_VIRTUAL - -// Implementation - - //{{AFX_MSG(CC6202EncoderApp) - // NOTE - the ClassWizard will add and remove member functions here. - // DO NOT EDIT what you see in these blocks of generated code ! - //}}AFX_MSG - DECLARE_MESSAGE_MAP() -}; - - -///////////////////////////////////////////////////////////////////////////// - -//{{AFX_INSERT_LOCATION}} -// Microsoft Visual C++ will insert additional declarations immediately before the previous line. - -#endif // !defined(AFX_C6202ENCODER_H__8A48C31B_1C80_4309_8B3A_9DEEB6E7963B__INCLUDED_) diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/6202/C6202Encoder/C6202Encoder.rc b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/6202/C6202Encoder/C6202Encoder.rc deleted file mode 100644 index 50c9474..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/6202/C6202Encoder/C6202Encoder.rc +++ /dev/null @@ -1,221 +0,0 @@ -//Microsoft Developer Studio generated resource script. -// -#include "resource.h" - -#define APSTUDIO_READONLY_SYMBOLS -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 2 resource. -// -#include "afxres.h" - -///////////////////////////////////////////////////////////////////////////// -#undef APSTUDIO_READONLY_SYMBOLS - -///////////////////////////////////////////////////////////////////////////// -// Chinese (Taiwan) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_CHT) -#ifdef _WIN32 -LANGUAGE LANG_CHINESE, SUBLANG_CHINESE_TRADITIONAL -#pragma code_page(950) -#endif //_WIN32 - -#ifdef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// TEXTINCLUDE -// - -1 TEXTINCLUDE DISCARDABLE -BEGIN - "resource.h\0" -END - -2 TEXTINCLUDE DISCARDABLE -BEGIN - "#include ""afxres.h""\r\n" - "\0" -END - -3 TEXTINCLUDE DISCARDABLE -BEGIN - "#define _AFX_NO_SPLITTER_RESOURCES\r\n" - "#define _AFX_NO_OLE_RESOURCES\r\n" - "#define _AFX_NO_TRACKER_RESOURCES\r\n" - "#define _AFX_NO_PROPERTY_RESOURCES\r\n" - "\r\n" - "#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)\r\n" - "#ifdef _WIN32\r\n" - "LANGUAGE 9, 1\r\n" - "#pragma code_page(1252)\r\n" - "#endif //_WIN32\r\n" - "#include ""res\\C6202Encoder.rc2"" // non-Microsoft Visual C++ edited resources\r\n" - "#include ""afxres.rc"" // Standard components\r\n" - "#endif\r\n" - "\0" -END - -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// Icon -// - -// Icon with lowest ID value placed first to ensure application icon -// remains consistent on all systems. -IDR_MAINFRAME ICON DISCARDABLE "res\\C6202Encoder.ico" -#endif // Chinese (Taiwan) resources -///////////////////////////////////////////////////////////////////////////// - - -///////////////////////////////////////////////////////////////////////////// -// English (U.S.) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -#ifdef _WIN32 -LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US -#pragma code_page(1252) -#endif //_WIN32 - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog -// - -IDD_ABOUTBOX DIALOG DISCARDABLE 0, 0, 235, 55 -STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "About C6202Encoder" -FONT 8, "MS Sans Serif" -BEGIN - ICON IDR_MAINFRAME,IDC_STATIC,11,17,20,20 - LTEXT "C6202Encoder Version 1.0",IDC_STATIC,40,10,119,8, - SS_NOPREFIX - LTEXT "Copyright (C) 2008",IDC_STATIC,40,25,119,8 - DEFPUSHBUTTON "OK",IDOK,178,7,50,14,WS_GROUP -END - -IDD_C6202ENCODER_DIALOG DIALOGEX 0, 0, 234, 108 -STYLE DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU -EXSTYLE WS_EX_APPWINDOW -CAPTION "C6202Encoder" -FONT 8, "MS Sans Serif" -BEGIN - DEFPUSHBUTTON "Exit",IDOK,93,86,50,14 - PUSHBUTTON "Start",IDC_BTN_START,21,34,50,14 - PUSHBUTTON "Read",IDC_BTN_READ,92,35,50,14 - PUSHBUTTON "Stop",IDC_BTN_STOP,159,33,50,14 - EDITTEXT IDC_EDIT1,122,7,40,14,ES_AUTOHSCROLL | ES_READONLY - LTEXT "Encoder Data:",IDC_STATIC,57,7,41,8 -END - - -#ifndef _MAC -///////////////////////////////////////////////////////////////////////////// -// -// Version -// - -VS_VERSION_INFO VERSIONINFO - FILEVERSION 1,0,0,1 - PRODUCTVERSION 1,0,0,1 - FILEFLAGSMASK 0x3fL -#ifdef _DEBUG - FILEFLAGS 0x1L -#else - FILEFLAGS 0x0L -#endif - FILEOS 0x4L - FILETYPE 0x1L - FILESUBTYPE 0x0L -BEGIN - BLOCK "StringFileInfo" - BEGIN - BLOCK "040904B0" - BEGIN - VALUE "CompanyName", "\0" - VALUE "FileDescription", "C6202Encoder MFC Application\0" - VALUE "FileVersion", "1, 0, 0, 1\0" - VALUE "InternalName", "C6202Encoder\0" - VALUE "LegalCopyright", "Copyright (C) 2008\0" - VALUE "LegalTrademarks", "\0" - VALUE "OriginalFilename", "C6202Encoder.EXE\0" - VALUE "ProductName", "C6202Encoder Application\0" - VALUE "ProductVersion", "1, 0, 0, 1\0" - END - END - BLOCK "VarFileInfo" - BEGIN - VALUE "Translation", 0x409, 1200 - END -END - -#endif // !_MAC - - -///////////////////////////////////////////////////////////////////////////// -// -// DESIGNINFO -// - -#ifdef APSTUDIO_INVOKED -GUIDELINES DESIGNINFO DISCARDABLE -BEGIN - IDD_ABOUTBOX, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 228 - TOPMARGIN, 7 - BOTTOMMARGIN, 48 - END - - IDD_C6202ENCODER_DIALOG, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 227 - TOPMARGIN, 7 - BOTTOMMARGIN, 101 - END -END -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// String Table -// - -STRINGTABLE DISCARDABLE -BEGIN - IDS_ABOUTBOX "&About C6202Encoder..." -END - -#endif // English (U.S.) resources -///////////////////////////////////////////////////////////////////////////// - - - -#ifndef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 3 resource. -// -#define _AFX_NO_SPLITTER_RESOURCES -#define _AFX_NO_OLE_RESOURCES -#define _AFX_NO_TRACKER_RESOURCES -#define _AFX_NO_PROPERTY_RESOURCES - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -#ifdef _WIN32 -LANGUAGE 9, 1 -#pragma code_page(1252) -#endif //_WIN32 -#include "res\C6202Encoder.rc2" // non-Microsoft Visual C++ edited resources -#include "afxres.rc" // Standard components -#endif - -///////////////////////////////////////////////////////////////////////////// -#endif // not APSTUDIO_INVOKED - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/6202/C6202Encoder/C6202EncoderDlg.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/6202/C6202Encoder/C6202EncoderDlg.cpp deleted file mode 100644 index a0e6192..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/6202/C6202Encoder/C6202EncoderDlg.cpp +++ /dev/null @@ -1,246 +0,0 @@ -// C6202EncoderDlg.cpp : implementation file -// - -#include "stdafx.h" -#include "C6202Encoder.h" -#include "C6202EncoderDlg.h" - -#ifdef _DEBUG -#define new DEBUG_NEW -#undef THIS_FILE -static char THIS_FILE[] = __FILE__; -#endif - -//void EPT_CallBack(); - -///////////////////////////////////////////////////////////////////////////// -// CAboutDlg dialog used for App About - -class CAboutDlg : public CDialog -{ -public: - CAboutDlg(); - -// Dialog Data - //{{AFX_DATA(CAboutDlg) - enum { IDD = IDD_ABOUTBOX }; - //}}AFX_DATA - - // ClassWizard generated virtual function overrides - //{{AFX_VIRTUAL(CAboutDlg) - protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - //}}AFX_VIRTUAL - -// Implementation -protected: - //{{AFX_MSG(CAboutDlg) - //}}AFX_MSG - DECLARE_MESSAGE_MAP() -}; - -CAboutDlg::CAboutDlg() : CDialog(CAboutDlg::IDD) -{ - //{{AFX_DATA_INIT(CAboutDlg) - //}}AFX_DATA_INIT -} - -void CAboutDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); - //{{AFX_DATA_MAP(CAboutDlg) - //}}AFX_DATA_MAP -} - -BEGIN_MESSAGE_MAP(CAboutDlg, CDialog) - //{{AFX_MSG_MAP(CAboutDlg) - // No message handlers - //}}AFX_MSG_MAP -END_MESSAGE_MAP() - -///////////////////////////////////////////////////////////////////////////// -// CC6202EncoderDlg dialog - -CC6202EncoderDlg::CC6202EncoderDlg(CWnd* pParent /*=NULL*/) - : CDialog(CC6202EncoderDlg::IDD, pParent) -{ - //{{AFX_DATA_INIT(CC6202EncoderDlg) - m_data = 0; - //}}AFX_DATA_INIT - // Note that LoadIcon does not require a subsequent DestroyIcon in Win32 - m_hIcon = AfxGetApp()->LoadIcon(IDR_MAINFRAME); - g_tmp_value = 0; -} - -void CC6202EncoderDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); - //{{AFX_DATA_MAP(CC6202EncoderDlg) - DDX_Text(pDX, IDC_EDIT1, m_data); - //}}AFX_DATA_MAP -} - -BEGIN_MESSAGE_MAP(CC6202EncoderDlg, CDialog) - //{{AFX_MSG_MAP(CC6202EncoderDlg) - ON_WM_SYSCOMMAND() - ON_WM_PAINT() - ON_WM_QUERYDRAGICON() - ON_WM_CREATE() - ON_WM_CLOSE() - ON_BN_CLICKED(IDC_BTN_START, OnBtnStart) - ON_BN_CLICKED(IDC_BTN_READ, OnBtnRead) - ON_BN_CLICKED(IDC_BTN_STOP, OnBtnStop) - //}}AFX_MSG_MAP -END_MESSAGE_MAP() - -///////////////////////////////////////////////////////////////////////////// -// CC6202EncoderDlg message handlers - -BOOL CC6202EncoderDlg::OnInitDialog() -{ - CDialog::OnInitDialog(); - - // Add "About..." menu item to system menu. - - // IDM_ABOUTBOX must be in the system command range. - ASSERT((IDM_ABOUTBOX & 0xFFF0) == IDM_ABOUTBOX); - ASSERT(IDM_ABOUTBOX < 0xF000); - - CMenu* pSysMenu = GetSystemMenu(FALSE); - if (pSysMenu != NULL) - { - CString strAboutMenu; - strAboutMenu.LoadString(IDS_ABOUTBOX); - if (!strAboutMenu.IsEmpty()) - { - pSysMenu->AppendMenu(MF_SEPARATOR); - pSysMenu->AppendMenu(MF_STRING, IDM_ABOUTBOX, strAboutMenu); - } - } - - // Set the icon for this dialog. The framework does this automatically - // when the application's main window is not a dialog - SetIcon(m_hIcon, TRUE); // Set big icon - SetIcon(m_hIcon, FALSE); // Set small icon - - // TODO: Add extra initialization here - - return TRUE; // return TRUE unless you set the focus to a control -} - -void CC6202EncoderDlg::OnSysCommand(UINT nID, LPARAM lParam) -{ - if ((nID & 0xFFF0) == IDM_ABOUTBOX) - { - CAboutDlg dlgAbout; - dlgAbout.DoModal(); - } - else - { - CDialog::OnSysCommand(nID, lParam); - } -} - -// If you add a minimize button to your dialog, you will need the code below -// to draw the icon. For MFC applications using the document/view model, -// this is automatically done for you by the framework. - -void CC6202EncoderDlg::OnPaint() -{ - if (IsIconic()) - { - CPaintDC dc(this); // device context for painting - - SendMessage(WM_ICONERASEBKGND, (WPARAM) dc.GetSafeHdc(), 0); - - // Center icon in client rectangle - int cxIcon = GetSystemMetrics(SM_CXICON); - int cyIcon = GetSystemMetrics(SM_CYICON); - CRect rect; - GetClientRect(&rect); - int x = (rect.Width() - cxIcon + 1) / 2; - int y = (rect.Height() - cyIcon + 1) / 2; - - // Draw the icon - dc.DrawIcon(x, y, m_hIcon); - } - else - { - CDialog::OnPaint(); - } -} - -// The system calls this to obtain the cursor to display while the user drags -// the minimized window. -HCURSOR CC6202EncoderDlg::OnQueryDragIcon() -{ - return (HCURSOR) m_hIcon; -} - -int CC6202EncoderDlg::OnCreate(LPCREATESTRUCT lpCreateStruct) -{ - if (CDialog::OnCreate(lpCreateStruct) == -1) - return -1; - - g_dev = Register_Card(PCI_6202, 0); - if(g_dev < 0) - { - MessageBox("Register_Card Error!"); - return 0; - } - GPTC_EventCallBack(g_dev, 1, P6202_EVT_TYPE_EPT0, (U32)(EPT_CallBack)); - return 0; -} - -void CC6202EncoderDlg::OnClose() -{ - I16 err; - - if(g_dev >= 0) - { - GPTC_EventCallBack(g_dev, 0, P6202_EVT_TYPE_EPT0, NULL); - err = Release_Card(g_dev); - } - - CDialog::OnClose(); -} - -void CC6202EncoderDlg::OnBtnStart() -{ - // TODO: Add your control notification handler code here - I16 err; - - err = GPTC_Clear (g_dev, P6202_ENCODER0); - err = GPTC_EventSetup(g_dev, P6202_ENCODER0, P6202_EVT_MOD_EPT,P6202_EPT_PULWIDTH_200us | - P6202_EPT_TRGOUT_AFI | P6202_EPT_TRGOUT_CALLBACK, 100, 0); - err = GPTC_Setup(g_dev, P6202_ENCODER0, x4_AB_Phase_Encoder, 0, 0, 0, 0); - err = GPTC_Read (g_dev, P6202_ENCODER0, (U32*)&m_data); - UpdateData(FALSE); -} - -void CC6202EncoderDlg::OnBtnRead() -{ - // TODO: Add your control notification handler code here - I16 err; - - err = GPTC_Read (g_dev, P6202_ENCODER0, (U32*)&m_data); - UpdateData(FALSE); -} - -void CC6202EncoderDlg::OnBtnStop() -{ - // TODO: Add your control notification handler code here - I16 err; - - err = GPTC_Read (g_dev, P6202_ENCODER0, (U32*)&m_data); - err = GPTC_Clear (g_dev, P6202_ENCODER0); - UpdateData(FALSE); -} - -void CC6202EncoderDlg::EPT_CallBack() -{ - I16 err; - g_tmp_value = g_tmp_value ^ 0xff; - err = DO_WritePort(g_dev, P6202_TTL0, g_tmp_value); - return; -} diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/6202/C6202Encoder/C6202EncoderDlg.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/6202/C6202Encoder/C6202EncoderDlg.h deleted file mode 100644 index bb59cdf..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/6202/C6202Encoder/C6202EncoderDlg.h +++ /dev/null @@ -1,60 +0,0 @@ -// C6202EncoderDlg.h : header file -// - -#if !defined(AFX_C6202ENCODERDLG_H__01E13B6E_EA35_4628_A5D5_1A2263FAF06B__INCLUDED_) -#define AFX_C6202ENCODERDLG_H__01E13B6E_EA35_4628_A5D5_1A2263FAF06B__INCLUDED_ - -#if _MSC_VER > 1000 -#pragma once -#endif // _MSC_VER > 1000 - -#include "..\..\..\include\dask.h" - -///////////////////////////////////////////////////////////////////////////// -// CC6202EncoderDlg dialog -static I16 g_dev; -static int g_tmp_value; - -class CC6202EncoderDlg : public CDialog -{ -// Construction -public: - CC6202EncoderDlg(CWnd* pParent = NULL); // standard constructor - static void EPT_CallBack(); - - -// Dialog Data - //{{AFX_DATA(CC6202EncoderDlg) - enum { IDD = IDD_C6202ENCODER_DIALOG }; - long m_data; - //}}AFX_DATA - - // ClassWizard generated virtual function overrides - //{{AFX_VIRTUAL(CC6202EncoderDlg) - protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - //}}AFX_VIRTUAL - -// Implementation -protected: - HICON m_hIcon; - - // Generated message map functions - //{{AFX_MSG(CC6202EncoderDlg) - virtual BOOL OnInitDialog(); - afx_msg void OnSysCommand(UINT nID, LPARAM lParam); - afx_msg void OnPaint(); - afx_msg HCURSOR OnQueryDragIcon(); - afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct); - afx_msg void OnClose(); - afx_msg void OnBtnStart(); - afx_msg void OnBtnRead(); - afx_msg void OnBtnStop(); - //}}AFX_MSG - DECLARE_MESSAGE_MAP() -}; - -//{{AFX_INSERT_LOCATION}} -// Microsoft Visual C++ will insert additional declarations immediately before the previous line. - -#endif // !defined(AFX_C6202ENCODERDLG_H__01E13B6E_EA35_4628_A5D5_1A2263FAF06B__INCLUDED_) diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/6202/C6202Encoder/ReadMe.txt b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/6202/C6202Encoder/ReadMe.txt deleted file mode 100644 index 52000ec..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/6202/C6202Encoder/ReadMe.txt +++ /dev/null @@ -1,88 +0,0 @@ -======================================================================== - MICROSOFT FOUNDATION CLASS LIBRARY : C6202Encoder -======================================================================== - - -AppWizard has created this C6202Encoder application for you. This application -not only demonstrates the basics of using the Microsoft Foundation classes -but is also a starting point for writing your application. - -This file contains a summary of what you will find in each of the files that -make up your C6202Encoder application. - -C6202Encoder.dsp - This file (the project file) contains information at the project level and - is used to build a single project or subproject. Other users can share the - project (.dsp) file, but they should export the makefiles locally. - -C6202Encoder.h - This is the main header file for the application. It includes other - project specific headers (including Resource.h) and declares the - CC6202EncoderApp application class. - -C6202Encoder.cpp - This is the main application source file that contains the application - class CC6202EncoderApp. - -C6202Encoder.rc - This is a listing of all of the Microsoft Windows resources that the - program uses. It includes the icons, bitmaps, and cursors that are stored - in the RES subdirectory. This file can be directly edited in Microsoft - Visual C++. - -C6202Encoder.clw - This file contains information used by ClassWizard to edit existing - classes or add new classes. ClassWizard also uses this file to store - information needed to create and edit message maps and dialog data - maps and to create prototype member functions. - -res\C6202Encoder.ico - This is an icon file, which is used as the application's icon. This - icon is included by the main resource file C6202Encoder.rc. - -res\C6202Encoder.rc2 - This file contains resources that are not edited by Microsoft - Visual C++. You should place all resources not editable by - the resource editor in this file. - - - - -///////////////////////////////////////////////////////////////////////////// - -AppWizard creates one dialog class: - -C6202EncoderDlg.h, C6202EncoderDlg.cpp - the dialog - These files contain your CC6202EncoderDlg class. This class defines - the behavior of your application's main dialog. The dialog's - template is in C6202Encoder.rc, which can be edited in Microsoft - Visual C++. - - -///////////////////////////////////////////////////////////////////////////// -Other standard files: - -StdAfx.h, StdAfx.cpp - These files are used to build a precompiled header (PCH) file - named C6202Encoder.pch and a precompiled types file named StdAfx.obj. - -Resource.h - This is the standard header file, which defines new resource IDs. - Microsoft Visual C++ reads and updates this file. - -///////////////////////////////////////////////////////////////////////////// -Other notes: - -AppWizard uses "TODO:" to indicate parts of the source code you -should add to or customize. - -If your application uses MFC in a shared DLL, and your application is -in a language other than the operating system's current language, you -will need to copy the corresponding localized resources MFC42XXX.DLL -from the Microsoft Visual C++ CD-ROM onto the system or system32 directory, -and rename it to be MFCLOC.DLL. ("XXX" stands for the language abbreviation. -For example, MFC42DEU.DLL contains resources translated to German.) If you -don't do this, some of the UI elements of your application will remain in the -language of the operating system. - -///////////////////////////////////////////////////////////////////////////// diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/6202/C6202Encoder/Release/C6202Encoder.exe b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/6202/C6202Encoder/Release/C6202Encoder.exe deleted file mode 100644 index 1e81c08..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/6202/C6202Encoder/Release/C6202Encoder.exe and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/6202/C6202Encoder/Resource.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/6202/C6202Encoder/Resource.h deleted file mode 100644 index a11b812..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/6202/C6202Encoder/Resource.h +++ /dev/null @@ -1,24 +0,0 @@ -//{{NO_DEPENDENCIES}} -// Microsoft Developer Studio generated include file. -// Used by C6202Encoder.rc -// -#define IDM_ABOUTBOX 0x0010 -#define IDD_ABOUTBOX 100 -#define IDS_ABOUTBOX 101 -#define IDD_C6202ENCODER_DIALOG 102 -#define IDR_MAINFRAME 128 -#define IDC_BTN_START 1000 -#define IDC_BTN_READ 1001 -#define IDC_BTN_STOP 1002 -#define IDC_EDIT1 1003 - -// Next default values for new objects -// -#ifdef APSTUDIO_INVOKED -#ifndef APSTUDIO_READONLY_SYMBOLS -#define _APS_NEXT_RESOURCE_VALUE 129 -#define _APS_NEXT_COMMAND_VALUE 32771 -#define _APS_NEXT_CONTROL_VALUE 1004 -#define _APS_NEXT_SYMED_VALUE 101 -#endif -#endif diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/6202/C6202Encoder/StdAfx.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/6202/C6202Encoder/StdAfx.cpp deleted file mode 100644 index 8fda1f7..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/6202/C6202Encoder/StdAfx.cpp +++ /dev/null @@ -1,8 +0,0 @@ -// stdafx.cpp : source file that includes just the standard includes -// C6202Encoder.pch will be the pre-compiled header -// stdafx.obj will contain the pre-compiled type information - -#include "stdafx.h" - - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/6202/C6202Encoder/StdAfx.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/6202/C6202Encoder/StdAfx.h deleted file mode 100644 index eece877..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/6202/C6202Encoder/StdAfx.h +++ /dev/null @@ -1,27 +0,0 @@ -// stdafx.h : include file for standard system include files, -// or project specific include files that are used frequently, but -// are changed infrequently -// - -#if !defined(AFX_STDAFX_H__A2461ECE_1FC6_4586_A8B7_BAB93FC55421__INCLUDED_) -#define AFX_STDAFX_H__A2461ECE_1FC6_4586_A8B7_BAB93FC55421__INCLUDED_ - -#if _MSC_VER > 1000 -#pragma once -#endif // _MSC_VER > 1000 - -#define VC_EXTRALEAN // Exclude rarely-used stuff from Windows headers - -#include // MFC core and standard components -#include // MFC extensions -#include // MFC Automation classes -#include // MFC support for Internet Explorer 4 Common Controls -#ifndef _AFX_NO_AFXCMN_SUPPORT -#include // MFC support for Windows Common Controls -#endif // _AFX_NO_AFXCMN_SUPPORT - - -//{{AFX_INSERT_LOCATION}} -// Microsoft Visual C++ will insert additional declarations immediately before the previous line. - -#endif // !defined(AFX_STDAFX_H__A2461ECE_1FC6_4586_A8B7_BAB93FC55421__INCLUDED_) diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/6202/C6202Encoder/res/C6202Encoder.ico b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/6202/C6202Encoder/res/C6202Encoder.ico deleted file mode 100644 index 7eef0bc..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/6202/C6202Encoder/res/C6202Encoder.ico and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/6202/C6202Encoder/res/C6202Encoder.rc2 b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/6202/C6202Encoder/res/C6202Encoder.rc2 deleted file mode 100644 index 0db02fe..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/6202/C6202Encoder/res/C6202Encoder.rc2 +++ /dev/null @@ -1,13 +0,0 @@ -// -// C6202ENCODER.RC2 - resources Microsoft Visual C++ does not edit directly -// - -#ifdef APSTUDIO_INVOKED - #error this file is not editable by Microsoft Visual C++ -#endif //APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// Add manually edited resources here... - -///////////////////////////////////////////////////////////////////////////// diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/6202/C6202GPTC/C6202GPTC.APS b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/6202/C6202GPTC/C6202GPTC.APS deleted file mode 100644 index 4cbb16f..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/6202/C6202GPTC/C6202GPTC.APS and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/6202/C6202GPTC/C6202GPTC.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/6202/C6202GPTC/C6202GPTC.cpp deleted file mode 100644 index 0ee1b87..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/6202/C6202GPTC/C6202GPTC.cpp +++ /dev/null @@ -1,74 +0,0 @@ -// C6202GPTC.cpp : Defines the class behaviors for the application. -// - -#include "stdafx.h" -#include "C6202GPTC.h" -#include "C6202GPTCDlg.h" - -#ifdef _DEBUG -#define new DEBUG_NEW -#undef THIS_FILE -static char THIS_FILE[] = __FILE__; -#endif - -///////////////////////////////////////////////////////////////////////////// -// CC6202GPTCApp - -BEGIN_MESSAGE_MAP(CC6202GPTCApp, CWinApp) - //{{AFX_MSG_MAP(CC6202GPTCApp) - // NOTE - the ClassWizard will add and remove mapping macros here. - // DO NOT EDIT what you see in these blocks of generated code! - //}}AFX_MSG - ON_COMMAND(ID_HELP, CWinApp::OnHelp) -END_MESSAGE_MAP() - -///////////////////////////////////////////////////////////////////////////// -// CC6202GPTCApp construction - -CC6202GPTCApp::CC6202GPTCApp() -{ - // TODO: add construction code here, - // Place all significant initialization in InitInstance -} - -///////////////////////////////////////////////////////////////////////////// -// The one and only CC6202GPTCApp object - -CC6202GPTCApp theApp; - -///////////////////////////////////////////////////////////////////////////// -// CC6202GPTCApp initialization - -BOOL CC6202GPTCApp::InitInstance() -{ - AfxEnableControlContainer(); - - // Standard initialization - // If you are not using these features and wish to reduce the size - // of your final executable, you should remove from the following - // the specific initialization routines you do not need. - -#ifdef _AFXDLL - Enable3dControls(); // Call this when using MFC in a shared DLL -#else - Enable3dControlsStatic(); // Call this when linking to MFC statically -#endif - - CC6202GPTCDlg dlg; - m_pMainWnd = &dlg; - int nResponse = dlg.DoModal(); - if (nResponse == IDOK) - { - // TODO: Place code here to handle when the dialog is - // dismissed with OK - } - else if (nResponse == IDCANCEL) - { - // TODO: Place code here to handle when the dialog is - // dismissed with Cancel - } - - // Since the dialog has been closed, return FALSE so that we exit the - // application, rather than start the application's message pump. - return FALSE; -} diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/6202/C6202GPTC/C6202GPTC.dsp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/6202/C6202GPTC/C6202GPTC.dsp deleted file mode 100644 index 99026e4..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/6202/C6202GPTC/C6202GPTC.dsp +++ /dev/null @@ -1,150 +0,0 @@ -# Microsoft Developer Studio Project File - Name="C6202GPTC" - Package Owner=<4> -# Microsoft Developer Studio Generated Build File, Format Version 6.00 -# ** DO NOT EDIT ** - -# TARGTYPE "Win32 (x86) Application" 0x0101 - -CFG=C6202GPTC - Win32 Debug -!MESSAGE This is not a valid makefile. To build this project using NMAKE, -!MESSAGE use the Export Makefile command and run -!MESSAGE -!MESSAGE NMAKE /f "C6202GPTC.mak". -!MESSAGE -!MESSAGE You can specify a configuration when running NMAKE -!MESSAGE by defining the macro CFG on the command line. For example: -!MESSAGE -!MESSAGE NMAKE /f "C6202GPTC.mak" CFG="C6202GPTC - Win32 Debug" -!MESSAGE -!MESSAGE Possible choices for configuration are: -!MESSAGE -!MESSAGE "C6202GPTC - Win32 Release" (based on "Win32 (x86) Application") -!MESSAGE "C6202GPTC - Win32 Debug" (based on "Win32 (x86) Application") -!MESSAGE - -# Begin Project -# PROP AllowPerConfigDependencies 0 -# PROP Scc_ProjName "" -# PROP Scc_LocalPath "" -CPP=cl.exe -MTL=midl.exe -RSC=rc.exe - -!IF "$(CFG)" == "C6202GPTC - Win32 Release" - -# PROP BASE Use_MFC 6 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "Release" -# PROP BASE Intermediate_Dir "Release" -# PROP BASE Target_Dir "" -# PROP Use_MFC 6 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "Release" -# PROP Intermediate_Dir "Release" -# PROP Target_Dir "" -# ADD BASE CPP /nologo /MD /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /D "_AFXDLL" /Yu"stdafx.h" /FD /c -# ADD CPP /nologo /MD /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /D "_AFXDLL" /D "_MBCS" /Yu"stdafx.h" /FD /c -# ADD BASE MTL /nologo /D "NDEBUG" /mktyplib203 /win32 -# ADD MTL /nologo /D "NDEBUG" /mktyplib203 /win32 -# ADD BASE RSC /l 0x404 /d "NDEBUG" /d "_AFXDLL" -# ADD RSC /l 0x404 /d "NDEBUG" /d "_AFXDLL" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 /nologo /subsystem:windows /machine:I386 -# ADD LINK32 /nologo /subsystem:windows /machine:I386 - -!ELSEIF "$(CFG)" == "C6202GPTC - Win32 Debug" - -# PROP BASE Use_MFC 6 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "Debug" -# PROP BASE Intermediate_Dir "Debug" -# PROP BASE Target_Dir "" -# PROP Use_MFC 6 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "Debug" -# PROP Intermediate_Dir "Debug" -# PROP Target_Dir "" -# ADD BASE CPP /nologo /MDd /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /D "_AFXDLL" /Yu"stdafx.h" /FD /GZ /c -# ADD CPP /nologo /MDd /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /D "_AFXDLL" /D "_MBCS" /Yu"stdafx.h" /FD /GZ /c -# ADD BASE MTL /nologo /D "_DEBUG" /mktyplib203 /win32 -# ADD MTL /nologo /D "_DEBUG" /mktyplib203 /win32 -# ADD BASE RSC /l 0x404 /d "_DEBUG" /d "_AFXDLL" -# ADD RSC /l 0x404 /d "_DEBUG" /d "_AFXDLL" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 /nologo /subsystem:windows /debug /machine:I386 /pdbtype:sept -# ADD LINK32 /nologo /subsystem:windows /debug /machine:I386 /pdbtype:sept - -!ENDIF - -# Begin Target - -# Name "C6202GPTC - Win32 Release" -# Name "C6202GPTC - Win32 Debug" -# Begin Group "Source Files" - -# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;idl;hpj;bat" -# Begin Source File - -SOURCE=.\C6202GPTC.cpp -# End Source File -# Begin Source File - -SOURCE=.\C6202GPTC.rc -# End Source File -# Begin Source File - -SOURCE=.\C6202GPTCDlg.cpp -# End Source File -# Begin Source File - -SOURCE=.\StdAfx.cpp -# ADD CPP /Yc"stdafx.h" -# End Source File -# End Group -# Begin Group "Header Files" - -# PROP Default_Filter "h;hpp;hxx;hm;inl" -# Begin Source File - -SOURCE=.\C6202GPTC.h -# End Source File -# Begin Source File - -SOURCE=.\C6202GPTCDlg.h -# End Source File -# Begin Source File - -SOURCE=.\Resource.h -# End Source File -# Begin Source File - -SOURCE=.\StdAfx.h -# End Source File -# End Group -# Begin Group "Resource Files" - -# PROP Default_Filter "ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe" -# Begin Source File - -SOURCE=.\res\C6202GPTC.ico -# End Source File -# Begin Source File - -SOURCE=.\res\C6202GPTC.rc2 -# End Source File -# End Group -# Begin Source File - -SOURCE=.\ReadMe.txt -# End Source File -# Begin Source File - -SOURCE="..\..\..\Lib\PCI-Dask.lib" -# End Source File -# End Target -# End Project diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/6202/C6202GPTC/C6202GPTC.dsw b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/6202/C6202GPTC/C6202GPTC.dsw deleted file mode 100644 index a4355ab..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/6202/C6202GPTC/C6202GPTC.dsw +++ /dev/null @@ -1,29 +0,0 @@ -Microsoft Developer Studio Workspace File, Format Version 6.00 -# WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE! - -############################################################################### - -Project: "C6202GPTC"=.\C6202GPTC.dsp - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ -}}} - -############################################################################### - -Global: - -Package=<5> -{{{ -}}} - -Package=<3> -{{{ -}}} - -############################################################################### - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/6202/C6202GPTC/C6202GPTC.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/6202/C6202GPTC/C6202GPTC.h deleted file mode 100644 index 5ebd78f..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/6202/C6202GPTC/C6202GPTC.h +++ /dev/null @@ -1,49 +0,0 @@ -// C6202GPTC.h : main header file for the C6202GPTC application -// - -#if !defined(AFX_C6202GPTC_H__5985750C_A487_4DA8_8C11_FD6E168F19A1__INCLUDED_) -#define AFX_C6202GPTC_H__5985750C_A487_4DA8_8C11_FD6E168F19A1__INCLUDED_ - -#if _MSC_VER > 1000 -#pragma once -#endif // _MSC_VER > 1000 - -#ifndef __AFXWIN_H__ - #error include 'stdafx.h' before including this file for PCH -#endif - -#include "resource.h" // main symbols - -///////////////////////////////////////////////////////////////////////////// -// CC6202GPTCApp: -// See C6202GPTC.cpp for the implementation of this class -// - -class CC6202GPTCApp : public CWinApp -{ -public: - CC6202GPTCApp(); - -// Overrides - // ClassWizard generated virtual function overrides - //{{AFX_VIRTUAL(CC6202GPTCApp) - public: - virtual BOOL InitInstance(); - //}}AFX_VIRTUAL - -// Implementation - - //{{AFX_MSG(CC6202GPTCApp) - // NOTE - the ClassWizard will add and remove member functions here. - // DO NOT EDIT what you see in these blocks of generated code ! - //}}AFX_MSG - DECLARE_MESSAGE_MAP() -}; - - -///////////////////////////////////////////////////////////////////////////// - -//{{AFX_INSERT_LOCATION}} -// Microsoft Visual C++ will insert additional declarations immediately before the previous line. - -#endif // !defined(AFX_C6202GPTC_H__5985750C_A487_4DA8_8C11_FD6E168F19A1__INCLUDED_) diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/6202/C6202GPTC/C6202GPTC.rc b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/6202/C6202GPTC/C6202GPTC.rc deleted file mode 100644 index 39e1d1c..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/6202/C6202GPTC/C6202GPTC.rc +++ /dev/null @@ -1,275 +0,0 @@ -//Microsoft Developer Studio generated resource script. -// -#include "resource.h" - -#define APSTUDIO_READONLY_SYMBOLS -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 2 resource. -// -#include "afxres.h" - -///////////////////////////////////////////////////////////////////////////// -#undef APSTUDIO_READONLY_SYMBOLS - -///////////////////////////////////////////////////////////////////////////// -// Chinese (Taiwan) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_CHT) -#ifdef _WIN32 -LANGUAGE LANG_CHINESE, SUBLANG_CHINESE_TRADITIONAL -#pragma code_page(950) -#endif //_WIN32 - -#ifdef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// TEXTINCLUDE -// - -1 TEXTINCLUDE DISCARDABLE -BEGIN - "resource.h\0" -END - -2 TEXTINCLUDE DISCARDABLE -BEGIN - "#include ""afxres.h""\r\n" - "\0" -END - -3 TEXTINCLUDE DISCARDABLE -BEGIN - "#define _AFX_NO_SPLITTER_RESOURCES\r\n" - "#define _AFX_NO_OLE_RESOURCES\r\n" - "#define _AFX_NO_TRACKER_RESOURCES\r\n" - "#define _AFX_NO_PROPERTY_RESOURCES\r\n" - "\r\n" - "#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)\r\n" - "#ifdef _WIN32\r\n" - "LANGUAGE 9, 1\r\n" - "#pragma code_page(1252)\r\n" - "#endif //_WIN32\r\n" - "#include ""res\\C6202GPTC.rc2"" // non-Microsoft Visual C++ edited resources\r\n" - "#include ""afxres.rc"" // Standard components\r\n" - "#endif\r\n" - "\0" -END - -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// Icon -// - -// Icon with lowest ID value placed first to ensure application icon -// remains consistent on all systems. -IDR_MAINFRAME ICON DISCARDABLE "res\\C6202GPTC.ico" -#endif // Chinese (Taiwan) resources -///////////////////////////////////////////////////////////////////////////// - - -///////////////////////////////////////////////////////////////////////////// -// English (U.S.) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -#ifdef _WIN32 -LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US -#pragma code_page(1252) -#endif //_WIN32 - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog -// - -IDD_ABOUTBOX DIALOG DISCARDABLE 0, 0, 235, 55 -STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "About C6202GPTC" -FONT 8, "MS Sans Serif" -BEGIN - ICON IDR_MAINFRAME,IDC_STATIC,11,17,20,20 - LTEXT "C6202GPTC Version 1.0",IDC_STATIC,40,10,119,8, - SS_NOPREFIX - LTEXT "Copyright (C) 2007",IDC_STATIC,40,25,119,8 - DEFPUSHBUTTON "OK",IDOK,178,7,50,14,WS_GROUP -END - -IDD_C6202GPTC_DIALOG DIALOGEX 0, 0, 320, 200 -STYLE DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU -EXSTYLE WS_EX_APPWINDOW -CAPTION "C6202GPTC" -FONT 8, "MS Sans Serif" -BEGIN - DEFPUSHBUTTON "Exit",IDOK,123,179,50,14 - LTEXT "The timer/counter number:",IDC_STATIC,7,7,76,8 - LTEXT "The timer/counter mode.",IDC_STATIC,155,7,70,8 - COMBOBOX IDC_COMBO_MODE,203,20,100,120,CBS_DROPDOWNLIST | - WS_VSCROLL | WS_TABSTOP - COMBOBOX IDC_COMBO_TC_NUM,61,22,48,30,CBS_DROPDOWNLIST | - WS_VSCROLL | WS_TABSTOP - PUSHBUTTON "Setup T/C",IDC_BTN_SETUP,24,65,50,14 - PUSHBUTTON "Start T/C",IDC_BTN_START,23,92,50,14 - PUSHBUTTON "Stop T/C",IDC_BTN_STOP,24,118,50,14 - GROUPBOX "T/C Value",IDC_STATIC,231,71,70,74 - EDITTEXT IDC_EDIT_VALUE,241,84,40,14,ES_AUTOHSCROLL | ES_READONLY - PUSHBUTTON "Read",IDC_BTN_READ,238,109,50,14 - PUSHBUTTON "Set IntGate",IDC_BTN_SET_INT_GATE,119,75,50,14 - PUSHBUTTON "Reset IntGate",IDC_BTN_RESET_INT_GATE,120,102,50,14 -END - - -#ifndef _MAC -///////////////////////////////////////////////////////////////////////////// -// -// Version -// - -VS_VERSION_INFO VERSIONINFO - FILEVERSION 1,0,0,1 - PRODUCTVERSION 1,0,0,1 - FILEFLAGSMASK 0x3fL -#ifdef _DEBUG - FILEFLAGS 0x1L -#else - FILEFLAGS 0x0L -#endif - FILEOS 0x4L - FILETYPE 0x1L - FILESUBTYPE 0x0L -BEGIN - BLOCK "StringFileInfo" - BEGIN - BLOCK "040904B0" - BEGIN - VALUE "CompanyName", "\0" - VALUE "FileDescription", "C6202GPTC MFC Application\0" - VALUE "FileVersion", "1, 0, 0, 1\0" - VALUE "InternalName", "C6202GPTC\0" - VALUE "LegalCopyright", "Copyright (C) 2007\0" - VALUE "LegalTrademarks", "\0" - VALUE "OriginalFilename", "C6202GPTC.EXE\0" - VALUE "ProductName", "C6202GPTC Application\0" - VALUE "ProductVersion", "1, 0, 0, 1\0" - END - END - BLOCK "VarFileInfo" - BEGIN - VALUE "Translation", 0x409, 1200 - END -END - -#endif // !_MAC - - -///////////////////////////////////////////////////////////////////////////// -// -// DESIGNINFO -// - -#ifdef APSTUDIO_INVOKED -GUIDELINES DESIGNINFO DISCARDABLE -BEGIN - IDD_ABOUTBOX, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 228 - TOPMARGIN, 7 - BOTTOMMARGIN, 48 - END - - IDD_C6202GPTC_DIALOG, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 313 - TOPMARGIN, 7 - BOTTOMMARGIN, 193 - END -END -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog Info -// - -IDD_C6202GPTC_DIALOG DLGINIT -BEGIN - IDC_COMBO_MODE, 0x403, 20, 0 -0x6953, 0x706d, 0x656c, 0x6147, 0x6574, 0x4564, 0x6576, 0x746e, 0x4e43, -0x0054, - IDC_COMBO_MODE, 0x403, 16, 0 -0x6953, 0x676e, 0x656c, 0x6550, 0x6972, 0x646f, 0x534d, 0x0052, - IDC_COMBO_MODE, 0x403, 20, 0 -0x6953, 0x676e, 0x656c, 0x7550, 0x736c, 0x5765, 0x6469, 0x6874, 0x534d, -0x0052, - IDC_COMBO_MODE, 0x403, 20, 0 -0x6953, 0x676e, 0x656c, 0x6147, 0x6574, 0x5064, 0x6c75, 0x6573, 0x6547, -0x006e, - IDC_COMBO_MODE, 0x403, 19, 0 -0x6953, 0x676e, 0x656c, 0x7254, 0x6769, 0x7550, 0x736c, 0x4765, 0x6e65, -"\000" - IDC_COMBO_MODE, 0x403, 21, 0 -0x6552, 0x7274, 0x6769, 0x6953, 0x676e, 0x656c, 0x7550, 0x736c, 0x4765, -0x6e65, "\000" - IDC_COMBO_MODE, 0x403, 23, 0 -0x6953, 0x676e, 0x656c, 0x7254, 0x6769, 0x6f43, 0x746e, 0x7550, 0x736c, -0x4765, 0x6e65, "\000" - IDC_COMBO_MODE, 0x403, 13, 0 -0x6f43, 0x746e, 0x7550, 0x736c, 0x4765, 0x6e65, "\000" - IDC_COMBO_MODE, 0x403, 18, 0 -0x6445, 0x6567, 0x6553, 0x6170, 0x6172, 0x6974, 0x6e6f, 0x534d, 0x0052, - - IDC_COMBO_MODE, 0x403, 26, 0 -0x6953, 0x676e, 0x656c, 0x7254, 0x6769, 0x6f43, 0x746e, 0x7550, 0x736c, -0x4765, 0x6e65, 0x5750, 0x004d, - IDC_COMBO_MODE, 0x403, 16, 0 -0x6f43, 0x746e, 0x7550, 0x736c, 0x4765, 0x6e65, 0x5750, 0x004d, - IDC_COMBO_TC_NUM, 0x403, 6, 0 -0x2f54, 0x2043, 0x0030, - IDC_COMBO_TC_NUM, 0x403, 6, 0 -0x2f54, 0x2043, 0x0031, - 0 -END - - -///////////////////////////////////////////////////////////////////////////// -// -// String Table -// - -STRINGTABLE DISCARDABLE -BEGIN - IDS_ABOUTBOX "&About C6202GPTC..." -END - -#endif // English (U.S.) resources -///////////////////////////////////////////////////////////////////////////// - - - -#ifndef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 3 resource. -// -#define _AFX_NO_SPLITTER_RESOURCES -#define _AFX_NO_OLE_RESOURCES -#define _AFX_NO_TRACKER_RESOURCES -#define _AFX_NO_PROPERTY_RESOURCES - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -#ifdef _WIN32 -LANGUAGE 9, 1 -#pragma code_page(1252) -#endif //_WIN32 -#include "res\C6202GPTC.rc2" // non-Microsoft Visual C++ edited resources -#include "afxres.rc" // Standard components -#endif - -///////////////////////////////////////////////////////////////////////////// -#endif // not APSTUDIO_INVOKED - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/6202/C6202GPTC/C6202GPTCDlg.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/6202/C6202GPTC/C6202GPTCDlg.cpp deleted file mode 100644 index f79a649..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/6202/C6202GPTC/C6202GPTCDlg.cpp +++ /dev/null @@ -1,257 +0,0 @@ -// C6202GPTCDlg.cpp : implementation file -// - -#include "stdafx.h" -#include "C6202GPTC.h" -#include "C6202GPTCDlg.h" - -#ifdef _DEBUG -#define new DEBUG_NEW -#undef THIS_FILE -static char THIS_FILE[] = __FILE__; -#endif - -///////////////////////////////////////////////////////////////////////////// -// CAboutDlg dialog used for App About - -class CAboutDlg : public CDialog -{ -public: - CAboutDlg(); - -// Dialog Data - //{{AFX_DATA(CAboutDlg) - enum { IDD = IDD_ABOUTBOX }; - //}}AFX_DATA - - // ClassWizard generated virtual function overrides - //{{AFX_VIRTUAL(CAboutDlg) - protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - //}}AFX_VIRTUAL - -// Implementation -protected: - //{{AFX_MSG(CAboutDlg) - //}}AFX_MSG - DECLARE_MESSAGE_MAP() -}; - -CAboutDlg::CAboutDlg() : CDialog(CAboutDlg::IDD) -{ - //{{AFX_DATA_INIT(CAboutDlg) - //}}AFX_DATA_INIT -} - -void CAboutDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); - //{{AFX_DATA_MAP(CAboutDlg) - //}}AFX_DATA_MAP -} - -BEGIN_MESSAGE_MAP(CAboutDlg, CDialog) - //{{AFX_MSG_MAP(CAboutDlg) - // No message handlers - //}}AFX_MSG_MAP -END_MESSAGE_MAP() - -///////////////////////////////////////////////////////////////////////////// -// CC6202GPTCDlg dialog - -CC6202GPTCDlg::CC6202GPTCDlg(CWnd* pParent /*=NULL*/) - : CDialog(CC6202GPTCDlg::IDD, pParent) -{ - //{{AFX_DATA_INIT(CC6202GPTCDlg) - m_mode = 0; - m_tc_num = 0; - m_value = 0; - //}}AFX_DATA_INIT - // Note that LoadIcon does not require a subsequent DestroyIcon in Win32 - m_hIcon = AfxGetApp()->LoadIcon(IDR_MAINFRAME); -} - -void CC6202GPTCDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); - //{{AFX_DATA_MAP(CC6202GPTCDlg) - DDX_CBIndex(pDX, IDC_COMBO_MODE, m_mode); - DDX_CBIndex(pDX, IDC_COMBO_TC_NUM, m_tc_num); - DDX_Text(pDX, IDC_EDIT_VALUE, m_value); - //}}AFX_DATA_MAP -} - -BEGIN_MESSAGE_MAP(CC6202GPTCDlg, CDialog) - //{{AFX_MSG_MAP(CC6202GPTCDlg) - ON_WM_SYSCOMMAND() - ON_WM_PAINT() - ON_WM_QUERYDRAGICON() - ON_WM_CREATE() - ON_WM_CLOSE() - ON_BN_CLICKED(IDC_BTN_SETUP, OnBtnSetup) - ON_BN_CLICKED(IDC_BTN_START, OnBtnStart) - ON_BN_CLICKED(IDC_BTN_STOP, OnBtnStop) - ON_BN_CLICKED(IDC_BTN_SET_INT_GATE, OnBtnSetIntGate) - ON_BN_CLICKED(IDC_BTN_RESET_INT_GATE, OnBtnResetIntGate) - ON_BN_CLICKED(IDC_BTN_READ, OnBtnRead) - //}}AFX_MSG_MAP -END_MESSAGE_MAP() - -///////////////////////////////////////////////////////////////////////////// -// CC6202GPTCDlg message handlers - -BOOL CC6202GPTCDlg::OnInitDialog() -{ - CDialog::OnInitDialog(); - - // Add "About..." menu item to system menu. - - // IDM_ABOUTBOX must be in the system command range. - ASSERT((IDM_ABOUTBOX & 0xFFF0) == IDM_ABOUTBOX); - ASSERT(IDM_ABOUTBOX < 0xF000); - - CMenu* pSysMenu = GetSystemMenu(FALSE); - if (pSysMenu != NULL) - { - CString strAboutMenu; - strAboutMenu.LoadString(IDS_ABOUTBOX); - if (!strAboutMenu.IsEmpty()) - { - pSysMenu->AppendMenu(MF_SEPARATOR); - pSysMenu->AppendMenu(MF_STRING, IDM_ABOUTBOX, strAboutMenu); - } - } - - // Set the icon for this dialog. The framework does this automatically - // when the application's main window is not a dialog - SetIcon(m_hIcon, TRUE); // Set big icon - SetIcon(m_hIcon, FALSE); // Set small icon - - // TODO: Add extra initialization here - - return TRUE; // return TRUE unless you set the focus to a control -} - -void CC6202GPTCDlg::OnSysCommand(UINT nID, LPARAM lParam) -{ - if ((nID & 0xFFF0) == IDM_ABOUTBOX) - { - CAboutDlg dlgAbout; - dlgAbout.DoModal(); - } - else - { - CDialog::OnSysCommand(nID, lParam); - } -} - -// If you add a minimize button to your dialog, you will need the code below -// to draw the icon. For MFC applications using the document/view model, -// this is automatically done for you by the framework. - -void CC6202GPTCDlg::OnPaint() -{ - if (IsIconic()) - { - CPaintDC dc(this); // device context for painting - - SendMessage(WM_ICONERASEBKGND, (WPARAM) dc.GetSafeHdc(), 0); - - // Center icon in client rectangle - int cxIcon = GetSystemMetrics(SM_CXICON); - int cyIcon = GetSystemMetrics(SM_CYICON); - CRect rect; - GetClientRect(&rect); - int x = (rect.Width() - cxIcon + 1) / 2; - int y = (rect.Height() - cyIcon + 1) / 2; - - // Draw the icon - dc.DrawIcon(x, y, m_hIcon); - } - else - { - CDialog::OnPaint(); - } -} - -// The system calls this to obtain the cursor to display while the user drags -// the minimized window. -HCURSOR CC6202GPTCDlg::OnQueryDragIcon() -{ - return (HCURSOR) m_hIcon; -} - -int CC6202GPTCDlg::OnCreate(LPCREATESTRUCT lpCreateStruct) -{ - if (CDialog::OnCreate(lpCreateStruct) == -1) - return -1; - - // TODO: Add your specialized creation code here - m_dev = Register_Card(PCI_6202, 0); - if(m_dev < 0) - { - MessageBox("Register_Card Error!"); - } - - return 0; -} - -void CC6202GPTCDlg::OnClose() -{ - I16 err; - - if(m_dev >= 0) - { - err = Release_Card(m_dev); - } - - CDialog::OnClose(); -} - -void CC6202GPTCDlg::OnBtnSetup() -{ - I16 err; - - UpdateData(); - err = GPTC_Setup (m_dev, m_tc_num , m_mode+1, - GPTC_CLK_SRC_Int | GPTC_GATE_SRC_Int | GPTC_UPDOWN_Int, - GPTC_GATE_HACTIVE | GPTC_UPDOWN_HACTIVE | GPTC_CLKSRC_HACTIVE, - 80000000, 40000000); - -} - -void CC6202GPTCDlg::OnBtnStart() -{ - I16 err; - - err = GPTC_Control (m_dev, m_tc_num, IntENABLE, 1); -} - -void CC6202GPTCDlg::OnBtnStop() -{ - I16 err; - - err = GPTC_Control (m_dev, m_tc_num, IntENABLE, 0); -} - -void CC6202GPTCDlg::OnBtnSetIntGate() -{ - I16 err; - - err = GPTC_Control (m_dev, m_tc_num, IntGate, 1); -} - -void CC6202GPTCDlg::OnBtnResetIntGate() -{ - I16 err; - - err = GPTC_Control (m_dev, m_tc_num, IntGate, 0); -} - -void CC6202GPTCDlg::OnBtnRead() -{ - I16 err; - - err = GPTC_Read (m_dev, 0, &m_value); - UpdateData(FALSE); -} diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/6202/C6202GPTC/C6202GPTCDlg.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/6202/C6202GPTC/C6202GPTCDlg.h deleted file mode 100644 index 701bf53..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/6202/C6202GPTC/C6202GPTCDlg.h +++ /dev/null @@ -1,63 +0,0 @@ -// C6202GPTCDlg.h : header file -// - -#if !defined(AFX_C6202GPTCDLG_H__ABB4F3EC_DEC9_4A39_8122_090E64978E01__INCLUDED_) -#define AFX_C6202GPTCDLG_H__ABB4F3EC_DEC9_4A39_8122_090E64978E01__INCLUDED_ - -#if _MSC_VER > 1000 -#pragma once -#endif // _MSC_VER > 1000 - -#include "..\..\..\include\dask.h" - -///////////////////////////////////////////////////////////////////////////// -// CC6202GPTCDlg dialog - -class CC6202GPTCDlg : public CDialog -{ -// Construction -public: - CC6202GPTCDlg(CWnd* pParent = NULL); // standard constructor - - I16 m_dev; - -// Dialog Data - //{{AFX_DATA(CC6202GPTCDlg) - enum { IDD = IDD_C6202GPTC_DIALOG }; - int m_mode; - int m_tc_num; - DWORD m_value; - //}}AFX_DATA - - // ClassWizard generated virtual function overrides - //{{AFX_VIRTUAL(CC6202GPTCDlg) - protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - //}}AFX_VIRTUAL - -// Implementation -protected: - HICON m_hIcon; - - // Generated message map functions - //{{AFX_MSG(CC6202GPTCDlg) - virtual BOOL OnInitDialog(); - afx_msg void OnSysCommand(UINT nID, LPARAM lParam); - afx_msg void OnPaint(); - afx_msg HCURSOR OnQueryDragIcon(); - afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct); - afx_msg void OnClose(); - afx_msg void OnBtnSetup(); - afx_msg void OnBtnStart(); - afx_msg void OnBtnStop(); - afx_msg void OnBtnSetIntGate(); - afx_msg void OnBtnResetIntGate(); - afx_msg void OnBtnRead(); - //}}AFX_MSG - DECLARE_MESSAGE_MAP() -}; - -//{{AFX_INSERT_LOCATION}} -// Microsoft Visual C++ will insert additional declarations immediately before the previous line. - -#endif // !defined(AFX_C6202GPTCDLG_H__ABB4F3EC_DEC9_4A39_8122_090E64978E01__INCLUDED_) diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/6202/C6202GPTC/ReadMe.txt b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/6202/C6202GPTC/ReadMe.txt deleted file mode 100644 index f9115be..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/6202/C6202GPTC/ReadMe.txt +++ /dev/null @@ -1,88 +0,0 @@ -======================================================================== - MICROSOFT FOUNDATION CLASS LIBRARY : C6202GPTC -======================================================================== - - -AppWizard has created this C6202GPTC application for you. This application -not only demonstrates the basics of using the Microsoft Foundation classes -but is also a starting point for writing your application. - -This file contains a summary of what you will find in each of the files that -make up your C6202GPTC application. - -C6202GPTC.dsp - This file (the project file) contains information at the project level and - is used to build a single project or subproject. Other users can share the - project (.dsp) file, but they should export the makefiles locally. - -C6202GPTC.h - This is the main header file for the application. It includes other - project specific headers (including Resource.h) and declares the - CC6202GPTCApp application class. - -C6202GPTC.cpp - This is the main application source file that contains the application - class CC6202GPTCApp. - -C6202GPTC.rc - This is a listing of all of the Microsoft Windows resources that the - program uses. It includes the icons, bitmaps, and cursors that are stored - in the RES subdirectory. This file can be directly edited in Microsoft - Visual C++. - -C6202GPTC.clw - This file contains information used by ClassWizard to edit existing - classes or add new classes. ClassWizard also uses this file to store - information needed to create and edit message maps and dialog data - maps and to create prototype member functions. - -res\C6202GPTC.ico - This is an icon file, which is used as the application's icon. This - icon is included by the main resource file C6202GPTC.rc. - -res\C6202GPTC.rc2 - This file contains resources that are not edited by Microsoft - Visual C++. You should place all resources not editable by - the resource editor in this file. - - - - -///////////////////////////////////////////////////////////////////////////// - -AppWizard creates one dialog class: - -C6202GPTCDlg.h, C6202GPTCDlg.cpp - the dialog - These files contain your CC6202GPTCDlg class. This class defines - the behavior of your application's main dialog. The dialog's - template is in C6202GPTC.rc, which can be edited in Microsoft - Visual C++. - - -///////////////////////////////////////////////////////////////////////////// -Other standard files: - -StdAfx.h, StdAfx.cpp - These files are used to build a precompiled header (PCH) file - named C6202GPTC.pch and a precompiled types file named StdAfx.obj. - -Resource.h - This is the standard header file, which defines new resource IDs. - Microsoft Visual C++ reads and updates this file. - -///////////////////////////////////////////////////////////////////////////// -Other notes: - -AppWizard uses "TODO:" to indicate parts of the source code you -should add to or customize. - -If your application uses MFC in a shared DLL, and your application is -in a language other than the operating system's current language, you -will need to copy the corresponding localized resources MFC42XXX.DLL -from the Microsoft Visual C++ CD-ROM onto the system or system32 directory, -and rename it to be MFCLOC.DLL. ("XXX" stands for the language abbreviation. -For example, MFC42DEU.DLL contains resources translated to German.) If you -don't do this, some of the UI elements of your application will remain in the -language of the operating system. - -///////////////////////////////////////////////////////////////////////////// diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/6202/C6202GPTC/Release/C6202GPTC.exe b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/6202/C6202GPTC/Release/C6202GPTC.exe deleted file mode 100644 index 2578c94..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/6202/C6202GPTC/Release/C6202GPTC.exe and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/6202/C6202GPTC/Resource.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/6202/C6202GPTC/Resource.h deleted file mode 100644 index 328d1b1..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/6202/C6202GPTC/Resource.h +++ /dev/null @@ -1,29 +0,0 @@ -//{{NO_DEPENDENCIES}} -// Microsoft Developer Studio generated include file. -// Used by C6202GPTC.rc -// -#define IDM_ABOUTBOX 0x0010 -#define IDD_ABOUTBOX 100 -#define IDS_ABOUTBOX 101 -#define IDD_C6202GPTC_DIALOG 102 -#define IDR_MAINFRAME 128 -#define IDC_COMBO_MODE 1000 -#define IDC_COMBO_TC_NUM 1001 -#define IDC_BTN_SETUP 1002 -#define IDC_BTN_START 1003 -#define IDC_BTN_STOP 1004 -#define IDC_EDIT_VALUE 1006 -#define IDC_BTN_READ 1007 -#define IDC_BTN_SET_INT_GATE 1009 -#define IDC_BTN_RESET_INT_GATE 1010 - -// Next default values for new objects -// -#ifdef APSTUDIO_INVOKED -#ifndef APSTUDIO_READONLY_SYMBOLS -#define _APS_NEXT_RESOURCE_VALUE 130 -#define _APS_NEXT_COMMAND_VALUE 32771 -#define _APS_NEXT_CONTROL_VALUE 1011 -#define _APS_NEXT_SYMED_VALUE 101 -#endif -#endif diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/6202/C6202GPTC/StdAfx.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/6202/C6202GPTC/StdAfx.cpp deleted file mode 100644 index 04b4429..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/6202/C6202GPTC/StdAfx.cpp +++ /dev/null @@ -1,8 +0,0 @@ -// stdafx.cpp : source file that includes just the standard includes -// C6202GPTC.pch will be the pre-compiled header -// stdafx.obj will contain the pre-compiled type information - -#include "stdafx.h" - - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/6202/C6202GPTC/StdAfx.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/6202/C6202GPTC/StdAfx.h deleted file mode 100644 index f75266b..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/6202/C6202GPTC/StdAfx.h +++ /dev/null @@ -1,27 +0,0 @@ -// stdafx.h : include file for standard system include files, -// or project specific include files that are used frequently, but -// are changed infrequently -// - -#if !defined(AFX_STDAFX_H__917EA7F5_1351_401E_A2FA_7B2A7A9B5D1B__INCLUDED_) -#define AFX_STDAFX_H__917EA7F5_1351_401E_A2FA_7B2A7A9B5D1B__INCLUDED_ - -#if _MSC_VER > 1000 -#pragma once -#endif // _MSC_VER > 1000 - -#define VC_EXTRALEAN // Exclude rarely-used stuff from Windows headers - -#include // MFC core and standard components -#include // MFC extensions -#include // MFC Automation classes -#include // MFC support for Internet Explorer 4 Common Controls -#ifndef _AFX_NO_AFXCMN_SUPPORT -#include // MFC support for Windows Common Controls -#endif // _AFX_NO_AFXCMN_SUPPORT - - -//{{AFX_INSERT_LOCATION}} -// Microsoft Visual C++ will insert additional declarations immediately before the previous line. - -#endif // !defined(AFX_STDAFX_H__917EA7F5_1351_401E_A2FA_7B2A7A9B5D1B__INCLUDED_) diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/6202/C6202GPTC/res/C6202GPTC.ico b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/6202/C6202GPTC/res/C6202GPTC.ico deleted file mode 100644 index 7eef0bc..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/6202/C6202GPTC/res/C6202GPTC.ico and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/6202/C6202GPTC/res/C6202GPTC.rc2 b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/6202/C6202GPTC/res/C6202GPTC.rc2 deleted file mode 100644 index 19ae7cd..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/6202/C6202GPTC/res/C6202GPTC.rc2 +++ /dev/null @@ -1,13 +0,0 @@ -// -// C6202GPTC.RC2 - resources Microsoft Visual C++ does not edit directly -// - -#ifdef APSTUDIO_INVOKED - #error this file is not editable by Microsoft Visual C++ -#endif //APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// Add manually edited resources here... - -///////////////////////////////////////////////////////////////////////////// diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/6202/C6202_AO_DMA_DBF/ao.c b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/6202/C6202_AO_DMA_DBF/ao.c deleted file mode 100644 index ad5981a..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/6202/C6202_AO_DMA_DBF/ao.c +++ /dev/null @@ -1,148 +0,0 @@ -/*----------------------------------------------------------------------------*/ -/* Company : ADLINK */ -/* Date : 2008/08/11 */ -/* */ -/* This sample infinitely updates AO voltage with DMA Double Buffer mode. */ -/* There are 2 AO channels in PCI-9222. You can use polling mode or DMA to */ -/* to update data to specified channels. */ -/*----------------------------------------------------------------------------*/ -#include -#include -#include -#include -#include -#include "dask.h" - -#define WRITECOUNT 8000 -#define TIMEBASE 80000000 -#define UPDATEINTRV 10000 -#define PI 3.1415926 - -int main(int argc, char **argv) -{ - I16 card, err; - U16 card_num; - U16 ConfigCtrl = P6202_DA_WRSRC_Int; - U16 TrigCtrl = P6202_DA_TRGMOD_POST|P6202_DA_TRGSRC_SOFT; - U32 ReTrgCnt = 0; //Ignored in non-retrigger mode - U32 DLY1Cnt = 0; //Ignored in non-delay trigger mode - U32 DLY2Cnt = 0; //Ignored in non-delay2 mode - BOOLEAN AutoResetBuf = 1; - U32 W_Buffer0[WRITECOUNT]; - U32 W_Buffer1[WRITECOUNT]; - U32 Patten0[WRITECOUNT]; - U32 Patten1[WRITECOUNT]; - U32 WriteCount = WRITECOUNT; - U16 BufferId0; - U16 BufferId1; - U16 Channel = 0; //AO channel to be written - U32 Iterations = 0; //Infinite repeate - U32 CHUI = UPDATEINTRV; - U16 definite = 0; - U32 vi; - BOOLEAN HalfReady; - U32 AccessCnt; - U16 RdyBufCnt = 0; - - for(vi=0; vi -# Microsoft Developer Studio Generated Build File, Format Version 6.00 -# ** DO NOT EDIT ** - -# TARGTYPE "Win32 (x86) Console Application" 0x0103 - -CFG=ao - Win32 Debug -!MESSAGE This is not a valid makefile. To build this project using NMAKE, -!MESSAGE use the Export Makefile command and run -!MESSAGE -!MESSAGE NMAKE /f "ao.mak". -!MESSAGE -!MESSAGE You can specify a configuration when running NMAKE -!MESSAGE by defining the macro CFG on the command line. For example: -!MESSAGE -!MESSAGE NMAKE /f "ao.mak" CFG="ao - Win32 Debug" -!MESSAGE -!MESSAGE Possible choices for configuration are: -!MESSAGE -!MESSAGE "ao - Win32 Release" (based on "Win32 (x86) Console Application") -!MESSAGE "ao - Win32 Debug" (based on "Win32 (x86) Console Application") -!MESSAGE - -# Begin Project -# PROP AllowPerConfigDependencies 0 -# PROP Scc_ProjName "" -# PROP Scc_LocalPath "" -CPP=cl.exe -RSC=rc.exe - -!IF "$(CFG)" == "ao - Win32 Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "Release" -# PROP BASE Intermediate_Dir "Release" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "" -# PROP Intermediate_Dir "Release" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c -# ADD CPP /nologo /W3 /GX /O2 /I "../../../include" /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c -# ADD BASE RSC /l 0x404 /d "NDEBUG" -# ADD RSC /l 0x404 /d "NDEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ../../../lib/pci-dask.lib /nologo /subsystem:console /machine:I386 - -!ELSEIF "$(CFG)" == "ao - Win32 Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "Debug" -# PROP BASE Intermediate_Dir "Debug" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "Debug" -# PROP Intermediate_Dir "Debug" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /GZ /c -# ADD CPP /nologo /W3 /Gm /GX /ZI /Od /I "../../../include" /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /GZ /c -# ADD BASE RSC /l 0x404 /d "_DEBUG" -# ADD RSC /l 0x404 /d "_DEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ../../../lib/pci-dask.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept - -!ENDIF - -# Begin Target - -# Name "ao - Win32 Release" -# Name "ao - Win32 Debug" -# Begin Group "Source Files" - -# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;idl;hpj;bat" -# Begin Source File - -SOURCE=.\ao.c -# End Source File -# End Group -# Begin Group "Header Files" - -# PROP Default_Filter "h;hpp;hxx;hm;inl" -# End Group -# Begin Group "Resource Files" - -# PROP Default_Filter "ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe" -# End Group -# End Target -# End Project diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/6202/C6202_AO_DMA_DBF/ao.dsw b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/6202/C6202_AO_DMA_DBF/ao.dsw deleted file mode 100644 index d7a54c7..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/6202/C6202_AO_DMA_DBF/ao.dsw +++ /dev/null @@ -1,29 +0,0 @@ -Microsoft Developer Studio Workspace File, Format Version 6.00 -# WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE! - -############################################################################### - -Project: "ao"=.\ao.dsp - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ -}}} - -############################################################################### - -Global: - -Package=<5> -{{{ -}}} - -Package=<3> -{{{ -}}} - -############################################################################### - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/6202/C6202_AO_DMA_DBF/ao.exe b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/6202/C6202_AO_DMA_DBF/ao.exe deleted file mode 100644 index 1c72d87..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/6202/C6202_AO_DMA_DBF/ao.exe and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/6202/C6202_AO_DMA_DBF_DBEVENT/ao.c b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/6202/C6202_AO_DMA_DBF_DBEVENT/ao.c deleted file mode 100644 index 18e3ca8..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/6202/C6202_AO_DMA_DBF_DBEVENT/ao.c +++ /dev/null @@ -1,185 +0,0 @@ -/*----------------------------------------------------------------------------*/ -/* Company : ADLINK */ -/* Date : 2008/08/12 */ -/* */ -/* This sample simultaneously infinite updates AO voltage to AO two channels */ -/* with event call back functions. */ -/* In simultaneously continuous AO, AO_Buffer[0] and AO_Buffer[1] are */ -/* simultaneously updating to AO Channel 0 and 1, then, AO_Buffer[2] and */ -/* AO_Buffer[3] are simultaneously updating to AO Channel 0 and 1, ..., etc. */ -/* With event call back functions, the set CallBack function will be */ -/* performed while the set event is comming. */ -/*----------------------------------------------------------------------------*/ -#include -#include -#include -#include -#include -#include "dask.h" - -#define WRITECOUNT 8000 -#define TIMEBASE 80000000 -#define UPDATEINTRV 10000 -#define PI 3.1415926 -#define WRITECHNCNT 2 - -I16 card, err; -U16 card_num; -U16 ConfigCtrl = P6202_DA_WRSRC_Int; -U16 TrigCtrl = P6202_DA_TRGMOD_POST|P6202_DA_TRGSRC_SOFT; -U32 ReTrgCnt = 0; //Ignored in non-retrigger mode -U32 DLY1Cnt = 0; //Ignored in non-delay trigger mode -U32 DLY2Cnt = 0; //Ignored in non-delay2 -BOOLEAN AutoResetBuf = 1; -U32 W_Buffer0[WRITECOUNT*WRITECHNCNT]; //Data buffer to be written -U32 W_Buffer1[WRITECOUNT*WRITECHNCNT]; //Data buffer to be written -U32 Patten0[WRITECOUNT*WRITECHNCNT]; -U32 Patten1[WRITECOUNT*WRITECHNCNT]; -U32 WriteCount = WRITECOUNT; -U32 BufferCnt = WRITECOUNT*WRITECHNCNT; //needs extra buffer size for simultaneously AO update -U16 BufferId0; -U16 BufferId1; -U16 NumChans = WRITECHNCNT; //Numbers of AO channels -U16 Chans[WRITECHNCNT] = {0, 1}; //AO Channels -U32 Iterations = 0; //Infinite repeats -U32 CHUI = UPDATEINTRV; -U16 definite = 0; -U32 vi; -U32 AccessCnt; -U16 StopFlag = 0; -U16 ViewIdx = 0; -U32 BufChgIdx = 0; - - -void AO_END_CALLBACK() -{ - printf("\nAO End...\n"); - StopFlag = 1; -} - -void AO_DBEVENT_CALLBACK() -{ - if(ViewIdx==0){ - printf("Buffer 0 updated...\n"); - if(BufChgIdx==0) - memcpy(W_Buffer0, Patten1, BufferCnt*sizeof(U32)); - else - memcpy(W_Buffer0, Patten0, BufferCnt*sizeof(U32)); - } - else{ - printf("Buffer 1 updated...\n"); - if(BufChgIdx==0) - memcpy(W_Buffer1, Patten0, BufferCnt*sizeof(U32)); - else - memcpy(W_Buffer1, Patten1, BufferCnt*sizeof(U32)); - } - BufChgIdx = (ViewIdx==1)? ((BufChgIdx==0)? 1:0):BufChgIdx; - ViewIdx = ViewIdx? 0:1; -} - - -int main(int argc, char **argv) -{ - for(vi=0; vi -# Microsoft Developer Studio Generated Build File, Format Version 6.00 -# ** DO NOT EDIT ** - -# TARGTYPE "Win32 (x86) Console Application" 0x0103 - -CFG=ao - Win32 Debug -!MESSAGE This is not a valid makefile. To build this project using NMAKE, -!MESSAGE use the Export Makefile command and run -!MESSAGE -!MESSAGE NMAKE /f "ao.mak". -!MESSAGE -!MESSAGE You can specify a configuration when running NMAKE -!MESSAGE by defining the macro CFG on the command line. For example: -!MESSAGE -!MESSAGE NMAKE /f "ao.mak" CFG="ao - Win32 Debug" -!MESSAGE -!MESSAGE Possible choices for configuration are: -!MESSAGE -!MESSAGE "ao - Win32 Release" (based on "Win32 (x86) Console Application") -!MESSAGE "ao - Win32 Debug" (based on "Win32 (x86) Console Application") -!MESSAGE - -# Begin Project -# PROP AllowPerConfigDependencies 0 -# PROP Scc_ProjName "" -# PROP Scc_LocalPath "" -CPP=cl.exe -RSC=rc.exe - -!IF "$(CFG)" == "ao - Win32 Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "Release" -# PROP BASE Intermediate_Dir "Release" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "" -# PROP Intermediate_Dir "Release" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c -# ADD CPP /nologo /W3 /GX /O2 /I "../../../include" /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c -# ADD BASE RSC /l 0x404 /d "NDEBUG" -# ADD RSC /l 0x404 /d "NDEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ../../../lib/pci-dask.lib /nologo /subsystem:console /machine:I386 - -!ELSEIF "$(CFG)" == "ao - Win32 Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "Debug" -# PROP BASE Intermediate_Dir "Debug" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "Debug" -# PROP Intermediate_Dir "Debug" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /GZ /c -# ADD CPP /nologo /W3 /Gm /GX /ZI /Od /I "../../../include" /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /GZ /c -# ADD BASE RSC /l 0x404 /d "_DEBUG" -# ADD RSC /l 0x404 /d "_DEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ../../../lib/pci-dask.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept - -!ENDIF - -# Begin Target - -# Name "ao - Win32 Release" -# Name "ao - Win32 Debug" -# Begin Group "Source Files" - -# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;idl;hpj;bat" -# Begin Source File - -SOURCE=.\ao.c -# End Source File -# End Group -# Begin Group "Header Files" - -# PROP Default_Filter "h;hpp;hxx;hm;inl" -# End Group -# Begin Group "Resource Files" - -# PROP Default_Filter "ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe" -# End Group -# End Target -# End Project diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/6202/C6202_AO_DMA_DBF_DBEVENT/ao.dsw b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/6202/C6202_AO_DMA_DBF_DBEVENT/ao.dsw deleted file mode 100644 index d7a54c7..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/6202/C6202_AO_DMA_DBF_DBEVENT/ao.dsw +++ /dev/null @@ -1,29 +0,0 @@ -Microsoft Developer Studio Workspace File, Format Version 6.00 -# WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE! - -############################################################################### - -Project: "ao"=.\ao.dsp - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ -}}} - -############################################################################### - -Global: - -Package=<5> -{{{ -}}} - -Package=<3> -{{{ -}}} - -############################################################################### - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/6202/C6202_AO_DMA_DBF_DBEVENT/ao.exe b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/6202/C6202_AO_DMA_DBF_DBEVENT/ao.exe deleted file mode 100644 index ed0decc..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/6202/C6202_AO_DMA_DBF_DBEVENT/ao.exe and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/6202/C6202_AO_DMA_SBF_InfiniteWaves/ao.c b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/6202/C6202_AO_DMA_SBF_InfiniteWaves/ao.c deleted file mode 100644 index cfb1a65..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/6202/C6202_AO_DMA_SBF_InfiniteWaves/ao.c +++ /dev/null @@ -1,110 +0,0 @@ -/*----------------------------------------------------------------------------*/ -/* Company : ADLINK */ -/* Date : 2008/06/18 */ -/* */ -/* This sample Updates AO voltage with DMA mode. */ -/* There are 2 AO channels in PCI-9222. You can use polling mode or DMA to */ -/* to update data to specified channels. */ -/*----------------------------------------------------------------------------*/ -#include -#include -#include -#include -#include -#include "dask.h" - -#define WRITECOUNT 8000 -#define TIMEBASE 80000000 -#define UPDATEINTRV 10000 -#define PI 3.1415926 - -int main(int argc, char **argv) -{ - I16 card, err; - U16 card_num; - U16 ConfigCtrl = P6202_DA_WRSRC_Int; - U16 TrigCtrl = P6202_DA_TRGMOD_POST|P6202_DA_TRGSRC_SOFT|P6202_DA_DLY2En; - U32 ReTrgCnt = 0; - U32 DLY1Cnt = 0; - U32 DLY2Cnt = 40000000; - BOOLEAN AutoResetBuf = 1; - U32 W_Buffer0[WRITECOUNT]; - U32 Patten0[WRITECOUNT]; - U32 WriteCount = WRITECOUNT; - U16 BufferId0; - U16 Channel = 0; - U32 Iterations = 0; - U32 CHUI = UPDATEINTRV; - U16 definite = 0; - U32 vi; - U32 AccessCnt; - BOOLEAN Stopped; - - - for(vi=0; vi -# Microsoft Developer Studio Generated Build File, Format Version 6.00 -# ** DO NOT EDIT ** - -# TARGTYPE "Win32 (x86) Console Application" 0x0103 - -CFG=ao - Win32 Debug -!MESSAGE This is not a valid makefile. To build this project using NMAKE, -!MESSAGE use the Export Makefile command and run -!MESSAGE -!MESSAGE NMAKE /f "ao.mak". -!MESSAGE -!MESSAGE You can specify a configuration when running NMAKE -!MESSAGE by defining the macro CFG on the command line. For example: -!MESSAGE -!MESSAGE NMAKE /f "ao.mak" CFG="ao - Win32 Debug" -!MESSAGE -!MESSAGE Possible choices for configuration are: -!MESSAGE -!MESSAGE "ao - Win32 Release" (based on "Win32 (x86) Console Application") -!MESSAGE "ao - Win32 Debug" (based on "Win32 (x86) Console Application") -!MESSAGE - -# Begin Project -# PROP AllowPerConfigDependencies 0 -# PROP Scc_ProjName "" -# PROP Scc_LocalPath "" -CPP=cl.exe -RSC=rc.exe - -!IF "$(CFG)" == "ao - Win32 Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "Release" -# PROP BASE Intermediate_Dir "Release" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "" -# PROP Intermediate_Dir "Release" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c -# ADD CPP /nologo /W3 /GX /O2 /I "../../../include" /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c -# ADD BASE RSC /l 0x404 /d "NDEBUG" -# ADD RSC /l 0x404 /d "NDEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ../../../lib/pci-dask.lib /nologo /subsystem:console /machine:I386 - -!ELSEIF "$(CFG)" == "ao - Win32 Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "Debug" -# PROP BASE Intermediate_Dir "Debug" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "Debug" -# PROP Intermediate_Dir "Debug" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /GZ /c -# ADD CPP /nologo /W3 /Gm /GX /ZI /Od /I "../../../include" /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /GZ /c -# ADD BASE RSC /l 0x404 /d "_DEBUG" -# ADD RSC /l 0x404 /d "_DEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ../../../lib/pci-dask.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept - -!ENDIF - -# Begin Target - -# Name "ao - Win32 Release" -# Name "ao - Win32 Debug" -# Begin Group "Source Files" - -# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;idl;hpj;bat" -# Begin Source File - -SOURCE=.\ao.c -# End Source File -# End Group -# Begin Group "Header Files" - -# PROP Default_Filter "h;hpp;hxx;hm;inl" -# End Group -# Begin Group "Resource Files" - -# PROP Default_Filter "ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe" -# End Group -# End Target -# End Project diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/6202/C6202_AO_DMA_SBF_InfiniteWaves/ao.dsw b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/6202/C6202_AO_DMA_SBF_InfiniteWaves/ao.dsw deleted file mode 100644 index d7a54c7..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/6202/C6202_AO_DMA_SBF_InfiniteWaves/ao.dsw +++ /dev/null @@ -1,29 +0,0 @@ -Microsoft Developer Studio Workspace File, Format Version 6.00 -# WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE! - -############################################################################### - -Project: "ao"=.\ao.dsp - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ -}}} - -############################################################################### - -Global: - -Package=<5> -{{{ -}}} - -Package=<3> -{{{ -}}} - -############################################################################### - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/6202/C6202_AO_DMA_SBF_InfiniteWaves/ao.exe b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/6202/C6202_AO_DMA_SBF_InfiniteWaves/ao.exe deleted file mode 100644 index 32a9046..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/6202/C6202_AO_DMA_SBF_InfiniteWaves/ao.exe and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/6202/C6202_AO_DMA_SBF_MultiWaves/ao.c b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/6202/C6202_AO_DMA_SBF_MultiWaves/ao.c deleted file mode 100644 index 43b8696..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/6202/C6202_AO_DMA_SBF_MultiWaves/ao.c +++ /dev/null @@ -1,116 +0,0 @@ -/*----------------------------------------------------------------------------*/ -/* Company : ADLINK */ -/* Date : 2008/06/18 */ -/* */ -/* This sample Updates AO voltage with DMA mode. */ -/* There are 2 AO channels in PCI-9222. You can use polling mode or DMA to */ -/* to update data to specified channels. */ -/*----------------------------------------------------------------------------*/ -#include -#include -#include -#include -#include -#include "dask.h" - -#define WRITECOUNT 8000 -#define TIMEBASE 80000000 -#define UPDATEINTRV 10000 -#define PI 3.1415926 - -int main(int argc, char **argv) -{ - I16 card, err; - U16 card_num; - U16 ConfigCtrl = P6202_DA_WRSRC_Int; - U16 TrigCtrl = P6202_DA_TRGMOD_POST|P6202_DA_TRGSRC_SOFT|P6202_DA_DLY2En; - U32 ReTrgCnt = 0; - U32 DLY1Cnt = 0; - U32 DLY2Cnt = 40000000; - BOOLEAN AutoResetBuf = 1; - U32 W_Buffer0[WRITECOUNT]; - U32 Patten0[WRITECOUNT]; - U32 WriteCount = WRITECOUNT; - U16 BufferId0; - U16 Channel = 0; - U32 Iterations = 4; - U32 CHUI = UPDATEINTRV; - U16 definite = 1; - U32 vi; - U32 AccessCnt; - BOOLEAN Stopped; - - - for(vi=0; vi -# Microsoft Developer Studio Generated Build File, Format Version 6.00 -# ** DO NOT EDIT ** - -# TARGTYPE "Win32 (x86) Console Application" 0x0103 - -CFG=ao - Win32 Debug -!MESSAGE This is not a valid makefile. To build this project using NMAKE, -!MESSAGE use the Export Makefile command and run -!MESSAGE -!MESSAGE NMAKE /f "ao.mak". -!MESSAGE -!MESSAGE You can specify a configuration when running NMAKE -!MESSAGE by defining the macro CFG on the command line. For example: -!MESSAGE -!MESSAGE NMAKE /f "ao.mak" CFG="ao - Win32 Debug" -!MESSAGE -!MESSAGE Possible choices for configuration are: -!MESSAGE -!MESSAGE "ao - Win32 Release" (based on "Win32 (x86) Console Application") -!MESSAGE "ao - Win32 Debug" (based on "Win32 (x86) Console Application") -!MESSAGE - -# Begin Project -# PROP AllowPerConfigDependencies 0 -# PROP Scc_ProjName "" -# PROP Scc_LocalPath "" -CPP=cl.exe -RSC=rc.exe - -!IF "$(CFG)" == "ao - Win32 Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "Release" -# PROP BASE Intermediate_Dir "Release" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "" -# PROP Intermediate_Dir "Release" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c -# ADD CPP /nologo /W3 /GX /O2 /I "../../../include" /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c -# ADD BASE RSC /l 0x404 /d "NDEBUG" -# ADD RSC /l 0x404 /d "NDEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ../../../lib/pci-dask.lib /nologo /subsystem:console /machine:I386 - -!ELSEIF "$(CFG)" == "ao - Win32 Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "Debug" -# PROP BASE Intermediate_Dir "Debug" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "Debug" -# PROP Intermediate_Dir "Debug" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /GZ /c -# ADD CPP /nologo /W3 /Gm /GX /ZI /Od /I "../../../include" /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /GZ /c -# ADD BASE RSC /l 0x404 /d "_DEBUG" -# ADD RSC /l 0x404 /d "_DEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ../../../lib/pci-dask.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept - -!ENDIF - -# Begin Target - -# Name "ao - Win32 Release" -# Name "ao - Win32 Debug" -# Begin Group "Source Files" - -# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;idl;hpj;bat" -# Begin Source File - -SOURCE=.\ao.c -# End Source File -# End Group -# Begin Group "Header Files" - -# PROP Default_Filter "h;hpp;hxx;hm;inl" -# End Group -# Begin Group "Resource Files" - -# PROP Default_Filter "ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe" -# End Group -# End Target -# End Project diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/6202/C6202_AO_DMA_SBF_MultiWaves/ao.dsw b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/6202/C6202_AO_DMA_SBF_MultiWaves/ao.dsw deleted file mode 100644 index d7a54c7..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/6202/C6202_AO_DMA_SBF_MultiWaves/ao.dsw +++ /dev/null @@ -1,29 +0,0 @@ -Microsoft Developer Studio Workspace File, Format Version 6.00 -# WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE! - -############################################################################### - -Project: "ao"=.\ao.dsp - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ -}}} - -############################################################################### - -Global: - -Package=<5> -{{{ -}}} - -Package=<3> -{{{ -}}} - -############################################################################### - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/6202/C6202_AO_DMA_SBF_MultiWaves/ao.exe b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/6202/C6202_AO_DMA_SBF_MultiWaves/ao.exe deleted file mode 100644 index 640823a..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/6202/C6202_AO_DMA_SBF_MultiWaves/ao.exe and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/6202/C6202_AO_DMA_SBF_OneWave/ao.c b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/6202/C6202_AO_DMA_SBF_OneWave/ao.c deleted file mode 100644 index 8231a17..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/6202/C6202_AO_DMA_SBF_OneWave/ao.c +++ /dev/null @@ -1,124 +0,0 @@ -/*----------------------------------------------------------------------------*/ -/* Company : ADLINK */ -/* Date : 2008/08/11 */ -/* */ -/* This sample simultaneously updates AO voltage to AO two channels with DMA. */ -/* For example, AO_Buffer[0] and AO_Buffer[1] are simultaneously updating to */ -/* AO Channel 0 and 1, then, AO_Buffer[2] and AO_Buffer[3] are simultaneously */ -/* updating to AO Channel 0 and 1, ..., etc. */ -/*----------------------------------------------------------------------------*/ -#include -#include -#include -#include -#include -#include "dask.h" - -#define WRITECHNCNT 2 -#define WRITECOUNT 8000 -#define BUFCOUNT WRITECOUNT*WRITECHNCNT -#define TIMEBASE 80000000 -#define UPDATEINTRV 10000 -#define PI 3.1415926 - -int main(int argc, char **argv) -{ - I16 card, err; - U16 card_num; - U16 ConfigCtrl = P6202_DA_WRSRC_Int; - U16 TrigCtrl = P6202_DA_TRGMOD_POST|P6202_DA_TRGSRC_SOFT; - U32 ReTrgCnt = 0; //Ignored in non-retrigger mode - U32 DLY1Cnt = 0; //Ignored in non-delay trigger mode - U32 DLY2Cnt = 0; //Ignored in non-delay2 mode - BOOLEAN AutoResetBuf = 1; //Auto reset buffer descriptor built in kernel - U32 W_Buffer[BUFCOUNT]; //Data buffer to be written - U32 Patten[BUFCOUNT]; - U32 WriteCount = WRITECOUNT; //AO write count - U16 BufferId; - U16 NumChans = WRITECHNCNT; //Numbers of channel to be written - U16 Chans[WRITECHNCNT] = {0, 1}; //AO channels - U32 Iterations = 1; //write once - U32 CHUI = UPDATEINTRV; - U16 definite = 1; - U32 vi; - U32 AccessCnt; - BOOLEAN Stopped; - U32 BufCount = BUFCOUNT; - - - for(vi=0; vi -# Microsoft Developer Studio Generated Build File, Format Version 6.00 -# ** DO NOT EDIT ** - -# TARGTYPE "Win32 (x86) Console Application" 0x0103 - -CFG=ao - Win32 Debug -!MESSAGE This is not a valid makefile. To build this project using NMAKE, -!MESSAGE use the Export Makefile command and run -!MESSAGE -!MESSAGE NMAKE /f "ao.mak". -!MESSAGE -!MESSAGE You can specify a configuration when running NMAKE -!MESSAGE by defining the macro CFG on the command line. For example: -!MESSAGE -!MESSAGE NMAKE /f "ao.mak" CFG="ao - Win32 Debug" -!MESSAGE -!MESSAGE Possible choices for configuration are: -!MESSAGE -!MESSAGE "ao - Win32 Release" (based on "Win32 (x86) Console Application") -!MESSAGE "ao - Win32 Debug" (based on "Win32 (x86) Console Application") -!MESSAGE - -# Begin Project -# PROP AllowPerConfigDependencies 0 -# PROP Scc_ProjName "" -# PROP Scc_LocalPath "" -CPP=cl.exe -RSC=rc.exe - -!IF "$(CFG)" == "ao - Win32 Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "Release" -# PROP BASE Intermediate_Dir "Release" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "" -# PROP Intermediate_Dir "Release" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c -# ADD CPP /nologo /W3 /GX /O2 /I "../../../include" /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c -# ADD BASE RSC /l 0x404 /d "NDEBUG" -# ADD RSC /l 0x404 /d "NDEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ../../../lib/pci-dask.lib /nologo /subsystem:console /machine:I386 - -!ELSEIF "$(CFG)" == "ao - Win32 Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "Debug" -# PROP BASE Intermediate_Dir "Debug" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "Debug" -# PROP Intermediate_Dir "Debug" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /GZ /c -# ADD CPP /nologo /W3 /Gm /GX /ZI /Od /I "../../../include" /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /GZ /c -# ADD BASE RSC /l 0x404 /d "_DEBUG" -# ADD RSC /l 0x404 /d "_DEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ../../../lib/pci-dask.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept - -!ENDIF - -# Begin Target - -# Name "ao - Win32 Release" -# Name "ao - Win32 Debug" -# Begin Group "Source Files" - -# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;idl;hpj;bat" -# Begin Source File - -SOURCE=.\ao.c -# End Source File -# End Group -# Begin Group "Header Files" - -# PROP Default_Filter "h;hpp;hxx;hm;inl" -# End Group -# Begin Group "Resource Files" - -# PROP Default_Filter "ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe" -# End Group -# End Target -# End Project diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/6202/C6202_AO_DMA_SBF_OneWave/ao.dsw b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/6202/C6202_AO_DMA_SBF_OneWave/ao.dsw deleted file mode 100644 index d7a54c7..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/6202/C6202_AO_DMA_SBF_OneWave/ao.dsw +++ /dev/null @@ -1,29 +0,0 @@ -Microsoft Developer Studio Workspace File, Format Version 6.00 -# WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE! - -############################################################################### - -Project: "ao"=.\ao.dsp - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ -}}} - -############################################################################### - -Global: - -Package=<5> -{{{ -}}} - -Package=<3> -{{{ -}}} - -############################################################################### - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/6202/C6202_AO_DMA_SBF_OneWave/ao.exe b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/6202/C6202_AO_DMA_SBF_OneWave/ao.exe deleted file mode 100644 index 54f10b4..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/6202/C6202_AO_DMA_SBF_OneWave/ao.exe and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/6202/C6202_AO_DMA_SBF_OneWave_AOENDEVENT/ao.c b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/6202/C6202_AO_DMA_SBF_OneWave_AOENDEVENT/ao.c deleted file mode 100644 index 7908ee0..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/6202/C6202_AO_DMA_SBF_OneWave_AOENDEVENT/ao.c +++ /dev/null @@ -1,129 +0,0 @@ -/*----------------------------------------------------------------------------*/ -/* Company : ADLINK */ -/* Date : 2008/06/18 */ -/* */ -/* This sample Updates AO voltage with DMA mode. */ -/* There are 2 AO channels in PCI-9222. You can use polling mode or DMA to */ -/* to update data to specified channels. */ -/*----------------------------------------------------------------------------*/ -#include -#include -#include -#include -#include -#include "dask.h" - -#define WRITECOUNT 8000 -#define TIMEBASE 80000000 -#define UPDATEINTRV 10000 -#define PI 3.1415926 - -I16 card, err; -U16 card_num; -U16 ConfigCtrl = P6202_DA_WRSRC_Int; -U16 TrigCtrl = P6202_DA_TRGMOD_POST|P6202_DA_TRGSRC_SOFT; -U32 ReTrgCnt = 0; -U32 DLY1Cnt = 0; -U32 DLY2Cnt = 0; -BOOLEAN AutoResetBuf = 1; -U32 W_Buffer0[WRITECOUNT]; -U32 Patten0[WRITECOUNT]; -U32 WriteCount = WRITECOUNT; -U16 BufferId0; -U16 Channel = 0; -U32 Iterations = 1; -U32 CHUI = UPDATEINTRV; -U16 definite = 1; -U32 vi; -U32 AccessCnt; -BOOLEAN Stopped; -U16 fStop = 0; - - -void AO_END_CALLBACK() -{ - printf("\n\n\nAO Done...\n"); - AO_AsyncClear(card, &AccessCnt, 0); - printf("%d data has been updated...\n", AccessCnt); - - fStop = 1; -} - - -int main(int argc, char **argv) -{ - for(vi=0; vi -# Microsoft Developer Studio Generated Build File, Format Version 6.00 -# ** DO NOT EDIT ** - -# TARGTYPE "Win32 (x86) Console Application" 0x0103 - -CFG=ao - Win32 Debug -!MESSAGE This is not a valid makefile. To build this project using NMAKE, -!MESSAGE use the Export Makefile command and run -!MESSAGE -!MESSAGE NMAKE /f "ao.mak". -!MESSAGE -!MESSAGE You can specify a configuration when running NMAKE -!MESSAGE by defining the macro CFG on the command line. For example: -!MESSAGE -!MESSAGE NMAKE /f "ao.mak" CFG="ao - Win32 Debug" -!MESSAGE -!MESSAGE Possible choices for configuration are: -!MESSAGE -!MESSAGE "ao - Win32 Release" (based on "Win32 (x86) Console Application") -!MESSAGE "ao - Win32 Debug" (based on "Win32 (x86) Console Application") -!MESSAGE - -# Begin Project -# PROP AllowPerConfigDependencies 0 -# PROP Scc_ProjName "" -# PROP Scc_LocalPath "" -CPP=cl.exe -RSC=rc.exe - -!IF "$(CFG)" == "ao - Win32 Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "Release" -# PROP BASE Intermediate_Dir "Release" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "" -# PROP Intermediate_Dir "Release" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c -# ADD CPP /nologo /W3 /GX /O2 /I "../../../include" /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c -# ADD BASE RSC /l 0x404 /d "NDEBUG" -# ADD RSC /l 0x404 /d "NDEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ../../../lib/pci-dask.lib /nologo /subsystem:console /machine:I386 - -!ELSEIF "$(CFG)" == "ao - Win32 Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "Debug" -# PROP BASE Intermediate_Dir "Debug" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "Debug" -# PROP Intermediate_Dir "Debug" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /GZ /c -# ADD CPP /nologo /W3 /Gm /GX /ZI /Od /I "../../../include" /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /GZ /c -# ADD BASE RSC /l 0x404 /d "_DEBUG" -# ADD RSC /l 0x404 /d "_DEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ../../../lib/pci-dask.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept - -!ENDIF - -# Begin Target - -# Name "ao - Win32 Release" -# Name "ao - Win32 Debug" -# Begin Group "Source Files" - -# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;idl;hpj;bat" -# Begin Source File - -SOURCE=.\ao.c -# End Source File -# End Group -# Begin Group "Header Files" - -# PROP Default_Filter "h;hpp;hxx;hm;inl" -# End Group -# Begin Group "Resource Files" - -# PROP Default_Filter "ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe" -# End Group -# End Target -# End Project diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/6202/C6202_AO_DMA_SBF_OneWave_AOENDEVENT/ao.dsw b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/6202/C6202_AO_DMA_SBF_OneWave_AOENDEVENT/ao.dsw deleted file mode 100644 index d7a54c7..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/6202/C6202_AO_DMA_SBF_OneWave_AOENDEVENT/ao.dsw +++ /dev/null @@ -1,29 +0,0 @@ -Microsoft Developer Studio Workspace File, Format Version 6.00 -# WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE! - -############################################################################### - -Project: "ao"=.\ao.dsp - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ -}}} - -############################################################################### - -Global: - -Package=<5> -{{{ -}}} - -Package=<3> -{{{ -}}} - -############################################################################### - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/6202/C6202_AO_DMA_SBF_OneWave_AOENDEVENT/ao.exe b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/6202/C6202_AO_DMA_SBF_OneWave_AOENDEVENT/ao.exe deleted file mode 100644 index 54ecc63..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/6202/C6202_AO_DMA_SBF_OneWave_AOENDEVENT/ao.exe and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/6202/C6202_AO_DMA_SBF_OneWave_ExtConvSrc/ao.c b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/6202/C6202_AO_DMA_SBF_OneWave_ExtConvSrc/ao.c deleted file mode 100644 index 9367f87..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/6202/C6202_AO_DMA_SBF_OneWave_ExtConvSrc/ao.c +++ /dev/null @@ -1,111 +0,0 @@ -/*----------------------------------------------------------------------------*/ -/* Company : ADLINK */ -/* Date : 2008/09/25 */ -/* */ -/* This sample updates AO voltage with external conversion source. */ -/* There are 2 AO channels in PCI-9222. You can use polling mode or DMA to */ -/* to update data to specified channels. */ -/*----------------------------------------------------------------------------*/ -#include -#include -#include -#include -#include -#include "dask.h" - -#define WRITECOUNT 8000 -#define PI 3.1415926 - - -int main(int argc, char **argv) -{ - I16 card, err; - U16 card_num; - U16 ConfigCtrl = P6202_DA_WRSRC_AFI0; - U16 TrigCtrl = 0; //Dose not support any trigger mode/source in external conversion source mode - U32 ReTrgCnt = 0; - U32 DLY1Cnt = 0; - U32 DLY2Cnt = 0; - BOOLEAN AutoResetBuf = 1; - U32 W_Buffer[WRITECOUNT]; - U32 WriteCount = WRITECOUNT; - U16 BufferId; - U16 Channel = 0; - U32 Iterations = 1; //Only support 1 or infinite iterations in external conversion source mode - U32 CHUI = 0; //Ignore in external conversion source mode - U16 definite = 1; //Only support definite mode in external conversion source mode - U16 SyncMode = ASYNCH_OP; //Only support ASYNC. mode in external conversion source mode - U32 vi; - U32 AccessCnt; - BOOLEAN Stopped; - - for(vi=0; vi -# Microsoft Developer Studio Generated Build File, Format Version 6.00 -# ** DO NOT EDIT ** - -# TARGTYPE "Win32 (x86) Console Application" 0x0103 - -CFG=ao - Win32 Debug -!MESSAGE This is not a valid makefile. To build this project using NMAKE, -!MESSAGE use the Export Makefile command and run -!MESSAGE -!MESSAGE NMAKE /f "ao.mak". -!MESSAGE -!MESSAGE You can specify a configuration when running NMAKE -!MESSAGE by defining the macro CFG on the command line. For example: -!MESSAGE -!MESSAGE NMAKE /f "ao.mak" CFG="ao - Win32 Debug" -!MESSAGE -!MESSAGE Possible choices for configuration are: -!MESSAGE -!MESSAGE "ao - Win32 Release" (based on "Win32 (x86) Console Application") -!MESSAGE "ao - Win32 Debug" (based on "Win32 (x86) Console Application") -!MESSAGE - -# Begin Project -# PROP AllowPerConfigDependencies 0 -# PROP Scc_ProjName "" -# PROP Scc_LocalPath "" -CPP=cl.exe -RSC=rc.exe - -!IF "$(CFG)" == "ao - Win32 Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "Release" -# PROP BASE Intermediate_Dir "Release" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "" -# PROP Intermediate_Dir "Release" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c -# ADD CPP /nologo /W3 /GX /O2 /I "../../../include" /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c -# ADD BASE RSC /l 0x404 /d "NDEBUG" -# ADD RSC /l 0x404 /d "NDEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ../../../lib/pci-dask.lib /nologo /subsystem:console /machine:I386 - -!ELSEIF "$(CFG)" == "ao - Win32 Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "Debug" -# PROP BASE Intermediate_Dir "Debug" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "Debug" -# PROP Intermediate_Dir "Debug" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /GZ /c -# ADD CPP /nologo /W3 /Gm /GX /ZI /Od /I "../../../include" /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /GZ /c -# ADD BASE RSC /l 0x404 /d "_DEBUG" -# ADD RSC /l 0x404 /d "_DEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ../../../lib/pci-dask.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept - -!ENDIF - -# Begin Target - -# Name "ao - Win32 Release" -# Name "ao - Win32 Debug" -# Begin Group "Source Files" - -# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;idl;hpj;bat" -# Begin Source File - -SOURCE=.\ao.c -# End Source File -# End Group -# Begin Group "Header Files" - -# PROP Default_Filter "h;hpp;hxx;hm;inl" -# End Group -# Begin Group "Resource Files" - -# PROP Default_Filter "ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe" -# End Group -# End Target -# End Project diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/6202/C6202_AO_DMA_SBF_OneWave_ExtConvSrc/ao.dsw b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/6202/C6202_AO_DMA_SBF_OneWave_ExtConvSrc/ao.dsw deleted file mode 100644 index d7a54c7..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/6202/C6202_AO_DMA_SBF_OneWave_ExtConvSrc/ao.dsw +++ /dev/null @@ -1,29 +0,0 @@ -Microsoft Developer Studio Workspace File, Format Version 6.00 -# WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE! - -############################################################################### - -Project: "ao"=.\ao.dsp - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ -}}} - -############################################################################### - -Global: - -Package=<5> -{{{ -}}} - -Package=<3> -{{{ -}}} - -############################################################################### - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/6202/C6202_AO_DMA_SBF_OneWave_ExtConvSrc/ao.exe b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/6202/C6202_AO_DMA_SBF_OneWave_ExtConvSrc/ao.exe deleted file mode 100644 index acde01a..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/6202/C6202_AO_DMA_SBF_OneWave_ExtConvSrc/ao.exe and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/6202/C6202_AO_Polling/ao.c b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/6202/C6202_AO_Polling/ao.c deleted file mode 100644 index 6581666..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/6202/C6202_AO_Polling/ao.c +++ /dev/null @@ -1,64 +0,0 @@ -/*----------------------------------------------------------------------------*/ -/* Company : ADLINK */ -/* Date : 2008/07/25 */ -/* */ -/* This sample Updates AO voltage with polling mode. */ -/* There are 2 AO channels in PCI-9222. You can use polling mode or DMA to */ -/* to update data to specified channels. */ -/*----------------------------------------------------------------------------*/ -#include -#include -#include -#include -#include "dask.h" - -int main(int argc, char **argv) -{ - I16 card, err; - U16 card_num; - U16 Channel; - F64 Voltage; - U8 fStop; - - printf("This sample updates voltage to AO Channel.\n"); - printf("Card Number? "); - scanf(" %hd", &card_num); - - card = Register_Card(PCI_6202, card_num); - if(card<0){ - printf("Register_Card Error: %d\n", card); - exit(1); - } - - do{ - system("cls"); - printf("AO Channel Number to be update: [0 or 1] "); - scanf(" %hd", &Channel); - if(Channel>1){ - printf("Invalid Channel Number... Set to Channel 0\n"); - Channel = 0; - } - printf("AO voltage to be updated: [-10 ~ 10] "); - scanf(" %lf", &Voltage); - if(Voltage>10){ - printf("Out of range, forcedly ouput 10V\n"); - Voltage = 10; - } - if(Voltage<-10){ - printf("Out of range, forcedly ouput -10V\n"); - Voltage = -10; - } - - err = AO_VWriteChannel(card, Channel, Voltage); - if(err<0){ - printf("AO_VWriteChannel Error: %d\n", err); - Release_Card(card); - exit(1); - } - printf("\n(C)ontinue? "); - fStop = getch(); - }while((fStop=='C')||(fStop=='c')); - - Release_Card(card); - return 0; -} diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/6202/C6202_AO_Polling/ao.dsp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/6202/C6202_AO_Polling/ao.dsp deleted file mode 100644 index 17b98a6..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/6202/C6202_AO_Polling/ao.dsp +++ /dev/null @@ -1,102 +0,0 @@ -# Microsoft Developer Studio Project File - Name="ao" - Package Owner=<4> -# Microsoft Developer Studio Generated Build File, Format Version 6.00 -# ** DO NOT EDIT ** - -# TARGTYPE "Win32 (x86) Console Application" 0x0103 - -CFG=ao - Win32 Debug -!MESSAGE This is not a valid makefile. To build this project using NMAKE, -!MESSAGE use the Export Makefile command and run -!MESSAGE -!MESSAGE NMAKE /f "ao.mak". -!MESSAGE -!MESSAGE You can specify a configuration when running NMAKE -!MESSAGE by defining the macro CFG on the command line. For example: -!MESSAGE -!MESSAGE NMAKE /f "ao.mak" CFG="ao - Win32 Debug" -!MESSAGE -!MESSAGE Possible choices for configuration are: -!MESSAGE -!MESSAGE "ao - Win32 Release" (based on "Win32 (x86) Console Application") -!MESSAGE "ao - Win32 Debug" (based on "Win32 (x86) Console Application") -!MESSAGE - -# Begin Project -# PROP AllowPerConfigDependencies 0 -# PROP Scc_ProjName "" -# PROP Scc_LocalPath "" -CPP=cl.exe -RSC=rc.exe - -!IF "$(CFG)" == "ao - Win32 Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "Release" -# PROP BASE Intermediate_Dir "Release" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "" -# PROP Intermediate_Dir "Release" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c -# ADD CPP /nologo /W3 /GX /O2 /I "../../../include" /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c -# ADD BASE RSC /l 0x404 /d "NDEBUG" -# ADD RSC /l 0x404 /d "NDEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ../../../lib/pci-dask.lib /nologo /subsystem:console /machine:I386 - -!ELSEIF "$(CFG)" == "ao - Win32 Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "Debug" -# PROP BASE Intermediate_Dir "Debug" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "Debug" -# PROP Intermediate_Dir "Debug" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /GZ /c -# ADD CPP /nologo /W3 /Gm /GX /ZI /Od /I "../../../include" /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /GZ /c -# ADD BASE RSC /l 0x404 /d "_DEBUG" -# ADD RSC /l 0x404 /d "_DEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ../../../lib/pci-dask.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept - -!ENDIF - -# Begin Target - -# Name "ao - Win32 Release" -# Name "ao - Win32 Debug" -# Begin Group "Source Files" - -# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;idl;hpj;bat" -# Begin Source File - -SOURCE=.\ao.c -# End Source File -# End Group -# Begin Group "Header Files" - -# PROP Default_Filter "h;hpp;hxx;hm;inl" -# End Group -# Begin Group "Resource Files" - -# PROP Default_Filter "ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe" -# End Group -# End Target -# End Project diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/6202/C6202_AO_Polling/ao.dsw b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/6202/C6202_AO_Polling/ao.dsw deleted file mode 100644 index d7a54c7..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/6202/C6202_AO_Polling/ao.dsw +++ /dev/null @@ -1,29 +0,0 @@ -Microsoft Developer Studio Workspace File, Format Version 6.00 -# WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE! - -############################################################################### - -Project: "ao"=.\ao.dsp - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ -}}} - -############################################################################### - -Global: - -Package=<5> -{{{ -}}} - -Package=<3> -{{{ -}}} - -############################################################################### - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/6202/C6202_AO_Polling/ao.exe b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/6202/C6202_AO_Polling/ao.exe deleted file mode 100644 index 7589a54..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/6202/C6202_AO_Polling/ao.exe and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/6202/C6202_Encoder_mode15_X4AB/encoder.c b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/6202/C6202_Encoder_mode15_X4AB/encoder.c deleted file mode 100644 index e67c6c0..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/6202/C6202_Encoder_mode15_X4AB/encoder.c +++ /dev/null @@ -1,86 +0,0 @@ -/*----------------------------------------------------------------------------*/ -/* Company : ADLINK */ -/* Date : 2008/08/09 */ -/* */ -/* This sample performs X1 AB phase encode. */ -/*----------------------------------------------------------------------------*/ -#include -#include -#include -#include -#include "dask.h" - - -int main(int argc, char **argv) -{ - I16 card, err; - U16 card_num; - U16 GCtr; - U16 Mode = x4_AB_Phase_Encoder; - U16 SrcCtrl = 0; //Not used in encoder - U16 PolCtrl = 0; //Not used in encoder - U32 LReg1_Val = 0; //Not used in encoder - U32 LReg2_Val = 0; //Not used in encoder - U32 RD_Value; - int i = 0; - - printf("This sample performs x1 AB phase mode.\n"); - printf("Card Number? "); - scanf(" %hd", &card_num); - - card = Register_Card(PCI_6202, card_num); - if(card<0){ - printf("Register_Card Error: %d\n", card); - exit(1); - } - - printf("Encoder Number? "); - scanf(" %hd", &GCtr); - GCtr = (GCtr==2)? P6202_ENCODER2:(GCtr==1)? P6202_ENCODER1:P6202_ENCODER0; - - /*Clear Encoder*/ - err = GPTC_Clear(card, GCtr); - if(err<0){ - printf("GPTC_Clear Error: %d\n", err); - goto ERR_RET; - } - - /*Setup Encoder*/ - err = GPTC_Setup(card, GCtr, Mode, SrcCtrl, PolCtrl, LReg1_Val, LReg2_Val); - if(err<0){ - printf("GPTC_Setup Error: %d\n", err); - goto ERR_RET; - } - - /*Enable Encoder*/ - printf("Press any key to enable counter..."); - getch(); - err = GPTC_Control(card, GCtr, IntENABLE, 1); - if(err<0){ - printf("GPTC_Control(IntENABLE) Error: %d\n", err); - goto ERR_RET; - } - - printf("\n\nYou can press any key to stop...\n"); - do{ - /*Read Encoder*/ - err = GPTC_Read(card, GCtr, &RD_Value); - if(err<0){ - printf("GPTC_Read Error: %d\n", err); - goto ERR_RET2; - } - printf("Encoder%d Value: %7d\r", GCtr-2, ((int)(RD_Value<<13))/8192); - Sleep(100); - }while(!kbhit());getch(); - printf("Encoder%d Value: %7d\r", GCtr-2, ((int)(RD_Value<<13))/8192); - -ERR_RET2: - GPTC_Control(card, GCtr, IntENABLE, 0); -ERR_RET: - GPTC_Clear(card, GCtr); - Release_Card(card); - - printf("\n\nPress any key to exit..."); - getch(); - return 0; -} diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/6202/C6202_Encoder_mode15_X4AB/encoder.dsp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/6202/C6202_Encoder_mode15_X4AB/encoder.dsp deleted file mode 100644 index 2571d54..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/6202/C6202_Encoder_mode15_X4AB/encoder.dsp +++ /dev/null @@ -1,102 +0,0 @@ -# Microsoft Developer Studio Project File - Name="encoder" - Package Owner=<4> -# Microsoft Developer Studio Generated Build File, Format Version 6.00 -# ** DO NOT EDIT ** - -# TARGTYPE "Win32 (x86) Console Application" 0x0103 - -CFG=encoder - Win32 Debug -!MESSAGE This is not a valid makefile. To build this project using NMAKE, -!MESSAGE use the Export Makefile command and run -!MESSAGE -!MESSAGE NMAKE /f "encoder.mak". -!MESSAGE -!MESSAGE You can specify a configuration when running NMAKE -!MESSAGE by defining the macro CFG on the command line. For example: -!MESSAGE -!MESSAGE NMAKE /f "encoder.mak" CFG="encoder - Win32 Debug" -!MESSAGE -!MESSAGE Possible choices for configuration are: -!MESSAGE -!MESSAGE "encoder - Win32 Release" (based on "Win32 (x86) Console Application") -!MESSAGE "encoder - Win32 Debug" (based on "Win32 (x86) Console Application") -!MESSAGE - -# Begin Project -# PROP AllowPerConfigDependencies 0 -# PROP Scc_ProjName "" -# PROP Scc_LocalPath "" -CPP=cl.exe -RSC=rc.exe - -!IF "$(CFG)" == "encoder - Win32 Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "Release" -# PROP BASE Intermediate_Dir "Release" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "" -# PROP Intermediate_Dir "Release" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c -# ADD CPP /nologo /W3 /GX /O2 /I "../../../include" /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c -# ADD BASE RSC /l 0x404 /d "NDEBUG" -# ADD RSC /l 0x404 /d "NDEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ../../../lib/pci-dask.lib /nologo /subsystem:console /machine:I386 - -!ELSEIF "$(CFG)" == "encoder - Win32 Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "Debug" -# PROP BASE Intermediate_Dir "Debug" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "Debug" -# PROP Intermediate_Dir "Debug" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /GZ /c -# ADD CPP /nologo /W3 /Gm /GX /ZI /Od /I "../../../include" /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /GZ /c -# ADD BASE RSC /l 0x404 /d "_DEBUG" -# ADD RSC /l 0x404 /d "_DEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ../../../lib/pci-dask.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept - -!ENDIF - -# Begin Target - -# Name "encoder - Win32 Release" -# Name "encoder - Win32 Debug" -# Begin Group "Source Files" - -# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;idl;hpj;bat" -# Begin Source File - -SOURCE=.\encoder.c -# End Source File -# End Group -# Begin Group "Header Files" - -# PROP Default_Filter "h;hpp;hxx;hm;inl" -# End Group -# Begin Group "Resource Files" - -# PROP Default_Filter "ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe" -# End Group -# End Target -# End Project diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/6202/C6202_Encoder_mode15_X4AB/encoder.dsw b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/6202/C6202_Encoder_mode15_X4AB/encoder.dsw deleted file mode 100644 index e378a87..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/6202/C6202_Encoder_mode15_X4AB/encoder.dsw +++ /dev/null @@ -1,29 +0,0 @@ -Microsoft Developer Studio Workspace File, Format Version 6.00 -# WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE! - -############################################################################### - -Project: "encoder"=.\encoder.dsp - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ -}}} - -############################################################################### - -Global: - -Package=<5> -{{{ -}}} - -Package=<3> -{{{ -}}} - -############################################################################### - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/6202/C6202_Encoder_mode15_X4AB/encoder.exe b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/6202/C6202_Encoder_mode15_X4AB/encoder.exe deleted file mode 100644 index 3dad202..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/6202/C6202_Encoder_mode15_X4AB/encoder.exe and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/6202/C6202_Encoder_mode15_X4AB_Event/encoder.c b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/6202/C6202_Encoder_mode15_X4AB_Event/encoder.c deleted file mode 100644 index 3f4889d..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/6202/C6202_Encoder_mode15_X4AB_Event/encoder.c +++ /dev/null @@ -1,144 +0,0 @@ -/*----------------------------------------------------------------------------*/ -/* Company : ADLINK */ -/* Date : 2008/08/11 */ -/* */ -/* This sample performs X1 AB phase encode with position event. */ -/* GPTC_EventSetup() can be used to setup encoder position configuration. */ -/* PCI-922x will generate a pulse output to GPO4/GPO5 (Encoder0/Encoder1) */ -/* or generate an interrupt local interrupt to do the callback Function */ -/* set by GPTC_EventCallBack() while multiples of the set encode position */ -/* reachs. */ -/*----------------------------------------------------------------------------*/ -#include -#include -#include -#include -#include "dask.h" - -U32 EPT0_Count = 0; -U32 EPT1_Count = 0; -U32 EPT2_Count = 0; - -/*Call Back Function of Encoder0 Encode Position*/ -void EPT0_CallBack() -{ - EPT0_Count++; -} - -/*Call Back Function of Encoder1 Encode Position*/ -void EPT1_CallBack() -{ - EPT1_Count++; -} - -/*Call Back Function of Encoder1 Encode Position*/ -void EPT2_CallBack() -{ - EPT2_Count++; -} - -int main(int argc, char **argv) -{ - I16 card, err; - U16 card_num; - U16 GCtr; - U16 Mode = x4_AB_Phase_Encoder; - U16 SrcCtrl = 0; //Not used in encoder - U16 PolCtrl = 0; //Not used in encoder - U32 LReg1_Val = 0; //Not used in encoder - U32 LReg2_Val = 0; //Not used in encoder - U16 EventMode = P6202_EVT_MOD_EPT; - U16 EventCtrl = P6202_EPT_PULWIDTH_200ms|P6202_EPT_TRGOUT_AFI|P6202_EPT_TRGOUT_CALLBACK; - U32 LVal_1 = 100; //Position steps - U32 LVal_2 = 0; //Not used - I16 EventType; - U32 callbackAddr; - U32 RD_Value; - int i = 0; - - printf("This sample performs x1 AB phase mode with position event.\n"); - printf("A pulse will be generated to GPO4/GPO5 (Encoder0/Encoder1)\n"); - printf("and the set callback function will be performed while multiples\n"); - printf("of the set position reachs.\n"); - - printf("Card Number? "); - scanf(" %hd", &card_num); - card = Register_Card(PCI_6202, card_num); - if(card<0){ - printf("Register_Card Error: %d\n", card); - exit(1); - } - - printf("Encoder Number? "); - scanf(" %hd", &GCtr); - GCtr = (GCtr==2)? P6202_ENCODER2:(GCtr==1)? P6202_ENCODER1:P6202_ENCODER0; - - /*Clear Encoder*/ - err = GPTC_Clear(card, GCtr); - if(err<0){ - printf("GPTC_Clear Error: %d\n", err); - goto ERR_RET; - } - - /*Setup Encoder*/ - err = GPTC_Setup(card, GCtr, Mode, SrcCtrl, PolCtrl, LReg1_Val, LReg2_Val); - if(err<0){ - printf("GPTC_Setup Error: %d\n", err); - goto ERR_RET; - } - - /*Encoder Event Setup*/ - err = GPTC_EventSetup(card, GCtr, EventMode, EventCtrl, LVal_1, LVal_2); - if(err<0){ - printf("GPTC_EventSetup Error: %d\n", err); - goto ERR_RET; - } - - EventType = (GCtr==P6202_ENCODER2)? P6202_EVT_TYPE_EPT2:(GCtr==P6202_ENCODER1)? P6202_EVT_TYPE_EPT1:P6202_EVT_TYPE_EPT0; - callbackAddr = (U32)((GCtr==P6202_ENCODER2)? EPT2_CallBack:(GCtr==P6202_ENCODER1)? EPT1_CallBack:EPT0_CallBack); - /*Setup EventCallBack for Encoder Position*/ - err = GPTC_EventCallBack(card, 1, EventType, callbackAddr); - if(err<0){ - printf("GPTC_EventCallBack Error: %d\n", err); - goto ERR_RET; - } - - /*Enable Encoder*/ - printf("Press any key to enable counter..."); - getch(); - err = GPTC_Control(card, GCtr, IntENABLE, 1); - if(err<0){ - printf("GPTC_Control(IntENABLE) Error: %d\n", err); - goto ERR_RET; - } - - printf("\n\nYou can press any key to stop...\n"); - do{ - /*Read Encoder*/ - err = GPTC_Read(card, GCtr, &RD_Value); - if(err<0){ - printf("GPTC_Read Error: %d\n", err); - goto ERR_RET; - } - printf("Encoder%d Value: %7d\r", GCtr-2, ((int)(RD_Value<<13))/8192); - Sleep(100); - }while(!kbhit());getch(); - printf("Encoder%d Value: %7d\r", GCtr-2, ((int)(RD_Value<<13))/8192); - - if(GCtr==P6202_ENCODER0) - printf("Total EPT0 Event Count: %d\n", EPT0_Count); - else if(GCtr==P6202_ENCODER1) - printf("Total EPT1 Event Count: %d\n", EPT1_Count); - else - printf("Total EPT2 Event Count: %d\n", EPT2_Count); - -ERR_RET: - EventType = (GCtr==P6202_ENCODER2)? P6202_EVT_TYPE_EPT2:(GCtr==P6202_ENCODER1)? P6202_EVT_TYPE_EPT1:P6202_EVT_TYPE_EPT0; - GPTC_EventCallBack(card, 0, EventType, (U32)NULL); - GPTC_Clear(card, GCtr); - Release_Card(card); - - printf("\n\nPress any key to exit..."); - getch(); - return 0; -} diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/6202/C6202_Encoder_mode15_X4AB_Event/encoder.dsp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/6202/C6202_Encoder_mode15_X4AB_Event/encoder.dsp deleted file mode 100644 index 2571d54..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/6202/C6202_Encoder_mode15_X4AB_Event/encoder.dsp +++ /dev/null @@ -1,102 +0,0 @@ -# Microsoft Developer Studio Project File - Name="encoder" - Package Owner=<4> -# Microsoft Developer Studio Generated Build File, Format Version 6.00 -# ** DO NOT EDIT ** - -# TARGTYPE "Win32 (x86) Console Application" 0x0103 - -CFG=encoder - Win32 Debug -!MESSAGE This is not a valid makefile. To build this project using NMAKE, -!MESSAGE use the Export Makefile command and run -!MESSAGE -!MESSAGE NMAKE /f "encoder.mak". -!MESSAGE -!MESSAGE You can specify a configuration when running NMAKE -!MESSAGE by defining the macro CFG on the command line. For example: -!MESSAGE -!MESSAGE NMAKE /f "encoder.mak" CFG="encoder - Win32 Debug" -!MESSAGE -!MESSAGE Possible choices for configuration are: -!MESSAGE -!MESSAGE "encoder - Win32 Release" (based on "Win32 (x86) Console Application") -!MESSAGE "encoder - Win32 Debug" (based on "Win32 (x86) Console Application") -!MESSAGE - -# Begin Project -# PROP AllowPerConfigDependencies 0 -# PROP Scc_ProjName "" -# PROP Scc_LocalPath "" -CPP=cl.exe -RSC=rc.exe - -!IF "$(CFG)" == "encoder - Win32 Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "Release" -# PROP BASE Intermediate_Dir "Release" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "" -# PROP Intermediate_Dir "Release" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c -# ADD CPP /nologo /W3 /GX /O2 /I "../../../include" /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c -# ADD BASE RSC /l 0x404 /d "NDEBUG" -# ADD RSC /l 0x404 /d "NDEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ../../../lib/pci-dask.lib /nologo /subsystem:console /machine:I386 - -!ELSEIF "$(CFG)" == "encoder - Win32 Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "Debug" -# PROP BASE Intermediate_Dir "Debug" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "Debug" -# PROP Intermediate_Dir "Debug" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /GZ /c -# ADD CPP /nologo /W3 /Gm /GX /ZI /Od /I "../../../include" /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /GZ /c -# ADD BASE RSC /l 0x404 /d "_DEBUG" -# ADD RSC /l 0x404 /d "_DEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ../../../lib/pci-dask.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept - -!ENDIF - -# Begin Target - -# Name "encoder - Win32 Release" -# Name "encoder - Win32 Debug" -# Begin Group "Source Files" - -# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;idl;hpj;bat" -# Begin Source File - -SOURCE=.\encoder.c -# End Source File -# End Group -# Begin Group "Header Files" - -# PROP Default_Filter "h;hpp;hxx;hm;inl" -# End Group -# Begin Group "Resource Files" - -# PROP Default_Filter "ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe" -# End Group -# End Target -# End Project diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/6202/C6202_Encoder_mode15_X4AB_Event/encoder.dsw b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/6202/C6202_Encoder_mode15_X4AB_Event/encoder.dsw deleted file mode 100644 index e378a87..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/6202/C6202_Encoder_mode15_X4AB_Event/encoder.dsw +++ /dev/null @@ -1,29 +0,0 @@ -Microsoft Developer Studio Workspace File, Format Version 6.00 -# WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE! - -############################################################################### - -Project: "encoder"=.\encoder.dsp - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ -}}} - -############################################################################### - -Global: - -Package=<5> -{{{ -}}} - -Package=<3> -{{{ -}}} - -############################################################################### - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/6202/C6202_Encoder_mode15_X4AB_Event/encoder.exe b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/6202/C6202_Encoder_mode15_X4AB_Event/encoder.exe deleted file mode 100644 index dc68868..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/6202/C6202_Encoder_mode15_X4AB_Event/encoder.exe and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/6202/CAOOnePoint/CAOOnePoint.aps b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/6202/CAOOnePoint/CAOOnePoint.aps deleted file mode 100644 index 77de63c..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/6202/CAOOnePoint/CAOOnePoint.aps and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/6202/CAOOnePoint/CAOOnePoint.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/6202/CAOOnePoint/CAOOnePoint.cpp deleted file mode 100644 index afab72c..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/6202/CAOOnePoint/CAOOnePoint.cpp +++ /dev/null @@ -1,74 +0,0 @@ -// CAOOnePoint.cpp : Defines the class behaviors for the application. -// - -#include "stdafx.h" -#include "CAOOnePoint.h" -#include "CAOOnePointDlg.h" - -#ifdef _DEBUG -#define new DEBUG_NEW -#undef THIS_FILE -static char THIS_FILE[] = __FILE__; -#endif - -///////////////////////////////////////////////////////////////////////////// -// CCAOOnePointApp - -BEGIN_MESSAGE_MAP(CCAOOnePointApp, CWinApp) - //{{AFX_MSG_MAP(CCAOOnePointApp) - // NOTE - the ClassWizard will add and remove mapping macros here. - // DO NOT EDIT what you see in these blocks of generated code! - //}}AFX_MSG - ON_COMMAND(ID_HELP, CWinApp::OnHelp) -END_MESSAGE_MAP() - -///////////////////////////////////////////////////////////////////////////// -// CCAOOnePointApp construction - -CCAOOnePointApp::CCAOOnePointApp() -{ - // TODO: add construction code here, - // Place all significant initialization in InitInstance -} - -///////////////////////////////////////////////////////////////////////////// -// The one and only CCAOOnePointApp object - -CCAOOnePointApp theApp; - -///////////////////////////////////////////////////////////////////////////// -// CCAOOnePointApp initialization - -BOOL CCAOOnePointApp::InitInstance() -{ - AfxEnableControlContainer(); - - // Standard initialization - // If you are not using these features and wish to reduce the size - // of your final executable, you should remove from the following - // the specific initialization routines you do not need. - -#ifdef _AFXDLL - Enable3dControls(); // Call this when using MFC in a shared DLL -#else - Enable3dControlsStatic(); // Call this when linking to MFC statically -#endif - - CCAOOnePointDlg dlg; - m_pMainWnd = &dlg; - int nResponse = dlg.DoModal(); - if (nResponse == IDOK) - { - // TODO: Place code here to handle when the dialog is - // dismissed with OK - } - else if (nResponse == IDCANCEL) - { - // TODO: Place code here to handle when the dialog is - // dismissed with Cancel - } - - // Since the dialog has been closed, return FALSE so that we exit the - // application, rather than start the application's message pump. - return FALSE; -} diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/6202/CAOOnePoint/CAOOnePoint.dsp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/6202/CAOOnePoint/CAOOnePoint.dsp deleted file mode 100644 index 98b4c7e..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/6202/CAOOnePoint/CAOOnePoint.dsp +++ /dev/null @@ -1,154 +0,0 @@ -# Microsoft Developer Studio Project File - Name="CAOOnePoint" - Package Owner=<4> -# Microsoft Developer Studio Generated Build File, Format Version 6.00 -# ** DO NOT EDIT ** - -# TARGTYPE "Win32 (x86) Application" 0x0101 - -CFG=CAOOnePoint - Win32 Debug -!MESSAGE This is not a valid makefile. To build this project using NMAKE, -!MESSAGE use the Export Makefile command and run -!MESSAGE -!MESSAGE NMAKE /f "CAOOnePoint.mak". -!MESSAGE -!MESSAGE You can specify a configuration when running NMAKE -!MESSAGE by defining the macro CFG on the command line. For example: -!MESSAGE -!MESSAGE NMAKE /f "CAOOnePoint.mak" CFG="CAOOnePoint - Win32 Debug" -!MESSAGE -!MESSAGE Possible choices for configuration are: -!MESSAGE -!MESSAGE "CAOOnePoint - Win32 Release" (based on "Win32 (x86) Application") -!MESSAGE "CAOOnePoint - Win32 Debug" (based on "Win32 (x86) Application") -!MESSAGE - -# Begin Project -# PROP AllowPerConfigDependencies 0 -# PROP Scc_ProjName "" -# PROP Scc_LocalPath "" -CPP=cl.exe -MTL=midl.exe -RSC=rc.exe - -!IF "$(CFG)" == "CAOOnePoint - Win32 Release" - -# PROP BASE Use_MFC 6 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "Release" -# PROP BASE Intermediate_Dir "Release" -# PROP BASE Target_Dir "" -# PROP Use_MFC 6 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "Release" -# PROP Intermediate_Dir "Release" -# PROP Target_Dir "" -# ADD BASE CPP /nologo /MD /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /D "_AFXDLL" /Yu"stdafx.h" /FD /c -# ADD CPP /nologo /MD /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /D "_AFXDLL" /D "_MBCS" /Yu"stdafx.h" /FD /c -# ADD BASE MTL /nologo /D "NDEBUG" /mktyplib203 /win32 -# ADD MTL /nologo /D "NDEBUG" /mktyplib203 /win32 -# ADD BASE RSC /l 0x404 /d "NDEBUG" /d "_AFXDLL" -# ADD RSC /l 0x404 /d "NDEBUG" /d "_AFXDLL" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 /nologo /subsystem:windows /machine:I386 -# ADD LINK32 /nologo /subsystem:windows /machine:I386 - -!ELSEIF "$(CFG)" == "CAOOnePoint - Win32 Debug" - -# PROP BASE Use_MFC 6 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "Debug" -# PROP BASE Intermediate_Dir "Debug" -# PROP BASE Target_Dir "" -# PROP Use_MFC 6 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "Debug" -# PROP Intermediate_Dir "Debug" -# PROP Target_Dir "" -# ADD BASE CPP /nologo /MDd /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /D "_AFXDLL" /Yu"stdafx.h" /FD /GZ /c -# ADD CPP /nologo /MDd /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /D "_AFXDLL" /D "_MBCS" /FR /Yu"stdafx.h" /FD /GZ /c -# ADD BASE MTL /nologo /D "_DEBUG" /mktyplib203 /win32 -# ADD MTL /nologo /D "_DEBUG" /mktyplib203 /win32 -# ADD BASE RSC /l 0x404 /d "_DEBUG" /d "_AFXDLL" -# ADD RSC /l 0x404 /d "_DEBUG" /d "_AFXDLL" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 /nologo /subsystem:windows /debug /machine:I386 /pdbtype:sept -# ADD LINK32 /nologo /subsystem:windows /debug /machine:I386 /pdbtype:sept - -!ENDIF - -# Begin Target - -# Name "CAOOnePoint - Win32 Release" -# Name "CAOOnePoint - Win32 Debug" -# Begin Group "Source Files" - -# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;idl;hpj;bat" -# Begin Source File - -SOURCE=.\CAOOnePoint.cpp -# End Source File -# Begin Source File - -SOURCE=.\CAOOnePoint.rc -# End Source File -# Begin Source File - -SOURCE=.\CAOOnePointDlg.cpp -# End Source File -# Begin Source File - -SOURCE=.\StdAfx.cpp -# ADD CPP /Yc"stdafx.h" -# End Source File -# End Group -# Begin Group "Header Files" - -# PROP Default_Filter "h;hpp;hxx;hm;inl" -# Begin Source File - -SOURCE=.\CAOOnePoint.h -# End Source File -# Begin Source File - -SOURCE=.\CAOOnePointDlg.h -# End Source File -# Begin Source File - -SOURCE=..\..\..\Include\Dask.h -# End Source File -# Begin Source File - -SOURCE=.\Resource.h -# End Source File -# Begin Source File - -SOURCE=.\StdAfx.h -# End Source File -# End Group -# Begin Group "Resource Files" - -# PROP Default_Filter "ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe" -# Begin Source File - -SOURCE=.\res\CAOOnePoint.ico -# End Source File -# Begin Source File - -SOURCE=.\res\CAOOnePoint.rc2 -# End Source File -# End Group -# Begin Source File - -SOURCE=.\ReadMe.txt -# End Source File -# Begin Source File - -SOURCE="..\..\..\Lib\PCI-Dask.lib" -# End Source File -# End Target -# End Project diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/6202/CAOOnePoint/CAOOnePoint.dsw b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/6202/CAOOnePoint/CAOOnePoint.dsw deleted file mode 100644 index ef1f263..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/6202/CAOOnePoint/CAOOnePoint.dsw +++ /dev/null @@ -1,29 +0,0 @@ -Microsoft Developer Studio Workspace File, Format Version 6.00 -# WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE! - -############################################################################### - -Project: "CAOOnePoint"=.\CAOOnePoint.dsp - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ -}}} - -############################################################################### - -Global: - -Package=<5> -{{{ -}}} - -Package=<3> -{{{ -}}} - -############################################################################### - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/6202/CAOOnePoint/CAOOnePoint.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/6202/CAOOnePoint/CAOOnePoint.h deleted file mode 100644 index c125089..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/6202/CAOOnePoint/CAOOnePoint.h +++ /dev/null @@ -1,49 +0,0 @@ -// CAOOnePoint.h : main header file for the CAOONEPOINT application -// - -#if !defined(AFX_CAOONEPOINT_H__19A9B244_4221_4E4E_9EED_D2C192BF5B0F__INCLUDED_) -#define AFX_CAOONEPOINT_H__19A9B244_4221_4E4E_9EED_D2C192BF5B0F__INCLUDED_ - -#if _MSC_VER > 1000 -#pragma once -#endif // _MSC_VER > 1000 - -#ifndef __AFXWIN_H__ - #error include 'stdafx.h' before including this file for PCH -#endif - -#include "resource.h" // main symbols - -///////////////////////////////////////////////////////////////////////////// -// CCAOOnePointApp: -// See CAOOnePoint.cpp for the implementation of this class -// - -class CCAOOnePointApp : public CWinApp -{ -public: - CCAOOnePointApp(); - -// Overrides - // ClassWizard generated virtual function overrides - //{{AFX_VIRTUAL(CCAOOnePointApp) - public: - virtual BOOL InitInstance(); - //}}AFX_VIRTUAL - -// Implementation - - //{{AFX_MSG(CCAOOnePointApp) - // NOTE - the ClassWizard will add and remove member functions here. - // DO NOT EDIT what you see in these blocks of generated code ! - //}}AFX_MSG - DECLARE_MESSAGE_MAP() -}; - - -///////////////////////////////////////////////////////////////////////////// - -//{{AFX_INSERT_LOCATION}} -// Microsoft Visual C++ will insert additional declarations immediately before the previous line. - -#endif // !defined(AFX_CAOONEPOINT_H__19A9B244_4221_4E4E_9EED_D2C192BF5B0F__INCLUDED_) diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/6202/CAOOnePoint/CAOOnePoint.rc b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/6202/CAOOnePoint/CAOOnePoint.rc deleted file mode 100644 index 7223166..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/6202/CAOOnePoint/CAOOnePoint.rc +++ /dev/null @@ -1,242 +0,0 @@ -//Microsoft Developer Studio generated resource script. -// -#include "resource.h" - -#define APSTUDIO_READONLY_SYMBOLS -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 2 resource. -// -#include "afxres.h" - -///////////////////////////////////////////////////////////////////////////// -#undef APSTUDIO_READONLY_SYMBOLS - -///////////////////////////////////////////////////////////////////////////// -// Chinese (Taiwan) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_CHT) -#ifdef _WIN32 -LANGUAGE LANG_CHINESE, SUBLANG_CHINESE_TRADITIONAL -#pragma code_page(950) -#endif //_WIN32 - -#ifdef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// TEXTINCLUDE -// - -1 TEXTINCLUDE DISCARDABLE -BEGIN - "resource.h\0" -END - -2 TEXTINCLUDE DISCARDABLE -BEGIN - "#include ""afxres.h""\r\n" - "\0" -END - -3 TEXTINCLUDE DISCARDABLE -BEGIN - "#define _AFX_NO_SPLITTER_RESOURCES\r\n" - "#define _AFX_NO_OLE_RESOURCES\r\n" - "#define _AFX_NO_TRACKER_RESOURCES\r\n" - "#define _AFX_NO_PROPERTY_RESOURCES\r\n" - "\r\n" - "#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)\r\n" - "#ifdef _WIN32\r\n" - "LANGUAGE 9, 1\r\n" - "#pragma code_page(1252)\r\n" - "#endif //_WIN32\r\n" - "#include ""res\\CAOOnePoint.rc2"" // non-Microsoft Visual C++ edited resources\r\n" - "#include ""afxres.rc"" // Standard components\r\n" - "#endif\r\n" - "\0" -END - -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// Icon -// - -// Icon with lowest ID value placed first to ensure application icon -// remains consistent on all systems. -IDR_MAINFRAME ICON DISCARDABLE "res\\CAOOnePoint.ico" -#endif // Chinese (Taiwan) resources -///////////////////////////////////////////////////////////////////////////// - - -///////////////////////////////////////////////////////////////////////////// -// English (U.S.) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -#ifdef _WIN32 -LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US -#pragma code_page(1252) -#endif //_WIN32 - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog -// - -IDD_ABOUTBOX DIALOG DISCARDABLE 0, 0, 235, 55 -STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "About CAOOnePoint" -FONT 8, "MS Sans Serif" -BEGIN - ICON IDR_MAINFRAME,IDC_STATIC,11,17,20,20 - LTEXT "CAOOnePoint Version 1.0",IDC_STATIC,40,10,119,8, - SS_NOPREFIX - LTEXT "Copyright (C) 2007",IDC_STATIC,40,25,119,8 - DEFPUSHBUTTON "OK",IDOK,178,7,50,14,WS_GROUP -END - -IDD_CAOONEPOINT_DIALOG DIALOGEX 0, 0, 130, 119 -STYLE DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU -EXSTYLE WS_EX_APPWINDOW -CAPTION "CAOOnePoint" -FONT 8, "MS Sans Serif" -BEGIN - DEFPUSHBUTTON "Exit",IDOK,41,87,50,14 - LTEXT "AO Channel:",IDC_STATIC,7,10,38,8 - EDITTEXT IDC_EDIT_VOLTAGE,57,33,40,14,ES_AUTOHSCROLL - LTEXT "Ouutput Voltage:",IDC_STATIC,7,36,49,8 - COMBOBOX IDC_COMBO_CHANNEL,57,7,48,30,CBS_DROPDOWNLIST | CBS_SORT | - WS_VSCROLL | WS_TABSTOP - LTEXT "V",IDC_STATIC,99,36,8,8 - PUSHBUTTON "Output",IDC_BTN_OUTPUT,41,60,50,14 -END - - -#ifndef _MAC -///////////////////////////////////////////////////////////////////////////// -// -// Version -// - -VS_VERSION_INFO VERSIONINFO - FILEVERSION 1,0,0,1 - PRODUCTVERSION 1,0,0,1 - FILEFLAGSMASK 0x3fL -#ifdef _DEBUG - FILEFLAGS 0x1L -#else - FILEFLAGS 0x0L -#endif - FILEOS 0x4L - FILETYPE 0x1L - FILESUBTYPE 0x0L -BEGIN - BLOCK "StringFileInfo" - BEGIN - BLOCK "040904B0" - BEGIN - VALUE "CompanyName", "\0" - VALUE "FileDescription", "CAOOnePoint MFC Application\0" - VALUE "FileVersion", "1, 0, 0, 1\0" - VALUE "InternalName", "CAOOnePoint\0" - VALUE "LegalCopyright", "Copyright (C) 2007\0" - VALUE "LegalTrademarks", "\0" - VALUE "OriginalFilename", "CAOOnePoint.EXE\0" - VALUE "ProductName", "CAOOnePoint Application\0" - VALUE "ProductVersion", "1, 0, 0, 1\0" - END - END - BLOCK "VarFileInfo" - BEGIN - VALUE "Translation", 0x409, 1200 - END -END - -#endif // !_MAC - - -///////////////////////////////////////////////////////////////////////////// -// -// DESIGNINFO -// - -#ifdef APSTUDIO_INVOKED -GUIDELINES DESIGNINFO DISCARDABLE -BEGIN - IDD_ABOUTBOX, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 228 - TOPMARGIN, 7 - BOTTOMMARGIN, 48 - END - - IDD_CAOONEPOINT_DIALOG, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 123 - TOPMARGIN, 7 - BOTTOMMARGIN, 112 - END -END -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog Info -// - -IDD_CAOONEPOINT_DIALOG DLGINIT -BEGIN - IDC_COMBO_CHANNEL, 0x403, 7, 0 -0x4f41, 0x435f, 0x3048, "\000" - IDC_COMBO_CHANNEL, 0x403, 7, 0 -0x4f41, 0x435f, 0x3148, "\000" - IDC_COMBO_CHANNEL, 0x403, 7, 0 -0x4f41, 0x435f, 0x3248, "\000" - IDC_COMBO_CHANNEL, 0x403, 7, 0 -0x4f41, 0x435f, 0x3348, "\000" - 0 -END - - -///////////////////////////////////////////////////////////////////////////// -// -// String Table -// - -STRINGTABLE DISCARDABLE -BEGIN - IDS_ABOUTBOX "&About CAOOnePoint..." -END - -#endif // English (U.S.) resources -///////////////////////////////////////////////////////////////////////////// - - - -#ifndef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 3 resource. -// -#define _AFX_NO_SPLITTER_RESOURCES -#define _AFX_NO_OLE_RESOURCES -#define _AFX_NO_TRACKER_RESOURCES -#define _AFX_NO_PROPERTY_RESOURCES - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -#ifdef _WIN32 -LANGUAGE 9, 1 -#pragma code_page(1252) -#endif //_WIN32 -#include "res\CAOOnePoint.rc2" // non-Microsoft Visual C++ edited resources -#include "afxres.rc" // Standard components -#endif - -///////////////////////////////////////////////////////////////////////////// -#endif // not APSTUDIO_INVOKED - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/6202/CAOOnePoint/CAOOnePointDlg.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/6202/CAOOnePoint/CAOOnePointDlg.cpp deleted file mode 100644 index 8138552..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/6202/CAOOnePoint/CAOOnePointDlg.cpp +++ /dev/null @@ -1,212 +0,0 @@ -// CAOOnePointDlg.cpp : implementation file -// - -#include "stdafx.h" -#include "CAOOnePoint.h" -#include "CAOOnePointDlg.h" - -#ifdef _DEBUG -#define new DEBUG_NEW -#undef THIS_FILE -static char THIS_FILE[] = __FILE__; -#endif - -///////////////////////////////////////////////////////////////////////////// -// CAboutDlg dialog used for App About - -class CAboutDlg : public CDialog -{ -public: - CAboutDlg(); - -// Dialog Data - //{{AFX_DATA(CAboutDlg) - enum { IDD = IDD_ABOUTBOX }; - //}}AFX_DATA - - // ClassWizard generated virtual function overrides - //{{AFX_VIRTUAL(CAboutDlg) - protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - //}}AFX_VIRTUAL - -// Implementation -protected: - //{{AFX_MSG(CAboutDlg) - //}}AFX_MSG - DECLARE_MESSAGE_MAP() -}; - -CAboutDlg::CAboutDlg() : CDialog(CAboutDlg::IDD) -{ - //{{AFX_DATA_INIT(CAboutDlg) - //}}AFX_DATA_INIT -} - -void CAboutDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); - //{{AFX_DATA_MAP(CAboutDlg) - //}}AFX_DATA_MAP -} - -BEGIN_MESSAGE_MAP(CAboutDlg, CDialog) - //{{AFX_MSG_MAP(CAboutDlg) - // No message handlers - //}}AFX_MSG_MAP -END_MESSAGE_MAP() - -///////////////////////////////////////////////////////////////////////////// -// CCAOOnePointDlg dialog - -CCAOOnePointDlg::CCAOOnePointDlg(CWnd* pParent /*=NULL*/) - : CDialog(CCAOOnePointDlg::IDD, pParent) -{ - //{{AFX_DATA_INIT(CCAOOnePointDlg) - m_ch = 0; - m_voltage = 0.0; - //}}AFX_DATA_INIT - // Note that LoadIcon does not require a subsequent DestroyIcon in Win32 - m_hIcon = AfxGetApp()->LoadIcon(IDR_MAINFRAME); -} - -void CCAOOnePointDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); - //{{AFX_DATA_MAP(CCAOOnePointDlg) - DDX_CBIndex(pDX, IDC_COMBO_CHANNEL, m_ch); - DDX_Text(pDX, IDC_EDIT_VOLTAGE, m_voltage); - DDV_MinMaxDouble(pDX, m_voltage, -10., 10.); - //}}AFX_DATA_MAP -} - -BEGIN_MESSAGE_MAP(CCAOOnePointDlg, CDialog) - //{{AFX_MSG_MAP(CCAOOnePointDlg) - ON_WM_SYSCOMMAND() - ON_WM_PAINT() - ON_WM_QUERYDRAGICON() - ON_WM_CREATE() - ON_WM_CLOSE() - ON_BN_CLICKED(IDC_BTN_OUTPUT, OnBtnOutput) - //}}AFX_MSG_MAP -END_MESSAGE_MAP() - -///////////////////////////////////////////////////////////////////////////// -// CCAOOnePointDlg message handlers - -BOOL CCAOOnePointDlg::OnInitDialog() -{ - CDialog::OnInitDialog(); - - // Add "About..." menu item to system menu. - - // IDM_ABOUTBOX must be in the system command range. - ASSERT((IDM_ABOUTBOX & 0xFFF0) == IDM_ABOUTBOX); - ASSERT(IDM_ABOUTBOX < 0xF000); - - CMenu* pSysMenu = GetSystemMenu(FALSE); - if (pSysMenu != NULL) - { - CString strAboutMenu; - strAboutMenu.LoadString(IDS_ABOUTBOX); - if (!strAboutMenu.IsEmpty()) - { - pSysMenu->AppendMenu(MF_SEPARATOR); - pSysMenu->AppendMenu(MF_STRING, IDM_ABOUTBOX, strAboutMenu); - } - } - - // Set the icon for this dialog. The framework does this automatically - // when the application's main window is not a dialog - SetIcon(m_hIcon, TRUE); // Set big icon - SetIcon(m_hIcon, FALSE); // Set small icon - - // TODO: Add extra initialization here - - return TRUE; // return TRUE unless you set the focus to a control -} - -void CCAOOnePointDlg::OnSysCommand(UINT nID, LPARAM lParam) -{ - if ((nID & 0xFFF0) == IDM_ABOUTBOX) - { - CAboutDlg dlgAbout; - dlgAbout.DoModal(); - } - else - { - CDialog::OnSysCommand(nID, lParam); - } -} - -// If you add a minimize button to your dialog, you will need the code below -// to draw the icon. For MFC applications using the document/view model, -// this is automatically done for you by the framework. - -void CCAOOnePointDlg::OnPaint() -{ - if (IsIconic()) - { - CPaintDC dc(this); // device context for painting - - SendMessage(WM_ICONERASEBKGND, (WPARAM) dc.GetSafeHdc(), 0); - - // Center icon in client rectangle - int cxIcon = GetSystemMetrics(SM_CXICON); - int cyIcon = GetSystemMetrics(SM_CYICON); - CRect rect; - GetClientRect(&rect); - int x = (rect.Width() - cxIcon + 1) / 2; - int y = (rect.Height() - cyIcon + 1) / 2; - - // Draw the icon - dc.DrawIcon(x, y, m_hIcon); - } - else - { - CDialog::OnPaint(); - } -} - -// The system calls this to obtain the cursor to display while the user drags -// the minimized window. -HCURSOR CCAOOnePointDlg::OnQueryDragIcon() -{ - return (HCURSOR) m_hIcon; -} - -int CCAOOnePointDlg::OnCreate(LPCREATESTRUCT lpCreateStruct) -{ - if (CDialog::OnCreate(lpCreateStruct) == -1) - return -1; - - // TODO: Add your specialized creation code here - m_dev = Register_Card(PCI_6202, 0); - if(m_dev < 0) - { - MessageBox("Register_Card Error!"); - } - - return 0; -} - -void CCAOOnePointDlg::OnClose() -{ - I16 err; - - if(m_dev >= 0) - { - err = Release_Card(m_dev); - } - - CDialog::OnClose(); -} - -void CCAOOnePointDlg::OnBtnOutput() -{ - I16 err; - - UpdateData(TRUE); - err = AO_VWriteChannel(m_dev, m_ch, m_voltage); - -} diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/6202/CAOOnePoint/CAOOnePointDlg.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/6202/CAOOnePoint/CAOOnePointDlg.h deleted file mode 100644 index 5745376..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/6202/CAOOnePoint/CAOOnePointDlg.h +++ /dev/null @@ -1,57 +0,0 @@ -// CAOOnePointDlg.h : header file -// - -#if !defined(AFX_CAOONEPOINTDLG_H__AF337BF6_3007_48DD_859D_A1036E368D0B__INCLUDED_) -#define AFX_CAOONEPOINTDLG_H__AF337BF6_3007_48DD_859D_A1036E368D0B__INCLUDED_ - -#if _MSC_VER > 1000 -#pragma once -#endif // _MSC_VER > 1000 - -#include "..\..\..\include\dask.h" - -///////////////////////////////////////////////////////////////////////////// -// CCAOOnePointDlg dialog - -class CCAOOnePointDlg : public CDialog -{ -// Construction -public: - CCAOOnePointDlg(CWnd* pParent = NULL); // standard constructor - - I16 m_dev; - -// Dialog Data - //{{AFX_DATA(CCAOOnePointDlg) - enum { IDD = IDD_CAOONEPOINT_DIALOG }; - int m_ch; - double m_voltage; - //}}AFX_DATA - - // ClassWizard generated virtual function overrides - //{{AFX_VIRTUAL(CCAOOnePointDlg) - protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - //}}AFX_VIRTUAL - -// Implementation -protected: - HICON m_hIcon; - - // Generated message map functions - //{{AFX_MSG(CCAOOnePointDlg) - virtual BOOL OnInitDialog(); - afx_msg void OnSysCommand(UINT nID, LPARAM lParam); - afx_msg void OnPaint(); - afx_msg HCURSOR OnQueryDragIcon(); - afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct); - afx_msg void OnClose(); - afx_msg void OnBtnOutput(); - //}}AFX_MSG - DECLARE_MESSAGE_MAP() -}; - -//{{AFX_INSERT_LOCATION}} -// Microsoft Visual C++ will insert additional declarations immediately before the previous line. - -#endif // !defined(AFX_CAOONEPOINTDLG_H__AF337BF6_3007_48DD_859D_A1036E368D0B__INCLUDED_) diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/6202/CAOOnePoint/ReadMe.txt b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/6202/CAOOnePoint/ReadMe.txt deleted file mode 100644 index c0db093..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/6202/CAOOnePoint/ReadMe.txt +++ /dev/null @@ -1,88 +0,0 @@ -======================================================================== - MICROSOFT FOUNDATION CLASS LIBRARY : CAOOnePoint -======================================================================== - - -AppWizard has created this CAOOnePoint application for you. This application -not only demonstrates the basics of using the Microsoft Foundation classes -but is also a starting point for writing your application. - -This file contains a summary of what you will find in each of the files that -make up your CAOOnePoint application. - -CAOOnePoint.dsp - This file (the project file) contains information at the project level and - is used to build a single project or subproject. Other users can share the - project (.dsp) file, but they should export the makefiles locally. - -CAOOnePoint.h - This is the main header file for the application. It includes other - project specific headers (including Resource.h) and declares the - CCAOOnePointApp application class. - -CAOOnePoint.cpp - This is the main application source file that contains the application - class CCAOOnePointApp. - -CAOOnePoint.rc - This is a listing of all of the Microsoft Windows resources that the - program uses. It includes the icons, bitmaps, and cursors that are stored - in the RES subdirectory. This file can be directly edited in Microsoft - Visual C++. - -CAOOnePoint.clw - This file contains information used by ClassWizard to edit existing - classes or add new classes. ClassWizard also uses this file to store - information needed to create and edit message maps and dialog data - maps and to create prototype member functions. - -res\CAOOnePoint.ico - This is an icon file, which is used as the application's icon. This - icon is included by the main resource file CAOOnePoint.rc. - -res\CAOOnePoint.rc2 - This file contains resources that are not edited by Microsoft - Visual C++. You should place all resources not editable by - the resource editor in this file. - - - - -///////////////////////////////////////////////////////////////////////////// - -AppWizard creates one dialog class: - -CAOOnePointDlg.h, CAOOnePointDlg.cpp - the dialog - These files contain your CCAOOnePointDlg class. This class defines - the behavior of your application's main dialog. The dialog's - template is in CAOOnePoint.rc, which can be edited in Microsoft - Visual C++. - - -///////////////////////////////////////////////////////////////////////////// -Other standard files: - -StdAfx.h, StdAfx.cpp - These files are used to build a precompiled header (PCH) file - named CAOOnePoint.pch and a precompiled types file named StdAfx.obj. - -Resource.h - This is the standard header file, which defines new resource IDs. - Microsoft Visual C++ reads and updates this file. - -///////////////////////////////////////////////////////////////////////////// -Other notes: - -AppWizard uses "TODO:" to indicate parts of the source code you -should add to or customize. - -If your application uses MFC in a shared DLL, and your application is -in a language other than the operating system's current language, you -will need to copy the corresponding localized resources MFC42XXX.DLL -from the Microsoft Visual C++ CD-ROM onto the system or system32 directory, -and rename it to be MFCLOC.DLL. ("XXX" stands for the language abbreviation. -For example, MFC42DEU.DLL contains resources translated to German.) If you -don't do this, some of the UI elements of your application will remain in the -language of the operating system. - -///////////////////////////////////////////////////////////////////////////// diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/6202/CAOOnePoint/Release/CAOOnePoint.exe b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/6202/CAOOnePoint/Release/CAOOnePoint.exe deleted file mode 100644 index bc08e0d..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/6202/CAOOnePoint/Release/CAOOnePoint.exe and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/6202/CAOOnePoint/Resource.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/6202/CAOOnePoint/Resource.h deleted file mode 100644 index 9b9d209..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/6202/CAOOnePoint/Resource.h +++ /dev/null @@ -1,23 +0,0 @@ -//{{NO_DEPENDENCIES}} -// Microsoft Developer Studio generated include file. -// Used by CAOOnePoint.rc -// -#define IDM_ABOUTBOX 0x0010 -#define IDD_ABOUTBOX 100 -#define IDS_ABOUTBOX 101 -#define IDD_CAOONEPOINT_DIALOG 102 -#define IDR_MAINFRAME 128 -#define IDC_EDIT_VOLTAGE 1000 -#define IDC_COMBO_CHANNEL 1001 -#define IDC_BTN_OUTPUT 1002 - -// Next default values for new objects -// -#ifdef APSTUDIO_INVOKED -#ifndef APSTUDIO_READONLY_SYMBOLS -#define _APS_NEXT_RESOURCE_VALUE 130 -#define _APS_NEXT_COMMAND_VALUE 32771 -#define _APS_NEXT_CONTROL_VALUE 1003 -#define _APS_NEXT_SYMED_VALUE 101 -#endif -#endif diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/6202/CAOOnePoint/StdAfx.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/6202/CAOOnePoint/StdAfx.cpp deleted file mode 100644 index 3a00ea6..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/6202/CAOOnePoint/StdAfx.cpp +++ /dev/null @@ -1,8 +0,0 @@ -// stdafx.cpp : source file that includes just the standard includes -// CAOOnePoint.pch will be the pre-compiled header -// stdafx.obj will contain the pre-compiled type information - -#include "stdafx.h" - - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/6202/CAOOnePoint/StdAfx.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/6202/CAOOnePoint/StdAfx.h deleted file mode 100644 index ca841cd..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/6202/CAOOnePoint/StdAfx.h +++ /dev/null @@ -1,27 +0,0 @@ -// stdafx.h : include file for standard system include files, -// or project specific include files that are used frequently, but -// are changed infrequently -// - -#if !defined(AFX_STDAFX_H__30A00164_37A2_471C_9D92_F95D0F13CD5C__INCLUDED_) -#define AFX_STDAFX_H__30A00164_37A2_471C_9D92_F95D0F13CD5C__INCLUDED_ - -#if _MSC_VER > 1000 -#pragma once -#endif // _MSC_VER > 1000 - -#define VC_EXTRALEAN // Exclude rarely-used stuff from Windows headers - -#include // MFC core and standard components -#include // MFC extensions -#include // MFC Automation classes -#include // MFC support for Internet Explorer 4 Common Controls -#ifndef _AFX_NO_AFXCMN_SUPPORT -#include // MFC support for Windows Common Controls -#endif // _AFX_NO_AFXCMN_SUPPORT - - -//{{AFX_INSERT_LOCATION}} -// Microsoft Visual C++ will insert additional declarations immediately before the previous line. - -#endif // !defined(AFX_STDAFX_H__30A00164_37A2_471C_9D92_F95D0F13CD5C__INCLUDED_) diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/6202/CAOOnePoint/res/CAOOnePoint.ico b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/6202/CAOOnePoint/res/CAOOnePoint.ico deleted file mode 100644 index 7eef0bc..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/6202/CAOOnePoint/res/CAOOnePoint.ico and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/6202/CAOOnePoint/res/CAOOnePoint.rc2 b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/6202/CAOOnePoint/res/CAOOnePoint.rc2 deleted file mode 100644 index 058f44d..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/6202/CAOOnePoint/res/CAOOnePoint.rc2 +++ /dev/null @@ -1,13 +0,0 @@ -// -// CAOONEPOINT.RC2 - resources Microsoft Visual C++ does not edit directly -// - -#ifdef APSTUDIO_INVOKED - #error this file is not editable by Microsoft Visual C++ -#endif //APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// Add manually edited resources here... - -///////////////////////////////////////////////////////////////////////////// diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/6208/SDK6208A/Resource.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/6208/SDK6208A/Resource.h deleted file mode 100644 index 4fc1d8d..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/6208/SDK6208A/Resource.h +++ /dev/null @@ -1,26 +0,0 @@ -//{{NO_DEPENDENCIES}} -// Microsoft Developer Studio generated include file. -// Used by Utl6208a.rc -// -#define IDM_SETUP 101 -#define IDD_DIALOG1 101 -#define IDD_DIALOG2 103 -#define IDM_EXIT 110 -#define ID_STOP 304 -#define DMA_SPACE 500 -#define IDC_COMBO2 1001 -#define IDC_COMBO3 1003 -#define IDC_COMBO1 1015 -#define IDC_COMBO4 1016 -#define IDC_STATIC -1 - -// Next default values for new objects -// -#ifdef APSTUDIO_INVOKED -#ifndef APSTUDIO_READONLY_SYMBOLS -#define _APS_NEXT_RESOURCE_VALUE 104 -#define _APS_NEXT_COMMAND_VALUE 102 -#define _APS_NEXT_CONTROL_VALUE 1001 -#define _APS_NEXT_SYMED_VALUE 101 -#endif -#endif diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/6208/SDK6208A/UTL6208A.MAK b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/6208/SDK6208A/UTL6208A.MAK deleted file mode 100644 index fad8432..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/6208/SDK6208A/UTL6208A.MAK +++ /dev/null @@ -1,219 +0,0 @@ -# Microsoft Developer Studio Generated NMAKE File, Format Version 4.00 -# ** DO NOT EDIT ** - -# TARGTYPE "Win32 (x86) Application" 0x0101 - -!IF "$(CFG)" == "" -CFG=utl6208a - Win32 Debug -!MESSAGE No configuration specified. Defaulting to utl6208a - Win32 Debug. -!ENDIF - -!IF "$(CFG)" != "utl6208a - Win32 Release" && "$(CFG)" !=\ - "utl6208a - Win32 Debug" -!MESSAGE Invalid configuration "$(CFG)" specified. -!MESSAGE You can specify a configuration when running NMAKE on this makefile -!MESSAGE by defining the macro CFG on the command line. For example: -!MESSAGE -!MESSAGE NMAKE /f "UTL6208A.MAK" CFG="utl6208a - Win32 Debug" -!MESSAGE -!MESSAGE Possible choices for configuration are: -!MESSAGE -!MESSAGE "utl6208a - Win32 Release" (based on "Win32 (x86) Application") -!MESSAGE "utl6208a - Win32 Debug" (based on "Win32 (x86) Application") -!MESSAGE -!ERROR An invalid configuration is specified. -!ENDIF - -!IF "$(OS)" == "Windows_NT" -NULL= -!ELSE -NULL=nul -!ENDIF -################################################################################ -# Begin Project -# PROP Target_Last_Scanned "utl6208a - Win32 Debug" -CPP=cl.exe -RSC=rc.exe -MTL=mktyplib.exe - -!IF "$(CFG)" == "utl6208a - Win32 Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "Release" -# PROP BASE Intermediate_Dir "Release" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "" -# PROP Intermediate_Dir "Release" -# PROP Target_Dir "" -OUTDIR=. -INTDIR=.\Release - -ALL : "$(OUTDIR)\UTL6208A.exe" - -CLEAN : - -@erase ".\UTL6208A.exe" - -@erase ".\Release\utl6208a.obj" - -@erase ".\Release\utl6208a.res" - -"$(INTDIR)" : - if not exist "$(INTDIR)/$(NULL)" mkdir "$(INTDIR)" - -# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /YX /c -# ADD CPP /nologo /W3 /GX /Od /I "..\..\..\include" /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /c -# SUBTRACT CPP /YX -CPP_PROJ=/nologo /ML /W3 /GX /Od /I "..\..\..\include" /D "WIN32" /D "NDEBUG"\ - /D "_WINDOWS" /Fo"$(INTDIR)/" /c -CPP_OBJS=.\Release/ -CPP_SBRS= -# ADD BASE MTL /nologo /D "NDEBUG" /win32 -# ADD MTL /nologo /D "NDEBUG" /win32 -MTL_PROJ=/nologo /D "NDEBUG" /win32 -# ADD BASE RSC /l 0x409 /d "NDEBUG" -# ADD RSC /l 0x409 /d "NDEBUG" -RSC_PROJ=/l 0x409 /fo"$(INTDIR)/utl6208a.res" /d "NDEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -BSC32_FLAGS=/nologo /o"$(OUTDIR)/UTL6208A.bsc" -BSC32_SBRS= -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:windows /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ..\..\..\lib\pci-dask.lib /nologo /subsystem:windows /machine:I386 -LINK32_FLAGS=kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib\ - advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib\ - odbccp32.lib ..\..\..\lib\pci-dask.lib /nologo /subsystem:windows\ - /incremental:no /pdb:"$(OUTDIR)/UTL6208A.pdb" /machine:I386\ - /out:"$(OUTDIR)/UTL6208A.exe" -LINK32_OBJS= \ - ".\Release\utl6208a.obj" \ - ".\Release\utl6208a.res" - -"$(OUTDIR)\UTL6208A.exe" : "$(OUTDIR)" $(DEF_FILE) $(LINK32_OBJS) - $(LINK32) @<< - $(LINK32_FLAGS) $(LINK32_OBJS) -<< - -!ELSEIF "$(CFG)" == "utl6208a - Win32 Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "Debug" -# PROP BASE Intermediate_Dir "Debug" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "Debug" -# PROP Intermediate_Dir "Debug" -# PROP Target_Dir "" -OUTDIR=.\Debug -INTDIR=.\Debug - -ALL : "$(OUTDIR)\UTL6208A.exe" - -CLEAN : - -@erase ".\Debug\vc40.pdb" - -@erase ".\Debug\vc40.idb" - -@erase ".\Debug\UTL6208A.exe" - -@erase ".\Debug\utl6208a.obj" - -@erase ".\Debug\utl6208a.res" - -@erase ".\Debug\UTL6208A.ilk" - -@erase ".\Debug\UTL6208A.pdb" - -"$(OUTDIR)" : - if not exist "$(OUTDIR)/$(NULL)" mkdir "$(OUTDIR)" - -# ADD BASE CPP /nologo /W3 /Gm /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /YX /c -# ADD CPP /nologo /W3 /Gm /GX /Zi /Od /I "..\..\..\include" /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /c -# SUBTRACT CPP /YX -CPP_PROJ=/nologo /MLd /W3 /Gm /GX /Zi /Od /I "..\..\..\include" /D "WIN32" /D\ - "_DEBUG" /D "_WINDOWS" /Fo"$(INTDIR)/" /Fd"$(INTDIR)/" /c -CPP_OBJS=.\Debug/ -CPP_SBRS= -# ADD BASE MTL /nologo /D "_DEBUG" /win32 -# ADD MTL /nologo /D "_DEBUG" /win32 -MTL_PROJ=/nologo /D "_DEBUG" /win32 -# ADD BASE RSC /l 0x409 /d "_DEBUG" -# ADD RSC /l 0x409 /d "_DEBUG" -RSC_PROJ=/l 0x409 /fo"$(INTDIR)/utl6208a.res" /d "_DEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -BSC32_FLAGS=/nologo /o"$(OUTDIR)/UTL6208A.bsc" -BSC32_SBRS= -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:windows /debug /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ..\..\..\lib\pci-dask.lib /nologo /subsystem:windows /debug /machine:I386 -LINK32_FLAGS=kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib\ - advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib\ - odbccp32.lib ..\..\..\lib\pci-dask.lib /nologo /subsystem:windows\ - /incremental:yes /pdb:"$(OUTDIR)/UTL6208A.pdb" /debug /machine:I386\ - /out:"$(OUTDIR)/UTL6208A.exe" -LINK32_OBJS= \ - ".\Debug\utl6208a.obj" \ - ".\Debug\utl6208a.res" - -"$(OUTDIR)\UTL6208A.exe" : "$(OUTDIR)" $(DEF_FILE) $(LINK32_OBJS) - $(LINK32) @<< - $(LINK32_FLAGS) $(LINK32_OBJS) -<< - -!ENDIF - -.c{$(CPP_OBJS)}.obj: - $(CPP) $(CPP_PROJ) $< - -.cpp{$(CPP_OBJS)}.obj: - $(CPP) $(CPP_PROJ) $< - -.cxx{$(CPP_OBJS)}.obj: - $(CPP) $(CPP_PROJ) $< - -.c{$(CPP_SBRS)}.sbr: - $(CPP) $(CPP_PROJ) $< - -.cpp{$(CPP_SBRS)}.sbr: - $(CPP) $(CPP_PROJ) $< - -.cxx{$(CPP_SBRS)}.sbr: - $(CPP) $(CPP_PROJ) $< - -################################################################################ -# Begin Target - -# Name "utl6208a - Win32 Release" -# Name "utl6208a - Win32 Debug" - -!IF "$(CFG)" == "utl6208a - Win32 Release" - -!ELSEIF "$(CFG)" == "utl6208a - Win32 Debug" - -!ENDIF - -################################################################################ -# Begin Source File - -SOURCE=.\utl6208a.RC - -"$(INTDIR)\utl6208a.res" : $(SOURCE) "$(INTDIR)" - $(RSC) $(RSC_PROJ) $(SOURCE) - - -# End Source File -################################################################################ -# Begin Source File - -SOURCE=.\utl6208a.c -DEP_CPP_UTL62=\ - ".\..\..\..\include\dask.h"\ - - -"$(INTDIR)\utl6208a.obj" : $(SOURCE) $(DEP_CPP_UTL62) "$(INTDIR)" - - -# End Source File -# End Target -# End Project -################################################################################ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/6208/SDK6208A/UTL6208A.MDP b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/6208/SDK6208A/UTL6208A.MDP deleted file mode 100644 index a771a45..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/6208/SDK6208A/UTL6208A.MDP and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/6208/SDK6208A/UTL6208A.RC b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/6208/SDK6208A/UTL6208A.RC deleted file mode 100644 index e6a2630..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/6208/SDK6208A/UTL6208A.RC +++ /dev/null @@ -1,115 +0,0 @@ -//Microsoft Developer Studio generated resource script. -// -#include "resource.h" - -#define APSTUDIO_READONLY_SYMBOLS -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 2 resource. -// -#define APSTUDIO_HIDDEN_SYMBOLS -#include "windows.h" -#undef APSTUDIO_HIDDEN_SYMBOLS - -///////////////////////////////////////////////////////////////////////////// -#undef APSTUDIO_READONLY_SYMBOLS - -///////////////////////////////////////////////////////////////////////////// -// English (U.S.) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -#ifdef _WIN32 -LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US -#pragma code_page(1252) -#endif //_WIN32 - -///////////////////////////////////////////////////////////////////////////// -// -// Menu -// - -U6208MENU MENU DISCARDABLE -BEGIN - MENUITEM "E&xit!", IDM_EXIT -END - - -#ifdef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// TEXTINCLUDE -// - -1 TEXTINCLUDE DISCARDABLE -BEGIN - "resource.h\0" -END - -2 TEXTINCLUDE DISCARDABLE -BEGIN - "#define APSTUDIO_HIDDEN_SYMBOLS\r\n" - "#include ""windows.h""\r\n" - "#undef APSTUDIO_HIDDEN_SYMBOLS\r\n" - "\0" -END - -3 TEXTINCLUDE DISCARDABLE -BEGIN - "\r\n" - "\0" -END - -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog -// - -IDD_DIALOG2 DIALOG DISCARDABLE 110, 10, 106, 61 -STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "Card Number" -FONT 10, "System" -BEGIN - DEFPUSHBUTTON "OK",IDOK,10,40,37,14 - PUSHBUTTON "Cancel",IDCANCEL,61,40,38,14 - LTEXT "Card Number",IDC_STATIC,3,13,47,13 - COMBOBOX IDC_COMBO1,51,13,48,84,CBS_DROPDOWN | WS_VSCROLL | - WS_TABSTOP -END - - -///////////////////////////////////////////////////////////////////////////// -// -// DESIGNINFO -// - -#ifdef APSTUDIO_INVOKED -GUIDELINES DESIGNINFO DISCARDABLE -BEGIN - IDD_DIALOG2, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 99 - TOPMARGIN, 7 - BOTTOMMARGIN, 54 - END -END -#endif // APSTUDIO_INVOKED - -#endif // English (U.S.) resources -///////////////////////////////////////////////////////////////////////////// - - - -#ifndef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 3 resource. -// - - -///////////////////////////////////////////////////////////////////////////// -#endif // not APSTUDIO_INVOKED - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/6208/SDK6208A/Utl6208a.c b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/6208/SDK6208A/Utl6208a.c deleted file mode 100644 index f4c28d3..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/6208/SDK6208A/Utl6208a.c +++ /dev/null @@ -1,348 +0,0 @@ -#include "windows.h" -#include -#include -#include -#include -#include -#include "dask.h" -#include "resource.h" - -#define IDM_EXIT 110 -#define IDC_DA 300 -#define IDC_SCROLL 400 -#define TIMER1 1 -#define NONE 0 -#define SINE 1 -#define SQUARE 2 - -int PASCAL WinMain(HANDLE, HANDLE, LPSTR, int); -long PASCAL MainWndProc(HWND, UINT, WPARAM, LPARAM); - -HANDLE hInst; -HWND hDAComboBox[8]; -HWND hDAScroll[4]; - -I16 card=-1, card_number = 0; -U16 input=0, output=0; -U16 oldinput=0; - -HBRUSH hLTGreenBrush,hGreenBrush,hBlueBrush,hRedBrush; - -double angle[8] = {0, 0, 0, 0, 0, 0, 0, 0}; -I16 sq[8] = {0, 0, 0, 0, 0, 0, 0, 0}; -I16 pos[4]={0, 0, 0, 0}; - -POINT input_pos[4]= { {110, 40}, {80, 40}, {50, 40}, {20, 40} }; -POINT output_pos[4] ={ {250, 40}, {220, 40}, {190, 40}, {160, 40} }; - -POINT io_pos[24] ={ - {595, 120}, {570, 120}, - {545, 120}, {520, 120}, - {495, 120}, {470, 120}, - {445, 120}, {420, 120}, - {395, 120}, {370, 120}, - {345, 120}, {320, 120}, - {295, 120}, {270, 120}, - {245, 120}, {220, 120}, - {195, 120}, {170, 120}, - {145, 120}, {120, 120}, - {95, 120}, {70, 120}, - { 45, 120}, { 20, 120} - }; - -BOOL InitApplication(HANDLE); -BOOL InitInstance(HANDLE, int); - -int PASCAL WinMain(hInstance, hPrevInstance, lpCmdLine, nCmdShow) -HANDLE hInstance, hPrevInstance; -LPSTR lpCmdLine; -int nCmdShow; -{ - MSG msg; - - if (!hPrevInstance) - if (!InitApplication(hInstance)) return(FALSE); - if (!InitInstance(hInstance, nCmdShow)) return(FALSE); - while (GetMessage(&msg, NULL, NULL, NULL)) { - TranslateMessage(&msg); - DispatchMessage(&msg); - } - return(msg.wParam); -} - -BOOL InitApplication(hInstance) -HANDLE hInstance; -{ - WNDCLASS wc; - - /* Main Window Class */ - wc.style = NULL; - wc.lpfnWndProc = (WNDPROC)MainWndProc; - wc.cbClsExtra = 0; - wc.cbWndExtra = 0; - wc.hInstance = hInstance; - wc.hIcon = LoadIcon(hInstance, "MyIcon"); - wc.hCursor = LoadCursor(NULL, IDC_ARROW); - wc.hbrBackground = GetStockObject(LTGRAY_BRUSH); - wc.lpszMenuName = NULL; - wc.lpszClassName = "GenericWClass"; - if (!RegisterClass(&wc)) return(FALSE); -} - - -BOOL InitInstance(hInstance, nCmdShow) -HANDLE hInstance; -int nCmdShow; -{ - HWND hWnd; - HMENU hSampleMenu; - - hInst = hInstance; - hSampleMenu = LoadMenu(hInstance, "U6208Menu"); - hWnd = CreateWindow("GenericWClass", - (LPCSTR)"PCI6208A", - WS_OVERLAPPEDWINDOW, - CW_USEDEFAULT, - CW_USEDEFAULT, - 618, - 256, - NULL, - hSampleMenu, - hInstance, - NULL); - - if (!hWnd) return(FALSE); - ShowWindow(hWnd, nCmdShow); - UpdateWindow(hWnd); - return(TRUE); -} - -BOOL PASCAL setup(HWND hWnd, unsigned message, WPARAM wParam, LPARAM lParam) -{ - int i; - char n[16]; - char s[50]; - switch (message) { - case WM_INITDIALOG: - for (i=0;i<16;i++) { - wsprintf(n, "%d", i); - _strupr(n); - SendMessage(GetDlgItem(hWnd,IDC_COMBO1), CB_ADDSTRING, NULL, (LONG)(LPSTR) n); - } - SendMessage(GetDlgItem(hWnd,IDC_COMBO1) , CB_SETCURSEL, 0, 0L); - - break; - case WM_COMMAND: - switch(LOWORD(wParam)) { - - case IDC_COMBO1: - if (HIWORD(wParam) == CBN_CLOSEUP) { - i = (int)SendMessage(GetDlgItem(hWnd,IDC_COMBO1), CB_GETCURSEL, 0, 0L); - SendMessage(GetDlgItem(hWnd,IDC_COMBO1), CB_GETLBTEXT, i, (LPARAM)((LPCSTR)n)); - card_number = i; - } - return(TRUE); - case IDOK: - if ((card=Register_Card(PCI_6208A, card_number)) < 0) { - wsprintf(s, "Register_Card Error = %d\n", card); - MessageBox(hWnd, s, "Error", MB_OK); - } - EndDialog(hWnd, TRUE); - InvalidateRect(hWnd, NULL, FALSE); - return (TRUE); - case IDCANCEL: - EndDialog(hWnd, TRUE); - return (TRUE); - } - break; - } - return (FALSE); -} - -long PASCAL MainWndProc(hWnd, message, wParam, lParam) -HWND hWnd; -UINT message; -WPARAM wParam; -LPARAM lParam; -{ - HDC hDC; - PAINTSTRUCT ps; - int i, px, py; - double Pi = 3.1415926535; - - switch(message) { - case WM_CREATE: - DialogBox(hInst,IDD_DIALOG2, hWnd, setup); - if(card<0) { - SendMessage(hWnd, WM_CLOSE, 0, 0L); - break; - } - for (i=0; i<8; i++) { - hDAComboBox[i]= CreateWindow("ComboBox", NULL, - CBS_DROPDOWNLIST | WS_CHILD | WS_VISIBLE | WS_VSCROLL, - io_pos[i*3].x-60, io_pos[i*3].y, 64, 100, hWnd, IDC_DA+i, hInst, NULL); - SendMessage(hDAComboBox[i], CB_ADDSTRING, NULL, (LONG)(LPSTR)"(None)"); - SendMessage(hDAComboBox[i], CB_SETCURSEL, 0, 0L); - } - for (i=0;i<4; i++) { - hDAScroll[i]=CreateWindow("SCROLLBAR", NULL, - WS_CHILD | WS_VISIBLE | SBS_HORZ, - io_pos[5+i*6].x-10, io_pos[5+i*6].y+50, 140, 18, hWnd, IDC_SCROLL+i, hInst, NULL); - SetScrollRange(hDAScroll[i],SB_CTL,0,32767,TRUE); - SetScrollPos(hDAScroll[i],SB_CTL,0,FALSE); - } - - hLTGreenBrush = CreateSolidBrush(RGB(0, 255, 0)); - hGreenBrush = CreateSolidBrush(RGB(0, 128, 0)); - hBlueBrush = CreateSolidBrush(RGB(0, 0, 255)); - hRedBrush = CreateSolidBrush(RGB(255, 0, 0)); - - SetTimer(hWnd, TIMER1, 50, NULL); - srand((unsigned)time(NULL)); - AO_6208A_Config(card, P6208_CURRENT_4_20MA); - break; - case WM_PAINT: - hDC = BeginPaint(hWnd, &ps); - - // Digital Input Box - SelectObject(hDC, hLTGreenBrush); - Rectangle(hDC, input_pos[3].x-10, input_pos[3].y-24, input_pos[0].x+26, input_pos[0].y+40); - SetTextColor(hDC,RGB(255,255,255)); - SetBkColor(hDC, RGB(0, 0, 255)); - TextOut(hDC, input_pos[3].x, input_pos[3].y-30, "Digital Input",13); - - // Digital Output Box - SelectObject(hDC, hGreenBrush); - Rectangle(hDC, output_pos[3].x-10, output_pos[3].y-24, output_pos[0].x+26, output_pos[0].y+40); - SetTextColor(hDC,RGB(255,0,0)); - SetBkColor(hDC, RGB(0, 0, 255)); - TextOut(hDC, output_pos[3].x, output_pos[3].y-30, "Digital Output", 14); - - // Analog Output Box - SelectObject(hDC, GetStockObject(GRAY_BRUSH)); - Rectangle(hDC, io_pos[23].x-15, io_pos[23].y-24, io_pos[0].x+10, io_pos[0].y+80); - SetTextColor(hDC,RGB(255,0,0)); - SetBkColor(hDC, RGB(0, 0, 255)); - TextOut(hDC, io_pos[23].x, io_pos[23].y-35, "Analog Output", 13); - - // Channel Label - SetTextColor(hDC,RGB(0,0,0)); - SetBkColor(hDC, RGB(0, 255, 0)); - TextOut(hDC, input_pos[3].x+4, input_pos[3].y+20, "3 0", 23); - SetBkColor(hDC, RGB(0, 128, 0)); - TextOut(hDC, output_pos[3].x+4, output_pos[3].y+20, "3 0", 23); - SetBkColor(hDC, RGB(0, 255, 0)); - - SetBkMode(hDC,TRANSPARENT); - TextOut(hDC,io_pos[21].x-45, output_pos[3].y+64, "A7", 2); - TextOut(hDC,io_pos[18].x-45, output_pos[3].y+64, "A6", 2); - TextOut(hDC,io_pos[21].x-50, output_pos[3].y+112, " 4 12 20",25); - TextOut(hDC,io_pos[15].x-45, output_pos[3].y+64, "A5", 2); - TextOut(hDC,io_pos[12].x-45, output_pos[3].y+64, "A4", 2); - TextOut(hDC,io_pos[15].x-50, output_pos[3].y+112, " 4 12 20",25); - TextOut(hDC,io_pos[9].x-45, output_pos[3].y+64, "A3", 2); - TextOut(hDC,io_pos[6].x-45, output_pos[3].y+64, "A2", 2); - TextOut(hDC,io_pos[9].x-50, output_pos[3].y+112, " 4 12 20",25); - TextOut(hDC,io_pos[3].x-45, output_pos[3].y+64, "A1", 2); - TextOut(hDC,io_pos[0].x-45, output_pos[3].y+64, "A0", 2); - TextOut(hDC,io_pos[3].x-50, output_pos[3].y+112, " 4 12 20",25); - SetBkMode(hDC,OPAQUE); - - // Detect Channel Input - for (i=0; i<4; i++) { - if ((input>>i)&0x01) - SelectObject(hDC, hRedBrush); - else - SelectObject(hDC, GetStockObject(WHITE_BRUSH)); - Ellipse(hDC, input_pos[i].x, input_pos[i].y, input_pos[i].x+20, input_pos[i].y+20); - } - - // Channel Output - for (i=0; i<4; i++) { - if ((output>>i)&0x01) - SelectObject(hDC, hRedBrush); - else - SelectObject(hDC, GetStockObject(WHITE_BRUSH)); - Ellipse(hDC, output_pos[i].x, output_pos[i].y, output_pos[i].x+20, output_pos[i].y+20); - } - - EndPaint(hWnd, &ps); - break; - case WM_COMMAND: - switch(LOWORD(wParam)) { - case IDM_EXIT: - SendMessage(hWnd, WM_CLOSE, 0, 0L); - break; - default: - return(DefWindowProc(hWnd, message, wParam, lParam)); - } - break; - case WM_TIMER: - /* Digital Input */ - DI_ReadPort(card,0,&input); - hDC = GetDC(hWnd); - for (i=0; i<4; i++) { - if ( ((input>>i)&0x01) != ((oldinput>>i)&0x01) ) { - if ((input>>i)&0x01) - SelectObject(hDC, hRedBrush); - else - SelectObject(hDC, GetStockObject(WHITE_BRUSH)); - Ellipse(hDC, input_pos[i].x, input_pos[i].y, input_pos[i].x+20, input_pos[i].y+20); - } - } - oldinput=input; - ReleaseDC(hWnd, hDC); - /* Analog Output */ - for (i=0; i<8; i++) { - AO_WriteChannel(card, i, pos[i/2]); - } - break; - case WM_HSCROLL: - for (i=0; i<4; i++) { - if (lParam == hDAScroll[i]) break; - } - if (i < 4) { - switch(LOWORD(wParam)) { - case SB_THUMBPOSITION : - pos[i] = HIWORD(wParam); - break; - } - SetScrollPos(lParam,SB_CTL,pos[i],TRUE); - } - break; - case WM_DESTROY: - if (card >= 0) Release_Card(card); - DeleteObject(hRedBrush); - DeleteObject(hGreenBrush); - DeleteObject(hLTGreenBrush); - KillTimer(hWnd, TIMER1); - PostQuitMessage(0); - break; - case WM_LBUTTONDOWN: - px = LOWORD(lParam); - py = HIWORD(lParam); - - hDC = GetDC(hWnd); - - for (i=0; i<4; i++) { - if (px>output_pos[i].x && pxoutput_pos[i].y && py>i)&0x01) { - output -= (((U16)1)< -#include -#include -#include -#include -#include "dask.h" -#include "resource.h" - -#define IDM_EXIT 110 -#define IDC_DA 300 -#define IDC_SCROLL 400 -#define TIMER1 1 -#define NONE 0 -#define SINE 1 -#define SQUARE 2 - -int PASCAL WinMain(HANDLE, HANDLE, LPSTR, int); -long PASCAL MainWndProc(HWND, UINT, WPARAM, LPARAM); - -HANDLE hInst; -HWND hDAComboBox[8]; -HWND hDAScroll[4]; - -I16 card=-1, card_number = 0; -U16 input=0, output=0; -U16 oldinput=0 ; - -HBRUSH hLTGreenBrush,hGreenBrush,hBlueBrush,hRedBrush; - -int DA_wave[8] = {NONE, NONE, NONE, NONE, NONE, NONE, NONE, NONE}; -double angle[8] = {0, 0, 0, 0, 0, 0, 0, 0}; -I16 sq[8] = {0, 0, 0, 0, 0, 0, 0, 0}; -I16 pos[4]={0, 0, 0, 0}; - -POINT input_pos[4]= { {110, 40}, {80, 40}, {50, 40}, {20, 40} }; -POINT output_pos[4] ={ {250, 40}, {220, 40}, {190, 40}, {160, 40} }; - -POINT io_pos[24] ={ - {595, 120}, {570, 120}, - {545, 120}, {520, 120}, - {495, 120}, {470, 120}, - {445, 120}, {420, 120}, - {395, 120}, {370, 120}, - {345, 120}, {320, 120}, - {295, 120}, {270, 120}, - {245, 120}, {220, 120}, - {195, 120}, {170, 120}, - {145, 120}, {120, 120}, - {95, 120}, {70, 120}, - { 45, 120}, { 20, 120} - }; - -BOOL InitApplication(HANDLE); -BOOL InitInstance(HANDLE, int); - -int PASCAL WinMain(hInstance, hPrevInstance, lpCmdLine, nCmdShow) -HANDLE hInstance, hPrevInstance; -LPSTR lpCmdLine; -int nCmdShow; -{ - MSG msg; - - if (!hPrevInstance) - if (!InitApplication(hInstance)) return(FALSE); - if (!InitInstance(hInstance, nCmdShow)) return(FALSE); - while (GetMessage(&msg, NULL, NULL, NULL)) { - TranslateMessage(&msg); - DispatchMessage(&msg); - } - return(msg.wParam); -} - -BOOL InitApplication(hInstance) -HANDLE hInstance; -{ - WNDCLASS wc; - - /* Main Window Class */ - wc.style = NULL; - wc.lpfnWndProc = (WNDPROC)MainWndProc; - wc.cbClsExtra = 0; - wc.cbWndExtra = 0; - wc.hInstance = hInstance; - wc.hIcon = LoadIcon(hInstance, "MyIcon"); - wc.hCursor = LoadCursor(NULL, IDC_ARROW); - wc.hbrBackground = GetStockObject(LTGRAY_BRUSH); - wc.lpszMenuName = NULL; - wc.lpszClassName = "GenericWClass"; - if (!RegisterClass(&wc)) return(FALSE); -} - - -BOOL InitInstance(hInstance, nCmdShow) -HANDLE hInstance; -int nCmdShow; -{ - HWND hWnd; - HMENU hSampleMenu; - - hInst = hInstance; - hSampleMenu = LoadMenu(hInstance, "U6208Menu"); - hWnd = CreateWindow("GenericWClass", - (LPCSTR)"PCI6208", - WS_OVERLAPPEDWINDOW, - CW_USEDEFAULT, - CW_USEDEFAULT, - 618, - 256, - NULL, - hSampleMenu, - hInstance, - NULL); - - if (!hWnd) return(FALSE); - ShowWindow(hWnd, nCmdShow); - UpdateWindow(hWnd); - return(TRUE); -} - -BOOL PASCAL setup(HWND hWnd, unsigned message, WPARAM wParam, LPARAM lParam) -{ - int i; - char n[16]; - char s[50]; - switch (message) { - case WM_INITDIALOG: - for (i=0;i<16;i++) { - wsprintf(n, "%d", i); - _strupr(n); - SendMessage(GetDlgItem(hWnd,IDC_COMBO1), CB_ADDSTRING, NULL, (LONG)(LPSTR) n); - } - SendMessage(GetDlgItem(hWnd,IDC_COMBO1) , CB_SETCURSEL, 0, 0L); - - break; - case WM_COMMAND: - switch(LOWORD(wParam)) { - - case IDC_COMBO1: - if (HIWORD(wParam) == CBN_CLOSEUP) { - i = (int)SendMessage(GetDlgItem(hWnd,IDC_COMBO1), CB_GETCURSEL, 0, 0L); - SendMessage(GetDlgItem(hWnd,IDC_COMBO1), CB_GETLBTEXT, i, (LPARAM)((LPCSTR)n)); - card_number = i; - } - return(TRUE); - case IDOK: - if ((card=Register_Card(PCI_6208V, card_number)) < 0) { - wsprintf(s, "Register_Card Error = %d\n", card); - MessageBox(hWnd, s, "Error", MB_OK); - } - EndDialog(hWnd, TRUE); - InvalidateRect(hWnd, NULL, FALSE); - return (TRUE); - case IDCANCEL: - EndDialog(hWnd, TRUE); - return (TRUE); - } - break; - } - return (FALSE); -} - -long PASCAL MainWndProc(hWnd, message, wParam, lParam) -HWND hWnd; -UINT message; -WPARAM wParam; -LPARAM lParam; -{ - HDC hDC; - PAINTSTRUCT ps; - int i, k, px, py; - double Pi = 3.1415926535; - I16 p; - double m; - - switch(message) { - case WM_CREATE: - DialogBox(hInst,IDD_DIALOG2, hWnd, setup); - if(card<0) { - SendMessage(hWnd, WM_CLOSE, 0, 0L); - break; - } - for (i=0; i<8; i++) { - hDAComboBox[i]= CreateWindow("ComboBox", NULL, - CBS_DROPDOWNLIST | WS_CHILD | WS_VISIBLE | WS_VSCROLL, - io_pos[i*3].x-60, io_pos[i*3].y, 64, 100, hWnd, IDC_DA+i, hInst, NULL); - SendMessage(hDAComboBox[i], CB_ADDSTRING, NULL, (LONG)(LPSTR)"(None)"); - SendMessage(hDAComboBox[i], CB_ADDSTRING, NULL, (LONG)(LPSTR)"Sine"); - SendMessage(hDAComboBox[i], CB_ADDSTRING, NULL, (LONG)(LPSTR)"Square"); - SendMessage(hDAComboBox[i], CB_SETCURSEL, 0, 0L); - } - for (i=0;i<4; i++) { - hDAScroll[i]=CreateWindow("SCROLLBAR", NULL, - WS_CHILD | WS_VISIBLE | SBS_HORZ, - io_pos[5+i*6].x-10, io_pos[5+i*6].y+50, 140, 18, hWnd, IDC_SCROLL+i, hInst, NULL); - SetScrollRange(hDAScroll[i],SB_CTL,-32768,32767,TRUE); - SetScrollPos(hDAScroll[i],SB_CTL,0,FALSE); - } - - hLTGreenBrush = CreateSolidBrush(RGB(0, 255, 0)); - hGreenBrush = CreateSolidBrush(RGB(0, 128, 0)); - hBlueBrush = CreateSolidBrush(RGB(0, 0, 255)); - hRedBrush = CreateSolidBrush(RGB(255, 0, 0)); - - SetTimer(hWnd, TIMER1, 50, NULL); - srand((unsigned)time(NULL)); - break; - case WM_PAINT: - hDC = BeginPaint(hWnd, &ps); - - // Digital Input Box - SelectObject(hDC, hLTGreenBrush); - Rectangle(hDC, input_pos[3].x-10, input_pos[3].y-24, input_pos[0].x+26, input_pos[0].y+40); - SetTextColor(hDC,RGB(255,255,255)); - SetBkColor(hDC, RGB(0, 0, 255)); - TextOut(hDC, input_pos[3].x, input_pos[3].y-30, "Digital Input",13); - - // Digital Output Box - SelectObject(hDC, hGreenBrush); - Rectangle(hDC, output_pos[3].x-10, output_pos[3].y-24, output_pos[0].x+26, output_pos[0].y+40); - SetTextColor(hDC,RGB(255,0,0)); - SetBkColor(hDC, RGB(0, 0, 255)); - TextOut(hDC, output_pos[3].x, output_pos[3].y-30, "Digital Output", 14); - - // Analog Output Box - SelectObject(hDC, GetStockObject(GRAY_BRUSH)); - Rectangle(hDC, io_pos[23].x-15, io_pos[23].y-24, io_pos[0].x+10, io_pos[0].y+80); - SetTextColor(hDC,RGB(255,0,0)); - SetBkColor(hDC, RGB(0, 0, 255)); - TextOut(hDC, io_pos[23].x, io_pos[23].y-35, "Analog Output", 13); - - // Channel Label - SetTextColor(hDC,RGB(0,0,0)); - SetBkColor(hDC, RGB(0, 255, 0)); - TextOut(hDC, input_pos[3].x+4, input_pos[3].y+20, "3 0", 23); - SetBkColor(hDC, RGB(0, 128, 0)); - TextOut(hDC, output_pos[3].x+4, output_pos[3].y+20, "3 0", 23); - SetBkColor(hDC, RGB(0, 255, 0)); - - SetBkMode(hDC,TRANSPARENT); - TextOut(hDC,io_pos[21].x-45, output_pos[3].y+64, "V7", 2); - TextOut(hDC,io_pos[18].x-45, output_pos[3].y+64, "V6", 2); - TextOut(hDC,io_pos[21].x-50, output_pos[3].y+112, "-10 0 10",25); - TextOut(hDC,io_pos[15].x-45, output_pos[3].y+64, "V5", 2); - TextOut(hDC,io_pos[12].x-45, output_pos[3].y+64, "V4", 2); - TextOut(hDC,io_pos[15].x-50, output_pos[3].y+112, "-10 0 10",25); - TextOut(hDC,io_pos[9].x-45, output_pos[3].y+64, "V3", 2); - TextOut(hDC,io_pos[6].x-45, output_pos[3].y+64, "V2", 2); - TextOut(hDC,io_pos[9].x-50, output_pos[3].y+112, "-10 0 10",25); - TextOut(hDC,io_pos[3].x-45, output_pos[3].y+64, "V1", 2); - TextOut(hDC,io_pos[0].x-45, output_pos[3].y+64, "V0", 2); - TextOut(hDC,io_pos[3].x-50, output_pos[3].y+112, "-10 0 10",25); - SetBkMode(hDC,OPAQUE); - - // Detect Channel Input - for (i=0; i<4; i++) { - if ((input>>i)&0x01) - SelectObject(hDC, hRedBrush); - else - SelectObject(hDC, GetStockObject(WHITE_BRUSH)); - Ellipse(hDC, input_pos[i].x, input_pos[i].y, input_pos[i].x+20, input_pos[i].y+20); - } - - // Channel Output - for (i=0; i<4; i++) { - if ((output>>i)&0x01) - SelectObject(hDC, hRedBrush); - else - SelectObject(hDC, GetStockObject(WHITE_BRUSH)); - Ellipse(hDC, output_pos[i].x, output_pos[i].y, output_pos[i].x+20, output_pos[i].y+20); - } - - EndPaint(hWnd, &ps); - break; - case WM_COMMAND: - switch(LOWORD(wParam)) { - case IDM_EXIT: - SendMessage(hWnd, WM_CLOSE, 0, 0L); - break; - case IDC_DA: - case IDC_DA+1: - case IDC_DA+2: - case IDC_DA+3: - case IDC_DA+4: - case IDC_DA+5: - case IDC_DA+6: - case IDC_DA+7: - k = LOWORD(wParam)-IDC_DA; - if (HIWORD(wParam)==CBN_CLOSEUP) - DA_wave[k]=SendMessage(hDAComboBox[k],CB_GETCURSEL,0,0L); - break; - default: - return(DefWindowProc(hWnd, message, wParam, lParam)); - } - break; - case WM_TIMER: - /* Digital Input */ - DI_ReadPort(card,0,&input); - hDC = GetDC(hWnd); - for (i=0; i<4; i++) { - if ( ((input>>i)&0x01) != ((oldinput>>i)&0x01) ) { - if ((input>>i)&0x01) - SelectObject(hDC, hRedBrush); - else - SelectObject(hDC, GetStockObject(WHITE_BRUSH)); - Ellipse(hDC, input_pos[i].x, input_pos[i].y, input_pos[i].x+20, input_pos[i].y+20); - } - } - oldinput=input; - ReleaseDC(hWnd, hDC); - /* Analog Output */ - for (i=0; i<8; i++) { - switch (DA_wave[i]) { - case NONE: - AO_WriteChannel(card, i, pos[i/2]); - break; - case SINE: - m = sin(angle[i]); - angle[i] = angle[i] + Pi / 36; - p = (I16)(m * 32767); - AO_WriteChannel(card, i, p); - - break; - case SQUARE: - AO_WriteChannel(card, i, sq[i]); - if (((int)(angle[i]) % 36) == 0) - if (sq[i] == 32767) sq[i] = -32768; else sq[i] = 32767; - angle[i] = angle[i] + 1; - break; - } - } - break; - case WM_HSCROLL: - for (i=0; i<4; i++) { - if (lParam == hDAScroll[i]) break; - } - if (i < 4) { - switch(LOWORD(wParam)) { - case SB_THUMBPOSITION : - pos[i] = HIWORD(wParam); - break; - } - SetScrollPos(lParam,SB_CTL,pos[i],TRUE); - } - break; - case WM_DESTROY: - if (card >= 0) Release_Card(card); - DeleteObject(hRedBrush); - DeleteObject(hGreenBrush); - DeleteObject(hLTGreenBrush); - KillTimer(hWnd, TIMER1); - PostQuitMessage(0); - break; - case WM_LBUTTONDOWN: - px = LOWORD(lParam); - py = HIWORD(lParam); - - hDC = GetDC(hWnd); - - for (i=0; i<4; i++) { - if (px>output_pos[i].x && pxoutput_pos[i].y && py>i)&0x01) { - output -= (((U16)1)<= 1 Then - ArcCos = 0 - Exit Function - End If - ArcCos = Atn(-p / Sqr(-p * p + 1)) + 1.5708 -End Function - - - - -Private Sub Form_Load() - Dim result As Integer - SettingForm.Show 1 - If card < 0 Then - MsgBox "Register Card Failed" - End - End If - For i = 0 To 7 - cobChannel.AddItem i - Next - cobChannel.ListIndex = 0 - 'For tuner - x0 = pin.X1 - y0 = pin.Y1 - l = Sqr(((pin.X2 - x0) ^ 2) + ((pin.Y2 - y0) ^ 2)) - lb = 4 - ub = 20 - For i = 0 To 5 - mark(i).Caption = Format(i * (ub - lb) / 5 + lb, "#0") - Next - AO_value.Caption = Format(lb, "#0.00") - result = AO_6208A_Config(card, P6208_CURRENT_4_20MA) -End Sub - - -Private Sub Form_Unload(Cancel As Integer) - Dim result As Integer - If card >= 0 Then - result = Release_Card(card) - End If - End -End Sub - - -Private Sub mnuExit_Click() - Dim result As Integer - If card >= 0 Then - result = Release_Card(card) - End If - End -End Sub - - -Private Sub tuner_MouseDown(Button As Integer, Shift As Integer, X As Single, Y As Single) - Dim dx As Integer, dy As Integer - dx = X + tuner.Left - pin.X2 - dy = Y + tuner.Top - pin.Y2 - If dx > -50 And dx < 50 And dy > -50 And dy < 50 Then - DragOn = True - End If -End Sub - - -Private Sub tuner_MouseMove(Button As Integer, Shift As Integer, X As Single, Y As Single) - Dim r As Single, p As Single - Dim d As Long - Dim dx As Long, dy As Long - Dim q As Integer, result As Integer - If DragOn Then - dx = X + tuner.Left - x0 - dy = Y + tuner.Top - y0 - d = Sqr(dx ^ 2 + dy ^ 2) - r = ArcCos(CSng(dx / d)) - If dy > 0 And dx < 0 Then r = 2 * Pi - r - If dy > 0 And dx >= 0 Then r = -r - If r <= MaxAngle And r >= MinAngle Then - pin.X2 = x0 + CInt(l * dx / d) - pin.Y2 = y0 + CInt(l * dy / d) - p = ub - (ub - lb) * (2 * r + Pi / 2) / (3 * Pi) - If p > ub Then - p = ub - ElseIf p < lb Then - p = lb - End If - AO_value.Caption = Format(p, "#0.00") - q = CInt((p - lb) * 32767 / (ub - lb)) - 'result = W_6208_DA(0, cobChannel.ListIndex, q) - result = AO_WriteChannel(card, cobChannel.ListIndex, q) - - End If - End If -End Sub - - -Private Sub tuner_MouseUp(Button As Integer, Shift As Integer, X As Single, Y As Single) - DragOn = False -End Sub - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/6208/VB6208a/Util6208a.frx b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/6208/VB6208a/Util6208a.frx deleted file mode 100644 index 3137ee7..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/6208/VB6208a/Util6208a.frx and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/6208/VB6208a/Utl6208a.Vbp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/6208/VB6208a/Utl6208a.Vbp deleted file mode 100644 index 0c883e0..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/6208/VB6208a/Utl6208a.Vbp +++ /dev/null @@ -1,26 +0,0 @@ -Form=Util6208a.Frm -Module=DASK; ..\..\..\Include\Dask.bas -Module=Module1; 6208glbl.bas -Form=Base6208.frm -Object={F9043C88-F6F2-101A-A3C9-08002B2F49FB}#1.0#0; COMDLG32.OCX -Object={BDC217C8-ED16-11CD-956C-0000C04E4C0A}#1.0#0; TABCTL32.OCX -Object={3B7C8863-D78F-101B-B9B5-04021C009402}#1.0#0; RICHTX32.OCX -Object={6B7E6392-850A-101B-AFC0-4210102A8DA7}#1.0#0; COMCTL32.OCX -Object={FAEEE763-117E-101B-8933-08002B2F4F5A}#1.0#0; DBLIST32.OCX -Object={00028C01-0000-0000-0000-000000000046}#1.0#0; DBGRID32.OCX -Reference=*\G{BEF6E001-A874-101A-8BBA-00AA00300CAB}#2.0#0#C:\WIN95\SYSTEM\olepro32.dll#Standard OLE Types -Reference=*\G{EE008642-64A8-11CE-920F-08002B369A33}#1.0#0#C:\WIN95\SYSTEM\MSRDO32.DLL#Microsoft Remote Data Object 1.0 -ProjWinSize=69,575,248,215 -ProjWinShow=2 -IconForm="Util6208" -ExeName32="Utl6208a.exe" -Name="Project1" -HelpContextID="0" -StartMode=0 -VersionCompatible32="0" -MajorVer=1 -MinorVer=0 -RevisionVer=0 -AutoIncrementVer=0 -ServerSupportFiles=0 -VersionCompanyName="ADLINK" diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/6208/VB6216/6216GLBL.BAS b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/6208/VB6216/6216GLBL.BAS deleted file mode 100644 index 77a2e7f..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/6208/VB6216/6216GLBL.BAS +++ /dev/null @@ -1,4 +0,0 @@ -Attribute VB_Name = "Module1" -Global card As Integer -Global card_number As Integer - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/6208/VB6216/Base6216.frm b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/6208/VB6216/Base6216.frm deleted file mode 100644 index 2f7897d..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/6208/VB6216/Base6216.frm +++ /dev/null @@ -1,98 +0,0 @@ -VERSION 4.00 -Begin VB.Form SettingForm - Appearance = 0 'Flat - BackColor = &H00C0C0C0& - Caption = "Card Number Setting" - ClientHeight = 1275 - ClientLeft = 4590 - ClientTop = 4545 - ClientWidth = 2820 - BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851} - Name = "MS Sans Serif" - Size = 8.25 - Charset = 0 - Weight = 700 - Underline = 0 'False - Italic = 0 'False - Strikethrough = 0 'False - EndProperty - ForeColor = &H80000008& - Height = 1680 - Left = 4530 - LinkTopic = "Form2" - ScaleHeight = 1275 - ScaleWidth = 2820 - Top = 4200 - Width = 2940 - Begin VB.CommandButton OKBtn - Appearance = 0 'Flat - BackColor = &H80000005& - Caption = "OK" - Default = -1 'True - Height = 315 - Left = 300 - TabIndex = 0 - Top = 720 - Width = 915 - End - Begin VB.CommandButton CancelBtn - Appearance = 0 'Flat - BackColor = &H80000005& - Cancel = -1 'True - Caption = "Cancel" - Height = 315 - Left = 1380 - TabIndex = 3 - Top = 720 - Width = 915 - End - Begin VB.ComboBox CardNum - Appearance = 0 'Flat - Height = 300 - Left = 1440 - Style = 2 'Dropdown List - TabIndex = 2 - Top = 120 - Width = 1035 - End - Begin VB.Label Label2 - Appearance = 0 'Flat - BackColor = &H00C0C0C0& - Caption = "Card Number:" - ForeColor = &H00000000& - Height = 195 - Index = 0 - Left = 180 - TabIndex = 1 - Top = 180 - Width = 1275 - End -End -Attribute VB_Name = "SettingForm" -Attribute VB_Creatable = False -Attribute VB_Exposed = False - -Private Sub BaseAddr_Change() - -End Sub - - -Private Sub CancelBtn_Click() - Unload SettingForm -End Sub - -Private Sub Form_Load() - Dim i As Long - For i = 0 To 15 Step 1 - CardNum.AddItem i - Next - CardNum.ListIndex = 0 -End Sub - -Private Sub OKBtn_Click() - card = -1 - card_number = CardNum.ListIndex - card = Register_Card(PCI_6208V, card_number) - Unload SettingForm -End Sub - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/6208/VB6216/Util6216.Frm b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/6208/VB6216/Util6216.Frm deleted file mode 100644 index 49d51a0..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/6208/VB6216/Util6216.Frm +++ /dev/null @@ -1,310 +0,0 @@ -VERSION 4.00 -Begin VB.Form Util6216 - Caption = "PCI-6216" - ClientHeight = 2835 - ClientLeft = 3390 - ClientTop = 2445 - ClientWidth = 2550 - Height = 3525 - Left = 3330 - LinkTopic = "Form1" - ScaleHeight = 2835 - ScaleWidth = 2550 - Top = 1815 - Width = 2670 - Begin VB.ComboBox cobChannel - Height = 315 - Left = 1560 - Style = 2 'Dropdown List - TabIndex = 8 - TabStop = 0 'False - Top = 240 - Width = 795 - End - Begin VB.Frame Frame2 - Caption = "Current Output" - BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851} - Name = "MS Sans Serif" - Size = 9.75 - Charset = 0 - Weight = 700 - Underline = 0 'False - Italic = 0 'False - Strikethrough = 0 'False - EndProperty - ForeColor = &H00FF0000& - Height = 1815 - Left = 300 - TabIndex = 0 - Top = 780 - Width = 1935 - Begin VB.Label Label2 - Caption = "V" - BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851} - Name = "MS Sans Serif" - Size = 9.75 - Charset = 0 - Weight = 700 - Underline = 0 'False - Italic = 0 'False - Strikethrough = 0 'False - EndProperty - Height = 225 - Left = 1320 - TabIndex = 10 - Top = 1440 - Width = 375 - End - Begin VB.Label AO_value - Alignment = 1 'Right Justify - Appearance = 0 'Flat - BackColor = &H0000FFFF& - BorderStyle = 1 'Fixed Single - Caption = "-5.0" - BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851} - Name = "MS Sans Serif" - Size = 9.75 - Charset = 0 - Weight = 700 - Underline = 0 'False - Italic = 0 'False - Strikethrough = 0 'False - EndProperty - ForeColor = &H80000008& - Height = 255 - Left = 600 - TabIndex = 7 - Top = 1440 - Width = 675 - End - Begin VB.Line pin - BorderColor = &H0000FFFF& - BorderWidth = 2 - X1 = 960 - X2 = 840 - Y1 = 900 - Y2 = 1020 - End - Begin VB.Label mark - Alignment = 2 'Center - Appearance = 0 'Flat - BackColor = &H00C0C0C0& - Caption = "0" - ForeColor = &H80000008& - Height = 195 - Index = 0 - Left = 360 - TabIndex = 6 - Top = 1200 - Width = 315 - End - Begin VB.Label mark - Alignment = 2 'Center - Appearance = 0 'Flat - BackColor = &H00C0C0C0& - Caption = "1" - ForeColor = &H80000008& - Height = 195 - Index = 1 - Left = 360 - TabIndex = 5 - Top = 720 - Width = 195 - End - Begin VB.Label mark - Alignment = 2 'Center - Appearance = 0 'Flat - BackColor = &H00C0C0C0& - Caption = "2" - ForeColor = &H80000008& - Height = 195 - Index = 2 - Left = 660 - TabIndex = 4 - Top = 300 - Width = 195 - End - Begin VB.Label mark - Alignment = 2 'Center - Appearance = 0 'Flat - BackColor = &H00C0C0C0& - Caption = "3" - ForeColor = &H80000008& - Height = 195 - Index = 3 - Left = 1140 - TabIndex = 3 - Top = 300 - Width = 195 - End - Begin VB.Label mark - Alignment = 2 'Center - Appearance = 0 'Flat - BackColor = &H00C0C0C0& - Caption = "4" - ForeColor = &H80000008& - Height = 195 - Index = 4 - Left = 1440 - TabIndex = 2 - Top = 720 - Width = 195 - End - Begin VB.Label mark - Alignment = 2 'Center - Appearance = 0 'Flat - BackColor = &H00C0C0C0& - Caption = "5" - ForeColor = &H80000008& - Height = 195 - Index = 5 - Left = 1320 - TabIndex = 1 - Top = 1200 - Width = 195 - End - Begin VB.Image tuner - Appearance = 0 'Flat - Height = 750 - Left = 540 - Picture = "Util6216.frx":0000 - Top = 480 - Width = 900 - End - End - Begin VB.Label Label1 - Caption = "Output Channel:" - BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851} - Name = "MS Sans Serif" - Size = 8.25 - Charset = 0 - Weight = 700 - Underline = 0 'False - Italic = 0 'False - Strikethrough = 0 'False - EndProperty - Height = 255 - Left = 120 - TabIndex = 9 - Top = 300 - Width = 1455 - End - Begin VB.Menu mnuExit - Caption = "E&xit!" - End -End -Attribute VB_Name = "Util6216" -Attribute VB_Creatable = False -Attribute VB_Exposed = False -'For tuner -Const Pi = 3.14159 -Const MaxAngle = 4 '5Pi/4 -Const MinAngle = -0.8 '-Pi/4 - -Dim x0 As Integer, y0 As Integer -Dim DragOn As Integer -Dim l As Integer -Dim lb As Single, ub As Single -'Dim hEnts As EventHandles -Private Function ArcCos(p As Single) As Single - If p <= -1 Then - ArcCos = Pi - Exit Function - ElseIf p >= 1 Then - ArcCos = 0 - Exit Function - End If - ArcCos = Atn(-p / Sqr(-p * p + 1)) + 1.5708 -End Function - - - - -Private Sub Form_Load() - Dim result As Integer - SettingForm.Show 1 - If card < 0 Then - MsgBox "Register Card Failed" - End - End If - For i = 0 To 15 - cobChannel.AddItem i - Next - cobChannel.ListIndex = 0 - 'For tuner - x0 = pin.X1 - y0 = pin.Y1 - l = Sqr(((pin.X2 - x0) ^ 2) + ((pin.Y2 - y0) ^ 2)) - 'lb = 4 - lb = -10 - 'ub = 20 - ub = 10 - For i = 0 To 5 - mark(i).Caption = Format(i * (ub - lb) / 5 + lb, "#0") - Next - AO_value.Caption = Format(lb, "#0.00") -End Sub - - -Private Sub Form_Unload(Cancel As Integer) - Dim result As Integer - If card >= 0 Then - result = Release_Card(card) - End If - End -End Sub - - -Private Sub mnuExit_Click() - Dim result As Integer - If card >= 0 Then - result = Release_Card(card) - End If - End -End Sub - - -Private Sub tuner_MouseDown(Button As Integer, Shift As Integer, X As Single, Y As Single) - Dim dx As Integer, dy As Integer - dx = X + tuner.Left - pin.X2 - dy = Y + tuner.Top - pin.Y2 - If dx > -50 And dx < 50 And dy > -50 And dy < 50 Then - DragOn = True - End If -End Sub - - -Private Sub tuner_MouseMove(Button As Integer, Shift As Integer, X As Single, Y As Single) - Dim r As Single, p As Single - Dim d As Long - Dim dx As Long, dy As Long - Dim q As Integer, result As Integer - If DragOn Then - dx = X + tuner.Left - x0 - dy = Y + tuner.Top - y0 - d = Sqr(dx ^ 2 + dy ^ 2) - r = ArcCos(CSng(dx / d)) - If dy > 0 And dx < 0 Then r = 2 * Pi - r - If dy > 0 And dx >= 0 Then r = -r - If r <= MaxAngle And r >= MinAngle Then - pin.X2 = x0 + CInt(l * dx / d) - pin.Y2 = y0 + CInt(l * dy / d) - p = ub - (ub - lb) * (2 * r + Pi / 2) / (3 * Pi) - If p > ub Then - p = ub - ElseIf p < lb Then - p = lb - End If - AO_value.Caption = Format(p, "#0.00") - q = Int(p * 65535 / (ub - lb)) - result = AO_WriteChannel(card, cobChannel.ListIndex, q) - End If - End If -End Sub - - -Private Sub tuner_MouseUp(Button As Integer, Shift As Integer, X As Single, Y As Single) - DragOn = False -End Sub - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/6208/VB6216/Util6216.Vbp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/6208/VB6216/Util6216.Vbp deleted file mode 100644 index 3d86afe..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/6208/VB6216/Util6216.Vbp +++ /dev/null @@ -1,27 +0,0 @@ -Form=Util6216.Frm -Module=DASK; ..\..\..\Include\Dask.bas -Module=Module1; 6216glbl.bas -Form=Base6216.frm -Object={F9043C88-F6F2-101A-A3C9-08002B2F49FB}#1.0#0; COMDLG32.OCX -Object={BDC217C8-ED16-11CD-956C-0000C04E4C0A}#1.0#0; TABCTL32.OCX -Object={3B7C8863-D78F-101B-B9B5-04021C009402}#1.0#0; RICHTX32.OCX -Object={6B7E6392-850A-101B-AFC0-4210102A8DA7}#1.0#0; COMCTL32.OCX -Object={FAEEE763-117E-101B-8933-08002B2F4F5A}#1.0#0; DBLIST32.OCX -Object={00028C01-0000-0000-0000-000000000046}#1.0#0; DBGRID32.OCX -Reference=*\G{BEF6E001-A874-101A-8BBA-00AA00300CAB}#2.0#0#C:\WIN95\SYSTEM\olepro32.dll#Standard OLE Types -Reference=*\G{EE008642-64A8-11CE-920F-08002B369A33}#1.0#0#C:\WIN95\SYSTEM\MSRDO32.DLL#Microsoft Remote Data Object 1.0 -ProjWinSize=69,575,248,215 -ProjWinShow=2 -IconForm="Util6216" -HelpFile="" -ExeName32="Util6216.exe" -Name="Project1" -HelpContextID="0" -StartMode=0 -VersionCompatible32="0" -MajorVer=1 -MinorVer=0 -RevisionVer=0 -AutoIncrementVer=0 -ServerSupportFiles=0 -VersionCompanyName="ADLINK" diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/6208/VB6216/Util6216.frx b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/6208/VB6216/Util6216.frx deleted file mode 100644 index 3137ee7..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/6208/VB6216/Util6216.frx and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/6308/SDK6308A/Resource.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/6308/SDK6308A/Resource.h deleted file mode 100644 index 5d855b5..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/6308/SDK6308A/Resource.h +++ /dev/null @@ -1,26 +0,0 @@ -//{{NO_DEPENDENCIES}} -// Microsoft Developer Studio generated include file. -// Used by Utl6308a.rc -// -#define IDM_SETUP 101 -#define IDD_DIALOG1 101 -#define IDD_DIALOG2 103 -#define IDM_EXIT 110 -#define ID_STOP 304 -#define DMA_SPACE 500 -#define IDC_COMBO2 1001 -#define IDC_COMBO3 1003 -#define IDC_COMBO1 1015 -#define IDC_COMBO4 1016 -#define IDC_STATIC -1 - -// Next default values for new objects -// -#ifdef APSTUDIO_INVOKED -#ifndef APSTUDIO_READONLY_SYMBOLS -#define _APS_NEXT_RESOURCE_VALUE 104 -#define _APS_NEXT_COMMAND_VALUE 102 -#define _APS_NEXT_CONTROL_VALUE 1001 -#define _APS_NEXT_SYMED_VALUE 101 -#endif -#endif diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/6308/SDK6308A/Utl6308a.c b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/6308/SDK6308A/Utl6308a.c deleted file mode 100644 index dca8118..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/6308/SDK6308A/Utl6308a.c +++ /dev/null @@ -1,352 +0,0 @@ -#include "windows.h" -#include -#include -#include -#include -#include -#include "dask.h" -#include "resource.h" - -#define IDM_EXIT 110 -#define IDC_DA 300 -#define IDC_SCROLL 400 -#define TIMER1 1 -#define NONE 0 -#define SINE 1 -#define SQUARE 2 - -int PASCAL WinMain(HANDLE, HANDLE, LPSTR, int); -long PASCAL MainWndProc(HWND, UINT, WPARAM, LPARAM); - -HANDLE hInst; -HWND hDAComboBox[8]; -HWND hDAScroll[4]; - -I16 card=-1, card_number = 0; -U16 input=0, output=0; -U16 oldinput=0 ; -//EventHandles hEnts; - - -HBRUSH hLTGreenBrush,hGreenBrush,hBlueBrush,hRedBrush; - -double angle[8] = {0, 0, 0, 0, 0, 0, 0, 0}; -I16 sq[8] = {0, 0, 0, 0, 0, 0, 0, 0}; -I16 pos[4]={0, 0, 0, 0}; - -POINT input_pos[4]= { {110, 40}, {80, 40}, {50, 40}, {20, 40} }; -POINT output_pos[4] ={ {250, 40}, {220, 40}, {190, 40}, {160, 40} }; - -POINT io_pos[24] ={ - {595, 120}, {570, 120}, - {545, 120}, {520, 120}, - {495, 120}, {470, 120}, - {445, 120}, {420, 120}, - {395, 120}, {370, 120}, - {345, 120}, {320, 120}, - {295, 120}, {270, 120}, - {245, 120}, {220, 120}, - {195, 120}, {170, 120}, - {145, 120}, {120, 120}, - {95, 120}, {70, 120}, - { 45, 120}, { 20, 120} - }; - -BOOL InitApplication(HANDLE); -BOOL InitInstance(HANDLE, int); - -int PASCAL WinMain(hInstance, hPrevInstance, lpCmdLine, nCmdShow) -HANDLE hInstance, hPrevInstance; -LPSTR lpCmdLine; -int nCmdShow; -{ - MSG msg; - - if (!hPrevInstance) - if (!InitApplication(hInstance)) return(FALSE); - if (!InitInstance(hInstance, nCmdShow)) return(FALSE); - while (GetMessage(&msg, NULL, NULL, NULL)) { - TranslateMessage(&msg); - DispatchMessage(&msg); - } - return(msg.wParam); -} - -BOOL InitApplication(hInstance) -HANDLE hInstance; -{ - WNDCLASS wc; - - /* Main Window Class */ - wc.style = NULL; - wc.lpfnWndProc = (WNDPROC)MainWndProc; - wc.cbClsExtra = 0; - wc.cbWndExtra = 0; - wc.hInstance = hInstance; - wc.hIcon = LoadIcon(hInstance, "MyIcon"); - wc.hCursor = LoadCursor(NULL, IDC_ARROW); - wc.hbrBackground = GetStockObject(LTGRAY_BRUSH); - wc.lpszMenuName = NULL; - wc.lpszClassName = "GenericWClass"; - if (!RegisterClass(&wc)) return(FALSE); -} - - -BOOL InitInstance(hInstance, nCmdShow) -HANDLE hInstance; -int nCmdShow; -{ - HWND hWnd; - HMENU hSampleMenu; - - hInst = hInstance; - hSampleMenu = LoadMenu(hInstance, "U6308Menu"); - hWnd = CreateWindow("GenericWClass", - (LPCSTR)"PCI6308A", - WS_OVERLAPPEDWINDOW, - CW_USEDEFAULT, - CW_USEDEFAULT, - 618, - 256, - NULL, - hSampleMenu, - hInstance, - NULL); - - if (!hWnd) return(FALSE); - ShowWindow(hWnd, nCmdShow); - UpdateWindow(hWnd); - return(TRUE); -} - -BOOL PASCAL setup(HWND hWnd, unsigned message, WPARAM wParam, LPARAM lParam) -{ - int i,k; - char n[16]; - char s[50]; - switch (message) { - case WM_INITDIALOG: - for (i=0;i<16;i++) { - wsprintf(n, "%d", i); - _strupr(n); - SendMessage(GetDlgItem(hWnd,IDC_COMBO1), CB_ADDSTRING, NULL, (LONG)(LPSTR) n); - } - SendMessage(GetDlgItem(hWnd,IDC_COMBO1) , CB_SETCURSEL, 0, 0L); - - break; - case WM_COMMAND: - switch(LOWORD(wParam)) { - - case IDC_COMBO1: - if (HIWORD(wParam) == CBN_CLOSEUP) { - i = (int)SendMessage(GetDlgItem(hWnd,IDC_COMBO1), CB_GETCURSEL, 0, 0L); - SendMessage(GetDlgItem(hWnd,IDC_COMBO1), CB_GETLBTEXT, i, (LPARAM)((LPCSTR)n)); - card_number = i; - } - return(TRUE); - case IDOK: - if ((card=Register_Card(PCI_6308A, card_number)) < 0) { - wsprintf(s, "Register_Card Error = %d\n", card); - MessageBox(hWnd, s, "Error", MB_OK); - } - EndDialog(hWnd, TRUE); - InvalidateRect(hWnd, NULL, FALSE); - return (TRUE); - case IDCANCEL: - EndDialog(hWnd, TRUE); - return (TRUE); - } - break; - } - return (FALSE); -} - -long PASCAL MainWndProc(hWnd, message, wParam, lParam) -HWND hWnd; -UINT message; -WPARAM wParam; -LPARAM lParam; -{ - HDC hDC; - PAINTSTRUCT ps; - int i, px, py; - double Pi = 3.1415926535; - char s[50]; - - switch(message) { - case WM_CREATE: - DialogBox(hInst,IDD_DIALOG2, hWnd, setup); - if(card < 0) { - SendMessage(hWnd, WM_CLOSE, 0, 0L); - break; - } - for (i=0; i<8; i++) { - hDAComboBox[i]= CreateWindow("ComboBox", NULL, - CBS_DROPDOWNLIST | WS_CHILD | WS_VISIBLE | WS_VSCROLL, - io_pos[i*3].x-60, io_pos[i*3].y, 64, 100, hWnd, IDC_DA+i, hInst, NULL); - SendMessage(hDAComboBox[i], CB_ADDSTRING, NULL, (LONG)(LPSTR)"(None)"); - SendMessage(hDAComboBox[i], CB_SETCURSEL, 0, 0L); - } - - for (i=0;i<4; i++) { - hDAScroll[i]=CreateWindow("SCROLLBAR", NULL, - WS_CHILD | WS_VISIBLE | SBS_HORZ, - io_pos[5+i*6].x-10, io_pos[5+i*6].y+50, 140, 18, hWnd, IDC_SCROLL+i, hInst, NULL); - SetScrollRange(hDAScroll[i],SB_CTL,0,4095,TRUE); - SetScrollPos(hDAScroll[i],SB_CTL,0,FALSE); - } - - hLTGreenBrush = CreateSolidBrush(RGB(0, 255, 0)); - hGreenBrush = CreateSolidBrush(RGB(0, 128, 0)); - hBlueBrush = CreateSolidBrush(RGB(0, 0, 255)); - hRedBrush = CreateSolidBrush(RGB(255, 0, 0)); - - SetTimer(hWnd, TIMER1, 50, NULL); - srand((unsigned)time(NULL)); - AO_6308A_Config(card, P6308_CURRENT_4_20MA); - break; - case WM_PAINT: - hDC = BeginPaint(hWnd, &ps); - - // Digital Input Box - SelectObject(hDC, hLTGreenBrush); - Rectangle(hDC, input_pos[3].x-10, input_pos[3].y-24, input_pos[0].x+26, input_pos[0].y+40); - SetTextColor(hDC,RGB(255,255,255)); - SetBkColor(hDC, RGB(0, 0, 255)); - TextOut(hDC, input_pos[3].x, input_pos[3].y-30, "Digital Input",13); - - // Digital Output Box - SelectObject(hDC, hGreenBrush); - Rectangle(hDC, output_pos[3].x-10, output_pos[3].y-24, output_pos[0].x+26, output_pos[0].y+40); - SetTextColor(hDC,RGB(255,0,0)); - SetBkColor(hDC, RGB(0, 0, 255)); - TextOut(hDC, output_pos[3].x, output_pos[3].y-30, "Digital Output", 14); - - // Analog Output Box - SelectObject(hDC, GetStockObject(GRAY_BRUSH)); - Rectangle(hDC, io_pos[23].x-15, io_pos[23].y-24, io_pos[0].x+10, io_pos[0].y+80); - SetTextColor(hDC,RGB(255,0,0)); - SetBkColor(hDC, RGB(0, 0, 255)); - TextOut(hDC, io_pos[23].x, io_pos[23].y-35, "Analog Output", 13); - - // Channel Label - SetTextColor(hDC,RGB(0,0,0)); - SetBkColor(hDC, RGB(0, 255, 0)); - TextOut(hDC, input_pos[3].x+4, input_pos[3].y+20, "3 0", 23); - SetBkColor(hDC, RGB(0, 128, 0)); - TextOut(hDC, output_pos[3].x+4, output_pos[3].y+20, "3 0", 23); - SetBkColor(hDC, RGB(0, 255, 0)); - - SetBkMode(hDC,TRANSPARENT); - TextOut(hDC,io_pos[21].x-45, output_pos[3].y+64, "A7", 2); - TextOut(hDC,io_pos[18].x-45, output_pos[3].y+64, "A6", 2); - TextOut(hDC,io_pos[21].x-50, output_pos[3].y+112, " 4 12 20",25); - TextOut(hDC,io_pos[15].x-45, output_pos[3].y+64, "A5", 2); - TextOut(hDC,io_pos[12].x-45, output_pos[3].y+64, "A4", 2); - TextOut(hDC,io_pos[15].x-50, output_pos[3].y+112, " 4 12 20",25); - TextOut(hDC,io_pos[9].x-45, output_pos[3].y+64, "A3", 2); - TextOut(hDC,io_pos[6].x-45, output_pos[3].y+64, "A2", 2); - TextOut(hDC,io_pos[9].x-50, output_pos[3].y+112, " 4 12 20",25); - TextOut(hDC,io_pos[3].x-45, output_pos[3].y+64, "A1", 2); - TextOut(hDC,io_pos[0].x-45, output_pos[3].y+64, "A0", 2); - TextOut(hDC,io_pos[3].x-50, output_pos[3].y+112, " 4 12 20",25); - SetBkMode(hDC,OPAQUE); - - // Detect Channel Input - for (i=0; i<4; i++) { - if ((input>>i)&0x01) - SelectObject(hDC, hRedBrush); - else - SelectObject(hDC, GetStockObject(WHITE_BRUSH)); - Ellipse(hDC, input_pos[i].x, input_pos[i].y, input_pos[i].x+20, input_pos[i].y+20); - } - - // Channel Output - for (i=0; i<4; i++) { - if ((output>>i)&0x01) - SelectObject(hDC, hRedBrush); - else - SelectObject(hDC, GetStockObject(WHITE_BRUSH)); - Ellipse(hDC, output_pos[i].x, output_pos[i].y, output_pos[i].x+20, output_pos[i].y+20); - } - - EndPaint(hWnd, &ps); - break; - case WM_COMMAND: - switch(LOWORD(wParam)) { - case IDM_EXIT: - SendMessage(hWnd, WM_CLOSE, 0, 0L); - break; - default: - return(DefWindowProc(hWnd, message, wParam, lParam)); - } - break; - case WM_TIMER: - /* Digital Input */ - DI_ReadPort(card,0,&input); - hDC = GetDC(hWnd); - for (i=0; i<4; i++) { - if ( ((input>>i)&0x01) != ((oldinput>>i)&0x01) ) { - if ((input>>i)&0x01) - SelectObject(hDC, hRedBrush); - else - SelectObject(hDC, GetStockObject(WHITE_BRUSH)); - Ellipse(hDC, input_pos[i].x, input_pos[i].y, input_pos[i].x+20, input_pos[i].y+20); - } - } - oldinput=input; - ReleaseDC(hWnd, hDC); - /* Analog Output */ - for (i=0; i<8; i++) { - AO_WriteChannel(card, i, pos[i/2]); - } - break; - case WM_HSCROLL: - for (i=0; i<4; i++) { - if (lParam == hDAScroll[i]) break; - } - if (i < 4) { - switch(LOWORD(wParam)) { - case SB_THUMBPOSITION : - pos[i] = HIWORD(wParam); - break; - } - SetScrollPos(lParam,SB_CTL,pos[i],TRUE); - } - break; - case WM_DESTROY: - if (card >= 0) Release_Card(card); - DeleteObject(hRedBrush); - DeleteObject(hGreenBrush); - DeleteObject(hLTGreenBrush); - KillTimer(hWnd, TIMER1); - PostQuitMessage(0); - break; - case WM_LBUTTONDOWN: - px = LOWORD(lParam); - py = HIWORD(lParam); - - hDC = GetDC(hWnd); - - for (i=0; i<4; i++) { - if (px>output_pos[i].x && pxoutput_pos[i].y && py>i)&0x01) { - output -= (((U16)1)< -#include -#include -#include -#include -#include "dask.h" - -#define IDM_EXIT 110 -#define IDC_DA 300 -#define IDC_SCROLL 400 -#define TIMER1 1 -#define NONE 0 -#define SINE 1 -#define SQUARE 2 - -int PASCAL WinMain(HANDLE, HANDLE, LPSTR, int); -long PASCAL MainWndProc(HWND, UINT, WPARAM, LPARAM); - -HANDLE hInst; -HWND hDAComboBox[8]; -HWND hDAScroll[4]; - -I16 card=-1, card_number = 0; -U16 input=0, output=0; -U16 oldinput=0 ; -//EventHandles hEnts; - -HBRUSH hLTGreenBrush,hGreenBrush,hBlueBrush,hRedBrush; - -int DA_wave[8] = {NONE, NONE, NONE, NONE, NONE, NONE, NONE, NONE}; -double angle[8] = {0, 0, 0, 0, 0, 0, 0, 0}; -I16 sq[8] = {0, 0, 0, 0, 0, 0, 0, 0}; -I16 pos[4]={0, 0, 0, 0}; - -POINT input_pos[4]= { {110, 40}, {80, 40}, {50, 40}, {20, 40} }; -POINT output_pos[4] ={ {250, 40}, {220, 40}, {190, 40}, {160, 40} }; - -POINT io_pos[24] ={ - {595, 120}, {570, 120}, - {545, 120}, {520, 120}, - {495, 120}, {470, 120}, - {445, 120}, {420, 120}, - {395, 120}, {370, 120}, - {345, 120}, {320, 120}, - {295, 120}, {270, 120}, - {245, 120}, {220, 120}, - {195, 120}, {170, 120}, - {145, 120}, {120, 120}, - {95, 120}, {70, 120}, - { 45, 120}, { 20, 120} - }; - -BOOL InitApplication(HANDLE); -BOOL InitInstance(HANDLE, int); - -int PASCAL WinMain(hInstance, hPrevInstance, lpCmdLine, nCmdShow) -HANDLE hInstance, hPrevInstance; -LPSTR lpCmdLine; -int nCmdShow; -{ - MSG msg; - - if (!hPrevInstance) - if (!InitApplication(hInstance)) return(FALSE); - if (!InitInstance(hInstance, nCmdShow)) return(FALSE); - while (GetMessage(&msg, NULL, NULL, NULL)) { - TranslateMessage(&msg); - DispatchMessage(&msg); - } - return(msg.wParam); -} - -BOOL InitApplication(hInstance) -HANDLE hInstance; -{ - WNDCLASS wc; - - /* Main Window Class */ - wc.style = NULL; - wc.lpfnWndProc = (WNDPROC)MainWndProc; - wc.cbClsExtra = 0; - wc.cbWndExtra = 0; - wc.hInstance = hInstance; - wc.hIcon = LoadIcon(hInstance, "MyIcon"); - wc.hCursor = LoadCursor(NULL, IDC_ARROW); - wc.hbrBackground = GetStockObject(LTGRAY_BRUSH); - wc.lpszMenuName = NULL; - wc.lpszClassName = "GenericWClass"; - if (!RegisterClass(&wc)) return(FALSE); -} - - -BOOL InitInstance(hInstance, nCmdShow) -HANDLE hInstance; -int nCmdShow; -{ - HWND hWnd; - HMENU hSampleMenu; - - hInst = hInstance; - hSampleMenu = LoadMenu(hInstance, "U6308Menu"); - hWnd = CreateWindow("GenericWClass", - (LPCSTR)"PCI6308", - WS_OVERLAPPEDWINDOW, - CW_USEDEFAULT, - CW_USEDEFAULT, - 618, - 256, - NULL, - hSampleMenu, - hInstance, - NULL); - - if (!hWnd) return(FALSE); - ShowWindow(hWnd, nCmdShow); - UpdateWindow(hWnd); - return(TRUE); -} - -long PASCAL MainWndProc(hWnd, message, wParam, lParam) -HWND hWnd; -UINT message; -WPARAM wParam; -LPARAM lParam; -{ - HDC hDC; - PAINTSTRUCT ps; - int i, k, px, py; - double Pi = 3.1415926535; - I16 p; - char s[50]; - double m; - - switch(message) { - case WM_CREATE: - for (i=0; i<8; i++) { - hDAComboBox[i]= CreateWindow("ComboBox", NULL, - CBS_DROPDOWNLIST | WS_CHILD | WS_VISIBLE | WS_VSCROLL, - io_pos[i*3].x-60, io_pos[i*3].y, 64, 100, hWnd, IDC_DA+i, hInst, NULL); - SendMessage(hDAComboBox[i], CB_ADDSTRING, NULL, (LONG)(LPSTR)"(None)"); - SendMessage(hDAComboBox[i], CB_ADDSTRING, NULL, (LONG)(LPSTR)"Sine"); - SendMessage(hDAComboBox[i], CB_ADDSTRING, NULL, (LONG)(LPSTR)"Square"); - SendMessage(hDAComboBox[i], CB_SETCURSEL, 0, 0L); - } - - for (i=0;i<4; i++) { - hDAScroll[i]=CreateWindow("SCROLLBAR", NULL, - WS_CHILD | WS_VISIBLE | SBS_HORZ, - io_pos[5+i*6].x-10, io_pos[5+i*6].y+50, 140, 18, hWnd, IDC_SCROLL+i, hInst, NULL); - SetScrollRange(hDAScroll[i],SB_CTL,0, 4095,TRUE); - SetScrollPos(hDAScroll[i],SB_CTL,0,FALSE); - } - - hLTGreenBrush = CreateSolidBrush(RGB(0, 255, 0)); - hGreenBrush = CreateSolidBrush(RGB(0, 128, 0)); - hBlueBrush = CreateSolidBrush(RGB(0, 0, 255)); - hRedBrush = CreateSolidBrush(RGB(255, 0, 0)); - - SetTimer(hWnd, TIMER1, 50, NULL); - srand((unsigned)time(NULL)); - if ((card=Register_Card(PCI_6308V, card_number)) < 0) { - wsprintf(s, "Register_Card Error = %d\n", card); - MessageBox(hWnd, s, "Error", MB_OK); - SendMessage(hWnd, WM_CLOSE, 0, 0L); - break; - } - break; - case WM_PAINT: - hDC = BeginPaint(hWnd, &ps); - - // Digital Input Box - SelectObject(hDC, hLTGreenBrush); - Rectangle(hDC, input_pos[3].x-10, input_pos[3].y-24, input_pos[0].x+26, input_pos[0].y+40); - SetTextColor(hDC,RGB(255,255,255)); - SetBkColor(hDC, RGB(0, 0, 255)); - TextOut(hDC, input_pos[3].x, input_pos[3].y-30, "Digital Input",13); - - // Digital Output Box - SelectObject(hDC, hGreenBrush); - Rectangle(hDC, output_pos[3].x-10, output_pos[3].y-24, output_pos[0].x+26, output_pos[0].y+40); - SetTextColor(hDC,RGB(255,0,0)); - SetBkColor(hDC, RGB(0, 0, 255)); - TextOut(hDC, output_pos[3].x, output_pos[3].y-30, "Digital Output", 14); - - // Analog Output Box - SelectObject(hDC, GetStockObject(GRAY_BRUSH)); - Rectangle(hDC, io_pos[23].x-15, io_pos[23].y-24, io_pos[0].x+10, io_pos[0].y+80); - SetTextColor(hDC,RGB(255,0,0)); - SetBkColor(hDC, RGB(0, 0, 255)); - TextOut(hDC, io_pos[23].x, io_pos[23].y-35, "Analog Output", 13); - - // Channel Label - SetTextColor(hDC,RGB(0,0,0)); - SetBkColor(hDC, RGB(0, 255, 0)); - TextOut(hDC, input_pos[3].x+4, input_pos[3].y+20, "3 0", 23); - SetBkColor(hDC, RGB(0, 128, 0)); - TextOut(hDC, output_pos[3].x+4, output_pos[3].y+20, "3 0", 23); - SetBkColor(hDC, RGB(0, 255, 0)); - - SetBkMode(hDC,TRANSPARENT); - TextOut(hDC,io_pos[21].x-45, output_pos[3].y+64, "V7", 2); - TextOut(hDC,io_pos[18].x-45, output_pos[3].y+64, "V6", 2); - TextOut(hDC,io_pos[21].x-50, output_pos[3].y+112, "-10 0 10",25); - TextOut(hDC,io_pos[15].x-45, output_pos[3].y+64, "V5", 2); - TextOut(hDC,io_pos[12].x-45, output_pos[3].y+64, "V4", 2); - TextOut(hDC,io_pos[15].x-50, output_pos[3].y+112, "-10 0 10",25); - TextOut(hDC,io_pos[9].x-45, output_pos[3].y+64, "V3", 2); - TextOut(hDC,io_pos[6].x-45, output_pos[3].y+64, "V2", 2); - TextOut(hDC,io_pos[9].x-50, output_pos[3].y+112, "-10 0 10",25); - TextOut(hDC,io_pos[3].x-45, output_pos[3].y+64, "V1", 2); - TextOut(hDC,io_pos[0].x-45, output_pos[3].y+64, "V0", 2); - TextOut(hDC,io_pos[3].x-50, output_pos[3].y+112, "-10 0 10",25); - SetBkMode(hDC,OPAQUE); - - // Detect Channel Input - for (i=0; i<4; i++) { - if ((input>>i)&0x01) - SelectObject(hDC, hRedBrush); - else - SelectObject(hDC, GetStockObject(WHITE_BRUSH)); - Ellipse(hDC, input_pos[i].x, input_pos[i].y, input_pos[i].x+20, input_pos[i].y+20); - } - - // Channel Output - for (i=0; i<4; i++) { - if ((output>>i)&0x01) - SelectObject(hDC, hRedBrush); - else - SelectObject(hDC, GetStockObject(WHITE_BRUSH)); - Ellipse(hDC, output_pos[i].x, output_pos[i].y, output_pos[i].x+20, output_pos[i].y+20); - } - - EndPaint(hWnd, &ps); - break; - case WM_COMMAND: - switch(LOWORD(wParam)) { - case IDM_EXIT: - SendMessage(hWnd, WM_CLOSE, 0, 0L); - break; - case IDC_DA: - case IDC_DA+1: - case IDC_DA+2: - case IDC_DA+3: - case IDC_DA+4: - case IDC_DA+5: - case IDC_DA+6: - case IDC_DA+7: - k = LOWORD(wParam)-IDC_DA; - if (HIWORD(wParam)==CBN_CLOSEUP) - DA_wave[k]=SendMessage(hDAComboBox[k],CB_GETCURSEL,0,0L); - break; - default: - return(DefWindowProc(hWnd, message, wParam, lParam)); - } - break; - case WM_TIMER: - /* Digital Input */ - DI_ReadPort(card,0,&input); - hDC = GetDC(hWnd); - for (i=0; i<4; i++) { - if ( ((input>>i)&0x01) != ((oldinput>>i)&0x01) ) { - if ((input>>i)&0x01) - SelectObject(hDC, hRedBrush); - else - SelectObject(hDC, GetStockObject(WHITE_BRUSH)); - Ellipse(hDC, input_pos[i].x, input_pos[i].y, input_pos[i].x+20, input_pos[i].y+20); - } - } - oldinput=input; - ReleaseDC(hWnd, hDC); - /* Analog Output */ - for (i=0; i<8; i++) { - switch (DA_wave[i]) { - case NONE: - AO_WriteChannel(card, i, pos[i/2]); - break; - case SINE: - m = sin(angle[i]); - angle[i] = angle[i] + Pi / 36; - p = ((U16) (m * 32)) & 0xfff; - AO_WriteChannel(card, i, p); - break; - case SQUARE: - AO_WriteChannel(card, i, sq[i]); - if (((int)(angle[i]) % 36) == 0) - if (sq[i] == 4095) sq[i] = 0; else sq[i] = 4095; - angle[i] = angle[i] + 1; - break; - } - } - break; - case WM_HSCROLL: - for (i=0; i<4; i++) { - if (lParam == hDAScroll[i]) break; - } - if (i < 4) { - switch(LOWORD(wParam)) { - case SB_THUMBPOSITION : - pos[i] = HIWORD(wParam); - break; - } - SetScrollPos(lParam,SB_CTL,pos[i],TRUE); - } - break; - case WM_DESTROY: - if (card >= 0) Release_Card(card); - DeleteObject(hRedBrush); - DeleteObject(hGreenBrush); - DeleteObject(hLTGreenBrush); - KillTimer(hWnd, TIMER1); - PostQuitMessage(0); - break; - case WM_LBUTTONDOWN: - px = LOWORD(lParam); - py = HIWORD(lParam); - - hDC = GetDC(hWnd); - - for (i=0; i<4; i++) { - if (px>output_pos[i].x && pxoutput_pos[i].y && py>i)&0x01) { - output -= (((U16)1)<= 1 Then - ArcCos = 0 - Exit Function - End If - ArcCos = Atn(-p / Sqr(-p * p + 1)) + 1.5708 -End Function - - - - -Private Sub Form_Load() - Dim result As Integer - SettingForm.Show 1 - If card < 0 Then - MsgBox "Register Card Failed" - End - End If - For i = 0 To 7 - cobChannel.AddItem i - Next - cobChannel.ListIndex = 0 - 'For tuner - x0 = pin.X1 - y0 = pin.Y1 - l = Sqr(((pin.X2 - x0) ^ 2) + ((pin.Y2 - y0) ^ 2)) - lb = 4 - ub = 20 - For i = 0 To 5 - mark(i).Caption = Format(i * (ub - lb) / 5 + lb, "#0") - Next - AO_value.Caption = Format(lb, "#0.00") - result = AO_6308A_Config(card, P6308_CURRENT_4_20MA) -End Sub - - -Private Sub Form_Unload(Cancel As Integer) - Dim result As Integer - If card >= 0 Then - result = Release_Card(card) - End If - End -End Sub - - -Private Sub mnuExit_Click() - Dim result As Integer - If card >= 0 Then - result = Release_Card(card) - End If - End -End Sub - - -Private Sub tuner_MouseDown(Button As Integer, Shift As Integer, X As Single, Y As Single) - Dim dx As Integer, dy As Integer - dx = X + tuner.Left - pin.X2 - dy = Y + tuner.Top - pin.Y2 - If dx > -50 And dx < 50 And dy > -50 And dy < 50 Then - DragOn = True - End If -End Sub - - -Private Sub tuner_MouseMove(Button As Integer, Shift As Integer, X As Single, Y As Single) - Dim r As Single, p As Single - Dim d As Long - Dim dx As Long, dy As Long - Dim q As Integer, result As Integer - If DragOn Then - dx = X + tuner.Left - x0 - dy = Y + tuner.Top - y0 - d = Sqr(dx ^ 2 + dy ^ 2) - r = ArcCos(CSng(dx / d)) - If dy > 0 And dx < 0 Then r = 2 * Pi - r - If dy > 0 And dx >= 0 Then r = -r - If r <= MaxAngle And r >= MinAngle Then - pin.X2 = x0 + CInt(l * dx / d) - pin.Y2 = y0 + CInt(l * dy / d) - p = ub - (ub - lb) * (2 * r + Pi / 2) / (3 * Pi) - If p > ub Then - p = ub - ElseIf p < lb Then - p = lb - End If - AO_value.Caption = Format(p, "#0.00") - q = CInt((p - lb) * 4095 / (ub - lb)) - result = AO_WriteChannel(card, cobChannel.ListIndex, q) - - End If - End If -End Sub - - -Private Sub tuner_MouseUp(Button As Integer, Shift As Integer, X As Single, Y As Single) - DragOn = False -End Sub - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/6308/VB6308A/Util6308a.frx b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/6308/VB6308A/Util6308a.frx deleted file mode 100644 index 3137ee7..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/6308/VB6308A/Util6308a.frx and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/6308/VB6308A/Utl6308a.Vbp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/6308/VB6308A/Utl6308a.Vbp deleted file mode 100644 index ee0a050..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/6308/VB6308A/Utl6308a.Vbp +++ /dev/null @@ -1,20 +0,0 @@ -Form=Util6308a.Frm -Module=DASK; ..\..\..\Include\Dask.bas -Module=Module1; 6308glbl.bas -Form=Base6308.frm -Reference=*\G{BEF6E001-A874-101A-8BBA-00AA00300CAB}#2.0#0#F:\WINNT\System32\OLEPRO32.DLL#Standard OLE Types -Reference=*\G{EE008642-64A8-11CE-920F-08002B369A33}#1.0#0#F:\WINNT\System32\MSRDO32.DLL#Microsoft Remote Data Object 1.0 -ProjWinSize=69,575,248,215 -ProjWinShow=2 -IconForm="Util6308" -ExeName32="Utl6308a.exe" -Name="Project1" -HelpContextID="0" -StartMode=0 -VersionCompatible32="0" -MajorVer=1 -MinorVer=0 -RevisionVer=0 -AutoIncrementVer=0 -ServerSupportFiles=0 -VersionCompanyName="ADLINK" diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/6308/VB6308A/Utl6308a.vbw b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/6308/VB6308A/Utl6308a.vbw deleted file mode 100644 index 2d6115c..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/6308/VB6308A/Utl6308a.vbw +++ /dev/null @@ -1,4 +0,0 @@ -Util6308 = 132, 132, 499, 471, Z, 88, 88, 455, 427, -DASK = 0, 0, 0, 0, C -Module1 = 0, 0, 0, 0, C -SettingForm = 0, 0, 456, 274, , 0, 0, 0, 0, C diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/6308/VB6308V/6308GLBL.BAS b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/6308/VB6308V/6308GLBL.BAS deleted file mode 100644 index 77a2e7f..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/6308/VB6308V/6308GLBL.BAS +++ /dev/null @@ -1,4 +0,0 @@ -Attribute VB_Name = "Module1" -Global card As Integer -Global card_number As Integer - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/6308/VB6308V/Base6308.frm b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/6308/VB6308V/Base6308.frm deleted file mode 100644 index 421cb1b..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/6308/VB6308V/Base6308.frm +++ /dev/null @@ -1,99 +0,0 @@ -VERSION 4.00 -Begin VB.Form SettingForm - Appearance = 0 'Flat - BackColor = &H00C0C0C0& - Caption = "Card Number Setting" - ClientHeight = 1275 - ClientLeft = 4590 - ClientTop = 4545 - ClientWidth = 2820 - BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851} - Name = "MS Sans Serif" - Size = 8.25 - Charset = 0 - Weight = 700 - Underline = 0 'False - Italic = 0 'False - Strikethrough = 0 'False - EndProperty - ForeColor = &H80000008& - Height = 1680 - Left = 4530 - LinkTopic = "Form2" - ScaleHeight = 1275 - ScaleWidth = 2820 - Top = 4200 - Width = 2940 - Begin VB.CommandButton OKBtn - Appearance = 0 'Flat - BackColor = &H80000005& - Caption = "OK" - Default = -1 'True - Height = 315 - Left = 300 - TabIndex = 0 - Top = 720 - Width = 915 - End - Begin VB.CommandButton CancelBtn - Appearance = 0 'Flat - BackColor = &H80000005& - Cancel = -1 'True - Caption = "Cancel" - Height = 315 - Left = 1380 - TabIndex = 3 - Top = 720 - Width = 915 - End - Begin VB.ComboBox CardNum - Appearance = 0 'Flat - Height = 300 - Left = 1440 - Style = 2 'Dropdown List - TabIndex = 2 - Top = 120 - Width = 1035 - End - Begin VB.Label Label2 - Appearance = 0 'Flat - BackColor = &H00C0C0C0& - Caption = "Card Number:" - ForeColor = &H00000000& - Height = 195 - Index = 0 - Left = 180 - TabIndex = 1 - Top = 180 - Width = 1275 - End -End -Attribute VB_Name = "SettingForm" -Attribute VB_Creatable = False -Attribute VB_Exposed = False - - -Private Sub BaseAddr_Change() - -End Sub - - -Private Sub CancelBtn_Click() - Unload SettingForm -End Sub - -Private Sub Form_Load() - Dim i As Long - For i = 0 To 15 Step 1 - CardNum.AddItem i - Next - CardNum.ListIndex = 0 -End Sub - -Private Sub OKBtn_Click() - card = -1 - card_number = CardNum.ListIndex - card = Register_Card(PCI_6308V, card_number) - Unload SettingForm -End Sub - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/6308/VB6308V/Util6308.Frm b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/6308/VB6308V/Util6308.Frm deleted file mode 100644 index bd10889..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/6308/VB6308V/Util6308.Frm +++ /dev/null @@ -1,310 +0,0 @@ -VERSION 4.00 -Begin VB.Form Util6308V - Caption = "PCI-6308V" - ClientHeight = 2835 - ClientLeft = 3390 - ClientTop = 2445 - ClientWidth = 2550 - Height = 3525 - Left = 3330 - LinkTopic = "Form1" - ScaleHeight = 2835 - ScaleWidth = 2550 - Top = 1815 - Width = 2670 - Begin VB.ComboBox cobChannel - Height = 315 - Left = 1560 - Style = 2 'Dropdown List - TabIndex = 8 - TabStop = 0 'False - Top = 240 - Width = 795 - End - Begin VB.Frame Frame2 - Caption = "Current Output" - BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851} - Name = "MS Sans Serif" - Size = 9.75 - Charset = 0 - Weight = 700 - Underline = 0 'False - Italic = 0 'False - Strikethrough = 0 'False - EndProperty - ForeColor = &H00FF0000& - Height = 1815 - Left = 300 - TabIndex = 0 - Top = 780 - Width = 1935 - Begin VB.Label Label2 - Caption = "V" - BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851} - Name = "MS Sans Serif" - Size = 9.75 - Charset = 0 - Weight = 700 - Underline = 0 'False - Italic = 0 'False - Strikethrough = 0 'False - EndProperty - Height = 225 - Left = 1320 - TabIndex = 10 - Top = 1440 - Width = 375 - End - Begin VB.Label AO_value - Alignment = 1 'Right Justify - Appearance = 0 'Flat - BackColor = &H0000FFFF& - BorderStyle = 1 'Fixed Single - Caption = "-5.0" - BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851} - Name = "MS Sans Serif" - Size = 9.75 - Charset = 0 - Weight = 700 - Underline = 0 'False - Italic = 0 'False - Strikethrough = 0 'False - EndProperty - ForeColor = &H80000008& - Height = 255 - Left = 600 - TabIndex = 7 - Top = 1440 - Width = 675 - End - Begin VB.Line pin - BorderColor = &H0000FFFF& - BorderWidth = 2 - X1 = 960 - X2 = 840 - Y1 = 900 - Y2 = 1020 - End - Begin VB.Label mark - Alignment = 2 'Center - Appearance = 0 'Flat - BackColor = &H00C0C0C0& - Caption = "0" - ForeColor = &H80000008& - Height = 195 - Index = 0 - Left = 360 - TabIndex = 6 - Top = 1200 - Width = 315 - End - Begin VB.Label mark - Alignment = 2 'Center - Appearance = 0 'Flat - BackColor = &H00C0C0C0& - Caption = "1" - ForeColor = &H80000008& - Height = 195 - Index = 1 - Left = 360 - TabIndex = 5 - Top = 720 - Width = 195 - End - Begin VB.Label mark - Alignment = 2 'Center - Appearance = 0 'Flat - BackColor = &H00C0C0C0& - Caption = "2" - ForeColor = &H80000008& - Height = 195 - Index = 2 - Left = 660 - TabIndex = 4 - Top = 300 - Width = 195 - End - Begin VB.Label mark - Alignment = 2 'Center - Appearance = 0 'Flat - BackColor = &H00C0C0C0& - Caption = "3" - ForeColor = &H80000008& - Height = 195 - Index = 3 - Left = 1140 - TabIndex = 3 - Top = 300 - Width = 195 - End - Begin VB.Label mark - Alignment = 2 'Center - Appearance = 0 'Flat - BackColor = &H00C0C0C0& - Caption = "4" - ForeColor = &H80000008& - Height = 195 - Index = 4 - Left = 1440 - TabIndex = 2 - Top = 720 - Width = 195 - End - Begin VB.Label mark - Alignment = 2 'Center - Appearance = 0 'Flat - BackColor = &H00C0C0C0& - Caption = "5" - ForeColor = &H80000008& - Height = 195 - Index = 5 - Left = 1320 - TabIndex = 1 - Top = 1200 - Width = 195 - End - Begin VB.Image tuner - Appearance = 0 'Flat - Height = 750 - Left = 540 - Picture = "Util6308.frx":0000 - Top = 480 - Width = 900 - End - End - Begin VB.Label Label1 - Caption = "Output Channel:" - BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851} - Name = "MS Sans Serif" - Size = 8.25 - Charset = 0 - Weight = 700 - Underline = 0 'False - Italic = 0 'False - Strikethrough = 0 'False - EndProperty - Height = 255 - Left = 120 - TabIndex = 9 - Top = 300 - Width = 1455 - End - Begin VB.Menu mnuExit - Caption = "E&xit!" - End -End -Attribute VB_Name = "Util6308V" -Attribute VB_Creatable = False -Attribute VB_Exposed = False -'For tuner -Const Pi = 3.14159 -Const MaxAngle = 4 '5Pi/4 -Const MinAngle = -0.8 '-Pi/4 - -Dim x0 As Integer, y0 As Integer -Dim DragOn As Integer -Dim l As Integer -Dim lb As Single, ub As Single -'Dim hEnts As EventHandles -Private Function ArcCos(p As Single) As Single - If p <= -1 Then - ArcCos = Pi - Exit Function - ElseIf p >= 1 Then - ArcCos = 0 - Exit Function - End If - ArcCos = Atn(-p / Sqr(-p * p + 1)) + 1.5708 -End Function - - - - -Private Sub Form_Load() - Dim result As Integer - SettingForm.Show 1 - If card < 0 Then - MsgBox "Register Card Failed" - End - End If - For i = 0 To 7 - cobChannel.AddItem i - Next - cobChannel.ListIndex = 0 - 'For tuner - x0 = pin.X1 - y0 = pin.Y1 - l = Sqr(((pin.X2 - x0) ^ 2) + ((pin.Y2 - y0) ^ 2)) - 'lb = 4 - lb = -10 - 'ub = 20 - ub = 10 - For i = 0 To 5 - mark(i).Caption = Format(i * (ub - lb) / 5 + lb, "#0") - Next - AO_value.Caption = Format(lb, "#0.00") -End Sub - - -Private Sub Form_Unload(Cancel As Integer) - Dim result As Integer - If card >= 0 Then - result = Release_Card(card) - End If - End -End Sub - - -Private Sub mnuExit_Click() - Dim result As Integer - If card >= 0 Then - result = Release_Card(card) - End If - End -End Sub - - -Private Sub tuner_MouseDown(Button As Integer, Shift As Integer, X As Single, Y As Single) - Dim dx As Integer, dy As Integer - dx = X + tuner.Left - pin.X2 - dy = Y + tuner.Top - pin.Y2 - If dx > -50 And dx < 50 And dy > -50 And dy < 50 Then - DragOn = True - End If -End Sub - - -Private Sub tuner_MouseMove(Button As Integer, Shift As Integer, X As Single, Y As Single) - Dim r As Single, p As Single - Dim d As Long - Dim dx As Long, dy As Long - Dim q As Integer, result As Integer - If DragOn Then - dx = X + tuner.Left - x0 - dy = Y + tuner.Top - y0 - d = Sqr(dx ^ 2 + dy ^ 2) - r = ArcCos(CSng(dx / d)) - If dy > 0 And dx < 0 Then r = 2 * Pi - r - If dy > 0 And dx >= 0 Then r = -r - If r <= MaxAngle And r >= MinAngle Then - pin.X2 = x0 + CInt(l * dx / d) - pin.Y2 = y0 + CInt(l * dy / d) - p = ub - (ub - lb) * (2 * r + Pi / 2) / (3 * Pi) - If p > ub Then - p = ub - ElseIf p < lb Then - p = lb - End If - AO_value.Caption = Format(p, "#0.00") - q = Int((p - lb) * 4095 / (ub - lb)) - result = AO_WriteChannel(card, cobChannel.ListIndex, q) - End If - End If -End Sub - - -Private Sub tuner_MouseUp(Button As Integer, Shift As Integer, X As Single, Y As Single) - DragOn = False -End Sub - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/6308/VB6308V/Util6308.Vbp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/6308/VB6308V/Util6308.Vbp deleted file mode 100644 index 5d0feda..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/6308/VB6308V/Util6308.Vbp +++ /dev/null @@ -1,21 +0,0 @@ -Form=Util6308.Frm -Module=DASK; ..\..\..\Include\Dask.bas -Module=Module1; 6308glbl.bas -Form=Base6308.frm -Reference=*\G{BEF6E001-A874-101A-8BBA-00AA00300CAB}#2.0#0#F:\WINNT\System32\OLEPRO32.DLL#Standard OLE Types -Reference=*\G{EE008642-64A8-11CE-920F-08002B369A33}#1.0#0#F:\WINNT\System32\MSRDO32.DLL#Microsoft Remote Data Object 1.0 -ProjWinSize=69,575,248,215 -ProjWinShow=2 -IconForm="Util6308V" -HelpFile="" -ExeName32="Util6308v.exe" -Name="Project1" -HelpContextID="0" -StartMode=0 -VersionCompatible32="0" -MajorVer=1 -MinorVer=0 -RevisionVer=0 -AutoIncrementVer=0 -ServerSupportFiles=0 -VersionCompanyName="ADLINK" diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/6308/VB6308V/Util6308.frx b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/6308/VB6308V/Util6308.frx deleted file mode 100644 index 3137ee7..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/6308/VB6308V/Util6308.frx and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/6308/VB6308V/Util6308.vbw b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/6308/VB6308V/Util6308.vbw deleted file mode 100644 index 9ee5d71..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/6308/VB6308V/Util6308.vbw +++ /dev/null @@ -1,4 +0,0 @@ -Util6308V = 0, 0, 0, 0, C, 22, 22, 389, 361, Z -DASK = 0, 0, 0, 0, C -Module1 = 0, 0, 0, 0, C -SettingForm = 0, 0, 0, 0, C, 66, 66, 433, 405, diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7200/C7200DbfFile/7200DBF.exe b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7200/C7200DbfFile/7200DBF.exe deleted file mode 100644 index f2aa66b..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7200/C7200DbfFile/7200DBF.exe and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7200/C7200DbfFile/7200DBF.mak b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7200/C7200DbfFile/7200DBF.mak deleted file mode 100644 index 1d05d55..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7200/C7200DbfFile/7200DBF.mak +++ /dev/null @@ -1,196 +0,0 @@ -# Microsoft Developer Studio Generated NMAKE File, Format Version 4.00 -# ** DO NOT EDIT ** - -# TARGTYPE "Win32 (x86) Console Application" 0x0103 - -!IF "$(CFG)" == "" -CFG=7200DBF - Win32 Debug -!MESSAGE No configuration specified. Defaulting to 7200DBF - Win32 Debug. -!ENDIF - -!IF "$(CFG)" != "7200DBF - Win32 Release" && "$(CFG)" !=\ - "7200DBF - Win32 Debug" -!MESSAGE Invalid configuration "$(CFG)" specified. -!MESSAGE You can specify a configuration when running NMAKE on this makefile -!MESSAGE by defining the macro CFG on the command line. For example: -!MESSAGE -!MESSAGE NMAKE /f "7200DBF.mak" CFG="7200DBF - Win32 Debug" -!MESSAGE -!MESSAGE Possible choices for configuration are: -!MESSAGE -!MESSAGE "7200DBF - Win32 Release" (based on "Win32 (x86) Console Application") -!MESSAGE "7200DBF - Win32 Debug" (based on "Win32 (x86) Console Application") -!MESSAGE -!ERROR An invalid configuration is specified. -!ENDIF - -!IF "$(OS)" == "Windows_NT" -NULL= -!ELSE -NULL=nul -!ENDIF -################################################################################ -# Begin Project -# PROP Target_Last_Scanned "7200DBF - Win32 Debug" -CPP=cl.exe -RSC=rc.exe - -!IF "$(CFG)" == "7200DBF - Win32 Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "Release" -# PROP BASE Intermediate_Dir "Release" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "" -# PROP Intermediate_Dir "Release" -# PROP Target_Dir "" -OUTDIR=. -INTDIR=.\Release - -ALL : "$(OUTDIR)\7200DBF.exe" - -CLEAN : - -@erase ".\7200DBF.exe" - -@erase ".\Release\7200DbF.obj" - -"$(INTDIR)" : - if not exist "$(INTDIR)/$(NULL)" mkdir "$(INTDIR)" - -# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /YX /c -# ADD CPP /nologo /W3 /GX /O2 /I "..\..\..\include" /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /c -# SUBTRACT CPP /YX -CPP_PROJ=/nologo /ML /W3 /GX /O2 /I "..\..\..\include" /D "WIN32" /D "NDEBUG"\ - /D "_CONSOLE" /Fo"$(INTDIR)/" /c -CPP_OBJS=.\Release/ -CPP_SBRS= -# ADD BASE RSC /l 0x404 /d "NDEBUG" -# ADD RSC /l 0x404 /d "NDEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -BSC32_FLAGS=/nologo /o"$(OUTDIR)/7200DBF.bsc" -BSC32_SBRS= -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ..\..\..\lib\pci-dask.lib /nologo /subsystem:console /machine:I386 -LINK32_FLAGS=kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib\ - advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib\ - odbccp32.lib ..\..\..\lib\pci-dask.lib /nologo /subsystem:console\ - /incremental:no /pdb:"$(OUTDIR)/7200DBF.pdb" /machine:I386\ - /out:"$(OUTDIR)/7200DBF.exe" -LINK32_OBJS= \ - ".\Release\7200DbF.obj" - -"$(OUTDIR)\7200DBF.exe" : "$(OUTDIR)" $(DEF_FILE) $(LINK32_OBJS) - $(LINK32) @<< - $(LINK32_FLAGS) $(LINK32_OBJS) -<< - -!ELSEIF "$(CFG)" == "7200DBF - Win32 Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "Debug" -# PROP BASE Intermediate_Dir "Debug" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "" -# PROP Intermediate_Dir "Debug" -# PROP Target_Dir "" -OUTDIR=. -INTDIR=.\Debug - -ALL : "$(OUTDIR)\7200DBF.exe" - -CLEAN : - -@erase ".\Debug\vc40.pdb" - -@erase ".\Debug\vc40.idb" - -@erase ".\7200DBF.exe" - -@erase ".\Debug\7200DbF.obj" - -@erase ".\7200DBF.ilk" - -@erase ".\7200DBF.pdb" - -"$(INTDIR)" : - if not exist "$(INTDIR)/$(NULL)" mkdir "$(INTDIR)" - -# ADD BASE CPP /nologo /W3 /Gm /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /YX /c -# ADD CPP /nologo /W3 /Gm /GX /Zi /Od /I "..\..\..\include" /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /c -# SUBTRACT CPP /YX -CPP_PROJ=/nologo /MLd /W3 /Gm /GX /Zi /Od /I "..\..\..\include" /D "WIN32" /D\ - "_DEBUG" /D "_CONSOLE" /Fo"$(INTDIR)/" /Fd"$(INTDIR)/" /c -CPP_OBJS=.\Debug/ -CPP_SBRS= -# ADD BASE RSC /l 0x404 /d "_DEBUG" -# ADD RSC /l 0x404 /d "_DEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -BSC32_FLAGS=/nologo /o"$(OUTDIR)/7200DBF.bsc" -BSC32_SBRS= -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /debug /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ..\..\..\lib\pci-dask.lib /nologo /subsystem:console /debug /machine:I386 -LINK32_FLAGS=kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib\ - advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib\ - odbccp32.lib ..\..\..\lib\pci-dask.lib /nologo /subsystem:console\ - /incremental:yes /pdb:"$(OUTDIR)/7200DBF.pdb" /debug /machine:I386\ - /out:"$(OUTDIR)/7200DBF.exe" -LINK32_OBJS= \ - ".\Debug\7200DbF.obj" - -"$(OUTDIR)\7200DBF.exe" : "$(OUTDIR)" $(DEF_FILE) $(LINK32_OBJS) - $(LINK32) @<< - $(LINK32_FLAGS) $(LINK32_OBJS) -<< - -!ENDIF - -.c{$(CPP_OBJS)}.obj: - $(CPP) $(CPP_PROJ) $< - -.cpp{$(CPP_OBJS)}.obj: - $(CPP) $(CPP_PROJ) $< - -.cxx{$(CPP_OBJS)}.obj: - $(CPP) $(CPP_PROJ) $< - -.c{$(CPP_SBRS)}.sbr: - $(CPP) $(CPP_PROJ) $< - -.cpp{$(CPP_SBRS)}.sbr: - $(CPP) $(CPP_PROJ) $< - -.cxx{$(CPP_SBRS)}.sbr: - $(CPP) $(CPP_PROJ) $< - -################################################################################ -# Begin Target - -# Name "7200DBF - Win32 Release" -# Name "7200DBF - Win32 Debug" - -!IF "$(CFG)" == "7200DBF - Win32 Release" - -!ELSEIF "$(CFG)" == "7200DBF - Win32 Debug" - -!ENDIF - -################################################################################ -# Begin Source File - -SOURCE=.\7200DbF.c -DEP_CPP_7200D=\ - ".\..\..\..\include\dask.h"\ - - -"$(INTDIR)\7200DbF.obj" : $(SOURCE) $(DEP_CPP_7200D) "$(INTDIR)" - - -# End Source File -# End Target -# End Project -################################################################################ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7200/C7200DbfFile/7200DBF.mdp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7200/C7200DbfFile/7200DBF.mdp deleted file mode 100644 index 4cc7061..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7200/C7200DbfFile/7200DBF.mdp and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7200/C7200DbfFile/7200DbF.c b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7200/C7200DbfFile/7200DbF.c deleted file mode 100644 index 75900fe..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7200/C7200DbfFile/7200DbF.c +++ /dev/null @@ -1,70 +0,0 @@ -#include -#include -#include -#include "dask.h" - -char *file_name="7200d"; -U32 DoBuf[2000]; -U32 read_count=2000; -F64 sample_rate=1000; - -main() -{ - I16 card, err, card_num; - U32 i; - BOOLEAN halfReady; - U32 count=0, count1; - - printf("This program inputs %d data by PCI-7200 in %d Hz by double-buffer mode, and store data to file '%s.dat'. It will not stop until you press a key.\n\nPress any key to start the operation.\n", - read_count, (int)sample_rate, file_name); - printf("Please input a card number: "); - scanf(" %d", &card_num); - //getch(); - if ((card=Register_Card (PCI_7200, card_num)) <0 ) { - printf("Register_Card error=%d\n", card); - exit(1); - } - for (i=0; i -#include -#include -#include "dask.h" - -U32 DoBuf[2000]; -char *file_name="7200d"; -U32 read_count=2000; -F64 sample_rate=10000; - -main() -{ - I16 card, err, card_num; - BOOLEAN bStopped; - U32 count, i; - - printf("This program inputs and outputs %d data by PCI-7200 in %d Hz simultaneously, and store input data to file '%s.dat'.\n\nPress any key to start the operation.\n", read_count, (int)sample_rate, file_name); - printf("Please input a card number: "); - scanf(" %d", &card_num); - //getch(); - if ((card=Register_Card (PCI_7200, card_num)) <0 ) { - printf("Register_Card error=%d\n", card); - exit(1); - } - for (i=0; i -#include -#include -#include -#include -#include "resource.h" -#include "Dask.h" - -#define IDM_EXIT 110 -#define IDC_SCROLL 207 -#define IDC_START 208 -#define IDC_STOP 209 -#define IDC_EDIT 211 -#define IDC_EDIT1 214 -#define IDC_SHOW 213 -#define IDC_DA 400 - -#define PI 3.14159 - -int PASCAL WinMain(HANDLE, HANDLE, LPSTR, int); -long PASCAL MainWndProc(HWND, UINT, WPARAM, LPARAM); -BOOL PASCAL ShowDMA(HWND, UINT, WPARAM, LPARAM); - -HANDLE hInst; -HWND hListBox; -HWND hEdit,hEdit1, hStart, hStop; - -HBRUSH hBlackBrush; -HPEN hRedPen, hBlackPen; -HWND hMainWnd; - -U32 sample_rate=10000; - -U32 data_size=1000, mem_size; -HANDLE hMem=NULL; -U32 *pMem; - -I16 card=-1, card_number = 0; -BOOLEAN bStopped; -U32 count; -//EventHandles hEnts; -#ifdef SELF_OUTPUT -U32 DoBuf[10240]; -BOOLEAN bOutStopped; -ULONG out_count; -#endif - -HANDLE hThread; -BOOLEAN clear_op; - -POINT input_pos[16]= {{470, 280}, {440, 280}, - {410, 280}, {380, 280}, - {350, 280}, {320, 280}, - { 290, 280}, {260, 280}, - {230, 280}, {200, 280}, - {170, 280}, {140, 280}, - {110, 280}, {80, 280}, - { 50, 280}, { 20, 280}, - }; -POINT output_pos[16] ={ - {470, 340}, {440, 340}, - {410, 340}, {380, 340}, - {350, 340}, {320, 340}, - { 290, 340}, {260, 340}, - {230, 340}, {200, 340}, - {170, 340}, {140, 340}, - {110, 340}, {80, 340}, - { 50, 340}, { 20, 340}, - }; - -POINT io_pos[16] ={ - {395, 40}, {370, 40}, - {345, 40}, {320, 40}, - {295, 40}, {270, 40}, - { 245, 40}, {220, 40}, - {195, 40}, {170, 40}, - {145, 40}, {120, 40}, - {95, 40}, {70, 40}, - { 45, 40}, { 20, 40}, - }; - -BOOL InitApplication(HANDLE); -BOOL InitInstance(HANDLE, int); -void ProcessThread(void* pArg); - -int PASCAL WinMain(hInstance, hPrevInstance, lpCmdLine, nCmdShow) -HANDLE hInstance, hPrevInstance; -LPSTR lpCmdLine; -int nCmdShow; -{ - MSG msg; - - if (!hPrevInstance) - if (!InitApplication(hInstance)) return(FALSE); - if (!InitInstance(hInstance, nCmdShow)) return(FALSE); - while (GetMessage(&msg, NULL, NULL, NULL)) { - TranslateMessage(&msg); - DispatchMessage(&msg); - } - return(msg.wParam); -} - -BOOL InitApplication(hInstance) -HANDLE hInstance; -{ - WNDCLASS wc; - - /* Main Window Class */ - wc.style = NULL; - wc.lpfnWndProc = (WNDPROC)MainWndProc; - wc.cbClsExtra = 0; - wc.cbWndExtra = 0; - wc.hInstance = hInstance; - wc.hIcon = LoadIcon(hInstance, "MyIcon"); - wc.hCursor = LoadCursor(NULL, IDC_ARROW); - wc.hbrBackground = GetStockObject(LTGRAY_BRUSH); - wc.lpszMenuName = NULL; - wc.lpszClassName = "GenericWClass"; - if (!RegisterClass(&wc)) return(FALSE); -} - - -BOOL InitInstance(hInstance, nCmdShow) -HANDLE hInstance; -int nCmdShow; -{ - HWND hWnd; - HMENU hSampleMenu; - - hInst = hInstance; - hSampleMenu = LoadMenu(hInstance, "U7120Menu"); - hWnd = CreateWindow("GenericWClass", - (LPCSTR)"PCI-7200 Double Buffered DMA", - WS_OVERLAPPEDWINDOW, - CW_USEDEFAULT, - CW_USEDEFAULT, - 520, - 400, - NULL, - hSampleMenu, - hInstance, - NULL); - if (!hWnd) return(FALSE); - ShowWindow(hWnd, nCmdShow); - UpdateWindow(hWnd); - return(TRUE); -} - -BOOL PASCAL setup(HWND hWnd, unsigned message, WPARAM wParam, LPARAM lParam) -{ - int i; - char n[16]; - char s[50]; - switch (message) { - case WM_INITDIALOG: - for (i=0;i<16;i++) { - wsprintf(n, "%d", i); - _strupr(n); - SendMessage(GetDlgItem(hWnd,IDC_COMBO1), CB_ADDSTRING, NULL, (LONG)(LPSTR) n); - } - SendMessage(GetDlgItem(hWnd,IDC_COMBO1) , CB_SETCURSEL, 0, 0L); - - break; - case WM_COMMAND: - switch(LOWORD(wParam)) { - - case IDC_COMBO1: - if (HIWORD(wParam) == CBN_CLOSEUP) { - i = (int)SendMessage(GetDlgItem(hWnd,IDC_COMBO1), CB_GETCURSEL, 0, 0L); - SendMessage(GetDlgItem(hWnd,IDC_COMBO1), CB_GETLBTEXT, i, (LPARAM)((LPCSTR)n)); - card_number = i; - } - return(TRUE); - case IDOK: - if ((card=Register_Card(PCI_7200, card_number)) < 0) { - wsprintf(s, "Register_Card Error = %d\n", card); - MessageBox(hWnd, s, "Error", MB_OK); - } - EndDialog(hWnd, TRUE); - InvalidateRect(hWnd, NULL, FALSE); - return (TRUE); - case IDCANCEL: - EndDialog(hWnd, TRUE); - return (TRUE); - } - break; - } - return (FALSE); -} - -long PASCAL MainWndProc(hWnd, message, wParam, lParam) -HWND hWnd; -UINT message; -WPARAM wParam; -LPARAM lParam; -{ - HDC hDC; - PAINTSTRUCT ps; - int i; - char n[6]; - FARPROC lpProc; - //static int pos=0; - SHORT err; - char s[50]; - - switch(message) { - case WM_CREATE: - DialogBox(hInst,IDD_DIALOG2, hWnd, setup); - if(card<0) { - SendMessage(hWnd, WM_CLOSE, 0, 0L); - break; - } -#ifdef SELF_OUTPUT - for (i=0; i<10240; i++) - DoBuf[i] = (U32)(sin((double)i*PI/512)*0x7fffffff)+0x80000000; -#endif - hEdit=CreateWindow("EDIT", NULL, - WS_CHILD | WS_VISIBLE | ES_LEFT, - output_pos[13].x-30, input_pos[15].y+20,40, 20, hWnd, IDC_EDIT, hInst, NULL); - - hEdit1=CreateWindow("EDIT", NULL, - WS_CHILD | WS_VISIBLE | ES_LEFT, - output_pos[13].x+90, input_pos[15].y+20,60, 20, hWnd, IDC_EDIT1, hInst, NULL); - - wsprintf(n,"%d",sample_rate/1000); - SetWindowText(hEdit,n); - - wsprintf(n,"%d",data_size); - SetWindowText(hEdit1,n); - - CreateWindow("SCROLLBAR", NULL, - WS_CHILD | WS_VISIBLE | SBS_VERT, - output_pos[13].x+10, input_pos[15].y+20,20, 20, hWnd, IDC_SCROLL, hInst, NULL); - - hStart = CreateWindow("BUTTON","Start" , - WS_CHILD | WS_VISIBLE , - output_pos[10].x+110, input_pos[10].y+10,50, 30, hWnd, IDC_START, hInst, NULL); - - hStop = CreateWindow("BUTTON","Stop" , - WS_CHILD | WS_VISIBLE , - output_pos[10].x+170, input_pos[10].y+10,50, 30, hWnd, IDC_STOP, hInst, NULL); - - CreateWindow("BUTTON","Data Value" , - WS_CHILD | WS_VISIBLE , - output_pos[10].x+230, input_pos[10].y+10,80, 30, hWnd, IDC_SHOW, hInst, NULL); - EnableWindow(hStop, FALSE); - hBlackBrush= CreateSolidBrush(RGB(0,0,0)); - hRedPen= CreatePen(PS_SOLID,1,RGB(255,0,0)); - hBlackPen= CreatePen(PS_SOLID,1,RGB(0,0,0)); - break; - - case WM_PAINT: - hDC = BeginPaint(hWnd, &ps); - // Digital Input Box - SelectObject(hDC, GetStockObject(GRAY_BRUSH)); - Rectangle(hDC, output_pos[15].x-10, io_pos[15].y-24, output_pos[0].x+26, io_pos[0].y+195); - SetTextColor(hDC,RGB(255,255,0)); - SetBkColor(hDC, RGB(0, 0, 255)); - TextOut(hDC, io_pos[15].x, io_pos[15].y-35, "DMA Input", 9); - SelectObject(hDC, hBlackBrush); - Rectangle(hDC, output_pos[15].x+40/*35*/, io_pos[15].y-2, output_pos[15].x+456/*41*/, io_pos[0].y+172); - - SetBkMode(hDC,TRANSPARENT); - TextOut(hDC,output_pos[13].x-60, input_pos[10].y,"Samping Rate",12); - TextOut(hDC,output_pos[13].x+30, input_pos[15].y+20,"KHZ",3); - TextOut(hDC,output_pos[13].x+70, input_pos[10].y,"Buffer Size",11); - TextOut(hDC,output_pos[15].x-4, io_pos[15].y-8,"ffffffffh",9); - TextOut(hDC,output_pos[15].x+24, io_pos[15].y+162,"0",1); - EndPaint(hWnd, &ps); - break; - - // Sample Rate Spin Control - case WM_VSCROLL: - switch (LOWORD(wParam)) { - case SB_LINEUP : - sample_rate+=10000; - if (sample_rate > 200000) sample_rate=200000; - break; - case SB_LINEDOWN: - sample_rate-=10000; - if (sample_rate < 10000) sample_rate=10000; - break; - } - wsprintf(n,"%d",sample_rate/1000); - SetWindowText(hEdit,n); - break; - case WM_COMMAND: - switch(LOWORD(wParam)) { - case IDM_EXIT: - SendMessage(hWnd, WM_CLOSE, 0, 0L); - break; - case IDC_SHOW : - DialogBox(hInst, "DMABox", hWnd, ShowDMA); - break; - case IDC_START: - if (hMem != NULL) { - GlobalUnfix(hMem); - GlobalUnlock(hMem); - GlobalFree(hMem); - } - // allocate a memory for DMA - data_size=GetDlgItemInt(hWnd,IDC_EDIT1,NULL ,FALSE); -/* - if (data_size > 32768) { - data_size = 32768; //at most 32K (64K bytes) for DMA - MessageBox(hWnd, "DMA transfer cannot exceed 64K bytes boundary\nOnly perform 64K bytes DMA transfer.", "Warning", MB_OK); - } -*/ - mem_size=data_size * 4; - hMem = GlobalAlloc(GMEM_FIXED | GMEM_ZEROINIT,mem_size); - - pMem = (U32 *)GlobalLock(hMem); - if (pMem == NULL ) - MessageBox(hWnd,"DMA", "No Memory", MB_OK); - - GlobalFix(hMem); - -#ifdef SELF_OUTPUT - DO_7200_Config(card, TRIG_INT_PACER, OREQ_DISABLE, OTRIG_LOW); - //DO_AsyncDblBufferMode(card, 0); -#endif - if ((err=DI_7200_Config(card,TRIG_INT_PACER, DI_NOWAITING, DI_TRIG_FALLING, IREQ_FALLING)) != NoError) { - wsprintf(s, "DI_Config Error = %d\n", err); - MessageBox(hWnd, s, "Error", MB_OK); - SendMessage(hWnd, WM_CLOSE, 0, 0L); - break; - } - if ((err=DI_AsyncDblBufferMode (card, 1)) != NoError) { - wsprintf(s, "DI_AsyncDblBufferMode Error = %d\n", err); - MessageBox(hWnd, s, "Error", MB_OK); - SendMessage(hWnd, WM_CLOSE, 0, 0L); - break; - } -#ifdef SELF_OUTPUT - DO_ContWritePort(card, 0, DoBuf, 10240, 0, (F64)sample_rate, ASYNCH_OP); -#endif - - if ((err=DI_ContReadPort(card, 0, pMem, data_size, (F64)sample_rate, ASYNCH_OP)) != NoError) { - wsprintf(s, "DI_ContReadPort Error = %d\n", err); - MessageBox(hWnd, s, "Error", MB_OK); - SendMessage(hWnd, WM_CLOSE, 0, 0L); - break; - } - EnableWindow(hStart, FALSE); - EnableWindow(hStop, TRUE); - hMainWnd = hWnd; - clear_op = FALSE; - hThread = (HANDLE)_beginthread(ProcessThread, 0, 0); - MessageBeep(0); - break; - case IDC_STOP: - clear_op = TRUE; - EnableWindow(hStart, TRUE); - EnableWindow(hStop, FALSE); - break; - default: - return(DefWindowProc(hWnd, message, wParam, lParam)); - } - break; - case WM_DESTROY: - if (card >= 0) Release_Card(card); - DeleteObject(hBlackBrush); - DeleteObject(hRedPen); - GlobalUnfix(hMem); - GlobalUnlock(hMem); - GlobalFree(hMem); - PostQuitMessage(0); - break; - default: - return(DefWindowProc(hWnd, message, wParam, lParam)); - } - return(NULL); -} - -BOOL PASCAL ShowDMA(hDlg, message, wParam, lParam) -HWND hDlg; -UINT message; -WPARAM wParam; -LPARAM lParam; -{ - int nTabs[2] = {32, 92}; - long i; - char cBuf[100]; - char string[10]=" "; - char data_str[3]=" "; - U32 *pp; - switch (message) { - case WM_INITDIALOG: - hListBox = CreateWindow("LISTBOX", "Index Data (Hex)", - WS_CHILD | WS_VISIBLE | LBS_HASSTRINGS | LBS_STANDARD | LBS_USETABSTOPS |WS_CAPTION, - 50, 40, 240, 180, hDlg, 100, hInst, NULL); - SendMessage(hListBox, LB_RESETCONTENT, 0, 0L); - SendMessage(hListBox, LB_SETTABSTOPS, 2, (DWORD)(LPINT) nTabs); - SetDlgItemText(hDlg, DMA_DESCP, "This ListBox can show at most 4000 data"); - itoa( data_size, string, 10); - SetDlgItemText(hDlg, DMA_SPACE, string); - - pp = (U32 *) pMem; - if (data_size > 4000) data_size = 4000; - for(i=0;i -#include -#include -#include -#include -#include "resource.h" -#include "Dask.h" - -#define IDM_EXIT 110 -#define IDC_SCROLL 207 -#define IDC_START 208 -#define IDC_STOP 209 -#define IDC_EDIT 211 -#define IDC_EDIT1 214 -#define IDC_SHOW 213 -#define IDC_DA 400 - -int PASCAL WinMain(HANDLE, HANDLE, LPSTR, int); -long PASCAL MainWndProc(HWND, UINT, WPARAM, LPARAM); -BOOL PASCAL ShowDMA(HWND, UINT, WPARAM, LPARAM); - -HANDLE hInst; -HWND hListBox; -HWND hEdit,hEdit1, hStart, hStop; - -HBRUSH hBlackBrush; -HPEN hRedPen; -I16 card=-1, card_number = 0; -char max_str[12]={0}, min_str[12]={0}; -U32 sample_rate=100000; -U32 data_size=1000, mem_size; -static HANDLE hMem=NULL; -U32 *pMem; -HANDLE hThread; - -#ifdef SELF_OUTPUT -ULONG DoBuf[40970]; -BOOLEAN bOutStopped; -ULONG out_count; -#endif - -POINT input_pos[16]= {{470, 280}, {440, 280}, - {410, 280}, {380, 280}, - {350, 280}, {320, 280}, - { 290, 280}, {260, 280}, - {230, 280}, {200, 280}, - {170, 280}, {140, 280}, - {110, 280}, {80, 280}, - { 50, 280}, { 20, 280}, - }; -POINT output_pos[16] ={ - {470, 340}, {440, 340}, - {410, 340}, {380, 340}, - {350, 340}, {320, 340}, - { 290, 340}, {260, 340}, - {230, 340}, {200, 340}, - {170, 340}, {140, 340}, - {110, 340}, {80, 340}, - { 50, 340}, { 20, 340}, - }; - -POINT io_pos[16] ={ - {395, 40}, {370, 40}, - {345, 40}, {320, 40}, - {295, 40}, {270, 40}, - { 245, 40}, {220, 40}, - {195, 40}, {170, 40}, - {145, 40}, {120, 40}, - {95, 40}, {70, 40}, - { 45, 40}, { 20, 40}, - }; - -BOOL InitApplication(HANDLE); -BOOL InitInstance(HANDLE, int); -void CheckThread(void* pArg); - -int PASCAL WinMain(hInstance, hPrevInstance, lpCmdLine, nCmdShow) -HANDLE hInstance, hPrevInstance; -LPSTR lpCmdLine; -int nCmdShow; -{ - MSG msg; - - if (!hPrevInstance) - if (!InitApplication(hInstance)) return(FALSE); - if (!InitInstance(hInstance, nCmdShow)) return(FALSE); - while (GetMessage(&msg, NULL, NULL, NULL)) { - TranslateMessage(&msg); - DispatchMessage(&msg); - } - return(msg.wParam); -} - -BOOL InitApplication(hInstance) -HANDLE hInstance; -{ - WNDCLASS wc; - - /* Main Window Class */ - wc.style = NULL; - wc.lpfnWndProc = (WNDPROC)MainWndProc; - wc.cbClsExtra = 0; - wc.cbWndExtra = 0; - wc.hInstance = hInstance; - wc.hIcon = LoadIcon(hInstance, "MyIcon"); - wc.hCursor = LoadCursor(NULL, IDC_ARROW); - wc.hbrBackground = GetStockObject(LTGRAY_BRUSH); - wc.lpszMenuName = NULL; - wc.lpszClassName = "GenericWClass"; - if (!RegisterClass(&wc)) return(FALSE); -} - - -BOOL InitInstance(hInstance, nCmdShow) -HANDLE hInstance; -int nCmdShow; -{ - HWND hWnd; - HMENU hSampleMenu; - - hInst = hInstance; - hSampleMenu = LoadMenu(hInstance, "U7120Menu"); - hWnd = CreateWindow("GenericWClass", - (LPCSTR)"PCI-7200 DMA", - WS_OVERLAPPEDWINDOW, - CW_USEDEFAULT, - CW_USEDEFAULT, - 520, - 400, - NULL, - hSampleMenu, - hInstance, - NULL); - if (!hWnd) return(FALSE); - ShowWindow(hWnd, nCmdShow); - UpdateWindow(hWnd); - return(TRUE); -} - -BOOL PASCAL setup(HWND hWnd, unsigned message, WPARAM wParam, LPARAM lParam) -{ - int i; - char n[16]; - char s[50]; - switch (message) { - case WM_INITDIALOG: - for (i=0;i<16;i++) { - wsprintf(n, "%d", i); - _strupr(n); - SendMessage(GetDlgItem(hWnd,IDC_COMBO1), CB_ADDSTRING, NULL, (LONG)(LPSTR) n); - } - SendMessage(GetDlgItem(hWnd,IDC_COMBO1) , CB_SETCURSEL, 0, 0L); - - break; - case WM_COMMAND: - switch(LOWORD(wParam)) { - - case IDC_COMBO1: - if (HIWORD(wParam) == CBN_CLOSEUP) { - i = (int)SendMessage(GetDlgItem(hWnd,IDC_COMBO1), CB_GETCURSEL, 0, 0L); - SendMessage(GetDlgItem(hWnd,IDC_COMBO1), CB_GETLBTEXT, i, (LPARAM)((LPCSTR)n)); - card_number = i; - } - return(TRUE); - case IDOK: - if ((card=Register_Card(PCI_7200, card_number)) < 0) { - wsprintf(s, "Register_Card Error = %d\n", card); - MessageBox(hWnd, s, "Error", MB_OK); - } - EndDialog(hWnd, TRUE); - InvalidateRect(hWnd, NULL, FALSE); - return (TRUE); - case IDCANCEL: - EndDialog(hWnd, TRUE); - return (TRUE); - } - break; - } - return (FALSE); -} - -long PASCAL MainWndProc(hWnd, message, wParam, lParam) -HWND hWnd; -UINT message; -WPARAM wParam; -LPARAM lParam; -{ - HDC hDC; - PAINTSTRUCT ps; - int i; - char n[6]; - U32 min_value, max_value; - I16 err; - U32 adinput; - U32 count; - int oldx, oldy, newx, newy; - char s[50]; - - switch(message) { - case WM_CREATE: - DialogBox(hInst,IDD_DIALOG1, hWnd, setup); - if(card<0) { - SendMessage(hWnd, WM_CLOSE, 0, 0L); - break; - } -#ifdef SELF_OUTPUT - for (i=0; i<40970; i++) - DoBuf[i] = (U32)(sin((double)i/128)*1024)+1024; -#endif - hEdit=CreateWindow("EDIT", NULL, - WS_CHILD | WS_VISIBLE | ES_LEFT, - output_pos[13].x-30, input_pos[15].y+20,40, 20, hWnd, IDC_EDIT, hInst, NULL); - - hEdit1=CreateWindow("EDIT", NULL, - WS_CHILD | WS_VISIBLE | ES_LEFT, - output_pos[13].x+90, input_pos[15].y+20,60, 20, hWnd, IDC_EDIT1, hInst, NULL); - - wsprintf(n,"%d",sample_rate/1000); - SetWindowText(hEdit,n); - - wsprintf(n,"%d",data_size); - SetWindowText(hEdit1,n); - - CreateWindow("SCROLLBAR", NULL, - WS_CHILD | WS_VISIBLE | SBS_VERT, - output_pos[13].x+10, input_pos[15].y+20,20, 20, hWnd, IDC_SCROLL, hInst, NULL); - - hStart = CreateWindow("BUTTON","Start" , - WS_CHILD | WS_VISIBLE , - output_pos[10].x+110, input_pos[10].y+10,50, 30, hWnd, IDC_START, hInst, NULL); - - hStop = CreateWindow("BUTTON","Stop" , - WS_CHILD | WS_VISIBLE , - output_pos[10].x+170, input_pos[10].y+10,50, 30, hWnd, IDC_STOP, hInst, NULL); - - CreateWindow("BUTTON","Data Value" , - WS_CHILD | WS_VISIBLE , - output_pos[10].x+230, input_pos[10].y+10,80, 30, hWnd, IDC_SHOW, hInst, NULL); - EnableWindow(hStop, FALSE); - hBlackBrush= CreateSolidBrush(RGB(0,0,0)); - hRedPen= CreatePen(PS_SOLID,1,RGB(255,0,0)); - break; - - case WM_PAINT: - hDC = BeginPaint(hWnd, &ps); - - // Digital Input Box - SelectObject(hDC, GetStockObject(GRAY_BRUSH)); - Rectangle(hDC, output_pos[15].x-10, io_pos[15].y-24, output_pos[0].x+26, io_pos[0].y+195); - SetTextColor(hDC,RGB(255,255,0)); - SetBkColor(hDC, RGB(0, 0, 255)); - TextOut(hDC, io_pos[15].x, io_pos[15].y-35, "DMA Input", 9); - SelectObject(hDC, hBlackBrush); - Rectangle(hDC, output_pos[15].x+40/*35*/, io_pos[15].y-2, output_pos[15].x+456/*41*/, io_pos[0].y+172); - - SetBkMode(hDC,TRANSPARENT); - TextOut(hDC,output_pos[13].x-60, input_pos[10].y,"Samping Rate",12); - TextOut(hDC,output_pos[13].x+30, input_pos[15].y+20,"KHZ",3); - TextOut(hDC,output_pos[13].x+70, input_pos[10].y,"Xfer Count",10); - EndPaint(hWnd, &ps); - break; - - // Sample Rate Spin Control - case WM_VSCROLL: - switch (LOWORD(wParam)) { - case SB_LINEUP : - sample_rate+=50000; - if (sample_rate > 1000000 ) sample_rate=1000000; - break; - case SB_LINEDOWN: - sample_rate-=50000; - if (sample_rate < 50000 ) sample_rate=50000; - break; - } - wsprintf(n,"%d",sample_rate/1000); - SetWindowText(hEdit,n); - break; - case WM_COMMAND: - switch(LOWORD(wParam)) { - case IDM_EXIT: - SendMessage(hWnd, WM_CLOSE, 0, 0L); - break; - case IDC_SHOW : - DialogBox(hInst, "DMABox", hWnd, ShowDMA); - break; - case IDC_START: - if (hMem != NULL) { - GlobalUnfix(hMem); - GlobalUnlock(hMem); - GlobalFree(hMem); - } - // allocate a memory for DMA - data_size=GetDlgItemInt(hWnd,IDC_EDIT1,NULL ,FALSE); - if (data_size > 40960) { - data_size = 40960; - MessageBox(hWnd, "Xfer Count can not exceed 40960\nDMA transfer only perform 40960 count.", "Warning", MB_OK); - } - mem_size=data_size * 4; - hMem = GlobalAlloc(GMEM_FIXED | GMEM_ZEROINIT,mem_size); - - pMem = (U32 *)GlobalLock(hMem); - if (pMem == NULL ) - MessageBox(hWnd,"DMA", "No Memory", MB_OK); - - GlobalFix(hMem); - if ((err=DI_7200_Config(card, TRIG_HANDSHAKE, DI_NOWAITING, DI_TRIG_FALLING, IREQ_RISING)) != NoError) { - wsprintf(s, "DI_Config Error = %d\n", err); - MessageBox(hWnd, s, "Error", MB_OK); - SendMessage(hWnd, WM_CLOSE, 0, 0L); - break; - } - if ((err=DI_AsyncDblBufferMode (card, 0)) != NoError) { - wsprintf(s, "DI_AsyncDblBufferMode Error = %d\n", err); - MessageBox(hWnd, s, "Error", MB_OK); - SendMessage(hWnd, WM_CLOSE, 0, 0L); - break; - } - -#ifdef SELF_OUTPUT - DO_7200_Config(card, TRIG_HANDSHAKE, OREQ_ENABLE, OTRIG_LOW); - //DO_AsyncDblBufferMode (card, 0); -#endif - if ((err=DI_ContReadPort(card, 0, pMem, data_size, (F64)sample_rate, ASYNCH_OP)) != NoError) { - wsprintf(s, "DI_ContReadPort Error = %d\n", err); - MessageBox(hWnd, s, "Error", MB_OK); - SendMessage(hWnd, WM_CLOSE, 0, 0L); - break; - } -#ifdef SELF_OUTPUT - DO_ContWritePort(card, 0, DoBuf, data_size+2, 1, (F64)100, ASYNCH_OP); -#endif - - EnableWindow(hStart, FALSE); - EnableWindow(hStop, TRUE); - - hThread = (HANDLE)_beginthread(CheckThread, 0, 0); - - WaitForSingleObject(hThread, 40000); - - EnableWindow(hStart, TRUE); - EnableWindow(hStop, FALSE); - MessageBeep(0); - - hDC = GetDC(hWnd); - SelectObject(hDC, hBlackBrush); - Rectangle(hDC,output_pos[15].x+40,io_pos[0].y-3,output_pos[15].x+456,io_pos[0].y+175); - SelectObject(hDC, hRedPen); - SetBkMode(hDC,TRANSPARENT); - SetROP2(hDC, R2_XORPEN); - min_value = max_value = pMem[0]; - for (i=1; i max_value) max_value = pMem[i]; - } - TextOut(hDC,input_pos[15].x-10, io_pos[15].y-5,max_str,strlen(max_str)); - TextOut(hDC,input_pos[15].x-10, io_pos[15].y+159,min_str,strlen(min_str)); - wsprintf(max_str, "0x%x", max_value); - wsprintf(min_str, "0x%x", min_value); - TextOut(hDC,input_pos[15].x-10, io_pos[15].y-5,max_str,strlen(max_str)); - TextOut(hDC,input_pos[15].x-10, io_pos[15].y+159,min_str,strlen(min_str)); - for (i=0; i= 0) Release_Card(card); - DeleteObject(hBlackBrush); - DeleteObject(hRedPen); - GlobalUnfix(hMem); - GlobalUnlock(hMem); - GlobalFree(hMem); - PostQuitMessage(0); - break; - default: - return(DefWindowProc(hWnd, message, wParam, lParam)); - } - return(NULL); -} - -BOOL PASCAL ShowDMA(hDlg, message, wParam, lParam) -HWND hDlg; -UINT message; -WPARAM wParam; -LPARAM lParam; -{ - int nTabs[2] = {32, 92}; - long i; - char cBuf[100]; - char string[10]=" "; - char data_str[3]=" "; - U32 *pp; - switch (message) { - case WM_INITDIALOG: - hListBox = CreateWindow("LISTBOX", "Index Data (Hex)", - WS_CHILD | WS_VISIBLE | LBS_HASSTRINGS | LBS_STANDARD | LBS_USETABSTOPS |WS_CAPTION, - 50, 40, 240, 180, hDlg, 100, hInst, NULL); - SendMessage(hListBox, LB_RESETCONTENT, 0, 0L); - SendMessage(hListBox, LB_SETTABSTOPS, 2, (DWORD)(LPINT) nTabs); - SetDlgItemText(hDlg, DMA_DESCP, "This ListBox can show at most 4000 data"); - itoa( data_size, string, 10); - SetDlgItemText(hDlg, DMA_SPACE, string); - - pp = (U32 *)pMem; - if (data_size > 4000) data_size = 4000; - for(i=0;i -#include -#include -#include -#include -#include "resource.h" -#include "Dask.h" - -#define IDM_EXIT 110 -#define IDC_SCROLL 207 -#define IDC_START 208 -#define IDC_STOP 209 -#define IDC_EDIT 211 -#define IDC_EDIT1 214 -#define IDC_SHOW 213 -#define IDC_DA 400 - -int PASCAL WinMain(HANDLE, HANDLE, LPSTR, int); -long PASCAL MainWndProc(HWND, UINT, WPARAM, LPARAM); -BOOL PASCAL ShowDMA(HWND, UINT, WPARAM, LPARAM); - -HANDLE hInst; -HWND hListBox; -HWND hEdit,hEdit1, hStart, hStop; - -HBRUSH hBlackBrush; -HPEN hRedPen; -I16 card=-1, card_number = 0; -char max_str[12]={0}, min_str[12]={0}; -U32 sample_rate=100000; -U32 data_size=1000, mem_size; -static HANDLE hMem=NULL; -U32 *pMem; -HANDLE hThread; - -#ifdef SELF_OUTPUT -ULONG DoBuf[10240]; -BOOLEAN bOutStopped; -ULONG out_count; -#endif - -POINT input_pos[16]= {{470, 280}, {440, 280}, - {410, 280}, {380, 280}, - {350, 280}, {320, 280}, - { 290, 280}, {260, 280}, - {230, 280}, {200, 280}, - {170, 280}, {140, 280}, - {110, 280}, {80, 280}, - { 50, 280}, { 20, 280}, - }; -POINT output_pos[16] ={ - {470, 340}, {440, 340}, - {410, 340}, {380, 340}, - {350, 340}, {320, 340}, - { 290, 340}, {260, 340}, - {230, 340}, {200, 340}, - {170, 340}, {140, 340}, - {110, 340}, {80, 340}, - { 50, 340}, { 20, 340}, - }; - -POINT io_pos[16] ={ - {395, 40}, {370, 40}, - {345, 40}, {320, 40}, - {295, 40}, {270, 40}, - { 245, 40}, {220, 40}, - {195, 40}, {170, 40}, - {145, 40}, {120, 40}, - {95, 40}, {70, 40}, - { 45, 40}, { 20, 40}, - }; - -BOOL InitApplication(HANDLE); -BOOL InitInstance(HANDLE, int); -void CheckThread(void* pArg); - -int PASCAL WinMain(hInstance, hPrevInstance, lpCmdLine, nCmdShow) -HANDLE hInstance, hPrevInstance; -LPSTR lpCmdLine; -int nCmdShow; -{ - MSG msg; - - if (!hPrevInstance) - if (!InitApplication(hInstance)) return(FALSE); - if (!InitInstance(hInstance, nCmdShow)) return(FALSE); - while (GetMessage(&msg, NULL, NULL, NULL)) { - TranslateMessage(&msg); - DispatchMessage(&msg); - } - return(msg.wParam); -} - -BOOL InitApplication(hInstance) -HANDLE hInstance; -{ - WNDCLASS wc; - - /* Main Window Class */ - wc.style = NULL; - wc.lpfnWndProc = (WNDPROC)MainWndProc; - wc.cbClsExtra = 0; - wc.cbWndExtra = 0; - wc.hInstance = hInstance; - wc.hIcon = LoadIcon(hInstance, "MyIcon"); - wc.hCursor = LoadCursor(NULL, IDC_ARROW); - wc.hbrBackground = GetStockObject(LTGRAY_BRUSH); - wc.lpszMenuName = NULL; - wc.lpszClassName = "GenericWClass"; - if (!RegisterClass(&wc)) return(FALSE); -} - - -BOOL InitInstance(hInstance, nCmdShow) -HANDLE hInstance; -int nCmdShow; -{ - HWND hWnd; - HMENU hSampleMenu; - - hInst = hInstance; - hSampleMenu = LoadMenu(hInstance, "U7120Menu"); - hWnd = CreateWindow("GenericWClass", - (LPCSTR)"PCI-7200 DMA", - WS_OVERLAPPEDWINDOW, - CW_USEDEFAULT, - CW_USEDEFAULT, - 520, - 400, - NULL, - hSampleMenu, - hInstance, - NULL); - if (!hWnd) return(FALSE); - ShowWindow(hWnd, nCmdShow); - UpdateWindow(hWnd); - return(TRUE); -} - -BOOL PASCAL setup(HWND hWnd, unsigned message, WPARAM wParam, LPARAM lParam) -{ - int i; - char n[16]; - char s[50]; - switch (message) { - case WM_INITDIALOG: - for (i=0;i<16;i++) { - wsprintf(n, "%d", i); - _strupr(n); - SendMessage(GetDlgItem(hWnd,IDC_COMBO1), CB_ADDSTRING, NULL, (LONG)(LPSTR) n); - } - SendMessage(GetDlgItem(hWnd,IDC_COMBO1) , CB_SETCURSEL, 0, 0L); - - break; - case WM_COMMAND: - switch(LOWORD(wParam)) { - - case IDC_COMBO1: - if (HIWORD(wParam) == CBN_CLOSEUP) { - i = (int)SendMessage(GetDlgItem(hWnd,IDC_COMBO1), CB_GETCURSEL, 0, 0L); - SendMessage(GetDlgItem(hWnd,IDC_COMBO1), CB_GETLBTEXT, i, (LPARAM)((LPCSTR)n)); - card_number = i; - } - return(TRUE); - case IDOK: - if ((card=Register_Card(PCI_7200, card_number)) < 0) { - wsprintf(s, "Register_Card Error = %d\n", card); - MessageBox(hWnd, s, "Error", MB_OK); - } - EndDialog(hWnd, TRUE); - InvalidateRect(hWnd, NULL, FALSE); - return (TRUE); - case IDCANCEL: - EndDialog(hWnd, TRUE); - return (TRUE); - } - break; - } - return (FALSE); -} - -long PASCAL MainWndProc(hWnd, message, wParam, lParam) -HWND hWnd; -UINT message; -WPARAM wParam; -LPARAM lParam; -{ - HDC hDC; - PAINTSTRUCT ps; - int i; - char n[6]; - U32 min_value, max_value; - I16 err; - U32 adinput; - U32 count; - int oldx, oldy, newx, newy; - char s[50]; - - switch(message) { - case WM_CREATE: - DialogBox(hInst,IDD_DIALOG1, hWnd, setup); - if(card<0) { - SendMessage(hWnd, WM_CLOSE, 0, 0L); - break; - } -#ifdef SELF_OUTPUT - for (i=0; i<10240; i++) - DoBuf[i] = (U32)(sin((double)i/128)*1024)+1024; -#endif - hEdit=CreateWindow("EDIT", NULL, - WS_CHILD | WS_VISIBLE | ES_LEFT, - output_pos[13].x-30, input_pos[15].y+20,40, 20, hWnd, IDC_EDIT, hInst, NULL); - - hEdit1=CreateWindow("EDIT", NULL, - WS_CHILD | WS_VISIBLE | ES_LEFT, - output_pos[13].x+90, input_pos[15].y+20,60, 20, hWnd, IDC_EDIT1, hInst, NULL); - - wsprintf(n,"%d",sample_rate/1000); - SetWindowText(hEdit,n); - - wsprintf(n,"%d",data_size); - SetWindowText(hEdit1,n); - - CreateWindow("SCROLLBAR", NULL, - WS_CHILD | WS_VISIBLE | SBS_VERT, - output_pos[13].x+10, input_pos[15].y+20,20, 20, hWnd, IDC_SCROLL, hInst, NULL); - - hStart = CreateWindow("BUTTON","Start" , - WS_CHILD | WS_VISIBLE , - output_pos[10].x+110, input_pos[10].y+10,50, 30, hWnd, IDC_START, hInst, NULL); - - hStop = CreateWindow("BUTTON","Stop" , - WS_CHILD | WS_VISIBLE , - output_pos[10].x+170, input_pos[10].y+10,50, 30, hWnd, IDC_STOP, hInst, NULL); - - CreateWindow("BUTTON","Data Value" , - WS_CHILD | WS_VISIBLE , - output_pos[10].x+230, input_pos[10].y+10,80, 30, hWnd, IDC_SHOW, hInst, NULL); - EnableWindow(hStop, FALSE); - hBlackBrush= CreateSolidBrush(RGB(0,0,0)); - hRedPen= CreatePen(PS_SOLID,1,RGB(255,0,0)); - break; - - case WM_PAINT: - hDC = BeginPaint(hWnd, &ps); - - // Digital Input Box - SelectObject(hDC, GetStockObject(GRAY_BRUSH)); - Rectangle(hDC, output_pos[15].x-10, io_pos[15].y-24, output_pos[0].x+26, io_pos[0].y+195); - SetTextColor(hDC,RGB(255,255,0)); - SetBkColor(hDC, RGB(0, 0, 255)); - TextOut(hDC, io_pos[15].x, io_pos[15].y-35, "DMA Input", 9); - SelectObject(hDC, hBlackBrush); - Rectangle(hDC, output_pos[15].x+40/*35*/, io_pos[15].y-2, output_pos[15].x+456/*41*/, io_pos[0].y+172); - - SetBkMode(hDC,TRANSPARENT); - TextOut(hDC,output_pos[13].x-60, input_pos[10].y,"Samping Rate",12); - TextOut(hDC,output_pos[13].x+30, input_pos[15].y+20,"KHZ",3); - TextOut(hDC,output_pos[13].x+70, input_pos[10].y,"Xfer Count",10); - EndPaint(hWnd, &ps); - break; - - // Sample Rate Spin Control - case WM_VSCROLL: - switch (LOWORD(wParam)) { - case SB_LINEUP : - sample_rate+=50000; - if (sample_rate > 1000000 ) sample_rate=1000000; - break; - case SB_LINEDOWN: - sample_rate-=50000; - if (sample_rate < 50000 ) sample_rate=50000; - break; - } - wsprintf(n,"%d",sample_rate/1000); - SetWindowText(hEdit,n); - break; - case WM_COMMAND: - switch(LOWORD(wParam)) { - case IDM_EXIT: - SendMessage(hWnd, WM_CLOSE, 0, 0L); - break; - case IDC_SHOW : - DialogBox(hInst, "DMABox", hWnd, ShowDMA); - break; - case IDC_START: - if (hMem != NULL) { - GlobalUnfix(hMem); - GlobalUnlock(hMem); - GlobalFree(hMem); - } - // allocate a memory for DMA - data_size=GetDlgItemInt(hWnd,IDC_EDIT1,NULL ,FALSE); - mem_size=data_size * 4; - hMem = GlobalAlloc(GMEM_FIXED | GMEM_ZEROINIT,mem_size); - - pMem = (U32 *)GlobalLock(hMem); - if (pMem == NULL ) - MessageBox(hWnd,"DMA", "No Memory", MB_OK); - - GlobalFix(hMem); - -#ifdef SELF_OUTPUT - DO_7200_Config(card, TRIG_INT_PACER, OREQ_DISABLE, OTRIG_LOW); - //DO_AsyncDblBufferMode (card, 0); -#endif - - if ((err=DI_7200_Config(card, TRIG_INT_PACER, DI_NOWAITING, DI_TRIG_FALLING, IREQ_FALLING)) != NoError) { - wsprintf(s, "DI_Config Error = %d\n", err); - MessageBox(hWnd, s, "Error", MB_OK); - SendMessage(hWnd, WM_CLOSE, 0, 0L); - break; - } - if ((err=DI_AsyncDblBufferMode (card, 0)) != NoError) { - wsprintf(s, "DI_AsyncDblBufferMode Error = %d\n", err); - MessageBox(hWnd, s, "Error", MB_OK); - SendMessage(hWnd, WM_CLOSE, 0, 0L); - break; - } - EnableWindow(hStart, FALSE); - EnableWindow(hStop, TRUE); - -#ifdef SELF_OUTPUT - DO_ContWritePort(card, 0, DoBuf, 10240, 0, (F64)sample_rate, ASYNCH_OP); -#endif - - if ((err=DI_ContReadPort(card, 0, pMem, data_size, (F64)sample_rate, ASYNCH_OP)) != NoError) { - wsprintf(s, "DI_ContReadPort Error = %d\n", err); - MessageBox(hWnd, s, "Error", MB_OK); - SendMessage(hWnd, WM_CLOSE, 0, 0L); - break; - } - - hThread = (HANDLE)_beginthread(CheckThread, 0, 0); - - WaitForSingleObject(hThread, INFINITE); - - EnableWindow(hStart, TRUE); - EnableWindow(hStop, FALSE); - MessageBeep(0); - - hDC = GetDC(hWnd); - SelectObject(hDC, hBlackBrush); - Rectangle(hDC,output_pos[15].x+40,io_pos[0].y-3,output_pos[15].x+456,io_pos[0].y+175); - SelectObject(hDC, hRedPen); - SetBkMode(hDC,TRANSPARENT); - SetROP2(hDC, R2_XORPEN); - min_value = max_value = pMem[0]; - for (i=1; i max_value) max_value = pMem[i]; - } - TextOut(hDC,input_pos[15].x-10, io_pos[15].y-5,max_str,strlen(max_str)); - TextOut(hDC,input_pos[15].x-10, io_pos[15].y+159,min_str,strlen(min_str)); - wsprintf(max_str, "0x%x", max_value); - wsprintf(min_str, "0x%x", min_value); - TextOut(hDC,input_pos[15].x-10, io_pos[15].y-5,max_str,strlen(max_str)); - TextOut(hDC,input_pos[15].x-10, io_pos[15].y+159,min_str,strlen(min_str)); - for (i=0; i= 0) Release_Card(card); - DeleteObject(hBlackBrush); - DeleteObject(hRedPen); - GlobalUnfix(hMem); - GlobalUnlock(hMem); - GlobalFree(hMem); - PostQuitMessage(0); - break; - default: - return(DefWindowProc(hWnd, message, wParam, lParam)); - } - return(NULL); -} - -BOOL PASCAL ShowDMA(hDlg, message, wParam, lParam) -HWND hDlg; -UINT message; -WPARAM wParam; -LPARAM lParam; -{ - int nTabs[2] = {32, 92}; - long i; - char cBuf[100]; - char string[10]=" "; - char data_str[3]=" "; - U32 *pp; - switch (message) { - case WM_INITDIALOG: - hListBox = CreateWindow("LISTBOX", "Index Data (Hex)", - WS_CHILD | WS_VISIBLE | LBS_HASSTRINGS | LBS_STANDARD | LBS_USETABSTOPS |WS_CAPTION, - 50, 40, 240, 180, hDlg, 100, hInst, NULL); - SendMessage(hListBox, LB_RESETCONTENT, 0, 0L); - SendMessage(hListBox, LB_SETTABSTOPS, 2, (DWORD)(LPINT) nTabs); - SetDlgItemText(hDlg, DMA_DESCP, "This ListBox can show at most 4000 data"); - itoa( data_size, string, 10); - SetDlgItemText(hDlg, DMA_SPACE, string); - - pp = (U32 *)pMem; - if (data_size > 4000) data_size = 4000; - for(i=0;i -# Microsoft Developer Studio Generated Build File, Format Version 5.00 -# ** DO NOT EDIT ** - -# TARGTYPE "Win32 (x86) Application" 0x0101 - -CFG=7200Cwav - Win32 Release -!MESSAGE This is not a valid makefile. To build this project using NMAKE, -!MESSAGE use the Export Makefile command and run -!MESSAGE -!MESSAGE NMAKE /f "7200Cwav.mak". -!MESSAGE -!MESSAGE You can specify a configuration when running NMAKE -!MESSAGE by defining the macro CFG on the command line. For example: -!MESSAGE -!MESSAGE NMAKE /f "7200Cwav.mak" CFG="7200Cwav - Win32 Release" -!MESSAGE -!MESSAGE Possible choices for configuration are: -!MESSAGE -!MESSAGE "7200Cwav - Win32 Release" (based on "Win32 (x86) Application") -!MESSAGE "7200Cwav - Win32 Debug" (based on "Win32 (x86) Application") -!MESSAGE - -# Begin Project -# PROP Scc_ProjName "" -# PROP Scc_LocalPath "" -CPP=cl.exe -MTL=midl.exe -RSC=rc.exe - -!IF "$(CFG)" == "7200Cwav - Win32 Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir ".\Release" -# PROP BASE Intermediate_Dir ".\Release" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "" -# PROP Intermediate_Dir ".\Release" -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /YX /c -# ADD CPP /nologo /MT /W3 /GX /Od /I "..\..\..\include" /D "NDEBUG" /D "WIN32" /D "_WINDOWS" /D "SELF_OUTPUT" /FD /c -# SUBTRACT CPP /YX -# ADD BASE MTL /nologo /D "NDEBUG" /win32 -# ADD MTL /nologo /D "NDEBUG" /mktyplib203 /win32 -# ADD BASE RSC /l 0x409 /d "NDEBUG" -# ADD RSC /l 0x409 /d "NDEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:windows /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ..\..\..\lib\Pci-Dask.lib /nologo /subsystem:windows /machine:I386 - -!ELSEIF "$(CFG)" == "7200Cwav - Win32 Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir ".\Debug" -# PROP BASE Intermediate_Dir ".\Debug" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir ".\Debug" -# PROP Intermediate_Dir ".\Debug" -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /Gm /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /YX /c -# ADD CPP /nologo /MTd /W3 /Gm /GX /Zi /Od /I "..\..\..\include" /D "_DEBUG" /D "WIN32" /D "_WINDOWS" /D "SELF_OUTPUT" /FD /c -# SUBTRACT CPP /YX -# ADD BASE MTL /nologo /D "_DEBUG" /win32 -# ADD MTL /nologo /D "_DEBUG" /mktyplib203 /win32 -# ADD BASE RSC /l 0x409 /d "_DEBUG" -# ADD RSC /l 0x409 /d "_DEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:windows /debug /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ..\..\..\lib\Pci-Dask.lib /nologo /subsystem:windows /debug /machine:I386 - -!ENDIF - -# Begin Target - -# Name "7200Cwav - Win32 Release" -# Name "7200Cwav - Win32 Debug" -# Begin Group "Source Files" - -# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;hpj;bat;for;f90" -# Begin Source File - -SOURCE=.\7200cwav.c -# End Source File -# Begin Source File - -SOURCE=.\7200cwav.RC -# End Source File -# End Group -# Begin Group "Header Files" - -# PROP Default_Filter "h;hpp;hxx;hm;inl;fi;fd" -# End Group -# Begin Group "Resource Files" - -# PROP Default_Filter "ico;cur;bmp;dlg;rc2;rct;bin;cnt;rtf;gif;jpg;jpeg;jpe" -# End Group -# End Target -# End Project diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7200/Sdk7200DbfCallBack/7200Cwav.dsw b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7200/Sdk7200DbfCallBack/7200Cwav.dsw deleted file mode 100644 index a096e64..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7200/Sdk7200DbfCallBack/7200Cwav.dsw +++ /dev/null @@ -1,29 +0,0 @@ -Microsoft Developer Studio Workspace File, Format Version 5.00 -# WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE! - -############################################################################### - -Project: "7200Cwav"=.\7200Cwav.dsp - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ -}}} - -############################################################################### - -Global: - -Package=<5> -{{{ -}}} - -Package=<3> -{{{ -}}} - -############################################################################### - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7200/Sdk7200DbfCallBack/7200Cwav.exe b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7200/Sdk7200DbfCallBack/7200Cwav.exe deleted file mode 100644 index 544ffb6..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7200/Sdk7200DbfCallBack/7200Cwav.exe and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7200/Sdk7200DbfCallBack/7200cwav.c b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7200/Sdk7200DbfCallBack/7200cwav.c deleted file mode 100644 index 6159384..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7200/Sdk7200DbfCallBack/7200cwav.c +++ /dev/null @@ -1,479 +0,0 @@ -#include "windows.h" -#include -#include -#include -#include -#include -#include "resource.h" -#include "Dask.h" - -#define IDM_EXIT 110 -#define IDC_SCROLL 207 -#define IDC_START 208 -#define IDC_STOP 209 -#define IDC_EDIT 211 -#define IDC_EDIT1 214 -#define IDC_SHOW 213 -#define IDC_DA 400 - -#define PI 3.14159 - -int PASCAL WinMain(HANDLE, HANDLE, LPSTR, int); -long PASCAL MainWndProc(HWND, UINT, WPARAM, LPARAM); -BOOL PASCAL ShowDMA(HWND, UINT, WPARAM, LPARAM); - -HANDLE hInst; -HWND hListBox; -HWND hEdit,hEdit1, hStart, hStop; - -HBRUSH hBlackBrush; -HPEN hRedPen, hBlackPen; -HWND hMainWnd; - -U32 sample_rate=10000; - -U32 data_size=1000, mem_size; -HANDLE hMem=NULL; -U32 *pMem; - -I16 card=-1, card_number = 0; -BOOLEAN bStopped; -U32 count; -//EventHandles hEnts; -#ifdef SELF_OUTPUT -U32 DoBuf[10240]; -BOOLEAN bOutStopped; -ULONG out_count; -#endif - -HANDLE hThread; -BOOLEAN clear_op; - -POINT input_pos[16]= {{470, 280}, {440, 280}, - {410, 280}, {380, 280}, - {350, 280}, {320, 280}, - { 290, 280}, {260, 280}, - {230, 280}, {200, 280}, - {170, 280}, {140, 280}, - {110, 280}, {80, 280}, - { 50, 280}, { 20, 280}, - }; -POINT output_pos[16] ={ - {470, 340}, {440, 340}, - {410, 340}, {380, 340}, - {350, 340}, {320, 340}, - { 290, 340}, {260, 340}, - {230, 340}, {200, 340}, - {170, 340}, {140, 340}, - {110, 340}, {80, 340}, - { 50, 340}, { 20, 340}, - }; - -POINT io_pos[16] ={ - {395, 40}, {370, 40}, - {345, 40}, {320, 40}, - {295, 40}, {270, 40}, - { 245, 40}, {220, 40}, - {195, 40}, {170, 40}, - {145, 40}, {120, 40}, - {95, 40}, {70, 40}, - { 45, 40}, { 20, 40}, - }; - -BOOL InitApplication(HANDLE); -BOOL InitInstance(HANDLE, int); -//void ProcessThread(void* pArg); -void DI_DBCallBack(); -void DI_CallBack(); - -int PASCAL WinMain(hInstance, hPrevInstance, lpCmdLine, nCmdShow) -HANDLE hInstance, hPrevInstance; -LPSTR lpCmdLine; -int nCmdShow; -{ - MSG msg; - - if (!hPrevInstance) - if (!InitApplication(hInstance)) return(FALSE); - if (!InitInstance(hInstance, nCmdShow)) return(FALSE); - while (GetMessage(&msg, NULL, NULL, NULL)) { - TranslateMessage(&msg); - DispatchMessage(&msg); - } - return(msg.wParam); -} - -BOOL InitApplication(hInstance) -HANDLE hInstance; -{ - WNDCLASS wc; - - /* Main Window Class */ - wc.style = NULL; - wc.lpfnWndProc = (WNDPROC)MainWndProc; - wc.cbClsExtra = 0; - wc.cbWndExtra = 0; - wc.hInstance = hInstance; - wc.hIcon = LoadIcon(hInstance, "MyIcon"); - wc.hCursor = LoadCursor(NULL, IDC_ARROW); - wc.hbrBackground = GetStockObject(LTGRAY_BRUSH); - wc.lpszMenuName = NULL; - wc.lpszClassName = "GenericWClass"; - if (!RegisterClass(&wc)) return(FALSE); -} - - -BOOL InitInstance(hInstance, nCmdShow) -HANDLE hInstance; -int nCmdShow; -{ - HWND hWnd; - HMENU hSampleMenu; - - hInst = hInstance; - hSampleMenu = LoadMenu(hInstance, "U7120Menu"); - hWnd = CreateWindow("GenericWClass", - (LPCSTR)"PCI-7200 Double Buffered DMA", - WS_OVERLAPPEDWINDOW, - CW_USEDEFAULT, - CW_USEDEFAULT, - 520, - 400, - NULL, - hSampleMenu, - hInstance, - NULL); - if (!hWnd) return(FALSE); - ShowWindow(hWnd, nCmdShow); - UpdateWindow(hWnd); - return(TRUE); -} - -BOOL PASCAL setup(HWND hWnd, unsigned message, WPARAM wParam, LPARAM lParam) -{ - int i; - char n[16]; - char s[50]; - switch (message) { - case WM_INITDIALOG: - for (i=0;i<16;i++) { - wsprintf(n, "%d", i); - _strupr(n); - SendMessage(GetDlgItem(hWnd,IDC_COMBO1), CB_ADDSTRING, NULL, (LONG)(LPSTR) n); - } - SendMessage(GetDlgItem(hWnd,IDC_COMBO1) , CB_SETCURSEL, 0, 0L); - - break; - case WM_COMMAND: - switch(LOWORD(wParam)) { - - case IDC_COMBO1: - if (HIWORD(wParam) == CBN_CLOSEUP) { - i = (int)SendMessage(GetDlgItem(hWnd,IDC_COMBO1), CB_GETCURSEL, 0, 0L); - SendMessage(GetDlgItem(hWnd,IDC_COMBO1), CB_GETLBTEXT, i, (LPARAM)((LPCSTR)n)); - card_number = i; - } - return(TRUE); - case IDOK: - if ((card=Register_Card(PCI_7200, card_number)) < 0) { - wsprintf(s, "Register_Card Error = %d\n", card); - MessageBox(hWnd, s, "Error", MB_OK); - } - EndDialog(hWnd, TRUE); - InvalidateRect(hWnd, NULL, FALSE); - return (TRUE); - case IDCANCEL: - EndDialog(hWnd, TRUE); - return (TRUE); - } - break; - } - return (FALSE); -} - -long PASCAL MainWndProc(hWnd, message, wParam, lParam) -HWND hWnd; -UINT message; -WPARAM wParam; -LPARAM lParam; -{ - HDC hDC; - PAINTSTRUCT ps; - int i; - char n[6]; - FARPROC lpProc; - //static int pos=0; - SHORT err; - char s[50]; - - switch(message) { - case WM_CREATE: - DialogBox(hInst,IDD_DIALOG2, hWnd, setup); - if(card<0) { - SendMessage(hWnd, WM_CLOSE, 0, 0L); - break; - } -#ifdef SELF_OUTPUT - for (i=0; i<10240; i++) - DoBuf[i] = (U32)(sin((double)i*PI/512)*0x7fffffff)+0x80000000; -#endif - hEdit=CreateWindow("EDIT", NULL, - WS_CHILD | WS_VISIBLE | ES_LEFT, - output_pos[13].x-30, input_pos[15].y+20,40, 20, hWnd, IDC_EDIT, hInst, NULL); - - hEdit1=CreateWindow("EDIT", NULL, - WS_CHILD | WS_VISIBLE | ES_LEFT, - output_pos[13].x+90, input_pos[15].y+20,60, 20, hWnd, IDC_EDIT1, hInst, NULL); - - wsprintf(n,"%d",sample_rate/1000); - SetWindowText(hEdit,n); - - wsprintf(n,"%d",data_size); - SetWindowText(hEdit1,n); - - CreateWindow("SCROLLBAR", NULL, - WS_CHILD | WS_VISIBLE | SBS_VERT, - output_pos[13].x+10, input_pos[15].y+20,20, 20, hWnd, IDC_SCROLL, hInst, NULL); - - hStart = CreateWindow("BUTTON","Start" , - WS_CHILD | WS_VISIBLE , - output_pos[10].x+110, input_pos[10].y+10,50, 30, hWnd, IDC_START, hInst, NULL); - - hStop = CreateWindow("BUTTON","Stop" , - WS_CHILD | WS_VISIBLE , - output_pos[10].x+170, input_pos[10].y+10,50, 30, hWnd, IDC_STOP, hInst, NULL); - - CreateWindow("BUTTON","Data Value" , - WS_CHILD | WS_VISIBLE , - output_pos[10].x+230, input_pos[10].y+10,80, 30, hWnd, IDC_SHOW, hInst, NULL); - EnableWindow(hStop, FALSE); - hBlackBrush= CreateSolidBrush(RGB(0,0,0)); - hRedPen= CreatePen(PS_SOLID,1,RGB(255,0,0)); - hBlackPen= CreatePen(PS_SOLID,1,RGB(0,0,0)); - break; - - case WM_PAINT: - hDC = BeginPaint(hWnd, &ps); - // Digital Input Box - SelectObject(hDC, GetStockObject(GRAY_BRUSH)); - Rectangle(hDC, output_pos[15].x-10, io_pos[15].y-24, output_pos[0].x+26, io_pos[0].y+195); - SetTextColor(hDC,RGB(255,255,0)); - SetBkColor(hDC, RGB(0, 0, 255)); - TextOut(hDC, io_pos[15].x, io_pos[15].y-35, "DMA Input", 9); - SelectObject(hDC, hBlackBrush); - Rectangle(hDC, output_pos[15].x+40/*35*/, io_pos[15].y-2, output_pos[15].x+456/*41*/, io_pos[0].y+172); - - SetBkMode(hDC,TRANSPARENT); - TextOut(hDC,output_pos[13].x-60, input_pos[10].y,"Samping Rate",12); - TextOut(hDC,output_pos[13].x+30, input_pos[15].y+20,"KHZ",3); - TextOut(hDC,output_pos[13].x+70, input_pos[10].y,"Buffer Size",11); - TextOut(hDC,output_pos[15].x-4, io_pos[15].y-8,"ffffffffh",9); - TextOut(hDC,output_pos[15].x+24, io_pos[15].y+162,"0",1); - EndPaint(hWnd, &ps); - break; - - // Sample Rate Spin Control - case WM_VSCROLL: - switch (LOWORD(wParam)) { - case SB_LINEUP : - sample_rate+=10000; - if (sample_rate > 200000) sample_rate=200000; - break; - case SB_LINEDOWN: - sample_rate-=10000; - if (sample_rate < 10000) sample_rate=10000; - break; - } - wsprintf(n,"%d",sample_rate/1000); - SetWindowText(hEdit,n); - break; - case WM_COMMAND: - switch(LOWORD(wParam)) { - case IDM_EXIT: - SendMessage(hWnd, WM_CLOSE, 0, 0L); - break; - case IDC_SHOW : - DialogBox(hInst, "DMABox", hWnd, ShowDMA); - break; - case IDC_START: - if (hMem != NULL) { - GlobalUnfix(hMem); - GlobalUnlock(hMem); - GlobalFree(hMem); - } - // allocate a memory for DMA - data_size=GetDlgItemInt(hWnd,IDC_EDIT1,NULL ,FALSE); - mem_size=data_size * 4; - hMem = GlobalAlloc(GMEM_FIXED | GMEM_ZEROINIT,mem_size); - - pMem = (U32 *)GlobalLock(hMem); - if (pMem == NULL ) - MessageBox(hWnd,"DMA", "No Memory", MB_OK); - - GlobalFix(hMem); - -#ifdef SELF_OUTPUT - DO_7200_Config(card, TRIG_INT_PACER, OREQ_DISABLE, OTRIG_LOW); - //DO_AsyncDblBufferMode(card, 0); -#endif - if ((err=DI_7200_Config(card,TRIG_INT_PACER, DI_NOWAITING, DI_TRIG_FALLING, IREQ_FALLING)) != NoError) { - wsprintf(s, "DI_Config Error = %d\n", err); - MessageBox(hWnd, s, "Error", MB_OK); - SendMessage(hWnd, WM_CLOSE, 0, 0L); - break; - } - if ((err=DI_AsyncDblBufferMode (card, 1)) != NoError) { - wsprintf(s, "DI_AsyncDblBufferMode Error = %d\n", err); - MessageBox(hWnd, s, "Error", MB_OK); - SendMessage(hWnd, WM_CLOSE, 0, 0L); - break; - } -#ifdef SELF_OUTPUT - DO_ContWritePort(card, 0, DoBuf, 10240, 0, (F64)sample_rate, ASYNCH_OP); -#endif - DI_EventCallBack (card, 1, DIEnd, (U32) DI_CallBack ); - DI_EventCallBack (card, 1, DBEvent, (U32) DI_DBCallBack ); - if ((err=DI_ContReadPort(card, 0, pMem, data_size, (F64)sample_rate, ASYNCH_OP)) != NoError) { - wsprintf(s, "DI_ContReadPort Error = %d\n", err); - MessageBox(hWnd, s, "Error", MB_OK); - SendMessage(hWnd, WM_CLOSE, 0, 0L); - break; - } - EnableWindow(hStart, FALSE); - EnableWindow(hStop, TRUE); - hMainWnd = hWnd; - clear_op = FALSE; - //hThread = (HANDLE)_beginthread(ProcessThread, 0, 0); - MessageBeep(0); - break; - case IDC_STOP: - clear_op = TRUE; - DI_AsyncClear(card, &count); - EnableWindow(hStart, TRUE); - EnableWindow(hStop, FALSE); - break; - default: - return(DefWindowProc(hWnd, message, wParam, lParam)); - } - break; - case WM_DESTROY: - if (card >= 0) Release_Card(card); - DeleteObject(hBlackBrush); - DeleteObject(hRedPen); - GlobalUnfix(hMem); - GlobalUnlock(hMem); - GlobalFree(hMem); - PostQuitMessage(0); - break; - default: - return(DefWindowProc(hWnd, message, wParam, lParam)); - } - return(NULL); -} - -BOOL PASCAL ShowDMA(hDlg, message, wParam, lParam) -HWND hDlg; -UINT message; -WPARAM wParam; -LPARAM lParam; -{ - int nTabs[2] = {32, 92}; - long i; - char cBuf[100]; - char string[10]=" "; - char data_str[3]=" "; - U32 *pp; - switch (message) { - case WM_INITDIALOG: - hListBox = CreateWindow("LISTBOX", "Index Data (Hex)", - WS_CHILD | WS_VISIBLE | LBS_HASSTRINGS | LBS_STANDARD | LBS_USETABSTOPS |WS_CAPTION, - 50, 40, 240, 180, hDlg, 100, hInst, NULL); - SendMessage(hListBox, LB_RESETCONTENT, 0, 0L); - SendMessage(hListBox, LB_SETTABSTOPS, 2, (DWORD)(LPINT) nTabs); - SetDlgItemText(hDlg, DMA_DESCP, "This ListBox can show at most 4000 data"); - itoa( data_size, string, 10); - SetDlgItemText(hDlg, DMA_SPACE, string); - - pp = (U32 *) pMem; - if (count > 4000) count = 4000; - for(i=0;i -# Microsoft Developer Studio Generated Build File, Format Version 5.00 -# ** DO NOT EDIT ** - -# TARGTYPE "Win32 (x86) Application" 0x0101 - -CFG=7200Wav - Win32 Release -!MESSAGE This is not a valid makefile. To build this project using NMAKE, -!MESSAGE use the Export Makefile command and run -!MESSAGE -!MESSAGE NMAKE /f "7200Wav.mak". -!MESSAGE -!MESSAGE You can specify a configuration when running NMAKE -!MESSAGE by defining the macro CFG on the command line. For example: -!MESSAGE -!MESSAGE NMAKE /f "7200Wav.mak" CFG="7200Wav - Win32 Release" -!MESSAGE -!MESSAGE Possible choices for configuration are: -!MESSAGE -!MESSAGE "7200Wav - Win32 Release" (based on "Win32 (x86) Application") -!MESSAGE "7200Wav - Win32 Debug" (based on "Win32 (x86) Application") -!MESSAGE - -# Begin Project -# PROP Scc_ProjName "" -# PROP Scc_LocalPath "" -CPP=cl.exe -MTL=midl.exe -RSC=rc.exe - -!IF "$(CFG)" == "7200Wav - Win32 Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir ".\Release" -# PROP BASE Intermediate_Dir ".\Release" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "" -# PROP Intermediate_Dir ".\Release" -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /YX /c -# ADD CPP /nologo /MT /W3 /GX /Od /I "..\..\..\include" /D "NDEBUG" /D "WIN32" /D "_WINDOWS" /D "SELF_OUTPUT" /FD /c -# SUBTRACT CPP /YX -# ADD BASE MTL /nologo /D "NDEBUG" /win32 -# ADD MTL /nologo /D "NDEBUG" /mktyplib203 /win32 -# ADD BASE RSC /l 0x409 /d "NDEBUG" -# ADD RSC /l 0x409 /d "NDEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:windows /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ..\..\..\lib\Pci-Dask.lib /nologo /subsystem:windows /machine:I386 - -!ELSEIF "$(CFG)" == "7200Wav - Win32 Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir ".\Debug" -# PROP BASE Intermediate_Dir ".\Debug" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir ".\Debug" -# PROP Intermediate_Dir ".\Debug" -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /Gm /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /YX /c -# ADD CPP /nologo /MTd /W3 /Gm /GX /Zi /Od /I "..\..\..\include" /D "_DEBUG" /D "WIN32" /D "_WINDOWS" /D "SELF_OUTPUT" /FD /c -# SUBTRACT CPP /YX -# ADD BASE MTL /nologo /D "_DEBUG" /win32 -# ADD MTL /nologo /D "_DEBUG" /mktyplib203 /win32 -# ADD BASE RSC /l 0x409 /d "_DEBUG" -# ADD RSC /l 0x409 /d "_DEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:windows /debug /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ..\..\..\lib\Pci-Dask.lib /nologo /subsystem:windows /debug /machine:I386 - -!ENDIF - -# Begin Target - -# Name "7200Wav - Win32 Release" -# Name "7200Wav - Win32 Debug" -# Begin Group "Source Files" - -# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;hpj;bat;for;f90" -# Begin Source File - -SOURCE=.\7200wav.c -# End Source File -# Begin Source File - -SOURCE=.\7200wav.RC -# End Source File -# End Group -# Begin Group "Header Files" - -# PROP Default_Filter "h;hpp;hxx;hm;inl;fi;fd" -# End Group -# Begin Group "Resource Files" - -# PROP Default_Filter "ico;cur;bmp;dlg;rc2;rct;bin;cnt;rtf;gif;jpg;jpeg;jpe" -# End Group -# End Target -# End Project diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7200/Sdk7200DmaCallBack/7200Wav.dsw b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7200/Sdk7200DmaCallBack/7200Wav.dsw deleted file mode 100644 index 3778c4c..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7200/Sdk7200DmaCallBack/7200Wav.dsw +++ /dev/null @@ -1,29 +0,0 @@ -Microsoft Developer Studio Workspace File, Format Version 5.00 -# WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE! - -############################################################################### - -Project: "7200Wav"=.\7200Wav.dsp - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ -}}} - -############################################################################### - -Global: - -Package=<5> -{{{ -}}} - -Package=<3> -{{{ -}}} - -############################################################################### - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7200/Sdk7200DmaCallBack/7200Wav.exe b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7200/Sdk7200DmaCallBack/7200Wav.exe deleted file mode 100644 index 3950ed4..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7200/Sdk7200DmaCallBack/7200Wav.exe and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7200/Sdk7200DmaCallBack/7200wav.c b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7200/Sdk7200DmaCallBack/7200wav.c deleted file mode 100644 index fcdb645..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7200/Sdk7200DmaCallBack/7200wav.c +++ /dev/null @@ -1,452 +0,0 @@ -#include "windows.h" -#include -#include -#include -#include -#include -#include "resource.h" -#include "Dask.h" - -#define IDM_EXIT 110 -#define IDC_SCROLL 207 -#define IDC_START 208 -#define IDC_STOP 209 -#define IDC_EDIT 211 -#define IDC_EDIT1 214 -#define IDC_SHOW 213 -#define IDC_DA 400 - -int PASCAL WinMain(HANDLE, HANDLE, LPSTR, int); -long PASCAL MainWndProc(HWND, UINT, WPARAM, LPARAM); -BOOL PASCAL ShowDMA(HWND, UINT, WPARAM, LPARAM); - -HANDLE hInst; -HWND hListBox; -HWND hEdit,hEdit1, hStart, hStop; -HWND hMainWnd; - -HBRUSH hBlackBrush; -HPEN hRedPen; -I16 card=-1, card_number = 0; -char max_str[12]={0}, min_str[12]={0}; -U32 sample_rate=100000; -U32 data_size=1000, mem_size; -static HANDLE hMem=NULL; -U32 *pMem, count; -//HANDLE hThread; -void DI_CallBack(); - -#ifdef SELF_OUTPUT -ULONG DoBuf[10240]; -BOOLEAN bOutStopped; -ULONG out_count; -#endif - -POINT input_pos[16]= {{470, 280}, {440, 280}, - {410, 280}, {380, 280}, - {350, 280}, {320, 280}, - { 290, 280}, {260, 280}, - {230, 280}, {200, 280}, - {170, 280}, {140, 280}, - {110, 280}, {80, 280}, - { 50, 280}, { 20, 280}, - }; -POINT output_pos[16] ={ - {470, 340}, {440, 340}, - {410, 340}, {380, 340}, - {350, 340}, {320, 340}, - { 290, 340}, {260, 340}, - {230, 340}, {200, 340}, - {170, 340}, {140, 340}, - {110, 340}, {80, 340}, - { 50, 340}, { 20, 340}, - }; - -POINT io_pos[16] ={ - {395, 40}, {370, 40}, - {345, 40}, {320, 40}, - {295, 40}, {270, 40}, - { 245, 40}, {220, 40}, - {195, 40}, {170, 40}, - {145, 40}, {120, 40}, - {95, 40}, {70, 40}, - { 45, 40}, { 20, 40}, - }; - -BOOL InitApplication(HANDLE); -BOOL InitInstance(HANDLE, int); -void CheckThread(void* pArg); - -int PASCAL WinMain(hInstance, hPrevInstance, lpCmdLine, nCmdShow) -HANDLE hInstance, hPrevInstance; -LPSTR lpCmdLine; -int nCmdShow; -{ - MSG msg; - - if (!hPrevInstance) - if (!InitApplication(hInstance)) return(FALSE); - if (!InitInstance(hInstance, nCmdShow)) return(FALSE); - while (GetMessage(&msg, NULL, NULL, NULL)) { - TranslateMessage(&msg); - DispatchMessage(&msg); - } - return(msg.wParam); -} - -BOOL InitApplication(hInstance) -HANDLE hInstance; -{ - WNDCLASS wc; - - /* Main Window Class */ - wc.style = NULL; - wc.lpfnWndProc = (WNDPROC)MainWndProc; - wc.cbClsExtra = 0; - wc.cbWndExtra = 0; - wc.hInstance = hInstance; - wc.hIcon = LoadIcon(hInstance, "MyIcon"); - wc.hCursor = LoadCursor(NULL, IDC_ARROW); - wc.hbrBackground = GetStockObject(LTGRAY_BRUSH); - wc.lpszMenuName = NULL; - wc.lpszClassName = "GenericWClass"; - if (!RegisterClass(&wc)) return(FALSE); -} - - -BOOL InitInstance(hInstance, nCmdShow) -HANDLE hInstance; -int nCmdShow; -{ - HWND hWnd; - HMENU hSampleMenu; - - hInst = hInstance; - hSampleMenu = LoadMenu(hInstance, "U7120Menu"); - hWnd = CreateWindow("GenericWClass", - (LPCSTR)"PCI-7200 DMA", - WS_OVERLAPPEDWINDOW, - CW_USEDEFAULT, - CW_USEDEFAULT, - 520, - 400, - NULL, - hSampleMenu, - hInstance, - NULL); - if (!hWnd) return(FALSE); - ShowWindow(hWnd, nCmdShow); - UpdateWindow(hWnd); - return(TRUE); -} - -BOOL PASCAL setup(HWND hWnd, unsigned message, WPARAM wParam, LPARAM lParam) -{ - int i; - char n[16]; - char s[50]; - switch (message) { - case WM_INITDIALOG: - for (i=0;i<16;i++) { - wsprintf(n, "%d", i); - _strupr(n); - SendMessage(GetDlgItem(hWnd,IDC_COMBO1), CB_ADDSTRING, NULL, (LONG)(LPSTR) n); - } - SendMessage(GetDlgItem(hWnd,IDC_COMBO1) , CB_SETCURSEL, 0, 0L); - - break; - case WM_COMMAND: - switch(LOWORD(wParam)) { - - case IDC_COMBO1: - if (HIWORD(wParam) == CBN_CLOSEUP) { - i = (int)SendMessage(GetDlgItem(hWnd,IDC_COMBO1), CB_GETCURSEL, 0, 0L); - SendMessage(GetDlgItem(hWnd,IDC_COMBO1), CB_GETLBTEXT, i, (LPARAM)((LPCSTR)n)); - card_number = i; - } - return(TRUE); - case IDOK: - if ((card=Register_Card(PCI_7200, card_number)) < 0) { - wsprintf(s, "Register_Card Error = %d\n", card); - MessageBox(hWnd, s, "Error", MB_OK); - } - EndDialog(hWnd, TRUE); - InvalidateRect(hWnd, NULL, FALSE); - return (TRUE); - case IDCANCEL: - EndDialog(hWnd, TRUE); - return (TRUE); - } - break; - } - return (FALSE); -} - -long PASCAL MainWndProc(hWnd, message, wParam, lParam) -HWND hWnd; -UINT message; -WPARAM wParam; -LPARAM lParam; -{ - HDC hDC; - PAINTSTRUCT ps; - int i; - char n[6]; - U32 min_value, max_value; - I16 err; - U32 adinput; - int oldx, oldy, newx, newy; - char s[50]; - - switch(message) { - case WM_CREATE: - DialogBox(hInst,IDD_DIALOG1, hWnd, setup); - if(card<0) { - SendMessage(hWnd, WM_CLOSE, 0, 0L); - break; - } -#ifdef SELF_OUTPUT - for (i=0; i<10240; i++) - DoBuf[i] = (U32)(sin((double)i/128)*1024)+1024; -#endif - hEdit=CreateWindow("EDIT", NULL, - WS_CHILD | WS_VISIBLE | ES_LEFT, - output_pos[13].x-30, input_pos[15].y+20,40, 20, hWnd, IDC_EDIT, hInst, NULL); - - hEdit1=CreateWindow("EDIT", NULL, - WS_CHILD | WS_VISIBLE | ES_LEFT, - output_pos[13].x+90, input_pos[15].y+20,60, 20, hWnd, IDC_EDIT1, hInst, NULL); - - wsprintf(n,"%d",sample_rate/1000); - SetWindowText(hEdit,n); - - wsprintf(n,"%d",data_size); - SetWindowText(hEdit1,n); - - CreateWindow("SCROLLBAR", NULL, - WS_CHILD | WS_VISIBLE | SBS_VERT, - output_pos[13].x+10, input_pos[15].y+20,20, 20, hWnd, IDC_SCROLL, hInst, NULL); - - hStart = CreateWindow("BUTTON","Start" , - WS_CHILD | WS_VISIBLE , - output_pos[10].x+110, input_pos[10].y+10,50, 30, hWnd, IDC_START, hInst, NULL); - - hStop = CreateWindow("BUTTON","Stop" , - WS_CHILD | WS_VISIBLE , - output_pos[10].x+170, input_pos[10].y+10,50, 30, hWnd, IDC_STOP, hInst, NULL); - - CreateWindow("BUTTON","Data Value" , - WS_CHILD | WS_VISIBLE , - output_pos[10].x+230, input_pos[10].y+10,80, 30, hWnd, IDC_SHOW, hInst, NULL); - EnableWindow(hStop, FALSE); - hBlackBrush= CreateSolidBrush(RGB(0,0,0)); - hRedPen= CreatePen(PS_SOLID,1,RGB(255,0,0)); - break; - - case WM_PAINT: - hDC = BeginPaint(hWnd, &ps); - - // Digital Input Box - SelectObject(hDC, GetStockObject(GRAY_BRUSH)); - Rectangle(hDC, output_pos[15].x-10, io_pos[15].y-24, output_pos[0].x+26, io_pos[0].y+195); - SetTextColor(hDC,RGB(255,255,0)); - SetBkColor(hDC, RGB(0, 0, 255)); - TextOut(hDC, io_pos[15].x, io_pos[15].y-35, "DMA Input", 9); - SelectObject(hDC, hBlackBrush); - Rectangle(hDC, output_pos[15].x+40/*35*/, io_pos[15].y-2, output_pos[15].x+456/*41*/, io_pos[0].y+172); - - SetBkMode(hDC,TRANSPARENT); - TextOut(hDC,output_pos[13].x-60, input_pos[10].y,"Samping Rate",12); - TextOut(hDC,output_pos[13].x+30, input_pos[15].y+20,"KHZ",3); - TextOut(hDC,output_pos[13].x+70, input_pos[10].y,"Xfer Count",10); - EndPaint(hWnd, &ps); - break; - - // Sample Rate Spin Control - case WM_VSCROLL: - switch (LOWORD(wParam)) { - case SB_LINEUP : - sample_rate+=50000; - if (sample_rate > 1000000 ) sample_rate=1000000; - break; - case SB_LINEDOWN: - sample_rate-=50000; - if (sample_rate < 50000 ) sample_rate=50000; - break; - } - wsprintf(n,"%d",sample_rate/1000); - SetWindowText(hEdit,n); - break; - case WM_COMMAND: - switch(LOWORD(wParam)) { - case IDM_EXIT: - SendMessage(hWnd, WM_CLOSE, 0, 0L); - break; - case IDC_SHOW : - DialogBox(hInst, "DMABox", hWnd, ShowDMA); - break; - case IDC_START: - if (hMem != NULL) { - GlobalUnfix(hMem); - GlobalUnlock(hMem); - GlobalFree(hMem); - } - // allocate a memory for DMA - data_size=GetDlgItemInt(hWnd,IDC_EDIT1,NULL ,FALSE); - mem_size=data_size * 4; - hMem = GlobalAlloc(GMEM_FIXED | GMEM_ZEROINIT,mem_size); - - pMem = (U32 *)GlobalLock(hMem); - if (pMem == NULL ) - MessageBox(hWnd,"DMA", "No Memory", MB_OK); - - GlobalFix(hMem); - -#ifdef SELF_OUTPUT - DO_7200_Config(card, TRIG_INT_PACER, OREQ_DISABLE, OTRIG_LOW); - //DO_AsyncDblBufferMode (card, 0); -#endif - - if ((err=DI_7200_Config(card, TRIG_INT_PACER, DI_NOWAITING, DI_TRIG_FALLING, IREQ_FALLING)) != NoError) { - wsprintf(s, "DI_Config Error = %d\n", err); - MessageBox(hWnd, s, "Error", MB_OK); - SendMessage(hWnd, WM_CLOSE, 0, 0L); - break; - } - if ((err=DI_AsyncDblBufferMode (card, 0)) != NoError) { - wsprintf(s, "DI_AsyncDblBufferMode Error = %d\n", err); - MessageBox(hWnd, s, "Error", MB_OK); - SendMessage(hWnd, WM_CLOSE, 0, 0L); - break; - } - EnableWindow(hStart, FALSE); - EnableWindow(hStop, TRUE); - hMainWnd = hWnd; - - DI_EventCallBack (card, 1, DIEnd, (U32) DI_CallBack ); - -#ifdef SELF_OUTPUT - DO_ContWritePort(card, 0, DoBuf, 10240, 0, (F64)sample_rate, ASYNCH_OP); -#endif - - if ((err=DI_ContReadPort(card, 0, pMem, data_size, (F64)sample_rate, ASYNCH_OP)) != NoError) { - wsprintf(s, "DI_ContReadPort Error = %d\n", err); - MessageBox(hWnd, s, "Error", MB_OK); - SendMessage(hWnd, WM_CLOSE, 0, 0L); - break; - } - MessageBeep(0); - - break; - case IDC_STOP: - DI_AsyncClear(card, &count); -#ifdef SELF_OUTPUT - DO_AsyncClear(card, &count); -#endif - break; - default: - return(DefWindowProc(hWnd, message, wParam, lParam)); - } - break; - case WM_DESTROY: - if (card >= 0) Release_Card(card); - DeleteObject(hBlackBrush); - DeleteObject(hRedPen); - GlobalUnfix(hMem); - GlobalUnlock(hMem); - GlobalFree(hMem); - PostQuitMessage(0); - break; - default: - return(DefWindowProc(hWnd, message, wParam, lParam)); - } - return(NULL); -} - -BOOL PASCAL ShowDMA(hDlg, message, wParam, lParam) -HWND hDlg; -UINT message; -WPARAM wParam; -LPARAM lParam; -{ - int nTabs[2] = {32, 92}; - long i; - char cBuf[100]; - char string[10]=" "; - char data_str[3]=" "; - U32 *pp; - switch (message) { - case WM_INITDIALOG: - hListBox = CreateWindow("LISTBOX", "Index Data (Hex)", - WS_CHILD | WS_VISIBLE | LBS_HASSTRINGS | LBS_STANDARD | LBS_USETABSTOPS |WS_CAPTION, - 50, 40, 240, 180, hDlg, 100, hInst, NULL); - SendMessage(hListBox, LB_RESETCONTENT, 0, 0L); - SendMessage(hListBox, LB_SETTABSTOPS, 2, (DWORD)(LPINT) nTabs); - SetDlgItemText(hDlg, DMA_DESCP, "This ListBox can show at most 4000 data"); - itoa( data_size, string, 10); - SetDlgItemText(hDlg, DMA_SPACE, string); - - pp = (U32 *)pMem; - if (data_size > 4000) data_size = 4000; - for(i=0;i max_value) max_value = pMem[i]; - } - TextOut(hDC,input_pos[15].x-10, io_pos[15].y-5,max_str,strlen(max_str)); - TextOut(hDC,input_pos[15].x-10, io_pos[15].y+159,min_str,strlen(min_str)); - wsprintf(max_str, "0x%x", max_value); - wsprintf(min_str, "0x%x", min_value); - TextOut(hDC,input_pos[15].x-10, io_pos[15].y-5,max_str,strlen(max_str)); - TextOut(hDC,input_pos[15].x-10, io_pos[15].y+159,min_str,strlen(min_str)); - for (i=0; i -#include -#include -#include "dask.h" - - -void main(){ - - I16 card; - - if ((card=Register_Card (PCI_7200, 0)) <0 ) { - printf("Register_Card error=%d\n", card); - exit(1); - } - //setting ExtTrig Line to high - DO_WriteExtTrigLine (card, 1); - printf("Press any key to exit\n"); - getch(); - Release_Card(card); -} diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7200/VB7200Dma/7200glbl.bas b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7200/VB7200Dma/7200glbl.bas deleted file mode 100644 index 77a2e7f..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7200/VB7200Dma/7200glbl.bas +++ /dev/null @@ -1,4 +0,0 @@ -Attribute VB_Name = "Module1" -Global card As Integer -Global card_number As Integer - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7200/VB7200Dma/Base7200.frm b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7200/VB7200Dma/Base7200.frm deleted file mode 100644 index 3668fbd..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7200/VB7200Dma/Base7200.frm +++ /dev/null @@ -1,99 +0,0 @@ -VERSION 4.00 -Begin VB.Form SettingForm - Appearance = 0 'Flat - BackColor = &H00C0C0C0& - Caption = "Card Number Setting" - ClientHeight = 1275 - ClientLeft = 4590 - ClientTop = 4545 - ClientWidth = 2820 - BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851} - Name = "MS Sans Serif" - Size = 8.25 - Charset = 0 - Weight = 700 - Underline = 0 'False - Italic = 0 'False - Strikethrough = 0 'False - EndProperty - ForeColor = &H80000008& - Height = 1680 - Left = 4530 - LinkTopic = "Form2" - ScaleHeight = 1275 - ScaleWidth = 2820 - Top = 4200 - Width = 2940 - Begin VB.CommandButton OKBtn - Appearance = 0 'Flat - BackColor = &H80000005& - Caption = "OK" - Default = -1 'True - Height = 315 - Left = 300 - TabIndex = 0 - Top = 720 - Width = 915 - End - Begin VB.CommandButton CancelBtn - Appearance = 0 'Flat - BackColor = &H80000005& - Cancel = -1 'True - Caption = "Cancel" - Height = 315 - Left = 1380 - TabIndex = 3 - Top = 720 - Width = 915 - End - Begin VB.ComboBox CardNum - Appearance = 0 'Flat - Height = 300 - Left = 1440 - Style = 2 'Dropdown List - TabIndex = 2 - Top = 120 - Width = 1035 - End - Begin VB.Label Label2 - Appearance = 0 'Flat - BackColor = &H00C0C0C0& - Caption = "Card Number:" - ForeColor = &H00000000& - Height = 195 - Index = 0 - Left = 180 - TabIndex = 1 - Top = 180 - Width = 1275 - End -End -Attribute VB_Name = "SettingForm" -Attribute VB_Creatable = False -Attribute VB_Exposed = False - - -Private Sub BaseAddr_Change() - -End Sub - - -Private Sub CancelBtn_Click() - Unload SettingForm -End Sub - -Private Sub Form_Load() - Dim i As Long - For i = 0 To 15 Step 1 - CardNum.AddItem i - Next - CardNum.ListIndex = 0 -End Sub - -Private Sub OKBtn_Click() - card = -1 - card_number = CardNum.ListIndex - card = Register_Card(PCI_7200, card_number) - Unload SettingForm -End Sub - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7200/VB7200Dma/Vb7200d.vbp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7200/VB7200Dma/Vb7200d.vbp deleted file mode 100644 index ac60ce8..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7200/VB7200Dma/Vb7200d.vbp +++ /dev/null @@ -1,22 +0,0 @@ -Form=vb7200d.Frm -Module=DASK; ..\..\..\Include\Dask.bas -Module=Module1; 7200glbl.bas -Form=Base7200.frm -Reference=*\G{00025E04-0000-0000-C000-000000000046}#2.5#0#D:\Program Files\Common Files\Microsoft Shared\DD:\Program Fil#Microsoft DAO 2.5/3.0 Compatibility Library -ProjWinSize=111,546,194,215 -ProjWinShow=2 -IconForm="frm7200" -HelpFile="" -Title="UTIL7200" -ExeName32="vb7200d.exe" -ExeName="725B.EXE" -Name="Util7200" -HelpContextID="0" -StartMode=0 -VersionCompatible32="0" -MajorVer=1 -MinorVer=0 -RevisionVer=0 -AutoIncrementVer=0 -ServerSupportFiles=0 -VersionCompanyName="ADLink" diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7200/VB7200Dma/vb7200d.Frm b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7200/VB7200Dma/vb7200d.Frm deleted file mode 100644 index 823942b..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7200/VB7200Dma/vb7200d.Frm +++ /dev/null @@ -1,455 +0,0 @@ -VERSION 4.00 -Begin VB.Form frm7200 - Caption = "7200 DMA Output Sample" - ClientHeight = 3870 - ClientLeft = 1245 - ClientTop = 1770 - ClientWidth = 6195 - BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851} - Name = "MS Sans Serif" - Size = 8.25 - Charset = 0 - Weight = 700 - Underline = 0 'False - Italic = 0 'False - Strikethrough = 0 'False - EndProperty - ForeColor = &H80000008& - Height = 4560 - Left = 1185 - LinkTopic = "Form1" - ScaleHeight = 3870 - ScaleWidth = 6195 - Top = 1140 - Width = 6315 - Begin VB.CommandButton btnStop - Caption = "Stop" - Enabled = 0 'False - BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851} - Name = "MS Sans Serif" - Size = 8.25 - Charset = 0 - Weight = 400 - Underline = 0 'False - Italic = 0 'False - Strikethrough = 0 'False - EndProperty - Height = 405 - Left = 1860 - TabIndex = 9 - Top = 3060 - Width = 1000 - End - Begin VB.Frame fraBuf2 - Caption = "Input Buffer" - BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851} - Name = "MS Sans Serif" - Size = 8.25 - Charset = 0 - Weight = 400 - Underline = 0 'False - Italic = 0 'False - Strikethrough = 0 'False - EndProperty - ForeColor = &H000000FF& - Height = 1635 - Left = 3360 - TabIndex = 4 - Top = 2040 - Width = 2655 - Begin VB.ListBox lstBuf2 - Height = 1230 - Left = 90 - TabIndex = 5 - Top = 300 - Width = 2445 - End - End - Begin VB.Frame fraBuf1 - Caption = "Output Buffer" - BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851} - Name = "MS Sans Serif" - Size = 8.25 - Charset = 0 - Weight = 400 - Underline = 0 'False - Italic = 0 'False - Strikethrough = 0 'False - EndProperty - ForeColor = &H000000FF& - Height = 1635 - Left = 3360 - TabIndex = 2 - Top = 420 - Width = 2655 - Begin VB.ListBox lstBuf1 - Height = 1230 - Left = 90 - TabIndex = 3 - Top = 300 - Width = 2445 - End - End - Begin VB.Frame fraSetup - BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851} - Name = "MS Sans Serif" - Size = 8.25 - Charset = 0 - Weight = 400 - Underline = 0 'False - Italic = 0 'False - Strikethrough = 0 'False - EndProperty - Height = 2385 - Left = 120 - TabIndex = 1 - Top = 420 - Width = 3105 - Begin VB.ComboBox cobInRate - Height = 315 - Left = 1440 - Style = 2 'Dropdown List - TabIndex = 12 - Top = 570 - Width = 1005 - End - Begin VB.ComboBox cobCount - Height = 315 - Left = 1440 - Style = 2 'Dropdown List - TabIndex = 11 - Top = 1440 - Width = 1005 - End - Begin VB.ComboBox cobOutRate - Height = 315 - Left = 1440 - Style = 2 'Dropdown List - TabIndex = 10 - Top = 990 - Width = 1005 - End - Begin VB.Label Label4 - Caption = "Samples" - BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851} - Name = "MS Sans Serif" - Size = 8.25 - Charset = 0 - Weight = 400 - Underline = 0 'False - Italic = 0 'False - Strikethrough = 0 'False - EndProperty - ForeColor = &H00C00000& - Height = 255 - Left = 2460 - TabIndex = 16 - Top = 1500 - Width = 615 - End - Begin VB.Label Label3 - Caption = "KHz" - BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851} - Name = "MS Sans Serif" - Size = 8.25 - Charset = 0 - Weight = 400 - Underline = 0 'False - Italic = 0 'False - Strikethrough = 0 'False - EndProperty - ForeColor = &H00C00000& - Height = 255 - Left = 2460 - TabIndex = 15 - Top = 1020 - Width = 375 - End - Begin VB.Label Label2 - Caption = "KHz" - BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851} - Name = "MS Sans Serif" - Size = 8.25 - Charset = 0 - Weight = 400 - Underline = 0 'False - Italic = 0 'False - Strikethrough = 0 'False - EndProperty - ForeColor = &H00C00000& - Height = 255 - Left = 2460 - TabIndex = 14 - Top = 600 - Width = 375 - End - Begin VB.Label labCount - Caption = "Total Data Count" - BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851} - Name = "MS Sans Serif" - Size = 8.25 - Charset = 0 - Weight = 400 - Underline = 0 'False - Italic = 0 'False - Strikethrough = 0 'False - EndProperty - ForeColor = &H00FF0000& - Height = 255 - Left = 120 - TabIndex = 8 - Top = 1500 - Width = 1335 - End - Begin VB.Label labOutRate - Caption = "D/O Sample Rate" - BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851} - Name = "MS Sans Serif" - Size = 8.25 - Charset = 0 - Weight = 400 - Underline = 0 'False - Italic = 0 'False - Strikethrough = 0 'False - EndProperty - ForeColor = &H00FF0000& - Height = 255 - Left = 120 - TabIndex = 7 - Top = 1050 - Width = 1335 - End - Begin VB.Label labInRate - Caption = "D/I Sample Rate" - BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851} - Name = "MS Sans Serif" - Size = 8.25 - Charset = 0 - Weight = 400 - Underline = 0 'False - Italic = 0 'False - Strikethrough = 0 'False - EndProperty - ForeColor = &H00FF0000& - Height = 255 - Left = 120 - TabIndex = 6 - Top = 600 - Width = 1335 - End - End - Begin VB.CommandButton btnStart - Caption = "Start" - BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851} - Name = "MS Sans Serif" - Size = 8.25 - Charset = 0 - Weight = 400 - Underline = 0 'False - Italic = 0 'False - Strikethrough = 0 'False - EndProperty - Height = 405 - Left = 450 - TabIndex = 0 - Top = 3060 - Width = 1000 - End - Begin VB.Label Label1 - Caption = "This sample performs DMA input and output simulatneously" - BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851} - Name = "MS Sans Serif" - Size = 9.75 - Charset = 0 - Weight = 400 - Underline = -1 'True - Italic = 0 'False - Strikethrough = 0 'False - EndProperty - ForeColor = &H00C00000& - Height = 315 - Left = 420 - TabIndex = 13 - Top = 60 - Width = 5355 - End - Begin VB.Menu mnuExit - Caption = "&Exit!" - End -End -Attribute VB_Name = "frm7200" -Attribute VB_Creatable = False -Attribute VB_Exposed = False -Option Explicit - -Dim inRate As Double, outRate As Double -Dim dma_i_data(0 To 10000) As Long -Dim dma_o_data(0 To 15000) As Long -Dim glCount As Long - -Dim gStr As String - -Private Sub GetString(data As Long) - Dim p As Long - Dim i As Integer, j As Integer - Dim sum(0 To 7) As Integer - - gStr = "" - - For j = 0 To 7 - sum(j) = 0 - Next j - - For j = 0 To 7 - For i = 0 To 3 - p = data Mod 2 - If p = 0 Then - data = data / 2 - Else 'p = 1 - sum(j) = sum(j) + 2 ^ i - data = (data - 1) / 2 - End If - Next i - gStr = Hex$(sum(j)) + gStr - Next j - -End Sub - - -Private Sub ShowData() - Dim i As Long - - For i = 0 To glCount - 1 - GetString dma_o_data(i) - lstBuf1.AddItem Format(i, "0000") + " : " + gStr - 'lstBuf1.AddItem CStr(i) + " : " + Hex$(dma_o_data(i)) - Next - For i = 0 To glCount - 1 - GetString dma_i_data(i) - lstBuf2.AddItem Format(i, "0000") + " : " + gStr - 'lstBuf2.AddItem CStr(i) + " : " + Hex$(dma_i_data(i)) - Next -End Sub - -Private Sub InitData() - - cobInRate.AddItem "10" - cobInRate.AddItem "20" - cobInRate.AddItem "40" - cobInRate.AddItem "50" - cobInRate.AddItem "80" - cobInRate.AddItem "100" - cobInRate.ListIndex = 0 - inRate = 10 * 1000 - - cobOutRate.AddItem "10" - cobOutRate.AddItem "20" - cobOutRate.AddItem "40" - cobOutRate.AddItem "50" - cobOutRate.AddItem "80" - cobOutRate.AddItem "100" - cobOutRate.ListIndex = 0 - outRate = 10 * 1000 - - cobCount.AddItem "200" - cobCount.AddItem "500" - cobCount.AddItem "1000" - cobCount.AddItem "2000" - cobCount.AddItem "5000" - cobCount.ListIndex = 0 -End Sub - - - -Private Sub btnStart_Click() - Dim i As Integer - Dim result As Integer - Dim diCount As Long, doCount As Long - Dim gbStopped As Byte - - For i = 0 To 14999 - dma_o_data(i) = i - Next - - lstBuf1.Clear - lstBuf2.Clear - - glCount = CLng(cobCount.List(cobCount.ListIndex)) - btnStart.Enabled = False - result = DO_7200_Config(card, TRIG_INT_PACER, OREQ_DISABLE, OTRIG_LOW) - 'result = DO_AsyncDblBufferMode(card, 0) - result = DI_7200_Config(card, TRIG_INT_PACER, DI_NOWAITING, DI_TRIG_FALLING, IREQ_FALLING) - result = DI_AsyncDblBufferMode(card, 0) - - result = DO_ContWritePort(card, 0, dma_o_data(0), glCount, 1, outRate, ASYNCH_OP) - result = DI_ContReadPort(card, 0, dma_i_data(0), glCount, inRate, ASYNCH_OP) - Do - result = DO_AsyncCheck(card, gbStopped, doCount) - Loop Until gbStopped - Do - result = DI_AsyncCheck(card, gbStopped, diCount) - Loop Until gbStopped - result = DO_AsyncClear(card, doCount) - result = DI_AsyncClear(card, diCount) - ShowData - btnStart.Enabled = True -End Sub - - - - - - - - - - - - - - -Private Sub btnStop_Click() - Dim result As Integer - Dim diCount As Long, doCount As Long - result = DO_AsyncClear(card, doCount) - result = DI_AsyncClear(card, diCount) -End Sub - - -Private Sub cobInRate_Click() - inRate = CDbl(cobInRate.List(cobInRate.ListIndex)) * 1000 -End Sub - - -Private Sub cobOutRate_Click() - outRate = CDbl(cobOutRate.List(cobOutRate.ListIndex)) * 1000 -End Sub - - -Private Sub Form_Load() - SettingForm.Show 1 - If card < 0 Then - MsgBox "Register Card Failed" - End - End If - InitData -End Sub - - -Private Sub Form_Unload(Cancel As Integer) - Dim result As Integer - If card >= 0 Then - result = Release_Card(card) - End If -End Sub - - -Private Sub mnuExit_Click() - Dim result As Integer - If card >= 0 Then - result = Release_Card(card) - End If - End -End Sub - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7230/C7230_EEPROM_RW/EEPROM.c b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7230/C7230_EEPROM_RW/EEPROM.c deleted file mode 100644 index 5d6160a..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7230/C7230_EEPROM_RW/EEPROM.c +++ /dev/null @@ -1,55 +0,0 @@ -/*----------------------------------------------------------------------------*/ -/* Company : ADLINK */ -/* Date : 2011/02/24 */ -/* */ -/* This sample performs EEPROM read and write capability for PCI-7230. */ -/* There are two 16-bits EEPROM blocks to store user-defined constants. */ -/* Parameters: */ -/* P7230_EEP_BLK_0 */ -/* P7230_EEP_BLK_1 */ -/*----------------------------------------------------------------------------*/ - -#include -#include -#include -#include -#include "dask.h" - -int main(int argc, char **argv) -{ - I16 card, err; - U16 card_num; - U16 data_read = 0, data_write = 0x3343; - U16 block = P7230_EEP_BLK_0; - - printf("The sample performs PCI-7230 EEPROM read/write.\n"); - - printf("Card Number: "); - scanf(" %hd", &card_num); - card = Register_Card(PCI_7230, card_num); - if(card<0){ - printf("Register_Card Error: %d\n", card); - exit(1); - } - - err = PCI_EEPROM_SaveData(card, block, data_write); - if(err!=0){ - printf("PCI7230_ReadEEPROM Error: %d\n", err); - Release_Card(card); - exit(1); - } - - err = PCI_EEPROM_LoadData(card, block, &data_read); - if(err!=0){ - printf("PCI7230_ReadEEPROM Error: %d\n", err); - Release_Card(card); - exit(1); - } - - printf("Read data: %x\n", data_read); - - printf("\nPress any key to exit...\n"); - getch(); - Release_Card(card); - return 0; -} diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7230/C7230_EEPROM_RW/EEPROM.dsp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7230/C7230_EEPROM_RW/EEPROM.dsp deleted file mode 100644 index b0caef2..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7230/C7230_EEPROM_RW/EEPROM.dsp +++ /dev/null @@ -1,102 +0,0 @@ -# Microsoft Developer Studio Project File - Name="EEPROM" - Package Owner=<4> -# Microsoft Developer Studio Generated Build File, Format Version 6.00 -# ** DO NOT EDIT ** - -# TARGTYPE "Win32 (x86) Console Application" 0x0103 - -CFG=EEPROM - Win32 Debug -!MESSAGE This is not a valid makefile. To build this project using NMAKE, -!MESSAGE use the Export Makefile command and run -!MESSAGE -!MESSAGE NMAKE /f "EEPROM.mak". -!MESSAGE -!MESSAGE You can specify a configuration when running NMAKE -!MESSAGE by defining the macro CFG on the command line. For example: -!MESSAGE -!MESSAGE NMAKE /f "EEPROM.mak" CFG="EEPROM - Win32 Debug" -!MESSAGE -!MESSAGE Possible choices for configuration are: -!MESSAGE -!MESSAGE "EEPROM - Win32 Release" (based on "Win32 (x86) Console Application") -!MESSAGE "EEPROM - Win32 Debug" (based on "Win32 (x86) Console Application") -!MESSAGE - -# Begin Project -# PROP AllowPerConfigDependencies 0 -# PROP Scc_ProjName "" -# PROP Scc_LocalPath "" -CPP=cl.exe -RSC=rc.exe - -!IF "$(CFG)" == "EEPROM - Win32 Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "Release" -# PROP BASE Intermediate_Dir "Release" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "" -# PROP Intermediate_Dir "Release" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c -# ADD CPP /nologo /W3 /GX /O2 /I "../../../include" /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c -# ADD BASE RSC /l 0x404 /d "NDEBUG" -# ADD RSC /l 0x404 /d "NDEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ../../../lib/pci-dask.lib /nologo /subsystem:console /machine:I386 - -!ELSEIF "$(CFG)" == "EEPROM - Win32 Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "Debug" -# PROP BASE Intermediate_Dir "Debug" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "Debug" -# PROP Intermediate_Dir "Debug" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /GZ /c -# ADD CPP /nologo /W3 /Gm /GX /ZI /Od /I "../../../include" /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /GZ /c -# ADD BASE RSC /l 0x404 /d "_DEBUG" -# ADD RSC /l 0x404 /d "_DEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ../../../lib/pci-dask.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept - -!ENDIF - -# Begin Target - -# Name "EEPROM - Win32 Release" -# Name "EEPROM - Win32 Debug" -# Begin Group "Source Files" - -# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;idl;hpj;bat" -# Begin Source File - -SOURCE=.\EEPROM.c -# End Source File -# End Group -# Begin Group "Header Files" - -# PROP Default_Filter "h;hpp;hxx;hm;inl" -# End Group -# Begin Group "Resource Files" - -# PROP Default_Filter "ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe" -# End Group -# End Target -# End Project diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7230/C7230_EEPROM_RW/EEPROM.dsw b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7230/C7230_EEPROM_RW/EEPROM.dsw deleted file mode 100644 index 52a8566..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7230/C7230_EEPROM_RW/EEPROM.dsw +++ /dev/null @@ -1,29 +0,0 @@ -Microsoft Developer Studio Workspace File, Format Version 6.00 -# WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE! - -############################################################################### - -Project: "EEPROM"=.\EEPROM.dsp - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ -}}} - -############################################################################### - -Global: - -Package=<5> -{{{ -}}} - -Package=<3> -{{{ -}}} - -############################################################################### - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7230/C7230_EEPROM_RW/EEPROM.exe b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7230/C7230_EEPROM_RW/EEPROM.exe deleted file mode 100644 index 1e14fe1..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7230/C7230_EEPROM_RW/EEPROM.exe and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7230/SDK7230/Resource.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7230/SDK7230/Resource.h deleted file mode 100644 index 511a751..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7230/SDK7230/Resource.h +++ /dev/null @@ -1,19 +0,0 @@ -//{{NO_DEPENDENCIES}} -// Microsoft Developer Studio generated include file. -// Used by Util7230.rc -// -#define IDD_DIALOG1 101 -#define IDM_EXIT 110 -#define IDC_COMBO1 1015 -#define IDC_STATIC -1 - -// Next default values for new objects -// -#ifdef APSTUDIO_INVOKED -#ifndef APSTUDIO_READONLY_SYMBOLS -#define _APS_NEXT_RESOURCE_VALUE 102 -#define _APS_NEXT_COMMAND_VALUE 101 -#define _APS_NEXT_CONTROL_VALUE 1000 -#define _APS_NEXT_SYMED_VALUE 101 -#endif -#endif diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7230/SDK7230/UTIL7230.MAK b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7230/SDK7230/UTIL7230.MAK deleted file mode 100644 index 2fa0131..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7230/SDK7230/UTIL7230.MAK +++ /dev/null @@ -1,219 +0,0 @@ -# Microsoft Developer Studio Generated NMAKE File, Format Version 4.00 -# ** DO NOT EDIT ** - -# TARGTYPE "Win32 (x86) Application" 0x0101 - -!IF "$(CFG)" == "" -CFG=util7230 - Win32 Debug -!MESSAGE No configuration specified. Defaulting to util7230 - Win32 Debug. -!ENDIF - -!IF "$(CFG)" != "util7230 - Win32 Release" && "$(CFG)" !=\ - "util7230 - Win32 Debug" -!MESSAGE Invalid configuration "$(CFG)" specified. -!MESSAGE You can specify a configuration when running NMAKE on this makefile -!MESSAGE by defining the macro CFG on the command line. For example: -!MESSAGE -!MESSAGE NMAKE /f "util7230.mak" CFG="util7230 - Win32 Debug" -!MESSAGE -!MESSAGE Possible choices for configuration are: -!MESSAGE -!MESSAGE "util7230 - Win32 Release" (based on "Win32 (x86) Application") -!MESSAGE "util7230 - Win32 Debug" (based on "Win32 (x86) Application") -!MESSAGE -!ERROR An invalid configuration is specified. -!ENDIF - -!IF "$(OS)" == "Windows_NT" -NULL= -!ELSE -NULL=nul -!ENDIF -################################################################################ -# Begin Project -# PROP Target_Last_Scanned "util7230 - Win32 Debug" -CPP=cl.exe -RSC=rc.exe -MTL=mktyplib.exe - -!IF "$(CFG)" == "util7230 - Win32 Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "Release" -# PROP BASE Intermediate_Dir "Release" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "" -# PROP Intermediate_Dir "Release" -# PROP Target_Dir "" -OUTDIR=. -INTDIR=.\Release - -ALL : "$(OUTDIR)\util7230.exe" - -CLEAN : - -@erase ".\util7230.exe" - -@erase ".\Release\util7230.obj" - -@erase ".\Release\util7230.res" - -"$(INTDIR)" : - if not exist "$(INTDIR)/$(NULL)" mkdir "$(INTDIR)" - -# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /YX /c -# ADD CPP /nologo /W3 /GX /O2 /I "..\..\..\include" /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /c -# SUBTRACT CPP /YX -CPP_PROJ=/nologo /ML /W3 /GX /O2 /I "..\..\..\include" /D "WIN32" /D "NDEBUG"\ - /D "_WINDOWS" /Fo"$(INTDIR)/" /c -CPP_OBJS=.\Release/ -CPP_SBRS= -# ADD BASE MTL /nologo /D "NDEBUG" /win32 -# ADD MTL /nologo /D "NDEBUG" /win32 -MTL_PROJ=/nologo /D "NDEBUG" /win32 -# ADD BASE RSC /l 0x409 /d "NDEBUG" -# ADD RSC /l 0x409 /d "NDEBUG" -RSC_PROJ=/l 0x409 /fo"$(INTDIR)/util7230.res" /d "NDEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -BSC32_FLAGS=/nologo /o"$(OUTDIR)/util7230.bsc" -BSC32_SBRS= -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:windows /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ..\..\..\lib\pci-dask.lib /nologo /subsystem:windows /machine:I386 -LINK32_FLAGS=kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib\ - advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib\ - odbccp32.lib ..\..\..\lib\pci-dask.lib /nologo /subsystem:windows\ - /incremental:no /pdb:"$(OUTDIR)/util7230.pdb" /machine:I386\ - /out:"$(OUTDIR)/util7230.exe" -LINK32_OBJS= \ - ".\Release\util7230.obj" \ - ".\Release\util7230.res" - -"$(OUTDIR)\util7230.exe" : "$(OUTDIR)" $(DEF_FILE) $(LINK32_OBJS) - $(LINK32) @<< - $(LINK32_FLAGS) $(LINK32_OBJS) -<< - -!ELSEIF "$(CFG)" == "util7230 - Win32 Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "Debug" -# PROP BASE Intermediate_Dir "Debug" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "Debug" -# PROP Intermediate_Dir "Debug" -# PROP Target_Dir "" -OUTDIR=.\Debug -INTDIR=.\Debug - -ALL : "$(OUTDIR)\util7230.exe" - -CLEAN : - -@erase ".\Debug\vc40.pdb" - -@erase ".\Debug\vc40.idb" - -@erase ".\Debug\util7230.exe" - -@erase ".\Debug\util7230.obj" - -@erase ".\Debug\util7230.res" - -@erase ".\Debug\util7230.ilk" - -@erase ".\Debug\util7230.pdb" - -"$(OUTDIR)" : - if not exist "$(OUTDIR)/$(NULL)" mkdir "$(OUTDIR)" - -# ADD BASE CPP /nologo /W3 /Gm /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /YX /c -# ADD CPP /nologo /W3 /Gm /GX /Zi /Od /I "..\..\..\include" /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /c -# SUBTRACT CPP /YX -CPP_PROJ=/nologo /MLd /W3 /Gm /GX /Zi /Od /I "..\..\..\include" /D "WIN32" /D\ - "_DEBUG" /D "_WINDOWS" /Fo"$(INTDIR)/" /Fd"$(INTDIR)/" /c -CPP_OBJS=.\Debug/ -CPP_SBRS= -# ADD BASE MTL /nologo /D "_DEBUG" /win32 -# ADD MTL /nologo /D "_DEBUG" /win32 -MTL_PROJ=/nologo /D "_DEBUG" /win32 -# ADD BASE RSC /l 0x409 /d "_DEBUG" -# ADD RSC /l 0x409 /d "_DEBUG" -RSC_PROJ=/l 0x409 /fo"$(INTDIR)/util7230.res" /d "_DEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -BSC32_FLAGS=/nologo /o"$(OUTDIR)/util7230.bsc" -BSC32_SBRS= -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:windows /debug /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ..\..\..\lib\pci-dask.lib /nologo /subsystem:windows /debug /machine:I386 -LINK32_FLAGS=kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib\ - advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib\ - odbccp32.lib ..\..\..\lib\pci-dask.lib /nologo /subsystem:windows\ - /incremental:yes /pdb:"$(OUTDIR)/util7230.pdb" /debug /machine:I386\ - /out:"$(OUTDIR)/util7230.exe" -LINK32_OBJS= \ - ".\Debug\util7230.obj" \ - ".\Debug\util7230.res" - -"$(OUTDIR)\util7230.exe" : "$(OUTDIR)" $(DEF_FILE) $(LINK32_OBJS) - $(LINK32) @<< - $(LINK32_FLAGS) $(LINK32_OBJS) -<< - -!ENDIF - -.c{$(CPP_OBJS)}.obj: - $(CPP) $(CPP_PROJ) $< - -.cpp{$(CPP_OBJS)}.obj: - $(CPP) $(CPP_PROJ) $< - -.cxx{$(CPP_OBJS)}.obj: - $(CPP) $(CPP_PROJ) $< - -.c{$(CPP_SBRS)}.sbr: - $(CPP) $(CPP_PROJ) $< - -.cpp{$(CPP_SBRS)}.sbr: - $(CPP) $(CPP_PROJ) $< - -.cxx{$(CPP_SBRS)}.sbr: - $(CPP) $(CPP_PROJ) $< - -################################################################################ -# Begin Target - -# Name "util7230 - Win32 Release" -# Name "util7230 - Win32 Debug" - -!IF "$(CFG)" == "util7230 - Win32 Release" - -!ELSEIF "$(CFG)" == "util7230 - Win32 Debug" - -!ENDIF - -################################################################################ -# Begin Source File - -SOURCE=.\util7230.RC - -"$(INTDIR)\util7230.res" : $(SOURCE) "$(INTDIR)" - $(RSC) $(RSC_PROJ) $(SOURCE) - - -# End Source File -################################################################################ -# Begin Source File - -SOURCE=.\util7230.C -DEP_CPP_UTIL7=\ - ".\..\..\..\include\Dask.h"\ - - -"$(INTDIR)\util7230.obj" : $(SOURCE) $(DEP_CPP_UTIL7) "$(INTDIR)" - - -# End Source File -# End Target -# End Project -################################################################################ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7230/SDK7230/UTIL7230.MDP b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7230/SDK7230/UTIL7230.MDP deleted file mode 100644 index 786cba8..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7230/SDK7230/UTIL7230.MDP and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7230/SDK7230/UTIL7230.RC b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7230/SDK7230/UTIL7230.RC deleted file mode 100644 index ee0cfaf..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7230/SDK7230/UTIL7230.RC +++ /dev/null @@ -1,115 +0,0 @@ -//Microsoft Developer Studio generated resource script. -// -#include "resource.h" - -#define APSTUDIO_READONLY_SYMBOLS -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 2 resource. -// -#define APSTUDIO_HIDDEN_SYMBOLS -#include "windows.h" -#undef APSTUDIO_HIDDEN_SYMBOLS - -///////////////////////////////////////////////////////////////////////////// -#undef APSTUDIO_READONLY_SYMBOLS - -///////////////////////////////////////////////////////////////////////////// -// English (U.S.) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -#ifdef _WIN32 -LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US -#pragma code_page(1252) -#endif //_WIN32 - -///////////////////////////////////////////////////////////////////////////// -// -// Menu -// - -U7230MENU MENU DISCARDABLE -BEGIN - MENUITEM "E&xit!", IDM_EXIT -END - - -#ifdef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// TEXTINCLUDE -// - -1 TEXTINCLUDE DISCARDABLE -BEGIN - "resource.h\0" -END - -2 TEXTINCLUDE DISCARDABLE -BEGIN - "#define APSTUDIO_HIDDEN_SYMBOLS\r\n" - "#include ""windows.h""\r\n" - "#undef APSTUDIO_HIDDEN_SYMBOLS\r\n" - "\0" -END - -3 TEXTINCLUDE DISCARDABLE -BEGIN - "\r\n" - "\0" -END - -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog -// - -IDD_DIALOG1 DIALOG DISCARDABLE 110, 10, 106, 61 -STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "Card Number" -FONT 10, "System" -BEGIN - DEFPUSHBUTTON "OK",IDOK,10,40,37,14 - PUSHBUTTON "Cancel",IDCANCEL,61,40,38,14 - LTEXT "Card Number",IDC_STATIC,3,13,47,13 - COMBOBOX IDC_COMBO1,51,13,48,84,CBS_DROPDOWN | WS_VSCROLL | - WS_TABSTOP -END - - -///////////////////////////////////////////////////////////////////////////// -// -// DESIGNINFO -// - -#ifdef APSTUDIO_INVOKED -GUIDELINES DESIGNINFO DISCARDABLE -BEGIN - IDD_DIALOG1, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 99 - TOPMARGIN, 7 - BOTTOMMARGIN, 54 - END -END -#endif // APSTUDIO_INVOKED - -#endif // English (U.S.) resources -///////////////////////////////////////////////////////////////////////////// - - - -#ifndef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 3 resource. -// - - -///////////////////////////////////////////////////////////////////////////// -#endif // not APSTUDIO_INVOKED - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7230/SDK7230/Util7230.c b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7230/SDK7230/Util7230.c deleted file mode 100644 index 4164144..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7230/SDK7230/Util7230.c +++ /dev/null @@ -1,292 +0,0 @@ -/*;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; -;; Copyright (c) 1995-1999, ADLink Technology Inc. All rights reserved. ;; -;; ;; -;; File Name : Util7230.C ;; -;; Purpose : This sample program demonstrate how to operate ;; -;; DI & DO for PCI-7230 ;; -;; Date : 07/20/1999 ;; -;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;*/ - -#include -#include -#include -#include -#include -#include -#include "Dask.h" -#include "resource.h" - -#define IDM_EXIT 110 -#define TIMER1 1 - -int PASCAL WinMain(HANDLE, HANDLE, LPSTR, int); -long PASCAL MainWndProc(HWND, UINT, WPARAM, LPARAM); - -HANDLE hInst; -U16 input=0, output=0; -I16 card=-1, card_number=0; -U16 oldinput=0 ; - -HBRUSH hLTGreenBrush,hGreenBrush,hBlueBrush,hYellowBrush,hRedBrush; - -POINT input_pos[16]= {{320, 40}, {300, 40}, - {280, 40}, {260, 40}, - {240, 40}, {220, 40}, - { 200, 40}, { 180, 40}, - {160, 40}, {140, 40}, - {120, 40}, {100, 40}, - {80, 40}, {60, 40}, - { 40, 40}, { 20, 40}, - }; -POINT output_pos[16] ={ - {320, 120}, {300, 120}, - {280, 120}, {260, 120}, - {240, 120}, {220, 120}, - { 200, 120}, { 180, 120}, - {160, 120}, {140, 120}, - {120, 120}, {100, 120}, - {80, 120}, {60, 120}, - { 40, 120}, { 20, 120}, - }; - -BOOL InitApplication(HANDLE); -BOOL InitInstance(HANDLE, int); - -int PASCAL WinMain(hInstance, hPrevInstance, lpCmdLine, nCmdShow) -HANDLE hInstance, hPrevInstance; -LPSTR lpCmdLine; -int nCmdShow; -{ - MSG msg; - - if (!hPrevInstance) - if (!InitApplication(hInstance)) return(FALSE); - if (!InitInstance(hInstance, nCmdShow)) return(FALSE); - while (GetMessage(&msg, NULL, NULL, NULL)) { - TranslateMessage(&msg); - DispatchMessage(&msg); - } - return(msg.wParam); -} - -BOOL InitApplication(hInstance) -HANDLE hInstance; -{ - WNDCLASS wc; - - /* Main Window Class */ - wc.style = NULL; - wc.lpfnWndProc = (WNDPROC)MainWndProc; - wc.cbClsExtra = 0; - wc.cbWndExtra = 0; - wc.hInstance = hInstance; - wc.hIcon = LoadIcon(hInstance, "MyIcon"); - wc.hCursor = LoadCursor(NULL, IDC_ARROW); - wc.hbrBackground = GetStockObject(LTGRAY_BRUSH); - wc.lpszMenuName = NULL; - wc.lpszClassName = "GenericWClass"; - if (!RegisterClass(&wc)) return(FALSE); -} - -BOOL InitInstance(hInstance, nCmdShow) -HANDLE hInstance; -int nCmdShow; -{ - HWND hWnd; - HMENU hSampleMenu; - - hInst = hInstance; - hSampleMenu = LoadMenu(hInstance, "U7230Menu"); - hWnd = CreateWindow("GenericWClass", - (LPCSTR)"PCI-7230", - WS_OVERLAPPEDWINDOW, - CW_USEDEFAULT, - CW_USEDEFAULT, - 370, - 220, - NULL, - hSampleMenu, - hInstance, - NULL); - if (!hWnd) return(FALSE); - ShowWindow(hWnd, nCmdShow); - UpdateWindow(hWnd); - return(TRUE); -} - -BOOL PASCAL setup(HWND hWnd, unsigned message, WPARAM wParam, LPARAM lParam) -{ - int i; - char n[16]; - char s[50]; - switch (message) { - case WM_INITDIALOG: - for (i=0;i<16;i++) { - wsprintf(n, "%d", i); - _strupr(n); - SendMessage(GetDlgItem(hWnd,IDC_COMBO1), CB_ADDSTRING, NULL, (LONG)(LPSTR) n); - } - SendMessage(GetDlgItem(hWnd,IDC_COMBO1) , CB_SETCURSEL, 0, 0L); - - break; - case WM_COMMAND: - switch(LOWORD(wParam)) { - - case IDC_COMBO1: - if (HIWORD(wParam) == CBN_CLOSEUP) { - i = (int)SendMessage(GetDlgItem(hWnd,IDC_COMBO1), CB_GETCURSEL, 0, 0L); - SendMessage(GetDlgItem(hWnd,IDC_COMBO1), CB_GETLBTEXT, i, (LPARAM)((LPCSTR)n)); - card_number = i; - } - return(TRUE); - case IDOK: - if ((card=Register_Card(PCI_7230, card_number)) < 0) { - wsprintf(s, "Register_Card Error = %d\n", card); - MessageBox(hWnd, s, "Error", MB_OK); - } - EndDialog(hWnd, TRUE); - InvalidateRect(hWnd, NULL, FALSE); - return (TRUE); - case IDCANCEL: - EndDialog(hWnd, TRUE); - return (TRUE); - } - break; - } - return (FALSE); -} - -long PASCAL MainWndProc(hWnd, message, wParam, lParam) -HWND hWnd; -UINT message; -WPARAM wParam; -LPARAM lParam; -{ - HDC hDC; - PAINTSTRUCT ps; - int i, px, py; - - switch(message) { - case WM_CREATE: - DialogBox(hInst,IDD_DIALOG1, hWnd, setup); - if(card<0) { - SendMessage(hWnd, WM_CLOSE, 0, 0L); - break; - } - hLTGreenBrush = CreateSolidBrush(RGB(0, 255, 0)); - hGreenBrush = CreateSolidBrush(RGB(0, 128, 0)); - hBlueBrush = CreateSolidBrush(RGB(0, 0, 255)); - hRedBrush = CreateSolidBrush(RGB(255, 0, 0)); - SetTimer(hWnd, TIMER1, 50, NULL); - srand((unsigned)time(NULL)); - break; - case WM_PAINT: - hDC = BeginPaint(hWnd, &ps); - - // Digital Input Box - SelectObject(hDC, hLTGreenBrush); - Rectangle(hDC, input_pos[15].x-10, input_pos[15].y-24, input_pos[0].x+26, input_pos[0].y+40); - SetTextColor(hDC,RGB(255,255,255)); - SetBkColor(hDC, RGB(0, 0, 255)); - TextOut(hDC, input_pos[15].x, input_pos[15].y-30, "Digital Input",13); - - // Digital Output Box - SelectObject(hDC, hGreenBrush); - Rectangle(hDC, output_pos[15].x-10, output_pos[15].y-24, output_pos[0].x+26, output_pos[0].y+40); - SetTextColor(hDC,RGB(255,0,0)); - SetBkColor(hDC, RGB(0, 0, 255)); - TextOut(hDC, output_pos[15].x, output_pos[15].y-30, "Digital Output", 14); - - // Channel Label - SetTextColor(hDC,RGB(0,0,0)); - SetBkColor(hDC, RGB(0, 255, 0)); - TextOut(hDC, input_pos[15].x, input_pos[15].y+16, "15 0", 75); - SetBkColor(hDC, RGB(0, 128, 0)); - TextOut(hDC, output_pos[15].x, output_pos[15].y+16, "15 0", 75); - SetBkColor(hDC, RGB(0, 255, 0)); - - // Detect Channel Input - for (i=0; i<16; i++) { - if ((input>>i)&0x01) - SelectObject(hDC, hRedBrush); - else - SelectObject(hDC, GetStockObject(WHITE_BRUSH)); - Ellipse(hDC, input_pos[i].x, input_pos[i].y, input_pos[i].x+17, input_pos[i].y+17); - } - - // Channel Output - for (i=0; i<16; i++) { - if ((output>>i)&0x01) - SelectObject(hDC, hRedBrush); - else - SelectObject(hDC, GetStockObject(WHITE_BRUSH)); - Ellipse(hDC, output_pos[i].x, output_pos[i].y, output_pos[i].x+17, output_pos[i].y+17); - } - - EndPaint(hWnd, &ps); - break; - case WM_COMMAND: - switch(LOWORD(wParam)) { - case IDM_EXIT: - SendMessage(hWnd, WM_CLOSE, 0, 0L); - break; - default: - return(DefWindowProc(hWnd, message, wParam, lParam)); - } - break; - case WM_TIMER: - /* Digital Input */ - DI_ReadPort(card,0,&input); - hDC = GetDC(hWnd); - - for (i=0; i<16; i++) { - if( ((input>>i)&0x01) != ((oldinput>>i)&0x01) ) - { - if ((input>>i)&0x01) - SelectObject(hDC, hRedBrush); - else - SelectObject(hDC, GetStockObject(WHITE_BRUSH)); - Ellipse(hDC, input_pos[i].x, input_pos[i].y, input_pos[i].x+17, input_pos[i].y+17); - } - } - oldinput=input; - ReleaseDC(hWnd, hDC); - break; - case WM_DESTROY: - if (card >= 0) Release_Card(card); - DeleteObject(hRedBrush); - DeleteObject(hGreenBrush); - DeleteObject(hLTGreenBrush); - KillTimer(hWnd, TIMER1); - PostQuitMessage(0); - break; - case WM_LBUTTONDOWN: - px = LOWORD(lParam); - py = HIWORD(lParam); - - for (i=0; i<16; i++) { - if (px>output_pos[i].x && pxoutput_pos[i].y && py>i)&0x01) { - output -= (((U16)1L)< -#include -#include -#include -#include -#include "Dask.h" -#include "Resource.h" - -#define IDC_START 300 -#define IDC_OUTPUT 302 - -HANDLE hInst; /* current instance */ -int int_count=0, int2_count=0; - I16 card=-1, card_number = 0; - -HWND hStart, hMainWnd; -HANDLE hEvent[2]; - -int PASCAL WinMain(HANDLE, HANDLE, LPSTR, int); -BOOL InitApplication(HANDLE); -BOOL InitInstance(HANDLE, int); -long PASCAL MainWndProc(HWND, unsigned, WPARAM, LPARAM); - -void -IntThread(void* pArg) -{ - while (1) { - if (WaitForSingleObject(hEvent[0], INFINITE) == WAIT_OBJECT_0) { - int_count++; - ResetEvent(hEvent[0]); - InvalidateRect(hMainWnd, NULL, FALSE); - } - } - _endthread(); -} - -void -Int2Thread(void* pArg) -{ - while (1) { - if (WaitForSingleObject(hEvent[1], INFINITE) == WAIT_OBJECT_0) { - int2_count++; - ResetEvent(hEvent[1]); - InvalidateRect(hMainWnd, NULL, FALSE); - } - } - _endthread(); -} - - /********************************************************************** - - FUNCTION: WinMain(HANDLE, HANDLE, LPSTR, int) - PURPOSE: calls initialization function, processes message loop - - ***********************************************************************/ - - int PASCAL WinMain(hInstance, hPrevInstance, lpCmdLine, nCmdShow) - HANDLE hInstance; - HANDLE hPrevInstance; - LPSTR lpCmdLine; - int nCmdShow; - { - MSG msg; - - if(!hPrevInstance) - if(!InitApplication(hInstance)) - return(FALSE); - - if(!InitInstance(hInstance, nCmdShow)) - return(FALSE); - - while ( GetMessage(&msg, NULL, NULL, NULL)) - { - TranslateMessage(&msg); - DispatchMessage(&msg); - } - return(msg.wParam); - } - -/**************************************************************************** - - FUNCTION: InitApplication(HANDLE) - - PURPOSE: Initializes window data and registers window class - -****************************************************************************/ - -BOOL InitApplication(hInstance) -HANDLE hInstance; -{ - WNDCLASS wc; - - wc.style = NULL; - wc.lpfnWndProc = MainWndProc; - wc.cbClsExtra = 0; - wc.cbWndExtra = 0; - wc.hInstance = hInstance; - wc.hIcon = LoadIcon(NULL, IDI_APPLICATION); - wc.hCursor = LoadCursor(hInstance, IDC_ARROW); - wc.hbrBackground = GetStockObject(WHITE_BRUSH); - wc.lpszMenuName = "U7230Menu"; - wc.lpszClassName = "IntClass"; - - return (RegisterClass(&wc)); -} - -/**************************************************************************** - - FUNCTION: InitInstance(HANDLE, int) - - PURPOSE: Saves instance handle and creates main window - -****************************************************************************/ - -BOOL InitInstance(hInstance, nCmdShow) -HANDLE hInstance; -int nCmdShow; -{ - HWND hWnd; - - hInst = hInstance; - hWnd = CreateWindow("IntClass", "PCI-7230 Dual Interrupt Sample", WS_OVERLAPPEDWINDOW, - 200, 100, 415, 300, NULL, NULL, hInstance, NULL); - if (!hWnd) return (FALSE); - ShowWindow(hWnd, nCmdShow); - UpdateWindow(hWnd); - return (TRUE); -} - -BOOL PASCAL setup(HWND hWnd, unsigned message, WPARAM wParam, LPARAM lParam) -{ - int i; - char n[16]; - char s[50]; - switch (message) { - case WM_INITDIALOG: - for (i=0;i<16;i++) { - wsprintf(n, "%d", i); - _strupr(n); - SendMessage(GetDlgItem(hWnd,IDC_COMBO1), CB_ADDSTRING, NULL, (LONG)(LPSTR) n); - } - SendMessage(GetDlgItem(hWnd,IDC_COMBO1) , CB_SETCURSEL, 0, 0L); - - break; - case WM_COMMAND: - switch(LOWORD(wParam)) { - - case IDC_COMBO1: - if (HIWORD(wParam) == CBN_CLOSEUP) { - i = (int)SendMessage(GetDlgItem(hWnd,IDC_COMBO1), CB_GETCURSEL, 0, 0L); - SendMessage(GetDlgItem(hWnd,IDC_COMBO1), CB_GETLBTEXT, i, (LPARAM)((LPCSTR)n)); - card_number = i; - } - return(TRUE); - case IDOK: - if ((card=Register_Card(PCI_7230, card_number)) < 0) { - wsprintf(s, "Register_Card Error = %d\n", card); - MessageBox(hWnd, s, "Error", MB_OK); - } - EndDialog(hWnd, TRUE); - InvalidateRect(hWnd, NULL, FALSE); - return (TRUE); - case IDCANCEL: - EndDialog(hWnd, TRUE); - return (TRUE); - } - break; - } - return (FALSE); -} - -/**************************************************************************** - - FUNCTION: MainWndProc(HWND, UINT, WPARAM, LPARAM) - - PURPOSE: Processes messages - - -****************************************************************************/ - -long PASCAL MainWndProc(hWnd, message, wParam, lParam) -HWND hWnd; -unsigned message; -WPARAM wParam; -LPARAM lParam; -{ - PAINTSTRUCT ps; - HDC hDC; - char buf[20]; - - switch(message) { - case WM_CREATE: - DialogBox(hInst,IDD_DIALOG2, hWnd, setup); - if(card<0) { - SendMessage(hWnd, WM_CLOSE, 0, 0L); - break; - } - CreateWindow("BUTTON", "Output", WS_CHILD | WS_VISIBLE, - 130, 200, 72, 24, hWnd, IDC_OUTPUT, hInst, NULL); - DIO_SetDualInterrupt(card, INT1_EXT_SIGNAL, INT2_EXT_SIGNAL, hEvent); - hMainWnd = hWnd; - _beginthread(IntThread, 0, 0); - _beginthread(Int2Thread, 0, 0); - break; - case WM_PAINT: - hDC = BeginPaint(hWnd, &ps); - TextOut(hDC, 20, 20, "This program shows the number of occurrence of interrupt",56); - TextOut(hDC, 20, 35, "for Dual interrupt lines.", 25); - TextOut(hDC, 20, 50, "INT1 interrupt is generated by external signal from DI bit-0.", 61); - TextOut(hDC, 20, 65, "INT2 interrupt is generated by external signal from DI bit-1.", 61); - TextOut(hDC, 20, 80, "If you connect DO bit-0 to DI bit-0 and DO bit-1 to DI bit-1,", 61); - TextOut(hDC, 20, 95, "press 'Output' button can generate two interrupts.", 50); - TextOut(hDC, 20, 110,"One for INT1 and the other for INT2.", 36); - wsprintf(buf,"INT1 count = %d", int_count); - TextOut(hDC, 120, 140, buf, strlen(buf)); - wsprintf(buf,"INT2 count = %d", int2_count); - TextOut(hDC, 120, 160, buf, strlen(buf)); - EndPaint(hWnd, &ps); - break; - case WM_COMMAND: - switch(LOWORD(wParam)) { - case IDM_EXIT: - DIO_SetDualInterrupt(card, INT1_DISABLE, INT2_DISABLE, hEvent); - SendMessage(hWnd, WM_CLOSE, 0, 0L); - break; - case IDC_OUTPUT: - DO_WritePort(card,0, 0x3); - DO_WritePort(card,0, 0x0); - break; - } - break; - case WM_DESTROY: - if (card >= 0) Release_Card(card); - PostQuitMessage(0); - break; - default: - return (DefWindowProc(hWnd, message, wParam, lParam)); - } - return(0L); -} diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7230/SDK7230DbEvt/7230INT.EXE b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7230/SDK7230DbEvt/7230INT.EXE deleted file mode 100644 index 5e2129f..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7230/SDK7230DbEvt/7230INT.EXE and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7230/SDK7230DbEvt/7230INT.RC b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7230/SDK7230DbEvt/7230INT.RC deleted file mode 100644 index b74676c..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7230/SDK7230DbEvt/7230INT.RC +++ /dev/null @@ -1,115 +0,0 @@ -//Microsoft Developer Studio generated resource script. -// -#include "resource.h" - -#define APSTUDIO_READONLY_SYMBOLS -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 2 resource. -// -#define APSTUDIO_HIDDEN_SYMBOLS -#include "windows.h" -#undef APSTUDIO_HIDDEN_SYMBOLS - -///////////////////////////////////////////////////////////////////////////// -#undef APSTUDIO_READONLY_SYMBOLS - -///////////////////////////////////////////////////////////////////////////// -// English (U.S.) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -#ifdef _WIN32 -LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US -#pragma code_page(1252) -#endif //_WIN32 - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog -// - -IDD_DIALOG2 DIALOG DISCARDABLE 110, 10, 106, 61 -STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "Card Number" -FONT 10, "System" -BEGIN - DEFPUSHBUTTON "OK",IDOK,10,40,37,14 - PUSHBUTTON "Cancel",IDCANCEL,61,40,38,14 - LTEXT "Card Number",IDC_STATIC,3,13,47,13 - COMBOBOX IDC_COMBO1,51,13,48,84,CBS_DROPDOWN | WS_VSCROLL | - WS_TABSTOP -END - - -///////////////////////////////////////////////////////////////////////////// -// -// DESIGNINFO -// - -#ifdef APSTUDIO_INVOKED -GUIDELINES DESIGNINFO DISCARDABLE -BEGIN - IDD_DIALOG2, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 99 - TOPMARGIN, 7 - BOTTOMMARGIN, 54 - END -END -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// Menu -// - -U7230MENU MENU DISCARDABLE -BEGIN - MENUITEM "E&xit!", IDM_EXIT -END - - -#ifdef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// TEXTINCLUDE -// - -1 TEXTINCLUDE DISCARDABLE -BEGIN - "resource.h\0" -END - -2 TEXTINCLUDE DISCARDABLE -BEGIN - "#define APSTUDIO_HIDDEN_SYMBOLS\r\n" - "#include ""windows.h""\r\n" - "#undef APSTUDIO_HIDDEN_SYMBOLS\r\n" - "\0" -END - -3 TEXTINCLUDE DISCARDABLE -BEGIN - "\r\n" - "\0" -END - -#endif // APSTUDIO_INVOKED - -#endif // English (U.S.) resources -///////////////////////////////////////////////////////////////////////////// - - - -#ifndef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 3 resource. -// - - -///////////////////////////////////////////////////////////////////////////// -#endif // not APSTUDIO_INVOKED - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7230/SDK7230DbEvt/Resource.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7230/SDK7230DbEvt/Resource.h deleted file mode 100644 index cd716cb..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7230/SDK7230DbEvt/Resource.h +++ /dev/null @@ -1,30 +0,0 @@ -//{{NO_DEPENDENCIES}} -// Microsoft Developer Studio generated include file. -// Used by 7230int.rc -// -#define IDM_SETUP 101 -#define IDD_DIALOG1 101 -#define IDD_DIALOG2 102 -#define IDM_EXIT 110 -#define IDM_GO 300 -#define IDM_ABOUT 301 -#define DMA_DATA 302 -#define ID_STOP 304 -#define IDM_CLEAR 305 -#define DMA_SPACE 500 -#define IDC_COMBO1 1004 -#define IDC_COMBO2 1005 -#define IDC_EDIT1 1007 -#define IDC_EDIT2 1008 -#define IDC_STATIC -1 - -// Next default values for new objects -// -#ifdef APSTUDIO_INVOKED -#ifndef APSTUDIO_READONLY_SYMBOLS -#define _APS_NEXT_RESOURCE_VALUE 103 -#define _APS_NEXT_COMMAND_VALUE 102 -#define _APS_NEXT_CONTROL_VALUE 1008 -#define _APS_NEXT_SYMED_VALUE 101 -#endif -#endif diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7230/SDK7230DbEvt/SDK7230int.mak b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7230/SDK7230DbEvt/SDK7230int.mak deleted file mode 100644 index c1693a7..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7230/SDK7230DbEvt/SDK7230int.mak +++ /dev/null @@ -1,219 +0,0 @@ -# Microsoft Developer Studio Generated NMAKE File, Format Version 4.00 -# ** DO NOT EDIT ** - -# TARGTYPE "Win32 (x86) Application" 0x0101 - -!IF "$(CFG)" == "" -CFG=SDK7230int - Win32 Debug -!MESSAGE No configuration specified. Defaulting to SDK7230int - Win32 Debug. -!ENDIF - -!IF "$(CFG)" != "SDK7230int - Win32 Release" && "$(CFG)" !=\ - "SDK7230int - Win32 Debug" -!MESSAGE Invalid configuration "$(CFG)" specified. -!MESSAGE You can specify a configuration when running NMAKE on this makefile -!MESSAGE by defining the macro CFG on the command line. For example: -!MESSAGE -!MESSAGE NMAKE /f "SDK7230int.mak" CFG="SDK7230int - Win32 Debug" -!MESSAGE -!MESSAGE Possible choices for configuration are: -!MESSAGE -!MESSAGE "SDK7230int - Win32 Release" (based on "Win32 (x86) Application") -!MESSAGE "SDK7230int - Win32 Debug" (based on "Win32 (x86) Application") -!MESSAGE -!ERROR An invalid configuration is specified. -!ENDIF - -!IF "$(OS)" == "Windows_NT" -NULL= -!ELSE -NULL=nul -!ENDIF -################################################################################ -# Begin Project -# PROP Target_Last_Scanned "SDK7230int - Win32 Debug" -MTL=mktyplib.exe -RSC=rc.exe -CPP=cl.exe - -!IF "$(CFG)" == "SDK7230int - Win32 Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "SDK7230i" -# PROP BASE Intermediate_Dir "SDK7230i" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "" -# PROP Intermediate_Dir "Release" -# PROP Target_Dir "" -OUTDIR=. -INTDIR=.\Release - -ALL : "$(OUTDIR)\7230int.exe" - -CLEAN : - -@erase ".\7230int.exe" - -@erase ".\Release\7230INT.obj" - -@erase ".\Release\7230int.res" - -"$(INTDIR)" : - if not exist "$(INTDIR)/$(NULL)" mkdir "$(INTDIR)" - -# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /YX /c -# ADD CPP /nologo /MT /W3 /GX /Od /I "..\..\..\include" /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /c -# SUBTRACT CPP /YX -CPP_PROJ=/nologo /MT /W3 /GX /Od /I "..\..\..\include" /D "WIN32" /D "NDEBUG"\ - /D "_WINDOWS" /Fo"$(INTDIR)/" /c -CPP_OBJS=.\Release/ -CPP_SBRS= -# ADD BASE MTL /nologo /D "NDEBUG" /win32 -# ADD MTL /nologo /D "NDEBUG" /win32 -MTL_PROJ=/nologo /D "NDEBUG" /win32 -# ADD BASE RSC /l 0x409 /d "NDEBUG" -# ADD RSC /l 0x409 /d "NDEBUG" -RSC_PROJ=/l 0x409 /fo"$(INTDIR)/7230int.res" /d "NDEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -BSC32_FLAGS=/nologo /o"$(OUTDIR)/SDK7230int.bsc" -BSC32_SBRS= -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:windows /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ..\..\..\lib\pci-dask.lib /nologo /subsystem:windows /machine:I386 /out:"7230int.exe" -LINK32_FLAGS=kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib\ - advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib\ - odbccp32.lib ..\..\..\lib\pci-dask.lib /nologo /subsystem:windows\ - /incremental:no /pdb:"$(OUTDIR)/7230int.pdb" /machine:I386\ - /out:"$(OUTDIR)/7230int.exe" -LINK32_OBJS= \ - "$(INTDIR)/7230INT.obj" \ - "$(INTDIR)/7230int.res" - -"$(OUTDIR)\7230int.exe" : "$(OUTDIR)" $(DEF_FILE) $(LINK32_OBJS) - $(LINK32) @<< - $(LINK32_FLAGS) $(LINK32_OBJS) -<< - -!ELSEIF "$(CFG)" == "SDK7230int - Win32 Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "SDK72300" -# PROP BASE Intermediate_Dir "SDK72300" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "" -# PROP Intermediate_Dir "Debug" -# PROP Target_Dir "" -OUTDIR=. -INTDIR=.\Debug - -ALL : "$(OUTDIR)\7230int.exe" - -CLEAN : - -@erase ".\Debug\vc40.pdb" - -@erase ".\Debug\vc40.idb" - -@erase ".\7230int.exe" - -@erase ".\Debug\7230INT.obj" - -@erase ".\Debug\7230int.res" - -@erase ".\7230int.ilk" - -@erase ".\7230int.pdb" - -"$(INTDIR)" : - if not exist "$(INTDIR)/$(NULL)" mkdir "$(INTDIR)" - -# ADD BASE CPP /nologo /W3 /Gm /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /YX /c -# ADD CPP /nologo /MTd /W3 /Gm /GX /Zi /Od /I "..\..\..\include" /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /c -# SUBTRACT CPP /YX -CPP_PROJ=/nologo /MTd /W3 /Gm /GX /Zi /Od /I "..\..\..\include" /D "WIN32" /D\ - "_DEBUG" /D "_WINDOWS" /Fo"$(INTDIR)/" /Fd"$(INTDIR)/" /c -CPP_OBJS=.\Debug/ -CPP_SBRS= -# ADD BASE MTL /nologo /D "_DEBUG" /win32 -# ADD MTL /nologo /D "_DEBUG" /win32 -MTL_PROJ=/nologo /D "_DEBUG" /win32 -# ADD BASE RSC /l 0x409 /d "_DEBUG" -# ADD RSC /l 0x409 /d "_DEBUG" -RSC_PROJ=/l 0x409 /fo"$(INTDIR)/7230int.res" /d "_DEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -BSC32_FLAGS=/nologo /o"$(OUTDIR)/SDK7230int.bsc" -BSC32_SBRS= -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:windows /debug /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ..\..\..\lib\pci-dask.lib /nologo /subsystem:windows /debug /machine:I386 /out:"7230int.exe" -LINK32_FLAGS=kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib\ - advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib\ - odbccp32.lib ..\..\..\lib\pci-dask.lib /nologo /subsystem:windows\ - /incremental:yes /pdb:"$(OUTDIR)/7230int.pdb" /debug /machine:I386\ - /out:"$(OUTDIR)/7230int.exe" -LINK32_OBJS= \ - "$(INTDIR)/7230INT.obj" \ - "$(INTDIR)/7230int.res" - -"$(OUTDIR)\7230int.exe" : "$(OUTDIR)" $(DEF_FILE) $(LINK32_OBJS) - $(LINK32) @<< - $(LINK32_FLAGS) $(LINK32_OBJS) -<< - -!ENDIF - -.c{$(CPP_OBJS)}.obj: - $(CPP) $(CPP_PROJ) $< - -.cpp{$(CPP_OBJS)}.obj: - $(CPP) $(CPP_PROJ) $< - -.cxx{$(CPP_OBJS)}.obj: - $(CPP) $(CPP_PROJ) $< - -.c{$(CPP_SBRS)}.sbr: - $(CPP) $(CPP_PROJ) $< - -.cpp{$(CPP_SBRS)}.sbr: - $(CPP) $(CPP_PROJ) $< - -.cxx{$(CPP_SBRS)}.sbr: - $(CPP) $(CPP_PROJ) $< - -################################################################################ -# Begin Target - -# Name "SDK7230int - Win32 Release" -# Name "SDK7230int - Win32 Debug" - -!IF "$(CFG)" == "SDK7230int - Win32 Release" - -!ELSEIF "$(CFG)" == "SDK7230int - Win32 Debug" - -!ENDIF - -################################################################################ -# Begin Source File - -SOURCE=.\7230int.rc - -"$(INTDIR)\7230int.res" : $(SOURCE) "$(INTDIR)" - $(RSC) $(RSC_PROJ) $(SOURCE) - - -# End Source File -################################################################################ -# Begin Source File - -SOURCE=.\7230INT.c -DEP_CPP_7230I=\ - ".\..\..\..\include\Dask.h"\ - - -"$(INTDIR)\7230INT.obj" : $(SOURCE) $(DEP_CPP_7230I) "$(INTDIR)" - - -# End Source File -# End Target -# End Project -################################################################################ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7230/SDK7230DbEvt/SDK7230int.mdp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7230/SDK7230DbEvt/SDK7230int.mdp deleted file mode 100644 index a0ec800..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7230/SDK7230DbEvt/SDK7230int.mdp and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7230/SDK7230DbEvtMsg/7230INT.C b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7230/SDK7230DbEvtMsg/7230INT.C deleted file mode 100644 index 68b63a3..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7230/SDK7230DbEvtMsg/7230INT.C +++ /dev/null @@ -1,238 +0,0 @@ -/*;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; -;; Copyright (c) 1995-1999, ADLink Technology Inc. All rights reserved. ;; -;; ;; -;; File Name : 7230INT.C ;; -;; Purpose : This sample program demonstrates how handle interrupt ;; -;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;*/ - -#include -#include -#include -#include -#include -#include "Dask.h" -#include "Resource.h" - -#define IDC_START 300 -#define IDC_OUTPUT 302 -#define WM_INT 2000 - -HANDLE hInst; /* current instance */ -int int_count[2]= {0, 0}; -I16 card=-1, card_number = 0; -HWND hStart, hMainWnd; - -int PASCAL WinMain(HANDLE, HANDLE, LPSTR, int); -BOOL InitApplication(HANDLE); -BOOL InitInstance(HANDLE, int); -long PASCAL MainWndProc(HWND, unsigned, WPARAM, LPARAM); -LRESULT CALLBACK cbfn(); -void mesgfn(); - - /********************************************************************** - - FUNCTION: WinMain(HANDLE, HANDLE, LPSTR, int) - PURPOSE: calls initialization function, processes message loop - - ***********************************************************************/ - - int PASCAL WinMain(hInstance, hPrevInstance, lpCmdLine, nCmdShow) - HANDLE hInstance; - HANDLE hPrevInstance; - LPSTR lpCmdLine; - int nCmdShow; - { - MSG msg; - - if(!hPrevInstance) - if(!InitApplication(hInstance)) - return(FALSE); - - if(!InitInstance(hInstance, nCmdShow)) - return(FALSE); - - while ( GetMessage(&msg, NULL, NULL, NULL)) - { - TranslateMessage(&msg); - DispatchMessage(&msg); - } - return(msg.wParam); - } - -/**************************************************************************** - - FUNCTION: InitApplication(HANDLE) - - PURPOSE: Initializes window data and registers window class - -****************************************************************************/ - -BOOL InitApplication(hInstance) -HANDLE hInstance; -{ - WNDCLASS wc; - - wc.style = NULL; - wc.lpfnWndProc = MainWndProc; - wc.cbClsExtra = 0; - wc.cbWndExtra = 0; - wc.hInstance = hInstance; - wc.hIcon = LoadIcon(NULL, IDI_APPLICATION); - wc.hCursor = LoadCursor(hInstance, IDC_ARROW); - wc.hbrBackground = GetStockObject(WHITE_BRUSH); - wc.lpszMenuName = "U7230Menu"; - wc.lpszClassName = "IntClass"; - - return (RegisterClass(&wc)); -} - -/**************************************************************************** - - FUNCTION: InitInstance(HANDLE, int) - - PURPOSE: Saves instance handle and creates main window - -****************************************************************************/ - -BOOL InitInstance(hInstance, nCmdShow) -HANDLE hInstance; -int nCmdShow; -{ - HWND hWnd; - - hInst = hInstance; - hWnd = CreateWindow("IntClass", "PCI-7230 Dual Interrupt Sample", WS_OVERLAPPEDWINDOW, - 200, 100, 415, 300, NULL, NULL, hInstance, NULL); - if (!hWnd) return (FALSE); - ShowWindow(hWnd, nCmdShow); - UpdateWindow(hWnd); - return (TRUE); -} - -BOOL PASCAL setup(HWND hWnd, unsigned message, WPARAM wParam, LPARAM lParam) -{ - int i; - char n[16]; - char s[50]; - switch (message) { - case WM_INITDIALOG: - for (i=0;i<16;i++) { - wsprintf(n, "%d", i); - _strupr(n); - SendMessage(GetDlgItem(hWnd,IDC_COMBO1), CB_ADDSTRING, NULL, (LONG)(LPSTR) n); - } - SendMessage(GetDlgItem(hWnd,IDC_COMBO1) , CB_SETCURSEL, 0, 0L); - - break; - case WM_COMMAND: - switch(LOWORD(wParam)) { - - case IDC_COMBO1: - if (HIWORD(wParam) == CBN_CLOSEUP) { - i = (int)SendMessage(GetDlgItem(hWnd,IDC_COMBO1), CB_GETCURSEL, 0, 0L); - SendMessage(GetDlgItem(hWnd,IDC_COMBO1), CB_GETLBTEXT, i, (LPARAM)((LPCSTR)n)); - card_number = i; - } - return(TRUE); - case IDOK: - if ((card=Register_Card(PCI_7230, card_number)) < 0) { - wsprintf(s, "Register_Card Error = %d\n", card); - MessageBox(hWnd, s, "Error", MB_OK); - } - EndDialog(hWnd, TRUE); - InvalidateRect(hWnd, NULL, FALSE); - return (TRUE); - case IDCANCEL: - EndDialog(hWnd, TRUE); - return (TRUE); - } - break; - } - return (FALSE); -} -/**************************************************************************** - - FUNCTION: MainWndProc(HWND, UINT, WPARAM, LPARAM) - - PURPOSE: Processes messages - - -****************************************************************************/ - -long PASCAL MainWndProc(hWnd, message, wParam, lParam) -HWND hWnd; -unsigned message; -WPARAM wParam; -LPARAM lParam; -{ - PAINTSTRUCT ps; - HDC hDC; - char buf[20]; - - switch(message) { - case WM_CREATE: - DialogBox(hInst,IDD_DIALOG2, hWnd, setup); - if(card<0) { - SendMessage(hWnd, WM_CLOSE, 0, 0L); - break; - } - CreateWindow("BUTTON", "Output", WS_CHILD | WS_VISIBLE, - 130, 200, 72, 24, hWnd, IDC_OUTPUT, hInst, NULL); - int_count[0]=0; - int_count[1]=0; - DIO_INT1_EventMessage (card, INT1_EXT_SIGNAL, hWnd, WM_INT, NULL); - DIO_INT2_EventMessage (card, INT2_EXT_SIGNAL, hWnd, NULL, (void *) cbfn); - hMainWnd = hWnd; - break; - case WM_PAINT: - hDC = BeginPaint(hWnd, &ps); - TextOut(hDC, 20, 20, "This program shows the number of occurrence of interrupt",56); - TextOut(hDC, 20, 35, "for Dual interrupt lines.", 25); - TextOut(hDC, 20, 50, "INT1 interrupt is generated by external signal from DI bit-0.", 61); - TextOut(hDC, 20, 65, "INT2 interrupt is generated by external signal from DI bit-1.", 61); - TextOut(hDC, 20, 80, "If you connect DO bit-0 to DI bit-0 and DO bit-1 to DI bit-1,", 61); - TextOut(hDC, 20, 95, "press 'Output' button can generate two interrupts.", 50); - TextOut(hDC, 20, 110,"One for INT1 and the other for INT2.", 36); - wsprintf(buf,"INT1 count = %d", int_count[0]); - TextOut(hDC, 120, 140, buf, strlen(buf)); - wsprintf(buf,"INT2 count = %d", int_count[1]); - TextOut(hDC, 120, 160, buf, strlen(buf)); - EndPaint(hWnd, &ps); - break; - case WM_COMMAND: - switch(LOWORD(wParam)) { - case IDM_EXIT: - DIO_INT1_EventMessage (card, INT1_DISABLE, hMainWnd, NULL, NULL); - DIO_INT2_EventMessage (card, INT2_DISABLE, hMainWnd, NULL, NULL); - SendMessage(hWnd, WM_CLOSE, 0, 0L); - break; - case IDC_OUTPUT: - DO_WritePort(card,0, 0x3); - DO_WritePort(card,0, 0x0); - break; - } - break; - case WM_INT: - mesgfn(); - break; - case WM_DESTROY: - if (card >= 0) Release_Card(card); - PostQuitMessage(0); - break; - default: - return (DefWindowProc(hWnd, message, wParam, lParam)); - } - return(0L); -} - -void mesgfn() -{ - int_count[0]++; - InvalidateRect(hMainWnd, NULL, FALSE); -} - -LRESULT CALLBACK cbfn() -{ - int_count[1]++; - InvalidateRect(hMainWnd, NULL, FALSE); -} \ No newline at end of file diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7230/SDK7230DbEvtMsg/7230INT.EXE b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7230/SDK7230DbEvtMsg/7230INT.EXE deleted file mode 100644 index c28a9a8..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7230/SDK7230DbEvtMsg/7230INT.EXE and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7230/SDK7230DbEvtMsg/7230int.rc b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7230/SDK7230DbEvtMsg/7230int.rc deleted file mode 100644 index b74676c..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7230/SDK7230DbEvtMsg/7230int.rc +++ /dev/null @@ -1,115 +0,0 @@ -//Microsoft Developer Studio generated resource script. -// -#include "resource.h" - -#define APSTUDIO_READONLY_SYMBOLS -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 2 resource. -// -#define APSTUDIO_HIDDEN_SYMBOLS -#include "windows.h" -#undef APSTUDIO_HIDDEN_SYMBOLS - -///////////////////////////////////////////////////////////////////////////// -#undef APSTUDIO_READONLY_SYMBOLS - -///////////////////////////////////////////////////////////////////////////// -// English (U.S.) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -#ifdef _WIN32 -LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US -#pragma code_page(1252) -#endif //_WIN32 - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog -// - -IDD_DIALOG2 DIALOG DISCARDABLE 110, 10, 106, 61 -STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "Card Number" -FONT 10, "System" -BEGIN - DEFPUSHBUTTON "OK",IDOK,10,40,37,14 - PUSHBUTTON "Cancel",IDCANCEL,61,40,38,14 - LTEXT "Card Number",IDC_STATIC,3,13,47,13 - COMBOBOX IDC_COMBO1,51,13,48,84,CBS_DROPDOWN | WS_VSCROLL | - WS_TABSTOP -END - - -///////////////////////////////////////////////////////////////////////////// -// -// DESIGNINFO -// - -#ifdef APSTUDIO_INVOKED -GUIDELINES DESIGNINFO DISCARDABLE -BEGIN - IDD_DIALOG2, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 99 - TOPMARGIN, 7 - BOTTOMMARGIN, 54 - END -END -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// Menu -// - -U7230MENU MENU DISCARDABLE -BEGIN - MENUITEM "E&xit!", IDM_EXIT -END - - -#ifdef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// TEXTINCLUDE -// - -1 TEXTINCLUDE DISCARDABLE -BEGIN - "resource.h\0" -END - -2 TEXTINCLUDE DISCARDABLE -BEGIN - "#define APSTUDIO_HIDDEN_SYMBOLS\r\n" - "#include ""windows.h""\r\n" - "#undef APSTUDIO_HIDDEN_SYMBOLS\r\n" - "\0" -END - -3 TEXTINCLUDE DISCARDABLE -BEGIN - "\r\n" - "\0" -END - -#endif // APSTUDIO_INVOKED - -#endif // English (U.S.) resources -///////////////////////////////////////////////////////////////////////////// - - - -#ifndef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 3 resource. -// - - -///////////////////////////////////////////////////////////////////////////// -#endif // not APSTUDIO_INVOKED - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7230/SDK7230DbEvtMsg/Resource.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7230/SDK7230DbEvtMsg/Resource.h deleted file mode 100644 index cd716cb..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7230/SDK7230DbEvtMsg/Resource.h +++ /dev/null @@ -1,30 +0,0 @@ -//{{NO_DEPENDENCIES}} -// Microsoft Developer Studio generated include file. -// Used by 7230int.rc -// -#define IDM_SETUP 101 -#define IDD_DIALOG1 101 -#define IDD_DIALOG2 102 -#define IDM_EXIT 110 -#define IDM_GO 300 -#define IDM_ABOUT 301 -#define DMA_DATA 302 -#define ID_STOP 304 -#define IDM_CLEAR 305 -#define DMA_SPACE 500 -#define IDC_COMBO1 1004 -#define IDC_COMBO2 1005 -#define IDC_EDIT1 1007 -#define IDC_EDIT2 1008 -#define IDC_STATIC -1 - -// Next default values for new objects -// -#ifdef APSTUDIO_INVOKED -#ifndef APSTUDIO_READONLY_SYMBOLS -#define _APS_NEXT_RESOURCE_VALUE 103 -#define _APS_NEXT_COMMAND_VALUE 102 -#define _APS_NEXT_CONTROL_VALUE 1008 -#define _APS_NEXT_SYMED_VALUE 101 -#endif -#endif diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7230/SDK7230DbEvtMsg/SDK7230int.mak b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7230/SDK7230DbEvtMsg/SDK7230int.mak deleted file mode 100644 index c1693a7..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7230/SDK7230DbEvtMsg/SDK7230int.mak +++ /dev/null @@ -1,219 +0,0 @@ -# Microsoft Developer Studio Generated NMAKE File, Format Version 4.00 -# ** DO NOT EDIT ** - -# TARGTYPE "Win32 (x86) Application" 0x0101 - -!IF "$(CFG)" == "" -CFG=SDK7230int - Win32 Debug -!MESSAGE No configuration specified. Defaulting to SDK7230int - Win32 Debug. -!ENDIF - -!IF "$(CFG)" != "SDK7230int - Win32 Release" && "$(CFG)" !=\ - "SDK7230int - Win32 Debug" -!MESSAGE Invalid configuration "$(CFG)" specified. -!MESSAGE You can specify a configuration when running NMAKE on this makefile -!MESSAGE by defining the macro CFG on the command line. For example: -!MESSAGE -!MESSAGE NMAKE /f "SDK7230int.mak" CFG="SDK7230int - Win32 Debug" -!MESSAGE -!MESSAGE Possible choices for configuration are: -!MESSAGE -!MESSAGE "SDK7230int - Win32 Release" (based on "Win32 (x86) Application") -!MESSAGE "SDK7230int - Win32 Debug" (based on "Win32 (x86) Application") -!MESSAGE -!ERROR An invalid configuration is specified. -!ENDIF - -!IF "$(OS)" == "Windows_NT" -NULL= -!ELSE -NULL=nul -!ENDIF -################################################################################ -# Begin Project -# PROP Target_Last_Scanned "SDK7230int - Win32 Debug" -MTL=mktyplib.exe -RSC=rc.exe -CPP=cl.exe - -!IF "$(CFG)" == "SDK7230int - Win32 Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "SDK7230i" -# PROP BASE Intermediate_Dir "SDK7230i" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "" -# PROP Intermediate_Dir "Release" -# PROP Target_Dir "" -OUTDIR=. -INTDIR=.\Release - -ALL : "$(OUTDIR)\7230int.exe" - -CLEAN : - -@erase ".\7230int.exe" - -@erase ".\Release\7230INT.obj" - -@erase ".\Release\7230int.res" - -"$(INTDIR)" : - if not exist "$(INTDIR)/$(NULL)" mkdir "$(INTDIR)" - -# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /YX /c -# ADD CPP /nologo /MT /W3 /GX /Od /I "..\..\..\include" /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /c -# SUBTRACT CPP /YX -CPP_PROJ=/nologo /MT /W3 /GX /Od /I "..\..\..\include" /D "WIN32" /D "NDEBUG"\ - /D "_WINDOWS" /Fo"$(INTDIR)/" /c -CPP_OBJS=.\Release/ -CPP_SBRS= -# ADD BASE MTL /nologo /D "NDEBUG" /win32 -# ADD MTL /nologo /D "NDEBUG" /win32 -MTL_PROJ=/nologo /D "NDEBUG" /win32 -# ADD BASE RSC /l 0x409 /d "NDEBUG" -# ADD RSC /l 0x409 /d "NDEBUG" -RSC_PROJ=/l 0x409 /fo"$(INTDIR)/7230int.res" /d "NDEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -BSC32_FLAGS=/nologo /o"$(OUTDIR)/SDK7230int.bsc" -BSC32_SBRS= -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:windows /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ..\..\..\lib\pci-dask.lib /nologo /subsystem:windows /machine:I386 /out:"7230int.exe" -LINK32_FLAGS=kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib\ - advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib\ - odbccp32.lib ..\..\..\lib\pci-dask.lib /nologo /subsystem:windows\ - /incremental:no /pdb:"$(OUTDIR)/7230int.pdb" /machine:I386\ - /out:"$(OUTDIR)/7230int.exe" -LINK32_OBJS= \ - "$(INTDIR)/7230INT.obj" \ - "$(INTDIR)/7230int.res" - -"$(OUTDIR)\7230int.exe" : "$(OUTDIR)" $(DEF_FILE) $(LINK32_OBJS) - $(LINK32) @<< - $(LINK32_FLAGS) $(LINK32_OBJS) -<< - -!ELSEIF "$(CFG)" == "SDK7230int - Win32 Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "SDK72300" -# PROP BASE Intermediate_Dir "SDK72300" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "" -# PROP Intermediate_Dir "Debug" -# PROP Target_Dir "" -OUTDIR=. -INTDIR=.\Debug - -ALL : "$(OUTDIR)\7230int.exe" - -CLEAN : - -@erase ".\Debug\vc40.pdb" - -@erase ".\Debug\vc40.idb" - -@erase ".\7230int.exe" - -@erase ".\Debug\7230INT.obj" - -@erase ".\Debug\7230int.res" - -@erase ".\7230int.ilk" - -@erase ".\7230int.pdb" - -"$(INTDIR)" : - if not exist "$(INTDIR)/$(NULL)" mkdir "$(INTDIR)" - -# ADD BASE CPP /nologo /W3 /Gm /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /YX /c -# ADD CPP /nologo /MTd /W3 /Gm /GX /Zi /Od /I "..\..\..\include" /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /c -# SUBTRACT CPP /YX -CPP_PROJ=/nologo /MTd /W3 /Gm /GX /Zi /Od /I "..\..\..\include" /D "WIN32" /D\ - "_DEBUG" /D "_WINDOWS" /Fo"$(INTDIR)/" /Fd"$(INTDIR)/" /c -CPP_OBJS=.\Debug/ -CPP_SBRS= -# ADD BASE MTL /nologo /D "_DEBUG" /win32 -# ADD MTL /nologo /D "_DEBUG" /win32 -MTL_PROJ=/nologo /D "_DEBUG" /win32 -# ADD BASE RSC /l 0x409 /d "_DEBUG" -# ADD RSC /l 0x409 /d "_DEBUG" -RSC_PROJ=/l 0x409 /fo"$(INTDIR)/7230int.res" /d "_DEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -BSC32_FLAGS=/nologo /o"$(OUTDIR)/SDK7230int.bsc" -BSC32_SBRS= -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:windows /debug /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ..\..\..\lib\pci-dask.lib /nologo /subsystem:windows /debug /machine:I386 /out:"7230int.exe" -LINK32_FLAGS=kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib\ - advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib\ - odbccp32.lib ..\..\..\lib\pci-dask.lib /nologo /subsystem:windows\ - /incremental:yes /pdb:"$(OUTDIR)/7230int.pdb" /debug /machine:I386\ - /out:"$(OUTDIR)/7230int.exe" -LINK32_OBJS= \ - "$(INTDIR)/7230INT.obj" \ - "$(INTDIR)/7230int.res" - -"$(OUTDIR)\7230int.exe" : "$(OUTDIR)" $(DEF_FILE) $(LINK32_OBJS) - $(LINK32) @<< - $(LINK32_FLAGS) $(LINK32_OBJS) -<< - -!ENDIF - -.c{$(CPP_OBJS)}.obj: - $(CPP) $(CPP_PROJ) $< - -.cpp{$(CPP_OBJS)}.obj: - $(CPP) $(CPP_PROJ) $< - -.cxx{$(CPP_OBJS)}.obj: - $(CPP) $(CPP_PROJ) $< - -.c{$(CPP_SBRS)}.sbr: - $(CPP) $(CPP_PROJ) $< - -.cpp{$(CPP_SBRS)}.sbr: - $(CPP) $(CPP_PROJ) $< - -.cxx{$(CPP_SBRS)}.sbr: - $(CPP) $(CPP_PROJ) $< - -################################################################################ -# Begin Target - -# Name "SDK7230int - Win32 Release" -# Name "SDK7230int - Win32 Debug" - -!IF "$(CFG)" == "SDK7230int - Win32 Release" - -!ELSEIF "$(CFG)" == "SDK7230int - Win32 Debug" - -!ENDIF - -################################################################################ -# Begin Source File - -SOURCE=.\7230int.rc - -"$(INTDIR)\7230int.res" : $(SOURCE) "$(INTDIR)" - $(RSC) $(RSC_PROJ) $(SOURCE) - - -# End Source File -################################################################################ -# Begin Source File - -SOURCE=.\7230INT.c -DEP_CPP_7230I=\ - ".\..\..\..\include\Dask.h"\ - - -"$(INTDIR)\7230INT.obj" : $(SOURCE) $(DEP_CPP_7230I) "$(INTDIR)" - - -# End Source File -# End Target -# End Project -################################################################################ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7230/SDK7230DbEvtMsg/SDK7230int.mdp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7230/SDK7230DbEvtMsg/SDK7230int.mdp deleted file mode 100644 index 5ba2cef..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7230/SDK7230DbEvtMsg/SDK7230int.mdp and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7230/SDK7230int/7230INT.C b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7230/SDK7230int/7230INT.C deleted file mode 100644 index 0294341..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7230/SDK7230int/7230INT.C +++ /dev/null @@ -1,230 +0,0 @@ -/*;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; -;; Copyright (c) 1995-1999, ADLink Technology Inc. All rights reserved. ;; -;; ;; -;; File Name : 7230INT.C ;; -;; Purpose : This sample program demonstrates how handle interrupt ;; -;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;*/ - -#include -#include -#include -#include -#include -#include "Dask.h" -#include "Resource.h" - -#define IDC_START 300 -#define IDC_OUTPUT 302 - -HANDLE hInst; /* current instance */ -int int_count=0; -I16 card=-1, card_number = 0; - -HWND hStart, hMainWnd; -HANDLE hEvent[2]; - -int PASCAL WinMain(HANDLE, HANDLE, LPSTR, int); -BOOL InitApplication(HANDLE); -BOOL InitInstance(HANDLE, int); -long PASCAL MainWndProc(HWND, unsigned, WPARAM, LPARAM); - -void -IntThread(void* pArg) -{ - while (1) { - if (WaitForSingleObject(hEvent[0], INFINITE) == WAIT_OBJECT_0) { - int_count++; - ResetEvent(hEvent[0]); - InvalidateRect(hMainWnd, NULL, FALSE); - } - } - _endthread(); -} - - /********************************************************************** - - FUNCTION: WinMain(HANDLE, HANDLE, LPSTR, int) - PURPOSE: calls initialization function, processes message loop - - ***********************************************************************/ - - int PASCAL WinMain(hInstance, hPrevInstance, lpCmdLine, nCmdShow) - HANDLE hInstance; - HANDLE hPrevInstance; - LPSTR lpCmdLine; - int nCmdShow; - { - MSG msg; - - if(!hPrevInstance) - if(!InitApplication(hInstance)) - return(FALSE); - - if(!InitInstance(hInstance, nCmdShow)) - return(FALSE); - - while ( GetMessage(&msg, NULL, NULL, NULL)) - { - TranslateMessage(&msg); - DispatchMessage(&msg); - } - return(msg.wParam); - } - -/**************************************************************************** - - FUNCTION: InitApplication(HANDLE) - - PURPOSE: Initializes window data and registers window class - -****************************************************************************/ - -BOOL InitApplication(hInstance) -HANDLE hInstance; -{ - WNDCLASS wc; - - wc.style = NULL; - wc.lpfnWndProc = MainWndProc; - wc.cbClsExtra = 0; - wc.cbWndExtra = 0; - wc.hInstance = hInstance; - wc.hIcon = LoadIcon(NULL, IDI_APPLICATION); - wc.hCursor = LoadCursor(hInstance, IDC_ARROW); - wc.hbrBackground = GetStockObject(WHITE_BRUSH); - wc.lpszMenuName = "U7230Menu"; - wc.lpszClassName = "IntClass"; - - return (RegisterClass(&wc)); -} - -/**************************************************************************** - - FUNCTION: InitInstance(HANDLE, int) - - PURPOSE: Saves instance handle and creates main window - -****************************************************************************/ - -BOOL InitInstance(hInstance, nCmdShow) -HANDLE hInstance; -int nCmdShow; -{ - HWND hWnd; - - hInst = hInstance; - hWnd = CreateWindow("IntClass", "PCI-7230 Interrupt Sample (INT1)", WS_OVERLAPPEDWINDOW, - 200, 100, 360, 300, NULL, NULL, hInstance, NULL); - if (!hWnd) return (FALSE); - ShowWindow(hWnd, nCmdShow); - UpdateWindow(hWnd); - return (TRUE); -} - -BOOL PASCAL setup(HWND hWnd, unsigned message, WPARAM wParam, LPARAM lParam) -{ - int i; - char n[16]; - char s[50]; - switch (message) { - case WM_INITDIALOG: - for (i=0;i<16;i++) { - wsprintf(n, "%d", i); - _strupr(n); - SendMessage(GetDlgItem(hWnd,IDC_COMBO1), CB_ADDSTRING, NULL, (LONG)(LPSTR) n); - } - SendMessage(GetDlgItem(hWnd,IDC_COMBO1) , CB_SETCURSEL, 0, 0L); - - break; - case WM_COMMAND: - switch(LOWORD(wParam)) { - - case IDC_COMBO1: - if (HIWORD(wParam) == CBN_CLOSEUP) { - i = (int)SendMessage(GetDlgItem(hWnd,IDC_COMBO1), CB_GETCURSEL, 0, 0L); - SendMessage(GetDlgItem(hWnd,IDC_COMBO1), CB_GETLBTEXT, i, (LPARAM)((LPCSTR)n)); - card_number = i; - } - return(TRUE); - case IDOK: - if ((card=Register_Card(PCI_7230, card_number)) < 0) { - wsprintf(s, "Register_Card Error = %d\n", card); - MessageBox(hWnd, s, "Error", MB_OK); - } - EndDialog(hWnd, TRUE); - InvalidateRect(hWnd, NULL, FALSE); - return (TRUE); - case IDCANCEL: - EndDialog(hWnd, TRUE); - return (TRUE); - } - break; - } - return (FALSE); -} -/**************************************************************************** - - FUNCTION: MainWndProc(HWND, UINT, WPARAM, LPARAM) - - PURPOSE: Processes messages - - -****************************************************************************/ - -long PASCAL MainWndProc(hWnd, message, wParam, lParam) -HWND hWnd; -unsigned message; -WPARAM wParam; -LPARAM lParam; -{ - PAINTSTRUCT ps; - HDC hDC; - char buf[20]; - - switch(message) { - case WM_CREATE: - DialogBox(hInst,IDD_DIALOG2, hWnd, setup); - if(card<0) { - SendMessage(hWnd, WM_CLOSE, 0, 0L); - break; - } - CreateWindow("BUTTON", "Output", WS_CHILD | WS_VISIBLE, - 130, 200, 72, 24, hWnd, IDC_OUTPUT, hInst, NULL); - DIO_SetDualInterrupt(card, INT1_EXT_SIGNAL, INT2_DISABLE, hEvent); - hMainWnd = hWnd; - _beginthread(IntThread, 0, 0); - break; - case WM_PAINT: - hDC = BeginPaint(hWnd, &ps); - TextOut(hDC, 20, 30, "This program shows the number of occurrence", 43); - TextOut(hDC, 20, 45, "of INT1 interupt. INT1 interrupt is generated", 45); - TextOut(hDC, 20, 60, "by external signal from DI bit-0. If you connect", 48); - TextOut(hDC, 20, 75, "DO bit-0 to DI bit-0, press 'Output' button can", 47); - TextOut(hDC, 20, 90, "generate an interrupt.", 22); - wsprintf(buf,"INT count = %d", int_count); - TextOut(hDC, 120, 140, buf, strlen(buf)); - EndPaint(hWnd, &ps); - break; - case WM_COMMAND: - switch(LOWORD(wParam)) { - case IDM_EXIT: - DIO_SetDualInterrupt(card, INT1_DISABLE, INT2_DISABLE, hEvent); - SendMessage(hWnd, WM_CLOSE, 0, 0L); - break; - case IDC_OUTPUT: - DO_WritePort(card,0, 0x1); - Sleep(1); - DO_WritePort(card,0, 0x0); - break; - } - break; - case WM_DESTROY: - if (card >= 0) Release_Card(card); - PostQuitMessage(0); - break; - default: - return (DefWindowProc(hWnd, message, wParam, lParam)); - } - return(0L); -} - \ No newline at end of file diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7230/SDK7230int/7230INT.EXE b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7230/SDK7230int/7230INT.EXE deleted file mode 100644 index 1022f61..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7230/SDK7230int/7230INT.EXE and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7230/SDK7230int/7230INT.MAK b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7230/SDK7230int/7230INT.MAK deleted file mode 100644 index aecca62..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7230/SDK7230int/7230INT.MAK +++ /dev/null @@ -1,219 +0,0 @@ -# Microsoft Developer Studio Generated NMAKE File, Format Version 4.00 -# ** DO NOT EDIT ** - -# TARGTYPE "Win32 (x86) Application" 0x0101 - -!IF "$(CFG)" == "" -CFG=7230int - Win32 Debug -!MESSAGE No configuration specified. Defaulting to 7230int - Win32 Debug. -!ENDIF - -!IF "$(CFG)" != "7230int - Win32 Release" && "$(CFG)" !=\ - "7230int - Win32 Debug" -!MESSAGE Invalid configuration "$(CFG)" specified. -!MESSAGE You can specify a configuration when running NMAKE on this makefile -!MESSAGE by defining the macro CFG on the command line. For example: -!MESSAGE -!MESSAGE NMAKE /f "7230int.mak" CFG="7230int - Win32 Debug" -!MESSAGE -!MESSAGE Possible choices for configuration are: -!MESSAGE -!MESSAGE "7230int - Win32 Release" (based on "Win32 (x86) Application") -!MESSAGE "7230int - Win32 Debug" (based on "Win32 (x86) Application") -!MESSAGE -!ERROR An invalid configuration is specified. -!ENDIF - -!IF "$(OS)" == "Windows_NT" -NULL= -!ELSE -NULL=nul -!ENDIF -################################################################################ -# Begin Project -# PROP Target_Last_Scanned "7230int - Win32 Debug" -CPP=cl.exe -RSC=rc.exe -MTL=mktyplib.exe - -!IF "$(CFG)" == "7230int - Win32 Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "Release" -# PROP BASE Intermediate_Dir "Release" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "" -# PROP Intermediate_Dir "Release" -# PROP Target_Dir "" -OUTDIR=. -INTDIR=.\Release - -ALL : "$(OUTDIR)\7230int.exe" - -CLEAN : - -@erase ".\7230int.exe" - -@erase ".\Release\7230int.obj" - -@erase ".\Release\7230int.res" - -"$(INTDIR)" : - if not exist "$(INTDIR)/$(NULL)" mkdir "$(INTDIR)" - -# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /YX /c -# ADD CPP /nologo /MT /W3 /GX /Od /I "..\..\..\include" /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /c -# SUBTRACT CPP /YX -CPP_PROJ=/nologo /MT /W3 /GX /Od /I "..\..\..\include" /D "WIN32" /D "NDEBUG"\ - /D "_WINDOWS" /Fo"$(INTDIR)/" /c -CPP_OBJS=.\Release/ -CPP_SBRS= -# ADD BASE MTL /nologo /D "NDEBUG" /win32 -# ADD MTL /nologo /D "NDEBUG" /win32 -MTL_PROJ=/nologo /D "NDEBUG" /win32 -# ADD BASE RSC /l 0x404 /d "NDEBUG" -# ADD RSC /l 0x404 /d "NDEBUG" -RSC_PROJ=/l 0x404 /fo"$(INTDIR)/7230int.res" /d "NDEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -BSC32_FLAGS=/nologo /o"$(OUTDIR)/7230int.bsc" -BSC32_SBRS= -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:windows /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ..\..\..\lib\PCI-DASK.lib /nologo /subsystem:windows /machine:I386 -LINK32_FLAGS=kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib\ - advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib\ - odbccp32.lib ..\..\..\lib\PCI-DASK.lib /nologo /subsystem:windows\ - /incremental:no /pdb:"$(OUTDIR)/7230int.pdb" /machine:I386\ - /out:"$(OUTDIR)/7230int.exe" -LINK32_OBJS= \ - "$(INTDIR)/7230int.obj" \ - "$(INTDIR)/7230int.res" - -"$(OUTDIR)\7230int.exe" : "$(OUTDIR)" $(DEF_FILE) $(LINK32_OBJS) - $(LINK32) @<< - $(LINK32_FLAGS) $(LINK32_OBJS) -<< - -!ELSEIF "$(CFG)" == "7230int - Win32 Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "Debug" -# PROP BASE Intermediate_Dir "Debug" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "" -# PROP Intermediate_Dir "Debug" -# PROP Target_Dir "" -OUTDIR=. -INTDIR=.\Debug - -ALL : "$(OUTDIR)\7230int.exe" - -CLEAN : - -@erase ".\Debug\vc40.pdb" - -@erase ".\Debug\vc40.idb" - -@erase ".\7230int.exe" - -@erase ".\Debug\7230int.obj" - -@erase ".\Debug\7230int.res" - -@erase ".\7230int.ilk" - -@erase ".\7230int.pdb" - -"$(INTDIR)" : - if not exist "$(INTDIR)/$(NULL)" mkdir "$(INTDIR)" - -# ADD BASE CPP /nologo /W3 /Gm /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /YX /c -# ADD CPP /nologo /MTd /W3 /Gm /GX /Zi /Od /I "..\..\..\include" /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /c -# SUBTRACT CPP /YX -CPP_PROJ=/nologo /MTd /W3 /Gm /GX /Zi /Od /I "..\..\..\include" /D "WIN32" /D\ - "_DEBUG" /D "_WINDOWS" /Fo"$(INTDIR)/" /Fd"$(INTDIR)/" /c -CPP_OBJS=.\Debug/ -CPP_SBRS= -# ADD BASE MTL /nologo /D "_DEBUG" /win32 -# ADD MTL /nologo /D "_DEBUG" /win32 -MTL_PROJ=/nologo /D "_DEBUG" /win32 -# ADD BASE RSC /l 0x404 /d "_DEBUG" -# ADD RSC /l 0x404 /d "_DEBUG" -RSC_PROJ=/l 0x404 /fo"$(INTDIR)/7230int.res" /d "_DEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -BSC32_FLAGS=/nologo /o"$(OUTDIR)/7230int.bsc" -BSC32_SBRS= -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:windows /debug /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ..\..\..\lib\PCI-DASK.lib /nologo /subsystem:windows /debug /machine:I386 -LINK32_FLAGS=kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib\ - advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib\ - odbccp32.lib ..\..\..\lib\PCI-DASK.lib /nologo /subsystem:windows\ - /incremental:yes /pdb:"$(OUTDIR)/7230int.pdb" /debug /machine:I386\ - /out:"$(OUTDIR)/7230int.exe" -LINK32_OBJS= \ - "$(INTDIR)/7230int.obj" \ - "$(INTDIR)/7230int.res" - -"$(OUTDIR)\7230int.exe" : "$(OUTDIR)" $(DEF_FILE) $(LINK32_OBJS) - $(LINK32) @<< - $(LINK32_FLAGS) $(LINK32_OBJS) -<< - -!ENDIF - -.c{$(CPP_OBJS)}.obj: - $(CPP) $(CPP_PROJ) $< - -.cpp{$(CPP_OBJS)}.obj: - $(CPP) $(CPP_PROJ) $< - -.cxx{$(CPP_OBJS)}.obj: - $(CPP) $(CPP_PROJ) $< - -.c{$(CPP_SBRS)}.sbr: - $(CPP) $(CPP_PROJ) $< - -.cpp{$(CPP_SBRS)}.sbr: - $(CPP) $(CPP_PROJ) $< - -.cxx{$(CPP_SBRS)}.sbr: - $(CPP) $(CPP_PROJ) $< - -################################################################################ -# Begin Target - -# Name "7230int - Win32 Release" -# Name "7230int - Win32 Debug" - -!IF "$(CFG)" == "7230int - Win32 Release" - -!ELSEIF "$(CFG)" == "7230int - Win32 Debug" - -!ENDIF - -################################################################################ -# Begin Source File - -SOURCE=.\7230int.c -DEP_CPP_7230I=\ - ".\..\..\..\include\Dask.h"\ - - -"$(INTDIR)\7230int.obj" : $(SOURCE) $(DEP_CPP_7230I) "$(INTDIR)" - - -# End Source File -################################################################################ -# Begin Source File - -SOURCE=.\7230int.rc - -"$(INTDIR)\7230int.res" : $(SOURCE) "$(INTDIR)" - $(RSC) $(RSC_PROJ) $(SOURCE) - - -# End Source File -# End Target -# End Project -################################################################################ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7230/SDK7230int/7230INT.MDP b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7230/SDK7230int/7230INT.MDP deleted file mode 100644 index b2c32e8..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7230/SDK7230int/7230INT.MDP and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7230/SDK7230int/7230int.rc b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7230/SDK7230int/7230int.rc deleted file mode 100644 index 90e2cd0..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7230/SDK7230int/7230int.rc +++ /dev/null @@ -1,115 +0,0 @@ -//Microsoft Developer Studio generated resource script. -// -#include "resource.h" - -#define APSTUDIO_READONLY_SYMBOLS -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 2 resource. -// -#define APSTUDIO_HIDDEN_SYMBOLS -#include "windows.h" -#undef APSTUDIO_HIDDEN_SYMBOLS - -///////////////////////////////////////////////////////////////////////////// -#undef APSTUDIO_READONLY_SYMBOLS - -///////////////////////////////////////////////////////////////////////////// -// English (U.S.) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -#ifdef _WIN32 -LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US -#pragma code_page(1252) -#endif //_WIN32 - -#ifdef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// TEXTINCLUDE -// - -1 TEXTINCLUDE DISCARDABLE -BEGIN - "resource.h\0" -END - -2 TEXTINCLUDE DISCARDABLE -BEGIN - "#define APSTUDIO_HIDDEN_SYMBOLS\r\n" - "#include ""windows.h""\r\n" - "#undef APSTUDIO_HIDDEN_SYMBOLS\r\n" - "\0" -END - -3 TEXTINCLUDE DISCARDABLE -BEGIN - "\r\n" - "\0" -END - -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// Menu -// - -U7230MENU MENU DISCARDABLE -BEGIN - MENUITEM "E&xit!", IDM_EXIT -END - - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog -// - -IDD_DIALOG2 DIALOG DISCARDABLE 110, 10, 106, 61 -STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "Card Number" -FONT 10, "System" -BEGIN - DEFPUSHBUTTON "OK",IDOK,10,40,37,14 - PUSHBUTTON "Cancel",IDCANCEL,61,40,38,14 - LTEXT "Card Number",IDC_STATIC,3,13,47,13 - COMBOBOX IDC_COMBO1,51,13,48,84,CBS_DROPDOWN | WS_VSCROLL | - WS_TABSTOP -END - - -///////////////////////////////////////////////////////////////////////////// -// -// DESIGNINFO -// - -#ifdef APSTUDIO_INVOKED -GUIDELINES DESIGNINFO DISCARDABLE -BEGIN - IDD_DIALOG2, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 99 - TOPMARGIN, 7 - BOTTOMMARGIN, 54 - END -END -#endif // APSTUDIO_INVOKED - -#endif // English (U.S.) resources -///////////////////////////////////////////////////////////////////////////// - - - -#ifndef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 3 resource. -// - - -///////////////////////////////////////////////////////////////////////////// -#endif // not APSTUDIO_INVOKED - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7230/SDK7230int/resource.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7230/SDK7230int/resource.h deleted file mode 100644 index cd716cb..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7230/SDK7230int/resource.h +++ /dev/null @@ -1,30 +0,0 @@ -//{{NO_DEPENDENCIES}} -// Microsoft Developer Studio generated include file. -// Used by 7230int.rc -// -#define IDM_SETUP 101 -#define IDD_DIALOG1 101 -#define IDD_DIALOG2 102 -#define IDM_EXIT 110 -#define IDM_GO 300 -#define IDM_ABOUT 301 -#define DMA_DATA 302 -#define ID_STOP 304 -#define IDM_CLEAR 305 -#define DMA_SPACE 500 -#define IDC_COMBO1 1004 -#define IDC_COMBO2 1005 -#define IDC_EDIT1 1007 -#define IDC_EDIT2 1008 -#define IDC_STATIC -1 - -// Next default values for new objects -// -#ifdef APSTUDIO_INVOKED -#ifndef APSTUDIO_READONLY_SYMBOLS -#define _APS_NEXT_RESOURCE_VALUE 103 -#define _APS_NEXT_COMMAND_VALUE 102 -#define _APS_NEXT_CONTROL_VALUE 1008 -#define _APS_NEXT_SYMED_VALUE 101 -#endif -#endif diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7230/SDK7230intMsg/7230INT.C b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7230/SDK7230intMsg/7230INT.C deleted file mode 100644 index 7eb339d..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7230/SDK7230intMsg/7230INT.C +++ /dev/null @@ -1,232 +0,0 @@ -/*;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; -;; Copyright (c) 1995-1999, ADLink Technology Inc. All rights reserved. ;; -;; ;; -;; File Name : 7230INT.C ;; -;; Purpose : This sample program demonstrates how handle interrupt ;; -;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;*/ - -#include -#include -#include -#include -#include -#include "Dask.h" -#include "Resource.h" - -#define IDC_START 300 -#define IDC_OUTPUT 302 -#define WM_INT 2000 //interrupt comming message - -HANDLE hInst; /* current instance */ -int int_count=0; -I16 card=-1, card_number = 0; -HWND hStart, hMainWnd; - -int PASCAL WinMain(HANDLE, HANDLE, LPSTR, int); -BOOL InitApplication(HANDLE); -BOOL InitInstance(HANDLE, int); -long PASCAL MainWndProc(HWND, unsigned, WPARAM, LPARAM); -void mesgfn(); - - /********************************************************************** - - FUNCTION: WinMain(HANDLE, HANDLE, LPSTR, int) - PURPOSE: calls initialization function, processes message loop - - ***********************************************************************/ - - int PASCAL WinMain(hInstance, hPrevInstance, lpCmdLine, nCmdShow) - HANDLE hInstance; - HANDLE hPrevInstance; - LPSTR lpCmdLine; - int nCmdShow; - { - MSG msg; - - if(!hPrevInstance) - if(!InitApplication(hInstance)) - return(FALSE); - - if(!InitInstance(hInstance, nCmdShow)) - return(FALSE); - - while ( GetMessage(&msg, NULL, NULL, NULL)) - { - TranslateMessage(&msg); - DispatchMessage(&msg); - } - return(msg.wParam); - } - -/**************************************************************************** - - FUNCTION: InitApplication(HANDLE) - - PURPOSE: Initializes window data and registers window class - -****************************************************************************/ - -BOOL InitApplication(hInstance) -HANDLE hInstance; -{ - WNDCLASS wc; - - wc.style = NULL; - wc.lpfnWndProc = MainWndProc; - wc.cbClsExtra = 0; - wc.cbWndExtra = 0; - wc.hInstance = hInstance; - wc.hIcon = LoadIcon(NULL, IDI_APPLICATION); - wc.hCursor = LoadCursor(hInstance, IDC_ARROW); - wc.hbrBackground = GetStockObject(WHITE_BRUSH); - wc.lpszMenuName = "U7230Menu"; - wc.lpszClassName = "IntClass"; - - return (RegisterClass(&wc)); -} - -/**************************************************************************** - - FUNCTION: InitInstance(HANDLE, int) - - PURPOSE: Saves instance handle and creates main window - -****************************************************************************/ - -BOOL InitInstance(hInstance, nCmdShow) -HANDLE hInstance; -int nCmdShow; -{ - HWND hWnd; - - hInst = hInstance; - hWnd = CreateWindow("IntClass", "PCI-7230 Interrupt Sample (INT2)", WS_OVERLAPPEDWINDOW, - 200, 100, 360, 300, NULL, NULL, hInstance, NULL); - if (!hWnd) return (FALSE); - ShowWindow(hWnd, nCmdShow); - UpdateWindow(hWnd); - return (TRUE); -} - -BOOL PASCAL setup(HWND hWnd, unsigned message, WPARAM wParam, LPARAM lParam) -{ - int i; - char n[16]; - char s[50]; - switch (message) { - case WM_INITDIALOG: - for (i=0;i<16;i++) { - wsprintf(n, "%d", i); - _strupr(n); - SendMessage(GetDlgItem(hWnd,IDC_COMBO1), CB_ADDSTRING, NULL, (LONG)(LPSTR) n); - } - SendMessage(GetDlgItem(hWnd,IDC_COMBO1) , CB_SETCURSEL, 0, 0L); - - break; - case WM_COMMAND: - switch(LOWORD(wParam)) { - - case IDC_COMBO1: - if (HIWORD(wParam) == CBN_CLOSEUP) { - i = (int)SendMessage(GetDlgItem(hWnd,IDC_COMBO1), CB_GETCURSEL, 0, 0L); - SendMessage(GetDlgItem(hWnd,IDC_COMBO1), CB_GETLBTEXT, i, (LPARAM)((LPCSTR)n)); - card_number = i; - } - return(TRUE); - case IDOK: - if ((card=Register_Card(PCI_7230, card_number)) < 0) { - wsprintf(s, "Register_Card Error = %d\n", card); - MessageBox(hWnd, s, "Error", MB_OK); - } - EndDialog(hWnd, TRUE); - InvalidateRect(hWnd, NULL, FALSE); - return (TRUE); - case IDCANCEL: - EndDialog(hWnd, TRUE); - return (TRUE); - } - break; - } - return (FALSE); -} -/**************************************************************************** - - FUNCTION: MainWndProc(HWND, UINT, WPARAM, LPARAM) - - PURPOSE: Processes messages - - -****************************************************************************/ - -long PASCAL MainWndProc(hWnd, message, wParam, lParam) -HWND hWnd; -unsigned message; -WPARAM wParam; -LPARAM lParam; -{ - PAINTSTRUCT ps; - HDC hDC; - char s[50]; - - switch(message) { - case WM_CREATE: - DialogBox(hInst,IDD_DIALOG2, hWnd, setup); - if(card<0) { - SendMessage(hWnd, WM_CLOSE, 0, 0L); - break; - } - CreateWindow("BUTTON", "Output", WS_CHILD | WS_VISIBLE, - 130, 200, 72, 24, hWnd, IDC_OUTPUT, hInst, NULL); - int_count = 0; - DIO_INT2_EventMessage (card, INT2_EXT_SIGNAL, hWnd, WM_INT, NULL); - hMainWnd = hWnd; - break; - case WM_PAINT: - hDC = BeginPaint(hWnd, &ps); - TextOut(hDC, 20, 30, "This program shows the number of occurrence", 43); - TextOut(hDC, 20, 45, "of INT2 interupt. INT2 interrupt is generated", 45); - TextOut(hDC, 20, 60, "by external signal from DI bit-1. If you connect", 48); - TextOut(hDC, 20, 75, "DO bit-1 to DI bit-1, press 'Output' button can", 47); - TextOut(hDC, 20, 90, "generate an interrupt.", 22); - wsprintf(s,"INT2 Count = %d ", int_count); - TextOut(hDC,120,140,s,strlen(s)); - EndPaint(hWnd, &ps); - break; - case WM_COMMAND: - switch(LOWORD(wParam)) { - case IDM_EXIT: - DIO_INT2_EventMessage (card, INT2_DISABLE, hMainWnd, NULL, NULL); - SendMessage(hWnd, WM_CLOSE, 0, 0L); - break; - case IDC_OUTPUT: - DO_WritePort(card,0, 0x2); - DO_WritePort(card,0, 0x0); - break; - } - break; - case WM_INT: //interrupt comming message - mesgfn(); - break; - case WM_DESTROY: - if (card >= 0) Release_Card(card); - PostQuitMessage(0); - break; - default: - return (DefWindowProc(hWnd, message, wParam, lParam)); - } - return(0L); -} - -void mesgfn() -{ - HDC hDC; - char Buf[80]; - - hDC=GetDC(hMainWnd); - int_count++; - - wsprintf(Buf,"INT2 Count = %d ", int_count); - TextOut(hDC,120,140,Buf,strlen(Buf)); - - ReleaseDC(hMainWnd, hDC); -} diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7230/SDK7230intMsg/7230INT.EXE b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7230/SDK7230intMsg/7230INT.EXE deleted file mode 100644 index bb4d051..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7230/SDK7230intMsg/7230INT.EXE and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7230/SDK7230intMsg/7230INT.MAK b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7230/SDK7230intMsg/7230INT.MAK deleted file mode 100644 index aecca62..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7230/SDK7230intMsg/7230INT.MAK +++ /dev/null @@ -1,219 +0,0 @@ -# Microsoft Developer Studio Generated NMAKE File, Format Version 4.00 -# ** DO NOT EDIT ** - -# TARGTYPE "Win32 (x86) Application" 0x0101 - -!IF "$(CFG)" == "" -CFG=7230int - Win32 Debug -!MESSAGE No configuration specified. Defaulting to 7230int - Win32 Debug. -!ENDIF - -!IF "$(CFG)" != "7230int - Win32 Release" && "$(CFG)" !=\ - "7230int - Win32 Debug" -!MESSAGE Invalid configuration "$(CFG)" specified. -!MESSAGE You can specify a configuration when running NMAKE on this makefile -!MESSAGE by defining the macro CFG on the command line. For example: -!MESSAGE -!MESSAGE NMAKE /f "7230int.mak" CFG="7230int - Win32 Debug" -!MESSAGE -!MESSAGE Possible choices for configuration are: -!MESSAGE -!MESSAGE "7230int - Win32 Release" (based on "Win32 (x86) Application") -!MESSAGE "7230int - Win32 Debug" (based on "Win32 (x86) Application") -!MESSAGE -!ERROR An invalid configuration is specified. -!ENDIF - -!IF "$(OS)" == "Windows_NT" -NULL= -!ELSE -NULL=nul -!ENDIF -################################################################################ -# Begin Project -# PROP Target_Last_Scanned "7230int - Win32 Debug" -CPP=cl.exe -RSC=rc.exe -MTL=mktyplib.exe - -!IF "$(CFG)" == "7230int - Win32 Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "Release" -# PROP BASE Intermediate_Dir "Release" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "" -# PROP Intermediate_Dir "Release" -# PROP Target_Dir "" -OUTDIR=. -INTDIR=.\Release - -ALL : "$(OUTDIR)\7230int.exe" - -CLEAN : - -@erase ".\7230int.exe" - -@erase ".\Release\7230int.obj" - -@erase ".\Release\7230int.res" - -"$(INTDIR)" : - if not exist "$(INTDIR)/$(NULL)" mkdir "$(INTDIR)" - -# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /YX /c -# ADD CPP /nologo /MT /W3 /GX /Od /I "..\..\..\include" /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /c -# SUBTRACT CPP /YX -CPP_PROJ=/nologo /MT /W3 /GX /Od /I "..\..\..\include" /D "WIN32" /D "NDEBUG"\ - /D "_WINDOWS" /Fo"$(INTDIR)/" /c -CPP_OBJS=.\Release/ -CPP_SBRS= -# ADD BASE MTL /nologo /D "NDEBUG" /win32 -# ADD MTL /nologo /D "NDEBUG" /win32 -MTL_PROJ=/nologo /D "NDEBUG" /win32 -# ADD BASE RSC /l 0x404 /d "NDEBUG" -# ADD RSC /l 0x404 /d "NDEBUG" -RSC_PROJ=/l 0x404 /fo"$(INTDIR)/7230int.res" /d "NDEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -BSC32_FLAGS=/nologo /o"$(OUTDIR)/7230int.bsc" -BSC32_SBRS= -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:windows /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ..\..\..\lib\PCI-DASK.lib /nologo /subsystem:windows /machine:I386 -LINK32_FLAGS=kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib\ - advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib\ - odbccp32.lib ..\..\..\lib\PCI-DASK.lib /nologo /subsystem:windows\ - /incremental:no /pdb:"$(OUTDIR)/7230int.pdb" /machine:I386\ - /out:"$(OUTDIR)/7230int.exe" -LINK32_OBJS= \ - "$(INTDIR)/7230int.obj" \ - "$(INTDIR)/7230int.res" - -"$(OUTDIR)\7230int.exe" : "$(OUTDIR)" $(DEF_FILE) $(LINK32_OBJS) - $(LINK32) @<< - $(LINK32_FLAGS) $(LINK32_OBJS) -<< - -!ELSEIF "$(CFG)" == "7230int - Win32 Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "Debug" -# PROP BASE Intermediate_Dir "Debug" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "" -# PROP Intermediate_Dir "Debug" -# PROP Target_Dir "" -OUTDIR=. -INTDIR=.\Debug - -ALL : "$(OUTDIR)\7230int.exe" - -CLEAN : - -@erase ".\Debug\vc40.pdb" - -@erase ".\Debug\vc40.idb" - -@erase ".\7230int.exe" - -@erase ".\Debug\7230int.obj" - -@erase ".\Debug\7230int.res" - -@erase ".\7230int.ilk" - -@erase ".\7230int.pdb" - -"$(INTDIR)" : - if not exist "$(INTDIR)/$(NULL)" mkdir "$(INTDIR)" - -# ADD BASE CPP /nologo /W3 /Gm /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /YX /c -# ADD CPP /nologo /MTd /W3 /Gm /GX /Zi /Od /I "..\..\..\include" /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /c -# SUBTRACT CPP /YX -CPP_PROJ=/nologo /MTd /W3 /Gm /GX /Zi /Od /I "..\..\..\include" /D "WIN32" /D\ - "_DEBUG" /D "_WINDOWS" /Fo"$(INTDIR)/" /Fd"$(INTDIR)/" /c -CPP_OBJS=.\Debug/ -CPP_SBRS= -# ADD BASE MTL /nologo /D "_DEBUG" /win32 -# ADD MTL /nologo /D "_DEBUG" /win32 -MTL_PROJ=/nologo /D "_DEBUG" /win32 -# ADD BASE RSC /l 0x404 /d "_DEBUG" -# ADD RSC /l 0x404 /d "_DEBUG" -RSC_PROJ=/l 0x404 /fo"$(INTDIR)/7230int.res" /d "_DEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -BSC32_FLAGS=/nologo /o"$(OUTDIR)/7230int.bsc" -BSC32_SBRS= -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:windows /debug /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ..\..\..\lib\PCI-DASK.lib /nologo /subsystem:windows /debug /machine:I386 -LINK32_FLAGS=kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib\ - advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib\ - odbccp32.lib ..\..\..\lib\PCI-DASK.lib /nologo /subsystem:windows\ - /incremental:yes /pdb:"$(OUTDIR)/7230int.pdb" /debug /machine:I386\ - /out:"$(OUTDIR)/7230int.exe" -LINK32_OBJS= \ - "$(INTDIR)/7230int.obj" \ - "$(INTDIR)/7230int.res" - -"$(OUTDIR)\7230int.exe" : "$(OUTDIR)" $(DEF_FILE) $(LINK32_OBJS) - $(LINK32) @<< - $(LINK32_FLAGS) $(LINK32_OBJS) -<< - -!ENDIF - -.c{$(CPP_OBJS)}.obj: - $(CPP) $(CPP_PROJ) $< - -.cpp{$(CPP_OBJS)}.obj: - $(CPP) $(CPP_PROJ) $< - -.cxx{$(CPP_OBJS)}.obj: - $(CPP) $(CPP_PROJ) $< - -.c{$(CPP_SBRS)}.sbr: - $(CPP) $(CPP_PROJ) $< - -.cpp{$(CPP_SBRS)}.sbr: - $(CPP) $(CPP_PROJ) $< - -.cxx{$(CPP_SBRS)}.sbr: - $(CPP) $(CPP_PROJ) $< - -################################################################################ -# Begin Target - -# Name "7230int - Win32 Release" -# Name "7230int - Win32 Debug" - -!IF "$(CFG)" == "7230int - Win32 Release" - -!ELSEIF "$(CFG)" == "7230int - Win32 Debug" - -!ENDIF - -################################################################################ -# Begin Source File - -SOURCE=.\7230int.c -DEP_CPP_7230I=\ - ".\..\..\..\include\Dask.h"\ - - -"$(INTDIR)\7230int.obj" : $(SOURCE) $(DEP_CPP_7230I) "$(INTDIR)" - - -# End Source File -################################################################################ -# Begin Source File - -SOURCE=.\7230int.rc - -"$(INTDIR)\7230int.res" : $(SOURCE) "$(INTDIR)" - $(RSC) $(RSC_PROJ) $(SOURCE) - - -# End Source File -# End Target -# End Project -################################################################################ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7230/SDK7230intMsg/7230INT.MDP b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7230/SDK7230intMsg/7230INT.MDP deleted file mode 100644 index 4993c93..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7230/SDK7230intMsg/7230INT.MDP and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7230/SDK7230intMsg/7230int.rc b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7230/SDK7230intMsg/7230int.rc deleted file mode 100644 index 8e85eee..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7230/SDK7230intMsg/7230int.rc +++ /dev/null @@ -1,115 +0,0 @@ -//Microsoft Developer Studio generated resource script. -// -#include "resource.h" - -#define APSTUDIO_READONLY_SYMBOLS -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 2 resource. -// -#define APSTUDIO_HIDDEN_SYMBOLS -#include "windows.h" -#undef APSTUDIO_HIDDEN_SYMBOLS - -///////////////////////////////////////////////////////////////////////////// -#undef APSTUDIO_READONLY_SYMBOLS - -///////////////////////////////////////////////////////////////////////////// -// English (U.S.) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -#ifdef _WIN32 -LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US -#pragma code_page(1252) -#endif //_WIN32 - -#ifdef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// TEXTINCLUDE -// - -1 TEXTINCLUDE DISCARDABLE -BEGIN - "resource.h\0" -END - -2 TEXTINCLUDE DISCARDABLE -BEGIN - "#define APSTUDIO_HIDDEN_SYMBOLS\r\n" - "#include ""windows.h""\r\n" - "#undef APSTUDIO_HIDDEN_SYMBOLS\r\n" - "\0" -END - -3 TEXTINCLUDE DISCARDABLE -BEGIN - "\r\n" - "\0" -END - -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog -// - -IDD_DIALOG2 DIALOG DISCARDABLE 110, 10, 106, 61 -STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "Card Number" -FONT 10, "System" -BEGIN - DEFPUSHBUTTON "OK",IDOK,10,40,37,14 - PUSHBUTTON "Cancel",IDCANCEL,61,40,38,14 - LTEXT "Card Number",IDC_STATIC,3,13,47,13 - COMBOBOX IDC_COMBO1,51,13,48,84,CBS_DROPDOWN | WS_VSCROLL | - WS_TABSTOP -END - - -///////////////////////////////////////////////////////////////////////////// -// -// DESIGNINFO -// - -#ifdef APSTUDIO_INVOKED -GUIDELINES DESIGNINFO DISCARDABLE -BEGIN - IDD_DIALOG2, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 99 - TOPMARGIN, 7 - BOTTOMMARGIN, 54 - END -END -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// Menu -// - -U7230MENU MENU DISCARDABLE -BEGIN - MENUITEM "E&xit!", IDM_EXIT -END - -#endif // English (U.S.) resources -///////////////////////////////////////////////////////////////////////////// - - - -#ifndef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 3 resource. -// - - -///////////////////////////////////////////////////////////////////////////// -#endif // not APSTUDIO_INVOKED - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7230/SDK7230intMsg/resource.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7230/SDK7230intMsg/resource.h deleted file mode 100644 index cd716cb..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7230/SDK7230intMsg/resource.h +++ /dev/null @@ -1,30 +0,0 @@ -//{{NO_DEPENDENCIES}} -// Microsoft Developer Studio generated include file. -// Used by 7230int.rc -// -#define IDM_SETUP 101 -#define IDD_DIALOG1 101 -#define IDD_DIALOG2 102 -#define IDM_EXIT 110 -#define IDM_GO 300 -#define IDM_ABOUT 301 -#define DMA_DATA 302 -#define ID_STOP 304 -#define IDM_CLEAR 305 -#define DMA_SPACE 500 -#define IDC_COMBO1 1004 -#define IDC_COMBO2 1005 -#define IDC_EDIT1 1007 -#define IDC_EDIT2 1008 -#define IDC_STATIC -1 - -// Next default values for new objects -// -#ifdef APSTUDIO_INVOKED -#ifndef APSTUDIO_READONLY_SYMBOLS -#define _APS_NEXT_RESOURCE_VALUE 103 -#define _APS_NEXT_COMMAND_VALUE 102 -#define _APS_NEXT_CONTROL_VALUE 1008 -#define _APS_NEXT_SYMED_VALUE 101 -#endif -#endif diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7230/VB7230/7230GLBL.BAS b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7230/VB7230/7230GLBL.BAS deleted file mode 100644 index 77a2e7f..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7230/VB7230/7230GLBL.BAS +++ /dev/null @@ -1,4 +0,0 @@ -Attribute VB_Name = "Module1" -Global card As Integer -Global card_number As Integer - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7230/VB7230/7230_0.BMP b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7230/VB7230/7230_0.BMP deleted file mode 100644 index 407bba2..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7230/VB7230/7230_0.BMP and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7230/VB7230/7230_1.BMP b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7230/VB7230/7230_1.BMP deleted file mode 100644 index 37d14f3..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7230/VB7230/7230_1.BMP and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7230/VB7230/Base7230.frm b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7230/VB7230/Base7230.frm deleted file mode 100644 index 81d7bed..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7230/VB7230/Base7230.frm +++ /dev/null @@ -1,99 +0,0 @@ -VERSION 4.00 -Begin VB.Form SettingForm - Appearance = 0 'Flat - BackColor = &H00C0C0C0& - Caption = "Card Number Setting" - ClientHeight = 1275 - ClientLeft = 4590 - ClientTop = 4545 - ClientWidth = 2820 - BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851} - Name = "MS Sans Serif" - Size = 8.25 - Charset = 0 - Weight = 700 - Underline = 0 'False - Italic = 0 'False - Strikethrough = 0 'False - EndProperty - ForeColor = &H80000008& - Height = 1680 - Left = 4530 - LinkTopic = "Form2" - ScaleHeight = 1275 - ScaleWidth = 2820 - Top = 4200 - Width = 2940 - Begin VB.CommandButton OKBtn - Appearance = 0 'Flat - BackColor = &H80000005& - Caption = "OK" - Default = -1 'True - Height = 315 - Left = 300 - TabIndex = 0 - Top = 720 - Width = 915 - End - Begin VB.CommandButton CancelBtn - Appearance = 0 'Flat - BackColor = &H80000005& - Cancel = -1 'True - Caption = "Cancel" - Height = 315 - Left = 1380 - TabIndex = 3 - Top = 720 - Width = 915 - End - Begin VB.ComboBox CardNum - Appearance = 0 'Flat - Height = 300 - Left = 1440 - Style = 2 'Dropdown List - TabIndex = 2 - Top = 120 - Width = 1035 - End - Begin VB.Label Label2 - Appearance = 0 'Flat - BackColor = &H00C0C0C0& - Caption = "Card Number:" - ForeColor = &H00000000& - Height = 195 - Index = 0 - Left = 180 - TabIndex = 1 - Top = 180 - Width = 1275 - End -End -Attribute VB_Name = "SettingForm" -Attribute VB_Creatable = False -Attribute VB_Exposed = False - - -Private Sub BaseAddr_Change() - -End Sub - - -Private Sub CancelBtn_Click() - Unload SettingForm -End Sub - -Private Sub Form_Load() - Dim i As Long - For i = 0 To 15 Step 1 - CardNum.AddItem i - Next - CardNum.ListIndex = 0 -End Sub - -Private Sub OKBtn_Click() - card = -1 - card_number = CardNum.ListIndex - card = Register_Card(PCI_7230, card_number) - Unload SettingForm -End Sub - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7230/VB7230/Util7230.Frm b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7230/VB7230/Util7230.Frm deleted file mode 100644 index 992df27..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7230/VB7230/Util7230.Frm +++ /dev/null @@ -1,452 +0,0 @@ -VERSION 4.00 -Begin VB.Form util7230 - Appearance = 0 'Flat - BackColor = &H00C0C0C0& - Caption = "PCI-7230 Sample Program" - ClientHeight = 1815 - ClientLeft = 1170 - ClientTop = 3420 - ClientWidth = 6480 - BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851} - Name = "MS Sans Serif" - Size = 8.25 - Charset = 0 - Weight = 700 - Underline = 0 'False - Italic = 0 'False - Strikethrough = 0 'False - EndProperty - ForeColor = &H80000008& - Height = 2505 - Left = 1110 - LinkTopic = "Form1" - ScaleHeight = 1815 - ScaleWidth = 6480 - Top = 2790 - Width = 6600 - Begin VB.Timer Timer1 - Interval = 100 - Left = 5460 - Top = 1440 - End - Begin VB.Frame Frame1 - Appearance = 0 'Flat - BackColor = &H00C0C0C0& - Caption = "Digital Output" - ForeColor = &H000000FF& - Height = 615 - Index = 1 - Left = 240 - TabIndex = 1 - Top = 840 - Width = 6015 - Begin VB.Image DOP0 - Appearance = 0 'Flat - Height = 300 - Index = 8 - Left = 2760 - Picture = "Util7230.frx":0000 - Top = 240 - Width = 300 - End - Begin VB.Image DOP0 - Appearance = 0 'Flat - Height = 300 - Index = 9 - Left = 2400 - Picture = "Util7230.frx":0172 - Top = 240 - Width = 300 - End - Begin VB.Image DOP0 - Appearance = 0 'Flat - Height = 300 - Index = 10 - Left = 2040 - Picture = "Util7230.frx":02E4 - Top = 240 - Width = 300 - End - Begin VB.Image DOP0 - Appearance = 0 'Flat - Height = 300 - Index = 11 - Left = 1680 - Picture = "Util7230.frx":0456 - Top = 240 - Width = 300 - End - Begin VB.Image DOP0 - Appearance = 0 'Flat - Height = 300 - Index = 12 - Left = 1320 - Picture = "Util7230.frx":05C8 - Top = 240 - Width = 300 - End - Begin VB.Image DOP0 - Appearance = 0 'Flat - Height = 300 - Index = 13 - Left = 960 - Picture = "Util7230.frx":073A - Top = 240 - Width = 300 - End - Begin VB.Image DOP0 - Appearance = 0 'Flat - Height = 300 - Index = 14 - Left = 600 - Picture = "Util7230.frx":08AC - Top = 240 - Width = 300 - End - Begin VB.Image DOP0 - Appearance = 0 'Flat - Height = 300 - Index = 15 - Left = 240 - Picture = "Util7230.frx":0A1E - Top = 240 - Width = 300 - End - Begin VB.Image DOP0 - Appearance = 0 'Flat - Height = 300 - Index = 7 - Left = 3120 - Picture = "Util7230.frx":0B90 - Top = 240 - Width = 300 - End - Begin VB.Image DOP0 - Appearance = 0 'Flat - Height = 300 - Index = 6 - Left = 3480 - Picture = "Util7230.frx":0D02 - Top = 240 - Width = 300 - End - Begin VB.Image DOP0 - Appearance = 0 'Flat - Height = 300 - Index = 5 - Left = 3840 - Picture = "Util7230.frx":0E74 - Top = 240 - Width = 300 - End - Begin VB.Image DOP0 - Appearance = 0 'Flat - Height = 300 - Index = 4 - Left = 4200 - Picture = "Util7230.frx":0FE6 - Top = 240 - Width = 300 - End - Begin VB.Image DOP0 - Appearance = 0 'Flat - Height = 300 - Index = 2 - Left = 4920 - Picture = "Util7230.frx":1158 - Top = 240 - Width = 300 - End - Begin VB.Image DOP0 - Appearance = 0 'Flat - Height = 300 - Index = 3 - Left = 4560 - Picture = "Util7230.frx":12CA - Top = 240 - Width = 300 - End - Begin VB.Image DOP0 - Appearance = 0 'Flat - Height = 300 - Index = 1 - Left = 5280 - Picture = "Util7230.frx":143C - Top = 240 - Width = 300 - End - Begin VB.Image DOP0 - Appearance = 0 'Flat - Height = 300 - Index = 0 - Left = 5640 - Picture = "Util7230.frx":15AE - Top = 240 - Width = 300 - End - End - Begin VB.Frame Frame1 - Appearance = 0 'Flat - BackColor = &H00C0C0C0& - Caption = "Digital Input" - ForeColor = &H00FF0000& - Height = 615 - Index = 0 - Left = 240 - TabIndex = 0 - Top = 180 - Width = 6015 - Begin VB.Image DI0 - Appearance = 0 'Flat - Height = 300 - Index = 15 - Left = 240 - Picture = "Util7230.frx":1720 - Top = 240 - Width = 300 - End - Begin VB.Image DI0 - Appearance = 0 'Flat - Height = 300 - Index = 14 - Left = 600 - Picture = "Util7230.frx":1892 - Top = 240 - Width = 300 - End - Begin VB.Image DI0 - Appearance = 0 'Flat - Height = 300 - Index = 13 - Left = 960 - Picture = "Util7230.frx":1A04 - Top = 240 - Width = 300 - End - Begin VB.Image DI0 - Appearance = 0 'Flat - Height = 300 - Index = 12 - Left = 1320 - Picture = "Util7230.frx":1B76 - Top = 240 - Width = 300 - End - Begin VB.Image DI0 - Appearance = 0 'Flat - Height = 300 - Index = 11 - Left = 1680 - Picture = "Util7230.frx":1CE8 - Top = 240 - Width = 300 - End - Begin VB.Image DI0 - Appearance = 0 'Flat - Height = 300 - Index = 10 - Left = 2040 - Picture = "Util7230.frx":1E5A - Top = 240 - Width = 300 - End - Begin VB.Image DI0 - Appearance = 0 'Flat - Height = 300 - Index = 9 - Left = 2400 - Picture = "Util7230.frx":1FCC - Top = 240 - Width = 300 - End - Begin VB.Image DI0 - Appearance = 0 'Flat - Height = 300 - Index = 8 - Left = 2760 - Picture = "Util7230.frx":213E - Top = 240 - Width = 300 - End - Begin VB.Image DI0 - Appearance = 0 'Flat - Height = 300 - Index = 0 - Left = 5640 - Picture = "Util7230.frx":22B0 - Top = 240 - Width = 300 - End - Begin VB.Image DI0 - Appearance = 0 'Flat - Height = 300 - Index = 1 - Left = 5280 - Picture = "Util7230.frx":2422 - Top = 240 - Width = 300 - End - Begin VB.Image DI0 - Appearance = 0 'Flat - Height = 300 - Index = 2 - Left = 4920 - Picture = "Util7230.frx":2594 - Top = 240 - Width = 300 - End - Begin VB.Image DI0 - Appearance = 0 'Flat - Height = 300 - Index = 3 - Left = 4560 - Picture = "Util7230.frx":2706 - Top = 240 - Width = 300 - End - Begin VB.Image DI0 - Appearance = 0 'Flat - Height = 300 - Index = 4 - Left = 4200 - Picture = "Util7230.frx":2878 - Top = 240 - Width = 300 - End - Begin VB.Image DI0 - Appearance = 0 'Flat - Height = 300 - Index = 5 - Left = 3840 - Picture = "Util7230.frx":29EA - Top = 240 - Width = 300 - End - Begin VB.Image DI0 - Appearance = 0 'Flat - Height = 300 - Index = 6 - Left = 3480 - Picture = "Util7230.frx":2B5C - Top = 240 - Width = 300 - End - Begin VB.Image DI0 - Appearance = 0 'Flat - Height = 300 - Index = 7 - Left = 3120 - Picture = "Util7230.frx":2CCE - Top = 240 - Width = 300 - End - End - Begin VB.Image Image1 - Appearance = 0 'Flat - Height = 300 - Left = 5880 - Picture = "Util7230.frx":2E40 - Top = 1440 - Visible = 0 'False - Width = 300 - End - Begin VB.Image Image0 - Appearance = 0 'Flat - Height = 300 - Left = 6180 - Picture = "Util7230.frx":2FB2 - Top = 1440 - Visible = 0 'False - Width = 300 - End - Begin VB.Menu mnuExit - Caption = "&Exit!" - End -End -Attribute VB_Name = "util7230" -Attribute VB_Creatable = False -Attribute VB_Exposed = False -Option Explicit -Dim status(0 To 15) As Long -Dim do_data As Long - -'Dim hEnts As EventHandles -Private Sub DOP0_Click(Index As Integer) - Dim i As Integer, v As Integer - Dim d As Integer - - If status(Index) = 1 Then - do_data = do_data - (2 ^ Index) - DOP0(Index).Picture = Image0.Picture - status(Index) = 0 - Else - do_data = do_data + (2 ^ Index) - DOP0(Index).Picture = Image1.Picture - status(Index) = 1 - End If - 'translate data to signed integer - If do_data <= 32767 Then - d = do_data - Else - d = do_data - 65536 - End If - 'v = W_7230_DO(0, d) - v = DO_WritePort(card, 0, d) - -End Sub - -Private Sub Form_Load() - Dim result As Integer - Dim i As Integer, bn As Integer - SettingForm.Show 1 - If card < 0 Then - MsgBox "Register Card Failed" - End - End If - For i = 0 To 15 - status(i) = 0 - Next - do_data = &H0 -End Sub - -Private Sub Form_Unload(Cancel As Integer) - Dim result As Integer - If card >= 0 Then - result = Release_Card(card) - End If - End -End Sub - - -Private Sub mnuExit_Click() - Dim result As Integer - If card >= 0 Then - result = Release_Card(card) - End If - End -End Sub - -Private Sub Timer1_Timer() - Dim result As Integer - Dim di_data As Long - Dim i As Integer - Dim p As Long, d As Long - - result = DI_ReadPort(card, 0, di_data) - 'tranform signed integer to unsigned value - If di_data >= 0 Then - d = di_data - Else - d = CLng(di_data) + 65536 - End If - For i = 0 To 15 - p = d Mod 2 - If p = 0 Then - DI0(i) = Image0 - Else 'p = 1 - DI0(i) = Image1 - End If - d = CLng(Int(d / 2)) - Next -End Sub - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7230/VB7230/Util7230.Vbp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7230/VB7230/Util7230.Vbp deleted file mode 100644 index 834fa43..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7230/VB7230/Util7230.Vbp +++ /dev/null @@ -1,22 +0,0 @@ -Form=Util7230.Frm -Module=DASK; ..\..\..\Include\Dask.bas -Module=Module1; 7230glbl.bas -Form=Base7230.frm -Reference=*\G{00025E04-0000-0000-C000-000000000046}#2.5#0#D:\Program Files\Common Files\Microsoft Shared\DD:\Program Fil#Microsoft DAO 2.5/3.0 Compatibility Library -ProjWinSize=92,475,248,215 -ProjWinShow=2 -IconForm="util7230" -HelpFile="" -Title="UTIL7230" -ExeName32="Util7230.exe" -ExeName="7230.EXE" -Name="U7230" -HelpContextID="0" -StartMode=0 -VersionCompatible32="0" -MajorVer=1 -MinorVer=0 -RevisionVer=0 -AutoIncrementVer=0 -ServerSupportFiles=0 -VersionCompanyName="ADLINK" diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7230/VB7230/Util7230.frx b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7230/VB7230/Util7230.frx deleted file mode 100644 index 8dda588..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7230/VB7230/Util7230.frx and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7233/SDK7233/Resource.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7233/SDK7233/Resource.h deleted file mode 100644 index 6959f51..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7233/SDK7233/Resource.h +++ /dev/null @@ -1,19 +0,0 @@ -//{{NO_DEPENDENCIES}} -// Microsoft Developer Studio generated include file. -// Used by Util7233.rc -// -#define IDD_DIALOG1 101 -#define IDM_EXIT 110 -#define IDC_COMBO1 1004 -#define IDC_STATIC -1 - -// Next default values for new objects -// -#ifdef APSTUDIO_INVOKED -#ifndef APSTUDIO_READONLY_SYMBOLS -#define _APS_NEXT_RESOURCE_VALUE 102 -#define _APS_NEXT_COMMAND_VALUE 101 -#define _APS_NEXT_CONTROL_VALUE 1000 -#define _APS_NEXT_SYMED_VALUE 101 -#endif -#endif diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7233/SDK7233/Util7233.c b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7233/SDK7233/Util7233.c deleted file mode 100644 index 24158ef..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7233/SDK7233/Util7233.c +++ /dev/null @@ -1,247 +0,0 @@ -/*;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; -;; Copyright (c) 1999, ADLink Technology Inc. All rights reserved. ;; -;; ;; -;; File Name : Util7233.C ;; -;; Purpose : This sample program demonstrate how to operate ;; -;; DI for PCI-7233 ;; -;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;*/ - -#include -#include -#include -#include -#include -#include -#include "Dask.h" -#include "resource.h" - -#define IDM_EXIT 110 -#define TIMER1 1 - -int PASCAL WinMain(HANDLE, HANDLE, LPSTR, int); -long PASCAL MainWndProc(HWND, UINT, WPARAM, LPARAM); - -HANDLE hInst; -U32 input_value=0; -U32 oldinput_value=0; -I16 card=-1, card_number=0; - -HBRUSH hLTGreenBrush,hGreenBrush,hBlueBrush,hYellowBrush,hRedBrush; - -POINT input_pos[64]= { - {320, 80}, {300, 80}, - {280, 80}, {260, 80}, - {240, 80}, {220, 80}, - {200, 80}, {180, 80}, - {160, 80}, {140, 80}, - {120, 80}, {100, 80}, - { 80, 80}, { 60, 80}, - { 40, 80}, { 20, 80}, - {320, 40}, {300, 40}, - {280, 40}, {260, 40}, - {240, 40}, {220, 40}, - {200, 40}, {180, 40}, - {160, 40}, {140, 40}, - {120, 40}, {100, 40}, - { 80, 40}, { 60, 40}, - { 40, 40}, { 20, 40} - }; - -BOOL InitApplication(HANDLE); -BOOL InitInstance(HANDLE, int); - -int PASCAL WinMain(hInstance, hPrevInstance, lpCmdLine, nCmdShow) -HANDLE hInstance, hPrevInstance; -LPSTR lpCmdLine; -int nCmdShow; -{ - MSG msg; - - if (!hPrevInstance) - if (!InitApplication(hInstance)) return(FALSE); - if (!InitInstance(hInstance, nCmdShow)) return(FALSE); - while (GetMessage(&msg, NULL, NULL, NULL)) { - TranslateMessage(&msg); - DispatchMessage(&msg); - } - return(msg.wParam); -} - -BOOL InitApplication(hInstance) -HANDLE hInstance; -{ - WNDCLASS wc; - - /* Main Window Class */ - wc.style = NULL; - wc.lpfnWndProc = (WNDPROC)MainWndProc; - wc.cbClsExtra = 0; - wc.cbWndExtra = 0; - wc.hInstance = hInstance; - wc.hIcon = LoadIcon(hInstance, "MyIcon"); - wc.hCursor = LoadCursor(NULL, IDC_ARROW); - wc.hbrBackground = GetStockObject(LTGRAY_BRUSH); - wc.lpszMenuName = NULL; - wc.lpszClassName = "GenericWClass"; - if (!RegisterClass(&wc)) return(FALSE); -} - -BOOL InitInstance(hInstance, nCmdShow) -HANDLE hInstance; -int nCmdShow; -{ - HWND hWnd; - HMENU hSampleMenu; - - hInst = hInstance; - hSampleMenu = LoadMenu(hInstance, "U7233Menu"); - hWnd = CreateWindow("GenericWClass", - (LPCSTR)"PCI-7233", - WS_OVERLAPPEDWINDOW, - CW_USEDEFAULT, - CW_USEDEFAULT, - 370, - 180, - NULL, - hSampleMenu, - hInstance, - NULL); - if (!hWnd) return(FALSE); - ShowWindow(hWnd, nCmdShow); - UpdateWindow(hWnd); - return(TRUE); -} - -BOOL PASCAL setup(HWND hWnd, unsigned message, WPARAM wParam, LPARAM lParam) -{ - int i; - char n[16]; - char s[50]; - switch (message) { - case WM_INITDIALOG: - for (i=0;i<16;i++) { - wsprintf(n, "%d", i); - _strupr(n); - SendMessage(GetDlgItem(hWnd,IDC_COMBO1), CB_ADDSTRING, NULL, (LONG)(LPSTR) n); - } - SendMessage(GetDlgItem(hWnd,IDC_COMBO1) , CB_SETCURSEL, 0, 0L); - - break; - case WM_COMMAND: - switch(LOWORD(wParam)) { - - case IDC_COMBO1: - if (HIWORD(wParam) == CBN_CLOSEUP) { - i = (int)SendMessage(GetDlgItem(hWnd,IDC_COMBO1), CB_GETCURSEL, 0, 0L); - SendMessage(GetDlgItem(hWnd,IDC_COMBO1), CB_GETLBTEXT, i, (LPARAM)((LPCSTR)n)); - card_number = i; - } - return(TRUE); - case IDOK: - if ((card=Register_Card(PCI_7233, card_number)) < 0) { - wsprintf(s, "Register_Card Error = %d\n", card); - MessageBox(hWnd, s, "Error", MB_OK); - } - EndDialog(hWnd, TRUE); - InvalidateRect(hWnd, NULL, FALSE); - return (TRUE); - case IDCANCEL: - EndDialog(hWnd, TRUE); - return (TRUE); - } - break; - } - return (FALSE); -} - -long PASCAL MainWndProc(hWnd, message, wParam, lParam) -HWND hWnd; -UINT message; -WPARAM wParam; -LPARAM lParam; -{ - HDC hDC; - PAINTSTRUCT ps; - int i; - - switch(message) { - case WM_CREATE: - DialogBox(hInst,IDD_DIALOG1, hWnd, setup); - if(card<0) { - SendMessage(hWnd, WM_CLOSE, 0, 0L); - break; - } - hLTGreenBrush = CreateSolidBrush(RGB(0, 255, 0)); - hGreenBrush = CreateSolidBrush(RGB(0, 128, 0)); - hBlueBrush = CreateSolidBrush(RGB(0, 0, 255)); - hRedBrush = CreateSolidBrush(RGB(255, 0, 0)); - SetTimer(hWnd, TIMER1, 50, NULL); - srand((unsigned)time(NULL)); - break; - case WM_PAINT: - hDC = BeginPaint(hWnd, &ps); - // Digital Input Box - SelectObject(hDC, hLTGreenBrush); - Rectangle(hDC, input_pos[31].x-10, input_pos[31].y-24, input_pos[0].x+26, input_pos[0].y+40); - SetTextColor(hDC,RGB(255,255,255)); - SetBkColor(hDC, RGB(0, 0, 255)); - TextOut(hDC, input_pos[31].x, input_pos[31].y-30, "Digital Input",13); - // Channel Label - SetTextColor(hDC,RGB(0,0,0)); - SetBkColor(hDC, RGB(0, 255, 0)); - // TextOut(hDC, input_pos[63].x, input_pos[63].y+16, "63 48", 75); - // TextOut(hDC, input_pos[47].x, input_pos[47].y+16, "47 32", 75); - TextOut(hDC, input_pos[31].x, input_pos[31].y+16, "31 16", 75); - TextOut(hDC, input_pos[15].x, input_pos[15].y+16, "15 0", 75); - SetBkColor(hDC, RGB(0, 255, 0)); - //Detect Channel Input - for (i=0; i<32; i++) { - if ((input_value>>i)&0x01) - SelectObject(hDC, hRedBrush); - else - SelectObject(hDC, GetStockObject(WHITE_BRUSH)); - Ellipse(hDC, input_pos[i].x, input_pos[i].y, input_pos[i].x+17, input_pos[i].y+17); - } - EndPaint(hWnd, &ps); - break; - case WM_COMMAND: - switch(LOWORD(wParam)) { - case IDM_EXIT: - SendMessage(hWnd, WM_CLOSE, 0, 0L); - break; - default: - return(DefWindowProc(hWnd, message, wParam, lParam)); - } - break; - case WM_TIMER: - /* Digital Input */ - DI_ReadPort(card,PORT_DI_LOW,&input_value); - - hDC = GetDC(hWnd); - for (i=0; i<32; i++) { - if( ((input_value>>i)&0x01) != ((oldinput_value>>i)&0x01) ) - { - if ((input_value>>i)&0x01) - SelectObject(hDC, hRedBrush); - else - SelectObject(hDC, GetStockObject(WHITE_BRUSH)); - Ellipse(hDC, input_pos[i].x, input_pos[i].y, input_pos[i].x+17, input_pos[i].y+17); - } - } - oldinput_value = input_value; - ReleaseDC(hWnd, hDC); - break; - case WM_DESTROY: - if (card >= 0) Release_Card(card); - DeleteObject(hRedBrush); - DeleteObject(hGreenBrush); - DeleteObject(hLTGreenBrush); - KillTimer(hWnd, TIMER1); - PostQuitMessage(0); - break; - default: - return(DefWindowProc(hWnd, message, wParam, lParam)); - } - return(NULL); -} - \ No newline at end of file diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7233/SDK7233/Util7233.exe b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7233/SDK7233/Util7233.exe deleted file mode 100644 index 0bf3d13..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7233/SDK7233/Util7233.exe and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7233/SDK7233/Util7233.mak b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7233/SDK7233/Util7233.mak deleted file mode 100644 index 6c00b5a..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7233/SDK7233/Util7233.mak +++ /dev/null @@ -1,232 +0,0 @@ -# Microsoft Developer Studio Generated NMAKE File, Format Version 4.00 -# ** DO NOT EDIT ** - -# TARGTYPE "Win32 (x86) Application" 0x0101 - -!IF "$(CFG)" == "" -CFG=Util7233 - Win32 Debug -!MESSAGE No configuration specified. Defaulting to Util7233 - Win32 Debug. -!ENDIF - -!IF "$(CFG)" != "Util7233 - Win32 Release" && "$(CFG)" !=\ - "Util7233 - Win32 Debug" -!MESSAGE Invalid configuration "$(CFG)" specified. -!MESSAGE You can specify a configuration when running NMAKE on this makefile -!MESSAGE by defining the macro CFG on the command line. For example: -!MESSAGE -!MESSAGE NMAKE /f "Util7233.mak" CFG="Util7233 - Win32 Debug" -!MESSAGE -!MESSAGE Possible choices for configuration are: -!MESSAGE -!MESSAGE "Util7233 - Win32 Release" (based on "Win32 (x86) Application") -!MESSAGE "Util7233 - Win32 Debug" (based on "Win32 (x86) Application") -!MESSAGE -!ERROR An invalid configuration is specified. -!ENDIF - -!IF "$(OS)" == "Windows_NT" -NULL= -!ELSE -NULL=nul -!ENDIF -################################################################################ -# Begin Project -# PROP Target_Last_Scanned "Util7233 - Win32 Debug" -CPP=cl.exe -RSC=rc.exe -MTL=mktyplib.exe - -!IF "$(CFG)" == "Util7233 - Win32 Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "Util7233" -# PROP BASE Intermediate_Dir "Util7233" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "" -# PROP Intermediate_Dir "Release" -# PROP Target_Dir "" -OUTDIR=. -INTDIR=.\Release - -ALL : "$(OUTDIR)\Util7233.exe" - -CLEAN : - -@erase ".\Util7233.exe" - -@erase ".\Release\Util7233.obj" - -@erase ".\Release\Util7233.res" - -"$(INTDIR)" : - if not exist "$(INTDIR)/$(NULL)" mkdir "$(INTDIR)" - -# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /YX /c -# ADD CPP /nologo /W3 /GX /O2 /I "..\..\..\include" /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /c -# SUBTRACT CPP /YX -CPP_PROJ=/nologo /ML /W3 /GX /O2 /I "..\..\..\include" /D "WIN32" /D "NDEBUG"\ - /D "_WINDOWS" /Fo"$(INTDIR)/" /c -CPP_OBJS=.\Release/ -CPP_SBRS= -# ADD BASE MTL /nologo /D "NDEBUG" /win32 -# ADD MTL /nologo /D "NDEBUG" /win32 -MTL_PROJ=/nologo /D "NDEBUG" /win32 -# ADD BASE RSC /l 0x409 /d "NDEBUG" -# ADD RSC /l 0x409 /d "NDEBUG" -RSC_PROJ=/l 0x409 /fo"$(INTDIR)/Util7233.res" /d "NDEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -BSC32_FLAGS=/nologo /o"$(OUTDIR)/Util7233.bsc" -BSC32_SBRS= -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:windows /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:windows /machine:I386 -LINK32_FLAGS=kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib\ - advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib\ - odbccp32.lib /nologo /subsystem:windows /incremental:no\ - /pdb:"$(OUTDIR)/Util7233.pdb" /machine:I386 /out:"$(OUTDIR)/Util7233.exe" -LINK32_OBJS= \ - ".\Release\Util7233.obj" \ - ".\Release\Util7233.res" \ - "..\..\..\lib\PCI-Dask.lib" - -"$(OUTDIR)\Util7233.exe" : "$(OUTDIR)" $(DEF_FILE) $(LINK32_OBJS) - $(LINK32) @<< - $(LINK32_FLAGS) $(LINK32_OBJS) -<< - -!ELSEIF "$(CFG)" == "Util7233 - Win32 Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "Debug" -# PROP BASE Intermediate_Dir "Debug" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "" -# PROP Intermediate_Dir "Debug" -# PROP Target_Dir "" -OUTDIR=. -INTDIR=.\Debug - -ALL : "$(OUTDIR)\Util7233.exe" - -CLEAN : - -@erase ".\Debug\vc40.pdb" - -@erase ".\Debug\vc40.idb" - -@erase ".\Util7233.exe" - -@erase ".\Debug\Util7233.obj" - -@erase ".\Debug\Util7233.res" - -@erase ".\Util7233.ilk" - -@erase ".\Util7233.pdb" - -"$(INTDIR)" : - if not exist "$(INTDIR)/$(NULL)" mkdir "$(INTDIR)" - -# ADD BASE CPP /nologo /W3 /Gm /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /YX /c -# ADD CPP /nologo /W3 /Gm /GX /Zi /Od /I "..\..\..\include" /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /c -# SUBTRACT CPP /YX -CPP_PROJ=/nologo /MLd /W3 /Gm /GX /Zi /Od /I "..\..\..\include" /D "WIN32" /D\ - "_DEBUG" /D "_WINDOWS" /Fo"$(INTDIR)/" /Fd"$(INTDIR)/" /c -CPP_OBJS=.\Debug/ -CPP_SBRS= -# ADD BASE MTL /nologo /D "_DEBUG" /win32 -# ADD MTL /nologo /D "_DEBUG" /win32 -MTL_PROJ=/nologo /D "_DEBUG" /win32 -# ADD BASE RSC /l 0x409 /d "_DEBUG" -# ADD RSC /l 0x409 /d "_DEBUG" -RSC_PROJ=/l 0x409 /fo"$(INTDIR)/Util7233.res" /d "_DEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -BSC32_FLAGS=/nologo /o"$(OUTDIR)/Util7233.bsc" -BSC32_SBRS= -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:windows /debug /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:windows /debug /machine:I386 -LINK32_FLAGS=kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib\ - advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib\ - odbccp32.lib /nologo /subsystem:windows /incremental:yes\ - /pdb:"$(OUTDIR)/Util7233.pdb" /debug /machine:I386\ - /out:"$(OUTDIR)/Util7233.exe" -LINK32_OBJS= \ - ".\Debug\Util7233.obj" \ - ".\Debug\Util7233.res" \ - "..\..\..\lib\PCI-Dask.lib" - -"$(OUTDIR)\Util7233.exe" : "$(OUTDIR)" $(DEF_FILE) $(LINK32_OBJS) - $(LINK32) @<< - $(LINK32_FLAGS) $(LINK32_OBJS) -<< - -!ENDIF - -.c{$(CPP_OBJS)}.obj: - $(CPP) $(CPP_PROJ) $< - -.cpp{$(CPP_OBJS)}.obj: - $(CPP) $(CPP_PROJ) $< - -.cxx{$(CPP_OBJS)}.obj: - $(CPP) $(CPP_PROJ) $< - -.c{$(CPP_SBRS)}.sbr: - $(CPP) $(CPP_PROJ) $< - -.cpp{$(CPP_SBRS)}.sbr: - $(CPP) $(CPP_PROJ) $< - -.cxx{$(CPP_SBRS)}.sbr: - $(CPP) $(CPP_PROJ) $< - -################################################################################ -# Begin Target - -# Name "Util7233 - Win32 Release" -# Name "Util7233 - Win32 Debug" - -!IF "$(CFG)" == "Util7233 - Win32 Release" - -!ELSEIF "$(CFG)" == "Util7233 - Win32 Debug" - -!ENDIF - -################################################################################ -# Begin Source File - -SOURCE=.\Util7233.rc - -"$(INTDIR)\Util7233.res" : $(SOURCE) "$(INTDIR)" - $(RSC) $(RSC_PROJ) $(SOURCE) - - -# End Source File -################################################################################ -# Begin Source File - -SOURCE=.\Util7233.c -DEP_CPP_UTIL7=\ - ".\..\..\..\include\Dask.h"\ - - -"$(INTDIR)\Util7233.obj" : $(SOURCE) $(DEP_CPP_UTIL7) "$(INTDIR)" - - -# End Source File -################################################################################ -# Begin Source File - -SOURCE="\pdaskwdm\lib\PCI-Dask.lib" - -!IF "$(CFG)" == "Util7233 - Win32 Release" - -!ELSEIF "$(CFG)" == "Util7233 - Win32 Debug" - -!ENDIF - -# End Source File -# End Target -# End Project -################################################################################ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7233/SDK7233/Util7233.mdp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7233/SDK7233/Util7233.mdp deleted file mode 100644 index 462ea13..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7233/SDK7233/Util7233.mdp and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7233/SDK7233/Util7233.rc b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7233/SDK7233/Util7233.rc deleted file mode 100644 index 5be6479..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7233/SDK7233/Util7233.rc +++ /dev/null @@ -1,115 +0,0 @@ -//Microsoft Developer Studio generated resource script. -// -#include "resource.h" - -#define APSTUDIO_READONLY_SYMBOLS -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 2 resource. -// -#define APSTUDIO_HIDDEN_SYMBOLS -#include "windows.h" -#undef APSTUDIO_HIDDEN_SYMBOLS - -///////////////////////////////////////////////////////////////////////////// -#undef APSTUDIO_READONLY_SYMBOLS - -///////////////////////////////////////////////////////////////////////////// -// English (U.S.) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -#ifdef _WIN32 -LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US -#pragma code_page(1252) -#endif //_WIN32 - -#ifdef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// TEXTINCLUDE -// - -1 TEXTINCLUDE DISCARDABLE -BEGIN - "resource.h\0" -END - -2 TEXTINCLUDE DISCARDABLE -BEGIN - "#define APSTUDIO_HIDDEN_SYMBOLS\r\n" - "#include ""windows.h""\r\n" - "#undef APSTUDIO_HIDDEN_SYMBOLS\r\n" - "\0" -END - -3 TEXTINCLUDE DISCARDABLE -BEGIN - "\r\n" - "\0" -END - -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// Menu -// - -U7233MENU MENU DISCARDABLE -BEGIN - MENUITEM "E&xit!", IDM_EXIT -END - - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog -// - -IDD_DIALOG1 DIALOG DISCARDABLE 110, 10, 106, 61 -STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "Card Number" -FONT 10, "System" -BEGIN - DEFPUSHBUTTON "OK",IDOK,10,40,37,14 - PUSHBUTTON "Cancel",IDCANCEL,61,40,38,14 - LTEXT "Card Number",IDC_STATIC,3,13,47,13 - COMBOBOX IDC_COMBO1,51,13,48,84,CBS_DROPDOWN | WS_VSCROLL | - WS_TABSTOP -END - - -///////////////////////////////////////////////////////////////////////////// -// -// DESIGNINFO -// - -#ifdef APSTUDIO_INVOKED -GUIDELINES DESIGNINFO DISCARDABLE -BEGIN - IDD_DIALOG1, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 99 - TOPMARGIN, 7 - BOTTOMMARGIN, 54 - END -END -#endif // APSTUDIO_INVOKED - -#endif // English (U.S.) resources -///////////////////////////////////////////////////////////////////////////// - - - -#ifndef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 3 resource. -// - - -///////////////////////////////////////////////////////////////////////////// -#endif // not APSTUDIO_INVOKED - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7233/SDK7233DbEvt/7233INT.C b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7233/SDK7233DbEvt/7233INT.C deleted file mode 100644 index 25792af..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7233/SDK7233DbEvt/7233INT.C +++ /dev/null @@ -1,229 +0,0 @@ -/*;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; -;; Copyright (c) 1998-1999, ADLink Technology Inc. All rights reserved. ;; -;; ;; -;; File Name : 7233INT.C ;; -;; Purpose : This sample program demonstrates how to handle interrupt ;; -;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;*/ - -#include -#include -#include -#include -#include -#include "Dask.h" -#include "Resource.h" - -#define WM_INT 2000 - -HANDLE hInst; /* current instance */ -I16 card=-1, card_number = 0; -int int_count[2]= {0, 0}; -HWND hStart, hMainWnd; - -int PASCAL WinMain(HANDLE, HANDLE, LPSTR, int); -BOOL InitApplication(HANDLE); -BOOL InitInstance(HANDLE, int); -long PASCAL MainWndProc(HWND, unsigned, WPARAM, LPARAM); -LRESULT CALLBACK cbfn(); -void mesgfn(); - - - /********************************************************************** - - FUNCTION: WinMain(HANDLE, HANDLE, LPSTR, int) - PURPOSE: calls initialization function, processes message loop - - ***********************************************************************/ - - int PASCAL WinMain(hInstance, hPrevInstance, lpCmdLine, nCmdShow) - HANDLE hInstance; - HANDLE hPrevInstance; - LPSTR lpCmdLine; - int nCmdShow; - { - MSG msg; - - if(!hPrevInstance) - if(!InitApplication(hInstance)) - return(FALSE); - - if(!InitInstance(hInstance, nCmdShow)) - return(FALSE); - - while ( GetMessage(&msg, NULL, NULL, NULL)) - { - TranslateMessage(&msg); - DispatchMessage(&msg); - } - return(msg.wParam); - } - -/**************************************************************************** - - FUNCTION: InitApplication(HANDLE) - - PURPOSE: Initializes window data and registers window class - -****************************************************************************/ - -BOOL InitApplication(hInstance) -HANDLE hInstance; -{ - WNDCLASS wc; - - wc.style = NULL; - wc.lpfnWndProc = MainWndProc; - wc.cbClsExtra = 0; - wc.cbWndExtra = 0; - wc.hInstance = hInstance; - wc.hIcon = LoadIcon(NULL, IDI_APPLICATION); - wc.hCursor = LoadCursor(hInstance, IDC_ARROW); - wc.hbrBackground = GetStockObject(WHITE_BRUSH); - wc.lpszMenuName = "U7233Menu"; - wc.lpszClassName = "IntClass"; - - return (RegisterClass(&wc)); -} - -/**************************************************************************** - - FUNCTION: InitInstance(HANDLE, int) - - PURPOSE: Saves instance handle and creates main window - -****************************************************************************/ - -BOOL InitInstance(hInstance, nCmdShow) -HANDLE hInstance; -int nCmdShow; -{ - HWND hWnd; - - hInst = hInstance; - hWnd = CreateWindow("IntClass", "PCI-7233 Dual Interrupt Sample", WS_OVERLAPPEDWINDOW, - 200, 100, 440, 270, NULL, NULL, hInstance, NULL); - if (!hWnd) return (FALSE); - ShowWindow(hWnd, nCmdShow); - UpdateWindow(hWnd); - return (TRUE); -} - -BOOL PASCAL setup(HWND hWnd, unsigned message, WPARAM wParam, LPARAM lParam) -{ - int i; - char n[16]; - char s[50]; - switch (message) { - case WM_INITDIALOG: - for (i=0;i<16;i++) { - wsprintf(n, "%d", i); - _strupr(n); - SendMessage(GetDlgItem(hWnd,IDC_COMBO1), CB_ADDSTRING, NULL, (LONG)(LPSTR) n); - } - SendMessage(GetDlgItem(hWnd,IDC_COMBO1) , CB_SETCURSEL, 0, 0L); - - break; - case WM_COMMAND: - switch(LOWORD(wParam)) { - - case IDC_COMBO1: - if (HIWORD(wParam) == CBN_CLOSEUP) { - i = (int)SendMessage(GetDlgItem(hWnd,IDC_COMBO1), CB_GETCURSEL, 0, 0L); - SendMessage(GetDlgItem(hWnd,IDC_COMBO1), CB_GETLBTEXT, i, (LPARAM)((LPCSTR)n)); - card_number = i; - } - return(TRUE); - case IDOK: - if ((card=Register_Card(PCI_7233, card_number)) < 0) { - wsprintf(s, "Register_Card Error = %d\n", card); - MessageBox(hWnd, s, "Error", MB_OK); - } - EndDialog(hWnd, TRUE); - InvalidateRect(hWnd, NULL, FALSE); - return (TRUE); - case IDCANCEL: - EndDialog(hWnd, TRUE); - return (TRUE); - } - break; - } - return (FALSE); -} -/**************************************************************************** - - FUNCTION: MainWndProc(HWND, UINT, WPARAM, LPARAM) - - PURPOSE: Processes messages - - -****************************************************************************/ - -long PASCAL MainWndProc(hWnd, message, wParam, lParam) -HWND hWnd; -unsigned message; -WPARAM wParam; -LPARAM lParam; -{ - PAINTSTRUCT ps; - HDC hDC; - char buf[20]; - - switch(message) { - case WM_CREATE: - DialogBox(hInst,IDD_DIALOG2, hWnd, setup); - if(card<0) { - SendMessage(hWnd, WM_CLOSE, 0, 0L); - break; - } - int_count[0]=0; - int_count[1]=0; - DIO_INT1_EventMessage (card, INT1_EXT_SIGNAL, hWnd, WM_INT, NULL); - DIO_INT2_EventMessage (card, INT2_EXT_SIGNAL, hWnd, NULL, (void *) cbfn); - hMainWnd = hWnd; - break; - case WM_PAINT: - hDC = BeginPaint(hWnd, &ps); - TextOut(hDC, 20, 20, "This program shows the number of occurrence of interrupt",56); - TextOut(hDC, 20, 35, "for Dual interrupt lines.", 25); - TextOut(hDC, 20, 50, "INT1 interrupt is generated by change of state of DI bit 0-15.", 62); - TextOut(hDC, 20, 65, "INT2 interrupt is generated by change of state of DI bit 16-31.", 63); - wsprintf(buf,"INT1 count = %d", int_count[0]); - TextOut(hDC, 120, 110, buf, strlen(buf)); - wsprintf(buf,"INT2 count = %d", int_count[1]); - TextOut(hDC, 120, 130, buf, strlen(buf)); - EndPaint(hWnd, &ps); - break; - case WM_COMMAND: - switch(LOWORD(wParam)) { - case IDM_EXIT: - DIO_INT1_EventMessage (card, INT1_DISABLE, hMainWnd, NULL, NULL); - DIO_INT2_EventMessage (card, INT2_DISABLE, hMainWnd, NULL, NULL); - SendMessage(hWnd, WM_CLOSE, 0, 0L); - break; - } - break; - case WM_INT: - mesgfn(); - break; - case WM_DESTROY: - if (card >= 0) Release_Card(card); - PostQuitMessage(0); - break; - default: - return (DefWindowProc(hWnd, message, wParam, lParam)); - } - return(0L); -} - -void mesgfn() -{ - int_count[0]++; - InvalidateRect(hMainWnd, NULL, FALSE); -} - -LRESULT CALLBACK cbfn() -{ - int_count[1]++; - InvalidateRect(hMainWnd, NULL, FALSE); -} - \ No newline at end of file diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7233/SDK7233DbEvt/7233INT.EXE b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7233/SDK7233DbEvt/7233INT.EXE deleted file mode 100644 index ffa59b5..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7233/SDK7233DbEvt/7233INT.EXE and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7233/SDK7233DbEvt/7233INT.MAK b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7233/SDK7233DbEvt/7233INT.MAK deleted file mode 100644 index 114df1f..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7233/SDK7233DbEvt/7233INT.MAK +++ /dev/null @@ -1,233 +0,0 @@ -# Microsoft Developer Studio Generated NMAKE File, Format Version 4.00 -# ** DO NOT EDIT ** - -# TARGTYPE "Win32 (x86) Application" 0x0101 - -!IF "$(CFG)" == "" -CFG=7233int - Win32 Debug -!MESSAGE No configuration specified. Defaulting to 7233int - Win32 Debug. -!ENDIF - -!IF "$(CFG)" != "7233int - Win32 Release" && "$(CFG)" !=\ - "7233int - Win32 Debug" -!MESSAGE Invalid configuration "$(CFG)" specified. -!MESSAGE You can specify a configuration when running NMAKE on this makefile -!MESSAGE by defining the macro CFG on the command line. For example: -!MESSAGE -!MESSAGE NMAKE /f "7233INT.MAK" CFG="7233int - Win32 Debug" -!MESSAGE -!MESSAGE Possible choices for configuration are: -!MESSAGE -!MESSAGE "7233int - Win32 Release" (based on "Win32 (x86) Application") -!MESSAGE "7233int - Win32 Debug" (based on "Win32 (x86) Application") -!MESSAGE -!ERROR An invalid configuration is specified. -!ENDIF - -!IF "$(OS)" == "Windows_NT" -NULL= -!ELSE -NULL=nul -!ENDIF -################################################################################ -# Begin Project -# PROP Target_Last_Scanned "7233int - Win32 Debug" -MTL=mktyplib.exe -RSC=rc.exe -CPP=cl.exe - -!IF "$(CFG)" == "7233int - Win32 Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "Release" -# PROP BASE Intermediate_Dir "Release" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "" -# PROP Intermediate_Dir "Release" -# PROP Target_Dir "" -OUTDIR=. -INTDIR=.\Release - -ALL : "$(OUTDIR)\7233INT.exe" - -CLEAN : - -@erase ".\7233INT.exe" - -@erase ".\Release\7233int.obj" - -@erase ".\Release\7233int.res" - -"$(INTDIR)" : - if not exist "$(INTDIR)/$(NULL)" mkdir "$(INTDIR)" - -# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /YX /c -# ADD CPP /nologo /W3 /GX /O2 /I "..\..\..\include" /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /c -# SUBTRACT CPP /YX -CPP_PROJ=/nologo /ML /W3 /GX /O2 /I "..\..\..\include" /D "WIN32" /D "NDEBUG"\ - /D "_WINDOWS" /Fo"$(INTDIR)/" /c -CPP_OBJS=.\Release/ -CPP_SBRS= -# ADD BASE MTL /nologo /D "NDEBUG" /win32 -# ADD MTL /nologo /D "NDEBUG" /win32 -MTL_PROJ=/nologo /D "NDEBUG" /win32 -# ADD BASE RSC /l 0x409 /d "NDEBUG" -# ADD RSC /l 0x409 /d "NDEBUG" -RSC_PROJ=/l 0x409 /fo"$(INTDIR)/7233int.res" /d "NDEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -BSC32_FLAGS=/nologo /o"$(OUTDIR)/7233INT.bsc" -BSC32_SBRS= -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:windows /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ..\..\..\lib\pci-dask.lib /nologo /subsystem:windows /machine:I386 -LINK32_FLAGS=kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib\ - advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib\ - odbccp32.lib ..\..\..\lib\pci-dask.lib /nologo /subsystem:windows\ - /incremental:no /pdb:"$(OUTDIR)/7233INT.pdb" /machine:I386\ - /out:"$(OUTDIR)/7233INT.exe" -LINK32_OBJS= \ - ".\Release\7233int.obj" \ - ".\Release\7233int.res" \ - "..\..\..\lib\PCI-Dask.lib" - -"$(OUTDIR)\7233INT.exe" : "$(OUTDIR)" $(DEF_FILE) $(LINK32_OBJS) - $(LINK32) @<< - $(LINK32_FLAGS) $(LINK32_OBJS) -<< - -!ELSEIF "$(CFG)" == "7233int - Win32 Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "Debug" -# PROP BASE Intermediate_Dir "Debug" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "" -# PROP Intermediate_Dir "Debug" -# PROP Target_Dir "" -OUTDIR=. -INTDIR=.\Debug - -ALL : "$(OUTDIR)\7233INT.exe" - -CLEAN : - -@erase ".\Debug\vc40.pdb" - -@erase ".\Debug\vc40.idb" - -@erase ".\7233INT.exe" - -@erase ".\Debug\7233int.obj" - -@erase ".\Debug\7233int.res" - -@erase ".\7233INT.ilk" - -@erase ".\7233INT.pdb" - -"$(INTDIR)" : - if not exist "$(INTDIR)/$(NULL)" mkdir "$(INTDIR)" - -# ADD BASE CPP /nologo /W3 /Gm /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /YX /c -# ADD CPP /nologo /W3 /Gm /GX /Zi /Od /I "..\..\..\include" /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /c -# SUBTRACT CPP /YX -CPP_PROJ=/nologo /MLd /W3 /Gm /GX /Zi /Od /I "..\..\..\include" /D "WIN32" /D\ - "_DEBUG" /D "_WINDOWS" /Fo"$(INTDIR)/" /Fd"$(INTDIR)/" /c -CPP_OBJS=.\Debug/ -CPP_SBRS= -# ADD BASE MTL /nologo /D "_DEBUG" /win32 -# ADD MTL /nologo /D "_DEBUG" /win32 -MTL_PROJ=/nologo /D "_DEBUG" /win32 -# ADD BASE RSC /l 0x409 /d "_DEBUG" -# ADD RSC /l 0x409 /d "_DEBUG" -RSC_PROJ=/l 0x409 /fo"$(INTDIR)/7233int.res" /d "_DEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -BSC32_FLAGS=/nologo /o"$(OUTDIR)/7233INT.bsc" -BSC32_SBRS= -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:windows /debug /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ..\..\..\lib\pci-dask.lib /nologo /subsystem:windows /debug /machine:I386 -LINK32_FLAGS=kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib\ - advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib\ - odbccp32.lib ..\..\..\lib\pci-dask.lib /nologo /subsystem:windows\ - /incremental:yes /pdb:"$(OUTDIR)/7233INT.pdb" /debug /machine:I386\ - /out:"$(OUTDIR)/7233INT.exe" -LINK32_OBJS= \ - ".\Debug\7233int.obj" \ - ".\Debug\7233int.res" \ - "..\..\..\lib\PCI-Dask.lib" - -"$(OUTDIR)\7233INT.exe" : "$(OUTDIR)" $(DEF_FILE) $(LINK32_OBJS) - $(LINK32) @<< - $(LINK32_FLAGS) $(LINK32_OBJS) -<< - -!ENDIF - -.c{$(CPP_OBJS)}.obj: - $(CPP) $(CPP_PROJ) $< - -.cpp{$(CPP_OBJS)}.obj: - $(CPP) $(CPP_PROJ) $< - -.cxx{$(CPP_OBJS)}.obj: - $(CPP) $(CPP_PROJ) $< - -.c{$(CPP_SBRS)}.sbr: - $(CPP) $(CPP_PROJ) $< - -.cpp{$(CPP_SBRS)}.sbr: - $(CPP) $(CPP_PROJ) $< - -.cxx{$(CPP_SBRS)}.sbr: - $(CPP) $(CPP_PROJ) $< - -################################################################################ -# Begin Target - -# Name "7233int - Win32 Release" -# Name "7233int - Win32 Debug" - -!IF "$(CFG)" == "7233int - Win32 Release" - -!ELSEIF "$(CFG)" == "7233int - Win32 Debug" - -!ENDIF - -################################################################################ -# Begin Source File - -SOURCE=.\7233int.rc - -"$(INTDIR)\7233int.res" : $(SOURCE) "$(INTDIR)" - $(RSC) $(RSC_PROJ) $(SOURCE) - - -# End Source File -################################################################################ -# Begin Source File - -SOURCE=.\7233int.c -DEP_CPP_7233I=\ - ".\..\..\..\include\Dask.h"\ - - -"$(INTDIR)\7233int.obj" : $(SOURCE) $(DEP_CPP_7233I) "$(INTDIR)" - - -# End Source File -################################################################################ -# Begin Source File - -SOURCE="\pdaskwdm\lib\PCI-Dask.lib" - -!IF "$(CFG)" == "7233int - Win32 Release" - -!ELSEIF "$(CFG)" == "7233int - Win32 Debug" - -!ENDIF - -# End Source File -# End Target -# End Project -################################################################################ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7233/SDK7233DbEvt/7233INT.MDP b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7233/SDK7233DbEvt/7233INT.MDP deleted file mode 100644 index a0cebce..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7233/SDK7233DbEvt/7233INT.MDP and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7233/SDK7233DbEvt/7233INT.RC b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7233/SDK7233DbEvt/7233INT.RC deleted file mode 100644 index abe0e0b..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7233/SDK7233DbEvt/7233INT.RC +++ /dev/null @@ -1,115 +0,0 @@ -//Microsoft Developer Studio generated resource script. -// -#include "resource.h" - -#define APSTUDIO_READONLY_SYMBOLS -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 2 resource. -// -#define APSTUDIO_HIDDEN_SYMBOLS -#include "windows.h" -#undef APSTUDIO_HIDDEN_SYMBOLS - -///////////////////////////////////////////////////////////////////////////// -#undef APSTUDIO_READONLY_SYMBOLS - -///////////////////////////////////////////////////////////////////////////// -// English (U.S.) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -#ifdef _WIN32 -LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US -#pragma code_page(1252) -#endif //_WIN32 - -#ifdef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// TEXTINCLUDE -// - -1 TEXTINCLUDE DISCARDABLE -BEGIN - "resource.h\0" -END - -2 TEXTINCLUDE DISCARDABLE -BEGIN - "#define APSTUDIO_HIDDEN_SYMBOLS\r\n" - "#include ""windows.h""\r\n" - "#undef APSTUDIO_HIDDEN_SYMBOLS\r\n" - "\0" -END - -3 TEXTINCLUDE DISCARDABLE -BEGIN - "\r\n" - "\0" -END - -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// Menu -// - -U7233MENU MENU DISCARDABLE -BEGIN - MENUITEM "E&xit!", IDM_EXIT -END - - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog -// - -IDD_DIALOG2 DIALOG DISCARDABLE 110, 10, 106, 61 -STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "Card Number" -FONT 10, "System" -BEGIN - DEFPUSHBUTTON "OK",IDOK,10,40,37,14 - PUSHBUTTON "Cancel",IDCANCEL,61,40,38,14 - LTEXT "Card Number",IDC_STATIC,3,13,47,13 - COMBOBOX IDC_COMBO1,51,13,48,84,CBS_DROPDOWN | WS_VSCROLL | - WS_TABSTOP -END - - -///////////////////////////////////////////////////////////////////////////// -// -// DESIGNINFO -// - -#ifdef APSTUDIO_INVOKED -GUIDELINES DESIGNINFO DISCARDABLE -BEGIN - IDD_DIALOG2, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 99 - TOPMARGIN, 7 - BOTTOMMARGIN, 54 - END -END -#endif // APSTUDIO_INVOKED - -#endif // English (U.S.) resources -///////////////////////////////////////////////////////////////////////////// - - - -#ifndef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 3 resource. -// - - -///////////////////////////////////////////////////////////////////////////// -#endif // not APSTUDIO_INVOKED - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7233/SDK7233DbEvt/Resource.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7233/SDK7233DbEvt/Resource.h deleted file mode 100644 index 1452e47..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7233/SDK7233DbEvt/Resource.h +++ /dev/null @@ -1,30 +0,0 @@ -//{{NO_DEPENDENCIES}} -// Microsoft Developer Studio generated include file. -// Used by 7233int.rc -// -#define IDM_SETUP 101 -#define IDD_DIALOG1 101 -#define IDD_DIALOG2 102 -#define IDM_EXIT 110 -#define IDM_GO 300 -#define IDM_ABOUT 301 -#define DMA_DATA 302 -#define ID_STOP 304 -#define IDM_CLEAR 305 -#define DMA_SPACE 500 -#define IDC_COMBO1 1004 -#define IDC_COMBO2 1005 -#define IDC_EDIT1 1007 -#define IDC_EDIT2 1008 -#define IDC_STATIC -1 - -// Next default values for new objects -// -#ifdef APSTUDIO_INVOKED -#ifndef APSTUDIO_READONLY_SYMBOLS -#define _APS_NEXT_RESOURCE_VALUE 103 -#define _APS_NEXT_COMMAND_VALUE 102 -#define _APS_NEXT_CONTROL_VALUE 1008 -#define _APS_NEXT_SYMED_VALUE 101 -#endif -#endif diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7233/SDK7233int/7233INT.C b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7233/SDK7233int/7233INT.C deleted file mode 100644 index 1855597..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7233/SDK7233int/7233INT.C +++ /dev/null @@ -1,223 +0,0 @@ -/*;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; -;; Copyright (c) 1998-1999, ADLink Technology Inc. All rights reserved. ;; -;; ;; -;; File Name : 7233INT.C ;; -;; Purpose : This sample program demonstrates how to handle interrupt ;; -;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;*/ - -#include -#include -#include -#include -#include -#include "Dask.h" -#include "Resource.h" - -#define WM_INT 2000 //interrupt comming message - -HANDLE hInst; /* current instance */ -I16 card=-1, card_number = 0; -int int_count=0; -HWND hStart, hMainWnd; - -int PASCAL WinMain(HANDLE, HANDLE, LPSTR, int); -BOOL InitApplication(HANDLE); -BOOL InitInstance(HANDLE, int); -long PASCAL MainWndProc(HWND, unsigned, WPARAM, LPARAM); -void mesgfn(); - - /********************************************************************** - - FUNCTION: WinMain(HANDLE, HANDLE, LPSTR, int) - PURPOSE: calls initialization function, processes message loop - - ***********************************************************************/ - - int PASCAL WinMain(hInstance, hPrevInstance, lpCmdLine, nCmdShow) - HANDLE hInstance; - HANDLE hPrevInstance; - LPSTR lpCmdLine; - int nCmdShow; - { - MSG msg; - - if(!hPrevInstance) - if(!InitApplication(hInstance)) - return(FALSE); - - if(!InitInstance(hInstance, nCmdShow)) - return(FALSE); - - while ( GetMessage(&msg, NULL, NULL, NULL)) - { - TranslateMessage(&msg); - DispatchMessage(&msg); - } - return(msg.wParam); - } - -/**************************************************************************** - - FUNCTION: InitApplication(HANDLE) - - PURPOSE: Initializes window data and registers window class - -****************************************************************************/ - -BOOL InitApplication(hInstance) -HANDLE hInstance; -{ - WNDCLASS wc; - - wc.style = NULL; - wc.lpfnWndProc = MainWndProc; - wc.cbClsExtra = 0; - wc.cbWndExtra = 0; - wc.hInstance = hInstance; - wc.hIcon = LoadIcon(NULL, IDI_APPLICATION); - wc.hCursor = LoadCursor(hInstance, IDC_ARROW); - wc.hbrBackground = GetStockObject(WHITE_BRUSH); - wc.lpszMenuName = "U7233Menu"; - wc.lpszClassName = "IntClass"; - - return (RegisterClass(&wc)); -} - -/**************************************************************************** - - FUNCTION: InitInstance(HANDLE, int) - - PURPOSE: Saves instance handle and creates main window - -****************************************************************************/ - -BOOL InitInstance(hInstance, nCmdShow) -HANDLE hInstance; -int nCmdShow; -{ - HWND hWnd; - - hInst = hInstance; - hWnd = CreateWindow("IntClass", "PCI-7233 Interrupt Sample (INT1)", WS_OVERLAPPEDWINDOW, - 200, 100, 360, 270, NULL, NULL, hInstance, NULL); - if (!hWnd) return (FALSE); - ShowWindow(hWnd, nCmdShow); - UpdateWindow(hWnd); - return (TRUE); -} - -BOOL PASCAL setup(HWND hWnd, unsigned message, WPARAM wParam, LPARAM lParam) -{ - int i; - char n[16]; - char s[50]; - switch (message) { - case WM_INITDIALOG: - for (i=0;i<16;i++) { - wsprintf(n, "%d", i); - _strupr(n); - SendMessage(GetDlgItem(hWnd,IDC_COMBO1), CB_ADDSTRING, NULL, (LONG)(LPSTR) n); - } - SendMessage(GetDlgItem(hWnd,IDC_COMBO1) , CB_SETCURSEL, 0, 0L); - - break; - case WM_COMMAND: - switch(LOWORD(wParam)) { - - case IDC_COMBO1: - if (HIWORD(wParam) == CBN_CLOSEUP) { - i = (int)SendMessage(GetDlgItem(hWnd,IDC_COMBO1), CB_GETCURSEL, 0, 0L); - SendMessage(GetDlgItem(hWnd,IDC_COMBO1), CB_GETLBTEXT, i, (LPARAM)((LPCSTR)n)); - card_number = i; - } - return(TRUE); - case IDOK: - if ((card=Register_Card(PCI_7233, card_number)) < 0) { - wsprintf(s, "Register_Card Error = %d\n", card); - MessageBox(hWnd, s, "Error", MB_OK); - } - EndDialog(hWnd, TRUE); - InvalidateRect(hWnd, NULL, FALSE); - return (TRUE); - case IDCANCEL: - EndDialog(hWnd, TRUE); - return (TRUE); - } - break; - } - return (FALSE); -} -/**************************************************************************** - - FUNCTION: MainWndProc(HWND, UINT, WPARAM, LPARAM) - - PURPOSE: Processes messages - - -****************************************************************************/ - -long PASCAL MainWndProc(hWnd, message, wParam, lParam) -HWND hWnd; -unsigned message; -WPARAM wParam; -LPARAM lParam; -{ - PAINTSTRUCT ps; - HDC hDC; - char s[50]; - - switch(message) { - case WM_CREATE: - DialogBox(hInst,IDD_DIALOG2, hWnd, setup); - if(card < 0) { - SendMessage(hWnd, WM_CLOSE, 0, 0L); - break; - } - int_count = 0; - DIO_INT1_EventMessage (card, INT1_EXT_SIGNAL, hWnd, WM_INT, NULL); - hMainWnd = hWnd; - break; - case WM_PAINT: - hDC = BeginPaint(hWnd, &ps); - TextOut(hDC, 20, 30, "This program shows the number of occurrence", 43); - TextOut(hDC, 20, 45, "of INT1 interupt. INT1 interrupt is generated", 45); - TextOut(hDC, 20, 60, "by change of state of DI bit 0-15.", 34); - wsprintf(s,"INT1 Count = %d ", int_count); - TextOut(hDC,120,140,s,strlen(s)); - EndPaint(hWnd, &ps); - break; - case WM_COMMAND: - switch(LOWORD(wParam)) { - case IDM_EXIT: - DIO_INT1_EventMessage (card, INT1_DISABLE, hMainWnd, NULL, NULL); - SendMessage(hWnd, WM_CLOSE, 0, 0L); - break; - } - break; - case WM_INT: //interrupt comming message - mesgfn(); - break; - case WM_DESTROY: - if (card >= 0) Release_Card(card); - PostQuitMessage(0); - break; - default: - return (DefWindowProc(hWnd, message, wParam, lParam)); - } - return(0L); -} - -void mesgfn() -{ - HDC hDC; - char Buf[80]; - - hDC=GetDC(hMainWnd); - int_count++; - - wsprintf(Buf,"INT1 Count = %d ", int_count); - TextOut(hDC,120,140,Buf,strlen(Buf)); - - ReleaseDC(hMainWnd, hDC); -} - \ No newline at end of file diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7233/SDK7233int/7233INT.EXE b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7233/SDK7233int/7233INT.EXE deleted file mode 100644 index c2612aa..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7233/SDK7233int/7233INT.EXE and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7233/SDK7233int/7233INT.MAK b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7233/SDK7233int/7233INT.MAK deleted file mode 100644 index 114df1f..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7233/SDK7233int/7233INT.MAK +++ /dev/null @@ -1,233 +0,0 @@ -# Microsoft Developer Studio Generated NMAKE File, Format Version 4.00 -# ** DO NOT EDIT ** - -# TARGTYPE "Win32 (x86) Application" 0x0101 - -!IF "$(CFG)" == "" -CFG=7233int - Win32 Debug -!MESSAGE No configuration specified. Defaulting to 7233int - Win32 Debug. -!ENDIF - -!IF "$(CFG)" != "7233int - Win32 Release" && "$(CFG)" !=\ - "7233int - Win32 Debug" -!MESSAGE Invalid configuration "$(CFG)" specified. -!MESSAGE You can specify a configuration when running NMAKE on this makefile -!MESSAGE by defining the macro CFG on the command line. For example: -!MESSAGE -!MESSAGE NMAKE /f "7233INT.MAK" CFG="7233int - Win32 Debug" -!MESSAGE -!MESSAGE Possible choices for configuration are: -!MESSAGE -!MESSAGE "7233int - Win32 Release" (based on "Win32 (x86) Application") -!MESSAGE "7233int - Win32 Debug" (based on "Win32 (x86) Application") -!MESSAGE -!ERROR An invalid configuration is specified. -!ENDIF - -!IF "$(OS)" == "Windows_NT" -NULL= -!ELSE -NULL=nul -!ENDIF -################################################################################ -# Begin Project -# PROP Target_Last_Scanned "7233int - Win32 Debug" -MTL=mktyplib.exe -RSC=rc.exe -CPP=cl.exe - -!IF "$(CFG)" == "7233int - Win32 Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "Release" -# PROP BASE Intermediate_Dir "Release" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "" -# PROP Intermediate_Dir "Release" -# PROP Target_Dir "" -OUTDIR=. -INTDIR=.\Release - -ALL : "$(OUTDIR)\7233INT.exe" - -CLEAN : - -@erase ".\7233INT.exe" - -@erase ".\Release\7233int.obj" - -@erase ".\Release\7233int.res" - -"$(INTDIR)" : - if not exist "$(INTDIR)/$(NULL)" mkdir "$(INTDIR)" - -# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /YX /c -# ADD CPP /nologo /W3 /GX /O2 /I "..\..\..\include" /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /c -# SUBTRACT CPP /YX -CPP_PROJ=/nologo /ML /W3 /GX /O2 /I "..\..\..\include" /D "WIN32" /D "NDEBUG"\ - /D "_WINDOWS" /Fo"$(INTDIR)/" /c -CPP_OBJS=.\Release/ -CPP_SBRS= -# ADD BASE MTL /nologo /D "NDEBUG" /win32 -# ADD MTL /nologo /D "NDEBUG" /win32 -MTL_PROJ=/nologo /D "NDEBUG" /win32 -# ADD BASE RSC /l 0x409 /d "NDEBUG" -# ADD RSC /l 0x409 /d "NDEBUG" -RSC_PROJ=/l 0x409 /fo"$(INTDIR)/7233int.res" /d "NDEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -BSC32_FLAGS=/nologo /o"$(OUTDIR)/7233INT.bsc" -BSC32_SBRS= -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:windows /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ..\..\..\lib\pci-dask.lib /nologo /subsystem:windows /machine:I386 -LINK32_FLAGS=kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib\ - advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib\ - odbccp32.lib ..\..\..\lib\pci-dask.lib /nologo /subsystem:windows\ - /incremental:no /pdb:"$(OUTDIR)/7233INT.pdb" /machine:I386\ - /out:"$(OUTDIR)/7233INT.exe" -LINK32_OBJS= \ - ".\Release\7233int.obj" \ - ".\Release\7233int.res" \ - "..\..\..\lib\PCI-Dask.lib" - -"$(OUTDIR)\7233INT.exe" : "$(OUTDIR)" $(DEF_FILE) $(LINK32_OBJS) - $(LINK32) @<< - $(LINK32_FLAGS) $(LINK32_OBJS) -<< - -!ELSEIF "$(CFG)" == "7233int - Win32 Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "Debug" -# PROP BASE Intermediate_Dir "Debug" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "" -# PROP Intermediate_Dir "Debug" -# PROP Target_Dir "" -OUTDIR=. -INTDIR=.\Debug - -ALL : "$(OUTDIR)\7233INT.exe" - -CLEAN : - -@erase ".\Debug\vc40.pdb" - -@erase ".\Debug\vc40.idb" - -@erase ".\7233INT.exe" - -@erase ".\Debug\7233int.obj" - -@erase ".\Debug\7233int.res" - -@erase ".\7233INT.ilk" - -@erase ".\7233INT.pdb" - -"$(INTDIR)" : - if not exist "$(INTDIR)/$(NULL)" mkdir "$(INTDIR)" - -# ADD BASE CPP /nologo /W3 /Gm /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /YX /c -# ADD CPP /nologo /W3 /Gm /GX /Zi /Od /I "..\..\..\include" /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /c -# SUBTRACT CPP /YX -CPP_PROJ=/nologo /MLd /W3 /Gm /GX /Zi /Od /I "..\..\..\include" /D "WIN32" /D\ - "_DEBUG" /D "_WINDOWS" /Fo"$(INTDIR)/" /Fd"$(INTDIR)/" /c -CPP_OBJS=.\Debug/ -CPP_SBRS= -# ADD BASE MTL /nologo /D "_DEBUG" /win32 -# ADD MTL /nologo /D "_DEBUG" /win32 -MTL_PROJ=/nologo /D "_DEBUG" /win32 -# ADD BASE RSC /l 0x409 /d "_DEBUG" -# ADD RSC /l 0x409 /d "_DEBUG" -RSC_PROJ=/l 0x409 /fo"$(INTDIR)/7233int.res" /d "_DEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -BSC32_FLAGS=/nologo /o"$(OUTDIR)/7233INT.bsc" -BSC32_SBRS= -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:windows /debug /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ..\..\..\lib\pci-dask.lib /nologo /subsystem:windows /debug /machine:I386 -LINK32_FLAGS=kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib\ - advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib\ - odbccp32.lib ..\..\..\lib\pci-dask.lib /nologo /subsystem:windows\ - /incremental:yes /pdb:"$(OUTDIR)/7233INT.pdb" /debug /machine:I386\ - /out:"$(OUTDIR)/7233INT.exe" -LINK32_OBJS= \ - ".\Debug\7233int.obj" \ - ".\Debug\7233int.res" \ - "..\..\..\lib\PCI-Dask.lib" - -"$(OUTDIR)\7233INT.exe" : "$(OUTDIR)" $(DEF_FILE) $(LINK32_OBJS) - $(LINK32) @<< - $(LINK32_FLAGS) $(LINK32_OBJS) -<< - -!ENDIF - -.c{$(CPP_OBJS)}.obj: - $(CPP) $(CPP_PROJ) $< - -.cpp{$(CPP_OBJS)}.obj: - $(CPP) $(CPP_PROJ) $< - -.cxx{$(CPP_OBJS)}.obj: - $(CPP) $(CPP_PROJ) $< - -.c{$(CPP_SBRS)}.sbr: - $(CPP) $(CPP_PROJ) $< - -.cpp{$(CPP_SBRS)}.sbr: - $(CPP) $(CPP_PROJ) $< - -.cxx{$(CPP_SBRS)}.sbr: - $(CPP) $(CPP_PROJ) $< - -################################################################################ -# Begin Target - -# Name "7233int - Win32 Release" -# Name "7233int - Win32 Debug" - -!IF "$(CFG)" == "7233int - Win32 Release" - -!ELSEIF "$(CFG)" == "7233int - Win32 Debug" - -!ENDIF - -################################################################################ -# Begin Source File - -SOURCE=.\7233int.rc - -"$(INTDIR)\7233int.res" : $(SOURCE) "$(INTDIR)" - $(RSC) $(RSC_PROJ) $(SOURCE) - - -# End Source File -################################################################################ -# Begin Source File - -SOURCE=.\7233int.c -DEP_CPP_7233I=\ - ".\..\..\..\include\Dask.h"\ - - -"$(INTDIR)\7233int.obj" : $(SOURCE) $(DEP_CPP_7233I) "$(INTDIR)" - - -# End Source File -################################################################################ -# Begin Source File - -SOURCE="\pdaskwdm\lib\PCI-Dask.lib" - -!IF "$(CFG)" == "7233int - Win32 Release" - -!ELSEIF "$(CFG)" == "7233int - Win32 Debug" - -!ENDIF - -# End Source File -# End Target -# End Project -################################################################################ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7233/SDK7233int/7233INT.MDP b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7233/SDK7233int/7233INT.MDP deleted file mode 100644 index 4fbd61a..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7233/SDK7233int/7233INT.MDP and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7233/SDK7233int/7233INT.RC b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7233/SDK7233int/7233INT.RC deleted file mode 100644 index b953770..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7233/SDK7233int/7233INT.RC +++ /dev/null @@ -1,115 +0,0 @@ -//Microsoft Developer Studio generated resource script. -// -#include "resource.h" - -#define APSTUDIO_READONLY_SYMBOLS -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 2 resource. -// -#define APSTUDIO_HIDDEN_SYMBOLS -#include "windows.h" -#undef APSTUDIO_HIDDEN_SYMBOLS - -///////////////////////////////////////////////////////////////////////////// -#undef APSTUDIO_READONLY_SYMBOLS - -///////////////////////////////////////////////////////////////////////////// -// English (U.S.) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -#ifdef _WIN32 -LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US -#pragma code_page(1252) -#endif //_WIN32 - -#ifdef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// TEXTINCLUDE -// - -1 TEXTINCLUDE DISCARDABLE -BEGIN - "resource.h\0" -END - -2 TEXTINCLUDE DISCARDABLE -BEGIN - "#define APSTUDIO_HIDDEN_SYMBOLS\r\n" - "#include ""windows.h""\r\n" - "#undef APSTUDIO_HIDDEN_SYMBOLS\r\n" - "\0" -END - -3 TEXTINCLUDE DISCARDABLE -BEGIN - "\r\n" - "\0" -END - -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog -// - -IDD_DIALOG2 DIALOG DISCARDABLE 110, 10, 106, 61 -STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "Card Number" -FONT 10, "System" -BEGIN - DEFPUSHBUTTON "OK",IDOK,10,40,37,14 - PUSHBUTTON "Cancel",IDCANCEL,61,40,38,14 - LTEXT "Card Number",IDC_STATIC,3,13,47,13 - COMBOBOX IDC_COMBO1,51,13,48,84,CBS_DROPDOWN | WS_VSCROLL | - WS_TABSTOP -END - - -///////////////////////////////////////////////////////////////////////////// -// -// DESIGNINFO -// - -#ifdef APSTUDIO_INVOKED -GUIDELINES DESIGNINFO DISCARDABLE -BEGIN - IDD_DIALOG2, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 99 - TOPMARGIN, 7 - BOTTOMMARGIN, 54 - END -END -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// Menu -// - -U7233MENU MENU DISCARDABLE -BEGIN - MENUITEM "E&xit!", IDM_EXIT -END - -#endif // English (U.S.) resources -///////////////////////////////////////////////////////////////////////////// - - - -#ifndef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 3 resource. -// - - -///////////////////////////////////////////////////////////////////////////// -#endif // not APSTUDIO_INVOKED - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7233/SDK7233int/Resource.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7233/SDK7233int/Resource.h deleted file mode 100644 index 1452e47..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7233/SDK7233int/Resource.h +++ /dev/null @@ -1,30 +0,0 @@ -//{{NO_DEPENDENCIES}} -// Microsoft Developer Studio generated include file. -// Used by 7233int.rc -// -#define IDM_SETUP 101 -#define IDD_DIALOG1 101 -#define IDD_DIALOG2 102 -#define IDM_EXIT 110 -#define IDM_GO 300 -#define IDM_ABOUT 301 -#define DMA_DATA 302 -#define ID_STOP 304 -#define IDM_CLEAR 305 -#define DMA_SPACE 500 -#define IDC_COMBO1 1004 -#define IDC_COMBO2 1005 -#define IDC_EDIT1 1007 -#define IDC_EDIT2 1008 -#define IDC_STATIC -1 - -// Next default values for new objects -// -#ifdef APSTUDIO_INVOKED -#ifndef APSTUDIO_READONLY_SYMBOLS -#define _APS_NEXT_RESOURCE_VALUE 103 -#define _APS_NEXT_COMMAND_VALUE 102 -#define _APS_NEXT_CONTROL_VALUE 1008 -#define _APS_NEXT_SYMED_VALUE 101 -#endif -#endif diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7233/VB7233/0.BMP b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7233/VB7233/0.BMP deleted file mode 100644 index 407bba2..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7233/VB7233/0.BMP and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7233/VB7233/1.BMP b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7233/VB7233/1.BMP deleted file mode 100644 index 37d14f3..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7233/VB7233/1.BMP and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7233/VB7233/7233GLBL.BAS b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7233/VB7233/7233GLBL.BAS deleted file mode 100644 index 77a2e7f..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7233/VB7233/7233GLBL.BAS +++ /dev/null @@ -1,4 +0,0 @@ -Attribute VB_Name = "Module1" -Global card As Integer -Global card_number As Integer - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7233/VB7233/Base7233.frm b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7233/VB7233/Base7233.frm deleted file mode 100644 index d8a0919..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7233/VB7233/Base7233.frm +++ /dev/null @@ -1,99 +0,0 @@ -VERSION 4.00 -Begin VB.Form SettingForm - Appearance = 0 'Flat - BackColor = &H00C0C0C0& - Caption = "Card Number Setting" - ClientHeight = 1275 - ClientLeft = 4590 - ClientTop = 4545 - ClientWidth = 2820 - BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851} - Name = "MS Sans Serif" - Size = 8.25 - Charset = 0 - Weight = 700 - Underline = 0 'False - Italic = 0 'False - Strikethrough = 0 'False - EndProperty - ForeColor = &H80000008& - Height = 1680 - Left = 4530 - LinkTopic = "Form2" - ScaleHeight = 1275 - ScaleWidth = 2820 - Top = 4200 - Width = 2940 - Begin VB.CommandButton OKBtn - Appearance = 0 'Flat - BackColor = &H80000005& - Caption = "OK" - Default = -1 'True - Height = 315 - Left = 300 - TabIndex = 0 - Top = 720 - Width = 915 - End - Begin VB.CommandButton CancelBtn - Appearance = 0 'Flat - BackColor = &H80000005& - Cancel = -1 'True - Caption = "Cancel" - Height = 315 - Left = 1380 - TabIndex = 3 - Top = 720 - Width = 915 - End - Begin VB.ComboBox CardNum - Appearance = 0 'Flat - Height = 300 - Left = 1440 - Style = 2 'Dropdown List - TabIndex = 2 - Top = 120 - Width = 1035 - End - Begin VB.Label Label2 - Appearance = 0 'Flat - BackColor = &H00C0C0C0& - Caption = "Card Number:" - ForeColor = &H00000000& - Height = 195 - Index = 0 - Left = 180 - TabIndex = 1 - Top = 180 - Width = 1275 - End -End -Attribute VB_Name = "SettingForm" -Attribute VB_Creatable = False -Attribute VB_Exposed = False - - -Private Sub BaseAddr_Change() - -End Sub - - -Private Sub CancelBtn_Click() - Unload SettingForm -End Sub - -Private Sub Form_Load() - Dim i As Long - For i = 0 To 15 Step 1 - CardNum.AddItem i - Next - CardNum.ListIndex = 0 -End Sub - -Private Sub OKBtn_Click() - card = -1 - card_number = CardNum.ListIndex - card = Register_Card(PCI_7233, card_number) - Unload SettingForm -End Sub - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7233/VB7233/Util7233.Frm b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7233/VB7233/Util7233.Frm deleted file mode 100644 index a161b74..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7233/VB7233/Util7233.Frm +++ /dev/null @@ -1,465 +0,0 @@ -VERSION 4.00 -Begin VB.Form util7233 - Appearance = 0 'Flat - BackColor = &H00C0C0C0& - Caption = "PCI-7233 Sample Program" - ClientHeight = 2250 - ClientLeft = 2130 - ClientTop = 2250 - ClientWidth = 6480 - BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851} - Name = "MS Sans Serif" - Size = 8.25 - Charset = 0 - Weight = 700 - Underline = 0 'False - Italic = 0 'False - Strikethrough = 0 'False - EndProperty - ForeColor = &H80000008& - Height = 2940 - Left = 2070 - LinkTopic = "Form1" - ScaleHeight = 2250 - ScaleWidth = 6480 - Top = 1620 - Width = 6600 - Begin VB.Timer Timer1 - Interval = 100 - Left = 5040 - Top = 1680 - End - Begin VB.Frame Frame1 - Appearance = 0 'Flat - BackColor = &H00C0C0C0& - Caption = "Digital Input" - ForeColor = &H00FF0000& - Height = 1275 - Index = 0 - Left = 240 - TabIndex = 0 - Top = 240 - Width = 6015 - Begin VB.Label Label4 - Caption = "0" - Height = 195 - Left = 5670 - TabIndex = 2 - Top = 1050 - Width = 195 - End - Begin VB.Label Label2 - Caption = "31" - Height = 195 - Left = 210 - TabIndex = 1 - Top = 540 - Width = 195 - End - Begin VB.Image DI0 - Appearance = 0 'Flat - Height = 300 - Index = 31 - Left = 180 - Picture = "Util7233.frx":0000 - Top = 240 - Width = 300 - End - Begin VB.Image DI0 - Appearance = 0 'Flat - Height = 300 - Index = 30 - Left = 540 - Picture = "Util7233.frx":0172 - Top = 240 - Width = 300 - End - Begin VB.Image DI0 - Appearance = 0 'Flat - Height = 300 - Index = 29 - Left = 900 - Picture = "Util7233.frx":02E4 - Top = 240 - Width = 300 - End - Begin VB.Image DI0 - Appearance = 0 'Flat - Height = 300 - Index = 28 - Left = 1260 - Picture = "Util7233.frx":0456 - Top = 240 - Width = 300 - End - Begin VB.Image DI0 - Appearance = 0 'Flat - Height = 300 - Index = 27 - Left = 1620 - Picture = "Util7233.frx":05C8 - Top = 240 - Width = 300 - End - Begin VB.Image DI0 - Appearance = 0 'Flat - Height = 300 - Index = 26 - Left = 1980 - Picture = "Util7233.frx":073A - Top = 240 - Width = 300 - End - Begin VB.Image DI0 - Appearance = 0 'Flat - Height = 300 - Index = 25 - Left = 2340 - Picture = "Util7233.frx":08AC - Top = 240 - Width = 300 - End - Begin VB.Image DI0 - Appearance = 0 'Flat - Height = 300 - Index = 24 - Left = 2700 - Picture = "Util7233.frx":0A1E - Top = 240 - Width = 300 - End - Begin VB.Image DI0 - Appearance = 0 'Flat - Height = 300 - Index = 23 - Left = 3060 - Picture = "Util7233.frx":0B90 - Top = 240 - Width = 300 - End - Begin VB.Image DI0 - Appearance = 0 'Flat - Height = 300 - Index = 22 - Left = 3420 - Picture = "Util7233.frx":0D02 - Top = 240 - Width = 300 - End - Begin VB.Image DI0 - Appearance = 0 'Flat - Height = 300 - Index = 21 - Left = 3780 - Picture = "Util7233.frx":0E74 - Top = 240 - Width = 300 - End - Begin VB.Image DI0 - Appearance = 0 'Flat - Height = 300 - Index = 20 - Left = 4140 - Picture = "Util7233.frx":0FE6 - Top = 240 - Width = 300 - End - Begin VB.Image DI0 - Appearance = 0 'Flat - Height = 300 - Index = 19 - Left = 4500 - Picture = "Util7233.frx":1158 - Top = 240 - Width = 300 - End - Begin VB.Image DI0 - Appearance = 0 'Flat - Height = 300 - Index = 18 - Left = 4860 - Picture = "Util7233.frx":12CA - Top = 240 - Width = 300 - End - Begin VB.Image DI0 - Appearance = 0 'Flat - Height = 300 - Index = 17 - Left = 5220 - Picture = "Util7233.frx":143C - Top = 240 - Width = 300 - End - Begin VB.Image DI0 - Appearance = 0 'Flat - Height = 300 - Index = 16 - Left = 5580 - Picture = "Util7233.frx":15AE - Top = 240 - Width = 300 - End - Begin VB.Image DI0 - Appearance = 0 'Flat - Height = 300 - Index = 15 - Left = 180 - Picture = "Util7233.frx":1720 - Top = 750 - Width = 300 - End - Begin VB.Image DI0 - Appearance = 0 'Flat - Height = 300 - Index = 14 - Left = 540 - Picture = "Util7233.frx":1892 - Top = 750 - Width = 300 - End - Begin VB.Image DI0 - Appearance = 0 'Flat - Height = 300 - Index = 13 - Left = 900 - Picture = "Util7233.frx":1A04 - Top = 750 - Width = 300 - End - Begin VB.Image DI0 - Appearance = 0 'Flat - Height = 300 - Index = 12 - Left = 1260 - Picture = "Util7233.frx":1B76 - Top = 750 - Width = 300 - End - Begin VB.Image DI0 - Appearance = 0 'Flat - Height = 300 - Index = 11 - Left = 1620 - Picture = "Util7233.frx":1CE8 - Top = 750 - Width = 300 - End - Begin VB.Image DI0 - Appearance = 0 'Flat - Height = 300 - Index = 10 - Left = 1980 - Picture = "Util7233.frx":1E5A - Top = 750 - Width = 300 - End - Begin VB.Image DI0 - Appearance = 0 'Flat - Height = 300 - Index = 9 - Left = 2340 - Picture = "Util7233.frx":1FCC - Top = 750 - Width = 300 - End - Begin VB.Image DI0 - Appearance = 0 'Flat - Height = 300 - Index = 8 - Left = 2700 - Picture = "Util7233.frx":213E - Top = 750 - Width = 300 - End - Begin VB.Image DI0 - Appearance = 0 'Flat - Height = 300 - Index = 0 - Left = 5580 - Picture = "Util7233.frx":22B0 - Top = 750 - Width = 300 - End - Begin VB.Image DI0 - Appearance = 0 'Flat - Height = 300 - Index = 1 - Left = 5220 - Picture = "Util7233.frx":2422 - Top = 750 - Width = 300 - End - Begin VB.Image DI0 - Appearance = 0 'Flat - Height = 300 - Index = 2 - Left = 4860 - Picture = "Util7233.frx":2594 - Top = 750 - Width = 300 - End - Begin VB.Image DI0 - Appearance = 0 'Flat - Height = 300 - Index = 3 - Left = 4500 - Picture = "Util7233.frx":2706 - Top = 750 - Width = 300 - End - Begin VB.Image DI0 - Appearance = 0 'Flat - Height = 300 - Index = 4 - Left = 4140 - Picture = "Util7233.frx":2878 - Top = 750 - Width = 300 - End - Begin VB.Image DI0 - Appearance = 0 'Flat - Height = 300 - Index = 5 - Left = 3780 - Picture = "Util7233.frx":29EA - Top = 750 - Width = 300 - End - Begin VB.Image DI0 - Appearance = 0 'Flat - Height = 300 - Index = 6 - Left = 3420 - Picture = "Util7233.frx":2B5C - Top = 750 - Width = 300 - End - Begin VB.Image DI0 - Appearance = 0 'Flat - Height = 300 - Index = 7 - Left = 3060 - Picture = "Util7233.frx":2CCE - Top = 750 - Width = 300 - End - End - Begin VB.Image Image1 - Appearance = 0 'Flat - Height = 300 - Left = 5520 - Picture = "Util7233.frx":2E40 - Top = 1680 - Visible = 0 'False - Width = 300 - End - Begin VB.Image Image0 - Appearance = 0 'Flat - Height = 300 - Left = 6000 - Picture = "Util7233.frx":2FB2 - Top = 1680 - Visible = 0 'False - Width = 300 - End - Begin VB.Menu mnuExit - Caption = "&Exit!" - End -End -Attribute VB_Name = "util7233" -Attribute VB_Creatable = False -Attribute VB_Exposed = False -Option Explicit -Dim bit(0 To 31) As Long - - -Private Sub Form_Load() - Dim result As Integer - Dim i As Integer - - SettingForm.Show 1 - If card < 0 Then - MsgBox "Register card failed." - End - End If - - bit(0) = &H1& - bit(1) = &H2& - bit(2) = &H4& - bit(3) = &H8& - bit(4) = &H10& - bit(5) = &H20& - bit(6) = &H40& - bit(7) = &H80& - bit(8) = &H100& - bit(9) = &H200& - bit(10) = &H400& - bit(11) = &H800& - bit(12) = &H1000& - bit(13) = &H2000& - bit(14) = &H4000& - bit(15) = &H8000& - bit(16) = &H10000 - bit(17) = &H20000 - bit(18) = &H40000 - bit(19) = &H80000 - bit(20) = &H100000 - bit(21) = &H200000 - bit(22) = &H400000 - bit(23) = &H800000 - bit(24) = &H1000000 - bit(25) = &H2000000 - bit(26) = &H4000000 - bit(27) = &H8000000 - bit(28) = &H10000000 - bit(29) = &H20000000 - bit(30) = &H40000000 - bit(31) = &H80000000 -End Sub - -Private Sub Form_Unload(Cancel As Integer) - Dim result As Integer - If card >= 0 Then - result = Release_Card(card) - End If - End - -End Sub - - -Private Sub mnuExit_Click() - Dim result As Integer - If card >= 0 Then - result = Release_Card(card) - End If - End -End Sub - -Private Sub Timer1_Timer() - Dim result As Integer - Dim dl As Long, dh As Long - Dim i As Integer - Dim p As Long - - 'result = DI_ReadPort(card, CHANNEL_DI_HIGH, dh) - result = DI_ReadPort(card, CHANNEL_DI_LOW, dl) - - For i = 0 To 31 - p = dl And bit(i) - If p <> 0 Then - DI0(i) = Image1 - Else 'p = 0 - DI0(i) = Image0 - End If - Next - 'For i = 0 To 31 - ' p = dh And bit(i) - ' If p <> 0 Then - ' DI1(i) = Image1 - ' Else 'p = 0 - ' DI1(i) = Image0 - ' End If - 'Next -End Sub - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7233/VB7233/Util7233.Vbp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7233/VB7233/Util7233.Vbp deleted file mode 100644 index 74a824f..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7233/VB7233/Util7233.Vbp +++ /dev/null @@ -1,22 +0,0 @@ -Form=Util7233.Frm -Module=DASK; ..\..\..\Include\DASK.bas -Module=Module1; 7233glbl.bas -Form=Base7233.frm -Reference=*\G{00025E04-0000-0000-C000-000000000046}#2.5#0#C:\PROGRAM FILES\COMMON FILES\MICROSOFT SHARED\DC:\PROGRAM FIL#Microsoft DAO 2.5/3.0 Compatibility Library -ProjWinSize=84,465,248,215 -ProjWinShow=2 -IconForm="util7233" -HelpFile="" -Title="UTIL7233" -ExeName32="Util7233.exe" -ExeName="7233.EXE" -Name="vb4projectUtil7233" -HelpContextID="0" -StartMode=0 -VersionCompatible32="0" -MajorVer=1 -MinorVer=0 -RevisionVer=0 -AutoIncrementVer=0 -ServerSupportFiles=0 -VersionCompanyName="ADLINK" diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7233/VB7233/Util7233.frx b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7233/VB7233/Util7233.frx deleted file mode 100644 index 8dda588..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7233/VB7233/Util7233.frx and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7234/SDK7234/Resource.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7234/SDK7234/Resource.h deleted file mode 100644 index 86872c4..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7234/SDK7234/Resource.h +++ /dev/null @@ -1,21 +0,0 @@ -//{{NO_DEPENDENCIES}} -// Microsoft Developer Studio generated include file. -// Used by Util7234.rc -// -#define IDOK2 3 -#define IDCANCEL2 4 -#define IDD_DIALOG1 101 -#define IDM_EXIT 110 -#define IDC_COMBO1 1004 -#define IDC_STATIC -1 - -// Next default values for new objects -// -#ifdef APSTUDIO_INVOKED -#ifndef APSTUDIO_READONLY_SYMBOLS -#define _APS_NEXT_RESOURCE_VALUE 102 -#define _APS_NEXT_COMMAND_VALUE 101 -#define _APS_NEXT_CONTROL_VALUE 1000 -#define _APS_NEXT_SYMED_VALUE 101 -#endif -#endif diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7234/SDK7234/Util7234.c b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7234/SDK7234/Util7234.c deleted file mode 100644 index f70c23e..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7234/SDK7234/Util7234.c +++ /dev/null @@ -1,263 +0,0 @@ -/*;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; -;; Copyright (c) 1999, ADLink Technology Inc. All rights reserved. ;; -;; ;; -;; File Name : Util7234.C ;; -;; Purpose : This sample program demonstrate how to operate ;; -;; DO for PCI-7234 ;; -;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;*/ - -#include -#include -#include -#include -#include -#include -#include "Dask.h" -#include "resource.h" - -#define IDM_EXIT 110 - -int PASCAL WinMain(HANDLE, HANDLE, LPSTR, int); -long PASCAL MainWndProc(HWND, UINT, WPARAM, LPARAM); - -HANDLE hInst; -U32 output_lo=0; -I16 card=-1, card_number=0; - -HBRUSH hLTGreenBrush,hGreenBrush,hBlueBrush,hYellowBrush,hRedBrush; - -POINT output_pos[64]= { - {320,160}, {300,160}, - {280,160}, {260,160}, - {240,160}, {220,160}, - {200,160}, {180,160}, - {160,160}, {140,160}, - {120,160}, {100,160}, - {80,160}, {60,160}, - {40,160}, {20,160}, - {320,120}, {300,120}, - {280,120}, {260,120}, - {240,120}, {220,120}, - {200,120}, {180,120}, - {160,120}, {140,120}, - {120,120}, {100,120}, - { 80,120}, {60,120}, - { 40,120}, {20,120}, - {320, 80}, {300, 80}, - {280, 80}, {260, 80}, - {240, 80}, {220, 80}, - {200, 80}, {180, 80}, - {160, 80}, {140, 80}, - {120, 80}, {100, 80}, - {80, 80}, {60, 80}, - {40, 80}, {20, 80}, - {320, 40}, {300, 40}, - {280, 40}, {260, 40}, - {240, 40}, {220, 40}, - {200, 40}, {180, 40}, - {160, 40}, {140, 40}, - {120, 40}, {100, 40}, - {80, 40}, {60, 40}, - { 40, 40}, {20, 40} - }; - -BOOL InitApplication(HANDLE); -BOOL InitInstance(HANDLE, int); - -int PASCAL WinMain(hInstance, hPrevInstance, lpCmdLine, nCmdShow) -HANDLE hInstance, hPrevInstance; -LPSTR lpCmdLine; -int nCmdShow; -{ - MSG msg; - - if (!hPrevInstance) - if (!InitApplication(hInstance)) return(FALSE); - if (!InitInstance(hInstance, nCmdShow)) return(FALSE); - while (GetMessage(&msg, NULL, NULL, NULL)) { - TranslateMessage(&msg); - DispatchMessage(&msg); - } - return(msg.wParam); -} - -BOOL InitApplication(hInstance) -HANDLE hInstance; -{ - WNDCLASS wc; - - /* Main Window Class */ - wc.style = NULL; - wc.lpfnWndProc = (WNDPROC)MainWndProc; - wc.cbClsExtra = 0; - wc.cbWndExtra = 0; - wc.hInstance = hInstance; - wc.hIcon = LoadIcon(hInstance, "MyIcon"); - wc.hCursor = LoadCursor(NULL, IDC_ARROW); - wc.hbrBackground = GetStockObject(LTGRAY_BRUSH); - wc.lpszMenuName = NULL; - wc.lpszClassName = "GenericWClass"; - if (!RegisterClass(&wc)) return(FALSE); -} - -BOOL InitInstance(hInstance, nCmdShow) -HANDLE hInstance; -int nCmdShow; -{ - HWND hWnd; - HMENU hSampleMenu; - - hInst = hInstance; - hSampleMenu = LoadMenu(hInstance, "U7234Menu"); - hWnd = CreateWindow("GenericWClass", - (LPCSTR)"PCI-7234", - WS_OVERLAPPEDWINDOW, - CW_USEDEFAULT, - CW_USEDEFAULT, - 370, - 260, - NULL, - hSampleMenu, - hInstance, - NULL); - if (!hWnd) return(FALSE); - ShowWindow(hWnd, nCmdShow); - UpdateWindow(hWnd); - return(TRUE); -} - -BOOL PASCAL setup(HWND hWnd, unsigned message, WPARAM wParam, LPARAM lParam) -{ - int i; - char n[16]; - char s[50]; - switch (message) { - case WM_INITDIALOG: - for (i=0;i<16;i++) { - wsprintf(n, "%d", i); - _strupr(n); - SendMessage(GetDlgItem(hWnd,IDC_COMBO1), CB_ADDSTRING, NULL, (LONG)(LPSTR) n); - } - SendMessage(GetDlgItem(hWnd,IDC_COMBO1) , CB_SETCURSEL, 0, 0L); - - break; - case WM_COMMAND: - switch(LOWORD(wParam)) { - - case IDC_COMBO1: - if (HIWORD(wParam) == CBN_CLOSEUP) { - i = (int)SendMessage(GetDlgItem(hWnd,IDC_COMBO1), CB_GETCURSEL, 0, 0L); - SendMessage(GetDlgItem(hWnd,IDC_COMBO1), CB_GETLBTEXT, i, (LPARAM)((LPCSTR)n)); - card_number = i; - } - return(TRUE); - case IDOK: - if ((card=Register_Card(PCI_7234, card_number)) < 0) { - wsprintf(s, "Register_Card Error = %d\n", card); - MessageBox(hWnd, s, "Error", MB_OK); - } - EndDialog(hWnd, TRUE); - InvalidateRect(hWnd, NULL, FALSE); - return (TRUE); - case IDCANCEL: - EndDialog(hWnd, TRUE); - return (TRUE); - } - break; - } - return (FALSE); -} - -long PASCAL MainWndProc(hWnd, message, wParam, lParam) -HWND hWnd; -UINT message; -WPARAM wParam; -LPARAM lParam; -{ - HDC hDC; - PAINTSTRUCT ps; - int i, px, py; - - switch(message) { - case WM_CREATE: - DialogBox(hInst,IDD_DIALOG1, hWnd, setup); - if(card<0) { - SendMessage(hWnd, WM_CLOSE, 0, 0L); - break; - } - hLTGreenBrush = CreateSolidBrush(RGB(0, 255, 0)); - hGreenBrush = CreateSolidBrush(RGB(0, 128, 0)); - hBlueBrush = CreateSolidBrush(RGB(0, 0, 255)); - hRedBrush = CreateSolidBrush(RGB(255, 0, 0)); - break; - case WM_PAINT: - hDC = BeginPaint(hWnd, &ps); - // Digital Output Box - SelectObject(hDC, hGreenBrush); - Rectangle(hDC, output_pos[63].x-10, output_pos[63].y-24, 350, 200); - SetTextColor(hDC,RGB(255,255,255)); - SetBkColor(hDC, RGB(0, 0, 255)); - TextOut(hDC, output_pos[63].x, output_pos[63].y-30, "Digital Output",14); - // Channel Label - SetTextColor(hDC,RGB(0,0,0)); - SetBkColor(hDC, RGB(0, 128, 0)); - //TextOut(hDC, output_pos[63].x, output_pos[63].y+16, "63 48", 75); - //TextOut(hDC, output_pos[47].x, output_pos[47].y+16, "47 32", 75); - TextOut(hDC, output_pos[31].x, output_pos[31].y+16, "31 16", 75); - TextOut(hDC, output_pos[15].x, output_pos[0].y+16, "15 0", 75); - - // Channel Output - for (i=0; i<32; i++) { - if ((output_lo>>i)&0x01) - SelectObject(hDC, hRedBrush); - else - SelectObject(hDC, GetStockObject(WHITE_BRUSH)); - Ellipse(hDC, output_pos[i].x, output_pos[i].y, output_pos[i].x+17, output_pos[i].y+17); - } - EndPaint(hWnd, &ps); - break; - case WM_COMMAND: - switch(LOWORD(wParam)) { - case IDM_EXIT: - SendMessage(hWnd, WM_CLOSE, 0, 0L); - break; - default: - return(DefWindowProc(hWnd, message, wParam, lParam)); - } - break; - case WM_DESTROY: - if (card >= 0) Release_Card(card); - DeleteObject(hRedBrush); - DeleteObject(hGreenBrush); - DeleteObject(hLTGreenBrush); - PostQuitMessage(0); - break; - case WM_LBUTTONDOWN: - px = LOWORD(lParam); - py = HIWORD(lParam); - - for (i=0; i<32; i++) { - if (px>output_pos[i].x && pxoutput_pos[i].y && py>i)&0x01) { - output_lo -= (((U32)1L)<= 0 Then - result = Release_Card(card) - End If - End -End Sub - - -Private Sub mnuExit_Click() -Dim result As Integer - If card >= 0 Then - result = Release_Card(card) - End If - End -End Sub - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7234/vb7234/Util7234.Vbp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7234/vb7234/Util7234.Vbp deleted file mode 100644 index a719714..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7234/vb7234/Util7234.Vbp +++ /dev/null @@ -1,22 +0,0 @@ -Form=Util7234.Frm -Module=DASK; ..\..\..\Include\Dask.bas -Module=Module1; 7234glbl.bas -Form=Base7234.frm -Reference=*\G{00025E04-0000-0000-C000-000000000046}#2.5#0#D:\Program Files\Common Files\Microsoft Shared\DD:\Program Fil#Microsoft DAO 2.5/3.0 Compatibility Library -ProjWinSize=110,450,248,215 -ProjWinShow=2 -IconForm="util7234" -HelpFile="" -Title="UTIL7234" -ExeName32="Util7234.exe" -ExeName="7234.EXE" -Name="vb4projectUtil7234" -HelpContextID="0" -StartMode=0 -VersionCompatible32="0" -MajorVer=1 -MinorVer=0 -RevisionVer=0 -AutoIncrementVer=0 -ServerSupportFiles=0 -VersionCompanyName="ADLINK" diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7234/vb7234/Util7234.frx b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7234/vb7234/Util7234.frx deleted file mode 100644 index 8dda588..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7234/vb7234/Util7234.frx and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7248/SDK7248/Resource.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7248/SDK7248/Resource.h deleted file mode 100644 index d137083..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7248/SDK7248/Resource.h +++ /dev/null @@ -1,19 +0,0 @@ -//{{NO_DEPENDENCIES}} -// Microsoft Developer Studio generated include file. -// Used by Util7248.rc -// -#define IDD_DIALOG1 101 -#define IDM_EXIT 110 -#define IDC_COMBO1 1004 -#define IDC_STATIC -1 - -// Next default values for new objects -// -#ifdef APSTUDIO_INVOKED -#ifndef APSTUDIO_READONLY_SYMBOLS -#define _APS_NEXT_RESOURCE_VALUE 102 -#define _APS_NEXT_COMMAND_VALUE 101 -#define _APS_NEXT_CONTROL_VALUE 1000 -#define _APS_NEXT_SYMED_VALUE 101 -#endif -#endif diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7248/SDK7248/UTIL7248.EXE b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7248/SDK7248/UTIL7248.EXE deleted file mode 100644 index 5428fa3..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7248/SDK7248/UTIL7248.EXE and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7248/SDK7248/UTIL7248.MAK b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7248/SDK7248/UTIL7248.MAK deleted file mode 100644 index 7a4171d..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7248/SDK7248/UTIL7248.MAK +++ /dev/null @@ -1,219 +0,0 @@ -# Microsoft Developer Studio Generated NMAKE File, Format Version 4.00 -# ** DO NOT EDIT ** - -# TARGTYPE "Win32 (x86) Application" 0x0101 - -!IF "$(CFG)" == "" -CFG=util7248 - Win32 Debug -!MESSAGE No configuration specified. Defaulting to util7248 - Win32 Debug. -!ENDIF - -!IF "$(CFG)" != "util7248 - Win32 Release" && "$(CFG)" !=\ - "util7248 - Win32 Debug" -!MESSAGE Invalid configuration "$(CFG)" specified. -!MESSAGE You can specify a configuration when running NMAKE on this makefile -!MESSAGE by defining the macro CFG on the command line. For example: -!MESSAGE -!MESSAGE NMAKE /f "util7248.mak" CFG="util7248 - Win32 Debug" -!MESSAGE -!MESSAGE Possible choices for configuration are: -!MESSAGE -!MESSAGE "util7248 - Win32 Release" (based on "Win32 (x86) Application") -!MESSAGE "util7248 - Win32 Debug" (based on "Win32 (x86) Application") -!MESSAGE -!ERROR An invalid configuration is specified. -!ENDIF - -!IF "$(OS)" == "Windows_NT" -NULL= -!ELSE -NULL=nul -!ENDIF -################################################################################ -# Begin Project -# PROP Target_Last_Scanned "util7248 - Win32 Debug" -CPP=cl.exe -RSC=rc.exe -MTL=mktyplib.exe - -!IF "$(CFG)" == "util7248 - Win32 Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "Release" -# PROP BASE Intermediate_Dir "Release" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "" -# PROP Intermediate_Dir "Release" -# PROP Target_Dir "" -OUTDIR=. -INTDIR=.\Release - -ALL : "$(OUTDIR)\util7248.exe" - -CLEAN : - -@erase ".\util7248.exe" - -@erase ".\Release\Util7248.obj" - -@erase ".\Release\Util7248.res" - -"$(INTDIR)" : - if not exist "$(INTDIR)/$(NULL)" mkdir "$(INTDIR)" - -# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /YX /c -# ADD CPP /nologo /W3 /GX /Od /I "..\..\..\include" /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /c -# SUBTRACT CPP /YX -CPP_PROJ=/nologo /ML /W3 /GX /Od /I "..\..\..\include" /D "WIN32" /D "NDEBUG"\ - /D "_WINDOWS" /Fo"$(INTDIR)/" /c -CPP_OBJS=.\Release/ -CPP_SBRS= -# ADD BASE MTL /nologo /D "NDEBUG" /win32 -# ADD MTL /nologo /D "NDEBUG" /win32 -MTL_PROJ=/nologo /D "NDEBUG" /win32 -# ADD BASE RSC /l 0x409 /d "NDEBUG" -# ADD RSC /l 0x409 /d "NDEBUG" -RSC_PROJ=/l 0x409 /fo"$(INTDIR)/Util7248.res" /d "NDEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -BSC32_FLAGS=/nologo /o"$(OUTDIR)/util7248.bsc" -BSC32_SBRS= -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:windows /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ..\..\..\lib\PCI-Dask.lib /nologo /subsystem:windows /machine:I386 -LINK32_FLAGS=kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib\ - advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib\ - odbccp32.lib ..\..\..\lib\PCI-Dask.lib /nologo /subsystem:windows\ - /incremental:no /pdb:"$(OUTDIR)/util7248.pdb" /machine:I386\ - /out:"$(OUTDIR)/util7248.exe" -LINK32_OBJS= \ - "$(INTDIR)/Util7248.obj" \ - "$(INTDIR)/Util7248.res" - -"$(OUTDIR)\util7248.exe" : "$(OUTDIR)" $(DEF_FILE) $(LINK32_OBJS) - $(LINK32) @<< - $(LINK32_FLAGS) $(LINK32_OBJS) -<< - -!ELSEIF "$(CFG)" == "util7248 - Win32 Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "Debug" -# PROP BASE Intermediate_Dir "Debug" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "Debug" -# PROP Intermediate_Dir "Debug" -# PROP Target_Dir "" -OUTDIR=.\Debug -INTDIR=.\Debug - -ALL : "$(OUTDIR)\util7248.exe" - -CLEAN : - -@erase ".\Debug\vc40.pdb" - -@erase ".\Debug\vc40.idb" - -@erase ".\Debug\util7248.exe" - -@erase ".\Debug\Util7248.obj" - -@erase ".\Debug\Util7248.res" - -@erase ".\Debug\util7248.ilk" - -@erase ".\Debug\util7248.pdb" - -"$(OUTDIR)" : - if not exist "$(OUTDIR)/$(NULL)" mkdir "$(OUTDIR)" - -# ADD BASE CPP /nologo /W3 /Gm /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /YX /c -# ADD CPP /nologo /MTd /W3 /Gm /GX /Zi /Od /I "..\..\..\include" /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /c -# SUBTRACT CPP /YX -CPP_PROJ=/nologo /MTd /W3 /Gm /GX /Zi /Od /I "..\..\..\include" /D "WIN32" /D\ - "_DEBUG" /D "_WINDOWS" /Fo"$(INTDIR)/" /Fd"$(INTDIR)/" /c -CPP_OBJS=.\Debug/ -CPP_SBRS= -# ADD BASE MTL /nologo /D "_DEBUG" /win32 -# ADD MTL /nologo /D "_DEBUG" /win32 -MTL_PROJ=/nologo /D "_DEBUG" /win32 -# ADD BASE RSC /l 0x409 /d "_DEBUG" -# ADD RSC /l 0x409 /d "_DEBUG" -RSC_PROJ=/l 0x409 /fo"$(INTDIR)/Util7248.res" /d "_DEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -BSC32_FLAGS=/nologo /o"$(OUTDIR)/util7248.bsc" -BSC32_SBRS= -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:windows /debug /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ..\..\..\lib\PCI-DASK.lib /nologo /subsystem:windows /debug /machine:I386 -LINK32_FLAGS=kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib\ - advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib\ - odbccp32.lib ..\..\..\lib\PCI-DASK.lib /nologo /subsystem:windows\ - /incremental:yes /pdb:"$(OUTDIR)/util7248.pdb" /debug /machine:I386\ - /out:"$(OUTDIR)/util7248.exe" -LINK32_OBJS= \ - "$(INTDIR)/Util7248.obj" \ - "$(INTDIR)/Util7248.res" - -"$(OUTDIR)\util7248.exe" : "$(OUTDIR)" $(DEF_FILE) $(LINK32_OBJS) - $(LINK32) @<< - $(LINK32_FLAGS) $(LINK32_OBJS) -<< - -!ENDIF - -.c{$(CPP_OBJS)}.obj: - $(CPP) $(CPP_PROJ) $< - -.cpp{$(CPP_OBJS)}.obj: - $(CPP) $(CPP_PROJ) $< - -.cxx{$(CPP_OBJS)}.obj: - $(CPP) $(CPP_PROJ) $< - -.c{$(CPP_SBRS)}.sbr: - $(CPP) $(CPP_PROJ) $< - -.cpp{$(CPP_SBRS)}.sbr: - $(CPP) $(CPP_PROJ) $< - -.cxx{$(CPP_SBRS)}.sbr: - $(CPP) $(CPP_PROJ) $< - -################################################################################ -# Begin Target - -# Name "util7248 - Win32 Release" -# Name "util7248 - Win32 Debug" - -!IF "$(CFG)" == "util7248 - Win32 Release" - -!ELSEIF "$(CFG)" == "util7248 - Win32 Debug" - -!ENDIF - -################################################################################ -# Begin Source File - -SOURCE=.\Util7248.rc - -"$(INTDIR)\Util7248.res" : $(SOURCE) "$(INTDIR)" - $(RSC) $(RSC_PROJ) $(SOURCE) - - -# End Source File -################################################################################ -# Begin Source File - -SOURCE=.\Util7248.c -DEP_CPP_UTIL7=\ - ".\..\..\..\include\Dask.h"\ - - -"$(INTDIR)\Util7248.obj" : $(SOURCE) $(DEP_CPP_UTIL7) "$(INTDIR)" - - -# End Source File -# End Target -# End Project -################################################################################ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7248/SDK7248/UTIL7248.MDP b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7248/SDK7248/UTIL7248.MDP deleted file mode 100644 index e68b2e0..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7248/SDK7248/UTIL7248.MDP and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7248/SDK7248/Util7248.c b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7248/SDK7248/Util7248.c deleted file mode 100644 index 904139c..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7248/SDK7248/Util7248.c +++ /dev/null @@ -1,704 +0,0 @@ -/*;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; -;; Copyright (c) 1995-1999, ADLink Technology Inc. All rights reserved. ;; -;; ;; -;; File Name : UTIL7248.C ;; -;; Purpose : This PCI-DASK sample program demonstrate how to ;; -;; operate DI & DO for PCI-7248 ;; -;; Date : 07/20/1999 ;; -;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;*/ - -#include "windows.h" -#include -#include -#include -#include -#include -#include "Dask.h" -#include "resource.h" - -#define IDM_EXIT 110 -#define TIMER 2 - -int PASCAL WinMain(HANDLE, HANDLE, LPSTR, int); -long PASCAL MainWndProc(HWND, UINT, WPARAM, LPARAM); - -HANDLE hInst; -HWND hAddrComboBox; -I16 card=-1, card_number = 0; - -U32 inputA[2], inputB[2], inputC[2] , inputD[2]; -U32 outputA[2],outputB[2],outputC[2] ,outputD[2]; -U32 oldinputA[2], oldinputB[2], oldinputC[2] , oldinputD[2]; -U32 temp_output; - -HBRUSH hLTGreenBrush,hGreenBrush,hBlueBrush,hYellowBrush,hRedBrush; - -int port_a[2]; -int port_b[2]; -int port_c_upper[2]; -int port_c_lower[2]; - - -POINT input_pos[2][8]; -POINT output_pos[2][8]; -POINT io_pos[2][8]; - -BOOL InitApplication(HANDLE); -BOOL InitInstance(HANDLE, int); - -int PASCAL WinMain(hInstance, hPrevInstance, lpCmdLine, nCmdShow) -HANDLE hInstance, hPrevInstance; -LPSTR lpCmdLine; -int nCmdShow; -{ - MSG msg; - - if (!hPrevInstance) - if (!InitApplication(hInstance)) return(FALSE); - if (!InitInstance(hInstance, nCmdShow)) return(FALSE); - while (GetMessage(&msg, NULL, 0, 0)) { - TranslateMessage(&msg); - DispatchMessage(&msg); - } - return(msg.wParam); -} - -BOOL InitApplication(hInstance) -HANDLE hInstance; -{ - WNDCLASS wc; - - /* Main Window Class */ - wc.style = 0; - wc.lpfnWndProc = (WNDPROC)MainWndProc; - wc.cbClsExtra = 0; - wc.cbWndExtra = 0; - wc.hInstance = hInstance; - wc.hIcon = LoadIcon(hInstance, "MyIcon"); - wc.hCursor = LoadCursor(NULL, IDC_ARROW); - wc.hbrBackground = GetStockObject(LTGRAY_BRUSH); - wc.lpszMenuName = NULL; - wc.lpszClassName = "GenericWClass"; - if (!RegisterClass(&wc)) return(FALSE); -} - -BOOL InitInstance(hInstance, nCmdShow) -HANDLE hInstance; -int nCmdShow; -{ - HWND hWnd; - HMENU hSampleMenu; - - hInst = hInstance; - hSampleMenu = LoadMenu(hInstance, "U7120Menu"); - hWnd = CreateWindow("GenericWClass", - (LPCSTR)"PCI-7248", - WS_OVERLAPPEDWINDOW, - CW_USEDEFAULT, - CW_USEDEFAULT, - 640, - 230, - NULL, - hSampleMenu, - hInstance, - NULL); - if (!hWnd) return(FALSE); - ShowWindow(hWnd, nCmdShow); - UpdateWindow(hWnd); - return(TRUE); -} - -BOOL PASCAL setup(HWND hWnd, unsigned message, WPARAM wParam, LPARAM lParam) -{ - int i; - char n[16]; - char s[50]; - switch (message) { - case WM_INITDIALOG: - for (i=0;i<16;i++) { - wsprintf(n, "%d", i); - _strupr(n); - SendMessage(GetDlgItem(hWnd,IDC_COMBO1), CB_ADDSTRING, NULL, (LONG)(LPSTR) n); - } - SendMessage(GetDlgItem(hWnd,IDC_COMBO1) , CB_SETCURSEL, 0, 0L); - - break; - case WM_COMMAND: - switch(LOWORD(wParam)) { - - case IDC_COMBO1: - if (HIWORD(wParam) == CBN_CLOSEUP) { - i = (int)SendMessage(GetDlgItem(hWnd,IDC_COMBO1), CB_GETCURSEL, 0, 0L); - SendMessage(GetDlgItem(hWnd,IDC_COMBO1), CB_GETLBTEXT, i, (LPARAM)((LPCSTR)n)); - card_number = i; - } - return(TRUE); - case IDOK: - if ((card=Register_Card(PCI_7248, card_number)) < 0) { - wsprintf(s, "Register_Card Error = %d\n", card); - MessageBox(hWnd, s, "Error", MB_OK); - } - EndDialog(hWnd, TRUE); - InvalidateRect(hWnd, NULL, FALSE); - return (TRUE); - case IDCANCEL: - EndDialog(hWnd, TRUE); - return (TRUE); - } - break; - } - return (FALSE); -} - -long PASCAL MainWndProc(hWnd, message, wParam, lParam) -HWND hWnd; -UINT message; -WPARAM wParam; -LPARAM lParam; -{ - HDC hDC; - PAINTSTRUCT ps; - int i, k, px, py; - - switch(message) { - case WM_CREATE: - DialogBox(hInst,IDD_DIALOG1, hWnd, setup); - if(card<0) { - SendMessage(hWnd, WM_CLOSE, 0, 0L); - break; - } - hLTGreenBrush = CreateSolidBrush(RGB(0, 255, 0)); - hGreenBrush = CreateSolidBrush(RGB(0, 128, 0)); - hBlueBrush = CreateSolidBrush(RGB(0, 0, 255)); - hRedBrush = CreateSolidBrush(RGB(255, 0, 0)); - - input_pos[0][0].x=180; - input_pos[0][0].y=40; - input_pos[0][1].x=160; - input_pos[0][1].y=40; - input_pos[0][2].x=140; - input_pos[0][2].y=40; - input_pos[0][3].x=120; - input_pos[0][3].y=40; - input_pos[0][4].x=100; - input_pos[0][4].y=40; - input_pos[0][5].x=80; - input_pos[0][5].y=40; - input_pos[0][6].x=60; - input_pos[0][6].y=40; - input_pos[0][7].x=40; - input_pos[0][7].y=40; - - output_pos[0][0].x=480; - output_pos[0][0].y=40; - output_pos[0][1].x=460; - output_pos[0][1].y=40; - output_pos[0][2].x=440; - output_pos[0][2].y=40; - output_pos[0][3].x=420; - output_pos[0][3].y=40; - output_pos[0][4].x=400; - output_pos[0][4].y=40; - output_pos[0][5].x=380; - output_pos[0][5].y=40; - output_pos[0][6].x=360; - output_pos[0][6].y=40; - output_pos[0][7].x=340; - output_pos[0][7].y=40; - - io_pos[0][0].x=590; - io_pos[0][0].y=40; - io_pos[0][1].x=570; - io_pos[0][1].y=40; - io_pos[0][2].x=550; - io_pos[0][2].y=40; - io_pos[0][3].x=530; - io_pos[0][3].y=40; - io_pos[0][4].x=290; - io_pos[0][4].y=40; - io_pos[0][5].x=270; - io_pos[0][5].y=40; - io_pos[0][6].x=250; - io_pos[0][6].y=40; - io_pos[0][7].x=230; - io_pos[0][7].y=40; - - for (k=0;k<8;k++) - { - input_pos[1][k].x =input_pos[0][k].x; - input_pos[1][k].y =input_pos[0][k].y+50; - output_pos[1][k].x =output_pos[0][k].x; - output_pos[1][k].y =output_pos[0][k].y+50; - io_pos[1][k].x =io_pos[0][k].x; - io_pos[1][k].y =io_pos[0][k].y+50; - } - for (i=0;i<2;i++) - { - inputA[i]=0; - outputA[i]=0; - oldinputA[i]=0; - - inputB[i]=0; - outputB[i]=0; - oldinputB[i]=0; - - inputC[i]=0; - outputC[i]=0; - oldinputC[i]=0; - - inputD[i]=0; - outputD[i]=0; - oldinputD[i]=0; - - port_a[i]=0; - //DIO_PortConfig(card,5*i+Channel_P1A, INPUT_PORT); - port_b[i]=0; - //DIO_PortConfig(card,5*i+Channel_P1B, INPUT_PORT); - port_c_upper[i]=0; - //DIO_PortConfig(card,5*i+Channel_P1CL, INPUT_PORT); - port_c_lower[i]=0; - //DIO_PortConfig(card,5*i+Channel_P1CH, INPUT_PORT); - } - - SetTimer(hWnd, TIMER, 50, NULL); - srand((unsigned)time(NULL)); - break; - case WM_PAINT: - hDC = BeginPaint(hWnd, &ps); - - // Label - SetTextColor(hDC,RGB(255,255,255)); - SetBkColor(hDC, RGB(0, 0, 255)); - TextOut(hDC, 5, 40, "CN1", 3); - SetTextColor(hDC,RGB(255,255,255)); - SetBkColor(hDC, RGB(0, 0, 255)); - TextOut(hDC, 5, 80, "CN2", 3); - - // Digital Input Box - for (i=0;i<2;i++ ) - { - if ( port_a[i]==0 ) - SelectObject(hDC, hLTGreenBrush); - else - SelectObject(hDC, hGreenBrush); - Rectangle(hDC, input_pos[i][7].x-5, input_pos[i][7].y-12, input_pos[i][0].x+26, input_pos[i][0].y+30); - SetTextColor(hDC,RGB(0,0,0)); - SelectObject(hDC, hLTGreenBrush); - Rectangle(hDC, input_pos[i][0].x+25, input_pos[i][0].y-12, input_pos[i][0].x+41, input_pos[i][0].y+9); - SetBkColor(hDC, RGB(0, 255, 0)); - TextOut(hDC, input_pos[i][0].x+30, input_pos[i][7].y-11, "I", 1); - SelectObject(hDC, hGreenBrush); - Rectangle(hDC, input_pos[i][0].x+25, input_pos[i][0].y+9, input_pos[i][0].x+41, input_pos[i][0].y+30); - SetBkColor(hDC, RGB(0, 128, 0)); - TextOut(hDC, input_pos[i][0].x+27, input_pos[i][7].y+7, "O", 1); - } - - for (i=0;i<2;i++ ) - { - if ( port_b[i]==0 ) - SelectObject(hDC, hLTGreenBrush); - else - SelectObject(hDC, hGreenBrush); - Rectangle(hDC, output_pos[i][7].x-5, output_pos[i][7].y-12, output_pos[i][0].x+26, output_pos[i][0].y+30); - SelectObject(hDC, hGreenBrush); - SetTextColor(hDC,RGB(0,0,0)); - Rectangle(hDC, output_pos[i][0].x+25, output_pos[i][0].y+9, output_pos[i][0].x+41, output_pos[i][0].y+30); - SetBkColor(hDC, RGB(0, 128, 0)); - TextOut(hDC, output_pos[i][0].x+27, output_pos[i][7].y+9, "O", 1); - SelectObject(hDC, hLTGreenBrush); - Rectangle(hDC, output_pos[i][0].x+25, output_pos[i][0].y-12, output_pos[i][0].x+41, output_pos[i][0].y+9); - SetBkColor(hDC, RGB(0, 255, 0)); - TextOut(hDC, output_pos[i][0].x+30, output_pos[i][7].y-11, "I", 1); - } - for (i=0;i<2;i++ ) - { - if ( port_c_upper[i]==0 ) - SelectObject(hDC, hLTGreenBrush); - else - SelectObject(hDC, hGreenBrush); - Rectangle(hDC, io_pos[i][7].x-5, io_pos[i][7].y-12, io_pos[i][4].x+21, io_pos[i][4].y+30); - SelectObject(hDC, hLTGreenBrush); - Rectangle(hDC, io_pos[i][4].x+25, io_pos[i][4].y-12, io_pos[i][4].x+41, io_pos[i][4].y+9); - SetBkColor(hDC, RGB(0, 255, 0)); - SetTextColor(hDC,RGB(0,0,0)); - TextOut(hDC, io_pos[i][4].x+30, io_pos[i][4].y-11, "I", 1); - SelectObject(hDC, hGreenBrush); - Rectangle(hDC, io_pos[i][4].x+25, io_pos[i][4].y+9, io_pos[i][4].x+41, io_pos[i][4].y+30); - SetBkColor(hDC, RGB(0, 128, 0)); - TextOut(hDC, io_pos[i][4].x+28, io_pos[i][4].y+9, "O", 1); - } - for (i=0;i<2;i++ ) - { - if ( port_c_lower[i]==0 ) - SelectObject(hDC, hLTGreenBrush); - else - SelectObject(hDC, hGreenBrush); - Rectangle(hDC, io_pos[i][3].x-5, io_pos[i][3].y-12, io_pos[i][0].x+21, io_pos[i][0].y+30); - SelectObject(hDC, hLTGreenBrush); - Rectangle(hDC, io_pos[i][0].x+25, io_pos[i][0].y-12, io_pos[i][0].x+41, io_pos[i][0].y+9); - SetBkColor(hDC, RGB(0, 255, 0)); - SetTextColor(hDC,RGB(0,0,0)); - TextOut(hDC, io_pos[i][0].x+30, io_pos[i][7].y-11, "I", 1); - SelectObject(hDC, hGreenBrush); - Rectangle(hDC, io_pos[i][0].x+25, io_pos[i][0].y+9, io_pos[i][0].x+41, io_pos[i][0].y+30); - SetBkColor(hDC, RGB(0, 128, 0)); - TextOut(hDC, io_pos[i][0].x+28, io_pos[i][7].y+9, "O", 1); - } - - SetTextColor(hDC,RGB(255,255,255)); - SetBkColor(hDC, RGB(0, 0, 255)); - TextOut(hDC, input_pos[0][7].x, input_pos[0][7].y-20, "Port A", 6); - TextOut(hDC, output_pos[0][7].x, output_pos[0][7].y-20, "Port B", 6); - TextOut(hDC, io_pos[0][7].x, io_pos[0][7].y-20, "Port C(Upper)", 13); - TextOut(hDC, io_pos[0][3].x, io_pos[0][3].y-20, "Port C(Lower)", 13); - // Channel Label - SetBkMode(hDC,TRANSPARENT); - SetTextColor(hDC,RGB(0,0,0)); - TextOut(hDC, input_pos[0][7].x, input_pos[0][7].y+16, " 7 0", 36); - TextOut(hDC, io_pos[0][7].x, io_pos[0][7].y+16, " 3 0", 16); - TextOut(hDC, io_pos[0][3].x, io_pos[0][3].y+16, " 3 0", 16); - TextOut(hDC, output_pos[0][7].x,output_pos[0][7].y+16," 7 0", 36); - - SetBkMode(hDC,OPAQUE); - - // Detect Channel Input - for (k=0;k<2;k++ ) - { - if ( port_a[k]==0 ) - { - for (i=0; i<8; i++) { - if ((inputA[k]>>i)&0x01) - SelectObject(hDC, hRedBrush); - else - SelectObject(hDC, GetStockObject(WHITE_BRUSH)); - Ellipse(hDC, input_pos[k][i].x, input_pos[k][i].y, input_pos[k][i].x+17, input_pos[k][i].y+17); - } - } - else - { - // Detect Channel Output - for (i=0; i<8; i++) { - if ((outputA[k]>>i)&0x01) - SelectObject(hDC, hRedBrush); - else - SelectObject(hDC, GetStockObject(WHITE_BRUSH)); - Ellipse(hDC, input_pos[k][i].x, input_pos[k][i].y, input_pos[k][i].x+17, input_pos[k][i].y+17); - } - } - - if ( port_b[k]==0 ) - { - for (i=0; i<8; i++) { - if ((inputB[k]>>i)&0x01) - SelectObject(hDC, hRedBrush); - else - SelectObject(hDC, GetStockObject(WHITE_BRUSH)); - Ellipse(hDC, output_pos[k][i].x, output_pos[k][i].y, output_pos[k][i].x+17, output_pos[k][i].y+17); - } - } - else - { - for (i=0; i<8; i++) { - if ((outputB[k]>>i)&0x01) - SelectObject(hDC, hRedBrush); - else - SelectObject(hDC, GetStockObject(WHITE_BRUSH)); - Ellipse(hDC, output_pos[k][i].x, output_pos[k][i].y, output_pos[k][i].x+17, output_pos[k][i].y+17); - } - } - if ( port_c_lower[k]==0) - { - for (i=0; i<4; i++) { - if ((inputC[k]>>i)&0x01) - SelectObject(hDC, hRedBrush); - else - SelectObject(hDC, GetStockObject(WHITE_BRUSH)); - Ellipse(hDC, io_pos[k][i].x, io_pos[k][i].y, io_pos[k][i].x+17, io_pos[k][i].y+17); - } - } - else - { - for (i=0; i<4; i++) { - if ((outputC[k]>>i)&0x01) - SelectObject(hDC, hRedBrush); - else - SelectObject(hDC, GetStockObject(WHITE_BRUSH)); - Ellipse(hDC, io_pos[k][i].x, io_pos[k][i].y, io_pos[k][i].x+17, io_pos[k][i].y+17); - } - } - if ( port_c_upper[k]==0) - { - for (i=0; i<4; i++) { - if ((inputD[k]>>i)&0x01) - SelectObject(hDC, hRedBrush); - else - SelectObject(hDC, GetStockObject(WHITE_BRUSH)); - Ellipse(hDC, io_pos[k][i+4].x, io_pos[k][i+4].y, io_pos[k][i+4].x+17, io_pos[k][i+4].y+17); - } - } - else - { - for (i=0; i<4; i++) { - if ((outputD[k]>>i)&0x01) - SelectObject(hDC, hRedBrush); - else - SelectObject(hDC, GetStockObject(WHITE_BRUSH)); - Ellipse(hDC, io_pos[k][i+4].x, io_pos[k][i+4].y, io_pos[k][i+4].x+17, io_pos[k][i+4].y+17); - } - } - } //k - - EndPaint(hWnd, &ps); - break; - case WM_COMMAND: - switch(LOWORD(wParam)) { - case IDM_EXIT: - SendMessage(hWnd, WM_CLOSE, 0, 0L); - break; - - default: - return(DefWindowProc(hWnd, message, wParam, lParam)); - } - break; - case WM_TIMER: - - /* Digital Input */ - hDC=GetDC(hWnd); - for(k=0;k<2;k++) - { - if ( port_a[k]==0) { - DI_ReadPort(card,5*k+Channel_P1A,&inputA[k]); - for (i=0; i<8; i++) { - if (((inputA[k]>>i)&0x01) != ((oldinputA[k]>>i)&0x01) ) - { - if ((inputA[k]>>i)&0x01) - SelectObject(hDC, hRedBrush); - else - SelectObject(hDC, GetStockObject(WHITE_BRUSH)); - Ellipse(hDC, input_pos[k][i].x, input_pos[k][i].y, input_pos[k][i].x+17, input_pos[k][i].y+17); - } - } - oldinputA[k]=inputA[k]; - } - else { - DO_WritePort(card,5*k+Channel_P1A, outputA[k]); - } - - if ( port_b[k]==0){ - DI_ReadPort(card,5*k+Channel_P1B,&inputB[k]); - for (i=0; i<8; i++) { - if( ((inputB[k]>>i)&0x01) != ((oldinputB[k]>>i)&0x01) ) - { - if ((inputB[k]>>i)&0x01) - SelectObject(hDC, hRedBrush); - else - SelectObject(hDC, GetStockObject(WHITE_BRUSH)); - Ellipse(hDC, output_pos[k][i].x, output_pos[k][i].y, output_pos[k][i].x+17, output_pos[k][i].y+17); - } - } - oldinputB[k]=inputB[k]; - } - else { - DO_WritePort(card,5*k+Channel_P1B,outputB[k]); - } - - if ( port_c_lower[k]==0){ - DI_ReadPort(card,5*k+Channel_P1CL,&inputC[k]); - for (i=0; i<4; i++) { - if( ((inputC[k]>>i)&0x01) != ((oldinputC[k]>>i)&0x01) ) - { - if ((inputC[k]>>i)&0x01) - SelectObject(hDC, hRedBrush); - else - SelectObject(hDC, GetStockObject(WHITE_BRUSH)); - Ellipse(hDC, io_pos[k][i].x, io_pos[k][i].y, io_pos[k][i].x+17, io_pos[k][i].y+17); - } - } //for - oldinputC[k]=inputC[k]; - } //if - else { - DO_WritePort(card,5*k+Channel_P1CL, outputC[k]); - } - if ( port_c_upper[k]==0){ - DI_ReadPort(card,5*k+Channel_P1CH, &inputD[k]); - for (i=0; i<4; i++) { - if( ((inputD[k]>>i)&0x01) != ((oldinputD[k]>>i)&0x01) ) - { - if ((inputD[k]>>i)&0x01) - SelectObject(hDC, hRedBrush); - else - SelectObject(hDC, GetStockObject(WHITE_BRUSH)); - Ellipse(hDC, io_pos[k][i+4].x, io_pos[k][i+4].y, io_pos[k][i+4].x+17, io_pos[k][i+4].y+17); - } - } - oldinputD[k]=inputD[k]; - } - else - { - DO_WritePort(card,5*k+Channel_P1CH,outputD[k]); - } - } //k - ReleaseDC(hWnd, hDC); - break; - case WM_DESTROY: - if (card >= 0) Release_Card(card); - DeleteObject(hRedBrush); - DeleteObject(hGreenBrush); - DeleteObject(hLTGreenBrush); - KillTimer(hWnd, TIMER); - PostQuitMessage(0); - break; - case WM_LBUTTONDOWN: - px = LOWORD(lParam); - py = HIWORD(lParam); - - for (k=0;k<2;k++ ) - { - if (px>(input_pos[k][0].x+25) && px<(input_pos[k][0].x+41)) - { - if (py>(input_pos[k][0].y-12) && py<(input_pos[k][0].y+7)) - { - port_a[k]=0; - DIO_PortConfig(card,5*k+Channel_P1A, INPUT_PORT); - InvalidateRect(hWnd, NULL, FALSE); - } - else - if (py>(input_pos[k][0].y+7) && py<(input_pos[k][0].y+26)) - { - port_a[k]=1; - DIO_PortConfig(card,5*k+Channel_P1A, OUTPUT_PORT); - InvalidateRect(hWnd, NULL, FALSE); - } - } - if (px>(output_pos[k][0].x+25) && px<(output_pos[k][0].x+41)) - { - if (py>(output_pos[k][0].y-12) && py<(output_pos[k][0].y+7)) - { - port_b[k]=0; - DIO_PortConfig(card,5*k+Channel_P1B, INPUT_PORT); - InvalidateRect(hWnd, NULL, FALSE); - } - else - if (py>(output_pos[k][0].y+7) && py<(output_pos[k][0].y+26)) - { - port_b[k]=1; - DIO_PortConfig(card,5*k+Channel_P1B, OUTPUT_PORT); - InvalidateRect(hWnd, NULL, FALSE); - } - } - if (px>(io_pos[k][0].x+25) && px<(io_pos[k][0].x+41)) - { - if (py>(io_pos[k][0].y-12) && py<(io_pos[k][0].y+7)) - { - port_c_lower[k]=0; - DIO_PortConfig(card,5*k+Channel_P1CL, INPUT_PORT); - InvalidateRect(hWnd, NULL, FALSE); - } - else - if (py>(io_pos[k][0].y+7) && py<(io_pos[k][0].y+26)) - { - port_c_lower[k]=1; - DIO_PortConfig(card,5*k+Channel_P1CL, OUTPUT_PORT); - InvalidateRect(hWnd, NULL, FALSE); - } - } - if (px>(io_pos[k][4].x+25) && px<(io_pos[k][4].x+41)) - { - if (py>(io_pos[k][4].y-12) && py<(io_pos[k][4].y+7)) - { - port_c_upper[k]=0; - DIO_PortConfig(card,5*k+Channel_P1CH, INPUT_PORT); - InvalidateRect(hWnd, NULL, FALSE); - } - else - if (py>(io_pos[k][4].y+7) && py<(io_pos[k][4].y+26)) - { - port_c_upper[k]=1; - DIO_PortConfig(card,5*k+Channel_P1CH, OUTPUT_PORT); - InvalidateRect(hWnd, NULL, FALSE); - } - } - }//k - hDC = GetDC(hWnd); - for (k=0;k<2;k++) - { - if ( port_a[k]==1 ){ - for (i=0; i<8; i++) { - if (px>input_pos[k][i].x && pxinput_pos[k][i].y && py>i)&0x01) { - outputA[k] -= (((unsigned char)1)<output_pos[k][i].x && pxoutput_pos[k][i].y && py>i)&0x01) { - outputB[k] -= (((unsigned char)1)<io_pos[k][i].x && pxio_pos[k][i].y && py>i)&0x01) { - outputC[k] -= (((unsigned char)1)<io_pos[k][i+4].x && pxio_pos[k][i+4].y && py>i)&0x01) { - outputD[k] -= (((unsigned char)1)< - #include - #include - #include - #include "Dask.h" - #include "resource.h" - - #define IDM_SETUP 101 - #define IDD_DIALOG1 101 - #define IDM_EXIT 110 - #define IDM_GO 300 - #define IDM_CLEAR 305 - #define IDC_COMBO1 1004 - #define IDC_EDIT1 1007 - #define IDC_EDIT2 1008 - - - HANDLE hInst; /* current instance */ - HANDLE hIntEvent[2]; - HWND hMainWnd; - long hThread = -1; - - I16 card=-1, card_number = 0; - U16 int_count = 0; - int total_count =40; - int sample_rate=20000; - unsigned int buffer[32768], in_buffer[32768]; - char Buf[80]; - int c1=10,c2=10; - - int PASCAL WinMain(HANDLE, HANDLE, LPSTR, int); - BOOL InitApplication(HANDLE); - BOOL InitInstance(HANDLE, int); - long PASCAL MainWndProc(HWND, unsigned, WPARAM, LPARAM); - BOOL PASCAL About(HWND, unsigned, WPARAM, LPARAM); - BOOL PASCAL ShowDMA(HWND, unsigned, WPARAM, LPARAM); - - void -IntThread(void* pArg) -{ - while (1) { - if (WaitForSingleObject(hIntEvent[0], INFINITE) == WAIT_OBJECT_0) { - int_count++; - ResetEvent(hIntEvent[0]); - InvalidateRect(hMainWnd, NULL, FALSE); - } - } - _endthread(); -} - - /********************************************************************** - - FUNCTION: WinMain(HANDLE, HANDLE, LPSTR, int) - PURPOSE: calls initialization function, processes message loop - - ***********************************************************************/ - - int PASCAL WinMain(hInstance, hPrevInstance, lpCmdLine, nCmdShow) - - HANDLE hInstance; - HANDLE hPrevInstance; - LPSTR lpCmdLine; - int nCmdShow; - - { - MSG msg; - - if(!hPrevInstance) - if(!InitApplication(hInstance)) - return(FALSE); - - if(!InitInstance(hInstance, nCmdShow)) - return(FALSE); - - while ( GetMessage(&msg, NULL, NULL, NULL)) - { - TranslateMessage(&msg); - DispatchMessage(&msg); - } - return(msg.wParam); - } - -/**************************************************************************** - - FUNCTION: InitApplication(HANDLE) - - PURPOSE: Initializes window data and registers window class - -****************************************************************************/ - -BOOL InitApplication(hInstance) -HANDLE hInstance; -{ - WNDCLASS wc; - - wc.style = NULL; - wc.lpfnWndProc = MainWndProc; - wc.cbClsExtra = 0; - wc.cbWndExtra = 0; - wc.hInstance = hInstance; - wc.hIcon = LoadIcon(NULL, IDI_APPLICATION); - wc.hCursor = LoadCursor(hInstance, IDC_ARROW); - wc.hbrBackground = GetStockObject(WHITE_BRUSH); - wc.lpszMenuName = "IntMenu"; - wc.lpszClassName = "IntClass"; - - return (RegisterClass(&wc)); -} - -/**************************************************************************** - - FUNCTION: InitInstance(HANDLE, int) - - PURPOSE: Saves instance handle and creates main window - -****************************************************************************/ - -BOOL InitInstance(hInstance, nCmdShow) -HANDLE hInstance; -int nCmdShow; -{ - HWND hWnd; - - hInst = hInstance; - hWnd = CreateWindow("IntClass", - "PCI-7248 Dual Interrupt Sample", - WS_OVERLAPPEDWINDOW, - 200, - 100, - 400, - 370, - NULL, - NULL, - hInstance, - NULL); - - if (!hWnd) return (FALSE); - ShowWindow(hWnd, nCmdShow); - UpdateWindow(hWnd); - return (TRUE); -} - -BOOL PASCAL setup(HWND hWnd, unsigned message, WPARAM wParam, LPARAM lParam) -{ - int i,k=0; - char n[16]; - char s[50]; - BOOL ok; - - switch (message) { - case WM_INITDIALOG: - for (i=0;i<16;i++) { - wsprintf(n, "%d", i); - _strupr(n); - SendMessage(GetDlgItem(hWnd,IDC_COMBO1), CB_ADDSTRING, NULL, (LONG)(LPSTR) n); - } - SendMessage(GetDlgItem(hWnd,IDC_COMBO1) , CB_SETCURSEL, 0, 0L); - if(card >=0) - EnableWindow(GetDlgItem(hWnd,IDC_COMBO1), FALSE); - SendMessage(GetDlgItem(hWnd,IDC_EDIT2) , WM_SETTEXT, 0, "10000"); - SendMessage(GetDlgItem(hWnd,IDC_EDIT1) , WM_SETTEXT, 0, "40"); - - break; - case WM_COMMAND: - switch(LOWORD(wParam)) { - case IDC_COMBO1: - if (HIWORD(wParam) == CBN_CLOSEUP) { - i = (int)SendMessage(GetDlgItem(hWnd,IDC_COMBO1), CB_GETCURSEL, 0, 0L); - SendMessage(GetDlgItem(hWnd,IDC_COMBO1), CB_GETLBTEXT, i, (LPARAM)((LPCSTR)n)); - card_number = i; - } - return(TRUE); - case IDOK: - if(card < 0) { - if ((card=Register_Card(PCI_7248, card_number))< 0) { - wsprintf(s, "Register_Card Error = %d\n", card); - MessageBox(hWnd, s, "Error", MB_OK); - EndDialog(hWnd, TRUE); - break; - } - DIO_PortConfig(card,Channel_P1A, INPUT_PORT); - DIO_PortConfig(card,Channel_P2A, OUTPUT_PORT); - DIO_PortConfig(card,Channel_P1C, INPUT_PORT); - DIO_PortConfig(card,Channel_P2C, OUTPUT_PORT); - DIO_SetDualInterrupt(card, INT1_FP1C0, INT2_TIMER_COUNTER, hIntEvent); - } - total_count = GetDlgItemInt(hWnd,IDC_EDIT1, &ok, FALSE); - if(total_count > 32768) { - MessageBox(hWnd,"Count can be assigned at most 32768", "INT", MB_OK); - break; - } - for (i=0;i255) k=0; - } - for (i=0;i 15000 ) sample_rate=15000; - c2=2000000/(sample_rate*c1); - hMainWnd = hWnd; - if(hThread<0) - hThread = _beginthread(IntThread, 0, 0); - EndDialog(hWnd, TRUE); - return (TRUE); - case IDCANCEL: - EndDialog(hWnd, TRUE); - return (TRUE); - } - break; - } - return (FALSE); -} - -/**************************************************************************** - - FUNCTION: MainWndProc(HWND, UINT, WPARAM, LPARAM) - - PURPOSE: Processes messages - - -****************************************************************************/ - -long PASCAL MainWndProc(hWnd, message, wParam, lParam) -HWND hWnd; -unsigned message; -WPARAM wParam; -LPARAM lParam; -{ - int i, k; - int cur_count=0; - HDC hDC, hDC1; - PAINTSTRUCT ps; - FARPROC lpProc; - char s[50]; - - switch(message) { - case WM_CREATE: - break; - case WM_PAINT: - hDC1=BeginPaint(hWnd, &ps); - wsprintf(Buf,"This program demostrates how to use dual interrupt line."); - TextOut(hDC1,20,10,Buf,strlen(Buf)); - wsprintf(Buf,"The IRQ source of INT1 is P1C0."); - TextOut(hDC1,20,30,Buf,strlen(Buf)); - wsprintf(Buf," The IRQ source of INT2 is internal Timer Output"); - TextOut(hDC1,20,50,Buf,strlen(Buf)); - SetTextColor(hDC1, RGB(255,0,0)); - wsprintf(Buf,"Using cable to connect CN1 and CN2"); - TextOut(hDC1,20,70,Buf,strlen(Buf)); - wsprintf(Buf,"Push 'Setup' button first ..."); - TextOut(hDC1,20,90,Buf,strlen(Buf)); - EndPaint(hWnd, &ps); - break; - case WM_COMMAND: - switch(wParam) { - case IDM_SETUP: - lpProc = MakeProcInstance(setup, hInst); - DialogBox(hInst,IDD_DIALOG1,hWnd,lpProc); - FreeProcInstance(lpProc); - if(card<0) - SendMessage(hWnd, WM_CLOSE, 0, 0L); - break; - - case IDM_GO: - // Interrupt Trigger - hDC=GetDC(hWnd); - CTR_Setup (card, 1, 2, c1, BIN); - CTR_Setup (card, 2, 2, c2, BIN); - k=0; i=0;int_count=0; - while (k=10 && i<20) { - wsprintf(Buf,"%d, ",in_buffer[i]); - TextOut(hDC,20+25*(i-10),220,Buf,strlen(Buf)); - } - if(i>=20 && i<30) { - wsprintf(Buf,"%d, ",in_buffer[i]); - TextOut(hDC,20+25*(i-20),245,Buf,strlen(Buf)); - } - if (i>=30 && i<40) { - wsprintf(Buf,"%d, ",in_buffer[i]); - TextOut(hDC,20+25*(i-30),270,Buf,strlen(Buf)); - } - if (i>=40 && i<50) { - wsprintf(Buf,"%d, ",in_buffer[i]); - TextOut(hDC,20+25*(i-40),295,Buf,strlen(Buf)); - } - } - ReleaseDC(hWnd, hDC); - break; - - case IDM_CLEAR : - if(card >=0) { - DIO_SetDualInterrupt(card, INT1_DISABLE, INT2_DISABLE, hIntEvent); - for (i=0; i<2; i++) { - if(hIntEvent[i]) - ResetEvent(hIntEvent[i]); - } - } - PostQuitMessage(0); - break; - } - break; - - case WM_DESTROY: - if (card >= 0) Release_Card(card); - PostQuitMessage(0); - break; - - default: - return (DefWindowProc(hWnd, message, wParam, lParam)); - } - return(0L); -} - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7248/SDK7248DbEvt/7248INT.RC b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7248/SDK7248DbEvt/7248INT.RC deleted file mode 100644 index cc3ca51..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7248/SDK7248DbEvt/7248INT.RC +++ /dev/null @@ -1,121 +0,0 @@ -//Microsoft Developer Studio generated resource script. -// -#include "resource.h" - -#define APSTUDIO_READONLY_SYMBOLS -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 2 resource. -// -#define APSTUDIO_HIDDEN_SYMBOLS -#include "windows.h" -#undef APSTUDIO_HIDDEN_SYMBOLS - -///////////////////////////////////////////////////////////////////////////// -#undef APSTUDIO_READONLY_SYMBOLS - -///////////////////////////////////////////////////////////////////////////// -// English (U.S.) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -#ifdef _WIN32 -LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US -#pragma code_page(1252) -#endif //_WIN32 - -#ifdef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// TEXTINCLUDE -// - -1 TEXTINCLUDE DISCARDABLE -BEGIN - "resource.h\0" -END - -2 TEXTINCLUDE DISCARDABLE -BEGIN - "#define APSTUDIO_HIDDEN_SYMBOLS\r\n" - "#include ""windows.h""\r\n" - "#undef APSTUDIO_HIDDEN_SYMBOLS\r\n" - "\0" -END - -3 TEXTINCLUDE DISCARDABLE -BEGIN - "\r\n" - "\0" -END - -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// Menu -// - -INTMENU MENU DISCARDABLE -BEGIN - MENUITEM "Setup", IDM_SETUP - MENUITEM "Interrupt Trigger", IDM_GO - MENUITEM "Exit", IDM_CLEAR -END - - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog -// - -IDD_DIALOG1 DIALOG DISCARDABLE 0, 0, 146, 110 -STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "Setup Dialog" -FONT 10, "System" -BEGIN - DEFPUSHBUTTON "OK",IDOK,10,89,50,14 - PUSHBUTTON "Cancel",IDCANCEL,76,89,50,14 - LTEXT "Total Count",IDC_STATIC,10,36,41,12 - LTEXT "Sampling Rate",IDC_STATIC,10,61,51,12 - EDITTEXT IDC_EDIT1,63,33,69,15,ES_AUTOHSCROLL - EDITTEXT IDC_EDIT2,64,58,68,15,ES_AUTOHSCROLL - LTEXT "Card Number",IDC_STATIC,10,12,45,13 - COMBOBOX IDC_COMBO1,63,12,69,84,CBS_DROPDOWN | WS_VSCROLL | - WS_TABSTOP -END - - -///////////////////////////////////////////////////////////////////////////// -// -// DESIGNINFO -// - -#ifdef APSTUDIO_INVOKED -GUIDELINES DESIGNINFO DISCARDABLE -BEGIN - IDD_DIALOG1, DIALOG - BEGIN - LEFTMARGIN, 10 - RIGHTMARGIN, 132 - TOPMARGIN, 12 - BOTTOMMARGIN, 103 - END -END -#endif // APSTUDIO_INVOKED - -#endif // English (U.S.) resources -///////////////////////////////////////////////////////////////////////////// - - - -#ifndef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 3 resource. -// - - -///////////////////////////////////////////////////////////////////////////// -#endif // not APSTUDIO_INVOKED - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7248/SDK7248DbEvt/Resource.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7248/SDK7248DbEvt/Resource.h deleted file mode 100644 index 6b0eb15..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7248/SDK7248DbEvt/Resource.h +++ /dev/null @@ -1,26 +0,0 @@ -//{{NO_DEPENDENCIES}} -// Microsoft Developer Studio generated include file. -// Used by 7248int.rc -// -#define IDM_SETUP 101 -#define IDD_DIALOG1 101 -#define IDM_EXIT 110 -#define IDM_GO 300 -#define ID_STOP 304 -#define IDM_CLEAR 305 -#define IDC_COMBO1 1004 -#define IDC_COMBO2 1005 -#define IDC_EDIT1 1007 -#define IDC_EDIT2 1008 -#define IDC_STATIC -1 - -// Next default values for new objects -// -#ifdef APSTUDIO_INVOKED -#ifndef APSTUDIO_READONLY_SYMBOLS -#define _APS_NEXT_RESOURCE_VALUE 102 -#define _APS_NEXT_COMMAND_VALUE 102 -#define _APS_NEXT_CONTROL_VALUE 1008 -#define _APS_NEXT_SYMED_VALUE 101 -#endif -#endif diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7248/SDK7248DbEvt/SDK7248Int.exe b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7248/SDK7248DbEvt/SDK7248Int.exe deleted file mode 100644 index 9bae3cf..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7248/SDK7248DbEvt/SDK7248Int.exe and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7248/SDK7248DbEvt/SDK7248Int.mak b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7248/SDK7248DbEvt/SDK7248Int.mak deleted file mode 100644 index eff8e2c..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7248/SDK7248DbEvt/SDK7248Int.mak +++ /dev/null @@ -1,219 +0,0 @@ -# Microsoft Developer Studio Generated NMAKE File, Format Version 4.00 -# ** DO NOT EDIT ** - -# TARGTYPE "Win32 (x86) Application" 0x0101 - -!IF "$(CFG)" == "" -CFG=SDK7248Int - Win32 Debug -!MESSAGE No configuration specified. Defaulting to SDK7248Int - Win32 Debug. -!ENDIF - -!IF "$(CFG)" != "SDK7248Int - Win32 Release" && "$(CFG)" !=\ - "SDK7248Int - Win32 Debug" -!MESSAGE Invalid configuration "$(CFG)" specified. -!MESSAGE You can specify a configuration when running NMAKE on this makefile -!MESSAGE by defining the macro CFG on the command line. For example: -!MESSAGE -!MESSAGE NMAKE /f "SDK7248Int.mak" CFG="SDK7248Int - Win32 Debug" -!MESSAGE -!MESSAGE Possible choices for configuration are: -!MESSAGE -!MESSAGE "SDK7248Int - Win32 Release" (based on "Win32 (x86) Application") -!MESSAGE "SDK7248Int - Win32 Debug" (based on "Win32 (x86) Application") -!MESSAGE -!ERROR An invalid configuration is specified. -!ENDIF - -!IF "$(OS)" == "Windows_NT" -NULL= -!ELSE -NULL=nul -!ENDIF -################################################################################ -# Begin Project -# PROP Target_Last_Scanned "SDK7248Int - Win32 Debug" -MTL=mktyplib.exe -RSC=rc.exe -CPP=cl.exe - -!IF "$(CFG)" == "SDK7248Int - Win32 Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "Release" -# PROP BASE Intermediate_Dir "Release" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "" -# PROP Intermediate_Dir "Release" -# PROP Target_Dir "" -OUTDIR=. -INTDIR=.\Release - -ALL : "$(OUTDIR)\SDK7248Int.exe" - -CLEAN : - -@erase ".\SDK7248Int.exe" - -@erase ".\Release\7248int.obj" - -@erase ".\Release\7248int.res" - -"$(INTDIR)" : - if not exist "$(INTDIR)/$(NULL)" mkdir "$(INTDIR)" - -# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /YX /c -# ADD CPP /nologo /MT /W3 /GX /Od /I "..\..\..\include" /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /c -# SUBTRACT CPP /YX -CPP_PROJ=/nologo /MT /W3 /GX /Od /I "..\..\..\include" /D "WIN32" /D "NDEBUG"\ - /D "_WINDOWS" /Fo"$(INTDIR)/" /c -CPP_OBJS=.\Release/ -CPP_SBRS= -# ADD BASE MTL /nologo /D "NDEBUG" /win32 -# ADD MTL /nologo /D "NDEBUG" /win32 -MTL_PROJ=/nologo /D "NDEBUG" /win32 -# ADD BASE RSC /l 0x409 /d "NDEBUG" -# ADD RSC /l 0x409 /d "NDEBUG" -RSC_PROJ=/l 0x409 /fo"$(INTDIR)/7248int.res" /d "NDEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -BSC32_FLAGS=/nologo /o"$(OUTDIR)/SDK7248Int.bsc" -BSC32_SBRS= -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:windows /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ..\..\..\lib\pci-dask.lib /nologo /subsystem:windows /machine:I386 -LINK32_FLAGS=kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib\ - advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib\ - odbccp32.lib ..\..\..\lib\pci-dask.lib /nologo /subsystem:windows\ - /incremental:no /pdb:"$(OUTDIR)/SDK7248Int.pdb" /machine:I386\ - /out:"$(OUTDIR)/SDK7248Int.exe" -LINK32_OBJS= \ - ".\Release\7248int.obj" \ - ".\Release\7248int.res" - -"$(OUTDIR)\SDK7248Int.exe" : "$(OUTDIR)" $(DEF_FILE) $(LINK32_OBJS) - $(LINK32) @<< - $(LINK32_FLAGS) $(LINK32_OBJS) -<< - -!ELSEIF "$(CFG)" == "SDK7248Int - Win32 Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "SDK7248I" -# PROP BASE Intermediate_Dir "SDK7248I" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "" -# PROP Intermediate_Dir "Debug" -# PROP Target_Dir "" -OUTDIR=. -INTDIR=.\Debug - -ALL : "$(OUTDIR)\SDK7248Int.exe" - -CLEAN : - -@erase ".\Debug\vc40.pdb" - -@erase ".\Debug\vc40.idb" - -@erase ".\SDK7248Int.exe" - -@erase ".\Debug\7248int.obj" - -@erase ".\Debug\7248int.res" - -@erase ".\SDK7248Int.ilk" - -@erase ".\SDK7248Int.pdb" - -"$(INTDIR)" : - if not exist "$(INTDIR)/$(NULL)" mkdir "$(INTDIR)" - -# ADD BASE CPP /nologo /W3 /Gm /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /YX /c -# ADD CPP /nologo /MTd /W3 /Gm /GX /Zi /Od /I "..\..\..\include" /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /c -# SUBTRACT CPP /YX -CPP_PROJ=/nologo /MTd /W3 /Gm /GX /Zi /Od /I "..\..\..\include" /D "WIN32" /D\ - "_DEBUG" /D "_WINDOWS" /Fo"$(INTDIR)/" /Fd"$(INTDIR)/" /c -CPP_OBJS=.\Debug/ -CPP_SBRS= -# ADD BASE MTL /nologo /D "_DEBUG" /win32 -# ADD MTL /nologo /D "_DEBUG" /win32 -MTL_PROJ=/nologo /D "_DEBUG" /win32 -# ADD BASE RSC /l 0x409 /d "_DEBUG" -# ADD RSC /l 0x409 /d "_DEBUG" -RSC_PROJ=/l 0x409 /fo"$(INTDIR)/7248int.res" /d "_DEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -BSC32_FLAGS=/nologo /o"$(OUTDIR)/SDK7248Int.bsc" -BSC32_SBRS= -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:windows /debug /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ..\..\..\lib\pci-dask.lib /nologo /subsystem:windows /debug /machine:I386 -LINK32_FLAGS=kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib\ - advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib\ - odbccp32.lib ..\..\..\lib\pci-dask.lib /nologo /subsystem:windows\ - /incremental:yes /pdb:"$(OUTDIR)/SDK7248Int.pdb" /debug /machine:I386\ - /out:"$(OUTDIR)/SDK7248Int.exe" -LINK32_OBJS= \ - ".\Debug\7248int.obj" \ - ".\Debug\7248int.res" - -"$(OUTDIR)\SDK7248Int.exe" : "$(OUTDIR)" $(DEF_FILE) $(LINK32_OBJS) - $(LINK32) @<< - $(LINK32_FLAGS) $(LINK32_OBJS) -<< - -!ENDIF - -.c{$(CPP_OBJS)}.obj: - $(CPP) $(CPP_PROJ) $< - -.cpp{$(CPP_OBJS)}.obj: - $(CPP) $(CPP_PROJ) $< - -.cxx{$(CPP_OBJS)}.obj: - $(CPP) $(CPP_PROJ) $< - -.c{$(CPP_SBRS)}.sbr: - $(CPP) $(CPP_PROJ) $< - -.cpp{$(CPP_SBRS)}.sbr: - $(CPP) $(CPP_PROJ) $< - -.cxx{$(CPP_SBRS)}.sbr: - $(CPP) $(CPP_PROJ) $< - -################################################################################ -# Begin Target - -# Name "SDK7248Int - Win32 Release" -# Name "SDK7248Int - Win32 Debug" - -!IF "$(CFG)" == "SDK7248Int - Win32 Release" - -!ELSEIF "$(CFG)" == "SDK7248Int - Win32 Debug" - -!ENDIF - -################################################################################ -# Begin Source File - -SOURCE=.\7248int.rc - -"$(INTDIR)\7248int.res" : $(SOURCE) "$(INTDIR)" - $(RSC) $(RSC_PROJ) $(SOURCE) - - -# End Source File -################################################################################ -# Begin Source File - -SOURCE=.\7248int.c -DEP_CPP_7248I=\ - ".\..\..\..\include\Dask.h"\ - - -"$(INTDIR)\7248int.obj" : $(SOURCE) $(DEP_CPP_7248I) "$(INTDIR)" - - -# End Source File -# End Target -# End Project -################################################################################ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7248/SDK7248DbEvt/SDK7248Int.mdp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7248/SDK7248DbEvt/SDK7248Int.mdp deleted file mode 100644 index 541b677..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7248/SDK7248DbEvt/SDK7248Int.mdp and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7248/SDK7248DbEvtMsg/7248INT.C b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7248/SDK7248DbEvtMsg/7248INT.C deleted file mode 100644 index ef1f49b..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7248/SDK7248DbEvtMsg/7248INT.C +++ /dev/null @@ -1,345 +0,0 @@ -/*;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; -;; Copyright (c) 1995-1999, ADLink Technology Inc. All rights reserved. ;; -;; ;; -;; File Name : 7248INT.C ;; -;; Purpose : This sample program demonstrates how to DIO through;; -;; interrupt operation ;; -;; Date : 07/07/1999 ;; -;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;*/ - - #include - #include - #include - #include - #include "Dask.h" - #include "resource.h" - - #define IDM_SETUP 101 - #define IDD_DIALOG1 101 - #define IDM_EXIT 110 - #define IDM_GO 300 - #define IDM_CLEAR 305 - #define IDC_COMBO1 1004 - #define IDC_EDIT1 1007 - #define IDC_EDIT2 1008 - #define WM_INT 2000 - - HANDLE hInst; /* current instance */ - HWND hMainWnd; - I16 card=-1, card_number = 0; - int total_count =40; - int sample_rate=20000; - unsigned int buffer[32768], in_buffer[32768]; - char Buf[80]; - int c1=20,c2=20; - int int_count[2] ={0, 0}; - - int PASCAL WinMain(HANDLE, HANDLE, LPSTR, int); - BOOL InitApplication(HANDLE); - BOOL InitInstance(HANDLE, int); - long PASCAL MainWndProc(HWND, unsigned, WPARAM, LPARAM); - BOOL PASCAL About(HWND, unsigned, WPARAM, LPARAM); - BOOL PASCAL ShowDMA(HWND, unsigned, WPARAM, LPARAM); - LRESULT CALLBACK cbfn(); - void mesgfn(); - /********************************************************************** - - FUNCTION: WinMain(HANDLE, HANDLE, LPSTR, int) - PURPOSE: calls initialization function, processes message loop - - ***********************************************************************/ - - int PASCAL WinMain(hInstance, hPrevInstance, lpCmdLine, nCmdShow) - - HANDLE hInstance; - HANDLE hPrevInstance; - LPSTR lpCmdLine; - int nCmdShow; - - { - MSG msg; - - if(!hPrevInstance) - if(!InitApplication(hInstance)) - return(FALSE); - - if(!InitInstance(hInstance, nCmdShow)) - return(FALSE); - - while ( GetMessage(&msg, NULL, NULL, NULL)) - { - TranslateMessage(&msg); - DispatchMessage(&msg); - } - return(msg.wParam); - } - -/**************************************************************************** - - FUNCTION: InitApplication(HANDLE) - - PURPOSE: Initializes window data and registers window class - -****************************************************************************/ - -BOOL InitApplication(hInstance) -HANDLE hInstance; -{ - WNDCLASS wc; - - wc.style = NULL; - wc.lpfnWndProc = MainWndProc; - wc.cbClsExtra = 0; - wc.cbWndExtra = 0; - wc.hInstance = hInstance; - wc.hIcon = LoadIcon(NULL, IDI_APPLICATION); - wc.hCursor = LoadCursor(hInstance, IDC_ARROW); - wc.hbrBackground = GetStockObject(WHITE_BRUSH); - wc.lpszMenuName = "IntMenu"; - wc.lpszClassName = "IntClass"; - - return (RegisterClass(&wc)); -} - -/**************************************************************************** - - FUNCTION: InitInstance(HANDLE, int) - - PURPOSE: Saves instance handle and creates main window - -****************************************************************************/ - -BOOL InitInstance(hInstance, nCmdShow) -HANDLE hInstance; -int nCmdShow; -{ - HWND hWnd; - - hInst = hInstance; - hWnd = CreateWindow("IntClass", - "PCI-7248 Interrupt Samples", - WS_OVERLAPPEDWINDOW, - 200, - 100, - 375, - 370, - NULL, - NULL, - hInstance, - NULL); - - if (!hWnd) return (FALSE); - ShowWindow(hWnd, nCmdShow); - UpdateWindow(hWnd); - return (TRUE); -} - - -BOOL PASCAL setup(HWND hWnd, unsigned message, WPARAM wParam, LPARAM lParam) -{ - int i,k=0; - char n[16]; - char s[50]; - BOOL ok; - - switch (message) { - case WM_INITDIALOG: - for (i=0;i<16;i++) { - wsprintf(n, "%d", i); - _strupr(n); - SendMessage(GetDlgItem(hWnd,IDC_COMBO1), CB_ADDSTRING, NULL, (LONG)(LPSTR) n); - } - SendMessage(GetDlgItem(hWnd,IDC_COMBO1) , CB_SETCURSEL, 0, 0L); - if(card >=0) - EnableWindow(GetDlgItem(hWnd,IDC_COMBO1), FALSE); - SendMessage(GetDlgItem(hWnd,IDC_EDIT2) , WM_SETTEXT, 0, "5000"); - SendMessage(GetDlgItem(hWnd,IDC_EDIT1) , WM_SETTEXT, 0, "40"); - - break; - case WM_COMMAND: - switch(LOWORD(wParam)) { - case IDC_COMBO1: - if (HIWORD(wParam) == CBN_CLOSEUP) { - i = (int)SendMessage(GetDlgItem(hWnd,IDC_COMBO1), CB_GETCURSEL, 0, 0L); - SendMessage(GetDlgItem(hWnd,IDC_COMBO1), CB_GETLBTEXT, i, (LPARAM)((LPCSTR)n)); - card_number = i; - } - return(TRUE); - case IDOK: - if (card < 0) { - if ((card=Register_Card(PCI_7248, card_number))< 0) { - wsprintf(s, "Register_Card Error = %d\n", card); - MessageBox(hWnd, s, "Error", MB_OK); - } - } - total_count = GetDlgItemInt(hWnd,IDC_EDIT1, &ok, FALSE); - if (total_count > 32768) { - MessageBox(hWnd,"Count can be assigned at most 32768", "INT", MB_OK); - break; - } - for (i=0;i255) k=0; - } - for (i=0;i 15000 ) sample_rate=15000; - c2=2000000/(sample_rate*c1); - - EndDialog(hWnd, TRUE); - return (TRUE); - case IDCANCEL: - EndDialog(hWnd, TRUE); - return (TRUE); - } - break; - } - return (FALSE); -} - -/**************************************************************************** - - FUNCTION: MainWndProc(HWND, UINT, WPARAM, LPARAM) - - PURPOSE: Processes messages - - -****************************************************************************/ - -long PASCAL MainWndProc(hWnd, message, wParam, lParam) -HWND hWnd; -unsigned message; -WPARAM wParam; -LPARAM lParam; -{ - HDC hDC1; - PAINTSTRUCT ps; - FARPROC lpProc; - - hMainWnd = hWnd; - switch(message) { - - case WM_CREATE: - break; - case WM_PAINT: - hDC1=BeginPaint(hWnd, &ps); - wsprintf(Buf,"This program demostrates how to use dual interrupt line."); - TextOut(hDC1,20,10,Buf,strlen(Buf)); - wsprintf(Buf,"The IRQ source of INT1 is P1C0."); - TextOut(hDC1,20,30,Buf,strlen(Buf)); - wsprintf(Buf," The IRQ source of INT2 is internal Timer Output"); - TextOut(hDC1,20,50,Buf,strlen(Buf)); - SetTextColor(hDC1, RGB(255,0,0)); - wsprintf(Buf,"Using cable to connect CN1 and CN2"); - TextOut(hDC1,20,70,Buf,strlen(Buf)); - wsprintf(Buf,"Push 'Setup' button first ..."); - TextOut(hDC1,20,90,Buf,strlen(Buf)); - EndPaint(hWnd, &ps); - break; - case WM_COMMAND: - switch(wParam) { - case IDM_SETUP: - lpProc = MakeProcInstance(setup, hInst); - DialogBox(hInst,IDD_DIALOG1,hWnd,lpProc); - FreeProcInstance(lpProc); - if(card <0) - SendMessage(hWnd, WM_CLOSE, 0, 0L); - break; - - case IDM_GO: - // Interrupt Trigger - int_count[0]=0; - int_count[1]=0; - DIO_PortConfig(card,Channel_P1A, INPUT_PORT); - DIO_PortConfig(card,Channel_P2A, OUTPUT_PORT); - DIO_PortConfig(card,Channel_P1C, INPUT_PORT); - DIO_PortConfig(card,Channel_P2C, OUTPUT_PORT); - - DIO_INT1_EventMessage (card, INT1_FP1C0, hWnd, NULL, (void *) cbfn); - DIO_INT2_EventMessage (card, INT2_TIMER_COUNTER, hWnd, WM_INT, NULL); - - CTR_Setup (card, 1, 2, c1, BIN); - CTR_Setup (card, 2, 2, c2, BIN); - break; - - case IDM_CLEAR : - PostQuitMessage(0); - break; - } - break; - case WM_INT: - mesgfn(); - break; - case WM_DESTROY: - if (card >= 0) Release_Card(card); - PostQuitMessage(0); - break; - - default: - return (DefWindowProc(hWnd, message, wParam, lParam)); - } - return(0L); -} - -void mesgfn() -{ - HDC hDC; - int i; - - hDC=GetDC(hMainWnd); - if(int_count[1]=10 && i<20) { - wsprintf(Buf,"%d, ",in_buffer[i]); - TextOut(hDC,20+25*(i-10),220,Buf,strlen(Buf)); - } - if(i>=20 && i<30) { - wsprintf(Buf,"%d, ",in_buffer[i]); - TextOut(hDC,20+25*(i-20),245,Buf,strlen(Buf)); - } - if (i>=30 && i<40) { - wsprintf(Buf,"%d, ",in_buffer[i]); - TextOut(hDC,20+25*(i-30),270,Buf,strlen(Buf)); - } - if (i>=40 && i<50) { - wsprintf(Buf,"%d, ",in_buffer[i]); - TextOut(hDC,20+25*(i-40),295,Buf,strlen(Buf)); - } - } - ReleaseDC(hMainWnd, hDC); - } -} - -LRESULT CALLBACK cbfn() -{ - int_count[0]++; -} - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7248/SDK7248DbEvtMsg/7248INT.RC b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7248/SDK7248DbEvtMsg/7248INT.RC deleted file mode 100644 index b2a9778..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7248/SDK7248DbEvtMsg/7248INT.RC +++ /dev/null @@ -1,124 +0,0 @@ -//Microsoft Developer Studio generated resource script. -// -#include "resource.h" - -#define APSTUDIO_READONLY_SYMBOLS -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 2 resource. -// -#define APSTUDIO_HIDDEN_SYMBOLS -#include "windows.h" -#undef APSTUDIO_HIDDEN_SYMBOLS - -///////////////////////////////////////////////////////////////////////////// -#undef APSTUDIO_READONLY_SYMBOLS - -///////////////////////////////////////////////////////////////////////////// -// English (U.S.) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -#ifdef _WIN32 -LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US -#pragma code_page(1252) -#endif //_WIN32 - -#ifdef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// TEXTINCLUDE -// - -1 TEXTINCLUDE DISCARDABLE -BEGIN - "resource.h\0" -END - -2 TEXTINCLUDE DISCARDABLE -BEGIN - "#define APSTUDIO_HIDDEN_SYMBOLS\r\n" - "#include ""windows.h""\r\n" - "#undef APSTUDIO_HIDDEN_SYMBOLS\r\n" - "\0" -END - -3 TEXTINCLUDE DISCARDABLE -BEGIN - "\r\n" - "\0" -END - -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// Menu -// - -INTMENU MENU DISCARDABLE -BEGIN - MENUITEM "Setup", IDM_SETUP - MENUITEM "Interrupt Trigger", IDM_GO - MENUITEM "Exit", IDM_CLEAR -END - - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog -// - -IDD_DIALOG1 DIALOG DISCARDABLE 0, 0, 131, 106 -STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "Setup Dialog" -FONT 10, "System" -BEGIN - DEFPUSHBUTTON "OK",IDOK,16,85,40,14 - PUSHBUTTON "Cancel",IDCANCEL,76,85,38,14 - LTEXT "Total Count",IDC_STATIC,6,32,43,12 - LTEXT "Sampling Rate",IDC_STATIC,6,59,49,12 - EDITTEXT IDC_EDIT1,60,31,64,15,ES_AUTOHSCROLL - EDITTEXT IDC_EDIT2,60,56,64,15,ES_AUTOHSCROLL - LTEXT "Card Number",IDC_STATIC,6,12,45,13 - COMBOBOX IDC_COMBO1,60,12,64,84,CBS_DROPDOWN | WS_VSCROLL | - WS_TABSTOP -END - - -///////////////////////////////////////////////////////////////////////////// -// -// DESIGNINFO -// - -#ifdef APSTUDIO_INVOKED -GUIDELINES DESIGNINFO DISCARDABLE -BEGIN - IDD_DIALOG1, DIALOG - BEGIN - LEFTMARGIN, 6 - RIGHTMARGIN, 124 - VERTGUIDE, 89 - TOPMARGIN, 12 - BOTTOMMARGIN, 99 - HORZGUIDE, 71 - HORZGUIDE, 99 - END -END -#endif // APSTUDIO_INVOKED - -#endif // English (U.S.) resources -///////////////////////////////////////////////////////////////////////////// - - - -#ifndef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 3 resource. -// - - -///////////////////////////////////////////////////////////////////////////// -#endif // not APSTUDIO_INVOKED - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7248/SDK7248DbEvtMsg/Resource.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7248/SDK7248DbEvtMsg/Resource.h deleted file mode 100644 index 6b0eb15..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7248/SDK7248DbEvtMsg/Resource.h +++ /dev/null @@ -1,26 +0,0 @@ -//{{NO_DEPENDENCIES}} -// Microsoft Developer Studio generated include file. -// Used by 7248int.rc -// -#define IDM_SETUP 101 -#define IDD_DIALOG1 101 -#define IDM_EXIT 110 -#define IDM_GO 300 -#define ID_STOP 304 -#define IDM_CLEAR 305 -#define IDC_COMBO1 1004 -#define IDC_COMBO2 1005 -#define IDC_EDIT1 1007 -#define IDC_EDIT2 1008 -#define IDC_STATIC -1 - -// Next default values for new objects -// -#ifdef APSTUDIO_INVOKED -#ifndef APSTUDIO_READONLY_SYMBOLS -#define _APS_NEXT_RESOURCE_VALUE 102 -#define _APS_NEXT_COMMAND_VALUE 102 -#define _APS_NEXT_CONTROL_VALUE 1008 -#define _APS_NEXT_SYMED_VALUE 101 -#endif -#endif diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7248/SDK7248DbEvtMsg/SDK7248Int.exe b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7248/SDK7248DbEvtMsg/SDK7248Int.exe deleted file mode 100644 index 45f925e..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7248/SDK7248DbEvtMsg/SDK7248Int.exe and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7248/SDK7248DbEvtMsg/SDK7248Int.mak b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7248/SDK7248DbEvtMsg/SDK7248Int.mak deleted file mode 100644 index eff8e2c..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7248/SDK7248DbEvtMsg/SDK7248Int.mak +++ /dev/null @@ -1,219 +0,0 @@ -# Microsoft Developer Studio Generated NMAKE File, Format Version 4.00 -# ** DO NOT EDIT ** - -# TARGTYPE "Win32 (x86) Application" 0x0101 - -!IF "$(CFG)" == "" -CFG=SDK7248Int - Win32 Debug -!MESSAGE No configuration specified. Defaulting to SDK7248Int - Win32 Debug. -!ENDIF - -!IF "$(CFG)" != "SDK7248Int - Win32 Release" && "$(CFG)" !=\ - "SDK7248Int - Win32 Debug" -!MESSAGE Invalid configuration "$(CFG)" specified. -!MESSAGE You can specify a configuration when running NMAKE on this makefile -!MESSAGE by defining the macro CFG on the command line. For example: -!MESSAGE -!MESSAGE NMAKE /f "SDK7248Int.mak" CFG="SDK7248Int - Win32 Debug" -!MESSAGE -!MESSAGE Possible choices for configuration are: -!MESSAGE -!MESSAGE "SDK7248Int - Win32 Release" (based on "Win32 (x86) Application") -!MESSAGE "SDK7248Int - Win32 Debug" (based on "Win32 (x86) Application") -!MESSAGE -!ERROR An invalid configuration is specified. -!ENDIF - -!IF "$(OS)" == "Windows_NT" -NULL= -!ELSE -NULL=nul -!ENDIF -################################################################################ -# Begin Project -# PROP Target_Last_Scanned "SDK7248Int - Win32 Debug" -MTL=mktyplib.exe -RSC=rc.exe -CPP=cl.exe - -!IF "$(CFG)" == "SDK7248Int - Win32 Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "Release" -# PROP BASE Intermediate_Dir "Release" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "" -# PROP Intermediate_Dir "Release" -# PROP Target_Dir "" -OUTDIR=. -INTDIR=.\Release - -ALL : "$(OUTDIR)\SDK7248Int.exe" - -CLEAN : - -@erase ".\SDK7248Int.exe" - -@erase ".\Release\7248int.obj" - -@erase ".\Release\7248int.res" - -"$(INTDIR)" : - if not exist "$(INTDIR)/$(NULL)" mkdir "$(INTDIR)" - -# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /YX /c -# ADD CPP /nologo /MT /W3 /GX /Od /I "..\..\..\include" /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /c -# SUBTRACT CPP /YX -CPP_PROJ=/nologo /MT /W3 /GX /Od /I "..\..\..\include" /D "WIN32" /D "NDEBUG"\ - /D "_WINDOWS" /Fo"$(INTDIR)/" /c -CPP_OBJS=.\Release/ -CPP_SBRS= -# ADD BASE MTL /nologo /D "NDEBUG" /win32 -# ADD MTL /nologo /D "NDEBUG" /win32 -MTL_PROJ=/nologo /D "NDEBUG" /win32 -# ADD BASE RSC /l 0x409 /d "NDEBUG" -# ADD RSC /l 0x409 /d "NDEBUG" -RSC_PROJ=/l 0x409 /fo"$(INTDIR)/7248int.res" /d "NDEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -BSC32_FLAGS=/nologo /o"$(OUTDIR)/SDK7248Int.bsc" -BSC32_SBRS= -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:windows /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ..\..\..\lib\pci-dask.lib /nologo /subsystem:windows /machine:I386 -LINK32_FLAGS=kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib\ - advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib\ - odbccp32.lib ..\..\..\lib\pci-dask.lib /nologo /subsystem:windows\ - /incremental:no /pdb:"$(OUTDIR)/SDK7248Int.pdb" /machine:I386\ - /out:"$(OUTDIR)/SDK7248Int.exe" -LINK32_OBJS= \ - ".\Release\7248int.obj" \ - ".\Release\7248int.res" - -"$(OUTDIR)\SDK7248Int.exe" : "$(OUTDIR)" $(DEF_FILE) $(LINK32_OBJS) - $(LINK32) @<< - $(LINK32_FLAGS) $(LINK32_OBJS) -<< - -!ELSEIF "$(CFG)" == "SDK7248Int - Win32 Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "SDK7248I" -# PROP BASE Intermediate_Dir "SDK7248I" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "" -# PROP Intermediate_Dir "Debug" -# PROP Target_Dir "" -OUTDIR=. -INTDIR=.\Debug - -ALL : "$(OUTDIR)\SDK7248Int.exe" - -CLEAN : - -@erase ".\Debug\vc40.pdb" - -@erase ".\Debug\vc40.idb" - -@erase ".\SDK7248Int.exe" - -@erase ".\Debug\7248int.obj" - -@erase ".\Debug\7248int.res" - -@erase ".\SDK7248Int.ilk" - -@erase ".\SDK7248Int.pdb" - -"$(INTDIR)" : - if not exist "$(INTDIR)/$(NULL)" mkdir "$(INTDIR)" - -# ADD BASE CPP /nologo /W3 /Gm /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /YX /c -# ADD CPP /nologo /MTd /W3 /Gm /GX /Zi /Od /I "..\..\..\include" /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /c -# SUBTRACT CPP /YX -CPP_PROJ=/nologo /MTd /W3 /Gm /GX /Zi /Od /I "..\..\..\include" /D "WIN32" /D\ - "_DEBUG" /D "_WINDOWS" /Fo"$(INTDIR)/" /Fd"$(INTDIR)/" /c -CPP_OBJS=.\Debug/ -CPP_SBRS= -# ADD BASE MTL /nologo /D "_DEBUG" /win32 -# ADD MTL /nologo /D "_DEBUG" /win32 -MTL_PROJ=/nologo /D "_DEBUG" /win32 -# ADD BASE RSC /l 0x409 /d "_DEBUG" -# ADD RSC /l 0x409 /d "_DEBUG" -RSC_PROJ=/l 0x409 /fo"$(INTDIR)/7248int.res" /d "_DEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -BSC32_FLAGS=/nologo /o"$(OUTDIR)/SDK7248Int.bsc" -BSC32_SBRS= -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:windows /debug /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ..\..\..\lib\pci-dask.lib /nologo /subsystem:windows /debug /machine:I386 -LINK32_FLAGS=kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib\ - advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib\ - odbccp32.lib ..\..\..\lib\pci-dask.lib /nologo /subsystem:windows\ - /incremental:yes /pdb:"$(OUTDIR)/SDK7248Int.pdb" /debug /machine:I386\ - /out:"$(OUTDIR)/SDK7248Int.exe" -LINK32_OBJS= \ - ".\Debug\7248int.obj" \ - ".\Debug\7248int.res" - -"$(OUTDIR)\SDK7248Int.exe" : "$(OUTDIR)" $(DEF_FILE) $(LINK32_OBJS) - $(LINK32) @<< - $(LINK32_FLAGS) $(LINK32_OBJS) -<< - -!ENDIF - -.c{$(CPP_OBJS)}.obj: - $(CPP) $(CPP_PROJ) $< - -.cpp{$(CPP_OBJS)}.obj: - $(CPP) $(CPP_PROJ) $< - -.cxx{$(CPP_OBJS)}.obj: - $(CPP) $(CPP_PROJ) $< - -.c{$(CPP_SBRS)}.sbr: - $(CPP) $(CPP_PROJ) $< - -.cpp{$(CPP_SBRS)}.sbr: - $(CPP) $(CPP_PROJ) $< - -.cxx{$(CPP_SBRS)}.sbr: - $(CPP) $(CPP_PROJ) $< - -################################################################################ -# Begin Target - -# Name "SDK7248Int - Win32 Release" -# Name "SDK7248Int - Win32 Debug" - -!IF "$(CFG)" == "SDK7248Int - Win32 Release" - -!ELSEIF "$(CFG)" == "SDK7248Int - Win32 Debug" - -!ENDIF - -################################################################################ -# Begin Source File - -SOURCE=.\7248int.rc - -"$(INTDIR)\7248int.res" : $(SOURCE) "$(INTDIR)" - $(RSC) $(RSC_PROJ) $(SOURCE) - - -# End Source File -################################################################################ -# Begin Source File - -SOURCE=.\7248int.c -DEP_CPP_7248I=\ - ".\..\..\..\include\Dask.h"\ - - -"$(INTDIR)\7248int.obj" : $(SOURCE) $(DEP_CPP_7248I) "$(INTDIR)" - - -# End Source File -# End Target -# End Project -################################################################################ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7248/SDK7248DbEvtMsg/SDK7248Int.mdp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7248/SDK7248DbEvtMsg/SDK7248Int.mdp deleted file mode 100644 index 8448057..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7248/SDK7248DbEvtMsg/SDK7248Int.mdp and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7248/SDK7248Int/7248INT.C b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7248/SDK7248Int/7248INT.C deleted file mode 100644 index 14bfedc..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7248/SDK7248Int/7248INT.C +++ /dev/null @@ -1,330 +0,0 @@ -/*;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; -;; Copyright (c) 1995-1999, ADLink Technology Inc. All rights reserved. ;; -;; ;; -;; File Name : 7248INT.C ;; -;; Purpose : This sample program demonstrates how to DIO through;; -;; interrupt operation ;; -;; Date : 07/07/1999 ;; -;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;*/ - - #include - #include - #include - #include - #include "Dask.h" - #include "resource.h" - - #define IDM_SETUP 101 - #define IDD_DIALOG1 101 - #define IDM_EXIT 110 - #define IDM_GO 300 - #define IDM_CLEAR 305 - #define IDC_COMBO1 1004 - #define IDC_EDIT1 1007 - #define IDC_EDIT2 1008 - - HANDLE hInst; /* current instance */ - HANDLE hIntEvent[2]; - - I16 card=-1, card_number = 0; - - int total_count =40; - int sample_rate=20000; - unsigned int buffer[32768], in_buffer[32768]; - char Buf[80]; - int c1=20,c2=20; - - int PASCAL WinMain(HANDLE, HANDLE, LPSTR, int); - BOOL InitApplication(HANDLE); - BOOL InitInstance(HANDLE, int); - long PASCAL MainWndProc(HWND, unsigned, WPARAM, LPARAM); - BOOL PASCAL About(HWND, unsigned, WPARAM, LPARAM); - BOOL PASCAL ShowDMA(HWND, unsigned, WPARAM, LPARAM); - - /********************************************************************** - - FUNCTION: WinMain(HANDLE, HANDLE, LPSTR, int) - PURPOSE: calls initialization function, processes message loop - - ***********************************************************************/ - - int PASCAL WinMain(hInstance, hPrevInstance, lpCmdLine, nCmdShow) - - HANDLE hInstance; - HANDLE hPrevInstance; - LPSTR lpCmdLine; - int nCmdShow; - - { - MSG msg; - - if(!hPrevInstance) - if(!InitApplication(hInstance)) - return(FALSE); - - if(!InitInstance(hInstance, nCmdShow)) - return(FALSE); - - while ( GetMessage(&msg, NULL, NULL, NULL)) - { - TranslateMessage(&msg); - DispatchMessage(&msg); - } - return(msg.wParam); - } - -/**************************************************************************** - - FUNCTION: InitApplication(HANDLE) - - PURPOSE: Initializes window data and registers window class - -****************************************************************************/ - -BOOL InitApplication(hInstance) -HANDLE hInstance; -{ - WNDCLASS wc; - - wc.style = NULL; - wc.lpfnWndProc = MainWndProc; - wc.cbClsExtra = 0; - wc.cbWndExtra = 0; - wc.hInstance = hInstance; - wc.hIcon = LoadIcon(NULL, IDI_APPLICATION); - wc.hCursor = LoadCursor(hInstance, IDC_ARROW); - wc.hbrBackground = GetStockObject(WHITE_BRUSH); - wc.lpszMenuName = "IntMenu"; - wc.lpszClassName = "IntClass"; - - return (RegisterClass(&wc)); -} - -/**************************************************************************** - - FUNCTION: InitInstance(HANDLE, int) - - PURPOSE: Saves instance handle and creates main window - -****************************************************************************/ - -BOOL InitInstance(hInstance, nCmdShow) -HANDLE hInstance; -int nCmdShow; -{ - HWND hWnd; - - hInst = hInstance; - hWnd = CreateWindow("IntClass", - "PCI-7248 Interrupt Samples", - WS_OVERLAPPEDWINDOW, - 200, - 100, - 375, - 370, - NULL, - NULL, - hInstance, - NULL); - - if (!hWnd) return (FALSE); - ShowWindow(hWnd, nCmdShow); - UpdateWindow(hWnd); - return (TRUE); -} - - -BOOL PASCAL setup(HWND hWnd, unsigned message, WPARAM wParam, LPARAM lParam) -{ - int i,k=0; - char n[16]; - char s[50]; - BOOL ok; - - switch (message) { - case WM_INITDIALOG: - for (i=0;i<16;i++) { - wsprintf(n, "%d", i); - _strupr(n); - SendMessage(GetDlgItem(hWnd,IDC_COMBO1), CB_ADDSTRING, NULL, (LONG)(LPSTR) n); - } - SendMessage(GetDlgItem(hWnd,IDC_COMBO1) , CB_SETCURSEL, 0, 0L); - if(card >=0) - EnableWindow(GetDlgItem(hWnd,IDC_COMBO1), FALSE); - SendMessage(GetDlgItem(hWnd,IDC_EDIT2) , WM_SETTEXT, 0, "5000"); - SendMessage(GetDlgItem(hWnd,IDC_EDIT1) , WM_SETTEXT, 0, "40"); - - break; - case WM_COMMAND: - switch(LOWORD(wParam)) { - case IDC_COMBO1: - if (HIWORD(wParam) == CBN_CLOSEUP) { - i = (int)SendMessage(GetDlgItem(hWnd,IDC_COMBO1), CB_GETCURSEL, 0, 0L); - SendMessage(GetDlgItem(hWnd,IDC_COMBO1), CB_GETLBTEXT, i, (LPARAM)((LPCSTR)n)); - card_number = i; - } - return(TRUE); - case IDOK: - if (card < 0) { - if ((card=Register_Card(PCI_7248, card_number))< 0) { - wsprintf(s, "Register_Card Error = %d\n", card); - MessageBox(hWnd, s, "Error", MB_OK); - } - } - total_count = GetDlgItemInt(hWnd,IDC_EDIT1, &ok, FALSE); - if (total_count > 32768) { - MessageBox(hWnd,"Count can be assigned at most 32768", "INT", MB_OK); - break; - } - for (i=0;i255) k=0; - } - for (i=0;i 15000 ) sample_rate=15000; - c2=2000000/(sample_rate*c1); - - EndDialog(hWnd, TRUE); - return (TRUE); - case IDCANCEL: - EndDialog(hWnd, TRUE); - return (TRUE); - } - break; - } - return (FALSE); -} - -/**************************************************************************** - - FUNCTION: MainWndProc(HWND, UINT, WPARAM, LPARAM) - - PURPOSE: Processes messages - - -****************************************************************************/ - -long PASCAL MainWndProc(hWnd, message, wParam, lParam) -HWND hWnd; -unsigned message; -WPARAM wParam; -LPARAM lParam; -{ - int i, k; - int cur_count=0; - HDC hDC, hDC1; - PAINTSTRUCT ps; - FARPROC lpProc; - char s[50]; - - switch(message) { - - case WM_CREATE: - break; - case WM_PAINT: - hDC1=BeginPaint(hWnd, &ps); - wsprintf(Buf,"This program performs digital output on Port A of"); - TextOut(hDC1,20,10,Buf,strlen(Buf)); - wsprintf(Buf,"CN2 and digital input on Port A of CN1 when an"); - TextOut(hDC1,20,30,Buf,strlen(Buf)); - wsprintf(Buf,"interrupt happens. The INT2 is used, and interrupt"); - TextOut(hDC1,20,50,Buf,strlen(Buf)); - wsprintf(Buf,"signals are generated by internal Timer Output."); - TextOut(hDC1,20,70,Buf,strlen(Buf)); - SetTextColor(hDC1, RGB(255,0,0)); - wsprintf(Buf,"Push 'Setup' button first ..."); - TextOut(hDC1,20,90,Buf,strlen(Buf)); - EndPaint(hWnd, &ps); - break; - case WM_COMMAND: - switch(wParam) { - case IDM_SETUP: - lpProc = MakeProcInstance(setup, hInst); - DialogBox(hInst,IDD_DIALOG1,hWnd,lpProc); - FreeProcInstance(lpProc); - if(card <0) - SendMessage(hWnd, WM_CLOSE, 0, 0L); - break; - case IDM_GO: - // Interrupt Trigger - hDC=GetDC(hWnd); - DIO_PortConfig(card,Channel_P1A, INPUT_PORT); - DIO_PortConfig(card,Channel_P2A, OUTPUT_PORT); - DIO_SetDualInterrupt(card, INT1_DISABLE, INT2_TIMER_COUNTER, hIntEvent); - CTR_Setup (card, 1, 2, c1, BIN); - CTR_Setup (card, 2, 2, c2, BIN); - k=0; i=0; - while (k=10 && i<20) { - wsprintf(Buf,"%d, ",in_buffer[i]); - TextOut(hDC,20+25*(i-10),210,Buf,strlen(Buf)); - } - if(i>=20 && i<30) { - wsprintf(Buf,"%d, ",in_buffer[i]); - TextOut(hDC,20+25*(i-20),235,Buf,strlen(Buf)); - } - if (i>=30 && i<40) { - wsprintf(Buf,"%d, ",in_buffer[i]); - TextOut(hDC,20+25*(i-30),260,Buf,strlen(Buf)); - } - if (i>=40 && i<50) { - wsprintf(Buf,"%d, ",in_buffer[i]); - TextOut(hDC,20+25*(i-40),285,Buf,strlen(Buf)); - } - } - ReleaseDC(hWnd, hDC); - break; - case IDM_CLEAR : - ResetEvent(hIntEvent[1]); - PostQuitMessage(0); - break; - } - break; - - case WM_DESTROY: - if (card >= 0) Release_Card(card); - PostQuitMessage(0); - break; - - default: - return (DefWindowProc(hWnd, message, wParam, lParam)); - } - return(0L); -} - - \ No newline at end of file diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7248/SDK7248Int/7248INT.MAK b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7248/SDK7248Int/7248INT.MAK deleted file mode 100644 index a981a03..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7248/SDK7248Int/7248INT.MAK +++ /dev/null @@ -1,219 +0,0 @@ -# Microsoft Developer Studio Generated NMAKE File, Format Version 4.00 -# ** DO NOT EDIT ** - -# TARGTYPE "Win32 (x86) Application" 0x0101 - -!IF "$(CFG)" == "" -CFG=7248int - Win32 Debug -!MESSAGE No configuration specified. Defaulting to 7248int - Win32 Debug. -!ENDIF - -!IF "$(CFG)" != "7248int - Win32 Release" && "$(CFG)" !=\ - "7248int - Win32 Debug" -!MESSAGE Invalid configuration "$(CFG)" specified. -!MESSAGE You can specify a configuration when running NMAKE on this makefile -!MESSAGE by defining the macro CFG on the command line. For example: -!MESSAGE -!MESSAGE NMAKE /f "7248INT.MAK" CFG="7248int - Win32 Debug" -!MESSAGE -!MESSAGE Possible choices for configuration are: -!MESSAGE -!MESSAGE "7248int - Win32 Release" (based on "Win32 (x86) Application") -!MESSAGE "7248int - Win32 Debug" (based on "Win32 (x86) Application") -!MESSAGE -!ERROR An invalid configuration is specified. -!ENDIF - -!IF "$(OS)" == "Windows_NT" -NULL= -!ELSE -NULL=nul -!ENDIF -################################################################################ -# Begin Project -# PROP Target_Last_Scanned "7248int - Win32 Debug" -MTL=mktyplib.exe -CPP=cl.exe -RSC=rc.exe - -!IF "$(CFG)" == "7248int - Win32 Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "7248int_" -# PROP BASE Intermediate_Dir "7248int_" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "" -# PROP Intermediate_Dir "Release" -# PROP Target_Dir "" -OUTDIR=. -INTDIR=.\Release - -ALL : "$(OUTDIR)\7248INT.exe" - -CLEAN : - -@erase ".\7248INT.exe" - -@erase ".\Release\7248int.obj" - -@erase ".\Release\7248int.res" - -"$(INTDIR)" : - if not exist "$(INTDIR)/$(NULL)" mkdir "$(INTDIR)" - -# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /YX /c -# ADD CPP /nologo /MT /W3 /GX /Od /I "..\..\..\include" /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /c -# SUBTRACT CPP /YX -CPP_PROJ=/nologo /MT /W3 /GX /Od /I "..\..\..\include" /D "WIN32" /D "NDEBUG"\ - /D "_WINDOWS" /Fo"$(INTDIR)/" /c -CPP_OBJS=.\Release/ -CPP_SBRS= -# ADD BASE MTL /nologo /D "NDEBUG" /win32 -# ADD MTL /nologo /D "NDEBUG" /win32 -MTL_PROJ=/nologo /D "NDEBUG" /win32 -# ADD BASE RSC /l 0x409 /d "NDEBUG" -# ADD RSC /l 0x409 /d "NDEBUG" -RSC_PROJ=/l 0x409 /fo"$(INTDIR)/7248int.res" /d "NDEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -BSC32_FLAGS=/nologo /o"$(OUTDIR)/7248INT.bsc" -BSC32_SBRS= -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:windows /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ..\..\..\lib\pci-dask.lib /nologo /subsystem:windows /machine:I386 -LINK32_FLAGS=kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib\ - advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib\ - odbccp32.lib ..\..\..\lib\pci-dask.lib /nologo /subsystem:windows\ - /incremental:no /pdb:"$(OUTDIR)/7248INT.pdb" /machine:I386\ - /out:"$(OUTDIR)/7248INT.exe" -LINK32_OBJS= \ - "$(INTDIR)/7248int.obj" \ - "$(INTDIR)/7248int.res" - -"$(OUTDIR)\7248INT.exe" : "$(OUTDIR)" $(DEF_FILE) $(LINK32_OBJS) - $(LINK32) @<< - $(LINK32_FLAGS) $(LINK32_OBJS) -<< - -!ELSEIF "$(CFG)" == "7248int - Win32 Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "Debug" -# PROP BASE Intermediate_Dir "Debug" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "" -# PROP Intermediate_Dir "Debug" -# PROP Target_Dir "" -OUTDIR=. -INTDIR=.\Debug - -ALL : "$(OUTDIR)\7248INT.exe" - -CLEAN : - -@erase ".\Debug\vc40.pdb" - -@erase ".\Debug\vc40.idb" - -@erase ".\7248INT.exe" - -@erase ".\Debug\7248int.obj" - -@erase ".\Debug\7248int.res" - -@erase ".\7248INT.ilk" - -@erase ".\7248INT.pdb" - -"$(INTDIR)" : - if not exist "$(INTDIR)/$(NULL)" mkdir "$(INTDIR)" - -# ADD BASE CPP /nologo /W3 /Gm /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /YX /c -# ADD CPP /nologo /W3 /Gm /GX /Zi /Od /I "..\..\..\include" /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /c -# SUBTRACT CPP /YX -CPP_PROJ=/nologo /MLd /W3 /Gm /GX /Zi /Od /I "..\..\..\include" /D "WIN32" /D\ - "_DEBUG" /D "_WINDOWS" /Fo"$(INTDIR)/" /Fd"$(INTDIR)/" /c -CPP_OBJS=.\Debug/ -CPP_SBRS= -# ADD BASE MTL /nologo /D "_DEBUG" /win32 -# ADD MTL /nologo /D "_DEBUG" /win32 -MTL_PROJ=/nologo /D "_DEBUG" /win32 -# ADD BASE RSC /l 0x409 /d "_DEBUG" -# ADD RSC /l 0x409 /d "_DEBUG" -RSC_PROJ=/l 0x409 /fo"$(INTDIR)/7248int.res" /d "_DEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -BSC32_FLAGS=/nologo /o"$(OUTDIR)/7248INT.bsc" -BSC32_SBRS= -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:windows /debug /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ..\..\..\lib\pci-dask.lib /nologo /subsystem:windows /debug /machine:I386 -LINK32_FLAGS=kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib\ - advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib\ - odbccp32.lib ..\..\..\lib\pci-dask.lib /nologo /subsystem:windows\ - /incremental:yes /pdb:"$(OUTDIR)/7248INT.pdb" /debug /machine:I386\ - /out:"$(OUTDIR)/7248INT.exe" -LINK32_OBJS= \ - "$(INTDIR)/7248int.obj" \ - "$(INTDIR)/7248int.res" - -"$(OUTDIR)\7248INT.exe" : "$(OUTDIR)" $(DEF_FILE) $(LINK32_OBJS) - $(LINK32) @<< - $(LINK32_FLAGS) $(LINK32_OBJS) -<< - -!ENDIF - -.c{$(CPP_OBJS)}.obj: - $(CPP) $(CPP_PROJ) $< - -.cpp{$(CPP_OBJS)}.obj: - $(CPP) $(CPP_PROJ) $< - -.cxx{$(CPP_OBJS)}.obj: - $(CPP) $(CPP_PROJ) $< - -.c{$(CPP_SBRS)}.sbr: - $(CPP) $(CPP_PROJ) $< - -.cpp{$(CPP_SBRS)}.sbr: - $(CPP) $(CPP_PROJ) $< - -.cxx{$(CPP_SBRS)}.sbr: - $(CPP) $(CPP_PROJ) $< - -################################################################################ -# Begin Target - -# Name "7248int - Win32 Release" -# Name "7248int - Win32 Debug" - -!IF "$(CFG)" == "7248int - Win32 Release" - -!ELSEIF "$(CFG)" == "7248int - Win32 Debug" - -!ENDIF - -################################################################################ -# Begin Source File - -SOURCE=.\7248int.rc - -"$(INTDIR)\7248int.res" : $(SOURCE) "$(INTDIR)" - $(RSC) $(RSC_PROJ) $(SOURCE) - - -# End Source File -################################################################################ -# Begin Source File - -SOURCE=.\7248int.c -DEP_CPP_7248I=\ - ".\..\..\..\include\Dask.h"\ - - -"$(INTDIR)\7248int.obj" : $(SOURCE) $(DEP_CPP_7248I) "$(INTDIR)" - - -# End Source File -# End Target -# End Project -################################################################################ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7248/SDK7248Int/7248INT.MDP b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7248/SDK7248Int/7248INT.MDP deleted file mode 100644 index 800c618..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7248/SDK7248Int/7248INT.MDP and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7248/SDK7248Int/7248INT.RC b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7248/SDK7248Int/7248INT.RC deleted file mode 100644 index d89886e..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7248/SDK7248Int/7248INT.RC +++ /dev/null @@ -1,125 +0,0 @@ -//Microsoft Developer Studio generated resource script. -// -#include "resource.h" - -#define APSTUDIO_READONLY_SYMBOLS -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 2 resource. -// -#define APSTUDIO_HIDDEN_SYMBOLS -#include "windows.h" -#undef APSTUDIO_HIDDEN_SYMBOLS - -///////////////////////////////////////////////////////////////////////////// -#undef APSTUDIO_READONLY_SYMBOLS - -///////////////////////////////////////////////////////////////////////////// -// English (U.S.) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -#ifdef _WIN32 -LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US -#pragma code_page(1252) -#endif //_WIN32 - -#ifdef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// TEXTINCLUDE -// - -1 TEXTINCLUDE DISCARDABLE -BEGIN - "resource.h\0" -END - -2 TEXTINCLUDE DISCARDABLE -BEGIN - "#define APSTUDIO_HIDDEN_SYMBOLS\r\n" - "#include ""windows.h""\r\n" - "#undef APSTUDIO_HIDDEN_SYMBOLS\r\n" - "\0" -END - -3 TEXTINCLUDE DISCARDABLE -BEGIN - "\r\n" - "\0" -END - -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// Menu -// - -INTMENU MENU DISCARDABLE -BEGIN - MENUITEM "Setup", IDM_SETUP - MENUITEM "Interrupt Trigger", IDM_GO - MENUITEM "Exit", IDM_CLEAR -END - - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog -// - -IDD_DIALOG1 DIALOG DISCARDABLE 0, 0, 138, 110 -STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "Setup Dialog" -FONT 10, "System" -BEGIN - DEFPUSHBUTTON "OK",IDOK,10,89,50,14 - PUSHBUTTON "Cancel",IDCANCEL,81,89,50,14 - LTEXT "Total Count",IDC_STATIC,10,34,52,12 - LTEXT "Sampling Rate",IDC_STATIC,10,59,51,12 - EDITTEXT IDC_EDIT1,62,33,69,15,ES_AUTOHSCROLL - EDITTEXT IDC_EDIT2,62,58,69,15,ES_AUTOHSCROLL - LTEXT "Card Number",IDC_STATIC,10,12,45,13 - COMBOBOX IDC_COMBO1,62,12,69,84,CBS_DROPDOWN | WS_VSCROLL | - WS_TABSTOP -END - - -///////////////////////////////////////////////////////////////////////////// -// -// DESIGNINFO -// - -#ifdef APSTUDIO_INVOKED -GUIDELINES DESIGNINFO DISCARDABLE -BEGIN - IDD_DIALOG1, DIALOG - BEGIN - LEFTMARGIN, 6 - RIGHTMARGIN, 131 - VERTGUIDE, 10 - VERTGUIDE, 89 - TOPMARGIN, 12 - BOTTOMMARGIN, 103 - HORZGUIDE, 65 - HORZGUIDE, 105 - END -END -#endif // APSTUDIO_INVOKED - -#endif // English (U.S.) resources -///////////////////////////////////////////////////////////////////////////// - - - -#ifndef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 3 resource. -// - - -///////////////////////////////////////////////////////////////////////////// -#endif // not APSTUDIO_INVOKED - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7248/SDK7248Int/7248int.exe b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7248/SDK7248Int/7248int.exe deleted file mode 100644 index 0fc68b7..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7248/SDK7248Int/7248int.exe and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7248/SDK7248Int/Resource.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7248/SDK7248Int/Resource.h deleted file mode 100644 index 6b0eb15..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7248/SDK7248Int/Resource.h +++ /dev/null @@ -1,26 +0,0 @@ -//{{NO_DEPENDENCIES}} -// Microsoft Developer Studio generated include file. -// Used by 7248int.rc -// -#define IDM_SETUP 101 -#define IDD_DIALOG1 101 -#define IDM_EXIT 110 -#define IDM_GO 300 -#define ID_STOP 304 -#define IDM_CLEAR 305 -#define IDC_COMBO1 1004 -#define IDC_COMBO2 1005 -#define IDC_EDIT1 1007 -#define IDC_EDIT2 1008 -#define IDC_STATIC -1 - -// Next default values for new objects -// -#ifdef APSTUDIO_INVOKED -#ifndef APSTUDIO_READONLY_SYMBOLS -#define _APS_NEXT_RESOURCE_VALUE 102 -#define _APS_NEXT_COMMAND_VALUE 102 -#define _APS_NEXT_CONTROL_VALUE 1008 -#define _APS_NEXT_SYMED_VALUE 101 -#endif -#endif diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7248/SDK7248IntMsg/7248INT.C b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7248/SDK7248IntMsg/7248INT.C deleted file mode 100644 index 87b1b09..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7248/SDK7248IntMsg/7248INT.C +++ /dev/null @@ -1,337 +0,0 @@ -/*;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; -;; Copyright (c) 1995-1999, ADLink Technology Inc. All rights reserved. ;; -;; ;; -;; File Name : 7248INT.C ;; -;; Purpose : This sample program demonstrates how to DIO through;; -;; interrupt operation ;; -;; Date : 07/01/1999 ;; -;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;*/ - - #include - #include - #include - #include - #include "Dask.h" - #include "resource.h" - - #define IDM_SETUP 101 - #define IDD_DIALOG1 101 - #define IDM_EXIT 110 - #define IDM_GO 300 - #define IDM_CLEAR 305 - #define IDC_COMBO1 1004 - #define IDC_EDIT1 1007 - #define IDC_EDIT2 1008 - #define WM_INT 2000 - - HANDLE hInst; /* current instance */ - HWND hMainWnd; - I16 card=-1, card_number = 0; - - int total_count =40; - int sample_rate=20000; - unsigned int buffer[32768], in_buffer[32768]; - char Buf[80]; - int c1=20,c2=20; - int int_count =0; - - int PASCAL WinMain(HANDLE, HANDLE, LPSTR, int); - BOOL InitApplication(HANDLE); - BOOL InitInstance(HANDLE, int); - long PASCAL MainWndProc(HWND, unsigned, WPARAM, LPARAM); - BOOL PASCAL About(HWND, unsigned, WPARAM, LPARAM); - BOOL PASCAL ShowDMA(HWND, unsigned, WPARAM, LPARAM); - void mesgfn(); - - /********************************************************************** - - FUNCTION: WinMain(HANDLE, HANDLE, LPSTR, int) - PURPOSE: calls initialization function, processes message loop - - ***********************************************************************/ - - int PASCAL WinMain(hInstance, hPrevInstance, lpCmdLine, nCmdShow) - - HANDLE hInstance; - HANDLE hPrevInstance; - LPSTR lpCmdLine; - int nCmdShow; - - { - MSG msg; - - if(!hPrevInstance) - if(!InitApplication(hInstance)) - return(FALSE); - - if(!InitInstance(hInstance, nCmdShow)) - return(FALSE); - - while ( GetMessage(&msg, NULL, NULL, NULL)) - { - TranslateMessage(&msg); - DispatchMessage(&msg); - } - return(msg.wParam); - } - -/**************************************************************************** - - FUNCTION: InitApplication(HANDLE) - - PURPOSE: Initializes window data and registers window class - -****************************************************************************/ - -BOOL InitApplication(hInstance) -HANDLE hInstance; -{ - WNDCLASS wc; - - wc.style = NULL; - wc.lpfnWndProc = MainWndProc; - wc.cbClsExtra = 0; - wc.cbWndExtra = 0; - wc.hInstance = hInstance; - wc.hIcon = LoadIcon(NULL, IDI_APPLICATION); - wc.hCursor = LoadCursor(hInstance, IDC_ARROW); - wc.hbrBackground = GetStockObject(WHITE_BRUSH); - wc.lpszMenuName = "IntMenu"; - wc.lpszClassName = "IntClass"; - - return (RegisterClass(&wc)); -} - -/**************************************************************************** - - FUNCTION: InitInstance(HANDLE, int) - - PURPOSE: Saves instance handle and creates main window - -****************************************************************************/ - -BOOL InitInstance(hInstance, nCmdShow) -HANDLE hInstance; -int nCmdShow; -{ - HWND hWnd; - - hInst = hInstance; - hWnd = CreateWindow("IntClass", - "PCI-7248 Interrupt Samples", - WS_OVERLAPPEDWINDOW, - 200, - 100, - 375, - 370, - NULL, - NULL, - hInstance, - NULL); - - if (!hWnd) return (FALSE); - ShowWindow(hWnd, nCmdShow); - UpdateWindow(hWnd); - return (TRUE); -} - - -BOOL PASCAL setup(HWND hWnd, unsigned message, WPARAM wParam, LPARAM lParam) -{ - int i,k=0; - char s[50]; - char n[20]; - BOOL ok; - - switch (message) { - case WM_INITDIALOG: - for (i=0;i<16;i++) { - wsprintf(n, "%d", i); - _strupr(n); - SendMessage(GetDlgItem(hWnd,IDC_COMBO1), CB_ADDSTRING, NULL, (LONG)(LPSTR) n); - } - SendMessage(GetDlgItem(hWnd,IDC_COMBO1) , CB_SETCURSEL, 0, 0L); - if(card >=0) - EnableWindow(GetDlgItem(hWnd,IDC_COMBO1), FALSE); - SendMessage(GetDlgItem(hWnd,IDC_EDIT2) , WM_SETTEXT, 0, "5000"); - SendMessage(GetDlgItem(hWnd,IDC_EDIT1) , WM_SETTEXT, 0, "40"); - - break; - case WM_COMMAND: - switch(LOWORD(wParam)) { - case IDC_COMBO1: - if (HIWORD(wParam) == CBN_CLOSEUP) { - i = (int)SendMessage(GetDlgItem(hWnd,IDC_COMBO1), CB_GETCURSEL, 0, 0L); - SendMessage(GetDlgItem(hWnd,IDC_COMBO1), CB_GETLBTEXT, i, (LPARAM)((LPCSTR)n)); - card_number = i; - } - return(TRUE); - case IDOK: - if (card < 0) { - if ((card=Register_Card(PCI_7248, card_number))< 0) { - wsprintf(s, "Register_Card Error = %d\n", card); - MessageBox(hWnd, s, "Error", MB_OK); - } - } - total_count = GetDlgItemInt(hWnd,IDC_EDIT1, &ok, FALSE); - if (total_count > 32768) { - MessageBox(hWnd,"Count can be assigned at most 32768", "INT", MB_OK); - break; - } - for (i=0;i255) k=0; - } - for (i=0;i 15000 ) sample_rate=15000; - c2=2000000/(sample_rate*c1); - - EndDialog(hWnd, TRUE); - return (TRUE); - case IDCANCEL: - EndDialog(hWnd, TRUE); - return (TRUE); - } - break; - } - return (FALSE); -} - -/**************************************************************************** - - FUNCTION: MainWndProc(HWND, UINT, WPARAM, LPARAM) - - PURPOSE: Processes messages - - -****************************************************************************/ - -long PASCAL MainWndProc(hWnd, message, wParam, lParam) -HWND hWnd; -unsigned message; -WPARAM wParam; -LPARAM lParam; -{ - int cur_count=0; - HDC hDC1; - PAINTSTRUCT ps; - FARPROC lpProc; - - hMainWnd = hWnd; - switch(message) { - - case WM_CREATE: - break; - case WM_PAINT: - hDC1=BeginPaint(hWnd, &ps); - wsprintf(Buf,"This program performs digital output on Port A of"); - TextOut(hDC1,20,10,Buf,strlen(Buf)); - wsprintf(Buf,"CN2 and digital input on Port A of CN1 when an"); - TextOut(hDC1,20,30,Buf,strlen(Buf)); - wsprintf(Buf,"interrupt happens. The INT2 is used, and interrupt"); - TextOut(hDC1,20,50,Buf,strlen(Buf)); - wsprintf(Buf,"signals are generated by internal Timer Output."); - TextOut(hDC1,20,70,Buf,strlen(Buf)); - SetTextColor(hDC1, RGB(255,0,0)); - wsprintf(Buf,"Push 'Setup' button first ..."); - TextOut(hDC1,20,90,Buf,strlen(Buf)); - EndPaint(hWnd, &ps); - break; - case WM_COMMAND: - switch(wParam) { - case IDM_SETUP: - lpProc = MakeProcInstance(setup, hInst); - DialogBox(hInst,IDD_DIALOG1,hWnd,lpProc); - FreeProcInstance(lpProc); - if(card <0) - SendMessage(hWnd, WM_CLOSE, 0, 0L); - break; - - case IDM_GO: - // Interrupt Trigger - int_count=0; - DIO_PortConfig(card,Channel_P1A, INPUT_PORT); - DIO_PortConfig(card,Channel_P2A, OUTPUT_PORT); - DIO_PortConfig(card,Channel_P1C, INPUT_PORT); - DIO_PortConfig(card,Channel_P2C, OUTPUT_PORT); - - DIO_INT2_EventMessage (card, INT2_TIMER_COUNTER, hWnd, WM_INT, NULL); - CTR_Setup (card, 1, 2, c1, BIN); - CTR_Setup (card, 2, 2, c2, BIN); - break; - - case IDM_CLEAR : - PostQuitMessage(0); - break; - } - break; - case WM_INT: - mesgfn(); - break; - case WM_DESTROY: - if (card >= 0) Release_Card(card); - PostQuitMessage(0); - break; - - default: - return (DefWindowProc(hWnd, message, wParam, lParam)); - } - return(0L); -} - -void mesgfn() -{ - HDC hDC; - int i; - - hDC=GetDC(hMainWnd); - if(int_count < total_count) { - DO_WritePort(card,Channel_P2A, buffer[int_count]); - DI_ReadPort(card,Channel_P1A,&in_buffer[int_count]); - int_count++; - wsprintf(Buf,"INT2 Count = %d ", int_count); - TextOut(hDC,20,120,Buf,strlen(Buf)); - } - else { - DIO_INT2_EventMessage (card, INT2_DISABLE, hMainWnd, NULL, NULL); - CTR_Setup (card, 1, RATE_GENERATOR, 0, BIN); - CTR_Setup (card, 2, RATE_GENERATOR, 0, BIN); - SelectObject(hDC, GetStockObject(WHITE_BRUSH)); - SelectObject(hDC, GetStockObject(WHITE_PEN)); - Rectangle(hDC, 10, 180, 280, 320); - SelectObject(hDC, GetStockObject(BLACK_PEN)); - wsprintf(Buf,"Data from Input port: "); - TextOut(hDC,20,140,Buf,strlen(Buf)); - wsprintf(Buf,"** only shows at most 50 data **"); - TextOut(hDC,20,160,Buf,strlen(Buf)); - - for (i=0;i=10 && i<20) { - wsprintf(Buf,"%d, ",in_buffer[i]); - TextOut(hDC,20+25*(i-10),210,Buf,strlen(Buf)); - } - if(i>=20 && i<30) { - wsprintf(Buf,"%d, ",in_buffer[i]); - TextOut(hDC,20+25*(i-20),235,Buf,strlen(Buf)); - } - if (i>=30 && i<40) { - wsprintf(Buf,"%d, ",in_buffer[i]); - TextOut(hDC,20+25*(i-30),260,Buf,strlen(Buf)); - } - if (i>=40 && i<50) { - wsprintf(Buf,"%d, ",in_buffer[i]); - TextOut(hDC,20+25*(i-40),285,Buf,strlen(Buf)); - } - } - ReleaseDC(hMainWnd, hDC); - } - -} - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7248/SDK7248IntMsg/7248INT.MAK b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7248/SDK7248IntMsg/7248INT.MAK deleted file mode 100644 index a981a03..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7248/SDK7248IntMsg/7248INT.MAK +++ /dev/null @@ -1,219 +0,0 @@ -# Microsoft Developer Studio Generated NMAKE File, Format Version 4.00 -# ** DO NOT EDIT ** - -# TARGTYPE "Win32 (x86) Application" 0x0101 - -!IF "$(CFG)" == "" -CFG=7248int - Win32 Debug -!MESSAGE No configuration specified. Defaulting to 7248int - Win32 Debug. -!ENDIF - -!IF "$(CFG)" != "7248int - Win32 Release" && "$(CFG)" !=\ - "7248int - Win32 Debug" -!MESSAGE Invalid configuration "$(CFG)" specified. -!MESSAGE You can specify a configuration when running NMAKE on this makefile -!MESSAGE by defining the macro CFG on the command line. For example: -!MESSAGE -!MESSAGE NMAKE /f "7248INT.MAK" CFG="7248int - Win32 Debug" -!MESSAGE -!MESSAGE Possible choices for configuration are: -!MESSAGE -!MESSAGE "7248int - Win32 Release" (based on "Win32 (x86) Application") -!MESSAGE "7248int - Win32 Debug" (based on "Win32 (x86) Application") -!MESSAGE -!ERROR An invalid configuration is specified. -!ENDIF - -!IF "$(OS)" == "Windows_NT" -NULL= -!ELSE -NULL=nul -!ENDIF -################################################################################ -# Begin Project -# PROP Target_Last_Scanned "7248int - Win32 Debug" -MTL=mktyplib.exe -CPP=cl.exe -RSC=rc.exe - -!IF "$(CFG)" == "7248int - Win32 Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "7248int_" -# PROP BASE Intermediate_Dir "7248int_" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "" -# PROP Intermediate_Dir "Release" -# PROP Target_Dir "" -OUTDIR=. -INTDIR=.\Release - -ALL : "$(OUTDIR)\7248INT.exe" - -CLEAN : - -@erase ".\7248INT.exe" - -@erase ".\Release\7248int.obj" - -@erase ".\Release\7248int.res" - -"$(INTDIR)" : - if not exist "$(INTDIR)/$(NULL)" mkdir "$(INTDIR)" - -# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /YX /c -# ADD CPP /nologo /MT /W3 /GX /Od /I "..\..\..\include" /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /c -# SUBTRACT CPP /YX -CPP_PROJ=/nologo /MT /W3 /GX /Od /I "..\..\..\include" /D "WIN32" /D "NDEBUG"\ - /D "_WINDOWS" /Fo"$(INTDIR)/" /c -CPP_OBJS=.\Release/ -CPP_SBRS= -# ADD BASE MTL /nologo /D "NDEBUG" /win32 -# ADD MTL /nologo /D "NDEBUG" /win32 -MTL_PROJ=/nologo /D "NDEBUG" /win32 -# ADD BASE RSC /l 0x409 /d "NDEBUG" -# ADD RSC /l 0x409 /d "NDEBUG" -RSC_PROJ=/l 0x409 /fo"$(INTDIR)/7248int.res" /d "NDEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -BSC32_FLAGS=/nologo /o"$(OUTDIR)/7248INT.bsc" -BSC32_SBRS= -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:windows /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ..\..\..\lib\pci-dask.lib /nologo /subsystem:windows /machine:I386 -LINK32_FLAGS=kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib\ - advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib\ - odbccp32.lib ..\..\..\lib\pci-dask.lib /nologo /subsystem:windows\ - /incremental:no /pdb:"$(OUTDIR)/7248INT.pdb" /machine:I386\ - /out:"$(OUTDIR)/7248INT.exe" -LINK32_OBJS= \ - "$(INTDIR)/7248int.obj" \ - "$(INTDIR)/7248int.res" - -"$(OUTDIR)\7248INT.exe" : "$(OUTDIR)" $(DEF_FILE) $(LINK32_OBJS) - $(LINK32) @<< - $(LINK32_FLAGS) $(LINK32_OBJS) -<< - -!ELSEIF "$(CFG)" == "7248int - Win32 Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "Debug" -# PROP BASE Intermediate_Dir "Debug" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "" -# PROP Intermediate_Dir "Debug" -# PROP Target_Dir "" -OUTDIR=. -INTDIR=.\Debug - -ALL : "$(OUTDIR)\7248INT.exe" - -CLEAN : - -@erase ".\Debug\vc40.pdb" - -@erase ".\Debug\vc40.idb" - -@erase ".\7248INT.exe" - -@erase ".\Debug\7248int.obj" - -@erase ".\Debug\7248int.res" - -@erase ".\7248INT.ilk" - -@erase ".\7248INT.pdb" - -"$(INTDIR)" : - if not exist "$(INTDIR)/$(NULL)" mkdir "$(INTDIR)" - -# ADD BASE CPP /nologo /W3 /Gm /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /YX /c -# ADD CPP /nologo /W3 /Gm /GX /Zi /Od /I "..\..\..\include" /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /c -# SUBTRACT CPP /YX -CPP_PROJ=/nologo /MLd /W3 /Gm /GX /Zi /Od /I "..\..\..\include" /D "WIN32" /D\ - "_DEBUG" /D "_WINDOWS" /Fo"$(INTDIR)/" /Fd"$(INTDIR)/" /c -CPP_OBJS=.\Debug/ -CPP_SBRS= -# ADD BASE MTL /nologo /D "_DEBUG" /win32 -# ADD MTL /nologo /D "_DEBUG" /win32 -MTL_PROJ=/nologo /D "_DEBUG" /win32 -# ADD BASE RSC /l 0x409 /d "_DEBUG" -# ADD RSC /l 0x409 /d "_DEBUG" -RSC_PROJ=/l 0x409 /fo"$(INTDIR)/7248int.res" /d "_DEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -BSC32_FLAGS=/nologo /o"$(OUTDIR)/7248INT.bsc" -BSC32_SBRS= -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:windows /debug /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ..\..\..\lib\pci-dask.lib /nologo /subsystem:windows /debug /machine:I386 -LINK32_FLAGS=kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib\ - advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib\ - odbccp32.lib ..\..\..\lib\pci-dask.lib /nologo /subsystem:windows\ - /incremental:yes /pdb:"$(OUTDIR)/7248INT.pdb" /debug /machine:I386\ - /out:"$(OUTDIR)/7248INT.exe" -LINK32_OBJS= \ - "$(INTDIR)/7248int.obj" \ - "$(INTDIR)/7248int.res" - -"$(OUTDIR)\7248INT.exe" : "$(OUTDIR)" $(DEF_FILE) $(LINK32_OBJS) - $(LINK32) @<< - $(LINK32_FLAGS) $(LINK32_OBJS) -<< - -!ENDIF - -.c{$(CPP_OBJS)}.obj: - $(CPP) $(CPP_PROJ) $< - -.cpp{$(CPP_OBJS)}.obj: - $(CPP) $(CPP_PROJ) $< - -.cxx{$(CPP_OBJS)}.obj: - $(CPP) $(CPP_PROJ) $< - -.c{$(CPP_SBRS)}.sbr: - $(CPP) $(CPP_PROJ) $< - -.cpp{$(CPP_SBRS)}.sbr: - $(CPP) $(CPP_PROJ) $< - -.cxx{$(CPP_SBRS)}.sbr: - $(CPP) $(CPP_PROJ) $< - -################################################################################ -# Begin Target - -# Name "7248int - Win32 Release" -# Name "7248int - Win32 Debug" - -!IF "$(CFG)" == "7248int - Win32 Release" - -!ELSEIF "$(CFG)" == "7248int - Win32 Debug" - -!ENDIF - -################################################################################ -# Begin Source File - -SOURCE=.\7248int.rc - -"$(INTDIR)\7248int.res" : $(SOURCE) "$(INTDIR)" - $(RSC) $(RSC_PROJ) $(SOURCE) - - -# End Source File -################################################################################ -# Begin Source File - -SOURCE=.\7248int.c -DEP_CPP_7248I=\ - ".\..\..\..\include\Dask.h"\ - - -"$(INTDIR)\7248int.obj" : $(SOURCE) $(DEP_CPP_7248I) "$(INTDIR)" - - -# End Source File -# End Target -# End Project -################################################################################ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7248/SDK7248IntMsg/7248INT.MDP b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7248/SDK7248IntMsg/7248INT.MDP deleted file mode 100644 index a75ea44..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7248/SDK7248IntMsg/7248INT.MDP and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7248/SDK7248IntMsg/7248INT.RC b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7248/SDK7248IntMsg/7248INT.RC deleted file mode 100644 index fde01c3..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7248/SDK7248IntMsg/7248INT.RC +++ /dev/null @@ -1,124 +0,0 @@ -//Microsoft Developer Studio generated resource script. -// -#include "resource.h" - -#define APSTUDIO_READONLY_SYMBOLS -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 2 resource. -// -#define APSTUDIO_HIDDEN_SYMBOLS -#include "windows.h" -#undef APSTUDIO_HIDDEN_SYMBOLS - -///////////////////////////////////////////////////////////////////////////// -#undef APSTUDIO_READONLY_SYMBOLS - -///////////////////////////////////////////////////////////////////////////// -// English (U.S.) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -#ifdef _WIN32 -LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US -#pragma code_page(1252) -#endif //_WIN32 - -#ifdef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// TEXTINCLUDE -// - -1 TEXTINCLUDE DISCARDABLE -BEGIN - "resource.h\0" -END - -2 TEXTINCLUDE DISCARDABLE -BEGIN - "#define APSTUDIO_HIDDEN_SYMBOLS\r\n" - "#include ""windows.h""\r\n" - "#undef APSTUDIO_HIDDEN_SYMBOLS\r\n" - "\0" -END - -3 TEXTINCLUDE DISCARDABLE -BEGIN - "\r\n" - "\0" -END - -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// Menu -// - -INTMENU MENU DISCARDABLE -BEGIN - MENUITEM "Setup", IDM_SETUP - MENUITEM "Interrupt Trigger", IDM_GO - MENUITEM "Exit", IDM_CLEAR -END - - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog -// - -IDD_DIALOG1 DIALOG DISCARDABLE 0, 0, 133, 112 -STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "Setup Dialog" -FONT 10, "System" -BEGIN - DEFPUSHBUTTON "OK",IDOK,10,91,50,14 - PUSHBUTTON "Cancel",IDCANCEL,76,91,50,14 - LTEXT "Total Count",IDC_STATIC,10,34,52,12 - LTEXT "Sampling Rate",IDC_STATIC,10,59,52,12 - EDITTEXT IDC_EDIT1,63,33,63,15,ES_AUTOHSCROLL - EDITTEXT IDC_EDIT2,63,58,63,15,ES_AUTOHSCROLL - LTEXT "Card Number",IDC_STATIC,10,12,45,13 - COMBOBOX IDC_COMBO1,63,12,63,84,CBS_DROPDOWN | WS_VSCROLL | - WS_TABSTOP -END - - -///////////////////////////////////////////////////////////////////////////// -// -// DESIGNINFO -// - -#ifdef APSTUDIO_INVOKED -GUIDELINES DESIGNINFO DISCARDABLE -BEGIN - IDD_DIALOG1, DIALOG - BEGIN - LEFTMARGIN, 6 - RIGHTMARGIN, 126 - VERTGUIDE, 10 - VERTGUIDE, 89 - TOPMARGIN, 12 - BOTTOMMARGIN, 105 - HORZGUIDE, 105 - END -END -#endif // APSTUDIO_INVOKED - -#endif // English (U.S.) resources -///////////////////////////////////////////////////////////////////////////// - - - -#ifndef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 3 resource. -// - - -///////////////////////////////////////////////////////////////////////////// -#endif // not APSTUDIO_INVOKED - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7248/SDK7248IntMsg/7248int.exe b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7248/SDK7248IntMsg/7248int.exe deleted file mode 100644 index 25d4f83..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7248/SDK7248IntMsg/7248int.exe and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7248/SDK7248IntMsg/Resource.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7248/SDK7248IntMsg/Resource.h deleted file mode 100644 index 6b0eb15..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7248/SDK7248IntMsg/Resource.h +++ /dev/null @@ -1,26 +0,0 @@ -//{{NO_DEPENDENCIES}} -// Microsoft Developer Studio generated include file. -// Used by 7248int.rc -// -#define IDM_SETUP 101 -#define IDD_DIALOG1 101 -#define IDM_EXIT 110 -#define IDM_GO 300 -#define ID_STOP 304 -#define IDM_CLEAR 305 -#define IDC_COMBO1 1004 -#define IDC_COMBO2 1005 -#define IDC_EDIT1 1007 -#define IDC_EDIT2 1008 -#define IDC_STATIC -1 - -// Next default values for new objects -// -#ifdef APSTUDIO_INVOKED -#ifndef APSTUDIO_READONLY_SYMBOLS -#define _APS_NEXT_RESOURCE_VALUE 102 -#define _APS_NEXT_COMMAND_VALUE 102 -#define _APS_NEXT_CONTROL_VALUE 1008 -#define _APS_NEXT_SYMED_VALUE 101 -#endif -#endif diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7248/VB7248/7248GLBL.BAS b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7248/VB7248/7248GLBL.BAS deleted file mode 100644 index 77a2e7f..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7248/VB7248/7248GLBL.BAS +++ /dev/null @@ -1,4 +0,0 @@ -Attribute VB_Name = "Module1" -Global card As Integer -Global card_number As Integer - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7248/VB7248/Base7248.frm b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7248/VB7248/Base7248.frm deleted file mode 100644 index 1645176..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7248/VB7248/Base7248.frm +++ /dev/null @@ -1,98 +0,0 @@ -VERSION 4.00 -Begin VB.Form SettingForm - Appearance = 0 'Flat - BackColor = &H00C0C0C0& - Caption = "Card Number Setting" - ClientHeight = 1275 - ClientLeft = 4590 - ClientTop = 4545 - ClientWidth = 2820 - BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851} - Name = "MS Sans Serif" - Size = 8.25 - Charset = 0 - Weight = 700 - Underline = 0 'False - Italic = 0 'False - Strikethrough = 0 'False - EndProperty - ForeColor = &H80000008& - Height = 1680 - Left = 4530 - LinkTopic = "Form2" - ScaleHeight = 1275 - ScaleWidth = 2820 - Top = 4200 - Width = 2940 - Begin VB.CommandButton OKBtn - Appearance = 0 'Flat - BackColor = &H80000005& - Caption = "OK" - Default = -1 'True - Height = 315 - Left = 300 - TabIndex = 0 - Top = 720 - Width = 915 - End - Begin VB.CommandButton CancelBtn - Appearance = 0 'Flat - BackColor = &H80000005& - Cancel = -1 'True - Caption = "Cancel" - Height = 315 - Left = 1380 - TabIndex = 3 - Top = 720 - Width = 915 - End - Begin VB.ComboBox CardNum - Appearance = 0 'Flat - Height = 300 - Left = 1440 - Style = 2 'Dropdown List - TabIndex = 2 - Top = 120 - Width = 1035 - End - Begin VB.Label Label2 - Appearance = 0 'Flat - BackColor = &H00C0C0C0& - Caption = "Card Number:" - ForeColor = &H00000000& - Height = 195 - Index = 0 - Left = 180 - TabIndex = 1 - Top = 180 - Width = 1275 - End -End -Attribute VB_Name = "SettingForm" -Attribute VB_Creatable = False -Attribute VB_Exposed = False - - -Private Sub BaseAddr_Change() - -End Sub - - -Private Sub CancelBtn_Click() - Unload SettingForm -End Sub - -Private Sub Form_Load() - Dim i As Long - For i = 0 To 15 Step 1 - CardNum.AddItem i - Next - CardNum.ListIndex = 0 -End Sub - -Private Sub OKBtn_Click() - card_number = CardNum.ListIndex - card = Register_Card(PCI_7248, card_number) - Unload SettingForm -End Sub - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7248/VB7248/DIA_1.BMP b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7248/VB7248/DIA_1.BMP deleted file mode 100644 index 5b799e3..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7248/VB7248/DIA_1.BMP and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7248/VB7248/DIB_1.BMP b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7248/VB7248/DIB_1.BMP deleted file mode 100644 index 5d46b17..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7248/VB7248/DIB_1.BMP and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7248/VB7248/DIC_1.BMP b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7248/VB7248/DIC_1.BMP deleted file mode 100644 index f4d15c0..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7248/VB7248/DIC_1.BMP and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7248/VB7248/DI_0.BMP b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7248/VB7248/DI_0.BMP deleted file mode 100644 index 66e3384..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7248/VB7248/DI_0.BMP and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7248/VB7248/DI_1.BMP b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7248/VB7248/DI_1.BMP deleted file mode 100644 index d7da598..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7248/VB7248/DI_1.BMP and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7248/VB7248/DOA_1.BMP b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7248/VB7248/DOA_1.BMP deleted file mode 100644 index 5edd2df..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7248/VB7248/DOA_1.BMP and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7248/VB7248/DOB_1.BMP b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7248/VB7248/DOB_1.BMP deleted file mode 100644 index b5189d7..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7248/VB7248/DOB_1.BMP and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7248/VB7248/DOC_1.BMP b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7248/VB7248/DOC_1.BMP deleted file mode 100644 index 30f909f..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7248/VB7248/DOC_1.BMP and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7248/VB7248/DO_0.BMP b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7248/VB7248/DO_0.BMP deleted file mode 100644 index 81b0c50..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7248/VB7248/DO_0.BMP and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7248/VB7248/DO_1.BMP b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7248/VB7248/DO_1.BMP deleted file mode 100644 index 30f909f..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7248/VB7248/DO_1.BMP and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7248/VB7248/INPUT.BMP b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7248/VB7248/INPUT.BMP deleted file mode 100644 index b795ac8..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7248/VB7248/INPUT.BMP and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7248/VB7248/OUTPUT.BMP b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7248/VB7248/OUTPUT.BMP deleted file mode 100644 index 8907a70..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7248/VB7248/OUTPUT.BMP and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7248/VB7248/UTIL7248.FRM b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7248/VB7248/UTIL7248.FRM deleted file mode 100644 index 1225ffc..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7248/VB7248/UTIL7248.FRM +++ /dev/null @@ -1,1231 +0,0 @@ -VERSION 4.00 -Begin VB.Form uti48dio - Appearance = 0 'Flat - BackColor = &H00C0C0C0& - Caption = "PCI-7248 Sample Program" - ClientHeight = 1890 - ClientLeft = 120 - ClientTop = 2370 - ClientWidth = 7680 - BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851} - Name = "MS Sans Serif" - Size = 8.25 - Charset = 0 - Weight = 700 - Underline = 0 'False - Italic = 0 'False - Strikethrough = 0 'False - EndProperty - ForeColor = &H80000008& - Height = 2580 - Left = 60 - LinkTopic = "Form1" - ScaleHeight = 1890 - ScaleWidth = 7680 - Top = 1740 - Width = 7800 - Begin VB.Timer Timer1 - Interval = 100 - Left = 7080 - Top = 1680 - End - Begin VB.Frame Frame1 - Appearance = 0 'Flat - BackColor = &H00C0C0C0& - Caption = "Port C (Lower)" - BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851} - Name = "Times New Roman" - Size = 8.25 - Charset = 0 - Weight = 400 - Underline = 0 'False - Italic = 0 'False - Strikethrough = 0 'False - EndProperty - ForeColor = &H00FF0000& - Height = 1455 - Index = 3 - Left = 6300 - TabIndex = 2 - Top = 120 - Width = 1275 - Begin VB.Image output_cl - Appearance = 0 'Flat - Height = 165 - Index = 1 - Left = 1035 - Picture = "UTIL7248.frx":0000 - Top = 1035 - Width = 165 - End - Begin VB.Image output_cl - Appearance = 0 'Flat - Height = 165 - Index = 0 - Left = 1035 - Picture = "UTIL7248.frx":00DA - Top = 555 - Width = 165 - End - Begin VB.Image input_cl - Appearance = 0 'Flat - Height = 165 - Index = 1 - Left = 1035 - Picture = "UTIL7248.frx":01B4 - Top = 840 - Width = 165 - End - Begin VB.Image input_cl - Appearance = 0 'Flat - Height = 165 - Index = 0 - Left = 1035 - Picture = "UTIL7248.frx":028E - Top = 360 - Width = 165 - End - Begin VB.Image bit_cl - Appearance = 0 'Flat - Height = 180 - Index = 7 - Left = 120 - Picture = "UTIL7248.frx":0368 - Top = 960 - Width = 180 - End - Begin VB.Image bit_cl - Appearance = 0 'Flat - Height = 180 - Index = 6 - Left = 330 - Picture = "UTIL7248.frx":044A - Top = 960 - Width = 180 - End - Begin VB.Image bit_cl - Appearance = 0 'Flat - Height = 180 - Index = 5 - Left = 540 - Picture = "UTIL7248.frx":052C - Top = 960 - Width = 180 - End - Begin VB.Image bit_cl - Appearance = 0 'Flat - Height = 180 - Index = 4 - Left = 750 - Picture = "UTIL7248.frx":060E - Top = 960 - Width = 180 - End - Begin VB.Image bit_cl - Appearance = 0 'Flat - Height = 180 - Index = 3 - Left = 120 - Picture = "UTIL7248.frx":06F0 - Top = 480 - Width = 180 - End - Begin VB.Image bit_cl - Appearance = 0 'Flat - Height = 180 - Index = 2 - Left = 330 - Picture = "UTIL7248.frx":07D2 - Top = 480 - Width = 180 - End - Begin VB.Image bit_cl - Appearance = 0 'Flat - Height = 180 - Index = 1 - Left = 540 - Picture = "UTIL7248.frx":08B4 - Top = 480 - Width = 180 - End - Begin VB.Image bit_cl - Appearance = 0 'Flat - Height = 180 - Index = 0 - Left = 750 - Picture = "UTIL7248.frx":0996 - Top = 480 - Width = 180 - End - Begin VB.Shape Shape_cl - BorderColor = &H00C0C0C0& - FillColor = &H00FF0000& - FillStyle = 0 'Solid - Height = 375 - Index = 1 - Left = 60 - Top = 840 - Width = 960 - End - Begin VB.Shape Shape_cl - BorderColor = &H00C0C0C0& - FillColor = &H00FF0000& - FillStyle = 0 'Solid - Height = 375 - Index = 0 - Left = 60 - Top = 360 - Width = 960 - End - End - Begin VB.Frame Frame1 - Appearance = 0 'Flat - BackColor = &H00C0C0C0& - Caption = "Port C (Upper)" - BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851} - Name = "Times New Roman" - Size = 8.25 - Charset = 0 - Weight = 400 - Underline = 0 'False - Italic = 0 'False - Strikethrough = 0 'False - EndProperty - ForeColor = &H00FF0000& - Height = 1455 - Index = 2 - Left = 2820 - TabIndex = 3 - Top = 120 - Width = 1275 - Begin VB.Image output_cu - Appearance = 0 'Flat - Height = 165 - Index = 1 - Left = 1035 - Picture = "UTIL7248.frx":0A78 - Top = 1035 - Width = 165 - End - Begin VB.Image output_cu - Appearance = 0 'Flat - Height = 165 - Index = 0 - Left = 1035 - Picture = "UTIL7248.frx":0B52 - Top = 555 - Width = 165 - End - Begin VB.Image input_cu - Appearance = 0 'Flat - Height = 165 - Index = 1 - Left = 1035 - Picture = "UTIL7248.frx":0C2C - Top = 840 - Width = 165 - End - Begin VB.Image input_cu - Appearance = 0 'Flat - Height = 165 - Index = 0 - Left = 1035 - Picture = "UTIL7248.frx":0D06 - Top = 360 - Width = 165 - End - Begin VB.Image bit_cu - Appearance = 0 'Flat - Height = 180 - Index = 7 - Left = 120 - Picture = "UTIL7248.frx":0DE0 - Top = 960 - Width = 180 - End - Begin VB.Image bit_cu - Appearance = 0 'Flat - Height = 180 - Index = 6 - Left = 330 - Picture = "UTIL7248.frx":0EC2 - Top = 960 - Width = 180 - End - Begin VB.Image bit_cu - Appearance = 0 'Flat - Height = 180 - Index = 5 - Left = 540 - Picture = "UTIL7248.frx":0FA4 - Top = 960 - Width = 180 - End - Begin VB.Image bit_cu - Appearance = 0 'Flat - Height = 180 - Index = 4 - Left = 750 - Picture = "UTIL7248.frx":1086 - Top = 960 - Width = 180 - End - Begin VB.Image bit_cu - Appearance = 0 'Flat - Height = 180 - Index = 3 - Left = 120 - Picture = "UTIL7248.frx":1168 - Top = 480 - Width = 180 - End - Begin VB.Image bit_cu - Appearance = 0 'Flat - Height = 180 - Index = 2 - Left = 330 - Picture = "UTIL7248.frx":124A - Top = 480 - Width = 180 - End - Begin VB.Image bit_cu - Appearance = 0 'Flat - Height = 180 - Index = 1 - Left = 540 - Picture = "UTIL7248.frx":132C - Top = 480 - Width = 180 - End - Begin VB.Image bit_cu - Appearance = 0 'Flat - Height = 180 - Index = 0 - Left = 750 - Picture = "UTIL7248.frx":140E - Top = 480 - Width = 180 - End - Begin VB.Shape Shape_cu - BorderColor = &H00C0C0C0& - FillColor = &H00FF0000& - FillStyle = 0 'Solid - Height = 375 - Index = 0 - Left = 60 - Top = 360 - Width = 960 - End - Begin VB.Shape Shape_cu - BorderColor = &H00C0C0C0& - FillColor = &H00FF0000& - FillStyle = 0 'Solid - Height = 375 - Index = 1 - Left = 60 - Top = 840 - Width = 960 - End - End - Begin VB.Frame Frame1 - Appearance = 0 'Flat - BackColor = &H00C0C0C0& - Caption = "Port B" - BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851} - Name = "Times New Roman" - Size = 8.25 - Charset = 0 - Weight = 400 - Underline = 0 'False - Italic = 0 'False - Strikethrough = 0 'False - EndProperty - ForeColor = &H00FF0000& - Height = 1455 - Index = 1 - Left = 4140 - TabIndex = 4 - Top = 120 - Width = 2115 - Begin VB.Image output_b - Appearance = 0 'Flat - Height = 165 - Index = 1 - Left = 1875 - Picture = "UTIL7248.frx":14F0 - Top = 1035 - Width = 165 - End - Begin VB.Image output_b - Appearance = 0 'Flat - Height = 165 - Index = 0 - Left = 1875 - Picture = "UTIL7248.frx":15CA - Top = 555 - Width = 165 - End - Begin VB.Image input_b - Appearance = 0 'Flat - Height = 165 - Index = 1 - Left = 1875 - Picture = "UTIL7248.frx":16A4 - Top = 840 - Width = 165 - End - Begin VB.Image input_b - Appearance = 0 'Flat - Height = 165 - Index = 0 - Left = 1875 - Picture = "UTIL7248.frx":177E - Top = 360 - Width = 165 - End - Begin VB.Image bit_b - Appearance = 0 'Flat - Height = 180 - Index = 15 - Left = 120 - Picture = "UTIL7248.frx":1858 - Top = 960 - Width = 180 - End - Begin VB.Image bit_b - Appearance = 0 'Flat - Height = 180 - Index = 14 - Left = 330 - Picture = "UTIL7248.frx":193A - Top = 960 - Width = 180 - End - Begin VB.Image bit_b - Appearance = 0 'Flat - Height = 180 - Index = 13 - Left = 540 - Picture = "UTIL7248.frx":1A1C - Top = 960 - Width = 180 - End - Begin VB.Image bit_b - Appearance = 0 'Flat - Height = 180 - Index = 12 - Left = 750 - Picture = "UTIL7248.frx":1AFE - Top = 960 - Width = 180 - End - Begin VB.Image bit_b - Appearance = 0 'Flat - Height = 180 - Index = 11 - Left = 960 - Picture = "UTIL7248.frx":1BE0 - Top = 960 - Width = 180 - End - Begin VB.Image bit_b - Appearance = 0 'Flat - Height = 180 - Index = 10 - Left = 1170 - Picture = "UTIL7248.frx":1CC2 - Top = 960 - Width = 180 - End - Begin VB.Image bit_b - Appearance = 0 'Flat - Height = 180 - Index = 9 - Left = 1380 - Picture = "UTIL7248.frx":1DA4 - Top = 960 - Width = 180 - End - Begin VB.Image bit_b - Appearance = 0 'Flat - Height = 180 - Index = 8 - Left = 1590 - Picture = "UTIL7248.frx":1E86 - Top = 960 - Width = 180 - End - Begin VB.Image bit_b - Appearance = 0 'Flat - Height = 180 - Index = 7 - Left = 120 - Picture = "UTIL7248.frx":1F68 - Top = 480 - Width = 180 - End - Begin VB.Image bit_b - Appearance = 0 'Flat - Height = 180 - Index = 6 - Left = 330 - Picture = "UTIL7248.frx":204A - Top = 480 - Width = 180 - End - Begin VB.Image bit_b - Appearance = 0 'Flat - Height = 180 - Index = 5 - Left = 540 - Picture = "UTIL7248.frx":212C - Top = 480 - Width = 180 - End - Begin VB.Image bit_b - Appearance = 0 'Flat - Height = 180 - Index = 4 - Left = 750 - Picture = "UTIL7248.frx":220E - Top = 480 - Width = 180 - End - Begin VB.Image bit_b - Appearance = 0 'Flat - Height = 180 - Index = 3 - Left = 960 - Picture = "UTIL7248.frx":22F0 - Top = 480 - Width = 180 - End - Begin VB.Image bit_b - Appearance = 0 'Flat - Height = 180 - Index = 2 - Left = 1170 - Picture = "UTIL7248.frx":23D2 - Top = 480 - Width = 180 - End - Begin VB.Image bit_b - Appearance = 0 'Flat - Height = 180 - Index = 1 - Left = 1380 - Picture = "UTIL7248.frx":24B4 - Top = 480 - Width = 180 - End - Begin VB.Image bit_b - Appearance = 0 'Flat - Height = 180 - Index = 0 - Left = 1590 - Picture = "UTIL7248.frx":2596 - Top = 480 - Width = 180 - End - Begin VB.Shape Shape_b - BorderColor = &H00C0C0C0& - FillColor = &H00FF0000& - FillStyle = 0 'Solid - Height = 375 - Index = 0 - Left = 60 - Top = 360 - Width = 1800 - End - Begin VB.Shape Shape_b - BorderColor = &H00C0C0C0& - FillColor = &H00FF0000& - FillStyle = 0 'Solid - Height = 375 - Index = 1 - Left = 60 - Top = 840 - Width = 1800 - End - End - Begin VB.Frame Frame1 - Appearance = 0 'Flat - BackColor = &H00C0C0C0& - Caption = "Port A" - BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851} - Name = "Times New Roman" - Size = 8.25 - Charset = 0 - Weight = 400 - Underline = 0 'False - Italic = 0 'False - Strikethrough = 0 'False - EndProperty - ForeColor = &H00FF0000& - Height = 1455 - Index = 0 - Left = 660 - TabIndex = 0 - Top = 120 - Width = 2115 - Begin VB.Image output_a - Appearance = 0 'Flat - Height = 165 - Index = 1 - Left = 1875 - Picture = "UTIL7248.frx":2678 - Top = 1035 - Width = 165 - End - Begin VB.Image output_a - Appearance = 0 'Flat - Height = 165 - Index = 0 - Left = 1875 - Picture = "UTIL7248.frx":2752 - Top = 555 - Width = 165 - End - Begin VB.Image input_a - Appearance = 0 'Flat - Height = 165 - Index = 1 - Left = 1875 - Picture = "UTIL7248.frx":282C - Top = 840 - Width = 165 - End - Begin VB.Image input_a - Appearance = 0 'Flat - Height = 165 - Index = 0 - Left = 1875 - Picture = "UTIL7248.frx":2906 - Top = 360 - Width = 165 - End - Begin VB.Image bit_a - Appearance = 0 'Flat - Height = 180 - Index = 15 - Left = 120 - Picture = "UTIL7248.frx":29E0 - Top = 960 - Width = 180 - End - Begin VB.Image bit_a - Appearance = 0 'Flat - Height = 180 - Index = 14 - Left = 330 - Picture = "UTIL7248.frx":2AC2 - Top = 960 - Width = 180 - End - Begin VB.Image bit_a - Appearance = 0 'Flat - Height = 180 - Index = 13 - Left = 540 - Picture = "UTIL7248.frx":2BA4 - Top = 960 - Width = 180 - End - Begin VB.Image bit_a - Appearance = 0 'Flat - Height = 180 - Index = 12 - Left = 750 - Picture = "UTIL7248.frx":2C86 - Top = 960 - Width = 180 - End - Begin VB.Image bit_a - Appearance = 0 'Flat - Height = 180 - Index = 11 - Left = 960 - Picture = "UTIL7248.frx":2D68 - Top = 960 - Width = 180 - End - Begin VB.Image bit_a - Appearance = 0 'Flat - Height = 180 - Index = 10 - Left = 1170 - Picture = "UTIL7248.frx":2E4A - Top = 960 - Width = 180 - End - Begin VB.Image bit_a - Appearance = 0 'Flat - Height = 180 - Index = 9 - Left = 1380 - Picture = "UTIL7248.frx":2F2C - Top = 960 - Width = 180 - End - Begin VB.Image bit_a - Appearance = 0 'Flat - Height = 180 - Index = 8 - Left = 1590 - Picture = "UTIL7248.frx":300E - Top = 960 - Width = 180 - End - Begin VB.Shape Shape_a - BorderColor = &H00C0C0C0& - FillColor = &H00FF0000& - FillStyle = 0 'Solid - Height = 375 - Index = 1 - Left = 60 - Top = 840 - Width = 1800 - End - Begin VB.Image bit_a - Appearance = 0 'Flat - Height = 180 - Index = 7 - Left = 120 - Picture = "UTIL7248.frx":30F0 - Top = 480 - Width = 180 - End - Begin VB.Image bit_a - Appearance = 0 'Flat - Height = 180 - Index = 6 - Left = 330 - Picture = "UTIL7248.frx":31D2 - Top = 480 - Width = 180 - End - Begin VB.Image bit_a - Appearance = 0 'Flat - Height = 180 - Index = 5 - Left = 540 - Picture = "UTIL7248.frx":32B4 - Top = 480 - Width = 180 - End - Begin VB.Image bit_a - Appearance = 0 'Flat - Height = 180 - Index = 4 - Left = 750 - Picture = "UTIL7248.frx":3396 - Top = 480 - Width = 180 - End - Begin VB.Image bit_a - Appearance = 0 'Flat - Height = 180 - Index = 3 - Left = 960 - Picture = "UTIL7248.frx":3478 - Top = 480 - Width = 180 - End - Begin VB.Image bit_a - Appearance = 0 'Flat - Height = 180 - Index = 2 - Left = 1170 - Picture = "UTIL7248.frx":355A - Top = 480 - Width = 180 - End - Begin VB.Image bit_a - Appearance = 0 'Flat - Height = 180 - Index = 1 - Left = 1380 - Picture = "UTIL7248.frx":363C - Top = 480 - Width = 180 - End - Begin VB.Image bit_a - Appearance = 0 'Flat - Height = 180 - Index = 0 - Left = 1590 - Picture = "UTIL7248.frx":371E - Top = 480 - Width = 180 - End - Begin VB.Shape Shape_a - BorderColor = &H00C0C0C0& - FillColor = &H00FF0000& - FillStyle = 0 'Solid - Height = 375 - Index = 0 - Left = 60 - Top = 360 - Width = 1800 - End - End - Begin VB.Image doc_1 - Appearance = 0 'Flat - Height = 180 - Left = 1380 - Picture = "UTIL7248.frx":3800 - Top = 4680 - Visible = 0 'False - Width = 180 - End - Begin VB.Image dic_1 - Appearance = 0 'Flat - Height = 180 - Left = 1380 - Picture = "UTIL7248.frx":38E2 - Top = 4500 - Visible = 0 'False - Width = 180 - End - Begin VB.Image dib_1 - Appearance = 0 'Flat - Height = 180 - Left = 1080 - Picture = "UTIL7248.frx":39C4 - Top = 4500 - Visible = 0 'False - Width = 180 - End - Begin VB.Image dob_1 - Appearance = 0 'Flat - Height = 180 - Left = 1080 - Picture = "UTIL7248.frx":3AA6 - Top = 4680 - Visible = 0 'False - Width = 180 - End - Begin VB.Label Label1 - Appearance = 0 'Flat - BackColor = &H00C0C0C0& - Caption = "Ch1" - ForeColor = &H00FF0000& - Height = 195 - Index = 0 - Left = 180 - TabIndex = 1 - Top = 570 - Width = 375 - End - Begin VB.Label Label1 - Appearance = 0 'Flat - BackColor = &H00C0C0C0& - Caption = "Ch2" - ForeColor = &H00FF0000& - Height = 195 - Index = 1 - Left = 180 - TabIndex = 5 - Top = 1050 - Width = 375 - End - Begin VB.Shape Shape3 - BackColor = &H00C0C0C0& - FillColor = &H00C0C0C0& - FillStyle = 0 'Solid - Height = 1335 - Left = 120 - Top = 230 - Width = 495 - End - Begin VB.Image doa_1 - Appearance = 0 'Flat - Height = 180 - Left = 780 - Picture = "UTIL7248.frx":3B88 - Top = 4680 - Visible = 0 'False - Width = 180 - End - Begin VB.Image do_0 - Appearance = 0 'Flat - Height = 180 - Left = 480 - Picture = "UTIL7248.frx":3C6A - Top = 4680 - Visible = 0 'False - Width = 180 - End - Begin VB.Image dia_1 - Appearance = 0 'Flat - Height = 180 - Left = 780 - Picture = "UTIL7248.frx":3D4C - Top = 4500 - Visible = 0 'False - Width = 180 - End - Begin VB.Image di_0 - Appearance = 0 'Flat - Height = 180 - Left = 480 - Picture = "UTIL7248.frx":3E2E - Top = 4500 - Visible = 0 'False - Width = 180 - End - Begin VB.Menu mnuExit - Caption = "E&xit!" - End -End -Attribute VB_Name = "uti48dio" -Attribute VB_Creatable = False -Attribute VB_Exposed = False -Option Explicit - -Const INPUT_COLOR = &HFF00FF -Const OUTPUT_COLOR = &HFF0000 - -Dim value_a(0 To 1) As Long, value_b(0 To 1) As Long, value_cu(0 To 1) As Long, value_cl(0 To 1) As Long -Dim status_a(0 To 1) As Integer, status_b(0 To 1) As Integer, status_cu(0 To 1) As Long, status_cl(0 To 1) As Integer - -Private Sub bit_a_Click(Index As Integer) - Dim Channel As Integer - Dim bit As Integer - Dim result As Integer - Channel = Int(Index / 8) - bit = Index Mod 8 - If status_a(Channel) = OUTPUT_PORT Then - If (Int((value_a(Channel) / (2 ^ bit))) Mod 2) = 1 Then - bit_a(Index) = do_0 - value_a(Channel) = value_a(Channel) - (2 ^ bit) - Else 'bit is 0 - bit_a(Index) = doa_1 - value_a(Channel) = value_a(Channel) + (2 ^ bit) - End If - 'result = W_7248_DO(0, Channel * 5 + Channel_P1A, value_a(Channel)) - result = DO_WritePort(card, Channel * 5 + Channel_P1A, value_a(Channel)) - End If -End Sub - -Private Sub bit_b_Click(Index As Integer) - Dim Channel As Integer - Dim bit As Integer - Dim result As Integer - Channel = Int(Index / 8) - bit = Index Mod 8 - If status_b(Channel) = OUTPUT_PORT Then - If (Int((value_b(Channel) / (2 ^ bit))) Mod 2) = 1 Then - bit_b(Index) = do_0 - value_b(Channel) = value_b(Channel) - (2 ^ bit) - Else 'bit is 0 - bit_b(Index) = dob_1 - value_b(Channel) = value_b(Channel) + (2 ^ bit) - End If - 'result = W_7248_DO(0, Channel * 5 + Channel_P1B, value_b(Channel)) - result = DO_WritePort(card, Channel * 5 + Channel_P1B, value_b(Channel)) - End If -End Sub - -Private Sub bit_cl_Click(Index As Integer) - Dim Channel As Integer - Dim bit As Integer - Dim result As Integer - Channel = Int(Index / 4) - bit = Index Mod 4 - If status_cl(Channel) = OUTPUT_PORT Then - If (Int((value_cl(Channel) / (2 ^ bit))) Mod 2) = 1 Then - bit_cl(Index) = do_0 - value_cl(Channel) = value_cl(Channel) - (2 ^ bit) - Else 'bit is 0 - bit_cl(Index) = doc_1 - value_cl(Channel) = value_cl(Channel) + (2 ^ bit) - End If - 'result = W_7248_DO(0, Channel * 5 + Channel_P1CL, value_cl(Channel)) - result = DO_WritePort(card, Channel * 5 + Channel_P1CL, value_cl(Channel)) - End If -End Sub - -Private Sub bit_cu_Click(Index As Integer) - Dim Channel As Integer - Dim bit As Integer - Dim result As Integer - Channel = Int(Index / 4) - bit = Index Mod 4 - If status_cu(Channel) = OUTPUT_PORT Then - If (Int((value_cu(Channel) / (2 ^ bit))) Mod 2) = 1 Then - bit_cu(Index) = do_0 - value_cu(Channel) = value_cu(Channel) - (2 ^ bit) - Else 'bit is 0 - bit_cu(Index) = doc_1 - value_cu(Channel) = value_cu(Channel) + (2 ^ bit) - End If - 'result = W_7248_DO(0, Channel * 5 + Channel_P1CH, value_cu(Channel)) - result = DO_WritePort(card, Channel * 5 + Channel_P1CH, value_cu(Channel)) - End If -End Sub - -Private Sub Card_Initial() - Dim i As Integer, j As Integer - Dim result As Integer - - For i = 0 To 1 'Initial status is Output for all channels - result = DIO_PortConfig(card, i * 5 + Channel_P1A, OUTPUT_PORT) - Shape_a(i).FillColor = OUTPUT_COLOR - status_a(i) = OUTPUT_PORT - For j = 0 To 7 - bit_a(i * 8 + j) = doa_1 - Next j - value_a(i) = &HFF - result = DO_WritePort(card, i * 5 + Channel_P1A, value_a(i)) - - result = DIO_PortConfig(card, i * 5 + Channel_P1B, OUTPUT_PORT) - Shape_b(i).FillColor = OUTPUT_COLOR - status_b(i) = OUTPUT_PORT - For j = 0 To 7 - bit_b(i * 8 + j) = dob_1 - Next j - value_b(i) = &HFF - result = DO_WritePort(card, i * 5 + Channel_P1B, value_b(i)) - - result = DIO_PortConfig(card, i * 5 + Channel_P1CH, OUTPUT_PORT) - Shape_cu(i).FillColor = OUTPUT_COLOR - status_cu(i) = OUTPUT_PORT - For j = 0 To 3 - bit_cu(i * 4 + j) = doc_1 - Next j - value_cu(i) = &HF - result = DO_WritePort(card, i * 5 + Channel_P1CH, value_cu(i)) - - result = DIO_PortConfig(card, i * 5 + Channel_P1CL, OUTPUT_PORT) - Shape_cl(i).FillColor = OUTPUT_COLOR - status_cl(i) = OUTPUT_PORT - For j = 0 To 3 - bit_cl(i * 4 + j) = doc_1 - Next j - value_cl(i) = &HF - result = DO_WritePort(card, i * 5 + Channel_P1CL, value_cl(i)) - Next i -End Sub - -Private Sub Form_Load() - SettingForm.Show 1 - If card < 0 Then - MsgBox "Register Card Failed" - End - End If - Card_Initial -End Sub - -Private Sub Form_Unload(Cancel As Integer) - Dim result As Integer - If card >= 0 Then - result = Release_Card(card) - End If - End -End Sub - - -Private Sub input_a_Click(Index As Integer) - Dim result As Integer - Shape_a(Index).FillColor = INPUT_COLOR - InputAndShow Index, Channel_P1A - status_a(Index) = INPUT_PORT - 'result = W_7248_Config_Port(0, Index * 5 + Channel_P1A, INPUT_PORT) - result = DIO_PortConfig(card, Index * 5 + Channel_P1A, INPUT_PORT) -End Sub - -Private Sub input_b_Click(Index As Integer) - Dim result As Integer - Shape_b(Index).FillColor = INPUT_COLOR - InputAndShow Index, Channel_P1B - status_b(Index) = INPUT_PORT - 'result = W_7248_Config_Port(0, Index * 5 + Channel_P1B, INPUT_PORT) - result = DIO_PortConfig(card, Index * 5 + Channel_P1B, INPUT_PORT) -End Sub - -Private Sub input_cl_Click(Index As Integer) - Dim result As Integer - Shape_cl(Index).FillColor = INPUT_COLOR - InputAndShow Index, Channel_P1CL - status_cl(Index) = INPUT_PORT - 'result = W_7248_Config_Port(0, Index * 5 + Channel_P1CL, INPUT_PORT) - result = DIO_PortConfig(card, Index * 5 + Channel_P1CL, INPUT_PORT) -End Sub - -Private Sub input_cu_Click(Index As Integer) - Dim result As Integer - Shape_cu(Index).FillColor = INPUT_COLOR - InputAndShow Index, Channel_P1CH - status_cu(Index) = INPUT_PORT - result = DIO_PortConfig(card, Index * 5 + Channel_P1CH, INPUT_PORT) -End Sub - -Private Sub InputAndShow(ByVal Channel As Integer, ByVal Port As Integer) - Dim databyte As Long - Dim result As Integer - Dim i As Integer, k As Integer - Dim p As Integer, q As Integer, r As Integer - result = DI_ReadPort(card, Channel * 5 + Port, databyte) - p = databyte - Select Case Port - Case Channel_P1A - k = Channel * 8 - For i = k To k + 7 - r = p Mod 2 - If r = 0 Then - bit_a(i) = di_0 - Else 'r = 1 - bit_a(i) = dia_1 - End If - p = Int(p / 2) - Next - value_a(Channel) = databyte - Case Channel_P1B - k = Channel * 8 - For i = k To k + 7 - r = p Mod 2 - If r = 0 Then - bit_b(i) = di_0 - Else 'r = 1 - bit_b(i) = dib_1 - End If - p = Int(p / 2) - Next - value_b(Channel) = databyte - Case Channel_P1CH - k = Channel * 4 - For i = k To k + 3 - r = p Mod 2 - If r = 0 Then - bit_cu(i) = di_0 - Else 'r = 1 - bit_cu(i) = dic_1 - End If - p = Int(p / 2) - Next - value_cu(Channel) = databyte - Case Channel_P1CL - k = Channel * 4 - For i = k To k + 3 - r = p Mod 2 - If r = 0 Then - bit_cl(i) = di_0 - Else 'r = 1 - bit_cl(i) = dic_1 - End If - p = Int(p / 2) - Next - value_cl(Channel) = databyte -' Case PORTC -' q = 0 -' k = channel * 8 -' For i = k To k + 3 -' r = p Mod 2 -' If r = 0 Then -' bit_cl(i) = di_0 -' Else 'r = 1 -' bit_cl(i) = dic_1 -' End If -' q = q + bit_cl(i) * 2 ^ (i - k) -' p = Int(p / 2) -' Next -' value_cl(channel) = q -' value_cu(channel) = p -' For i = k To k + 3 -' If r = 0 Then -' bit_cu(i) = di_0 -' Else 'r = 1 -' bit_cu(i) = dic_1 -' End If -' p = Int(p / 2) -' Next - End Select -End Sub - -Private Sub mnuExit_Click() - Dim result As Integer - If card >= 0 Then - result = Release_Card(card) - End If - End -End Sub - -Private Sub output_a_Click(Index As Integer) - Dim i As Integer, k As Integer - Shape_a(Index).FillColor = OUTPUT_COLOR - value_a(Index) = &HFF - k = Index * 8 - For i = k To k + 7 - bit_a(i) = doa_1 - Next - 'k = W_7248_Config_Port(0, Index * 5 + Channel_P1A, OUTPUT_PORT) - k = DIO_PortConfig(card, Index * 5 + Channel_P1A, OUTPUT_PORT) - 'k = W_7248_DO(0, Index * 5 + Channel_P1A, &HFF) - k = DO_WritePort(card, Index * 5 + Channel_P1A, &HFF) - status_a(Index) = OUTPUT_PORT -End Sub - -Private Sub output_b_Click(Index As Integer) - Dim i As Integer, k As Integer - Shape_b(Index).FillColor = OUTPUT_COLOR - value_b(Index) = &HFF - k = Index * 8 - For i = k To k + 7 - bit_b(i) = dob_1 - Next - 'k = W_7248_Config_Port(0, Index * 5 + Channel_P1B, OUTPUT_PORT) - k = DIO_PortConfig(card, Index * 5 + Channel_P1B, OUTPUT_PORT) - 'k = W_7248_DO(0, Index * 5 + Channel_P1B, &HFF) - k = DO_WritePort(card, Index * 5 + Channel_P1B, &HFF) - status_b(Index) = OUTPUT_PORT -End Sub - -Private Sub output_cl_Click(Index As Integer) - Dim i As Integer, k As Integer - Shape_cl(Index).FillColor = OUTPUT_COLOR - value_cl(Index) = &HF - k = Index * 4 - For i = k To k + 3 - bit_cl(i) = doc_1 - Next - 'k = W_7248_Config_Port(0, Index * 5 + Channel_P1CL, OUTPUT_PORT) - k = DIO_PortConfig(card, Index * 5 + Channel_P1CL, OUTPUT_PORT) - 'k = W_7248_DO(0, Index * 5 + Channel_P1CL, &HF) - k = DO_WritePort(card, Index * 5 + Channel_P1CL, &HF) - status_cl(Index) = OUTPUT_PORT -End Sub - -Private Sub output_cu_Click(Index As Integer) - Dim i As Integer, k As Integer - Shape_cu(Index).FillColor = OUTPUT_COLOR - value_cu(Index) = &HF - k = Index * 4 - For i = k To k + 3 - bit_cu(i) = doc_1 - Next - 'k = W_7248_Config_Port(0, Index * 5 + Channel_P1CH, OUTPUT_PORT) - k = DIO_PortConfig(card, Index * 5 + Channel_P1CH, OUTPUT_PORT) - 'k = W_7248_DO(0, Index * 5 + Channel_P1CH, &HF) - k = DO_WritePort(card, Index * 5 + Channel_P1CH, &HF) - status_cu(Index) = OUTPUT_PORT -End Sub - -Private Sub Timer1_Timer() - Dim i As Integer, result As Long - For i = 0 To 1 - If status_a(i) = INPUT_PORT Then - InputAndShow i, Channel_P1A - End If - If status_b(i) = INPUT_PORT Then - InputAndShow i, Channel_P1B - End If - If status_cl(i) = INPUT_PORT Then - InputAndShow i, Channel_P1CL - End If - If status_cu(i) = INPUT_PORT Then - InputAndShow i, Channel_P1CH - End If - Next -End Sub - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7248/VB7248/UTIL7248.FRX b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7248/VB7248/UTIL7248.FRX deleted file mode 100644 index 26cb85e..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7248/VB7248/UTIL7248.FRX and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7248/VB7248/Util7248.Vbp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7248/VB7248/Util7248.Vbp deleted file mode 100644 index f14a472..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7248/VB7248/Util7248.Vbp +++ /dev/null @@ -1,19 +0,0 @@ -Form=UTIL7248.FRM -Module=DASK; ..\..\..\Include\Dask.bas -Module=Module1; 7248glbl.bas -Form=Base7248.frm -Reference=*\G{00025E04-0000-0000-C000-000000000046}#2.5#0#D:\Program Files\Common Files\Microsoft Shared\DD:\Program Fil#Microsoft DAO 2.5/3.0 Compatibility Library -ProjWinSize=85,480,248,215 -ProjWinShow=2 -IconForm="uti48dio" -ExeName32="Util7248.exe" -Name="util48" -HelpContextID="0" -StartMode=0 -VersionCompatible32="0" -MajorVer=1 -MinorVer=0 -RevisionVer=0 -AutoIncrementVer=0 -ServerSupportFiles=0 -VersionCompanyName="ADLINK" diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7249/S7249Int/7249INT.C b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7249/S7249Int/7249INT.C deleted file mode 100644 index 946565c..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7249/S7249Int/7249INT.C +++ /dev/null @@ -1,334 +0,0 @@ -/*;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; -;; Copyright (c) 1995-1997, ADLink Technology Inc. All rights reserved. ;; -;; ;; -;; File Name : 7249INT.C ;; -;; Purpose : This sample program demonstrates how to DIO through;; -;; interrupt operation ;; -;; Date : 07/01/1999 ;; -;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;*/ - - #include - #include - #include - #include - #include "Dask.h" - #include "resource.h" - - #define IDM_SETUP 101 - #define IDD_DIALOG1 101 - #define IDM_EXIT 110 - #define IDM_GO 300 - #define IDM_CLEAR 305 - #define IDC_COMBO1 1004 - #define IDC_EDIT1 1007 - #define IDC_EDIT2 1008 - #define WM_INT 2000 - - HANDLE hInst; /* current instance */ - HWND hMainWnd; - I16 card=-1, card_number = 0; - int total_count =40; - int sample_rate=20000; - unsigned int buffer[32768], in_buffer[32768]; - char Buf[80]; - int c1=20,c2=20; - int int_count =0; - - int PASCAL WinMain(HANDLE, HANDLE, LPSTR, int); - BOOL InitApplication(HANDLE); - BOOL InitInstance(HANDLE, int); - long PASCAL MainWndProc(HWND, unsigned, WPARAM, LPARAM); - BOOL PASCAL About(HWND, unsigned, WPARAM, LPARAM); - BOOL PASCAL ShowDMA(HWND, unsigned, WPARAM, LPARAM); - void mesgfn(); - - /********************************************************************** - - FUNCTION: WinMain(HANDLE, HANDLE, LPSTR, int) - PURPOSE: calls initialization function, processes message loop - - ***********************************************************************/ - - int PASCAL WinMain(hInstance, hPrevInstance, lpCmdLine, nCmdShow) - - HANDLE hInstance; - HANDLE hPrevInstance; - LPSTR lpCmdLine; - int nCmdShow; - - { - MSG msg; - - if(!hPrevInstance) - if(!InitApplication(hInstance)) - return(FALSE); - - if(!InitInstance(hInstance, nCmdShow)) - return(FALSE); - - while ( GetMessage(&msg, NULL, NULL, NULL)) - { - TranslateMessage(&msg); - DispatchMessage(&msg); - } - return(msg.wParam); - } - -/**************************************************************************** - - FUNCTION: InitApplication(HANDLE) - - PURPOSE: Initializes window data and registers window class - -****************************************************************************/ - -BOOL InitApplication(hInstance) -HANDLE hInstance; -{ - WNDCLASS wc; - - wc.style = NULL; - wc.lpfnWndProc = MainWndProc; - wc.cbClsExtra = 0; - wc.cbWndExtra = 0; - wc.hInstance = hInstance; - wc.hIcon = LoadIcon(NULL, IDI_APPLICATION); - wc.hCursor = LoadCursor(hInstance, IDC_ARROW); - wc.hbrBackground = GetStockObject(WHITE_BRUSH); - wc.lpszMenuName = "IntMenu"; - wc.lpszClassName = "IntClass"; - - return (RegisterClass(&wc)); -} - -/**************************************************************************** - - FUNCTION: InitInstance(HANDLE, int) - - PURPOSE: Saves instance handle and creates main window - -****************************************************************************/ - -BOOL InitInstance(hInstance, nCmdShow) -HANDLE hInstance; -int nCmdShow; -{ - HWND hWnd; - - hInst = hInstance; - hWnd = CreateWindow("IntClass", - "PCI-7249 Interrupt Samples", - WS_OVERLAPPEDWINDOW, - 200, - 100, - 375, - 370, - NULL, - NULL, - hInstance, - NULL); - - if (!hWnd) return (FALSE); - ShowWindow(hWnd, nCmdShow); - UpdateWindow(hWnd); - return (TRUE); -} - - -BOOL PASCAL setup(HWND hWnd, unsigned message, WPARAM wParam, LPARAM lParam) -{ - int i,k=0; - char n[16]; - char s[50]; - BOOL ok; - - switch (message) { - case WM_INITDIALOG: - for (i=0;i<16;i++) { - wsprintf(n, "%d", i); - _strupr(n); - SendMessage(GetDlgItem(hWnd,IDC_COMBO1), CB_ADDSTRING, NULL, (LONG)(LPSTR) n); - } - SendMessage(GetDlgItem(hWnd,IDC_COMBO1) , CB_SETCURSEL, 0, 0L); - if(card >=0) - EnableWindow(GetDlgItem(hWnd,IDC_COMBO1), FALSE); - SendMessage(GetDlgItem(hWnd,IDC_EDIT2) , WM_SETTEXT, 0, "5000"); - SendMessage(GetDlgItem(hWnd,IDC_EDIT1) , WM_SETTEXT, 0, "40"); - - break; - case WM_COMMAND: - switch(LOWORD(wParam)) { - case IDC_COMBO1: - if (HIWORD(wParam) == CBN_CLOSEUP) { - i = (int)SendMessage(GetDlgItem(hWnd,IDC_COMBO1), CB_GETCURSEL, 0, 0L); - SendMessage(GetDlgItem(hWnd,IDC_COMBO1), CB_GETLBTEXT, i, (LPARAM)((LPCSTR)n)); - card_number = i; - } - return(TRUE); - case IDOK: - if (card < 0) { - if ((card=Register_Card(PCI_7249, card_number))< 0) { - wsprintf(s, "Register_Card Error = %d\n", card); - MessageBox(hWnd, s, "Error", MB_OK); - } - } - total_count = GetDlgItemInt(hWnd,IDC_EDIT1, &ok, FALSE); - if (total_count > 32768) { - MessageBox(hWnd,"Count can be assigned at most 32768", "INT", MB_OK); - break; - } - for (i=0;i255) k=0; - } - for (i=0;i 15000 ) sample_rate=15000; - c2=2000000/(sample_rate*c1); - - EndDialog(hWnd, TRUE); - return (TRUE); - case IDCANCEL: - EndDialog(hWnd, TRUE); - return (TRUE); - } - break; - } - return (FALSE); -} - -/**************************************************************************** - - FUNCTION: MainWndProc(HWND, UINT, WPARAM, LPARAM) - - PURPOSE: Processes messages - - -****************************************************************************/ - -long PASCAL MainWndProc(hWnd, message, wParam, lParam) -HWND hWnd; -unsigned message; -WPARAM wParam; -LPARAM lParam; -{ - int cur_count=0; - HDC hDC1; - PAINTSTRUCT ps; - FARPROC lpProc; - - hMainWnd = hWnd; - switch(message) { - - case WM_CREATE: - break; - case WM_PAINT: - hDC1=BeginPaint(hWnd, &ps); - wsprintf(Buf,"This program performs digital output on Port A of"); - TextOut(hDC1,20,10,Buf,strlen(Buf)); - wsprintf(Buf,"CN2 and digital input on Port A of CN1 when an"); - TextOut(hDC1,20,30,Buf,strlen(Buf)); - wsprintf(Buf,"interrupt happens. The INT2 is used, and interrupt"); - TextOut(hDC1,20,50,Buf,strlen(Buf)); - wsprintf(Buf,"signals are generated by internal Timer Output."); - TextOut(hDC1,20,70,Buf,strlen(Buf)); - SetTextColor(hDC1, RGB(255,0,0)); - wsprintf(Buf,"Push 'Setup' button first ..."); - TextOut(hDC1,20,90,Buf,strlen(Buf)); - EndPaint(hWnd, &ps); - break; - case WM_COMMAND: - switch(wParam) { - case IDM_SETUP: - lpProc = MakeProcInstance(setup, hInst); - DialogBox(hInst,IDD_DIALOG1,hWnd,lpProc); - FreeProcInstance(lpProc); - if(card <0) - SendMessage(hWnd, WM_CLOSE, 0, 0L); - break; - - case IDM_GO: - // Interrupt Trigger - int_count=0; - DIO_PortConfig(card,Channel_P1A, INPUT_PORT); - DIO_PortConfig(card,Channel_P2A, OUTPUT_PORT); - DIO_INT2_EventMessage (card, INT2_TIMER_COUNTER, hWnd, WM_INT, NULL); - CTR_Setup (card, 1, 2, c1, BIN); - CTR_Setup (card, 2, 2, c2, BIN); - break; - - case IDM_CLEAR : - PostQuitMessage(0); - break; - } - break; - case WM_INT: - mesgfn(); - break; - case WM_DESTROY: - if (card >= 0) Release_Card(card); - PostQuitMessage(0); - break; - - default: - return (DefWindowProc(hWnd, message, wParam, lParam)); - } - return(0L); -} - -void mesgfn() -{ - HDC hDC; - int i; - - hDC=GetDC(hMainWnd); - if(int_count=10 && i<20) { - wsprintf(Buf,"%d, ",in_buffer[i]); - TextOut(hDC,20+25*(i-10),210,Buf,strlen(Buf)); - } - if(i>=20 && i<30) { - wsprintf(Buf,"%d, ",in_buffer[i]); - TextOut(hDC,20+25*(i-20),235,Buf,strlen(Buf)); - } - if (i>=30 && i<40) { - wsprintf(Buf,"%d, ",in_buffer[i]); - TextOut(hDC,20+25*(i-30),260,Buf,strlen(Buf)); - } - if (i>=40 && i<50) { - wsprintf(Buf,"%d, ",in_buffer[i]); - TextOut(hDC,20+25*(i-40),285,Buf,strlen(Buf)); - } - } - ReleaseDC(hMainWnd, hDC); - } - -} - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7249/S7249Int/7249INT.EXE b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7249/S7249Int/7249INT.EXE deleted file mode 100644 index b5541e5..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7249/S7249Int/7249INT.EXE and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7249/S7249Int/7249INT.MAK b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7249/S7249Int/7249INT.MAK deleted file mode 100644 index 7d2dcf8..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7249/S7249Int/7249INT.MAK +++ /dev/null @@ -1,219 +0,0 @@ -# Microsoft Developer Studio Generated NMAKE File, Format Version 4.00 -# ** DO NOT EDIT ** - -# TARGTYPE "Win32 (x86) Application" 0x0101 - -!IF "$(CFG)" == "" -CFG=7249int - Win32 Debug -!MESSAGE No configuration specified. Defaulting to 7249int - Win32 Debug. -!ENDIF - -!IF "$(CFG)" != "7249int - Win32 Release" && "$(CFG)" !=\ - "7249int - Win32 Debug" -!MESSAGE Invalid configuration "$(CFG)" specified. -!MESSAGE You can specify a configuration when running NMAKE on this makefile -!MESSAGE by defining the macro CFG on the command line. For example: -!MESSAGE -!MESSAGE NMAKE /f "7249INT.MAK" CFG="7249int - Win32 Debug" -!MESSAGE -!MESSAGE Possible choices for configuration are: -!MESSAGE -!MESSAGE "7249int - Win32 Release" (based on "Win32 (x86) Application") -!MESSAGE "7249int - Win32 Debug" (based on "Win32 (x86) Application") -!MESSAGE -!ERROR An invalid configuration is specified. -!ENDIF - -!IF "$(OS)" == "Windows_NT" -NULL= -!ELSE -NULL=nul -!ENDIF -################################################################################ -# Begin Project -# PROP Target_Last_Scanned "7249int - Win32 Debug" -MTL=mktyplib.exe -CPP=cl.exe -RSC=rc.exe - -!IF "$(CFG)" == "7249int - Win32 Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "7249int_" -# PROP BASE Intermediate_Dir "7249int_" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "" -# PROP Intermediate_Dir "Release" -# PROP Target_Dir "" -OUTDIR=. -INTDIR=.\Release - -ALL : "$(OUTDIR)\7249INT.exe" - -CLEAN : - -@erase ".\7249INT.exe" - -@erase ".\Release\7249int.obj" - -@erase ".\Release\7249int.res" - -"$(INTDIR)" : - if not exist "$(INTDIR)/$(NULL)" mkdir "$(INTDIR)" - -# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /YX /c -# ADD CPP /nologo /MT /W3 /GX /Od /I "..\..\..\include" /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /c -# SUBTRACT CPP /YX -CPP_PROJ=/nologo /MT /W3 /GX /Od /I "..\..\..\include" /D "WIN32" /D "NDEBUG"\ - /D "_WINDOWS" /Fo"$(INTDIR)/" /c -CPP_OBJS=.\Release/ -CPP_SBRS= -# ADD BASE MTL /nologo /D "NDEBUG" /win32 -# ADD MTL /nologo /D "NDEBUG" /win32 -MTL_PROJ=/nologo /D "NDEBUG" /win32 -# ADD BASE RSC /l 0x409 /d "NDEBUG" -# ADD RSC /l 0x409 /d "NDEBUG" -RSC_PROJ=/l 0x409 /fo"$(INTDIR)/7249int.res" /d "NDEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -BSC32_FLAGS=/nologo /o"$(OUTDIR)/7249INT.bsc" -BSC32_SBRS= -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:windows /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ..\..\..\lib\pci-dask.lib /nologo /subsystem:windows /machine:I386 -LINK32_FLAGS=kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib\ - advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib\ - odbccp32.lib ..\..\..\lib\pci-dask.lib /nologo /subsystem:windows\ - /incremental:no /pdb:"$(OUTDIR)/7249INT.pdb" /machine:I386\ - /out:"$(OUTDIR)/7249INT.exe" -LINK32_OBJS= \ - "$(INTDIR)/7249int.obj" \ - "$(INTDIR)/7249int.res" - -"$(OUTDIR)\7249INT.exe" : "$(OUTDIR)" $(DEF_FILE) $(LINK32_OBJS) - $(LINK32) @<< - $(LINK32_FLAGS) $(LINK32_OBJS) -<< - -!ELSEIF "$(CFG)" == "7249int - Win32 Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "Debug" -# PROP BASE Intermediate_Dir "Debug" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "" -# PROP Intermediate_Dir "Debug" -# PROP Target_Dir "" -OUTDIR=. -INTDIR=.\Debug - -ALL : "$(OUTDIR)\7249INT.exe" - -CLEAN : - -@erase ".\Debug\vc40.pdb" - -@erase ".\Debug\vc40.idb" - -@erase ".\7249INT.exe" - -@erase ".\Debug\7249int.obj" - -@erase ".\Debug\7249int.res" - -@erase ".\7249INT.ilk" - -@erase ".\7249INT.pdb" - -"$(INTDIR)" : - if not exist "$(INTDIR)/$(NULL)" mkdir "$(INTDIR)" - -# ADD BASE CPP /nologo /W3 /Gm /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /YX /c -# ADD CPP /nologo /W3 /Gm /GX /Zi /Od /I "..\..\..\include" /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /c -# SUBTRACT CPP /YX -CPP_PROJ=/nologo /MLd /W3 /Gm /GX /Zi /Od /I "..\..\..\include" /D "WIN32" /D\ - "_DEBUG" /D "_WINDOWS" /Fo"$(INTDIR)/" /Fd"$(INTDIR)/" /c -CPP_OBJS=.\Debug/ -CPP_SBRS= -# ADD BASE MTL /nologo /D "_DEBUG" /win32 -# ADD MTL /nologo /D "_DEBUG" /win32 -MTL_PROJ=/nologo /D "_DEBUG" /win32 -# ADD BASE RSC /l 0x409 /d "_DEBUG" -# ADD RSC /l 0x409 /d "_DEBUG" -RSC_PROJ=/l 0x409 /fo"$(INTDIR)/7249int.res" /d "_DEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -BSC32_FLAGS=/nologo /o"$(OUTDIR)/7249INT.bsc" -BSC32_SBRS= -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:windows /debug /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ..\..\..\lib\pci-dask.lib /nologo /subsystem:windows /debug /machine:I386 -LINK32_FLAGS=kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib\ - advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib\ - odbccp32.lib ..\..\..\lib\pci-dask.lib /nologo /subsystem:windows\ - /incremental:yes /pdb:"$(OUTDIR)/7249INT.pdb" /debug /machine:I386\ - /out:"$(OUTDIR)/7249INT.exe" -LINK32_OBJS= \ - "$(INTDIR)/7249int.obj" \ - "$(INTDIR)/7249int.res" - -"$(OUTDIR)\7249INT.exe" : "$(OUTDIR)" $(DEF_FILE) $(LINK32_OBJS) - $(LINK32) @<< - $(LINK32_FLAGS) $(LINK32_OBJS) -<< - -!ENDIF - -.c{$(CPP_OBJS)}.obj: - $(CPP) $(CPP_PROJ) $< - -.cpp{$(CPP_OBJS)}.obj: - $(CPP) $(CPP_PROJ) $< - -.cxx{$(CPP_OBJS)}.obj: - $(CPP) $(CPP_PROJ) $< - -.c{$(CPP_SBRS)}.sbr: - $(CPP) $(CPP_PROJ) $< - -.cpp{$(CPP_SBRS)}.sbr: - $(CPP) $(CPP_PROJ) $< - -.cxx{$(CPP_SBRS)}.sbr: - $(CPP) $(CPP_PROJ) $< - -################################################################################ -# Begin Target - -# Name "7249int - Win32 Release" -# Name "7249int - Win32 Debug" - -!IF "$(CFG)" == "7249int - Win32 Release" - -!ELSEIF "$(CFG)" == "7249int - Win32 Debug" - -!ENDIF - -################################################################################ -# Begin Source File - -SOURCE=.\7249int.rc - -"$(INTDIR)\7249int.res" : $(SOURCE) "$(INTDIR)" - $(RSC) $(RSC_PROJ) $(SOURCE) - - -# End Source File -################################################################################ -# Begin Source File - -SOURCE=.\7249int.c -DEP_CPP_7249I=\ - ".\..\..\..\include\Dask.h"\ - - -"$(INTDIR)\7249int.obj" : $(SOURCE) $(DEP_CPP_7249I) "$(INTDIR)" - - -# End Source File -# End Target -# End Project -################################################################################ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7249/S7249Int/7249INT.MDP b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7249/S7249Int/7249INT.MDP deleted file mode 100644 index ebee805..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7249/S7249Int/7249INT.MDP and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7249/S7249Int/7249INT.RC b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7249/S7249Int/7249INT.RC deleted file mode 100644 index b15ff58..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7249/S7249Int/7249INT.RC +++ /dev/null @@ -1,125 +0,0 @@ -//Microsoft Developer Studio generated resource script. -// -#include "resource.h" - -#define APSTUDIO_READONLY_SYMBOLS -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 2 resource. -// -#define APSTUDIO_HIDDEN_SYMBOLS -#include "windows.h" -#undef APSTUDIO_HIDDEN_SYMBOLS - -///////////////////////////////////////////////////////////////////////////// -#undef APSTUDIO_READONLY_SYMBOLS - -///////////////////////////////////////////////////////////////////////////// -// English (U.S.) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -#ifdef _WIN32 -LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US -#pragma code_page(1252) -#endif //_WIN32 - -#ifdef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// TEXTINCLUDE -// - -1 TEXTINCLUDE DISCARDABLE -BEGIN - "resource.h\0" -END - -2 TEXTINCLUDE DISCARDABLE -BEGIN - "#define APSTUDIO_HIDDEN_SYMBOLS\r\n" - "#include ""windows.h""\r\n" - "#undef APSTUDIO_HIDDEN_SYMBOLS\r\n" - "\0" -END - -3 TEXTINCLUDE DISCARDABLE -BEGIN - "\r\n" - "\0" -END - -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// Menu -// - -INTMENU MENU DISCARDABLE -BEGIN - MENUITEM "Setup", IDM_SETUP - MENUITEM "Interrupt Trigger", IDM_GO - MENUITEM "Exit", IDM_CLEAR -END - - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog -// - -IDD_DIALOG1 DIALOG DISCARDABLE 0, 0, 129, 104 -STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "Setup Dialog" -FONT 10, "System" -BEGIN - DEFPUSHBUTTON "OK",IDOK,10,83,50,14 - PUSHBUTTON "Cancel",IDCANCEL,72,83,50,14 - LTEXT "Total Count",IDC_STATIC,6,35,43,12 - LTEXT "Sampling Rate",IDC_STATIC,6,57,49,12 - EDITTEXT IDC_EDIT1,57,32,65,15,ES_AUTOHSCROLL - EDITTEXT IDC_EDIT2,57,54,65,15,ES_AUTOHSCROLL - LTEXT "Card Number",IDC_STATIC,6,12,45,12 - COMBOBOX IDC_COMBO1,57,12,65,84,CBS_DROPDOWN | WS_VSCROLL | - WS_TABSTOP -END - - -///////////////////////////////////////////////////////////////////////////// -// -// DESIGNINFO -// - -#ifdef APSTUDIO_INVOKED -GUIDELINES DESIGNINFO DISCARDABLE -BEGIN - IDD_DIALOG1, DIALOG - BEGIN - LEFTMARGIN, 6 - RIGHTMARGIN, 122 - VERTGUIDE, 10 - TOPMARGIN, 12 - BOTTOMMARGIN, 97 - HORZGUIDE, 24 - HORZGUIDE, 47 - HORZGUIDE, 69 - END -END -#endif // APSTUDIO_INVOKED - -#endif // English (U.S.) resources -///////////////////////////////////////////////////////////////////////////// - - - -#ifndef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 3 resource. -// - - -///////////////////////////////////////////////////////////////////////////// -#endif // not APSTUDIO_INVOKED - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7249/S7249Int/Resource.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7249/S7249Int/Resource.h deleted file mode 100644 index 556ad96..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7249/S7249Int/Resource.h +++ /dev/null @@ -1,26 +0,0 @@ -//{{NO_DEPENDENCIES}} -// Microsoft Developer Studio generated include file. -// Used by 7249int.rc -// -#define IDM_SETUP 101 -#define IDD_DIALOG1 101 -#define IDM_EXIT 110 -#define IDM_GO 300 -#define ID_STOP 304 -#define IDM_CLEAR 305 -#define IDC_COMBO1 1004 -#define IDC_COMBO2 1005 -#define IDC_EDIT1 1007 -#define IDC_EDIT2 1008 -#define IDC_STATIC -1 - -// Next default values for new objects -// -#ifdef APSTUDIO_INVOKED -#ifndef APSTUDIO_READONLY_SYMBOLS -#define _APS_NEXT_RESOURCE_VALUE 102 -#define _APS_NEXT_COMMAND_VALUE 102 -#define _APS_NEXT_CONTROL_VALUE 1008 -#define _APS_NEXT_SYMED_VALUE 101 -#endif -#endif diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7249/SDK7249/Resource.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7249/SDK7249/Resource.h deleted file mode 100644 index 35f4caa..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7249/SDK7249/Resource.h +++ /dev/null @@ -1,21 +0,0 @@ -//{{NO_DEPENDENCIES}} -// Microsoft Developer Studio generated include file. -// Used by Util7249.rc -// -#define IDOK2 3 -#define IDCANCEL2 4 -#define IDD_DIALOG1 101 -#define IDM_EXIT 110 -#define IDC_COMBO1 1004 -#define IDC_STATIC -1 - -// Next default values for new objects -// -#ifdef APSTUDIO_INVOKED -#ifndef APSTUDIO_READONLY_SYMBOLS -#define _APS_NEXT_RESOURCE_VALUE 102 -#define _APS_NEXT_COMMAND_VALUE 101 -#define _APS_NEXT_CONTROL_VALUE 1000 -#define _APS_NEXT_SYMED_VALUE 101 -#endif -#endif diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7249/SDK7249/Util7249.c b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7249/SDK7249/Util7249.c deleted file mode 100644 index 2827f31..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7249/SDK7249/Util7249.c +++ /dev/null @@ -1,851 +0,0 @@ -/*;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; -;; Copyright (c) 1995-1997, ADLink Technology Inc. All rights reserved. ;; -;; ;; -;; File Name : UTIL7249.C ;; -;; Purpose : This PCI-DASK sample program demonstrate how to ;; -;; operate DI & DO for PCI-7249 ;; -;; Date : 09/20/1998 ;; -;; Revision : 1.0 ;; -;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;*/ - -#include "windows.h" -#include -#include -#include -#include -#include -#include "Dask.h" -#include "resource.h" - -#define IDM_EXIT 110 -#define TIMER 2 - -int PASCAL WinMain(HANDLE, HANDLE, LPSTR, int); -long PASCAL MainWndProc(HWND, UINT, WPARAM, LPARAM); - -HANDLE hInst; -HWND hAddrComboBox; -I16 card=-1, card_number = 0; - -U32 inputA[2], inputB[2], inputC[2] , inputD[2]; -U32 inputAE[2], inputBE[2], inputCE[2]; -U32 outputA[2],outputB[2],outputC[2] ,outputD[2]; -U32 oldinputA[2], oldinputB[2], oldinputC[2], oldinputD[2]; -U32 oldinputAE[2], oldinputBE[2], oldinputCE[2]; -U32 temp_output; - -HBRUSH hLTGreenBrush,hGreenBrush,hBlueBrush,hYellowBrush,hRedBrush; - -int port_a[2]; -int port_b[2]; -int port_c_upper[2]; -int port_c_lower[2]; -int port_ae[2]; -int port_be[2]; -int port_ce[2]; - -POINT input_pos[2][8]; -POINT output_pos[2][8]; -POINT io_pos[2][8]; -POINT input_posE[2][8]; -POINT output_posE[2][8]; -POINT io_posE[2][8]; - -BOOL InitApplication(HANDLE); -BOOL InitInstance(HANDLE, int); - -int PASCAL WinMain(hInstance, hPrevInstance, lpCmdLine, nCmdShow) -HANDLE hInstance, hPrevInstance; -LPSTR lpCmdLine; -int nCmdShow; -{ - MSG msg; - - if (!hPrevInstance) - if (!InitApplication(hInstance)) return(FALSE); - if (!InitInstance(hInstance, nCmdShow)) return(FALSE); - while (GetMessage(&msg, NULL, 0, 0)) { - TranslateMessage(&msg); - DispatchMessage(&msg); - } - return(msg.wParam); -} - -BOOL InitApplication(hInstance) -HANDLE hInstance; -{ - WNDCLASS wc; - - /* Main Window Class */ - wc.style = 0; - wc.lpfnWndProc = (WNDPROC)MainWndProc; - wc.cbClsExtra = 0; - wc.cbWndExtra = 0; - wc.hInstance = hInstance; - wc.hIcon = LoadIcon(hInstance, "MyIcon"); - wc.hCursor = LoadCursor(NULL, IDC_ARROW); - wc.hbrBackground = GetStockObject(LTGRAY_BRUSH); - wc.lpszMenuName = NULL; - wc.lpszClassName = "GenericWClass"; - if (!RegisterClass(&wc)) return(FALSE); -} - -BOOL InitInstance(hInstance, nCmdShow) -HANDLE hInstance; -int nCmdShow; -{ - HWND hWnd; - HMENU hSampleMenu; - - hInst = hInstance; - hSampleMenu = LoadMenu(hInstance, "U7120Menu"); - hWnd = CreateWindow("GenericWClass", - (LPCSTR)"PCI-7249", - WS_OVERLAPPEDWINDOW, - CW_USEDEFAULT, - CW_USEDEFAULT, - 640, - 340, - NULL, - hSampleMenu, - hInstance, - NULL); - if (!hWnd) return(FALSE); - ShowWindow(hWnd, nCmdShow); - UpdateWindow(hWnd); - return(TRUE); -} - -BOOL PASCAL setup(HWND hWnd, unsigned message, WPARAM wParam, LPARAM lParam) -{ - int i; - char n[16]; - char s[50]; - switch (message) { - case WM_INITDIALOG: - for (i=0;i<16;i++) { - wsprintf(n, "%d", i); - _strupr(n); - SendMessage(GetDlgItem(hWnd,IDC_COMBO1), CB_ADDSTRING, NULL, (LONG)(LPSTR) n); - } - SendMessage(GetDlgItem(hWnd,IDC_COMBO1) , CB_SETCURSEL, 0, 0L); - - break; - case WM_COMMAND: - switch(LOWORD(wParam)) { - - case IDC_COMBO1: - if (HIWORD(wParam) == CBN_CLOSEUP) { - i = (int)SendMessage(GetDlgItem(hWnd,IDC_COMBO1), CB_GETCURSEL, 0, 0L); - SendMessage(GetDlgItem(hWnd,IDC_COMBO1), CB_GETLBTEXT, i, (LPARAM)((LPCSTR)n)); - card_number = i; - } - return(TRUE); - case IDOK: - if ((card=Register_Card(PCI_7249, card_number)) < 0) { - wsprintf(s, "Register_Card Error = %d\n", card); - MessageBox(hWnd, s, "Error", MB_OK); - } - EndDialog(hWnd, TRUE); - InvalidateRect(hWnd, NULL, FALSE); - return (TRUE); - case IDCANCEL: - EndDialog(hWnd, TRUE); - return (TRUE); - } - break; - } - return (FALSE); -} - -long PASCAL MainWndProc(hWnd, message, wParam, lParam) -HWND hWnd; -UINT message; -WPARAM wParam; -LPARAM lParam; -{ - - HDC hDC; - PAINTSTRUCT ps; - int i, k, px, py; - - switch(message) { - case WM_CREATE: - DialogBox(hInst,IDD_DIALOG1, hWnd, setup); - if(card<0) { - SendMessage(hWnd, WM_CLOSE, 0, 0L); - break; - } - hLTGreenBrush = CreateSolidBrush(RGB(0, 255, 0)); - hGreenBrush = CreateSolidBrush(RGB(0, 128, 0)); - hBlueBrush = CreateSolidBrush(RGB(0, 0, 255)); - hRedBrush = CreateSolidBrush(RGB(255, 0, 0)); - input_pos[0][0].x=180; - input_pos[0][0].y=40; - input_pos[0][1].x=160; - input_pos[0][1].y=40; - input_pos[0][2].x=140; - input_pos[0][2].y=40; - input_pos[0][3].x=120; - input_pos[0][3].y=40; - input_pos[0][4].x=100; - input_pos[0][4].y=40; - input_pos[0][5].x=80; - input_pos[0][5].y=40; - input_pos[0][6].x=60; - input_pos[0][6].y=40; - input_pos[0][7].x=40; - input_pos[0][7].y=40; - - output_pos[0][0].x=480; - output_pos[0][0].y=40; - output_pos[0][1].x=460; - output_pos[0][1].y=40; - output_pos[0][2].x=440; - output_pos[0][2].y=40; - output_pos[0][3].x=420; - output_pos[0][3].y=40; - output_pos[0][4].x=400; - output_pos[0][4].y=40; - output_pos[0][5].x=380; - output_pos[0][5].y=40; - output_pos[0][6].x=360; - output_pos[0][6].y=40; - output_pos[0][7].x=340; - output_pos[0][7].y=40; - - io_pos[0][0].x=590; - io_pos[0][0].y=40; - io_pos[0][1].x=570; - io_pos[0][1].y=40; - io_pos[0][2].x=550; - io_pos[0][2].y=40; - io_pos[0][3].x=530; - io_pos[0][3].y=40; - io_pos[0][4].x=290; - io_pos[0][4].y=40; - io_pos[0][5].x=270; - io_pos[0][5].y=40; - io_pos[0][6].x=250; - io_pos[0][6].y=40; - io_pos[0][7].x=230; - io_pos[0][7].y=40; - - for (k=0;k<8;k++) - { - input_pos[1][k].x =input_pos[0][k].x; - input_pos[1][k].y =input_pos[0][k].y+50; - output_pos[1][k].x =output_pos[0][k].x; - output_pos[1][k].y =output_pos[0][k].y+50; - io_pos[1][k].x =io_pos[0][k].x; - io_pos[1][k].y =io_pos[0][k].y+50; - } - - for (i=0;i<2;i++) - { - inputA[i]=0; - outputA[i]=0; - oldinputA[i]=0; - - inputB[i]=0; - outputB[i]=0; - oldinputB[i]=0; - - inputC[i]=0; - outputC[i]=0; - oldinputC[i]=0; - - inputD[i]=0; - outputD[i]=0; - oldinputD[i]=0; - - port_a[i]=0; - DIO_PortConfig(card,5*i+Channel_P1A, INPUT_PORT); - port_b[i]=0; - DIO_PortConfig(card,5*i+Channel_P1B, INPUT_PORT); - port_c_upper[i]=0; - DIO_PortConfig(card,5*i+Channel_P1CL, INPUT_PORT); - port_c_lower[i]=0; - DIO_PortConfig(card,5*i+Channel_P1CH, INPUT_PORT); - } - - input_posE[0][0].x=180; - input_posE[0][0].y=180; - input_posE[0][1].x=160; - input_posE[0][1].y=180; - input_posE[0][2].x=140; - input_posE[0][2].y=180; - input_posE[0][3].x=120; - input_posE[0][3].y=180; - input_posE[0][4].x=100; - input_posE[0][4].y=180; - input_posE[0][5].x=80; - input_posE[0][5].y=180; - input_posE[0][6].x=60; - input_posE[0][6].y=180; - input_posE[0][7].x=40; - input_posE[0][7].y=180; - - output_posE[0][0].x=370; - output_posE[0][0].y=180; - output_posE[0][1].x=350; - output_posE[0][1].y=180; - output_posE[0][2].x=330; - output_posE[0][2].y=180; - output_posE[0][3].x=310; - output_posE[0][3].y=180; - output_posE[0][4].x=290; - output_posE[0][4].y=180; - output_posE[0][5].x=270; - output_posE[0][5].y=180; - output_posE[0][6].x=250; - output_posE[0][6].y=180; - output_posE[0][7].x=230; - output_posE[0][7].y=180; - - io_posE[0][0].x=560; - io_posE[0][0].y=180; - io_posE[0][1].x=540; - io_posE[0][1].y=180; - io_posE[0][2].x=520; - io_posE[0][2].y=180; - io_posE[0][3].x=500; - io_posE[0][3].y=180; - io_posE[0][4].x=480; - io_posE[0][4].y=180; - io_posE[0][5].x=460; - io_posE[0][5].y=180; - io_posE[0][6].x=440; - io_posE[0][6].y=180; - io_posE[0][7].x=420; - io_posE[0][7].y=180; - - for (k=0;k<8;k++) { - input_posE[1][k].x =input_posE[0][k].x; - input_posE[1][k].y =input_posE[0][k].y+50; - output_posE[1][k].x =output_posE[0][k].x; - output_posE[1][k].y =output_posE[0][k].y+50; - io_posE[1][k].x =io_posE[0][k].x; - io_posE[1][k].y =io_posE[0][k].y+50; - } - for (i=0; i<2; i++) { - inputAE[i]=0; - oldinputAE[i]=0; - inputBE[i]=0; - oldinputBE[i]=0; - inputCE[i]=0; - oldinputCE[i]=0; - } - SetTimer(hWnd, TIMER, 50, NULL); - srand((unsigned)time(NULL)); - break; - case WM_PAINT: - hDC = BeginPaint(hWnd, &ps); - // Label - SetTextColor(hDC,RGB(255,255,255)); - SetBkColor(hDC, RGB(0, 0, 255)); - TextOut(hDC, 5, 40, "CN1", 3); - SetTextColor(hDC,RGB(255,255,255)); - SetBkColor(hDC, RGB(0, 0, 255)); - TextOut(hDC, 5, 80, "CN2", 3); - TextOut(hDC, 5, 180, "CN1", 3); - TextOut(hDC, 5, 220, "CN2", 3); - - // Digital Input Box - for (i=0;i<2;i++ ) - { - if ( port_a[i]==0 ) - SelectObject(hDC, hLTGreenBrush); - else - SelectObject(hDC, hGreenBrush); - Rectangle(hDC, input_pos[i][7].x-5, input_pos[i][7].y-12, input_pos[i][0].x+26, input_pos[i][0].y+30); - SetTextColor(hDC,RGB(0,0,0)); - SelectObject(hDC, hLTGreenBrush); - Rectangle(hDC, input_pos[i][0].x+25, input_pos[i][0].y-12, input_pos[i][0].x+41, input_pos[i][0].y+9); - SetBkColor(hDC, RGB(0, 255, 0)); - TextOut(hDC, input_pos[i][0].x+30, input_pos[i][7].y-11, "I", 1); - SelectObject(hDC, hGreenBrush); - Rectangle(hDC, input_pos[i][0].x+25, input_pos[i][0].y+9, input_pos[i][0].x+41, input_pos[i][0].y+30); - SetBkColor(hDC, RGB(0, 128, 0)); - TextOut(hDC, input_pos[i][0].x+27, input_pos[i][7].y+7, "O", 1); - SelectObject(hDC, hLTGreenBrush); - Rectangle(hDC, input_posE[i][7].x-5, input_posE[i][7].y-12, input_posE[i][0].x+26, input_posE[i][0].y+30); - } - - for (i=0;i<2;i++ ) - { - if ( port_b[i]==0 ) - SelectObject(hDC, hLTGreenBrush); - else - SelectObject(hDC, hGreenBrush); - Rectangle(hDC, output_pos[i][7].x-5, output_pos[i][7].y-12, output_pos[i][0].x+26, output_pos[i][0].y+30); - SelectObject(hDC, hGreenBrush); - SetTextColor(hDC,RGB(0,0,0)); - Rectangle(hDC, output_pos[i][0].x+25, output_pos[i][0].y+9, output_pos[i][0].x+41, output_pos[i][0].y+30); - SetBkColor(hDC, RGB(0, 128, 0)); - TextOut(hDC, output_pos[i][0].x+27, output_pos[i][7].y+9, "O", 1); - SelectObject(hDC, hLTGreenBrush); - Rectangle(hDC, output_pos[i][0].x+25, output_pos[i][0].y-12, output_pos[i][0].x+41, output_pos[i][0].y+9); - SetBkColor(hDC, RGB(0, 255, 0)); - TextOut(hDC, output_pos[i][0].x+30, output_pos[i][7].y-11, "I", 1); - SelectObject(hDC, hLTGreenBrush); - Rectangle(hDC, output_posE[i][7].x-5, output_posE[i][7].y-12, output_posE[i][0].x+26, output_posE[i][0].y+30); - } - - for (i=0;i<2;i++ ) - { - if ( port_c_upper[i]==0 ) - SelectObject(hDC, hLTGreenBrush); - else - SelectObject(hDC, hGreenBrush); - Rectangle(hDC, io_pos[i][7].x-5, io_pos[i][7].y-12, io_pos[i][4].x+21, io_pos[i][4].y+30); - SelectObject(hDC, hLTGreenBrush); - Rectangle(hDC, io_pos[i][4].x+25, io_pos[i][4].y-12, io_pos[i][4].x+41, io_pos[i][4].y+9); - SetBkColor(hDC, RGB(0, 255, 0)); - SetTextColor(hDC,RGB(0,0,0)); - TextOut(hDC, io_pos[i][4].x+30, io_pos[i][4].y-11, "I", 1); - SelectObject(hDC, hGreenBrush); - Rectangle(hDC, io_pos[i][4].x+25, io_pos[i][4].y+9, io_pos[i][4].x+41, io_pos[i][4].y+30); - SetBkColor(hDC, RGB(0, 128, 0)); - TextOut(hDC, io_pos[i][4].x+28, io_pos[i][4].y+9, "O", 1); - SelectObject(hDC, hLTGreenBrush); - Rectangle(hDC, io_posE[i][7].x-5, io_posE[i][7].y-12, io_posE[i][0].x+21, io_posE[i][0].y+30); - } - for (i=0;i<2;i++ ) - { - if ( port_c_lower[i]==0 ) - SelectObject(hDC, hLTGreenBrush); - else - SelectObject(hDC, hGreenBrush); - Rectangle(hDC, io_pos[i][3].x-5, io_pos[i][3].y-12, io_pos[i][0].x+21, io_pos[i][0].y+30); - SelectObject(hDC, hLTGreenBrush); - Rectangle(hDC, io_pos[i][0].x+25, io_pos[i][0].y-12, io_pos[i][0].x+41, io_pos[i][0].y+9); - SetBkColor(hDC, RGB(0, 255, 0)); - SetTextColor(hDC,RGB(0,0,0)); - TextOut(hDC, io_pos[i][0].x+30, io_pos[i][7].y-11, "I", 1); - SelectObject(hDC, hGreenBrush); - Rectangle(hDC, io_pos[i][0].x+25, io_pos[i][0].y+9, io_pos[i][0].x+41, io_pos[i][0].y+30); - SetBkColor(hDC, RGB(0, 128, 0)); - TextOut(hDC, io_pos[i][0].x+28, io_pos[i][7].y+9, "O", 1); - } - SetTextColor(hDC,RGB(255,255,255)); - SetBkColor(hDC, RGB(0, 0, 255)); - TextOut(hDC, input_pos[0][7].x, input_pos[0][7].y-20, "Port A", 6); - TextOut(hDC, output_pos[0][7].x, output_pos[0][7].y-20, "Port B", 6); - TextOut(hDC, io_pos[0][7].x, io_pos[0][7].y-20, "Port C(Upper)", 13); - TextOut(hDC, io_pos[0][3].x, io_pos[0][3].y-20, "Port C(Lower)", 13); - TextOut(hDC, input_posE[0][7].x, input_posE[0][7].y-20, "Port A", 6); - TextOut(hDC, output_posE[0][7].x, output_posE[0][7].y-20, "Port B", 6); - TextOut(hDC, io_posE[0][7].x, io_posE[0][7].y-20, "Port C", 6); - SetTextColor(hDC,RGB(255,255,255)); - SetBkColor(hDC, RGB(255, 0, 0)); - TextOut(hDC, input_posE[0][7].x-40, input_posE[0][7].y-40, "External Trigger DI", 19); - // Channel Label - SetBkMode(hDC,TRANSPARENT); - SetTextColor(hDC,RGB(0,0,0)); - TextOut(hDC, input_pos[0][7].x, input_pos[0][7].y+16, " 7 0", 36); - TextOut(hDC, io_pos[0][7].x, io_pos[0][7].y+16, " 3 0", 16); - TextOut(hDC, io_pos[0][3].x, io_pos[0][3].y+16, " 3 0", 16); - TextOut(hDC, output_pos[0][7].x,output_pos[0][7].y+16," 7 0", 36); - - TextOut(hDC, input_posE[0][7].x, input_posE[0][7].y+16, " 7 0", 36); - TextOut(hDC, io_posE[0][7].x, io_posE[0][7].y+16, " 7 0", 36); - TextOut(hDC, output_posE[0][7].x,output_posE[0][7].y+16," 7 0", 36); - - SetBkMode(hDC,OPAQUE); - // Detect Channel Input - for (k=0;k<2;k++ ) - { - if ( port_a[k]==0 ) - { - for (i=0; i<8; i++) { - if ((inputA[k]>>i)&0x01) - SelectObject(hDC, hRedBrush); - else - SelectObject(hDC, GetStockObject(WHITE_BRUSH)); - Ellipse(hDC, input_pos[k][i].x, input_pos[k][i].y, input_pos[k][i].x+17, input_pos[k][i].y+17); - } - } - else - { - // Detect Channel Output - for (i=0; i<8; i++) { - if ((outputA[k]>>i)&0x01) - SelectObject(hDC, hRedBrush); - else - SelectObject(hDC, GetStockObject(WHITE_BRUSH)); - Ellipse(hDC, input_pos[k][i].x, input_pos[k][i].y, input_pos[k][i].x+17, input_pos[k][i].y+17); - } - } - if ( port_b[k]==0 ) - { - for (i=0; i<8; i++) { - if ((inputB[k]>>i)&0x01) - SelectObject(hDC, hRedBrush); - else - SelectObject(hDC, GetStockObject(WHITE_BRUSH)); - Ellipse(hDC, output_pos[k][i].x, output_pos[k][i].y, output_pos[k][i].x+17, output_pos[k][i].y+17); - } - } - else - { - for (i=0; i<8; i++) { - if ((outputB[k]>>i)&0x01) - SelectObject(hDC, hRedBrush); - else - SelectObject(hDC, GetStockObject(WHITE_BRUSH)); - Ellipse(hDC, output_pos[k][i].x, output_pos[k][i].y, output_pos[k][i].x+17, output_pos[k][i].y+17); - } - } - if ( port_c_lower[k]==0) - { - for (i=0; i<4; i++) { - if ((inputC[k]>>i)&0x01) - SelectObject(hDC, hRedBrush); - else - SelectObject(hDC, GetStockObject(WHITE_BRUSH)); - Ellipse(hDC, io_pos[k][i].x, io_pos[k][i].y, io_pos[k][i].x+17, io_pos[k][i].y+17); - } - } - else - { - for (i=0; i<4; i++) { - if ((outputC[k]>>i)&0x01) - SelectObject(hDC, hRedBrush); - else - SelectObject(hDC, GetStockObject(WHITE_BRUSH)); - Ellipse(hDC, io_pos[k][i].x, io_pos[k][i].y, io_pos[k][i].x+17, io_pos[k][i].y+17); - } - } - if ( port_c_upper[k]==0) - { - for (i=0; i<4; i++) { - if ((inputD[k]>>i)&0x01) - SelectObject(hDC, hRedBrush); - else - SelectObject(hDC, GetStockObject(WHITE_BRUSH)); - Ellipse(hDC, io_pos[k][i+4].x, io_pos[k][i+4].y, io_pos[k][i+4].x+17, io_pos[k][i+4].y+17); - } - } - else - { - for (i=0; i<4; i++) { - if ((outputD[k]>>i)&0x01) - SelectObject(hDC, hRedBrush); - else - SelectObject(hDC, GetStockObject(WHITE_BRUSH)); - Ellipse(hDC, io_pos[k][i+4].x, io_pos[k][i+4].y, io_pos[k][i+4].x+17, io_pos[k][i+4].y+17); - } - } - //external trigger - for (i=0; i<8; i++) { - if ((inputAE[k]>>i)&0x01) - SelectObject(hDC, hRedBrush); - else - SelectObject(hDC, GetStockObject(WHITE_BRUSH)); - Ellipse(hDC, input_posE[k][i].x, input_posE[k][i].y, input_posE[k][i].x+17, input_posE[k][i].y+17); - } - for (i=0; i<8; i++) { - if ((inputBE[k]>>i)&0x01) - SelectObject(hDC, hRedBrush); - else - SelectObject(hDC, GetStockObject(WHITE_BRUSH)); - Ellipse(hDC, output_posE[k][i].x, output_posE[k][i].y, output_posE[k][i].x+17, output_posE[k][i].y+17); - } - for (i=0; i<8; i++) { - if ((inputCE[k]>>i)&0x01) - SelectObject(hDC, hRedBrush); - else - SelectObject(hDC, GetStockObject(WHITE_BRUSH)); - Ellipse(hDC, io_posE[k][i].x, io_posE[k][i].y, io_posE[k][i].x+17, io_posE[k][i].y+17); - } - } //k - EndPaint(hWnd, &ps); - break; - case WM_COMMAND: - switch(LOWORD(wParam)) { - case IDM_EXIT: - SendMessage(hWnd, WM_CLOSE, 0, 0L); - break; - - default: - return(DefWindowProc(hWnd, message, wParam, lParam)); - } - break; - case WM_TIMER: - /* Digital Input */ - hDC=GetDC(hWnd); - for(k=0;k<2;k++) - { - if ( port_a[k]==0) { - DI_ReadPort(card,5*k+Channel_P1A,&inputA[k]); - for (i=0; i<8; i++) { - if (((inputA[k]>>i)&0x01) != ((oldinputA[k]>>i)&0x01) ) - { - if ((inputA[k]>>i)&0x01) - SelectObject(hDC, hRedBrush); - else - SelectObject(hDC, GetStockObject(WHITE_BRUSH)); - Ellipse(hDC, input_pos[k][i].x, input_pos[k][i].y, input_pos[k][i].x+17, input_pos[k][i].y+17); - } - } - oldinputA[k]=inputA[k]; - } - else { - DO_WritePort(card,5*k+Channel_P1A, outputA[k]); - } - if ( port_b[k]==0){ - DI_ReadPort(card,5*k+Channel_P1B,&inputB[k]); - for (i=0; i<8; i++) { - if( ((inputB[k]>>i)&0x01) != ((oldinputB[k]>>i)&0x01) ) - { - if ((inputB[k]>>i)&0x01) - SelectObject(hDC, hRedBrush); - else - SelectObject(hDC, GetStockObject(WHITE_BRUSH)); - Ellipse(hDC, output_pos[k][i].x, output_pos[k][i].y, output_pos[k][i].x+17, output_pos[k][i].y+17); - } - } - oldinputB[k]=inputB[k]; - } - else { - DO_WritePort(card,5*k+Channel_P1B,outputB[k]); - } - if ( port_c_lower[k]==0){ - DI_ReadPort(card,5*k+Channel_P1CL,&inputC[k]); - for (i=0; i<4; i++) { - if( ((inputC[k]>>i)&0x01) != ((oldinputC[k]>>i)&0x01) ) - { - if ((inputC[k]>>i)&0x01) - SelectObject(hDC, hRedBrush); - else - SelectObject(hDC, GetStockObject(WHITE_BRUSH)); - Ellipse(hDC, io_pos[k][i].x, io_pos[k][i].y, io_pos[k][i].x+17, io_pos[k][i].y+17); - } - } //for - oldinputC[k]=inputC[k]; - } //if - else { - DO_WritePort(card,5*k+Channel_P1CL, outputC[k]); - } - if ( port_c_upper[k]==0){ - DI_ReadPort(card,5*k+Channel_P1CH, &inputD[k]); - for (i=0; i<4; i++) { - if( ((inputD[k]>>i)&0x01) != ((oldinputD[k]>>i)&0x01) ) - { - if ((inputD[k]>>i)&0x01) - SelectObject(hDC, hRedBrush); - else - SelectObject(hDC, GetStockObject(WHITE_BRUSH)); - Ellipse(hDC, io_pos[k][i+4].x, io_pos[k][i+4].y, io_pos[k][i+4].x+17, io_pos[k][i+4].y+17); - } - } - oldinputD[k]=inputD[k]; - } - else - { - DO_WritePort(card,5*k+Channel_P1CH,outputD[k]); - } - //external trigger input - DI_ReadPort(card,5*k+Channel_P1AE,&inputAE[k]); - for (i=0; i<8; i++) { - if (((inputAE[k]>>i)&0x01) != ((oldinputAE[k]>>i)&0x01) ) - { - if ((inputAE[k]>>i)&0x01) - SelectObject(hDC, hRedBrush); - else - SelectObject(hDC, GetStockObject(WHITE_BRUSH)); - Ellipse(hDC, input_posE[k][i].x, input_posE[k][i].y, input_posE[k][i].x+17, input_posE[k][i].y+17); - } - } - oldinputAE[k]=inputAE[k]; - DI_ReadPort(card,5*k+Channel_P1BE,&inputBE[k]); - for (i=0; i<8; i++) { - if( ((inputBE[k]>>i)&0x01) != ((oldinputBE[k]>>i)&0x01) ) - { - if ((inputBE[k]>>i)&0x01) - SelectObject(hDC, hRedBrush); - else - SelectObject(hDC, GetStockObject(WHITE_BRUSH)); - Ellipse(hDC, output_posE[k][i].x, output_posE[k][i].y, output_posE[k][i].x+17, output_posE[k][i].y+17); - } - } - oldinputBE[k]=inputBE[k]; - DI_ReadPort(card,5*k+Channel_P1CE,&inputCE[k]); - for (i=0; i<8; i++) { - if( ((inputCE[k]>>i)&0x01) != ((oldinputCE[k]>>i)&0x01) ) - { - if ((inputCE[k]>>i)&0x01) - SelectObject(hDC, hRedBrush); - else - SelectObject(hDC, GetStockObject(WHITE_BRUSH)); - Ellipse(hDC, io_posE[k][i].x, io_posE[k][i].y, io_posE[k][i].x+17, io_posE[k][i].y+17); - } - } //for - oldinputCE[k]=inputCE[k]; - } //k - ReleaseDC(hWnd, hDC); - break; - case WM_DESTROY: - if (card >= 0) Release_Card(card); - DeleteObject(hRedBrush); - DeleteObject(hGreenBrush); - DeleteObject(hLTGreenBrush); - KillTimer(hWnd, TIMER); - PostQuitMessage(0); - break; - case WM_LBUTTONDOWN: - px = LOWORD(lParam); - py = HIWORD(lParam); - - for (k=0;k<2;k++ ) - { - if (px>(input_pos[k][0].x+25) && px<(input_pos[k][0].x+41)) - { - if (py>(input_pos[k][0].y-12) && py<(input_pos[k][0].y+7)) - { - port_a[k]=0; - DIO_PortConfig(card,5*k+Channel_P1A, INPUT_PORT); - InvalidateRect(hWnd, NULL, FALSE); - } - else - if (py>(input_pos[k][0].y+7) && py<(input_pos[k][0].y+26)) - { - port_a[k]=1; - DIO_PortConfig(card,5*k+Channel_P1A, OUTPUT_PORT); - InvalidateRect(hWnd, NULL, FALSE); - } - } - if (px>(output_pos[k][0].x+25) && px<(output_pos[k][0].x+41)) - { - if (py>(output_pos[k][0].y-12) && py<(output_pos[k][0].y+7)) - { - port_b[k]=0; - DIO_PortConfig(card,5*k+Channel_P1B, INPUT_PORT); - InvalidateRect(hWnd, NULL, FALSE); - } - else - if (py>(output_pos[k][0].y+7) && py<(output_pos[k][0].y+26)) - { - port_b[k]=1; - DIO_PortConfig(card,5*k+Channel_P1B, OUTPUT_PORT); - InvalidateRect(hWnd, NULL, FALSE); - } - } - if (px>(io_pos[k][0].x+25) && px<(io_pos[k][0].x+41)) - { - if (py>(io_pos[k][0].y-12) && py<(io_pos[k][0].y+7)) - { - port_c_lower[k]=0; - DIO_PortConfig(card,5*k+Channel_P1CL, INPUT_PORT); - InvalidateRect(hWnd, NULL, FALSE); - } - else - if (py>(io_pos[k][0].y+7) && py<(io_pos[k][0].y+26)) - { - port_c_lower[k]=1; - DIO_PortConfig(card,5*k+Channel_P1CL, OUTPUT_PORT); - InvalidateRect(hWnd, NULL, FALSE); - } - } - if (px>(io_pos[k][4].x+25) && px<(io_pos[k][4].x+41)) - { - if (py>(io_pos[k][4].y-12) && py<(io_pos[k][4].y+7)) - { - port_c_upper[k]=0; - DIO_PortConfig(card,5*k+Channel_P1CH, INPUT_PORT); - InvalidateRect(hWnd, NULL, FALSE); - } - else - if (py>(io_pos[k][4].y+7) && py<(io_pos[k][4].y+26)) - { - port_c_upper[k]=1; - DIO_PortConfig(card,5*k+Channel_P1CH, OUTPUT_PORT); - InvalidateRect(hWnd, NULL, FALSE); - } - } - }//k - hDC = GetDC(hWnd); - for (k=0;k<2;k++) - { - if ( port_a[k]==1 ){ - for (i=0; i<8; i++) { - if (px>input_pos[k][i].x && pxinput_pos[k][i].y && py>i)&0x01) { - outputA[k] -= (((unsigned char)1)<output_pos[k][i].x && pxoutput_pos[k][i].y && py>i)&0x01) { - outputB[k] -= (((unsigned char)1)<io_pos[k][i].x && pxio_pos[k][i].y && py>i)&0x01) { - outputC[k] -= (((unsigned char)1)<io_pos[k][i+4].x && pxio_pos[k][i+4].y && py>i)&0x01) { - outputD[k] -= (((unsigned char)1)< - #include - #include - #include - #include "Dask.h" - #include "resource.h" - - #define IDM_SETUP 101 - #define IDD_DIALOG1 101 - #define IDM_EXIT 110 - #define IDM_GO 300 - #define IDM_CLEAR 305 - #define IDC_COMBO1 1004 - #define IDC_EDIT1 1007 - #define IDC_EDIT2 1008 - #define WM_INT 2000 - - HANDLE hInst; /* current instance */ - HWND hMainWnd; - I16 card=-1, card_number = 0; - - int total_count =40; - int sample_rate=20000; - unsigned int buffer[32768], in_buffer[32768]; - char Buf[80]; - int c1=20,c2=20; - int int_count[2] ={0, 0}; - - int PASCAL WinMain(HANDLE, HANDLE, LPSTR, int); - BOOL InitApplication(HANDLE); - BOOL InitInstance(HANDLE, int); - long PASCAL MainWndProc(HWND, unsigned, WPARAM, LPARAM); - BOOL PASCAL About(HWND, unsigned, WPARAM, LPARAM); - BOOL PASCAL ShowDMA(HWND, unsigned, WPARAM, LPARAM); - LRESULT CALLBACK cbfn(); - void mesgfn(); - /********************************************************************** - - FUNCTION: WinMain(HANDLE, HANDLE, LPSTR, int) - PURPOSE: calls initialization function, processes message loop - - ***********************************************************************/ - - int PASCAL WinMain(hInstance, hPrevInstance, lpCmdLine, nCmdShow) - - HANDLE hInstance; - HANDLE hPrevInstance; - LPSTR lpCmdLine; - int nCmdShow; - - { - MSG msg; - - if(!hPrevInstance) - if(!InitApplication(hInstance)) - return(FALSE); - - if(!InitInstance(hInstance, nCmdShow)) - return(FALSE); - - while ( GetMessage(&msg, NULL, NULL, NULL)) - { - TranslateMessage(&msg); - DispatchMessage(&msg); - } - return(msg.wParam); - } - -/**************************************************************************** - - FUNCTION: InitApplication(HANDLE) - - PURPOSE: Initializes window data and registers window class - -****************************************************************************/ - -BOOL InitApplication(hInstance) -HANDLE hInstance; -{ - WNDCLASS wc; - - wc.style = NULL; - wc.lpfnWndProc = MainWndProc; - wc.cbClsExtra = 0; - wc.cbWndExtra = 0; - wc.hInstance = hInstance; - wc.hIcon = LoadIcon(NULL, IDI_APPLICATION); - wc.hCursor = LoadCursor(hInstance, IDC_ARROW); - wc.hbrBackground = GetStockObject(WHITE_BRUSH); - wc.lpszMenuName = "IntMenu"; - wc.lpszClassName = "IntClass"; - - return (RegisterClass(&wc)); -} - -/**************************************************************************** - - FUNCTION: InitInstance(HANDLE, int) - - PURPOSE: Saves instance handle and creates main window - -****************************************************************************/ - -BOOL InitInstance(hInstance, nCmdShow) -HANDLE hInstance; -int nCmdShow; -{ - HWND hWnd; - - hInst = hInstance; - hWnd = CreateWindow("IntClass", - "PCI-7249 Interrupt Samples", - WS_OVERLAPPEDWINDOW, - 200, - 100, - 375, - 370, - NULL, - NULL, - hInstance, - NULL); - - if (!hWnd) return (FALSE); - ShowWindow(hWnd, nCmdShow); - UpdateWindow(hWnd); - return (TRUE); -} - - -BOOL PASCAL setup(HWND hWnd, unsigned message, WPARAM wParam, LPARAM lParam) -{ - int i,k=0; - char n[16]; - char s[50]; - BOOL ok; - - - switch (message) { - case WM_INITDIALOG: - for (i=0;i<16;i++) { - wsprintf(n, "%d", i); - _strupr(n); - SendMessage(GetDlgItem(hWnd,IDC_COMBO1), CB_ADDSTRING, NULL, (LONG)(LPSTR) n); - } - SendMessage(GetDlgItem(hWnd,IDC_COMBO1) , CB_SETCURSEL, 0, 0L); - if(card >=0) - EnableWindow(GetDlgItem(hWnd,IDC_COMBO1), FALSE); - SendMessage(GetDlgItem(hWnd,IDC_EDIT2) , WM_SETTEXT, 0, "5000"); - SendMessage(GetDlgItem(hWnd,IDC_EDIT1) , WM_SETTEXT, 0, "40"); - - break; - case WM_COMMAND: - switch(LOWORD(wParam)) { - case IDC_COMBO1: - if (HIWORD(wParam) == CBN_CLOSEUP) { - i = (int)SendMessage(GetDlgItem(hWnd,IDC_COMBO1), CB_GETCURSEL, 0, 0L); - SendMessage(GetDlgItem(hWnd,IDC_COMBO1), CB_GETLBTEXT, i, (LPARAM)((LPCSTR)n)); - card_number = i; - } - return(TRUE); - case IDOK: - if (card < 0) { - if ((card=Register_Card(PCI_7249, card_number))< 0) { - wsprintf(s, "Register_Card Error = %d\n", card); - MessageBox(hWnd, s, "Error", MB_OK); - } - } - total_count = GetDlgItemInt(hWnd,IDC_EDIT1, &ok, FALSE); - if (total_count > 32768) { - MessageBox(hWnd,"Count can be assigned at most 32768", "INT", MB_OK); - break; - } - for (i=0;i255) k=0; - } - for (i=0;i 15000 ) sample_rate=15000; - c2=2000000/(sample_rate*c1); - - EndDialog(hWnd, TRUE); - return (TRUE); - case IDCANCEL: - EndDialog(hWnd, TRUE); - return (TRUE); - } - break; - } - return (FALSE); -} - -/**************************************************************************** - - FUNCTION: MainWndProc(HWND, UINT, WPARAM, LPARAM) - - PURPOSE: Processes messages - - -****************************************************************************/ - -long PASCAL MainWndProc(hWnd, message, wParam, lParam) -HWND hWnd; -unsigned message; -WPARAM wParam; -LPARAM lParam; -{ - int i, k; - int cur_count=0; - HDC hDC1; - PAINTSTRUCT ps; - FARPROC lpProc; - - hMainWnd = hWnd; - switch(message) { - - case WM_CREATE: - break; - case WM_PAINT: - hDC1=BeginPaint(hWnd, &ps); - wsprintf(Buf,"This program performs digital output on Port A of"); - TextOut(hDC1,20,10,Buf,strlen(Buf)); - wsprintf(Buf,"CN2 and digital input on Port A of CN1 when an"); - TextOut(hDC1,20,30,Buf,strlen(Buf)); - wsprintf(Buf,"interrupt happens. The INT2 is used, and interrupt"); - TextOut(hDC1,20,50,Buf,strlen(Buf)); - wsprintf(Buf,"signals are generated by internal Timer Output."); - TextOut(hDC1,20,70,Buf,strlen(Buf)); - SetTextColor(hDC1, RGB(255,0,0)); - wsprintf(Buf,"Push 'Setup' button first ..."); - TextOut(hDC1,20,90,Buf,strlen(Buf)); - EndPaint(hWnd, &ps); - break; - case WM_COMMAND: - switch(wParam) { - case IDM_SETUP: - lpProc = MakeProcInstance(setup, hInst); - DialogBox(hInst,IDD_DIALOG1,hWnd,lpProc); - FreeProcInstance(lpProc); - if(card <0) - SendMessage(hWnd, WM_CLOSE, 0, 0L); - break; - - case IDM_GO: - // Interrupt Trigger - int_count[0]=0; - int_count[1]=0; - DIO_PortConfig(card,Channel_P1A, INPUT_PORT); - DIO_PortConfig(card,Channel_P2A, OUTPUT_PORT); - DIO_PortConfig(card,Channel_P1C, INPUT_PORT); - DIO_PortConfig(card,Channel_P2C, OUTPUT_PORT); - - DIO_INT1_EventMessage (card, INT1_FP1C0, hWnd, NULL, (void *) cbfn); - DIO_INT2_EventMessage (card, INT2_TIMER_COUNTER, hWnd, WM_INT, NULL); - - CTR_Setup (card, 1, 2, c1, BIN); - CTR_Setup (card, 2, 2, c2, BIN); - k=0; i=0; - break; - - case IDM_CLEAR : - PostQuitMessage(0); - break; - } - break; - case WM_INT: - mesgfn(); - break; - case WM_DESTROY: - if (card >= 0) Release_Card(card); - PostQuitMessage(0); - break; - - default: - return (DefWindowProc(hWnd, message, wParam, lParam)); - } - return(0L); -} - -void mesgfn() -{ - HDC hDC; - int i; - - hDC=GetDC(hMainWnd); - if(int_count[1]=10 && i<20) { - wsprintf(Buf,"%d, ",in_buffer[i]); - TextOut(hDC,20+25*(i-10),220,Buf,strlen(Buf)); - } - if(i>=20 && i<30) { - wsprintf(Buf,"%d, ",in_buffer[i]); - TextOut(hDC,20+25*(i-20),245,Buf,strlen(Buf)); - } - if (i>=30 && i<40) { - wsprintf(Buf,"%d, ",in_buffer[i]); - TextOut(hDC,20+25*(i-30),270,Buf,strlen(Buf)); - } - if (i>=40 && i<50) { - wsprintf(Buf,"%d, ",in_buffer[i]); - TextOut(hDC,20+25*(i-40),295,Buf,strlen(Buf)); - } - } - ReleaseDC(hMainWnd, hDC); - } -} - -LRESULT CALLBACK cbfn() -{ - int_count[0]++; -} - - \ No newline at end of file diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7249/SDK7249DbEvt/7249INT.RC b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7249/SDK7249DbEvt/7249INT.RC deleted file mode 100644 index 3fcc53d..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7249/SDK7249DbEvt/7249INT.RC +++ /dev/null @@ -1,122 +0,0 @@ -//Microsoft Developer Studio generated resource script. -// -#include "resource.h" - -#define APSTUDIO_READONLY_SYMBOLS -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 2 resource. -// -#define APSTUDIO_HIDDEN_SYMBOLS -#include "windows.h" -#undef APSTUDIO_HIDDEN_SYMBOLS - -///////////////////////////////////////////////////////////////////////////// -#undef APSTUDIO_READONLY_SYMBOLS - -///////////////////////////////////////////////////////////////////////////// -// English (U.S.) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -#ifdef _WIN32 -LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US -#pragma code_page(1252) -#endif //_WIN32 - -#ifdef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// TEXTINCLUDE -// - -1 TEXTINCLUDE DISCARDABLE -BEGIN - "resource.h\0" -END - -2 TEXTINCLUDE DISCARDABLE -BEGIN - "#define APSTUDIO_HIDDEN_SYMBOLS\r\n" - "#include ""windows.h""\r\n" - "#undef APSTUDIO_HIDDEN_SYMBOLS\r\n" - "\0" -END - -3 TEXTINCLUDE DISCARDABLE -BEGIN - "\r\n" - "\0" -END - -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// Menu -// - -INTMENU MENU DISCARDABLE -BEGIN - MENUITEM "Setup", IDM_SETUP - MENUITEM "Interrupt Trigger", IDM_GO - MENUITEM "Exit", IDM_CLEAR -END - - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog -// - -IDD_DIALOG1 DIALOG DISCARDABLE 0, 0, 130, 108 -STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "Setup Dialog" -FONT 10, "System" -BEGIN - DEFPUSHBUTTON "OK",IDOK,13,87,41,14 - PUSHBUTTON "Cancel",IDCANCEL,70,87,43,14 - LTEXT "Total Count",IDC_STATIC,6,34,41,12 - LTEXT "Sampling Rate",IDC_STATIC,6,57,48,12 - EDITTEXT IDC_EDIT1,56,30,67,15,ES_AUTOHSCROLL - EDITTEXT IDC_EDIT2,56,54,67,15,ES_AUTOHSCROLL - LTEXT "Card Number",IDC_STATIC,6,12,45,12 - COMBOBOX IDC_COMBO1,55,12,68,84,CBS_DROPDOWN | WS_VSCROLL | - WS_TABSTOP -END - - -///////////////////////////////////////////////////////////////////////////// -// -// DESIGNINFO -// - -#ifdef APSTUDIO_INVOKED -GUIDELINES DESIGNINFO DISCARDABLE -BEGIN - IDD_DIALOG1, DIALOG - BEGIN - LEFTMARGIN, 6 - RIGHTMARGIN, 123 - TOPMARGIN, 12 - BOTTOMMARGIN, 101 - HORZGUIDE, 69 - END -END -#endif // APSTUDIO_INVOKED - -#endif // English (U.S.) resources -///////////////////////////////////////////////////////////////////////////// - - - -#ifndef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 3 resource. -// - - -///////////////////////////////////////////////////////////////////////////// -#endif // not APSTUDIO_INVOKED - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7249/SDK7249DbEvt/Resource.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7249/SDK7249DbEvt/Resource.h deleted file mode 100644 index 556ad96..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7249/SDK7249DbEvt/Resource.h +++ /dev/null @@ -1,26 +0,0 @@ -//{{NO_DEPENDENCIES}} -// Microsoft Developer Studio generated include file. -// Used by 7249int.rc -// -#define IDM_SETUP 101 -#define IDD_DIALOG1 101 -#define IDM_EXIT 110 -#define IDM_GO 300 -#define ID_STOP 304 -#define IDM_CLEAR 305 -#define IDC_COMBO1 1004 -#define IDC_COMBO2 1005 -#define IDC_EDIT1 1007 -#define IDC_EDIT2 1008 -#define IDC_STATIC -1 - -// Next default values for new objects -// -#ifdef APSTUDIO_INVOKED -#ifndef APSTUDIO_READONLY_SYMBOLS -#define _APS_NEXT_RESOURCE_VALUE 102 -#define _APS_NEXT_COMMAND_VALUE 102 -#define _APS_NEXT_CONTROL_VALUE 1008 -#define _APS_NEXT_SYMED_VALUE 101 -#endif -#endif diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7249/SDK7249DbEvt/SDK7249Int.exe b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7249/SDK7249DbEvt/SDK7249Int.exe deleted file mode 100644 index cd98f5f..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7249/SDK7249DbEvt/SDK7249Int.exe and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7249/SDK7249DbEvt/SDK7249Int.mak b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7249/SDK7249DbEvt/SDK7249Int.mak deleted file mode 100644 index d5ab225..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7249/SDK7249DbEvt/SDK7249Int.mak +++ /dev/null @@ -1,219 +0,0 @@ -# Microsoft Developer Studio Generated NMAKE File, Format Version 4.00 -# ** DO NOT EDIT ** - -# TARGTYPE "Win32 (x86) Application" 0x0101 - -!IF "$(CFG)" == "" -CFG=SDK7249Int - Win32 Debug -!MESSAGE No configuration specified. Defaulting to SDK7249Int - Win32 Debug. -!ENDIF - -!IF "$(CFG)" != "SDK7249Int - Win32 Release" && "$(CFG)" !=\ - "SDK7249Int - Win32 Debug" -!MESSAGE Invalid configuration "$(CFG)" specified. -!MESSAGE You can specify a configuration when running NMAKE on this makefile -!MESSAGE by defining the macro CFG on the command line. For example: -!MESSAGE -!MESSAGE NMAKE /f "SDK7249Int.mak" CFG="SDK7249Int - Win32 Debug" -!MESSAGE -!MESSAGE Possible choices for configuration are: -!MESSAGE -!MESSAGE "SDK7249Int - Win32 Release" (based on "Win32 (x86) Application") -!MESSAGE "SDK7249Int - Win32 Debug" (based on "Win32 (x86) Application") -!MESSAGE -!ERROR An invalid configuration is specified. -!ENDIF - -!IF "$(OS)" == "Windows_NT" -NULL= -!ELSE -NULL=nul -!ENDIF -################################################################################ -# Begin Project -# PROP Target_Last_Scanned "SDK7249Int - Win32 Debug" -MTL=mktyplib.exe -RSC=rc.exe -CPP=cl.exe - -!IF "$(CFG)" == "SDK7249Int - Win32 Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "Release" -# PROP BASE Intermediate_Dir "Release" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "" -# PROP Intermediate_Dir "Release" -# PROP Target_Dir "" -OUTDIR=. -INTDIR=.\Release - -ALL : "$(OUTDIR)\SDK7249Int.exe" - -CLEAN : - -@erase ".\SDK7249Int.exe" - -@erase ".\Release\7249int.obj" - -@erase ".\Release\7249int.res" - -"$(INTDIR)" : - if not exist "$(INTDIR)/$(NULL)" mkdir "$(INTDIR)" - -# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /YX /c -# ADD CPP /nologo /MT /W3 /GX /Od /I "..\..\..\include" /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /c -# SUBTRACT CPP /YX -CPP_PROJ=/nologo /MT /W3 /GX /Od /I "..\..\..\include" /D "WIN32" /D "NDEBUG"\ - /D "_WINDOWS" /Fo"$(INTDIR)/" /c -CPP_OBJS=.\Release/ -CPP_SBRS= -# ADD BASE MTL /nologo /D "NDEBUG" /win32 -# ADD MTL /nologo /D "NDEBUG" /win32 -MTL_PROJ=/nologo /D "NDEBUG" /win32 -# ADD BASE RSC /l 0x409 /d "NDEBUG" -# ADD RSC /l 0x409 /d "NDEBUG" -RSC_PROJ=/l 0x409 /fo"$(INTDIR)/7249int.res" /d "NDEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -BSC32_FLAGS=/nologo /o"$(OUTDIR)/SDK7249Int.bsc" -BSC32_SBRS= -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:windows /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ..\..\..\lib\pci-dask.lib /nologo /subsystem:windows /machine:I386 -LINK32_FLAGS=kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib\ - advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib\ - odbccp32.lib ..\..\..\lib\pci-dask.lib /nologo /subsystem:windows\ - /incremental:no /pdb:"$(OUTDIR)/SDK7249Int.pdb" /machine:I386\ - /out:"$(OUTDIR)/SDK7249Int.exe" -LINK32_OBJS= \ - ".\Release\7249int.obj" \ - ".\Release\7249int.res" - -"$(OUTDIR)\SDK7249Int.exe" : "$(OUTDIR)" $(DEF_FILE) $(LINK32_OBJS) - $(LINK32) @<< - $(LINK32_FLAGS) $(LINK32_OBJS) -<< - -!ELSEIF "$(CFG)" == "SDK7249Int - Win32 Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "SDK7249I" -# PROP BASE Intermediate_Dir "SDK7249I" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "" -# PROP Intermediate_Dir "Debug" -# PROP Target_Dir "" -OUTDIR=. -INTDIR=.\Debug - -ALL : "$(OUTDIR)\SDK7249Int.exe" - -CLEAN : - -@erase ".\Debug\vc40.pdb" - -@erase ".\Debug\vc40.idb" - -@erase ".\SDK7249Int.exe" - -@erase ".\Debug\7249int.obj" - -@erase ".\Debug\7249int.res" - -@erase ".\SDK7249Int.ilk" - -@erase ".\SDK7249Int.pdb" - -"$(INTDIR)" : - if not exist "$(INTDIR)/$(NULL)" mkdir "$(INTDIR)" - -# ADD BASE CPP /nologo /W3 /Gm /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /YX /c -# ADD CPP /nologo /MTd /W3 /Gm /GX /Zi /Od /I "..\..\..\include" /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /c -# SUBTRACT CPP /YX -CPP_PROJ=/nologo /MTd /W3 /Gm /GX /Zi /Od /I "..\..\..\include" /D "WIN32" /D\ - "_DEBUG" /D "_WINDOWS" /Fo"$(INTDIR)/" /Fd"$(INTDIR)/" /c -CPP_OBJS=.\Debug/ -CPP_SBRS= -# ADD BASE MTL /nologo /D "_DEBUG" /win32 -# ADD MTL /nologo /D "_DEBUG" /win32 -MTL_PROJ=/nologo /D "_DEBUG" /win32 -# ADD BASE RSC /l 0x409 /d "_DEBUG" -# ADD RSC /l 0x409 /d "_DEBUG" -RSC_PROJ=/l 0x409 /fo"$(INTDIR)/7249int.res" /d "_DEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -BSC32_FLAGS=/nologo /o"$(OUTDIR)/SDK7249Int.bsc" -BSC32_SBRS= -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:windows /debug /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ..\..\..\lib\pci-dask.lib /nologo /subsystem:windows /debug /machine:I386 -LINK32_FLAGS=kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib\ - advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib\ - odbccp32.lib ..\..\..\lib\pci-dask.lib /nologo /subsystem:windows\ - /incremental:yes /pdb:"$(OUTDIR)/SDK7249Int.pdb" /debug /machine:I386\ - /out:"$(OUTDIR)/SDK7249Int.exe" -LINK32_OBJS= \ - ".\Debug\7249int.obj" \ - ".\Debug\7249int.res" - -"$(OUTDIR)\SDK7249Int.exe" : "$(OUTDIR)" $(DEF_FILE) $(LINK32_OBJS) - $(LINK32) @<< - $(LINK32_FLAGS) $(LINK32_OBJS) -<< - -!ENDIF - -.c{$(CPP_OBJS)}.obj: - $(CPP) $(CPP_PROJ) $< - -.cpp{$(CPP_OBJS)}.obj: - $(CPP) $(CPP_PROJ) $< - -.cxx{$(CPP_OBJS)}.obj: - $(CPP) $(CPP_PROJ) $< - -.c{$(CPP_SBRS)}.sbr: - $(CPP) $(CPP_PROJ) $< - -.cpp{$(CPP_SBRS)}.sbr: - $(CPP) $(CPP_PROJ) $< - -.cxx{$(CPP_SBRS)}.sbr: - $(CPP) $(CPP_PROJ) $< - -################################################################################ -# Begin Target - -# Name "SDK7249Int - Win32 Release" -# Name "SDK7249Int - Win32 Debug" - -!IF "$(CFG)" == "SDK7249Int - Win32 Release" - -!ELSEIF "$(CFG)" == "SDK7249Int - Win32 Debug" - -!ENDIF - -################################################################################ -# Begin Source File - -SOURCE=.\7249int.rc - -"$(INTDIR)\7249int.res" : $(SOURCE) "$(INTDIR)" - $(RSC) $(RSC_PROJ) $(SOURCE) - - -# End Source File -################################################################################ -# Begin Source File - -SOURCE=.\7249int.c -DEP_CPP_7249I=\ - ".\..\..\..\include\Dask.h"\ - - -"$(INTDIR)\7249int.obj" : $(SOURCE) $(DEP_CPP_7249I) "$(INTDIR)" - - -# End Source File -# End Target -# End Project -################################################################################ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7249/SDK7249DbEvt/SDK7249Int.mdp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7249/SDK7249DbEvt/SDK7249Int.mdp deleted file mode 100644 index ab147ef..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7249/SDK7249DbEvt/SDK7249Int.mdp and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7249/VB7249/7249GLBL.BAS b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7249/VB7249/7249GLBL.BAS deleted file mode 100644 index 77a2e7f..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7249/VB7249/7249GLBL.BAS +++ /dev/null @@ -1,4 +0,0 @@ -Attribute VB_Name = "Module1" -Global card As Integer -Global card_number As Integer - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7249/VB7249/Base7249.frm b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7249/VB7249/Base7249.frm deleted file mode 100644 index 74fa8a3..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7249/VB7249/Base7249.frm +++ /dev/null @@ -1,99 +0,0 @@ -VERSION 4.00 -Begin VB.Form SettingForm - Appearance = 0 'Flat - BackColor = &H00C0C0C0& - Caption = "Card Number Setting" - ClientHeight = 1275 - ClientLeft = 4590 - ClientTop = 4545 - ClientWidth = 2820 - BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851} - Name = "MS Sans Serif" - Size = 8.25 - Charset = 0 - Weight = 700 - Underline = 0 'False - Italic = 0 'False - Strikethrough = 0 'False - EndProperty - ForeColor = &H80000008& - Height = 1680 - Left = 4530 - LinkTopic = "Form2" - ScaleHeight = 1275 - ScaleWidth = 2820 - Top = 4200 - Width = 2940 - Begin VB.CommandButton OKBtn - Appearance = 0 'Flat - BackColor = &H80000005& - Caption = "OK" - Default = -1 'True - Height = 315 - Left = 300 - TabIndex = 0 - Top = 720 - Width = 915 - End - Begin VB.CommandButton CancelBtn - Appearance = 0 'Flat - BackColor = &H80000005& - Cancel = -1 'True - Caption = "Cancel" - Height = 315 - Left = 1380 - TabIndex = 3 - Top = 720 - Width = 915 - End - Begin VB.ComboBox CardNum - Appearance = 0 'Flat - Height = 300 - Left = 1440 - Style = 2 'Dropdown List - TabIndex = 2 - Top = 120 - Width = 1035 - End - Begin VB.Label Label2 - Appearance = 0 'Flat - BackColor = &H00C0C0C0& - Caption = "Card Number:" - ForeColor = &H00000000& - Height = 195 - Index = 0 - Left = 180 - TabIndex = 1 - Top = 180 - Width = 1275 - End -End -Attribute VB_Name = "SettingForm" -Attribute VB_Creatable = False -Attribute VB_Exposed = False - - -Private Sub BaseAddr_Change() - -End Sub - - -Private Sub CancelBtn_Click() - Unload SettingForm -End Sub - -Private Sub Form_Load() - Dim i As Long - For i = 0 To 15 Step 1 - CardNum.AddItem i - Next - CardNum.ListIndex = 0 -End Sub - -Private Sub OKBtn_Click() - card = -1 - card_number = CardNum.ListIndex - card = Register_Card(PCI_7249, card_number) - Unload SettingForm -End Sub - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7249/VB7249/DIA_1.BMP b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7249/VB7249/DIA_1.BMP deleted file mode 100644 index 5b799e3..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7249/VB7249/DIA_1.BMP and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7249/VB7249/DIB_1.BMP b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7249/VB7249/DIB_1.BMP deleted file mode 100644 index 5d46b17..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7249/VB7249/DIB_1.BMP and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7249/VB7249/DIC_1.BMP b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7249/VB7249/DIC_1.BMP deleted file mode 100644 index f4d15c0..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7249/VB7249/DIC_1.BMP and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7249/VB7249/DI_0.BMP b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7249/VB7249/DI_0.BMP deleted file mode 100644 index 66e3384..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7249/VB7249/DI_0.BMP and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7249/VB7249/DI_1.BMP b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7249/VB7249/DI_1.BMP deleted file mode 100644 index d7da598..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7249/VB7249/DI_1.BMP and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7249/VB7249/DOA_1.BMP b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7249/VB7249/DOA_1.BMP deleted file mode 100644 index 5edd2df..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7249/VB7249/DOA_1.BMP and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7249/VB7249/DOB_1.BMP b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7249/VB7249/DOB_1.BMP deleted file mode 100644 index b5189d7..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7249/VB7249/DOB_1.BMP and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7249/VB7249/DOC_1.BMP b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7249/VB7249/DOC_1.BMP deleted file mode 100644 index 30f909f..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7249/VB7249/DOC_1.BMP and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7249/VB7249/DO_0.BMP b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7249/VB7249/DO_0.BMP deleted file mode 100644 index 81b0c50..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7249/VB7249/DO_0.BMP and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7249/VB7249/DO_1.BMP b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7249/VB7249/DO_1.BMP deleted file mode 100644 index 30f909f..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7249/VB7249/DO_1.BMP and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7249/VB7249/INPUT.BMP b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7249/VB7249/INPUT.BMP deleted file mode 100644 index b795ac8..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7249/VB7249/INPUT.BMP and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7249/VB7249/OUTPUT.BMP b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7249/VB7249/OUTPUT.BMP deleted file mode 100644 index 8907a70..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7249/VB7249/OUTPUT.BMP and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7249/VB7249/Util7249.Vbp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7249/VB7249/Util7249.Vbp deleted file mode 100644 index 8275495..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7249/VB7249/Util7249.Vbp +++ /dev/null @@ -1,19 +0,0 @@ -Form=UTIL7249.FRM -Module=DASK; ..\..\..\Include\Dask.bas -Module=Module1; 7249glbl.bas -Form=Base7249.frm -Reference=*\G{00025E04-0000-0000-C000-000000000046}#2.5#0#C:\WINDOWS\SYSTEM\dao2532.tlb#Microsoft DAO 2.5/3.0 Compatibility Library -ProjWinSize=110,489,248,215 -ProjWinShow=2 -IconForm="uti49dio" -ExeName32="Util7249.exe" -Name="util48" -HelpContextID="0" -StartMode=0 -VersionCompatible32="0" -MajorVer=1 -MinorVer=0 -RevisionVer=0 -AutoIncrementVer=0 -ServerSupportFiles=0 -VersionCompanyName="ADLINK" diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7249/VB7249/Util7249.frm b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7249/VB7249/Util7249.frm deleted file mode 100644 index 7f01102..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7249/VB7249/Util7249.frm +++ /dev/null @@ -1,1220 +0,0 @@ -VERSION 4.00 -Begin VB.Form uti49dio - Appearance = 0 'Flat - BackColor = &H00C0C0C0& - Caption = "PCI-7249 Sample Program" - ClientHeight = 1890 - ClientLeft = 120 - ClientTop = 2370 - ClientWidth = 7680 - BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851} - Name = "MS Sans Serif" - Size = 8.25 - Charset = 0 - Weight = 700 - Underline = 0 'False - Italic = 0 'False - Strikethrough = 0 'False - EndProperty - ForeColor = &H80000008& - Height = 2580 - Left = 60 - LinkTopic = "Form1" - ScaleHeight = 1890 - ScaleWidth = 7680 - Top = 1740 - Width = 7800 - Begin VB.Timer Timer1 - Interval = 100 - Left = 7080 - Top = 1680 - End - Begin VB.Frame Frame1 - Appearance = 0 'Flat - BackColor = &H00C0C0C0& - Caption = "Port C (Lower)" - BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851} - Name = "Times New Roman" - Size = 8.25 - Charset = 0 - Weight = 400 - Underline = 0 'False - Italic = 0 'False - Strikethrough = 0 'False - EndProperty - ForeColor = &H00FF0000& - Height = 1455 - Index = 3 - Left = 6300 - TabIndex = 2 - Top = 120 - Width = 1275 - Begin VB.Image output_cl - Appearance = 0 'Flat - Height = 165 - Index = 1 - Left = 1035 - Picture = "UTIL7249.frx":0000 - Top = 1035 - Width = 165 - End - Begin VB.Image output_cl - Appearance = 0 'Flat - Height = 165 - Index = 0 - Left = 1035 - Picture = "UTIL7249.frx":00DA - Top = 555 - Width = 165 - End - Begin VB.Image input_cl - Appearance = 0 'Flat - Height = 165 - Index = 1 - Left = 1035 - Picture = "UTIL7249.frx":01B4 - Top = 840 - Width = 165 - End - Begin VB.Image input_cl - Appearance = 0 'Flat - Height = 165 - Index = 0 - Left = 1035 - Picture = "UTIL7249.frx":028E - Top = 360 - Width = 165 - End - Begin VB.Image bit_cl - Appearance = 0 'Flat - Height = 180 - Index = 7 - Left = 120 - Picture = "UTIL7249.frx":0368 - Top = 960 - Width = 180 - End - Begin VB.Image bit_cl - Appearance = 0 'Flat - Height = 180 - Index = 6 - Left = 330 - Picture = "UTIL7249.frx":044A - Top = 960 - Width = 180 - End - Begin VB.Image bit_cl - Appearance = 0 'Flat - Height = 180 - Index = 5 - Left = 540 - Picture = "UTIL7249.frx":052C - Top = 960 - Width = 180 - End - Begin VB.Image bit_cl - Appearance = 0 'Flat - Height = 180 - Index = 4 - Left = 750 - Picture = "UTIL7249.frx":060E - Top = 960 - Width = 180 - End - Begin VB.Image bit_cl - Appearance = 0 'Flat - Height = 180 - Index = 3 - Left = 120 - Picture = "UTIL7249.frx":06F0 - Top = 480 - Width = 180 - End - Begin VB.Image bit_cl - Appearance = 0 'Flat - Height = 180 - Index = 2 - Left = 330 - Picture = "UTIL7249.frx":07D2 - Top = 480 - Width = 180 - End - Begin VB.Image bit_cl - Appearance = 0 'Flat - Height = 180 - Index = 1 - Left = 540 - Picture = "UTIL7249.frx":08B4 - Top = 480 - Width = 180 - End - Begin VB.Image bit_cl - Appearance = 0 'Flat - Height = 180 - Index = 0 - Left = 750 - Picture = "UTIL7249.frx":0996 - Top = 480 - Width = 180 - End - Begin VB.Shape Shape_cl - BorderColor = &H00C0C0C0& - FillColor = &H00FF0000& - FillStyle = 0 'Solid - Height = 375 - Index = 1 - Left = 60 - Top = 840 - Width = 960 - End - Begin VB.Shape Shape_cl - BorderColor = &H00C0C0C0& - FillColor = &H00FF0000& - FillStyle = 0 'Solid - Height = 375 - Index = 0 - Left = 60 - Top = 360 - Width = 960 - End - End - Begin VB.Frame Frame1 - Appearance = 0 'Flat - BackColor = &H00C0C0C0& - Caption = "Port C (Upper)" - BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851} - Name = "Times New Roman" - Size = 8.25 - Charset = 0 - Weight = 400 - Underline = 0 'False - Italic = 0 'False - Strikethrough = 0 'False - EndProperty - ForeColor = &H00FF0000& - Height = 1455 - Index = 2 - Left = 2820 - TabIndex = 3 - Top = 120 - Width = 1275 - Begin VB.Image output_cu - Appearance = 0 'Flat - Height = 165 - Index = 1 - Left = 1035 - Picture = "UTIL7249.frx":0A78 - Top = 1035 - Width = 165 - End - Begin VB.Image output_cu - Appearance = 0 'Flat - Height = 165 - Index = 0 - Left = 1035 - Picture = "UTIL7249.frx":0B52 - Top = 555 - Width = 165 - End - Begin VB.Image input_cu - Appearance = 0 'Flat - Height = 165 - Index = 1 - Left = 1035 - Picture = "UTIL7249.frx":0C2C - Top = 840 - Width = 165 - End - Begin VB.Image input_cu - Appearance = 0 'Flat - Height = 165 - Index = 0 - Left = 1035 - Picture = "UTIL7249.frx":0D06 - Top = 360 - Width = 165 - End - Begin VB.Image bit_cu - Appearance = 0 'Flat - Height = 180 - Index = 7 - Left = 120 - Picture = "UTIL7249.frx":0DE0 - Top = 960 - Width = 180 - End - Begin VB.Image bit_cu - Appearance = 0 'Flat - Height = 180 - Index = 6 - Left = 330 - Picture = "UTIL7249.frx":0EC2 - Top = 960 - Width = 180 - End - Begin VB.Image bit_cu - Appearance = 0 'Flat - Height = 180 - Index = 5 - Left = 540 - Picture = "UTIL7249.frx":0FA4 - Top = 960 - Width = 180 - End - Begin VB.Image bit_cu - Appearance = 0 'Flat - Height = 180 - Index = 4 - Left = 750 - Picture = "UTIL7249.frx":1086 - Top = 960 - Width = 180 - End - Begin VB.Image bit_cu - Appearance = 0 'Flat - Height = 180 - Index = 3 - Left = 120 - Picture = "UTIL7249.frx":1168 - Top = 480 - Width = 180 - End - Begin VB.Image bit_cu - Appearance = 0 'Flat - Height = 180 - Index = 2 - Left = 330 - Picture = "UTIL7249.frx":124A - Top = 480 - Width = 180 - End - Begin VB.Image bit_cu - Appearance = 0 'Flat - Height = 180 - Index = 1 - Left = 540 - Picture = "UTIL7249.frx":132C - Top = 480 - Width = 180 - End - Begin VB.Image bit_cu - Appearance = 0 'Flat - Height = 180 - Index = 0 - Left = 750 - Picture = "UTIL7249.frx":140E - Top = 480 - Width = 180 - End - Begin VB.Shape Shape_cu - BorderColor = &H00C0C0C0& - FillColor = &H00FF0000& - FillStyle = 0 'Solid - Height = 375 - Index = 0 - Left = 60 - Top = 360 - Width = 960 - End - Begin VB.Shape Shape_cu - BorderColor = &H00C0C0C0& - FillColor = &H00FF0000& - FillStyle = 0 'Solid - Height = 375 - Index = 1 - Left = 60 - Top = 840 - Width = 960 - End - End - Begin VB.Frame Frame1 - Appearance = 0 'Flat - BackColor = &H00C0C0C0& - Caption = "Port B" - BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851} - Name = "Times New Roman" - Size = 8.25 - Charset = 0 - Weight = 400 - Underline = 0 'False - Italic = 0 'False - Strikethrough = 0 'False - EndProperty - ForeColor = &H00FF0000& - Height = 1455 - Index = 1 - Left = 4140 - TabIndex = 4 - Top = 120 - Width = 2115 - Begin VB.Image output_b - Appearance = 0 'Flat - Height = 165 - Index = 1 - Left = 1875 - Picture = "UTIL7249.frx":14F0 - Top = 1035 - Width = 165 - End - Begin VB.Image output_b - Appearance = 0 'Flat - Height = 165 - Index = 0 - Left = 1875 - Picture = "UTIL7249.frx":15CA - Top = 555 - Width = 165 - End - Begin VB.Image input_b - Appearance = 0 'Flat - Height = 165 - Index = 1 - Left = 1875 - Picture = "UTIL7249.frx":16A4 - Top = 840 - Width = 165 - End - Begin VB.Image input_b - Appearance = 0 'Flat - Height = 165 - Index = 0 - Left = 1875 - Picture = "UTIL7249.frx":177E - Top = 360 - Width = 165 - End - Begin VB.Image bit_b - Appearance = 0 'Flat - Height = 180 - Index = 15 - Left = 120 - Picture = "UTIL7249.frx":1858 - Top = 960 - Width = 180 - End - Begin VB.Image bit_b - Appearance = 0 'Flat - Height = 180 - Index = 14 - Left = 330 - Picture = "UTIL7249.frx":193A - Top = 960 - Width = 180 - End - Begin VB.Image bit_b - Appearance = 0 'Flat - Height = 180 - Index = 13 - Left = 540 - Picture = "UTIL7249.frx":1A1C - Top = 960 - Width = 180 - End - Begin VB.Image bit_b - Appearance = 0 'Flat - Height = 180 - Index = 12 - Left = 750 - Picture = "UTIL7249.frx":1AFE - Top = 960 - Width = 180 - End - Begin VB.Image bit_b - Appearance = 0 'Flat - Height = 180 - Index = 11 - Left = 960 - Picture = "UTIL7249.frx":1BE0 - Top = 960 - Width = 180 - End - Begin VB.Image bit_b - Appearance = 0 'Flat - Height = 180 - Index = 10 - Left = 1170 - Picture = "UTIL7249.frx":1CC2 - Top = 960 - Width = 180 - End - Begin VB.Image bit_b - Appearance = 0 'Flat - Height = 180 - Index = 9 - Left = 1380 - Picture = "UTIL7249.frx":1DA4 - Top = 960 - Width = 180 - End - Begin VB.Image bit_b - Appearance = 0 'Flat - Height = 180 - Index = 8 - Left = 1590 - Picture = "UTIL7249.frx":1E86 - Top = 960 - Width = 180 - End - Begin VB.Image bit_b - Appearance = 0 'Flat - Height = 180 - Index = 7 - Left = 120 - Picture = "UTIL7249.frx":1F68 - Top = 480 - Width = 180 - End - Begin VB.Image bit_b - Appearance = 0 'Flat - Height = 180 - Index = 6 - Left = 330 - Picture = "UTIL7249.frx":204A - Top = 480 - Width = 180 - End - Begin VB.Image bit_b - Appearance = 0 'Flat - Height = 180 - Index = 5 - Left = 540 - Picture = "UTIL7249.frx":212C - Top = 480 - Width = 180 - End - Begin VB.Image bit_b - Appearance = 0 'Flat - Height = 180 - Index = 4 - Left = 750 - Picture = "UTIL7249.frx":220E - Top = 480 - Width = 180 - End - Begin VB.Image bit_b - Appearance = 0 'Flat - Height = 180 - Index = 3 - Left = 960 - Picture = "UTIL7249.frx":22F0 - Top = 480 - Width = 180 - End - Begin VB.Image bit_b - Appearance = 0 'Flat - Height = 180 - Index = 2 - Left = 1170 - Picture = "UTIL7249.frx":23D2 - Top = 480 - Width = 180 - End - Begin VB.Image bit_b - Appearance = 0 'Flat - Height = 180 - Index = 1 - Left = 1380 - Picture = "UTIL7249.frx":24B4 - Top = 480 - Width = 180 - End - Begin VB.Image bit_b - Appearance = 0 'Flat - Height = 180 - Index = 0 - Left = 1590 - Picture = "UTIL7249.frx":2596 - Top = 480 - Width = 180 - End - Begin VB.Shape Shape_b - BorderColor = &H00C0C0C0& - FillColor = &H00FF0000& - FillStyle = 0 'Solid - Height = 375 - Index = 0 - Left = 60 - Top = 360 - Width = 1800 - End - Begin VB.Shape Shape_b - BorderColor = &H00C0C0C0& - FillColor = &H00FF0000& - FillStyle = 0 'Solid - Height = 375 - Index = 1 - Left = 60 - Top = 840 - Width = 1800 - End - End - Begin VB.Frame Frame1 - Appearance = 0 'Flat - BackColor = &H00C0C0C0& - Caption = "Port A" - BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851} - Name = "Times New Roman" - Size = 8.25 - Charset = 0 - Weight = 400 - Underline = 0 'False - Italic = 0 'False - Strikethrough = 0 'False - EndProperty - ForeColor = &H00FF0000& - Height = 1455 - Index = 0 - Left = 660 - TabIndex = 0 - Top = 120 - Width = 2115 - Begin VB.Image output_a - Appearance = 0 'Flat - Height = 165 - Index = 1 - Left = 1875 - Picture = "UTIL7249.frx":2678 - Top = 1035 - Width = 165 - End - Begin VB.Image output_a - Appearance = 0 'Flat - Height = 165 - Index = 0 - Left = 1875 - Picture = "UTIL7249.frx":2752 - Top = 555 - Width = 165 - End - Begin VB.Image input_a - Appearance = 0 'Flat - Height = 165 - Index = 1 - Left = 1875 - Picture = "UTIL7249.frx":282C - Top = 840 - Width = 165 - End - Begin VB.Image input_a - Appearance = 0 'Flat - Height = 165 - Index = 0 - Left = 1875 - Picture = "UTIL7249.frx":2906 - Top = 360 - Width = 165 - End - Begin VB.Image bit_a - Appearance = 0 'Flat - Height = 180 - Index = 15 - Left = 120 - Picture = "UTIL7249.frx":29E0 - Top = 960 - Width = 180 - End - Begin VB.Image bit_a - Appearance = 0 'Flat - Height = 180 - Index = 14 - Left = 330 - Picture = "UTIL7249.frx":2AC2 - Top = 960 - Width = 180 - End - Begin VB.Image bit_a - Appearance = 0 'Flat - Height = 180 - Index = 13 - Left = 540 - Picture = "UTIL7249.frx":2BA4 - Top = 960 - Width = 180 - End - Begin VB.Image bit_a - Appearance = 0 'Flat - Height = 180 - Index = 12 - Left = 750 - Picture = "UTIL7249.frx":2C86 - Top = 960 - Width = 180 - End - Begin VB.Image bit_a - Appearance = 0 'Flat - Height = 180 - Index = 11 - Left = 960 - Picture = "UTIL7249.frx":2D68 - Top = 960 - Width = 180 - End - Begin VB.Image bit_a - Appearance = 0 'Flat - Height = 180 - Index = 10 - Left = 1170 - Picture = "UTIL7249.frx":2E4A - Top = 960 - Width = 180 - End - Begin VB.Image bit_a - Appearance = 0 'Flat - Height = 180 - Index = 9 - Left = 1380 - Picture = "UTIL7249.frx":2F2C - Top = 960 - Width = 180 - End - Begin VB.Image bit_a - Appearance = 0 'Flat - Height = 180 - Index = 8 - Left = 1590 - Picture = "UTIL7249.frx":300E - Top = 960 - Width = 180 - End - Begin VB.Shape Shape_a - BorderColor = &H00C0C0C0& - FillColor = &H00FF0000& - FillStyle = 0 'Solid - Height = 375 - Index = 1 - Left = 60 - Top = 840 - Width = 1800 - End - Begin VB.Image bit_a - Appearance = 0 'Flat - Height = 180 - Index = 7 - Left = 120 - Picture = "UTIL7249.frx":30F0 - Top = 480 - Width = 180 - End - Begin VB.Image bit_a - Appearance = 0 'Flat - Height = 180 - Index = 6 - Left = 330 - Picture = "UTIL7249.frx":31D2 - Top = 480 - Width = 180 - End - Begin VB.Image bit_a - Appearance = 0 'Flat - Height = 180 - Index = 5 - Left = 540 - Picture = "UTIL7249.frx":32B4 - Top = 480 - Width = 180 - End - Begin VB.Image bit_a - Appearance = 0 'Flat - Height = 180 - Index = 4 - Left = 750 - Picture = "UTIL7249.frx":3396 - Top = 480 - Width = 180 - End - Begin VB.Image bit_a - Appearance = 0 'Flat - Height = 180 - Index = 3 - Left = 960 - Picture = "UTIL7249.frx":3478 - Top = 480 - Width = 180 - End - Begin VB.Image bit_a - Appearance = 0 'Flat - Height = 180 - Index = 2 - Left = 1170 - Picture = "UTIL7249.frx":355A - Top = 480 - Width = 180 - End - Begin VB.Image bit_a - Appearance = 0 'Flat - Height = 180 - Index = 1 - Left = 1380 - Picture = "UTIL7249.frx":363C - Top = 480 - Width = 180 - End - Begin VB.Image bit_a - Appearance = 0 'Flat - Height = 180 - Index = 0 - Left = 1590 - Picture = "UTIL7249.frx":371E - Top = 480 - Width = 180 - End - Begin VB.Shape Shape_a - BorderColor = &H00C0C0C0& - FillColor = &H00FF0000& - FillStyle = 0 'Solid - Height = 375 - Index = 0 - Left = 60 - Top = 360 - Width = 1800 - End - End - Begin VB.Image doc_1 - Appearance = 0 'Flat - Height = 180 - Left = 1380 - Picture = "UTIL7249.frx":3800 - Top = 4680 - Visible = 0 'False - Width = 180 - End - Begin VB.Image dic_1 - Appearance = 0 'Flat - Height = 180 - Left = 1380 - Picture = "UTIL7249.frx":38E2 - Top = 4500 - Visible = 0 'False - Width = 180 - End - Begin VB.Image dib_1 - Appearance = 0 'Flat - Height = 180 - Left = 1080 - Picture = "UTIL7249.frx":39C4 - Top = 4500 - Visible = 0 'False - Width = 180 - End - Begin VB.Image dob_1 - Appearance = 0 'Flat - Height = 180 - Left = 1080 - Picture = "UTIL7249.frx":3AA6 - Top = 4680 - Visible = 0 'False - Width = 180 - End - Begin VB.Label Label1 - Appearance = 0 'Flat - BackColor = &H00C0C0C0& - Caption = "Ch1" - ForeColor = &H00FF0000& - Height = 195 - Index = 0 - Left = 180 - TabIndex = 1 - Top = 570 - Width = 375 - End - Begin VB.Label Label1 - Appearance = 0 'Flat - BackColor = &H00C0C0C0& - Caption = "Ch2" - ForeColor = &H00FF0000& - Height = 195 - Index = 1 - Left = 180 - TabIndex = 5 - Top = 1050 - Width = 375 - End - Begin VB.Shape Shape3 - BackColor = &H00C0C0C0& - FillColor = &H00C0C0C0& - FillStyle = 0 'Solid - Height = 1335 - Left = 120 - Top = 230 - Width = 495 - End - Begin VB.Image doa_1 - Appearance = 0 'Flat - Height = 180 - Left = 780 - Picture = "UTIL7249.frx":3B88 - Top = 4680 - Visible = 0 'False - Width = 180 - End - Begin VB.Image do_0 - Appearance = 0 'Flat - Height = 180 - Left = 480 - Picture = "UTIL7249.frx":3C6A - Top = 4680 - Visible = 0 'False - Width = 180 - End - Begin VB.Image dia_1 - Appearance = 0 'Flat - Height = 180 - Left = 780 - Picture = "UTIL7249.frx":3D4C - Top = 4500 - Visible = 0 'False - Width = 180 - End - Begin VB.Image di_0 - Appearance = 0 'Flat - Height = 180 - Left = 480 - Picture = "UTIL7249.frx":3E2E - Top = 4500 - Visible = 0 'False - Width = 180 - End - Begin VB.Menu mnuExit - Caption = "E&xit!" - End -End -Attribute VB_Name = "uti49dio" -Attribute VB_Creatable = False -Attribute VB_Exposed = False -Option Explicit - -Const INPUT_COLOR = &HFF00FF -Const OUTPUT_COLOR = &HFF0000 - -Dim value_a(0 To 1) As Long, value_b(0 To 1) As Long, value_cu(0 To 1) As Long, value_cl(0 To 1) As Long -Dim status_a(0 To 1) As Integer, status_b(0 To 1) As Integer, status_cu(0 To 1) As Long, status_cl(0 To 1) As Integer -Private Sub bit_a_Click(Index As Integer) - Dim Channel As Integer - Dim bit As Integer - Dim result As Integer - Channel = Int(Index / 8) - bit = Index Mod 8 - If status_a(Channel) = OUTPUT_PORT Then - If (Int((value_a(Channel) / (2 ^ bit))) Mod 2) = 1 Then - bit_a(Index) = do_0 - value_a(Channel) = value_a(Channel) - (2 ^ bit) - Else 'bit is 0 - bit_a(Index) = doa_1 - value_a(Channel) = value_a(Channel) + (2 ^ bit) - End If - 'result = W_7249_DO(0, Channel * 5 + Channel_P1A, value_a(Channel)) - result = DO_WritePort(card, Channel * 5 + Channel_P1A, value_a(Channel)) - End If -End Sub - -Private Sub bit_b_Click(Index As Integer) - Dim Channel As Integer - Dim bit As Integer - Dim result As Integer - Channel = Int(Index / 8) - bit = Index Mod 8 - If status_b(Channel) = OUTPUT_PORT Then - If (Int((value_b(Channel) / (2 ^ bit))) Mod 2) = 1 Then - bit_b(Index) = do_0 - value_b(Channel) = value_b(Channel) - (2 ^ bit) - Else 'bit is 0 - bit_b(Index) = dob_1 - value_b(Channel) = value_b(Channel) + (2 ^ bit) - End If - 'result = W_7249_DO(0, Channel * 5 + Channel_P1B, value_b(Channel)) - result = DO_WritePort(card, Channel * 5 + Channel_P1B, value_b(Channel)) - End If -End Sub - -Private Sub bit_cl_Click(Index As Integer) - Dim Channel As Integer - Dim bit As Integer - Dim result As Integer - Channel = Int(Index / 4) - bit = Index Mod 4 - If status_cl(Channel) = OUTPUT_PORT Then - If (Int((value_cl(Channel) / (2 ^ bit))) Mod 2) = 1 Then - bit_cl(Index) = do_0 - value_cl(Channel) = value_cl(Channel) - (2 ^ bit) - Else 'bit is 0 - bit_cl(Index) = doc_1 - value_cl(Channel) = value_cl(Channel) + (2 ^ bit) - End If - 'result = W_7249_DO(0, Channel * 5 + Channel_P1CL, value_cl(Channel)) - result = DO_WritePort(card, Channel * 5 + Channel_P1CL, value_cl(Channel)) - End If -End Sub - -Private Sub bit_cu_Click(Index As Integer) - Dim Channel As Integer - Dim bit As Integer - Dim result As Integer - Channel = Int(Index / 4) - bit = Index Mod 4 - If status_cu(Channel) = OUTPUT_PORT Then - If (Int((value_cu(Channel) / (2 ^ bit))) Mod 2) = 1 Then - bit_cu(Index) = do_0 - value_cu(Channel) = value_cu(Channel) - (2 ^ bit) - Else 'bit is 0 - bit_cu(Index) = doc_1 - value_cu(Channel) = value_cu(Channel) + (2 ^ bit) - End If - 'result = W_7249_DO(0, Channel * 5 + Channel_P1CH, value_cu(Channel)) - result = DO_WritePort(card, Channel * 5 + Channel_P1CH, value_cu(Channel)) - End If -End Sub - -Private Sub Card_Initial() - Dim i As Integer, j As Integer - Dim result As Integer - - For i = 0 To 1 'Initial status is Output for all channels - result = DIO_PortConfig(card, i * 5 + Channel_P1A, OUTPUT_PORT) - Shape_a(i).FillColor = OUTPUT_COLOR - status_a(i) = OUTPUT_PORT - For j = 0 To 7 - bit_a(i * 8 + j) = doa_1 - Next j - value_a(i) = &HFF - result = DO_WritePort(card, i * 5 + Channel_P1A, value_a(i)) - - result = DIO_PortConfig(card, i * 5 + Channel_P1B, OUTPUT_PORT) - Shape_b(i).FillColor = OUTPUT_COLOR - status_b(i) = OUTPUT_PORT - For j = 0 To 7 - bit_b(i * 8 + j) = dob_1 - Next j - value_b(i) = &HFF - result = DO_WritePort(card, i * 5 + Channel_P1B, value_b(i)) - - result = DIO_PortConfig(card, i * 5 + Channel_P1CH, OUTPUT_PORT) - Shape_cu(i).FillColor = OUTPUT_COLOR - status_cu(i) = OUTPUT_PORT - For j = 0 To 3 - bit_cu(i * 4 + j) = doc_1 - Next j - value_cu(i) = &HF - result = DO_WritePort(card, i * 5 + Channel_P1CH, value_cu(i)) - - result = DIO_PortConfig(card, i * 5 + Channel_P1CL, OUTPUT_PORT) - Shape_cl(i).FillColor = OUTPUT_COLOR - status_cl(i) = OUTPUT_PORT - For j = 0 To 3 - bit_cl(i * 4 + j) = doc_1 - Next j - value_cl(i) = &HF - result = DO_WritePort(card, i * 5 + Channel_P1CL, value_cl(i)) - Next i -End Sub - -Private Sub Form_Load() - SettingForm.Show 1 - If card < 0 Then - MsgBox "Register Card Failed" - End - End If - Card_Initial -End Sub - -Private Sub Form_Unload(Cancel As Integer) - Dim result As Integer - If card >= 0 Then - result = Release_Card(card) - End If - End -End Sub - - -Private Sub input_a_Click(Index As Integer) - Dim result As Integer - Shape_a(Index).FillColor = INPUT_COLOR - InputAndShow Index, Channel_P1A - status_a(Index) = INPUT_PORT - result = DIO_PortConfig(card, Index * 5 + Channel_P1A, INPUT_PORT) -End Sub - -Private Sub input_b_Click(Index As Integer) - Dim result As Integer - Shape_b(Index).FillColor = INPUT_COLOR - InputAndShow Index, Channel_P1B - status_b(Index) = INPUT_PORT - result = DIO_PortConfig(card, Index * 5 + Channel_P1B, INPUT_PORT) -End Sub - -Private Sub input_cl_Click(Index As Integer) - Dim result As Integer - Shape_cl(Index).FillColor = INPUT_COLOR - InputAndShow Index, Channel_P1CL - status_cl(Index) = INPUT_PORT - result = DIO_PortConfig(card, Index * 5 + Channel_P1CL, INPUT_PORT) -End Sub - -Private Sub input_cu_Click(Index As Integer) - Dim result As Integer - Shape_cu(Index).FillColor = INPUT_COLOR - InputAndShow Index, Channel_P1CH - status_cu(Index) = INPUT_PORT - result = DIO_PortConfig(card, Index * 5 + Channel_P1CH, INPUT_PORT) -End Sub - -Private Sub InputAndShow(ByVal Channel As Integer, ByVal Port As Integer) - Dim databyte As Long - Dim result As Integer - Dim i As Integer, k As Integer - Dim p As Integer, q As Integer, r As Integer - 'result = W_7249_DI(0, Channel * 5 + Port, databyte) - result = DI_ReadPort(card, Channel * 5 + Port, databyte) - p = databyte - Select Case Port - Case Channel_P1A - k = Channel * 8 - For i = k To k + 7 - r = p Mod 2 - If r = 0 Then - bit_a(i) = di_0 - Else 'r = 1 - bit_a(i) = dia_1 - End If - p = Int(p / 2) - Next - value_a(Channel) = databyte - Case Channel_P1B - k = Channel * 8 - For i = k To k + 7 - r = p Mod 2 - If r = 0 Then - bit_b(i) = di_0 - Else 'r = 1 - bit_b(i) = dib_1 - End If - p = Int(p / 2) - Next - value_b(Channel) = databyte - Case Channel_P1CH - k = Channel * 4 - For i = k To k + 3 - r = p Mod 2 - If r = 0 Then - bit_cu(i) = di_0 - Else 'r = 1 - bit_cu(i) = dic_1 - End If - p = Int(p / 2) - Next - value_cu(Channel) = databyte - Case Channel_P1CL - k = Channel * 4 - For i = k To k + 3 - r = p Mod 2 - If r = 0 Then - bit_cl(i) = di_0 - Else 'r = 1 - bit_cl(i) = dic_1 - End If - p = Int(p / 2) - Next - value_cl(Channel) = databyte -' Case PORTC -' q = 0 -' k = channel * 8 -' For i = k To k + 3 -' r = p Mod 2 -' If r = 0 Then -' bit_cl(i) = di_0 -' Else 'r = 1 -' bit_cl(i) = dic_1 -' End If -' q = q + bit_cl(i) * 2 ^ (i - k) -' p = Int(p / 2) -' Next -' value_cl(channel) = q -' value_cu(channel) = p -' For i = k To k + 3 -' If r = 0 Then -' bit_cu(i) = di_0 -' Else 'r = 1 -' bit_cu(i) = dic_1 -' End If -' p = Int(p / 2) -' Next - End Select -End Sub - -Private Sub mnuExit_Click() - Dim result As Integer - If card >= 0 Then - result = Release_Card(card) - End If - End -End Sub - -Private Sub output_a_Click(Index As Integer) - Dim i As Integer, k As Integer - Shape_a(Index).FillColor = OUTPUT_COLOR - value_a(Index) = &HFF - k = Index * 8 - For i = k To k + 7 - bit_a(i) = doa_1 - Next - k = DIO_PortConfig(card, Index * 5 + Channel_P1A, OUTPUT_PORT) - k = DO_WritePort(card, Index * 5 + Channel_P1A, &HFF) - status_a(Index) = OUTPUT_PORT -End Sub - -Private Sub output_b_Click(Index As Integer) - Dim i As Integer, k As Integer - Shape_b(Index).FillColor = OUTPUT_COLOR - value_b(Index) = &HFF - k = Index * 8 - For i = k To k + 7 - bit_b(i) = dob_1 - Next - k = DIO_PortConfig(card, Index * 5 + Channel_P1B, OUTPUT_PORT) - k = DO_WritePort(card, Index * 5 + Channel_P1B, &HFF) - status_b(Index) = OUTPUT_PORT -End Sub - -Private Sub output_cl_Click(Index As Integer) - Dim i As Integer, k As Integer - Shape_cl(Index).FillColor = OUTPUT_COLOR - value_cl(Index) = &HF - k = Index * 4 - For i = k To k + 3 - bit_cl(i) = doc_1 - Next - k = DIO_PortConfig(card, Index * 5 + Channel_P1CL, OUTPUT_PORT) - k = DO_WritePort(card, Index * 5 + Channel_P1CL, &HF) - status_cl(Index) = OUTPUT_PORT -End Sub - -Private Sub output_cu_Click(Index As Integer) - Dim i As Integer, k As Integer - Shape_cu(Index).FillColor = OUTPUT_COLOR - value_cu(Index) = &HF - k = Index * 4 - For i = k To k + 3 - bit_cu(i) = doc_1 - Next - k = DIO_PortConfig(card, Index * 5 + Channel_P1CH, OUTPUT_PORT) - k = DO_WritePort(card, Index * 5 + Channel_P1CH, &HF) - status_cu(Index) = OUTPUT_PORT -End Sub - -Private Sub Timer1_Timer() - Dim i As Integer, result As Long - For i = 0 To 1 - If status_a(i) = INPUT_PORT Then - InputAndShow i, Channel_P1A - End If - If status_b(i) = INPUT_PORT Then - InputAndShow i, Channel_P1B - End If - If status_cl(i) = INPUT_PORT Then - InputAndShow i, Channel_P1CL - End If - If status_cu(i) = INPUT_PORT Then - InputAndShow i, Channel_P1CH - End If - Next -End Sub - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7249/VB7249/Util7249.frx b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7249/VB7249/Util7249.frx deleted file mode 100644 index 26cb85e..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7249/VB7249/Util7249.frx and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7250/SDK7250/Resource.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7250/SDK7250/Resource.h deleted file mode 100644 index b300d77..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7250/SDK7250/Resource.h +++ /dev/null @@ -1,19 +0,0 @@ -//{{NO_DEPENDENCIES}} -// Microsoft Developer Studio generated include file. -// Used by Util7250.rc -// -#define IDD_DIALOG1 101 -#define IDM_EXIT 110 -#define IDC_COMBO1 1004 -#define IDC_STATIC -1 - -// Next default values for new objects -// -#ifdef APSTUDIO_INVOKED -#ifndef APSTUDIO_READONLY_SYMBOLS -#define _APS_NEXT_RESOURCE_VALUE 102 -#define _APS_NEXT_COMMAND_VALUE 101 -#define _APS_NEXT_CONTROL_VALUE 1000 -#define _APS_NEXT_SYMED_VALUE 101 -#endif -#endif diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7250/SDK7250/UTIL7250.EXE b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7250/SDK7250/UTIL7250.EXE deleted file mode 100644 index da53ca4..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7250/SDK7250/UTIL7250.EXE and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7250/SDK7250/UTIL7250.MAK b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7250/SDK7250/UTIL7250.MAK deleted file mode 100644 index 8ddd84a..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7250/SDK7250/UTIL7250.MAK +++ /dev/null @@ -1,219 +0,0 @@ -# Microsoft Developer Studio Generated NMAKE File, Format Version 4.00 -# ** DO NOT EDIT ** - -# TARGTYPE "Win32 (x86) Application" 0x0101 - -!IF "$(CFG)" == "" -CFG=util7250 - Win32 Debug -!MESSAGE No configuration specified. Defaulting to util7250 - Win32 Debug. -!ENDIF - -!IF "$(CFG)" != "util7250 - Win32 Release" && "$(CFG)" !=\ - "util7250 - Win32 Debug" -!MESSAGE Invalid configuration "$(CFG)" specified. -!MESSAGE You can specify a configuration when running NMAKE on this makefile -!MESSAGE by defining the macro CFG on the command line. For example: -!MESSAGE -!MESSAGE NMAKE /f "util7250.mak" CFG="util7250 - Win32 Debug" -!MESSAGE -!MESSAGE Possible choices for configuration are: -!MESSAGE -!MESSAGE "util7250 - Win32 Release" (based on "Win32 (x86) Application") -!MESSAGE "util7250 - Win32 Debug" (based on "Win32 (x86) Application") -!MESSAGE -!ERROR An invalid configuration is specified. -!ENDIF - -!IF "$(OS)" == "Windows_NT" -NULL= -!ELSE -NULL=nul -!ENDIF -################################################################################ -# Begin Project -# PROP Target_Last_Scanned "util7250 - Win32 Debug" -CPP=cl.exe -RSC=rc.exe -MTL=mktyplib.exe - -!IF "$(CFG)" == "util7250 - Win32 Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "Release" -# PROP BASE Intermediate_Dir "Release" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "" -# PROP Intermediate_Dir "Release" -# PROP Target_Dir "" -OUTDIR=. -INTDIR=.\Release - -ALL : "$(OUTDIR)\util7250.exe" - -CLEAN : - -@erase ".\util7250.exe" - -@erase ".\Release\UTIL7250.OBJ" - -@erase ".\Release\Util7250.res" - -"$(INTDIR)" : - if not exist "$(INTDIR)/$(NULL)" mkdir "$(INTDIR)" - -# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /YX /c -# ADD CPP /nologo /W3 /GX /Od /I "..\..\..\include" /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /c -# SUBTRACT CPP /YX -CPP_PROJ=/nologo /ML /W3 /GX /Od /I "..\..\..\include" /D "WIN32" /D "NDEBUG"\ - /D "_WINDOWS" /Fo"$(INTDIR)/" /c -CPP_OBJS=.\Release/ -CPP_SBRS= -# ADD BASE MTL /nologo /D "NDEBUG" /win32 -# ADD MTL /nologo /D "NDEBUG" /win32 -MTL_PROJ=/nologo /D "NDEBUG" /win32 -# ADD BASE RSC /l 0x409 /d "NDEBUG" -# ADD RSC /l 0x409 /d "NDEBUG" -RSC_PROJ=/l 0x409 /fo"$(INTDIR)/Util7250.res" /d "NDEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -BSC32_FLAGS=/nologo /o"$(OUTDIR)/util7250.bsc" -BSC32_SBRS= -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:windows /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ..\..\..\lib\pci-dask.lib /nologo /subsystem:windows /machine:I386 -LINK32_FLAGS=kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib\ - advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib\ - odbccp32.lib ..\..\..\lib\pci-dask.lib /nologo /subsystem:windows\ - /incremental:no /pdb:"$(OUTDIR)/util7250.pdb" /machine:I386\ - /out:"$(OUTDIR)/util7250.exe" -LINK32_OBJS= \ - ".\Release\UTIL7250.OBJ" \ - ".\Release\Util7250.res" - -"$(OUTDIR)\util7250.exe" : "$(OUTDIR)" $(DEF_FILE) $(LINK32_OBJS) - $(LINK32) @<< - $(LINK32_FLAGS) $(LINK32_OBJS) -<< - -!ELSEIF "$(CFG)" == "util7250 - Win32 Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "Debug" -# PROP BASE Intermediate_Dir "Debug" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "Debug" -# PROP Intermediate_Dir "Debug" -# PROP Target_Dir "" -OUTDIR=.\Debug -INTDIR=.\Debug - -ALL : "$(OUTDIR)\util7250.exe" - -CLEAN : - -@erase ".\Debug\vc40.pdb" - -@erase ".\Debug\vc40.idb" - -@erase ".\Debug\util7250.exe" - -@erase ".\Debug\UTIL7250.OBJ" - -@erase ".\Debug\Util7250.res" - -@erase ".\Debug\util7250.ilk" - -@erase ".\Debug\util7250.pdb" - -"$(OUTDIR)" : - if not exist "$(OUTDIR)/$(NULL)" mkdir "$(OUTDIR)" - -# ADD BASE CPP /nologo /W3 /Gm /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /YX /c -# ADD CPP /nologo /W3 /Gm /GX /Zi /Od /I "..\..\..\include" /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /c -# SUBTRACT CPP /YX -CPP_PROJ=/nologo /MLd /W3 /Gm /GX /Zi /Od /I "..\..\..\include" /D "WIN32" /D\ - "_DEBUG" /D "_WINDOWS" /Fo"$(INTDIR)/" /Fd"$(INTDIR)/" /c -CPP_OBJS=.\Debug/ -CPP_SBRS= -# ADD BASE MTL /nologo /D "_DEBUG" /win32 -# ADD MTL /nologo /D "_DEBUG" /win32 -MTL_PROJ=/nologo /D "_DEBUG" /win32 -# ADD BASE RSC /l 0x409 /d "_DEBUG" -# ADD RSC /l 0x409 /d "_DEBUG" -RSC_PROJ=/l 0x409 /fo"$(INTDIR)/Util7250.res" /d "_DEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -BSC32_FLAGS=/nologo /o"$(OUTDIR)/util7250.bsc" -BSC32_SBRS= -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:windows /debug /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ..\..\..\lib\pci-dask.lib /nologo /subsystem:windows /debug /machine:I386 -LINK32_FLAGS=kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib\ - advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib\ - odbccp32.lib ..\..\..\lib\pci-dask.lib /nologo /subsystem:windows\ - /incremental:yes /pdb:"$(OUTDIR)/util7250.pdb" /debug /machine:I386\ - /out:"$(OUTDIR)/util7250.exe" -LINK32_OBJS= \ - ".\Debug\UTIL7250.OBJ" \ - ".\Debug\Util7250.res" - -"$(OUTDIR)\util7250.exe" : "$(OUTDIR)" $(DEF_FILE) $(LINK32_OBJS) - $(LINK32) @<< - $(LINK32_FLAGS) $(LINK32_OBJS) -<< - -!ENDIF - -.c{$(CPP_OBJS)}.obj: - $(CPP) $(CPP_PROJ) $< - -.cpp{$(CPP_OBJS)}.obj: - $(CPP) $(CPP_PROJ) $< - -.cxx{$(CPP_OBJS)}.obj: - $(CPP) $(CPP_PROJ) $< - -.c{$(CPP_SBRS)}.sbr: - $(CPP) $(CPP_PROJ) $< - -.cpp{$(CPP_SBRS)}.sbr: - $(CPP) $(CPP_PROJ) $< - -.cxx{$(CPP_SBRS)}.sbr: - $(CPP) $(CPP_PROJ) $< - -################################################################################ -# Begin Target - -# Name "util7250 - Win32 Release" -# Name "util7250 - Win32 Debug" - -!IF "$(CFG)" == "util7250 - Win32 Release" - -!ELSEIF "$(CFG)" == "util7250 - Win32 Debug" - -!ENDIF - -################################################################################ -# Begin Source File - -SOURCE=.\UTIL7250.C -DEP_CPP_UTIL7=\ - ".\..\..\..\include\Dask.h"\ - - -"$(INTDIR)\UTIL7250.OBJ" : $(SOURCE) $(DEP_CPP_UTIL7) "$(INTDIR)" - - -# End Source File -################################################################################ -# Begin Source File - -SOURCE=.\Util7250.rc - -"$(INTDIR)\Util7250.res" : $(SOURCE) "$(INTDIR)" - $(RSC) $(RSC_PROJ) $(SOURCE) - - -# End Source File -# End Target -# End Project -################################################################################ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7250/SDK7250/UTIL7250.MDP b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7250/SDK7250/UTIL7250.MDP deleted file mode 100644 index 5ed220c..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7250/SDK7250/UTIL7250.MDP and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7250/SDK7250/Util7250.c b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7250/SDK7250/Util7250.c deleted file mode 100644 index f733c92..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7250/SDK7250/Util7250.c +++ /dev/null @@ -1,313 +0,0 @@ -/*;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; -;; Copyright (c) 1995-1999, ADLink Technology Inc. All rights reserved. ;; -;; ;; -;; File Name : Util7250.C ;; -;; Purpose : This sample program demonstrate how to operate ;; -;; DI & DO for PCI-7250 ;; -;; Date : 07/20/1999 ;; -;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;*/ - -#include "windows.h" -#include -#include -#include -#include -#include -#include "Dask.h" -#include "resource.h" - -#define IDM_EXIT 110 -#define IDC_ADDR 200 -#define IDC_DA 300 -#define TIMER1 1 -#define NONE 0 - -int PASCAL WinMain(HANDLE, HANDLE, LPSTR, int); -long PASCAL MainWndProc(HWND, UINT, WPARAM, LPARAM); - -HANDLE hInst; -I16 card=-1, card_number = 0; -U16 input[4], output[4], ot, tt; -U8 oldinput[4] ; - -HBRUSH hLTGreenBrush,hGreenBrush,hBlueBrush,hYellowBrush,hRedBrush; - -POINT input_pos[8] = {{300, 40}, {270, 40}, - {240, 40}, {210, 40}, - {180, 40}, {150, 40}, - {120, 40}, {90, 40}, - }; -POINT output_pos[8] ={{300, 95}, {270, 95}, - {240,95}, {210, 95}, - {180,95}, {150, 95}, - {120,95}, {90, 95}, - }; - -BOOL InitApplication(HANDLE); -BOOL InitInstance(HANDLE, int); - -int PASCAL WinMain(hInstance, hPrevInstance, lpCmdLine, nCmdShow) -HANDLE hInstance, hPrevInstance; -LPSTR lpCmdLine; -int nCmdShow; -{ - MSG msg; - - if (!hPrevInstance) - if (!InitApplication(hInstance)) return(FALSE); - if (!InitInstance(hInstance, nCmdShow)) return(FALSE); - while (GetMessage(&msg, NULL, NULL, NULL)) { - TranslateMessage(&msg); - DispatchMessage(&msg); - } - return(msg.wParam); -} - -BOOL InitApplication(hInstance) -HANDLE hInstance; -{ - WNDCLASS wc; - - /* Main Window Class */ - wc.style = NULL; - wc.lpfnWndProc = (WNDPROC)MainWndProc; - wc.cbClsExtra = 0; - wc.cbWndExtra = 0; - wc.hInstance = hInstance; - wc.hIcon = LoadIcon(hInstance, "MyIcon"); - wc.hCursor = LoadCursor(NULL, IDC_ARROW); - wc.hbrBackground = GetStockObject(LTGRAY_BRUSH); - wc.lpszMenuName = NULL; - wc.lpszClassName = "GenericWClass"; - if (!RegisterClass(&wc)) return(FALSE); -} - -BOOL InitInstance(hInstance, nCmdShow) -HANDLE hInstance; -int nCmdShow; -{ - HWND hWnd; - HMENU hSampleMenu; - - hInst = hInstance; - hSampleMenu = LoadMenu(hInstance, "U7120Menu"); - hWnd = CreateWindow("GenericWClass", - (LPCSTR)"PCI-7250", - WS_OVERLAPPEDWINDOW, - CW_USEDEFAULT, - CW_USEDEFAULT, - 350, - 500, - NULL, - hSampleMenu, - hInstance, - NULL); - if (!hWnd) return(FALSE); - ShowWindow(hWnd, nCmdShow); - UpdateWindow(hWnd); - return(TRUE); -} - -BOOL PASCAL setup(HWND hWnd, unsigned message, WPARAM wParam, LPARAM lParam) -{ - int i; - char n[16]; - char s[50]; - switch (message) { - case WM_INITDIALOG: - for (i=0;i<16;i++) { - wsprintf(n, "%d", i); - _strupr(n); - SendMessage(GetDlgItem(hWnd,IDC_COMBO1), CB_ADDSTRING, NULL, (LONG)(LPSTR) n); - } - SendMessage(GetDlgItem(hWnd,IDC_COMBO1) , CB_SETCURSEL, 0, 0L); - - break; - case WM_COMMAND: - switch(LOWORD(wParam)) { - - case IDC_COMBO1: - if (HIWORD(wParam) == CBN_CLOSEUP) { - i = (int)SendMessage(GetDlgItem(hWnd,IDC_COMBO1), CB_GETCURSEL, 0, 0L); - SendMessage(GetDlgItem(hWnd,IDC_COMBO1), CB_GETLBTEXT, i, (LPARAM)((LPCSTR)n)); - card_number = i; - } - return(TRUE); - case IDOK: - if ((card=Register_Card(PCI_7250, card_number)) < 0) { - wsprintf(s, "Register_Card Error = %d\n", card); - MessageBox(hWnd, s, "Error", MB_OK); - } - EndDialog(hWnd, TRUE); - InvalidateRect(hWnd, NULL, FALSE); - return (TRUE); - case IDCANCEL: - EndDialog(hWnd, TRUE); - return (TRUE); - } - break; - } - return (FALSE); -} - -long PASCAL MainWndProc(hWnd, message, wParam, lParam) -HWND hWnd; -UINT message; -WPARAM wParam; -LPARAM lParam; -{ - HDC hDC; - PAINTSTRUCT ps; - int i, k, px, py; - char s[50]; - HANDLE hDev; - - switch(message) { - case WM_CREATE: - DialogBox(hInst,IDD_DIALOG1, hWnd, setup); - if(card<0) { - SendMessage(hWnd, WM_CLOSE, 0, 0L); - break; - } - hLTGreenBrush = CreateSolidBrush(RGB(0, 255, 0)); - hGreenBrush = CreateSolidBrush(RGB(0, 128, 0)); - hBlueBrush = CreateSolidBrush(RGB(0, 0, 255)); - hRedBrush = CreateSolidBrush(RGB(255, 0, 0)); - for (i=0;i<4;i++) { - input[i]=0; - output[i]=0; - oldinput[i]=0; - } - - SetTimer(hWnd, TIMER1, 50, NULL); - srand((unsigned)time(NULL)); - break; - case WM_PAINT: - hDC = BeginPaint(hWnd, &ps); - - SetTextColor(hDC,RGB(255,255,255)); - SetBkColor(hDC, RGB(0, 0, 255)); - TextOut(hDC, 5, 20, "PCI7250 ", 9); - SetTextColor(hDC,RGB(255,255,255)); - SetBkColor(hDC, RGB(0, 0, 255)); - TextOut(hDC, 5, 130, "PCI7251#1", 9); - SetBkColor(hDC, RGB(0, 0, 255)); - TextOut(hDC, 5, 240, "PCI7251#2", 9); - SetBkColor(hDC, RGB(0, 0, 255)); - TextOut(hDC, 5, 350, "PCI7251#3", 9); - - - // Digital Input Box - for (k=0;k<4;k++) { - SelectObject(hDC, hLTGreenBrush); - Rectangle(hDC, input_pos[7].x-10, k*110+input_pos[7].y-24, input_pos[0].x+26, k*110+input_pos[0].y+20); - SetTextColor(hDC,RGB(255,255,255)); - SetBkColor(hDC, RGB(0, 0, 255)); - TextOut(hDC, input_pos[7].x, k*110+input_pos[7].y-30, "Digital Input",13); - - // Digital Output Box - SelectObject(hDC, hGreenBrush); - Rectangle(hDC, output_pos[7].x-10, k*110+output_pos[7].y-24, output_pos[0].x+26, k*110+output_pos[0].y+20); - SetTextColor(hDC,RGB(255,0,0)); - SetBkColor(hDC, RGB(0, 0, 255)); - TextOut(hDC, output_pos[7].x, k*110+output_pos[7].y-30, "Digital Output", 14); - - // Channel Label - SetTextColor(hDC,RGB(0,0,0)); - SetBkColor(hDC, RGB(0, 255, 0)); - TextOut(hDC, input_pos[7].x, k*110+input_pos[7].y+1, " 7 0", 54); - SetBkColor(hDC, RGB(0, 128, 0)); - TextOut(hDC, output_pos[7].x,k*110+output_pos[7].y+1," 7 0", 54); - SetBkColor(hDC, RGB(0, 255, 0)); - - // Detect Channel Input - for (i=0; i<8; i++) { - if ((input[k]>>i)&0x01) - SelectObject(hDC, hRedBrush); - else - SelectObject(hDC, GetStockObject(WHITE_BRUSH)); - Ellipse(hDC, input_pos[i].x, k*110+input_pos[i].y-13, input_pos[i].x+15, k*110+input_pos[i].y+2); - } - // Channel Output - for (i=0; i<8; i++) { - if ((output[k]>>i)&0x01) - SelectObject(hDC, hRedBrush); - else - SelectObject(hDC, GetStockObject(WHITE_BRUSH)); - Ellipse(hDC, output_pos[i].x, k*110+output_pos[i].y-13, output_pos[i].x+15, k*110+output_pos[i].y+2); - } - } - EndPaint(hWnd, &ps); - break; - case WM_COMMAND: - switch(LOWORD(wParam)) { - case IDM_EXIT: - SendMessage(hWnd, WM_CLOSE, 0, 0L); - break; - - default: - return(DefWindowProc(hWnd, message, wParam, lParam)); - } - break; - case WM_TIMER: - /* Digital Input */ - hDC = GetDC(hWnd); - for(k=0;k<4;k++) { - DI_ReadPort(card,k,&input[k]); - for (i=0; i<8; i++) { - //DI_ReadLine(card, k, i, &tt);// If using DI_ReadLine - if( ((input[k]>>i)&0x01) != ((oldinput[k]>>i)&0x01) ) - //if ((tt&0x01) !=((oldinput[k]>>i)&0x01))// If using DI_ReadLine - { - if ((input[k]>>i)&0x01) - //if (tt &0x01) // If using DI_ReadLine - SelectObject(hDC, hRedBrush); - else - SelectObject(hDC, GetStockObject(WHITE_BRUSH)); - Ellipse(hDC, input_pos[i].x, k*110+input_pos[i].y-13, input_pos[i].x+15, k*110+input_pos[i].y+2); - } - } - oldinput[k]=input[k]; - }//k - ReleaseDC(hWnd, hDC); - break; - case WM_DESTROY: - if (card >= 0) Release_Card(card); - DeleteObject(hRedBrush); - DeleteObject(hGreenBrush); - DeleteObject(hLTGreenBrush); - KillTimer(hWnd, TIMER1); - PostQuitMessage(0); - break; - case WM_LBUTTONDOWN: - px = LOWORD(lParam); - py = HIWORD(lParam); - for (k=0;k<4;k++) { - for (i=0; i<8; i++) { - if (px>output_pos[i].x && pxk*110+output_pos[i].y-13 && py>i)&0x01) { - output[k] -= (((unsigned long)1L)<>i) & 0x01; //If using DI_WriteLine - SelectObject(hDC, GetStockObject(WHITE_BRUSH)); - } - else { - output[k] += (((unsigned long)1L)<>i)& 0x01; //If using DI_WriteLine - SelectObject(hDC, hRedBrush); - } - Ellipse(hDC, output_pos[i].x, k*110+output_pos[i].y-13, output_pos[i].x+15, k*110+output_pos[i].y+2); - ReleaseDC(hWnd, hDC); - DO_WritePort(card,k, output[k]); - //DO_WriteLine (card, k, i, ot); //If using DI_WriteLine - break; - } - } - }//k - break; - default: - return(DefWindowProc(hWnd, message, wParam, lParam)); - } - return(NULL); -} diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7250/SDK7250/Util7250.rc b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7250/SDK7250/Util7250.rc deleted file mode 100644 index e20081e..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7250/SDK7250/Util7250.rc +++ /dev/null @@ -1,115 +0,0 @@ -//Microsoft Developer Studio generated resource script. -// -#include "resource.h" - -#define APSTUDIO_READONLY_SYMBOLS -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 2 resource. -// -#define APSTUDIO_HIDDEN_SYMBOLS -#include "windows.h" -#undef APSTUDIO_HIDDEN_SYMBOLS - -///////////////////////////////////////////////////////////////////////////// -#undef APSTUDIO_READONLY_SYMBOLS - -///////////////////////////////////////////////////////////////////////////// -// English (U.S.) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -#ifdef _WIN32 -LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US -#pragma code_page(1252) -#endif //_WIN32 - -#ifdef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// TEXTINCLUDE -// - -1 TEXTINCLUDE DISCARDABLE -BEGIN - "resource.h\0" -END - -2 TEXTINCLUDE DISCARDABLE -BEGIN - "#define APSTUDIO_HIDDEN_SYMBOLS\r\n" - "#include ""windows.h""\r\n" - "#undef APSTUDIO_HIDDEN_SYMBOLS\r\n" - "\0" -END - -3 TEXTINCLUDE DISCARDABLE -BEGIN - "\r\n" - "\0" -END - -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog -// - -IDD_DIALOG1 DIALOG DISCARDABLE 110, 10, 106, 61 -STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "Card Number" -FONT 10, "System" -BEGIN - DEFPUSHBUTTON "OK",IDOK,10,40,37,14 - PUSHBUTTON "Cancel",IDCANCEL,61,40,38,14 - LTEXT "Card Number",IDC_STATIC,3,13,45,13 - COMBOBOX IDC_COMBO1,51,13,48,84,CBS_DROPDOWN | WS_VSCROLL | - WS_TABSTOP -END - - -///////////////////////////////////////////////////////////////////////////// -// -// DESIGNINFO -// - -#ifdef APSTUDIO_INVOKED -GUIDELINES DESIGNINFO DISCARDABLE -BEGIN - IDD_DIALOG1, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 99 - TOPMARGIN, 7 - BOTTOMMARGIN, 54 - END -END -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// Menu -// - -U7120MENU MENU DISCARDABLE -BEGIN - MENUITEM "E&xit", IDM_EXIT -END - -#endif // English (U.S.) resources -///////////////////////////////////////////////////////////////////////////// - - - -#ifndef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 3 resource. -// - - -///////////////////////////////////////////////////////////////////////////// -#endif // not APSTUDIO_INVOKED - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7250/VB7250/7250GLBL.BAS b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7250/VB7250/7250GLBL.BAS deleted file mode 100644 index 77a2e7f..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7250/VB7250/7250GLBL.BAS +++ /dev/null @@ -1,4 +0,0 @@ -Attribute VB_Name = "Module1" -Global card As Integer -Global card_number As Integer - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7250/VB7250/725_0.BMP b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7250/VB7250/725_0.BMP deleted file mode 100644 index 9dbd165..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7250/VB7250/725_0.BMP and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7250/VB7250/725_1.BMP b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7250/VB7250/725_1.BMP deleted file mode 100644 index 2881aa3..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7250/VB7250/725_1.BMP and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7250/VB7250/Base7250.frm b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7250/VB7250/Base7250.frm deleted file mode 100644 index da5aa23..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7250/VB7250/Base7250.frm +++ /dev/null @@ -1,99 +0,0 @@ -VERSION 4.00 -Begin VB.Form SettingForm - Appearance = 0 'Flat - BackColor = &H00C0C0C0& - Caption = "Card Number Setting" - ClientHeight = 1275 - ClientLeft = 4590 - ClientTop = 4545 - ClientWidth = 2820 - BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851} - Name = "MS Sans Serif" - Size = 8.25 - Charset = 0 - Weight = 700 - Underline = 0 'False - Italic = 0 'False - Strikethrough = 0 'False - EndProperty - ForeColor = &H80000008& - Height = 1680 - Left = 4530 - LinkTopic = "Form2" - ScaleHeight = 1275 - ScaleWidth = 2820 - Top = 4200 - Width = 2940 - Begin VB.CommandButton OKBtn - Appearance = 0 'Flat - BackColor = &H80000005& - Caption = "OK" - Default = -1 'True - Height = 315 - Left = 300 - TabIndex = 0 - Top = 720 - Width = 915 - End - Begin VB.CommandButton CancelBtn - Appearance = 0 'Flat - BackColor = &H80000005& - Cancel = -1 'True - Caption = "Cancel" - Height = 315 - Left = 1380 - TabIndex = 3 - Top = 720 - Width = 915 - End - Begin VB.ComboBox CardNum - Appearance = 0 'Flat - Height = 300 - Left = 1440 - Style = 2 'Dropdown List - TabIndex = 2 - Top = 120 - Width = 1035 - End - Begin VB.Label Label2 - Appearance = 0 'Flat - BackColor = &H00C0C0C0& - Caption = "Card Number:" - ForeColor = &H00000000& - Height = 195 - Index = 0 - Left = 180 - TabIndex = 1 - Top = 180 - Width = 1275 - End -End -Attribute VB_Name = "SettingForm" -Attribute VB_Creatable = False -Attribute VB_Exposed = False - - -Private Sub BaseAddr_Change() - -End Sub - - -Private Sub CancelBtn_Click() - Unload SettingForm -End Sub - -Private Sub Form_Load() - Dim i As Long - For i = 0 To 15 Step 1 - CardNum.AddItem i - Next - CardNum.ListIndex = 0 -End Sub - -Private Sub OKBtn_Click() - card = -1 - card_number = CardNum.ListIndex - card = Register_Card(PCI_7250, card_number) - Unload SettingForm -End Sub - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7250/VB7250/Util7250.Frm b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7250/VB7250/Util7250.Frm deleted file mode 100644 index 8a64d99..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7250/VB7250/Util7250.Frm +++ /dev/null @@ -1,887 +0,0 @@ -VERSION 4.00 -Begin VB.Form util7250 - Appearance = 0 'Flat - BackColor = &H00C0C0C0& - Caption = "PCI-7250 Sample Program" - ClientHeight = 6360 - ClientLeft = 2370 - ClientTop = 1815 - ClientWidth = 5070 - BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851} - Name = "MS Sans Serif" - Size = 8.25 - Charset = 0 - Weight = 700 - Underline = 0 'False - Italic = 0 'False - Strikethrough = 0 'False - EndProperty - ForeColor = &H80000008& - Height = 7050 - Left = 2310 - LinkTopic = "Form1" - ScaleHeight = 6360 - ScaleWidth = 5070 - Top = 1185 - Width = 5190 - Begin VB.Frame Frame1 - Appearance = 0 'Flat - BackColor = &H00008000& - Caption = "Digital Input" - ForeColor = &H00FF0000& - Height = 615 - Index = 7 - Left = 1380 - TabIndex = 7 - Top = 4860 - Width = 3195 - Begin VB.Image DI0 - Appearance = 0 'Flat - Height = 300 - Index = 31 - Left = 180 - Picture = "Util7250.frx":0000 - Top = 240 - Width = 300 - End - Begin VB.Image DI0 - Appearance = 0 'Flat - Height = 300 - Index = 30 - Left = 540 - Picture = "Util7250.frx":0172 - Top = 240 - Width = 300 - End - Begin VB.Image DI0 - Appearance = 0 'Flat - Height = 300 - Index = 29 - Left = 900 - Picture = "Util7250.frx":02E4 - Top = 240 - Width = 300 - End - Begin VB.Image DI0 - Appearance = 0 'Flat - Height = 300 - Index = 28 - Left = 1260 - Picture = "Util7250.frx":0456 - Top = 240 - Width = 300 - End - Begin VB.Image DI0 - Appearance = 0 'Flat - Height = 300 - Index = 27 - Left = 1620 - Picture = "Util7250.frx":05C8 - Top = 240 - Width = 300 - End - Begin VB.Image DI0 - Appearance = 0 'Flat - Height = 300 - Index = 26 - Left = 1980 - Picture = "Util7250.frx":073A - Top = 240 - Width = 300 - End - Begin VB.Image DI0 - Appearance = 0 'Flat - Height = 300 - Index = 25 - Left = 2340 - Picture = "Util7250.frx":08AC - Top = 240 - Width = 300 - End - Begin VB.Image DI0 - Appearance = 0 'Flat - Height = 300 - Index = 24 - Left = 2700 - Picture = "Util7250.frx":0A1E - Top = 240 - Width = 300 - End - End - Begin VB.Frame Frame1 - Appearance = 0 'Flat - BackColor = &H00008000& - Caption = "Digital Output" - ForeColor = &H000000FF& - Height = 615 - Index = 6 - Left = 1380 - TabIndex = 6 - Top = 5520 - Width = 3195 - Begin VB.Image DOP0 - Appearance = 0 'Flat - Height = 300 - Index = 31 - Left = 180 - Picture = "Util7250.frx":0B90 - Top = 240 - Width = 300 - End - Begin VB.Image DOP0 - Appearance = 0 'Flat - Height = 300 - Index = 30 - Left = 540 - Picture = "Util7250.frx":0D02 - Top = 240 - Width = 300 - End - Begin VB.Image DOP0 - Appearance = 0 'Flat - Height = 300 - Index = 29 - Left = 900 - Picture = "Util7250.frx":0E74 - Top = 240 - Width = 300 - End - Begin VB.Image DOP0 - Appearance = 0 'Flat - Height = 300 - Index = 28 - Left = 1260 - Picture = "Util7250.frx":0FE6 - Top = 240 - Width = 300 - End - Begin VB.Image DOP0 - Appearance = 0 'Flat - Height = 300 - Index = 26 - Left = 1980 - Picture = "Util7250.frx":1158 - Top = 240 - Width = 300 - End - Begin VB.Image DOP0 - Appearance = 0 'Flat - Height = 300 - Index = 27 - Left = 1620 - Picture = "Util7250.frx":12CA - Top = 240 - Width = 300 - End - Begin VB.Image DOP0 - Appearance = 0 'Flat - Height = 300 - Index = 25 - Left = 2340 - Picture = "Util7250.frx":143C - Top = 240 - Width = 300 - End - Begin VB.Image DOP0 - Appearance = 0 'Flat - Height = 300 - Index = 24 - Left = 2700 - Picture = "Util7250.frx":15AE - Top = 240 - Width = 300 - End - End - Begin VB.Frame Frame1 - Appearance = 0 'Flat - BackColor = &H00008000& - Caption = "Digital Input" - ForeColor = &H00FF0000& - Height = 615 - Index = 5 - Left = 1380 - TabIndex = 5 - Top = 3300 - Width = 3195 - Begin VB.Image DI0 - Appearance = 0 'Flat - Height = 300 - Index = 23 - Left = 180 - Picture = "Util7250.frx":1720 - Top = 240 - Width = 300 - End - Begin VB.Image DI0 - Appearance = 0 'Flat - Height = 300 - Index = 22 - Left = 540 - Picture = "Util7250.frx":1892 - Top = 240 - Width = 300 - End - Begin VB.Image DI0 - Appearance = 0 'Flat - Height = 300 - Index = 21 - Left = 900 - Picture = "Util7250.frx":1A04 - Top = 240 - Width = 300 - End - Begin VB.Image DI0 - Appearance = 0 'Flat - Height = 300 - Index = 20 - Left = 1260 - Picture = "Util7250.frx":1B76 - Top = 240 - Width = 300 - End - Begin VB.Image DI0 - Appearance = 0 'Flat - Height = 300 - Index = 19 - Left = 1620 - Picture = "Util7250.frx":1CE8 - Top = 240 - Width = 300 - End - Begin VB.Image DI0 - Appearance = 0 'Flat - Height = 300 - Index = 18 - Left = 1980 - Picture = "Util7250.frx":1E5A - Top = 240 - Width = 300 - End - Begin VB.Image DI0 - Appearance = 0 'Flat - Height = 300 - Index = 17 - Left = 2340 - Picture = "Util7250.frx":1FCC - Top = 240 - Width = 300 - End - Begin VB.Image DI0 - Appearance = 0 'Flat - Height = 300 - Index = 16 - Left = 2700 - Picture = "Util7250.frx":213E - Top = 240 - Width = 300 - End - End - Begin VB.Frame Frame1 - Appearance = 0 'Flat - BackColor = &H00008000& - Caption = "Digital Output" - ForeColor = &H000000FF& - Height = 615 - Index = 4 - Left = 1380 - TabIndex = 4 - Top = 3960 - Width = 3195 - Begin VB.Image DOP0 - Appearance = 0 'Flat - Height = 300 - Index = 23 - Left = 180 - Picture = "Util7250.frx":22B0 - Top = 240 - Width = 300 - End - Begin VB.Image DOP0 - Appearance = 0 'Flat - Height = 300 - Index = 22 - Left = 540 - Picture = "Util7250.frx":2422 - Top = 240 - Width = 300 - End - Begin VB.Image DOP0 - Appearance = 0 'Flat - Height = 300 - Index = 21 - Left = 900 - Picture = "Util7250.frx":2594 - Top = 240 - Width = 300 - End - Begin VB.Image DOP0 - Appearance = 0 'Flat - Height = 300 - Index = 20 - Left = 1260 - Picture = "Util7250.frx":2706 - Top = 240 - Width = 300 - End - Begin VB.Image DOP0 - Appearance = 0 'Flat - Height = 300 - Index = 19 - Left = 1620 - Picture = "Util7250.frx":2878 - Top = 240 - Width = 300 - End - Begin VB.Image DOP0 - Appearance = 0 'Flat - Height = 300 - Index = 18 - Left = 1980 - Picture = "Util7250.frx":29EA - Top = 240 - Width = 300 - End - Begin VB.Image DOP0 - Appearance = 0 'Flat - Height = 300 - Index = 17 - Left = 2340 - Picture = "Util7250.frx":2B5C - Top = 240 - Width = 300 - End - Begin VB.Image DOP0 - Appearance = 0 'Flat - Height = 300 - Index = 16 - Left = 2700 - Picture = "Util7250.frx":2CCE - Top = 240 - Width = 300 - End - End - Begin VB.Frame Frame1 - Appearance = 0 'Flat - BackColor = &H00008000& - Caption = "Digital Input" - ForeColor = &H00FF0000& - Height = 615 - Index = 3 - Left = 1380 - TabIndex = 3 - Top = 1740 - Width = 3195 - Begin VB.Image DI0 - Appearance = 0 'Flat - Height = 300 - Index = 15 - Left = 180 - Picture = "Util7250.frx":2E40 - Top = 240 - Width = 300 - End - Begin VB.Image DI0 - Appearance = 0 'Flat - Height = 300 - Index = 14 - Left = 540 - Picture = "Util7250.frx":2FB2 - Top = 240 - Width = 300 - End - Begin VB.Image DI0 - Appearance = 0 'Flat - Height = 300 - Index = 13 - Left = 900 - Picture = "Util7250.frx":3124 - Top = 240 - Width = 300 - End - Begin VB.Image DI0 - Appearance = 0 'Flat - Height = 300 - Index = 12 - Left = 1260 - Picture = "Util7250.frx":3296 - Top = 240 - Width = 300 - End - Begin VB.Image DI0 - Appearance = 0 'Flat - Height = 300 - Index = 11 - Left = 1620 - Picture = "Util7250.frx":3408 - Top = 240 - Width = 300 - End - Begin VB.Image DI0 - Appearance = 0 'Flat - Height = 300 - Index = 10 - Left = 1980 - Picture = "Util7250.frx":357A - Top = 240 - Width = 300 - End - Begin VB.Image DI0 - Appearance = 0 'Flat - Height = 300 - Index = 9 - Left = 2340 - Picture = "Util7250.frx":36EC - Top = 240 - Width = 300 - End - Begin VB.Image DI0 - Appearance = 0 'Flat - Height = 300 - Index = 8 - Left = 2700 - Picture = "Util7250.frx":385E - Top = 240 - Width = 300 - End - End - Begin VB.Frame Frame1 - Appearance = 0 'Flat - BackColor = &H00008000& - Caption = "Digital Output" - ForeColor = &H000000FF& - Height = 615 - Index = 2 - Left = 1380 - TabIndex = 2 - Top = 2400 - Width = 3195 - Begin VB.Image DOP0 - Appearance = 0 'Flat - Height = 300 - Index = 8 - Left = 2700 - Picture = "Util7250.frx":39D0 - Top = 240 - Width = 300 - End - Begin VB.Image DOP0 - Appearance = 0 'Flat - Height = 300 - Index = 9 - Left = 2340 - Picture = "Util7250.frx":3B42 - Top = 240 - Width = 300 - End - Begin VB.Image DOP0 - Appearance = 0 'Flat - Height = 300 - Index = 11 - Left = 1620 - Picture = "Util7250.frx":3CB4 - Top = 240 - Width = 300 - End - Begin VB.Image DOP0 - Appearance = 0 'Flat - Height = 300 - Index = 10 - Left = 1980 - Picture = "Util7250.frx":3E26 - Top = 240 - Width = 300 - End - Begin VB.Image DOP0 - Appearance = 0 'Flat - Height = 300 - Index = 12 - Left = 1260 - Picture = "Util7250.frx":3F98 - Top = 240 - Width = 300 - End - Begin VB.Image DOP0 - Appearance = 0 'Flat - Height = 300 - Index = 13 - Left = 900 - Picture = "Util7250.frx":410A - Top = 240 - Width = 300 - End - Begin VB.Image DOP0 - Appearance = 0 'Flat - Height = 300 - Index = 14 - Left = 540 - Picture = "Util7250.frx":427C - Top = 240 - Width = 300 - End - Begin VB.Image DOP0 - Appearance = 0 'Flat - Height = 300 - Index = 15 - Left = 180 - Picture = "Util7250.frx":43EE - Top = 240 - Width = 300 - End - End - Begin VB.Timer Timer1 - Interval = 100 - Left = 180 - Top = 5340 - End - Begin VB.Frame Frame1 - Appearance = 0 'Flat - BackColor = &H00008000& - Caption = "Digital Output" - ForeColor = &H000000FF& - Height = 615 - Index = 1 - Left = 1380 - TabIndex = 1 - Top = 840 - Width = 3195 - Begin VB.Image DOP0 - Appearance = 0 'Flat - Height = 300 - Index = 7 - Left = 180 - Picture = "Util7250.frx":4560 - Top = 240 - Width = 300 - End - Begin VB.Image DOP0 - Appearance = 0 'Flat - Height = 300 - Index = 6 - Left = 540 - Picture = "Util7250.frx":46D2 - Top = 240 - Width = 300 - End - Begin VB.Image DOP0 - Appearance = 0 'Flat - Height = 300 - Index = 5 - Left = 900 - Picture = "Util7250.frx":4844 - Top = 240 - Width = 300 - End - Begin VB.Image DOP0 - Appearance = 0 'Flat - Height = 300 - Index = 4 - Left = 1260 - Picture = "Util7250.frx":49B6 - Top = 240 - Width = 300 - End - Begin VB.Image DOP0 - Appearance = 0 'Flat - Height = 300 - Index = 2 - Left = 1980 - Picture = "Util7250.frx":4B28 - Top = 240 - Width = 300 - End - Begin VB.Image DOP0 - Appearance = 0 'Flat - Height = 300 - Index = 3 - Left = 1620 - Picture = "Util7250.frx":4C9A - Top = 240 - Width = 300 - End - Begin VB.Image DOP0 - Appearance = 0 'Flat - Height = 300 - Index = 1 - Left = 2340 - Picture = "Util7250.frx":4E0C - Top = 240 - Width = 300 - End - Begin VB.Image DOP0 - Appearance = 0 'Flat - Height = 300 - Index = 0 - Left = 2700 - Picture = "Util7250.frx":4F7E - Top = 240 - Width = 300 - End - End - Begin VB.Frame Frame1 - Appearance = 0 'Flat - BackColor = &H00008000& - Caption = "Digital Input" - ForeColor = &H00FF0000& - Height = 615 - Index = 0 - Left = 1380 - TabIndex = 0 - Top = 180 - Width = 3195 - Begin VB.Image DI0 - Appearance = 0 'Flat - Height = 300 - Index = 0 - Left = 2700 - Picture = "Util7250.frx":50F0 - Top = 240 - Width = 300 - End - Begin VB.Image DI0 - Appearance = 0 'Flat - Height = 300 - Index = 1 - Left = 2340 - Picture = "Util7250.frx":5262 - Top = 240 - Width = 300 - End - Begin VB.Image DI0 - Appearance = 0 'Flat - Height = 300 - Index = 2 - Left = 1980 - Picture = "Util7250.frx":53D4 - Top = 240 - Width = 300 - End - Begin VB.Image DI0 - Appearance = 0 'Flat - Height = 300 - Index = 3 - Left = 1620 - Picture = "Util7250.frx":5546 - Top = 240 - Width = 300 - End - Begin VB.Image DI0 - Appearance = 0 'Flat - Height = 300 - Index = 4 - Left = 1260 - Picture = "Util7250.frx":56B8 - Top = 240 - Width = 300 - End - Begin VB.Image DI0 - Appearance = 0 'Flat - Height = 300 - Index = 5 - Left = 900 - Picture = "Util7250.frx":582A - Top = 240 - Width = 300 - End - Begin VB.Image DI0 - Appearance = 0 'Flat - Height = 300 - Index = 6 - Left = 540 - Picture = "Util7250.frx":599C - Top = 240 - Width = 300 - End - Begin VB.Image DI0 - Appearance = 0 'Flat - Height = 300 - Index = 7 - Left = 180 - Picture = "Util7250.frx":5B0E - Top = 240 - Width = 300 - End - End - Begin VB.Label Label4 - Alignment = 2 'Center - BackColor = &H00C00000& - Caption = "PCI-7251#3" - ForeColor = &H00FFFFFF& - Height = 255 - Left = 60 - TabIndex = 11 - Top = 4800 - Width = 1095 - End - Begin VB.Label Label3 - Alignment = 2 'Center - BackColor = &H00C00000& - Caption = "PCI-7251#2" - ForeColor = &H00FFFFFF& - Height = 255 - Left = 60 - TabIndex = 10 - Top = 3240 - Width = 1095 - End - Begin VB.Label Label2 - Alignment = 2 'Center - BackColor = &H00C00000& - Caption = "PCI-7251#1" - ForeColor = &H00FFFFFF& - Height = 255 - Left = 60 - TabIndex = 9 - Top = 1680 - Width = 1095 - End - Begin VB.Label Label1 - Alignment = 2 'Center - BackColor = &H00C00000& - Caption = "PCI-7250" - ForeColor = &H00FFFFFF& - Height = 255 - Left = 60 - TabIndex = 8 - Top = 120 - Width = 1095 - End - Begin VB.Shape Shape1 - BorderWidth = 2 - FillColor = &H00008000& - FillStyle = 0 'Solid - Height = 1455 - Index = 3 - Left = 1260 - Top = 4800 - Width = 3495 - End - Begin VB.Shape Shape1 - BorderWidth = 2 - FillColor = &H00008000& - FillStyle = 0 'Solid - Height = 1455 - Index = 2 - Left = 1260 - Top = 3240 - Width = 3495 - End - Begin VB.Shape Shape1 - BorderWidth = 2 - FillColor = &H00008000& - FillStyle = 0 'Solid - Height = 1455 - Index = 1 - Left = 1260 - Top = 1680 - Width = 3495 - End - Begin VB.Shape Shape1 - BorderWidth = 2 - FillColor = &H00008000& - FillStyle = 0 'Solid - Height = 1455 - Index = 0 - Left = 1260 - Top = 120 - Width = 3495 - End - Begin VB.Image Image1 - Appearance = 0 'Flat - Height = 300 - Left = 660 - Picture = "Util7250.frx":5C80 - Top = 5700 - Visible = 0 'False - Width = 300 - End - Begin VB.Image Image0 - Appearance = 0 'Flat - Height = 300 - Left = 660 - Picture = "Util7250.frx":5DF2 - Top = 5400 - Visible = 0 'False - Width = 300 - End - Begin VB.Menu mnuExit - Caption = "&Exit!" - End -End -Attribute VB_Name = "util7250" -Attribute VB_Creatable = False -Attribute VB_Exposed = False -Option Explicit -Dim status(0 To 31) As Byte -Dim do_data(4) As Long -Private Sub DOP0_Click(Index As Integer) - Dim i As Integer, v As Integer, d As Integer - Dim Port As Integer - Port = Fix(Index / 8) - d = 2 ^ (Index Mod 8) - If status(Index) = 1 Then - do_data(Port) = do_data(Port) - d - DOP0(Index).Picture = Image0.Picture - status(Index) = 0 - Else - do_data(Port) = do_data(Port) + d - DOP0(Index).Picture = Image1.Picture - status(Index) = 1 - End If - v = DO_WritePort(card, Port, do_data(Port)) - -End Sub - - -Private Sub Form_Load() - Dim i As Integer, result As Integer - SettingForm.Show 1 - If card < 0 Then - MsgBox "Register Card Failed" - End - End If - For i = 0 To 31 - status(i) = 0 - Next - For i = 0 To 3 - do_data(i) = 0 - Next -End Sub - -Private Sub Form_Unload(Cancel As Integer) - Dim result As Integer - If card >= 0 Then - result = Release_Card(card) - End If - End -End Sub - - -Private Sub mnuExit_Click() - Dim result As Integer - If card >= 0 Then - result = Release_Card(card) - End If - End -End Sub - -Private Sub Timer1_Timer() - Dim result As Integer - Dim di_data As Long - Dim i As Integer - Dim p As Integer - Dim Port As Integer - - For Port = 0 To 3 - result = DI_ReadPort(card, Port, di_data) - For i = 0 To 7 - p = di_data Mod 2 - If p = 0 Then - DI0(Port * 8 + i) = Image0 - Else 'p = 1 - DI0(Port * 8 + i) = Image1 - End If - di_data = CInt(Int(di_data / 2)) - Next - Next -End Sub - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7250/VB7250/Util7250.Vbp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7250/VB7250/Util7250.Vbp deleted file mode 100644 index 1e22533..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7250/VB7250/Util7250.Vbp +++ /dev/null @@ -1,19 +0,0 @@ -Form=Util7250.Frm -Module=DASK; ..\..\..\Include\Dask.bas -Module=Module1; 7250glbl.bas -Form=Base7250.frm -Reference=*\G{00025E04-0000-0000-C000-000000000046}#2.5#0#D:\Program Files\Common Files\Microsoft Shared\DD:\Program Fil#Microsoft DAO 2.5/3.0 Compatibility Library -ProjWinSize=81,438,248,215 -ProjWinShow=2 -IconForm="util7250" -ExeName32="Util7250.exe" -Name="vb4projectUtil725" -HelpContextID="0" -StartMode=0 -VersionCompatible32="0" -MajorVer=1 -MinorVer=0 -RevisionVer=0 -AutoIncrementVer=0 -ServerSupportFiles=0 -VersionCompanyName="ADLINK" diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7250/VB7250/Util7250.frx b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7250/VB7250/Util7250.frx deleted file mode 100644 index e13fdde..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7250/VB7250/Util7250.frx and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7252/SDK7252/Resource.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7252/SDK7252/Resource.h deleted file mode 100644 index 7be3154..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7252/SDK7252/Resource.h +++ /dev/null @@ -1,19 +0,0 @@ -//{{NO_DEPENDENCIES}} -// Microsoft Developer Studio generated include file. -// Used by Util7252.rc -// -#define IDD_DIALOG1 101 -#define IDM_EXIT 110 -#define IDC_COMBO1 1004 -#define IDC_STATIC -1 - -// Next default values for new objects -// -#ifdef APSTUDIO_INVOKED -#ifndef APSTUDIO_READONLY_SYMBOLS -#define _APS_NEXT_RESOURCE_VALUE 102 -#define _APS_NEXT_COMMAND_VALUE 101 -#define _APS_NEXT_CONTROL_VALUE 1000 -#define _APS_NEXT_SYMED_VALUE 101 -#endif -#endif diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7252/SDK7252/UTIL7252.C b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7252/SDK7252/UTIL7252.C deleted file mode 100644 index d69f6df..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7252/SDK7252/UTIL7252.C +++ /dev/null @@ -1,290 +0,0 @@ -/*;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; -;; Copyright (c) 1997-1999, ADLink Technology Inc. All rights reserved. ;; -;; ;; -;; File Name : Util7252.C ;; -;; Purpose : This sample program demonstrate how to operate ;; -;; DI & DO forcPCI-7252 ;; -;; Date : 07/20/1999 ;; -;; Revision : 1.0 ;; -;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;*/ - -#include -#include -#include -#include -#include -#include -#include "Dask.h" -#include "resource.h" - -#define IDM_EXIT 110 -#define TIMER1 1 - -int PASCAL WinMain(HANDLE, HANDLE, LPSTR, int); -long PASCAL MainWndProc(HWND, UINT, WPARAM, LPARAM); - -HANDLE hInst; -U16 input=0, output=0; -I16 card=-1, card_number=0; -U16 oldinput=0 ; - -HBRUSH hLTGreenBrush,hGreenBrush,hBlueBrush,hYellowBrush,hRedBrush; - -POINT input_pos[16]= {{320, 40}, {300, 40}, - {280, 40}, {260, 40}, - {240, 40}, {220, 40}, - { 200, 40}, { 180, 40}, - {160, 40}, {140, 40}, - {120, 40}, {100, 40}, - {80, 40}, {60, 40}, - { 40, 40}, { 20, 40}, - }; -POINT output_pos[16] ={ - {320, 120}, {300, 120}, - {280, 120}, {260, 120}, - {240, 120}, {220, 120}, - { 200, 120}, { 180, 120}, - {160, 120}, {140, 120}, - {120, 120}, {100, 120}, - {80, 120}, {60, 120}, - { 40, 120}, { 20, 120}, - }; - -BOOL InitApplication(HANDLE); -BOOL InitInstance(HANDLE, int); - -int PASCAL WinMain(hInstance, hPrevInstance, lpCmdLine, nCmdShow) -HANDLE hInstance, hPrevInstance; -LPSTR lpCmdLine; -int nCmdShow; -{ - MSG msg; - - if (!hPrevInstance) - if (!InitApplication(hInstance)) return(FALSE); - if (!InitInstance(hInstance, nCmdShow)) return(FALSE); - while (GetMessage(&msg, NULL, NULL, NULL)) { - TranslateMessage(&msg); - DispatchMessage(&msg); - } - return(msg.wParam); -} - -BOOL InitApplication(hInstance) -HANDLE hInstance; -{ - WNDCLASS wc; - - /* Main Window Class */ - wc.style = NULL; - wc.lpfnWndProc = (WNDPROC)MainWndProc; - wc.cbClsExtra = 0; - wc.cbWndExtra = 0; - wc.hInstance = hInstance; - wc.hIcon = LoadIcon(hInstance, "MyIcon"); - wc.hCursor = LoadCursor(NULL, IDC_ARROW); - wc.hbrBackground = GetStockObject(LTGRAY_BRUSH); - wc.lpszMenuName = NULL; - wc.lpszClassName = "GenericWClass"; - if (!RegisterClass(&wc)) return(FALSE); -} - -BOOL InitInstance(hInstance, nCmdShow) -HANDLE hInstance; -int nCmdShow; -{ - HWND hWnd; - HMENU hSampleMenu; - - hInst = hInstance; - hSampleMenu = LoadMenu(hInstance, "U7252Menu"); - hWnd = CreateWindow("GenericWClass", - (LPCSTR)"cPCI-7252", - WS_OVERLAPPEDWINDOW, - CW_USEDEFAULT, - CW_USEDEFAULT, - 370, - 220, - NULL, - hSampleMenu, - hInstance, - NULL); - if (!hWnd) return(FALSE); - ShowWindow(hWnd, nCmdShow); - UpdateWindow(hWnd); - return(TRUE); -} - -BOOL PASCAL setup(HWND hWnd, unsigned message, WPARAM wParam, LPARAM lParam) -{ - int i; - char n[16]; - char s[50]; - switch (message) { - case WM_INITDIALOG: - for (i=0;i<16;i++) { - wsprintf(n, "%d", i); - _strupr(n); - SendMessage(GetDlgItem(hWnd,IDC_COMBO1), CB_ADDSTRING, NULL, (LONG)(LPSTR) n); - } - SendMessage(GetDlgItem(hWnd,IDC_COMBO1) , CB_SETCURSEL, 0, 0L); - - break; - case WM_COMMAND: - switch(LOWORD(wParam)) { - - case IDC_COMBO1: - if (HIWORD(wParam) == CBN_CLOSEUP) { - i = (int)SendMessage(GetDlgItem(hWnd,IDC_COMBO1), CB_GETCURSEL, 0, 0L); - SendMessage(GetDlgItem(hWnd,IDC_COMBO1), CB_GETLBTEXT, i, (LPARAM)((LPCSTR)n)); - card_number = i; - } - return(TRUE); - case IDOK: - if ((card=Register_Card(PCI_7252, card_number)) < 0) { - wsprintf(s, "Register_Card Error = %d\n", card); - MessageBox(hWnd, s, "Error", MB_OK); - } - EndDialog(hWnd, TRUE); - InvalidateRect(hWnd, NULL, FALSE); - return (TRUE); - case IDCANCEL: - EndDialog(hWnd, TRUE); - return (TRUE); - } - break; - } - return (FALSE); -} - -long PASCAL MainWndProc(hWnd, message, wParam, lParam) -HWND hWnd; -UINT message; -WPARAM wParam; -LPARAM lParam; -{ - HDC hDC; - PAINTSTRUCT ps; - int i, px, py; - - switch(message) { - case WM_CREATE: - DialogBox(hInst,IDD_DIALOG1, hWnd, setup); - if(card<0) { - SendMessage(hWnd, WM_CLOSE, 0, 0L); - break; - } - hLTGreenBrush = CreateSolidBrush(RGB(0, 255, 0)); - hGreenBrush = CreateSolidBrush(RGB(0, 128, 0)); - hBlueBrush = CreateSolidBrush(RGB(0, 0, 255)); - hRedBrush = CreateSolidBrush(RGB(255, 0, 0)); - - SetTimer(hWnd, TIMER1, 50, NULL); - srand((unsigned)time(NULL)); - break; - case WM_PAINT: - hDC = BeginPaint(hWnd, &ps); - - // Digital Input Box - SelectObject(hDC, hLTGreenBrush); - Rectangle(hDC, input_pos[15].x-10, input_pos[15].y-24, input_pos[0].x+26, input_pos[0].y+40); - SetTextColor(hDC,RGB(255,255,255)); - SetBkColor(hDC, RGB(0, 0, 255)); - TextOut(hDC, input_pos[15].x, input_pos[15].y-30, "Digital Input",13); - - // Digital Output Box - SelectObject(hDC, hGreenBrush); - Rectangle(hDC, output_pos[15].x-10, output_pos[15].y-24, output_pos[0].x+26, output_pos[0].y+40); - SetTextColor(hDC,RGB(255,0,0)); - SetBkColor(hDC, RGB(0, 0, 255)); - TextOut(hDC, output_pos[15].x, output_pos[15].y-30, "Digital Output", 14); - - // Channel Label - SetTextColor(hDC,RGB(0,0,0)); - SetBkColor(hDC, RGB(0, 255, 0)); - TextOut(hDC, input_pos[15].x, input_pos[15].y+16, "15 0", 75); - SetBkColor(hDC, RGB(0, 128, 0)); - TextOut(hDC, output_pos[15].x+164, output_pos[15].y+16, "7 0", 35); - SetBkColor(hDC, RGB(0, 255, 0)); - - // Detect Channel Input - for (i=0; i<16; i++) { - if ((input>>i)&0x01) - SelectObject(hDC, hRedBrush); - else - SelectObject(hDC, GetStockObject(WHITE_BRUSH)); - Ellipse(hDC, input_pos[i].x, input_pos[i].y, input_pos[i].x+17, input_pos[i].y+17); - } - // Channel Output - for (i=0; i<8; i++) { - if ((output>>i)&0x01) - SelectObject(hDC, hRedBrush); - else - SelectObject(hDC, GetStockObject(WHITE_BRUSH)); - Ellipse(hDC, output_pos[i].x, output_pos[i].y, output_pos[i].x+17, output_pos[i].y+17); - } - EndPaint(hWnd, &ps); - break; - case WM_COMMAND: - switch(LOWORD(wParam)) { - case IDM_EXIT: - SendMessage(hWnd, WM_CLOSE, 0, 0L); - break; - default: - return(DefWindowProc(hWnd, message, wParam, lParam)); - } - break; - case WM_TIMER: - /* Digital Input */ - DI_ReadPort(card,0,&input); - hDC = GetDC(hWnd); - for (i=0; i<16; i++) { - if( ((input>>i)&0x01) != ((oldinput>>i)&0x01) ) - { - if ((input>>i)&0x01) - SelectObject(hDC, hRedBrush); - else - SelectObject(hDC, GetStockObject(WHITE_BRUSH)); - Ellipse(hDC, input_pos[i].x, input_pos[i].y, input_pos[i].x+17, input_pos[i].y+17); - } - } - oldinput=input; - ReleaseDC(hWnd, hDC); - break; - case WM_DESTROY: - if (card >= 0) Release_Card(card); - DeleteObject(hRedBrush); - DeleteObject(hGreenBrush); - DeleteObject(hLTGreenBrush); - KillTimer(hWnd, TIMER1); - PostQuitMessage(0); - break; - case WM_LBUTTONDOWN: - px = LOWORD(lParam); - py = HIWORD(lParam); - - for (i=0; i<8; i++) { - if (px>output_pos[i].x && pxoutput_pos[i].y && py>i)&0x01) { - output -= (((U16)1L)<= 0 Then - result = Release_Card(card) - End If - End -End Sub - - -Private Sub mnuExit_Click() - Dim result As Integer - If card >= 0 Then - result = Release_Card(card) - End If - End -End Sub - -Private Sub Timer1_Timer() - Dim result As Integer - Dim di_data As Long - Dim i As Integer - Dim p As Long, d As Long - - result = DI_ReadPort(card, 0, di_data) - 'tranform signed integer to unsigned value - If di_data >= 0 Then - d = di_data - Else - d = CLng(di_data) + 65536 - End If - For i = 0 To 15 - p = d Mod 2 - If p = 0 Then - DI0(i) = Image0 - Else 'p = 1 - DI0(i) = Image1 - End If - d = CLng(Int(d / 2)) - Next -End Sub - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7252/vb7252/Util7252.Vbp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7252/vb7252/Util7252.Vbp deleted file mode 100644 index 5dc5991..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7252/vb7252/Util7252.Vbp +++ /dev/null @@ -1,21 +0,0 @@ -Form=Util7252.Frm -Module=DASK; ..\..\..\Include\Dask.bas -Module=Module1; 7252glbl.bas -Form=Base7252.frm -Reference=*\G{00025E04-0000-0000-C000-000000000046}#2.5#0#D:\Program Files\Common Files\Microsoft Shared\DD:\Program Fil#Microsoft DAO 2.5/3.0 Compatibility Library -ProjWinSize=93,499,248,215 -ProjWinShow=2 -IconForm="util7252" -Title="UTIL725B" -ExeName32="Util7252.exe" -ExeName="725B.EXE" -Name="Util725b" -HelpContextID="0" -StartMode=0 -VersionCompatible32="0" -MajorVer=1 -MinorVer=0 -RevisionVer=0 -AutoIncrementVer=0 -ServerSupportFiles=0 -VersionCompanyName="ADLINK" diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7252/vb7252/Util7252.frx b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7252/vb7252/Util7252.frx deleted file mode 100644 index b65f1b0..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7252/vb7252/Util7252.frx and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7256/SDK7256/Resource.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7256/SDK7256/Resource.h deleted file mode 100644 index ffe4a9a..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7256/SDK7256/Resource.h +++ /dev/null @@ -1,19 +0,0 @@ -//{{NO_DEPENDENCIES}} -// Microsoft Developer Studio generated include file. -// Used by Util7256.RC -// -#define IDD_DIALOG1 101 -#define IDM_EXIT 110 -#define IDC_COMBO1 1004 -#define IDC_STATIC -1 - -// Next default values for new objects -// -#ifdef APSTUDIO_INVOKED -#ifndef APSTUDIO_READONLY_SYMBOLS -#define _APS_NEXT_RESOURCE_VALUE 102 -#define _APS_NEXT_COMMAND_VALUE 101 -#define _APS_NEXT_CONTROL_VALUE 1000 -#define _APS_NEXT_SYMED_VALUE 101 -#endif -#endif diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7256/SDK7256/Util7256.RC b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7256/SDK7256/Util7256.RC deleted file mode 100644 index 51294c0..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7256/SDK7256/Util7256.RC +++ /dev/null @@ -1,115 +0,0 @@ -//Microsoft Developer Studio generated resource script. -// -#include "resource.h" - -#define APSTUDIO_READONLY_SYMBOLS -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 2 resource. -// -#define APSTUDIO_HIDDEN_SYMBOLS -#include "windows.h" -#undef APSTUDIO_HIDDEN_SYMBOLS - -///////////////////////////////////////////////////////////////////////////// -#undef APSTUDIO_READONLY_SYMBOLS - -///////////////////////////////////////////////////////////////////////////// -// English (U.S.) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -#ifdef _WIN32 -LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US -#pragma code_page(1252) -#endif //_WIN32 - -#ifdef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// TEXTINCLUDE -// - -1 TEXTINCLUDE DISCARDABLE -BEGIN - "resource.h\0" -END - -2 TEXTINCLUDE DISCARDABLE -BEGIN - "#define APSTUDIO_HIDDEN_SYMBOLS\r\n" - "#include ""windows.h""\r\n" - "#undef APSTUDIO_HIDDEN_SYMBOLS\r\n" - "\0" -END - -3 TEXTINCLUDE DISCARDABLE -BEGIN - "\r\n" - "\0" -END - -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// Menu -// - -U7256MENU MENU DISCARDABLE -BEGIN - MENUITEM "E&xit!", IDM_EXIT -END - - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog -// - -IDD_DIALOG1 DIALOG DISCARDABLE 110, 10, 106, 61 -STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "Card Number" -FONT 10, "System" -BEGIN - DEFPUSHBUTTON "OK",IDOK,10,40,37,14 - PUSHBUTTON "Cancel",IDCANCEL,61,40,38,14 - LTEXT "Card Number",IDC_STATIC,3,13,45,13 - COMBOBOX IDC_COMBO1,51,13,48,84,CBS_DROPDOWN | WS_VSCROLL | - WS_TABSTOP -END - - -///////////////////////////////////////////////////////////////////////////// -// -// DESIGNINFO -// - -#ifdef APSTUDIO_INVOKED -GUIDELINES DESIGNINFO DISCARDABLE -BEGIN - IDD_DIALOG1, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 99 - TOPMARGIN, 7 - BOTTOMMARGIN, 54 - END -END -#endif // APSTUDIO_INVOKED - -#endif // English (U.S.) resources -///////////////////////////////////////////////////////////////////////////// - - - -#ifndef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 3 resource. -// - - -///////////////////////////////////////////////////////////////////////////// -#endif // not APSTUDIO_INVOKED - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7256/SDK7256/Util7256.c b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7256/SDK7256/Util7256.c deleted file mode 100644 index 77a1b7c..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7256/SDK7256/Util7256.c +++ /dev/null @@ -1,295 +0,0 @@ -/*;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; -;; Copyright (c) 1997-2001, ADLink Technology Inc. All rights reserved. ;; -;; ;; -;; File Name : Util7256.C ;; -;; Purpose : This sample program demonstrate how to operate ;; -;; DI & DO forcPCI-7256 ;; -;; Date : 07/20/1999 ;; -;; Revision : 1.0 ;; -;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;*/ - -#include -#include -#include -#include -#include -#include -#include "Dask.h" -#include "resource.h" - -#define IDM_EXIT 110 -#define TIMER1 1 - -int PASCAL WinMain(HANDLE, HANDLE, LPSTR, int); -long PASCAL MainWndProc(HWND, UINT, WPARAM, LPARAM); - -HANDLE hInst; -U16 input=0, output=0; -I16 card=-1, card_number=0; -U16 oldinput=0 , rb_output; - -HBRUSH hLTGreenBrush,hGreenBrush,hBlueBrush,hYellowBrush,hRedBrush; - -POINT input_pos[16]= {{320, 40}, {300, 40}, - {280, 40}, {260, 40}, - {240, 40}, {220, 40}, - { 200, 40}, { 180, 40}, - {160, 40}, {140, 40}, - {120, 40}, {100, 40}, - {80, 40}, {60, 40}, - { 40, 40}, { 20, 40}, - }; -POINT output_pos[16] ={ - {320, 120}, {300, 120}, - {280, 120}, {260, 120}, - {240, 120}, {220, 120}, - { 200, 120}, { 180, 120}, - {160, 120}, {140, 120}, - {120, 120}, {100, 120}, - {80, 120}, {60, 120}, - { 40, 120}, { 20, 120}, - }; - -BOOL InitApplication(HANDLE); -BOOL InitInstance(HANDLE, int); - -int PASCAL WinMain(hInstance, hPrevInstance, lpCmdLine, nCmdShow) -HANDLE hInstance, hPrevInstance; -LPSTR lpCmdLine; -int nCmdShow; -{ - MSG msg; - - if (!hPrevInstance) - if (!InitApplication(hInstance)) return(FALSE); - if (!InitInstance(hInstance, nCmdShow)) return(FALSE); - while (GetMessage(&msg, NULL, NULL, NULL)) { - TranslateMessage(&msg); - DispatchMessage(&msg); - } - return(msg.wParam); -} - -BOOL InitApplication(hInstance) -HANDLE hInstance; -{ - WNDCLASS wc; - - /* Main Window Class */ - wc.style = NULL; - wc.lpfnWndProc = (WNDPROC)MainWndProc; - wc.cbClsExtra = 0; - wc.cbWndExtra = 0; - wc.hInstance = hInstance; - wc.hIcon = LoadIcon(hInstance, "MyIcon"); - wc.hCursor = LoadCursor(NULL, IDC_ARROW); - wc.hbrBackground = GetStockObject(LTGRAY_BRUSH); - wc.lpszMenuName = NULL; - wc.lpszClassName = "GenericWClass"; - if (!RegisterClass(&wc)) return(FALSE); -} - -BOOL InitInstance(hInstance, nCmdShow) -HANDLE hInstance; -int nCmdShow; -{ - HWND hWnd; - HMENU hSampleMenu; - - hInst = hInstance; - hSampleMenu = LoadMenu(hInstance, "U7256Menu"); - hWnd = CreateWindow("GenericWClass", - (LPCSTR)"PCI-7256", - WS_OVERLAPPEDWINDOW, - CW_USEDEFAULT, - CW_USEDEFAULT, - 370, - 220, - NULL, - hSampleMenu, - hInstance, - NULL); - if (!hWnd) return(FALSE); - ShowWindow(hWnd, nCmdShow); - UpdateWindow(hWnd); - return(TRUE); -} - -BOOL PASCAL setup(HWND hWnd, unsigned message, WPARAM wParam, LPARAM lParam) -{ - int i; - char n[16]; - char s[50]; - switch (message) { - case WM_INITDIALOG: - for (i=0;i<16;i++) { - wsprintf(n, "%d", i); - _strupr(n); - SendMessage(GetDlgItem(hWnd,IDC_COMBO1), CB_ADDSTRING, NULL, (LONG)(LPSTR) n); - } - SendMessage(GetDlgItem(hWnd,IDC_COMBO1) , CB_SETCURSEL, 0, 0L); - - break; - case WM_COMMAND: - switch(LOWORD(wParam)) { - - case IDC_COMBO1: - if (HIWORD(wParam) == CBN_CLOSEUP) { - i = (int)SendMessage(GetDlgItem(hWnd,IDC_COMBO1), CB_GETCURSEL, 0, 0L); - SendMessage(GetDlgItem(hWnd,IDC_COMBO1), CB_GETLBTEXT, i, (LPARAM)((LPCSTR)n)); - card_number = i; - } - return(TRUE); - case IDOK: - if ((card=Register_Card(PCI_7256, card_number)) < 0) { - wsprintf(s, "Register_Card Error = %d\n", card); - MessageBox(hWnd, s, "Error", MB_OK); - } - EndDialog(hWnd, TRUE); - InvalidateRect(hWnd, NULL, FALSE); - return (TRUE); - case IDCANCEL: - EndDialog(hWnd, TRUE); - return (TRUE); - } - break; - } - return (FALSE); -} - -long PASCAL MainWndProc(hWnd, message, wParam, lParam) -HWND hWnd; -UINT message; -WPARAM wParam; -LPARAM lParam; -{ - HDC hDC; - PAINTSTRUCT ps; - int i, px, py; - char s[50]; - - switch(message) { - case WM_CREATE: - DialogBox(hInst,IDD_DIALOG1, hWnd, setup); - if(card<0) { - SendMessage(hWnd, WM_CLOSE, 0, 0L); - break; - } - hLTGreenBrush = CreateSolidBrush(RGB(0, 255, 0)); - hGreenBrush = CreateSolidBrush(RGB(0, 128, 0)); - hBlueBrush = CreateSolidBrush(RGB(0, 0, 255)); - hRedBrush = CreateSolidBrush(RGB(255, 0, 0)); - - SetTimer(hWnd, TIMER1, 50, NULL); - srand((unsigned)time(NULL)); - break; - case WM_PAINT: - hDC = BeginPaint(hWnd, &ps); - - // Digital Input Box - SelectObject(hDC, hLTGreenBrush); - Rectangle(hDC, input_pos[15].x-10, input_pos[15].y-24, input_pos[0].x+26, input_pos[0].y+40); - SetTextColor(hDC,RGB(255,255,255)); - SetBkColor(hDC, RGB(0, 0, 255)); - TextOut(hDC, input_pos[15].x, input_pos[15].y-30, "Digital Input",13); - - // Digital Output Box - SelectObject(hDC, hGreenBrush); - Rectangle(hDC, output_pos[15].x-10, output_pos[15].y-24, output_pos[0].x+26, output_pos[0].y+40); - SetTextColor(hDC,RGB(255,0,0)); - SetBkColor(hDC, RGB(0, 0, 255)); - TextOut(hDC, output_pos[15].x, output_pos[15].y-30, "Digital Output", 14); - - // Channel Label - SetTextColor(hDC,RGB(0,0,0)); - SetBkColor(hDC, RGB(0, 255, 0)); - TextOut(hDC, input_pos[15].x, input_pos[15].y+16, "15 0", 75); - SetBkColor(hDC, RGB(0, 128, 0)); - TextOut(hDC, output_pos[15].x, output_pos[15].y+16, "15 0", 75); - SetBkColor(hDC, RGB(0, 255, 0)); - - // Detect Channel Input - for (i=0; i<16; i++) { - if ((input>>i)&0x01) - SelectObject(hDC, hRedBrush); - else - SelectObject(hDC, GetStockObject(WHITE_BRUSH)); - Ellipse(hDC, input_pos[i].x, input_pos[i].y, input_pos[i].x+17, input_pos[i].y+17); - } - // Channel Output - for (i=0; i<16; i++) { - if ((output>>i)&0x01) - SelectObject(hDC, hRedBrush); - else - SelectObject(hDC, GetStockObject(WHITE_BRUSH)); - Ellipse(hDC, output_pos[i].x, output_pos[i].y, output_pos[i].x+17, output_pos[i].y+17); - } - EndPaint(hWnd, &ps); - break; - case WM_COMMAND: - switch(LOWORD(wParam)) { - case IDM_EXIT: - SendMessage(hWnd, WM_CLOSE, 0, 0L); - break; - default: - return(DefWindowProc(hWnd, message, wParam, lParam)); - } - break; - case WM_TIMER: - /* Digital Input */ - DI_ReadPort(card,0,&input); - hDC = GetDC(hWnd); - for (i=0; i<16; i++) { - if( ((input>>i)&0x01) != ((oldinput>>i)&0x01) ) - { - if ((input>>i)&0x01) - SelectObject(hDC, hRedBrush); - else - SelectObject(hDC, GetStockObject(WHITE_BRUSH)); - Ellipse(hDC, input_pos[i].x, input_pos[i].y, input_pos[i].x+17, input_pos[i].y+17); - } - } - oldinput=input; - ReleaseDC(hWnd, hDC); - break; - case WM_DESTROY: - if (card >= 0) Release_Card(card); - DeleteObject(hRedBrush); - DeleteObject(hGreenBrush); - DeleteObject(hLTGreenBrush); - KillTimer(hWnd, TIMER1); - PostQuitMessage(0); - break; - case WM_LBUTTONDOWN: - px = LOWORD(lParam); - py = HIWORD(lParam); - - for (i=0; i<16; i++) { - if (px>output_pos[i].x && pxoutput_pos[i].y && py>i)&0x01) { - output -= (((U16)1L)< -# Microsoft Developer Studio Generated Build File, Format Version 5.00 -# ** DO NOT EDIT ** - -# TARGTYPE "Win32 (x86) Application" 0x0101 - -CFG=Util7256 - Win32 Release -!MESSAGE This is not a valid makefile. To build this project using NMAKE, -!MESSAGE use the Export Makefile command and run -!MESSAGE -!MESSAGE NMAKE /f "Util7256.mak". -!MESSAGE -!MESSAGE You can specify a configuration when running NMAKE -!MESSAGE by defining the macro CFG on the command line. For example: -!MESSAGE -!MESSAGE NMAKE /f "Util7256.mak" CFG="Util7256 - Win32 Release" -!MESSAGE -!MESSAGE Possible choices for configuration are: -!MESSAGE -!MESSAGE "Util7256 - Win32 Release" (based on "Win32 (x86) Application") -!MESSAGE "Util7256 - Win32 Debug" (based on "Win32 (x86) Application") -!MESSAGE - -# Begin Project -# PROP Scc_ProjName "" -# PROP Scc_LocalPath "" -CPP=cl.exe -MTL=midl.exe -RSC=rc.exe - -!IF "$(CFG)" == "Util7256 - Win32 Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir ".\Release" -# PROP BASE Intermediate_Dir ".\Release" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "" -# PROP Intermediate_Dir ".\Release" -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /YX /c -# ADD CPP /nologo /W3 /GX /O2 /I "..\..\..\include" /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /FD /c -# SUBTRACT CPP /YX -# ADD BASE MTL /nologo /D "NDEBUG" /win32 -# ADD MTL /nologo /D "NDEBUG" /mktyplib203 /win32 -# ADD BASE RSC /l 0x409 /d "NDEBUG" -# ADD RSC /l 0x409 /d "NDEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:windows /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ..\..\..\lib\Pci-Dask.lib /nologo /subsystem:windows /machine:I386 - -!ELSEIF "$(CFG)" == "Util7256 - Win32 Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir ".\Debug" -# PROP BASE Intermediate_Dir ".\Debug" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "" -# PROP Intermediate_Dir ".\Debug" -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /Gm /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /YX /c -# ADD CPP /nologo /W3 /Gm /GX /Zi /Od /I "..\..\..\include" /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /FD /c -# SUBTRACT CPP /YX -# ADD BASE MTL /nologo /D "_DEBUG" /win32 -# ADD MTL /nologo /D "_DEBUG" /mktyplib203 /win32 -# ADD BASE RSC /l 0x409 /d "_DEBUG" -# ADD RSC /l 0x409 /d "_DEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:windows /debug /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ..\..\..\lib\Pci-Dask.lib /nologo /subsystem:windows /debug /machine:I386 - -!ENDIF - -# Begin Target - -# Name "Util7256 - Win32 Release" -# Name "Util7256 - Win32 Debug" -# Begin Group "Source Files" - -# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;hpj;bat;for;f90" -# Begin Source File - -SOURCE=.\util7256.C -# End Source File -# Begin Source File - -SOURCE=.\util7256.RC -# End Source File -# End Group -# Begin Group "Header Files" - -# PROP Default_Filter "h;hpp;hxx;hm;inl;fi;fd" -# End Group -# Begin Group "Resource Files" - -# PROP Default_Filter "ico;cur;bmp;dlg;rc2;rct;bin;cnt;rtf;gif;jpg;jpeg;jpe" -# End Group -# End Target -# End Project diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7256/SDK7256/Util7256.dsw b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7256/SDK7256/Util7256.dsw deleted file mode 100644 index bf54539..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7256/SDK7256/Util7256.dsw +++ /dev/null @@ -1,29 +0,0 @@ -Microsoft Developer Studio Workspace File, Format Version 5.00 -# WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE! - -############################################################################### - -Project: "Util7256"=.\Util7256.dsp - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ -}}} - -############################################################################### - -Global: - -Package=<5> -{{{ -}}} - -Package=<3> -{{{ -}}} - -############################################################################### - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7256/SDK7256/Util7256.exe b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7256/SDK7256/Util7256.exe deleted file mode 100644 index 842b5f7..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7256/SDK7256/Util7256.exe and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7256/SDK7256int/7256INT.C b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7256/SDK7256int/7256INT.C deleted file mode 100644 index 26d824f..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7256/SDK7256int/7256INT.C +++ /dev/null @@ -1,242 +0,0 @@ -/*;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; -;; Copyright (c) 1995-2001, ADLink Technology Inc. All rights reserved. ;; -;; ;; -;; File Name : 7256INT.C ;; -;; Purpose : This sample program demonstrates how handle interrupt ;; -;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;*/ - -#include -#include -#include -#include -#include -#include "Dask.h" -#include "Resource.h" - -#define IDC_START 300 -#define IDC_OUTPUT 302 - -HANDLE hInst; /* current instance */ -int int_count=0; -U16 COSLData = 0; -int outVal = 0; -I16 card=-1, card_number = 0; - -HWND hStart, hMainWnd; -HANDLE hEvent[2]; - -int PASCAL WinMain(HANDLE, HANDLE, LPSTR, int); -BOOL InitApplication(HANDLE); -BOOL InitInstance(HANDLE, int); -long PASCAL MainWndProc(HWND, unsigned, WPARAM, LPARAM); - -void -IntThread(void* pArg) -{ - int err; - while (1) { - if (WaitForSingleObject(hEvent[0], INFINITE) == WAIT_OBJECT_0) { - int_count++; - //ResetEvent(hEvent[0]); - err = DIO_GetCOSLatchData(card, &COSLData); - InvalidateRect(hMainWnd, NULL, FALSE); - } - } - _endthread(); -} - - /********************************************************************** - - FUNCTION: WinMain(HANDLE, HANDLE, LPSTR, int) - PURPOSE: calls initialization function, processes message loop - - ***********************************************************************/ - - int PASCAL WinMain(hInstance, hPrevInstance, lpCmdLine, nCmdShow) - HANDLE hInstance; - HANDLE hPrevInstance; - LPSTR lpCmdLine; - int nCmdShow; - { - MSG msg; - - if(!hPrevInstance) - if(!InitApplication(hInstance)) - return(FALSE); - - if(!InitInstance(hInstance, nCmdShow)) - return(FALSE); - - while ( GetMessage(&msg, NULL, NULL, NULL)) - { - TranslateMessage(&msg); - DispatchMessage(&msg); - } - return(msg.wParam); - } - -/**************************************************************************** - - FUNCTION: InitApplication(HANDLE) - - PURPOSE: Initializes window data and registers window class - -****************************************************************************/ - -BOOL InitApplication(hInstance) -HANDLE hInstance; -{ - WNDCLASS wc; - - wc.style = NULL; - wc.lpfnWndProc = MainWndProc; - wc.cbClsExtra = 0; - wc.cbWndExtra = 0; - wc.hInstance = hInstance; - wc.hIcon = LoadIcon(NULL, IDI_APPLICATION); - wc.hCursor = LoadCursor(hInstance, IDC_ARROW); - wc.hbrBackground = GetStockObject(WHITE_BRUSH); - wc.lpszMenuName = "U7256Menu"; - wc.lpszClassName = "IntClass"; - - return (RegisterClass(&wc)); -} - -/**************************************************************************** - - FUNCTION: InitInstance(HANDLE, int) - - PURPOSE: Saves instance handle and creates main window - -****************************************************************************/ - -BOOL InitInstance(hInstance, nCmdShow) -HANDLE hInstance; -int nCmdShow; -{ - HWND hWnd; - - hInst = hInstance; - hWnd = CreateWindow("IntClass", "PCI-7256 Interrupt Sample (INT1)", WS_OVERLAPPEDWINDOW, - 200, 100, 360, 300, NULL, NULL, hInstance, NULL); - if (!hWnd) return (FALSE); - ShowWindow(hWnd, nCmdShow); - UpdateWindow(hWnd); - return (TRUE); -} - -BOOL PASCAL setup(HWND hWnd, unsigned message, WPARAM wParam, LPARAM lParam) -{ - int i; - char n[16]; - char s[50]; - switch (message) { - case WM_INITDIALOG: - for (i=0;i<16;i++) { - wsprintf(n, "%d", i); - _strupr(n); - SendMessage(GetDlgItem(hWnd,IDC_COMBO1), CB_ADDSTRING, NULL, (LONG)(LPSTR) n); - } - SendMessage(GetDlgItem(hWnd,IDC_COMBO1) , CB_SETCURSEL, 0, 0L); - - break; - case WM_COMMAND: - switch(LOWORD(wParam)) { - - case IDC_COMBO1: - if (HIWORD(wParam) == CBN_CLOSEUP) { - i = (int)SendMessage(GetDlgItem(hWnd,IDC_COMBO1), CB_GETCURSEL, 0, 0L); - SendMessage(GetDlgItem(hWnd,IDC_COMBO1), CB_GETLBTEXT, i, (LPARAM)((LPCSTR)n)); - card_number = i; - } - return(TRUE); - case IDOK: - if ((card=Register_Card(PCI_7256, card_number)) < 0) { - wsprintf(s, "Register_Card Error = %d\n", card); - MessageBox(hWnd, s, "Error", MB_OK); - } - EndDialog(hWnd, TRUE); - InvalidateRect(hWnd, NULL, FALSE); - return (TRUE); - case IDCANCEL: - EndDialog(hWnd, TRUE); - return (TRUE); - } - break; - } - return (FALSE); -} -/**************************************************************************** - - FUNCTION: MainWndProc(HWND, UINT, WPARAM, LPARAM) - - PURPOSE: Processes messages - - -****************************************************************************/ - -long PASCAL MainWndProc(hWnd, message, wParam, lParam) -HWND hWnd; -unsigned message; -WPARAM wParam; -LPARAM lParam; -{ - PAINTSTRUCT ps; - HDC hDC; - char buf[20]; - int err; - - switch(message) { - case WM_CREATE: - DialogBox(hInst,IDD_DIALOG2, hWnd, setup); - if(card<0) { - SendMessage(hWnd, WM_CLOSE, 0, 0L); - break; - } - CreateWindow("BUTTON", "Output", WS_CHILD | WS_VISIBLE, - 130, 200, 72, 24, hWnd, IDC_OUTPUT, hInst, NULL); - err = DIO_SetDualInterrupt(card, INT1_COS, INT2_DISABLE, hEvent); - err = DIO_SetCOSInterrupt(card, 0, 0x0001, 0, 0); - DO_WritePort(card,0, outVal); - hMainWnd = hWnd; - _beginthread(IntThread, 0, 0); - break; - case WM_PAINT: - hDC = BeginPaint(hWnd, &ps); - TextOut(hDC, 20, 30, "This program shows the number of occurrence", 43); - TextOut(hDC, 20, 45, "of INT1 interupt. INT1 interrupt is generated", 45); - TextOut(hDC, 20, 60, "by external signal from DI bit-0. If you connect", 48); - TextOut(hDC, 20, 75, "DO bit-0 to DI bit-0, press 'Output' button can", 47); - TextOut(hDC, 20, 90, "generate an interrupt.", 22); - wsprintf(buf,"INT count = %d", int_count); - TextOut(hDC, 120, 140, buf, strlen(buf)); - wsprintf(buf,"COS Latch Data = %x", COSLData); - TextOut(hDC, 120, 160, buf, strlen(buf)); - EndPaint(hWnd, &ps); - break; - case WM_COMMAND: - switch(LOWORD(wParam)) { - case IDM_EXIT: - DIO_SetDualInterrupt(card, INT1_DISABLE, INT2_DISABLE, hEvent); - DIO_SetCOSInterrupt(card, 0, 0, 0, 0); - DO_WritePort(card,0, 0x0); - SendMessage(hWnd, WM_CLOSE, 0, 0L); - break; - case IDC_OUTPUT: - outVal = (outVal+1) % 2; - DO_WritePort(card,0, outVal); - Sleep(0); - //DO_WritePort(card,0, 0x1); - break; - } - break; - case WM_DESTROY: - if (card >= 0) Release_Card(card); - PostQuitMessage(0); - break; - default: - return (DefWindowProc(hWnd, message, wParam, lParam)); - } - return(0L); -} - \ No newline at end of file diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7256/SDK7256int/7256INT.DSP b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7256/SDK7256int/7256INT.DSP deleted file mode 100644 index e98064f..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7256/SDK7256int/7256INT.DSP +++ /dev/null @@ -1,110 +0,0 @@ -# Microsoft Developer Studio Project File - Name="7256int" - Package Owner=<4> -# Microsoft Developer Studio Generated Build File, Format Version 5.00 -# ** DO NOT EDIT ** - -# TARGTYPE "Win32 (x86) Application" 0x0101 - -CFG=7256int - Win32 Release -!MESSAGE This is not a valid makefile. To build this project using NMAKE, -!MESSAGE use the Export Makefile command and run -!MESSAGE -!MESSAGE NMAKE /f "7256int.mak". -!MESSAGE -!MESSAGE You can specify a configuration when running NMAKE -!MESSAGE by defining the macro CFG on the command line. For example: -!MESSAGE -!MESSAGE NMAKE /f "7256int.mak" CFG="7256int - Win32 Release" -!MESSAGE -!MESSAGE Possible choices for configuration are: -!MESSAGE -!MESSAGE "7256int - Win32 Release" (based on "Win32 (x86) Application") -!MESSAGE "7256int - Win32 Debug" (based on "Win32 (x86) Application") -!MESSAGE - -# Begin Project -# PROP Scc_ProjName "" -# PROP Scc_LocalPath "" -CPP=cl.exe -MTL=midl.exe -RSC=rc.exe - -!IF "$(CFG)" == "7256int - Win32 Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir ".\Release" -# PROP BASE Intermediate_Dir ".\Release" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "" -# PROP Intermediate_Dir ".\Release" -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /YX /c -# ADD CPP /nologo /MT /W3 /GX /Od /I "..\..\..\include" /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /FD /c -# SUBTRACT CPP /YX -# ADD BASE MTL /nologo /D "NDEBUG" /win32 -# ADD MTL /nologo /D "NDEBUG" /mktyplib203 /win32 -# ADD BASE RSC /l 0x404 /d "NDEBUG" -# ADD RSC /l 0x404 /d "NDEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:windows /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ..\..\..\lib\PCI-DASK.lib /nologo /subsystem:windows /machine:I386 - -!ELSEIF "$(CFG)" == "7256int - Win32 Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir ".\Debug" -# PROP BASE Intermediate_Dir ".\Debug" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "" -# PROP Intermediate_Dir ".\Debug" -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /Gm /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /YX /c -# ADD CPP /nologo /MTd /W3 /Gm /GX /Zi /Od /I "..\..\..\include" /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /FD /c -# SUBTRACT CPP /YX -# ADD BASE MTL /nologo /D "_DEBUG" /win32 -# ADD MTL /nologo /D "_DEBUG" /mktyplib203 /win32 -# ADD BASE RSC /l 0x404 /d "_DEBUG" -# ADD RSC /l 0x404 /d "_DEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:windows /debug /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ..\..\..\lib\PCI-DASK.lib /nologo /subsystem:windows /debug /machine:I386 - -!ENDIF - -# Begin Target - -# Name "7256int - Win32 Release" -# Name "7256int - Win32 Debug" -# Begin Group "Source Files" - -# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;hpj;bat;for;f90" -# Begin Source File - -SOURCE=.\7256int.c -# End Source File -# Begin Source File - -SOURCE=.\7256int.rc -# End Source File -# End Group -# Begin Group "Header Files" - -# PROP Default_Filter "h;hpp;hxx;hm;inl;fi;fd" -# End Group -# Begin Group "Resource Files" - -# PROP Default_Filter "ico;cur;bmp;dlg;rc2;rct;bin;cnt;rtf;gif;jpg;jpeg;jpe" -# End Group -# End Target -# End Project diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7256/SDK7256int/7256INT.DSW b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7256/SDK7256int/7256INT.DSW deleted file mode 100644 index 9abe1ad..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7256/SDK7256int/7256INT.DSW +++ /dev/null @@ -1,29 +0,0 @@ -Microsoft Developer Studio Workspace File, Format Version 5.00 -# WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE! - -############################################################################### - -Project: "7256int"=.\7256int.dsp - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ -}}} - -############################################################################### - -Global: - -Package=<5> -{{{ -}}} - -Package=<3> -{{{ -}}} - -############################################################################### - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7256/SDK7256int/7256INT.RC b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7256/SDK7256int/7256INT.RC deleted file mode 100644 index bc661a4..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7256/SDK7256int/7256INT.RC +++ /dev/null @@ -1,115 +0,0 @@ -//Microsoft Developer Studio generated resource script. -// -#include "resource.h" - -#define APSTUDIO_READONLY_SYMBOLS -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 2 resource. -// -#define APSTUDIO_HIDDEN_SYMBOLS -#include "windows.h" -#undef APSTUDIO_HIDDEN_SYMBOLS - -///////////////////////////////////////////////////////////////////////////// -#undef APSTUDIO_READONLY_SYMBOLS - -///////////////////////////////////////////////////////////////////////////// -// English (U.S.) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -#ifdef _WIN32 -LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US -#pragma code_page(1252) -#endif //_WIN32 - -#ifdef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// TEXTINCLUDE -// - -1 TEXTINCLUDE DISCARDABLE -BEGIN - "resource.h\0" -END - -2 TEXTINCLUDE DISCARDABLE -BEGIN - "#define APSTUDIO_HIDDEN_SYMBOLS\r\n" - "#include ""windows.h""\r\n" - "#undef APSTUDIO_HIDDEN_SYMBOLS\r\n" - "\0" -END - -3 TEXTINCLUDE DISCARDABLE -BEGIN - "\r\n" - "\0" -END - -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// Menu -// - -U7256MENU MENU DISCARDABLE -BEGIN - MENUITEM "E&xit!", IDM_EXIT -END - - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog -// - -IDD_DIALOG2 DIALOG DISCARDABLE 110, 10, 106, 61 -STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "Card Number" -FONT 10, "System" -BEGIN - DEFPUSHBUTTON "OK",IDOK,10,40,37,14 - PUSHBUTTON "Cancel",IDCANCEL,61,40,38,14 - LTEXT "Card Number",IDC_STATIC,3,13,47,13 - COMBOBOX IDC_COMBO1,51,13,48,84,CBS_DROPDOWN | WS_VSCROLL | - WS_TABSTOP -END - - -///////////////////////////////////////////////////////////////////////////// -// -// DESIGNINFO -// - -#ifdef APSTUDIO_INVOKED -GUIDELINES DESIGNINFO DISCARDABLE -BEGIN - IDD_DIALOG2, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 99 - TOPMARGIN, 7 - BOTTOMMARGIN, 54 - END -END -#endif // APSTUDIO_INVOKED - -#endif // English (U.S.) resources -///////////////////////////////////////////////////////////////////////////// - - - -#ifndef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 3 resource. -// - - -///////////////////////////////////////////////////////////////////////////// -#endif // not APSTUDIO_INVOKED - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7256/SDK7256int/7256int.exe b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7256/SDK7256int/7256int.exe deleted file mode 100644 index ea74565..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7256/SDK7256int/7256int.exe and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7256/SDK7256int/Resource.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7256/SDK7256int/Resource.h deleted file mode 100644 index dbbf044..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7256/SDK7256int/Resource.h +++ /dev/null @@ -1,30 +0,0 @@ -//{{NO_DEPENDENCIES}} -// Microsoft Developer Studio generated include file. -// Used by 7256int.rc -// -#define IDM_SETUP 101 -#define IDD_DIALOG1 101 -#define IDD_DIALOG2 102 -#define IDM_EXIT 110 -#define IDM_GO 300 -#define IDM_ABOUT 301 -#define DMA_DATA 302 -#define ID_STOP 304 -#define IDM_CLEAR 305 -#define DMA_SPACE 500 -#define IDC_COMBO1 1004 -#define IDC_COMBO2 1005 -#define IDC_EDIT1 1007 -#define IDC_EDIT2 1008 -#define IDC_STATIC -1 - -// Next default values for new objects -// -#ifdef APSTUDIO_INVOKED -#ifndef APSTUDIO_READONLY_SYMBOLS -#define _APS_NEXT_RESOURCE_VALUE 103 -#define _APS_NEXT_COMMAND_VALUE 102 -#define _APS_NEXT_CONTROL_VALUE 1008 -#define _APS_NEXT_SYMED_VALUE 101 -#endif -#endif diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7256/SDK7256intMsg/7256INT.C b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7256/SDK7256intMsg/7256INT.C deleted file mode 100644 index af63703..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7256/SDK7256intMsg/7256INT.C +++ /dev/null @@ -1,244 +0,0 @@ -/*;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; -;; Copyright (c) 1995-2001, ADLink Technology Inc. All rights reserved. ;; -;; ;; -;; File Name : 7256INT.C ;; -;; Purpose : This sample program demonstrates how handle interrupt ;; -;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;*/ - -#include -#include -#include -#include -#include -#include "Dask.h" -#include "Resource.h" - -#define IDC_START 300 -#define IDC_OUTPUT 302 -#define WM_INT 2000 //interrupt comming message - -HANDLE hInst; /* current instance */ -int int_count=0; -I16 card=-1, card_number = 0; -int outVal = 0; -U16 COSLData = 0; -HWND hStart, hMainWnd; - -int PASCAL WinMain(HANDLE, HANDLE, LPSTR, int); -BOOL InitApplication(HANDLE); -BOOL InitInstance(HANDLE, int); -long PASCAL MainWndProc(HWND, unsigned, WPARAM, LPARAM); -void mesgfn(); - - /********************************************************************** - - FUNCTION: WinMain(HANDLE, HANDLE, LPSTR, int) - PURPOSE: calls initialization function, processes message loop - - ***********************************************************************/ - - int PASCAL WinMain(hInstance, hPrevInstance, lpCmdLine, nCmdShow) - HANDLE hInstance; - HANDLE hPrevInstance; - LPSTR lpCmdLine; - int nCmdShow; - { - MSG msg; - - if(!hPrevInstance) - if(!InitApplication(hInstance)) - return(FALSE); - - if(!InitInstance(hInstance, nCmdShow)) - return(FALSE); - - while ( GetMessage(&msg, NULL, NULL, NULL)) - { - TranslateMessage(&msg); - DispatchMessage(&msg); - } - return(msg.wParam); - } - -/**************************************************************************** - - FUNCTION: InitApplication(HANDLE) - - PURPOSE: Initializes window data and registers window class - -****************************************************************************/ - -BOOL InitApplication(hInstance) -HANDLE hInstance; -{ - WNDCLASS wc; - - wc.style = NULL; - wc.lpfnWndProc = MainWndProc; - wc.cbClsExtra = 0; - wc.cbWndExtra = 0; - wc.hInstance = hInstance; - wc.hIcon = LoadIcon(NULL, IDI_APPLICATION); - wc.hCursor = LoadCursor(hInstance, IDC_ARROW); - wc.hbrBackground = GetStockObject(WHITE_BRUSH); - wc.lpszMenuName = "U7256Menu"; - wc.lpszClassName = "IntClass"; - - return (RegisterClass(&wc)); -} - -/**************************************************************************** - - FUNCTION: InitInstance(HANDLE, int) - - PURPOSE: Saves instance handle and creates main window - -****************************************************************************/ - -BOOL InitInstance(hInstance, nCmdShow) -HANDLE hInstance; -int nCmdShow; -{ - HWND hWnd; - - hInst = hInstance; - hWnd = CreateWindow("IntClass", "PCI-7256 Interrupt Sample (INT1)", WS_OVERLAPPEDWINDOW, - 200, 100, 360, 300, NULL, NULL, hInstance, NULL); - if (!hWnd) return (FALSE); - ShowWindow(hWnd, nCmdShow); - UpdateWindow(hWnd); - return (TRUE); -} - -BOOL PASCAL setup(HWND hWnd, unsigned message, WPARAM wParam, LPARAM lParam) -{ - int i; - char n[16]; - char s[50]; - switch (message) { - case WM_INITDIALOG: - for (i=0;i<16;i++) { - wsprintf(n, "%d", i); - _strupr(n); - SendMessage(GetDlgItem(hWnd,IDC_COMBO1), CB_ADDSTRING, NULL, (LONG)(LPSTR) n); - } - SendMessage(GetDlgItem(hWnd,IDC_COMBO1) , CB_SETCURSEL, 0, 0L); - - break; - case WM_COMMAND: - switch(LOWORD(wParam)) { - - case IDC_COMBO1: - if (HIWORD(wParam) == CBN_CLOSEUP) { - i = (int)SendMessage(GetDlgItem(hWnd,IDC_COMBO1), CB_GETCURSEL, 0, 0L); - SendMessage(GetDlgItem(hWnd,IDC_COMBO1), CB_GETLBTEXT, i, (LPARAM)((LPCSTR)n)); - card_number = i; - } - return(TRUE); - case IDOK: - if ((card=Register_Card(PCI_7256, card_number)) < 0) { - wsprintf(s, "Register_Card Error = %d\n", card); - MessageBox(hWnd, s, "Error", MB_OK); - } - EndDialog(hWnd, TRUE); - InvalidateRect(hWnd, NULL, FALSE); - return (TRUE); - case IDCANCEL: - EndDialog(hWnd, TRUE); - return (TRUE); - } - break; - } - return (FALSE); -} -/**************************************************************************** - - FUNCTION: MainWndProc(HWND, UINT, WPARAM, LPARAM) - - PURPOSE: Processes messages - - -****************************************************************************/ - -long PASCAL MainWndProc(hWnd, message, wParam, lParam) -HWND hWnd; -unsigned message; -WPARAM wParam; -LPARAM lParam; -{ - PAINTSTRUCT ps; - HDC hDC; - char s[50]; - - switch(message) { - case WM_CREATE: - DialogBox(hInst,IDD_DIALOG2, hWnd, setup); - if(card<0) { - SendMessage(hWnd, WM_CLOSE, 0, 0L); - break; - } - CreateWindow("BUTTON", "Output", WS_CHILD | WS_VISIBLE, - 130, 200, 72, 24, hWnd, IDC_OUTPUT, hInst, NULL); - int_count = 0; - DIO_INT1_EventMessage (card, INT1_COS, hWnd, WM_INT, NULL); - DIO_SetCOSInterrupt(card, 0, 0x0001, 0, 0); - DO_WritePort(card,0, outVal); - hMainWnd = hWnd; - break; - case WM_PAINT: - hDC = BeginPaint(hWnd, &ps); - TextOut(hDC, 20, 30, "This program shows the number of occurrence", 43); - TextOut(hDC, 20, 45, "of INT1 interupt. INT1 interrupt is generated", 45); - TextOut(hDC, 20, 60, "by external signal from DI bit-0. If you connect", 48); - TextOut(hDC, 20, 75, "DO bit-0 to DI bit-0, press 'Output' button can", 47); - TextOut(hDC, 20, 90, "generate an interrupt.", 22); - wsprintf(s,"INT1 Count = %d ", int_count); - TextOut(hDC,120,140,s,strlen(s)); - wsprintf(s,"COS Latch Data = %d", COSLData); - TextOut(hDC, 120, 160, s, strlen(s)); - EndPaint(hWnd, &ps); - break; - case WM_COMMAND: - switch(LOWORD(wParam)) { - case IDM_EXIT: - DIO_SetCOSInterrupt(card, 0, 0, 0, 0); - DIO_INT1_EventMessage (card, INT1_DISABLE, hMainWnd, NULL, NULL); - DO_WritePort(card,0, 0x0); - SendMessage(hWnd, WM_CLOSE, 0, 0L); - break; - case IDC_OUTPUT: - outVal = (outVal+1)%2; - DO_WritePort(card,0, outVal); - Sleep(0); - break; - } - break; - case WM_INT: //interrupt comming message - mesgfn(); - break; - case WM_DESTROY: - if (card >= 0) Release_Card(card); - PostQuitMessage(0); - break; - default: - return (DefWindowProc(hWnd, message, wParam, lParam)); - } - return(0L); -} - -void mesgfn() -{ - HDC hDC; - char Buf[80]; - - hDC=GetDC(hMainWnd); - int_count++; - DIO_GetCOSLatchData(card, &COSLData); - - wsprintf(Buf,"INT1 Count = %d ", int_count); - TextOut(hDC,120,140,Buf,strlen(Buf)); - wsprintf(Buf,"COS Latch Data = %d", COSLData); - TextOut(hDC, 120, 160, Buf, strlen(Buf)); - - ReleaseDC(hMainWnd, hDC); -} diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7256/SDK7256intMsg/7256int.dsp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7256/SDK7256intMsg/7256int.dsp deleted file mode 100644 index e98064f..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7256/SDK7256intMsg/7256int.dsp +++ /dev/null @@ -1,110 +0,0 @@ -# Microsoft Developer Studio Project File - Name="7256int" - Package Owner=<4> -# Microsoft Developer Studio Generated Build File, Format Version 5.00 -# ** DO NOT EDIT ** - -# TARGTYPE "Win32 (x86) Application" 0x0101 - -CFG=7256int - Win32 Release -!MESSAGE This is not a valid makefile. To build this project using NMAKE, -!MESSAGE use the Export Makefile command and run -!MESSAGE -!MESSAGE NMAKE /f "7256int.mak". -!MESSAGE -!MESSAGE You can specify a configuration when running NMAKE -!MESSAGE by defining the macro CFG on the command line. For example: -!MESSAGE -!MESSAGE NMAKE /f "7256int.mak" CFG="7256int - Win32 Release" -!MESSAGE -!MESSAGE Possible choices for configuration are: -!MESSAGE -!MESSAGE "7256int - Win32 Release" (based on "Win32 (x86) Application") -!MESSAGE "7256int - Win32 Debug" (based on "Win32 (x86) Application") -!MESSAGE - -# Begin Project -# PROP Scc_ProjName "" -# PROP Scc_LocalPath "" -CPP=cl.exe -MTL=midl.exe -RSC=rc.exe - -!IF "$(CFG)" == "7256int - Win32 Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir ".\Release" -# PROP BASE Intermediate_Dir ".\Release" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "" -# PROP Intermediate_Dir ".\Release" -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /YX /c -# ADD CPP /nologo /MT /W3 /GX /Od /I "..\..\..\include" /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /FD /c -# SUBTRACT CPP /YX -# ADD BASE MTL /nologo /D "NDEBUG" /win32 -# ADD MTL /nologo /D "NDEBUG" /mktyplib203 /win32 -# ADD BASE RSC /l 0x404 /d "NDEBUG" -# ADD RSC /l 0x404 /d "NDEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:windows /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ..\..\..\lib\PCI-DASK.lib /nologo /subsystem:windows /machine:I386 - -!ELSEIF "$(CFG)" == "7256int - Win32 Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir ".\Debug" -# PROP BASE Intermediate_Dir ".\Debug" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "" -# PROP Intermediate_Dir ".\Debug" -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /Gm /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /YX /c -# ADD CPP /nologo /MTd /W3 /Gm /GX /Zi /Od /I "..\..\..\include" /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /FD /c -# SUBTRACT CPP /YX -# ADD BASE MTL /nologo /D "_DEBUG" /win32 -# ADD MTL /nologo /D "_DEBUG" /mktyplib203 /win32 -# ADD BASE RSC /l 0x404 /d "_DEBUG" -# ADD RSC /l 0x404 /d "_DEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:windows /debug /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ..\..\..\lib\PCI-DASK.lib /nologo /subsystem:windows /debug /machine:I386 - -!ENDIF - -# Begin Target - -# Name "7256int - Win32 Release" -# Name "7256int - Win32 Debug" -# Begin Group "Source Files" - -# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;hpj;bat;for;f90" -# Begin Source File - -SOURCE=.\7256int.c -# End Source File -# Begin Source File - -SOURCE=.\7256int.rc -# End Source File -# End Group -# Begin Group "Header Files" - -# PROP Default_Filter "h;hpp;hxx;hm;inl;fi;fd" -# End Group -# Begin Group "Resource Files" - -# PROP Default_Filter "ico;cur;bmp;dlg;rc2;rct;bin;cnt;rtf;gif;jpg;jpeg;jpe" -# End Group -# End Target -# End Project diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7256/SDK7256intMsg/7256int.dsw b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7256/SDK7256intMsg/7256int.dsw deleted file mode 100644 index 9abe1ad..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7256/SDK7256intMsg/7256int.dsw +++ /dev/null @@ -1,29 +0,0 @@ -Microsoft Developer Studio Workspace File, Format Version 5.00 -# WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE! - -############################################################################### - -Project: "7256int"=.\7256int.dsp - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ -}}} - -############################################################################### - -Global: - -Package=<5> -{{{ -}}} - -Package=<3> -{{{ -}}} - -############################################################################### - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7256/SDK7256intMsg/7256int.exe b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7256/SDK7256intMsg/7256int.exe deleted file mode 100644 index f058e29..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7256/SDK7256intMsg/7256int.exe and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7256/SDK7256intMsg/7256int.rc b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7256/SDK7256intMsg/7256int.rc deleted file mode 100644 index 1a2011a..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7256/SDK7256intMsg/7256int.rc +++ /dev/null @@ -1,115 +0,0 @@ -//Microsoft Developer Studio generated resource script. -// -#include "resource.h" - -#define APSTUDIO_READONLY_SYMBOLS -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 2 resource. -// -#define APSTUDIO_HIDDEN_SYMBOLS -#include "windows.h" -#undef APSTUDIO_HIDDEN_SYMBOLS - -///////////////////////////////////////////////////////////////////////////// -#undef APSTUDIO_READONLY_SYMBOLS - -///////////////////////////////////////////////////////////////////////////// -// English (U.S.) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -#ifdef _WIN32 -LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US -#pragma code_page(1252) -#endif //_WIN32 - -#ifdef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// TEXTINCLUDE -// - -1 TEXTINCLUDE DISCARDABLE -BEGIN - "resource.h\0" -END - -2 TEXTINCLUDE DISCARDABLE -BEGIN - "#define APSTUDIO_HIDDEN_SYMBOLS\r\n" - "#include ""windows.h""\r\n" - "#undef APSTUDIO_HIDDEN_SYMBOLS\r\n" - "\0" -END - -3 TEXTINCLUDE DISCARDABLE -BEGIN - "\r\n" - "\0" -END - -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog -// - -IDD_DIALOG2 DIALOG DISCARDABLE 110, 10, 106, 61 -STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "Card Number" -FONT 10, "System" -BEGIN - DEFPUSHBUTTON "OK",IDOK,10,40,37,14 - PUSHBUTTON "Cancel",IDCANCEL,61,40,38,14 - LTEXT "Card Number",IDC_STATIC,3,13,47,13 - COMBOBOX IDC_COMBO1,51,13,48,84,CBS_DROPDOWN | WS_VSCROLL | - WS_TABSTOP -END - - -///////////////////////////////////////////////////////////////////////////// -// -// DESIGNINFO -// - -#ifdef APSTUDIO_INVOKED -GUIDELINES DESIGNINFO DISCARDABLE -BEGIN - IDD_DIALOG2, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 99 - TOPMARGIN, 7 - BOTTOMMARGIN, 54 - END -END -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// Menu -// - -U7256MENU MENU DISCARDABLE -BEGIN - MENUITEM "E&xit!", IDM_EXIT -END - -#endif // English (U.S.) resources -///////////////////////////////////////////////////////////////////////////// - - - -#ifndef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 3 resource. -// - - -///////////////////////////////////////////////////////////////////////////// -#endif // not APSTUDIO_INVOKED - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7256/SDK7256intMsg/resource.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7256/SDK7256intMsg/resource.h deleted file mode 100644 index dbbf044..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7256/SDK7256intMsg/resource.h +++ /dev/null @@ -1,30 +0,0 @@ -//{{NO_DEPENDENCIES}} -// Microsoft Developer Studio generated include file. -// Used by 7256int.rc -// -#define IDM_SETUP 101 -#define IDD_DIALOG1 101 -#define IDD_DIALOG2 102 -#define IDM_EXIT 110 -#define IDM_GO 300 -#define IDM_ABOUT 301 -#define DMA_DATA 302 -#define ID_STOP 304 -#define IDM_CLEAR 305 -#define DMA_SPACE 500 -#define IDC_COMBO1 1004 -#define IDC_COMBO2 1005 -#define IDC_EDIT1 1007 -#define IDC_EDIT2 1008 -#define IDC_STATIC -1 - -// Next default values for new objects -// -#ifdef APSTUDIO_INVOKED -#ifndef APSTUDIO_READONLY_SYMBOLS -#define _APS_NEXT_RESOURCE_VALUE 103 -#define _APS_NEXT_COMMAND_VALUE 102 -#define _APS_NEXT_CONTROL_VALUE 1008 -#define _APS_NEXT_SYMED_VALUE 101 -#endif -#endif diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7256/VB7256/7256GLBL.BAS b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7256/VB7256/7256GLBL.BAS deleted file mode 100644 index 77a2e7f..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7256/VB7256/7256GLBL.BAS +++ /dev/null @@ -1,4 +0,0 @@ -Attribute VB_Name = "Module1" -Global card As Integer -Global card_number As Integer - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7256/VB7256/7256_0.BMP b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7256/VB7256/7256_0.BMP deleted file mode 100644 index 407bba2..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7256/VB7256/7256_0.BMP and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7256/VB7256/7256_1.BMP b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7256/VB7256/7256_1.BMP deleted file mode 100644 index 37d14f3..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7256/VB7256/7256_1.BMP and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7256/VB7256/Base7256.frm b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7256/VB7256/Base7256.frm deleted file mode 100644 index 0bdc068..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7256/VB7256/Base7256.frm +++ /dev/null @@ -1,98 +0,0 @@ -VERSION 5.00 -Begin VB.Form SettingForm - Appearance = 0 'Flat - BackColor = &H00C0C0C0& - Caption = "Card Number Setting" - ClientHeight = 1275 - ClientLeft = 4590 - ClientTop = 4545 - ClientWidth = 2820 - BeginProperty Font - Name = "MS Sans Serif" - Size = 8.25 - Charset = 0 - Weight = 700 - Underline = 0 'False - Italic = 0 'False - Strikethrough = 0 'False - EndProperty - ForeColor = &H80000008& - LinkTopic = "Form2" - PaletteMode = 1 'UseZOrder - ScaleHeight = 1275 - ScaleWidth = 2820 - Begin VB.CommandButton OKBtn - Appearance = 0 'Flat - BackColor = &H80000005& - Caption = "OK" - Default = -1 'True - Height = 315 - Left = 300 - TabIndex = 0 - Top = 720 - Width = 915 - End - Begin VB.CommandButton CancelBtn - Appearance = 0 'Flat - BackColor = &H80000005& - Cancel = -1 'True - Caption = "Cancel" - Height = 315 - Left = 1380 - TabIndex = 3 - Top = 720 - Width = 915 - End - Begin VB.ComboBox CardNum - Appearance = 0 'Flat - Height = 300 - Left = 1440 - Style = 2 'Dropdown List - TabIndex = 2 - Top = 120 - Width = 1035 - End - Begin VB.Label Label2 - Appearance = 0 'Flat - BackColor = &H00C0C0C0& - Caption = "Card Number:" - ForeColor = &H00000000& - Height = 195 - Index = 0 - Left = 180 - TabIndex = 1 - Top = 180 - Width = 1275 - End -End -Attribute VB_Name = "SettingForm" -Attribute VB_GlobalNameSpace = False -Attribute VB_Creatable = False -Attribute VB_PredeclaredId = True -Attribute VB_Exposed = False - - -Private Sub BaseAddr_Change() - -End Sub - - -Private Sub CancelBtn_Click() - Unload SettingForm -End Sub - -Private Sub Form_Load() - Dim i As Long - For i = 0 To 15 Step 1 - CardNum.AddItem i - Next - CardNum.ListIndex = 0 -End Sub - -Private Sub OKBtn_Click() - card = -1 - card_number = CardNum.ListIndex - card = Register_Card(PCI_7256, card_number) - Unload SettingForm -End Sub - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7256/VB7256/Util7256.Frm b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7256/VB7256/Util7256.Frm deleted file mode 100644 index 0da2521..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7256/VB7256/Util7256.Frm +++ /dev/null @@ -1,441 +0,0 @@ -VERSION 5.00 -Begin VB.Form util7256 - Appearance = 0 'Flat - BackColor = &H00C0C0C0& - Caption = "PCI-7256 Sample Program" - ClientHeight = 1815 - ClientLeft = 1170 - ClientTop = 3420 - ClientWidth = 6480 - BeginProperty Font - Name = "MS Sans Serif" - Size = 8.25 - Charset = 0 - Weight = 700 - Underline = 0 'False - Italic = 0 'False - Strikethrough = 0 'False - EndProperty - ForeColor = &H80000008& - LinkTopic = "Form1" - PaletteMode = 1 'UseZOrder - ScaleHeight = 1815 - ScaleWidth = 6480 - Begin VB.Timer Timer1 - Interval = 100 - Left = 5460 - Top = 1440 - End - Begin VB.Frame Frame1 - Appearance = 0 'Flat - BackColor = &H00C0C0C0& - Caption = "Digital Output" - ForeColor = &H000000FF& - Height = 615 - Index = 1 - Left = 240 - TabIndex = 1 - Top = 960 - Width = 6015 - Begin VB.Image DOP0 - Appearance = 0 'Flat - Height = 300 - Index = 15 - Left = 240 - Picture = "Util7256.frx":0000 - Top = 240 - Width = 300 - End - Begin VB.Image DOP0 - Appearance = 0 'Flat - Height = 300 - Index = 14 - Left = 600 - Picture = "Util7256.frx":0172 - Top = 240 - Width = 300 - End - Begin VB.Image DOP0 - Appearance = 0 'Flat - Height = 300 - Index = 13 - Left = 960 - Picture = "Util7256.frx":02E4 - Top = 240 - Width = 300 - End - Begin VB.Image DOP0 - Appearance = 0 'Flat - Height = 300 - Index = 12 - Left = 1320 - Picture = "Util7256.frx":0456 - Top = 240 - Width = 300 - End - Begin VB.Image DOP0 - Appearance = 0 'Flat - Height = 300 - Index = 11 - Left = 1680 - Picture = "Util7256.frx":05C8 - Top = 240 - Width = 300 - End - Begin VB.Image DOP0 - Appearance = 0 'Flat - Height = 300 - Index = 10 - Left = 2040 - Picture = "Util7256.frx":073A - Top = 240 - Width = 300 - End - Begin VB.Image DOP0 - Appearance = 0 'Flat - Height = 300 - Index = 9 - Left = 2400 - Picture = "Util7256.frx":08AC - Top = 240 - Width = 300 - End - Begin VB.Image DOP0 - Appearance = 0 'Flat - Height = 300 - Index = 8 - Left = 2760 - Picture = "Util7256.frx":0A1E - Top = 240 - Width = 300 - End - Begin VB.Image DOP0 - Appearance = 0 'Flat - Height = 300 - Index = 7 - Left = 3120 - Picture = "Util7256.frx":0B90 - Top = 240 - Width = 300 - End - Begin VB.Image DOP0 - Appearance = 0 'Flat - Height = 300 - Index = 6 - Left = 3480 - Picture = "Util7256.frx":0D02 - Top = 240 - Width = 300 - End - Begin VB.Image DOP0 - Appearance = 0 'Flat - Height = 300 - Index = 5 - Left = 3840 - Picture = "Util7256.frx":0E74 - Top = 240 - Width = 300 - End - Begin VB.Image DOP0 - Appearance = 0 'Flat - Height = 300 - Index = 4 - Left = 4200 - Picture = "Util7256.frx":0FE6 - Top = 240 - Width = 300 - End - Begin VB.Image DOP0 - Appearance = 0 'Flat - Height = 300 - Index = 2 - Left = 4920 - Picture = "Util7256.frx":1158 - Top = 240 - Width = 300 - End - Begin VB.Image DOP0 - Appearance = 0 'Flat - Height = 300 - Index = 3 - Left = 4560 - Picture = "Util7256.frx":12CA - Top = 240 - Width = 300 - End - Begin VB.Image DOP0 - Appearance = 0 'Flat - Height = 300 - Index = 1 - Left = 5280 - Picture = "Util7256.frx":143C - Top = 240 - Width = 300 - End - Begin VB.Image DOP0 - Appearance = 0 'Flat - Height = 300 - Index = 0 - Left = 5640 - Picture = "Util7256.frx":15AE - Top = 240 - Width = 300 - End - End - Begin VB.Frame Frame1 - Appearance = 0 'Flat - BackColor = &H00C0C0C0& - Caption = "Digital Input" - ForeColor = &H00FF0000& - Height = 615 - Index = 0 - Left = 240 - TabIndex = 0 - Top = 180 - Width = 6015 - Begin VB.Image DI0 - Appearance = 0 'Flat - Height = 300 - Index = 15 - Left = 240 - Picture = "Util7256.frx":1720 - Top = 240 - Width = 300 - End - Begin VB.Image DI0 - Appearance = 0 'Flat - Height = 300 - Index = 14 - Left = 600 - Picture = "Util7256.frx":1892 - Top = 240 - Width = 300 - End - Begin VB.Image DI0 - Appearance = 0 'Flat - Height = 300 - Index = 13 - Left = 960 - Picture = "Util7256.frx":1A04 - Top = 240 - Width = 300 - End - Begin VB.Image DI0 - Appearance = 0 'Flat - Height = 300 - Index = 12 - Left = 1320 - Picture = "Util7256.frx":1B76 - Top = 240 - Width = 300 - End - Begin VB.Image DI0 - Appearance = 0 'Flat - Height = 300 - Index = 11 - Left = 1680 - Picture = "Util7256.frx":1CE8 - Top = 240 - Width = 300 - End - Begin VB.Image DI0 - Appearance = 0 'Flat - Height = 300 - Index = 10 - Left = 2040 - Picture = "Util7256.frx":1E5A - Top = 240 - Width = 300 - End - Begin VB.Image DI0 - Appearance = 0 'Flat - Height = 300 - Index = 9 - Left = 2400 - Picture = "Util7256.frx":1FCC - Top = 240 - Width = 300 - End - Begin VB.Image DI0 - Appearance = 0 'Flat - Height = 300 - Index = 8 - Left = 2760 - Picture = "Util7256.frx":213E - Top = 240 - Width = 300 - End - Begin VB.Image DI0 - Appearance = 0 'Flat - Height = 300 - Index = 0 - Left = 5640 - Picture = "Util7256.frx":22B0 - Top = 240 - Width = 300 - End - Begin VB.Image DI0 - Appearance = 0 'Flat - Height = 300 - Index = 1 - Left = 5280 - Picture = "Util7256.frx":2422 - Top = 240 - Width = 300 - End - Begin VB.Image DI0 - Appearance = 0 'Flat - Height = 300 - Index = 2 - Left = 4920 - Picture = "Util7256.frx":2594 - Top = 240 - Width = 300 - End - Begin VB.Image DI0 - Appearance = 0 'Flat - Height = 300 - Index = 3 - Left = 4560 - Picture = "Util7256.frx":2706 - Top = 240 - Width = 300 - End - Begin VB.Image DI0 - Appearance = 0 'Flat - Height = 300 - Index = 4 - Left = 4200 - Picture = "Util7256.frx":2878 - Top = 240 - Width = 300 - End - Begin VB.Image DI0 - Appearance = 0 'Flat - Height = 300 - Index = 5 - Left = 3840 - Picture = "Util7256.frx":29EA - Top = 240 - Width = 300 - End - Begin VB.Image DI0 - Appearance = 0 'Flat - Height = 300 - Index = 6 - Left = 3480 - Picture = "Util7256.frx":2B5C - Top = 240 - Width = 300 - End - Begin VB.Image DI0 - Appearance = 0 'Flat - Height = 300 - Index = 7 - Left = 3120 - Picture = "Util7256.frx":2CCE - Top = 240 - Width = 300 - End - End - Begin VB.Image Image1 - Appearance = 0 'Flat - Height = 300 - Left = 5880 - Picture = "Util7256.frx":2E40 - Top = 1560 - Visible = 0 'False - Width = 300 - End - Begin VB.Image Image0 - Appearance = 0 'Flat - Height = 300 - Left = 6180 - Picture = "Util7256.frx":2FB2 - Top = 1560 - Visible = 0 'False - Width = 300 - End - Begin VB.Menu mnuExit - Caption = "&Exit!" - End -End -Attribute VB_Name = "util7256" -Attribute VB_GlobalNameSpace = False -Attribute VB_Creatable = False -Attribute VB_PredeclaredId = True -Attribute VB_Exposed = False -Option Explicit -Dim Status(0 To 15) As Integer -Dim do_data As Long -Private Sub DOP0_Click(Index As Integer) - Dim i As Integer, v As Integer - Dim d As Integer - - If Status(Index) = 1 Then - do_data = do_data - (2 ^ Index) - DOP0(Index).Picture = Image0.Picture - Status(Index) = 0 - Else - do_data = do_data + (2 ^ Index) - DOP0(Index).Picture = Image1.Picture - Status(Index) = 1 - End If - v = DO_WritePort(card, 0, do_data) -End Sub - -Private Sub Form_Load() - Dim result As Integer - Dim i As Integer, bn As Integer - SettingForm.Show 1 - If card < 0 Then - MsgBox "Register Card Failed" - End - End If - For i = 0 To 7 - Status(i) = 0 - Next - do_data = &H0 -End Sub - -Private Sub Form_Unload(Cancel As Integer) - Dim result As Integer - If card >= 0 Then - result = Release_Card(card) - End If - End -End Sub - - -Private Sub mnuExit_Click() - Dim result As Integer - If card >= 0 Then - result = Release_Card(card) - End If - End -End Sub - -Private Sub Timer1_Timer() - Dim result As Integer - Dim di_data As Long - Dim i As Integer - Dim p As Long, d As Long - - result = DI_ReadPort(card, 0, di_data) - 'tranform signed integer to unsigned value - If di_data >= 0 Then - d = di_data - Else - d = CLng(di_data) + 65536 - End If - For i = 0 To 15 - p = d Mod 2 - If p = 0 Then - DI0(i) = Image0 - Else 'p = 1 - DI0(i) = Image1 - End If - d = CLng(Int(d / 2)) - Next -End Sub - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7256/VB7256/Util7256.Vbp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7256/VB7256/Util7256.Vbp deleted file mode 100644 index b32dcca..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7256/VB7256/Util7256.Vbp +++ /dev/null @@ -1,35 +0,0 @@ -Type=Exe -Form=Util7256.Frm -Module=DASK; ..\..\..\Include\Dask.bas -Module=Module1; 7256glbl.bas -Form=Base7256.frm -Reference=*\G{00025E04-0000-0000-C000-000000000046}#3.5#0#C:\PROGRAM FILES\COMMON FILES\MICROSOFT SHARED\DAO\dao2535.tlb#Microsoft DAO 2.5/3.0 Compatibility Library -IconForm="util7256" -Startup="util7256" -Title="UTIL725B" -ExeName32="Util7256.exe" -Command32="" -Name="Util725b" -HelpContextID="0" -CompatibleMode="0" -MajorVer=1 -MinorVer=0 -RevisionVer=0 -AutoIncrementVer=0 -ServerSupportFiles=0 -VersionCompanyName="ADLINK" -CompilationType=0 -OptimizationType=0 -FavorPentiumPro(tm)=0 -CodeViewDebugInfo=0 -NoAliasing=0 -BoundsCheck=0 -OverflowCheck=0 -FlPointCheck=0 -FDIVCheck=0 -UnroundedFP=0 -StartMode=0 -Unattended=0 -Retained=0 -ThreadPerObject=0 -MaxNumberOfThreads=1 diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7256/VB7256/Util7256.frx b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7256/VB7256/Util7256.frx deleted file mode 100644 index 8dda588..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7256/VB7256/Util7256.frx and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7256/VB7256/Util7256.vbw b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7256/VB7256/Util7256.vbw deleted file mode 100644 index 7cf43c0..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7256/VB7256/Util7256.vbw +++ /dev/null @@ -1,4 +0,0 @@ -util7256 = 66, 66, 445, 405, Z, 44, 44, 423, 383, C -DASK = 0, 0, 0, 0, C -Module1 = 0, 0, 0, 0, C -SettingForm = 0, 0, 0, 0, C, 22, 22, 401, 361, C diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7258/SDK7258/Resource.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7258/SDK7258/Resource.h deleted file mode 100644 index ffe4a9a..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7258/SDK7258/Resource.h +++ /dev/null @@ -1,19 +0,0 @@ -//{{NO_DEPENDENCIES}} -// Microsoft Developer Studio generated include file. -// Used by Util7256.RC -// -#define IDD_DIALOG1 101 -#define IDM_EXIT 110 -#define IDC_COMBO1 1004 -#define IDC_STATIC -1 - -// Next default values for new objects -// -#ifdef APSTUDIO_INVOKED -#ifndef APSTUDIO_READONLY_SYMBOLS -#define _APS_NEXT_RESOURCE_VALUE 102 -#define _APS_NEXT_COMMAND_VALUE 101 -#define _APS_NEXT_CONTROL_VALUE 1000 -#define _APS_NEXT_SYMED_VALUE 101 -#endif -#endif diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7258/SDK7258/Util7258.RC b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7258/SDK7258/Util7258.RC deleted file mode 100644 index a037d13..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7258/SDK7258/Util7258.RC +++ /dev/null @@ -1,115 +0,0 @@ -//Microsoft Developer Studio generated resource script. -// -#include "resource.h" - -#define APSTUDIO_READONLY_SYMBOLS -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 2 resource. -// -#define APSTUDIO_HIDDEN_SYMBOLS -#include "windows.h" -#undef APSTUDIO_HIDDEN_SYMBOLS - -///////////////////////////////////////////////////////////////////////////// -#undef APSTUDIO_READONLY_SYMBOLS - -///////////////////////////////////////////////////////////////////////////// -// English (U.S.) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -#ifdef _WIN32 -LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US -#pragma code_page(1252) -#endif //_WIN32 - -#ifdef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// TEXTINCLUDE -// - -1 TEXTINCLUDE DISCARDABLE -BEGIN - "resource.h\0" -END - -2 TEXTINCLUDE DISCARDABLE -BEGIN - "#define APSTUDIO_HIDDEN_SYMBOLS\r\n" - "#include ""windows.h""\r\n" - "#undef APSTUDIO_HIDDEN_SYMBOLS\r\n" - "\0" -END - -3 TEXTINCLUDE DISCARDABLE -BEGIN - "\r\n" - "\0" -END - -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// Menu -// - -U7258MENU MENU DISCARDABLE -BEGIN - MENUITEM "E&xit!", IDM_EXIT -END - - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog -// - -IDD_DIALOG1 DIALOG DISCARDABLE 110, 10, 106, 61 -STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "Card Number" -FONT 10, "System" -BEGIN - DEFPUSHBUTTON "OK",IDOK,10,40,37,14 - PUSHBUTTON "Cancel",IDCANCEL,61,40,38,14 - LTEXT "Card Number",IDC_STATIC,3,13,45,13 - COMBOBOX IDC_COMBO1,51,13,48,84,CBS_DROPDOWN | WS_VSCROLL | - WS_TABSTOP -END - - -///////////////////////////////////////////////////////////////////////////// -// -// DESIGNINFO -// - -#ifdef APSTUDIO_INVOKED -GUIDELINES DESIGNINFO DISCARDABLE -BEGIN - IDD_DIALOG1, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 99 - TOPMARGIN, 7 - BOTTOMMARGIN, 54 - END -END -#endif // APSTUDIO_INVOKED - -#endif // English (U.S.) resources -///////////////////////////////////////////////////////////////////////////// - - - -#ifndef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 3 resource. -// - - -///////////////////////////////////////////////////////////////////////////// -#endif // not APSTUDIO_INVOKED - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7258/SDK7258/Util7258.c b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7258/SDK7258/Util7258.c deleted file mode 100644 index 5e70a9f..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7258/SDK7258/Util7258.c +++ /dev/null @@ -1,342 +0,0 @@ -/*;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; -;; Copyright (c) 1997-2001, ADLink Technology Inc. All rights reserved. ;; -;; ;; -;; File Name : Util7258.C ;; -;; Purpose : This sample program demonstrate how to operate ;; -;; DI & DO forcPCI-7258 ;; -;; Date : 07/20/1999 ;; -;; Revision : 1.0 ;; -;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;*/ - -#include -#include -#include -#include -#include -#include -#include "Dask.h" -#include "resource.h" - -#define IDM_EXIT 110 -#define TIMER1 1 - -int PASCAL WinMain(HANDLE, HANDLE, LPSTR, int); -long PASCAL MainWndProc(HWND, UINT, WPARAM, LPARAM); - -HANDLE hInst; -U16 input=0, output=0, output2=0; -I16 card=-1, card_number=0; -U16 oldinput=0 , rb_output; - -HBRUSH hLTGreenBrush,hGreenBrush,hBlueBrush,hYellowBrush,hRedBrush; - -POINT input_pos[16]= {{320, 40}, {300, 40}, - {280, 40}, {260, 40}, - {240, 40}, {220, 40}, - { 200, 40}, { 180, 40}, - {160, 40}, {140, 40}, - {120, 40}, {100, 40}, - {80, 40}, {60, 40}, - { 40, 40}, { 20, 40}, - }; -POINT output_pos2[16] ={ - {320, 120}, {300, 120}, - {280, 120}, {260, 120}, - {240, 120}, {220, 120}, - { 200, 120}, { 180, 120}, - {160, 120}, {140, 120}, - {120, 120}, {100, 120}, - {80, 120}, {60, 120}, - { 40, 120}, { 20, 120}, - }; - -POINT output_pos[16] ={ - {320, 200}, {300, 200}, - {280, 200}, {260, 200}, - {240, 200}, {220, 200}, - { 200, 200}, { 180, 200}, - {160, 200}, {140, 200}, - {120, 200}, {100, 200}, - {80, 200}, {60, 200}, - { 40, 200}, { 20, 200}, - }; - -BOOL InitApplication(HANDLE); -BOOL InitInstance(HANDLE, int); - -int PASCAL WinMain(hInstance, hPrevInstance, lpCmdLine, nCmdShow) -HANDLE hInstance, hPrevInstance; -LPSTR lpCmdLine; -int nCmdShow; -{ - MSG msg; - - if (!hPrevInstance) - if (!InitApplication(hInstance)) return(FALSE); - if (!InitInstance(hInstance, nCmdShow)) return(FALSE); - while (GetMessage(&msg, NULL, NULL, NULL)) { - TranslateMessage(&msg); - DispatchMessage(&msg); - } - return(msg.wParam); -} - -BOOL InitApplication(hInstance) -HANDLE hInstance; -{ - WNDCLASS wc; - - /* Main Window Class */ - wc.style = NULL; - wc.lpfnWndProc = (WNDPROC)MainWndProc; - wc.cbClsExtra = 0; - wc.cbWndExtra = 0; - wc.hInstance = hInstance; - wc.hIcon = LoadIcon(hInstance, "MyIcon"); - wc.hCursor = LoadCursor(NULL, IDC_ARROW); - wc.hbrBackground = GetStockObject(LTGRAY_BRUSH); - wc.lpszMenuName = NULL; - wc.lpszClassName = "GenericWClass"; - if (!RegisterClass(&wc)) return(FALSE); -} - -BOOL InitInstance(hInstance, nCmdShow) -HANDLE hInstance; -int nCmdShow; -{ - HWND hWnd; - HMENU hSampleMenu; - - hInst = hInstance; - hSampleMenu = LoadMenu(hInstance, "U7258Menu"); - hWnd = CreateWindow("GenericWClass", - (LPCSTR)"PCI-7258", - WS_OVERLAPPEDWINDOW, - CW_USEDEFAULT, - CW_USEDEFAULT, - 370, - 320, - NULL, - hSampleMenu, - hInstance, - NULL); - if (!hWnd) return(FALSE); - ShowWindow(hWnd, nCmdShow); - UpdateWindow(hWnd); - return(TRUE); -} - -BOOL PASCAL setup(HWND hWnd, unsigned message, WPARAM wParam, LPARAM lParam) -{ - int i; - char n[16]; - char s[50]; - switch (message) { - case WM_INITDIALOG: - for (i=0;i<16;i++) { - wsprintf(n, "%d", i); - _strupr(n); - SendMessage(GetDlgItem(hWnd,IDC_COMBO1), CB_ADDSTRING, NULL, (LONG)(LPSTR) n); - } - SendMessage(GetDlgItem(hWnd,IDC_COMBO1) , CB_SETCURSEL, 0, 0L); - - break; - case WM_COMMAND: - switch(LOWORD(wParam)) { - - case IDC_COMBO1: - if (HIWORD(wParam) == CBN_CLOSEUP) { - i = (int)SendMessage(GetDlgItem(hWnd,IDC_COMBO1), CB_GETCURSEL, 0, 0L); - SendMessage(GetDlgItem(hWnd,IDC_COMBO1), CB_GETLBTEXT, i, (LPARAM)((LPCSTR)n)); - card_number = i; - } - return(TRUE); - case IDOK: - if ((card=Register_Card(PCI_7258, card_number)) < 0) { - wsprintf(s, "Register_Card Error = %d\n", card); - MessageBox(hWnd, s, "Error", MB_OK); - } - EndDialog(hWnd, TRUE); - InvalidateRect(hWnd, NULL, FALSE); - return (TRUE); - case IDCANCEL: - EndDialog(hWnd, TRUE); - return (TRUE); - } - break; - } - return (FALSE); -} - -long PASCAL MainWndProc(hWnd, message, wParam, lParam) -HWND hWnd; -UINT message; -WPARAM wParam; -LPARAM lParam; -{ - HDC hDC; - PAINTSTRUCT ps; - int i, px, py; - char s[50]; - - switch(message) { - case WM_CREATE: - DialogBox(hInst,IDD_DIALOG1, hWnd, setup); - if(card<0) { - SendMessage(hWnd, WM_CLOSE, 0, 0L); - break; - } - hLTGreenBrush = CreateSolidBrush(RGB(0, 255, 0)); - hGreenBrush = CreateSolidBrush(RGB(0, 128, 0)); - hBlueBrush = CreateSolidBrush(RGB(0, 0, 255)); - hRedBrush = CreateSolidBrush(RGB(255, 0, 0)); - - SetTimer(hWnd, TIMER1, 50, NULL); - srand((unsigned)time(NULL)); - break; - case WM_PAINT: - hDC = BeginPaint(hWnd, &ps); - - // Digital Input Box - SelectObject(hDC, hLTGreenBrush); - Rectangle(hDC, input_pos[15].x-10, input_pos[15].y-24, input_pos[0].x+26, input_pos[0].y+40); - SetTextColor(hDC,RGB(255,255,255)); - SetBkColor(hDC, RGB(0, 0, 255)); - TextOut(hDC, input_pos[15].x, input_pos[15].y-30, "Digital Input",13); - - // Digital Output Box - SelectObject(hDC, hGreenBrush); - Rectangle(hDC, output_pos[15].x-10, output_pos[15].y-24, output_pos[0].x+26, output_pos[0].y+40); - SetTextColor(hDC,RGB(255,0,0)); - SetBkColor(hDC, RGB(0, 0, 255)); - TextOut(hDC, output_pos[15].x, output_pos[15].y-30, "Digital Output CH#0", 19); - - // Digital Output Box - SelectObject(hDC, hGreenBrush); - Rectangle(hDC, output_pos2[15].x-10, output_pos2[15].y-24, output_pos2[0].x+26, output_pos2[0].y+40); - SetTextColor(hDC,RGB(255,0,0)); - SetBkColor(hDC, RGB(0, 0, 255)); - TextOut(hDC, output_pos2[15].x, output_pos2[15].y-30, "Digital Output CH#1", 19); - - // Channel Label - SetTextColor(hDC,RGB(0,0,0)); - SetBkColor(hDC, RGB(0, 255, 0)); - TextOut(hDC, input_pos[15].x, input_pos[15].y+16, " 1 0", 76); - SetBkColor(hDC, RGB(0, 128, 0)); - TextOut(hDC, output_pos[15].x, output_pos[15].y+16, "15 0", 75); - TextOut(hDC, output_pos2[15].x, output_pos2[15].y+16, "15 0", 75); - SetBkColor(hDC, RGB(0, 255, 0)); - - // Detect Channel Input - for (i=0; i<2; i++) { - if ((input>>i)&0x01) - SelectObject(hDC, hRedBrush); - else - SelectObject(hDC, GetStockObject(WHITE_BRUSH)); - Ellipse(hDC, input_pos[i].x, input_pos[i].y, input_pos[i].x+17, input_pos[i].y+17); - } - // Channel Output - for (i=0; i<16; i++) { - if ((output>>i)&0x01) - SelectObject(hDC, hRedBrush); - else - SelectObject(hDC, GetStockObject(WHITE_BRUSH)); - Ellipse(hDC, output_pos[i].x, output_pos[i].y, output_pos[i].x+17, output_pos[i].y+17); - } - for (i=0; i<16; i++) { - if ((output2>>i)&0x01) - SelectObject(hDC, hRedBrush); - else - SelectObject(hDC, GetStockObject(WHITE_BRUSH)); - Ellipse(hDC, output_pos2[i].x, output_pos2[i].y, output_pos2[i].x+17, output_pos2[i].y+17); - } - EndPaint(hWnd, &ps); - break; - case WM_COMMAND: - switch(LOWORD(wParam)) { - case IDM_EXIT: - SendMessage(hWnd, WM_CLOSE, 0, 0L); - break; - default: - return(DefWindowProc(hWnd, message, wParam, lParam)); - } - break; - case WM_TIMER: - /* Digital Input */ - //DO_ReadPort(card,1,&input); - DI_ReadPort(card,0,&input); - hDC = GetDC(hWnd); - for (i=0; i<2; i++) { - if( ((input>>i)&0x01) != ((oldinput>>i)&0x01) ) - { - if ((input>>i)&0x01) - SelectObject(hDC, hRedBrush); - else - SelectObject(hDC, GetStockObject(WHITE_BRUSH)); - Ellipse(hDC, input_pos[i].x, input_pos[i].y, input_pos[i].x+17, input_pos[i].y+17); - } - } - oldinput=input; - ReleaseDC(hWnd, hDC); - break; - case WM_DESTROY: - if (card >= 0) Release_Card(card); - DeleteObject(hRedBrush); - DeleteObject(hGreenBrush); - DeleteObject(hLTGreenBrush); - KillTimer(hWnd, TIMER1); - PostQuitMessage(0); - break; - case WM_LBUTTONDOWN: - px = LOWORD(lParam); - py = HIWORD(lParam); - - for (i=0; i<16; i++) { - if (px>output_pos[i].x && pxoutput_pos[i].y && py>i)&0x01) { - output -= (((U16)1L)<output_pos2[i].x && pxoutput_pos2[i].y && py>i)&0x01) { - output2 -= (((U16)1L)< -# Microsoft Developer Studio Generated Build File, Format Version 5.00 -# ** DO NOT EDIT ** - -# TARGTYPE "Win32 (x86) Application" 0x0101 - -CFG=Util7258 - Win32 Release -!MESSAGE This is not a valid makefile. To build this project using NMAKE, -!MESSAGE use the Export Makefile command and run -!MESSAGE -!MESSAGE NMAKE /f "Util7258.mak". -!MESSAGE -!MESSAGE You can specify a configuration when running NMAKE -!MESSAGE by defining the macro CFG on the command line. For example: -!MESSAGE -!MESSAGE NMAKE /f "Util7258.mak" CFG="Util7258 - Win32 Release" -!MESSAGE -!MESSAGE Possible choices for configuration are: -!MESSAGE -!MESSAGE "Util7258 - Win32 Release" (based on "Win32 (x86) Application") -!MESSAGE "Util7258 - Win32 Debug" (based on "Win32 (x86) Application") -!MESSAGE - -# Begin Project -# PROP Scc_ProjName "" -# PROP Scc_LocalPath "" -CPP=cl.exe -MTL=midl.exe -RSC=rc.exe - -!IF "$(CFG)" == "Util7258 - Win32 Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir ".\Release" -# PROP BASE Intermediate_Dir ".\Release" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "" -# PROP Intermediate_Dir ".\Release" -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /YX /c -# ADD CPP /nologo /W3 /GX /O2 /I "..\..\..\include" /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /FD /c -# SUBTRACT CPP /YX -# ADD BASE MTL /nologo /D "NDEBUG" /win32 -# ADD MTL /nologo /D "NDEBUG" /mktyplib203 /win32 -# ADD BASE RSC /l 0x409 /d "NDEBUG" -# ADD RSC /l 0x409 /d "NDEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:windows /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ..\..\..\lib\Pci-Dask.lib /nologo /subsystem:windows /machine:I386 - -!ELSEIF "$(CFG)" == "Util7258 - Win32 Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir ".\Debug" -# PROP BASE Intermediate_Dir ".\Debug" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "" -# PROP Intermediate_Dir ".\Debug" -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /Gm /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /YX /c -# ADD CPP /nologo /W3 /Gm /GX /Zi /Od /I "..\..\..\include" /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /FD /c -# SUBTRACT CPP /YX -# ADD BASE MTL /nologo /D "_DEBUG" /win32 -# ADD MTL /nologo /D "_DEBUG" /mktyplib203 /win32 -# ADD BASE RSC /l 0x409 /d "_DEBUG" -# ADD RSC /l 0x409 /d "_DEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:windows /debug /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ..\..\..\lib\Pci-Dask.lib /nologo /subsystem:windows /debug /machine:I386 - -!ENDIF - -# Begin Target - -# Name "Util7258 - Win32 Release" -# Name "Util7258 - Win32 Debug" -# Begin Group "Source Files" - -# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;hpj;bat;for;f90" -# Begin Source File - -SOURCE=.\util7258.C -# End Source File -# Begin Source File - -SOURCE=.\util7258.RC -# End Source File -# End Group -# Begin Group "Header Files" - -# PROP Default_Filter "h;hpp;hxx;hm;inl;fi;fd" -# End Group -# Begin Group "Resource Files" - -# PROP Default_Filter "ico;cur;bmp;dlg;rc2;rct;bin;cnt;rtf;gif;jpg;jpeg;jpe" -# End Group -# End Target -# End Project diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7258/SDK7258/Util7258.dsw b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7258/SDK7258/Util7258.dsw deleted file mode 100644 index 4b36fa8..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7258/SDK7258/Util7258.dsw +++ /dev/null @@ -1,29 +0,0 @@ -Microsoft Developer Studio Workspace File, Format Version 5.00 -# WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE! - -############################################################################### - -Project: "Util7258"=.\Util7258.dsp - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ -}}} - -############################################################################### - -Global: - -Package=<5> -{{{ -}}} - -Package=<3> -{{{ -}}} - -############################################################################### - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7258/SDK7258/Util7258.exe b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7258/SDK7258/Util7258.exe deleted file mode 100644 index 8fcce19..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7258/SDK7258/Util7258.exe and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7258/SDK7258int/7258int.c b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7258/SDK7258int/7258int.c deleted file mode 100644 index 2971747..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7258/SDK7258int/7258int.c +++ /dev/null @@ -1,233 +0,0 @@ -/*;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; -;; Copyright (c) 1995-2001, ADLink Technology Inc. All rights reserved. ;; -;; ;; -;; File Name : 7258INT.C ;; -;; Purpose : This sample program demonstrates how handle interrupt ;; -;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;*/ - -#include -#include -#include -#include -#include -#include "Dask.h" -#include "Resource.h" - -#define IDC_START 300 -#define IDC_OUTPUT 302 - -HANDLE hInst; /* current instance */ -int int_count=0; -int outVal = 0; -I16 card=-1, card_number = 0; - -HWND hStart, hMainWnd; -HANDLE hEvent[2]; - -int PASCAL WinMain(HANDLE, HANDLE, LPSTR, int); -BOOL InitApplication(HANDLE); -BOOL InitInstance(HANDLE, int); -long PASCAL MainWndProc(HWND, unsigned, WPARAM, LPARAM); - -void -IntThread(void* pArg) -{ - int err; - while (1) { - if (WaitForSingleObject(hEvent[0], INFINITE) == WAIT_OBJECT_0) { - int_count++; - InvalidateRect(hMainWnd, NULL, FALSE); - } - } - _endthread(); -} - - /********************************************************************** - - FUNCTION: WinMain(HANDLE, HANDLE, LPSTR, int) - PURPOSE: calls initialization function, processes message loop - - ***********************************************************************/ - - int PASCAL WinMain(hInstance, hPrevInstance, lpCmdLine, nCmdShow) - HANDLE hInstance; - HANDLE hPrevInstance; - LPSTR lpCmdLine; - int nCmdShow; - { - MSG msg; - - if(!hPrevInstance) - if(!InitApplication(hInstance)) - return(FALSE); - - if(!InitInstance(hInstance, nCmdShow)) - return(FALSE); - - while ( GetMessage(&msg, NULL, NULL, NULL)) - { - TranslateMessage(&msg); - DispatchMessage(&msg); - } - return(msg.wParam); - } - -/**************************************************************************** - - FUNCTION: InitApplication(HANDLE) - - PURPOSE: Initializes window data and registers window class - -****************************************************************************/ - -BOOL InitApplication(hInstance) -HANDLE hInstance; -{ - WNDCLASS wc; - - wc.style = NULL; - wc.lpfnWndProc = MainWndProc; - wc.cbClsExtra = 0; - wc.cbWndExtra = 0; - wc.hInstance = hInstance; - wc.hIcon = LoadIcon(NULL, IDI_APPLICATION); - wc.hCursor = LoadCursor(hInstance, IDC_ARROW); - wc.hbrBackground = GetStockObject(WHITE_BRUSH); - wc.lpszMenuName = "U7258Menu"; - wc.lpszClassName = "IntClass"; - - return (RegisterClass(&wc)); -} - -/**************************************************************************** - - FUNCTION: InitInstance(HANDLE, int) - - PURPOSE: Saves instance handle and creates main window - -****************************************************************************/ - -BOOL InitInstance(hInstance, nCmdShow) -HANDLE hInstance; -int nCmdShow; -{ - HWND hWnd; - - hInst = hInstance; - hWnd = CreateWindow("IntClass", "PCI-7258 Interrupt Sample (INT1)", WS_OVERLAPPEDWINDOW, - 200, 100, 360, 300, NULL, NULL, hInstance, NULL); - if (!hWnd) return (FALSE); - ShowWindow(hWnd, nCmdShow); - UpdateWindow(hWnd); - return (TRUE); -} - -BOOL PASCAL setup(HWND hWnd, unsigned message, WPARAM wParam, LPARAM lParam) -{ - int i; - char n[16]; - char s[50]; - switch (message) { - case WM_INITDIALOG: - for (i=0;i<16;i++) { - wsprintf(n, "%d", i); - _strupr(n); - SendMessage(GetDlgItem(hWnd,IDC_COMBO1), CB_ADDSTRING, NULL, (LONG)(LPSTR) n); - } - SendMessage(GetDlgItem(hWnd,IDC_COMBO1) , CB_SETCURSEL, 0, 0L); - - break; - case WM_COMMAND: - switch(LOWORD(wParam)) { - - case IDC_COMBO1: - if (HIWORD(wParam) == CBN_CLOSEUP) { - i = (int)SendMessage(GetDlgItem(hWnd,IDC_COMBO1), CB_GETCURSEL, 0, 0L); - SendMessage(GetDlgItem(hWnd,IDC_COMBO1), CB_GETLBTEXT, i, (LPARAM)((LPCSTR)n)); - card_number = i; - } - return(TRUE); - case IDOK: - if ((card=Register_Card(PCI_7258, card_number)) < 0) { - wsprintf(s, "Register_Card Error = %d\n", card); - MessageBox(hWnd, s, "Error", MB_OK); - } - EndDialog(hWnd, TRUE); - InvalidateRect(hWnd, NULL, FALSE); - return (TRUE); - case IDCANCEL: - EndDialog(hWnd, TRUE); - return (TRUE); - } - break; - } - return (FALSE); -} -/**************************************************************************** - - FUNCTION: MainWndProc(HWND, UINT, WPARAM, LPARAM) - - PURPOSE: Processes messages - - -****************************************************************************/ - -long PASCAL MainWndProc(hWnd, message, wParam, lParam) -HWND hWnd; -unsigned message; -WPARAM wParam; -LPARAM lParam; -{ - PAINTSTRUCT ps; - HDC hDC; - char buf[20]; - int err; - - switch(message) { - case WM_CREATE: - DialogBox(hInst,IDD_DIALOG2, hWnd, setup); - if(card<0) { - SendMessage(hWnd, WM_CLOSE, 0, 0L); - break; - } - CreateWindow("BUTTON", "Output", WS_CHILD | WS_VISIBLE, - 130, 200, 72, 24, hWnd, IDC_OUTPUT, hInst, NULL); - err = DIO_SetDualInterrupt(card, INT1_EXT_SIGNAL, INT2_DISABLE, hEvent); - hMainWnd = hWnd; - _beginthread(IntThread, 0, 0); - break; - case WM_PAINT: - hDC = BeginPaint(hWnd, &ps); - TextOut(hDC, 20, 30, "This program shows the number of occurrence", 43); - TextOut(hDC, 20, 45, "of INT1 interupt. INT1 interrupt is generated", 45); - TextOut(hDC, 20, 60, "by external signal from DI bit-0. If you connect", 48); - TextOut(hDC, 20, 75, "DO bit-0 to DI bit-0, press 'Output' button can", 47); - TextOut(hDC, 20, 90, "generate an interrupt.", 22); - wsprintf(buf,"INT count = %d", int_count); - TextOut(hDC, 120, 140, buf, strlen(buf)); - EndPaint(hWnd, &ps); - break; - case WM_COMMAND: - switch(LOWORD(wParam)) { - case IDM_EXIT: - DIO_SetDualInterrupt(card, INT1_DISABLE, INT2_DISABLE, hEvent); - DO_WritePort(card,0, 0x0); - SendMessage(hWnd, WM_CLOSE, 0, 0L); - break; - case IDC_OUTPUT: - DO_WritePort(card,0, 0); - Sleep(0); - DO_WritePort(card,0, 0x1); - break; - } - break; - case WM_DESTROY: - if (card >= 0) Release_Card(card); - PostQuitMessage(0); - break; - default: - return (DefWindowProc(hWnd, message, wParam, lParam)); - } - return(0L); -} - \ No newline at end of file diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7258/SDK7258int/7258int.dsp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7258/SDK7258int/7258int.dsp deleted file mode 100644 index ec08489..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7258/SDK7258int/7258int.dsp +++ /dev/null @@ -1,110 +0,0 @@ -# Microsoft Developer Studio Project File - Name="7258int" - Package Owner=<4> -# Microsoft Developer Studio Generated Build File, Format Version 5.00 -# ** DO NOT EDIT ** - -# TARGTYPE "Win32 (x86) Application" 0x0101 - -CFG=7258int - Win32 Release -!MESSAGE This is not a valid makefile. To build this project using NMAKE, -!MESSAGE use the Export Makefile command and run -!MESSAGE -!MESSAGE NMAKE /f "7258int.mak". -!MESSAGE -!MESSAGE You can specify a configuration when running NMAKE -!MESSAGE by defining the macro CFG on the command line. For example: -!MESSAGE -!MESSAGE NMAKE /f "7258int.mak" CFG="7258int - Win32 Release" -!MESSAGE -!MESSAGE Possible choices for configuration are: -!MESSAGE -!MESSAGE "7258int - Win32 Release" (based on "Win32 (x86) Application") -!MESSAGE "7258int - Win32 Debug" (based on "Win32 (x86) Application") -!MESSAGE - -# Begin Project -# PROP Scc_ProjName "" -# PROP Scc_LocalPath "" -CPP=cl.exe -MTL=midl.exe -RSC=rc.exe - -!IF "$(CFG)" == "7258int - Win32 Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir ".\Release" -# PROP BASE Intermediate_Dir ".\Release" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "" -# PROP Intermediate_Dir ".\Release" -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /YX /c -# ADD CPP /nologo /MT /W3 /GX /Od /I "..\..\..\include" /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /FD /c -# SUBTRACT CPP /YX -# ADD BASE MTL /nologo /D "NDEBUG" /win32 -# ADD MTL /nologo /D "NDEBUG" /mktyplib203 /win32 -# ADD BASE RSC /l 0x404 /d "NDEBUG" -# ADD RSC /l 0x404 /d "NDEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:windows /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ..\..\..\lib\PCI-DASK.lib /nologo /subsystem:windows /machine:I386 - -!ELSEIF "$(CFG)" == "7258int - Win32 Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir ".\Debug" -# PROP BASE Intermediate_Dir ".\Debug" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "" -# PROP Intermediate_Dir ".\Debug" -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /Gm /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /YX /c -# ADD CPP /nologo /MTd /W3 /Gm /GX /Zi /Od /I "..\..\..\include" /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /FD /c -# SUBTRACT CPP /YX -# ADD BASE MTL /nologo /D "_DEBUG" /win32 -# ADD MTL /nologo /D "_DEBUG" /mktyplib203 /win32 -# ADD BASE RSC /l 0x404 /d "_DEBUG" -# ADD RSC /l 0x404 /d "_DEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:windows /debug /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ..\..\..\lib\PCI-DASK.lib /nologo /subsystem:windows /debug /machine:I386 - -!ENDIF - -# Begin Target - -# Name "7258int - Win32 Release" -# Name "7258int - Win32 Debug" -# Begin Group "Source Files" - -# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;hpj;bat;for;f90" -# Begin Source File - -SOURCE=.\7258int.c -# End Source File -# Begin Source File - -SOURCE=.\7258int.rc -# End Source File -# End Group -# Begin Group "Header Files" - -# PROP Default_Filter "h;hpp;hxx;hm;inl;fi;fd" -# End Group -# Begin Group "Resource Files" - -# PROP Default_Filter "ico;cur;bmp;dlg;rc2;rct;bin;cnt;rtf;gif;jpg;jpeg;jpe" -# End Group -# End Target -# End Project diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7258/SDK7258int/7258int.dsw b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7258/SDK7258int/7258int.dsw deleted file mode 100644 index db39bdd..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7258/SDK7258int/7258int.dsw +++ /dev/null @@ -1,29 +0,0 @@ -Microsoft Developer Studio Workspace File, Format Version 5.00 -# WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE! - -############################################################################### - -Project: "7258int"=.\7258int.dsp - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ -}}} - -############################################################################### - -Global: - -Package=<5> -{{{ -}}} - -Package=<3> -{{{ -}}} - -############################################################################### - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7258/SDK7258int/7258int.exe b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7258/SDK7258int/7258int.exe deleted file mode 100644 index f58c342..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7258/SDK7258int/7258int.exe and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7258/SDK7258int/7258int.rc b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7258/SDK7258int/7258int.rc deleted file mode 100644 index e7e6f9d..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7258/SDK7258int/7258int.rc +++ /dev/null @@ -1,115 +0,0 @@ -//Microsoft Developer Studio generated resource script. -// -#include "resource.h" - -#define APSTUDIO_READONLY_SYMBOLS -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 2 resource. -// -#define APSTUDIO_HIDDEN_SYMBOLS -#include "windows.h" -#undef APSTUDIO_HIDDEN_SYMBOLS - -///////////////////////////////////////////////////////////////////////////// -#undef APSTUDIO_READONLY_SYMBOLS - -///////////////////////////////////////////////////////////////////////////// -// English (U.S.) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -#ifdef _WIN32 -LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US -#pragma code_page(1252) -#endif //_WIN32 - -#ifdef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// TEXTINCLUDE -// - -1 TEXTINCLUDE DISCARDABLE -BEGIN - "resource.h\0" -END - -2 TEXTINCLUDE DISCARDABLE -BEGIN - "#define APSTUDIO_HIDDEN_SYMBOLS\r\n" - "#include ""windows.h""\r\n" - "#undef APSTUDIO_HIDDEN_SYMBOLS\r\n" - "\0" -END - -3 TEXTINCLUDE DISCARDABLE -BEGIN - "\r\n" - "\0" -END - -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// Menu -// - -U7258MENU MENU DISCARDABLE -BEGIN - MENUITEM "E&xit!", IDM_EXIT -END - - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog -// - -IDD_DIALOG2 DIALOG DISCARDABLE 110, 10, 106, 61 -STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "Card Number" -FONT 10, "System" -BEGIN - DEFPUSHBUTTON "OK",IDOK,10,40,37,14 - PUSHBUTTON "Cancel",IDCANCEL,61,40,38,14 - LTEXT "Card Number",IDC_STATIC,3,13,47,13 - COMBOBOX IDC_COMBO1,51,13,48,84,CBS_DROPDOWN | WS_VSCROLL | - WS_TABSTOP -END - - -///////////////////////////////////////////////////////////////////////////// -// -// DESIGNINFO -// - -#ifdef APSTUDIO_INVOKED -GUIDELINES DESIGNINFO DISCARDABLE -BEGIN - IDD_DIALOG2, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 99 - TOPMARGIN, 7 - BOTTOMMARGIN, 54 - END -END -#endif // APSTUDIO_INVOKED - -#endif // English (U.S.) resources -///////////////////////////////////////////////////////////////////////////// - - - -#ifndef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 3 resource. -// - - -///////////////////////////////////////////////////////////////////////////// -#endif // not APSTUDIO_INVOKED - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7258/SDK7258int/resource.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7258/SDK7258int/resource.h deleted file mode 100644 index 4b093fb..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7258/SDK7258int/resource.h +++ /dev/null @@ -1,30 +0,0 @@ -//{{NO_DEPENDENCIES}} -// Microsoft Developer Studio generated include file. -// Used by 7258int.rc -// -#define IDM_SETUP 101 -#define IDD_DIALOG1 101 -#define IDD_DIALOG2 102 -#define IDM_EXIT 110 -#define IDM_GO 300 -#define IDM_ABOUT 301 -#define DMA_DATA 302 -#define ID_STOP 304 -#define IDM_CLEAR 305 -#define DMA_SPACE 500 -#define IDC_COMBO1 1004 -#define IDC_COMBO2 1005 -#define IDC_EDIT1 1007 -#define IDC_EDIT2 1008 -#define IDC_STATIC -1 - -// Next default values for new objects -// -#ifdef APSTUDIO_INVOKED -#ifndef APSTUDIO_READONLY_SYMBOLS -#define _APS_NEXT_RESOURCE_VALUE 103 -#define _APS_NEXT_COMMAND_VALUE 102 -#define _APS_NEXT_CONTROL_VALUE 1008 -#define _APS_NEXT_SYMED_VALUE 101 -#endif -#endif diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7258/SDK7258intMsg/7258int.c b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7258/SDK7258intMsg/7258int.c deleted file mode 100644 index a16a421..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7258/SDK7258intMsg/7258int.c +++ /dev/null @@ -1,233 +0,0 @@ -/*;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; -;; Copyright (c) 1995-2001, ADLink Technology Inc. All rights reserved. ;; -;; ;; -;; File Name : 7258INT.C ;; -;; Purpose : This sample program demonstrates how handle interrupt ;; -;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;*/ - -#include -#include -#include -#include -#include -#include "Dask.h" -#include "Resource.h" - -#define IDC_START 300 -#define IDC_OUTPUT 302 -#define WM_INT 2000 //interrupt comming message - -HANDLE hInst; /* current instance */ -int int_count=0; -I16 card=-1, card_number = 0; -int outVal = 0; -HWND hStart, hMainWnd; - -int PASCAL WinMain(HANDLE, HANDLE, LPSTR, int); -BOOL InitApplication(HANDLE); -BOOL InitInstance(HANDLE, int); -long PASCAL MainWndProc(HWND, unsigned, WPARAM, LPARAM); -void mesgfn(); - - /********************************************************************** - - FUNCTION: WinMain(HANDLE, HANDLE, LPSTR, int) - PURPOSE: calls initialization function, processes message loop - - ***********************************************************************/ - - int PASCAL WinMain(hInstance, hPrevInstance, lpCmdLine, nCmdShow) - HANDLE hInstance; - HANDLE hPrevInstance; - LPSTR lpCmdLine; - int nCmdShow; - { - MSG msg; - - if(!hPrevInstance) - if(!InitApplication(hInstance)) - return(FALSE); - - if(!InitInstance(hInstance, nCmdShow)) - return(FALSE); - - while ( GetMessage(&msg, NULL, NULL, NULL)) - { - TranslateMessage(&msg); - DispatchMessage(&msg); - } - return(msg.wParam); - } - -/**************************************************************************** - - FUNCTION: InitApplication(HANDLE) - - PURPOSE: Initializes window data and registers window class - -****************************************************************************/ - -BOOL InitApplication(hInstance) -HANDLE hInstance; -{ - WNDCLASS wc; - - wc.style = NULL; - wc.lpfnWndProc = MainWndProc; - wc.cbClsExtra = 0; - wc.cbWndExtra = 0; - wc.hInstance = hInstance; - wc.hIcon = LoadIcon(NULL, IDI_APPLICATION); - wc.hCursor = LoadCursor(hInstance, IDC_ARROW); - wc.hbrBackground = GetStockObject(WHITE_BRUSH); - wc.lpszMenuName = "U7258Menu"; - wc.lpszClassName = "IntClass"; - - return (RegisterClass(&wc)); -} - -/**************************************************************************** - - FUNCTION: InitInstance(HANDLE, int) - - PURPOSE: Saves instance handle and creates main window - -****************************************************************************/ - -BOOL InitInstance(hInstance, nCmdShow) -HANDLE hInstance; -int nCmdShow; -{ - HWND hWnd; - - hInst = hInstance; - hWnd = CreateWindow("IntClass", "PCI-7258 Interrupt Sample (INT1)", WS_OVERLAPPEDWINDOW, - 200, 100, 360, 300, NULL, NULL, hInstance, NULL); - if (!hWnd) return (FALSE); - ShowWindow(hWnd, nCmdShow); - UpdateWindow(hWnd); - return (TRUE); -} - -BOOL PASCAL setup(HWND hWnd, unsigned message, WPARAM wParam, LPARAM lParam) -{ - int i; - char n[16]; - char s[50]; - switch (message) { - case WM_INITDIALOG: - for (i=0;i<16;i++) { - wsprintf(n, "%d", i); - _strupr(n); - SendMessage(GetDlgItem(hWnd,IDC_COMBO1), CB_ADDSTRING, NULL, (LONG)(LPSTR) n); - } - SendMessage(GetDlgItem(hWnd,IDC_COMBO1) , CB_SETCURSEL, 0, 0L); - - break; - case WM_COMMAND: - switch(LOWORD(wParam)) { - - case IDC_COMBO1: - if (HIWORD(wParam) == CBN_CLOSEUP) { - i = (int)SendMessage(GetDlgItem(hWnd,IDC_COMBO1), CB_GETCURSEL, 0, 0L); - SendMessage(GetDlgItem(hWnd,IDC_COMBO1), CB_GETLBTEXT, i, (LPARAM)((LPCSTR)n)); - card_number = i; - } - return(TRUE); - case IDOK: - if ((card=Register_Card(PCI_7258, card_number)) < 0) { - wsprintf(s, "Register_Card Error = %d\n", card); - MessageBox(hWnd, s, "Error", MB_OK); - } - EndDialog(hWnd, TRUE); - InvalidateRect(hWnd, NULL, FALSE); - return (TRUE); - case IDCANCEL: - EndDialog(hWnd, TRUE); - return (TRUE); - } - break; - } - return (FALSE); -} -/**************************************************************************** - - FUNCTION: MainWndProc(HWND, UINT, WPARAM, LPARAM) - - PURPOSE: Processes messages - - -****************************************************************************/ - -long PASCAL MainWndProc(hWnd, message, wParam, lParam) -HWND hWnd; -unsigned message; -WPARAM wParam; -LPARAM lParam; -{ - PAINTSTRUCT ps; - HDC hDC; - char s[50]; - - switch(message) { - case WM_CREATE: - DialogBox(hInst,IDD_DIALOG2, hWnd, setup); - if(card<0) { - SendMessage(hWnd, WM_CLOSE, 0, 0L); - break; - } - CreateWindow("BUTTON", "Output", WS_CHILD | WS_VISIBLE, - 130, 200, 72, 24, hWnd, IDC_OUTPUT, hInst, NULL); - int_count = 0; - DIO_INT1_EventMessage (card, INT1_EXT_SIGNAL, hWnd, WM_INT, NULL); - hMainWnd = hWnd; - break; - case WM_PAINT: - hDC = BeginPaint(hWnd, &ps); - TextOut(hDC, 20, 30, "This program shows the number of occurrence", 43); - TextOut(hDC, 20, 45, "of INT1 interupt. INT1 interrupt is generated", 45); - TextOut(hDC, 20, 60, "by external signal from DI bit-0. If you connect", 48); - TextOut(hDC, 20, 75, "DO bit-0 to DI bit-0, press 'Output' button can", 47); - TextOut(hDC, 20, 90, "generate an interrupt.", 22); - wsprintf(s,"INT1 Count = %d ", int_count); - TextOut(hDC,120,140,s,strlen(s)); - EndPaint(hWnd, &ps); - break; - case WM_COMMAND: - switch(LOWORD(wParam)) { - case IDM_EXIT: - DIO_INT1_EventMessage (card, INT1_DISABLE, hMainWnd, NULL, NULL); - SendMessage(hWnd, WM_CLOSE, 0, 0L); - break; - case IDC_OUTPUT: - DO_WritePort(card,0, 0); - Sleep(0); - DO_WritePort(card,0, 0x01); - break; - } - break; - case WM_INT: //interrupt comming message - mesgfn(); - break; - case WM_DESTROY: - if (card >= 0) Release_Card(card); - PostQuitMessage(0); - break; - default: - return (DefWindowProc(hWnd, message, wParam, lParam)); - } - return(0L); -} - -void mesgfn() -{ - HDC hDC; - char Buf[80]; - - hDC=GetDC(hMainWnd); - int_count++; - wsprintf(Buf,"INT1 Count = %d ", int_count); - TextOut(hDC,120,140,Buf,strlen(Buf)); - - ReleaseDC(hMainWnd, hDC); -} diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7258/SDK7258intMsg/7258int.dsp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7258/SDK7258intMsg/7258int.dsp deleted file mode 100644 index ec08489..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7258/SDK7258intMsg/7258int.dsp +++ /dev/null @@ -1,110 +0,0 @@ -# Microsoft Developer Studio Project File - Name="7258int" - Package Owner=<4> -# Microsoft Developer Studio Generated Build File, Format Version 5.00 -# ** DO NOT EDIT ** - -# TARGTYPE "Win32 (x86) Application" 0x0101 - -CFG=7258int - Win32 Release -!MESSAGE This is not a valid makefile. To build this project using NMAKE, -!MESSAGE use the Export Makefile command and run -!MESSAGE -!MESSAGE NMAKE /f "7258int.mak". -!MESSAGE -!MESSAGE You can specify a configuration when running NMAKE -!MESSAGE by defining the macro CFG on the command line. For example: -!MESSAGE -!MESSAGE NMAKE /f "7258int.mak" CFG="7258int - Win32 Release" -!MESSAGE -!MESSAGE Possible choices for configuration are: -!MESSAGE -!MESSAGE "7258int - Win32 Release" (based on "Win32 (x86) Application") -!MESSAGE "7258int - Win32 Debug" (based on "Win32 (x86) Application") -!MESSAGE - -# Begin Project -# PROP Scc_ProjName "" -# PROP Scc_LocalPath "" -CPP=cl.exe -MTL=midl.exe -RSC=rc.exe - -!IF "$(CFG)" == "7258int - Win32 Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir ".\Release" -# PROP BASE Intermediate_Dir ".\Release" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "" -# PROP Intermediate_Dir ".\Release" -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /YX /c -# ADD CPP /nologo /MT /W3 /GX /Od /I "..\..\..\include" /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /FD /c -# SUBTRACT CPP /YX -# ADD BASE MTL /nologo /D "NDEBUG" /win32 -# ADD MTL /nologo /D "NDEBUG" /mktyplib203 /win32 -# ADD BASE RSC /l 0x404 /d "NDEBUG" -# ADD RSC /l 0x404 /d "NDEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:windows /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ..\..\..\lib\PCI-DASK.lib /nologo /subsystem:windows /machine:I386 - -!ELSEIF "$(CFG)" == "7258int - Win32 Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir ".\Debug" -# PROP BASE Intermediate_Dir ".\Debug" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "" -# PROP Intermediate_Dir ".\Debug" -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /Gm /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /YX /c -# ADD CPP /nologo /MTd /W3 /Gm /GX /Zi /Od /I "..\..\..\include" /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /FD /c -# SUBTRACT CPP /YX -# ADD BASE MTL /nologo /D "_DEBUG" /win32 -# ADD MTL /nologo /D "_DEBUG" /mktyplib203 /win32 -# ADD BASE RSC /l 0x404 /d "_DEBUG" -# ADD RSC /l 0x404 /d "_DEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:windows /debug /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ..\..\..\lib\PCI-DASK.lib /nologo /subsystem:windows /debug /machine:I386 - -!ENDIF - -# Begin Target - -# Name "7258int - Win32 Release" -# Name "7258int - Win32 Debug" -# Begin Group "Source Files" - -# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;hpj;bat;for;f90" -# Begin Source File - -SOURCE=.\7258int.c -# End Source File -# Begin Source File - -SOURCE=.\7258int.rc -# End Source File -# End Group -# Begin Group "Header Files" - -# PROP Default_Filter "h;hpp;hxx;hm;inl;fi;fd" -# End Group -# Begin Group "Resource Files" - -# PROP Default_Filter "ico;cur;bmp;dlg;rc2;rct;bin;cnt;rtf;gif;jpg;jpeg;jpe" -# End Group -# End Target -# End Project diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7258/SDK7258intMsg/7258int.dsw b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7258/SDK7258intMsg/7258int.dsw deleted file mode 100644 index db39bdd..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7258/SDK7258intMsg/7258int.dsw +++ /dev/null @@ -1,29 +0,0 @@ -Microsoft Developer Studio Workspace File, Format Version 5.00 -# WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE! - -############################################################################### - -Project: "7258int"=.\7258int.dsp - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ -}}} - -############################################################################### - -Global: - -Package=<5> -{{{ -}}} - -Package=<3> -{{{ -}}} - -############################################################################### - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7258/SDK7258intMsg/7258int.exe b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7258/SDK7258intMsg/7258int.exe deleted file mode 100644 index d1a5a18..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7258/SDK7258intMsg/7258int.exe and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7258/SDK7258intMsg/7258int.rc b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7258/SDK7258intMsg/7258int.rc deleted file mode 100644 index cdac5ec..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7258/SDK7258intMsg/7258int.rc +++ /dev/null @@ -1,115 +0,0 @@ -//Microsoft Developer Studio generated resource script. -// -#include "resource.h" - -#define APSTUDIO_READONLY_SYMBOLS -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 2 resource. -// -#define APSTUDIO_HIDDEN_SYMBOLS -#include "windows.h" -#undef APSTUDIO_HIDDEN_SYMBOLS - -///////////////////////////////////////////////////////////////////////////// -#undef APSTUDIO_READONLY_SYMBOLS - -///////////////////////////////////////////////////////////////////////////// -// English (U.S.) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -#ifdef _WIN32 -LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US -#pragma code_page(1252) -#endif //_WIN32 - -#ifdef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// TEXTINCLUDE -// - -1 TEXTINCLUDE DISCARDABLE -BEGIN - "resource.h\0" -END - -2 TEXTINCLUDE DISCARDABLE -BEGIN - "#define APSTUDIO_HIDDEN_SYMBOLS\r\n" - "#include ""windows.h""\r\n" - "#undef APSTUDIO_HIDDEN_SYMBOLS\r\n" - "\0" -END - -3 TEXTINCLUDE DISCARDABLE -BEGIN - "\r\n" - "\0" -END - -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog -// - -IDD_DIALOG2 DIALOG DISCARDABLE 110, 10, 106, 61 -STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "Card Number" -FONT 10, "System" -BEGIN - DEFPUSHBUTTON "OK",IDOK,10,40,37,14 - PUSHBUTTON "Cancel",IDCANCEL,61,40,38,14 - LTEXT "Card Number",IDC_STATIC,3,13,47,13 - COMBOBOX IDC_COMBO1,51,13,48,84,CBS_DROPDOWN | WS_VSCROLL | - WS_TABSTOP -END - - -///////////////////////////////////////////////////////////////////////////// -// -// DESIGNINFO -// - -#ifdef APSTUDIO_INVOKED -GUIDELINES DESIGNINFO DISCARDABLE -BEGIN - IDD_DIALOG2, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 99 - TOPMARGIN, 7 - BOTTOMMARGIN, 54 - END -END -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// Menu -// - -U7258MENU MENU DISCARDABLE -BEGIN - MENUITEM "E&xit!", IDM_EXIT -END - -#endif // English (U.S.) resources -///////////////////////////////////////////////////////////////////////////// - - - -#ifndef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 3 resource. -// - - -///////////////////////////////////////////////////////////////////////////// -#endif // not APSTUDIO_INVOKED - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7258/SDK7258intMsg/resource.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7258/SDK7258intMsg/resource.h deleted file mode 100644 index 4b093fb..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7258/SDK7258intMsg/resource.h +++ /dev/null @@ -1,30 +0,0 @@ -//{{NO_DEPENDENCIES}} -// Microsoft Developer Studio generated include file. -// Used by 7258int.rc -// -#define IDM_SETUP 101 -#define IDD_DIALOG1 101 -#define IDD_DIALOG2 102 -#define IDM_EXIT 110 -#define IDM_GO 300 -#define IDM_ABOUT 301 -#define DMA_DATA 302 -#define ID_STOP 304 -#define IDM_CLEAR 305 -#define DMA_SPACE 500 -#define IDC_COMBO1 1004 -#define IDC_COMBO2 1005 -#define IDC_EDIT1 1007 -#define IDC_EDIT2 1008 -#define IDC_STATIC -1 - -// Next default values for new objects -// -#ifdef APSTUDIO_INVOKED -#ifndef APSTUDIO_READONLY_SYMBOLS -#define _APS_NEXT_RESOURCE_VALUE 103 -#define _APS_NEXT_COMMAND_VALUE 102 -#define _APS_NEXT_CONTROL_VALUE 1008 -#define _APS_NEXT_SYMED_VALUE 101 -#endif -#endif diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7258/VB7258/7258_0.bmp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7258/VB7258/7258_0.bmp deleted file mode 100644 index 407bba2..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7258/VB7258/7258_0.bmp and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7258/VB7258/7258_1.bmp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7258/VB7258/7258_1.bmp deleted file mode 100644 index 37d14f3..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7258/VB7258/7258_1.bmp and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7258/VB7258/7258glbl.bas b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7258/VB7258/7258glbl.bas deleted file mode 100644 index 77a2e7f..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7258/VB7258/7258glbl.bas +++ /dev/null @@ -1,4 +0,0 @@ -Attribute VB_Name = "Module1" -Global card As Integer -Global card_number As Integer - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7258/VB7258/Base7258.frm b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7258/VB7258/Base7258.frm deleted file mode 100644 index 767a7d5..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7258/VB7258/Base7258.frm +++ /dev/null @@ -1,91 +0,0 @@ -VERSION 5.00 -Begin VB.Form SettingForm - Appearance = 0 'Flat - BackColor = &H00C0C0C0& - Caption = "Card Number Setting" - ClientHeight = 1275 - ClientLeft = 4590 - ClientTop = 4545 - ClientWidth = 2820 - BeginProperty Font - Name = "MS Sans Serif" - Size = 8.25 - Charset = 0 - Weight = 700 - Underline = 0 'False - Italic = 0 'False - Strikethrough = 0 'False - EndProperty - ForeColor = &H80000008& - LinkTopic = "Form2" - PaletteMode = 1 'UseZOrder - ScaleHeight = 1275 - ScaleWidth = 2820 - Begin VB.CommandButton OKBtn - Appearance = 0 'Flat - BackColor = &H80000005& - Caption = "OK" - Default = -1 'True - Height = 315 - Left = 300 - TabIndex = 0 - Top = 720 - Width = 915 - End - Begin VB.CommandButton CancelBtn - Appearance = 0 'Flat - BackColor = &H80000005& - Cancel = -1 'True - Caption = "Cancel" - Height = 315 - Left = 1380 - TabIndex = 3 - Top = 720 - Width = 915 - End - Begin VB.ComboBox CardNum - Appearance = 0 'Flat - Height = 300 - Left = 1440 - Style = 2 'Dropdown List - TabIndex = 2 - Top = 120 - Width = 1035 - End - Begin VB.Label Label2 - Appearance = 0 'Flat - BackColor = &H00C0C0C0& - Caption = "Card Number:" - ForeColor = &H00000000& - Height = 195 - Index = 0 - Left = 180 - TabIndex = 1 - Top = 180 - Width = 1275 - End -End -Attribute VB_Name = "SettingForm" -Attribute VB_GlobalNameSpace = False -Attribute VB_Creatable = False -Attribute VB_PredeclaredId = True -Attribute VB_Exposed = False -Private Sub CancelBtn_Click() - Unload SettingForm -End Sub - -Private Sub Form_Load() - Dim i As Long - For i = 0 To 15 Step 1 - CardNum.AddItem i - Next - CardNum.ListIndex = 0 -End Sub - -Private Sub OKBtn_Click() - card = -1 - card_number = CardNum.ListIndex - card = Register_Card(PCI_7258, card_number) - Unload SettingForm -End Sub - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7258/VB7258/Util7258.Frm b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7258/VB7258/Util7258.Frm deleted file mode 100644 index c11a28f..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7258/VB7258/Util7258.Frm +++ /dev/null @@ -1,489 +0,0 @@ -VERSION 5.00 -Begin VB.Form util7258 - Appearance = 0 'Flat - BackColor = &H00C0C0C0& - Caption = "PCI-7258 Sample Program" - ClientHeight = 2700 - ClientLeft = 1170 - ClientTop = 3420 - ClientWidth = 6480 - BeginProperty Font - Name = "MS Sans Serif" - Size = 8.25 - Charset = 0 - Weight = 700 - Underline = 0 'False - Italic = 0 'False - Strikethrough = 0 'False - EndProperty - ForeColor = &H80000008& - LinkTopic = "Form1" - PaletteMode = 1 'UseZOrder - ScaleHeight = 2700 - ScaleWidth = 6480 - Begin VB.Frame Frame1 - Appearance = 0 'Flat - BackColor = &H00C0C0C0& - Caption = "Digital Output CH#1" - ForeColor = &H000000FF& - Height = 615 - Index = 2 - Left = 240 - TabIndex = 2 - Top = 960 - Width = 6015 - Begin VB.Image DOP1 - Appearance = 0 'Flat - Height = 300 - Index = 0 - Left = 5640 - Picture = "Util7258.frx":0000 - Top = 240 - Width = 300 - End - Begin VB.Image DOP1 - Appearance = 0 'Flat - Height = 300 - Index = 1 - Left = 5280 - Picture = "Util7258.frx":0172 - Top = 240 - Width = 300 - End - Begin VB.Image DOP1 - Appearance = 0 'Flat - Height = 300 - Index = 3 - Left = 4560 - Picture = "Util7258.frx":02E4 - Top = 240 - Width = 300 - End - Begin VB.Image DOP1 - Appearance = 0 'Flat - Height = 300 - Index = 2 - Left = 4920 - Picture = "Util7258.frx":0456 - Top = 240 - Width = 300 - End - Begin VB.Image DOP1 - Appearance = 0 'Flat - Height = 300 - Index = 4 - Left = 4200 - Picture = "Util7258.frx":05C8 - Top = 240 - Width = 300 - End - Begin VB.Image DOP1 - Appearance = 0 'Flat - Height = 300 - Index = 5 - Left = 3840 - Picture = "Util7258.frx":073A - Top = 240 - Width = 300 - End - Begin VB.Image DOP1 - Appearance = 0 'Flat - Height = 300 - Index = 6 - Left = 3480 - Picture = "Util7258.frx":08AC - Top = 240 - Width = 300 - End - Begin VB.Image DOP1 - Appearance = 0 'Flat - Height = 300 - Index = 7 - Left = 3120 - Picture = "Util7258.frx":0A1E - Top = 240 - Width = 300 - End - Begin VB.Image DOP1 - Appearance = 0 'Flat - Height = 300 - Index = 8 - Left = 2760 - Picture = "Util7258.frx":0B90 - Top = 240 - Width = 300 - End - Begin VB.Image DOP1 - Appearance = 0 'Flat - Height = 300 - Index = 9 - Left = 2400 - Picture = "Util7258.frx":0D02 - Top = 240 - Width = 300 - End - Begin VB.Image DOP1 - Appearance = 0 'Flat - Height = 300 - Index = 10 - Left = 2040 - Picture = "Util7258.frx":0E74 - Top = 240 - Width = 300 - End - Begin VB.Image DOP1 - Appearance = 0 'Flat - Height = 300 - Index = 11 - Left = 1680 - Picture = "Util7258.frx":0FE6 - Top = 240 - Width = 300 - End - Begin VB.Image DOP1 - Appearance = 0 'Flat - Height = 300 - Index = 12 - Left = 1320 - Picture = "Util7258.frx":1158 - Top = 240 - Width = 300 - End - Begin VB.Image DOP1 - Appearance = 0 'Flat - Height = 300 - Index = 13 - Left = 960 - Picture = "Util7258.frx":12CA - Top = 240 - Width = 300 - End - Begin VB.Image DOP1 - Appearance = 0 'Flat - Height = 300 - Index = 14 - Left = 600 - Picture = "Util7258.frx":143C - Top = 240 - Width = 300 - End - Begin VB.Image DOP1 - Appearance = 0 'Flat - Height = 300 - Index = 15 - Left = 240 - Picture = "Util7258.frx":15AE - Top = 240 - Width = 300 - End - End - Begin VB.Timer Timer1 - Interval = 100 - Left = 5280 - Top = 2160 - End - Begin VB.Frame Frame1 - Appearance = 0 'Flat - BackColor = &H00C0C0C0& - Caption = "Digital Output CH#0" - ForeColor = &H000000FF& - Height = 615 - Index = 1 - Left = 240 - TabIndex = 1 - Top = 1680 - Width = 6015 - Begin VB.Image DOP0 - Appearance = 0 'Flat - Height = 300 - Index = 15 - Left = 240 - Picture = "Util7258.frx":1720 - Top = 240 - Width = 300 - End - Begin VB.Image DOP0 - Appearance = 0 'Flat - Height = 300 - Index = 14 - Left = 600 - Picture = "Util7258.frx":1892 - Top = 240 - Width = 300 - End - Begin VB.Image DOP0 - Appearance = 0 'Flat - Height = 300 - Index = 13 - Left = 960 - Picture = "Util7258.frx":1A04 - Top = 240 - Width = 300 - End - Begin VB.Image DOP0 - Appearance = 0 'Flat - Height = 300 - Index = 12 - Left = 1320 - Picture = "Util7258.frx":1B76 - Top = 240 - Width = 300 - End - Begin VB.Image DOP0 - Appearance = 0 'Flat - Height = 300 - Index = 11 - Left = 1680 - Picture = "Util7258.frx":1CE8 - Top = 240 - Width = 300 - End - Begin VB.Image DOP0 - Appearance = 0 'Flat - Height = 300 - Index = 10 - Left = 2040 - Picture = "Util7258.frx":1E5A - Top = 240 - Width = 300 - End - Begin VB.Image DOP0 - Appearance = 0 'Flat - Height = 300 - Index = 9 - Left = 2400 - Picture = "Util7258.frx":1FCC - Top = 240 - Width = 300 - End - Begin VB.Image DOP0 - Appearance = 0 'Flat - Height = 300 - Index = 8 - Left = 2760 - Picture = "Util7258.frx":213E - Top = 240 - Width = 300 - End - Begin VB.Image DOP0 - Appearance = 0 'Flat - Height = 300 - Index = 7 - Left = 3120 - Picture = "Util7258.frx":22B0 - Top = 240 - Width = 300 - End - Begin VB.Image DOP0 - Appearance = 0 'Flat - Height = 300 - Index = 6 - Left = 3480 - Picture = "Util7258.frx":2422 - Top = 240 - Width = 300 - End - Begin VB.Image DOP0 - Appearance = 0 'Flat - Height = 300 - Index = 5 - Left = 3840 - Picture = "Util7258.frx":2594 - Top = 240 - Width = 300 - End - Begin VB.Image DOP0 - Appearance = 0 'Flat - Height = 300 - Index = 4 - Left = 4200 - Picture = "Util7258.frx":2706 - Top = 240 - Width = 300 - End - Begin VB.Image DOP0 - Appearance = 0 'Flat - Height = 300 - Index = 2 - Left = 4920 - Picture = "Util7258.frx":2878 - Top = 240 - Width = 300 - End - Begin VB.Image DOP0 - Appearance = 0 'Flat - Height = 300 - Index = 3 - Left = 4560 - Picture = "Util7258.frx":29EA - Top = 240 - Width = 300 - End - Begin VB.Image DOP0 - Appearance = 0 'Flat - Height = 300 - Index = 1 - Left = 5280 - Picture = "Util7258.frx":2B5C - Top = 240 - Width = 300 - End - Begin VB.Image DOP0 - Appearance = 0 'Flat - Height = 300 - Index = 0 - Left = 5640 - Picture = "Util7258.frx":2CCE - Top = 240 - Width = 300 - End - End - Begin VB.Frame Frame1 - Appearance = 0 'Flat - BackColor = &H00C0C0C0& - Caption = "Digital Input" - ForeColor = &H00FF0000& - Height = 615 - Index = 0 - Left = 240 - TabIndex = 0 - Top = 180 - Width = 1455 - Begin VB.Image DI0 - Appearance = 0 'Flat - Height = 300 - Index = 0 - Left = 960 - Picture = "Util7258.frx":2E40 - Top = 240 - Width = 300 - End - Begin VB.Image DI0 - Appearance = 0 'Flat - Height = 300 - Index = 1 - Left = 600 - Picture = "Util7258.frx":2FB2 - Top = 240 - Width = 300 - End - End - Begin VB.Image Image1 - Appearance = 0 'Flat - Height = 300 - Left = 5760 - Picture = "Util7258.frx":3124 - Top = 2280 - Visible = 0 'False - Width = 300 - End - Begin VB.Image Image0 - Appearance = 0 'Flat - Height = 300 - Left = 6120 - Picture = "Util7258.frx":3296 - Top = 2280 - Visible = 0 'False - Width = 300 - End - Begin VB.Menu mnuExit - Caption = "&Exit!" - End -End -Attribute VB_Name = "util7258" -Attribute VB_GlobalNameSpace = False -Attribute VB_Creatable = False -Attribute VB_PredeclaredId = True -Attribute VB_Exposed = False -Option Explicit -Dim Status(0 To 15) As Integer -Dim do_data As Long -Dim Status2(0 To 15) As Integer -Dim do_data2 As Long -Private Sub DOP0_Click(Index As Integer) - Dim i As Integer, v As Integer - Dim d As Integer - - If Status(Index) = 1 Then - do_data = do_data - (2 ^ Index) - DOP0(Index).Picture = Image0.Picture - Status(Index) = 0 - Else - do_data = do_data + (2 ^ Index) - DOP0(Index).Picture = Image1.Picture - Status(Index) = 1 - End If - v = DO_WritePort(card, 0, do_data) -End Sub - -Private Sub DOP1_Click(Index As Integer) - Dim i As Integer, v As Integer - Dim d As Integer - - If Status2(Index) = 1 Then - do_data2 = do_data2 - (2 ^ Index) - DOP1(Index).Picture = Image0.Picture - Status2(Index) = 0 - Else - do_data2 = do_data2 + (2 ^ Index) - DOP1(Index).Picture = Image1.Picture - Status2(Index) = 1 - End If - v = DO_WritePort(card, 1, do_data2) -End Sub - -Private Sub Form_Load() - Dim result As Integer - Dim i As Integer, bn As Integer - SettingForm.Show 1 - If card < 0 Then - MsgBox "Register Card Failed" - End - End If - For i = 0 To 7 - Status(i) = 0 - Next - do_data = &H0 -End Sub - -Private Sub Form_Unload(Cancel As Integer) - Dim result As Integer - If card >= 0 Then - result = Release_Card(card) - End If - End -End Sub - - -Private Sub mnuExit_Click() - Dim result As Integer - If card >= 0 Then - result = Release_Card(card) - End If - End -End Sub - -Private Sub Timer1_Timer() - Dim result As Integer - Dim di_data As Long - Dim i As Integer - Dim p As Long, d As Long - - result = DI_ReadPort(card, 0, di_data) - 'tranform signed integer to unsigned value - If di_data >= 0 Then - d = di_data - Else - d = CLng(di_data) + 65536 - End If - For i = 0 To 1 - p = d Mod 2 - If p = 0 Then - DI0(i) = Image0 - Else 'p = 1 - DI0(i) = Image1 - End If - d = CLng(Int(d / 2)) - Next -End Sub - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7258/VB7258/Util7258.Vbp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7258/VB7258/Util7258.Vbp deleted file mode 100644 index 5edcb38..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7258/VB7258/Util7258.Vbp +++ /dev/null @@ -1,36 +0,0 @@ -Type=Exe -Form=Util7258.Frm -Module=DASK; ..\..\..\Include\Dask.bas -Module=Module1; 7258glbl.bas -Form=Base7258.frm -Reference=*\G{00025E04-0000-0000-C000-000000000046}#3.5#0#C:\PROGRAM FILES\COMMON FILES\MICROSOFT SHARED\DAO\dao2535.tlb#Microsoft DAO 2.5/3.0 Compatibility Library -IconForm="util7258" -Startup="util7258" -Title="UTIL725B" -ExeName32="Util7258.exe" -Command32="" -Name="Util725b" -HelpContextID="0" -CompatibleMode="0" -MajorVer=1 -MinorVer=0 -RevisionVer=0 -AutoIncrementVer=0 -ServerSupportFiles=0 -VersionCompanyName="ADLINK" -CompilationType=0 -OptimizationType=0 -FavorPentiumPro(tm)=0 -CodeViewDebugInfo=0 -NoAliasing=0 -BoundsCheck=0 -OverflowCheck=0 -FlPointCheck=0 -FDIVCheck=0 -UnroundedFP=0 -StartMode=0 -Unattended=0 -Retained=0 -ThreadPerObject=0 -MaxNumberOfThreads=1 -DebugStartupOption=0 diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7258/VB7258/Util7258.frx b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7258/VB7258/Util7258.frx deleted file mode 100644 index 7a875cf..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7258/VB7258/Util7258.frx and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7258/VB7258/Util7258.vbw b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7258/VB7258/Util7258.vbw deleted file mode 100644 index 41226e6..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7258/VB7258/Util7258.vbw +++ /dev/null @@ -1,4 +0,0 @@ -util7258 = 66, 66, 445, 405, Z, 44, 44, 423, 383, C -DASK = 110, 110, 487, 457, -Module1 = 88, 88, 465, 435, -SettingForm = 66, 66, 443, 414, , 22, 22, 401, 361, C diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7260/SDK7260/Util7260.c b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7260/SDK7260/Util7260.c deleted file mode 100644 index 55f0cbb..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7260/SDK7260/Util7260.c +++ /dev/null @@ -1,325 +0,0 @@ -/*;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; -;; Copyright (c) 1995-1999, ADLink Technology Inc. All rights reserved. ;; -;; ;; -;; File Name : Util7260.C ;; -;; Purpose : This sample program demonstrate how to operate ;; -;; DI & DO for PCI-7260 ;; -;; Date : 07/20/1999 ;; -;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;*/ - -#include "windows.h" -#include -#include -#include -#include -#include -#include "Dask.h" -#include "resource.h" - -#define IDM_EXIT 110 -#define IDC_ADDR 200 -#define IDC_CLR 208 -#define TIMER1 1 -#define NONE 0 - -int PASCAL WinMain(HANDLE, HANDLE, LPSTR, int); -long PASCAL MainWndProc(HWND, UINT, WPARAM, LPARAM); - -HANDLE hInst; -I16 card=-1, card_number = 0; -U16 input[1], output[1], ot, tt; -U8 oldinput[1] ; -U8 bcheck = 1; - -HBRUSH hLTGreenBrush,hGreenBrush,hBlueBrush,hYellowBrush,hRedBrush; - -POINT input_pos[8] = {{300, 40}, {270, 40}, - {240, 40}, {210, 40}, - {180, 40}, {150, 40}, - {120, 40}, {90, 40}, - }; -POINT output_pos[8] ={{300, 95}, {270, 95}, - {240,95}, {210, 95}, - {180,95}, {150, 95}, - {120,95}, {90, 95}, - }; - -BOOL InitApplication(HANDLE); -BOOL InitInstance(HANDLE, int); - -int PASCAL WinMain(hInstance, hPrevInstance, lpCmdLine, nCmdShow) -HANDLE hInstance, hPrevInstance; -LPSTR lpCmdLine; -int nCmdShow; -{ - MSG msg; - - if (!hPrevInstance) - if (!InitApplication(hInstance)) return(FALSE); - if (!InitInstance(hInstance, nCmdShow)) return(FALSE); - while (GetMessage(&msg, NULL, NULL, NULL)) { - TranslateMessage(&msg); - DispatchMessage(&msg); - } - return(msg.wParam); -} - -BOOL InitApplication(hInstance) -HANDLE hInstance; -{ - WNDCLASS wc; - - /* Main Window Class */ - wc.style = NULL; - wc.lpfnWndProc = (WNDPROC)MainWndProc; - wc.cbClsExtra = 0; - wc.cbWndExtra = 0; - wc.hInstance = hInstance; - wc.hIcon = LoadIcon(hInstance, "MyIcon"); - wc.hCursor = LoadCursor(NULL, IDC_ARROW); - wc.hbrBackground = GetStockObject(LTGRAY_BRUSH); - wc.lpszMenuName = NULL; - wc.lpszClassName = "GenericWClass"; - if (!RegisterClass(&wc)) return(FALSE); -} - -BOOL InitInstance(hInstance, nCmdShow) -HANDLE hInstance; -int nCmdShow; -{ - HWND hWnd; - HMENU hSampleMenu; - - hInst = hInstance; - hSampleMenu = LoadMenu(hInstance, "U7120Menu"); - hWnd = CreateWindow("GenericWClass", - (LPCSTR)"PCI-7260", - WS_OVERLAPPEDWINDOW, - CW_USEDEFAULT, - CW_USEDEFAULT, - 350, - 210, - NULL, - hSampleMenu, - hInstance, - NULL); - if (!hWnd) return(FALSE); - ShowWindow(hWnd, nCmdShow); - UpdateWindow(hWnd); - return(TRUE); -} - -BOOL PASCAL setup(HWND hWnd, unsigned message, WPARAM wParam, LPARAM lParam) -{ - int i; - char n[16]; - char s[50]; - switch (message) { - case WM_INITDIALOG: - for (i=0;i<16;i++) { - wsprintf(n, "%d", i); - _strupr(n); - SendMessage(GetDlgItem(hWnd,IDC_COMBO1), CB_ADDSTRING, NULL, (LONG)(LPSTR) n); - } - SendMessage(GetDlgItem(hWnd,IDC_COMBO1) , CB_SETCURSEL, 0, 0L); - SendMessage(GetDlgItem(hWnd,IDC_CHECK_EMG), BM_SETCHECK, 1, 0); - break; - case WM_COMMAND: - switch(LOWORD(wParam)) { - - case IDC_COMBO1: - if (HIWORD(wParam) == CBN_CLOSEUP) { - i = (int)SendMessage(GetDlgItem(hWnd,IDC_COMBO1), CB_GETCURSEL, 0, 0L); - SendMessage(GetDlgItem(hWnd,IDC_COMBO1), CB_GETLBTEXT, i, (LPARAM)((LPCSTR)n)); - card_number = i; - } - return(TRUE); - case IDC_CHECK_EMG: - if (bcheck) { - SendMessage(GetDlgItem(hWnd,wParam), BM_SETCHECK, 0, 0); - bcheck=FALSE; - } - else { - SendMessage(GetDlgItem(hWnd,wParam), BM_SETCHECK, 1, 0); - bcheck=TRUE; - } - break; - case IDOK: - if ((card=Register_Card(PCI_7260, card_number)) < 0) { - wsprintf(s, "Register_Card Error = %d\n", card); - MessageBox(hWnd, s, "Error", MB_OK); - } - EndDialog(hWnd, TRUE); - InvalidateRect(hWnd, NULL, FALSE); - return (TRUE); - case IDCANCEL: - EndDialog(hWnd, TRUE); - return (TRUE); - } - break; - } - return (FALSE); -} - -long PASCAL MainWndProc(hWnd, message, wParam, lParam) -HWND hWnd; -UINT message; -WPARAM wParam; -LPARAM lParam; -{ - HDC hDC; - PAINTSTRUCT ps; - int i, k, px, py; - char s[50]; - switch(message) { - case WM_CREATE: - DialogBox(hInst,IDD_DIALOG1, hWnd, setup); - if(card<0) { - SendMessage(hWnd, WM_CLOSE, 0, 0L); - break; - } - //EMG shutdown control - if(!bcheck) - EMGShutDownControl (card, EMGSHDN_OFF); - else - EMGShutDownControl (card, EMGSHDN_ON); - - hLTGreenBrush = CreateSolidBrush(RGB(0, 255, 0)); - hGreenBrush = CreateSolidBrush(RGB(0, 128, 0)); - hBlueBrush = CreateSolidBrush(RGB(0, 0, 255)); - hRedBrush = CreateSolidBrush(RGB(255, 0, 0)); - for (i=0;i<1;i++) { - input[i]=0; - output[i]=0; - oldinput[i]=0; - } - if(bcheck) - CreateWindow("BUTTON","EMG_SHDN CLR" , - WS_CHILD | WS_VISIBLE , - output_pos[7].x+30, output_pos[i].y+30, 150, 30, hWnd, IDC_CLR, hInst, NULL); - SetTimer(hWnd, TIMER1, 50, NULL); - srand((unsigned)time(NULL)); - break; - case WM_PAINT: - hDC = BeginPaint(hWnd, &ps); - - SetTextColor(hDC,RGB(255,255,255)); - SetBkColor(hDC, RGB(0, 0, 255)); - TextOut(hDC, 5, 20, "PCI7260 ", 9); - - // Digital Input Box - for (k=0;k<1;k++) { - SelectObject(hDC, hLTGreenBrush); - Rectangle(hDC, input_pos[7].x-10, k*110+input_pos[7].y-24, input_pos[0].x+26, k*110+input_pos[0].y+20); - SetTextColor(hDC,RGB(255,255,255)); - SetBkColor(hDC, RGB(0, 0, 255)); - TextOut(hDC, input_pos[7].x, k*110+input_pos[7].y-30, "Digital Input",13); - - // Digital Output Box - SelectObject(hDC, hGreenBrush); - Rectangle(hDC, output_pos[7].x-10, k*110+output_pos[7].y-24, output_pos[0].x+26, k*110+output_pos[0].y+20); - SetTextColor(hDC,RGB(255,0,0)); - SetBkColor(hDC, RGB(0, 0, 255)); - TextOut(hDC, output_pos[7].x, k*110+output_pos[7].y-30, "Digital Output", 14); - - // Channel Label - SetTextColor(hDC,RGB(0,0,0)); - SetBkColor(hDC, RGB(0, 255, 0)); - TextOut(hDC, input_pos[7].x, k*110+input_pos[7].y+1, " 7 0", 54); - SetBkColor(hDC, RGB(0, 128, 0)); - TextOut(hDC, output_pos[7].x,k*110+output_pos[7].y+1," 7 0", 54); - SetBkColor(hDC, RGB(0, 255, 0)); - - // Detect Channel Input - for (i=0; i<8; i++) { - if ((input[k]>>i)&0x01) - SelectObject(hDC, hRedBrush); - else - SelectObject(hDC, GetStockObject(WHITE_BRUSH)); - Ellipse(hDC, input_pos[i].x, k*110+input_pos[i].y-13, input_pos[i].x+15, k*110+input_pos[i].y+2); - } - // Channel Output - for (i=0; i<8; i++) { - if ((output[k]>>i)&0x01) - SelectObject(hDC, hRedBrush); - else - SelectObject(hDC, GetStockObject(WHITE_BRUSH)); - Ellipse(hDC, output_pos[i].x, k*110+output_pos[i].y-13, output_pos[i].x+15, k*110+output_pos[i].y+2); - } - } - EndPaint(hWnd, &ps); - break; - case WM_COMMAND: - switch(LOWORD(wParam)) { - case IDM_EXIT: - SendMessage(hWnd, WM_CLOSE, 0, 0L); - break; - case IDC_CLR: - //EMGShutDownRecovery (card); - EMGShutDownControl(card, EMGSHDN_RECOVERY); - break; - default: - return(DefWindowProc(hWnd, message, wParam, lParam)); - } - break; - case WM_TIMER: - /* Digital Input */ - hDC = GetDC(hWnd); - for(k=0;k<1;k++) { - DI_ReadPort(card,k,&input[k]); - for (i=0; i<8; i++) { - //DI_ReadLine(card, k, i, &tt);// If using DI_ReadLine - if( ((input[k]>>i)&0x01) != ((oldinput[k]>>i)&0x01) ) - //if ((tt&0x01) !=((oldinput[k]>>i)&0x01))// If using DI_ReadLine - { - if ((input[k]>>i)&0x01) - //if (tt &0x01) // If using DI_ReadLine - SelectObject(hDC, hRedBrush); - else - SelectObject(hDC, GetStockObject(WHITE_BRUSH)); - Ellipse(hDC, input_pos[i].x, k*110+input_pos[i].y-13, input_pos[i].x+15, k*110+input_pos[i].y+2); - } - } - oldinput[k]=input[k]; - }//k - ReleaseDC(hWnd, hDC); - break; - case WM_DESTROY: - if (card >= 0) Release_Card(card); - DeleteObject(hRedBrush); - DeleteObject(hGreenBrush); - DeleteObject(hLTGreenBrush); - KillTimer(hWnd, TIMER1); - PostQuitMessage(0); - break; - case WM_LBUTTONDOWN: - px = LOWORD(lParam); - py = HIWORD(lParam); - for (k=0;k<1;k++) { - for (i=0; i<8; i++) { - if (px>output_pos[i].x && pxk*110+output_pos[i].y-13 && py>i)&0x01) { - output[k] -= (((unsigned long)1L)<>i) & 0x01; //If using DI_WriteLine - SelectObject(hDC, GetStockObject(WHITE_BRUSH)); - } - else { - output[k] += (((unsigned long)1L)<>i)& 0x01; //If using DI_WriteLine - SelectObject(hDC, hRedBrush); - } - Ellipse(hDC, output_pos[i].x, k*110+output_pos[i].y-13, output_pos[i].x+15, k*110+output_pos[i].y+2); - ReleaseDC(hWnd, hDC); - DO_WritePort(card,k, output[k]); - //DO_WriteLine (card, k, i, ot); //If using DI_WriteLine - break; - } - } - }//k - break; - default: - return(DefWindowProc(hWnd, message, wParam, lParam)); - } - return(NULL); -} diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7260/SDK7260/Util7260.dsp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7260/SDK7260/Util7260.dsp deleted file mode 100644 index b97e111..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7260/SDK7260/Util7260.dsp +++ /dev/null @@ -1,112 +0,0 @@ -# Microsoft Developer Studio Project File - Name="util7260" - Package Owner=<4> -# Microsoft Developer Studio Generated Build File, Format Version 5.00 -# ** DO NOT EDIT ** - -# TARGTYPE "Win32 (x86) Application" 0x0101 - -CFG=util7260 - Win32 Release -!MESSAGE This is not a valid makefile. To build this project using NMAKE, -!MESSAGE use the Export Makefile command and run -!MESSAGE -!MESSAGE NMAKE /f "Util7260.mak". -!MESSAGE -!MESSAGE You can specify a configuration when running NMAKE -!MESSAGE by defining the macro CFG on the command line. For example: -!MESSAGE -!MESSAGE NMAKE /f "Util7260.mak" CFG="util7260 - Win32 Release" -!MESSAGE -!MESSAGE Possible choices for configuration are: -!MESSAGE -!MESSAGE "util7260 - Win32 Release" (based on "Win32 (x86) Application") -!MESSAGE "util7260 - Win32 Debug" (based on "Win32 (x86) Application") -!MESSAGE - -# Begin Project -# PROP Scc_ProjName "" -# PROP Scc_LocalPath "" -CPP=cl.exe -MTL=midl.exe -RSC=rc.exe - -!IF "$(CFG)" == "util7260 - Win32 Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir ".\Release" -# PROP BASE Intermediate_Dir ".\Release" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "" -# PROP Intermediate_Dir ".\Release" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /YX /c -# ADD CPP /nologo /W3 /GX /Od /I "..\..\..\include" /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /FD /c -# SUBTRACT CPP /YX -# ADD BASE MTL /nologo /D "NDEBUG" /win32 -# ADD MTL /nologo /D "NDEBUG" /mktyplib203 /win32 -# ADD BASE RSC /l 0x409 /d "NDEBUG" -# ADD RSC /l 0x409 /d "NDEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:windows /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ..\..\..\lib\pci-dask.lib /nologo /subsystem:windows /machine:I386 - -!ELSEIF "$(CFG)" == "util7260 - Win32 Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir ".\Debug" -# PROP BASE Intermediate_Dir ".\Debug" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir ".\Debug" -# PROP Intermediate_Dir ".\Debug" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /Gm /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /YX /c -# ADD CPP /nologo /W3 /Gm /GX /Zi /Od /I "..\..\..\include" /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /FD /c -# SUBTRACT CPP /YX -# ADD BASE MTL /nologo /D "_DEBUG" /win32 -# ADD MTL /nologo /D "_DEBUG" /mktyplib203 /win32 -# ADD BASE RSC /l 0x409 /d "_DEBUG" -# ADD RSC /l 0x409 /d "_DEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:windows /debug /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ..\..\..\lib\pci-dask.lib /nologo /subsystem:windows /incremental:no /debug /machine:I386 - -!ENDIF - -# Begin Target - -# Name "util7260 - Win32 Release" -# Name "util7260 - Win32 Debug" -# Begin Group "Source Files" - -# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;hpj;bat;for;f90" -# Begin Source File - -SOURCE=.\UTIL7260.C -# End Source File -# Begin Source File - -SOURCE=.\Util7260.rc -# End Source File -# End Group -# Begin Group "Header Files" - -# PROP Default_Filter "h;hpp;hxx;hm;inl;fi;fd" -# End Group -# Begin Group "Resource Files" - -# PROP Default_Filter "ico;cur;bmp;dlg;rc2;rct;bin;cnt;rtf;gif;jpg;jpeg;jpe" -# End Group -# End Target -# End Project diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7260/SDK7260/Util7260.dsw b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7260/SDK7260/Util7260.dsw deleted file mode 100644 index 082e8b5..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7260/SDK7260/Util7260.dsw +++ /dev/null @@ -1,29 +0,0 @@ -Microsoft Developer Studio Workspace File, Format Version 5.00 -# WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE! - -############################################################################### - -Project: "util7260"=.\Util7260.dsp - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ -}}} - -############################################################################### - -Global: - -Package=<5> -{{{ -}}} - -Package=<3> -{{{ -}}} - -############################################################################### - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7260/SDK7260/Util7260.exe b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7260/SDK7260/Util7260.exe deleted file mode 100644 index dfa2182..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7260/SDK7260/Util7260.exe and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7260/SDK7260/resource.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7260/SDK7260/resource.h deleted file mode 100644 index 1b98e2b..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7260/SDK7260/resource.h +++ /dev/null @@ -1,20 +0,0 @@ -//{{NO_DEPENDENCIES}} -// Microsoft Developer Studio generated include file. -// Used by util7260.rc -// -#define IDD_DIALOG1 101 -#define IDM_EXIT 110 -#define IDC_CHECK_EMG 1000 -#define IDC_COMBO1 1004 -#define IDC_STATIC -1 - -// Next default values for new objects -// -#ifdef APSTUDIO_INVOKED -#ifndef APSTUDIO_READONLY_SYMBOLS -#define _APS_NEXT_RESOURCE_VALUE 102 -#define _APS_NEXT_COMMAND_VALUE 101 -#define _APS_NEXT_CONTROL_VALUE 1001 -#define _APS_NEXT_SYMED_VALUE 101 -#endif -#endif diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7260/SDK7260/util7260.rc b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7260/SDK7260/util7260.rc deleted file mode 100644 index df52502..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7260/SDK7260/util7260.rc +++ /dev/null @@ -1,117 +0,0 @@ -//Microsoft Developer Studio generated resource script. -// -#include "resource.h" - -#define APSTUDIO_READONLY_SYMBOLS -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 2 resource. -// -#define APSTUDIO_HIDDEN_SYMBOLS -#include "windows.h" -#undef APSTUDIO_HIDDEN_SYMBOLS - -///////////////////////////////////////////////////////////////////////////// -#undef APSTUDIO_READONLY_SYMBOLS - -///////////////////////////////////////////////////////////////////////////// -// English (U.S.) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -#ifdef _WIN32 -LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US -#pragma code_page(1252) -#endif //_WIN32 - -#ifdef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// TEXTINCLUDE -// - -1 TEXTINCLUDE DISCARDABLE -BEGIN - "resource.h\0" -END - -2 TEXTINCLUDE DISCARDABLE -BEGIN - "#define APSTUDIO_HIDDEN_SYMBOLS\r\n" - "#include ""windows.h""\r\n" - "#undef APSTUDIO_HIDDEN_SYMBOLS\r\n" - "\0" -END - -3 TEXTINCLUDE DISCARDABLE -BEGIN - "\r\n" - "\0" -END - -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog -// - -IDD_DIALOG1 DIALOG DISCARDABLE 110, 10, 106, 75 -STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "Card Number" -FONT 10, "System" -BEGIN - DEFPUSHBUTTON "OK",IDOK,10,54,37,14 - PUSHBUTTON "Cancel",IDCANCEL,61,54,38,14 - LTEXT "Card Number",IDC_STATIC,3,13,45,13 - COMBOBOX IDC_COMBO1,51,13,48,84,CBS_DROPDOWN | WS_VSCROLL | - WS_TABSTOP - CONTROL "EMG_Shutdown Enabled",IDC_CHECK_EMG,"Button", - BS_AUTOCHECKBOX | WS_TABSTOP,7,37,92,8 -END - - -///////////////////////////////////////////////////////////////////////////// -// -// DESIGNINFO -// - -#ifdef APSTUDIO_INVOKED -GUIDELINES DESIGNINFO DISCARDABLE -BEGIN - IDD_DIALOG1, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 99 - TOPMARGIN, 7 - BOTTOMMARGIN, 68 - END -END -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// Menu -// - -U7120MENU MENU DISCARDABLE -BEGIN - MENUITEM "E&xit", IDM_EXIT -END - -#endif // English (U.S.) resources -///////////////////////////////////////////////////////////////////////////// - - - -#ifndef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 3 resource. -// - - -///////////////////////////////////////////////////////////////////////////// -#endif // not APSTUDIO_INVOKED - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7260/SDK7260int/7260int.c b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7260/SDK7260int/7260int.c deleted file mode 100644 index 393bfac..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7260/SDK7260int/7260int.c +++ /dev/null @@ -1,244 +0,0 @@ -/*;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; -;; Copyright (c) 1995-2001, ADLink Technology Inc. All rights reserved. ;; -;; ;; -;; File Name : 7260INT.C ;; -;; Purpose : This sample program demonstrates how handle interrupt ;; -;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;*/ - -#include -#include -#include -#include -#include -#include "Dask.h" -#include "Resource.h" - -#define IDC_START 300 -#define IDC_OUTPUT 302 - -HANDLE hInst; /* current instance */ -int int_count=0; -U16 COSLData = 0; -int outVal = 0; -I16 card=-1, card_number = 0; - -HWND hStart, hMainWnd; -HANDLE hEvent[2]; - -int PASCAL WinMain(HANDLE, HANDLE, LPSTR, int); -BOOL InitApplication(HANDLE); -BOOL InitInstance(HANDLE, int); -long PASCAL MainWndProc(HWND, unsigned, WPARAM, LPARAM); - -void -IntThread(void* pArg) -{ - int err; - while (1) { - if (WaitForSingleObject(hEvent[0], INFINITE) == WAIT_OBJECT_0) { - int_count++; - //ResetEvent(hEvent[0]); - err = DIO_GetCOSLatchData(card, &COSLData); - InvalidateRect(hMainWnd, NULL, FALSE); - } - } - _endthread(); -} - - /********************************************************************** - - FUNCTION: WinMain(HANDLE, HANDLE, LPSTR, int) - PURPOSE: calls initialization function, processes message loop - - ***********************************************************************/ - - int PASCAL WinMain(hInstance, hPrevInstance, lpCmdLine, nCmdShow) - HANDLE hInstance; - HANDLE hPrevInstance; - LPSTR lpCmdLine; - int nCmdShow; - { - MSG msg; - - if(!hPrevInstance) - if(!InitApplication(hInstance)) - return(FALSE); - - if(!InitInstance(hInstance, nCmdShow)) - return(FALSE); - - while ( GetMessage(&msg, NULL, NULL, NULL)) - { - TranslateMessage(&msg); - DispatchMessage(&msg); - } - return(msg.wParam); - } - -/**************************************************************************** - - FUNCTION: InitApplication(HANDLE) - - PURPOSE: Initializes window data and registers window class - -****************************************************************************/ - -BOOL InitApplication(hInstance) -HANDLE hInstance; -{ - WNDCLASS wc; - - wc.style = NULL; - wc.lpfnWndProc = MainWndProc; - wc.cbClsExtra = 0; - wc.cbWndExtra = 0; - wc.hInstance = hInstance; - wc.hIcon = LoadIcon(NULL, IDI_APPLICATION); - wc.hCursor = LoadCursor(hInstance, IDC_ARROW); - wc.hbrBackground = GetStockObject(WHITE_BRUSH); - wc.lpszMenuName = "U7260Menu"; - wc.lpszClassName = "IntClass"; - - return (RegisterClass(&wc)); -} - -/**************************************************************************** - - FUNCTION: InitInstance(HANDLE, int) - - PURPOSE: Saves instance handle and creates main window - -****************************************************************************/ - -BOOL InitInstance(hInstance, nCmdShow) -HANDLE hInstance; -int nCmdShow; -{ - HWND hWnd; - - hInst = hInstance; - hWnd = CreateWindow("IntClass", "PCI-7260 Interrupt Sample (COS INT)", WS_OVERLAPPEDWINDOW, - 200, 100, 360, 300, NULL, NULL, hInstance, NULL); - if (!hWnd) return (FALSE); - ShowWindow(hWnd, nCmdShow); - UpdateWindow(hWnd); - return (TRUE); -} - -BOOL PASCAL setup(HWND hWnd, unsigned message, WPARAM wParam, LPARAM lParam) -{ - int i; - char n[16]; - char s[50]; - switch (message) { - case WM_INITDIALOG: - for (i=0;i<16;i++) { - wsprintf(n, "%d", i); - _strupr(n); - SendMessage(GetDlgItem(hWnd,IDC_COMBO1), CB_ADDSTRING, NULL, (LONG)(LPSTR) n); - } - SendMessage(GetDlgItem(hWnd,IDC_COMBO1) , CB_SETCURSEL, 0, 0L); - - break; - case WM_COMMAND: - switch(LOWORD(wParam)) { - - case IDC_COMBO1: - if (HIWORD(wParam) == CBN_CLOSEUP) { - i = (int)SendMessage(GetDlgItem(hWnd,IDC_COMBO1), CB_GETCURSEL, 0, 0L); - SendMessage(GetDlgItem(hWnd,IDC_COMBO1), CB_GETLBTEXT, i, (LPARAM)((LPCSTR)n)); - card_number = i; - } - return(TRUE); - case IDOK: - if ((card=Register_Card(PCI_7260, card_number)) < 0) { - wsprintf(s, "Register_Card Error = %d\n", card); - MessageBox(hWnd, s, "Error", MB_OK); - } - EndDialog(hWnd, TRUE); - InvalidateRect(hWnd, NULL, FALSE); - return (TRUE); - case IDCANCEL: - EndDialog(hWnd, TRUE); - return (TRUE); - } - break; - } - return (FALSE); -} -/**************************************************************************** - - FUNCTION: MainWndProc(HWND, UINT, WPARAM, LPARAM) - - PURPOSE: Processes messages - - -****************************************************************************/ - -long PASCAL MainWndProc(hWnd, message, wParam, lParam) -HWND hWnd; -unsigned message; -WPARAM wParam; -LPARAM lParam; -{ - PAINTSTRUCT ps; - HDC hDC; - char buf[20]; - int err; - F32 rt = 0.0; - - switch(message) { - case WM_CREATE: - DialogBox(hInst,IDD_DIALOG2, hWnd, setup); - if(card<0) { - SendMessage(hWnd, WM_CLOSE, 0, 0L); - break; - } - CreateWindow("BUTTON", "Output", WS_CHILD | WS_VISIBLE, - 130, 200, 72, 24, hWnd, IDC_OUTPUT, hInst, NULL); - err = DIO_SetDualInterrupt(card, INT1_COS, INT2_DISABLE, hEvent); - err = DIO_SetCOSInterrupt(card, 0, 0x0001, 0, 0); - DO_WritePort(card,0, outVal); - hMainWnd = hWnd; - _beginthread(IntThread, 0, 0); - Sleep(10); - break; - case WM_PAINT: - hDC = BeginPaint(hWnd, &ps); - TextOut(hDC, 20, 30, "This program shows the number of occurrence", 43); - TextOut(hDC, 20, 45, "of COSINT interupt. INT1 interrupt is generated", 47); - TextOut(hDC, 20, 60, "by external signal from DI bit-0. If you connect", 48); - TextOut(hDC, 20, 75, "DO bit-0 to DI bit-0, press 'Output' button can", 47); - TextOut(hDC, 20, 90, "generate an interrupt.", 22); - wsprintf(buf,"INT count = %d", int_count); - TextOut(hDC, 120, 140, buf, strlen(buf)); - wsprintf(buf,"COS Latch Data = %x", COSLData); - TextOut(hDC, 120, 160, buf, strlen(buf)); - EndPaint(hWnd, &ps); - break; - case WM_COMMAND: - switch(LOWORD(wParam)) { - case IDM_EXIT: - DIO_SetDualInterrupt(card, INT1_DISABLE, INT2_DISABLE, hEvent); - DIO_SetCOSInterrupt(card, 0, 0, 0, 0); - DO_WritePort(card,0, 0x0); - SendMessage(hWnd, WM_CLOSE, 0, 0L); - break; - case IDC_OUTPUT: - outVal = (outVal+1) % 2; - DO_WritePort(card,0, outVal); - Sleep(0); - //DO_WritePort(card,0, 0x1); - break; - } - break; - case WM_DESTROY: - if (card >= 0) Release_Card(card); - PostQuitMessage(0); - break; - default: - return (DefWindowProc(hWnd, message, wParam, lParam)); - } - return(0L); -} - \ No newline at end of file diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7260/SDK7260int/7260int.dsp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7260/SDK7260int/7260int.dsp deleted file mode 100644 index f536244..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7260/SDK7260int/7260int.dsp +++ /dev/null @@ -1,110 +0,0 @@ -# Microsoft Developer Studio Project File - Name="7260int" - Package Owner=<4> -# Microsoft Developer Studio Generated Build File, Format Version 5.00 -# ** DO NOT EDIT ** - -# TARGTYPE "Win32 (x86) Application" 0x0101 - -CFG=7260int - Win32 Release -!MESSAGE This is not a valid makefile. To build this project using NMAKE, -!MESSAGE use the Export Makefile command and run -!MESSAGE -!MESSAGE NMAKE /f "7260int.mak". -!MESSAGE -!MESSAGE You can specify a configuration when running NMAKE -!MESSAGE by defining the macro CFG on the command line. For example: -!MESSAGE -!MESSAGE NMAKE /f "7260int.mak" CFG="7260int - Win32 Release" -!MESSAGE -!MESSAGE Possible choices for configuration are: -!MESSAGE -!MESSAGE "7260int - Win32 Release" (based on "Win32 (x86) Application") -!MESSAGE "7260int - Win32 Debug" (based on "Win32 (x86) Application") -!MESSAGE - -# Begin Project -# PROP Scc_ProjName "" -# PROP Scc_LocalPath "" -CPP=cl.exe -MTL=midl.exe -RSC=rc.exe - -!IF "$(CFG)" == "7260int - Win32 Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir ".\Release" -# PROP BASE Intermediate_Dir ".\Release" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "" -# PROP Intermediate_Dir ".\Release" -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /YX /c -# ADD CPP /nologo /MT /W3 /GX /Od /I "..\..\..\include" /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /FD /c -# SUBTRACT CPP /YX -# ADD BASE MTL /nologo /D "NDEBUG" /win32 -# ADD MTL /nologo /D "NDEBUG" /mktyplib203 /win32 -# ADD BASE RSC /l 0x404 /d "NDEBUG" -# ADD RSC /l 0x404 /d "NDEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:windows /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ..\..\..\lib\PCI-DASK.lib /nologo /subsystem:windows /machine:I386 - -!ELSEIF "$(CFG)" == "7260int - Win32 Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir ".\Debug" -# PROP BASE Intermediate_Dir ".\Debug" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "" -# PROP Intermediate_Dir ".\Debug" -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /Gm /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /YX /c -# ADD CPP /nologo /MTd /W3 /Gm /GX /Zi /Od /I "..\..\..\include" /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /FD /c -# SUBTRACT CPP /YX -# ADD BASE MTL /nologo /D "_DEBUG" /win32 -# ADD MTL /nologo /D "_DEBUG" /mktyplib203 /win32 -# ADD BASE RSC /l 0x404 /d "_DEBUG" -# ADD RSC /l 0x404 /d "_DEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:windows /debug /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ..\..\..\lib\PCI-DASK.lib /nologo /subsystem:windows /debug /machine:I386 - -!ENDIF - -# Begin Target - -# Name "7260int - Win32 Release" -# Name "7260int - Win32 Debug" -# Begin Group "Source Files" - -# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;hpj;bat;for;f90" -# Begin Source File - -SOURCE=.\7260int.c -# End Source File -# Begin Source File - -SOURCE=.\7260int.rc -# End Source File -# End Group -# Begin Group "Header Files" - -# PROP Default_Filter "h;hpp;hxx;hm;inl;fi;fd" -# End Group -# Begin Group "Resource Files" - -# PROP Default_Filter "ico;cur;bmp;dlg;rc2;rct;bin;cnt;rtf;gif;jpg;jpeg;jpe" -# End Group -# End Target -# End Project diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7260/SDK7260int/7260int.dsw b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7260/SDK7260int/7260int.dsw deleted file mode 100644 index b9ff920..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7260/SDK7260int/7260int.dsw +++ /dev/null @@ -1,29 +0,0 @@ -Microsoft Developer Studio Workspace File, Format Version 5.00 -# WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE! - -############################################################################### - -Project: "7260int"=.\7260int.dsp - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ -}}} - -############################################################################### - -Global: - -Package=<5> -{{{ -}}} - -Package=<3> -{{{ -}}} - -############################################################################### - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7260/SDK7260int/7260int.exe b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7260/SDK7260int/7260int.exe deleted file mode 100644 index 74e49fb..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7260/SDK7260int/7260int.exe and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7260/SDK7260int/7260int.rc b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7260/SDK7260int/7260int.rc deleted file mode 100644 index 442f32f..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7260/SDK7260int/7260int.rc +++ /dev/null @@ -1,115 +0,0 @@ -//Microsoft Developer Studio generated resource script. -// -#include "resource.h" - -#define APSTUDIO_READONLY_SYMBOLS -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 2 resource. -// -#define APSTUDIO_HIDDEN_SYMBOLS -#include "windows.h" -#undef APSTUDIO_HIDDEN_SYMBOLS - -///////////////////////////////////////////////////////////////////////////// -#undef APSTUDIO_READONLY_SYMBOLS - -///////////////////////////////////////////////////////////////////////////// -// English (U.S.) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -#ifdef _WIN32 -LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US -#pragma code_page(1252) -#endif //_WIN32 - -#ifdef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// TEXTINCLUDE -// - -1 TEXTINCLUDE DISCARDABLE -BEGIN - "resource.h\0" -END - -2 TEXTINCLUDE DISCARDABLE -BEGIN - "#define APSTUDIO_HIDDEN_SYMBOLS\r\n" - "#include ""windows.h""\r\n" - "#undef APSTUDIO_HIDDEN_SYMBOLS\r\n" - "\0" -END - -3 TEXTINCLUDE DISCARDABLE -BEGIN - "\r\n" - "\0" -END - -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// Menu -// - -U7260MENU MENU DISCARDABLE -BEGIN - MENUITEM "E&xit!", IDM_EXIT -END - - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog -// - -IDD_DIALOG2 DIALOG DISCARDABLE 110, 10, 106, 61 -STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "Card Number" -FONT 10, "System" -BEGIN - DEFPUSHBUTTON "OK",IDOK,10,40,37,14 - PUSHBUTTON "Cancel",IDCANCEL,61,40,38,14 - LTEXT "Card Number",IDC_STATIC,3,13,47,13 - COMBOBOX IDC_COMBO1,51,13,48,84,CBS_DROPDOWN | WS_VSCROLL | - WS_TABSTOP -END - - -///////////////////////////////////////////////////////////////////////////// -// -// DESIGNINFO -// - -#ifdef APSTUDIO_INVOKED -GUIDELINES DESIGNINFO DISCARDABLE -BEGIN - IDD_DIALOG2, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 99 - TOPMARGIN, 7 - BOTTOMMARGIN, 54 - END -END -#endif // APSTUDIO_INVOKED - -#endif // English (U.S.) resources -///////////////////////////////////////////////////////////////////////////// - - - -#ifndef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 3 resource. -// - - -///////////////////////////////////////////////////////////////////////////// -#endif // not APSTUDIO_INVOKED - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7260/SDK7260int/resource.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7260/SDK7260int/resource.h deleted file mode 100644 index 7453a6b..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7260/SDK7260int/resource.h +++ /dev/null @@ -1,30 +0,0 @@ -//{{NO_DEPENDENCIES}} -// Microsoft Developer Studio generated include file. -// Used by 7260int.rc -// -#define IDM_SETUP 101 -#define IDD_DIALOG1 101 -#define IDD_DIALOG2 102 -#define IDM_EXIT 110 -#define IDM_GO 300 -#define IDM_ABOUT 301 -#define DMA_DATA 302 -#define ID_STOP 304 -#define IDM_CLEAR 305 -#define DMA_SPACE 500 -#define IDC_COMBO1 1004 -#define IDC_COMBO2 1005 -#define IDC_EDIT1 1007 -#define IDC_EDIT2 1008 -#define IDC_STATIC -1 - -// Next default values for new objects -// -#ifdef APSTUDIO_INVOKED -#ifndef APSTUDIO_READONLY_SYMBOLS -#define _APS_NEXT_RESOURCE_VALUE 103 -#define _APS_NEXT_COMMAND_VALUE 102 -#define _APS_NEXT_CONTROL_VALUE 1008 -#define _APS_NEXT_SYMED_VALUE 101 -#endif -#endif diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7260/SDK7260intMsg/7260int.c b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7260/SDK7260intMsg/7260int.c deleted file mode 100644 index 8847eb7..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7260/SDK7260intMsg/7260int.c +++ /dev/null @@ -1,244 +0,0 @@ -/*;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; -;; Copyright (c) 1995-2001, ADLink Technology Inc. All rights reserved. ;; -;; ;; -;; File Name : 7260INT.C ;; -;; Purpose : This sample program demonstrates how handle interrupt ;; -;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;*/ - -#include -#include -#include -#include -#include -#include "Dask.h" -#include "Resource.h" - -#define IDC_START 300 -#define IDC_OUTPUT 302 -#define WM_INT 2000 //interrupt comming message - -HANDLE hInst; /* current instance */ -int int_count=0; -I16 card=-1, card_number = 0; -int outVal = 0; -U16 COSLData = 0; -HWND hStart, hMainWnd; - -int PASCAL WinMain(HANDLE, HANDLE, LPSTR, int); -BOOL InitApplication(HANDLE); -BOOL InitInstance(HANDLE, int); -long PASCAL MainWndProc(HWND, unsigned, WPARAM, LPARAM); -void mesgfn(); - - /********************************************************************** - - FUNCTION: WinMain(HANDLE, HANDLE, LPSTR, int) - PURPOSE: calls initialization function, processes message loop - - ***********************************************************************/ - - int PASCAL WinMain(hInstance, hPrevInstance, lpCmdLine, nCmdShow) - HANDLE hInstance; - HANDLE hPrevInstance; - LPSTR lpCmdLine; - int nCmdShow; - { - MSG msg; - - if(!hPrevInstance) - if(!InitApplication(hInstance)) - return(FALSE); - - if(!InitInstance(hInstance, nCmdShow)) - return(FALSE); - - while ( GetMessage(&msg, NULL, NULL, NULL)) - { - TranslateMessage(&msg); - DispatchMessage(&msg); - } - return(msg.wParam); - } - -/**************************************************************************** - - FUNCTION: InitApplication(HANDLE) - - PURPOSE: Initializes window data and registers window class - -****************************************************************************/ - -BOOL InitApplication(hInstance) -HANDLE hInstance; -{ - WNDCLASS wc; - - wc.style = NULL; - wc.lpfnWndProc = MainWndProc; - wc.cbClsExtra = 0; - wc.cbWndExtra = 0; - wc.hInstance = hInstance; - wc.hIcon = LoadIcon(NULL, IDI_APPLICATION); - wc.hCursor = LoadCursor(hInstance, IDC_ARROW); - wc.hbrBackground = GetStockObject(WHITE_BRUSH); - wc.lpszMenuName = "U7260Menu"; - wc.lpszClassName = "IntClass"; - - return (RegisterClass(&wc)); -} - -/**************************************************************************** - - FUNCTION: InitInstance(HANDLE, int) - - PURPOSE: Saves instance handle and creates main window - -****************************************************************************/ - -BOOL InitInstance(hInstance, nCmdShow) -HANDLE hInstance; -int nCmdShow; -{ - HWND hWnd; - - hInst = hInstance; - hWnd = CreateWindow("IntClass", "PCI-7260 Interrupt Sample (COS INT)", WS_OVERLAPPEDWINDOW, - 200, 100, 360, 300, NULL, NULL, hInstance, NULL); - if (!hWnd) return (FALSE); - ShowWindow(hWnd, nCmdShow); - UpdateWindow(hWnd); - return (TRUE); -} - -BOOL PASCAL setup(HWND hWnd, unsigned message, WPARAM wParam, LPARAM lParam) -{ - int i; - char n[16]; - char s[50]; - switch (message) { - case WM_INITDIALOG: - for (i=0;i<16;i++) { - wsprintf(n, "%d", i); - _strupr(n); - SendMessage(GetDlgItem(hWnd,IDC_COMBO1), CB_ADDSTRING, NULL, (LONG)(LPSTR) n); - } - SendMessage(GetDlgItem(hWnd,IDC_COMBO1) , CB_SETCURSEL, 0, 0L); - - break; - case WM_COMMAND: - switch(LOWORD(wParam)) { - - case IDC_COMBO1: - if (HIWORD(wParam) == CBN_CLOSEUP) { - i = (int)SendMessage(GetDlgItem(hWnd,IDC_COMBO1), CB_GETCURSEL, 0, 0L); - SendMessage(GetDlgItem(hWnd,IDC_COMBO1), CB_GETLBTEXT, i, (LPARAM)((LPCSTR)n)); - card_number = i; - } - return(TRUE); - case IDOK: - if ((card=Register_Card(PCI_7260, card_number)) < 0) { - wsprintf(s, "Register_Card Error = %d\n", card); - MessageBox(hWnd, s, "Error", MB_OK); - } - EndDialog(hWnd, TRUE); - InvalidateRect(hWnd, NULL, FALSE); - return (TRUE); - case IDCANCEL: - EndDialog(hWnd, TRUE); - return (TRUE); - } - break; - } - return (FALSE); -} -/**************************************************************************** - - FUNCTION: MainWndProc(HWND, UINT, WPARAM, LPARAM) - - PURPOSE: Processes messages - - -****************************************************************************/ - -long PASCAL MainWndProc(hWnd, message, wParam, lParam) -HWND hWnd; -unsigned message; -WPARAM wParam; -LPARAM lParam; -{ - PAINTSTRUCT ps; - HDC hDC; - char s[50]; - - switch(message) { - case WM_CREATE: - DialogBox(hInst,IDD_DIALOG2, hWnd, setup); - if(card<0) { - SendMessage(hWnd, WM_CLOSE, 0, 0L); - break; - } - CreateWindow("BUTTON", "Output", WS_CHILD | WS_VISIBLE, - 130, 200, 72, 24, hWnd, IDC_OUTPUT, hInst, NULL); - int_count = 0; - DIO_INT1_EventMessage (card, INT1_COS, hWnd, WM_INT, NULL); - DIO_SetCOSInterrupt(card, 0, 0x0001, 0, 0); - DO_WritePort(card,0, outVal); - hMainWnd = hWnd; - break; - case WM_PAINT: - hDC = BeginPaint(hWnd, &ps); - TextOut(hDC, 20, 30, "This program shows the number of occurrence", 43); - TextOut(hDC, 20, 45, "of COSINT interupt. INT1 interrupt is generated", 47); - TextOut(hDC, 20, 60, "by external signal from DI bit-0. If you connect", 48); - TextOut(hDC, 20, 75, "DO bit-0 to DI bit-0, press 'Output' button can", 47); - TextOut(hDC, 20, 90, "generate an interrupt.", 22); - wsprintf(s,"INT1 Count = %d ", int_count); - TextOut(hDC,120,140,s,strlen(s)); - wsprintf(s,"COS Latch Data = %d", COSLData); - TextOut(hDC, 120, 160, s, strlen(s)); - EndPaint(hWnd, &ps); - break; - case WM_COMMAND: - switch(LOWORD(wParam)) { - case IDM_EXIT: - DIO_SetCOSInterrupt(card, 0, 0, 0, 0); - DIO_INT1_EventMessage (card, INT1_DISABLE, hMainWnd, NULL, NULL); - DO_WritePort(card,0, 0x0); - SendMessage(hWnd, WM_CLOSE, 0, 0L); - break; - case IDC_OUTPUT: - outVal = (outVal+1)%2; - DO_WritePort(card,0, outVal); - Sleep(0); - break; - } - break; - case WM_INT: //interrupt comming message - mesgfn(); - break; - case WM_DESTROY: - if (card >= 0) Release_Card(card); - PostQuitMessage(0); - break; - default: - return (DefWindowProc(hWnd, message, wParam, lParam)); - } - return(0L); -} - -void mesgfn() -{ - HDC hDC; - char Buf[80]; - - hDC=GetDC(hMainWnd); - int_count++; - DIO_GetCOSLatchData(card, &COSLData); - - wsprintf(Buf,"INT1 Count = %d ", int_count); - TextOut(hDC,120,140,Buf,strlen(Buf)); - wsprintf(Buf,"COS Latch Data = %d", COSLData); - TextOut(hDC, 120, 160, Buf, strlen(Buf)); - - ReleaseDC(hMainWnd, hDC); -} diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7260/SDK7260intMsg/7260int.dsp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7260/SDK7260intMsg/7260int.dsp deleted file mode 100644 index f536244..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7260/SDK7260intMsg/7260int.dsp +++ /dev/null @@ -1,110 +0,0 @@ -# Microsoft Developer Studio Project File - Name="7260int" - Package Owner=<4> -# Microsoft Developer Studio Generated Build File, Format Version 5.00 -# ** DO NOT EDIT ** - -# TARGTYPE "Win32 (x86) Application" 0x0101 - -CFG=7260int - Win32 Release -!MESSAGE This is not a valid makefile. To build this project using NMAKE, -!MESSAGE use the Export Makefile command and run -!MESSAGE -!MESSAGE NMAKE /f "7260int.mak". -!MESSAGE -!MESSAGE You can specify a configuration when running NMAKE -!MESSAGE by defining the macro CFG on the command line. For example: -!MESSAGE -!MESSAGE NMAKE /f "7260int.mak" CFG="7260int - Win32 Release" -!MESSAGE -!MESSAGE Possible choices for configuration are: -!MESSAGE -!MESSAGE "7260int - Win32 Release" (based on "Win32 (x86) Application") -!MESSAGE "7260int - Win32 Debug" (based on "Win32 (x86) Application") -!MESSAGE - -# Begin Project -# PROP Scc_ProjName "" -# PROP Scc_LocalPath "" -CPP=cl.exe -MTL=midl.exe -RSC=rc.exe - -!IF "$(CFG)" == "7260int - Win32 Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir ".\Release" -# PROP BASE Intermediate_Dir ".\Release" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "" -# PROP Intermediate_Dir ".\Release" -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /YX /c -# ADD CPP /nologo /MT /W3 /GX /Od /I "..\..\..\include" /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /FD /c -# SUBTRACT CPP /YX -# ADD BASE MTL /nologo /D "NDEBUG" /win32 -# ADD MTL /nologo /D "NDEBUG" /mktyplib203 /win32 -# ADD BASE RSC /l 0x404 /d "NDEBUG" -# ADD RSC /l 0x404 /d "NDEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:windows /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ..\..\..\lib\PCI-DASK.lib /nologo /subsystem:windows /machine:I386 - -!ELSEIF "$(CFG)" == "7260int - Win32 Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir ".\Debug" -# PROP BASE Intermediate_Dir ".\Debug" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "" -# PROP Intermediate_Dir ".\Debug" -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /Gm /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /YX /c -# ADD CPP /nologo /MTd /W3 /Gm /GX /Zi /Od /I "..\..\..\include" /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /FD /c -# SUBTRACT CPP /YX -# ADD BASE MTL /nologo /D "_DEBUG" /win32 -# ADD MTL /nologo /D "_DEBUG" /mktyplib203 /win32 -# ADD BASE RSC /l 0x404 /d "_DEBUG" -# ADD RSC /l 0x404 /d "_DEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:windows /debug /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ..\..\..\lib\PCI-DASK.lib /nologo /subsystem:windows /debug /machine:I386 - -!ENDIF - -# Begin Target - -# Name "7260int - Win32 Release" -# Name "7260int - Win32 Debug" -# Begin Group "Source Files" - -# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;hpj;bat;for;f90" -# Begin Source File - -SOURCE=.\7260int.c -# End Source File -# Begin Source File - -SOURCE=.\7260int.rc -# End Source File -# End Group -# Begin Group "Header Files" - -# PROP Default_Filter "h;hpp;hxx;hm;inl;fi;fd" -# End Group -# Begin Group "Resource Files" - -# PROP Default_Filter "ico;cur;bmp;dlg;rc2;rct;bin;cnt;rtf;gif;jpg;jpeg;jpe" -# End Group -# End Target -# End Project diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7260/SDK7260intMsg/7260int.dsw b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7260/SDK7260intMsg/7260int.dsw deleted file mode 100644 index b9ff920..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7260/SDK7260intMsg/7260int.dsw +++ /dev/null @@ -1,29 +0,0 @@ -Microsoft Developer Studio Workspace File, Format Version 5.00 -# WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE! - -############################################################################### - -Project: "7260int"=.\7260int.dsp - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ -}}} - -############################################################################### - -Global: - -Package=<5> -{{{ -}}} - -Package=<3> -{{{ -}}} - -############################################################################### - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7260/SDK7260intMsg/7260int.exe b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7260/SDK7260intMsg/7260int.exe deleted file mode 100644 index b9077fd..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7260/SDK7260intMsg/7260int.exe and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7260/SDK7260intMsg/7260int.rc b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7260/SDK7260intMsg/7260int.rc deleted file mode 100644 index 9f86651..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7260/SDK7260intMsg/7260int.rc +++ /dev/null @@ -1,115 +0,0 @@ -//Microsoft Developer Studio generated resource script. -// -#include "resource.h" - -#define APSTUDIO_READONLY_SYMBOLS -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 2 resource. -// -#define APSTUDIO_HIDDEN_SYMBOLS -#include "windows.h" -#undef APSTUDIO_HIDDEN_SYMBOLS - -///////////////////////////////////////////////////////////////////////////// -#undef APSTUDIO_READONLY_SYMBOLS - -///////////////////////////////////////////////////////////////////////////// -// English (U.S.) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -#ifdef _WIN32 -LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US -#pragma code_page(1252) -#endif //_WIN32 - -#ifdef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// TEXTINCLUDE -// - -1 TEXTINCLUDE DISCARDABLE -BEGIN - "resource.h\0" -END - -2 TEXTINCLUDE DISCARDABLE -BEGIN - "#define APSTUDIO_HIDDEN_SYMBOLS\r\n" - "#include ""windows.h""\r\n" - "#undef APSTUDIO_HIDDEN_SYMBOLS\r\n" - "\0" -END - -3 TEXTINCLUDE DISCARDABLE -BEGIN - "\r\n" - "\0" -END - -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog -// - -IDD_DIALOG2 DIALOG DISCARDABLE 110, 10, 106, 61 -STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "Card Number" -FONT 10, "System" -BEGIN - DEFPUSHBUTTON "OK",IDOK,10,40,37,14 - PUSHBUTTON "Cancel",IDCANCEL,61,40,38,14 - LTEXT "Card Number",IDC_STATIC,3,13,47,13 - COMBOBOX IDC_COMBO1,51,13,48,84,CBS_DROPDOWN | WS_VSCROLL | - WS_TABSTOP -END - - -///////////////////////////////////////////////////////////////////////////// -// -// DESIGNINFO -// - -#ifdef APSTUDIO_INVOKED -GUIDELINES DESIGNINFO DISCARDABLE -BEGIN - IDD_DIALOG2, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 99 - TOPMARGIN, 7 - BOTTOMMARGIN, 54 - END -END -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// Menu -// - -U7260MENU MENU DISCARDABLE -BEGIN - MENUITEM "E&xit!", IDM_EXIT -END - -#endif // English (U.S.) resources -///////////////////////////////////////////////////////////////////////////// - - - -#ifndef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 3 resource. -// - - -///////////////////////////////////////////////////////////////////////////// -#endif // not APSTUDIO_INVOKED - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7260/SDK7260intMsg/resource.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7260/SDK7260intMsg/resource.h deleted file mode 100644 index 7453a6b..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7260/SDK7260intMsg/resource.h +++ /dev/null @@ -1,30 +0,0 @@ -//{{NO_DEPENDENCIES}} -// Microsoft Developer Studio generated include file. -// Used by 7260int.rc -// -#define IDM_SETUP 101 -#define IDD_DIALOG1 101 -#define IDD_DIALOG2 102 -#define IDM_EXIT 110 -#define IDM_GO 300 -#define IDM_ABOUT 301 -#define DMA_DATA 302 -#define ID_STOP 304 -#define IDM_CLEAR 305 -#define DMA_SPACE 500 -#define IDC_COMBO1 1004 -#define IDC_COMBO2 1005 -#define IDC_EDIT1 1007 -#define IDC_EDIT2 1008 -#define IDC_STATIC -1 - -// Next default values for new objects -// -#ifdef APSTUDIO_INVOKED -#ifndef APSTUDIO_READONLY_SYMBOLS -#define _APS_NEXT_RESOURCE_VALUE 103 -#define _APS_NEXT_COMMAND_VALUE 102 -#define _APS_NEXT_CONTROL_VALUE 1008 -#define _APS_NEXT_SYMED_VALUE 101 -#endif -#endif diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7260/VB7260/7260glbl.bas b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7260/VB7260/7260glbl.bas deleted file mode 100644 index 77a2e7f..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7260/VB7260/7260glbl.bas +++ /dev/null @@ -1,4 +0,0 @@ -Attribute VB_Name = "Module1" -Global card As Integer -Global card_number As Integer - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7260/VB7260/726_0.bmp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7260/VB7260/726_0.bmp deleted file mode 100644 index 9dbd165..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7260/VB7260/726_0.bmp and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7260/VB7260/726_1.bmp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7260/VB7260/726_1.bmp deleted file mode 100644 index 2881aa3..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7260/VB7260/726_1.bmp and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7260/VB7260/Base7260.frm b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7260/VB7260/Base7260.frm deleted file mode 100644 index 6627dee..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7260/VB7260/Base7260.frm +++ /dev/null @@ -1,98 +0,0 @@ -VERSION 5.00 -Begin VB.Form SettingForm - Appearance = 0 'Flat - BackColor = &H00C0C0C0& - Caption = "Card Number Setting" - ClientHeight = 1275 - ClientLeft = 4590 - ClientTop = 4545 - ClientWidth = 2820 - BeginProperty Font - Name = "MS Sans Serif" - Size = 8.25 - Charset = 0 - Weight = 700 - Underline = 0 'False - Italic = 0 'False - Strikethrough = 0 'False - EndProperty - ForeColor = &H80000008& - LinkTopic = "Form2" - PaletteMode = 1 'UseZOrder - ScaleHeight = 1275 - ScaleWidth = 2820 - Begin VB.CommandButton OKBtn - Appearance = 0 'Flat - BackColor = &H80000005& - Caption = "OK" - Default = -1 'True - Height = 315 - Left = 300 - TabIndex = 0 - Top = 720 - Width = 915 - End - Begin VB.CommandButton CancelBtn - Appearance = 0 'Flat - BackColor = &H80000005& - Cancel = -1 'True - Caption = "Cancel" - Height = 315 - Left = 1380 - TabIndex = 3 - Top = 720 - Width = 915 - End - Begin VB.ComboBox CardNum - Appearance = 0 'Flat - Height = 300 - Left = 1440 - Style = 2 'Dropdown List - TabIndex = 2 - Top = 120 - Width = 1035 - End - Begin VB.Label Label2 - Appearance = 0 'Flat - BackColor = &H00C0C0C0& - Caption = "Card Number:" - ForeColor = &H00000000& - Height = 195 - Index = 0 - Left = 180 - TabIndex = 1 - Top = 180 - Width = 1275 - End -End -Attribute VB_Name = "SettingForm" -Attribute VB_GlobalNameSpace = False -Attribute VB_Creatable = False -Attribute VB_PredeclaredId = True -Attribute VB_Exposed = False - - -Private Sub BaseAddr_Change() - -End Sub - - -Private Sub CancelBtn_Click() - Unload SettingForm -End Sub - -Private Sub Form_Load() - Dim i As Long - For i = 0 To 15 Step 1 - CardNum.AddItem i - Next - CardNum.ListIndex = 0 -End Sub - -Private Sub OKBtn_Click() - card = -1 - card_number = CardNum.ListIndex - card = Register_Card(PCI_7260, card_number) - Unload SettingForm -End Sub - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7260/VB7260/Util7260.Frm b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7260/VB7260/Util7260.Frm deleted file mode 100644 index 98fbe84..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7260/VB7260/Util7260.Frm +++ /dev/null @@ -1,308 +0,0 @@ -VERSION 5.00 -Begin VB.Form util7260 - Appearance = 0 'Flat - BackColor = &H00C0C0C0& - Caption = "PCI-7260 Sample Program" - ClientHeight = 1950 - ClientLeft = 2370 - ClientTop = 1815 - ClientWidth = 5070 - BeginProperty Font - Name = "MS Sans Serif" - Size = 8.25 - Charset = 0 - Weight = 700 - Underline = 0 'False - Italic = 0 'False - Strikethrough = 0 'False - EndProperty - ForeColor = &H80000008& - LinkTopic = "Form1" - PaletteMode = 1 'UseZOrder - ScaleHeight = 1950 - ScaleWidth = 5070 - Begin VB.Timer Timer1 - Interval = 100 - Left = 300 - Top = 1140 - End - Begin VB.Frame Frame1 - Appearance = 0 'Flat - BackColor = &H00008000& - Caption = "Digital Output" - ForeColor = &H000000FF& - Height = 615 - Index = 1 - Left = 1380 - TabIndex = 1 - Top = 840 - Width = 3195 - Begin VB.Image DOP0 - Appearance = 0 'Flat - Height = 300 - Index = 7 - Left = 180 - Picture = "Util7260.frx":0000 - Top = 240 - Width = 300 - End - Begin VB.Image DOP0 - Appearance = 0 'Flat - Height = 300 - Index = 6 - Left = 540 - Picture = "Util7260.frx":0172 - Top = 240 - Width = 300 - End - Begin VB.Image DOP0 - Appearance = 0 'Flat - Height = 300 - Index = 5 - Left = 900 - Picture = "Util7260.frx":02E4 - Top = 240 - Width = 300 - End - Begin VB.Image DOP0 - Appearance = 0 'Flat - Height = 300 - Index = 4 - Left = 1260 - Picture = "Util7260.frx":0456 - Top = 240 - Width = 300 - End - Begin VB.Image DOP0 - Appearance = 0 'Flat - Height = 300 - Index = 2 - Left = 1980 - Picture = "Util7260.frx":05C8 - Top = 240 - Width = 300 - End - Begin VB.Image DOP0 - Appearance = 0 'Flat - Height = 300 - Index = 3 - Left = 1620 - Picture = "Util7260.frx":073A - Top = 240 - Width = 300 - End - Begin VB.Image DOP0 - Appearance = 0 'Flat - Height = 300 - Index = 1 - Left = 2340 - Picture = "Util7260.frx":08AC - Top = 240 - Width = 300 - End - Begin VB.Image DOP0 - Appearance = 0 'Flat - Height = 300 - Index = 0 - Left = 2700 - Picture = "Util7260.frx":0A1E - Top = 240 - Width = 300 - End - End - Begin VB.Frame Frame1 - Appearance = 0 'Flat - BackColor = &H00008000& - Caption = "Digital Input" - ForeColor = &H00FF0000& - Height = 615 - Index = 0 - Left = 1380 - TabIndex = 0 - Top = 180 - Width = 3195 - Begin VB.Image DI0 - Appearance = 0 'Flat - Height = 300 - Index = 0 - Left = 2700 - Picture = "Util7260.frx":0B90 - Top = 240 - Width = 300 - End - Begin VB.Image DI0 - Appearance = 0 'Flat - Height = 300 - Index = 1 - Left = 2340 - Picture = "Util7260.frx":0D02 - Top = 240 - Width = 300 - End - Begin VB.Image DI0 - Appearance = 0 'Flat - Height = 300 - Index = 2 - Left = 1980 - Picture = "Util7260.frx":0E74 - Top = 240 - Width = 300 - End - Begin VB.Image DI0 - Appearance = 0 'Flat - Height = 300 - Index = 3 - Left = 1620 - Picture = "Util7260.frx":0FE6 - Top = 240 - Width = 300 - End - Begin VB.Image DI0 - Appearance = 0 'Flat - Height = 300 - Index = 4 - Left = 1260 - Picture = "Util7260.frx":1158 - Top = 240 - Width = 300 - End - Begin VB.Image DI0 - Appearance = 0 'Flat - Height = 300 - Index = 5 - Left = 900 - Picture = "Util7260.frx":12CA - Top = 240 - Width = 300 - End - Begin VB.Image DI0 - Appearance = 0 'Flat - Height = 300 - Index = 6 - Left = 540 - Picture = "Util7260.frx":143C - Top = 240 - Width = 300 - End - Begin VB.Image DI0 - Appearance = 0 'Flat - Height = 300 - Index = 7 - Left = 180 - Picture = "Util7260.frx":15AE - Top = 240 - Width = 300 - End - End - Begin VB.Label Label1 - Alignment = 2 'Center - BackColor = &H00C00000& - Caption = "PCI-7260" - ForeColor = &H00FFFFFF& - Height = 255 - Left = 60 - TabIndex = 2 - Top = 120 - Width = 1095 - End - Begin VB.Image Image1 - Appearance = 0 'Flat - Height = 300 - Left = 780 - Picture = "Util7260.frx":1720 - Top = 1500 - Visible = 0 'False - Width = 300 - End - Begin VB.Image Image0 - Appearance = 0 'Flat - Height = 300 - Left = 780 - Picture = "Util7260.frx":1892 - Top = 1200 - Visible = 0 'False - Width = 300 - End - Begin VB.Menu mnuExit - Caption = "&Exit!" - End -End -Attribute VB_Name = "util7260" -Attribute VB_GlobalNameSpace = False -Attribute VB_Creatable = False -Attribute VB_PredeclaredId = True -Attribute VB_Exposed = False -Option Explicit -Dim status(0 To 7) As Byte -Dim do_data(1) As Long -Private Sub DOP0_Click(Index As Integer) - Dim i As Integer, v As Integer, d As Integer - Dim Port As Integer - Port = Fix(Index / 8) - d = 2 ^ (Index Mod 8) - If status(Index) = 1 Then - do_data(Port) = do_data(Port) - d - DOP0(Index).Picture = Image0.Picture - status(Index) = 0 - Else - do_data(Port) = do_data(Port) + d - DOP0(Index).Picture = Image1.Picture - status(Index) = 1 - End If - v = DO_WritePort(card, Port, do_data(Port)) - -End Sub - - -Private Sub Form_Load() - Dim i As Integer, result As Integer - SettingForm.Show 1 - If card < 0 Then - MsgBox "Register Card Failed" - End - End If - For i = 0 To 7 - status(i) = 0 - Next - - do_data(0) = 0 - -End Sub - -Private Sub Form_Unload(Cancel As Integer) - Dim result As Integer - If card >= 0 Then - result = Release_Card(card) - End If - End -End Sub - - -Private Sub mnuExit_Click() - Dim result As Integer - If card >= 0 Then - result = Release_Card(card) - End If - End -End Sub - -Private Sub Timer1_Timer() - Dim result As Integer - Dim di_data As Long - Dim i As Integer - Dim p As Integer - Dim Port As Integer - - Port = 0 - result = DI_ReadPort(card, Port, di_data) - For i = 0 To 7 - p = di_data Mod 2 - If p = 0 Then - DI0(Port * 8 + i) = Image0 - Else 'p = 1 - DI0(Port * 8 + i) = Image1 - End If - di_data = CInt(Int(di_data / 2)) - Next - End Sub - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7260/VB7260/Util7260.Vbp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7260/VB7260/Util7260.Vbp deleted file mode 100644 index 85e6e54..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7260/VB7260/Util7260.Vbp +++ /dev/null @@ -1,34 +0,0 @@ -Type=Exe -Form=Util7260.Frm -Module=DASK; ..\..\..\Include\Dask.bas -Module=Module1; 7260glbl.bas -Form=Base7260.frm -Reference=*\G{00025E04-0000-0000-C000-000000000046}#3.5#0#C:\PROGRAM FILES\COMMON FILES\MICROSOFT SHARED\DAO\dao2535.tlb#Microsoft DAO 2.5/3.0 Compatibility Library -IconForm="util7260" -Startup="util7260" -ExeName32="Util7260.exe" -Command32="" -Name="vb4projectUtil725" -HelpContextID="0" -CompatibleMode="0" -MajorVer=1 -MinorVer=0 -RevisionVer=0 -AutoIncrementVer=0 -ServerSupportFiles=0 -VersionCompanyName="ADLINK" -CompilationType=0 -OptimizationType=0 -FavorPentiumPro(tm)=0 -CodeViewDebugInfo=0 -NoAliasing=0 -BoundsCheck=0 -OverflowCheck=0 -FlPointCheck=0 -FDIVCheck=0 -UnroundedFP=0 -StartMode=0 -Unattended=0 -Retained=0 -ThreadPerObject=0 -MaxNumberOfThreads=1 diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7260/VB7260/Util7260.frx b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7260/VB7260/Util7260.frx deleted file mode 100644 index 1869f08..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7260/VB7260/Util7260.frx and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7260/VB7260/Util7260.vbw b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7260/VB7260/Util7260.vbw deleted file mode 100644 index 3adea6b..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7260/VB7260/Util7260.vbw +++ /dev/null @@ -1,4 +0,0 @@ -util7260 = 198, 198, 721, 638, Z, 132, 132, 655, 572, C -DASK = 22, 22, 545, 462, -Module1 = 110, 110, 633, 550, -SettingForm = 66, 66, 589, 506, , 44, 44, 567, 484, C diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7260/WdtOvflow/WdtOvflow.c b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7260/WdtOvflow/WdtOvflow.c deleted file mode 100644 index 6bf1b8d..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7260/WdtOvflow/WdtOvflow.c +++ /dev/null @@ -1,60 +0,0 @@ -#include -#include -#include "dask.h" - -void main() -{ - I16 card=-1, err=0, card_num; - U32 pattern= 0, waitMS=0, result=0; - F32 rt = 0.0; - U8 sts = 0; - HANDLE hWDTEvent = NULL; - U16 cardType=0, cardIndex=0; - - printf("Please input a card number: "); - scanf(" %d", &card_num); - //getch(); - if ((card=Register_Card (PCI_7260, card_num)) <0 ) { - printf("Register_Card error=%d\n", card); - exit(1); - } - err = IdentifyLED_Control (card, 1); - //return 0; - GetInitPattern (card, INIT_PTN, &pattern); - printf("Init Pattern: %x\n", pattern); - GetInitPattern (card, EMGSHDN_PTN, &pattern); - printf("EMG Shutdown Pattern: %x\n", pattern); - err = WDT_Setup (card, 0, 5.0, &rt, &hWDTEvent); - if(err != NoError) { - printf("WDT_Setup err %d!", err); - Release_Card(card); - exit(1); - } - err = WDT_Control (card, 0, WDT_ARM); - if(err != NoError) { - printf("WDT_Control err %d!", err); - Release_Card(card); - exit(1); - } - printf("\nWDT will overflow after %.4f seconds ...\n", rt); - waitMS = (U32) rt*1000*2; - result = WaitForSingleObject(hWDTEvent, waitMS); - if (result == WAIT_OBJECT_0) { - printf("\nWDT is overflowed !!\n"); - EMGShutDownStatus (card, &sts); - if(sts) - EMGShutDownControl (card, EMGSHDN_RECOVERY); - Sleep(10); - DO_ReadPort (card, 0, &result); - printf("\nThe current pattern is : %x\n", result); - printf("\nPress any key to continue ...\n"); - err = IdentifyLED_Control (card, 0); - getch(); - } else if(result == WAIT_TIMEOUT) { - printf("\nWait Failed ...\n"); - } else - printf("\nWaitForSingleObject error %d ...\n", GetLastError()); - - WDT_Control (card, 0, WDT_DISARM); - Release_Card(card); -} \ No newline at end of file diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7260/WdtOvflow/WdtOvflow.dsp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7260/WdtOvflow/WdtOvflow.dsp deleted file mode 100644 index 4f5abee..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7260/WdtOvflow/WdtOvflow.dsp +++ /dev/null @@ -1,92 +0,0 @@ -# Microsoft Developer Studio Project File - Name="WdtOvflow" - Package Owner=<4> -# Microsoft Developer Studio Generated Build File, Format Version 5.00 -# ** DO NOT EDIT ** - -# TARGTYPE "Win32 (x86) Console Application" 0x0103 - -CFG=WdtOvflow - Win32 Debug -!MESSAGE This is not a valid makefile. To build this project using NMAKE, -!MESSAGE use the Export Makefile command and run -!MESSAGE -!MESSAGE NMAKE /f "WdtOvflow.mak". -!MESSAGE -!MESSAGE You can specify a configuration when running NMAKE -!MESSAGE by defining the macro CFG on the command line. For example: -!MESSAGE -!MESSAGE NMAKE /f "WdtOvflow.mak" CFG="WdtOvflow - Win32 Debug" -!MESSAGE -!MESSAGE Possible choices for configuration are: -!MESSAGE -!MESSAGE "WdtOvflow - Win32 Release" (based on\ - "Win32 (x86) Console Application") -!MESSAGE "WdtOvflow - Win32 Debug" (based on "Win32 (x86) Console Application") -!MESSAGE - -# Begin Project -# PROP Scc_ProjName "" -# PROP Scc_LocalPath "" -CPP=cl.exe -RSC=rc.exe - -!IF "$(CFG)" == "WdtOvflow - Win32 Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "Release" -# PROP BASE Intermediate_Dir "Release" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "" -# PROP Intermediate_Dir "Release" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c -# ADD CPP /nologo /W3 /GX /O2 /I "..\..\include" /I "..\..\..\include" /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /FD /c -# SUBTRACT CPP /YX -# ADD BASE RSC /l 0x404 /d "NDEBUG" -# ADD RSC /l 0x409 /d "NDEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ..\..\..\lib\pci-dask.lib /nologo /subsystem:console /machine:I386 - -!ELSEIF "$(CFG)" == "WdtOvflow - Win32 Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "Debug" -# PROP BASE Intermediate_Dir "Debug" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "Debug" -# PROP Intermediate_Dir "Debug" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /Gm /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c -# ADD CPP /nologo /W3 /Gm /GX /Zi /Od /I "..\..\..\include" /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /FD /c -# SUBTRACT CPP /YX -# ADD BASE RSC /l 0x404 /d "_DEBUG" -# ADD RSC /l 0x409 /d "_DEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ..\..\..\lib\pci-dask.lib /nologo /subsystem:console /incremental:no /debug /machine:I386 /pdbtype:sept - -!ENDIF - -# Begin Target - -# Name "WdtOvflow - Win32 Release" -# Name "WdtOvflow - Win32 Debug" -# Begin Source File - -SOURCE=.\WdtOvflow.c -# End Source File -# End Target -# End Project diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7260/WdtOvflow/WdtOvflow.dsw b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7260/WdtOvflow/WdtOvflow.dsw deleted file mode 100644 index e703346..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7260/WdtOvflow/WdtOvflow.dsw +++ /dev/null @@ -1,29 +0,0 @@ -Microsoft Developer Studio Workspace File, Format Version 5.00 -# WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE! - -############################################################################### - -Project: "WdtOvflow"=.\WdtOvflow.dsp - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ -}}} - -############################################################################### - -Global: - -Package=<5> -{{{ -}}} - -Package=<3> -{{{ -}}} - -############################################################################### - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7260/WdtOvflow/WdtOvflow.exe b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7260/WdtOvflow/WdtOvflow.exe deleted file mode 100644 index 1e02a17..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7260/WdtOvflow/WdtOvflow.exe and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7296/SDK7296/Resource.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7296/SDK7296/Resource.h deleted file mode 100644 index 3d17300..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7296/SDK7296/Resource.h +++ /dev/null @@ -1,19 +0,0 @@ -//{{NO_DEPENDENCIES}} -// Microsoft Developer Studio generated include file. -// Used by Util7296.rc -// -#define IDD_DIALOG1 101 -#define IDM_EXIT 110 -#define IDC_COMBO1 1004 -#define IDC_STATIC -1 - -// Next default values for new objects -// -#ifdef APSTUDIO_INVOKED -#ifndef APSTUDIO_READONLY_SYMBOLS -#define _APS_NEXT_RESOURCE_VALUE 102 -#define _APS_NEXT_COMMAND_VALUE 101 -#define _APS_NEXT_CONTROL_VALUE 1000 -#define _APS_NEXT_SYMED_VALUE 101 -#endif -#endif diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7296/SDK7296/UTIL7296.EXE b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7296/SDK7296/UTIL7296.EXE deleted file mode 100644 index 39165d2..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7296/SDK7296/UTIL7296.EXE and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7296/SDK7296/UTIL7296.MAK b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7296/SDK7296/UTIL7296.MAK deleted file mode 100644 index 0fc3584..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7296/SDK7296/UTIL7296.MAK +++ /dev/null @@ -1,219 +0,0 @@ -# Microsoft Developer Studio Generated NMAKE File, Format Version 4.00 -# ** DO NOT EDIT ** - -# TARGTYPE "Win32 (x86) Application" 0x0101 - -!IF "$(CFG)" == "" -CFG=util7296 - Win32 Debug -!MESSAGE No configuration specified. Defaulting to util7296 - Win32 Debug. -!ENDIF - -!IF "$(CFG)" != "util7296 - Win32 Release" && "$(CFG)" !=\ - "util7296 - Win32 Debug" -!MESSAGE Invalid configuration "$(CFG)" specified. -!MESSAGE You can specify a configuration when running NMAKE on this makefile -!MESSAGE by defining the macro CFG on the command line. For example: -!MESSAGE -!MESSAGE NMAKE /f "util7296.mak" CFG="util7296 - Win32 Debug" -!MESSAGE -!MESSAGE Possible choices for configuration are: -!MESSAGE -!MESSAGE "util7296 - Win32 Release" (based on "Win32 (x86) Application") -!MESSAGE "util7296 - Win32 Debug" (based on "Win32 (x86) Application") -!MESSAGE -!ERROR An invalid configuration is specified. -!ENDIF - -!IF "$(OS)" == "Windows_NT" -NULL= -!ELSE -NULL=nul -!ENDIF -################################################################################ -# Begin Project -# PROP Target_Last_Scanned "util7296 - Win32 Debug" -RSC=rc.exe -CPP=cl.exe -MTL=mktyplib.exe - -!IF "$(CFG)" == "util7296 - Win32 Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "Release" -# PROP BASE Intermediate_Dir "Release" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "" -# PROP Intermediate_Dir "Release" -# PROP Target_Dir "" -OUTDIR=. -INTDIR=.\Release - -ALL : "$(OUTDIR)\util7296.exe" - -CLEAN : - -@erase ".\util7296.exe" - -@erase ".\Release\Util7296.obj" - -@erase ".\Release\Util7296.res" - -"$(INTDIR)" : - if not exist "$(INTDIR)/$(NULL)" mkdir "$(INTDIR)" - -# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /YX /c -# ADD CPP /nologo /W3 /GX /Od /I "..\..\..\include" /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /c -# SUBTRACT CPP /YX -CPP_PROJ=/nologo /ML /W3 /GX /Od /I "..\..\..\include" /D "WIN32" /D "NDEBUG"\ - /D "_WINDOWS" /Fo"$(INTDIR)/" /c -CPP_OBJS=.\Release/ -CPP_SBRS= -# ADD BASE MTL /nologo /D "NDEBUG" /win32 -# ADD MTL /nologo /D "NDEBUG" /win32 -MTL_PROJ=/nologo /D "NDEBUG" /win32 -# ADD BASE RSC /l 0x409 /d "NDEBUG" -# ADD RSC /l 0x409 /d "NDEBUG" -RSC_PROJ=/l 0x409 /fo"$(INTDIR)/Util7296.res" /d "NDEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -BSC32_FLAGS=/nologo /o"$(OUTDIR)/util7296.bsc" -BSC32_SBRS= -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:windows /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ..\..\..\lib\pci-dask.lib /nologo /subsystem:windows /machine:I386 -LINK32_FLAGS=kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib\ - advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib\ - odbccp32.lib ..\..\..\lib\pci-dask.lib /nologo /subsystem:windows\ - /incremental:no /pdb:"$(OUTDIR)/util7296.pdb" /machine:I386\ - /out:"$(OUTDIR)/util7296.exe" -LINK32_OBJS= \ - ".\Release\Util7296.obj" \ - ".\Release\Util7296.res" - -"$(OUTDIR)\util7296.exe" : "$(OUTDIR)" $(DEF_FILE) $(LINK32_OBJS) - $(LINK32) @<< - $(LINK32_FLAGS) $(LINK32_OBJS) -<< - -!ELSEIF "$(CFG)" == "util7296 - Win32 Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "Debug" -# PROP BASE Intermediate_Dir "Debug" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "Debug" -# PROP Intermediate_Dir "Debug" -# PROP Target_Dir "" -OUTDIR=.\Debug -INTDIR=.\Debug - -ALL : "$(OUTDIR)\util7296.exe" - -CLEAN : - -@erase ".\Debug\vc40.pdb" - -@erase ".\Debug\vc40.idb" - -@erase ".\Debug\util7296.exe" - -@erase ".\Debug\Util7296.obj" - -@erase ".\Debug\Util7296.res" - -@erase ".\Debug\util7296.ilk" - -@erase ".\Debug\util7296.pdb" - -"$(OUTDIR)" : - if not exist "$(OUTDIR)/$(NULL)" mkdir "$(OUTDIR)" - -# ADD BASE CPP /nologo /W3 /Gm /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /YX /c -# ADD CPP /nologo /W3 /Gm /GX /Zi /Od /I "..\..\..\include" /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /c -# SUBTRACT CPP /YX -CPP_PROJ=/nologo /MLd /W3 /Gm /GX /Zi /Od /I "..\..\..\include" /D "WIN32" /D\ - "_DEBUG" /D "_WINDOWS" /Fo"$(INTDIR)/" /Fd"$(INTDIR)/" /c -CPP_OBJS=.\Debug/ -CPP_SBRS= -# ADD BASE MTL /nologo /D "_DEBUG" /win32 -# ADD MTL /nologo /D "_DEBUG" /win32 -MTL_PROJ=/nologo /D "_DEBUG" /win32 -# ADD BASE RSC /l 0x409 /d "_DEBUG" -# ADD RSC /l 0x409 /d "_DEBUG" -RSC_PROJ=/l 0x409 /fo"$(INTDIR)/Util7296.res" /d "_DEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -BSC32_FLAGS=/nologo /o"$(OUTDIR)/util7296.bsc" -BSC32_SBRS= -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:windows /debug /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ..\..\..\lib\pci-dask.lib /nologo /subsystem:windows /debug /machine:I386 -LINK32_FLAGS=kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib\ - advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib\ - odbccp32.lib ..\..\..\lib\pci-dask.lib /nologo /subsystem:windows\ - /incremental:yes /pdb:"$(OUTDIR)/util7296.pdb" /debug /machine:I386\ - /out:"$(OUTDIR)/util7296.exe" -LINK32_OBJS= \ - ".\Debug\Util7296.obj" \ - ".\Debug\Util7296.res" - -"$(OUTDIR)\util7296.exe" : "$(OUTDIR)" $(DEF_FILE) $(LINK32_OBJS) - $(LINK32) @<< - $(LINK32_FLAGS) $(LINK32_OBJS) -<< - -!ENDIF - -.c{$(CPP_OBJS)}.obj: - $(CPP) $(CPP_PROJ) $< - -.cpp{$(CPP_OBJS)}.obj: - $(CPP) $(CPP_PROJ) $< - -.cxx{$(CPP_OBJS)}.obj: - $(CPP) $(CPP_PROJ) $< - -.c{$(CPP_SBRS)}.sbr: - $(CPP) $(CPP_PROJ) $< - -.cpp{$(CPP_SBRS)}.sbr: - $(CPP) $(CPP_PROJ) $< - -.cxx{$(CPP_SBRS)}.sbr: - $(CPP) $(CPP_PROJ) $< - -################################################################################ -# Begin Target - -# Name "util7296 - Win32 Release" -# Name "util7296 - Win32 Debug" - -!IF "$(CFG)" == "util7296 - Win32 Release" - -!ELSEIF "$(CFG)" == "util7296 - Win32 Debug" - -!ENDIF - -################################################################################ -# Begin Source File - -SOURCE=.\Util7296.rc - -"$(INTDIR)\Util7296.res" : $(SOURCE) "$(INTDIR)" - $(RSC) $(RSC_PROJ) $(SOURCE) - - -# End Source File -################################################################################ -# Begin Source File - -SOURCE=.\Util7296.c -DEP_CPP_UTIL7=\ - ".\..\..\..\include\Dask.h"\ - - -"$(INTDIR)\Util7296.obj" : $(SOURCE) $(DEP_CPP_UTIL7) "$(INTDIR)" - - -# End Source File -# End Target -# End Project -################################################################################ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7296/SDK7296/UTIL7296.MDP b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7296/SDK7296/UTIL7296.MDP deleted file mode 100644 index 3942e34..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7296/SDK7296/UTIL7296.MDP and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7296/SDK7296/Util7296.c b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7296/SDK7296/Util7296.c deleted file mode 100644 index 4dd589b..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7296/SDK7296/Util7296.c +++ /dev/null @@ -1,712 +0,0 @@ -/*;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; -;; Copyright (c) 1995-1999, ADLink Technology Inc. All rights reserved. ;; -;; ;; -;; File Name : UTIL7296.C ;; -;; Purpose : This PCI-DASK sample program demonstrate how to ;; -;; operate DI & DO for PCI-7296 ;; -;; Date : 07/20/1999 ;; -;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;*/ - -#include "windows.h" -#include -#include -#include -#include -#include -#include "Dask.h" -#include "resource.h" - -#define IDM_EXIT 110 -#define TIMER 2 - -int PASCAL WinMain(HANDLE, HANDLE, LPSTR, int); -long PASCAL MainWndProc(HWND, UINT, WPARAM, LPARAM); - -HANDLE hInst; -HWND hAddrComboBox; -I16 card=-1, card_number = 0; - -U32 inputA[4], inputB[4], inputC[4] , inputD[4]; -U32 outputA[4],outputB[4],outputC[4] ,outputD[4]; -U32 oldinputA[4], oldinputB[4], oldinputC[4] , oldinputD[4]; -U32 temp_output; - -HBRUSH hLTGreenBrush,hGreenBrush,hBlueBrush,hYellowBrush,hRedBrush; - -int port_a[4]; -int port_b[4]; -int port_c_upper[4]; -int port_c_lower[4]; - - -POINT input_pos[4][8]; -POINT output_pos[4][8]; -POINT io_pos[4][8]; - -BOOL InitApplication(HANDLE); -BOOL InitInstance(HANDLE, int); - -int PASCAL WinMain(hInstance, hPrevInstance, lpCmdLine, nCmdShow) -HANDLE hInstance, hPrevInstance; -LPSTR lpCmdLine; -int nCmdShow; -{ - MSG msg; - - if (!hPrevInstance) - if (!InitApplication(hInstance)) return(FALSE); - if (!InitInstance(hInstance, nCmdShow)) return(FALSE); - while (GetMessage(&msg, NULL, 0, 0)) { - TranslateMessage(&msg); - DispatchMessage(&msg); - } - return(msg.wParam); -} - -BOOL InitApplication(hInstance) -HANDLE hInstance; -{ - WNDCLASS wc; - - /* Main Window Class */ - wc.style = 0; - wc.lpfnWndProc = (WNDPROC)MainWndProc; - wc.cbClsExtra = 0; - wc.cbWndExtra = 0; - wc.hInstance = hInstance; - wc.hIcon = LoadIcon(hInstance, "MyIcon"); - wc.hCursor = LoadCursor(NULL, IDC_ARROW); - wc.hbrBackground = GetStockObject(LTGRAY_BRUSH); - wc.lpszMenuName = NULL; - wc.lpszClassName = "GenericWClass"; - if (!RegisterClass(&wc)) return(FALSE); -} - -BOOL InitInstance(hInstance, nCmdShow) -HANDLE hInstance; -int nCmdShow; -{ - HWND hWnd; - HMENU hSampleMenu; - - hInst = hInstance; - hSampleMenu = LoadMenu(hInstance, "U7120Menu"); - hWnd = CreateWindow("GenericWClass", - (LPCSTR)"PCI-7296", - WS_OVERLAPPEDWINDOW, - CW_USEDEFAULT, - CW_USEDEFAULT, - 650, - 330, - NULL, - hSampleMenu, - hInstance, - NULL); - if (!hWnd) return(FALSE); - ShowWindow(hWnd, nCmdShow); - UpdateWindow(hWnd); - return(TRUE); -} - -BOOL PASCAL setup(HWND hWnd, unsigned message, WPARAM wParam, LPARAM lParam) -{ - int i; - char n[16]; - char s[50]; - switch (message) { - case WM_INITDIALOG: - for (i=0;i<16;i++) { - wsprintf(n, "%d", i); - _strupr(n); - SendMessage(GetDlgItem(hWnd,IDC_COMBO1), CB_ADDSTRING, NULL, (LONG)(LPSTR) n); - } - SendMessage(GetDlgItem(hWnd,IDC_COMBO1) , CB_SETCURSEL, 0, 0L); - - break; - case WM_COMMAND: - switch(LOWORD(wParam)) { - - case IDC_COMBO1: - if (HIWORD(wParam) == CBN_CLOSEUP) { - i = (int)SendMessage(GetDlgItem(hWnd,IDC_COMBO1), CB_GETCURSEL, 0, 0L); - SendMessage(GetDlgItem(hWnd,IDC_COMBO1), CB_GETLBTEXT, i, (LPARAM)((LPCSTR)n)); - card_number = i; - } - return(TRUE); - case IDOK: - if ((card=Register_Card(PCI_7296, card_number)) < 0) { - wsprintf(s, "Register_Card Error = %d\n", card); - MessageBox(hWnd, s, "Error", MB_OK); - } - EndDialog(hWnd, TRUE); - InvalidateRect(hWnd, NULL, FALSE); - return (TRUE); - case IDCANCEL: - EndDialog(hWnd, TRUE); - return (TRUE); - } - break; - } - return (FALSE); -} - -long PASCAL MainWndProc(hWnd, message, wParam, lParam) -HWND hWnd; -UINT message; -WPARAM wParam; -LPARAM lParam; -{ - - HDC hDC; - PAINTSTRUCT ps; - int i, k, px, py; - - switch(message) { - case WM_CREATE: - DialogBox(hInst,IDD_DIALOG1, hWnd, setup); - if(card<0) { - SendMessage(hWnd, WM_CLOSE, 0, 0L); - break; - } - hLTGreenBrush = CreateSolidBrush(RGB(0, 255, 0)); - hGreenBrush = CreateSolidBrush(RGB(0, 128, 0)); - hBlueBrush = CreateSolidBrush(RGB(0, 0, 255)); - hRedBrush = CreateSolidBrush(RGB(255, 0, 0)); - - input_pos[0][0].x=180; - input_pos[0][0].y=40; - input_pos[0][1].x=160; - input_pos[0][1].y=40; - input_pos[0][2].x=140; - input_pos[0][2].y=40; - input_pos[0][3].x=120; - input_pos[0][3].y=40; - input_pos[0][4].x=100; - input_pos[0][4].y=40; - input_pos[0][5].x=80; - input_pos[0][5].y=40; - input_pos[0][6].x=60; - input_pos[0][6].y=40; - input_pos[0][7].x=40; - input_pos[0][7].y=40; - - output_pos[0][0].x=480; - output_pos[0][0].y=40; - output_pos[0][1].x=460; - output_pos[0][1].y=40; - output_pos[0][2].x=440; - output_pos[0][2].y=40; - output_pos[0][3].x=420; - output_pos[0][3].y=40; - output_pos[0][4].x=400; - output_pos[0][4].y=40; - output_pos[0][5].x=380; - output_pos[0][5].y=40; - output_pos[0][6].x=360; - output_pos[0][6].y=40; - output_pos[0][7].x=340; - output_pos[0][7].y=40; - - io_pos[0][0].x=590; - io_pos[0][0].y=40; - io_pos[0][1].x=570; - io_pos[0][1].y=40; - io_pos[0][2].x=550; - io_pos[0][2].y=40; - io_pos[0][3].x=530; - io_pos[0][3].y=40; - io_pos[0][4].x=290; - io_pos[0][4].y=40; - io_pos[0][5].x=270; - io_pos[0][5].y=40; - io_pos[0][6].x=250; - io_pos[0][6].y=40; - io_pos[0][7].x=230; - io_pos[0][7].y=40; - - for (i=1;i<4;i++) { - for (k=0;k<8;k++) - { - input_pos[i][k].x =input_pos[0][k].x; - input_pos[i][k].y =input_pos[0][k].y+i*50; - output_pos[i][k].x =output_pos[0][k].x; - output_pos[i][k].y =output_pos[0][k].y+i*50; - io_pos[i][k].x =io_pos[0][k].x; - io_pos[i][k].y =io_pos[0][k].y+i*50; - } - } - - for (i=0;i<4;i++) - { - inputA[i]=0; - outputA[i]=0; - oldinputA[i]=0; - - inputB[i]=0; - outputB[i]=0; - oldinputB[i]=0; - - inputC[i]=0; - outputC[i]=0; - oldinputC[i]=0; - - inputD[i]=0; - outputD[i]=0; - oldinputD[i]=0; - - port_a[i]=0; - DIO_PortConfig(card,5*i+Channel_P1A, INPUT_PORT); - port_b[i]=0; - DIO_PortConfig(card,5*i+Channel_P1B, INPUT_PORT); - port_c_upper[i]=0; - DIO_PortConfig(card,5*i+Channel_P1CL, INPUT_PORT); - port_c_lower[i]=0; - DIO_PortConfig(card,5*i+Channel_P1CH, INPUT_PORT); - } - - SetTimer(hWnd, TIMER, 50, NULL); - srand((unsigned)time(NULL)); - break; - case WM_PAINT: - hDC = BeginPaint(hWnd, &ps); - - // Label - SetTextColor(hDC,RGB(255,255,255)); - SetBkColor(hDC, RGB(0, 0, 255)); - TextOut(hDC, 5, 40, "CN1", 3); - SetTextColor(hDC,RGB(255,255,255)); - SetBkColor(hDC, RGB(0, 0, 255)); - TextOut(hDC, 5, 80, "CN2", 3); - SetBkColor(hDC, RGB(0, 0, 255)); - TextOut(hDC, 5, 130, "CN3", 3); - SetBkColor(hDC, RGB(0, 0, 255)); - TextOut(hDC, 5, 180, "CN4", 3); - // Digital Input Box - for (i=0;i<4;i++ ) - { - if ( port_a[i]==0 ) - SelectObject(hDC, hLTGreenBrush); - else - SelectObject(hDC, hGreenBrush); - Rectangle(hDC, input_pos[i][7].x-5, input_pos[i][7].y-12, input_pos[i][0].x+26, input_pos[i][0].y+30); - SetTextColor(hDC,RGB(0,0,0)); - SelectObject(hDC, hLTGreenBrush); - Rectangle(hDC, input_pos[i][0].x+25, input_pos[i][0].y-12, input_pos[i][0].x+41, input_pos[i][0].y+9); - SetBkColor(hDC, RGB(0, 255, 0)); - TextOut(hDC, input_pos[i][0].x+30, input_pos[i][7].y-11, "I", 1); - SelectObject(hDC, hGreenBrush); - Rectangle(hDC, input_pos[i][0].x+25, input_pos[i][0].y+9, input_pos[i][0].x+41, input_pos[i][0].y+30); - SetBkColor(hDC, RGB(0, 128, 0)); - TextOut(hDC, input_pos[i][0].x+27, input_pos[i][7].y+7, "O", 1); - } - - for (i=0;i<4;i++ ) - { - if ( port_b[i]==0 ) - SelectObject(hDC, hLTGreenBrush); - else - SelectObject(hDC, hGreenBrush); - Rectangle(hDC, output_pos[i][7].x-5, output_pos[i][7].y-12, output_pos[i][0].x+26, output_pos[i][0].y+30); - SelectObject(hDC, hGreenBrush); - SetTextColor(hDC,RGB(0,0,0)); - Rectangle(hDC, output_pos[i][0].x+25, output_pos[i][0].y+9, output_pos[i][0].x+41, output_pos[i][0].y+30); - SetBkColor(hDC, RGB(0, 128, 0)); - TextOut(hDC, output_pos[i][0].x+27, output_pos[i][7].y+9, "O", 1); - SelectObject(hDC, hLTGreenBrush); - Rectangle(hDC, output_pos[i][0].x+25, output_pos[i][0].y-12, output_pos[i][0].x+41, output_pos[i][0].y+9); - SetBkColor(hDC, RGB(0, 255, 0)); - TextOut(hDC, output_pos[i][0].x+30, output_pos[i][7].y-11, "I", 1); - } - for (i=0;i<4;i++ ) - { - if ( port_c_upper[i]==0 ) - SelectObject(hDC, hLTGreenBrush); - else - SelectObject(hDC, hGreenBrush); - Rectangle(hDC, io_pos[i][7].x-5, io_pos[i][7].y-12, io_pos[i][4].x+21, io_pos[i][4].y+30); - SelectObject(hDC, hLTGreenBrush); - Rectangle(hDC, io_pos[i][4].x+25, io_pos[i][4].y-12, io_pos[i][4].x+41, io_pos[i][4].y+9); - SetBkColor(hDC, RGB(0, 255, 0)); - SetTextColor(hDC,RGB(0,0,0)); - TextOut(hDC, io_pos[i][4].x+30, io_pos[i][4].y-11, "I", 1); - SelectObject(hDC, hGreenBrush); - Rectangle(hDC, io_pos[i][4].x+25, io_pos[i][4].y+9, io_pos[i][4].x+41, io_pos[i][4].y+30); - SetBkColor(hDC, RGB(0, 128, 0)); - TextOut(hDC, io_pos[i][4].x+28, io_pos[i][4].y+9, "O", 1); - } - for (i=0;i<4;i++ ) - { - if ( port_c_lower[i]==0 ) - SelectObject(hDC, hLTGreenBrush); - else - SelectObject(hDC, hGreenBrush); - Rectangle(hDC, io_pos[i][3].x-5, io_pos[i][3].y-12, io_pos[i][0].x+21, io_pos[i][0].y+30); - SelectObject(hDC, hLTGreenBrush); - Rectangle(hDC, io_pos[i][0].x+25, io_pos[i][0].y-12, io_pos[i][0].x+41, io_pos[i][0].y+9); - SetBkColor(hDC, RGB(0, 255, 0)); - SetTextColor(hDC,RGB(0,0,0)); - TextOut(hDC, io_pos[i][0].x+30, io_pos[i][7].y-11, "I", 1); - SelectObject(hDC, hGreenBrush); - Rectangle(hDC, io_pos[i][0].x+25, io_pos[i][0].y+9, io_pos[i][0].x+41, io_pos[i][0].y+30); - SetBkColor(hDC, RGB(0, 128, 0)); - TextOut(hDC, io_pos[i][0].x+28, io_pos[i][7].y+9, "O", 1); - } - - SetTextColor(hDC,RGB(255,255,255)); - SetBkColor(hDC, RGB(0, 0, 255)); - TextOut(hDC, input_pos[0][7].x, input_pos[0][7].y-20, "Port A", 6); - TextOut(hDC, output_pos[0][7].x, output_pos[0][7].y-20, "Port B", 6); - TextOut(hDC, io_pos[0][7].x, io_pos[0][7].y-20, "Port C(Upper)", 13); - TextOut(hDC, io_pos[0][3].x, io_pos[0][3].y-20, "Port C(Lower)", 13); - // Channel Label - SetBkMode(hDC,TRANSPARENT); - SetTextColor(hDC,RGB(0,0,0)); - TextOut(hDC, input_pos[0][7].x, input_pos[0][7].y+16, " 7 0", 36); - TextOut(hDC, io_pos[0][7].x, io_pos[0][7].y+16, " 3 0", 16); - TextOut(hDC, io_pos[0][3].x, io_pos[0][3].y+16, " 3 0", 16); - TextOut(hDC, output_pos[0][7].x,output_pos[0][7].y+16," 7 0", 36); - - SetBkMode(hDC,OPAQUE); - - // Detect Channel Input - for (k=0;k<4;k++ ) - { - if ( port_a[k]==0 ) - { - for (i=0; i<8; i++) { - if ((inputA[k]>>i)&0x01) - SelectObject(hDC, hRedBrush); - else - SelectObject(hDC, GetStockObject(WHITE_BRUSH)); - Ellipse(hDC, input_pos[k][i].x, input_pos[k][i].y, input_pos[k][i].x+17, input_pos[k][i].y+17); - } - } - else - { - // Detect Channel Output - for (i=0; i<8; i++) { - if ((outputA[k]>>i)&0x01) - SelectObject(hDC, hRedBrush); - else - SelectObject(hDC, GetStockObject(WHITE_BRUSH)); - Ellipse(hDC, input_pos[k][i].x, input_pos[k][i].y, input_pos[k][i].x+17, input_pos[k][i].y+17); - } - } - - if ( port_b[k]==0 ) - { - for (i=0; i<8; i++) { - if ((inputB[k]>>i)&0x01) - SelectObject(hDC, hRedBrush); - else - SelectObject(hDC, GetStockObject(WHITE_BRUSH)); - Ellipse(hDC, output_pos[k][i].x, output_pos[k][i].y, output_pos[k][i].x+17, output_pos[k][i].y+17); - } - } - else - { - for (i=0; i<8; i++) { - if ((outputB[k]>>i)&0x01) - SelectObject(hDC, hRedBrush); - else - SelectObject(hDC, GetStockObject(WHITE_BRUSH)); - Ellipse(hDC, output_pos[k][i].x, output_pos[k][i].y, output_pos[k][i].x+17, output_pos[k][i].y+17); - } - } - if ( port_c_lower[k]==0) - { - for (i=0; i<4; i++) { - if ((inputC[k]>>i)&0x01) - SelectObject(hDC, hRedBrush); - else - SelectObject(hDC, GetStockObject(WHITE_BRUSH)); - Ellipse(hDC, io_pos[k][i].x, io_pos[k][i].y, io_pos[k][i].x+17, io_pos[k][i].y+17); - } - } - else - { - for (i=0; i<4; i++) { - if ((outputC[k]>>i)&0x01) - SelectObject(hDC, hRedBrush); - else - SelectObject(hDC, GetStockObject(WHITE_BRUSH)); - Ellipse(hDC, io_pos[k][i].x, io_pos[k][i].y, io_pos[k][i].x+17, io_pos[k][i].y+17); - } - } - if ( port_c_upper[k]==0) - { - for (i=0; i<4; i++) { - if ((inputD[k]>>i)&0x01) - SelectObject(hDC, hRedBrush); - else - SelectObject(hDC, GetStockObject(WHITE_BRUSH)); - Ellipse(hDC, io_pos[k][i+4].x, io_pos[k][i+4].y, io_pos[k][i+4].x+17, io_pos[k][i+4].y+17); - } - } - else - { - for (i=0; i<4; i++) { - if ((outputD[k]>>i)&0x01) - SelectObject(hDC, hRedBrush); - else - SelectObject(hDC, GetStockObject(WHITE_BRUSH)); - Ellipse(hDC, io_pos[k][i+4].x, io_pos[k][i+4].y, io_pos[k][i+4].x+17, io_pos[k][i+4].y+17); - } - } - } //k - - EndPaint(hWnd, &ps); - break; - case WM_COMMAND: - switch(LOWORD(wParam)) { - case IDM_EXIT: - SendMessage(hWnd, WM_CLOSE, 0, 0L); - break; - - default: - return(DefWindowProc(hWnd, message, wParam, lParam)); - } - break; - case WM_TIMER: - - /* Digital Input */ - hDC=GetDC(hWnd); - for(k=0;k<4;k++) - { - if ( port_a[k]==0) { - DI_ReadPort(card,5*k+Channel_P1A,&inputA[k]); - for (i=0; i<8; i++) { - if (((inputA[k]>>i)&0x01) != ((oldinputA[k]>>i)&0x01) ) - { - if ((inputA[k]>>i)&0x01) - SelectObject(hDC, hRedBrush); - else - SelectObject(hDC, GetStockObject(WHITE_BRUSH)); - Ellipse(hDC, input_pos[k][i].x, input_pos[k][i].y, input_pos[k][i].x+17, input_pos[k][i].y+17); - } - } - oldinputA[k]=inputA[k]; - } - else { - DO_WritePort(card,5*k+Channel_P1A, outputA[k]); - } - - if ( port_b[k]==0){ - DI_ReadPort(card,5*k+Channel_P1B,&inputB[k]); - for (i=0; i<8; i++) { - if( ((inputB[k]>>i)&0x01) != ((oldinputB[k]>>i)&0x01) ) - { - if ((inputB[k]>>i)&0x01) - SelectObject(hDC, hRedBrush); - else - SelectObject(hDC, GetStockObject(WHITE_BRUSH)); - Ellipse(hDC, output_pos[k][i].x, output_pos[k][i].y, output_pos[k][i].x+17, output_pos[k][i].y+17); - } - } - oldinputB[k]=inputB[k]; - } - else { - DO_WritePort(card,5*k+Channel_P1B,outputB[k]); - } - - if ( port_c_lower[k]==0){ - DI_ReadPort(card,5*k+Channel_P1CL,&inputC[k]); - for (i=0; i<4; i++) { - if( ((inputC[k]>>i)&0x01) != ((oldinputC[k]>>i)&0x01) ) - { - if ((inputC[k]>>i)&0x01) - SelectObject(hDC, hRedBrush); - else - SelectObject(hDC, GetStockObject(WHITE_BRUSH)); - Ellipse(hDC, io_pos[k][i].x, io_pos[k][i].y, io_pos[k][i].x+17, io_pos[k][i].y+17); - } - } //for - oldinputC[k]=inputC[k]; - } //if - else { - DO_WritePort(card,5*k+Channel_P1CL, outputC[k]); - } - if ( port_c_upper[k]==0){ - DI_ReadPort(card,5*k+Channel_P1CH, &inputD[k]); - for (i=0; i<4; i++) { - if( ((inputD[k]>>i)&0x01) != ((oldinputD[k]>>i)&0x01) ) - { - if ((inputD[k]>>i)&0x01) - SelectObject(hDC, hRedBrush); - else - SelectObject(hDC, GetStockObject(WHITE_BRUSH)); - Ellipse(hDC, io_pos[k][i+4].x, io_pos[k][i+4].y, io_pos[k][i+4].x+17, io_pos[k][i+4].y+17); - } - } - oldinputD[k]=inputD[k]; - } - else - { - DO_WritePort(card,5*k+Channel_P1CH,outputD[k]); - } - } //k - ReleaseDC(hWnd, hDC); - //} - break; - case WM_DESTROY: - if (card >= 0) Release_Card(card); - DeleteObject(hRedBrush); - DeleteObject(hGreenBrush); - DeleteObject(hLTGreenBrush); - KillTimer(hWnd, TIMER); - PostQuitMessage(0); - break; - case WM_LBUTTONDOWN: - px = LOWORD(lParam); - py = HIWORD(lParam); - - for (k=0;k<4;k++ ) - { - if (px>(input_pos[k][0].x+25) && px<(input_pos[k][0].x+41)) - { - if (py>(input_pos[k][0].y-12) && py<(input_pos[k][0].y+7)) - { - port_a[k]=0; - DIO_PortConfig(card,5*k+Channel_P1A, INPUT_PORT); - InvalidateRect(hWnd, NULL, FALSE); - } - else - if (py>(input_pos[k][0].y+7) && py<(input_pos[k][0].y+26)) - { - port_a[k]=1; - DIO_PortConfig(card,5*k+Channel_P1A, OUTPUT_PORT); - InvalidateRect(hWnd, NULL, FALSE); - } - } - if (px>(output_pos[k][0].x+25) && px<(output_pos[k][0].x+41)) - { - if (py>(output_pos[k][0].y-12) && py<(output_pos[k][0].y+7)) - { - port_b[k]=0; - DIO_PortConfig(card,5*k+Channel_P1B, INPUT_PORT); - InvalidateRect(hWnd, NULL, FALSE); - } - else - if (py>(output_pos[k][0].y+7) && py<(output_pos[k][0].y+26)) - { - port_b[k]=1; - DIO_PortConfig(card,5*k+Channel_P1B, OUTPUT_PORT); - InvalidateRect(hWnd, NULL, FALSE); - } - } - if (px>(io_pos[k][0].x+25) && px<(io_pos[k][0].x+41)) - { - if (py>(io_pos[k][0].y-12) && py<(io_pos[k][0].y+7)) - { - port_c_lower[k]=0; - DIO_PortConfig(card,5*k+Channel_P1CL, INPUT_PORT); - InvalidateRect(hWnd, NULL, FALSE); - } - else - if (py>(io_pos[k][0].y+7) && py<(io_pos[k][0].y+26)) - { - port_c_lower[k]=1; - DIO_PortConfig(card,5*k+Channel_P1CL, OUTPUT_PORT); - InvalidateRect(hWnd, NULL, FALSE); - } - } - if (px>(io_pos[k][4].x+25) && px<(io_pos[k][4].x+41)) - { - if (py>(io_pos[k][4].y-12) && py<(io_pos[k][4].y+7)) - { - port_c_upper[k]=0; - DIO_PortConfig(card,5*k+Channel_P1CH, INPUT_PORT); - InvalidateRect(hWnd, NULL, FALSE); - } - else - if (py>(io_pos[k][4].y+7) && py<(io_pos[k][4].y+26)) - { - port_c_upper[k]=1; - DIO_PortConfig(card,5*k+Channel_P1CH, OUTPUT_PORT); - InvalidateRect(hWnd, NULL, FALSE); - } - } - }//k - hDC = GetDC(hWnd); - for (k=0;k<4;k++) - { - if ( port_a[k]==1 ){ - for (i=0; i<8; i++) { - if (px>input_pos[k][i].x && pxinput_pos[k][i].y && py>i)&0x01) { - outputA[k] -= (((unsigned char)1)<output_pos[k][i].x && pxoutput_pos[k][i].y && py>i)&0x01) { - outputB[k] -= (((unsigned char)1)<io_pos[k][i].x && pxio_pos[k][i].y && py>i)&0x01) { - outputC[k] -= (((unsigned char)1)<io_pos[k][i+4].x && pxio_pos[k][i+4].y && py>i)&0x01) { - outputD[k] -= (((unsigned char)1)< - #include - #include - #include - #include "Dask.h" - #include "resource.h" - - #define IDM_SETUP 101 - #define IDD_DIALOG1 101 - #define IDM_EXIT 110 - #define IDM_GO 300 - #define IDM_CLEAR 305 - #define IDC_COMBO1 1004 - #define IDC_EDIT1 1007 - #define IDC_EDIT2 1008 - #define WM_INT 2000 - - HANDLE hInst; /* current instance */ - HWND hMainWnd; - I16 card=-1, card_number = 0; - - int total_count =40; - int sample_rate=20000; - unsigned int buffer[32768], in_buffer[32768]; - char Buf[80]; - int c1=20,c2=20; - int int_count[2] ={0, 0}; - - int PASCAL WinMain(HANDLE, HANDLE, LPSTR, int); - BOOL InitApplication(HANDLE); - BOOL InitInstance(HANDLE, int); - long PASCAL MainWndProc(HWND, unsigned, WPARAM, LPARAM); - BOOL PASCAL About(HWND, unsigned, WPARAM, LPARAM); - BOOL PASCAL ShowDMA(HWND, unsigned, WPARAM, LPARAM); - LRESULT CALLBACK cbfn(); - void mesgfn(); - - /********************************************************************** - - FUNCTION: WinMain(HANDLE, HANDLE, LPSTR, int) - PURPOSE: calls initialization function, processes message loop - - ***********************************************************************/ - - int PASCAL WinMain(hInstance, hPrevInstance, lpCmdLine, nCmdShow) - - HANDLE hInstance; - HANDLE hPrevInstance; - LPSTR lpCmdLine; - int nCmdShow; - - { - MSG msg; - - if(!hPrevInstance) - if(!InitApplication(hInstance)) - return(FALSE); - - if(!InitInstance(hInstance, nCmdShow)) - return(FALSE); - - while ( GetMessage(&msg, NULL, NULL, NULL)) - { - TranslateMessage(&msg); - DispatchMessage(&msg); - } - return(msg.wParam); - } - -/**************************************************************************** - - FUNCTION: InitApplication(HANDLE) - - PURPOSE: Initializes window data and registers window class - -****************************************************************************/ - -BOOL InitApplication(hInstance) -HANDLE hInstance; -{ - WNDCLASS wc; - - wc.style = NULL; - wc.lpfnWndProc = MainWndProc; - wc.cbClsExtra = 0; - wc.cbWndExtra = 0; - wc.hInstance = hInstance; - wc.hIcon = LoadIcon(NULL, IDI_APPLICATION); - wc.hCursor = LoadCursor(hInstance, IDC_ARROW); - wc.hbrBackground = GetStockObject(WHITE_BRUSH); - wc.lpszMenuName = "IntMenu"; - wc.lpszClassName = "IntClass"; - - return (RegisterClass(&wc)); -} - -/**************************************************************************** - - FUNCTION: InitInstance(HANDLE, int) - - PURPOSE: Saves instance handle and creates main window - -****************************************************************************/ - -BOOL InitInstance(hInstance, nCmdShow) -HANDLE hInstance; -int nCmdShow; -{ - HWND hWnd; - - hInst = hInstance; - hWnd = CreateWindow("IntClass", - "PCI-7296 Interrupt Samples", - WS_OVERLAPPEDWINDOW, - 200, - 100, - 375, - 370, - NULL, - NULL, - hInstance, - NULL); - - if (!hWnd) return (FALSE); - ShowWindow(hWnd, nCmdShow); - UpdateWindow(hWnd); - return (TRUE); -} - - -BOOL PASCAL setup(HWND hWnd, unsigned message, WPARAM wParam, LPARAM lParam) -{ - int i,k=0; - char s[100]; - char n[20]; - BOOL ok; - - - switch (message) { - case WM_INITDIALOG: - for (i=0;i<16;i++) { - wsprintf(n, "%d", i); - _strupr(n); - SendMessage(GetDlgItem(hWnd,IDC_COMBO1), CB_ADDSTRING, NULL, (LONG)(LPSTR) n); - } - SendMessage(GetDlgItem(hWnd,IDC_COMBO1) , CB_SETCURSEL, 0, 0L); - if(card >=0) - EnableWindow(GetDlgItem(hWnd,IDC_COMBO1), FALSE); - SendMessage(GetDlgItem(hWnd,IDC_EDIT2) , WM_SETTEXT, 0, "5000"); - SendMessage(GetDlgItem(hWnd,IDC_EDIT1) , WM_SETTEXT, 0, "40"); - - break; - case WM_COMMAND: - switch(LOWORD(wParam)) { - case IDC_COMBO1: - if (HIWORD(wParam) == CBN_CLOSEUP) { - i = (int)SendMessage(GetDlgItem(hWnd,IDC_COMBO1), CB_GETCURSEL, 0, 0L); - SendMessage(GetDlgItem(hWnd,IDC_COMBO1), CB_GETLBTEXT, i, (LPARAM)((LPCSTR)n)); - card_number = i; - } - return(TRUE); - case IDOK: - if (card < 0) { - if ((card=Register_Card(PCI_7296,card_number))< 0) { - wsprintf(s, "Register_Card Error = %d\n", card); - MessageBox(hWnd, s, "Error", MB_OK); - } - } - total_count = GetDlgItemInt(hWnd,IDC_EDIT1, &ok, FALSE); - if (total_count > 32768) { - MessageBox(hWnd,"Count can be assigned at most 32768", "INT", MB_OK); - break; - } - for (i=0;i255) k=0; - } - for (i=0;i 15000 ) sample_rate=15000; - c2=2000000/(sample_rate*c1); - - EndDialog(hWnd, TRUE); - return (TRUE); - case IDCANCEL: - EndDialog(hWnd, TRUE); - return (TRUE); - } - break; - } - return (FALSE); -} - -/**************************************************************************** - - FUNCTION: MainWndProc(HWND, UINT, WPARAM, LPARAM) - - PURPOSE: Processes messages - - -****************************************************************************/ - -long PASCAL MainWndProc(hWnd, message, wParam, lParam) -HWND hWnd; -unsigned message; -WPARAM wParam; -LPARAM lParam; -{ - HDC hDC1; - PAINTSTRUCT ps; - FARPROC lpProc; - - hMainWnd = hWnd; - switch(message) { - - case WM_CREATE: - break; - case WM_PAINT: - hDC1=BeginPaint(hWnd, &ps); - wsprintf(Buf,"This program demostrates how to use dual interrupt line."); - TextOut(hDC1,20,10,Buf,strlen(Buf)); - wsprintf(Buf,"The IRQ source of INT1 is P1C0."); - TextOut(hDC1,20,30,Buf,strlen(Buf)); - wsprintf(Buf," The IRQ source of INT2 is internal Timer Output"); - TextOut(hDC1,20,50,Buf,strlen(Buf)); - SetTextColor(hDC1, RGB(255,0,0)); - wsprintf(Buf,"Using cable to connect CN1 and CN2"); - TextOut(hDC1,20,70,Buf,strlen(Buf)); - wsprintf(Buf,"Push 'Setup' button first ..."); - TextOut(hDC1,20,90,Buf,strlen(Buf)); - EndPaint(hWnd, &ps); - break; - case WM_COMMAND: - switch(wParam) { - case IDM_SETUP: - lpProc = MakeProcInstance(setup, hInst); - DialogBox(hInst,IDD_DIALOG1,hWnd,lpProc); - FreeProcInstance(lpProc); - if(card<0) - SendMessage(hWnd, WM_CLOSE, 0, 0L); - break; - - case IDM_GO: - // Interrupt Trigger - int_count[0]=0; - int_count[1]=0; - DIO_PortConfig(card,Channel_P1A, INPUT_PORT); - DIO_PortConfig(card,Channel_P2A, OUTPUT_PORT); - DIO_PortConfig(card,Channel_P1C, INPUT_PORT); - DIO_PortConfig(card,Channel_P2C, OUTPUT_PORT); - - DIO_INT1_EventMessage (card, INT1_FP1C0, hWnd, NULL, (void *) cbfn); - DIO_INT2_EventMessage (card, INT2_TIMER_COUNTER, hWnd, WM_INT, NULL); - - CTR_Setup (card, 1, 2, c1, BIN); - CTR_Setup (card, 2, 2, c2, BIN); - break; - - case IDM_CLEAR : - PostQuitMessage(0); - break; - } - break; - case WM_INT: - //int_count[0]++; - mesgfn(); - break; - case WM_DESTROY: - if (card >= 0) Release_Card(card); - PostQuitMessage(0); - break; - - default: - return (DefWindowProc(hWnd, message, wParam, lParam)); - } - return(0L); -} - -void mesgfn() -{ - HDC hDC; - int i; - - hDC=GetDC(hMainWnd); - if(int_count[1] =10 && i<20) { - wsprintf(Buf,"%d, ",in_buffer[i]); - TextOut(hDC,20+25*(i-10),220,Buf,strlen(Buf)); - } - if(i>=20 && i<30) { - wsprintf(Buf,"%d, ",in_buffer[i]); - TextOut(hDC,20+25*(i-20),245,Buf,strlen(Buf)); - } - if (i>=30 && i<40) { - wsprintf(Buf,"%d, ",in_buffer[i]); - TextOut(hDC,20+25*(i-30),270,Buf,strlen(Buf)); - } - if (i>=40 && i<50) { - wsprintf(Buf,"%d, ",in_buffer[i]); - TextOut(hDC,20+25*(i-40),295,Buf,strlen(Buf)); - } - } - ReleaseDC(hMainWnd, hDC); - } -} - -LRESULT CALLBACK cbfn() -{ - int_count[0]++; -} - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7296/SDK7296DbEvtMsg/7296INT.MAK b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7296/SDK7296DbEvtMsg/7296INT.MAK deleted file mode 100644 index b012c99..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7296/SDK7296DbEvtMsg/7296INT.MAK +++ /dev/null @@ -1,219 +0,0 @@ -# Microsoft Developer Studio Generated NMAKE File, Format Version 4.00 -# ** DO NOT EDIT ** - -# TARGTYPE "Win32 (x86) Application" 0x0101 - -!IF "$(CFG)" == "" -CFG=7296int - Win32 Debug -!MESSAGE No configuration specified. Defaulting to 7296int - Win32 Debug. -!ENDIF - -!IF "$(CFG)" != "7296int - Win32 Release" && "$(CFG)" !=\ - "7296int - Win32 Debug" -!MESSAGE Invalid configuration "$(CFG)" specified. -!MESSAGE You can specify a configuration when running NMAKE on this makefile -!MESSAGE by defining the macro CFG on the command line. For example: -!MESSAGE -!MESSAGE NMAKE /f "7296INT.MAK" CFG="7296int - Win32 Debug" -!MESSAGE -!MESSAGE Possible choices for configuration are: -!MESSAGE -!MESSAGE "7296int - Win32 Release" (based on "Win32 (x86) Application") -!MESSAGE "7296int - Win32 Debug" (based on "Win32 (x86) Application") -!MESSAGE -!ERROR An invalid configuration is specified. -!ENDIF - -!IF "$(OS)" == "Windows_NT" -NULL= -!ELSE -NULL=nul -!ENDIF -################################################################################ -# Begin Project -# PROP Target_Last_Scanned "7296int - Win32 Debug" -CPP=cl.exe -RSC=rc.exe -MTL=mktyplib.exe - -!IF "$(CFG)" == "7296int - Win32 Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "Release" -# PROP BASE Intermediate_Dir "Release" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "" -# PROP Intermediate_Dir "Release" -# PROP Target_Dir "" -OUTDIR=. -INTDIR=.\Release - -ALL : "$(OUTDIR)\7296INT.exe" - -CLEAN : - -@erase ".\7296INT.exe" - -@erase ".\Release\7296int.obj" - -@erase ".\Release\7296int.res" - -"$(INTDIR)" : - if not exist "$(INTDIR)/$(NULL)" mkdir "$(INTDIR)" - -# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /YX /c -# ADD CPP /nologo /MT /W3 /GX /Od /I "..\..\..\include" /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /c -# SUBTRACT CPP /YX -CPP_PROJ=/nologo /MT /W3 /GX /Od /I "..\..\..\include" /D "WIN32" /D "NDEBUG"\ - /D "_WINDOWS" /Fo"$(INTDIR)/" /c -CPP_OBJS=.\Release/ -CPP_SBRS= -# ADD BASE MTL /nologo /D "NDEBUG" /win32 -# ADD MTL /nologo /D "NDEBUG" /win32 -MTL_PROJ=/nologo /D "NDEBUG" /win32 -# ADD BASE RSC /l 0x409 /d "NDEBUG" -# ADD RSC /l 0x409 /d "NDEBUG" -RSC_PROJ=/l 0x409 /fo"$(INTDIR)/7296int.res" /d "NDEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -BSC32_FLAGS=/nologo /o"$(OUTDIR)/7296INT.bsc" -BSC32_SBRS= -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:windows /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ..\..\..\lib\pci-dask.lib /nologo /subsystem:windows /machine:I386 -LINK32_FLAGS=kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib\ - advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib\ - odbccp32.lib ..\..\..\lib\pci-dask.lib /nologo /subsystem:windows\ - /incremental:no /pdb:"$(OUTDIR)/7296INT.pdb" /machine:I386\ - /out:"$(OUTDIR)/7296INT.exe" -LINK32_OBJS= \ - "$(INTDIR)/7296int.obj" \ - "$(INTDIR)/7296int.res" - -"$(OUTDIR)\7296INT.exe" : "$(OUTDIR)" $(DEF_FILE) $(LINK32_OBJS) - $(LINK32) @<< - $(LINK32_FLAGS) $(LINK32_OBJS) -<< - -!ELSEIF "$(CFG)" == "7296int - Win32 Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "Debug" -# PROP BASE Intermediate_Dir "Debug" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "Debug" -# PROP Intermediate_Dir "Debug" -# PROP Target_Dir "" -OUTDIR=.\Debug -INTDIR=.\Debug - -ALL : "$(OUTDIR)\7296INT.exe" - -CLEAN : - -@erase ".\Debug\vc40.pdb" - -@erase ".\Debug\vc40.idb" - -@erase ".\Debug\7296INT.exe" - -@erase ".\Debug\7296int.obj" - -@erase ".\Debug\7296int.res" - -@erase ".\Debug\7296INT.ilk" - -@erase ".\Debug\7296INT.pdb" - -"$(OUTDIR)" : - if not exist "$(OUTDIR)/$(NULL)" mkdir "$(OUTDIR)" - -# ADD BASE CPP /nologo /W3 /Gm /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /YX /c -# ADD CPP /nologo /MTd /W3 /Gm /GX /Zi /Od /I "..\..\..\include" /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /c -# SUBTRACT CPP /YX -CPP_PROJ=/nologo /MTd /W3 /Gm /GX /Zi /Od /I "..\..\..\include" /D "WIN32" /D\ - "_DEBUG" /D "_WINDOWS" /Fo"$(INTDIR)/" /Fd"$(INTDIR)/" /c -CPP_OBJS=.\Debug/ -CPP_SBRS= -# ADD BASE MTL /nologo /D "_DEBUG" /win32 -# ADD MTL /nologo /D "_DEBUG" /win32 -MTL_PROJ=/nologo /D "_DEBUG" /win32 -# ADD BASE RSC /l 0x409 /d "_DEBUG" -# ADD RSC /l 0x409 /d "_DEBUG" -RSC_PROJ=/l 0x409 /fo"$(INTDIR)/7296int.res" /d "_DEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -BSC32_FLAGS=/nologo /o"$(OUTDIR)/7296INT.bsc" -BSC32_SBRS= -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:windows /debug /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ..\..\..\lib\pci-dask.lib /nologo /subsystem:windows /debug /machine:I386 -LINK32_FLAGS=kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib\ - advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib\ - odbccp32.lib ..\..\..\lib\pci-dask.lib /nologo /subsystem:windows\ - /incremental:yes /pdb:"$(OUTDIR)/7296INT.pdb" /debug /machine:I386\ - /out:"$(OUTDIR)/7296INT.exe" -LINK32_OBJS= \ - "$(INTDIR)/7296int.obj" \ - "$(INTDIR)/7296int.res" - -"$(OUTDIR)\7296INT.exe" : "$(OUTDIR)" $(DEF_FILE) $(LINK32_OBJS) - $(LINK32) @<< - $(LINK32_FLAGS) $(LINK32_OBJS) -<< - -!ENDIF - -.c{$(CPP_OBJS)}.obj: - $(CPP) $(CPP_PROJ) $< - -.cpp{$(CPP_OBJS)}.obj: - $(CPP) $(CPP_PROJ) $< - -.cxx{$(CPP_OBJS)}.obj: - $(CPP) $(CPP_PROJ) $< - -.c{$(CPP_SBRS)}.sbr: - $(CPP) $(CPP_PROJ) $< - -.cpp{$(CPP_SBRS)}.sbr: - $(CPP) $(CPP_PROJ) $< - -.cxx{$(CPP_SBRS)}.sbr: - $(CPP) $(CPP_PROJ) $< - -################################################################################ -# Begin Target - -# Name "7296int - Win32 Release" -# Name "7296int - Win32 Debug" - -!IF "$(CFG)" == "7296int - Win32 Release" - -!ELSEIF "$(CFG)" == "7296int - Win32 Debug" - -!ENDIF - -################################################################################ -# Begin Source File - -SOURCE=.\7296int.rc - -"$(INTDIR)\7296int.res" : $(SOURCE) "$(INTDIR)" - $(RSC) $(RSC_PROJ) $(SOURCE) - - -# End Source File -################################################################################ -# Begin Source File - -SOURCE=.\7296int.c -DEP_CPP_7296I=\ - ".\..\..\..\include\Dask.h"\ - - -"$(INTDIR)\7296int.obj" : $(SOURCE) $(DEP_CPP_7296I) "$(INTDIR)" - - -# End Source File -# End Target -# End Project -################################################################################ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7296/SDK7296DbEvtMsg/7296INT.MDP b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7296/SDK7296DbEvtMsg/7296INT.MDP deleted file mode 100644 index d4afe3d..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7296/SDK7296DbEvtMsg/7296INT.MDP and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7296/SDK7296DbEvtMsg/7296INT.RC b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7296/SDK7296DbEvtMsg/7296INT.RC deleted file mode 100644 index 7281e15..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7296/SDK7296DbEvtMsg/7296INT.RC +++ /dev/null @@ -1,125 +0,0 @@ -//Microsoft Developer Studio generated resource script. -// -#include "resource.h" - -#define APSTUDIO_READONLY_SYMBOLS -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 2 resource. -// -#define APSTUDIO_HIDDEN_SYMBOLS -#include "windows.h" -#undef APSTUDIO_HIDDEN_SYMBOLS - -///////////////////////////////////////////////////////////////////////////// -#undef APSTUDIO_READONLY_SYMBOLS - -///////////////////////////////////////////////////////////////////////////// -// English (U.S.) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -#ifdef _WIN32 -LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US -#pragma code_page(1252) -#endif //_WIN32 - -#ifdef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// TEXTINCLUDE -// - -1 TEXTINCLUDE DISCARDABLE -BEGIN - "resource.h\0" -END - -2 TEXTINCLUDE DISCARDABLE -BEGIN - "#define APSTUDIO_HIDDEN_SYMBOLS\r\n" - "#include ""windows.h""\r\n" - "#undef APSTUDIO_HIDDEN_SYMBOLS\r\n" - "\0" -END - -3 TEXTINCLUDE DISCARDABLE -BEGIN - "\r\n" - "\0" -END - -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// Menu -// - -INTMENU MENU DISCARDABLE -BEGIN - MENUITEM "Setup", IDM_SETUP - MENUITEM "Interrupt Trigger", IDM_GO - MENUITEM "Exit", IDM_CLEAR -END - - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog -// - -IDD_DIALOG1 DIALOG DISCARDABLE 0, 0, 133, 105 -STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "Setup Dialog" -FONT 10, "System" -BEGIN - DEFPUSHBUTTON "OK",IDOK,7,86,47,14 - PUSHBUTTON "Cancel",IDCANCEL,72,86,45,14 - LTEXT "Total Count",IDC_STATIC,7,33,53,12 - LTEXT "Sampling Rate",IDC_STATIC,7,59,53,12 - EDITTEXT IDC_EDIT1,60,32,63,15,ES_AUTOHSCROLL - EDITTEXT IDC_EDIT2,60,56,63,15,ES_AUTOHSCROLL - LTEXT "Card Number",IDC_STATIC,7,12,48,13 - COMBOBOX IDC_COMBO1,60,12,63,84,CBS_DROPDOWN | WS_VSCROLL | - WS_TABSTOP -END - - -///////////////////////////////////////////////////////////////////////////// -// -// DESIGNINFO -// - -#ifdef APSTUDIO_INVOKED -GUIDELINES DESIGNINFO DISCARDABLE -BEGIN - IDD_DIALOG1, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 123 - VERTGUIDE, 7 - VERTGUIDE, 60 - TOPMARGIN, 4 - BOTTOMMARGIN, 100 - HORZGUIDE, 71 - HORZGUIDE, 87 - END -END -#endif // APSTUDIO_INVOKED - -#endif // English (U.S.) resources -///////////////////////////////////////////////////////////////////////////// - - - -#ifndef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 3 resource. -// - - -///////////////////////////////////////////////////////////////////////////// -#endif // not APSTUDIO_INVOKED - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7296/SDK7296DbEvtMsg/7296int.exe b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7296/SDK7296DbEvtMsg/7296int.exe deleted file mode 100644 index 9bf45cb..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7296/SDK7296DbEvtMsg/7296int.exe and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7296/SDK7296DbEvtMsg/Resource.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7296/SDK7296DbEvtMsg/Resource.h deleted file mode 100644 index 5a22550..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7296/SDK7296DbEvtMsg/Resource.h +++ /dev/null @@ -1,26 +0,0 @@ -//{{NO_DEPENDENCIES}} -// Microsoft Developer Studio generated include file. -// Used by 7296int.rc -// -#define IDM_SETUP 101 -#define IDD_DIALOG1 101 -#define IDM_EXIT 110 -#define IDM_GO 300 -#define ID_STOP 304 -#define IDM_CLEAR 305 -#define IDC_COMBO1 1004 -#define IDC_COMBO2 1005 -#define IDC_EDIT1 1007 -#define IDC_EDIT2 1008 -#define IDC_STATIC -1 - -// Next default values for new objects -// -#ifdef APSTUDIO_INVOKED -#ifndef APSTUDIO_READONLY_SYMBOLS -#define _APS_NEXT_RESOURCE_VALUE 103 -#define _APS_NEXT_COMMAND_VALUE 102 -#define _APS_NEXT_CONTROL_VALUE 1008 -#define _APS_NEXT_SYMED_VALUE 101 -#endif -#endif diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7296/SDK7296Int/7296INT.C b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7296/SDK7296Int/7296INT.C deleted file mode 100644 index 4cec9d2..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7296/SDK7296Int/7296INT.C +++ /dev/null @@ -1,322 +0,0 @@ -/*;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; -;; Copyright (c) 1995-1999, ADLink Technology Inc. All rights reserved. ;; -;; ;; -;; File Name : 7296int.C ;; -;; Purpose : This sample program demonstrates DIO through ;; -;; interrupt operation ;; -;; Date : 07/20/1998 ;; -;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;*/ - - #include - #include - #include - #include - #include "Dask.h" - - #define IDM_SETUP 101 - #define IDD_DIALOG1 101 - #define IDM_EXIT 110 - #define IDM_GO 300 - #define IDM_CLEAR 305 - #define IDC_COMBO1 1004 - #define IDC_COMBO2 1005 - #define IDC_EDIT1 1007 - #define IDC_EDIT2 1008 - - - HANDLE hInst; /* current instance */ - HANDLE hIntEvent[2]; - - U16 wBus, wSlot; - I16 card=-1, card_number = 0; - - int total_count =40; - int sample_rate=5000; - unsigned int buffer[32768], in_buffer[32768]; - char Buf[80]; - int c1=20,c2=20; - - int PASCAL WinMain(HANDLE, HANDLE, LPSTR, int); - BOOL InitApplication(HANDLE); - BOOL InitInstance(HANDLE, int); - long PASCAL MainWndProc(HWND, unsigned, WPARAM, LPARAM); - BOOL PASCAL About(HWND, unsigned, WPARAM, LPARAM); - BOOL PASCAL ShowDMA(HWND, unsigned, WPARAM, LPARAM); - - /********************************************************************** - - FUNCTION: WinMain(HANDLE, HANDLE, LPSTR, int) - PURPOSE: calls initialization function, processes message loop - - ***********************************************************************/ - - int PASCAL WinMain(hInstance, hPrevInstance, lpCmdLine, nCmdShow) - - HANDLE hInstance; - HANDLE hPrevInstance; - LPSTR lpCmdLine; - int nCmdShow; - - { - MSG msg; - - if(!hPrevInstance) - if(!InitApplication(hInstance)) - return(FALSE); - - if(!InitInstance(hInstance, nCmdShow)) - return(FALSE); - - while ( GetMessage(&msg, NULL, NULL, NULL)) - { - TranslateMessage(&msg); - DispatchMessage(&msg); - } - return(msg.wParam); - } - -/**************************************************************************** - - FUNCTION: InitApplication(HANDLE) - - PURPOSE: Initializes window data and registers window class - -****************************************************************************/ - -BOOL InitApplication(hInstance) -HANDLE hInstance; -{ - WNDCLASS wc; - - wc.style = NULL; - wc.lpfnWndProc = MainWndProc; - wc.cbClsExtra = 0; - wc.cbWndExtra = 0; - wc.hInstance = hInstance; - wc.hIcon = LoadIcon(NULL, IDI_APPLICATION); - wc.hCursor = LoadCursor(hInstance, IDC_ARROW); - wc.hbrBackground = GetStockObject(WHITE_BRUSH); - wc.lpszMenuName = "IntMenu"; - wc.lpszClassName = "IntClass"; - - return (RegisterClass(&wc)); -} - -/**************************************************************************** - - FUNCTION: InitInstance(HANDLE, int) - - PURPOSE: Saves instance handle and creates main window - -****************************************************************************/ - -BOOL InitInstance(hInstance, nCmdShow) -HANDLE hInstance; -int nCmdShow; -{ - HWND hWnd; - - hInst = hInstance; - hWnd = CreateWindow("IntClass", - "PCI-7296 Interrupt Samples", - WS_OVERLAPPEDWINDOW, - 200, - 100, - 375, - 370, - NULL, - NULL, - hInstance, - NULL); - - if (!hWnd) return (FALSE); - ShowWindow(hWnd, nCmdShow); - UpdateWindow(hWnd); - return (TRUE); -} - - -BOOL PASCAL setup(HWND hWnd, unsigned message, WPARAM wParam, LPARAM lParam) -{ - int i,k=0; - char n[16]; - char s[50]; - BOOL ok; - - - switch (message) { - case WM_INITDIALOG: - for (i=0;i<16;i++) { - wsprintf(n, "%d", i); - _strupr(n); - SendMessage(GetDlgItem(hWnd,IDC_COMBO1), CB_ADDSTRING, NULL, (LONG)(LPSTR) n); - } - SendMessage(GetDlgItem(hWnd,IDC_COMBO1) , CB_SETCURSEL, 0, 0L); - if(card >=0) - EnableWindow(GetDlgItem(hWnd,IDC_COMBO1), FALSE); - SendMessage(GetDlgItem(hWnd,IDC_EDIT2) , WM_SETTEXT, 0, "5000"); - SendMessage(GetDlgItem(hWnd,IDC_EDIT1) , WM_SETTEXT, 0, "40"); - - break; - case WM_COMMAND: - switch(LOWORD(wParam)) { - case IDOK: - if(card <0) { - if ((card=Register_Card(PCI_7296, card_number))< 0) { - wsprintf(s, "Register_Card Error = %d\n", card); - MessageBox(hWnd, s, "Error", MB_OK); - } - } - total_count = GetDlgItemInt(hWnd,IDC_EDIT1, &ok, FALSE); - if (total_count > 32768) { - MessageBox(hWnd,"Count can be assigned at most 32768", "INT", MB_OK); - break; - } - for (i=0;i255) k=0; - } - for (i=0;i 15000 ) sample_rate=15000; - c2=2000000/(sample_rate*c1); - - EndDialog(hWnd, TRUE); - return (TRUE); - case IDCANCEL: - EndDialog(hWnd, TRUE); - return (TRUE); - } - break; - } - return (FALSE); -} - -/**************************************************************************** - - FUNCTION: MainWndProc(HWND, UINT, WPARAM, LPARAM) - - PURPOSE: Processes messages - - -****************************************************************************/ - -long PASCAL MainWndProc(hWnd, message, wParam, lParam) -HWND hWnd; -unsigned message; -WPARAM wParam; -LPARAM lParam; -{ - int i, k; - int cur_count=0; - HDC hDC, hDC1; - PAINTSTRUCT ps; - FARPROC lpProc; - - switch(message) { - - case WM_CREATE: - break; - case WM_PAINT: - hDC1=BeginPaint(hWnd, &ps); - wsprintf(Buf,"This program performs digital output on Port A of"); - TextOut(hDC1,20,10,Buf,strlen(Buf)); - wsprintf(Buf,"CN2 and digital input on Port A of CN1 when an"); - TextOut(hDC1,20,30,Buf,strlen(Buf)); - wsprintf(Buf,"interrupt happens. The INT2 is used, and interrupt"); - TextOut(hDC1,20,50,Buf,strlen(Buf)); - wsprintf(Buf,"signals are generated by internal Timer Output."); - TextOut(hDC1,20,70,Buf,strlen(Buf)); - SetTextColor(hDC1, RGB(255,0,0)); - wsprintf(Buf,"Push 'Setup' button first ..."); - TextOut(hDC1,20,90,Buf,strlen(Buf)); - EndPaint(hWnd, &ps); - break; - case WM_COMMAND: - switch(wParam) { - case IDM_SETUP: - lpProc = MakeProcInstance(setup, hInst); - DialogBox(hInst,IDD_DIALOG1,hWnd,lpProc); - FreeProcInstance(lpProc); - if(card<0) - SendMessage(hWnd, WM_CLOSE, 0, 0L); - break; - - case IDM_GO: - // Interrupt Trigger - hDC=GetDC(hWnd); - DIO_PortConfig(card,Channel_P1A, INPUT_PORT); - DIO_PortConfig(card,Channel_P2A, OUTPUT_PORT); - - DIO_SetDualInterrupt(card, INT1_DISABLE, INT2_TIMER_COUNTER, hIntEvent); - CTR_Setup (card, 1, RATE_GENERATOR, c1, BIN); - CTR_Setup (card, 2, RATE_GENERATOR, c2, BIN); - k=0; i=0; - while (k=10 && i<20) { - wsprintf(Buf,"%d, ",in_buffer[i]); - TextOut(hDC,20+25*(i-10),210,Buf,strlen(Buf)); - } - if(i>=20 && i<30) { - wsprintf(Buf,"%d, ",in_buffer[i]); - TextOut(hDC,20+25*(i-20),235,Buf,strlen(Buf)); - } - if (i>=30 && i<40) { - wsprintf(Buf,"%d, ",in_buffer[i]); - TextOut(hDC,20+25*(i-30),260,Buf,strlen(Buf)); - } - if (i>=40 && i<50) { - wsprintf(Buf,"%d, ",in_buffer[i]); - TextOut(hDC,20+25*(i-40),285,Buf,strlen(Buf)); - } - } - ReleaseDC(hWnd, hDC); - break; - - case IDM_CLEAR : - ResetEvent(hIntEvent[1]); - PostQuitMessage(0); - break; - } - break; - - case WM_DESTROY: - if (card >= 0) Release_Card(card); - PostQuitMessage(0); - break; - - default: - return (DefWindowProc(hWnd, message, wParam, lParam)); - } - return(0L); -} - \ No newline at end of file diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7296/SDK7296Int/7296INT.MAK b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7296/SDK7296Int/7296INT.MAK deleted file mode 100644 index fbc3f2f..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7296/SDK7296Int/7296INT.MAK +++ /dev/null @@ -1,219 +0,0 @@ -# Microsoft Developer Studio Generated NMAKE File, Format Version 4.00 -# ** DO NOT EDIT ** - -# TARGTYPE "Win32 (x86) Application" 0x0101 - -!IF "$(CFG)" == "" -CFG=7296int - Win32 Debug -!MESSAGE No configuration specified. Defaulting to 7296int - Win32 Debug. -!ENDIF - -!IF "$(CFG)" != "7296int - Win32 Release" && "$(CFG)" !=\ - "7296int - Win32 Debug" -!MESSAGE Invalid configuration "$(CFG)" specified. -!MESSAGE You can specify a configuration when running NMAKE on this makefile -!MESSAGE by defining the macro CFG on the command line. For example: -!MESSAGE -!MESSAGE NMAKE /f "7296INT.MAK" CFG="7296int - Win32 Debug" -!MESSAGE -!MESSAGE Possible choices for configuration are: -!MESSAGE -!MESSAGE "7296int - Win32 Release" (based on "Win32 (x86) Application") -!MESSAGE "7296int - Win32 Debug" (based on "Win32 (x86) Application") -!MESSAGE -!ERROR An invalid configuration is specified. -!ENDIF - -!IF "$(OS)" == "Windows_NT" -NULL= -!ELSE -NULL=nul -!ENDIF -################################################################################ -# Begin Project -# PROP Target_Last_Scanned "7296int - Win32 Debug" -MTL=mktyplib.exe -CPP=cl.exe -RSC=rc.exe - -!IF "$(CFG)" == "7296int - Win32 Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "Release" -# PROP BASE Intermediate_Dir "Release" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "" -# PROP Intermediate_Dir "Release" -# PROP Target_Dir "" -OUTDIR=. -INTDIR=.\Release - -ALL : "$(OUTDIR)\7296INT.exe" - -CLEAN : - -@erase ".\7296INT.exe" - -@erase ".\Release\7296int.obj" - -@erase ".\Release\7296int.res" - -"$(INTDIR)" : - if not exist "$(INTDIR)/$(NULL)" mkdir "$(INTDIR)" - -# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /YX /c -# ADD CPP /nologo /W3 /GX /Od /I "..\..\..\include" /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /c -# SUBTRACT CPP /YX -CPP_PROJ=/nologo /ML /W3 /GX /Od /I "..\..\..\include" /D "WIN32" /D "NDEBUG"\ - /D "_WINDOWS" /Fo"$(INTDIR)/" /c -CPP_OBJS=.\Release/ -CPP_SBRS= -# ADD BASE MTL /nologo /D "NDEBUG" /win32 -# ADD MTL /nologo /D "NDEBUG" /win32 -MTL_PROJ=/nologo /D "NDEBUG" /win32 -# ADD BASE RSC /l 0x409 /d "NDEBUG" -# ADD RSC /l 0x409 /d "NDEBUG" -RSC_PROJ=/l 0x409 /fo"$(INTDIR)/7296int.res" /d "NDEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -BSC32_FLAGS=/nologo /o"$(OUTDIR)/7296INT.bsc" -BSC32_SBRS= -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:windows /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ..\..\..\lib\pci-dask.lib /nologo /subsystem:windows /machine:I386 -LINK32_FLAGS=kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib\ - advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib\ - odbccp32.lib ..\..\..\lib\pci-dask.lib /nologo /subsystem:windows\ - /incremental:no /pdb:"$(OUTDIR)/7296INT.pdb" /machine:I386\ - /out:"$(OUTDIR)/7296INT.exe" -LINK32_OBJS= \ - ".\Release\7296int.obj" \ - ".\Release\7296int.res" - -"$(OUTDIR)\7296INT.exe" : "$(OUTDIR)" $(DEF_FILE) $(LINK32_OBJS) - $(LINK32) @<< - $(LINK32_FLAGS) $(LINK32_OBJS) -<< - -!ELSEIF "$(CFG)" == "7296int - Win32 Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "Debug" -# PROP BASE Intermediate_Dir "Debug" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "" -# PROP Intermediate_Dir "Debug" -# PROP Target_Dir "" -OUTDIR=. -INTDIR=.\Debug - -ALL : "$(OUTDIR)\7296INT.exe" - -CLEAN : - -@erase ".\Debug\vc40.pdb" - -@erase ".\Debug\vc40.idb" - -@erase ".\7296INT.exe" - -@erase ".\Debug\7296int.obj" - -@erase ".\Debug\7296int.res" - -@erase ".\7296INT.ilk" - -@erase ".\7296INT.pdb" - -"$(INTDIR)" : - if not exist "$(INTDIR)/$(NULL)" mkdir "$(INTDIR)" - -# ADD BASE CPP /nologo /W3 /Gm /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /YX /c -# ADD CPP /nologo /W3 /Gm /GX /Zi /Od /I "..\..\..\include" /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /c -# SUBTRACT CPP /YX -CPP_PROJ=/nologo /MLd /W3 /Gm /GX /Zi /Od /I "..\..\..\include" /D "WIN32" /D\ - "_DEBUG" /D "_WINDOWS" /Fo"$(INTDIR)/" /Fd"$(INTDIR)/" /c -CPP_OBJS=.\Debug/ -CPP_SBRS= -# ADD BASE MTL /nologo /D "_DEBUG" /win32 -# ADD MTL /nologo /D "_DEBUG" /win32 -MTL_PROJ=/nologo /D "_DEBUG" /win32 -# ADD BASE RSC /l 0x409 /d "_DEBUG" -# ADD RSC /l 0x409 /d "_DEBUG" -RSC_PROJ=/l 0x409 /fo"$(INTDIR)/7296int.res" /d "_DEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -BSC32_FLAGS=/nologo /o"$(OUTDIR)/7296INT.bsc" -BSC32_SBRS= -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:windows /debug /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ..\..\..\lib\pci-dask.lib /nologo /subsystem:windows /debug /machine:I386 -LINK32_FLAGS=kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib\ - advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib\ - odbccp32.lib ..\..\..\lib\pci-dask.lib /nologo /subsystem:windows\ - /incremental:yes /pdb:"$(OUTDIR)/7296INT.pdb" /debug /machine:I386\ - /out:"$(OUTDIR)/7296INT.exe" -LINK32_OBJS= \ - ".\Debug\7296int.obj" \ - ".\Debug\7296int.res" - -"$(OUTDIR)\7296INT.exe" : "$(OUTDIR)" $(DEF_FILE) $(LINK32_OBJS) - $(LINK32) @<< - $(LINK32_FLAGS) $(LINK32_OBJS) -<< - -!ENDIF - -.c{$(CPP_OBJS)}.obj: - $(CPP) $(CPP_PROJ) $< - -.cpp{$(CPP_OBJS)}.obj: - $(CPP) $(CPP_PROJ) $< - -.cxx{$(CPP_OBJS)}.obj: - $(CPP) $(CPP_PROJ) $< - -.c{$(CPP_SBRS)}.sbr: - $(CPP) $(CPP_PROJ) $< - -.cpp{$(CPP_SBRS)}.sbr: - $(CPP) $(CPP_PROJ) $< - -.cxx{$(CPP_SBRS)}.sbr: - $(CPP) $(CPP_PROJ) $< - -################################################################################ -# Begin Target - -# Name "7296int - Win32 Release" -# Name "7296int - Win32 Debug" - -!IF "$(CFG)" == "7296int - Win32 Release" - -!ELSEIF "$(CFG)" == "7296int - Win32 Debug" - -!ENDIF - -################################################################################ -# Begin Source File - -SOURCE=.\7296int.rc - -"$(INTDIR)\7296int.res" : $(SOURCE) "$(INTDIR)" - $(RSC) $(RSC_PROJ) $(SOURCE) - - -# End Source File -################################################################################ -# Begin Source File - -SOURCE=.\7296int.c -DEP_CPP_7296I=\ - ".\..\..\..\include\Dask.h"\ - - -"$(INTDIR)\7296int.obj" : $(SOURCE) $(DEP_CPP_7296I) "$(INTDIR)" - - -# End Source File -# End Target -# End Project -################################################################################ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7296/SDK7296Int/7296INT.MDP b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7296/SDK7296Int/7296INT.MDP deleted file mode 100644 index 56af416..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7296/SDK7296Int/7296INT.MDP and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7296/SDK7296Int/7296INT.RC b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7296/SDK7296Int/7296INT.RC deleted file mode 100644 index 7281e15..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7296/SDK7296Int/7296INT.RC +++ /dev/null @@ -1,125 +0,0 @@ -//Microsoft Developer Studio generated resource script. -// -#include "resource.h" - -#define APSTUDIO_READONLY_SYMBOLS -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 2 resource. -// -#define APSTUDIO_HIDDEN_SYMBOLS -#include "windows.h" -#undef APSTUDIO_HIDDEN_SYMBOLS - -///////////////////////////////////////////////////////////////////////////// -#undef APSTUDIO_READONLY_SYMBOLS - -///////////////////////////////////////////////////////////////////////////// -// English (U.S.) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -#ifdef _WIN32 -LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US -#pragma code_page(1252) -#endif //_WIN32 - -#ifdef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// TEXTINCLUDE -// - -1 TEXTINCLUDE DISCARDABLE -BEGIN - "resource.h\0" -END - -2 TEXTINCLUDE DISCARDABLE -BEGIN - "#define APSTUDIO_HIDDEN_SYMBOLS\r\n" - "#include ""windows.h""\r\n" - "#undef APSTUDIO_HIDDEN_SYMBOLS\r\n" - "\0" -END - -3 TEXTINCLUDE DISCARDABLE -BEGIN - "\r\n" - "\0" -END - -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// Menu -// - -INTMENU MENU DISCARDABLE -BEGIN - MENUITEM "Setup", IDM_SETUP - MENUITEM "Interrupt Trigger", IDM_GO - MENUITEM "Exit", IDM_CLEAR -END - - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog -// - -IDD_DIALOG1 DIALOG DISCARDABLE 0, 0, 133, 105 -STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "Setup Dialog" -FONT 10, "System" -BEGIN - DEFPUSHBUTTON "OK",IDOK,7,86,47,14 - PUSHBUTTON "Cancel",IDCANCEL,72,86,45,14 - LTEXT "Total Count",IDC_STATIC,7,33,53,12 - LTEXT "Sampling Rate",IDC_STATIC,7,59,53,12 - EDITTEXT IDC_EDIT1,60,32,63,15,ES_AUTOHSCROLL - EDITTEXT IDC_EDIT2,60,56,63,15,ES_AUTOHSCROLL - LTEXT "Card Number",IDC_STATIC,7,12,48,13 - COMBOBOX IDC_COMBO1,60,12,63,84,CBS_DROPDOWN | WS_VSCROLL | - WS_TABSTOP -END - - -///////////////////////////////////////////////////////////////////////////// -// -// DESIGNINFO -// - -#ifdef APSTUDIO_INVOKED -GUIDELINES DESIGNINFO DISCARDABLE -BEGIN - IDD_DIALOG1, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 123 - VERTGUIDE, 7 - VERTGUIDE, 60 - TOPMARGIN, 4 - BOTTOMMARGIN, 100 - HORZGUIDE, 71 - HORZGUIDE, 87 - END -END -#endif // APSTUDIO_INVOKED - -#endif // English (U.S.) resources -///////////////////////////////////////////////////////////////////////////// - - - -#ifndef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 3 resource. -// - - -///////////////////////////////////////////////////////////////////////////// -#endif // not APSTUDIO_INVOKED - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7296/SDK7296Int/7296int.exe b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7296/SDK7296Int/7296int.exe deleted file mode 100644 index 0dfe6cb..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7296/SDK7296Int/7296int.exe and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7296/SDK7296Int/Resource.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7296/SDK7296Int/Resource.h deleted file mode 100644 index 5a22550..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7296/SDK7296Int/Resource.h +++ /dev/null @@ -1,26 +0,0 @@ -//{{NO_DEPENDENCIES}} -// Microsoft Developer Studio generated include file. -// Used by 7296int.rc -// -#define IDM_SETUP 101 -#define IDD_DIALOG1 101 -#define IDM_EXIT 110 -#define IDM_GO 300 -#define ID_STOP 304 -#define IDM_CLEAR 305 -#define IDC_COMBO1 1004 -#define IDC_COMBO2 1005 -#define IDC_EDIT1 1007 -#define IDC_EDIT2 1008 -#define IDC_STATIC -1 - -// Next default values for new objects -// -#ifdef APSTUDIO_INVOKED -#ifndef APSTUDIO_READONLY_SYMBOLS -#define _APS_NEXT_RESOURCE_VALUE 103 -#define _APS_NEXT_COMMAND_VALUE 102 -#define _APS_NEXT_CONTROL_VALUE 1008 -#define _APS_NEXT_SYMED_VALUE 101 -#endif -#endif diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7296/SDK7296IntMsg/7296INT.C b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7296/SDK7296IntMsg/7296INT.C deleted file mode 100644 index 9b4eb90..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7296/SDK7296IntMsg/7296INT.C +++ /dev/null @@ -1,328 +0,0 @@ -/*;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; -;; Copyright (c) 1995-1999, ADLink Technology Inc. All rights reserved. ;; -;; ;; -;; File Name : 7296INT.C ;; -;; Purpose : This sample program demonstrates how to DIO through;; -;; interrupt operation ;; -;; Date : 07/01/1999 ;; -;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;*/ - - #include - #include - #include - #include - #include "Dask.h" - - #define IDM_SETUP 101 - #define IDD_DIALOG1 101 - #define IDM_EXIT 110 - #define IDM_GO 300 - #define IDM_CLEAR 305 - #define IDC_COMBO1 1004 - #define IDC_COMBO2 1005 - #define IDC_EDIT1 1007 - #define IDC_EDIT2 1008 - #define WM_INT 2000 - - HANDLE hInst; /* current instance */ - HWND hMainWnd; - I16 card=-1, card_number = 0; - - int total_count =40; - int sample_rate=20000; - unsigned int buffer[32768], in_buffer[32768]; - char Buf[80]; - int c1=20,c2=20; - int int_count =0; - - int PASCAL WinMain(HANDLE, HANDLE, LPSTR, int); - BOOL InitApplication(HANDLE); - BOOL InitInstance(HANDLE, int); - long PASCAL MainWndProc(HWND, unsigned, WPARAM, LPARAM); - BOOL PASCAL About(HWND, unsigned, WPARAM, LPARAM); - BOOL PASCAL ShowDMA(HWND, unsigned, WPARAM, LPARAM); - void mesgfn(); - - /********************************************************************** - - FUNCTION: WinMain(HANDLE, HANDLE, LPSTR, int) - PURPOSE: calls initialization function, processes message loop - - ***********************************************************************/ - - int PASCAL WinMain(hInstance, hPrevInstance, lpCmdLine, nCmdShow) - - HANDLE hInstance; - HANDLE hPrevInstance; - LPSTR lpCmdLine; - int nCmdShow; - - { - MSG msg; - - if(!hPrevInstance) - if(!InitApplication(hInstance)) - return(FALSE); - - if(!InitInstance(hInstance, nCmdShow)) - return(FALSE); - - while ( GetMessage(&msg, NULL, NULL, NULL)) - { - TranslateMessage(&msg); - DispatchMessage(&msg); - } - return(msg.wParam); - } - -/**************************************************************************** - - FUNCTION: InitApplication(HANDLE) - - PURPOSE: Initializes window data and registers window class - -****************************************************************************/ - -BOOL InitApplication(hInstance) -HANDLE hInstance; -{ - WNDCLASS wc; - - wc.style = NULL; - wc.lpfnWndProc = MainWndProc; - wc.cbClsExtra = 0; - wc.cbWndExtra = 0; - wc.hInstance = hInstance; - wc.hIcon = LoadIcon(NULL, IDI_APPLICATION); - wc.hCursor = LoadCursor(hInstance, IDC_ARROW); - wc.hbrBackground = GetStockObject(WHITE_BRUSH); - wc.lpszMenuName = "IntMenu"; - wc.lpszClassName = "IntClass"; - - return (RegisterClass(&wc)); -} - -/**************************************************************************** - - FUNCTION: InitInstance(HANDLE, int) - - PURPOSE: Saves instance handle and creates main window - -****************************************************************************/ - -BOOL InitInstance(hInstance, nCmdShow) -HANDLE hInstance; -int nCmdShow; -{ - HWND hWnd; - - hInst = hInstance; - hWnd = CreateWindow("IntClass", - "PCI-7296 Interrupt Samples", - WS_OVERLAPPEDWINDOW, - 200, - 100, - 375, - 370, - NULL, - NULL, - hInstance, - NULL); - - if (!hWnd) return (FALSE); - ShowWindow(hWnd, nCmdShow); - UpdateWindow(hWnd); - return (TRUE); -} - - -BOOL PASCAL setup(HWND hWnd, unsigned message, WPARAM wParam, LPARAM lParam) -{ - int i,k=0; - char n[16]; - char s[50]; - BOOL ok; - - - switch (message) { - case WM_INITDIALOG: - for (i=0;i<16;i++) { - wsprintf(n, "%d", i); - _strupr(n); - SendMessage(GetDlgItem(hWnd,IDC_COMBO1), CB_ADDSTRING, NULL, (LONG)(LPSTR) n); - } - SendMessage(GetDlgItem(hWnd,IDC_COMBO1) , CB_SETCURSEL, 0, 0L); - if(card >=0) - EnableWindow(GetDlgItem(hWnd,IDC_COMBO1), FALSE); - SendMessage(GetDlgItem(hWnd,IDC_EDIT2) , WM_SETTEXT, 0, "5000"); - SendMessage(GetDlgItem(hWnd,IDC_EDIT1) , WM_SETTEXT, 0, "40"); - - break; - case WM_COMMAND: - switch(LOWORD(wParam)) { - case IDOK: - if (card < 0) { - if ((card=Register_Card(PCI_7296,card_number))< 0) { - wsprintf(s, "Register_Card Error = %d\n", card); - MessageBox(hWnd, s, "Error", MB_OK); - } - } - total_count = GetDlgItemInt(hWnd,IDC_EDIT1, &ok, FALSE); - if (total_count > 32768) { - MessageBox(hWnd,"Count can be assigned at most 32768", "INT", MB_OK); - break; - } - for (i=0;i255) k=0; - } - for (i=0;i 15000 ) sample_rate=15000; - c2=2000000/(sample_rate*c1); - - EndDialog(hWnd, TRUE); - return (TRUE); - case IDCANCEL: - EndDialog(hWnd, TRUE); - return (TRUE); - } - break; - } - return (FALSE); -} - -/**************************************************************************** - - FUNCTION: MainWndProc(HWND, UINT, WPARAM, LPARAM) - - PURPOSE: Processes messages - - -****************************************************************************/ - -long PASCAL MainWndProc(hWnd, message, wParam, lParam) -HWND hWnd; -unsigned message; -WPARAM wParam; -LPARAM lParam; -{ - int cur_count=0; - HDC hDC1; - PAINTSTRUCT ps; - FARPROC lpProc; - - hMainWnd = hWnd; - switch(message) { - - case WM_CREATE: - break; - case WM_PAINT: - hDC1=BeginPaint(hWnd, &ps); - wsprintf(Buf,"This program performs digital output on Port A of"); - TextOut(hDC1,20,10,Buf,strlen(Buf)); - wsprintf(Buf,"CN2 and digital input on Port A of CN1 when an"); - TextOut(hDC1,20,30,Buf,strlen(Buf)); - wsprintf(Buf,"interrupt happens. The INT2 is used, and interrupt"); - TextOut(hDC1,20,50,Buf,strlen(Buf)); - wsprintf(Buf,"signals are generated by internal Timer Output."); - TextOut(hDC1,20,70,Buf,strlen(Buf)); - SetTextColor(hDC1, RGB(255,0,0)); - wsprintf(Buf,"Push 'Setup' button first ..."); - TextOut(hDC1,20,90,Buf,strlen(Buf)); - EndPaint(hWnd, &ps); - break; - case WM_COMMAND: - switch(wParam) { - case IDM_SETUP: - lpProc = MakeProcInstance(setup, hInst); - DialogBox(hInst,IDD_DIALOG1,hWnd,lpProc); - FreeProcInstance(lpProc); - if(card<0) - SendMessage(hWnd, WM_CLOSE, 0, 0L); - break; - - case IDM_GO: - // Interrupt Trigger - int_count=0; - DIO_PortConfig(card,Channel_P1A, INPUT_PORT); - DIO_PortConfig(card,Channel_P2A, OUTPUT_PORT); - DIO_INT2_EventMessage (card, INT2_TIMER_COUNTER, hWnd, WM_INT, NULL); - CTR_Setup (card, 1, 2, c1, BIN); - CTR_Setup (card, 2, 2, c2, BIN); - break; - - case IDM_CLEAR : - PostQuitMessage(0); - break; - } - break; - case WM_INT: - mesgfn(); - break; - case WM_DESTROY: - if (card >= 0) Release_Card(card); - PostQuitMessage(0); - break; - - default: - return (DefWindowProc(hWnd, message, wParam, lParam)); - } - return(0L); -} - -void mesgfn() -{ - HDC hDC; - int i; - - hDC=GetDC(hMainWnd); - if(int_count =10 && i<20) { - wsprintf(Buf,"%d, ",in_buffer[i]); - TextOut(hDC,20+25*(i-10),210,Buf,strlen(Buf)); - } - if(i>=20 && i<30) { - wsprintf(Buf,"%d, ",in_buffer[i]); - TextOut(hDC,20+25*(i-20),235,Buf,strlen(Buf)); - } - if (i>=30 && i<40) { - wsprintf(Buf,"%d, ",in_buffer[i]); - TextOut(hDC,20+25*(i-30),260,Buf,strlen(Buf)); - } - if (i>=40 && i<50) { - wsprintf(Buf,"%d, ",in_buffer[i]); - TextOut(hDC,20+25*(i-40),285,Buf,strlen(Buf)); - } - } - ReleaseDC(hMainWnd, hDC); - } -} diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7296/SDK7296IntMsg/7296INT.EXE b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7296/SDK7296IntMsg/7296INT.EXE deleted file mode 100644 index 8cedb5d..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7296/SDK7296IntMsg/7296INT.EXE and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7296/SDK7296IntMsg/7296INT.MAK b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7296/SDK7296IntMsg/7296INT.MAK deleted file mode 100644 index fbc3f2f..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7296/SDK7296IntMsg/7296INT.MAK +++ /dev/null @@ -1,219 +0,0 @@ -# Microsoft Developer Studio Generated NMAKE File, Format Version 4.00 -# ** DO NOT EDIT ** - -# TARGTYPE "Win32 (x86) Application" 0x0101 - -!IF "$(CFG)" == "" -CFG=7296int - Win32 Debug -!MESSAGE No configuration specified. Defaulting to 7296int - Win32 Debug. -!ENDIF - -!IF "$(CFG)" != "7296int - Win32 Release" && "$(CFG)" !=\ - "7296int - Win32 Debug" -!MESSAGE Invalid configuration "$(CFG)" specified. -!MESSAGE You can specify a configuration when running NMAKE on this makefile -!MESSAGE by defining the macro CFG on the command line. For example: -!MESSAGE -!MESSAGE NMAKE /f "7296INT.MAK" CFG="7296int - Win32 Debug" -!MESSAGE -!MESSAGE Possible choices for configuration are: -!MESSAGE -!MESSAGE "7296int - Win32 Release" (based on "Win32 (x86) Application") -!MESSAGE "7296int - Win32 Debug" (based on "Win32 (x86) Application") -!MESSAGE -!ERROR An invalid configuration is specified. -!ENDIF - -!IF "$(OS)" == "Windows_NT" -NULL= -!ELSE -NULL=nul -!ENDIF -################################################################################ -# Begin Project -# PROP Target_Last_Scanned "7296int - Win32 Debug" -MTL=mktyplib.exe -CPP=cl.exe -RSC=rc.exe - -!IF "$(CFG)" == "7296int - Win32 Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "Release" -# PROP BASE Intermediate_Dir "Release" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "" -# PROP Intermediate_Dir "Release" -# PROP Target_Dir "" -OUTDIR=. -INTDIR=.\Release - -ALL : "$(OUTDIR)\7296INT.exe" - -CLEAN : - -@erase ".\7296INT.exe" - -@erase ".\Release\7296int.obj" - -@erase ".\Release\7296int.res" - -"$(INTDIR)" : - if not exist "$(INTDIR)/$(NULL)" mkdir "$(INTDIR)" - -# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /YX /c -# ADD CPP /nologo /W3 /GX /Od /I "..\..\..\include" /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /c -# SUBTRACT CPP /YX -CPP_PROJ=/nologo /ML /W3 /GX /Od /I "..\..\..\include" /D "WIN32" /D "NDEBUG"\ - /D "_WINDOWS" /Fo"$(INTDIR)/" /c -CPP_OBJS=.\Release/ -CPP_SBRS= -# ADD BASE MTL /nologo /D "NDEBUG" /win32 -# ADD MTL /nologo /D "NDEBUG" /win32 -MTL_PROJ=/nologo /D "NDEBUG" /win32 -# ADD BASE RSC /l 0x409 /d "NDEBUG" -# ADD RSC /l 0x409 /d "NDEBUG" -RSC_PROJ=/l 0x409 /fo"$(INTDIR)/7296int.res" /d "NDEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -BSC32_FLAGS=/nologo /o"$(OUTDIR)/7296INT.bsc" -BSC32_SBRS= -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:windows /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ..\..\..\lib\pci-dask.lib /nologo /subsystem:windows /machine:I386 -LINK32_FLAGS=kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib\ - advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib\ - odbccp32.lib ..\..\..\lib\pci-dask.lib /nologo /subsystem:windows\ - /incremental:no /pdb:"$(OUTDIR)/7296INT.pdb" /machine:I386\ - /out:"$(OUTDIR)/7296INT.exe" -LINK32_OBJS= \ - ".\Release\7296int.obj" \ - ".\Release\7296int.res" - -"$(OUTDIR)\7296INT.exe" : "$(OUTDIR)" $(DEF_FILE) $(LINK32_OBJS) - $(LINK32) @<< - $(LINK32_FLAGS) $(LINK32_OBJS) -<< - -!ELSEIF "$(CFG)" == "7296int - Win32 Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "Debug" -# PROP BASE Intermediate_Dir "Debug" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "" -# PROP Intermediate_Dir "Debug" -# PROP Target_Dir "" -OUTDIR=. -INTDIR=.\Debug - -ALL : "$(OUTDIR)\7296INT.exe" - -CLEAN : - -@erase ".\Debug\vc40.pdb" - -@erase ".\Debug\vc40.idb" - -@erase ".\7296INT.exe" - -@erase ".\Debug\7296int.obj" - -@erase ".\Debug\7296int.res" - -@erase ".\7296INT.ilk" - -@erase ".\7296INT.pdb" - -"$(INTDIR)" : - if not exist "$(INTDIR)/$(NULL)" mkdir "$(INTDIR)" - -# ADD BASE CPP /nologo /W3 /Gm /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /YX /c -# ADD CPP /nologo /W3 /Gm /GX /Zi /Od /I "..\..\..\include" /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /c -# SUBTRACT CPP /YX -CPP_PROJ=/nologo /MLd /W3 /Gm /GX /Zi /Od /I "..\..\..\include" /D "WIN32" /D\ - "_DEBUG" /D "_WINDOWS" /Fo"$(INTDIR)/" /Fd"$(INTDIR)/" /c -CPP_OBJS=.\Debug/ -CPP_SBRS= -# ADD BASE MTL /nologo /D "_DEBUG" /win32 -# ADD MTL /nologo /D "_DEBUG" /win32 -MTL_PROJ=/nologo /D "_DEBUG" /win32 -# ADD BASE RSC /l 0x409 /d "_DEBUG" -# ADD RSC /l 0x409 /d "_DEBUG" -RSC_PROJ=/l 0x409 /fo"$(INTDIR)/7296int.res" /d "_DEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -BSC32_FLAGS=/nologo /o"$(OUTDIR)/7296INT.bsc" -BSC32_SBRS= -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:windows /debug /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ..\..\..\lib\pci-dask.lib /nologo /subsystem:windows /debug /machine:I386 -LINK32_FLAGS=kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib\ - advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib\ - odbccp32.lib ..\..\..\lib\pci-dask.lib /nologo /subsystem:windows\ - /incremental:yes /pdb:"$(OUTDIR)/7296INT.pdb" /debug /machine:I386\ - /out:"$(OUTDIR)/7296INT.exe" -LINK32_OBJS= \ - ".\Debug\7296int.obj" \ - ".\Debug\7296int.res" - -"$(OUTDIR)\7296INT.exe" : "$(OUTDIR)" $(DEF_FILE) $(LINK32_OBJS) - $(LINK32) @<< - $(LINK32_FLAGS) $(LINK32_OBJS) -<< - -!ENDIF - -.c{$(CPP_OBJS)}.obj: - $(CPP) $(CPP_PROJ) $< - -.cpp{$(CPP_OBJS)}.obj: - $(CPP) $(CPP_PROJ) $< - -.cxx{$(CPP_OBJS)}.obj: - $(CPP) $(CPP_PROJ) $< - -.c{$(CPP_SBRS)}.sbr: - $(CPP) $(CPP_PROJ) $< - -.cpp{$(CPP_SBRS)}.sbr: - $(CPP) $(CPP_PROJ) $< - -.cxx{$(CPP_SBRS)}.sbr: - $(CPP) $(CPP_PROJ) $< - -################################################################################ -# Begin Target - -# Name "7296int - Win32 Release" -# Name "7296int - Win32 Debug" - -!IF "$(CFG)" == "7296int - Win32 Release" - -!ELSEIF "$(CFG)" == "7296int - Win32 Debug" - -!ENDIF - -################################################################################ -# Begin Source File - -SOURCE=.\7296int.rc - -"$(INTDIR)\7296int.res" : $(SOURCE) "$(INTDIR)" - $(RSC) $(RSC_PROJ) $(SOURCE) - - -# End Source File -################################################################################ -# Begin Source File - -SOURCE=.\7296int.c -DEP_CPP_7296I=\ - ".\..\..\..\include\Dask.h"\ - - -"$(INTDIR)\7296int.obj" : $(SOURCE) $(DEP_CPP_7296I) "$(INTDIR)" - - -# End Source File -# End Target -# End Project -################################################################################ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7296/SDK7296IntMsg/7296INT.MDP b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7296/SDK7296IntMsg/7296INT.MDP deleted file mode 100644 index ef57854..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7296/SDK7296IntMsg/7296INT.MDP and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7296/SDK7296IntMsg/7296INT.RC b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7296/SDK7296IntMsg/7296INT.RC deleted file mode 100644 index 7281e15..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7296/SDK7296IntMsg/7296INT.RC +++ /dev/null @@ -1,125 +0,0 @@ -//Microsoft Developer Studio generated resource script. -// -#include "resource.h" - -#define APSTUDIO_READONLY_SYMBOLS -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 2 resource. -// -#define APSTUDIO_HIDDEN_SYMBOLS -#include "windows.h" -#undef APSTUDIO_HIDDEN_SYMBOLS - -///////////////////////////////////////////////////////////////////////////// -#undef APSTUDIO_READONLY_SYMBOLS - -///////////////////////////////////////////////////////////////////////////// -// English (U.S.) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -#ifdef _WIN32 -LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US -#pragma code_page(1252) -#endif //_WIN32 - -#ifdef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// TEXTINCLUDE -// - -1 TEXTINCLUDE DISCARDABLE -BEGIN - "resource.h\0" -END - -2 TEXTINCLUDE DISCARDABLE -BEGIN - "#define APSTUDIO_HIDDEN_SYMBOLS\r\n" - "#include ""windows.h""\r\n" - "#undef APSTUDIO_HIDDEN_SYMBOLS\r\n" - "\0" -END - -3 TEXTINCLUDE DISCARDABLE -BEGIN - "\r\n" - "\0" -END - -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// Menu -// - -INTMENU MENU DISCARDABLE -BEGIN - MENUITEM "Setup", IDM_SETUP - MENUITEM "Interrupt Trigger", IDM_GO - MENUITEM "Exit", IDM_CLEAR -END - - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog -// - -IDD_DIALOG1 DIALOG DISCARDABLE 0, 0, 133, 105 -STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "Setup Dialog" -FONT 10, "System" -BEGIN - DEFPUSHBUTTON "OK",IDOK,7,86,47,14 - PUSHBUTTON "Cancel",IDCANCEL,72,86,45,14 - LTEXT "Total Count",IDC_STATIC,7,33,53,12 - LTEXT "Sampling Rate",IDC_STATIC,7,59,53,12 - EDITTEXT IDC_EDIT1,60,32,63,15,ES_AUTOHSCROLL - EDITTEXT IDC_EDIT2,60,56,63,15,ES_AUTOHSCROLL - LTEXT "Card Number",IDC_STATIC,7,12,48,13 - COMBOBOX IDC_COMBO1,60,12,63,84,CBS_DROPDOWN | WS_VSCROLL | - WS_TABSTOP -END - - -///////////////////////////////////////////////////////////////////////////// -// -// DESIGNINFO -// - -#ifdef APSTUDIO_INVOKED -GUIDELINES DESIGNINFO DISCARDABLE -BEGIN - IDD_DIALOG1, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 123 - VERTGUIDE, 7 - VERTGUIDE, 60 - TOPMARGIN, 4 - BOTTOMMARGIN, 100 - HORZGUIDE, 71 - HORZGUIDE, 87 - END -END -#endif // APSTUDIO_INVOKED - -#endif // English (U.S.) resources -///////////////////////////////////////////////////////////////////////////// - - - -#ifndef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 3 resource. -// - - -///////////////////////////////////////////////////////////////////////////// -#endif // not APSTUDIO_INVOKED - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7296/SDK7296IntMsg/Resource.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7296/SDK7296IntMsg/Resource.h deleted file mode 100644 index 5a22550..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7296/SDK7296IntMsg/Resource.h +++ /dev/null @@ -1,26 +0,0 @@ -//{{NO_DEPENDENCIES}} -// Microsoft Developer Studio generated include file. -// Used by 7296int.rc -// -#define IDM_SETUP 101 -#define IDD_DIALOG1 101 -#define IDM_EXIT 110 -#define IDM_GO 300 -#define ID_STOP 304 -#define IDM_CLEAR 305 -#define IDC_COMBO1 1004 -#define IDC_COMBO2 1005 -#define IDC_EDIT1 1007 -#define IDC_EDIT2 1008 -#define IDC_STATIC -1 - -// Next default values for new objects -// -#ifdef APSTUDIO_INVOKED -#ifndef APSTUDIO_READONLY_SYMBOLS -#define _APS_NEXT_RESOURCE_VALUE 103 -#define _APS_NEXT_COMMAND_VALUE 102 -#define _APS_NEXT_CONTROL_VALUE 1008 -#define _APS_NEXT_SYMED_VALUE 101 -#endif -#endif diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7296/VB7296/7296GLBL.BAS b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7296/VB7296/7296GLBL.BAS deleted file mode 100644 index 77a2e7f..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7296/VB7296/7296GLBL.BAS +++ /dev/null @@ -1,4 +0,0 @@ -Attribute VB_Name = "Module1" -Global card As Integer -Global card_number As Integer - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7296/VB7296/Base7296.frm b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7296/VB7296/Base7296.frm deleted file mode 100644 index 0d6e894..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7296/VB7296/Base7296.frm +++ /dev/null @@ -1,99 +0,0 @@ -VERSION 4.00 -Begin VB.Form SettingForm - Appearance = 0 'Flat - BackColor = &H00C0C0C0& - Caption = "Card Number Setting" - ClientHeight = 1275 - ClientLeft = 4590 - ClientTop = 4545 - ClientWidth = 2820 - BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851} - Name = "MS Sans Serif" - Size = 8.25 - Charset = 0 - Weight = 700 - Underline = 0 'False - Italic = 0 'False - Strikethrough = 0 'False - EndProperty - ForeColor = &H80000008& - Height = 1680 - Left = 4530 - LinkTopic = "Form2" - ScaleHeight = 1275 - ScaleWidth = 2820 - Top = 4200 - Width = 2940 - Begin VB.CommandButton OKBtn - Appearance = 0 'Flat - BackColor = &H80000005& - Caption = "OK" - Default = -1 'True - Height = 315 - Left = 300 - TabIndex = 0 - Top = 720 - Width = 915 - End - Begin VB.CommandButton CancelBtn - Appearance = 0 'Flat - BackColor = &H80000005& - Cancel = -1 'True - Caption = "Cancel" - Height = 315 - Left = 1380 - TabIndex = 3 - Top = 720 - Width = 915 - End - Begin VB.ComboBox CardNum - Appearance = 0 'Flat - Height = 300 - Left = 1440 - Style = 2 'Dropdown List - TabIndex = 2 - Top = 120 - Width = 1035 - End - Begin VB.Label Label2 - Appearance = 0 'Flat - BackColor = &H00C0C0C0& - Caption = "Card Number:" - ForeColor = &H00000000& - Height = 195 - Index = 0 - Left = 180 - TabIndex = 1 - Top = 180 - Width = 1275 - End -End -Attribute VB_Name = "SettingForm" -Attribute VB_Creatable = False -Attribute VB_Exposed = False - - -Private Sub BaseAddr_Change() - -End Sub - - -Private Sub CancelBtn_Click() - Unload SettingForm -End Sub - -Private Sub Form_Load() - Dim i As Long - For i = 0 To 15 Step 1 - CardNum.AddItem i - Next - CardNum.ListIndex = 0 -End Sub - -Private Sub OKBtn_Click() - card = -1 - card_number = CardNum.ListIndex - card = Register_Card(PCI_7296, card_number) - Unload SettingForm -End Sub - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7296/VB7296/DIA_1.BMP b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7296/VB7296/DIA_1.BMP deleted file mode 100644 index 5b799e3..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7296/VB7296/DIA_1.BMP and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7296/VB7296/DIB_1.BMP b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7296/VB7296/DIB_1.BMP deleted file mode 100644 index 5d46b17..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7296/VB7296/DIB_1.BMP and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7296/VB7296/DIC_1.BMP b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7296/VB7296/DIC_1.BMP deleted file mode 100644 index f4d15c0..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7296/VB7296/DIC_1.BMP and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7296/VB7296/DI_0.BMP b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7296/VB7296/DI_0.BMP deleted file mode 100644 index 66e3384..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7296/VB7296/DI_0.BMP and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7296/VB7296/DI_1.BMP b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7296/VB7296/DI_1.BMP deleted file mode 100644 index d7da598..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7296/VB7296/DI_1.BMP and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7296/VB7296/DOA_1.BMP b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7296/VB7296/DOA_1.BMP deleted file mode 100644 index 5edd2df..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7296/VB7296/DOA_1.BMP and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7296/VB7296/DOB_1.BMP b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7296/VB7296/DOB_1.BMP deleted file mode 100644 index b5189d7..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7296/VB7296/DOB_1.BMP and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7296/VB7296/DOC_1.BMP b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7296/VB7296/DOC_1.BMP deleted file mode 100644 index 30f909f..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7296/VB7296/DOC_1.BMP and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7296/VB7296/DO_0.BMP b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7296/VB7296/DO_0.BMP deleted file mode 100644 index 81b0c50..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7296/VB7296/DO_0.BMP and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7296/VB7296/DO_1.BMP b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7296/VB7296/DO_1.BMP deleted file mode 100644 index 30f909f..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7296/VB7296/DO_1.BMP and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7296/VB7296/INPUT.BMP b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7296/VB7296/INPUT.BMP deleted file mode 100644 index b795ac8..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7296/VB7296/INPUT.BMP and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7296/VB7296/OUTPUT.BMP b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7296/VB7296/OUTPUT.BMP deleted file mode 100644 index 8907a70..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7296/VB7296/OUTPUT.BMP and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7296/VB7296/UTIL7296.FRM b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7296/VB7296/UTIL7296.FRM deleted file mode 100644 index baa4e01..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7296/VB7296/UTIL7296.FRM +++ /dev/null @@ -1,1874 +0,0 @@ -VERSION 4.00 -Begin VB.Form Util7296 - Appearance = 0 'Flat - BackColor = &H00C0C0C0& - Caption = "PCI-7296 Sample Program" - ClientHeight = 2670 - ClientLeft = 930 - ClientTop = 1860 - ClientWidth = 7710 - BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851} - Name = "MS Sans Serif" - Size = 8.25 - Charset = 0 - Weight = 700 - Underline = 0 'False - Italic = 0 'False - Strikethrough = 0 'False - EndProperty - ForeColor = &H80000008& - Height = 3360 - Left = 870 - LinkTopic = "Form1" - ScaleHeight = 2670 - ScaleWidth = 7710 - Top = 1230 - Width = 7830 - Begin VB.Timer Timer1 - Interval = 100 - Left = 7260 - Top = 2400 - End - Begin VB.Frame Frame1 - Appearance = 0 'Flat - BackColor = &H00C0C0C0& - Caption = "Port C (Lower)" - BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851} - Name = "Times New Roman" - Size = 8.25 - Charset = 0 - Weight = 400 - Underline = 0 'False - Italic = 0 'False - Strikethrough = 0 'False - EndProperty - ForeColor = &H00FF0000& - Height = 2355 - Index = 3 - Left = 6300 - TabIndex = 2 - Top = 120 - Width = 1275 - Begin VB.Image bit_cl - Appearance = 0 'Flat - Height = 180 - Index = 15 - Left = 120 - Picture = "UTIL7296.frx":0000 - Top = 1920 - Width = 180 - End - Begin VB.Image bit_cl - Appearance = 0 'Flat - Height = 180 - Index = 14 - Left = 330 - Picture = "UTIL7296.frx":00E2 - Top = 1920 - Width = 180 - End - Begin VB.Image bit_cl - Appearance = 0 'Flat - Height = 180 - Index = 13 - Left = 570 - Picture = "UTIL7296.frx":01C4 - Top = 1920 - Width = 180 - End - Begin VB.Image bit_cl - Appearance = 0 'Flat - Height = 180 - Index = 12 - Left = 780 - Picture = "UTIL7296.frx":02A6 - Top = 1920 - Width = 180 - End - Begin VB.Image bit_cl - Appearance = 0 'Flat - Height = 180 - Index = 11 - Left = 120 - Picture = "UTIL7296.frx":0388 - Top = 1440 - Width = 180 - End - Begin VB.Image bit_cl - Appearance = 0 'Flat - Height = 180 - Index = 10 - Left = 330 - Picture = "UTIL7296.frx":046A - Top = 1440 - Width = 180 - End - Begin VB.Image bit_cl - Appearance = 0 'Flat - Height = 180 - Index = 9 - Left = 570 - Picture = "UTIL7296.frx":054C - Top = 1440 - Width = 180 - End - Begin VB.Image bit_cl - Appearance = 0 'Flat - Height = 180 - Index = 8 - Left = 780 - Picture = "UTIL7296.frx":062E - Top = 1440 - Width = 180 - End - Begin VB.Image input_cl - Appearance = 0 'Flat - Height = 165 - Index = 3 - Left = 1035 - Picture = "UTIL7296.frx":0710 - Top = 1800 - Width = 165 - End - Begin VB.Image input_cl - Appearance = 0 'Flat - Height = 165 - Index = 2 - Left = 1035 - Picture = "UTIL7296.frx":07EA - Top = 1320 - Width = 165 - End - Begin VB.Image output_cl - Appearance = 0 'Flat - Height = 165 - Index = 3 - Left = 1035 - Picture = "UTIL7296.frx":08C4 - Top = 1995 - Width = 165 - End - Begin VB.Image output_cl - Appearance = 0 'Flat - Height = 165 - Index = 2 - Left = 1035 - Picture = "UTIL7296.frx":099E - Top = 1515 - Width = 165 - End - Begin VB.Image output_cl - Appearance = 0 'Flat - Height = 165 - Index = 1 - Left = 1035 - Picture = "UTIL7296.frx":0A78 - Top = 1035 - Width = 165 - End - Begin VB.Image output_cl - Appearance = 0 'Flat - Height = 165 - Index = 0 - Left = 1035 - Picture = "UTIL7296.frx":0B52 - Top = 555 - Width = 165 - End - Begin VB.Image input_cl - Appearance = 0 'Flat - Height = 165 - Index = 1 - Left = 1035 - Picture = "UTIL7296.frx":0C2C - Top = 840 - Width = 165 - End - Begin VB.Image input_cl - Appearance = 0 'Flat - Height = 165 - Index = 0 - Left = 1035 - Picture = "UTIL7296.frx":0D06 - Top = 360 - Width = 165 - End - Begin VB.Image bit_cl - Appearance = 0 'Flat - Height = 180 - Index = 7 - Left = 120 - Picture = "UTIL7296.frx":0DE0 - Top = 960 - Width = 180 - End - Begin VB.Image bit_cl - Appearance = 0 'Flat - Height = 180 - Index = 6 - Left = 330 - Picture = "UTIL7296.frx":0EC2 - Top = 960 - Width = 180 - End - Begin VB.Image bit_cl - Appearance = 0 'Flat - Height = 180 - Index = 5 - Left = 540 - Picture = "UTIL7296.frx":0FA4 - Top = 960 - Width = 180 - End - Begin VB.Image bit_cl - Appearance = 0 'Flat - Height = 180 - Index = 4 - Left = 750 - Picture = "UTIL7296.frx":1086 - Top = 960 - Width = 180 - End - Begin VB.Image bit_cl - Appearance = 0 'Flat - Height = 180 - Index = 3 - Left = 120 - Picture = "UTIL7296.frx":1168 - Top = 480 - Width = 180 - End - Begin VB.Image bit_cl - Appearance = 0 'Flat - Height = 180 - Index = 2 - Left = 330 - Picture = "UTIL7296.frx":124A - Top = 480 - Width = 180 - End - Begin VB.Image bit_cl - Appearance = 0 'Flat - Height = 180 - Index = 1 - Left = 540 - Picture = "UTIL7296.frx":132C - Top = 480 - Width = 180 - End - Begin VB.Image bit_cl - Appearance = 0 'Flat - Height = 180 - Index = 0 - Left = 750 - Picture = "UTIL7296.frx":140E - Top = 480 - Width = 180 - End - Begin VB.Shape Shape_cl - BorderColor = &H00C0C0C0& - FillColor = &H00FF0000& - FillStyle = 0 'Solid - Height = 375 - Index = 1 - Left = 60 - Top = 840 - Width = 960 - End - Begin VB.Shape Shape_cl - BorderColor = &H00C0C0C0& - FillColor = &H00FF0000& - FillStyle = 0 'Solid - Height = 375 - Index = 0 - Left = 60 - Top = 360 - Width = 960 - End - Begin VB.Shape Shape_cl - BorderColor = &H00C0C0C0& - FillColor = &H00FF0000& - FillStyle = 0 'Solid - Height = 375 - Index = 2 - Left = 60 - Top = 1320 - Width = 960 - End - Begin VB.Shape Shape_cl - BorderColor = &H00C0C0C0& - FillColor = &H00FF0000& - FillStyle = 0 'Solid - Height = 375 - Index = 3 - Left = 60 - Top = 1800 - Width = 960 - End - End - Begin VB.Frame Frame1 - Appearance = 0 'Flat - BackColor = &H00C0C0C0& - Caption = "Port C (Upper)" - BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851} - Name = "Times New Roman" - Size = 8.25 - Charset = 0 - Weight = 400 - Underline = 0 'False - Italic = 0 'False - Strikethrough = 0 'False - EndProperty - ForeColor = &H00FF0000& - Height = 2355 - Index = 2 - Left = 2820 - TabIndex = 3 - Top = 120 - Width = 1275 - Begin VB.Image bit_cu - Appearance = 0 'Flat - Height = 180 - Index = 15 - Left = 120 - Picture = "UTIL7296.frx":14F0 - Top = 1920 - Width = 180 - End - Begin VB.Image bit_cu - Appearance = 0 'Flat - Height = 180 - Index = 14 - Left = 330 - Picture = "UTIL7296.frx":15D2 - Top = 1920 - Width = 180 - End - Begin VB.Image bit_cu - Appearance = 0 'Flat - Height = 180 - Index = 13 - Left = 540 - Picture = "UTIL7296.frx":16B4 - Top = 1920 - Width = 180 - End - Begin VB.Image bit_cu - Appearance = 0 'Flat - Height = 180 - Index = 12 - Left = 750 - Picture = "UTIL7296.frx":1796 - Top = 1920 - Width = 180 - End - Begin VB.Image bit_cu - Appearance = 0 'Flat - Height = 180 - Index = 11 - Left = 120 - Picture = "UTIL7296.frx":1878 - Top = 1440 - Width = 180 - End - Begin VB.Image bit_cu - Appearance = 0 'Flat - Height = 180 - Index = 10 - Left = 330 - Picture = "UTIL7296.frx":195A - Top = 1440 - Width = 180 - End - Begin VB.Image bit_cu - Appearance = 0 'Flat - Height = 180 - Index = 9 - Left = 540 - Picture = "UTIL7296.frx":1A3C - Top = 1440 - Width = 180 - End - Begin VB.Image bit_cu - Appearance = 0 'Flat - Height = 180 - Index = 8 - Left = 750 - Picture = "UTIL7296.frx":1B1E - Top = 1440 - Width = 180 - End - Begin VB.Image input_cu - Appearance = 0 'Flat - Height = 165 - Index = 3 - Left = 1035 - Picture = "UTIL7296.frx":1C00 - Top = 1800 - Width = 165 - End - Begin VB.Image input_cu - Appearance = 0 'Flat - Height = 165 - Index = 2 - Left = 1035 - Picture = "UTIL7296.frx":1CDA - Top = 1320 - Width = 165 - End - Begin VB.Image output_cu - Appearance = 0 'Flat - Height = 165 - Index = 3 - Left = 1035 - Picture = "UTIL7296.frx":1DB4 - Top = 1995 - Width = 165 - End - Begin VB.Image output_cu - Appearance = 0 'Flat - Height = 165 - Index = 2 - Left = 1035 - Picture = "UTIL7296.frx":1E8E - Top = 1515 - Width = 165 - End - Begin VB.Image output_cu - Appearance = 0 'Flat - Height = 165 - Index = 1 - Left = 1035 - Picture = "UTIL7296.frx":1F68 - Top = 1035 - Width = 165 - End - Begin VB.Image output_cu - Appearance = 0 'Flat - Height = 165 - Index = 0 - Left = 1035 - Picture = "UTIL7296.frx":2042 - Top = 555 - Width = 165 - End - Begin VB.Image input_cu - Appearance = 0 'Flat - Height = 165 - Index = 1 - Left = 1035 - Picture = "UTIL7296.frx":211C - Top = 840 - Width = 165 - End - Begin VB.Image input_cu - Appearance = 0 'Flat - Height = 165 - Index = 0 - Left = 1035 - Picture = "UTIL7296.frx":21F6 - Top = 360 - Width = 165 - End - Begin VB.Image bit_cu - Appearance = 0 'Flat - Height = 180 - Index = 7 - Left = 120 - Picture = "UTIL7296.frx":22D0 - Top = 960 - Width = 180 - End - Begin VB.Image bit_cu - Appearance = 0 'Flat - Height = 180 - Index = 6 - Left = 330 - Picture = "UTIL7296.frx":23B2 - Top = 960 - Width = 180 - End - Begin VB.Image bit_cu - Appearance = 0 'Flat - Height = 180 - Index = 5 - Left = 540 - Picture = "UTIL7296.frx":2494 - Top = 960 - Width = 180 - End - Begin VB.Image bit_cu - Appearance = 0 'Flat - Height = 180 - Index = 4 - Left = 750 - Picture = "UTIL7296.frx":2576 - Top = 960 - Width = 180 - End - Begin VB.Image bit_cu - Appearance = 0 'Flat - Height = 180 - Index = 3 - Left = 120 - Picture = "UTIL7296.frx":2658 - Top = 480 - Width = 180 - End - Begin VB.Image bit_cu - Appearance = 0 'Flat - Height = 180 - Index = 2 - Left = 330 - Picture = "UTIL7296.frx":273A - Top = 480 - Width = 180 - End - Begin VB.Image bit_cu - Appearance = 0 'Flat - Height = 180 - Index = 1 - Left = 540 - Picture = "UTIL7296.frx":281C - Top = 480 - Width = 180 - End - Begin VB.Image bit_cu - Appearance = 0 'Flat - Height = 180 - Index = 0 - Left = 750 - Picture = "UTIL7296.frx":28FE - Top = 480 - Width = 180 - End - Begin VB.Shape Shape_cu - BorderColor = &H00C0C0C0& - FillColor = &H00FF0000& - FillStyle = 0 'Solid - Height = 375 - Index = 0 - Left = 60 - Top = 360 - Width = 960 - End - Begin VB.Shape Shape_cu - BorderColor = &H00C0C0C0& - FillColor = &H00FF0000& - FillStyle = 0 'Solid - Height = 375 - Index = 1 - Left = 60 - Top = 840 - Width = 960 - End - Begin VB.Shape Shape_cu - BorderColor = &H00C0C0C0& - FillColor = &H00FF0000& - FillStyle = 0 'Solid - Height = 375 - Index = 2 - Left = 60 - Top = 1320 - Width = 960 - End - Begin VB.Shape Shape_cu - BorderColor = &H00C0C0C0& - FillColor = &H00FF0000& - FillStyle = 0 'Solid - Height = 375 - Index = 3 - Left = 60 - Top = 1800 - Width = 960 - End - End - Begin VB.Frame Frame1 - Appearance = 0 'Flat - BackColor = &H00C0C0C0& - Caption = "Port B" - BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851} - Name = "Times New Roman" - Size = 8.25 - Charset = 0 - Weight = 400 - Underline = 0 'False - Italic = 0 'False - Strikethrough = 0 'False - EndProperty - ForeColor = &H00FF0000& - Height = 2355 - Index = 1 - Left = 4140 - TabIndex = 4 - Top = 120 - Width = 2115 - Begin VB.Image bit_b - Appearance = 0 'Flat - Height = 180 - Index = 31 - Left = 120 - Picture = "UTIL7296.frx":29E0 - Top = 1920 - Width = 180 - End - Begin VB.Image bit_b - Appearance = 0 'Flat - Height = 180 - Index = 30 - Left = 330 - Picture = "UTIL7296.frx":2AC2 - Top = 1920 - Width = 180 - End - Begin VB.Image bit_b - Appearance = 0 'Flat - Height = 180 - Index = 29 - Left = 540 - Picture = "UTIL7296.frx":2BA4 - Top = 1920 - Width = 180 - End - Begin VB.Image bit_b - Appearance = 0 'Flat - Height = 180 - Index = 28 - Left = 750 - Picture = "UTIL7296.frx":2C86 - Top = 1920 - Width = 180 - End - Begin VB.Image bit_b - Appearance = 0 'Flat - Height = 180 - Index = 27 - Left = 960 - Picture = "UTIL7296.frx":2D68 - Top = 1920 - Width = 180 - End - Begin VB.Image bit_b - Appearance = 0 'Flat - Height = 180 - Index = 26 - Left = 1170 - Picture = "UTIL7296.frx":2E4A - Top = 1920 - Width = 180 - End - Begin VB.Image bit_b - Appearance = 0 'Flat - Height = 180 - Index = 25 - Left = 1380 - Picture = "UTIL7296.frx":2F2C - Top = 1920 - Width = 180 - End - Begin VB.Image bit_b - Appearance = 0 'Flat - Height = 180 - Index = 24 - Left = 1590 - Picture = "UTIL7296.frx":300E - Top = 1920 - Width = 180 - End - Begin VB.Image bit_b - Appearance = 0 'Flat - Height = 180 - Index = 23 - Left = 120 - Picture = "UTIL7296.frx":30F0 - Top = 1440 - Width = 180 - End - Begin VB.Image bit_b - Appearance = 0 'Flat - Height = 180 - Index = 22 - Left = 330 - Picture = "UTIL7296.frx":31D2 - Top = 1440 - Width = 180 - End - Begin VB.Image bit_b - Appearance = 0 'Flat - Height = 180 - Index = 21 - Left = 540 - Picture = "UTIL7296.frx":32B4 - Top = 1440 - Width = 180 - End - Begin VB.Image bit_b - Appearance = 0 'Flat - Height = 180 - Index = 20 - Left = 750 - Picture = "UTIL7296.frx":3396 - Top = 1440 - Width = 180 - End - Begin VB.Image bit_b - Appearance = 0 'Flat - Height = 180 - Index = 19 - Left = 960 - Picture = "UTIL7296.frx":3478 - Top = 1440 - Width = 180 - End - Begin VB.Image bit_b - Appearance = 0 'Flat - Height = 180 - Index = 18 - Left = 1170 - Picture = "UTIL7296.frx":355A - Top = 1440 - Width = 180 - End - Begin VB.Image bit_b - Appearance = 0 'Flat - Height = 180 - Index = 17 - Left = 1380 - Picture = "UTIL7296.frx":363C - Top = 1440 - Width = 180 - End - Begin VB.Image bit_b - Appearance = 0 'Flat - Height = 180 - Index = 16 - Left = 1590 - Picture = "UTIL7296.frx":371E - Top = 1440 - Width = 180 - End - Begin VB.Image input_b - Appearance = 0 'Flat - Height = 165 - Index = 3 - Left = 1875 - Picture = "UTIL7296.frx":3800 - Top = 1800 - Width = 165 - End - Begin VB.Image input_b - Appearance = 0 'Flat - Height = 165 - Index = 2 - Left = 1875 - Picture = "UTIL7296.frx":38DA - Top = 1320 - Width = 165 - End - Begin VB.Image output_b - Appearance = 0 'Flat - Height = 165 - Index = 3 - Left = 1875 - Picture = "UTIL7296.frx":39B4 - Top = 1995 - Width = 165 - End - Begin VB.Image output_b - Appearance = 0 'Flat - Height = 165 - Index = 2 - Left = 1875 - Picture = "UTIL7296.frx":3A8E - Top = 1515 - Width = 165 - End - Begin VB.Image output_b - Appearance = 0 'Flat - Height = 165 - Index = 1 - Left = 1875 - Picture = "UTIL7296.frx":3B68 - Top = 1035 - Width = 165 - End - Begin VB.Image output_b - Appearance = 0 'Flat - Height = 165 - Index = 0 - Left = 1875 - Picture = "UTIL7296.frx":3C42 - Top = 555 - Width = 165 - End - Begin VB.Image input_b - Appearance = 0 'Flat - Height = 165 - Index = 1 - Left = 1875 - Picture = "UTIL7296.frx":3D1C - Top = 840 - Width = 165 - End - Begin VB.Image input_b - Appearance = 0 'Flat - Height = 165 - Index = 0 - Left = 1875 - Picture = "UTIL7296.frx":3DF6 - Top = 360 - Width = 165 - End - Begin VB.Image bit_b - Appearance = 0 'Flat - Height = 180 - Index = 15 - Left = 120 - Picture = "UTIL7296.frx":3ED0 - Top = 960 - Width = 180 - End - Begin VB.Image bit_b - Appearance = 0 'Flat - Height = 180 - Index = 14 - Left = 330 - Picture = "UTIL7296.frx":3FB2 - Top = 960 - Width = 180 - End - Begin VB.Image bit_b - Appearance = 0 'Flat - Height = 180 - Index = 13 - Left = 540 - Picture = "UTIL7296.frx":4094 - Top = 960 - Width = 180 - End - Begin VB.Image bit_b - Appearance = 0 'Flat - Height = 180 - Index = 12 - Left = 750 - Picture = "UTIL7296.frx":4176 - Top = 960 - Width = 180 - End - Begin VB.Image bit_b - Appearance = 0 'Flat - Height = 180 - Index = 11 - Left = 960 - Picture = "UTIL7296.frx":4258 - Top = 960 - Width = 180 - End - Begin VB.Image bit_b - Appearance = 0 'Flat - Height = 180 - Index = 10 - Left = 1170 - Picture = "UTIL7296.frx":433A - Top = 960 - Width = 180 - End - Begin VB.Image bit_b - Appearance = 0 'Flat - Height = 180 - Index = 9 - Left = 1380 - Picture = "UTIL7296.frx":441C - Top = 960 - Width = 180 - End - Begin VB.Image bit_b - Appearance = 0 'Flat - Height = 180 - Index = 8 - Left = 1590 - Picture = "UTIL7296.frx":44FE - Top = 960 - Width = 180 - End - Begin VB.Image bit_b - Appearance = 0 'Flat - Height = 180 - Index = 7 - Left = 120 - Picture = "UTIL7296.frx":45E0 - Top = 480 - Width = 180 - End - Begin VB.Image bit_b - Appearance = 0 'Flat - Height = 180 - Index = 6 - Left = 330 - Picture = "UTIL7296.frx":46C2 - Top = 480 - Width = 180 - End - Begin VB.Image bit_b - Appearance = 0 'Flat - Height = 180 - Index = 5 - Left = 540 - Picture = "UTIL7296.frx":47A4 - Top = 480 - Width = 180 - End - Begin VB.Image bit_b - Appearance = 0 'Flat - Height = 180 - Index = 4 - Left = 750 - Picture = "UTIL7296.frx":4886 - Top = 480 - Width = 180 - End - Begin VB.Image bit_b - Appearance = 0 'Flat - Height = 180 - Index = 3 - Left = 960 - Picture = "UTIL7296.frx":4968 - Top = 480 - Width = 180 - End - Begin VB.Image bit_b - Appearance = 0 'Flat - Height = 180 - Index = 2 - Left = 1170 - Picture = "UTIL7296.frx":4A4A - Top = 480 - Width = 180 - End - Begin VB.Image bit_b - Appearance = 0 'Flat - Height = 180 - Index = 1 - Left = 1380 - Picture = "UTIL7296.frx":4B2C - Top = 480 - Width = 180 - End - Begin VB.Image bit_b - Appearance = 0 'Flat - Height = 180 - Index = 0 - Left = 1590 - Picture = "UTIL7296.frx":4C0E - Top = 480 - Width = 180 - End - Begin VB.Shape Shape_b - BorderColor = &H00C0C0C0& - FillColor = &H00FF0000& - FillStyle = 0 'Solid - Height = 375 - Index = 0 - Left = 60 - Top = 360 - Width = 1800 - End - Begin VB.Shape Shape_b - BorderColor = &H00C0C0C0& - FillColor = &H00FF0000& - FillStyle = 0 'Solid - Height = 375 - Index = 1 - Left = 60 - Top = 840 - Width = 1800 - End - Begin VB.Shape Shape_b - BorderColor = &H00C0C0C0& - FillColor = &H00FF0000& - FillStyle = 0 'Solid - Height = 375 - Index = 2 - Left = 60 - Top = 1320 - Width = 1800 - End - Begin VB.Shape Shape_b - BorderColor = &H00C0C0C0& - FillColor = &H00FF0000& - FillStyle = 0 'Solid - Height = 375 - Index = 3 - Left = 60 - Top = 1800 - Width = 1800 - End - End - Begin VB.Frame Frame1 - Appearance = 0 'Flat - BackColor = &H00C0C0C0& - Caption = "Port A" - BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851} - Name = "Times New Roman" - Size = 8.25 - Charset = 0 - Weight = 400 - Underline = 0 'False - Italic = 0 'False - Strikethrough = 0 'False - EndProperty - ForeColor = &H00FF0000& - Height = 2355 - Index = 0 - Left = 660 - TabIndex = 0 - Top = 120 - Width = 2115 - Begin VB.Image bit_a - Appearance = 0 'Flat - Height = 180 - Index = 31 - Left = 120 - Picture = "UTIL7296.frx":4CF0 - Top = 1920 - Width = 180 - End - Begin VB.Image bit_a - Appearance = 0 'Flat - Height = 180 - Index = 30 - Left = 330 - Picture = "UTIL7296.frx":4DD2 - Top = 1920 - Width = 180 - End - Begin VB.Image bit_a - Appearance = 0 'Flat - Height = 180 - Index = 29 - Left = 540 - Picture = "UTIL7296.frx":4EB4 - Top = 1920 - Width = 180 - End - Begin VB.Image bit_a - Appearance = 0 'Flat - Height = 180 - Index = 28 - Left = 750 - Picture = "UTIL7296.frx":4F96 - Top = 1920 - Width = 180 - End - Begin VB.Image bit_a - Appearance = 0 'Flat - Height = 180 - Index = 27 - Left = 960 - Picture = "UTIL7296.frx":5078 - Top = 1920 - Width = 180 - End - Begin VB.Image bit_a - Appearance = 0 'Flat - Height = 180 - Index = 26 - Left = 1170 - Picture = "UTIL7296.frx":515A - Top = 1920 - Width = 180 - End - Begin VB.Image bit_a - Appearance = 0 'Flat - Height = 180 - Index = 25 - Left = 1380 - Picture = "UTIL7296.frx":523C - Top = 1920 - Width = 180 - End - Begin VB.Image bit_a - Appearance = 0 'Flat - Height = 180 - Index = 24 - Left = 1590 - Picture = "UTIL7296.frx":531E - Top = 1920 - Width = 180 - End - Begin VB.Image bit_a - Appearance = 0 'Flat - Height = 180 - Index = 23 - Left = 120 - Picture = "UTIL7296.frx":5400 - Top = 1440 - Width = 180 - End - Begin VB.Image bit_a - Appearance = 0 'Flat - Height = 180 - Index = 22 - Left = 330 - Picture = "UTIL7296.frx":54E2 - Top = 1440 - Width = 180 - End - Begin VB.Image bit_a - Appearance = 0 'Flat - Height = 180 - Index = 21 - Left = 540 - Picture = "UTIL7296.frx":55C4 - Top = 1440 - Width = 180 - End - Begin VB.Image bit_a - Appearance = 0 'Flat - Height = 180 - Index = 20 - Left = 750 - Picture = "UTIL7296.frx":56A6 - Top = 1440 - Width = 180 - End - Begin VB.Image bit_a - Appearance = 0 'Flat - Height = 180 - Index = 19 - Left = 960 - Picture = "UTIL7296.frx":5788 - Top = 1440 - Width = 180 - End - Begin VB.Image bit_a - Appearance = 0 'Flat - Height = 180 - Index = 18 - Left = 1170 - Picture = "UTIL7296.frx":586A - Top = 1440 - Width = 180 - End - Begin VB.Image bit_a - Appearance = 0 'Flat - Height = 180 - Index = 17 - Left = 1380 - Picture = "UTIL7296.frx":594C - Top = 1440 - Width = 180 - End - Begin VB.Image bit_a - Appearance = 0 'Flat - Height = 180 - Index = 16 - Left = 1590 - Picture = "UTIL7296.frx":5A2E - Top = 1440 - Width = 180 - End - Begin VB.Image input_a - Appearance = 0 'Flat - Height = 165 - Index = 3 - Left = 1875 - Picture = "UTIL7296.frx":5B10 - Top = 1800 - Width = 165 - End - Begin VB.Image input_a - Appearance = 0 'Flat - Height = 165 - Index = 2 - Left = 1875 - Picture = "UTIL7296.frx":5BEA - Top = 1320 - Width = 165 - End - Begin VB.Image output_a - Appearance = 0 'Flat - Height = 165 - Index = 3 - Left = 1875 - Picture = "UTIL7296.frx":5CC4 - Top = 1995 - Width = 165 - End - Begin VB.Image output_a - Appearance = 0 'Flat - Height = 165 - Index = 2 - Left = 1875 - Picture = "UTIL7296.frx":5D9E - Top = 1515 - Width = 165 - End - Begin VB.Image output_a - Appearance = 0 'Flat - Height = 165 - Index = 1 - Left = 1875 - Picture = "UTIL7296.frx":5E78 - Top = 1035 - Width = 165 - End - Begin VB.Image output_a - Appearance = 0 'Flat - Height = 165 - Index = 0 - Left = 1875 - Picture = "UTIL7296.frx":5F52 - Top = 555 - Width = 165 - End - Begin VB.Image input_a - Appearance = 0 'Flat - Height = 165 - Index = 1 - Left = 1875 - Picture = "UTIL7296.frx":602C - Top = 840 - Width = 165 - End - Begin VB.Image input_a - Appearance = 0 'Flat - Height = 165 - Index = 0 - Left = 1875 - Picture = "UTIL7296.frx":6106 - Top = 360 - Width = 165 - End - Begin VB.Image bit_a - Appearance = 0 'Flat - Height = 180 - Index = 15 - Left = 120 - Picture = "UTIL7296.frx":61E0 - Top = 960 - Width = 180 - End - Begin VB.Image bit_a - Appearance = 0 'Flat - Height = 180 - Index = 14 - Left = 330 - Picture = "UTIL7296.frx":62C2 - Top = 960 - Width = 180 - End - Begin VB.Image bit_a - Appearance = 0 'Flat - Height = 180 - Index = 13 - Left = 540 - Picture = "UTIL7296.frx":63A4 - Top = 960 - Width = 180 - End - Begin VB.Image bit_a - Appearance = 0 'Flat - Height = 180 - Index = 12 - Left = 750 - Picture = "UTIL7296.frx":6486 - Top = 960 - Width = 180 - End - Begin VB.Image bit_a - Appearance = 0 'Flat - Height = 180 - Index = 11 - Left = 960 - Picture = "UTIL7296.frx":6568 - Top = 960 - Width = 180 - End - Begin VB.Image bit_a - Appearance = 0 'Flat - Height = 180 - Index = 10 - Left = 1170 - Picture = "UTIL7296.frx":664A - Top = 960 - Width = 180 - End - Begin VB.Image bit_a - Appearance = 0 'Flat - Height = 180 - Index = 9 - Left = 1380 - Picture = "UTIL7296.frx":672C - Top = 960 - Width = 180 - End - Begin VB.Image bit_a - Appearance = 0 'Flat - Height = 180 - Index = 8 - Left = 1590 - Picture = "UTIL7296.frx":680E - Top = 960 - Width = 180 - End - Begin VB.Shape Shape_a - BorderColor = &H00C0C0C0& - FillColor = &H00FF0000& - FillStyle = 0 'Solid - Height = 375 - Index = 1 - Left = 60 - Top = 840 - Width = 1800 - End - Begin VB.Image bit_a - Appearance = 0 'Flat - Height = 180 - Index = 7 - Left = 120 - Picture = "UTIL7296.frx":68F0 - Top = 480 - Width = 180 - End - Begin VB.Image bit_a - Appearance = 0 'Flat - Height = 180 - Index = 6 - Left = 330 - Picture = "UTIL7296.frx":69D2 - Top = 480 - Width = 180 - End - Begin VB.Image bit_a - Appearance = 0 'Flat - Height = 180 - Index = 5 - Left = 540 - Picture = "UTIL7296.frx":6AB4 - Top = 480 - Width = 180 - End - Begin VB.Image bit_a - Appearance = 0 'Flat - Height = 180 - Index = 4 - Left = 750 - Picture = "UTIL7296.frx":6B96 - Top = 480 - Width = 180 - End - Begin VB.Image bit_a - Appearance = 0 'Flat - Height = 180 - Index = 3 - Left = 960 - Picture = "UTIL7296.frx":6C78 - Top = 480 - Width = 180 - End - Begin VB.Image bit_a - Appearance = 0 'Flat - Height = 180 - Index = 2 - Left = 1170 - Picture = "UTIL7296.frx":6D5A - Top = 480 - Width = 180 - End - Begin VB.Image bit_a - Appearance = 0 'Flat - Height = 180 - Index = 1 - Left = 1380 - Picture = "UTIL7296.frx":6E3C - Top = 480 - Width = 180 - End - Begin VB.Image bit_a - Appearance = 0 'Flat - Height = 180 - Index = 0 - Left = 1590 - Picture = "UTIL7296.frx":6F1E - Top = 480 - Width = 180 - End - Begin VB.Shape Shape_a - BorderColor = &H00C0C0C0& - FillColor = &H00FF0000& - FillStyle = 0 'Solid - Height = 375 - Index = 0 - Left = 60 - Top = 360 - Width = 1800 - End - Begin VB.Shape Shape_a - BorderColor = &H00C0C0C0& - FillColor = &H00FF0000& - FillStyle = 0 'Solid - Height = 375 - Index = 3 - Left = 60 - Top = 1800 - Width = 1800 - End - Begin VB.Shape Shape_a - BorderColor = &H00C0C0C0& - FillColor = &H00FF0000& - FillStyle = 0 'Solid - Height = 375 - Index = 2 - Left = 60 - Top = 1320 - Width = 1800 - End - End - Begin VB.Label Label1 - Appearance = 0 'Flat - BackColor = &H00C0C0C0& - Caption = "Ch4" - ForeColor = &H00FF0000& - Height = 195 - Index = 3 - Left = 180 - TabIndex = 7 - Top = 1980 - Width = 375 - End - Begin VB.Label Label1 - Appearance = 0 'Flat - BackColor = &H00C0C0C0& - Caption = "Ch3" - ForeColor = &H00FF0000& - Height = 195 - Index = 2 - Left = 180 - TabIndex = 6 - Top = 1500 - Width = 375 - End - Begin VB.Image doc_1 - Appearance = 0 'Flat - Height = 180 - Left = 1380 - Picture = "UTIL7296.frx":7000 - Top = 4680 - Visible = 0 'False - Width = 180 - End - Begin VB.Image dic_1 - Appearance = 0 'Flat - Height = 180 - Left = 1380 - Picture = "UTIL7296.frx":70E2 - Top = 4500 - Visible = 0 'False - Width = 180 - End - Begin VB.Image dib_1 - Appearance = 0 'Flat - Height = 180 - Left = 1080 - Picture = "UTIL7296.frx":71C4 - Top = 4500 - Visible = 0 'False - Width = 180 - End - Begin VB.Image dob_1 - Appearance = 0 'Flat - Height = 180 - Left = 1080 - Picture = "UTIL7296.frx":72A6 - Top = 4680 - Visible = 0 'False - Width = 180 - End - Begin VB.Label Label1 - Appearance = 0 'Flat - BackColor = &H00C0C0C0& - Caption = "Ch1" - ForeColor = &H00FF0000& - Height = 195 - Index = 0 - Left = 180 - TabIndex = 1 - Top = 570 - Width = 375 - End - Begin VB.Label Label1 - Appearance = 0 'Flat - BackColor = &H00C0C0C0& - Caption = "Ch2" - ForeColor = &H00FF0000& - Height = 195 - Index = 1 - Left = 180 - TabIndex = 5 - Top = 1050 - Width = 375 - End - Begin VB.Shape Shape3 - BackColor = &H00C0C0C0& - FillColor = &H00C0C0C0& - FillStyle = 0 'Solid - Height = 2250 - Left = 120 - Top = 225 - Width = 495 - End - Begin VB.Image doa_1 - Appearance = 0 'Flat - Height = 180 - Left = 780 - Picture = "UTIL7296.frx":7388 - Top = 4680 - Visible = 0 'False - Width = 180 - End - Begin VB.Image do_0 - Appearance = 0 'Flat - Height = 180 - Left = 480 - Picture = "UTIL7296.frx":746A - Top = 4680 - Visible = 0 'False - Width = 180 - End - Begin VB.Image dia_1 - Appearance = 0 'Flat - Height = 180 - Left = 780 - Picture = "UTIL7296.frx":754C - Top = 4500 - Visible = 0 'False - Width = 180 - End - Begin VB.Image di_0 - Appearance = 0 'Flat - Height = 180 - Left = 480 - Picture = "UTIL7296.frx":762E - Top = 4500 - Visible = 0 'False - Width = 180 - End - Begin VB.Menu mnuExit - Caption = "E&xit!" - End -End -Attribute VB_Name = "Util7296" -Attribute VB_Creatable = False -Attribute VB_Exposed = False -Option Explicit - -Const INPUT_COLOR = &HFF00FF -Const OUTPUT_COLOR = &HFF0000 - -Dim value_a(0 To 3) As Long, value_b(0 To 3) As Long, value_cu(0 To 3) As Long, value_cl(0 To 3) As Long -Dim status_a(0 To 3) As Integer, status_b(0 To 3) As Integer, status_cu(0 To 3) As Long, status_cl(0 To 3) As Integer -'Dim hEnts As EventHandles -Private Sub bit_a_Click(Index As Integer) - Dim Channel As Integer - Dim bit As Integer - Dim result As Integer - Channel = Int(Index / 8) - bit = Index Mod 8 - If status_a(Channel) = OUTPUT_PORT Then - If (Int((value_a(Channel) / (2 ^ bit))) Mod 2) = 1 Then - bit_a(Index) = do_0 - value_a(Channel) = value_a(Channel) - (2 ^ bit) - Else 'bit is 0 - bit_a(Index) = doa_1 - value_a(Channel) = value_a(Channel) + (2 ^ bit) - End If - result = DO_WritePort(card, Channel * 5 + Channel_P1A, value_a(Channel)) - End If -End Sub - -Private Sub bit_b_Click(Index As Integer) - Dim Channel As Integer - Dim bit As Integer - Dim result As Integer - Channel = Int(Index / 8) - bit = Index Mod 8 - If status_b(Channel) = OUTPUT_PORT Then - If (Int((value_b(Channel) / (2 ^ bit))) Mod 2) = 1 Then - bit_b(Index) = do_0 - value_b(Channel) = value_b(Channel) - (2 ^ bit) - Else 'bit is 0 - bit_b(Index) = dob_1 - value_b(Channel) = value_b(Channel) + (2 ^ bit) - End If - result = DO_WritePort(card, Channel * 5 + Channel_P1B, value_b(Channel)) - End If -End Sub - -Private Sub bit_cl_Click(Index As Integer) - Dim Channel As Integer - Dim bit As Integer - Dim result As Integer - Channel = Int(Index / 4) - bit = Index Mod 4 - If status_cl(Channel) = OUTPUT_PORT Then - If (Int((value_cl(Channel) / (2 ^ bit))) Mod 2) = 1 Then - bit_cl(Index) = do_0 - value_cl(Channel) = value_cl(Channel) - (2 ^ bit) - Else 'bit is 0 - bit_cl(Index) = doc_1 - value_cl(Channel) = value_cl(Channel) + (2 ^ bit) - End If - result = DO_WritePort(card, Channel * 5 + Channel_P1CL, value_cl(Channel)) - End If -End Sub - -Private Sub bit_cu_Click(Index As Integer) - Dim Channel As Integer - Dim bit As Integer - Dim result As Integer - Channel = Int(Index / 4) - bit = Index Mod 4 - If status_cu(Channel) = OUTPUT_PORT Then - If (Int((value_cu(Channel) / (2 ^ bit))) Mod 2) = 1 Then - bit_cu(Index) = do_0 - value_cu(Channel) = value_cu(Channel) - (2 ^ bit) - Else 'bit is 0 - bit_cu(Index) = doc_1 - value_cu(Channel) = value_cu(Channel) + (2 ^ bit) - End If - result = DO_WritePort(card, Channel * 5 + Channel_P1CH, value_cu(Channel)) - End If -End Sub - -Private Sub Card_Initial() - Dim i As Integer, j As Integer - Dim result As Integer - - For i = 0 To 3 'Initial status is Output for all channels - result = DIO_PortConfig(card, i * 5 + Channel_P1A, OUTPUT_PORT) - Shape_a(i).FillColor = OUTPUT_COLOR - status_a(i) = OUTPUT_PORT - For j = 0 To 7 - bit_a(i * 8 + j) = doa_1 - Next j - value_a(i) = &HFF - result = DO_WritePort(card, i * 5 + Channel_P1A, value_a(i)) - - result = DIO_PortConfig(card, i * 5 + Channel_P1B, OUTPUT_PORT) - Shape_b(i).FillColor = OUTPUT_COLOR - status_b(i) = OUTPUT_PORT - For j = 0 To 7 - bit_b(i * 8 + j) = dob_1 - Next j - value_b(i) = &HFF - result = DO_WritePort(card, i * 5 + Channel_P1B, value_b(i)) - - result = DIO_PortConfig(card, i * 5 + Channel_P1CH, OUTPUT_PORT) - Shape_cu(i).FillColor = OUTPUT_COLOR - status_cu(i) = OUTPUT_PORT - For j = 0 To 3 - bit_cu(i * 4 + j) = doc_1 - Next j - value_cu(i) = &HF - result = DO_WritePort(card, i * 5 + Channel_P1CH, value_cu(i)) - - result = DIO_PortConfig(card, i * 5 + Channel_P1CL, OUTPUT_PORT) - Shape_cl(i).FillColor = OUTPUT_COLOR - status_cl(i) = OUTPUT_PORT - For j = 0 To 3 - bit_cl(i * 4 + j) = doc_1 - Next j - value_cl(i) = &HF - result = DO_WritePort(card, i * 5 + Channel_P1CH, value_cl(i)) - Next i -End Sub - -Private Sub Form_Load() - Dim result As Integer - SettingForm.Show 1 - If card < 0 Then - MsgBox "Register Card Failed" - End - End If - Card_Initial -End Sub - -Private Sub Form_Unload(Cancel As Integer) - Dim result As Integer - If card >= 0 Then - result = Release_Card(card) - End If - End -End Sub - - -Private Sub input_a_Click(Index As Integer) - Dim result As Integer - Shape_a(Index).FillColor = INPUT_COLOR - InputAndShow Index, Channel_P1A - status_a(Index) = INPUT_PORT - result = DIO_PortConfig(card, Index * 5 + Channel_P1A, INPUT_PORT) -End Sub - -Private Sub input_b_Click(Index As Integer) - Dim result As Integer - Shape_b(Index).FillColor = INPUT_COLOR - InputAndShow Index, Channel_P1B - status_b(Index) = INPUT_PORT - result = DIO_PortConfig(card, Index * 5 + Channel_P1B, INPUT_PORT) -End Sub - -Private Sub input_cl_Click(Index As Integer) - Dim result As Integer - Shape_cl(Index).FillColor = INPUT_COLOR - InputAndShow Index, Channel_P1CL - status_cl(Index) = INPUT_PORT - result = DIO_PortConfig(card, Index * 5 + Channel_P1CL, INPUT_PORT) -End Sub - -Private Sub input_cu_Click(Index As Integer) - Dim result As Integer - Shape_cu(Index).FillColor = INPUT_COLOR - InputAndShow Index, Channel_P1CH - status_cu(Index) = INPUT_PORT - result = DIO_PortConfig(card, Index * 5 + Channel_P1CH, INPUT_PORT) -End Sub - -Private Sub InputAndShow(ByVal Channel As Integer, ByVal Port As Integer) - Dim databyte As Long - Dim result As Integer - Dim i As Integer, k As Integer - Dim p As Integer, q As Integer, r As Integer - result = DI_ReadPort(card, Channel * 5 + Port, databyte) - p = databyte - Select Case Port - Case Channel_P1A - k = Channel * 8 - For i = k To k + 7 - r = p Mod 2 - If r = 0 Then - bit_a(i) = di_0 - Else 'r = 1 - bit_a(i) = dia_1 - End If - p = Int(p / 2) - Next - value_a(Channel) = databyte - Case Channel_P1B - k = Channel * 8 - For i = k To k + 7 - r = p Mod 2 - If r = 0 Then - bit_b(i) = di_0 - Else 'r = 1 - bit_b(i) = dib_1 - End If - p = Int(p / 2) - Next - value_b(Channel) = databyte - Case Channel_P1CH - k = Channel * 4 - For i = k To k + 3 - r = p Mod 2 - If r = 0 Then - bit_cu(i) = di_0 - Else 'r = 1 - bit_cu(i) = dic_1 - End If - p = Int(p / 2) - Next - value_cu(Channel) = databyte - Case Channel_P1CL - k = Channel * 4 - For i = k To k + 3 - r = p Mod 2 - If r = 0 Then - bit_cl(i) = di_0 - Else 'r = 1 - bit_cl(i) = dic_1 - End If - p = Int(p / 2) - Next - value_cl(Channel) = databyte - End Select -End Sub - -Private Sub mnuExit_Click() -Dim result As Integer - If card >= 0 Then - result = Release_Card(card) - End If - End -End Sub - -Private Sub output_a_Click(Index As Integer) - Dim i As Integer, k As Integer - Shape_a(Index).FillColor = OUTPUT_COLOR - value_a(Index) = &HFF - k = Index * 8 - For i = k To k + 7 - bit_a(i) = doa_1 - Next - k = DIO_PortConfig(card, Index * 5 + Channel_P1A, OUTPUT_PORT) - k = DO_WritePort(card, Index * 5 + Channel_P1A, &HFF) - status_a(Index) = OUTPUT_PORT -End Sub - -Private Sub output_b_Click(Index As Integer) - Dim i As Integer, k As Integer - Shape_b(Index).FillColor = OUTPUT_COLOR - value_b(Index) = &HFF - k = Index * 8 - For i = k To k + 7 - bit_b(i) = dob_1 - Next - k = DIO_PortConfig(card, Index * 5 + Channel_P1B, OUTPUT_PORT) - k = DO_WritePort(card, Index * 5 + Channel_P1B, &HFF) - status_b(Index) = OUTPUT_PORT -End Sub - -Private Sub output_cl_Click(Index As Integer) - Dim i As Integer, k As Integer - Shape_cl(Index).FillColor = OUTPUT_COLOR - value_cl(Index) = &HF - k = Index * 4 - For i = k To k + 3 - bit_cl(i) = doc_1 - Next - k = DIO_PortConfig(card, Index * 5 + Channel_P1CL, OUTPUT_PORT) - k = DO_WritePort(card, Index * 5 + Channel_P1CL, &HFF) - status_cl(Index) = OUTPUT_PORT -End Sub - -Private Sub output_cu_Click(Index As Integer) - Dim i As Integer, k As Integer - Shape_cu(Index).FillColor = OUTPUT_COLOR - value_cu(Index) = &HF - k = Index * 4 - For i = k To k + 3 - bit_cu(i) = doc_1 - Next - k = DIO_PortConfig(card, Index * 5 + Channel_P1CH, OUTPUT_PORT) - k = DO_WritePort(card, Index * 5 + Channel_P1CH, &HFF) - status_cu(Index) = OUTPUT_PORT -End Sub - -Private Sub Timer1_Timer() - Dim i As Integer, result As Long - For i = 0 To 3 - If status_a(i) = INPUT_PORT Then - InputAndShow i, Channel_P1A - End If - If status_b(i) = INPUT_PORT Then - InputAndShow i, Channel_P1B - End If - If status_cl(i) = INPUT_PORT Then - InputAndShow i, Channel_P1CL - End If - If status_cu(i) = INPUT_PORT Then - InputAndShow i, Channel_P1CH - End If - Next -End Sub - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7296/VB7296/Util7296.Vbp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7296/VB7296/Util7296.Vbp deleted file mode 100644 index cf2be78..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7296/VB7296/Util7296.Vbp +++ /dev/null @@ -1,20 +0,0 @@ -Form=UTIL7296.FRM -Module=DASK; ..\..\..\Include\Dask.bas -Module=Module1; 7296glbl.bas -Form=Base7296.frm -Reference=*\G{00025E04-0000-0000-C000-000000000046}#2.5#0#D:\Program Files\Common Files\Microsoft Shared\DD:\Program Fil#Microsoft DAO 2.5/3.0 Compatibility Library -ProjWinSize=103,534,248,215 -ProjWinShow=2 -IconForm="Util7296" -ExeName32="Util7296.exe" -Name="util48" -HelpContextID="0" -StartMode=0 -VersionCompatible32="0" -VersionCompatible="0" -MajorVer=1 -MinorVer=0 -RevisionVer=0 -AutoIncrementVer=0 -ServerSupportFiles=0 -VersionCompanyName="ADLINK" diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7296/VB7296/Util7296.frx b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7296/VB7296/Util7296.frx deleted file mode 100644 index fc83ded..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7296/VB7296/Util7296.frx and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7296/sdk7296DbEvt/7296INT.C b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7296/sdk7296DbEvt/7296INT.C deleted file mode 100644 index 5337582..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7296/sdk7296DbEvt/7296INT.C +++ /dev/null @@ -1,355 +0,0 @@ - -/*;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; -;; Copyright (c) 1995-1999, ADLink Technology Inc. All rights reserved. ;; -;; ;; -;; File Name : 7296int.C ;; -;; Purpose : This sample program demonstrates DIO through ;; -;; interrupt operation ;; -;; Date : 07/20/1999 ;; -;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;*/ - - #include - #include - #include - #include - #include "Dask.h" - #include "resource.h" - - #define IDM_SETUP 101 - #define IDD_DIALOG1 101 - #define IDM_EXIT 110 - #define IDM_GO 300 - #define IDM_CLEAR 305 - #define IDC_COMBO1 1004 - #define IDC_EDIT1 1007 - #define IDC_EDIT2 1008 - - - HANDLE hInst; /* current instance */ - HANDLE hIntEvent[2]; - HWND hMainWnd; - - I16 card=-1, card_number = 0; - long hThread = -1; - - int total_count =40, int_count; - int sample_rate=20000; - unsigned int buffer[32768], in_buffer[32768]; - char Buf[80]; - int c1=10,c2=10; - - int PASCAL WinMain(HANDLE, HANDLE, LPSTR, int); - BOOL InitApplication(HANDLE); - BOOL InitInstance(HANDLE, int); - long PASCAL MainWndProc(HWND, unsigned, WPARAM, LPARAM); - BOOL PASCAL About(HWND, unsigned, WPARAM, LPARAM); - BOOL PASCAL ShowDMA(HWND, unsigned, WPARAM, LPARAM); - - void - IntThread(void* pArg) - { - while (1) { - if (WaitForSingleObject(hIntEvent[0], INFINITE) == WAIT_OBJECT_0) { - int_count++; - ResetEvent(hIntEvent[0]); - InvalidateRect(hMainWnd, NULL, FALSE); - } - } - _endthread(); - } - - /********************************************************************** - - FUNCTION: WinMain(HANDLE, HANDLE, LPSTR, int) - PURPOSE: calls initialization function, processes message loop - - ***********************************************************************/ - - int PASCAL WinMain(hInstance, hPrevInstance, lpCmdLine, nCmdShow) - - HANDLE hInstance; - HANDLE hPrevInstance; - LPSTR lpCmdLine; - int nCmdShow; - - { - MSG msg; - - if(!hPrevInstance) - if(!InitApplication(hInstance)) - return(FALSE); - - if(!InitInstance(hInstance, nCmdShow)) - return(FALSE); - - while ( GetMessage(&msg, NULL, NULL, NULL)) - { - TranslateMessage(&msg); - DispatchMessage(&msg); - } - return(msg.wParam); - } - -/**************************************************************************** - - FUNCTION: InitApplication(HANDLE) - - PURPOSE: Initializes window data and registers window class - -****************************************************************************/ - -BOOL InitApplication(hInstance) -HANDLE hInstance; -{ - WNDCLASS wc; - - wc.style = NULL; - wc.lpfnWndProc = MainWndProc; - wc.cbClsExtra = 0; - wc.cbWndExtra = 0; - wc.hInstance = hInstance; - wc.hIcon = LoadIcon(NULL, IDI_APPLICATION); - wc.hCursor = LoadCursor(hInstance, IDC_ARROW); - wc.hbrBackground = GetStockObject(WHITE_BRUSH); - wc.lpszMenuName = "IntMenu"; - wc.lpszClassName = "IntClass"; - - return (RegisterClass(&wc)); -} - -/**************************************************************************** - - FUNCTION: InitInstance(HANDLE, int) - - PURPOSE: Saves instance handle and creates main window - -****************************************************************************/ - -BOOL InitInstance(hInstance, nCmdShow) -HANDLE hInstance; -int nCmdShow; -{ - HWND hWnd; - - hInst = hInstance; - hWnd = CreateWindow("IntClass", - "PCI-7296 Dual Interrupt Sample", - WS_OVERLAPPEDWINDOW, - 200, - 100, - 400, - 370, - NULL, - NULL, - hInstance, - NULL); - - if (!hWnd) return (FALSE); - ShowWindow(hWnd, nCmdShow); - UpdateWindow(hWnd); - return (TRUE); -} - - -BOOL PASCAL setup(HWND hWnd, unsigned message, WPARAM wParam, LPARAM lParam) -{ - int i,k=0; - char n[16]; - char s[100]; - BOOL ok; - - - switch (message) { - case WM_INITDIALOG: - for (i=0;i<16;i++) { - wsprintf(n, "%d", i); - _strupr(n); - SendMessage(GetDlgItem(hWnd,IDC_COMBO1), CB_ADDSTRING, NULL, (LONG)(LPSTR) n); - } - SendMessage(GetDlgItem(hWnd,IDC_COMBO1) , CB_SETCURSEL, 0, 0L); - if(card >=0) - EnableWindow(GetDlgItem(hWnd,IDC_COMBO1), FALSE); - SendMessage(GetDlgItem(hWnd,IDC_EDIT2) , WM_SETTEXT, 0, "10000"); - SendMessage(GetDlgItem(hWnd,IDC_EDIT1) , WM_SETTEXT, 0, "40"); - - break; - case WM_COMMAND: - switch(LOWORD(wParam)) { - case IDC_COMBO1: - if (HIWORD(wParam) == CBN_CLOSEUP) { - i = (int)SendMessage(GetDlgItem(hWnd,IDC_COMBO1), CB_GETCURSEL, 0, 0L); - SendMessage(GetDlgItem(hWnd,IDC_COMBO1), CB_GETLBTEXT, i, (LPARAM)((LPCSTR)n)); - card_number = i; - } - return(TRUE); - case IDOK: - if(card <0) { - if ((card=Register_Card(PCI_7296, card_number))< 0) { - wsprintf(s, "Register_Card Error = %d\n", card); - MessageBox(hWnd, s, "Error", MB_OK); - EndDialog(hWnd, TRUE); - break; - } - DIO_PortConfig(card,Channel_P1A, INPUT_PORT); - DIO_PortConfig(card,Channel_P2A, OUTPUT_PORT); - DIO_PortConfig(card,Channel_P1C, INPUT_PORT); - DIO_PortConfig(card,Channel_P2C, OUTPUT_PORT); - DIO_SetDualInterrupt(card, INT1_FP1C0, INT2_TIMER_COUNTER, hIntEvent); - } - total_count = GetDlgItemInt(hWnd,IDC_EDIT1, &ok, FALSE); - if(total_count > 32768) { - MessageBox(hWnd,"Count can be assigned at most 32768", "INT", MB_OK); - break; - } - for (i=0;i255) k=0; - } - for (i=0;i 15000 ) sample_rate=15000; - c2=2000000/(sample_rate*c1); - if(hThread<0) - hThread = _beginthread(IntThread, 0, 0); - EndDialog(hWnd, TRUE); - return (TRUE); - case IDCANCEL: - EndDialog(hWnd, TRUE); - return (TRUE); - } - break; - } - return (FALSE); -} - -/**************************************************************************** - - FUNCTION: MainWndProc(HWND, UINT, WPARAM, LPARAM) - - PURPOSE: Processes messages - - -****************************************************************************/ - -long PASCAL MainWndProc(hWnd, message, wParam, lParam) -HWND hWnd; -unsigned message; -WPARAM wParam; -LPARAM lParam; -{ - int i, k; - int cur_count=0; - HDC hDC, hDC1; - PAINTSTRUCT ps; - FARPROC lpProc; - - - switch(message) { - - case WM_CREATE: - hMainWnd = hWnd; - break; - case WM_PAINT: - hDC1=BeginPaint(hWnd, &ps); - wsprintf(Buf,"This program demostrates how to use dual interrupt line."); - TextOut(hDC1,20,10,Buf,strlen(Buf)); - wsprintf(Buf,"The IRQ source of INT1 is P1C0."); - TextOut(hDC1,20,30,Buf,strlen(Buf)); - wsprintf(Buf," The IRQ source of INT2 is internal Timer Output"); - TextOut(hDC1,20,50,Buf,strlen(Buf)); - SetTextColor(hDC1, RGB(255,0,0)); - wsprintf(Buf,"Using cable to connect CN1 and CN2"); - TextOut(hDC1,20,70,Buf,strlen(Buf)); - wsprintf(Buf,"Push 'Setup' button first ..."); - TextOut(hDC1,20,90,Buf,strlen(Buf)); - EndPaint(hWnd, &ps); - break; - case WM_COMMAND: - switch(wParam) { - case IDM_SETUP: - lpProc = MakeProcInstance(setup, hInst); - DialogBox(hInst,IDD_DIALOG1,hWnd,lpProc); - FreeProcInstance(lpProc); - if(card<0) - SendMessage(hWnd, WM_CLOSE, 0, 0L); - break; - - case IDM_GO: - // Interrupt Trigger - hDC=GetDC(hWnd); - CTR_Setup (card, 1, RATE_GENERATOR, c1, BIN); - CTR_Setup (card, 2, RATE_GENERATOR, c2, BIN); - k=0; i=0;int_count = 0; - while (k=10 && i<20) { - wsprintf(Buf,"%d, ",in_buffer[i]); - TextOut(hDC,20+25*(i-10),220,Buf,strlen(Buf)); - } - if(i>=20 && i<30) { - wsprintf(Buf,"%d, ",in_buffer[i]); - TextOut(hDC,20+25*(i-20),245,Buf,strlen(Buf)); - } - if (i>=30 && i<40) { - wsprintf(Buf,"%d, ",in_buffer[i]); - TextOut(hDC,20+25*(i-30),270,Buf,strlen(Buf)); - } - if (i>=40 && i<50) { - wsprintf(Buf,"%d, ",in_buffer[i]); - TextOut(hDC,20+25*(i-40),295,Buf,strlen(Buf)); - } - } - ReleaseDC(hWnd, hDC); - break; - - case IDM_CLEAR : - if(card >=0) { - DIO_SetDualInterrupt(card, INT1_DISABLE, INT2_DISABLE, hIntEvent); - for (i=0; i<2; i++) { - if(hIntEvent[i]) - ResetEvent(hIntEvent[i]); - } - } - PostQuitMessage(0); - break; - } - break; - - case WM_DESTROY: - if (card >= 0) Release_Card(card); - PostQuitMessage(0); - break; - - default: - return (DefWindowProc(hWnd, message, wParam, lParam)); - } - return(0L); -} - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7296/sdk7296DbEvt/7296INT.MAK b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7296/sdk7296DbEvt/7296INT.MAK deleted file mode 100644 index b012c99..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7296/sdk7296DbEvt/7296INT.MAK +++ /dev/null @@ -1,219 +0,0 @@ -# Microsoft Developer Studio Generated NMAKE File, Format Version 4.00 -# ** DO NOT EDIT ** - -# TARGTYPE "Win32 (x86) Application" 0x0101 - -!IF "$(CFG)" == "" -CFG=7296int - Win32 Debug -!MESSAGE No configuration specified. Defaulting to 7296int - Win32 Debug. -!ENDIF - -!IF "$(CFG)" != "7296int - Win32 Release" && "$(CFG)" !=\ - "7296int - Win32 Debug" -!MESSAGE Invalid configuration "$(CFG)" specified. -!MESSAGE You can specify a configuration when running NMAKE on this makefile -!MESSAGE by defining the macro CFG on the command line. For example: -!MESSAGE -!MESSAGE NMAKE /f "7296INT.MAK" CFG="7296int - Win32 Debug" -!MESSAGE -!MESSAGE Possible choices for configuration are: -!MESSAGE -!MESSAGE "7296int - Win32 Release" (based on "Win32 (x86) Application") -!MESSAGE "7296int - Win32 Debug" (based on "Win32 (x86) Application") -!MESSAGE -!ERROR An invalid configuration is specified. -!ENDIF - -!IF "$(OS)" == "Windows_NT" -NULL= -!ELSE -NULL=nul -!ENDIF -################################################################################ -# Begin Project -# PROP Target_Last_Scanned "7296int - Win32 Debug" -CPP=cl.exe -RSC=rc.exe -MTL=mktyplib.exe - -!IF "$(CFG)" == "7296int - Win32 Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "Release" -# PROP BASE Intermediate_Dir "Release" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "" -# PROP Intermediate_Dir "Release" -# PROP Target_Dir "" -OUTDIR=. -INTDIR=.\Release - -ALL : "$(OUTDIR)\7296INT.exe" - -CLEAN : - -@erase ".\7296INT.exe" - -@erase ".\Release\7296int.obj" - -@erase ".\Release\7296int.res" - -"$(INTDIR)" : - if not exist "$(INTDIR)/$(NULL)" mkdir "$(INTDIR)" - -# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /YX /c -# ADD CPP /nologo /MT /W3 /GX /Od /I "..\..\..\include" /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /c -# SUBTRACT CPP /YX -CPP_PROJ=/nologo /MT /W3 /GX /Od /I "..\..\..\include" /D "WIN32" /D "NDEBUG"\ - /D "_WINDOWS" /Fo"$(INTDIR)/" /c -CPP_OBJS=.\Release/ -CPP_SBRS= -# ADD BASE MTL /nologo /D "NDEBUG" /win32 -# ADD MTL /nologo /D "NDEBUG" /win32 -MTL_PROJ=/nologo /D "NDEBUG" /win32 -# ADD BASE RSC /l 0x409 /d "NDEBUG" -# ADD RSC /l 0x409 /d "NDEBUG" -RSC_PROJ=/l 0x409 /fo"$(INTDIR)/7296int.res" /d "NDEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -BSC32_FLAGS=/nologo /o"$(OUTDIR)/7296INT.bsc" -BSC32_SBRS= -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:windows /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ..\..\..\lib\pci-dask.lib /nologo /subsystem:windows /machine:I386 -LINK32_FLAGS=kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib\ - advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib\ - odbccp32.lib ..\..\..\lib\pci-dask.lib /nologo /subsystem:windows\ - /incremental:no /pdb:"$(OUTDIR)/7296INT.pdb" /machine:I386\ - /out:"$(OUTDIR)/7296INT.exe" -LINK32_OBJS= \ - "$(INTDIR)/7296int.obj" \ - "$(INTDIR)/7296int.res" - -"$(OUTDIR)\7296INT.exe" : "$(OUTDIR)" $(DEF_FILE) $(LINK32_OBJS) - $(LINK32) @<< - $(LINK32_FLAGS) $(LINK32_OBJS) -<< - -!ELSEIF "$(CFG)" == "7296int - Win32 Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "Debug" -# PROP BASE Intermediate_Dir "Debug" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "Debug" -# PROP Intermediate_Dir "Debug" -# PROP Target_Dir "" -OUTDIR=.\Debug -INTDIR=.\Debug - -ALL : "$(OUTDIR)\7296INT.exe" - -CLEAN : - -@erase ".\Debug\vc40.pdb" - -@erase ".\Debug\vc40.idb" - -@erase ".\Debug\7296INT.exe" - -@erase ".\Debug\7296int.obj" - -@erase ".\Debug\7296int.res" - -@erase ".\Debug\7296INT.ilk" - -@erase ".\Debug\7296INT.pdb" - -"$(OUTDIR)" : - if not exist "$(OUTDIR)/$(NULL)" mkdir "$(OUTDIR)" - -# ADD BASE CPP /nologo /W3 /Gm /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /YX /c -# ADD CPP /nologo /MTd /W3 /Gm /GX /Zi /Od /I "..\..\..\include" /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /c -# SUBTRACT CPP /YX -CPP_PROJ=/nologo /MTd /W3 /Gm /GX /Zi /Od /I "..\..\..\include" /D "WIN32" /D\ - "_DEBUG" /D "_WINDOWS" /Fo"$(INTDIR)/" /Fd"$(INTDIR)/" /c -CPP_OBJS=.\Debug/ -CPP_SBRS= -# ADD BASE MTL /nologo /D "_DEBUG" /win32 -# ADD MTL /nologo /D "_DEBUG" /win32 -MTL_PROJ=/nologo /D "_DEBUG" /win32 -# ADD BASE RSC /l 0x409 /d "_DEBUG" -# ADD RSC /l 0x409 /d "_DEBUG" -RSC_PROJ=/l 0x409 /fo"$(INTDIR)/7296int.res" /d "_DEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -BSC32_FLAGS=/nologo /o"$(OUTDIR)/7296INT.bsc" -BSC32_SBRS= -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:windows /debug /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ..\..\..\lib\pci-dask.lib /nologo /subsystem:windows /debug /machine:I386 -LINK32_FLAGS=kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib\ - advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib\ - odbccp32.lib ..\..\..\lib\pci-dask.lib /nologo /subsystem:windows\ - /incremental:yes /pdb:"$(OUTDIR)/7296INT.pdb" /debug /machine:I386\ - /out:"$(OUTDIR)/7296INT.exe" -LINK32_OBJS= \ - "$(INTDIR)/7296int.obj" \ - "$(INTDIR)/7296int.res" - -"$(OUTDIR)\7296INT.exe" : "$(OUTDIR)" $(DEF_FILE) $(LINK32_OBJS) - $(LINK32) @<< - $(LINK32_FLAGS) $(LINK32_OBJS) -<< - -!ENDIF - -.c{$(CPP_OBJS)}.obj: - $(CPP) $(CPP_PROJ) $< - -.cpp{$(CPP_OBJS)}.obj: - $(CPP) $(CPP_PROJ) $< - -.cxx{$(CPP_OBJS)}.obj: - $(CPP) $(CPP_PROJ) $< - -.c{$(CPP_SBRS)}.sbr: - $(CPP) $(CPP_PROJ) $< - -.cpp{$(CPP_SBRS)}.sbr: - $(CPP) $(CPP_PROJ) $< - -.cxx{$(CPP_SBRS)}.sbr: - $(CPP) $(CPP_PROJ) $< - -################################################################################ -# Begin Target - -# Name "7296int - Win32 Release" -# Name "7296int - Win32 Debug" - -!IF "$(CFG)" == "7296int - Win32 Release" - -!ELSEIF "$(CFG)" == "7296int - Win32 Debug" - -!ENDIF - -################################################################################ -# Begin Source File - -SOURCE=.\7296int.rc - -"$(INTDIR)\7296int.res" : $(SOURCE) "$(INTDIR)" - $(RSC) $(RSC_PROJ) $(SOURCE) - - -# End Source File -################################################################################ -# Begin Source File - -SOURCE=.\7296int.c -DEP_CPP_7296I=\ - ".\..\..\..\include\Dask.h"\ - - -"$(INTDIR)\7296int.obj" : $(SOURCE) $(DEP_CPP_7296I) "$(INTDIR)" - - -# End Source File -# End Target -# End Project -################################################################################ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7296/sdk7296DbEvt/7296INT.MDP b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7296/sdk7296DbEvt/7296INT.MDP deleted file mode 100644 index 8afd468..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7296/sdk7296DbEvt/7296INT.MDP and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7296/sdk7296DbEvt/7296INT.RC b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7296/sdk7296DbEvt/7296INT.RC deleted file mode 100644 index 7281e15..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7296/sdk7296DbEvt/7296INT.RC +++ /dev/null @@ -1,125 +0,0 @@ -//Microsoft Developer Studio generated resource script. -// -#include "resource.h" - -#define APSTUDIO_READONLY_SYMBOLS -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 2 resource. -// -#define APSTUDIO_HIDDEN_SYMBOLS -#include "windows.h" -#undef APSTUDIO_HIDDEN_SYMBOLS - -///////////////////////////////////////////////////////////////////////////// -#undef APSTUDIO_READONLY_SYMBOLS - -///////////////////////////////////////////////////////////////////////////// -// English (U.S.) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -#ifdef _WIN32 -LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US -#pragma code_page(1252) -#endif //_WIN32 - -#ifdef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// TEXTINCLUDE -// - -1 TEXTINCLUDE DISCARDABLE -BEGIN - "resource.h\0" -END - -2 TEXTINCLUDE DISCARDABLE -BEGIN - "#define APSTUDIO_HIDDEN_SYMBOLS\r\n" - "#include ""windows.h""\r\n" - "#undef APSTUDIO_HIDDEN_SYMBOLS\r\n" - "\0" -END - -3 TEXTINCLUDE DISCARDABLE -BEGIN - "\r\n" - "\0" -END - -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// Menu -// - -INTMENU MENU DISCARDABLE -BEGIN - MENUITEM "Setup", IDM_SETUP - MENUITEM "Interrupt Trigger", IDM_GO - MENUITEM "Exit", IDM_CLEAR -END - - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog -// - -IDD_DIALOG1 DIALOG DISCARDABLE 0, 0, 133, 105 -STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "Setup Dialog" -FONT 10, "System" -BEGIN - DEFPUSHBUTTON "OK",IDOK,7,86,47,14 - PUSHBUTTON "Cancel",IDCANCEL,72,86,45,14 - LTEXT "Total Count",IDC_STATIC,7,33,53,12 - LTEXT "Sampling Rate",IDC_STATIC,7,59,53,12 - EDITTEXT IDC_EDIT1,60,32,63,15,ES_AUTOHSCROLL - EDITTEXT IDC_EDIT2,60,56,63,15,ES_AUTOHSCROLL - LTEXT "Card Number",IDC_STATIC,7,12,48,13 - COMBOBOX IDC_COMBO1,60,12,63,84,CBS_DROPDOWN | WS_VSCROLL | - WS_TABSTOP -END - - -///////////////////////////////////////////////////////////////////////////// -// -// DESIGNINFO -// - -#ifdef APSTUDIO_INVOKED -GUIDELINES DESIGNINFO DISCARDABLE -BEGIN - IDD_DIALOG1, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 123 - VERTGUIDE, 7 - VERTGUIDE, 60 - TOPMARGIN, 4 - BOTTOMMARGIN, 100 - HORZGUIDE, 71 - HORZGUIDE, 87 - END -END -#endif // APSTUDIO_INVOKED - -#endif // English (U.S.) resources -///////////////////////////////////////////////////////////////////////////// - - - -#ifndef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 3 resource. -// - - -///////////////////////////////////////////////////////////////////////////// -#endif // not APSTUDIO_INVOKED - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7296/sdk7296DbEvt/7296int.exe b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7296/sdk7296DbEvt/7296int.exe deleted file mode 100644 index 9be9388..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7296/sdk7296DbEvt/7296int.exe and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7296/sdk7296DbEvt/Resource.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7296/sdk7296DbEvt/Resource.h deleted file mode 100644 index 5a22550..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7296/sdk7296DbEvt/Resource.h +++ /dev/null @@ -1,26 +0,0 @@ -//{{NO_DEPENDENCIES}} -// Microsoft Developer Studio generated include file. -// Used by 7296int.rc -// -#define IDM_SETUP 101 -#define IDD_DIALOG1 101 -#define IDM_EXIT 110 -#define IDM_GO 300 -#define ID_STOP 304 -#define IDM_CLEAR 305 -#define IDC_COMBO1 1004 -#define IDC_COMBO2 1005 -#define IDC_EDIT1 1007 -#define IDC_EDIT2 1008 -#define IDC_STATIC -1 - -// Next default values for new objects -// -#ifdef APSTUDIO_INVOKED -#ifndef APSTUDIO_READONLY_SYMBOLS -#define _APS_NEXT_RESOURCE_VALUE 103 -#define _APS_NEXT_COMMAND_VALUE 102 -#define _APS_NEXT_CONTROL_VALUE 1008 -#define _APS_NEXT_SYMED_VALUE 101 -#endif -#endif diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7300a/C7300aFile/7300aFile.exe b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7300a/C7300aFile/7300aFile.exe deleted file mode 100644 index ba79e1d..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7300a/C7300aFile/7300aFile.exe and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7300a/C7300aFile/7300aFile.mak b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7300a/C7300aFile/7300aFile.mak deleted file mode 100644 index 04a73e2..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7300a/C7300aFile/7300aFile.mak +++ /dev/null @@ -1,199 +0,0 @@ -# Microsoft Developer Studio Generated NMAKE File, Format Version 4.20 -# ** DO NOT EDIT ** - -# TARGTYPE "Win32 (x86) Console Application" 0x0103 - -!IF "$(CFG)" == "" -CFG=7300File - Win32 Debug -!MESSAGE No configuration specified. Defaulting to 7300File - Win32 Debug. -!ENDIF - -!IF "$(CFG)" != "7300File - Win32 Release" && "$(CFG)" !=\ - "7300File - Win32 Debug" -!MESSAGE Invalid configuration "$(CFG)" specified. -!MESSAGE You can specify a configuration when running NMAKE on this makefile -!MESSAGE by defining the macro CFG on the command line. For example: -!MESSAGE -!MESSAGE NMAKE /f "7300aFile.mak" CFG="7300File - Win32 Debug" -!MESSAGE -!MESSAGE Possible choices for configuration are: -!MESSAGE -!MESSAGE "7300File - Win32 Release" (based on\ - "Win32 (x86) Console Application") -!MESSAGE "7300File - Win32 Debug" (based on "Win32 (x86) Console Application") -!MESSAGE -!ERROR An invalid configuration is specified. -!ENDIF - -!IF "$(OS)" == "Windows_NT" -NULL= -!ELSE -NULL=nul -!ENDIF -################################################################################ -# Begin Project -# PROP Target_Last_Scanned "7300File - Win32 Debug" -CPP=cl.exe -RSC=rc.exe - -!IF "$(CFG)" == "7300File - Win32 Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "Release" -# PROP BASE Intermediate_Dir "Release" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "" -# PROP Intermediate_Dir "Release" -# PROP Target_Dir "" -OUTDIR=. -INTDIR=.\Release - -ALL : "$(OUTDIR)\7300aFile.exe" - -CLEAN : - -@erase "$(INTDIR)\7300afile.obj" - -@erase "$(OUTDIR)\7300aFile.exe" - -"$(INTDIR)" : - if not exist "$(INTDIR)/$(NULL)" mkdir "$(INTDIR)" - -# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /YX /c -# ADD CPP /nologo /W3 /GX /Od /I "..\..\..\include" /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /c -# SUBTRACT CPP /YX -CPP_PROJ=/nologo /ML /W3 /GX /Od /I "..\..\..\include" /D "WIN32" /D "NDEBUG"\ - /D "_CONSOLE" /Fo"$(INTDIR)/" /c -CPP_OBJS=.\Release/ -CPP_SBRS=.\. -# ADD BASE RSC /l 0x404 /d "NDEBUG" -# ADD RSC /l 0x404 /d "NDEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -BSC32_FLAGS=/nologo /o"$(OUTDIR)/7300aFile.bsc" -BSC32_SBRS= \ - -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ..\..\..\lib\pci-dask.lib /nologo /subsystem:console /machine:I386 -LINK32_FLAGS=kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib\ - advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib\ - odbccp32.lib ..\..\..\lib\pci-dask.lib /nologo /subsystem:console\ - /incremental:no /pdb:"$(OUTDIR)/7300aFile.pdb" /machine:I386\ - /out:"$(OUTDIR)/7300aFile.exe" -LINK32_OBJS= \ - "$(INTDIR)\7300afile.obj" - -"$(OUTDIR)\7300aFile.exe" : "$(OUTDIR)" $(DEF_FILE) $(LINK32_OBJS) - $(LINK32) @<< - $(LINK32_FLAGS) $(LINK32_OBJS) -<< - -!ELSEIF "$(CFG)" == "7300File - Win32 Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "Debug" -# PROP BASE Intermediate_Dir "Debug" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "" -# PROP Intermediate_Dir "Debug" -# PROP Target_Dir "" -OUTDIR=. -INTDIR=.\Debug - -ALL : "$(OUTDIR)\7300aFile.exe" - -CLEAN : - -@erase "$(INTDIR)\7300afile.obj" - -@erase "$(INTDIR)\vc40.idb" - -@erase "$(INTDIR)\vc40.pdb" - -@erase "$(OUTDIR)\7300aFile.exe" - -@erase "$(OUTDIR)\7300aFile.ilk" - -@erase "$(OUTDIR)\7300aFile.pdb" - -"$(INTDIR)" : - if not exist "$(INTDIR)/$(NULL)" mkdir "$(INTDIR)" - -# ADD BASE CPP /nologo /W3 /Gm /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /YX /c -# ADD CPP /nologo /W3 /Gm /GX /Zi /Od /I "..\..\..\include" /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /c -# SUBTRACT CPP /YX -CPP_PROJ=/nologo /MLd /W3 /Gm /GX /Zi /Od /I "..\..\..\include" /D "WIN32" /D\ - "_DEBUG" /D "_CONSOLE" /Fo"$(INTDIR)/" /Fd"$(INTDIR)/" /c -CPP_OBJS=.\Debug/ -CPP_SBRS=.\. -# ADD BASE RSC /l 0x404 /d "_DEBUG" -# ADD RSC /l 0x404 /d "_DEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -BSC32_FLAGS=/nologo /o"$(OUTDIR)/7300aFile.bsc" -BSC32_SBRS= \ - -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /debug /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ..\..\..\lib\pci-dask.lib /nologo /subsystem:console /debug /machine:I386 -LINK32_FLAGS=kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib\ - advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib\ - odbccp32.lib ..\..\..\lib\pci-dask.lib /nologo /subsystem:console\ - /incremental:yes /pdb:"$(OUTDIR)/7300aFile.pdb" /debug /machine:I386\ - /out:"$(OUTDIR)/7300aFile.exe" -LINK32_OBJS= \ - "$(INTDIR)\7300afile.obj" - -"$(OUTDIR)\7300aFile.exe" : "$(OUTDIR)" $(DEF_FILE) $(LINK32_OBJS) - $(LINK32) @<< - $(LINK32_FLAGS) $(LINK32_OBJS) -<< - -!ENDIF - -.c{$(CPP_OBJS)}.obj: - $(CPP) $(CPP_PROJ) $< - -.cpp{$(CPP_OBJS)}.obj: - $(CPP) $(CPP_PROJ) $< - -.cxx{$(CPP_OBJS)}.obj: - $(CPP) $(CPP_PROJ) $< - -.c{$(CPP_SBRS)}.sbr: - $(CPP) $(CPP_PROJ) $< - -.cpp{$(CPP_SBRS)}.sbr: - $(CPP) $(CPP_PROJ) $< - -.cxx{$(CPP_SBRS)}.sbr: - $(CPP) $(CPP_PROJ) $< - -################################################################################ -# Begin Target - -# Name "7300File - Win32 Release" -# Name "7300File - Win32 Debug" - -!IF "$(CFG)" == "7300File - Win32 Release" - -!ELSEIF "$(CFG)" == "7300File - Win32 Debug" - -!ENDIF - -################################################################################ -# Begin Source File - -SOURCE=.\7300afile.c -DEP_CPP_7300A=\ - "..\..\..\include\dask.h"\ - - -"$(INTDIR)\7300afile.obj" : $(SOURCE) $(DEP_CPP_7300A) "$(INTDIR)" - - -# End Source File -# End Target -# End Project -################################################################################ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7300a/C7300aFile/7300aFile.mdp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7300a/C7300aFile/7300aFile.mdp deleted file mode 100644 index 0d567ed..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7300a/C7300aFile/7300aFile.mdp and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7300a/C7300aFile/7300afile.c b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7300a/C7300aFile/7300afile.c deleted file mode 100644 index 3f4fda7..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7300a/C7300aFile/7300afile.c +++ /dev/null @@ -1,57 +0,0 @@ -#include -#include -#include -#include "dask.h" - -U32 DoBuf[20000]; -char *file_name="7300d"; -U32 read_count=20000; - -main() -{ - I16 card, err, card_num; - BOOLEAN bStopped; - U32 count, i; - - printf("This program inputs and outputs %d data by PCI-7300A RevA in 10MHz\nsimultaneously (DI16DO16), and store input data to file '%s.dat'.\n\nPress any key to start the operation.\n", read_count, file_name); - printf("Please input a card number: "); - scanf(" %d", &card_num); - //getch(); - if ((card=Register_Card (PCI_7300A_RevA, card_num)) <0 ) { - printf("Register_Card error=%d\n", card); - exit(1); - } - for (i=0; i -#include -#include -#include -#include "resource.h" -#include "DASK.h" - -#define IDM_EXIT 110 -#define IDC_START 208 -#define IDC_EDIT1 214 -#define IDC_SHOW 213 - -#define PI 3.14159 -#define MAX_SIZE 1000000 //in words - -int PASCAL WinMain(HANDLE, HANDLE, LPSTR, int); -long PASCAL MainWndProc(HWND, UINT, WPARAM, LPARAM); -BOOL PASCAL ShowDMA(HWND, UINT, WPARAM, LPARAM); - -HANDLE hInst; -HWND hListBox; -HWND hEdit1, hStart; -I16 card=-1, card_number = 0; -U16 in_buf[MAX_SIZE], out_buf[MAX_SIZE]; -int oldinput=0,adinput; -U32 data_size=100000; - -HBRUSH hBlackBrush; -HPEN hRedPen; - -POINT input_pos[16]= {{470, 280}, {440, 280}, - {410, 280}, {380, 280}, - {350, 280}, {320, 280}, - { 290, 280}, {260, 280}, - {230, 280}, {200, 280}, - {170, 280}, {140, 280}, - {110, 280}, {80, 280}, - { 50, 280}, { 20, 280}, - }; -POINT output_pos[16] ={ - {470, 340}, {440, 340}, - {410, 340}, {380, 340}, - {350, 340}, {320, 340}, - { 290, 340}, {260, 340}, - {230, 340}, {200, 340}, - {170, 340}, {140, 340}, - {110, 340}, {80, 340}, - { 50, 340}, { 20, 340}, - }; - -POINT io_pos[16] ={ - {395, 90}, {370, 90}, - {345, 90}, {320, 90}, - {295, 90}, {270, 90}, - { 245, 90}, {220, 90}, - {195, 90}, {170, 90}, - {145, 90}, {120, 90}, - {95, 90}, {70, 90}, - { 45, 90}, { 20, 90}, - }; - -BOOL InitApplication(HANDLE); -BOOL InitInstance(HANDLE, int); - -int PASCAL WinMain(hInstance, hPrevInstance, lpCmdLine, nCmdShow) -HANDLE hInstance, hPrevInstance; -LPSTR lpCmdLine; -int nCmdShow; -{ - MSG msg; - - if (!hPrevInstance) - if (!InitApplication(hInstance)) return(FALSE); - if (!InitInstance(hInstance, nCmdShow)) return(FALSE); - while (GetMessage(&msg, NULL, NULL, NULL)) { - TranslateMessage(&msg); - DispatchMessage(&msg); - } - return(msg.wParam); -} - -BOOL InitApplication(hInstance) -HANDLE hInstance; -{ - WNDCLASS wc; - - /* Main Window Class */ - wc.style = NULL; - wc.lpfnWndProc = (WNDPROC)MainWndProc; - wc.cbClsExtra = 0; - wc.cbWndExtra = 0; - wc.hInstance = hInstance; - wc.hIcon = LoadIcon(hInstance, "MyIcon"); - wc.hCursor = LoadCursor(NULL, IDC_ARROW); - wc.hbrBackground = GetStockObject(LTGRAY_BRUSH); - wc.lpszMenuName = NULL; - wc.lpszClassName = "GenericWClass"; - if (!RegisterClass(&wc)) return(FALSE); -} - - -BOOL InitInstance(hInstance, nCmdShow) -HANDLE hInstance; -int nCmdShow; -{ - HWND hWnd; - HMENU hSampleMenu; - - hInst = hInstance; - hSampleMenu = LoadMenu(hInstance, "U7300Menu"); - hWnd = CreateWindow("GenericWClass", - (LPCSTR)"PCI-7300A Rev.B DMA", - WS_OVERLAPPEDWINDOW, - CW_USEDEFAULT, - CW_USEDEFAULT, - 520, - 400, - NULL, - hSampleMenu, - hInstance, - NULL); - if (!hWnd) return(FALSE); - ShowWindow(hWnd, nCmdShow); - UpdateWindow(hWnd); - return(TRUE); -} - -BOOL PASCAL setup(HWND hWnd, unsigned message, WPARAM wParam, LPARAM lParam) -{ - int i; - char n[16]; - char s[50]; - switch (message) { - case WM_INITDIALOG: - for (i=0;i<16;i++) { - wsprintf(n, "%d", i); - _strupr(n); - SendMessage(GetDlgItem(hWnd,IDC_COMBO1), CB_ADDSTRING, NULL, (LONG)(LPSTR) n); - } - SendMessage(GetDlgItem(hWnd,IDC_COMBO1) , CB_SETCURSEL, 0, 0L); - - break; - case WM_COMMAND: - switch(LOWORD(wParam)) { - - case IDC_COMBO1: - if (HIWORD(wParam) == CBN_CLOSEUP) { - i = (int)SendMessage(GetDlgItem(hWnd,IDC_COMBO1), CB_GETCURSEL, 0, 0L); - SendMessage(GetDlgItem(hWnd,IDC_COMBO1), CB_GETLBTEXT, i, (LPARAM)((LPCSTR)n)); - card_number = i; - } - return(TRUE); - case IDOK: - if ((card=Register_Card(PCI_7300A_RevA, card_number)) < 0) { - wsprintf(s, "Register_Card Error = %d\n", card); - MessageBox(hWnd, s, "Error", MB_OK); - } - EndDialog(hWnd, TRUE); - InvalidateRect(hWnd, NULL, FALSE); - return (TRUE); - case IDCANCEL: - EndDialog(hWnd, TRUE); - return (TRUE); - } - break; - } - return (FALSE); -} - -long PASCAL MainWndProc(hWnd, message, wParam, lParam) -HWND hWnd; -UINT message; -WPARAM wParam; -LPARAM lParam; -{ - HDC hDC; - PAINTSTRUCT ps; - int i; - char n[16]; - static int pos=0; - BOOLEAN stopped; - U32 access_cnt; - I16 err; - char s[100]; - - switch(message) { - case WM_CREATE: - DialogBox(hInst,IDD_DIALOG1, hWnd, setup); - if(card<0) { - SendMessage(hWnd, WM_CLOSE, 0, 0L); - break; - } - err = DI_7300A_Config(card, 16, TRIG_CLK_10MHZ, P7300_WAIT_NO, P7300_TERM_ON, 1, 1, 1); - //err=DI_7300B_Config(card, 16, TRIG_CLK_10MHZ, P7300_WAIT_NO, P7300_TERM_ON, 0, 1, 1); - if (err !=0) { - wsprintf(s, "DI_7300B_Config Error = %d, card=%d\n", err, card); - MessageBox(hWnd, s, "Error", MB_OK); - SendMessage(hWnd, WM_CLOSE, 0, 0L); - break; - } - //err=DO_7300B_Config (card, 16, TRIG_INT_PACER, P7300_WAIT_NO, P7300_TERM_ON, 0, 0x40004000); - err = DO_7300A_Config (card, 16, TRIG_INT_PACER, P7300_WAIT_NO, P7300_TERM_ON, 1); - if (err !=0) { - wsprintf(s, "DO_7300B_Config Error = %d, card=%d\n", err, card); - MessageBox(hWnd, s, "Error", MB_OK); - SendMessage(hWnd, WM_CLOSE, 0, 0L); - break; - } - for (i=0; i<16384; i++) - out_buf[i] = (U16)(sin((double)i/5000*PI)*0x7fff)+0x8000; - for (i=0; i MAX_SIZE) { - data_size = MAX_SIZE; //at most 1000K samples DMA - MessageBox(hWnd, "This sample supports at most 1000K words DMA transfer\nOnly perform 100K words DMA transfer.", "Warning", MB_OK); - } - err = DI_ContReadPort (card, 0, in_buf, data_size, 1, ASYNCH_OP); - if (err < 0) { - wsprintf(s, "DI_ContReadPort Error = %d", err); - MessageBox(hWnd, s, "Error", MB_OK); - SendMessage(hWnd, WM_CLOSE, 0, 0L); - break; - } - do { - DI_AsyncCheck (card, &stopped, &access_cnt); - } while (!stopped); - - DI_AsyncClear (card, &access_cnt); - EnableWindow(hStart, FALSE); - //Draw the input data in panel - oldinput=-1; - hDC = GetDC(hWnd); - SelectObject(hDC, hBlackBrush); - Rectangle(hDC,output_pos[15].x+40,io_pos[0].y-3,output_pos[15].x+456,io_pos[0].y+175); - SelectObject(hDC, hRedPen); - for (i=0; i=0) DO_PGStop (card); - if (card >= 0) Release_Card(card); - DeleteObject(hBlackBrush); - DeleteObject(hRedPen); - PostQuitMessage(0); - break; - default: - return(DefWindowProc(hWnd, message, wParam, lParam)); - } - return(NULL); -} - -BOOL PASCAL ShowDMA(hDlg, message, wParam, lParam) -HWND hDlg; -UINT message; -WPARAM wParam; -LPARAM lParam; -{ - int nTabs[2] = {32, 92}; - long i; - char cBuf[64]; - char string[10]=" "; - char data_str[3]=" "; - U16 *pp; - switch (message) { - case WM_INITDIALOG: - hListBox = CreateWindow("LISTBOX", "Index Data (Hex)", - WS_CHILD | WS_VISIBLE | LBS_HASSTRINGS | LBS_STANDARD | LBS_USETABSTOPS |WS_CAPTION, - 50, 40, 240, 180, hDlg, 100, hInst, NULL); - SendMessage(hListBox, LB_RESETCONTENT, 0, 0L); - SendMessage(hListBox, LB_SETTABSTOPS, 2, (DWORD)(LPINT) nTabs); - SetDlgItemText(hDlg, DMA_DESCP, "This ListBox can show at most 4000 data"); - itoa( data_size, string, 10); - SetDlgItemText(hDlg, DMA_SPACE, string); - - pp = in_buf; - if (data_size > 10000) data_size = 10000; - for(i=0;i -#include -#include -#include -#include -#include "resource.h" -#include "DASK.h" - -#define IDM_EXIT 110 -#define IDC_START 208 -#define IDC_EDIT1 214 -#define IDC_SHOW 213 - -#define PI 3.14159 -#define MAX_SIZE 1024000 //in words - -int PASCAL WinMain(HANDLE, HANDLE, LPSTR, int); -long PASCAL MainWndProc(HWND, UINT, WPARAM, LPARAM); -BOOL PASCAL ShowDMA(HWND, UINT, WPARAM, LPARAM); - -HANDLE hInst; -HWND hListBox; -HWND hEdit1, hStart; -I16 card=-1, card_number = 0; -U16 in_buf[MAX_SIZE], out_buf[MAX_SIZE]; -int oldinput=0,adinput; -U32 data_size=100000; - -HBRUSH hBlackBrush; -HPEN hRedPen; - -POINT input_pos[16]= {{470, 280}, {440, 280}, - {410, 280}, {380, 280}, - {350, 280}, {320, 280}, - { 290, 280}, {260, 280}, - {230, 280}, {200, 280}, - {170, 280}, {140, 280}, - {110, 280}, {80, 280}, - { 50, 280}, { 20, 280}, - }; -POINT output_pos[16] ={ - {470, 340}, {440, 340}, - {410, 340}, {380, 340}, - {350, 340}, {320, 340}, - { 290, 340}, {260, 340}, - {230, 340}, {200, 340}, - {170, 340}, {140, 340}, - {110, 340}, {80, 340}, - { 50, 340}, { 20, 340}, - }; - -POINT io_pos[16] ={ - {395, 90}, {370, 90}, - {345, 90}, {320, 90}, - {295, 90}, {270, 90}, - { 245, 90}, {220, 90}, - {195, 90}, {170, 90}, - {145, 90}, {120, 90}, - {95, 90}, {70, 90}, - { 45, 90}, { 20, 90}, - }; - -BOOL InitApplication(HANDLE); -BOOL InitInstance(HANDLE, int); - -int PASCAL WinMain(hInstance, hPrevInstance, lpCmdLine, nCmdShow) -HANDLE hInstance, hPrevInstance; -LPSTR lpCmdLine; -int nCmdShow; -{ - MSG msg; - - if (!hPrevInstance) - if (!InitApplication(hInstance)) return(FALSE); - if (!InitInstance(hInstance, nCmdShow)) return(FALSE); - while (GetMessage(&msg, NULL, NULL, NULL)) { - TranslateMessage(&msg); - DispatchMessage(&msg); - } - return(msg.wParam); -} - -BOOL InitApplication(hInstance) -HANDLE hInstance; -{ - WNDCLASS wc; - - /* Main Window Class */ - wc.style = NULL; - wc.lpfnWndProc = (WNDPROC)MainWndProc; - wc.cbClsExtra = 0; - wc.cbWndExtra = 0; - wc.hInstance = hInstance; - wc.hIcon = LoadIcon(hInstance, "MyIcon"); - wc.hCursor = LoadCursor(NULL, IDC_ARROW); - wc.hbrBackground = GetStockObject(LTGRAY_BRUSH); - wc.lpszMenuName = NULL; - wc.lpszClassName = "GenericWClass"; - if (!RegisterClass(&wc)) return(FALSE); -} - - -BOOL InitInstance(hInstance, nCmdShow) -HANDLE hInstance; -int nCmdShow; -{ - HWND hWnd; - HMENU hSampleMenu; - - hInst = hInstance; - hSampleMenu = LoadMenu(hInstance, "U7300Menu"); - hWnd = CreateWindow("GenericWClass", - (LPCSTR)"PCI-7300A Rev.A DMA", - WS_OVERLAPPEDWINDOW, - CW_USEDEFAULT, - CW_USEDEFAULT, - 520, - 400, - NULL, - hSampleMenu, - hInstance, - NULL); - if (!hWnd) return(FALSE); - ShowWindow(hWnd, nCmdShow); - UpdateWindow(hWnd); - return(TRUE); -} - -BOOL PASCAL setup(HWND hWnd, unsigned message, WPARAM wParam, LPARAM lParam) -{ - int i,k; - char n[16]; - char s[50]; - switch (message) { - case WM_INITDIALOG: - for (i=0;i<16;i++) { - wsprintf(n, "%d", i); - _strupr(n); - SendMessage(GetDlgItem(hWnd,IDC_COMBO1), CB_ADDSTRING, NULL, (LONG)(LPSTR) n); - } - SendMessage(GetDlgItem(hWnd,IDC_COMBO1) , CB_SETCURSEL, 0, 0L); - - break; - case WM_COMMAND: - switch(LOWORD(wParam)) { - - case IDC_COMBO1: - if (HIWORD(wParam) == CBN_CLOSEUP) { - i = (int)SendMessage(GetDlgItem(hWnd,IDC_COMBO1), CB_GETCURSEL, 0, 0L); - SendMessage(GetDlgItem(hWnd,IDC_COMBO1), CB_GETLBTEXT, i, (LPARAM)((LPCSTR)n)); - card_number = i; - } - return(TRUE); - case IDOK: - if ((card=Register_Card(PCI_7300A_RevA, card_number)) < 0) { - wsprintf(s, "Register_Card Error = %d\n", card); - MessageBox(hWnd, s, "Error", MB_OK); - } - EndDialog(hWnd, TRUE); - InvalidateRect(hWnd, NULL, FALSE); - return (TRUE); - case IDCANCEL: - EndDialog(hWnd, TRUE); - return (TRUE); - } - break; - } - return (FALSE); -} - -long PASCAL MainWndProc(hWnd, message, wParam, lParam) -HWND hWnd; -UINT message; -WPARAM wParam; -LPARAM lParam; -{ - HDC hDC; - PAINTSTRUCT ps; - int i, status; - char n[16]; - static int pos=0; - BOOLEAN stopped; - U32 access_cnt; - I16 err; - char s[50]; - - switch(message) { - case WM_CREATE: - DialogBox(hInst,IDD_DIALOG1, hWnd, setup); - if(card<0) { - SendMessage(hWnd, WM_CLOSE, 0, 0L); - break; - } - DI_7300A_Config(card, 16, TRIG_CLK_10MHZ, P7300_WAIT_NO, P7300_TERM_ON, 1, 1, 1); - DO_7300A_Config (card, 16, TRIG_INT_PACER, P7300_WAIT_NO, P7300_TERM_ON, 1); - for (i=0; i MAX_SIZE) { - data_size = MAX_SIZE; //at most 1000K samples DMA - MessageBox(hWnd, "This sample supports at most 1000K words DMA transfer\nOnly perform 100K words DMA transfer.", "Warning", MB_OK); - } - err = DI_ContReadPort (card, 0, in_buf, data_size, 1, ASYNCH_OP); - if (err < 0) { - wsprintf(s, "DI_ContReadPort Error = %d\n", err); - MessageBox(hWnd, s, "Error", MB_OK); - SendMessage(hWnd, WM_CLOSE, 0, 0L); - break; - } - err = DO_ContWritePort (card, 0, out_buf, data_size, 1, 5000000, ASYNCH_OP); - if (err < 0) { - wsprintf(s, "DO_ContWritePort Error = %d\n", err); - MessageBox(hWnd, s, "Error", MB_OK); - SendMessage(hWnd, WM_CLOSE, 0, 0L); - break; - } - do { - DO_AsyncCheck (card, &stopped, &access_cnt); - } while (!stopped); - DO_AsyncClear (card, &access_cnt); - do { - DI_AsyncCheck (card, &stopped, &access_cnt); - } while (!stopped); - DI_AsyncClear (card, &access_cnt); - - EnableWindow(hStart, FALSE); - - //Draw the input data in panel - oldinput=-1; - hDC = GetDC(hWnd); - SelectObject(hDC, hBlackBrush); - Rectangle(hDC,output_pos[15].x+40,io_pos[0].y-3,output_pos[15].x+456,io_pos[0].y+175); - SelectObject(hDC, hRedPen); - for (i=0; i= 0) Release_Card(card); - DeleteObject(hBlackBrush); - DeleteObject(hRedPen); - PostQuitMessage(0); - break; - default: - return(DefWindowProc(hWnd, message, wParam, lParam)); - } - return(NULL); -} - -BOOL PASCAL ShowDMA(hDlg, message, wParam, lParam) -HWND hDlg; -UINT message; -WPARAM wParam; -LPARAM lParam; -{ - int nTabs[2] = {32, 92}; - long i; - char cBuf[64]; - char string[10]=" "; - char data_str[3]=" "; - U16 *pp; - switch (message) { - case WM_INITDIALOG: - hListBox = CreateWindow("LISTBOX", "Index Data (Hex)", - WS_CHILD | WS_VISIBLE | LBS_HASSTRINGS | LBS_STANDARD | LBS_USETABSTOPS |WS_CAPTION, - 50, 40, 240, 180, hDlg, 100, hInst, NULL); - SendMessage(hListBox, LB_RESETCONTENT, 0, 0L); - SendMessage(hListBox, LB_SETTABSTOPS, 2, (DWORD)(LPINT) nTabs); - SetDlgItemText(hDlg, DMA_DESCP, "This ListBox can show at most 4000 data"); - itoa( data_size, string, 10); - SetDlgItemText(hDlg, DMA_SPACE, string); - - pp = in_buf; - if (data_size > 4000) data_size = 4000; - for(i=0;i - #include - #include - #include - #include "Dask.h" - #include "resource.h" - - #define IDM_SETUP 101 - #define IDD_DIALOG1 101 - #define IDM_EXIT 110 - #define IDM_GO 300 - #define IDM_CLEAR 305 - #define IDC_COMBO1 1004 - #define IDC_EDIT1 1007 - #define IDC_EDIT2 1008 - - - HANDLE hInst; /* current instance */ - HANDLE hIntEvent[2]; - HWND hMainWnd; - long hThread = -1; - - I16 card=-1, card_number = 0; - U16 int_count = 0; - int total_count =40; - int sample_rate=20000; - char Buf[80]; - int c2=10; - - int PASCAL WinMain(HANDLE, HANDLE, LPSTR, int); - BOOL InitApplication(HANDLE); - BOOL InitInstance(HANDLE, int); - long PASCAL MainWndProc(HWND, unsigned, WPARAM, LPARAM); - BOOL PASCAL About(HWND, unsigned, WPARAM, LPARAM); - BOOL PASCAL ShowDMA(HWND, unsigned, WPARAM, LPARAM); - - void -IntThread(void* pArg) -{ - while (1) { - if (WaitForSingleObject(hIntEvent[0], INFINITE) == WAIT_OBJECT_0) { - int_count++; - InvalidateRect(hMainWnd, NULL, FALSE); - } - } - _endthread(); -} - - /********************************************************************** - - FUNCTION: WinMain(HANDLE, HANDLE, LPSTR, int) - PURPOSE: calls initialization function, processes message loop - - ***********************************************************************/ - - int PASCAL WinMain(hInstance, hPrevInstance, lpCmdLine, nCmdShow) - - HANDLE hInstance; - HANDLE hPrevInstance; - LPSTR lpCmdLine; - int nCmdShow; - - { - MSG msg; - - if(!hPrevInstance) - if(!InitApplication(hInstance)) - return(FALSE); - - if(!InitInstance(hInstance, nCmdShow)) - return(FALSE); - - while ( GetMessage(&msg, NULL, NULL, NULL)) - { - TranslateMessage(&msg); - DispatchMessage(&msg); - } - return(msg.wParam); - } - -/**************************************************************************** - - FUNCTION: InitApplication(HANDLE) - - PURPOSE: Initializes window data and registers window class - -****************************************************************************/ - -BOOL InitApplication(hInstance) -HANDLE hInstance; -{ - WNDCLASS wc; - - wc.style = NULL; - wc.lpfnWndProc = MainWndProc; - wc.cbClsExtra = 0; - wc.cbWndExtra = 0; - wc.hInstance = hInstance; - wc.hIcon = LoadIcon(NULL, IDI_APPLICATION); - wc.hCursor = LoadCursor(hInstance, IDC_ARROW); - wc.hbrBackground = GetStockObject(WHITE_BRUSH); - wc.lpszMenuName = "IntMenu"; - wc.lpszClassName = "IntClass"; - - return (RegisterClass(&wc)); -} - -/**************************************************************************** - - FUNCTION: InitInstance(HANDLE, int) - - PURPOSE: Saves instance handle and creates main window - -****************************************************************************/ - -BOOL InitInstance(hInstance, nCmdShow) -HANDLE hInstance; -int nCmdShow; -{ - HWND hWnd; - - hInst = hInstance; - hWnd = CreateWindow("IntClass", - "PCI-7300 Local Interrupt Sample", - WS_OVERLAPPEDWINDOW, - 200, - 100, - 400, - 370, - NULL, - NULL, - hInstance, - NULL); - - if (!hWnd) return (FALSE); - ShowWindow(hWnd, nCmdShow); - UpdateWindow(hWnd); - return (TRUE); -} - -BOOL PASCAL setup(HWND hWnd, unsigned message, WPARAM wParam, LPARAM lParam) -{ - int i,k=0; - char n[16]; - char s[50]; - BOOL ok; - - switch (message) { - case WM_INITDIALOG: - for (i=0;i<16;i++) { - wsprintf(n, "%d", i); - _strupr(n); - SendMessage(GetDlgItem(hWnd,IDC_COMBO1), CB_ADDSTRING, NULL, (LONG)(LPSTR) n); - } - SendMessage(GetDlgItem(hWnd,IDC_COMBO1) , CB_SETCURSEL, 0, 0L); - if(card >=0) - EnableWindow(GetDlgItem(hWnd,IDC_COMBO1), FALSE); - SendMessage(GetDlgItem(hWnd,IDC_EDIT2) , WM_SETTEXT, 0, "10000"); - SendMessage(GetDlgItem(hWnd,IDC_EDIT1) , WM_SETTEXT, 0, "40"); - - break; - case WM_COMMAND: - switch(LOWORD(wParam)) { - case IDC_COMBO1: - if (HIWORD(wParam) == CBN_CLOSEUP) { - i = (int)SendMessage(GetDlgItem(hWnd,IDC_COMBO1), CB_GETCURSEL, 0, 0L); - SendMessage(GetDlgItem(hWnd,IDC_COMBO1), CB_GETLBTEXT, i, (LPARAM)((LPCSTR)n)); - card_number = i; - } - return(TRUE); - case IDOK: - if(card < 0) { - if ((card=Register_Card(PCI_7300A_RevA, card_number))< 0) { - wsprintf(s, "Register_Card Error = %d\n", card); - MessageBox(hWnd, s, "Error", MB_OK); - EndDialog(hWnd, TRUE); - break; - } - DIO_7300SetInterrupt(card, 1, 1, hIntEvent); - } - total_count = GetDlgItemInt(hWnd,IDC_EDIT1, &ok, FALSE); - if(total_count > 32768) { - MessageBox(hWnd,"Count can be assigned at most 32768", "INT", MB_OK); - break; - } - - sample_rate = GetDlgItemInt(hWnd,IDC_EDIT2, &ok, FALSE); - if (sample_rate > 15000 ) sample_rate=15000; - c2=10000000/(sample_rate); - hMainWnd = hWnd; - EndDialog(hWnd, TRUE); - return (TRUE); - case IDCANCEL: - EndDialog(hWnd, TRUE); - return (TRUE); - } - break; - } - return (FALSE); -} - -/**************************************************************************** - - FUNCTION: MainWndProc(HWND, UINT, WPARAM, LPARAM) - - PURPOSE: Processes messages - - -****************************************************************************/ - -long PASCAL MainWndProc(hWnd, message, wParam, lParam) -HWND hWnd; -unsigned message; -WPARAM wParam; -LPARAM lParam; -{ - int i, k; - int cur_count=0; - HDC hDC, hDC1; - PAINTSTRUCT ps; - FARPROC lpProc; - char s[50]; - - switch(message) { - case WM_CREATE: - break; - case WM_PAINT: - hDC1=BeginPaint(hWnd, &ps); - wsprintf(Buf,"This program demostrates how to use local interrupt line."); - TextOut(hDC1,20,10,Buf,strlen(Buf)); - wsprintf(Buf,"The IRQ source of INT1 is AUXDI0."); - TextOut(hDC1,20,30,Buf,strlen(Buf)); - wsprintf(Buf," The IRQ source of INT2 is internal Timer2 Output"); - TextOut(hDC1,20,50,Buf,strlen(Buf)); - SetTextColor(hDC1, RGB(255,0,0)); - wsprintf(Buf,"Push 'Setup' button first ..."); - TextOut(hDC1,20,70,Buf,strlen(Buf)); - EndPaint(hWnd, &ps); - break; - case WM_COMMAND: - switch(wParam) { - case IDM_SETUP: - lpProc = MakeProcInstance(setup, hInst); - DialogBox(hInst,IDD_DIALOG1,hWnd,lpProc); - FreeProcInstance(lpProc); - if(card<0) - SendMessage(hWnd, WM_CLOSE, 0, 0L); - break; - - case IDM_GO: - // Interrupt Trigger - hDC=GetDC(hWnd); - if(hThread<0) - hThread = _beginthread(IntThread, 0, 0); - CTR_Setup (card, 2, 2, c2, BIN); - k=0; i=0;int_count=0; - while (k=0) { - DIO_7300SetInterrupt(card, 0, 0, hIntEvent); - for (i=0; i<2; i++) { - if(hIntEvent[i]) - ResetEvent(hIntEvent[i]); - } - } - PostQuitMessage(0); - break; - } - break; - - case WM_DESTROY: - if (card >= 0) Release_Card(card); - PostQuitMessage(0); - break; - - default: - return (DefWindowProc(hWnd, message, wParam, lParam)); - } - return(0L); -} - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7300a/Sdk7300DbEvt/7300int.rc b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7300a/Sdk7300DbEvt/7300int.rc deleted file mode 100644 index cc3ca51..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7300a/Sdk7300DbEvt/7300int.rc +++ /dev/null @@ -1,121 +0,0 @@ -//Microsoft Developer Studio generated resource script. -// -#include "resource.h" - -#define APSTUDIO_READONLY_SYMBOLS -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 2 resource. -// -#define APSTUDIO_HIDDEN_SYMBOLS -#include "windows.h" -#undef APSTUDIO_HIDDEN_SYMBOLS - -///////////////////////////////////////////////////////////////////////////// -#undef APSTUDIO_READONLY_SYMBOLS - -///////////////////////////////////////////////////////////////////////////// -// English (U.S.) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -#ifdef _WIN32 -LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US -#pragma code_page(1252) -#endif //_WIN32 - -#ifdef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// TEXTINCLUDE -// - -1 TEXTINCLUDE DISCARDABLE -BEGIN - "resource.h\0" -END - -2 TEXTINCLUDE DISCARDABLE -BEGIN - "#define APSTUDIO_HIDDEN_SYMBOLS\r\n" - "#include ""windows.h""\r\n" - "#undef APSTUDIO_HIDDEN_SYMBOLS\r\n" - "\0" -END - -3 TEXTINCLUDE DISCARDABLE -BEGIN - "\r\n" - "\0" -END - -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// Menu -// - -INTMENU MENU DISCARDABLE -BEGIN - MENUITEM "Setup", IDM_SETUP - MENUITEM "Interrupt Trigger", IDM_GO - MENUITEM "Exit", IDM_CLEAR -END - - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog -// - -IDD_DIALOG1 DIALOG DISCARDABLE 0, 0, 146, 110 -STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "Setup Dialog" -FONT 10, "System" -BEGIN - DEFPUSHBUTTON "OK",IDOK,10,89,50,14 - PUSHBUTTON "Cancel",IDCANCEL,76,89,50,14 - LTEXT "Total Count",IDC_STATIC,10,36,41,12 - LTEXT "Sampling Rate",IDC_STATIC,10,61,51,12 - EDITTEXT IDC_EDIT1,63,33,69,15,ES_AUTOHSCROLL - EDITTEXT IDC_EDIT2,64,58,68,15,ES_AUTOHSCROLL - LTEXT "Card Number",IDC_STATIC,10,12,45,13 - COMBOBOX IDC_COMBO1,63,12,69,84,CBS_DROPDOWN | WS_VSCROLL | - WS_TABSTOP -END - - -///////////////////////////////////////////////////////////////////////////// -// -// DESIGNINFO -// - -#ifdef APSTUDIO_INVOKED -GUIDELINES DESIGNINFO DISCARDABLE -BEGIN - IDD_DIALOG1, DIALOG - BEGIN - LEFTMARGIN, 10 - RIGHTMARGIN, 132 - TOPMARGIN, 12 - BOTTOMMARGIN, 103 - END -END -#endif // APSTUDIO_INVOKED - -#endif // English (U.S.) resources -///////////////////////////////////////////////////////////////////////////// - - - -#ifndef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 3 resource. -// - - -///////////////////////////////////////////////////////////////////////////// -#endif // not APSTUDIO_INVOKED - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7300a/Sdk7300DbEvt/Resource.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7300a/Sdk7300DbEvt/Resource.h deleted file mode 100644 index 6b0eb15..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7300a/Sdk7300DbEvt/Resource.h +++ /dev/null @@ -1,26 +0,0 @@ -//{{NO_DEPENDENCIES}} -// Microsoft Developer Studio generated include file. -// Used by 7248int.rc -// -#define IDM_SETUP 101 -#define IDD_DIALOG1 101 -#define IDM_EXIT 110 -#define IDM_GO 300 -#define ID_STOP 304 -#define IDM_CLEAR 305 -#define IDC_COMBO1 1004 -#define IDC_COMBO2 1005 -#define IDC_EDIT1 1007 -#define IDC_EDIT2 1008 -#define IDC_STATIC -1 - -// Next default values for new objects -// -#ifdef APSTUDIO_INVOKED -#ifndef APSTUDIO_READONLY_SYMBOLS -#define _APS_NEXT_RESOURCE_VALUE 102 -#define _APS_NEXT_COMMAND_VALUE 102 -#define _APS_NEXT_CONTROL_VALUE 1008 -#define _APS_NEXT_SYMED_VALUE 101 -#endif -#endif diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7300a/Sdk7300DbEvt/SDK7300Int.exe b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7300a/Sdk7300DbEvt/SDK7300Int.exe deleted file mode 100644 index 7011d89..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7300a/Sdk7300DbEvt/SDK7300Int.exe and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7300a/Sdk7300DbEvt/SDK7300Int.mak b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7300a/Sdk7300DbEvt/SDK7300Int.mak deleted file mode 100644 index cb13b34..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7300a/Sdk7300DbEvt/SDK7300Int.mak +++ /dev/null @@ -1,219 +0,0 @@ -# Microsoft Developer Studio Generated NMAKE File, Format Version 4.00 -# ** DO NOT EDIT ** - -# TARGTYPE "Win32 (x86) Application" 0x0101 - -!IF "$(CFG)" == "" -CFG=SDK7300Int - Win32 Debug -!MESSAGE No configuration specified. Defaulting to SDK7300Int - Win32 Debug. -!ENDIF - -!IF "$(CFG)" != "SDK7300Int - Win32 Release" && "$(CFG)" !=\ - "SDK7300Int - Win32 Debug" -!MESSAGE Invalid configuration "$(CFG)" specified. -!MESSAGE You can specify a configuration when running NMAKE on this makefile -!MESSAGE by defining the macro CFG on the command line. For example: -!MESSAGE -!MESSAGE NMAKE /f "SDK7300Int.mak" CFG="SDK7300Int - Win32 Debug" -!MESSAGE -!MESSAGE Possible choices for configuration are: -!MESSAGE -!MESSAGE "SDK7300Int - Win32 Release" (based on "Win32 (x86) Application") -!MESSAGE "SDK7300Int - Win32 Debug" (based on "Win32 (x86) Application") -!MESSAGE -!ERROR An invalid configuration is specified. -!ENDIF - -!IF "$(OS)" == "Windows_NT" -NULL= -!ELSE -NULL=nul -!ENDIF -################################################################################ -# Begin Project -# PROP Target_Last_Scanned "SDK7300Int - Win32 Debug" -MTL=mktyplib.exe -RSC=rc.exe -CPP=cl.exe - -!IF "$(CFG)" == "SDK7300Int - Win32 Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "Release" -# PROP BASE Intermediate_Dir "Release" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "" -# PROP Intermediate_Dir "Release" -# PROP Target_Dir "" -OUTDIR=. -INTDIR=.\Release - -ALL : "$(OUTDIR)\SDK7300Int.exe" - -CLEAN : - -@erase ".\SDK7300Int.exe" - -@erase ".\Release\7300int.obj" - -@erase ".\Release\7300int.res" - -"$(INTDIR)" : - if not exist "$(INTDIR)/$(NULL)" mkdir "$(INTDIR)" - -# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /YX /c -# ADD CPP /nologo /MT /W3 /GX /Od /I "..\..\..\include" /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /c -# SUBTRACT CPP /YX -CPP_PROJ=/nologo /MT /W3 /GX /Od /I "..\..\..\include" /D "WIN32" /D "NDEBUG"\ - /D "_WINDOWS" /Fo"$(INTDIR)/" /c -CPP_OBJS=.\Release/ -CPP_SBRS= -# ADD BASE MTL /nologo /D "NDEBUG" /win32 -# ADD MTL /nologo /D "NDEBUG" /win32 -MTL_PROJ=/nologo /D "NDEBUG" /win32 -# ADD BASE RSC /l 0x409 /d "NDEBUG" -# ADD RSC /l 0x409 /d "NDEBUG" -RSC_PROJ=/l 0x409 /fo"$(INTDIR)/7300int.res" /d "NDEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -BSC32_FLAGS=/nologo /o"$(OUTDIR)/SDK7300Int.bsc" -BSC32_SBRS= -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:windows /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ..\..\..\lib\pci-dask.lib /nologo /subsystem:windows /machine:I386 -LINK32_FLAGS=kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib\ - advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib\ - odbccp32.lib ..\..\..\lib\pci-dask.lib /nologo /subsystem:windows\ - /incremental:no /pdb:"$(OUTDIR)/SDK7300Int.pdb" /machine:I386\ - /out:"$(OUTDIR)/SDK7300Int.exe" -LINK32_OBJS= \ - ".\Release\7300int.obj" \ - ".\Release\7300int.res" - -"$(OUTDIR)\SDK7300Int.exe" : "$(OUTDIR)" $(DEF_FILE) $(LINK32_OBJS) - $(LINK32) @<< - $(LINK32_FLAGS) $(LINK32_OBJS) -<< - -!ELSEIF "$(CFG)" == "SDK7300Int - Win32 Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "SDK7300I" -# PROP BASE Intermediate_Dir "SDK7300I" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "" -# PROP Intermediate_Dir "Debug" -# PROP Target_Dir "" -OUTDIR=. -INTDIR=.\Debug - -ALL : "$(OUTDIR)\SDK7300Int.exe" - -CLEAN : - -@erase ".\Debug\vc40.pdb" - -@erase ".\Debug\vc40.idb" - -@erase ".\SDK7300Int.exe" - -@erase ".\Debug\7300int.obj" - -@erase ".\Debug\7300int.res" - -@erase ".\SDK7300Int.ilk" - -@erase ".\SDK7300Int.pdb" - -"$(INTDIR)" : - if not exist "$(INTDIR)/$(NULL)" mkdir "$(INTDIR)" - -# ADD BASE CPP /nologo /W3 /Gm /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /YX /c -# ADD CPP /nologo /MTd /W3 /Gm /GX /Zi /Od /I "..\..\..\include" /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /c -# SUBTRACT CPP /YX -CPP_PROJ=/nologo /MTd /W3 /Gm /GX /Zi /Od /I "..\..\..\include" /D "WIN32" /D\ - "_DEBUG" /D "_WINDOWS" /Fo"$(INTDIR)/" /Fd"$(INTDIR)/" /c -CPP_OBJS=.\Debug/ -CPP_SBRS= -# ADD BASE MTL /nologo /D "_DEBUG" /win32 -# ADD MTL /nologo /D "_DEBUG" /win32 -MTL_PROJ=/nologo /D "_DEBUG" /win32 -# ADD BASE RSC /l 0x409 /d "_DEBUG" -# ADD RSC /l 0x409 /d "_DEBUG" -RSC_PROJ=/l 0x409 /fo"$(INTDIR)/7300int.res" /d "_DEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -BSC32_FLAGS=/nologo /o"$(OUTDIR)/SDK7300Int.bsc" -BSC32_SBRS= -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:windows /debug /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ..\..\..\lib\pci-dask.lib /nologo /subsystem:windows /debug /machine:I386 -LINK32_FLAGS=kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib\ - advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib\ - odbccp32.lib ..\..\..\lib\pci-dask.lib /nologo /subsystem:windows\ - /incremental:yes /pdb:"$(OUTDIR)/SDK7300Int.pdb" /debug /machine:I386\ - /out:"$(OUTDIR)/SDK7300Int.exe" -LINK32_OBJS= \ - ".\Debug\7300int.obj" \ - ".\Debug\7300int.res" - -"$(OUTDIR)\SDK7300Int.exe" : "$(OUTDIR)" $(DEF_FILE) $(LINK32_OBJS) - $(LINK32) @<< - $(LINK32_FLAGS) $(LINK32_OBJS) -<< - -!ENDIF - -.c{$(CPP_OBJS)}.obj: - $(CPP) $(CPP_PROJ) $< - -.cpp{$(CPP_OBJS)}.obj: - $(CPP) $(CPP_PROJ) $< - -.cxx{$(CPP_OBJS)}.obj: - $(CPP) $(CPP_PROJ) $< - -.c{$(CPP_SBRS)}.sbr: - $(CPP) $(CPP_PROJ) $< - -.cpp{$(CPP_SBRS)}.sbr: - $(CPP) $(CPP_PROJ) $< - -.cxx{$(CPP_SBRS)}.sbr: - $(CPP) $(CPP_PROJ) $< - -################################################################################ -# Begin Target - -# Name "SDK7300Int - Win32 Release" -# Name "SDK7300Int - Win32 Debug" - -!IF "$(CFG)" == "SDK7300Int - Win32 Release" - -!ELSEIF "$(CFG)" == "SDK7300Int - Win32 Debug" - -!ENDIF - -################################################################################ -# Begin Source File - -SOURCE=.\7300int.rc - -"$(INTDIR)\7300int.res" : $(SOURCE) "$(INTDIR)" - $(RSC) $(RSC_PROJ) $(SOURCE) - - -# End Source File -################################################################################ -# Begin Source File - -SOURCE=.\7300int.c -DEP_CPP_7300I=\ - ".\..\..\..\include\Dask.h"\ - - -"$(INTDIR)\7300int.obj" : $(SOURCE) $(DEP_CPP_7300I) "$(INTDIR)" - - -# End Source File -# End Target -# End Project -################################################################################ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7300a/Sdk7300DbEvt/SDK7300Int.mdp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7300a/Sdk7300DbEvt/SDK7300Int.mdp deleted file mode 100644 index 0892ec5..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7300a/Sdk7300DbEvt/SDK7300Int.mdp and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7300a/Sdk7300Int/7300int.c b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7300a/Sdk7300Int/7300int.c deleted file mode 100644 index d5baff9..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7300a/Sdk7300Int/7300int.c +++ /dev/null @@ -1,283 +0,0 @@ -/*;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; -;; Copyright (c) 1995-2001, ADLink Technology Inc. All rights reserved. ;; -;; ;; -;; File Name : 7300INT.C ;; -;; Date : 04/07/2001 ;; -;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;*/ - - #include - #include - #include - #include - #include "Dask.h" - #include "resource.h" - - #define IDM_SETUP 101 - #define IDD_DIALOG1 101 - #define IDM_EXIT 110 - #define IDM_GO 300 - #define IDM_CLEAR 305 - #define IDC_COMBO1 1004 - #define IDC_EDIT1 1007 - #define IDC_EDIT2 1008 - - HANDLE hInst; /* current instance */ - HANDLE hIntEvent[2]; - - I16 card=-1, card_number = 0; - - int total_count =40; - int sample_rate=20000; - char Buf[80]; - int c2=20; - - int PASCAL WinMain(HANDLE, HANDLE, LPSTR, int); - BOOL InitApplication(HANDLE); - BOOL InitInstance(HANDLE, int); - long PASCAL MainWndProc(HWND, unsigned, WPARAM, LPARAM); - BOOL PASCAL About(HWND, unsigned, WPARAM, LPARAM); - BOOL PASCAL ShowDMA(HWND, unsigned, WPARAM, LPARAM); - - /********************************************************************** - - FUNCTION: WinMain(HANDLE, HANDLE, LPSTR, int) - PURPOSE: calls initialization function, processes message loop - - ***********************************************************************/ - - int PASCAL WinMain(hInstance, hPrevInstance, lpCmdLine, nCmdShow) - - HANDLE hInstance; - HANDLE hPrevInstance; - LPSTR lpCmdLine; - int nCmdShow; - - { - MSG msg; - - if(!hPrevInstance) - if(!InitApplication(hInstance)) - return(FALSE); - - if(!InitInstance(hInstance, nCmdShow)) - return(FALSE); - - while ( GetMessage(&msg, NULL, NULL, NULL)) - { - TranslateMessage(&msg); - DispatchMessage(&msg); - } - return(msg.wParam); - } - -/**************************************************************************** - - FUNCTION: InitApplication(HANDLE) - - PURPOSE: Initializes window data and registers window class - -****************************************************************************/ - -BOOL InitApplication(hInstance) -HANDLE hInstance; -{ - WNDCLASS wc; - - wc.style = NULL; - wc.lpfnWndProc = MainWndProc; - wc.cbClsExtra = 0; - wc.cbWndExtra = 0; - wc.hInstance = hInstance; - wc.hIcon = LoadIcon(NULL, IDI_APPLICATION); - wc.hCursor = LoadCursor(hInstance, IDC_ARROW); - wc.hbrBackground = GetStockObject(WHITE_BRUSH); - wc.lpszMenuName = "IntMenu"; - wc.lpszClassName = "IntClass"; - - return (RegisterClass(&wc)); -} - -/**************************************************************************** - - FUNCTION: InitInstance(HANDLE, int) - - PURPOSE: Saves instance handle and creates main window - -****************************************************************************/ - -BOOL InitInstance(hInstance, nCmdShow) -HANDLE hInstance; -int nCmdShow; -{ - HWND hWnd; - - hInst = hInstance; - hWnd = CreateWindow("IntClass", - "PCI-7300 Timer2 Interrupt Samples", - WS_OVERLAPPEDWINDOW, - 200, - 100, - 375, - 370, - NULL, - NULL, - hInstance, - NULL); - - if (!hWnd) return (FALSE); - ShowWindow(hWnd, nCmdShow); - UpdateWindow(hWnd); - return (TRUE); -} - - -BOOL PASCAL setup(HWND hWnd, unsigned message, WPARAM wParam, LPARAM lParam) -{ - int i,k=0; - char n[16]; - char s[50]; - BOOL ok; - - switch (message) { - case WM_INITDIALOG: - for (i=0;i<16;i++) { - wsprintf(n, "%d", i); - _strupr(n); - SendMessage(GetDlgItem(hWnd,IDC_COMBO1), CB_ADDSTRING, NULL, (LONG)(LPSTR) n); - } - SendMessage(GetDlgItem(hWnd,IDC_COMBO1) , CB_SETCURSEL, 0, 0L); - if(card >=0) - EnableWindow(GetDlgItem(hWnd,IDC_COMBO1), FALSE); - SendMessage(GetDlgItem(hWnd,IDC_EDIT2) , WM_SETTEXT, 0, "5000"); - SendMessage(GetDlgItem(hWnd,IDC_EDIT1) , WM_SETTEXT, 0, "40"); - - break; - case WM_COMMAND: - switch(LOWORD(wParam)) { - case IDC_COMBO1: - if (HIWORD(wParam) == CBN_CLOSEUP) { - i = (int)SendMessage(GetDlgItem(hWnd,IDC_COMBO1), CB_GETCURSEL, 0, 0L); - SendMessage(GetDlgItem(hWnd,IDC_COMBO1), CB_GETLBTEXT, i, (LPARAM)((LPCSTR)n)); - card_number = i; - } - return(TRUE); - case IDOK: - if (card < 0) { - if ((card=Register_Card(PCI_7300A_RevA, card_number))< 0) { - wsprintf(s, "Register_Card Error = %d\n", card); - MessageBox(hWnd, s, "Error", MB_OK); - } - } - total_count = GetDlgItemInt(hWnd,IDC_EDIT1, &ok, FALSE); - if (total_count > 32768) { - MessageBox(hWnd,"Count can be assigned at most 32768", "INT", MB_OK); - break; - } - sample_rate = GetDlgItemInt(hWnd,IDC_EDIT2, &ok, FALSE); - if (sample_rate > 15000 ) sample_rate=15000; - c2=10000000/(sample_rate); - - EndDialog(hWnd, TRUE); - return (TRUE); - case IDCANCEL: - EndDialog(hWnd, TRUE); - return (TRUE); - } - break; - } - return (FALSE); -} - -/**************************************************************************** - - FUNCTION: MainWndProc(HWND, UINT, WPARAM, LPARAM) - - PURPOSE: Processes messages - - -****************************************************************************/ - -long PASCAL MainWndProc(hWnd, message, wParam, lParam) -HWND hWnd; -unsigned message; -WPARAM wParam; -LPARAM lParam; -{ - int i, k; - int cur_count=0; - HDC hDC, hDC1; - PAINTSTRUCT ps; - FARPROC lpProc; - char s[50]; - - switch(message) { - - case WM_CREATE: - break; - case WM_PAINT: - hDC1=BeginPaint(hWnd, &ps); - wsprintf(Buf,"The interrupt signals are generated"); - TextOut(hDC1,20,10,Buf,strlen(Buf)); - wsprintf(Buf," by internal Timer2 Output."); - TextOut(hDC1,20,30,Buf,strlen(Buf)); - SetTextColor(hDC1, RGB(255,0,0)); - wsprintf(Buf,"Push 'Setup' button first ..."); - TextOut(hDC1,20,50,Buf,strlen(Buf)); - EndPaint(hWnd, &ps); - break; - case WM_COMMAND: - switch(wParam) { - case IDM_SETUP: - lpProc = MakeProcInstance(setup, hInst); - DialogBox(hInst,IDD_DIALOG1,hWnd,lpProc); - FreeProcInstance(lpProc); - if(card <0) - SendMessage(hWnd, WM_CLOSE, 0, 0L); - break; - case IDM_GO: - // Interrupt Trigger - hDC=GetDC(hWnd); - DIO_7300SetInterrupt (card, 0, 1, hIntEvent); - CTR_Setup (card, 2, 2, c2, BIN); - k=0; i=0; - while (k= 0) Release_Card(card); - PostQuitMessage(0); - break; - - default: - return (DefWindowProc(hWnd, message, wParam, lParam)); - } - return(0L); -} - - \ No newline at end of file diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7300a/Sdk7300Int/7300int.exe b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7300a/Sdk7300Int/7300int.exe deleted file mode 100644 index ee05522..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7300a/Sdk7300Int/7300int.exe and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7300a/Sdk7300Int/7300int.mak b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7300a/Sdk7300Int/7300int.mak deleted file mode 100644 index 3fcbfaa..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7300a/Sdk7300Int/7300int.mak +++ /dev/null @@ -1,219 +0,0 @@ -# Microsoft Developer Studio Generated NMAKE File, Format Version 4.00 -# ** DO NOT EDIT ** - -# TARGTYPE "Win32 (x86) Application" 0x0101 - -!IF "$(CFG)" == "" -CFG=7300int - Win32 Debug -!MESSAGE No configuration specified. Defaulting to 7300int - Win32 Debug. -!ENDIF - -!IF "$(CFG)" != "7300int - Win32 Release" && "$(CFG)" !=\ - "7300int - Win32 Debug" -!MESSAGE Invalid configuration "$(CFG)" specified. -!MESSAGE You can specify a configuration when running NMAKE on this makefile -!MESSAGE by defining the macro CFG on the command line. For example: -!MESSAGE -!MESSAGE NMAKE /f "7300INT.MAK" CFG="7300int - Win32 Debug" -!MESSAGE -!MESSAGE Possible choices for configuration are: -!MESSAGE -!MESSAGE "7300int - Win32 Release" (based on "Win32 (x86) Application") -!MESSAGE "7300int - Win32 Debug" (based on "Win32 (x86) Application") -!MESSAGE -!ERROR An invalid configuration is specified. -!ENDIF - -!IF "$(OS)" == "Windows_NT" -NULL= -!ELSE -NULL=nul -!ENDIF -################################################################################ -# Begin Project -# PROP Target_Last_Scanned "7300int - Win32 Debug" -MTL=mktyplib.exe -CPP=cl.exe -RSC=rc.exe - -!IF "$(CFG)" == "7300int - Win32 Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "7300int_" -# PROP BASE Intermediate_Dir "7300int_" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "" -# PROP Intermediate_Dir "Release" -# PROP Target_Dir "" -OUTDIR=. -INTDIR=.\Release - -ALL : "$(OUTDIR)\7300INT.exe" - -CLEAN : - -@erase ".\7300INT.exe" - -@erase ".\Release\7300int.obj" - -@erase ".\Release\7300int.res" - -"$(INTDIR)" : - if not exist "$(INTDIR)/$(NULL)" mkdir "$(INTDIR)" - -# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /YX /c -# ADD CPP /nologo /MT /W3 /GX /Od /I "..\..\..\include" /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /c -# SUBTRACT CPP /YX -CPP_PROJ=/nologo /MT /W3 /GX /Od /I "..\..\..\include" /D "WIN32" /D "NDEBUG"\ - /D "_WINDOWS" /Fo"$(INTDIR)/" /c -CPP_OBJS=.\Release/ -CPP_SBRS= -# ADD BASE MTL /nologo /D "NDEBUG" /win32 -# ADD MTL /nologo /D "NDEBUG" /win32 -MTL_PROJ=/nologo /D "NDEBUG" /win32 -# ADD BASE RSC /l 0x409 /d "NDEBUG" -# ADD RSC /l 0x409 /d "NDEBUG" -RSC_PROJ=/l 0x409 /fo"$(INTDIR)/7300int.res" /d "NDEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -BSC32_FLAGS=/nologo /o"$(OUTDIR)/7300INT.bsc" -BSC32_SBRS= -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:windows /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ..\..\..\lib\pci-dask.lib /nologo /subsystem:windows /machine:I386 -LINK32_FLAGS=kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib\ - advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib\ - odbccp32.lib ..\..\..\lib\pci-dask.lib /nologo /subsystem:windows\ - /incremental:no /pdb:"$(OUTDIR)/7300INT.pdb" /machine:I386\ - /out:"$(OUTDIR)/7300INT.exe" -LINK32_OBJS= \ - "$(INTDIR)/7300int.obj" \ - "$(INTDIR)/7300int.res" - -"$(OUTDIR)\7300INT.exe" : "$(OUTDIR)" $(DEF_FILE) $(LINK32_OBJS) - $(LINK32) @<< - $(LINK32_FLAGS) $(LINK32_OBJS) -<< - -!ELSEIF "$(CFG)" == "7300int - Win32 Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "Debug" -# PROP BASE Intermediate_Dir "Debug" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "" -# PROP Intermediate_Dir "Debug" -# PROP Target_Dir "" -OUTDIR=. -INTDIR=.\Debug - -ALL : "$(OUTDIR)\7300INT.exe" - -CLEAN : - -@erase ".\Debug\vc40.pdb" - -@erase ".\Debug\vc40.idb" - -@erase ".\7300INT.exe" - -@erase ".\Debug\7300int.obj" - -@erase ".\Debug\7300int.res" - -@erase ".\7300INT.ilk" - -@erase ".\7300INT.pdb" - -"$(INTDIR)" : - if not exist "$(INTDIR)/$(NULL)" mkdir "$(INTDIR)" - -# ADD BASE CPP /nologo /W3 /Gm /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /YX /c -# ADD CPP /nologo /W3 /Gm /GX /Zi /Od /I "..\..\..\include" /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /c -# SUBTRACT CPP /YX -CPP_PROJ=/nologo /MLd /W3 /Gm /GX /Zi /Od /I "..\..\..\include" /D "WIN32" /D\ - "_DEBUG" /D "_WINDOWS" /Fo"$(INTDIR)/" /Fd"$(INTDIR)/" /c -CPP_OBJS=.\Debug/ -CPP_SBRS= -# ADD BASE MTL /nologo /D "_DEBUG" /win32 -# ADD MTL /nologo /D "_DEBUG" /win32 -MTL_PROJ=/nologo /D "_DEBUG" /win32 -# ADD BASE RSC /l 0x409 /d "_DEBUG" -# ADD RSC /l 0x409 /d "_DEBUG" -RSC_PROJ=/l 0x409 /fo"$(INTDIR)/7300int.res" /d "_DEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -BSC32_FLAGS=/nologo /o"$(OUTDIR)/7300INT.bsc" -BSC32_SBRS= -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:windows /debug /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ..\..\..\lib\pci-dask.lib /nologo /subsystem:windows /debug /machine:I386 -LINK32_FLAGS=kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib\ - advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib\ - odbccp32.lib ..\..\..\lib\pci-dask.lib /nologo /subsystem:windows\ - /incremental:yes /pdb:"$(OUTDIR)/7300INT.pdb" /debug /machine:I386\ - /out:"$(OUTDIR)/7300INT.exe" -LINK32_OBJS= \ - "$(INTDIR)/7300int.obj" \ - "$(INTDIR)/7300int.res" - -"$(OUTDIR)\7300INT.exe" : "$(OUTDIR)" $(DEF_FILE) $(LINK32_OBJS) - $(LINK32) @<< - $(LINK32_FLAGS) $(LINK32_OBJS) -<< - -!ENDIF - -.c{$(CPP_OBJS)}.obj: - $(CPP) $(CPP_PROJ) $< - -.cpp{$(CPP_OBJS)}.obj: - $(CPP) $(CPP_PROJ) $< - -.cxx{$(CPP_OBJS)}.obj: - $(CPP) $(CPP_PROJ) $< - -.c{$(CPP_SBRS)}.sbr: - $(CPP) $(CPP_PROJ) $< - -.cpp{$(CPP_SBRS)}.sbr: - $(CPP) $(CPP_PROJ) $< - -.cxx{$(CPP_SBRS)}.sbr: - $(CPP) $(CPP_PROJ) $< - -################################################################################ -# Begin Target - -# Name "7300int - Win32 Release" -# Name "7300int - Win32 Debug" - -!IF "$(CFG)" == "7300int - Win32 Release" - -!ELSEIF "$(CFG)" == "7300int - Win32 Debug" - -!ENDIF - -################################################################################ -# Begin Source File - -SOURCE=.\7300int.rc - -"$(INTDIR)\7300int.res" : $(SOURCE) "$(INTDIR)" - $(RSC) $(RSC_PROJ) $(SOURCE) - - -# End Source File -################################################################################ -# Begin Source File - -SOURCE=.\7300int.c -DEP_CPP_7300I=\ - ".\..\..\..\include\Dask.h"\ - - -"$(INTDIR)\7300int.obj" : $(SOURCE) $(DEP_CPP_7300I) "$(INTDIR)" - - -# End Source File -# End Target -# End Project -################################################################################ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7300a/Sdk7300Int/7300int.mdp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7300a/Sdk7300Int/7300int.mdp deleted file mode 100644 index 507a8e0..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7300a/Sdk7300Int/7300int.mdp and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7300a/Sdk7300Int/7300int.rc b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7300a/Sdk7300Int/7300int.rc deleted file mode 100644 index d89886e..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7300a/Sdk7300Int/7300int.rc +++ /dev/null @@ -1,125 +0,0 @@ -//Microsoft Developer Studio generated resource script. -// -#include "resource.h" - -#define APSTUDIO_READONLY_SYMBOLS -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 2 resource. -// -#define APSTUDIO_HIDDEN_SYMBOLS -#include "windows.h" -#undef APSTUDIO_HIDDEN_SYMBOLS - -///////////////////////////////////////////////////////////////////////////// -#undef APSTUDIO_READONLY_SYMBOLS - -///////////////////////////////////////////////////////////////////////////// -// English (U.S.) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -#ifdef _WIN32 -LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US -#pragma code_page(1252) -#endif //_WIN32 - -#ifdef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// TEXTINCLUDE -// - -1 TEXTINCLUDE DISCARDABLE -BEGIN - "resource.h\0" -END - -2 TEXTINCLUDE DISCARDABLE -BEGIN - "#define APSTUDIO_HIDDEN_SYMBOLS\r\n" - "#include ""windows.h""\r\n" - "#undef APSTUDIO_HIDDEN_SYMBOLS\r\n" - "\0" -END - -3 TEXTINCLUDE DISCARDABLE -BEGIN - "\r\n" - "\0" -END - -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// Menu -// - -INTMENU MENU DISCARDABLE -BEGIN - MENUITEM "Setup", IDM_SETUP - MENUITEM "Interrupt Trigger", IDM_GO - MENUITEM "Exit", IDM_CLEAR -END - - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog -// - -IDD_DIALOG1 DIALOG DISCARDABLE 0, 0, 138, 110 -STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "Setup Dialog" -FONT 10, "System" -BEGIN - DEFPUSHBUTTON "OK",IDOK,10,89,50,14 - PUSHBUTTON "Cancel",IDCANCEL,81,89,50,14 - LTEXT "Total Count",IDC_STATIC,10,34,52,12 - LTEXT "Sampling Rate",IDC_STATIC,10,59,51,12 - EDITTEXT IDC_EDIT1,62,33,69,15,ES_AUTOHSCROLL - EDITTEXT IDC_EDIT2,62,58,69,15,ES_AUTOHSCROLL - LTEXT "Card Number",IDC_STATIC,10,12,45,13 - COMBOBOX IDC_COMBO1,62,12,69,84,CBS_DROPDOWN | WS_VSCROLL | - WS_TABSTOP -END - - -///////////////////////////////////////////////////////////////////////////// -// -// DESIGNINFO -// - -#ifdef APSTUDIO_INVOKED -GUIDELINES DESIGNINFO DISCARDABLE -BEGIN - IDD_DIALOG1, DIALOG - BEGIN - LEFTMARGIN, 6 - RIGHTMARGIN, 131 - VERTGUIDE, 10 - VERTGUIDE, 89 - TOPMARGIN, 12 - BOTTOMMARGIN, 103 - HORZGUIDE, 65 - HORZGUIDE, 105 - END -END -#endif // APSTUDIO_INVOKED - -#endif // English (U.S.) resources -///////////////////////////////////////////////////////////////////////////// - - - -#ifndef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 3 resource. -// - - -///////////////////////////////////////////////////////////////////////////// -#endif // not APSTUDIO_INVOKED - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7300a/Sdk7300Int/Resource.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7300a/Sdk7300Int/Resource.h deleted file mode 100644 index 6b0eb15..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7300a/Sdk7300Int/Resource.h +++ /dev/null @@ -1,26 +0,0 @@ -//{{NO_DEPENDENCIES}} -// Microsoft Developer Studio generated include file. -// Used by 7248int.rc -// -#define IDM_SETUP 101 -#define IDD_DIALOG1 101 -#define IDM_EXIT 110 -#define IDM_GO 300 -#define ID_STOP 304 -#define IDM_CLEAR 305 -#define IDC_COMBO1 1004 -#define IDC_COMBO2 1005 -#define IDC_EDIT1 1007 -#define IDC_EDIT2 1008 -#define IDC_STATIC -1 - -// Next default values for new objects -// -#ifdef APSTUDIO_INVOKED -#ifndef APSTUDIO_READONLY_SYMBOLS -#define _APS_NEXT_RESOURCE_VALUE 102 -#define _APS_NEXT_COMMAND_VALUE 102 -#define _APS_NEXT_CONTROL_VALUE 1008 -#define _APS_NEXT_SYMED_VALUE 101 -#endif -#endif diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7300a/Sdk7300aMBufWav/7300CWAV.C b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7300a/Sdk7300aMBufWav/7300CWAV.C deleted file mode 100644 index 7ad0129..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7300a/Sdk7300aMBufWav/7300CWAV.C +++ /dev/null @@ -1,492 +0,0 @@ -#include "windows.h" -#include -#include -#include -#include -#include -#include "resource.h" -#include "Dask.h" - -#define IDM_EXIT 110 -#define IDC_SCROLL 207 -#define IDC_START 208 -#define IDC_STOP 209 -#define IDC_EDIT 211 -#define IDC_EDIT1 214 -#define IDC_SHOW 213 -#define IDC_DA 400 - -#define PI 3.14159 -#define MAX_SIZE 1024000 //in words - -int PASCAL WinMain(HANDLE, HANDLE, LPSTR, int); -long PASCAL MainWndProc(HWND, UINT, WPARAM, LPARAM); -BOOL PASCAL ShowDMA(HWND, UINT, WPARAM, LPARAM); - -HANDLE hInst; -HWND hListBox; -HWND hEdit,hEdit1, hStart, hStop; - -HBRUSH hBlackBrush; -HPEN hRedPen, hBlackPen; -HWND hMainWnd; - -U32 sample_rate=10000; - -U16 in_buf[MAX_SIZE], in_buf2[MAX_SIZE], in_buf3[MAX_SIZE], in_buf4[MAX_SIZE]; -int oldinput=-1,adinput; -U32 data_size=100000; - -U32 mem_size; - -I16 card=-1, card_number = 0; -BOOLEAN bStopped; -U32 count; -U16 out_buf[MAX_SIZE]; -BOOLEAN bOutStopped; -ULONG out_count; - -HANDLE hThread; -BOOLEAN clear_op; - -POINT input_pos[16]= {{470, 280}, {440, 280}, - {410, 280}, {380, 280}, - {350, 280}, {320, 280}, - { 290, 280}, {260, 280}, - {230, 280}, {200, 280}, - {170, 280}, {140, 280}, - {110, 280}, {80, 280}, - { 50, 280}, { 20, 280}, - }; -POINT output_pos[16] ={ - {470, 340}, {440, 340}, - {410, 340}, {380, 340}, - {350, 340}, {320, 340}, - { 290, 340}, {260, 340}, - {230, 340}, {200, 340}, - {170, 340}, {140, 340}, - {110, 340}, {80, 340}, - { 50, 340}, { 20, 340}, - }; - -POINT io_pos[16] ={ - {395, 40}, {370, 40}, - {345, 40}, {320, 40}, - {295, 40}, {270, 40}, - { 245, 40}, {220, 40}, - {195, 40}, {170, 40}, - {145, 40}, {120, 40}, - {95, 40}, {70, 40}, - { 45, 40}, { 20, 40}, - }; - -BOOL InitApplication(HANDLE); -BOOL InitInstance(HANDLE, int); -void ProcessThread(void* pArg); - -int PASCAL WinMain(hInstance, hPrevInstance, lpCmdLine, nCmdShow) -HANDLE hInstance, hPrevInstance; -LPSTR lpCmdLine; -int nCmdShow; -{ - MSG msg; - - if (!hPrevInstance) - if (!InitApplication(hInstance)) return(FALSE); - if (!InitInstance(hInstance, nCmdShow)) return(FALSE); - while (GetMessage(&msg, NULL, NULL, NULL)) { - TranslateMessage(&msg); - DispatchMessage(&msg); - } - return(msg.wParam); -} - -BOOL InitApplication(hInstance) -HANDLE hInstance; -{ - WNDCLASS wc; - - /* Main Window Class */ - wc.style = NULL; - wc.lpfnWndProc = (WNDPROC)MainWndProc; - wc.cbClsExtra = 0; - wc.cbWndExtra = 0; - wc.hInstance = hInstance; - wc.hIcon = LoadIcon(hInstance, "MyIcon"); - wc.hCursor = LoadCursor(NULL, IDC_ARROW); - wc.hbrBackground = GetStockObject(LTGRAY_BRUSH); - wc.lpszMenuName = NULL; - wc.lpszClassName = "GenericWClass"; - if (!RegisterClass(&wc)) return(FALSE); -} - - -BOOL InitInstance(hInstance, nCmdShow) -HANDLE hInstance; -int nCmdShow; -{ - HWND hWnd; - HMENU hSampleMenu; - - hInst = hInstance; - hSampleMenu = LoadMenu(hInstance, "U7120Menu"); - hWnd = CreateWindow("GenericWClass", - (LPCSTR)"PCI-7300 Multiple Buffered DMA", - WS_OVERLAPPEDWINDOW, - CW_USEDEFAULT, - CW_USEDEFAULT, - 520, - 400, - NULL, - hSampleMenu, - hInstance, - NULL); - if (!hWnd) return(FALSE); - ShowWindow(hWnd, nCmdShow); - UpdateWindow(hWnd); - return(TRUE); -} - -BOOL PASCAL setup(HWND hWnd, unsigned message, WPARAM wParam, LPARAM lParam) -{ - int i; - char n[16]; - char s[50]; - switch (message) { - case WM_INITDIALOG: - for (i=0;i<16;i++) { - wsprintf(n, "%d", i); - _strupr(n); - SendMessage(GetDlgItem(hWnd,IDC_COMBO1), CB_ADDSTRING, NULL, (LONG)(LPSTR) n); - } - SendMessage(GetDlgItem(hWnd,IDC_COMBO1) , CB_SETCURSEL, 0, 0L); - - break; - case WM_COMMAND: - switch(LOWORD(wParam)) { - - case IDC_COMBO1: - if (HIWORD(wParam) == CBN_CLOSEUP) { - i = (int)SendMessage(GetDlgItem(hWnd,IDC_COMBO1), CB_GETCURSEL, 0, 0L); - SendMessage(GetDlgItem(hWnd,IDC_COMBO1), CB_GETLBTEXT, i, (LPARAM)((LPCSTR)n)); - card_number = i; - } - return(TRUE); - case IDOK: - if ((card=Register_Card(PCI_7300A_RevA, card_number)) < 0) { - wsprintf(s, "Register_Card Error = %d\n", card); - MessageBox(hWnd, s, "Error", MB_OK); - } - EndDialog(hWnd, TRUE); - InvalidateRect(hWnd, NULL, FALSE); - return (TRUE); - case IDCANCEL: - EndDialog(hWnd, TRUE); - return (TRUE); - } - break; - } - return (FALSE); -} - -long PASCAL MainWndProc(hWnd, message, wParam, lParam) -HWND hWnd; -UINT message; -WPARAM wParam; -LPARAM lParam; -{ - HDC hDC; - PAINTSTRUCT ps; - int i; - char n[6]; - SHORT err; - char s[50]; - U16 BufferId; - - switch(message) { - case WM_CREATE: - DialogBox(hInst,IDD_DIALOG2, hWnd, setup); - if(card<0) { - SendMessage(hWnd, WM_CLOSE, 0, 0L); - break; - } - err=DI_7300B_Config(card, 16, TRIG_CLK_10MHZ, P7300_WAIT_NO, P7300_TERM_ON, 0, 0, 0); - if (err !=0) { - wsprintf(s, "DI_7300B_Config Error = %d, card=%d\n", err, card); - MessageBox(hWnd, s, "Error", MB_OK); - SendMessage(hWnd, WM_CLOSE, 0, 0L); - break; - } - err=DO_7300B_Config (card, 16, TRIG_INT_PACER, P7300_WAIT_NO, P7300_TERM_ON, 0, 0x00040004); - if (err !=0) { - wsprintf(s, "DO_7300B_Config Error = %d, card=%d\n", err, card); - MessageBox(hWnd, s, "Error", MB_OK); - SendMessage(hWnd, WM_CLOSE, 0, 0L); - break; - } - for (i=0; i 200000) sample_rate=200000; - break; - case SB_LINEDOWN: - sample_rate-=10000; - if (sample_rate < 10000) sample_rate=10000; - break; - } - wsprintf(n,"%d",sample_rate/1000); - SetWindowText(hEdit,n); - break; - case WM_COMMAND: - switch(LOWORD(wParam)) { - case IDM_EXIT: - SendMessage(hWnd, WM_CLOSE, 0, 0L); - break; - case IDC_SHOW : - DialogBox(hInst, "DMABox", hWnd, ShowDMA); - break; - case IDC_START: - data_size=GetDlgItemInt(hWnd,IDC_EDIT1,NULL ,FALSE); - //setting the DMA buffers - err = DI_ContMultiBufferSetup (card, in_buf, data_size, &BufferId); - if (err < 0) { - wsprintf(s, "DI_ContMultiBufferSetup Error = %d", err); - MessageBox(hWnd, s, "Error", MB_OK); - SendMessage(hWnd, WM_CLOSE, 0, 0L); - break; - } - err = DI_ContMultiBufferSetup (card, in_buf2, data_size, &BufferId); - if (err < 0) { - wsprintf(s, "DI_ContMultiBufferSetup Error = %d", err); - MessageBox(hWnd, s, "Error", MB_OK); - SendMessage(hWnd, WM_CLOSE, 0, 0L); - break; - } - err = DI_ContMultiBufferSetup (card, in_buf3, data_size, &BufferId); - if (err < 0) { - wsprintf(s, "DI_ContMultiBufferSetup Error = %d", err); - MessageBox(hWnd, s, "Error", MB_OK); - SendMessage(hWnd, WM_CLOSE, 0, 0L); - break; - } - //start multi-buffered DI - err = DI_ContMultiBufferSetup (card, in_buf4, data_size, &BufferId); - if (err < 0) { - wsprintf(s, "DI_ContMultiBufferSetup Error = %d", err); - MessageBox(hWnd, s, "Error", MB_OK); - SendMessage(hWnd, WM_CLOSE, 0, 0L); - break; - } - - hMainWnd = hWnd; - clear_op = FALSE; - hThread = (HANDLE)_beginthread(ProcessThread, 0, 0); - - err = DO_ContWritePort (card, 0, out_buf, 2*data_size, 0, 5000000, ASYNCH_OP); - if (err < 0) { - wsprintf(s, "DO_ContWritePort Error = %d", err); - MessageBox(hWnd, s, "Error", MB_OK); - SendMessage(hWnd, WM_CLOSE, 0, 0L); - break; - } - err = DI_ContMultiBufferStart (card, 0, 1); - if (err < 0) { - wsprintf(s, "DI_ContReadPort Error = %d", err); - MessageBox(hWnd, s, "Error", MB_OK); - SendMessage(hWnd, WM_CLOSE, 0, 0L); - break; - } - EnableWindow(hStart, FALSE); - EnableWindow(hStop, TRUE); - MessageBeep(0); - break; - case IDC_STOP: - clear_op = TRUE; - EnableWindow(hStop, FALSE); - break; - default: - return(DefWindowProc(hWnd, message, wParam, lParam)); - } - break; - case WM_DESTROY: - if (card >= 0) Release_Card(card); - DeleteObject(hBlackBrush); - DeleteObject(hRedPen); - PostQuitMessage(0); - break; - default: - return(DefWindowProc(hWnd, message, wParam, lParam)); - } - return(NULL); -} - -BOOL PASCAL ShowDMA(hDlg, message, wParam, lParam) -HWND hDlg; -UINT message; -WPARAM wParam; -LPARAM lParam; -{ - int nTabs[2] = {32, 92}; - long i; - char cBuf[100]; - char string[10]=" "; - char data_str[3]=" "; - U16 *pp; - switch (message) { - case WM_INITDIALOG: - hListBox = CreateWindow("LISTBOX", "Index Data (Hex)", - WS_CHILD | WS_VISIBLE | LBS_HASSTRINGS | LBS_STANDARD | LBS_USETABSTOPS |WS_CAPTION, - 50, 40, 240, 180, hDlg, 100, hInst, NULL); - SendMessage(hListBox, LB_RESETCONTENT, 0, 0L); - SendMessage(hListBox, LB_SETTABSTOPS, 2, (DWORD)(LPINT) nTabs); - SetDlgItemText(hDlg, DMA_DESCP, "This ListBox can show at most 4000 data"); - itoa( data_size, string, 10); - SetDlgItemText(hDlg, DMA_SPACE, string); - - pp = (U16 *) in_buf; - if (data_size > 4000) data_size = 4000; - for(i=0;i -#include -#include -#include "dask.h" - -#define PI 3.14159 - -U16 channel=0; -U32 out_count=4096; -F64 samp_rate = 50000; -U16 pattern1[4096]; -U16 pattern2[4096]; -U16 ao_buf[4096]; -U16 ao_buf2[4096]; - -main() -{ - I16 card, err, card_num,i,Id,j; - BOOLEAN halfReady, fStop; - U32 count=0, count1, startPos; - U16 viewidx; - - printf("Please input a card number: "); - scanf(" %d", &card_num); - //getch(); - if ((card=Register_Card (PCI_7300A_RevB, card_num)) <0 ) { - printf("Register_Card error=%d\n", card); - exit(1); - } - - for (i=0;i -# Microsoft Developer Studio Generated Build File, Format Version 5.00 -# ** DO NOT EDIT ** - -# TARGTYPE "Win32 (x86) Console Application" 0x0103 - -CFG=7300bDbF - Win32 Release -!MESSAGE This is not a valid makefile. To build this project using NMAKE, -!MESSAGE use the Export Makefile command and run -!MESSAGE -!MESSAGE NMAKE /f "7300bDbF.mak". -!MESSAGE -!MESSAGE You can specify a configuration when running NMAKE -!MESSAGE by defining the macro CFG on the command line. For example: -!MESSAGE -!MESSAGE NMAKE /f "7300bDbF.mak" CFG="7300bDbF - Win32 Release" -!MESSAGE -!MESSAGE Possible choices for configuration are: -!MESSAGE -!MESSAGE "7300bDbF - Win32 Release" (based on\ - "Win32 (x86) Console Application") -!MESSAGE "7300bDbF - Win32 Debug" (based on "Win32 (x86) Console Application") -!MESSAGE - -# Begin Project -# PROP Scc_ProjName "" -# PROP Scc_LocalPath "" -CPP=cl.exe -RSC=rc.exe - -!IF "$(CFG)" == "7300bDbF - Win32 Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir ".\Release" -# PROP BASE Intermediate_Dir ".\Release" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "" -# PROP Intermediate_Dir ".\Release" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /YX /c -# ADD CPP /nologo /W3 /GX /O2 /I "..\..\..\include" /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /FD /c -# SUBTRACT CPP /YX -# ADD BASE RSC /l 0x404 /d "NDEBUG" -# ADD RSC /l 0x409 /d "NDEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ..\..\..\lib\pci-dask.lib /nologo /subsystem:console /machine:I386 - -!ELSEIF "$(CFG)" == "7300bDbF - Win32 Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir ".\Debug" -# PROP BASE Intermediate_Dir ".\Debug" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "" -# PROP Intermediate_Dir ".\Debug" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /Gm /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /YX /c -# ADD CPP /nologo /W3 /Gm /GX /Zi /Od /I "..\..\..\include" /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /FD /c -# SUBTRACT CPP /YX -# ADD BASE RSC /l 0x404 /d "_DEBUG" -# ADD RSC /l 0x404 /d "_DEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /debug /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ..\..\..\lib\pci-dask.lib /nologo /subsystem:console /debug /machine:I386 - -!ENDIF - -# Begin Target - -# Name "7300bDbF - Win32 Release" -# Name "7300bDbF - Win32 Debug" -# Begin Group "Source Files" - -# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;hpj;bat;for;f90" -# Begin Source File - -SOURCE=.\7300bDbF.c -# End Source File -# End Group -# Begin Group "Header Files" - -# PROP Default_Filter "h;hpp;hxx;hm;inl;fi;fd" -# End Group -# Begin Group "Resource Files" - -# PROP Default_Filter "ico;cur;bmp;dlg;rc2;rct;bin;cnt;rtf;gif;jpg;jpeg;jpe" -# End Group -# End Target -# End Project diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7300b/C7300bDbfDO/7300bDbF.dsw b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7300b/C7300bDbfDO/7300bDbF.dsw deleted file mode 100644 index 9564575..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7300b/C7300bDbfDO/7300bDbF.dsw +++ /dev/null @@ -1,29 +0,0 @@ -Microsoft Developer Studio Workspace File, Format Version 5.00 -# WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE! - -############################################################################### - -Project: "7300bDbF"=.\7300bDbF.dsp - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ -}}} - -############################################################################### - -Global: - -Package=<5> -{{{ -}}} - -Package=<3> -{{{ -}}} - -############################################################################### - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7300b/C7300bDbfDO/7300bDbF.exe b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7300b/C7300bDbfDO/7300bDbF.exe deleted file mode 100644 index 63fd449..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7300b/C7300bDbfDO/7300bDbF.exe and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7300b/C7300bFile/7300bFile.exe b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7300b/C7300bFile/7300bFile.exe deleted file mode 100644 index c92b903..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7300b/C7300bFile/7300bFile.exe and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7300b/C7300bFile/7300bFile.mak b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7300b/C7300bFile/7300bFile.mak deleted file mode 100644 index d0be9b2..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7300b/C7300bFile/7300bFile.mak +++ /dev/null @@ -1,199 +0,0 @@ -# Microsoft Developer Studio Generated NMAKE File, Format Version 4.20 -# ** DO NOT EDIT ** - -# TARGTYPE "Win32 (x86) Console Application" 0x0103 - -!IF "$(CFG)" == "" -CFG=7300File - Win32 Debug -!MESSAGE No configuration specified. Defaulting to 7300File - Win32 Debug. -!ENDIF - -!IF "$(CFG)" != "7300File - Win32 Release" && "$(CFG)" !=\ - "7300File - Win32 Debug" -!MESSAGE Invalid configuration "$(CFG)" specified. -!MESSAGE You can specify a configuration when running NMAKE on this makefile -!MESSAGE by defining the macro CFG on the command line. For example: -!MESSAGE -!MESSAGE NMAKE /f "7300bFile.mak" CFG="7300File - Win32 Debug" -!MESSAGE -!MESSAGE Possible choices for configuration are: -!MESSAGE -!MESSAGE "7300File - Win32 Release" (based on\ - "Win32 (x86) Console Application") -!MESSAGE "7300File - Win32 Debug" (based on "Win32 (x86) Console Application") -!MESSAGE -!ERROR An invalid configuration is specified. -!ENDIF - -!IF "$(OS)" == "Windows_NT" -NULL= -!ELSE -NULL=nul -!ENDIF -################################################################################ -# Begin Project -# PROP Target_Last_Scanned "7300File - Win32 Debug" -CPP=cl.exe -RSC=rc.exe - -!IF "$(CFG)" == "7300File - Win32 Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "Release" -# PROP BASE Intermediate_Dir "Release" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "" -# PROP Intermediate_Dir "Release" -# PROP Target_Dir "" -OUTDIR=. -INTDIR=.\Release - -ALL : "$(OUTDIR)\7300bFile.exe" - -CLEAN : - -@erase "$(INTDIR)\7300bfile.obj" - -@erase "$(OUTDIR)\7300bFile.exe" - -"$(INTDIR)" : - if not exist "$(INTDIR)/$(NULL)" mkdir "$(INTDIR)" - -# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /YX /c -# ADD CPP /nologo /W3 /GX /O2 /I "..\..\..\include" /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /c -# SUBTRACT CPP /YX -CPP_PROJ=/nologo /ML /W3 /GX /O2 /I "..\..\..\include" /D "WIN32" /D "NDEBUG"\ - /D "_CONSOLE" /Fo"$(INTDIR)/" /c -CPP_OBJS=.\Release/ -CPP_SBRS=.\. -# ADD BASE RSC /l 0x404 /d "NDEBUG" -# ADD RSC /l 0x404 /d "NDEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -BSC32_FLAGS=/nologo /o"$(OUTDIR)/7300bFile.bsc" -BSC32_SBRS= \ - -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ..\..\..\lib\pci-dask.lib /nologo /subsystem:console /machine:I386 -LINK32_FLAGS=kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib\ - advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib\ - odbccp32.lib ..\..\..\lib\pci-dask.lib /nologo /subsystem:console\ - /incremental:no /pdb:"$(OUTDIR)/7300bFile.pdb" /machine:I386\ - /out:"$(OUTDIR)/7300bFile.exe" -LINK32_OBJS= \ - "$(INTDIR)\7300bfile.obj" - -"$(OUTDIR)\7300bFile.exe" : "$(OUTDIR)" $(DEF_FILE) $(LINK32_OBJS) - $(LINK32) @<< - $(LINK32_FLAGS) $(LINK32_OBJS) -<< - -!ELSEIF "$(CFG)" == "7300File - Win32 Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "Debug" -# PROP BASE Intermediate_Dir "Debug" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "" -# PROP Intermediate_Dir "Debug" -# PROP Target_Dir "" -OUTDIR=. -INTDIR=.\Debug - -ALL : "$(OUTDIR)\7300bFile.exe" - -CLEAN : - -@erase "$(INTDIR)\7300bfile.obj" - -@erase "$(INTDIR)\vc40.idb" - -@erase "$(INTDIR)\vc40.pdb" - -@erase "$(OUTDIR)\7300bFile.exe" - -@erase "$(OUTDIR)\7300bFile.ilk" - -@erase "$(OUTDIR)\7300bFile.pdb" - -"$(INTDIR)" : - if not exist "$(INTDIR)/$(NULL)" mkdir "$(INTDIR)" - -# ADD BASE CPP /nologo /W3 /Gm /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /YX /c -# ADD CPP /nologo /W3 /Gm /GX /Zi /Od /I "..\..\..\include" /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /c -# SUBTRACT CPP /YX -CPP_PROJ=/nologo /MLd /W3 /Gm /GX /Zi /Od /I "..\..\..\include" /D "WIN32" /D\ - "_DEBUG" /D "_CONSOLE" /Fo"$(INTDIR)/" /Fd"$(INTDIR)/" /c -CPP_OBJS=.\Debug/ -CPP_SBRS=.\. -# ADD BASE RSC /l 0x404 /d "_DEBUG" -# ADD RSC /l 0x404 /d "_DEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -BSC32_FLAGS=/nologo /o"$(OUTDIR)/7300bFile.bsc" -BSC32_SBRS= \ - -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /debug /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ..\..\..\lib\pci-dask.lib /nologo /subsystem:console /debug /machine:I386 -LINK32_FLAGS=kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib\ - advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib\ - odbccp32.lib ..\..\..\lib\pci-dask.lib /nologo /subsystem:console\ - /incremental:yes /pdb:"$(OUTDIR)/7300bFile.pdb" /debug /machine:I386\ - /out:"$(OUTDIR)/7300bFile.exe" -LINK32_OBJS= \ - "$(INTDIR)\7300bfile.obj" - -"$(OUTDIR)\7300bFile.exe" : "$(OUTDIR)" $(DEF_FILE) $(LINK32_OBJS) - $(LINK32) @<< - $(LINK32_FLAGS) $(LINK32_OBJS) -<< - -!ENDIF - -.c{$(CPP_OBJS)}.obj: - $(CPP) $(CPP_PROJ) $< - -.cpp{$(CPP_OBJS)}.obj: - $(CPP) $(CPP_PROJ) $< - -.cxx{$(CPP_OBJS)}.obj: - $(CPP) $(CPP_PROJ) $< - -.c{$(CPP_SBRS)}.sbr: - $(CPP) $(CPP_PROJ) $< - -.cpp{$(CPP_SBRS)}.sbr: - $(CPP) $(CPP_PROJ) $< - -.cxx{$(CPP_SBRS)}.sbr: - $(CPP) $(CPP_PROJ) $< - -################################################################################ -# Begin Target - -# Name "7300File - Win32 Release" -# Name "7300File - Win32 Debug" - -!IF "$(CFG)" == "7300File - Win32 Release" - -!ELSEIF "$(CFG)" == "7300File - Win32 Debug" - -!ENDIF - -################################################################################ -# Begin Source File - -SOURCE=.\7300bfile.c -DEP_CPP_7300B=\ - "..\..\..\include\dask.h"\ - - -"$(INTDIR)\7300bfile.obj" : $(SOURCE) $(DEP_CPP_7300B) "$(INTDIR)" - - -# End Source File -# End Target -# End Project -################################################################################ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7300b/C7300bFile/7300bFile.mdp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7300b/C7300bFile/7300bFile.mdp deleted file mode 100644 index 26f41e9..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7300b/C7300bFile/7300bFile.mdp and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7300b/C7300bFile/7300bfile.c b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7300b/C7300bFile/7300bfile.c deleted file mode 100644 index 4f27edf..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7300b/C7300bFile/7300bfile.c +++ /dev/null @@ -1,58 +0,0 @@ -#include -#include -#include -#include "dask.h" - -U16 DoBuf[20000]; -char *file_name="7300d"; -U32 read_count=20000; -main() -{ - I16 card, err, card_num; - BOOLEAN bStopped; - U32 count, i; - - printf("This program inputs and outputs %d data by PCI-7300A RevB in 10MHz\nsimultaneously (DI16DO16), and store input data to file '%s.dat'.\n\nPress any key to start the operation.\n", read_count, file_name); - printf("Please input a card number: "); - scanf(" %d", &card_num); - //getch(); - if ((card=Register_Card (PCI_7300A_RevB, card_num)) <0 ) { - printf("Register_Card error=%d\n", card); - exit(1); - } - for (i=0; i -#include -#include -#include "dask.h" - -#define PI 3.14159 - -U16 channel=0; -U32 out_count=10000; -U16 ao_buf[10000]; -U16 ao_buf2[10000]; -U32 cb=0; -U16 viewidx[10000]; -I16 card, err, card_num,i,Id,j; -BOOLEAN halfReady, fStop; -U32 t=0; -U16 sts=0; - -void cbAddr() { - DI_AsyncMultiBufferNextReady(card, &halfReady, &viewidx[(cb%10000)]); - //TODO: here to handle data - DI_AsyncDblBufferTransfer(card, NULL); //notify driver the data have been handled - DI_AsyncDblBufferOverrun(card, 0, &sts); - if(sts) { - t++; - DI_AsyncDblBufferOverrun(card, 1, &sts); - } - printf("\roverrun:%d cb:%d", t, cb); - - cb++; -} - -void cbAddr0() { - printf("\n\ndone\n"); -} - -main() -{ - U32 count=0, count1, startPos; - - printf("Please input a card number: "); - scanf(" %d", &card_num); - //getch(); - if ((card=Register_Card (PCI_7300A_RevB, card_num)) <0 ) { - printf("Register_Card error=%d\n", card); - exit(1); - } - - err = DI_7300B_Config(card, 16, TRIG_CLK_10MHZ, P7300_WAIT_NO, P7300_TERM_ON, 0, 1, 1); - err = DI_ContMultiBufferSetup (card, ao_buf, out_count, &Id); - if (err!=0) { - printf("DO_ContMultiBufferSetup error=%d for the 1st buffer", err); - exit(1); - } - err = DI_ContMultiBufferSetup (card, ao_buf2, out_count, &Id); - if (err!=0) { - printf("DO_ContMultiBufferSetup error=%d for the 2nd buffer", err); - exit(1); - } - DI_EventCallBack (card, 1, 1, (U32) cbAddr ); - DI_EventCallBack (card, 1, 0, (U32) cbAddr0 ); - err = DI_ContMultiBufferStart (card, 0, 1); - if (err!=0) { - printf("DO_ContMultiBufferStart error=%d", err); - exit(1); - } - j=0; - Sleep(1000); - DI_AsyncClear(card, &count1); - Sleep(1); - Release_Card(card); - printf("\nPress ENTER to exit the program. "); getch(); -} - \ No newline at end of file diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7300b/CDIDbfOverrunCheck/7300bDbF.dsp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7300b/CDIDbfOverrunCheck/7300bDbF.dsp deleted file mode 100644 index efae9de..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7300b/CDIDbfOverrunCheck/7300bDbF.dsp +++ /dev/null @@ -1,104 +0,0 @@ -# Microsoft Developer Studio Project File - Name="7300bDbF" - Package Owner=<4> -# Microsoft Developer Studio Generated Build File, Format Version 6.00 -# ** DO NOT EDIT ** - -# TARGTYPE "Win32 (x86) Console Application" 0x0103 - -CFG=7300bDbF - Win32 Release -!MESSAGE This is not a valid makefile. To build this project using NMAKE, -!MESSAGE use the Export Makefile command and run -!MESSAGE -!MESSAGE NMAKE /f "7300bDbF.mak". -!MESSAGE -!MESSAGE You can specify a configuration when running NMAKE -!MESSAGE by defining the macro CFG on the command line. For example: -!MESSAGE -!MESSAGE NMAKE /f "7300bDbF.mak" CFG="7300bDbF - Win32 Release" -!MESSAGE -!MESSAGE Possible choices for configuration are: -!MESSAGE -!MESSAGE "7300bDbF - Win32 Release" (based on "Win32 (x86) Console Application") -!MESSAGE "7300bDbF - Win32 Debug" (based on "Win32 (x86) Console Application") -!MESSAGE - -# Begin Project -# PROP AllowPerConfigDependencies 0 -# PROP Scc_ProjName "" -# PROP Scc_LocalPath "" -CPP=cl.exe -RSC=rc.exe - -!IF "$(CFG)" == "7300bDbF - Win32 Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir ".\Release" -# PROP BASE Intermediate_Dir ".\Release" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "" -# PROP Intermediate_Dir ".\Release" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /YX /c -# ADD CPP /nologo /W3 /GX /O2 /I "..\..\..\include" /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /FD /c -# SUBTRACT CPP /YX -# ADD BASE RSC /l 0x404 /d "NDEBUG" -# ADD RSC /l 0x409 /d "NDEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ..\..\..\lib\pci-dask.lib /nologo /subsystem:console /machine:I386 - -!ELSEIF "$(CFG)" == "7300bDbF - Win32 Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir ".\Debug" -# PROP BASE Intermediate_Dir ".\Debug" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "" -# PROP Intermediate_Dir ".\Debug" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /Gm /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /YX /c -# ADD CPP /nologo /W3 /Gm /GX /ZI /Od /I "..\..\..\include" /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /FD /c -# SUBTRACT CPP /YX -# ADD BASE RSC /l 0x404 /d "_DEBUG" -# ADD RSC /l 0x404 /d "_DEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /debug /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ..\..\..\lib\pci-dask.lib /nologo /subsystem:console /debug /machine:I386 - -!ENDIF - -# Begin Target - -# Name "7300bDbF - Win32 Release" -# Name "7300bDbF - Win32 Debug" -# Begin Group "Source Files" - -# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;hpj;bat;for;f90" -# Begin Source File - -SOURCE=.\7300bDbF.c -# End Source File -# End Group -# Begin Group "Header Files" - -# PROP Default_Filter "h;hpp;hxx;hm;inl;fi;fd" -# End Group -# Begin Group "Resource Files" - -# PROP Default_Filter "ico;cur;bmp;dlg;rc2;rct;bin;cnt;rtf;gif;jpg;jpeg;jpe" -# End Group -# End Target -# End Project diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7300b/CDIDbfOverrunCheck/7300bDbF.dsw b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7300b/CDIDbfOverrunCheck/7300bDbF.dsw deleted file mode 100644 index 0926efc..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7300b/CDIDbfOverrunCheck/7300bDbF.dsw +++ /dev/null @@ -1,29 +0,0 @@ -Microsoft Developer Studio Workspace File, Format Version 6.00 -# WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE! - -############################################################################### - -Project: "7300bDbF"=.\7300bDbF.dsp - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ -}}} - -############################################################################### - -Global: - -Package=<5> -{{{ -}}} - -Package=<3> -{{{ -}}} - -############################################################################### - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7300b/CDIDbfOverrunCheck/7300bDbF.exe b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7300b/CDIDbfOverrunCheck/7300bDbF.exe deleted file mode 100644 index d1ab35d..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7300b/CDIDbfOverrunCheck/7300bDbF.exe and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7300b/S7300bPGWav/7300bWav.dsp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7300b/S7300bPGWav/7300bWav.dsp deleted file mode 100644 index c41dec7..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7300b/S7300bPGWav/7300bWav.dsp +++ /dev/null @@ -1,110 +0,0 @@ -# Microsoft Developer Studio Project File - Name="7300Wav" - Package Owner=<4> -# Microsoft Developer Studio Generated Build File, Format Version 5.00 -# ** DO NOT EDIT ** - -# TARGTYPE "Win32 (x86) Application" 0x0101 - -CFG=7300Wav - Win32 Free -!MESSAGE This is not a valid makefile. To build this project using NMAKE, -!MESSAGE use the Export Makefile command and run -!MESSAGE -!MESSAGE NMAKE /f "7300bWav.mak". -!MESSAGE -!MESSAGE You can specify a configuration when running NMAKE -!MESSAGE by defining the macro CFG on the command line. For example: -!MESSAGE -!MESSAGE NMAKE /f "7300bWav.mak" CFG="7300Wav - Win32 Free" -!MESSAGE -!MESSAGE Possible choices for configuration are: -!MESSAGE -!MESSAGE "7300Wav - Win32 Free" (based on "Win32 (x86) Application") -!MESSAGE "7300Wav - Win32 Checked" (based on "Win32 (x86) Application") -!MESSAGE - -# Begin Project -# PROP Scc_ProjName "" -# PROP Scc_LocalPath "" -CPP=cl.exe -MTL=midl.exe -RSC=rc.exe - -!IF "$(CFG)" == "7300Wav - Win32 Free" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir ".\Release" -# PROP BASE Intermediate_Dir ".\Release" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "" -# PROP Intermediate_Dir ".\Release" -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /YX /c -# ADD CPP /nologo /W3 /GX /O2 /I "..\..\..\include" /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /FD /c -# SUBTRACT CPP /YX -# ADD BASE MTL /nologo /D "NDEBUG" /win32 -# ADD MTL /nologo /D "NDEBUG" /mktyplib203 /win32 -# ADD BASE RSC /l 0x404 /d "NDEBUG" -# ADD RSC /l 0x404 /d "NDEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:windows /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ..\..\..\lib\Pci-dask.lib /nologo /subsystem:windows /machine:I386 - -!ELSEIF "$(CFG)" == "7300Wav - Win32 Checked" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir ".\Debug" -# PROP BASE Intermediate_Dir ".\Debug" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "" -# PROP Intermediate_Dir ".\Debug" -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /Gm /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /YX /c -# ADD CPP /nologo /W3 /Gm /GX /Zi /Od /I "..\..\..\include" /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /FD /c -# SUBTRACT CPP /YX -# ADD BASE MTL /nologo /D "_DEBUG" /win32 -# ADD MTL /nologo /D "_DEBUG" /mktyplib203 /win32 -# ADD BASE RSC /l 0x404 /d "_DEBUG" -# ADD RSC /l 0x404 /d "_DEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:windows /debug /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ..\..\..\lib\Pci-dask.lib /nologo /subsystem:windows /debug /machine:I386 - -!ENDIF - -# Begin Target - -# Name "7300Wav - Win32 Free" -# Name "7300Wav - Win32 Checked" -# Begin Group "Source Files" - -# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;hpj;bat;for;f90" -# Begin Source File - -SOURCE=.\7300bwav.c -# End Source File -# Begin Source File - -SOURCE=.\7300bWav.rc -# End Source File -# End Group -# Begin Group "Header Files" - -# PROP Default_Filter "h;hpp;hxx;hm;inl;fi;fd" -# End Group -# Begin Group "Resource Files" - -# PROP Default_Filter "ico;cur;bmp;dlg;rc2;rct;bin;cnt;rtf;gif;jpg;jpeg;jpe" -# End Group -# End Target -# End Project diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7300b/S7300bPGWav/7300bWav.dsw b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7300b/S7300bPGWav/7300bWav.dsw deleted file mode 100644 index 6b56449..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7300b/S7300bPGWav/7300bWav.dsw +++ /dev/null @@ -1,29 +0,0 @@ -Microsoft Developer Studio Workspace File, Format Version 5.00 -# WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE! - -############################################################################### - -Project: "7300Wav"=.\7300bWav.dsp - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ -}}} - -############################################################################### - -Global: - -Package=<5> -{{{ -}}} - -Package=<3> -{{{ -}}} - -############################################################################### - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7300b/S7300bPGWav/7300bWav.exe b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7300b/S7300bPGWav/7300bWav.exe deleted file mode 100644 index d886038..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7300b/S7300bPGWav/7300bWav.exe and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7300b/S7300bPGWav/7300bWav.rc b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7300b/S7300bPGWav/7300bWav.rc deleted file mode 100644 index 3b12ae3..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7300b/S7300bPGWav/7300bWav.rc +++ /dev/null @@ -1,126 +0,0 @@ -//Microsoft Developer Studio generated resource script. -// -#include "resource.h" - -#define APSTUDIO_READONLY_SYMBOLS -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 2 resource. -// -#define APSTUDIO_HIDDEN_SYMBOLS -#include "windows.h" -#undef APSTUDIO_HIDDEN_SYMBOLS - -///////////////////////////////////////////////////////////////////////////// -#undef APSTUDIO_READONLY_SYMBOLS - -///////////////////////////////////////////////////////////////////////////// -// English (U.S.) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -#ifdef _WIN32 -LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US -#pragma code_page(1252) -#endif //_WIN32 - -#ifdef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// TEXTINCLUDE -// - -1 TEXTINCLUDE DISCARDABLE -BEGIN - "resource.h\0" -END - -2 TEXTINCLUDE DISCARDABLE -BEGIN - "#define APSTUDIO_HIDDEN_SYMBOLS\r\n" - "#include ""windows.h""\r\n" - "#undef APSTUDIO_HIDDEN_SYMBOLS\r\n" - "\0" -END - -3 TEXTINCLUDE DISCARDABLE -BEGIN - "\r\n" - "\0" -END - -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog -// - -IDD_DIALOG1 DIALOG DISCARDABLE 110, 10, 106, 61 -STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "Card Number" -FONT 10, "System" -BEGIN - DEFPUSHBUTTON "OK",IDOK,10,40,37,14 - PUSHBUTTON "Cancel",IDCANCEL,61,40,38,14 - LTEXT "Card Number",IDC_STATIC,3,13,47,13 - COMBOBOX IDC_COMBO1,51,13,48,84,CBS_DROPDOWN | WS_VSCROLL | - WS_TABSTOP -END - -DMABOX DIALOG DISCARDABLE 18, 10, 171, 169 -STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "Digital Input Data Value" -FONT 8, "System" -BEGIN - PUSHBUTTON "STOP",ID_STOP,82,147,24,14 - LTEXT "XFER COUNT :",-1,47,118,49,8 - LTEXT "Text",DMA_SPACE,103,118,41,8 - LTEXT "Text",DMA_DESCP,16,6,158,8 -END - - -///////////////////////////////////////////////////////////////////////////// -// -// DESIGNINFO -// - -#ifdef APSTUDIO_INVOKED -GUIDELINES DESIGNINFO DISCARDABLE -BEGIN - IDD_DIALOG1, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 99 - TOPMARGIN, 7 - BOTTOMMARGIN, 54 - END -END -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// Menu -// - -U7300MENU MENU DISCARDABLE -BEGIN - MENUITEM "E&xit!", IDM_EXIT -END - -#endif // English (U.S.) resources -///////////////////////////////////////////////////////////////////////////// - - - -#ifndef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 3 resource. -// - - -///////////////////////////////////////////////////////////////////////////// -#endif // not APSTUDIO_INVOKED - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7300b/S7300bPGWav/7300bwav.c b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7300b/S7300bPGWav/7300bwav.c deleted file mode 100644 index b475f4e..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7300b/S7300bPGWav/7300bwav.c +++ /dev/null @@ -1,360 +0,0 @@ -#include "windows.h" -#include -#include -#include -#include -#include "resource.h" -#include "DASK.h" - -#define IDM_EXIT 110 -#define IDC_START 208 -#define IDC_EDIT1 214 -#define IDC_SHOW 213 - -#define PI 3.14159 -#define MAX_SIZE 1000000 //in words - -int PASCAL WinMain(HANDLE, HANDLE, LPSTR, int); -long PASCAL MainWndProc(HWND, UINT, WPARAM, LPARAM); -BOOL PASCAL ShowDMA(HWND, UINT, WPARAM, LPARAM); - -HANDLE hInst; -HWND hListBox; -HWND hEdit1, hStart; -I16 card=-1, card_number = 0; -U16 in_buf[MAX_SIZE], out_buf[MAX_SIZE]; -int oldinput=0,adinput; -U32 data_size=100000; - -HBRUSH hBlackBrush; -HPEN hRedPen; - -POINT input_pos[16]= {{470, 280}, {440, 280}, - {410, 280}, {380, 280}, - {350, 280}, {320, 280}, - { 290, 280}, {260, 280}, - {230, 280}, {200, 280}, - {170, 280}, {140, 280}, - {110, 280}, {80, 280}, - { 50, 280}, { 20, 280}, - }; -POINT output_pos[16] ={ - {470, 340}, {440, 340}, - {410, 340}, {380, 340}, - {350, 340}, {320, 340}, - { 290, 340}, {260, 340}, - {230, 340}, {200, 340}, - {170, 340}, {140, 340}, - {110, 340}, {80, 340}, - { 50, 340}, { 20, 340}, - }; - -POINT io_pos[16] ={ - {395, 90}, {370, 90}, - {345, 90}, {320, 90}, - {295, 90}, {270, 90}, - { 245, 90}, {220, 90}, - {195, 90}, {170, 90}, - {145, 90}, {120, 90}, - {95, 90}, {70, 90}, - { 45, 90}, { 20, 90}, - }; - -BOOL InitApplication(HANDLE); -BOOL InitInstance(HANDLE, int); - -int PASCAL WinMain(hInstance, hPrevInstance, lpCmdLine, nCmdShow) -HANDLE hInstance, hPrevInstance; -LPSTR lpCmdLine; -int nCmdShow; -{ - MSG msg; - - if (!hPrevInstance) - if (!InitApplication(hInstance)) return(FALSE); - if (!InitInstance(hInstance, nCmdShow)) return(FALSE); - while (GetMessage(&msg, NULL, NULL, NULL)) { - TranslateMessage(&msg); - DispatchMessage(&msg); - } - return(msg.wParam); -} - -BOOL InitApplication(hInstance) -HANDLE hInstance; -{ - WNDCLASS wc; - - /* Main Window Class */ - wc.style = NULL; - wc.lpfnWndProc = (WNDPROC)MainWndProc; - wc.cbClsExtra = 0; - wc.cbWndExtra = 0; - wc.hInstance = hInstance; - wc.hIcon = LoadIcon(hInstance, "MyIcon"); - wc.hCursor = LoadCursor(NULL, IDC_ARROW); - wc.hbrBackground = GetStockObject(LTGRAY_BRUSH); - wc.lpszMenuName = NULL; - wc.lpszClassName = "GenericWClass"; - if (!RegisterClass(&wc)) return(FALSE); -} - - -BOOL InitInstance(hInstance, nCmdShow) -HANDLE hInstance; -int nCmdShow; -{ - HWND hWnd; - HMENU hSampleMenu; - - hInst = hInstance; - hSampleMenu = LoadMenu(hInstance, "U7300Menu"); - hWnd = CreateWindow("GenericWClass", - (LPCSTR)"PCI-7300A Rev.B DMA", - WS_OVERLAPPEDWINDOW, - CW_USEDEFAULT, - CW_USEDEFAULT, - 520, - 400, - NULL, - hSampleMenu, - hInstance, - NULL); - if (!hWnd) return(FALSE); - ShowWindow(hWnd, nCmdShow); - UpdateWindow(hWnd); - return(TRUE); -} - -BOOL PASCAL setup(HWND hWnd, unsigned message, WPARAM wParam, LPARAM lParam) -{ - int i; - char n[16]; - char s[50]; - switch (message) { - case WM_INITDIALOG: - for (i=0;i<16;i++) { - wsprintf(n, "%d", i); - _strupr(n); - SendMessage(GetDlgItem(hWnd,IDC_COMBO1), CB_ADDSTRING, NULL, (LONG)(LPSTR) n); - } - SendMessage(GetDlgItem(hWnd,IDC_COMBO1) , CB_SETCURSEL, 0, 0L); - - break; - case WM_COMMAND: - switch(LOWORD(wParam)) { - - case IDC_COMBO1: - if (HIWORD(wParam) == CBN_CLOSEUP) { - i = (int)SendMessage(GetDlgItem(hWnd,IDC_COMBO1), CB_GETCURSEL, 0, 0L); - SendMessage(GetDlgItem(hWnd,IDC_COMBO1), CB_GETLBTEXT, i, (LPARAM)((LPCSTR)n)); - card_number = i; - } - return(TRUE); - case IDOK: - if ((card=Register_Card(PCI_7300A_RevB, card_number)) < 0) { - wsprintf(s, "Register_Card Error = %d\n", card); - MessageBox(hWnd, s, "Error", MB_OK); - } - EndDialog(hWnd, TRUE); - InvalidateRect(hWnd, NULL, FALSE); - return (TRUE); - case IDCANCEL: - EndDialog(hWnd, TRUE); - return (TRUE); - } - break; - } - return (FALSE); -} - -long PASCAL MainWndProc(hWnd, message, wParam, lParam) -HWND hWnd; -UINT message; -WPARAM wParam; -LPARAM lParam; -{ - HDC hDC; - PAINTSTRUCT ps; - int i; - char n[16]; - static int pos=0; - BOOLEAN stopped; - U32 access_cnt; - I16 err; - char s[100]; - - switch(message) { - case WM_CREATE: - DialogBox(hInst,IDD_DIALOG1, hWnd, setup); - if(card<0) { - SendMessage(hWnd, WM_CLOSE, 0, 0L); - break; - } - err=DI_7300B_Config(card, 16, TRIG_CLK_10MHZ, P7300_WAIT_NO, P7300_TERM_ON, 0, 0, 1); - if (err !=0) { - wsprintf(s, "DI_7300B_Config Error = %d, card=%d\n", err, card); - MessageBox(hWnd, s, "Error", MB_OK); - SendMessage(hWnd, WM_CLOSE, 0, 0L); - break; - } - err=DO_7300B_Config (card, 16, TRIG_INT_PACER, P7300_WAIT_NO, P7300_TERM_ON, 0, 0x40004000); - if (err !=0) { - wsprintf(s, "DO_7300B_Config Error = %d, card=%d\n", err, card); - MessageBox(hWnd, s, "Error", MB_OK); - SendMessage(hWnd, WM_CLOSE, 0, 0L); - break; - } - for (i=0; i<10000; i++) - out_buf[i] = (U16)(sin((double)i/5000*PI)*0x7fff)+0x8000; - for (i=0; i MAX_SIZE) { - data_size = MAX_SIZE; //at most 1000K samples DMA - MessageBox(hWnd, "This sample supports at most 1000K words DMA transfer\nOnly perform 100K words DMA transfer.", "Warning", MB_OK); - } - err = DI_ContReadPort (card, 0, in_buf, data_size, 1, ASYNCH_OP); - if (err < 0) { - wsprintf(s, "DI_ContReadPort Error = %d", err); - MessageBox(hWnd, s, "Error", MB_OK); - SendMessage(hWnd, WM_CLOSE, 0, 0L); - break; - } - do { - DI_AsyncCheck (card, &stopped, &access_cnt); - } while (!stopped); - - DI_AsyncClear (card, &access_cnt); - EnableWindow(hStart, FALSE); - //Draw the input data in panel - oldinput=-1; - hDC = GetDC(hWnd); - SelectObject(hDC, hBlackBrush); - Rectangle(hDC,output_pos[15].x+40,io_pos[0].y-3,output_pos[15].x+456,io_pos[0].y+175); - SelectObject(hDC, hRedPen); - for (i=0; i=0) DO_PGStop (card); - if (card >= 0) Release_Card(card); - DeleteObject(hBlackBrush); - DeleteObject(hRedPen); - PostQuitMessage(0); - break; - default: - return(DefWindowProc(hWnd, message, wParam, lParam)); - } - return(NULL); -} - -BOOL PASCAL ShowDMA(hDlg, message, wParam, lParam) -HWND hDlg; -UINT message; -WPARAM wParam; -LPARAM lParam; -{ - int nTabs[2] = {32, 92}; - long i; - char cBuf[64]; - char string[10]=" "; - char data_str[3]=" "; - U16 *pp; - switch (message) { - case WM_INITDIALOG: - hListBox = CreateWindow("LISTBOX", "Index Data (Hex)", - WS_CHILD | WS_VISIBLE | LBS_HASSTRINGS | LBS_STANDARD | LBS_USETABSTOPS |WS_CAPTION, - 50, 40, 240, 180, hDlg, 100, hInst, NULL); - SendMessage(hListBox, LB_RESETCONTENT, 0, 0L); - SendMessage(hListBox, LB_SETTABSTOPS, 2, (DWORD)(LPINT) nTabs); - SetDlgItemText(hDlg, DMA_DESCP, "This ListBox can show at most 4000 data"); - itoa( data_size, string, 10); - SetDlgItemText(hDlg, DMA_SPACE, string); - - pp = in_buf; - if (data_size > 10000) data_size = 10000; - for(i=0;i -# Microsoft Developer Studio Generated Build File, Format Version 5.00 -# ** DO NOT EDIT ** - -# TARGTYPE "Win32 (x86) Application" 0x0101 - -CFG=7300Wav - Win32 Release -!MESSAGE This is not a valid makefile. To build this project using NMAKE, -!MESSAGE use the Export Makefile command and run -!MESSAGE -!MESSAGE NMAKE /f "7300bWav.mak". -!MESSAGE -!MESSAGE You can specify a configuration when running NMAKE -!MESSAGE by defining the macro CFG on the command line. For example: -!MESSAGE -!MESSAGE NMAKE /f "7300bWav.mak" CFG="7300Wav - Win32 Release" -!MESSAGE -!MESSAGE Possible choices for configuration are: -!MESSAGE -!MESSAGE "7300Wav - Win32 Release" (based on "Win32 (x86) Application") -!MESSAGE "7300Wav - Win32 Debug" (based on "Win32 (x86) Application") -!MESSAGE - -# Begin Project -# PROP Scc_ProjName "" -# PROP Scc_LocalPath "" -CPP=cl.exe -MTL=midl.exe -RSC=rc.exe - -!IF "$(CFG)" == "7300Wav - Win32 Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir ".\Release" -# PROP BASE Intermediate_Dir ".\Release" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "" -# PROP Intermediate_Dir ".\Release" -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /YX /c -# ADD CPP /nologo /W3 /GX /O2 /I "..\..\..\include" /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /FD /c -# SUBTRACT CPP /YX -# ADD BASE MTL /nologo /D "NDEBUG" /win32 -# ADD MTL /nologo /D "NDEBUG" /mktyplib203 /win32 -# ADD BASE RSC /l 0x404 /d "NDEBUG" -# ADD RSC /l 0x404 /d "NDEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:windows /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ..\..\..\lib\Pci-dask.lib /nologo /subsystem:windows /machine:I386 - -!ELSEIF "$(CFG)" == "7300Wav - Win32 Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir ".\Debug" -# PROP BASE Intermediate_Dir ".\Debug" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "" -# PROP Intermediate_Dir ".\Debug" -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /Gm /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /YX /c -# ADD CPP /nologo /W3 /Gm /GX /Zi /Od /I "..\..\..\include" /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /FD /c -# SUBTRACT CPP /YX -# ADD BASE MTL /nologo /D "_DEBUG" /win32 -# ADD MTL /nologo /D "_DEBUG" /mktyplib203 /win32 -# ADD BASE RSC /l 0x404 /d "_DEBUG" -# ADD RSC /l 0x404 /d "_DEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:windows /debug /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ..\..\..\lib\Pci-dask.lib /nologo /subsystem:windows /debug /machine:I386 - -!ENDIF - -# Begin Target - -# Name "7300Wav - Win32 Release" -# Name "7300Wav - Win32 Debug" -# Begin Group "Source Files" - -# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;hpj;bat;for;f90" -# Begin Source File - -SOURCE=.\7300bwav.c -# End Source File -# Begin Source File - -SOURCE=.\7300bWav.rc -# End Source File -# End Group -# Begin Group "Header Files" - -# PROP Default_Filter "h;hpp;hxx;hm;inl;fi;fd" -# End Group -# Begin Group "Resource Files" - -# PROP Default_Filter "ico;cur;bmp;dlg;rc2;rct;bin;cnt;rtf;gif;jpg;jpeg;jpe" -# End Group -# End Target -# End Project diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7300b/SDK7300bDmaCallBack/7300bWav.dsw b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7300b/SDK7300bDmaCallBack/7300bWav.dsw deleted file mode 100644 index 6b56449..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7300b/SDK7300bDmaCallBack/7300bWav.dsw +++ /dev/null @@ -1,29 +0,0 @@ -Microsoft Developer Studio Workspace File, Format Version 5.00 -# WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE! - -############################################################################### - -Project: "7300Wav"=.\7300bWav.dsp - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ -}}} - -############################################################################### - -Global: - -Package=<5> -{{{ -}}} - -Package=<3> -{{{ -}}} - -############################################################################### - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7300b/SDK7300bDmaCallBack/7300bWav.exe b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7300b/SDK7300bDmaCallBack/7300bWav.exe deleted file mode 100644 index 36137f1..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7300b/SDK7300bDmaCallBack/7300bWav.exe and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7300b/SDK7300bDmaCallBack/7300bWav.rc b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7300b/SDK7300bDmaCallBack/7300bWav.rc deleted file mode 100644 index b7f7b15..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7300b/SDK7300bDmaCallBack/7300bWav.rc +++ /dev/null @@ -1,126 +0,0 @@ -//Microsoft Developer Studio generated resource script. -// -#include "resource.h" - -#define APSTUDIO_READONLY_SYMBOLS -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 2 resource. -// -#define APSTUDIO_HIDDEN_SYMBOLS -#include "windows.h" -#undef APSTUDIO_HIDDEN_SYMBOLS - -///////////////////////////////////////////////////////////////////////////// -#undef APSTUDIO_READONLY_SYMBOLS - -///////////////////////////////////////////////////////////////////////////// -// English (U.S.) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -#ifdef _WIN32 -LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US -#pragma code_page(1252) -#endif //_WIN32 - -///////////////////////////////////////////////////////////////////////////// -// -// Menu -// - -U7300MENU MENU DISCARDABLE -BEGIN - MENUITEM "E&xit!", IDM_EXIT -END - - -#ifdef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// TEXTINCLUDE -// - -1 TEXTINCLUDE DISCARDABLE -BEGIN - "resource.h\0" -END - -2 TEXTINCLUDE DISCARDABLE -BEGIN - "#define APSTUDIO_HIDDEN_SYMBOLS\r\n" - "#include ""windows.h""\r\n" - "#undef APSTUDIO_HIDDEN_SYMBOLS\r\n" - "\0" -END - -3 TEXTINCLUDE DISCARDABLE -BEGIN - "\r\n" - "\0" -END - -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog -// - -DMABOX DIALOG DISCARDABLE 18, 10, 171, 169 -STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "Digital Input Data Value" -FONT 8, "System" -BEGIN - PUSHBUTTON "STOP",ID_STOP,82,147,24,14 - LTEXT "XFER COUNT :",-1,47,118,49,8 - LTEXT "Text",DMA_SPACE,103,118,41,8 - LTEXT "Text",DMA_DESCP,16,6,158,8 -END - -IDD_DIALOG1 DIALOG DISCARDABLE 110, 10, 106, 61 -STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "Card Number" -FONT 10, "System" -BEGIN - DEFPUSHBUTTON "OK",IDOK,10,40,37,14 - PUSHBUTTON "Cancel",IDCANCEL,61,40,38,14 - LTEXT "Card Number",IDC_STATIC,3,13,47,13 - COMBOBOX IDC_COMBO1,51,13,48,84,CBS_DROPDOWN | WS_VSCROLL | - WS_TABSTOP -END - - -///////////////////////////////////////////////////////////////////////////// -// -// DESIGNINFO -// - -#ifdef APSTUDIO_INVOKED -GUIDELINES DESIGNINFO DISCARDABLE -BEGIN - IDD_DIALOG1, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 99 - TOPMARGIN, 7 - BOTTOMMARGIN, 54 - END -END -#endif // APSTUDIO_INVOKED - -#endif // English (U.S.) resources -///////////////////////////////////////////////////////////////////////////// - - - -#ifndef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 3 resource. -// - - -///////////////////////////////////////////////////////////////////////////// -#endif // not APSTUDIO_INVOKED - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7300b/SDK7300bDmaCallBack/7300bwav.c b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7300b/SDK7300bDmaCallBack/7300bwav.c deleted file mode 100644 index 35a6172..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7300b/SDK7300bDmaCallBack/7300bwav.c +++ /dev/null @@ -1,404 +0,0 @@ -#include -#include -#include -#include -#include -#include "resource.h" -#include "DASK.h" - -#define IDM_EXIT 110 -#define IDC_START 208 -#define IDC_EDIT1 214 -#define IDC_SHOW 213 - -#define PI 3.14159 -#define MAX_SIZE 1024000 //in words - -int PASCAL WinMain(HANDLE, HANDLE, LPSTR, int); -long PASCAL MainWndProc(HWND, UINT, WPARAM, LPARAM); -BOOL PASCAL ShowDMA(HWND, UINT, WPARAM, LPARAM); - -HANDLE hInst; -HWND hListBox; -HWND hEdit1, hStart; -I16 card=-1, card_number = 0; -U16 in_buf[MAX_SIZE], out_buf[MAX_SIZE]; -int oldinput=0,adinput; -U32 data_size=100000; -U32 access_cnt, Memsize; -HWND hMainWnd; - -HBRUSH hBlackBrush; -HPEN hRedPen; - -POINT input_pos[16]= {{470, 280}, {440, 280}, - {410, 280}, {380, 280}, - {350, 280}, {320, 280}, - { 290, 280}, {260, 280}, - {230, 280}, {200, 280}, - {170, 280}, {140, 280}, - {110, 280}, {80, 280}, - { 50, 280}, { 20, 280}, - }; -POINT output_pos[16] ={ - {470, 340}, {440, 340}, - {410, 340}, {380, 340}, - {350, 340}, {320, 340}, - { 290, 340}, {260, 340}, - {230, 340}, {200, 340}, - {170, 340}, {140, 340}, - {110, 340}, {80, 340}, - { 50, 340}, { 20, 340}, - }; - -POINT io_pos[16] ={ - {395, 90}, {370, 90}, - {345, 90}, {320, 90}, - {295, 90}, {270, 90}, - { 245, 90}, {220, 90}, - {195, 90}, {170, 90}, - {145, 90}, {120, 90}, - {95, 90}, {70, 90}, - { 45, 90}, { 20, 90}, - }; - -BOOL InitApplication(HANDLE); -BOOL InitInstance(HANDLE, int); - -void DI_CallBack(); -void DO_CallBack(); - -int PASCAL WinMain(hInstance, hPrevInstance, lpCmdLine, nCmdShow) -HANDLE hInstance, hPrevInstance; -LPSTR lpCmdLine; -int nCmdShow; -{ - MSG msg; - - if (!hPrevInstance) - if (!InitApplication(hInstance)) return(FALSE); - if (!InitInstance(hInstance, nCmdShow)) return(FALSE); - while (GetMessage(&msg, NULL, NULL, NULL)) { - TranslateMessage(&msg); - DispatchMessage(&msg); - } - return(msg.wParam); -} - -BOOL InitApplication(hInstance) -HANDLE hInstance; -{ - WNDCLASS wc; - - /* Main Window Class */ - wc.style = NULL; - wc.lpfnWndProc = (WNDPROC)MainWndProc; - wc.cbClsExtra = 0; - wc.cbWndExtra = 0; - wc.hInstance = hInstance; - wc.hIcon = LoadIcon(hInstance, "MyIcon"); - wc.hCursor = LoadCursor(NULL, IDC_ARROW); - wc.hbrBackground = GetStockObject(LTGRAY_BRUSH); - wc.lpszMenuName = NULL; - wc.lpszClassName = "GenericWClass"; - if (!RegisterClass(&wc)) return(FALSE); -} - - -BOOL InitInstance(hInstance, nCmdShow) -HANDLE hInstance; -int nCmdShow; -{ - HWND hWnd; - HMENU hSampleMenu; - - hInst = hInstance; - hSampleMenu = LoadMenu(hInstance, "U7300Menu"); - hWnd = CreateWindow("GenericWClass", - (LPCSTR)"PCI-7300A Rev.B DMA", - WS_OVERLAPPEDWINDOW, - CW_USEDEFAULT, - CW_USEDEFAULT, - 520, - 400, - NULL, - hSampleMenu, - hInstance, - NULL); - if (!hWnd) return(FALSE); - ShowWindow(hWnd, nCmdShow); - UpdateWindow(hWnd); - return(TRUE); -} - -BOOL PASCAL setup(HWND hWnd, unsigned message, WPARAM wParam, LPARAM lParam) -{ - int i; - char n[16]; - char s[50]; - switch (message) { - case WM_INITDIALOG: - for (i=0;i<16;i++) { - wsprintf(n, "%d", i); - _strupr(n); - SendMessage(GetDlgItem(hWnd,IDC_COMBO1), CB_ADDSTRING, NULL, (LONG)(LPSTR) n); - } - SendMessage(GetDlgItem(hWnd,IDC_COMBO1) , CB_SETCURSEL, 0, 0L); - - break; - case WM_COMMAND: - switch(LOWORD(wParam)) { - - case IDC_COMBO1: - if (HIWORD(wParam) == CBN_CLOSEUP) { - i = (int)SendMessage(GetDlgItem(hWnd,IDC_COMBO1), CB_GETCURSEL, 0, 0L); - SendMessage(GetDlgItem(hWnd,IDC_COMBO1), CB_GETLBTEXT, i, (LPARAM)((LPCSTR)n)); - card_number = i; - } - return(TRUE); - case IDOK: - if ((card=Register_Card(PCI_7300A_RevB, card_number)) < 0) { - wsprintf(s, "Register_Card Error = %d\n", card); - MessageBox(hWnd, s, "Error", MB_OK); - } - EndDialog(hWnd, TRUE); - InvalidateRect(hWnd, NULL, FALSE); - return (TRUE); - case IDCANCEL: - EndDialog(hWnd, TRUE); - return (TRUE); - } - break; - } - return (FALSE); -} - -long PASCAL MainWndProc(hWnd, message, wParam, lParam) -HWND hWnd; -UINT message; -WPARAM wParam; -LPARAM lParam; -{ - HDC hDC; - PAINTSTRUCT ps; - int i; - char n[16]; - static int pos=0; - I16 err; - char s[100]; - - switch(message) { - case WM_CREATE: - DialogBox(hInst,IDD_DIALOG1, hWnd, setup); - if(card<0) { - SendMessage(hWnd, WM_CLOSE, 0, 0L); - break; - } - err=DI_7300B_Config(card, 16, TRIG_CLK_10MHZ, P7300_WAIT_NO, P7300_TERM_ON, 0, 1, 1); - if (err !=0) { - wsprintf(s, "DI_7300B_Config Error = %d, card=%d\n", err, card); - MessageBox(hWnd, s, "Error", MB_OK); - SendMessage(hWnd, WM_CLOSE, 0, 0L); - break; - } - err=DO_7300B_Config (card, 16, TRIG_INT_PACER, P7300_WAIT_NO, P7300_TERM_ON, 0, 0x40004000); - if (err !=0) { - wsprintf(s, "DO_7300B_Config Error = %d, card=%d\n", err, card); - MessageBox(hWnd, s, "Error", MB_OK); - SendMessage(hWnd, WM_CLOSE, 0, 0L); - break; - } - for (i=0; i MAX_SIZE) { - data_size = MAX_SIZE; //at most 1000K samples DMA - MessageBox(hWnd, "This sample supports at most 1000K words DMA transfer\nOnly perform 100K words DMA transfer.", "Warning", MB_OK); - } - hMainWnd = hWnd; - DI_EventCallBack (card, 1, DIEnd, (U32) DI_CallBack ); - DO_EventCallBack (card, 1, DOEnd, (U32) DO_CallBack ); - err = DI_ContReadPort (card, 0, in_buf, data_size, 1, ASYNCH_OP); - if (err < 0) { - wsprintf(s, "DI_ContReadPort Error = %d", err); - MessageBox(hWnd, s, "Error", MB_OK); - SendMessage(hWnd, WM_CLOSE, 0, 0L); - break; - } - err = DO_ContWritePort (card, 0, out_buf, data_size, 1, 5000000, ASYNCH_OP); - if (err < 0) { - wsprintf(s, "DO_ContWritePort Error = %d", err); - MessageBox(hWnd, s, "Error", MB_OK); - SendMessage(hWnd, WM_CLOSE, 0, 0L); - break; - } - /*do { - DO_AsyncCheck (card, &stopped, &access_cnt); - } while (!stopped); - DO_AsyncClear (card, &access_cnt); - do { - DI_AsyncCheck (card, &stopped, &access_cnt); - } while (!stopped); - DI_AsyncClear (card, &access_cnt); - EnableWindow(hStart, FALSE); - //Draw the input data in panel - oldinput=-1; - hDC = GetDC(hWnd); - SelectObject(hDC, hBlackBrush); - Rectangle(hDC,output_pos[15].x+40,io_pos[0].y-3,output_pos[15].x+456,io_pos[0].y+175); - SelectObject(hDC, hRedPen); - for (i=0; i= 0) Release_Card(card); - DeleteObject(hBlackBrush); - DeleteObject(hRedPen); - PostQuitMessage(0); - break; - default: - return(DefWindowProc(hWnd, message, wParam, lParam)); - } - return(NULL); -} - -BOOL PASCAL ShowDMA(hDlg, message, wParam, lParam) -HWND hDlg; -UINT message; -WPARAM wParam; -LPARAM lParam; -{ - int nTabs[2] = {32, 92}; - long i; - char cBuf[64]; - char string[10]=" "; - char data_str[3]=" "; - U16 *pp; - switch (message) { - case WM_INITDIALOG: - hListBox = CreateWindow("LISTBOX", "Index Data (Hex)", - WS_CHILD | WS_VISIBLE | LBS_HASSTRINGS | LBS_STANDARD | LBS_USETABSTOPS |WS_CAPTION, - 50, 40, 240, 180, hDlg, 100, hInst, NULL); - SendMessage(hListBox, LB_RESETCONTENT, 0, 0L); - SendMessage(hListBox, LB_SETTABSTOPS, 2, (DWORD)(LPINT) nTabs); - SetDlgItemText(hDlg, DMA_DESCP, "This ListBox can show at most 4000 data"); - itoa( data_size, string, 10); - SetDlgItemText(hDlg, DMA_SPACE, string); - - pp = in_buf; - if (data_size > 8000) data_size = 8000; - for(i=0;i -#include -#include -#include -#include -#include "resource.h" -#include "DASK.h" - -#define IDM_EXIT 110 -#define IDC_START 208 -#define IDC_EDIT1 214 -#define IDC_SHOW 213 - -#define PI 3.14159 -#define MAX_SIZE 1024000 //in words - -int PASCAL WinMain(HANDLE, HANDLE, LPSTR, int); -long PASCAL MainWndProc(HWND, UINT, WPARAM, LPARAM); -BOOL PASCAL ShowDMA(HWND, UINT, WPARAM, LPARAM); - -HANDLE hInst; -HWND hListBox; -HWND hEdit1, hStart; -I16 card=-1, card_number = 0; -U16 in_buf[MAX_SIZE], out_buf[MAX_SIZE]; -int oldinput=0,adinput; -U32 data_size=100000; - -HBRUSH hBlackBrush; -HPEN hRedPen; - -POINT input_pos[16]= {{470, 280}, {440, 280}, - {410, 280}, {380, 280}, - {350, 280}, {320, 280}, - { 290, 280}, {260, 280}, - {230, 280}, {200, 280}, - {170, 280}, {140, 280}, - {110, 280}, {80, 280}, - { 50, 280}, { 20, 280}, - }; -POINT output_pos[16] ={ - {470, 340}, {440, 340}, - {410, 340}, {380, 340}, - {350, 340}, {320, 340}, - { 290, 340}, {260, 340}, - {230, 340}, {200, 340}, - {170, 340}, {140, 340}, - {110, 340}, {80, 340}, - { 50, 340}, { 20, 340}, - }; - -POINT io_pos[16] ={ - {395, 90}, {370, 90}, - {345, 90}, {320, 90}, - {295, 90}, {270, 90}, - { 245, 90}, {220, 90}, - {195, 90}, {170, 90}, - {145, 90}, {120, 90}, - {95, 90}, {70, 90}, - { 45, 90}, { 20, 90}, - }; - -BOOL InitApplication(HANDLE); -BOOL InitInstance(HANDLE, int); - -int PASCAL WinMain(hInstance, hPrevInstance, lpCmdLine, nCmdShow) -HANDLE hInstance, hPrevInstance; -LPSTR lpCmdLine; -int nCmdShow; -{ - MSG msg; - - if (!hPrevInstance) - if (!InitApplication(hInstance)) return(FALSE); - if (!InitInstance(hInstance, nCmdShow)) return(FALSE); - while (GetMessage(&msg, NULL, NULL, NULL)) { - TranslateMessage(&msg); - DispatchMessage(&msg); - } - return(msg.wParam); -} - -BOOL InitApplication(hInstance) -HANDLE hInstance; -{ - WNDCLASS wc; - - /* Main Window Class */ - wc.style = NULL; - wc.lpfnWndProc = (WNDPROC)MainWndProc; - wc.cbClsExtra = 0; - wc.cbWndExtra = 0; - wc.hInstance = hInstance; - wc.hIcon = LoadIcon(hInstance, "MyIcon"); - wc.hCursor = LoadCursor(NULL, IDC_ARROW); - wc.hbrBackground = GetStockObject(LTGRAY_BRUSH); - wc.lpszMenuName = NULL; - wc.lpszClassName = "GenericWClass"; - if (!RegisterClass(&wc)) return(FALSE); -} - - -BOOL InitInstance(hInstance, nCmdShow) -HANDLE hInstance; -int nCmdShow; -{ - HWND hWnd; - HMENU hSampleMenu; - - hInst = hInstance; - hSampleMenu = LoadMenu(hInstance, "U7300Menu"); - hWnd = CreateWindow("GenericWClass", - (LPCSTR)"PCI-7300A Rev.B DMA", - WS_OVERLAPPEDWINDOW, - CW_USEDEFAULT, - CW_USEDEFAULT, - 520, - 400, - NULL, - hSampleMenu, - hInstance, - NULL); - if (!hWnd) return(FALSE); - ShowWindow(hWnd, nCmdShow); - UpdateWindow(hWnd); - return(TRUE); -} - -BOOL PASCAL setup(HWND hWnd, unsigned message, WPARAM wParam, LPARAM lParam) -{ - int i; - char n[16]; - char s[50]; - switch (message) { - case WM_INITDIALOG: - for (i=0;i<16;i++) { - wsprintf(n, "%d", i); - _strupr(n); - SendMessage(GetDlgItem(hWnd,IDC_COMBO1), CB_ADDSTRING, NULL, (LONG)(LPSTR) n); - } - SendMessage(GetDlgItem(hWnd,IDC_COMBO1) , CB_SETCURSEL, 0, 0L); - - break; - case WM_COMMAND: - switch(LOWORD(wParam)) { - - case IDC_COMBO1: - if (HIWORD(wParam) == CBN_CLOSEUP) { - i = (int)SendMessage(GetDlgItem(hWnd,IDC_COMBO1), CB_GETCURSEL, 0, 0L); - SendMessage(GetDlgItem(hWnd,IDC_COMBO1), CB_GETLBTEXT, i, (LPARAM)((LPCSTR)n)); - card_number = i; - } - return(TRUE); - case IDOK: - if ((card=Register_Card(PCI_7300A_RevB, card_number)) < 0) { - wsprintf(s, "Register_Card Error = %d\n", card); - MessageBox(hWnd, s, "Error", MB_OK); - } - EndDialog(hWnd, TRUE); - InvalidateRect(hWnd, NULL, FALSE); - return (TRUE); - case IDCANCEL: - EndDialog(hWnd, TRUE); - return (TRUE); - } - break; - } - return (FALSE); -} - -long PASCAL MainWndProc(hWnd, message, wParam, lParam) -HWND hWnd; -UINT message; -WPARAM wParam; -LPARAM lParam; -{ - HDC hDC; - PAINTSTRUCT ps; - int i; - char n[16]; - static int pos=0; - BOOLEAN stopped; - U32 access_cnt, Memsize; - I16 err; - char s[100]; - - switch(message) { - case WM_CREATE: - DialogBox(hInst,IDD_DIALOG1, hWnd, setup); - if(card<0) { - SendMessage(hWnd, WM_CLOSE, 0, 0L); - break; - } - err=DI_7300B_Config(card, 16, TRIG_CLK_10MHZ, P7300_WAIT_NO, P7300_TERM_ON, 0, 1, 1); - if (err !=0) { - wsprintf(s, "DI_7300B_Config Error = %d, card=%d\n", err, card); - MessageBox(hWnd, s, "Error", MB_OK); - SendMessage(hWnd, WM_CLOSE, 0, 0L); - break; - } - err=DO_7300B_Config (card, 16, TRIG_INT_PACER, P7300_WAIT_NO, P7300_TERM_ON, 0, 0x40004000); - if (err !=0) { - wsprintf(s, "DO_7300B_Config Error = %d, card=%d\n", err, card); - MessageBox(hWnd, s, "Error", MB_OK); - SendMessage(hWnd, WM_CLOSE, 0, 0L); - break; - } - for (i=0; i MAX_SIZE) { - data_size = MAX_SIZE; //at most 1000K samples DMA - MessageBox(hWnd, "This sample supports at most 1000K words DMA transfer\nOnly perform 100K words DMA transfer.", "Warning", MB_OK); - } - err = DI_ContReadPort (card, 0, in_buf, data_size, 1, ASYNCH_OP); - if (err < 0) { - wsprintf(s, "DI_ContReadPort Error = %d", err); - MessageBox(hWnd, s, "Error", MB_OK); - SendMessage(hWnd, WM_CLOSE, 0, 0L); - break; - } - err = DO_ContWritePort (card, 0, out_buf, data_size, 1, 5000000, ASYNCH_OP); - if (err < 0) { - wsprintf(s, "DO_ContWritePort Error = %d", err); - MessageBox(hWnd, s, "Error", MB_OK); - SendMessage(hWnd, WM_CLOSE, 0, 0L); - break; - } - do { - DO_AsyncCheck (card, &stopped, &access_cnt); - } while (!stopped); - DO_AsyncClear (card, &access_cnt); - do { - DI_AsyncCheck (card, &stopped, &access_cnt); - } while (!stopped); - DI_AsyncClear (card, &access_cnt); - EnableWindow(hStart, FALSE); - //Draw the input data in panel - oldinput=-1; - hDC = GetDC(hWnd); - SelectObject(hDC, hBlackBrush); - Rectangle(hDC,output_pos[15].x+40,io_pos[0].y-3,output_pos[15].x+456,io_pos[0].y+175); - SelectObject(hDC, hRedPen); - for (i=0; i= 0) Release_Card(card); - DeleteObject(hBlackBrush); - DeleteObject(hRedPen); - PostQuitMessage(0); - break; - default: - return(DefWindowProc(hWnd, message, wParam, lParam)); - } - return(NULL); -} - -BOOL PASCAL ShowDMA(hDlg, message, wParam, lParam) -HWND hDlg; -UINT message; -WPARAM wParam; -LPARAM lParam; -{ - int nTabs[2] = {32, 92}; - long i; - char cBuf[64]; - char string[10]=" "; - char data_str[3]=" "; - U16 *pp; - switch (message) { - case WM_INITDIALOG: - hListBox = CreateWindow("LISTBOX", "Index Data (Hex)", - WS_CHILD | WS_VISIBLE | LBS_HASSTRINGS | LBS_STANDARD | LBS_USETABSTOPS |WS_CAPTION, - 50, 40, 240, 180, hDlg, 100, hInst, NULL); - SendMessage(hListBox, LB_RESETCONTENT, 0, 0L); - SendMessage(hListBox, LB_SETTABSTOPS, 2, (DWORD)(LPINT) nTabs); - SetDlgItemText(hDlg, DMA_DESCP, "This ListBox can show at most 4000 data"); - itoa( data_size, string, 10); - SetDlgItemText(hDlg, DMA_SPACE, string); - - pp = in_buf; - if (data_size > 8000) data_size = 8000; - for(i=0;i - #include - #include - #include - #include "Dask.h" - #include "resource.h" - - #define IDM_SETUP 101 - #define IDD_DIALOG1 101 - #define IDM_EXIT 110 - #define IDM_GO 300 - #define IDM_CLEAR 305 - #define IDC_COMBO1 1004 - #define IDC_EDIT1 1007 - #define IDC_EDIT2 1008 - - - HANDLE hInst; /* current instance */ - HANDLE hIntEvent[2]; - HWND hMainWnd; - long hThread = -1; - - I16 card=-1, card_number = 0; - U16 int_count = 0; - int total_count =40; - int sample_rate=20000; - char Buf[80]; - int c2=10; - - int PASCAL WinMain(HANDLE, HANDLE, LPSTR, int); - BOOL InitApplication(HANDLE); - BOOL InitInstance(HANDLE, int); - long PASCAL MainWndProc(HWND, unsigned, WPARAM, LPARAM); - BOOL PASCAL About(HWND, unsigned, WPARAM, LPARAM); - BOOL PASCAL ShowDMA(HWND, unsigned, WPARAM, LPARAM); - - void -IntThread(void* pArg) -{ - while (1) { - if (WaitForSingleObject(hIntEvent[0], INFINITE) == WAIT_OBJECT_0) { - int_count++; - InvalidateRect(hMainWnd, NULL, FALSE); - } - } - _endthread(); -} - - /********************************************************************** - - FUNCTION: WinMain(HANDLE, HANDLE, LPSTR, int) - PURPOSE: calls initialization function, processes message loop - - ***********************************************************************/ - - int PASCAL WinMain(hInstance, hPrevInstance, lpCmdLine, nCmdShow) - - HANDLE hInstance; - HANDLE hPrevInstance; - LPSTR lpCmdLine; - int nCmdShow; - - { - MSG msg; - - if(!hPrevInstance) - if(!InitApplication(hInstance)) - return(FALSE); - - if(!InitInstance(hInstance, nCmdShow)) - return(FALSE); - - while ( GetMessage(&msg, NULL, NULL, NULL)) - { - TranslateMessage(&msg); - DispatchMessage(&msg); - } - return(msg.wParam); - } - -/**************************************************************************** - - FUNCTION: InitApplication(HANDLE) - - PURPOSE: Initializes window data and registers window class - -****************************************************************************/ - -BOOL InitApplication(hInstance) -HANDLE hInstance; -{ - WNDCLASS wc; - - wc.style = NULL; - wc.lpfnWndProc = MainWndProc; - wc.cbClsExtra = 0; - wc.cbWndExtra = 0; - wc.hInstance = hInstance; - wc.hIcon = LoadIcon(NULL, IDI_APPLICATION); - wc.hCursor = LoadCursor(hInstance, IDC_ARROW); - wc.hbrBackground = GetStockObject(WHITE_BRUSH); - wc.lpszMenuName = "IntMenu"; - wc.lpszClassName = "IntClass"; - - return (RegisterClass(&wc)); -} - -/**************************************************************************** - - FUNCTION: InitInstance(HANDLE, int) - - PURPOSE: Saves instance handle and creates main window - -****************************************************************************/ - -BOOL InitInstance(hInstance, nCmdShow) -HANDLE hInstance; -int nCmdShow; -{ - HWND hWnd; - - hInst = hInstance; - hWnd = CreateWindow("IntClass", - "PCI-7300 Local Interrupt Sample", - WS_OVERLAPPEDWINDOW, - 200, - 100, - 400, - 370, - NULL, - NULL, - hInstance, - NULL); - - if (!hWnd) return (FALSE); - ShowWindow(hWnd, nCmdShow); - UpdateWindow(hWnd); - return (TRUE); -} - -BOOL PASCAL setup(HWND hWnd, unsigned message, WPARAM wParam, LPARAM lParam) -{ - int i,k=0; - char n[16]; - char s[50]; - BOOL ok; - - switch (message) { - case WM_INITDIALOG: - for (i=0;i<16;i++) { - wsprintf(n, "%d", i); - _strupr(n); - SendMessage(GetDlgItem(hWnd,IDC_COMBO1), CB_ADDSTRING, NULL, (LONG)(LPSTR) n); - } - SendMessage(GetDlgItem(hWnd,IDC_COMBO1) , CB_SETCURSEL, 0, 0L); - if(card >=0) - EnableWindow(GetDlgItem(hWnd,IDC_COMBO1), FALSE); - SendMessage(GetDlgItem(hWnd,IDC_EDIT2) , WM_SETTEXT, 0, "10000"); - SendMessage(GetDlgItem(hWnd,IDC_EDIT1) , WM_SETTEXT, 0, "40"); - - break; - case WM_COMMAND: - switch(LOWORD(wParam)) { - case IDC_COMBO1: - if (HIWORD(wParam) == CBN_CLOSEUP) { - i = (int)SendMessage(GetDlgItem(hWnd,IDC_COMBO1), CB_GETCURSEL, 0, 0L); - SendMessage(GetDlgItem(hWnd,IDC_COMBO1), CB_GETLBTEXT, i, (LPARAM)((LPCSTR)n)); - card_number = i; - } - return(TRUE); - case IDOK: - if(card < 0) { - if ((card=Register_Card(PCI_7300A_RevB, card_number))< 0) { - wsprintf(s, "Register_Card Error = %d\n", card); - MessageBox(hWnd, s, "Error", MB_OK); - EndDialog(hWnd, TRUE); - break; - } - DIO_7300SetInterrupt(card, 1, 1, hIntEvent); - } - total_count = GetDlgItemInt(hWnd,IDC_EDIT1, &ok, FALSE); - if(total_count > 32768) { - MessageBox(hWnd,"Count can be assigned at most 32768", "INT", MB_OK); - break; - } - - sample_rate = GetDlgItemInt(hWnd,IDC_EDIT2, &ok, FALSE); - if (sample_rate > 15000 ) sample_rate=15000; - c2=10000000/(sample_rate); - hMainWnd = hWnd; - EndDialog(hWnd, TRUE); - return (TRUE); - case IDCANCEL: - EndDialog(hWnd, TRUE); - return (TRUE); - } - break; - } - return (FALSE); -} - -/**************************************************************************** - - FUNCTION: MainWndProc(HWND, UINT, WPARAM, LPARAM) - - PURPOSE: Processes messages - - -****************************************************************************/ - -long PASCAL MainWndProc(hWnd, message, wParam, lParam) -HWND hWnd; -unsigned message; -WPARAM wParam; -LPARAM lParam; -{ - int i, k; - int cur_count=0; - HDC hDC, hDC1; - PAINTSTRUCT ps; - FARPROC lpProc; - char s[50]; - - switch(message) { - case WM_CREATE: - break; - case WM_PAINT: - hDC1=BeginPaint(hWnd, &ps); - wsprintf(Buf,"This program demostrates how to use local interrupt line."); - TextOut(hDC1,20,10,Buf,strlen(Buf)); - wsprintf(Buf,"The IRQ source of INT1 is AUXDI0."); - TextOut(hDC1,20,30,Buf,strlen(Buf)); - wsprintf(Buf," The IRQ source of INT2 is internal Timer2 Output"); - TextOut(hDC1,20,50,Buf,strlen(Buf)); - SetTextColor(hDC1, RGB(255,0,0)); - wsprintf(Buf,"Push 'Setup' button first ..."); - TextOut(hDC1,20,70,Buf,strlen(Buf)); - EndPaint(hWnd, &ps); - break; - case WM_COMMAND: - switch(wParam) { - case IDM_SETUP: - lpProc = MakeProcInstance(setup, hInst); - DialogBox(hInst,IDD_DIALOG1,hWnd,lpProc); - FreeProcInstance(lpProc); - if(card<0) - SendMessage(hWnd, WM_CLOSE, 0, 0L); - break; - - case IDM_GO: - // Interrupt Trigger - hDC=GetDC(hWnd); - if(hThread<0) - hThread = _beginthread(IntThread, 0, 0); - CTR_Setup (card, 2, 2, c2, BIN); - k=0; i=0;int_count=0; - while (k=0) { - DIO_7300SetInterrupt(card, 0, 0, hIntEvent); - for (i=0; i<2; i++) { - if(hIntEvent[i]) - ResetEvent(hIntEvent[i]); - } - } - PostQuitMessage(0); - break; - } - break; - - case WM_DESTROY: - if (card >= 0) Release_Card(card); - PostQuitMessage(0); - break; - - default: - return (DefWindowProc(hWnd, message, wParam, lParam)); - } - return(0L); -} - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7300b/Sdk7300DbEvt/7300int.rc b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7300b/Sdk7300DbEvt/7300int.rc deleted file mode 100644 index cc3ca51..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7300b/Sdk7300DbEvt/7300int.rc +++ /dev/null @@ -1,121 +0,0 @@ -//Microsoft Developer Studio generated resource script. -// -#include "resource.h" - -#define APSTUDIO_READONLY_SYMBOLS -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 2 resource. -// -#define APSTUDIO_HIDDEN_SYMBOLS -#include "windows.h" -#undef APSTUDIO_HIDDEN_SYMBOLS - -///////////////////////////////////////////////////////////////////////////// -#undef APSTUDIO_READONLY_SYMBOLS - -///////////////////////////////////////////////////////////////////////////// -// English (U.S.) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -#ifdef _WIN32 -LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US -#pragma code_page(1252) -#endif //_WIN32 - -#ifdef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// TEXTINCLUDE -// - -1 TEXTINCLUDE DISCARDABLE -BEGIN - "resource.h\0" -END - -2 TEXTINCLUDE DISCARDABLE -BEGIN - "#define APSTUDIO_HIDDEN_SYMBOLS\r\n" - "#include ""windows.h""\r\n" - "#undef APSTUDIO_HIDDEN_SYMBOLS\r\n" - "\0" -END - -3 TEXTINCLUDE DISCARDABLE -BEGIN - "\r\n" - "\0" -END - -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// Menu -// - -INTMENU MENU DISCARDABLE -BEGIN - MENUITEM "Setup", IDM_SETUP - MENUITEM "Interrupt Trigger", IDM_GO - MENUITEM "Exit", IDM_CLEAR -END - - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog -// - -IDD_DIALOG1 DIALOG DISCARDABLE 0, 0, 146, 110 -STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "Setup Dialog" -FONT 10, "System" -BEGIN - DEFPUSHBUTTON "OK",IDOK,10,89,50,14 - PUSHBUTTON "Cancel",IDCANCEL,76,89,50,14 - LTEXT "Total Count",IDC_STATIC,10,36,41,12 - LTEXT "Sampling Rate",IDC_STATIC,10,61,51,12 - EDITTEXT IDC_EDIT1,63,33,69,15,ES_AUTOHSCROLL - EDITTEXT IDC_EDIT2,64,58,68,15,ES_AUTOHSCROLL - LTEXT "Card Number",IDC_STATIC,10,12,45,13 - COMBOBOX IDC_COMBO1,63,12,69,84,CBS_DROPDOWN | WS_VSCROLL | - WS_TABSTOP -END - - -///////////////////////////////////////////////////////////////////////////// -// -// DESIGNINFO -// - -#ifdef APSTUDIO_INVOKED -GUIDELINES DESIGNINFO DISCARDABLE -BEGIN - IDD_DIALOG1, DIALOG - BEGIN - LEFTMARGIN, 10 - RIGHTMARGIN, 132 - TOPMARGIN, 12 - BOTTOMMARGIN, 103 - END -END -#endif // APSTUDIO_INVOKED - -#endif // English (U.S.) resources -///////////////////////////////////////////////////////////////////////////// - - - -#ifndef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 3 resource. -// - - -///////////////////////////////////////////////////////////////////////////// -#endif // not APSTUDIO_INVOKED - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7300b/Sdk7300DbEvt/Resource.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7300b/Sdk7300DbEvt/Resource.h deleted file mode 100644 index 6b0eb15..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7300b/Sdk7300DbEvt/Resource.h +++ /dev/null @@ -1,26 +0,0 @@ -//{{NO_DEPENDENCIES}} -// Microsoft Developer Studio generated include file. -// Used by 7248int.rc -// -#define IDM_SETUP 101 -#define IDD_DIALOG1 101 -#define IDM_EXIT 110 -#define IDM_GO 300 -#define ID_STOP 304 -#define IDM_CLEAR 305 -#define IDC_COMBO1 1004 -#define IDC_COMBO2 1005 -#define IDC_EDIT1 1007 -#define IDC_EDIT2 1008 -#define IDC_STATIC -1 - -// Next default values for new objects -// -#ifdef APSTUDIO_INVOKED -#ifndef APSTUDIO_READONLY_SYMBOLS -#define _APS_NEXT_RESOURCE_VALUE 102 -#define _APS_NEXT_COMMAND_VALUE 102 -#define _APS_NEXT_CONTROL_VALUE 1008 -#define _APS_NEXT_SYMED_VALUE 101 -#endif -#endif diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7300b/Sdk7300DbEvt/SDK7300Int.exe b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7300b/Sdk7300DbEvt/SDK7300Int.exe deleted file mode 100644 index 79d9c85..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7300b/Sdk7300DbEvt/SDK7300Int.exe and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7300b/Sdk7300DbEvt/SDK7300Int.mak b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7300b/Sdk7300DbEvt/SDK7300Int.mak deleted file mode 100644 index cb13b34..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7300b/Sdk7300DbEvt/SDK7300Int.mak +++ /dev/null @@ -1,219 +0,0 @@ -# Microsoft Developer Studio Generated NMAKE File, Format Version 4.00 -# ** DO NOT EDIT ** - -# TARGTYPE "Win32 (x86) Application" 0x0101 - -!IF "$(CFG)" == "" -CFG=SDK7300Int - Win32 Debug -!MESSAGE No configuration specified. Defaulting to SDK7300Int - Win32 Debug. -!ENDIF - -!IF "$(CFG)" != "SDK7300Int - Win32 Release" && "$(CFG)" !=\ - "SDK7300Int - Win32 Debug" -!MESSAGE Invalid configuration "$(CFG)" specified. -!MESSAGE You can specify a configuration when running NMAKE on this makefile -!MESSAGE by defining the macro CFG on the command line. For example: -!MESSAGE -!MESSAGE NMAKE /f "SDK7300Int.mak" CFG="SDK7300Int - Win32 Debug" -!MESSAGE -!MESSAGE Possible choices for configuration are: -!MESSAGE -!MESSAGE "SDK7300Int - Win32 Release" (based on "Win32 (x86) Application") -!MESSAGE "SDK7300Int - Win32 Debug" (based on "Win32 (x86) Application") -!MESSAGE -!ERROR An invalid configuration is specified. -!ENDIF - -!IF "$(OS)" == "Windows_NT" -NULL= -!ELSE -NULL=nul -!ENDIF -################################################################################ -# Begin Project -# PROP Target_Last_Scanned "SDK7300Int - Win32 Debug" -MTL=mktyplib.exe -RSC=rc.exe -CPP=cl.exe - -!IF "$(CFG)" == "SDK7300Int - Win32 Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "Release" -# PROP BASE Intermediate_Dir "Release" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "" -# PROP Intermediate_Dir "Release" -# PROP Target_Dir "" -OUTDIR=. -INTDIR=.\Release - -ALL : "$(OUTDIR)\SDK7300Int.exe" - -CLEAN : - -@erase ".\SDK7300Int.exe" - -@erase ".\Release\7300int.obj" - -@erase ".\Release\7300int.res" - -"$(INTDIR)" : - if not exist "$(INTDIR)/$(NULL)" mkdir "$(INTDIR)" - -# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /YX /c -# ADD CPP /nologo /MT /W3 /GX /Od /I "..\..\..\include" /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /c -# SUBTRACT CPP /YX -CPP_PROJ=/nologo /MT /W3 /GX /Od /I "..\..\..\include" /D "WIN32" /D "NDEBUG"\ - /D "_WINDOWS" /Fo"$(INTDIR)/" /c -CPP_OBJS=.\Release/ -CPP_SBRS= -# ADD BASE MTL /nologo /D "NDEBUG" /win32 -# ADD MTL /nologo /D "NDEBUG" /win32 -MTL_PROJ=/nologo /D "NDEBUG" /win32 -# ADD BASE RSC /l 0x409 /d "NDEBUG" -# ADD RSC /l 0x409 /d "NDEBUG" -RSC_PROJ=/l 0x409 /fo"$(INTDIR)/7300int.res" /d "NDEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -BSC32_FLAGS=/nologo /o"$(OUTDIR)/SDK7300Int.bsc" -BSC32_SBRS= -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:windows /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ..\..\..\lib\pci-dask.lib /nologo /subsystem:windows /machine:I386 -LINK32_FLAGS=kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib\ - advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib\ - odbccp32.lib ..\..\..\lib\pci-dask.lib /nologo /subsystem:windows\ - /incremental:no /pdb:"$(OUTDIR)/SDK7300Int.pdb" /machine:I386\ - /out:"$(OUTDIR)/SDK7300Int.exe" -LINK32_OBJS= \ - ".\Release\7300int.obj" \ - ".\Release\7300int.res" - -"$(OUTDIR)\SDK7300Int.exe" : "$(OUTDIR)" $(DEF_FILE) $(LINK32_OBJS) - $(LINK32) @<< - $(LINK32_FLAGS) $(LINK32_OBJS) -<< - -!ELSEIF "$(CFG)" == "SDK7300Int - Win32 Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "SDK7300I" -# PROP BASE Intermediate_Dir "SDK7300I" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "" -# PROP Intermediate_Dir "Debug" -# PROP Target_Dir "" -OUTDIR=. -INTDIR=.\Debug - -ALL : "$(OUTDIR)\SDK7300Int.exe" - -CLEAN : - -@erase ".\Debug\vc40.pdb" - -@erase ".\Debug\vc40.idb" - -@erase ".\SDK7300Int.exe" - -@erase ".\Debug\7300int.obj" - -@erase ".\Debug\7300int.res" - -@erase ".\SDK7300Int.ilk" - -@erase ".\SDK7300Int.pdb" - -"$(INTDIR)" : - if not exist "$(INTDIR)/$(NULL)" mkdir "$(INTDIR)" - -# ADD BASE CPP /nologo /W3 /Gm /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /YX /c -# ADD CPP /nologo /MTd /W3 /Gm /GX /Zi /Od /I "..\..\..\include" /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /c -# SUBTRACT CPP /YX -CPP_PROJ=/nologo /MTd /W3 /Gm /GX /Zi /Od /I "..\..\..\include" /D "WIN32" /D\ - "_DEBUG" /D "_WINDOWS" /Fo"$(INTDIR)/" /Fd"$(INTDIR)/" /c -CPP_OBJS=.\Debug/ -CPP_SBRS= -# ADD BASE MTL /nologo /D "_DEBUG" /win32 -# ADD MTL /nologo /D "_DEBUG" /win32 -MTL_PROJ=/nologo /D "_DEBUG" /win32 -# ADD BASE RSC /l 0x409 /d "_DEBUG" -# ADD RSC /l 0x409 /d "_DEBUG" -RSC_PROJ=/l 0x409 /fo"$(INTDIR)/7300int.res" /d "_DEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -BSC32_FLAGS=/nologo /o"$(OUTDIR)/SDK7300Int.bsc" -BSC32_SBRS= -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:windows /debug /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ..\..\..\lib\pci-dask.lib /nologo /subsystem:windows /debug /machine:I386 -LINK32_FLAGS=kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib\ - advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib\ - odbccp32.lib ..\..\..\lib\pci-dask.lib /nologo /subsystem:windows\ - /incremental:yes /pdb:"$(OUTDIR)/SDK7300Int.pdb" /debug /machine:I386\ - /out:"$(OUTDIR)/SDK7300Int.exe" -LINK32_OBJS= \ - ".\Debug\7300int.obj" \ - ".\Debug\7300int.res" - -"$(OUTDIR)\SDK7300Int.exe" : "$(OUTDIR)" $(DEF_FILE) $(LINK32_OBJS) - $(LINK32) @<< - $(LINK32_FLAGS) $(LINK32_OBJS) -<< - -!ENDIF - -.c{$(CPP_OBJS)}.obj: - $(CPP) $(CPP_PROJ) $< - -.cpp{$(CPP_OBJS)}.obj: - $(CPP) $(CPP_PROJ) $< - -.cxx{$(CPP_OBJS)}.obj: - $(CPP) $(CPP_PROJ) $< - -.c{$(CPP_SBRS)}.sbr: - $(CPP) $(CPP_PROJ) $< - -.cpp{$(CPP_SBRS)}.sbr: - $(CPP) $(CPP_PROJ) $< - -.cxx{$(CPP_SBRS)}.sbr: - $(CPP) $(CPP_PROJ) $< - -################################################################################ -# Begin Target - -# Name "SDK7300Int - Win32 Release" -# Name "SDK7300Int - Win32 Debug" - -!IF "$(CFG)" == "SDK7300Int - Win32 Release" - -!ELSEIF "$(CFG)" == "SDK7300Int - Win32 Debug" - -!ENDIF - -################################################################################ -# Begin Source File - -SOURCE=.\7300int.rc - -"$(INTDIR)\7300int.res" : $(SOURCE) "$(INTDIR)" - $(RSC) $(RSC_PROJ) $(SOURCE) - - -# End Source File -################################################################################ -# Begin Source File - -SOURCE=.\7300int.c -DEP_CPP_7300I=\ - ".\..\..\..\include\Dask.h"\ - - -"$(INTDIR)\7300int.obj" : $(SOURCE) $(DEP_CPP_7300I) "$(INTDIR)" - - -# End Source File -# End Target -# End Project -################################################################################ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7300b/Sdk7300DbEvt/SDK7300Int.mdp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7300b/Sdk7300DbEvt/SDK7300Int.mdp deleted file mode 100644 index 49db99a..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7300b/Sdk7300DbEvt/SDK7300Int.mdp and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7300b/Sdk7300Int/7300int.c b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7300b/Sdk7300Int/7300int.c deleted file mode 100644 index c18f8a5..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7300b/Sdk7300Int/7300int.c +++ /dev/null @@ -1,283 +0,0 @@ -/*;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; -;; Copyright (c) 1995-2001, ADLink Technology Inc. All rights reserved. ;; -;; ;; -;; File Name : 7300INT.C ;; -;; Date : 04/07/2001 ;; -;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;*/ - - #include - #include - #include - #include - #include "Dask.h" - #include "resource.h" - - #define IDM_SETUP 101 - #define IDD_DIALOG1 101 - #define IDM_EXIT 110 - #define IDM_GO 300 - #define IDM_CLEAR 305 - #define IDC_COMBO1 1004 - #define IDC_EDIT1 1007 - #define IDC_EDIT2 1008 - - HANDLE hInst; /* current instance */ - HANDLE hIntEvent[2]; - - I16 card=-1, card_number = 0; - - int total_count =40; - int sample_rate=20000; - char Buf[80]; - int c2=20; - - int PASCAL WinMain(HANDLE, HANDLE, LPSTR, int); - BOOL InitApplication(HANDLE); - BOOL InitInstance(HANDLE, int); - long PASCAL MainWndProc(HWND, unsigned, WPARAM, LPARAM); - BOOL PASCAL About(HWND, unsigned, WPARAM, LPARAM); - BOOL PASCAL ShowDMA(HWND, unsigned, WPARAM, LPARAM); - - /********************************************************************** - - FUNCTION: WinMain(HANDLE, HANDLE, LPSTR, int) - PURPOSE: calls initialization function, processes message loop - - ***********************************************************************/ - - int PASCAL WinMain(hInstance, hPrevInstance, lpCmdLine, nCmdShow) - - HANDLE hInstance; - HANDLE hPrevInstance; - LPSTR lpCmdLine; - int nCmdShow; - - { - MSG msg; - - if(!hPrevInstance) - if(!InitApplication(hInstance)) - return(FALSE); - - if(!InitInstance(hInstance, nCmdShow)) - return(FALSE); - - while ( GetMessage(&msg, NULL, NULL, NULL)) - { - TranslateMessage(&msg); - DispatchMessage(&msg); - } - return(msg.wParam); - } - -/**************************************************************************** - - FUNCTION: InitApplication(HANDLE) - - PURPOSE: Initializes window data and registers window class - -****************************************************************************/ - -BOOL InitApplication(hInstance) -HANDLE hInstance; -{ - WNDCLASS wc; - - wc.style = NULL; - wc.lpfnWndProc = MainWndProc; - wc.cbClsExtra = 0; - wc.cbWndExtra = 0; - wc.hInstance = hInstance; - wc.hIcon = LoadIcon(NULL, IDI_APPLICATION); - wc.hCursor = LoadCursor(hInstance, IDC_ARROW); - wc.hbrBackground = GetStockObject(WHITE_BRUSH); - wc.lpszMenuName = "IntMenu"; - wc.lpszClassName = "IntClass"; - - return (RegisterClass(&wc)); -} - -/**************************************************************************** - - FUNCTION: InitInstance(HANDLE, int) - - PURPOSE: Saves instance handle and creates main window - -****************************************************************************/ - -BOOL InitInstance(hInstance, nCmdShow) -HANDLE hInstance; -int nCmdShow; -{ - HWND hWnd; - - hInst = hInstance; - hWnd = CreateWindow("IntClass", - "PCI-7300 Timer2 Interrupt Samples", - WS_OVERLAPPEDWINDOW, - 200, - 100, - 375, - 370, - NULL, - NULL, - hInstance, - NULL); - - if (!hWnd) return (FALSE); - ShowWindow(hWnd, nCmdShow); - UpdateWindow(hWnd); - return (TRUE); -} - - -BOOL PASCAL setup(HWND hWnd, unsigned message, WPARAM wParam, LPARAM lParam) -{ - int i,k=0; - char n[16]; - char s[50]; - BOOL ok; - - switch (message) { - case WM_INITDIALOG: - for (i=0;i<16;i++) { - wsprintf(n, "%d", i); - _strupr(n); - SendMessage(GetDlgItem(hWnd,IDC_COMBO1), CB_ADDSTRING, NULL, (LONG)(LPSTR) n); - } - SendMessage(GetDlgItem(hWnd,IDC_COMBO1) , CB_SETCURSEL, 0, 0L); - if(card >=0) - EnableWindow(GetDlgItem(hWnd,IDC_COMBO1), FALSE); - SendMessage(GetDlgItem(hWnd,IDC_EDIT2) , WM_SETTEXT, 0, "5000"); - SendMessage(GetDlgItem(hWnd,IDC_EDIT1) , WM_SETTEXT, 0, "40"); - - break; - case WM_COMMAND: - switch(LOWORD(wParam)) { - case IDC_COMBO1: - if (HIWORD(wParam) == CBN_CLOSEUP) { - i = (int)SendMessage(GetDlgItem(hWnd,IDC_COMBO1), CB_GETCURSEL, 0, 0L); - SendMessage(GetDlgItem(hWnd,IDC_COMBO1), CB_GETLBTEXT, i, (LPARAM)((LPCSTR)n)); - card_number = i; - } - return(TRUE); - case IDOK: - if (card < 0) { - if ((card=Register_Card(PCI_7300A_RevB, card_number))< 0) { - wsprintf(s, "Register_Card Error = %d\n", card); - MessageBox(hWnd, s, "Error", MB_OK); - } - } - total_count = GetDlgItemInt(hWnd,IDC_EDIT1, &ok, FALSE); - if (total_count > 32768) { - MessageBox(hWnd,"Count can be assigned at most 32768", "INT", MB_OK); - break; - } - sample_rate = GetDlgItemInt(hWnd,IDC_EDIT2, &ok, FALSE); - if (sample_rate > 15000 ) sample_rate=15000; - c2=10000000/(sample_rate); - - EndDialog(hWnd, TRUE); - return (TRUE); - case IDCANCEL: - EndDialog(hWnd, TRUE); - return (TRUE); - } - break; - } - return (FALSE); -} - -/**************************************************************************** - - FUNCTION: MainWndProc(HWND, UINT, WPARAM, LPARAM) - - PURPOSE: Processes messages - - -****************************************************************************/ - -long PASCAL MainWndProc(hWnd, message, wParam, lParam) -HWND hWnd; -unsigned message; -WPARAM wParam; -LPARAM lParam; -{ - int i, k; - int cur_count=0; - HDC hDC, hDC1; - PAINTSTRUCT ps; - FARPROC lpProc; - char s[50]; - - switch(message) { - - case WM_CREATE: - break; - case WM_PAINT: - hDC1=BeginPaint(hWnd, &ps); - wsprintf(Buf,"The interrupt signals are generated"); - TextOut(hDC1,20,10,Buf,strlen(Buf)); - wsprintf(Buf," by internal Timer2 Output."); - TextOut(hDC1,20,30,Buf,strlen(Buf)); - SetTextColor(hDC1, RGB(255,0,0)); - wsprintf(Buf,"Push 'Setup' button first ..."); - TextOut(hDC1,20,50,Buf,strlen(Buf)); - EndPaint(hWnd, &ps); - break; - case WM_COMMAND: - switch(wParam) { - case IDM_SETUP: - lpProc = MakeProcInstance(setup, hInst); - DialogBox(hInst,IDD_DIALOG1,hWnd,lpProc); - FreeProcInstance(lpProc); - if(card <0) - SendMessage(hWnd, WM_CLOSE, 0, 0L); - break; - case IDM_GO: - // Interrupt Trigger - hDC=GetDC(hWnd); - DIO_7300SetInterrupt (card, 0, 1, hIntEvent); - CTR_Setup (card, 2, 2, c2, BIN); - k=0; i=0; - while (k= 0) Release_Card(card); - PostQuitMessage(0); - break; - - default: - return (DefWindowProc(hWnd, message, wParam, lParam)); - } - return(0L); -} - - \ No newline at end of file diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7300b/Sdk7300Int/7300int.exe b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7300b/Sdk7300Int/7300int.exe deleted file mode 100644 index bde17d5..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7300b/Sdk7300Int/7300int.exe and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7300b/Sdk7300Int/7300int.mak b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7300b/Sdk7300Int/7300int.mak deleted file mode 100644 index 3fcbfaa..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7300b/Sdk7300Int/7300int.mak +++ /dev/null @@ -1,219 +0,0 @@ -# Microsoft Developer Studio Generated NMAKE File, Format Version 4.00 -# ** DO NOT EDIT ** - -# TARGTYPE "Win32 (x86) Application" 0x0101 - -!IF "$(CFG)" == "" -CFG=7300int - Win32 Debug -!MESSAGE No configuration specified. Defaulting to 7300int - Win32 Debug. -!ENDIF - -!IF "$(CFG)" != "7300int - Win32 Release" && "$(CFG)" !=\ - "7300int - Win32 Debug" -!MESSAGE Invalid configuration "$(CFG)" specified. -!MESSAGE You can specify a configuration when running NMAKE on this makefile -!MESSAGE by defining the macro CFG on the command line. For example: -!MESSAGE -!MESSAGE NMAKE /f "7300INT.MAK" CFG="7300int - Win32 Debug" -!MESSAGE -!MESSAGE Possible choices for configuration are: -!MESSAGE -!MESSAGE "7300int - Win32 Release" (based on "Win32 (x86) Application") -!MESSAGE "7300int - Win32 Debug" (based on "Win32 (x86) Application") -!MESSAGE -!ERROR An invalid configuration is specified. -!ENDIF - -!IF "$(OS)" == "Windows_NT" -NULL= -!ELSE -NULL=nul -!ENDIF -################################################################################ -# Begin Project -# PROP Target_Last_Scanned "7300int - Win32 Debug" -MTL=mktyplib.exe -CPP=cl.exe -RSC=rc.exe - -!IF "$(CFG)" == "7300int - Win32 Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "7300int_" -# PROP BASE Intermediate_Dir "7300int_" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "" -# PROP Intermediate_Dir "Release" -# PROP Target_Dir "" -OUTDIR=. -INTDIR=.\Release - -ALL : "$(OUTDIR)\7300INT.exe" - -CLEAN : - -@erase ".\7300INT.exe" - -@erase ".\Release\7300int.obj" - -@erase ".\Release\7300int.res" - -"$(INTDIR)" : - if not exist "$(INTDIR)/$(NULL)" mkdir "$(INTDIR)" - -# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /YX /c -# ADD CPP /nologo /MT /W3 /GX /Od /I "..\..\..\include" /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /c -# SUBTRACT CPP /YX -CPP_PROJ=/nologo /MT /W3 /GX /Od /I "..\..\..\include" /D "WIN32" /D "NDEBUG"\ - /D "_WINDOWS" /Fo"$(INTDIR)/" /c -CPP_OBJS=.\Release/ -CPP_SBRS= -# ADD BASE MTL /nologo /D "NDEBUG" /win32 -# ADD MTL /nologo /D "NDEBUG" /win32 -MTL_PROJ=/nologo /D "NDEBUG" /win32 -# ADD BASE RSC /l 0x409 /d "NDEBUG" -# ADD RSC /l 0x409 /d "NDEBUG" -RSC_PROJ=/l 0x409 /fo"$(INTDIR)/7300int.res" /d "NDEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -BSC32_FLAGS=/nologo /o"$(OUTDIR)/7300INT.bsc" -BSC32_SBRS= -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:windows /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ..\..\..\lib\pci-dask.lib /nologo /subsystem:windows /machine:I386 -LINK32_FLAGS=kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib\ - advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib\ - odbccp32.lib ..\..\..\lib\pci-dask.lib /nologo /subsystem:windows\ - /incremental:no /pdb:"$(OUTDIR)/7300INT.pdb" /machine:I386\ - /out:"$(OUTDIR)/7300INT.exe" -LINK32_OBJS= \ - "$(INTDIR)/7300int.obj" \ - "$(INTDIR)/7300int.res" - -"$(OUTDIR)\7300INT.exe" : "$(OUTDIR)" $(DEF_FILE) $(LINK32_OBJS) - $(LINK32) @<< - $(LINK32_FLAGS) $(LINK32_OBJS) -<< - -!ELSEIF "$(CFG)" == "7300int - Win32 Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "Debug" -# PROP BASE Intermediate_Dir "Debug" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "" -# PROP Intermediate_Dir "Debug" -# PROP Target_Dir "" -OUTDIR=. -INTDIR=.\Debug - -ALL : "$(OUTDIR)\7300INT.exe" - -CLEAN : - -@erase ".\Debug\vc40.pdb" - -@erase ".\Debug\vc40.idb" - -@erase ".\7300INT.exe" - -@erase ".\Debug\7300int.obj" - -@erase ".\Debug\7300int.res" - -@erase ".\7300INT.ilk" - -@erase ".\7300INT.pdb" - -"$(INTDIR)" : - if not exist "$(INTDIR)/$(NULL)" mkdir "$(INTDIR)" - -# ADD BASE CPP /nologo /W3 /Gm /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /YX /c -# ADD CPP /nologo /W3 /Gm /GX /Zi /Od /I "..\..\..\include" /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /c -# SUBTRACT CPP /YX -CPP_PROJ=/nologo /MLd /W3 /Gm /GX /Zi /Od /I "..\..\..\include" /D "WIN32" /D\ - "_DEBUG" /D "_WINDOWS" /Fo"$(INTDIR)/" /Fd"$(INTDIR)/" /c -CPP_OBJS=.\Debug/ -CPP_SBRS= -# ADD BASE MTL /nologo /D "_DEBUG" /win32 -# ADD MTL /nologo /D "_DEBUG" /win32 -MTL_PROJ=/nologo /D "_DEBUG" /win32 -# ADD BASE RSC /l 0x409 /d "_DEBUG" -# ADD RSC /l 0x409 /d "_DEBUG" -RSC_PROJ=/l 0x409 /fo"$(INTDIR)/7300int.res" /d "_DEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -BSC32_FLAGS=/nologo /o"$(OUTDIR)/7300INT.bsc" -BSC32_SBRS= -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:windows /debug /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ..\..\..\lib\pci-dask.lib /nologo /subsystem:windows /debug /machine:I386 -LINK32_FLAGS=kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib\ - advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib\ - odbccp32.lib ..\..\..\lib\pci-dask.lib /nologo /subsystem:windows\ - /incremental:yes /pdb:"$(OUTDIR)/7300INT.pdb" /debug /machine:I386\ - /out:"$(OUTDIR)/7300INT.exe" -LINK32_OBJS= \ - "$(INTDIR)/7300int.obj" \ - "$(INTDIR)/7300int.res" - -"$(OUTDIR)\7300INT.exe" : "$(OUTDIR)" $(DEF_FILE) $(LINK32_OBJS) - $(LINK32) @<< - $(LINK32_FLAGS) $(LINK32_OBJS) -<< - -!ENDIF - -.c{$(CPP_OBJS)}.obj: - $(CPP) $(CPP_PROJ) $< - -.cpp{$(CPP_OBJS)}.obj: - $(CPP) $(CPP_PROJ) $< - -.cxx{$(CPP_OBJS)}.obj: - $(CPP) $(CPP_PROJ) $< - -.c{$(CPP_SBRS)}.sbr: - $(CPP) $(CPP_PROJ) $< - -.cpp{$(CPP_SBRS)}.sbr: - $(CPP) $(CPP_PROJ) $< - -.cxx{$(CPP_SBRS)}.sbr: - $(CPP) $(CPP_PROJ) $< - -################################################################################ -# Begin Target - -# Name "7300int - Win32 Release" -# Name "7300int - Win32 Debug" - -!IF "$(CFG)" == "7300int - Win32 Release" - -!ELSEIF "$(CFG)" == "7300int - Win32 Debug" - -!ENDIF - -################################################################################ -# Begin Source File - -SOURCE=.\7300int.rc - -"$(INTDIR)\7300int.res" : $(SOURCE) "$(INTDIR)" - $(RSC) $(RSC_PROJ) $(SOURCE) - - -# End Source File -################################################################################ -# Begin Source File - -SOURCE=.\7300int.c -DEP_CPP_7300I=\ - ".\..\..\..\include\Dask.h"\ - - -"$(INTDIR)\7300int.obj" : $(SOURCE) $(DEP_CPP_7300I) "$(INTDIR)" - - -# End Source File -# End Target -# End Project -################################################################################ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7300b/Sdk7300Int/7300int.mdp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7300b/Sdk7300Int/7300int.mdp deleted file mode 100644 index 831380c..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7300b/Sdk7300Int/7300int.mdp and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7300b/Sdk7300Int/7300int.rc b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7300b/Sdk7300Int/7300int.rc deleted file mode 100644 index d89886e..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7300b/Sdk7300Int/7300int.rc +++ /dev/null @@ -1,125 +0,0 @@ -//Microsoft Developer Studio generated resource script. -// -#include "resource.h" - -#define APSTUDIO_READONLY_SYMBOLS -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 2 resource. -// -#define APSTUDIO_HIDDEN_SYMBOLS -#include "windows.h" -#undef APSTUDIO_HIDDEN_SYMBOLS - -///////////////////////////////////////////////////////////////////////////// -#undef APSTUDIO_READONLY_SYMBOLS - -///////////////////////////////////////////////////////////////////////////// -// English (U.S.) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -#ifdef _WIN32 -LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US -#pragma code_page(1252) -#endif //_WIN32 - -#ifdef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// TEXTINCLUDE -// - -1 TEXTINCLUDE DISCARDABLE -BEGIN - "resource.h\0" -END - -2 TEXTINCLUDE DISCARDABLE -BEGIN - "#define APSTUDIO_HIDDEN_SYMBOLS\r\n" - "#include ""windows.h""\r\n" - "#undef APSTUDIO_HIDDEN_SYMBOLS\r\n" - "\0" -END - -3 TEXTINCLUDE DISCARDABLE -BEGIN - "\r\n" - "\0" -END - -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// Menu -// - -INTMENU MENU DISCARDABLE -BEGIN - MENUITEM "Setup", IDM_SETUP - MENUITEM "Interrupt Trigger", IDM_GO - MENUITEM "Exit", IDM_CLEAR -END - - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog -// - -IDD_DIALOG1 DIALOG DISCARDABLE 0, 0, 138, 110 -STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "Setup Dialog" -FONT 10, "System" -BEGIN - DEFPUSHBUTTON "OK",IDOK,10,89,50,14 - PUSHBUTTON "Cancel",IDCANCEL,81,89,50,14 - LTEXT "Total Count",IDC_STATIC,10,34,52,12 - LTEXT "Sampling Rate",IDC_STATIC,10,59,51,12 - EDITTEXT IDC_EDIT1,62,33,69,15,ES_AUTOHSCROLL - EDITTEXT IDC_EDIT2,62,58,69,15,ES_AUTOHSCROLL - LTEXT "Card Number",IDC_STATIC,10,12,45,13 - COMBOBOX IDC_COMBO1,62,12,69,84,CBS_DROPDOWN | WS_VSCROLL | - WS_TABSTOP -END - - -///////////////////////////////////////////////////////////////////////////// -// -// DESIGNINFO -// - -#ifdef APSTUDIO_INVOKED -GUIDELINES DESIGNINFO DISCARDABLE -BEGIN - IDD_DIALOG1, DIALOG - BEGIN - LEFTMARGIN, 6 - RIGHTMARGIN, 131 - VERTGUIDE, 10 - VERTGUIDE, 89 - TOPMARGIN, 12 - BOTTOMMARGIN, 103 - HORZGUIDE, 65 - HORZGUIDE, 105 - END -END -#endif // APSTUDIO_INVOKED - -#endif // English (U.S.) resources -///////////////////////////////////////////////////////////////////////////// - - - -#ifndef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 3 resource. -// - - -///////////////////////////////////////////////////////////////////////////// -#endif // not APSTUDIO_INVOKED - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7300b/Sdk7300Int/Resource.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7300b/Sdk7300Int/Resource.h deleted file mode 100644 index 6b0eb15..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7300b/Sdk7300Int/Resource.h +++ /dev/null @@ -1,26 +0,0 @@ -//{{NO_DEPENDENCIES}} -// Microsoft Developer Studio generated include file. -// Used by 7248int.rc -// -#define IDM_SETUP 101 -#define IDD_DIALOG1 101 -#define IDM_EXIT 110 -#define IDM_GO 300 -#define ID_STOP 304 -#define IDM_CLEAR 305 -#define IDC_COMBO1 1004 -#define IDC_COMBO2 1005 -#define IDC_EDIT1 1007 -#define IDC_EDIT2 1008 -#define IDC_STATIC -1 - -// Next default values for new objects -// -#ifdef APSTUDIO_INVOKED -#ifndef APSTUDIO_READONLY_SYMBOLS -#define _APS_NEXT_RESOURCE_VALUE 102 -#define _APS_NEXT_COMMAND_VALUE 102 -#define _APS_NEXT_CONTROL_VALUE 1008 -#define _APS_NEXT_SYMED_VALUE 101 -#endif -#endif diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7300b/Sdk7300bMBufCallBack/7300Cwav.RC b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7300b/Sdk7300bMBufCallBack/7300Cwav.RC deleted file mode 100644 index 126f152..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7300b/Sdk7300bMBufCallBack/7300Cwav.RC +++ /dev/null @@ -1,126 +0,0 @@ -//Microsoft Developer Studio generated resource script. -// -#include "resource.h" - -#define APSTUDIO_READONLY_SYMBOLS -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 2 resource. -// -#define APSTUDIO_HIDDEN_SYMBOLS -#include "windows.h" -#undef APSTUDIO_HIDDEN_SYMBOLS - -///////////////////////////////////////////////////////////////////////////// -#undef APSTUDIO_READONLY_SYMBOLS - -///////////////////////////////////////////////////////////////////////////// -// English (U.S.) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -#ifdef _WIN32 -LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US -#pragma code_page(1252) -#endif //_WIN32 - -///////////////////////////////////////////////////////////////////////////// -// -// Menu -// - -U7120MENU MENU DISCARDABLE -BEGIN - MENUITEM "E&xit!", IDM_EXIT -END - - -#ifdef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// TEXTINCLUDE -// - -1 TEXTINCLUDE DISCARDABLE -BEGIN - "resource.h\0" -END - -2 TEXTINCLUDE DISCARDABLE -BEGIN - "#define APSTUDIO_HIDDEN_SYMBOLS\r\n" - "#include ""windows.h""\r\n" - "#undef APSTUDIO_HIDDEN_SYMBOLS\r\n" - "\0" -END - -3 TEXTINCLUDE DISCARDABLE -BEGIN - "\r\n" - "\0" -END - -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog -// - -DMABOX DIALOG DISCARDABLE 18, 10, 171, 169 -STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "Data Value" -FONT 8, "System" -BEGIN - PUSHBUTTON "STOP",ID_STOP,82,147,24,14 - LTEXT "XFER COUNT :",-1,47,118,49,8 - LTEXT "Text",DMA_SPACE,103,118,41,8 - LTEXT "Text",DMA_DESCP,16,6,158,8 -END - -IDD_DIALOG2 DIALOG DISCARDABLE 110, 10, 106, 61 -STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "Card Number" -FONT 10, "System" -BEGIN - DEFPUSHBUTTON "OK",IDOK,10,40,37,14 - PUSHBUTTON "Cancel",IDCANCEL,61,40,38,14 - LTEXT "Card Number",IDC_STATIC,3,13,47,13 - COMBOBOX IDC_COMBO1,51,13,48,84,CBS_DROPDOWN | WS_VSCROLL | - WS_TABSTOP -END - - -///////////////////////////////////////////////////////////////////////////// -// -// DESIGNINFO -// - -#ifdef APSTUDIO_INVOKED -GUIDELINES DESIGNINFO DISCARDABLE -BEGIN - IDD_DIALOG2, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 99 - TOPMARGIN, 7 - BOTTOMMARGIN, 54 - END -END -#endif // APSTUDIO_INVOKED - -#endif // English (U.S.) resources -///////////////////////////////////////////////////////////////////////////// - - - -#ifndef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 3 resource. -// - - -///////////////////////////////////////////////////////////////////////////// -#endif // not APSTUDIO_INVOKED - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7300b/Sdk7300bMBufCallBack/7300Cwav.dsp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7300b/Sdk7300bMBufCallBack/7300Cwav.dsp deleted file mode 100644 index 12b58b7..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7300b/Sdk7300bMBufCallBack/7300Cwav.dsp +++ /dev/null @@ -1,112 +0,0 @@ -# Microsoft Developer Studio Project File - Name="7300Cwav" - Package Owner=<4> -# Microsoft Developer Studio Generated Build File, Format Version 5.00 -# ** DO NOT EDIT ** - -# TARGTYPE "Win32 (x86) Application" 0x0101 - -CFG=7300Cwav - Win32 Release -!MESSAGE This is not a valid makefile. To build this project using NMAKE, -!MESSAGE use the Export Makefile command and run -!MESSAGE -!MESSAGE NMAKE /f "7300Cwav.mak". -!MESSAGE -!MESSAGE You can specify a configuration when running NMAKE -!MESSAGE by defining the macro CFG on the command line. For example: -!MESSAGE -!MESSAGE NMAKE /f "7300Cwav.mak" CFG="7300Cwav - Win32 Release" -!MESSAGE -!MESSAGE Possible choices for configuration are: -!MESSAGE -!MESSAGE "7300Cwav - Win32 Release" (based on "Win32 (x86) Application") -!MESSAGE "7300Cwav - Win32 Debug" (based on "Win32 (x86) Application") -!MESSAGE - -# Begin Project -# PROP Scc_ProjName "" -# PROP Scc_LocalPath "" -CPP=cl.exe -MTL=midl.exe -RSC=rc.exe - -!IF "$(CFG)" == "7300Cwav - Win32 Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir ".\Release" -# PROP BASE Intermediate_Dir ".\Release" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "" -# PROP Intermediate_Dir ".\Release" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /YX /c -# ADD CPP /nologo /MT /W3 /GX /Od /I "..\..\..\include" /D "NDEBUG" /D "WIN32" /D "_WINDOWS" /D "SELF_OUTPUT" /FD /c -# SUBTRACT CPP /YX -# ADD BASE MTL /nologo /D "NDEBUG" /win32 -# ADD MTL /nologo /D "NDEBUG" /mktyplib203 /win32 -# ADD BASE RSC /l 0x409 /d "NDEBUG" -# ADD RSC /l 0x409 /d "NDEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:windows /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ..\..\..\lib\Pci-Dask.lib /nologo /subsystem:windows /machine:I386 - -!ELSEIF "$(CFG)" == "7300Cwav - Win32 Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir ".\Debug" -# PROP BASE Intermediate_Dir ".\Debug" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir ".\Debug" -# PROP Intermediate_Dir ".\Debug" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /Gm /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /YX /c -# ADD CPP /nologo /MTd /W3 /Gm /GX /Zi /Od /I "..\..\..\include" /D "_DEBUG" /D "WIN32" /D "_WINDOWS" /D "SELF_OUTPUT" /FD /c -# SUBTRACT CPP /YX -# ADD BASE MTL /nologo /D "_DEBUG" /win32 -# ADD MTL /nologo /D "_DEBUG" /mktyplib203 /win32 -# ADD BASE RSC /l 0x409 /d "_DEBUG" -# ADD RSC /l 0x409 /d "_DEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:windows /debug /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ..\..\..\lib\Pci-Dask.lib /nologo /subsystem:windows /debug /machine:I386 - -!ENDIF - -# Begin Target - -# Name "7300Cwav - Win32 Release" -# Name "7300Cwav - Win32 Debug" -# Begin Group "Source Files" - -# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;hpj;bat;for;f90" -# Begin Source File - -SOURCE=.\7300cwav.c -# End Source File -# Begin Source File - -SOURCE=.\7300cwav.RC -# End Source File -# End Group -# Begin Group "Header Files" - -# PROP Default_Filter "h;hpp;hxx;hm;inl;fi;fd" -# End Group -# Begin Group "Resource Files" - -# PROP Default_Filter "ico;cur;bmp;dlg;rc2;rct;bin;cnt;rtf;gif;jpg;jpeg;jpe" -# End Group -# End Target -# End Project diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7300b/Sdk7300bMBufCallBack/7300Cwav.dsw b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7300b/Sdk7300bMBufCallBack/7300Cwav.dsw deleted file mode 100644 index 502918a..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7300b/Sdk7300bMBufCallBack/7300Cwav.dsw +++ /dev/null @@ -1,29 +0,0 @@ -Microsoft Developer Studio Workspace File, Format Version 5.00 -# WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE! - -############################################################################### - -Project: "7300Cwav"=".\7300Cwav.dsp" - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ -}}} - -############################################################################### - -Global: - -Package=<5> -{{{ -}}} - -Package=<3> -{{{ -}}} - -############################################################################### - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7300b/Sdk7300bMBufCallBack/7300Cwav.exe b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7300b/Sdk7300bMBufCallBack/7300Cwav.exe deleted file mode 100644 index d6dec54..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7300b/Sdk7300bMBufCallBack/7300Cwav.exe and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7300b/Sdk7300bMBufCallBack/7300cwav.c b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7300b/Sdk7300bMBufCallBack/7300cwav.c deleted file mode 100644 index b09bf18..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7300b/Sdk7300bMBufCallBack/7300cwav.c +++ /dev/null @@ -1,481 +0,0 @@ -#include "windows.h" -#include -#include -#include -#include -#include -#include "resource.h" -#include "Dask.h" - -#define IDM_EXIT 110 -#define IDC_SCROLL 207 -#define IDC_START 208 -#define IDC_STOP 209 -#define IDC_EDIT 211 -#define IDC_EDIT1 214 -#define IDC_SHOW 213 -#define IDC_DA 400 - -#define PI 3.14159 -#define MAX_SIZE 1024000 //in words - -int PASCAL WinMain(HANDLE, HANDLE, LPSTR, int); -long PASCAL MainWndProc(HWND, UINT, WPARAM, LPARAM); -BOOL PASCAL ShowDMA(HWND, UINT, WPARAM, LPARAM); - -HANDLE hInst; -HWND hListBox; -HWND hEdit,hEdit1, hStart, hStop; - -HBRUSH hBlackBrush; -HPEN hRedPen, hBlackPen; -HWND hMainWnd; - -U32 sample_rate=10000; - -U16 in_buf[MAX_SIZE], in_buf2[MAX_SIZE], in_buf3[MAX_SIZE], in_buf4[MAX_SIZE]; -int oldinput=-1,adinput; -U32 data_size=100000; - -U32 mem_size; -U16 db_times = 0; -U16 viewidx; -I16 card=-1, card_number = 0; -BOOLEAN bStopped; -U32 count; -U16 out_buf[MAX_SIZE]; -BOOLEAN bOutStopped; -ULONG out_count; -BOOLEAN clear_op; - -POINT input_pos[16]= {{470, 280}, {440, 280}, - {410, 280}, {380, 280}, - {350, 280}, {320, 280}, - { 290, 280}, {260, 280}, - {230, 280}, {200, 280}, - {170, 280}, {140, 280}, - {110, 280}, {80, 280}, - { 50, 280}, { 20, 280}, - }; -POINT output_pos[16] ={ - {470, 340}, {440, 340}, - {410, 340}, {380, 340}, - {350, 340}, {320, 340}, - { 290, 340}, {260, 340}, - {230, 340}, {200, 340}, - {170, 340}, {140, 340}, - {110, 340}, {80, 340}, - { 50, 340}, { 20, 340}, - }; - -POINT io_pos[16] ={ - {395, 40}, {370, 40}, - {345, 40}, {320, 40}, - {295, 40}, {270, 40}, - { 245, 40}, {220, 40}, - {195, 40}, {170, 40}, - {145, 40}, {120, 40}, - {95, 40}, {70, 40}, - { 45, 40}, { 20, 40}, - }; - -BOOL InitApplication(HANDLE); -BOOL InitInstance(HANDLE, int); -void DI_DBCallBack(); -void DI_CallBack(); - -int PASCAL WinMain(hInstance, hPrevInstance, lpCmdLine, nCmdShow) -HANDLE hInstance, hPrevInstance; -LPSTR lpCmdLine; -int nCmdShow; -{ - MSG msg; - - if (!hPrevInstance) - if (!InitApplication(hInstance)) return(FALSE); - if (!InitInstance(hInstance, nCmdShow)) return(FALSE); - while (GetMessage(&msg, NULL, NULL, NULL)) { - TranslateMessage(&msg); - DispatchMessage(&msg); - } - return(msg.wParam); -} - -BOOL InitApplication(hInstance) -HANDLE hInstance; -{ - WNDCLASS wc; - - /* Main Window Class */ - wc.style = NULL; - wc.lpfnWndProc = (WNDPROC)MainWndProc; - wc.cbClsExtra = 0; - wc.cbWndExtra = 0; - wc.hInstance = hInstance; - wc.hIcon = LoadIcon(hInstance, "MyIcon"); - wc.hCursor = LoadCursor(NULL, IDC_ARROW); - wc.hbrBackground = GetStockObject(LTGRAY_BRUSH); - wc.lpszMenuName = NULL; - wc.lpszClassName = "GenericWClass"; - if (!RegisterClass(&wc)) return(FALSE); -} - - -BOOL InitInstance(hInstance, nCmdShow) -HANDLE hInstance; -int nCmdShow; -{ - HWND hWnd; - HMENU hSampleMenu; - - hInst = hInstance; - hSampleMenu = LoadMenu(hInstance, "U7120Menu"); - hWnd = CreateWindow("GenericWClass", - (LPCSTR)"PCI-7300 Multiple Buffered DMA", - WS_OVERLAPPEDWINDOW, - CW_USEDEFAULT, - CW_USEDEFAULT, - 520, - 400, - NULL, - hSampleMenu, - hInstance, - NULL); - if (!hWnd) return(FALSE); - ShowWindow(hWnd, nCmdShow); - UpdateWindow(hWnd); - return(TRUE); -} - -BOOL PASCAL setup(HWND hWnd, unsigned message, WPARAM wParam, LPARAM lParam) -{ - int i; - char n[16]; - char s[50]; - switch (message) { - case WM_INITDIALOG: - for (i=0;i<16;i++) { - wsprintf(n, "%d", i); - _strupr(n); - SendMessage(GetDlgItem(hWnd,IDC_COMBO1), CB_ADDSTRING, NULL, (LONG)(LPSTR) n); - } - SendMessage(GetDlgItem(hWnd,IDC_COMBO1) , CB_SETCURSEL, 0, 0L); - - break; - case WM_COMMAND: - switch(LOWORD(wParam)) { - - case IDC_COMBO1: - if (HIWORD(wParam) == CBN_CLOSEUP) { - i = (int)SendMessage(GetDlgItem(hWnd,IDC_COMBO1), CB_GETCURSEL, 0, 0L); - SendMessage(GetDlgItem(hWnd,IDC_COMBO1), CB_GETLBTEXT, i, (LPARAM)((LPCSTR)n)); - card_number = i; - } - return(TRUE); - case IDOK: - if ((card=Register_Card(PCI_7300A_RevB, card_number)) < 0) { - wsprintf(s, "Register_Card Error = %d\n", card); - MessageBox(hWnd, s, "Error", MB_OK); - } - EndDialog(hWnd, TRUE); - InvalidateRect(hWnd, NULL, FALSE); - return (TRUE); - case IDCANCEL: - EndDialog(hWnd, TRUE); - return (TRUE); - } - break; - } - return (FALSE); -} - -long PASCAL MainWndProc(hWnd, message, wParam, lParam) -HWND hWnd; -UINT message; -WPARAM wParam; -LPARAM lParam; -{ - HDC hDC; - PAINTSTRUCT ps; - int i; - char n[6]; - SHORT err; - char s[50]; - U16 BufferId; - - switch(message) { - case WM_CREATE: - DialogBox(hInst,IDD_DIALOG2, hWnd, setup); - if(card<0) { - SendMessage(hWnd, WM_CLOSE, 0, 0L); - break; - } - err=DI_7300B_Config(card, 16, TRIG_CLK_10MHZ, P7300_WAIT_NO, P7300_TERM_ON, 0, 0, 0); - if (err !=0) { - wsprintf(s, "DI_7300B_Config Error = %d, card=%d\n", err, card); - MessageBox(hWnd, s, "Error", MB_OK); - SendMessage(hWnd, WM_CLOSE, 0, 0L); - break; - } - err=DO_7300B_Config (card, 16, TRIG_INT_PACER, P7300_WAIT_NO, P7300_TERM_ON, 0, 0x00040004); - if (err !=0) { - wsprintf(s, "DO_7300B_Config Error = %d, card=%d\n", err, card); - MessageBox(hWnd, s, "Error", MB_OK); - SendMessage(hWnd, WM_CLOSE, 0, 0L); - break; - } - for (i=0; i 200000) sample_rate=200000; - break; - case SB_LINEDOWN: - sample_rate-=10000; - if (sample_rate < 10000) sample_rate=10000; - break; - } - wsprintf(n,"%d",sample_rate/1000); - SetWindowText(hEdit,n); - break; - case WM_COMMAND: - switch(LOWORD(wParam)) { - case IDM_EXIT: - SendMessage(hWnd, WM_CLOSE, 0, 0L); - break; - case IDC_SHOW : - DialogBox(hInst, "DMABox", hWnd, ShowDMA); - break; - case IDC_START: - data_size=GetDlgItemInt(hWnd,IDC_EDIT1,NULL ,FALSE); - //setting the DMA buffers - err = DI_ContMultiBufferSetup (card, in_buf, data_size, &BufferId); - if (err < 0) { - wsprintf(s, "DI_ContMultiBufferSetup Error = %d", err); - MessageBox(hWnd, s, "Error", MB_OK); - SendMessage(hWnd, WM_CLOSE, 0, 0L); - break; - } - err = DI_ContMultiBufferSetup (card, in_buf2, data_size, &BufferId); - if (err < 0) { - wsprintf(s, "DI_ContMultiBufferSetup Error = %d", err); - MessageBox(hWnd, s, "Error", MB_OK); - SendMessage(hWnd, WM_CLOSE, 0, 0L); - break; - } - err = DI_ContMultiBufferSetup (card, in_buf3, data_size, &BufferId); - if (err < 0) { - wsprintf(s, "DI_ContMultiBufferSetup Error = %d", err); - MessageBox(hWnd, s, "Error", MB_OK); - SendMessage(hWnd, WM_CLOSE, 0, 0L); - break; - } - err = DI_ContMultiBufferSetup (card, in_buf4, data_size, &BufferId); - if (err < 0) { - wsprintf(s, "DI_ContMultiBufferSetup Error = %d", err); - MessageBox(hWnd, s, "Error", MB_OK); - SendMessage(hWnd, WM_CLOSE, 0, 0L); - break; - } - - hMainWnd = hWnd; - clear_op = FALSE; - db_times = 0; - DI_EventCallBack (card, 1, DIEnd, (U32) DI_CallBack ); - DI_EventCallBack (card, 1, DBEvent, (U32) DI_DBCallBack ); - err = DO_ContWritePort (card, 0, out_buf, 2*data_size, 0, 5000000, ASYNCH_OP); - if (err < 0) { - wsprintf(s, "DO_ContWritePort Error = %d", err); - MessageBox(hWnd, s, "Error", MB_OK); - SendMessage(hWnd, WM_CLOSE, 0, 0L); - break; - } - //start multi-buffered DI - err = DI_ContMultiBufferStart (card, 0, 1); - if (err < 0) { - wsprintf(s, "DI_ContReadPort Error = %d", err); - MessageBox(hWnd, s, "Error", MB_OK); - SendMessage(hWnd, WM_CLOSE, 0, 0L); - break; - } - EnableWindow(hStart, FALSE); - EnableWindow(hStop, TRUE); - MessageBeep(0); - break; - case IDC_STOP: - clear_op = TRUE; - DI_AsyncClear(card, &count); - EnableWindow(hStop, FALSE); - break; - default: - return(DefWindowProc(hWnd, message, wParam, lParam)); - } - break; - case WM_DESTROY: - if (card >= 0) Release_Card(card); - DeleteObject(hBlackBrush); - DeleteObject(hRedPen); - PostQuitMessage(0); - break; - default: - return(DefWindowProc(hWnd, message, wParam, lParam)); - } - return(NULL); -} - -BOOL PASCAL ShowDMA(hDlg, message, wParam, lParam) -HWND hDlg; -UINT message; -WPARAM wParam; -LPARAM lParam; -{ - int nTabs[2] = {32, 92}; - long i; - char cBuf[100]; - char string[10]=" "; - char data_str[3]=" "; - U16 *pp; - switch (message) { - case WM_INITDIALOG: - hListBox = CreateWindow("LISTBOX", "Index Data (Hex)", - WS_CHILD | WS_VISIBLE | LBS_HASSTRINGS | LBS_STANDARD | LBS_USETABSTOPS |WS_CAPTION, - 50, 40, 240, 180, hDlg, 100, hInst, NULL); - SendMessage(hListBox, LB_RESETCONTENT, 0, 0L); - SendMessage(hListBox, LB_SETTABSTOPS, 2, (DWORD)(LPINT) nTabs); - SetDlgItemText(hDlg, DMA_DESCP, "This ListBox can show at most 4000 data"); - itoa( data_size, string, 10); - SetDlgItemText(hDlg, DMA_SPACE, string); - - pp = (U16 *) in_buf; - if (data_size > 4000) data_size = 4000; - for(i=0;i -#include -#include -#include -#include -#include "resource.h" -#include "Dask.h" - -#define IDM_EXIT 110 -#define IDC_SCROLL 207 -#define IDC_START 208 -#define IDC_STOP 209 -#define IDC_EDIT 211 -#define IDC_EDIT1 214 -#define IDC_SHOW 213 -#define IDC_DA 400 - -#define PI 3.14159 -#define MAX_SIZE 1024000 //in words - -int PASCAL WinMain(HANDLE, HANDLE, LPSTR, int); -long PASCAL MainWndProc(HWND, UINT, WPARAM, LPARAM); -BOOL PASCAL ShowDMA(HWND, UINT, WPARAM, LPARAM); - -HANDLE hInst; -HWND hListBox; -HWND hEdit,hEdit1, hStart, hStop; - -HBRUSH hBlackBrush; -HPEN hRedPen, hBlackPen; -HWND hMainWnd; - -U32 sample_rate=10000; - -U16 in_buf[MAX_SIZE], in_buf2[MAX_SIZE], in_buf3[MAX_SIZE], in_buf4[MAX_SIZE]; -int oldinput=-1,adinput; -U32 data_size=100000; - -U32 mem_size; - -I16 card=-1, card_number = 0; -BOOLEAN bStopped; -U32 count; -U16 out_buf[MAX_SIZE]; -BOOLEAN bOutStopped; -ULONG out_count; - -HANDLE hThread; -BOOLEAN clear_op; - -POINT input_pos[16]= {{470, 280}, {440, 280}, - {410, 280}, {380, 280}, - {350, 280}, {320, 280}, - { 290, 280}, {260, 280}, - {230, 280}, {200, 280}, - {170, 280}, {140, 280}, - {110, 280}, {80, 280}, - { 50, 280}, { 20, 280}, - }; -POINT output_pos[16] ={ - {470, 340}, {440, 340}, - {410, 340}, {380, 340}, - {350, 340}, {320, 340}, - { 290, 340}, {260, 340}, - {230, 340}, {200, 340}, - {170, 340}, {140, 340}, - {110, 340}, {80, 340}, - { 50, 340}, { 20, 340}, - }; - -POINT io_pos[16] ={ - {395, 40}, {370, 40}, - {345, 40}, {320, 40}, - {295, 40}, {270, 40}, - { 245, 40}, {220, 40}, - {195, 40}, {170, 40}, - {145, 40}, {120, 40}, - {95, 40}, {70, 40}, - { 45, 40}, { 20, 40}, - }; - -BOOL InitApplication(HANDLE); -BOOL InitInstance(HANDLE, int); -void ProcessThread(void* pArg); - -int PASCAL WinMain(hInstance, hPrevInstance, lpCmdLine, nCmdShow) -HANDLE hInstance, hPrevInstance; -LPSTR lpCmdLine; -int nCmdShow; -{ - MSG msg; - - if (!hPrevInstance) - if (!InitApplication(hInstance)) return(FALSE); - if (!InitInstance(hInstance, nCmdShow)) return(FALSE); - while (GetMessage(&msg, NULL, NULL, NULL)) { - TranslateMessage(&msg); - DispatchMessage(&msg); - } - return(msg.wParam); -} - -BOOL InitApplication(hInstance) -HANDLE hInstance; -{ - WNDCLASS wc; - - /* Main Window Class */ - wc.style = NULL; - wc.lpfnWndProc = (WNDPROC)MainWndProc; - wc.cbClsExtra = 0; - wc.cbWndExtra = 0; - wc.hInstance = hInstance; - wc.hIcon = LoadIcon(hInstance, "MyIcon"); - wc.hCursor = LoadCursor(NULL, IDC_ARROW); - wc.hbrBackground = GetStockObject(LTGRAY_BRUSH); - wc.lpszMenuName = NULL; - wc.lpszClassName = "GenericWClass"; - if (!RegisterClass(&wc)) return(FALSE); -} - - -BOOL InitInstance(hInstance, nCmdShow) -HANDLE hInstance; -int nCmdShow; -{ - HWND hWnd; - HMENU hSampleMenu; - - hInst = hInstance; - hSampleMenu = LoadMenu(hInstance, "U7120Menu"); - hWnd = CreateWindow("GenericWClass", - (LPCSTR)"PCI-7300 Multiple Buffered DMA", - WS_OVERLAPPEDWINDOW, - CW_USEDEFAULT, - CW_USEDEFAULT, - 520, - 400, - NULL, - hSampleMenu, - hInstance, - NULL); - if (!hWnd) return(FALSE); - ShowWindow(hWnd, nCmdShow); - UpdateWindow(hWnd); - return(TRUE); -} - -BOOL PASCAL setup(HWND hWnd, unsigned message, WPARAM wParam, LPARAM lParam) -{ - int i; - char n[16]; - char s[50]; - switch (message) { - case WM_INITDIALOG: - for (i=0;i<16;i++) { - wsprintf(n, "%d", i); - _strupr(n); - SendMessage(GetDlgItem(hWnd,IDC_COMBO1), CB_ADDSTRING, NULL, (LONG)(LPSTR) n); - } - SendMessage(GetDlgItem(hWnd,IDC_COMBO1) , CB_SETCURSEL, 0, 0L); - - break; - case WM_COMMAND: - switch(LOWORD(wParam)) { - - case IDC_COMBO1: - if (HIWORD(wParam) == CBN_CLOSEUP) { - i = (int)SendMessage(GetDlgItem(hWnd,IDC_COMBO1), CB_GETCURSEL, 0, 0L); - SendMessage(GetDlgItem(hWnd,IDC_COMBO1), CB_GETLBTEXT, i, (LPARAM)((LPCSTR)n)); - card_number = i; - } - return(TRUE); - case IDOK: - if ((card=Register_Card(PCI_7300A_RevB, card_number)) < 0) { - wsprintf(s, "Register_Card Error = %d\n", card); - MessageBox(hWnd, s, "Error", MB_OK); - } - EndDialog(hWnd, TRUE); - InvalidateRect(hWnd, NULL, FALSE); - return (TRUE); - case IDCANCEL: - EndDialog(hWnd, TRUE); - return (TRUE); - } - break; - } - return (FALSE); -} - -long PASCAL MainWndProc(hWnd, message, wParam, lParam) -HWND hWnd; -UINT message; -WPARAM wParam; -LPARAM lParam; -{ - HDC hDC; - PAINTSTRUCT ps; - int i; - char n[6]; - SHORT err; - char s[50]; - U16 BufferId; - - switch(message) { - case WM_CREATE: - DialogBox(hInst,IDD_DIALOG2, hWnd, setup); - if(card<0) { - SendMessage(hWnd, WM_CLOSE, 0, 0L); - break; - } - err=DI_7300B_Config(card, 16, TRIG_CLK_10MHZ, P7300_WAIT_NO, P7300_TERM_ON, 0, 0, 0); - if (err !=0) { - wsprintf(s, "DI_7300B_Config Error = %d, card=%d\n", err, card); - MessageBox(hWnd, s, "Error", MB_OK); - SendMessage(hWnd, WM_CLOSE, 0, 0L); - break; - } - err=DO_7300B_Config (card, 16, TRIG_INT_PACER, P7300_WAIT_NO, P7300_TERM_ON, 0, 0x00040004); - if (err !=0) { - wsprintf(s, "DO_7300B_Config Error = %d, card=%d\n", err, card); - MessageBox(hWnd, s, "Error", MB_OK); - SendMessage(hWnd, WM_CLOSE, 0, 0L); - break; - } - for (i=0; i 200000) sample_rate=200000; - break; - case SB_LINEDOWN: - sample_rate-=10000; - if (sample_rate < 10000) sample_rate=10000; - break; - } - wsprintf(n,"%d",sample_rate/1000); - SetWindowText(hEdit,n); - break; - case WM_COMMAND: - switch(LOWORD(wParam)) { - case IDM_EXIT: - SendMessage(hWnd, WM_CLOSE, 0, 0L); - break; - case IDC_SHOW : - DialogBox(hInst, "DMABox", hWnd, ShowDMA); - break; - case IDC_START: - data_size=GetDlgItemInt(hWnd,IDC_EDIT1,NULL ,FALSE); - //setting the DMA buffers - err = DI_ContMultiBufferSetup (card, in_buf, data_size, &BufferId); - if (err < 0) { - wsprintf(s, "DI_ContMultiBufferSetup Error = %d", err); - MessageBox(hWnd, s, "Error", MB_OK); - SendMessage(hWnd, WM_CLOSE, 0, 0L); - break; - } - err = DI_ContMultiBufferSetup (card, in_buf2, data_size, &BufferId); - if (err < 0) { - wsprintf(s, "DI_ContMultiBufferSetup Error = %d", err); - MessageBox(hWnd, s, "Error", MB_OK); - SendMessage(hWnd, WM_CLOSE, 0, 0L); - break; - } - err = DI_ContMultiBufferSetup (card, in_buf3, data_size, &BufferId); - if (err < 0) { - wsprintf(s, "DI_ContMultiBufferSetup Error = %d", err); - MessageBox(hWnd, s, "Error", MB_OK); - SendMessage(hWnd, WM_CLOSE, 0, 0L); - break; - } - err = DI_ContMultiBufferSetup (card, in_buf4, data_size, &BufferId); - if (err < 0) { - wsprintf(s, "DI_ContMultiBufferSetup Error = %d", err); - MessageBox(hWnd, s, "Error", MB_OK); - SendMessage(hWnd, WM_CLOSE, 0, 0L); - break; - } - - hMainWnd = hWnd; - clear_op = FALSE; - hThread = (HANDLE)_beginthread(ProcessThread, 0, 0); - - err = DO_ContWritePort (card, 0, out_buf, 2*data_size, 0, 5000000, ASYNCH_OP); - if (err < 0) { - wsprintf(s, "DO_ContWritePort Error = %d", err); - MessageBox(hWnd, s, "Error", MB_OK); - SendMessage(hWnd, WM_CLOSE, 0, 0L); - break; - } - //start multi-buffered DI - err = DI_ContMultiBufferStart (card, 0, 1); - if (err < 0) { - wsprintf(s, "DI_ContReadPort Error = %d", err); - MessageBox(hWnd, s, "Error", MB_OK); - SendMessage(hWnd, WM_CLOSE, 0, 0L); - break; - } - EnableWindow(hStart, FALSE); - EnableWindow(hStop, TRUE); - MessageBeep(0); - break; - case IDC_STOP: - clear_op = TRUE; - EnableWindow(hStop, FALSE); - break; - default: - return(DefWindowProc(hWnd, message, wParam, lParam)); - } - break; - case WM_DESTROY: - if (card >= 0) Release_Card(card); - DeleteObject(hBlackBrush); - DeleteObject(hRedPen); - PostQuitMessage(0); - break; - default: - return(DefWindowProc(hWnd, message, wParam, lParam)); - } - return(NULL); -} - -BOOL PASCAL ShowDMA(hDlg, message, wParam, lParam) -HWND hDlg; -UINT message; -WPARAM wParam; -LPARAM lParam; -{ - int nTabs[2] = {32, 92}; - long i; - char cBuf[100]; - char string[10]=" "; - char data_str[3]=" "; - U16 *pp; - switch (message) { - case WM_INITDIALOG: - hListBox = CreateWindow("LISTBOX", "Index Data (Hex)", - WS_CHILD | WS_VISIBLE | LBS_HASSTRINGS | LBS_STANDARD | LBS_USETABSTOPS |WS_CAPTION, - 50, 40, 240, 180, hDlg, 100, hInst, NULL); - SendMessage(hListBox, LB_RESETCONTENT, 0, 0L); - SendMessage(hListBox, LB_SETTABSTOPS, 2, (DWORD)(LPINT) nTabs); - SetDlgItemText(hDlg, DMA_DESCP, "This ListBox can show at most 4000 data"); - itoa( data_size, string, 10); - SetDlgItemText(hDlg, DMA_SPACE, string); - - pp = (U16 *) in_buf; - if (data_size > 4000) data_size = 4000; - for(i=0;i -#include -#include -#include -#include -#include "Dask.h" -#include "resource.h" - -#define IDM_EXIT 110 -#define TIMER 2 - -int PASCAL WinMain(HANDLE, HANDLE, LPSTR, int); -long PASCAL MainWndProc(HWND, UINT, WPARAM, LPARAM); - -HANDLE hInst; -HWND hAddrComboBox; -I16 card=-1, card_number = 0; - -U32 inputA[2], inputB[2], inputC[2] ; -U32 outputA[2],outputB[2],outputC[2]; -U32 oldinputA[2], oldinputB[2], oldinputC[2]; - -HBRUSH hLTGreenBrush,hGreenBrush,hBlueBrush,hYellowBrush,hRedBrush; - -int port_a[2]; -int port_b[2]; -int port_c[2]; - -POINT input_pos[2][8]; -POINT output_pos[2][8]; -POINT io_pos[2][8]; - -BOOL InitApplication(HANDLE); -BOOL InitInstance(HANDLE, int); - -int PASCAL WinMain(hInstance, hPrevInstance, lpCmdLine, nCmdShow) -HANDLE hInstance, hPrevInstance; -LPSTR lpCmdLine; -int nCmdShow; -{ - MSG msg; - - if (!hPrevInstance) - if (!InitApplication(hInstance)) return(FALSE); - if (!InitInstance(hInstance, nCmdShow)) return(FALSE); - while (GetMessage(&msg, NULL, 0, 0)) { - TranslateMessage(&msg); - DispatchMessage(&msg); - } - return(msg.wParam); -} - -BOOL InitApplication(hInstance) -HANDLE hInstance; -{ - WNDCLASS wc; - - /* Main Window Class */ - wc.style = 0; - wc.lpfnWndProc = (WNDPROC)MainWndProc; - wc.cbClsExtra = 0; - wc.cbWndExtra = 0; - wc.hInstance = hInstance; - wc.hIcon = LoadIcon(hInstance, "MyIcon"); - wc.hCursor = LoadCursor(NULL, IDC_ARROW); - wc.hbrBackground = GetStockObject(LTGRAY_BRUSH); - wc.lpszMenuName = NULL; - wc.lpszClassName = "GenericWClass"; - if (!RegisterClass(&wc)) return(FALSE); -} - -BOOL InitInstance(hInstance, nCmdShow) -HANDLE hInstance; -int nCmdShow; -{ - HWND hWnd; - HMENU hSampleMenu; - - hInst = hInstance; - hSampleMenu = LoadMenu(hInstance, "U7120Menu"); - hWnd = CreateWindow("GenericWClass", - (LPCSTR)"PCI-7348", - WS_OVERLAPPEDWINDOW, - CW_USEDEFAULT, - CW_USEDEFAULT, - 650, - 330, - NULL, - hSampleMenu, - hInstance, - NULL); - if (!hWnd) return(FALSE); - ShowWindow(hWnd, nCmdShow); - UpdateWindow(hWnd); - return(TRUE); -} - -BOOL PASCAL setup(HWND hWnd, unsigned message, WPARAM wParam, LPARAM lParam) -{ - int i; - char n[16]; - char s[50]; - switch (message) { - case WM_INITDIALOG: - for (i=0;i<16;i++) { - wsprintf(n, "%d", i); - _strupr(n); - SendMessage(GetDlgItem(hWnd,IDC_COMBO1), CB_ADDSTRING, NULL, (LONG)(LPSTR) n); - } - SendMessage(GetDlgItem(hWnd,IDC_COMBO1) , CB_SETCURSEL, 0, 0L); - - break; - case WM_COMMAND: - switch(LOWORD(wParam)) { - - case IDC_COMBO1: - if (HIWORD(wParam) == CBN_CLOSEUP) { - i = (int)SendMessage(GetDlgItem(hWnd,IDC_COMBO1), CB_GETCURSEL, 0, 0L); - SendMessage(GetDlgItem(hWnd,IDC_COMBO1), CB_GETLBTEXT, i, (LPARAM)((LPCSTR)n)); - card_number = i; - } - return(TRUE); - case IDOK: - if ((card=Register_Card(PCI_7396, card_number)) < 0) { - wsprintf(s, "Register_Card Error = %d\n", card); - MessageBox(hWnd, s, "Error", MB_OK); - } - EndDialog(hWnd, TRUE); - InvalidateRect(hWnd, NULL, FALSE); - return (TRUE); - case IDCANCEL: - EndDialog(hWnd, TRUE); - return (TRUE); - } - break; - } - return (FALSE); -} - -long PASCAL MainWndProc(hWnd, message, wParam, lParam) -HWND hWnd; -UINT message; -WPARAM wParam; -LPARAM lParam; -{ - - HDC hDC; - PAINTSTRUCT ps; - int i, k, px, py; - - switch(message) { - case WM_CREATE: - DialogBox(hInst,IDD_DIALOG1, hWnd, setup); - if(card<0) { - SendMessage(hWnd, WM_CLOSE, 0, 0L); - break; - } - hLTGreenBrush = CreateSolidBrush(RGB(0, 255, 0)); - hGreenBrush = CreateSolidBrush(RGB(0, 128, 0)); - hBlueBrush = CreateSolidBrush(RGB(0, 0, 255)); - hRedBrush = CreateSolidBrush(RGB(255, 0, 0)); - - input_pos[0][0].x=180; - input_pos[0][0].y=40; - input_pos[0][1].x=160; - input_pos[0][1].y=40; - input_pos[0][2].x=140; - input_pos[0][2].y=40; - input_pos[0][3].x=120; - input_pos[0][3].y=40; - input_pos[0][4].x=100; - input_pos[0][4].y=40; - input_pos[0][5].x=80; - input_pos[0][5].y=40; - input_pos[0][6].x=60; - input_pos[0][6].y=40; - input_pos[0][7].x=40; - input_pos[0][7].y=40; - - output_pos[0][0].x=560; - output_pos[0][0].y=40; - output_pos[0][1].x=540; - output_pos[0][1].y=40; - output_pos[0][2].x=520; - output_pos[0][2].y=40; - output_pos[0][3].x=500; - output_pos[0][3].y=40; - output_pos[0][4].x=480; - output_pos[0][4].y=40; - output_pos[0][5].x=460; - output_pos[0][5].y=40; - output_pos[0][6].x=440; - output_pos[0][6].y=40; - output_pos[0][7].x=420; - output_pos[0][7].y=40; - - io_pos[0][0].x=370; - io_pos[0][0].y=40; - io_pos[0][1].x=350; - io_pos[0][1].y=40; - io_pos[0][2].x=330; - io_pos[0][2].y=40; - io_pos[0][3].x=310; - io_pos[0][3].y=40; - io_pos[0][4].x=290; - io_pos[0][4].y=40; - io_pos[0][5].x=270; - io_pos[0][5].y=40; - io_pos[0][6].x=250; - io_pos[0][6].y=40; - io_pos[0][7].x=230; - io_pos[0][7].y=40; - - for (i=1;i<2;i++) { - for (k=0;k<8;k++) - { - input_pos[i][k].x =input_pos[0][k].x; - input_pos[i][k].y =input_pos[0][k].y+i*50; - output_pos[i][k].x =output_pos[0][k].x; - output_pos[i][k].y =output_pos[0][k].y+i*50; - io_pos[i][k].x =io_pos[0][k].x; - io_pos[i][k].y =io_pos[0][k].y+i*50; - } - } - - for (i=0;i<2;i++) - { - inputA[i]=0; - outputA[i]=0; - oldinputA[i]=0; - - inputB[i]=0; - outputB[i]=0; - oldinputB[i]=0; - - inputC[i]=0; - outputC[i]=0; - oldinputC[i]=0; - - port_a[i]=0; - //DIO_PortConfig(card,5*i+Channel_P1A, INPUT_PORT); - port_b[i]=0; - //DIO_PortConfig(card,5*i+Channel_P1B, INPUT_PORT); - port_c[i]=0; - //DIO_PortConfig(card,5*i+Channel_P1C, INPUT_PORT); - DIO_PortConfig(card,i+Channel_P1, INPUT_PORT); - } - - SetTimer(hWnd, TIMER, 50, NULL); - srand((unsigned)time(NULL)); - break; - case WM_PAINT: - hDC = BeginPaint(hWnd, &ps); - - // Label - SetTextColor(hDC,RGB(255,255,255)); - SetBkColor(hDC, RGB(0, 0, 255)); - TextOut(hDC, 5, 40, "CN1", 3); - SetTextColor(hDC,RGB(255,255,255)); - SetBkColor(hDC, RGB(0, 0, 255)); - TextOut(hDC, 5, 80, "CN2", 3); - SetBkColor(hDC, RGB(0, 0, 255)); - TextOut(hDC, 5, 130, "CN3", 3); - SetBkColor(hDC, RGB(0, 0, 255)); - TextOut(hDC, 5, 180, "CN4", 3); - // Digital Input Box - for (i=0;i<2;i++ ) - { - if ( port_a[i]==0 ) - SelectObject(hDC, hLTGreenBrush); - else - SelectObject(hDC, hGreenBrush); - Rectangle(hDC, input_pos[i][7].x-5, input_pos[i][7].y-12, input_pos[i][0].x+26, input_pos[i][0].y+30); - SetTextColor(hDC,RGB(0,0,0)); - SelectObject(hDC, hLTGreenBrush); - Rectangle(hDC, input_pos[i][0].x+25, input_pos[i][0].y-12, input_pos[i][0].x+41, input_pos[i][0].y+9); - SetBkColor(hDC, RGB(0, 255, 0)); - TextOut(hDC, input_pos[i][0].x+30, input_pos[i][7].y-11, "I", 1); - SelectObject(hDC, hGreenBrush); - Rectangle(hDC, input_pos[i][0].x+25, input_pos[i][0].y+9, input_pos[i][0].x+41, input_pos[i][0].y+30); - SetBkColor(hDC, RGB(0, 128, 0)); - TextOut(hDC, input_pos[i][0].x+27, input_pos[i][7].y+9, "O", 1); - } - - for (i=0;i<2;i++ ) - { - if ( port_b[i]==0 ) - SelectObject(hDC, hLTGreenBrush); - else - SelectObject(hDC, hGreenBrush); - Rectangle(hDC, io_pos[i][7].x-5, io_pos[i][7].y-12, io_pos[i][0].x+26, io_pos[i][0].y+30); - SelectObject(hDC, hGreenBrush); - SetTextColor(hDC,RGB(0,0,0)); - Rectangle(hDC, io_pos[i][0].x+25, io_pos[i][0].y+9, io_pos[i][0].x+41, io_pos[i][0].y+30); - SetBkColor(hDC, RGB(0, 128, 0)); - TextOut(hDC, io_pos[i][0].x+27, io_pos[i][7].y+9, "O", 1); - SelectObject(hDC, hLTGreenBrush); - Rectangle(hDC, io_pos[i][0].x+25, io_pos[i][0].y-12, io_pos[i][0].x+41, io_pos[i][0].y+9); - SetBkColor(hDC, RGB(0, 255, 0)); - TextOut(hDC, io_pos[i][0].x+30, io_pos[i][7].y-11, "I", 1); - } - for (i=0;i<2;i++ ) - { - if ( port_c[i]==0 ) - SelectObject(hDC, hLTGreenBrush); - else - SelectObject(hDC, hGreenBrush); - Rectangle(hDC, output_pos[i][7].x-5, output_pos[i][7].y-12, output_pos[i][0].x+26, output_pos[i][0].y+30); - SelectObject(hDC, hLTGreenBrush); - Rectangle(hDC, output_pos[i][0].x+25, output_pos[i][7].y-12, output_pos[i][0].x+41, output_pos[i][0].y+9); - SetBkColor(hDC, RGB(0, 255, 0)); - SetTextColor(hDC,RGB(0,0,0)); - TextOut(hDC, output_pos[i][0].x+30, output_pos[i][7].y-11, "I", 1); - SelectObject(hDC, hGreenBrush); - Rectangle(hDC, output_pos[i][0].x+25, output_pos[i][0].y+9, output_pos[i][0].x+41, output_pos[i][0].y+30); - SetBkColor(hDC, RGB(0, 128, 0)); - TextOut(hDC, output_pos[i][0].x+28, output_pos[i][7].y+9, "O", 1); - } - SetTextColor(hDC,RGB(255,255,255)); - SetBkColor(hDC, RGB(0, 0, 255)); - TextOut(hDC, input_pos[0][7].x, input_pos[0][7].y-20, "Port A", 6); - TextOut(hDC, output_pos[0][7].x, output_pos[0][7].y-20, "Port C", 6); - TextOut(hDC, io_pos[0][7].x, io_pos[0][7].y-20, "Port B", 6); - // Channel Label - SetBkMode(hDC,TRANSPARENT); - SetTextColor(hDC,RGB(0,0,0)); - TextOut(hDC, input_pos[0][7].x, input_pos[0][7].y+16, " 7 0", 36); - TextOut(hDC, io_pos[0][7].x, io_pos[0][7].y+16, " 7 0", 36); - TextOut(hDC, output_pos[0][7].x,output_pos[0][7].y+16," 7 0", 36); - - SetBkMode(hDC,OPAQUE); - - // Detect Channel Input - for (k=0;k<2;k++ ) - { - if ( port_a[k]==0 ) - { - for (i=0; i<8; i++) { - if ((inputA[k]>>i)&0x01) - SelectObject(hDC, hRedBrush); - else - SelectObject(hDC, GetStockObject(WHITE_BRUSH)); - Ellipse(hDC, input_pos[k][i].x, input_pos[k][i].y, input_pos[k][i].x+17, input_pos[k][i].y+17); - } - } - else - { - // Detect Channel Output - for (i=0; i<8; i++) { - if ((outputA[k]>>i)&0x01) - SelectObject(hDC, hRedBrush); - else - SelectObject(hDC, GetStockObject(WHITE_BRUSH)); - Ellipse(hDC, input_pos[k][i].x, input_pos[k][i].y, input_pos[k][i].x+17, input_pos[k][i].y+17); - } - } - - if ( port_b[k]==0 ) - { - for (i=0; i<8; i++) { - if ((inputB[k]>>i)&0x01) - SelectObject(hDC, hRedBrush); - else - SelectObject(hDC, GetStockObject(WHITE_BRUSH)); - Ellipse(hDC, io_pos[k][i].x, io_pos[k][i].y, io_pos[k][i].x+17, io_pos[k][i].y+17); - } - } - else - { - for (i=0; i<8; i++) { - if ((outputB[k]>>i)&0x01) - SelectObject(hDC, hRedBrush); - else - SelectObject(hDC, GetStockObject(WHITE_BRUSH)); - Ellipse(hDC, io_pos[k][i].x, io_pos[k][i].y, io_pos[k][i].x+17, io_pos[k][i].y+17); - } - } - if ( port_c[k]==0) - { - for (i=0; i<8; i++) { - if ((inputC[k]>>i)&0x01) - SelectObject(hDC, hRedBrush); - else - SelectObject(hDC, GetStockObject(WHITE_BRUSH)); - Ellipse(hDC, output_pos[k][i].x, output_pos[k][i].y, output_pos[k][i].x+17, output_pos[k][i].y+17); - } - } - else - { - for (i=0; i<8; i++) { - if ((outputC[k]>>i)&0x01) - SelectObject(hDC, hRedBrush); - else - SelectObject(hDC, GetStockObject(WHITE_BRUSH)); - Ellipse(hDC, output_pos[k][i].x, output_pos[k][i].y, output_pos[k][i].x+17, output_pos[k][i].y+17); - } - } - } //k - - EndPaint(hWnd, &ps); - break; - case WM_COMMAND: - switch(LOWORD(wParam)) { - case IDM_EXIT: - SendMessage(hWnd, WM_CLOSE, 0, 0L); - break; - - default: - return(DefWindowProc(hWnd, message, wParam, lParam)); - } - break; - case WM_TIMER: - - /* Digital Input */ - hDC=GetDC(hWnd); - for(k=0;k<2;k++) - { - if ( port_a[k]==0) { - DI_ReadPort(card,5*k+Channel_P1A,&inputA[k]); - for (i=0; i<8; i++) { - if (((inputA[k]>>i)&0x01) != ((oldinputA[k]>>i)&0x01) ) - { - if ((inputA[k]>>i)&0x01) - SelectObject(hDC, hRedBrush); - else - SelectObject(hDC, GetStockObject(WHITE_BRUSH)); - Ellipse(hDC, input_pos[k][i].x, input_pos[k][i].y, input_pos[k][i].x+17, input_pos[k][i].y+17); - } - } - oldinputA[k]=inputA[k]; - } - else { - DO_WritePort(card,5*k+Channel_P1A, outputA[k]); - } - - if ( port_b[k]==0){ - DI_ReadPort(card,5*k+Channel_P1B,&inputB[k]); - for (i=0; i<8; i++) { - if( ((inputB[k]>>i)&0x01) != ((oldinputB[k]>>i)&0x01) ) - { - if ((inputB[k]>>i)&0x01) - SelectObject(hDC, hRedBrush); - else - SelectObject(hDC, GetStockObject(WHITE_BRUSH)); - Ellipse(hDC, io_pos[k][i].x, io_pos[k][i].y, io_pos[k][i].x+17, io_pos[k][i].y+17); - } - } - oldinputB[k]=inputB[k]; - } - else { - DO_WritePort(card,5*k+Channel_P1B,outputB[k]); - } - - if ( port_c[k]==0){ - DI_ReadPort(card,5*k+Channel_P1C,&inputC[k]); - for (i=0; i<8; i++) { - if( ((inputC[k]>>i)&0x01) != ((oldinputC[k]>>i)&0x01) ) - { - if ((inputC[k]>>i)&0x01) - SelectObject(hDC, hRedBrush); - else - SelectObject(hDC, GetStockObject(WHITE_BRUSH)); - Ellipse(hDC, output_pos[k][i].x, output_pos[k][i].y, output_pos[k][i].x+17, output_pos[k][i].y+17); - } - } //for - oldinputC[k]=inputC[k]; - } //if - else { - DO_WritePort(card,5*k+Channel_P1C, outputC[k]); - } - } //k - ReleaseDC(hWnd, hDC); - //} - break; - case WM_DESTROY: - if (card >= 0) Release_Card(card); - DeleteObject(hRedBrush); - DeleteObject(hGreenBrush); - DeleteObject(hLTGreenBrush); - KillTimer(hWnd, TIMER); - PostQuitMessage(0); - break; - case WM_LBUTTONDOWN: - px = LOWORD(lParam); - py = HIWORD(lParam); - - for (k=0;k<2;k++ ) - { - if (px>(input_pos[k][0].x+25) && px<(input_pos[k][0].x+41)) - { - if (py>(input_pos[k][0].y-12) && py<(input_pos[k][0].y+7)) - { - port_a[k]=0; - DIO_PortConfig(card,5*k+Channel_P1A, INPUT_PORT); - InvalidateRect(hWnd, NULL, FALSE); - } - else - if (py>(input_pos[k][0].y+7) && py<(input_pos[k][0].y+26)) - { - port_a[k]=1; - DIO_PortConfig(card,5*k+Channel_P1A, OUTPUT_PORT); - InvalidateRect(hWnd, NULL, FALSE); - } - } - if (px>(io_pos[k][0].x+25) && px<(io_pos[k][0].x+41)) - { - if (py>(io_pos[k][0].y-12) && py<(io_pos[k][0].y+7)) - { - port_b[k]=0; - DIO_PortConfig(card,5*k+Channel_P1B, INPUT_PORT); - InvalidateRect(hWnd, NULL, FALSE); - } - else - if (py>(io_pos[k][0].y+7) && py<(io_pos[k][0].y+26)) - { - port_b[k]=1; - DIO_PortConfig(card,5*k+Channel_P1B, OUTPUT_PORT); - InvalidateRect(hWnd, NULL, FALSE); - } - } - if (px>(output_pos[k][0].x+25) && px<(output_pos[k][0].x+41)) - { - if (py>(output_pos[k][0].y-12) && py<(output_pos[k][0].y+7)) - { - port_c[k]=0; - DIO_PortConfig(card,5*k+Channel_P1C, INPUT_PORT); - InvalidateRect(hWnd, NULL, FALSE); - } - else - if (py>(output_pos[k][0].y+7) && py<(output_pos[k][0].y+26)) - { - port_c[k]=1; - DIO_PortConfig(card,5*k+Channel_P1C, OUTPUT_PORT); - InvalidateRect(hWnd, NULL, FALSE); - } - } - }//k - hDC = GetDC(hWnd); - for (k=0;k<2;k++) - { - if ( port_a[k]==1 ){ - for (i=0; i<8; i++) { - if (px>input_pos[k][i].x && pxinput_pos[k][i].y && py>i)&0x01) { - outputA[k] -= (((unsigned char)1)<io_pos[k][i].x && pxio_pos[k][i].y && py>i)&0x01) { - outputB[k] -= (((unsigned char)1)<output_pos[k][i].x && pxoutput_pos[k][i].y && py>i)&0x01) { - outputC[k] -= (((unsigned char)1)< -#include -#include -#include -#include -#include "Dask.h" -#include "Resource.h" - -#define IDC_START 300 -#define IDC_OUTPUT 302 - -HANDLE hInst; /* current instance */ -int int_count=0; -I16 card=-1, card_number = 0; - -HWND hStart, hMainWnd; -HANDLE hEvent[2]; - -int PASCAL WinMain(HANDLE, HANDLE, LPSTR, int); -BOOL InitApplication(HANDLE); -BOOL InitInstance(HANDLE, int); -long PASCAL MainWndProc(HWND, unsigned, WPARAM, LPARAM); - -void -IntThread(void* pArg) -{ - while (1) { - if (WaitForSingleObject(hEvent[0], INFINITE) == WAIT_OBJECT_0) { - int_count++; - ResetEvent(hEvent[0]); - InvalidateRect(hMainWnd, NULL, FALSE); - } - } - _endthread(); -} - - /********************************************************************** - - FUNCTION: WinMain(HANDLE, HANDLE, LPSTR, int) - PURPOSE: calls initialization function, processes message loop - - ***********************************************************************/ - - int PASCAL WinMain(hInstance, hPrevInstance, lpCmdLine, nCmdShow) - HANDLE hInstance; - HANDLE hPrevInstance; - LPSTR lpCmdLine; - int nCmdShow; - { - MSG msg; - - if(!hPrevInstance) - if(!InitApplication(hInstance)) - return(FALSE); - - if(!InitInstance(hInstance, nCmdShow)) - return(FALSE); - - while ( GetMessage(&msg, NULL, NULL, NULL)) - { - TranslateMessage(&msg); - DispatchMessage(&msg); - } - return(msg.wParam); - } - -/**************************************************************************** - - FUNCTION: InitApplication(HANDLE) - - PURPOSE: Initializes window data and registers window class - -****************************************************************************/ - -BOOL InitApplication(hInstance) -HANDLE hInstance; -{ - WNDCLASS wc; - - wc.style = NULL; - wc.lpfnWndProc = MainWndProc; - wc.cbClsExtra = 0; - wc.cbWndExtra = 0; - wc.hInstance = hInstance; - wc.hIcon = LoadIcon(NULL, IDI_APPLICATION); - wc.hCursor = LoadCursor(hInstance, IDC_ARROW); - wc.hbrBackground = GetStockObject(WHITE_BRUSH); - wc.lpszMenuName = "U7348Menu"; - wc.lpszClassName = "IntClass"; - - return (RegisterClass(&wc)); -} - -/**************************************************************************** - - FUNCTION: InitInstance(HANDLE, int) - - PURPOSE: Saves instance handle and creates main window - -****************************************************************************/ - -BOOL InitInstance(hInstance, nCmdShow) -HANDLE hInstance; -int nCmdShow; -{ - HWND hWnd; - - hInst = hInstance; - hWnd = CreateWindow("IntClass", "PCI-7348 Interrupt Sample (INT1)", WS_OVERLAPPEDWINDOW, - 200, 100, 360, 300, NULL, NULL, hInstance, NULL); - if (!hWnd) return (FALSE); - ShowWindow(hWnd, nCmdShow); - UpdateWindow(hWnd); - return (TRUE); -} - -BOOL PASCAL setup(HWND hWnd, unsigned message, WPARAM wParam, LPARAM lParam) -{ - int i; - char n[16]; - char s[50]; - switch (message) { - case WM_INITDIALOG: - for (i=0;i<16;i++) { - wsprintf(n, "%d", i); - _strupr(n); - SendMessage(GetDlgItem(hWnd,IDC_COMBO1), CB_ADDSTRING, NULL, (LONG)(LPSTR) n); - } - SendMessage(GetDlgItem(hWnd,IDC_COMBO1) , CB_SETCURSEL, 0, 0L); - - break; - case WM_COMMAND: - switch(LOWORD(wParam)) { - - case IDC_COMBO1: - if (HIWORD(wParam) == CBN_CLOSEUP) { - i = (int)SendMessage(GetDlgItem(hWnd,IDC_COMBO1), CB_GETCURSEL, 0, 0L); - SendMessage(GetDlgItem(hWnd,IDC_COMBO1), CB_GETLBTEXT, i, (LPARAM)((LPCSTR)n)); - card_number = i; - } - return(TRUE); - case IDOK: - if ((card=Register_Card(PCI_7396, card_number)) < 0) { - wsprintf(s, "Register_Card Error = %d\n", card); - MessageBox(hWnd, s, "Error", MB_OK); - } - EndDialog(hWnd, TRUE); - InvalidateRect(hWnd, NULL, FALSE); - return (TRUE); - case IDCANCEL: - EndDialog(hWnd, TRUE); - return (TRUE); - } - break; - } - return (FALSE); -} -/**************************************************************************** - - FUNCTION: MainWndProc(HWND, UINT, WPARAM, LPARAM) - - PURPOSE: Processes messages - - -****************************************************************************/ - -long PASCAL MainWndProc(hWnd, message, wParam, lParam) -HWND hWnd; -unsigned message; -WPARAM wParam; -LPARAM lParam; -{ - PAINTSTRUCT ps; - HDC hDC; - char buf[20]; - - switch(message) { - case WM_CREATE: - DialogBox(hInst,IDD_DIALOG2, hWnd, setup); - if(card<0) { - SendMessage(hWnd, WM_CLOSE, 0, 0L); - break; - } - CreateWindow("BUTTON", "Output", WS_CHILD | WS_VISIBLE, - 130, 200, 72, 24, hWnd, IDC_OUTPUT, hInst, NULL); - DIO_PortConfig(card,Channel_P1, INPUT_PORT); - DIO_PortConfig(card,Channel_P2, OUTPUT_PORT); - DIO_SetCOSInterrupt(card, Channel_P1, 1, 1, 1); - DIO_SetCOSInterrupt(card, Channel_P2, 0, 0, 0); - DIO_SetCOSInterrupt(card, Channel_P3, 0, 0, 0); - DIO_SetCOSInterrupt(card, Channel_P4, 0, 0, 0); - DIO_SetDualInterrupt(card, INT1_COS, INT2_DISABLE, hEvent); - - hMainWnd = hWnd; - _beginthread(IntThread, 0, 0); - break; - case WM_PAINT: - hDC = BeginPaint(hWnd, &ps); - TextOut(hDC, 20, 30, "This program shows the number of occurrence", 43); - TextOut(hDC, 20, 45, "of COS INT1 interupt. COS INT1 interrupt is", 43); - TextOut(hDC, 20, 60, "generated by external signal from DI Port 1.", 44); - TextOut(hDC, 20, 75, "If you connect P1 to P2, press 'Output' button", 46); - TextOut(hDC, 20, 90, "can generate an interrupt.", 26); - wsprintf(buf,"INT count = %d", int_count); - TextOut(hDC, 120, 140, buf, strlen(buf)); - EndPaint(hWnd, &ps); - break; - case WM_COMMAND: - switch(LOWORD(wParam)) { - case IDM_EXIT: - DIO_SetDualInterrupt(card, INT1_DISABLE, INT2_DISABLE, hEvent); - SendMessage(hWnd, WM_CLOSE, 0, 0L); - break; - case IDC_OUTPUT: - DO_WritePort(card,Channel_P2, 0x1); - Sleep(1); - DO_WritePort(card,Channel_P2, 0x0); - break; - } - break; - case WM_DESTROY: - if (card >= 0) Release_Card(card); - PostQuitMessage(0); - break; - default: - return (DefWindowProc(hWnd, message, wParam, lParam)); - } - return(0L); -} - \ No newline at end of file diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7348/Sdk7348COSi/7348int.exe b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7348/Sdk7348COSi/7348int.exe deleted file mode 100644 index f3dd955..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7348/Sdk7348COSi/7348int.exe and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7348/Sdk7348COSi/7348int.mak b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7348/Sdk7348COSi/7348int.mak deleted file mode 100644 index 308834e..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7348/Sdk7348COSi/7348int.mak +++ /dev/null @@ -1,219 +0,0 @@ -# Microsoft Developer Studio Generated NMAKE File, Format Version 4.00 -# ** DO NOT EDIT ** - -# TARGTYPE "Win32 (x86) Application" 0x0101 - -!IF "$(CFG)" == "" -CFG=7348int - Win32 Debug -!MESSAGE No configuration specified. Defaulting to 7348int - Win32 Debug. -!ENDIF - -!IF "$(CFG)" != "7348int - Win32 Release" && "$(CFG)" !=\ - "7348int - Win32 Debug" -!MESSAGE Invalid configuration "$(CFG)" specified. -!MESSAGE You can specify a configuration when running NMAKE on this makefile -!MESSAGE by defining the macro CFG on the command line. For example: -!MESSAGE -!MESSAGE NMAKE /f "7348int.mak" CFG="7348int - Win32 Debug" -!MESSAGE -!MESSAGE Possible choices for configuration are: -!MESSAGE -!MESSAGE "7348int - Win32 Release" (based on "Win32 (x86) Application") -!MESSAGE "7348int - Win32 Debug" (based on "Win32 (x86) Application") -!MESSAGE -!ERROR An invalid configuration is specified. -!ENDIF - -!IF "$(OS)" == "Windows_NT" -NULL= -!ELSE -NULL=nul -!ENDIF -################################################################################ -# Begin Project -# PROP Target_Last_Scanned "7348int - Win32 Debug" -CPP=cl.exe -RSC=rc.exe -MTL=mktyplib.exe - -!IF "$(CFG)" == "7348int - Win32 Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "Release" -# PROP BASE Intermediate_Dir "Release" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "" -# PROP Intermediate_Dir "Release" -# PROP Target_Dir "" -OUTDIR=. -INTDIR=.\Release - -ALL : "$(OUTDIR)\7348int.exe" - -CLEAN : - -@erase ".\7348int.exe" - -@erase ".\Release\7348int.obj" - -@erase ".\Release\7348int.res" - -"$(INTDIR)" : - if not exist "$(INTDIR)/$(NULL)" mkdir "$(INTDIR)" - -# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /YX /c -# ADD CPP /nologo /MT /W3 /GX /Od /I "..\..\..\include" /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /c -# SUBTRACT CPP /YX -CPP_PROJ=/nologo /MT /W3 /GX /Od /I "..\..\..\include" /D "WIN32" /D "NDEBUG"\ - /D "_WINDOWS" /Fo"$(INTDIR)/" /c -CPP_OBJS=.\Release/ -CPP_SBRS= -# ADD BASE MTL /nologo /D "NDEBUG" /win32 -# ADD MTL /nologo /D "NDEBUG" /win32 -MTL_PROJ=/nologo /D "NDEBUG" /win32 -# ADD BASE RSC /l 0x404 /d "NDEBUG" -# ADD RSC /l 0x404 /d "NDEBUG" -RSC_PROJ=/l 0x404 /fo"$(INTDIR)/7348int.res" /d "NDEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -BSC32_FLAGS=/nologo /o"$(OUTDIR)/7348int.bsc" -BSC32_SBRS= -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:windows /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ..\..\..\lib\PCI-DASK.lib /nologo /subsystem:windows /machine:I386 -LINK32_FLAGS=kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib\ - advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib\ - odbccp32.lib ..\..\..\lib\PCI-DASK.lib /nologo /subsystem:windows\ - /incremental:no /pdb:"$(OUTDIR)/7348int.pdb" /machine:I386\ - /out:"$(OUTDIR)/7348int.exe" -LINK32_OBJS= \ - "$(INTDIR)/7348int.obj" \ - "$(INTDIR)/7348int.res" - -"$(OUTDIR)\7348int.exe" : "$(OUTDIR)" $(DEF_FILE) $(LINK32_OBJS) - $(LINK32) @<< - $(LINK32_FLAGS) $(LINK32_OBJS) -<< - -!ELSEIF "$(CFG)" == "7348int - Win32 Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "Debug" -# PROP BASE Intermediate_Dir "Debug" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "" -# PROP Intermediate_Dir "Debug" -# PROP Target_Dir "" -OUTDIR=. -INTDIR=.\Debug - -ALL : "$(OUTDIR)\7348int.exe" - -CLEAN : - -@erase ".\Debug\vc40.pdb" - -@erase ".\Debug\vc40.idb" - -@erase ".\7348int.exe" - -@erase ".\Debug\7348int.obj" - -@erase ".\Debug\7348int.res" - -@erase ".\7348int.ilk" - -@erase ".\7348int.pdb" - -"$(INTDIR)" : - if not exist "$(INTDIR)/$(NULL)" mkdir "$(INTDIR)" - -# ADD BASE CPP /nologo /W3 /Gm /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /YX /c -# ADD CPP /nologo /MTd /W3 /Gm /GX /Zi /Od /I "..\..\..\include" /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /c -# SUBTRACT CPP /YX -CPP_PROJ=/nologo /MTd /W3 /Gm /GX /Zi /Od /I "..\..\..\include" /D "WIN32" /D\ - "_DEBUG" /D "_WINDOWS" /Fo"$(INTDIR)/" /Fd"$(INTDIR)/" /c -CPP_OBJS=.\Debug/ -CPP_SBRS= -# ADD BASE MTL /nologo /D "_DEBUG" /win32 -# ADD MTL /nologo /D "_DEBUG" /win32 -MTL_PROJ=/nologo /D "_DEBUG" /win32 -# ADD BASE RSC /l 0x404 /d "_DEBUG" -# ADD RSC /l 0x404 /d "_DEBUG" -RSC_PROJ=/l 0x404 /fo"$(INTDIR)/7348int.res" /d "_DEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -BSC32_FLAGS=/nologo /o"$(OUTDIR)/7348int.bsc" -BSC32_SBRS= -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:windows /debug /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ..\..\..\lib\PCI-DASK.lib /nologo /subsystem:windows /debug /machine:I386 -LINK32_FLAGS=kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib\ - advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib\ - odbccp32.lib ..\..\..\lib\PCI-DASK.lib /nologo /subsystem:windows\ - /incremental:yes /pdb:"$(OUTDIR)/7348int.pdb" /debug /machine:I386\ - /out:"$(OUTDIR)/7348int.exe" -LINK32_OBJS= \ - "$(INTDIR)/7348int.obj" \ - "$(INTDIR)/7348int.res" - -"$(OUTDIR)\7348int.exe" : "$(OUTDIR)" $(DEF_FILE) $(LINK32_OBJS) - $(LINK32) @<< - $(LINK32_FLAGS) $(LINK32_OBJS) -<< - -!ENDIF - -.c{$(CPP_OBJS)}.obj: - $(CPP) $(CPP_PROJ) $< - -.cpp{$(CPP_OBJS)}.obj: - $(CPP) $(CPP_PROJ) $< - -.cxx{$(CPP_OBJS)}.obj: - $(CPP) $(CPP_PROJ) $< - -.c{$(CPP_SBRS)}.sbr: - $(CPP) $(CPP_PROJ) $< - -.cpp{$(CPP_SBRS)}.sbr: - $(CPP) $(CPP_PROJ) $< - -.cxx{$(CPP_SBRS)}.sbr: - $(CPP) $(CPP_PROJ) $< - -################################################################################ -# Begin Target - -# Name "7348int - Win32 Release" -# Name "7348int - Win32 Debug" - -!IF "$(CFG)" == "7348int - Win32 Release" - -!ELSEIF "$(CFG)" == "7348int - Win32 Debug" - -!ENDIF - -################################################################################ -# Begin Source File - -SOURCE=.\7348int.c -DEP_CPP_7348I=\ - ".\..\..\..\include\Dask.h"\ - - -"$(INTDIR)\7348int.obj" : $(SOURCE) $(DEP_CPP_7348I) "$(INTDIR)" - - -# End Source File -################################################################################ -# Begin Source File - -SOURCE=.\7348int.rc - -"$(INTDIR)\7348int.res" : $(SOURCE) "$(INTDIR)" - $(RSC) $(RSC_PROJ) $(SOURCE) - - -# End Source File -# End Target -# End Project -################################################################################ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7348/Sdk7348COSi/7348int.mdp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7348/Sdk7348COSi/7348int.mdp deleted file mode 100644 index 43bed56..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7348/Sdk7348COSi/7348int.mdp and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7348/Sdk7348COSi/7348int.rc b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7348/Sdk7348COSi/7348int.rc deleted file mode 100644 index 42e0fa1..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7348/Sdk7348COSi/7348int.rc +++ /dev/null @@ -1,115 +0,0 @@ -//Microsoft Developer Studio generated resource script. -// -#include "resource.h" - -#define APSTUDIO_READONLY_SYMBOLS -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 2 resource. -// -#define APSTUDIO_HIDDEN_SYMBOLS -#include "windows.h" -#undef APSTUDIO_HIDDEN_SYMBOLS - -///////////////////////////////////////////////////////////////////////////// -#undef APSTUDIO_READONLY_SYMBOLS - -///////////////////////////////////////////////////////////////////////////// -// English (U.S.) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -#ifdef _WIN32 -LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US -#pragma code_page(1252) -#endif //_WIN32 - -#ifdef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// TEXTINCLUDE -// - -1 TEXTINCLUDE DISCARDABLE -BEGIN - "resource.h\0" -END - -2 TEXTINCLUDE DISCARDABLE -BEGIN - "#define APSTUDIO_HIDDEN_SYMBOLS\r\n" - "#include ""windows.h""\r\n" - "#undef APSTUDIO_HIDDEN_SYMBOLS\r\n" - "\0" -END - -3 TEXTINCLUDE DISCARDABLE -BEGIN - "\r\n" - "\0" -END - -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// Menu -// - -U7348MENU MENU DISCARDABLE -BEGIN - MENUITEM "E&xit!", IDM_EXIT -END - - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog -// - -IDD_DIALOG2 DIALOG DISCARDABLE 110, 10, 106, 61 -STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "Card Number" -FONT 10, "System" -BEGIN - DEFPUSHBUTTON "OK",IDOK,10,40,37,14 - PUSHBUTTON "Cancel",IDCANCEL,61,40,38,14 - LTEXT "Card Number",IDC_STATIC,3,13,47,13 - COMBOBOX IDC_COMBO1,51,13,48,84,CBS_DROPDOWN | WS_VSCROLL | - WS_TABSTOP -END - - -///////////////////////////////////////////////////////////////////////////// -// -// DESIGNINFO -// - -#ifdef APSTUDIO_INVOKED -GUIDELINES DESIGNINFO DISCARDABLE -BEGIN - IDD_DIALOG2, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 99 - TOPMARGIN, 7 - BOTTOMMARGIN, 54 - END -END -#endif // APSTUDIO_INVOKED - -#endif // English (U.S.) resources -///////////////////////////////////////////////////////////////////////////// - - - -#ifndef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 3 resource. -// - - -///////////////////////////////////////////////////////////////////////////// -#endif // not APSTUDIO_INVOKED - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7348/Sdk7348COSi/resource.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7348/Sdk7348COSi/resource.h deleted file mode 100644 index 5d7db0c..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7348/Sdk7348COSi/resource.h +++ /dev/null @@ -1,30 +0,0 @@ -//{{NO_DEPENDENCIES}} -// Microsoft Developer Studio generated include file. -// Used by 7348int.rc -// -#define IDM_SETUP 101 -#define IDD_DIALOG1 101 -#define IDD_DIALOG2 102 -#define IDM_EXIT 110 -#define IDM_GO 300 -#define IDM_ABOUT 301 -#define DMA_DATA 302 -#define ID_STOP 304 -#define IDM_CLEAR 305 -#define DMA_SPACE 500 -#define IDC_COMBO1 1004 -#define IDC_COMBO2 1005 -#define IDC_EDIT1 1007 -#define IDC_EDIT2 1008 -#define IDC_STATIC -1 - -// Next default values for new objects -// -#ifdef APSTUDIO_INVOKED -#ifndef APSTUDIO_READONLY_SYMBOLS -#define _APS_NEXT_RESOURCE_VALUE 103 -#define _APS_NEXT_COMMAND_VALUE 102 -#define _APS_NEXT_CONTROL_VALUE 1008 -#define _APS_NEXT_SYMED_VALUE 101 -#endif -#endif diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7348/Sdk7348DbEvt/7348INT.RC b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7348/Sdk7348DbEvt/7348INT.RC deleted file mode 100644 index 7281e15..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7348/Sdk7348DbEvt/7348INT.RC +++ /dev/null @@ -1,125 +0,0 @@ -//Microsoft Developer Studio generated resource script. -// -#include "resource.h" - -#define APSTUDIO_READONLY_SYMBOLS -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 2 resource. -// -#define APSTUDIO_HIDDEN_SYMBOLS -#include "windows.h" -#undef APSTUDIO_HIDDEN_SYMBOLS - -///////////////////////////////////////////////////////////////////////////// -#undef APSTUDIO_READONLY_SYMBOLS - -///////////////////////////////////////////////////////////////////////////// -// English (U.S.) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -#ifdef _WIN32 -LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US -#pragma code_page(1252) -#endif //_WIN32 - -#ifdef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// TEXTINCLUDE -// - -1 TEXTINCLUDE DISCARDABLE -BEGIN - "resource.h\0" -END - -2 TEXTINCLUDE DISCARDABLE -BEGIN - "#define APSTUDIO_HIDDEN_SYMBOLS\r\n" - "#include ""windows.h""\r\n" - "#undef APSTUDIO_HIDDEN_SYMBOLS\r\n" - "\0" -END - -3 TEXTINCLUDE DISCARDABLE -BEGIN - "\r\n" - "\0" -END - -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// Menu -// - -INTMENU MENU DISCARDABLE -BEGIN - MENUITEM "Setup", IDM_SETUP - MENUITEM "Interrupt Trigger", IDM_GO - MENUITEM "Exit", IDM_CLEAR -END - - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog -// - -IDD_DIALOG1 DIALOG DISCARDABLE 0, 0, 133, 105 -STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "Setup Dialog" -FONT 10, "System" -BEGIN - DEFPUSHBUTTON "OK",IDOK,7,86,47,14 - PUSHBUTTON "Cancel",IDCANCEL,72,86,45,14 - LTEXT "Total Count",IDC_STATIC,7,33,53,12 - LTEXT "Sampling Rate",IDC_STATIC,7,59,53,12 - EDITTEXT IDC_EDIT1,60,32,63,15,ES_AUTOHSCROLL - EDITTEXT IDC_EDIT2,60,56,63,15,ES_AUTOHSCROLL - LTEXT "Card Number",IDC_STATIC,7,12,48,13 - COMBOBOX IDC_COMBO1,60,12,63,84,CBS_DROPDOWN | WS_VSCROLL | - WS_TABSTOP -END - - -///////////////////////////////////////////////////////////////////////////// -// -// DESIGNINFO -// - -#ifdef APSTUDIO_INVOKED -GUIDELINES DESIGNINFO DISCARDABLE -BEGIN - IDD_DIALOG1, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 123 - VERTGUIDE, 7 - VERTGUIDE, 60 - TOPMARGIN, 4 - BOTTOMMARGIN, 100 - HORZGUIDE, 71 - HORZGUIDE, 87 - END -END -#endif // APSTUDIO_INVOKED - -#endif // English (U.S.) resources -///////////////////////////////////////////////////////////////////////////// - - - -#ifndef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 3 resource. -// - - -///////////////////////////////////////////////////////////////////////////// -#endif // not APSTUDIO_INVOKED - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7348/Sdk7348DbEvt/7348int.c b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7348/Sdk7348DbEvt/7348int.c deleted file mode 100644 index 830569d..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7348/Sdk7348DbEvt/7348int.c +++ /dev/null @@ -1,356 +0,0 @@ -/*;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; -;; Copyright (c) 1995-1999, ADLink Technology Inc. All rights reserved. ;; -;; ;; -;; File Name : 7348int.C ;; -;; Purpose : This sample program demonstrates DIO through ;; -;; interrupt operation ;; -;; Date : 07/20/1999 ;; -;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;*/ - - #include - #include - #include - #include - #include "Dask.h" - #include "resource.h" - - #define IDM_SETUP 101 - #define IDD_DIALOG1 101 - #define IDM_EXIT 110 - #define IDM_GO 300 - #define IDM_CLEAR 305 - #define IDC_COMBO1 1004 - #define IDC_EDIT1 1007 - #define IDC_EDIT2 1008 - - - HANDLE hInst; /* current instance */ - HANDLE hIntEvent[2]; - HWND hMainWnd; - - I16 card=-1, card_number = 0; - long hThread = -1; - - int total_count =40, int_count; - int sample_rate=20000; - unsigned int buffer[32768], in_buffer[32768]; - char Buf[80]; - int c1=10,c2=10; - - int PASCAL WinMain(HANDLE, HANDLE, LPSTR, int); - BOOL InitApplication(HANDLE); - BOOL InitInstance(HANDLE, int); - long PASCAL MainWndProc(HWND, unsigned, WPARAM, LPARAM); - BOOL PASCAL About(HWND, unsigned, WPARAM, LPARAM); - BOOL PASCAL ShowDMA(HWND, unsigned, WPARAM, LPARAM); - - void - IntThread(void* pArg) - { - while (1) { - if (WaitForSingleObject(hIntEvent[0], INFINITE) == WAIT_OBJECT_0) { - int_count++; - ResetEvent(hIntEvent[0]); - InvalidateRect(hMainWnd, NULL, FALSE); - } - } - _endthread(); - } - - /********************************************************************** - - FUNCTION: WinMain(HANDLE, HANDLE, LPSTR, int) - PURPOSE: calls initialization function, processes message loop - - ***********************************************************************/ - - int PASCAL WinMain(hInstance, hPrevInstance, lpCmdLine, nCmdShow) - - HANDLE hInstance; - HANDLE hPrevInstance; - LPSTR lpCmdLine; - int nCmdShow; - - { - MSG msg; - - if(!hPrevInstance) - if(!InitApplication(hInstance)) - return(FALSE); - - if(!InitInstance(hInstance, nCmdShow)) - return(FALSE); - - while ( GetMessage(&msg, NULL, NULL, NULL)) - { - TranslateMessage(&msg); - DispatchMessage(&msg); - } - return(msg.wParam); - } - -/**************************************************************************** - - FUNCTION: InitApplication(HANDLE) - - PURPOSE: Initializes window data and registers window class - -****************************************************************************/ - -BOOL InitApplication(hInstance) -HANDLE hInstance; -{ - WNDCLASS wc; - - wc.style = NULL; - wc.lpfnWndProc = MainWndProc; - wc.cbClsExtra = 0; - wc.cbWndExtra = 0; - wc.hInstance = hInstance; - wc.hIcon = LoadIcon(NULL, IDI_APPLICATION); - wc.hCursor = LoadCursor(hInstance, IDC_ARROW); - wc.hbrBackground = GetStockObject(WHITE_BRUSH); - wc.lpszMenuName = "IntMenu"; - wc.lpszClassName = "IntClass"; - - return (RegisterClass(&wc)); -} - -/**************************************************************************** - - FUNCTION: InitInstance(HANDLE, int) - - PURPOSE: Saves instance handle and creates main window - -****************************************************************************/ - -BOOL InitInstance(hInstance, nCmdShow) -HANDLE hInstance; -int nCmdShow; -{ - HWND hWnd; - - hInst = hInstance; - hWnd = CreateWindow("IntClass", - "PCI-7348 Dual Interrupt Sample", - WS_OVERLAPPEDWINDOW, - 200, - 100, - 400, - 370, - NULL, - NULL, - hInstance, - NULL); - - if (!hWnd) return (FALSE); - ShowWindow(hWnd, nCmdShow); - UpdateWindow(hWnd); - return (TRUE); -} - - -BOOL PASCAL setup(HWND hWnd, unsigned message, WPARAM wParam, LPARAM lParam) -{ - int i,k=0; - char n[16]; - char s[100]; - BOOL ok; - - - switch (message) { - case WM_INITDIALOG: - for (i=0;i<16;i++) { - wsprintf(n, "%d", i); - _strupr(n); - SendMessage(GetDlgItem(hWnd,IDC_COMBO1), CB_ADDSTRING, NULL, (LONG)(LPSTR) n); - } - SendMessage(GetDlgItem(hWnd,IDC_COMBO1) , CB_SETCURSEL, 0, 0L); - if(card >=0) - EnableWindow(GetDlgItem(hWnd,IDC_COMBO1), FALSE); - SendMessage(GetDlgItem(hWnd,IDC_EDIT2) , WM_SETTEXT, 0, "10000"); - SendMessage(GetDlgItem(hWnd,IDC_EDIT1) , WM_SETTEXT, 0, "40"); - - break; - case WM_COMMAND: - switch(LOWORD(wParam)) { - case IDC_COMBO1: - if (HIWORD(wParam) == CBN_CLOSEUP) { - i = (int)SendMessage(GetDlgItem(hWnd,IDC_COMBO1), CB_GETCURSEL, 0, 0L); - SendMessage(GetDlgItem(hWnd,IDC_COMBO1), CB_GETLBTEXT, i, (LPARAM)((LPCSTR)n)); - card_number = i; - } - return(TRUE); - case IDOK: - if(card <0) { - if ((card=Register_Card(PCI_7396, card_number))< 0) { - wsprintf(s, "Register_Card Error = %d\n", card); - MessageBox(hWnd, s, "Error", MB_OK); - EndDialog(hWnd, TRUE); - break; - } - DIO_PortConfig(card,Channel_P1A, INPUT_PORT); - DIO_PortConfig(card,Channel_P2A, OUTPUT_PORT); - DIO_PortConfig(card,Channel_P1C, INPUT_PORT); - DIO_PortConfig(card,Channel_P2C, OUTPUT_PORT); - DIO_SetDualInterrupt(card, INT1_FP1C0, INT2_TIMER_COUNTER, hIntEvent); - } - total_count = GetDlgItemInt(hWnd,IDC_EDIT1, &ok, FALSE); - if(total_count > 32768) { - MessageBox(hWnd,"Count can be assigned at most 32768", "INT", MB_OK); - break; - } - for (i=0;i255) k=0; - } - for (i=0;i 15000 ) sample_rate=15000; - c2=2000000/(sample_rate*c1); - hMainWnd = hWnd; - _beginthread(IntThread, 0, 0); - if(hThread<0) - hThread = _beginthread(IntThread, 0, 0); - EndDialog(hWnd, TRUE); - return (TRUE); - case IDCANCEL: - EndDialog(hWnd, TRUE); - return (TRUE); - } - break; - } - return (FALSE); -} - -/**************************************************************************** - - FUNCTION: MainWndProc(HWND, UINT, WPARAM, LPARAM) - - PURPOSE: Processes messages - - -****************************************************************************/ - -long PASCAL MainWndProc(hWnd, message, wParam, lParam) -HWND hWnd; -unsigned message; -WPARAM wParam; -LPARAM lParam; -{ - int i, k; - int cur_count=0; - HDC hDC, hDC1; - PAINTSTRUCT ps; - FARPROC lpProc; - - - switch(message) { - - case WM_CREATE: - break; - case WM_PAINT: - hDC1=BeginPaint(hWnd, &ps); - wsprintf(Buf,"This program demostrates how to use dual interrupt line."); - TextOut(hDC1,20,10,Buf,strlen(Buf)); - wsprintf(Buf,"The IRQ source of INT1 is P1C0."); - TextOut(hDC1,20,30,Buf,strlen(Buf)); - wsprintf(Buf," The IRQ source of INT2 is internal Timer Output"); - TextOut(hDC1,20,50,Buf,strlen(Buf)); - SetTextColor(hDC1, RGB(255,0,0)); - wsprintf(Buf,"Using cable to connect P1 and P2"); - TextOut(hDC1,20,70,Buf,strlen(Buf)); - wsprintf(Buf,"Push 'Setup' button first ..."); - TextOut(hDC1,20,90,Buf,strlen(Buf)); - EndPaint(hWnd, &ps); - break; - case WM_COMMAND: - switch(wParam) { - case IDM_SETUP: - lpProc = MakeProcInstance(setup, hInst); - DialogBox(hInst,IDD_DIALOG1,hWnd,lpProc); - FreeProcInstance(lpProc); - if(card<0) - SendMessage(hWnd, WM_CLOSE, 0, 0L); - break; - - case IDM_GO: - // Interrupt Trigger - hDC=GetDC(hWnd); - CTR_Setup (card, 1, RATE_GENERATOR, c1, BIN); - CTR_Setup (card, 2, RATE_GENERATOR, c2, BIN); - k=0; i=0;int_count = 0; - while (k=10 && i<20) { - wsprintf(Buf,"%d, ",in_buffer[i]); - TextOut(hDC,20+25*(i-10),220,Buf,strlen(Buf)); - } - if(i>=20 && i<30) { - wsprintf(Buf,"%d, ",in_buffer[i]); - TextOut(hDC,20+25*(i-20),245,Buf,strlen(Buf)); - } - if (i>=30 && i<40) { - wsprintf(Buf,"%d, ",in_buffer[i]); - TextOut(hDC,20+25*(i-30),270,Buf,strlen(Buf)); - } - if (i>=40 && i<50) { - wsprintf(Buf,"%d, ",in_buffer[i]); - TextOut(hDC,20+25*(i-40),295,Buf,strlen(Buf)); - } - } - ReleaseDC(hWnd, hDC); - break; - - case IDM_CLEAR : - if(card >=0) { - DIO_SetDualInterrupt(card, INT1_DISABLE, INT2_DISABLE, hIntEvent); - for (i=0; i<2; i++) { - if(hIntEvent[i]) - ResetEvent(hIntEvent[i]); - } - } - PostQuitMessage(0); - break; - } - break; - - case WM_DESTROY: - if (card >= 0) Release_Card(card); - PostQuitMessage(0); - break; - - default: - return (DefWindowProc(hWnd, message, wParam, lParam)); - } - return(0L); -} - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7348/Sdk7348DbEvt/7348int.exe b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7348/Sdk7348DbEvt/7348int.exe deleted file mode 100644 index dbc3725..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7348/Sdk7348DbEvt/7348int.exe and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7348/Sdk7348DbEvt/7348int.mak b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7348/Sdk7348DbEvt/7348int.mak deleted file mode 100644 index e16ad5e..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7348/Sdk7348DbEvt/7348int.mak +++ /dev/null @@ -1,219 +0,0 @@ -# Microsoft Developer Studio Generated NMAKE File, Format Version 4.00 -# ** DO NOT EDIT ** - -# TARGTYPE "Win32 (x86) Application" 0x0101 - -!IF "$(CFG)" == "" -CFG=7348int - Win32 Debug -!MESSAGE No configuration specified. Defaulting to 7348int - Win32 Debug. -!ENDIF - -!IF "$(CFG)" != "7348int - Win32 Release" && "$(CFG)" !=\ - "7348int - Win32 Debug" -!MESSAGE Invalid configuration "$(CFG)" specified. -!MESSAGE You can specify a configuration when running NMAKE on this makefile -!MESSAGE by defining the macro CFG on the command line. For example: -!MESSAGE -!MESSAGE NMAKE /f "7348INT.MAK" CFG="7348int - Win32 Debug" -!MESSAGE -!MESSAGE Possible choices for configuration are: -!MESSAGE -!MESSAGE "7348int - Win32 Release" (based on "Win32 (x86) Application") -!MESSAGE "7348int - Win32 Debug" (based on "Win32 (x86) Application") -!MESSAGE -!ERROR An invalid configuration is specified. -!ENDIF - -!IF "$(OS)" == "Windows_NT" -NULL= -!ELSE -NULL=nul -!ENDIF -################################################################################ -# Begin Project -# PROP Target_Last_Scanned "7348int - Win32 Debug" -CPP=cl.exe -RSC=rc.exe -MTL=mktyplib.exe - -!IF "$(CFG)" == "7348int - Win32 Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "Release" -# PROP BASE Intermediate_Dir "Release" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "" -# PROP Intermediate_Dir "Release" -# PROP Target_Dir "" -OUTDIR=. -INTDIR=.\Release - -ALL : "$(OUTDIR)\7348INT.exe" - -CLEAN : - -@erase ".\7348INT.exe" - -@erase ".\Release\7348int.obj" - -@erase ".\Release\7348int.res" - -"$(INTDIR)" : - if not exist "$(INTDIR)/$(NULL)" mkdir "$(INTDIR)" - -# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /YX /c -# ADD CPP /nologo /MT /W3 /GX /Od /I "..\..\..\include" /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /c -# SUBTRACT CPP /YX -CPP_PROJ=/nologo /MT /W3 /GX /Od /I "..\..\..\include" /D "WIN32" /D "NDEBUG"\ - /D "_WINDOWS" /Fo"$(INTDIR)/" /c -CPP_OBJS=.\Release/ -CPP_SBRS= -# ADD BASE MTL /nologo /D "NDEBUG" /win32 -# ADD MTL /nologo /D "NDEBUG" /win32 -MTL_PROJ=/nologo /D "NDEBUG" /win32 -# ADD BASE RSC /l 0x409 /d "NDEBUG" -# ADD RSC /l 0x409 /d "NDEBUG" -RSC_PROJ=/l 0x409 /fo"$(INTDIR)/7348int.res" /d "NDEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -BSC32_FLAGS=/nologo /o"$(OUTDIR)/7348INT.bsc" -BSC32_SBRS= -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:windows /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ..\..\..\lib\pci-dask.lib /nologo /subsystem:windows /machine:I386 -LINK32_FLAGS=kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib\ - advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib\ - odbccp32.lib ..\..\..\lib\pci-dask.lib /nologo /subsystem:windows\ - /incremental:no /pdb:"$(OUTDIR)/7348INT.pdb" /machine:I386\ - /out:"$(OUTDIR)/7348INT.exe" -LINK32_OBJS= \ - "$(INTDIR)/7348int.obj" \ - "$(INTDIR)/7348int.res" - -"$(OUTDIR)\7348INT.exe" : "$(OUTDIR)" $(DEF_FILE) $(LINK32_OBJS) - $(LINK32) @<< - $(LINK32_FLAGS) $(LINK32_OBJS) -<< - -!ELSEIF "$(CFG)" == "7348int - Win32 Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "Debug" -# PROP BASE Intermediate_Dir "Debug" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "Debug" -# PROP Intermediate_Dir "Debug" -# PROP Target_Dir "" -OUTDIR=.\Debug -INTDIR=.\Debug - -ALL : "$(OUTDIR)\7348INT.exe" - -CLEAN : - -@erase ".\Debug\vc40.pdb" - -@erase ".\Debug\vc40.idb" - -@erase ".\Debug\7348INT.exe" - -@erase ".\Debug\7348int.obj" - -@erase ".\Debug\7348int.res" - -@erase ".\Debug\7348INT.ilk" - -@erase ".\Debug\7348INT.pdb" - -"$(OUTDIR)" : - if not exist "$(OUTDIR)/$(NULL)" mkdir "$(OUTDIR)" - -# ADD BASE CPP /nologo /W3 /Gm /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /YX /c -# ADD CPP /nologo /MTd /W3 /Gm /GX /Zi /Od /I "..\..\..\include" /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /c -# SUBTRACT CPP /YX -CPP_PROJ=/nologo /MTd /W3 /Gm /GX /Zi /Od /I "..\..\..\include" /D "WIN32" /D\ - "_DEBUG" /D "_WINDOWS" /Fo"$(INTDIR)/" /Fd"$(INTDIR)/" /c -CPP_OBJS=.\Debug/ -CPP_SBRS= -# ADD BASE MTL /nologo /D "_DEBUG" /win32 -# ADD MTL /nologo /D "_DEBUG" /win32 -MTL_PROJ=/nologo /D "_DEBUG" /win32 -# ADD BASE RSC /l 0x409 /d "_DEBUG" -# ADD RSC /l 0x409 /d "_DEBUG" -RSC_PROJ=/l 0x409 /fo"$(INTDIR)/7348int.res" /d "_DEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -BSC32_FLAGS=/nologo /o"$(OUTDIR)/7348INT.bsc" -BSC32_SBRS= -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:windows /debug /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ..\..\..\lib\pci-dask.lib /nologo /subsystem:windows /debug /machine:I386 -LINK32_FLAGS=kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib\ - advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib\ - odbccp32.lib ..\..\..\lib\pci-dask.lib /nologo /subsystem:windows\ - /incremental:yes /pdb:"$(OUTDIR)/7348INT.pdb" /debug /machine:I386\ - /out:"$(OUTDIR)/7348INT.exe" -LINK32_OBJS= \ - "$(INTDIR)/7348int.obj" \ - "$(INTDIR)/7348int.res" - -"$(OUTDIR)\7348INT.exe" : "$(OUTDIR)" $(DEF_FILE) $(LINK32_OBJS) - $(LINK32) @<< - $(LINK32_FLAGS) $(LINK32_OBJS) -<< - -!ENDIF - -.c{$(CPP_OBJS)}.obj: - $(CPP) $(CPP_PROJ) $< - -.cpp{$(CPP_OBJS)}.obj: - $(CPP) $(CPP_PROJ) $< - -.cxx{$(CPP_OBJS)}.obj: - $(CPP) $(CPP_PROJ) $< - -.c{$(CPP_SBRS)}.sbr: - $(CPP) $(CPP_PROJ) $< - -.cpp{$(CPP_SBRS)}.sbr: - $(CPP) $(CPP_PROJ) $< - -.cxx{$(CPP_SBRS)}.sbr: - $(CPP) $(CPP_PROJ) $< - -################################################################################ -# Begin Target - -# Name "7348int - Win32 Release" -# Name "7348int - Win32 Debug" - -!IF "$(CFG)" == "7348int - Win32 Release" - -!ELSEIF "$(CFG)" == "7348int - Win32 Debug" - -!ENDIF - -################################################################################ -# Begin Source File - -SOURCE=.\7348int.rc - -"$(INTDIR)\7348int.res" : $(SOURCE) "$(INTDIR)" - $(RSC) $(RSC_PROJ) $(SOURCE) - - -# End Source File -################################################################################ -# Begin Source File - -SOURCE=.\7348int.c -DEP_CPP_7348I=\ - ".\..\..\..\include\Dask.h"\ - - -"$(INTDIR)\7348int.obj" : $(SOURCE) $(DEP_CPP_7348I) "$(INTDIR)" - - -# End Source File -# End Target -# End Project -################################################################################ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7348/Sdk7348DbEvt/7348int.mdp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7348/Sdk7348DbEvt/7348int.mdp deleted file mode 100644 index 8331c4d..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7348/Sdk7348DbEvt/7348int.mdp and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7348/Sdk7348DbEvt/Resource.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7348/Sdk7348DbEvt/Resource.h deleted file mode 100644 index 5a22550..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7348/Sdk7348DbEvt/Resource.h +++ /dev/null @@ -1,26 +0,0 @@ -//{{NO_DEPENDENCIES}} -// Microsoft Developer Studio generated include file. -// Used by 7296int.rc -// -#define IDM_SETUP 101 -#define IDD_DIALOG1 101 -#define IDM_EXIT 110 -#define IDM_GO 300 -#define ID_STOP 304 -#define IDM_CLEAR 305 -#define IDC_COMBO1 1004 -#define IDC_COMBO2 1005 -#define IDC_EDIT1 1007 -#define IDC_EDIT2 1008 -#define IDC_STATIC -1 - -// Next default values for new objects -// -#ifdef APSTUDIO_INVOKED -#ifndef APSTUDIO_READONLY_SYMBOLS -#define _APS_NEXT_RESOURCE_VALUE 103 -#define _APS_NEXT_COMMAND_VALUE 102 -#define _APS_NEXT_CONTROL_VALUE 1008 -#define _APS_NEXT_SYMED_VALUE 101 -#endif -#endif diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7348/Sdk7348DbEvtMsg/7348INT.RC b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7348/Sdk7348DbEvtMsg/7348INT.RC deleted file mode 100644 index 7281e15..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7348/Sdk7348DbEvtMsg/7348INT.RC +++ /dev/null @@ -1,125 +0,0 @@ -//Microsoft Developer Studio generated resource script. -// -#include "resource.h" - -#define APSTUDIO_READONLY_SYMBOLS -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 2 resource. -// -#define APSTUDIO_HIDDEN_SYMBOLS -#include "windows.h" -#undef APSTUDIO_HIDDEN_SYMBOLS - -///////////////////////////////////////////////////////////////////////////// -#undef APSTUDIO_READONLY_SYMBOLS - -///////////////////////////////////////////////////////////////////////////// -// English (U.S.) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -#ifdef _WIN32 -LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US -#pragma code_page(1252) -#endif //_WIN32 - -#ifdef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// TEXTINCLUDE -// - -1 TEXTINCLUDE DISCARDABLE -BEGIN - "resource.h\0" -END - -2 TEXTINCLUDE DISCARDABLE -BEGIN - "#define APSTUDIO_HIDDEN_SYMBOLS\r\n" - "#include ""windows.h""\r\n" - "#undef APSTUDIO_HIDDEN_SYMBOLS\r\n" - "\0" -END - -3 TEXTINCLUDE DISCARDABLE -BEGIN - "\r\n" - "\0" -END - -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// Menu -// - -INTMENU MENU DISCARDABLE -BEGIN - MENUITEM "Setup", IDM_SETUP - MENUITEM "Interrupt Trigger", IDM_GO - MENUITEM "Exit", IDM_CLEAR -END - - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog -// - -IDD_DIALOG1 DIALOG DISCARDABLE 0, 0, 133, 105 -STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "Setup Dialog" -FONT 10, "System" -BEGIN - DEFPUSHBUTTON "OK",IDOK,7,86,47,14 - PUSHBUTTON "Cancel",IDCANCEL,72,86,45,14 - LTEXT "Total Count",IDC_STATIC,7,33,53,12 - LTEXT "Sampling Rate",IDC_STATIC,7,59,53,12 - EDITTEXT IDC_EDIT1,60,32,63,15,ES_AUTOHSCROLL - EDITTEXT IDC_EDIT2,60,56,63,15,ES_AUTOHSCROLL - LTEXT "Card Number",IDC_STATIC,7,12,48,13 - COMBOBOX IDC_COMBO1,60,12,63,84,CBS_DROPDOWN | WS_VSCROLL | - WS_TABSTOP -END - - -///////////////////////////////////////////////////////////////////////////// -// -// DESIGNINFO -// - -#ifdef APSTUDIO_INVOKED -GUIDELINES DESIGNINFO DISCARDABLE -BEGIN - IDD_DIALOG1, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 123 - VERTGUIDE, 7 - VERTGUIDE, 60 - TOPMARGIN, 4 - BOTTOMMARGIN, 100 - HORZGUIDE, 71 - HORZGUIDE, 87 - END -END -#endif // APSTUDIO_INVOKED - -#endif // English (U.S.) resources -///////////////////////////////////////////////////////////////////////////// - - - -#ifndef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 3 resource. -// - - -///////////////////////////////////////////////////////////////////////////// -#endif // not APSTUDIO_INVOKED - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7348/Sdk7348DbEvtMsg/7348int.c b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7348/Sdk7348DbEvtMsg/7348int.c deleted file mode 100644 index 8d862de..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7348/Sdk7348DbEvtMsg/7348int.c +++ /dev/null @@ -1,354 +0,0 @@ -/*;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; -;; Copyright (c) 1995-1999, ADLink Technology Inc. All rights reserved. ;; -;; ;; -;; File Name : 7348INT.C ;; -;; Purpose : This sample program demonstrates how to DIO through;; -;; interrupt operation ;; -;; Date : 07/01/1999 ;; -;; Revision : 3.0 ;; -;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;*/ - - #include - #include - #include - #include - #include "Dask.h" - #include "resource.h" - - #define IDM_SETUP 101 - #define IDD_DIALOG1 101 - #define IDM_EXIT 110 - #define IDM_GO 300 - #define IDM_CLEAR 305 - #define IDC_COMBO1 1004 - #define IDC_EDIT1 1007 - #define IDC_EDIT2 1008 - #define WM_INT 2000 - - HANDLE hInst; /* current instance */ - HWND hMainWnd; - I16 card=-1, card_number = 0; - - int total_count =40; - int sample_rate=20000; - unsigned int buffer[32768], in_buffer[32768]; - char Buf[80]; - int c1=20,c2=20; - int int_count[2] ={0, 0}; - - int PASCAL WinMain(HANDLE, HANDLE, LPSTR, int); - BOOL InitApplication(HANDLE); - BOOL InitInstance(HANDLE, int); - long PASCAL MainWndProc(HWND, unsigned, WPARAM, LPARAM); - BOOL PASCAL About(HWND, unsigned, WPARAM, LPARAM); - BOOL PASCAL ShowDMA(HWND, unsigned, WPARAM, LPARAM); - LRESULT CALLBACK cbfn(); - void mesgfn(); - - /********************************************************************** - - FUNCTION: WinMain(HANDLE, HANDLE, LPSTR, int) - PURPOSE: calls initialization function, processes message loop - - ***********************************************************************/ - - int PASCAL WinMain(hInstance, hPrevInstance, lpCmdLine, nCmdShow) - - HANDLE hInstance; - HANDLE hPrevInstance; - LPSTR lpCmdLine; - int nCmdShow; - - { - MSG msg; - - if(!hPrevInstance) - if(!InitApplication(hInstance)) - return(FALSE); - - if(!InitInstance(hInstance, nCmdShow)) - return(FALSE); - - while ( GetMessage(&msg, NULL, NULL, NULL)) - { - TranslateMessage(&msg); - DispatchMessage(&msg); - } - return(msg.wParam); - } - -/**************************************************************************** - - FUNCTION: InitApplication(HANDLE) - - PURPOSE: Initializes window data and registers window class - -****************************************************************************/ - -BOOL InitApplication(hInstance) -HANDLE hInstance; -{ - WNDCLASS wc; - - wc.style = NULL; - wc.lpfnWndProc = MainWndProc; - wc.cbClsExtra = 0; - wc.cbWndExtra = 0; - wc.hInstance = hInstance; - wc.hIcon = LoadIcon(NULL, IDI_APPLICATION); - wc.hCursor = LoadCursor(hInstance, IDC_ARROW); - wc.hbrBackground = GetStockObject(WHITE_BRUSH); - wc.lpszMenuName = "IntMenu"; - wc.lpszClassName = "IntClass"; - - return (RegisterClass(&wc)); -} - -/**************************************************************************** - - FUNCTION: InitInstance(HANDLE, int) - - PURPOSE: Saves instance handle and creates main window - -****************************************************************************/ - -BOOL InitInstance(hInstance, nCmdShow) -HANDLE hInstance; -int nCmdShow; -{ - HWND hWnd; - - hInst = hInstance; - hWnd = CreateWindow("IntClass", - "PCI-7348 Interrupt Samples", - WS_OVERLAPPEDWINDOW, - 200, - 100, - 375, - 370, - NULL, - NULL, - hInstance, - NULL); - - if (!hWnd) return (FALSE); - ShowWindow(hWnd, nCmdShow); - UpdateWindow(hWnd); - return (TRUE); -} - - -BOOL PASCAL setup(HWND hWnd, unsigned message, WPARAM wParam, LPARAM lParam) -{ - int i,k=0; - char s[100]; - char n[20]; - BOOL ok; - - - switch (message) { - case WM_INITDIALOG: - for (i=0;i<16;i++) { - wsprintf(n, "%d", i); - _strupr(n); - SendMessage(GetDlgItem(hWnd,IDC_COMBO1), CB_ADDSTRING, NULL, (LONG)(LPSTR) n); - } - SendMessage(GetDlgItem(hWnd,IDC_COMBO1) , CB_SETCURSEL, 0, 0L); - if(card >=0) - EnableWindow(GetDlgItem(hWnd,IDC_COMBO1), FALSE); - SendMessage(GetDlgItem(hWnd,IDC_EDIT2) , WM_SETTEXT, 0, "5000"); - SendMessage(GetDlgItem(hWnd,IDC_EDIT1) , WM_SETTEXT, 0, "40"); - - break; - case WM_COMMAND: - switch(LOWORD(wParam)) { - case IDC_COMBO1: - if (HIWORD(wParam) == CBN_CLOSEUP) { - i = (int)SendMessage(GetDlgItem(hWnd,IDC_COMBO1), CB_GETCURSEL, 0, 0L); - SendMessage(GetDlgItem(hWnd,IDC_COMBO1), CB_GETLBTEXT, i, (LPARAM)((LPCSTR)n)); - card_number = i; - } - return(TRUE); - case IDOK: - if (card < 0) { - if ((card=Register_Card(PCI_7396,card_number))< 0) { - wsprintf(s, "Register_Card Error = %d\n", card); - MessageBox(hWnd, s, "Error", MB_OK); - } - } - total_count = GetDlgItemInt(hWnd,IDC_EDIT1, &ok, FALSE); - if (total_count > 32768) { - MessageBox(hWnd,"Count can be assigned at most 32768", "INT", MB_OK); - break; - } - for (i=0;i255) k=0; - } - for (i=0;i 15000 ) sample_rate=15000; - c2=2000000/(sample_rate*c1); - - EndDialog(hWnd, TRUE); - return (TRUE); - case IDCANCEL: - EndDialog(hWnd, TRUE); - return (TRUE); - } - break; - } - return (FALSE); -} - -/**************************************************************************** - - FUNCTION: MainWndProc(HWND, UINT, WPARAM, LPARAM) - - PURPOSE: Processes messages - - -****************************************************************************/ - -long PASCAL MainWndProc(hWnd, message, wParam, lParam) -HWND hWnd; -unsigned message; -WPARAM wParam; -LPARAM lParam; -{ - HDC hDC1; - PAINTSTRUCT ps; - FARPROC lpProc; - - hMainWnd = hWnd; - switch(message) { - - case WM_CREATE: - break; - case WM_PAINT: - hDC1=BeginPaint(hWnd, &ps); - wsprintf(Buf,"This program demostrates how to use dual interrupt line."); - TextOut(hDC1,20,10,Buf,strlen(Buf)); - wsprintf(Buf,"The IRQ source of INT1 is P1C0."); - TextOut(hDC1,20,30,Buf,strlen(Buf)); - wsprintf(Buf," The IRQ source of INT2 is internal Timer Output"); - TextOut(hDC1,20,50,Buf,strlen(Buf)); - SetTextColor(hDC1, RGB(255,0,0)); - wsprintf(Buf,"Using cable to connect P1 and P2"); - TextOut(hDC1,20,70,Buf,strlen(Buf)); - wsprintf(Buf,"Push 'Setup' button first ..."); - TextOut(hDC1,20,90,Buf,strlen(Buf)); - EndPaint(hWnd, &ps); - break; - case WM_COMMAND: - switch(wParam) { - case IDM_SETUP: - lpProc = MakeProcInstance(setup, hInst); - DialogBox(hInst,IDD_DIALOG1,hWnd,lpProc); - FreeProcInstance(lpProc); - if(card<0) - SendMessage(hWnd, WM_CLOSE, 0, 0L); - break; - - case IDM_GO: - // Interrupt Trigger - int_count[0]=0; - int_count[1]=0; - DIO_PortConfig(card,Channel_P1A, INPUT_PORT); - DIO_PortConfig(card,Channel_P2A, OUTPUT_PORT); - DIO_PortConfig(card,Channel_P1C, INPUT_PORT); - DIO_PortConfig(card,Channel_P2C, OUTPUT_PORT); - - DIO_INT1_EventMessage (card, INT1_FP1C0, hWnd, NULL, (void *) cbfn); - DIO_INT2_EventMessage (card, INT2_TIMER_COUNTER, hWnd, WM_INT, NULL); - - CTR_Setup (card, 1, 2, c1, BIN); - CTR_Setup (card, 2, 2, c2, BIN); - break; - - case IDM_CLEAR : - PostQuitMessage(0); - break; - } - break; - case WM_INT: - //int_count[0]++; - mesgfn(); - break; - case WM_DESTROY: - if (card >= 0) Release_Card(card); - PostQuitMessage(0); - break; - - default: - return (DefWindowProc(hWnd, message, wParam, lParam)); - } - return(0L); -} - -void mesgfn() -{ - HDC hDC; - int i; - - hDC=GetDC(hMainWnd); - if(int_count[1] =10 && i<20) { - wsprintf(Buf,"%d, ",in_buffer[i]); - TextOut(hDC,20+25*(i-10),220,Buf,strlen(Buf)); - } - if(i>=20 && i<30) { - wsprintf(Buf,"%d, ",in_buffer[i]); - TextOut(hDC,20+25*(i-20),245,Buf,strlen(Buf)); - } - if (i>=30 && i<40) { - wsprintf(Buf,"%d, ",in_buffer[i]); - TextOut(hDC,20+25*(i-30),270,Buf,strlen(Buf)); - } - if (i>=40 && i<50) { - wsprintf(Buf,"%d, ",in_buffer[i]); - TextOut(hDC,20+25*(i-40),295,Buf,strlen(Buf)); - } - } - ReleaseDC(hMainWnd, hDC); - } -} - -LRESULT CALLBACK cbfn() -{ - int_count[0]++; -} - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7348/Sdk7348DbEvtMsg/7348int.exe b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7348/Sdk7348DbEvtMsg/7348int.exe deleted file mode 100644 index 3b1e19b..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7348/Sdk7348DbEvtMsg/7348int.exe and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7348/Sdk7348DbEvtMsg/7348int.mak b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7348/Sdk7348DbEvtMsg/7348int.mak deleted file mode 100644 index e16ad5e..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7348/Sdk7348DbEvtMsg/7348int.mak +++ /dev/null @@ -1,219 +0,0 @@ -# Microsoft Developer Studio Generated NMAKE File, Format Version 4.00 -# ** DO NOT EDIT ** - -# TARGTYPE "Win32 (x86) Application" 0x0101 - -!IF "$(CFG)" == "" -CFG=7348int - Win32 Debug -!MESSAGE No configuration specified. Defaulting to 7348int - Win32 Debug. -!ENDIF - -!IF "$(CFG)" != "7348int - Win32 Release" && "$(CFG)" !=\ - "7348int - Win32 Debug" -!MESSAGE Invalid configuration "$(CFG)" specified. -!MESSAGE You can specify a configuration when running NMAKE on this makefile -!MESSAGE by defining the macro CFG on the command line. For example: -!MESSAGE -!MESSAGE NMAKE /f "7348INT.MAK" CFG="7348int - Win32 Debug" -!MESSAGE -!MESSAGE Possible choices for configuration are: -!MESSAGE -!MESSAGE "7348int - Win32 Release" (based on "Win32 (x86) Application") -!MESSAGE "7348int - Win32 Debug" (based on "Win32 (x86) Application") -!MESSAGE -!ERROR An invalid configuration is specified. -!ENDIF - -!IF "$(OS)" == "Windows_NT" -NULL= -!ELSE -NULL=nul -!ENDIF -################################################################################ -# Begin Project -# PROP Target_Last_Scanned "7348int - Win32 Debug" -CPP=cl.exe -RSC=rc.exe -MTL=mktyplib.exe - -!IF "$(CFG)" == "7348int - Win32 Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "Release" -# PROP BASE Intermediate_Dir "Release" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "" -# PROP Intermediate_Dir "Release" -# PROP Target_Dir "" -OUTDIR=. -INTDIR=.\Release - -ALL : "$(OUTDIR)\7348INT.exe" - -CLEAN : - -@erase ".\7348INT.exe" - -@erase ".\Release\7348int.obj" - -@erase ".\Release\7348int.res" - -"$(INTDIR)" : - if not exist "$(INTDIR)/$(NULL)" mkdir "$(INTDIR)" - -# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /YX /c -# ADD CPP /nologo /MT /W3 /GX /Od /I "..\..\..\include" /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /c -# SUBTRACT CPP /YX -CPP_PROJ=/nologo /MT /W3 /GX /Od /I "..\..\..\include" /D "WIN32" /D "NDEBUG"\ - /D "_WINDOWS" /Fo"$(INTDIR)/" /c -CPP_OBJS=.\Release/ -CPP_SBRS= -# ADD BASE MTL /nologo /D "NDEBUG" /win32 -# ADD MTL /nologo /D "NDEBUG" /win32 -MTL_PROJ=/nologo /D "NDEBUG" /win32 -# ADD BASE RSC /l 0x409 /d "NDEBUG" -# ADD RSC /l 0x409 /d "NDEBUG" -RSC_PROJ=/l 0x409 /fo"$(INTDIR)/7348int.res" /d "NDEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -BSC32_FLAGS=/nologo /o"$(OUTDIR)/7348INT.bsc" -BSC32_SBRS= -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:windows /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ..\..\..\lib\pci-dask.lib /nologo /subsystem:windows /machine:I386 -LINK32_FLAGS=kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib\ - advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib\ - odbccp32.lib ..\..\..\lib\pci-dask.lib /nologo /subsystem:windows\ - /incremental:no /pdb:"$(OUTDIR)/7348INT.pdb" /machine:I386\ - /out:"$(OUTDIR)/7348INT.exe" -LINK32_OBJS= \ - "$(INTDIR)/7348int.obj" \ - "$(INTDIR)/7348int.res" - -"$(OUTDIR)\7348INT.exe" : "$(OUTDIR)" $(DEF_FILE) $(LINK32_OBJS) - $(LINK32) @<< - $(LINK32_FLAGS) $(LINK32_OBJS) -<< - -!ELSEIF "$(CFG)" == "7348int - Win32 Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "Debug" -# PROP BASE Intermediate_Dir "Debug" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "Debug" -# PROP Intermediate_Dir "Debug" -# PROP Target_Dir "" -OUTDIR=.\Debug -INTDIR=.\Debug - -ALL : "$(OUTDIR)\7348INT.exe" - -CLEAN : - -@erase ".\Debug\vc40.pdb" - -@erase ".\Debug\vc40.idb" - -@erase ".\Debug\7348INT.exe" - -@erase ".\Debug\7348int.obj" - -@erase ".\Debug\7348int.res" - -@erase ".\Debug\7348INT.ilk" - -@erase ".\Debug\7348INT.pdb" - -"$(OUTDIR)" : - if not exist "$(OUTDIR)/$(NULL)" mkdir "$(OUTDIR)" - -# ADD BASE CPP /nologo /W3 /Gm /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /YX /c -# ADD CPP /nologo /MTd /W3 /Gm /GX /Zi /Od /I "..\..\..\include" /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /c -# SUBTRACT CPP /YX -CPP_PROJ=/nologo /MTd /W3 /Gm /GX /Zi /Od /I "..\..\..\include" /D "WIN32" /D\ - "_DEBUG" /D "_WINDOWS" /Fo"$(INTDIR)/" /Fd"$(INTDIR)/" /c -CPP_OBJS=.\Debug/ -CPP_SBRS= -# ADD BASE MTL /nologo /D "_DEBUG" /win32 -# ADD MTL /nologo /D "_DEBUG" /win32 -MTL_PROJ=/nologo /D "_DEBUG" /win32 -# ADD BASE RSC /l 0x409 /d "_DEBUG" -# ADD RSC /l 0x409 /d "_DEBUG" -RSC_PROJ=/l 0x409 /fo"$(INTDIR)/7348int.res" /d "_DEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -BSC32_FLAGS=/nologo /o"$(OUTDIR)/7348INT.bsc" -BSC32_SBRS= -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:windows /debug /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ..\..\..\lib\pci-dask.lib /nologo /subsystem:windows /debug /machine:I386 -LINK32_FLAGS=kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib\ - advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib\ - odbccp32.lib ..\..\..\lib\pci-dask.lib /nologo /subsystem:windows\ - /incremental:yes /pdb:"$(OUTDIR)/7348INT.pdb" /debug /machine:I386\ - /out:"$(OUTDIR)/7348INT.exe" -LINK32_OBJS= \ - "$(INTDIR)/7348int.obj" \ - "$(INTDIR)/7348int.res" - -"$(OUTDIR)\7348INT.exe" : "$(OUTDIR)" $(DEF_FILE) $(LINK32_OBJS) - $(LINK32) @<< - $(LINK32_FLAGS) $(LINK32_OBJS) -<< - -!ENDIF - -.c{$(CPP_OBJS)}.obj: - $(CPP) $(CPP_PROJ) $< - -.cpp{$(CPP_OBJS)}.obj: - $(CPP) $(CPP_PROJ) $< - -.cxx{$(CPP_OBJS)}.obj: - $(CPP) $(CPP_PROJ) $< - -.c{$(CPP_SBRS)}.sbr: - $(CPP) $(CPP_PROJ) $< - -.cpp{$(CPP_SBRS)}.sbr: - $(CPP) $(CPP_PROJ) $< - -.cxx{$(CPP_SBRS)}.sbr: - $(CPP) $(CPP_PROJ) $< - -################################################################################ -# Begin Target - -# Name "7348int - Win32 Release" -# Name "7348int - Win32 Debug" - -!IF "$(CFG)" == "7348int - Win32 Release" - -!ELSEIF "$(CFG)" == "7348int - Win32 Debug" - -!ENDIF - -################################################################################ -# Begin Source File - -SOURCE=.\7348int.rc - -"$(INTDIR)\7348int.res" : $(SOURCE) "$(INTDIR)" - $(RSC) $(RSC_PROJ) $(SOURCE) - - -# End Source File -################################################################################ -# Begin Source File - -SOURCE=.\7348int.c -DEP_CPP_7348I=\ - ".\..\..\..\include\Dask.h"\ - - -"$(INTDIR)\7348int.obj" : $(SOURCE) $(DEP_CPP_7348I) "$(INTDIR)" - - -# End Source File -# End Target -# End Project -################################################################################ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7348/Sdk7348DbEvtMsg/7348int.mdp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7348/Sdk7348DbEvtMsg/7348int.mdp deleted file mode 100644 index f47f262..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7348/Sdk7348DbEvtMsg/7348int.mdp and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7348/Sdk7348DbEvtMsg/Resource.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7348/Sdk7348DbEvtMsg/Resource.h deleted file mode 100644 index 5a22550..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7348/Sdk7348DbEvtMsg/Resource.h +++ /dev/null @@ -1,26 +0,0 @@ -//{{NO_DEPENDENCIES}} -// Microsoft Developer Studio generated include file. -// Used by 7296int.rc -// -#define IDM_SETUP 101 -#define IDD_DIALOG1 101 -#define IDM_EXIT 110 -#define IDM_GO 300 -#define ID_STOP 304 -#define IDM_CLEAR 305 -#define IDC_COMBO1 1004 -#define IDC_COMBO2 1005 -#define IDC_EDIT1 1007 -#define IDC_EDIT2 1008 -#define IDC_STATIC -1 - -// Next default values for new objects -// -#ifdef APSTUDIO_INVOKED -#ifndef APSTUDIO_READONLY_SYMBOLS -#define _APS_NEXT_RESOURCE_VALUE 103 -#define _APS_NEXT_COMMAND_VALUE 102 -#define _APS_NEXT_CONTROL_VALUE 1008 -#define _APS_NEXT_SYMED_VALUE 101 -#endif -#endif diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7348/Sdk7348Int/7348INT.RC b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7348/Sdk7348Int/7348INT.RC deleted file mode 100644 index 7281e15..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7348/Sdk7348Int/7348INT.RC +++ /dev/null @@ -1,125 +0,0 @@ -//Microsoft Developer Studio generated resource script. -// -#include "resource.h" - -#define APSTUDIO_READONLY_SYMBOLS -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 2 resource. -// -#define APSTUDIO_HIDDEN_SYMBOLS -#include "windows.h" -#undef APSTUDIO_HIDDEN_SYMBOLS - -///////////////////////////////////////////////////////////////////////////// -#undef APSTUDIO_READONLY_SYMBOLS - -///////////////////////////////////////////////////////////////////////////// -// English (U.S.) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -#ifdef _WIN32 -LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US -#pragma code_page(1252) -#endif //_WIN32 - -#ifdef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// TEXTINCLUDE -// - -1 TEXTINCLUDE DISCARDABLE -BEGIN - "resource.h\0" -END - -2 TEXTINCLUDE DISCARDABLE -BEGIN - "#define APSTUDIO_HIDDEN_SYMBOLS\r\n" - "#include ""windows.h""\r\n" - "#undef APSTUDIO_HIDDEN_SYMBOLS\r\n" - "\0" -END - -3 TEXTINCLUDE DISCARDABLE -BEGIN - "\r\n" - "\0" -END - -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// Menu -// - -INTMENU MENU DISCARDABLE -BEGIN - MENUITEM "Setup", IDM_SETUP - MENUITEM "Interrupt Trigger", IDM_GO - MENUITEM "Exit", IDM_CLEAR -END - - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog -// - -IDD_DIALOG1 DIALOG DISCARDABLE 0, 0, 133, 105 -STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "Setup Dialog" -FONT 10, "System" -BEGIN - DEFPUSHBUTTON "OK",IDOK,7,86,47,14 - PUSHBUTTON "Cancel",IDCANCEL,72,86,45,14 - LTEXT "Total Count",IDC_STATIC,7,33,53,12 - LTEXT "Sampling Rate",IDC_STATIC,7,59,53,12 - EDITTEXT IDC_EDIT1,60,32,63,15,ES_AUTOHSCROLL - EDITTEXT IDC_EDIT2,60,56,63,15,ES_AUTOHSCROLL - LTEXT "Card Number",IDC_STATIC,7,12,48,13 - COMBOBOX IDC_COMBO1,60,12,63,84,CBS_DROPDOWN | WS_VSCROLL | - WS_TABSTOP -END - - -///////////////////////////////////////////////////////////////////////////// -// -// DESIGNINFO -// - -#ifdef APSTUDIO_INVOKED -GUIDELINES DESIGNINFO DISCARDABLE -BEGIN - IDD_DIALOG1, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 123 - VERTGUIDE, 7 - VERTGUIDE, 60 - TOPMARGIN, 4 - BOTTOMMARGIN, 100 - HORZGUIDE, 71 - HORZGUIDE, 87 - END -END -#endif // APSTUDIO_INVOKED - -#endif // English (U.S.) resources -///////////////////////////////////////////////////////////////////////////// - - - -#ifndef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 3 resource. -// - - -///////////////////////////////////////////////////////////////////////////// -#endif // not APSTUDIO_INVOKED - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7348/Sdk7348Int/7348int.c b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7348/Sdk7348Int/7348int.c deleted file mode 100644 index 3da69d8..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7348/Sdk7348Int/7348int.c +++ /dev/null @@ -1,329 +0,0 @@ -/*;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; -;; Copyright (c) 1995-1999, ADLink Technology Inc. All rights reserved. ;; -;; ;; -;; File Name : 7348int.C ;; -;; Purpose : This sample program demonstrates DIO through ;; -;; interrupt operation ;; -;; Date : 07/20/1998 ;; -;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;*/ - - #include - #include - #include - #include - #include "Dask.h" - - #define IDM_SETUP 101 - #define IDD_DIALOG1 101 - #define IDM_EXIT 110 - #define IDM_GO 300 - #define IDM_CLEAR 305 - #define IDC_COMBO1 1004 - #define IDC_COMBO2 1005 - #define IDC_EDIT1 1007 - #define IDC_EDIT2 1008 - - - HANDLE hInst; /* current instance */ - HANDLE hIntEvent[2]; - - U16 wBus, wSlot; - I16 card=-1, card_number = 0; - - int total_count =40; - int sample_rate=5000; - unsigned int buffer[32768], in_buffer[32768]; - char Buf[80]; - int c1=20,c2=20; - - int PASCAL WinMain(HANDLE, HANDLE, LPSTR, int); - BOOL InitApplication(HANDLE); - BOOL InitInstance(HANDLE, int); - long PASCAL MainWndProc(HWND, unsigned, WPARAM, LPARAM); - BOOL PASCAL About(HWND, unsigned, WPARAM, LPARAM); - BOOL PASCAL ShowDMA(HWND, unsigned, WPARAM, LPARAM); - - /********************************************************************** - - FUNCTION: WinMain(HANDLE, HANDLE, LPSTR, int) - PURPOSE: calls initialization function, processes message loop - - ***********************************************************************/ - - int PASCAL WinMain(hInstance, hPrevInstance, lpCmdLine, nCmdShow) - - HANDLE hInstance; - HANDLE hPrevInstance; - LPSTR lpCmdLine; - int nCmdShow; - - { - MSG msg; - - if(!hPrevInstance) - if(!InitApplication(hInstance)) - return(FALSE); - - if(!InitInstance(hInstance, nCmdShow)) - return(FALSE); - - while ( GetMessage(&msg, NULL, NULL, NULL)) - { - TranslateMessage(&msg); - DispatchMessage(&msg); - } - return(msg.wParam); - } - -/**************************************************************************** - - FUNCTION: InitApplication(HANDLE) - - PURPOSE: Initializes window data and registers window class - -****************************************************************************/ - -BOOL InitApplication(hInstance) -HANDLE hInstance; -{ - WNDCLASS wc; - - wc.style = NULL; - wc.lpfnWndProc = MainWndProc; - wc.cbClsExtra = 0; - wc.cbWndExtra = 0; - wc.hInstance = hInstance; - wc.hIcon = LoadIcon(NULL, IDI_APPLICATION); - wc.hCursor = LoadCursor(hInstance, IDC_ARROW); - wc.hbrBackground = GetStockObject(WHITE_BRUSH); - wc.lpszMenuName = "IntMenu"; - wc.lpszClassName = "IntClass"; - - return (RegisterClass(&wc)); -} - -/**************************************************************************** - - FUNCTION: InitInstance(HANDLE, int) - - PURPOSE: Saves instance handle and creates main window - -****************************************************************************/ - -BOOL InitInstance(hInstance, nCmdShow) -HANDLE hInstance; -int nCmdShow; -{ - HWND hWnd; - - hInst = hInstance; - hWnd = CreateWindow("IntClass", - "PCI-7348 Interrupt Samples (INT2)", - WS_OVERLAPPEDWINDOW, - 200, - 100, - 375, - 370, - NULL, - NULL, - hInstance, - NULL); - - if (!hWnd) return (FALSE); - ShowWindow(hWnd, nCmdShow); - UpdateWindow(hWnd); - return (TRUE); -} - - -BOOL PASCAL setup(HWND hWnd, unsigned message, WPARAM wParam, LPARAM lParam) -{ - int i,k=0; - char n[16]; - char s[50]; - BOOL ok; - - - switch (message) { - case WM_INITDIALOG: - for (i=0;i<16;i++) { - wsprintf(n, "%d", i); - _strupr(n); - SendMessage(GetDlgItem(hWnd,IDC_COMBO1), CB_ADDSTRING, NULL, (LONG)(LPSTR) n); - } - SendMessage(GetDlgItem(hWnd,IDC_COMBO1) , CB_SETCURSEL, 0, 0L); - if(card >=0) - EnableWindow(GetDlgItem(hWnd,IDC_COMBO1), FALSE); - SendMessage(GetDlgItem(hWnd,IDC_EDIT2) , WM_SETTEXT, 0, "5000"); - SendMessage(GetDlgItem(hWnd,IDC_EDIT1) , WM_SETTEXT, 0, "40"); - - break; - case WM_COMMAND: - switch(LOWORD(wParam)) { - case IDC_COMBO1: - if (HIWORD(wParam) == CBN_CLOSEUP) { - i = (int)SendMessage(GetDlgItem(hWnd,IDC_COMBO1), CB_GETCURSEL, 0, 0L); - SendMessage(GetDlgItem(hWnd,IDC_COMBO1), CB_GETLBTEXT, i, (LPARAM)((LPCSTR)n)); - card_number = i; - } - return(TRUE); - case IDOK: - if(card <0) { - if ((card=Register_Card(PCI_7396, card_number))< 0) { - wsprintf(s, "Register_Card Error = %d\n", card); - MessageBox(hWnd, s, "Error", MB_OK); - } - } - total_count = GetDlgItemInt(hWnd,IDC_EDIT1, &ok, FALSE); - if (total_count > 32768) { - MessageBox(hWnd,"Count can be assigned at most 32768", "INT", MB_OK); - break; - } - for (i=0;i255) k=0; - } - for (i=0;i 15000 ) sample_rate=15000; - c2=2000000/(sample_rate*c1); - - EndDialog(hWnd, TRUE); - return (TRUE); - case IDCANCEL: - EndDialog(hWnd, TRUE); - return (TRUE); - } - break; - } - return (FALSE); -} - -/**************************************************************************** - - FUNCTION: MainWndProc(HWND, UINT, WPARAM, LPARAM) - - PURPOSE: Processes messages - - -****************************************************************************/ - -long PASCAL MainWndProc(hWnd, message, wParam, lParam) -HWND hWnd; -unsigned message; -WPARAM wParam; -LPARAM lParam; -{ - int i, k; - int cur_count=0; - HDC hDC, hDC1; - PAINTSTRUCT ps; - FARPROC lpProc; - - switch(message) { - - case WM_CREATE: - break; - case WM_PAINT: - hDC1=BeginPaint(hWnd, &ps); - wsprintf(Buf,"This program performs digital output on Port A of"); - TextOut(hDC1,20,10,Buf,strlen(Buf)); - wsprintf(Buf,"P2 and digital input on Port A of P1 when an"); - TextOut(hDC1,20,30,Buf,strlen(Buf)); - wsprintf(Buf,"interrupt happens. The INT2 is used, and interrupt"); - TextOut(hDC1,20,50,Buf,strlen(Buf)); - wsprintf(Buf,"signals are generated by internal Timer Output."); - TextOut(hDC1,20,70,Buf,strlen(Buf)); - SetTextColor(hDC1, RGB(255,0,0)); - wsprintf(Buf,"Push 'Setup' button first ..."); - TextOut(hDC1,20,90,Buf,strlen(Buf)); - EndPaint(hWnd, &ps); - break; - case WM_COMMAND: - switch(wParam) { - case IDM_SETUP: - lpProc = MakeProcInstance(setup, hInst); - DialogBox(hInst,IDD_DIALOG1,hWnd,lpProc); - FreeProcInstance(lpProc); - if(card<0) - SendMessage(hWnd, WM_CLOSE, 0, 0L); - break; - - case IDM_GO: - // Interrupt Trigger - hDC=GetDC(hWnd); - DIO_PortConfig(card,Channel_P1A, INPUT_PORT); - DIO_PortConfig(card,Channel_P2A, OUTPUT_PORT); - - DIO_SetDualInterrupt(card, INT1_DISABLE, INT2_TIMER_COUNTER, hIntEvent); - CTR_Setup (card, 1, RATE_GENERATOR, c1, BIN); - CTR_Setup (card, 2, RATE_GENERATOR, c2, BIN); - k=0; i=0; - while (k=10 && i<20) { - wsprintf(Buf,"%d, ",in_buffer[i]); - TextOut(hDC,20+25*(i-10),210,Buf,strlen(Buf)); - } - if(i>=20 && i<30) { - wsprintf(Buf,"%d, ",in_buffer[i]); - TextOut(hDC,20+25*(i-20),235,Buf,strlen(Buf)); - } - if (i>=30 && i<40) { - wsprintf(Buf,"%d, ",in_buffer[i]); - TextOut(hDC,20+25*(i-30),260,Buf,strlen(Buf)); - } - if (i>=40 && i<50) { - wsprintf(Buf,"%d, ",in_buffer[i]); - TextOut(hDC,20+25*(i-40),285,Buf,strlen(Buf)); - } - } - ReleaseDC(hWnd, hDC); - break; - - case IDM_CLEAR : - ResetEvent(hIntEvent[1]); - PostQuitMessage(0); - break; - } - break; - - case WM_DESTROY: - if (card >= 0) Release_Card(card); - PostQuitMessage(0); - break; - - default: - return (DefWindowProc(hWnd, message, wParam, lParam)); - } - return(0L); -} - \ No newline at end of file diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7348/Sdk7348Int/7348int.exe b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7348/Sdk7348Int/7348int.exe deleted file mode 100644 index 2d20fac..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7348/Sdk7348Int/7348int.exe and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7348/Sdk7348Int/7348int.mak b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7348/Sdk7348Int/7348int.mak deleted file mode 100644 index d03409b..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7348/Sdk7348Int/7348int.mak +++ /dev/null @@ -1,219 +0,0 @@ -# Microsoft Developer Studio Generated NMAKE File, Format Version 4.00 -# ** DO NOT EDIT ** - -# TARGTYPE "Win32 (x86) Application" 0x0101 - -!IF "$(CFG)" == "" -CFG=7348int - Win32 Debug -!MESSAGE No configuration specified. Defaulting to 7348int - Win32 Debug. -!ENDIF - -!IF "$(CFG)" != "7348int - Win32 Release" && "$(CFG)" !=\ - "7348int - Win32 Debug" -!MESSAGE Invalid configuration "$(CFG)" specified. -!MESSAGE You can specify a configuration when running NMAKE on this makefile -!MESSAGE by defining the macro CFG on the command line. For example: -!MESSAGE -!MESSAGE NMAKE /f "7348INT.MAK" CFG="7348int - Win32 Debug" -!MESSAGE -!MESSAGE Possible choices for configuration are: -!MESSAGE -!MESSAGE "7348int - Win32 Release" (based on "Win32 (x86) Application") -!MESSAGE "7348int - Win32 Debug" (based on "Win32 (x86) Application") -!MESSAGE -!ERROR An invalid configuration is specified. -!ENDIF - -!IF "$(OS)" == "Windows_NT" -NULL= -!ELSE -NULL=nul -!ENDIF -################################################################################ -# Begin Project -# PROP Target_Last_Scanned "7348int - Win32 Debug" -MTL=mktyplib.exe -CPP=cl.exe -RSC=rc.exe - -!IF "$(CFG)" == "7348int - Win32 Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "Release" -# PROP BASE Intermediate_Dir "Release" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "" -# PROP Intermediate_Dir "Release" -# PROP Target_Dir "" -OUTDIR=. -INTDIR=.\Release - -ALL : "$(OUTDIR)\7348INT.exe" - -CLEAN : - -@erase ".\7348INT.exe" - -@erase ".\Release\7348int.obj" - -@erase ".\Release\7348int.res" - -"$(INTDIR)" : - if not exist "$(INTDIR)/$(NULL)" mkdir "$(INTDIR)" - -# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /YX /c -# ADD CPP /nologo /W3 /GX /Od /I "..\..\..\include" /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /c -# SUBTRACT CPP /YX -CPP_PROJ=/nologo /ML /W3 /GX /Od /I "..\..\..\include" /D "WIN32" /D "NDEBUG"\ - /D "_WINDOWS" /Fo"$(INTDIR)/" /c -CPP_OBJS=.\Release/ -CPP_SBRS= -# ADD BASE MTL /nologo /D "NDEBUG" /win32 -# ADD MTL /nologo /D "NDEBUG" /win32 -MTL_PROJ=/nologo /D "NDEBUG" /win32 -# ADD BASE RSC /l 0x409 /d "NDEBUG" -# ADD RSC /l 0x409 /d "NDEBUG" -RSC_PROJ=/l 0x409 /fo"$(INTDIR)/7348int.res" /d "NDEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -BSC32_FLAGS=/nologo /o"$(OUTDIR)/7348INT.bsc" -BSC32_SBRS= -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:windows /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ..\..\..\lib\pci-dask.lib /nologo /subsystem:windows /machine:I386 -LINK32_FLAGS=kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib\ - advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib\ - odbccp32.lib ..\..\..\lib\pci-dask.lib /nologo /subsystem:windows\ - /incremental:no /pdb:"$(OUTDIR)/7348INT.pdb" /machine:I386\ - /out:"$(OUTDIR)/7348INT.exe" -LINK32_OBJS= \ - ".\Release\7348int.obj" \ - ".\Release\7348int.res" - -"$(OUTDIR)\7348INT.exe" : "$(OUTDIR)" $(DEF_FILE) $(LINK32_OBJS) - $(LINK32) @<< - $(LINK32_FLAGS) $(LINK32_OBJS) -<< - -!ELSEIF "$(CFG)" == "7348int - Win32 Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "Debug" -# PROP BASE Intermediate_Dir "Debug" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "" -# PROP Intermediate_Dir "Debug" -# PROP Target_Dir "" -OUTDIR=. -INTDIR=.\Debug - -ALL : "$(OUTDIR)\7348INT.exe" - -CLEAN : - -@erase ".\Debug\vc40.pdb" - -@erase ".\Debug\vc40.idb" - -@erase ".\7348INT.exe" - -@erase ".\Debug\7348int.obj" - -@erase ".\Debug\7348int.res" - -@erase ".\7348INT.ilk" - -@erase ".\7348INT.pdb" - -"$(INTDIR)" : - if not exist "$(INTDIR)/$(NULL)" mkdir "$(INTDIR)" - -# ADD BASE CPP /nologo /W3 /Gm /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /YX /c -# ADD CPP /nologo /W3 /Gm /GX /Zi /Od /I "..\..\..\include" /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /c -# SUBTRACT CPP /YX -CPP_PROJ=/nologo /MLd /W3 /Gm /GX /Zi /Od /I "..\..\..\include" /D "WIN32" /D\ - "_DEBUG" /D "_WINDOWS" /Fo"$(INTDIR)/" /Fd"$(INTDIR)/" /c -CPP_OBJS=.\Debug/ -CPP_SBRS= -# ADD BASE MTL /nologo /D "_DEBUG" /win32 -# ADD MTL /nologo /D "_DEBUG" /win32 -MTL_PROJ=/nologo /D "_DEBUG" /win32 -# ADD BASE RSC /l 0x409 /d "_DEBUG" -# ADD RSC /l 0x409 /d "_DEBUG" -RSC_PROJ=/l 0x409 /fo"$(INTDIR)/7348int.res" /d "_DEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -BSC32_FLAGS=/nologo /o"$(OUTDIR)/7348INT.bsc" -BSC32_SBRS= -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:windows /debug /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ..\..\..\lib\pci-dask.lib /nologo /subsystem:windows /debug /machine:I386 -LINK32_FLAGS=kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib\ - advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib\ - odbccp32.lib ..\..\..\lib\pci-dask.lib /nologo /subsystem:windows\ - /incremental:yes /pdb:"$(OUTDIR)/7348INT.pdb" /debug /machine:I386\ - /out:"$(OUTDIR)/7348INT.exe" -LINK32_OBJS= \ - ".\Debug\7348int.obj" \ - ".\Debug\7348int.res" - -"$(OUTDIR)\7348INT.exe" : "$(OUTDIR)" $(DEF_FILE) $(LINK32_OBJS) - $(LINK32) @<< - $(LINK32_FLAGS) $(LINK32_OBJS) -<< - -!ENDIF - -.c{$(CPP_OBJS)}.obj: - $(CPP) $(CPP_PROJ) $< - -.cpp{$(CPP_OBJS)}.obj: - $(CPP) $(CPP_PROJ) $< - -.cxx{$(CPP_OBJS)}.obj: - $(CPP) $(CPP_PROJ) $< - -.c{$(CPP_SBRS)}.sbr: - $(CPP) $(CPP_PROJ) $< - -.cpp{$(CPP_SBRS)}.sbr: - $(CPP) $(CPP_PROJ) $< - -.cxx{$(CPP_SBRS)}.sbr: - $(CPP) $(CPP_PROJ) $< - -################################################################################ -# Begin Target - -# Name "7348int - Win32 Release" -# Name "7348int - Win32 Debug" - -!IF "$(CFG)" == "7348int - Win32 Release" - -!ELSEIF "$(CFG)" == "7348int - Win32 Debug" - -!ENDIF - -################################################################################ -# Begin Source File - -SOURCE=.\7348int.rc - -"$(INTDIR)\7348int.res" : $(SOURCE) "$(INTDIR)" - $(RSC) $(RSC_PROJ) $(SOURCE) - - -# End Source File -################################################################################ -# Begin Source File - -SOURCE=.\7348int.c -DEP_CPP_7348I=\ - ".\..\..\..\include\Dask.h"\ - - -"$(INTDIR)\7348int.obj" : $(SOURCE) $(DEP_CPP_7348I) "$(INTDIR)" - - -# End Source File -# End Target -# End Project -################################################################################ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7348/Sdk7348Int/7348int.mdp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7348/Sdk7348Int/7348int.mdp deleted file mode 100644 index 9cabb79..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7348/Sdk7348Int/7348int.mdp and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7348/Sdk7348Int/Resource.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7348/Sdk7348Int/Resource.h deleted file mode 100644 index 5a22550..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7348/Sdk7348Int/Resource.h +++ /dev/null @@ -1,26 +0,0 @@ -//{{NO_DEPENDENCIES}} -// Microsoft Developer Studio generated include file. -// Used by 7296int.rc -// -#define IDM_SETUP 101 -#define IDD_DIALOG1 101 -#define IDM_EXIT 110 -#define IDM_GO 300 -#define ID_STOP 304 -#define IDM_CLEAR 305 -#define IDC_COMBO1 1004 -#define IDC_COMBO2 1005 -#define IDC_EDIT1 1007 -#define IDC_EDIT2 1008 -#define IDC_STATIC -1 - -// Next default values for new objects -// -#ifdef APSTUDIO_INVOKED -#ifndef APSTUDIO_READONLY_SYMBOLS -#define _APS_NEXT_RESOURCE_VALUE 103 -#define _APS_NEXT_COMMAND_VALUE 102 -#define _APS_NEXT_CONTROL_VALUE 1008 -#define _APS_NEXT_SYMED_VALUE 101 -#endif -#endif diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7348/Sdk7348IntMsg/7348INT.RC b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7348/Sdk7348IntMsg/7348INT.RC deleted file mode 100644 index 7281e15..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7348/Sdk7348IntMsg/7348INT.RC +++ /dev/null @@ -1,125 +0,0 @@ -//Microsoft Developer Studio generated resource script. -// -#include "resource.h" - -#define APSTUDIO_READONLY_SYMBOLS -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 2 resource. -// -#define APSTUDIO_HIDDEN_SYMBOLS -#include "windows.h" -#undef APSTUDIO_HIDDEN_SYMBOLS - -///////////////////////////////////////////////////////////////////////////// -#undef APSTUDIO_READONLY_SYMBOLS - -///////////////////////////////////////////////////////////////////////////// -// English (U.S.) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -#ifdef _WIN32 -LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US -#pragma code_page(1252) -#endif //_WIN32 - -#ifdef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// TEXTINCLUDE -// - -1 TEXTINCLUDE DISCARDABLE -BEGIN - "resource.h\0" -END - -2 TEXTINCLUDE DISCARDABLE -BEGIN - "#define APSTUDIO_HIDDEN_SYMBOLS\r\n" - "#include ""windows.h""\r\n" - "#undef APSTUDIO_HIDDEN_SYMBOLS\r\n" - "\0" -END - -3 TEXTINCLUDE DISCARDABLE -BEGIN - "\r\n" - "\0" -END - -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// Menu -// - -INTMENU MENU DISCARDABLE -BEGIN - MENUITEM "Setup", IDM_SETUP - MENUITEM "Interrupt Trigger", IDM_GO - MENUITEM "Exit", IDM_CLEAR -END - - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog -// - -IDD_DIALOG1 DIALOG DISCARDABLE 0, 0, 133, 105 -STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "Setup Dialog" -FONT 10, "System" -BEGIN - DEFPUSHBUTTON "OK",IDOK,7,86,47,14 - PUSHBUTTON "Cancel",IDCANCEL,72,86,45,14 - LTEXT "Total Count",IDC_STATIC,7,33,53,12 - LTEXT "Sampling Rate",IDC_STATIC,7,59,53,12 - EDITTEXT IDC_EDIT1,60,32,63,15,ES_AUTOHSCROLL - EDITTEXT IDC_EDIT2,60,56,63,15,ES_AUTOHSCROLL - LTEXT "Card Number",IDC_STATIC,7,12,48,13 - COMBOBOX IDC_COMBO1,60,12,63,84,CBS_DROPDOWN | WS_VSCROLL | - WS_TABSTOP -END - - -///////////////////////////////////////////////////////////////////////////// -// -// DESIGNINFO -// - -#ifdef APSTUDIO_INVOKED -GUIDELINES DESIGNINFO DISCARDABLE -BEGIN - IDD_DIALOG1, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 123 - VERTGUIDE, 7 - VERTGUIDE, 60 - TOPMARGIN, 4 - BOTTOMMARGIN, 100 - HORZGUIDE, 71 - HORZGUIDE, 87 - END -END -#endif // APSTUDIO_INVOKED - -#endif // English (U.S.) resources -///////////////////////////////////////////////////////////////////////////// - - - -#ifndef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 3 resource. -// - - -///////////////////////////////////////////////////////////////////////////// -#endif // not APSTUDIO_INVOKED - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7348/Sdk7348IntMsg/7348int.c b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7348/Sdk7348IntMsg/7348int.c deleted file mode 100644 index c1b59e1..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7348/Sdk7348IntMsg/7348int.c +++ /dev/null @@ -1,335 +0,0 @@ -/*;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; -;; Copyright (c) 1995-1999, ADLink Technology Inc. All rights reserved. ;; -;; ;; -;; File Name : 7348INT.C ;; -;; Purpose : This sample program demonstrates how to DIO through;; -;; interrupt operation ;; -;; Date : 07/01/1999 ;; -;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;*/ - - #include - #include - #include - #include - #include "Dask.h" - - #define IDM_SETUP 101 - #define IDD_DIALOG1 101 - #define IDM_EXIT 110 - #define IDM_GO 300 - #define IDM_CLEAR 305 - #define IDC_COMBO1 1004 - #define IDC_COMBO2 1005 - #define IDC_EDIT1 1007 - #define IDC_EDIT2 1008 - #define WM_INT 2000 - - HANDLE hInst; /* current instance */ - HWND hMainWnd; - I16 card=-1, card_number = 0; - - int total_count =40; - int sample_rate=20000; - unsigned int buffer[32768], in_buffer[32768]; - char Buf[80]; - int c1=20,c2=20; - int int_count =0; - - int PASCAL WinMain(HANDLE, HANDLE, LPSTR, int); - BOOL InitApplication(HANDLE); - BOOL InitInstance(HANDLE, int); - long PASCAL MainWndProc(HWND, unsigned, WPARAM, LPARAM); - BOOL PASCAL About(HWND, unsigned, WPARAM, LPARAM); - BOOL PASCAL ShowDMA(HWND, unsigned, WPARAM, LPARAM); - void mesgfn(); - - /********************************************************************** - - FUNCTION: WinMain(HANDLE, HANDLE, LPSTR, int) - PURPOSE: calls initialization function, processes message loop - - ***********************************************************************/ - - int PASCAL WinMain(hInstance, hPrevInstance, lpCmdLine, nCmdShow) - - HANDLE hInstance; - HANDLE hPrevInstance; - LPSTR lpCmdLine; - int nCmdShow; - - { - MSG msg; - - if(!hPrevInstance) - if(!InitApplication(hInstance)) - return(FALSE); - - if(!InitInstance(hInstance, nCmdShow)) - return(FALSE); - - while ( GetMessage(&msg, NULL, NULL, NULL)) - { - TranslateMessage(&msg); - DispatchMessage(&msg); - } - return(msg.wParam); - } - -/**************************************************************************** - - FUNCTION: InitApplication(HANDLE) - - PURPOSE: Initializes window data and registers window class - -****************************************************************************/ - -BOOL InitApplication(hInstance) -HANDLE hInstance; -{ - WNDCLASS wc; - - wc.style = NULL; - wc.lpfnWndProc = MainWndProc; - wc.cbClsExtra = 0; - wc.cbWndExtra = 0; - wc.hInstance = hInstance; - wc.hIcon = LoadIcon(NULL, IDI_APPLICATION); - wc.hCursor = LoadCursor(hInstance, IDC_ARROW); - wc.hbrBackground = GetStockObject(WHITE_BRUSH); - wc.lpszMenuName = "IntMenu"; - wc.lpszClassName = "IntClass"; - - return (RegisterClass(&wc)); -} - -/**************************************************************************** - - FUNCTION: InitInstance(HANDLE, int) - - PURPOSE: Saves instance handle and creates main window - -****************************************************************************/ - -BOOL InitInstance(hInstance, nCmdShow) -HANDLE hInstance; -int nCmdShow; -{ - HWND hWnd; - - hInst = hInstance; - hWnd = CreateWindow("IntClass", - "PCI-7348 Interrupt Samples", - WS_OVERLAPPEDWINDOW, - 200, - 100, - 375, - 370, - NULL, - NULL, - hInstance, - NULL); - - if (!hWnd) return (FALSE); - ShowWindow(hWnd, nCmdShow); - UpdateWindow(hWnd); - return (TRUE); -} - - -BOOL PASCAL setup(HWND hWnd, unsigned message, WPARAM wParam, LPARAM lParam) -{ - int i,k=0; - char n[16]; - char s[50]; - BOOL ok; - - - switch (message) { - case WM_INITDIALOG: - for (i=0;i<16;i++) { - wsprintf(n, "%d", i); - _strupr(n); - SendMessage(GetDlgItem(hWnd,IDC_COMBO1), CB_ADDSTRING, NULL, (LONG)(LPSTR) n); - } - SendMessage(GetDlgItem(hWnd,IDC_COMBO1) , CB_SETCURSEL, 0, 0L); - if(card >=0) - EnableWindow(GetDlgItem(hWnd,IDC_COMBO1), FALSE); - SendMessage(GetDlgItem(hWnd,IDC_EDIT2) , WM_SETTEXT, 0, "5000"); - SendMessage(GetDlgItem(hWnd,IDC_EDIT1) , WM_SETTEXT, 0, "40"); - - break; - case WM_COMMAND: - switch(LOWORD(wParam)) { - case IDC_COMBO1: - if (HIWORD(wParam) == CBN_CLOSEUP) { - i = (int)SendMessage(GetDlgItem(hWnd,IDC_COMBO1), CB_GETCURSEL, 0, 0L); - SendMessage(GetDlgItem(hWnd,IDC_COMBO1), CB_GETLBTEXT, i, (LPARAM)((LPCSTR)n)); - card_number = i; - } - return(TRUE); - case IDOK: - if (card < 0) { - if ((card=Register_Card(PCI_7396,card_number))< 0) { - wsprintf(s, "Register_Card Error = %d\n", card); - MessageBox(hWnd, s, "Error", MB_OK); - } - } - total_count = GetDlgItemInt(hWnd,IDC_EDIT1, &ok, FALSE); - if (total_count > 32768) { - MessageBox(hWnd,"Count can be assigned at most 32768", "INT", MB_OK); - break; - } - for (i=0;i255) k=0; - } - for (i=0;i 15000 ) sample_rate=15000; - c2=2000000/(sample_rate*c1); - - EndDialog(hWnd, TRUE); - return (TRUE); - case IDCANCEL: - EndDialog(hWnd, TRUE); - return (TRUE); - } - break; - } - return (FALSE); -} - -/**************************************************************************** - - FUNCTION: MainWndProc(HWND, UINT, WPARAM, LPARAM) - - PURPOSE: Processes messages - - -****************************************************************************/ - -long PASCAL MainWndProc(hWnd, message, wParam, lParam) -HWND hWnd; -unsigned message; -WPARAM wParam; -LPARAM lParam; -{ - int cur_count=0; - HDC hDC1; - PAINTSTRUCT ps; - FARPROC lpProc; - - hMainWnd = hWnd; - switch(message) { - - case WM_CREATE: - break; - case WM_PAINT: - hDC1=BeginPaint(hWnd, &ps); - wsprintf(Buf,"This program performs digital output on Port A of"); - TextOut(hDC1,20,10,Buf,strlen(Buf)); - wsprintf(Buf,"P2 and digital input on Port A of P1 when an"); - TextOut(hDC1,20,30,Buf,strlen(Buf)); - wsprintf(Buf,"interrupt happens. The INT2 is used, and interrupt"); - TextOut(hDC1,20,50,Buf,strlen(Buf)); - wsprintf(Buf,"signals are generated by internal Timer Output."); - TextOut(hDC1,20,70,Buf,strlen(Buf)); - SetTextColor(hDC1, RGB(255,0,0)); - wsprintf(Buf,"Push 'Setup' button first ..."); - TextOut(hDC1,20,90,Buf,strlen(Buf)); - EndPaint(hWnd, &ps); - break; - case WM_COMMAND: - switch(wParam) { - case IDM_SETUP: - lpProc = MakeProcInstance(setup, hInst); - DialogBox(hInst,IDD_DIALOG1,hWnd,lpProc); - FreeProcInstance(lpProc); - if(card<0) - SendMessage(hWnd, WM_CLOSE, 0, 0L); - break; - - case IDM_GO: - // Interrupt Trigger - int_count=0; - DIO_PortConfig(card,Channel_P1A, INPUT_PORT); - DIO_PortConfig(card,Channel_P2A, OUTPUT_PORT); - DIO_INT2_EventMessage (card, INT2_TIMER_COUNTER, hWnd, WM_INT, NULL); - CTR_Setup (card, 1, 2, c1, BIN); - CTR_Setup (card, 2, 2, c2, BIN); - break; - - case IDM_CLEAR : - PostQuitMessage(0); - break; - } - break; - case WM_INT: - mesgfn(); - break; - case WM_DESTROY: - if (card >= 0) Release_Card(card); - PostQuitMessage(0); - break; - - default: - return (DefWindowProc(hWnd, message, wParam, lParam)); - } - return(0L); -} - -void mesgfn() -{ - HDC hDC; - int i; - - hDC=GetDC(hMainWnd); - if(int_count =10 && i<20) { - wsprintf(Buf,"%d, ",in_buffer[i]); - TextOut(hDC,20+25*(i-10),210,Buf,strlen(Buf)); - } - if(i>=20 && i<30) { - wsprintf(Buf,"%d, ",in_buffer[i]); - TextOut(hDC,20+25*(i-20),235,Buf,strlen(Buf)); - } - if (i>=30 && i<40) { - wsprintf(Buf,"%d, ",in_buffer[i]); - TextOut(hDC,20+25*(i-30),260,Buf,strlen(Buf)); - } - if (i>=40 && i<50) { - wsprintf(Buf,"%d, ",in_buffer[i]); - TextOut(hDC,20+25*(i-40),285,Buf,strlen(Buf)); - } - } - ReleaseDC(hMainWnd, hDC); - } -} diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7348/Sdk7348IntMsg/7348int.exe b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7348/Sdk7348IntMsg/7348int.exe deleted file mode 100644 index 53ae968..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7348/Sdk7348IntMsg/7348int.exe and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7348/Sdk7348IntMsg/7348int.mak b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7348/Sdk7348IntMsg/7348int.mak deleted file mode 100644 index d03409b..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7348/Sdk7348IntMsg/7348int.mak +++ /dev/null @@ -1,219 +0,0 @@ -# Microsoft Developer Studio Generated NMAKE File, Format Version 4.00 -# ** DO NOT EDIT ** - -# TARGTYPE "Win32 (x86) Application" 0x0101 - -!IF "$(CFG)" == "" -CFG=7348int - Win32 Debug -!MESSAGE No configuration specified. Defaulting to 7348int - Win32 Debug. -!ENDIF - -!IF "$(CFG)" != "7348int - Win32 Release" && "$(CFG)" !=\ - "7348int - Win32 Debug" -!MESSAGE Invalid configuration "$(CFG)" specified. -!MESSAGE You can specify a configuration when running NMAKE on this makefile -!MESSAGE by defining the macro CFG on the command line. For example: -!MESSAGE -!MESSAGE NMAKE /f "7348INT.MAK" CFG="7348int - Win32 Debug" -!MESSAGE -!MESSAGE Possible choices for configuration are: -!MESSAGE -!MESSAGE "7348int - Win32 Release" (based on "Win32 (x86) Application") -!MESSAGE "7348int - Win32 Debug" (based on "Win32 (x86) Application") -!MESSAGE -!ERROR An invalid configuration is specified. -!ENDIF - -!IF "$(OS)" == "Windows_NT" -NULL= -!ELSE -NULL=nul -!ENDIF -################################################################################ -# Begin Project -# PROP Target_Last_Scanned "7348int - Win32 Debug" -MTL=mktyplib.exe -CPP=cl.exe -RSC=rc.exe - -!IF "$(CFG)" == "7348int - Win32 Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "Release" -# PROP BASE Intermediate_Dir "Release" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "" -# PROP Intermediate_Dir "Release" -# PROP Target_Dir "" -OUTDIR=. -INTDIR=.\Release - -ALL : "$(OUTDIR)\7348INT.exe" - -CLEAN : - -@erase ".\7348INT.exe" - -@erase ".\Release\7348int.obj" - -@erase ".\Release\7348int.res" - -"$(INTDIR)" : - if not exist "$(INTDIR)/$(NULL)" mkdir "$(INTDIR)" - -# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /YX /c -# ADD CPP /nologo /W3 /GX /Od /I "..\..\..\include" /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /c -# SUBTRACT CPP /YX -CPP_PROJ=/nologo /ML /W3 /GX /Od /I "..\..\..\include" /D "WIN32" /D "NDEBUG"\ - /D "_WINDOWS" /Fo"$(INTDIR)/" /c -CPP_OBJS=.\Release/ -CPP_SBRS= -# ADD BASE MTL /nologo /D "NDEBUG" /win32 -# ADD MTL /nologo /D "NDEBUG" /win32 -MTL_PROJ=/nologo /D "NDEBUG" /win32 -# ADD BASE RSC /l 0x409 /d "NDEBUG" -# ADD RSC /l 0x409 /d "NDEBUG" -RSC_PROJ=/l 0x409 /fo"$(INTDIR)/7348int.res" /d "NDEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -BSC32_FLAGS=/nologo /o"$(OUTDIR)/7348INT.bsc" -BSC32_SBRS= -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:windows /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ..\..\..\lib\pci-dask.lib /nologo /subsystem:windows /machine:I386 -LINK32_FLAGS=kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib\ - advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib\ - odbccp32.lib ..\..\..\lib\pci-dask.lib /nologo /subsystem:windows\ - /incremental:no /pdb:"$(OUTDIR)/7348INT.pdb" /machine:I386\ - /out:"$(OUTDIR)/7348INT.exe" -LINK32_OBJS= \ - ".\Release\7348int.obj" \ - ".\Release\7348int.res" - -"$(OUTDIR)\7348INT.exe" : "$(OUTDIR)" $(DEF_FILE) $(LINK32_OBJS) - $(LINK32) @<< - $(LINK32_FLAGS) $(LINK32_OBJS) -<< - -!ELSEIF "$(CFG)" == "7348int - Win32 Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "Debug" -# PROP BASE Intermediate_Dir "Debug" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "" -# PROP Intermediate_Dir "Debug" -# PROP Target_Dir "" -OUTDIR=. -INTDIR=.\Debug - -ALL : "$(OUTDIR)\7348INT.exe" - -CLEAN : - -@erase ".\Debug\vc40.pdb" - -@erase ".\Debug\vc40.idb" - -@erase ".\7348INT.exe" - -@erase ".\Debug\7348int.obj" - -@erase ".\Debug\7348int.res" - -@erase ".\7348INT.ilk" - -@erase ".\7348INT.pdb" - -"$(INTDIR)" : - if not exist "$(INTDIR)/$(NULL)" mkdir "$(INTDIR)" - -# ADD BASE CPP /nologo /W3 /Gm /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /YX /c -# ADD CPP /nologo /W3 /Gm /GX /Zi /Od /I "..\..\..\include" /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /c -# SUBTRACT CPP /YX -CPP_PROJ=/nologo /MLd /W3 /Gm /GX /Zi /Od /I "..\..\..\include" /D "WIN32" /D\ - "_DEBUG" /D "_WINDOWS" /Fo"$(INTDIR)/" /Fd"$(INTDIR)/" /c -CPP_OBJS=.\Debug/ -CPP_SBRS= -# ADD BASE MTL /nologo /D "_DEBUG" /win32 -# ADD MTL /nologo /D "_DEBUG" /win32 -MTL_PROJ=/nologo /D "_DEBUG" /win32 -# ADD BASE RSC /l 0x409 /d "_DEBUG" -# ADD RSC /l 0x409 /d "_DEBUG" -RSC_PROJ=/l 0x409 /fo"$(INTDIR)/7348int.res" /d "_DEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -BSC32_FLAGS=/nologo /o"$(OUTDIR)/7348INT.bsc" -BSC32_SBRS= -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:windows /debug /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ..\..\..\lib\pci-dask.lib /nologo /subsystem:windows /debug /machine:I386 -LINK32_FLAGS=kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib\ - advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib\ - odbccp32.lib ..\..\..\lib\pci-dask.lib /nologo /subsystem:windows\ - /incremental:yes /pdb:"$(OUTDIR)/7348INT.pdb" /debug /machine:I386\ - /out:"$(OUTDIR)/7348INT.exe" -LINK32_OBJS= \ - ".\Debug\7348int.obj" \ - ".\Debug\7348int.res" - -"$(OUTDIR)\7348INT.exe" : "$(OUTDIR)" $(DEF_FILE) $(LINK32_OBJS) - $(LINK32) @<< - $(LINK32_FLAGS) $(LINK32_OBJS) -<< - -!ENDIF - -.c{$(CPP_OBJS)}.obj: - $(CPP) $(CPP_PROJ) $< - -.cpp{$(CPP_OBJS)}.obj: - $(CPP) $(CPP_PROJ) $< - -.cxx{$(CPP_OBJS)}.obj: - $(CPP) $(CPP_PROJ) $< - -.c{$(CPP_SBRS)}.sbr: - $(CPP) $(CPP_PROJ) $< - -.cpp{$(CPP_SBRS)}.sbr: - $(CPP) $(CPP_PROJ) $< - -.cxx{$(CPP_SBRS)}.sbr: - $(CPP) $(CPP_PROJ) $< - -################################################################################ -# Begin Target - -# Name "7348int - Win32 Release" -# Name "7348int - Win32 Debug" - -!IF "$(CFG)" == "7348int - Win32 Release" - -!ELSEIF "$(CFG)" == "7348int - Win32 Debug" - -!ENDIF - -################################################################################ -# Begin Source File - -SOURCE=.\7348int.rc - -"$(INTDIR)\7348int.res" : $(SOURCE) "$(INTDIR)" - $(RSC) $(RSC_PROJ) $(SOURCE) - - -# End Source File -################################################################################ -# Begin Source File - -SOURCE=.\7348int.c -DEP_CPP_7348I=\ - ".\..\..\..\include\Dask.h"\ - - -"$(INTDIR)\7348int.obj" : $(SOURCE) $(DEP_CPP_7348I) "$(INTDIR)" - - -# End Source File -# End Target -# End Project -################################################################################ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7348/Sdk7348IntMsg/7348int.mdp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7348/Sdk7348IntMsg/7348int.mdp deleted file mode 100644 index f6103c3..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7348/Sdk7348IntMsg/7348int.mdp and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7348/Sdk7348IntMsg/Resource.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7348/Sdk7348IntMsg/Resource.h deleted file mode 100644 index 5a22550..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7348/Sdk7348IntMsg/Resource.h +++ /dev/null @@ -1,26 +0,0 @@ -//{{NO_DEPENDENCIES}} -// Microsoft Developer Studio generated include file. -// Used by 7296int.rc -// -#define IDM_SETUP 101 -#define IDD_DIALOG1 101 -#define IDM_EXIT 110 -#define IDM_GO 300 -#define ID_STOP 304 -#define IDM_CLEAR 305 -#define IDC_COMBO1 1004 -#define IDC_COMBO2 1005 -#define IDC_EDIT1 1007 -#define IDC_EDIT2 1008 -#define IDC_STATIC -1 - -// Next default values for new objects -// -#ifdef APSTUDIO_INVOKED -#ifndef APSTUDIO_READONLY_SYMBOLS -#define _APS_NEXT_RESOURCE_VALUE 103 -#define _APS_NEXT_COMMAND_VALUE 102 -#define _APS_NEXT_CONTROL_VALUE 1008 -#define _APS_NEXT_SYMED_VALUE 101 -#endif -#endif diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7348/VB7348/7348GLBL.BAS b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7348/VB7348/7348GLBL.BAS deleted file mode 100644 index 77a2e7f..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7348/VB7348/7348GLBL.BAS +++ /dev/null @@ -1,4 +0,0 @@ -Attribute VB_Name = "Module1" -Global card As Integer -Global card_number As Integer - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7348/VB7348/Base7348.frm b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7348/VB7348/Base7348.frm deleted file mode 100644 index 779e0ca..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7348/VB7348/Base7348.frm +++ /dev/null @@ -1,104 +0,0 @@ -VERSION 4.00 -Begin VB.Form SettingForm - Appearance = 0 'Flat - BackColor = &H00C0C0C0& - Caption = "Card Number Setting" - ClientHeight = 1275 - ClientLeft = 4590 - ClientTop = 4545 - ClientWidth = 2820 - BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851} - Name = "MS Sans Serif" - Size = 8.25 - Charset = 0 - Weight = 700 - Underline = 0 'False - Italic = 0 'False - Strikethrough = 0 'False - EndProperty - ForeColor = &H80000008& - Height = 1680 - Left = 4530 - LinkTopic = "Form2" - ScaleHeight = 1275 - ScaleWidth = 2820 - Top = 4200 - Width = 2940 - Begin VB.CommandButton OKBtn - Appearance = 0 'Flat - BackColor = &H80000005& - Caption = "OK" - Default = -1 'True - Height = 315 - Left = 300 - TabIndex = 0 - Top = 720 - Width = 915 - End - Begin VB.CommandButton CancelBtn - Appearance = 0 'Flat - BackColor = &H80000005& - Cancel = -1 'True - Caption = "Cancel" - Height = 315 - Left = 1380 - TabIndex = 3 - Top = 720 - Width = 915 - End - Begin VB.ComboBox CardNum - Appearance = 0 'Flat - Height = 300 - Left = 1440 - Style = 2 'Dropdown List - TabIndex = 2 - Top = 120 - Width = 1035 - End - Begin VB.Label Label2 - Appearance = 0 'Flat - BackColor = &H00C0C0C0& - Caption = "Card Number:" - ForeColor = &H00000000& - Height = 195 - Index = 0 - Left = 180 - TabIndex = 1 - Top = 180 - Width = 1275 - End -End -Attribute VB_Name = "SettingForm" -Attribute VB_Creatable = False -Attribute VB_Exposed = False - - -Private Sub BaseAddr_Change() - -End Sub - - -Private Sub CancelBtn_Click() - Unload SettingForm -End Sub - -Private Sub CardNum_Change() - -End Sub - - -Private Sub Form_Load() - Dim i As Long - For i = 0 To 15 Step 1 - CardNum.AddItem i - Next - CardNum.ListIndex = 0 -End Sub - -Private Sub OKBtn_Click() - card = -1 - card_number = CardNum.ListIndex - card = Register_Card(PCI_7396, card_number) - Unload SettingForm -End Sub - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7348/VB7348/DIA_1.BMP b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7348/VB7348/DIA_1.BMP deleted file mode 100644 index 5b799e3..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7348/VB7348/DIA_1.BMP and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7348/VB7348/DIB_1.BMP b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7348/VB7348/DIB_1.BMP deleted file mode 100644 index 5d46b17..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7348/VB7348/DIB_1.BMP and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7348/VB7348/DIC_1.BMP b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7348/VB7348/DIC_1.BMP deleted file mode 100644 index f4d15c0..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7348/VB7348/DIC_1.BMP and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7348/VB7348/DI_0.BMP b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7348/VB7348/DI_0.BMP deleted file mode 100644 index 66e3384..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7348/VB7348/DI_0.BMP and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7348/VB7348/DI_1.BMP b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7348/VB7348/DI_1.BMP deleted file mode 100644 index d7da598..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7348/VB7348/DI_1.BMP and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7348/VB7348/DOA_1.BMP b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7348/VB7348/DOA_1.BMP deleted file mode 100644 index 5edd2df..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7348/VB7348/DOA_1.BMP and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7348/VB7348/DOB_1.BMP b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7348/VB7348/DOB_1.BMP deleted file mode 100644 index b5189d7..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7348/VB7348/DOB_1.BMP and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7348/VB7348/DOC_1.BMP b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7348/VB7348/DOC_1.BMP deleted file mode 100644 index 30f909f..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7348/VB7348/DOC_1.BMP and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7348/VB7348/DO_0.BMP b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7348/VB7348/DO_0.BMP deleted file mode 100644 index 81b0c50..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7348/VB7348/DO_0.BMP and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7348/VB7348/DO_1.BMP b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7348/VB7348/DO_1.BMP deleted file mode 100644 index 30f909f..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7348/VB7348/DO_1.BMP and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7348/VB7348/INPUT.BMP b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7348/VB7348/INPUT.BMP deleted file mode 100644 index b795ac8..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7348/VB7348/INPUT.BMP and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7348/VB7348/OUTPUT.BMP b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7348/VB7348/OUTPUT.BMP deleted file mode 100644 index 8907a70..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7348/VB7348/OUTPUT.BMP and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7348/VB7348/Util7348.Vbp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7348/VB7348/Util7348.Vbp deleted file mode 100644 index 0de36cb..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7348/VB7348/Util7348.Vbp +++ /dev/null @@ -1,20 +0,0 @@ -Form=UTIL7348.FRM -Module=DASK; ..\..\..\Include\Dask.bas -Module=Module1; 7348glbl.bas -Form=Base7348.frm -Reference=*\G{00025E04-0000-0000-C000-000000000046}#2.5#0#D:\Program Files\Common Files\Microsoft Shared\DD:\Program Fil#Microsoft DAO 2.5/3.0 Compatibility Library -ProjWinSize=113,567,248,215 -ProjWinShow=2 -IconForm="Util7348" -ExeName32="Util7348.exe" -Name="vb4projectutil7348" -HelpContextID="0" -StartMode=0 -VersionCompatible32="0" -VersionCompatible="0" -MajorVer=1 -MinorVer=0 -RevisionVer=0 -AutoIncrementVer=0 -ServerSupportFiles=0 -VersionCompanyName="ADLINK" diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7348/VB7348/Util7348.frm b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7348/VB7348/Util7348.frm deleted file mode 100644 index 4d91803..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7348/VB7348/Util7348.frm +++ /dev/null @@ -1,1053 +0,0 @@ -VERSION 4.00 -Begin VB.Form Util7348 - Appearance = 0 'Flat - BackColor = &H00C0C0C0& - Caption = "PCI-7348 Sample Program" - ClientHeight = 1800 - ClientLeft = 570 - ClientTop = 2265 - ClientWidth = 7710 - BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851} - Name = "MS Sans Serif" - Size = 8.25 - Charset = 0 - Weight = 700 - Underline = 0 'False - Italic = 0 'False - Strikethrough = 0 'False - EndProperty - ForeColor = &H80000008& - Height = 2490 - Left = 510 - LinkTopic = "Form1" - ScaleHeight = 1800 - ScaleWidth = 7710 - Top = 1635 - Width = 7830 - Begin VB.Frame Frame1 - Appearance = 0 'Flat - BackColor = &H00C0C0C0& - Caption = "Port C" - BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851} - Name = "Times New Roman" - Size = 8.25 - Charset = 0 - Weight = 400 - Underline = 0 'False - Italic = 0 'False - Strikethrough = 0 'False - EndProperty - ForeColor = &H00FF0000& - Height = 1455 - Index = 2 - Left = 5160 - TabIndex = 4 - Top = 120 - Width = 2115 - Begin VB.Image bit_c - Appearance = 0 'Flat - Height = 180 - Index = 0 - Left = 1590 - Picture = "UTIL7348.frx":0000 - Top = 480 - Width = 180 - End - Begin VB.Image bit_c - Appearance = 0 'Flat - Height = 180 - Index = 1 - Left = 1380 - Picture = "UTIL7348.frx":00E2 - Top = 480 - Width = 180 - End - Begin VB.Image bit_c - Appearance = 0 'Flat - Height = 180 - Index = 2 - Left = 1170 - Picture = "UTIL7348.frx":01C4 - Top = 480 - Width = 180 - End - Begin VB.Image bit_c - Appearance = 0 'Flat - Height = 180 - Index = 3 - Left = 960 - Picture = "UTIL7348.frx":02A6 - Top = 480 - Width = 180 - End - Begin VB.Image bit_c - Appearance = 0 'Flat - Height = 180 - Index = 4 - Left = 750 - Picture = "UTIL7348.frx":0388 - Top = 480 - Width = 180 - End - Begin VB.Image bit_c - Appearance = 0 'Flat - Height = 180 - Index = 5 - Left = 540 - Picture = "UTIL7348.frx":046A - Top = 480 - Width = 180 - End - Begin VB.Image bit_c - Appearance = 0 'Flat - Height = 180 - Index = 6 - Left = 360 - Picture = "UTIL7348.frx":054C - Top = 480 - Width = 180 - End - Begin VB.Image bit_c - Appearance = 0 'Flat - Height = 180 - Index = 7 - Left = 120 - Picture = "UTIL7348.frx":062E - Top = 480 - Width = 180 - End - Begin VB.Image bit_c - Appearance = 0 'Flat - Height = 180 - Index = 8 - Left = 1590 - Picture = "UTIL7348.frx":0710 - Top = 960 - Width = 180 - End - Begin VB.Image bit_c - Appearance = 0 'Flat - Height = 180 - Index = 9 - Left = 1380 - Picture = "UTIL7348.frx":07F2 - Top = 960 - Width = 180 - End - Begin VB.Image bit_c - Appearance = 0 'Flat - Height = 180 - Index = 10 - Left = 1170 - Picture = "UTIL7348.frx":08D4 - Top = 960 - Width = 180 - End - Begin VB.Image bit_c - Appearance = 0 'Flat - Height = 180 - Index = 11 - Left = 960 - Picture = "UTIL7348.frx":09B6 - Top = 960 - Width = 180 - End - Begin VB.Image bit_c - Appearance = 0 'Flat - Height = 180 - Index = 12 - Left = 750 - Picture = "UTIL7348.frx":0A98 - Top = 960 - Width = 180 - End - Begin VB.Image bit_c - Appearance = 0 'Flat - Height = 180 - Index = 13 - Left = 540 - Picture = "UTIL7348.frx":0B7A - Top = 960 - Width = 180 - End - Begin VB.Image bit_c - Appearance = 0 'Flat - Height = 180 - Index = 14 - Left = 330 - Picture = "UTIL7348.frx":0C5C - Top = 960 - Width = 180 - End - Begin VB.Image bit_c - Appearance = 0 'Flat - Height = 180 - Index = 15 - Left = 120 - Picture = "UTIL7348.frx":0D3E - Top = 960 - Width = 180 - End - Begin VB.Image input_c - Appearance = 0 'Flat - Height = 165 - Index = 0 - Left = 1875 - Picture = "UTIL7348.frx":0E20 - Top = 360 - Width = 165 - End - Begin VB.Image input_c - Appearance = 0 'Flat - Height = 165 - Index = 1 - Left = 1875 - Picture = "UTIL7348.frx":0EFA - Top = 840 - Width = 165 - End - Begin VB.Image output_c - Appearance = 0 'Flat - Height = 165 - Index = 0 - Left = 1875 - Picture = "UTIL7348.frx":0FD4 - Top = 555 - Width = 165 - End - Begin VB.Image output_c - Appearance = 0 'Flat - Height = 165 - Index = 1 - Left = 1875 - Picture = "UTIL7348.frx":10AE - Top = 1035 - Width = 165 - End - Begin VB.Shape Shape_c - BorderColor = &H00C0C0C0& - FillColor = &H00FF0000& - FillStyle = 0 'Solid - Height = 375 - Index = 0 - Left = 60 - Top = 360 - Width = 1800 - End - Begin VB.Shape Shape_c - BorderColor = &H00C0C0C0& - FillColor = &H00FF0000& - FillStyle = 0 'Solid - Height = 375 - Index = 1 - Left = 60 - Top = 840 - Width = 1800 - End - End - Begin VB.Timer Timer1 - Interval = 100 - Left = 7260 - Top = 1440 - End - Begin VB.Frame Frame1 - Appearance = 0 'Flat - BackColor = &H00C0C0C0& - Caption = "Port B" - BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851} - Name = "Times New Roman" - Size = 8.25 - Charset = 0 - Weight = 400 - Underline = 0 'False - Italic = 0 'False - Strikethrough = 0 'False - EndProperty - ForeColor = &H00FF0000& - Height = 1455 - Index = 1 - Left = 2880 - TabIndex = 2 - Top = 120 - Width = 2115 - Begin VB.Image bit_b - Appearance = 0 'Flat - Height = 180 - Index = 7 - Left = 120 - Picture = "UTIL7348.frx":1188 - Top = 480 - Width = 180 - End - Begin VB.Image output_b - Appearance = 0 'Flat - Height = 165 - Index = 1 - Left = 1875 - Picture = "UTIL7348.frx":126A - Top = 1035 - Width = 165 - End - Begin VB.Image output_b - Appearance = 0 'Flat - Height = 165 - Index = 0 - Left = 1875 - Picture = "UTIL7348.frx":1344 - Top = 555 - Width = 165 - End - Begin VB.Image input_b - Appearance = 0 'Flat - Height = 165 - Index = 1 - Left = 1875 - Picture = "UTIL7348.frx":141E - Top = 840 - Width = 165 - End - Begin VB.Image input_b - Appearance = 0 'Flat - Height = 165 - Index = 0 - Left = 1875 - Picture = "UTIL7348.frx":14F8 - Top = 360 - Width = 165 - End - Begin VB.Image bit_b - Appearance = 0 'Flat - Height = 180 - Index = 15 - Left = 120 - Picture = "UTIL7348.frx":15D2 - Top = 960 - Width = 180 - End - Begin VB.Image bit_b - Appearance = 0 'Flat - Height = 180 - Index = 14 - Left = 330 - Picture = "UTIL7348.frx":16B4 - Top = 960 - Width = 180 - End - Begin VB.Image bit_b - Appearance = 0 'Flat - Height = 180 - Index = 13 - Left = 540 - Picture = "UTIL7348.frx":1796 - Top = 960 - Width = 180 - End - Begin VB.Image bit_b - Appearance = 0 'Flat - Height = 180 - Index = 12 - Left = 750 - Picture = "UTIL7348.frx":1878 - Top = 960 - Width = 180 - End - Begin VB.Image bit_b - Appearance = 0 'Flat - Height = 180 - Index = 11 - Left = 960 - Picture = "UTIL7348.frx":195A - Top = 960 - Width = 180 - End - Begin VB.Image bit_b - Appearance = 0 'Flat - Height = 180 - Index = 10 - Left = 1170 - Picture = "UTIL7348.frx":1A3C - Top = 960 - Width = 180 - End - Begin VB.Image bit_b - Appearance = 0 'Flat - Height = 180 - Index = 9 - Left = 1380 - Picture = "UTIL7348.frx":1B1E - Top = 960 - Width = 180 - End - Begin VB.Image bit_b - Appearance = 0 'Flat - Height = 180 - Index = 8 - Left = 1590 - Picture = "UTIL7348.frx":1C00 - Top = 960 - Width = 180 - End - Begin VB.Image bit_b - Appearance = 0 'Flat - Height = 180 - Index = 6 - Left = 330 - Picture = "UTIL7348.frx":1CE2 - Top = 480 - Width = 180 - End - Begin VB.Image bit_b - Appearance = 0 'Flat - Height = 180 - Index = 5 - Left = 540 - Picture = "UTIL7348.frx":1DC4 - Top = 480 - Width = 180 - End - Begin VB.Image bit_b - Appearance = 0 'Flat - Height = 180 - Index = 4 - Left = 750 - Picture = "UTIL7348.frx":1EA6 - Top = 480 - Width = 180 - End - Begin VB.Image bit_b - Appearance = 0 'Flat - Height = 180 - Index = 3 - Left = 960 - Picture = "UTIL7348.frx":1F88 - Top = 480 - Width = 180 - End - Begin VB.Image bit_b - Appearance = 0 'Flat - Height = 180 - Index = 2 - Left = 1170 - Picture = "UTIL7348.frx":206A - Top = 480 - Width = 180 - End - Begin VB.Image bit_b - Appearance = 0 'Flat - Height = 180 - Index = 1 - Left = 1380 - Picture = "UTIL7348.frx":214C - Top = 480 - Width = 180 - End - Begin VB.Image bit_b - Appearance = 0 'Flat - Height = 180 - Index = 0 - Left = 1560 - Picture = "UTIL7348.frx":222E - Top = 480 - Width = 180 - End - Begin VB.Shape Shape_b - BorderColor = &H00C0C0C0& - FillColor = &H00FF0000& - FillStyle = 0 'Solid - Height = 375 - Index = 0 - Left = 60 - Top = 360 - Width = 1800 - End - Begin VB.Shape Shape_b - BorderColor = &H00C0C0C0& - FillColor = &H00FF0000& - FillStyle = 0 'Solid - Height = 375 - Index = 1 - Left = 60 - Top = 840 - Width = 1800 - End - End - Begin VB.Frame Frame1 - Appearance = 0 'Flat - BackColor = &H00C0C0C0& - Caption = "Port A" - BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851} - Name = "Times New Roman" - Size = 8.25 - Charset = 0 - Weight = 400 - Underline = 0 'False - Italic = 0 'False - Strikethrough = 0 'False - EndProperty - ForeColor = &H00FF0000& - Height = 1455 - Index = 0 - Left = 660 - TabIndex = 0 - Top = 120 - Width = 2115 - Begin VB.Image output_a - Appearance = 0 'Flat - Height = 165 - Index = 1 - Left = 1875 - Picture = "UTIL7348.frx":2310 - Top = 1035 - Width = 165 - End - Begin VB.Image output_a - Appearance = 0 'Flat - Height = 165 - Index = 0 - Left = 1875 - Picture = "UTIL7348.frx":23EA - Top = 555 - Width = 165 - End - Begin VB.Image input_a - Appearance = 0 'Flat - Height = 165 - Index = 1 - Left = 1875 - Picture = "UTIL7348.frx":24C4 - Top = 840 - Width = 165 - End - Begin VB.Image input_a - Appearance = 0 'Flat - Height = 165 - Index = 0 - Left = 1875 - Picture = "UTIL7348.frx":259E - Top = 360 - Width = 165 - End - Begin VB.Image bit_a - Appearance = 0 'Flat - Height = 180 - Index = 15 - Left = 120 - Picture = "UTIL7348.frx":2678 - Top = 960 - Width = 180 - End - Begin VB.Image bit_a - Appearance = 0 'Flat - Height = 180 - Index = 14 - Left = 330 - Picture = "UTIL7348.frx":275A - Top = 960 - Width = 180 - End - Begin VB.Image bit_a - Appearance = 0 'Flat - Height = 180 - Index = 13 - Left = 540 - Picture = "UTIL7348.frx":283C - Top = 960 - Width = 180 - End - Begin VB.Image bit_a - Appearance = 0 'Flat - Height = 180 - Index = 12 - Left = 750 - Picture = "UTIL7348.frx":291E - Top = 960 - Width = 180 - End - Begin VB.Image bit_a - Appearance = 0 'Flat - Height = 180 - Index = 11 - Left = 960 - Picture = "UTIL7348.frx":2A00 - Top = 960 - Width = 180 - End - Begin VB.Image bit_a - Appearance = 0 'Flat - Height = 180 - Index = 10 - Left = 1170 - Picture = "UTIL7348.frx":2AE2 - Top = 960 - Width = 180 - End - Begin VB.Image bit_a - Appearance = 0 'Flat - Height = 180 - Index = 9 - Left = 1380 - Picture = "UTIL7348.frx":2BC4 - Top = 960 - Width = 180 - End - Begin VB.Image bit_a - Appearance = 0 'Flat - Height = 180 - Index = 8 - Left = 1590 - Picture = "UTIL7348.frx":2CA6 - Top = 960 - Width = 180 - End - Begin VB.Shape Shape_a - BorderColor = &H00C0C0C0& - FillColor = &H00FF0000& - FillStyle = 0 'Solid - Height = 375 - Index = 1 - Left = 60 - Top = 840 - Width = 1800 - End - Begin VB.Image bit_a - Appearance = 0 'Flat - Height = 180 - Index = 7 - Left = 120 - Picture = "UTIL7348.frx":2D88 - Top = 480 - Width = 180 - End - Begin VB.Image bit_a - Appearance = 0 'Flat - Height = 180 - Index = 6 - Left = 330 - Picture = "UTIL7348.frx":2E6A - Top = 480 - Width = 180 - End - Begin VB.Image bit_a - Appearance = 0 'Flat - Height = 180 - Index = 5 - Left = 540 - Picture = "UTIL7348.frx":2F4C - Top = 480 - Width = 180 - End - Begin VB.Image bit_a - Appearance = 0 'Flat - Height = 180 - Index = 4 - Left = 750 - Picture = "UTIL7348.frx":302E - Top = 480 - Width = 180 - End - Begin VB.Image bit_a - Appearance = 0 'Flat - Height = 180 - Index = 3 - Left = 960 - Picture = "UTIL7348.frx":3110 - Top = 480 - Width = 180 - End - Begin VB.Image bit_a - Appearance = 0 'Flat - Height = 180 - Index = 2 - Left = 1170 - Picture = "UTIL7348.frx":31F2 - Top = 480 - Width = 180 - End - Begin VB.Image bit_a - Appearance = 0 'Flat - Height = 180 - Index = 1 - Left = 1380 - Picture = "UTIL7348.frx":32D4 - Top = 480 - Width = 180 - End - Begin VB.Image bit_a - Appearance = 0 'Flat - Height = 180 - Index = 0 - Left = 1590 - Picture = "UTIL7348.frx":33B6 - Top = 480 - Width = 180 - End - Begin VB.Shape Shape_a - BorderColor = &H00C0C0C0& - FillColor = &H00FF0000& - FillStyle = 0 'Solid - Height = 375 - Index = 0 - Left = 60 - Top = 360 - Width = 1800 - End - End - Begin VB.Image doc_1 - Appearance = 0 'Flat - Height = 180 - Left = 1380 - Picture = "UTIL7348.frx":3498 - Top = 4680 - Visible = 0 'False - Width = 180 - End - Begin VB.Image dic_1 - Appearance = 0 'Flat - Height = 180 - Left = 1380 - Picture = "UTIL7348.frx":357A - Top = 4500 - Visible = 0 'False - Width = 180 - End - Begin VB.Image dib_1 - Appearance = 0 'Flat - Height = 180 - Left = 1080 - Picture = "UTIL7348.frx":365C - Top = 4500 - Visible = 0 'False - Width = 180 - End - Begin VB.Image dob_1 - Appearance = 0 'Flat - Height = 180 - Left = 1080 - Picture = "UTIL7348.frx":373E - Top = 4680 - Visible = 0 'False - Width = 180 - End - Begin VB.Label Label1 - Appearance = 0 'Flat - BackColor = &H00C0C0C0& - Caption = "Ch1" - ForeColor = &H00FF0000& - Height = 195 - Index = 0 - Left = 180 - TabIndex = 1 - Top = 570 - Width = 375 - End - Begin VB.Label Label1 - Appearance = 0 'Flat - BackColor = &H00C0C0C0& - Caption = "Ch2" - ForeColor = &H00FF0000& - Height = 195 - Index = 1 - Left = 180 - TabIndex = 3 - Top = 1050 - Width = 375 - End - Begin VB.Shape Shape3 - BackColor = &H00C0C0C0& - FillColor = &H00C0C0C0& - FillStyle = 0 'Solid - Height = 1350 - Left = 120 - Top = 225 - Width = 495 - End - Begin VB.Image doa_1 - Appearance = 0 'Flat - Height = 180 - Left = 780 - Picture = "UTIL7348.frx":3820 - Top = 4680 - Visible = 0 'False - Width = 180 - End - Begin VB.Image do_0 - Appearance = 0 'Flat - Height = 180 - Left = 480 - Picture = "UTIL7348.frx":3902 - Top = 4680 - Visible = 0 'False - Width = 180 - End - Begin VB.Image dia_1 - Appearance = 0 'Flat - Height = 180 - Left = 780 - Picture = "UTIL7348.frx":39E4 - Top = 4500 - Visible = 0 'False - Width = 180 - End - Begin VB.Image di_0 - Appearance = 0 'Flat - Height = 180 - Left = 480 - Picture = "UTIL7348.frx":3AC6 - Top = 4500 - Visible = 0 'False - Width = 180 - End - Begin VB.Menu mnuExit - Caption = "E&xit!" - End -End -Attribute VB_Name = "Util7348" -Attribute VB_Creatable = False -Attribute VB_Exposed = False -Option Explicit - -Const INPUT_COLOR = &HFF00FF -Const OUTPUT_COLOR = &HFF0000 - -Dim value_a(0 To 1) As Long, value_b(0 To 1) As Long, value_c(0 To 3) As Long -Dim status_a(0 To 1) As Integer, status_b(0 To 1) As Integer, status_c(0 To 1) As Integer -'Dim hEnts As EventHandles -Private Sub bit_a_Click(Index As Integer) - Dim Channel As Integer - Dim bit As Integer - Dim result As Integer - Channel = Int(Index / 8) - bit = Index Mod 8 - If status_a(Channel) = OUTPUT_PORT Then - If (Int((value_a(Channel) / (2 ^ bit))) Mod 2) = 1 Then - bit_a(Index) = do_0 - value_a(Channel) = value_a(Channel) - (2 ^ bit) - Else 'bit is 0 - bit_a(Index) = doa_1 - value_a(Channel) = value_a(Channel) + (2 ^ bit) - End If - result = DO_WritePort(card, Channel * 5 + Channel_P1A, value_a(Channel)) - End If -End Sub - -Private Sub bit_b_Click(Index As Integer) - Dim Channel As Integer - Dim bit As Integer - Dim result As Integer - Channel = Int(Index / 8) - bit = Index Mod 8 - If status_b(Channel) = OUTPUT_PORT Then - If (Int((value_b(Channel) / (2 ^ bit))) Mod 2) = 1 Then - bit_b(Index) = do_0 - value_b(Channel) = value_b(Channel) - (2 ^ bit) - Else 'bit is 0 - bit_b(Index) = dob_1 - value_b(Channel) = value_b(Channel) + (2 ^ bit) - End If - result = DO_WritePort(card, Channel * 5 + Channel_P1B, value_b(Channel)) - End If -End Sub - -Private Sub bit_c_Click(Index As Integer) - Dim Channel As Integer - Dim bit As Integer - Dim result As Integer - Channel = Int(Index / 8) - bit = Index Mod 8 - If status_c(Channel) = OUTPUT_PORT Then - If (Int((value_c(Channel) / (2 ^ bit))) Mod 2) = 1 Then - bit_c(Index) = do_0 - value_c(Channel) = value_c(Channel) - (2 ^ bit) - Else 'bit is 0 - bit_c(Index) = doc_1 - value_c(Channel) = value_c(Channel) + (2 ^ bit) - End If - result = DO_WritePort(card, Channel * 5 + Channel_P1C, value_c(Channel)) - End If -End Sub - -Private Sub Card_Initial() - Dim i As Integer, j As Integer - Dim result As Integer - - For i = 0 To 1 'Initial status is Output for all channels - result = DIO_PortConfig(card, i * 5 + Channel_P1A, OUTPUT_PORT) - Shape_a(i).FillColor = OUTPUT_COLOR - status_a(i) = OUTPUT_PORT - For j = 0 To 7 - bit_a(i * 8 + j) = doa_1 - Next j - value_a(i) = &HFF - result = DO_WritePort(card, i * 5 + Channel_P1A, value_a(i)) - - result = DIO_PortConfig(card, i * 5 + Channel_P1B, OUTPUT_PORT) - Shape_b(i).FillColor = OUTPUT_COLOR - status_b(i) = OUTPUT_PORT - For j = 0 To 7 - bit_b(i * 8 + j) = dob_1 - Next j - value_b(i) = &HFF - result = DO_WritePort(card, i * 5 + Channel_P1B, value_b(i)) - - result = DIO_PortConfig(card, i * 5 + Channel_P1C, OUTPUT_PORT) - Shape_c(i).FillColor = OUTPUT_COLOR - status_c(i) = OUTPUT_PORT - For j = 0 To 7 - bit_c(i * 8 + j) = doc_1 - Next j - value_c(i) = &HFF - result = DO_WritePort(card, i * 5 + Channel_P1C, value_c(i)) - Next i -End Sub - -Private Sub Form_Load() - Dim result As Integer - SettingForm.Show 1 - If card < 0 Then - MsgBox "Register Card Failed" - End - End If - Card_Initial -End Sub - -Private Sub Form_Unload(Cancel As Integer) - Dim result As Integer - If card >= 0 Then - result = Release_Card(card) - End If - End -End Sub - -Private Sub input_a_Click(Index As Integer) - Dim result As Integer - Shape_a(Index).FillColor = INPUT_COLOR - InputAndShow Index, Channel_P1A - status_a(Index) = INPUT_PORT - result = DIO_PortConfig(card, Index * 5 + Channel_P1A, INPUT_PORT) -End Sub - -Private Sub input_b_Click(Index As Integer) - Dim result As Integer - Shape_b(Index).FillColor = INPUT_COLOR - InputAndShow Index, Channel_P1B - status_b(Index) = INPUT_PORT - result = DIO_PortConfig(card, Index * 5 + Channel_P1B, INPUT_PORT) -End Sub - -Private Sub input_c_Click(Index As Integer) - Dim result As Integer - Shape_c(Index).FillColor = INPUT_COLOR - InputAndShow Index, Channel_P1C - status_c(Index) = INPUT_PORT - result = DIO_PortConfig(card, Index * 5 + Channel_P1C, INPUT_PORT) -End Sub - -Private Sub InputAndShow(ByVal Channel As Integer, ByVal Port As Integer) - Dim databyte As Long - Dim result As Integer - Dim i As Integer, k As Integer - Dim p As Integer, q As Integer, r As Integer - result = DI_ReadPort(card, Channel * 5 + Port, databyte) - p = databyte - Select Case Port - Case Channel_P1A - k = Channel * 8 - For i = k To k + 7 - r = p Mod 2 - If r = 0 Then - bit_a(i) = di_0 - Else 'r = 1 - bit_a(i) = dia_1 - End If - p = Int(p / 2) - Next - value_a(Channel) = databyte - Case Channel_P1B - k = Channel * 8 - For i = k To k + 7 - r = p Mod 2 - If r = 0 Then - bit_b(i) = di_0 - Else 'r = 1 - bit_b(i) = dib_1 - End If - p = Int(p / 2) - Next - value_b(Channel) = databyte - Case Channel_P1C - k = Channel * 8 - For i = k To k + 7 - r = p Mod 2 - If r = 0 Then - bit_c(i) = di_0 - Else 'r = 1 - bit_c(i) = dic_1 - End If - p = Int(p / 2) - Next - value_c(Channel) = databyte - End Select -End Sub - -Private Sub mnuExit_Click() -Dim result As Integer - If card >= 0 Then - result = Release_Card(card) - End If - End -End Sub - -Private Sub output_a_Click(Index As Integer) - Dim i As Integer, k As Integer - Shape_a(Index).FillColor = OUTPUT_COLOR - value_a(Index) = &HFF - k = Index * 8 - For i = k To k + 7 - bit_a(i) = doa_1 - Next - k = DIO_PortConfig(card, Index * 5 + Channel_P1A, OUTPUT_PORT) - k = DO_WritePort(card, Index * 5 + Channel_P1A, &HFF) - status_a(Index) = OUTPUT_PORT -End Sub - -Private Sub output_b_Click(Index As Integer) - Dim i As Integer, k As Integer - Shape_b(Index).FillColor = OUTPUT_COLOR - value_b(Index) = &HFF - k = Index * 8 - For i = k To k + 7 - bit_b(i) = dob_1 - Next - k = DIO_PortConfig(card, Index * 5 + Channel_P1B, OUTPUT_PORT) - k = DO_WritePort(card, Index * 5 + Channel_P1B, &HFF) - status_b(Index) = OUTPUT_PORT -End Sub - -Private Sub output_c_Click(Index As Integer) - Dim i As Integer, k As Integer - Shape_c(Index).FillColor = OUTPUT_COLOR - value_c(Index) = &HFF - k = Index * 8 - For i = k To k + 7 - bit_c(i) = doc_1 - Next - k = DIO_PortConfig(card, Index * 5 + Channel_P1C, OUTPUT_PORT) - k = DO_WritePort(card, Index * 5 + Channel_P1C, &HFF) - status_c(Index) = OUTPUT_PORT -End Sub - -Private Sub Timer1_Timer() - Dim i As Integer, result As Long - For i = 0 To 1 - If status_a(i) = INPUT_PORT Then - InputAndShow i, Channel_P1A - End If - If status_b(i) = INPUT_PORT Then - InputAndShow i, Channel_P1B - End If - If status_c(i) = INPUT_PORT Then - InputAndShow i, Channel_P1C - End If - Next -End Sub - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7348/VB7348/Util7348.frx b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7348/VB7348/Util7348.frx deleted file mode 100644 index 6f94875..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7348/VB7348/Util7348.frx and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7350/C7350_COS/cos.c b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7350/C7350_COS/cos.c deleted file mode 100644 index 20e4f10..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7350/C7350_COS/cos.c +++ /dev/null @@ -1,154 +0,0 @@ -/*----------------------------------------------------------------------------*/ -/* Company : ADLINK */ -/* Date : 2009/06/09 */ -/* */ -/* This sample performs DI change of state functionality. */ -/* In PCIe-7350, there are 32 programmable DIO channels. Each 8 channels are */ -/* devided into one port that is the DIO configuration unit. */ -/* Internal interrupt will be asserted while the state of the input digital */ -/* signal is changed form low to high or high to low. */ -/* AFI port can also be set as the COS event out mode, and the set AFI port */ -/* will generate a pulse while COS occurs. */ -/*----------------------------------------------------------------------------*/ -#include -#include -#include -#include -#include -#include "dask.h" - -I16 card; -HANDLE COS_Event = 0; -BOOLEAN fStopThr = 0; -BOOLEAN fThrEnded = 0; - - -void wait_changeofstate(void *arg) -{ - I16 err; - U32 COSLData; - U32 stat; - - do{ - stat = WaitForSingleObject(COS_Event, INFINITE); - if(stat!=0){ - printf("WaitForSingleObject Error: %d\n", GetLastError()); - continue; - } - if(fStopThr) - break; - else{ - err = DIO_GetCOSLatchData32(card, 0, &COSLData); - if(err<0){ - printf("DIO_GetCOSLatchData32 Error: %d\n", err); - } - printf("Change of State; Latched Data: 0x%x\n", COSLData); - } - }while(1); - - fThrEnded = 1; - _endthread(); -} - - -int main(int argc, char **argv) -{ - I16 err; - U16 card_num; - U16 vi; - U32 DIRead; - BOOLEAN fStop; - U32 COSEventOutLen = 100; //100 system clock - 100 * 8 ns - - printf("This sample performs change of state functionality.\n"); - printf("DIO Port A is configured as a DO port while Port B\n"); - printf("is configured as a DI Port. Signal will be asserted\n"); - printf("and a %d ns pulse will be generated to AFI0 while\n", 8*COSEventOutLen); - printf("the DI state is changed.\n"); - - printf("Card Number? "); - scanf(" %hd", &card_num); - - /*Open and Initialize Device*/ - card = Register_Card(PCI_7350, card_num); - if(card<0){ - printf("Register_Card Error: %d\n", card); - exit(1); - } - - /*Configure 7350 DIO Port*/ - err = DIO_PortConfig(card, P7350_DIO_A, OUTPUT_PORT); - if(err<0){ - printf("DIO_PortConfig Port_A Error: %d\n", err); - Release_Card(card); - exit(1); - } - err = DIO_PortConfig(card, P7350_DIO_B, INPUT_PORT); - if(err<0){ - printf("DIO_PortConfig Port_B Error: %d\n", err); - Release_Card(card); - exit(1); - } - - DO_WritePort(card, P7350_DIO_A, 0); - Sleep(1); - - /* - * Setup COS for Port B - */ - err = DIO_SetCOSInterrupt32(card, 0, 0xff00, &COS_Event, 0); - if(err<0){ - printf("DIO_SetCOSInterrupt32 Error: %d\n", err); - Release_Card(card); - exit(1); - } - - /* - * Set COS event out to AFI port - */ - err = DIO_7350_AFIConfig(card, P7350_AFI_0, 1, P7350_AFI_COSTrigOut, COSEventOutLen); - if(err<0){ - printf("DIO_7350_AFIConfig Port_A Error: %d\n", err); - Release_Card(card); - exit(1); - } - - _beginthread(wait_changeofstate, 0, NULL); - - do{ - /* - * DO output to Port A/C - */ - printf("\n\nOutput Data? "); - scanf(" %x", &vi); - DO_WritePort(card, P7350_DIO_A, vi&0xff); - DI_ReadPort(card, P7350_DIO_B, &DIRead); - printf("Write to Port A: 0x%x; Read from Port B: 0x%x;\n", vi&0xff, DIRead); - printf("Quit? "); - fStop = getch(); - }while((fStop!='q')&&(fStop!='Q')); - - fStopThr = 1; - if(!fThrEnded){ - SetEvent(COS_Event); - ResetEvent(COS_Event); - } - while(!fThrEnded){ - Sleep(1); - } - - err = DIO_SetCOSInterrupt32(card, 0, 0, NULL, 0); - if(err<0){ - printf("DIO_SetCOSInterrupt32 Error: %d\n", err); - } - - err = DIO_7350_AFIConfig(card, P7350_AFI_0, 0, 0, 0); - if(err<0){ - printf("DIO_7350_AFIConfig Error: %d\n", err); - } - - printf("\n\nPress any key to exit...\n"); - getch(); - Release_Card(card); - return 0; -} diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7350/C7350_COS/cos.dsp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7350/C7350_COS/cos.dsp deleted file mode 100644 index a32f31b..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7350/C7350_COS/cos.dsp +++ /dev/null @@ -1,102 +0,0 @@ -# Microsoft Developer Studio Project File - Name="cos" - Package Owner=<4> -# Microsoft Developer Studio Generated Build File, Format Version 6.00 -# ** DO NOT EDIT ** - -# TARGTYPE "Win32 (x86) Console Application" 0x0103 - -CFG=cos - Win32 Debug -!MESSAGE This is not a valid makefile. To build this project using NMAKE, -!MESSAGE use the Export Makefile command and run -!MESSAGE -!MESSAGE NMAKE /f "cos.mak". -!MESSAGE -!MESSAGE You can specify a configuration when running NMAKE -!MESSAGE by defining the macro CFG on the command line. For example: -!MESSAGE -!MESSAGE NMAKE /f "cos.mak" CFG="cos - Win32 Debug" -!MESSAGE -!MESSAGE Possible choices for configuration are: -!MESSAGE -!MESSAGE "cos - Win32 Release" (based on "Win32 (x86) Console Application") -!MESSAGE "cos - Win32 Debug" (based on "Win32 (x86) Console Application") -!MESSAGE - -# Begin Project -# PROP AllowPerConfigDependencies 0 -# PROP Scc_ProjName "" -# PROP Scc_LocalPath "" -CPP=cl.exe -RSC=rc.exe - -!IF "$(CFG)" == "cos - Win32 Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "Release" -# PROP BASE Intermediate_Dir "Release" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "" -# PROP Intermediate_Dir "Release" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c -# ADD CPP /nologo /MT /W3 /GX /O2 /I "../../../include" /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c -# ADD BASE RSC /l 0x404 /d "NDEBUG" -# ADD RSC /l 0x404 /d "NDEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ../../../lib/pci-dask.lib /nologo /subsystem:console /machine:I386 - -!ELSEIF "$(CFG)" == "cos - Win32 Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "Debug" -# PROP BASE Intermediate_Dir "Debug" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "Debug" -# PROP Intermediate_Dir "Debug" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /GZ /c -# ADD CPP /nologo /MTd /W3 /Gm /GX /ZI /Od /I "../../../include" /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /GZ /c -# ADD BASE RSC /l 0x404 /d "_DEBUG" -# ADD RSC /l 0x404 /d "_DEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ../../../lib/pci-dask.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept - -!ENDIF - -# Begin Target - -# Name "cos - Win32 Release" -# Name "cos - Win32 Debug" -# Begin Group "Source Files" - -# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;idl;hpj;bat" -# Begin Source File - -SOURCE=.\cos.c -# End Source File -# End Group -# Begin Group "Header Files" - -# PROP Default_Filter "h;hpp;hxx;hm;inl" -# End Group -# Begin Group "Resource Files" - -# PROP Default_Filter "ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe" -# End Group -# End Target -# End Project diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7350/C7350_COS/cos.dsw b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7350/C7350_COS/cos.dsw deleted file mode 100644 index e811f90..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7350/C7350_COS/cos.dsw +++ /dev/null @@ -1,29 +0,0 @@ -Microsoft Developer Studio Workspace File, Format Version 6.00 -# WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE! - -############################################################################### - -Project: "cos"=.\cos.dsp - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ -}}} - -############################################################################### - -Global: - -Package=<5> -{{{ -}}} - -Package=<3> -{{{ -}}} - -############################################################################### - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7350/C7350_COS/cos.exe b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7350/C7350_COS/cos.exe deleted file mode 100644 index 69294af..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7350/C7350_COS/cos.exe and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7350/C7350_DIO_BurstHandShake/dio.c b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7350/C7350_DIO_BurstHandShake/dio.c deleted file mode 100644 index 3ac6ed5..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7350/C7350_DIO_BurstHandShake/dio.c +++ /dev/null @@ -1,327 +0,0 @@ -/*----------------------------------------------------------------------------*/ -/* Company : ADLINK */ -/* Date : 2009/06/09 */ -/* */ -/* This sample performs DO and DI Burst Handshake operation with DI_TRIG. */ -/* */ -/* DO REQ Source (AFI2) <-------> DI REQ Source (AFI3) */ -/* DO ACK Source (AFI4) <-------> DI ACK Source (AFI5) */ -/* DO Software Trigger Out (AFI0) -------> DI TRIG Source (AFI1) */ -/* DO Exported Sampled Clock (AFI6) -----> DI External Sampled Clock (AFI7) */ -/* 16 Bits DO Data (DIO Port A/C) -------> 16 Bits DI Data (DIO Port B/D) */ -/*----------------------------------------------------------------------------*/ -#include -#include -#include -#include -#include "dask.h" - - -int main(int argc, char **argv) -{ - I16 card, err; - U16 card_num; - U16 DOPortWidth = 16; //Port Width - U16 DOMode = P7350_BurstHandShake; //DO Mode - U16 DOWaitStatus = P7350_WAIT_SOFTTRG; //Wait Soft Trigger - U16 DOClkConfig = P7350_IntSampledCLK|P7350_EnExpSampledCLK; //Internal Conversion Clock - U16 DIPortWidth = 16; //Port Width - U16 DIMode = P7350_BurstHandShake; //DI Mode - U16 DIWaitStatus = P7350_WAIT_EXTTRG; //Wait External Trigger - U16 DIClkConfig = P7350_ExtSampledCLK; //External Conversion Clock - U16 DOTrigConfig = P7350_EnSoftTrigOut; //Enable Software Trigger Out - U16 DO_REQSrc = P7350_AFI_2; //DO REQ Source - U16 DO_ACKSrc = P7350_AFI_4; //DO ACK Source - U16 DOSoftTrigOutSrc = P7350_AFI_0; //Software Trigger Out Source - U32 DOSoftTrigOutLength = 10; //Software Trigger Out Length - U32 DOTrigCount = 1; //Software Trigger Supports only 1 Trigger - U16 DI_REQSrc = P7350_AFI_3; //DI REQ Source - U16 DI_ACKSrc = P7350_AFI_5; //DI ACK Source - U16 DI_TRIGSrc = P7350_AFI_1; //DI TRIG Source - U32 DITrigCount = 1; //Software Trigger Supports only 1 Trigger - U16 DICLK_Src = P7350_AFI_7; - U16 DICLK_DDAMode = /*P7350_EnDDA|P7350_DDA_Lead*/0; - U16 DICLK_DPAMode = /*P7350_DDA_1R04NS*/0; - U16 DICLK_DDAVlaue = /*P7350_EnDPA*/0; - U16 DICLK_DPAVlaue = /*P7350_DPA_180DG*/0; - U16 o_DOCLK_Src = P7350_AFI_6; - U16 o_DOCLK_DPAMode = P7350_EnDPA; - U16 o_DOCLK_DPAVlaue = P7350_DPA_0DG; - U16 *DOBuffer; //Buffer to be written - U16 *DIBuffer; //Buffer to be read - F64 DOSampleRate = 50000000; //DO Update Rate - U32 WriteCount = 65536; //Data Count to be written - U32 ReadCount = 65536; //Data Count to be read - U32 vi; - BOOLEAN DIStopped = 0; - U32 DIAccessCnt = 0; - BOOLEAN DOStopped = 0; - U32 DOAccessCnt = 0; - FILE *fout; - BOOLEAN fwrt = FALSE; - - printf("The sample performs DIO Burst Handshake operation.\n"); - printf("DIO port A/C are configured as the DO port and\n"); - printf("DIO port B/D are configured as the DI port.\n"); - printf("AFI2 and AFI4 are set to be as DO_REQ and DO_ACK\n"); - printf("while AFI3 and AFI5 are set to be as DI_REQ and DI_ACK.\n"); - printf("DO is set to enable software trigger out (AFI0) to\n"); - printf("be as the DI_TRIG source (AFI1).\n"); - printf("And the DO sampled clock is set to be exported (AFI6)\n"); - printf("and as the DI external sampled clock (AFI7).\n"); - printf("Please connect AFI0 <---> AFI1\n"); - printf(" AFI2 <---> AFI3\n"); - printf(" AFI4 <---> AFI5\n"); - printf(" AFI6 <---> AFI7\n"); - printf(" PortA <---> PortB\n"); - printf(" PortC <---> PortD\n"); - - printf("\nCard Number? "); - scanf(" %hd", &card_num); - /* - * Open and initialize PCIe-7350 - */ - card = Register_Card(PCI_7350, 0); - if(card<0){ - printf("Register_Card Error: %d\n", card); - exit(1); - } - - /* - * Set Voltage Level for DIO Port - */ - err = DIO_VoltLevelConfig(card, P7350_PortDIO, VoltLevel_3R3); - if(err!=NoError){ - printf("DIO_VoltLevelConfig Error: %d\n", err); - Release_Card(card); - exit(1); - } - err = DIO_VoltLevelConfig(card, P7350_PortAFI, VoltLevel_3R3); - if(err!=NoError){ - printf("DIO_VoltLevelConfig Error: %d\n", err); - Release_Card(card); - exit(1); - } - - /* - * Set Input or Output for DIO Port - */ - err = DIO_PortConfig(card, P7350_DIO_A, OUTPUT_PORT); - if(err!=NoError){ - printf("DIO_PortConfig Error: %d\n", err); - Release_Card(card); - exit(1); - } - err = DIO_PortConfig(card, P7350_DIO_B, INPUT_PORT); - if(err!=NoError){ - printf("DIO_PortConfig Error: %d\n", err); - Release_Card(card); - exit(1); - } - err = DIO_PortConfig(card, P7350_DIO_C, OUTPUT_PORT); - if(err!=NoError){ - printf("DIO_PortConfig Error: %d\n", err); - Release_Card(card); - exit(1); - } - err = DIO_PortConfig(card, P7350_DIO_D, INPUT_PORT); - if(err!=NoError){ - printf("DIO_PortConfig Error: %d\n", err); - Release_Card(card); - exit(1); - } - - /* - * Set DO Configurations - */ - err = DO_7350_Config(card, DOPortWidth, DOMode, DOWaitStatus, DOClkConfig); - if(err!=NoError){ - printf("DO_7350_Config Error: %d\n", err); - Release_Card(card); - exit(1); - } - /* - * Set DI Configurations - */ - err = DI_7350_Config(card, DIPortWidth, DIMode, DIWaitStatus, DIClkConfig); - if(err!=NoError){ - printf("DI_7350_Config Error: %d\n", err); - Release_Card(card); - exit(1); - } - - /* - * Set DO Trigger and HandShake Configurations - */ - err = DO_7350_TrigHSConfig( - card, - DOTrigConfig, - 0/*DO_IPOL*/, - DO_REQSrc, - DO_ACKSrc, - 0/*DO_TRIGSrc*/, - 0/*StartTrigSrc*/, - 0/*PauseTrigSrc*/, - DOSoftTrigOutSrc, - DOSoftTrigOutLength, - DOTrigCount - ); - if(err!=NoError){ - printf("DO_7350_TrigHSConfig Error: %d\n", err); - Release_Card(card); - exit(1); - } - /* - * Set DI Trigger and HandShake Configurations - */ - err = DI_7350_TrigHSConfig( - card, - 0/*TrigConfig*/, - 0/*DI_IPOL*/, - DI_REQSrc, - DI_ACKSrc, - DI_TRIGSrc, - 0/*DIStartTrigSrc*/, - 0/*PauseTrigSrc*/, - 0/*SoftTrigOutSrc*/, - 0/*SoftTrigOutLength*/, - DITrigCount - ); - if(err!=NoError){ - printf("DI_7350_TrigHSConfig Error: %d\n", err); - Release_Card(card); - exit(1); - } - - /* - * Set DI Sampled Clock - */ - err = DI_7350_ExtSampCLKConfig( - card, - DICLK_Src, - DICLK_DDAMode, - DICLK_DPAMode, - DICLK_DDAVlaue, - DICLK_DPAVlaue - ); - if(err!=NoError){ - printf("DI_7350_ExtSampCLKConfig Error: %d\n", err); - Release_Card(card); - exit(1); - } - - - /* - * Set DO Export Clock - */ - err = DO_7350_ExportSampCLKConfig( - card, - o_DOCLK_Src, - o_DOCLK_DPAMode, - o_DOCLK_DPAVlaue - ); - if(err!=NoError){ - printf("DO_7350_ExportSampCLKConfig Error: %d\n", err); - Release_Card(card); - exit(1); - } - - /* - * allocate buffer to be read/written - - * Note: PCIe-7350 DMA engine only supports 8-bytes data and address alignment. - * That means - - * 1. the bytes count of the totally transffed data is the times of 8. - * 2. the lowest 3 bits of the buffer address is 0. - */ - /*allocate page-aligned memory to meet 8-bytes alignment*/ - DOBuffer = (U16 *)VirtualAlloc(NULL, WriteCount*(DOPortWidth/8), MEM_COMMIT, PAGE_READWRITE); - for(vi=0; vi -# Microsoft Developer Studio Generated Build File, Format Version 6.00 -# ** DO NOT EDIT ** - -# TARGTYPE "Win32 (x86) Console Application" 0x0103 - -CFG=dio - Win32 Debug -!MESSAGE This is not a valid makefile. To build this project using NMAKE, -!MESSAGE use the Export Makefile command and run -!MESSAGE -!MESSAGE NMAKE /f "dio.mak". -!MESSAGE -!MESSAGE You can specify a configuration when running NMAKE -!MESSAGE by defining the macro CFG on the command line. For example: -!MESSAGE -!MESSAGE NMAKE /f "dio.mak" CFG="dio - Win32 Debug" -!MESSAGE -!MESSAGE Possible choices for configuration are: -!MESSAGE -!MESSAGE "dio - Win32 Release" (based on "Win32 (x86) Console Application") -!MESSAGE "dio - Win32 Debug" (based on "Win32 (x86) Console Application") -!MESSAGE - -# Begin Project -# PROP AllowPerConfigDependencies 0 -# PROP Scc_ProjName "" -# PROP Scc_LocalPath "" -CPP=cl.exe -RSC=rc.exe - -!IF "$(CFG)" == "dio - Win32 Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "Release" -# PROP BASE Intermediate_Dir "Release" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "" -# PROP Intermediate_Dir "Release" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c -# ADD CPP /nologo /W3 /GX /O2 /I "../../../include" /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c -# ADD BASE RSC /l 0x404 /d "NDEBUG" -# ADD RSC /l 0x404 /d "NDEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ../../../lib/pci-dask.lib /nologo /subsystem:console /machine:I386 - -!ELSEIF "$(CFG)" == "dio - Win32 Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "Debug" -# PROP BASE Intermediate_Dir "Debug" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "Debug" -# PROP Intermediate_Dir "Debug" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /GZ /c -# ADD CPP /nologo /W3 /Gm /GX /ZI /Od /I "../../../include" /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /GZ /c -# ADD BASE RSC /l 0x404 /d "_DEBUG" -# ADD RSC /l 0x404 /d "_DEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ../../../lib/pci-dask.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept - -!ENDIF - -# Begin Target - -# Name "dio - Win32 Release" -# Name "dio - Win32 Debug" -# Begin Group "Source Files" - -# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;idl;hpj;bat" -# Begin Source File - -SOURCE=.\dio.c -# End Source File -# End Group -# Begin Group "Header Files" - -# PROP Default_Filter "h;hpp;hxx;hm;inl" -# End Group -# Begin Group "Resource Files" - -# PROP Default_Filter "ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe" -# End Group -# End Target -# End Project diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7350/C7350_DIO_BurstHandShake/dio.dsw b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7350/C7350_DIO_BurstHandShake/dio.dsw deleted file mode 100644 index 6264399..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7350/C7350_DIO_BurstHandShake/dio.dsw +++ /dev/null @@ -1,29 +0,0 @@ -Microsoft Developer Studio Workspace File, Format Version 6.00 -# WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE! - -############################################################################### - -Project: "dio"=.\dio.dsp - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ -}}} - -############################################################################### - -Global: - -Package=<5> -{{{ -}}} - -Package=<3> -{{{ -}}} - -############################################################################### - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7350/C7350_DIO_BurstHandShake/dio.exe b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7350/C7350_DIO_BurstHandShake/dio.exe deleted file mode 100644 index b6b849a..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7350/C7350_DIO_BurstHandShake/dio.exe and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7350/C7350_DIO_HandShake/dio.c b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7350/C7350_DIO_HandShake/dio.c deleted file mode 100644 index 872a082..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7350/C7350_DIO_HandShake/dio.c +++ /dev/null @@ -1,279 +0,0 @@ -/*----------------------------------------------------------------------------*/ -/* Company : ADLINK */ -/* Date : 2009/06/09 */ -/* */ -/* This sample performs DO and DI Handshake operation with DI_TRIG. */ -/* */ -/* DO REQ Source (AFI2) <-------> DI REQ Source (AFI3) */ -/* DO ACK Source (AFI4) <-------> DI ACK Source (AFI5) */ -/* DO Software Trigger Out (AFI0) -------> DI TRIG Source (AFI1) */ -/* 16 Bits DO Data (DIO Port A/C) -------> 16 Bits DI Data (DIO Port B/D) */ -/*----------------------------------------------------------------------------*/ -#include -#include -#include -#include -#include "dask.h" - - -int main(int argc, char **argv) -{ - I16 card, err; - U16 card_num; - U16 DOPortWidth = 16; //Port Width - U16 DOMode = P7350_HandShake; //DO Mode - U16 DOWaitStatus = P7350_WAIT_SOFTTRG; //No Wait Trigger - U16 DIPortWidth = 16; //Port Width - U16 DIMode = P7350_HandShake; //DI Mode - U16 DIWaitStatus = P7350_WAIT_EXTTRG; //No Wait Trigger - U16 DOTrigConfig = P7350_EnSoftTrigOut; //Enable Soft Trigger Out - U16 DO_REQSrc = P7350_AFI_2; //DO REQ Source - U16 DO_ACKSrc = P7350_AFI_4; //DO ACK Source - U16 DOSoftTrigOutSrc = P7350_AFI_0; //Soft Trigger Out Source - U32 DOSoftTrigOutLength = 10; //Soft Trigger Out Length - U32 DOTrigCount = 1; //Trigger Count - U16 DI_REQSrc = P7350_AFI_3; //DI REQ Source - U16 DI_ACKSrc = P7350_AFI_5; //DI ACK Source - U16 DI_TRIGSrc = P7350_AFI_1; //DI TRIG Source - U32 DITrigCount = 1; //Trigger Count - U16 *DOBuffer; //Buffer to be written - U16 *DIBuffer; //Buffer to be read - U32 WriteCount = 65536; //Data Count to be written - U32 ReadCount = 65536; //Data Count to be read - U32 vi; - BOOLEAN DIStopped = 0; - U32 DIAccessCnt = 0; - BOOLEAN DOStopped = 0; - U32 DOAccessCnt = 0; - BOOLEAN fwrt; - FILE *fout; - - printf("The sample performs DIO Handshake operation.\n"); - printf("DIO port A/C are configured as the DO port and\n"); - printf("DIO port B/D are configured as the DI port.\n"); - printf("AFI2 and AFI4 are set to be as DO_REQ and DO_ACK\n"); - printf("while AFI3 and AFI5 are set to be as DI_REQ and DI_ACK.\n"); - printf("And DO is set to enable software trigger out (AFI0) to\n"); - printf("be as the DI_TRIG source (AFI1).\n"); - printf("Please connect AFI0 <---> AFI1\n"); - printf(" AFI2 <---> AFI3\n"); - printf(" AFI4 <---> AFI5\n"); - printf(" PortA <---> PortB\n"); - printf(" PortC <---> PortD\n"); - - printf("\nCard Number? "); - scanf(" %hd", &card_num); - /* - * Open and initialize PCIe-7350 - */ - card = Register_Card(PCI_7350, card_num); - if(card<0){ - printf("Register_Card Error: %d\n", card); - exit(1); - } - - /* - * Set Voltage Level for DIO Port - */ - err = DIO_VoltLevelConfig(card, P7350_PortDIO, VoltLevel_3R3); - if(err!=NoError){ - printf("DIO_VoltLevelConfig Error: %d\n", err); - Release_Card(card); - exit(1); - } - err = DIO_VoltLevelConfig(card, P7350_PortAFI, VoltLevel_3R3); - if(err!=NoError){ - printf("DIO_VoltLevelConfig Error: %d\n", err); - Release_Card(card); - exit(1); - } - - /* - * Set Input or Output for DIO Port - */ - err = DIO_PortConfig(card, P7350_DIO_A, OUTPUT_PORT); - if(err!=NoError){ - printf("DIO_PortConfig Error: %d\n", err); - Release_Card(card); - exit(1); - } - err = DIO_PortConfig(card, P7350_DIO_B, INPUT_PORT); - if(err!=NoError){ - printf("DIO_PortConfig Error: %d\n", err); - Release_Card(card); - exit(1); - } - err = DIO_PortConfig(card, P7350_DIO_C, OUTPUT_PORT); - if(err!=NoError){ - printf("DIO_PortConfig Error: %d\n", err); - Release_Card(card); - exit(1); - } - err = DIO_PortConfig(card, P7350_DIO_D, INPUT_PORT); - if(err!=NoError){ - printf("DIO_PortConfig Error: %d\n", err); - Release_Card(card); - exit(1); - } - - /* - * Set DO Configurations - */ - err = DO_7350_Config(card, DOPortWidth, DOMode, DOWaitStatus, 0/*DOClkConfig*/); - if(err!=NoError){ - printf("DO_7350_Config Error: %d\n", err); - Release_Card(card); - exit(1); - } - /* - * Set DI Configurations - */ - err = DI_7350_Config(card, DIPortWidth, DIMode, DIWaitStatus, 0/*DIClkConfig*/); - if(err!=NoError){ - printf("DI_7350_Config Error: %d\n", err); - Release_Card(card); - exit(1); - } - - /* - * Set DO Trigger and HandShake Configurations - */ - err = DO_7350_TrigHSConfig( - card, - DOTrigConfig, - 0/*DO_IPOL*/, - DO_REQSrc, - DO_ACKSrc, - 0/*DO_TRIGSrc*/, - 0/*StartTrigSrc*/, - 0/*PauseTrigSrc*/, - DOSoftTrigOutSrc, - DOSoftTrigOutLength, - DOTrigCount - ); - if(err!=NoError){ - printf("DO_7350_TrigHSConfig Error: %d\n", err); - Release_Card(card); - exit(1); - } - /* - * Set DI Trigger and HandShake Configurations - */ - err = DI_7350_TrigHSConfig( - card, - 0/*TrigConfig*/, - 0/*DI_IPOL*/, - DI_REQSrc, - DI_ACKSrc, - DI_TRIGSrc, - 0/*DIStartTrigSrc*/, - 0/*PauseTrigSrc*/, - 0/*SoftTrigOutSrc*/, - 0/*SoftTrigOutLength*/, - DITrigCount - ); - if(err!=NoError){ - printf("DI_7350_TrigHSConfig Error: %d\n", err); - Release_Card(card); - exit(1); - } - - /* - * allocate buffer to be read/written - - * Note: PCIe-7350 DMA engine only supports 8-bytes data and address alignment. - * That means - - * 1. the bytes count of the totally transffed data is the times of 8. - * 2. the lowest 3 bits of the buffer address is 0. - */ - /*allocate page-aligned memory to meet 8-bytes alignment*/ - DOBuffer = (U16 *)VirtualAlloc(NULL, WriteCount*(DOPortWidth/8), MEM_COMMIT, PAGE_READWRITE); - for(vi=0; vi -# Microsoft Developer Studio Generated Build File, Format Version 6.00 -# ** DO NOT EDIT ** - -# TARGTYPE "Win32 (x86) Console Application" 0x0103 - -CFG=dio - Win32 Debug -!MESSAGE This is not a valid makefile. To build this project using NMAKE, -!MESSAGE use the Export Makefile command and run -!MESSAGE -!MESSAGE NMAKE /f "dio.mak". -!MESSAGE -!MESSAGE You can specify a configuration when running NMAKE -!MESSAGE by defining the macro CFG on the command line. For example: -!MESSAGE -!MESSAGE NMAKE /f "dio.mak" CFG="dio - Win32 Debug" -!MESSAGE -!MESSAGE Possible choices for configuration are: -!MESSAGE -!MESSAGE "dio - Win32 Release" (based on "Win32 (x86) Console Application") -!MESSAGE "dio - Win32 Debug" (based on "Win32 (x86) Console Application") -!MESSAGE - -# Begin Project -# PROP AllowPerConfigDependencies 0 -# PROP Scc_ProjName "" -# PROP Scc_LocalPath "" -CPP=cl.exe -RSC=rc.exe - -!IF "$(CFG)" == "dio - Win32 Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "Release" -# PROP BASE Intermediate_Dir "Release" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "" -# PROP Intermediate_Dir "Release" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c -# ADD CPP /nologo /W3 /GX /O2 /I "../../../include" /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c -# ADD BASE RSC /l 0x404 /d "NDEBUG" -# ADD RSC /l 0x404 /d "NDEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ../../../lib/pci-dask.lib /nologo /subsystem:console /machine:I386 - -!ELSEIF "$(CFG)" == "dio - Win32 Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "Debug" -# PROP BASE Intermediate_Dir "Debug" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "Debug" -# PROP Intermediate_Dir "Debug" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /GZ /c -# ADD CPP /nologo /W3 /Gm /GX /ZI /Od /I "../../../include" /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /GZ /c -# ADD BASE RSC /l 0x404 /d "_DEBUG" -# ADD RSC /l 0x404 /d "_DEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ../../../lib/pci-dask.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept - -!ENDIF - -# Begin Target - -# Name "dio - Win32 Release" -# Name "dio - Win32 Debug" -# Begin Group "Source Files" - -# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;idl;hpj;bat" -# Begin Source File - -SOURCE=.\dio.c -# End Source File -# End Group -# Begin Group "Header Files" - -# PROP Default_Filter "h;hpp;hxx;hm;inl" -# End Group -# Begin Group "Resource Files" - -# PROP Default_Filter "ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe" -# End Group -# End Target -# End Project diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7350/C7350_DIO_HandShake/dio.dsw b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7350/C7350_DIO_HandShake/dio.dsw deleted file mode 100644 index 6264399..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7350/C7350_DIO_HandShake/dio.dsw +++ /dev/null @@ -1,29 +0,0 @@ -Microsoft Developer Studio Workspace File, Format Version 6.00 -# WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE! - -############################################################################### - -Project: "dio"=.\dio.dsp - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ -}}} - -############################################################################### - -Global: - -Package=<5> -{{{ -}}} - -Package=<3> -{{{ -}}} - -############################################################################### - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7350/C7350_DIO_HandShake/dio.exe b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7350/C7350_DIO_HandShake/dio.exe deleted file mode 100644 index b318e5a..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7350/C7350_DIO_HandShake/dio.exe and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7350/C7350_DIO_POLL/dio.c b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7350/C7350_DIO_POLL/dio.c deleted file mode 100644 index 2ac5485..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7350/C7350_DIO_POLL/dio.c +++ /dev/null @@ -1,150 +0,0 @@ -/*----------------------------------------------------------------------------*/ -/* Company : ADLINK */ -/* Date : 2008/12/18 */ -/* */ -/* This sample performs DIO with polling mode. */ -/* In PCIe-7350, there are 32 programmable DIO channels. Each 8 channels are */ -/* devided into one port that is the DIO configuration unit. */ -/* You can program the 4 ports to input or output individually. */ -/*----------------------------------------------------------------------------*/ -#include -#include -#include -#include -#include "dask.h" - - -int main(int argc, char **argv) -{ - I16 card, err; - U16 card_num; - U32 DI_Value0; - U32 DI_Value1; - U32 DO_Value = 0; - U32 DO_Read0; - U32 DO_Read1; - - printf("This sample perform DIO with polling mode.\n"); - printf("Port A/C are configured as DO ports\n"); - printf("while port B/D are configured as DI ones.\n"); - printf("You can connect port A-C, and B-D to test this sample.\n\n"); - - printf("Card Number? "); - scanf(" %hd", &card_num); - - /* - * Open and Initialize Device - */ - card = Register_Card(PCI_7350, card_num); - if(card<0){ - printf("Register_Card Error: %d\n", card); - exit(1); - } - - /* - * Configure 7350 DIO Port Direction (Input or Output) - */ - err = DIO_PortConfig(card, P7350_DIO_A, OUTPUT_PORT); - if(err<0){ - printf("DIO_PortConfig Port_A Error: %d\n", err); - Release_Card(card); - exit(1); - } - err = DIO_PortConfig(card, P7350_DIO_B, INPUT_PORT); - if(err<0){ - printf("DIO_PortConfig Port_B Error: %d\n", err); - Release_Card(card); - exit(1); - } - err = DIO_PortConfig(card, P7350_DIO_C, OUTPUT_PORT); - if(err<0){ - printf("DIO_PortConfig Port_C Error: %d\n", err); - Release_Card(card); - exit(1); - } - err = DIO_PortConfig(card, P7350_DIO_D, INPUT_PORT); - if(err<0){ - printf("DIO_PortConfig Port_D Error: %d\n", err); - Release_Card(card); - exit(1); - } - - /* - * Configure DIO Voltage Level - */ - err = DIO_VoltLevelConfig(card, P7350_PortDIO, VoltLevel_3R3); - if(err<0){ - printf("DIO_7350_SetVoltLevel Error: %d\n", err); - Release_Card(card); - exit(1); - } - - /* - * Read/Write Control - */ - do{ - system("cls\n"); - /*Write Port A*/ - err = DO_WritePort(card, P7350_DIO_A, DO_Value); - if(err<0){ - printf("DO_WritePort Port A Error: %d\n", err); - Release_Card(card); - exit(1); - } - /*Write Port C*/ - err = DO_WritePort(card, P7350_DIO_C, 255-DO_Value); - if(err<0){ - printf("DO_WritePort Port C Error: %d\n", err); - Release_Card(card); - exit(1); - } - Sleep(1); - /*Read Port B*/ - err = DI_ReadPort(card, P7350_DIO_B, &DI_Value0); - if(err<0){ - printf("DI_ReadPort Port B Error: %d\n", err); - Release_Card(card); - exit(1); - } - /*Read Port D*/ - err = DI_ReadPort(card, P7350_DIO_D, &DI_Value1); - if(err<0){ - printf("DI_ReadPort Port D Error: %d\n", err); - Release_Card(card); - exit(1); - } - /*Read Back Port A*/ - err = DO_ReadPort(card, P7350_DIO_A, &DO_Read0); - if(err<0){ - printf("DO_ReadPort Port A Error: %d\n", err); - Release_Card(card); - exit(1); - } - /*Read Back Port C*/ - err = DO_ReadPort(card, P7350_DIO_C, &DO_Read1); - if(err<0){ - printf("DO_ReadPort Port C Error: %d\n", err); - Release_Card(card); - exit(1); - } - - - printf("-----------------------------------------\n"); - printf(" DO Write Port Port A Port C\n"); - printf(" DO Write Data 0x%2x 0x%2x\n\n", DO_Value, 255-DO_Value); - printf(" DO Read Port Port A Port C\n"); - printf(" DO Read Data 0x%2x 0x%2x\n\n", DO_Read0, DO_Read1); - printf(" DI Read Port Port B Port D\n"); - printf(" DI Read Data 0x%2x 0x%2x\n\n", DI_Value0, DI_Value1); - printf(" Press any key to stop...\n"); - printf("-----------------------------------------\n"); - if(++DO_Value==256) - DO_Value = 0; - Sleep(100); - }while(!kbhit());getch(); - - printf("Press any key to exit...\n"); - getch(); - Release_Card(card); - return 0; -} diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7350/C7350_DIO_POLL/dio.dsp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7350/C7350_DIO_POLL/dio.dsp deleted file mode 100644 index c793f4f..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7350/C7350_DIO_POLL/dio.dsp +++ /dev/null @@ -1,102 +0,0 @@ -# Microsoft Developer Studio Project File - Name="dio" - Package Owner=<4> -# Microsoft Developer Studio Generated Build File, Format Version 6.00 -# ** DO NOT EDIT ** - -# TARGTYPE "Win32 (x86) Console Application" 0x0103 - -CFG=dio - Win32 Debug -!MESSAGE This is not a valid makefile. To build this project using NMAKE, -!MESSAGE use the Export Makefile command and run -!MESSAGE -!MESSAGE NMAKE /f "dio.mak". -!MESSAGE -!MESSAGE You can specify a configuration when running NMAKE -!MESSAGE by defining the macro CFG on the command line. For example: -!MESSAGE -!MESSAGE NMAKE /f "dio.mak" CFG="dio - Win32 Debug" -!MESSAGE -!MESSAGE Possible choices for configuration are: -!MESSAGE -!MESSAGE "dio - Win32 Release" (based on "Win32 (x86) Console Application") -!MESSAGE "dio - Win32 Debug" (based on "Win32 (x86) Console Application") -!MESSAGE - -# Begin Project -# PROP AllowPerConfigDependencies 0 -# PROP Scc_ProjName "" -# PROP Scc_LocalPath "" -CPP=cl.exe -RSC=rc.exe - -!IF "$(CFG)" == "dio - Win32 Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "Release" -# PROP BASE Intermediate_Dir "Release" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "" -# PROP Intermediate_Dir "Release" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c -# ADD CPP /nologo /W3 /GX /O2 /I "../../../include" /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c -# ADD BASE RSC /l 0x404 /d "NDEBUG" -# ADD RSC /l 0x404 /d "NDEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ../../../lib/pci-dask.lib /nologo /subsystem:console /machine:I386 - -!ELSEIF "$(CFG)" == "dio - Win32 Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "Debug" -# PROP BASE Intermediate_Dir "Debug" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "Debug" -# PROP Intermediate_Dir "Debug" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /GZ /c -# ADD CPP /nologo /W3 /Gm /GX /ZI /Od /I "../../../include" /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /GZ /c -# ADD BASE RSC /l 0x404 /d "_DEBUG" -# ADD RSC /l 0x404 /d "_DEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ../../../lib/pci-dask.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept - -!ENDIF - -# Begin Target - -# Name "dio - Win32 Release" -# Name "dio - Win32 Debug" -# Begin Group "Source Files" - -# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;idl;hpj;bat" -# Begin Source File - -SOURCE=.\dio.c -# End Source File -# End Group -# Begin Group "Header Files" - -# PROP Default_Filter "h;hpp;hxx;hm;inl" -# End Group -# Begin Group "Resource Files" - -# PROP Default_Filter "ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe" -# End Group -# End Target -# End Project diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7350/C7350_DIO_POLL/dio.dsw b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7350/C7350_DIO_POLL/dio.dsw deleted file mode 100644 index 6264399..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7350/C7350_DIO_POLL/dio.dsw +++ /dev/null @@ -1,29 +0,0 @@ -Microsoft Developer Studio Workspace File, Format Version 6.00 -# WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE! - -############################################################################### - -Project: "dio"=.\dio.dsp - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ -}}} - -############################################################################### - -Global: - -Package=<5> -{{{ -}}} - -Package=<3> -{{{ -}}} - -############################################################################### - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7350/C7350_DIO_POLL/dio.exe b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7350/C7350_DIO_POLL/dio.exe deleted file mode 100644 index 986c875..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7350/C7350_DIO_POLL/dio.exe and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7350/C7350_DI_DMA/di.c b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7350/C7350_DI_DMA/di.c deleted file mode 100644 index 115bbcc..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7350/C7350_DI_DMA/di.c +++ /dev/null @@ -1,155 +0,0 @@ -/*----------------------------------------------------------------------------*/ -/* Company : ADLINK */ -/* Date : 2009/06/07 */ -/* */ -/* This sample performs continuous DI acquisition. */ -/* The sample updates 65536 32-bits samples to DIO Port A/B/C/D with 50MHz */ -/* internal sampled clock while the DI operation is performed. */ -/*----------------------------------------------------------------------------*/ -#include -#include -#include -#include -#include "dask.h" - - -int main(int argc, char **argv) -{ - I16 card, err; - U16 card_num; - U16 DIPortWidth = 32; //Port Width - U16 DIMode = P7350_FreeRun; //DI Mode - U16 DIWaitStatus = P7350_WAIT_NO; //No Wait Trigger - U16 DIClkConfig = P7350_IntSampledCLK; //Internal Conversion Clock - U32 *Buffer; //Buffer to be read - U32 ReadCount = 65536; //Data Count to be read - F64 SampleRate = 50000000; //Sampling Rate - U32 vi; - BOOLEAN Stopped = 0; - U32 AccessCnt = 0; - FILE *fout; - BOOLEAN fwrite = FALSE; - - printf("This sample performs continuous DI acquisition\n"); - printf("with %lf sample rate.\n\n", SampleRate); - printf("Card Number? "); - scanf(" %hd", &card_num); - - /* - * Open and initialize PCIe-7350 - */ - card = Register_Card(PCI_7350, card_num); - if(card<0){ - printf("Register_Card Error: %d\n", card); - exit(1); - } - - /* - * Set Voltage Level for DIO Port - */ - err = DIO_VoltLevelConfig(card, P7350_PortDIO, VoltLevel_3R3); - if(err!=NoError){ - printf("DIO_VoltLevelConfig Error: %d\n", err); - Release_Card(card); - exit(1); - } - - /* - * Set Input or Output for DIO Port - */ - err = DIO_PortConfig(card, P7350_DIO_A, INPUT_PORT); - if(err!=NoError){ - printf("DIO_PortConfig Error: %d\n", err); - Release_Card(card); - exit(1); - } - err = DIO_PortConfig(card, P7350_DIO_B, INPUT_PORT); - if(err!=NoError){ - printf("DIO_PortConfig Error: %d\n", err); - Release_Card(card); - exit(1); - } - err = DIO_PortConfig(card, P7350_DIO_C, INPUT_PORT); - if(err!=NoError){ - printf("DIO_PortConfig Error: %d\n", err); - Release_Card(card); - exit(1); - } - err = DIO_PortConfig(card, P7350_DIO_D, INPUT_PORT); - if(err!=NoError){ - printf("DIO_PortConfig Error: %d\n", err); - Release_Card(card); - exit(1); - } - - /* - * Set DI Configurations - */ - err = DI_7350_Config(card, DIPortWidth, DIMode, DIWaitStatus, DIClkConfig); - if(err!=NoError){ - printf("DI_7350_Config Error: %d\n", err); - Release_Card(card); - exit(1); - } - - /* - * allocate buffer to be read - - * Note: PCIe-7350 DMA engine only supports 8-bytes data and address alignment. - * That means - - * 1. the bytes count of the totally transffed data is the times of 8. - * 2. the lowest 3 bits of the buffer address is 0. - */ - /*allocate page-aligned memory to meet 8-bytes alignment*/ - Buffer = (U32 *)VirtualAlloc(NULL, ReadCount*(DIPortWidth/8), MEM_COMMIT, PAGE_READWRITE); - memset(Buffer, '\0', ReadCount*(DIPortWidth/8)); - - /* - * Perform Continuous DI - * Note: If the data count is too large, driver may spend some time - * to lock memory to avoid memory page-out. - */ - printf("\nPress any key to start DI operation."); - getch(); - err = DI_ContReadPort(card, 0, (void *)Buffer, ReadCount, SampleRate, ASYNCH_OP); - if(err!=NoError){ - printf("DI_ContReadPort Error: %d\n", err); - Release_Card(card); - VirtualFree(Buffer, 0, MEM_RELEASE); - exit(1); - } - do{ - err = DI_AsyncCheck(card, &Stopped, &AccessCnt); - if(err!=NoError){ - printf("DI_AsyncCheck Error: %d\n", err); - } - }while((!kbhit())&&(!Stopped)); - - if(!Stopped){ - getch(); - printf("\n\nDI Operation has been stopped manually..."); - } - else - printf("\n\nDI Operation Done..."); - DI_AsyncClear(card, &AccessCnt); - - printf("\n\nWrite Data to file? [Y]es or [N]o: "); - scanf(" %c", &fwrite); - if((fwrite=='y')||(fwrite=='Y')){ - printf("\n\nWrite Data..."); - if((fout = fopen("di_read.txt", "w"))==NULL) - printf("fopen error: %d\n", GetLastError()); - else{ - for(vi=0; vi -# Microsoft Developer Studio Generated Build File, Format Version 6.00 -# ** DO NOT EDIT ** - -# TARGTYPE "Win32 (x86) Console Application" 0x0103 - -CFG=di - Win32 Debug -!MESSAGE This is not a valid makefile. To build this project using NMAKE, -!MESSAGE use the Export Makefile command and run -!MESSAGE -!MESSAGE NMAKE /f "di.mak". -!MESSAGE -!MESSAGE You can specify a configuration when running NMAKE -!MESSAGE by defining the macro CFG on the command line. For example: -!MESSAGE -!MESSAGE NMAKE /f "di.mak" CFG="di - Win32 Debug" -!MESSAGE -!MESSAGE Possible choices for configuration are: -!MESSAGE -!MESSAGE "di - Win32 Release" (based on "Win32 (x86) Console Application") -!MESSAGE "di - Win32 Debug" (based on "Win32 (x86) Console Application") -!MESSAGE - -# Begin Project -# PROP AllowPerConfigDependencies 0 -# PROP Scc_ProjName "" -# PROP Scc_LocalPath "" -CPP=cl.exe -RSC=rc.exe - -!IF "$(CFG)" == "di - Win32 Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "Release" -# PROP BASE Intermediate_Dir "Release" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "" -# PROP Intermediate_Dir "Release" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c -# ADD CPP /nologo /W3 /GX /O2 /I "../../../include" /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c -# ADD BASE RSC /l 0x404 /d "NDEBUG" -# ADD RSC /l 0x404 /d "NDEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ../../../lib/pci-dask.lib /nologo /subsystem:console /machine:I386 - -!ELSEIF "$(CFG)" == "di - Win32 Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "Debug" -# PROP BASE Intermediate_Dir "Debug" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "Debug" -# PROP Intermediate_Dir "Debug" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /GZ /c -# ADD CPP /nologo /W3 /Gm /GX /ZI /Od /I "../../../include" /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /GZ /c -# ADD BASE RSC /l 0x404 /d "_DEBUG" -# ADD RSC /l 0x404 /d "_DEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ../../../lib/pci-dask.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept - -!ENDIF - -# Begin Target - -# Name "di - Win32 Release" -# Name "di - Win32 Debug" -# Begin Group "Source Files" - -# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;idl;hpj;bat" -# Begin Source File - -SOURCE=.\di.c -# End Source File -# End Group -# Begin Group "Header Files" - -# PROP Default_Filter "h;hpp;hxx;hm;inl" -# End Group -# Begin Group "Resource Files" - -# PROP Default_Filter "ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe" -# End Group -# End Target -# End Project diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7350/C7350_DI_DMA/di.dsw b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7350/C7350_DI_DMA/di.dsw deleted file mode 100644 index ae94ec2..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7350/C7350_DI_DMA/di.dsw +++ /dev/null @@ -1,29 +0,0 @@ -Microsoft Developer Studio Workspace File, Format Version 6.00 -# WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE! - -############################################################################### - -Project: "di"=.\di.dsp - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ -}}} - -############################################################################### - -Global: - -Package=<5> -{{{ -}}} - -Package=<3> -{{{ -}}} - -############################################################################### - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7350/C7350_DI_DMA/di.exe b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7350/C7350_DI_DMA/di.exe deleted file mode 100644 index d4bfbd7..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7350/C7350_DI_DMA/di.exe and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7350/C7350_DI_DMA_ExtClk/di.c b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7350/C7350_DI_DMA_ExtClk/di.c deleted file mode 100644 index e622eed..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7350/C7350_DI_DMA_ExtClk/di.c +++ /dev/null @@ -1,174 +0,0 @@ -/*----------------------------------------------------------------------------*/ -/* Company : ADLINK */ -/* Date : 2009/06/07 */ -/* */ -/* This sample performs continuous DI acquisition with external sampled clock.*/ -/* The sample acquires 65536 32-bits samples from DIO Port A/B/C/D with */ -/* external sampled clock while the DI is started. */ -/*----------------------------------------------------------------------------*/ -#include -#include -#include -#include -#include "dask.h" - - -int main(int argc, char **argv) -{ - I16 card, err; - U16 card_num; - U16 DIPortWidth = 32; //Port Width - U16 DIMode = P7350_FreeRun; //DI Mode - U16 DIWaitStatus = P7350_WAIT_NO; //No Wait Trigger - U16 DIClkConfig = P7350_ExtSampledCLK; //External Sampled Clock - U16 DICLK_Src = P7350_AFI_7; - U32 *Buffer; //Buffer to be read - U32 ReadCount = 65536; //Data Count to be read - U32 vi; - BOOLEAN Stopped; - U32 AccessCnt; - FILE *fout; - BOOLEAN fwrite = FALSE; - - printf("This sample performs continuous DI acquisition\n"); - printf("with external sample clock (AFI7).\n\n"); - printf("Card Number? "); - scanf(" %hd", &card_num); - - /* - * Open and initialize PCIe-7350 - */ - card = Register_Card(PCI_7350, card_num); - if(card<0){ - printf("Register_Card Error: %d\n", card); - exit(1); - } - - /* - * Set Voltage Level for DIO Port - */ - err = DIO_VoltLevelConfig(card, P7350_PortDIO, VoltLevel_3R3); - if(err!=NoError){ - printf("DIO_VoltLevelConfig Error: %d\n", err); - Release_Card(card); - exit(1); - } - - /* - * Set Input or Output for DIO Port - */ - err = DIO_PortConfig(card, P7350_DIO_A, INPUT_PORT); - if(err!=NoError){ - printf("DIO_PortConfig Error: %d\n", err); - Release_Card(card); - exit(1); - } - err = DIO_PortConfig(card, P7350_DIO_B, INPUT_PORT); - if(err!=NoError){ - printf("DIO_PortConfig Error: %d\n", err); - Release_Card(card); - exit(1); - } - err = DIO_PortConfig(card, P7350_DIO_C, INPUT_PORT); - if(err!=NoError){ - printf("DIO_PortConfig Error: %d\n", err); - Release_Card(card); - exit(1); - } - err = DIO_PortConfig(card, P7350_DIO_D, INPUT_PORT); - if(err!=NoError){ - printf("DIO_PortConfig Error: %d\n", err); - Release_Card(card); - exit(1); - } - - /* - * Set DI Configurations - */ - err = DI_7350_Config(card, DIPortWidth, DIMode, DIWaitStatus, DIClkConfig); - if(err!=NoError){ - printf("DI_7350_Config Error: %d\n", err); - Release_Card(card); - exit(1); - } - - /* - * Set DI Sampled Clock - */ - err = DI_7350_ExtSampCLKConfig( - card, - DICLK_Src, - 0/*DICLK_DDAMode*/, - 0/*DICLK_DPAMode*/, - 0/*DICLK_DDAVlaue*/, - 0/*DICLK_DPAVlaue*/ - ); - if(err!=NoError){ - printf("DI_7350_ExtSampCLKConfig Error: %d\n", err); - Release_Card(card); - exit(1); - } - - /* - * allocate buffer to be read - - * Note: PCIe-7350 DMA engine only supports 8-bytes data and address alignment. - * That means - - * 1. the bytes count of the totally transffed data is the times of 8. - * 2. the lowest 3 bits of the buffer address is 0. - */ - /*allocate page-aligned memory to meet 8-bytes alignment*/ - Buffer = (U32 *)VirtualAlloc(NULL, ReadCount*(DIPortWidth/8), MEM_COMMIT, PAGE_READWRITE); - memset(Buffer, '\0', ReadCount*(DIPortWidth/8)); - - /* - * Perform Continuous DI - * Note: If the data count is too large, driver may spend some time - * to lock memory to avoid memory page-out. - */ - printf("\nPress any key to start DI operation."); - printf("\nDI data will be acquired with the set externel sampled clock (AFI7)."); - printf("\nYou can press any key to stop it."); - getch(); - err = DI_ContReadPort(card, 0, (void *)Buffer, ReadCount, 0, ASYNCH_OP); - if(err!=NoError){ - printf("DI_ContReadPort Error: %d\n", err); - Release_Card(card); - VirtualFree(Buffer, 0, MEM_RELEASE); - exit(1); - } - do{ - err = DI_AsyncCheck(card, &Stopped, &AccessCnt); - if(err!=NoError){ - printf("DI_AsyncCheck Error: %d\n", err); - } - }while((!kbhit())&&(!Stopped)); - - if(!Stopped){ - getch(); - printf("\n\nDI Operation has been stopped manually...\n\n"); - } - else - printf("\n\nDI Operation Done...\n\n"); - DI_AsyncClear(card, &AccessCnt); - - printf("\n\nWrite Data to file? [Y]es or [N]o: "); - scanf(" %c", &fwrite); - if((fwrite=='y')||(fwrite=='Y')){ - printf("\n\nWrite Data..."); - if((fout = fopen("di_read.txt", "w"))==NULL) - printf("fopen error: %d\n", GetLastError()); - else{ - for(vi=0; vi -# Microsoft Developer Studio Generated Build File, Format Version 6.00 -# ** DO NOT EDIT ** - -# TARGTYPE "Win32 (x86) Console Application" 0x0103 - -CFG=di - Win32 Debug -!MESSAGE This is not a valid makefile. To build this project using NMAKE, -!MESSAGE use the Export Makefile command and run -!MESSAGE -!MESSAGE NMAKE /f "di.mak". -!MESSAGE -!MESSAGE You can specify a configuration when running NMAKE -!MESSAGE by defining the macro CFG on the command line. For example: -!MESSAGE -!MESSAGE NMAKE /f "di.mak" CFG="di - Win32 Debug" -!MESSAGE -!MESSAGE Possible choices for configuration are: -!MESSAGE -!MESSAGE "di - Win32 Release" (based on "Win32 (x86) Console Application") -!MESSAGE "di - Win32 Debug" (based on "Win32 (x86) Console Application") -!MESSAGE - -# Begin Project -# PROP AllowPerConfigDependencies 0 -# PROP Scc_ProjName "" -# PROP Scc_LocalPath "" -CPP=cl.exe -RSC=rc.exe - -!IF "$(CFG)" == "di - Win32 Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "Release" -# PROP BASE Intermediate_Dir "Release" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "" -# PROP Intermediate_Dir "Release" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c -# ADD CPP /nologo /W3 /GX /O2 /I "../../../include" /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c -# ADD BASE RSC /l 0x404 /d "NDEBUG" -# ADD RSC /l 0x404 /d "NDEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ../../../lib/pci-dask.lib /nologo /subsystem:console /machine:I386 - -!ELSEIF "$(CFG)" == "di - Win32 Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "Debug" -# PROP BASE Intermediate_Dir "Debug" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "Debug" -# PROP Intermediate_Dir "Debug" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /GZ /c -# ADD CPP /nologo /W3 /Gm /GX /ZI /Od /I "../../../include" /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /GZ /c -# ADD BASE RSC /l 0x404 /d "_DEBUG" -# ADD RSC /l 0x404 /d "_DEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ../../../lib/pci-dask.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept - -!ENDIF - -# Begin Target - -# Name "di - Win32 Release" -# Name "di - Win32 Debug" -# Begin Group "Source Files" - -# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;idl;hpj;bat" -# Begin Source File - -SOURCE=.\di.c -# End Source File -# End Group -# Begin Group "Header Files" - -# PROP Default_Filter "h;hpp;hxx;hm;inl" -# End Group -# Begin Group "Resource Files" - -# PROP Default_Filter "ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe" -# End Group -# End Target -# End Project diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7350/C7350_DI_DMA_ExtClk/di.dsw b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7350/C7350_DI_DMA_ExtClk/di.dsw deleted file mode 100644 index ae94ec2..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7350/C7350_DI_DMA_ExtClk/di.dsw +++ /dev/null @@ -1,29 +0,0 @@ -Microsoft Developer Studio Workspace File, Format Version 6.00 -# WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE! - -############################################################################### - -Project: "di"=.\di.dsp - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ -}}} - -############################################################################### - -Global: - -Package=<5> -{{{ -}}} - -Package=<3> -{{{ -}}} - -############################################################################### - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7350/C7350_DI_DMA_ExtClk/di.exe b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7350/C7350_DI_DMA_ExtClk/di.exe deleted file mode 100644 index 6bc6d06..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7350/C7350_DI_DMA_ExtClk/di.exe and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7350/C7350_DI_DMA_ExtInfTrig/di.c b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7350/C7350_DI_DMA_ExtInfTrig/di.c deleted file mode 100644 index c5725de..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7350/C7350_DI_DMA_ExtInfTrig/di.c +++ /dev/null @@ -1,189 +0,0 @@ -/*----------------------------------------------------------------------------*/ -/* Company : ADLINK */ -/* Date : 2009/06/02 */ -/* */ -/* This sample performs continuous DI acquisition with infinite re-trigger. */ -/* The sample acquires 65536 32-bits samples from DIO Port A/B/C/D with 50MHz */ -/* internal sampled clock while the set start trigger is asserted once. */ -/*----------------------------------------------------------------------------*/ -#include -#include -#include -#include -#include "dask.h" - - -int main(int argc, char **argv) -{ - I16 card, err; - U16 card_num; - U16 DIPortWidth = 32; //Port Width - U16 DIMode = P7350_FreeRun; //DI Mode - U16 DIWaitStatus = P7350_WAIT_EXTTRG; //External Digital Trigger - U16 DIClkConfig = P7350_IntSampledCLK; //Internal Conversion Clock - U16 StartTrigSrc = P7350_AFI_0; //DI Start Trigger Source - U32 TrigCount = 0; //Infinite Re-Trigger - U32 *Buffer; //Buffer to be read - U32 ReadCount = 65536; //Data Count to be read - F64 SampleRate = 50000000; //Sampling Rate - BOOLEAN Ready; - BOOLEAN StopFlag = FALSE; - U16 RdyTrigCnt; - U32 AccessCnt = 0; - - printf("This sample performs continuous DI acquisition with infinite external\n"); - printf("retrigger (AFI0) at %lf sample rate.\n\n", SampleRate); - printf("Card Number? "); - scanf(" %hd", &card_num); - - /* - * Open and initialize PCIe-7350 - */ - card = Register_Card(PCI_7350, card_num); - if(card<0){ - printf("Register_Card Error: %d\n", card); - exit(1); - } - - /* - * Set Voltage Level for DIO Port - */ - err = DIO_VoltLevelConfig(card, P7350_PortDIO, VoltLevel_3R3); - if(err!=NoError){ - printf("DIO_VoltLevelConfig Error: %d\n", err); - Release_Card(card); - exit(1); - } - err = DIO_VoltLevelConfig(card, P7350_PortAFI, VoltLevel_3R3); - if(err!=NoError){ - printf("DIO_VoltLevelConfig Error: %d\n", err); - Release_Card(card); - exit(1); - } - - /* - * Set Input or Output for DIO Port - */ - err = DIO_PortConfig(card, P7350_DIO_A, INPUT_PORT); - if(err!=NoError){ - printf("DIO_PortConfig Error: %d\n", err); - Release_Card(card); - exit(1); - } - err = DIO_PortConfig(card, P7350_DIO_B, INPUT_PORT); - if(err!=NoError){ - printf("DIO_PortConfig Error: %d\n", err); - Release_Card(card); - exit(1); - } - err = DIO_PortConfig(card, P7350_DIO_C, INPUT_PORT); - if(err!=NoError){ - printf("DIO_PortConfig Error: %d\n", err); - Release_Card(card); - exit(1); - } - err = DIO_PortConfig(card, P7350_DIO_D, INPUT_PORT); - if(err!=NoError){ - printf("DIO_PortConfig Error: %d\n", err); - Release_Card(card); - exit(1); - } - - /* - * Set DI Configurations - */ - err = DI_7350_Config(card, DIPortWidth, DIMode, DIWaitStatus, DIClkConfig); - if(err!=NoError){ - printf("DI_7350_Config Error: %d\n", err); - Release_Card(card); - exit(1); - } - - /* - * Set DI Trigger and HandShake Configurations - */ - err = DI_7350_TrigHSConfig( - card, - 0/*TrigConfig*/, - 0/*DI_IPOL*/, - 0/*DI_REQSrc*/, - 0/*DI_ACKSrc*/, - 0/*DI_TRIGSrc*/, - StartTrigSrc, - 0/*PauseTrigSrc*/, - 0/*SoftTrigOutSrc*/, - 0/*SoftTrigOutLength*/, - TrigCount - ); - if(err!=NoError){ - printf("DI_7350_TrigHSConfig Error: %d\n", err); - Release_Card(card); - exit(1); - } - - /* - * allocate buffer to be read - - * Note: PCIe-7350 DMA engine only supports 8-bytes data and address alignment. - * That means - - * 1. the bytes count of the totally transffed data is the times of 8. - * 2. the lowest 3 bits of the buffer address is 0. - * Note2: For infinite retrigger mode, double memory size of write byte count per - * one trigger are needed to be allocated. Simply, you can see that there - * are two buffers are allocated, buffer0 and buffer1. The acquired data - * will be stored in buffer 0 if the odd-th (1st, 3rd, ...) triggers are - * comming while the acquired data will be stored in buffer 1 if the - * even-th triggers are comming. - */ - /*allocate page-aligned memory to meet 8-bytes alignment*/ - Buffer = (U32 *)VirtualAlloc(NULL, ReadCount*(DIPortWidth/8)*2, MEM_COMMIT, PAGE_READWRITE); - memset(Buffer, '\0', ReadCount*(DIPortWidth/8)*2); - - /* - * Perform Continuous DI - * Note: If the data count is too large, driver may spend some time - * to lock memory to avoid memory page-out. - */ - printf("\nPress any key to start DI operation with external trigger."); - getch(); - err = DI_ContReadPort(card, 0, (void *)Buffer, ReadCount, SampleRate, ASYNCH_OP); - if(err!=NoError){ - printf("DI_ContReadPort Error: %d\n", err); - Release_Card(card); - VirtualFree(Buffer, 0, MEM_RELEASE); - exit(1); - } - printf("\n\nWait external infinite trigger from AFI0..."); - printf("\nYou can press any key to stop...\n\n"); - do{ - err = DI_AsyncReTrigNextReady(card, &Ready, &StopFlag, &RdyTrigCnt); - if(err!=NoError){ - printf("DI_AsyncReTrigNextReady Error: %d\n", err); - } - if(Ready){ - printf("Trigger Done: %d\n", RdyTrigCnt); - if(!RdyTrigCnt){ - /* - * 1st, 3rd, ..., trigger done - * Buffer 0 had been stored the acquired data. - * In the sample, buffer 0 means Buffer[0]~Buffer[65535]. - * You can process the data of the ready buffer. - */ - } - else{ - /* - * 2nd, 4rd, ..., trigger done - * Buffer 1 had been stored the acquired data. - * In the sample, buffer 1 means Buffer[65536]~Buffer[131071]. - * You can process the data of the ready buffer. - */ - } - } - }while(!kbhit()); getch(); - DI_AsyncClear(card, &AccessCnt); - - printf("\n\nPress any key to exit...\n"); - getch(); - Release_Card(card); - VirtualFree(Buffer, 0, MEM_RELEASE); - return 0; -} diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7350/C7350_DI_DMA_ExtInfTrig/di.dsp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7350/C7350_DI_DMA_ExtInfTrig/di.dsp deleted file mode 100644 index 50c0827..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7350/C7350_DI_DMA_ExtInfTrig/di.dsp +++ /dev/null @@ -1,102 +0,0 @@ -# Microsoft Developer Studio Project File - Name="di" - Package Owner=<4> -# Microsoft Developer Studio Generated Build File, Format Version 6.00 -# ** DO NOT EDIT ** - -# TARGTYPE "Win32 (x86) Console Application" 0x0103 - -CFG=di - Win32 Debug -!MESSAGE This is not a valid makefile. To build this project using NMAKE, -!MESSAGE use the Export Makefile command and run -!MESSAGE -!MESSAGE NMAKE /f "di.mak". -!MESSAGE -!MESSAGE You can specify a configuration when running NMAKE -!MESSAGE by defining the macro CFG on the command line. For example: -!MESSAGE -!MESSAGE NMAKE /f "di.mak" CFG="di - Win32 Debug" -!MESSAGE -!MESSAGE Possible choices for configuration are: -!MESSAGE -!MESSAGE "di - Win32 Release" (based on "Win32 (x86) Console Application") -!MESSAGE "di - Win32 Debug" (based on "Win32 (x86) Console Application") -!MESSAGE - -# Begin Project -# PROP AllowPerConfigDependencies 0 -# PROP Scc_ProjName "" -# PROP Scc_LocalPath "" -CPP=cl.exe -RSC=rc.exe - -!IF "$(CFG)" == "di - Win32 Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "Release" -# PROP BASE Intermediate_Dir "Release" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "" -# PROP Intermediate_Dir "Release" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c -# ADD CPP /nologo /W3 /GX /O2 /I "../../../include" /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c -# ADD BASE RSC /l 0x404 /d "NDEBUG" -# ADD RSC /l 0x404 /d "NDEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ../../../lib/pci-dask.lib /nologo /subsystem:console /machine:I386 - -!ELSEIF "$(CFG)" == "di - Win32 Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "Debug" -# PROP BASE Intermediate_Dir "Debug" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "Debug" -# PROP Intermediate_Dir "Debug" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /GZ /c -# ADD CPP /nologo /W3 /Gm /GX /ZI /Od /I "../../../include" /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /GZ /c -# ADD BASE RSC /l 0x404 /d "_DEBUG" -# ADD RSC /l 0x404 /d "_DEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ../../../lib/pci-dask.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept - -!ENDIF - -# Begin Target - -# Name "di - Win32 Release" -# Name "di - Win32 Debug" -# Begin Group "Source Files" - -# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;idl;hpj;bat" -# Begin Source File - -SOURCE=.\di.c -# End Source File -# End Group -# Begin Group "Header Files" - -# PROP Default_Filter "h;hpp;hxx;hm;inl" -# End Group -# Begin Group "Resource Files" - -# PROP Default_Filter "ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe" -# End Group -# End Target -# End Project diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7350/C7350_DI_DMA_ExtInfTrig/di.dsw b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7350/C7350_DI_DMA_ExtInfTrig/di.dsw deleted file mode 100644 index ae94ec2..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7350/C7350_DI_DMA_ExtInfTrig/di.dsw +++ /dev/null @@ -1,29 +0,0 @@ -Microsoft Developer Studio Workspace File, Format Version 6.00 -# WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE! - -############################################################################### - -Project: "di"=.\di.dsp - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ -}}} - -############################################################################### - -Global: - -Package=<5> -{{{ -}}} - -Package=<3> -{{{ -}}} - -############################################################################### - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7350/C7350_DI_DMA_ExtInfTrig/di.exe b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7350/C7350_DI_DMA_ExtInfTrig/di.exe deleted file mode 100644 index 8119030..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7350/C7350_DI_DMA_ExtInfTrig/di.exe and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7350/C7350_DI_DMA_ExtReTrig/di.c b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7350/C7350_DI_DMA_ExtReTrig/di.c deleted file mode 100644 index 7044e56..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7350/C7350_DI_DMA_ExtReTrig/di.c +++ /dev/null @@ -1,191 +0,0 @@ -/*----------------------------------------------------------------------------*/ -/* Company : ADLINK */ -/* Date : 2009/06/07 */ -/* */ -/* This sample performs continuous DI acquisition with external re-trigger. */ -/* The sample acquires 65536 32-bits samples from DIO Port A/B/C/D with 50MHz */ -/* internal sampled clock while the set start trigger is asserted once. */ -/*----------------------------------------------------------------------------*/ -#include -#include -#include -#include -#include "dask.h" - - -int main(int argc, char **argv) -{ - I16 card, err; - U16 card_num; - U16 DIPortWidth = 32; //Port Width - U16 DIMode = P7350_FreeRun; //DI Mode - U16 DIWaitStatus = P7350_WAIT_EXTTRG; //External Digital Trigger - U16 DIClkConfig = P7350_IntSampledCLK; //Internal Conversion Clock - U16 StartTrigSrc = P7350_AFI_0; //DI Start Trigger Source - U32 TrigCount = 4; //Total Trigger Count - U32 *Buffer; //Buffer to be read - U32 ReadCount = 65536; //Data Count to be read - F64 SampleRate = 50000000; //Sampling Rate - U32 vi; - BOOLEAN Ready; - BOOLEAN StopFlag = FALSE; - U16 RdyTrigCnt; - U32 AccessCnt = 0; - FILE *fout; - BOOLEAN fwrite = FALSE; - - printf("This sample performs continuous DI acquisition with %d external\n", TrigCount); - printf("retrigger (AFI0) at %lf sample rate.\n\n", SampleRate); - printf("Card Number? "); - scanf(" %hd", &card_num); - - /* - * Open and initialize PCIe-7350 - */ - card = Register_Card(PCI_7350, card_num); - if(card<0){ - printf("Register_Card Error: %d\n", card); - exit(1); - } - - /* - * Set Voltage Level for DIO Port - */ - err = DIO_VoltLevelConfig(card, P7350_PortDIO, VoltLevel_3R3); - if(err!=NoError){ - printf("DIO_VoltLevelConfig Error: %d\n", err); - Release_Card(card); - exit(1); - } - err = DIO_VoltLevelConfig(card, P7350_PortAFI, VoltLevel_3R3); - if(err!=NoError){ - printf("DIO_VoltLevelConfig Error: %d\n", err); - Release_Card(card); - exit(1); - } - - /* - * Set Input or Output for DIO Port - */ - err = DIO_PortConfig(card, P7350_DIO_A, INPUT_PORT); - if(err!=NoError){ - printf("DIO_PortConfig Error: %d\n", err); - Release_Card(card); - exit(1); - } - err = DIO_PortConfig(card, P7350_DIO_B, INPUT_PORT); - if(err!=NoError){ - printf("DIO_PortConfig Error: %d\n", err); - Release_Card(card); - exit(1); - } - err = DIO_PortConfig(card, P7350_DIO_C, INPUT_PORT); - if(err!=NoError){ - printf("DIO_PortConfig Error: %d\n", err); - Release_Card(card); - exit(1); - } - err = DIO_PortConfig(card, P7350_DIO_D, INPUT_PORT); - if(err!=NoError){ - printf("DIO_PortConfig Error: %d\n", err); - Release_Card(card); - exit(1); - } - - /* - * Set DI Configurations - */ - err = DI_7350_Config(card, DIPortWidth, DIMode, DIWaitStatus, DIClkConfig); - if(err!=NoError){ - printf("DI_7350_Config Error: %d\n", err); - Release_Card(card); - exit(1); - } - - /* - * Set DI Trigger and HandShake Configurations - */ - err = DI_7350_TrigHSConfig( - card, - 0/*TrigConfig*/, - 0/*DI_IPOL*/, - 0/*DI_REQSrc*/, - 0/*DI_ACKSrc*/, - 0/*DI_TRIGSrc*/, - StartTrigSrc, - 0/*PauseTrigSrc*/, - 0/*SoftTrigOutSrc*/, - 0/*SoftTrigOutLength*/, - TrigCount - ); - if(err!=NoError){ - printf("DI_7350_TrigHSConfig Error: %d\n", err); - Release_Card(card); - exit(1); - } - - /* - * allocate buffer to be read - - * Note: PCIe-7350 DMA engine only supports 8-bytes data and address alignment. - * That means - - * 1. the bytes count of the totally transffed data is the times of 8. - * 2. the lowest 3 bits of the buffer address is 0. - */ - /*allocate page-aligned memory to meet 8-bytes alignment*/ - Buffer = (U32 *)VirtualAlloc(NULL, ReadCount*(DIPortWidth/8)*TrigCount, MEM_COMMIT, PAGE_READWRITE); - memset(Buffer, '\0', ReadCount*(DIPortWidth/8)*TrigCount); - - /* - * Perform Continuous DI - * Note: If the data count is too large, driver may spend some time - * to lock memory to avoid memory page-out. - */ - printf("\nPress any key to start DI operation with external trigger."); - printf("\nYou can press any key to stop it."); - getch(); - err = DI_ContReadPort(card, 0, (void *)Buffer, ReadCount, SampleRate, ASYNCH_OP); - if(err!=NoError){ - printf("DI_ContReadPort Error: %d\n", err); - Release_Card(card); - VirtualFree(Buffer, 0, MEM_RELEASE); - exit(1); - } - printf("\n\nWait %d external trigger from AFI0...", TrigCount); - do{ - err = DI_AsyncReTrigNextReady(card, &Ready, &StopFlag, &RdyTrigCnt); - if(err!=NoError){ - printf("DI_AsyncReTrigNextReady Error: %d\n", err); - } - if(Ready) - printf("\nTrigger Done: %d", RdyTrigCnt); - if(StopFlag) - printf("\nDI Operation Done..."); - }while((!kbhit())&&(!StopFlag)); - DI_AsyncClear(card, &AccessCnt); - - if(!StopFlag){ - getch(); - printf("\n\nDI Operation has been stopped manually..."); - } - - printf("\n\nWrite Data to file? [Y]es or [N]o: "); - scanf(" %c", &fwrite); - if((fwrite=='y')||(fwrite=='Y')){ - printf("\n\nWrite Data..."); - if((fout = fopen("di_read.txt", "w"))==NULL) - printf("fopen error: %d\n", GetLastError()); - else{ - for(vi=0; vi -# Microsoft Developer Studio Generated Build File, Format Version 6.00 -# ** DO NOT EDIT ** - -# TARGTYPE "Win32 (x86) Console Application" 0x0103 - -CFG=di - Win32 Debug -!MESSAGE This is not a valid makefile. To build this project using NMAKE, -!MESSAGE use the Export Makefile command and run -!MESSAGE -!MESSAGE NMAKE /f "di.mak". -!MESSAGE -!MESSAGE You can specify a configuration when running NMAKE -!MESSAGE by defining the macro CFG on the command line. For example: -!MESSAGE -!MESSAGE NMAKE /f "di.mak" CFG="di - Win32 Debug" -!MESSAGE -!MESSAGE Possible choices for configuration are: -!MESSAGE -!MESSAGE "di - Win32 Release" (based on "Win32 (x86) Console Application") -!MESSAGE "di - Win32 Debug" (based on "Win32 (x86) Console Application") -!MESSAGE - -# Begin Project -# PROP AllowPerConfigDependencies 0 -# PROP Scc_ProjName "" -# PROP Scc_LocalPath "" -CPP=cl.exe -RSC=rc.exe - -!IF "$(CFG)" == "di - Win32 Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "Release" -# PROP BASE Intermediate_Dir "Release" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "" -# PROP Intermediate_Dir "Release" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c -# ADD CPP /nologo /W3 /GX /O2 /I "../../../include" /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c -# ADD BASE RSC /l 0x404 /d "NDEBUG" -# ADD RSC /l 0x404 /d "NDEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ../../../lib/pci-dask.lib /nologo /subsystem:console /machine:I386 - -!ELSEIF "$(CFG)" == "di - Win32 Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "Debug" -# PROP BASE Intermediate_Dir "Debug" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "Debug" -# PROP Intermediate_Dir "Debug" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /GZ /c -# ADD CPP /nologo /W3 /Gm /GX /ZI /Od /I "../../../include" /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /GZ /c -# ADD BASE RSC /l 0x404 /d "_DEBUG" -# ADD RSC /l 0x404 /d "_DEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ../../../lib/pci-dask.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept - -!ENDIF - -# Begin Target - -# Name "di - Win32 Release" -# Name "di - Win32 Debug" -# Begin Group "Source Files" - -# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;idl;hpj;bat" -# Begin Source File - -SOURCE=.\di.c -# End Source File -# End Group -# Begin Group "Header Files" - -# PROP Default_Filter "h;hpp;hxx;hm;inl" -# End Group -# Begin Group "Resource Files" - -# PROP Default_Filter "ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe" -# End Group -# End Target -# End Project diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7350/C7350_DI_DMA_ExtReTrig/di.dsw b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7350/C7350_DI_DMA_ExtReTrig/di.dsw deleted file mode 100644 index ae94ec2..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7350/C7350_DI_DMA_ExtReTrig/di.dsw +++ /dev/null @@ -1,29 +0,0 @@ -Microsoft Developer Studio Workspace File, Format Version 6.00 -# WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE! - -############################################################################### - -Project: "di"=.\di.dsp - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ -}}} - -############################################################################### - -Global: - -Package=<5> -{{{ -}}} - -Package=<3> -{{{ -}}} - -############################################################################### - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7350/C7350_DI_DMA_ExtReTrig/di.exe b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7350/C7350_DI_DMA_ExtReTrig/di.exe deleted file mode 100644 index 6dca0da..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7350/C7350_DI_DMA_ExtReTrig/di.exe and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7350/C7350_DI_DMA_ExtReTrig_Event/di.c b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7350/C7350_DI_DMA_ExtReTrig_Event/di.c deleted file mode 100644 index dff8451..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7350/C7350_DI_DMA_ExtReTrig_Event/di.c +++ /dev/null @@ -1,229 +0,0 @@ -/*----------------------------------------------------------------------------*/ -/* Company : ADLINK */ -/* Date : 2009/06/07 */ -/* */ -/* This sample performs continuous DI acquisition with external re-trigger. */ -/* The sample acquires 65536 32-bits samples from DIO Port A/B/C/D with 50MHz */ -/* internal sampled clock while the set start trigger is asserted once. */ -/*----------------------------------------------------------------------------*/ -#include -#include -#include -#include -#include "dask.h" - - -I16 card, err; -U16 card_num; -U16 DIPortWidth = 32; //Port Width -U16 DIMode = P7350_FreeRun; //DI Mode -U16 DIWaitStatus = P7350_WAIT_EXTTRG; //External Digital Trigger -U16 DIClkConfig = P7350_IntSampledCLK; //Internal Conversion Clock -U16 StartTrigSrc = P7350_AFI_0; //DI Start Trigger Source -U32 TrigCount = 4; //Total Trigger Count -U32 *Buffer; //Buffer to be read -U32 ReadCount = 65536; //Data Count to be read -F64 SampleRate = 50000000; //Sampling Rate -U32 vi; -U32 AccessCnt = 0; -BOOLEAN StopFlag = 0; -BOOLEAN Ready; -BOOLEAN Stop; -U16 RdyTrigCnt; -FILE *fout; -BOOLEAN fwrt = FALSE; - - -void DI_END_CALLBACK() -{ - I16 err; - err = DI_AsyncReTrigNextReady(card, &Ready, &Stop, &RdyTrigCnt); - if(err!=NoError){ - printf("DI_AsyncReTrigNextReady Error: %d\n", err); - } - printf("Trigger Count: %d\n", RdyTrigCnt); - printf("DI Operation End...\n"); - StopFlag = 1; -} - - -void DI_TRIGEVENT_CALLBACK() -{ - I16 err; - err = DI_AsyncReTrigNextReady(card, &Ready, &StopFlag, &RdyTrigCnt); - if(err!=NoError){ - printf("DI_AsyncReTrigNextReady Error: %d\n", err); - } - printf("Trigger Count: %d\n", RdyTrigCnt); -} - - -int main(int argc, char **argv) -{ - I16 err; - - printf("This sample performs continuous DI acquisition with %d external\n", TrigCount); - printf("retrigger (AFI0) at %lf sample rate.\n\n", SampleRate); - printf("Card Number? "); - scanf(" %hd", &card_num); - - /* - * Open and initialize PCIe-7350 - */ - card = Register_Card(PCI_7350, card_num); - if(card<0){ - printf("Register_Card Error: %d\n", card); - exit(1); - } - - /* - * Set Voltage Level for DIO Port - */ - err = DIO_VoltLevelConfig(card, P7350_PortDIO, VoltLevel_3R3); - if(err!=NoError){ - printf("DIO_VoltLevelConfig Error: %d\n", err); - Release_Card(card); - exit(1); - } - err = DIO_VoltLevelConfig(card, P7350_PortAFI, VoltLevel_3R3); - if(err!=NoError){ - printf("DIO_VoltLevelConfig Error: %d\n", err); - Release_Card(card); - exit(1); - } - - /* - * Set Input or Output for DIO Port - */ - err = DIO_PortConfig(card, P7350_DIO_A, INPUT_PORT); - if(err!=NoError){ - printf("DIO_PortConfig Error: %d\n", err); - Release_Card(card); - exit(1); - } - err = DIO_PortConfig(card, P7350_DIO_B, INPUT_PORT); - if(err!=NoError){ - printf("DIO_PortConfig Error: %d\n", err); - Release_Card(card); - exit(1); - } - err = DIO_PortConfig(card, P7350_DIO_C, INPUT_PORT); - if(err!=NoError){ - printf("DIO_PortConfig Error: %d\n", err); - Release_Card(card); - exit(1); - } - err = DIO_PortConfig(card, P7350_DIO_D, INPUT_PORT); - if(err!=NoError){ - printf("DIO_PortConfig Error: %d\n", err); - Release_Card(card); - exit(1); - } - - /* - * Set DI Configurations - */ - err = DI_7350_Config(card, DIPortWidth, DIMode, DIWaitStatus, DIClkConfig); - if(err!=NoError){ - printf("DI_7350_Config Error: %d\n", err); - Release_Card(card); - exit(1); - } - - /* - * Set DI Trigger and HandShake Configurations - */ - err = DI_7350_TrigHSConfig( - card, - 0/*TrigConfig*/, - 0/*DI_IPOL*/, - 0/*DI_REQSrc*/, - 0/*DI_ACKSrc*/, - 0/*DI_TRIGSrc*/, - StartTrigSrc, - 0/*PauseTrigSrc*/, - 0/*SoftTrigOutSrc*/, - 0/*SoftTrigOutLength*/, - TrigCount - ); - if(err!=NoError){ - printf("DI_7350_TrigHSConfig Error: %d\n", err); - Release_Card(card); - exit(1); - } - - /* - * allocate buffer to be read - - * Note: PCIe-7350 DMA engine only supports 8-bytes data and address alignment. - * That means - - * 1. the bytes count of the totally transffed data is the times of 8. - * 2. the lowest 3 bits of the buffer address is 0. - */ - /*allocate page-aligned memory to meet 8-bytes alignment*/ - Buffer = (U32 *)VirtualAlloc(NULL, ReadCount*(DIPortWidth/8)*TrigCount, MEM_COMMIT, PAGE_READWRITE); - memset(Buffer, '\0', ReadCount*(DIPortWidth/8)*TrigCount); - - /* - * Setup event and call back function - */ - err = DI_EventCallBack(card, 1, TrigEvent, (U32)DI_TRIGEVENT_CALLBACK); - if(err!=NoError){ - printf("DI_EventCallBack Error: %d\n", err); - Release_Card(card); - VirtualFree(Buffer, 0, MEM_RELEASE); - exit(1); - } - err = DI_EventCallBack(card, 1, DIEnd, (U32)DI_END_CALLBACK); - if(err!=NoError){ - printf("DI_EventCallBack Error: %d\n", err); - DI_EventCallBack(card, 0, TrigEvent, (U32)NULL); - Release_Card(card); - VirtualFree(Buffer, 0, MEM_RELEASE); - exit(1); - } - - /* - * Perform Continuous DI - * Note: If the data count is too large, driver may spend some time - * to lock memory to avoid memory page-out. - */ - printf("\nPress any key to start DI operation with external trigger."); - getch(); - err = DI_ContReadPort(card, 0, (void *)Buffer, ReadCount, SampleRate, ASYNCH_OP); - if(err!=NoError){ - printf("DI_ContReadPort Error: %d\n", err); - DI_EventCallBack(card, 0, TrigEvent, (U32)NULL); - DI_EventCallBack(card, 0, DIEnd, (U32)NULL); - Release_Card(card); - VirtualFree(Buffer, 0, MEM_RELEASE); - exit(1); - } - printf("\n\nWait %d external trigger from AFI0...\n\n", TrigCount); - do{ - Sleep(1); - }while(!StopFlag); - DI_AsyncClear(card, &AccessCnt); - DI_EventCallBack(card, 0, TrigEvent, (U32)NULL); - DI_EventCallBack(card, 0, DIEnd, (U32)NULL); - - printf("\n\nWrite Data to file? [Y]es or [N]o: "); - scanf(" %c", &fwrt); - if((fwrt=='y')||(fwrt=='Y')){ - printf("\n\nWrite Data..."); - if((fout = fopen("di_read.txt", "w"))==NULL) - printf("fopen error: %d\n", GetLastError()); - else{ - for(vi=0; vi -# Microsoft Developer Studio Generated Build File, Format Version 6.00 -# ** DO NOT EDIT ** - -# TARGTYPE "Win32 (x86) Console Application" 0x0103 - -CFG=di - Win32 Debug -!MESSAGE This is not a valid makefile. To build this project using NMAKE, -!MESSAGE use the Export Makefile command and run -!MESSAGE -!MESSAGE NMAKE /f "di.mak". -!MESSAGE -!MESSAGE You can specify a configuration when running NMAKE -!MESSAGE by defining the macro CFG on the command line. For example: -!MESSAGE -!MESSAGE NMAKE /f "di.mak" CFG="di - Win32 Debug" -!MESSAGE -!MESSAGE Possible choices for configuration are: -!MESSAGE -!MESSAGE "di - Win32 Release" (based on "Win32 (x86) Console Application") -!MESSAGE "di - Win32 Debug" (based on "Win32 (x86) Console Application") -!MESSAGE - -# Begin Project -# PROP AllowPerConfigDependencies 0 -# PROP Scc_ProjName "" -# PROP Scc_LocalPath "" -CPP=cl.exe -RSC=rc.exe - -!IF "$(CFG)" == "di - Win32 Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "Release" -# PROP BASE Intermediate_Dir "Release" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "" -# PROP Intermediate_Dir "Release" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c -# ADD CPP /nologo /W3 /GX /O2 /I "../../../include" /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c -# ADD BASE RSC /l 0x404 /d "NDEBUG" -# ADD RSC /l 0x404 /d "NDEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ../../../lib/pci-dask.lib /nologo /subsystem:console /machine:I386 - -!ELSEIF "$(CFG)" == "di - Win32 Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "Debug" -# PROP BASE Intermediate_Dir "Debug" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "Debug" -# PROP Intermediate_Dir "Debug" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /GZ /c -# ADD CPP /nologo /W3 /Gm /GX /ZI /Od /I "../../../include" /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /GZ /c -# ADD BASE RSC /l 0x404 /d "_DEBUG" -# ADD RSC /l 0x404 /d "_DEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ../../../lib/pci-dask.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept - -!ENDIF - -# Begin Target - -# Name "di - Win32 Release" -# Name "di - Win32 Debug" -# Begin Group "Source Files" - -# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;idl;hpj;bat" -# Begin Source File - -SOURCE=.\di.c -# End Source File -# End Group -# Begin Group "Header Files" - -# PROP Default_Filter "h;hpp;hxx;hm;inl" -# End Group -# Begin Group "Resource Files" - -# PROP Default_Filter "ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe" -# End Group -# End Target -# End Project diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7350/C7350_DI_DMA_ExtReTrig_Event/di.dsw b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7350/C7350_DI_DMA_ExtReTrig_Event/di.dsw deleted file mode 100644 index ae94ec2..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7350/C7350_DI_DMA_ExtReTrig_Event/di.dsw +++ /dev/null @@ -1,29 +0,0 @@ -Microsoft Developer Studio Workspace File, Format Version 6.00 -# WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE! - -############################################################################### - -Project: "di"=.\di.dsp - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ -}}} - -############################################################################### - -Global: - -Package=<5> -{{{ -}}} - -Package=<3> -{{{ -}}} - -############################################################################### - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7350/C7350_DI_DMA_ExtReTrig_Event/di.exe b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7350/C7350_DI_DMA_ExtReTrig_Event/di.exe deleted file mode 100644 index 02a2935..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7350/C7350_DI_DMA_ExtReTrig_Event/di.exe and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7350/C7350_DI_DMA_ExtTrig/di.c b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7350/C7350_DI_DMA_ExtTrig/di.c deleted file mode 100644 index 324cadd..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7350/C7350_DI_DMA_ExtTrig/di.c +++ /dev/null @@ -1,187 +0,0 @@ -/*----------------------------------------------------------------------------*/ -/* Company : ADLINK */ -/* Date : 2009/06/07 */ -/* */ -/* This sample performs continuous DI acquisition with external trigger. */ -/* The sample acquires 65536 32-bits samples from DIO Port A/B/C/D with 50MHz */ -/* internal sampled clock while the set start trigger is asserted. */ -/*----------------------------------------------------------------------------*/ -#include -#include -#include -#include -#include "dask.h" - - -int main(int argc, char **argv) -{ - I16 card, err; - U16 card_num; - U16 DIPortWidth = 32; //Port Width - U16 DIMode = P7350_FreeRun; //DI Mode - U16 DIWaitStatus = P7350_WAIT_EXTTRG; //External Digital Trigger - U16 DIClkConfig = P7350_IntSampledCLK; //Internal Conversion Clock - U16 StartTrigSrc = P7350_AFI_0; //DI Start Trigger Source - U32 TrigCount = 1; - U32 *Buffer; //Buffer to be read - U32 ReadCount = 65536; //Data Count to be read - F64 SampleRate = 50000000; //Sampling Rate - U32 vi; - BOOLEAN Stopped = 0; - U32 AccessCnt = 0; - FILE *fout; - BOOLEAN fwrite = FALSE; - - printf("This sample performs continuous DI acquisition with\n"); - printf("external trigger (AFI0) at %lf sample rate.\n\n", SampleRate); - printf("Card Number? "); - scanf(" %hd", &card_num); - - /* - * Open and initialize PCIe-7350 - */ - card = Register_Card(PCI_7350, card_num); - if(card<0){ - printf("Register_Card Error: %d\n", card); - exit(1); - } - - /* - * Set Voltage Level for DIO Port - */ - err = DIO_VoltLevelConfig(card, P7350_PortDIO, VoltLevel_3R3); - if(err!=NoError){ - printf("DIO_VoltLevelConfig Error: %d\n", err); - Release_Card(card); - exit(1); - } - err = DIO_VoltLevelConfig(card, P7350_PortAFI, VoltLevel_3R3); - if(err!=NoError){ - printf("DIO_VoltLevelConfig Error: %d\n", err); - Release_Card(card); - exit(1); - } - - /* - * Set Input or Output for DIO Port - */ - err = DIO_PortConfig(card, P7350_DIO_A, INPUT_PORT); - if(err!=NoError){ - printf("DIO_PortConfig Error: %d\n", err); - Release_Card(card); - exit(1); - } - err = DIO_PortConfig(card, P7350_DIO_B, INPUT_PORT); - if(err!=NoError){ - printf("DIO_PortConfig Error: %d\n", err); - Release_Card(card); - exit(1); - } - err = DIO_PortConfig(card, P7350_DIO_C, INPUT_PORT); - if(err!=NoError){ - printf("DIO_PortConfig Error: %d\n", err); - Release_Card(card); - exit(1); - } - err = DIO_PortConfig(card, P7350_DIO_D, INPUT_PORT); - if(err!=NoError){ - printf("DIO_PortConfig Error: %d\n", err); - Release_Card(card); - exit(1); - } - - /* - * Set DI Configurations - */ - err = DI_7350_Config(card, DIPortWidth, DIMode, DIWaitStatus, DIClkConfig); - if(err!=NoError){ - printf("DI_7350_Config Error: %d\n", err); - Release_Card(card); - exit(1); - } - - /* - * Set DI Trigger and HandShake Configurations - */ - err = DI_7350_TrigHSConfig( - card, - 0/*TrigConfig*/, - 0/*DI_IPOL*/, - 0/*DI_REQSrc*/, - 0/*DI_ACKSrc*/, - 0/*DI_TRIGSrc*/, - StartTrigSrc, - 0/*PauseTrigSrc*/, - 0/*SoftTrigOutSrc*/, - 0/*SoftTrigOutLength*/, - TrigCount - ); - if(err!=NoError){ - printf("DI_7350_TrigHSConfig Error: %d\n", err); - Release_Card(card); - exit(1); - } - - /* - * allocate buffer to be read - - * Note: PCIe-7350 DMA engine only supports 8-bytes data and address alignment. - * That means - - * 1. the bytes count of the totally transffed data is the times of 8. - * 2. the lowest 3 bits of the buffer address is 0. - */ - /*allocate page-aligned memory to meet 8-bytes alignment*/ - Buffer = (U32 *)VirtualAlloc(NULL, ReadCount*(DIPortWidth/8)*TrigCount, MEM_COMMIT, PAGE_READWRITE); - memset(Buffer, '\0', ReadCount*(DIPortWidth/8)*TrigCount); - - /* - * Perform Continuous DI - * Note: If the data count is too large, driver may spend some time - * to lock memory to avoid memory page-out. - */ - printf("\nPress any key to start DI operation with external trigger."); - printf("\nYou can press any key to stop it."); - getch(); - err = DI_ContReadPort(card, 0, (void *)Buffer, ReadCount, SampleRate, ASYNCH_OP); - if(err!=NoError){ - printf("DI_ContReadPort Error: %d\n", err); - Release_Card(card); - VirtualFree(Buffer, 0, MEM_RELEASE); - exit(1); - } - printf("\n\nWait external trigger from AFI0..."); - do{ - err = DI_AsyncCheck(card, &Stopped, &AccessCnt); - if(err!=NoError){ - printf("DI_AsyncCheck Error: %d\n", err); - } - }while((!kbhit())&&(!Stopped)); - - if(!Stopped){ - getch(); - printf("\n\nDI Operation has been stopped manually..."); - } - else - printf("\n\nDI Operation Done..."); - DI_AsyncClear(card, &AccessCnt); - - printf("\n\nWrite Data to file? [Y]es or [N]o: "); - scanf(" %c", &fwrite); - if((fwrite=='y')||(fwrite=='Y')){ - printf("\n\nWrite Data..."); - if((fout = fopen("di_read.txt", "w"))==NULL) - printf("fopen error: %d\n", GetLastError()); - else{ - for(vi=0; vi -# Microsoft Developer Studio Generated Build File, Format Version 6.00 -# ** DO NOT EDIT ** - -# TARGTYPE "Win32 (x86) Console Application" 0x0103 - -CFG=di - Win32 Debug -!MESSAGE This is not a valid makefile. To build this project using NMAKE, -!MESSAGE use the Export Makefile command and run -!MESSAGE -!MESSAGE NMAKE /f "di.mak". -!MESSAGE -!MESSAGE You can specify a configuration when running NMAKE -!MESSAGE by defining the macro CFG on the command line. For example: -!MESSAGE -!MESSAGE NMAKE /f "di.mak" CFG="di - Win32 Debug" -!MESSAGE -!MESSAGE Possible choices for configuration are: -!MESSAGE -!MESSAGE "di - Win32 Release" (based on "Win32 (x86) Console Application") -!MESSAGE "di - Win32 Debug" (based on "Win32 (x86) Console Application") -!MESSAGE - -# Begin Project -# PROP AllowPerConfigDependencies 0 -# PROP Scc_ProjName "" -# PROP Scc_LocalPath "" -CPP=cl.exe -RSC=rc.exe - -!IF "$(CFG)" == "di - Win32 Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "Release" -# PROP BASE Intermediate_Dir "Release" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "" -# PROP Intermediate_Dir "Release" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c -# ADD CPP /nologo /W3 /GX /O2 /I "../../../include" /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c -# ADD BASE RSC /l 0x404 /d "NDEBUG" -# ADD RSC /l 0x404 /d "NDEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ../../../lib/pci-dask.lib /nologo /subsystem:console /machine:I386 - -!ELSEIF "$(CFG)" == "di - Win32 Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "Debug" -# PROP BASE Intermediate_Dir "Debug" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "Debug" -# PROP Intermediate_Dir "Debug" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /GZ /c -# ADD CPP /nologo /W3 /Gm /GX /ZI /Od /I "../../../include" /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /GZ /c -# ADD BASE RSC /l 0x404 /d "_DEBUG" -# ADD RSC /l 0x404 /d "_DEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ../../../lib/pci-dask.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept - -!ENDIF - -# Begin Target - -# Name "di - Win32 Release" -# Name "di - Win32 Debug" -# Begin Group "Source Files" - -# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;idl;hpj;bat" -# Begin Source File - -SOURCE=.\di.c -# End Source File -# End Group -# Begin Group "Header Files" - -# PROP Default_Filter "h;hpp;hxx;hm;inl" -# End Group -# Begin Group "Resource Files" - -# PROP Default_Filter "ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe" -# End Group -# End Target -# End Project diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7350/C7350_DI_DMA_ExtTrig/di.dsw b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7350/C7350_DI_DMA_ExtTrig/di.dsw deleted file mode 100644 index ae94ec2..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7350/C7350_DI_DMA_ExtTrig/di.dsw +++ /dev/null @@ -1,29 +0,0 @@ -Microsoft Developer Studio Workspace File, Format Version 6.00 -# WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE! - -############################################################################### - -Project: "di"=.\di.dsp - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ -}}} - -############################################################################### - -Global: - -Package=<5> -{{{ -}}} - -Package=<3> -{{{ -}}} - -############################################################################### - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7350/C7350_DI_DMA_ExtTrig/di.exe b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7350/C7350_DI_DMA_ExtTrig/di.exe deleted file mode 100644 index 7437566..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7350/C7350_DI_DMA_ExtTrig/di.exe and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7350/C7350_DI_DMA_File/di.c b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7350/C7350_DI_DMA_File/di.c deleted file mode 100644 index 23ff006..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7350/C7350_DI_DMA_File/di.c +++ /dev/null @@ -1,127 +0,0 @@ -/*----------------------------------------------------------------------------*/ -/* Company : ADLINK */ -/* Date : 2009/06/07 */ -/* */ -/* This sample performs continuous DI acquisition. */ -/* The sample updates 65536 32-bits samples to DIO Port A/B/C/D with 50MHz */ -/* internal sampled clock while the DI operation is performed. */ -/*----------------------------------------------------------------------------*/ -#include -#include -#include -#include -#include "dask.h" - - -int main(int argc, char **argv) -{ - I16 card, err; - U16 card_num; - U16 DIPortWidth = 32; //Port Width - U16 DIMode = P7350_FreeRun; //DI Mode - U16 DIWaitStatus = P7350_WAIT_NO; //No Wait Trigger - U16 DIClkConfig = P7350_IntSampledCLK; //Internal Conversion Clock - U32 ReadCount = 65536; //Data Count to be read - F64 SampleRate = 50000000; //Sampling Rate - BOOLEAN Stopped; - U32 AccessCnt; - U8 FileName[] = "di_read"; - - printf("This sample performs continuous DI acquisition\n"); - printf("with %lf sample rate.\n\n", SampleRate); - printf("Card Number? "); - scanf(" %hd", &card_num); - - /* - * Open and initialize PCIe-7350 - */ - card = Register_Card(PCI_7350, card_num); - if(card<0){ - printf("Register_Card Error: %d\n", card); - exit(1); - } - - /* - * Set Voltage Level for DIO Port - */ - err = DIO_VoltLevelConfig(card, P7350_PortDIO, VoltLevel_3R3); - if(err!=NoError){ - printf("DIO_VoltLevelConfig Error: %d\n", err); - Release_Card(card); - exit(1); - } - - /* - * Set Input or Output for DIO Port - */ - err = DIO_PortConfig(card, P7350_DIO_A, INPUT_PORT); - if(err!=NoError){ - printf("DIO_PortConfig Error: %d\n", err); - Release_Card(card); - exit(1); - } - err = DIO_PortConfig(card, P7350_DIO_B, INPUT_PORT); - if(err!=NoError){ - printf("DIO_PortConfig Error: %d\n", err); - Release_Card(card); - exit(1); - } - err = DIO_PortConfig(card, P7350_DIO_C, INPUT_PORT); - if(err!=NoError){ - printf("DIO_PortConfig Error: %d\n", err); - Release_Card(card); - exit(1); - } - err = DIO_PortConfig(card, P7350_DIO_D, INPUT_PORT); - if(err!=NoError){ - printf("DIO_PortConfig Error: %d\n", err); - Release_Card(card); - exit(1); - } - - /* - * Set DI Configurations - */ - err = DI_7350_Config(card, DIPortWidth, DIMode, DIWaitStatus, DIClkConfig); - if(err!=NoError){ - printf("DI_7350_Config Error: %d\n", err); - Release_Card(card); - exit(1); - } - - /* - * Perform Continuous DI - * Note: If the data count is too large, driver may spend some time - * to lock memory to avoid memory page-out. - */ - printf("\nPress any key to start DI operation."); - getch(); - err = DI_ContReadPortToFile(card, 0, FileName, ReadCount, SampleRate, ASYNCH_OP); - if(err!=NoError){ - printf("DI_ContReadPort Error: %d\n", err); - Release_Card(card); - exit(1); - } - - do{ - err = DI_AsyncCheck(card, &Stopped, &AccessCnt); - if(err!=NoError){ - printf("DI_AsyncCheck Error: %d\n", err); - } - }while((!kbhit())&&(!Stopped)); - - if(!Stopped){ - getch(); - printf("\n\nDI Operation has been stopped manually..."); - } - else - printf("\n\nDI Operation Done..."); - printf("\n\nWrite Data..."); - DI_AsyncClear(card, &AccessCnt); - printf("\rWrite Data Done... \n\n"); - - printf("Press any key to exit...\n"); - getch(); - Release_Card(card); - return 0; -} diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7350/C7350_DI_DMA_File/di.dsp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7350/C7350_DI_DMA_File/di.dsp deleted file mode 100644 index 50c0827..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7350/C7350_DI_DMA_File/di.dsp +++ /dev/null @@ -1,102 +0,0 @@ -# Microsoft Developer Studio Project File - Name="di" - Package Owner=<4> -# Microsoft Developer Studio Generated Build File, Format Version 6.00 -# ** DO NOT EDIT ** - -# TARGTYPE "Win32 (x86) Console Application" 0x0103 - -CFG=di - Win32 Debug -!MESSAGE This is not a valid makefile. To build this project using NMAKE, -!MESSAGE use the Export Makefile command and run -!MESSAGE -!MESSAGE NMAKE /f "di.mak". -!MESSAGE -!MESSAGE You can specify a configuration when running NMAKE -!MESSAGE by defining the macro CFG on the command line. For example: -!MESSAGE -!MESSAGE NMAKE /f "di.mak" CFG="di - Win32 Debug" -!MESSAGE -!MESSAGE Possible choices for configuration are: -!MESSAGE -!MESSAGE "di - Win32 Release" (based on "Win32 (x86) Console Application") -!MESSAGE "di - Win32 Debug" (based on "Win32 (x86) Console Application") -!MESSAGE - -# Begin Project -# PROP AllowPerConfigDependencies 0 -# PROP Scc_ProjName "" -# PROP Scc_LocalPath "" -CPP=cl.exe -RSC=rc.exe - -!IF "$(CFG)" == "di - Win32 Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "Release" -# PROP BASE Intermediate_Dir "Release" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "" -# PROP Intermediate_Dir "Release" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c -# ADD CPP /nologo /W3 /GX /O2 /I "../../../include" /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c -# ADD BASE RSC /l 0x404 /d "NDEBUG" -# ADD RSC /l 0x404 /d "NDEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ../../../lib/pci-dask.lib /nologo /subsystem:console /machine:I386 - -!ELSEIF "$(CFG)" == "di - Win32 Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "Debug" -# PROP BASE Intermediate_Dir "Debug" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "Debug" -# PROP Intermediate_Dir "Debug" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /GZ /c -# ADD CPP /nologo /W3 /Gm /GX /ZI /Od /I "../../../include" /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /GZ /c -# ADD BASE RSC /l 0x404 /d "_DEBUG" -# ADD RSC /l 0x404 /d "_DEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ../../../lib/pci-dask.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept - -!ENDIF - -# Begin Target - -# Name "di - Win32 Release" -# Name "di - Win32 Debug" -# Begin Group "Source Files" - -# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;idl;hpj;bat" -# Begin Source File - -SOURCE=.\di.c -# End Source File -# End Group -# Begin Group "Header Files" - -# PROP Default_Filter "h;hpp;hxx;hm;inl" -# End Group -# Begin Group "Resource Files" - -# PROP Default_Filter "ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe" -# End Group -# End Target -# End Project diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7350/C7350_DI_DMA_File/di.dsw b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7350/C7350_DI_DMA_File/di.dsw deleted file mode 100644 index ae94ec2..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7350/C7350_DI_DMA_File/di.dsw +++ /dev/null @@ -1,29 +0,0 @@ -Microsoft Developer Studio Workspace File, Format Version 6.00 -# WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE! - -############################################################################### - -Project: "di"=.\di.dsp - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ -}}} - -############################################################################### - -Global: - -Package=<5> -{{{ -}}} - -Package=<3> -{{{ -}}} - -############################################################################### - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7350/C7350_DI_DMA_File/di.exe b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7350/C7350_DI_DMA_File/di.exe deleted file mode 100644 index 1f5f3cb..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7350/C7350_DI_DMA_File/di.exe and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7350/C7350_DI_DMA_SoftTrig/di.c b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7350/C7350_DI_DMA_SoftTrig/di.c deleted file mode 100644 index 06dbaab..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7350/C7350_DI_DMA_SoftTrig/di.c +++ /dev/null @@ -1,202 +0,0 @@ -/*----------------------------------------------------------------------------*/ -/* Company : ADLINK */ -/* Date : 2009/06/05 */ -/* */ -/* This sample performs continuous DI acquisition with software trigger. */ -/* The sample updates 65536 32-bits samples to DIO Port A/B/C/D with 50MHz */ -/* internal sampled clock while the software trigger is started. */ -/*----------------------------------------------------------------------------*/ -#include -#include -#include -#include -#include "dask.h" - - -int main(int argc, char **argv) -{ - I16 card, err; - U16 card_num; - U16 DIPortWidth = 32; //Port Width - U16 DIMode = P7350_FreeRun; //DI Mode - U16 DIWaitStatus = P7350_WAIT_SOFTTRG; //Software Trigger - U16 DIClkConfig = P7350_IntSampledCLK; //Internal Conversion Clock - U16 TrigConfig = P7350_EnSoftTrigOut; //Enable Software Trigger Out - U16 SoftTrigOutSrc = P7350_AFI_0; //Software Trigger Out Source - U32 SoftTrigOutLength = 10; //Software Trigger Out Length - U32 TrigCount = 1; //Software Trigger Supports only 1 Trigger - U32 *Buffer; //Buffer to be read - U32 ReadCount = 65536; //Data Count to be read - F64 SampleRate = 50000000; //Sampling Rate - U32 vi; - BOOLEAN Stopped = 0; - U32 AccessCnt = 0; - FILE *fout; - BOOLEAN fwrite = FALSE; - - printf("This sample performs continuous DI acquisition\n"); - printf("with %lf sample rate.\n\n", SampleRate); - printf("Card Number? "); - scanf(" %hd", &card_num); - - /* - * Open and initialize PCIe-7350 - */ - card = Register_Card(PCI_7350, card_num); - if(card<0){ - printf("Register_Card Error: %d\n", card); - exit(1); - } - - /* - * Set Voltage Level for DIO Port - */ - err = DIO_VoltLevelConfig(card, P7350_PortDIO, VoltLevel_3R3); - if(err!=NoError){ - printf("DIO_VoltLevelConfig Error: %d\n", err); - Release_Card(card); - exit(1); - } - err = DIO_VoltLevelConfig(card, P7350_PortAFI, VoltLevel_3R3); - if(err!=NoError){ - printf("DIO_VoltLevelConfig Error: %d\n", err); - Release_Card(card); - exit(1); - } - - /* - * Set Input or Output for DIO Port - */ - err = DIO_PortConfig(card, P7350_DIO_A, INPUT_PORT); - if(err!=NoError){ - printf("DIO_PortConfig Error: %d\n", err); - Release_Card(card); - exit(1); - } - err = DIO_PortConfig(card, P7350_DIO_B, INPUT_PORT); - if(err!=NoError){ - printf("DIO_PortConfig Error: %d\n", err); - Release_Card(card); - exit(1); - } - err = DIO_PortConfig(card, P7350_DIO_C, INPUT_PORT); - if(err!=NoError){ - printf("DIO_PortConfig Error: %d\n", err); - Release_Card(card); - exit(1); - } - err = DIO_PortConfig(card, P7350_DIO_D, INPUT_PORT); - if(err!=NoError){ - printf("DIO_PortConfig Error: %d\n", err); - Release_Card(card); - exit(1); - } - - /* - * Set DI Configurations - */ - err = DI_7350_Config(card, DIPortWidth, DIMode, DIWaitStatus, DIClkConfig); - if(err!=NoError){ - printf("DI_7350_Config Error: %d\n", err); - Release_Card(card); - exit(1); - } - - /* - * Set DI Trigger and HandShake Configurations - */ - err = DI_7350_TrigHSConfig( - card, - TrigConfig, - 0/*DI_IPOL*/, - 0/*DI_REQSrc*/, - 0/*DI_ACKSrc*/, - 0/*DI_TRIGSrc*/, - 0/*StartTrigSrc*/, - 0/*PauseTrigSrc*/, - SoftTrigOutSrc, - SoftTrigOutLength, - TrigCount - ); - if(err!=NoError){ - printf("DI_7350_TrigHSConfig Error: %d\n", err); - Release_Card(card); - exit(1); - } - - /* - * allocate buffer to be read - - * Note: PCIe-7350 DMA engine only supports 8-bytes data and address alignment. - * That means - - * 1. the bytes count of the totally transffed data is the times of 8. - * 2. the lowest 3 bits of the buffer address is 0. - */ - /*allocate page-aligned memory to meet 8-bytes alignment*/ - Buffer = (U32 *)VirtualAlloc(NULL, ReadCount*(DIPortWidth/8), MEM_COMMIT, PAGE_READWRITE); - memset(Buffer, '\0', ReadCount*(DIPortWidth/8)); - - /* - * Perform Continuous DI - * Note: If the data count is too large, driver may spend some time - * to lock memory to avoid memory page-out. - */ - printf("\nPress any key to start DI operation."); - getch(); - err = DI_ContReadPort(card, 0, (void *)Buffer, ReadCount, SampleRate, ASYNCH_OP); - if(err!=NoError){ - printf("DI_ContReadPort Error: %d\n", err); - Release_Card(card); - VirtualFree(Buffer, 0, MEM_RELEASE); - exit(1); - } - - /* - * Set Soft Trigger - */ - printf("\n\nPress any key to generate a software trigger."); - getch(); - err = DI_7350_SoftTriggerGen(card); - if(err!=NoError){ - printf("DI_7350_SoftTriggerGen Error: %d\n", err); - DI_AsyncClear(card, &AccessCnt); - Release_Card(card); - VirtualFree(Buffer, 0, MEM_RELEASE); - exit(1); - } - - do{ - err = DI_AsyncCheck(card, &Stopped, &AccessCnt); - if(err!=NoError){ - printf("DI_AsyncCheck Error: %d\n", err); - } - }while((!kbhit())&&(!Stopped)); - - if(!Stopped){ - getch(); - printf("\n\nDI Operation has been stopped manually..."); - } - else - printf("\n\nDI Operation Done..."); - DI_AsyncClear(card, &AccessCnt); - - printf("\n\nWrite Data to file? [Y]es or [N]o: "); - scanf(" %c", &fwrite); - if((fwrite=='y')||(fwrite=='Y')){ - printf("\n\nWrite Data..."); - if((fout = fopen("di_read.txt", "w"))==NULL) - printf("fopen error: %d\n", GetLastError()); - else{ - for(vi=0; vi -# Microsoft Developer Studio Generated Build File, Format Version 6.00 -# ** DO NOT EDIT ** - -# TARGTYPE "Win32 (x86) Console Application" 0x0103 - -CFG=di - Win32 Debug -!MESSAGE This is not a valid makefile. To build this project using NMAKE, -!MESSAGE use the Export Makefile command and run -!MESSAGE -!MESSAGE NMAKE /f "di.mak". -!MESSAGE -!MESSAGE You can specify a configuration when running NMAKE -!MESSAGE by defining the macro CFG on the command line. For example: -!MESSAGE -!MESSAGE NMAKE /f "di.mak" CFG="di - Win32 Debug" -!MESSAGE -!MESSAGE Possible choices for configuration are: -!MESSAGE -!MESSAGE "di - Win32 Release" (based on "Win32 (x86) Console Application") -!MESSAGE "di - Win32 Debug" (based on "Win32 (x86) Console Application") -!MESSAGE - -# Begin Project -# PROP AllowPerConfigDependencies 0 -# PROP Scc_ProjName "" -# PROP Scc_LocalPath "" -CPP=cl.exe -RSC=rc.exe - -!IF "$(CFG)" == "di - Win32 Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "Release" -# PROP BASE Intermediate_Dir "Release" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "" -# PROP Intermediate_Dir "Release" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c -# ADD CPP /nologo /W3 /GX /O2 /I "../../../include" /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c -# ADD BASE RSC /l 0x404 /d "NDEBUG" -# ADD RSC /l 0x404 /d "NDEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ../../../lib/pci-dask.lib /nologo /subsystem:console /machine:I386 - -!ELSEIF "$(CFG)" == "di - Win32 Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "Debug" -# PROP BASE Intermediate_Dir "Debug" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "Debug" -# PROP Intermediate_Dir "Debug" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /GZ /c -# ADD CPP /nologo /W3 /Gm /GX /ZI /Od /I "../../../include" /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /GZ /c -# ADD BASE RSC /l 0x404 /d "_DEBUG" -# ADD RSC /l 0x404 /d "_DEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ../../../lib/pci-dask.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept - -!ENDIF - -# Begin Target - -# Name "di - Win32 Release" -# Name "di - Win32 Debug" -# Begin Group "Source Files" - -# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;idl;hpj;bat" -# Begin Source File - -SOURCE=.\di.c -# End Source File -# End Group -# Begin Group "Header Files" - -# PROP Default_Filter "h;hpp;hxx;hm;inl" -# End Group -# Begin Group "Resource Files" - -# PROP Default_Filter "ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe" -# End Group -# End Target -# End Project diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7350/C7350_DI_DMA_SoftTrig/di.dsw b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7350/C7350_DI_DMA_SoftTrig/di.dsw deleted file mode 100644 index ae94ec2..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7350/C7350_DI_DMA_SoftTrig/di.dsw +++ /dev/null @@ -1,29 +0,0 @@ -Microsoft Developer Studio Workspace File, Format Version 6.00 -# WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE! - -############################################################################### - -Project: "di"=.\di.dsp - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ -}}} - -############################################################################### - -Global: - -Package=<5> -{{{ -}}} - -Package=<3> -{{{ -}}} - -############################################################################### - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7350/C7350_DI_DMA_SoftTrig/di.exe b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7350/C7350_DI_DMA_SoftTrig/di.exe deleted file mode 100644 index ca3e79f..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7350/C7350_DI_DMA_SoftTrig/di.exe and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7350/C7350_DI_MBF_Event/di.c b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7350/C7350_DI_MBF_Event/di.c deleted file mode 100644 index d8c4b2e..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7350/C7350_DI_MBF_Event/di.c +++ /dev/null @@ -1,208 +0,0 @@ -/*----------------------------------------------------------------------------*/ -/* Company : ADLINK */ -/* Date : 2009/06/05 */ -/* */ -/* This sample performs continuous DI acquisition. DI operation will start */ -/* immediately. */ -/* PCI-7350 supports the Multi-Buffer mode (Maximum of 64 buffers)to perform */ -/* infinitely continuous DI/DO operations. */ -/*----------------------------------------------------------------------------*/ -#include -#include -#include -#include -#include "dask.h" - -#define MBufCount 16 //Buffer count to be set - -I16 card; -U16 card_num; -U16 DIPortWidth = 32; //Port Width -U16 DIMode = P7350_FreeRun; //DI Mode -U16 DIWaitStatus = P7350_WAIT_NO; //No Wait Trigger -U16 DIClkConfig = P7350_IntSampledCLK; //Internal Conversion Clock -U32 *Buffer[MBufCount]; //Buffer to be written -U16 BufferID[MBufCount]; //Buffer ID returned -U32 ReadCount = 10000; //Data Count to be read -F64 SampleRate = 10000000; //Sampling Rate -U32 vi, vj; -BOOLEAN NextReady = FALSE; -U16 ReadyBufferId = 0; -U32 AccessCnt; -BOOLEAN StopFlag = FALSE; - - -void DI_END_CALLBACK() -{ - printf("\n\nDI Operation End...\n\n"); - StopFlag = 1; -} - - -void DI_DBEVENT_CALLBACK() -{ - I16 err; - err = DI_AsyncMultiBufferNextReady(card, &NextReady, &ReadyBufferId); - if(err!=NoError) - printf("DI_AsyncMultiBufferNextReady Error: %d\n", err); - printf("Buffer %2d is Ready: %d...\r", ReadyBufferId, NextReady); - /* - * You can process the data of the ready buffers in here - */ -} - - -int main(int argc, char **argv) -{ - I16 err; - - printf("This sample performs infinitely continuous DI acquisition to DIO port A/B/C/D\n"); - printf("with %lf sample rate.\n\n", SampleRate); - printf("Card Number? "); - scanf(" %hd", &card_num); - - /* - * Open and initialize PCIe-7350 - */ - card = Register_Card(PCI_7350, card_num); - if(card<0){ - printf("Register_Card Error: %d\n", card); - exit(1); - } - - /* - * Set Voltage Level for DIO Port - */ - err = DIO_VoltLevelConfig(card, P7350_PortDIO, VoltLevel_3R3); - if(err!=NoError){ - printf("DIO_VoltLevelConfig Error: %d\n", err); - Release_Card(card); - exit(1); - } - - /* - * Set Input or Output for DIO Port - */ - err = DIO_PortConfig(card, P7350_DIO_A, INPUT_PORT); - if(err!=NoError){ - printf("DIO_PortConfig Error: %d\n", err); - Release_Card(card); - exit(1); - } - err = DIO_PortConfig(card, P7350_DIO_B, INPUT_PORT); - if(err!=NoError){ - printf("DIO_PortConfig Error: %d\n", err); - Release_Card(card); - exit(1); - } - err = DIO_PortConfig(card, P7350_DIO_C, INPUT_PORT); - if(err!=NoError){ - printf("DIO_PortConfig Error: %d\n", err); - Release_Card(card); - exit(1); - } - err = DIO_PortConfig(card, P7350_DIO_D, INPUT_PORT); - if(err!=NoError){ - printf("DIO_PortConfig Error: %d\n", err); - Release_Card(card); - exit(1); - } - - /* - * Set DI Configurations - */ - err = DI_7350_Config(card, DIPortWidth, DIMode, DIWaitStatus, DIClkConfig); - if(err!=NoError){ - printf("DI_7350_Config Error: %d\n", err); - Release_Card(card); - exit(1); - } - - /* - * Allocate multiple buffers to be written - - * Note: PCIe-7350 DMA engine only supports 8-bytes data and address alignment. - * That means - - * 1. the bytes count of the totally transffed data is the times of 8. - * 2. the lowest 3 bits of the buffer address is 0. - * - * Allocate page-aligned memory to meet 8-bytes alignment - */ - for(vi=0; vi -# Microsoft Developer Studio Generated Build File, Format Version 6.00 -# ** DO NOT EDIT ** - -# TARGTYPE "Win32 (x86) Console Application" 0x0103 - -CFG=di - Win32 Debug -!MESSAGE This is not a valid makefile. To build this project using NMAKE, -!MESSAGE use the Export Makefile command and run -!MESSAGE -!MESSAGE NMAKE /f "di.mak". -!MESSAGE -!MESSAGE You can specify a configuration when running NMAKE -!MESSAGE by defining the macro CFG on the command line. For example: -!MESSAGE -!MESSAGE NMAKE /f "di.mak" CFG="di - Win32 Debug" -!MESSAGE -!MESSAGE Possible choices for configuration are: -!MESSAGE -!MESSAGE "di - Win32 Release" (based on "Win32 (x86) Console Application") -!MESSAGE "di - Win32 Debug" (based on "Win32 (x86) Console Application") -!MESSAGE - -# Begin Project -# PROP AllowPerConfigDependencies 0 -# PROP Scc_ProjName "" -# PROP Scc_LocalPath "" -CPP=cl.exe -RSC=rc.exe - -!IF "$(CFG)" == "di - Win32 Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "Release" -# PROP BASE Intermediate_Dir "Release" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "" -# PROP Intermediate_Dir "Release" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c -# ADD CPP /nologo /W3 /GX /O2 /I "../../../include" /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c -# ADD BASE RSC /l 0x404 /d "NDEBUG" -# ADD RSC /l 0x404 /d "NDEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ../../../lib/pci-dask.lib /nologo /subsystem:console /machine:I386 - -!ELSEIF "$(CFG)" == "di - Win32 Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "Debug" -# PROP BASE Intermediate_Dir "Debug" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "Debug" -# PROP Intermediate_Dir "Debug" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /GZ /c -# ADD CPP /nologo /W3 /Gm /GX /ZI /Od /I "../../../include" /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /GZ /c -# ADD BASE RSC /l 0x404 /d "_DEBUG" -# ADD RSC /l 0x404 /d "_DEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ../../../lib/pci-dask.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept - -!ENDIF - -# Begin Target - -# Name "di - Win32 Release" -# Name "di - Win32 Debug" -# Begin Group "Source Files" - -# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;idl;hpj;bat" -# Begin Source File - -SOURCE=.\di.c -# End Source File -# End Group -# Begin Group "Header Files" - -# PROP Default_Filter "h;hpp;hxx;hm;inl" -# End Group -# Begin Group "Resource Files" - -# PROP Default_Filter "ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe" -# End Group -# End Target -# End Project diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7350/C7350_DI_MBF_Event/di.dsw b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7350/C7350_DI_MBF_Event/di.dsw deleted file mode 100644 index ae94ec2..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7350/C7350_DI_MBF_Event/di.dsw +++ /dev/null @@ -1,29 +0,0 @@ -Microsoft Developer Studio Workspace File, Format Version 6.00 -# WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE! - -############################################################################### - -Project: "di"=.\di.dsp - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ -}}} - -############################################################################### - -Global: - -Package=<5> -{{{ -}}} - -Package=<3> -{{{ -}}} - -############################################################################### - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7350/C7350_DI_MBF_Event/di.exe b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7350/C7350_DI_MBF_Event/di.exe deleted file mode 100644 index c791e50..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7350/C7350_DI_MBF_Event/di.exe and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7350/C7350_DI_MBF_Overrun/di.c b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7350/C7350_DI_MBF_Overrun/di.c deleted file mode 100644 index 4db612f..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7350/C7350_DI_MBF_Overrun/di.c +++ /dev/null @@ -1,221 +0,0 @@ -/*----------------------------------------------------------------------------*/ -/* Company : ADLINK */ -/* Date : 2009/06/05 */ -/* */ -/* This sample performs continuous DI acquisition. DI operation will start */ -/* immediately. */ -/* PCI-7350 supports the Multi-Buffer mode (Maximum of 64 buffers)to perform */ -/* infinitely continuous DI/DO operations. */ -/*----------------------------------------------------------------------------*/ -#include -#include -#include -#include -#include "dask.h" - -#define MBufCount 16 //Buffer count to be set - -int main(int argc, char **argv) -{ - I16 card, err; - U16 card_num; - U16 DIPortWidth = 32; //Port Width - U16 DIMode = P7350_FreeRun; //DI Mode - U16 DIWaitStatus = P7350_WAIT_NO; //No Wait Trigger - U16 DIClkConfig = P7350_IntSampledCLK; //Internal Conversion Clock - U32 *Buffer[MBufCount]; //Buffer to be written - U16 BufferID[MBufCount]; //Buffer ID returned - U32 ReadCount = 10000; //Data Count to be read - F64 SampleRate = 10000000; //Sampling Rate - U32 vi, vj; - BOOLEAN NextReady = FALSE; - U16 ReadyBufferId = 0; - U32 AccessCnt; - U32 BufRdyCnt = 0; - U32 OverrunCnt = 0; - U16 PreDIReadyBufferId = 0; - U16 bufcnt = 0; - U16 overrunFlag; - - printf("This sample performs infinitely continuous DI acquisition to DIO port A/B/C/D\n"); - printf("with %lf sample rate.\n\n", SampleRate); - printf("Card Number? "); - scanf(" %hd", &card_num); - - /* - * Open and initialize PCIe-7350 - */ - card = Register_Card(PCI_7350, card_num); - if(card<0){ - printf("Register_Card Error: %d\n", card); - exit(1); - } - - /* - * Set Voltage Level for DIO Port - */ - err = DIO_VoltLevelConfig(card, P7350_PortDIO, VoltLevel_3R3); - if(err!=NoError){ - printf("DIO_VoltLevelConfig Error: %d\n", err); - Release_Card(card); - exit(1); - } - - /* - * Set Input or Output for DIO Port - */ - err = DIO_PortConfig(card, P7350_DIO_A, INPUT_PORT); - if(err!=NoError){ - printf("DIO_PortConfig Error: %d\n", err); - Release_Card(card); - exit(1); - } - err = DIO_PortConfig(card, P7350_DIO_B, INPUT_PORT); - if(err!=NoError){ - printf("DIO_PortConfig Error: %d\n", err); - Release_Card(card); - exit(1); - } - err = DIO_PortConfig(card, P7350_DIO_C, INPUT_PORT); - if(err!=NoError){ - printf("DIO_PortConfig Error: %d\n", err); - Release_Card(card); - exit(1); - } - err = DIO_PortConfig(card, P7350_DIO_D, INPUT_PORT); - if(err!=NoError){ - printf("DIO_PortConfig Error: %d\n", err); - Release_Card(card); - exit(1); - } - - /* - * Set DI Configurations - */ - err = DI_7350_Config(card, DIPortWidth, DIMode, DIWaitStatus, DIClkConfig); - if(err!=NoError){ - printf("DI_7350_Config Error: %d\n", err); - Release_Card(card); - exit(1); - } - - /* - * Allocate multiple buffers to be written - - * Note: PCIe-7350 DMA engine only supports 8-bytes data and address alignment. - * That means - - * 1. the bytes count of the totally transffed data is the times of 8. - * 2. the lowest 3 bits of the buffer address is 0. - * - * Allocate page-aligned memory to meet 8-bytes alignment - */ - for(vi=0; vi -# Microsoft Developer Studio Generated Build File, Format Version 6.00 -# ** DO NOT EDIT ** - -# TARGTYPE "Win32 (x86) Console Application" 0x0103 - -CFG=di - Win32 Debug -!MESSAGE This is not a valid makefile. To build this project using NMAKE, -!MESSAGE use the Export Makefile command and run -!MESSAGE -!MESSAGE NMAKE /f "di.mak". -!MESSAGE -!MESSAGE You can specify a configuration when running NMAKE -!MESSAGE by defining the macro CFG on the command line. For example: -!MESSAGE -!MESSAGE NMAKE /f "di.mak" CFG="di - Win32 Debug" -!MESSAGE -!MESSAGE Possible choices for configuration are: -!MESSAGE -!MESSAGE "di - Win32 Release" (based on "Win32 (x86) Console Application") -!MESSAGE "di - Win32 Debug" (based on "Win32 (x86) Console Application") -!MESSAGE - -# Begin Project -# PROP AllowPerConfigDependencies 0 -# PROP Scc_ProjName "" -# PROP Scc_LocalPath "" -CPP=cl.exe -RSC=rc.exe - -!IF "$(CFG)" == "di - Win32 Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "Release" -# PROP BASE Intermediate_Dir "Release" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "" -# PROP Intermediate_Dir "Release" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c -# ADD CPP /nologo /W3 /GX /O2 /I "../../../include" /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c -# ADD BASE RSC /l 0x404 /d "NDEBUG" -# ADD RSC /l 0x404 /d "NDEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ../../../lib/pci-dask.lib /nologo /subsystem:console /machine:I386 - -!ELSEIF "$(CFG)" == "di - Win32 Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "Debug" -# PROP BASE Intermediate_Dir "Debug" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "Debug" -# PROP Intermediate_Dir "Debug" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /GZ /c -# ADD CPP /nologo /W3 /Gm /GX /ZI /Od /I "../../../include" /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /GZ /c -# ADD BASE RSC /l 0x404 /d "_DEBUG" -# ADD RSC /l 0x404 /d "_DEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ../../../lib/pci-dask.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept - -!ENDIF - -# Begin Target - -# Name "di - Win32 Release" -# Name "di - Win32 Debug" -# Begin Group "Source Files" - -# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;idl;hpj;bat" -# Begin Source File - -SOURCE=.\di.c -# End Source File -# End Group -# Begin Group "Header Files" - -# PROP Default_Filter "h;hpp;hxx;hm;inl" -# End Group -# Begin Group "Resource Files" - -# PROP Default_Filter "ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe" -# End Group -# End Target -# End Project diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7350/C7350_DI_MBF_Overrun/di.dsw b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7350/C7350_DI_MBF_Overrun/di.dsw deleted file mode 100644 index ae94ec2..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7350/C7350_DI_MBF_Overrun/di.dsw +++ /dev/null @@ -1,29 +0,0 @@ -Microsoft Developer Studio Workspace File, Format Version 6.00 -# WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE! - -############################################################################### - -Project: "di"=.\di.dsp - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ -}}} - -############################################################################### - -Global: - -Package=<5> -{{{ -}}} - -Package=<3> -{{{ -}}} - -############################################################################### - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7350/C7350_DI_MBF_Overrun/di.exe b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7350/C7350_DI_MBF_Overrun/di.exe deleted file mode 100644 index 4d8d95a..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7350/C7350_DI_MBF_Overrun/di.exe and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7350/C7350_DO_DMA/do.c b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7350/C7350_DO_DMA/do.c deleted file mode 100644 index 07bcdef..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7350/C7350_DO_DMA/do.c +++ /dev/null @@ -1,142 +0,0 @@ -/*----------------------------------------------------------------------------*/ -/* Company : ADLINK */ -/* Date : 2009/03/16 */ -/* */ -/* This sample performs continuous DO update. DO operation will start */ -/* immediately. */ -/* The sample updates 65536 32-bits samples to DIO Port A/B/C/D with 50MHz */ -/* internal sampled clock while the DO is started. */ -/*----------------------------------------------------------------------------*/ -#include -#include -#include -#include -#include "dask.h" - - -int main(int argc, char **argv) -{ - I16 card, err; - I16 card_num; - U16 DOPortWidth = 32; //Port Width - U16 DOMode = P7350_FreeRun; //DO Mode - U16 DOWaitStatus = P7350_WAIT_NO; //No Wait Trigger - U16 DOClkConfig = P7350_IntSampledCLK; //Internal Sampled Clock - U32 *Buffer; //Buffer to be written - U32 WriteCount = 65536; //Data Count to be written - F64 SampleRate = 50000000; //Update Rate - U32 vi; - BOOLEAN Stopped = 0; - U32 AccessCnt = 0; - - printf("This sample performs continuous DO Update\n"); - printf("with %lf sample rate.\n\n", SampleRate); - printf("Card Number? "); - scanf(" %hd", &card_num); - - /* - * Open and initialize PCIe-7350 - */ - card = Register_Card(PCI_7350, card_num); - if(card<0){ - printf("Register_Card Error: %d\n", card); - exit(1); - } - - /* - * Set Voltage Level for DIO Port - */ - err = DIO_VoltLevelConfig(card, P7350_PortDIO, VoltLevel_3R3); - if(err!=NoError){ - printf("DIO_VoltLevelConfig Error: %d\n", err); - Release_Card(card); - exit(1); - } - - /* - * Set Input or Output for DIO Port - */ - err = DIO_PortConfig(card, P7350_DIO_A, OUTPUT_PORT); - if(err!=NoError){ - printf("DIO_PortConfig Error: %d\n", err); - Release_Card(card); - exit(1); - } - err = DIO_PortConfig(card, P7350_DIO_B, OUTPUT_PORT); - if(err!=NoError){ - printf("DIO_PortConfig Error: %d\n", err); - Release_Card(card); - exit(1); - } - err = DIO_PortConfig(card, P7350_DIO_C, OUTPUT_PORT); - if(err!=NoError){ - printf("DIO_PortConfig Error: %d\n", err); - Release_Card(card); - exit(1); - } - err = DIO_PortConfig(card, P7350_DIO_D, OUTPUT_PORT); - if(err!=NoError){ - printf("DIO_PortConfig Error: %d\n", err); - Release_Card(card); - exit(1); - } - - /* - * Set DO Configurations - */ - err = DO_7350_Config(card, DOPortWidth, DOMode, DOWaitStatus, DOClkConfig); - if(err!=NoError){ - printf("DO_7350_Config Error: %d\n", err); - Release_Card(card); - exit(1); - } - - /* - * allocate buffer to be written - - * Note: PCIe-7350 DMA engine only supports 8-bytes data and address alignment. - * That means - - * 1. the bytes count of the totally transffed data is the times of 8. - * 2. the lowest 3 bits of the buffer address is 0. - */ - /*allocate page-aligned memory to meet 8-bytes alignment*/ - Buffer = (U32 *)VirtualAlloc(NULL, WriteCount*(DOPortWidth/8), MEM_COMMIT, PAGE_READWRITE); - for(vi=0; vi -# Microsoft Developer Studio Generated Build File, Format Version 6.00 -# ** DO NOT EDIT ** - -# TARGTYPE "Win32 (x86) Console Application" 0x0103 - -CFG=do - Win32 Debug -!MESSAGE This is not a valid makefile. To build this project using NMAKE, -!MESSAGE use the Export Makefile command and run -!MESSAGE -!MESSAGE NMAKE /f "do.mak". -!MESSAGE -!MESSAGE You can specify a configuration when running NMAKE -!MESSAGE by defining the macro CFG on the command line. For example: -!MESSAGE -!MESSAGE NMAKE /f "do.mak" CFG="do - Win32 Debug" -!MESSAGE -!MESSAGE Possible choices for configuration are: -!MESSAGE -!MESSAGE "do - Win32 Release" (based on "Win32 (x86) Console Application") -!MESSAGE "do - Win32 Debug" (based on "Win32 (x86) Console Application") -!MESSAGE - -# Begin Project -# PROP AllowPerConfigDependencies 0 -# PROP Scc_ProjName "" -# PROP Scc_LocalPath "" -CPP=cl.exe -RSC=rc.exe - -!IF "$(CFG)" == "do - Win32 Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "Release" -# PROP BASE Intermediate_Dir "Release" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "" -# PROP Intermediate_Dir "Release" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c -# ADD CPP /nologo /W3 /GX /O2 /I "../../../include" /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c -# ADD BASE RSC /l 0x404 /d "NDEBUG" -# ADD RSC /l 0x404 /d "NDEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ../../../lib/pci-dask.lib /nologo /subsystem:console /machine:I386 - -!ELSEIF "$(CFG)" == "do - Win32 Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "Debug" -# PROP BASE Intermediate_Dir "Debug" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "Debug" -# PROP Intermediate_Dir "Debug" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /GZ /c -# ADD CPP /nologo /W3 /Gm /GX /ZI /Od /I "../../../include" /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /GZ /c -# ADD BASE RSC /l 0x404 /d "_DEBUG" -# ADD RSC /l 0x404 /d "_DEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ../../../lib/pci-dask.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept - -!ENDIF - -# Begin Target - -# Name "do - Win32 Release" -# Name "do - Win32 Debug" -# Begin Group "Source Files" - -# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;idl;hpj;bat" -# Begin Source File - -SOURCE=.\do.c -# End Source File -# End Group -# Begin Group "Header Files" - -# PROP Default_Filter "h;hpp;hxx;hm;inl" -# End Group -# Begin Group "Resource Files" - -# PROP Default_Filter "ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe" -# End Group -# End Target -# End Project diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7350/C7350_DO_DMA/do.dsw b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7350/C7350_DO_DMA/do.dsw deleted file mode 100644 index 3e43da3..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7350/C7350_DO_DMA/do.dsw +++ /dev/null @@ -1,29 +0,0 @@ -Microsoft Developer Studio Workspace File, Format Version 6.00 -# WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE! - -############################################################################### - -Project: "do"=.\do.dsp - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ -}}} - -############################################################################### - -Global: - -Package=<5> -{{{ -}}} - -Package=<3> -{{{ -}}} - -############################################################################### - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7350/C7350_DO_DMA/do.exe b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7350/C7350_DO_DMA/do.exe deleted file mode 100644 index 3f0cc1a..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7350/C7350_DO_DMA/do.exe and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7350/C7350_DO_DMA_ExtClk/do.c b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7350/C7350_DO_DMA_ExtClk/do.c deleted file mode 100644 index 937c227..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7350/C7350_DO_DMA_ExtClk/do.c +++ /dev/null @@ -1,159 +0,0 @@ -/*----------------------------------------------------------------------------*/ -/* Company : ADLINK */ -/* Date : 2009/06/02 */ -/* */ -/* This sample performs continuous DO update with external sampled clock. */ -/* The sample updates 65536 32-bits samples to DIO Port A/B/C/D with external */ -/* sampled clock while the DO is started. */ -/*----------------------------------------------------------------------------*/ -#include -#include -#include -#include -#include "dask.h" - - -int main(int argc, char **argv) -{ - I16 card, err; - I16 card_num; - U16 DOPortWidth = 32; //Port Width - U16 DOMode = P7350_FreeRun; //DO Mode - U16 DOWaitStatus = P7350_WAIT_NO; //No Wait Trigger - U16 DOClkConfig = P7350_ExtSampledCLK; //External Sampled Clock - U16 DOCLK_Src = P7350_AFI_6; //Sampled Clock source - U32 *Buffer; //Buffer to be written - U32 WriteCount = 65536; //Data Count to be written - U32 vi; - BOOLEAN Stopped = 0; - U32 AccessCnt = 0; - - printf("This sample performs continuous DO Update\n"); - printf("with external sample clock (AFI6).\n\n"); - printf("Card Number? "); - scanf(" %hd", &card_num); - - /* - * Open and initialize PCIe-7350 - */ - card = Register_Card(PCI_7350, card_num); - if(card<0){ - printf("Register_Card Error: %d\n", card); - exit(1); - } - - /* - * Set Voltage Level for DIO Port - */ - err = DIO_VoltLevelConfig(card, P7350_PortDIO, VoltLevel_3R3); - if(err!=NoError){ - printf("DIO_VoltLevelConfig Error: %d\n", err); - Release_Card(card); - exit(1); - } - - /* - * Set Input or Output for DIO Port - */ - err = DIO_PortConfig(card, P7350_DIO_A, OUTPUT_PORT); - if(err!=NoError){ - printf("DIO_PortConfig Error: %d\n", err); - Release_Card(card); - exit(1); - } - err = DIO_PortConfig(card, P7350_DIO_B, OUTPUT_PORT); - if(err!=NoError){ - printf("DIO_PortConfig Error: %d\n", err); - Release_Card(card); - exit(1); - } - err = DIO_PortConfig(card, P7350_DIO_C, OUTPUT_PORT); - if(err!=NoError){ - printf("DIO_PortConfig Error: %d\n", err); - Release_Card(card); - exit(1); - } - err = DIO_PortConfig(card, P7350_DIO_D, OUTPUT_PORT); - if(err!=NoError){ - printf("DIO_PortConfig Error: %d\n", err); - Release_Card(card); - exit(1); - } - - /* - * Set DO Configurations - */ - err = DO_7350_Config(card, DOPortWidth, DOMode, DOWaitStatus, DOClkConfig); - if(err!=NoError){ - printf("DO_7350_Config Error: %d\n", err); - Release_Card(card); - exit(1); - } - - /* - * Set DO Sampled Clock - */ - err = DO_7350_ExtSampCLKConfig( - card, - DOCLK_Src, - 0/*DOCLK_DDAMode*/, - 0/*DOCLK_DPAMode*/, - 0/*DOCLK_DDAVlaue*/, - 0/*DOCLK_DPAVlaue*/ - ); - if(err!=NoError){ - printf("DO_7350_ExtSampCLKConfig Error: %d\n", err); - Release_Card(card); - exit(1); - } - - /* - * allocate buffer to be written - - * Note: PCIe-7350 DMA engine only supports 8-bytes data and address alignment. - * That means - - * 1. the bytes count of the totally transffed data is the times of 8. - * 2. the lowest 3 bits of the buffer address is 0. - */ - /*allocate page-aligned memory to meet 8-bytes alignment*/ - Buffer = (U32 *)VirtualAlloc(NULL, WriteCount*(DOPortWidth/8), MEM_COMMIT, PAGE_READWRITE); - for(vi=0; vi -# Microsoft Developer Studio Generated Build File, Format Version 6.00 -# ** DO NOT EDIT ** - -# TARGTYPE "Win32 (x86) Console Application" 0x0103 - -CFG=do - Win32 Debug -!MESSAGE This is not a valid makefile. To build this project using NMAKE, -!MESSAGE use the Export Makefile command and run -!MESSAGE -!MESSAGE NMAKE /f "do.mak". -!MESSAGE -!MESSAGE You can specify a configuration when running NMAKE -!MESSAGE by defining the macro CFG on the command line. For example: -!MESSAGE -!MESSAGE NMAKE /f "do.mak" CFG="do - Win32 Debug" -!MESSAGE -!MESSAGE Possible choices for configuration are: -!MESSAGE -!MESSAGE "do - Win32 Release" (based on "Win32 (x86) Console Application") -!MESSAGE "do - Win32 Debug" (based on "Win32 (x86) Console Application") -!MESSAGE - -# Begin Project -# PROP AllowPerConfigDependencies 0 -# PROP Scc_ProjName "" -# PROP Scc_LocalPath "" -CPP=cl.exe -RSC=rc.exe - -!IF "$(CFG)" == "do - Win32 Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "Release" -# PROP BASE Intermediate_Dir "Release" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "" -# PROP Intermediate_Dir "Release" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c -# ADD CPP /nologo /W3 /GX /O2 /I "../../../include" /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c -# ADD BASE RSC /l 0x404 /d "NDEBUG" -# ADD RSC /l 0x404 /d "NDEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ../../../lib/pci-dask.lib /nologo /subsystem:console /machine:I386 - -!ELSEIF "$(CFG)" == "do - Win32 Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "Debug" -# PROP BASE Intermediate_Dir "Debug" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "Debug" -# PROP Intermediate_Dir "Debug" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /GZ /c -# ADD CPP /nologo /W3 /Gm /GX /ZI /Od /I "../../../include" /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /GZ /c -# ADD BASE RSC /l 0x404 /d "_DEBUG" -# ADD RSC /l 0x404 /d "_DEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ../../../lib/pci-dask.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept - -!ENDIF - -# Begin Target - -# Name "do - Win32 Release" -# Name "do - Win32 Debug" -# Begin Group "Source Files" - -# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;idl;hpj;bat" -# Begin Source File - -SOURCE=.\do.c -# End Source File -# End Group -# Begin Group "Header Files" - -# PROP Default_Filter "h;hpp;hxx;hm;inl" -# End Group -# Begin Group "Resource Files" - -# PROP Default_Filter "ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe" -# End Group -# End Target -# End Project diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7350/C7350_DO_DMA_ExtClk/do.dsw b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7350/C7350_DO_DMA_ExtClk/do.dsw deleted file mode 100644 index 3e43da3..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7350/C7350_DO_DMA_ExtClk/do.dsw +++ /dev/null @@ -1,29 +0,0 @@ -Microsoft Developer Studio Workspace File, Format Version 6.00 -# WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE! - -############################################################################### - -Project: "do"=.\do.dsp - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ -}}} - -############################################################################### - -Global: - -Package=<5> -{{{ -}}} - -Package=<3> -{{{ -}}} - -############################################################################### - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7350/C7350_DO_DMA_ExtClk/do.exe b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7350/C7350_DO_DMA_ExtClk/do.exe deleted file mode 100644 index d83f9bc..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7350/C7350_DO_DMA_ExtClk/do.exe and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7350/C7350_DO_DMA_ExtInfTrig_Event/do.c b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7350/C7350_DO_DMA_ExtInfTrig_Event/do.c deleted file mode 100644 index 1b58e8e..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7350/C7350_DO_DMA_ExtInfTrig_Event/do.c +++ /dev/null @@ -1,220 +0,0 @@ -/*----------------------------------------------------------------------------*/ -/* Company : ADLINK */ -/* Date : 2009/06/02 */ -/* */ -/* This sample performs continuous DO update with infinite re-trigger. */ -/* The sample updates 65536 32-bits samples to DIO Port A/B/C/D with 50MHz */ -/* internal sampled clock while the set start trigger is asserted once. */ -/*----------------------------------------------------------------------------*/ -#include -#include -#include -#include -#include "dask.h" - - -I16 card, err; -I16 card_num; -U16 DOPortWidth = 32; //Port Width -U16 DOMode = P7350_FreeRun; //DO Mode -U16 DOWaitStatus = P7350_WAIT_EXTTRG; //Wait External Trigger -U16 DOClkConfig = P7350_IntSampledCLK; //Internal Sampled Clock -U16 StartTrigSrc = P7350_AFI_0; //DO Start Trigger Source -U32 TrigCount = 0; //Infinite Retrigger -U32 *Buffer; //Buffer to be written -U32 WriteCount = 65536; //Data Count to be written -F64 SampleRate = 50000000; //Update Rate -U32 vi; -U32 AccessCnt = 0; -U32 ActTrigCount = 0; -BOOLEAN StopFlag = 0; - - -void DO_END_CALLBACK() -{ - printf("DO Operation End...\n\n"); - StopFlag = 1; -} - - -void DO_TRIGEVENT_CALLBACK() -{ - ActTrigCount++; - printf("Trigger Count: %d\n", ActTrigCount); -} - - -int main(int argc, char **argv) -{ - I16 err; - - printf("This sample performs continuous DO Update with infinite external\n"); - printf("retrigger (AFI0) at %lf sample rate.\n\n", SampleRate); - printf("Card Number? "); - scanf(" %hd", &card_num); - - /* - * Open and initialize PCIe-7350 - */ - card = Register_Card(PCI_7350, card_num); - if(card<0){ - printf("Register_Card Error: %d\n", card); - exit(1); - } - - /* - * Set Voltage Level for DIO Port - */ - err = DIO_VoltLevelConfig(card, P7350_PortDIO, VoltLevel_3R3); - if(err!=NoError){ - printf("DIO_VoltLevelConfig Error: %d\n", err); - Release_Card(card); - exit(1); - } - err = DIO_VoltLevelConfig(card, P7350_PortAFI, VoltLevel_3R3); - if(err!=NoError){ - printf("DIO_VoltLevelConfig Error: %d\n", err); - Release_Card(card); - exit(1); - } - - /* - * Set Input or Output for DIO Port - */ - err = DIO_PortConfig(card, P7350_DIO_A, OUTPUT_PORT); - if(err!=NoError){ - printf("DIO_PortConfig Error: %d\n", err); - Release_Card(card); - exit(1); - } - err = DIO_PortConfig(card, P7350_DIO_B, OUTPUT_PORT); - if(err!=NoError){ - printf("DIO_PortConfig Error: %d\n", err); - Release_Card(card); - exit(1); - } - err = DIO_PortConfig(card, P7350_DIO_C, OUTPUT_PORT); - if(err!=NoError){ - printf("DIO_PortConfig Error: %d\n", err); - Release_Card(card); - exit(1); - } - err = DIO_PortConfig(card, P7350_DIO_D, OUTPUT_PORT); - if(err!=NoError){ - printf("DIO_PortConfig Error: %d\n", err); - Release_Card(card); - exit(1); - } - - /* - * Set DO Configurations - */ - err = DO_7350_Config(card, DOPortWidth, DOMode, DOWaitStatus, DOClkConfig); - if(err!=NoError){ - printf("DO_7350_Config Error: %d\n", err); - Release_Card(card); - exit(1); - } - - /* - * Set DO Trigger and HandShake Configurations - */ - err = DO_7350_TrigHSConfig( - card, - 0/*TrigConfig*/, - 0/*DO_IPOL*/, - 0/*DO_REQSrc*/, - 0/*DO_ACKSrc*/, - 0/*DO_TRIGSrc*/, - StartTrigSrc, - 0/*PauseTrigSrc*/, - 0/*SoftTrigOutSrc*/, - 0/*SoftTrigOutLength*/, - TrigCount - ); - if(err!=NoError){ - printf("DO_7350_TrigHSConfig Error: %d\n", err); - Release_Card(card); - exit(1); - } - - /* - * allocate buffer to be written - - * Note: PCIe-7350 DMA engine only supports 8-bytes data and address alignment. - * That means - - * 1. the bytes count of the totally transffed data is the times of 8. - * 2. the lowest 3 bits of the buffer address is 0. - * Note2: For infinite retrigger mode, double memory size of write byte count per - * one trigger are needed to be allocated. Simply, you can see that there - * are two buffers are allocated, buffer0 and buffer1. The data of buffer 0 - * will be output if the odd-th (1st, 3rd, ...) triggers are comming while - * the data of buffer 1 will be output if the even-th triggers are comming. - */ - /*allocate page-aligned memory to meet 8-bytes alignment*/ - Buffer = (U32 *)VirtualAlloc(NULL, WriteCount*(DOPortWidth/8)*2, MEM_COMMIT, PAGE_READWRITE); - for(vi=0; vi -# Microsoft Developer Studio Generated Build File, Format Version 6.00 -# ** DO NOT EDIT ** - -# TARGTYPE "Win32 (x86) Console Application" 0x0103 - -CFG=do - Win32 Debug -!MESSAGE This is not a valid makefile. To build this project using NMAKE, -!MESSAGE use the Export Makefile command and run -!MESSAGE -!MESSAGE NMAKE /f "do.mak". -!MESSAGE -!MESSAGE You can specify a configuration when running NMAKE -!MESSAGE by defining the macro CFG on the command line. For example: -!MESSAGE -!MESSAGE NMAKE /f "do.mak" CFG="do - Win32 Debug" -!MESSAGE -!MESSAGE Possible choices for configuration are: -!MESSAGE -!MESSAGE "do - Win32 Release" (based on "Win32 (x86) Console Application") -!MESSAGE "do - Win32 Debug" (based on "Win32 (x86) Console Application") -!MESSAGE - -# Begin Project -# PROP AllowPerConfigDependencies 0 -# PROP Scc_ProjName "" -# PROP Scc_LocalPath "" -CPP=cl.exe -RSC=rc.exe - -!IF "$(CFG)" == "do - Win32 Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "Release" -# PROP BASE Intermediate_Dir "Release" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "" -# PROP Intermediate_Dir "Release" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c -# ADD CPP /nologo /W3 /GX /O2 /I "../../../include" /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c -# ADD BASE RSC /l 0x404 /d "NDEBUG" -# ADD RSC /l 0x404 /d "NDEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ../../../lib/pci-dask.lib /nologo /subsystem:console /machine:I386 - -!ELSEIF "$(CFG)" == "do - Win32 Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "Debug" -# PROP BASE Intermediate_Dir "Debug" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "Debug" -# PROP Intermediate_Dir "Debug" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /GZ /c -# ADD CPP /nologo /W3 /Gm /GX /ZI /Od /I "../../../include" /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /GZ /c -# ADD BASE RSC /l 0x404 /d "_DEBUG" -# ADD RSC /l 0x404 /d "_DEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ../../../lib/pci-dask.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept - -!ENDIF - -# Begin Target - -# Name "do - Win32 Release" -# Name "do - Win32 Debug" -# Begin Group "Source Files" - -# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;idl;hpj;bat" -# Begin Source File - -SOURCE=.\do.c -# End Source File -# End Group -# Begin Group "Header Files" - -# PROP Default_Filter "h;hpp;hxx;hm;inl" -# End Group -# Begin Group "Resource Files" - -# PROP Default_Filter "ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe" -# End Group -# End Target -# End Project diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7350/C7350_DO_DMA_ExtInfTrig_Event/do.dsw b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7350/C7350_DO_DMA_ExtInfTrig_Event/do.dsw deleted file mode 100644 index 3e43da3..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7350/C7350_DO_DMA_ExtInfTrig_Event/do.dsw +++ /dev/null @@ -1,29 +0,0 @@ -Microsoft Developer Studio Workspace File, Format Version 6.00 -# WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE! - -############################################################################### - -Project: "do"=.\do.dsp - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ -}}} - -############################################################################### - -Global: - -Package=<5> -{{{ -}}} - -Package=<3> -{{{ -}}} - -############################################################################### - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7350/C7350_DO_DMA_ExtInfTrig_Event/do.exe b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7350/C7350_DO_DMA_ExtInfTrig_Event/do.exe deleted file mode 100644 index b1c6253..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7350/C7350_DO_DMA_ExtInfTrig_Event/do.exe and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7350/C7350_DO_DMA_ExtReTrig/do.c b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7350/C7350_DO_DMA_ExtReTrig/do.c deleted file mode 100644 index 66ed035..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7350/C7350_DO_DMA_ExtReTrig/do.c +++ /dev/null @@ -1,172 +0,0 @@ -/*----------------------------------------------------------------------------*/ -/* Company : ADLINK */ -/* Date : 2009/06/02 */ -/* */ -/* This sample performs continuous DO update with external re-trigger. */ -/* The sample updates 65536 32-bits samples to DIO Port A/B/C/D with 50MHz */ -/* internal sampled clock while the set start trigger is asserted once. */ -/*----------------------------------------------------------------------------*/ -#include -#include -#include -#include -#include "dask.h" - - -int main(int argc, char **argv) -{ - I16 card, err; - I16 card_num; - U16 DOPortWidth = 32; //Port Width - U16 DOMode = P7350_FreeRun; //DO Mode - U16 DOWaitStatus = P7350_WAIT_EXTTRG; //Wait External Trigger - U16 DOClkConfig = P7350_IntSampledCLK; //Internal Sampled Clock - U16 StartTrigSrc = P7350_AFI_0; //DO Start Trigger Source - U32 TrigCount = 4; - U32 *Buffer; //Buffer to be written - U32 WriteCount = 65536; //Data Count to be written - F64 SampleRate = 50000000; //Update Rate - U32 vi; - BOOLEAN Stopped = 0; - U32 AccessCnt = 0; - - printf("This sample performs continuous DO Update with %d external\n", TrigCount); - printf("retrigger (AFI0) at %lf sample rate.\n\n", SampleRate); - printf("Card Number? "); - scanf(" %hd", &card_num); - - /* - * Open and initialize PCIe-7350 - */ - card = Register_Card(PCI_7350, card_num); - if(card<0){ - printf("Register_Card Error: %d\n", card); - exit(1); - } - - /* - * Set Voltage Level for DIO Port - */ - err = DIO_VoltLevelConfig(card, P7350_PortDIO, VoltLevel_3R3); - if(err!=NoError){ - printf("DIO_VoltLevelConfig Error: %d\n", err); - Release_Card(card); - exit(1); - } - err = DIO_VoltLevelConfig(card, P7350_PortAFI, VoltLevel_3R3); - if(err!=NoError){ - printf("DIO_VoltLevelConfig Error: %d\n", err); - Release_Card(card); - exit(1); - } - - /* - * Set Input or Output for DIO Port - */ - err = DIO_PortConfig(card, P7350_DIO_A, OUTPUT_PORT); - if(err!=NoError){ - printf("DIO_PortConfig Error: %d\n", err); - Release_Card(card); - exit(1); - } - err = DIO_PortConfig(card, P7350_DIO_B, OUTPUT_PORT); - if(err!=NoError){ - printf("DIO_PortConfig Error: %d\n", err); - Release_Card(card); - exit(1); - } - err = DIO_PortConfig(card, P7350_DIO_C, OUTPUT_PORT); - if(err!=NoError){ - printf("DIO_PortConfig Error: %d\n", err); - Release_Card(card); - exit(1); - } - err = DIO_PortConfig(card, P7350_DIO_D, OUTPUT_PORT); - if(err!=NoError){ - printf("DIO_PortConfig Error: %d\n", err); - Release_Card(card); - exit(1); - } - - /* - * Set DO Configurations - */ - err = DO_7350_Config(card, DOPortWidth, DOMode, DOWaitStatus, DOClkConfig); - if(err!=NoError){ - printf("DO_7350_Config Error: %d\n", err); - Release_Card(card); - exit(1); - } - - /* - * Set DO Trigger and HandShake Configurations - */ - err = DO_7350_TrigHSConfig( - card, - 0/*TrigConfig*/, - 0/*DO_IPOL*/, - 0/*DO_REQSrc*/, - 0/*DO_ACKSrc*/, - 0/*DO_TRIGSrc*/, - StartTrigSrc, - 0/*PauseTrigSrc*/, - 0/*SoftTrigOutSrc*/, - 0/*SoftTrigOutLength*/, - TrigCount - ); - if(err!=NoError){ - printf("DO_7350_TrigHSConfig Error: %d\n", err); - Release_Card(card); - exit(1); - } - - /* - * allocate buffer to be written - - * Note: PCIe-7350 DMA engine only supports 8-bytes data and address alignment. - * That means - - * 1. the bytes count of the totally transffed data is the times of 8. - * 2. the lowest 3 bits of the buffer address is 0. - */ - /*allocate page-aligned memory to meet 8-bytes alignment*/ - Buffer = (U32 *)VirtualAlloc(NULL, WriteCount*(DOPortWidth/8)*TrigCount, MEM_COMMIT, PAGE_READWRITE); - for(vi=0; vi -# Microsoft Developer Studio Generated Build File, Format Version 6.00 -# ** DO NOT EDIT ** - -# TARGTYPE "Win32 (x86) Console Application" 0x0103 - -CFG=do - Win32 Debug -!MESSAGE This is not a valid makefile. To build this project using NMAKE, -!MESSAGE use the Export Makefile command and run -!MESSAGE -!MESSAGE NMAKE /f "do.mak". -!MESSAGE -!MESSAGE You can specify a configuration when running NMAKE -!MESSAGE by defining the macro CFG on the command line. For example: -!MESSAGE -!MESSAGE NMAKE /f "do.mak" CFG="do - Win32 Debug" -!MESSAGE -!MESSAGE Possible choices for configuration are: -!MESSAGE -!MESSAGE "do - Win32 Release" (based on "Win32 (x86) Console Application") -!MESSAGE "do - Win32 Debug" (based on "Win32 (x86) Console Application") -!MESSAGE - -# Begin Project -# PROP AllowPerConfigDependencies 0 -# PROP Scc_ProjName "" -# PROP Scc_LocalPath "" -CPP=cl.exe -RSC=rc.exe - -!IF "$(CFG)" == "do - Win32 Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "Release" -# PROP BASE Intermediate_Dir "Release" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "" -# PROP Intermediate_Dir "Release" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c -# ADD CPP /nologo /W3 /GX /O2 /I "../../../include" /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c -# ADD BASE RSC /l 0x404 /d "NDEBUG" -# ADD RSC /l 0x404 /d "NDEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ../../../lib/pci-dask.lib /nologo /subsystem:console /machine:I386 - -!ELSEIF "$(CFG)" == "do - Win32 Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "Debug" -# PROP BASE Intermediate_Dir "Debug" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "Debug" -# PROP Intermediate_Dir "Debug" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /GZ /c -# ADD CPP /nologo /W3 /Gm /GX /ZI /Od /I "../../../include" /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /GZ /c -# ADD BASE RSC /l 0x404 /d "_DEBUG" -# ADD RSC /l 0x404 /d "_DEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ../../../lib/pci-dask.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept - -!ENDIF - -# Begin Target - -# Name "do - Win32 Release" -# Name "do - Win32 Debug" -# Begin Group "Source Files" - -# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;idl;hpj;bat" -# Begin Source File - -SOURCE=.\do.c -# End Source File -# End Group -# Begin Group "Header Files" - -# PROP Default_Filter "h;hpp;hxx;hm;inl" -# End Group -# Begin Group "Resource Files" - -# PROP Default_Filter "ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe" -# End Group -# End Target -# End Project diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7350/C7350_DO_DMA_ExtReTrig/do.dsw b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7350/C7350_DO_DMA_ExtReTrig/do.dsw deleted file mode 100644 index 3e43da3..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7350/C7350_DO_DMA_ExtReTrig/do.dsw +++ /dev/null @@ -1,29 +0,0 @@ -Microsoft Developer Studio Workspace File, Format Version 6.00 -# WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE! - -############################################################################### - -Project: "do"=.\do.dsp - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ -}}} - -############################################################################### - -Global: - -Package=<5> -{{{ -}}} - -Package=<3> -{{{ -}}} - -############################################################################### - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7350/C7350_DO_DMA_ExtReTrig/do.exe b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7350/C7350_DO_DMA_ExtReTrig/do.exe deleted file mode 100644 index e5d1dd8..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7350/C7350_DO_DMA_ExtReTrig/do.exe and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7350/C7350_DO_DMA_ExtReTrig_Event/do.c b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7350/C7350_DO_DMA_ExtReTrig_Event/do.c deleted file mode 100644 index 267dbbc..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7350/C7350_DO_DMA_ExtReTrig_Event/do.c +++ /dev/null @@ -1,204 +0,0 @@ -/*----------------------------------------------------------------------------*/ -/* Company : ADLINK */ -/* Date : 2009/06/02 */ -/* */ -/* This sample performs continuous DO update with external re-trigger. */ -/* The sample updates 65536 32-bits samples to DIO Port A/B/C/D with 50MHz */ -/* internal sampled clock while the set start trigger is asserted once. */ -/*----------------------------------------------------------------------------*/ -#include -#include -#include -#include -#include "dask.h" - - -I16 card, err; -I16 card_num; -U16 DOPortWidth = 32; //Port Width -U16 DOMode = P7350_FreeRun; //DO Mode -U16 DOWaitStatus = P7350_WAIT_EXTTRG; //Wait External Trigger -U16 DOClkConfig = P7350_IntSampledCLK; //Internal Sampled Clock -U16 StartTrigSrc = P7350_AFI_0; //DO Start Trigger Source -U32 TrigCount = 4; -U32 *Buffer; //Buffer to be written -U32 WriteCount = 65536; //Data Count to be written -F64 SampleRate = 50000000; //Update Rate -U32 vi; -U32 AccessCnt = 0; -U32 ActTrigCount = 0; -BOOLEAN StopFlag = 0; - - -void DO_END_CALLBACK() -{ - ActTrigCount++; - printf("Trigger Count: %d\n", ActTrigCount); - printf("DO Operation End...\n\n"); - StopFlag = 1; -} - - -void DO_TRIGEVENT_CALLBACK() -{ - ActTrigCount++; - printf("Trigger Count: %d\n", ActTrigCount); -} - - -int main(int argc, char **argv) -{ - I16 err; - - printf("This sample performs continuous DO Update with %d external\n", TrigCount); - printf("retrigger (AFI0) at %lf sample rate.\n\n", SampleRate); - printf("Card Number? "); - scanf(" %hd", &card_num); - - /* - * Open and initialize PCIe-7350 - */ - card = Register_Card(PCI_7350, card_num); - if(card<0){ - printf("Register_Card Error: %d\n", card); - exit(1); - } - - /* - * Set Voltage Level for DIO Port - */ - err = DIO_VoltLevelConfig(card, P7350_PortDIO, VoltLevel_3R3); - if(err!=NoError){ - printf("DIO_VoltLevelConfig Error: %d\n", err); - Release_Card(card); - exit(1); - } - err = DIO_VoltLevelConfig(card, P7350_PortAFI, VoltLevel_3R3); - if(err!=NoError){ - printf("DIO_VoltLevelConfig Error: %d\n", err); - Release_Card(card); - exit(1); - } - - /* - * Set Input or Output for DIO Port - */ - err = DIO_PortConfig(card, P7350_DIO_A, OUTPUT_PORT); - if(err!=NoError){ - printf("DIO_PortConfig Error: %d\n", err); - Release_Card(card); - exit(1); - } - err = DIO_PortConfig(card, P7350_DIO_B, OUTPUT_PORT); - if(err!=NoError){ - printf("DIO_PortConfig Error: %d\n", err); - Release_Card(card); - exit(1); - } - err = DIO_PortConfig(card, P7350_DIO_C, OUTPUT_PORT); - if(err!=NoError){ - printf("DIO_PortConfig Error: %d\n", err); - Release_Card(card); - exit(1); - } - err = DIO_PortConfig(card, P7350_DIO_D, OUTPUT_PORT); - if(err!=NoError){ - printf("DIO_PortConfig Error: %d\n", err); - Release_Card(card); - exit(1); - } - - /* - * Set DO Configurations - */ - err = DO_7350_Config(card, DOPortWidth, DOMode, DOWaitStatus, DOClkConfig); - if(err!=NoError){ - printf("DO_7350_Config Error: %d\n", err); - Release_Card(card); - exit(1); - } - - /* - * Set DO Trigger and HandShake Configurations - */ - err = DO_7350_TrigHSConfig( - card, - 0/*TrigConfig*/, - 0/*DO_IPOL*/, - 0/*DO_REQSrc*/, - 0/*DO_ACKSrc*/, - 0/*DO_TRIGSrc*/, - StartTrigSrc, - 0/*PauseTrigSrc*/, - 0/*SoftTrigOutSrc*/, - 0/*SoftTrigOutLength*/, - TrigCount - ); - if(err!=NoError){ - printf("DO_7350_TrigHSConfig Error: %d\n", err); - Release_Card(card); - exit(1); - } - - /* - * allocate buffer to be written - - * Note: PCIe-7350 DMA engine only supports 8-bytes data and address alignment. - * That means - - * 1. the bytes count of the totally transffed data is the times of 8. - * 2. the lowest 3 bits of the buffer address is 0. - */ - /*allocate page-aligned memory to meet 8-bytes alignment*/ - Buffer = (U32 *)VirtualAlloc(NULL, WriteCount*(DOPortWidth/8)*TrigCount, MEM_COMMIT, PAGE_READWRITE); - for(vi=0; vi -# Microsoft Developer Studio Generated Build File, Format Version 6.00 -# ** DO NOT EDIT ** - -# TARGTYPE "Win32 (x86) Console Application" 0x0103 - -CFG=do - Win32 Debug -!MESSAGE This is not a valid makefile. To build this project using NMAKE, -!MESSAGE use the Export Makefile command and run -!MESSAGE -!MESSAGE NMAKE /f "do.mak". -!MESSAGE -!MESSAGE You can specify a configuration when running NMAKE -!MESSAGE by defining the macro CFG on the command line. For example: -!MESSAGE -!MESSAGE NMAKE /f "do.mak" CFG="do - Win32 Debug" -!MESSAGE -!MESSAGE Possible choices for configuration are: -!MESSAGE -!MESSAGE "do - Win32 Release" (based on "Win32 (x86) Console Application") -!MESSAGE "do - Win32 Debug" (based on "Win32 (x86) Console Application") -!MESSAGE - -# Begin Project -# PROP AllowPerConfigDependencies 0 -# PROP Scc_ProjName "" -# PROP Scc_LocalPath "" -CPP=cl.exe -RSC=rc.exe - -!IF "$(CFG)" == "do - Win32 Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "Release" -# PROP BASE Intermediate_Dir "Release" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "" -# PROP Intermediate_Dir "Release" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c -# ADD CPP /nologo /W3 /GX /O2 /I "../../../include" /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c -# ADD BASE RSC /l 0x404 /d "NDEBUG" -# ADD RSC /l 0x404 /d "NDEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ../../../lib/pci-dask.lib /nologo /subsystem:console /machine:I386 - -!ELSEIF "$(CFG)" == "do - Win32 Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "Debug" -# PROP BASE Intermediate_Dir "Debug" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "Debug" -# PROP Intermediate_Dir "Debug" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /GZ /c -# ADD CPP /nologo /W3 /Gm /GX /ZI /Od /I "../../../include" /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /GZ /c -# ADD BASE RSC /l 0x404 /d "_DEBUG" -# ADD RSC /l 0x404 /d "_DEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ../../../lib/pci-dask.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept - -!ENDIF - -# Begin Target - -# Name "do - Win32 Release" -# Name "do - Win32 Debug" -# Begin Group "Source Files" - -# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;idl;hpj;bat" -# Begin Source File - -SOURCE=.\do.c -# End Source File -# End Group -# Begin Group "Header Files" - -# PROP Default_Filter "h;hpp;hxx;hm;inl" -# End Group -# Begin Group "Resource Files" - -# PROP Default_Filter "ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe" -# End Group -# End Target -# End Project diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7350/C7350_DO_DMA_ExtReTrig_Event/do.dsw b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7350/C7350_DO_DMA_ExtReTrig_Event/do.dsw deleted file mode 100644 index 3e43da3..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7350/C7350_DO_DMA_ExtReTrig_Event/do.dsw +++ /dev/null @@ -1,29 +0,0 @@ -Microsoft Developer Studio Workspace File, Format Version 6.00 -# WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE! - -############################################################################### - -Project: "do"=.\do.dsp - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ -}}} - -############################################################################### - -Global: - -Package=<5> -{{{ -}}} - -Package=<3> -{{{ -}}} - -############################################################################### - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7350/C7350_DO_DMA_ExtReTrig_Event/do.exe b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7350/C7350_DO_DMA_ExtReTrig_Event/do.exe deleted file mode 100644 index 7cb1a58..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7350/C7350_DO_DMA_ExtReTrig_Event/do.exe and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7350/C7350_DO_DMA_ExtTrig/do.c b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7350/C7350_DO_DMA_ExtTrig/do.c deleted file mode 100644 index 696b58d..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7350/C7350_DO_DMA_ExtTrig/do.c +++ /dev/null @@ -1,172 +0,0 @@ -/*----------------------------------------------------------------------------*/ -/* Company : ADLINK */ -/* Date : 2009/06/02 */ -/* */ -/* This sample performs continuous DO update with external trigger. */ -/* The sample updates 65536 32-bits samples to DIO Port A/B/C/D with 50MHz */ -/* internal sampled clock while the set start trigger is asserted. */ -/*----------------------------------------------------------------------------*/ -#include -#include -#include -#include -#include "dask.h" - - -int main(int argc, char **argv) -{ - I16 card, err; - I16 card_num; - U16 DOPortWidth = 32; //Port Width - U16 DOMode = P7350_FreeRun; //DO Mode - U16 DOWaitStatus = P7350_WAIT_EXTTRG; //Wait External Trigger - U16 DOClkConfig = P7350_IntSampledCLK; //Internal Sampled Clock - U16 StartTrigSrc = P7350_AFI_0; //DO Start Trigger Source - U32 TrigCount = 1; - U32 *Buffer; //Buffer to be written - U32 WriteCount = 65536; //Data Count to be written - F64 SampleRate = 50000000; //Update Rate - U32 vi; - BOOLEAN Stopped = 0; - U32 AccessCnt = 0; - - printf("This sample performs continuous DO Update with external\n"); - printf("trigger (AFI0) at %lf sample rate.\n\n", SampleRate); - printf("Card Number? "); - scanf(" %hd", &card_num); - - /* - * Open and initialize PCIe-7350 - */ - card = Register_Card(PCI_7350, card_num); - if(card<0){ - printf("Register_Card Error: %d\n", card); - exit(1); - } - - /* - * Set Voltage Level for DIO Port - */ - err = DIO_VoltLevelConfig(card, P7350_PortDIO, VoltLevel_3R3); - if(err!=NoError){ - printf("DIO_VoltLevelConfig Error: %d\n", err); - Release_Card(card); - exit(1); - } - err = DIO_VoltLevelConfig(card, P7350_PortAFI, VoltLevel_3R3); - if(err!=NoError){ - printf("DIO_VoltLevelConfig Error: %d\n", err); - Release_Card(card); - exit(1); - } - - /* - * Set Input or Output for DIO Port - */ - err = DIO_PortConfig(card, P7350_DIO_A, OUTPUT_PORT); - if(err!=NoError){ - printf("DIO_PortConfig Error: %d\n", err); - Release_Card(card); - exit(1); - } - err = DIO_PortConfig(card, P7350_DIO_B, OUTPUT_PORT); - if(err!=NoError){ - printf("DIO_PortConfig Error: %d\n", err); - Release_Card(card); - exit(1); - } - err = DIO_PortConfig(card, P7350_DIO_C, OUTPUT_PORT); - if(err!=NoError){ - printf("DIO_PortConfig Error: %d\n", err); - Release_Card(card); - exit(1); - } - err = DIO_PortConfig(card, P7350_DIO_D, OUTPUT_PORT); - if(err!=NoError){ - printf("DIO_PortConfig Error: %d\n", err); - Release_Card(card); - exit(1); - } - - /* - * Set DO Configurations - */ - err = DO_7350_Config(card, DOPortWidth, DOMode, DOWaitStatus, DOClkConfig); - if(err!=NoError){ - printf("DO_7350_Config Error: %d\n", err); - Release_Card(card); - exit(1); - } - - /* - * Set DO Trigger and HandShake Configurations - */ - err = DO_7350_TrigHSConfig( - card, - 0/*TrigConfig*/, - 0/*DO_IPOL*/, - 0/*DO_REQSrc*/, - 0/*DO_ACKSrc*/, - 0/*DO_TRIGSrc*/, - StartTrigSrc, - 0/*PauseTrigSrc*/, - 0/*SoftTrigOutSrc*/, - 0/*SoftTrigOutLength*/, - TrigCount - ); - if(err!=NoError){ - printf("DO_7350_TrigHSConfig Error: %d\n", err); - Release_Card(card); - exit(1); - } - - /* - * allocate buffer to be written - - * Note: PCIe-7350 DMA engine only supports 8-bytes data and address alignment. - * That means - - * 1. the bytes count of the totally transffed data is the times of 8. - * 2. the lowest 3 bits of the buffer address is 0. - */ - /*allocate page-aligned memory to meet 8-bytes alignment*/ - Buffer = (U32 *)VirtualAlloc(NULL, WriteCount*(DOPortWidth/8)*TrigCount, MEM_COMMIT, PAGE_READWRITE); - for(vi=0; vi -# Microsoft Developer Studio Generated Build File, Format Version 6.00 -# ** DO NOT EDIT ** - -# TARGTYPE "Win32 (x86) Console Application" 0x0103 - -CFG=do - Win32 Debug -!MESSAGE This is not a valid makefile. To build this project using NMAKE, -!MESSAGE use the Export Makefile command and run -!MESSAGE -!MESSAGE NMAKE /f "do.mak". -!MESSAGE -!MESSAGE You can specify a configuration when running NMAKE -!MESSAGE by defining the macro CFG on the command line. For example: -!MESSAGE -!MESSAGE NMAKE /f "do.mak" CFG="do - Win32 Debug" -!MESSAGE -!MESSAGE Possible choices for configuration are: -!MESSAGE -!MESSAGE "do - Win32 Release" (based on "Win32 (x86) Console Application") -!MESSAGE "do - Win32 Debug" (based on "Win32 (x86) Console Application") -!MESSAGE - -# Begin Project -# PROP AllowPerConfigDependencies 0 -# PROP Scc_ProjName "" -# PROP Scc_LocalPath "" -CPP=cl.exe -RSC=rc.exe - -!IF "$(CFG)" == "do - Win32 Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "Release" -# PROP BASE Intermediate_Dir "Release" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "" -# PROP Intermediate_Dir "Release" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c -# ADD CPP /nologo /W3 /GX /O2 /I "../../../include" /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c -# ADD BASE RSC /l 0x404 /d "NDEBUG" -# ADD RSC /l 0x404 /d "NDEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ../../../lib/pci-dask.lib /nologo /subsystem:console /machine:I386 - -!ELSEIF "$(CFG)" == "do - Win32 Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "Debug" -# PROP BASE Intermediate_Dir "Debug" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "Debug" -# PROP Intermediate_Dir "Debug" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /GZ /c -# ADD CPP /nologo /W3 /Gm /GX /ZI /Od /I "../../../include" /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /GZ /c -# ADD BASE RSC /l 0x404 /d "_DEBUG" -# ADD RSC /l 0x404 /d "_DEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ../../../lib/pci-dask.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept - -!ENDIF - -# Begin Target - -# Name "do - Win32 Release" -# Name "do - Win32 Debug" -# Begin Group "Source Files" - -# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;idl;hpj;bat" -# Begin Source File - -SOURCE=.\do.c -# End Source File -# End Group -# Begin Group "Header Files" - -# PROP Default_Filter "h;hpp;hxx;hm;inl" -# End Group -# Begin Group "Resource Files" - -# PROP Default_Filter "ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe" -# End Group -# End Target -# End Project diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7350/C7350_DO_DMA_ExtTrig/do.dsw b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7350/C7350_DO_DMA_ExtTrig/do.dsw deleted file mode 100644 index 3e43da3..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7350/C7350_DO_DMA_ExtTrig/do.dsw +++ /dev/null @@ -1,29 +0,0 @@ -Microsoft Developer Studio Workspace File, Format Version 6.00 -# WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE! - -############################################################################### - -Project: "do"=.\do.dsp - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ -}}} - -############################################################################### - -Global: - -Package=<5> -{{{ -}}} - -Package=<3> -{{{ -}}} - -############################################################################### - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7350/C7350_DO_DMA_ExtTrig/do.exe b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7350/C7350_DO_DMA_ExtTrig/do.exe deleted file mode 100644 index 19b6753..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7350/C7350_DO_DMA_ExtTrig/do.exe and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7350/C7350_DO_DMA_SoftTrig/do.c b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7350/C7350_DO_DMA_SoftTrig/do.c deleted file mode 100644 index 5ff023c..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7350/C7350_DO_DMA_SoftTrig/do.c +++ /dev/null @@ -1,187 +0,0 @@ -/*----------------------------------------------------------------------------*/ -/* Company : ADLINK */ -/* Date : 2009/06/02 */ -/* */ -/* This sample performs continuous DO update with software trigger. */ -/* The sample updates 65536 32-bits samples to DIO Port A/B/C/D with 50MHz */ -/* internal sampled clock while the software trigger is started. */ -/*----------------------------------------------------------------------------*/ -#include -#include -#include -#include -#include "dask.h" - - -int main(int argc, char **argv) -{ - I16 card, err; - I16 card_num; - U16 DOPortWidth = 32; //Port Width - U16 DOMode = P7350_FreeRun; //DO Mode - U16 DOWaitStatus = P7350_WAIT_SOFTTRG; //Software Trigger - U16 DOClkConfig = P7350_IntSampledCLK; //Internal Sampled Clock - U16 TrigConfig = P7350_EnSoftTrigOut; //Enable Software Trigger Out - U16 SoftTrigOutSrc = P7350_AFI_0; //Software Trigger Out Source - U32 SoftTrigOutLength = 10; //Software Trigger Out Length - U32 TrigCount = 1; //Software Trigger Supports only 1 Trigger - U32 *Buffer; //Buffer to be written - U32 WriteCount = 65536; //Data Count to be written - F64 SampleRate = 50000000; //Update Rate - U32 vi; - BOOLEAN Stopped = 0; - U32 AccessCnt = 0; - - printf("This sample performs continuous DO Update\n"); - printf("with %lf sample rate.\n\n", SampleRate); - printf("Card Number? "); - scanf(" %hd", &card_num); - - /* - * Open and initialize PCIe-7350 - */ - card = Register_Card(PCI_7350, card_num); - if(card<0){ - printf("Register_Card Error: %d\n", card); - exit(1); - } - - /* - * Set Voltage Level for DIO Port - */ - err = DIO_VoltLevelConfig(card, P7350_PortDIO, VoltLevel_3R3); - if(err!=NoError){ - printf("DIO_VoltLevelConfig Error: %d\n", err); - Release_Card(card); - exit(1); - } - err = DIO_VoltLevelConfig(card, P7350_PortAFI, VoltLevel_3R3); - if(err!=NoError){ - printf("DIO_VoltLevelConfig Error: %d\n", err); - Release_Card(card); - exit(1); - } - - /* - * Set Input or Output for DIO Port - */ - err = DIO_PortConfig(card, P7350_DIO_A, OUTPUT_PORT); - if(err!=NoError){ - printf("DIO_PortConfig Error: %d\n", err); - Release_Card(card); - exit(1); - } - err = DIO_PortConfig(card, P7350_DIO_B, OUTPUT_PORT); - if(err!=NoError){ - printf("DIO_PortConfig Error: %d\n", err); - Release_Card(card); - exit(1); - } - err = DIO_PortConfig(card, P7350_DIO_C, OUTPUT_PORT); - if(err!=NoError){ - printf("DIO_PortConfig Error: %d\n", err); - Release_Card(card); - exit(1); - } - err = DIO_PortConfig(card, P7350_DIO_D, OUTPUT_PORT); - if(err!=NoError){ - printf("DIO_PortConfig Error: %d\n", err); - Release_Card(card); - exit(1); - } - - /* - * Set DO Configurations - */ - err = DO_7350_Config(card, DOPortWidth, DOMode, DOWaitStatus, DOClkConfig); - if(err!=NoError){ - printf("DO_7350_Config Error: %d\n", err); - Release_Card(card); - exit(1); - } - - /* - * Set DO Trigger and HandShake Configurations - */ - err = DO_7350_TrigHSConfig( - card, - TrigConfig, - 0/*DO_IPOL*/, - 0/*DO_REQSrc*/, - 0/*DO_ACKSrc*/, - 0/*DO_TRIGSrc*/, - 0/*StartTrigSrc*/, - 0/*PauseTrigSrc*/, - SoftTrigOutSrc, - SoftTrigOutLength, - TrigCount - ); - if(err!=NoError){ - printf("DO_7350_TrigHSConfig Error: %d\n", err); - Release_Card(card); - exit(1); - } - - /* - * allocate buffer to be written - - * Note: PCIe-7350 DMA engine only supports 8-bytes data and address alignment. - * That means - - * 1. the bytes count of the totally transffed data is the times of 8. - * 2. the lowest 3 bits of the buffer address is 0. - */ - /*allocate page-aligned memory to meet 8-bytes alignment*/ - Buffer = (U32 *)VirtualAlloc(NULL, WriteCount*(DOPortWidth/8), MEM_COMMIT, PAGE_READWRITE); - for(vi=0; vi -# Microsoft Developer Studio Generated Build File, Format Version 6.00 -# ** DO NOT EDIT ** - -# TARGTYPE "Win32 (x86) Console Application" 0x0103 - -CFG=do - Win32 Debug -!MESSAGE This is not a valid makefile. To build this project using NMAKE, -!MESSAGE use the Export Makefile command and run -!MESSAGE -!MESSAGE NMAKE /f "do.mak". -!MESSAGE -!MESSAGE You can specify a configuration when running NMAKE -!MESSAGE by defining the macro CFG on the command line. For example: -!MESSAGE -!MESSAGE NMAKE /f "do.mak" CFG="do - Win32 Debug" -!MESSAGE -!MESSAGE Possible choices for configuration are: -!MESSAGE -!MESSAGE "do - Win32 Release" (based on "Win32 (x86) Console Application") -!MESSAGE "do - Win32 Debug" (based on "Win32 (x86) Console Application") -!MESSAGE - -# Begin Project -# PROP AllowPerConfigDependencies 0 -# PROP Scc_ProjName "" -# PROP Scc_LocalPath "" -CPP=cl.exe -RSC=rc.exe - -!IF "$(CFG)" == "do - Win32 Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "Release" -# PROP BASE Intermediate_Dir "Release" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "" -# PROP Intermediate_Dir "Release" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c -# ADD CPP /nologo /W3 /GX /O2 /I "../../../include" /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c -# ADD BASE RSC /l 0x404 /d "NDEBUG" -# ADD RSC /l 0x404 /d "NDEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ../../../lib/pci-dask.lib /nologo /subsystem:console /machine:I386 - -!ELSEIF "$(CFG)" == "do - Win32 Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "Debug" -# PROP BASE Intermediate_Dir "Debug" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "Debug" -# PROP Intermediate_Dir "Debug" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /GZ /c -# ADD CPP /nologo /W3 /Gm /GX /ZI /Od /I "../../../include" /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /GZ /c -# ADD BASE RSC /l 0x404 /d "_DEBUG" -# ADD RSC /l 0x404 /d "_DEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ../../../lib/pci-dask.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept - -!ENDIF - -# Begin Target - -# Name "do - Win32 Release" -# Name "do - Win32 Debug" -# Begin Group "Source Files" - -# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;idl;hpj;bat" -# Begin Source File - -SOURCE=.\do.c -# End Source File -# End Group -# Begin Group "Header Files" - -# PROP Default_Filter "h;hpp;hxx;hm;inl" -# End Group -# Begin Group "Resource Files" - -# PROP Default_Filter "ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe" -# End Group -# End Target -# End Project diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7350/C7350_DO_DMA_SoftTrig/do.dsw b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7350/C7350_DO_DMA_SoftTrig/do.dsw deleted file mode 100644 index 3e43da3..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7350/C7350_DO_DMA_SoftTrig/do.dsw +++ /dev/null @@ -1,29 +0,0 @@ -Microsoft Developer Studio Workspace File, Format Version 6.00 -# WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE! - -############################################################################### - -Project: "do"=.\do.dsp - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ -}}} - -############################################################################### - -Global: - -Package=<5> -{{{ -}}} - -Package=<3> -{{{ -}}} - -############################################################################### - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7350/C7350_DO_DMA_SoftTrig/do.exe b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7350/C7350_DO_DMA_SoftTrig/do.exe deleted file mode 100644 index a0ce86d..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7350/C7350_DO_DMA_SoftTrig/do.exe and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7350/C7350_DO_MBF/do.c b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7350/C7350_DO_MBF/do.c deleted file mode 100644 index 1a82f1a..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7350/C7350_DO_MBF/do.c +++ /dev/null @@ -1,171 +0,0 @@ -/*----------------------------------------------------------------------------*/ -/* Company : ADLINK */ -/* Date : 2009/05/12 */ -/* */ -/* This sample performs continuous DO update. DO operation will start */ -/* immediately. */ -/* PCI-7350 supports the Multi-Buffer mode (Maximum of 64 buffers)to perform */ -/* infinitely continuous DI/DO operations. */ -/*----------------------------------------------------------------------------*/ -#include -#include -#include -#include -#include "dask.h" - -#define MBufCount 16 //Buffer count to be set - -int main(int argc, char **argv) -{ - I16 card, err; - I16 card_num; - U16 DOPortWidth = 32; //Port width - U16 DOMode = P7350_FreeRun; //DO mode - U16 DOWaitStatus = P7350_WAIT_NO; //No wait trigger - U16 DOClkConfig = P7350_IntSampledCLK; //Internal sampled clock - U32 *Buffer[MBufCount]; //Buffer array to be set - U16 BufferID[MBufCount]; //Buffer ID returned - U32 WriteCount = 10000; //Data count per one buffer to be written - F64 SampleRate = 10000000; //Update rate - U32 vi, vj; - BOOLEAN NextReady = FALSE; - U16 ReadyBufferId = 0; - U32 AccessCnt; - - printf("This sample performs infinitely continuous DO operation to DIO port A/B/C/D\n"); - printf("with %lf sample rate.\n\n", SampleRate); - printf("Card Number? "); - scanf(" %hd", &card_num); - - /* - * Open and initialize PCIe-7350 - */ - card = Register_Card(PCI_7350, card_num); - if(card<0){ - printf("Register_Card Error: %d\n", card); - exit(1); - } - - /* - * Set voltage level for DIO port - */ - err = DIO_VoltLevelConfig(card, P7350_PortDIO, VoltLevel_3R3); - if(err!=NoError){ - printf("DIO_VoltLevelConfig Error: %d\n", err); - Release_Card(card); - exit(1); - } - - /* - * Set input or output for DIO port - */ - err = DIO_PortConfig(card, P7350_DIO_A, OUTPUT_PORT); - if(err!=NoError){ - printf("DIO_PortConfig Error: %d\n", err); - Release_Card(card); - exit(1); - } - err = DIO_PortConfig(card, P7350_DIO_B, OUTPUT_PORT); - if(err!=NoError){ - printf("DIO_PortConfig Error: %d\n", err); - Release_Card(card); - exit(1); - } - err = DIO_PortConfig(card, P7350_DIO_C, OUTPUT_PORT); - if(err!=NoError){ - printf("DIO_PortConfig Error: %d\n", err); - Release_Card(card); - exit(1); - } - err = DIO_PortConfig(card, P7350_DIO_D, OUTPUT_PORT); - if(err!=NoError){ - printf("DIO_PortConfig Error: %d\n", err); - Release_Card(card); - exit(1); - } - - /* - * Set DO configurations - */ - err = DO_7350_Config(card, DOPortWidth, DOMode, DOWaitStatus, DOClkConfig); - if(err!=NoError){ - printf("DO_7350_Config Error: %d\n", err); - Release_Card(card); - exit(1); - } - - /* - * Allocate multiple buffers to be written - - * Note: PCIe-7350 DMA engine only supports 8-bytes data and address alignment. - * That means - - * 1. the bytes count of the totally transffed data is the times of 8. - * 2. the lowest 3 bits of the buffer address is 0. - * - * Allocate page-aligned memory to meet 8-bytes alignment - */ - for(vi=0; vi -# Microsoft Developer Studio Generated Build File, Format Version 6.00 -# ** DO NOT EDIT ** - -# TARGTYPE "Win32 (x86) Console Application" 0x0103 - -CFG=do - Win32 Debug -!MESSAGE This is not a valid makefile. To build this project using NMAKE, -!MESSAGE use the Export Makefile command and run -!MESSAGE -!MESSAGE NMAKE /f "do.mak". -!MESSAGE -!MESSAGE You can specify a configuration when running NMAKE -!MESSAGE by defining the macro CFG on the command line. For example: -!MESSAGE -!MESSAGE NMAKE /f "do.mak" CFG="do - Win32 Debug" -!MESSAGE -!MESSAGE Possible choices for configuration are: -!MESSAGE -!MESSAGE "do - Win32 Release" (based on "Win32 (x86) Console Application") -!MESSAGE "do - Win32 Debug" (based on "Win32 (x86) Console Application") -!MESSAGE - -# Begin Project -# PROP AllowPerConfigDependencies 0 -# PROP Scc_ProjName "" -# PROP Scc_LocalPath "" -CPP=cl.exe -RSC=rc.exe - -!IF "$(CFG)" == "do - Win32 Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "Release" -# PROP BASE Intermediate_Dir "Release" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "" -# PROP Intermediate_Dir "Release" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c -# ADD CPP /nologo /W3 /GX /O2 /I "../../../include" /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c -# ADD BASE RSC /l 0x404 /d "NDEBUG" -# ADD RSC /l 0x404 /d "NDEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ../../../lib/pci-dask.lib /nologo /subsystem:console /machine:I386 - -!ELSEIF "$(CFG)" == "do - Win32 Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "Debug" -# PROP BASE Intermediate_Dir "Debug" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "Debug" -# PROP Intermediate_Dir "Debug" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /GZ /c -# ADD CPP /nologo /W3 /Gm /GX /ZI /Od /I "../../../include" /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /GZ /c -# ADD BASE RSC /l 0x404 /d "_DEBUG" -# ADD RSC /l 0x404 /d "_DEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ../../../lib/pci-dask.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept - -!ENDIF - -# Begin Target - -# Name "do - Win32 Release" -# Name "do - Win32 Debug" -# Begin Group "Source Files" - -# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;idl;hpj;bat" -# Begin Source File - -SOURCE=.\do.c -# End Source File -# End Group -# Begin Group "Header Files" - -# PROP Default_Filter "h;hpp;hxx;hm;inl" -# End Group -# Begin Group "Resource Files" - -# PROP Default_Filter "ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe" -# End Group -# End Target -# End Project diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7350/C7350_DO_MBF/do.dsw b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7350/C7350_DO_MBF/do.dsw deleted file mode 100644 index 3e43da3..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7350/C7350_DO_MBF/do.dsw +++ /dev/null @@ -1,29 +0,0 @@ -Microsoft Developer Studio Workspace File, Format Version 6.00 -# WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE! - -############################################################################### - -Project: "do"=.\do.dsp - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ -}}} - -############################################################################### - -Global: - -Package=<5> -{{{ -}}} - -Package=<3> -{{{ -}}} - -############################################################################### - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7350/C7350_DO_MBF/do.exe b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7350/C7350_DO_MBF/do.exe deleted file mode 100644 index dbc6836..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7350/C7350_DO_MBF/do.exe and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7350/C7350_DO_MBF_Event/do.c b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7350/C7350_DO_MBF_Event/do.c deleted file mode 100644 index 2b60493..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7350/C7350_DO_MBF_Event/do.c +++ /dev/null @@ -1,207 +0,0 @@ -/*----------------------------------------------------------------------------*/ -/* Company : ADLINK */ -/* Date : 2009/05/12 */ -/* */ -/* This sample performs continuous DO update. DO operation will start */ -/* immediately. */ -/* PCI-7350 supports the Multi-Buffer mode (Maximum of 64 buffers)to perform */ -/* infinitely continuous DI/DO operations. */ -/*----------------------------------------------------------------------------*/ -#include -#include -#include -#include -#include "dask.h" - -#define MBufCount 16 //Buffer count to be set - -I16 card; -I16 card_num; -U16 DOPortWidth = 32; //Port width -U16 DOMode = P7350_FreeRun; //DO mode -U16 DOWaitStatus = P7350_WAIT_NO; //No wait trigger -U16 DOClkConfig = P7350_IntSampledCLK; //Internal sampled clock -U32 *Buffer[MBufCount]; //Buffer array to be set -U16 BufferID[MBufCount]; //Buffer ID returned -U32 WriteCount = 10000; //Data count per one buffer to be written -F64 SampleRate = 10000000; //Update rate -U32 vi, vj; -BOOLEAN NextReady = FALSE; -U16 ReadyBufferId = 0; -U32 AccessCnt; -BOOLEAN StopFlag = FALSE; - - -void DO_END_CALLBACK() -{ - printf("\n\nDO Operation End...\n\n"); - StopFlag = 1; -} - - -void DO_DBEVENT_CALLBACK() -{ - I16 err; - err = DO_AsyncMultiBufferNextReady(card, &NextReady, &ReadyBufferId); - if(err!=NoError) - printf("DO_AsyncMultiBufferNextReady Error: %d\n", err); - printf("Buffer %2d is Ready...\r", ReadyBufferId); -} - - -int main(int argc, char **argv) -{ - I16 err; - - printf("This sample performs infinitely continuous DO operation to DIO port A/B/C/D\n"); - printf("with %lf sample rate.\n\n", SampleRate); - printf("Card Number? "); - scanf(" %hd", &card_num); - - /* - * Open and initialize PCIe-7350 - */ - card = Register_Card(PCI_7350, card_num); - if(card<0){ - printf("Register_Card Error: %d\n", card); - exit(1); - } - - /* - * Set voltage level for DIO port - */ - err = DIO_VoltLevelConfig(card, P7350_PortDIO, VoltLevel_3R3); - if(err!=NoError){ - printf("DIO_VoltLevelConfig Error: %d\n", err); - Release_Card(card); - exit(1); - } - - /* - * Set input or output for DIO port - */ - err = DIO_PortConfig(card, P7350_DIO_A, OUTPUT_PORT); - if(err!=NoError){ - printf("DIO_PortConfig Error: %d\n", err); - Release_Card(card); - exit(1); - } - err = DIO_PortConfig(card, P7350_DIO_B, OUTPUT_PORT); - if(err!=NoError){ - printf("DIO_PortConfig Error: %d\n", err); - Release_Card(card); - exit(1); - } - err = DIO_PortConfig(card, P7350_DIO_C, OUTPUT_PORT); - if(err!=NoError){ - printf("DIO_PortConfig Error: %d\n", err); - Release_Card(card); - exit(1); - } - err = DIO_PortConfig(card, P7350_DIO_D, OUTPUT_PORT); - if(err!=NoError){ - printf("DIO_PortConfig Error: %d\n", err); - Release_Card(card); - exit(1); - } - - /* - * Set DO configurations - */ - err = DO_7350_Config(card, DOPortWidth, DOMode, DOWaitStatus, DOClkConfig); - if(err!=NoError){ - printf("DO_7350_Config Error: %d\n", err); - Release_Card(card); - exit(1); - } - - /* - * Allocate multiple buffers to be written - - * Note: PCIe-7350 DMA engine only supports 8-bytes data and address alignment. - * That means - - * 1. the bytes count of the totally transffed data is the times of 8. - * 2. the lowest 3 bits of the buffer address is 0. - * - * Allocate page-aligned memory to meet 8-bytes alignment - */ - for(vi=0; vi -# Microsoft Developer Studio Generated Build File, Format Version 6.00 -# ** DO NOT EDIT ** - -# TARGTYPE "Win32 (x86) Console Application" 0x0103 - -CFG=do - Win32 Debug -!MESSAGE This is not a valid makefile. To build this project using NMAKE, -!MESSAGE use the Export Makefile command and run -!MESSAGE -!MESSAGE NMAKE /f "do.mak". -!MESSAGE -!MESSAGE You can specify a configuration when running NMAKE -!MESSAGE by defining the macro CFG on the command line. For example: -!MESSAGE -!MESSAGE NMAKE /f "do.mak" CFG="do - Win32 Debug" -!MESSAGE -!MESSAGE Possible choices for configuration are: -!MESSAGE -!MESSAGE "do - Win32 Release" (based on "Win32 (x86) Console Application") -!MESSAGE "do - Win32 Debug" (based on "Win32 (x86) Console Application") -!MESSAGE - -# Begin Project -# PROP AllowPerConfigDependencies 0 -# PROP Scc_ProjName "" -# PROP Scc_LocalPath "" -CPP=cl.exe -RSC=rc.exe - -!IF "$(CFG)" == "do - Win32 Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "Release" -# PROP BASE Intermediate_Dir "Release" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "" -# PROP Intermediate_Dir "Release" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c -# ADD CPP /nologo /W3 /GX /O2 /I "../../../include" /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c -# ADD BASE RSC /l 0x404 /d "NDEBUG" -# ADD RSC /l 0x404 /d "NDEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ../../../lib/pci-dask.lib /nologo /subsystem:console /machine:I386 - -!ELSEIF "$(CFG)" == "do - Win32 Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "Debug" -# PROP BASE Intermediate_Dir "Debug" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "Debug" -# PROP Intermediate_Dir "Debug" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /GZ /c -# ADD CPP /nologo /W3 /Gm /GX /ZI /Od /I "../../../include" /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /GZ /c -# ADD BASE RSC /l 0x404 /d "_DEBUG" -# ADD RSC /l 0x404 /d "_DEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ../../../lib/pci-dask.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept - -!ENDIF - -# Begin Target - -# Name "do - Win32 Release" -# Name "do - Win32 Debug" -# Begin Group "Source Files" - -# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;idl;hpj;bat" -# Begin Source File - -SOURCE=.\do.c -# End Source File -# End Group -# Begin Group "Header Files" - -# PROP Default_Filter "h;hpp;hxx;hm;inl" -# End Group -# Begin Group "Resource Files" - -# PROP Default_Filter "ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe" -# End Group -# End Target -# End Project diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7350/C7350_DO_MBF_Event/do.dsw b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7350/C7350_DO_MBF_Event/do.dsw deleted file mode 100644 index 3e43da3..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7350/C7350_DO_MBF_Event/do.dsw +++ /dev/null @@ -1,29 +0,0 @@ -Microsoft Developer Studio Workspace File, Format Version 6.00 -# WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE! - -############################################################################### - -Project: "do"=.\do.dsp - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ -}}} - -############################################################################### - -Global: - -Package=<5> -{{{ -}}} - -Package=<3> -{{{ -}}} - -############################################################################### - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7350/C7350_DO_MBF_Event/do.exe b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7350/C7350_DO_MBF_Event/do.exe deleted file mode 100644 index 2692afb..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7350/C7350_DO_MBF_Event/do.exe and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7350/C7350_I2C/C7350_I2C.c b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7350/C7350_I2C/C7350_I2C.c deleted file mode 100644 index 649ba8f..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7350/C7350_I2C/C7350_I2C.c +++ /dev/null @@ -1,153 +0,0 @@ -/*----------------------------------------------------------------------------*/ -/* Company : ADLINK */ -/* Date : 2009/03/04 */ -/* */ -/* This sample performs I2C operation of 7350. */ -/* It tests I2C EEPROM read/write operations. */ -/* In 7350, AFI0 ~ AFI1 are used for I2C while performing I2C operation, */ -/* so AFI0 ~ AFI1 will be set to I2C mode automatically if I2C is enabled. */ -/*----------------------------------------------------------------------------*/ -#include -#include -#include -#include -#include "dask.h" - -#define I2C_WRTCNT 256 - - -int main(int argc, char **argv) -{ - I16 card, err; - U16 card_num; - U32 I2C_ReadCmdAddr; - U32 I2C_ReadData; - U32 I2C_WriteCmdAddr; - U32 I2C_WriteData; - U16 I2C_SlaveAddr; - U32 vi = 0; - U16 PatType; - - printf("This sample tests I2C Read/Write Operations.\n"); - printf("It will write a byte-data to and then read from 0 ~ %d Cmd/Addr.\n", I2C_WRTCNT-1); - printf("Card Number? "); - scanf(" %hd", &card_num); - - printf("I2C Slave Address? "); - scanf(" %hd", &I2C_SlaveAddr); - - printf("Increasing or Decreasing Pattern? [0]Increasing [1]Decreasing "); - scanf(" %hd", &PatType); - PatType &= 0x1; - - /*Open and initialize device*/ - card = Register_Card( - PCI_7350, /*Card type*/ - card_num /*Card number*/ - ); - if(card<0){ - printf("Register_Card Error: %d\n", card); - exit(1); - } - - /* - * Set AFI voltage level - * AFI0/AFI1 will be set to I2C mode automatically if I2C is enabled. - */ - err = DIO_VoltLevelConfig( - card, /*Card handle*/ - P7350_PortAFI, /*AFI voltage level to be set*/ - VoltLevel_3R3 /*Voltage level to be set*/ - ); - if(err<0){ - printf("DIO_7350_SetVoltLevel Error: %d\n", err); - Release_Card(card); - exit(1); - } - - /*Setup I2C*/ - err = I2C_Setup( - card, - I2C_Port_A, /*I2C port to be set*/ - 0, /*Not used in 7350*/ - 0xff, /*The parameter is used to set Pre-clock in 7350*/ - 0 /*Not used in 7350*/ - ); - if(err<0){ - printf("I2C_Setup Error: %d\n", err); - Release_Card(card); - exit(1); - } - - /* - * Enable I2C - * AFI0/AFI1 will be set to I2C mode automatically. - */ - err = I2C_Control( - card, - I2C_Port_A, - I2C_ENABLE, /*Operation item*/ - 1 /*Enable opertion item*/ - ); - if(err<0){ - printf("I2C_Control Error: %d\n", err); - Release_Card(card); - exit(1); - } - - do{ - /*Write*/ - I2C_WriteCmdAddr = vi&0xff; - I2C_WriteData = (!PatType)? I2C_WriteCmdAddr:255-I2C_WriteCmdAddr; - err = I2C_Write( - card, - I2C_Port_A, - I2C_SlaveAddr, /*Slave device address*/ - 1, /*Address byte count to be written*/ - 1, /*Data byte count to be written*/ - I2C_WriteCmdAddr, /*Cmd/Addr to be written*/ - I2C_WriteData /*Data to be written*/ - ); - if(err<0){ - printf("I2C_Write Error: %d\n", err); - I2C_Control(card, I2C_Port_A, I2C_ENABLE, 0); - Release_Card(card); - exit(1); - } - - Sleep(10); //Wait for writing I2C EEPROM latency - - /*Read*/ - I2C_ReadCmdAddr = I2C_WriteCmdAddr; - err = I2C_Read( - card, - I2C_Port_A, - I2C_SlaveAddr, /*Slave device address*/ - 1, /*Address byte count to be read*/ - 1, /*Data byte count to be read*/ - I2C_ReadCmdAddr, /*Cmd/Addr to be read*/ - &I2C_ReadData /*read Data*/ - ); - if(err<0){ - printf("I2C_Read Error: %d\n", err); - I2C_Control(card, I2C_Port_A, I2C_ENABLE, 0); - Release_Card(card); - exit(1); - } - printf("Read Addr(%p): %d\n", I2C_ReadCmdAddr, I2C_ReadData); - vi++; - }while((vi<256)&&(!kbhit())); - - /*Disable I2C*/ - I2C_Control( - card, - I2C_Port_A, - I2C_ENABLE, /*Opertion item*/ - 0 /*Disble opertion item*/ - ); - - printf("Press any key to exit...\n"); - getch(); - Release_Card(card); - return 0; -} diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7350/C7350_I2C/C7350_I2C.dsp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7350/C7350_I2C/C7350_I2C.dsp deleted file mode 100644 index abcf0f6..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7350/C7350_I2C/C7350_I2C.dsp +++ /dev/null @@ -1,102 +0,0 @@ -# Microsoft Developer Studio Project File - Name="C7350_I2C" - Package Owner=<4> -# Microsoft Developer Studio Generated Build File, Format Version 6.00 -# ** DO NOT EDIT ** - -# TARGTYPE "Win32 (x86) Console Application" 0x0103 - -CFG=C7350_I2C - Win32 Debug -!MESSAGE This is not a valid makefile. To build this project using NMAKE, -!MESSAGE use the Export Makefile command and run -!MESSAGE -!MESSAGE NMAKE /f "C7350_I2C.mak". -!MESSAGE -!MESSAGE You can specify a configuration when running NMAKE -!MESSAGE by defining the macro CFG on the command line. For example: -!MESSAGE -!MESSAGE NMAKE /f "C7350_I2C.mak" CFG="C7350_I2C - Win32 Debug" -!MESSAGE -!MESSAGE Possible choices for configuration are: -!MESSAGE -!MESSAGE "C7350_I2C - Win32 Release" (based on "Win32 (x86) Console Application") -!MESSAGE "C7350_I2C - Win32 Debug" (based on "Win32 (x86) Console Application") -!MESSAGE - -# Begin Project -# PROP AllowPerConfigDependencies 0 -# PROP Scc_ProjName "" -# PROP Scc_LocalPath "" -CPP=cl.exe -RSC=rc.exe - -!IF "$(CFG)" == "C7350_I2C - Win32 Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "Release" -# PROP BASE Intermediate_Dir "Release" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "" -# PROP Intermediate_Dir "Release" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c -# ADD CPP /nologo /W3 /GX /O2 /I "../../../include" /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c -# ADD BASE RSC /l 0x404 /d "NDEBUG" -# ADD RSC /l 0x404 /d "NDEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ../../../lib/pci-dask.lib /nologo /subsystem:console /machine:I386 - -!ELSEIF "$(CFG)" == "C7350_I2C - Win32 Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "Debug" -# PROP BASE Intermediate_Dir "Debug" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "Debug" -# PROP Intermediate_Dir "Debug" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /GZ /c -# ADD CPP /nologo /W3 /Gm /GX /ZI /Od /I "../../../include" /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /GZ /c -# ADD BASE RSC /l 0x404 /d "_DEBUG" -# ADD RSC /l 0x404 /d "_DEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ../../../lib/pci-dask.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept - -!ENDIF - -# Begin Target - -# Name "C7350_I2C - Win32 Release" -# Name "C7350_I2C - Win32 Debug" -# Begin Group "Source Files" - -# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;idl;hpj;bat" -# Begin Source File - -SOURCE=.\C7350_I2C.c -# End Source File -# End Group -# Begin Group "Header Files" - -# PROP Default_Filter "h;hpp;hxx;hm;inl" -# End Group -# Begin Group "Resource Files" - -# PROP Default_Filter "ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe" -# End Group -# End Target -# End Project diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7350/C7350_I2C/C7350_I2C.dsw b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7350/C7350_I2C/C7350_I2C.dsw deleted file mode 100644 index a1678e5..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7350/C7350_I2C/C7350_I2C.dsw +++ /dev/null @@ -1,29 +0,0 @@ -Microsoft Developer Studio Workspace File, Format Version 6.00 -# WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE! - -############################################################################### - -Project: "C7350_I2C"=.\C7350_I2C.dsp - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ -}}} - -############################################################################### - -Global: - -Package=<5> -{{{ -}}} - -Package=<3> -{{{ -}}} - -############################################################################### - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7350/C7350_I2C/C7350_I2C.exe b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7350/C7350_I2C/C7350_I2C.exe deleted file mode 100644 index 5b0637e..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7350/C7350_I2C/C7350_I2C.exe and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7350/C7350_PM_Edge/patternmatch.c b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7350/C7350_PM_Edge/patternmatch.c deleted file mode 100644 index 6890192..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7350/C7350_PM_Edge/patternmatch.c +++ /dev/null @@ -1,213 +0,0 @@ -/*----------------------------------------------------------------------------*/ -/* Company : ADLINK */ -/* Date : 2009/06/09 */ -/* */ -/* This sample performs DI pattern match functionality. */ -/* In PCIe-7350, there are 32 programmable DIO channels. Each 8 channels are */ -/* devided into one port that is the DIO configuration unit. */ -/* You can set a pattern for the set DI channels. Internal interrupt will be */ -/* asserted while the input digital signal is matched to the configured */ -/* pattern. */ -/* AFI port can also be set as the COS event out mode, and the set AFI port */ -/* will generate a pulse while COS occurs. */ -/*----------------------------------------------------------------------------*/ -#include -#include -#include -#include -#include -#include "dask.h" - -I16 card; -HANDLE PM_Event = 0; -BOOLEAN fStopThr = 0; -BOOLEAN fThrEnded = 0; - -#define MATCH_PATTERN_PRE 0x1d -#define MATCH_PATTERN_NEW 0x24 - -void wait_pattern_matched(void *arg) -{ - I16 err; - U32 PMLData; - U32 stat; - - do{ - stat = WaitForSingleObject(PM_Event, INFINITE); - if(stat!=0){ - printf("WaitForSingleObject Error: %d\n", GetLastError()); - continue; - } - if(fStopThr) - break; - else{ - err = DIO_GetPMLatchData32(card, 0, &PMLData); - if(err<0){ - printf("DIO_GetPMLatchData32 Error: %d\n", err); - } - printf("Pattern Matched; Latched Data: 0x%x\n", PMLData); - /* - * PCI-7350 Pattern Match is a one pulse event, so reconfigure - * and restart is necessary if you want to match a new pattern. - */ - /*Set DI to zero*/ - DO_WritePort(card, P7350_DIO_A, 0); - Sleep(1); - /*restart Pattern Match*/ - err = DIO_PMControl(card, 0, PATMATCH_RESTART, &PM_Event, 0); - if(err<0){ - printf("DIO_PMControl Error: %d\n", err); - } - } - }while(1); - - fThrEnded = 1; - _endthread(); -} - - -int main(int argc, char **argv) -{ - I16 err; - U16 card_num; - U16 vi; - U32 DIRead; - BOOLEAN fStop; - U16 pattern_pre = MATCH_PATTERN_PRE; - U16 pattern_new = MATCH_PATTERN_NEW; - U16 PM_ChnType; - U8 pat_pre, pat_new; - U32 PMEventOutLen = 100; //100 system clock - 100 * 8 ns - - printf("This sample performs pattern match (edge mode) functionality.\n"); - printf("DIO Port A is configured as a DO port while Port B\n"); - printf("is configured as a DI Port. Signal will be asserted\n"); - printf("and a %d ns pulse will be generated to AFI0 while\n", 8*PMEventOutLen); - printf("the set pattern is matched.\n"); - printf("This sample will match the pattern while Port B is changed\n"); - printf("from 0x%x to 0x%x.\n", pattern_pre, pattern_new); - - printf("Card Number? "); - scanf(" %hd", &card_num); - - /*Open and Initialize Device*/ - card = Register_Card(PCI_7350, card_num); - if(card<0){ - printf("Register_Card Error: %d\n", card); - exit(1); - } - - /*Configure 7350 DIO Port*/ - err = DIO_PortConfig(card, P7350_DIO_A, OUTPUT_PORT); - if(err<0){ - printf("DIO_PortConfig Port_A Error: %d\n", err); - Release_Card(card); - exit(1); - } - err = DIO_PortConfig(card, P7350_DIO_B, INPUT_PORT); - if(err<0){ - printf("DIO_PortConfig Port_B Error: %d\n", err); - Release_Card(card); - exit(1); - } - - DO_WritePort(card, P7350_DIO_A, 0); - Sleep(1); - - /* - * Configure Pattern Match - */ - for(vi=8; vi<16; vi++){ - /*Port B: Channel 8~15*/ - pat_pre = ((pattern_pre>>(vi-8))&0x1); - pat_new = ((pattern_new>>(vi-8))&0x1); - if((pat_pre==0)&&(pat_new==0)) - PM_ChnType = PATMATCH_Level_L; - else if((pat_pre==1)&&(pat_new==1)) - PM_ChnType = PATMATCH_Level_H; - else if((pat_pre==0)&&(pat_new==1)) - PM_ChnType = PATMATCH_Edge_R; - else - PM_ChnType = PATMATCH_Edge_F; - err = DIO_PMConfig(card, vi, PATMATCH_CHNEnable, PM_ChnType); - if(err<0){ - printf("DIO_PMConfig Error: %d\n", err); - Release_Card(card); - exit(1); - } - } - - /* - * Start Pattern Match - */ - err = DIO_PMControl(card, 0, PATMATCH_START, &PM_Event, 0); - if(err<0){ - printf("DIO_PMControl Error: %d\n", err); - Release_Card(card); - exit(1); - } - - /* - * Set PM event out to AFI port - */ - err = DIO_7350_AFIConfig(card, P7350_AFI_0, 1, P7350_AFI_PMTrigOut, PMEventOutLen); - if(err<0){ - printf("DIO_7350_AFIConfig Port_A Error: %d\n", err); - Release_Card(card); - exit(1); - } - - _beginthread(wait_pattern_matched, 0, NULL); - - do{ - /* - * DO output to Port A/C - */ - printf("\n\nOutput Data? "); - scanf(" %x", &vi); - DO_WritePort(card, P7350_DIO_A, vi&0xff); - DI_ReadPort(card, P7350_DIO_B, &DIRead); - printf("Write to Port A: 0x%x; Read from Port B: 0x%x;\n", vi&0xff, DIRead); - printf("Quit? "); - fStop = getch(); - }while((fStop!='q')&&(fStop!='Q')); - - fStopThr = 1; - if(!fThrEnded){ - SetEvent(PM_Event); - ResetEvent(PM_Event); - } - while(!fThrEnded){ - Sleep(1); - } - - /* - * Stop Pattern Match - */ - err = DIO_PMControl(card, 0, PATMATCH_STOP, NULL, 0); - if(err<0){ - printf("DIO_PMControl Error: %d\n", err); - Release_Card(card); - exit(1); - } - - for(vi=8; vi<16; vi++){ - /*Port B: Channel 8~15*/ - err = DIO_PMConfig(card, vi, PATMATCH_CHNDisable, 0); - if(err<0){ - printf("DIO_PMConfig Error: %d\n", err); - Release_Card(card); - exit(1); - } - } - - err = DIO_7350_AFIConfig(card, P7350_AFI_0, 0, 0, 0); - if(err<0){ - printf("DIO_7350_AFIConfig Error: %d\n", err); - } - - printf("\n\nPress any key to exit...\n"); - getch(); - Release_Card(card); - return 0; -} diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7350/C7350_PM_Edge/patternmatch.dsp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7350/C7350_PM_Edge/patternmatch.dsp deleted file mode 100644 index 09e0a04..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7350/C7350_PM_Edge/patternmatch.dsp +++ /dev/null @@ -1,102 +0,0 @@ -# Microsoft Developer Studio Project File - Name="patternmatch" - Package Owner=<4> -# Microsoft Developer Studio Generated Build File, Format Version 6.00 -# ** DO NOT EDIT ** - -# TARGTYPE "Win32 (x86) Console Application" 0x0103 - -CFG=patternmatch - Win32 Debug -!MESSAGE This is not a valid makefile. To build this project using NMAKE, -!MESSAGE use the Export Makefile command and run -!MESSAGE -!MESSAGE NMAKE /f "patternmatch.mak". -!MESSAGE -!MESSAGE You can specify a configuration when running NMAKE -!MESSAGE by defining the macro CFG on the command line. For example: -!MESSAGE -!MESSAGE NMAKE /f "patternmatch.mak" CFG="patternmatch - Win32 Debug" -!MESSAGE -!MESSAGE Possible choices for configuration are: -!MESSAGE -!MESSAGE "patternmatch - Win32 Release" (based on "Win32 (x86) Console Application") -!MESSAGE "patternmatch - Win32 Debug" (based on "Win32 (x86) Console Application") -!MESSAGE - -# Begin Project -# PROP AllowPerConfigDependencies 0 -# PROP Scc_ProjName "" -# PROP Scc_LocalPath "" -CPP=cl.exe -RSC=rc.exe - -!IF "$(CFG)" == "patternmatch - Win32 Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "Release" -# PROP BASE Intermediate_Dir "Release" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "" -# PROP Intermediate_Dir "Release" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c -# ADD CPP /nologo /MT /W3 /GX /O2 /I "../../../include" /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c -# ADD BASE RSC /l 0x404 /d "NDEBUG" -# ADD RSC /l 0x404 /d "NDEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ../../../lib/pci-dask.lib /nologo /subsystem:console /machine:I386 - -!ELSEIF "$(CFG)" == "patternmatch - Win32 Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "Debug" -# PROP BASE Intermediate_Dir "Debug" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "Debug" -# PROP Intermediate_Dir "Debug" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /GZ /c -# ADD CPP /nologo /MTd /W3 /Gm /GX /ZI /Od /I "../../../include" /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /GZ /c -# ADD BASE RSC /l 0x404 /d "_DEBUG" -# ADD RSC /l 0x404 /d "_DEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ../../../lib/pci-dask.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept - -!ENDIF - -# Begin Target - -# Name "patternmatch - Win32 Release" -# Name "patternmatch - Win32 Debug" -# Begin Group "Source Files" - -# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;idl;hpj;bat" -# Begin Source File - -SOURCE=.\patternmatch.c -# End Source File -# End Group -# Begin Group "Header Files" - -# PROP Default_Filter "h;hpp;hxx;hm;inl" -# End Group -# Begin Group "Resource Files" - -# PROP Default_Filter "ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe" -# End Group -# End Target -# End Project diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7350/C7350_PM_Edge/patternmatch.dsw b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7350/C7350_PM_Edge/patternmatch.dsw deleted file mode 100644 index 7d8b3d3..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7350/C7350_PM_Edge/patternmatch.dsw +++ /dev/null @@ -1,29 +0,0 @@ -Microsoft Developer Studio Workspace File, Format Version 6.00 -# WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE! - -############################################################################### - -Project: "patternmatch"=.\patternmatch.dsp - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ -}}} - -############################################################################### - -Global: - -Package=<5> -{{{ -}}} - -Package=<3> -{{{ -}}} - -############################################################################### - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7350/C7350_PM_Edge/patternmatch.exe b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7350/C7350_PM_Edge/patternmatch.exe deleted file mode 100644 index e3b818c..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7350/C7350_PM_Edge/patternmatch.exe and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7350/C7350_PM_Level/patternmatch.c b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7350/C7350_PM_Level/patternmatch.c deleted file mode 100644 index b91d167..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7350/C7350_PM_Level/patternmatch.c +++ /dev/null @@ -1,235 +0,0 @@ -/*----------------------------------------------------------------------------*/ -/* Company : ADLINK */ -/* Date : 2009/06/09 */ -/* */ -/* This sample performs DI pattern match functionality. */ -/* In PCIe-7350, there are 32 programmable DIO channels. Each 8 channels are */ -/* devided into one port that is the DIO configuration unit. */ -/* You can set a pattern for the set DI channels. Internal interrupt will be */ -/* asserted while the input digital signal is matched to the configured */ -/* pattern. */ -/* AFI port can also be set as the COS event out mode, and the set AFI port */ -/* will generate a pulse while COS occurs. */ -/*----------------------------------------------------------------------------*/ -#include -#include -#include -#include -#include -#include "dask.h" - -I16 card; -HANDLE PM_Event = 0; -BOOLEAN fStopThr = 0; -BOOLEAN fThrEnded = 0; - -#define MATCH_PATTERN 0x2f01 - -void wait_pattern_matched(void *arg) -{ - I16 err; - U32 PMLData; - U32 stat; - - do{ - stat = WaitForSingleObject(PM_Event, INFINITE); - if(stat!=0){ - printf("WaitForSingleObject Error: %d\n", GetLastError()); - continue; - } - if(fStopThr) - break; - else{ - err = DIO_GetPMLatchData32(card, 0, &PMLData); - if(err<0){ - printf("DIO_GetPMLatchData32 Error: %d\n", err); - } - printf("Pattern Matched; Latched Data: 0x%x\n", PMLData); - /* - * PCI-7350 Pattern Match is a one pulse event, so reconfigure - * and restart is necessary if you want to match a new pattern. - */ - /*Set DI to zero*/ - DO_WritePort(card, P7350_DIO_A, 0); - DO_WritePort(card, P7350_DIO_C, 0); - Sleep(1); - /*restart Pattern Match*/ - err = DIO_PMControl(card, 0, PATMATCH_RESTART, &PM_Event, 0); - if(err<0){ - printf("DIO_PMControl Error: %d\n", err); - } - } - }while(1); - - fThrEnded = 1; - _endthread(); -} - - -int main(int argc, char **argv) -{ - I16 err; - U16 card_num; - U16 vi; - U32 DIRead1, DIRead2; - BOOLEAN fStop; - U16 pattern = MATCH_PATTERN; - U16 PM_ChnType; - U32 PMEventOutLen = 100; //100 system clock - 100 * 8 ns - - printf("This sample performs pattern match functionality.\n"); - printf("DIO Port A/C are configured as a DO port while Port B/D\n"); - printf("are configured as a DI Port. Signal will be asserted\n"); - printf("and a %d ns pulse will be generated to AFI0 while\n", 8*PMEventOutLen); - printf("the set pattern is matched.\n"); - printf("This sample will match the pattern: 0x%x from Port B/D.\n", MATCH_PATTERN); - - printf("Card Number? "); - scanf(" %hd", &card_num); - - /*Open and Initialize Device*/ - card = Register_Card(PCI_7350, card_num); - if(card<0){ - printf("Register_Card Error: %d\n", card); - exit(1); - } - - /*Configure 7350 DIO Port*/ - err = DIO_PortConfig(card, P7350_DIO_A, OUTPUT_PORT); - if(err<0){ - printf("DIO_PortConfig Port_A Error: %d\n", err); - Release_Card(card); - exit(1); - } - err = DIO_PortConfig(card, P7350_DIO_B, INPUT_PORT); - if(err<0){ - printf("DIO_PortConfig Port_B Error: %d\n", err); - Release_Card(card); - exit(1); - } - err = DIO_PortConfig(card, P7350_DIO_C, OUTPUT_PORT); - if(err<0){ - printf("DIO_PortConfig Port_A Error: %d\n", err); - Release_Card(card); - exit(1); - } - err = DIO_PortConfig(card, P7350_DIO_D, INPUT_PORT); - if(err<0){ - printf("DIO_PortConfig Port_B Error: %d\n", err); - Release_Card(card); - exit(1); - } - - DO_WritePort(card, P7350_DIO_A, 0); - DO_WritePort(card, P7350_DIO_C, 0); - Sleep(1); - - /* - * Configure Pattern Match - */ - for(vi=8; vi<16; vi++){ - /*Port B: Channel 8~15*/ - PM_ChnType = ((pattern>>(vi-8))&0x1)? PATMATCH_Level_H:PATMATCH_Level_L; - err = DIO_PMConfig(card, vi, PATMATCH_CHNEnable, PM_ChnType); - if(err<0){ - printf("DIO_PMConfig Error: %d\n", err); - Release_Card(card); - exit(1); - } - } - for(vi=24; vi<32; vi++){ - /*Port D: Channel 24~31*/ - PM_ChnType = ((pattern>>(vi-16))&0x1)? PATMATCH_Level_H:PATMATCH_Level_L; - err = DIO_PMConfig(card, vi, PATMATCH_CHNEnable, PM_ChnType); - if(err<0){ - printf("DIO_PMConfig Error: %d\n", err); - Release_Card(card); - exit(1); - } - } - - /* - * Start Pattern Match - */ - err = DIO_PMControl(card, 0, PATMATCH_START, &PM_Event, 0); - if(err<0){ - printf("DIO_PMControl Error: %d\n", err); - Release_Card(card); - exit(1); - } - - /* - * Set PM event out to AFI port - */ - err = DIO_7350_AFIConfig(card, P7350_AFI_0, 1, P7350_AFI_PMTrigOut, PMEventOutLen); - if(err<0){ - printf("DIO_7350_AFIConfig Port_A Error: %d\n", err); - Release_Card(card); - exit(1); - } - - _beginthread(wait_pattern_matched, 0, NULL); - - do{ - /* - * DO output to Port A/C - */ - printf("\n\nOutput Data? "); - scanf(" %x", &vi); - DO_WritePort(card, P7350_DIO_A, vi&0xff); - DI_ReadPort(card, P7350_DIO_B, &DIRead1); - DO_WritePort(card, P7350_DIO_C, (vi>>8)&0xff); - DI_ReadPort(card, P7350_DIO_D, &DIRead2); - printf("Write to Port A: 0x%x, Port C: 0x%x; Read from Port B: 0x%x, Port D: 0x%x;\n", vi&0xff, (vi>>8)&0xff, DIRead1, DIRead2); - printf("Quit? "); - fStop = getch(); - }while((fStop!='q')&&(fStop!='Q')); - - fStopThr = 1; - if(!fThrEnded){ - SetEvent(PM_Event); - ResetEvent(PM_Event); - } - while(!fThrEnded){ - Sleep(1); - } - - /* - * Stop Pattern Match - */ - err = DIO_PMControl(card, 0, PATMATCH_STOP, NULL, 0); - if(err<0){ - printf("DIO_PMControl Error: %d\n", err); - Release_Card(card); - exit(1); - } - - for(vi=8; vi<16; vi++){ - /*Port B: Channel 8~15*/ - err = DIO_PMConfig(card, vi, PATMATCH_CHNDisable, 0); - if(err<0){ - printf("DIO_PMConfig Error: %d\n", err); - Release_Card(card); - exit(1); - } - } - for(vi=24; vi<32; vi++){ - /*Port D: Channel 24~31*/ - err = DIO_PMConfig(card, vi, PATMATCH_CHNDisable, 0); - if(err<0){ - printf("DIO_PMConfig Error: %d\n", err); - Release_Card(card); - exit(1); - } - } - - err = DIO_7350_AFIConfig(card, P7350_AFI_0, 0, 0, 0); - if(err<0){ - printf("DIO_7350_AFIConfig Error: %d\n", err); - } - - printf("\n\nPress any key to exit...\n"); - getch(); - Release_Card(card); - return 0; -} diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7350/C7350_PM_Level/patternmatch.dsp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7350/C7350_PM_Level/patternmatch.dsp deleted file mode 100644 index 09e0a04..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7350/C7350_PM_Level/patternmatch.dsp +++ /dev/null @@ -1,102 +0,0 @@ -# Microsoft Developer Studio Project File - Name="patternmatch" - Package Owner=<4> -# Microsoft Developer Studio Generated Build File, Format Version 6.00 -# ** DO NOT EDIT ** - -# TARGTYPE "Win32 (x86) Console Application" 0x0103 - -CFG=patternmatch - Win32 Debug -!MESSAGE This is not a valid makefile. To build this project using NMAKE, -!MESSAGE use the Export Makefile command and run -!MESSAGE -!MESSAGE NMAKE /f "patternmatch.mak". -!MESSAGE -!MESSAGE You can specify a configuration when running NMAKE -!MESSAGE by defining the macro CFG on the command line. For example: -!MESSAGE -!MESSAGE NMAKE /f "patternmatch.mak" CFG="patternmatch - Win32 Debug" -!MESSAGE -!MESSAGE Possible choices for configuration are: -!MESSAGE -!MESSAGE "patternmatch - Win32 Release" (based on "Win32 (x86) Console Application") -!MESSAGE "patternmatch - Win32 Debug" (based on "Win32 (x86) Console Application") -!MESSAGE - -# Begin Project -# PROP AllowPerConfigDependencies 0 -# PROP Scc_ProjName "" -# PROP Scc_LocalPath "" -CPP=cl.exe -RSC=rc.exe - -!IF "$(CFG)" == "patternmatch - Win32 Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "Release" -# PROP BASE Intermediate_Dir "Release" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "" -# PROP Intermediate_Dir "Release" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c -# ADD CPP /nologo /MT /W3 /GX /O2 /I "../../../include" /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c -# ADD BASE RSC /l 0x404 /d "NDEBUG" -# ADD RSC /l 0x404 /d "NDEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ../../../lib/pci-dask.lib /nologo /subsystem:console /machine:I386 - -!ELSEIF "$(CFG)" == "patternmatch - Win32 Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "Debug" -# PROP BASE Intermediate_Dir "Debug" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "Debug" -# PROP Intermediate_Dir "Debug" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /GZ /c -# ADD CPP /nologo /MTd /W3 /Gm /GX /ZI /Od /I "../../../include" /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /GZ /c -# ADD BASE RSC /l 0x404 /d "_DEBUG" -# ADD RSC /l 0x404 /d "_DEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ../../../lib/pci-dask.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept - -!ENDIF - -# Begin Target - -# Name "patternmatch - Win32 Release" -# Name "patternmatch - Win32 Debug" -# Begin Group "Source Files" - -# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;idl;hpj;bat" -# Begin Source File - -SOURCE=.\patternmatch.c -# End Source File -# End Group -# Begin Group "Header Files" - -# PROP Default_Filter "h;hpp;hxx;hm;inl" -# End Group -# Begin Group "Resource Files" - -# PROP Default_Filter "ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe" -# End Group -# End Target -# End Project diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7350/C7350_PM_Level/patternmatch.dsw b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7350/C7350_PM_Level/patternmatch.dsw deleted file mode 100644 index 7d8b3d3..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7350/C7350_PM_Level/patternmatch.dsw +++ /dev/null @@ -1,29 +0,0 @@ -Microsoft Developer Studio Workspace File, Format Version 6.00 -# WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE! - -############################################################################### - -Project: "patternmatch"=.\patternmatch.dsp - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ -}}} - -############################################################################### - -Global: - -Package=<5> -{{{ -}}} - -Package=<3> -{{{ -}}} - -############################################################################### - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7350/C7350_PM_Level/patternmatch.exe b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7350/C7350_PM_Level/patternmatch.exe deleted file mode 100644 index 2626a32..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7350/C7350_PM_Level/patternmatch.exe and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7350/C7350_SPI/C7350_SPI.c b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7350/C7350_SPI/C7350_SPI.c deleted file mode 100644 index f70d9c7..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7350/C7350_SPI/C7350_SPI.c +++ /dev/null @@ -1,182 +0,0 @@ -/*----------------------------------------------------------------------------*/ -/* Company : ADLINK */ -/* Date : 2008/03/04 */ -/* */ -/* This sample performs SPI operation of 7350. */ -/* It tests SPI EEPROM read/write operations. */ -/* In 7350, AFI0, AFI1, AFI2, and AFI3/4/5(Slave0/1/2) are used for SPI while */ -/* performing SPI operation, so AFI0, AFI1, AFI2, and AFI3/4/5(Slave0/1/2) */ -/* will be set to SPI mode automatically if SPI is enabled. */ -/* */ -/* Note: */ -/* Procedures of SPI are depanding on your SPI device, */ -/* and the sample is developed for ATMEL AT25128A. */ -/*----------------------------------------------------------------------------*/ -#include -#include -#include -#include -#include -#include "dask.h" - -#define SPI_WRTCNT 256 - - -int main(int argc, char **argv) -{ - I16 card, err; - U16 card_num; - U16 SPI_WriteCmdAddrBits = 24; - U16 SPI_WriteDataBits = 8; - U32 SPI_WriteCmdAddr = 0x20000; - U32 SPI_WriteData[SPI_WRTCNT]; - U16 SPI_ReadCmdAddrBits = 24; - U16 SPI_ReadDataBits = 8; - U32 SPI_ReadCmdAddr = 0x30000; - U32 SPI_ReadData = 0; - U32 vi = 0; - - printf("This sample tests SPI Read/Write Operations.\n"); - printf("SPI Procedures are depending on the SPI Device.\n"); - printf("It is developed for ATMEL AT25128A.\n"); - printf("It will write a byte-data to and then read from 0 ~ %d Cmd/Addr.\n", SPI_WRTCNT-1); - printf("Card Number? "); - scanf(" %hd", &card_num); - - /*Open and initialize device*/ - card = Register_Card( - PCI_7350, /*Card type*/ - card_num /*Card number*/ - ); - if(card<0){ - printf("Register_Card Error: %d\n", card); - exit(1); - } - - /*randon write data*/ - srand(time(NULL)); - for(vi=0; vi -# Microsoft Developer Studio Generated Build File, Format Version 6.00 -# ** DO NOT EDIT ** - -# TARGTYPE "Win32 (x86) Console Application" 0x0103 - -CFG=C7350_SPI - Win32 Debug -!MESSAGE This is not a valid makefile. To build this project using NMAKE, -!MESSAGE use the Export Makefile command and run -!MESSAGE -!MESSAGE NMAKE /f "C7350_SPI.mak". -!MESSAGE -!MESSAGE You can specify a configuration when running NMAKE -!MESSAGE by defining the macro CFG on the command line. For example: -!MESSAGE -!MESSAGE NMAKE /f "C7350_SPI.mak" CFG="C7350_SPI - Win32 Debug" -!MESSAGE -!MESSAGE Possible choices for configuration are: -!MESSAGE -!MESSAGE "C7350_SPI - Win32 Release" (based on "Win32 (x86) Console Application") -!MESSAGE "C7350_SPI - Win32 Debug" (based on "Win32 (x86) Console Application") -!MESSAGE - -# Begin Project -# PROP AllowPerConfigDependencies 0 -# PROP Scc_ProjName "" -# PROP Scc_LocalPath "" -CPP=cl.exe -RSC=rc.exe - -!IF "$(CFG)" == "C7350_SPI - Win32 Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "Release" -# PROP BASE Intermediate_Dir "Release" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "" -# PROP Intermediate_Dir "Release" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c -# ADD CPP /nologo /W3 /GX /O2 /I "../../../include" /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c -# ADD BASE RSC /l 0x404 /d "NDEBUG" -# ADD RSC /l 0x404 /d "NDEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ../../../lib/pci-dask.lib /nologo /subsystem:console /machine:I386 - -!ELSEIF "$(CFG)" == "C7350_SPI - Win32 Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "Debug" -# PROP BASE Intermediate_Dir "Debug" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "Debug" -# PROP Intermediate_Dir "Debug" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /GZ /c -# ADD CPP /nologo /W3 /Gm /GX /ZI /Od /I "../../../include" /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /GZ /c -# ADD BASE RSC /l 0x404 /d "_DEBUG" -# ADD RSC /l 0x404 /d "_DEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ../../../lib/pci-dask.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept - -!ENDIF - -# Begin Target - -# Name "C7350_SPI - Win32 Release" -# Name "C7350_SPI - Win32 Debug" -# Begin Group "Source Files" - -# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;idl;hpj;bat" -# Begin Source File - -SOURCE=.\C7350_SPI.c -# End Source File -# End Group -# Begin Group "Header Files" - -# PROP Default_Filter "h;hpp;hxx;hm;inl" -# End Group -# Begin Group "Resource Files" - -# PROP Default_Filter "ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe" -# End Group -# End Target -# End Project diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7350/C7350_SPI/C7350_SPI.dsw b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7350/C7350_SPI/C7350_SPI.dsw deleted file mode 100644 index ad20bd9..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7350/C7350_SPI/C7350_SPI.dsw +++ /dev/null @@ -1,29 +0,0 @@ -Microsoft Developer Studio Workspace File, Format Version 6.00 -# WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE! - -############################################################################### - -Project: "C7350_SPI"=.\C7350_SPI.dsp - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ -}}} - -############################################################################### - -Global: - -Package=<5> -{{{ -}}} - -Package=<3> -{{{ -}}} - -############################################################################### - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7350/C7350_SPI/C7350_SPI.exe b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7350/C7350_SPI/C7350_SPI.exe deleted file mode 100644 index 30064a4..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7350/C7350_SPI/C7350_SPI.exe and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7396/SDK7396/Util7396.c b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7396/SDK7396/Util7396.c deleted file mode 100644 index 032ede6..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7396/SDK7396/Util7396.c +++ /dev/null @@ -1,612 +0,0 @@ -/*;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; -;; Copyright (c) 1995-1999, ADLink Technology Inc. All rights reserved. ;; -;; ;; -;; File Name : UTIL7396.C ;; -;; Purpose : This PCI-DASK sample program demonstrate how to ;; -;; operate DI & DO for PCI-7396 ;; -;; Date : 07/20/1999 ;; -;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;*/ - -#include "windows.h" -#include -#include -#include -#include -#include -#include "Dask.h" -#include "resource.h" - -#define IDM_EXIT 110 -#define TIMER 2 - -int PASCAL WinMain(HANDLE, HANDLE, LPSTR, int); -long PASCAL MainWndProc(HWND, UINT, WPARAM, LPARAM); - -HANDLE hInst; -HWND hAddrComboBox; -I16 card=-1, card_number = 0; - -U32 inputA[4], inputB[4], inputC[4] ; -U32 outputA[4],outputB[4],outputC[4]; -U32 oldinputA[4], oldinputB[4], oldinputC[4]; - -HBRUSH hLTGreenBrush,hGreenBrush,hBlueBrush,hYellowBrush,hRedBrush; - -int port_a[4]; -int port_b[4]; -int port_c[4]; - -POINT input_pos[4][8]; -POINT output_pos[4][8]; -POINT io_pos[4][8]; - -BOOL InitApplication(HANDLE); -BOOL InitInstance(HANDLE, int); - -int PASCAL WinMain(hInstance, hPrevInstance, lpCmdLine, nCmdShow) -HANDLE hInstance, hPrevInstance; -LPSTR lpCmdLine; -int nCmdShow; -{ - MSG msg; - - if (!hPrevInstance) - if (!InitApplication(hInstance)) return(FALSE); - if (!InitInstance(hInstance, nCmdShow)) return(FALSE); - while (GetMessage(&msg, NULL, 0, 0)) { - TranslateMessage(&msg); - DispatchMessage(&msg); - } - return(msg.wParam); -} - -BOOL InitApplication(hInstance) -HANDLE hInstance; -{ - WNDCLASS wc; - - /* Main Window Class */ - wc.style = 0; - wc.lpfnWndProc = (WNDPROC)MainWndProc; - wc.cbClsExtra = 0; - wc.cbWndExtra = 0; - wc.hInstance = hInstance; - wc.hIcon = LoadIcon(hInstance, "MyIcon"); - wc.hCursor = LoadCursor(NULL, IDC_ARROW); - wc.hbrBackground = GetStockObject(LTGRAY_BRUSH); - wc.lpszMenuName = NULL; - wc.lpszClassName = "GenericWClass"; - if (!RegisterClass(&wc)) return(FALSE); -} - -BOOL InitInstance(hInstance, nCmdShow) -HANDLE hInstance; -int nCmdShow; -{ - HWND hWnd; - HMENU hSampleMenu; - - hInst = hInstance; - hSampleMenu = LoadMenu(hInstance, "U7120Menu"); - hWnd = CreateWindow("GenericWClass", - (LPCSTR)"PCI-7396", - WS_OVERLAPPEDWINDOW, - CW_USEDEFAULT, - CW_USEDEFAULT, - 650, - 330, - NULL, - hSampleMenu, - hInstance, - NULL); - if (!hWnd) return(FALSE); - ShowWindow(hWnd, nCmdShow); - UpdateWindow(hWnd); - return(TRUE); -} - -BOOL PASCAL setup(HWND hWnd, unsigned message, WPARAM wParam, LPARAM lParam) -{ - int i; - char n[16]; - char s[50]; - switch (message) { - case WM_INITDIALOG: - for (i=0;i<16;i++) { - wsprintf(n, "%d", i); - _strupr(n); - SendMessage(GetDlgItem(hWnd,IDC_COMBO1), CB_ADDSTRING, NULL, (LONG)(LPSTR) n); - } - SendMessage(GetDlgItem(hWnd,IDC_COMBO1) , CB_SETCURSEL, 0, 0L); - - break; - case WM_COMMAND: - switch(LOWORD(wParam)) { - - case IDC_COMBO1: - if (HIWORD(wParam) == CBN_CLOSEUP) { - i = (int)SendMessage(GetDlgItem(hWnd,IDC_COMBO1), CB_GETCURSEL, 0, 0L); - SendMessage(GetDlgItem(hWnd,IDC_COMBO1), CB_GETLBTEXT, i, (LPARAM)((LPCSTR)n)); - card_number = i; - } - return(TRUE); - case IDOK: - if ((card=Register_Card(PCI_7396, card_number)) < 0) { - wsprintf(s, "Register_Card Error = %d\n", card); - MessageBox(hWnd, s, "Error", MB_OK); - } - EndDialog(hWnd, TRUE); - InvalidateRect(hWnd, NULL, FALSE); - return (TRUE); - case IDCANCEL: - EndDialog(hWnd, TRUE); - return (TRUE); - } - break; - } - return (FALSE); -} - -long PASCAL MainWndProc(hWnd, message, wParam, lParam) -HWND hWnd; -UINT message; -WPARAM wParam; -LPARAM lParam; -{ - - HDC hDC; - PAINTSTRUCT ps; - int i, k, px, py; - - switch(message) { - case WM_CREATE: - DialogBox(hInst,IDD_DIALOG1, hWnd, setup); - if(card<0) { - SendMessage(hWnd, WM_CLOSE, 0, 0L); - break; - } - hLTGreenBrush = CreateSolidBrush(RGB(0, 255, 0)); - hGreenBrush = CreateSolidBrush(RGB(0, 128, 0)); - hBlueBrush = CreateSolidBrush(RGB(0, 0, 255)); - hRedBrush = CreateSolidBrush(RGB(255, 0, 0)); - - input_pos[0][0].x=180; - input_pos[0][0].y=40; - input_pos[0][1].x=160; - input_pos[0][1].y=40; - input_pos[0][2].x=140; - input_pos[0][2].y=40; - input_pos[0][3].x=120; - input_pos[0][3].y=40; - input_pos[0][4].x=100; - input_pos[0][4].y=40; - input_pos[0][5].x=80; - input_pos[0][5].y=40; - input_pos[0][6].x=60; - input_pos[0][6].y=40; - input_pos[0][7].x=40; - input_pos[0][7].y=40; - - output_pos[0][0].x=560; - output_pos[0][0].y=40; - output_pos[0][1].x=540; - output_pos[0][1].y=40; - output_pos[0][2].x=520; - output_pos[0][2].y=40; - output_pos[0][3].x=500; - output_pos[0][3].y=40; - output_pos[0][4].x=480; - output_pos[0][4].y=40; - output_pos[0][5].x=460; - output_pos[0][5].y=40; - output_pos[0][6].x=440; - output_pos[0][6].y=40; - output_pos[0][7].x=420; - output_pos[0][7].y=40; - - io_pos[0][0].x=370; - io_pos[0][0].y=40; - io_pos[0][1].x=350; - io_pos[0][1].y=40; - io_pos[0][2].x=330; - io_pos[0][2].y=40; - io_pos[0][3].x=310; - io_pos[0][3].y=40; - io_pos[0][4].x=290; - io_pos[0][4].y=40; - io_pos[0][5].x=270; - io_pos[0][5].y=40; - io_pos[0][6].x=250; - io_pos[0][6].y=40; - io_pos[0][7].x=230; - io_pos[0][7].y=40; - - for (i=1;i<4;i++) { - for (k=0;k<8;k++) - { - input_pos[i][k].x =input_pos[0][k].x; - input_pos[i][k].y =input_pos[0][k].y+i*50; - output_pos[i][k].x =output_pos[0][k].x; - output_pos[i][k].y =output_pos[0][k].y+i*50; - io_pos[i][k].x =io_pos[0][k].x; - io_pos[i][k].y =io_pos[0][k].y+i*50; - } - } - - for (i=0;i<4;i++) - { - inputA[i]=0; - outputA[i]=0; - oldinputA[i]=0; - - inputB[i]=0; - outputB[i]=0; - oldinputB[i]=0; - - inputC[i]=0; - outputC[i]=0; - oldinputC[i]=0; - - port_a[i]=0; - //DIO_PortConfig(card,5*i+Channel_P1A, INPUT_PORT); - port_b[i]=0; - //DIO_PortConfig(card,5*i+Channel_P1B, INPUT_PORT); - port_c[i]=0; - //DIO_PortConfig(card,5*i+Channel_P1C, INPUT_PORT); - DIO_PortConfig(card,i+Channel_P1, INPUT_PORT); - } - - SetTimer(hWnd, TIMER, 50, NULL); - srand((unsigned)time(NULL)); - break; - case WM_PAINT: - hDC = BeginPaint(hWnd, &ps); - - // Label - SetTextColor(hDC,RGB(255,255,255)); - SetBkColor(hDC, RGB(0, 0, 255)); - TextOut(hDC, 5, 40, "CN1", 3); - SetTextColor(hDC,RGB(255,255,255)); - SetBkColor(hDC, RGB(0, 0, 255)); - TextOut(hDC, 5, 80, "CN2", 3); - SetBkColor(hDC, RGB(0, 0, 255)); - TextOut(hDC, 5, 130, "CN3", 3); - SetBkColor(hDC, RGB(0, 0, 255)); - TextOut(hDC, 5, 180, "CN4", 3); - // Digital Input Box - for (i=0;i<4;i++ ) - { - if ( port_a[i]==0 ) - SelectObject(hDC, hLTGreenBrush); - else - SelectObject(hDC, hGreenBrush); - Rectangle(hDC, input_pos[i][7].x-5, input_pos[i][7].y-12, input_pos[i][0].x+26, input_pos[i][0].y+30); - SetTextColor(hDC,RGB(0,0,0)); - SelectObject(hDC, hLTGreenBrush); - Rectangle(hDC, input_pos[i][0].x+25, input_pos[i][0].y-12, input_pos[i][0].x+41, input_pos[i][0].y+9); - SetBkColor(hDC, RGB(0, 255, 0)); - TextOut(hDC, input_pos[i][0].x+30, input_pos[i][7].y-11, "I", 1); - SelectObject(hDC, hGreenBrush); - Rectangle(hDC, input_pos[i][0].x+25, input_pos[i][0].y+9, input_pos[i][0].x+41, input_pos[i][0].y+30); - SetBkColor(hDC, RGB(0, 128, 0)); - TextOut(hDC, input_pos[i][0].x+27, input_pos[i][7].y+9, "O", 1); - } - - for (i=0;i<4;i++ ) - { - if ( port_b[i]==0 ) - SelectObject(hDC, hLTGreenBrush); - else - SelectObject(hDC, hGreenBrush); - Rectangle(hDC, io_pos[i][7].x-5, io_pos[i][7].y-12, io_pos[i][0].x+26, io_pos[i][0].y+30); - SelectObject(hDC, hGreenBrush); - SetTextColor(hDC,RGB(0,0,0)); - Rectangle(hDC, io_pos[i][0].x+25, io_pos[i][0].y+9, io_pos[i][0].x+41, io_pos[i][0].y+30); - SetBkColor(hDC, RGB(0, 128, 0)); - TextOut(hDC, io_pos[i][0].x+27, io_pos[i][7].y+9, "O", 1); - SelectObject(hDC, hLTGreenBrush); - Rectangle(hDC, io_pos[i][0].x+25, io_pos[i][0].y-12, io_pos[i][0].x+41, io_pos[i][0].y+9); - SetBkColor(hDC, RGB(0, 255, 0)); - TextOut(hDC, io_pos[i][0].x+30, io_pos[i][7].y-11, "I", 1); - } - for (i=0;i<4;i++ ) - { - if ( port_c[i]==0 ) - SelectObject(hDC, hLTGreenBrush); - else - SelectObject(hDC, hGreenBrush); - Rectangle(hDC, output_pos[i][7].x-5, output_pos[i][7].y-12, output_pos[i][0].x+26, output_pos[i][0].y+30); - SelectObject(hDC, hLTGreenBrush); - Rectangle(hDC, output_pos[i][0].x+25, output_pos[i][7].y-12, output_pos[i][0].x+41, output_pos[i][0].y+9); - SetBkColor(hDC, RGB(0, 255, 0)); - SetTextColor(hDC,RGB(0,0,0)); - TextOut(hDC, output_pos[i][0].x+30, output_pos[i][7].y-11, "I", 1); - SelectObject(hDC, hGreenBrush); - Rectangle(hDC, output_pos[i][0].x+25, output_pos[i][0].y+9, output_pos[i][0].x+41, output_pos[i][0].y+30); - SetBkColor(hDC, RGB(0, 128, 0)); - TextOut(hDC, output_pos[i][0].x+28, output_pos[i][7].y+9, "O", 1); - } - SetTextColor(hDC,RGB(255,255,255)); - SetBkColor(hDC, RGB(0, 0, 255)); - TextOut(hDC, input_pos[0][7].x, input_pos[0][7].y-20, "Port A", 6); - TextOut(hDC, output_pos[0][7].x, output_pos[0][7].y-20, "Port C", 6); - TextOut(hDC, io_pos[0][7].x, io_pos[0][7].y-20, "Port B", 6); - // Channel Label - SetBkMode(hDC,TRANSPARENT); - SetTextColor(hDC,RGB(0,0,0)); - TextOut(hDC, input_pos[0][7].x, input_pos[0][7].y+16, " 7 0", 36); - TextOut(hDC, io_pos[0][7].x, io_pos[0][7].y+16, " 7 0", 36); - TextOut(hDC, output_pos[0][7].x,output_pos[0][7].y+16," 7 0", 36); - - SetBkMode(hDC,OPAQUE); - - // Detect Channel Input - for (k=0;k<4;k++ ) - { - if ( port_a[k]==0 ) - { - for (i=0; i<8; i++) { - if ((inputA[k]>>i)&0x01) - SelectObject(hDC, hRedBrush); - else - SelectObject(hDC, GetStockObject(WHITE_BRUSH)); - Ellipse(hDC, input_pos[k][i].x, input_pos[k][i].y, input_pos[k][i].x+17, input_pos[k][i].y+17); - } - } - else - { - // Detect Channel Output - for (i=0; i<8; i++) { - if ((outputA[k]>>i)&0x01) - SelectObject(hDC, hRedBrush); - else - SelectObject(hDC, GetStockObject(WHITE_BRUSH)); - Ellipse(hDC, input_pos[k][i].x, input_pos[k][i].y, input_pos[k][i].x+17, input_pos[k][i].y+17); - } - } - - if ( port_b[k]==0 ) - { - for (i=0; i<8; i++) { - if ((inputB[k]>>i)&0x01) - SelectObject(hDC, hRedBrush); - else - SelectObject(hDC, GetStockObject(WHITE_BRUSH)); - Ellipse(hDC, io_pos[k][i].x, io_pos[k][i].y, io_pos[k][i].x+17, io_pos[k][i].y+17); - } - } - else - { - for (i=0; i<8; i++) { - if ((outputB[k]>>i)&0x01) - SelectObject(hDC, hRedBrush); - else - SelectObject(hDC, GetStockObject(WHITE_BRUSH)); - Ellipse(hDC, io_pos[k][i].x, io_pos[k][i].y, io_pos[k][i].x+17, io_pos[k][i].y+17); - } - } - if ( port_c[k]==0) - { - for (i=0; i<8; i++) { - if ((inputC[k]>>i)&0x01) - SelectObject(hDC, hRedBrush); - else - SelectObject(hDC, GetStockObject(WHITE_BRUSH)); - Ellipse(hDC, output_pos[k][i].x, output_pos[k][i].y, output_pos[k][i].x+17, output_pos[k][i].y+17); - } - } - else - { - for (i=0; i<8; i++) { - if ((outputC[k]>>i)&0x01) - SelectObject(hDC, hRedBrush); - else - SelectObject(hDC, GetStockObject(WHITE_BRUSH)); - Ellipse(hDC, output_pos[k][i].x, output_pos[k][i].y, output_pos[k][i].x+17, output_pos[k][i].y+17); - } - } - } //k - - EndPaint(hWnd, &ps); - break; - case WM_COMMAND: - switch(LOWORD(wParam)) { - case IDM_EXIT: - SendMessage(hWnd, WM_CLOSE, 0, 0L); - break; - - default: - return(DefWindowProc(hWnd, message, wParam, lParam)); - } - break; - case WM_TIMER: - - /* Digital Input */ - hDC=GetDC(hWnd); - for(k=0;k<4;k++) - { - if ( port_a[k]==0) { - DI_ReadPort(card,5*k+Channel_P1A,&inputA[k]); - for (i=0; i<8; i++) { - if (((inputA[k]>>i)&0x01) != ((oldinputA[k]>>i)&0x01) ) - { - if ((inputA[k]>>i)&0x01) - SelectObject(hDC, hRedBrush); - else - SelectObject(hDC, GetStockObject(WHITE_BRUSH)); - Ellipse(hDC, input_pos[k][i].x, input_pos[k][i].y, input_pos[k][i].x+17, input_pos[k][i].y+17); - } - } - oldinputA[k]=inputA[k]; - } - else { - DO_WritePort(card,5*k+Channel_P1A, outputA[k]); - } - - if ( port_b[k]==0){ - DI_ReadPort(card,5*k+Channel_P1B,&inputB[k]); - for (i=0; i<8; i++) { - if( ((inputB[k]>>i)&0x01) != ((oldinputB[k]>>i)&0x01) ) - { - if ((inputB[k]>>i)&0x01) - SelectObject(hDC, hRedBrush); - else - SelectObject(hDC, GetStockObject(WHITE_BRUSH)); - Ellipse(hDC, io_pos[k][i].x, io_pos[k][i].y, io_pos[k][i].x+17, io_pos[k][i].y+17); - } - } - oldinputB[k]=inputB[k]; - } - else { - DO_WritePort(card,5*k+Channel_P1B,outputB[k]); - } - - if ( port_c[k]==0){ - DI_ReadPort(card,5*k+Channel_P1C,&inputC[k]); - for (i=0; i<8; i++) { - if( ((inputC[k]>>i)&0x01) != ((oldinputC[k]>>i)&0x01) ) - { - if ((inputC[k]>>i)&0x01) - SelectObject(hDC, hRedBrush); - else - SelectObject(hDC, GetStockObject(WHITE_BRUSH)); - Ellipse(hDC, output_pos[k][i].x, output_pos[k][i].y, output_pos[k][i].x+17, output_pos[k][i].y+17); - } - } //for - oldinputC[k]=inputC[k]; - } //if - else { - DO_WritePort(card,5*k+Channel_P1C, outputC[k]); - } - } //k - ReleaseDC(hWnd, hDC); - //} - break; - case WM_DESTROY: - if (card >= 0) Release_Card(card); - DeleteObject(hRedBrush); - DeleteObject(hGreenBrush); - DeleteObject(hLTGreenBrush); - KillTimer(hWnd, TIMER); - PostQuitMessage(0); - break; - case WM_LBUTTONDOWN: - px = LOWORD(lParam); - py = HIWORD(lParam); - - for (k=0;k<4;k++ ) - { - if (px>(input_pos[k][0].x+25) && px<(input_pos[k][0].x+41)) - { - if (py>(input_pos[k][0].y-12) && py<(input_pos[k][0].y+7)) - { - port_a[k]=0; - DIO_PortConfig(card,5*k+Channel_P1A, INPUT_PORT); - InvalidateRect(hWnd, NULL, FALSE); - } - else - if (py>(input_pos[k][0].y+7) && py<(input_pos[k][0].y+26)) - { - port_a[k]=1; - DIO_PortConfig(card,5*k+Channel_P1A, OUTPUT_PORT); - InvalidateRect(hWnd, NULL, FALSE); - } - } - if (px>(io_pos[k][0].x+25) && px<(io_pos[k][0].x+41)) - { - if (py>(io_pos[k][0].y-12) && py<(io_pos[k][0].y+7)) - { - port_b[k]=0; - DIO_PortConfig(card,5*k+Channel_P1B, INPUT_PORT); - InvalidateRect(hWnd, NULL, FALSE); - } - else - if (py>(io_pos[k][0].y+7) && py<(io_pos[k][0].y+26)) - { - port_b[k]=1; - DIO_PortConfig(card,5*k+Channel_P1B, OUTPUT_PORT); - InvalidateRect(hWnd, NULL, FALSE); - } - } - if (px>(output_pos[k][0].x+25) && px<(output_pos[k][0].x+41)) - { - if (py>(output_pos[k][0].y-12) && py<(output_pos[k][0].y+7)) - { - port_c[k]=0; - DIO_PortConfig(card,5*k+Channel_P1C, INPUT_PORT); - InvalidateRect(hWnd, NULL, FALSE); - } - else - if (py>(output_pos[k][0].y+7) && py<(output_pos[k][0].y+26)) - { - port_c[k]=1; - DIO_PortConfig(card,5*k+Channel_P1C, OUTPUT_PORT); - InvalidateRect(hWnd, NULL, FALSE); - } - } - }//k - hDC = GetDC(hWnd); - for (k=0;k<4;k++) - { - if ( port_a[k]==1 ){ - for (i=0; i<8; i++) { - if (px>input_pos[k][i].x && pxinput_pos[k][i].y && py>i)&0x01) { - outputA[k] -= (((unsigned char)1)<io_pos[k][i].x && pxio_pos[k][i].y && py>i)&0x01) { - outputB[k] -= (((unsigned char)1)<output_pos[k][i].x && pxoutput_pos[k][i].y && py>i)&0x01) { - outputC[k] -= (((unsigned char)1)< -#include -#include -#include -#include -#include "Dask.h" -#include "Resource.h" - -#define IDC_START 300 -#define IDC_OUTPUT 302 - -HANDLE hInst; /* current instance */ -int int_count=0; -I16 card=-1, card_number = 0; - -HWND hStart, hMainWnd; -HANDLE hEvent[2]; - -int PASCAL WinMain(HANDLE, HANDLE, LPSTR, int); -BOOL InitApplication(HANDLE); -BOOL InitInstance(HANDLE, int); -long PASCAL MainWndProc(HWND, unsigned, WPARAM, LPARAM); - -void -IntThread(void* pArg) -{ - while (1) { - if (WaitForSingleObject(hEvent[0], INFINITE) == WAIT_OBJECT_0) { - int_count++; - ResetEvent(hEvent[0]); - InvalidateRect(hMainWnd, NULL, FALSE); - } - } - _endthread(); -} - - /********************************************************************** - - FUNCTION: WinMain(HANDLE, HANDLE, LPSTR, int) - PURPOSE: calls initialization function, processes message loop - - ***********************************************************************/ - - int PASCAL WinMain(hInstance, hPrevInstance, lpCmdLine, nCmdShow) - HANDLE hInstance; - HANDLE hPrevInstance; - LPSTR lpCmdLine; - int nCmdShow; - { - MSG msg; - - if(!hPrevInstance) - if(!InitApplication(hInstance)) - return(FALSE); - - if(!InitInstance(hInstance, nCmdShow)) - return(FALSE); - - while ( GetMessage(&msg, NULL, NULL, NULL)) - { - TranslateMessage(&msg); - DispatchMessage(&msg); - } - return(msg.wParam); - } - -/**************************************************************************** - - FUNCTION: InitApplication(HANDLE) - - PURPOSE: Initializes window data and registers window class - -****************************************************************************/ - -BOOL InitApplication(hInstance) -HANDLE hInstance; -{ - WNDCLASS wc; - - wc.style = NULL; - wc.lpfnWndProc = MainWndProc; - wc.cbClsExtra = 0; - wc.cbWndExtra = 0; - wc.hInstance = hInstance; - wc.hIcon = LoadIcon(NULL, IDI_APPLICATION); - wc.hCursor = LoadCursor(hInstance, IDC_ARROW); - wc.hbrBackground = GetStockObject(WHITE_BRUSH); - wc.lpszMenuName = "U7396Menu"; - wc.lpszClassName = "IntClass"; - - return (RegisterClass(&wc)); -} - -/**************************************************************************** - - FUNCTION: InitInstance(HANDLE, int) - - PURPOSE: Saves instance handle and creates main window - -****************************************************************************/ - -BOOL InitInstance(hInstance, nCmdShow) -HANDLE hInstance; -int nCmdShow; -{ - HWND hWnd; - - hInst = hInstance; - hWnd = CreateWindow("IntClass", "PCI-7396 Interrupt Sample (INT1)", WS_OVERLAPPEDWINDOW, - 200, 100, 360, 300, NULL, NULL, hInstance, NULL); - if (!hWnd) return (FALSE); - ShowWindow(hWnd, nCmdShow); - UpdateWindow(hWnd); - return (TRUE); -} - -BOOL PASCAL setup(HWND hWnd, unsigned message, WPARAM wParam, LPARAM lParam) -{ - int i; - char n[16]; - char s[50]; - switch (message) { - case WM_INITDIALOG: - for (i=0;i<16;i++) { - wsprintf(n, "%d", i); - _strupr(n); - SendMessage(GetDlgItem(hWnd,IDC_COMBO1), CB_ADDSTRING, NULL, (LONG)(LPSTR) n); - } - SendMessage(GetDlgItem(hWnd,IDC_COMBO1) , CB_SETCURSEL, 0, 0L); - - break; - case WM_COMMAND: - switch(LOWORD(wParam)) { - - case IDC_COMBO1: - if (HIWORD(wParam) == CBN_CLOSEUP) { - i = (int)SendMessage(GetDlgItem(hWnd,IDC_COMBO1), CB_GETCURSEL, 0, 0L); - SendMessage(GetDlgItem(hWnd,IDC_COMBO1), CB_GETLBTEXT, i, (LPARAM)((LPCSTR)n)); - card_number = i; - } - return(TRUE); - case IDOK: - if ((card=Register_Card(PCI_7396, card_number)) < 0) { - wsprintf(s, "Register_Card Error = %d\n", card); - MessageBox(hWnd, s, "Error", MB_OK); - } - EndDialog(hWnd, TRUE); - InvalidateRect(hWnd, NULL, FALSE); - return (TRUE); - case IDCANCEL: - EndDialog(hWnd, TRUE); - return (TRUE); - } - break; - } - return (FALSE); -} -/**************************************************************************** - - FUNCTION: MainWndProc(HWND, UINT, WPARAM, LPARAM) - - PURPOSE: Processes messages - - -****************************************************************************/ - -long PASCAL MainWndProc(hWnd, message, wParam, lParam) -HWND hWnd; -unsigned message; -WPARAM wParam; -LPARAM lParam; -{ - PAINTSTRUCT ps; - HDC hDC; - char buf[20]; - - switch(message) { - case WM_CREATE: - DialogBox(hInst,IDD_DIALOG2, hWnd, setup); - if(card<0) { - SendMessage(hWnd, WM_CLOSE, 0, 0L); - break; - } - CreateWindow("BUTTON", "Output", WS_CHILD | WS_VISIBLE, - 130, 200, 72, 24, hWnd, IDC_OUTPUT, hInst, NULL); - DIO_PortConfig(card,Channel_P1, INPUT_PORT); - DIO_PortConfig(card,Channel_P2, OUTPUT_PORT); - DIO_SetCOSInterrupt(card, Channel_P1, 1, 1, 1); - DIO_SetCOSInterrupt(card, Channel_P2, 0, 0, 0); - DIO_SetCOSInterrupt(card, Channel_P3, 0, 0, 0); - DIO_SetCOSInterrupt(card, Channel_P4, 0, 0, 0); - DIO_SetDualInterrupt(card, INT1_COS, INT2_DISABLE, hEvent); - - hMainWnd = hWnd; - _beginthread(IntThread, 0, 0); - break; - case WM_PAINT: - hDC = BeginPaint(hWnd, &ps); - TextOut(hDC, 20, 30, "This program shows the number of occurrence", 43); - TextOut(hDC, 20, 45, "of COS INT1 interupt. COS INT1 interrupt is", 43); - TextOut(hDC, 20, 60, "generated by external signal from DI Port 1.", 44); - TextOut(hDC, 20, 75, "If you connect P1 to P2, press 'Output' button", 46); - TextOut(hDC, 20, 90, "can generate an interrupt.", 26); - wsprintf(buf,"INT count = %d", int_count); - TextOut(hDC, 120, 140, buf, strlen(buf)); - EndPaint(hWnd, &ps); - break; - case WM_COMMAND: - switch(LOWORD(wParam)) { - case IDM_EXIT: - DIO_SetDualInterrupt(card, INT1_DISABLE, INT2_DISABLE, hEvent); - SendMessage(hWnd, WM_CLOSE, 0, 0L); - break; - case IDC_OUTPUT: - DO_WritePort(card,Channel_P2, 0x1); - Sleep(1); - DO_WritePort(card,Channel_P2, 0x0); - break; - } - break; - case WM_DESTROY: - if (card >= 0) Release_Card(card); - PostQuitMessage(0); - break; - default: - return (DefWindowProc(hWnd, message, wParam, lParam)); - } - return(0L); -} - \ No newline at end of file diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7396/SDK7396COSi/7396INT.MAK b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7396/SDK7396COSi/7396INT.MAK deleted file mode 100644 index 417e0b1..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7396/SDK7396COSi/7396INT.MAK +++ /dev/null @@ -1,219 +0,0 @@ -# Microsoft Developer Studio Generated NMAKE File, Format Version 4.00 -# ** DO NOT EDIT ** - -# TARGTYPE "Win32 (x86) Application" 0x0101 - -!IF "$(CFG)" == "" -CFG=7396int - Win32 Debug -!MESSAGE No configuration specified. Defaulting to 7396int - Win32 Debug. -!ENDIF - -!IF "$(CFG)" != "7396int - Win32 Release" && "$(CFG)" !=\ - "7396int - Win32 Debug" -!MESSAGE Invalid configuration "$(CFG)" specified. -!MESSAGE You can specify a configuration when running NMAKE on this makefile -!MESSAGE by defining the macro CFG on the command line. For example: -!MESSAGE -!MESSAGE NMAKE /f "7396int.mak" CFG="7396int - Win32 Debug" -!MESSAGE -!MESSAGE Possible choices for configuration are: -!MESSAGE -!MESSAGE "7396int - Win32 Release" (based on "Win32 (x86) Application") -!MESSAGE "7396int - Win32 Debug" (based on "Win32 (x86) Application") -!MESSAGE -!ERROR An invalid configuration is specified. -!ENDIF - -!IF "$(OS)" == "Windows_NT" -NULL= -!ELSE -NULL=nul -!ENDIF -################################################################################ -# Begin Project -# PROP Target_Last_Scanned "7396int - Win32 Debug" -CPP=cl.exe -RSC=rc.exe -MTL=mktyplib.exe - -!IF "$(CFG)" == "7396int - Win32 Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "Release" -# PROP BASE Intermediate_Dir "Release" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "" -# PROP Intermediate_Dir "Release" -# PROP Target_Dir "" -OUTDIR=. -INTDIR=.\Release - -ALL : "$(OUTDIR)\7396int.exe" - -CLEAN : - -@erase ".\7396int.exe" - -@erase ".\Release\7396int.obj" - -@erase ".\Release\7396int.res" - -"$(INTDIR)" : - if not exist "$(INTDIR)/$(NULL)" mkdir "$(INTDIR)" - -# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /YX /c -# ADD CPP /nologo /MT /W3 /GX /Od /I "..\..\..\include" /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /c -# SUBTRACT CPP /YX -CPP_PROJ=/nologo /MT /W3 /GX /Od /I "..\..\..\include" /D "WIN32" /D "NDEBUG"\ - /D "_WINDOWS" /Fo"$(INTDIR)/" /c -CPP_OBJS=.\Release/ -CPP_SBRS= -# ADD BASE MTL /nologo /D "NDEBUG" /win32 -# ADD MTL /nologo /D "NDEBUG" /win32 -MTL_PROJ=/nologo /D "NDEBUG" /win32 -# ADD BASE RSC /l 0x404 /d "NDEBUG" -# ADD RSC /l 0x404 /d "NDEBUG" -RSC_PROJ=/l 0x404 /fo"$(INTDIR)/7396int.res" /d "NDEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -BSC32_FLAGS=/nologo /o"$(OUTDIR)/7396int.bsc" -BSC32_SBRS= -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:windows /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ..\..\..\lib\PCI-DASK.lib /nologo /subsystem:windows /machine:I386 -LINK32_FLAGS=kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib\ - advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib\ - odbccp32.lib ..\..\..\lib\PCI-DASK.lib /nologo /subsystem:windows\ - /incremental:no /pdb:"$(OUTDIR)/7396int.pdb" /machine:I386\ - /out:"$(OUTDIR)/7396int.exe" -LINK32_OBJS= \ - "$(INTDIR)/7396int.obj" \ - "$(INTDIR)/7396int.res" - -"$(OUTDIR)\7396int.exe" : "$(OUTDIR)" $(DEF_FILE) $(LINK32_OBJS) - $(LINK32) @<< - $(LINK32_FLAGS) $(LINK32_OBJS) -<< - -!ELSEIF "$(CFG)" == "7396int - Win32 Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "Debug" -# PROP BASE Intermediate_Dir "Debug" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "" -# PROP Intermediate_Dir "Debug" -# PROP Target_Dir "" -OUTDIR=. -INTDIR=.\Debug - -ALL : "$(OUTDIR)\7396int.exe" - -CLEAN : - -@erase ".\Debug\vc40.pdb" - -@erase ".\Debug\vc40.idb" - -@erase ".\7396int.exe" - -@erase ".\Debug\7396int.obj" - -@erase ".\Debug\7396int.res" - -@erase ".\7396int.ilk" - -@erase ".\7396int.pdb" - -"$(INTDIR)" : - if not exist "$(INTDIR)/$(NULL)" mkdir "$(INTDIR)" - -# ADD BASE CPP /nologo /W3 /Gm /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /YX /c -# ADD CPP /nologo /MTd /W3 /Gm /GX /Zi /Od /I "..\..\..\include" /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /c -# SUBTRACT CPP /YX -CPP_PROJ=/nologo /MTd /W3 /Gm /GX /Zi /Od /I "..\..\..\include" /D "WIN32" /D\ - "_DEBUG" /D "_WINDOWS" /Fo"$(INTDIR)/" /Fd"$(INTDIR)/" /c -CPP_OBJS=.\Debug/ -CPP_SBRS= -# ADD BASE MTL /nologo /D "_DEBUG" /win32 -# ADD MTL /nologo /D "_DEBUG" /win32 -MTL_PROJ=/nologo /D "_DEBUG" /win32 -# ADD BASE RSC /l 0x404 /d "_DEBUG" -# ADD RSC /l 0x404 /d "_DEBUG" -RSC_PROJ=/l 0x404 /fo"$(INTDIR)/7396int.res" /d "_DEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -BSC32_FLAGS=/nologo /o"$(OUTDIR)/7396int.bsc" -BSC32_SBRS= -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:windows /debug /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ..\..\..\lib\PCI-DASK.lib /nologo /subsystem:windows /debug /machine:I386 -LINK32_FLAGS=kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib\ - advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib\ - odbccp32.lib ..\..\..\lib\PCI-DASK.lib /nologo /subsystem:windows\ - /incremental:yes /pdb:"$(OUTDIR)/7396int.pdb" /debug /machine:I386\ - /out:"$(OUTDIR)/7396int.exe" -LINK32_OBJS= \ - "$(INTDIR)/7396int.obj" \ - "$(INTDIR)/7396int.res" - -"$(OUTDIR)\7396int.exe" : "$(OUTDIR)" $(DEF_FILE) $(LINK32_OBJS) - $(LINK32) @<< - $(LINK32_FLAGS) $(LINK32_OBJS) -<< - -!ENDIF - -.c{$(CPP_OBJS)}.obj: - $(CPP) $(CPP_PROJ) $< - -.cpp{$(CPP_OBJS)}.obj: - $(CPP) $(CPP_PROJ) $< - -.cxx{$(CPP_OBJS)}.obj: - $(CPP) $(CPP_PROJ) $< - -.c{$(CPP_SBRS)}.sbr: - $(CPP) $(CPP_PROJ) $< - -.cpp{$(CPP_SBRS)}.sbr: - $(CPP) $(CPP_PROJ) $< - -.cxx{$(CPP_SBRS)}.sbr: - $(CPP) $(CPP_PROJ) $< - -################################################################################ -# Begin Target - -# Name "7396int - Win32 Release" -# Name "7396int - Win32 Debug" - -!IF "$(CFG)" == "7396int - Win32 Release" - -!ELSEIF "$(CFG)" == "7396int - Win32 Debug" - -!ENDIF - -################################################################################ -# Begin Source File - -SOURCE=.\7396int.c -DEP_CPP_7396I=\ - ".\..\..\..\include\Dask.h"\ - - -"$(INTDIR)\7396int.obj" : $(SOURCE) $(DEP_CPP_7396I) "$(INTDIR)" - - -# End Source File -################################################################################ -# Begin Source File - -SOURCE=.\7396int.rc - -"$(INTDIR)\7396int.res" : $(SOURCE) "$(INTDIR)" - $(RSC) $(RSC_PROJ) $(SOURCE) - - -# End Source File -# End Target -# End Project -################################################################################ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7396/SDK7396COSi/7396int.exe b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7396/SDK7396COSi/7396int.exe deleted file mode 100644 index f5cf400..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7396/SDK7396COSi/7396int.exe and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7396/SDK7396COSi/7396int.mdp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7396/SDK7396COSi/7396int.mdp deleted file mode 100644 index 2e43943..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7396/SDK7396COSi/7396int.mdp and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7396/SDK7396COSi/7396int.rc b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7396/SDK7396COSi/7396int.rc deleted file mode 100644 index d8a0000..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7396/SDK7396COSi/7396int.rc +++ /dev/null @@ -1,115 +0,0 @@ -//Microsoft Developer Studio generated resource script. -// -#include "resource.h" - -#define APSTUDIO_READONLY_SYMBOLS -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 2 resource. -// -#define APSTUDIO_HIDDEN_SYMBOLS -#include "windows.h" -#undef APSTUDIO_HIDDEN_SYMBOLS - -///////////////////////////////////////////////////////////////////////////// -#undef APSTUDIO_READONLY_SYMBOLS - -///////////////////////////////////////////////////////////////////////////// -// English (U.S.) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -#ifdef _WIN32 -LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US -#pragma code_page(1252) -#endif //_WIN32 - -#ifdef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// TEXTINCLUDE -// - -1 TEXTINCLUDE DISCARDABLE -BEGIN - "resource.h\0" -END - -2 TEXTINCLUDE DISCARDABLE -BEGIN - "#define APSTUDIO_HIDDEN_SYMBOLS\r\n" - "#include ""windows.h""\r\n" - "#undef APSTUDIO_HIDDEN_SYMBOLS\r\n" - "\0" -END - -3 TEXTINCLUDE DISCARDABLE -BEGIN - "\r\n" - "\0" -END - -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// Menu -// - -U7396MENU MENU DISCARDABLE -BEGIN - MENUITEM "E&xit!", IDM_EXIT -END - - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog -// - -IDD_DIALOG2 DIALOG DISCARDABLE 110, 10, 106, 61 -STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "Card Number" -FONT 10, "System" -BEGIN - DEFPUSHBUTTON "OK",IDOK,10,40,37,14 - PUSHBUTTON "Cancel",IDCANCEL,61,40,38,14 - LTEXT "Card Number",IDC_STATIC,3,13,47,13 - COMBOBOX IDC_COMBO1,51,13,48,84,CBS_DROPDOWN | WS_VSCROLL | - WS_TABSTOP -END - - -///////////////////////////////////////////////////////////////////////////// -// -// DESIGNINFO -// - -#ifdef APSTUDIO_INVOKED -GUIDELINES DESIGNINFO DISCARDABLE -BEGIN - IDD_DIALOG2, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 99 - TOPMARGIN, 7 - BOTTOMMARGIN, 54 - END -END -#endif // APSTUDIO_INVOKED - -#endif // English (U.S.) resources -///////////////////////////////////////////////////////////////////////////// - - - -#ifndef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 3 resource. -// - - -///////////////////////////////////////////////////////////////////////////// -#endif // not APSTUDIO_INVOKED - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7396/SDK7396COSi/Resource.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7396/SDK7396COSi/Resource.h deleted file mode 100644 index 3f006c7..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7396/SDK7396COSi/Resource.h +++ /dev/null @@ -1,30 +0,0 @@ -//{{NO_DEPENDENCIES}} -// Microsoft Developer Studio generated include file. -// Used by 7396int.rc -// -#define IDM_SETUP 101 -#define IDD_DIALOG1 101 -#define IDD_DIALOG2 102 -#define IDM_EXIT 110 -#define IDM_GO 300 -#define IDM_ABOUT 301 -#define DMA_DATA 302 -#define ID_STOP 304 -#define IDM_CLEAR 305 -#define DMA_SPACE 500 -#define IDC_COMBO1 1004 -#define IDC_COMBO2 1005 -#define IDC_EDIT1 1007 -#define IDC_EDIT2 1008 -#define IDC_STATIC -1 - -// Next default values for new objects -// -#ifdef APSTUDIO_INVOKED -#ifndef APSTUDIO_READONLY_SYMBOLS -#define _APS_NEXT_RESOURCE_VALUE 103 -#define _APS_NEXT_COMMAND_VALUE 102 -#define _APS_NEXT_CONTROL_VALUE 1008 -#define _APS_NEXT_SYMED_VALUE 101 -#endif -#endif diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7396/SDK7396DbEvt/7396INT.C b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7396/SDK7396DbEvt/7396INT.C deleted file mode 100644 index 3037754..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7396/SDK7396DbEvt/7396INT.C +++ /dev/null @@ -1,356 +0,0 @@ -/*;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; -;; Copyright (c) 1995-1999, ADLink Technology Inc. All rights reserved. ;; -;; ;; -;; File Name : 7396int.C ;; -;; Purpose : This sample program demonstrates DIO through ;; -;; interrupt operation ;; -;; Date : 07/20/1999 ;; -;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;*/ - - #include - #include - #include - #include - #include "Dask.h" - #include "resource.h" - - #define IDM_SETUP 101 - #define IDD_DIALOG1 101 - #define IDM_EXIT 110 - #define IDM_GO 300 - #define IDM_CLEAR 305 - #define IDC_COMBO1 1004 - #define IDC_EDIT1 1007 - #define IDC_EDIT2 1008 - - - HANDLE hInst; /* current instance */ - HANDLE hIntEvent[2]; - HWND hMainWnd; - - I16 card=-1, card_number = 0; - long hThread = -1; - - int total_count =40, int_count; - int sample_rate=20000; - unsigned int buffer[32768], in_buffer[32768]; - char Buf[80]; - int c1=10,c2=10; - - int PASCAL WinMain(HANDLE, HANDLE, LPSTR, int); - BOOL InitApplication(HANDLE); - BOOL InitInstance(HANDLE, int); - long PASCAL MainWndProc(HWND, unsigned, WPARAM, LPARAM); - BOOL PASCAL About(HWND, unsigned, WPARAM, LPARAM); - BOOL PASCAL ShowDMA(HWND, unsigned, WPARAM, LPARAM); - - void - IntThread(void* pArg) - { - while (1) { - if (WaitForSingleObject(hIntEvent[0], INFINITE) == WAIT_OBJECT_0) { - int_count++; - ResetEvent(hIntEvent[0]); - InvalidateRect(hMainWnd, NULL, FALSE); - } - } - _endthread(); - } - - /********************************************************************** - - FUNCTION: WinMain(HANDLE, HANDLE, LPSTR, int) - PURPOSE: calls initialization function, processes message loop - - ***********************************************************************/ - - int PASCAL WinMain(hInstance, hPrevInstance, lpCmdLine, nCmdShow) - - HANDLE hInstance; - HANDLE hPrevInstance; - LPSTR lpCmdLine; - int nCmdShow; - - { - MSG msg; - - if(!hPrevInstance) - if(!InitApplication(hInstance)) - return(FALSE); - - if(!InitInstance(hInstance, nCmdShow)) - return(FALSE); - - while ( GetMessage(&msg, NULL, NULL, NULL)) - { - TranslateMessage(&msg); - DispatchMessage(&msg); - } - return(msg.wParam); - } - -/**************************************************************************** - - FUNCTION: InitApplication(HANDLE) - - PURPOSE: Initializes window data and registers window class - -****************************************************************************/ - -BOOL InitApplication(hInstance) -HANDLE hInstance; -{ - WNDCLASS wc; - - wc.style = NULL; - wc.lpfnWndProc = MainWndProc; - wc.cbClsExtra = 0; - wc.cbWndExtra = 0; - wc.hInstance = hInstance; - wc.hIcon = LoadIcon(NULL, IDI_APPLICATION); - wc.hCursor = LoadCursor(hInstance, IDC_ARROW); - wc.hbrBackground = GetStockObject(WHITE_BRUSH); - wc.lpszMenuName = "IntMenu"; - wc.lpszClassName = "IntClass"; - - return (RegisterClass(&wc)); -} - -/**************************************************************************** - - FUNCTION: InitInstance(HANDLE, int) - - PURPOSE: Saves instance handle and creates main window - -****************************************************************************/ - -BOOL InitInstance(hInstance, nCmdShow) -HANDLE hInstance; -int nCmdShow; -{ - HWND hWnd; - - hInst = hInstance; - hWnd = CreateWindow("IntClass", - "PCI-7396 Dual Interrupt Sample", - WS_OVERLAPPEDWINDOW, - 200, - 100, - 400, - 370, - NULL, - NULL, - hInstance, - NULL); - - if (!hWnd) return (FALSE); - ShowWindow(hWnd, nCmdShow); - UpdateWindow(hWnd); - return (TRUE); -} - - -BOOL PASCAL setup(HWND hWnd, unsigned message, WPARAM wParam, LPARAM lParam) -{ - int i,k=0; - char n[16]; - char s[100]; - BOOL ok; - - - switch (message) { - case WM_INITDIALOG: - for (i=0;i<16;i++) { - wsprintf(n, "%d", i); - _strupr(n); - SendMessage(GetDlgItem(hWnd,IDC_COMBO1), CB_ADDSTRING, NULL, (LONG)(LPSTR) n); - } - SendMessage(GetDlgItem(hWnd,IDC_COMBO1) , CB_SETCURSEL, 0, 0L); - if(card >=0) - EnableWindow(GetDlgItem(hWnd,IDC_COMBO1), FALSE); - SendMessage(GetDlgItem(hWnd,IDC_EDIT2) , WM_SETTEXT, 0, "10000"); - SendMessage(GetDlgItem(hWnd,IDC_EDIT1) , WM_SETTEXT, 0, "40"); - - break; - case WM_COMMAND: - switch(LOWORD(wParam)) { - case IDC_COMBO1: - if (HIWORD(wParam) == CBN_CLOSEUP) { - i = (int)SendMessage(GetDlgItem(hWnd,IDC_COMBO1), CB_GETCURSEL, 0, 0L); - SendMessage(GetDlgItem(hWnd,IDC_COMBO1), CB_GETLBTEXT, i, (LPARAM)((LPCSTR)n)); - card_number = i; - } - return(TRUE); - case IDOK: - if(card <0) { - if ((card=Register_Card(PCI_7396, card_number))< 0) { - wsprintf(s, "Register_Card Error = %d\n", card); - MessageBox(hWnd, s, "Error", MB_OK); - EndDialog(hWnd, TRUE); - break; - } - DIO_PortConfig(card,Channel_P1A, INPUT_PORT); - DIO_PortConfig(card,Channel_P2A, OUTPUT_PORT); - DIO_PortConfig(card,Channel_P1C, INPUT_PORT); - DIO_PortConfig(card,Channel_P2C, OUTPUT_PORT); - DIO_SetDualInterrupt(card, INT1_FP1C0, INT2_TIMER_COUNTER, hIntEvent); - } - total_count = GetDlgItemInt(hWnd,IDC_EDIT1, &ok, FALSE); - if(total_count > 32768) { - MessageBox(hWnd,"Count can be assigned at most 32768", "INT", MB_OK); - break; - } - for (i=0;i255) k=0; - } - for (i=0;i 15000 ) sample_rate=15000; - c2=2000000/(sample_rate*c1); - hMainWnd = hWnd; - _beginthread(IntThread, 0, 0); - if(hThread<0) - hThread = _beginthread(IntThread, 0, 0); - EndDialog(hWnd, TRUE); - return (TRUE); - case IDCANCEL: - EndDialog(hWnd, TRUE); - return (TRUE); - } - break; - } - return (FALSE); -} - -/**************************************************************************** - - FUNCTION: MainWndProc(HWND, UINT, WPARAM, LPARAM) - - PURPOSE: Processes messages - - -****************************************************************************/ - -long PASCAL MainWndProc(hWnd, message, wParam, lParam) -HWND hWnd; -unsigned message; -WPARAM wParam; -LPARAM lParam; -{ - int i, k; - int cur_count=0; - HDC hDC, hDC1; - PAINTSTRUCT ps; - FARPROC lpProc; - - - switch(message) { - - case WM_CREATE: - break; - case WM_PAINT: - hDC1=BeginPaint(hWnd, &ps); - wsprintf(Buf,"This program demostrates how to use dual interrupt line."); - TextOut(hDC1,20,10,Buf,strlen(Buf)); - wsprintf(Buf,"The IRQ source of INT1 is P1C0."); - TextOut(hDC1,20,30,Buf,strlen(Buf)); - wsprintf(Buf," The IRQ source of INT2 is internal Timer Output"); - TextOut(hDC1,20,50,Buf,strlen(Buf)); - SetTextColor(hDC1, RGB(255,0,0)); - wsprintf(Buf,"Using cable to connect P1 and P2"); - TextOut(hDC1,20,70,Buf,strlen(Buf)); - wsprintf(Buf,"Push 'Setup' button first ..."); - TextOut(hDC1,20,90,Buf,strlen(Buf)); - EndPaint(hWnd, &ps); - break; - case WM_COMMAND: - switch(wParam) { - case IDM_SETUP: - lpProc = MakeProcInstance(setup, hInst); - DialogBox(hInst,IDD_DIALOG1,hWnd,lpProc); - FreeProcInstance(lpProc); - if(card<0) - SendMessage(hWnd, WM_CLOSE, 0, 0L); - break; - - case IDM_GO: - // Interrupt Trigger - hDC=GetDC(hWnd); - CTR_Setup (card, 1, RATE_GENERATOR, c1, BIN); - CTR_Setup (card, 2, RATE_GENERATOR, c2, BIN); - k=0; i=0;int_count = 0; - while (k=10 && i<20) { - wsprintf(Buf,"%d, ",in_buffer[i]); - TextOut(hDC,20+25*(i-10),220,Buf,strlen(Buf)); - } - if(i>=20 && i<30) { - wsprintf(Buf,"%d, ",in_buffer[i]); - TextOut(hDC,20+25*(i-20),245,Buf,strlen(Buf)); - } - if (i>=30 && i<40) { - wsprintf(Buf,"%d, ",in_buffer[i]); - TextOut(hDC,20+25*(i-30),270,Buf,strlen(Buf)); - } - if (i>=40 && i<50) { - wsprintf(Buf,"%d, ",in_buffer[i]); - TextOut(hDC,20+25*(i-40),295,Buf,strlen(Buf)); - } - } - ReleaseDC(hWnd, hDC); - break; - - case IDM_CLEAR : - if(card >=0) { - DIO_SetDualInterrupt(card, INT1_DISABLE, INT2_DISABLE, hIntEvent); - for (i=0; i<2; i++) { - if(hIntEvent[i]) - ResetEvent(hIntEvent[i]); - } - } - PostQuitMessage(0); - break; - } - break; - - case WM_DESTROY: - if (card >= 0) Release_Card(card); - PostQuitMessage(0); - break; - - default: - return (DefWindowProc(hWnd, message, wParam, lParam)); - } - return(0L); -} - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7396/SDK7396DbEvt/7396INT.MAK b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7396/SDK7396DbEvt/7396INT.MAK deleted file mode 100644 index 0ade840..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7396/SDK7396DbEvt/7396INT.MAK +++ /dev/null @@ -1,219 +0,0 @@ -# Microsoft Developer Studio Generated NMAKE File, Format Version 4.00 -# ** DO NOT EDIT ** - -# TARGTYPE "Win32 (x86) Application" 0x0101 - -!IF "$(CFG)" == "" -CFG=7396int - Win32 Debug -!MESSAGE No configuration specified. Defaulting to 7396int - Win32 Debug. -!ENDIF - -!IF "$(CFG)" != "7396int - Win32 Release" && "$(CFG)" !=\ - "7396int - Win32 Debug" -!MESSAGE Invalid configuration "$(CFG)" specified. -!MESSAGE You can specify a configuration when running NMAKE on this makefile -!MESSAGE by defining the macro CFG on the command line. For example: -!MESSAGE -!MESSAGE NMAKE /f "7396INT.MAK" CFG="7396int - Win32 Debug" -!MESSAGE -!MESSAGE Possible choices for configuration are: -!MESSAGE -!MESSAGE "7396int - Win32 Release" (based on "Win32 (x86) Application") -!MESSAGE "7396int - Win32 Debug" (based on "Win32 (x86) Application") -!MESSAGE -!ERROR An invalid configuration is specified. -!ENDIF - -!IF "$(OS)" == "Windows_NT" -NULL= -!ELSE -NULL=nul -!ENDIF -################################################################################ -# Begin Project -# PROP Target_Last_Scanned "7396int - Win32 Debug" -CPP=cl.exe -RSC=rc.exe -MTL=mktyplib.exe - -!IF "$(CFG)" == "7396int - Win32 Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "Release" -# PROP BASE Intermediate_Dir "Release" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "" -# PROP Intermediate_Dir "Release" -# PROP Target_Dir "" -OUTDIR=. -INTDIR=.\Release - -ALL : "$(OUTDIR)\7396INT.exe" - -CLEAN : - -@erase ".\7396INT.exe" - -@erase ".\Release\7396int.obj" - -@erase ".\Release\7396int.res" - -"$(INTDIR)" : - if not exist "$(INTDIR)/$(NULL)" mkdir "$(INTDIR)" - -# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /YX /c -# ADD CPP /nologo /MT /W3 /GX /Od /I "..\..\..\include" /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /c -# SUBTRACT CPP /YX -CPP_PROJ=/nologo /MT /W3 /GX /Od /I "..\..\..\include" /D "WIN32" /D "NDEBUG"\ - /D "_WINDOWS" /Fo"$(INTDIR)/" /c -CPP_OBJS=.\Release/ -CPP_SBRS= -# ADD BASE MTL /nologo /D "NDEBUG" /win32 -# ADD MTL /nologo /D "NDEBUG" /win32 -MTL_PROJ=/nologo /D "NDEBUG" /win32 -# ADD BASE RSC /l 0x409 /d "NDEBUG" -# ADD RSC /l 0x409 /d "NDEBUG" -RSC_PROJ=/l 0x409 /fo"$(INTDIR)/7396int.res" /d "NDEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -BSC32_FLAGS=/nologo /o"$(OUTDIR)/7396INT.bsc" -BSC32_SBRS= -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:windows /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ..\..\..\lib\pci-dask.lib /nologo /subsystem:windows /machine:I386 -LINK32_FLAGS=kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib\ - advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib\ - odbccp32.lib ..\..\..\lib\pci-dask.lib /nologo /subsystem:windows\ - /incremental:no /pdb:"$(OUTDIR)/7396INT.pdb" /machine:I386\ - /out:"$(OUTDIR)/7396INT.exe" -LINK32_OBJS= \ - "$(INTDIR)/7396int.obj" \ - "$(INTDIR)/7396int.res" - -"$(OUTDIR)\7396INT.exe" : "$(OUTDIR)" $(DEF_FILE) $(LINK32_OBJS) - $(LINK32) @<< - $(LINK32_FLAGS) $(LINK32_OBJS) -<< - -!ELSEIF "$(CFG)" == "7396int - Win32 Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "Debug" -# PROP BASE Intermediate_Dir "Debug" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "Debug" -# PROP Intermediate_Dir "Debug" -# PROP Target_Dir "" -OUTDIR=.\Debug -INTDIR=.\Debug - -ALL : "$(OUTDIR)\7396INT.exe" - -CLEAN : - -@erase ".\Debug\vc40.pdb" - -@erase ".\Debug\vc40.idb" - -@erase ".\Debug\7396INT.exe" - -@erase ".\Debug\7396int.obj" - -@erase ".\Debug\7396int.res" - -@erase ".\Debug\7396INT.ilk" - -@erase ".\Debug\7396INT.pdb" - -"$(OUTDIR)" : - if not exist "$(OUTDIR)/$(NULL)" mkdir "$(OUTDIR)" - -# ADD BASE CPP /nologo /W3 /Gm /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /YX /c -# ADD CPP /nologo /MTd /W3 /Gm /GX /Zi /Od /I "..\..\..\include" /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /c -# SUBTRACT CPP /YX -CPP_PROJ=/nologo /MTd /W3 /Gm /GX /Zi /Od /I "..\..\..\include" /D "WIN32" /D\ - "_DEBUG" /D "_WINDOWS" /Fo"$(INTDIR)/" /Fd"$(INTDIR)/" /c -CPP_OBJS=.\Debug/ -CPP_SBRS= -# ADD BASE MTL /nologo /D "_DEBUG" /win32 -# ADD MTL /nologo /D "_DEBUG" /win32 -MTL_PROJ=/nologo /D "_DEBUG" /win32 -# ADD BASE RSC /l 0x409 /d "_DEBUG" -# ADD RSC /l 0x409 /d "_DEBUG" -RSC_PROJ=/l 0x409 /fo"$(INTDIR)/7396int.res" /d "_DEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -BSC32_FLAGS=/nologo /o"$(OUTDIR)/7396INT.bsc" -BSC32_SBRS= -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:windows /debug /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ..\..\..\lib\pci-dask.lib /nologo /subsystem:windows /debug /machine:I386 -LINK32_FLAGS=kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib\ - advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib\ - odbccp32.lib ..\..\..\lib\pci-dask.lib /nologo /subsystem:windows\ - /incremental:yes /pdb:"$(OUTDIR)/7396INT.pdb" /debug /machine:I386\ - /out:"$(OUTDIR)/7396INT.exe" -LINK32_OBJS= \ - "$(INTDIR)/7396int.obj" \ - "$(INTDIR)/7396int.res" - -"$(OUTDIR)\7396INT.exe" : "$(OUTDIR)" $(DEF_FILE) $(LINK32_OBJS) - $(LINK32) @<< - $(LINK32_FLAGS) $(LINK32_OBJS) -<< - -!ENDIF - -.c{$(CPP_OBJS)}.obj: - $(CPP) $(CPP_PROJ) $< - -.cpp{$(CPP_OBJS)}.obj: - $(CPP) $(CPP_PROJ) $< - -.cxx{$(CPP_OBJS)}.obj: - $(CPP) $(CPP_PROJ) $< - -.c{$(CPP_SBRS)}.sbr: - $(CPP) $(CPP_PROJ) $< - -.cpp{$(CPP_SBRS)}.sbr: - $(CPP) $(CPP_PROJ) $< - -.cxx{$(CPP_SBRS)}.sbr: - $(CPP) $(CPP_PROJ) $< - -################################################################################ -# Begin Target - -# Name "7396int - Win32 Release" -# Name "7396int - Win32 Debug" - -!IF "$(CFG)" == "7396int - Win32 Release" - -!ELSEIF "$(CFG)" == "7396int - Win32 Debug" - -!ENDIF - -################################################################################ -# Begin Source File - -SOURCE=.\7396int.rc - -"$(INTDIR)\7396int.res" : $(SOURCE) "$(INTDIR)" - $(RSC) $(RSC_PROJ) $(SOURCE) - - -# End Source File -################################################################################ -# Begin Source File - -SOURCE=.\7396int.c -DEP_CPP_7396I=\ - ".\..\..\..\include\Dask.h"\ - - -"$(INTDIR)\7396int.obj" : $(SOURCE) $(DEP_CPP_7396I) "$(INTDIR)" - - -# End Source File -# End Target -# End Project -################################################################################ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7396/SDK7396DbEvt/7396int.exe b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7396/SDK7396DbEvt/7396int.exe deleted file mode 100644 index bc1a6a3..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7396/SDK7396DbEvt/7396int.exe and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7396/SDK7396DbEvt/7396int.mdp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7396/SDK7396DbEvt/7396int.mdp deleted file mode 100644 index 1247603..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7396/SDK7396DbEvt/7396int.mdp and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7396/SDK7396DbEvt/7396int.rc b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7396/SDK7396DbEvt/7396int.rc deleted file mode 100644 index 7281e15..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7396/SDK7396DbEvt/7396int.rc +++ /dev/null @@ -1,125 +0,0 @@ -//Microsoft Developer Studio generated resource script. -// -#include "resource.h" - -#define APSTUDIO_READONLY_SYMBOLS -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 2 resource. -// -#define APSTUDIO_HIDDEN_SYMBOLS -#include "windows.h" -#undef APSTUDIO_HIDDEN_SYMBOLS - -///////////////////////////////////////////////////////////////////////////// -#undef APSTUDIO_READONLY_SYMBOLS - -///////////////////////////////////////////////////////////////////////////// -// English (U.S.) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -#ifdef _WIN32 -LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US -#pragma code_page(1252) -#endif //_WIN32 - -#ifdef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// TEXTINCLUDE -// - -1 TEXTINCLUDE DISCARDABLE -BEGIN - "resource.h\0" -END - -2 TEXTINCLUDE DISCARDABLE -BEGIN - "#define APSTUDIO_HIDDEN_SYMBOLS\r\n" - "#include ""windows.h""\r\n" - "#undef APSTUDIO_HIDDEN_SYMBOLS\r\n" - "\0" -END - -3 TEXTINCLUDE DISCARDABLE -BEGIN - "\r\n" - "\0" -END - -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// Menu -// - -INTMENU MENU DISCARDABLE -BEGIN - MENUITEM "Setup", IDM_SETUP - MENUITEM "Interrupt Trigger", IDM_GO - MENUITEM "Exit", IDM_CLEAR -END - - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog -// - -IDD_DIALOG1 DIALOG DISCARDABLE 0, 0, 133, 105 -STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "Setup Dialog" -FONT 10, "System" -BEGIN - DEFPUSHBUTTON "OK",IDOK,7,86,47,14 - PUSHBUTTON "Cancel",IDCANCEL,72,86,45,14 - LTEXT "Total Count",IDC_STATIC,7,33,53,12 - LTEXT "Sampling Rate",IDC_STATIC,7,59,53,12 - EDITTEXT IDC_EDIT1,60,32,63,15,ES_AUTOHSCROLL - EDITTEXT IDC_EDIT2,60,56,63,15,ES_AUTOHSCROLL - LTEXT "Card Number",IDC_STATIC,7,12,48,13 - COMBOBOX IDC_COMBO1,60,12,63,84,CBS_DROPDOWN | WS_VSCROLL | - WS_TABSTOP -END - - -///////////////////////////////////////////////////////////////////////////// -// -// DESIGNINFO -// - -#ifdef APSTUDIO_INVOKED -GUIDELINES DESIGNINFO DISCARDABLE -BEGIN - IDD_DIALOG1, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 123 - VERTGUIDE, 7 - VERTGUIDE, 60 - TOPMARGIN, 4 - BOTTOMMARGIN, 100 - HORZGUIDE, 71 - HORZGUIDE, 87 - END -END -#endif // APSTUDIO_INVOKED - -#endif // English (U.S.) resources -///////////////////////////////////////////////////////////////////////////// - - - -#ifndef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 3 resource. -// - - -///////////////////////////////////////////////////////////////////////////// -#endif // not APSTUDIO_INVOKED - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7396/SDK7396DbEvt/Resource.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7396/SDK7396DbEvt/Resource.h deleted file mode 100644 index 5a22550..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7396/SDK7396DbEvt/Resource.h +++ /dev/null @@ -1,26 +0,0 @@ -//{{NO_DEPENDENCIES}} -// Microsoft Developer Studio generated include file. -// Used by 7296int.rc -// -#define IDM_SETUP 101 -#define IDD_DIALOG1 101 -#define IDM_EXIT 110 -#define IDM_GO 300 -#define ID_STOP 304 -#define IDM_CLEAR 305 -#define IDC_COMBO1 1004 -#define IDC_COMBO2 1005 -#define IDC_EDIT1 1007 -#define IDC_EDIT2 1008 -#define IDC_STATIC -1 - -// Next default values for new objects -// -#ifdef APSTUDIO_INVOKED -#ifndef APSTUDIO_READONLY_SYMBOLS -#define _APS_NEXT_RESOURCE_VALUE 103 -#define _APS_NEXT_COMMAND_VALUE 102 -#define _APS_NEXT_CONTROL_VALUE 1008 -#define _APS_NEXT_SYMED_VALUE 101 -#endif -#endif diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7396/SDK7396DbEvtMsg/7396INT.C b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7396/SDK7396DbEvtMsg/7396INT.C deleted file mode 100644 index 8dff224..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7396/SDK7396DbEvtMsg/7396INT.C +++ /dev/null @@ -1,354 +0,0 @@ -/*;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; -;; Copyright (c) 1995-1999, ADLink Technology Inc. All rights reserved. ;; -;; ;; -;; File Name : 7396INT.C ;; -;; Purpose : This sample program demonstrates how to DIO through;; -;; interrupt operation ;; -;; Date : 07/01/1999 ;; -;; Revision : 3.0 ;; -;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;*/ - - #include - #include - #include - #include - #include "Dask.h" - #include "resource.h" - - #define IDM_SETUP 101 - #define IDD_DIALOG1 101 - #define IDM_EXIT 110 - #define IDM_GO 300 - #define IDM_CLEAR 305 - #define IDC_COMBO1 1004 - #define IDC_EDIT1 1007 - #define IDC_EDIT2 1008 - #define WM_INT 2000 - - HANDLE hInst; /* current instance */ - HWND hMainWnd; - I16 card=-1, card_number = 0; - - int total_count =40; - int sample_rate=20000; - unsigned int buffer[32768], in_buffer[32768]; - char Buf[80]; - int c1=20,c2=20; - int int_count[2] ={0, 0}; - - int PASCAL WinMain(HANDLE, HANDLE, LPSTR, int); - BOOL InitApplication(HANDLE); - BOOL InitInstance(HANDLE, int); - long PASCAL MainWndProc(HWND, unsigned, WPARAM, LPARAM); - BOOL PASCAL About(HWND, unsigned, WPARAM, LPARAM); - BOOL PASCAL ShowDMA(HWND, unsigned, WPARAM, LPARAM); - LRESULT CALLBACK cbfn(); - void mesgfn(); - - /********************************************************************** - - FUNCTION: WinMain(HANDLE, HANDLE, LPSTR, int) - PURPOSE: calls initialization function, processes message loop - - ***********************************************************************/ - - int PASCAL WinMain(hInstance, hPrevInstance, lpCmdLine, nCmdShow) - - HANDLE hInstance; - HANDLE hPrevInstance; - LPSTR lpCmdLine; - int nCmdShow; - - { - MSG msg; - - if(!hPrevInstance) - if(!InitApplication(hInstance)) - return(FALSE); - - if(!InitInstance(hInstance, nCmdShow)) - return(FALSE); - - while ( GetMessage(&msg, NULL, NULL, NULL)) - { - TranslateMessage(&msg); - DispatchMessage(&msg); - } - return(msg.wParam); - } - -/**************************************************************************** - - FUNCTION: InitApplication(HANDLE) - - PURPOSE: Initializes window data and registers window class - -****************************************************************************/ - -BOOL InitApplication(hInstance) -HANDLE hInstance; -{ - WNDCLASS wc; - - wc.style = NULL; - wc.lpfnWndProc = MainWndProc; - wc.cbClsExtra = 0; - wc.cbWndExtra = 0; - wc.hInstance = hInstance; - wc.hIcon = LoadIcon(NULL, IDI_APPLICATION); - wc.hCursor = LoadCursor(hInstance, IDC_ARROW); - wc.hbrBackground = GetStockObject(WHITE_BRUSH); - wc.lpszMenuName = "IntMenu"; - wc.lpszClassName = "IntClass"; - - return (RegisterClass(&wc)); -} - -/**************************************************************************** - - FUNCTION: InitInstance(HANDLE, int) - - PURPOSE: Saves instance handle and creates main window - -****************************************************************************/ - -BOOL InitInstance(hInstance, nCmdShow) -HANDLE hInstance; -int nCmdShow; -{ - HWND hWnd; - - hInst = hInstance; - hWnd = CreateWindow("IntClass", - "PCI-7396 Interrupt Samples", - WS_OVERLAPPEDWINDOW, - 200, - 100, - 375, - 370, - NULL, - NULL, - hInstance, - NULL); - - if (!hWnd) return (FALSE); - ShowWindow(hWnd, nCmdShow); - UpdateWindow(hWnd); - return (TRUE); -} - - -BOOL PASCAL setup(HWND hWnd, unsigned message, WPARAM wParam, LPARAM lParam) -{ - int i,k=0; - char s[100]; - char n[20]; - BOOL ok; - - - switch (message) { - case WM_INITDIALOG: - for (i=0;i<16;i++) { - wsprintf(n, "%d", i); - _strupr(n); - SendMessage(GetDlgItem(hWnd,IDC_COMBO1), CB_ADDSTRING, NULL, (LONG)(LPSTR) n); - } - SendMessage(GetDlgItem(hWnd,IDC_COMBO1) , CB_SETCURSEL, 0, 0L); - if(card >=0) - EnableWindow(GetDlgItem(hWnd,IDC_COMBO1), FALSE); - SendMessage(GetDlgItem(hWnd,IDC_EDIT2) , WM_SETTEXT, 0, "5000"); - SendMessage(GetDlgItem(hWnd,IDC_EDIT1) , WM_SETTEXT, 0, "40"); - - break; - case WM_COMMAND: - switch(LOWORD(wParam)) { - case IDC_COMBO1: - if (HIWORD(wParam) == CBN_CLOSEUP) { - i = (int)SendMessage(GetDlgItem(hWnd,IDC_COMBO1), CB_GETCURSEL, 0, 0L); - SendMessage(GetDlgItem(hWnd,IDC_COMBO1), CB_GETLBTEXT, i, (LPARAM)((LPCSTR)n)); - card_number = i; - } - return(TRUE); - case IDOK: - if (card < 0) { - if ((card=Register_Card(PCI_7396,card_number))< 0) { - wsprintf(s, "Register_Card Error = %d\n", card); - MessageBox(hWnd, s, "Error", MB_OK); - } - } - total_count = GetDlgItemInt(hWnd,IDC_EDIT1, &ok, FALSE); - if (total_count > 32768) { - MessageBox(hWnd,"Count can be assigned at most 32768", "INT", MB_OK); - break; - } - for (i=0;i255) k=0; - } - for (i=0;i 15000 ) sample_rate=15000; - c2=2000000/(sample_rate*c1); - - EndDialog(hWnd, TRUE); - return (TRUE); - case IDCANCEL: - EndDialog(hWnd, TRUE); - return (TRUE); - } - break; - } - return (FALSE); -} - -/**************************************************************************** - - FUNCTION: MainWndProc(HWND, UINT, WPARAM, LPARAM) - - PURPOSE: Processes messages - - -****************************************************************************/ - -long PASCAL MainWndProc(hWnd, message, wParam, lParam) -HWND hWnd; -unsigned message; -WPARAM wParam; -LPARAM lParam; -{ - HDC hDC1; - PAINTSTRUCT ps; - FARPROC lpProc; - - hMainWnd = hWnd; - switch(message) { - - case WM_CREATE: - break; - case WM_PAINT: - hDC1=BeginPaint(hWnd, &ps); - wsprintf(Buf,"This program demostrates how to use dual interrupt line."); - TextOut(hDC1,20,10,Buf,strlen(Buf)); - wsprintf(Buf,"The IRQ source of INT1 is P1C0."); - TextOut(hDC1,20,30,Buf,strlen(Buf)); - wsprintf(Buf," The IRQ source of INT2 is internal Timer Output"); - TextOut(hDC1,20,50,Buf,strlen(Buf)); - SetTextColor(hDC1, RGB(255,0,0)); - wsprintf(Buf,"Using cable to connect P1 and P2"); - TextOut(hDC1,20,70,Buf,strlen(Buf)); - wsprintf(Buf,"Push 'Setup' button first ..."); - TextOut(hDC1,20,90,Buf,strlen(Buf)); - EndPaint(hWnd, &ps); - break; - case WM_COMMAND: - switch(wParam) { - case IDM_SETUP: - lpProc = MakeProcInstance(setup, hInst); - DialogBox(hInst,IDD_DIALOG1,hWnd,lpProc); - FreeProcInstance(lpProc); - if(card<0) - SendMessage(hWnd, WM_CLOSE, 0, 0L); - break; - - case IDM_GO: - // Interrupt Trigger - int_count[0]=0; - int_count[1]=0; - DIO_PortConfig(card,Channel_P1A, INPUT_PORT); - DIO_PortConfig(card,Channel_P2A, OUTPUT_PORT); - DIO_PortConfig(card,Channel_P1C, INPUT_PORT); - DIO_PortConfig(card,Channel_P2C, OUTPUT_PORT); - - DIO_INT1_EventMessage (card, INT1_FP1C0, hWnd, NULL, (void *) cbfn); - DIO_INT2_EventMessage (card, INT2_TIMER_COUNTER, hWnd, WM_INT, NULL); - - CTR_Setup (card, 1, 2, c1, BIN); - CTR_Setup (card, 2, 2, c2, BIN); - break; - - case IDM_CLEAR : - PostQuitMessage(0); - break; - } - break; - case WM_INT: - //int_count[0]++; - mesgfn(); - break; - case WM_DESTROY: - if (card >= 0) Release_Card(card); - PostQuitMessage(0); - break; - - default: - return (DefWindowProc(hWnd, message, wParam, lParam)); - } - return(0L); -} - -void mesgfn() -{ - HDC hDC; - int i; - - hDC=GetDC(hMainWnd); - if(int_count[1] =10 && i<20) { - wsprintf(Buf,"%d, ",in_buffer[i]); - TextOut(hDC,20+25*(i-10),220,Buf,strlen(Buf)); - } - if(i>=20 && i<30) { - wsprintf(Buf,"%d, ",in_buffer[i]); - TextOut(hDC,20+25*(i-20),245,Buf,strlen(Buf)); - } - if (i>=30 && i<40) { - wsprintf(Buf,"%d, ",in_buffer[i]); - TextOut(hDC,20+25*(i-30),270,Buf,strlen(Buf)); - } - if (i>=40 && i<50) { - wsprintf(Buf,"%d, ",in_buffer[i]); - TextOut(hDC,20+25*(i-40),295,Buf,strlen(Buf)); - } - } - ReleaseDC(hMainWnd, hDC); - } -} - -LRESULT CALLBACK cbfn() -{ - int_count[0]++; -} - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7396/SDK7396DbEvtMsg/7396INT.MAK b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7396/SDK7396DbEvtMsg/7396INT.MAK deleted file mode 100644 index 0ade840..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7396/SDK7396DbEvtMsg/7396INT.MAK +++ /dev/null @@ -1,219 +0,0 @@ -# Microsoft Developer Studio Generated NMAKE File, Format Version 4.00 -# ** DO NOT EDIT ** - -# TARGTYPE "Win32 (x86) Application" 0x0101 - -!IF "$(CFG)" == "" -CFG=7396int - Win32 Debug -!MESSAGE No configuration specified. Defaulting to 7396int - Win32 Debug. -!ENDIF - -!IF "$(CFG)" != "7396int - Win32 Release" && "$(CFG)" !=\ - "7396int - Win32 Debug" -!MESSAGE Invalid configuration "$(CFG)" specified. -!MESSAGE You can specify a configuration when running NMAKE on this makefile -!MESSAGE by defining the macro CFG on the command line. For example: -!MESSAGE -!MESSAGE NMAKE /f "7396INT.MAK" CFG="7396int - Win32 Debug" -!MESSAGE -!MESSAGE Possible choices for configuration are: -!MESSAGE -!MESSAGE "7396int - Win32 Release" (based on "Win32 (x86) Application") -!MESSAGE "7396int - Win32 Debug" (based on "Win32 (x86) Application") -!MESSAGE -!ERROR An invalid configuration is specified. -!ENDIF - -!IF "$(OS)" == "Windows_NT" -NULL= -!ELSE -NULL=nul -!ENDIF -################################################################################ -# Begin Project -# PROP Target_Last_Scanned "7396int - Win32 Debug" -CPP=cl.exe -RSC=rc.exe -MTL=mktyplib.exe - -!IF "$(CFG)" == "7396int - Win32 Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "Release" -# PROP BASE Intermediate_Dir "Release" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "" -# PROP Intermediate_Dir "Release" -# PROP Target_Dir "" -OUTDIR=. -INTDIR=.\Release - -ALL : "$(OUTDIR)\7396INT.exe" - -CLEAN : - -@erase ".\7396INT.exe" - -@erase ".\Release\7396int.obj" - -@erase ".\Release\7396int.res" - -"$(INTDIR)" : - if not exist "$(INTDIR)/$(NULL)" mkdir "$(INTDIR)" - -# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /YX /c -# ADD CPP /nologo /MT /W3 /GX /Od /I "..\..\..\include" /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /c -# SUBTRACT CPP /YX -CPP_PROJ=/nologo /MT /W3 /GX /Od /I "..\..\..\include" /D "WIN32" /D "NDEBUG"\ - /D "_WINDOWS" /Fo"$(INTDIR)/" /c -CPP_OBJS=.\Release/ -CPP_SBRS= -# ADD BASE MTL /nologo /D "NDEBUG" /win32 -# ADD MTL /nologo /D "NDEBUG" /win32 -MTL_PROJ=/nologo /D "NDEBUG" /win32 -# ADD BASE RSC /l 0x409 /d "NDEBUG" -# ADD RSC /l 0x409 /d "NDEBUG" -RSC_PROJ=/l 0x409 /fo"$(INTDIR)/7396int.res" /d "NDEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -BSC32_FLAGS=/nologo /o"$(OUTDIR)/7396INT.bsc" -BSC32_SBRS= -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:windows /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ..\..\..\lib\pci-dask.lib /nologo /subsystem:windows /machine:I386 -LINK32_FLAGS=kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib\ - advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib\ - odbccp32.lib ..\..\..\lib\pci-dask.lib /nologo /subsystem:windows\ - /incremental:no /pdb:"$(OUTDIR)/7396INT.pdb" /machine:I386\ - /out:"$(OUTDIR)/7396INT.exe" -LINK32_OBJS= \ - "$(INTDIR)/7396int.obj" \ - "$(INTDIR)/7396int.res" - -"$(OUTDIR)\7396INT.exe" : "$(OUTDIR)" $(DEF_FILE) $(LINK32_OBJS) - $(LINK32) @<< - $(LINK32_FLAGS) $(LINK32_OBJS) -<< - -!ELSEIF "$(CFG)" == "7396int - Win32 Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "Debug" -# PROP BASE Intermediate_Dir "Debug" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "Debug" -# PROP Intermediate_Dir "Debug" -# PROP Target_Dir "" -OUTDIR=.\Debug -INTDIR=.\Debug - -ALL : "$(OUTDIR)\7396INT.exe" - -CLEAN : - -@erase ".\Debug\vc40.pdb" - -@erase ".\Debug\vc40.idb" - -@erase ".\Debug\7396INT.exe" - -@erase ".\Debug\7396int.obj" - -@erase ".\Debug\7396int.res" - -@erase ".\Debug\7396INT.ilk" - -@erase ".\Debug\7396INT.pdb" - -"$(OUTDIR)" : - if not exist "$(OUTDIR)/$(NULL)" mkdir "$(OUTDIR)" - -# ADD BASE CPP /nologo /W3 /Gm /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /YX /c -# ADD CPP /nologo /MTd /W3 /Gm /GX /Zi /Od /I "..\..\..\include" /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /c -# SUBTRACT CPP /YX -CPP_PROJ=/nologo /MTd /W3 /Gm /GX /Zi /Od /I "..\..\..\include" /D "WIN32" /D\ - "_DEBUG" /D "_WINDOWS" /Fo"$(INTDIR)/" /Fd"$(INTDIR)/" /c -CPP_OBJS=.\Debug/ -CPP_SBRS= -# ADD BASE MTL /nologo /D "_DEBUG" /win32 -# ADD MTL /nologo /D "_DEBUG" /win32 -MTL_PROJ=/nologo /D "_DEBUG" /win32 -# ADD BASE RSC /l 0x409 /d "_DEBUG" -# ADD RSC /l 0x409 /d "_DEBUG" -RSC_PROJ=/l 0x409 /fo"$(INTDIR)/7396int.res" /d "_DEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -BSC32_FLAGS=/nologo /o"$(OUTDIR)/7396INT.bsc" -BSC32_SBRS= -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:windows /debug /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ..\..\..\lib\pci-dask.lib /nologo /subsystem:windows /debug /machine:I386 -LINK32_FLAGS=kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib\ - advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib\ - odbccp32.lib ..\..\..\lib\pci-dask.lib /nologo /subsystem:windows\ - /incremental:yes /pdb:"$(OUTDIR)/7396INT.pdb" /debug /machine:I386\ - /out:"$(OUTDIR)/7396INT.exe" -LINK32_OBJS= \ - "$(INTDIR)/7396int.obj" \ - "$(INTDIR)/7396int.res" - -"$(OUTDIR)\7396INT.exe" : "$(OUTDIR)" $(DEF_FILE) $(LINK32_OBJS) - $(LINK32) @<< - $(LINK32_FLAGS) $(LINK32_OBJS) -<< - -!ENDIF - -.c{$(CPP_OBJS)}.obj: - $(CPP) $(CPP_PROJ) $< - -.cpp{$(CPP_OBJS)}.obj: - $(CPP) $(CPP_PROJ) $< - -.cxx{$(CPP_OBJS)}.obj: - $(CPP) $(CPP_PROJ) $< - -.c{$(CPP_SBRS)}.sbr: - $(CPP) $(CPP_PROJ) $< - -.cpp{$(CPP_SBRS)}.sbr: - $(CPP) $(CPP_PROJ) $< - -.cxx{$(CPP_SBRS)}.sbr: - $(CPP) $(CPP_PROJ) $< - -################################################################################ -# Begin Target - -# Name "7396int - Win32 Release" -# Name "7396int - Win32 Debug" - -!IF "$(CFG)" == "7396int - Win32 Release" - -!ELSEIF "$(CFG)" == "7396int - Win32 Debug" - -!ENDIF - -################################################################################ -# Begin Source File - -SOURCE=.\7396int.rc - -"$(INTDIR)\7396int.res" : $(SOURCE) "$(INTDIR)" - $(RSC) $(RSC_PROJ) $(SOURCE) - - -# End Source File -################################################################################ -# Begin Source File - -SOURCE=.\7396int.c -DEP_CPP_7396I=\ - ".\..\..\..\include\Dask.h"\ - - -"$(INTDIR)\7396int.obj" : $(SOURCE) $(DEP_CPP_7396I) "$(INTDIR)" - - -# End Source File -# End Target -# End Project -################################################################################ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7396/SDK7396DbEvtMsg/7396int.exe b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7396/SDK7396DbEvtMsg/7396int.exe deleted file mode 100644 index 64b4b51..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7396/SDK7396DbEvtMsg/7396int.exe and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7396/SDK7396DbEvtMsg/7396int.mdp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7396/SDK7396DbEvtMsg/7396int.mdp deleted file mode 100644 index 60acd38..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7396/SDK7396DbEvtMsg/7396int.mdp and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7396/SDK7396DbEvtMsg/7396int.rc b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7396/SDK7396DbEvtMsg/7396int.rc deleted file mode 100644 index 7281e15..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7396/SDK7396DbEvtMsg/7396int.rc +++ /dev/null @@ -1,125 +0,0 @@ -//Microsoft Developer Studio generated resource script. -// -#include "resource.h" - -#define APSTUDIO_READONLY_SYMBOLS -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 2 resource. -// -#define APSTUDIO_HIDDEN_SYMBOLS -#include "windows.h" -#undef APSTUDIO_HIDDEN_SYMBOLS - -///////////////////////////////////////////////////////////////////////////// -#undef APSTUDIO_READONLY_SYMBOLS - -///////////////////////////////////////////////////////////////////////////// -// English (U.S.) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -#ifdef _WIN32 -LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US -#pragma code_page(1252) -#endif //_WIN32 - -#ifdef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// TEXTINCLUDE -// - -1 TEXTINCLUDE DISCARDABLE -BEGIN - "resource.h\0" -END - -2 TEXTINCLUDE DISCARDABLE -BEGIN - "#define APSTUDIO_HIDDEN_SYMBOLS\r\n" - "#include ""windows.h""\r\n" - "#undef APSTUDIO_HIDDEN_SYMBOLS\r\n" - "\0" -END - -3 TEXTINCLUDE DISCARDABLE -BEGIN - "\r\n" - "\0" -END - -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// Menu -// - -INTMENU MENU DISCARDABLE -BEGIN - MENUITEM "Setup", IDM_SETUP - MENUITEM "Interrupt Trigger", IDM_GO - MENUITEM "Exit", IDM_CLEAR -END - - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog -// - -IDD_DIALOG1 DIALOG DISCARDABLE 0, 0, 133, 105 -STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "Setup Dialog" -FONT 10, "System" -BEGIN - DEFPUSHBUTTON "OK",IDOK,7,86,47,14 - PUSHBUTTON "Cancel",IDCANCEL,72,86,45,14 - LTEXT "Total Count",IDC_STATIC,7,33,53,12 - LTEXT "Sampling Rate",IDC_STATIC,7,59,53,12 - EDITTEXT IDC_EDIT1,60,32,63,15,ES_AUTOHSCROLL - EDITTEXT IDC_EDIT2,60,56,63,15,ES_AUTOHSCROLL - LTEXT "Card Number",IDC_STATIC,7,12,48,13 - COMBOBOX IDC_COMBO1,60,12,63,84,CBS_DROPDOWN | WS_VSCROLL | - WS_TABSTOP -END - - -///////////////////////////////////////////////////////////////////////////// -// -// DESIGNINFO -// - -#ifdef APSTUDIO_INVOKED -GUIDELINES DESIGNINFO DISCARDABLE -BEGIN - IDD_DIALOG1, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 123 - VERTGUIDE, 7 - VERTGUIDE, 60 - TOPMARGIN, 4 - BOTTOMMARGIN, 100 - HORZGUIDE, 71 - HORZGUIDE, 87 - END -END -#endif // APSTUDIO_INVOKED - -#endif // English (U.S.) resources -///////////////////////////////////////////////////////////////////////////// - - - -#ifndef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 3 resource. -// - - -///////////////////////////////////////////////////////////////////////////// -#endif // not APSTUDIO_INVOKED - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7396/SDK7396DbEvtMsg/Resource.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7396/SDK7396DbEvtMsg/Resource.h deleted file mode 100644 index 5a22550..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7396/SDK7396DbEvtMsg/Resource.h +++ /dev/null @@ -1,26 +0,0 @@ -//{{NO_DEPENDENCIES}} -// Microsoft Developer Studio generated include file. -// Used by 7296int.rc -// -#define IDM_SETUP 101 -#define IDD_DIALOG1 101 -#define IDM_EXIT 110 -#define IDM_GO 300 -#define ID_STOP 304 -#define IDM_CLEAR 305 -#define IDC_COMBO1 1004 -#define IDC_COMBO2 1005 -#define IDC_EDIT1 1007 -#define IDC_EDIT2 1008 -#define IDC_STATIC -1 - -// Next default values for new objects -// -#ifdef APSTUDIO_INVOKED -#ifndef APSTUDIO_READONLY_SYMBOLS -#define _APS_NEXT_RESOURCE_VALUE 103 -#define _APS_NEXT_COMMAND_VALUE 102 -#define _APS_NEXT_CONTROL_VALUE 1008 -#define _APS_NEXT_SYMED_VALUE 101 -#endif -#endif diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7396/SDK7396Int/7396INT.C b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7396/SDK7396Int/7396INT.C deleted file mode 100644 index 457154d..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7396/SDK7396Int/7396INT.C +++ /dev/null @@ -1,329 +0,0 @@ -/*;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; -;; Copyright (c) 1995-1999, ADLink Technology Inc. All rights reserved. ;; -;; ;; -;; File Name : 7396int.C ;; -;; Purpose : This sample program demonstrates DIO through ;; -;; interrupt operation ;; -;; Date : 07/20/1998 ;; -;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;*/ - - #include - #include - #include - #include - #include "Dask.h" - - #define IDM_SETUP 101 - #define IDD_DIALOG1 101 - #define IDM_EXIT 110 - #define IDM_GO 300 - #define IDM_CLEAR 305 - #define IDC_COMBO1 1004 - #define IDC_COMBO2 1005 - #define IDC_EDIT1 1007 - #define IDC_EDIT2 1008 - - - HANDLE hInst; /* current instance */ - HANDLE hIntEvent[2]; - - U16 wBus, wSlot; - I16 card=-1, card_number = 0; - - int total_count =40; - int sample_rate=5000; - unsigned int buffer[32768], in_buffer[32768]; - char Buf[80]; - int c1=20,c2=20; - - int PASCAL WinMain(HANDLE, HANDLE, LPSTR, int); - BOOL InitApplication(HANDLE); - BOOL InitInstance(HANDLE, int); - long PASCAL MainWndProc(HWND, unsigned, WPARAM, LPARAM); - BOOL PASCAL About(HWND, unsigned, WPARAM, LPARAM); - BOOL PASCAL ShowDMA(HWND, unsigned, WPARAM, LPARAM); - - /********************************************************************** - - FUNCTION: WinMain(HANDLE, HANDLE, LPSTR, int) - PURPOSE: calls initialization function, processes message loop - - ***********************************************************************/ - - int PASCAL WinMain(hInstance, hPrevInstance, lpCmdLine, nCmdShow) - - HANDLE hInstance; - HANDLE hPrevInstance; - LPSTR lpCmdLine; - int nCmdShow; - - { - MSG msg; - - if(!hPrevInstance) - if(!InitApplication(hInstance)) - return(FALSE); - - if(!InitInstance(hInstance, nCmdShow)) - return(FALSE); - - while ( GetMessage(&msg, NULL, NULL, NULL)) - { - TranslateMessage(&msg); - DispatchMessage(&msg); - } - return(msg.wParam); - } - -/**************************************************************************** - - FUNCTION: InitApplication(HANDLE) - - PURPOSE: Initializes window data and registers window class - -****************************************************************************/ - -BOOL InitApplication(hInstance) -HANDLE hInstance; -{ - WNDCLASS wc; - - wc.style = NULL; - wc.lpfnWndProc = MainWndProc; - wc.cbClsExtra = 0; - wc.cbWndExtra = 0; - wc.hInstance = hInstance; - wc.hIcon = LoadIcon(NULL, IDI_APPLICATION); - wc.hCursor = LoadCursor(hInstance, IDC_ARROW); - wc.hbrBackground = GetStockObject(WHITE_BRUSH); - wc.lpszMenuName = "IntMenu"; - wc.lpszClassName = "IntClass"; - - return (RegisterClass(&wc)); -} - -/**************************************************************************** - - FUNCTION: InitInstance(HANDLE, int) - - PURPOSE: Saves instance handle and creates main window - -****************************************************************************/ - -BOOL InitInstance(hInstance, nCmdShow) -HANDLE hInstance; -int nCmdShow; -{ - HWND hWnd; - - hInst = hInstance; - hWnd = CreateWindow("IntClass", - "PCI-7396 Interrupt Samples (INT2)", - WS_OVERLAPPEDWINDOW, - 200, - 100, - 375, - 370, - NULL, - NULL, - hInstance, - NULL); - - if (!hWnd) return (FALSE); - ShowWindow(hWnd, nCmdShow); - UpdateWindow(hWnd); - return (TRUE); -} - - -BOOL PASCAL setup(HWND hWnd, unsigned message, WPARAM wParam, LPARAM lParam) -{ - int i,k=0; - char n[16]; - char s[50]; - BOOL ok; - - - switch (message) { - case WM_INITDIALOG: - for (i=0;i<16;i++) { - wsprintf(n, "%d", i); - _strupr(n); - SendMessage(GetDlgItem(hWnd,IDC_COMBO1), CB_ADDSTRING, NULL, (LONG)(LPSTR) n); - } - SendMessage(GetDlgItem(hWnd,IDC_COMBO1) , CB_SETCURSEL, 0, 0L); - if(card >=0) - EnableWindow(GetDlgItem(hWnd,IDC_COMBO1), FALSE); - SendMessage(GetDlgItem(hWnd,IDC_EDIT2) , WM_SETTEXT, 0, "5000"); - SendMessage(GetDlgItem(hWnd,IDC_EDIT1) , WM_SETTEXT, 0, "40"); - - break; - case WM_COMMAND: - switch(LOWORD(wParam)) { - case IDC_COMBO1: - if (HIWORD(wParam) == CBN_CLOSEUP) { - i = (int)SendMessage(GetDlgItem(hWnd,IDC_COMBO1), CB_GETCURSEL, 0, 0L); - SendMessage(GetDlgItem(hWnd,IDC_COMBO1), CB_GETLBTEXT, i, (LPARAM)((LPCSTR)n)); - card_number = i; - } - return(TRUE); - case IDOK: - if(card <0) { - if ((card=Register_Card(PCI_7396, card_number))< 0) { - wsprintf(s, "Register_Card Error = %d\n", card); - MessageBox(hWnd, s, "Error", MB_OK); - } - } - total_count = GetDlgItemInt(hWnd,IDC_EDIT1, &ok, FALSE); - if (total_count > 32768) { - MessageBox(hWnd,"Count can be assigned at most 32768", "INT", MB_OK); - break; - } - for (i=0;i255) k=0; - } - for (i=0;i 15000 ) sample_rate=15000; - c2=2000000/(sample_rate*c1); - - EndDialog(hWnd, TRUE); - return (TRUE); - case IDCANCEL: - EndDialog(hWnd, TRUE); - return (TRUE); - } - break; - } - return (FALSE); -} - -/**************************************************************************** - - FUNCTION: MainWndProc(HWND, UINT, WPARAM, LPARAM) - - PURPOSE: Processes messages - - -****************************************************************************/ - -long PASCAL MainWndProc(hWnd, message, wParam, lParam) -HWND hWnd; -unsigned message; -WPARAM wParam; -LPARAM lParam; -{ - int i, k; - int cur_count=0; - HDC hDC, hDC1; - PAINTSTRUCT ps; - FARPROC lpProc; - - switch(message) { - - case WM_CREATE: - break; - case WM_PAINT: - hDC1=BeginPaint(hWnd, &ps); - wsprintf(Buf,"This program performs digital output on Port A of"); - TextOut(hDC1,20,10,Buf,strlen(Buf)); - wsprintf(Buf,"P2 and digital input on Port A of P1 when an"); - TextOut(hDC1,20,30,Buf,strlen(Buf)); - wsprintf(Buf,"interrupt happens. The INT2 is used, and interrupt"); - TextOut(hDC1,20,50,Buf,strlen(Buf)); - wsprintf(Buf,"signals are generated by internal Timer Output."); - TextOut(hDC1,20,70,Buf,strlen(Buf)); - SetTextColor(hDC1, RGB(255,0,0)); - wsprintf(Buf,"Push 'Setup' button first ..."); - TextOut(hDC1,20,90,Buf,strlen(Buf)); - EndPaint(hWnd, &ps); - break; - case WM_COMMAND: - switch(wParam) { - case IDM_SETUP: - lpProc = MakeProcInstance(setup, hInst); - DialogBox(hInst,IDD_DIALOG1,hWnd,lpProc); - FreeProcInstance(lpProc); - if(card<0) - SendMessage(hWnd, WM_CLOSE, 0, 0L); - break; - - case IDM_GO: - // Interrupt Trigger - hDC=GetDC(hWnd); - DIO_PortConfig(card,Channel_P1A, INPUT_PORT); - DIO_PortConfig(card,Channel_P2A, OUTPUT_PORT); - - DIO_SetDualInterrupt(card, INT1_DISABLE, INT2_TIMER_COUNTER, hIntEvent); - CTR_Setup (card, 1, RATE_GENERATOR, c1, BIN); - CTR_Setup (card, 2, RATE_GENERATOR, c2, BIN); - k=0; i=0; - while (k=10 && i<20) { - wsprintf(Buf,"%d, ",in_buffer[i]); - TextOut(hDC,20+25*(i-10),210,Buf,strlen(Buf)); - } - if(i>=20 && i<30) { - wsprintf(Buf,"%d, ",in_buffer[i]); - TextOut(hDC,20+25*(i-20),235,Buf,strlen(Buf)); - } - if (i>=30 && i<40) { - wsprintf(Buf,"%d, ",in_buffer[i]); - TextOut(hDC,20+25*(i-30),260,Buf,strlen(Buf)); - } - if (i>=40 && i<50) { - wsprintf(Buf,"%d, ",in_buffer[i]); - TextOut(hDC,20+25*(i-40),285,Buf,strlen(Buf)); - } - } - ReleaseDC(hWnd, hDC); - break; - - case IDM_CLEAR : - ResetEvent(hIntEvent[1]); - PostQuitMessage(0); - break; - } - break; - - case WM_DESTROY: - if (card >= 0) Release_Card(card); - PostQuitMessage(0); - break; - - default: - return (DefWindowProc(hWnd, message, wParam, lParam)); - } - return(0L); -} - \ No newline at end of file diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7396/SDK7396Int/7396INT.MAK b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7396/SDK7396Int/7396INT.MAK deleted file mode 100644 index 2127bcb..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7396/SDK7396Int/7396INT.MAK +++ /dev/null @@ -1,219 +0,0 @@ -# Microsoft Developer Studio Generated NMAKE File, Format Version 4.00 -# ** DO NOT EDIT ** - -# TARGTYPE "Win32 (x86) Application" 0x0101 - -!IF "$(CFG)" == "" -CFG=7396int - Win32 Debug -!MESSAGE No configuration specified. Defaulting to 7396int - Win32 Debug. -!ENDIF - -!IF "$(CFG)" != "7396int - Win32 Release" && "$(CFG)" !=\ - "7396int - Win32 Debug" -!MESSAGE Invalid configuration "$(CFG)" specified. -!MESSAGE You can specify a configuration when running NMAKE on this makefile -!MESSAGE by defining the macro CFG on the command line. For example: -!MESSAGE -!MESSAGE NMAKE /f "7396INT.MAK" CFG="7396int - Win32 Debug" -!MESSAGE -!MESSAGE Possible choices for configuration are: -!MESSAGE -!MESSAGE "7396int - Win32 Release" (based on "Win32 (x86) Application") -!MESSAGE "7396int - Win32 Debug" (based on "Win32 (x86) Application") -!MESSAGE -!ERROR An invalid configuration is specified. -!ENDIF - -!IF "$(OS)" == "Windows_NT" -NULL= -!ELSE -NULL=nul -!ENDIF -################################################################################ -# Begin Project -# PROP Target_Last_Scanned "7396int - Win32 Debug" -MTL=mktyplib.exe -CPP=cl.exe -RSC=rc.exe - -!IF "$(CFG)" == "7396int - Win32 Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "Release" -# PROP BASE Intermediate_Dir "Release" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "" -# PROP Intermediate_Dir "Release" -# PROP Target_Dir "" -OUTDIR=. -INTDIR=.\Release - -ALL : "$(OUTDIR)\7396INT.exe" - -CLEAN : - -@erase ".\7396INT.exe" - -@erase ".\Release\7396int.obj" - -@erase ".\Release\7396int.res" - -"$(INTDIR)" : - if not exist "$(INTDIR)/$(NULL)" mkdir "$(INTDIR)" - -# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /YX /c -# ADD CPP /nologo /W3 /GX /Od /I "..\..\..\include" /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /c -# SUBTRACT CPP /YX -CPP_PROJ=/nologo /ML /W3 /GX /Od /I "..\..\..\include" /D "WIN32" /D "NDEBUG"\ - /D "_WINDOWS" /Fo"$(INTDIR)/" /c -CPP_OBJS=.\Release/ -CPP_SBRS= -# ADD BASE MTL /nologo /D "NDEBUG" /win32 -# ADD MTL /nologo /D "NDEBUG" /win32 -MTL_PROJ=/nologo /D "NDEBUG" /win32 -# ADD BASE RSC /l 0x409 /d "NDEBUG" -# ADD RSC /l 0x409 /d "NDEBUG" -RSC_PROJ=/l 0x409 /fo"$(INTDIR)/7396int.res" /d "NDEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -BSC32_FLAGS=/nologo /o"$(OUTDIR)/7396INT.bsc" -BSC32_SBRS= -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:windows /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ..\..\..\lib\pci-dask.lib /nologo /subsystem:windows /machine:I386 -LINK32_FLAGS=kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib\ - advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib\ - odbccp32.lib ..\..\..\lib\pci-dask.lib /nologo /subsystem:windows\ - /incremental:no /pdb:"$(OUTDIR)/7396INT.pdb" /machine:I386\ - /out:"$(OUTDIR)/7396INT.exe" -LINK32_OBJS= \ - ".\Release\7396int.obj" \ - ".\Release\7396int.res" - -"$(OUTDIR)\7396INT.exe" : "$(OUTDIR)" $(DEF_FILE) $(LINK32_OBJS) - $(LINK32) @<< - $(LINK32_FLAGS) $(LINK32_OBJS) -<< - -!ELSEIF "$(CFG)" == "7396int - Win32 Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "Debug" -# PROP BASE Intermediate_Dir "Debug" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "" -# PROP Intermediate_Dir "Debug" -# PROP Target_Dir "" -OUTDIR=. -INTDIR=.\Debug - -ALL : "$(OUTDIR)\7396INT.exe" - -CLEAN : - -@erase ".\Debug\vc40.pdb" - -@erase ".\Debug\vc40.idb" - -@erase ".\7396INT.exe" - -@erase ".\Debug\7396int.obj" - -@erase ".\Debug\7396int.res" - -@erase ".\7396INT.ilk" - -@erase ".\7396INT.pdb" - -"$(INTDIR)" : - if not exist "$(INTDIR)/$(NULL)" mkdir "$(INTDIR)" - -# ADD BASE CPP /nologo /W3 /Gm /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /YX /c -# ADD CPP /nologo /W3 /Gm /GX /Zi /Od /I "..\..\..\include" /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /c -# SUBTRACT CPP /YX -CPP_PROJ=/nologo /MLd /W3 /Gm /GX /Zi /Od /I "..\..\..\include" /D "WIN32" /D\ - "_DEBUG" /D "_WINDOWS" /Fo"$(INTDIR)/" /Fd"$(INTDIR)/" /c -CPP_OBJS=.\Debug/ -CPP_SBRS= -# ADD BASE MTL /nologo /D "_DEBUG" /win32 -# ADD MTL /nologo /D "_DEBUG" /win32 -MTL_PROJ=/nologo /D "_DEBUG" /win32 -# ADD BASE RSC /l 0x409 /d "_DEBUG" -# ADD RSC /l 0x409 /d "_DEBUG" -RSC_PROJ=/l 0x409 /fo"$(INTDIR)/7396int.res" /d "_DEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -BSC32_FLAGS=/nologo /o"$(OUTDIR)/7396INT.bsc" -BSC32_SBRS= -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:windows /debug /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ..\..\..\lib\pci-dask.lib /nologo /subsystem:windows /debug /machine:I386 -LINK32_FLAGS=kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib\ - advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib\ - odbccp32.lib ..\..\..\lib\pci-dask.lib /nologo /subsystem:windows\ - /incremental:yes /pdb:"$(OUTDIR)/7396INT.pdb" /debug /machine:I386\ - /out:"$(OUTDIR)/7396INT.exe" -LINK32_OBJS= \ - ".\Debug\7396int.obj" \ - ".\Debug\7396int.res" - -"$(OUTDIR)\7396INT.exe" : "$(OUTDIR)" $(DEF_FILE) $(LINK32_OBJS) - $(LINK32) @<< - $(LINK32_FLAGS) $(LINK32_OBJS) -<< - -!ENDIF - -.c{$(CPP_OBJS)}.obj: - $(CPP) $(CPP_PROJ) $< - -.cpp{$(CPP_OBJS)}.obj: - $(CPP) $(CPP_PROJ) $< - -.cxx{$(CPP_OBJS)}.obj: - $(CPP) $(CPP_PROJ) $< - -.c{$(CPP_SBRS)}.sbr: - $(CPP) $(CPP_PROJ) $< - -.cpp{$(CPP_SBRS)}.sbr: - $(CPP) $(CPP_PROJ) $< - -.cxx{$(CPP_SBRS)}.sbr: - $(CPP) $(CPP_PROJ) $< - -################################################################################ -# Begin Target - -# Name "7396int - Win32 Release" -# Name "7396int - Win32 Debug" - -!IF "$(CFG)" == "7396int - Win32 Release" - -!ELSEIF "$(CFG)" == "7396int - Win32 Debug" - -!ENDIF - -################################################################################ -# Begin Source File - -SOURCE=.\7396int.rc - -"$(INTDIR)\7396int.res" : $(SOURCE) "$(INTDIR)" - $(RSC) $(RSC_PROJ) $(SOURCE) - - -# End Source File -################################################################################ -# Begin Source File - -SOURCE=.\7396int.c -DEP_CPP_7396I=\ - ".\..\..\..\include\Dask.h"\ - - -"$(INTDIR)\7396int.obj" : $(SOURCE) $(DEP_CPP_7396I) "$(INTDIR)" - - -# End Source File -# End Target -# End Project -################################################################################ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7396/SDK7396Int/7396int.exe b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7396/SDK7396Int/7396int.exe deleted file mode 100644 index cd0bbd7..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7396/SDK7396Int/7396int.exe and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7396/SDK7396Int/7396int.mdp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7396/SDK7396Int/7396int.mdp deleted file mode 100644 index 034ebca..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7396/SDK7396Int/7396int.mdp and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7396/SDK7396Int/7396int.rc b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7396/SDK7396Int/7396int.rc deleted file mode 100644 index 7281e15..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7396/SDK7396Int/7396int.rc +++ /dev/null @@ -1,125 +0,0 @@ -//Microsoft Developer Studio generated resource script. -// -#include "resource.h" - -#define APSTUDIO_READONLY_SYMBOLS -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 2 resource. -// -#define APSTUDIO_HIDDEN_SYMBOLS -#include "windows.h" -#undef APSTUDIO_HIDDEN_SYMBOLS - -///////////////////////////////////////////////////////////////////////////// -#undef APSTUDIO_READONLY_SYMBOLS - -///////////////////////////////////////////////////////////////////////////// -// English (U.S.) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -#ifdef _WIN32 -LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US -#pragma code_page(1252) -#endif //_WIN32 - -#ifdef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// TEXTINCLUDE -// - -1 TEXTINCLUDE DISCARDABLE -BEGIN - "resource.h\0" -END - -2 TEXTINCLUDE DISCARDABLE -BEGIN - "#define APSTUDIO_HIDDEN_SYMBOLS\r\n" - "#include ""windows.h""\r\n" - "#undef APSTUDIO_HIDDEN_SYMBOLS\r\n" - "\0" -END - -3 TEXTINCLUDE DISCARDABLE -BEGIN - "\r\n" - "\0" -END - -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// Menu -// - -INTMENU MENU DISCARDABLE -BEGIN - MENUITEM "Setup", IDM_SETUP - MENUITEM "Interrupt Trigger", IDM_GO - MENUITEM "Exit", IDM_CLEAR -END - - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog -// - -IDD_DIALOG1 DIALOG DISCARDABLE 0, 0, 133, 105 -STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "Setup Dialog" -FONT 10, "System" -BEGIN - DEFPUSHBUTTON "OK",IDOK,7,86,47,14 - PUSHBUTTON "Cancel",IDCANCEL,72,86,45,14 - LTEXT "Total Count",IDC_STATIC,7,33,53,12 - LTEXT "Sampling Rate",IDC_STATIC,7,59,53,12 - EDITTEXT IDC_EDIT1,60,32,63,15,ES_AUTOHSCROLL - EDITTEXT IDC_EDIT2,60,56,63,15,ES_AUTOHSCROLL - LTEXT "Card Number",IDC_STATIC,7,12,48,13 - COMBOBOX IDC_COMBO1,60,12,63,84,CBS_DROPDOWN | WS_VSCROLL | - WS_TABSTOP -END - - -///////////////////////////////////////////////////////////////////////////// -// -// DESIGNINFO -// - -#ifdef APSTUDIO_INVOKED -GUIDELINES DESIGNINFO DISCARDABLE -BEGIN - IDD_DIALOG1, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 123 - VERTGUIDE, 7 - VERTGUIDE, 60 - TOPMARGIN, 4 - BOTTOMMARGIN, 100 - HORZGUIDE, 71 - HORZGUIDE, 87 - END -END -#endif // APSTUDIO_INVOKED - -#endif // English (U.S.) resources -///////////////////////////////////////////////////////////////////////////// - - - -#ifndef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 3 resource. -// - - -///////////////////////////////////////////////////////////////////////////// -#endif // not APSTUDIO_INVOKED - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7396/SDK7396Int/Resource.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7396/SDK7396Int/Resource.h deleted file mode 100644 index 5a22550..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7396/SDK7396Int/Resource.h +++ /dev/null @@ -1,26 +0,0 @@ -//{{NO_DEPENDENCIES}} -// Microsoft Developer Studio generated include file. -// Used by 7296int.rc -// -#define IDM_SETUP 101 -#define IDD_DIALOG1 101 -#define IDM_EXIT 110 -#define IDM_GO 300 -#define ID_STOP 304 -#define IDM_CLEAR 305 -#define IDC_COMBO1 1004 -#define IDC_COMBO2 1005 -#define IDC_EDIT1 1007 -#define IDC_EDIT2 1008 -#define IDC_STATIC -1 - -// Next default values for new objects -// -#ifdef APSTUDIO_INVOKED -#ifndef APSTUDIO_READONLY_SYMBOLS -#define _APS_NEXT_RESOURCE_VALUE 103 -#define _APS_NEXT_COMMAND_VALUE 102 -#define _APS_NEXT_CONTROL_VALUE 1008 -#define _APS_NEXT_SYMED_VALUE 101 -#endif -#endif diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7396/SDK7396IntMsg/7396INT.C b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7396/SDK7396IntMsg/7396INT.C deleted file mode 100644 index 27d1d9c..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7396/SDK7396IntMsg/7396INT.C +++ /dev/null @@ -1,335 +0,0 @@ -/*;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; -;; Copyright (c) 1995-1999, ADLink Technology Inc. All rights reserved. ;; -;; ;; -;; File Name : 7396INT.C ;; -;; Purpose : This sample program demonstrates how to DIO through;; -;; interrupt operation ;; -;; Date : 07/01/1999 ;; -;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;*/ - - #include - #include - #include - #include - #include "Dask.h" - - #define IDM_SETUP 101 - #define IDD_DIALOG1 101 - #define IDM_EXIT 110 - #define IDM_GO 300 - #define IDM_CLEAR 305 - #define IDC_COMBO1 1004 - #define IDC_COMBO2 1005 - #define IDC_EDIT1 1007 - #define IDC_EDIT2 1008 - #define WM_INT 2000 - - HANDLE hInst; /* current instance */ - HWND hMainWnd; - I16 card=-1, card_number = 0; - - int total_count =40; - int sample_rate=20000; - unsigned int buffer[32768], in_buffer[32768]; - char Buf[80]; - int c1=20,c2=20; - int int_count =0; - - int PASCAL WinMain(HANDLE, HANDLE, LPSTR, int); - BOOL InitApplication(HANDLE); - BOOL InitInstance(HANDLE, int); - long PASCAL MainWndProc(HWND, unsigned, WPARAM, LPARAM); - BOOL PASCAL About(HWND, unsigned, WPARAM, LPARAM); - BOOL PASCAL ShowDMA(HWND, unsigned, WPARAM, LPARAM); - void mesgfn(); - - /********************************************************************** - - FUNCTION: WinMain(HANDLE, HANDLE, LPSTR, int) - PURPOSE: calls initialization function, processes message loop - - ***********************************************************************/ - - int PASCAL WinMain(hInstance, hPrevInstance, lpCmdLine, nCmdShow) - - HANDLE hInstance; - HANDLE hPrevInstance; - LPSTR lpCmdLine; - int nCmdShow; - - { - MSG msg; - - if(!hPrevInstance) - if(!InitApplication(hInstance)) - return(FALSE); - - if(!InitInstance(hInstance, nCmdShow)) - return(FALSE); - - while ( GetMessage(&msg, NULL, NULL, NULL)) - { - TranslateMessage(&msg); - DispatchMessage(&msg); - } - return(msg.wParam); - } - -/**************************************************************************** - - FUNCTION: InitApplication(HANDLE) - - PURPOSE: Initializes window data and registers window class - -****************************************************************************/ - -BOOL InitApplication(hInstance) -HANDLE hInstance; -{ - WNDCLASS wc; - - wc.style = NULL; - wc.lpfnWndProc = MainWndProc; - wc.cbClsExtra = 0; - wc.cbWndExtra = 0; - wc.hInstance = hInstance; - wc.hIcon = LoadIcon(NULL, IDI_APPLICATION); - wc.hCursor = LoadCursor(hInstance, IDC_ARROW); - wc.hbrBackground = GetStockObject(WHITE_BRUSH); - wc.lpszMenuName = "IntMenu"; - wc.lpszClassName = "IntClass"; - - return (RegisterClass(&wc)); -} - -/**************************************************************************** - - FUNCTION: InitInstance(HANDLE, int) - - PURPOSE: Saves instance handle and creates main window - -****************************************************************************/ - -BOOL InitInstance(hInstance, nCmdShow) -HANDLE hInstance; -int nCmdShow; -{ - HWND hWnd; - - hInst = hInstance; - hWnd = CreateWindow("IntClass", - "PCI-7396 Interrupt Samples", - WS_OVERLAPPEDWINDOW, - 200, - 100, - 375, - 370, - NULL, - NULL, - hInstance, - NULL); - - if (!hWnd) return (FALSE); - ShowWindow(hWnd, nCmdShow); - UpdateWindow(hWnd); - return (TRUE); -} - - -BOOL PASCAL setup(HWND hWnd, unsigned message, WPARAM wParam, LPARAM lParam) -{ - int i,k=0; - char n[16]; - char s[50]; - BOOL ok; - - - switch (message) { - case WM_INITDIALOG: - for (i=0;i<16;i++) { - wsprintf(n, "%d", i); - _strupr(n); - SendMessage(GetDlgItem(hWnd,IDC_COMBO1), CB_ADDSTRING, NULL, (LONG)(LPSTR) n); - } - SendMessage(GetDlgItem(hWnd,IDC_COMBO1) , CB_SETCURSEL, 0, 0L); - if(card >=0) - EnableWindow(GetDlgItem(hWnd,IDC_COMBO1), FALSE); - SendMessage(GetDlgItem(hWnd,IDC_EDIT2) , WM_SETTEXT, 0, "5000"); - SendMessage(GetDlgItem(hWnd,IDC_EDIT1) , WM_SETTEXT, 0, "40"); - - break; - case WM_COMMAND: - switch(LOWORD(wParam)) { - case IDC_COMBO1: - if (HIWORD(wParam) == CBN_CLOSEUP) { - i = (int)SendMessage(GetDlgItem(hWnd,IDC_COMBO1), CB_GETCURSEL, 0, 0L); - SendMessage(GetDlgItem(hWnd,IDC_COMBO1), CB_GETLBTEXT, i, (LPARAM)((LPCSTR)n)); - card_number = i; - } - return(TRUE); - case IDOK: - if (card < 0) { - if ((card=Register_Card(PCI_7396,card_number))< 0) { - wsprintf(s, "Register_Card Error = %d\n", card); - MessageBox(hWnd, s, "Error", MB_OK); - } - } - total_count = GetDlgItemInt(hWnd,IDC_EDIT1, &ok, FALSE); - if (total_count > 32768) { - MessageBox(hWnd,"Count can be assigned at most 32768", "INT", MB_OK); - break; - } - for (i=0;i255) k=0; - } - for (i=0;i 15000 ) sample_rate=15000; - c2=2000000/(sample_rate*c1); - - EndDialog(hWnd, TRUE); - return (TRUE); - case IDCANCEL: - EndDialog(hWnd, TRUE); - return (TRUE); - } - break; - } - return (FALSE); -} - -/**************************************************************************** - - FUNCTION: MainWndProc(HWND, UINT, WPARAM, LPARAM) - - PURPOSE: Processes messages - - -****************************************************************************/ - -long PASCAL MainWndProc(hWnd, message, wParam, lParam) -HWND hWnd; -unsigned message; -WPARAM wParam; -LPARAM lParam; -{ - int cur_count=0; - HDC hDC1; - PAINTSTRUCT ps; - FARPROC lpProc; - - hMainWnd = hWnd; - switch(message) { - - case WM_CREATE: - break; - case WM_PAINT: - hDC1=BeginPaint(hWnd, &ps); - wsprintf(Buf,"This program performs digital output on Port A of"); - TextOut(hDC1,20,10,Buf,strlen(Buf)); - wsprintf(Buf,"P2 and digital input on Port A of P1 when an"); - TextOut(hDC1,20,30,Buf,strlen(Buf)); - wsprintf(Buf,"interrupt happens. The INT2 is used, and interrupt"); - TextOut(hDC1,20,50,Buf,strlen(Buf)); - wsprintf(Buf,"signals are generated by internal Timer Output."); - TextOut(hDC1,20,70,Buf,strlen(Buf)); - SetTextColor(hDC1, RGB(255,0,0)); - wsprintf(Buf,"Push 'Setup' button first ..."); - TextOut(hDC1,20,90,Buf,strlen(Buf)); - EndPaint(hWnd, &ps); - break; - case WM_COMMAND: - switch(wParam) { - case IDM_SETUP: - lpProc = MakeProcInstance(setup, hInst); - DialogBox(hInst,IDD_DIALOG1,hWnd,lpProc); - FreeProcInstance(lpProc); - if(card<0) - SendMessage(hWnd, WM_CLOSE, 0, 0L); - break; - - case IDM_GO: - // Interrupt Trigger - int_count=0; - DIO_PortConfig(card,Channel_P1A, INPUT_PORT); - DIO_PortConfig(card,Channel_P2A, OUTPUT_PORT); - DIO_INT2_EventMessage (card, INT2_TIMER_COUNTER, hWnd, WM_INT, NULL); - CTR_Setup (card, 1, 2, c1, BIN); - CTR_Setup (card, 2, 2, c2, BIN); - break; - - case IDM_CLEAR : - PostQuitMessage(0); - break; - } - break; - case WM_INT: - mesgfn(); - break; - case WM_DESTROY: - if (card >= 0) Release_Card(card); - PostQuitMessage(0); - break; - - default: - return (DefWindowProc(hWnd, message, wParam, lParam)); - } - return(0L); -} - -void mesgfn() -{ - HDC hDC; - int i; - - hDC=GetDC(hMainWnd); - if(int_count =10 && i<20) { - wsprintf(Buf,"%d, ",in_buffer[i]); - TextOut(hDC,20+25*(i-10),210,Buf,strlen(Buf)); - } - if(i>=20 && i<30) { - wsprintf(Buf,"%d, ",in_buffer[i]); - TextOut(hDC,20+25*(i-20),235,Buf,strlen(Buf)); - } - if (i>=30 && i<40) { - wsprintf(Buf,"%d, ",in_buffer[i]); - TextOut(hDC,20+25*(i-30),260,Buf,strlen(Buf)); - } - if (i>=40 && i<50) { - wsprintf(Buf,"%d, ",in_buffer[i]); - TextOut(hDC,20+25*(i-40),285,Buf,strlen(Buf)); - } - } - ReleaseDC(hMainWnd, hDC); - } -} diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7396/SDK7396IntMsg/7396INT.MAK b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7396/SDK7396IntMsg/7396INT.MAK deleted file mode 100644 index 2127bcb..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7396/SDK7396IntMsg/7396INT.MAK +++ /dev/null @@ -1,219 +0,0 @@ -# Microsoft Developer Studio Generated NMAKE File, Format Version 4.00 -# ** DO NOT EDIT ** - -# TARGTYPE "Win32 (x86) Application" 0x0101 - -!IF "$(CFG)" == "" -CFG=7396int - Win32 Debug -!MESSAGE No configuration specified. Defaulting to 7396int - Win32 Debug. -!ENDIF - -!IF "$(CFG)" != "7396int - Win32 Release" && "$(CFG)" !=\ - "7396int - Win32 Debug" -!MESSAGE Invalid configuration "$(CFG)" specified. -!MESSAGE You can specify a configuration when running NMAKE on this makefile -!MESSAGE by defining the macro CFG on the command line. For example: -!MESSAGE -!MESSAGE NMAKE /f "7396INT.MAK" CFG="7396int - Win32 Debug" -!MESSAGE -!MESSAGE Possible choices for configuration are: -!MESSAGE -!MESSAGE "7396int - Win32 Release" (based on "Win32 (x86) Application") -!MESSAGE "7396int - Win32 Debug" (based on "Win32 (x86) Application") -!MESSAGE -!ERROR An invalid configuration is specified. -!ENDIF - -!IF "$(OS)" == "Windows_NT" -NULL= -!ELSE -NULL=nul -!ENDIF -################################################################################ -# Begin Project -# PROP Target_Last_Scanned "7396int - Win32 Debug" -MTL=mktyplib.exe -CPP=cl.exe -RSC=rc.exe - -!IF "$(CFG)" == "7396int - Win32 Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "Release" -# PROP BASE Intermediate_Dir "Release" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "" -# PROP Intermediate_Dir "Release" -# PROP Target_Dir "" -OUTDIR=. -INTDIR=.\Release - -ALL : "$(OUTDIR)\7396INT.exe" - -CLEAN : - -@erase ".\7396INT.exe" - -@erase ".\Release\7396int.obj" - -@erase ".\Release\7396int.res" - -"$(INTDIR)" : - if not exist "$(INTDIR)/$(NULL)" mkdir "$(INTDIR)" - -# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /YX /c -# ADD CPP /nologo /W3 /GX /Od /I "..\..\..\include" /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /c -# SUBTRACT CPP /YX -CPP_PROJ=/nologo /ML /W3 /GX /Od /I "..\..\..\include" /D "WIN32" /D "NDEBUG"\ - /D "_WINDOWS" /Fo"$(INTDIR)/" /c -CPP_OBJS=.\Release/ -CPP_SBRS= -# ADD BASE MTL /nologo /D "NDEBUG" /win32 -# ADD MTL /nologo /D "NDEBUG" /win32 -MTL_PROJ=/nologo /D "NDEBUG" /win32 -# ADD BASE RSC /l 0x409 /d "NDEBUG" -# ADD RSC /l 0x409 /d "NDEBUG" -RSC_PROJ=/l 0x409 /fo"$(INTDIR)/7396int.res" /d "NDEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -BSC32_FLAGS=/nologo /o"$(OUTDIR)/7396INT.bsc" -BSC32_SBRS= -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:windows /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ..\..\..\lib\pci-dask.lib /nologo /subsystem:windows /machine:I386 -LINK32_FLAGS=kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib\ - advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib\ - odbccp32.lib ..\..\..\lib\pci-dask.lib /nologo /subsystem:windows\ - /incremental:no /pdb:"$(OUTDIR)/7396INT.pdb" /machine:I386\ - /out:"$(OUTDIR)/7396INT.exe" -LINK32_OBJS= \ - ".\Release\7396int.obj" \ - ".\Release\7396int.res" - -"$(OUTDIR)\7396INT.exe" : "$(OUTDIR)" $(DEF_FILE) $(LINK32_OBJS) - $(LINK32) @<< - $(LINK32_FLAGS) $(LINK32_OBJS) -<< - -!ELSEIF "$(CFG)" == "7396int - Win32 Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "Debug" -# PROP BASE Intermediate_Dir "Debug" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "" -# PROP Intermediate_Dir "Debug" -# PROP Target_Dir "" -OUTDIR=. -INTDIR=.\Debug - -ALL : "$(OUTDIR)\7396INT.exe" - -CLEAN : - -@erase ".\Debug\vc40.pdb" - -@erase ".\Debug\vc40.idb" - -@erase ".\7396INT.exe" - -@erase ".\Debug\7396int.obj" - -@erase ".\Debug\7396int.res" - -@erase ".\7396INT.ilk" - -@erase ".\7396INT.pdb" - -"$(INTDIR)" : - if not exist "$(INTDIR)/$(NULL)" mkdir "$(INTDIR)" - -# ADD BASE CPP /nologo /W3 /Gm /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /YX /c -# ADD CPP /nologo /W3 /Gm /GX /Zi /Od /I "..\..\..\include" /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /c -# SUBTRACT CPP /YX -CPP_PROJ=/nologo /MLd /W3 /Gm /GX /Zi /Od /I "..\..\..\include" /D "WIN32" /D\ - "_DEBUG" /D "_WINDOWS" /Fo"$(INTDIR)/" /Fd"$(INTDIR)/" /c -CPP_OBJS=.\Debug/ -CPP_SBRS= -# ADD BASE MTL /nologo /D "_DEBUG" /win32 -# ADD MTL /nologo /D "_DEBUG" /win32 -MTL_PROJ=/nologo /D "_DEBUG" /win32 -# ADD BASE RSC /l 0x409 /d "_DEBUG" -# ADD RSC /l 0x409 /d "_DEBUG" -RSC_PROJ=/l 0x409 /fo"$(INTDIR)/7396int.res" /d "_DEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -BSC32_FLAGS=/nologo /o"$(OUTDIR)/7396INT.bsc" -BSC32_SBRS= -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:windows /debug /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ..\..\..\lib\pci-dask.lib /nologo /subsystem:windows /debug /machine:I386 -LINK32_FLAGS=kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib\ - advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib\ - odbccp32.lib ..\..\..\lib\pci-dask.lib /nologo /subsystem:windows\ - /incremental:yes /pdb:"$(OUTDIR)/7396INT.pdb" /debug /machine:I386\ - /out:"$(OUTDIR)/7396INT.exe" -LINK32_OBJS= \ - ".\Debug\7396int.obj" \ - ".\Debug\7396int.res" - -"$(OUTDIR)\7396INT.exe" : "$(OUTDIR)" $(DEF_FILE) $(LINK32_OBJS) - $(LINK32) @<< - $(LINK32_FLAGS) $(LINK32_OBJS) -<< - -!ENDIF - -.c{$(CPP_OBJS)}.obj: - $(CPP) $(CPP_PROJ) $< - -.cpp{$(CPP_OBJS)}.obj: - $(CPP) $(CPP_PROJ) $< - -.cxx{$(CPP_OBJS)}.obj: - $(CPP) $(CPP_PROJ) $< - -.c{$(CPP_SBRS)}.sbr: - $(CPP) $(CPP_PROJ) $< - -.cpp{$(CPP_SBRS)}.sbr: - $(CPP) $(CPP_PROJ) $< - -.cxx{$(CPP_SBRS)}.sbr: - $(CPP) $(CPP_PROJ) $< - -################################################################################ -# Begin Target - -# Name "7396int - Win32 Release" -# Name "7396int - Win32 Debug" - -!IF "$(CFG)" == "7396int - Win32 Release" - -!ELSEIF "$(CFG)" == "7396int - Win32 Debug" - -!ENDIF - -################################################################################ -# Begin Source File - -SOURCE=.\7396int.rc - -"$(INTDIR)\7396int.res" : $(SOURCE) "$(INTDIR)" - $(RSC) $(RSC_PROJ) $(SOURCE) - - -# End Source File -################################################################################ -# Begin Source File - -SOURCE=.\7396int.c -DEP_CPP_7396I=\ - ".\..\..\..\include\Dask.h"\ - - -"$(INTDIR)\7396int.obj" : $(SOURCE) $(DEP_CPP_7396I) "$(INTDIR)" - - -# End Source File -# End Target -# End Project -################################################################################ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7396/SDK7396IntMsg/7396int.exe b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7396/SDK7396IntMsg/7396int.exe deleted file mode 100644 index b7ae242..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7396/SDK7396IntMsg/7396int.exe and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7396/SDK7396IntMsg/7396int.mdp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7396/SDK7396IntMsg/7396int.mdp deleted file mode 100644 index b1ab29f..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7396/SDK7396IntMsg/7396int.mdp and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7396/SDK7396IntMsg/7396int.rc b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7396/SDK7396IntMsg/7396int.rc deleted file mode 100644 index 7281e15..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7396/SDK7396IntMsg/7396int.rc +++ /dev/null @@ -1,125 +0,0 @@ -//Microsoft Developer Studio generated resource script. -// -#include "resource.h" - -#define APSTUDIO_READONLY_SYMBOLS -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 2 resource. -// -#define APSTUDIO_HIDDEN_SYMBOLS -#include "windows.h" -#undef APSTUDIO_HIDDEN_SYMBOLS - -///////////////////////////////////////////////////////////////////////////// -#undef APSTUDIO_READONLY_SYMBOLS - -///////////////////////////////////////////////////////////////////////////// -// English (U.S.) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -#ifdef _WIN32 -LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US -#pragma code_page(1252) -#endif //_WIN32 - -#ifdef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// TEXTINCLUDE -// - -1 TEXTINCLUDE DISCARDABLE -BEGIN - "resource.h\0" -END - -2 TEXTINCLUDE DISCARDABLE -BEGIN - "#define APSTUDIO_HIDDEN_SYMBOLS\r\n" - "#include ""windows.h""\r\n" - "#undef APSTUDIO_HIDDEN_SYMBOLS\r\n" - "\0" -END - -3 TEXTINCLUDE DISCARDABLE -BEGIN - "\r\n" - "\0" -END - -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// Menu -// - -INTMENU MENU DISCARDABLE -BEGIN - MENUITEM "Setup", IDM_SETUP - MENUITEM "Interrupt Trigger", IDM_GO - MENUITEM "Exit", IDM_CLEAR -END - - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog -// - -IDD_DIALOG1 DIALOG DISCARDABLE 0, 0, 133, 105 -STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "Setup Dialog" -FONT 10, "System" -BEGIN - DEFPUSHBUTTON "OK",IDOK,7,86,47,14 - PUSHBUTTON "Cancel",IDCANCEL,72,86,45,14 - LTEXT "Total Count",IDC_STATIC,7,33,53,12 - LTEXT "Sampling Rate",IDC_STATIC,7,59,53,12 - EDITTEXT IDC_EDIT1,60,32,63,15,ES_AUTOHSCROLL - EDITTEXT IDC_EDIT2,60,56,63,15,ES_AUTOHSCROLL - LTEXT "Card Number",IDC_STATIC,7,12,48,13 - COMBOBOX IDC_COMBO1,60,12,63,84,CBS_DROPDOWN | WS_VSCROLL | - WS_TABSTOP -END - - -///////////////////////////////////////////////////////////////////////////// -// -// DESIGNINFO -// - -#ifdef APSTUDIO_INVOKED -GUIDELINES DESIGNINFO DISCARDABLE -BEGIN - IDD_DIALOG1, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 123 - VERTGUIDE, 7 - VERTGUIDE, 60 - TOPMARGIN, 4 - BOTTOMMARGIN, 100 - HORZGUIDE, 71 - HORZGUIDE, 87 - END -END -#endif // APSTUDIO_INVOKED - -#endif // English (U.S.) resources -///////////////////////////////////////////////////////////////////////////// - - - -#ifndef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 3 resource. -// - - -///////////////////////////////////////////////////////////////////////////// -#endif // not APSTUDIO_INVOKED - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7396/SDK7396IntMsg/Resource.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7396/SDK7396IntMsg/Resource.h deleted file mode 100644 index 5a22550..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7396/SDK7396IntMsg/Resource.h +++ /dev/null @@ -1,26 +0,0 @@ -//{{NO_DEPENDENCIES}} -// Microsoft Developer Studio generated include file. -// Used by 7296int.rc -// -#define IDM_SETUP 101 -#define IDD_DIALOG1 101 -#define IDM_EXIT 110 -#define IDM_GO 300 -#define ID_STOP 304 -#define IDM_CLEAR 305 -#define IDC_COMBO1 1004 -#define IDC_COMBO2 1005 -#define IDC_EDIT1 1007 -#define IDC_EDIT2 1008 -#define IDC_STATIC -1 - -// Next default values for new objects -// -#ifdef APSTUDIO_INVOKED -#ifndef APSTUDIO_READONLY_SYMBOLS -#define _APS_NEXT_RESOURCE_VALUE 103 -#define _APS_NEXT_COMMAND_VALUE 102 -#define _APS_NEXT_CONTROL_VALUE 1008 -#define _APS_NEXT_SYMED_VALUE 101 -#endif -#endif diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7396/VB7396/7396glbl.bas b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7396/VB7396/7396glbl.bas deleted file mode 100644 index 77a2e7f..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7396/VB7396/7396glbl.bas +++ /dev/null @@ -1,4 +0,0 @@ -Attribute VB_Name = "Module1" -Global card As Integer -Global card_number As Integer - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7396/VB7396/Base7396.frm b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7396/VB7396/Base7396.frm deleted file mode 100644 index 779e0ca..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7396/VB7396/Base7396.frm +++ /dev/null @@ -1,104 +0,0 @@ -VERSION 4.00 -Begin VB.Form SettingForm - Appearance = 0 'Flat - BackColor = &H00C0C0C0& - Caption = "Card Number Setting" - ClientHeight = 1275 - ClientLeft = 4590 - ClientTop = 4545 - ClientWidth = 2820 - BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851} - Name = "MS Sans Serif" - Size = 8.25 - Charset = 0 - Weight = 700 - Underline = 0 'False - Italic = 0 'False - Strikethrough = 0 'False - EndProperty - ForeColor = &H80000008& - Height = 1680 - Left = 4530 - LinkTopic = "Form2" - ScaleHeight = 1275 - ScaleWidth = 2820 - Top = 4200 - Width = 2940 - Begin VB.CommandButton OKBtn - Appearance = 0 'Flat - BackColor = &H80000005& - Caption = "OK" - Default = -1 'True - Height = 315 - Left = 300 - TabIndex = 0 - Top = 720 - Width = 915 - End - Begin VB.CommandButton CancelBtn - Appearance = 0 'Flat - BackColor = &H80000005& - Cancel = -1 'True - Caption = "Cancel" - Height = 315 - Left = 1380 - TabIndex = 3 - Top = 720 - Width = 915 - End - Begin VB.ComboBox CardNum - Appearance = 0 'Flat - Height = 300 - Left = 1440 - Style = 2 'Dropdown List - TabIndex = 2 - Top = 120 - Width = 1035 - End - Begin VB.Label Label2 - Appearance = 0 'Flat - BackColor = &H00C0C0C0& - Caption = "Card Number:" - ForeColor = &H00000000& - Height = 195 - Index = 0 - Left = 180 - TabIndex = 1 - Top = 180 - Width = 1275 - End -End -Attribute VB_Name = "SettingForm" -Attribute VB_Creatable = False -Attribute VB_Exposed = False - - -Private Sub BaseAddr_Change() - -End Sub - - -Private Sub CancelBtn_Click() - Unload SettingForm -End Sub - -Private Sub CardNum_Change() - -End Sub - - -Private Sub Form_Load() - Dim i As Long - For i = 0 To 15 Step 1 - CardNum.AddItem i - Next - CardNum.ListIndex = 0 -End Sub - -Private Sub OKBtn_Click() - card = -1 - card_number = CardNum.ListIndex - card = Register_Card(PCI_7396, card_number) - Unload SettingForm -End Sub - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7396/VB7396/DIA_1.BMP b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7396/VB7396/DIA_1.BMP deleted file mode 100644 index 5b799e3..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7396/VB7396/DIA_1.BMP and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7396/VB7396/DIB_1.BMP b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7396/VB7396/DIB_1.BMP deleted file mode 100644 index 5d46b17..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7396/VB7396/DIB_1.BMP and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7396/VB7396/DIC_1.BMP b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7396/VB7396/DIC_1.BMP deleted file mode 100644 index f4d15c0..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7396/VB7396/DIC_1.BMP and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7396/VB7396/DI_0.BMP b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7396/VB7396/DI_0.BMP deleted file mode 100644 index 66e3384..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7396/VB7396/DI_0.BMP and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7396/VB7396/DI_1.BMP b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7396/VB7396/DI_1.BMP deleted file mode 100644 index d7da598..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7396/VB7396/DI_1.BMP and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7396/VB7396/DOA_1.BMP b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7396/VB7396/DOA_1.BMP deleted file mode 100644 index 5edd2df..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7396/VB7396/DOA_1.BMP and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7396/VB7396/DOB_1.BMP b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7396/VB7396/DOB_1.BMP deleted file mode 100644 index b5189d7..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7396/VB7396/DOB_1.BMP and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7396/VB7396/DOC_1.BMP b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7396/VB7396/DOC_1.BMP deleted file mode 100644 index 30f909f..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7396/VB7396/DOC_1.BMP and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7396/VB7396/DO_0.BMP b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7396/VB7396/DO_0.BMP deleted file mode 100644 index 81b0c50..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7396/VB7396/DO_0.BMP and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7396/VB7396/DO_1.BMP b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7396/VB7396/DO_1.BMP deleted file mode 100644 index 30f909f..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7396/VB7396/DO_1.BMP and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7396/VB7396/INPUT.BMP b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7396/VB7396/INPUT.BMP deleted file mode 100644 index b795ac8..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7396/VB7396/INPUT.BMP and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7396/VB7396/OUTPUT.BMP b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7396/VB7396/OUTPUT.BMP deleted file mode 100644 index 8907a70..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7396/VB7396/OUTPUT.BMP and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7396/VB7396/Util7396.Vbp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7396/VB7396/Util7396.Vbp deleted file mode 100644 index 969607c..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7396/VB7396/Util7396.Vbp +++ /dev/null @@ -1,20 +0,0 @@ -Form=UTIL7396.FRM -Module=DASK; ..\..\..\Include\Dask.bas -Module=Module1; 7396glbl.bas -Form=Base7396.frm -Reference=*\G{00025E04-0000-0000-C000-000000000046}#2.5#0#C:\PROGRAM FILES\COMMON FILES\MICROSOFT SHARED\DC:\PROGRAM FIL#Microsoft DAO 2.5/3.0 Compatibility Library -ProjWinSize=113,567,248,215 -ProjWinShow=2 -IconForm="Util7396" -ExeName32="Util7396.exe" -Name="vb4projectutil7396" -HelpContextID="0" -StartMode=0 -VersionCompatible32="0" -VersionCompatible="0" -MajorVer=1 -MinorVer=0 -RevisionVer=0 -AutoIncrementVer=0 -ServerSupportFiles=0 -VersionCompanyName="ADLINK" diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7396/VB7396/Util7396.frm b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7396/VB7396/Util7396.frm deleted file mode 100644 index 7ecfdb3..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7396/VB7396/Util7396.frm +++ /dev/null @@ -1,1677 +0,0 @@ -VERSION 4.00 -Begin VB.Form Util7396 - Appearance = 0 'Flat - BackColor = &H00C0C0C0& - Caption = "PCI-7396 Sample Program" - ClientHeight = 2670 - ClientLeft = 570 - ClientTop = 2265 - ClientWidth = 7710 - BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851} - Name = "MS Sans Serif" - Size = 8.25 - Charset = 0 - Weight = 700 - Underline = 0 'False - Italic = 0 'False - Strikethrough = 0 'False - EndProperty - ForeColor = &H80000008& - Height = 3360 - Left = 510 - LinkTopic = "Form1" - ScaleHeight = 2670 - ScaleWidth = 7710 - Top = 1635 - Width = 7830 - Begin VB.Frame Frame1 - Appearance = 0 'Flat - BackColor = &H00C0C0C0& - Caption = "Port C" - BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851} - Name = "Times New Roman" - Size = 8.25 - Charset = 0 - Weight = 400 - Underline = 0 'False - Italic = 0 'False - Strikethrough = 0 'False - EndProperty - ForeColor = &H00FF0000& - Height = 2355 - Index = 2 - Left = 5160 - TabIndex = 6 - Top = 120 - Width = 2115 - Begin VB.Image bit_c - Appearance = 0 'Flat - Height = 180 - Index = 0 - Left = 1590 - Picture = "UTIL7396.frx":0000 - Top = 480 - Width = 180 - End - Begin VB.Image bit_c - Appearance = 0 'Flat - Height = 180 - Index = 1 - Left = 1380 - Picture = "UTIL7396.frx":00E2 - Top = 480 - Width = 180 - End - Begin VB.Image bit_c - Appearance = 0 'Flat - Height = 180 - Index = 2 - Left = 1170 - Picture = "UTIL7396.frx":01C4 - Top = 480 - Width = 180 - End - Begin VB.Image bit_c - Appearance = 0 'Flat - Height = 180 - Index = 3 - Left = 960 - Picture = "UTIL7396.frx":02A6 - Top = 480 - Width = 180 - End - Begin VB.Image bit_c - Appearance = 0 'Flat - Height = 180 - Index = 4 - Left = 750 - Picture = "UTIL7396.frx":0388 - Top = 480 - Width = 180 - End - Begin VB.Image bit_c - Appearance = 0 'Flat - Height = 180 - Index = 5 - Left = 540 - Picture = "UTIL7396.frx":046A - Top = 480 - Width = 180 - End - Begin VB.Image bit_c - Appearance = 0 'Flat - Height = 180 - Index = 6 - Left = 360 - Picture = "UTIL7396.frx":054C - Top = 480 - Width = 180 - End - Begin VB.Image bit_c - Appearance = 0 'Flat - Height = 180 - Index = 7 - Left = 120 - Picture = "UTIL7396.frx":062E - Top = 480 - Width = 180 - End - Begin VB.Image bit_c - Appearance = 0 'Flat - Height = 180 - Index = 8 - Left = 1590 - Picture = "UTIL7396.frx":0710 - Top = 960 - Width = 180 - End - Begin VB.Image bit_c - Appearance = 0 'Flat - Height = 180 - Index = 9 - Left = 1380 - Picture = "UTIL7396.frx":07F2 - Top = 960 - Width = 180 - End - Begin VB.Image bit_c - Appearance = 0 'Flat - Height = 180 - Index = 10 - Left = 1170 - Picture = "UTIL7396.frx":08D4 - Top = 960 - Width = 180 - End - Begin VB.Image bit_c - Appearance = 0 'Flat - Height = 180 - Index = 11 - Left = 960 - Picture = "UTIL7396.frx":09B6 - Top = 960 - Width = 180 - End - Begin VB.Image bit_c - Appearance = 0 'Flat - Height = 180 - Index = 12 - Left = 750 - Picture = "UTIL7396.frx":0A98 - Top = 960 - Width = 180 - End - Begin VB.Image bit_c - Appearance = 0 'Flat - Height = 180 - Index = 13 - Left = 540 - Picture = "UTIL7396.frx":0B7A - Top = 960 - Width = 180 - End - Begin VB.Image bit_c - Appearance = 0 'Flat - Height = 180 - Index = 14 - Left = 330 - Picture = "UTIL7396.frx":0C5C - Top = 960 - Width = 180 - End - Begin VB.Image bit_c - Appearance = 0 'Flat - Height = 180 - Index = 15 - Left = 120 - Picture = "UTIL7396.frx":0D3E - Top = 960 - Width = 180 - End - Begin VB.Image input_c - Appearance = 0 'Flat - Height = 165 - Index = 0 - Left = 1875 - Picture = "UTIL7396.frx":0E20 - Top = 360 - Width = 165 - End - Begin VB.Image input_c - Appearance = 0 'Flat - Height = 165 - Index = 1 - Left = 1875 - Picture = "UTIL7396.frx":0EFA - Top = 840 - Width = 165 - End - Begin VB.Image output_c - Appearance = 0 'Flat - Height = 165 - Index = 0 - Left = 1875 - Picture = "UTIL7396.frx":0FD4 - Top = 555 - Width = 165 - End - Begin VB.Image output_c - Appearance = 0 'Flat - Height = 165 - Index = 1 - Left = 1875 - Picture = "UTIL7396.frx":10AE - Top = 1035 - Width = 165 - End - Begin VB.Image output_c - Appearance = 0 'Flat - Height = 165 - Index = 2 - Left = 1875 - Picture = "UTIL7396.frx":1188 - Top = 1515 - Width = 165 - End - Begin VB.Image output_c - Appearance = 0 'Flat - Height = 165 - Index = 3 - Left = 1875 - Picture = "UTIL7396.frx":1262 - Top = 1995 - Width = 165 - End - Begin VB.Image input_c - Appearance = 0 'Flat - Height = 165 - Index = 2 - Left = 1875 - Picture = "UTIL7396.frx":133C - Top = 1320 - Width = 165 - End - Begin VB.Image input_c - Appearance = 0 'Flat - Height = 165 - Index = 3 - Left = 1875 - Picture = "UTIL7396.frx":1416 - Top = 1800 - Width = 165 - End - Begin VB.Image bit_c - Appearance = 0 'Flat - Height = 180 - Index = 16 - Left = 1590 - Picture = "UTIL7396.frx":14F0 - Top = 1440 - Width = 180 - End - Begin VB.Image bit_c - Appearance = 0 'Flat - Height = 180 - Index = 17 - Left = 1380 - Picture = "UTIL7396.frx":15D2 - Top = 1440 - Width = 180 - End - Begin VB.Image bit_c - Appearance = 0 'Flat - Height = 180 - Index = 18 - Left = 1170 - Picture = "UTIL7396.frx":16B4 - Top = 1440 - Width = 180 - End - Begin VB.Image bit_c - Appearance = 0 'Flat - Height = 180 - Index = 19 - Left = 960 - Picture = "UTIL7396.frx":1796 - Top = 1440 - Width = 180 - End - Begin VB.Image bit_c - Appearance = 0 'Flat - Height = 180 - Index = 20 - Left = 750 - Picture = "UTIL7396.frx":1878 - Top = 1440 - Width = 180 - End - Begin VB.Image bit_c - Appearance = 0 'Flat - Height = 180 - Index = 21 - Left = 540 - Picture = "UTIL7396.frx":195A - Top = 1440 - Width = 180 - End - Begin VB.Image bit_c - Appearance = 0 'Flat - Height = 180 - Index = 22 - Left = 330 - Picture = "UTIL7396.frx":1A3C - Top = 1440 - Width = 180 - End - Begin VB.Image bit_c - Appearance = 0 'Flat - Height = 180 - Index = 23 - Left = 120 - Picture = "UTIL7396.frx":1B1E - Top = 1440 - Width = 180 - End - Begin VB.Image bit_c - Appearance = 0 'Flat - Height = 180 - Index = 24 - Left = 1590 - Picture = "UTIL7396.frx":1C00 - Top = 1920 - Width = 180 - End - Begin VB.Image bit_c - Appearance = 0 'Flat - Height = 180 - Index = 25 - Left = 1380 - Picture = "UTIL7396.frx":1CE2 - Top = 1920 - Width = 180 - End - Begin VB.Image bit_c - Appearance = 0 'Flat - Height = 180 - Index = 26 - Left = 1200 - Picture = "UTIL7396.frx":1DC4 - Top = 1920 - Width = 180 - End - Begin VB.Image bit_c - Appearance = 0 'Flat - Height = 180 - Index = 27 - Left = 960 - Picture = "UTIL7396.frx":1EA6 - Top = 1920 - Width = 180 - End - Begin VB.Image bit_c - Appearance = 0 'Flat - Height = 180 - Index = 28 - Left = 750 - Picture = "UTIL7396.frx":1F88 - Top = 1920 - Width = 180 - End - Begin VB.Image bit_c - Appearance = 0 'Flat - Height = 180 - Index = 29 - Left = 540 - Picture = "UTIL7396.frx":206A - Top = 1920 - Width = 180 - End - Begin VB.Image bit_c - Appearance = 0 'Flat - Height = 180 - Index = 30 - Left = 330 - Picture = "UTIL7396.frx":214C - Top = 1920 - Width = 180 - End - Begin VB.Image bit_c - Appearance = 0 'Flat - Height = 180 - Index = 31 - Left = 120 - Picture = "UTIL7396.frx":222E - Top = 1920 - Width = 180 - End - Begin VB.Shape Shape_c - BorderColor = &H00C0C0C0& - FillColor = &H00FF0000& - FillStyle = 0 'Solid - Height = 375 - Index = 0 - Left = 60 - Top = 360 - Width = 1800 - End - Begin VB.Shape Shape_c - BorderColor = &H00C0C0C0& - FillColor = &H00FF0000& - FillStyle = 0 'Solid - Height = 375 - Index = 1 - Left = 60 - Top = 840 - Width = 1800 - End - Begin VB.Shape Shape_c - BorderColor = &H00C0C0C0& - FillColor = &H00FF0000& - FillStyle = 0 'Solid - Height = 375 - Index = 2 - Left = 60 - Top = 1320 - Width = 1800 - End - Begin VB.Shape Shape_c - BorderColor = &H00C0C0C0& - FillColor = &H00FF0000& - FillStyle = 0 'Solid - Height = 375 - Index = 3 - Left = 60 - Top = 1800 - Width = 1800 - End - End - Begin VB.Timer Timer1 - Interval = 100 - Left = 7260 - Top = 2400 - End - Begin VB.Frame Frame1 - Appearance = 0 'Flat - BackColor = &H00C0C0C0& - Caption = "Port B" - BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851} - Name = "Times New Roman" - Size = 8.25 - Charset = 0 - Weight = 400 - Underline = 0 'False - Italic = 0 'False - Strikethrough = 0 'False - EndProperty - ForeColor = &H00FF0000& - Height = 2355 - Index = 1 - Left = 2880 - TabIndex = 2 - Top = 120 - Width = 2115 - Begin VB.Image bit_b - Appearance = 0 'Flat - Height = 180 - Index = 7 - Left = 120 - Picture = "UTIL7396.frx":2310 - Top = 480 - Width = 180 - End - Begin VB.Image bit_b - Appearance = 0 'Flat - Height = 180 - Index = 31 - Left = 120 - Picture = "UTIL7396.frx":23F2 - Top = 1920 - Width = 180 - End - Begin VB.Image bit_b - Appearance = 0 'Flat - Height = 180 - Index = 30 - Left = 330 - Picture = "UTIL7396.frx":24D4 - Top = 1920 - Width = 180 - End - Begin VB.Image bit_b - Appearance = 0 'Flat - Height = 180 - Index = 29 - Left = 540 - Picture = "UTIL7396.frx":25B6 - Top = 1920 - Width = 180 - End - Begin VB.Image bit_b - Appearance = 0 'Flat - Height = 180 - Index = 28 - Left = 750 - Picture = "UTIL7396.frx":2698 - Top = 1920 - Width = 180 - End - Begin VB.Image bit_b - Appearance = 0 'Flat - Height = 180 - Index = 27 - Left = 960 - Picture = "UTIL7396.frx":277A - Top = 1920 - Width = 180 - End - Begin VB.Image bit_b - Appearance = 0 'Flat - Height = 180 - Index = 26 - Left = 1170 - Picture = "UTIL7396.frx":285C - Top = 1920 - Width = 180 - End - Begin VB.Image bit_b - Appearance = 0 'Flat - Height = 180 - Index = 25 - Left = 1380 - Picture = "UTIL7396.frx":293E - Top = 1920 - Width = 180 - End - Begin VB.Image bit_b - Appearance = 0 'Flat - Height = 180 - Index = 24 - Left = 1590 - Picture = "UTIL7396.frx":2A20 - Top = 1920 - Width = 180 - End - Begin VB.Image bit_b - Appearance = 0 'Flat - Height = 180 - Index = 23 - Left = 120 - Picture = "UTIL7396.frx":2B02 - Top = 1440 - Width = 180 - End - Begin VB.Image bit_b - Appearance = 0 'Flat - Height = 180 - Index = 22 - Left = 330 - Picture = "UTIL7396.frx":2BE4 - Top = 1440 - Width = 180 - End - Begin VB.Image bit_b - Appearance = 0 'Flat - Height = 180 - Index = 21 - Left = 540 - Picture = "UTIL7396.frx":2CC6 - Top = 1440 - Width = 180 - End - Begin VB.Image bit_b - Appearance = 0 'Flat - Height = 180 - Index = 20 - Left = 750 - Picture = "UTIL7396.frx":2DA8 - Top = 1440 - Width = 180 - End - Begin VB.Image bit_b - Appearance = 0 'Flat - Height = 180 - Index = 19 - Left = 960 - Picture = "UTIL7396.frx":2E8A - Top = 1440 - Width = 180 - End - Begin VB.Image bit_b - Appearance = 0 'Flat - Height = 180 - Index = 18 - Left = 1170 - Picture = "UTIL7396.frx":2F6C - Top = 1440 - Width = 180 - End - Begin VB.Image bit_b - Appearance = 0 'Flat - Height = 180 - Index = 17 - Left = 1380 - Picture = "UTIL7396.frx":304E - Top = 1440 - Width = 180 - End - Begin VB.Image bit_b - Appearance = 0 'Flat - Height = 180 - Index = 16 - Left = 1590 - Picture = "UTIL7396.frx":3130 - Top = 1440 - Width = 180 - End - Begin VB.Image input_b - Appearance = 0 'Flat - Height = 165 - Index = 3 - Left = 1875 - Picture = "UTIL7396.frx":3212 - Top = 1800 - Width = 165 - End - Begin VB.Image input_b - Appearance = 0 'Flat - Height = 165 - Index = 2 - Left = 1875 - Picture = "UTIL7396.frx":32EC - Top = 1320 - Width = 165 - End - Begin VB.Image output_b - Appearance = 0 'Flat - Height = 165 - Index = 3 - Left = 1875 - Picture = "UTIL7396.frx":33C6 - Top = 1995 - Width = 165 - End - Begin VB.Image output_b - Appearance = 0 'Flat - Height = 165 - Index = 2 - Left = 1875 - Picture = "UTIL7396.frx":34A0 - Top = 1515 - Width = 165 - End - Begin VB.Image output_b - Appearance = 0 'Flat - Height = 165 - Index = 1 - Left = 1875 - Picture = "UTIL7396.frx":357A - Top = 1035 - Width = 165 - End - Begin VB.Image output_b - Appearance = 0 'Flat - Height = 165 - Index = 0 - Left = 1875 - Picture = "UTIL7396.frx":3654 - Top = 555 - Width = 165 - End - Begin VB.Image input_b - Appearance = 0 'Flat - Height = 165 - Index = 1 - Left = 1875 - Picture = "UTIL7396.frx":372E - Top = 840 - Width = 165 - End - Begin VB.Image input_b - Appearance = 0 'Flat - Height = 165 - Index = 0 - Left = 1875 - Picture = "UTIL7396.frx":3808 - Top = 360 - Width = 165 - End - Begin VB.Image bit_b - Appearance = 0 'Flat - Height = 180 - Index = 15 - Left = 120 - Picture = "UTIL7396.frx":38E2 - Top = 960 - Width = 180 - End - Begin VB.Image bit_b - Appearance = 0 'Flat - Height = 180 - Index = 14 - Left = 330 - Picture = "UTIL7396.frx":39C4 - Top = 960 - Width = 180 - End - Begin VB.Image bit_b - Appearance = 0 'Flat - Height = 180 - Index = 13 - Left = 540 - Picture = "UTIL7396.frx":3AA6 - Top = 960 - Width = 180 - End - Begin VB.Image bit_b - Appearance = 0 'Flat - Height = 180 - Index = 12 - Left = 750 - Picture = "UTIL7396.frx":3B88 - Top = 960 - Width = 180 - End - Begin VB.Image bit_b - Appearance = 0 'Flat - Height = 180 - Index = 11 - Left = 960 - Picture = "UTIL7396.frx":3C6A - Top = 960 - Width = 180 - End - Begin VB.Image bit_b - Appearance = 0 'Flat - Height = 180 - Index = 10 - Left = 1170 - Picture = "UTIL7396.frx":3D4C - Top = 960 - Width = 180 - End - Begin VB.Image bit_b - Appearance = 0 'Flat - Height = 180 - Index = 9 - Left = 1380 - Picture = "UTIL7396.frx":3E2E - Top = 960 - Width = 180 - End - Begin VB.Image bit_b - Appearance = 0 'Flat - Height = 180 - Index = 8 - Left = 1590 - Picture = "UTIL7396.frx":3F10 - Top = 960 - Width = 180 - End - Begin VB.Image bit_b - Appearance = 0 'Flat - Height = 180 - Index = 6 - Left = 330 - Picture = "UTIL7396.frx":3FF2 - Top = 480 - Width = 180 - End - Begin VB.Image bit_b - Appearance = 0 'Flat - Height = 180 - Index = 5 - Left = 540 - Picture = "UTIL7396.frx":40D4 - Top = 480 - Width = 180 - End - Begin VB.Image bit_b - Appearance = 0 'Flat - Height = 180 - Index = 4 - Left = 750 - Picture = "UTIL7396.frx":41B6 - Top = 480 - Width = 180 - End - Begin VB.Image bit_b - Appearance = 0 'Flat - Height = 180 - Index = 3 - Left = 960 - Picture = "UTIL7396.frx":4298 - Top = 480 - Width = 180 - End - Begin VB.Image bit_b - Appearance = 0 'Flat - Height = 180 - Index = 2 - Left = 1170 - Picture = "UTIL7396.frx":437A - Top = 480 - Width = 180 - End - Begin VB.Image bit_b - Appearance = 0 'Flat - Height = 180 - Index = 1 - Left = 1380 - Picture = "UTIL7396.frx":445C - Top = 480 - Width = 180 - End - Begin VB.Image bit_b - Appearance = 0 'Flat - Height = 180 - Index = 0 - Left = 1560 - Picture = "UTIL7396.frx":453E - Top = 480 - Width = 180 - End - Begin VB.Shape Shape_b - BorderColor = &H00C0C0C0& - FillColor = &H00FF0000& - FillStyle = 0 'Solid - Height = 375 - Index = 0 - Left = 60 - Top = 360 - Width = 1800 - End - Begin VB.Shape Shape_b - BorderColor = &H00C0C0C0& - FillColor = &H00FF0000& - FillStyle = 0 'Solid - Height = 375 - Index = 1 - Left = 60 - Top = 840 - Width = 1800 - End - Begin VB.Shape Shape_b - BorderColor = &H00C0C0C0& - FillColor = &H00FF0000& - FillStyle = 0 'Solid - Height = 375 - Index = 2 - Left = 60 - Top = 1320 - Width = 1800 - End - Begin VB.Shape Shape_b - BorderColor = &H00C0C0C0& - FillColor = &H00FF0000& - FillStyle = 0 'Solid - Height = 375 - Index = 3 - Left = 60 - Top = 1800 - Width = 1800 - End - End - Begin VB.Frame Frame1 - Appearance = 0 'Flat - BackColor = &H00C0C0C0& - Caption = "Port A" - BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851} - Name = "Times New Roman" - Size = 8.25 - Charset = 0 - Weight = 400 - Underline = 0 'False - Italic = 0 'False - Strikethrough = 0 'False - EndProperty - ForeColor = &H00FF0000& - Height = 2355 - Index = 0 - Left = 660 - TabIndex = 0 - Top = 120 - Width = 2115 - Begin VB.Image bit_a - Appearance = 0 'Flat - Height = 180 - Index = 31 - Left = 120 - Picture = "UTIL7396.frx":4620 - Top = 1920 - Width = 180 - End - Begin VB.Image bit_a - Appearance = 0 'Flat - Height = 180 - Index = 30 - Left = 330 - Picture = "UTIL7396.frx":4702 - Top = 1920 - Width = 180 - End - Begin VB.Image bit_a - Appearance = 0 'Flat - Height = 180 - Index = 29 - Left = 540 - Picture = "UTIL7396.frx":47E4 - Top = 1920 - Width = 180 - End - Begin VB.Image bit_a - Appearance = 0 'Flat - Height = 180 - Index = 28 - Left = 750 - Picture = "UTIL7396.frx":48C6 - Top = 1920 - Width = 180 - End - Begin VB.Image bit_a - Appearance = 0 'Flat - Height = 180 - Index = 27 - Left = 960 - Picture = "UTIL7396.frx":49A8 - Top = 1920 - Width = 180 - End - Begin VB.Image bit_a - Appearance = 0 'Flat - Height = 180 - Index = 26 - Left = 1170 - Picture = "UTIL7396.frx":4A8A - Top = 1920 - Width = 180 - End - Begin VB.Image bit_a - Appearance = 0 'Flat - Height = 180 - Index = 25 - Left = 1380 - Picture = "UTIL7396.frx":4B6C - Top = 1920 - Width = 180 - End - Begin VB.Image bit_a - Appearance = 0 'Flat - Height = 180 - Index = 24 - Left = 1590 - Picture = "UTIL7396.frx":4C4E - Top = 1920 - Width = 180 - End - Begin VB.Image bit_a - Appearance = 0 'Flat - Height = 180 - Index = 23 - Left = 120 - Picture = "UTIL7396.frx":4D30 - Top = 1440 - Width = 180 - End - Begin VB.Image bit_a - Appearance = 0 'Flat - Height = 180 - Index = 22 - Left = 330 - Picture = "UTIL7396.frx":4E12 - Top = 1440 - Width = 180 - End - Begin VB.Image bit_a - Appearance = 0 'Flat - Height = 180 - Index = 21 - Left = 540 - Picture = "UTIL7396.frx":4EF4 - Top = 1440 - Width = 180 - End - Begin VB.Image bit_a - Appearance = 0 'Flat - Height = 180 - Index = 20 - Left = 750 - Picture = "UTIL7396.frx":4FD6 - Top = 1440 - Width = 180 - End - Begin VB.Image bit_a - Appearance = 0 'Flat - Height = 180 - Index = 19 - Left = 960 - Picture = "UTIL7396.frx":50B8 - Top = 1440 - Width = 180 - End - Begin VB.Image bit_a - Appearance = 0 'Flat - Height = 180 - Index = 18 - Left = 1170 - Picture = "UTIL7396.frx":519A - Top = 1440 - Width = 180 - End - Begin VB.Image bit_a - Appearance = 0 'Flat - Height = 180 - Index = 17 - Left = 1380 - Picture = "UTIL7396.frx":527C - Top = 1440 - Width = 180 - End - Begin VB.Image bit_a - Appearance = 0 'Flat - Height = 180 - Index = 16 - Left = 1590 - Picture = "UTIL7396.frx":535E - Top = 1440 - Width = 180 - End - Begin VB.Image input_a - Appearance = 0 'Flat - Height = 165 - Index = 3 - Left = 1875 - Picture = "UTIL7396.frx":5440 - Top = 1800 - Width = 165 - End - Begin VB.Image input_a - Appearance = 0 'Flat - Height = 165 - Index = 2 - Left = 1875 - Picture = "UTIL7396.frx":551A - Top = 1320 - Width = 165 - End - Begin VB.Image output_a - Appearance = 0 'Flat - Height = 165 - Index = 3 - Left = 1875 - Picture = "UTIL7396.frx":55F4 - Top = 1995 - Width = 165 - End - Begin VB.Image output_a - Appearance = 0 'Flat - Height = 165 - Index = 2 - Left = 1875 - Picture = "UTIL7396.frx":56CE - Top = 1515 - Width = 165 - End - Begin VB.Image output_a - Appearance = 0 'Flat - Height = 165 - Index = 1 - Left = 1875 - Picture = "UTIL7396.frx":57A8 - Top = 1035 - Width = 165 - End - Begin VB.Image output_a - Appearance = 0 'Flat - Height = 165 - Index = 0 - Left = 1875 - Picture = "UTIL7396.frx":5882 - Top = 555 - Width = 165 - End - Begin VB.Image input_a - Appearance = 0 'Flat - Height = 165 - Index = 1 - Left = 1875 - Picture = "UTIL7396.frx":595C - Top = 840 - Width = 165 - End - Begin VB.Image input_a - Appearance = 0 'Flat - Height = 165 - Index = 0 - Left = 1875 - Picture = "UTIL7396.frx":5A36 - Top = 360 - Width = 165 - End - Begin VB.Image bit_a - Appearance = 0 'Flat - Height = 180 - Index = 15 - Left = 120 - Picture = "UTIL7396.frx":5B10 - Top = 960 - Width = 180 - End - Begin VB.Image bit_a - Appearance = 0 'Flat - Height = 180 - Index = 14 - Left = 330 - Picture = "UTIL7396.frx":5BF2 - Top = 960 - Width = 180 - End - Begin VB.Image bit_a - Appearance = 0 'Flat - Height = 180 - Index = 13 - Left = 540 - Picture = "UTIL7396.frx":5CD4 - Top = 960 - Width = 180 - End - Begin VB.Image bit_a - Appearance = 0 'Flat - Height = 180 - Index = 12 - Left = 750 - Picture = "UTIL7396.frx":5DB6 - Top = 960 - Width = 180 - End - Begin VB.Image bit_a - Appearance = 0 'Flat - Height = 180 - Index = 11 - Left = 960 - Picture = "UTIL7396.frx":5E98 - Top = 960 - Width = 180 - End - Begin VB.Image bit_a - Appearance = 0 'Flat - Height = 180 - Index = 10 - Left = 1170 - Picture = "UTIL7396.frx":5F7A - Top = 960 - Width = 180 - End - Begin VB.Image bit_a - Appearance = 0 'Flat - Height = 180 - Index = 9 - Left = 1380 - Picture = "UTIL7396.frx":605C - Top = 960 - Width = 180 - End - Begin VB.Image bit_a - Appearance = 0 'Flat - Height = 180 - Index = 8 - Left = 1590 - Picture = "UTIL7396.frx":613E - Top = 960 - Width = 180 - End - Begin VB.Shape Shape_a - BorderColor = &H00C0C0C0& - FillColor = &H00FF0000& - FillStyle = 0 'Solid - Height = 375 - Index = 1 - Left = 60 - Top = 840 - Width = 1800 - End - Begin VB.Image bit_a - Appearance = 0 'Flat - Height = 180 - Index = 7 - Left = 120 - Picture = "UTIL7396.frx":6220 - Top = 480 - Width = 180 - End - Begin VB.Image bit_a - Appearance = 0 'Flat - Height = 180 - Index = 6 - Left = 330 - Picture = "UTIL7396.frx":6302 - Top = 480 - Width = 180 - End - Begin VB.Image bit_a - Appearance = 0 'Flat - Height = 180 - Index = 5 - Left = 540 - Picture = "UTIL7396.frx":63E4 - Top = 480 - Width = 180 - End - Begin VB.Image bit_a - Appearance = 0 'Flat - Height = 180 - Index = 4 - Left = 750 - Picture = "UTIL7396.frx":64C6 - Top = 480 - Width = 180 - End - Begin VB.Image bit_a - Appearance = 0 'Flat - Height = 180 - Index = 3 - Left = 960 - Picture = "UTIL7396.frx":65A8 - Top = 480 - Width = 180 - End - Begin VB.Image bit_a - Appearance = 0 'Flat - Height = 180 - Index = 2 - Left = 1170 - Picture = "UTIL7396.frx":668A - Top = 480 - Width = 180 - End - Begin VB.Image bit_a - Appearance = 0 'Flat - Height = 180 - Index = 1 - Left = 1380 - Picture = "UTIL7396.frx":676C - Top = 480 - Width = 180 - End - Begin VB.Image bit_a - Appearance = 0 'Flat - Height = 180 - Index = 0 - Left = 1590 - Picture = "UTIL7396.frx":684E - Top = 480 - Width = 180 - End - Begin VB.Shape Shape_a - BorderColor = &H00C0C0C0& - FillColor = &H00FF0000& - FillStyle = 0 'Solid - Height = 375 - Index = 0 - Left = 60 - Top = 360 - Width = 1800 - End - Begin VB.Shape Shape_a - BorderColor = &H00C0C0C0& - FillColor = &H00FF0000& - FillStyle = 0 'Solid - Height = 375 - Index = 3 - Left = 60 - Top = 1800 - Width = 1800 - End - Begin VB.Shape Shape_a - BorderColor = &H00C0C0C0& - FillColor = &H00FF0000& - FillStyle = 0 'Solid - Height = 375 - Index = 2 - Left = 60 - Top = 1320 - Width = 1800 - End - End - Begin VB.Label Label1 - Appearance = 0 'Flat - BackColor = &H00C0C0C0& - Caption = "Ch4" - ForeColor = &H00FF0000& - Height = 195 - Index = 3 - Left = 180 - TabIndex = 5 - Top = 1980 - Width = 375 - End - Begin VB.Label Label1 - Appearance = 0 'Flat - BackColor = &H00C0C0C0& - Caption = "Ch3" - ForeColor = &H00FF0000& - Height = 195 - Index = 2 - Left = 180 - TabIndex = 4 - Top = 1500 - Width = 375 - End - Begin VB.Image doc_1 - Appearance = 0 'Flat - Height = 180 - Left = 1380 - Picture = "UTIL7396.frx":6930 - Top = 4680 - Visible = 0 'False - Width = 180 - End - Begin VB.Image dic_1 - Appearance = 0 'Flat - Height = 180 - Left = 1380 - Picture = "UTIL7396.frx":6A12 - Top = 4500 - Visible = 0 'False - Width = 180 - End - Begin VB.Image dib_1 - Appearance = 0 'Flat - Height = 180 - Left = 1080 - Picture = "UTIL7396.frx":6AF4 - Top = 4500 - Visible = 0 'False - Width = 180 - End - Begin VB.Image dob_1 - Appearance = 0 'Flat - Height = 180 - Left = 1080 - Picture = "UTIL7396.frx":6BD6 - Top = 4680 - Visible = 0 'False - Width = 180 - End - Begin VB.Label Label1 - Appearance = 0 'Flat - BackColor = &H00C0C0C0& - Caption = "Ch1" - ForeColor = &H00FF0000& - Height = 195 - Index = 0 - Left = 180 - TabIndex = 1 - Top = 570 - Width = 375 - End - Begin VB.Label Label1 - Appearance = 0 'Flat - BackColor = &H00C0C0C0& - Caption = "Ch2" - ForeColor = &H00FF0000& - Height = 195 - Index = 1 - Left = 180 - TabIndex = 3 - Top = 1050 - Width = 375 - End - Begin VB.Shape Shape3 - BackColor = &H00C0C0C0& - FillColor = &H00C0C0C0& - FillStyle = 0 'Solid - Height = 2250 - Left = 120 - Top = 225 - Width = 495 - End - Begin VB.Image doa_1 - Appearance = 0 'Flat - Height = 180 - Left = 780 - Picture = "UTIL7396.frx":6CB8 - Top = 4680 - Visible = 0 'False - Width = 180 - End - Begin VB.Image do_0 - Appearance = 0 'Flat - Height = 180 - Left = 480 - Picture = "UTIL7396.frx":6D9A - Top = 4680 - Visible = 0 'False - Width = 180 - End - Begin VB.Image dia_1 - Appearance = 0 'Flat - Height = 180 - Left = 780 - Picture = "UTIL7396.frx":6E7C - Top = 4500 - Visible = 0 'False - Width = 180 - End - Begin VB.Image di_0 - Appearance = 0 'Flat - Height = 180 - Left = 480 - Picture = "UTIL7396.frx":6F5E - Top = 4500 - Visible = 0 'False - Width = 180 - End - Begin VB.Menu mnuExit - Caption = "E&xit!" - End -End -Attribute VB_Name = "Util7396" -Attribute VB_Creatable = False -Attribute VB_Exposed = False -Option Explicit - -Const INPUT_COLOR = &HFF00FF -Const OUTPUT_COLOR = &HFF0000 - -Dim value_a(0 To 3) As Long, value_b(0 To 3) As Long, value_c(0 To 3) As Long -Dim status_a(0 To 3) As Integer, status_b(0 To 3) As Integer, status_c(0 To 3) As Integer -'Dim hEnts As EventHandles -Private Sub bit_a_Click(Index As Integer) - Dim Channel As Integer - Dim bit As Integer - Dim result As Integer - Channel = Int(Index / 8) - bit = Index Mod 8 - If status_a(Channel) = OUTPUT_PORT Then - If (Int((value_a(Channel) / (2 ^ bit))) Mod 2) = 1 Then - bit_a(Index) = do_0 - value_a(Channel) = value_a(Channel) - (2 ^ bit) - Else 'bit is 0 - bit_a(Index) = doa_1 - value_a(Channel) = value_a(Channel) + (2 ^ bit) - End If - result = DO_WritePort(card, Channel * 5 + Channel_P1A, value_a(Channel)) - End If -End Sub - -Private Sub bit_b_Click(Index As Integer) - Dim Channel As Integer - Dim bit As Integer - Dim result As Integer - Channel = Int(Index / 8) - bit = Index Mod 8 - If status_b(Channel) = OUTPUT_PORT Then - If (Int((value_b(Channel) / (2 ^ bit))) Mod 2) = 1 Then - bit_b(Index) = do_0 - value_b(Channel) = value_b(Channel) - (2 ^ bit) - Else 'bit is 0 - bit_b(Index) = dob_1 - value_b(Channel) = value_b(Channel) + (2 ^ bit) - End If - result = DO_WritePort(card, Channel * 5 + Channel_P1B, value_b(Channel)) - End If -End Sub - -Private Sub bit_c_Click(Index As Integer) - Dim Channel As Integer - Dim bit As Integer - Dim result As Integer - Channel = Int(Index / 8) - bit = Index Mod 8 - If status_c(Channel) = OUTPUT_PORT Then - If (Int((value_c(Channel) / (2 ^ bit))) Mod 2) = 1 Then - bit_c(Index) = do_0 - value_c(Channel) = value_c(Channel) - (2 ^ bit) - Else 'bit is 0 - bit_c(Index) = doc_1 - value_c(Channel) = value_c(Channel) + (2 ^ bit) - End If - result = DO_WritePort(card, Channel * 5 + Channel_P1C, value_c(Channel)) - End If -End Sub - -Private Sub Card_Initial() - Dim i As Integer, j As Integer - Dim result As Integer - - For i = 0 To 3 'Initial status is Output for all channels - result = DIO_PortConfig(card, i * 5 + Channel_P1A, OUTPUT_PORT) - Shape_a(i).FillColor = OUTPUT_COLOR - status_a(i) = OUTPUT_PORT - For j = 0 To 7 - bit_a(i * 8 + j) = doa_1 - Next j - value_a(i) = &HFF - result = DO_WritePort(card, i * 5 + Channel_P1A, value_a(i)) - - result = DIO_PortConfig(card, i * 5 + Channel_P1B, OUTPUT_PORT) - Shape_b(i).FillColor = OUTPUT_COLOR - status_b(i) = OUTPUT_PORT - For j = 0 To 7 - bit_b(i * 8 + j) = dob_1 - Next j - value_b(i) = &HFF - result = DO_WritePort(card, i * 5 + Channel_P1B, value_b(i)) - - result = DIO_PortConfig(card, i * 5 + Channel_P1C, OUTPUT_PORT) - Shape_c(i).FillColor = OUTPUT_COLOR - status_c(i) = OUTPUT_PORT - For j = 0 To 7 - bit_c(i * 8 + j) = doc_1 - Next j - value_c(i) = &HFF - result = DO_WritePort(card, i * 5 + Channel_P1C, value_c(i)) - Next i -End Sub - -Private Sub Form_Load() - Dim result As Integer - SettingForm.Show 1 - If card < 0 Then - MsgBox "Register Card Failed" - End - End If - Card_Initial -End Sub - -Private Sub Form_Unload(Cancel As Integer) - Dim result As Integer - If card >= 0 Then - result = Release_Card(card) - End If - End -End Sub - -Private Sub input_a_Click(Index As Integer) - Dim result As Integer - Shape_a(Index).FillColor = INPUT_COLOR - InputAndShow Index, Channel_P1A - status_a(Index) = INPUT_PORT - result = DIO_PortConfig(card, Index * 5 + Channel_P1A, INPUT_PORT) -End Sub - -Private Sub input_b_Click(Index As Integer) - Dim result As Integer - Shape_b(Index).FillColor = INPUT_COLOR - InputAndShow Index, Channel_P1B - status_b(Index) = INPUT_PORT - result = DIO_PortConfig(card, Index * 5 + Channel_P1B, INPUT_PORT) -End Sub - -Private Sub input_c_Click(Index As Integer) - Dim result As Integer - Shape_c(Index).FillColor = INPUT_COLOR - InputAndShow Index, Channel_P1C - status_c(Index) = INPUT_PORT - result = DIO_PortConfig(card, Index * 5 + Channel_P1C, INPUT_PORT) -End Sub - -Private Sub InputAndShow(ByVal Channel As Integer, ByVal Port As Integer) - Dim databyte As Long - Dim result As Integer - Dim i As Integer, k As Integer - Dim p As Integer, q As Integer, r As Integer - result = DI_ReadPort(card, Channel * 5 + Port, databyte) - p = databyte - Select Case Port - Case Channel_P1A - k = Channel * 8 - For i = k To k + 7 - r = p Mod 2 - If r = 0 Then - bit_a(i) = di_0 - Else 'r = 1 - bit_a(i) = dia_1 - End If - p = Int(p / 2) - Next - value_a(Channel) = databyte - Case Channel_P1B - k = Channel * 8 - For i = k To k + 7 - r = p Mod 2 - If r = 0 Then - bit_b(i) = di_0 - Else 'r = 1 - bit_b(i) = dib_1 - End If - p = Int(p / 2) - Next - value_b(Channel) = databyte - Case Channel_P1C - k = Channel * 8 - For i = k To k + 7 - r = p Mod 2 - If r = 0 Then - bit_c(i) = di_0 - Else 'r = 1 - bit_c(i) = dic_1 - End If - p = Int(p / 2) - Next - value_c(Channel) = databyte - End Select -End Sub - -Private Sub mnuExit_Click() -Dim result As Integer - If card >= 0 Then - result = Release_Card(card) - End If - End -End Sub - -Private Sub output_a_Click(Index As Integer) - Dim i As Integer, k As Integer - Shape_a(Index).FillColor = OUTPUT_COLOR - value_a(Index) = &HFF - k = Index * 8 - For i = k To k + 7 - bit_a(i) = doa_1 - Next - k = DIO_PortConfig(card, Index * 5 + Channel_P1A, OUTPUT_PORT) - k = DO_WritePort(card, Index * 5 + Channel_P1A, &HFF) - status_a(Index) = OUTPUT_PORT -End Sub - -Private Sub output_b_Click(Index As Integer) - Dim i As Integer, k As Integer - Shape_b(Index).FillColor = OUTPUT_COLOR - value_b(Index) = &HFF - k = Index * 8 - For i = k To k + 7 - bit_b(i) = dob_1 - Next - k = DIO_PortConfig(card, Index * 5 + Channel_P1B, OUTPUT_PORT) - k = DO_WritePort(card, Index * 5 + Channel_P1B, &HFF) - status_b(Index) = OUTPUT_PORT -End Sub - -Private Sub output_c_Click(Index As Integer) - Dim i As Integer, k As Integer - Shape_c(Index).FillColor = OUTPUT_COLOR - value_c(Index) = &HFF - k = Index * 8 - For i = k To k + 7 - bit_c(i) = doc_1 - Next - k = DIO_PortConfig(card, Index * 5 + Channel_P1C, OUTPUT_PORT) - k = DO_WritePort(card, Index * 5 + Channel_P1C, &HFF) - status_c(Index) = OUTPUT_PORT -End Sub - -Private Sub Timer1_Timer() - Dim i As Integer, result As Long - For i = 0 To 3 - If status_a(i) = INPUT_PORT Then - InputAndShow i, Channel_P1A - End If - If status_b(i) = INPUT_PORT Then - InputAndShow i, Channel_P1B - End If - If status_c(i) = INPUT_PORT Then - InputAndShow i, Channel_P1C - End If - Next -End Sub - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7396/VB7396/Util7396.frx b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7396/VB7396/Util7396.frx deleted file mode 100644 index efc39d3..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7396/VB7396/Util7396.frx and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7432/SDK7432/Resource.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7432/SDK7432/Resource.h deleted file mode 100644 index 959c748..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7432/SDK7432/Resource.h +++ /dev/null @@ -1,19 +0,0 @@ -//{{NO_DEPENDENCIES}} -// Microsoft Developer Studio generated include file. -// Used by Util7432.rc -// -#define IDD_DIALOG1 101 -#define IDM_EXIT 110 -#define IDC_COMBO1 1015 -#define IDC_STATIC -1 - -// Next default values for new objects -// -#ifdef APSTUDIO_INVOKED -#ifndef APSTUDIO_READONLY_SYMBOLS -#define _APS_NEXT_RESOURCE_VALUE 102 -#define _APS_NEXT_COMMAND_VALUE 101 -#define _APS_NEXT_CONTROL_VALUE 1000 -#define _APS_NEXT_SYMED_VALUE 101 -#endif -#endif diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7432/SDK7432/UTIL7432.RC b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7432/SDK7432/UTIL7432.RC deleted file mode 100644 index 4b80af3..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7432/SDK7432/UTIL7432.RC +++ /dev/null @@ -1,115 +0,0 @@ -//Microsoft Developer Studio generated resource script. -// -#include "resource.h" - -#define APSTUDIO_READONLY_SYMBOLS -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 2 resource. -// -#define APSTUDIO_HIDDEN_SYMBOLS -#include "windows.h" -#undef APSTUDIO_HIDDEN_SYMBOLS - -///////////////////////////////////////////////////////////////////////////// -#undef APSTUDIO_READONLY_SYMBOLS - -///////////////////////////////////////////////////////////////////////////// -// English (U.S.) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -#ifdef _WIN32 -LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US -#pragma code_page(1252) -#endif //_WIN32 - -///////////////////////////////////////////////////////////////////////////// -// -// Menu -// - -U7432MENU MENU DISCARDABLE -BEGIN - MENUITEM "E&xit!", IDM_EXIT -END - - -#ifdef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// TEXTINCLUDE -// - -1 TEXTINCLUDE DISCARDABLE -BEGIN - "resource.h\0" -END - -2 TEXTINCLUDE DISCARDABLE -BEGIN - "#define APSTUDIO_HIDDEN_SYMBOLS\r\n" - "#include ""windows.h""\r\n" - "#undef APSTUDIO_HIDDEN_SYMBOLS\r\n" - "\0" -END - -3 TEXTINCLUDE DISCARDABLE -BEGIN - "\r\n" - "\0" -END - -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog -// - -IDD_DIALOG1 DIALOG DISCARDABLE 110, 10, 106, 61 -STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "Card Number" -FONT 10, "System" -BEGIN - DEFPUSHBUTTON "OK",IDOK,10,40,37,14 - PUSHBUTTON "Cancel",IDCANCEL,61,40,38,14 - LTEXT "Card Number",IDC_STATIC,3,13,47,13 - COMBOBOX IDC_COMBO1,51,13,48,84,CBS_DROPDOWN | WS_VSCROLL | - WS_TABSTOP -END - - -///////////////////////////////////////////////////////////////////////////// -// -// DESIGNINFO -// - -#ifdef APSTUDIO_INVOKED -GUIDELINES DESIGNINFO DISCARDABLE -BEGIN - IDD_DIALOG1, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 99 - TOPMARGIN, 7 - BOTTOMMARGIN, 54 - END -END -#endif // APSTUDIO_INVOKED - -#endif // English (U.S.) resources -///////////////////////////////////////////////////////////////////////////// - - - -#ifndef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 3 resource. -// - - -///////////////////////////////////////////////////////////////////////////// -#endif // not APSTUDIO_INVOKED - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7432/SDK7432/Util7432.c b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7432/SDK7432/Util7432.c deleted file mode 100644 index d79720c..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7432/SDK7432/Util7432.c +++ /dev/null @@ -1,302 +0,0 @@ -/*;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; -;; Copyright (c) 1999, ADLink Technology Inc. All rights reserved. ;; -;; ;; -;; File Name : Util7432.C ;; -;; Purpose : This sample program demonstrate how to operate ;; -;; DI & DO for PCI-7432 ;; -;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;*/ - -#include -#include -#include -#include -#include -#include -#include "resource.h" -#include "Dask.h" - -#define IDM_EXIT 110 -#define TIMER1 1 - -int PASCAL WinMain(HANDLE, HANDLE, LPSTR, int); -long PASCAL MainWndProc(HWND, UINT, WPARAM, LPARAM); - -HANDLE hInst; -U32 input=0, output=0; -U32 oldinput=0 ; -I16 card=-1, card_number=0; - -HBRUSH hLTGreenBrush,hGreenBrush,hBlueBrush,hYellowBrush,hRedBrush; - -POINT input_pos[32]= {{320, 80}, {300, 80}, - {280, 80}, {260, 80}, - {240, 80}, {220, 80}, - {200, 80}, {180, 80}, - {160, 80}, {140, 80}, - {120, 80}, {100, 80}, - { 80, 80}, { 60, 80}, - { 40, 80}, { 20, 80}, - {320, 40}, {300, 40}, - {280, 40}, {260, 40}, - {240, 40}, {220, 40}, - {200, 40}, {180, 40}, - {160, 40}, {140, 40}, - {120, 40}, {100, 40}, - { 80, 40}, { 60, 40}, - { 40, 40}, { 20, 40} - }; -POINT output_pos[32] ={ - {320, 200}, {300, 200}, - {280, 200}, {260, 200}, - {240, 200}, {220, 200}, - {200, 200}, {180, 200}, - {160, 200}, {140, 200}, - {120, 200}, {100, 200}, - { 80, 200}, { 60, 200}, - { 40, 200}, { 20, 200}, - {320, 160}, {300, 160}, - {280, 160}, {260, 160}, - {240, 160}, {220, 160}, - {200, 160}, {180, 160}, - {160, 160}, {140, 160}, - {120, 160}, {100, 160}, - { 80, 160}, { 60, 160}, - { 40, 160}, { 20, 160}, - }; - -BOOL InitApplication(HANDLE); -BOOL InitInstance(HANDLE, int); - -int PASCAL WinMain(hInstance, hPrevInstance, lpCmdLine, nCmdShow) -HANDLE hInstance, hPrevInstance; -LPSTR lpCmdLine; -int nCmdShow; -{ - MSG msg; - - if (!hPrevInstance) - if (!InitApplication(hInstance)) return(FALSE); - if (!InitInstance(hInstance, nCmdShow)) return(FALSE); - while (GetMessage(&msg, NULL, NULL, NULL)) { - TranslateMessage(&msg); - DispatchMessage(&msg); - } - return(msg.wParam); -} - -BOOL InitApplication(hInstance) -HANDLE hInstance; -{ - WNDCLASS wc; - - /* Main Window Class */ - wc.style = NULL; - wc.lpfnWndProc = (WNDPROC)MainWndProc; - wc.cbClsExtra = 0; - wc.cbWndExtra = 0; - wc.hInstance = hInstance; - wc.hIcon = LoadIcon(hInstance, "MyIcon"); - wc.hCursor = LoadCursor(NULL, IDC_ARROW); - wc.hbrBackground = GetStockObject(LTGRAY_BRUSH); - wc.lpszMenuName = NULL; - wc.lpszClassName = "GenericWClass"; - if (!RegisterClass(&wc)) return(FALSE); -} - -BOOL InitInstance(hInstance, nCmdShow) -HANDLE hInstance; -int nCmdShow; -{ - HWND hWnd; - HMENU hSampleMenu; - - hInst = hInstance; - hSampleMenu = LoadMenu(hInstance, "U7432Menu"); - hWnd = CreateWindow("GenericWClass", - (LPCSTR)"PCI-7432", - WS_OVERLAPPEDWINDOW, - CW_USEDEFAULT, - CW_USEDEFAULT, - 370, - 300, - NULL, - hSampleMenu, - hInstance, - NULL); - if (!hWnd) return(FALSE); - ShowWindow(hWnd, nCmdShow); - UpdateWindow(hWnd); - return(TRUE); -} - -BOOL PASCAL setup(HWND hWnd, unsigned message, WPARAM wParam, LPARAM lParam) -{ - int i; - char n[16]; - char s[50]; - switch (message) { - case WM_INITDIALOG: - for (i=0;i<16;i++) { - wsprintf(n, "%d", i); - _strupr(n); - SendMessage(GetDlgItem(hWnd,IDC_COMBO1), CB_ADDSTRING, NULL, (LONG)(LPSTR) n); - } - SendMessage(GetDlgItem(hWnd,IDC_COMBO1) , CB_SETCURSEL, 0, 0L); - - break; - case WM_COMMAND: - switch(LOWORD(wParam)) { - - case IDC_COMBO1: - if (HIWORD(wParam) == CBN_CLOSEUP) { - i = (int)SendMessage(GetDlgItem(hWnd,IDC_COMBO1), CB_GETCURSEL, 0, 0L); - SendMessage(GetDlgItem(hWnd,IDC_COMBO1), CB_GETLBTEXT, i, (LPARAM)((LPCSTR)n)); - card_number = i; - } - return(TRUE); - case IDOK: - if ((card=Register_Card(PCI_7432, card_number)) < 0) { - wsprintf(s, "Register_Card Error = %d\n", card); - MessageBox(hWnd, s, "Error", MB_OK); - } - EndDialog(hWnd, TRUE); - InvalidateRect(hWnd, NULL, FALSE); - return (TRUE); - case IDCANCEL: - EndDialog(hWnd, TRUE); - return (TRUE); - } - break; - } - return (FALSE); -} - -long PASCAL MainWndProc(hWnd, message, wParam, lParam) -HWND hWnd; -UINT message; -WPARAM wParam; -LPARAM lParam; -{ - HDC hDC; - PAINTSTRUCT ps; - int i, px, py; - - switch(message) { - case WM_CREATE: - DialogBox(hInst,IDD_DIALOG1, hWnd, setup); - if(card<0) { - SendMessage(hWnd, WM_CLOSE, 0, 0L); - break; - } - hLTGreenBrush = CreateSolidBrush(RGB(0, 255, 0)); - hGreenBrush = CreateSolidBrush(RGB(0, 128, 0)); - hBlueBrush = CreateSolidBrush(RGB(0, 0, 255)); - hRedBrush = CreateSolidBrush(RGB(255, 0, 0)); - SetTimer(hWnd, TIMER1, 50, NULL); - srand((unsigned)time(NULL)); - break; - case WM_PAINT: - hDC = BeginPaint(hWnd, &ps); - // Digital Input Box - SelectObject(hDC, hLTGreenBrush); - Rectangle(hDC, input_pos[31].x-10, input_pos[31].y-24, input_pos[0].x+26, input_pos[0].y+40); - SetTextColor(hDC,RGB(255,255,255)); - SetBkColor(hDC, RGB(0, 0, 255)); - TextOut(hDC, input_pos[31].x, input_pos[31].y-30, "Digital Input",13); - // Digital Output Box - SelectObject(hDC, hGreenBrush); - Rectangle(hDC, output_pos[31].x-10, output_pos[31].y-24, output_pos[0].x+26, output_pos[0].y+40); - SetTextColor(hDC,RGB(255,0,0)); - SetBkColor(hDC, RGB(0, 0, 255)); - TextOut(hDC, output_pos[31].x, output_pos[31].y-30, "Digital Output", 14); - // Channel Label - SetTextColor(hDC,RGB(0,0,0)); - SetBkColor(hDC, RGB(0, 255, 0)); - TextOut(hDC, input_pos[31].x, input_pos[31].y+16, "31 16", 75); - TextOut(hDC, input_pos[15].x, input_pos[15].y+16, "15 0", 75); - SetBkColor(hDC, RGB(0, 128, 0)); - TextOut(hDC, output_pos[31].x, output_pos[31].y+16, "31 16", 75); - TextOut(hDC, output_pos[15].x, output_pos[15].y+16, "15 0", 75); - SetBkColor(hDC, RGB(0, 255, 0)); - // Detect Channel Input - for (i=0; i<32; i++) { - if ((input>>i)&0x01) - SelectObject(hDC, hRedBrush); - else - SelectObject(hDC, GetStockObject(WHITE_BRUSH)); - Ellipse(hDC, input_pos[i].x, input_pos[i].y, input_pos[i].x+17, input_pos[i].y+17); - } - // Channel Output - for (i=0; i<32; i++) { - if ((output>>i)&0x01) - SelectObject(hDC, hRedBrush); - else - SelectObject(hDC, GetStockObject(WHITE_BRUSH)); - Ellipse(hDC, output_pos[i].x, output_pos[i].y, output_pos[i].x+17, output_pos[i].y+17); - } - EndPaint(hWnd, &ps); - break; - case WM_COMMAND: - switch(LOWORD(wParam)) { - case IDM_EXIT: - SendMessage(hWnd, WM_CLOSE, 0, 0L); - break; - default: - return(DefWindowProc(hWnd, message, wParam, lParam)); - } - break; - case WM_TIMER: - /* Digital Input */ - DI_ReadPort(card,0,&input); - - hDC = GetDC(hWnd); - for (i=0; i<32; i++) { - if( ((input>>i)&0x01) != ((oldinput>>i)&0x01) ) - { - if ((input>>i)&0x01) - SelectObject(hDC, hRedBrush); - else - SelectObject(hDC, GetStockObject(WHITE_BRUSH)); - Ellipse(hDC, input_pos[i].x, input_pos[i].y, input_pos[i].x+17, input_pos[i].y+17); - } - } - oldinput=input; - ReleaseDC(hWnd, hDC); - break; - case WM_DESTROY: - if(card>=0) - Release_Card (card); - DeleteObject(hRedBrush); - DeleteObject(hGreenBrush); - DeleteObject(hLTGreenBrush); - KillTimer(hWnd, TIMER1); - PostQuitMessage(0); - break; - case WM_LBUTTONDOWN: - px = LOWORD(lParam); - py = HIWORD(lParam); - for (i=0; i<32; i++) { - if (px>output_pos[i].x && pxoutput_pos[i].y && py>i)&0x01) { - output -= (((U32)1L)< -#include -#include -#include -#include -#include "Dask.h" -#include "Resource.h" - -#define IDC_START 300 -#define IDC_OUTPUT 302 - -HANDLE hInst; /* current instance */ -int int_count=0, int2_count=0; -I16 card=-1, card_number = 0; - -HWND hStart, hMainWnd; -HANDLE hEvent[2]; - -int PASCAL WinMain(HANDLE, HANDLE, LPSTR, int); -BOOL InitApplication(HANDLE); -BOOL InitInstance(HANDLE, int); -long PASCAL MainWndProc(HWND, unsigned, WPARAM, LPARAM); - -void -IntThread(void* pArg) -{ - while (1) { - if (WaitForSingleObject(hEvent[0], INFINITE) == WAIT_OBJECT_0) { - int_count++; - ResetEvent(hEvent[0]); - InvalidateRect(hMainWnd, NULL, FALSE); - } - } - _endthread(); -} - -void -Int2Thread(void* pArg) -{ - while (1) { - if (WaitForSingleObject(hEvent[1], INFINITE) == WAIT_OBJECT_0) { - int2_count++; - ResetEvent(hEvent[1]); - InvalidateRect(hMainWnd, NULL, FALSE); - } - } - _endthread(); -} - - /********************************************************************** - - FUNCTION: WinMain(HANDLE, HANDLE, LPSTR, int) - PURPOSE: calls initialization function, processes message loop - - ***********************************************************************/ - - int PASCAL WinMain(hInstance, hPrevInstance, lpCmdLine, nCmdShow) - HANDLE hInstance; - HANDLE hPrevInstance; - LPSTR lpCmdLine; - int nCmdShow; - { - MSG msg; - - if(!hPrevInstance) - if(!InitApplication(hInstance)) - return(FALSE); - - if(!InitInstance(hInstance, nCmdShow)) - return(FALSE); - - while ( GetMessage(&msg, NULL, NULL, NULL)) - { - TranslateMessage(&msg); - DispatchMessage(&msg); - } - return(msg.wParam); - } - -/**************************************************************************** - - FUNCTION: InitApplication(HANDLE) - - PURPOSE: Initializes window data and registers window class - -****************************************************************************/ - -BOOL InitApplication(hInstance) -HANDLE hInstance; -{ - WNDCLASS wc; - - wc.style = NULL; - wc.lpfnWndProc = MainWndProc; - wc.cbClsExtra = 0; - wc.cbWndExtra = 0; - wc.hInstance = hInstance; - wc.hIcon = LoadIcon(NULL, IDI_APPLICATION); - wc.hCursor = LoadCursor(hInstance, IDC_ARROW); - wc.hbrBackground = GetStockObject(WHITE_BRUSH); - wc.lpszMenuName = "U7432Menu"; - wc.lpszClassName = "IntClass"; - - return (RegisterClass(&wc)); -} - -/**************************************************************************** - - FUNCTION: InitInstance(HANDLE, int) - - PURPOSE: Saves instance handle and creates main window - -****************************************************************************/ - -BOOL InitInstance(hInstance, nCmdShow) -HANDLE hInstance; -int nCmdShow; -{ - HWND hWnd; - - hInst = hInstance; - hWnd = CreateWindow("IntClass", "PCI-7432 Dual Interrupt Sample", WS_OVERLAPPEDWINDOW, - 200, 100, 415, 300, NULL, NULL, hInstance, NULL); - if (!hWnd) return (FALSE); - ShowWindow(hWnd, nCmdShow); - UpdateWindow(hWnd); - return (TRUE); -} - -BOOL PASCAL setup(HWND hWnd, unsigned message, WPARAM wParam, LPARAM lParam) -{ - int i; - char n[16]; - char s[50]; - switch (message) { - case WM_INITDIALOG: - for (i=0;i<16;i++) { - wsprintf(n, "%d", i); - _strupr(n); - SendMessage(GetDlgItem(hWnd,IDC_COMBO1), CB_ADDSTRING, NULL, (LONG)(LPSTR) n); - } - SendMessage(GetDlgItem(hWnd,IDC_COMBO1) , CB_SETCURSEL, 0, 0L); - - break; - case WM_COMMAND: - switch(LOWORD(wParam)) { - - case IDC_COMBO1: - if (HIWORD(wParam) == CBN_CLOSEUP) { - i = (int)SendMessage(GetDlgItem(hWnd,IDC_COMBO1), CB_GETCURSEL, 0, 0L); - SendMessage(GetDlgItem(hWnd,IDC_COMBO1), CB_GETLBTEXT, i, (LPARAM)((LPCSTR)n)); - card_number = i; - } - return(TRUE); - case IDOK: - if ((card=Register_Card(PCI_7432, card_number)) < 0) { - wsprintf(s, "Register_Card Error = %d\n", card); - MessageBox(hWnd, s, "Error", MB_OK); - } - EndDialog(hWnd, TRUE); - InvalidateRect(hWnd, NULL, FALSE); - return (TRUE); - case IDCANCEL: - EndDialog(hWnd, TRUE); - return (TRUE); - } - break; - } - return (FALSE); -} - -/**************************************************************************** - - FUNCTION: MainWndProc(HWND, UINT, WPARAM, LPARAM) - - PURPOSE: Processes messages - - -****************************************************************************/ - -long PASCAL MainWndProc(hWnd, message, wParam, lParam) -HWND hWnd; -unsigned message; -WPARAM wParam; -LPARAM lParam; -{ - PAINTSTRUCT ps; - HDC hDC; - char buf[20]; - - switch(message) { - case WM_CREATE: - DialogBox(hInst,IDD_DIALOG2, hWnd, setup); - if(card<0) { - SendMessage(hWnd, WM_CLOSE, 0, 0L); - break; - } - CreateWindow("BUTTON", "Output", WS_CHILD | WS_VISIBLE, - 130, 200, 72, 24, hWnd, IDC_OUTPUT, hInst, NULL); - DIO_SetDualInterrupt(card, INT1_EXT_SIGNAL, INT2_EXT_SIGNAL, hEvent); - hMainWnd = hWnd; - _beginthread(IntThread, 0, 0); - _beginthread(Int2Thread, 0, 0); - break; - case WM_PAINT: - hDC = BeginPaint(hWnd, &ps); - TextOut(hDC, 20, 20, "This program shows the number of occurrence of interrupt",56); - TextOut(hDC, 20, 35, "for Dual interrupt lines.", 25); - TextOut(hDC, 20, 50, "INT1 interrupt is generated by external signal from DI bit-0.", 61); - TextOut(hDC, 20, 65, "INT2 interrupt is generated by external signal from DI bit-1.", 61); - TextOut(hDC, 20, 80, "If you connect DO bit-0 to DI bit-0 and DO bit-1 to DI bit-1,", 61); - TextOut(hDC, 20, 95, "press 'Output' button can generate two interrupts.", 50); - TextOut(hDC, 20, 110,"One for INT1 and the other for INT2.", 36); - wsprintf(buf,"INT1 count = %d", int_count); - TextOut(hDC, 120, 140, buf, strlen(buf)); - wsprintf(buf,"INT2 count = %d", int2_count); - TextOut(hDC, 120, 160, buf, strlen(buf)); - EndPaint(hWnd, &ps); - break; - case WM_COMMAND: - switch(LOWORD(wParam)) { - case IDM_EXIT: - DIO_SetDualInterrupt(card, INT1_DISABLE, INT2_DISABLE, hEvent); - SendMessage(hWnd, WM_CLOSE, 0, 0L); - break; - case IDC_OUTPUT: - DO_WritePort(card,0, 0x3); - Sleep(1); - DO_WritePort(card,0, 0x0); - break; - } - break; - case WM_DESTROY: - if (card >= 0) Release_Card(card); - PostQuitMessage(0); - break; - default: - return (DefWindowProc(hWnd, message, wParam, lParam)); - } - return(0L); -} diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7432/SDK7432DbEvt/7432INT.EXE b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7432/SDK7432DbEvt/7432INT.EXE deleted file mode 100644 index 21b811f..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7432/SDK7432DbEvt/7432INT.EXE and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7432/SDK7432DbEvt/7432INT.MAK b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7432/SDK7432DbEvt/7432INT.MAK deleted file mode 100644 index 3a09d69..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7432/SDK7432DbEvt/7432INT.MAK +++ /dev/null @@ -1,219 +0,0 @@ -# Microsoft Developer Studio Generated NMAKE File, Format Version 4.00 -# ** DO NOT EDIT ** - -# TARGTYPE "Win32 (x86) Application" 0x0101 - -!IF "$(CFG)" == "" -CFG=7432int - Win32 Debug -!MESSAGE No configuration specified. Defaulting to 7432int - Win32 Debug. -!ENDIF - -!IF "$(CFG)" != "7432int - Win32 Release" && "$(CFG)" !=\ - "7432int - Win32 Debug" -!MESSAGE Invalid configuration "$(CFG)" specified. -!MESSAGE You can specify a configuration when running NMAKE on this makefile -!MESSAGE by defining the macro CFG on the command line. For example: -!MESSAGE -!MESSAGE NMAKE /f "7432int.mak" CFG="7432int - Win32 Debug" -!MESSAGE -!MESSAGE Possible choices for configuration are: -!MESSAGE -!MESSAGE "7432int - Win32 Release" (based on "Win32 (x86) Application") -!MESSAGE "7432int - Win32 Debug" (based on "Win32 (x86) Application") -!MESSAGE -!ERROR An invalid configuration is specified. -!ENDIF - -!IF "$(OS)" == "Windows_NT" -NULL= -!ELSE -NULL=nul -!ENDIF -################################################################################ -# Begin Project -# PROP Target_Last_Scanned "7432int - Win32 Debug" -MTL=mktyplib.exe -RSC=rc.exe -CPP=cl.exe - -!IF "$(CFG)" == "7432int - Win32 Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "Release" -# PROP BASE Intermediate_Dir "Release" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "" -# PROP Intermediate_Dir "Release" -# PROP Target_Dir "" -OUTDIR=. -INTDIR=.\Release - -ALL : "$(OUTDIR)\7432int.exe" - -CLEAN : - -@erase ".\7432int.exe" - -@erase ".\Release\7432int.obj" - -@erase ".\Release\7432int.res" - -"$(INTDIR)" : - if not exist "$(INTDIR)/$(NULL)" mkdir "$(INTDIR)" - -# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /YX /c -# ADD CPP /nologo /MT /W3 /GX /Od /I "..\..\..\include" /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /c -# SUBTRACT CPP /YX -CPP_PROJ=/nologo /MT /W3 /GX /Od /I "..\..\..\include" /D "WIN32" /D "NDEBUG"\ - /D "_WINDOWS" /Fo"$(INTDIR)/" /c -CPP_OBJS=.\Release/ -CPP_SBRS= -# ADD BASE MTL /nologo /D "NDEBUG" /win32 -# ADD MTL /nologo /D "NDEBUG" /win32 -MTL_PROJ=/nologo /D "NDEBUG" /win32 -# ADD BASE RSC /l 0x404 /d "NDEBUG" -# ADD RSC /l 0x404 /d "NDEBUG" -RSC_PROJ=/l 0x404 /fo"$(INTDIR)/7432int.res" /d "NDEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -BSC32_FLAGS=/nologo /o"$(OUTDIR)/7432int.bsc" -BSC32_SBRS= -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:windows /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ..\..\..\lib\PCI-DASK.lib /nologo /subsystem:windows /machine:I386 -LINK32_FLAGS=kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib\ - advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib\ - odbccp32.lib ..\..\..\lib\PCI-DASK.lib /nologo /subsystem:windows\ - /incremental:no /pdb:"$(OUTDIR)/7432int.pdb" /machine:I386\ - /out:"$(OUTDIR)/7432int.exe" -LINK32_OBJS= \ - "$(INTDIR)/7432int.obj" \ - "$(INTDIR)/7432int.res" - -"$(OUTDIR)\7432int.exe" : "$(OUTDIR)" $(DEF_FILE) $(LINK32_OBJS) - $(LINK32) @<< - $(LINK32_FLAGS) $(LINK32_OBJS) -<< - -!ELSEIF "$(CFG)" == "7432int - Win32 Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "Debug" -# PROP BASE Intermediate_Dir "Debug" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "" -# PROP Intermediate_Dir "Debug" -# PROP Target_Dir "" -OUTDIR=. -INTDIR=.\Debug - -ALL : "$(OUTDIR)\7432int.exe" - -CLEAN : - -@erase ".\Debug\vc40.pdb" - -@erase ".\Debug\vc40.idb" - -@erase ".\7432int.exe" - -@erase ".\Debug\7432int.obj" - -@erase ".\Debug\7432int.res" - -@erase ".\7432int.ilk" - -@erase ".\7432int.pdb" - -"$(INTDIR)" : - if not exist "$(INTDIR)/$(NULL)" mkdir "$(INTDIR)" - -# ADD BASE CPP /nologo /W3 /Gm /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /YX /c -# ADD CPP /nologo /MTd /W3 /Gm /GX /Zi /Od /I "..\..\..\include" /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /c -# SUBTRACT CPP /YX -CPP_PROJ=/nologo /MTd /W3 /Gm /GX /Zi /Od /I "..\..\..\include" /D "WIN32" /D\ - "_DEBUG" /D "_WINDOWS" /Fo"$(INTDIR)/" /Fd"$(INTDIR)/" /c -CPP_OBJS=.\Debug/ -CPP_SBRS= -# ADD BASE MTL /nologo /D "_DEBUG" /win32 -# ADD MTL /nologo /D "_DEBUG" /win32 -MTL_PROJ=/nologo /D "_DEBUG" /win32 -# ADD BASE RSC /l 0x404 /d "_DEBUG" -# ADD RSC /l 0x404 /d "_DEBUG" -RSC_PROJ=/l 0x404 /fo"$(INTDIR)/7432int.res" /d "_DEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -BSC32_FLAGS=/nologo /o"$(OUTDIR)/7432int.bsc" -BSC32_SBRS= -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:windows /debug /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ..\..\..\lib\PCI-DASK.lib /nologo /subsystem:windows /debug /machine:I386 -LINK32_FLAGS=kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib\ - advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib\ - odbccp32.lib ..\..\..\lib\PCI-DASK.lib /nologo /subsystem:windows\ - /incremental:yes /pdb:"$(OUTDIR)/7432int.pdb" /debug /machine:I386\ - /out:"$(OUTDIR)/7432int.exe" -LINK32_OBJS= \ - "$(INTDIR)/7432int.obj" \ - "$(INTDIR)/7432int.res" - -"$(OUTDIR)\7432int.exe" : "$(OUTDIR)" $(DEF_FILE) $(LINK32_OBJS) - $(LINK32) @<< - $(LINK32_FLAGS) $(LINK32_OBJS) -<< - -!ENDIF - -.c{$(CPP_OBJS)}.obj: - $(CPP) $(CPP_PROJ) $< - -.cpp{$(CPP_OBJS)}.obj: - $(CPP) $(CPP_PROJ) $< - -.cxx{$(CPP_OBJS)}.obj: - $(CPP) $(CPP_PROJ) $< - -.c{$(CPP_SBRS)}.sbr: - $(CPP) $(CPP_PROJ) $< - -.cpp{$(CPP_SBRS)}.sbr: - $(CPP) $(CPP_PROJ) $< - -.cxx{$(CPP_SBRS)}.sbr: - $(CPP) $(CPP_PROJ) $< - -################################################################################ -# Begin Target - -# Name "7432int - Win32 Release" -# Name "7432int - Win32 Debug" - -!IF "$(CFG)" == "7432int - Win32 Release" - -!ELSEIF "$(CFG)" == "7432int - Win32 Debug" - -!ENDIF - -################################################################################ -# Begin Source File - -SOURCE=.\7432int.c -DEP_CPP_7432I=\ - ".\..\..\..\include\Dask.h"\ - - -"$(INTDIR)\7432int.obj" : $(SOURCE) $(DEP_CPP_7432I) "$(INTDIR)" - - -# End Source File -################################################################################ -# Begin Source File - -SOURCE=.\7432int.rc - -"$(INTDIR)\7432int.res" : $(SOURCE) "$(INTDIR)" - $(RSC) $(RSC_PROJ) $(SOURCE) - - -# End Source File -# End Target -# End Project -################################################################################ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7432/SDK7432DbEvt/7432INT.MDP b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7432/SDK7432DbEvt/7432INT.MDP deleted file mode 100644 index 2cce5e0..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7432/SDK7432DbEvt/7432INT.MDP and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7432/SDK7432DbEvt/7432INT.RC b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7432/SDK7432DbEvt/7432INT.RC deleted file mode 100644 index e3a5af3..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7432/SDK7432DbEvt/7432INT.RC +++ /dev/null @@ -1,115 +0,0 @@ -//Microsoft Developer Studio generated resource script. -// -#include "resource.h" - -#define APSTUDIO_READONLY_SYMBOLS -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 2 resource. -// -#define APSTUDIO_HIDDEN_SYMBOLS -#include "windows.h" -#undef APSTUDIO_HIDDEN_SYMBOLS - -///////////////////////////////////////////////////////////////////////////// -#undef APSTUDIO_READONLY_SYMBOLS - -///////////////////////////////////////////////////////////////////////////// -// English (U.S.) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -#ifdef _WIN32 -LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US -#pragma code_page(1252) -#endif //_WIN32 - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog -// - -IDD_DIALOG2 DIALOG DISCARDABLE 110, 10, 106, 61 -STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "Card Number" -FONT 10, "System" -BEGIN - DEFPUSHBUTTON "OK",IDOK,10,40,37,14 - PUSHBUTTON "Cancel",IDCANCEL,61,40,38,14 - LTEXT "Card Number",IDC_STATIC,3,13,47,13 - COMBOBOX IDC_COMBO1,51,13,48,84,CBS_DROPDOWN | WS_VSCROLL | - WS_TABSTOP -END - - -///////////////////////////////////////////////////////////////////////////// -// -// DESIGNINFO -// - -#ifdef APSTUDIO_INVOKED -GUIDELINES DESIGNINFO DISCARDABLE -BEGIN - IDD_DIALOG2, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 99 - TOPMARGIN, 7 - BOTTOMMARGIN, 54 - END -END -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// Menu -// - -U7432MENU MENU DISCARDABLE -BEGIN - MENUITEM "E&xit!", IDM_EXIT -END - - -#ifdef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// TEXTINCLUDE -// - -1 TEXTINCLUDE DISCARDABLE -BEGIN - "resource.h\0" -END - -2 TEXTINCLUDE DISCARDABLE -BEGIN - "#define APSTUDIO_HIDDEN_SYMBOLS\r\n" - "#include ""windows.h""\r\n" - "#undef APSTUDIO_HIDDEN_SYMBOLS\r\n" - "\0" -END - -3 TEXTINCLUDE DISCARDABLE -BEGIN - "\r\n" - "\0" -END - -#endif // APSTUDIO_INVOKED - -#endif // English (U.S.) resources -///////////////////////////////////////////////////////////////////////////// - - - -#ifndef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 3 resource. -// - - -///////////////////////////////////////////////////////////////////////////// -#endif // not APSTUDIO_INVOKED - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7432/SDK7432DbEvt/Resource.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7432/SDK7432DbEvt/Resource.h deleted file mode 100644 index 9ba0b49..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7432/SDK7432DbEvt/Resource.h +++ /dev/null @@ -1,30 +0,0 @@ -//{{NO_DEPENDENCIES}} -// Microsoft Developer Studio generated include file. -// Used by 7432int.rc -// -#define IDM_SETUP 101 -#define IDD_DIALOG1 101 -#define IDD_DIALOG2 102 -#define IDM_EXIT 110 -#define IDM_GO 300 -#define IDM_ABOUT 301 -#define DMA_DATA 302 -#define ID_STOP 304 -#define IDM_CLEAR 305 -#define DMA_SPACE 500 -#define IDC_COMBO1 1004 -#define IDC_COMBO2 1005 -#define IDC_EDIT1 1007 -#define IDC_EDIT2 1008 -#define IDC_STATIC -1 - -// Next default values for new objects -// -#ifdef APSTUDIO_INVOKED -#ifndef APSTUDIO_READONLY_SYMBOLS -#define _APS_NEXT_RESOURCE_VALUE 103 -#define _APS_NEXT_COMMAND_VALUE 102 -#define _APS_NEXT_CONTROL_VALUE 1008 -#define _APS_NEXT_SYMED_VALUE 101 -#endif -#endif diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7432/SDK7432DbEvtMsg/7432INT.C b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7432/SDK7432DbEvtMsg/7432INT.C deleted file mode 100644 index 41b7f70..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7432/SDK7432DbEvtMsg/7432INT.C +++ /dev/null @@ -1,242 +0,0 @@ -/*;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; -;; Copyright (c) 1995-1999, ADLink Technology Inc. All rights reserved. ;; -;; ;; -;; File Name : 7432INT.C ;; -;; Purpose : This sample program demonstrates how handle interrupt ;; -;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;*/ - -#include -#include -#include -#include -#include -#include "Dask.h" -#include "Resource.h" - -#define IDC_START 300 -#define IDC_OUTPUT 302 -#define WM_INT 2000 - -HANDLE hInst; /* current instance */ -int int_count[2]= {0, 0}; -I16 card=-1, card_number = 0; -HWND hStart, hMainWnd; - -int PASCAL WinMain(HANDLE, HANDLE, LPSTR, int); -BOOL InitApplication(HANDLE); -BOOL InitInstance(HANDLE, int); -long PASCAL MainWndProc(HWND, unsigned, WPARAM, LPARAM); -LRESULT CALLBACK cbfn(); -void mesgfn(); - - /********************************************************************** - - FUNCTION: WinMain(HANDLE, HANDLE, LPSTR, int) - PURPOSE: calls initialization function, processes message loop - - ***********************************************************************/ - - int PASCAL WinMain(hInstance, hPrevInstance, lpCmdLine, nCmdShow) - HANDLE hInstance; - HANDLE hPrevInstance; - LPSTR lpCmdLine; - int nCmdShow; - { - MSG msg; - - if(!hPrevInstance) - if(!InitApplication(hInstance)) - return(FALSE); - - if(!InitInstance(hInstance, nCmdShow)) - return(FALSE); - - while ( GetMessage(&msg, NULL, NULL, NULL)) - { - TranslateMessage(&msg); - DispatchMessage(&msg); - } - return(msg.wParam); - } - -/**************************************************************************** - - FUNCTION: InitApplication(HANDLE) - - PURPOSE: Initializes window data and registers window class - -****************************************************************************/ - -BOOL InitApplication(hInstance) -HANDLE hInstance; -{ - WNDCLASS wc; - - wc.style = NULL; - wc.lpfnWndProc = MainWndProc; - wc.cbClsExtra = 0; - wc.cbWndExtra = 0; - wc.hInstance = hInstance; - wc.hIcon = LoadIcon(NULL, IDI_APPLICATION); - wc.hCursor = LoadCursor(hInstance, IDC_ARROW); - wc.hbrBackground = GetStockObject(WHITE_BRUSH); - wc.lpszMenuName = "U7432Menu"; - wc.lpszClassName = "IntClass"; - - return (RegisterClass(&wc)); -} - -/**************************************************************************** - - FUNCTION: InitInstance(HANDLE, int) - - PURPOSE: Saves instance handle and creates main window - -****************************************************************************/ - -BOOL InitInstance(hInstance, nCmdShow) -HANDLE hInstance; -int nCmdShow; -{ - HWND hWnd; - - hInst = hInstance; - hWnd = CreateWindow("IntClass", "PCI-7432 Dual Interrupt Sample", WS_OVERLAPPEDWINDOW, - 200, 100, 415, 300, NULL, NULL, hInstance, NULL); - if (!hWnd) return (FALSE); - ShowWindow(hWnd, nCmdShow); - UpdateWindow(hWnd); - return (TRUE); -} - -BOOL PASCAL setup(HWND hWnd, unsigned message, WPARAM wParam, LPARAM lParam) -{ - int i; - char n[16]; - char s[50]; - switch (message) { - case WM_INITDIALOG: - for (i=0;i<16;i++) { - wsprintf(n, "%d", i); - _strupr(n); - SendMessage(GetDlgItem(hWnd,IDC_COMBO1), CB_ADDSTRING, NULL, (LONG)(LPSTR) n); - } - SendMessage(GetDlgItem(hWnd,IDC_COMBO1) , CB_SETCURSEL, 0, 0L); - - break; - case WM_COMMAND: - switch(LOWORD(wParam)) { - - case IDC_COMBO1: - if (HIWORD(wParam) == CBN_CLOSEUP) { - i = (int)SendMessage(GetDlgItem(hWnd,IDC_COMBO1), CB_GETCURSEL, 0, 0L); - SendMessage(GetDlgItem(hWnd,IDC_COMBO1), CB_GETLBTEXT, i, (LPARAM)((LPCSTR)n)); - card_number = i; - } - return(TRUE); - case IDOK: - if ((card=Register_Card(PCI_7432, card_number)) < 0) { - wsprintf(s, "Register_Card Error = %d\n", card); - MessageBox(hWnd, s, "Error", MB_OK); - } - EndDialog(hWnd, TRUE); - InvalidateRect(hWnd, NULL, FALSE); - return (TRUE); - case IDCANCEL: - EndDialog(hWnd, TRUE); - return (TRUE); - } - break; - } - return (FALSE); -} - -/**************************************************************************** - - FUNCTION: MainWndProc(HWND, UINT, WPARAM, LPARAM) - - PURPOSE: Processes messages - - -****************************************************************************/ - -long PASCAL MainWndProc(hWnd, message, wParam, lParam) -HWND hWnd; -unsigned message; -WPARAM wParam; -LPARAM lParam; -{ - PAINTSTRUCT ps; - HDC hDC; - char buf[20]; - char s[50]; - - switch(message) { - case WM_CREATE: - DialogBox(hInst,IDD_DIALOG2, hWnd, setup); - if(card<0) { - SendMessage(hWnd, WM_CLOSE, 0, 0L); - break; - } - CreateWindow("BUTTON", "Output", WS_CHILD | WS_VISIBLE, - 130, 200, 72, 24, hWnd, IDC_OUTPUT, hInst, NULL); - - int_count[0]=0; - int_count[1]=0; - DIO_INT1_EventMessage (card, INT1_EXT_SIGNAL, hWnd, WM_INT, NULL); - DIO_INT2_EventMessage (card, INT2_EXT_SIGNAL, hWnd, NULL, (void *) cbfn); - hMainWnd = hWnd; - break; - case WM_PAINT: - hDC = BeginPaint(hWnd, &ps); - TextOut(hDC, 20, 20, "This program shows the number of occurrence of interrupt",56); - TextOut(hDC, 20, 35, "for Dual interrupt lines.", 25); - TextOut(hDC, 20, 50, "INT1 interrupt is generated by external signal from DI bit-0.", 61); - TextOut(hDC, 20, 65, "INT2 interrupt is generated by external signal from DI bit-1.", 61); - TextOut(hDC, 20, 80, "If you connect DO bit-0 to DI bit-0 and DO bit-1 to DI bit-1,", 61); - TextOut(hDC, 20, 95, "press 'Output' button can generate two interrupts.", 50); - TextOut(hDC, 20, 110,"One for INT1 and the other for INT2.", 36); - wsprintf(buf,"INT1 count = %d", int_count[0]); - TextOut(hDC, 120, 140, buf, strlen(buf)); - wsprintf(buf,"INT2 count = %d", int_count[1]); - TextOut(hDC, 120, 160, buf, strlen(buf)); - EndPaint(hWnd, &ps); - break; - case WM_COMMAND: - switch(LOWORD(wParam)) { - case IDM_EXIT: - DIO_INT1_EventMessage (card, INT1_DISABLE, hMainWnd, NULL, NULL); - DIO_INT2_EventMessage (card, INT2_DISABLE, hMainWnd, NULL, NULL); - SendMessage(hWnd, WM_CLOSE, 0, 0L); - break; - case IDC_OUTPUT: - DO_WritePort(card,0, 0x3); - Sleep(1); - DO_WritePort(card,0, 0x0); - break; - } - break; - case WM_INT: - mesgfn(); - break; - case WM_DESTROY: - if (card >= 0) Release_Card(card); - PostQuitMessage(0); - break; - default: - return (DefWindowProc(hWnd, message, wParam, lParam)); - } - return(0L); -} - -void mesgfn() -{ - int_count[0]++; - InvalidateRect(hMainWnd, NULL, FALSE); -} - -LRESULT CALLBACK cbfn() -{ - int_count[1]++; - InvalidateRect(hMainWnd, NULL, FALSE); -} \ No newline at end of file diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7432/SDK7432DbEvtMsg/7432INT.EXE b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7432/SDK7432DbEvtMsg/7432INT.EXE deleted file mode 100644 index 072df5c..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7432/SDK7432DbEvtMsg/7432INT.EXE and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7432/SDK7432DbEvtMsg/7432INT.MAK b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7432/SDK7432DbEvtMsg/7432INT.MAK deleted file mode 100644 index 3a09d69..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7432/SDK7432DbEvtMsg/7432INT.MAK +++ /dev/null @@ -1,219 +0,0 @@ -# Microsoft Developer Studio Generated NMAKE File, Format Version 4.00 -# ** DO NOT EDIT ** - -# TARGTYPE "Win32 (x86) Application" 0x0101 - -!IF "$(CFG)" == "" -CFG=7432int - Win32 Debug -!MESSAGE No configuration specified. Defaulting to 7432int - Win32 Debug. -!ENDIF - -!IF "$(CFG)" != "7432int - Win32 Release" && "$(CFG)" !=\ - "7432int - Win32 Debug" -!MESSAGE Invalid configuration "$(CFG)" specified. -!MESSAGE You can specify a configuration when running NMAKE on this makefile -!MESSAGE by defining the macro CFG on the command line. For example: -!MESSAGE -!MESSAGE NMAKE /f "7432int.mak" CFG="7432int - Win32 Debug" -!MESSAGE -!MESSAGE Possible choices for configuration are: -!MESSAGE -!MESSAGE "7432int - Win32 Release" (based on "Win32 (x86) Application") -!MESSAGE "7432int - Win32 Debug" (based on "Win32 (x86) Application") -!MESSAGE -!ERROR An invalid configuration is specified. -!ENDIF - -!IF "$(OS)" == "Windows_NT" -NULL= -!ELSE -NULL=nul -!ENDIF -################################################################################ -# Begin Project -# PROP Target_Last_Scanned "7432int - Win32 Debug" -MTL=mktyplib.exe -RSC=rc.exe -CPP=cl.exe - -!IF "$(CFG)" == "7432int - Win32 Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "Release" -# PROP BASE Intermediate_Dir "Release" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "" -# PROP Intermediate_Dir "Release" -# PROP Target_Dir "" -OUTDIR=. -INTDIR=.\Release - -ALL : "$(OUTDIR)\7432int.exe" - -CLEAN : - -@erase ".\7432int.exe" - -@erase ".\Release\7432int.obj" - -@erase ".\Release\7432int.res" - -"$(INTDIR)" : - if not exist "$(INTDIR)/$(NULL)" mkdir "$(INTDIR)" - -# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /YX /c -# ADD CPP /nologo /MT /W3 /GX /Od /I "..\..\..\include" /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /c -# SUBTRACT CPP /YX -CPP_PROJ=/nologo /MT /W3 /GX /Od /I "..\..\..\include" /D "WIN32" /D "NDEBUG"\ - /D "_WINDOWS" /Fo"$(INTDIR)/" /c -CPP_OBJS=.\Release/ -CPP_SBRS= -# ADD BASE MTL /nologo /D "NDEBUG" /win32 -# ADD MTL /nologo /D "NDEBUG" /win32 -MTL_PROJ=/nologo /D "NDEBUG" /win32 -# ADD BASE RSC /l 0x404 /d "NDEBUG" -# ADD RSC /l 0x404 /d "NDEBUG" -RSC_PROJ=/l 0x404 /fo"$(INTDIR)/7432int.res" /d "NDEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -BSC32_FLAGS=/nologo /o"$(OUTDIR)/7432int.bsc" -BSC32_SBRS= -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:windows /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ..\..\..\lib\PCI-DASK.lib /nologo /subsystem:windows /machine:I386 -LINK32_FLAGS=kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib\ - advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib\ - odbccp32.lib ..\..\..\lib\PCI-DASK.lib /nologo /subsystem:windows\ - /incremental:no /pdb:"$(OUTDIR)/7432int.pdb" /machine:I386\ - /out:"$(OUTDIR)/7432int.exe" -LINK32_OBJS= \ - "$(INTDIR)/7432int.obj" \ - "$(INTDIR)/7432int.res" - -"$(OUTDIR)\7432int.exe" : "$(OUTDIR)" $(DEF_FILE) $(LINK32_OBJS) - $(LINK32) @<< - $(LINK32_FLAGS) $(LINK32_OBJS) -<< - -!ELSEIF "$(CFG)" == "7432int - Win32 Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "Debug" -# PROP BASE Intermediate_Dir "Debug" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "" -# PROP Intermediate_Dir "Debug" -# PROP Target_Dir "" -OUTDIR=. -INTDIR=.\Debug - -ALL : "$(OUTDIR)\7432int.exe" - -CLEAN : - -@erase ".\Debug\vc40.pdb" - -@erase ".\Debug\vc40.idb" - -@erase ".\7432int.exe" - -@erase ".\Debug\7432int.obj" - -@erase ".\Debug\7432int.res" - -@erase ".\7432int.ilk" - -@erase ".\7432int.pdb" - -"$(INTDIR)" : - if not exist "$(INTDIR)/$(NULL)" mkdir "$(INTDIR)" - -# ADD BASE CPP /nologo /W3 /Gm /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /YX /c -# ADD CPP /nologo /MTd /W3 /Gm /GX /Zi /Od /I "..\..\..\include" /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /c -# SUBTRACT CPP /YX -CPP_PROJ=/nologo /MTd /W3 /Gm /GX /Zi /Od /I "..\..\..\include" /D "WIN32" /D\ - "_DEBUG" /D "_WINDOWS" /Fo"$(INTDIR)/" /Fd"$(INTDIR)/" /c -CPP_OBJS=.\Debug/ -CPP_SBRS= -# ADD BASE MTL /nologo /D "_DEBUG" /win32 -# ADD MTL /nologo /D "_DEBUG" /win32 -MTL_PROJ=/nologo /D "_DEBUG" /win32 -# ADD BASE RSC /l 0x404 /d "_DEBUG" -# ADD RSC /l 0x404 /d "_DEBUG" -RSC_PROJ=/l 0x404 /fo"$(INTDIR)/7432int.res" /d "_DEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -BSC32_FLAGS=/nologo /o"$(OUTDIR)/7432int.bsc" -BSC32_SBRS= -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:windows /debug /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ..\..\..\lib\PCI-DASK.lib /nologo /subsystem:windows /debug /machine:I386 -LINK32_FLAGS=kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib\ - advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib\ - odbccp32.lib ..\..\..\lib\PCI-DASK.lib /nologo /subsystem:windows\ - /incremental:yes /pdb:"$(OUTDIR)/7432int.pdb" /debug /machine:I386\ - /out:"$(OUTDIR)/7432int.exe" -LINK32_OBJS= \ - "$(INTDIR)/7432int.obj" \ - "$(INTDIR)/7432int.res" - -"$(OUTDIR)\7432int.exe" : "$(OUTDIR)" $(DEF_FILE) $(LINK32_OBJS) - $(LINK32) @<< - $(LINK32_FLAGS) $(LINK32_OBJS) -<< - -!ENDIF - -.c{$(CPP_OBJS)}.obj: - $(CPP) $(CPP_PROJ) $< - -.cpp{$(CPP_OBJS)}.obj: - $(CPP) $(CPP_PROJ) $< - -.cxx{$(CPP_OBJS)}.obj: - $(CPP) $(CPP_PROJ) $< - -.c{$(CPP_SBRS)}.sbr: - $(CPP) $(CPP_PROJ) $< - -.cpp{$(CPP_SBRS)}.sbr: - $(CPP) $(CPP_PROJ) $< - -.cxx{$(CPP_SBRS)}.sbr: - $(CPP) $(CPP_PROJ) $< - -################################################################################ -# Begin Target - -# Name "7432int - Win32 Release" -# Name "7432int - Win32 Debug" - -!IF "$(CFG)" == "7432int - Win32 Release" - -!ELSEIF "$(CFG)" == "7432int - Win32 Debug" - -!ENDIF - -################################################################################ -# Begin Source File - -SOURCE=.\7432int.c -DEP_CPP_7432I=\ - ".\..\..\..\include\Dask.h"\ - - -"$(INTDIR)\7432int.obj" : $(SOURCE) $(DEP_CPP_7432I) "$(INTDIR)" - - -# End Source File -################################################################################ -# Begin Source File - -SOURCE=.\7432int.rc - -"$(INTDIR)\7432int.res" : $(SOURCE) "$(INTDIR)" - $(RSC) $(RSC_PROJ) $(SOURCE) - - -# End Source File -# End Target -# End Project -################################################################################ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7432/SDK7432DbEvtMsg/7432INT.MDP b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7432/SDK7432DbEvtMsg/7432INT.MDP deleted file mode 100644 index 7bb0991..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7432/SDK7432DbEvtMsg/7432INT.MDP and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7432/SDK7432DbEvtMsg/7432INT.RC b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7432/SDK7432DbEvtMsg/7432INT.RC deleted file mode 100644 index e3a5af3..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7432/SDK7432DbEvtMsg/7432INT.RC +++ /dev/null @@ -1,115 +0,0 @@ -//Microsoft Developer Studio generated resource script. -// -#include "resource.h" - -#define APSTUDIO_READONLY_SYMBOLS -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 2 resource. -// -#define APSTUDIO_HIDDEN_SYMBOLS -#include "windows.h" -#undef APSTUDIO_HIDDEN_SYMBOLS - -///////////////////////////////////////////////////////////////////////////// -#undef APSTUDIO_READONLY_SYMBOLS - -///////////////////////////////////////////////////////////////////////////// -// English (U.S.) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -#ifdef _WIN32 -LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US -#pragma code_page(1252) -#endif //_WIN32 - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog -// - -IDD_DIALOG2 DIALOG DISCARDABLE 110, 10, 106, 61 -STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "Card Number" -FONT 10, "System" -BEGIN - DEFPUSHBUTTON "OK",IDOK,10,40,37,14 - PUSHBUTTON "Cancel",IDCANCEL,61,40,38,14 - LTEXT "Card Number",IDC_STATIC,3,13,47,13 - COMBOBOX IDC_COMBO1,51,13,48,84,CBS_DROPDOWN | WS_VSCROLL | - WS_TABSTOP -END - - -///////////////////////////////////////////////////////////////////////////// -// -// DESIGNINFO -// - -#ifdef APSTUDIO_INVOKED -GUIDELINES DESIGNINFO DISCARDABLE -BEGIN - IDD_DIALOG2, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 99 - TOPMARGIN, 7 - BOTTOMMARGIN, 54 - END -END -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// Menu -// - -U7432MENU MENU DISCARDABLE -BEGIN - MENUITEM "E&xit!", IDM_EXIT -END - - -#ifdef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// TEXTINCLUDE -// - -1 TEXTINCLUDE DISCARDABLE -BEGIN - "resource.h\0" -END - -2 TEXTINCLUDE DISCARDABLE -BEGIN - "#define APSTUDIO_HIDDEN_SYMBOLS\r\n" - "#include ""windows.h""\r\n" - "#undef APSTUDIO_HIDDEN_SYMBOLS\r\n" - "\0" -END - -3 TEXTINCLUDE DISCARDABLE -BEGIN - "\r\n" - "\0" -END - -#endif // APSTUDIO_INVOKED - -#endif // English (U.S.) resources -///////////////////////////////////////////////////////////////////////////// - - - -#ifndef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 3 resource. -// - - -///////////////////////////////////////////////////////////////////////////// -#endif // not APSTUDIO_INVOKED - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7432/SDK7432DbEvtMsg/Resource.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7432/SDK7432DbEvtMsg/Resource.h deleted file mode 100644 index 9ba0b49..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7432/SDK7432DbEvtMsg/Resource.h +++ /dev/null @@ -1,30 +0,0 @@ -//{{NO_DEPENDENCIES}} -// Microsoft Developer Studio generated include file. -// Used by 7432int.rc -// -#define IDM_SETUP 101 -#define IDD_DIALOG1 101 -#define IDD_DIALOG2 102 -#define IDM_EXIT 110 -#define IDM_GO 300 -#define IDM_ABOUT 301 -#define DMA_DATA 302 -#define ID_STOP 304 -#define IDM_CLEAR 305 -#define DMA_SPACE 500 -#define IDC_COMBO1 1004 -#define IDC_COMBO2 1005 -#define IDC_EDIT1 1007 -#define IDC_EDIT2 1008 -#define IDC_STATIC -1 - -// Next default values for new objects -// -#ifdef APSTUDIO_INVOKED -#ifndef APSTUDIO_READONLY_SYMBOLS -#define _APS_NEXT_RESOURCE_VALUE 103 -#define _APS_NEXT_COMMAND_VALUE 102 -#define _APS_NEXT_CONTROL_VALUE 1008 -#define _APS_NEXT_SYMED_VALUE 101 -#endif -#endif diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7432/SDK7432int/7432INT.C b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7432/SDK7432int/7432INT.C deleted file mode 100644 index e7bb5f7..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7432/SDK7432int/7432INT.C +++ /dev/null @@ -1,232 +0,0 @@ -/*;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; -;; Copyright (c) 1995-1999, ADLink Technology Inc. All rights reserved. ;; -;; ;; -;; File Name : 7432INT.C ;; -;; Purpose : This sample program demonstrates how handle interrupt ;; -;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;*/ - -#include -#include -#include -#include -#include -#include "Dask.h" -#include "Resource.h" - -#define IDC_START 300 -#define IDC_OUTPUT 302 - -HANDLE hInst; /* current instance */ -int int_count=0; -I16 card=-1, card_number = 0; - -HWND hStart, hMainWnd; -HANDLE hEvent[2]; - -int PASCAL WinMain(HANDLE, HANDLE, LPSTR, int); -BOOL InitApplication(HANDLE); -BOOL InitInstance(HANDLE, int); -long PASCAL MainWndProc(HWND, unsigned, WPARAM, LPARAM); - -void -IntThread(void* pArg) -{ - while (1) { - if (WaitForSingleObject(hEvent[0], INFINITE) == WAIT_OBJECT_0) { - int_count++; - ResetEvent(hEvent[0]); - InvalidateRect(hMainWnd, NULL, FALSE); - } - } - _endthread(); -} - - /********************************************************************** - - FUNCTION: WinMain(HANDLE, HANDLE, LPSTR, int) - PURPOSE: calls initialization function, processes message loop - - ***********************************************************************/ - - int PASCAL WinMain(hInstance, hPrevInstance, lpCmdLine, nCmdShow) - HANDLE hInstance; - HANDLE hPrevInstance; - LPSTR lpCmdLine; - int nCmdShow; - { - MSG msg; - - if(!hPrevInstance) - if(!InitApplication(hInstance)) - return(FALSE); - - if(!InitInstance(hInstance, nCmdShow)) - return(FALSE); - - while ( GetMessage(&msg, NULL, NULL, NULL)) - { - TranslateMessage(&msg); - DispatchMessage(&msg); - } - return(msg.wParam); - } - -/**************************************************************************** - - FUNCTION: InitApplication(HANDLE) - - PURPOSE: Initializes window data and registers window class - -****************************************************************************/ - -BOOL InitApplication(hInstance) -HANDLE hInstance; -{ - WNDCLASS wc; - - wc.style = NULL; - wc.lpfnWndProc = MainWndProc; - wc.cbClsExtra = 0; - wc.cbWndExtra = 0; - wc.hInstance = hInstance; - wc.hIcon = LoadIcon(NULL, IDI_APPLICATION); - wc.hCursor = LoadCursor(hInstance, IDC_ARROW); - wc.hbrBackground = GetStockObject(WHITE_BRUSH); - wc.lpszMenuName = "U7432Menu"; - wc.lpszClassName = "IntClass"; - - return (RegisterClass(&wc)); -} - -/**************************************************************************** - - FUNCTION: InitInstance(HANDLE, int) - - PURPOSE: Saves instance handle and creates main window - -****************************************************************************/ - -BOOL InitInstance(hInstance, nCmdShow) -HANDLE hInstance; -int nCmdShow; -{ - HWND hWnd; - - hInst = hInstance; - hWnd = CreateWindow("IntClass", "PCI-7432 Interrupt Sample (INT1)", WS_OVERLAPPEDWINDOW, - 200, 100, 360, 300, NULL, NULL, hInstance, NULL); - if (!hWnd) return (FALSE); - ShowWindow(hWnd, nCmdShow); - UpdateWindow(hWnd); - return (TRUE); -} - -BOOL PASCAL setup(HWND hWnd, unsigned message, WPARAM wParam, LPARAM lParam) -{ - int i; - char n[16]; - char s[50]; - switch (message) { - case WM_INITDIALOG: - for (i=0;i<16;i++) { - wsprintf(n, "%d", i); - _strupr(n); - SendMessage(GetDlgItem(hWnd,IDC_COMBO1), CB_ADDSTRING, NULL, (LONG)(LPSTR) n); - } - SendMessage(GetDlgItem(hWnd,IDC_COMBO1) , CB_SETCURSEL, 0, 0L); - - break; - case WM_COMMAND: - switch(LOWORD(wParam)) { - - case IDC_COMBO1: - if (HIWORD(wParam) == CBN_CLOSEUP) { - i = (int)SendMessage(GetDlgItem(hWnd,IDC_COMBO1), CB_GETCURSEL, 0, 0L); - SendMessage(GetDlgItem(hWnd,IDC_COMBO1), CB_GETLBTEXT, i, (LPARAM)((LPCSTR)n)); - card_number = i; - } - return(TRUE); - case IDOK: - if ((card=Register_Card(PCI_7432, card_number)) < 0) { - wsprintf(s, "Register_Card Error = %d\n", card); - MessageBox(hWnd, s, "Error", MB_OK); - } - EndDialog(hWnd, TRUE); - InvalidateRect(hWnd, NULL, FALSE); - return (TRUE); - case IDCANCEL: - EndDialog(hWnd, TRUE); - return (TRUE); - } - break; - } - return (FALSE); -} - -/**************************************************************************** - - FUNCTION: MainWndProc(HWND, UINT, WPARAM, LPARAM) - - PURPOSE: Processes messages - - -****************************************************************************/ - -long PASCAL MainWndProc(hWnd, message, wParam, lParam) -HWND hWnd; -unsigned message; -WPARAM wParam; -LPARAM lParam; -{ - PAINTSTRUCT ps; - HDC hDC; - char buf[20]; - char s[50]; - - switch(message) { - case WM_CREATE: - DialogBox(hInst,IDD_DIALOG2, hWnd, setup); - if(card<0) { - SendMessage(hWnd, WM_CLOSE, 0, 0L); - break; - } - CreateWindow("BUTTON", "Output", WS_CHILD | WS_VISIBLE, - 130, 200, 72, 24, hWnd, IDC_OUTPUT, hInst, NULL); - - DIO_SetDualInterrupt(card, INT1_EXT_SIGNAL, INT2_DISABLE, hEvent); - hMainWnd = hWnd; - _beginthread(IntThread, 0, 0); - break; - case WM_PAINT: - hDC = BeginPaint(hWnd, &ps); - TextOut(hDC, 20, 30, "This program shows the number of occurrence", 43); - TextOut(hDC, 20, 45, "of INT1 interupt. INT1 interrupt is generated", 45); - TextOut(hDC, 20, 60, "by external signal from DI bit-0. If you connect", 48); - TextOut(hDC, 20, 75, "DO bit-0 to DI bit-0, press 'Output' button can", 47); - TextOut(hDC, 20, 90, "generate an interrupt.", 22); - wsprintf(buf,"INT count = %d", int_count); - TextOut(hDC, 120, 140, buf, strlen(buf)); - EndPaint(hWnd, &ps); - break; - case WM_COMMAND: - switch(LOWORD(wParam)) { - case IDM_EXIT: - DIO_SetDualInterrupt(card, INT1_DISABLE, INT2_DISABLE, hEvent); - SendMessage(hWnd, WM_CLOSE, 0, 0L); - break; - case IDC_OUTPUT: - DO_WritePort(card,0, 0x1); - Sleep(1); - DO_WritePort(card,0, 0x0); - break; - } - break; - case WM_DESTROY: - if (card >= 0) Release_Card(card); - PostQuitMessage(0); - break; - default: - return (DefWindowProc(hWnd, message, wParam, lParam)); - } - return(0L); -} diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7432/SDK7432int/7432INT.EXE b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7432/SDK7432int/7432INT.EXE deleted file mode 100644 index 671f015..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7432/SDK7432int/7432INT.EXE and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7432/SDK7432int/7432INT.MAK b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7432/SDK7432int/7432INT.MAK deleted file mode 100644 index 3a09d69..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7432/SDK7432int/7432INT.MAK +++ /dev/null @@ -1,219 +0,0 @@ -# Microsoft Developer Studio Generated NMAKE File, Format Version 4.00 -# ** DO NOT EDIT ** - -# TARGTYPE "Win32 (x86) Application" 0x0101 - -!IF "$(CFG)" == "" -CFG=7432int - Win32 Debug -!MESSAGE No configuration specified. Defaulting to 7432int - Win32 Debug. -!ENDIF - -!IF "$(CFG)" != "7432int - Win32 Release" && "$(CFG)" !=\ - "7432int - Win32 Debug" -!MESSAGE Invalid configuration "$(CFG)" specified. -!MESSAGE You can specify a configuration when running NMAKE on this makefile -!MESSAGE by defining the macro CFG on the command line. For example: -!MESSAGE -!MESSAGE NMAKE /f "7432int.mak" CFG="7432int - Win32 Debug" -!MESSAGE -!MESSAGE Possible choices for configuration are: -!MESSAGE -!MESSAGE "7432int - Win32 Release" (based on "Win32 (x86) Application") -!MESSAGE "7432int - Win32 Debug" (based on "Win32 (x86) Application") -!MESSAGE -!ERROR An invalid configuration is specified. -!ENDIF - -!IF "$(OS)" == "Windows_NT" -NULL= -!ELSE -NULL=nul -!ENDIF -################################################################################ -# Begin Project -# PROP Target_Last_Scanned "7432int - Win32 Debug" -MTL=mktyplib.exe -RSC=rc.exe -CPP=cl.exe - -!IF "$(CFG)" == "7432int - Win32 Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "Release" -# PROP BASE Intermediate_Dir "Release" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "" -# PROP Intermediate_Dir "Release" -# PROP Target_Dir "" -OUTDIR=. -INTDIR=.\Release - -ALL : "$(OUTDIR)\7432int.exe" - -CLEAN : - -@erase ".\7432int.exe" - -@erase ".\Release\7432int.obj" - -@erase ".\Release\7432int.res" - -"$(INTDIR)" : - if not exist "$(INTDIR)/$(NULL)" mkdir "$(INTDIR)" - -# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /YX /c -# ADD CPP /nologo /MT /W3 /GX /Od /I "..\..\..\include" /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /c -# SUBTRACT CPP /YX -CPP_PROJ=/nologo /MT /W3 /GX /Od /I "..\..\..\include" /D "WIN32" /D "NDEBUG"\ - /D "_WINDOWS" /Fo"$(INTDIR)/" /c -CPP_OBJS=.\Release/ -CPP_SBRS= -# ADD BASE MTL /nologo /D "NDEBUG" /win32 -# ADD MTL /nologo /D "NDEBUG" /win32 -MTL_PROJ=/nologo /D "NDEBUG" /win32 -# ADD BASE RSC /l 0x404 /d "NDEBUG" -# ADD RSC /l 0x404 /d "NDEBUG" -RSC_PROJ=/l 0x404 /fo"$(INTDIR)/7432int.res" /d "NDEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -BSC32_FLAGS=/nologo /o"$(OUTDIR)/7432int.bsc" -BSC32_SBRS= -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:windows /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ..\..\..\lib\PCI-DASK.lib /nologo /subsystem:windows /machine:I386 -LINK32_FLAGS=kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib\ - advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib\ - odbccp32.lib ..\..\..\lib\PCI-DASK.lib /nologo /subsystem:windows\ - /incremental:no /pdb:"$(OUTDIR)/7432int.pdb" /machine:I386\ - /out:"$(OUTDIR)/7432int.exe" -LINK32_OBJS= \ - "$(INTDIR)/7432int.obj" \ - "$(INTDIR)/7432int.res" - -"$(OUTDIR)\7432int.exe" : "$(OUTDIR)" $(DEF_FILE) $(LINK32_OBJS) - $(LINK32) @<< - $(LINK32_FLAGS) $(LINK32_OBJS) -<< - -!ELSEIF "$(CFG)" == "7432int - Win32 Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "Debug" -# PROP BASE Intermediate_Dir "Debug" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "" -# PROP Intermediate_Dir "Debug" -# PROP Target_Dir "" -OUTDIR=. -INTDIR=.\Debug - -ALL : "$(OUTDIR)\7432int.exe" - -CLEAN : - -@erase ".\Debug\vc40.pdb" - -@erase ".\Debug\vc40.idb" - -@erase ".\7432int.exe" - -@erase ".\Debug\7432int.obj" - -@erase ".\Debug\7432int.res" - -@erase ".\7432int.ilk" - -@erase ".\7432int.pdb" - -"$(INTDIR)" : - if not exist "$(INTDIR)/$(NULL)" mkdir "$(INTDIR)" - -# ADD BASE CPP /nologo /W3 /Gm /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /YX /c -# ADD CPP /nologo /MTd /W3 /Gm /GX /Zi /Od /I "..\..\..\include" /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /c -# SUBTRACT CPP /YX -CPP_PROJ=/nologo /MTd /W3 /Gm /GX /Zi /Od /I "..\..\..\include" /D "WIN32" /D\ - "_DEBUG" /D "_WINDOWS" /Fo"$(INTDIR)/" /Fd"$(INTDIR)/" /c -CPP_OBJS=.\Debug/ -CPP_SBRS= -# ADD BASE MTL /nologo /D "_DEBUG" /win32 -# ADD MTL /nologo /D "_DEBUG" /win32 -MTL_PROJ=/nologo /D "_DEBUG" /win32 -# ADD BASE RSC /l 0x404 /d "_DEBUG" -# ADD RSC /l 0x404 /d "_DEBUG" -RSC_PROJ=/l 0x404 /fo"$(INTDIR)/7432int.res" /d "_DEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -BSC32_FLAGS=/nologo /o"$(OUTDIR)/7432int.bsc" -BSC32_SBRS= -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:windows /debug /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ..\..\..\lib\PCI-DASK.lib /nologo /subsystem:windows /debug /machine:I386 -LINK32_FLAGS=kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib\ - advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib\ - odbccp32.lib ..\..\..\lib\PCI-DASK.lib /nologo /subsystem:windows\ - /incremental:yes /pdb:"$(OUTDIR)/7432int.pdb" /debug /machine:I386\ - /out:"$(OUTDIR)/7432int.exe" -LINK32_OBJS= \ - "$(INTDIR)/7432int.obj" \ - "$(INTDIR)/7432int.res" - -"$(OUTDIR)\7432int.exe" : "$(OUTDIR)" $(DEF_FILE) $(LINK32_OBJS) - $(LINK32) @<< - $(LINK32_FLAGS) $(LINK32_OBJS) -<< - -!ENDIF - -.c{$(CPP_OBJS)}.obj: - $(CPP) $(CPP_PROJ) $< - -.cpp{$(CPP_OBJS)}.obj: - $(CPP) $(CPP_PROJ) $< - -.cxx{$(CPP_OBJS)}.obj: - $(CPP) $(CPP_PROJ) $< - -.c{$(CPP_SBRS)}.sbr: - $(CPP) $(CPP_PROJ) $< - -.cpp{$(CPP_SBRS)}.sbr: - $(CPP) $(CPP_PROJ) $< - -.cxx{$(CPP_SBRS)}.sbr: - $(CPP) $(CPP_PROJ) $< - -################################################################################ -# Begin Target - -# Name "7432int - Win32 Release" -# Name "7432int - Win32 Debug" - -!IF "$(CFG)" == "7432int - Win32 Release" - -!ELSEIF "$(CFG)" == "7432int - Win32 Debug" - -!ENDIF - -################################################################################ -# Begin Source File - -SOURCE=.\7432int.c -DEP_CPP_7432I=\ - ".\..\..\..\include\Dask.h"\ - - -"$(INTDIR)\7432int.obj" : $(SOURCE) $(DEP_CPP_7432I) "$(INTDIR)" - - -# End Source File -################################################################################ -# Begin Source File - -SOURCE=.\7432int.rc - -"$(INTDIR)\7432int.res" : $(SOURCE) "$(INTDIR)" - $(RSC) $(RSC_PROJ) $(SOURCE) - - -# End Source File -# End Target -# End Project -################################################################################ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7432/SDK7432int/7432INT.MDP b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7432/SDK7432int/7432INT.MDP deleted file mode 100644 index eb5e6ed..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7432/SDK7432int/7432INT.MDP and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7432/SDK7432int/7432INT.RC b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7432/SDK7432int/7432INT.RC deleted file mode 100644 index 16c0f65..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7432/SDK7432int/7432INT.RC +++ /dev/null @@ -1,115 +0,0 @@ -//Microsoft Developer Studio generated resource script. -// -#include "resource.h" - -#define APSTUDIO_READONLY_SYMBOLS -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 2 resource. -// -#define APSTUDIO_HIDDEN_SYMBOLS -#include "windows.h" -#undef APSTUDIO_HIDDEN_SYMBOLS - -///////////////////////////////////////////////////////////////////////////// -#undef APSTUDIO_READONLY_SYMBOLS - -///////////////////////////////////////////////////////////////////////////// -// English (U.S.) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -#ifdef _WIN32 -LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US -#pragma code_page(1252) -#endif //_WIN32 - -#ifdef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// TEXTINCLUDE -// - -1 TEXTINCLUDE DISCARDABLE -BEGIN - "resource.h\0" -END - -2 TEXTINCLUDE DISCARDABLE -BEGIN - "#define APSTUDIO_HIDDEN_SYMBOLS\r\n" - "#include ""windows.h""\r\n" - "#undef APSTUDIO_HIDDEN_SYMBOLS\r\n" - "\0" -END - -3 TEXTINCLUDE DISCARDABLE -BEGIN - "\r\n" - "\0" -END - -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// Menu -// - -U7432MENU MENU DISCARDABLE -BEGIN - MENUITEM "E&xit!", IDM_EXIT -END - - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog -// - -IDD_DIALOG2 DIALOG DISCARDABLE 110, 10, 106, 61 -STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "Card Number" -FONT 10, "System" -BEGIN - DEFPUSHBUTTON "OK",IDOK,10,40,37,14 - PUSHBUTTON "Cancel",IDCANCEL,61,40,38,14 - LTEXT "Card Number",IDC_STATIC,3,13,47,13 - COMBOBOX IDC_COMBO1,51,13,48,84,CBS_DROPDOWN | WS_VSCROLL | - WS_TABSTOP -END - - -///////////////////////////////////////////////////////////////////////////// -// -// DESIGNINFO -// - -#ifdef APSTUDIO_INVOKED -GUIDELINES DESIGNINFO DISCARDABLE -BEGIN - IDD_DIALOG2, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 99 - TOPMARGIN, 7 - BOTTOMMARGIN, 54 - END -END -#endif // APSTUDIO_INVOKED - -#endif // English (U.S.) resources -///////////////////////////////////////////////////////////////////////////// - - - -#ifndef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 3 resource. -// - - -///////////////////////////////////////////////////////////////////////////// -#endif // not APSTUDIO_INVOKED - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7432/SDK7432int/Resource.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7432/SDK7432int/Resource.h deleted file mode 100644 index 9ba0b49..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7432/SDK7432int/Resource.h +++ /dev/null @@ -1,30 +0,0 @@ -//{{NO_DEPENDENCIES}} -// Microsoft Developer Studio generated include file. -// Used by 7432int.rc -// -#define IDM_SETUP 101 -#define IDD_DIALOG1 101 -#define IDD_DIALOG2 102 -#define IDM_EXIT 110 -#define IDM_GO 300 -#define IDM_ABOUT 301 -#define DMA_DATA 302 -#define ID_STOP 304 -#define IDM_CLEAR 305 -#define DMA_SPACE 500 -#define IDC_COMBO1 1004 -#define IDC_COMBO2 1005 -#define IDC_EDIT1 1007 -#define IDC_EDIT2 1008 -#define IDC_STATIC -1 - -// Next default values for new objects -// -#ifdef APSTUDIO_INVOKED -#ifndef APSTUDIO_READONLY_SYMBOLS -#define _APS_NEXT_RESOURCE_VALUE 103 -#define _APS_NEXT_COMMAND_VALUE 102 -#define _APS_NEXT_CONTROL_VALUE 1008 -#define _APS_NEXT_SYMED_VALUE 101 -#endif -#endif diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7432/SDK7432intMsg/7432INT.C b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7432/SDK7432intMsg/7432INT.C deleted file mode 100644 index 623e2ee..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7432/SDK7432intMsg/7432INT.C +++ /dev/null @@ -1,236 +0,0 @@ -/*;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; -;; Copyright (c) 1995-1999, ADLink Technology Inc. All rights reserved. ;; -;; ;; -;; File Name : 7432INT.C ;; -;; Purpose : This sample program demonstrates how handle interrupt ;; -;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;*/ - -#include -#include -#include -#include -#include -#include "Dask.h" -#include "Resource.h" - -#define IDC_START 300 -#define IDC_OUTPUT 302 -#define WM_INT 2000 //interrupt comming message - -HANDLE hInst; /* current instance */ -int int_count=0; -I16 card=-1, card_number = 0; -HWND hStart, hMainWnd; - -int PASCAL WinMain(HANDLE, HANDLE, LPSTR, int); -BOOL InitApplication(HANDLE); -BOOL InitInstance(HANDLE, int); -long PASCAL MainWndProc(HWND, unsigned, WPARAM, LPARAM); -void mesgfn(); - - - /********************************************************************** - - FUNCTION: WinMain(HANDLE, HANDLE, LPSTR, int) - PURPOSE: calls initialization function, processes message loop - - ***********************************************************************/ - - int PASCAL WinMain(hInstance, hPrevInstance, lpCmdLine, nCmdShow) - HANDLE hInstance; - HANDLE hPrevInstance; - LPSTR lpCmdLine; - int nCmdShow; - { - MSG msg; - - if(!hPrevInstance) - if(!InitApplication(hInstance)) - return(FALSE); - - if(!InitInstance(hInstance, nCmdShow)) - return(FALSE); - - while ( GetMessage(&msg, NULL, NULL, NULL)) - { - TranslateMessage(&msg); - DispatchMessage(&msg); - } - return(msg.wParam); - } - -/**************************************************************************** - - FUNCTION: InitApplication(HANDLE) - - PURPOSE: Initializes window data and registers window class - -****************************************************************************/ - -BOOL InitApplication(hInstance) -HANDLE hInstance; -{ - WNDCLASS wc; - - wc.style = NULL; - wc.lpfnWndProc = MainWndProc; - wc.cbClsExtra = 0; - wc.cbWndExtra = 0; - wc.hInstance = hInstance; - wc.hIcon = LoadIcon(NULL, IDI_APPLICATION); - wc.hCursor = LoadCursor(hInstance, IDC_ARROW); - wc.hbrBackground = GetStockObject(WHITE_BRUSH); - wc.lpszMenuName = "U7432Menu"; - wc.lpszClassName = "IntClass"; - - return (RegisterClass(&wc)); -} - -/**************************************************************************** - - FUNCTION: InitInstance(HANDLE, int) - - PURPOSE: Saves instance handle and creates main window - -****************************************************************************/ - -BOOL InitInstance(hInstance, nCmdShow) -HANDLE hInstance; -int nCmdShow; -{ - HWND hWnd; - - hInst = hInstance; - hWnd = CreateWindow("IntClass", "PCI-7432 Interrupt Sample (INT1)", WS_OVERLAPPEDWINDOW, - 200, 100, 360, 300, NULL, NULL, hInstance, NULL); - if (!hWnd) return (FALSE); - ShowWindow(hWnd, nCmdShow); - UpdateWindow(hWnd); - return (TRUE); -} - -BOOL PASCAL setup(HWND hWnd, unsigned message, WPARAM wParam, LPARAM lParam) -{ - int i; - char n[16]; - char s[50]; - switch (message) { - case WM_INITDIALOG: - for (i=0;i<16;i++) { - wsprintf(n, "%d", i); - _strupr(n); - SendMessage(GetDlgItem(hWnd,IDC_COMBO1), CB_ADDSTRING, NULL, (LONG)(LPSTR) n); - } - SendMessage(GetDlgItem(hWnd,IDC_COMBO1) , CB_SETCURSEL, 0, 0L); - - break; - case WM_COMMAND: - switch(LOWORD(wParam)) { - - case IDC_COMBO1: - if (HIWORD(wParam) == CBN_CLOSEUP) { - i = (int)SendMessage(GetDlgItem(hWnd,IDC_COMBO1), CB_GETCURSEL, 0, 0L); - SendMessage(GetDlgItem(hWnd,IDC_COMBO1), CB_GETLBTEXT, i, (LPARAM)((LPCSTR)n)); - card_number = i; - } - return(TRUE); - case IDOK: - if ((card=Register_Card(PCI_7432, card_number)) < 0) { - wsprintf(s, "Register_Card Error = %d\n", card); - MessageBox(hWnd, s, "Error", MB_OK); - } - EndDialog(hWnd, TRUE); - InvalidateRect(hWnd, NULL, FALSE); - return (TRUE); - case IDCANCEL: - EndDialog(hWnd, TRUE); - return (TRUE); - } - break; - } - return (FALSE); -} - -/**************************************************************************** - - FUNCTION: MainWndProc(HWND, UINT, WPARAM, LPARAM) - - PURPOSE: Processes messages - - -****************************************************************************/ - -long PASCAL MainWndProc(hWnd, message, wParam, lParam) -HWND hWnd; -unsigned message; -WPARAM wParam; -LPARAM lParam; -{ - PAINTSTRUCT ps; - HDC hDC; - char s[50]; - - switch(message) { - case WM_CREATE: - DialogBox(hInst,IDD_DIALOG2, hWnd, setup); - if(card<0) { - SendMessage(hWnd, WM_CLOSE, 0, 0L); - break; - } - CreateWindow("BUTTON", "Output", WS_CHILD | WS_VISIBLE, - 130, 200, 72, 24, hWnd, IDC_OUTPUT, hInst, NULL); - - int_count = 0; - DIO_INT1_EventMessage (card, INT1_EXT_SIGNAL, hWnd, WM_INT, NULL); - hMainWnd = hWnd; - break; - case WM_PAINT: - hDC = BeginPaint(hWnd, &ps); - TextOut(hDC, 20, 30, "This program shows the number of occurrence", 43); - TextOut(hDC, 20, 45, "of INT1 interupt. INT1 interrupt is generated", 45); - TextOut(hDC, 20, 60, "by external signal from DI bit-0. If you connect", 48); - TextOut(hDC, 20, 75, "DO bit-0 to DI bit-0, press 'Output' button can", 47); - TextOut(hDC, 20, 90, "generate an interrupt.", 22); - wsprintf(s,"INT1 Count = %d", int_count); - TextOut(hDC, 120, 140, s, strlen(s)); - EndPaint(hWnd, &ps); - break; - case WM_COMMAND: - switch(LOWORD(wParam)) { - case IDM_EXIT: - DIO_INT1_EventMessage (card, INT1_DISABLE, hMainWnd, NULL, NULL); - SendMessage(hWnd, WM_CLOSE, 0, 0L); - break; - case IDC_OUTPUT: - DO_WritePort(card,0, 0x1); - Sleep(1); - DO_WritePort(card,0, 0x0); - break; - } - break; - case WM_INT: //interrupt comming message - mesgfn(); - break; - case WM_DESTROY: - if (card >= 0) Release_Card(card); - PostQuitMessage(0); - break; - default: - return (DefWindowProc(hWnd, message, wParam, lParam)); - } - return(0L); -} - -void mesgfn() -{ - HDC hDC; - char Buf[80]; - - hDC=GetDC(hMainWnd); - int_count++; - - wsprintf(Buf,"INT1 Count = %d ", int_count); - TextOut(hDC,120,140,Buf,strlen(Buf)); - - ReleaseDC(hMainWnd, hDC); -} diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7432/SDK7432intMsg/7432INT.EXE b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7432/SDK7432intMsg/7432INT.EXE deleted file mode 100644 index 711e4a9..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7432/SDK7432intMsg/7432INT.EXE and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7432/SDK7432intMsg/7432INT.MAK b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7432/SDK7432intMsg/7432INT.MAK deleted file mode 100644 index 3a09d69..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7432/SDK7432intMsg/7432INT.MAK +++ /dev/null @@ -1,219 +0,0 @@ -# Microsoft Developer Studio Generated NMAKE File, Format Version 4.00 -# ** DO NOT EDIT ** - -# TARGTYPE "Win32 (x86) Application" 0x0101 - -!IF "$(CFG)" == "" -CFG=7432int - Win32 Debug -!MESSAGE No configuration specified. Defaulting to 7432int - Win32 Debug. -!ENDIF - -!IF "$(CFG)" != "7432int - Win32 Release" && "$(CFG)" !=\ - "7432int - Win32 Debug" -!MESSAGE Invalid configuration "$(CFG)" specified. -!MESSAGE You can specify a configuration when running NMAKE on this makefile -!MESSAGE by defining the macro CFG on the command line. For example: -!MESSAGE -!MESSAGE NMAKE /f "7432int.mak" CFG="7432int - Win32 Debug" -!MESSAGE -!MESSAGE Possible choices for configuration are: -!MESSAGE -!MESSAGE "7432int - Win32 Release" (based on "Win32 (x86) Application") -!MESSAGE "7432int - Win32 Debug" (based on "Win32 (x86) Application") -!MESSAGE -!ERROR An invalid configuration is specified. -!ENDIF - -!IF "$(OS)" == "Windows_NT" -NULL= -!ELSE -NULL=nul -!ENDIF -################################################################################ -# Begin Project -# PROP Target_Last_Scanned "7432int - Win32 Debug" -MTL=mktyplib.exe -RSC=rc.exe -CPP=cl.exe - -!IF "$(CFG)" == "7432int - Win32 Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "Release" -# PROP BASE Intermediate_Dir "Release" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "" -# PROP Intermediate_Dir "Release" -# PROP Target_Dir "" -OUTDIR=. -INTDIR=.\Release - -ALL : "$(OUTDIR)\7432int.exe" - -CLEAN : - -@erase ".\7432int.exe" - -@erase ".\Release\7432int.obj" - -@erase ".\Release\7432int.res" - -"$(INTDIR)" : - if not exist "$(INTDIR)/$(NULL)" mkdir "$(INTDIR)" - -# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /YX /c -# ADD CPP /nologo /MT /W3 /GX /Od /I "..\..\..\include" /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /c -# SUBTRACT CPP /YX -CPP_PROJ=/nologo /MT /W3 /GX /Od /I "..\..\..\include" /D "WIN32" /D "NDEBUG"\ - /D "_WINDOWS" /Fo"$(INTDIR)/" /c -CPP_OBJS=.\Release/ -CPP_SBRS= -# ADD BASE MTL /nologo /D "NDEBUG" /win32 -# ADD MTL /nologo /D "NDEBUG" /win32 -MTL_PROJ=/nologo /D "NDEBUG" /win32 -# ADD BASE RSC /l 0x404 /d "NDEBUG" -# ADD RSC /l 0x404 /d "NDEBUG" -RSC_PROJ=/l 0x404 /fo"$(INTDIR)/7432int.res" /d "NDEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -BSC32_FLAGS=/nologo /o"$(OUTDIR)/7432int.bsc" -BSC32_SBRS= -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:windows /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ..\..\..\lib\PCI-DASK.lib /nologo /subsystem:windows /machine:I386 -LINK32_FLAGS=kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib\ - advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib\ - odbccp32.lib ..\..\..\lib\PCI-DASK.lib /nologo /subsystem:windows\ - /incremental:no /pdb:"$(OUTDIR)/7432int.pdb" /machine:I386\ - /out:"$(OUTDIR)/7432int.exe" -LINK32_OBJS= \ - "$(INTDIR)/7432int.obj" \ - "$(INTDIR)/7432int.res" - -"$(OUTDIR)\7432int.exe" : "$(OUTDIR)" $(DEF_FILE) $(LINK32_OBJS) - $(LINK32) @<< - $(LINK32_FLAGS) $(LINK32_OBJS) -<< - -!ELSEIF "$(CFG)" == "7432int - Win32 Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "Debug" -# PROP BASE Intermediate_Dir "Debug" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "" -# PROP Intermediate_Dir "Debug" -# PROP Target_Dir "" -OUTDIR=. -INTDIR=.\Debug - -ALL : "$(OUTDIR)\7432int.exe" - -CLEAN : - -@erase ".\Debug\vc40.pdb" - -@erase ".\Debug\vc40.idb" - -@erase ".\7432int.exe" - -@erase ".\Debug\7432int.obj" - -@erase ".\Debug\7432int.res" - -@erase ".\7432int.ilk" - -@erase ".\7432int.pdb" - -"$(INTDIR)" : - if not exist "$(INTDIR)/$(NULL)" mkdir "$(INTDIR)" - -# ADD BASE CPP /nologo /W3 /Gm /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /YX /c -# ADD CPP /nologo /MTd /W3 /Gm /GX /Zi /Od /I "..\..\..\include" /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /c -# SUBTRACT CPP /YX -CPP_PROJ=/nologo /MTd /W3 /Gm /GX /Zi /Od /I "..\..\..\include" /D "WIN32" /D\ - "_DEBUG" /D "_WINDOWS" /Fo"$(INTDIR)/" /Fd"$(INTDIR)/" /c -CPP_OBJS=.\Debug/ -CPP_SBRS= -# ADD BASE MTL /nologo /D "_DEBUG" /win32 -# ADD MTL /nologo /D "_DEBUG" /win32 -MTL_PROJ=/nologo /D "_DEBUG" /win32 -# ADD BASE RSC /l 0x404 /d "_DEBUG" -# ADD RSC /l 0x404 /d "_DEBUG" -RSC_PROJ=/l 0x404 /fo"$(INTDIR)/7432int.res" /d "_DEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -BSC32_FLAGS=/nologo /o"$(OUTDIR)/7432int.bsc" -BSC32_SBRS= -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:windows /debug /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ..\..\..\lib\PCI-DASK.lib /nologo /subsystem:windows /debug /machine:I386 -LINK32_FLAGS=kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib\ - advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib\ - odbccp32.lib ..\..\..\lib\PCI-DASK.lib /nologo /subsystem:windows\ - /incremental:yes /pdb:"$(OUTDIR)/7432int.pdb" /debug /machine:I386\ - /out:"$(OUTDIR)/7432int.exe" -LINK32_OBJS= \ - "$(INTDIR)/7432int.obj" \ - "$(INTDIR)/7432int.res" - -"$(OUTDIR)\7432int.exe" : "$(OUTDIR)" $(DEF_FILE) $(LINK32_OBJS) - $(LINK32) @<< - $(LINK32_FLAGS) $(LINK32_OBJS) -<< - -!ENDIF - -.c{$(CPP_OBJS)}.obj: - $(CPP) $(CPP_PROJ) $< - -.cpp{$(CPP_OBJS)}.obj: - $(CPP) $(CPP_PROJ) $< - -.cxx{$(CPP_OBJS)}.obj: - $(CPP) $(CPP_PROJ) $< - -.c{$(CPP_SBRS)}.sbr: - $(CPP) $(CPP_PROJ) $< - -.cpp{$(CPP_SBRS)}.sbr: - $(CPP) $(CPP_PROJ) $< - -.cxx{$(CPP_SBRS)}.sbr: - $(CPP) $(CPP_PROJ) $< - -################################################################################ -# Begin Target - -# Name "7432int - Win32 Release" -# Name "7432int - Win32 Debug" - -!IF "$(CFG)" == "7432int - Win32 Release" - -!ELSEIF "$(CFG)" == "7432int - Win32 Debug" - -!ENDIF - -################################################################################ -# Begin Source File - -SOURCE=.\7432int.c -DEP_CPP_7432I=\ - ".\..\..\..\include\Dask.h"\ - - -"$(INTDIR)\7432int.obj" : $(SOURCE) $(DEP_CPP_7432I) "$(INTDIR)" - - -# End Source File -################################################################################ -# Begin Source File - -SOURCE=.\7432int.rc - -"$(INTDIR)\7432int.res" : $(SOURCE) "$(INTDIR)" - $(RSC) $(RSC_PROJ) $(SOURCE) - - -# End Source File -# End Target -# End Project -################################################################################ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7432/SDK7432intMsg/7432INT.MDP b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7432/SDK7432intMsg/7432INT.MDP deleted file mode 100644 index 71fcd48..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7432/SDK7432intMsg/7432INT.MDP and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7432/SDK7432intMsg/7432INT.RC b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7432/SDK7432intMsg/7432INT.RC deleted file mode 100644 index 66e0674..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7432/SDK7432intMsg/7432INT.RC +++ /dev/null @@ -1,115 +0,0 @@ -//Microsoft Developer Studio generated resource script. -// -#include "resource.h" - -#define APSTUDIO_READONLY_SYMBOLS -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 2 resource. -// -#define APSTUDIO_HIDDEN_SYMBOLS -#include "windows.h" -#undef APSTUDIO_HIDDEN_SYMBOLS - -///////////////////////////////////////////////////////////////////////////// -#undef APSTUDIO_READONLY_SYMBOLS - -///////////////////////////////////////////////////////////////////////////// -// English (U.S.) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -#ifdef _WIN32 -LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US -#pragma code_page(1252) -#endif //_WIN32 - -#ifdef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// TEXTINCLUDE -// - -1 TEXTINCLUDE DISCARDABLE -BEGIN - "resource.h\0" -END - -2 TEXTINCLUDE DISCARDABLE -BEGIN - "#define APSTUDIO_HIDDEN_SYMBOLS\r\n" - "#include ""windows.h""\r\n" - "#undef APSTUDIO_HIDDEN_SYMBOLS\r\n" - "\0" -END - -3 TEXTINCLUDE DISCARDABLE -BEGIN - "\r\n" - "\0" -END - -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog -// - -IDD_DIALOG2 DIALOG DISCARDABLE 110, 10, 106, 61 -STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "Card Number" -FONT 10, "System" -BEGIN - DEFPUSHBUTTON "OK",IDOK,10,40,37,14 - PUSHBUTTON "Cancel",IDCANCEL,61,40,38,14 - LTEXT "Card Number",IDC_STATIC,3,13,47,13 - COMBOBOX IDC_COMBO1,51,13,48,84,CBS_DROPDOWN | WS_VSCROLL | - WS_TABSTOP -END - - -///////////////////////////////////////////////////////////////////////////// -// -// DESIGNINFO -// - -#ifdef APSTUDIO_INVOKED -GUIDELINES DESIGNINFO DISCARDABLE -BEGIN - IDD_DIALOG2, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 99 - TOPMARGIN, 7 - BOTTOMMARGIN, 54 - END -END -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// Menu -// - -U7432MENU MENU DISCARDABLE -BEGIN - MENUITEM "E&xit!", IDM_EXIT -END - -#endif // English (U.S.) resources -///////////////////////////////////////////////////////////////////////////// - - - -#ifndef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 3 resource. -// - - -///////////////////////////////////////////////////////////////////////////// -#endif // not APSTUDIO_INVOKED - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7432/SDK7432intMsg/Resource.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7432/SDK7432intMsg/Resource.h deleted file mode 100644 index 9ba0b49..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7432/SDK7432intMsg/Resource.h +++ /dev/null @@ -1,30 +0,0 @@ -//{{NO_DEPENDENCIES}} -// Microsoft Developer Studio generated include file. -// Used by 7432int.rc -// -#define IDM_SETUP 101 -#define IDD_DIALOG1 101 -#define IDD_DIALOG2 102 -#define IDM_EXIT 110 -#define IDM_GO 300 -#define IDM_ABOUT 301 -#define DMA_DATA 302 -#define ID_STOP 304 -#define IDM_CLEAR 305 -#define DMA_SPACE 500 -#define IDC_COMBO1 1004 -#define IDC_COMBO2 1005 -#define IDC_EDIT1 1007 -#define IDC_EDIT2 1008 -#define IDC_STATIC -1 - -// Next default values for new objects -// -#ifdef APSTUDIO_INVOKED -#ifndef APSTUDIO_READONLY_SYMBOLS -#define _APS_NEXT_RESOURCE_VALUE 103 -#define _APS_NEXT_COMMAND_VALUE 102 -#define _APS_NEXT_CONTROL_VALUE 1008 -#define _APS_NEXT_SYMED_VALUE 101 -#endif -#endif diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7432/VB7432/0.BMP b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7432/VB7432/0.BMP deleted file mode 100644 index 407bba2..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7432/VB7432/0.BMP and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7432/VB7432/1.BMP b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7432/VB7432/1.BMP deleted file mode 100644 index 37d14f3..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7432/VB7432/1.BMP and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7432/VB7432/7432GLBL.BAS b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7432/VB7432/7432GLBL.BAS deleted file mode 100644 index 77a2e7f..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7432/VB7432/7432GLBL.BAS +++ /dev/null @@ -1,4 +0,0 @@ -Attribute VB_Name = "Module1" -Global card As Integer -Global card_number As Integer - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7432/VB7432/Base7432.frm b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7432/VB7432/Base7432.frm deleted file mode 100644 index e65d726..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7432/VB7432/Base7432.frm +++ /dev/null @@ -1,99 +0,0 @@ -VERSION 4.00 -Begin VB.Form SettingForm - Appearance = 0 'Flat - BackColor = &H00C0C0C0& - Caption = "Card Number Setting" - ClientHeight = 1275 - ClientLeft = 4590 - ClientTop = 4545 - ClientWidth = 2820 - BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851} - Name = "MS Sans Serif" - Size = 8.25 - Charset = 0 - Weight = 700 - Underline = 0 'False - Italic = 0 'False - Strikethrough = 0 'False - EndProperty - ForeColor = &H80000008& - Height = 1680 - Left = 4530 - LinkTopic = "Form2" - ScaleHeight = 1275 - ScaleWidth = 2820 - Top = 4200 - Width = 2940 - Begin VB.CommandButton OKBtn - Appearance = 0 'Flat - BackColor = &H80000005& - Caption = "OK" - Default = -1 'True - Height = 315 - Left = 300 - TabIndex = 0 - Top = 720 - Width = 915 - End - Begin VB.CommandButton CancelBtn - Appearance = 0 'Flat - BackColor = &H80000005& - Cancel = -1 'True - Caption = "Cancel" - Height = 315 - Left = 1380 - TabIndex = 3 - Top = 720 - Width = 915 - End - Begin VB.ComboBox CardNum - Appearance = 0 'Flat - Height = 300 - Left = 1440 - Style = 2 'Dropdown List - TabIndex = 2 - Top = 120 - Width = 1035 - End - Begin VB.Label Label2 - Appearance = 0 'Flat - BackColor = &H00C0C0C0& - Caption = "Card Number:" - ForeColor = &H00000000& - Height = 195 - Index = 0 - Left = 180 - TabIndex = 1 - Top = 180 - Width = 1275 - End -End -Attribute VB_Name = "SettingForm" -Attribute VB_Creatable = False -Attribute VB_Exposed = False - - -Private Sub BaseAddr_Change() - -End Sub - - -Private Sub CancelBtn_Click() - Unload SettingForm -End Sub - -Private Sub Form_Load() - Dim i As Long - For i = 0 To 15 Step 1 - CardNum.AddItem i - Next - CardNum.ListIndex = 0 -End Sub - -Private Sub OKBtn_Click() - card = -1 - card_number = CardNum.ListIndex - card = Register_Card(PCI_7432, card_number) - Unload SettingForm -End Sub - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7432/VB7432/Util7432.Frm b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7432/VB7432/Util7432.Frm deleted file mode 100644 index aba4ce6..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7432/VB7432/Util7432.Frm +++ /dev/null @@ -1,803 +0,0 @@ -VERSION 4.00 -Begin VB.Form util7432 - Appearance = 0 'Flat - BackColor = &H00C0C0C0& - Caption = "PCI-7432 Sample Program" - ClientHeight = 2865 - ClientLeft = 1635 - ClientTop = 2565 - ClientWidth = 6480 - BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851} - Name = "MS Sans Serif" - Size = 8.25 - Charset = 0 - Weight = 700 - Underline = 0 'False - Italic = 0 'False - Strikethrough = 0 'False - EndProperty - ForeColor = &H80000008& - Height = 3555 - Left = 1575 - LinkTopic = "Form1" - ScaleHeight = 2865 - ScaleWidth = 6480 - Top = 1935 - Width = 6600 - Begin VB.Timer Timer1 - Interval = 100 - Left = 5280 - Top = 2640 - End - Begin VB.Frame Frame1 - Appearance = 0 'Flat - BackColor = &H00C0C0C0& - Caption = "Digital Output" - ForeColor = &H000000FF& - Height = 1275 - Index = 1 - Left = 240 - TabIndex = 1 - Top = 1380 - Width = 6015 - Begin VB.Label Label1 - Caption = "0" - Height = 195 - Left = 5670 - TabIndex = 5 - Top = 1050 - Width = 195 - End - Begin VB.Label Label3 - Caption = "31" - Height = 195 - Left = 210 - TabIndex = 3 - Top = 540 - Width = 195 - End - Begin VB.Image DOP0 - Appearance = 0 'Flat - Height = 300 - Index = 31 - Left = 180 - Picture = "Util7432.frx":0000 - Top = 240 - Width = 300 - End - Begin VB.Image DOP0 - Appearance = 0 'Flat - Height = 300 - Index = 30 - Left = 540 - Picture = "Util7432.frx":0172 - Top = 240 - Width = 300 - End - Begin VB.Image DOP0 - Appearance = 0 'Flat - Height = 300 - Index = 29 - Left = 900 - Picture = "Util7432.frx":02E4 - Top = 240 - Width = 300 - End - Begin VB.Image DOP0 - Appearance = 0 'Flat - Height = 300 - Index = 28 - Left = 1260 - Picture = "Util7432.frx":0456 - Top = 240 - Width = 300 - End - Begin VB.Image DOP0 - Appearance = 0 'Flat - Height = 300 - Index = 27 - Left = 1620 - Picture = "Util7432.frx":05C8 - Top = 240 - Width = 300 - End - Begin VB.Image DOP0 - Appearance = 0 'Flat - Height = 300 - Index = 26 - Left = 1980 - Picture = "Util7432.frx":073A - Top = 240 - Width = 300 - End - Begin VB.Image DOP0 - Appearance = 0 'Flat - Height = 300 - Index = 25 - Left = 2340 - Picture = "Util7432.frx":08AC - Top = 240 - Width = 300 - End - Begin VB.Image DOP0 - Appearance = 0 'Flat - Height = 300 - Index = 24 - Left = 2700 - Picture = "Util7432.frx":0A1E - Top = 240 - Width = 300 - End - Begin VB.Image DOP0 - Appearance = 0 'Flat - Height = 300 - Index = 23 - Left = 3060 - Picture = "Util7432.frx":0B90 - Top = 240 - Width = 300 - End - Begin VB.Image DOP0 - Appearance = 0 'Flat - Height = 300 - Index = 22 - Left = 3420 - Picture = "Util7432.frx":0D02 - Top = 240 - Width = 300 - End - Begin VB.Image DOP0 - Appearance = 0 'Flat - Height = 300 - Index = 21 - Left = 3780 - Picture = "Util7432.frx":0E74 - Top = 240 - Width = 300 - End - Begin VB.Image DOP0 - Appearance = 0 'Flat - Height = 300 - Index = 20 - Left = 4140 - Picture = "Util7432.frx":0FE6 - Top = 240 - Width = 300 - End - Begin VB.Image DOP0 - Appearance = 0 'Flat - Height = 300 - Index = 19 - Left = 4500 - Picture = "Util7432.frx":1158 - Top = 240 - Width = 300 - End - Begin VB.Image DOP0 - Appearance = 0 'Flat - Height = 300 - Index = 18 - Left = 4860 - Picture = "Util7432.frx":12CA - Top = 240 - Width = 300 - End - Begin VB.Image DOP0 - Appearance = 0 'Flat - Height = 300 - Index = 17 - Left = 5220 - Picture = "Util7432.frx":143C - Top = 240 - Width = 300 - End - Begin VB.Image DOP0 - Appearance = 0 'Flat - Height = 300 - Index = 16 - Left = 5580 - Picture = "Util7432.frx":15AE - Top = 240 - Width = 300 - End - Begin VB.Image DOP0 - Appearance = 0 'Flat - Height = 300 - Index = 8 - Left = 2700 - Picture = "Util7432.frx":1720 - Top = 750 - Width = 300 - End - Begin VB.Image DOP0 - Appearance = 0 'Flat - Height = 300 - Index = 9 - Left = 2340 - Picture = "Util7432.frx":1892 - Top = 750 - Width = 300 - End - Begin VB.Image DOP0 - Appearance = 0 'Flat - Height = 300 - Index = 10 - Left = 1980 - Picture = "Util7432.frx":1A04 - Top = 750 - Width = 300 - End - Begin VB.Image DOP0 - Appearance = 0 'Flat - Height = 300 - Index = 11 - Left = 1620 - Picture = "Util7432.frx":1B76 - Top = 750 - Width = 300 - End - Begin VB.Image DOP0 - Appearance = 0 'Flat - Height = 300 - Index = 12 - Left = 1260 - Picture = "Util7432.frx":1CE8 - Top = 750 - Width = 300 - End - Begin VB.Image DOP0 - Appearance = 0 'Flat - Height = 300 - Index = 13 - Left = 900 - Picture = "Util7432.frx":1E5A - Top = 750 - Width = 300 - End - Begin VB.Image DOP0 - Appearance = 0 'Flat - Height = 300 - Index = 14 - Left = 540 - Picture = "Util7432.frx":1FCC - Top = 750 - Width = 300 - End - Begin VB.Image DOP0 - Appearance = 0 'Flat - Height = 300 - Index = 15 - Left = 180 - Picture = "Util7432.frx":213E - Top = 750 - Width = 300 - End - Begin VB.Image DOP0 - Appearance = 0 'Flat - Height = 300 - Index = 7 - Left = 3060 - Picture = "Util7432.frx":22B0 - Top = 750 - Width = 300 - End - Begin VB.Image DOP0 - Appearance = 0 'Flat - Height = 300 - Index = 6 - Left = 3420 - Picture = "Util7432.frx":2422 - Top = 750 - Width = 300 - End - Begin VB.Image DOP0 - Appearance = 0 'Flat - Height = 300 - Index = 5 - Left = 3780 - Picture = "Util7432.frx":2594 - Top = 750 - Width = 300 - End - Begin VB.Image DOP0 - Appearance = 0 'Flat - Height = 300 - Index = 4 - Left = 4140 - Picture = "Util7432.frx":2706 - Top = 750 - Width = 300 - End - Begin VB.Image DOP0 - Appearance = 0 'Flat - Height = 300 - Index = 2 - Left = 4860 - Picture = "Util7432.frx":2878 - Top = 750 - Width = 300 - End - Begin VB.Image DOP0 - Appearance = 0 'Flat - Height = 300 - Index = 3 - Left = 4500 - Picture = "Util7432.frx":29EA - Top = 750 - Width = 300 - End - Begin VB.Image DOP0 - Appearance = 0 'Flat - Height = 300 - Index = 1 - Left = 5220 - Picture = "Util7432.frx":2B5C - Top = 750 - Width = 300 - End - Begin VB.Image DOP0 - Appearance = 0 'Flat - Height = 300 - Index = 0 - Left = 5580 - Picture = "Util7432.frx":2CCE - Top = 750 - Width = 300 - End - End - Begin VB.Frame Frame1 - Appearance = 0 'Flat - BackColor = &H00C0C0C0& - Caption = "Digital Input" - ForeColor = &H00FF0000& - Height = 1275 - Index = 0 - Left = 240 - TabIndex = 0 - Top = 60 - Width = 6015 - Begin VB.Label Label4 - Caption = "0" - Height = 195 - Left = 5670 - TabIndex = 4 - Top = 1050 - Width = 195 - End - Begin VB.Label Label2 - Caption = "31" - Height = 195 - Left = 210 - TabIndex = 2 - Top = 540 - Width = 195 - End - Begin VB.Image DI0 - Appearance = 0 'Flat - Height = 300 - Index = 31 - Left = 180 - Picture = "Util7432.frx":2E40 - Top = 240 - Width = 300 - End - Begin VB.Image DI0 - Appearance = 0 'Flat - Height = 300 - Index = 30 - Left = 540 - Picture = "Util7432.frx":2FB2 - Top = 240 - Width = 300 - End - Begin VB.Image DI0 - Appearance = 0 'Flat - Height = 300 - Index = 29 - Left = 900 - Picture = "Util7432.frx":3124 - Top = 240 - Width = 300 - End - Begin VB.Image DI0 - Appearance = 0 'Flat - Height = 300 - Index = 28 - Left = 1260 - Picture = "Util7432.frx":3296 - Top = 240 - Width = 300 - End - Begin VB.Image DI0 - Appearance = 0 'Flat - Height = 300 - Index = 27 - Left = 1620 - Picture = "Util7432.frx":3408 - Top = 240 - Width = 300 - End - Begin VB.Image DI0 - Appearance = 0 'Flat - Height = 300 - Index = 26 - Left = 1980 - Picture = "Util7432.frx":357A - Top = 240 - Width = 300 - End - Begin VB.Image DI0 - Appearance = 0 'Flat - Height = 300 - Index = 25 - Left = 2340 - Picture = "Util7432.frx":36EC - Top = 240 - Width = 300 - End - Begin VB.Image DI0 - Appearance = 0 'Flat - Height = 300 - Index = 24 - Left = 2700 - Picture = "Util7432.frx":385E - Top = 240 - Width = 300 - End - Begin VB.Image DI0 - Appearance = 0 'Flat - Height = 300 - Index = 23 - Left = 3060 - Picture = "Util7432.frx":39D0 - Top = 240 - Width = 300 - End - Begin VB.Image DI0 - Appearance = 0 'Flat - Height = 300 - Index = 22 - Left = 3420 - Picture = "Util7432.frx":3B42 - Top = 240 - Width = 300 - End - Begin VB.Image DI0 - Appearance = 0 'Flat - Height = 300 - Index = 21 - Left = 3780 - Picture = "Util7432.frx":3CB4 - Top = 240 - Width = 300 - End - Begin VB.Image DI0 - Appearance = 0 'Flat - Height = 300 - Index = 20 - Left = 4140 - Picture = "Util7432.frx":3E26 - Top = 240 - Width = 300 - End - Begin VB.Image DI0 - Appearance = 0 'Flat - Height = 300 - Index = 19 - Left = 4500 - Picture = "Util7432.frx":3F98 - Top = 240 - Width = 300 - End - Begin VB.Image DI0 - Appearance = 0 'Flat - Height = 300 - Index = 18 - Left = 4860 - Picture = "Util7432.frx":410A - Top = 240 - Width = 300 - End - Begin VB.Image DI0 - Appearance = 0 'Flat - Height = 300 - Index = 17 - Left = 5220 - Picture = "Util7432.frx":427C - Top = 240 - Width = 300 - End - Begin VB.Image DI0 - Appearance = 0 'Flat - Height = 300 - Index = 16 - Left = 5580 - Picture = "Util7432.frx":43EE - Top = 240 - Width = 300 - End - Begin VB.Image DI0 - Appearance = 0 'Flat - Height = 300 - Index = 15 - Left = 180 - Picture = "Util7432.frx":4560 - Top = 750 - Width = 300 - End - Begin VB.Image DI0 - Appearance = 0 'Flat - Height = 300 - Index = 14 - Left = 540 - Picture = "Util7432.frx":46D2 - Top = 750 - Width = 300 - End - Begin VB.Image DI0 - Appearance = 0 'Flat - Height = 300 - Index = 13 - Left = 900 - Picture = "Util7432.frx":4844 - Top = 750 - Width = 300 - End - Begin VB.Image DI0 - Appearance = 0 'Flat - Height = 300 - Index = 12 - Left = 1260 - Picture = "Util7432.frx":49B6 - Top = 750 - Width = 300 - End - Begin VB.Image DI0 - Appearance = 0 'Flat - Height = 300 - Index = 11 - Left = 1620 - Picture = "Util7432.frx":4B28 - Top = 750 - Width = 300 - End - Begin VB.Image DI0 - Appearance = 0 'Flat - Height = 300 - Index = 10 - Left = 1980 - Picture = "Util7432.frx":4C9A - Top = 750 - Width = 300 - End - Begin VB.Image DI0 - Appearance = 0 'Flat - Height = 300 - Index = 9 - Left = 2340 - Picture = "Util7432.frx":4E0C - Top = 750 - Width = 300 - End - Begin VB.Image DI0 - Appearance = 0 'Flat - Height = 300 - Index = 8 - Left = 2700 - Picture = "Util7432.frx":4F7E - Top = 750 - Width = 300 - End - Begin VB.Image DI0 - Appearance = 0 'Flat - Height = 300 - Index = 0 - Left = 5580 - Picture = "Util7432.frx":50F0 - Top = 750 - Width = 300 - End - Begin VB.Image DI0 - Appearance = 0 'Flat - Height = 300 - Index = 1 - Left = 5220 - Picture = "Util7432.frx":5262 - Top = 750 - Width = 300 - End - Begin VB.Image DI0 - Appearance = 0 'Flat - Height = 300 - Index = 2 - Left = 4860 - Picture = "Util7432.frx":53D4 - Top = 750 - Width = 300 - End - Begin VB.Image DI0 - Appearance = 0 'Flat - Height = 300 - Index = 3 - Left = 4500 - Picture = "Util7432.frx":5546 - Top = 750 - Width = 300 - End - Begin VB.Image DI0 - Appearance = 0 'Flat - Height = 300 - Index = 4 - Left = 4140 - Picture = "Util7432.frx":56B8 - Top = 750 - Width = 300 - End - Begin VB.Image DI0 - Appearance = 0 'Flat - Height = 300 - Index = 5 - Left = 3780 - Picture = "Util7432.frx":582A - Top = 750 - Width = 300 - End - Begin VB.Image DI0 - Appearance = 0 'Flat - Height = 300 - Index = 6 - Left = 3420 - Picture = "Util7432.frx":599C - Top = 750 - Width = 300 - End - Begin VB.Image DI0 - Appearance = 0 'Flat - Height = 300 - Index = 7 - Left = 3060 - Picture = "Util7432.frx":5B0E - Top = 750 - Width = 300 - End - End - Begin VB.Image Image1 - Appearance = 0 'Flat - Height = 300 - Left = 5880 - Picture = "Util7432.frx":5C80 - Top = 2700 - Visible = 0 'False - Width = 300 - End - Begin VB.Image Image0 - Appearance = 0 'Flat - Height = 300 - Left = 6180 - Picture = "Util7432.frx":5DF2 - Top = 2700 - Visible = 0 'False - Width = 300 - End - Begin VB.Menu mnuExit - Caption = "&Exit!" - End -End -Attribute VB_Name = "util7432" -Attribute VB_Creatable = False -Attribute VB_Exposed = False -Option Explicit -Dim status(0 To 31) As Long -Dim bit(0 To 31) As Long - -Private Sub DOP0_Click(Index As Integer) - Dim i As Integer, result As Integer - Dim d As Long - - If status(Index) = 1 Then - DOP0(Index).Picture = Image0.Picture - status(Index) = 0 - Else - DOP0(Index).Picture = Image1.Picture - status(Index) = 1 - End If - d = 0 - For i = 0 To 30 - If status(i) = 1 Then - d = d + (2 ^ i) - End If - Next - 'Handle the MSB - 'd=d+2^31, but bucause VB has no unsigned long, - 'translate an unsigned long to signed long by minus 2^32 - If status(31) = 1 Then d = d - 2 ^ 31 'd = d + 2^31 - 2^32 - 'result = W_7432_DO(0, d) - result = DO_WritePort(card, 0, d) - -End Sub - -Private Sub Form_Load() - Dim result As Integer - Dim i As Integer - - SettingForm.Show 1 - If card < 0 Then - MsgBox "Register card failed." - End - End If - For i = 0 To 31 - status(i) = 0 - Next - - bit(0) = &H1& - bit(1) = &H2& - bit(2) = &H4& - bit(3) = &H8& - bit(4) = &H10& - bit(5) = &H20& - bit(6) = &H40& - bit(7) = &H80& - bit(8) = &H100& - bit(9) = &H200& - bit(10) = &H400& - bit(11) = &H800& - bit(12) = &H1000& - bit(13) = &H2000& - bit(14) = &H4000& - bit(15) = &H8000& - bit(16) = &H10000 - bit(17) = &H20000 - bit(18) = &H40000 - bit(19) = &H80000 - bit(20) = &H100000 - bit(21) = &H200000 - bit(22) = &H400000 - bit(23) = &H800000 - bit(24) = &H1000000 - bit(25) = &H2000000 - bit(26) = &H4000000 - bit(27) = &H8000000 - bit(28) = &H10000000 - bit(29) = &H20000000 - bit(30) = &H40000000 - bit(31) = &H80000000 -End Sub - -Private Sub Form_Unload(Cancel As Integer) - Dim result As Integer - If card >= 0 Then - result = Release_Card(card) - End If - End -End Sub - - -Private Sub mnuExit_Click() - Dim result As Integer - If card >= 0 Then - result = Release_Card(card) - End If - - End -End Sub - -Private Sub Timer1_Timer() - Dim result As Integer - Dim di_data As Long - Dim dl As Long, dh As Long - Dim i As Integer - Dim p As Long - - 'result = W_7432_DI(0, di_data) - result = DI_ReadPort(card, 0, di_data) - - For i = 0 To 31 - p = di_data And bit(i) - If p <> 0 Then - DI0(i) = Image1 - Else 'p = 0 - DI0(i) = Image0 - End If - Next -End Sub - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7432/VB7432/Util7432.Vbp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7432/VB7432/Util7432.Vbp deleted file mode 100644 index dd7356e..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7432/VB7432/Util7432.Vbp +++ /dev/null @@ -1,21 +0,0 @@ -Form=Util7432.Frm -Module=DASK; ..\..\..\include\Dask.bas -Module=Module1; 7432glbl.bas -Form=Base7432.frm -Reference=*\G{00025E04-0000-0000-C000-000000000046}#2.5#0#D:\Program Files\Common Files\Microsoft Shared\DD:\Program Fil#Microsoft DAO 2.5/3.0 Compatibility Library -ProjWinSize=88,406,248,215 -ProjWinShow=2 -IconForm="util7432" -Title="UTIL7432" -ExeName32="Util7432.exe" -ExeName="7432.EXE" -Name="vb4projectUtil7432" -HelpContextID="0" -StartMode=0 -VersionCompatible32="0" -MajorVer=1 -MinorVer=0 -RevisionVer=0 -AutoIncrementVer=0 -ServerSupportFiles=0 -VersionCompanyName="ADLINK" diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7432/VB7432/Util7432.frx b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7432/VB7432/Util7432.frx deleted file mode 100644 index 055f82c..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7432/VB7432/Util7432.frx and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7433/SDK7433/Resource.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7433/SDK7433/Resource.h deleted file mode 100644 index 12efae3..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7433/SDK7433/Resource.h +++ /dev/null @@ -1,19 +0,0 @@ -//{{NO_DEPENDENCIES}} -// Microsoft Developer Studio generated include file. -// Used by Util7433.rc -// -#define IDD_DIALOG1 101 -#define IDM_EXIT 110 -#define IDC_COMBO1 1015 -#define IDC_STATIC -1 - -// Next default values for new objects -// -#ifdef APSTUDIO_INVOKED -#ifndef APSTUDIO_READONLY_SYMBOLS -#define _APS_NEXT_RESOURCE_VALUE 102 -#define _APS_NEXT_COMMAND_VALUE 101 -#define _APS_NEXT_CONTROL_VALUE 1000 -#define _APS_NEXT_SYMED_VALUE 101 -#endif -#endif diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7433/SDK7433/UTIL7433.RC b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7433/SDK7433/UTIL7433.RC deleted file mode 100644 index 0683db2..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7433/SDK7433/UTIL7433.RC +++ /dev/null @@ -1,115 +0,0 @@ -//Microsoft Developer Studio generated resource script. -// -#include "resource.h" - -#define APSTUDIO_READONLY_SYMBOLS -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 2 resource. -// -#define APSTUDIO_HIDDEN_SYMBOLS -#include "windows.h" -#undef APSTUDIO_HIDDEN_SYMBOLS - -///////////////////////////////////////////////////////////////////////////// -#undef APSTUDIO_READONLY_SYMBOLS - -///////////////////////////////////////////////////////////////////////////// -// English (U.S.) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -#ifdef _WIN32 -LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US -#pragma code_page(1252) -#endif //_WIN32 - -///////////////////////////////////////////////////////////////////////////// -// -// Menu -// - -U7433MENU MENU DISCARDABLE -BEGIN - MENUITEM "E&xit!", IDM_EXIT -END - - -#ifdef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// TEXTINCLUDE -// - -1 TEXTINCLUDE DISCARDABLE -BEGIN - "resource.h\0" -END - -2 TEXTINCLUDE DISCARDABLE -BEGIN - "#define APSTUDIO_HIDDEN_SYMBOLS\r\n" - "#include ""windows.h""\r\n" - "#undef APSTUDIO_HIDDEN_SYMBOLS\r\n" - "\0" -END - -3 TEXTINCLUDE DISCARDABLE -BEGIN - "\r\n" - "\0" -END - -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog -// - -IDD_DIALOG1 DIALOG DISCARDABLE 110, 10, 106, 61 -STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "Card Number" -FONT 10, "System" -BEGIN - DEFPUSHBUTTON "OK",IDOK,10,40,37,14 - PUSHBUTTON "Cancel",IDCANCEL,61,40,38,14 - LTEXT "Card Number",IDC_STATIC,3,13,47,13 - COMBOBOX IDC_COMBO1,51,13,48,84,CBS_DROPDOWN | WS_VSCROLL | - WS_TABSTOP -END - - -///////////////////////////////////////////////////////////////////////////// -// -// DESIGNINFO -// - -#ifdef APSTUDIO_INVOKED -GUIDELINES DESIGNINFO DISCARDABLE -BEGIN - IDD_DIALOG1, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 99 - TOPMARGIN, 7 - BOTTOMMARGIN, 54 - END -END -#endif // APSTUDIO_INVOKED - -#endif // English (U.S.) resources -///////////////////////////////////////////////////////////////////////////// - - - -#ifndef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 3 resource. -// - - -///////////////////////////////////////////////////////////////////////////// -#endif // not APSTUDIO_INVOKED - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7433/SDK7433/Util7433.c b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7433/SDK7433/Util7433.c deleted file mode 100644 index 0e7f08d..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7433/SDK7433/Util7433.c +++ /dev/null @@ -1,283 +0,0 @@ -/*;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; -;; Copyright (c) 1999, ADLink Technology Inc. All rights reserved. ;; -;; ;; -;; File Name : Util7433.C ;; -;; Purpose : This sample program demonstrate how to operate ;; -;; DI for PCI-7433 ;; -;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;*/ - -#include -#include -#include -#include -#include -#include -#include "Dask.h" -#include "resource.h" - -#define IDM_EXIT 110 -#define TIMER1 1 - -int PASCAL WinMain(HANDLE, HANDLE, LPSTR, int); -long PASCAL MainWndProc(HWND, UINT, WPARAM, LPARAM); - -HANDLE hInst; -U32 input_lo=0, input_hi=0; -U32 oldinput_lo=0, oldinput_hi=0; -I16 card=-1, card_number=0; - -HBRUSH hLTGreenBrush,hGreenBrush,hBlueBrush,hYellowBrush,hRedBrush; - -POINT input_pos[64]= { - {320, 160}, {300, 160}, - {280, 160}, {260, 160}, - {240, 160}, {220, 160}, - {200, 160}, {180, 160}, - {160, 160}, {140, 160}, - {120, 160}, {100, 160}, - { 80, 160}, { 60, 160}, - { 40, 160}, { 20, 160}, - {320, 120}, {300, 120}, - {280, 120}, {260, 120}, - {240, 120}, {220, 120}, - {200, 120}, {180, 120}, - {160, 120}, {140, 120}, - {120, 120}, {100, 120}, - { 80, 120}, { 60, 120}, - { 40, 120}, { 20, 120}, - {320, 80}, {300, 80}, - {280, 80}, {260, 80}, - {240, 80}, {220, 80}, - {200, 80}, {180, 80}, - {160, 80}, {140, 80}, - {120, 80}, {100, 80}, - { 80, 80}, { 60, 80}, - { 40, 80}, { 20, 80}, - {320, 40}, {300, 40}, - {280, 40}, {260, 40}, - {240, 40}, {220, 40}, - {200, 40}, {180, 40}, - {160, 40}, {140, 40}, - {120, 40}, {100, 40}, - { 80, 40}, { 60, 40}, - { 40, 40}, { 20, 40} - }; - -BOOL InitApplication(HANDLE); -BOOL InitInstance(HANDLE, int); - -int PASCAL WinMain(hInstance, hPrevInstance, lpCmdLine, nCmdShow) -HANDLE hInstance, hPrevInstance; -LPSTR lpCmdLine; -int nCmdShow; -{ - MSG msg; - - if (!hPrevInstance) - if (!InitApplication(hInstance)) return(FALSE); - if (!InitInstance(hInstance, nCmdShow)) return(FALSE); - while (GetMessage(&msg, NULL, NULL, NULL)) { - TranslateMessage(&msg); - DispatchMessage(&msg); - } - return(msg.wParam); -} - -BOOL InitApplication(hInstance) -HANDLE hInstance; -{ - WNDCLASS wc; - - /* Main Window Class */ - wc.style = NULL; - wc.lpfnWndProc = (WNDPROC)MainWndProc; - wc.cbClsExtra = 0; - wc.cbWndExtra = 0; - wc.hInstance = hInstance; - wc.hIcon = LoadIcon(hInstance, "MyIcon"); - wc.hCursor = LoadCursor(NULL, IDC_ARROW); - wc.hbrBackground = GetStockObject(LTGRAY_BRUSH); - wc.lpszMenuName = NULL; - wc.lpszClassName = "GenericWClass"; - if (!RegisterClass(&wc)) return(FALSE); -} - -BOOL InitInstance(hInstance, nCmdShow) -HANDLE hInstance; -int nCmdShow; -{ - HWND hWnd; - HMENU hSampleMenu; - - hInst = hInstance; - hSampleMenu = LoadMenu(hInstance, "U7433Menu"); - hWnd = CreateWindow("GenericWClass", - (LPCSTR)"PCI-7433", - WS_OVERLAPPEDWINDOW, - CW_USEDEFAULT, - CW_USEDEFAULT, - 370, - 260, - NULL, - hSampleMenu, - hInstance, - NULL); - if (!hWnd) return(FALSE); - ShowWindow(hWnd, nCmdShow); - UpdateWindow(hWnd); - return(TRUE); -} - -BOOL PASCAL setup(HWND hWnd, unsigned message, WPARAM wParam, LPARAM lParam) -{ - int i; - char n[16]; - char s[50]; - switch (message) { - case WM_INITDIALOG: - for (i=0;i<16;i++) { - wsprintf(n, "%d", i); - _strupr(n); - SendMessage(GetDlgItem(hWnd,IDC_COMBO1), CB_ADDSTRING, NULL, (LONG)(LPSTR) n); - } - SendMessage(GetDlgItem(hWnd,IDC_COMBO1) , CB_SETCURSEL, 0, 0L); - - break; - case WM_COMMAND: - switch(LOWORD(wParam)) { - - case IDC_COMBO1: - if (HIWORD(wParam) == CBN_CLOSEUP) { - i = (int)SendMessage(GetDlgItem(hWnd,IDC_COMBO1), CB_GETCURSEL, 0, 0L); - SendMessage(GetDlgItem(hWnd,IDC_COMBO1), CB_GETLBTEXT, i, (LPARAM)((LPCSTR)n)); - card_number = i; - } - return(TRUE); - case IDOK: - if ((card=Register_Card(PCI_7433, card_number)) < 0) { - wsprintf(s, "Register_Card Error = %d\n", card); - MessageBox(hWnd, s, "Error", MB_OK); - } - EndDialog(hWnd, TRUE); - InvalidateRect(hWnd, NULL, FALSE); - return (TRUE); - case IDCANCEL: - EndDialog(hWnd, TRUE); - return (TRUE); - } - break; - } - return (FALSE); -} - -long PASCAL MainWndProc(hWnd, message, wParam, lParam) -HWND hWnd; -UINT message; -WPARAM wParam; -LPARAM lParam; -{ - HDC hDC; - PAINTSTRUCT ps; - int i; - - switch(message) { - case WM_CREATE: - DialogBox(hInst,IDD_DIALOG1, hWnd, setup); - if(card<0) { - SendMessage(hWnd, WM_CLOSE, 0, 0L); - break; - } - hLTGreenBrush = CreateSolidBrush(RGB(0, 255, 0)); - hGreenBrush = CreateSolidBrush(RGB(0, 128, 0)); - hBlueBrush = CreateSolidBrush(RGB(0, 0, 255)); - hRedBrush = CreateSolidBrush(RGB(255, 0, 0)); - SetTimer(hWnd, TIMER1, 50, NULL); - srand((unsigned)time(NULL)); - break; - case WM_PAINT: - hDC = BeginPaint(hWnd, &ps); - // Digital Input Box - SelectObject(hDC, hLTGreenBrush); - Rectangle(hDC, input_pos[63].x-10, input_pos[63].y-24, input_pos[0].x+26, input_pos[0].y+40); - SetTextColor(hDC,RGB(255,255,255)); - SetBkColor(hDC, RGB(0, 0, 255)); - TextOut(hDC, input_pos[63].x, input_pos[63].y-30, "Digital Input",13); - // Channel Label - SetTextColor(hDC,RGB(0,0,0)); - SetBkColor(hDC, RGB(0, 255, 0)); - TextOut(hDC, input_pos[63].x, input_pos[63].y+16, "63 48", 75); - TextOut(hDC, input_pos[47].x, input_pos[47].y+16, "47 32", 75); - TextOut(hDC, input_pos[31].x, input_pos[31].y+16, "31 16", 75); - TextOut(hDC, input_pos[15].x, input_pos[15].y+16, "15 0", 75); - SetBkColor(hDC, RGB(0, 255, 0)); - //Detect Channel Input Lo - for (i=0; i<32; i++) { - if ((input_lo>>i)&0x01) - SelectObject(hDC, hRedBrush); - else - SelectObject(hDC, GetStockObject(WHITE_BRUSH)); - Ellipse(hDC, input_pos[i].x, input_pos[i].y, input_pos[i].x+17, input_pos[i].y+17); - } - //Detect Channel Input Hi - for (i=0; i<32; i++) { - if ((input_hi>>i)&0x01) - SelectObject(hDC, hRedBrush); - else - SelectObject(hDC, GetStockObject(WHITE_BRUSH)); - Ellipse(hDC, input_pos[i+32].x, input_pos[i+32].y, input_pos[i+32].x+17, input_pos[i+32].y+17); - } - EndPaint(hWnd, &ps); - break; - case WM_COMMAND: - switch(LOWORD(wParam)) { - case IDM_EXIT: - SendMessage(hWnd, WM_CLOSE, 0, 0L); - break; - default: - return(DefWindowProc(hWnd, message, wParam, lParam)); - } - break; - case WM_TIMER: - /* Digital Input */ - DI_ReadPort(card,PORT_DI_HIGH,&input_hi); - DI_ReadPort(card,PORT_DI_LOW,&input_lo); - - hDC = GetDC(hWnd); - for (i=0; i<32; i++) { - if( ((input_lo>>i)&0x01) != ((oldinput_lo>>i)&0x01) ) - { - if ((input_lo>>i)&0x01) - SelectObject(hDC, hRedBrush); - else - SelectObject(hDC, GetStockObject(WHITE_BRUSH)); - Ellipse(hDC, input_pos[i].x, input_pos[i].y, input_pos[i].x+17, input_pos[i].y+17); - } - } - for (i=0; i<32; i++) { - if( ((input_hi>>i)&0x01) != ((oldinput_hi>>i)&0x01) ) - { - if ((input_hi>>i)&0x01) - SelectObject(hDC, hRedBrush); - else - SelectObject(hDC, GetStockObject(WHITE_BRUSH)); - Ellipse(hDC, input_pos[i+32].x, input_pos[i+32].y, input_pos[i+32].x+17, input_pos[i+32].y+17); - } - } - oldinput_lo = input_lo; - oldinput_hi = input_hi; - ReleaseDC(hWnd, hDC); - break; - case WM_DESTROY: - if (card >= 0) Release_Card(card); - DeleteObject(hRedBrush); - DeleteObject(hGreenBrush); - DeleteObject(hLTGreenBrush); - KillTimer(hWnd, TIMER1); - PostQuitMessage(0); - break; - default: - return(DefWindowProc(hWnd, message, wParam, lParam)); - } - return(NULL); -} - \ No newline at end of file diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7433/SDK7433/Util7433.exe b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7433/SDK7433/Util7433.exe deleted file mode 100644 index 99d5919..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7433/SDK7433/Util7433.exe and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7433/SDK7433/Util7433.mak b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7433/SDK7433/Util7433.mak deleted file mode 100644 index ec5de43..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7433/SDK7433/Util7433.mak +++ /dev/null @@ -1,219 +0,0 @@ -# Microsoft Developer Studio Generated NMAKE File, Format Version 4.00 -# ** DO NOT EDIT ** - -# TARGTYPE "Win32 (x86) Application" 0x0101 - -!IF "$(CFG)" == "" -CFG=Util7433 - Win32 Debug -!MESSAGE No configuration specified. Defaulting to Util7433 - Win32 Debug. -!ENDIF - -!IF "$(CFG)" != "Util7433 - Win32 Release" && "$(CFG)" !=\ - "Util7433 - Win32 Debug" -!MESSAGE Invalid configuration "$(CFG)" specified. -!MESSAGE You can specify a configuration when running NMAKE on this makefile -!MESSAGE by defining the macro CFG on the command line. For example: -!MESSAGE -!MESSAGE NMAKE /f "Util7433.mak" CFG="Util7433 - Win32 Debug" -!MESSAGE -!MESSAGE Possible choices for configuration are: -!MESSAGE -!MESSAGE "Util7433 - Win32 Release" (based on "Win32 (x86) Application") -!MESSAGE "Util7433 - Win32 Debug" (based on "Win32 (x86) Application") -!MESSAGE -!ERROR An invalid configuration is specified. -!ENDIF - -!IF "$(OS)" == "Windows_NT" -NULL= -!ELSE -NULL=nul -!ENDIF -################################################################################ -# Begin Project -# PROP Target_Last_Scanned "Util7433 - Win32 Debug" -MTL=mktyplib.exe -RSC=rc.exe -CPP=cl.exe - -!IF "$(CFG)" == "Util7433 - Win32 Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "Release" -# PROP BASE Intermediate_Dir "Release" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "" -# PROP Intermediate_Dir "Release" -# PROP Target_Dir "" -OUTDIR=. -INTDIR=.\Release - -ALL : "$(OUTDIR)\Util7433.exe" - -CLEAN : - -@erase ".\Util7433.exe" - -@erase ".\Release\util7433.obj" - -@erase ".\Release\util7433.res" - -"$(INTDIR)" : - if not exist "$(INTDIR)/$(NULL)" mkdir "$(INTDIR)" - -# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /YX /c -# ADD CPP /nologo /W3 /GX /O2 /I "..\..\..\include" /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /c -# SUBTRACT CPP /YX -CPP_PROJ=/nologo /ML /W3 /GX /O2 /I "..\..\..\include" /D "WIN32" /D "NDEBUG"\ - /D "_WINDOWS" /Fo"$(INTDIR)/" /c -CPP_OBJS=.\Release/ -CPP_SBRS= -# ADD BASE MTL /nologo /D "NDEBUG" /win32 -# ADD MTL /nologo /D "NDEBUG" /win32 -MTL_PROJ=/nologo /D "NDEBUG" /win32 -# ADD BASE RSC /l 0x404 /d "NDEBUG" -# ADD RSC /l 0x404 /d "NDEBUG" -RSC_PROJ=/l 0x404 /fo"$(INTDIR)/util7433.res" /d "NDEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -BSC32_FLAGS=/nologo /o"$(OUTDIR)/Util7433.bsc" -BSC32_SBRS= -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:windows /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ..\..\..\lib\PCI-DASK.lib /nologo /subsystem:windows /machine:I386 -LINK32_FLAGS=kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib\ - advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib\ - odbccp32.lib ..\..\..\lib\PCI-DASK.lib /nologo /subsystem:windows\ - /incremental:no /pdb:"$(OUTDIR)/Util7433.pdb" /machine:I386\ - /out:"$(OUTDIR)/Util7433.exe" -LINK32_OBJS= \ - "$(INTDIR)/util7433.obj" \ - "$(INTDIR)/util7433.res" - -"$(OUTDIR)\Util7433.exe" : "$(OUTDIR)" $(DEF_FILE) $(LINK32_OBJS) - $(LINK32) @<< - $(LINK32_FLAGS) $(LINK32_OBJS) -<< - -!ELSEIF "$(CFG)" == "Util7433 - Win32 Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "Debug" -# PROP BASE Intermediate_Dir "Debug" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "" -# PROP Intermediate_Dir "Debug" -# PROP Target_Dir "" -OUTDIR=. -INTDIR=.\Debug - -ALL : "$(OUTDIR)\Util7433.exe" - -CLEAN : - -@erase ".\Debug\vc40.pdb" - -@erase ".\Debug\vc40.idb" - -@erase ".\Util7433.exe" - -@erase ".\Debug\util7433.obj" - -@erase ".\Debug\util7433.res" - -@erase ".\Util7433.ilk" - -@erase ".\Util7433.pdb" - -"$(INTDIR)" : - if not exist "$(INTDIR)/$(NULL)" mkdir "$(INTDIR)" - -# ADD BASE CPP /nologo /W3 /Gm /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /YX /c -# ADD CPP /nologo /W3 /Gm /GX /Zi /Od /I "..\..\..\include" /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /c -# SUBTRACT CPP /YX -CPP_PROJ=/nologo /MLd /W3 /Gm /GX /Zi /Od /I "..\..\..\include" /D "WIN32" /D\ - "_DEBUG" /D "_WINDOWS" /Fo"$(INTDIR)/" /Fd"$(INTDIR)/" /c -CPP_OBJS=.\Debug/ -CPP_SBRS= -# ADD BASE MTL /nologo /D "_DEBUG" /win32 -# ADD MTL /nologo /D "_DEBUG" /win32 -MTL_PROJ=/nologo /D "_DEBUG" /win32 -# ADD BASE RSC /l 0x404 /d "_DEBUG" -# ADD RSC /l 0x404 /d "_DEBUG" -RSC_PROJ=/l 0x404 /fo"$(INTDIR)/util7433.res" /d "_DEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -BSC32_FLAGS=/nologo /o"$(OUTDIR)/Util7433.bsc" -BSC32_SBRS= -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:windows /debug /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ..\..\..\lib\PCI-DASK.lib /nologo /subsystem:windows /debug /machine:I386 -LINK32_FLAGS=kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib\ - advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib\ - odbccp32.lib ..\..\..\lib\PCI-DASK.lib /nologo /subsystem:windows\ - /incremental:yes /pdb:"$(OUTDIR)/Util7433.pdb" /debug /machine:I386\ - /out:"$(OUTDIR)/Util7433.exe" -LINK32_OBJS= \ - "$(INTDIR)/util7433.obj" \ - "$(INTDIR)/util7433.res" - -"$(OUTDIR)\Util7433.exe" : "$(OUTDIR)" $(DEF_FILE) $(LINK32_OBJS) - $(LINK32) @<< - $(LINK32_FLAGS) $(LINK32_OBJS) -<< - -!ENDIF - -.c{$(CPP_OBJS)}.obj: - $(CPP) $(CPP_PROJ) $< - -.cpp{$(CPP_OBJS)}.obj: - $(CPP) $(CPP_PROJ) $< - -.cxx{$(CPP_OBJS)}.obj: - $(CPP) $(CPP_PROJ) $< - -.c{$(CPP_SBRS)}.sbr: - $(CPP) $(CPP_PROJ) $< - -.cpp{$(CPP_SBRS)}.sbr: - $(CPP) $(CPP_PROJ) $< - -.cxx{$(CPP_SBRS)}.sbr: - $(CPP) $(CPP_PROJ) $< - -################################################################################ -# Begin Target - -# Name "Util7433 - Win32 Release" -# Name "Util7433 - Win32 Debug" - -!IF "$(CFG)" == "Util7433 - Win32 Release" - -!ELSEIF "$(CFG)" == "Util7433 - Win32 Debug" - -!ENDIF - -################################################################################ -# Begin Source File - -SOURCE=.\util7433.rc - -"$(INTDIR)\util7433.res" : $(SOURCE) "$(INTDIR)" - $(RSC) $(RSC_PROJ) $(SOURCE) - - -# End Source File -################################################################################ -# Begin Source File - -SOURCE=.\util7433.c -DEP_CPP_UTIL7=\ - ".\..\..\..\include\Dask.h"\ - - -"$(INTDIR)\util7433.obj" : $(SOURCE) $(DEP_CPP_UTIL7) "$(INTDIR)" - - -# End Source File -# End Target -# End Project -################################################################################ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7433/SDK7433/Util7433.mdp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7433/SDK7433/Util7433.mdp deleted file mode 100644 index 868578a..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7433/SDK7433/Util7433.mdp and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7433/SDK7433DbEvt/7433INT.C b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7433/SDK7433DbEvt/7433INT.C deleted file mode 100644 index 343ae05..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7433/SDK7433DbEvt/7433INT.C +++ /dev/null @@ -1,238 +0,0 @@ -/*;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; -;; Copyright (c) 1995-1999, ADLink Technology Inc. All rights reserved. ;; -;; ;; -;; File Name : 7433INT.C ;; -;; Purpose : This sample program demonstrates how to handle interrupt ;; -;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;*/ - -#include -#include -#include -#include -#include -#include "Dask.h" -#include "Resource.h" - -HANDLE hInst; /* current instance */ -U16 wBus, wSlot; -I16 card=-1, card_number = 0; -int int_count=0, int2_count=0; -HWND hStart, hMainWnd; -HANDLE hEvent[2]; - -int PASCAL WinMain(HANDLE, HANDLE, LPSTR, int); -BOOL InitApplication(HANDLE); -BOOL InitInstance(HANDLE, int); -long PASCAL MainWndProc(HWND, unsigned, WPARAM, LPARAM); - -void -IntThread(void* pArg) -{ - while (1) { - if (WaitForSingleObject(hEvent[0], INFINITE) == WAIT_OBJECT_0) { - int_count++; - ResetEvent(hEvent[0]); - InvalidateRect(hMainWnd, NULL, FALSE); - } - } - _endthread(); -} - -void -Int2Thread(void* pArg) -{ - while (1) { - if (WaitForSingleObject(hEvent[1], INFINITE) == WAIT_OBJECT_0) { - int2_count++; - ResetEvent(hEvent[1]); - InvalidateRect(hMainWnd, NULL, FALSE); - } - } - _endthread(); -} - - /********************************************************************** - - FUNCTION: WinMain(HANDLE, HANDLE, LPSTR, int) - PURPOSE: calls initialization function, processes message loop - - ***********************************************************************/ - - int PASCAL WinMain(hInstance, hPrevInstance, lpCmdLine, nCmdShow) - HANDLE hInstance; - HANDLE hPrevInstance; - LPSTR lpCmdLine; - int nCmdShow; - { - MSG msg; - - if(!hPrevInstance) - if(!InitApplication(hInstance)) - return(FALSE); - - if(!InitInstance(hInstance, nCmdShow)) - return(FALSE); - - while ( GetMessage(&msg, NULL, NULL, NULL)) - { - TranslateMessage(&msg); - DispatchMessage(&msg); - } - return(msg.wParam); - } - -/**************************************************************************** - - FUNCTION: InitApplication(HANDLE) - - PURPOSE: Initializes window data and registers window class - -****************************************************************************/ - -BOOL InitApplication(hInstance) -HANDLE hInstance; -{ - WNDCLASS wc; - - wc.style = NULL; - wc.lpfnWndProc = MainWndProc; - wc.cbClsExtra = 0; - wc.cbWndExtra = 0; - wc.hInstance = hInstance; - wc.hIcon = LoadIcon(NULL, IDI_APPLICATION); - wc.hCursor = LoadCursor(hInstance, IDC_ARROW); - wc.hbrBackground = GetStockObject(WHITE_BRUSH); - wc.lpszMenuName = "U7433Menu"; - wc.lpszClassName = "IntClass"; - - return (RegisterClass(&wc)); -} - -/**************************************************************************** - - FUNCTION: InitInstance(HANDLE, int) - - PURPOSE: Saves instance handle and creates main window - -****************************************************************************/ - -BOOL InitInstance(hInstance, nCmdShow) -HANDLE hInstance; -int nCmdShow; -{ - HWND hWnd; - - hInst = hInstance; - hWnd = CreateWindow("IntClass", "PCI-7433 Dual Interrupt Sample", WS_OVERLAPPEDWINDOW, - 200, 100, 415, 270, NULL, NULL, hInstance, NULL); - if (!hWnd) return (FALSE); - ShowWindow(hWnd, nCmdShow); - UpdateWindow(hWnd); - return (TRUE); -} - -BOOL PASCAL setup(HWND hWnd, unsigned message, WPARAM wParam, LPARAM lParam) -{ - int i; - char n[16]; - char s[50]; - switch (message) { - case WM_INITDIALOG: - for (i=0;i<16;i++) { - wsprintf(n, "%d", i); - _strupr(n); - SendMessage(GetDlgItem(hWnd,IDC_COMBO1), CB_ADDSTRING, NULL, (LONG)(LPSTR) n); - } - SendMessage(GetDlgItem(hWnd,IDC_COMBO1) , CB_SETCURSEL, 0, 0L); - - break; - case WM_COMMAND: - switch(LOWORD(wParam)) { - - case IDC_COMBO1: - if (HIWORD(wParam) == CBN_CLOSEUP) { - i = (int)SendMessage(GetDlgItem(hWnd,IDC_COMBO1), CB_GETCURSEL, 0, 0L); - SendMessage(GetDlgItem(hWnd,IDC_COMBO1), CB_GETLBTEXT, i, (LPARAM)((LPCSTR)n)); - card_number = i; - } - return(TRUE); - case IDOK: - if ((card=Register_Card(PCI_7433, card_number)) < 0) { - wsprintf(s, "Register_Card Error = %d\n", card); - MessageBox(hWnd, s, "Error", MB_OK); - } - EndDialog(hWnd, TRUE); - InvalidateRect(hWnd, NULL, FALSE); - return (TRUE); - case IDCANCEL: - EndDialog(hWnd, TRUE); - return (TRUE); - } - break; - } - return (FALSE); -} - -/**************************************************************************** - - FUNCTION: MainWndProc(HWND, UINT, WPARAM, LPARAM) - - PURPOSE: Processes messages - - -****************************************************************************/ - -long PASCAL MainWndProc(hWnd, message, wParam, lParam) -HWND hWnd; -unsigned message; -WPARAM wParam; -LPARAM lParam; -{ - PAINTSTRUCT ps; - HDC hDC; - char buf[20]; - char s[50]; - - switch(message) { - case WM_CREATE: - DialogBox(hInst,IDD_DIALOG2, hWnd, setup); - if(card<0) { - SendMessage(hWnd, WM_CLOSE, 0, 0L); - break; - } - DIO_SetDualInterrupt(card, INT1_EXT_SIGNAL, INT2_EXT_SIGNAL, hEvent); - - hMainWnd = hWnd; - _beginthread(IntThread, 0, 0); - _beginthread(Int2Thread, 0, 0); - break; - case WM_PAINT: - hDC = BeginPaint(hWnd, &ps); - TextOut(hDC, 20, 20, "This program shows the number of occurrence of interrupt",56); - TextOut(hDC, 20, 35, "for Dual interrupt lines.", 25); - TextOut(hDC, 20, 50, "INT1 interrupt is generated by external signal from DI bit-0.", 61); - TextOut(hDC, 20, 65, "INT2 interrupt is generated by external signal from DI bit-1.", 61); - wsprintf(buf,"INT1 count = %d", int_count); - TextOut(hDC, 120, 110, buf, strlen(buf)); - wsprintf(buf,"INT2 count = %d", int2_count); - TextOut(hDC, 120, 130, buf, strlen(buf)); - EndPaint(hWnd, &ps); - break; - case WM_COMMAND: - switch(LOWORD(wParam)) { - case IDM_EXIT: - DIO_SetDualInterrupt(card, INT1_DISABLE, INT2_DISABLE, hEvent); - SendMessage(hWnd, WM_CLOSE, 0, 0L); - break; - } - break; - case WM_DESTROY: - if (card >= 0) Release_Card(card); - PostQuitMessage(0); - break; - default: - return (DefWindowProc(hWnd, message, wParam, lParam)); - } - return(0L); -} - \ No newline at end of file diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7433/SDK7433DbEvt/7433INT.EXE b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7433/SDK7433DbEvt/7433INT.EXE deleted file mode 100644 index ebf8d07..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7433/SDK7433DbEvt/7433INT.EXE and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7433/SDK7433DbEvt/7433INT.MAK b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7433/SDK7433DbEvt/7433INT.MAK deleted file mode 100644 index a481429..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7433/SDK7433DbEvt/7433INT.MAK +++ /dev/null @@ -1,218 +0,0 @@ -# Microsoft Developer Studio Generated NMAKE File, Format Version 4.00 -# ** DO NOT EDIT ** - -# TARGTYPE "Win32 (x86) Application" 0x0101 - -!IF "$(CFG)" == "" -CFG=7433int - Win32 Debug -!MESSAGE No configuration specified. Defaulting to 7433int - Win32 Debug. -!ENDIF - -!IF "$(CFG)" != "7433int - Win32 Release" && "$(CFG)" !=\ - "7433int - Win32 Debug" -!MESSAGE Invalid configuration "$(CFG)" specified. -!MESSAGE You can specify a configuration when running NMAKE on this makefile -!MESSAGE by defining the macro CFG on the command line. For example: -!MESSAGE -!MESSAGE NMAKE /f "7433int.mak" CFG="7433int - Win32 Debug" -!MESSAGE -!MESSAGE Possible choices for configuration are: -!MESSAGE -!MESSAGE "7433int - Win32 Release" (based on "Win32 (x86) Application") -!MESSAGE "7433int - Win32 Debug" (based on "Win32 (x86) Application") -!MESSAGE -!ERROR An invalid configuration is specified. -!ENDIF - -!IF "$(OS)" == "Windows_NT" -NULL= -!ELSE -NULL=nul -!ENDIF -################################################################################ -# Begin Project -CPP=cl.exe -RSC=rc.exe -MTL=mktyplib.exe - -!IF "$(CFG)" == "7433int - Win32 Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "Release" -# PROP BASE Intermediate_Dir "Release" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "" -# PROP Intermediate_Dir "Release" -# PROP Target_Dir "" -OUTDIR=. -INTDIR=.\Release - -ALL : "$(OUTDIR)\7433int.exe" - -CLEAN : - -@erase ".\7433int.exe" - -@erase ".\Release\7433int.obj" - -@erase ".\Release\7433int.res" - -"$(INTDIR)" : - if not exist "$(INTDIR)/$(NULL)" mkdir "$(INTDIR)" - -# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /YX /c -# ADD CPP /nologo /MT /W3 /GX /Od /I "..\..\..\include" /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /c -# SUBTRACT CPP /YX -CPP_PROJ=/nologo /MT /W3 /GX /Od /I "..\..\..\include" /D "WIN32" /D "NDEBUG"\ - /D "_WINDOWS" /Fo"$(INTDIR)/" /c -CPP_OBJS=.\Release/ -CPP_SBRS= -# ADD BASE MTL /nologo /D "NDEBUG" /win32 -# ADD MTL /nologo /D "NDEBUG" /win32 -MTL_PROJ=/nologo /D "NDEBUG" /win32 -# ADD BASE RSC /l 0x409 /d "NDEBUG" -# ADD RSC /l 0x409 /d "NDEBUG" -RSC_PROJ=/l 0x409 /fo"$(INTDIR)/7433int.res" /d "NDEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -BSC32_FLAGS=/nologo /o"$(OUTDIR)/7433int.bsc" -BSC32_SBRS= -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:windows /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ..\..\..\lib\PCI-DASK.lib /nologo /subsystem:windows /machine:I386 -LINK32_FLAGS=kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib\ - advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib\ - odbccp32.lib ..\..\..\lib\PCI-DASK.lib /nologo /subsystem:windows\ - /incremental:no /pdb:"$(OUTDIR)/7433int.pdb" /machine:I386\ - /out:"$(OUTDIR)/7433int.exe" -LINK32_OBJS= \ - ".\Release\7433int.obj" \ - ".\Release\7433int.res" - -"$(OUTDIR)\7433int.exe" : "$(OUTDIR)" $(DEF_FILE) $(LINK32_OBJS) - $(LINK32) @<< - $(LINK32_FLAGS) $(LINK32_OBJS) -<< - -!ELSEIF "$(CFG)" == "7433int - Win32 Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "Debug" -# PROP BASE Intermediate_Dir "Debug" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "Debug" -# PROP Intermediate_Dir "Debug" -# PROP Target_Dir "" -OUTDIR=.\Debug -INTDIR=.\Debug - -ALL : "$(OUTDIR)\7433int.exe" - -CLEAN : - -@erase ".\Debug\7433int.exe" - -@erase ".\Debug\7433int.res" - -@erase ".\Debug\7433int.obj" - -@erase ".\Debug\7433int.ilk" - -@erase ".\Debug\7433int.pdb" - -@erase ".\Debug\vc40.pdb" - -@erase ".\Debug\vc40.idb" - -"$(OUTDIR)" : - if not exist "$(OUTDIR)/$(NULL)" mkdir "$(OUTDIR)" - -# ADD BASE CPP /nologo /W3 /Gm /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /YX /c -# ADD CPP /nologo /MTd /W3 /Gm /GX /Zi /Od /I "..\..\..\include" /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /c -# SUBTRACT CPP /YX -CPP_PROJ=/nologo /MTd /W3 /Gm /GX /Zi /Od /I "..\..\..\include" /D "WIN32" /D\ - "_DEBUG" /D "_WINDOWS" /Fo"$(INTDIR)/" /Fd"$(INTDIR)/" /c -CPP_OBJS=.\Debug/ -CPP_SBRS= -# ADD BASE MTL /nologo /D "_DEBUG" /win32 -# ADD MTL /nologo /D "_DEBUG" /win32 -MTL_PROJ=/nologo /D "_DEBUG" /win32 -# ADD BASE RSC /l 0x409 /d "_DEBUG" -# ADD RSC /l 0x409 /d "_DEBUG" -RSC_PROJ=/l 0x409 /fo"$(INTDIR)/7433int.res" /d "_DEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -BSC32_FLAGS=/nologo /o"$(OUTDIR)/7433int.bsc" -BSC32_SBRS= -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:windows /debug /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ..\..\..\lib\PCI-DASK.lib /nologo /subsystem:windows /debug /machine:I386 -LINK32_FLAGS=kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib\ - advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib\ - odbccp32.lib ..\..\..\lib\PCI-DASK.lib /nologo /subsystem:windows\ - /incremental:yes /pdb:"$(OUTDIR)/7433int.pdb" /debug /machine:I386\ - /out:"$(OUTDIR)/7433int.exe" -LINK32_OBJS= \ - ".\Debug\7433int.obj" \ - ".\Debug\7433int.res" - -"$(OUTDIR)\7433int.exe" : "$(OUTDIR)" $(DEF_FILE) $(LINK32_OBJS) - $(LINK32) @<< - $(LINK32_FLAGS) $(LINK32_OBJS) -<< - -!ENDIF - -.c{$(CPP_OBJS)}.obj: - $(CPP) $(CPP_PROJ) $< - -.cpp{$(CPP_OBJS)}.obj: - $(CPP) $(CPP_PROJ) $< - -.cxx{$(CPP_OBJS)}.obj: - $(CPP) $(CPP_PROJ) $< - -.c{$(CPP_SBRS)}.sbr: - $(CPP) $(CPP_PROJ) $< - -.cpp{$(CPP_SBRS)}.sbr: - $(CPP) $(CPP_PROJ) $< - -.cxx{$(CPP_SBRS)}.sbr: - $(CPP) $(CPP_PROJ) $< - -################################################################################ -# Begin Target - -# Name "7433int - Win32 Release" -# Name "7433int - Win32 Debug" - -!IF "$(CFG)" == "7433int - Win32 Release" - -!ELSEIF "$(CFG)" == "7433int - Win32 Debug" - -!ENDIF - -################################################################################ -# Begin Source File - -SOURCE=.\7433int.rc - -"$(INTDIR)\7433int.res" : $(SOURCE) "$(INTDIR)" - $(RSC) $(RSC_PROJ) $(SOURCE) - - -# End Source File -################################################################################ -# Begin Source File - -SOURCE=.\7433int.c -DEP_CPP_7433I=\ - ".\..\..\..\include\Dask.h"\ - - -"$(INTDIR)\7433int.obj" : $(SOURCE) $(DEP_CPP_7433I) "$(INTDIR)" - - -# End Source File -# End Target -# End Project -################################################################################ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7433/SDK7433DbEvt/7433INT.MDP b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7433/SDK7433DbEvt/7433INT.MDP deleted file mode 100644 index 829183a..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7433/SDK7433DbEvt/7433INT.MDP and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7433/SDK7433DbEvt/7433INT.RC b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7433/SDK7433DbEvt/7433INT.RC deleted file mode 100644 index 0ead5da..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7433/SDK7433DbEvt/7433INT.RC +++ /dev/null @@ -1,115 +0,0 @@ -//Microsoft Developer Studio generated resource script. -// -#include "resource.h" - -#define APSTUDIO_READONLY_SYMBOLS -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 2 resource. -// -#define APSTUDIO_HIDDEN_SYMBOLS -#include "windows.h" -#undef APSTUDIO_HIDDEN_SYMBOLS - -///////////////////////////////////////////////////////////////////////////// -#undef APSTUDIO_READONLY_SYMBOLS - -///////////////////////////////////////////////////////////////////////////// -// English (U.S.) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -#ifdef _WIN32 -LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US -#pragma code_page(1252) -#endif //_WIN32 - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog -// - -IDD_DIALOG2 DIALOG DISCARDABLE 110, 10, 106, 61 -STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "Card Number" -FONT 10, "System" -BEGIN - DEFPUSHBUTTON "OK",IDOK,10,40,37,14 - PUSHBUTTON "Cancel",IDCANCEL,61,40,38,14 - LTEXT "Card Number",IDC_STATIC,3,13,47,13 - COMBOBOX IDC_COMBO1,51,13,48,84,CBS_DROPDOWN | WS_VSCROLL | - WS_TABSTOP -END - - -///////////////////////////////////////////////////////////////////////////// -// -// DESIGNINFO -// - -#ifdef APSTUDIO_INVOKED -GUIDELINES DESIGNINFO DISCARDABLE -BEGIN - IDD_DIALOG2, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 99 - TOPMARGIN, 7 - BOTTOMMARGIN, 54 - END -END -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// Menu -// - -U7433MENU MENU DISCARDABLE -BEGIN - MENUITEM "E&xit!", IDM_EXIT -END - - -#ifdef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// TEXTINCLUDE -// - -1 TEXTINCLUDE DISCARDABLE -BEGIN - "resource.h\0" -END - -2 TEXTINCLUDE DISCARDABLE -BEGIN - "#define APSTUDIO_HIDDEN_SYMBOLS\r\n" - "#include ""windows.h""\r\n" - "#undef APSTUDIO_HIDDEN_SYMBOLS\r\n" - "\0" -END - -3 TEXTINCLUDE DISCARDABLE -BEGIN - "\r\n" - "\0" -END - -#endif // APSTUDIO_INVOKED - -#endif // English (U.S.) resources -///////////////////////////////////////////////////////////////////////////// - - - -#ifndef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 3 resource. -// - - -///////////////////////////////////////////////////////////////////////////// -#endif // not APSTUDIO_INVOKED - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7433/SDK7433DbEvt/Resource.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7433/SDK7433DbEvt/Resource.h deleted file mode 100644 index d7f4b51..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7433/SDK7433DbEvt/Resource.h +++ /dev/null @@ -1,30 +0,0 @@ -//{{NO_DEPENDENCIES}} -// Microsoft Developer Studio generated include file. -// Used by 7433int.rc -// -#define IDM_SETUP 101 -#define IDD_DIALOG1 101 -#define IDD_DIALOG2 102 -#define IDM_EXIT 110 -#define IDM_GO 300 -#define IDM_ABOUT 301 -#define DMA_DATA 302 -#define ID_STOP 304 -#define IDM_CLEAR 305 -#define DMA_SPACE 500 -#define IDC_COMBO1 1004 -#define IDC_COMBO2 1005 -#define IDC_EDIT1 1007 -#define IDC_EDIT2 1008 -#define IDC_STATIC -1 - -// Next default values for new objects -// -#ifdef APSTUDIO_INVOKED -#ifndef APSTUDIO_READONLY_SYMBOLS -#define _APS_NEXT_RESOURCE_VALUE 103 -#define _APS_NEXT_COMMAND_VALUE 102 -#define _APS_NEXT_CONTROL_VALUE 1008 -#define _APS_NEXT_SYMED_VALUE 101 -#endif -#endif diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7433/SDK7433DbEvtMsg/7433INT.C b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7433/SDK7433DbEvtMsg/7433INT.C deleted file mode 100644 index 763b9c8..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7433/SDK7433DbEvtMsg/7433INT.C +++ /dev/null @@ -1,229 +0,0 @@ -/*;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; -;; Copyright (c) 1995-1999, ADLink Technology Inc. All rights reserved. ;; -;; ;; -;; File Name : 7433INT.C ;; -;; Purpose : This sample program demonstrates how to handle interrupt ;; -;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;*/ - -#include -#include -#include -#include -#include -#include "Dask.h" -#include "Resource.h" - -#define WM_INT 2000 - -HANDLE hInst; /* current instance */ -I16 card=-1, card_number = 0; -int int_count[2]= {0, 0}; -HWND hStart, hMainWnd; - -int PASCAL WinMain(HANDLE, HANDLE, LPSTR, int); -BOOL InitApplication(HANDLE); -BOOL InitInstance(HANDLE, int); -long PASCAL MainWndProc(HWND, unsigned, WPARAM, LPARAM); -LRESULT CALLBACK cbfn(); -void mesgfn(); - - - /********************************************************************** - - FUNCTION: WinMain(HANDLE, HANDLE, LPSTR, int) - PURPOSE: calls initialization function, processes message loop - - ***********************************************************************/ - - int PASCAL WinMain(hInstance, hPrevInstance, lpCmdLine, nCmdShow) - HANDLE hInstance; - HANDLE hPrevInstance; - LPSTR lpCmdLine; - int nCmdShow; - { - MSG msg; - - if(!hPrevInstance) - if(!InitApplication(hInstance)) - return(FALSE); - - if(!InitInstance(hInstance, nCmdShow)) - return(FALSE); - - while ( GetMessage(&msg, NULL, NULL, NULL)) - { - TranslateMessage(&msg); - DispatchMessage(&msg); - } - return(msg.wParam); - } - -/**************************************************************************** - - FUNCTION: InitApplication(HANDLE) - - PURPOSE: Initializes window data and registers window class - -****************************************************************************/ - -BOOL InitApplication(hInstance) -HANDLE hInstance; -{ - WNDCLASS wc; - - wc.style = NULL; - wc.lpfnWndProc = MainWndProc; - wc.cbClsExtra = 0; - wc.cbWndExtra = 0; - wc.hInstance = hInstance; - wc.hIcon = LoadIcon(NULL, IDI_APPLICATION); - wc.hCursor = LoadCursor(hInstance, IDC_ARROW); - wc.hbrBackground = GetStockObject(WHITE_BRUSH); - wc.lpszMenuName = "U7433Menu"; - wc.lpszClassName = "IntClass"; - - return (RegisterClass(&wc)); -} - -/**************************************************************************** - - FUNCTION: InitInstance(HANDLE, int) - - PURPOSE: Saves instance handle and creates main window - -****************************************************************************/ - -BOOL InitInstance(hInstance, nCmdShow) -HANDLE hInstance; -int nCmdShow; -{ - HWND hWnd; - - hInst = hInstance; - hWnd = CreateWindow("IntClass", "PCI-7433 Dual Interrupt Sample", WS_OVERLAPPEDWINDOW, - 200, 100, 415, 270, NULL, NULL, hInstance, NULL); - if (!hWnd) return (FALSE); - ShowWindow(hWnd, nCmdShow); - UpdateWindow(hWnd); - return (TRUE); -} - -BOOL PASCAL setup(HWND hWnd, unsigned message, WPARAM wParam, LPARAM lParam) -{ - int i; - char n[16]; - char s[50]; - switch (message) { - case WM_INITDIALOG: - for (i=0;i<16;i++) { - wsprintf(n, "%d", i); - _strupr(n); - SendMessage(GetDlgItem(hWnd,IDC_COMBO1), CB_ADDSTRING, NULL, (LONG)(LPSTR) n); - } - SendMessage(GetDlgItem(hWnd,IDC_COMBO1) , CB_SETCURSEL, 0, 0L); - - break; - case WM_COMMAND: - switch(LOWORD(wParam)) { - - case IDC_COMBO1: - if (HIWORD(wParam) == CBN_CLOSEUP) { - i = (int)SendMessage(GetDlgItem(hWnd,IDC_COMBO1), CB_GETCURSEL, 0, 0L); - SendMessage(GetDlgItem(hWnd,IDC_COMBO1), CB_GETLBTEXT, i, (LPARAM)((LPCSTR)n)); - card_number = i; - } - return(TRUE); - case IDOK: - if ((card=Register_Card(PCI_7433, card_number)) < 0) { - wsprintf(s, "Register_Card Error = %d\n", card); - MessageBox(hWnd, s, "Error", MB_OK); - } - EndDialog(hWnd, TRUE); - InvalidateRect(hWnd, NULL, FALSE); - return (TRUE); - case IDCANCEL: - EndDialog(hWnd, TRUE); - return (TRUE); - } - break; - } - return (FALSE); -} - -/**************************************************************************** - - FUNCTION: MainWndProc(HWND, UINT, WPARAM, LPARAM) - - PURPOSE: Processes messages - - -****************************************************************************/ - -long PASCAL MainWndProc(hWnd, message, wParam, lParam) -HWND hWnd; -unsigned message; -WPARAM wParam; -LPARAM lParam; -{ - PAINTSTRUCT ps; - HDC hDC; - char buf[20]; - - switch(message) { - case WM_CREATE: - DialogBox(hInst,IDD_DIALOG2, hWnd, setup); - if(card<0) { - SendMessage(hWnd, WM_CLOSE, 0, 0L); - break; - } - int_count[0]=0; - int_count[1]=0; - DIO_INT1_EventMessage (card, INT1_EXT_SIGNAL, hWnd, WM_INT, NULL); - DIO_INT2_EventMessage (card, INT2_EXT_SIGNAL, hWnd, NULL, (void *) cbfn); - hMainWnd = hWnd; - break; - case WM_PAINT: - hDC = BeginPaint(hWnd, &ps); - TextOut(hDC, 20, 20, "This program shows the number of occurrence of interrupt",56); - TextOut(hDC, 20, 35, "for Dual interrupt lines.", 25); - TextOut(hDC, 20, 50, "INT1 interrupt is generated by external signal from DI bit-0.", 61); - TextOut(hDC, 20, 65, "INT2 interrupt is generated by external signal from DI bit-1.", 61); - wsprintf(buf,"INT1 count = %d", int_count[0]); - TextOut(hDC, 120, 110, buf, strlen(buf)); - wsprintf(buf,"INT2 count = %d", int_count[1]); - TextOut(hDC, 120, 130, buf, strlen(buf)); - EndPaint(hWnd, &ps); - break; - case WM_COMMAND: - switch(LOWORD(wParam)) { - case IDM_EXIT: - DIO_INT1_EventMessage (card, INT1_DISABLE, hMainWnd, NULL, NULL); - DIO_INT2_EventMessage (card, INT2_DISABLE, hMainWnd, NULL, NULL); - SendMessage(hWnd, WM_CLOSE, 0, 0L); - break; - } - break; - case WM_INT: - mesgfn(); - break; - case WM_DESTROY: - if (card >= 0) Release_Card(card); - PostQuitMessage(0); - break; - default: - return (DefWindowProc(hWnd, message, wParam, lParam)); - } - return(0L); -} - -void mesgfn() -{ - int_count[0]++; - InvalidateRect(hMainWnd, NULL, FALSE); -} - -LRESULT CALLBACK cbfn() -{ - int_count[1]++; - InvalidateRect(hMainWnd, NULL, FALSE); -} \ No newline at end of file diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7433/SDK7433DbEvtMsg/7433INT.MAK b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7433/SDK7433DbEvtMsg/7433INT.MAK deleted file mode 100644 index a481429..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7433/SDK7433DbEvtMsg/7433INT.MAK +++ /dev/null @@ -1,218 +0,0 @@ -# Microsoft Developer Studio Generated NMAKE File, Format Version 4.00 -# ** DO NOT EDIT ** - -# TARGTYPE "Win32 (x86) Application" 0x0101 - -!IF "$(CFG)" == "" -CFG=7433int - Win32 Debug -!MESSAGE No configuration specified. Defaulting to 7433int - Win32 Debug. -!ENDIF - -!IF "$(CFG)" != "7433int - Win32 Release" && "$(CFG)" !=\ - "7433int - Win32 Debug" -!MESSAGE Invalid configuration "$(CFG)" specified. -!MESSAGE You can specify a configuration when running NMAKE on this makefile -!MESSAGE by defining the macro CFG on the command line. For example: -!MESSAGE -!MESSAGE NMAKE /f "7433int.mak" CFG="7433int - Win32 Debug" -!MESSAGE -!MESSAGE Possible choices for configuration are: -!MESSAGE -!MESSAGE "7433int - Win32 Release" (based on "Win32 (x86) Application") -!MESSAGE "7433int - Win32 Debug" (based on "Win32 (x86) Application") -!MESSAGE -!ERROR An invalid configuration is specified. -!ENDIF - -!IF "$(OS)" == "Windows_NT" -NULL= -!ELSE -NULL=nul -!ENDIF -################################################################################ -# Begin Project -CPP=cl.exe -RSC=rc.exe -MTL=mktyplib.exe - -!IF "$(CFG)" == "7433int - Win32 Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "Release" -# PROP BASE Intermediate_Dir "Release" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "" -# PROP Intermediate_Dir "Release" -# PROP Target_Dir "" -OUTDIR=. -INTDIR=.\Release - -ALL : "$(OUTDIR)\7433int.exe" - -CLEAN : - -@erase ".\7433int.exe" - -@erase ".\Release\7433int.obj" - -@erase ".\Release\7433int.res" - -"$(INTDIR)" : - if not exist "$(INTDIR)/$(NULL)" mkdir "$(INTDIR)" - -# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /YX /c -# ADD CPP /nologo /MT /W3 /GX /Od /I "..\..\..\include" /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /c -# SUBTRACT CPP /YX -CPP_PROJ=/nologo /MT /W3 /GX /Od /I "..\..\..\include" /D "WIN32" /D "NDEBUG"\ - /D "_WINDOWS" /Fo"$(INTDIR)/" /c -CPP_OBJS=.\Release/ -CPP_SBRS= -# ADD BASE MTL /nologo /D "NDEBUG" /win32 -# ADD MTL /nologo /D "NDEBUG" /win32 -MTL_PROJ=/nologo /D "NDEBUG" /win32 -# ADD BASE RSC /l 0x409 /d "NDEBUG" -# ADD RSC /l 0x409 /d "NDEBUG" -RSC_PROJ=/l 0x409 /fo"$(INTDIR)/7433int.res" /d "NDEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -BSC32_FLAGS=/nologo /o"$(OUTDIR)/7433int.bsc" -BSC32_SBRS= -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:windows /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ..\..\..\lib\PCI-DASK.lib /nologo /subsystem:windows /machine:I386 -LINK32_FLAGS=kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib\ - advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib\ - odbccp32.lib ..\..\..\lib\PCI-DASK.lib /nologo /subsystem:windows\ - /incremental:no /pdb:"$(OUTDIR)/7433int.pdb" /machine:I386\ - /out:"$(OUTDIR)/7433int.exe" -LINK32_OBJS= \ - ".\Release\7433int.obj" \ - ".\Release\7433int.res" - -"$(OUTDIR)\7433int.exe" : "$(OUTDIR)" $(DEF_FILE) $(LINK32_OBJS) - $(LINK32) @<< - $(LINK32_FLAGS) $(LINK32_OBJS) -<< - -!ELSEIF "$(CFG)" == "7433int - Win32 Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "Debug" -# PROP BASE Intermediate_Dir "Debug" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "Debug" -# PROP Intermediate_Dir "Debug" -# PROP Target_Dir "" -OUTDIR=.\Debug -INTDIR=.\Debug - -ALL : "$(OUTDIR)\7433int.exe" - -CLEAN : - -@erase ".\Debug\7433int.exe" - -@erase ".\Debug\7433int.res" - -@erase ".\Debug\7433int.obj" - -@erase ".\Debug\7433int.ilk" - -@erase ".\Debug\7433int.pdb" - -@erase ".\Debug\vc40.pdb" - -@erase ".\Debug\vc40.idb" - -"$(OUTDIR)" : - if not exist "$(OUTDIR)/$(NULL)" mkdir "$(OUTDIR)" - -# ADD BASE CPP /nologo /W3 /Gm /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /YX /c -# ADD CPP /nologo /MTd /W3 /Gm /GX /Zi /Od /I "..\..\..\include" /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /c -# SUBTRACT CPP /YX -CPP_PROJ=/nologo /MTd /W3 /Gm /GX /Zi /Od /I "..\..\..\include" /D "WIN32" /D\ - "_DEBUG" /D "_WINDOWS" /Fo"$(INTDIR)/" /Fd"$(INTDIR)/" /c -CPP_OBJS=.\Debug/ -CPP_SBRS= -# ADD BASE MTL /nologo /D "_DEBUG" /win32 -# ADD MTL /nologo /D "_DEBUG" /win32 -MTL_PROJ=/nologo /D "_DEBUG" /win32 -# ADD BASE RSC /l 0x409 /d "_DEBUG" -# ADD RSC /l 0x409 /d "_DEBUG" -RSC_PROJ=/l 0x409 /fo"$(INTDIR)/7433int.res" /d "_DEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -BSC32_FLAGS=/nologo /o"$(OUTDIR)/7433int.bsc" -BSC32_SBRS= -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:windows /debug /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ..\..\..\lib\PCI-DASK.lib /nologo /subsystem:windows /debug /machine:I386 -LINK32_FLAGS=kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib\ - advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib\ - odbccp32.lib ..\..\..\lib\PCI-DASK.lib /nologo /subsystem:windows\ - /incremental:yes /pdb:"$(OUTDIR)/7433int.pdb" /debug /machine:I386\ - /out:"$(OUTDIR)/7433int.exe" -LINK32_OBJS= \ - ".\Debug\7433int.obj" \ - ".\Debug\7433int.res" - -"$(OUTDIR)\7433int.exe" : "$(OUTDIR)" $(DEF_FILE) $(LINK32_OBJS) - $(LINK32) @<< - $(LINK32_FLAGS) $(LINK32_OBJS) -<< - -!ENDIF - -.c{$(CPP_OBJS)}.obj: - $(CPP) $(CPP_PROJ) $< - -.cpp{$(CPP_OBJS)}.obj: - $(CPP) $(CPP_PROJ) $< - -.cxx{$(CPP_OBJS)}.obj: - $(CPP) $(CPP_PROJ) $< - -.c{$(CPP_SBRS)}.sbr: - $(CPP) $(CPP_PROJ) $< - -.cpp{$(CPP_SBRS)}.sbr: - $(CPP) $(CPP_PROJ) $< - -.cxx{$(CPP_SBRS)}.sbr: - $(CPP) $(CPP_PROJ) $< - -################################################################################ -# Begin Target - -# Name "7433int - Win32 Release" -# Name "7433int - Win32 Debug" - -!IF "$(CFG)" == "7433int - Win32 Release" - -!ELSEIF "$(CFG)" == "7433int - Win32 Debug" - -!ENDIF - -################################################################################ -# Begin Source File - -SOURCE=.\7433int.rc - -"$(INTDIR)\7433int.res" : $(SOURCE) "$(INTDIR)" - $(RSC) $(RSC_PROJ) $(SOURCE) - - -# End Source File -################################################################################ -# Begin Source File - -SOURCE=.\7433int.c -DEP_CPP_7433I=\ - ".\..\..\..\include\Dask.h"\ - - -"$(INTDIR)\7433int.obj" : $(SOURCE) $(DEP_CPP_7433I) "$(INTDIR)" - - -# End Source File -# End Target -# End Project -################################################################################ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7433/SDK7433DbEvtMsg/7433INT.MDP b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7433/SDK7433DbEvtMsg/7433INT.MDP deleted file mode 100644 index 909711a..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7433/SDK7433DbEvtMsg/7433INT.MDP and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7433/SDK7433DbEvtMsg/7433INT.RC b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7433/SDK7433DbEvtMsg/7433INT.RC deleted file mode 100644 index 0ead5da..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7433/SDK7433DbEvtMsg/7433INT.RC +++ /dev/null @@ -1,115 +0,0 @@ -//Microsoft Developer Studio generated resource script. -// -#include "resource.h" - -#define APSTUDIO_READONLY_SYMBOLS -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 2 resource. -// -#define APSTUDIO_HIDDEN_SYMBOLS -#include "windows.h" -#undef APSTUDIO_HIDDEN_SYMBOLS - -///////////////////////////////////////////////////////////////////////////// -#undef APSTUDIO_READONLY_SYMBOLS - -///////////////////////////////////////////////////////////////////////////// -// English (U.S.) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -#ifdef _WIN32 -LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US -#pragma code_page(1252) -#endif //_WIN32 - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog -// - -IDD_DIALOG2 DIALOG DISCARDABLE 110, 10, 106, 61 -STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "Card Number" -FONT 10, "System" -BEGIN - DEFPUSHBUTTON "OK",IDOK,10,40,37,14 - PUSHBUTTON "Cancel",IDCANCEL,61,40,38,14 - LTEXT "Card Number",IDC_STATIC,3,13,47,13 - COMBOBOX IDC_COMBO1,51,13,48,84,CBS_DROPDOWN | WS_VSCROLL | - WS_TABSTOP -END - - -///////////////////////////////////////////////////////////////////////////// -// -// DESIGNINFO -// - -#ifdef APSTUDIO_INVOKED -GUIDELINES DESIGNINFO DISCARDABLE -BEGIN - IDD_DIALOG2, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 99 - TOPMARGIN, 7 - BOTTOMMARGIN, 54 - END -END -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// Menu -// - -U7433MENU MENU DISCARDABLE -BEGIN - MENUITEM "E&xit!", IDM_EXIT -END - - -#ifdef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// TEXTINCLUDE -// - -1 TEXTINCLUDE DISCARDABLE -BEGIN - "resource.h\0" -END - -2 TEXTINCLUDE DISCARDABLE -BEGIN - "#define APSTUDIO_HIDDEN_SYMBOLS\r\n" - "#include ""windows.h""\r\n" - "#undef APSTUDIO_HIDDEN_SYMBOLS\r\n" - "\0" -END - -3 TEXTINCLUDE DISCARDABLE -BEGIN - "\r\n" - "\0" -END - -#endif // APSTUDIO_INVOKED - -#endif // English (U.S.) resources -///////////////////////////////////////////////////////////////////////////// - - - -#ifndef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 3 resource. -// - - -///////////////////////////////////////////////////////////////////////////// -#endif // not APSTUDIO_INVOKED - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7433/SDK7433DbEvtMsg/7433int.exe b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7433/SDK7433DbEvtMsg/7433int.exe deleted file mode 100644 index d3bf639..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7433/SDK7433DbEvtMsg/7433int.exe and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7433/SDK7433DbEvtMsg/Resource.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7433/SDK7433DbEvtMsg/Resource.h deleted file mode 100644 index d7f4b51..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7433/SDK7433DbEvtMsg/Resource.h +++ /dev/null @@ -1,30 +0,0 @@ -//{{NO_DEPENDENCIES}} -// Microsoft Developer Studio generated include file. -// Used by 7433int.rc -// -#define IDM_SETUP 101 -#define IDD_DIALOG1 101 -#define IDD_DIALOG2 102 -#define IDM_EXIT 110 -#define IDM_GO 300 -#define IDM_ABOUT 301 -#define DMA_DATA 302 -#define ID_STOP 304 -#define IDM_CLEAR 305 -#define DMA_SPACE 500 -#define IDC_COMBO1 1004 -#define IDC_COMBO2 1005 -#define IDC_EDIT1 1007 -#define IDC_EDIT2 1008 -#define IDC_STATIC -1 - -// Next default values for new objects -// -#ifdef APSTUDIO_INVOKED -#ifndef APSTUDIO_READONLY_SYMBOLS -#define _APS_NEXT_RESOURCE_VALUE 103 -#define _APS_NEXT_COMMAND_VALUE 102 -#define _APS_NEXT_CONTROL_VALUE 1008 -#define _APS_NEXT_SYMED_VALUE 101 -#endif -#endif diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7433/SDK7433int/7433INT.C b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7433/SDK7433int/7433INT.C deleted file mode 100644 index df5bf56..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7433/SDK7433int/7433INT.C +++ /dev/null @@ -1,219 +0,0 @@ -/*;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; -;; Copyright (c) 1995-1999, ADLink Technology Inc. All rights reserved. ;; -;; ;; -;; File Name : 7433INT.C ;; -;; Purpose : This sample program demonstrates how to handle interrupt ;; -;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;*/ - -#include -#include -#include -#include -#include -#include "Dask.h" -#include "Resource.h" - -HANDLE hInst; /* current instance */ -U16 wBus, wSlot; -I16 card=-1, card_number = 0; -int int_count=0; -HWND hStart, hMainWnd; -HANDLE hEvent[2]; - -int PASCAL WinMain(HANDLE, HANDLE, LPSTR, int); -BOOL InitApplication(HANDLE); -BOOL InitInstance(HANDLE, int); -long PASCAL MainWndProc(HWND, unsigned, WPARAM, LPARAM); - -void -IntThread(void* pArg) -{ - while (1) { - if (WaitForSingleObject(hEvent[0], INFINITE) == WAIT_OBJECT_0) { - int_count++; - ResetEvent(hEvent[0]); - InvalidateRect(hMainWnd, NULL, FALSE); - } - } - _endthread(); -} - - /********************************************************************** - - FUNCTION: WinMain(HANDLE, HANDLE, LPSTR, int) - PURPOSE: calls initialization function, processes message loop - - ***********************************************************************/ - - int PASCAL WinMain(hInstance, hPrevInstance, lpCmdLine, nCmdShow) - HANDLE hInstance; - HANDLE hPrevInstance; - LPSTR lpCmdLine; - int nCmdShow; - { - MSG msg; - - if(!hPrevInstance) - if(!InitApplication(hInstance)) - return(FALSE); - - if(!InitInstance(hInstance, nCmdShow)) - return(FALSE); - - while ( GetMessage(&msg, NULL, NULL, NULL)) - { - TranslateMessage(&msg); - DispatchMessage(&msg); - } - return(msg.wParam); - } - -/**************************************************************************** - - FUNCTION: InitApplication(HANDLE) - - PURPOSE: Initializes window data and registers window class - -****************************************************************************/ - -BOOL InitApplication(hInstance) -HANDLE hInstance; -{ - WNDCLASS wc; - - wc.style = NULL; - wc.lpfnWndProc = MainWndProc; - wc.cbClsExtra = 0; - wc.cbWndExtra = 0; - wc.hInstance = hInstance; - wc.hIcon = LoadIcon(NULL, IDI_APPLICATION); - wc.hCursor = LoadCursor(hInstance, IDC_ARROW); - wc.hbrBackground = GetStockObject(WHITE_BRUSH); - wc.lpszMenuName = "U7433Menu"; - wc.lpszClassName = "IntClass"; - - return (RegisterClass(&wc)); -} - -/**************************************************************************** - - FUNCTION: InitInstance(HANDLE, int) - - PURPOSE: Saves instance handle and creates main window - -****************************************************************************/ - -BOOL InitInstance(hInstance, nCmdShow) -HANDLE hInstance; -int nCmdShow; -{ - HWND hWnd; - - hInst = hInstance; - hWnd = CreateWindow("IntClass", "PCI-7433 Interrupt Sample (INT1)", WS_OVERLAPPEDWINDOW, - 200, 100, 360, 270, NULL, NULL, hInstance, NULL); - if (!hWnd) return (FALSE); - ShowWindow(hWnd, nCmdShow); - UpdateWindow(hWnd); - return (TRUE); -} - -BOOL PASCAL setup(HWND hWnd, unsigned message, WPARAM wParam, LPARAM lParam) -{ - int i; - char n[16]; - char s[50]; - switch (message) { - case WM_INITDIALOG: - for (i=0;i<16;i++) { - wsprintf(n, "%d", i); - _strupr(n); - SendMessage(GetDlgItem(hWnd,IDC_COMBO1), CB_ADDSTRING, NULL, (LONG)(LPSTR) n); - } - SendMessage(GetDlgItem(hWnd,IDC_COMBO1) , CB_SETCURSEL, 0, 0L); - - break; - case WM_COMMAND: - switch(LOWORD(wParam)) { - - case IDC_COMBO1: - if (HIWORD(wParam) == CBN_CLOSEUP) { - i = (int)SendMessage(GetDlgItem(hWnd,IDC_COMBO1), CB_GETCURSEL, 0, 0L); - SendMessage(GetDlgItem(hWnd,IDC_COMBO1), CB_GETLBTEXT, i, (LPARAM)((LPCSTR)n)); - card_number = i; - } - return(TRUE); - case IDOK: - if ((card=Register_Card(PCI_7433, card_number)) < 0) { - wsprintf(s, "Register_Card Error = %d\n", card); - MessageBox(hWnd, s, "Error", MB_OK); - } - EndDialog(hWnd, TRUE); - InvalidateRect(hWnd, NULL, FALSE); - return (TRUE); - case IDCANCEL: - EndDialog(hWnd, TRUE); - return (TRUE); - } - break; - } - return (FALSE); -} -/**************************************************************************** - - FUNCTION: MainWndProc(HWND, UINT, WPARAM, LPARAM) - - PURPOSE: Processes messages - - -****************************************************************************/ - -long PASCAL MainWndProc(hWnd, message, wParam, lParam) -HWND hWnd; -unsigned message; -WPARAM wParam; -LPARAM lParam; -{ - PAINTSTRUCT ps; - HDC hDC; - char buf[20]; - - switch(message) { - case WM_CREATE: - DialogBox(hInst,IDD_DIALOG2, hWnd, setup); - if(card<0) { - SendMessage(hWnd, WM_CLOSE, 0, 0L); - break; - } - DIO_SetDualInterrupt(card, INT1_EXT_SIGNAL, INT2_DISABLE, hEvent); - - hMainWnd = hWnd; - _beginthread(IntThread, 0, 0); - break; - case WM_PAINT: - hDC = BeginPaint(hWnd, &ps); - TextOut(hDC, 20, 30, "This program shows the number of occurrence", 43); - TextOut(hDC, 20, 45, "of INT1 interupt. INT1 interrupt is generated", 45); - TextOut(hDC, 20, 60, "by external signal from DI bit-0.", 33); - wsprintf(buf,"INT count = %d", int_count); - TextOut(hDC, 120, 110, buf, strlen(buf)); - EndPaint(hWnd, &ps); - break; - case WM_COMMAND: - switch(LOWORD(wParam)) { - case IDM_EXIT: - DIO_SetDualInterrupt(card, INT1_DISABLE, INT2_DISABLE, hEvent); - SendMessage(hWnd, WM_CLOSE, 0, 0L); - break; - } - break; - case WM_DESTROY: - if (card >= 0) Release_Card(card); - PostQuitMessage(0); - break; - default: - return (DefWindowProc(hWnd, message, wParam, lParam)); - } - return(0L); -} - \ No newline at end of file diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7433/SDK7433int/7433INT.EXE b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7433/SDK7433int/7433INT.EXE deleted file mode 100644 index 9e6127f..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7433/SDK7433int/7433INT.EXE and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7433/SDK7433int/7433INT.MAK b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7433/SDK7433int/7433INT.MAK deleted file mode 100644 index a481429..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7433/SDK7433int/7433INT.MAK +++ /dev/null @@ -1,218 +0,0 @@ -# Microsoft Developer Studio Generated NMAKE File, Format Version 4.00 -# ** DO NOT EDIT ** - -# TARGTYPE "Win32 (x86) Application" 0x0101 - -!IF "$(CFG)" == "" -CFG=7433int - Win32 Debug -!MESSAGE No configuration specified. Defaulting to 7433int - Win32 Debug. -!ENDIF - -!IF "$(CFG)" != "7433int - Win32 Release" && "$(CFG)" !=\ - "7433int - Win32 Debug" -!MESSAGE Invalid configuration "$(CFG)" specified. -!MESSAGE You can specify a configuration when running NMAKE on this makefile -!MESSAGE by defining the macro CFG on the command line. For example: -!MESSAGE -!MESSAGE NMAKE /f "7433int.mak" CFG="7433int - Win32 Debug" -!MESSAGE -!MESSAGE Possible choices for configuration are: -!MESSAGE -!MESSAGE "7433int - Win32 Release" (based on "Win32 (x86) Application") -!MESSAGE "7433int - Win32 Debug" (based on "Win32 (x86) Application") -!MESSAGE -!ERROR An invalid configuration is specified. -!ENDIF - -!IF "$(OS)" == "Windows_NT" -NULL= -!ELSE -NULL=nul -!ENDIF -################################################################################ -# Begin Project -CPP=cl.exe -RSC=rc.exe -MTL=mktyplib.exe - -!IF "$(CFG)" == "7433int - Win32 Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "Release" -# PROP BASE Intermediate_Dir "Release" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "" -# PROP Intermediate_Dir "Release" -# PROP Target_Dir "" -OUTDIR=. -INTDIR=.\Release - -ALL : "$(OUTDIR)\7433int.exe" - -CLEAN : - -@erase ".\7433int.exe" - -@erase ".\Release\7433int.obj" - -@erase ".\Release\7433int.res" - -"$(INTDIR)" : - if not exist "$(INTDIR)/$(NULL)" mkdir "$(INTDIR)" - -# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /YX /c -# ADD CPP /nologo /MT /W3 /GX /Od /I "..\..\..\include" /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /c -# SUBTRACT CPP /YX -CPP_PROJ=/nologo /MT /W3 /GX /Od /I "..\..\..\include" /D "WIN32" /D "NDEBUG"\ - /D "_WINDOWS" /Fo"$(INTDIR)/" /c -CPP_OBJS=.\Release/ -CPP_SBRS= -# ADD BASE MTL /nologo /D "NDEBUG" /win32 -# ADD MTL /nologo /D "NDEBUG" /win32 -MTL_PROJ=/nologo /D "NDEBUG" /win32 -# ADD BASE RSC /l 0x409 /d "NDEBUG" -# ADD RSC /l 0x409 /d "NDEBUG" -RSC_PROJ=/l 0x409 /fo"$(INTDIR)/7433int.res" /d "NDEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -BSC32_FLAGS=/nologo /o"$(OUTDIR)/7433int.bsc" -BSC32_SBRS= -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:windows /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ..\..\..\lib\PCI-DASK.lib /nologo /subsystem:windows /machine:I386 -LINK32_FLAGS=kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib\ - advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib\ - odbccp32.lib ..\..\..\lib\PCI-DASK.lib /nologo /subsystem:windows\ - /incremental:no /pdb:"$(OUTDIR)/7433int.pdb" /machine:I386\ - /out:"$(OUTDIR)/7433int.exe" -LINK32_OBJS= \ - ".\Release\7433int.obj" \ - ".\Release\7433int.res" - -"$(OUTDIR)\7433int.exe" : "$(OUTDIR)" $(DEF_FILE) $(LINK32_OBJS) - $(LINK32) @<< - $(LINK32_FLAGS) $(LINK32_OBJS) -<< - -!ELSEIF "$(CFG)" == "7433int - Win32 Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "Debug" -# PROP BASE Intermediate_Dir "Debug" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "Debug" -# PROP Intermediate_Dir "Debug" -# PROP Target_Dir "" -OUTDIR=.\Debug -INTDIR=.\Debug - -ALL : "$(OUTDIR)\7433int.exe" - -CLEAN : - -@erase ".\Debug\7433int.exe" - -@erase ".\Debug\7433int.res" - -@erase ".\Debug\7433int.obj" - -@erase ".\Debug\7433int.ilk" - -@erase ".\Debug\7433int.pdb" - -@erase ".\Debug\vc40.pdb" - -@erase ".\Debug\vc40.idb" - -"$(OUTDIR)" : - if not exist "$(OUTDIR)/$(NULL)" mkdir "$(OUTDIR)" - -# ADD BASE CPP /nologo /W3 /Gm /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /YX /c -# ADD CPP /nologo /MTd /W3 /Gm /GX /Zi /Od /I "..\..\..\include" /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /c -# SUBTRACT CPP /YX -CPP_PROJ=/nologo /MTd /W3 /Gm /GX /Zi /Od /I "..\..\..\include" /D "WIN32" /D\ - "_DEBUG" /D "_WINDOWS" /Fo"$(INTDIR)/" /Fd"$(INTDIR)/" /c -CPP_OBJS=.\Debug/ -CPP_SBRS= -# ADD BASE MTL /nologo /D "_DEBUG" /win32 -# ADD MTL /nologo /D "_DEBUG" /win32 -MTL_PROJ=/nologo /D "_DEBUG" /win32 -# ADD BASE RSC /l 0x409 /d "_DEBUG" -# ADD RSC /l 0x409 /d "_DEBUG" -RSC_PROJ=/l 0x409 /fo"$(INTDIR)/7433int.res" /d "_DEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -BSC32_FLAGS=/nologo /o"$(OUTDIR)/7433int.bsc" -BSC32_SBRS= -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:windows /debug /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ..\..\..\lib\PCI-DASK.lib /nologo /subsystem:windows /debug /machine:I386 -LINK32_FLAGS=kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib\ - advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib\ - odbccp32.lib ..\..\..\lib\PCI-DASK.lib /nologo /subsystem:windows\ - /incremental:yes /pdb:"$(OUTDIR)/7433int.pdb" /debug /machine:I386\ - /out:"$(OUTDIR)/7433int.exe" -LINK32_OBJS= \ - ".\Debug\7433int.obj" \ - ".\Debug\7433int.res" - -"$(OUTDIR)\7433int.exe" : "$(OUTDIR)" $(DEF_FILE) $(LINK32_OBJS) - $(LINK32) @<< - $(LINK32_FLAGS) $(LINK32_OBJS) -<< - -!ENDIF - -.c{$(CPP_OBJS)}.obj: - $(CPP) $(CPP_PROJ) $< - -.cpp{$(CPP_OBJS)}.obj: - $(CPP) $(CPP_PROJ) $< - -.cxx{$(CPP_OBJS)}.obj: - $(CPP) $(CPP_PROJ) $< - -.c{$(CPP_SBRS)}.sbr: - $(CPP) $(CPP_PROJ) $< - -.cpp{$(CPP_SBRS)}.sbr: - $(CPP) $(CPP_PROJ) $< - -.cxx{$(CPP_SBRS)}.sbr: - $(CPP) $(CPP_PROJ) $< - -################################################################################ -# Begin Target - -# Name "7433int - Win32 Release" -# Name "7433int - Win32 Debug" - -!IF "$(CFG)" == "7433int - Win32 Release" - -!ELSEIF "$(CFG)" == "7433int - Win32 Debug" - -!ENDIF - -################################################################################ -# Begin Source File - -SOURCE=.\7433int.rc - -"$(INTDIR)\7433int.res" : $(SOURCE) "$(INTDIR)" - $(RSC) $(RSC_PROJ) $(SOURCE) - - -# End Source File -################################################################################ -# Begin Source File - -SOURCE=.\7433int.c -DEP_CPP_7433I=\ - ".\..\..\..\include\Dask.h"\ - - -"$(INTDIR)\7433int.obj" : $(SOURCE) $(DEP_CPP_7433I) "$(INTDIR)" - - -# End Source File -# End Target -# End Project -################################################################################ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7433/SDK7433int/7433INT.MDP b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7433/SDK7433int/7433INT.MDP deleted file mode 100644 index f4f61d9..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7433/SDK7433int/7433INT.MDP and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7433/SDK7433int/7433INT.RC b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7433/SDK7433int/7433INT.RC deleted file mode 100644 index 79a705f..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7433/SDK7433int/7433INT.RC +++ /dev/null @@ -1,115 +0,0 @@ -//Microsoft Developer Studio generated resource script. -// -#include "resource.h" - -#define APSTUDIO_READONLY_SYMBOLS -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 2 resource. -// -#define APSTUDIO_HIDDEN_SYMBOLS -#include "windows.h" -#undef APSTUDIO_HIDDEN_SYMBOLS - -///////////////////////////////////////////////////////////////////////////// -#undef APSTUDIO_READONLY_SYMBOLS - -///////////////////////////////////////////////////////////////////////////// -// English (U.S.) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -#ifdef _WIN32 -LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US -#pragma code_page(1252) -#endif //_WIN32 - -#ifdef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// TEXTINCLUDE -// - -1 TEXTINCLUDE DISCARDABLE -BEGIN - "resource.h\0" -END - -2 TEXTINCLUDE DISCARDABLE -BEGIN - "#define APSTUDIO_HIDDEN_SYMBOLS\r\n" - "#include ""windows.h""\r\n" - "#undef APSTUDIO_HIDDEN_SYMBOLS\r\n" - "\0" -END - -3 TEXTINCLUDE DISCARDABLE -BEGIN - "\r\n" - "\0" -END - -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// Menu -// - -U7433MENU MENU DISCARDABLE -BEGIN - MENUITEM "E&xit!", IDM_EXIT -END - - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog -// - -IDD_DIALOG2 DIALOG DISCARDABLE 110, 10, 106, 61 -STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "Card Number" -FONT 10, "System" -BEGIN - DEFPUSHBUTTON "OK",IDOK,10,40,37,14 - PUSHBUTTON "Cancel",IDCANCEL,61,40,38,14 - LTEXT "Card Number",IDC_STATIC,3,13,47,13 - COMBOBOX IDC_COMBO1,51,13,48,84,CBS_DROPDOWN | WS_VSCROLL | - WS_TABSTOP -END - - -///////////////////////////////////////////////////////////////////////////// -// -// DESIGNINFO -// - -#ifdef APSTUDIO_INVOKED -GUIDELINES DESIGNINFO DISCARDABLE -BEGIN - IDD_DIALOG2, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 99 - TOPMARGIN, 7 - BOTTOMMARGIN, 54 - END -END -#endif // APSTUDIO_INVOKED - -#endif // English (U.S.) resources -///////////////////////////////////////////////////////////////////////////// - - - -#ifndef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 3 resource. -// - - -///////////////////////////////////////////////////////////////////////////// -#endif // not APSTUDIO_INVOKED - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7433/SDK7433int/Resource.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7433/SDK7433int/Resource.h deleted file mode 100644 index d7f4b51..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7433/SDK7433int/Resource.h +++ /dev/null @@ -1,30 +0,0 @@ -//{{NO_DEPENDENCIES}} -// Microsoft Developer Studio generated include file. -// Used by 7433int.rc -// -#define IDM_SETUP 101 -#define IDD_DIALOG1 101 -#define IDD_DIALOG2 102 -#define IDM_EXIT 110 -#define IDM_GO 300 -#define IDM_ABOUT 301 -#define DMA_DATA 302 -#define ID_STOP 304 -#define IDM_CLEAR 305 -#define DMA_SPACE 500 -#define IDC_COMBO1 1004 -#define IDC_COMBO2 1005 -#define IDC_EDIT1 1007 -#define IDC_EDIT2 1008 -#define IDC_STATIC -1 - -// Next default values for new objects -// -#ifdef APSTUDIO_INVOKED -#ifndef APSTUDIO_READONLY_SYMBOLS -#define _APS_NEXT_RESOURCE_VALUE 103 -#define _APS_NEXT_COMMAND_VALUE 102 -#define _APS_NEXT_CONTROL_VALUE 1008 -#define _APS_NEXT_SYMED_VALUE 101 -#endif -#endif diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7433/SDK7433intMsg/7433INT.C b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7433/SDK7433intMsg/7433INT.C deleted file mode 100644 index 8c379ec..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7433/SDK7433intMsg/7433INT.C +++ /dev/null @@ -1,222 +0,0 @@ -/*;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; -;; Copyright (c) 1995-1999, ADLink Technology Inc. All rights reserved. ;; -;; ;; -;; File Name : 7433INT.C ;; -;; Purpose : This sample program demonstrates how to handle interrupt ;; -;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;*/ - -#include -#include -#include -#include -#include -#include "Dask.h" -#include "Resource.h" - -#define WM_INT 2000 //interrupt comming message - -HANDLE hInst; /* current instance */ -I16 card=-1, card_number = 0; -int int_count=0; -HWND hStart, hMainWnd; - -int PASCAL WinMain(HANDLE, HANDLE, LPSTR, int); -BOOL InitApplication(HANDLE); -BOOL InitInstance(HANDLE, int); -long PASCAL MainWndProc(HWND, unsigned, WPARAM, LPARAM); -void mesgfn(); - - /********************************************************************** - - FUNCTION: WinMain(HANDLE, HANDLE, LPSTR, int) - PURPOSE: calls initialization function, processes message loop - - ***********************************************************************/ - - int PASCAL WinMain(hInstance, hPrevInstance, lpCmdLine, nCmdShow) - HANDLE hInstance; - HANDLE hPrevInstance; - LPSTR lpCmdLine; - int nCmdShow; - { - MSG msg; - - if(!hPrevInstance) - if(!InitApplication(hInstance)) - return(FALSE); - - if(!InitInstance(hInstance, nCmdShow)) - return(FALSE); - - while ( GetMessage(&msg, NULL, NULL, NULL)) - { - TranslateMessage(&msg); - DispatchMessage(&msg); - } - return(msg.wParam); - } - -/**************************************************************************** - - FUNCTION: InitApplication(HANDLE) - - PURPOSE: Initializes window data and registers window class - -****************************************************************************/ - -BOOL InitApplication(hInstance) -HANDLE hInstance; -{ - WNDCLASS wc; - - wc.style = NULL; - wc.lpfnWndProc = MainWndProc; - wc.cbClsExtra = 0; - wc.cbWndExtra = 0; - wc.hInstance = hInstance; - wc.hIcon = LoadIcon(NULL, IDI_APPLICATION); - wc.hCursor = LoadCursor(hInstance, IDC_ARROW); - wc.hbrBackground = GetStockObject(WHITE_BRUSH); - wc.lpszMenuName = "U7433Menu"; - wc.lpszClassName = "IntClass"; - - return (RegisterClass(&wc)); -} - -/**************************************************************************** - - FUNCTION: InitInstance(HANDLE, int) - - PURPOSE: Saves instance handle and creates main window - -****************************************************************************/ - -BOOL InitInstance(hInstance, nCmdShow) -HANDLE hInstance; -int nCmdShow; -{ - HWND hWnd; - - hInst = hInstance; - hWnd = CreateWindow("IntClass", "PCI-7433 Interrupt Sample (INT1)", WS_OVERLAPPEDWINDOW, - 200, 100, 360, 270, NULL, NULL, hInstance, NULL); - if (!hWnd) return (FALSE); - ShowWindow(hWnd, nCmdShow); - UpdateWindow(hWnd); - return (TRUE); -} - -BOOL PASCAL setup(HWND hWnd, unsigned message, WPARAM wParam, LPARAM lParam) -{ - int i; - char n[16]; - char s[50]; - switch (message) { - case WM_INITDIALOG: - for (i=0;i<16;i++) { - wsprintf(n, "%d", i); - _strupr(n); - SendMessage(GetDlgItem(hWnd,IDC_COMBO1), CB_ADDSTRING, NULL, (LONG)(LPSTR) n); - } - SendMessage(GetDlgItem(hWnd,IDC_COMBO1) , CB_SETCURSEL, 0, 0L); - - break; - case WM_COMMAND: - switch(LOWORD(wParam)) { - - case IDC_COMBO1: - if (HIWORD(wParam) == CBN_CLOSEUP) { - i = (int)SendMessage(GetDlgItem(hWnd,IDC_COMBO1), CB_GETCURSEL, 0, 0L); - SendMessage(GetDlgItem(hWnd,IDC_COMBO1), CB_GETLBTEXT, i, (LPARAM)((LPCSTR)n)); - card_number = i; - } - return(TRUE); - case IDOK: - if ((card=Register_Card(PCI_7433, card_number)) < 0) { - wsprintf(s, "Register_Card Error = %d\n", card); - MessageBox(hWnd, s, "Error", MB_OK); - } - EndDialog(hWnd, TRUE); - InvalidateRect(hWnd, NULL, FALSE); - return (TRUE); - case IDCANCEL: - EndDialog(hWnd, TRUE); - return (TRUE); - } - break; - } - return (FALSE); -} -/**************************************************************************** - - FUNCTION: MainWndProc(HWND, UINT, WPARAM, LPARAM) - - PURPOSE: Processes messages - - -****************************************************************************/ - -long PASCAL MainWndProc(hWnd, message, wParam, lParam) -HWND hWnd; -unsigned message; -WPARAM wParam; -LPARAM lParam; -{ - PAINTSTRUCT ps; - HDC hDC; - char s[50]; - - switch(message) { - case WM_CREATE: - DialogBox(hInst,IDD_DIALOG2, hWnd, setup); - if(card<0) { - SendMessage(hWnd, WM_CLOSE, 0, 0L); - break; - } - int_count = 0; - DIO_INT1_EventMessage (card, INT1_EXT_SIGNAL, hWnd, WM_INT, NULL); - hMainWnd = hWnd; - break; - case WM_PAINT: - hDC = BeginPaint(hWnd, &ps); - TextOut(hDC, 20, 30, "This program shows the number of occurrence", 43); - TextOut(hDC, 20, 45, "of INT1 interupt. INT1 interrupt is generated", 45); - TextOut(hDC, 20, 60, "by external signal from DI bit-0.", 33); - wsprintf(s,"INT1 Count = %d ", int_count); - TextOut(hDC,120,140,s,strlen(s)); - EndPaint(hWnd, &ps); - break; - case WM_COMMAND: - switch(LOWORD(wParam)) { - case IDM_EXIT: - DIO_INT1_EventMessage (card, INT1_DISABLE, hMainWnd, NULL, NULL); - SendMessage(hWnd, WM_CLOSE, 0, 0L); - break; - } - break; - case WM_INT: //interrupt comming message - mesgfn(); - break; - case WM_DESTROY: - if (card >= 0) Release_Card(card); - PostQuitMessage(0); - break; - default: - return (DefWindowProc(hWnd, message, wParam, lParam)); - } - return(0L); -} - -void mesgfn() -{ - HDC hDC; - char Buf[80]; - - hDC=GetDC(hMainWnd); - int_count++; - - wsprintf(Buf,"INT1 Count = %d ", int_count); - TextOut(hDC,120,140,Buf,strlen(Buf)); - - ReleaseDC(hMainWnd, hDC); -} diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7433/SDK7433intMsg/7433INT.MAK b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7433/SDK7433intMsg/7433INT.MAK deleted file mode 100644 index a481429..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7433/SDK7433intMsg/7433INT.MAK +++ /dev/null @@ -1,218 +0,0 @@ -# Microsoft Developer Studio Generated NMAKE File, Format Version 4.00 -# ** DO NOT EDIT ** - -# TARGTYPE "Win32 (x86) Application" 0x0101 - -!IF "$(CFG)" == "" -CFG=7433int - Win32 Debug -!MESSAGE No configuration specified. Defaulting to 7433int - Win32 Debug. -!ENDIF - -!IF "$(CFG)" != "7433int - Win32 Release" && "$(CFG)" !=\ - "7433int - Win32 Debug" -!MESSAGE Invalid configuration "$(CFG)" specified. -!MESSAGE You can specify a configuration when running NMAKE on this makefile -!MESSAGE by defining the macro CFG on the command line. For example: -!MESSAGE -!MESSAGE NMAKE /f "7433int.mak" CFG="7433int - Win32 Debug" -!MESSAGE -!MESSAGE Possible choices for configuration are: -!MESSAGE -!MESSAGE "7433int - Win32 Release" (based on "Win32 (x86) Application") -!MESSAGE "7433int - Win32 Debug" (based on "Win32 (x86) Application") -!MESSAGE -!ERROR An invalid configuration is specified. -!ENDIF - -!IF "$(OS)" == "Windows_NT" -NULL= -!ELSE -NULL=nul -!ENDIF -################################################################################ -# Begin Project -CPP=cl.exe -RSC=rc.exe -MTL=mktyplib.exe - -!IF "$(CFG)" == "7433int - Win32 Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "Release" -# PROP BASE Intermediate_Dir "Release" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "" -# PROP Intermediate_Dir "Release" -# PROP Target_Dir "" -OUTDIR=. -INTDIR=.\Release - -ALL : "$(OUTDIR)\7433int.exe" - -CLEAN : - -@erase ".\7433int.exe" - -@erase ".\Release\7433int.obj" - -@erase ".\Release\7433int.res" - -"$(INTDIR)" : - if not exist "$(INTDIR)/$(NULL)" mkdir "$(INTDIR)" - -# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /YX /c -# ADD CPP /nologo /MT /W3 /GX /Od /I "..\..\..\include" /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /c -# SUBTRACT CPP /YX -CPP_PROJ=/nologo /MT /W3 /GX /Od /I "..\..\..\include" /D "WIN32" /D "NDEBUG"\ - /D "_WINDOWS" /Fo"$(INTDIR)/" /c -CPP_OBJS=.\Release/ -CPP_SBRS= -# ADD BASE MTL /nologo /D "NDEBUG" /win32 -# ADD MTL /nologo /D "NDEBUG" /win32 -MTL_PROJ=/nologo /D "NDEBUG" /win32 -# ADD BASE RSC /l 0x409 /d "NDEBUG" -# ADD RSC /l 0x409 /d "NDEBUG" -RSC_PROJ=/l 0x409 /fo"$(INTDIR)/7433int.res" /d "NDEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -BSC32_FLAGS=/nologo /o"$(OUTDIR)/7433int.bsc" -BSC32_SBRS= -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:windows /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ..\..\..\lib\PCI-DASK.lib /nologo /subsystem:windows /machine:I386 -LINK32_FLAGS=kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib\ - advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib\ - odbccp32.lib ..\..\..\lib\PCI-DASK.lib /nologo /subsystem:windows\ - /incremental:no /pdb:"$(OUTDIR)/7433int.pdb" /machine:I386\ - /out:"$(OUTDIR)/7433int.exe" -LINK32_OBJS= \ - ".\Release\7433int.obj" \ - ".\Release\7433int.res" - -"$(OUTDIR)\7433int.exe" : "$(OUTDIR)" $(DEF_FILE) $(LINK32_OBJS) - $(LINK32) @<< - $(LINK32_FLAGS) $(LINK32_OBJS) -<< - -!ELSEIF "$(CFG)" == "7433int - Win32 Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "Debug" -# PROP BASE Intermediate_Dir "Debug" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "Debug" -# PROP Intermediate_Dir "Debug" -# PROP Target_Dir "" -OUTDIR=.\Debug -INTDIR=.\Debug - -ALL : "$(OUTDIR)\7433int.exe" - -CLEAN : - -@erase ".\Debug\7433int.exe" - -@erase ".\Debug\7433int.res" - -@erase ".\Debug\7433int.obj" - -@erase ".\Debug\7433int.ilk" - -@erase ".\Debug\7433int.pdb" - -@erase ".\Debug\vc40.pdb" - -@erase ".\Debug\vc40.idb" - -"$(OUTDIR)" : - if not exist "$(OUTDIR)/$(NULL)" mkdir "$(OUTDIR)" - -# ADD BASE CPP /nologo /W3 /Gm /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /YX /c -# ADD CPP /nologo /MTd /W3 /Gm /GX /Zi /Od /I "..\..\..\include" /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /c -# SUBTRACT CPP /YX -CPP_PROJ=/nologo /MTd /W3 /Gm /GX /Zi /Od /I "..\..\..\include" /D "WIN32" /D\ - "_DEBUG" /D "_WINDOWS" /Fo"$(INTDIR)/" /Fd"$(INTDIR)/" /c -CPP_OBJS=.\Debug/ -CPP_SBRS= -# ADD BASE MTL /nologo /D "_DEBUG" /win32 -# ADD MTL /nologo /D "_DEBUG" /win32 -MTL_PROJ=/nologo /D "_DEBUG" /win32 -# ADD BASE RSC /l 0x409 /d "_DEBUG" -# ADD RSC /l 0x409 /d "_DEBUG" -RSC_PROJ=/l 0x409 /fo"$(INTDIR)/7433int.res" /d "_DEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -BSC32_FLAGS=/nologo /o"$(OUTDIR)/7433int.bsc" -BSC32_SBRS= -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:windows /debug /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ..\..\..\lib\PCI-DASK.lib /nologo /subsystem:windows /debug /machine:I386 -LINK32_FLAGS=kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib\ - advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib\ - odbccp32.lib ..\..\..\lib\PCI-DASK.lib /nologo /subsystem:windows\ - /incremental:yes /pdb:"$(OUTDIR)/7433int.pdb" /debug /machine:I386\ - /out:"$(OUTDIR)/7433int.exe" -LINK32_OBJS= \ - ".\Debug\7433int.obj" \ - ".\Debug\7433int.res" - -"$(OUTDIR)\7433int.exe" : "$(OUTDIR)" $(DEF_FILE) $(LINK32_OBJS) - $(LINK32) @<< - $(LINK32_FLAGS) $(LINK32_OBJS) -<< - -!ENDIF - -.c{$(CPP_OBJS)}.obj: - $(CPP) $(CPP_PROJ) $< - -.cpp{$(CPP_OBJS)}.obj: - $(CPP) $(CPP_PROJ) $< - -.cxx{$(CPP_OBJS)}.obj: - $(CPP) $(CPP_PROJ) $< - -.c{$(CPP_SBRS)}.sbr: - $(CPP) $(CPP_PROJ) $< - -.cpp{$(CPP_SBRS)}.sbr: - $(CPP) $(CPP_PROJ) $< - -.cxx{$(CPP_SBRS)}.sbr: - $(CPP) $(CPP_PROJ) $< - -################################################################################ -# Begin Target - -# Name "7433int - Win32 Release" -# Name "7433int - Win32 Debug" - -!IF "$(CFG)" == "7433int - Win32 Release" - -!ELSEIF "$(CFG)" == "7433int - Win32 Debug" - -!ENDIF - -################################################################################ -# Begin Source File - -SOURCE=.\7433int.rc - -"$(INTDIR)\7433int.res" : $(SOURCE) "$(INTDIR)" - $(RSC) $(RSC_PROJ) $(SOURCE) - - -# End Source File -################################################################################ -# Begin Source File - -SOURCE=.\7433int.c -DEP_CPP_7433I=\ - ".\..\..\..\include\Dask.h"\ - - -"$(INTDIR)\7433int.obj" : $(SOURCE) $(DEP_CPP_7433I) "$(INTDIR)" - - -# End Source File -# End Target -# End Project -################################################################################ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7433/SDK7433intMsg/7433INT.MDP b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7433/SDK7433intMsg/7433INT.MDP deleted file mode 100644 index 2388533..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7433/SDK7433intMsg/7433INT.MDP and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7433/SDK7433intMsg/7433INT.RC b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7433/SDK7433intMsg/7433INT.RC deleted file mode 100644 index 66e0674..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7433/SDK7433intMsg/7433INT.RC +++ /dev/null @@ -1,115 +0,0 @@ -//Microsoft Developer Studio generated resource script. -// -#include "resource.h" - -#define APSTUDIO_READONLY_SYMBOLS -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 2 resource. -// -#define APSTUDIO_HIDDEN_SYMBOLS -#include "windows.h" -#undef APSTUDIO_HIDDEN_SYMBOLS - -///////////////////////////////////////////////////////////////////////////// -#undef APSTUDIO_READONLY_SYMBOLS - -///////////////////////////////////////////////////////////////////////////// -// English (U.S.) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -#ifdef _WIN32 -LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US -#pragma code_page(1252) -#endif //_WIN32 - -#ifdef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// TEXTINCLUDE -// - -1 TEXTINCLUDE DISCARDABLE -BEGIN - "resource.h\0" -END - -2 TEXTINCLUDE DISCARDABLE -BEGIN - "#define APSTUDIO_HIDDEN_SYMBOLS\r\n" - "#include ""windows.h""\r\n" - "#undef APSTUDIO_HIDDEN_SYMBOLS\r\n" - "\0" -END - -3 TEXTINCLUDE DISCARDABLE -BEGIN - "\r\n" - "\0" -END - -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog -// - -IDD_DIALOG2 DIALOG DISCARDABLE 110, 10, 106, 61 -STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "Card Number" -FONT 10, "System" -BEGIN - DEFPUSHBUTTON "OK",IDOK,10,40,37,14 - PUSHBUTTON "Cancel",IDCANCEL,61,40,38,14 - LTEXT "Card Number",IDC_STATIC,3,13,47,13 - COMBOBOX IDC_COMBO1,51,13,48,84,CBS_DROPDOWN | WS_VSCROLL | - WS_TABSTOP -END - - -///////////////////////////////////////////////////////////////////////////// -// -// DESIGNINFO -// - -#ifdef APSTUDIO_INVOKED -GUIDELINES DESIGNINFO DISCARDABLE -BEGIN - IDD_DIALOG2, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 99 - TOPMARGIN, 7 - BOTTOMMARGIN, 54 - END -END -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// Menu -// - -U7432MENU MENU DISCARDABLE -BEGIN - MENUITEM "E&xit!", IDM_EXIT -END - -#endif // English (U.S.) resources -///////////////////////////////////////////////////////////////////////////// - - - -#ifndef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 3 resource. -// - - -///////////////////////////////////////////////////////////////////////////// -#endif // not APSTUDIO_INVOKED - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7433/SDK7433intMsg/7433int.exe b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7433/SDK7433intMsg/7433int.exe deleted file mode 100644 index d156773..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7433/SDK7433intMsg/7433int.exe and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7433/SDK7433intMsg/Resource.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7433/SDK7433intMsg/Resource.h deleted file mode 100644 index d7f4b51..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7433/SDK7433intMsg/Resource.h +++ /dev/null @@ -1,30 +0,0 @@ -//{{NO_DEPENDENCIES}} -// Microsoft Developer Studio generated include file. -// Used by 7433int.rc -// -#define IDM_SETUP 101 -#define IDD_DIALOG1 101 -#define IDD_DIALOG2 102 -#define IDM_EXIT 110 -#define IDM_GO 300 -#define IDM_ABOUT 301 -#define DMA_DATA 302 -#define ID_STOP 304 -#define IDM_CLEAR 305 -#define DMA_SPACE 500 -#define IDC_COMBO1 1004 -#define IDC_COMBO2 1005 -#define IDC_EDIT1 1007 -#define IDC_EDIT2 1008 -#define IDC_STATIC -1 - -// Next default values for new objects -// -#ifdef APSTUDIO_INVOKED -#ifndef APSTUDIO_READONLY_SYMBOLS -#define _APS_NEXT_RESOURCE_VALUE 103 -#define _APS_NEXT_COMMAND_VALUE 102 -#define _APS_NEXT_CONTROL_VALUE 1008 -#define _APS_NEXT_SYMED_VALUE 101 -#endif -#endif diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7433/VB7433/0.BMP b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7433/VB7433/0.BMP deleted file mode 100644 index 407bba2..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7433/VB7433/0.BMP and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7433/VB7433/1.BMP b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7433/VB7433/1.BMP deleted file mode 100644 index 37d14f3..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7433/VB7433/1.BMP and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7433/VB7433/7433GLBL.BAS b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7433/VB7433/7433GLBL.BAS deleted file mode 100644 index 77a2e7f..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7433/VB7433/7433GLBL.BAS +++ /dev/null @@ -1,4 +0,0 @@ -Attribute VB_Name = "Module1" -Global card As Integer -Global card_number As Integer - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7433/VB7433/Base7433.frm b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7433/VB7433/Base7433.frm deleted file mode 100644 index 477dfff..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7433/VB7433/Base7433.frm +++ /dev/null @@ -1,99 +0,0 @@ -VERSION 4.00 -Begin VB.Form SettingForm - Appearance = 0 'Flat - BackColor = &H00C0C0C0& - Caption = "Card Number Setting" - ClientHeight = 1275 - ClientLeft = 4590 - ClientTop = 4545 - ClientWidth = 2820 - BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851} - Name = "MS Sans Serif" - Size = 8.25 - Charset = 0 - Weight = 700 - Underline = 0 'False - Italic = 0 'False - Strikethrough = 0 'False - EndProperty - ForeColor = &H80000008& - Height = 1680 - Left = 4530 - LinkTopic = "Form2" - ScaleHeight = 1275 - ScaleWidth = 2820 - Top = 4200 - Width = 2940 - Begin VB.CommandButton OKBtn - Appearance = 0 'Flat - BackColor = &H80000005& - Caption = "OK" - Default = -1 'True - Height = 315 - Left = 300 - TabIndex = 0 - Top = 720 - Width = 915 - End - Begin VB.CommandButton CancelBtn - Appearance = 0 'Flat - BackColor = &H80000005& - Cancel = -1 'True - Caption = "Cancel" - Height = 315 - Left = 1380 - TabIndex = 3 - Top = 720 - Width = 915 - End - Begin VB.ComboBox CardNum - Appearance = 0 'Flat - Height = 300 - Left = 1440 - Style = 2 'Dropdown List - TabIndex = 2 - Top = 120 - Width = 1035 - End - Begin VB.Label Label2 - Appearance = 0 'Flat - BackColor = &H00C0C0C0& - Caption = "Card Number:" - ForeColor = &H00000000& - Height = 195 - Index = 0 - Left = 180 - TabIndex = 1 - Top = 180 - Width = 1275 - End -End -Attribute VB_Name = "SettingForm" -Attribute VB_Creatable = False -Attribute VB_Exposed = False - - -Private Sub BaseAddr_Change() - -End Sub - - -Private Sub CancelBtn_Click() - Unload SettingForm -End Sub - -Private Sub Form_Load() - Dim i As Long - For i = 0 To 15 Step 1 - CardNum.AddItem i - Next - CardNum.ListIndex = 0 -End Sub - -Private Sub OKBtn_Click() - card = -1 - card_number = CardNum.ListIndex - card = Register_Card(PCI_7433, card_number) - Unload SettingForm -End Sub - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7433/VB7433/Util7433.Frm b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7433/VB7433/Util7433.Frm deleted file mode 100644 index 8cf3d55..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7433/VB7433/Util7433.Frm +++ /dev/null @@ -1,783 +0,0 @@ -VERSION 4.00 -Begin VB.Form util7433 - Appearance = 0 'Flat - BackColor = &H00C0C0C0& - Caption = "PCI-7433 Sample Program" - ClientHeight = 2865 - ClientLeft = 1215 - ClientTop = 1620 - ClientWidth = 6480 - BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851} - Name = "MS Sans Serif" - Size = 8.25 - Charset = 0 - Weight = 700 - Underline = 0 'False - Italic = 0 'False - Strikethrough = 0 'False - EndProperty - ForeColor = &H80000008& - Height = 3555 - Left = 1155 - LinkTopic = "Form1" - ScaleHeight = 2865 - ScaleWidth = 6480 - Top = 990 - Width = 6600 - Begin VB.Timer Timer1 - Interval = 100 - Left = 5280 - Top = 2640 - End - Begin VB.Frame Frame1 - Appearance = 0 'Flat - BackColor = &H00C0C0C0& - Caption = "Digital Input Hi" - ForeColor = &H00FF0000& - Height = 1275 - Index = 1 - Left = 240 - TabIndex = 1 - Top = 120 - Width = 6015 - Begin VB.Label Label1 - Caption = "0" - Height = 195 - Left = 5670 - TabIndex = 5 - Top = 1050 - Width = 195 - End - Begin VB.Label Label3 - Caption = "31" - Height = 195 - Left = 210 - TabIndex = 3 - Top = 540 - Width = 195 - End - Begin VB.Image DI1 - Appearance = 0 'Flat - Height = 300 - Index = 31 - Left = 180 - Picture = "Util7433.frx":0000 - Top = 240 - Width = 300 - End - Begin VB.Image DI1 - Appearance = 0 'Flat - Height = 300 - Index = 30 - Left = 540 - Picture = "Util7433.frx":0172 - Top = 240 - Width = 300 - End - Begin VB.Image DI1 - Appearance = 0 'Flat - Height = 300 - Index = 29 - Left = 900 - Picture = "Util7433.frx":02E4 - Top = 240 - Width = 300 - End - Begin VB.Image DI1 - Appearance = 0 'Flat - Height = 300 - Index = 28 - Left = 1260 - Picture = "Util7433.frx":0456 - Top = 240 - Width = 300 - End - Begin VB.Image DI1 - Appearance = 0 'Flat - Height = 300 - Index = 27 - Left = 1620 - Picture = "Util7433.frx":05C8 - Top = 240 - Width = 300 - End - Begin VB.Image DI1 - Appearance = 0 'Flat - Height = 300 - Index = 26 - Left = 1980 - Picture = "Util7433.frx":073A - Top = 240 - Width = 300 - End - Begin VB.Image DI1 - Appearance = 0 'Flat - Height = 300 - Index = 25 - Left = 2340 - Picture = "Util7433.frx":08AC - Top = 240 - Width = 300 - End - Begin VB.Image DI1 - Appearance = 0 'Flat - Height = 300 - Index = 24 - Left = 2700 - Picture = "Util7433.frx":0A1E - Top = 240 - Width = 300 - End - Begin VB.Image DI1 - Appearance = 0 'Flat - Height = 300 - Index = 23 - Left = 3060 - Picture = "Util7433.frx":0B90 - Top = 240 - Width = 300 - End - Begin VB.Image DI1 - Appearance = 0 'Flat - Height = 300 - Index = 22 - Left = 3420 - Picture = "Util7433.frx":0D02 - Top = 240 - Width = 300 - End - Begin VB.Image DI1 - Appearance = 0 'Flat - Height = 300 - Index = 21 - Left = 3780 - Picture = "Util7433.frx":0E74 - Top = 240 - Width = 300 - End - Begin VB.Image DI1 - Appearance = 0 'Flat - Height = 300 - Index = 20 - Left = 4140 - Picture = "Util7433.frx":0FE6 - Top = 240 - Width = 300 - End - Begin VB.Image DI1 - Appearance = 0 'Flat - Height = 300 - Index = 19 - Left = 4500 - Picture = "Util7433.frx":1158 - Top = 240 - Width = 300 - End - Begin VB.Image DI1 - Appearance = 0 'Flat - Height = 300 - Index = 18 - Left = 4860 - Picture = "Util7433.frx":12CA - Top = 240 - Width = 300 - End - Begin VB.Image DI1 - Appearance = 0 'Flat - Height = 300 - Index = 17 - Left = 5220 - Picture = "Util7433.frx":143C - Top = 240 - Width = 300 - End - Begin VB.Image DI1 - Appearance = 0 'Flat - Height = 300 - Index = 16 - Left = 5580 - Picture = "Util7433.frx":15AE - Top = 240 - Width = 300 - End - Begin VB.Image DI1 - Appearance = 0 'Flat - Height = 300 - Index = 8 - Left = 2700 - Picture = "Util7433.frx":1720 - Top = 750 - Width = 300 - End - Begin VB.Image DI1 - Appearance = 0 'Flat - Height = 300 - Index = 9 - Left = 2340 - Picture = "Util7433.frx":1892 - Top = 750 - Width = 300 - End - Begin VB.Image DI1 - Appearance = 0 'Flat - Height = 300 - Index = 10 - Left = 1980 - Picture = "Util7433.frx":1A04 - Top = 750 - Width = 300 - End - Begin VB.Image DI1 - Appearance = 0 'Flat - Height = 300 - Index = 11 - Left = 1620 - Picture = "Util7433.frx":1B76 - Top = 750 - Width = 300 - End - Begin VB.Image DI1 - Appearance = 0 'Flat - Height = 300 - Index = 12 - Left = 1260 - Picture = "Util7433.frx":1CE8 - Top = 750 - Width = 300 - End - Begin VB.Image DI1 - Appearance = 0 'Flat - Height = 300 - Index = 13 - Left = 900 - Picture = "Util7433.frx":1E5A - Top = 750 - Width = 300 - End - Begin VB.Image DI1 - Appearance = 0 'Flat - Height = 300 - Index = 14 - Left = 540 - Picture = "Util7433.frx":1FCC - Top = 750 - Width = 300 - End - Begin VB.Image DI1 - Appearance = 0 'Flat - Height = 300 - Index = 15 - Left = 180 - Picture = "Util7433.frx":213E - Top = 750 - Width = 300 - End - Begin VB.Image DI1 - Appearance = 0 'Flat - Height = 300 - Index = 7 - Left = 3060 - Picture = "Util7433.frx":22B0 - Top = 750 - Width = 300 - End - Begin VB.Image DI1 - Appearance = 0 'Flat - Height = 300 - Index = 6 - Left = 3420 - Picture = "Util7433.frx":2422 - Top = 750 - Width = 300 - End - Begin VB.Image DI1 - Appearance = 0 'Flat - Height = 300 - Index = 5 - Left = 3780 - Picture = "Util7433.frx":2594 - Top = 750 - Width = 300 - End - Begin VB.Image DI1 - Appearance = 0 'Flat - Height = 300 - Index = 4 - Left = 4140 - Picture = "Util7433.frx":2706 - Top = 750 - Width = 300 - End - Begin VB.Image DI1 - Appearance = 0 'Flat - Height = 300 - Index = 2 - Left = 4860 - Picture = "Util7433.frx":2878 - Top = 750 - Width = 300 - End - Begin VB.Image DI1 - Appearance = 0 'Flat - Height = 300 - Index = 3 - Left = 4500 - Picture = "Util7433.frx":29EA - Top = 750 - Width = 300 - End - Begin VB.Image DI1 - Appearance = 0 'Flat - Height = 300 - Index = 1 - Left = 5220 - Picture = "Util7433.frx":2B5C - Top = 750 - Width = 300 - End - Begin VB.Image DI1 - Appearance = 0 'Flat - Height = 300 - Index = 0 - Left = 5580 - Picture = "Util7433.frx":2CCE - Top = 750 - Width = 300 - End - End - Begin VB.Frame Frame1 - Appearance = 0 'Flat - BackColor = &H00C0C0C0& - Caption = "Digital Input Lo" - ForeColor = &H00FF0000& - Height = 1275 - Index = 0 - Left = 240 - TabIndex = 0 - Top = 1440 - Width = 6015 - Begin VB.Label Label4 - Caption = "0" - Height = 195 - Left = 5670 - TabIndex = 4 - Top = 1050 - Width = 195 - End - Begin VB.Label Label2 - Caption = "31" - Height = 195 - Left = 210 - TabIndex = 2 - Top = 540 - Width = 195 - End - Begin VB.Image DI0 - Appearance = 0 'Flat - Height = 300 - Index = 31 - Left = 180 - Picture = "Util7433.frx":2E40 - Top = 240 - Width = 300 - End - Begin VB.Image DI0 - Appearance = 0 'Flat - Height = 300 - Index = 30 - Left = 540 - Picture = "Util7433.frx":2FB2 - Top = 240 - Width = 300 - End - Begin VB.Image DI0 - Appearance = 0 'Flat - Height = 300 - Index = 29 - Left = 900 - Picture = "Util7433.frx":3124 - Top = 240 - Width = 300 - End - Begin VB.Image DI0 - Appearance = 0 'Flat - Height = 300 - Index = 28 - Left = 1260 - Picture = "Util7433.frx":3296 - Top = 240 - Width = 300 - End - Begin VB.Image DI0 - Appearance = 0 'Flat - Height = 300 - Index = 27 - Left = 1620 - Picture = "Util7433.frx":3408 - Top = 240 - Width = 300 - End - Begin VB.Image DI0 - Appearance = 0 'Flat - Height = 300 - Index = 26 - Left = 1980 - Picture = "Util7433.frx":357A - Top = 240 - Width = 300 - End - Begin VB.Image DI0 - Appearance = 0 'Flat - Height = 300 - Index = 25 - Left = 2340 - Picture = "Util7433.frx":36EC - Top = 240 - Width = 300 - End - Begin VB.Image DI0 - Appearance = 0 'Flat - Height = 300 - Index = 24 - Left = 2700 - Picture = "Util7433.frx":385E - Top = 240 - Width = 300 - End - Begin VB.Image DI0 - Appearance = 0 'Flat - Height = 300 - Index = 23 - Left = 3060 - Picture = "Util7433.frx":39D0 - Top = 240 - Width = 300 - End - Begin VB.Image DI0 - Appearance = 0 'Flat - Height = 300 - Index = 22 - Left = 3420 - Picture = "Util7433.frx":3B42 - Top = 240 - Width = 300 - End - Begin VB.Image DI0 - Appearance = 0 'Flat - Height = 300 - Index = 21 - Left = 3780 - Picture = "Util7433.frx":3CB4 - Top = 240 - Width = 300 - End - Begin VB.Image DI0 - Appearance = 0 'Flat - Height = 300 - Index = 20 - Left = 4140 - Picture = "Util7433.frx":3E26 - Top = 240 - Width = 300 - End - Begin VB.Image DI0 - Appearance = 0 'Flat - Height = 300 - Index = 19 - Left = 4500 - Picture = "Util7433.frx":3F98 - Top = 240 - Width = 300 - End - Begin VB.Image DI0 - Appearance = 0 'Flat - Height = 300 - Index = 18 - Left = 4860 - Picture = "Util7433.frx":410A - Top = 240 - Width = 300 - End - Begin VB.Image DI0 - Appearance = 0 'Flat - Height = 300 - Index = 17 - Left = 5220 - Picture = "Util7433.frx":427C - Top = 240 - Width = 300 - End - Begin VB.Image DI0 - Appearance = 0 'Flat - Height = 300 - Index = 16 - Left = 5580 - Picture = "Util7433.frx":43EE - Top = 240 - Width = 300 - End - Begin VB.Image DI0 - Appearance = 0 'Flat - Height = 300 - Index = 15 - Left = 180 - Picture = "Util7433.frx":4560 - Top = 750 - Width = 300 - End - Begin VB.Image DI0 - Appearance = 0 'Flat - Height = 300 - Index = 14 - Left = 540 - Picture = "Util7433.frx":46D2 - Top = 750 - Width = 300 - End - Begin VB.Image DI0 - Appearance = 0 'Flat - Height = 300 - Index = 13 - Left = 900 - Picture = "Util7433.frx":4844 - Top = 750 - Width = 300 - End - Begin VB.Image DI0 - Appearance = 0 'Flat - Height = 300 - Index = 12 - Left = 1260 - Picture = "Util7433.frx":49B6 - Top = 750 - Width = 300 - End - Begin VB.Image DI0 - Appearance = 0 'Flat - Height = 300 - Index = 11 - Left = 1620 - Picture = "Util7433.frx":4B28 - Top = 750 - Width = 300 - End - Begin VB.Image DI0 - Appearance = 0 'Flat - Height = 300 - Index = 10 - Left = 1980 - Picture = "Util7433.frx":4C9A - Top = 750 - Width = 300 - End - Begin VB.Image DI0 - Appearance = 0 'Flat - Height = 300 - Index = 9 - Left = 2340 - Picture = "Util7433.frx":4E0C - Top = 750 - Width = 300 - End - Begin VB.Image DI0 - Appearance = 0 'Flat - Height = 300 - Index = 8 - Left = 2700 - Picture = "Util7433.frx":4F7E - Top = 750 - Width = 300 - End - Begin VB.Image DI0 - Appearance = 0 'Flat - Height = 300 - Index = 0 - Left = 5580 - Picture = "Util7433.frx":50F0 - Top = 750 - Width = 300 - End - Begin VB.Image DI0 - Appearance = 0 'Flat - Height = 300 - Index = 1 - Left = 5220 - Picture = "Util7433.frx":5262 - Top = 750 - Width = 300 - End - Begin VB.Image DI0 - Appearance = 0 'Flat - Height = 300 - Index = 2 - Left = 4860 - Picture = "Util7433.frx":53D4 - Top = 750 - Width = 300 - End - Begin VB.Image DI0 - Appearance = 0 'Flat - Height = 300 - Index = 3 - Left = 4500 - Picture = "Util7433.frx":5546 - Top = 750 - Width = 300 - End - Begin VB.Image DI0 - Appearance = 0 'Flat - Height = 300 - Index = 4 - Left = 4140 - Picture = "Util7433.frx":56B8 - Top = 750 - Width = 300 - End - Begin VB.Image DI0 - Appearance = 0 'Flat - Height = 300 - Index = 5 - Left = 3780 - Picture = "Util7433.frx":582A - Top = 750 - Width = 300 - End - Begin VB.Image DI0 - Appearance = 0 'Flat - Height = 300 - Index = 6 - Left = 3420 - Picture = "Util7433.frx":599C - Top = 750 - Width = 300 - End - Begin VB.Image DI0 - Appearance = 0 'Flat - Height = 300 - Index = 7 - Left = 3060 - Picture = "Util7433.frx":5B0E - Top = 750 - Width = 300 - End - End - Begin VB.Image Image1 - Appearance = 0 'Flat - Height = 300 - Left = 5880 - Picture = "Util7433.frx":5C80 - Top = 2700 - Visible = 0 'False - Width = 300 - End - Begin VB.Image Image0 - Appearance = 0 'Flat - Height = 300 - Left = 6180 - Picture = "Util7433.frx":5DF2 - Top = 2700 - Visible = 0 'False - Width = 300 - End - Begin VB.Menu mnuExit - Caption = "&Exit!" - End -End -Attribute VB_Name = "util7433" -Attribute VB_Creatable = False -Attribute VB_Exposed = False -Option Explicit -Dim bit(0 To 31) As Long - - -Private Sub Form_Load() - Dim result As Integer - Dim i As Integer - - SettingForm.Show 1 - If card < 0 Then - MsgBox "Register card failed." - End - End If - - bit(0) = &H1& - bit(1) = &H2& - bit(2) = &H4& - bit(3) = &H8& - bit(4) = &H10& - bit(5) = &H20& - bit(6) = &H40& - bit(7) = &H80& - bit(8) = &H100& - bit(9) = &H200& - bit(10) = &H400& - bit(11) = &H800& - bit(12) = &H1000& - bit(13) = &H2000& - bit(14) = &H4000& - bit(15) = &H8000& - bit(16) = &H10000 - bit(17) = &H20000 - bit(18) = &H40000 - bit(19) = &H80000 - bit(20) = &H100000 - bit(21) = &H200000 - bit(22) = &H400000 - bit(23) = &H800000 - bit(24) = &H1000000 - bit(25) = &H2000000 - bit(26) = &H4000000 - bit(27) = &H8000000 - bit(28) = &H10000000 - bit(29) = &H20000000 - bit(30) = &H40000000 - bit(31) = &H80000000 -End Sub - -Private Sub Form_Unload(Cancel As Integer) - Dim result As Integer - If card >= 0 Then - result = Release_Card(card) - End If - End - -End Sub - - -Private Sub mnuExit_Click() - Dim result As Integer - If card >= 0 Then - result = Release_Card(card) - End If - End -End Sub - -Private Sub Timer1_Timer() - Dim result As Integer - Dim dl As Long, dh As Long - Dim i As Integer - Dim p As Long - - 'result = W_7433_DI_LoDW(0, dl) - 'result = W_7433_DI_HiDW(0, dh) - result = DI_ReadPort(card, CHANNEL_DI_HIGH, dh) - result = DI_ReadPort(card, CHANNEL_DI_LOW, dl) - - For i = 0 To 31 - p = dl And bit(i) - If p <> 0 Then - DI0(i) = Image1 - Else 'p = 0 - DI0(i) = Image0 - End If - Next - For i = 0 To 31 - p = dh And bit(i) - If p <> 0 Then - DI1(i) = Image1 - Else 'p = 0 - DI1(i) = Image0 - End If - Next -End Sub - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7433/VB7433/Util7433.Vbp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7433/VB7433/Util7433.Vbp deleted file mode 100644 index fa83c51..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7433/VB7433/Util7433.Vbp +++ /dev/null @@ -1,21 +0,0 @@ -Form=Util7433.Frm -Module=DASK; ..\..\..\Include\DASK.bas -Module=Module1; 7433glbl.bas -Form=Base7433.frm -Reference=*\G{00025E04-0000-0000-C000-000000000046}#2.5#0#D:\Program Files\Common Files\Microsoft Shared\DD:\Program Fil#Microsoft DAO 2.5/3.0 Compatibility Library -ProjWinSize=84,465,248,215 -ProjWinShow=2 -IconForm="util7433" -Title="UTIL7433" -ExeName32="Util7433.exe" -ExeName="7433.EXE" -Name="vb4projectUtil7433" -HelpContextID="0" -StartMode=0 -VersionCompatible32="0" -MajorVer=1 -MinorVer=0 -RevisionVer=0 -AutoIncrementVer=0 -ServerSupportFiles=0 -VersionCompanyName="ADLINK" diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7433/VB7433/Util7433.frx b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7433/VB7433/Util7433.frx deleted file mode 100644 index 055f82c..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7433/VB7433/Util7433.frx and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7433/sdk7433r/Resource.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7433/sdk7433r/Resource.h deleted file mode 100644 index 1b0f351..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7433/sdk7433r/Resource.h +++ /dev/null @@ -1,19 +0,0 @@ -//{{NO_DEPENDENCIES}} -// Microsoft Developer Studio generated include file. -// Used by Util7433r.rc -// -#define IDD_DIALOG1 101 -#define IDM_EXIT 110 -#define IDC_COMBO1 1015 -#define IDC_STATIC -1 - -// Next default values for new objects -// -#ifdef APSTUDIO_INVOKED -#ifndef APSTUDIO_READONLY_SYMBOLS -#define _APS_NEXT_RESOURCE_VALUE 102 -#define _APS_NEXT_COMMAND_VALUE 101 -#define _APS_NEXT_CONTROL_VALUE 1000 -#define _APS_NEXT_SYMED_VALUE 101 -#endif -#endif diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7433/sdk7433r/Util7433r.c b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7433/sdk7433r/Util7433r.c deleted file mode 100644 index ae87b51..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7433/sdk7433r/Util7433r.c +++ /dev/null @@ -1,284 +0,0 @@ -/*;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; -;; Copyright (c) 1998, ADLink Technology Inc. All rights reserved. ;; -;; ;; -;; File Name : Util7433r.C ;; -;; Purpose : This sample program demonstrate how to operate ;; -;; DI for PCI-7433r ;; -;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;*/ - -#include -#include -#include -#include -#include -#include -#include "Dask.h" -#include "resource.h" - -#define IDM_EXIT 110 -#define TIMER1 1 - -int PASCAL WinMain(HANDLE, HANDLE, LPSTR, int); -long PASCAL MainWndProc(HWND, UINT, WPARAM, LPARAM); - -HANDLE hInst; -U32 input_lo=0, input_hi=0; -U32 oldinput_lo=0, oldinput_hi=0; -I16 card=-1, card_number=0; - -HBRUSH hLTGreenBrush,hGreenBrush,hBlueBrush,hYellowBrush,hRedBrush; - -POINT input_pos[64]= { - {320, 160}, {300, 160}, - {280, 160}, {260, 160}, - {240, 160}, {220, 160}, - {200, 160}, {180, 160}, - {160, 160}, {140, 160}, - {120, 160}, {100, 160}, - { 80, 160}, { 60, 160}, - { 40, 160}, { 20, 160}, - {320, 120}, {300, 120}, - {280, 120}, {260, 120}, - {240, 120}, {220, 120}, - {200, 120}, {180, 120}, - {160, 120}, {140, 120}, - {120, 120}, {100, 120}, - { 80, 120}, { 60, 120}, - { 40, 120}, { 20, 120}, - {320, 80}, {300, 80}, - {280, 80}, {260, 80}, - {240, 80}, {220, 80}, - {200, 80}, {180, 80}, - {160, 80}, {140, 80}, - {120, 80}, {100, 80}, - { 80, 80}, { 60, 80}, - { 40, 80}, { 20, 80}, - {320, 40}, {300, 40}, - {280, 40}, {260, 40}, - {240, 40}, {220, 40}, - {200, 40}, {180, 40}, - {160, 40}, {140, 40}, - {120, 40}, {100, 40}, - { 80, 40}, { 60, 40}, - { 40, 40}, { 20, 40} - }; - -BOOL InitApplication(HANDLE); -BOOL InitInstance(HANDLE, int); - -int PASCAL WinMain(hInstance, hPrevInstance, lpCmdLine, nCmdShow) -HANDLE hInstance, hPrevInstance; -LPSTR lpCmdLine; -int nCmdShow; -{ - MSG msg; - - if (!hPrevInstance) - if (!InitApplication(hInstance)) return(FALSE); - if (!InitInstance(hInstance, nCmdShow)) return(FALSE); - while (GetMessage(&msg, NULL, NULL, NULL)) { - TranslateMessage(&msg); - DispatchMessage(&msg); - } - return(msg.wParam); -} - -BOOL InitApplication(hInstance) -HANDLE hInstance; -{ - WNDCLASS wc; - - /* Main Window Class */ - wc.style = NULL; - wc.lpfnWndProc = (WNDPROC)MainWndProc; - wc.cbClsExtra = 0; - wc.cbWndExtra = 0; - wc.hInstance = hInstance; - wc.hIcon = LoadIcon(hInstance, "MyIcon"); - wc.hCursor = LoadCursor(NULL, IDC_ARROW); - wc.hbrBackground = GetStockObject(LTGRAY_BRUSH); - wc.lpszMenuName = NULL; - wc.lpszClassName = "GenericWClass"; - if (!RegisterClass(&wc)) return(FALSE); -} - -BOOL InitInstance(hInstance, nCmdShow) -HANDLE hInstance; -int nCmdShow; -{ - HWND hWnd; - HMENU hSampleMenu; - - hInst = hInstance; - hSampleMenu = LoadMenu(hInstance, "U7433Menu"); - hWnd = CreateWindow("GenericWClass", - (LPCSTR)"PCI-7433R", - WS_OVERLAPPEDWINDOW, - CW_USEDEFAULT, - CW_USEDEFAULT, - 370, - 260, - NULL, - hSampleMenu, - hInstance, - NULL); - if (!hWnd) return(FALSE); - ShowWindow(hWnd, nCmdShow); - UpdateWindow(hWnd); - return(TRUE); -} - -BOOL PASCAL setup(HWND hWnd, unsigned message, WPARAM wParam, LPARAM lParam) -{ - int i; - char n[16]; - char s[50]; - switch (message) { - case WM_INITDIALOG: - for (i=0;i<16;i++) { - wsprintf(n, "%d", i); - _strupr(n); - SendMessage(GetDlgItem(hWnd,IDC_COMBO1), CB_ADDSTRING, NULL, (LONG)(LPSTR) n); - } - SendMessage(GetDlgItem(hWnd,IDC_COMBO1) , CB_SETCURSEL, 0, 0L); - - break; - case WM_COMMAND: - switch(LOWORD(wParam)) { - - case IDC_COMBO1: - if (HIWORD(wParam) == CBN_CLOSEUP) { - i = (int)SendMessage(GetDlgItem(hWnd,IDC_COMBO1), CB_GETCURSEL, 0, 0L); - SendMessage(GetDlgItem(hWnd,IDC_COMBO1), CB_GETLBTEXT, i, (LPARAM)((LPCSTR)n)); - card_number = i; - } - return(TRUE); - case IDOK: - if ((card=Register_Card(PCI_7433, card_number)) < 0) { - wsprintf(s, "Register_Card Error = %d\n", card); - MessageBox(hWnd, s, "Error", MB_OK); - } - EndDialog(hWnd, TRUE); - InvalidateRect(hWnd, NULL, FALSE); - return (TRUE); - case IDCANCEL: - EndDialog(hWnd, TRUE); - return (TRUE); - } - break; - } - return (FALSE); -} - -long PASCAL MainWndProc(hWnd, message, wParam, lParam) -HWND hWnd; -UINT message; -WPARAM wParam; -LPARAM lParam; -{ - HDC hDC; - PAINTSTRUCT ps; - int i; - - switch(message) { - case WM_CREATE: - DialogBox(hInst,IDD_DIALOG1, hWnd, setup); - if(card<0) { - SendMessage(hWnd, WM_CLOSE, 0, 0L); - break; - } - hLTGreenBrush = CreateSolidBrush(RGB(0, 255, 0)); - hGreenBrush = CreateSolidBrush(RGB(0, 128, 0)); - hBlueBrush = CreateSolidBrush(RGB(0, 0, 255)); - hRedBrush = CreateSolidBrush(RGB(255, 0, 0)); - SetTimer(hWnd, TIMER1, 50, NULL); - srand((unsigned)time(NULL)); - break; - case WM_PAINT: - hDC = BeginPaint(hWnd, &ps); - // Digital Input Box - SelectObject(hDC, hLTGreenBrush); - Rectangle(hDC, input_pos[63].x-10, input_pos[63].y-24, input_pos[0].x+26, input_pos[0].y+40); - SetTextColor(hDC,RGB(255,255,255)); - SetBkColor(hDC, RGB(0, 0, 255)); - TextOut(hDC, input_pos[63].x, input_pos[63].y-30, "Digital Input",13); - // Channel Label - SetTextColor(hDC,RGB(0,0,0)); - SetBkColor(hDC, RGB(0, 255, 0)); - TextOut(hDC, input_pos[63].x, input_pos[63].y+16, "63 48", 75); - TextOut(hDC, input_pos[47].x, input_pos[47].y+16, "47 32", 75); - TextOut(hDC, input_pos[31].x, input_pos[31].y+16, "31 16", 75); - TextOut(hDC, input_pos[15].x, input_pos[15].y+16, "15 0", 75); - SetBkColor(hDC, RGB(0, 255, 0)); - //Detect Channel Input Lo - for (i=0; i<32; i++) { - if ((input_lo>>i)&0x01) - SelectObject(hDC, hRedBrush); - else - SelectObject(hDC, GetStockObject(WHITE_BRUSH)); - Ellipse(hDC, input_pos[i].x, input_pos[i].y, input_pos[i].x+17, input_pos[i].y+17); - } - //Detect Channel Input Hi - for (i=0; i<32; i++) { - if ((input_hi>>i)&0x01) - SelectObject(hDC, hRedBrush); - else - SelectObject(hDC, GetStockObject(WHITE_BRUSH)); - Ellipse(hDC, input_pos[i+32].x, input_pos[i+32].y, input_pos[i+32].x+17, input_pos[i+32].y+17); - } - EndPaint(hWnd, &ps); - break; - case WM_COMMAND: - switch(LOWORD(wParam)) { - case IDM_EXIT: - SendMessage(hWnd, WM_CLOSE, 0, 0L); - break; - default: - return(DefWindowProc(hWnd, message, wParam, lParam)); - } - break; - case WM_TIMER: - /* Digital Input */ - DI_ReadPort(card,PORT_DI_HIGH,&input_hi); - DI_ReadPort(card,PORT_DI_LOW,&input_lo); - DO_WritePort(card, P7433R_DO_LED, input_lo); - - hDC = GetDC(hWnd); - for (i=0; i<32; i++) { - if( ((input_lo>>i)&0x01) != ((oldinput_lo>>i)&0x01) ) - { - if ((input_lo>>i)&0x01) - SelectObject(hDC, hRedBrush); - else - SelectObject(hDC, GetStockObject(WHITE_BRUSH)); - Ellipse(hDC, input_pos[i].x, input_pos[i].y, input_pos[i].x+17, input_pos[i].y+17); - } - } - for (i=0; i<32; i++) { - if( ((input_hi>>i)&0x01) != ((oldinput_hi>>i)&0x01) ) - { - if ((input_hi>>i)&0x01) - SelectObject(hDC, hRedBrush); - else - SelectObject(hDC, GetStockObject(WHITE_BRUSH)); - Ellipse(hDC, input_pos[i+32].x, input_pos[i+32].y, input_pos[i+32].x+17, input_pos[i+32].y+17); - } - } - oldinput_lo = input_lo; - oldinput_hi = input_hi; - ReleaseDC(hWnd, hDC); - break; - case WM_DESTROY: - if (card >= 0) Release_Card(card); - DeleteObject(hRedBrush); - DeleteObject(hGreenBrush); - DeleteObject(hLTGreenBrush); - KillTimer(hWnd, TIMER1); - PostQuitMessage(0); - break; - default: - return(DefWindowProc(hWnd, message, wParam, lParam)); - } - return(NULL); -} - \ No newline at end of file diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7433/sdk7433r/Util7433r.exe b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7433/sdk7433r/Util7433r.exe deleted file mode 100644 index 99a6823..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7433/sdk7433r/Util7433r.exe and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7433/sdk7433r/Util7433r.mak b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7433/sdk7433r/Util7433r.mak deleted file mode 100644 index 1f5da56..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7433/sdk7433r/Util7433r.mak +++ /dev/null @@ -1,219 +0,0 @@ -# Microsoft Developer Studio Generated NMAKE File, Format Version 4.00 -# ** DO NOT EDIT ** - -# TARGTYPE "Win32 (x86) Application" 0x0101 - -!IF "$(CFG)" == "" -CFG=Util7433r - Win32 Debug -!MESSAGE No configuration specified. Defaulting to Util7433r - Win32 Debug. -!ENDIF - -!IF "$(CFG)" != "Util7433r - Win32 Release" && "$(CFG)" !=\ - "Util7433r - Win32 Debug" -!MESSAGE Invalid configuration "$(CFG)" specified. -!MESSAGE You can specify a configuration when running NMAKE on this makefile -!MESSAGE by defining the macro CFG on the command line. For example: -!MESSAGE -!MESSAGE NMAKE /f "Util7433r.mak" CFG="Util7433r - Win32 Debug" -!MESSAGE -!MESSAGE Possible choices for configuration are: -!MESSAGE -!MESSAGE "Util7433r - Win32 Release" (based on "Win32 (x86) Application") -!MESSAGE "Util7433r - Win32 Debug" (based on "Win32 (x86) Application") -!MESSAGE -!ERROR An invalid configuration is specified. -!ENDIF - -!IF "$(OS)" == "Windows_NT" -NULL= -!ELSE -NULL=nul -!ENDIF -################################################################################ -# Begin Project -# PROP Target_Last_Scanned "Util7433r - Win32 Debug" -MTL=mktyplib.exe -RSC=rc.exe -CPP=cl.exe - -!IF "$(CFG)" == "Util7433r - Win32 Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "Release" -# PROP BASE Intermediate_Dir "Release" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "" -# PROP Intermediate_Dir "Release" -# PROP Target_Dir "" -OUTDIR=. -INTDIR=.\Release - -ALL : "$(OUTDIR)\Util7433r.exe" - -CLEAN : - -@erase ".\Util7433r.exe" - -@erase ".\Release\util7433r.obj" - -@erase ".\Release\util7433r.res" - -"$(INTDIR)" : - if not exist "$(INTDIR)/$(NULL)" mkdir "$(INTDIR)" - -# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /YX /c -# ADD CPP /nologo /W3 /GX /O2 /I "..\..\..\include" /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /c -# SUBTRACT CPP /YX -CPP_PROJ=/nologo /ML /W3 /GX /O2 /I "..\..\..\include" /D "WIN32" /D "NDEBUG"\ - /D "_WINDOWS" /Fo"$(INTDIR)/" /c -CPP_OBJS=.\Release/ -CPP_SBRS= -# ADD BASE MTL /nologo /D "NDEBUG" /win32 -# ADD MTL /nologo /D "NDEBUG" /win32 -MTL_PROJ=/nologo /D "NDEBUG" /win32 -# ADD BASE RSC /l 0x404 /d "NDEBUG" -# ADD RSC /l 0x404 /d "NDEBUG" -RSC_PROJ=/l 0x404 /fo"$(INTDIR)/util7433r.res" /d "NDEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -BSC32_FLAGS=/nologo /o"$(OUTDIR)/Util7433r.bsc" -BSC32_SBRS= -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:windows /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ..\..\..\lib\PCI-DASK.lib /nologo /subsystem:windows /machine:I386 -LINK32_FLAGS=kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib\ - advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib\ - odbccp32.lib ..\..\..\lib\PCI-DASK.lib /nologo /subsystem:windows\ - /incremental:no /pdb:"$(OUTDIR)/Util7433r.pdb" /machine:I386\ - /out:"$(OUTDIR)/Util7433r.exe" -LINK32_OBJS= \ - "$(INTDIR)/util7433r.obj" \ - "$(INTDIR)/util7433r.res" - -"$(OUTDIR)\Util7433r.exe" : "$(OUTDIR)" $(DEF_FILE) $(LINK32_OBJS) - $(LINK32) @<< - $(LINK32_FLAGS) $(LINK32_OBJS) -<< - -!ELSEIF "$(CFG)" == "Util7433r - Win32 Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "Debug" -# PROP BASE Intermediate_Dir "Debug" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "" -# PROP Intermediate_Dir "Debug" -# PROP Target_Dir "" -OUTDIR=. -INTDIR=.\Debug - -ALL : "$(OUTDIR)\Util7433r.exe" - -CLEAN : - -@erase ".\Debug\vc40.pdb" - -@erase ".\Debug\vc40.idb" - -@erase ".\Util7433r.exe" - -@erase ".\Debug\util7433r.obj" - -@erase ".\Debug\util7433r.res" - -@erase ".\Util7433r.ilk" - -@erase ".\Util7433r.pdb" - -"$(INTDIR)" : - if not exist "$(INTDIR)/$(NULL)" mkdir "$(INTDIR)" - -# ADD BASE CPP /nologo /W3 /Gm /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /YX /c -# ADD CPP /nologo /W3 /Gm /GX /Zi /Od /I "..\..\..\include" /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /c -# SUBTRACT CPP /YX -CPP_PROJ=/nologo /MLd /W3 /Gm /GX /Zi /Od /I "..\..\..\include" /D "WIN32" /D\ - "_DEBUG" /D "_WINDOWS" /Fo"$(INTDIR)/" /Fd"$(INTDIR)/" /c -CPP_OBJS=.\Debug/ -CPP_SBRS= -# ADD BASE MTL /nologo /D "_DEBUG" /win32 -# ADD MTL /nologo /D "_DEBUG" /win32 -MTL_PROJ=/nologo /D "_DEBUG" /win32 -# ADD BASE RSC /l 0x404 /d "_DEBUG" -# ADD RSC /l 0x404 /d "_DEBUG" -RSC_PROJ=/l 0x404 /fo"$(INTDIR)/util7433r.res" /d "_DEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -BSC32_FLAGS=/nologo /o"$(OUTDIR)/Util7433r.bsc" -BSC32_SBRS= -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:windows /debug /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ..\..\..\lib\PCI-DASK.lib /nologo /subsystem:windows /debug /machine:I386 -LINK32_FLAGS=kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib\ - advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib\ - odbccp32.lib ..\..\..\lib\PCI-DASK.lib /nologo /subsystem:windows\ - /incremental:yes /pdb:"$(OUTDIR)/Util7433r.pdb" /debug /machine:I386\ - /out:"$(OUTDIR)/Util7433r.exe" -LINK32_OBJS= \ - "$(INTDIR)/util7433r.obj" \ - "$(INTDIR)/util7433r.res" - -"$(OUTDIR)\Util7433r.exe" : "$(OUTDIR)" $(DEF_FILE) $(LINK32_OBJS) - $(LINK32) @<< - $(LINK32_FLAGS) $(LINK32_OBJS) -<< - -!ENDIF - -.c{$(CPP_OBJS)}.obj: - $(CPP) $(CPP_PROJ) $< - -.cpp{$(CPP_OBJS)}.obj: - $(CPP) $(CPP_PROJ) $< - -.cxx{$(CPP_OBJS)}.obj: - $(CPP) $(CPP_PROJ) $< - -.c{$(CPP_SBRS)}.sbr: - $(CPP) $(CPP_PROJ) $< - -.cpp{$(CPP_SBRS)}.sbr: - $(CPP) $(CPP_PROJ) $< - -.cxx{$(CPP_SBRS)}.sbr: - $(CPP) $(CPP_PROJ) $< - -################################################################################ -# Begin Target - -# Name "Util7433r - Win32 Release" -# Name "Util7433r - Win32 Debug" - -!IF "$(CFG)" == "Util7433r - Win32 Release" - -!ELSEIF "$(CFG)" == "Util7433r - Win32 Debug" - -!ENDIF - -################################################################################ -# Begin Source File - -SOURCE=.\util7433r.rc - -"$(INTDIR)\util7433r.res" : $(SOURCE) "$(INTDIR)" - $(RSC) $(RSC_PROJ) $(SOURCE) - - -# End Source File -################################################################################ -# Begin Source File - -SOURCE=.\util7433r.c -DEP_CPP_UTIL7=\ - ".\..\..\..\include\Dask.h"\ - - -"$(INTDIR)\util7433r.obj" : $(SOURCE) $(DEP_CPP_UTIL7) "$(INTDIR)" - - -# End Source File -# End Target -# End Project -################################################################################ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7433/sdk7433r/Util7433r.mdp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7433/sdk7433r/Util7433r.mdp deleted file mode 100644 index 15ae749..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7433/sdk7433r/Util7433r.mdp and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7433/sdk7433r/Util7433r.rc b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7433/sdk7433r/Util7433r.rc deleted file mode 100644 index 0683db2..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7433/sdk7433r/Util7433r.rc +++ /dev/null @@ -1,115 +0,0 @@ -//Microsoft Developer Studio generated resource script. -// -#include "resource.h" - -#define APSTUDIO_READONLY_SYMBOLS -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 2 resource. -// -#define APSTUDIO_HIDDEN_SYMBOLS -#include "windows.h" -#undef APSTUDIO_HIDDEN_SYMBOLS - -///////////////////////////////////////////////////////////////////////////// -#undef APSTUDIO_READONLY_SYMBOLS - -///////////////////////////////////////////////////////////////////////////// -// English (U.S.) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -#ifdef _WIN32 -LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US -#pragma code_page(1252) -#endif //_WIN32 - -///////////////////////////////////////////////////////////////////////////// -// -// Menu -// - -U7433MENU MENU DISCARDABLE -BEGIN - MENUITEM "E&xit!", IDM_EXIT -END - - -#ifdef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// TEXTINCLUDE -// - -1 TEXTINCLUDE DISCARDABLE -BEGIN - "resource.h\0" -END - -2 TEXTINCLUDE DISCARDABLE -BEGIN - "#define APSTUDIO_HIDDEN_SYMBOLS\r\n" - "#include ""windows.h""\r\n" - "#undef APSTUDIO_HIDDEN_SYMBOLS\r\n" - "\0" -END - -3 TEXTINCLUDE DISCARDABLE -BEGIN - "\r\n" - "\0" -END - -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog -// - -IDD_DIALOG1 DIALOG DISCARDABLE 110, 10, 106, 61 -STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "Card Number" -FONT 10, "System" -BEGIN - DEFPUSHBUTTON "OK",IDOK,10,40,37,14 - PUSHBUTTON "Cancel",IDCANCEL,61,40,38,14 - LTEXT "Card Number",IDC_STATIC,3,13,47,13 - COMBOBOX IDC_COMBO1,51,13,48,84,CBS_DROPDOWN | WS_VSCROLL | - WS_TABSTOP -END - - -///////////////////////////////////////////////////////////////////////////// -// -// DESIGNINFO -// - -#ifdef APSTUDIO_INVOKED -GUIDELINES DESIGNINFO DISCARDABLE -BEGIN - IDD_DIALOG1, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 99 - TOPMARGIN, 7 - BOTTOMMARGIN, 54 - END -END -#endif // APSTUDIO_INVOKED - -#endif // English (U.S.) resources -///////////////////////////////////////////////////////////////////////////// - - - -#ifndef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 3 resource. -// - - -///////////////////////////////////////////////////////////////////////////// -#endif // not APSTUDIO_INVOKED - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7433C/SDK7433C/Resource.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7433C/SDK7433C/Resource.h deleted file mode 100644 index 12efae3..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7433C/SDK7433C/Resource.h +++ /dev/null @@ -1,19 +0,0 @@ -//{{NO_DEPENDENCIES}} -// Microsoft Developer Studio generated include file. -// Used by Util7433.rc -// -#define IDD_DIALOG1 101 -#define IDM_EXIT 110 -#define IDC_COMBO1 1015 -#define IDC_STATIC -1 - -// Next default values for new objects -// -#ifdef APSTUDIO_INVOKED -#ifndef APSTUDIO_READONLY_SYMBOLS -#define _APS_NEXT_RESOURCE_VALUE 102 -#define _APS_NEXT_COMMAND_VALUE 101 -#define _APS_NEXT_CONTROL_VALUE 1000 -#define _APS_NEXT_SYMED_VALUE 101 -#endif -#endif diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7433C/SDK7433C/UTIL7433.RC b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7433C/SDK7433C/UTIL7433.RC deleted file mode 100644 index 0683db2..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7433C/SDK7433C/UTIL7433.RC +++ /dev/null @@ -1,115 +0,0 @@ -//Microsoft Developer Studio generated resource script. -// -#include "resource.h" - -#define APSTUDIO_READONLY_SYMBOLS -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 2 resource. -// -#define APSTUDIO_HIDDEN_SYMBOLS -#include "windows.h" -#undef APSTUDIO_HIDDEN_SYMBOLS - -///////////////////////////////////////////////////////////////////////////// -#undef APSTUDIO_READONLY_SYMBOLS - -///////////////////////////////////////////////////////////////////////////// -// English (U.S.) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -#ifdef _WIN32 -LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US -#pragma code_page(1252) -#endif //_WIN32 - -///////////////////////////////////////////////////////////////////////////// -// -// Menu -// - -U7433MENU MENU DISCARDABLE -BEGIN - MENUITEM "E&xit!", IDM_EXIT -END - - -#ifdef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// TEXTINCLUDE -// - -1 TEXTINCLUDE DISCARDABLE -BEGIN - "resource.h\0" -END - -2 TEXTINCLUDE DISCARDABLE -BEGIN - "#define APSTUDIO_HIDDEN_SYMBOLS\r\n" - "#include ""windows.h""\r\n" - "#undef APSTUDIO_HIDDEN_SYMBOLS\r\n" - "\0" -END - -3 TEXTINCLUDE DISCARDABLE -BEGIN - "\r\n" - "\0" -END - -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog -// - -IDD_DIALOG1 DIALOG DISCARDABLE 110, 10, 106, 61 -STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "Card Number" -FONT 10, "System" -BEGIN - DEFPUSHBUTTON "OK",IDOK,10,40,37,14 - PUSHBUTTON "Cancel",IDCANCEL,61,40,38,14 - LTEXT "Card Number",IDC_STATIC,3,13,47,13 - COMBOBOX IDC_COMBO1,51,13,48,84,CBS_DROPDOWN | WS_VSCROLL | - WS_TABSTOP -END - - -///////////////////////////////////////////////////////////////////////////// -// -// DESIGNINFO -// - -#ifdef APSTUDIO_INVOKED -GUIDELINES DESIGNINFO DISCARDABLE -BEGIN - IDD_DIALOG1, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 99 - TOPMARGIN, 7 - BOTTOMMARGIN, 54 - END -END -#endif // APSTUDIO_INVOKED - -#endif // English (U.S.) resources -///////////////////////////////////////////////////////////////////////////// - - - -#ifndef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 3 resource. -// - - -///////////////////////////////////////////////////////////////////////////// -#endif // not APSTUDIO_INVOKED - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7433C/SDK7433C/Util7433.c b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7433C/SDK7433C/Util7433.c deleted file mode 100644 index 497b5ad..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7433C/SDK7433C/Util7433.c +++ /dev/null @@ -1,283 +0,0 @@ -/*;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; -;; Copyright (c) 1999, ADLink Technology Inc. All rights reserved. ;; -;; ;; -;; File Name : Util7433.C ;; -;; Purpose : This sample program demonstrate how to operate ;; -;; DI for PCI-7433 ;; -;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;*/ - -#include -#include -#include -#include -#include -#include -#include "Dask.h" -#include "resource.h" - -#define IDM_EXIT 110 -#define TIMER1 1 - -int PASCAL WinMain(HANDLE, HANDLE, LPSTR, int); -long PASCAL MainWndProc(HWND, UINT, WPARAM, LPARAM); - -HANDLE hInst; -U32 input_lo=0, input_hi=0; -U32 oldinput_lo=0, oldinput_hi=0; -I16 card=-1, card_number=0; - -HBRUSH hLTGreenBrush,hGreenBrush,hBlueBrush,hYellowBrush,hRedBrush; - -POINT input_pos[64]= { - {320, 160}, {300, 160}, - {280, 160}, {260, 160}, - {240, 160}, {220, 160}, - {200, 160}, {180, 160}, - {160, 160}, {140, 160}, - {120, 160}, {100, 160}, - { 80, 160}, { 60, 160}, - { 40, 160}, { 20, 160}, - {320, 120}, {300, 120}, - {280, 120}, {260, 120}, - {240, 120}, {220, 120}, - {200, 120}, {180, 120}, - {160, 120}, {140, 120}, - {120, 120}, {100, 120}, - { 80, 120}, { 60, 120}, - { 40, 120}, { 20, 120}, - {320, 80}, {300, 80}, - {280, 80}, {260, 80}, - {240, 80}, {220, 80}, - {200, 80}, {180, 80}, - {160, 80}, {140, 80}, - {120, 80}, {100, 80}, - { 80, 80}, { 60, 80}, - { 40, 80}, { 20, 80}, - {320, 40}, {300, 40}, - {280, 40}, {260, 40}, - {240, 40}, {220, 40}, - {200, 40}, {180, 40}, - {160, 40}, {140, 40}, - {120, 40}, {100, 40}, - { 80, 40}, { 60, 40}, - { 40, 40}, { 20, 40} - }; - -BOOL InitApplication(HANDLE); -BOOL InitInstance(HANDLE, int); - -int PASCAL WinMain(hInstance, hPrevInstance, lpCmdLine, nCmdShow) -HANDLE hInstance, hPrevInstance; -LPSTR lpCmdLine; -int nCmdShow; -{ - MSG msg; - - if (!hPrevInstance) - if (!InitApplication(hInstance)) return(FALSE); - if (!InitInstance(hInstance, nCmdShow)) return(FALSE); - while (GetMessage(&msg, NULL, NULL, NULL)) { - TranslateMessage(&msg); - DispatchMessage(&msg); - } - return(msg.wParam); -} - -BOOL InitApplication(hInstance) -HANDLE hInstance; -{ - WNDCLASS wc; - - /* Main Window Class */ - wc.style = NULL; - wc.lpfnWndProc = (WNDPROC)MainWndProc; - wc.cbClsExtra = 0; - wc.cbWndExtra = 0; - wc.hInstance = hInstance; - wc.hIcon = LoadIcon(hInstance, "MyIcon"); - wc.hCursor = LoadCursor(NULL, IDC_ARROW); - wc.hbrBackground = GetStockObject(LTGRAY_BRUSH); - wc.lpszMenuName = NULL; - wc.lpszClassName = "GenericWClass"; - if (!RegisterClass(&wc)) return(FALSE); -} - -BOOL InitInstance(hInstance, nCmdShow) -HANDLE hInstance; -int nCmdShow; -{ - HWND hWnd; - HMENU hSampleMenu; - - hInst = hInstance; - hSampleMenu = LoadMenu(hInstance, "U7433Menu"); - hWnd = CreateWindow("GenericWClass", - (LPCSTR)"PCI-7433", - WS_OVERLAPPEDWINDOW, - CW_USEDEFAULT, - CW_USEDEFAULT, - 370, - 260, - NULL, - hSampleMenu, - hInstance, - NULL); - if (!hWnd) return(FALSE); - ShowWindow(hWnd, nCmdShow); - UpdateWindow(hWnd); - return(TRUE); -} - -BOOL PASCAL setup(HWND hWnd, unsigned message, WPARAM wParam, LPARAM lParam) -{ - int i; - char n[16]; - char s[50]; - switch (message) { - case WM_INITDIALOG: - for (i=0;i<16;i++) { - wsprintf(n, "%d", i); - _strupr(n); - SendMessage(GetDlgItem(hWnd,IDC_COMBO1), CB_ADDSTRING, NULL, (LONG)(LPSTR) n); - } - SendMessage(GetDlgItem(hWnd,IDC_COMBO1) , CB_SETCURSEL, 0, 0L); - - break; - case WM_COMMAND: - switch(LOWORD(wParam)) { - - case IDC_COMBO1: - if (HIWORD(wParam) == CBN_CLOSEUP) { - i = (int)SendMessage(GetDlgItem(hWnd,IDC_COMBO1), CB_GETCURSEL, 0, 0L); - SendMessage(GetDlgItem(hWnd,IDC_COMBO1), CB_GETLBTEXT, i, (LPARAM)((LPCSTR)n)); - card_number = i; - } - return(TRUE); - case IDOK: - if ((card=Register_Card(PCI_7433C, card_number)) < 0) { - wsprintf(s, "Register_Card Error = %d\n", card); - MessageBox(hWnd, s, "Error", MB_OK); - } - EndDialog(hWnd, TRUE); - InvalidateRect(hWnd, NULL, FALSE); - return (TRUE); - case IDCANCEL: - EndDialog(hWnd, TRUE); - return (TRUE); - } - break; - } - return (FALSE); -} - -long PASCAL MainWndProc(hWnd, message, wParam, lParam) -HWND hWnd; -UINT message; -WPARAM wParam; -LPARAM lParam; -{ - HDC hDC; - PAINTSTRUCT ps; - int i; - - switch(message) { - case WM_CREATE: - DialogBox(hInst,IDD_DIALOG1, hWnd, setup); - if(card<0) { - SendMessage(hWnd, WM_CLOSE, 0, 0L); - break; - } - hLTGreenBrush = CreateSolidBrush(RGB(0, 255, 0)); - hGreenBrush = CreateSolidBrush(RGB(0, 128, 0)); - hBlueBrush = CreateSolidBrush(RGB(0, 0, 255)); - hRedBrush = CreateSolidBrush(RGB(255, 0, 0)); - SetTimer(hWnd, TIMER1, 50, NULL); - srand((unsigned)time(NULL)); - break; - case WM_PAINT: - hDC = BeginPaint(hWnd, &ps); - // Digital Input Box - SelectObject(hDC, hLTGreenBrush); - Rectangle(hDC, input_pos[63].x-10, input_pos[63].y-24, input_pos[0].x+26, input_pos[0].y+40); - SetTextColor(hDC,RGB(255,255,255)); - SetBkColor(hDC, RGB(0, 0, 255)); - TextOut(hDC, input_pos[63].x, input_pos[63].y-30, "Digital Input",13); - // Channel Label - SetTextColor(hDC,RGB(0,0,0)); - SetBkColor(hDC, RGB(0, 255, 0)); - TextOut(hDC, input_pos[63].x, input_pos[63].y+16, "63 48", 75); - TextOut(hDC, input_pos[47].x, input_pos[47].y+16, "47 32", 75); - TextOut(hDC, input_pos[31].x, input_pos[31].y+16, "31 16", 75); - TextOut(hDC, input_pos[15].x, input_pos[15].y+16, "15 0", 75); - SetBkColor(hDC, RGB(0, 255, 0)); - //Detect Channel Input Lo - for (i=0; i<32; i++) { - if ((input_lo>>i)&0x01) - SelectObject(hDC, hRedBrush); - else - SelectObject(hDC, GetStockObject(WHITE_BRUSH)); - Ellipse(hDC, input_pos[i].x, input_pos[i].y, input_pos[i].x+17, input_pos[i].y+17); - } - //Detect Channel Input Hi - for (i=0; i<32; i++) { - if ((input_hi>>i)&0x01) - SelectObject(hDC, hRedBrush); - else - SelectObject(hDC, GetStockObject(WHITE_BRUSH)); - Ellipse(hDC, input_pos[i+32].x, input_pos[i+32].y, input_pos[i+32].x+17, input_pos[i+32].y+17); - } - EndPaint(hWnd, &ps); - break; - case WM_COMMAND: - switch(LOWORD(wParam)) { - case IDM_EXIT: - SendMessage(hWnd, WM_CLOSE, 0, 0L); - break; - default: - return(DefWindowProc(hWnd, message, wParam, lParam)); - } - break; - case WM_TIMER: - /* Digital Input */ - DI_ReadPort(card,PORT_DI_HIGH,&input_hi); - DI_ReadPort(card,PORT_DI_LOW,&input_lo); - - hDC = GetDC(hWnd); - for (i=0; i<32; i++) { - if( ((input_lo>>i)&0x01) != ((oldinput_lo>>i)&0x01) ) - { - if ((input_lo>>i)&0x01) - SelectObject(hDC, hRedBrush); - else - SelectObject(hDC, GetStockObject(WHITE_BRUSH)); - Ellipse(hDC, input_pos[i].x, input_pos[i].y, input_pos[i].x+17, input_pos[i].y+17); - } - } - for (i=0; i<32; i++) { - if( ((input_hi>>i)&0x01) != ((oldinput_hi>>i)&0x01) ) - { - if ((input_hi>>i)&0x01) - SelectObject(hDC, hRedBrush); - else - SelectObject(hDC, GetStockObject(WHITE_BRUSH)); - Ellipse(hDC, input_pos[i+32].x, input_pos[i+32].y, input_pos[i+32].x+17, input_pos[i+32].y+17); - } - } - oldinput_lo = input_lo; - oldinput_hi = input_hi; - ReleaseDC(hWnd, hDC); - break; - case WM_DESTROY: - if (card >= 0) Release_Card(card); - DeleteObject(hRedBrush); - DeleteObject(hGreenBrush); - DeleteObject(hLTGreenBrush); - KillTimer(hWnd, TIMER1); - PostQuitMessage(0); - break; - default: - return(DefWindowProc(hWnd, message, wParam, lParam)); - } - return(NULL); -} - \ No newline at end of file diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7433C/SDK7433C/Util7433.dsp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7433C/SDK7433C/Util7433.dsp deleted file mode 100644 index f74f7be..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7433C/SDK7433C/Util7433.dsp +++ /dev/null @@ -1,115 +0,0 @@ -# Microsoft Developer Studio Project File - Name="Util7433" - Package Owner=<4> -# Microsoft Developer Studio Generated Build File, Format Version 6.00 -# ** DO NOT EDIT ** - -# TARGTYPE "Win32 (x86) Application" 0x0101 - -CFG=Util7433 - Win32 Release -!MESSAGE This is not a valid makefile. To build this project using NMAKE, -!MESSAGE use the Export Makefile command and run -!MESSAGE -!MESSAGE NMAKE /f "Util7433.mak". -!MESSAGE -!MESSAGE You can specify a configuration when running NMAKE -!MESSAGE by defining the macro CFG on the command line. For example: -!MESSAGE -!MESSAGE NMAKE /f "Util7433.mak" CFG="Util7433 - Win32 Release" -!MESSAGE -!MESSAGE Possible choices for configuration are: -!MESSAGE -!MESSAGE "Util7433 - Win32 Release" (based on "Win32 (x86) Application") -!MESSAGE "Util7433 - Win32 Debug" (based on "Win32 (x86) Application") -!MESSAGE - -# Begin Project -# PROP AllowPerConfigDependencies 0 -# PROP Scc_ProjName "" -# PROP Scc_LocalPath "" -CPP=cl.exe -MTL=midl.exe -RSC=rc.exe - -!IF "$(CFG)" == "Util7433 - Win32 Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir ".\Release" -# PROP BASE Intermediate_Dir ".\Release" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "" -# PROP Intermediate_Dir ".\Release" -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /YX /c -# ADD CPP /nologo /W3 /GX /O2 /I "..\..\..\include" /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /FD /c -# SUBTRACT CPP /YX -# ADD BASE MTL /nologo /D "NDEBUG" /win32 -# ADD MTL /nologo /D "NDEBUG" /mktyplib203 /win32 -# ADD BASE RSC /l 0x404 /d "NDEBUG" -# ADD RSC /l 0x404 /d "NDEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:windows /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ..\..\..\lib\PCI-DASK.lib /nologo /subsystem:windows /machine:I386 - -!ELSEIF "$(CFG)" == "Util7433 - Win32 Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir ".\Debug" -# PROP BASE Intermediate_Dir ".\Debug" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "" -# PROP Intermediate_Dir ".\Debug" -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /Gm /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /YX /c -# ADD CPP /nologo /W3 /Gm /GX /ZI /Od /I "..\..\..\include" /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /FD /c -# SUBTRACT CPP /YX -# ADD BASE MTL /nologo /D "_DEBUG" /win32 -# ADD MTL /nologo /D "_DEBUG" /mktyplib203 /win32 -# ADD BASE RSC /l 0x404 /d "_DEBUG" -# ADD RSC /l 0x404 /d "_DEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:windows /debug /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ..\..\..\lib\PCI-DASK.lib /nologo /subsystem:windows /debug /machine:I386 - -!ENDIF - -# Begin Target - -# Name "Util7433 - Win32 Release" -# Name "Util7433 - Win32 Debug" -# Begin Group "Source Files" - -# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;idl;hpj;bat;for;f90" -# Begin Source File - -SOURCE=.\util7433.c -# End Source File -# Begin Source File - -SOURCE=.\util7433.rc -# End Source File -# End Group -# Begin Group "Header Files" - -# PROP Default_Filter "h;hpp;hxx;hm;inl;fi;fd" -# Begin Source File - -SOURCE=.\Resource.h -# End Source File -# End Group -# Begin Group "Resource Files" - -# PROP Default_Filter "ico;cur;bmp;dlg;rc2;rct;bin;cnt;rtf;gif;jpg;jpeg;jpe" -# End Group -# End Target -# End Project diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7433C/SDK7433C/Util7433.dsw b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7433C/SDK7433C/Util7433.dsw deleted file mode 100644 index cce144c..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7433C/SDK7433C/Util7433.dsw +++ /dev/null @@ -1,29 +0,0 @@ -Microsoft Developer Studio Workspace File, Format Version 6.00 -# WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE! - -############################################################################### - -Project: "Util7433"=".\Util7433.dsp" - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ -}}} - -############################################################################### - -Global: - -Package=<5> -{{{ -}}} - -Package=<3> -{{{ -}}} - -############################################################################### - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7433C/SDK7433C/Util7433.exe b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7433C/SDK7433C/Util7433.exe deleted file mode 100644 index 1fd6649..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7433C/SDK7433C/Util7433.exe and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7433C/SDK7433CDbEvt/7433INT.C b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7433C/SDK7433CDbEvt/7433INT.C deleted file mode 100644 index d0d4f69..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7433C/SDK7433CDbEvt/7433INT.C +++ /dev/null @@ -1,238 +0,0 @@ -/*;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; -;; Copyright (c) 1995-1999, ADLink Technology Inc. All rights reserved. ;; -;; ;; -;; File Name : 7433INT.C ;; -;; Purpose : This sample program demonstrates how to handle interrupt ;; -;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;*/ - -#include -#include -#include -#include -#include -#include "Dask.h" -#include "Resource.h" - -HANDLE hInst; /* current instance */ -U16 wBus, wSlot; -I16 card=-1, card_number = 0; -int int_count=0, int2_count=0; -HWND hStart, hMainWnd; -HANDLE hEvent[2]; - -int PASCAL WinMain(HANDLE, HANDLE, LPSTR, int); -BOOL InitApplication(HANDLE); -BOOL InitInstance(HANDLE, int); -long PASCAL MainWndProc(HWND, unsigned, WPARAM, LPARAM); - -void -IntThread(void* pArg) -{ - while (1) { - if (WaitForSingleObject(hEvent[0], INFINITE) == WAIT_OBJECT_0) { - int_count++; - ResetEvent(hEvent[0]); - InvalidateRect(hMainWnd, NULL, FALSE); - } - } - _endthread(); -} - -void -Int2Thread(void* pArg) -{ - while (1) { - if (WaitForSingleObject(hEvent[1], INFINITE) == WAIT_OBJECT_0) { - int2_count++; - ResetEvent(hEvent[1]); - InvalidateRect(hMainWnd, NULL, FALSE); - } - } - _endthread(); -} - - /********************************************************************** - - FUNCTION: WinMain(HANDLE, HANDLE, LPSTR, int) - PURPOSE: calls initialization function, processes message loop - - ***********************************************************************/ - - int PASCAL WinMain(hInstance, hPrevInstance, lpCmdLine, nCmdShow) - HANDLE hInstance; - HANDLE hPrevInstance; - LPSTR lpCmdLine; - int nCmdShow; - { - MSG msg; - - if(!hPrevInstance) - if(!InitApplication(hInstance)) - return(FALSE); - - if(!InitInstance(hInstance, nCmdShow)) - return(FALSE); - - while ( GetMessage(&msg, NULL, NULL, NULL)) - { - TranslateMessage(&msg); - DispatchMessage(&msg); - } - return(msg.wParam); - } - -/**************************************************************************** - - FUNCTION: InitApplication(HANDLE) - - PURPOSE: Initializes window data and registers window class - -****************************************************************************/ - -BOOL InitApplication(hInstance) -HANDLE hInstance; -{ - WNDCLASS wc; - - wc.style = NULL; - wc.lpfnWndProc = MainWndProc; - wc.cbClsExtra = 0; - wc.cbWndExtra = 0; - wc.hInstance = hInstance; - wc.hIcon = LoadIcon(NULL, IDI_APPLICATION); - wc.hCursor = LoadCursor(hInstance, IDC_ARROW); - wc.hbrBackground = GetStockObject(WHITE_BRUSH); - wc.lpszMenuName = "U7433Menu"; - wc.lpszClassName = "IntClass"; - - return (RegisterClass(&wc)); -} - -/**************************************************************************** - - FUNCTION: InitInstance(HANDLE, int) - - PURPOSE: Saves instance handle and creates main window - -****************************************************************************/ - -BOOL InitInstance(hInstance, nCmdShow) -HANDLE hInstance; -int nCmdShow; -{ - HWND hWnd; - - hInst = hInstance; - hWnd = CreateWindow("IntClass", "PCI-7433 Dual Interrupt Sample", WS_OVERLAPPEDWINDOW, - 200, 100, 415, 270, NULL, NULL, hInstance, NULL); - if (!hWnd) return (FALSE); - ShowWindow(hWnd, nCmdShow); - UpdateWindow(hWnd); - return (TRUE); -} - -BOOL PASCAL setup(HWND hWnd, unsigned message, WPARAM wParam, LPARAM lParam) -{ - int i; - char n[16]; - char s[50]; - switch (message) { - case WM_INITDIALOG: - for (i=0;i<16;i++) { - wsprintf(n, "%d", i); - _strupr(n); - SendMessage(GetDlgItem(hWnd,IDC_COMBO1), CB_ADDSTRING, NULL, (LONG)(LPSTR) n); - } - SendMessage(GetDlgItem(hWnd,IDC_COMBO1) , CB_SETCURSEL, 0, 0L); - - break; - case WM_COMMAND: - switch(LOWORD(wParam)) { - - case IDC_COMBO1: - if (HIWORD(wParam) == CBN_CLOSEUP) { - i = (int)SendMessage(GetDlgItem(hWnd,IDC_COMBO1), CB_GETCURSEL, 0, 0L); - SendMessage(GetDlgItem(hWnd,IDC_COMBO1), CB_GETLBTEXT, i, (LPARAM)((LPCSTR)n)); - card_number = i; - } - return(TRUE); - case IDOK: - if ((card=Register_Card(PCI_7433C, card_number)) < 0) { - wsprintf(s, "Register_Card Error = %d\n", card); - MessageBox(hWnd, s, "Error", MB_OK); - } - EndDialog(hWnd, TRUE); - InvalidateRect(hWnd, NULL, FALSE); - return (TRUE); - case IDCANCEL: - EndDialog(hWnd, TRUE); - return (TRUE); - } - break; - } - return (FALSE); -} - -/**************************************************************************** - - FUNCTION: MainWndProc(HWND, UINT, WPARAM, LPARAM) - - PURPOSE: Processes messages - - -****************************************************************************/ - -long PASCAL MainWndProc(hWnd, message, wParam, lParam) -HWND hWnd; -unsigned message; -WPARAM wParam; -LPARAM lParam; -{ - PAINTSTRUCT ps; - HDC hDC; - char buf[20]; - char s[50]; - - switch(message) { - case WM_CREATE: - DialogBox(hInst,IDD_DIALOG2, hWnd, setup); - if(card<0) { - SendMessage(hWnd, WM_CLOSE, 0, 0L); - break; - } - DIO_SetDualInterrupt(card, INT1_EXT_SIGNAL, INT2_EXT_SIGNAL, hEvent); - - hMainWnd = hWnd; - _beginthread(IntThread, 0, 0); - _beginthread(Int2Thread, 0, 0); - break; - case WM_PAINT: - hDC = BeginPaint(hWnd, &ps); - TextOut(hDC, 20, 20, "This program shows the number of occurrence of interrupt",56); - TextOut(hDC, 20, 35, "for Dual interrupt lines.", 25); - TextOut(hDC, 20, 50, "INT1 interrupt is generated by external signal from DI bit-0.", 61); - TextOut(hDC, 20, 65, "INT2 interrupt is generated by external signal from DI bit-1.", 61); - wsprintf(buf,"INT1 count = %d", int_count); - TextOut(hDC, 120, 110, buf, strlen(buf)); - wsprintf(buf,"INT2 count = %d", int2_count); - TextOut(hDC, 120, 130, buf, strlen(buf)); - EndPaint(hWnd, &ps); - break; - case WM_COMMAND: - switch(LOWORD(wParam)) { - case IDM_EXIT: - DIO_SetDualInterrupt(card, INT1_DISABLE, INT2_DISABLE, hEvent); - SendMessage(hWnd, WM_CLOSE, 0, 0L); - break; - } - break; - case WM_DESTROY: - if (card >= 0) Release_Card(card); - PostQuitMessage(0); - break; - default: - return (DefWindowProc(hWnd, message, wParam, lParam)); - } - return(0L); -} - \ No newline at end of file diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7433C/SDK7433CDbEvt/7433INT.DSP b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7433C/SDK7433CDbEvt/7433INT.DSP deleted file mode 100644 index 639f3e8..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7433C/SDK7433CDbEvt/7433INT.DSP +++ /dev/null @@ -1,115 +0,0 @@ -# Microsoft Developer Studio Project File - Name="7433int" - Package Owner=<4> -# Microsoft Developer Studio Generated Build File, Format Version 6.00 -# ** DO NOT EDIT ** - -# TARGTYPE "Win32 (x86) Application" 0x0101 - -CFG=7433int - Win32 Release -!MESSAGE This is not a valid makefile. To build this project using NMAKE, -!MESSAGE use the Export Makefile command and run -!MESSAGE -!MESSAGE NMAKE /f "7433INT.MAK". -!MESSAGE -!MESSAGE You can specify a configuration when running NMAKE -!MESSAGE by defining the macro CFG on the command line. For example: -!MESSAGE -!MESSAGE NMAKE /f "7433INT.MAK" CFG="7433int - Win32 Release" -!MESSAGE -!MESSAGE Possible choices for configuration are: -!MESSAGE -!MESSAGE "7433int - Win32 Release" (based on "Win32 (x86) Application") -!MESSAGE "7433int - Win32 Debug" (based on "Win32 (x86) Application") -!MESSAGE - -# Begin Project -# PROP AllowPerConfigDependencies 0 -# PROP Scc_ProjName "" -# PROP Scc_LocalPath "" -CPP=cl.exe -MTL=midl.exe -RSC=rc.exe - -!IF "$(CFG)" == "7433int - Win32 Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir ".\Release" -# PROP BASE Intermediate_Dir ".\Release" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "" -# PROP Intermediate_Dir ".\Release" -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /YX /c -# ADD CPP /nologo /MT /W3 /GX /Od /I "..\..\..\include" /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /FD /c -# SUBTRACT CPP /YX -# ADD BASE MTL /nologo /D "NDEBUG" /win32 -# ADD MTL /nologo /D "NDEBUG" /mktyplib203 /win32 -# ADD BASE RSC /l 0x409 /d "NDEBUG" -# ADD RSC /l 0x409 /d "NDEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:windows /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ..\..\..\lib\PCI-DASK.lib /nologo /subsystem:windows /machine:I386 - -!ELSEIF "$(CFG)" == "7433int - Win32 Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir ".\Debug" -# PROP BASE Intermediate_Dir ".\Debug" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir ".\Debug" -# PROP Intermediate_Dir ".\Debug" -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /Gm /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /YX /c -# ADD CPP /nologo /MTd /W3 /Gm /GX /ZI /Od /I "..\..\..\include" /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /FD /c -# SUBTRACT CPP /YX -# ADD BASE MTL /nologo /D "_DEBUG" /win32 -# ADD MTL /nologo /D "_DEBUG" /mktyplib203 /win32 -# ADD BASE RSC /l 0x409 /d "_DEBUG" -# ADD RSC /l 0x409 /d "_DEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:windows /debug /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ..\..\..\lib\PCI-DASK.lib /nologo /subsystem:windows /debug /machine:I386 - -!ENDIF - -# Begin Target - -# Name "7433int - Win32 Release" -# Name "7433int - Win32 Debug" -# Begin Group "Source Files" - -# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;idl;hpj;bat;for;f90" -# Begin Source File - -SOURCE=.\7433int.c -# End Source File -# Begin Source File - -SOURCE=.\7433int.rc -# End Source File -# End Group -# Begin Group "Header Files" - -# PROP Default_Filter "h;hpp;hxx;hm;inl;fi;fd" -# Begin Source File - -SOURCE=.\Resource.h -# End Source File -# End Group -# Begin Group "Resource Files" - -# PROP Default_Filter "ico;cur;bmp;dlg;rc2;rct;bin;cnt;rtf;gif;jpg;jpeg;jpe" -# End Group -# End Target -# End Project diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7433C/SDK7433CDbEvt/7433INT.DSW b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7433C/SDK7433CDbEvt/7433INT.DSW deleted file mode 100644 index 8ff2cbe..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7433C/SDK7433CDbEvt/7433INT.DSW +++ /dev/null @@ -1,29 +0,0 @@ -Microsoft Developer Studio Workspace File, Format Version 6.00 -# WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE! - -############################################################################### - -Project: "7433int"=".\7433INT.DSP" - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ -}}} - -############################################################################### - -Global: - -Package=<5> -{{{ -}}} - -Package=<3> -{{{ -}}} - -############################################################################### - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7433C/SDK7433CDbEvt/7433INT.RC b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7433C/SDK7433CDbEvt/7433INT.RC deleted file mode 100644 index 0ead5da..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7433C/SDK7433CDbEvt/7433INT.RC +++ /dev/null @@ -1,115 +0,0 @@ -//Microsoft Developer Studio generated resource script. -// -#include "resource.h" - -#define APSTUDIO_READONLY_SYMBOLS -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 2 resource. -// -#define APSTUDIO_HIDDEN_SYMBOLS -#include "windows.h" -#undef APSTUDIO_HIDDEN_SYMBOLS - -///////////////////////////////////////////////////////////////////////////// -#undef APSTUDIO_READONLY_SYMBOLS - -///////////////////////////////////////////////////////////////////////////// -// English (U.S.) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -#ifdef _WIN32 -LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US -#pragma code_page(1252) -#endif //_WIN32 - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog -// - -IDD_DIALOG2 DIALOG DISCARDABLE 110, 10, 106, 61 -STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "Card Number" -FONT 10, "System" -BEGIN - DEFPUSHBUTTON "OK",IDOK,10,40,37,14 - PUSHBUTTON "Cancel",IDCANCEL,61,40,38,14 - LTEXT "Card Number",IDC_STATIC,3,13,47,13 - COMBOBOX IDC_COMBO1,51,13,48,84,CBS_DROPDOWN | WS_VSCROLL | - WS_TABSTOP -END - - -///////////////////////////////////////////////////////////////////////////// -// -// DESIGNINFO -// - -#ifdef APSTUDIO_INVOKED -GUIDELINES DESIGNINFO DISCARDABLE -BEGIN - IDD_DIALOG2, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 99 - TOPMARGIN, 7 - BOTTOMMARGIN, 54 - END -END -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// Menu -// - -U7433MENU MENU DISCARDABLE -BEGIN - MENUITEM "E&xit!", IDM_EXIT -END - - -#ifdef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// TEXTINCLUDE -// - -1 TEXTINCLUDE DISCARDABLE -BEGIN - "resource.h\0" -END - -2 TEXTINCLUDE DISCARDABLE -BEGIN - "#define APSTUDIO_HIDDEN_SYMBOLS\r\n" - "#include ""windows.h""\r\n" - "#undef APSTUDIO_HIDDEN_SYMBOLS\r\n" - "\0" -END - -3 TEXTINCLUDE DISCARDABLE -BEGIN - "\r\n" - "\0" -END - -#endif // APSTUDIO_INVOKED - -#endif // English (U.S.) resources -///////////////////////////////////////////////////////////////////////////// - - - -#ifndef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 3 resource. -// - - -///////////////////////////////////////////////////////////////////////////// -#endif // not APSTUDIO_INVOKED - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7433C/SDK7433CDbEvt/7433INT.exe b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7433C/SDK7433CDbEvt/7433INT.exe deleted file mode 100644 index 6525310..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7433C/SDK7433CDbEvt/7433INT.exe and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7433C/SDK7433CDbEvt/Resource.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7433C/SDK7433CDbEvt/Resource.h deleted file mode 100644 index d7f4b51..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7433C/SDK7433CDbEvt/Resource.h +++ /dev/null @@ -1,30 +0,0 @@ -//{{NO_DEPENDENCIES}} -// Microsoft Developer Studio generated include file. -// Used by 7433int.rc -// -#define IDM_SETUP 101 -#define IDD_DIALOG1 101 -#define IDD_DIALOG2 102 -#define IDM_EXIT 110 -#define IDM_GO 300 -#define IDM_ABOUT 301 -#define DMA_DATA 302 -#define ID_STOP 304 -#define IDM_CLEAR 305 -#define DMA_SPACE 500 -#define IDC_COMBO1 1004 -#define IDC_COMBO2 1005 -#define IDC_EDIT1 1007 -#define IDC_EDIT2 1008 -#define IDC_STATIC -1 - -// Next default values for new objects -// -#ifdef APSTUDIO_INVOKED -#ifndef APSTUDIO_READONLY_SYMBOLS -#define _APS_NEXT_RESOURCE_VALUE 103 -#define _APS_NEXT_COMMAND_VALUE 102 -#define _APS_NEXT_CONTROL_VALUE 1008 -#define _APS_NEXT_SYMED_VALUE 101 -#endif -#endif diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7433C/SDK7433CDbEvtMsg/7433INT.C b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7433C/SDK7433CDbEvtMsg/7433INT.C deleted file mode 100644 index dd57668..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7433C/SDK7433CDbEvtMsg/7433INT.C +++ /dev/null @@ -1,229 +0,0 @@ -/*;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; -;; Copyright (c) 1995-1999, ADLink Technology Inc. All rights reserved. ;; -;; ;; -;; File Name : 7433INT.C ;; -;; Purpose : This sample program demonstrates how to handle interrupt ;; -;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;*/ - -#include -#include -#include -#include -#include -#include "Dask.h" -#include "Resource.h" - -#define WM_INT 2000 - -HANDLE hInst; /* current instance */ -I16 card=-1, card_number = 0; -int int_count[2]= {0, 0}; -HWND hStart, hMainWnd; - -int PASCAL WinMain(HANDLE, HANDLE, LPSTR, int); -BOOL InitApplication(HANDLE); -BOOL InitInstance(HANDLE, int); -long PASCAL MainWndProc(HWND, unsigned, WPARAM, LPARAM); -LRESULT CALLBACK cbfn(); -void mesgfn(); - - - /********************************************************************** - - FUNCTION: WinMain(HANDLE, HANDLE, LPSTR, int) - PURPOSE: calls initialization function, processes message loop - - ***********************************************************************/ - - int PASCAL WinMain(hInstance, hPrevInstance, lpCmdLine, nCmdShow) - HANDLE hInstance; - HANDLE hPrevInstance; - LPSTR lpCmdLine; - int nCmdShow; - { - MSG msg; - - if(!hPrevInstance) - if(!InitApplication(hInstance)) - return(FALSE); - - if(!InitInstance(hInstance, nCmdShow)) - return(FALSE); - - while ( GetMessage(&msg, NULL, NULL, NULL)) - { - TranslateMessage(&msg); - DispatchMessage(&msg); - } - return(msg.wParam); - } - -/**************************************************************************** - - FUNCTION: InitApplication(HANDLE) - - PURPOSE: Initializes window data and registers window class - -****************************************************************************/ - -BOOL InitApplication(hInstance) -HANDLE hInstance; -{ - WNDCLASS wc; - - wc.style = NULL; - wc.lpfnWndProc = MainWndProc; - wc.cbClsExtra = 0; - wc.cbWndExtra = 0; - wc.hInstance = hInstance; - wc.hIcon = LoadIcon(NULL, IDI_APPLICATION); - wc.hCursor = LoadCursor(hInstance, IDC_ARROW); - wc.hbrBackground = GetStockObject(WHITE_BRUSH); - wc.lpszMenuName = "U7433Menu"; - wc.lpszClassName = "IntClass"; - - return (RegisterClass(&wc)); -} - -/**************************************************************************** - - FUNCTION: InitInstance(HANDLE, int) - - PURPOSE: Saves instance handle and creates main window - -****************************************************************************/ - -BOOL InitInstance(hInstance, nCmdShow) -HANDLE hInstance; -int nCmdShow; -{ - HWND hWnd; - - hInst = hInstance; - hWnd = CreateWindow("IntClass", "PCI-7433 Dual Interrupt Sample", WS_OVERLAPPEDWINDOW, - 200, 100, 415, 270, NULL, NULL, hInstance, NULL); - if (!hWnd) return (FALSE); - ShowWindow(hWnd, nCmdShow); - UpdateWindow(hWnd); - return (TRUE); -} - -BOOL PASCAL setup(HWND hWnd, unsigned message, WPARAM wParam, LPARAM lParam) -{ - int i; - char n[16]; - char s[50]; - switch (message) { - case WM_INITDIALOG: - for (i=0;i<16;i++) { - wsprintf(n, "%d", i); - _strupr(n); - SendMessage(GetDlgItem(hWnd,IDC_COMBO1), CB_ADDSTRING, NULL, (LONG)(LPSTR) n); - } - SendMessage(GetDlgItem(hWnd,IDC_COMBO1) , CB_SETCURSEL, 0, 0L); - - break; - case WM_COMMAND: - switch(LOWORD(wParam)) { - - case IDC_COMBO1: - if (HIWORD(wParam) == CBN_CLOSEUP) { - i = (int)SendMessage(GetDlgItem(hWnd,IDC_COMBO1), CB_GETCURSEL, 0, 0L); - SendMessage(GetDlgItem(hWnd,IDC_COMBO1), CB_GETLBTEXT, i, (LPARAM)((LPCSTR)n)); - card_number = i; - } - return(TRUE); - case IDOK: - if ((card=Register_Card(PCI_7433C, card_number)) < 0) { - wsprintf(s, "Register_Card Error = %d\n", card); - MessageBox(hWnd, s, "Error", MB_OK); - } - EndDialog(hWnd, TRUE); - InvalidateRect(hWnd, NULL, FALSE); - return (TRUE); - case IDCANCEL: - EndDialog(hWnd, TRUE); - return (TRUE); - } - break; - } - return (FALSE); -} - -/**************************************************************************** - - FUNCTION: MainWndProc(HWND, UINT, WPARAM, LPARAM) - - PURPOSE: Processes messages - - -****************************************************************************/ - -long PASCAL MainWndProc(hWnd, message, wParam, lParam) -HWND hWnd; -unsigned message; -WPARAM wParam; -LPARAM lParam; -{ - PAINTSTRUCT ps; - HDC hDC; - char buf[20]; - - switch(message) { - case WM_CREATE: - DialogBox(hInst,IDD_DIALOG2, hWnd, setup); - if(card<0) { - SendMessage(hWnd, WM_CLOSE, 0, 0L); - break; - } - int_count[0]=0; - int_count[1]=0; - DIO_INT1_EventMessage (card, INT1_EXT_SIGNAL, hWnd, WM_INT, NULL); - DIO_INT2_EventMessage (card, INT2_EXT_SIGNAL, hWnd, NULL, (void *) cbfn); - hMainWnd = hWnd; - break; - case WM_PAINT: - hDC = BeginPaint(hWnd, &ps); - TextOut(hDC, 20, 20, "This program shows the number of occurrence of interrupt",56); - TextOut(hDC, 20, 35, "for Dual interrupt lines.", 25); - TextOut(hDC, 20, 50, "INT1 interrupt is generated by external signal from DI bit-0.", 61); - TextOut(hDC, 20, 65, "INT2 interrupt is generated by external signal from DI bit-1.", 61); - wsprintf(buf,"INT1 count = %d", int_count[0]); - TextOut(hDC, 120, 110, buf, strlen(buf)); - wsprintf(buf,"INT2 count = %d", int_count[1]); - TextOut(hDC, 120, 130, buf, strlen(buf)); - EndPaint(hWnd, &ps); - break; - case WM_COMMAND: - switch(LOWORD(wParam)) { - case IDM_EXIT: - DIO_INT1_EventMessage (card, INT1_DISABLE, hMainWnd, NULL, NULL); - DIO_INT2_EventMessage (card, INT2_DISABLE, hMainWnd, NULL, NULL); - SendMessage(hWnd, WM_CLOSE, 0, 0L); - break; - } - break; - case WM_INT: - mesgfn(); - break; - case WM_DESTROY: - if (card >= 0) Release_Card(card); - PostQuitMessage(0); - break; - default: - return (DefWindowProc(hWnd, message, wParam, lParam)); - } - return(0L); -} - -void mesgfn() -{ - int_count[0]++; - InvalidateRect(hMainWnd, NULL, FALSE); -} - -LRESULT CALLBACK cbfn() -{ - int_count[1]++; - InvalidateRect(hMainWnd, NULL, FALSE); -} \ No newline at end of file diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7433C/SDK7433CDbEvtMsg/7433INT.DSP b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7433C/SDK7433CDbEvtMsg/7433INT.DSP deleted file mode 100644 index 639f3e8..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7433C/SDK7433CDbEvtMsg/7433INT.DSP +++ /dev/null @@ -1,115 +0,0 @@ -# Microsoft Developer Studio Project File - Name="7433int" - Package Owner=<4> -# Microsoft Developer Studio Generated Build File, Format Version 6.00 -# ** DO NOT EDIT ** - -# TARGTYPE "Win32 (x86) Application" 0x0101 - -CFG=7433int - Win32 Release -!MESSAGE This is not a valid makefile. To build this project using NMAKE, -!MESSAGE use the Export Makefile command and run -!MESSAGE -!MESSAGE NMAKE /f "7433INT.MAK". -!MESSAGE -!MESSAGE You can specify a configuration when running NMAKE -!MESSAGE by defining the macro CFG on the command line. For example: -!MESSAGE -!MESSAGE NMAKE /f "7433INT.MAK" CFG="7433int - Win32 Release" -!MESSAGE -!MESSAGE Possible choices for configuration are: -!MESSAGE -!MESSAGE "7433int - Win32 Release" (based on "Win32 (x86) Application") -!MESSAGE "7433int - Win32 Debug" (based on "Win32 (x86) Application") -!MESSAGE - -# Begin Project -# PROP AllowPerConfigDependencies 0 -# PROP Scc_ProjName "" -# PROP Scc_LocalPath "" -CPP=cl.exe -MTL=midl.exe -RSC=rc.exe - -!IF "$(CFG)" == "7433int - Win32 Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir ".\Release" -# PROP BASE Intermediate_Dir ".\Release" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "" -# PROP Intermediate_Dir ".\Release" -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /YX /c -# ADD CPP /nologo /MT /W3 /GX /Od /I "..\..\..\include" /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /FD /c -# SUBTRACT CPP /YX -# ADD BASE MTL /nologo /D "NDEBUG" /win32 -# ADD MTL /nologo /D "NDEBUG" /mktyplib203 /win32 -# ADD BASE RSC /l 0x409 /d "NDEBUG" -# ADD RSC /l 0x409 /d "NDEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:windows /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ..\..\..\lib\PCI-DASK.lib /nologo /subsystem:windows /machine:I386 - -!ELSEIF "$(CFG)" == "7433int - Win32 Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir ".\Debug" -# PROP BASE Intermediate_Dir ".\Debug" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir ".\Debug" -# PROP Intermediate_Dir ".\Debug" -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /Gm /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /YX /c -# ADD CPP /nologo /MTd /W3 /Gm /GX /ZI /Od /I "..\..\..\include" /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /FD /c -# SUBTRACT CPP /YX -# ADD BASE MTL /nologo /D "_DEBUG" /win32 -# ADD MTL /nologo /D "_DEBUG" /mktyplib203 /win32 -# ADD BASE RSC /l 0x409 /d "_DEBUG" -# ADD RSC /l 0x409 /d "_DEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:windows /debug /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ..\..\..\lib\PCI-DASK.lib /nologo /subsystem:windows /debug /machine:I386 - -!ENDIF - -# Begin Target - -# Name "7433int - Win32 Release" -# Name "7433int - Win32 Debug" -# Begin Group "Source Files" - -# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;idl;hpj;bat;for;f90" -# Begin Source File - -SOURCE=.\7433int.c -# End Source File -# Begin Source File - -SOURCE=.\7433int.rc -# End Source File -# End Group -# Begin Group "Header Files" - -# PROP Default_Filter "h;hpp;hxx;hm;inl;fi;fd" -# Begin Source File - -SOURCE=.\Resource.h -# End Source File -# End Group -# Begin Group "Resource Files" - -# PROP Default_Filter "ico;cur;bmp;dlg;rc2;rct;bin;cnt;rtf;gif;jpg;jpeg;jpe" -# End Group -# End Target -# End Project diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7433C/SDK7433CDbEvtMsg/7433INT.DSW b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7433C/SDK7433CDbEvtMsg/7433INT.DSW deleted file mode 100644 index 8ff2cbe..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7433C/SDK7433CDbEvtMsg/7433INT.DSW +++ /dev/null @@ -1,29 +0,0 @@ -Microsoft Developer Studio Workspace File, Format Version 6.00 -# WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE! - -############################################################################### - -Project: "7433int"=".\7433INT.DSP" - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ -}}} - -############################################################################### - -Global: - -Package=<5> -{{{ -}}} - -Package=<3> -{{{ -}}} - -############################################################################### - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7433C/SDK7433CDbEvtMsg/7433INT.RC b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7433C/SDK7433CDbEvtMsg/7433INT.RC deleted file mode 100644 index 0ead5da..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7433C/SDK7433CDbEvtMsg/7433INT.RC +++ /dev/null @@ -1,115 +0,0 @@ -//Microsoft Developer Studio generated resource script. -// -#include "resource.h" - -#define APSTUDIO_READONLY_SYMBOLS -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 2 resource. -// -#define APSTUDIO_HIDDEN_SYMBOLS -#include "windows.h" -#undef APSTUDIO_HIDDEN_SYMBOLS - -///////////////////////////////////////////////////////////////////////////// -#undef APSTUDIO_READONLY_SYMBOLS - -///////////////////////////////////////////////////////////////////////////// -// English (U.S.) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -#ifdef _WIN32 -LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US -#pragma code_page(1252) -#endif //_WIN32 - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog -// - -IDD_DIALOG2 DIALOG DISCARDABLE 110, 10, 106, 61 -STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "Card Number" -FONT 10, "System" -BEGIN - DEFPUSHBUTTON "OK",IDOK,10,40,37,14 - PUSHBUTTON "Cancel",IDCANCEL,61,40,38,14 - LTEXT "Card Number",IDC_STATIC,3,13,47,13 - COMBOBOX IDC_COMBO1,51,13,48,84,CBS_DROPDOWN | WS_VSCROLL | - WS_TABSTOP -END - - -///////////////////////////////////////////////////////////////////////////// -// -// DESIGNINFO -// - -#ifdef APSTUDIO_INVOKED -GUIDELINES DESIGNINFO DISCARDABLE -BEGIN - IDD_DIALOG2, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 99 - TOPMARGIN, 7 - BOTTOMMARGIN, 54 - END -END -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// Menu -// - -U7433MENU MENU DISCARDABLE -BEGIN - MENUITEM "E&xit!", IDM_EXIT -END - - -#ifdef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// TEXTINCLUDE -// - -1 TEXTINCLUDE DISCARDABLE -BEGIN - "resource.h\0" -END - -2 TEXTINCLUDE DISCARDABLE -BEGIN - "#define APSTUDIO_HIDDEN_SYMBOLS\r\n" - "#include ""windows.h""\r\n" - "#undef APSTUDIO_HIDDEN_SYMBOLS\r\n" - "\0" -END - -3 TEXTINCLUDE DISCARDABLE -BEGIN - "\r\n" - "\0" -END - -#endif // APSTUDIO_INVOKED - -#endif // English (U.S.) resources -///////////////////////////////////////////////////////////////////////////// - - - -#ifndef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 3 resource. -// - - -///////////////////////////////////////////////////////////////////////////// -#endif // not APSTUDIO_INVOKED - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7433C/SDK7433CDbEvtMsg/7433INT.exe b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7433C/SDK7433CDbEvtMsg/7433INT.exe deleted file mode 100644 index 00ff931..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7433C/SDK7433CDbEvtMsg/7433INT.exe and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7433C/SDK7433CDbEvtMsg/Resource.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7433C/SDK7433CDbEvtMsg/Resource.h deleted file mode 100644 index d7f4b51..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7433C/SDK7433CDbEvtMsg/Resource.h +++ /dev/null @@ -1,30 +0,0 @@ -//{{NO_DEPENDENCIES}} -// Microsoft Developer Studio generated include file. -// Used by 7433int.rc -// -#define IDM_SETUP 101 -#define IDD_DIALOG1 101 -#define IDD_DIALOG2 102 -#define IDM_EXIT 110 -#define IDM_GO 300 -#define IDM_ABOUT 301 -#define DMA_DATA 302 -#define ID_STOP 304 -#define IDM_CLEAR 305 -#define DMA_SPACE 500 -#define IDC_COMBO1 1004 -#define IDC_COMBO2 1005 -#define IDC_EDIT1 1007 -#define IDC_EDIT2 1008 -#define IDC_STATIC -1 - -// Next default values for new objects -// -#ifdef APSTUDIO_INVOKED -#ifndef APSTUDIO_READONLY_SYMBOLS -#define _APS_NEXT_RESOURCE_VALUE 103 -#define _APS_NEXT_COMMAND_VALUE 102 -#define _APS_NEXT_CONTROL_VALUE 1008 -#define _APS_NEXT_SYMED_VALUE 101 -#endif -#endif diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7433C/SDK7433Cint/7433INT.C b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7433C/SDK7433Cint/7433INT.C deleted file mode 100644 index 7ad67b0..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7433C/SDK7433Cint/7433INT.C +++ /dev/null @@ -1,219 +0,0 @@ -/*;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; -;; Copyright (c) 1995-1999, ADLink Technology Inc. All rights reserved. ;; -;; ;; -;; File Name : 7433INT.C ;; -;; Purpose : This sample program demonstrates how to handle interrupt ;; -;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;*/ - -#include -#include -#include -#include -#include -#include "Dask.h" -#include "Resource.h" - -HANDLE hInst; /* current instance */ -U16 wBus, wSlot; -I16 card=-1, card_number = 0; -int int_count=0; -HWND hStart, hMainWnd; -HANDLE hEvent[2]; - -int PASCAL WinMain(HANDLE, HANDLE, LPSTR, int); -BOOL InitApplication(HANDLE); -BOOL InitInstance(HANDLE, int); -long PASCAL MainWndProc(HWND, unsigned, WPARAM, LPARAM); - -void -IntThread(void* pArg) -{ - while (1) { - if (WaitForSingleObject(hEvent[0], INFINITE) == WAIT_OBJECT_0) { - int_count++; - ResetEvent(hEvent[0]); - InvalidateRect(hMainWnd, NULL, FALSE); - } - } - _endthread(); -} - - /********************************************************************** - - FUNCTION: WinMain(HANDLE, HANDLE, LPSTR, int) - PURPOSE: calls initialization function, processes message loop - - ***********************************************************************/ - - int PASCAL WinMain(hInstance, hPrevInstance, lpCmdLine, nCmdShow) - HANDLE hInstance; - HANDLE hPrevInstance; - LPSTR lpCmdLine; - int nCmdShow; - { - MSG msg; - - if(!hPrevInstance) - if(!InitApplication(hInstance)) - return(FALSE); - - if(!InitInstance(hInstance, nCmdShow)) - return(FALSE); - - while ( GetMessage(&msg, NULL, NULL, NULL)) - { - TranslateMessage(&msg); - DispatchMessage(&msg); - } - return(msg.wParam); - } - -/**************************************************************************** - - FUNCTION: InitApplication(HANDLE) - - PURPOSE: Initializes window data and registers window class - -****************************************************************************/ - -BOOL InitApplication(hInstance) -HANDLE hInstance; -{ - WNDCLASS wc; - - wc.style = NULL; - wc.lpfnWndProc = MainWndProc; - wc.cbClsExtra = 0; - wc.cbWndExtra = 0; - wc.hInstance = hInstance; - wc.hIcon = LoadIcon(NULL, IDI_APPLICATION); - wc.hCursor = LoadCursor(hInstance, IDC_ARROW); - wc.hbrBackground = GetStockObject(WHITE_BRUSH); - wc.lpszMenuName = "U7433Menu"; - wc.lpszClassName = "IntClass"; - - return (RegisterClass(&wc)); -} - -/**************************************************************************** - - FUNCTION: InitInstance(HANDLE, int) - - PURPOSE: Saves instance handle and creates main window - -****************************************************************************/ - -BOOL InitInstance(hInstance, nCmdShow) -HANDLE hInstance; -int nCmdShow; -{ - HWND hWnd; - - hInst = hInstance; - hWnd = CreateWindow("IntClass", "PCI-7433 Interrupt Sample (INT1)", WS_OVERLAPPEDWINDOW, - 200, 100, 360, 270, NULL, NULL, hInstance, NULL); - if (!hWnd) return (FALSE); - ShowWindow(hWnd, nCmdShow); - UpdateWindow(hWnd); - return (TRUE); -} - -BOOL PASCAL setup(HWND hWnd, unsigned message, WPARAM wParam, LPARAM lParam) -{ - int i; - char n[16]; - char s[50]; - switch (message) { - case WM_INITDIALOG: - for (i=0;i<16;i++) { - wsprintf(n, "%d", i); - _strupr(n); - SendMessage(GetDlgItem(hWnd,IDC_COMBO1), CB_ADDSTRING, NULL, (LONG)(LPSTR) n); - } - SendMessage(GetDlgItem(hWnd,IDC_COMBO1) , CB_SETCURSEL, 0, 0L); - - break; - case WM_COMMAND: - switch(LOWORD(wParam)) { - - case IDC_COMBO1: - if (HIWORD(wParam) == CBN_CLOSEUP) { - i = (int)SendMessage(GetDlgItem(hWnd,IDC_COMBO1), CB_GETCURSEL, 0, 0L); - SendMessage(GetDlgItem(hWnd,IDC_COMBO1), CB_GETLBTEXT, i, (LPARAM)((LPCSTR)n)); - card_number = i; - } - return(TRUE); - case IDOK: - if ((card=Register_Card(PCI_7433C, card_number)) < 0) { - wsprintf(s, "Register_Card Error = %d\n", card); - MessageBox(hWnd, s, "Error", MB_OK); - } - EndDialog(hWnd, TRUE); - InvalidateRect(hWnd, NULL, FALSE); - return (TRUE); - case IDCANCEL: - EndDialog(hWnd, TRUE); - return (TRUE); - } - break; - } - return (FALSE); -} -/**************************************************************************** - - FUNCTION: MainWndProc(HWND, UINT, WPARAM, LPARAM) - - PURPOSE: Processes messages - - -****************************************************************************/ - -long PASCAL MainWndProc(hWnd, message, wParam, lParam) -HWND hWnd; -unsigned message; -WPARAM wParam; -LPARAM lParam; -{ - PAINTSTRUCT ps; - HDC hDC; - char buf[20]; - - switch(message) { - case WM_CREATE: - DialogBox(hInst,IDD_DIALOG2, hWnd, setup); - if(card<0) { - SendMessage(hWnd, WM_CLOSE, 0, 0L); - break; - } - DIO_SetDualInterrupt(card, INT1_EXT_SIGNAL, INT2_DISABLE, hEvent); - - hMainWnd = hWnd; - _beginthread(IntThread, 0, 0); - break; - case WM_PAINT: - hDC = BeginPaint(hWnd, &ps); - TextOut(hDC, 20, 30, "This program shows the number of occurrence", 43); - TextOut(hDC, 20, 45, "of INT1 interupt. INT1 interrupt is generated", 45); - TextOut(hDC, 20, 60, "by external signal from DI bit-0.", 33); - wsprintf(buf,"INT count = %d", int_count); - TextOut(hDC, 120, 110, buf, strlen(buf)); - EndPaint(hWnd, &ps); - break; - case WM_COMMAND: - switch(LOWORD(wParam)) { - case IDM_EXIT: - DIO_SetDualInterrupt(card, INT1_DISABLE, INT2_DISABLE, hEvent); - SendMessage(hWnd, WM_CLOSE, 0, 0L); - break; - } - break; - case WM_DESTROY: - if (card >= 0) Release_Card(card); - PostQuitMessage(0); - break; - default: - return (DefWindowProc(hWnd, message, wParam, lParam)); - } - return(0L); -} - \ No newline at end of file diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7433C/SDK7433Cint/7433INT.DSP b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7433C/SDK7433Cint/7433INT.DSP deleted file mode 100644 index 639f3e8..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7433C/SDK7433Cint/7433INT.DSP +++ /dev/null @@ -1,115 +0,0 @@ -# Microsoft Developer Studio Project File - Name="7433int" - Package Owner=<4> -# Microsoft Developer Studio Generated Build File, Format Version 6.00 -# ** DO NOT EDIT ** - -# TARGTYPE "Win32 (x86) Application" 0x0101 - -CFG=7433int - Win32 Release -!MESSAGE This is not a valid makefile. To build this project using NMAKE, -!MESSAGE use the Export Makefile command and run -!MESSAGE -!MESSAGE NMAKE /f "7433INT.MAK". -!MESSAGE -!MESSAGE You can specify a configuration when running NMAKE -!MESSAGE by defining the macro CFG on the command line. For example: -!MESSAGE -!MESSAGE NMAKE /f "7433INT.MAK" CFG="7433int - Win32 Release" -!MESSAGE -!MESSAGE Possible choices for configuration are: -!MESSAGE -!MESSAGE "7433int - Win32 Release" (based on "Win32 (x86) Application") -!MESSAGE "7433int - Win32 Debug" (based on "Win32 (x86) Application") -!MESSAGE - -# Begin Project -# PROP AllowPerConfigDependencies 0 -# PROP Scc_ProjName "" -# PROP Scc_LocalPath "" -CPP=cl.exe -MTL=midl.exe -RSC=rc.exe - -!IF "$(CFG)" == "7433int - Win32 Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir ".\Release" -# PROP BASE Intermediate_Dir ".\Release" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "" -# PROP Intermediate_Dir ".\Release" -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /YX /c -# ADD CPP /nologo /MT /W3 /GX /Od /I "..\..\..\include" /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /FD /c -# SUBTRACT CPP /YX -# ADD BASE MTL /nologo /D "NDEBUG" /win32 -# ADD MTL /nologo /D "NDEBUG" /mktyplib203 /win32 -# ADD BASE RSC /l 0x409 /d "NDEBUG" -# ADD RSC /l 0x409 /d "NDEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:windows /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ..\..\..\lib\PCI-DASK.lib /nologo /subsystem:windows /machine:I386 - -!ELSEIF "$(CFG)" == "7433int - Win32 Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir ".\Debug" -# PROP BASE Intermediate_Dir ".\Debug" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir ".\Debug" -# PROP Intermediate_Dir ".\Debug" -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /Gm /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /YX /c -# ADD CPP /nologo /MTd /W3 /Gm /GX /ZI /Od /I "..\..\..\include" /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /FD /c -# SUBTRACT CPP /YX -# ADD BASE MTL /nologo /D "_DEBUG" /win32 -# ADD MTL /nologo /D "_DEBUG" /mktyplib203 /win32 -# ADD BASE RSC /l 0x409 /d "_DEBUG" -# ADD RSC /l 0x409 /d "_DEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:windows /debug /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ..\..\..\lib\PCI-DASK.lib /nologo /subsystem:windows /debug /machine:I386 - -!ENDIF - -# Begin Target - -# Name "7433int - Win32 Release" -# Name "7433int - Win32 Debug" -# Begin Group "Source Files" - -# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;idl;hpj;bat;for;f90" -# Begin Source File - -SOURCE=.\7433int.c -# End Source File -# Begin Source File - -SOURCE=.\7433int.rc -# End Source File -# End Group -# Begin Group "Header Files" - -# PROP Default_Filter "h;hpp;hxx;hm;inl;fi;fd" -# Begin Source File - -SOURCE=.\Resource.h -# End Source File -# End Group -# Begin Group "Resource Files" - -# PROP Default_Filter "ico;cur;bmp;dlg;rc2;rct;bin;cnt;rtf;gif;jpg;jpeg;jpe" -# End Group -# End Target -# End Project diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7433C/SDK7433Cint/7433INT.DSW b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7433C/SDK7433Cint/7433INT.DSW deleted file mode 100644 index 8ff2cbe..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7433C/SDK7433Cint/7433INT.DSW +++ /dev/null @@ -1,29 +0,0 @@ -Microsoft Developer Studio Workspace File, Format Version 6.00 -# WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE! - -############################################################################### - -Project: "7433int"=".\7433INT.DSP" - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ -}}} - -############################################################################### - -Global: - -Package=<5> -{{{ -}}} - -Package=<3> -{{{ -}}} - -############################################################################### - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7433C/SDK7433Cint/7433INT.RC b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7433C/SDK7433Cint/7433INT.RC deleted file mode 100644 index 79a705f..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7433C/SDK7433Cint/7433INT.RC +++ /dev/null @@ -1,115 +0,0 @@ -//Microsoft Developer Studio generated resource script. -// -#include "resource.h" - -#define APSTUDIO_READONLY_SYMBOLS -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 2 resource. -// -#define APSTUDIO_HIDDEN_SYMBOLS -#include "windows.h" -#undef APSTUDIO_HIDDEN_SYMBOLS - -///////////////////////////////////////////////////////////////////////////// -#undef APSTUDIO_READONLY_SYMBOLS - -///////////////////////////////////////////////////////////////////////////// -// English (U.S.) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -#ifdef _WIN32 -LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US -#pragma code_page(1252) -#endif //_WIN32 - -#ifdef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// TEXTINCLUDE -// - -1 TEXTINCLUDE DISCARDABLE -BEGIN - "resource.h\0" -END - -2 TEXTINCLUDE DISCARDABLE -BEGIN - "#define APSTUDIO_HIDDEN_SYMBOLS\r\n" - "#include ""windows.h""\r\n" - "#undef APSTUDIO_HIDDEN_SYMBOLS\r\n" - "\0" -END - -3 TEXTINCLUDE DISCARDABLE -BEGIN - "\r\n" - "\0" -END - -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// Menu -// - -U7433MENU MENU DISCARDABLE -BEGIN - MENUITEM "E&xit!", IDM_EXIT -END - - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog -// - -IDD_DIALOG2 DIALOG DISCARDABLE 110, 10, 106, 61 -STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "Card Number" -FONT 10, "System" -BEGIN - DEFPUSHBUTTON "OK",IDOK,10,40,37,14 - PUSHBUTTON "Cancel",IDCANCEL,61,40,38,14 - LTEXT "Card Number",IDC_STATIC,3,13,47,13 - COMBOBOX IDC_COMBO1,51,13,48,84,CBS_DROPDOWN | WS_VSCROLL | - WS_TABSTOP -END - - -///////////////////////////////////////////////////////////////////////////// -// -// DESIGNINFO -// - -#ifdef APSTUDIO_INVOKED -GUIDELINES DESIGNINFO DISCARDABLE -BEGIN - IDD_DIALOG2, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 99 - TOPMARGIN, 7 - BOTTOMMARGIN, 54 - END -END -#endif // APSTUDIO_INVOKED - -#endif // English (U.S.) resources -///////////////////////////////////////////////////////////////////////////// - - - -#ifndef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 3 resource. -// - - -///////////////////////////////////////////////////////////////////////////// -#endif // not APSTUDIO_INVOKED - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7433C/SDK7433Cint/7433INT.exe b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7433C/SDK7433Cint/7433INT.exe deleted file mode 100644 index 770545c..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7433C/SDK7433Cint/7433INT.exe and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7433C/SDK7433Cint/Resource.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7433C/SDK7433Cint/Resource.h deleted file mode 100644 index d7f4b51..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7433C/SDK7433Cint/Resource.h +++ /dev/null @@ -1,30 +0,0 @@ -//{{NO_DEPENDENCIES}} -// Microsoft Developer Studio generated include file. -// Used by 7433int.rc -// -#define IDM_SETUP 101 -#define IDD_DIALOG1 101 -#define IDD_DIALOG2 102 -#define IDM_EXIT 110 -#define IDM_GO 300 -#define IDM_ABOUT 301 -#define DMA_DATA 302 -#define ID_STOP 304 -#define IDM_CLEAR 305 -#define DMA_SPACE 500 -#define IDC_COMBO1 1004 -#define IDC_COMBO2 1005 -#define IDC_EDIT1 1007 -#define IDC_EDIT2 1008 -#define IDC_STATIC -1 - -// Next default values for new objects -// -#ifdef APSTUDIO_INVOKED -#ifndef APSTUDIO_READONLY_SYMBOLS -#define _APS_NEXT_RESOURCE_VALUE 103 -#define _APS_NEXT_COMMAND_VALUE 102 -#define _APS_NEXT_CONTROL_VALUE 1008 -#define _APS_NEXT_SYMED_VALUE 101 -#endif -#endif diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7433C/SDK7433CintMsg/7433INT.C b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7433C/SDK7433CintMsg/7433INT.C deleted file mode 100644 index 382b1d2..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7433C/SDK7433CintMsg/7433INT.C +++ /dev/null @@ -1,222 +0,0 @@ -/*;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; -;; Copyright (c) 1995-1999, ADLink Technology Inc. All rights reserved. ;; -;; ;; -;; File Name : 7433INT.C ;; -;; Purpose : This sample program demonstrates how to handle interrupt ;; -;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;*/ - -#include -#include -#include -#include -#include -#include "Dask.h" -#include "Resource.h" - -#define WM_INT 2000 //interrupt comming message - -HANDLE hInst; /* current instance */ -I16 card=-1, card_number = 0; -int int_count=0; -HWND hStart, hMainWnd; - -int PASCAL WinMain(HANDLE, HANDLE, LPSTR, int); -BOOL InitApplication(HANDLE); -BOOL InitInstance(HANDLE, int); -long PASCAL MainWndProc(HWND, unsigned, WPARAM, LPARAM); -void mesgfn(); - - /********************************************************************** - - FUNCTION: WinMain(HANDLE, HANDLE, LPSTR, int) - PURPOSE: calls initialization function, processes message loop - - ***********************************************************************/ - - int PASCAL WinMain(hInstance, hPrevInstance, lpCmdLine, nCmdShow) - HANDLE hInstance; - HANDLE hPrevInstance; - LPSTR lpCmdLine; - int nCmdShow; - { - MSG msg; - - if(!hPrevInstance) - if(!InitApplication(hInstance)) - return(FALSE); - - if(!InitInstance(hInstance, nCmdShow)) - return(FALSE); - - while ( GetMessage(&msg, NULL, NULL, NULL)) - { - TranslateMessage(&msg); - DispatchMessage(&msg); - } - return(msg.wParam); - } - -/**************************************************************************** - - FUNCTION: InitApplication(HANDLE) - - PURPOSE: Initializes window data and registers window class - -****************************************************************************/ - -BOOL InitApplication(hInstance) -HANDLE hInstance; -{ - WNDCLASS wc; - - wc.style = NULL; - wc.lpfnWndProc = MainWndProc; - wc.cbClsExtra = 0; - wc.cbWndExtra = 0; - wc.hInstance = hInstance; - wc.hIcon = LoadIcon(NULL, IDI_APPLICATION); - wc.hCursor = LoadCursor(hInstance, IDC_ARROW); - wc.hbrBackground = GetStockObject(WHITE_BRUSH); - wc.lpszMenuName = "U7433Menu"; - wc.lpszClassName = "IntClass"; - - return (RegisterClass(&wc)); -} - -/**************************************************************************** - - FUNCTION: InitInstance(HANDLE, int) - - PURPOSE: Saves instance handle and creates main window - -****************************************************************************/ - -BOOL InitInstance(hInstance, nCmdShow) -HANDLE hInstance; -int nCmdShow; -{ - HWND hWnd; - - hInst = hInstance; - hWnd = CreateWindow("IntClass", "PCI-7433 Interrupt Sample (INT1)", WS_OVERLAPPEDWINDOW, - 200, 100, 360, 270, NULL, NULL, hInstance, NULL); - if (!hWnd) return (FALSE); - ShowWindow(hWnd, nCmdShow); - UpdateWindow(hWnd); - return (TRUE); -} - -BOOL PASCAL setup(HWND hWnd, unsigned message, WPARAM wParam, LPARAM lParam) -{ - int i; - char n[16]; - char s[50]; - switch (message) { - case WM_INITDIALOG: - for (i=0;i<16;i++) { - wsprintf(n, "%d", i); - _strupr(n); - SendMessage(GetDlgItem(hWnd,IDC_COMBO1), CB_ADDSTRING, NULL, (LONG)(LPSTR) n); - } - SendMessage(GetDlgItem(hWnd,IDC_COMBO1) , CB_SETCURSEL, 0, 0L); - - break; - case WM_COMMAND: - switch(LOWORD(wParam)) { - - case IDC_COMBO1: - if (HIWORD(wParam) == CBN_CLOSEUP) { - i = (int)SendMessage(GetDlgItem(hWnd,IDC_COMBO1), CB_GETCURSEL, 0, 0L); - SendMessage(GetDlgItem(hWnd,IDC_COMBO1), CB_GETLBTEXT, i, (LPARAM)((LPCSTR)n)); - card_number = i; - } - return(TRUE); - case IDOK: - if ((card=Register_Card(PCI_7433C, card_number)) < 0) { - wsprintf(s, "Register_Card Error = %d\n", card); - MessageBox(hWnd, s, "Error", MB_OK); - } - EndDialog(hWnd, TRUE); - InvalidateRect(hWnd, NULL, FALSE); - return (TRUE); - case IDCANCEL: - EndDialog(hWnd, TRUE); - return (TRUE); - } - break; - } - return (FALSE); -} -/**************************************************************************** - - FUNCTION: MainWndProc(HWND, UINT, WPARAM, LPARAM) - - PURPOSE: Processes messages - - -****************************************************************************/ - -long PASCAL MainWndProc(hWnd, message, wParam, lParam) -HWND hWnd; -unsigned message; -WPARAM wParam; -LPARAM lParam; -{ - PAINTSTRUCT ps; - HDC hDC; - char s[50]; - - switch(message) { - case WM_CREATE: - DialogBox(hInst,IDD_DIALOG2, hWnd, setup); - if(card<0) { - SendMessage(hWnd, WM_CLOSE, 0, 0L); - break; - } - int_count = 0; - DIO_INT1_EventMessage (card, INT1_EXT_SIGNAL, hWnd, WM_INT, NULL); - hMainWnd = hWnd; - break; - case WM_PAINT: - hDC = BeginPaint(hWnd, &ps); - TextOut(hDC, 20, 30, "This program shows the number of occurrence", 43); - TextOut(hDC, 20, 45, "of INT1 interupt. INT1 interrupt is generated", 45); - TextOut(hDC, 20, 60, "by external signal from DI bit-0.", 33); - wsprintf(s,"INT1 Count = %d ", int_count); - TextOut(hDC,120,140,s,strlen(s)); - EndPaint(hWnd, &ps); - break; - case WM_COMMAND: - switch(LOWORD(wParam)) { - case IDM_EXIT: - DIO_INT1_EventMessage (card, INT1_DISABLE, hMainWnd, NULL, NULL); - SendMessage(hWnd, WM_CLOSE, 0, 0L); - break; - } - break; - case WM_INT: //interrupt comming message - mesgfn(); - break; - case WM_DESTROY: - if (card >= 0) Release_Card(card); - PostQuitMessage(0); - break; - default: - return (DefWindowProc(hWnd, message, wParam, lParam)); - } - return(0L); -} - -void mesgfn() -{ - HDC hDC; - char Buf[80]; - - hDC=GetDC(hMainWnd); - int_count++; - - wsprintf(Buf,"INT1 Count = %d ", int_count); - TextOut(hDC,120,140,Buf,strlen(Buf)); - - ReleaseDC(hMainWnd, hDC); -} diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7433C/SDK7433CintMsg/7433INT.DSP b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7433C/SDK7433CintMsg/7433INT.DSP deleted file mode 100644 index 639f3e8..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7433C/SDK7433CintMsg/7433INT.DSP +++ /dev/null @@ -1,115 +0,0 @@ -# Microsoft Developer Studio Project File - Name="7433int" - Package Owner=<4> -# Microsoft Developer Studio Generated Build File, Format Version 6.00 -# ** DO NOT EDIT ** - -# TARGTYPE "Win32 (x86) Application" 0x0101 - -CFG=7433int - Win32 Release -!MESSAGE This is not a valid makefile. To build this project using NMAKE, -!MESSAGE use the Export Makefile command and run -!MESSAGE -!MESSAGE NMAKE /f "7433INT.MAK". -!MESSAGE -!MESSAGE You can specify a configuration when running NMAKE -!MESSAGE by defining the macro CFG on the command line. For example: -!MESSAGE -!MESSAGE NMAKE /f "7433INT.MAK" CFG="7433int - Win32 Release" -!MESSAGE -!MESSAGE Possible choices for configuration are: -!MESSAGE -!MESSAGE "7433int - Win32 Release" (based on "Win32 (x86) Application") -!MESSAGE "7433int - Win32 Debug" (based on "Win32 (x86) Application") -!MESSAGE - -# Begin Project -# PROP AllowPerConfigDependencies 0 -# PROP Scc_ProjName "" -# PROP Scc_LocalPath "" -CPP=cl.exe -MTL=midl.exe -RSC=rc.exe - -!IF "$(CFG)" == "7433int - Win32 Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir ".\Release" -# PROP BASE Intermediate_Dir ".\Release" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "" -# PROP Intermediate_Dir ".\Release" -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /YX /c -# ADD CPP /nologo /MT /W3 /GX /Od /I "..\..\..\include" /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /FD /c -# SUBTRACT CPP /YX -# ADD BASE MTL /nologo /D "NDEBUG" /win32 -# ADD MTL /nologo /D "NDEBUG" /mktyplib203 /win32 -# ADD BASE RSC /l 0x409 /d "NDEBUG" -# ADD RSC /l 0x409 /d "NDEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:windows /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ..\..\..\lib\PCI-DASK.lib /nologo /subsystem:windows /machine:I386 - -!ELSEIF "$(CFG)" == "7433int - Win32 Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir ".\Debug" -# PROP BASE Intermediate_Dir ".\Debug" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir ".\Debug" -# PROP Intermediate_Dir ".\Debug" -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /Gm /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /YX /c -# ADD CPP /nologo /MTd /W3 /Gm /GX /ZI /Od /I "..\..\..\include" /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /FD /c -# SUBTRACT CPP /YX -# ADD BASE MTL /nologo /D "_DEBUG" /win32 -# ADD MTL /nologo /D "_DEBUG" /mktyplib203 /win32 -# ADD BASE RSC /l 0x409 /d "_DEBUG" -# ADD RSC /l 0x409 /d "_DEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:windows /debug /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ..\..\..\lib\PCI-DASK.lib /nologo /subsystem:windows /debug /machine:I386 - -!ENDIF - -# Begin Target - -# Name "7433int - Win32 Release" -# Name "7433int - Win32 Debug" -# Begin Group "Source Files" - -# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;idl;hpj;bat;for;f90" -# Begin Source File - -SOURCE=.\7433int.c -# End Source File -# Begin Source File - -SOURCE=.\7433int.rc -# End Source File -# End Group -# Begin Group "Header Files" - -# PROP Default_Filter "h;hpp;hxx;hm;inl;fi;fd" -# Begin Source File - -SOURCE=.\Resource.h -# End Source File -# End Group -# Begin Group "Resource Files" - -# PROP Default_Filter "ico;cur;bmp;dlg;rc2;rct;bin;cnt;rtf;gif;jpg;jpeg;jpe" -# End Group -# End Target -# End Project diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7433C/SDK7433CintMsg/7433INT.DSW b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7433C/SDK7433CintMsg/7433INT.DSW deleted file mode 100644 index 8ff2cbe..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7433C/SDK7433CintMsg/7433INT.DSW +++ /dev/null @@ -1,29 +0,0 @@ -Microsoft Developer Studio Workspace File, Format Version 6.00 -# WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE! - -############################################################################### - -Project: "7433int"=".\7433INT.DSP" - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ -}}} - -############################################################################### - -Global: - -Package=<5> -{{{ -}}} - -Package=<3> -{{{ -}}} - -############################################################################### - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7433C/SDK7433CintMsg/7433INT.RC b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7433C/SDK7433CintMsg/7433INT.RC deleted file mode 100644 index 66e0674..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7433C/SDK7433CintMsg/7433INT.RC +++ /dev/null @@ -1,115 +0,0 @@ -//Microsoft Developer Studio generated resource script. -// -#include "resource.h" - -#define APSTUDIO_READONLY_SYMBOLS -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 2 resource. -// -#define APSTUDIO_HIDDEN_SYMBOLS -#include "windows.h" -#undef APSTUDIO_HIDDEN_SYMBOLS - -///////////////////////////////////////////////////////////////////////////// -#undef APSTUDIO_READONLY_SYMBOLS - -///////////////////////////////////////////////////////////////////////////// -// English (U.S.) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -#ifdef _WIN32 -LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US -#pragma code_page(1252) -#endif //_WIN32 - -#ifdef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// TEXTINCLUDE -// - -1 TEXTINCLUDE DISCARDABLE -BEGIN - "resource.h\0" -END - -2 TEXTINCLUDE DISCARDABLE -BEGIN - "#define APSTUDIO_HIDDEN_SYMBOLS\r\n" - "#include ""windows.h""\r\n" - "#undef APSTUDIO_HIDDEN_SYMBOLS\r\n" - "\0" -END - -3 TEXTINCLUDE DISCARDABLE -BEGIN - "\r\n" - "\0" -END - -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog -// - -IDD_DIALOG2 DIALOG DISCARDABLE 110, 10, 106, 61 -STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "Card Number" -FONT 10, "System" -BEGIN - DEFPUSHBUTTON "OK",IDOK,10,40,37,14 - PUSHBUTTON "Cancel",IDCANCEL,61,40,38,14 - LTEXT "Card Number",IDC_STATIC,3,13,47,13 - COMBOBOX IDC_COMBO1,51,13,48,84,CBS_DROPDOWN | WS_VSCROLL | - WS_TABSTOP -END - - -///////////////////////////////////////////////////////////////////////////// -// -// DESIGNINFO -// - -#ifdef APSTUDIO_INVOKED -GUIDELINES DESIGNINFO DISCARDABLE -BEGIN - IDD_DIALOG2, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 99 - TOPMARGIN, 7 - BOTTOMMARGIN, 54 - END -END -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// Menu -// - -U7432MENU MENU DISCARDABLE -BEGIN - MENUITEM "E&xit!", IDM_EXIT -END - -#endif // English (U.S.) resources -///////////////////////////////////////////////////////////////////////////// - - - -#ifndef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 3 resource. -// - - -///////////////////////////////////////////////////////////////////////////// -#endif // not APSTUDIO_INVOKED - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7433C/SDK7433CintMsg/7433INT.exe b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7433C/SDK7433CintMsg/7433INT.exe deleted file mode 100644 index 23dfeb4..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7433C/SDK7433CintMsg/7433INT.exe and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7433C/SDK7433CintMsg/Resource.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7433C/SDK7433CintMsg/Resource.h deleted file mode 100644 index d7f4b51..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7433C/SDK7433CintMsg/Resource.h +++ /dev/null @@ -1,30 +0,0 @@ -//{{NO_DEPENDENCIES}} -// Microsoft Developer Studio generated include file. -// Used by 7433int.rc -// -#define IDM_SETUP 101 -#define IDD_DIALOG1 101 -#define IDD_DIALOG2 102 -#define IDM_EXIT 110 -#define IDM_GO 300 -#define IDM_ABOUT 301 -#define DMA_DATA 302 -#define ID_STOP 304 -#define IDM_CLEAR 305 -#define DMA_SPACE 500 -#define IDC_COMBO1 1004 -#define IDC_COMBO2 1005 -#define IDC_EDIT1 1007 -#define IDC_EDIT2 1008 -#define IDC_STATIC -1 - -// Next default values for new objects -// -#ifdef APSTUDIO_INVOKED -#ifndef APSTUDIO_READONLY_SYMBOLS -#define _APS_NEXT_RESOURCE_VALUE 103 -#define _APS_NEXT_COMMAND_VALUE 102 -#define _APS_NEXT_CONTROL_VALUE 1008 -#define _APS_NEXT_SYMED_VALUE 101 -#endif -#endif diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7433C/VB7433C/0.BMP b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7433C/VB7433C/0.BMP deleted file mode 100644 index 407bba2..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7433C/VB7433C/0.BMP and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7433C/VB7433C/1.BMP b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7433C/VB7433C/1.BMP deleted file mode 100644 index 37d14f3..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7433C/VB7433C/1.BMP and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7433C/VB7433C/7433GLBL.BAS b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7433C/VB7433C/7433GLBL.BAS deleted file mode 100644 index 77a2e7f..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7433C/VB7433C/7433GLBL.BAS +++ /dev/null @@ -1,4 +0,0 @@ -Attribute VB_Name = "Module1" -Global card As Integer -Global card_number As Integer - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7433C/VB7433C/Base7433.frm b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7433C/VB7433C/Base7433.frm deleted file mode 100644 index 4b2f56e..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7433C/VB7433C/Base7433.frm +++ /dev/null @@ -1,98 +0,0 @@ -VERSION 5.00 -Begin VB.Form SettingForm - Appearance = 0 'Flat - BackColor = &H00C0C0C0& - Caption = "Card Number Setting" - ClientHeight = 1275 - ClientLeft = 4590 - ClientTop = 4545 - ClientWidth = 2820 - BeginProperty Font - Name = "MS Sans Serif" - Size = 8.25 - Charset = 0 - Weight = 700 - Underline = 0 'False - Italic = 0 'False - Strikethrough = 0 'False - EndProperty - ForeColor = &H80000008& - LinkTopic = "Form2" - PaletteMode = 1 'UseZOrder - ScaleHeight = 1275 - ScaleWidth = 2820 - Begin VB.CommandButton OKBtn - Appearance = 0 'Flat - BackColor = &H80000005& - Caption = "OK" - Default = -1 'True - Height = 315 - Left = 300 - TabIndex = 0 - Top = 720 - Width = 915 - End - Begin VB.CommandButton CancelBtn - Appearance = 0 'Flat - BackColor = &H80000005& - Cancel = -1 'True - Caption = "Cancel" - Height = 315 - Left = 1380 - TabIndex = 3 - Top = 720 - Width = 915 - End - Begin VB.ComboBox CardNum - Appearance = 0 'Flat - Height = 300 - Left = 1440 - Style = 2 'Dropdown List - TabIndex = 2 - Top = 120 - Width = 1035 - End - Begin VB.Label Label2 - Appearance = 0 'Flat - BackColor = &H00C0C0C0& - Caption = "Card Number:" - ForeColor = &H00000000& - Height = 195 - Index = 0 - Left = 180 - TabIndex = 1 - Top = 180 - Width = 1275 - End -End -Attribute VB_Name = "SettingForm" -Attribute VB_GlobalNameSpace = False -Attribute VB_Creatable = False -Attribute VB_PredeclaredId = True -Attribute VB_Exposed = False - - -Private Sub BaseAddr_Change() - -End Sub - - -Private Sub CancelBtn_Click() - Unload SettingForm -End Sub - -Private Sub Form_Load() - Dim i As Long - For i = 0 To 15 Step 1 - CardNum.AddItem i - Next - CardNum.ListIndex = 0 -End Sub - -Private Sub OKBtn_Click() - card = -1 - card_number = CardNum.ListIndex - card = Register_Card(PCI_7433C, card_number) - Unload SettingForm -End Sub - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7433C/VB7433C/Util7433.Frm b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7433C/VB7433C/Util7433.Frm deleted file mode 100644 index fad667f..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7433C/VB7433C/Util7433.Frm +++ /dev/null @@ -1,782 +0,0 @@ -VERSION 5.00 -Begin VB.Form util7433 - Appearance = 0 'Flat - BackColor = &H00C0C0C0& - Caption = "PCI-7433 Sample Program" - ClientHeight = 2865 - ClientLeft = 1215 - ClientTop = 1620 - ClientWidth = 6480 - BeginProperty Font - Name = "MS Sans Serif" - Size = 8.25 - Charset = 0 - Weight = 700 - Underline = 0 'False - Italic = 0 'False - Strikethrough = 0 'False - EndProperty - ForeColor = &H80000008& - LinkTopic = "Form1" - PaletteMode = 1 'UseZOrder - ScaleHeight = 2865 - ScaleWidth = 6480 - Begin VB.Timer Timer1 - Interval = 100 - Left = 5280 - Top = 2640 - End - Begin VB.Frame Frame1 - Appearance = 0 'Flat - BackColor = &H00C0C0C0& - Caption = "Digital Input Hi" - ForeColor = &H00FF0000& - Height = 1275 - Index = 1 - Left = 240 - TabIndex = 1 - Top = 120 - Width = 6015 - Begin VB.Label Label1 - Caption = "0" - Height = 195 - Left = 5670 - TabIndex = 5 - Top = 1050 - Width = 195 - End - Begin VB.Label Label3 - Caption = "31" - Height = 195 - Left = 210 - TabIndex = 3 - Top = 540 - Width = 195 - End - Begin VB.Image DI1 - Appearance = 0 'Flat - Height = 300 - Index = 31 - Left = 180 - Picture = "Util7433.frx":0000 - Top = 240 - Width = 300 - End - Begin VB.Image DI1 - Appearance = 0 'Flat - Height = 300 - Index = 30 - Left = 540 - Picture = "Util7433.frx":0172 - Top = 240 - Width = 300 - End - Begin VB.Image DI1 - Appearance = 0 'Flat - Height = 300 - Index = 29 - Left = 900 - Picture = "Util7433.frx":02E4 - Top = 240 - Width = 300 - End - Begin VB.Image DI1 - Appearance = 0 'Flat - Height = 300 - Index = 28 - Left = 1260 - Picture = "Util7433.frx":0456 - Top = 240 - Width = 300 - End - Begin VB.Image DI1 - Appearance = 0 'Flat - Height = 300 - Index = 27 - Left = 1620 - Picture = "Util7433.frx":05C8 - Top = 240 - Width = 300 - End - Begin VB.Image DI1 - Appearance = 0 'Flat - Height = 300 - Index = 26 - Left = 1980 - Picture = "Util7433.frx":073A - Top = 240 - Width = 300 - End - Begin VB.Image DI1 - Appearance = 0 'Flat - Height = 300 - Index = 25 - Left = 2340 - Picture = "Util7433.frx":08AC - Top = 240 - Width = 300 - End - Begin VB.Image DI1 - Appearance = 0 'Flat - Height = 300 - Index = 24 - Left = 2700 - Picture = "Util7433.frx":0A1E - Top = 240 - Width = 300 - End - Begin VB.Image DI1 - Appearance = 0 'Flat - Height = 300 - Index = 23 - Left = 3060 - Picture = "Util7433.frx":0B90 - Top = 240 - Width = 300 - End - Begin VB.Image DI1 - Appearance = 0 'Flat - Height = 300 - Index = 22 - Left = 3420 - Picture = "Util7433.frx":0D02 - Top = 240 - Width = 300 - End - Begin VB.Image DI1 - Appearance = 0 'Flat - Height = 300 - Index = 21 - Left = 3780 - Picture = "Util7433.frx":0E74 - Top = 240 - Width = 300 - End - Begin VB.Image DI1 - Appearance = 0 'Flat - Height = 300 - Index = 20 - Left = 4140 - Picture = "Util7433.frx":0FE6 - Top = 240 - Width = 300 - End - Begin VB.Image DI1 - Appearance = 0 'Flat - Height = 300 - Index = 19 - Left = 4500 - Picture = "Util7433.frx":1158 - Top = 240 - Width = 300 - End - Begin VB.Image DI1 - Appearance = 0 'Flat - Height = 300 - Index = 18 - Left = 4860 - Picture = "Util7433.frx":12CA - Top = 240 - Width = 300 - End - Begin VB.Image DI1 - Appearance = 0 'Flat - Height = 300 - Index = 17 - Left = 5220 - Picture = "Util7433.frx":143C - Top = 240 - Width = 300 - End - Begin VB.Image DI1 - Appearance = 0 'Flat - Height = 300 - Index = 16 - Left = 5580 - Picture = "Util7433.frx":15AE - Top = 240 - Width = 300 - End - Begin VB.Image DI1 - Appearance = 0 'Flat - Height = 300 - Index = 8 - Left = 2700 - Picture = "Util7433.frx":1720 - Top = 750 - Width = 300 - End - Begin VB.Image DI1 - Appearance = 0 'Flat - Height = 300 - Index = 9 - Left = 2340 - Picture = "Util7433.frx":1892 - Top = 750 - Width = 300 - End - Begin VB.Image DI1 - Appearance = 0 'Flat - Height = 300 - Index = 10 - Left = 1980 - Picture = "Util7433.frx":1A04 - Top = 750 - Width = 300 - End - Begin VB.Image DI1 - Appearance = 0 'Flat - Height = 300 - Index = 11 - Left = 1620 - Picture = "Util7433.frx":1B76 - Top = 750 - Width = 300 - End - Begin VB.Image DI1 - Appearance = 0 'Flat - Height = 300 - Index = 12 - Left = 1260 - Picture = "Util7433.frx":1CE8 - Top = 750 - Width = 300 - End - Begin VB.Image DI1 - Appearance = 0 'Flat - Height = 300 - Index = 13 - Left = 900 - Picture = "Util7433.frx":1E5A - Top = 750 - Width = 300 - End - Begin VB.Image DI1 - Appearance = 0 'Flat - Height = 300 - Index = 14 - Left = 540 - Picture = "Util7433.frx":1FCC - Top = 750 - Width = 300 - End - Begin VB.Image DI1 - Appearance = 0 'Flat - Height = 300 - Index = 15 - Left = 180 - Picture = "Util7433.frx":213E - Top = 750 - Width = 300 - End - Begin VB.Image DI1 - Appearance = 0 'Flat - Height = 300 - Index = 7 - Left = 3060 - Picture = "Util7433.frx":22B0 - Top = 750 - Width = 300 - End - Begin VB.Image DI1 - Appearance = 0 'Flat - Height = 300 - Index = 6 - Left = 3420 - Picture = "Util7433.frx":2422 - Top = 750 - Width = 300 - End - Begin VB.Image DI1 - Appearance = 0 'Flat - Height = 300 - Index = 5 - Left = 3780 - Picture = "Util7433.frx":2594 - Top = 750 - Width = 300 - End - Begin VB.Image DI1 - Appearance = 0 'Flat - Height = 300 - Index = 4 - Left = 4140 - Picture = "Util7433.frx":2706 - Top = 750 - Width = 300 - End - Begin VB.Image DI1 - Appearance = 0 'Flat - Height = 300 - Index = 2 - Left = 4860 - Picture = "Util7433.frx":2878 - Top = 750 - Width = 300 - End - Begin VB.Image DI1 - Appearance = 0 'Flat - Height = 300 - Index = 3 - Left = 4500 - Picture = "Util7433.frx":29EA - Top = 750 - Width = 300 - End - Begin VB.Image DI1 - Appearance = 0 'Flat - Height = 300 - Index = 1 - Left = 5220 - Picture = "Util7433.frx":2B5C - Top = 750 - Width = 300 - End - Begin VB.Image DI1 - Appearance = 0 'Flat - Height = 300 - Index = 0 - Left = 5580 - Picture = "Util7433.frx":2CCE - Top = 750 - Width = 300 - End - End - Begin VB.Frame Frame1 - Appearance = 0 'Flat - BackColor = &H00C0C0C0& - Caption = "Digital Input Lo" - ForeColor = &H00FF0000& - Height = 1275 - Index = 0 - Left = 240 - TabIndex = 0 - Top = 1440 - Width = 6015 - Begin VB.Label Label4 - Caption = "0" - Height = 195 - Left = 5670 - TabIndex = 4 - Top = 1050 - Width = 195 - End - Begin VB.Label Label2 - Caption = "31" - Height = 195 - Left = 210 - TabIndex = 2 - Top = 540 - Width = 195 - End - Begin VB.Image DI0 - Appearance = 0 'Flat - Height = 300 - Index = 31 - Left = 180 - Picture = "Util7433.frx":2E40 - Top = 240 - Width = 300 - End - Begin VB.Image DI0 - Appearance = 0 'Flat - Height = 300 - Index = 30 - Left = 540 - Picture = "Util7433.frx":2FB2 - Top = 240 - Width = 300 - End - Begin VB.Image DI0 - Appearance = 0 'Flat - Height = 300 - Index = 29 - Left = 900 - Picture = "Util7433.frx":3124 - Top = 240 - Width = 300 - End - Begin VB.Image DI0 - Appearance = 0 'Flat - Height = 300 - Index = 28 - Left = 1260 - Picture = "Util7433.frx":3296 - Top = 240 - Width = 300 - End - Begin VB.Image DI0 - Appearance = 0 'Flat - Height = 300 - Index = 27 - Left = 1620 - Picture = "Util7433.frx":3408 - Top = 240 - Width = 300 - End - Begin VB.Image DI0 - Appearance = 0 'Flat - Height = 300 - Index = 26 - Left = 1980 - Picture = "Util7433.frx":357A - Top = 240 - Width = 300 - End - Begin VB.Image DI0 - Appearance = 0 'Flat - Height = 300 - Index = 25 - Left = 2340 - Picture = "Util7433.frx":36EC - Top = 240 - Width = 300 - End - Begin VB.Image DI0 - Appearance = 0 'Flat - Height = 300 - Index = 24 - Left = 2700 - Picture = "Util7433.frx":385E - Top = 240 - Width = 300 - End - Begin VB.Image DI0 - Appearance = 0 'Flat - Height = 300 - Index = 23 - Left = 3060 - Picture = "Util7433.frx":39D0 - Top = 240 - Width = 300 - End - Begin VB.Image DI0 - Appearance = 0 'Flat - Height = 300 - Index = 22 - Left = 3420 - Picture = "Util7433.frx":3B42 - Top = 240 - Width = 300 - End - Begin VB.Image DI0 - Appearance = 0 'Flat - Height = 300 - Index = 21 - Left = 3780 - Picture = "Util7433.frx":3CB4 - Top = 240 - Width = 300 - End - Begin VB.Image DI0 - Appearance = 0 'Flat - Height = 300 - Index = 20 - Left = 4140 - Picture = "Util7433.frx":3E26 - Top = 240 - Width = 300 - End - Begin VB.Image DI0 - Appearance = 0 'Flat - Height = 300 - Index = 19 - Left = 4500 - Picture = "Util7433.frx":3F98 - Top = 240 - Width = 300 - End - Begin VB.Image DI0 - Appearance = 0 'Flat - Height = 300 - Index = 18 - Left = 4860 - Picture = "Util7433.frx":410A - Top = 240 - Width = 300 - End - Begin VB.Image DI0 - Appearance = 0 'Flat - Height = 300 - Index = 17 - Left = 5220 - Picture = "Util7433.frx":427C - Top = 240 - Width = 300 - End - Begin VB.Image DI0 - Appearance = 0 'Flat - Height = 300 - Index = 16 - Left = 5580 - Picture = "Util7433.frx":43EE - Top = 240 - Width = 300 - End - Begin VB.Image DI0 - Appearance = 0 'Flat - Height = 300 - Index = 15 - Left = 180 - Picture = "Util7433.frx":4560 - Top = 750 - Width = 300 - End - Begin VB.Image DI0 - Appearance = 0 'Flat - Height = 300 - Index = 14 - Left = 540 - Picture = "Util7433.frx":46D2 - Top = 750 - Width = 300 - End - Begin VB.Image DI0 - Appearance = 0 'Flat - Height = 300 - Index = 13 - Left = 900 - Picture = "Util7433.frx":4844 - Top = 750 - Width = 300 - End - Begin VB.Image DI0 - Appearance = 0 'Flat - Height = 300 - Index = 12 - Left = 1260 - Picture = "Util7433.frx":49B6 - Top = 750 - Width = 300 - End - Begin VB.Image DI0 - Appearance = 0 'Flat - Height = 300 - Index = 11 - Left = 1620 - Picture = "Util7433.frx":4B28 - Top = 750 - Width = 300 - End - Begin VB.Image DI0 - Appearance = 0 'Flat - Height = 300 - Index = 10 - Left = 1980 - Picture = "Util7433.frx":4C9A - Top = 750 - Width = 300 - End - Begin VB.Image DI0 - Appearance = 0 'Flat - Height = 300 - Index = 9 - Left = 2340 - Picture = "Util7433.frx":4E0C - Top = 750 - Width = 300 - End - Begin VB.Image DI0 - Appearance = 0 'Flat - Height = 300 - Index = 8 - Left = 2700 - Picture = "Util7433.frx":4F7E - Top = 750 - Width = 300 - End - Begin VB.Image DI0 - Appearance = 0 'Flat - Height = 300 - Index = 0 - Left = 5580 - Picture = "Util7433.frx":50F0 - Top = 750 - Width = 300 - End - Begin VB.Image DI0 - Appearance = 0 'Flat - Height = 300 - Index = 1 - Left = 5220 - Picture = "Util7433.frx":5262 - Top = 750 - Width = 300 - End - Begin VB.Image DI0 - Appearance = 0 'Flat - Height = 300 - Index = 2 - Left = 4860 - Picture = "Util7433.frx":53D4 - Top = 750 - Width = 300 - End - Begin VB.Image DI0 - Appearance = 0 'Flat - Height = 300 - Index = 3 - Left = 4500 - Picture = "Util7433.frx":5546 - Top = 750 - Width = 300 - End - Begin VB.Image DI0 - Appearance = 0 'Flat - Height = 300 - Index = 4 - Left = 4140 - Picture = "Util7433.frx":56B8 - Top = 750 - Width = 300 - End - Begin VB.Image DI0 - Appearance = 0 'Flat - Height = 300 - Index = 5 - Left = 3780 - Picture = "Util7433.frx":582A - Top = 750 - Width = 300 - End - Begin VB.Image DI0 - Appearance = 0 'Flat - Height = 300 - Index = 6 - Left = 3420 - Picture = "Util7433.frx":599C - Top = 750 - Width = 300 - End - Begin VB.Image DI0 - Appearance = 0 'Flat - Height = 300 - Index = 7 - Left = 3060 - Picture = "Util7433.frx":5B0E - Top = 750 - Width = 300 - End - End - Begin VB.Image Image1 - Appearance = 0 'Flat - Height = 300 - Left = 5880 - Picture = "Util7433.frx":5C80 - Top = 2700 - Visible = 0 'False - Width = 300 - End - Begin VB.Image Image0 - Appearance = 0 'Flat - Height = 300 - Left = 6180 - Picture = "Util7433.frx":5DF2 - Top = 2700 - Visible = 0 'False - Width = 300 - End - Begin VB.Menu mnuExit - Caption = "&Exit!" - End -End -Attribute VB_Name = "util7433" -Attribute VB_GlobalNameSpace = False -Attribute VB_Creatable = False -Attribute VB_PredeclaredId = True -Attribute VB_Exposed = False -Option Explicit -Dim bit(0 To 31) As Long - - -Private Sub Form_Load() - Dim result As Integer - Dim i As Integer - - SettingForm.Show 1 - If card < 0 Then - MsgBox "Register card failed." - End - End If - - bit(0) = &H1& - bit(1) = &H2& - bit(2) = &H4& - bit(3) = &H8& - bit(4) = &H10& - bit(5) = &H20& - bit(6) = &H40& - bit(7) = &H80& - bit(8) = &H100& - bit(9) = &H200& - bit(10) = &H400& - bit(11) = &H800& - bit(12) = &H1000& - bit(13) = &H2000& - bit(14) = &H4000& - bit(15) = &H8000& - bit(16) = &H10000 - bit(17) = &H20000 - bit(18) = &H40000 - bit(19) = &H80000 - bit(20) = &H100000 - bit(21) = &H200000 - bit(22) = &H400000 - bit(23) = &H800000 - bit(24) = &H1000000 - bit(25) = &H2000000 - bit(26) = &H4000000 - bit(27) = &H8000000 - bit(28) = &H10000000 - bit(29) = &H20000000 - bit(30) = &H40000000 - bit(31) = &H80000000 -End Sub - -Private Sub Form_Unload(Cancel As Integer) - Dim result As Integer - If card >= 0 Then - result = Release_Card(card) - End If - End - -End Sub - - -Private Sub mnuExit_Click() - Dim result As Integer - If card >= 0 Then - result = Release_Card(card) - End If - End -End Sub - -Private Sub Timer1_Timer() - Dim result As Integer - Dim dl As Long, dh As Long - Dim i As Integer - Dim p As Long - - 'result = W_7433_DI_LoDW(0, dl) - 'result = W_7433_DI_HiDW(0, dh) - result = DI_ReadPort(card, CHANNEL_DI_HIGH, dh) - result = DI_ReadPort(card, CHANNEL_DI_LOW, dl) - - For i = 0 To 31 - p = dl And bit(i) - If p <> 0 Then - DI0(i) = Image1 - Else 'p = 0 - DI0(i) = Image0 - End If - Next - For i = 0 To 31 - p = dh And bit(i) - If p <> 0 Then - DI1(i) = Image1 - Else 'p = 0 - DI1(i) = Image0 - End If - Next -End Sub - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7433C/VB7433C/Util7433.Vbp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7433C/VB7433C/Util7433.Vbp deleted file mode 100644 index 8fc055b..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7433C/VB7433C/Util7433.Vbp +++ /dev/null @@ -1,38 +0,0 @@ -Type=Exe -Form=Util7433.Frm -Module=DASK; ..\..\..\Include\DASK.bas -Module=Module1; 7433glbl.bas -Form=Base7433.frm -Reference=*\G{00025E04-0000-0000-C000-000000000046}#3.5#0#..\..\..\..\..\..\..\Program Files\Common Files\Microsoft Shared\DAO\dao2535.tlb#Microsoft DAO 2.5/3.0 Compatibility Library -IconForm="util7433" -Startup="util7433" -Title="UTIL7433" -ExeName32="Util7433.exe" -Command32="" -Name="vb4projectUtil7433" -HelpContextID="0" -CompatibleMode="0" -MajorVer=1 -MinorVer=0 -RevisionVer=0 -AutoIncrementVer=0 -ServerSupportFiles=0 -VersionCompanyName="ADLINK" -CompilationType=0 -OptimizationType=0 -FavorPentiumPro(tm)=0 -CodeViewDebugInfo=0 -NoAliasing=0 -BoundsCheck=0 -OverflowCheck=0 -FlPointCheck=0 -FDIVCheck=0 -UnroundedFP=0 -StartMode=0 -Unattended=0 -Retained=0 -ThreadPerObject=0 -MaxNumberOfThreads=1 - -[MS Transaction Server] -AutoRefresh=1 diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7433C/VB7433C/Util7433.frx b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7433C/VB7433C/Util7433.frx deleted file mode 100644 index 055f82c..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7433C/VB7433C/Util7433.frx and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7433C/VB7433C/Util7433.vbw b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7433C/VB7433C/Util7433.vbw deleted file mode 100644 index 319fbed..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7433C/VB7433C/Util7433.vbw +++ /dev/null @@ -1,4 +0,0 @@ -util7433 = 66, 87, 1037, 614, Z, 44, 58, 1015, 585, C -DASK = 0, 0, 0, 0, C -Module1 = 0, 0, 0, 0, C -SettingForm = 0, 0, 0, 0, C, 22, 29, 993, 556, C diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7434/SDK7434/Resource.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7434/SDK7434/Resource.h deleted file mode 100644 index 8708341..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7434/SDK7434/Resource.h +++ /dev/null @@ -1,19 +0,0 @@ -//{{NO_DEPENDENCIES}} -// Microsoft Developer Studio generated include file. -// Used by Util7434.rc -// -#define IDD_DIALOG1 101 -#define IDM_EXIT 110 -#define IDC_COMBO1 1015 -#define IDC_STATIC -1 - -// Next default values for new objects -// -#ifdef APSTUDIO_INVOKED -#ifndef APSTUDIO_READONLY_SYMBOLS -#define _APS_NEXT_RESOURCE_VALUE 102 -#define _APS_NEXT_COMMAND_VALUE 101 -#define _APS_NEXT_CONTROL_VALUE 1000 -#define _APS_NEXT_SYMED_VALUE 101 -#endif -#endif diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7434/SDK7434/UTIL7434.RC b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7434/SDK7434/UTIL7434.RC deleted file mode 100644 index d64fa1d..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7434/SDK7434/UTIL7434.RC +++ /dev/null @@ -1,115 +0,0 @@ -//Microsoft Developer Studio generated resource script. -// -#include "resource.h" - -#define APSTUDIO_READONLY_SYMBOLS -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 2 resource. -// -#define APSTUDIO_HIDDEN_SYMBOLS -#include "windows.h" -#undef APSTUDIO_HIDDEN_SYMBOLS - -///////////////////////////////////////////////////////////////////////////// -#undef APSTUDIO_READONLY_SYMBOLS - -///////////////////////////////////////////////////////////////////////////// -// English (U.S.) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -#ifdef _WIN32 -LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US -#pragma code_page(1252) -#endif //_WIN32 - -#ifdef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// TEXTINCLUDE -// - -1 TEXTINCLUDE DISCARDABLE -BEGIN - "resource.h\0" -END - -2 TEXTINCLUDE DISCARDABLE -BEGIN - "#define APSTUDIO_HIDDEN_SYMBOLS\r\n" - "#include ""windows.h""\r\n" - "#undef APSTUDIO_HIDDEN_SYMBOLS\r\n" - "\0" -END - -3 TEXTINCLUDE DISCARDABLE -BEGIN - "\r\n" - "\0" -END - -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// Menu -// - -U7434MENU MENU DISCARDABLE -BEGIN - MENUITEM "E&xit!", IDM_EXIT -END - - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog -// - -IDD_DIALOG1 DIALOG DISCARDABLE 110, 10, 106, 61 -STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "Card Number" -FONT 10, "System" -BEGIN - DEFPUSHBUTTON "OK",IDOK,10,40,37,14 - PUSHBUTTON "Cancel",IDCANCEL,61,40,38,14 - LTEXT "Card Number",IDC_STATIC,3,13,47,13 - COMBOBOX IDC_COMBO1,51,13,48,84,CBS_DROPDOWN | WS_VSCROLL | - WS_TABSTOP -END - - -///////////////////////////////////////////////////////////////////////////// -// -// DESIGNINFO -// - -#ifdef APSTUDIO_INVOKED -GUIDELINES DESIGNINFO DISCARDABLE -BEGIN - IDD_DIALOG1, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 99 - TOPMARGIN, 7 - BOTTOMMARGIN, 54 - END -END -#endif // APSTUDIO_INVOKED - -#endif // English (U.S.) resources -///////////////////////////////////////////////////////////////////////////// - - - -#ifndef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 3 resource. -// - - -///////////////////////////////////////////////////////////////////////////// -#endif // not APSTUDIO_INVOKED - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7434/SDK7434/Util7434.c b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7434/SDK7434/Util7434.c deleted file mode 100644 index 15ce42e..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7434/SDK7434/Util7434.c +++ /dev/null @@ -1,288 +0,0 @@ -/*;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; -;; Copyright (c) 1999, ADLink Technology Inc. All rights reserved. ;; -;; ;; -;; File Name : Util7434.C ;; -;; Purpose : This sample program demonstrate how to operate ;; -;; DO for PCI-7434 ;; -;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;*/ - -#include -#include -#include -#include -#include -#include -#include "Dask.h" -#include "resource.h" - -#define IDM_EXIT 110 - -int PASCAL WinMain(HANDLE, HANDLE, LPSTR, int); -long PASCAL MainWndProc(HWND, UINT, WPARAM, LPARAM); - -HANDLE hInst; -U32 output_lo=0, output_hi=0; -I16 card=-1, card_number=0; - -HBRUSH hLTGreenBrush,hGreenBrush,hBlueBrush,hYellowBrush,hRedBrush; - -POINT output_pos[64]= { - {320,160}, {300,160}, - {280,160}, {260,160}, - {240,160}, {220,160}, - {200,160}, {180,160}, - {160,160}, {140,160}, - {120,160}, {100,160}, - {80,160}, {60,160}, - {40,160}, {20,160}, - {320,120}, {300,120}, - {280,120}, {260,120}, - {240,120}, {220,120}, - {200,120}, {180,120}, - {160,120}, {140,120}, - {120,120}, {100,120}, - { 80,120}, {60,120}, - { 40,120}, {20,120}, - {320, 80}, {300, 80}, - {280, 80}, {260, 80}, - {240, 80}, {220, 80}, - {200, 80}, {180, 80}, - {160, 80}, {140, 80}, - {120, 80}, {100, 80}, - {80, 80}, {60, 80}, - {40, 80}, {20, 80}, - {320, 40}, {300, 40}, - {280, 40}, {260, 40}, - {240, 40}, {220, 40}, - {200, 40}, {180, 40}, - {160, 40}, {140, 40}, - {120, 40}, {100, 40}, - {80, 40}, {60, 40}, - { 40, 40}, {20, 40} - }; - -BOOL InitApplication(HANDLE); -BOOL InitInstance(HANDLE, int); - -int PASCAL WinMain(hInstance, hPrevInstance, lpCmdLine, nCmdShow) -HANDLE hInstance, hPrevInstance; -LPSTR lpCmdLine; -int nCmdShow; -{ - MSG msg; - - if (!hPrevInstance) - if (!InitApplication(hInstance)) return(FALSE); - if (!InitInstance(hInstance, nCmdShow)) return(FALSE); - while (GetMessage(&msg, NULL, NULL, NULL)) { - TranslateMessage(&msg); - DispatchMessage(&msg); - } - return(msg.wParam); -} - -BOOL InitApplication(hInstance) -HANDLE hInstance; -{ - WNDCLASS wc; - - /* Main Window Class */ - wc.style = NULL; - wc.lpfnWndProc = (WNDPROC)MainWndProc; - wc.cbClsExtra = 0; - wc.cbWndExtra = 0; - wc.hInstance = hInstance; - wc.hIcon = LoadIcon(hInstance, "MyIcon"); - wc.hCursor = LoadCursor(NULL, IDC_ARROW); - wc.hbrBackground = GetStockObject(LTGRAY_BRUSH); - wc.lpszMenuName = NULL; - wc.lpszClassName = "GenericWClass"; - if (!RegisterClass(&wc)) return(FALSE); -} - -BOOL InitInstance(hInstance, nCmdShow) -HANDLE hInstance; -int nCmdShow; -{ - HWND hWnd; - HMENU hSampleMenu; - - hInst = hInstance; - hSampleMenu = LoadMenu(hInstance, "U7434Menu"); - hWnd = CreateWindow("GenericWClass", - (LPCSTR)"PCI-7434", - WS_OVERLAPPEDWINDOW, - CW_USEDEFAULT, - CW_USEDEFAULT, - 370, - 260, - NULL, - hSampleMenu, - hInstance, - NULL); - if (!hWnd) return(FALSE); - ShowWindow(hWnd, nCmdShow); - UpdateWindow(hWnd); - return(TRUE); -} - -BOOL PASCAL setup(HWND hWnd, unsigned message, WPARAM wParam, LPARAM lParam) -{ - int i; - char n[16]; - char s[50]; - switch (message) { - case WM_INITDIALOG: - for (i=0;i<16;i++) { - wsprintf(n, "%d", i); - _strupr(n); - SendMessage(GetDlgItem(hWnd,IDC_COMBO1), CB_ADDSTRING, NULL, (LONG)(LPSTR) n); - } - SendMessage(GetDlgItem(hWnd,IDC_COMBO1) , CB_SETCURSEL, 0, 0L); - - break; - case WM_COMMAND: - switch(LOWORD(wParam)) { - - case IDC_COMBO1: - if (HIWORD(wParam) == CBN_CLOSEUP) { - i = (int)SendMessage(GetDlgItem(hWnd,IDC_COMBO1), CB_GETCURSEL, 0, 0L); - SendMessage(GetDlgItem(hWnd,IDC_COMBO1), CB_GETLBTEXT, i, (LPARAM)((LPCSTR)n)); - card_number = i; - } - return(TRUE); - case IDOK: - if ((card=Register_Card(PCI_7434, card_number)) < 0) { - wsprintf(s, "Register_Card Error = %d\n", card); - MessageBox(hWnd, s, "Error", MB_OK); - } - EndDialog(hWnd, TRUE); - InvalidateRect(hWnd, NULL, FALSE); - return (TRUE); - case IDCANCEL: - EndDialog(hWnd, TRUE); - return (TRUE); - } - break; - } - return (FALSE); -} - -long PASCAL MainWndProc(hWnd, message, wParam, lParam) -HWND hWnd; -UINT message; -WPARAM wParam; -LPARAM lParam; -{ - HDC hDC; - PAINTSTRUCT ps; - int i, px, py; - - switch(message) { - case WM_CREATE: - DialogBox(hInst,IDD_DIALOG1, hWnd, setup); - if(card<0) { - SendMessage(hWnd, WM_CLOSE, 0, 0L); - break; - } - hLTGreenBrush = CreateSolidBrush(RGB(0, 255, 0)); - hGreenBrush = CreateSolidBrush(RGB(0, 128, 0)); - hBlueBrush = CreateSolidBrush(RGB(0, 0, 255)); - hRedBrush = CreateSolidBrush(RGB(255, 0, 0)); - break; - case WM_PAINT: - hDC = BeginPaint(hWnd, &ps); - // Digital Output Box - SelectObject(hDC, hGreenBrush); - Rectangle(hDC, output_pos[63].x-10, output_pos[63].y-24, 350, 200); - SetTextColor(hDC,RGB(255,255,255)); - SetBkColor(hDC, RGB(0, 0, 255)); - TextOut(hDC, output_pos[63].x, output_pos[63].y-30, "Digital Output",14); - // Channel Label - SetTextColor(hDC,RGB(0,0,0)); - SetBkColor(hDC, RGB(0, 128, 0)); - TextOut(hDC, output_pos[63].x, output_pos[63].y+16, "63 48", 75); - TextOut(hDC, output_pos[47].x, output_pos[47].y+16, "47 32", 75); - TextOut(hDC, output_pos[31].x, output_pos[31].y+16, "31 16", 75); - TextOut(hDC, output_pos[15].x, output_pos[0].y+16, "15 0", 75); - - // Channel Output - for (i=0; i<32; i++) { - if ((output_lo>>i)&0x01) - SelectObject(hDC, hRedBrush); - else - SelectObject(hDC, GetStockObject(WHITE_BRUSH)); - Ellipse(hDC, output_pos[i].x, output_pos[i].y, output_pos[i].x+17, output_pos[i].y+17); - } - for (i=0; i<32; i++) { - if ((output_hi>>i)&0x01) - SelectObject(hDC, hRedBrush); - else - SelectObject(hDC, GetStockObject(WHITE_BRUSH)); - Ellipse(hDC, output_pos[i+32].x, output_pos[i+32].y, output_pos[i+32].x+17, output_pos[i+32].y+17); - } - EndPaint(hWnd, &ps); - break; - case WM_COMMAND: - switch(LOWORD(wParam)) { - case IDM_EXIT: - SendMessage(hWnd, WM_CLOSE, 0, 0L); - break; - default: - return(DefWindowProc(hWnd, message, wParam, lParam)); - } - break; - case WM_DESTROY: - if (card >= 0) Release_Card(card); - DeleteObject(hRedBrush); - DeleteObject(hGreenBrush); - DeleteObject(hLTGreenBrush); - PostQuitMessage(0); - break; - case WM_LBUTTONDOWN: - px = LOWORD(lParam); - py = HIWORD(lParam); - - for (i=0; i<32; i++) { - if (px>output_pos[i].x && pxoutput_pos[i].y && py>i)&0x01) { - output_lo -= (((U32)1L)<output_pos[i+32].x && pxoutput_pos[i+32].y && py>i)&0x01) { - output_hi -= (((U32)1L)<= 0 Then - result = Release_Card(card) - End If - End -End Sub - - -Private Sub mnuExit_Click() -Dim result As Integer - If card >= 0 Then - result = Release_Card(card) - End If - End -End Sub - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7434/VB7434/Util7434.Vbp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7434/VB7434/Util7434.Vbp deleted file mode 100644 index 4f9bdff..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7434/VB7434/Util7434.Vbp +++ /dev/null @@ -1,21 +0,0 @@ -Form=Util7434.Frm -Module=DASK; ..\..\..\Include\Dask.bas -Module=Module1; 7434glbl.bas -Form=Base7434.frm -Reference=*\G{00025E04-0000-0000-C000-000000000046}#2.5#0#D:\Program Files\Common Files\Microsoft Shared\DD:\Program Fil#Microsoft DAO 2.5/3.0 Compatibility Library -ProjWinSize=97,525,248,215 -ProjWinShow=2 -IconForm="util7434" -Title="UTIL7434" -ExeName32="Util7434.exe" -ExeName="7434.EXE" -Name="vb4projectUtil7434" -HelpContextID="0" -StartMode=0 -VersionCompatible32="0" -MajorVer=1 -MinorVer=0 -RevisionVer=0 -AutoIncrementVer=0 -ServerSupportFiles=0 -VersionCompanyName="ADLINK" diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7434/VB7434/Util7434.frx b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7434/VB7434/Util7434.frx deleted file mode 100644 index 055f82c..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7434/VB7434/Util7434.frx and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7434/sdk7434r/Util7434r.c b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7434/sdk7434r/Util7434r.c deleted file mode 100644 index 3a4c03d..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7434/sdk7434r/Util7434r.c +++ /dev/null @@ -1,288 +0,0 @@ -/*;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; -;; Copyright (c) 1998, ADLink Technology Inc. All rights reserved. ;; -;; ;; -;; File Name : Util7434r.C ;; -;; Purpose : This sample program demonstrate how to operate ;; -;; DO for PCI-7434r ;; -;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;*/ - -#include -#include -#include -#include -#include -#include -#include "Dask.h" -#include "resource.h" - -#define IDM_EXIT 110 - -int PASCAL WinMain(HANDLE, HANDLE, LPSTR, int); -long PASCAL MainWndProc(HWND, UINT, WPARAM, LPARAM); - -HANDLE hInst; -U32 output_lo=0, output_hi=0; -I16 card=-1, card_number=0; - -HBRUSH hLTGreenBrush,hGreenBrush,hBlueBrush,hYellowBrush,hRedBrush; - -POINT output_pos[64]= { - {320,160}, {300,160}, - {280,160}, {260,160}, - {240,160}, {220,160}, - {200,160}, {180,160}, - {160,160}, {140,160}, - {120,160}, {100,160}, - {80,160}, {60,160}, - {40,160}, {20,160}, - {320,120}, {300,120}, - {280,120}, {260,120}, - {240,120}, {220,120}, - {200,120}, {180,120}, - {160,120}, {140,120}, - {120,120}, {100,120}, - { 80,120}, {60,120}, - { 40,120}, {20,120}, - {320, 80}, {300, 80}, - {280, 80}, {260, 80}, - {240, 80}, {220, 80}, - {200, 80}, {180, 80}, - {160, 80}, {140, 80}, - {120, 80}, {100, 80}, - {80, 80}, {60, 80}, - {40, 80}, {20, 80}, - {320, 40}, {300, 40}, - {280, 40}, {260, 40}, - {240, 40}, {220, 40}, - {200, 40}, {180, 40}, - {160, 40}, {140, 40}, - {120, 40}, {100, 40}, - {80, 40}, {60, 40}, - { 40, 40}, {20, 40} - }; - -BOOL InitApplication(HANDLE); -BOOL InitInstance(HANDLE, int); - -int PASCAL WinMain(hInstance, hPrevInstance, lpCmdLine, nCmdShow) -HANDLE hInstance, hPrevInstance; -LPSTR lpCmdLine; -int nCmdShow; -{ - MSG msg; - - if (!hPrevInstance) - if (!InitApplication(hInstance)) return(FALSE); - if (!InitInstance(hInstance, nCmdShow)) return(FALSE); - while (GetMessage(&msg, NULL, NULL, NULL)) { - TranslateMessage(&msg); - DispatchMessage(&msg); - } - return(msg.wParam); -} - -BOOL InitApplication(hInstance) -HANDLE hInstance; -{ - WNDCLASS wc; - - /* Main Window Class */ - wc.style = NULL; - wc.lpfnWndProc = (WNDPROC)MainWndProc; - wc.cbClsExtra = 0; - wc.cbWndExtra = 0; - wc.hInstance = hInstance; - wc.hIcon = LoadIcon(hInstance, "MyIcon"); - wc.hCursor = LoadCursor(NULL, IDC_ARROW); - wc.hbrBackground = GetStockObject(LTGRAY_BRUSH); - wc.lpszMenuName = NULL; - wc.lpszClassName = "GenericWClass"; - if (!RegisterClass(&wc)) return(FALSE); -} - -BOOL InitInstance(hInstance, nCmdShow) -HANDLE hInstance; -int nCmdShow; -{ - HWND hWnd; - HMENU hSampleMenu; - - hInst = hInstance; - hSampleMenu = LoadMenu(hInstance, "U7434Menu"); - hWnd = CreateWindow("GenericWClass", - (LPCSTR)"PCI-7434R", - WS_OVERLAPPEDWINDOW, - CW_USEDEFAULT, - CW_USEDEFAULT, - 370, - 260, - NULL, - hSampleMenu, - hInstance, - NULL); - if (!hWnd) return(FALSE); - ShowWindow(hWnd, nCmdShow); - UpdateWindow(hWnd); - return(TRUE); -} - -BOOL PASCAL setup(HWND hWnd, unsigned message, WPARAM wParam, LPARAM lParam) -{ - int i; - char n[16]; - char s[50]; - switch (message) { - case WM_INITDIALOG: - for (i=0;i<16;i++) { - wsprintf(n, "%d", i); - _strupr(n); - SendMessage(GetDlgItem(hWnd,IDC_COMBO1), CB_ADDSTRING, NULL, (LONG)(LPSTR) n); - } - SendMessage(GetDlgItem(hWnd,IDC_COMBO1) , CB_SETCURSEL, 0, 0L); - - break; - case WM_COMMAND: - switch(LOWORD(wParam)) { - - case IDC_COMBO1: - if (HIWORD(wParam) == CBN_CLOSEUP) { - i = (int)SendMessage(GetDlgItem(hWnd,IDC_COMBO1), CB_GETCURSEL, 0, 0L); - SendMessage(GetDlgItem(hWnd,IDC_COMBO1), CB_GETLBTEXT, i, (LPARAM)((LPCSTR)n)); - card_number = i; - } - return(TRUE); - case IDOK: - if ((card=Register_Card(PCI_7434, card_number)) < 0) { - wsprintf(s, "Register_Card Error = %d\n", card); - MessageBox(hWnd, s, "Error", MB_OK); - } - EndDialog(hWnd, TRUE); - InvalidateRect(hWnd, NULL, FALSE); - return (TRUE); - case IDCANCEL: - EndDialog(hWnd, TRUE); - return (TRUE); - } - break; - } - return (FALSE); -} - -long PASCAL MainWndProc(hWnd, message, wParam, lParam) -HWND hWnd; -UINT message; -WPARAM wParam; -LPARAM lParam; -{ - HDC hDC; - PAINTSTRUCT ps; - int i, px, py; - - switch(message) { - case WM_CREATE: - DialogBox(hInst,IDD_DIALOG1, hWnd, setup); - if(card<0) { - SendMessage(hWnd, WM_CLOSE, 0, 0L); - break; - } - hLTGreenBrush = CreateSolidBrush(RGB(0, 255, 0)); - hGreenBrush = CreateSolidBrush(RGB(0, 128, 0)); - hBlueBrush = CreateSolidBrush(RGB(0, 0, 255)); - hRedBrush = CreateSolidBrush(RGB(255, 0, 0)); - break; - case WM_PAINT: - hDC = BeginPaint(hWnd, &ps); - // Digital Output Box - SelectObject(hDC, hGreenBrush); - Rectangle(hDC, output_pos[63].x-10, output_pos[63].y-24, 350, 200); - SetTextColor(hDC,RGB(255,255,255)); - SetBkColor(hDC, RGB(0, 0, 255)); - TextOut(hDC, output_pos[63].x, output_pos[63].y-30, "Digital Output",14); - // Channel Label - SetTextColor(hDC,RGB(0,0,0)); - SetBkColor(hDC, RGB(0, 128, 0)); - TextOut(hDC, output_pos[63].x, output_pos[63].y+16, "63 48", 75); - TextOut(hDC, output_pos[47].x, output_pos[47].y+16, "47 32", 75); - TextOut(hDC, output_pos[31].x, output_pos[31].y+16, "31 16", 75); - TextOut(hDC, output_pos[15].x, output_pos[0].y+16, "15 0", 75); - - // Channel Output - for (i=0; i<32; i++) { - if ((output_lo>>i)&0x01) - SelectObject(hDC, hRedBrush); - else - SelectObject(hDC, GetStockObject(WHITE_BRUSH)); - Ellipse(hDC, output_pos[i].x, output_pos[i].y, output_pos[i].x+17, output_pos[i].y+17); - } - for (i=0; i<32; i++) { - if ((output_hi>>i)&0x01) - SelectObject(hDC, hRedBrush); - else - SelectObject(hDC, GetStockObject(WHITE_BRUSH)); - Ellipse(hDC, output_pos[i+32].x, output_pos[i+32].y, output_pos[i+32].x+17, output_pos[i+32].y+17); - } - EndPaint(hWnd, &ps); - break; - case WM_COMMAND: - switch(LOWORD(wParam)) { - case IDM_EXIT: - SendMessage(hWnd, WM_CLOSE, 0, 0L); - break; - default: - return(DefWindowProc(hWnd, message, wParam, lParam)); - } - break; - case WM_DESTROY: - if (card >= 0) Release_Card(card); - DeleteObject(hRedBrush); - DeleteObject(hGreenBrush); - DeleteObject(hLTGreenBrush); - PostQuitMessage(0); - break; - case WM_LBUTTONDOWN: - px = LOWORD(lParam); - py = HIWORD(lParam); - - for (i=0; i<32; i++) { - if (px>output_pos[i].x && pxoutput_pos[i].y && py>i)&0x01) { - output_lo -= (((U32)1L)<output_pos[i+32].x && pxoutput_pos[i+32].y && py>i)&0x01) { - output_hi -= (((U32)1L)< -#include -#include -#include -#include -#include -#include "Dask.h" -#include "resource.h" - -#define IDM_EXIT 110 - -int PASCAL WinMain(HANDLE, HANDLE, LPSTR, int); -long PASCAL MainWndProc(HWND, UINT, WPARAM, LPARAM); - -HANDLE hInst; -U32 output_lo=0, output_hi=0; -I16 card=-1, card_number=0; - -HBRUSH hLTGreenBrush,hGreenBrush,hBlueBrush,hYellowBrush,hRedBrush; - -POINT output_pos[64]= { - {320,160}, {300,160}, - {280,160}, {260,160}, - {240,160}, {220,160}, - {200,160}, {180,160}, - {160,160}, {140,160}, - {120,160}, {100,160}, - {80,160}, {60,160}, - {40,160}, {20,160}, - {320,120}, {300,120}, - {280,120}, {260,120}, - {240,120}, {220,120}, - {200,120}, {180,120}, - {160,120}, {140,120}, - {120,120}, {100,120}, - { 80,120}, {60,120}, - { 40,120}, {20,120}, - {320, 80}, {300, 80}, - {280, 80}, {260, 80}, - {240, 80}, {220, 80}, - {200, 80}, {180, 80}, - {160, 80}, {140, 80}, - {120, 80}, {100, 80}, - {80, 80}, {60, 80}, - {40, 80}, {20, 80}, - {320, 40}, {300, 40}, - {280, 40}, {260, 40}, - {240, 40}, {220, 40}, - {200, 40}, {180, 40}, - {160, 40}, {140, 40}, - {120, 40}, {100, 40}, - {80, 40}, {60, 40}, - { 40, 40}, {20, 40} - }; - -BOOL InitApplication(HANDLE); -BOOL InitInstance(HANDLE, int); - -int PASCAL WinMain(hInstance, hPrevInstance, lpCmdLine, nCmdShow) -HANDLE hInstance, hPrevInstance; -LPSTR lpCmdLine; -int nCmdShow; -{ - MSG msg; - - if (!hPrevInstance) - if (!InitApplication(hInstance)) return(FALSE); - if (!InitInstance(hInstance, nCmdShow)) return(FALSE); - while (GetMessage(&msg, NULL, NULL, NULL)) { - TranslateMessage(&msg); - DispatchMessage(&msg); - } - return(msg.wParam); -} - -BOOL InitApplication(hInstance) -HANDLE hInstance; -{ - WNDCLASS wc; - - /* Main Window Class */ - wc.style = NULL; - wc.lpfnWndProc = (WNDPROC)MainWndProc; - wc.cbClsExtra = 0; - wc.cbWndExtra = 0; - wc.hInstance = hInstance; - wc.hIcon = LoadIcon(hInstance, "MyIcon"); - wc.hCursor = LoadCursor(NULL, IDC_ARROW); - wc.hbrBackground = GetStockObject(LTGRAY_BRUSH); - wc.lpszMenuName = NULL; - wc.lpszClassName = "GenericWClass"; - if (!RegisterClass(&wc)) return(FALSE); -} - -BOOL InitInstance(hInstance, nCmdShow) -HANDLE hInstance; -int nCmdShow; -{ - HWND hWnd; - HMENU hSampleMenu; - - hInst = hInstance; - hSampleMenu = LoadMenu(hInstance, "U7434Menu"); - hWnd = CreateWindow("GenericWClass", - (LPCSTR)"PCI-7434", - WS_OVERLAPPEDWINDOW, - CW_USEDEFAULT, - CW_USEDEFAULT, - 370, - 260, - NULL, - hSampleMenu, - hInstance, - NULL); - if (!hWnd) return(FALSE); - ShowWindow(hWnd, nCmdShow); - UpdateWindow(hWnd); - return(TRUE); -} - -BOOL PASCAL setup(HWND hWnd, unsigned message, WPARAM wParam, LPARAM lParam) -{ - int i; - char n[16]; - char s[50]; - switch (message) { - case WM_INITDIALOG: - for (i=0;i<16;i++) { - wsprintf(n, "%d", i); - _strupr(n); - SendMessage(GetDlgItem(hWnd,IDC_COMBO1), CB_ADDSTRING, NULL, (LONG)(LPSTR) n); - } - SendMessage(GetDlgItem(hWnd,IDC_COMBO1) , CB_SETCURSEL, 0, 0L); - - break; - case WM_COMMAND: - switch(LOWORD(wParam)) { - - case IDC_COMBO1: - if (HIWORD(wParam) == CBN_CLOSEUP) { - i = (int)SendMessage(GetDlgItem(hWnd,IDC_COMBO1), CB_GETCURSEL, 0, 0L); - SendMessage(GetDlgItem(hWnd,IDC_COMBO1), CB_GETLBTEXT, i, (LPARAM)((LPCSTR)n)); - card_number = i; - } - return(TRUE); - case IDOK: - if ((card=Register_Card(PCI_7434C, card_number)) < 0) { - wsprintf(s, "Register_Card Error = %d\n", card); - MessageBox(hWnd, s, "Error", MB_OK); - } - EndDialog(hWnd, TRUE); - InvalidateRect(hWnd, NULL, FALSE); - return (TRUE); - case IDCANCEL: - EndDialog(hWnd, TRUE); - return (TRUE); - } - break; - } - return (FALSE); -} - -long PASCAL MainWndProc(hWnd, message, wParam, lParam) -HWND hWnd; -UINT message; -WPARAM wParam; -LPARAM lParam; -{ - HDC hDC; - PAINTSTRUCT ps; - int i, px, py; - - switch(message) { - case WM_CREATE: - DialogBox(hInst,IDD_DIALOG1, hWnd, setup); - if(card<0) { - SendMessage(hWnd, WM_CLOSE, 0, 0L); - break; - } - hLTGreenBrush = CreateSolidBrush(RGB(0, 255, 0)); - hGreenBrush = CreateSolidBrush(RGB(0, 128, 0)); - hBlueBrush = CreateSolidBrush(RGB(0, 0, 255)); - hRedBrush = CreateSolidBrush(RGB(255, 0, 0)); - break; - case WM_PAINT: - hDC = BeginPaint(hWnd, &ps); - // Digital Output Box - SelectObject(hDC, hGreenBrush); - Rectangle(hDC, output_pos[63].x-10, output_pos[63].y-24, 350, 200); - SetTextColor(hDC,RGB(255,255,255)); - SetBkColor(hDC, RGB(0, 0, 255)); - TextOut(hDC, output_pos[63].x, output_pos[63].y-30, "Digital Output",14); - // Channel Label - SetTextColor(hDC,RGB(0,0,0)); - SetBkColor(hDC, RGB(0, 128, 0)); - TextOut(hDC, output_pos[63].x, output_pos[63].y+16, "63 48", 75); - TextOut(hDC, output_pos[47].x, output_pos[47].y+16, "47 32", 75); - TextOut(hDC, output_pos[31].x, output_pos[31].y+16, "31 16", 75); - TextOut(hDC, output_pos[15].x, output_pos[0].y+16, "15 0", 75); - - // Channel Output - for (i=0; i<32; i++) { - if ((output_lo>>i)&0x01) - SelectObject(hDC, hRedBrush); - else - SelectObject(hDC, GetStockObject(WHITE_BRUSH)); - Ellipse(hDC, output_pos[i].x, output_pos[i].y, output_pos[i].x+17, output_pos[i].y+17); - } - for (i=0; i<32; i++) { - if ((output_hi>>i)&0x01) - SelectObject(hDC, hRedBrush); - else - SelectObject(hDC, GetStockObject(WHITE_BRUSH)); - Ellipse(hDC, output_pos[i+32].x, output_pos[i+32].y, output_pos[i+32].x+17, output_pos[i+32].y+17); - } - EndPaint(hWnd, &ps); - break; - case WM_COMMAND: - switch(LOWORD(wParam)) { - case IDM_EXIT: - SendMessage(hWnd, WM_CLOSE, 0, 0L); - break; - default: - return(DefWindowProc(hWnd, message, wParam, lParam)); - } - break; - case WM_DESTROY: - if (card >= 0) Release_Card(card); - DeleteObject(hRedBrush); - DeleteObject(hGreenBrush); - DeleteObject(hLTGreenBrush); - PostQuitMessage(0); - break; - case WM_LBUTTONDOWN: - px = LOWORD(lParam); - py = HIWORD(lParam); - - for (i=0; i<32; i++) { - if (px>output_pos[i].x && pxoutput_pos[i].y && py>i)&0x01) { - output_lo -= (((U32)1L)<output_pos[i+32].x && pxoutput_pos[i+32].y && py>i)&0x01) { - output_hi -= (((U32)1L)< -# Microsoft Developer Studio Generated Build File, Format Version 6.00 -# ** DO NOT EDIT ** - -# TARGTYPE "Win32 (x86) Application" 0x0101 - -CFG=Util7434 - Win32 Release -!MESSAGE This is not a valid makefile. To build this project using NMAKE, -!MESSAGE use the Export Makefile command and run -!MESSAGE -!MESSAGE NMAKE /f "Util7434.mak". -!MESSAGE -!MESSAGE You can specify a configuration when running NMAKE -!MESSAGE by defining the macro CFG on the command line. For example: -!MESSAGE -!MESSAGE NMAKE /f "Util7434.mak" CFG="Util7434 - Win32 Release" -!MESSAGE -!MESSAGE Possible choices for configuration are: -!MESSAGE -!MESSAGE "Util7434 - Win32 Release" (based on "Win32 (x86) Application") -!MESSAGE "Util7434 - Win32 Debug" (based on "Win32 (x86) Application") -!MESSAGE - -# Begin Project -# PROP AllowPerConfigDependencies 0 -# PROP Scc_ProjName "" -# PROP Scc_LocalPath "" -CPP=cl.exe -MTL=midl.exe -RSC=rc.exe - -!IF "$(CFG)" == "Util7434 - Win32 Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir ".\Util7434" -# PROP BASE Intermediate_Dir ".\Util7434" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "" -# PROP Intermediate_Dir ".\Release" -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /YX /c -# ADD CPP /nologo /W3 /GX /O2 /I "..\..\..\include" /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /FD /c -# SUBTRACT CPP /YX -# ADD BASE MTL /nologo /D "NDEBUG" /win32 -# ADD MTL /nologo /D "NDEBUG" /mktyplib203 /win32 -# ADD BASE RSC /l 0x404 /d "NDEBUG" -# ADD RSC /l 0x404 /d "NDEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:windows /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ..\..\..\lib\PCI-DASK.lib /nologo /subsystem:windows /machine:I386 - -!ELSEIF "$(CFG)" == "Util7434 - Win32 Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir ".\Debug" -# PROP BASE Intermediate_Dir ".\Debug" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "" -# PROP Intermediate_Dir ".\Debug" -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /Gm /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /YX /c -# ADD CPP /nologo /W3 /Gm /GX /ZI /Od /I "..\..\..\include" /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /FD /c -# SUBTRACT CPP /YX -# ADD BASE MTL /nologo /D "_DEBUG" /win32 -# ADD MTL /nologo /D "_DEBUG" /mktyplib203 /win32 -# ADD BASE RSC /l 0x404 /d "_DEBUG" -# ADD RSC /l 0x404 /d "_DEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:windows /debug /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ..\..\..\lib\PCI-DASK.lib /nologo /subsystem:windows /debug /machine:I386 - -!ENDIF - -# Begin Target - -# Name "Util7434 - Win32 Release" -# Name "Util7434 - Win32 Debug" -# Begin Group "Source Files" - -# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;idl;hpj;bat;for;f90" -# Begin Source File - -SOURCE=.\util7434.c -# End Source File -# Begin Source File - -SOURCE=.\util7434.rc -# End Source File -# End Group -# Begin Group "Header Files" - -# PROP Default_Filter "h;hpp;hxx;hm;inl;fi;fd" -# Begin Source File - -SOURCE=.\Resource.h -# End Source File -# End Group -# Begin Group "Resource Files" - -# PROP Default_Filter "ico;cur;bmp;dlg;rc2;rct;bin;cnt;rtf;gif;jpg;jpeg;jpe" -# End Group -# End Target -# End Project diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7434C/SDK7434C/Util7434.dsw b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7434C/SDK7434C/Util7434.dsw deleted file mode 100644 index c077bba..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7434C/SDK7434C/Util7434.dsw +++ /dev/null @@ -1,29 +0,0 @@ -Microsoft Developer Studio Workspace File, Format Version 6.00 -# WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE! - -############################################################################### - -Project: "Util7434"=".\Util7434.dsp" - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ -}}} - -############################################################################### - -Global: - -Package=<5> -{{{ -}}} - -Package=<3> -{{{ -}}} - -############################################################################### - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7434C/SDK7434C/Util7434.exe b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7434C/SDK7434C/Util7434.exe deleted file mode 100644 index caff032..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7434C/SDK7434C/Util7434.exe and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7434C/VB7434C/0.BMP b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7434C/VB7434C/0.BMP deleted file mode 100644 index 407bba2..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7434C/VB7434C/0.BMP and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7434C/VB7434C/1.BMP b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7434C/VB7434C/1.BMP deleted file mode 100644 index 37d14f3..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7434C/VB7434C/1.BMP and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7434C/VB7434C/7434GLBL.BAS b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7434C/VB7434C/7434GLBL.BAS deleted file mode 100644 index 77a2e7f..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7434C/VB7434C/7434GLBL.BAS +++ /dev/null @@ -1,4 +0,0 @@ -Attribute VB_Name = "Module1" -Global card As Integer -Global card_number As Integer - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7434C/VB7434C/Base7434.frm b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7434C/VB7434C/Base7434.frm deleted file mode 100644 index f319ff5..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7434C/VB7434C/Base7434.frm +++ /dev/null @@ -1,98 +0,0 @@ -VERSION 5.00 -Begin VB.Form SettingForm - Appearance = 0 'Flat - BackColor = &H00C0C0C0& - Caption = "Card Number Setting" - ClientHeight = 1275 - ClientLeft = 4590 - ClientTop = 4545 - ClientWidth = 2820 - BeginProperty Font - Name = "MS Sans Serif" - Size = 8.25 - Charset = 0 - Weight = 700 - Underline = 0 'False - Italic = 0 'False - Strikethrough = 0 'False - EndProperty - ForeColor = &H80000008& - LinkTopic = "Form2" - PaletteMode = 1 'UseZOrder - ScaleHeight = 1275 - ScaleWidth = 2820 - Begin VB.CommandButton OKBtn - Appearance = 0 'Flat - BackColor = &H80000005& - Caption = "OK" - Default = -1 'True - Height = 315 - Left = 300 - TabIndex = 0 - Top = 720 - Width = 915 - End - Begin VB.CommandButton CancelBtn - Appearance = 0 'Flat - BackColor = &H80000005& - Cancel = -1 'True - Caption = "Cancel" - Height = 315 - Left = 1380 - TabIndex = 3 - Top = 720 - Width = 915 - End - Begin VB.ComboBox CardNum - Appearance = 0 'Flat - Height = 300 - Left = 1440 - Style = 2 'Dropdown List - TabIndex = 2 - Top = 120 - Width = 1035 - End - Begin VB.Label Label2 - Appearance = 0 'Flat - BackColor = &H00C0C0C0& - Caption = "Card Number:" - ForeColor = &H00000000& - Height = 195 - Index = 0 - Left = 180 - TabIndex = 1 - Top = 180 - Width = 1275 - End -End -Attribute VB_Name = "SettingForm" -Attribute VB_GlobalNameSpace = False -Attribute VB_Creatable = False -Attribute VB_PredeclaredId = True -Attribute VB_Exposed = False - - -Private Sub BaseAddr_Change() - -End Sub - - -Private Sub CancelBtn_Click() - Unload SettingForm -End Sub - -Private Sub Form_Load() - Dim i As Long - For i = 0 To 15 Step 1 - CardNum.AddItem i - Next - CardNum.ListIndex = 0 -End Sub - -Private Sub OKBtn_Click() - card = -1 - card_number = CardNum.ListIndex - card = Register_Card(PCI_7434C, card_number) - Unload SettingForm -End Sub - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7434C/VB7434C/Util7434.Frm b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7434C/VB7434C/Util7434.Frm deleted file mode 100644 index 50c3d49..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7434C/VB7434C/Util7434.Frm +++ /dev/null @@ -1,770 +0,0 @@ -VERSION 5.00 -Begin VB.Form util7434 - Appearance = 0 'Flat - BackColor = &H00C0C0C0& - Caption = "PCI-7434 Sample Program" - ClientHeight = 3270 - ClientLeft = 1215 - ClientTop = 1620 - ClientWidth = 6480 - BeginProperty Font - Name = "MS Sans Serif" - Size = 8.25 - Charset = 0 - Weight = 700 - Underline = 0 'False - Italic = 0 'False - Strikethrough = 0 'False - EndProperty - ForeColor = &H80000008& - LinkTopic = "Form1" - PaletteMode = 1 'UseZOrder - ScaleHeight = 3270 - ScaleWidth = 6480 - Begin VB.Frame Frame1 - Appearance = 0 'Flat - BackColor = &H00C0C0C0& - Caption = "Digital Output Lo" - ForeColor = &H000000FF& - Height = 1455 - Index = 0 - Left = 180 - TabIndex = 3 - Top = 1560 - Width = 6075 - Begin VB.Image DOP1 - Appearance = 0 'Flat - Height = 300 - Index = 0 - Left = 5580 - Picture = "Util7434.frx":0000 - Top = 900 - Width = 300 - End - Begin VB.Image DOP1 - Appearance = 0 'Flat - Height = 300 - Index = 1 - Left = 5220 - Picture = "Util7434.frx":0172 - Top = 900 - Width = 300 - End - Begin VB.Image DOP1 - Appearance = 0 'Flat - Height = 300 - Index = 3 - Left = 4500 - Picture = "Util7434.frx":02E4 - Top = 900 - Width = 300 - End - Begin VB.Image DOP1 - Appearance = 0 'Flat - Height = 300 - Index = 2 - Left = 4860 - Picture = "Util7434.frx":0456 - Top = 900 - Width = 300 - End - Begin VB.Image DOP1 - Appearance = 0 'Flat - Height = 300 - Index = 4 - Left = 4140 - Picture = "Util7434.frx":05C8 - Top = 900 - Width = 300 - End - Begin VB.Image DOP1 - Appearance = 0 'Flat - Height = 300 - Index = 5 - Left = 3780 - Picture = "Util7434.frx":073A - Top = 900 - Width = 300 - End - Begin VB.Image DOP1 - Appearance = 0 'Flat - Height = 300 - Index = 6 - Left = 3420 - Picture = "Util7434.frx":08AC - Top = 900 - Width = 300 - End - Begin VB.Image DOP1 - Appearance = 0 'Flat - Height = 300 - Index = 7 - Left = 3060 - Picture = "Util7434.frx":0A1E - Top = 900 - Width = 300 - End - Begin VB.Image DOP1 - Appearance = 0 'Flat - Height = 300 - Index = 15 - Left = 180 - Picture = "Util7434.frx":0B90 - Top = 900 - Width = 300 - End - Begin VB.Image DOP1 - Appearance = 0 'Flat - Height = 300 - Index = 14 - Left = 540 - Picture = "Util7434.frx":0D02 - Top = 900 - Width = 300 - End - Begin VB.Image DOP1 - Appearance = 0 'Flat - Height = 300 - Index = 13 - Left = 900 - Picture = "Util7434.frx":0E74 - Top = 900 - Width = 300 - End - Begin VB.Image DOP1 - Appearance = 0 'Flat - Height = 300 - Index = 12 - Left = 1260 - Picture = "Util7434.frx":0FE6 - Top = 900 - Width = 300 - End - Begin VB.Image DOP1 - Appearance = 0 'Flat - Height = 300 - Index = 11 - Left = 1620 - Picture = "Util7434.frx":1158 - Top = 900 - Width = 300 - End - Begin VB.Image DOP1 - Appearance = 0 'Flat - Height = 300 - Index = 10 - Left = 1980 - Picture = "Util7434.frx":12CA - Top = 900 - Width = 300 - End - Begin VB.Image DOP1 - Appearance = 0 'Flat - Height = 300 - Index = 9 - Left = 2340 - Picture = "Util7434.frx":143C - Top = 900 - Width = 300 - End - Begin VB.Image DOP1 - Appearance = 0 'Flat - Height = 300 - Index = 8 - Left = 2700 - Picture = "Util7434.frx":15AE - Top = 900 - Width = 300 - End - Begin VB.Image DOP1 - Appearance = 0 'Flat - Height = 300 - Index = 16 - Left = 5580 - Picture = "Util7434.frx":1720 - Top = 300 - Width = 300 - End - Begin VB.Image DOP1 - Appearance = 0 'Flat - Height = 300 - Index = 17 - Left = 5220 - Picture = "Util7434.frx":1892 - Top = 300 - Width = 300 - End - Begin VB.Image DOP1 - Appearance = 0 'Flat - Height = 300 - Index = 18 - Left = 4860 - Picture = "Util7434.frx":1A04 - Top = 300 - Width = 300 - End - Begin VB.Image DOP1 - Appearance = 0 'Flat - Height = 300 - Index = 19 - Left = 4500 - Picture = "Util7434.frx":1B76 - Top = 300 - Width = 300 - End - Begin VB.Image DOP1 - Appearance = 0 'Flat - Height = 300 - Index = 20 - Left = 4140 - Picture = "Util7434.frx":1CE8 - Top = 300 - Width = 300 - End - Begin VB.Image DOP1 - Appearance = 0 'Flat - Height = 300 - Index = 21 - Left = 3780 - Picture = "Util7434.frx":1E5A - Top = 300 - Width = 300 - End - Begin VB.Image DOP1 - Appearance = 0 'Flat - Height = 300 - Index = 22 - Left = 3420 - Picture = "Util7434.frx":1FCC - Top = 300 - Width = 300 - End - Begin VB.Image DOP1 - Appearance = 0 'Flat - Height = 300 - Index = 23 - Left = 3060 - Picture = "Util7434.frx":213E - Top = 300 - Width = 300 - End - Begin VB.Image DOP1 - Appearance = 0 'Flat - Height = 300 - Index = 24 - Left = 2700 - Picture = "Util7434.frx":22B0 - Top = 300 - Width = 300 - End - Begin VB.Image DOP1 - Appearance = 0 'Flat - Height = 300 - Index = 25 - Left = 2340 - Picture = "Util7434.frx":2422 - Top = 300 - Width = 300 - End - Begin VB.Image DOP1 - Appearance = 0 'Flat - Height = 300 - Index = 26 - Left = 1980 - Picture = "Util7434.frx":2594 - Top = 300 - Width = 300 - End - Begin VB.Image DOP1 - Appearance = 0 'Flat - Height = 300 - Index = 27 - Left = 1620 - Picture = "Util7434.frx":2706 - Top = 300 - Width = 300 - End - Begin VB.Image DOP1 - Appearance = 0 'Flat - Height = 300 - Index = 29 - Left = 900 - Picture = "Util7434.frx":2878 - Top = 300 - Width = 300 - End - Begin VB.Image DOP1 - Appearance = 0 'Flat - Height = 300 - Index = 28 - Left = 1260 - Picture = "Util7434.frx":29EA - Top = 300 - Width = 300 - End - Begin VB.Image DOP1 - Appearance = 0 'Flat - Height = 300 - Index = 30 - Left = 540 - Picture = "Util7434.frx":2B5C - Top = 300 - Width = 300 - End - Begin VB.Image DOP1 - Appearance = 0 'Flat - Height = 300 - Index = 31 - Left = 180 - Picture = "Util7434.frx":2CCE - Top = 300 - Width = 300 - End - Begin VB.Label Label4 - Caption = "0" - Height = 195 - Left = 5670 - TabIndex = 5 - Top = 1200 - Width = 135 - End - Begin VB.Label Label3 - Caption = "31" - Height = 195 - Left = 210 - TabIndex = 4 - Top = 600 - Width = 255 - End - End - Begin VB.Frame Frame1 - Appearance = 0 'Flat - BackColor = &H00C0C0C0& - Caption = "Digital Output Hi" - ForeColor = &H000000FF& - Height = 1455 - Index = 1 - Left = 180 - TabIndex = 0 - Top = 60 - Width = 6075 - Begin VB.Label Label2 - Caption = "31" - Height = 195 - Left = 210 - TabIndex = 2 - Top = 600 - Width = 255 - End - Begin VB.Label Label1 - Caption = "0" - Height = 195 - Left = 5670 - TabIndex = 1 - Top = 1200 - Width = 135 - End - Begin VB.Image DOP0 - Appearance = 0 'Flat - Height = 300 - Index = 31 - Left = 180 - Picture = "Util7434.frx":2E40 - Top = 300 - Width = 300 - End - Begin VB.Image DOP0 - Appearance = 0 'Flat - Height = 300 - Index = 30 - Left = 540 - Picture = "Util7434.frx":2FB2 - Top = 300 - Width = 300 - End - Begin VB.Image DOP0 - Appearance = 0 'Flat - Height = 300 - Index = 28 - Left = 1260 - Picture = "Util7434.frx":3124 - Top = 300 - Width = 300 - End - Begin VB.Image DOP0 - Appearance = 0 'Flat - Height = 300 - Index = 29 - Left = 900 - Picture = "Util7434.frx":3296 - Top = 300 - Width = 300 - End - Begin VB.Image DOP0 - Appearance = 0 'Flat - Height = 300 - Index = 27 - Left = 1620 - Picture = "Util7434.frx":3408 - Top = 300 - Width = 300 - End - Begin VB.Image DOP0 - Appearance = 0 'Flat - Height = 300 - Index = 26 - Left = 1980 - Picture = "Util7434.frx":357A - Top = 300 - Width = 300 - End - Begin VB.Image DOP0 - Appearance = 0 'Flat - Height = 300 - Index = 25 - Left = 2340 - Picture = "Util7434.frx":36EC - Top = 300 - Width = 300 - End - Begin VB.Image DOP0 - Appearance = 0 'Flat - Height = 300 - Index = 24 - Left = 2700 - Picture = "Util7434.frx":385E - Top = 300 - Width = 300 - End - Begin VB.Image DOP0 - Appearance = 0 'Flat - Height = 300 - Index = 23 - Left = 3060 - Picture = "Util7434.frx":39D0 - Top = 300 - Width = 300 - End - Begin VB.Image DOP0 - Appearance = 0 'Flat - Height = 300 - Index = 22 - Left = 3420 - Picture = "Util7434.frx":3B42 - Top = 300 - Width = 300 - End - Begin VB.Image DOP0 - Appearance = 0 'Flat - Height = 300 - Index = 21 - Left = 3780 - Picture = "Util7434.frx":3CB4 - Top = 300 - Width = 300 - End - Begin VB.Image DOP0 - Appearance = 0 'Flat - Height = 300 - Index = 20 - Left = 4140 - Picture = "Util7434.frx":3E26 - Top = 300 - Width = 300 - End - Begin VB.Image DOP0 - Appearance = 0 'Flat - Height = 300 - Index = 19 - Left = 4500 - Picture = "Util7434.frx":3F98 - Top = 300 - Width = 300 - End - Begin VB.Image DOP0 - Appearance = 0 'Flat - Height = 300 - Index = 18 - Left = 4860 - Picture = "Util7434.frx":410A - Top = 300 - Width = 300 - End - Begin VB.Image DOP0 - Appearance = 0 'Flat - Height = 300 - Index = 17 - Left = 5220 - Picture = "Util7434.frx":427C - Top = 300 - Width = 300 - End - Begin VB.Image DOP0 - Appearance = 0 'Flat - Height = 300 - Index = 16 - Left = 5580 - Picture = "Util7434.frx":43EE - Top = 300 - Width = 300 - End - Begin VB.Image DOP0 - Appearance = 0 'Flat - Height = 300 - Index = 8 - Left = 2700 - Picture = "Util7434.frx":4560 - Top = 900 - Width = 300 - End - Begin VB.Image DOP0 - Appearance = 0 'Flat - Height = 300 - Index = 9 - Left = 2340 - Picture = "Util7434.frx":46D2 - Top = 900 - Width = 300 - End - Begin VB.Image DOP0 - Appearance = 0 'Flat - Height = 300 - Index = 10 - Left = 1980 - Picture = "Util7434.frx":4844 - Top = 900 - Width = 300 - End - Begin VB.Image DOP0 - Appearance = 0 'Flat - Height = 300 - Index = 11 - Left = 1620 - Picture = "Util7434.frx":49B6 - Top = 900 - Width = 300 - End - Begin VB.Image DOP0 - Appearance = 0 'Flat - Height = 300 - Index = 12 - Left = 1260 - Picture = "Util7434.frx":4B28 - Top = 900 - Width = 300 - End - Begin VB.Image DOP0 - Appearance = 0 'Flat - Height = 300 - Index = 13 - Left = 900 - Picture = "Util7434.frx":4C9A - Top = 900 - Width = 300 - End - Begin VB.Image DOP0 - Appearance = 0 'Flat - Height = 300 - Index = 14 - Left = 540 - Picture = "Util7434.frx":4E0C - Top = 900 - Width = 300 - End - Begin VB.Image DOP0 - Appearance = 0 'Flat - Height = 300 - Index = 15 - Left = 180 - Picture = "Util7434.frx":4F7E - Top = 900 - Width = 300 - End - Begin VB.Image DOP0 - Appearance = 0 'Flat - Height = 300 - Index = 7 - Left = 3060 - Picture = "Util7434.frx":50F0 - Top = 900 - Width = 300 - End - Begin VB.Image DOP0 - Appearance = 0 'Flat - Height = 300 - Index = 6 - Left = 3420 - Picture = "Util7434.frx":5262 - Top = 900 - Width = 300 - End - Begin VB.Image DOP0 - Appearance = 0 'Flat - Height = 300 - Index = 5 - Left = 3780 - Picture = "Util7434.frx":53D4 - Top = 900 - Width = 300 - End - Begin VB.Image DOP0 - Appearance = 0 'Flat - Height = 300 - Index = 4 - Left = 4140 - Picture = "Util7434.frx":5546 - Top = 900 - Width = 300 - End - Begin VB.Image DOP0 - Appearance = 0 'Flat - Height = 300 - Index = 2 - Left = 4860 - Picture = "Util7434.frx":56B8 - Top = 900 - Width = 300 - End - Begin VB.Image DOP0 - Appearance = 0 'Flat - Height = 300 - Index = 3 - Left = 4500 - Picture = "Util7434.frx":582A - Top = 900 - Width = 300 - End - Begin VB.Image DOP0 - Appearance = 0 'Flat - Height = 300 - Index = 1 - Left = 5220 - Picture = "Util7434.frx":599C - Top = 900 - Width = 300 - End - Begin VB.Image DOP0 - Appearance = 0 'Flat - Height = 300 - Index = 0 - Left = 5580 - Picture = "Util7434.frx":5B0E - Top = 900 - Width = 300 - End - End - Begin VB.Image Image1 - Appearance = 0 'Flat - Height = 300 - Left = 5880 - Picture = "Util7434.frx":5C80 - Top = 3060 - Visible = 0 'False - Width = 300 - End - Begin VB.Image Image0 - Appearance = 0 'Flat - Height = 300 - Left = 6180 - Picture = "Util7434.frx":5DF2 - Top = 3060 - Visible = 0 'False - Width = 300 - End - Begin VB.Menu mnuExit - Caption = "&Exit!" - End -End -Attribute VB_Name = "util7434" -Attribute VB_GlobalNameSpace = False -Attribute VB_Creatable = False -Attribute VB_PredeclaredId = True -Attribute VB_Exposed = False -Option Explicit -Dim status0(0 To 31) As Integer -Dim status1(0 To 31) As Integer - - -Private Sub DOP0_Click(Index As Integer) - Dim i As Integer, result As Integer - Dim do_data As Long - - If status0(Index) = 1 Then - DOP0(Index).Picture = Image0.Picture - status0(Index) = 0 - Else - DOP0(Index).Picture = Image1.Picture - status0(Index) = 1 - End If - do_data = 0 - For i = 0 To 30 - If status0(i) = 1 Then do_data = do_data + (2 ^ i) - Next - 'Handle the MSB - 'do_data=do_data+2^31, but bucause VB has no unsigned long, - 'translate an unsigned long to signed long by minus 2^32 - If status0(31) = 1 Then do_data = do_data - 2 ^ 31 'do_data = do_data + 2^31 - 2^32 - 'result = W_7434_DO_HiDW(0, do_data) - result = DO_WritePort(card, CHANNEL_DO_HIGH, do_data) - -End Sub - -Private Sub DOP1_Click(Index As Integer) - Dim i As Integer, result As Integer - Dim do_data As Long - - If status1(Index) = 1 Then - DOP1(Index).Picture = Image0.Picture - status1(Index) = 0 - Else - DOP1(Index).Picture = Image1.Picture - status1(Index) = 1 - End If - do_data = 0 - For i = 0 To 30 - If status1(i) = 1 Then do_data = do_data + (2 ^ i) - Next - 'Handle the MSB - 'do_data=do_data+2^31, but bucause VB has no unsigned long, - 'translate an unsigned long to signed long by minus 2^32 - If status1(31) = 1 Then do_data = do_data - 2 ^ 31 'do_data = do_data + 2^31 - 2^32 - 'result = W_7434_DO_LoDW(0, do_data) - result = DO_WritePort(card, CHANNEL_DO_LOW, do_data) - -End Sub - - -Private Sub Form_Load() - Dim result As Integer - Dim i As Integer - - SettingForm.Show 1 - If card < 0 Then - MsgBox "Register card failed." - End - End If - For i = 0 To 31 - status0(i) = 0 - status1(i) = 0 - Next - -End Sub - -Private Sub Form_Unload(Cancel As Integer) - Dim result As Integer - If card >= 0 Then - result = Release_Card(card) - End If - End -End Sub - - -Private Sub mnuExit_Click() -Dim result As Integer - If card >= 0 Then - result = Release_Card(card) - End If - End -End Sub - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7434C/VB7434C/Util7434.Vbp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7434C/VB7434C/Util7434.Vbp deleted file mode 100644 index 7377c3b..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7434C/VB7434C/Util7434.Vbp +++ /dev/null @@ -1,38 +0,0 @@ -Type=Exe -Form=Util7434.Frm -Module=DASK; ..\..\..\Include\Dask.bas -Module=Module1; 7434glbl.bas -Form=Base7434.frm -Reference=*\G{00025E04-0000-0000-C000-000000000046}#3.5#0#..\..\..\..\..\..\..\Program Files\Common Files\Microsoft Shared\DAO\dao2535.tlb#Microsoft DAO 2.5/3.0 Compatibility Library -IconForm="util7434" -Startup="util7434" -Title="UTIL7434" -ExeName32="Util7434.exe" -Command32="" -Name="vb4projectUtil7434" -HelpContextID="0" -CompatibleMode="0" -MajorVer=1 -MinorVer=0 -RevisionVer=0 -AutoIncrementVer=0 -ServerSupportFiles=0 -VersionCompanyName="ADLINK" -CompilationType=0 -OptimizationType=0 -FavorPentiumPro(tm)=0 -CodeViewDebugInfo=0 -NoAliasing=0 -BoundsCheck=0 -OverflowCheck=0 -FlPointCheck=0 -FDIVCheck=0 -UnroundedFP=0 -StartMode=0 -Unattended=0 -Retained=0 -ThreadPerObject=0 -MaxNumberOfThreads=1 - -[MS Transaction Server] -AutoRefresh=1 diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7434C/VB7434C/Util7434.frx b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7434C/VB7434C/Util7434.frx deleted file mode 100644 index 055f82c..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7434C/VB7434C/Util7434.frx and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7434C/VB7434C/Util7434.vbw b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7434C/VB7434C/Util7434.vbw deleted file mode 100644 index a5ebff1..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7434C/VB7434C/Util7434.vbw +++ /dev/null @@ -1,4 +0,0 @@ -util7434 = 0, 0, 0, 0, C, 44, 58, 1015, 585, C -DASK = 0, 0, 0, 0, C -Module1 = 0, 0, 0, 0, C -SettingForm = 0, 0, 0, 0, C, 22, 29, 993, 556, C diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7442/C7442TTL_Line/UTIL7442.DSP b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7442/C7442TTL_Line/UTIL7442.DSP deleted file mode 100644 index 72a403e..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7442/C7442TTL_Line/UTIL7442.DSP +++ /dev/null @@ -1,110 +0,0 @@ -# Microsoft Developer Studio Project File - Name="util7442" - Package Owner=<4> -# Microsoft Developer Studio Generated Build File, Format Version 6.00 -# ** DO NOT EDIT ** - -# TARGTYPE "Win32 (x86) Application" 0x0101 - -CFG=util7442 - Win32 Release -!MESSAGE This is not a valid makefile. To build this project using NMAKE, -!MESSAGE use the Export Makefile command and run -!MESSAGE -!MESSAGE NMAKE /f "UTIL7442.MAK". -!MESSAGE -!MESSAGE You can specify a configuration when running NMAKE -!MESSAGE by defining the macro CFG on the command line. For example: -!MESSAGE -!MESSAGE NMAKE /f "UTIL7442.MAK" CFG="util7442 - Win32 Release" -!MESSAGE -!MESSAGE Possible choices for configuration are: -!MESSAGE -!MESSAGE "util7442 - Win32 Release" (based on "Win32 (x86) Application") -!MESSAGE "util7442 - Win32 Debug" (based on "Win32 (x86) Application") -!MESSAGE - -# Begin Project -# PROP AllowPerConfigDependencies 0 -# PROP Scc_ProjName "" -# PROP Scc_LocalPath "" -CPP=cl.exe -MTL=midl.exe -RSC=rc.exe - -!IF "$(CFG)" == "util7442 - Win32 Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir ".\Release" -# PROP BASE Intermediate_Dir ".\Release" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "" -# PROP Intermediate_Dir ".\Release" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /YX /c -# ADD CPP /nologo /W3 /GX /Od /I "..\..\..\include" /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /FD /c -# SUBTRACT CPP /YX -# ADD BASE MTL /nologo /D "NDEBUG" /win32 -# ADD MTL /nologo /D "NDEBUG" /mktyplib203 /win32 -# ADD BASE RSC /l 0x409 /d "NDEBUG" -# ADD RSC /l 0x409 /d "NDEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:windows /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ..\..\..\lib\PCI-Dask.lib /nologo /subsystem:console /machine:I386 -# SUBTRACT LINK32 /pdb:none - -!ELSEIF "$(CFG)" == "util7442 - Win32 Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir ".\Debug" -# PROP BASE Intermediate_Dir ".\Debug" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir ".\Debug" -# PROP Intermediate_Dir ".\Debug" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /Gm /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /YX /c -# ADD CPP /nologo /MTd /W3 /Gm /GX /ZI /Od /I "..\..\..\include" /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /FR /FD /c -# ADD BASE MTL /nologo /D "_DEBUG" /win32 -# ADD MTL /nologo /D "_DEBUG" /mktyplib203 /win32 -# ADD BASE RSC /l 0x409 /d "_DEBUG" -# ADD RSC /l 0x409 /d "_DEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:windows /debug /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ..\..\..\lib\PCI-DASK.lib /nologo /subsystem:console /debug /machine:I386 -# SUBTRACT LINK32 /pdb:none - -!ENDIF - -# Begin Target - -# Name "util7442 - Win32 Release" -# Name "util7442 - Win32 Debug" -# Begin Group "Source Files" - -# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;idl;hpj;bat;for;f90" -# Begin Source File - -SOURCE=.\Util7442.c -# End Source File -# End Group -# Begin Group "Header Files" - -# PROP Default_Filter "h;hpp;hxx;hm;inl;fi;fd" -# End Group -# Begin Group "Resource Files" - -# PROP Default_Filter "ico;cur;bmp;dlg;rc2;rct;bin;cnt;rtf;gif;jpg;jpeg;jpe" -# End Group -# End Target -# End Project diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7442/C7442TTL_Line/UTIL7442.DSW b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7442/C7442TTL_Line/UTIL7442.DSW deleted file mode 100644 index 7e09f89..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7442/C7442TTL_Line/UTIL7442.DSW +++ /dev/null @@ -1,29 +0,0 @@ -Microsoft Developer Studio Workspace File, Format Version 6.00 -# WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE! - -############################################################################### - -Project: "util7442"=.\UTIL7442.DSP - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ -}}} - -############################################################################### - -Global: - -Package=<5> -{{{ -}}} - -Package=<3> -{{{ -}}} - -############################################################################### - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7442/C7442TTL_Line/UTIL7442.exe b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7442/C7442TTL_Line/UTIL7442.exe deleted file mode 100644 index 0cd6d52..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7442/C7442TTL_Line/UTIL7442.exe and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7442/C7442TTL_Line/Util7442.c b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7442/C7442TTL_Line/Util7442.c deleted file mode 100644 index e786d86..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7442/C7442TTL_Line/Util7442.c +++ /dev/null @@ -1,122 +0,0 @@ -#include -#include -#include -#include "dask.h" - - -void main(void) -{ - - I16 card, err, card_num=0; - U16 value0; - int i, j; -U16 status = 0; - - printf("This program output data from TTL0's Line1 to TTL1's Line1,\n"); - printf(" and output data from TTL1's Line0 to TTL0's Line0.\n"); - printf("Please input a card number: "); - scanf(" %d", &card_num); - - if ((card = Register_Card(PCI_7442, card_num)) <0 ) { - printf("Register_Card error=%d", card); - exit(1); - } - - err = DIO_LineConfig(card, P7442_TTL0, 0, INPUT_PORT); // set Line0 of TTL0 to input - if(err!=NoError) { - printf("TTL Port0 Input Config Error: %d\n",err); - exit(1); - } - - err = DIO_LineConfig(card, P7442_TTL0, 1, OUTPUT_PORT); // set Line1 of TTL0 to output - if(err!=NoError) { - printf("TTL Port0 Output Config Error: %d\n",err); - exit(1); - } - - // you can also use DIO_LinesConfig to configure the lines of an indicated port - err = DIO_LinesConfig(card, P7442_TTL1, 0x1); // set Line0 of TTL1 to output - if(err!=NoError) { - printf("TTL Port1 Config Error: %d\n",err); - exit(1); - } - - do{ - system( "cls" ); - printf ("-------------------------------------------------\n"); - - err = DO_WriteLine(card, P7442_TTL0, 1, 0); - if (err!=NoError) { - printf("DO_WriteLine error=%d", err); - exit(1); - } - printf(" TTL0 (Line1) output = 0\n"); - - err = DO_WriteLine(card, P7442_TTL1, 0, 1); - if (err!=NoError) { - printf("DO_WriteLine error=%d", err); - exit(1); - } - printf(" TTL1 (Line0) output = 1\n"); - - printf ("-------------------------------------------------\n"); - - err = DI_ReadLine(card, P7442_TTL1, 1, &value0); - if (err!=NoError) { - printf("DO_WriteLine error=%d", err); - exit(1); - } - printf(" TTL1 (Line1) input = %d\n", value0); - - err = DI_ReadLine(card, P7442_TTL0, 0, &value0); - if (err!=NoError) { - printf("DO_WriteLine error=%d", err); - exit(1); - } - printf(" TTL0 (Line0) input = %d\n", value0); - printf("-------------------------------------------------\n"); - printf ("\n Press any key to stop...\n"); - - Sleep(500); - - system( "cls" ); - printf ("-------------------------------------------------\n"); - - err = DO_WriteLine(card, P7442_TTL0, 1, 1); - if (err!=NoError) { - printf("DO_WriteLine error=%d", err); - exit(1); - } - printf(" TTL0 (Line1) output = 1\n"); - - err = DO_WriteLine(card, P7442_TTL1, 0, 0); - if (err!=NoError) { - printf("DO_WriteLine error=%d", err); - exit(1); - } - printf(" TTL1 (Line0) output = 0\n"); - - printf ("-------------------------------------------------\n"); - - err = DI_ReadLine(card, P7442_TTL1, 1, &value0); - if (err!=NoError) { - printf("DO_WriteLine error=%d", err); - exit(1); - } - printf(" TTL1 (Line1) input = %d\n", value0); - - err = DI_ReadLine(card, P7442_TTL0, 0, &value0); - if (err!=NoError) { - printf("DO_WriteLine error=%d", err); - exit(1); - } - printf(" TTL0 (Line0) input = %d\n", value0); - printf("-------------------------------------------------\n"); - printf ("\n Press any key to stop...\n"); - - Sleep(500); - }while(!kbhit()); - - Release_Card(card); -} - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7442/C7442TTL_Port/UTIL7442.DSP b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7442/C7442TTL_Port/UTIL7442.DSP deleted file mode 100644 index 72a403e..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7442/C7442TTL_Port/UTIL7442.DSP +++ /dev/null @@ -1,110 +0,0 @@ -# Microsoft Developer Studio Project File - Name="util7442" - Package Owner=<4> -# Microsoft Developer Studio Generated Build File, Format Version 6.00 -# ** DO NOT EDIT ** - -# TARGTYPE "Win32 (x86) Application" 0x0101 - -CFG=util7442 - Win32 Release -!MESSAGE This is not a valid makefile. To build this project using NMAKE, -!MESSAGE use the Export Makefile command and run -!MESSAGE -!MESSAGE NMAKE /f "UTIL7442.MAK". -!MESSAGE -!MESSAGE You can specify a configuration when running NMAKE -!MESSAGE by defining the macro CFG on the command line. For example: -!MESSAGE -!MESSAGE NMAKE /f "UTIL7442.MAK" CFG="util7442 - Win32 Release" -!MESSAGE -!MESSAGE Possible choices for configuration are: -!MESSAGE -!MESSAGE "util7442 - Win32 Release" (based on "Win32 (x86) Application") -!MESSAGE "util7442 - Win32 Debug" (based on "Win32 (x86) Application") -!MESSAGE - -# Begin Project -# PROP AllowPerConfigDependencies 0 -# PROP Scc_ProjName "" -# PROP Scc_LocalPath "" -CPP=cl.exe -MTL=midl.exe -RSC=rc.exe - -!IF "$(CFG)" == "util7442 - Win32 Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir ".\Release" -# PROP BASE Intermediate_Dir ".\Release" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "" -# PROP Intermediate_Dir ".\Release" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /YX /c -# ADD CPP /nologo /W3 /GX /Od /I "..\..\..\include" /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /FD /c -# SUBTRACT CPP /YX -# ADD BASE MTL /nologo /D "NDEBUG" /win32 -# ADD MTL /nologo /D "NDEBUG" /mktyplib203 /win32 -# ADD BASE RSC /l 0x409 /d "NDEBUG" -# ADD RSC /l 0x409 /d "NDEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:windows /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ..\..\..\lib\PCI-Dask.lib /nologo /subsystem:console /machine:I386 -# SUBTRACT LINK32 /pdb:none - -!ELSEIF "$(CFG)" == "util7442 - Win32 Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir ".\Debug" -# PROP BASE Intermediate_Dir ".\Debug" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir ".\Debug" -# PROP Intermediate_Dir ".\Debug" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /Gm /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /YX /c -# ADD CPP /nologo /MTd /W3 /Gm /GX /ZI /Od /I "..\..\..\include" /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /FR /FD /c -# ADD BASE MTL /nologo /D "_DEBUG" /win32 -# ADD MTL /nologo /D "_DEBUG" /mktyplib203 /win32 -# ADD BASE RSC /l 0x409 /d "_DEBUG" -# ADD RSC /l 0x409 /d "_DEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:windows /debug /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ..\..\..\lib\PCI-DASK.lib /nologo /subsystem:console /debug /machine:I386 -# SUBTRACT LINK32 /pdb:none - -!ENDIF - -# Begin Target - -# Name "util7442 - Win32 Release" -# Name "util7442 - Win32 Debug" -# Begin Group "Source Files" - -# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;idl;hpj;bat;for;f90" -# Begin Source File - -SOURCE=.\Util7442.c -# End Source File -# End Group -# Begin Group "Header Files" - -# PROP Default_Filter "h;hpp;hxx;hm;inl;fi;fd" -# End Group -# Begin Group "Resource Files" - -# PROP Default_Filter "ico;cur;bmp;dlg;rc2;rct;bin;cnt;rtf;gif;jpg;jpeg;jpe" -# End Group -# End Target -# End Project diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7442/C7442TTL_Port/UTIL7442.DSW b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7442/C7442TTL_Port/UTIL7442.DSW deleted file mode 100644 index 7e09f89..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7442/C7442TTL_Port/UTIL7442.DSW +++ /dev/null @@ -1,29 +0,0 @@ -Microsoft Developer Studio Workspace File, Format Version 6.00 -# WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE! - -############################################################################### - -Project: "util7442"=.\UTIL7442.DSP - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ -}}} - -############################################################################### - -Global: - -Package=<5> -{{{ -}}} - -Package=<3> -{{{ -}}} - -############################################################################### - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7442/C7442TTL_Port/UTIL7442.exe b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7442/C7442TTL_Port/UTIL7442.exe deleted file mode 100644 index 92f516a..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7442/C7442TTL_Port/UTIL7442.exe and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7442/C7442TTL_Port/Util7442.c b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7442/C7442TTL_Port/Util7442.c deleted file mode 100644 index 1e932c2..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7442/C7442TTL_Port/Util7442.c +++ /dev/null @@ -1,65 +0,0 @@ -#include -#include -#include -#include "dask.h" - - -void main(void) -{ - - I16 card, err, card_num=0; - U16 in_value, out_value = 0; -// U32 baseaddr, baseaddr2; -// U16 status; - - printf("This program output data from TTL0 to TTL1.\n"); - printf("Please input a card number: "); - scanf(" %d", &card_num); - - if ((card = Register_Card(PCI_7442, card_num)) <0 ) { - printf("Register_Card error=%d", card); - exit(1); - } - - err = DIO_PortConfig(card, P7442_TTL0, OUTPUT_PORT); - if(err!=NoError) { - printf("Input Port Config Error: %d\n",err); - exit(1); - } - - err = DIO_PortConfig(card, P7442_TTL1, INPUT_PORT); - if(err!=NoError) { - printf("Output Port Config Error: %d\n",err); - exit(1); - } - - do{ - system( "cls" ); - printf ("-------------------------------------------------\n"); - - err = DO_WritePort(card, P7442_TTL0, out_value); - if (err!=NoError) { - printf("DO_WritePort error=%d", err); - exit(1); - } - printf(" TTL0 output = 0x%x\n", out_value); - - err = DI_ReadPort(card, P7442_TTL1, &in_value); - if (err!=NoError) { - printf("DI_ReadPort error=%d", err); - exit(1); - } - printf(" TTL1 input = 0x%x\n", in_value); - - printf ("-------------------------------------------------\n"); - printf ("\n Press any key to stop...\n"); - - Sleep(200); - if(out_value < 0xffff) - out_value = (out_value + 1); - else - out_value = 0; - } while(!kbhit()); - - Release_Card(card); -} \ No newline at end of file diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7442/CDIOOnePoint/CDIOOnePoint.c b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7442/CDIOOnePoint/CDIOOnePoint.c deleted file mode 100644 index dbae027..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7442/CDIOOnePoint/CDIOOnePoint.c +++ /dev/null @@ -1,68 +0,0 @@ -#include -#include -#include -#include "dask.h" - -void main(void) -{ - - I16 card, err, card_num=0; - U32 out_value = 0; - U32 in_value; - - printf("This program outputs data to DO Port 0/1, and inputs data from DI Port 0/1\n"); - printf("Please input a card number: "); - scanf(" %d", &card_num); - - if ((card=Register_Card (PCI_7442, card_num)) <0 ) { - printf("Register_Card error=%d", card); - exit(1); - } - - do{ - system( "cls" ); - - printf ("-------------------------------------------------\n"); - - err = DO_WritePort(card, P7442_CH0, out_value); - if (err!=NoError) { - printf("DO_WritePort error=%d", err); - exit(1); - } - printf(" P0 output = 0x%x\n", out_value); - - err = DO_WritePort(card, P7442_CH1, out_value); - if (err!=NoError) { - printf("DO_WritePort error=%d", err); - exit(1); - } - printf(" P1 output = 0x%x\n", out_value); - - printf ("-------------------------------------------------\n"); - - err = DI_ReadPort(card, P7442_CH0, &in_value); - if (err!=NoError) { - printf("DI_ReadPort error=%d", err); - exit(1); - } - printf(" P0 input = 0x%x\n", in_value); - - err = DI_ReadPort(card, P7442_CH1, &in_value); - if (err!=NoError) { - printf("DI_ReadPort error=%d", err); - exit(1); - } - printf(" P1 input = 0x%x\n", in_value); - - printf ("-------------------------------------------------\n"); - - printf ("\n Press any key to stop...\n"); - Sleep(200); - if(out_value < 0xffffffff) - out_value = (out_value + 1); - else - out_value = 0; - } while(!kbhit()); - - Release_Card(card); -} diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7442/CDIOOnePoint/CDIOOnePoint.dsp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7442/CDIOOnePoint/CDIOOnePoint.dsp deleted file mode 100644 index bff17c1..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7442/CDIOOnePoint/CDIOOnePoint.dsp +++ /dev/null @@ -1,93 +0,0 @@ -# Microsoft Developer Studio Project File - Name="CDIOOnePoint" - Package Owner=<4> -# Microsoft Developer Studio Generated Build File, Format Version 6.00 -# ** DO NOT EDIT ** - -# TARGTYPE "Win32 (x86) Console Application" 0x0103 - -CFG=CDIOOnePoint - Win32 Debug -!MESSAGE This is not a valid makefile. To build this project using NMAKE, -!MESSAGE use the Export Makefile command and run -!MESSAGE -!MESSAGE NMAKE /f "CDIOOnePoint.mak". -!MESSAGE -!MESSAGE You can specify a configuration when running NMAKE -!MESSAGE by defining the macro CFG on the command line. For example: -!MESSAGE -!MESSAGE NMAKE /f "CDIOOnePoint.mak" CFG="CDIOOnePoint - Win32 Debug" -!MESSAGE -!MESSAGE Possible choices for configuration are: -!MESSAGE -!MESSAGE "CDIOOnePoint - Win32 Release" (based on "Win32 (x86) Console Application") -!MESSAGE "CDIOOnePoint - Win32 Debug" (based on "Win32 (x86) Console Application") -!MESSAGE - -# Begin Project -# PROP AllowPerConfigDependencies 0 -# PROP Scc_ProjName "" -# PROP Scc_LocalPath "" -CPP=cl.exe -RSC=rc.exe - -!IF "$(CFG)" == "CDIOOnePoint - Win32 Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "Release" -# PROP BASE Intermediate_Dir "Release" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "" -# PROP Intermediate_Dir "Release" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c -# ADD CPP /nologo /W3 /GX /Od /I "..\..\..\include" /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /FD /c -# SUBTRACT CPP /YX -# ADD BASE RSC /l 0x404 /d "NDEBUG" -# ADD RSC /l 0x404 /d "NDEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ..\..\..\lib\pci-dask.lib /nologo /subsystem:console /machine:I386 -# SUBTRACT LINK32 /incremental:yes - -!ELSEIF "$(CFG)" == "CDIOOnePoint - Win32 Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "Debug" -# PROP BASE Intermediate_Dir "Debug" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "Debug" -# PROP Intermediate_Dir "Debug" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /Gm /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c -# ADD CPP /nologo /W3 /Gm /GX /ZI /Od /I "..\..\..\include" /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /FD /c -# SUBTRACT CPP /YX -# ADD BASE RSC /l 0x404 /d "_DEBUG" -# ADD RSC /l 0x404 /d "_DEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ..\..\..\lib\pci-dask.lib /nologo /subsystem:console /incremental:no /debug /machine:I386 /pdbtype:sept - -!ENDIF - -# Begin Target - -# Name "CDIOOnePoint - Win32 Release" -# Name "CDIOOnePoint - Win32 Debug" -# Begin Source File - -SOURCE=.\CDIOOnePoint.c -# End Source File -# End Target -# End Project diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7442/CDIOOnePoint/CDIOOnePoint.dsw b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7442/CDIOOnePoint/CDIOOnePoint.dsw deleted file mode 100644 index f7515fd..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7442/CDIOOnePoint/CDIOOnePoint.dsw +++ /dev/null @@ -1,29 +0,0 @@ -Microsoft Developer Studio Workspace File, Format Version 6.00 -# WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE! - -############################################################################### - -Project: "CDIOOnePoint"=.\CDIOOnePoint.dsp - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ -}}} - -############################################################################### - -Global: - -Package=<5> -{{{ -}}} - -Package=<3> -{{{ -}}} - -############################################################################### - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7442/CDIOOnePoint/CDIOOnePoint.exe b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7442/CDIOOnePoint/CDIOOnePoint.exe deleted file mode 100644 index 520849e..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7442/CDIOOnePoint/CDIOOnePoint.exe and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7442/CWdtOvflow/WdtOvflow.c b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7442/CWdtOvflow/WdtOvflow.c deleted file mode 100644 index 621bd9a..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7442/CWdtOvflow/WdtOvflow.c +++ /dev/null @@ -1,122 +0,0 @@ -#include -#include -#include "dask.h" - - -void main() -{ - I16 card=-1, err=0, card_num; - U32 pattern = 0, pattern0 = 0, pattern1 = 0, waitMS=0, result=0; - F32 rt = 0.0; - U8 sts = 0; - HANDLE hWDTEvent = NULL; - HANDLE hWDTEvent2[2]; - U16 cardType=0, cardIndex=0; - ULONG wdt_value=0; - - printf("Please input a card number: "); - scanf(" %d", &card_num); - - if ((card=Register_Card (PCI_7442, card_num)) <0 ) { - printf("Register_Card error=%d\n", card); - exit(1); - } - - printf("Please input the WDT SafetyOut Pattern of CH0: "); - scanf("%x",&pattern0); - printf("Please input the WDT SafetyOut Pattern of CH1: "); - scanf("%x",&pattern1); - - err = SetInitPattern (card, SAFTOUT_PTN_CH0, pattern0); - if(err != NoError) { - printf("setpattern err %d!", err); - Release_Card(card); - exit(1); - } - - err = SetInitPattern (card, SAFTOUT_PTN_CH1, pattern1); - if(err != NoError) { - printf("setpattern err %d!", err); - Release_Card(card); - exit(1); - } - - Sleep(500); - - GetInitPattern (card, SAFTOUT_PTN_CH0, &pattern); - if(err != NoError) { - printf("getpattern err %d!", err); - Release_Card(card); - exit(1); - } - printf("\nWDT SafetyOut Pattern of CH0: %x\n", pattern); - - GetInitPattern (card, SAFTOUT_PTN_CH1, &pattern); - if(err != NoError) { - printf("getpattern err %d!", err); - Release_Card(card); - exit(1); - } - printf("WDT SafetyOut Pattern of CH1: %x\n", pattern); - - err = WDT_Setup (card, 0 | WDT_OVRFLOW_SAFETYOUT, 5.0, &rt, &hWDTEvent); - if(err != NoError) { - printf("WDT_Setup err %d!", err); - Release_Card(card); - exit(1); - } - - err = WDT_Control (card, 0, WDT_ARM); - if(err != NoError) { - printf("WDT_Control err %d!", err); - Release_Card(card); - exit(1); - } -// you can also use the following function to enable the WDT interrupt -// and wait for the hWDTEvent2[1] handle. And use DIO_SetDualInterrupt -// to disable WDT interrupt -/* err = DIO_SetDualInterrupt (card, -1, INT2_WDT, hWDTEvent2); - if(err != NoError) { - printf("DIO_SetDualInterrupt err %d!", err); - Release_Card(card); - exit(1); - } -*/ - -// you can use the following function for reloading WDT counter before WDT overflow -/* err = WDT_Reload (card, 0, 1.0, &rt); - if(err != NoError) { - printf("WDT_Reload err %d!", err); - Release_Card(card); - exit(1); - } -*/ - printf("\nWDT will overflow after %.4f seconds ...\n", rt); - waitMS = (U32) rt*1000*2; - result = WaitForSingleObject(hWDTEvent/*hWDTEvent2[1]*/, waitMS); - - if (result == WAIT_OBJECT_0) { - printf("\nWDT is overflowed !!\n"); - - Sleep(10); - - DO_ReadPort (card, 0, &result); - printf("\nThe CH0 current pattern is : %x\n", result); - DO_ReadPort (card, 1, &result); - printf("The CH1 current pattern is : %x\n", result); - - printf("\nPress any key to continue ...\n"); - getch(); - - } - else if(result == WAIT_TIMEOUT) { - printf("\nWait Failed ...\n"); - } - else - printf("\nWaitForSingleObject error %d ...\n", GetLastError()); - - WDT_Control (card, 0, WDT_DISARM); -// DIO_SetDualInterrupt (card, -1, -1, 0); - - Release_Card(card); -} \ No newline at end of file diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7442/CWdtOvflow/WdtOvflow.dsp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7442/CWdtOvflow/WdtOvflow.dsp deleted file mode 100644 index 9e76dc3..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7442/CWdtOvflow/WdtOvflow.dsp +++ /dev/null @@ -1,92 +0,0 @@ -# Microsoft Developer Studio Project File - Name="WdtOvflow" - Package Owner=<4> -# Microsoft Developer Studio Generated Build File, Format Version 6.00 -# ** DO NOT EDIT ** - -# TARGTYPE "Win32 (x86) Console Application" 0x0103 - -CFG=WdtOvflow - Win32 Debug -!MESSAGE This is not a valid makefile. To build this project using NMAKE, -!MESSAGE use the Export Makefile command and run -!MESSAGE -!MESSAGE NMAKE /f "WdtOvflow.mak". -!MESSAGE -!MESSAGE You can specify a configuration when running NMAKE -!MESSAGE by defining the macro CFG on the command line. For example: -!MESSAGE -!MESSAGE NMAKE /f "WdtOvflow.mak" CFG="WdtOvflow - Win32 Debug" -!MESSAGE -!MESSAGE Possible choices for configuration are: -!MESSAGE -!MESSAGE "WdtOvflow - Win32 Release" (based on "Win32 (x86) Console Application") -!MESSAGE "WdtOvflow - Win32 Debug" (based on "Win32 (x86) Console Application") -!MESSAGE - -# Begin Project -# PROP AllowPerConfigDependencies 0 -# PROP Scc_ProjName "" -# PROP Scc_LocalPath "" -CPP=cl.exe -RSC=rc.exe - -!IF "$(CFG)" == "WdtOvflow - Win32 Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "Release" -# PROP BASE Intermediate_Dir "Release" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "" -# PROP Intermediate_Dir "Release" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c -# ADD CPP /nologo /W3 /GX /O2 /I "..\..\include" /I "..\..\..\include" /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /FD /c -# SUBTRACT CPP /YX -# ADD BASE RSC /l 0x404 /d "NDEBUG" -# ADD RSC /l 0x409 /d "NDEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ..\..\..\lib\pci-dask.lib /nologo /subsystem:console /machine:I386 - -!ELSEIF "$(CFG)" == "WdtOvflow - Win32 Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "Debug" -# PROP BASE Intermediate_Dir "Debug" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "Debug" -# PROP Intermediate_Dir "Debug" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /Gm /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c -# ADD CPP /nologo /W3 /Gm /GX /ZI /Od /I "..\..\..\include" /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /FD /c -# SUBTRACT CPP /YX -# ADD BASE RSC /l 0x404 /d "_DEBUG" -# ADD RSC /l 0x409 /d "_DEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ..\..\..\lib\pci-dask.lib /nologo /subsystem:console /incremental:no /debug /machine:I386 /pdbtype:sept - -!ENDIF - -# Begin Target - -# Name "WdtOvflow - Win32 Release" -# Name "WdtOvflow - Win32 Debug" -# Begin Source File - -SOURCE=.\WdtOvflow.c -# End Source File -# End Target -# End Project diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7442/CWdtOvflow/WdtOvflow.dsw b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7442/CWdtOvflow/WdtOvflow.dsw deleted file mode 100644 index 4bb6670..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7442/CWdtOvflow/WdtOvflow.dsw +++ /dev/null @@ -1,29 +0,0 @@ -Microsoft Developer Studio Workspace File, Format Version 6.00 -# WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE! - -############################################################################### - -Project: "WdtOvflow"=.\WdtOvflow.dsp - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ -}}} - -############################################################################### - -Global: - -Package=<5> -{{{ -}}} - -Package=<3> -{{{ -}}} - -############################################################################### - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7442/CWdtOvflow/WdtOvflow.exe b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7442/CWdtOvflow/WdtOvflow.exe deleted file mode 100644 index 8279143..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7442/CWdtOvflow/WdtOvflow.exe and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7442/SDK7442DIO/Util7442.c b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7442/SDK7442DIO/Util7442.c deleted file mode 100644 index a24933d..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7442/SDK7442DIO/Util7442.c +++ /dev/null @@ -1,352 +0,0 @@ -/*;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; -;; Copyright (c) 1999, ADLink Technology Inc. All rights reserved. ;; -;; ;; -;; File Name : Util7442.C ;; -;; Purpose : This sample program demonstrate how to operate ;; -;; DI & DO for PCI-7442 ;; -;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;*/ - -#include -#include -#include -#include -#include -#include -#include "resource.h" -#include "Dask.h" - -#define IDM_EXIT 110 -#define TIMER1 1 -#define IDC_CHAN 214 -#define IDC_CHAN2 215 - -int PASCAL WinMain(HANDLE, HANDLE, LPSTR, int); -long PASCAL MainWndProc(HWND, UINT, WPARAM, LPARAM); - -HANDLE hInst; -HWND hChanComboBox, hOutChanComboBox; -U32 input[2]={0, 0}, output[2]={0, 0}; -U32 oldinput[2]={0, 0} ; -I16 card=-1, card_number=0; -U16 iPort=0, oPort=0; - -HBRUSH hLTGreenBrush,hGreenBrush,hBlueBrush,hYellowBrush,hRedBrush; - -POINT input_pos[32]= {{320, 80}, {300, 80}, - {280, 80}, {260, 80}, - {240, 80}, {220, 80}, - {200, 80}, {180, 80}, - {160, 80}, {140, 80}, - {120, 80}, {100, 80}, - { 80, 80}, { 60, 80}, - { 40, 80}, { 20, 80}, - {320, 40}, {300, 40}, - {280, 40}, {260, 40}, - {240, 40}, {220, 40}, - {200, 40}, {180, 40}, - {160, 40}, {140, 40}, - {120, 40}, {100, 40}, - { 80, 40}, { 60, 40}, - { 40, 40}, { 20, 40} - }; -POINT output_pos[32] ={ - {320, 200}, {300, 200}, - {280, 200}, {260, 200}, - {240, 200}, {220, 200}, - {200, 200}, {180, 200}, - {160, 200}, {140, 200}, - {120, 200}, {100, 200}, - { 80, 200}, { 60, 200}, - { 40, 200}, { 20, 200}, - {320, 160}, {300, 160}, - {280, 160}, {260, 160}, - {240, 160}, {220, 160}, - {200, 160}, {180, 160}, - {160, 160}, {140, 160}, - {120, 160}, {100, 160}, - { 80, 160}, { 60, 160}, - { 40, 160}, { 20, 160}, - }; - -BOOL InitApplication(HANDLE); -BOOL InitInstance(HANDLE, int); - -int PASCAL WinMain(hInstance, hPrevInstance, lpCmdLine, nCmdShow) -HANDLE hInstance, hPrevInstance; -LPSTR lpCmdLine; -int nCmdShow; -{ - MSG msg; - - if (!hPrevInstance) - if (!InitApplication(hInstance)) return(FALSE); - if (!InitInstance(hInstance, nCmdShow)) return(FALSE); - while (GetMessage(&msg, NULL, NULL, NULL)) { - TranslateMessage(&msg); - DispatchMessage(&msg); - } - return(msg.wParam); -} - -BOOL InitApplication(hInstance) -HANDLE hInstance; -{ - WNDCLASS wc; - - /* Main Window Class */ - wc.style = NULL; - wc.lpfnWndProc = (WNDPROC)MainWndProc; - wc.cbClsExtra = 0; - wc.cbWndExtra = 0; - wc.hInstance = hInstance; - wc.hIcon = LoadIcon(hInstance, "MyIcon"); - wc.hCursor = LoadCursor(NULL, IDC_ARROW); - wc.hbrBackground = GetStockObject(LTGRAY_BRUSH); - wc.lpszMenuName = NULL; - wc.lpszClassName = "GenericWClass"; - if (!RegisterClass(&wc)) return(FALSE); -} - -BOOL InitInstance(hInstance, nCmdShow) -HANDLE hInstance; -int nCmdShow; -{ - HWND hWnd; - HMENU hSampleMenu; - - hInst = hInstance; - hSampleMenu = LoadMenu(hInstance, "U7442Menu"); - hWnd = CreateWindow("GenericWClass", - (LPCSTR)"PCI-7442", - WS_OVERLAPPEDWINDOW, - CW_USEDEFAULT, - CW_USEDEFAULT, - 370, - 340, - NULL, - hSampleMenu, - hInstance, - NULL); - if (!hWnd) return(FALSE); - ShowWindow(hWnd, nCmdShow); - UpdateWindow(hWnd); - return(TRUE); -} - -BOOL PASCAL setup(HWND hWnd, unsigned message, WPARAM wParam, LPARAM lParam) -{ - int i; - char n[16]; - char s[50]; - switch (message) { - case WM_INITDIALOG: - for (i=0;i<16;i++) { - wsprintf(n, "%d", i); - _strupr(n); - SendMessage(GetDlgItem(hWnd,IDC_COMBO1), CB_ADDSTRING, NULL, (LONG)(LPSTR) n); - } - SendMessage(GetDlgItem(hWnd,IDC_COMBO1) , CB_SETCURSEL, 0, 0L); - - break; - case WM_COMMAND: - switch(LOWORD(wParam)) { - - case IDC_COMBO1: - if (HIWORD(wParam) == CBN_CLOSEUP) { - i = (int)SendMessage(GetDlgItem(hWnd,IDC_COMBO1), CB_GETCURSEL, 0, 0L); - SendMessage(GetDlgItem(hWnd,IDC_COMBO1), CB_GETLBTEXT, i, (LPARAM)((LPCSTR)n)); - card_number = i; - } - return(TRUE); - case IDOK: - if ((card=Register_Card(PCI_7442, card_number)) < 0) { - wsprintf(s, "Register_Card Error = %d\n", card); - MessageBox(hWnd, s, "Error", MB_OK); - } - EndDialog(hWnd, TRUE); - InvalidateRect(hWnd, NULL, FALSE); - return (TRUE); - case IDCANCEL: - EndDialog(hWnd, TRUE); - return (TRUE); - } - break; - } - return (FALSE); -} - -long PASCAL MainWndProc(hWnd, message, wParam, lParam) -HWND hWnd; -UINT message; -WPARAM wParam; -LPARAM lParam; -{ - HDC hDC; - PAINTSTRUCT ps; - int i, px, py; - char n[16]; - - switch(message) { - case WM_CREATE: - DialogBox(hInst,IDD_DIALOG1, hWnd, setup); - if(card<0) { - SendMessage(hWnd, WM_CLOSE, 0, 0L); - break; - } - hChanComboBox = CreateWindow("ComboBox", NULL, - CBS_DROPDOWNLIST | WS_CHILD | WS_VISIBLE | WS_VSCROLL, - output_pos[26].x, output_pos[26].y-35, 60, 80, hWnd, IDC_CHAN, hInst, NULL); - for (i=0;i<2;i++) { - wsprintf(n, "%d", i); - _strupr(n); - SendMessage(hChanComboBox, CB_ADDSTRING, i, (LPARAM)((LPCSTR)n)); - } - SendMessage(hChanComboBox ,CB_SETCURSEL, 0, 0L); - - hOutChanComboBox = CreateWindow("ComboBox", NULL, - CBS_DROPDOWNLIST | WS_CHILD | WS_VISIBLE | WS_VSCROLL, - input_pos[26].x-10, input_pos[26].y-35, 60, 80, hWnd, IDC_CHAN2, hInst, NULL); - for (i=0;i<2;i++) { - wsprintf(n, "%d", i); - _strupr(n); - SendMessage(hOutChanComboBox, CB_ADDSTRING, i, (LPARAM)((LPCSTR)n)); - } - SendMessage(hOutChanComboBox ,CB_SETCURSEL, 0, 0L); - for (i=0;i<2;i++) { - DO_ReadPort(card,i,&output[i]); - } - hLTGreenBrush = CreateSolidBrush(RGB(0, 255, 0)); - hGreenBrush = CreateSolidBrush(RGB(0, 128, 0)); - hBlueBrush = CreateSolidBrush(RGB(0, 0, 255)); - hRedBrush = CreateSolidBrush(RGB(255, 0, 0)); - SetTimer(hWnd, TIMER1, 50, NULL); - srand((unsigned)time(NULL)); - break; - case WM_PAINT: - hDC = BeginPaint(hWnd, &ps); - // Digital Input Box - SelectObject(hDC, hLTGreenBrush); - Rectangle(hDC, input_pos[31].x-10, input_pos[31].y-24, input_pos[0].x+26, input_pos[0].y+40); - SetTextColor(hDC,RGB(255,255,255)); - SetBkColor(hDC, RGB(0, 0, 255)); - TextOut(hDC, input_pos[31].x, input_pos[31].y-30, "Digital Input#",14); - // Digital Output Box - SelectObject(hDC, hGreenBrush); - Rectangle(hDC, output_pos[31].x-10, output_pos[31].y-24, output_pos[0].x+26, output_pos[0].y+40); - SetTextColor(hDC,RGB(255,0,0)); - SetBkColor(hDC, RGB(0, 0, 255)); - TextOut(hDC, output_pos[31].x, output_pos[31].y-30, "Digital Output#", 15); - // Channel Label - SetTextColor(hDC,RGB(0,0,0)); - SetBkColor(hDC, RGB(0, 255, 0)); - TextOut(hDC, input_pos[31].x, input_pos[31].y+16, "31 16", 75); - TextOut(hDC, input_pos[15].x, input_pos[15].y+16, "15 0", 75); - SetBkColor(hDC, RGB(0, 128, 0)); - TextOut(hDC, output_pos[31].x, output_pos[31].y+16, "31 16", 75); - TextOut(hDC, output_pos[15].x, output_pos[15].y+16, "15 0", 75); - SetBkColor(hDC, RGB(0, 255, 0)); - // Detect Channel Input - for (i=0; i<32; i++) { - if ((input[iPort]>>i)&0x01) - SelectObject(hDC, hRedBrush); - else - SelectObject(hDC, GetStockObject(WHITE_BRUSH)); - Ellipse(hDC, input_pos[i].x, input_pos[i].y, input_pos[i].x+17, input_pos[i].y+17); - } - // Channel Output - for (i=0; i<32; i++) { - if ((output[oPort]>>i)&0x01) - SelectObject(hDC, hRedBrush); - else - SelectObject(hDC, GetStockObject(WHITE_BRUSH)); - Ellipse(hDC, output_pos[i].x, output_pos[i].y, output_pos[i].x+17, output_pos[i].y+17); - } - EndPaint(hWnd, &ps); - break; - case WM_COMMAND: - switch(LOWORD(wParam)) { - case IDM_EXIT: - SendMessage(hWnd, WM_CLOSE, 0, 0L); - break; - case IDC_CHAN: - if (HIWORD(wParam) == CBN_CLOSEUP) { - if ((i=(int)SendMessage(GetDlgItem(hWnd,IDC_CHAN),CB_GETCURSEL, 0, 0L))>=0 ) { - oPort=i; - DO_ReadPort(card,oPort,&output[oPort]); - hDC = GetDC(hWnd); - for (i=0; i<32; i++) { - if ((output[oPort]>>i)&0x01) { - SelectObject(hDC, hRedBrush); - } - else { - SelectObject(hDC, GetStockObject(WHITE_BRUSH)); - } - Ellipse(hDC, output_pos[i].x, output_pos[i].y, output_pos[i].x+17, output_pos[i].y+17); - } - ReleaseDC(hWnd, hDC); - } - } - break; - case IDC_CHAN2: - if (HIWORD(wParam) == CBN_CLOSEUP) { - if ((i=(int)SendMessage(GetDlgItem(hWnd,IDC_CHAN2),CB_GETCURSEL, 0, 0L))>=0 ) { - iPort=i; - } - } - break; - default: - return(DefWindowProc(hWnd, message, wParam, lParam)); - } - break; - case WM_TIMER: - /* Digital Input */ - DI_ReadPort(card,iPort,&input[iPort]); - hDC = GetDC(hWnd); - for (i=0; i<32; i++) { - //if( ((input[iPort]>>i)&0x01) != ((oldinput[iPort]>>i)&0x01) ) - { - if ((input[iPort]>>i)&0x01) - SelectObject(hDC, hRedBrush); - else - SelectObject(hDC, GetStockObject(WHITE_BRUSH)); - Ellipse(hDC, input_pos[i].x, input_pos[i].y, input_pos[i].x+17, input_pos[i].y+17); - } - } - oldinput[iPort]=input[iPort]; - ReleaseDC(hWnd, hDC); - break; - case WM_DESTROY: - DeleteObject(hRedBrush); - DeleteObject(hGreenBrush); - DeleteObject(hLTGreenBrush); - KillTimer(hWnd, TIMER1); - PostQuitMessage(0); - break; - case WM_LBUTTONDOWN: - px = LOWORD(lParam); - py = HIWORD(lParam); - for (i=0; i<32; i++) { - if (px>output_pos[i].x && pxoutput_pos[i].y && py>i)&0x01) { - output[oPort] -= (((U32)1L)< -# Microsoft Developer Studio Generated Build File, Format Version 6.00 -# ** DO NOT EDIT ** - -# TARGTYPE "Win32 (x86) Application" 0x0101 - -CFG=Util7442 - Win32 Release -!MESSAGE This is not a valid makefile. To build this project using NMAKE, -!MESSAGE use the Export Makefile command and run -!MESSAGE -!MESSAGE NMAKE /f "Util7442.mak". -!MESSAGE -!MESSAGE You can specify a configuration when running NMAKE -!MESSAGE by defining the macro CFG on the command line. For example: -!MESSAGE -!MESSAGE NMAKE /f "Util7442.mak" CFG="Util7442 - Win32 Release" -!MESSAGE -!MESSAGE Possible choices for configuration are: -!MESSAGE -!MESSAGE "Util7442 - Win32 Release" (based on "Win32 (x86) Application") -!MESSAGE "Util7442 - Win32 Debug" (based on "Win32 (x86) Application") -!MESSAGE - -# Begin Project -# PROP AllowPerConfigDependencies 0 -# PROP Scc_ProjName "" -# PROP Scc_LocalPath "" -CPP=cl.exe -MTL=midl.exe -RSC=rc.exe - -!IF "$(CFG)" == "Util7442 - Win32 Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir ".\Release" -# PROP BASE Intermediate_Dir ".\Release" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "" -# PROP Intermediate_Dir ".\Release" -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /YX /c -# ADD CPP /nologo /W3 /GX /O2 /I "..\..\..\include" /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /FD /c -# SUBTRACT CPP /YX -# ADD BASE MTL /nologo /D "NDEBUG" /win32 -# ADD MTL /nologo /D "NDEBUG" /mktyplib203 /win32 -# ADD BASE RSC /l 0x404 /d "NDEBUG" -# ADD RSC /l 0x404 /d "NDEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:windows /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ..\..\..\lib\PCI-DASK.lib /nologo /subsystem:windows /machine:I386 - -!ELSEIF "$(CFG)" == "Util7442 - Win32 Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir ".\Debug" -# PROP BASE Intermediate_Dir ".\Debug" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "" -# PROP Intermediate_Dir ".\Debug" -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /Gm /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /YX /c -# ADD CPP /nologo /W3 /Gm /GX /ZI /Od /I "..\..\..\include" /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /FD /c -# SUBTRACT CPP /YX -# ADD BASE MTL /nologo /D "_DEBUG" /win32 -# ADD MTL /nologo /D "_DEBUG" /mktyplib203 /win32 -# ADD BASE RSC /l 0x404 /d "_DEBUG" -# ADD RSC /l 0x404 /d "_DEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:windows /debug /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ..\..\..\lib\PCI-DASK.lib /nologo /subsystem:windows /debug /machine:I386 - -!ENDIF - -# Begin Target - -# Name "Util7442 - Win32 Release" -# Name "Util7442 - Win32 Debug" -# Begin Group "Source Files" - -# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;hpj;bat;for;f90" -# Begin Source File - -SOURCE=.\util7442.c -# End Source File -# Begin Source File - -SOURCE=.\util7442.rc -# End Source File -# End Group -# Begin Group "Header Files" - -# PROP Default_Filter "h;hpp;hxx;hm;inl;fi;fd" -# End Group -# Begin Group "Resource Files" - -# PROP Default_Filter "ico;cur;bmp;dlg;rc2;rct;bin;cnt;rtf;gif;jpg;jpeg;jpe" -# End Group -# End Target -# End Project diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7442/SDK7442DIO/Util7442.dsw b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7442/SDK7442DIO/Util7442.dsw deleted file mode 100644 index 0f7eca8..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7442/SDK7442DIO/Util7442.dsw +++ /dev/null @@ -1,29 +0,0 @@ -Microsoft Developer Studio Workspace File, Format Version 6.00 -# WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE! - -############################################################################### - -Project: "Util7442"=".\Util7442.dsp" - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ -}}} - -############################################################################### - -Global: - -Package=<5> -{{{ -}}} - -Package=<3> -{{{ -}}} - -############################################################################### - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7442/SDK7442DIO/Util7442.exe b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7442/SDK7442DIO/Util7442.exe deleted file mode 100644 index c55a53c..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7442/SDK7442DIO/Util7442.exe and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7442/SDK7442DIO/Util7442.rc b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7442/SDK7442DIO/Util7442.rc deleted file mode 100644 index 5458587..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7442/SDK7442DIO/Util7442.rc +++ /dev/null @@ -1,115 +0,0 @@ -//Microsoft Developer Studio generated resource script. -// -#include "resource.h" - -#define APSTUDIO_READONLY_SYMBOLS -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 2 resource. -// -#define APSTUDIO_HIDDEN_SYMBOLS -#include "windows.h" -#undef APSTUDIO_HIDDEN_SYMBOLS - -///////////////////////////////////////////////////////////////////////////// -#undef APSTUDIO_READONLY_SYMBOLS - -///////////////////////////////////////////////////////////////////////////// -// English (U.S.) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -#ifdef _WIN32 -LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US -#pragma code_page(1252) -#endif //_WIN32 - -///////////////////////////////////////////////////////////////////////////// -// -// Menu -// - -U7442MENU MENU DISCARDABLE -BEGIN - MENUITEM "E&xit!", IDM_EXIT -END - - -#ifdef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// TEXTINCLUDE -// - -1 TEXTINCLUDE DISCARDABLE -BEGIN - "resource.h\0" -END - -2 TEXTINCLUDE DISCARDABLE -BEGIN - "#define APSTUDIO_HIDDEN_SYMBOLS\r\n" - "#include ""windows.h""\r\n" - "#undef APSTUDIO_HIDDEN_SYMBOLS\r\n" - "\0" -END - -3 TEXTINCLUDE DISCARDABLE -BEGIN - "\r\n" - "\0" -END - -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog -// - -IDD_DIALOG1 DIALOG DISCARDABLE 110, 10, 106, 61 -STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "Card Number" -FONT 10, "System" -BEGIN - DEFPUSHBUTTON "OK",IDOK,10,40,37,14 - PUSHBUTTON "Cancel",IDCANCEL,61,40,38,14 - LTEXT "Card Number",IDC_STATIC,3,13,47,13 - COMBOBOX IDC_COMBO1,51,13,48,84,CBS_DROPDOWN | WS_VSCROLL | - WS_TABSTOP -END - - -///////////////////////////////////////////////////////////////////////////// -// -// DESIGNINFO -// - -#ifdef APSTUDIO_INVOKED -GUIDELINES DESIGNINFO DISCARDABLE -BEGIN - IDD_DIALOG1, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 99 - TOPMARGIN, 7 - BOTTOMMARGIN, 54 - END -END -#endif // APSTUDIO_INVOKED - -#endif // English (U.S.) resources -///////////////////////////////////////////////////////////////////////////// - - - -#ifndef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 3 resource. -// - - -///////////////////////////////////////////////////////////////////////////// -#endif // not APSTUDIO_INVOKED - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7442/SDK7442DIO/resource.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7442/SDK7442DIO/resource.h deleted file mode 100644 index 482758d..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7442/SDK7442DIO/resource.h +++ /dev/null @@ -1,19 +0,0 @@ -//{{NO_DEPENDENCIES}} -// Microsoft Developer Studio generated include file. -// Used by Util7442.rc -// -#define IDD_DIALOG1 101 -#define IDM_EXIT 110 -#define IDC_COMBO1 1015 -#define IDC_STATIC -1 - -// Next default values for new objects -// -#ifdef APSTUDIO_INVOKED -#ifndef APSTUDIO_READONLY_SYMBOLS -#define _APS_NEXT_RESOURCE_VALUE 102 -#define _APS_NEXT_COMMAND_VALUE 101 -#define _APS_NEXT_CONTROL_VALUE 1000 -#define _APS_NEXT_SYMED_VALUE 101 -#endif -#endif diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7442/SDK7442DbEvt/7442int.c b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7442/SDK7442DbEvt/7442int.c deleted file mode 100644 index 9f41890..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7442/SDK7442DbEvt/7442int.c +++ /dev/null @@ -1,266 +0,0 @@ -/*;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; -;; Copyright (c) 1995-1999, ADLink Technology Inc. All rights reserved. ;; -;; ;; -;; File Name : 7442INT.C ;; -;; Purpose : This sample program demonstrates how handle interrupt ;; -;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;*/ - -#include -#include -#include -#include -#include -#include "Dask.h" -#include "Resource.h" - -#define IDC_START 300 -#define IDC_OUTPUT 302 - -HANDLE hInst; /* current instance */ -int int_count=0, int2_count=0, press_count=0; -I16 card=-1, card_number = 0; -int test=0; - -HWND hStart, hMainWnd; -HANDLE hEvent[2]; -U32 out_data0[2] = {0, 0}; -U32 out_data1[2] = {1, 1}; - -int PASCAL WinMain(HANDLE, HANDLE, LPSTR, int); -BOOL InitApplication(HANDLE); -BOOL InitInstance(HANDLE, int); -long PASCAL MainWndProc(HWND, unsigned, WPARAM, LPARAM); - -void -IntThread(void* pArg) -{ - while (1) { - if (WaitForSingleObject(hEvent[0], INFINITE) == WAIT_OBJECT_0) { - int_count++; - ResetEvent(hEvent[0]); - InvalidateRect(hMainWnd, NULL, FALSE); - } - } - _endthread(); -} - -void -Int2Thread(void* pArg) -{ - while (1) { - if (WaitForSingleObject(hEvent[1], INFINITE) == WAIT_OBJECT_0) { - int2_count++; - ResetEvent(hEvent[1]); - InvalidateRect(hMainWnd, NULL, FALSE); - } - } - _endthread();} - - /********************************************************************** - - FUNCTION: WinMain(HANDLE, HANDLE, LPSTR, int) - PURPOSE: calls initialization function, processes message loop - - ***********************************************************************/ - - int PASCAL WinMain(hInstance, hPrevInstance, lpCmdLine, nCmdShow) - HANDLE hInstance; - HANDLE hPrevInstance; - LPSTR lpCmdLine; - int nCmdShow; - { - MSG msg; - - if(!hPrevInstance) - if(!InitApplication(hInstance)) - return(FALSE); - - if(!InitInstance(hInstance, nCmdShow)) - return(FALSE); - - while ( GetMessage(&msg, NULL, NULL, NULL)) - { - TranslateMessage(&msg); - DispatchMessage(&msg); - } - return(msg.wParam); - } - -/**************************************************************************** - - FUNCTION: InitApplication(HANDLE) - - PURPOSE: Initializes window data and registers window class - -****************************************************************************/ - -BOOL InitApplication(hInstance) -HANDLE hInstance; -{ - WNDCLASS wc; - - wc.style = NULL; - wc.lpfnWndProc = MainWndProc; - wc.cbClsExtra = 0; - wc.cbWndExtra = 0; - wc.hInstance = hInstance; - wc.hIcon = LoadIcon(NULL, IDI_APPLICATION); - wc.hCursor = LoadCursor(hInstance, IDC_ARROW); - wc.hbrBackground = GetStockObject(WHITE_BRUSH); - wc.lpszMenuName = "U7442Menu"; - wc.lpszClassName = "IntClass"; - - return (RegisterClass(&wc)); -} - -/**************************************************************************** - - FUNCTION: InitInstance(HANDLE, int) - - PURPOSE: Saves instance handle and creates main window - -****************************************************************************/ - -BOOL InitInstance(hInstance, nCmdShow) -HANDLE hInstance; -int nCmdShow; -{ - HWND hWnd; - - hInst = hInstance; - hWnd = CreateWindow("IntClass", "PCI-7442 COS Interrupt Sample", WS_OVERLAPPEDWINDOW, - 200, 100, 420, 300, NULL, NULL, hInstance, NULL); - if (!hWnd) return (FALSE); - ShowWindow(hWnd, nCmdShow); - UpdateWindow(hWnd); - return (TRUE); -} - -BOOL PASCAL setup(HWND hWnd, unsigned message, WPARAM wParam, LPARAM lParam) -{ - int i; - char n[16]; - char s[50]; - switch (message) { - case WM_INITDIALOG: - for (i=0;i<16;i++) { - wsprintf(n, "%d", i); - _strupr(n); - SendMessage(GetDlgItem(hWnd,IDC_COMBO1), CB_ADDSTRING, NULL, (LONG)(LPSTR) n); - } - SendMessage(GetDlgItem(hWnd,IDC_COMBO1) , CB_SETCURSEL, 0, 0L); - - break; - case WM_COMMAND: - switch(LOWORD(wParam)) { - - case IDC_COMBO1: - if (HIWORD(wParam) == CBN_CLOSEUP) { - i = (int)SendMessage(GetDlgItem(hWnd,IDC_COMBO1), CB_GETCURSEL, 0, 0L); - SendMessage(GetDlgItem(hWnd,IDC_COMBO1), CB_GETLBTEXT, i, (LPARAM)((LPCSTR)n)); - card_number = i; - } - return(TRUE); - case IDOK: - if ((card=Register_Card(PCI_7442, card_number)) < 0) { - wsprintf(s, "Register_Card Error = %d\n", card); - MessageBox(hWnd, s, "Error", MB_OK); - } - EndDialog(hWnd, TRUE); - InvalidateRect(hWnd, NULL, FALSE); - return (TRUE); - case IDCANCEL: - EndDialog(hWnd, TRUE); - return (TRUE); - } - break; - } - return (FALSE); -} - -/**************************************************************************** - - FUNCTION: MainWndProc(HWND, UINT, WPARAM, LPARAM) - - PURPOSE: Processes messages - - -****************************************************************************/ - -long PASCAL MainWndProc(hWnd, message, wParam, lParam) -HWND hWnd; -unsigned message; -WPARAM wParam; -LPARAM lParam; -{ - PAINTSTRUCT ps; - HDC hDC; - char buf[20]; - - switch(message) { - case WM_CREATE: - DialogBox(hInst,IDD_DIALOG2, hWnd, setup); - if(card<0) { - SendMessage(hWnd, WM_CLOSE, 0, 0L); - break; - } - CreateWindow("BUTTON", "Output", WS_CHILD | WS_VISIBLE, - 130, 200, 72, 24, hWnd, IDC_OUTPUT, hInst, NULL); - DO_SimuWritePort(card, 2, out_data0); - //DO_WritePort(card, P7442_CH0, 0); - //DO_WritePort(card, P7442_CH1, 0); - Sleep(1); - DIO_SetCOSInterrupt32(card, 0, 0x0001, (HANDLE *) &hEvent[0], 1); - DIO_SetCOSInterrupt32(card, 1, 0x0001, (HANDLE *) &hEvent[1], 1); - hMainWnd = hWnd; - _beginthread(IntThread, 0, 0); - _beginthread(Int2Thread, 0, 0); - break; - case WM_PAINT: - hDC = BeginPaint(hWnd, &ps); - TextOut(hDC, 20, 20, "This program shows the number of occurrence of interrupt",56); - TextOut(hDC, 20, 35, "for COS interrupt.", 18); - TextOut(hDC, 20, 50, "COS0 interrupt is generated by change of state of DI0 bit-0.", 59); - TextOut(hDC, 20, 65, "COS1 interrupt is generated by change of state of DI1 bit-0.", 59); - TextOut(hDC, 20, 80, "If connecting DO0 bit-0 to DI0 bit-0 and DO1 bit-0 to DI1 bit-0,", 63); - TextOut(hDC, 20, 95, "press 'Output' button can generate two interrupts.", 50); - TextOut(hDC, 20, 110,"One for COS0 and the other for COS1.", 36); - - wsprintf(buf,"COS0 count = %d", int_count); - TextOut(hDC, 120, 140, buf, strlen(buf)); - wsprintf(buf,"COS1 count = %d", int2_count); - TextOut(hDC, 120, 160, buf, strlen(buf)); - EndPaint(hWnd, &ps); - break; - case WM_COMMAND: - switch(LOWORD(wParam)) { - case IDM_EXIT: - DIO_SetCOSInterrupt32(card, 0, 0, NULL, 0); - DIO_SetCOSInterrupt32(card, 1, 0, NULL, 0); - SendMessage(hWnd, WM_CLOSE, 0, 0L); - break; - case IDC_OUTPUT: - Sleep(1); - if(press_count%2 == 0){ - //DO_WritePort(card, P7442_CH0, 0x1); - //DO_WritePort(card, P7442_CH1, 0x1); - DO_SimuWritePort(card, 2, out_data1); - } - else{ - //DO_WritePort(card, P7442_CH0, 0x0); - //DO_WritePort(card, P7442_CH1, 0x0); - DO_SimuWritePort(card, 2, out_data0); - } - press_count++; - break; - } - break; - case WM_DESTROY: - if (card >= 0) Release_Card(card); - PostQuitMessage(0); - break; - default: - return (DefWindowProc(hWnd, message, wParam, lParam)); - } - return(0L); -} diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7442/SDK7442DbEvt/7442int.dsp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7442/SDK7442DbEvt/7442int.dsp deleted file mode 100644 index 9834846..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7442/SDK7442DbEvt/7442int.dsp +++ /dev/null @@ -1,111 +0,0 @@ -# Microsoft Developer Studio Project File - Name="7442int" - Package Owner=<4> -# Microsoft Developer Studio Generated Build File, Format Version 6.00 -# ** DO NOT EDIT ** - -# TARGTYPE "Win32 (x86) Application" 0x0101 - -CFG=7442int - Win32 Release -!MESSAGE This is not a valid makefile. To build this project using NMAKE, -!MESSAGE use the Export Makefile command and run -!MESSAGE -!MESSAGE NMAKE /f "7442int.mak". -!MESSAGE -!MESSAGE You can specify a configuration when running NMAKE -!MESSAGE by defining the macro CFG on the command line. For example: -!MESSAGE -!MESSAGE NMAKE /f "7442int.mak" CFG="7442int - Win32 Release" -!MESSAGE -!MESSAGE Possible choices for configuration are: -!MESSAGE -!MESSAGE "7442int - Win32 Release" (based on "Win32 (x86) Application") -!MESSAGE "7442int - Win32 Debug" (based on "Win32 (x86) Application") -!MESSAGE - -# Begin Project -# PROP AllowPerConfigDependencies 0 -# PROP Scc_ProjName "" -# PROP Scc_LocalPath "" -CPP=cl.exe -MTL=midl.exe -RSC=rc.exe - -!IF "$(CFG)" == "7442int - Win32 Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir ".\Release" -# PROP BASE Intermediate_Dir ".\Release" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "" -# PROP Intermediate_Dir ".\Release" -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /YX /c -# ADD CPP /nologo /MT /W3 /GX /Od /I "..\..\..\include" /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /FD /c -# SUBTRACT CPP /YX -# ADD BASE MTL /nologo /D "NDEBUG" /win32 -# ADD MTL /nologo /D "NDEBUG" /mktyplib203 /win32 -# ADD BASE RSC /l 0x404 /d "NDEBUG" -# ADD RSC /l 0x404 /d "NDEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:windows /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ..\..\..\lib\PCI-DASK.lib /nologo /subsystem:windows /machine:I386 - -!ELSEIF "$(CFG)" == "7442int - Win32 Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir ".\Debug" -# PROP BASE Intermediate_Dir ".\Debug" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "" -# PROP Intermediate_Dir ".\Debug" -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /Gm /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /YX /c -# ADD CPP /nologo /MTd /W3 /Gm /GX /ZI /Od /I "..\..\..\include" /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /FD /c -# SUBTRACT CPP /YX -# ADD BASE MTL /nologo /D "_DEBUG" /win32 -# ADD MTL /nologo /D "_DEBUG" /mktyplib203 /win32 -# ADD BASE RSC /l 0x404 /d "_DEBUG" -# ADD RSC /l 0x404 /d "_DEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:windows /debug /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ..\..\..\lib\PCI-DASK.lib /nologo /subsystem:windows /debug /machine:I386 - -!ENDIF - -# Begin Target - -# Name "7442int - Win32 Release" -# Name "7442int - Win32 Debug" -# Begin Group "Source Files" - -# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;hpj;bat;for;f90" -# Begin Source File - -SOURCE=.\7442int.c -# End Source File -# Begin Source File - -SOURCE=.\7442int.rc -# End Source File -# End Group -# Begin Group "Header Files" - -# PROP Default_Filter "h;hpp;hxx;hm;inl;fi;fd" -# End Group -# Begin Group "Resource Files" - -# PROP Default_Filter "ico;cur;bmp;dlg;rc2;rct;bin;cnt;rtf;gif;jpg;jpeg;jpe" -# End Group -# End Target -# End Project diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7442/SDK7442DbEvt/7442int.dsw b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7442/SDK7442DbEvt/7442int.dsw deleted file mode 100644 index 0ef63a8..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7442/SDK7442DbEvt/7442int.dsw +++ /dev/null @@ -1,29 +0,0 @@ -Microsoft Developer Studio Workspace File, Format Version 6.00 -# WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE! - -############################################################################### - -Project: "7442int"=.\7442int.dsp - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ -}}} - -############################################################################### - -Global: - -Package=<5> -{{{ -}}} - -Package=<3> -{{{ -}}} - -############################################################################### - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7442/SDK7442DbEvt/7442int.exe b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7442/SDK7442DbEvt/7442int.exe deleted file mode 100644 index edb4aa3..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7442/SDK7442DbEvt/7442int.exe and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7442/SDK7442DbEvt/7442int.rc b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7442/SDK7442DbEvt/7442int.rc deleted file mode 100644 index 938c85d..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7442/SDK7442DbEvt/7442int.rc +++ /dev/null @@ -1,115 +0,0 @@ -//Microsoft Developer Studio generated resource script. -// -#include "resource.h" - -#define APSTUDIO_READONLY_SYMBOLS -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 2 resource. -// -#define APSTUDIO_HIDDEN_SYMBOLS -#include "windows.h" -#undef APSTUDIO_HIDDEN_SYMBOLS - -///////////////////////////////////////////////////////////////////////////// -#undef APSTUDIO_READONLY_SYMBOLS - -///////////////////////////////////////////////////////////////////////////// -// English (U.S.) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -#ifdef _WIN32 -LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US -#pragma code_page(1252) -#endif //_WIN32 - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog -// - -IDD_DIALOG2 DIALOG DISCARDABLE 110, 10, 106, 61 -STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "Card Number" -FONT 10, "System" -BEGIN - DEFPUSHBUTTON "OK",IDOK,10,40,37,14 - PUSHBUTTON "Cancel",IDCANCEL,61,40,38,14 - LTEXT "Card Number",IDC_STATIC,3,13,47,13 - COMBOBOX IDC_COMBO1,51,13,48,84,CBS_DROPDOWN | WS_VSCROLL | - WS_TABSTOP -END - - -///////////////////////////////////////////////////////////////////////////// -// -// DESIGNINFO -// - -#ifdef APSTUDIO_INVOKED -GUIDELINES DESIGNINFO DISCARDABLE -BEGIN - IDD_DIALOG2, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 99 - TOPMARGIN, 7 - BOTTOMMARGIN, 54 - END -END -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// Menu -// - -U7442MENU MENU DISCARDABLE -BEGIN - MENUITEM "E&xit!", IDM_EXIT -END - - -#ifdef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// TEXTINCLUDE -// - -1 TEXTINCLUDE DISCARDABLE -BEGIN - "resource.h\0" -END - -2 TEXTINCLUDE DISCARDABLE -BEGIN - "#define APSTUDIO_HIDDEN_SYMBOLS\r\n" - "#include ""windows.h""\r\n" - "#undef APSTUDIO_HIDDEN_SYMBOLS\r\n" - "\0" -END - -3 TEXTINCLUDE DISCARDABLE -BEGIN - "\r\n" - "\0" -END - -#endif // APSTUDIO_INVOKED - -#endif // English (U.S.) resources -///////////////////////////////////////////////////////////////////////////// - - - -#ifndef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 3 resource. -// - - -///////////////////////////////////////////////////////////////////////////// -#endif // not APSTUDIO_INVOKED - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7442/SDK7442DbEvt/resource.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7442/SDK7442DbEvt/resource.h deleted file mode 100644 index 60a957a..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7442/SDK7442DbEvt/resource.h +++ /dev/null @@ -1,30 +0,0 @@ -//{{NO_DEPENDENCIES}} -// Microsoft Developer Studio generated include file. -// Used by 7442int.rc -// -#define IDM_SETUP 101 -#define IDD_DIALOG1 101 -#define IDD_DIALOG2 102 -#define IDM_EXIT 110 -#define IDM_GO 300 -#define IDM_ABOUT 301 -#define DMA_DATA 302 -#define ID_STOP 304 -#define IDM_CLEAR 305 -#define DMA_SPACE 500 -#define IDC_COMBO1 1004 -#define IDC_COMBO2 1005 -#define IDC_EDIT1 1007 -#define IDC_EDIT2 1008 -#define IDC_STATIC -1 - -// Next default values for new objects -// -#ifdef APSTUDIO_INVOKED -#ifndef APSTUDIO_READONLY_SYMBOLS -#define _APS_NEXT_RESOURCE_VALUE 103 -#define _APS_NEXT_COMMAND_VALUE 102 -#define _APS_NEXT_CONTROL_VALUE 1008 -#define _APS_NEXT_SYMED_VALUE 101 -#endif -#endif diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7442/SDK7442DbEvtMsg/7442int.c b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7442/SDK7442DbEvtMsg/7442int.c deleted file mode 100644 index c7b6601..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7442/SDK7442DbEvtMsg/7442int.c +++ /dev/null @@ -1,255 +0,0 @@ -/*;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; -;; Copyright (c) 1995-1999, ADLink Technology Inc. All rights reserved. ;; -;; ;; -;; File Name : 7442INT.C ;; -;; Purpose : This sample program demonstrates how handle interrupt ;; -;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;*/ - -#include -#include -#include -#include -#include -#include "Dask.h" -#include "Resource.h" - -#define IDC_START 300 -#define IDC_OUTPUT 302 -#define WM_INT 2000 - -HANDLE hInst; /* current instance */ -int int_count[2]; -int press_count=0; -I16 card=-1, card_number = 0; -HWND hStart, hMainWnd, hEvent[2]; - -int PASCAL WinMain(HANDLE, HANDLE, LPSTR, int); -BOOL InitApplication(HANDLE); -BOOL InitInstance(HANDLE, int); -long PASCAL MainWndProc(HWND, unsigned, WPARAM, LPARAM); -LRESULT CALLBACK cbfn(); -void mesgfn(); - - /********************************************************************** - - FUNCTION: WinMain(HANDLE, HANDLE, LPSTR, int) - PURPOSE: calls initialization function, processes message loop - - ***********************************************************************/ - - int PASCAL WinMain(hInstance, hPrevInstance, lpCmdLine, nCmdShow) - HANDLE hInstance; - HANDLE hPrevInstance; - LPSTR lpCmdLine; - int nCmdShow; - { - MSG msg; - - if(!hPrevInstance) - if(!InitApplication(hInstance)) - return(FALSE); - - if(!InitInstance(hInstance, nCmdShow)) - return(FALSE); - - while ( GetMessage(&msg, NULL, NULL, NULL)) - { - TranslateMessage(&msg); - DispatchMessage(&msg); - } - return(msg.wParam); - } - -/**************************************************************************** - - FUNCTION: InitApplication(HANDLE) - - PURPOSE: Initializes window data and registers window class - -****************************************************************************/ - -BOOL InitApplication(hInstance) -HANDLE hInstance; -{ - WNDCLASS wc; - - wc.style = NULL; - wc.lpfnWndProc = MainWndProc; - wc.cbClsExtra = 0; - wc.cbWndExtra = 0; - wc.hInstance = hInstance; - wc.hIcon = LoadIcon(NULL, IDI_APPLICATION); - wc.hCursor = LoadCursor(hInstance, IDC_ARROW); - wc.hbrBackground = GetStockObject(WHITE_BRUSH); - wc.lpszMenuName = "U7442Menu"; - wc.lpszClassName = "IntClass"; - - return (RegisterClass(&wc)); -} - -/**************************************************************************** - - FUNCTION: InitInstance(HANDLE, int) - - PURPOSE: Saves instance handle and creates main window - -****************************************************************************/ - -BOOL InitInstance(hInstance, nCmdShow) -HANDLE hInstance; -int nCmdShow; -{ - HWND hWnd; - - hInst = hInstance; - hWnd = CreateWindow("IntClass", "PCI-7442 COS Interrupt Sample", WS_OVERLAPPEDWINDOW, - 200, 100, 420, 300, NULL, NULL, hInstance, NULL); - if (!hWnd) return (FALSE); - ShowWindow(hWnd, nCmdShow); - UpdateWindow(hWnd); - return (TRUE); -} - -BOOL PASCAL setup(HWND hWnd, unsigned message, WPARAM wParam, LPARAM lParam) -{ - int i; - char n[16]; - char s[50]; - switch (message) { - case WM_INITDIALOG: - for (i=0;i<16;i++) { - wsprintf(n, "%d", i); - _strupr(n); - SendMessage(GetDlgItem(hWnd,IDC_COMBO1), CB_ADDSTRING, NULL, (LONG)(LPSTR) n); - } - SendMessage(GetDlgItem(hWnd,IDC_COMBO1) , CB_SETCURSEL, 0, 0L); - - break; - case WM_COMMAND: - switch(LOWORD(wParam)) { - - case IDC_COMBO1: - if (HIWORD(wParam) == CBN_CLOSEUP) { - i = (int)SendMessage(GetDlgItem(hWnd,IDC_COMBO1), CB_GETCURSEL, 0, 0L); - SendMessage(GetDlgItem(hWnd,IDC_COMBO1), CB_GETLBTEXT, i, (LPARAM)((LPCSTR)n)); - card_number = i; - } - return(TRUE); - case IDOK: - if ((card=Register_Card(PCI_7442, card_number)) < 0) { - wsprintf(s, "Register_Card Error = %d\n", card); - MessageBox(hWnd, s, "Error", MB_OK); - } - EndDialog(hWnd, TRUE); - InvalidateRect(hWnd, NULL, FALSE); - return (TRUE); - case IDCANCEL: - EndDialog(hWnd, TRUE); - return (TRUE); - } - break; - } - return (FALSE); -} - -/**************************************************************************** - - FUNCTION: MainWndProc(HWND, UINT, WPARAM, LPARAM) - - PURPOSE: Processes messages - - -****************************************************************************/ - -long PASCAL MainWndProc(hWnd, message, wParam, lParam) -HWND hWnd; -unsigned message; -WPARAM wParam; -LPARAM lParam; -{ - PAINTSTRUCT ps; - HDC hDC; - char buf[20]; - char s[50]; - - switch(message) { - case WM_CREATE: - DialogBox(hInst,IDD_DIALOG2, hWnd, setup); - if(card<0) { - SendMessage(hWnd, WM_CLOSE, 0, 0L); - break; - } - CreateWindow("BUTTON", "Output", WS_CHILD | WS_VISIBLE, - 130, 200, 72, 24, hWnd, IDC_OUTPUT, hInst, NULL); - DO_WritePort(card, P7442_CH0, 0x0); - DO_WritePort(card, P7442_CH1, 0x0); - Sleep(1); - DIO_SetCOSInterrupt32(card, 0, 0x0001, (HANDLE *) &hEvent[0], 0); - DIO_SetCOSInterrupt32(card, 1, 0x0001, (HANDLE *) &hEvent[1], 1); - DIO_INT_Event_Message (card, 1, hEvent[0], hWnd, WM_INT, NULL); - DIO_INT_Event_Message (card, 1, hEvent[1], hWnd, NULL, (U32) cbfn); - hMainWnd = hWnd; - break; - case WM_PAINT: - hDC = BeginPaint(hWnd, &ps); - TextOut(hDC, 20, 20, "This program shows the number of occurrence of interrupt",56); - TextOut(hDC, 20, 35, "for COS interrupt.", 18); - TextOut(hDC, 20, 50, "COS0 interrupt is generated by change of state of DI0 bit-0.", 59); - TextOut(hDC, 20, 65, "COS1 interrupt is generated by change of state of DI1 bit-1.", 59); - TextOut(hDC, 20, 80, "If connecting DO0 bit-0 to DI0 bit-0 and DO1 bit-0 to DI1 bit-0,", 63); - TextOut(hDC, 20, 95, "press 'Output' button can generate two interrupts.", 50); - TextOut(hDC, 20, 110,"One for COS0 and the other for COS1.", 36); - wsprintf(buf,"COS0 count = %d", int_count[0]); - TextOut(hDC, 120, 140, buf, strlen(buf)); - wsprintf(buf,"COS1 count = %d", int_count[1]); - TextOut(hDC, 120, 160, buf, strlen(buf)); - EndPaint(hWnd, &ps); - break; - case WM_COMMAND: - switch(LOWORD(wParam)) { - case IDM_EXIT: - DIO_SetCOSInterrupt32(card, 0, 0, NULL, 0); - DIO_SetCOSInterrupt32(card, 1, 0, NULL, 0); - DIO_INT_Event_Message (card, 0, hEvent[0], NULL, NULL, NULL); - DIO_INT_Event_Message (card, 0, hEvent[1], NULL, NULL, NULL); - SendMessage(hWnd, WM_CLOSE, 0, 0L); - break; - case IDC_OUTPUT: - Sleep(1); - if(press_count%2 == 0){ - DO_WritePort(card, P7442_CH0, 0x1); - DO_WritePort(card, P7442_CH1, 0x1); - } - else{ - DO_WritePort(card, P7442_CH0, 0x0); - DO_WritePort(card, P7442_CH1, 0x0); - } - press_count++; - break; - } - break; - case WM_INT: - mesgfn(); - break; - case WM_DESTROY: - if (card >= 0) Release_Card(card); - PostQuitMessage(0); - break; - default: - return (DefWindowProc(hWnd, message, wParam, lParam)); - } - return(0L); -} - -void mesgfn() -{ - int_count[0]++; - InvalidateRect(hMainWnd, NULL, FALSE); -} - -LRESULT CALLBACK cbfn() -{ - int_count[1]++; - ResetEvent(hEvent[1]); - InvalidateRect(hMainWnd, NULL, FALSE); -} \ No newline at end of file diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7442/SDK7442DbEvtMsg/7442int.dsp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7442/SDK7442DbEvtMsg/7442int.dsp deleted file mode 100644 index 595a3b5..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7442/SDK7442DbEvtMsg/7442int.dsp +++ /dev/null @@ -1,113 +0,0 @@ -# Microsoft Developer Studio Project File - Name="7442int" - Package Owner=<4> -# Microsoft Developer Studio Generated Build File, Format Version 6.00 -# ** DO NOT EDIT ** - -# TARGTYPE "Win32 (x86) Application" 0x0101 - -CFG=7442int - Win32 Release -!MESSAGE This is not a valid makefile. To build this project using NMAKE, -!MESSAGE use the Export Makefile command and run -!MESSAGE -!MESSAGE NMAKE /f "7442int.mak". -!MESSAGE -!MESSAGE You can specify a configuration when running NMAKE -!MESSAGE by defining the macro CFG on the command line. For example: -!MESSAGE -!MESSAGE NMAKE /f "7442int.mak" CFG="7442int - Win32 Release" -!MESSAGE -!MESSAGE Possible choices for configuration are: -!MESSAGE -!MESSAGE "7442int - Win32 Release" (based on "Win32 (x86) Application") -!MESSAGE "7442int - Win32 Debug" (based on "Win32 (x86) Application") -!MESSAGE - -# Begin Project -# PROP AllowPerConfigDependencies 0 -# PROP Scc_ProjName "" -# PROP Scc_LocalPath "" -CPP=cl.exe -MTL=midl.exe -RSC=rc.exe - -!IF "$(CFG)" == "7442int - Win32 Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir ".\Release" -# PROP BASE Intermediate_Dir ".\Release" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "" -# PROP Intermediate_Dir ".\Release" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /YX /c -# ADD CPP /nologo /MT /W3 /GX /Od /I "..\..\..\include" /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /FD /c -# SUBTRACT CPP /YX -# ADD BASE MTL /nologo /D "NDEBUG" /win32 -# ADD MTL /nologo /D "NDEBUG" /mktyplib203 /win32 -# ADD BASE RSC /l 0x404 /d "NDEBUG" -# ADD RSC /l 0x404 /d "NDEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:windows /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ..\..\..\lib\PCI-DASK.lib /nologo /subsystem:windows /machine:I386 - -!ELSEIF "$(CFG)" == "7442int - Win32 Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir ".\Debug" -# PROP BASE Intermediate_Dir ".\Debug" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "" -# PROP Intermediate_Dir ".\Debug" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /Gm /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /YX /c -# ADD CPP /nologo /MTd /W3 /Gm /GX /ZI /Od /I "..\..\..\include" /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /FD /c -# SUBTRACT CPP /YX -# ADD BASE MTL /nologo /D "_DEBUG" /win32 -# ADD MTL /nologo /D "_DEBUG" /mktyplib203 /win32 -# ADD BASE RSC /l 0x404 /d "_DEBUG" -# ADD RSC /l 0x404 /d "_DEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:windows /debug /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ..\..\..\lib\PCI-DASK.lib /nologo /subsystem:windows /incremental:no /debug /machine:I386 - -!ENDIF - -# Begin Target - -# Name "7442int - Win32 Release" -# Name "7442int - Win32 Debug" -# Begin Group "Source Files" - -# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;hpj;bat;for;f90" -# Begin Source File - -SOURCE=.\7442int.c -# End Source File -# Begin Source File - -SOURCE=.\7442int.rc -# End Source File -# End Group -# Begin Group "Header Files" - -# PROP Default_Filter "h;hpp;hxx;hm;inl;fi;fd" -# End Group -# Begin Group "Resource Files" - -# PROP Default_Filter "ico;cur;bmp;dlg;rc2;rct;bin;cnt;rtf;gif;jpg;jpeg;jpe" -# End Group -# End Target -# End Project diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7442/SDK7442DbEvtMsg/7442int.dsw b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7442/SDK7442DbEvtMsg/7442int.dsw deleted file mode 100644 index 0ef63a8..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7442/SDK7442DbEvtMsg/7442int.dsw +++ /dev/null @@ -1,29 +0,0 @@ -Microsoft Developer Studio Workspace File, Format Version 6.00 -# WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE! - -############################################################################### - -Project: "7442int"=.\7442int.dsp - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ -}}} - -############################################################################### - -Global: - -Package=<5> -{{{ -}}} - -Package=<3> -{{{ -}}} - -############################################################################### - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7442/SDK7442DbEvtMsg/7442int.exe b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7442/SDK7442DbEvtMsg/7442int.exe deleted file mode 100644 index 7caaace..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7442/SDK7442DbEvtMsg/7442int.exe and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7442/SDK7442DbEvtMsg/7442int.rc b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7442/SDK7442DbEvtMsg/7442int.rc deleted file mode 100644 index 938c85d..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7442/SDK7442DbEvtMsg/7442int.rc +++ /dev/null @@ -1,115 +0,0 @@ -//Microsoft Developer Studio generated resource script. -// -#include "resource.h" - -#define APSTUDIO_READONLY_SYMBOLS -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 2 resource. -// -#define APSTUDIO_HIDDEN_SYMBOLS -#include "windows.h" -#undef APSTUDIO_HIDDEN_SYMBOLS - -///////////////////////////////////////////////////////////////////////////// -#undef APSTUDIO_READONLY_SYMBOLS - -///////////////////////////////////////////////////////////////////////////// -// English (U.S.) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -#ifdef _WIN32 -LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US -#pragma code_page(1252) -#endif //_WIN32 - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog -// - -IDD_DIALOG2 DIALOG DISCARDABLE 110, 10, 106, 61 -STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "Card Number" -FONT 10, "System" -BEGIN - DEFPUSHBUTTON "OK",IDOK,10,40,37,14 - PUSHBUTTON "Cancel",IDCANCEL,61,40,38,14 - LTEXT "Card Number",IDC_STATIC,3,13,47,13 - COMBOBOX IDC_COMBO1,51,13,48,84,CBS_DROPDOWN | WS_VSCROLL | - WS_TABSTOP -END - - -///////////////////////////////////////////////////////////////////////////// -// -// DESIGNINFO -// - -#ifdef APSTUDIO_INVOKED -GUIDELINES DESIGNINFO DISCARDABLE -BEGIN - IDD_DIALOG2, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 99 - TOPMARGIN, 7 - BOTTOMMARGIN, 54 - END -END -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// Menu -// - -U7442MENU MENU DISCARDABLE -BEGIN - MENUITEM "E&xit!", IDM_EXIT -END - - -#ifdef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// TEXTINCLUDE -// - -1 TEXTINCLUDE DISCARDABLE -BEGIN - "resource.h\0" -END - -2 TEXTINCLUDE DISCARDABLE -BEGIN - "#define APSTUDIO_HIDDEN_SYMBOLS\r\n" - "#include ""windows.h""\r\n" - "#undef APSTUDIO_HIDDEN_SYMBOLS\r\n" - "\0" -END - -3 TEXTINCLUDE DISCARDABLE -BEGIN - "\r\n" - "\0" -END - -#endif // APSTUDIO_INVOKED - -#endif // English (U.S.) resources -///////////////////////////////////////////////////////////////////////////// - - - -#ifndef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 3 resource. -// - - -///////////////////////////////////////////////////////////////////////////// -#endif // not APSTUDIO_INVOKED - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7442/SDK7442DbEvtMsg/resource.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7442/SDK7442DbEvtMsg/resource.h deleted file mode 100644 index 60a957a..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7442/SDK7442DbEvtMsg/resource.h +++ /dev/null @@ -1,30 +0,0 @@ -//{{NO_DEPENDENCIES}} -// Microsoft Developer Studio generated include file. -// Used by 7442int.rc -// -#define IDM_SETUP 101 -#define IDD_DIALOG1 101 -#define IDD_DIALOG2 102 -#define IDM_EXIT 110 -#define IDM_GO 300 -#define IDM_ABOUT 301 -#define DMA_DATA 302 -#define ID_STOP 304 -#define IDM_CLEAR 305 -#define DMA_SPACE 500 -#define IDC_COMBO1 1004 -#define IDC_COMBO2 1005 -#define IDC_EDIT1 1007 -#define IDC_EDIT2 1008 -#define IDC_STATIC -1 - -// Next default values for new objects -// -#ifdef APSTUDIO_INVOKED -#ifndef APSTUDIO_READONLY_SYMBOLS -#define _APS_NEXT_RESOURCE_VALUE 103 -#define _APS_NEXT_COMMAND_VALUE 102 -#define _APS_NEXT_CONTROL_VALUE 1008 -#define _APS_NEXT_SYMED_VALUE 101 -#endif -#endif diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7442/SDK7442TTL/Resource.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7442/SDK7442TTL/Resource.h deleted file mode 100644 index f9decfb..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7442/SDK7442TTL/Resource.h +++ /dev/null @@ -1,19 +0,0 @@ -//{{NO_DEPENDENCIES}} -// Microsoft Developer Studio generated include file. -// Used by Util7452.rc -// -#define IDD_DIALOG1 101 -#define IDM_EXIT 110 -#define IDC_COMBO1 1015 -#define IDC_STATIC -1 - -// Next default values for new objects -// -#ifdef APSTUDIO_INVOKED -#ifndef APSTUDIO_READONLY_SYMBOLS -#define _APS_NEXT_RESOURCE_VALUE 102 -#define _APS_NEXT_COMMAND_VALUE 101 -#define _APS_NEXT_CONTROL_VALUE 1000 -#define _APS_NEXT_SYMED_VALUE 101 -#endif -#endif diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7442/SDK7442TTL/Util7442.c b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7442/SDK7442TTL/Util7442.c deleted file mode 100644 index 220df88..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7442/SDK7442TTL/Util7442.c +++ /dev/null @@ -1,381 +0,0 @@ -/*;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; -;; Copyright (c) 1999, ADLink Technology Inc. All rights reserved. ;; -;; ;; -;; File Name : Util7442.C ;; -;; Purpose : This sample program demonstrate how to operate ;; -;; DI & DO for PCI-7442 ;; -;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;*/ - -#include -#include -#include -#include -#include -#include -#include "resource.h" -#include "Dask.h" - -#define IDM_EXIT 110 -#define TIMER1 1 -#define IDC_CHAN 214 -#define IDC_CHAN2 215 - -int PASCAL WinMain(HANDLE, HANDLE, LPSTR, int); -long PASCAL MainWndProc(HWND, UINT, WPARAM, LPARAM); - -HANDLE hInst; -HWND hInChanComboBox, hOutChanComboBox; -U32 input[2] = {0, 0}; -U32 output[2] = {0, 0}; -I16 card=-1, card_number=0; -U16 iPort=0, oPort=1; // default - -HBRUSH hLTGreenBrush,hGreenBrush,hBlueBrush,hYellowBrush,hRedBrush; - -POINT input_pos[16]= {{320, 100}, {300, 100}, - {280, 100}, {260, 100}, - {240, 100}, {220, 100}, - {200, 100}, {180, 100}, - {160, 100}, {140, 100}, - {120, 100}, {100, 100}, - { 80, 100}, { 60, 100}, - { 40, 100}, { 20, 100} - }; - -POINT output_pos[16] ={ - {320, 200}, {300, 200}, - {280, 200}, {260, 200}, - {240, 200}, {220, 200}, - {200, 200}, {180, 200}, - {160, 200}, {140, 200}, - {120, 200}, {100, 200}, - { 80, 200}, { 60, 200}, - { 40, 200}, { 20, 200} - }; - -BOOL InitApplication(HANDLE); -BOOL InitInstance(HANDLE, int); - -int PASCAL WinMain(hInstance, hPrevInstance, lpCmdLine, nCmdShow) -HANDLE hInstance, hPrevInstance; -LPSTR lpCmdLine; -int nCmdShow; -{ - MSG msg; - - if (!hPrevInstance) - if (!InitApplication(hInstance)) return(FALSE); - if (!InitInstance(hInstance, nCmdShow)) return(FALSE); - while (GetMessage(&msg, NULL, NULL, NULL)) { - TranslateMessage(&msg); - DispatchMessage(&msg); - } - return(msg.wParam); -} - -BOOL InitApplication(hInstance) -HANDLE hInstance; -{ - WNDCLASS wc; - - /* Main Window Class */ - wc.style = NULL; - wc.lpfnWndProc = (WNDPROC)MainWndProc; - wc.cbClsExtra = 0; - wc.cbWndExtra = 0; - wc.hInstance = hInstance; - wc.hIcon = LoadIcon(hInstance, "MyIcon"); - wc.hCursor = LoadCursor(NULL, IDC_ARROW); - wc.hbrBackground = GetStockObject(LTGRAY_BRUSH); - wc.lpszMenuName = NULL; - wc.lpszClassName = "GenericWClass"; - if (!RegisterClass(&wc)) return(FALSE); -} - -BOOL InitInstance(hInstance, nCmdShow) -HANDLE hInstance; -int nCmdShow; -{ - HWND hWnd; - HMENU hSampleMenu; - - hInst = hInstance; - hSampleMenu = LoadMenu(hInstance, "U7442Menu"); - hWnd = CreateWindow("GenericWClass", - (LPCSTR)"PCI-7442", - WS_OVERLAPPEDWINDOW, - CW_USEDEFAULT, - CW_USEDEFAULT, - 370, - 340, - NULL, - hSampleMenu, - hInstance, - NULL); - if (!hWnd) return(FALSE); - ShowWindow(hWnd, nCmdShow); - UpdateWindow(hWnd); - return(TRUE); -} - -BOOL PASCAL setup(HWND hWnd, unsigned message, WPARAM wParam, LPARAM lParam) -{ - int i; - char n[16]; - char s[50]; - switch (message) { - case WM_INITDIALOG: - for (i=0;i<16;i++) { - wsprintf(n, "%d", i); - _strupr(n); - SendMessage(GetDlgItem(hWnd,IDC_COMBO1), CB_ADDSTRING, NULL, (LONG)(LPSTR) n); - } - SendMessage(GetDlgItem(hWnd,IDC_COMBO1) , CB_SETCURSEL, 0, 0L); - - break; - case WM_COMMAND: - switch(LOWORD(wParam)) { - case IDC_COMBO1: - if (HIWORD(wParam) == CBN_CLOSEUP) { - i = (int)SendMessage(GetDlgItem(hWnd,IDC_COMBO1), CB_GETCURSEL, 0, 0L); - SendMessage(GetDlgItem(hWnd,IDC_COMBO1), CB_GETLBTEXT, i, (LPARAM)((LPCSTR)n)); - card_number = i; - } - return(TRUE); - case IDOK: - if ((card=Register_Card(PCI_7442, card_number)) < 0) { - wsprintf(s, "Register_Card Error = %d\n", card); - MessageBox(hWnd, s, "Error", MB_OK); - } - EndDialog(hWnd, TRUE); - InvalidateRect(hWnd, NULL, FALSE); - return (TRUE); - case IDCANCEL: - EndDialog(hWnd, TRUE); - return (TRUE); - } - break; - } - return (FALSE); -} - -long PASCAL MainWndProc(hWnd, message, wParam, lParam) -HWND hWnd; -UINT message; -WPARAM wParam; -LPARAM lParam; -{ - HDC hDC; - PAINTSTRUCT ps; - int i, px, py; - char n[16]; - - switch(message) { - case WM_CREATE: - DialogBox(hInst,IDD_DIALOG1, hWnd, setup); - if(card<0) { - SendMessage(hWnd, WM_CLOSE, 0, 0L); - break; - } - - hInChanComboBox = CreateWindow("ComboBox", NULL, - CBS_DROPDOWNLIST | WS_CHILD | WS_VISIBLE | WS_VSCROLL, - input_pos[10].x-10, input_pos[10].y-35, 60, 80, hWnd, IDC_CHAN, hInst, NULL); - for (i=0;i<2;i++) { - wsprintf(n, "TTL%d", i); - _strupr(n); - SendMessage(hInChanComboBox, CB_ADDSTRING, i, (LPARAM)((LPCSTR)n)); - } - SendMessage(hInChanComboBox ,CB_SETCURSEL, 0, 0L); - - hOutChanComboBox = CreateWindow("ComboBox", NULL, - CBS_DROPDOWNLIST | WS_CHILD | WS_VISIBLE | WS_VSCROLL, - output_pos[10].x, output_pos[10].y-35, 60, 80, hWnd, IDC_CHAN2, hInst, NULL); - for (i=0;i<2;i++) { - wsprintf(n, "TTL%d", i); - _strupr(n); - SendMessage(hOutChanComboBox, CB_ADDSTRING, i, (LPARAM)((LPCSTR)n)); - } - SendMessage(hOutChanComboBox ,CB_SETCURSEL, 1, 0L); - - DIO_PortConfig(card, iPort+2, INPUT_PORT); - DIO_PortConfig(card, oPort+2, OUTPUT_PORT); - - hLTGreenBrush = CreateSolidBrush(RGB(0, 255, 0)); - hGreenBrush = CreateSolidBrush(RGB(0, 128, 0)); - hBlueBrush = CreateSolidBrush(RGB(0, 0, 255)); - hRedBrush = CreateSolidBrush(RGB(255, 0, 0)); - SetTimer(hWnd, TIMER1, 50, NULL); - srand((unsigned)time(NULL)); - break; - case WM_PAINT: - hDC = BeginPaint(hWnd, &ps); - // Digital Input Box - SelectObject(hDC, hLTGreenBrush); - Rectangle(hDC, input_pos[15].x-10, input_pos[15].y-24, input_pos[0].x+26, input_pos[0].y+40); - SetTextColor(hDC,RGB(255,255,255)); - SetBkColor(hDC, RGB(0, 0, 255)); - TextOut(hDC, input_pos[15].x, input_pos[15].y-30, "Digital Input#",14); - // Digital Output Box - SelectObject(hDC, hGreenBrush); - Rectangle(hDC, output_pos[15].x-10, output_pos[15].y-24, output_pos[0].x+26, output_pos[0].y+40); - SetTextColor(hDC,RGB(255,0,0)); - SetBkColor(hDC, RGB(0, 0, 255)); - TextOut(hDC, output_pos[15].x, output_pos[15].y-30, "Digital Output#", 15); - // - SelectObject(hDC, hLTGreenBrush); - SetTextColor(hDC,RGB(255,255,255)); - SetBkColor(hDC, RGB(0, 0, 255)); - TextOut(hDC, input_pos[15].x, input_pos[15].y-80, "Select TTL port 0 or 1 for DI or DO",35); - - // Channel Label - SetTextColor(hDC,RGB(0,0,0)); - SetBkColor(hDC, RGB(0, 255, 0)); - TextOut(hDC, input_pos[15].x, input_pos[15].y+16, "15 0", 75); - SetBkColor(hDC, RGB(0, 128, 0)); - TextOut(hDC, output_pos[15].x, output_pos[15].y+16, "15 0", 75); - SetBkColor(hDC, RGB(0, 255, 0)); - - for (i=0; i<16; i++) { - if ((input[iPort]>>i)&0x01) - SelectObject(hDC, hRedBrush); - else - SelectObject(hDC, GetStockObject(WHITE_BRUSH)); - //SelectObject(hDC, GetStockObject(WHITE_BRUSH)); - Ellipse(hDC, input_pos[i].x, input_pos[i].y, input_pos[i].x+17, input_pos[i].y+17); - } - for (i=0; i<16; i++) { - if ((output[oPort]>>i)&0x01) - SelectObject(hDC, hRedBrush); - else - SelectObject(hDC, GetStockObject(WHITE_BRUSH)); - //SelectObject(hDC, GetStockObject(WHITE_BRUSH)); - Ellipse(hDC, output_pos[i].x, output_pos[i].y, output_pos[i].x+17, output_pos[i].y+17); - } - EndPaint(hWnd, &ps); - break; - case WM_COMMAND: - switch(LOWORD(wParam)) { - case IDM_EXIT: - SendMessage(hWnd, WM_CLOSE, 0, 0L); - break; - case IDC_CHAN: - if (HIWORD(wParam) == CBN_CLOSEUP) { - if ((i=(int)SendMessage(GetDlgItem(hWnd,IDC_CHAN),CB_GETCURSEL, 0, 0L))>=0 ) { - if(i==0){ - iPort=0; - oPort=1; - } - else{ - iPort=1; - oPort=0; - } - SendMessage(hOutChanComboBox ,CB_SETCURSEL, oPort, 0L); - DIO_PortConfig(card, iPort+2, INPUT_PORT); - DIO_PortConfig(card, oPort+2, OUTPUT_PORT); - - output[oPort] = 0; - hDC = GetDC(hWnd); - SelectObject(hDC, GetStockObject(WHITE_BRUSH)); - for(i=0; i<16; i++) - Ellipse(hDC, output_pos[i].x, output_pos[i].y, output_pos[i].x+17, output_pos[i].y+17); - ReleaseDC(hWnd, hDC); - - if(oPort == 0) - DO_WritePort(card,P7442_TTL0, output[oPort]); - else - DO_WritePort(card,P7442_TTL1, output[oPort]); - - ReleaseDC(hWnd, hDC); - } - } - break; - case IDC_CHAN2: - if (HIWORD(wParam) == CBN_CLOSEUP) { - if ((i=(int)SendMessage(GetDlgItem(hWnd,IDC_CHAN2),CB_GETCURSEL, 0, 0L))>=0 ) { - if(i==0){ - oPort=0; - iPort=1; - } - else{ - oPort=1; - iPort=0; - } - SendMessage(hInChanComboBox ,CB_SETCURSEL, iPort, 0L); - - DIO_PortConfig(card, iPort+2, INPUT_PORT); - DIO_PortConfig(card, oPort+2, OUTPUT_PORT); - - output[oPort] = 0; - hDC = GetDC(hWnd); - SelectObject(hDC, GetStockObject(WHITE_BRUSH)); - for(i=0; i<16; i++) - Ellipse(hDC, output_pos[i].x, output_pos[i].y, output_pos[i].x+17, output_pos[i].y+17); - ReleaseDC(hWnd, hDC); - - if(oPort == 0) - DO_WritePort(card,P7442_TTL0, output[oPort]); - else - DO_WritePort(card,P7442_TTL1, output[oPort]); - } - } - break; - default: - return(DefWindowProc(hWnd, message, wParam, lParam)); - } - break; - case WM_TIMER: - /* Digital Input */ - if(iPort == 0) - DI_ReadPort(card,P7442_TTL0,&input[iPort]); - else - DI_ReadPort(card,P7442_TTL1,&input[iPort]); - hDC = GetDC(hWnd); - for (i=0; i<16; i++) { - if ((input[iPort]>>i)&0x01) - SelectObject(hDC, hRedBrush); - else - SelectObject(hDC, GetStockObject(WHITE_BRUSH)); - Ellipse(hDC, input_pos[i].x, input_pos[i].y, input_pos[i].x+17, input_pos[i].y+17); - } - ReleaseDC(hWnd, hDC); - break; - case WM_DESTROY: - DeleteObject(hRedBrush); - DeleteObject(hGreenBrush); - DeleteObject(hLTGreenBrush); - KillTimer(hWnd, TIMER1); - PostQuitMessage(0); - break; - case WM_LBUTTONDOWN: - px = LOWORD(lParam); - py = HIWORD(lParam); - for (i=0; i<16; i++) { - if (px>output_pos[i].x && pxoutput_pos[i].y && py>i)&0x01) { - output[oPort] -= ((1L)< -# Microsoft Developer Studio Generated Build File, Format Version 6.00 -# ** DO NOT EDIT ** - -# TARGTYPE "Win32 (x86) Application" 0x0101 - -CFG=Util7442 - Win32 Release -!MESSAGE This is not a valid makefile. To build this project using NMAKE, -!MESSAGE use the Export Makefile command and run -!MESSAGE -!MESSAGE NMAKE /f "Util7442.mak". -!MESSAGE -!MESSAGE You can specify a configuration when running NMAKE -!MESSAGE by defining the macro CFG on the command line. For example: -!MESSAGE -!MESSAGE NMAKE /f "Util7442.mak" CFG="Util7442 - Win32 Release" -!MESSAGE -!MESSAGE Possible choices for configuration are: -!MESSAGE -!MESSAGE "Util7442 - Win32 Release" (based on "Win32 (x86) Application") -!MESSAGE "Util7442 - Win32 Debug" (based on "Win32 (x86) Application") -!MESSAGE - -# Begin Project -# PROP AllowPerConfigDependencies 0 -# PROP Scc_ProjName "" -# PROP Scc_LocalPath "" -CPP=cl.exe -MTL=midl.exe -RSC=rc.exe - -!IF "$(CFG)" == "Util7442 - Win32 Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir ".\Release" -# PROP BASE Intermediate_Dir ".\Release" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "" -# PROP Intermediate_Dir ".\Release" -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /YX /c -# ADD CPP /nologo /W3 /GX /O2 /I "..\..\..\include" /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /FD /c -# SUBTRACT CPP /YX -# ADD BASE MTL /nologo /D "NDEBUG" /win32 -# ADD MTL /nologo /D "NDEBUG" /mktyplib203 /win32 -# ADD BASE RSC /l 0x404 /d "NDEBUG" -# ADD RSC /l 0x404 /d "NDEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:windows /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ..\..\..\lib\PCI-DASK.lib /nologo /subsystem:windows /machine:I386 - -!ELSEIF "$(CFG)" == "Util7442 - Win32 Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir ".\Debug" -# PROP BASE Intermediate_Dir ".\Debug" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "" -# PROP Intermediate_Dir ".\Debug" -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /Gm /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /YX /c -# ADD CPP /nologo /W3 /Gm /GX /ZI /Od /I "..\..\..\include" /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /FD /c -# SUBTRACT CPP /YX -# ADD BASE MTL /nologo /D "_DEBUG" /win32 -# ADD MTL /nologo /D "_DEBUG" /mktyplib203 /win32 -# ADD BASE RSC /l 0x404 /d "_DEBUG" -# ADD RSC /l 0x404 /d "_DEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:windows /debug /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ..\..\..\lib\PCI-DASK.lib /nologo /subsystem:windows /debug /machine:I386 - -!ENDIF - -# Begin Target - -# Name "Util7442 - Win32 Release" -# Name "Util7442 - Win32 Debug" -# Begin Group "Source Files" - -# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;hpj;bat;for;f90" -# Begin Source File - -SOURCE=.\util7442.c -# End Source File -# Begin Source File - -SOURCE=.\util7442.rc -# End Source File -# End Group -# Begin Group "Header Files" - -# PROP Default_Filter "h;hpp;hxx;hm;inl;fi;fd" -# End Group -# Begin Group "Resource Files" - -# PROP Default_Filter "ico;cur;bmp;dlg;rc2;rct;bin;cnt;rtf;gif;jpg;jpeg;jpe" -# End Group -# End Target -# End Project diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7442/SDK7442TTL/Util7442.dsw b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7442/SDK7442TTL/Util7442.dsw deleted file mode 100644 index 09c2b55..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7442/SDK7442TTL/Util7442.dsw +++ /dev/null @@ -1,29 +0,0 @@ -Microsoft Developer Studio Workspace File, Format Version 6.00 -# WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE! - -############################################################################### - -Project: "Util7442"=.\Util7442.dsp - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ -}}} - -############################################################################### - -Global: - -Package=<5> -{{{ -}}} - -Package=<3> -{{{ -}}} - -############################################################################### - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7442/SDK7442TTL/Util7442.exe b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7442/SDK7442TTL/Util7442.exe deleted file mode 100644 index 1baabbe..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7442/SDK7442TTL/Util7442.exe and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7442/SDK7442TTL/Util7442.rc b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7442/SDK7442TTL/Util7442.rc deleted file mode 100644 index 5458587..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7442/SDK7442TTL/Util7442.rc +++ /dev/null @@ -1,115 +0,0 @@ -//Microsoft Developer Studio generated resource script. -// -#include "resource.h" - -#define APSTUDIO_READONLY_SYMBOLS -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 2 resource. -// -#define APSTUDIO_HIDDEN_SYMBOLS -#include "windows.h" -#undef APSTUDIO_HIDDEN_SYMBOLS - -///////////////////////////////////////////////////////////////////////////// -#undef APSTUDIO_READONLY_SYMBOLS - -///////////////////////////////////////////////////////////////////////////// -// English (U.S.) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -#ifdef _WIN32 -LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US -#pragma code_page(1252) -#endif //_WIN32 - -///////////////////////////////////////////////////////////////////////////// -// -// Menu -// - -U7442MENU MENU DISCARDABLE -BEGIN - MENUITEM "E&xit!", IDM_EXIT -END - - -#ifdef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// TEXTINCLUDE -// - -1 TEXTINCLUDE DISCARDABLE -BEGIN - "resource.h\0" -END - -2 TEXTINCLUDE DISCARDABLE -BEGIN - "#define APSTUDIO_HIDDEN_SYMBOLS\r\n" - "#include ""windows.h""\r\n" - "#undef APSTUDIO_HIDDEN_SYMBOLS\r\n" - "\0" -END - -3 TEXTINCLUDE DISCARDABLE -BEGIN - "\r\n" - "\0" -END - -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog -// - -IDD_DIALOG1 DIALOG DISCARDABLE 110, 10, 106, 61 -STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "Card Number" -FONT 10, "System" -BEGIN - DEFPUSHBUTTON "OK",IDOK,10,40,37,14 - PUSHBUTTON "Cancel",IDCANCEL,61,40,38,14 - LTEXT "Card Number",IDC_STATIC,3,13,47,13 - COMBOBOX IDC_COMBO1,51,13,48,84,CBS_DROPDOWN | WS_VSCROLL | - WS_TABSTOP -END - - -///////////////////////////////////////////////////////////////////////////// -// -// DESIGNINFO -// - -#ifdef APSTUDIO_INVOKED -GUIDELINES DESIGNINFO DISCARDABLE -BEGIN - IDD_DIALOG1, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 99 - TOPMARGIN, 7 - BOTTOMMARGIN, 54 - END -END -#endif // APSTUDIO_INVOKED - -#endif // English (U.S.) resources -///////////////////////////////////////////////////////////////////////////// - - - -#ifndef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 3 resource. -// - - -///////////////////////////////////////////////////////////////////////////// -#endif // not APSTUDIO_INVOKED - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7442/SDK7442int/7442int.c b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7442/SDK7442int/7442int.c deleted file mode 100644 index 3a3d96d..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7442/SDK7442int/7442int.c +++ /dev/null @@ -1,235 +0,0 @@ -/*;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; -;; Copyright (c) 1995-1999, ADLink Technology Inc. All rights reserved. ;; -;; ;; -;; File Name : 7442INT.C ;; -;; Purpose : This sample program demonstrates how handle interrupt ;; -;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;*/ - -#include -#include -#include -#include -#include -#include "Dask.h" -#include "Resource.h" - -#define IDC_START 300 -#define IDC_OUTPUT 302 - -HANDLE hInst; /* current instance */ -int int_count=0, press_count=0; -I16 card=-1, card_number = 0; - -HWND hStart, hMainWnd; -HANDLE hEvent; - -int PASCAL WinMain(HANDLE, HANDLE, LPSTR, int); -BOOL InitApplication(HANDLE); -BOOL InitInstance(HANDLE, int); -long PASCAL MainWndProc(HWND, unsigned, WPARAM, LPARAM); - -void -IntThread(void* pArg) -{ - while (1) { - if (WaitForSingleObject(hEvent, INFINITE) == WAIT_OBJECT_0) { - int_count++; - ResetEvent(hEvent); - InvalidateRect(hMainWnd, NULL, FALSE); - } - } - _endthread(); -} - - /********************************************************************** - - FUNCTION: WinMain(HANDLE, HANDLE, LPSTR, int) - PURPOSE: calls initialization function, processes message loop - - ***********************************************************************/ - - int PASCAL WinMain(hInstance, hPrevInstance, lpCmdLine, nCmdShow) - HANDLE hInstance; - HANDLE hPrevInstance; - LPSTR lpCmdLine; - int nCmdShow; - { - MSG msg; - - if(!hPrevInstance) - if(!InitApplication(hInstance)) - return(FALSE); - - if(!InitInstance(hInstance, nCmdShow)) - return(FALSE); - - while ( GetMessage(&msg, NULL, NULL, NULL)) - { - TranslateMessage(&msg); - DispatchMessage(&msg); - } - return(msg.wParam); - } - -/**************************************************************************** - - FUNCTION: InitApplication(HANDLE) - - PURPOSE: Initializes window data and registers window class - -****************************************************************************/ - -BOOL InitApplication(hInstance) -HANDLE hInstance; -{ - WNDCLASS wc; - - wc.style = NULL; - wc.lpfnWndProc = MainWndProc; - wc.cbClsExtra = 0; - wc.cbWndExtra = 0; - wc.hInstance = hInstance; - wc.hIcon = LoadIcon(NULL, IDI_APPLICATION); - wc.hCursor = LoadCursor(hInstance, IDC_ARROW); - wc.hbrBackground = GetStockObject(WHITE_BRUSH); - wc.lpszMenuName = "U7442Menu"; - wc.lpszClassName = "IntClass"; - - return (RegisterClass(&wc)); -} - -/**************************************************************************** - - FUNCTION: InitInstance(HANDLE, int) - - PURPOSE: Saves instance handle and creates main window - -****************************************************************************/ - -BOOL InitInstance(hInstance, nCmdShow) -HANDLE hInstance; -int nCmdShow; -{ - HWND hWnd; - - hInst = hInstance; - hWnd = CreateWindow("IntClass", "PCI-7442 Interrupt Sample (INT1)", WS_OVERLAPPEDWINDOW, - 200, 100, 360, 300, NULL, NULL, hInstance, NULL); - if (!hWnd) return (FALSE); - ShowWindow(hWnd, nCmdShow); - UpdateWindow(hWnd); - return (TRUE); -} - -BOOL PASCAL setup(HWND hWnd, unsigned message, WPARAM wParam, LPARAM lParam) -{ - int i; - char n[16]; - char s[50]; - switch (message) { - case WM_INITDIALOG: - for (i=0;i<16;i++) { - wsprintf(n, "%d", i); - _strupr(n); - SendMessage(GetDlgItem(hWnd,IDC_COMBO1), CB_ADDSTRING, NULL, (LONG)(LPSTR) n); - } - SendMessage(GetDlgItem(hWnd,IDC_COMBO1) , CB_SETCURSEL, 0, 0L); - - break; - case WM_COMMAND: - switch(LOWORD(wParam)) { - - case IDC_COMBO1: - if (HIWORD(wParam) == CBN_CLOSEUP) { - i = (int)SendMessage(GetDlgItem(hWnd,IDC_COMBO1), CB_GETCURSEL, 0, 0L); - SendMessage(GetDlgItem(hWnd,IDC_COMBO1), CB_GETLBTEXT, i, (LPARAM)((LPCSTR)n)); - card_number = i; - } - return(TRUE); - case IDOK: - if ((card=Register_Card(PCI_7442, card_number)) < 0) { - wsprintf(s, "Register_Card Error = %d\n", card); - MessageBox(hWnd, s, "Error", MB_OK); - } - EndDialog(hWnd, TRUE); - InvalidateRect(hWnd, NULL, FALSE); - return (TRUE); - case IDCANCEL: - EndDialog(hWnd, TRUE); - return (TRUE); - } - break; - } - return (FALSE); -} - -/**************************************************************************** - - FUNCTION: MainWndProc(HWND, UINT, WPARAM, LPARAM) - - PURPOSE: Processes messages - - -****************************************************************************/ - -long PASCAL MainWndProc(hWnd, message, wParam, lParam) -HWND hWnd; -unsigned message; -WPARAM wParam; -LPARAM lParam; -{ - PAINTSTRUCT ps; - HDC hDC; - char buf[20]; - char s[50]; - - switch(message) { - case WM_CREATE: - DialogBox(hInst,IDD_DIALOG2, hWnd, setup); - if(card<0) { - SendMessage(hWnd, WM_CLOSE, 0, 0L); - break; - } - CreateWindow("BUTTON", "Output", WS_CHILD | WS_VISIBLE, - 130, 200, 72, 24, hWnd, IDC_OUTPUT, hInst, NULL); - DO_WritePort(card, P7442_CH0, 0x0); - Sleep(1); - DIO_SetCOSInterrupt32(card, 0, 0x0001, (HANDLE *) &hEvent, 1); - hMainWnd = hWnd; - _beginthread(IntThread, 0, 0); - break; - case WM_PAINT: - hDC = BeginPaint(hWnd, &ps); - TextOut(hDC, 20, 30, "This program shows the number of occurrence", 43); - TextOut(hDC, 20, 45, "of INT1 interupt. INT1 interrupt is generated", 45); - TextOut(hDC, 20, 60, "by change of state of DI0 bit-0. If you connect", 47); - TextOut(hDC, 20, 75, "DO0 bit-0 to DI0 bit-0, press 'Output' button can", 49); - TextOut(hDC, 20, 90, "generate an interrupt.", 22); - wsprintf(buf,"INT count = %d", int_count); - TextOut(hDC, 120, 140, buf, strlen(buf)); - EndPaint(hWnd, &ps); - break; - case WM_COMMAND: - switch(LOWORD(wParam)) { - case IDM_EXIT: - DIO_SetCOSInterrupt32(card, 0, 0x0000, NULL, 1); - SendMessage(hWnd, WM_CLOSE, 0, 0L); - break; - case IDC_OUTPUT: - if(press_count%2 == 0) - DO_WritePort(card, P7442_CH0, 0x1); - else - DO_WritePort(card, P7442_CH0, 0x0); - press_count++; - break; - } - break; - case WM_DESTROY: - if (card >= 0) Release_Card(card); - PostQuitMessage(0); - break; - default: - return (DefWindowProc(hWnd, message, wParam, lParam)); - } - return(0L); -} diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7442/SDK7442int/7442int.dsp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7442/SDK7442int/7442int.dsp deleted file mode 100644 index 9834846..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7442/SDK7442int/7442int.dsp +++ /dev/null @@ -1,111 +0,0 @@ -# Microsoft Developer Studio Project File - Name="7442int" - Package Owner=<4> -# Microsoft Developer Studio Generated Build File, Format Version 6.00 -# ** DO NOT EDIT ** - -# TARGTYPE "Win32 (x86) Application" 0x0101 - -CFG=7442int - Win32 Release -!MESSAGE This is not a valid makefile. To build this project using NMAKE, -!MESSAGE use the Export Makefile command and run -!MESSAGE -!MESSAGE NMAKE /f "7442int.mak". -!MESSAGE -!MESSAGE You can specify a configuration when running NMAKE -!MESSAGE by defining the macro CFG on the command line. For example: -!MESSAGE -!MESSAGE NMAKE /f "7442int.mak" CFG="7442int - Win32 Release" -!MESSAGE -!MESSAGE Possible choices for configuration are: -!MESSAGE -!MESSAGE "7442int - Win32 Release" (based on "Win32 (x86) Application") -!MESSAGE "7442int - Win32 Debug" (based on "Win32 (x86) Application") -!MESSAGE - -# Begin Project -# PROP AllowPerConfigDependencies 0 -# PROP Scc_ProjName "" -# PROP Scc_LocalPath "" -CPP=cl.exe -MTL=midl.exe -RSC=rc.exe - -!IF "$(CFG)" == "7442int - Win32 Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir ".\Release" -# PROP BASE Intermediate_Dir ".\Release" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "" -# PROP Intermediate_Dir ".\Release" -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /YX /c -# ADD CPP /nologo /MT /W3 /GX /Od /I "..\..\..\include" /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /FD /c -# SUBTRACT CPP /YX -# ADD BASE MTL /nologo /D "NDEBUG" /win32 -# ADD MTL /nologo /D "NDEBUG" /mktyplib203 /win32 -# ADD BASE RSC /l 0x404 /d "NDEBUG" -# ADD RSC /l 0x404 /d "NDEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:windows /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ..\..\..\lib\PCI-DASK.lib /nologo /subsystem:windows /machine:I386 - -!ELSEIF "$(CFG)" == "7442int - Win32 Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir ".\Debug" -# PROP BASE Intermediate_Dir ".\Debug" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "" -# PROP Intermediate_Dir ".\Debug" -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /Gm /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /YX /c -# ADD CPP /nologo /MTd /W3 /Gm /GX /ZI /Od /I "..\..\..\include" /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /FD /c -# SUBTRACT CPP /YX -# ADD BASE MTL /nologo /D "_DEBUG" /win32 -# ADD MTL /nologo /D "_DEBUG" /mktyplib203 /win32 -# ADD BASE RSC /l 0x404 /d "_DEBUG" -# ADD RSC /l 0x404 /d "_DEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:windows /debug /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ..\..\..\lib\PCI-DASK.lib /nologo /subsystem:windows /debug /machine:I386 - -!ENDIF - -# Begin Target - -# Name "7442int - Win32 Release" -# Name "7442int - Win32 Debug" -# Begin Group "Source Files" - -# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;hpj;bat;for;f90" -# Begin Source File - -SOURCE=.\7442int.c -# End Source File -# Begin Source File - -SOURCE=.\7442int.rc -# End Source File -# End Group -# Begin Group "Header Files" - -# PROP Default_Filter "h;hpp;hxx;hm;inl;fi;fd" -# End Group -# Begin Group "Resource Files" - -# PROP Default_Filter "ico;cur;bmp;dlg;rc2;rct;bin;cnt;rtf;gif;jpg;jpeg;jpe" -# End Group -# End Target -# End Project diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7442/SDK7442int/7442int.dsw b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7442/SDK7442int/7442int.dsw deleted file mode 100644 index 0ef63a8..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7442/SDK7442int/7442int.dsw +++ /dev/null @@ -1,29 +0,0 @@ -Microsoft Developer Studio Workspace File, Format Version 6.00 -# WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE! - -############################################################################### - -Project: "7442int"=.\7442int.dsp - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ -}}} - -############################################################################### - -Global: - -Package=<5> -{{{ -}}} - -Package=<3> -{{{ -}}} - -############################################################################### - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7442/SDK7442int/7442int.exe b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7442/SDK7442int/7442int.exe deleted file mode 100644 index 78f1d51..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7442/SDK7442int/7442int.exe and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7442/SDK7442int/7442int.rc b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7442/SDK7442int/7442int.rc deleted file mode 100644 index 6ffa9ca..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7442/SDK7442int/7442int.rc +++ /dev/null @@ -1,115 +0,0 @@ -//Microsoft Developer Studio generated resource script. -// -#include "resource.h" - -#define APSTUDIO_READONLY_SYMBOLS -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 2 resource. -// -#define APSTUDIO_HIDDEN_SYMBOLS -#include "windows.h" -#undef APSTUDIO_HIDDEN_SYMBOLS - -///////////////////////////////////////////////////////////////////////////// -#undef APSTUDIO_READONLY_SYMBOLS - -///////////////////////////////////////////////////////////////////////////// -// English (U.S.) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -#ifdef _WIN32 -LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US -#pragma code_page(1252) -#endif //_WIN32 - -#ifdef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// TEXTINCLUDE -// - -1 TEXTINCLUDE DISCARDABLE -BEGIN - "resource.h\0" -END - -2 TEXTINCLUDE DISCARDABLE -BEGIN - "#define APSTUDIO_HIDDEN_SYMBOLS\r\n" - "#include ""windows.h""\r\n" - "#undef APSTUDIO_HIDDEN_SYMBOLS\r\n" - "\0" -END - -3 TEXTINCLUDE DISCARDABLE -BEGIN - "\r\n" - "\0" -END - -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// Menu -// - -U7442MENU MENU DISCARDABLE -BEGIN - MENUITEM "E&xit!", IDM_EXIT -END - - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog -// - -IDD_DIALOG2 DIALOG DISCARDABLE 110, 10, 106, 61 -STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "Card Number" -FONT 10, "System" -BEGIN - DEFPUSHBUTTON "OK",IDOK,10,40,37,14 - PUSHBUTTON "Cancel",IDCANCEL,61,40,38,14 - LTEXT "Card Number",IDC_STATIC,3,13,47,13 - COMBOBOX IDC_COMBO1,51,13,48,84,CBS_DROPDOWN | WS_VSCROLL | - WS_TABSTOP -END - - -///////////////////////////////////////////////////////////////////////////// -// -// DESIGNINFO -// - -#ifdef APSTUDIO_INVOKED -GUIDELINES DESIGNINFO DISCARDABLE -BEGIN - IDD_DIALOG2, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 99 - TOPMARGIN, 7 - BOTTOMMARGIN, 54 - END -END -#endif // APSTUDIO_INVOKED - -#endif // English (U.S.) resources -///////////////////////////////////////////////////////////////////////////// - - - -#ifndef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 3 resource. -// - - -///////////////////////////////////////////////////////////////////////////// -#endif // not APSTUDIO_INVOKED - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7442/SDK7442int/resource.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7442/SDK7442int/resource.h deleted file mode 100644 index 60a957a..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7442/SDK7442int/resource.h +++ /dev/null @@ -1,30 +0,0 @@ -//{{NO_DEPENDENCIES}} -// Microsoft Developer Studio generated include file. -// Used by 7442int.rc -// -#define IDM_SETUP 101 -#define IDD_DIALOG1 101 -#define IDD_DIALOG2 102 -#define IDM_EXIT 110 -#define IDM_GO 300 -#define IDM_ABOUT 301 -#define DMA_DATA 302 -#define ID_STOP 304 -#define IDM_CLEAR 305 -#define DMA_SPACE 500 -#define IDC_COMBO1 1004 -#define IDC_COMBO2 1005 -#define IDC_EDIT1 1007 -#define IDC_EDIT2 1008 -#define IDC_STATIC -1 - -// Next default values for new objects -// -#ifdef APSTUDIO_INVOKED -#ifndef APSTUDIO_READONLY_SYMBOLS -#define _APS_NEXT_RESOURCE_VALUE 103 -#define _APS_NEXT_COMMAND_VALUE 102 -#define _APS_NEXT_CONTROL_VALUE 1008 -#define _APS_NEXT_SYMED_VALUE 101 -#endif -#endif diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7442/SDK7442intMsg/7442int.c b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7442/SDK7442intMsg/7442int.c deleted file mode 100644 index 7b459c0..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7442/SDK7442intMsg/7442int.c +++ /dev/null @@ -1,243 +0,0 @@ -/*;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; -;; Copyright (c) 1995-1999, ADLink Technology Inc. All rights reserved. ;; -;; ;; -;; File Name : 7442INT.C ;; -;; Purpose : This sample program demonstrates how handle interrupt ;; -;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;*/ - -#include -#include -#include -#include -#include -#include "Dask.h" -#include "Resource.h" - -#define IDC_START 300 -#define IDC_OUTPUT 302 -#define WM_INT 2000 //interrupt comming message - -HANDLE hInst; /* current instance */ -int int_count=0, press_count=0; -I16 card=-1, card_number = 0; -HWND hStart, hMainWnd, hEvent; - -int PASCAL WinMain(HANDLE, HANDLE, LPSTR, int); -BOOL InitApplication(HANDLE); -BOOL InitInstance(HANDLE, int); -long PASCAL MainWndProc(HWND, unsigned, WPARAM, LPARAM); -void mesgfn(); - - - /********************************************************************** - - FUNCTION: WinMain(HANDLE, HANDLE, LPSTR, int) - PURPOSE: calls initialization function, processes message loop - - ***********************************************************************/ - - int PASCAL WinMain(hInstance, hPrevInstance, lpCmdLine, nCmdShow) - HANDLE hInstance; - HANDLE hPrevInstance; - LPSTR lpCmdLine; - int nCmdShow; - { - MSG msg; - - if(!hPrevInstance) - if(!InitApplication(hInstance)) - return(FALSE); - - if(!InitInstance(hInstance, nCmdShow)) - return(FALSE); - - while ( GetMessage(&msg, NULL, NULL, NULL)) - { - TranslateMessage(&msg); - DispatchMessage(&msg); - } - return(msg.wParam); - } - -/**************************************************************************** - - FUNCTION: InitApplication(HANDLE) - - PURPOSE: Initializes window data and registers window class - -****************************************************************************/ - -BOOL InitApplication(hInstance) -HANDLE hInstance; -{ - WNDCLASS wc; - - wc.style = NULL; - wc.lpfnWndProc = MainWndProc; - wc.cbClsExtra = 0; - wc.cbWndExtra = 0; - wc.hInstance = hInstance; - wc.hIcon = LoadIcon(NULL, IDI_APPLICATION); - wc.hCursor = LoadCursor(hInstance, IDC_ARROW); - wc.hbrBackground = GetStockObject(WHITE_BRUSH); - wc.lpszMenuName = "U7442Menu"; - wc.lpszClassName = "IntClass"; - - return (RegisterClass(&wc)); -} - -/**************************************************************************** - - FUNCTION: InitInstance(HANDLE, int) - - PURPOSE: Saves instance handle and creates main window - -****************************************************************************/ - -BOOL InitInstance(hInstance, nCmdShow) -HANDLE hInstance; -int nCmdShow; -{ - HWND hWnd; - - hInst = hInstance; - hWnd = CreateWindow("IntClass", "PCI-7442 Interrupt Sample (INT1)", WS_OVERLAPPEDWINDOW, - 200, 100, 360, 300, NULL, NULL, hInstance, NULL); - if (!hWnd) return (FALSE); - ShowWindow(hWnd, nCmdShow); - UpdateWindow(hWnd); - return (TRUE); -} - -BOOL PASCAL setup(HWND hWnd, unsigned message, WPARAM wParam, LPARAM lParam) -{ - int i; - char n[16]; - char s[50]; - switch (message) { - case WM_INITDIALOG: - for (i=0;i<16;i++) { - wsprintf(n, "%d", i); - _strupr(n); - SendMessage(GetDlgItem(hWnd,IDC_COMBO1), CB_ADDSTRING, NULL, (LONG)(LPSTR) n); - } - SendMessage(GetDlgItem(hWnd,IDC_COMBO1) , CB_SETCURSEL, 0, 0L); - - break; - case WM_COMMAND: - switch(LOWORD(wParam)) { - - case IDC_COMBO1: - if (HIWORD(wParam) == CBN_CLOSEUP) { - i = (int)SendMessage(GetDlgItem(hWnd,IDC_COMBO1), CB_GETCURSEL, 0, 0L); - SendMessage(GetDlgItem(hWnd,IDC_COMBO1), CB_GETLBTEXT, i, (LPARAM)((LPCSTR)n)); - card_number = i; - } - return(TRUE); - case IDOK: - if ((card=Register_Card(PCI_7442, card_number)) < 0) { - wsprintf(s, "Register_Card Error = %d\n", card); - MessageBox(hWnd, s, "Error", MB_OK); - } - EndDialog(hWnd, TRUE); - InvalidateRect(hWnd, NULL, FALSE); - return (TRUE); - case IDCANCEL: - EndDialog(hWnd, TRUE); - return (TRUE); - } - break; - } - return (FALSE); -} - -/**************************************************************************** - - FUNCTION: MainWndProc(HWND, UINT, WPARAM, LPARAM) - - PURPOSE: Processes messages - - -****************************************************************************/ - -long PASCAL MainWndProc(hWnd, message, wParam, lParam) -HWND hWnd; -unsigned message; -WPARAM wParam; -LPARAM lParam; -{ - PAINTSTRUCT ps; - HDC hDC; - char s[50]; - - switch(message) { - case WM_CREATE: - DialogBox(hInst,IDD_DIALOG2, hWnd, setup); - if(card<0) { - SendMessage(hWnd, WM_CLOSE, 0, 0L); - break; - } - CreateWindow("BUTTON", "Output", WS_CHILD | WS_VISIBLE, - 130, 200, 72, 24, hWnd, IDC_OUTPUT, hInst, NULL); - DO_WritePort(card, P7442_CH0, 0x0); - Sleep(1); - DIO_INT1_EventMessage (card, INT1_COS0, hWnd, WM_INT, NULL); - DIO_SetCOSInterrupt32(card, 0, 0x0001, &hEvent, 0); - //or you using the following function to set callback fun. or event message - //DIO_INT_Event_Message (card, 1, hEvent, hWnd, WM_INT, NULL); - hMainWnd = hWnd; - break; - case WM_PAINT: - hDC = BeginPaint(hWnd, &ps); - TextOut(hDC, 20, 30, "This program shows the number of occurrence", 43); - TextOut(hDC, 20, 45, "of INT1 interupt. INT1 interrupt is generated", 45); - TextOut(hDC, 20, 60, "by change of state of DI0 bit-0. If you connect", 47); - TextOut(hDC, 20, 75, "DO0 bit-0 to DI0 bit-0, press 'Output' button can", 49); - TextOut(hDC, 20, 90, "generate an interrupt.", 22); - wsprintf(s,"INT1 Count = %d", int_count); - TextOut(hDC, 120, 140, s, strlen(s)); - EndPaint(hWnd, &ps); - break; - case WM_COMMAND: - switch(LOWORD(wParam)) { - case IDM_EXIT: - DIO_INT1_EventMessage(card, INT1_DISABLE, hMainWnd, NULL, NULL); - DIO_SetCOSInterrupt32(card, 0, 0x0000, NULL, 0); - //DIO_INT_Event_Message (card, 0, hEvent, NULL, NULL, NULL); - SendMessage(hWnd, WM_CLOSE, 0, 0L); - break; - case IDC_OUTPUT: - if(press_count%2 == 0) - DO_WritePort(card, P7442_CH0, 0x1); - else - DO_WritePort(card, P7442_CH0, 0x0); - press_count++; - break; - } - break; - case WM_INT: //interrupt comming message - mesgfn(); - break; - case WM_DESTROY: - if (card >= 0) Release_Card(card); - PostQuitMessage(0); - break; - default: - return (DefWindowProc(hWnd, message, wParam, lParam)); - } - return(0L); -} - -void mesgfn() -{ - HDC hDC; - char Buf[80]; - - hDC=GetDC(hMainWnd); - int_count++; - - wsprintf(Buf,"INT1 Count = %d ", int_count); - TextOut(hDC,120,140,Buf,strlen(Buf)); - - ReleaseDC(hMainWnd, hDC); -} diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7442/SDK7442intMsg/7442int.dsp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7442/SDK7442intMsg/7442int.dsp deleted file mode 100644 index 595a3b5..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7442/SDK7442intMsg/7442int.dsp +++ /dev/null @@ -1,113 +0,0 @@ -# Microsoft Developer Studio Project File - Name="7442int" - Package Owner=<4> -# Microsoft Developer Studio Generated Build File, Format Version 6.00 -# ** DO NOT EDIT ** - -# TARGTYPE "Win32 (x86) Application" 0x0101 - -CFG=7442int - Win32 Release -!MESSAGE This is not a valid makefile. To build this project using NMAKE, -!MESSAGE use the Export Makefile command and run -!MESSAGE -!MESSAGE NMAKE /f "7442int.mak". -!MESSAGE -!MESSAGE You can specify a configuration when running NMAKE -!MESSAGE by defining the macro CFG on the command line. For example: -!MESSAGE -!MESSAGE NMAKE /f "7442int.mak" CFG="7442int - Win32 Release" -!MESSAGE -!MESSAGE Possible choices for configuration are: -!MESSAGE -!MESSAGE "7442int - Win32 Release" (based on "Win32 (x86) Application") -!MESSAGE "7442int - Win32 Debug" (based on "Win32 (x86) Application") -!MESSAGE - -# Begin Project -# PROP AllowPerConfigDependencies 0 -# PROP Scc_ProjName "" -# PROP Scc_LocalPath "" -CPP=cl.exe -MTL=midl.exe -RSC=rc.exe - -!IF "$(CFG)" == "7442int - Win32 Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir ".\Release" -# PROP BASE Intermediate_Dir ".\Release" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "" -# PROP Intermediate_Dir ".\Release" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /YX /c -# ADD CPP /nologo /MT /W3 /GX /Od /I "..\..\..\include" /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /FD /c -# SUBTRACT CPP /YX -# ADD BASE MTL /nologo /D "NDEBUG" /win32 -# ADD MTL /nologo /D "NDEBUG" /mktyplib203 /win32 -# ADD BASE RSC /l 0x404 /d "NDEBUG" -# ADD RSC /l 0x404 /d "NDEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:windows /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ..\..\..\lib\PCI-DASK.lib /nologo /subsystem:windows /machine:I386 - -!ELSEIF "$(CFG)" == "7442int - Win32 Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir ".\Debug" -# PROP BASE Intermediate_Dir ".\Debug" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "" -# PROP Intermediate_Dir ".\Debug" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /Gm /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /YX /c -# ADD CPP /nologo /MTd /W3 /Gm /GX /ZI /Od /I "..\..\..\include" /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /FD /c -# SUBTRACT CPP /YX -# ADD BASE MTL /nologo /D "_DEBUG" /win32 -# ADD MTL /nologo /D "_DEBUG" /mktyplib203 /win32 -# ADD BASE RSC /l 0x404 /d "_DEBUG" -# ADD RSC /l 0x404 /d "_DEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:windows /debug /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ..\..\..\lib\PCI-DASK.lib /nologo /subsystem:windows /incremental:no /debug /machine:I386 - -!ENDIF - -# Begin Target - -# Name "7442int - Win32 Release" -# Name "7442int - Win32 Debug" -# Begin Group "Source Files" - -# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;hpj;bat;for;f90" -# Begin Source File - -SOURCE=.\7442int.c -# End Source File -# Begin Source File - -SOURCE=.\7442int.rc -# End Source File -# End Group -# Begin Group "Header Files" - -# PROP Default_Filter "h;hpp;hxx;hm;inl;fi;fd" -# End Group -# Begin Group "Resource Files" - -# PROP Default_Filter "ico;cur;bmp;dlg;rc2;rct;bin;cnt;rtf;gif;jpg;jpeg;jpe" -# End Group -# End Target -# End Project diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7442/SDK7442intMsg/7442int.dsw b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7442/SDK7442intMsg/7442int.dsw deleted file mode 100644 index 0ef63a8..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7442/SDK7442intMsg/7442int.dsw +++ /dev/null @@ -1,29 +0,0 @@ -Microsoft Developer Studio Workspace File, Format Version 6.00 -# WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE! - -############################################################################### - -Project: "7442int"=.\7442int.dsp - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ -}}} - -############################################################################### - -Global: - -Package=<5> -{{{ -}}} - -Package=<3> -{{{ -}}} - -############################################################################### - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7442/SDK7442intMsg/7442int.exe b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7442/SDK7442intMsg/7442int.exe deleted file mode 100644 index aeb2725..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7442/SDK7442intMsg/7442int.exe and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7442/SDK7442intMsg/7442int.rc b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7442/SDK7442intMsg/7442int.rc deleted file mode 100644 index 6ffa9ca..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7442/SDK7442intMsg/7442int.rc +++ /dev/null @@ -1,115 +0,0 @@ -//Microsoft Developer Studio generated resource script. -// -#include "resource.h" - -#define APSTUDIO_READONLY_SYMBOLS -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 2 resource. -// -#define APSTUDIO_HIDDEN_SYMBOLS -#include "windows.h" -#undef APSTUDIO_HIDDEN_SYMBOLS - -///////////////////////////////////////////////////////////////////////////// -#undef APSTUDIO_READONLY_SYMBOLS - -///////////////////////////////////////////////////////////////////////////// -// English (U.S.) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -#ifdef _WIN32 -LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US -#pragma code_page(1252) -#endif //_WIN32 - -#ifdef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// TEXTINCLUDE -// - -1 TEXTINCLUDE DISCARDABLE -BEGIN - "resource.h\0" -END - -2 TEXTINCLUDE DISCARDABLE -BEGIN - "#define APSTUDIO_HIDDEN_SYMBOLS\r\n" - "#include ""windows.h""\r\n" - "#undef APSTUDIO_HIDDEN_SYMBOLS\r\n" - "\0" -END - -3 TEXTINCLUDE DISCARDABLE -BEGIN - "\r\n" - "\0" -END - -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// Menu -// - -U7442MENU MENU DISCARDABLE -BEGIN - MENUITEM "E&xit!", IDM_EXIT -END - - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog -// - -IDD_DIALOG2 DIALOG DISCARDABLE 110, 10, 106, 61 -STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "Card Number" -FONT 10, "System" -BEGIN - DEFPUSHBUTTON "OK",IDOK,10,40,37,14 - PUSHBUTTON "Cancel",IDCANCEL,61,40,38,14 - LTEXT "Card Number",IDC_STATIC,3,13,47,13 - COMBOBOX IDC_COMBO1,51,13,48,84,CBS_DROPDOWN | WS_VSCROLL | - WS_TABSTOP -END - - -///////////////////////////////////////////////////////////////////////////// -// -// DESIGNINFO -// - -#ifdef APSTUDIO_INVOKED -GUIDELINES DESIGNINFO DISCARDABLE -BEGIN - IDD_DIALOG2, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 99 - TOPMARGIN, 7 - BOTTOMMARGIN, 54 - END -END -#endif // APSTUDIO_INVOKED - -#endif // English (U.S.) resources -///////////////////////////////////////////////////////////////////////////// - - - -#ifndef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 3 resource. -// - - -///////////////////////////////////////////////////////////////////////////// -#endif // not APSTUDIO_INVOKED - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7442/SDK7442intMsg/Resource.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7442/SDK7442intMsg/Resource.h deleted file mode 100644 index 60a957a..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7442/SDK7442intMsg/Resource.h +++ /dev/null @@ -1,30 +0,0 @@ -//{{NO_DEPENDENCIES}} -// Microsoft Developer Studio generated include file. -// Used by 7442int.rc -// -#define IDM_SETUP 101 -#define IDD_DIALOG1 101 -#define IDD_DIALOG2 102 -#define IDM_EXIT 110 -#define IDM_GO 300 -#define IDM_ABOUT 301 -#define DMA_DATA 302 -#define ID_STOP 304 -#define IDM_CLEAR 305 -#define DMA_SPACE 500 -#define IDC_COMBO1 1004 -#define IDC_COMBO2 1005 -#define IDC_EDIT1 1007 -#define IDC_EDIT2 1008 -#define IDC_STATIC -1 - -// Next default values for new objects -// -#ifdef APSTUDIO_INVOKED -#ifndef APSTUDIO_READONLY_SYMBOLS -#define _APS_NEXT_RESOURCE_VALUE 103 -#define _APS_NEXT_COMMAND_VALUE 102 -#define _APS_NEXT_CONTROL_VALUE 1008 -#define _APS_NEXT_SYMED_VALUE 101 -#endif -#endif diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7442/SDKWdtOvflow/7442int.c b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7442/SDKWdtOvflow/7442int.c deleted file mode 100644 index c0e3976..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7442/SDKWdtOvflow/7442int.c +++ /dev/null @@ -1,244 +0,0 @@ -/*;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; -;; Copyright (c) 1995-1999, ADLink Technology Inc. All rights reserved. ;; -;; ;; -;; File Name : 7442INT.C ;; -;; Purpose : This sample program demonstrates how handle interrupt ;; -;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;*/ - -#include -#include -#include -#include -#include -#include "Dask.h" -#include "Resource.h" - -#define IDC_START 300 -#define IDC_RELOAD 302 -#define WM_INT 2000 //interrupt comming message - -HANDLE hInst; /* current instance */ -I16 card=-1, card_number = 0; -HWND hStart, hMainWnd, hEvent; - -int PASCAL WinMain(HANDLE, HANDLE, LPSTR, int); -BOOL InitApplication(HANDLE); -BOOL InitInstance(HANDLE, int); -long PASCAL MainWndProc(HWND, unsigned, WPARAM, LPARAM); -void mesgfn(); - -F32 rt = 0.0; - - - /********************************************************************** - - FUNCTION: WinMain(HANDLE, HANDLE, LPSTR, int) - PURPOSE: calls initialization function, processes message loop - - ***********************************************************************/ - - int PASCAL WinMain(hInstance, hPrevInstance, lpCmdLine, nCmdShow) - HANDLE hInstance; - HANDLE hPrevInstance; - LPSTR lpCmdLine; - int nCmdShow; - { - MSG msg; - - if(!hPrevInstance) - if(!InitApplication(hInstance)) - return(FALSE); - - if(!InitInstance(hInstance, nCmdShow)) - return(FALSE); - - while ( GetMessage(&msg, NULL, NULL, NULL)) - { - TranslateMessage(&msg); - DispatchMessage(&msg); - } - return(msg.wParam); - } - -/**************************************************************************** - - FUNCTION: InitApplication(HANDLE) - - PURPOSE: Initializes window data and registers window class - -****************************************************************************/ - -BOOL InitApplication(hInstance) -HANDLE hInstance; -{ - WNDCLASS wc; - - wc.style = NULL; - wc.lpfnWndProc = MainWndProc; - wc.cbClsExtra = 0; - wc.cbWndExtra = 0; - wc.hInstance = hInstance; - wc.hIcon = LoadIcon(NULL, IDI_APPLICATION); - wc.hCursor = LoadCursor(hInstance, IDC_ARROW); - wc.hbrBackground = GetStockObject(WHITE_BRUSH); - wc.lpszMenuName = "U7442Menu"; - wc.lpszClassName = "IntClass"; - - return (RegisterClass(&wc)); -} - -/**************************************************************************** - - FUNCTION: InitInstance(HANDLE, int) - - PURPOSE: Saves instance handle and creates main window - -****************************************************************************/ - -BOOL InitInstance(hInstance, nCmdShow) -HANDLE hInstance; -int nCmdShow; -{ - HWND hWnd; - - hInst = hInstance; - hWnd = CreateWindow("IntClass", "PCI-7442 Interrupt Sample (INT1)", WS_OVERLAPPEDWINDOW, - 200, 100, 360, 300, NULL, NULL, hInstance, NULL); - if (!hWnd) return (FALSE); - ShowWindow(hWnd, nCmdShow); - UpdateWindow(hWnd); - return (TRUE); -} - -BOOL PASCAL setup(HWND hWnd, unsigned message, WPARAM wParam, LPARAM lParam) -{ - int i; - char n[16]; - char s[50]; - switch (message) { - case WM_INITDIALOG: - for (i=0;i<16;i++) { - wsprintf(n, "%d", i); - _strupr(n); - SendMessage(GetDlgItem(hWnd,IDC_COMBO1), CB_ADDSTRING, NULL, (LONG)(LPSTR) n); - } - SendMessage(GetDlgItem(hWnd,IDC_COMBO1) , CB_SETCURSEL, 0, 0L); - - break; - case WM_COMMAND: - switch(LOWORD(wParam)) { - - case IDC_COMBO1: - if (HIWORD(wParam) == CBN_CLOSEUP) { - i = (int)SendMessage(GetDlgItem(hWnd,IDC_COMBO1), CB_GETCURSEL, 0, 0L); - SendMessage(GetDlgItem(hWnd,IDC_COMBO1), CB_GETLBTEXT, i, (LPARAM)((LPCSTR)n)); - card_number = i; - } - return(TRUE); - case IDOK: - if ((card=Register_Card(PCI_7442, card_number)) < 0) { - wsprintf(s, "Register_Card Error = %d\n", card); - MessageBox(hWnd, s, "Error", MB_OK); - } - EndDialog(hWnd, TRUE); - InvalidateRect(hWnd, NULL, FALSE); - return (TRUE); - case IDCANCEL: - EndDialog(hWnd, TRUE); - return (TRUE); - } - break; - } - return (FALSE); -} - -/**************************************************************************** - - FUNCTION: MainWndProc(HWND, UINT, WPARAM, LPARAM) - - PURPOSE: Processes messages - - -****************************************************************************/ - -long PASCAL MainWndProc(hWnd, message, wParam, lParam) -HWND hWnd; -unsigned message; -WPARAM wParam; -LPARAM lParam; -{ - PAINTSTRUCT ps; - HDC hDC; - char s[50]; - - switch(message) { - case WM_CREATE: - DialogBox(hInst,IDD_DIALOG2, hWnd, setup); - if(card<0) { - SendMessage(hWnd, WM_CLOSE, 0, 0L); - break; - } - CreateWindow("BUTTON", "Reload", WS_CHILD | WS_VISIBLE, - 130, 220, 72, 24, hWnd, IDC_RELOAD, hInst, NULL); - SetInitPattern (card, SAFTOUT_PTN_CH0, 0x1); - SetInitPattern (card, SAFTOUT_PTN_CH1, 0x2); - WDT_Setup (card, 0 | WDT_OVRFLOW_SAFETYOUT, 5.0, &rt, NULL); - DIO_INT2_EventMessage (card, INT2_WDT, hWnd, WM_INT, NULL); - hMainWnd = hWnd; - break; - case WM_PAINT: - hDC = BeginPaint(hWnd, &ps); - TextOut(hDC, 10, 30, "This program sets the safetyout pattern to 0x1 and", 50); - TextOut(hDC, 10, 45, "0x2 for CH0 and CH1, and enables WDT capability.", 48); - TextOut(hDC, 10, 75, "INT2 interrupt is generated by WDT overflow.", 44); - TextOut(hDC, 10, 90, "Wait for WDT overflow...(about 5.0 seconds)",43); - TextOut(hDC, 10, 120, "You can press Reload button to reload",37); - TextOut(hDC, 10, 135, "WDT counter BEFORE WDT overflow!!",33); - EndPaint(hWnd, &ps); - break; - case WM_COMMAND: - switch(LOWORD(wParam)) { - case IDM_EXIT: - DIO_INT2_EventMessage (card, INT2_DISABLE, NULL, NULL, NULL); - SendMessage(hWnd, WM_CLOSE, 0, 0L); - break; - case IDC_RELOAD: - WDT_Reload (card, 0, 5.0, &rt); - break; - } - break; - case WM_INT: //interrupt comming message - mesgfn(); - break; - case WM_DESTROY: - if (card >= 0) Release_Card(card); - PostQuitMessage(0); - break; - default: - return (DefWindowProc(hWnd, message, wParam, lParam)); - } - return(0L); -} - -void mesgfn() -{ - HDC hDC; - U32 result; - char Buf[50]; - - hDC=GetDC(hMainWnd); - - TextOut(hDC, 40, 160, "WDT Overflow!!",14); - - DO_ReadPort (card, 0, &result); - wsprintf(Buf,"%x", result); - TextOut(hDC, 40, 180, "The CH0 current pattern is: 0x",30); - TextOut(hDC, 235, 180, Buf, strlen(Buf)); - - DO_ReadPort (card, 1, &result); - wsprintf(Buf,"%x", result); - TextOut(hDC, 40, 200, "The CH1 current pattern is: 0x",30); - TextOut(hDC, 235, 200, Buf, strlen(Buf)); - - ReleaseDC(hMainWnd, hDC); -} diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7442/SDKWdtOvflow/7442int.dsp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7442/SDKWdtOvflow/7442int.dsp deleted file mode 100644 index 347fefb..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7442/SDKWdtOvflow/7442int.dsp +++ /dev/null @@ -1,113 +0,0 @@ -# Microsoft Developer Studio Project File - Name="7442int" - Package Owner=<4> -# Microsoft Developer Studio Generated Build File, Format Version 6.00 -# ** DO NOT EDIT ** - -# TARGTYPE "Win32 (x86) Application" 0x0101 - -CFG=7442int - Win32 Release -!MESSAGE This is not a valid makefile. To build this project using NMAKE, -!MESSAGE use the Export Makefile command and run -!MESSAGE -!MESSAGE NMAKE /f "7442int.mak". -!MESSAGE -!MESSAGE You can specify a configuration when running NMAKE -!MESSAGE by defining the macro CFG on the command line. For example: -!MESSAGE -!MESSAGE NMAKE /f "7442int.mak" CFG="7442int - Win32 Release" -!MESSAGE -!MESSAGE Possible choices for configuration are: -!MESSAGE -!MESSAGE "7442int - Win32 Release" (based on "Win32 (x86) Application") -!MESSAGE "7442int - Win32 Debug" (based on "Win32 (x86) Application") -!MESSAGE - -# Begin Project -# PROP AllowPerConfigDependencies 0 -# PROP Scc_ProjName "" -# PROP Scc_LocalPath "" -CPP=cl.exe -MTL=midl.exe -RSC=rc.exe - -!IF "$(CFG)" == "7442int - Win32 Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir ".\Release" -# PROP BASE Intermediate_Dir ".\Release" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "" -# PROP Intermediate_Dir ".\Release" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /YX /c -# ADD CPP /nologo /MT /W3 /GX /Od /I "..\..\..\include" /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /FD /c -# SUBTRACT CPP /YX -# ADD BASE MTL /nologo /D "NDEBUG" /win32 -# ADD MTL /nologo /D "NDEBUG" /mktyplib203 /win32 -# ADD BASE RSC /l 0x404 /d "NDEBUG" -# ADD RSC /l 0x404 /d "NDEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:windows /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ..\..\..\lib\PCI-DASK.lib /nologo /subsystem:windows /machine:I386 - -!ELSEIF "$(CFG)" == "7442int - Win32 Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir ".\Debug" -# PROP BASE Intermediate_Dir ".\Debug" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir ".\Debug" -# PROP Intermediate_Dir ".\Debug" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /Gm /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /YX /c -# ADD CPP /nologo /MTd /W3 /Gm /GX /ZI /Od /I "..\..\..\include" /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /FD /c -# SUBTRACT CPP /YX -# ADD BASE MTL /nologo /D "_DEBUG" /win32 -# ADD MTL /nologo /D "_DEBUG" /mktyplib203 /win32 -# ADD BASE RSC /l 0x404 /d "_DEBUG" -# ADD RSC /l 0x404 /d "_DEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:windows /debug /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ..\..\..\lib\PCI-DASK.lib /nologo /subsystem:windows /incremental:no /debug /machine:I386 - -!ENDIF - -# Begin Target - -# Name "7442int - Win32 Release" -# Name "7442int - Win32 Debug" -# Begin Group "Source Files" - -# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;hpj;bat;for;f90" -# Begin Source File - -SOURCE=.\7442int.c -# End Source File -# Begin Source File - -SOURCE=.\7442int.rc -# End Source File -# End Group -# Begin Group "Header Files" - -# PROP Default_Filter "h;hpp;hxx;hm;inl;fi;fd" -# End Group -# Begin Group "Resource Files" - -# PROP Default_Filter "ico;cur;bmp;dlg;rc2;rct;bin;cnt;rtf;gif;jpg;jpeg;jpe" -# End Group -# End Target -# End Project diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7442/SDKWdtOvflow/7442int.dsw b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7442/SDKWdtOvflow/7442int.dsw deleted file mode 100644 index 0ef63a8..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7442/SDKWdtOvflow/7442int.dsw +++ /dev/null @@ -1,29 +0,0 @@ -Microsoft Developer Studio Workspace File, Format Version 6.00 -# WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE! - -############################################################################### - -Project: "7442int"=.\7442int.dsp - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ -}}} - -############################################################################### - -Global: - -Package=<5> -{{{ -}}} - -Package=<3> -{{{ -}}} - -############################################################################### - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7442/SDKWdtOvflow/7442int.exe b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7442/SDKWdtOvflow/7442int.exe deleted file mode 100644 index 9f8b93e..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7442/SDKWdtOvflow/7442int.exe and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7442/SDKWdtOvflow/7442int.rc b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7442/SDKWdtOvflow/7442int.rc deleted file mode 100644 index 6ffa9ca..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7442/SDKWdtOvflow/7442int.rc +++ /dev/null @@ -1,115 +0,0 @@ -//Microsoft Developer Studio generated resource script. -// -#include "resource.h" - -#define APSTUDIO_READONLY_SYMBOLS -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 2 resource. -// -#define APSTUDIO_HIDDEN_SYMBOLS -#include "windows.h" -#undef APSTUDIO_HIDDEN_SYMBOLS - -///////////////////////////////////////////////////////////////////////////// -#undef APSTUDIO_READONLY_SYMBOLS - -///////////////////////////////////////////////////////////////////////////// -// English (U.S.) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -#ifdef _WIN32 -LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US -#pragma code_page(1252) -#endif //_WIN32 - -#ifdef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// TEXTINCLUDE -// - -1 TEXTINCLUDE DISCARDABLE -BEGIN - "resource.h\0" -END - -2 TEXTINCLUDE DISCARDABLE -BEGIN - "#define APSTUDIO_HIDDEN_SYMBOLS\r\n" - "#include ""windows.h""\r\n" - "#undef APSTUDIO_HIDDEN_SYMBOLS\r\n" - "\0" -END - -3 TEXTINCLUDE DISCARDABLE -BEGIN - "\r\n" - "\0" -END - -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// Menu -// - -U7442MENU MENU DISCARDABLE -BEGIN - MENUITEM "E&xit!", IDM_EXIT -END - - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog -// - -IDD_DIALOG2 DIALOG DISCARDABLE 110, 10, 106, 61 -STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "Card Number" -FONT 10, "System" -BEGIN - DEFPUSHBUTTON "OK",IDOK,10,40,37,14 - PUSHBUTTON "Cancel",IDCANCEL,61,40,38,14 - LTEXT "Card Number",IDC_STATIC,3,13,47,13 - COMBOBOX IDC_COMBO1,51,13,48,84,CBS_DROPDOWN | WS_VSCROLL | - WS_TABSTOP -END - - -///////////////////////////////////////////////////////////////////////////// -// -// DESIGNINFO -// - -#ifdef APSTUDIO_INVOKED -GUIDELINES DESIGNINFO DISCARDABLE -BEGIN - IDD_DIALOG2, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 99 - TOPMARGIN, 7 - BOTTOMMARGIN, 54 - END -END -#endif // APSTUDIO_INVOKED - -#endif // English (U.S.) resources -///////////////////////////////////////////////////////////////////////////// - - - -#ifndef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 3 resource. -// - - -///////////////////////////////////////////////////////////////////////////// -#endif // not APSTUDIO_INVOKED - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7442/SDKWdtOvflow/Resource.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7442/SDKWdtOvflow/Resource.h deleted file mode 100644 index 60a957a..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7442/SDKWdtOvflow/Resource.h +++ /dev/null @@ -1,30 +0,0 @@ -//{{NO_DEPENDENCIES}} -// Microsoft Developer Studio generated include file. -// Used by 7442int.rc -// -#define IDM_SETUP 101 -#define IDD_DIALOG1 101 -#define IDD_DIALOG2 102 -#define IDM_EXIT 110 -#define IDM_GO 300 -#define IDM_ABOUT 301 -#define DMA_DATA 302 -#define ID_STOP 304 -#define IDM_CLEAR 305 -#define DMA_SPACE 500 -#define IDC_COMBO1 1004 -#define IDC_COMBO2 1005 -#define IDC_EDIT1 1007 -#define IDC_EDIT2 1008 -#define IDC_STATIC -1 - -// Next default values for new objects -// -#ifdef APSTUDIO_INVOKED -#ifndef APSTUDIO_READONLY_SYMBOLS -#define _APS_NEXT_RESOURCE_VALUE 103 -#define _APS_NEXT_COMMAND_VALUE 102 -#define _APS_NEXT_CONTROL_VALUE 1008 -#define _APS_NEXT_SYMED_VALUE 101 -#endif -#endif diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7442/VB7442DIO/0.bmp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7442/VB7442DIO/0.bmp deleted file mode 100644 index 407bba2..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7442/VB7442DIO/0.bmp and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7442/VB7442DIO/1.bmp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7442/VB7442DIO/1.bmp deleted file mode 100644 index 37d14f3..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7442/VB7442DIO/1.bmp and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7442/VB7442DIO/7442glbl.bas b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7442/VB7442DIO/7442glbl.bas deleted file mode 100644 index 77a2e7f..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7442/VB7442DIO/7442glbl.bas +++ /dev/null @@ -1,4 +0,0 @@ -Attribute VB_Name = "Module1" -Global card As Integer -Global card_number As Integer - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7442/VB7442DIO/Base7442.frm b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7442/VB7442DIO/Base7442.frm deleted file mode 100644 index e842455..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7442/VB7442DIO/Base7442.frm +++ /dev/null @@ -1,98 +0,0 @@ -VERSION 5.00 -Begin VB.Form SettingForm - Appearance = 0 'Flat - BackColor = &H00C0C0C0& - Caption = "Card Number Setting" - ClientHeight = 1275 - ClientLeft = 4590 - ClientTop = 4545 - ClientWidth = 2820 - BeginProperty Font - Name = "MS Sans Serif" - Size = 8.25 - Charset = 0 - Weight = 700 - Underline = 0 'False - Italic = 0 'False - Strikethrough = 0 'False - EndProperty - ForeColor = &H80000008& - LinkTopic = "Form2" - PaletteMode = 1 'UseZOrder - ScaleHeight = 1275 - ScaleWidth = 2820 - Begin VB.CommandButton OKBtn - Appearance = 0 'Flat - BackColor = &H80000005& - Caption = "OK" - Default = -1 'True - Height = 315 - Left = 300 - TabIndex = 0 - Top = 720 - Width = 915 - End - Begin VB.CommandButton CancelBtn - Appearance = 0 'Flat - BackColor = &H80000005& - Cancel = -1 'True - Caption = "Cancel" - Height = 315 - Left = 1380 - TabIndex = 3 - Top = 720 - Width = 915 - End - Begin VB.ComboBox CardNum - Appearance = 0 'Flat - Height = 300 - Left = 1440 - Style = 2 'Dropdown List - TabIndex = 2 - Top = 120 - Width = 1035 - End - Begin VB.Label Label2 - Appearance = 0 'Flat - BackColor = &H00C0C0C0& - Caption = "Card Number:" - ForeColor = &H00000000& - Height = 195 - Index = 0 - Left = 180 - TabIndex = 1 - Top = 180 - Width = 1275 - End -End -Attribute VB_Name = "SettingForm" -Attribute VB_GlobalNameSpace = False -Attribute VB_Creatable = False -Attribute VB_PredeclaredId = True -Attribute VB_Exposed = False - - -Private Sub BaseAddr_Change() - -End Sub - - -Private Sub CancelBtn_Click() - Unload SettingForm -End Sub - -Private Sub Form_Load() - Dim i As Long - For i = 0 To 15 Step 1 - CardNum.AddItem i - Next - CardNum.ListIndex = 0 -End Sub - -Private Sub OKBtn_Click() - card = -1 - card_number = CardNum.ListIndex - card = Register_Card(PCI_7442, card_number) - Unload SettingForm -End Sub - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7442/VB7442DIO/Util7442.Frm b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7442/VB7442DIO/Util7442.Frm deleted file mode 100644 index cee4e47..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7442/VB7442DIO/Util7442.Frm +++ /dev/null @@ -1,922 +0,0 @@ -VERSION 5.00 -Begin VB.Form util7442 - Appearance = 0 'Flat - BackColor = &H00C0C0C0& - Caption = "PCI-7442 Sample Program" - ClientHeight = 5520 - ClientLeft = 1635 - ClientTop = 2565 - ClientWidth = 6945 - BeginProperty Font - Name = "MS Sans Serif" - Size = 8.25 - Charset = 0 - Weight = 700 - Underline = 0 'False - Italic = 0 'False - Strikethrough = 0 'False - EndProperty - ForeColor = &H80000008& - LinkTopic = "Form1" - PaletteMode = 1 'UseZOrder - ScaleHeight = 5520 - ScaleWidth = 6945 - Begin VB.ComboBox InCombo - Height = 315 - Left = 2640 - TabIndex = 5 - Text = "Combo1" - Top = 840 - Width = 1200 - End - Begin VB.Timer Timer1 - Interval = 100 - Left = 6480 - Top = 120 - End - Begin VB.Frame Frame1 - Appearance = 0 'Flat - BackColor = &H00C0C0C0& - Caption = "Digital Output Channel #" - ForeColor = &H000000FF& - Height = 1995 - Index = 1 - Left = 360 - TabIndex = 1 - Top = 3120 - Width = 6135 - Begin VB.ComboBox OutCombo - Height = 315 - Left = 2400 - TabIndex = 6 - Text = "Combo2" - Top = 0 - Width = 1200 - End - Begin VB.Label Label7 - Caption = "31" - Height = 255 - Left = 240 - TabIndex = 10 - Top = 840 - Width = 255 - End - Begin VB.Label Label6 - Caption = "16" - Height = 255 - Left = 5640 - TabIndex = 9 - Top = 840 - Width = 255 - End - Begin VB.Image DOP0 - Appearance = 0 'Flat - Height = 300 - Index = 16 - Left = 5640 - Picture = "Util7442.frx":0000 - Top = 480 - Width = 300 - End - Begin VB.Image DOP0 - Appearance = 0 'Flat - Height = 300 - Index = 17 - Left = 5280 - Picture = "Util7442.frx":0172 - Top = 480 - Width = 300 - End - Begin VB.Image DOP0 - Appearance = 0 'Flat - Height = 300 - Index = 19 - Left = 4560 - Picture = "Util7442.frx":02E4 - Top = 480 - Width = 300 - End - Begin VB.Image DOP0 - Appearance = 0 'Flat - Height = 300 - Index = 18 - Left = 4920 - Picture = "Util7442.frx":0456 - Top = 480 - Width = 300 - End - Begin VB.Image DOP0 - Appearance = 0 'Flat - Height = 300 - Index = 20 - Left = 4200 - Picture = "Util7442.frx":05C8 - Top = 480 - Width = 300 - End - Begin VB.Image DOP0 - Appearance = 0 'Flat - Height = 300 - Index = 21 - Left = 3840 - Picture = "Util7442.frx":073A - Top = 480 - Width = 300 - End - Begin VB.Image DOP0 - Appearance = 0 'Flat - Height = 300 - Index = 22 - Left = 3480 - Picture = "Util7442.frx":08AC - Top = 480 - Width = 300 - End - Begin VB.Image DOP0 - Appearance = 0 'Flat - Height = 300 - Index = 23 - Left = 3120 - Picture = "Util7442.frx":0A1E - Top = 480 - Width = 300 - End - Begin VB.Image DOP0 - Appearance = 0 'Flat - Height = 300 - Index = 31 - Left = 240 - Picture = "Util7442.frx":0B90 - Top = 480 - Width = 300 - End - Begin VB.Image DOP0 - Appearance = 0 'Flat - Height = 300 - Index = 30 - Left = 600 - Picture = "Util7442.frx":0D02 - Top = 480 - Width = 300 - End - Begin VB.Image DOP0 - Appearance = 0 'Flat - Height = 300 - Index = 29 - Left = 960 - Picture = "Util7442.frx":0E74 - Top = 480 - Width = 300 - End - Begin VB.Image DOP0 - Appearance = 0 'Flat - Height = 300 - Index = 28 - Left = 1320 - Picture = "Util7442.frx":0FE6 - Top = 480 - Width = 300 - End - Begin VB.Image DOP0 - Appearance = 0 'Flat - Height = 300 - Index = 27 - Left = 1680 - Picture = "Util7442.frx":1158 - Top = 480 - Width = 300 - End - Begin VB.Image DOP0 - Appearance = 0 'Flat - Height = 300 - Index = 26 - Left = 2040 - Picture = "Util7442.frx":12CA - Top = 480 - Width = 300 - End - Begin VB.Image DOP0 - Appearance = 0 'Flat - Height = 300 - Index = 25 - Left = 2400 - Picture = "Util7442.frx":143C - Top = 480 - Width = 300 - End - Begin VB.Image DOP0 - Appearance = 0 'Flat - Height = 300 - Index = 24 - Left = 2760 - Picture = "Util7442.frx":15AE - Top = 480 - Width = 300 - End - Begin VB.Label Label1 - Caption = "0" - Height = 195 - Left = 5760 - TabIndex = 4 - Top = 1560 - Width = 195 - End - Begin VB.Label Label3 - Caption = "15" - Height = 255 - Left = 240 - TabIndex = 2 - Top = 1560 - Width = 255 - End - Begin VB.Image DOP0 - Appearance = 0 'Flat - Height = 300 - Index = 8 - Left = 2760 - Picture = "Util7442.frx":1720 - Top = 1200 - Width = 300 - End - Begin VB.Image DOP0 - Appearance = 0 'Flat - Height = 300 - Index = 9 - Left = 2400 - Picture = "Util7442.frx":1892 - Top = 1200 - Width = 300 - End - Begin VB.Image DOP0 - Appearance = 0 'Flat - Height = 300 - Index = 10 - Left = 2040 - Picture = "Util7442.frx":1A04 - Top = 1200 - Width = 300 - End - Begin VB.Image DOP0 - Appearance = 0 'Flat - Height = 300 - Index = 11 - Left = 1680 - Picture = "Util7442.frx":1B76 - Top = 1200 - Width = 300 - End - Begin VB.Image DOP0 - Appearance = 0 'Flat - Height = 300 - Index = 12 - Left = 1320 - Picture = "Util7442.frx":1CE8 - Top = 1200 - Width = 300 - End - Begin VB.Image DOP0 - Appearance = 0 'Flat - Height = 300 - Index = 13 - Left = 960 - Picture = "Util7442.frx":1E5A - Top = 1200 - Width = 300 - End - Begin VB.Image DOP0 - Appearance = 0 'Flat - Height = 300 - Index = 14 - Left = 600 - Picture = "Util7442.frx":1FCC - Top = 1200 - Width = 300 - End - Begin VB.Image DOP0 - Appearance = 0 'Flat - Height = 300 - Index = 15 - Left = 240 - Picture = "Util7442.frx":213E - Top = 1200 - Width = 300 - End - Begin VB.Image DOP0 - Appearance = 0 'Flat - Height = 300 - Index = 7 - Left = 3120 - Picture = "Util7442.frx":22B0 - Top = 1200 - Width = 300 - End - Begin VB.Image DOP0 - Appearance = 0 'Flat - Height = 300 - Index = 6 - Left = 3480 - Picture = "Util7442.frx":2422 - Top = 1200 - Width = 300 - End - Begin VB.Image DOP0 - Appearance = 0 'Flat - Height = 300 - Index = 5 - Left = 3840 - Picture = "Util7442.frx":2594 - Top = 1200 - Width = 300 - End - Begin VB.Image DOP0 - Appearance = 0 'Flat - Height = 300 - Index = 4 - Left = 4200 - Picture = "Util7442.frx":2706 - Top = 1200 - Width = 300 - End - Begin VB.Image DOP0 - Appearance = 0 'Flat - Height = 300 - Index = 2 - Left = 4920 - Picture = "Util7442.frx":2878 - Top = 1200 - Width = 300 - End - Begin VB.Image DOP0 - Appearance = 0 'Flat - Height = 300 - Index = 3 - Left = 4560 - Picture = "Util7442.frx":29EA - Top = 1200 - Width = 300 - End - Begin VB.Image DOP0 - Appearance = 0 'Flat - Height = 300 - Index = 1 - Left = 5280 - Picture = "Util7442.frx":2B5C - Top = 1200 - Width = 300 - End - Begin VB.Image DOP0 - Appearance = 0 'Flat - Height = 300 - Index = 0 - Left = 5640 - Picture = "Util7442.frx":2CCE - Top = 1200 - Width = 300 - End - End - Begin VB.Frame Frame1 - Appearance = 0 'Flat - BackColor = &H00C0C0C0& - Caption = "Digital Input Channel #" - ForeColor = &H00FF0000& - Height = 1995 - Index = 0 - Left = 360 - TabIndex = 0 - Top = 840 - Width = 6135 - Begin VB.Label Label9 - Caption = "16" - Height = 255 - Left = 5640 - TabIndex = 12 - Top = 840 - Width = 255 - End - Begin VB.Label Label8 - Caption = "31" - Height = 255 - Left = 240 - TabIndex = 11 - Top = 840 - Width = 255 - End - Begin VB.Image DI0 - Appearance = 0 'Flat - Height = 300 - Index = 23 - Left = 3120 - Picture = "Util7442.frx":2E40 - Top = 480 - Width = 300 - End - Begin VB.Image DI0 - Appearance = 0 'Flat - Height = 300 - Index = 22 - Left = 3480 - Picture = "Util7442.frx":2FB2 - Top = 480 - Width = 300 - End - Begin VB.Image DI0 - Appearance = 0 'Flat - Height = 300 - Index = 21 - Left = 3840 - Picture = "Util7442.frx":3124 - Top = 480 - Width = 300 - End - Begin VB.Image DI0 - Appearance = 0 'Flat - Height = 300 - Index = 20 - Left = 4200 - Picture = "Util7442.frx":3296 - Top = 480 - Width = 300 - End - Begin VB.Image DI0 - Appearance = 0 'Flat - Height = 300 - Index = 19 - Left = 4560 - Picture = "Util7442.frx":3408 - Top = 480 - Width = 300 - End - Begin VB.Image DI0 - Appearance = 0 'Flat - Height = 300 - Index = 18 - Left = 4920 - Picture = "Util7442.frx":357A - Top = 480 - Width = 300 - End - Begin VB.Image DI0 - Appearance = 0 'Flat - Height = 300 - Index = 17 - Left = 5280 - Picture = "Util7442.frx":36EC - Top = 480 - Width = 300 - End - Begin VB.Image DI0 - Appearance = 0 'Flat - Height = 300 - Index = 16 - Left = 5640 - Picture = "Util7442.frx":385E - Top = 480 - Width = 300 - End - Begin VB.Image DI0 - Appearance = 0 'Flat - Height = 300 - Index = 24 - Left = 2760 - Picture = "Util7442.frx":39D0 - Top = 480 - Width = 300 - End - Begin VB.Image DI0 - Appearance = 0 'Flat - Height = 300 - Index = 25 - Left = 2400 - Picture = "Util7442.frx":3B42 - Top = 480 - Width = 300 - End - Begin VB.Image DI0 - Appearance = 0 'Flat - Height = 300 - Index = 26 - Left = 2040 - Picture = "Util7442.frx":3CB4 - Top = 480 - Width = 300 - End - Begin VB.Image DI0 - Appearance = 0 'Flat - Height = 300 - Index = 27 - Left = 1680 - Picture = "Util7442.frx":3E26 - Top = 480 - Width = 300 - End - Begin VB.Image DI0 - Appearance = 0 'Flat - Height = 300 - Index = 28 - Left = 1320 - Picture = "Util7442.frx":3F98 - Top = 480 - Width = 300 - End - Begin VB.Image DI0 - Appearance = 0 'Flat - Height = 300 - Index = 29 - Left = 960 - Picture = "Util7442.frx":410A - Top = 480 - Width = 300 - End - Begin VB.Image DI0 - Appearance = 0 'Flat - Height = 300 - Index = 30 - Left = 600 - Picture = "Util7442.frx":427C - Top = 480 - Width = 300 - End - Begin VB.Image DI0 - Appearance = 0 'Flat - Height = 300 - Index = 31 - Left = 240 - Picture = "Util7442.frx":43EE - Top = 480 - Width = 300 - End - Begin VB.Label Label2 - Caption = "15" - Height = 195 - Left = 300 - TabIndex = 7 - Top = 1560 - Width = 195 - End - Begin VB.Label Label4 - Caption = "0" - Height = 195 - Left = 5700 - TabIndex = 3 - Top = 1560 - Width = 195 - End - Begin VB.Image DI0 - Appearance = 0 'Flat - Height = 300 - Index = 15 - Left = 240 - Picture = "Util7442.frx":4560 - Top = 1200 - Width = 300 - End - Begin VB.Image DI0 - Appearance = 0 'Flat - Height = 300 - Index = 14 - Left = 600 - Picture = "Util7442.frx":46D2 - Top = 1200 - Width = 300 - End - Begin VB.Image DI0 - Appearance = 0 'Flat - Height = 300 - Index = 13 - Left = 960 - Picture = "Util7442.frx":4844 - Top = 1200 - Width = 300 - End - Begin VB.Image DI0 - Appearance = 0 'Flat - Height = 300 - Index = 12 - Left = 1320 - Picture = "Util7442.frx":49B6 - Top = 1200 - Width = 300 - End - Begin VB.Image DI0 - Appearance = 0 'Flat - Height = 300 - Index = 11 - Left = 1680 - Picture = "Util7442.frx":4B28 - Top = 1200 - Width = 300 - End - Begin VB.Image DI0 - Appearance = 0 'Flat - Height = 300 - Index = 10 - Left = 2040 - Picture = "Util7442.frx":4C9A - Top = 1200 - Width = 300 - End - Begin VB.Image DI0 - Appearance = 0 'Flat - Height = 300 - Index = 9 - Left = 2400 - Picture = "Util7442.frx":4E0C - Top = 1200 - Width = 300 - End - Begin VB.Image DI0 - Appearance = 0 'Flat - Height = 300 - Index = 8 - Left = 2760 - Picture = "Util7442.frx":4F7E - Top = 1200 - Width = 300 - End - Begin VB.Image DI0 - Appearance = 0 'Flat - Height = 300 - Index = 0 - Left = 5640 - Picture = "Util7442.frx":50F0 - Top = 1200 - Width = 300 - End - Begin VB.Image DI0 - Appearance = 0 'Flat - Height = 300 - Index = 1 - Left = 5280 - Picture = "Util7442.frx":5262 - Top = 1200 - Width = 300 - End - Begin VB.Image DI0 - Appearance = 0 'Flat - Height = 300 - Index = 2 - Left = 4920 - Picture = "Util7442.frx":53D4 - Top = 1200 - Width = 300 - End - Begin VB.Image DI0 - Appearance = 0 'Flat - Height = 300 - Index = 3 - Left = 4560 - Picture = "Util7442.frx":5546 - Top = 1200 - Width = 300 - End - Begin VB.Image DI0 - Appearance = 0 'Flat - Height = 300 - Index = 4 - Left = 4200 - Picture = "Util7442.frx":56B8 - Top = 1200 - Width = 300 - End - Begin VB.Image DI0 - Appearance = 0 'Flat - Height = 300 - Index = 5 - Left = 3840 - Picture = "Util7442.frx":582A - Top = 1200 - Width = 300 - End - Begin VB.Image DI0 - Appearance = 0 'Flat - Height = 300 - Index = 6 - Left = 3480 - Picture = "Util7442.frx":599C - Top = 1200 - Width = 300 - End - Begin VB.Image DI0 - Appearance = 0 'Flat - Height = 300 - Index = 7 - Left = 3120 - Picture = "Util7442.frx":5B0E - Top = 1200 - Width = 300 - End - End - Begin VB.Label Label5 - Caption = "Select Channel Number for Digital Input and Digital Output" - Height = 255 - Left = 360 - TabIndex = 8 - Top = 360 - Width = 5175 - End - Begin VB.Image Image1 - Appearance = 0 'Flat - Height = 300 - Left = 6600 - Picture = "Util7442.frx":5C80 - Top = 600 - Visible = 0 'False - Width = 300 - End - Begin VB.Image Image0 - Appearance = 0 'Flat - Height = 300 - Left = 6600 - Picture = "Util7442.frx":5DF2 - Top = 960 - Visible = 0 'False - Width = 300 - End - Begin VB.Menu mnuExit - Caption = "&Exit!" - End -End -Attribute VB_Name = "util7442" -Attribute VB_GlobalNameSpace = False -Attribute VB_Creatable = False -Attribute VB_PredeclaredId = True -Attribute VB_Exposed = False -Option Explicit -Dim Status(0 To 31) As Long -Dim bit(0 To 31) As Long -Dim iport As Integer -Dim oport As Integer - -Private Sub DOP0_Click(Index As Integer) - Dim i As Integer, result As Integer - Dim d As Long - - If Status(Index) = 1 Then - DOP0(Index).Picture = Image0.Picture - Status(Index) = 0 - Else - DOP0(Index).Picture = Image1.Picture - Status(Index) = 1 - End If - d = 0 - For i = 0 To 30 - If Status(i) = 1 Then - d = d + (2 ^ i) - End If - Next - 'Handle the MSB - 'd=d+2^31, but bucause VB has no unsigned long, - 'translate an unsigned long to signed long by minus 2^32 - If Status(31) = 1 Then d = d - 2 ^ 31 'd = d + 2^31 - 2^32 - - If oport = 0 Then - result = DO_WritePort(card, P7442_CH0, d) - Else - result = DO_WritePort(card, P7442_CH1, d) - End If - -End Sub - -Private Sub Form_Load() - Dim result As Integer - Dim i As Integer - - SettingForm.Show 1 - If card < 0 Then - MsgBox "Register card failed." - End - End If - For i = 0 To 31 - Status(i) = 0 - Next - - bit(0) = &H1& - bit(1) = &H2& - bit(2) = &H4& - bit(3) = &H8& - bit(4) = &H10& - bit(5) = &H20& - bit(6) = &H40& - bit(7) = &H80& - bit(8) = &H100& - bit(9) = &H200& - bit(10) = &H400& - bit(11) = &H800& - bit(12) = &H1000& - bit(13) = &H2000& - bit(14) = &H4000& - bit(15) = &H8000& - bit(16) = &H10000 - bit(17) = &H20000 - bit(18) = &H40000 - bit(19) = &H80000 - bit(20) = &H100000 - bit(21) = &H200000 - bit(22) = &H400000 - bit(23) = &H800000 - bit(24) = &H1000000 - bit(25) = &H2000000 - bit(26) = &H4000000 - bit(27) = &H8000000 - bit(28) = &H10000000 - bit(29) = &H20000000 - bit(30) = &H40000000 - bit(31) = &H80000000 - - iport = 0 - oport = 0 - - For i = 0 To 1 Step 1 - InCombo.AddItem i - OutCombo.AddItem i - Next - InCombo.ListIndex = 0 - OutCombo.ListIndex = 0 - -End Sub - -Private Sub Form_Unload(Cancel As Integer) - Dim result As Integer - If card >= 0 Then - result = Release_Card(card) - End If - End -End Sub -Private Sub InCombo_Click() -Dim i As Integer -Dim result As Integer -Dim rb_data As Long -Dim p As Long - -iport = InCombo.ListIndex -oport = iport -OutCombo.ListIndex = oport - -For i = 0 To 31 - DOP0(i) = Image0 - Status(i) = 0 -Next - -If oport = 0 Then - result = DO_WritePort(card, P7442_CH0, 0) -Else - result = DO_WritePort(card, P7442_CH1, 0) -End If - -End Sub - -Private Sub mnuExit_Click() - Dim result As Integer - If card >= 0 Then - result = Release_Card(card) - End If - - End -End Sub - -Private Sub OutCombo_Click() -Dim i As Integer -Dim result As Integer -Dim rb_data As Long -Dim p As Long - -oport = OutCombo.ListIndex -iport = oport -InCombo.ListIndex = iport - -For i = 0 To 31 - DOP0(i) = Image0 - Status(i) = 0 -Next - -If oport = 0 Then - result = DO_WritePort(card, P7442_CH0, 0) -Else - result = DO_WritePort(card, P7442_CH1, 0) -End If - -End Sub - -Private Sub Timer1_Timer() - Dim result As Integer - Dim di_data As Long - Dim dl As Long, dh As Long - Dim i As Integer - Dim p As Long - - If iport = 0 Then - result = DI_ReadPort(card, P7442_CH0, di_data) - Else - result = DI_ReadPort(card, P7442_CH1, di_data) - End If - - For i = 0 To 31 - p = di_data And bit(i) - If p <> 0 Then - DI0(i) = Image1 - Else 'p = 0 - DI0(i) = Image0 - End If - Next -End Sub - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7442/VB7442DIO/Util7442.Vbp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7442/VB7442DIO/Util7442.Vbp deleted file mode 100644 index 283148b..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7442/VB7442DIO/Util7442.Vbp +++ /dev/null @@ -1,40 +0,0 @@ -Type=Exe -Form=Util7442.Frm -Module=DASK; ..\..\..\include\Dask.bas -Module=Module1; 7442glbl.bas -Form=Base7442.frm -Reference=*\G{00025E04-0000-0000-C000-000000000046}#3.5#0#..\..\..\..\..\Program Files\Common Files\Microsoft Shared\DAO\dao2535.tlb#Microsoft DAO 2.5/3.0 Compatibility Library -IconForm="util7442" -Startup="util7442" -HelpFile="" -Title="UTIL7442" -ExeName32="Util7442.exe" -Command32="" -Name="projectUtil7442" -HelpContextID="0" -CompatibleMode="0" -MajorVer=1 -MinorVer=0 -RevisionVer=0 -AutoIncrementVer=0 -ServerSupportFiles=0 -VersionCompanyName="ADLINK" -CompilationType=0 -OptimizationType=0 -FavorPentiumPro(tm)=0 -CodeViewDebugInfo=0 -NoAliasing=0 -BoundsCheck=0 -OverflowCheck=0 -FlPointCheck=0 -FDIVCheck=0 -UnroundedFP=0 -StartMode=0 -Unattended=0 -Retained=0 -ThreadPerObject=0 -MaxNumberOfThreads=1 -DebugStartupOption=0 - -[MS Transaction Server] -AutoRefresh=1 diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7442/VB7442DIO/Util7442.frx b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7442/VB7442DIO/Util7442.frx deleted file mode 100644 index 055f82c..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7442/VB7442DIO/Util7442.frx and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7442/VB7442DIO/Util7442.vbw b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7442/VB7442DIO/Util7442.vbw deleted file mode 100644 index 81d3333..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7442/VB7442DIO/Util7442.vbw +++ /dev/null @@ -1,4 +0,0 @@ -util7442 = 49, 69, 666, 518, Z, 132, 114, 664, 581, C -DASK = 22, 22, 639, 471, -Module1 = 44, 44, 661, 493, -SettingForm = 66, 66, 683, 515, , 110, 110, 727, 559, C diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7442/VB7442TTL/0.bmp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7442/VB7442TTL/0.bmp deleted file mode 100644 index 407bba2..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7442/VB7442TTL/0.bmp and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7442/VB7442TTL/1.bmp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7442/VB7442TTL/1.bmp deleted file mode 100644 index 37d14f3..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7442/VB7442TTL/1.bmp and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7442/VB7442TTL/7442glbl.bas b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7442/VB7442TTL/7442glbl.bas deleted file mode 100644 index 77a2e7f..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7442/VB7442TTL/7442glbl.bas +++ /dev/null @@ -1,4 +0,0 @@ -Attribute VB_Name = "Module1" -Global card As Integer -Global card_number As Integer - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7442/VB7442TTL/Base7442.frm b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7442/VB7442TTL/Base7442.frm deleted file mode 100644 index e842455..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7442/VB7442TTL/Base7442.frm +++ /dev/null @@ -1,98 +0,0 @@ -VERSION 5.00 -Begin VB.Form SettingForm - Appearance = 0 'Flat - BackColor = &H00C0C0C0& - Caption = "Card Number Setting" - ClientHeight = 1275 - ClientLeft = 4590 - ClientTop = 4545 - ClientWidth = 2820 - BeginProperty Font - Name = "MS Sans Serif" - Size = 8.25 - Charset = 0 - Weight = 700 - Underline = 0 'False - Italic = 0 'False - Strikethrough = 0 'False - EndProperty - ForeColor = &H80000008& - LinkTopic = "Form2" - PaletteMode = 1 'UseZOrder - ScaleHeight = 1275 - ScaleWidth = 2820 - Begin VB.CommandButton OKBtn - Appearance = 0 'Flat - BackColor = &H80000005& - Caption = "OK" - Default = -1 'True - Height = 315 - Left = 300 - TabIndex = 0 - Top = 720 - Width = 915 - End - Begin VB.CommandButton CancelBtn - Appearance = 0 'Flat - BackColor = &H80000005& - Cancel = -1 'True - Caption = "Cancel" - Height = 315 - Left = 1380 - TabIndex = 3 - Top = 720 - Width = 915 - End - Begin VB.ComboBox CardNum - Appearance = 0 'Flat - Height = 300 - Left = 1440 - Style = 2 'Dropdown List - TabIndex = 2 - Top = 120 - Width = 1035 - End - Begin VB.Label Label2 - Appearance = 0 'Flat - BackColor = &H00C0C0C0& - Caption = "Card Number:" - ForeColor = &H00000000& - Height = 195 - Index = 0 - Left = 180 - TabIndex = 1 - Top = 180 - Width = 1275 - End -End -Attribute VB_Name = "SettingForm" -Attribute VB_GlobalNameSpace = False -Attribute VB_Creatable = False -Attribute VB_PredeclaredId = True -Attribute VB_Exposed = False - - -Private Sub BaseAddr_Change() - -End Sub - - -Private Sub CancelBtn_Click() - Unload SettingForm -End Sub - -Private Sub Form_Load() - Dim i As Long - For i = 0 To 15 Step 1 - CardNum.AddItem i - Next - CardNum.ListIndex = 0 -End Sub - -Private Sub OKBtn_Click() - card = -1 - card_number = CardNum.ListIndex - card = Register_Card(PCI_7442, card_number) - Unload SettingForm -End Sub - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7442/VB7442TTL/Util7442.Frm b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7442/VB7442TTL/Util7442.Frm deleted file mode 100644 index 97105ea..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7442/VB7442TTL/Util7442.Frm +++ /dev/null @@ -1,620 +0,0 @@ -VERSION 5.00 -Begin VB.Form util7442 - Appearance = 0 'Flat - BackColor = &H00C0C0C0& - Caption = "PCI-7442 Sample Program" - ClientHeight = 3660 - ClientLeft = 1635 - ClientTop = 2565 - ClientWidth = 6870 - BeginProperty Font - Name = "MS Sans Serif" - Size = 8.25 - Charset = 0 - Weight = 700 - Underline = 0 'False - Italic = 0 'False - Strikethrough = 0 'False - EndProperty - ForeColor = &H80000008& - LinkTopic = "Form1" - PaletteMode = 1 'UseZOrder - ScaleHeight = 3660 - ScaleWidth = 6870 - Begin VB.ComboBox InCombo - Height = 315 - Left = 2160 - TabIndex = 5 - Text = "Combo1" - Top = 840 - Width = 1200 - End - Begin VB.Timer Timer1 - Interval = 100 - Left = 5280 - Top = 2640 - End - Begin VB.Frame Frame1 - Appearance = 0 'Flat - BackColor = &H00C0C0C0& - Caption = "Digital Output# TTL" - ForeColor = &H000000FF& - Height = 1155 - Index = 1 - Left = 360 - TabIndex = 1 - Top = 2160 - Width = 6015 - Begin VB.ComboBox OutCombo - Height = 315 - Left = 1920 - TabIndex = 6 - Text = "Combo2" - Top = 0 - Width = 1200 - End - Begin VB.Label Label1 - Caption = "0" - Height = 195 - Left = 5640 - TabIndex = 4 - Top = 840 - Width = 195 - End - Begin VB.Label Label3 - Caption = "15" - Height = 195 - Left = 240 - TabIndex = 2 - Top = 840 - Width = 195 - End - Begin VB.Image DOP0 - Appearance = 0 'Flat - Height = 300 - Index = 8 - Left = 2700 - Picture = "Util7442.frx":0000 - Top = 500 - Width = 300 - End - Begin VB.Image DOP0 - Appearance = 0 'Flat - Height = 300 - Index = 9 - Left = 2340 - Picture = "Util7442.frx":0172 - Top = 500 - Width = 300 - End - Begin VB.Image DOP0 - Appearance = 0 'Flat - Height = 300 - Index = 10 - Left = 1980 - Picture = "Util7442.frx":02E4 - Top = 500 - Width = 300 - End - Begin VB.Image DOP0 - Appearance = 0 'Flat - Height = 300 - Index = 11 - Left = 1620 - Picture = "Util7442.frx":0456 - Top = 500 - Width = 300 - End - Begin VB.Image DOP0 - Appearance = 0 'Flat - Height = 300 - Index = 12 - Left = 1260 - Picture = "Util7442.frx":05C8 - Top = 500 - Width = 300 - End - Begin VB.Image DOP0 - Appearance = 0 'Flat - Height = 300 - Index = 13 - Left = 900 - Picture = "Util7442.frx":073A - Top = 500 - Width = 300 - End - Begin VB.Image DOP0 - Appearance = 0 'Flat - Height = 300 - Index = 14 - Left = 540 - Picture = "Util7442.frx":08AC - Top = 500 - Width = 300 - End - Begin VB.Image DOP0 - Appearance = 0 'Flat - Height = 300 - Index = 15 - Left = 180 - Picture = "Util7442.frx":0A1E - Top = 500 - Width = 300 - End - Begin VB.Image DOP0 - Appearance = 0 'Flat - Height = 300 - Index = 7 - Left = 3060 - Picture = "Util7442.frx":0B90 - Top = 500 - Width = 300 - End - Begin VB.Image DOP0 - Appearance = 0 'Flat - Height = 300 - Index = 6 - Left = 3420 - Picture = "Util7442.frx":0D02 - Top = 500 - Width = 300 - End - Begin VB.Image DOP0 - Appearance = 0 'Flat - Height = 300 - Index = 5 - Left = 3780 - Picture = "Util7442.frx":0E74 - Top = 500 - Width = 300 - End - Begin VB.Image DOP0 - Appearance = 0 'Flat - Height = 300 - Index = 4 - Left = 4140 - Picture = "Util7442.frx":0FE6 - Top = 500 - Width = 300 - End - Begin VB.Image DOP0 - Appearance = 0 'Flat - Height = 300 - Index = 2 - Left = 4860 - Picture = "Util7442.frx":1158 - Top = 500 - Width = 300 - End - Begin VB.Image DOP0 - Appearance = 0 'Flat - Height = 300 - Index = 3 - Left = 4500 - Picture = "Util7442.frx":12CA - Top = 500 - Width = 300 - End - Begin VB.Image DOP0 - Appearance = 0 'Flat - Height = 300 - Index = 1 - Left = 5220 - Picture = "Util7442.frx":143C - Top = 500 - Width = 300 - End - Begin VB.Image DOP0 - Appearance = 0 'Flat - Height = 300 - Index = 0 - Left = 5580 - Picture = "Util7442.frx":15AE - Top = 500 - Width = 300 - End - End - Begin VB.Frame Frame1 - Appearance = 0 'Flat - BackColor = &H00C0C0C0& - Caption = "Digital Input# TTL" - ForeColor = &H00FF0000& - Height = 1155 - Index = 0 - Left = 360 - TabIndex = 0 - Top = 840 - Width = 6015 - Begin VB.Label Label2 - Caption = "15" - Height = 195 - Left = 240 - TabIndex = 7 - Top = 840 - Width = 195 - End - Begin VB.Label Label4 - Caption = "0" - Height = 195 - Left = 5640 - TabIndex = 3 - Top = 840 - Width = 195 - End - Begin VB.Image DI0 - Appearance = 0 'Flat - Height = 300 - Index = 15 - Left = 180 - Picture = "Util7442.frx":1720 - Top = 480 - Width = 300 - End - Begin VB.Image DI0 - Appearance = 0 'Flat - Height = 300 - Index = 14 - Left = 540 - Picture = "Util7442.frx":1892 - Top = 480 - Width = 300 - End - Begin VB.Image DI0 - Appearance = 0 'Flat - Height = 300 - Index = 13 - Left = 900 - Picture = "Util7442.frx":1A04 - Top = 480 - Width = 300 - End - Begin VB.Image DI0 - Appearance = 0 'Flat - Height = 300 - Index = 12 - Left = 1260 - Picture = "Util7442.frx":1B76 - Top = 480 - Width = 300 - End - Begin VB.Image DI0 - Appearance = 0 'Flat - Height = 300 - Index = 11 - Left = 1620 - Picture = "Util7442.frx":1CE8 - Top = 480 - Width = 300 - End - Begin VB.Image DI0 - Appearance = 0 'Flat - Height = 300 - Index = 10 - Left = 1980 - Picture = "Util7442.frx":1E5A - Top = 480 - Width = 300 - End - Begin VB.Image DI0 - Appearance = 0 'Flat - Height = 300 - Index = 9 - Left = 2340 - Picture = "Util7442.frx":1FCC - Top = 480 - Width = 300 - End - Begin VB.Image DI0 - Appearance = 0 'Flat - Height = 300 - Index = 8 - Left = 2700 - Picture = "Util7442.frx":213E - Top = 480 - Width = 300 - End - Begin VB.Image DI0 - Appearance = 0 'Flat - Height = 300 - Index = 0 - Left = 5580 - Picture = "Util7442.frx":22B0 - Top = 480 - Width = 300 - End - Begin VB.Image DI0 - Appearance = 0 'Flat - Height = 300 - Index = 1 - Left = 5220 - Picture = "Util7442.frx":2422 - Top = 480 - Width = 300 - End - Begin VB.Image DI0 - Appearance = 0 'Flat - Height = 300 - Index = 2 - Left = 4860 - Picture = "Util7442.frx":2594 - Top = 480 - Width = 300 - End - Begin VB.Image DI0 - Appearance = 0 'Flat - Height = 300 - Index = 3 - Left = 4500 - Picture = "Util7442.frx":2706 - Top = 480 - Width = 300 - End - Begin VB.Image DI0 - Appearance = 0 'Flat - Height = 300 - Index = 4 - Left = 4140 - Picture = "Util7442.frx":2878 - Top = 480 - Width = 300 - End - Begin VB.Image DI0 - Appearance = 0 'Flat - Height = 300 - Index = 5 - Left = 3780 - Picture = "Util7442.frx":29EA - Top = 480 - Width = 300 - End - Begin VB.Image DI0 - Appearance = 0 'Flat - Height = 300 - Index = 6 - Left = 3420 - Picture = "Util7442.frx":2B5C - Top = 480 - Width = 300 - End - Begin VB.Image DI0 - Appearance = 0 'Flat - Height = 300 - Index = 7 - Left = 3060 - Picture = "Util7442.frx":2CCE - Top = 480 - Width = 300 - End - End - Begin VB.Label Label5 - Caption = "Select TTL0 or TTL1 for input or output" - Height = 255 - Left = 360 - TabIndex = 8 - Top = 360 - Width = 3495 - End - Begin VB.Image Image1 - Appearance = 0 'Flat - Height = 300 - Left = 5880 - Picture = "Util7442.frx":2E40 - Top = 2700 - Visible = 0 'False - Width = 300 - End - Begin VB.Image Image0 - Appearance = 0 'Flat - Height = 300 - Left = 6180 - Picture = "Util7442.frx":2FB2 - Top = 2700 - Visible = 0 'False - Width = 300 - End - Begin VB.Menu mnuExit - Caption = "&Exit!" - End -End -Attribute VB_Name = "util7442" -Attribute VB_GlobalNameSpace = False -Attribute VB_Creatable = False -Attribute VB_PredeclaredId = True -Attribute VB_Exposed = False -Option Explicit -Dim Status(0 To 15) As Long -Dim bit(0 To 15) As Long -Dim iport As Integer -Dim oport As Integer - -Private Sub DOP0_Click(Index As Integer) - Dim i As Integer, result As Integer - Dim d As Long - - If Status(Index) = 1 Then - DOP0(Index).Picture = Image0.Picture - Status(Index) = 0 - Else - DOP0(Index).Picture = Image1.Picture - Status(Index) = 1 - End If - d = 0 - For i = 0 To 14 - If Status(i) = 1 Then - d = d + (2 ^ i) - End If - Next - 'Handle the MSB - 'd=d+2^31, but bucause VB has no unsigned long, - 'translate an unsigned long to signed long by minus 2^32 - If Status(15) = 1 Then d = d - 2 ^ 15 'd = d + 2^15 - 2^16 - - If oport = 0 Then - result = DO_WritePort(card, P7442_TTL0, d) - Else - result = DO_WritePort(card, P7442_TTL1, d) - End If - -End Sub - -Private Sub Form_Load() - Dim result As Integer - Dim i As Integer - - SettingForm.Show 1 - If card < 0 Then - MsgBox "Register card failed." - End - End If - For i = 0 To 15 - Status(i) = 0 - Next - - bit(0) = &H1& - bit(1) = &H2& - bit(2) = &H4& - bit(3) = &H8& - bit(4) = &H10& - bit(5) = &H20& - bit(6) = &H40& - bit(7) = &H80& - bit(8) = &H100& - bit(9) = &H200& - bit(10) = &H400& - bit(11) = &H800& - bit(12) = &H1000& - bit(13) = &H2000& - bit(14) = &H4000& - bit(15) = &H8000& -' bit(16) = &H10000 -' bit(17) = &H20000 -' bit(18) = &H40000 -' bit(19) = &H80000 -' bit(20) = &H100000 -' bit(21) = &H200000 -' bit(22) = &H400000 -' bit(23) = &H800000 -' bit(24) = &H1000000 -' bit(25) = &H2000000 -' bit(26) = &H4000000 -' bit(27) = &H8000000 -' bit(28) = &H10000000 -' bit(29) = &H20000000 -' bit(30) = &H40000000 -' bit(31) = &H80000000 - - iport = 0 - oport = 1 - - For i = 0 To 1 Step 1 - InCombo.AddItem i - OutCombo.AddItem i - Next - InCombo.ListIndex = 0 - OutCombo.ListIndex = 1 - - result = DIO_PortConfig(card, iport + 2, INPUT_PORT) - result = DIO_PortConfig(card, oport + 2, OUTPUT_PORT) -End Sub - -Private Sub Form_Unload(Cancel As Integer) - Dim result As Integer - If card >= 0 Then - result = Release_Card(card) - End If - End -End Sub -Private Sub InCombo_Click() -Dim i As Integer -Dim result As Integer -Dim rb_data As Long -Dim p As Long - -iport = InCombo.ListIndex -If iport = 0 Then - oport = 1 -Else - oport = 0 -End If - -OutCombo.ListIndex = oport - -result = DIO_PortConfig(card, iport + 2, INPUT_PORT) -result = DIO_PortConfig(card, oport + 2, OUTPUT_PORT) - -For i = 0 To 15 - DOP0(i) = Image0 - Status(i) = 0 -Next - -If oport = 0 Then - result = DO_WritePort(card, P7442_TTL0, 0) -Else - result = DO_WritePort(card, P7442_TTL1, 0) -End If - -End Sub - -Private Sub mnuExit_Click() - Dim result As Integer - If card >= 0 Then - result = Release_Card(card) - End If - - End -End Sub - -Private Sub OutCombo_Click() -Dim i As Integer -Dim result As Integer -Dim rb_data As Long -Dim p As Long - -oport = OutCombo.ListIndex -If oport = 0 Then - iport = 1 -Else - iport = 0 -End If - -InCombo.ListIndex = iport - -result = DIO_PortConfig(card, iport + 2, INPUT_PORT) -result = DIO_PortConfig(card, oport + 2, OUTPUT_PORT) - -For i = 0 To 15 - DOP0(i) = Image0 - Status(i) = 0 -Next - -If oport = 0 Then - result = DO_WritePort(card, P7442_TTL0, 0) -Else - result = DO_WritePort(card, P7442_TTL1, 0) -End If - -End Sub - -Private Sub Timer1_Timer() - Dim result As Integer - Dim di_data As Long - Dim dl As Long, dh As Long - Dim i As Integer - Dim p As Long - - If iport = 0 Then - result = DI_ReadPort(card, P7442_TTL0, di_data) - Else - result = DI_ReadPort(card, P7442_TTL1, di_data) - End If - - For i = 0 To 15 - p = di_data And bit(i) - If p <> 0 Then - DI0(i) = Image1 - Else 'p = 0 - DI0(i) = Image0 - End If - Next -End Sub - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7442/VB7442TTL/Util7442.Vbp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7442/VB7442TTL/Util7442.Vbp deleted file mode 100644 index db2869a..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7442/VB7442TTL/Util7442.Vbp +++ /dev/null @@ -1,40 +0,0 @@ -Type=Exe -Form=Util7442.Frm -Module=DASK; ..\..\..\include\Dask.bas -Module=Module1; 7442glbl.bas -Form=Base7442.frm -Reference=*\G{00025E04-0000-0000-C000-000000000046}#3.5#0#D:\Program Files\Common Files\Microsoft Shared\DAO\dao2535.tlb#Microsoft DAO 2.5/3.0 Compatibility Library -IconForm="util7442" -Startup="util7442" -HelpFile="" -Title="UTIL7442" -ExeName32="Util7442.exe" -Command32="" -Name="projectUtil7442" -HelpContextID="0" -CompatibleMode="0" -MajorVer=1 -MinorVer=0 -RevisionVer=0 -AutoIncrementVer=0 -ServerSupportFiles=0 -VersionCompanyName="ADLINK" -CompilationType=0 -OptimizationType=0 -FavorPentiumPro(tm)=0 -CodeViewDebugInfo=0 -NoAliasing=0 -BoundsCheck=0 -OverflowCheck=0 -FlPointCheck=0 -FDIVCheck=0 -UnroundedFP=0 -StartMode=0 -Unattended=0 -Retained=0 -ThreadPerObject=0 -MaxNumberOfThreads=1 -DebugStartupOption=0 - -[MS Transaction Server] -AutoRefresh=1 diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7442/VB7442TTL/Util7442.frx b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7442/VB7442TTL/Util7442.frx deleted file mode 100644 index 8dda588..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7442/VB7442TTL/Util7442.frx and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7442/VB7442TTL/Util7442.vbw b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7442/VB7442TTL/Util7442.vbw deleted file mode 100644 index 81d3333..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7442/VB7442TTL/Util7442.vbw +++ /dev/null @@ -1,4 +0,0 @@ -util7442 = 49, 69, 666, 518, Z, 132, 114, 664, 581, C -DASK = 22, 22, 639, 471, -Module1 = 44, 44, 661, 493, -SettingForm = 66, 66, 683, 515, , 110, 110, 727, 559, C diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7443/C7443TTL_Line/UTIL7443.dsp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7443/C7443TTL_Line/UTIL7443.dsp deleted file mode 100644 index 8b58831..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7443/C7443TTL_Line/UTIL7443.dsp +++ /dev/null @@ -1,110 +0,0 @@ -# Microsoft Developer Studio Project File - Name="util7443" - Package Owner=<4> -# Microsoft Developer Studio Generated Build File, Format Version 6.00 -# ** DO NOT EDIT ** - -# TARGTYPE "Win32 (x86) Application" 0x0101 - -CFG=util7443 - Win32 Release -!MESSAGE This is not a valid makefile. To build this project using NMAKE, -!MESSAGE use the Export Makefile command and run -!MESSAGE -!MESSAGE NMAKE /f "UTIL7443.MAK". -!MESSAGE -!MESSAGE You can specify a configuration when running NMAKE -!MESSAGE by defining the macro CFG on the command line. For example: -!MESSAGE -!MESSAGE NMAKE /f "UTIL7443.MAK" CFG="util7443 - Win32 Release" -!MESSAGE -!MESSAGE Possible choices for configuration are: -!MESSAGE -!MESSAGE "util7443 - Win32 Release" (based on "Win32 (x86) Application") -!MESSAGE "util7443 - Win32 Debug" (based on "Win32 (x86) Application") -!MESSAGE - -# Begin Project -# PROP AllowPerConfigDependencies 0 -# PROP Scc_ProjName "" -# PROP Scc_LocalPath "" -CPP=cl.exe -MTL=midl.exe -RSC=rc.exe - -!IF "$(CFG)" == "util7443 - Win32 Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir ".\Release" -# PROP BASE Intermediate_Dir ".\Release" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "" -# PROP Intermediate_Dir ".\Release" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /YX /c -# ADD CPP /nologo /W3 /GX /Od /I "..\..\..\include" /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /FD /c -# SUBTRACT CPP /YX -# ADD BASE MTL /nologo /D "NDEBUG" /win32 -# ADD MTL /nologo /D "NDEBUG" /mktyplib203 /win32 -# ADD BASE RSC /l 0x409 /d "NDEBUG" -# ADD RSC /l 0x409 /d "NDEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:windows /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ..\..\..\lib\PCI-Dask.lib /nologo /subsystem:console /machine:I386 -# SUBTRACT LINK32 /pdb:none - -!ELSEIF "$(CFG)" == "util7443 - Win32 Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir ".\Debug" -# PROP BASE Intermediate_Dir ".\Debug" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir ".\Debug" -# PROP Intermediate_Dir ".\Debug" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /Gm /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /YX /c -# ADD CPP /nologo /MTd /W3 /Gm /GX /ZI /Od /I "..\..\..\include" /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /FR /FD /c -# ADD BASE MTL /nologo /D "_DEBUG" /win32 -# ADD MTL /nologo /D "_DEBUG" /mktyplib203 /win32 -# ADD BASE RSC /l 0x409 /d "_DEBUG" -# ADD RSC /l 0x409 /d "_DEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:windows /debug /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ..\..\..\lib\PCI-DASK.lib /nologo /subsystem:console /debug /machine:I386 -# SUBTRACT LINK32 /pdb:none - -!ENDIF - -# Begin Target - -# Name "util7443 - Win32 Release" -# Name "util7443 - Win32 Debug" -# Begin Group "Source Files" - -# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;idl;hpj;bat;for;f90" -# Begin Source File - -SOURCE=.\Util7443.c -# End Source File -# End Group -# Begin Group "Header Files" - -# PROP Default_Filter "h;hpp;hxx;hm;inl;fi;fd" -# End Group -# Begin Group "Resource Files" - -# PROP Default_Filter "ico;cur;bmp;dlg;rc2;rct;bin;cnt;rtf;gif;jpg;jpeg;jpe" -# End Group -# End Target -# End Project diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7443/C7443TTL_Line/UTIL7443.dsw b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7443/C7443TTL_Line/UTIL7443.dsw deleted file mode 100644 index 4d4cd17..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7443/C7443TTL_Line/UTIL7443.dsw +++ /dev/null @@ -1,29 +0,0 @@ -Microsoft Developer Studio Workspace File, Format Version 6.00 -# WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE! - -############################################################################### - -Project: "util7443"=.\UTIL7443.DSP - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ -}}} - -############################################################################### - -Global: - -Package=<5> -{{{ -}}} - -Package=<3> -{{{ -}}} - -############################################################################### - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7443/C7443TTL_Line/UTIL7443.exe b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7443/C7443TTL_Line/UTIL7443.exe deleted file mode 100644 index f1459c8..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7443/C7443TTL_Line/UTIL7443.exe and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7443/C7443TTL_Line/Util7443.c b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7443/C7443TTL_Line/Util7443.c deleted file mode 100644 index 4c54259..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7443/C7443TTL_Line/Util7443.c +++ /dev/null @@ -1,122 +0,0 @@ -#include -#include -#include -#include "dask.h" - - -void main(void) -{ - - I16 card, err, card_num=0; - U16 value0; - int i, j; - U16 status = 0; - - printf("This program output data from TTL0's Line1 to TTL1's Line1,\n"); - printf(" and output data from TTL1's Line0 to TTL0's Line0.\n"); - printf("Please input a card number: "); - scanf(" %d", &card_num); - - if ((card = Register_Card(PCI_7443, card_num)) <0 ) { - printf("Register_Card error=%d", card); - exit(1); - } - - err = DIO_LineConfig(card, P7443_TTL0, 0, INPUT_PORT); // set Line0 of TTL0 to input - if(err!=NoError) { - printf("TTL Port0 Input Config Error: %d\n",err); - exit(1); - } - - err = DIO_LineConfig(card, P7443_TTL0, 1, OUTPUT_PORT); // set Line1 of TTL0 to output - if(err!=NoError) { - printf("TTL Port0 Output Config Error: %d\n",err); - exit(1); - } - - // you can also use DIO_LinesConfig to configure the lines of an indicated port - err = DIO_LinesConfig(card, P7443_TTL1, 0x1); // set Line0 of TTL1 to output - if(err!=NoError) { - printf("TTL Port1 Config Error: %d\n",err); - exit(1); - } - - do{ - system( "cls" ); - printf ("-------------------------------------------------\n"); - - err = DO_WriteLine(card, P7443_TTL0, 1, 0); - if (err!=NoError) { - printf("DO_WriteLine error=%d", err); - exit(1); - } - printf(" TTL0 (Line1) output = 0\n"); - - err = DO_WriteLine(card, P7443_TTL1, 0, 1); - if (err!=NoError) { - printf("DO_WriteLine error=%d", err); - exit(1); - } - printf(" TTL1 (Line0) output = 1\n"); - - printf ("-------------------------------------------------\n"); - - err = DI_ReadLine(card, P7443_TTL1, 1, &value0); - if (err!=NoError) { - printf("DO_WriteLine error=%d", err); - exit(1); - } - printf(" TTL1 (Line1) input = %d\n", value0); - - err = DI_ReadLine(card, P7443_TTL0, 0, &value0); - if (err!=NoError) { - printf("DO_WriteLine error=%d", err); - exit(1); - } - printf(" TTL0 (Line0) input = %d\n", value0); - printf("-------------------------------------------------\n"); - printf ("\n Press any key to stop...\n"); - - Sleep(500); - - system( "cls" ); - printf ("-------------------------------------------------\n"); - - err = DO_WriteLine(card, P7443_TTL0, 1, 1); - if (err!=NoError) { - printf("DO_WriteLine error=%d", err); - exit(1); - } - printf(" TTL0 (Line1) output = 1\n"); - - err = DO_WriteLine(card, P7443_TTL1, 0, 0); - if (err!=NoError) { - printf("DO_WriteLine error=%d", err); - exit(1); - } - printf(" TTL1 (Line0) output = 0\n"); - - printf ("-------------------------------------------------\n"); - - err = DI_ReadLine(card, P7443_TTL1, 1, &value0); - if (err!=NoError) { - printf("DO_WriteLine error=%d", err); - exit(1); - } - printf(" TTL1 (Line1) input = %d\n", value0); - - err = DI_ReadLine(card, P7443_TTL0, 0, &value0); - if (err!=NoError) { - printf("DO_WriteLine error=%d", err); - exit(1); - } - printf(" TTL0 (Line0) input = %d\n", value0); - printf("-------------------------------------------------\n"); - printf ("\n Press any key to stop...\n"); - - Sleep(500); - }while(!kbhit()); - - Release_Card(card); -} - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7443/C7443TTL_Port/UTIL7443.dsp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7443/C7443TTL_Port/UTIL7443.dsp deleted file mode 100644 index 8b58831..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7443/C7443TTL_Port/UTIL7443.dsp +++ /dev/null @@ -1,110 +0,0 @@ -# Microsoft Developer Studio Project File - Name="util7443" - Package Owner=<4> -# Microsoft Developer Studio Generated Build File, Format Version 6.00 -# ** DO NOT EDIT ** - -# TARGTYPE "Win32 (x86) Application" 0x0101 - -CFG=util7443 - Win32 Release -!MESSAGE This is not a valid makefile. To build this project using NMAKE, -!MESSAGE use the Export Makefile command and run -!MESSAGE -!MESSAGE NMAKE /f "UTIL7443.MAK". -!MESSAGE -!MESSAGE You can specify a configuration when running NMAKE -!MESSAGE by defining the macro CFG on the command line. For example: -!MESSAGE -!MESSAGE NMAKE /f "UTIL7443.MAK" CFG="util7443 - Win32 Release" -!MESSAGE -!MESSAGE Possible choices for configuration are: -!MESSAGE -!MESSAGE "util7443 - Win32 Release" (based on "Win32 (x86) Application") -!MESSAGE "util7443 - Win32 Debug" (based on "Win32 (x86) Application") -!MESSAGE - -# Begin Project -# PROP AllowPerConfigDependencies 0 -# PROP Scc_ProjName "" -# PROP Scc_LocalPath "" -CPP=cl.exe -MTL=midl.exe -RSC=rc.exe - -!IF "$(CFG)" == "util7443 - Win32 Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir ".\Release" -# PROP BASE Intermediate_Dir ".\Release" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "" -# PROP Intermediate_Dir ".\Release" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /YX /c -# ADD CPP /nologo /W3 /GX /Od /I "..\..\..\include" /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /FD /c -# SUBTRACT CPP /YX -# ADD BASE MTL /nologo /D "NDEBUG" /win32 -# ADD MTL /nologo /D "NDEBUG" /mktyplib203 /win32 -# ADD BASE RSC /l 0x409 /d "NDEBUG" -# ADD RSC /l 0x409 /d "NDEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:windows /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ..\..\..\lib\PCI-Dask.lib /nologo /subsystem:console /machine:I386 -# SUBTRACT LINK32 /pdb:none - -!ELSEIF "$(CFG)" == "util7443 - Win32 Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir ".\Debug" -# PROP BASE Intermediate_Dir ".\Debug" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir ".\Debug" -# PROP Intermediate_Dir ".\Debug" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /Gm /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /YX /c -# ADD CPP /nologo /MTd /W3 /Gm /GX /ZI /Od /I "..\..\..\include" /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /FR /FD /c -# ADD BASE MTL /nologo /D "_DEBUG" /win32 -# ADD MTL /nologo /D "_DEBUG" /mktyplib203 /win32 -# ADD BASE RSC /l 0x409 /d "_DEBUG" -# ADD RSC /l 0x409 /d "_DEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:windows /debug /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ..\..\..\lib\PCI-DASK.lib /nologo /subsystem:console /debug /machine:I386 -# SUBTRACT LINK32 /pdb:none - -!ENDIF - -# Begin Target - -# Name "util7443 - Win32 Release" -# Name "util7443 - Win32 Debug" -# Begin Group "Source Files" - -# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;idl;hpj;bat;for;f90" -# Begin Source File - -SOURCE=.\Util7443.c -# End Source File -# End Group -# Begin Group "Header Files" - -# PROP Default_Filter "h;hpp;hxx;hm;inl;fi;fd" -# End Group -# Begin Group "Resource Files" - -# PROP Default_Filter "ico;cur;bmp;dlg;rc2;rct;bin;cnt;rtf;gif;jpg;jpeg;jpe" -# End Group -# End Target -# End Project diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7443/C7443TTL_Port/UTIL7443.dsw b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7443/C7443TTL_Port/UTIL7443.dsw deleted file mode 100644 index 4d4cd17..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7443/C7443TTL_Port/UTIL7443.dsw +++ /dev/null @@ -1,29 +0,0 @@ -Microsoft Developer Studio Workspace File, Format Version 6.00 -# WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE! - -############################################################################### - -Project: "util7443"=.\UTIL7443.DSP - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ -}}} - -############################################################################### - -Global: - -Package=<5> -{{{ -}}} - -Package=<3> -{{{ -}}} - -############################################################################### - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7443/C7443TTL_Port/UTIL7443.exe b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7443/C7443TTL_Port/UTIL7443.exe deleted file mode 100644 index 0f90220..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7443/C7443TTL_Port/UTIL7443.exe and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7443/C7443TTL_Port/Util7443.c b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7443/C7443TTL_Port/Util7443.c deleted file mode 100644 index 66de225..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7443/C7443TTL_Port/Util7443.c +++ /dev/null @@ -1,63 +0,0 @@ -#include -#include -#include -#include "dask.h" - - -void main(void) -{ - - I16 card, err, card_num=0; - U16 in_value, out_value = 0; - - printf("This program output data from TTL0 to TTL1.\n"); - printf("Please input a card number: "); - scanf(" %d", &card_num); - - if ((card = Register_Card(PCI_7443, card_num)) <0 ) { - printf("Register_Card error=%d", card); - exit(1); - } - - err = DIO_PortConfig(card, P7443_TTL0, OUTPUT_PORT); - if(err!=NoError) { - printf("Input Port Config Error: %d\n",err); - exit(1); - } - - err = DIO_PortConfig(card, P7443_TTL1, INPUT_PORT); - if(err!=NoError) { - printf("Output Port Config Error: %d\n",err); - exit(1); - } - - do{ - system( "cls" ); - printf ("-------------------------------------------------\n"); - - err = DO_WritePort(card, P7443_TTL0, out_value); - if (err!=NoError) { - printf("DO_WritePort error=%d", err); - exit(1); - } - printf(" TTL0 output = 0x%x\n", out_value); - - err = DI_ReadPort(card, P7443_TTL1, &in_value); - if (err!=NoError) { - printf("DI_ReadPort error=%d", err); - exit(1); - } - printf(" TTL1 input = 0x%x\n", in_value); - - printf ("-------------------------------------------------\n"); - printf ("\n Press any key to stop...\n"); - - Sleep(200); - if(out_value < 0xffff) - out_value = (out_value + 1); - else - out_value = 0; - } while(!kbhit()); - - Release_Card(card); -} \ No newline at end of file diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7443/CDIOnePoint/CDIOOnePoint.c b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7443/CDIOnePoint/CDIOOnePoint.c deleted file mode 100644 index 3a68ffb..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7443/CDIOnePoint/CDIOOnePoint.c +++ /dev/null @@ -1,64 +0,0 @@ -#include -#include -#include -#include "dask.h" - -void main(void) -{ - - I16 card, err, card_num=0; - U32 out_value = 0; - U32 in_value; - - printf("This program inputs data from DI Port 0/1/2/3\n"); - printf("Please input a card number: "); - scanf(" %d", &card_num); - - if ((card=Register_Card (PCI_7443, card_num)) <0 ) { - printf("Register_Card error=%d", card); - exit(1); - } - - do{ - system( "cls" ); - - printf ("-------------------------------------------------\n"); - - err = DI_ReadPort(card, P7443_CH0, &in_value); - if (err!=NoError) { - printf("DI_ReadPort error=%d", err); - exit(1); - } - printf(" P0 input = 0x%x\n", in_value); - - err = DI_ReadPort(card, P7443_CH1, &in_value); - if (err!=NoError) { - printf("DI_ReadPort error=%d", err); - exit(1); - } - printf(" P1 input = 0x%x\n", in_value); - - err = DI_ReadPort(card, P7443_CH2, &in_value); - if (err!=NoError) { - printf("DI_ReadPort error=%d", err); - exit(1); - } - printf(" P2 input = 0x%x\n", in_value); - - err = DI_ReadPort(card, P7443_CH3, &in_value); - if (err!=NoError) { - printf("DI_ReadPort error=%d", err); - exit(1); - } - printf(" P3 input = 0x%x\n", in_value); - - - printf ("-------------------------------------------------\n"); - - printf ("\n Press any key to stop...\n"); - Sleep(200); - - } while(!kbhit()); - - Release_Card(card); -} diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7443/CDIOnePoint/CDIOOnePoint.dsp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7443/CDIOnePoint/CDIOOnePoint.dsp deleted file mode 100644 index bff17c1..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7443/CDIOnePoint/CDIOOnePoint.dsp +++ /dev/null @@ -1,93 +0,0 @@ -# Microsoft Developer Studio Project File - Name="CDIOOnePoint" - Package Owner=<4> -# Microsoft Developer Studio Generated Build File, Format Version 6.00 -# ** DO NOT EDIT ** - -# TARGTYPE "Win32 (x86) Console Application" 0x0103 - -CFG=CDIOOnePoint - Win32 Debug -!MESSAGE This is not a valid makefile. To build this project using NMAKE, -!MESSAGE use the Export Makefile command and run -!MESSAGE -!MESSAGE NMAKE /f "CDIOOnePoint.mak". -!MESSAGE -!MESSAGE You can specify a configuration when running NMAKE -!MESSAGE by defining the macro CFG on the command line. For example: -!MESSAGE -!MESSAGE NMAKE /f "CDIOOnePoint.mak" CFG="CDIOOnePoint - Win32 Debug" -!MESSAGE -!MESSAGE Possible choices for configuration are: -!MESSAGE -!MESSAGE "CDIOOnePoint - Win32 Release" (based on "Win32 (x86) Console Application") -!MESSAGE "CDIOOnePoint - Win32 Debug" (based on "Win32 (x86) Console Application") -!MESSAGE - -# Begin Project -# PROP AllowPerConfigDependencies 0 -# PROP Scc_ProjName "" -# PROP Scc_LocalPath "" -CPP=cl.exe -RSC=rc.exe - -!IF "$(CFG)" == "CDIOOnePoint - Win32 Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "Release" -# PROP BASE Intermediate_Dir "Release" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "" -# PROP Intermediate_Dir "Release" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c -# ADD CPP /nologo /W3 /GX /Od /I "..\..\..\include" /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /FD /c -# SUBTRACT CPP /YX -# ADD BASE RSC /l 0x404 /d "NDEBUG" -# ADD RSC /l 0x404 /d "NDEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ..\..\..\lib\pci-dask.lib /nologo /subsystem:console /machine:I386 -# SUBTRACT LINK32 /incremental:yes - -!ELSEIF "$(CFG)" == "CDIOOnePoint - Win32 Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "Debug" -# PROP BASE Intermediate_Dir "Debug" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "Debug" -# PROP Intermediate_Dir "Debug" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /Gm /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c -# ADD CPP /nologo /W3 /Gm /GX /ZI /Od /I "..\..\..\include" /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /FD /c -# SUBTRACT CPP /YX -# ADD BASE RSC /l 0x404 /d "_DEBUG" -# ADD RSC /l 0x404 /d "_DEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ..\..\..\lib\pci-dask.lib /nologo /subsystem:console /incremental:no /debug /machine:I386 /pdbtype:sept - -!ENDIF - -# Begin Target - -# Name "CDIOOnePoint - Win32 Release" -# Name "CDIOOnePoint - Win32 Debug" -# Begin Source File - -SOURCE=.\CDIOOnePoint.c -# End Source File -# End Target -# End Project diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7443/CDIOnePoint/CDIOOnePoint.dsw b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7443/CDIOnePoint/CDIOOnePoint.dsw deleted file mode 100644 index f7515fd..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7443/CDIOnePoint/CDIOOnePoint.dsw +++ /dev/null @@ -1,29 +0,0 @@ -Microsoft Developer Studio Workspace File, Format Version 6.00 -# WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE! - -############################################################################### - -Project: "CDIOOnePoint"=.\CDIOOnePoint.dsp - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ -}}} - -############################################################################### - -Global: - -Package=<5> -{{{ -}}} - -Package=<3> -{{{ -}}} - -############################################################################### - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7443/CDIOnePoint/CDIOOnePoint.exe b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7443/CDIOnePoint/CDIOOnePoint.exe deleted file mode 100644 index 3041dda..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7443/CDIOnePoint/CDIOOnePoint.exe and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7443/SDK7443MultiEvt/7443int.c b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7443/SDK7443MultiEvt/7443int.c deleted file mode 100644 index 734ad3e..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7443/SDK7443MultiEvt/7443int.c +++ /dev/null @@ -1,274 +0,0 @@ -/*;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; -;; Copyright (c) 1995-1999, ADLink Technology Inc. All rights reserved. ;; -;; ;; -;; File Name : 7442INT.C ;; -;; Purpose : This sample program demonstrates how handle interrupt ;; -;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;*/ - -#include -#include -#include -#include -#include -#include "Dask.h" -#include "Resource.h" - -#define IDC_START 300 - -HANDLE hInst; /* current instance */ -int int_count=0, int2_count=0, int3_count=0, int4_count=0, press_count=0; -I16 card=-1, card_number = 0; -U32 COS_DATA[4] = {0, 0, 0, 0}; - -HWND hStart, hMainWnd; -HANDLE hEvent[4]; -U32 out_data0[4] = {0, 0, 0, 0}; -U32 out_data1[4] = {1, 1, 1, 1}; - -int PASCAL WinMain(HANDLE, HANDLE, LPSTR, int); -BOOL InitApplication(HANDLE); -BOOL InitInstance(HANDLE, int); -long PASCAL MainWndProc(HWND, unsigned, WPARAM, LPARAM); - -void -IntThread(void* pArg) -{ - while (1) { - if (WaitForSingleObject(hEvent[0], INFINITE) == WAIT_OBJECT_0) { - int_count++; - ResetEvent(hEvent[0]); - InvalidateRect(hMainWnd, NULL, FALSE); - } - } - _endthread(); -} - -void -Int2Thread(void* pArg) -{ - while (1) { - if (WaitForSingleObject(hEvent[1], INFINITE) == WAIT_OBJECT_0) { - int2_count++; - ResetEvent(hEvent[1]); - InvalidateRect(hMainWnd, NULL, FALSE); - } - } - _endthread(); -} - -void -Int3Thread(void* pArg) -{ - while (1) { - if (WaitForSingleObject(hEvent[2], INFINITE) == WAIT_OBJECT_0) { - int3_count++; - InvalidateRect(hMainWnd, NULL, FALSE); - } - } - _endthread(); -} - -void -Int4Thread(void* pArg) -{ - while (1) { - if (WaitForSingleObject(hEvent[3], INFINITE) == WAIT_OBJECT_0) { - int4_count++; - InvalidateRect(hMainWnd, NULL, FALSE); - } - } - _endthread(); -} - - - /********************************************************************** - - FUNCTION: WinMain(HANDLE, HANDLE, LPSTR, int) - PURPOSE: calls initialization function, processes message loop - - ***********************************************************************/ - - int PASCAL WinMain(hInstance, hPrevInstance, lpCmdLine, nCmdShow) - HANDLE hInstance; - HANDLE hPrevInstance; - LPSTR lpCmdLine; - int nCmdShow; - { - MSG msg; - - if(!hPrevInstance) - if(!InitApplication(hInstance)) - return(FALSE); - - if(!InitInstance(hInstance, nCmdShow)) - return(FALSE); - - while ( GetMessage(&msg, NULL, NULL, NULL)) - { - TranslateMessage(&msg); - DispatchMessage(&msg); - } - return(msg.wParam); - } - -/**************************************************************************** - - FUNCTION: InitApplication(HANDLE) - - PURPOSE: Initializes window data and registers window class - -****************************************************************************/ - -BOOL InitApplication(hInstance) -HANDLE hInstance; -{ - WNDCLASS wc; - - wc.style = NULL; - wc.lpfnWndProc = MainWndProc; - wc.cbClsExtra = 0; - wc.cbWndExtra = 0; - wc.hInstance = hInstance; - wc.hIcon = LoadIcon(NULL, IDI_APPLICATION); - wc.hCursor = LoadCursor(hInstance, IDC_ARROW); - wc.hbrBackground = GetStockObject(WHITE_BRUSH); - wc.lpszMenuName = "U7443Menu"; - wc.lpszClassName = "IntClass"; - - return (RegisterClass(&wc)); -} - -/**************************************************************************** - - FUNCTION: InitInstance(HANDLE, int) - - PURPOSE: Saves instance handle and creates main window - -****************************************************************************/ - -BOOL InitInstance(hInstance, nCmdShow) -HANDLE hInstance; -int nCmdShow; -{ - HWND hWnd; - - hInst = hInstance; - hWnd = CreateWindow("IntClass", "PCI-7443 COS Interrupt Sample", WS_OVERLAPPEDWINDOW, - 200, 100, 340, 240, NULL, NULL, hInstance, NULL); - if (!hWnd) return (FALSE); - ShowWindow(hWnd, nCmdShow); - UpdateWindow(hWnd); - return (TRUE); -} - -BOOL PASCAL setup(HWND hWnd, unsigned message, WPARAM wParam, LPARAM lParam) -{ - int i; - char n[16]; - char s[50]; - switch (message) { - case WM_INITDIALOG: - for (i=0;i<16;i++) { - wsprintf(n, "%d", i); - _strupr(n); - SendMessage(GetDlgItem(hWnd,IDC_COMBO1), CB_ADDSTRING, NULL, (LONG)(LPSTR) n); - } - SendMessage(GetDlgItem(hWnd,IDC_COMBO1) , CB_SETCURSEL, 0, 0L); - break; - case WM_COMMAND: - switch(LOWORD(wParam)) { - case IDC_COMBO1: - if (HIWORD(wParam) == CBN_CLOSEUP) { - i = (int)SendMessage(GetDlgItem(hWnd,IDC_COMBO1), CB_GETCURSEL, 0, 0L); - SendMessage(GetDlgItem(hWnd,IDC_COMBO1), CB_GETLBTEXT, i, (LPARAM)((LPCSTR)n)); - card_number = i; - } - return(TRUE); - case IDOK: - if ((card=Register_Card(PCI_7443, card_number)) < 0) { - wsprintf(s, "Register_Card Error = %d\n", card); - MessageBox(hWnd, s, "Error", MB_OK); - } - EndDialog(hWnd, TRUE); - InvalidateRect(hWnd, NULL, FALSE); - return (TRUE); - case IDCANCEL: - EndDialog(hWnd, TRUE); - return (TRUE); - } - break; - } - return (FALSE); -} - -/**************************************************************************** - - FUNCTION: MainWndProc(HWND, UINT, WPARAM, LPARAM) - - PURPOSE: Processes messages - - -****************************************************************************/ - -long PASCAL MainWndProc(hWnd, message, wParam, lParam) -HWND hWnd; -unsigned message; -WPARAM wParam; -LPARAM lParam; -{ - PAINTSTRUCT ps; - HDC hDC; - char buf[40]; - - switch(message) { - case WM_CREATE: - DialogBox(hInst,IDD_DIALOG2, hWnd, setup); - if(card<0) { - SendMessage(hWnd, WM_CLOSE, 0, 0L); - break; - } - DIO_SetCOSInterrupt32(card, 0, 0x0001, (HANDLE *) &hEvent[0], 1); - DIO_SetCOSInterrupt32(card, 1, 0x0001, (HANDLE *) &hEvent[1], 1); - DIO_SetCOSInterrupt32(card, 2, 0x0001, (HANDLE *) &hEvent[2], 0); - DIO_SetCOSInterrupt32(card, 3, 0x0001, (HANDLE *) &hEvent[3], 0); - hMainWnd = hWnd; - _beginthread(IntThread, 0, 0); - _beginthread(Int2Thread, 0, 0); - _beginthread(Int3Thread, 0, 0); - _beginthread(Int4Thread, 0, 0); - break; - case WM_PAINT: - hDC = BeginPaint(hWnd, &ps); - TextOut(hDC, 15, 20, "This sample wait for COS of Channel 0/1/2/3", 43); - TextOut(hDC, 15, 40, "Count Number will add one while COS occurs.", 43); - - wsprintf(buf,"COS0 count = %d", int_count); - TextOut(hDC, 100, 80, buf, strlen(buf)); - wsprintf(buf,"COS1 count = %d", int2_count); - TextOut(hDC, 100, 100, buf, strlen(buf)); - wsprintf(buf,"COS2 count = %d", int3_count); - TextOut(hDC, 100, 120, buf, strlen(buf)); - wsprintf(buf,"COS3 count = %d", int4_count); - TextOut(hDC, 100, 140, buf, strlen(buf)); - EndPaint(hWnd, &ps); - break; - case WM_COMMAND: - switch(LOWORD(wParam)) { - case IDM_EXIT: - DIO_SetCOSInterrupt32(card, 0, 0, NULL, 0); - DIO_SetCOSInterrupt32(card, 1, 0, NULL, 0); - DIO_SetCOSInterrupt32(card, 2, 0, NULL, 0); - DIO_SetCOSInterrupt32(card, 3, 0, NULL, 0); - SendMessage(hWnd, WM_CLOSE, 0, 0L); - break; - } - break; - case WM_DESTROY: - if (card >= 0) Release_Card(card); - PostQuitMessage(0); - break; - default: - return (DefWindowProc(hWnd, message, wParam, lParam)); - } - return(0L); -} diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7443/SDK7443MultiEvt/7443int.dsp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7443/SDK7443MultiEvt/7443int.dsp deleted file mode 100644 index 7db12f4..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7443/SDK7443MultiEvt/7443int.dsp +++ /dev/null @@ -1,111 +0,0 @@ -# Microsoft Developer Studio Project File - Name="7443int" - Package Owner=<4> -# Microsoft Developer Studio Generated Build File, Format Version 6.00 -# ** DO NOT EDIT ** - -# TARGTYPE "Win32 (x86) Application" 0x0101 - -CFG=7443int - Win32 Release -!MESSAGE This is not a valid makefile. To build this project using NMAKE, -!MESSAGE use the Export Makefile command and run -!MESSAGE -!MESSAGE NMAKE /f "7443int.mak". -!MESSAGE -!MESSAGE You can specify a configuration when running NMAKE -!MESSAGE by defining the macro CFG on the command line. For example: -!MESSAGE -!MESSAGE NMAKE /f "7443int.mak" CFG="7443int - Win32 Release" -!MESSAGE -!MESSAGE Possible choices for configuration are: -!MESSAGE -!MESSAGE "7443int - Win32 Release" (based on "Win32 (x86) Application") -!MESSAGE "7443int - Win32 Debug" (based on "Win32 (x86) Application") -!MESSAGE - -# Begin Project -# PROP AllowPerConfigDependencies 0 -# PROP Scc_ProjName "" -# PROP Scc_LocalPath "" -CPP=cl.exe -MTL=midl.exe -RSC=rc.exe - -!IF "$(CFG)" == "7443int - Win32 Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir ".\Release" -# PROP BASE Intermediate_Dir ".\Release" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "" -# PROP Intermediate_Dir ".\Release" -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /YX /c -# ADD CPP /nologo /MT /W3 /GX /Od /I "..\..\..\include" /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /FD /c -# SUBTRACT CPP /YX -# ADD BASE MTL /nologo /D "NDEBUG" /win32 -# ADD MTL /nologo /D "NDEBUG" /mktyplib203 /win32 -# ADD BASE RSC /l 0x404 /d "NDEBUG" -# ADD RSC /l 0x404 /d "NDEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:windows /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ..\..\..\lib\PCI-DASK.lib /nologo /subsystem:windows /machine:I386 - -!ELSEIF "$(CFG)" == "7443int - Win32 Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir ".\Debug" -# PROP BASE Intermediate_Dir ".\Debug" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir ".\Debug" -# PROP Intermediate_Dir ".\Debug" -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /Gm /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /YX /c -# ADD CPP /nologo /MTd /W3 /Gm /GX /ZI /Od /I "..\..\..\include" /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /FD /c -# SUBTRACT CPP /YX -# ADD BASE MTL /nologo /D "_DEBUG" /win32 -# ADD MTL /nologo /D "_DEBUG" /mktyplib203 /win32 -# ADD BASE RSC /l 0x404 /d "_DEBUG" -# ADD RSC /l 0x404 /d "_DEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:windows /debug /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ..\..\..\lib\PCI-DASK.lib /nologo /subsystem:windows /debug /machine:I386 - -!ENDIF - -# Begin Target - -# Name "7443int - Win32 Release" -# Name "7443int - Win32 Debug" -# Begin Group "Source Files" - -# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;hpj;bat;for;f90" -# Begin Source File - -SOURCE=.\7443int.c -# End Source File -# End Group -# Begin Group "Header Files" - -# PROP Default_Filter "h;hpp;hxx;hm;inl;fi;fd" -# End Group -# Begin Group "Resource Files" - -# PROP Default_Filter "ico;cur;bmp;dlg;rc2;rct;bin;cnt;rtf;gif;jpg;jpeg;jpe" -# Begin Source File - -SOURCE=.\7443int.rc -# End Source File -# End Group -# End Target -# End Project diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7443/SDK7443MultiEvt/7443int.dsw b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7443/SDK7443MultiEvt/7443int.dsw deleted file mode 100644 index d71951a..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7443/SDK7443MultiEvt/7443int.dsw +++ /dev/null @@ -1,29 +0,0 @@ -Microsoft Developer Studio Workspace File, Format Version 6.00 -# WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE! - -############################################################################### - -Project: "7443int"=.\7443int.dsp - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ -}}} - -############################################################################### - -Global: - -Package=<5> -{{{ -}}} - -Package=<3> -{{{ -}}} - -############################################################################### - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7443/SDK7443MultiEvt/7443int.exe b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7443/SDK7443MultiEvt/7443int.exe deleted file mode 100644 index 64b27db..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7443/SDK7443MultiEvt/7443int.exe and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7443/SDK7443MultiEvt/7443int.rc b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7443/SDK7443MultiEvt/7443int.rc deleted file mode 100644 index ce349af..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7443/SDK7443MultiEvt/7443int.rc +++ /dev/null @@ -1,115 +0,0 @@ -//Microsoft Developer Studio generated resource script. -// -#include "resource.h" - -#define APSTUDIO_READONLY_SYMBOLS -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 2 resource. -// -#define APSTUDIO_HIDDEN_SYMBOLS -#include "windows.h" -#undef APSTUDIO_HIDDEN_SYMBOLS - -///////////////////////////////////////////////////////////////////////////// -#undef APSTUDIO_READONLY_SYMBOLS - -///////////////////////////////////////////////////////////////////////////// -// English (U.S.) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -#ifdef _WIN32 -LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US -#pragma code_page(1252) -#endif //_WIN32 - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog -// - -IDD_DIALOG2 DIALOG DISCARDABLE 110, 10, 104, 62 -STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "Card Number" -FONT 10, "System" -BEGIN - DEFPUSHBUTTON "OK",IDOK,7,41,37,14 - PUSHBUTTON "Cancel",IDCANCEL,59,41,38,14 - LTEXT "Card Number",IDC_STATIC,4,15,45,9 - COMBOBOX IDC_COMBO1,49,13,48,84,CBS_DROPDOWN | WS_VSCROLL | - WS_TABSTOP -END - - -///////////////////////////////////////////////////////////////////////////// -// -// DESIGNINFO -// - -#ifdef APSTUDIO_INVOKED -GUIDELINES DESIGNINFO DISCARDABLE -BEGIN - IDD_DIALOG2, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 97 - TOPMARGIN, 7 - BOTTOMMARGIN, 55 - END -END -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// Menu -// - -U7443MENU MENU DISCARDABLE -BEGIN - MENUITEM "E&xit!", IDM_EXIT -END - - -#ifdef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// TEXTINCLUDE -// - -1 TEXTINCLUDE DISCARDABLE -BEGIN - "resource.h\0" -END - -2 TEXTINCLUDE DISCARDABLE -BEGIN - "#define APSTUDIO_HIDDEN_SYMBOLS\r\n" - "#include ""windows.h""\r\n" - "#undef APSTUDIO_HIDDEN_SYMBOLS\r\n" - "\0" -END - -3 TEXTINCLUDE DISCARDABLE -BEGIN - "\r\n" - "\0" -END - -#endif // APSTUDIO_INVOKED - -#endif // English (U.S.) resources -///////////////////////////////////////////////////////////////////////////// - - - -#ifndef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 3 resource. -// - - -///////////////////////////////////////////////////////////////////////////// -#endif // not APSTUDIO_INVOKED - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7443/SDK7443MultiEvt/resource.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7443/SDK7443MultiEvt/resource.h deleted file mode 100644 index f0cc483..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7443/SDK7443MultiEvt/resource.h +++ /dev/null @@ -1,30 +0,0 @@ -//{{NO_DEPENDENCIES}} -// Microsoft Developer Studio generated include file. -// Used by 7443int.rc -// -#define IDM_SETUP 101 -#define IDD_DIALOG1 101 -#define IDD_DIALOG2 102 -#define IDM_EXIT 110 -#define IDM_GO 300 -#define IDM_ABOUT 301 -#define DMA_DATA 302 -#define ID_STOP 304 -#define IDM_CLEAR 305 -#define DMA_SPACE 500 -#define IDC_COMBO1 1004 -#define IDC_COMBO2 1005 -#define IDC_EDIT1 1007 -#define IDC_EDIT2 1008 -#define IDC_STATIC -1 - -// Next default values for new objects -// -#ifdef APSTUDIO_INVOKED -#ifndef APSTUDIO_READONLY_SYMBOLS -#define _APS_NEXT_RESOURCE_VALUE 103 -#define _APS_NEXT_COMMAND_VALUE 102 -#define _APS_NEXT_CONTROL_VALUE 1008 -#define _APS_NEXT_SYMED_VALUE 101 -#endif -#endif diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7443/SDK7443MultiEvtMsg/7443int.c b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7443/SDK7443MultiEvtMsg/7443int.c deleted file mode 100644 index d91da24..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7443/SDK7443MultiEvtMsg/7443int.c +++ /dev/null @@ -1,265 +0,0 @@ -/*;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; -;; Copyright (c) 1995-1999, ADLink Technology Inc. All rights reserved. ;; -;; ;; -;; File Name : 7443INT.C ;; -;; Purpose : This sample program demonstrates how handle interrupt ;; -;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;*/ - -#include -#include -#include -#include -#include -#include "Dask.h" -#include "Resource.h" - -#define IDC_START 300 -#define WM_INT 2000 -#define WM_INT1 2001 - -HANDLE hInst; /* current instance */ -int int_count[4]; -int press_count=0; -I16 card=-1, card_number = 0; -HWND hStart, hMainWnd, hEvent[4]; -U32 data_out0[4] = {0, 0 ,0 ,0}; -U32 data_out1[4] = {1, 1 ,1 ,1}; - -int PASCAL WinMain(HANDLE, HANDLE, LPSTR, int); -BOOL InitApplication(HANDLE); -BOOL InitInstance(HANDLE, int); -long PASCAL MainWndProc(HWND, unsigned, WPARAM, LPARAM); -LRESULT CALLBACK cbfn(); -void mesgfn(); -LRESULT CALLBACK cbfn1(); -void mesgfn1(); - - /********************************************************************** - - FUNCTION: WinMain(HANDLE, HANDLE, LPSTR, int) - PURPOSE: calls initialization function, processes message loop - - ***********************************************************************/ - - int PASCAL WinMain(hInstance, hPrevInstance, lpCmdLine, nCmdShow) - HANDLE hInstance; - HANDLE hPrevInstance; - LPSTR lpCmdLine; - int nCmdShow; - { - MSG msg; - - if(!hPrevInstance) - if(!InitApplication(hInstance)) - return(FALSE); - - if(!InitInstance(hInstance, nCmdShow)) - return(FALSE); - - while ( GetMessage(&msg, NULL, NULL, NULL)) - { - TranslateMessage(&msg); - DispatchMessage(&msg); - } - return(msg.wParam); - } - -/**************************************************************************** - - FUNCTION: InitApplication(HANDLE) - - PURPOSE: Initializes window data and registers window class - -****************************************************************************/ - -BOOL InitApplication(hInstance) -HANDLE hInstance; -{ - WNDCLASS wc; - - wc.style = NULL; - wc.lpfnWndProc = MainWndProc; - wc.cbClsExtra = 0; - wc.cbWndExtra = 0; - wc.hInstance = hInstance; - wc.hIcon = LoadIcon(NULL, IDI_APPLICATION); - wc.hCursor = LoadCursor(hInstance, IDC_ARROW); - wc.hbrBackground = GetStockObject(WHITE_BRUSH); - wc.lpszMenuName = "U7443Menu"; - wc.lpszClassName = "IntClass"; - - return (RegisterClass(&wc)); -} - -/**************************************************************************** - - FUNCTION: InitInstance(HANDLE, int) - - PURPOSE: Saves instance handle and creates main window - -****************************************************************************/ - -BOOL InitInstance(hInstance, nCmdShow) -HANDLE hInstance; -int nCmdShow; -{ - HWND hWnd; - - hInst = hInstance; - hWnd = CreateWindow("IntClass", "PCI-7443 COS Interrupt Sample", WS_OVERLAPPEDWINDOW, - 200, 100, 340, 240, NULL, NULL, hInstance, NULL); - if (!hWnd) return (FALSE); - ShowWindow(hWnd, nCmdShow); - UpdateWindow(hWnd); - return (TRUE); -} - -BOOL PASCAL setup(HWND hWnd, unsigned message, WPARAM wParam, LPARAM lParam) -{ - int i; - char n[16]; - char s[50]; - switch (message) { - case WM_INITDIALOG: - for (i=0;i<16;i++) { - wsprintf(n, "%d", i); - _strupr(n); - SendMessage(GetDlgItem(hWnd,IDC_COMBO1), CB_ADDSTRING, NULL, (LONG)(LPSTR) n); - } - SendMessage(GetDlgItem(hWnd,IDC_COMBO1) , CB_SETCURSEL, 0, 0L); - break; - case WM_COMMAND: - switch(LOWORD(wParam)) { - case IDC_COMBO1: - if (HIWORD(wParam) == CBN_CLOSEUP) { - i = (int)SendMessage(GetDlgItem(hWnd,IDC_COMBO1), CB_GETCURSEL, 0, 0L); - SendMessage(GetDlgItem(hWnd,IDC_COMBO1), CB_GETLBTEXT, i, (LPARAM)((LPCSTR)n)); - card_number = i; - } - return(TRUE); - case IDOK: - if ((card=Register_Card(PCI_7443, card_number)) < 0) { - wsprintf(s, "Register_Card Error = %d\n", card); - MessageBox(hWnd, s, "Error", MB_OK); - } - EndDialog(hWnd, TRUE); - InvalidateRect(hWnd, NULL, FALSE); - return (TRUE); - case IDCANCEL: - EndDialog(hWnd, TRUE); - return (TRUE); - } - break; - } - return (FALSE); -} - -/**************************************************************************** - - FUNCTION: MainWndProc(HWND, UINT, WPARAM, LPARAM) - - PURPOSE: Processes messages - - -****************************************************************************/ - -long PASCAL MainWndProc(hWnd, message, wParam, lParam) -HWND hWnd; -unsigned message; -WPARAM wParam; -LPARAM lParam; -{ - PAINTSTRUCT ps; - HDC hDC; - char buf[20]; - char s[50]; - - switch(message) { - case WM_CREATE: - DialogBox(hInst,IDD_DIALOG2, hWnd, setup); - if(card<0) { - SendMessage(hWnd, WM_CLOSE, 0, 0L); - break; - } - DIO_SetCOSInterrupt32(card, 0, 0x0001, (HANDLE *) &hEvent[0], 0); - DIO_SetCOSInterrupt32(card, 1, 0x0001, (HANDLE *) &hEvent[1], 1); - DIO_SetCOSInterrupt32(card, 2, 0x0001, (HANDLE *) &hEvent[2], 0); - DIO_SetCOSInterrupt32(card, 3, 0x0001, (HANDLE *) &hEvent[3], 1); - DIO_INT_Event_Message (card, 1, hEvent[0], hWnd, WM_INT, NULL); - DIO_INT_Event_Message (card, 1, hEvent[1], hWnd, NULL, (U32) cbfn); - DIO_INT_Event_Message (card, 1, hEvent[2], hWnd, WM_INT1, NULL); - DIO_INT_Event_Message (card, 1, hEvent[3], hWnd, NULL, (U32) cbfn1); - hMainWnd = hWnd; - break; - case WM_PAINT: - hDC = BeginPaint(hWnd, &ps); - TextOut(hDC, 15, 20, "This sample wait for COS of Channel 0/1/2/3", 43); - TextOut(hDC, 15, 40, "Count Number will add one while COS occurs.", 43); - wsprintf(buf,"COS0 count = %d", int_count[0]); - TextOut(hDC, 120, 80, buf, strlen(buf)); - wsprintf(buf,"COS1 count = %d", int_count[1]); - TextOut(hDC, 120, 100, buf, strlen(buf)); - wsprintf(buf,"COS2 count = %d", int_count[2]); - TextOut(hDC, 120, 120, buf, strlen(buf)); - wsprintf(buf,"COS3 count = %d", int_count[3]); - TextOut(hDC, 120, 140, buf, strlen(buf)); - - EndPaint(hWnd, &ps); - break; - case WM_COMMAND: - switch(LOWORD(wParam)) { - case IDM_EXIT: - DIO_INT1_EventMessage (card, INT1_DISABLE, NULL, NULL, NULL); - DIO_SetCOSInterrupt32(card, 0, 0, NULL, 0); - DIO_SetCOSInterrupt32(card, 1, 0, NULL, 0); - DIO_SetCOSInterrupt32(card, 2, 0, NULL, 0); - DIO_SetCOSInterrupt32(card, 3, 0, NULL, 0); - DIO_INT_Event_Message (card, 0, hEvent[0], NULL, NULL, NULL); - DIO_INT_Event_Message (card, 0, hEvent[1], NULL, NULL, NULL); - DIO_INT_Event_Message (card, 0, hEvent[2], NULL, NULL, NULL); - DIO_INT_Event_Message (card, 0, hEvent[3], NULL, NULL, NULL); - SendMessage(hWnd, WM_CLOSE, 0, 0L); - break; - } - break; - case WM_INT: - mesgfn(); - break; - case WM_INT1: - mesgfn1(); - break; - case WM_DESTROY: - if (card >= 0) Release_Card(card); - PostQuitMessage(0); - break; - default: - return (DefWindowProc(hWnd, message, wParam, lParam)); - } - return(0L); -} - -void mesgfn() -{ - int_count[0]++; - InvalidateRect(hMainWnd, NULL, FALSE); -} - -LRESULT CALLBACK cbfn() -{ - int_count[1]++; - ResetEvent(hEvent[1]); - InvalidateRect(hMainWnd, NULL, FALSE); -} - -void mesgfn1() -{ - int_count[2]++; - InvalidateRect(hMainWnd, NULL, FALSE); -} - -LRESULT CALLBACK cbfn1() -{ - int_count[3]++; - ResetEvent(hEvent[3]); - InvalidateRect(hMainWnd, NULL, FALSE); -} diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7443/SDK7443MultiEvtMsg/7443int.dsp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7443/SDK7443MultiEvtMsg/7443int.dsp deleted file mode 100644 index f30e0ff..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7443/SDK7443MultiEvtMsg/7443int.dsp +++ /dev/null @@ -1,113 +0,0 @@ -# Microsoft Developer Studio Project File - Name="7443int" - Package Owner=<4> -# Microsoft Developer Studio Generated Build File, Format Version 6.00 -# ** DO NOT EDIT ** - -# TARGTYPE "Win32 (x86) Application" 0x0101 - -CFG=7443int - Win32 Release -!MESSAGE This is not a valid makefile. To build this project using NMAKE, -!MESSAGE use the Export Makefile command and run -!MESSAGE -!MESSAGE NMAKE /f "7443int.mak". -!MESSAGE -!MESSAGE You can specify a configuration when running NMAKE -!MESSAGE by defining the macro CFG on the command line. For example: -!MESSAGE -!MESSAGE NMAKE /f "7443int.mak" CFG="7443int - Win32 Release" -!MESSAGE -!MESSAGE Possible choices for configuration are: -!MESSAGE -!MESSAGE "7443int - Win32 Release" (based on "Win32 (x86) Application") -!MESSAGE "7443int - Win32 Debug" (based on "Win32 (x86) Application") -!MESSAGE - -# Begin Project -# PROP AllowPerConfigDependencies 0 -# PROP Scc_ProjName "" -# PROP Scc_LocalPath "" -CPP=cl.exe -MTL=midl.exe -RSC=rc.exe - -!IF "$(CFG)" == "7443int - Win32 Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir ".\Release" -# PROP BASE Intermediate_Dir ".\Release" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "" -# PROP Intermediate_Dir ".\Release" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /YX /c -# ADD CPP /nologo /MT /W3 /GX /Od /I "..\..\..\include" /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /FD /c -# SUBTRACT CPP /YX -# ADD BASE MTL /nologo /D "NDEBUG" /win32 -# ADD MTL /nologo /D "NDEBUG" /mktyplib203 /win32 -# ADD BASE RSC /l 0x404 /d "NDEBUG" -# ADD RSC /l 0x404 /d "NDEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:windows /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ..\..\..\lib\PCI-DASK.lib /nologo /subsystem:windows /machine:I386 - -!ELSEIF "$(CFG)" == "7443int - Win32 Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir ".\Debug" -# PROP BASE Intermediate_Dir ".\Debug" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir ".\Debug" -# PROP Intermediate_Dir ".\Debug" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /Gm /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /YX /c -# ADD CPP /nologo /MTd /W3 /Gm /GX /ZI /Od /I "..\..\..\include" /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /FD /c -# SUBTRACT CPP /YX -# ADD BASE MTL /nologo /D "_DEBUG" /win32 -# ADD MTL /nologo /D "_DEBUG" /mktyplib203 /win32 -# ADD BASE RSC /l 0x404 /d "_DEBUG" -# ADD RSC /l 0x404 /d "_DEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:windows /debug /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ..\..\..\lib\PCI-DASK.lib /nologo /subsystem:windows /incremental:no /debug /machine:I386 - -!ENDIF - -# Begin Target - -# Name "7443int - Win32 Release" -# Name "7443int - Win32 Debug" -# Begin Group "Source Files" - -# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;hpj;bat;for;f90" -# Begin Source File - -SOURCE=.\7443int.c -# End Source File -# End Group -# Begin Group "Header Files" - -# PROP Default_Filter "h;hpp;hxx;hm;inl;fi;fd" -# End Group -# Begin Group "Resource Files" - -# PROP Default_Filter "ico;cur;bmp;dlg;rc2;rct;bin;cnt;rtf;gif;jpg;jpeg;jpe" -# Begin Source File - -SOURCE=.\7443int.rc -# End Source File -# End Group -# End Target -# End Project diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7443/SDK7443MultiEvtMsg/7443int.dsw b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7443/SDK7443MultiEvtMsg/7443int.dsw deleted file mode 100644 index d71951a..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7443/SDK7443MultiEvtMsg/7443int.dsw +++ /dev/null @@ -1,29 +0,0 @@ -Microsoft Developer Studio Workspace File, Format Version 6.00 -# WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE! - -############################################################################### - -Project: "7443int"=.\7443int.dsp - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ -}}} - -############################################################################### - -Global: - -Package=<5> -{{{ -}}} - -Package=<3> -{{{ -}}} - -############################################################################### - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7443/SDK7443MultiEvtMsg/7443int.exe b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7443/SDK7443MultiEvtMsg/7443int.exe deleted file mode 100644 index 409db6f..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7443/SDK7443MultiEvtMsg/7443int.exe and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7443/SDK7443MultiEvtMsg/7443int.rc b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7443/SDK7443MultiEvtMsg/7443int.rc deleted file mode 100644 index a685a61..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7443/SDK7443MultiEvtMsg/7443int.rc +++ /dev/null @@ -1,115 +0,0 @@ -//Microsoft Developer Studio generated resource script. -// -#include "resource.h" - -#define APSTUDIO_READONLY_SYMBOLS -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 2 resource. -// -#define APSTUDIO_HIDDEN_SYMBOLS -#include "windows.h" -#undef APSTUDIO_HIDDEN_SYMBOLS - -///////////////////////////////////////////////////////////////////////////// -#undef APSTUDIO_READONLY_SYMBOLS - -///////////////////////////////////////////////////////////////////////////// -// English (U.S.) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -#ifdef _WIN32 -LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US -#pragma code_page(1252) -#endif //_WIN32 - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog -// - -IDD_DIALOG2 DIALOG DISCARDABLE 110, 10, 108, 62 -STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "Card Number" -FONT 10, "System" -BEGIN - DEFPUSHBUTTON "OK",IDOK,10,41,37,14 - PUSHBUTTON "Cancel",IDCANCEL,58,41,38,14 - LTEXT "Card Number",IDC_STATIC,4,15,46,8 - COMBOBOX IDC_COMBO1,53,14,48,84,CBS_DROPDOWN | WS_VSCROLL | - WS_TABSTOP -END - - -///////////////////////////////////////////////////////////////////////////// -// -// DESIGNINFO -// - -#ifdef APSTUDIO_INVOKED -GUIDELINES DESIGNINFO DISCARDABLE -BEGIN - IDD_DIALOG2, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 101 - TOPMARGIN, 7 - BOTTOMMARGIN, 55 - END -END -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// Menu -// - -U7443MENU MENU DISCARDABLE -BEGIN - MENUITEM "E&xit!", IDM_EXIT -END - - -#ifdef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// TEXTINCLUDE -// - -1 TEXTINCLUDE DISCARDABLE -BEGIN - "resource.h\0" -END - -2 TEXTINCLUDE DISCARDABLE -BEGIN - "#define APSTUDIO_HIDDEN_SYMBOLS\r\n" - "#include ""windows.h""\r\n" - "#undef APSTUDIO_HIDDEN_SYMBOLS\r\n" - "\0" -END - -3 TEXTINCLUDE DISCARDABLE -BEGIN - "\r\n" - "\0" -END - -#endif // APSTUDIO_INVOKED - -#endif // English (U.S.) resources -///////////////////////////////////////////////////////////////////////////// - - - -#ifndef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 3 resource. -// - - -///////////////////////////////////////////////////////////////////////////// -#endif // not APSTUDIO_INVOKED - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7443/SDK7443MultiEvtMsg/resource.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7443/SDK7443MultiEvtMsg/resource.h deleted file mode 100644 index 60a957a..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7443/SDK7443MultiEvtMsg/resource.h +++ /dev/null @@ -1,30 +0,0 @@ -//{{NO_DEPENDENCIES}} -// Microsoft Developer Studio generated include file. -// Used by 7442int.rc -// -#define IDM_SETUP 101 -#define IDD_DIALOG1 101 -#define IDD_DIALOG2 102 -#define IDM_EXIT 110 -#define IDM_GO 300 -#define IDM_ABOUT 301 -#define DMA_DATA 302 -#define ID_STOP 304 -#define IDM_CLEAR 305 -#define DMA_SPACE 500 -#define IDC_COMBO1 1004 -#define IDC_COMBO2 1005 -#define IDC_EDIT1 1007 -#define IDC_EDIT2 1008 -#define IDC_STATIC -1 - -// Next default values for new objects -// -#ifdef APSTUDIO_INVOKED -#ifndef APSTUDIO_READONLY_SYMBOLS -#define _APS_NEXT_RESOURCE_VALUE 103 -#define _APS_NEXT_COMMAND_VALUE 102 -#define _APS_NEXT_CONTROL_VALUE 1008 -#define _APS_NEXT_SYMED_VALUE 101 -#endif -#endif diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7443/SDK7443TTL/Resource.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7443/SDK7443TTL/Resource.h deleted file mode 100644 index f9decfb..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7443/SDK7443TTL/Resource.h +++ /dev/null @@ -1,19 +0,0 @@ -//{{NO_DEPENDENCIES}} -// Microsoft Developer Studio generated include file. -// Used by Util7452.rc -// -#define IDD_DIALOG1 101 -#define IDM_EXIT 110 -#define IDC_COMBO1 1015 -#define IDC_STATIC -1 - -// Next default values for new objects -// -#ifdef APSTUDIO_INVOKED -#ifndef APSTUDIO_READONLY_SYMBOLS -#define _APS_NEXT_RESOURCE_VALUE 102 -#define _APS_NEXT_COMMAND_VALUE 101 -#define _APS_NEXT_CONTROL_VALUE 1000 -#define _APS_NEXT_SYMED_VALUE 101 -#endif -#endif diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7443/SDK7443TTL/Util7443.c b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7443/SDK7443TTL/Util7443.c deleted file mode 100644 index 98863d3..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7443/SDK7443TTL/Util7443.c +++ /dev/null @@ -1,382 +0,0 @@ -/*;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; -;; Copyright (c) 1999, ADLink Technology Inc. All rights reserved. ;; -;; ;; -;; File Name : Util7443.C ;; -;; Purpose : This sample program demonstrate how to operate ;; -;; DI & DO for PCI-7443 ;; -;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;*/ - -#include -#include -#include -#include -#include -#include -#include "resource.h" -#include "Dask.h" - -#define IDM_EXIT 110 -#define TIMER1 1 -#define IDC_CHAN 214 -#define IDC_CHAN2 215 - -int PASCAL WinMain(HANDLE, HANDLE, LPSTR, int); -long PASCAL MainWndProc(HWND, UINT, WPARAM, LPARAM); - -HANDLE hInst; -HWND hInChanComboBox, hOutChanComboBox; -U32 input[2] = {0, 0}; -U32 output[2] = {0, 0}; -I16 card=-1, card_number=0; -U16 iPort=0, oPort=1; // default - -HBRUSH hLTGreenBrush,hGreenBrush,hBlueBrush,hYellowBrush,hRedBrush; - -POINT input_pos[16]= {{320, 100}, {300, 100}, - {280, 100}, {260, 100}, - {240, 100}, {220, 100}, - {200, 100}, {180, 100}, - {160, 100}, {140, 100}, - {120, 100}, {100, 100}, - { 80, 100}, { 60, 100}, - { 40, 100}, { 20, 100} - }; - -POINT output_pos[16] ={ - {320, 200}, {300, 200}, - {280, 200}, {260, 200}, - {240, 200}, {220, 200}, - {200, 200}, {180, 200}, - {160, 200}, {140, 200}, - {120, 200}, {100, 200}, - { 80, 200}, { 60, 200}, - { 40, 200}, { 20, 200} - }; - -BOOL InitApplication(HANDLE); -BOOL InitInstance(HANDLE, int); - -int PASCAL WinMain(hInstance, hPrevInstance, lpCmdLine, nCmdShow) -HANDLE hInstance, hPrevInstance; -LPSTR lpCmdLine; -int nCmdShow; -{ - MSG msg; - - if (!hPrevInstance) - if (!InitApplication(hInstance)) return(FALSE); - if (!InitInstance(hInstance, nCmdShow)) return(FALSE); - while (GetMessage(&msg, NULL, NULL, NULL)) { - TranslateMessage(&msg); - DispatchMessage(&msg); - } - return(msg.wParam); -} - -BOOL InitApplication(hInstance) -HANDLE hInstance; -{ - WNDCLASS wc; - - /* Main Window Class */ - wc.style = NULL; - wc.lpfnWndProc = (WNDPROC)MainWndProc; - wc.cbClsExtra = 0; - wc.cbWndExtra = 0; - wc.hInstance = hInstance; - wc.hIcon = LoadIcon(hInstance, "MyIcon"); - wc.hCursor = LoadCursor(NULL, IDC_ARROW); - wc.hbrBackground = GetStockObject(LTGRAY_BRUSH); - wc.lpszMenuName = NULL; - wc.lpszClassName = "GenericWClass"; - if (!RegisterClass(&wc)) return(FALSE); -} - -BOOL InitInstance(hInstance, nCmdShow) -HANDLE hInstance; -int nCmdShow; -{ - HWND hWnd; - HMENU hSampleMenu; - - hInst = hInstance; - hSampleMenu = LoadMenu(hInstance, "U7443Menu"); - hWnd = CreateWindow("GenericWClass", - (LPCSTR)"PCI-7443", - WS_OVERLAPPEDWINDOW, - CW_USEDEFAULT, - CW_USEDEFAULT, - 370, - 340, - NULL, - hSampleMenu, - hInstance, - NULL); - if (!hWnd) return(FALSE); - ShowWindow(hWnd, nCmdShow); - UpdateWindow(hWnd); - return(TRUE); -} - -BOOL PASCAL setup(HWND hWnd, unsigned message, WPARAM wParam, LPARAM lParam) -{ - int i; - char n[16]; - char s[50]; - switch (message) { - case WM_INITDIALOG: - for (i=0;i<16;i++) { - wsprintf(n, "%d", i); - _strupr(n); - SendMessage(GetDlgItem(hWnd,IDC_COMBO1), CB_ADDSTRING, NULL, (LONG)(LPSTR) n); - } - SendMessage(GetDlgItem(hWnd,IDC_COMBO1) , CB_SETCURSEL, 0, 0L); - - break; - case WM_COMMAND: - switch(LOWORD(wParam)) { - case IDC_COMBO1: - if (HIWORD(wParam) == CBN_CLOSEUP) { - i = (int)SendMessage(GetDlgItem(hWnd,IDC_COMBO1), CB_GETCURSEL, 0, 0L); - SendMessage(GetDlgItem(hWnd,IDC_COMBO1), CB_GETLBTEXT, i, (LPARAM)((LPCSTR)n)); - card_number = i; - } - return(TRUE); - case IDOK: - if ((card=Register_Card(PCI_7443, card_number)) < 0) { - wsprintf(s, "Register_Card Error = %d\n", card); - MessageBox(hWnd, s, "Error", MB_OK); - } - EndDialog(hWnd, TRUE); - InvalidateRect(hWnd, NULL, FALSE); - return (TRUE); - case IDCANCEL: - EndDialog(hWnd, TRUE); - return (TRUE); - } - break; - } - return (FALSE); -} - -long PASCAL MainWndProc(hWnd, message, wParam, lParam) -HWND hWnd; -UINT message; -WPARAM wParam; -LPARAM lParam; -{ - HDC hDC; - PAINTSTRUCT ps; - int i, px, py; - char n[16]; - - switch(message) { - case WM_CREATE: - DialogBox(hInst,IDD_DIALOG1, hWnd, setup); - if(card<0) { - SendMessage(hWnd, WM_CLOSE, 0, 0L); - break; - } - - hInChanComboBox = CreateWindow("ComboBox", NULL, - CBS_DROPDOWNLIST | WS_CHILD | WS_VISIBLE | WS_VSCROLL, - input_pos[10].x-10, input_pos[10].y-35, 60, 80, hWnd, IDC_CHAN, hInst, NULL); - for (i=0;i<2;i++) { - wsprintf(n, "TTL%d", i); - _strupr(n); - SendMessage(hInChanComboBox, CB_ADDSTRING, i, (LPARAM)((LPCSTR)n)); - } - SendMessage(hInChanComboBox ,CB_SETCURSEL, 0, 0L); - - hOutChanComboBox = CreateWindow("ComboBox", NULL, - CBS_DROPDOWNLIST | WS_CHILD | WS_VISIBLE | WS_VSCROLL, - output_pos[10].x, output_pos[10].y-35, 60, 80, hWnd, IDC_CHAN2, hInst, NULL); - for (i=0;i<2;i++) { - wsprintf(n, "TTL%d", i); - _strupr(n); - SendMessage(hOutChanComboBox, CB_ADDSTRING, i, (LPARAM)((LPCSTR)n)); - } - SendMessage(hOutChanComboBox ,CB_SETCURSEL, 1, 0L); - - DIO_PortConfig(card, iPort+4, INPUT_PORT); - DIO_PortConfig(card, oPort+4, OUTPUT_PORT); - - hLTGreenBrush = CreateSolidBrush(RGB(0, 255, 0)); - hGreenBrush = CreateSolidBrush(RGB(0, 128, 0)); - hBlueBrush = CreateSolidBrush(RGB(0, 0, 255)); - hRedBrush = CreateSolidBrush(RGB(255, 0, 0)); - SetTimer(hWnd, TIMER1, 50, NULL); - srand((unsigned)time(NULL)); - break; - case WM_PAINT: - hDC = BeginPaint(hWnd, &ps); - // Digital Input Box - SelectObject(hDC, hLTGreenBrush); - Rectangle(hDC, input_pos[15].x-10, input_pos[15].y-24, input_pos[0].x+26, input_pos[0].y+40); - SetTextColor(hDC,RGB(255,255,255)); - SetBkColor(hDC, RGB(0, 0, 255)); - TextOut(hDC, input_pos[15].x, input_pos[15].y-30, "Digital Input#",14); - // Digital Output Box - SelectObject(hDC, hGreenBrush); - Rectangle(hDC, output_pos[15].x-10, output_pos[15].y-24, output_pos[0].x+26, output_pos[0].y+40); - SetTextColor(hDC,RGB(255,0,0)); - SetBkColor(hDC, RGB(0, 0, 255)); - TextOut(hDC, output_pos[15].x, output_pos[15].y-30, "Digital Output#", 15); - // - SelectObject(hDC, hLTGreenBrush); - SetTextColor(hDC,RGB(255,255,255)); - SetBkColor(hDC, RGB(0, 0, 255)); - TextOut(hDC, input_pos[15].x, input_pos[15].y-80, "Select TTL port 0 or 1 for DI or DO",35); - - // Channel Label - SetTextColor(hDC,RGB(0,0,0)); - SetBkColor(hDC, RGB(0, 255, 0)); - TextOut(hDC, input_pos[15].x, input_pos[15].y+16, "15 0", 75); - SetBkColor(hDC, RGB(0, 128, 0)); - TextOut(hDC, output_pos[15].x, output_pos[15].y+16, "15 0", 75); - SetBkColor(hDC, RGB(0, 255, 0)); - - for (i=0; i<16; i++) { - if ((input[iPort]>>i)&0x01) - SelectObject(hDC, hRedBrush); - else - SelectObject(hDC, GetStockObject(WHITE_BRUSH)); - //SelectObject(hDC, GetStockObject(WHITE_BRUSH)); - Ellipse(hDC, input_pos[i].x, input_pos[i].y, input_pos[i].x+17, input_pos[i].y+17); - } - - for (i=0; i<16; i++) { - if ((output[oPort]>>i)&0x01) - SelectObject(hDC, hRedBrush); - else - SelectObject(hDC, GetStockObject(WHITE_BRUSH)); - //SelectObject(hDC, GetStockObject(WHITE_BRUSH)); - Ellipse(hDC, output_pos[i].x, output_pos[i].y, output_pos[i].x+17, output_pos[i].y+17); - } - EndPaint(hWnd, &ps); - break; - case WM_COMMAND: - switch(LOWORD(wParam)) { - case IDM_EXIT: - SendMessage(hWnd, WM_CLOSE, 0, 0L); - break; - case IDC_CHAN: - if (HIWORD(wParam) == CBN_CLOSEUP) { - if ((i=(int)SendMessage(GetDlgItem(hWnd,IDC_CHAN),CB_GETCURSEL, 0, 0L))>=0 ) { - if(i==0){ - iPort=0; - oPort=1; - } - else{ - iPort=1; - oPort=0; - } - SendMessage(hOutChanComboBox ,CB_SETCURSEL, oPort, 0L); - DIO_PortConfig(card, iPort+4, INPUT_PORT); - DIO_PortConfig(card, oPort+4, OUTPUT_PORT); - - output[oPort] = 0; - hDC = GetDC(hWnd); - SelectObject(hDC, GetStockObject(WHITE_BRUSH)); - for(i=0; i<16; i++) - Ellipse(hDC, output_pos[i].x, output_pos[i].y, output_pos[i].x+17, output_pos[i].y+17); - ReleaseDC(hWnd, hDC); - - if(oPort == 0) - DO_WritePort(card,P7443_TTL0, output[oPort]); - else - DO_WritePort(card,P7443_TTL1, output[oPort]); - - ReleaseDC(hWnd, hDC); - } - } - break; - case IDC_CHAN2: - if (HIWORD(wParam) == CBN_CLOSEUP) { - if ((i=(int)SendMessage(GetDlgItem(hWnd,IDC_CHAN2),CB_GETCURSEL, 0, 0L))>=0 ) { - if(i==0){ - oPort=0; - iPort=1; - } - else{ - oPort=1; - iPort=0; - } - SendMessage(hInChanComboBox ,CB_SETCURSEL, iPort, 0L); - - DIO_PortConfig(card, iPort+4, INPUT_PORT); - DIO_PortConfig(card, oPort+4, OUTPUT_PORT); - - output[oPort] = 0; - hDC = GetDC(hWnd); - SelectObject(hDC, GetStockObject(WHITE_BRUSH)); - for(i=0; i<16; i++) - Ellipse(hDC, output_pos[i].x, output_pos[i].y, output_pos[i].x+17, output_pos[i].y+17); - ReleaseDC(hWnd, hDC); - - if(oPort == 0) - DO_WritePort(card,P7443_TTL0, output[oPort]); - else - DO_WritePort(card,P7443_TTL1, output[oPort]); - } - } - break; - default: - return(DefWindowProc(hWnd, message, wParam, lParam)); - } - break; - case WM_TIMER: - /* Digital Input */ - if(iPort == 0) - DI_ReadPort(card,P7443_TTL0,&input[iPort]); - else - DI_ReadPort(card,P7443_TTL1,&input[iPort]); - hDC = GetDC(hWnd); - for (i=0; i<16; i++) { - if ((input[iPort]>>i)&0x01) - SelectObject(hDC, hRedBrush); - else - SelectObject(hDC, GetStockObject(WHITE_BRUSH)); - Ellipse(hDC, input_pos[i].x, input_pos[i].y, input_pos[i].x+17, input_pos[i].y+17); - } - ReleaseDC(hWnd, hDC); - break; - case WM_DESTROY: - DeleteObject(hRedBrush); - DeleteObject(hGreenBrush); - DeleteObject(hLTGreenBrush); - KillTimer(hWnd, TIMER1); - PostQuitMessage(0); - break; - case WM_LBUTTONDOWN: - px = LOWORD(lParam); - py = HIWORD(lParam); - for (i=0; i<16; i++) { - if (px>output_pos[i].x && pxoutput_pos[i].y && py>i)&0x01) { - output[oPort] -= ((1L)< -# Microsoft Developer Studio Generated Build File, Format Version 6.00 -# ** DO NOT EDIT ** - -# TARGTYPE "Win32 (x86) Application" 0x0101 - -CFG=Util7443 - Win32 Release -!MESSAGE This is not a valid makefile. To build this project using NMAKE, -!MESSAGE use the Export Makefile command and run -!MESSAGE -!MESSAGE NMAKE /f "Util7443.mak". -!MESSAGE -!MESSAGE You can specify a configuration when running NMAKE -!MESSAGE by defining the macro CFG on the command line. For example: -!MESSAGE -!MESSAGE NMAKE /f "Util7443.mak" CFG="Util7443 - Win32 Release" -!MESSAGE -!MESSAGE Possible choices for configuration are: -!MESSAGE -!MESSAGE "Util7443 - Win32 Release" (based on "Win32 (x86) Application") -!MESSAGE "Util7443 - Win32 Debug" (based on "Win32 (x86) Application") -!MESSAGE - -# Begin Project -# PROP AllowPerConfigDependencies 0 -# PROP Scc_ProjName "" -# PROP Scc_LocalPath "" -CPP=cl.exe -MTL=midl.exe -RSC=rc.exe - -!IF "$(CFG)" == "Util7443 - Win32 Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir ".\Release" -# PROP BASE Intermediate_Dir ".\Release" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "" -# PROP Intermediate_Dir ".\Release" -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /YX /c -# ADD CPP /nologo /W3 /GX /O2 /I "..\..\..\include" /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /FD /c -# SUBTRACT CPP /YX -# ADD BASE MTL /nologo /D "NDEBUG" /win32 -# ADD MTL /nologo /D "NDEBUG" /mktyplib203 /win32 -# ADD BASE RSC /l 0x404 /d "NDEBUG" -# ADD RSC /l 0x404 /d "NDEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:windows /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ..\..\..\lib\PCI-DASK.lib /nologo /subsystem:windows /machine:I386 - -!ELSEIF "$(CFG)" == "Util7443 - Win32 Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir ".\Debug" -# PROP BASE Intermediate_Dir ".\Debug" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir ".\Debug" -# PROP Intermediate_Dir ".\Debug" -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /Gm /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /YX /c -# ADD CPP /nologo /W3 /Gm /GX /ZI /Od /I "..\..\..\include" /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /FD /c -# SUBTRACT CPP /YX -# ADD BASE MTL /nologo /D "_DEBUG" /win32 -# ADD MTL /nologo /D "_DEBUG" /mktyplib203 /win32 -# ADD BASE RSC /l 0x404 /d "_DEBUG" -# ADD RSC /l 0x404 /d "_DEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:windows /debug /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ..\..\..\lib\PCI-DASK.lib /nologo /subsystem:windows /debug /machine:I386 - -!ENDIF - -# Begin Target - -# Name "Util7443 - Win32 Release" -# Name "Util7443 - Win32 Debug" -# Begin Group "Source Files" - -# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;hpj;bat;for;f90" -# Begin Source File - -SOURCE=.\util7443.c -# End Source File -# End Group -# Begin Group "Header Files" - -# PROP Default_Filter "h;hpp;hxx;hm;inl;fi;fd" -# Begin Source File - -SOURCE=.\util7443.rc -# End Source File -# End Group -# Begin Group "Resource Files" - -# PROP Default_Filter "ico;cur;bmp;dlg;rc2;rct;bin;cnt;rtf;gif;jpg;jpeg;jpe" -# End Group -# End Target -# End Project diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7443/SDK7443TTL/Util7443.dsw b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7443/SDK7443TTL/Util7443.dsw deleted file mode 100644 index 88c1faa..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7443/SDK7443TTL/Util7443.dsw +++ /dev/null @@ -1,29 +0,0 @@ -Microsoft Developer Studio Workspace File, Format Version 6.00 -# WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE! - -############################################################################### - -Project: "Util7443"=.\Util7443.dsp - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ -}}} - -############################################################################### - -Global: - -Package=<5> -{{{ -}}} - -Package=<3> -{{{ -}}} - -############################################################################### - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7443/SDK7443TTL/Util7443.exe b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7443/SDK7443TTL/Util7443.exe deleted file mode 100644 index 6795b2c..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7443/SDK7443TTL/Util7443.exe and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7443/SDK7443TTL/Util7443.rc b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7443/SDK7443TTL/Util7443.rc deleted file mode 100644 index f9f7a69..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7443/SDK7443TTL/Util7443.rc +++ /dev/null @@ -1,115 +0,0 @@ -//Microsoft Developer Studio generated resource script. -// -#include "resource.h" - -#define APSTUDIO_READONLY_SYMBOLS -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 2 resource. -// -#define APSTUDIO_HIDDEN_SYMBOLS -#include "windows.h" -#undef APSTUDIO_HIDDEN_SYMBOLS - -///////////////////////////////////////////////////////////////////////////// -#undef APSTUDIO_READONLY_SYMBOLS - -///////////////////////////////////////////////////////////////////////////// -// English (U.S.) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -#ifdef _WIN32 -LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US -#pragma code_page(1252) -#endif //_WIN32 - -///////////////////////////////////////////////////////////////////////////// -// -// Menu -// - -U7443MENU MENU DISCARDABLE -BEGIN - MENUITEM "E&xit!", IDM_EXIT -END - - -#ifdef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// TEXTINCLUDE -// - -1 TEXTINCLUDE DISCARDABLE -BEGIN - "resource.h\0" -END - -2 TEXTINCLUDE DISCARDABLE -BEGIN - "#define APSTUDIO_HIDDEN_SYMBOLS\r\n" - "#include ""windows.h""\r\n" - "#undef APSTUDIO_HIDDEN_SYMBOLS\r\n" - "\0" -END - -3 TEXTINCLUDE DISCARDABLE -BEGIN - "\r\n" - "\0" -END - -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog -// - -IDD_DIALOG1 DIALOG DISCARDABLE 110, 10, 106, 61 -STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "Card Number" -FONT 10, "System" -BEGIN - DEFPUSHBUTTON "OK",IDOK,10,40,37,14 - PUSHBUTTON "Cancel",IDCANCEL,61,40,38,14 - LTEXT "Card Number",IDC_STATIC,3,13,47,13 - COMBOBOX IDC_COMBO1,51,13,48,84,CBS_DROPDOWN | WS_VSCROLL | - WS_TABSTOP -END - - -///////////////////////////////////////////////////////////////////////////// -// -// DESIGNINFO -// - -#ifdef APSTUDIO_INVOKED -GUIDELINES DESIGNINFO DISCARDABLE -BEGIN - IDD_DIALOG1, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 99 - TOPMARGIN, 7 - BOTTOMMARGIN, 54 - END -END -#endif // APSTUDIO_INVOKED - -#endif // English (U.S.) resources -///////////////////////////////////////////////////////////////////////////// - - - -#ifndef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 3 resource. -// - - -///////////////////////////////////////////////////////////////////////////// -#endif // not APSTUDIO_INVOKED - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7443/SDK7443intMsg/7443int.c b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7443/SDK7443intMsg/7443int.c deleted file mode 100644 index fcaf80f..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7443/SDK7443intMsg/7443int.c +++ /dev/null @@ -1,234 +0,0 @@ -/*;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; -;; Copyright (c) 1995-1999, ADLink Technology Inc. All rights reserved. ;; -;; ;; -;; File Name : 7443INT.C ;; -;; Purpose : This sample program demonstrates how handle interrupt ;; -;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;*/ - -#include -#include -#include -#include -#include -#include "Dask.h" -#include "Resource.h" - -#define IDC_START 300 -#define IDC_OUTPUT 302 -#define WM_INT 2000 //interrupt comming message - -#define P7443_INT1 INT1_COS0 -#define P7443_Port P7443_CH0 - -HANDLE hInst; /* current instance */ -int int_count=0, press_count=0; -I16 card=-1; -U16 card_number = 0; -HWND hStart, hMainWnd, hEvent; - -I16 err; - -int PASCAL WinMain(HANDLE, HANDLE, LPSTR, int); -BOOL InitApplication(HANDLE); -BOOL InitInstance(HANDLE, int); -long PASCAL MainWndProc(HWND, unsigned, WPARAM, LPARAM); -void mesgfn(); - - /********************************************************************** - - FUNCTION: WinMain(HANDLE, HANDLE, LPSTR, int) - PURPOSE: calls initialization function, processes message loop - - ***********************************************************************/ - - int PASCAL WinMain(hInstance, hPrevInstance, lpCmdLine, nCmdShow) - HANDLE hInstance; - HANDLE hPrevInstance; - LPSTR lpCmdLine; - int nCmdShow; - { - MSG msg; - - if(!hPrevInstance) - if(!InitApplication(hInstance)) - return(FALSE); - - if(!InitInstance(hInstance, nCmdShow)) - return(FALSE); - - while ( GetMessage(&msg, NULL, NULL, NULL)) - { - TranslateMessage(&msg); - DispatchMessage(&msg); - } - return(msg.wParam); - } - -/**************************************************************************** - - FUNCTION: InitApplication(HANDLE) - - PURPOSE: Initializes window data and registers window class - -****************************************************************************/ - -BOOL InitApplication(hInstance) -HANDLE hInstance; -{ - WNDCLASS wc; - - wc.style = NULL; - wc.lpfnWndProc = MainWndProc; - wc.cbClsExtra = 0; - wc.cbWndExtra = 0; - wc.hInstance = hInstance; - wc.hIcon = LoadIcon(NULL, IDI_APPLICATION); - wc.hCursor = LoadCursor(hInstance, IDC_ARROW); - wc.hbrBackground = GetStockObject(WHITE_BRUSH); - wc.lpszMenuName = "U7443Menu"; - wc.lpszClassName = "IntClass"; - - return (RegisterClass(&wc)); -} - -/**************************************************************************** - - FUNCTION: InitInstance(HANDLE, int) - - PURPOSE: Saves instance handle and creates main window - -****************************************************************************/ - -BOOL InitInstance(hInstance, nCmdShow) -HANDLE hInstance; -int nCmdShow; -{ - HWND hWnd; - - hInst = hInstance; - hWnd = CreateWindow("IntClass", "PCI-7443 Interrupt Sample (INT1)", WS_OVERLAPPEDWINDOW, - 200, 100, 360, 300, NULL, NULL, hInstance, NULL); - if (!hWnd) return (FALSE); - ShowWindow(hWnd, nCmdShow); - UpdateWindow(hWnd); - return (TRUE); -} - -BOOL PASCAL setup(HWND hWnd, unsigned message, WPARAM wParam, LPARAM lParam) -{ - int i; - char n[16]; - char s[50]; - switch (message) { - case WM_INITDIALOG: - for (i=0;i<16;i++) { - wsprintf(n, "%d", i); - _strupr(n); - SendMessage(GetDlgItem(hWnd,IDC_COMBO1), CB_ADDSTRING, NULL, (LONG)(LPSTR) n); - } - SendMessage(GetDlgItem(hWnd,IDC_COMBO1) , CB_SETCURSEL, 0, 0L); - break; - case WM_COMMAND: - switch(LOWORD(wParam)) { - case IDC_COMBO1: - if (HIWORD(wParam) == CBN_CLOSEUP) { - i = (int)SendMessage(GetDlgItem(hWnd,IDC_COMBO1), CB_GETCURSEL, 0, 0L); - SendMessage(GetDlgItem(hWnd,IDC_COMBO1), CB_GETLBTEXT, i, (LPARAM)((LPCSTR)n)); - card_number = i; - } - return(TRUE); - case IDOK: - if ((card=Register_Card(PCI_7443, card_number)) < 0) { - wsprintf(s, "Register_Card 7443 Error = %d\n", card); - MessageBox(hWnd, s, "Error", MB_OK); - } - EndDialog(hWnd, TRUE); - InvalidateRect(hWnd, NULL, FALSE); - return (TRUE); - case IDCANCEL: - EndDialog(hWnd, TRUE); - return (TRUE); - } - break; - } - return (FALSE); -} - -/**************************************************************************** - - FUNCTION: MainWndProc(HWND, UINT, WPARAM, LPARAM) - - PURPOSE: Processes messages - - -****************************************************************************/ - - - -long PASCAL MainWndProc(hWnd, message, wParam, lParam) -HWND hWnd; -unsigned message; -WPARAM wParam; -LPARAM lParam; -{ - PAINTSTRUCT ps; - HDC hDC; - char s[50]; - - switch(message) { - case WM_CREATE: - DialogBox(hInst,IDD_DIALOG2, hWnd, setup); - if(card<0) { - SendMessage(hWnd, WM_CLOSE, 0, 0L); - break; - } - DIO_INT1_EventMessage (card, P7443_INT1, hWnd, WM_INT, NULL); - DIO_SetCOSInterrupt32(card, P7443_Port, 0x0001, &hEvent, 0); - /*You can also use the folling function to wait Event*/ - //DIO_INT_Event_Message (card, 1, hEvent, hWnd, WM_INT, NULL); - //DIO_INT_Event_Message (card, 1, hEvent, hWnd, NULL, mesgfn); - hMainWnd = hWnd; - break; - case WM_PAINT: - hDC = BeginPaint(hWnd, &ps); - TextOut(hDC, 20, 30, "This program waits COS of Channel 0.", 36); - TextOut(hDC, 20, 50, "Count number will add one while COS occurs.", 43); - wsprintf(s,"INT1 Count = %d", int_count); - TextOut(hDC, 120, 140, s, strlen(s)); - EndPaint(hWnd, &ps); - break; - case WM_COMMAND: - switch(LOWORD(wParam)) { - case IDM_EXIT: - DIO_INT1_EventMessage(card, INT1_DISABLE, hMainWnd, NULL, NULL); - DIO_SetCOSInterrupt32(card, P7443_Port, 0x0000, NULL, 0); - //DIO_INT_Event_Message (card, 0, NULL, NULL, NULL, NULL); - SendMessage(hWnd, WM_CLOSE, 0, 0L); - break; - } - break; - case WM_INT: //interrupt comming message - mesgfn(); - break; - case WM_DESTROY: - if (card >= 0) Release_Card(card); - PostQuitMessage(0); - break; - default: - return (DefWindowProc(hWnd, message, wParam, lParam)); - } - return(0L); -} - -void mesgfn() -{ - HDC hDC; - char Buf[80]; - - hDC=GetDC(hMainWnd); - int_count++; - wsprintf(Buf,"INT1 Count = %d ", int_count); - TextOut(hDC,120,140,Buf,strlen(Buf)); - - ReleaseDC(hMainWnd, hDC); -} diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7443/SDK7443intMsg/7443int.dsp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7443/SDK7443intMsg/7443int.dsp deleted file mode 100644 index f30e0ff..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7443/SDK7443intMsg/7443int.dsp +++ /dev/null @@ -1,113 +0,0 @@ -# Microsoft Developer Studio Project File - Name="7443int" - Package Owner=<4> -# Microsoft Developer Studio Generated Build File, Format Version 6.00 -# ** DO NOT EDIT ** - -# TARGTYPE "Win32 (x86) Application" 0x0101 - -CFG=7443int - Win32 Release -!MESSAGE This is not a valid makefile. To build this project using NMAKE, -!MESSAGE use the Export Makefile command and run -!MESSAGE -!MESSAGE NMAKE /f "7443int.mak". -!MESSAGE -!MESSAGE You can specify a configuration when running NMAKE -!MESSAGE by defining the macro CFG on the command line. For example: -!MESSAGE -!MESSAGE NMAKE /f "7443int.mak" CFG="7443int - Win32 Release" -!MESSAGE -!MESSAGE Possible choices for configuration are: -!MESSAGE -!MESSAGE "7443int - Win32 Release" (based on "Win32 (x86) Application") -!MESSAGE "7443int - Win32 Debug" (based on "Win32 (x86) Application") -!MESSAGE - -# Begin Project -# PROP AllowPerConfigDependencies 0 -# PROP Scc_ProjName "" -# PROP Scc_LocalPath "" -CPP=cl.exe -MTL=midl.exe -RSC=rc.exe - -!IF "$(CFG)" == "7443int - Win32 Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir ".\Release" -# PROP BASE Intermediate_Dir ".\Release" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "" -# PROP Intermediate_Dir ".\Release" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /YX /c -# ADD CPP /nologo /MT /W3 /GX /Od /I "..\..\..\include" /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /FD /c -# SUBTRACT CPP /YX -# ADD BASE MTL /nologo /D "NDEBUG" /win32 -# ADD MTL /nologo /D "NDEBUG" /mktyplib203 /win32 -# ADD BASE RSC /l 0x404 /d "NDEBUG" -# ADD RSC /l 0x404 /d "NDEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:windows /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ..\..\..\lib\PCI-DASK.lib /nologo /subsystem:windows /machine:I386 - -!ELSEIF "$(CFG)" == "7443int - Win32 Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir ".\Debug" -# PROP BASE Intermediate_Dir ".\Debug" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir ".\Debug" -# PROP Intermediate_Dir ".\Debug" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /Gm /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /YX /c -# ADD CPP /nologo /MTd /W3 /Gm /GX /ZI /Od /I "..\..\..\include" /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /FD /c -# SUBTRACT CPP /YX -# ADD BASE MTL /nologo /D "_DEBUG" /win32 -# ADD MTL /nologo /D "_DEBUG" /mktyplib203 /win32 -# ADD BASE RSC /l 0x404 /d "_DEBUG" -# ADD RSC /l 0x404 /d "_DEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:windows /debug /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ..\..\..\lib\PCI-DASK.lib /nologo /subsystem:windows /incremental:no /debug /machine:I386 - -!ENDIF - -# Begin Target - -# Name "7443int - Win32 Release" -# Name "7443int - Win32 Debug" -# Begin Group "Source Files" - -# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;hpj;bat;for;f90" -# Begin Source File - -SOURCE=.\7443int.c -# End Source File -# End Group -# Begin Group "Header Files" - -# PROP Default_Filter "h;hpp;hxx;hm;inl;fi;fd" -# End Group -# Begin Group "Resource Files" - -# PROP Default_Filter "ico;cur;bmp;dlg;rc2;rct;bin;cnt;rtf;gif;jpg;jpeg;jpe" -# Begin Source File - -SOURCE=.\7443int.rc -# End Source File -# End Group -# End Target -# End Project diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7443/SDK7443intMsg/7443int.dsw b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7443/SDK7443intMsg/7443int.dsw deleted file mode 100644 index d71951a..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7443/SDK7443intMsg/7443int.dsw +++ /dev/null @@ -1,29 +0,0 @@ -Microsoft Developer Studio Workspace File, Format Version 6.00 -# WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE! - -############################################################################### - -Project: "7443int"=.\7443int.dsp - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ -}}} - -############################################################################### - -Global: - -Package=<5> -{{{ -}}} - -Package=<3> -{{{ -}}} - -############################################################################### - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7443/SDK7443intMsg/7443int.exe b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7443/SDK7443intMsg/7443int.exe deleted file mode 100644 index 45c4eeb..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7443/SDK7443intMsg/7443int.exe and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7443/SDK7443intMsg/7443int.rc b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7443/SDK7443intMsg/7443int.rc deleted file mode 100644 index f49c219..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7443/SDK7443intMsg/7443int.rc +++ /dev/null @@ -1,115 +0,0 @@ -//Microsoft Developer Studio generated resource script. -// -#include "resource.h" - -#define APSTUDIO_READONLY_SYMBOLS -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 2 resource. -// -#define APSTUDIO_HIDDEN_SYMBOLS -#include "windows.h" -#undef APSTUDIO_HIDDEN_SYMBOLS - -///////////////////////////////////////////////////////////////////////////// -#undef APSTUDIO_READONLY_SYMBOLS - -///////////////////////////////////////////////////////////////////////////// -// English (U.S.) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -#ifdef _WIN32 -LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US -#pragma code_page(1252) -#endif //_WIN32 - -#ifdef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// TEXTINCLUDE -// - -1 TEXTINCLUDE DISCARDABLE -BEGIN - "resource.h\0" -END - -2 TEXTINCLUDE DISCARDABLE -BEGIN - "#define APSTUDIO_HIDDEN_SYMBOLS\r\n" - "#include ""windows.h""\r\n" - "#undef APSTUDIO_HIDDEN_SYMBOLS\r\n" - "\0" -END - -3 TEXTINCLUDE DISCARDABLE -BEGIN - "\r\n" - "\0" -END - -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// Menu -// - -U7443MENU MENU DISCARDABLE -BEGIN - MENUITEM "E&xit!", IDM_EXIT -END - - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog -// - -IDD_DIALOG2 DIALOG DISCARDABLE 110, 10, 113, 63 -STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "Card Number" -FONT 10, "System" -BEGIN - DEFPUSHBUTTON "OK",IDOK,14,42,37,14 - PUSHBUTTON "Cancel",IDCANCEL,61,42,38,14 - LTEXT "Card Number",IDC_STATIC,7,14,46,9 - COMBOBOX IDC_COMBO1,58,13,48,84,CBS_DROPDOWN | WS_VSCROLL | - WS_TABSTOP -END - - -///////////////////////////////////////////////////////////////////////////// -// -// DESIGNINFO -// - -#ifdef APSTUDIO_INVOKED -GUIDELINES DESIGNINFO DISCARDABLE -BEGIN - IDD_DIALOG2, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 106 - TOPMARGIN, 7 - BOTTOMMARGIN, 56 - END -END -#endif // APSTUDIO_INVOKED - -#endif // English (U.S.) resources -///////////////////////////////////////////////////////////////////////////// - - - -#ifndef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 3 resource. -// - - -///////////////////////////////////////////////////////////////////////////// -#endif // not APSTUDIO_INVOKED - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7443/SDK7443intMsg/Resource.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7443/SDK7443intMsg/Resource.h deleted file mode 100644 index f0cc483..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7443/SDK7443intMsg/Resource.h +++ /dev/null @@ -1,30 +0,0 @@ -//{{NO_DEPENDENCIES}} -// Microsoft Developer Studio generated include file. -// Used by 7443int.rc -// -#define IDM_SETUP 101 -#define IDD_DIALOG1 101 -#define IDD_DIALOG2 102 -#define IDM_EXIT 110 -#define IDM_GO 300 -#define IDM_ABOUT 301 -#define DMA_DATA 302 -#define ID_STOP 304 -#define IDM_CLEAR 305 -#define DMA_SPACE 500 -#define IDC_COMBO1 1004 -#define IDC_COMBO2 1005 -#define IDC_EDIT1 1007 -#define IDC_EDIT2 1008 -#define IDC_STATIC -1 - -// Next default values for new objects -// -#ifdef APSTUDIO_INVOKED -#ifndef APSTUDIO_READONLY_SYMBOLS -#define _APS_NEXT_RESOURCE_VALUE 103 -#define _APS_NEXT_COMMAND_VALUE 102 -#define _APS_NEXT_CONTROL_VALUE 1008 -#define _APS_NEXT_SYMED_VALUE 101 -#endif -#endif diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7443/SDK744XDIO/Util744X.c b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7443/SDK744XDIO/Util744X.c deleted file mode 100644 index c001abb..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7443/SDK744XDIO/Util744X.c +++ /dev/null @@ -1,408 +0,0 @@ -/*;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; -;; Copyright (c) 1999, ADLink Technology Inc. All rights reserved. ;; -;; ;; -;; File Name : Util744X.C ;; -;; Purpose : This sample program demonstrate how to operate ;; -;; DI & DO for PCI-744X ;; -;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;*/ - -#include -#include -#include -#include -#include -#include -#include "resource.h" -#include "Dask.h" - -#define IDM_EXIT 110 -#define TIMER1 1 -#define IDC_CHAN 214 -#define IDC_CHAN2 215 - -int PASCAL WinMain(HANDLE, HANDLE, LPSTR, int); -long PASCAL MainWndProc(HWND, UINT, WPARAM, LPARAM); - -HANDLE hInst; -HWND hChanComboBox, hOutChanComboBox; -U32 input[4]={0, 0, 0, 0}, output[4]={0, 0, 0, 0}; -U32 oldinput[4]={0, 0, 0, 0} ; -I16 card_7443=-1, card_number_7443 = -1; -I16 card_7444=-1, card_number_7444 = -1; -U16 iPort=0, oPort=0; - -HBRUSH hLTGreenBrush,hGreenBrush,hBlueBrush,hYellowBrush,hRedBrush; - -POINT input_pos[32]= {{320, 80}, {300, 80}, - {280, 80}, {260, 80}, - {240, 80}, {220, 80}, - {200, 80}, {180, 80}, - {160, 80}, {140, 80}, - {120, 80}, {100, 80}, - { 80, 80}, { 60, 80}, - { 40, 80}, { 20, 80}, - {320, 40}, {300, 40}, - {280, 40}, {260, 40}, - {240, 40}, {220, 40}, - {200, 40}, {180, 40}, - {160, 40}, {140, 40}, - {120, 40}, {100, 40}, - { 80, 40}, { 60, 40}, - { 40, 40}, { 20, 40} - }; -POINT output_pos[32] ={ - {320, 200}, {300, 200}, - {280, 200}, {260, 200}, - {240, 200}, {220, 200}, - {200, 200}, {180, 200}, - {160, 200}, {140, 200}, - {120, 200}, {100, 200}, - { 80, 200}, { 60, 200}, - { 40, 200}, { 20, 200}, - {320, 160}, {300, 160}, - {280, 160}, {260, 160}, - {240, 160}, {220, 160}, - {200, 160}, {180, 160}, - {160, 160}, {140, 160}, - {120, 160}, {100, 160}, - { 80, 160}, { 60, 160}, - { 40, 160}, { 20, 160}, - }; - -BOOL InitApplication(HANDLE); -BOOL InitInstance(HANDLE, int); - -int PASCAL WinMain(hInstance, hPrevInstance, lpCmdLine, nCmdShow) -HANDLE hInstance, hPrevInstance; -LPSTR lpCmdLine; -int nCmdShow; -{ - MSG msg; - - if (!hPrevInstance) - if (!InitApplication(hInstance)) return(FALSE); - if (!InitInstance(hInstance, nCmdShow)) return(FALSE); - while (GetMessage(&msg, NULL, NULL, NULL)) { - TranslateMessage(&msg); - DispatchMessage(&msg); - } - return(msg.wParam); -} - -BOOL InitApplication(hInstance) -HANDLE hInstance; -{ - WNDCLASS wc; - - /* Main Window Class */ - wc.style = NULL; - wc.lpfnWndProc = (WNDPROC)MainWndProc; - wc.cbClsExtra = 0; - wc.cbWndExtra = 0; - wc.hInstance = hInstance; - wc.hIcon = LoadIcon(hInstance, "MyIcon"); - wc.hCursor = LoadCursor(NULL, IDC_ARROW); - wc.hbrBackground = GetStockObject(LTGRAY_BRUSH); - wc.lpszMenuName = NULL; - wc.lpszClassName = "GenericWClass"; - if (!RegisterClass(&wc)) return(FALSE); -} - -BOOL InitInstance(hInstance, nCmdShow) -HANDLE hInstance; -int nCmdShow; -{ - HWND hWnd; - HMENU hSampleMenu; - - hInst = hInstance; - hSampleMenu = LoadMenu(hInstance, "U744XMenu"); - hWnd = CreateWindow("GenericWClass", - (LPCSTR)"PCI-744X", - WS_OVERLAPPEDWINDOW, - CW_USEDEFAULT, - CW_USEDEFAULT, - 370, - 340, - NULL, - hSampleMenu, - hInstance, - NULL); - if (!hWnd) return(FALSE); - ShowWindow(hWnd, nCmdShow); - UpdateWindow(hWnd); - return(TRUE); -} - -BOOL PASCAL setup(HWND hWnd, unsigned message, WPARAM wParam, LPARAM lParam) -{ - int i; - char n[16]; - char s[50]; - switch (message) { - case WM_INITDIALOG: - wsprintf(n, "NONE"); - _strupr(n); - SendMessage(GetDlgItem(hWnd,IDC_COMBO1), CB_ADDSTRING, NULL, (LONG)(LPSTR) n); - SendMessage(GetDlgItem(hWnd,IDC_COMBO2), CB_ADDSTRING, NULL, (LONG)(LPSTR) n); - - for (i=0;i<16;i++) { - wsprintf(n, "%d", i); - _strupr(n); - SendMessage(GetDlgItem(hWnd,IDC_COMBO1), CB_ADDSTRING, NULL, (LONG)(LPSTR) n); - SendMessage(GetDlgItem(hWnd,IDC_COMBO2), CB_ADDSTRING, NULL, (LONG)(LPSTR) n); - } - - SendMessage(GetDlgItem(hWnd,IDC_COMBO1) , CB_SETCURSEL, 0, 0L); - SendMessage(GetDlgItem(hWnd,IDC_COMBO2) , CB_SETCURSEL, 0, 0L); - break; - case WM_COMMAND: - switch(LOWORD(wParam)) { - case IDC_COMBO1: - if (HIWORD(wParam) == CBN_CLOSEUP) { - i = (int)SendMessage(GetDlgItem(hWnd,IDC_COMBO1), CB_GETCURSEL, 0, 0L); - SendMessage(GetDlgItem(hWnd,IDC_COMBO1), CB_GETLBTEXT, i, (LPARAM)((LPCSTR)n)); - card_number_7443 = i-1; - } - return(TRUE); - case IDC_COMBO2: - if (HIWORD(wParam) == CBN_CLOSEUP) { - i = (int)SendMessage(GetDlgItem(hWnd,IDC_COMBO2), CB_GETCURSEL, 0, 0L); - SendMessage(GetDlgItem(hWnd,IDC_COMBO2), CB_GETLBTEXT, i, (LPARAM)((LPCSTR)n)); - card_number_7444 = i-1; - } - return(TRUE); - case IDOK: - if(card_number_7443>=0){ - if ((card_7443=Register_Card(PCI_7443, card_number_7443)) < 0) { - wsprintf(s, "Register_Card PCI-7443 Error = %d\n", card_7443); - MessageBox(hWnd, s, "Error", MB_OK); - } - } - if(card_number_7444>=0){ - if ((card_7444=Register_Card(PCI_7444, card_number_7444)) < 0) { - wsprintf(s, "Register_Card PCI-7444 Error = %d\n", card_7444); - MessageBox(hWnd, s, "Error", MB_OK); - } - } - EndDialog(hWnd, TRUE); - InvalidateRect(hWnd, NULL, FALSE); - return (TRUE); - case IDCANCEL: - EndDialog(hWnd, TRUE); - return (TRUE); - } - break; - } - return (FALSE); -} - -long PASCAL MainWndProc(hWnd, message, wParam, lParam) -HWND hWnd; -UINT message; -WPARAM wParam; -LPARAM lParam; -{ - HDC hDC; - PAINTSTRUCT ps; - int i, px, py; - char n[16]; - - switch(message) { - case WM_CREATE: - DialogBox(hInst,IDD_DIALOG1, hWnd, setup); - if(card_number_7443>=0){ - if(card_7443<0) { - SendMessage(hWnd, WM_CLOSE, 0, 0L); - break; - } - } - if(card_number_7444>=0){ - if(card_7444<0) { - SendMessage(hWnd, WM_CLOSE, 0, 0L); - break; - } - } - - if(card_number_7443>=0){ - hChanComboBox = CreateWindow("ComboBox", NULL, - CBS_DROPDOWNLIST | WS_CHILD | WS_VISIBLE | WS_VSCROLL, - input_pos[26].x+50, input_pos[26].y-35, 60, 100, hWnd, IDC_CHAN, hInst, NULL); - for (i=0;i<4;i++) { - wsprintf(n, "%d", i); - _strupr(n); - SendMessage(hChanComboBox, CB_ADDSTRING, i, (LPARAM)((LPCSTR)n)); - } - SendMessage(hChanComboBox ,CB_SETCURSEL, 0, 0L); - } - - if(card_number_7444>=0){ - hOutChanComboBox = CreateWindow("ComboBox", NULL, - CBS_DROPDOWNLIST | WS_CHILD | WS_VISIBLE | WS_VSCROLL, - output_pos[26].x+60, output_pos[26].y-35, 60, 100, hWnd, IDC_CHAN2, hInst, NULL); - for (i=0;i<4;i++) { - wsprintf(n, "%d", i); - _strupr(n); - SendMessage(hOutChanComboBox, CB_ADDSTRING, i, (LPARAM)((LPCSTR)n)); - } - SendMessage(hOutChanComboBox ,CB_SETCURSEL, 0, 0L); - for (i=0;i<4;i++) { - DO_ReadPort(card_7443,i,&output[i]); - } - } - - hLTGreenBrush = CreateSolidBrush(RGB(0, 255, 0)); - hGreenBrush = CreateSolidBrush(RGB(0, 128, 0)); - hBlueBrush = CreateSolidBrush(RGB(0, 0, 255)); - hRedBrush = CreateSolidBrush(RGB(255, 0, 0)); - SetTimer(hWnd, TIMER1, 50, NULL); - srand((unsigned)time(NULL)); - break; - case WM_PAINT: - hDC = BeginPaint(hWnd, &ps); - // Digital Input Box - if(card_number_7443>=0){ - SelectObject(hDC, hLTGreenBrush); - Rectangle(hDC, input_pos[31].x-10, input_pos[31].y-24, input_pos[0].x+26, input_pos[0].y+40); - SetTextColor(hDC,RGB(255,255,255)); - SetBkColor(hDC, RGB(0, 0, 255)); - TextOut(hDC, input_pos[31].x, input_pos[31].y-30, "PCI-7443 Digital Input#",23); - } - // Digital Output Box - if(card_number_7444>=0){ - SelectObject(hDC, hGreenBrush); - Rectangle(hDC, output_pos[31].x-10, output_pos[31].y-24, output_pos[0].x+26, output_pos[0].y+40); - SetTextColor(hDC,RGB(255,0,0)); - SetBkColor(hDC, RGB(0, 0, 255)); - TextOut(hDC, output_pos[31].x, output_pos[31].y-30, "PCI-7444 Digital Output#", 24); - } - // Channel Label - SetTextColor(hDC,RGB(0,0,0)); - if(card_number_7443>=0){ - SetBkColor(hDC, RGB(0, 255, 0)); - TextOut(hDC, input_pos[31].x, input_pos[31].y+16, "31 16", 75); - TextOut(hDC, input_pos[15].x, input_pos[15].y+16, "15 0", 75); - } - if(card_number_7444>=0){ - SetBkColor(hDC, RGB(0, 128, 0)); - TextOut(hDC, output_pos[31].x, output_pos[31].y+16, "31 16", 75); - TextOut(hDC, output_pos[15].x, output_pos[15].y+16, "15 0", 75); - } - SetBkColor(hDC, RGB(0, 255, 0)); - // Detect Channel Input - if(card_number_7443>=0){ - for (i=0; i<32; i++) { - if ((input[iPort]>>i)&0x01) - SelectObject(hDC, hRedBrush); - else - SelectObject(hDC, GetStockObject(WHITE_BRUSH)); - Ellipse(hDC, input_pos[i].x, input_pos[i].y, input_pos[i].x+17, input_pos[i].y+17); - } - } - // Channel Output - if(card_number_7444>=0){ - for (i=0; i<32; i++) { - if ((output[oPort]>>i)&0x01) - SelectObject(hDC, hRedBrush); - else - SelectObject(hDC, GetStockObject(WHITE_BRUSH)); - Ellipse(hDC, output_pos[i].x, output_pos[i].y, output_pos[i].x+17, output_pos[i].y+17); - } - } - EndPaint(hWnd, &ps); - break; - case WM_COMMAND: - switch(LOWORD(wParam)) { - case IDM_EXIT: - SendMessage(hWnd, WM_CLOSE, 0, 0L); - break; - case IDC_CHAN2: - if(card_number_7444>=0){ - if (HIWORD(wParam) == CBN_CLOSEUP) { - if ((i=(int)SendMessage(GetDlgItem(hWnd,IDC_CHAN2),CB_GETCURSEL, 0, 0L))>=0 ) { - oPort=i; - DO_ReadPort(card_7444,oPort,&output[oPort]); - hDC = GetDC(hWnd); - for (i=0; i<32; i++) { - if ((output[oPort]>>i)&0x01) { - SelectObject(hDC, hRedBrush); - } - else { - SelectObject(hDC, GetStockObject(WHITE_BRUSH)); - } - Ellipse(hDC, output_pos[i].x, output_pos[i].y, output_pos[i].x+17, output_pos[i].y+17); - } - ReleaseDC(hWnd, hDC); - } - } - } - break; - case IDC_CHAN: - if(card_number_7443>=0){ - if (HIWORD(wParam) == CBN_CLOSEUP) { - if ((i=(int)SendMessage(GetDlgItem(hWnd,IDC_CHAN),CB_GETCURSEL, 0, 0L))>=0 ) { - iPort=i; - } - } - } - break; - default: - return(DefWindowProc(hWnd, message, wParam, lParam)); - } - break; - case WM_TIMER: - /* Digital Input */ - if(card_number_7443>=0){ - DI_ReadPort(card_7443,iPort,&input[iPort]); - hDC = GetDC(hWnd); - for (i=0; i<32; i++) { - //if( ((input[iPort]>>i)&0x01) != ((oldinput[iPort]>>i)&0x01) ) - { - if ((input[iPort]>>i)&0x01) - SelectObject(hDC, hRedBrush); - else - SelectObject(hDC, GetStockObject(WHITE_BRUSH)); - Ellipse(hDC, input_pos[i].x, input_pos[i].y, input_pos[i].x+17, input_pos[i].y+17); - } - } - oldinput[iPort]=input[iPort]; - ReleaseDC(hWnd, hDC); - } - break; - case WM_DESTROY: - DeleteObject(hRedBrush); - DeleteObject(hGreenBrush); - DeleteObject(hLTGreenBrush); - KillTimer(hWnd, TIMER1); - PostQuitMessage(0); - break; - case WM_LBUTTONDOWN: - if(card_number_7444>=0){ - px = LOWORD(lParam); - py = HIWORD(lParam); - for (i=0; i<32; i++) { - if (px>output_pos[i].x && pxoutput_pos[i].y && py>i)&0x01) { - output[oPort] -= (((U32)1L)< -# Microsoft Developer Studio Generated Build File, Format Version 6.00 -# ** DO NOT EDIT ** - -# TARGTYPE "Win32 (x86) Application" 0x0101 - -CFG=Util744X - Win32 Release -!MESSAGE This is not a valid makefile. To build this project using NMAKE, -!MESSAGE use the Export Makefile command and run -!MESSAGE -!MESSAGE NMAKE /f "Util744X.mak". -!MESSAGE -!MESSAGE You can specify a configuration when running NMAKE -!MESSAGE by defining the macro CFG on the command line. For example: -!MESSAGE -!MESSAGE NMAKE /f "Util744X.mak" CFG="Util744X - Win32 Release" -!MESSAGE -!MESSAGE Possible choices for configuration are: -!MESSAGE -!MESSAGE "Util744X - Win32 Release" (based on "Win32 (x86) Application") -!MESSAGE "Util744X - Win32 Debug" (based on "Win32 (x86) Application") -!MESSAGE - -# Begin Project -# PROP AllowPerConfigDependencies 0 -# PROP Scc_ProjName "" -# PROP Scc_LocalPath "" -CPP=cl.exe -MTL=midl.exe -RSC=rc.exe - -!IF "$(CFG)" == "Util744X - Win32 Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir ".\Release" -# PROP BASE Intermediate_Dir ".\Release" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "" -# PROP Intermediate_Dir ".\Release" -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /YX /c -# ADD CPP /nologo /W3 /GX /O2 /I "..\..\..\include" /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /FD /c -# SUBTRACT CPP /YX -# ADD BASE MTL /nologo /D "NDEBUG" /win32 -# ADD MTL /nologo /D "NDEBUG" /mktyplib203 /win32 -# ADD BASE RSC /l 0x404 /d "NDEBUG" -# ADD RSC /l 0x404 /d "NDEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:windows /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ..\..\..\lib\PCI-DASK.lib /nologo /subsystem:windows /machine:I386 - -!ELSEIF "$(CFG)" == "Util744X - Win32 Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir ".\Debug" -# PROP BASE Intermediate_Dir ".\Debug" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "" -# PROP Intermediate_Dir ".\Debug" -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /Gm /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /YX /c -# ADD CPP /nologo /W3 /Gm /GX /ZI /Od /I "..\..\..\include" /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /FD /c -# SUBTRACT CPP /YX -# ADD BASE MTL /nologo /D "_DEBUG" /win32 -# ADD MTL /nologo /D "_DEBUG" /mktyplib203 /win32 -# ADD BASE RSC /l 0x404 /d "_DEBUG" -# ADD RSC /l 0x404 /d "_DEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:windows /debug /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ..\..\..\lib\PCI-DASK.lib /nologo /subsystem:windows /debug /machine:I386 - -!ENDIF - -# Begin Target - -# Name "Util744X - Win32 Release" -# Name "Util744X - Win32 Debug" -# Begin Group "Source Files" - -# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;hpj;bat;for;f90" -# Begin Source File - -SOURCE=.\util744X.c -# End Source File -# End Group -# Begin Group "Header Files" - -# PROP Default_Filter "h;hpp;hxx;hm;inl;fi;fd" -# End Group -# Begin Group "Resource Files" - -# PROP Default_Filter "ico;cur;bmp;dlg;rc2;rct;bin;cnt;rtf;gif;jpg;jpeg;jpe" -# Begin Source File - -SOURCE=.\util744X.rc -# End Source File -# End Group -# End Target -# End Project diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7443/SDK744XDIO/Util744X.dsw b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7443/SDK744XDIO/Util744X.dsw deleted file mode 100644 index cc392ab..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7443/SDK744XDIO/Util744X.dsw +++ /dev/null @@ -1,29 +0,0 @@ -Microsoft Developer Studio Workspace File, Format Version 6.00 -# WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE! - -############################################################################### - -Project: "Util744X"=".\Util744X.dsp" - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ -}}} - -############################################################################### - -Global: - -Package=<5> -{{{ -}}} - -Package=<3> -{{{ -}}} - -############################################################################### - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7443/SDK744XDIO/Util744X.exe b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7443/SDK744XDIO/Util744X.exe deleted file mode 100644 index 6adb808..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7443/SDK744XDIO/Util744X.exe and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7443/SDK744XDIO/Util744X.rc b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7443/SDK744XDIO/Util744X.rc deleted file mode 100644 index f541cad..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7443/SDK744XDIO/Util744X.rc +++ /dev/null @@ -1,118 +0,0 @@ -//Microsoft Developer Studio generated resource script. -// -#include "resource.h" - -#define APSTUDIO_READONLY_SYMBOLS -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 2 resource. -// -#define APSTUDIO_HIDDEN_SYMBOLS -#include "windows.h" -#undef APSTUDIO_HIDDEN_SYMBOLS - -///////////////////////////////////////////////////////////////////////////// -#undef APSTUDIO_READONLY_SYMBOLS - -///////////////////////////////////////////////////////////////////////////// -// English (U.S.) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -#ifdef _WIN32 -LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US -#pragma code_page(1252) -#endif //_WIN32 - -///////////////////////////////////////////////////////////////////////////// -// -// Menu -// - -U744XMENU MENU DISCARDABLE -BEGIN - MENUITEM "E&xit!", IDM_EXIT -END - - -#ifdef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// TEXTINCLUDE -// - -1 TEXTINCLUDE DISCARDABLE -BEGIN - "resource.h\0" -END - -2 TEXTINCLUDE DISCARDABLE -BEGIN - "#define APSTUDIO_HIDDEN_SYMBOLS\r\n" - "#include ""windows.h""\r\n" - "#undef APSTUDIO_HIDDEN_SYMBOLS\r\n" - "\0" -END - -3 TEXTINCLUDE DISCARDABLE -BEGIN - "\r\n" - "\0" -END - -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog -// - -IDD_DIALOG1 DIALOG DISCARDABLE 110, 10, 138, 75 -STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "Card Number" -FONT 10, "System" -BEGIN - DEFPUSHBUTTON "OK",IDOK,21,54,37,14 - PUSHBUTTON "Cancel",IDCANCEL,83,54,38,14 - LTEXT "PCI-7443 Card Number",IDC_STATIC,7,15,75,9 - COMBOBOX IDC_COMBO1,85,13,46,102,CBS_DROPDOWN | WS_VSCROLL | - WS_TABSTOP - COMBOBOX IDC_COMBO2,85,30,46,95,CBS_DROPDOWN | WS_VSCROLL | - WS_TABSTOP - LTEXT "PCI-7444 Card Number",IDC_STATIC,7,31,75,8 -END - - -///////////////////////////////////////////////////////////////////////////// -// -// DESIGNINFO -// - -#ifdef APSTUDIO_INVOKED -GUIDELINES DESIGNINFO DISCARDABLE -BEGIN - IDD_DIALOG1, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 131 - TOPMARGIN, 7 - BOTTOMMARGIN, 68 - END -END -#endif // APSTUDIO_INVOKED - -#endif // English (U.S.) resources -///////////////////////////////////////////////////////////////////////////// - - - -#ifndef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 3 resource. -// - - -///////////////////////////////////////////////////////////////////////////// -#endif // not APSTUDIO_INVOKED - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7443/SDK744XDIO/resource.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7443/SDK744XDIO/resource.h deleted file mode 100644 index 54c1593..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7443/SDK744XDIO/resource.h +++ /dev/null @@ -1,20 +0,0 @@ -//{{NO_DEPENDENCIES}} -// Microsoft Developer Studio generated include file. -// Used by Util744X.rc -// -#define IDD_DIALOG1 101 -#define IDM_EXIT 110 -#define IDC_COMBO2 1000 -#define IDC_COMBO1 1015 -#define IDC_STATIC -1 - -// Next default values for new objects -// -#ifdef APSTUDIO_INVOKED -#ifndef APSTUDIO_READONLY_SYMBOLS -#define _APS_NEXT_RESOURCE_VALUE 102 -#define _APS_NEXT_COMMAND_VALUE 101 -#define _APS_NEXT_CONTROL_VALUE 1001 -#define _APS_NEXT_SYMED_VALUE 101 -#endif -#endif diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7443/VB7443TTL/0.bmp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7443/VB7443TTL/0.bmp deleted file mode 100644 index 407bba2..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7443/VB7443TTL/0.bmp and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7443/VB7443TTL/1.bmp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7443/VB7443TTL/1.bmp deleted file mode 100644 index 37d14f3..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7443/VB7443TTL/1.bmp and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7443/VB7443TTL/7443glbl.bas b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7443/VB7443TTL/7443glbl.bas deleted file mode 100644 index 77a2e7f..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7443/VB7443TTL/7443glbl.bas +++ /dev/null @@ -1,4 +0,0 @@ -Attribute VB_Name = "Module1" -Global card As Integer -Global card_number As Integer - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7443/VB7443TTL/Base7443.frm b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7443/VB7443TTL/Base7443.frm deleted file mode 100644 index 6627fae..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7443/VB7443TTL/Base7443.frm +++ /dev/null @@ -1,98 +0,0 @@ -VERSION 5.00 -Begin VB.Form SettingForm - Appearance = 0 'Flat - BackColor = &H00C0C0C0& - Caption = "Card Number Setting" - ClientHeight = 1275 - ClientLeft = 4590 - ClientTop = 4545 - ClientWidth = 2820 - BeginProperty Font - Name = "MS Sans Serif" - Size = 8.25 - Charset = 0 - Weight = 700 - Underline = 0 'False - Italic = 0 'False - Strikethrough = 0 'False - EndProperty - ForeColor = &H80000008& - LinkTopic = "Form2" - PaletteMode = 1 'UseZOrder - ScaleHeight = 1275 - ScaleWidth = 2820 - Begin VB.CommandButton OKBtn - Appearance = 0 'Flat - BackColor = &H80000005& - Caption = "OK" - Default = -1 'True - Height = 315 - Left = 300 - TabIndex = 0 - Top = 720 - Width = 915 - End - Begin VB.CommandButton CancelBtn - Appearance = 0 'Flat - BackColor = &H80000005& - Cancel = -1 'True - Caption = "Cancel" - Height = 315 - Left = 1380 - TabIndex = 3 - Top = 720 - Width = 915 - End - Begin VB.ComboBox CardNum - Appearance = 0 'Flat - Height = 300 - Left = 1440 - Style = 2 'Dropdown List - TabIndex = 2 - Top = 120 - Width = 1035 - End - Begin VB.Label Label2 - Appearance = 0 'Flat - BackColor = &H00C0C0C0& - Caption = "Card Number:" - ForeColor = &H00000000& - Height = 195 - Index = 0 - Left = 180 - TabIndex = 1 - Top = 180 - Width = 1275 - End -End -Attribute VB_Name = "SettingForm" -Attribute VB_GlobalNameSpace = False -Attribute VB_Creatable = False -Attribute VB_PredeclaredId = True -Attribute VB_Exposed = False - - -Private Sub BaseAddr_Change() - -End Sub - - -Private Sub CancelBtn_Click() - Unload SettingForm -End Sub - -Private Sub Form_Load() - Dim i As Long - For i = 0 To 15 Step 1 - CardNum.AddItem i - Next - CardNum.ListIndex = 0 -End Sub - -Private Sub OKBtn_Click() - card = -1 - card_number = CardNum.ListIndex - card = Register_Card(PCI_7443, card_number) - Unload SettingForm -End Sub - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7443/VB7443TTL/Util7443.Frm b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7443/VB7443TTL/Util7443.Frm deleted file mode 100644 index 3719a5c..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7443/VB7443TTL/Util7443.Frm +++ /dev/null @@ -1,620 +0,0 @@ -VERSION 5.00 -Begin VB.Form util7443 - Appearance = 0 'Flat - BackColor = &H00C0C0C0& - Caption = "PCI-7443 Sample Program" - ClientHeight = 3660 - ClientLeft = 1635 - ClientTop = 2565 - ClientWidth = 6870 - BeginProperty Font - Name = "MS Sans Serif" - Size = 8.25 - Charset = 0 - Weight = 700 - Underline = 0 'False - Italic = 0 'False - Strikethrough = 0 'False - EndProperty - ForeColor = &H80000008& - LinkTopic = "Form1" - PaletteMode = 1 'UseZOrder - ScaleHeight = 3660 - ScaleWidth = 6870 - Begin VB.ComboBox InCombo - Height = 315 - Left = 2160 - TabIndex = 5 - Text = "Combo1" - Top = 840 - Width = 1200 - End - Begin VB.Timer Timer1 - Interval = 100 - Left = 5280 - Top = 2640 - End - Begin VB.Frame Frame1 - Appearance = 0 'Flat - BackColor = &H00C0C0C0& - Caption = "Digital Output# TTL" - ForeColor = &H000000FF& - Height = 1155 - Index = 1 - Left = 360 - TabIndex = 1 - Top = 2160 - Width = 6015 - Begin VB.ComboBox OutCombo - Height = 315 - Left = 1920 - TabIndex = 6 - Text = "Combo2" - Top = 0 - Width = 1200 - End - Begin VB.Label Label1 - Caption = "0" - Height = 195 - Left = 5640 - TabIndex = 4 - Top = 840 - Width = 195 - End - Begin VB.Label Label3 - Caption = "15" - Height = 195 - Left = 240 - TabIndex = 2 - Top = 840 - Width = 195 - End - Begin VB.Image DOP0 - Appearance = 0 'Flat - Height = 300 - Index = 8 - Left = 2700 - Picture = "Util7443.frx":0000 - Top = 500 - Width = 300 - End - Begin VB.Image DOP0 - Appearance = 0 'Flat - Height = 300 - Index = 9 - Left = 2340 - Picture = "Util7443.frx":0172 - Top = 500 - Width = 300 - End - Begin VB.Image DOP0 - Appearance = 0 'Flat - Height = 300 - Index = 10 - Left = 1980 - Picture = "Util7443.frx":02E4 - Top = 500 - Width = 300 - End - Begin VB.Image DOP0 - Appearance = 0 'Flat - Height = 300 - Index = 11 - Left = 1620 - Picture = "Util7443.frx":0456 - Top = 500 - Width = 300 - End - Begin VB.Image DOP0 - Appearance = 0 'Flat - Height = 300 - Index = 12 - Left = 1260 - Picture = "Util7443.frx":05C8 - Top = 500 - Width = 300 - End - Begin VB.Image DOP0 - Appearance = 0 'Flat - Height = 300 - Index = 13 - Left = 900 - Picture = "Util7443.frx":073A - Top = 500 - Width = 300 - End - Begin VB.Image DOP0 - Appearance = 0 'Flat - Height = 300 - Index = 14 - Left = 540 - Picture = "Util7443.frx":08AC - Top = 500 - Width = 300 - End - Begin VB.Image DOP0 - Appearance = 0 'Flat - Height = 300 - Index = 15 - Left = 180 - Picture = "Util7443.frx":0A1E - Top = 500 - Width = 300 - End - Begin VB.Image DOP0 - Appearance = 0 'Flat - Height = 300 - Index = 7 - Left = 3060 - Picture = "Util7443.frx":0B90 - Top = 500 - Width = 300 - End - Begin VB.Image DOP0 - Appearance = 0 'Flat - Height = 300 - Index = 6 - Left = 3420 - Picture = "Util7443.frx":0D02 - Top = 500 - Width = 300 - End - Begin VB.Image DOP0 - Appearance = 0 'Flat - Height = 300 - Index = 5 - Left = 3780 - Picture = "Util7443.frx":0E74 - Top = 500 - Width = 300 - End - Begin VB.Image DOP0 - Appearance = 0 'Flat - Height = 300 - Index = 4 - Left = 4140 - Picture = "Util7443.frx":0FE6 - Top = 500 - Width = 300 - End - Begin VB.Image DOP0 - Appearance = 0 'Flat - Height = 300 - Index = 2 - Left = 4860 - Picture = "Util7443.frx":1158 - Top = 500 - Width = 300 - End - Begin VB.Image DOP0 - Appearance = 0 'Flat - Height = 300 - Index = 3 - Left = 4500 - Picture = "Util7443.frx":12CA - Top = 500 - Width = 300 - End - Begin VB.Image DOP0 - Appearance = 0 'Flat - Height = 300 - Index = 1 - Left = 5220 - Picture = "Util7443.frx":143C - Top = 500 - Width = 300 - End - Begin VB.Image DOP0 - Appearance = 0 'Flat - Height = 300 - Index = 0 - Left = 5580 - Picture = "Util7443.frx":15AE - Top = 500 - Width = 300 - End - End - Begin VB.Frame Frame1 - Appearance = 0 'Flat - BackColor = &H00C0C0C0& - Caption = "Digital Input# TTL" - ForeColor = &H00FF0000& - Height = 1155 - Index = 0 - Left = 360 - TabIndex = 0 - Top = 840 - Width = 6015 - Begin VB.Label Label2 - Caption = "15" - Height = 195 - Left = 240 - TabIndex = 7 - Top = 840 - Width = 195 - End - Begin VB.Label Label4 - Caption = "0" - Height = 195 - Left = 5640 - TabIndex = 3 - Top = 840 - Width = 195 - End - Begin VB.Image DI0 - Appearance = 0 'Flat - Height = 300 - Index = 15 - Left = 180 - Picture = "Util7443.frx":1720 - Top = 480 - Width = 300 - End - Begin VB.Image DI0 - Appearance = 0 'Flat - Height = 300 - Index = 14 - Left = 540 - Picture = "Util7443.frx":1892 - Top = 480 - Width = 300 - End - Begin VB.Image DI0 - Appearance = 0 'Flat - Height = 300 - Index = 13 - Left = 900 - Picture = "Util7443.frx":1A04 - Top = 480 - Width = 300 - End - Begin VB.Image DI0 - Appearance = 0 'Flat - Height = 300 - Index = 12 - Left = 1260 - Picture = "Util7443.frx":1B76 - Top = 480 - Width = 300 - End - Begin VB.Image DI0 - Appearance = 0 'Flat - Height = 300 - Index = 11 - Left = 1620 - Picture = "Util7443.frx":1CE8 - Top = 480 - Width = 300 - End - Begin VB.Image DI0 - Appearance = 0 'Flat - Height = 300 - Index = 10 - Left = 1980 - Picture = "Util7443.frx":1E5A - Top = 480 - Width = 300 - End - Begin VB.Image DI0 - Appearance = 0 'Flat - Height = 300 - Index = 9 - Left = 2340 - Picture = "Util7443.frx":1FCC - Top = 480 - Width = 300 - End - Begin VB.Image DI0 - Appearance = 0 'Flat - Height = 300 - Index = 8 - Left = 2700 - Picture = "Util7443.frx":213E - Top = 480 - Width = 300 - End - Begin VB.Image DI0 - Appearance = 0 'Flat - Height = 300 - Index = 0 - Left = 5580 - Picture = "Util7443.frx":22B0 - Top = 480 - Width = 300 - End - Begin VB.Image DI0 - Appearance = 0 'Flat - Height = 300 - Index = 1 - Left = 5220 - Picture = "Util7443.frx":2422 - Top = 480 - Width = 300 - End - Begin VB.Image DI0 - Appearance = 0 'Flat - Height = 300 - Index = 2 - Left = 4860 - Picture = "Util7443.frx":2594 - Top = 480 - Width = 300 - End - Begin VB.Image DI0 - Appearance = 0 'Flat - Height = 300 - Index = 3 - Left = 4500 - Picture = "Util7443.frx":2706 - Top = 480 - Width = 300 - End - Begin VB.Image DI0 - Appearance = 0 'Flat - Height = 300 - Index = 4 - Left = 4140 - Picture = "Util7443.frx":2878 - Top = 480 - Width = 300 - End - Begin VB.Image DI0 - Appearance = 0 'Flat - Height = 300 - Index = 5 - Left = 3780 - Picture = "Util7443.frx":29EA - Top = 480 - Width = 300 - End - Begin VB.Image DI0 - Appearance = 0 'Flat - Height = 300 - Index = 6 - Left = 3420 - Picture = "Util7443.frx":2B5C - Top = 480 - Width = 300 - End - Begin VB.Image DI0 - Appearance = 0 'Flat - Height = 300 - Index = 7 - Left = 3060 - Picture = "Util7443.frx":2CCE - Top = 480 - Width = 300 - End - End - Begin VB.Label Label5 - Caption = "Select TTL0 or TTL1 for input or output" - Height = 255 - Left = 360 - TabIndex = 8 - Top = 360 - Width = 3495 - End - Begin VB.Image Image1 - Appearance = 0 'Flat - Height = 300 - Left = 5880 - Picture = "Util7443.frx":2E40 - Top = 2700 - Visible = 0 'False - Width = 300 - End - Begin VB.Image Image0 - Appearance = 0 'Flat - Height = 300 - Left = 6180 - Picture = "Util7443.frx":2FB2 - Top = 2700 - Visible = 0 'False - Width = 300 - End - Begin VB.Menu mnuExit - Caption = "&Exit!" - End -End -Attribute VB_Name = "util7443" -Attribute VB_GlobalNameSpace = False -Attribute VB_Creatable = False -Attribute VB_PredeclaredId = True -Attribute VB_Exposed = False -Option Explicit -Dim Status(0 To 15) As Long -Dim bit(0 To 15) As Long -Dim iport As Integer -Dim oport As Integer - -Private Sub DOP0_Click(Index As Integer) - Dim i As Integer, result As Integer - Dim d As Long - - If Status(Index) = 1 Then - DOP0(Index).Picture = Image0.Picture - Status(Index) = 0 - Else - DOP0(Index).Picture = Image1.Picture - Status(Index) = 1 - End If - d = 0 - For i = 0 To 14 - If Status(i) = 1 Then - d = d + (2 ^ i) - End If - Next - 'Handle the MSB - 'd=d+2^31, but bucause VB has no unsigned long, - 'translate an unsigned long to signed long by minus 2^32 - If Status(15) = 1 Then d = d - 2 ^ 15 'd = d + 2^15 - 2^16 - - If oport = 0 Then - result = DO_WritePort(card, P7443_TTL0, d) - Else - result = DO_WritePort(card, P7443_TTL1, d) - End If - -End Sub - -Private Sub Form_Load() - Dim result As Integer - Dim i As Integer - - SettingForm.Show 1 - If card < 0 Then - MsgBox "Register card failed." - End - End If - For i = 0 To 15 - Status(i) = 0 - Next - - bit(0) = &H1& - bit(1) = &H2& - bit(2) = &H4& - bit(3) = &H8& - bit(4) = &H10& - bit(5) = &H20& - bit(6) = &H40& - bit(7) = &H80& - bit(8) = &H100& - bit(9) = &H200& - bit(10) = &H400& - bit(11) = &H800& - bit(12) = &H1000& - bit(13) = &H2000& - bit(14) = &H4000& - bit(15) = &H8000& -' bit(16) = &H10000 -' bit(17) = &H20000 -' bit(18) = &H40000 -' bit(19) = &H80000 -' bit(20) = &H100000 -' bit(21) = &H200000 -' bit(22) = &H400000 -' bit(23) = &H800000 -' bit(24) = &H1000000 -' bit(25) = &H2000000 -' bit(26) = &H4000000 -' bit(27) = &H8000000 -' bit(28) = &H10000000 -' bit(29) = &H20000000 -' bit(30) = &H40000000 -' bit(31) = &H80000000 - - iport = 0 - oport = 1 - - For i = 0 To 1 Step 1 - InCombo.AddItem i - OutCombo.AddItem i - Next - InCombo.ListIndex = 0 - OutCombo.ListIndex = 1 - - result = DIO_PortConfig(card, iport + 4, INPUT_PORT) - result = DIO_PortConfig(card, oport + 4, OUTPUT_PORT) -End Sub - -Private Sub Form_Unload(Cancel As Integer) - Dim result As Integer - If card >= 0 Then - result = Release_Card(card) - End If - End -End Sub -Private Sub InCombo_Click() -Dim i As Integer -Dim result As Integer -Dim rb_data As Long -Dim p As Long - -iport = InCombo.ListIndex -If iport = 0 Then - oport = 1 -Else - oport = 0 -End If - -OutCombo.ListIndex = oport - -result = DIO_PortConfig(card, iport + 4, INPUT_PORT) -result = DIO_PortConfig(card, oport + 4, OUTPUT_PORT) - -For i = 0 To 15 - DOP0(i) = Image0 - Status(i) = 0 -Next - -If oport = 0 Then - result = DO_WritePort(card, P7443_TTL0, 0) -Else - result = DO_WritePort(card, P7443_TTL1, 0) -End If - -End Sub - -Private Sub mnuExit_Click() - Dim result As Integer - If card >= 0 Then - result = Release_Card(card) - End If - - End -End Sub - -Private Sub OutCombo_Click() -Dim i As Integer -Dim result As Integer -Dim rb_data As Long -Dim p As Long - -oport = OutCombo.ListIndex -If oport = 0 Then - iport = 1 -Else - iport = 0 -End If - -InCombo.ListIndex = iport - -result = DIO_PortConfig(card, iport + 4, INPUT_PORT) -result = DIO_PortConfig(card, oport + 4, OUTPUT_PORT) - -For i = 0 To 15 - DOP0(i) = Image0 - Status(i) = 0 -Next - -If oport = 0 Then - result = DO_WritePort(card, P7443_TTL0, 0) -Else - result = DO_WritePort(card, P7443_TTL1, 0) -End If - -End Sub - -Private Sub Timer1_Timer() - Dim result As Integer - Dim di_data As Long - Dim dl As Long, dh As Long - Dim i As Integer - Dim p As Long - - If iport = 0 Then - result = DI_ReadPort(card, P7443_TTL0, di_data) - Else - result = DI_ReadPort(card, P7443_TTL1, di_data) - End If - - For i = 0 To 15 - p = di_data And bit(i) - If p <> 0 Then - DI0(i) = Image1 - Else 'p = 0 - DI0(i) = Image0 - End If - Next -End Sub - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7443/VB7443TTL/Util7443.Vbp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7443/VB7443TTL/Util7443.Vbp deleted file mode 100644 index f82932b..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7443/VB7443TTL/Util7443.Vbp +++ /dev/null @@ -1,40 +0,0 @@ -Type=Exe -Form=Util7443.Frm -Module=DASK; ..\..\..\include\Dask.bas -Module=Module1; 7443glbl.bas -Form=Base7443.frm -Reference=*\G{00025E04-0000-0000-C000-000000000046}#3.5#0#D:\Program Files\Common Files\Microsoft Shared\DAO\dao2535.tlb#Microsoft DAO 2.5/3.0 Compatibility Library -IconForm="util7443" -Startup="util7443" -HelpFile="" -Title="UTIL7443" -ExeName32="Util7443.exe" -Command32="" -Name="projectUtil7443" -HelpContextID="0" -CompatibleMode="0" -MajorVer=1 -MinorVer=0 -RevisionVer=0 -AutoIncrementVer=0 -ServerSupportFiles=0 -VersionCompanyName="ADLINK" -CompilationType=0 -OptimizationType=0 -FavorPentiumPro(tm)=0 -CodeViewDebugInfo=0 -NoAliasing=0 -BoundsCheck=0 -OverflowCheck=0 -FlPointCheck=0 -FDIVCheck=0 -UnroundedFP=0 -StartMode=0 -Unattended=0 -Retained=0 -ThreadPerObject=0 -MaxNumberOfThreads=1 -DebugStartupOption=0 - -[MS Transaction Server] -AutoRefresh=1 diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7443/VB7443TTL/Util7443.frx b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7443/VB7443TTL/Util7443.frx deleted file mode 100644 index 8dda588..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7443/VB7443TTL/Util7443.frx and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7443/VB7443TTL/Util7443.vbw b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7443/VB7443TTL/Util7443.vbw deleted file mode 100644 index 0fb95ff..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7443/VB7443TTL/Util7443.vbw +++ /dev/null @@ -1,4 +0,0 @@ -util7443 = 49, 69, 666, 518, , 132, 114, 664, 581, C -DASK = 22, 22, 639, 471, -Module1 = 44, 44, 661, 493, -SettingForm = 66, 66, 683, 515, , 110, 110, 727, 559, C diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7444/C7444TTL_Line/UTIL7444.DSP b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7444/C7444TTL_Line/UTIL7444.DSP deleted file mode 100644 index c725c5d..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7444/C7444TTL_Line/UTIL7444.DSP +++ /dev/null @@ -1,110 +0,0 @@ -# Microsoft Developer Studio Project File - Name="util7444" - Package Owner=<4> -# Microsoft Developer Studio Generated Build File, Format Version 6.00 -# ** DO NOT EDIT ** - -# TARGTYPE "Win32 (x86) Application" 0x0101 - -CFG=util7444 - Win32 Release -!MESSAGE This is not a valid makefile. To build this project using NMAKE, -!MESSAGE use the Export Makefile command and run -!MESSAGE -!MESSAGE NMAKE /f "UTIL7444.MAK". -!MESSAGE -!MESSAGE You can specify a configuration when running NMAKE -!MESSAGE by defining the macro CFG on the command line. For example: -!MESSAGE -!MESSAGE NMAKE /f "UTIL7444.MAK" CFG="util7444 - Win32 Release" -!MESSAGE -!MESSAGE Possible choices for configuration are: -!MESSAGE -!MESSAGE "util7444 - Win32 Release" (based on "Win32 (x86) Application") -!MESSAGE "util7444 - Win32 Debug" (based on "Win32 (x86) Application") -!MESSAGE - -# Begin Project -# PROP AllowPerConfigDependencies 0 -# PROP Scc_ProjName "" -# PROP Scc_LocalPath "" -CPP=cl.exe -MTL=midl.exe -RSC=rc.exe - -!IF "$(CFG)" == "util7444 - Win32 Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir ".\Release" -# PROP BASE Intermediate_Dir ".\Release" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "" -# PROP Intermediate_Dir ".\Release" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /YX /c -# ADD CPP /nologo /W3 /GX /Od /I "..\..\..\include" /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /FD /c -# SUBTRACT CPP /YX -# ADD BASE MTL /nologo /D "NDEBUG" /win32 -# ADD MTL /nologo /D "NDEBUG" /mktyplib203 /win32 -# ADD BASE RSC /l 0x409 /d "NDEBUG" -# ADD RSC /l 0x409 /d "NDEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:windows /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ..\..\..\lib\PCI-Dask.lib /nologo /subsystem:console /machine:I386 -# SUBTRACT LINK32 /pdb:none - -!ELSEIF "$(CFG)" == "util7444 - Win32 Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir ".\Debug" -# PROP BASE Intermediate_Dir ".\Debug" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir ".\Debug" -# PROP Intermediate_Dir ".\Debug" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /Gm /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /YX /c -# ADD CPP /nologo /MTd /W3 /Gm /GX /ZI /Od /I "..\..\..\include" /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /FR /FD /c -# ADD BASE MTL /nologo /D "_DEBUG" /win32 -# ADD MTL /nologo /D "_DEBUG" /mktyplib203 /win32 -# ADD BASE RSC /l 0x409 /d "_DEBUG" -# ADD RSC /l 0x409 /d "_DEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:windows /debug /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ..\..\..\lib\PCI-DASK.lib /nologo /subsystem:console /debug /machine:I386 -# SUBTRACT LINK32 /pdb:none - -!ENDIF - -# Begin Target - -# Name "util7444 - Win32 Release" -# Name "util7444 - Win32 Debug" -# Begin Group "Source Files" - -# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;idl;hpj;bat;for;f90" -# Begin Source File - -SOURCE=.\Util7444.c -# End Source File -# End Group -# Begin Group "Header Files" - -# PROP Default_Filter "h;hpp;hxx;hm;inl;fi;fd" -# End Group -# Begin Group "Resource Files" - -# PROP Default_Filter "ico;cur;bmp;dlg;rc2;rct;bin;cnt;rtf;gif;jpg;jpeg;jpe" -# End Group -# End Target -# End Project diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7444/C7444TTL_Line/UTIL7444.DSW b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7444/C7444TTL_Line/UTIL7444.DSW deleted file mode 100644 index 0d83fa9..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7444/C7444TTL_Line/UTIL7444.DSW +++ /dev/null @@ -1,29 +0,0 @@ -Microsoft Developer Studio Workspace File, Format Version 6.00 -# WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE! - -############################################################################### - -Project: "util7444"=.\UTIL7444.DSP - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ -}}} - -############################################################################### - -Global: - -Package=<5> -{{{ -}}} - -Package=<3> -{{{ -}}} - -############################################################################### - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7444/C7444TTL_Line/UTIL7444.exe b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7444/C7444TTL_Line/UTIL7444.exe deleted file mode 100644 index a2dd3f4..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7444/C7444TTL_Line/UTIL7444.exe and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7444/C7444TTL_Line/Util7444.c b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7444/C7444TTL_Line/Util7444.c deleted file mode 100644 index 74e7eb9..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7444/C7444TTL_Line/Util7444.c +++ /dev/null @@ -1,122 +0,0 @@ -#include -#include -#include -#include "dask.h" - - -void main(void) -{ - - I16 card, err, card_num=0; - U16 value0; - int i, j; -U16 status = 0; - - printf("This program output data from TTL0's Line1 to TTL1's Line1,\n"); - printf(" and output data from TTL1's Line0 to TTL0's Line0.\n"); - printf("Please input a card number: "); - scanf(" %d", &card_num); - - if ((card = Register_Card(PCI_7444, card_num)) <0 ) { - printf("Register_Card error=%d", card); - exit(1); - } - - err = DIO_LineConfig(card, P7444_TTL0, 0, INPUT_PORT); // set Line0 of TTL0 to input - if(err!=NoError) { - printf("TTL Port0 Input Config Error: %d\n",err); - exit(1); - } - - err = DIO_LineConfig(card, P7444_TTL0, 1, OUTPUT_PORT); // set Line1 of TTL0 to output - if(err!=NoError) { - printf("TTL Port0 Output Config Error: %d\n",err); - exit(1); - } - - // you can also use DIO_LinesConfig to configure the lines of an indicated port - err = DIO_LinesConfig(card, P7444_TTL1, 0x1); // set Line0 of TTL1 to output - if(err!=NoError) { - printf("TTL Port1 Config Error: %d\n",err); - exit(1); - } - - do{ - system( "cls" ); - printf ("-------------------------------------------------\n"); - - err = DO_WriteLine(card, P7444_TTL0, 1, 0); - if (err!=NoError) { - printf("DO_WriteLine error=%d", err); - exit(1); - } - printf(" TTL0 (Line1) output = 0\n"); - - err = DO_WriteLine(card, P7444_TTL1, 0, 1); - if (err!=NoError) { - printf("DO_WriteLine error=%d", err); - exit(1); - } - printf(" TTL1 (Line0) output = 1\n"); - - printf ("-------------------------------------------------\n"); - - err = DI_ReadLine(card, P7444_TTL1, 1, &value0); - if (err!=NoError) { - printf("DO_WriteLine error=%d", err); - exit(1); - } - printf(" TTL1 (Line1) input = %d\n", value0); - - err = DI_ReadLine(card, P7444_TTL0, 0, &value0); - if (err!=NoError) { - printf("DO_WriteLine error=%d", err); - exit(1); - } - printf(" TTL0 (Line0) input = %d\n", value0); - printf("-------------------------------------------------\n"); - printf ("\n Press any key to stop...\n"); - - Sleep(500); - - system( "cls" ); - printf ("-------------------------------------------------\n"); - - err = DO_WriteLine(card, P7444_TTL0, 1, 1); - if (err!=NoError) { - printf("DO_WriteLine error=%d", err); - exit(1); - } - printf(" TTL0 (Line1) output = 1\n"); - - err = DO_WriteLine(card, P7444_TTL1, 0, 0); - if (err!=NoError) { - printf("DO_WriteLine error=%d", err); - exit(1); - } - printf(" TTL1 (Line0) output = 0\n"); - - printf ("-------------------------------------------------\n"); - - err = DI_ReadLine(card, P7444_TTL1, 1, &value0); - if (err!=NoError) { - printf("DO_WriteLine error=%d", err); - exit(1); - } - printf(" TTL1 (Line1) input = %d\n", value0); - - err = DI_ReadLine(card, P7444_TTL0, 0, &value0); - if (err!=NoError) { - printf("DO_WriteLine error=%d", err); - exit(1); - } - printf(" TTL0 (Line0) input = %d\n", value0); - printf("-------------------------------------------------\n"); - printf ("\n Press any key to stop...\n"); - - Sleep(500); - }while(!kbhit()); - - Release_Card(card); -} - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7444/C7444TTL_Port/UTIL7444.DSP b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7444/C7444TTL_Port/UTIL7444.DSP deleted file mode 100644 index c725c5d..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7444/C7444TTL_Port/UTIL7444.DSP +++ /dev/null @@ -1,110 +0,0 @@ -# Microsoft Developer Studio Project File - Name="util7444" - Package Owner=<4> -# Microsoft Developer Studio Generated Build File, Format Version 6.00 -# ** DO NOT EDIT ** - -# TARGTYPE "Win32 (x86) Application" 0x0101 - -CFG=util7444 - Win32 Release -!MESSAGE This is not a valid makefile. To build this project using NMAKE, -!MESSAGE use the Export Makefile command and run -!MESSAGE -!MESSAGE NMAKE /f "UTIL7444.MAK". -!MESSAGE -!MESSAGE You can specify a configuration when running NMAKE -!MESSAGE by defining the macro CFG on the command line. For example: -!MESSAGE -!MESSAGE NMAKE /f "UTIL7444.MAK" CFG="util7444 - Win32 Release" -!MESSAGE -!MESSAGE Possible choices for configuration are: -!MESSAGE -!MESSAGE "util7444 - Win32 Release" (based on "Win32 (x86) Application") -!MESSAGE "util7444 - Win32 Debug" (based on "Win32 (x86) Application") -!MESSAGE - -# Begin Project -# PROP AllowPerConfigDependencies 0 -# PROP Scc_ProjName "" -# PROP Scc_LocalPath "" -CPP=cl.exe -MTL=midl.exe -RSC=rc.exe - -!IF "$(CFG)" == "util7444 - Win32 Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir ".\Release" -# PROP BASE Intermediate_Dir ".\Release" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "" -# PROP Intermediate_Dir ".\Release" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /YX /c -# ADD CPP /nologo /W3 /GX /Od /I "..\..\..\include" /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /FD /c -# SUBTRACT CPP /YX -# ADD BASE MTL /nologo /D "NDEBUG" /win32 -# ADD MTL /nologo /D "NDEBUG" /mktyplib203 /win32 -# ADD BASE RSC /l 0x409 /d "NDEBUG" -# ADD RSC /l 0x409 /d "NDEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:windows /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ..\..\..\lib\PCI-Dask.lib /nologo /subsystem:console /machine:I386 -# SUBTRACT LINK32 /pdb:none - -!ELSEIF "$(CFG)" == "util7444 - Win32 Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir ".\Debug" -# PROP BASE Intermediate_Dir ".\Debug" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir ".\Debug" -# PROP Intermediate_Dir ".\Debug" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /Gm /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /YX /c -# ADD CPP /nologo /MTd /W3 /Gm /GX /ZI /Od /I "..\..\..\include" /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /FR /FD /c -# ADD BASE MTL /nologo /D "_DEBUG" /win32 -# ADD MTL /nologo /D "_DEBUG" /mktyplib203 /win32 -# ADD BASE RSC /l 0x409 /d "_DEBUG" -# ADD RSC /l 0x409 /d "_DEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:windows /debug /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ..\..\..\lib\PCI-DASK.lib /nologo /subsystem:console /debug /machine:I386 -# SUBTRACT LINK32 /pdb:none - -!ENDIF - -# Begin Target - -# Name "util7444 - Win32 Release" -# Name "util7444 - Win32 Debug" -# Begin Group "Source Files" - -# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;idl;hpj;bat;for;f90" -# Begin Source File - -SOURCE=.\Util7444.c -# End Source File -# End Group -# Begin Group "Header Files" - -# PROP Default_Filter "h;hpp;hxx;hm;inl;fi;fd" -# End Group -# Begin Group "Resource Files" - -# PROP Default_Filter "ico;cur;bmp;dlg;rc2;rct;bin;cnt;rtf;gif;jpg;jpeg;jpe" -# End Group -# End Target -# End Project diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7444/C7444TTL_Port/UTIL7444.DSW b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7444/C7444TTL_Port/UTIL7444.DSW deleted file mode 100644 index 0d83fa9..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7444/C7444TTL_Port/UTIL7444.DSW +++ /dev/null @@ -1,29 +0,0 @@ -Microsoft Developer Studio Workspace File, Format Version 6.00 -# WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE! - -############################################################################### - -Project: "util7444"=.\UTIL7444.DSP - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ -}}} - -############################################################################### - -Global: - -Package=<5> -{{{ -}}} - -Package=<3> -{{{ -}}} - -############################################################################### - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7444/C7444TTL_Port/UTIL7444.exe b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7444/C7444TTL_Port/UTIL7444.exe deleted file mode 100644 index 490d890..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7444/C7444TTL_Port/UTIL7444.exe and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7444/C7444TTL_Port/Util7444.c b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7444/C7444TTL_Port/Util7444.c deleted file mode 100644 index 8d720b8..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7444/C7444TTL_Port/Util7444.c +++ /dev/null @@ -1,62 +0,0 @@ -#include -#include -#include -#include "dask.h" - - -void main(void) -{ - I16 card, err, card_num=0; - U16 in_value, out_value = 0; - - printf("This program output data from TTL0 to TTL1.\n"); - printf("Please input a card number: "); - scanf(" %d", &card_num); - - if ((card = Register_Card(PCI_7444, card_num)) <0 ) { - printf("Register_Card error=%d", card); - exit(1); - } - - err = DIO_PortConfig(card, P7444_TTL0, OUTPUT_PORT); - if(err!=NoError) { - printf("Input Port Config Error: %d\n",err); - exit(1); - } - - err = DIO_PortConfig(card, P7444_TTL1, INPUT_PORT); - if(err!=NoError) { - printf("Output Port Config Error: %d\n",err); - exit(1); - } - - do{ - system( "cls" ); - printf ("-------------------------------------------------\n"); - - err = DO_WritePort(card, P7444_TTL0, out_value); - if (err!=NoError) { - printf("DO_WritePort error=%d", err); - exit(1); - } - printf(" TTL0 output = 0x%x\n", out_value); - - err = DI_ReadPort(card, P7444_TTL1, &in_value); - if (err!=NoError) { - printf("DI_ReadPort error=%d", err); - exit(1); - } - printf(" TTL1 input = 0x%x\n", in_value); - - printf ("-------------------------------------------------\n"); - printf ("\n Press any key to stop...\n"); - - Sleep(200); - if(out_value < 0xffff) - out_value = (out_value + 1); - else - out_value = 0; - } while(!kbhit()); - - Release_Card(card); -} \ No newline at end of file diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7444/CDOOnePoint/CDIOnePoint.c b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7444/CDOOnePoint/CDIOnePoint.c deleted file mode 100644 index 5618e4e..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7444/CDOOnePoint/CDIOnePoint.c +++ /dev/null @@ -1,95 +0,0 @@ -#include -#include -#include -#include "dask.h" - -void main(void) -{ - I16 card, err, card_num=0; - U32 out_value = 1; - U32 in_value; - - printf("This program outputs data to DO Port 0/1/2/3\n"); - printf("Please input a card number: "); - scanf(" %d", &card_num); - - if ((card=Register_Card (PCI_7444, card_num)) <0 ) { - printf("Register_Card error=%d", card); - exit(1); - } - - do{ - system( "cls" ); - - printf ("-------------------------------------------------\n"); - - err = DO_WritePort(card, P7444_CH0, out_value); - if (err!=NoError) { - printf("DO_WritePort error=%d", err); - exit(1); - } - printf(" P0 output = 0x%x\n", out_value); - - err = DO_WritePort(card, P7444_CH1, out_value); - if (err!=NoError) { - printf("DO_WritePort error=%d", err); - exit(1); - } - printf(" P1 output = 0x%x\n", out_value); - - err = DO_WritePort(card, P7444_CH2, out_value); - if (err!=NoError) { - printf("DO_WritePort error=%d", err); - exit(1); - } - printf(" P2 output = 0x%x\n", out_value); - - err = DO_WritePort(card, P7444_CH3, out_value); - if (err!=NoError) { - printf("DO_WritePort error=%d", err); - exit(1); - } - printf(" P3 output = 0x%x\n", out_value); - - - printf ("-------------------------------------------------\n"); - - - err = DO_ReadPort (card, P7444_CH0, &in_value); - if (err!=NoError) { - printf("DO_ReadPort error=%d", err); - exit(1); - } - printf(" P0 input = 0x%x\n", in_value); - - err = DO_ReadPort (card, P7444_CH1, &in_value); - if (err!=NoError) { - printf("DO_ReadPort error=%d", err); - exit(1); - } - printf(" P1 input = 0x%x\n", in_value); - - err = DO_ReadPort (card, P7444_CH2, &in_value); - if (err!=NoError) { - printf("DO_ReadPort error=%d", err); - exit(1); - } - printf(" P2 input = 0x%x\n", in_value); - - err = DO_ReadPort (card, P7444_CH3, &in_value); - if (err!=NoError) { - printf("DO_ReadPort error=%d", err); - exit(1); - } - printf(" P3 input = 0x%x\n", in_value); - - Sleep(500); - - if(out_value < 0x80000000) - out_value = out_value<<1; - else - out_value = 1; - } while(!kbhit()); - - Release_Card(card); -} diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7444/CDOOnePoint/CDIOnePoint.dsp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7444/CDOOnePoint/CDIOnePoint.dsp deleted file mode 100644 index 84e1026..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7444/CDOOnePoint/CDIOnePoint.dsp +++ /dev/null @@ -1,93 +0,0 @@ -# Microsoft Developer Studio Project File - Name="CDIOnePoint" - Package Owner=<4> -# Microsoft Developer Studio Generated Build File, Format Version 6.00 -# ** DO NOT EDIT ** - -# TARGTYPE "Win32 (x86) Console Application" 0x0103 - -CFG=CDIOnePoint - Win32 Debug -!MESSAGE This is not a valid makefile. To build this project using NMAKE, -!MESSAGE use the Export Makefile command and run -!MESSAGE -!MESSAGE NMAKE /f "CDIOnePoint.mak". -!MESSAGE -!MESSAGE You can specify a configuration when running NMAKE -!MESSAGE by defining the macro CFG on the command line. For example: -!MESSAGE -!MESSAGE NMAKE /f "CDIOnePoint.mak" CFG="CDIOnePoint - Win32 Debug" -!MESSAGE -!MESSAGE Possible choices for configuration are: -!MESSAGE -!MESSAGE "CDIOnePoint - Win32 Release" (based on "Win32 (x86) Console Application") -!MESSAGE "CDIOnePoint - Win32 Debug" (based on "Win32 (x86) Console Application") -!MESSAGE - -# Begin Project -# PROP AllowPerConfigDependencies 0 -# PROP Scc_ProjName "" -# PROP Scc_LocalPath "" -CPP=cl.exe -RSC=rc.exe - -!IF "$(CFG)" == "CDIOnePoint - Win32 Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "Release" -# PROP BASE Intermediate_Dir "Release" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "" -# PROP Intermediate_Dir "Release" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c -# ADD CPP /nologo /W3 /GX /Od /I "..\..\..\include" /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /FD /c -# SUBTRACT CPP /YX -# ADD BASE RSC /l 0x404 /d "NDEBUG" -# ADD RSC /l 0x404 /d "NDEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ..\..\..\lib\pci-dask.lib /nologo /subsystem:console /machine:I386 -# SUBTRACT LINK32 /incremental:yes - -!ELSEIF "$(CFG)" == "CDIOnePoint - Win32 Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "Debug" -# PROP BASE Intermediate_Dir "Debug" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "Debug" -# PROP Intermediate_Dir "Debug" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /Gm /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c -# ADD CPP /nologo /W3 /Gm /GX /ZI /Od /I "..\..\..\include" /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /FD /c -# SUBTRACT CPP /YX -# ADD BASE RSC /l 0x404 /d "_DEBUG" -# ADD RSC /l 0x404 /d "_DEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ..\..\..\lib\pci-dask.lib /nologo /subsystem:console /incremental:no /debug /machine:I386 /pdbtype:sept - -!ENDIF - -# Begin Target - -# Name "CDIOnePoint - Win32 Release" -# Name "CDIOnePoint - Win32 Debug" -# Begin Source File - -SOURCE=.\CDIOnePoint.c -# End Source File -# End Target -# End Project diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7444/CDOOnePoint/CDIOnePoint.dsw b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7444/CDOOnePoint/CDIOnePoint.dsw deleted file mode 100644 index a999838..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7444/CDOOnePoint/CDIOnePoint.dsw +++ /dev/null @@ -1,29 +0,0 @@ -Microsoft Developer Studio Workspace File, Format Version 6.00 -# WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE! - -############################################################################### - -Project: "CDIOnePoint"=.\CDIOnePoint.dsp - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ -}}} - -############################################################################### - -Global: - -Package=<5> -{{{ -}}} - -Package=<3> -{{{ -}}} - -############################################################################### - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7444/CDOOnePoint/CDIOnePoint.exe b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7444/CDOOnePoint/CDIOnePoint.exe deleted file mode 100644 index 3e39f59..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7444/CDOOnePoint/CDIOnePoint.exe and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7444/CWdtOvflow/WdtOvflow.c b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7444/CWdtOvflow/WdtOvflow.c deleted file mode 100644 index 58c9c6a..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7444/CWdtOvflow/WdtOvflow.c +++ /dev/null @@ -1,129 +0,0 @@ -#include -#include -#include "dask.h" - - -void main() -{ - I16 card, err; - U16 card_num; - U32 pattern0, pattern1, pattern2, pattern3, result; - U32 waitMS; - F32 rt; - - HANDLE hWDTEvent = NULL; - HANDLE hWDTEvent2[2]; - - printf("Please input a card number: "); - scanf(" %d", &card_num); - - if ((card=Register_Card (PCI_7444, card_num)) <0 ) { - printf("Register_Card error=%d\n", card); - exit(1); - } - - printf("Please input the WDT SafetyOut Pattern of CH0: "); - scanf("%x",&pattern0); - printf("Please input the WDT SafetyOut Pattern of CH1: "); - scanf("%x",&pattern1); - printf("Please input the WDT SafetyOut Pattern of CH2: "); - scanf("%x",&pattern2); - printf("Please input the WDT SafetyOut Pattern of CH3: "); - scanf("%x",&pattern3); - - /*Set SafetyOut Pattern for Channel 0/1/2/3*/ - err = SetInitPattern (card, SAFTOUT_PTN_CH0, pattern0); - if(err != NoError) { - printf("setpattern err %d!", err); - Release_Card(card); - exit(1); - } - err = SetInitPattern (card, SAFTOUT_PTN_CH1, pattern1); - if(err != NoError) { - printf("setpattern err %d!", err); - Release_Card(card); - exit(1); - } - err = SetInitPattern (card, SAFTOUT_PTN_CH2, pattern2); - if(err != NoError) { - printf("setpattern err %d!", err); - Release_Card(card); - exit(1); - } - err = SetInitPattern (card, SAFTOUT_PTN_CH3, pattern3); - if(err != NoError) { - printf("setpattern err %d!", err); - Release_Card(card); - exit(1); - } - - /*Set Watch-Dog Timer to 5.0 Sec.*/ - err = WDT_Setup (card, 0|WDT_OVRFLOW_SAFETYOUT, 5.0, &rt, &hWDTEvent); - if(err != NoError) { - printf("WDT_Setup err %d!", err); - Release_Card(card); - exit(1); - } - - /*Enable Watch-Dog Timer*/ - err = WDT_Control (card, 0, WDT_ARM); - if(err != NoError) { - printf("WDT_Control err %d!", err); - Release_Card(card); - exit(1); - } - // WDT_Control function can be replaced by the following function, DIO_SetDualInterrupt, - // to enable the WDT interrupt and wait for the hWDTEvent2[1] handle. - // Also, DIO_SetDualInterrupt should be used to disable WDT interrupt. - /* - err = DIO_SetDualInterrupt (card, INT1_DISABLE, INT2_WDT, hWDTEvent2); - if(err != NoError) { - printf("DIO_SetDualInterrupt err %d!", err); - Release_Card(card); - exit(1); - } - */ - - // you can use the following function for reloading WDT counter before WDT overflow - /*Reload Watch-Dog Timer to 1.0 Sec.*/ - err = WDT_Reload (card, 0, 1.0, &rt); - if(err != NoError) { - printf("WDT_Reload err %d!", err); - Release_Card(card); - exit(1); - } - - - /*Wait Event*/ - printf("\nWDT will overflow after %.4f seconds ...\n", rt); - waitMS = (U32) rt*1000*2; - result = WaitForSingleObject(hWDTEvent/*hWDTEvent2[1]*/, waitMS); - - if (result == WAIT_OBJECT_0) { - printf("\nWDT is overflowed !!\n"); - DO_ReadPort (card, P7444_CH0, &result); - printf("\nThe CH0 current pattern is : %x\n", result); - DO_ReadPort (card, P7444_CH1, &result); - printf("The CH1 current pattern is : %x\n", result); - DO_ReadPort (card, P7444_CH2, &result); - printf("The CH2 current pattern is : %x\n", result); - DO_ReadPort (card, P7444_CH3, &result); - printf("The CH3 current pattern is : %x\n", result); - - printf("\nPress any key to continue ...\n"); - getch(); - } - else if(result == WAIT_TIMEOUT) { - printf("\nWait Failed ...\n"); - } - else - printf("\nWaitForSingleObject error %d ...\n", GetLastError()); - - /*Disable Watch-dog Timer*/ - WDT_Control (card, 0, WDT_DISARM); - /* - DIO_SetDualInterrupt (card, INT1_DISABLE, INT2_DISABLE, NULL); - */ - - Release_Card(card); -} \ No newline at end of file diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7444/CWdtOvflow/WdtOvflow.dsp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7444/CWdtOvflow/WdtOvflow.dsp deleted file mode 100644 index 9e76dc3..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7444/CWdtOvflow/WdtOvflow.dsp +++ /dev/null @@ -1,92 +0,0 @@ -# Microsoft Developer Studio Project File - Name="WdtOvflow" - Package Owner=<4> -# Microsoft Developer Studio Generated Build File, Format Version 6.00 -# ** DO NOT EDIT ** - -# TARGTYPE "Win32 (x86) Console Application" 0x0103 - -CFG=WdtOvflow - Win32 Debug -!MESSAGE This is not a valid makefile. To build this project using NMAKE, -!MESSAGE use the Export Makefile command and run -!MESSAGE -!MESSAGE NMAKE /f "WdtOvflow.mak". -!MESSAGE -!MESSAGE You can specify a configuration when running NMAKE -!MESSAGE by defining the macro CFG on the command line. For example: -!MESSAGE -!MESSAGE NMAKE /f "WdtOvflow.mak" CFG="WdtOvflow - Win32 Debug" -!MESSAGE -!MESSAGE Possible choices for configuration are: -!MESSAGE -!MESSAGE "WdtOvflow - Win32 Release" (based on "Win32 (x86) Console Application") -!MESSAGE "WdtOvflow - Win32 Debug" (based on "Win32 (x86) Console Application") -!MESSAGE - -# Begin Project -# PROP AllowPerConfigDependencies 0 -# PROP Scc_ProjName "" -# PROP Scc_LocalPath "" -CPP=cl.exe -RSC=rc.exe - -!IF "$(CFG)" == "WdtOvflow - Win32 Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "Release" -# PROP BASE Intermediate_Dir "Release" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "" -# PROP Intermediate_Dir "Release" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c -# ADD CPP /nologo /W3 /GX /O2 /I "..\..\include" /I "..\..\..\include" /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /FD /c -# SUBTRACT CPP /YX -# ADD BASE RSC /l 0x404 /d "NDEBUG" -# ADD RSC /l 0x409 /d "NDEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ..\..\..\lib\pci-dask.lib /nologo /subsystem:console /machine:I386 - -!ELSEIF "$(CFG)" == "WdtOvflow - Win32 Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "Debug" -# PROP BASE Intermediate_Dir "Debug" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "Debug" -# PROP Intermediate_Dir "Debug" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /Gm /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c -# ADD CPP /nologo /W3 /Gm /GX /ZI /Od /I "..\..\..\include" /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /FD /c -# SUBTRACT CPP /YX -# ADD BASE RSC /l 0x404 /d "_DEBUG" -# ADD RSC /l 0x409 /d "_DEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ..\..\..\lib\pci-dask.lib /nologo /subsystem:console /incremental:no /debug /machine:I386 /pdbtype:sept - -!ENDIF - -# Begin Target - -# Name "WdtOvflow - Win32 Release" -# Name "WdtOvflow - Win32 Debug" -# Begin Source File - -SOURCE=.\WdtOvflow.c -# End Source File -# End Target -# End Project diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7444/CWdtOvflow/WdtOvflow.dsw b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7444/CWdtOvflow/WdtOvflow.dsw deleted file mode 100644 index 4bb6670..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7444/CWdtOvflow/WdtOvflow.dsw +++ /dev/null @@ -1,29 +0,0 @@ -Microsoft Developer Studio Workspace File, Format Version 6.00 -# WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE! - -############################################################################### - -Project: "WdtOvflow"=.\WdtOvflow.dsp - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ -}}} - -############################################################################### - -Global: - -Package=<5> -{{{ -}}} - -Package=<3> -{{{ -}}} - -############################################################################### - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7444/CWdtOvflow/WdtOvflow.exe b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7444/CWdtOvflow/WdtOvflow.exe deleted file mode 100644 index 7129716..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7444/CWdtOvflow/WdtOvflow.exe and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7444/SDK7444TTL/Resource.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7444/SDK7444TTL/Resource.h deleted file mode 100644 index b0621b8..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7444/SDK7444TTL/Resource.h +++ /dev/null @@ -1,19 +0,0 @@ -//{{NO_DEPENDENCIES}} -// Microsoft Developer Studio generated include file. -// Used by Util7444.rc -// -#define IDD_DIALOG1 101 -#define IDM_EXIT 110 -#define IDC_COMBO1 1015 -#define IDC_STATIC -1 - -// Next default values for new objects -// -#ifdef APSTUDIO_INVOKED -#ifndef APSTUDIO_READONLY_SYMBOLS -#define _APS_NEXT_RESOURCE_VALUE 102 -#define _APS_NEXT_COMMAND_VALUE 101 -#define _APS_NEXT_CONTROL_VALUE 1000 -#define _APS_NEXT_SYMED_VALUE 101 -#endif -#endif diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7444/SDK7444TTL/Util7444.c b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7444/SDK7444TTL/Util7444.c deleted file mode 100644 index be06773..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7444/SDK7444TTL/Util7444.c +++ /dev/null @@ -1,381 +0,0 @@ -/*;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; -;; Copyright (c) 1999, ADLink Technology Inc. All rights reserved. ;; -;; ;; -;; File Name : Util7444.C ;; -;; Purpose : This sample program demonstrate how to operate ;; -;; DI & DO for PCI-7444 ;; -;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;*/ - -#include -#include -#include -#include -#include -#include -#include "resource.h" -#include "Dask.h" - -#define IDM_EXIT 110 -#define TIMER1 1 -#define IDC_CHAN 214 -#define IDC_CHAN2 215 - -int PASCAL WinMain(HANDLE, HANDLE, LPSTR, int); -long PASCAL MainWndProc(HWND, UINT, WPARAM, LPARAM); - -HANDLE hInst; -HWND hInChanComboBox, hOutChanComboBox; -U32 input[2] = {0, 0}; -U32 output[2] = {0, 0}; -I16 card=-1, card_number=0; -U16 iPort=0, oPort=1; // default - -HBRUSH hLTGreenBrush,hGreenBrush,hBlueBrush,hYellowBrush,hRedBrush; - -POINT input_pos[16]= {{320, 100}, {300, 100}, - {280, 100}, {260, 100}, - {240, 100}, {220, 100}, - {200, 100}, {180, 100}, - {160, 100}, {140, 100}, - {120, 100}, {100, 100}, - { 80, 100}, { 60, 100}, - { 40, 100}, { 20, 100} - }; - -POINT output_pos[16] ={ - {320, 200}, {300, 200}, - {280, 200}, {260, 200}, - {240, 200}, {220, 200}, - {200, 200}, {180, 200}, - {160, 200}, {140, 200}, - {120, 200}, {100, 200}, - { 80, 200}, { 60, 200}, - { 40, 200}, { 20, 200} - }; - -BOOL InitApplication(HANDLE); -BOOL InitInstance(HANDLE, int); - -int PASCAL WinMain(hInstance, hPrevInstance, lpCmdLine, nCmdShow) -HANDLE hInstance, hPrevInstance; -LPSTR lpCmdLine; -int nCmdShow; -{ - MSG msg; - - if (!hPrevInstance) - if (!InitApplication(hInstance)) return(FALSE); - if (!InitInstance(hInstance, nCmdShow)) return(FALSE); - while (GetMessage(&msg, NULL, NULL, NULL)) { - TranslateMessage(&msg); - DispatchMessage(&msg); - } - return(msg.wParam); -} - -BOOL InitApplication(hInstance) -HANDLE hInstance; -{ - WNDCLASS wc; - - /* Main Window Class */ - wc.style = NULL; - wc.lpfnWndProc = (WNDPROC)MainWndProc; - wc.cbClsExtra = 0; - wc.cbWndExtra = 0; - wc.hInstance = hInstance; - wc.hIcon = LoadIcon(hInstance, "MyIcon"); - wc.hCursor = LoadCursor(NULL, IDC_ARROW); - wc.hbrBackground = GetStockObject(LTGRAY_BRUSH); - wc.lpszMenuName = NULL; - wc.lpszClassName = "GenericWClass"; - if (!RegisterClass(&wc)) return(FALSE); -} - -BOOL InitInstance(hInstance, nCmdShow) -HANDLE hInstance; -int nCmdShow; -{ - HWND hWnd; - HMENU hSampleMenu; - - hInst = hInstance; - hSampleMenu = LoadMenu(hInstance, "U7444Menu"); - hWnd = CreateWindow("GenericWClass", - (LPCSTR)"PCI-7444", - WS_OVERLAPPEDWINDOW, - CW_USEDEFAULT, - CW_USEDEFAULT, - 370, - 340, - NULL, - hSampleMenu, - hInstance, - NULL); - if (!hWnd) return(FALSE); - ShowWindow(hWnd, nCmdShow); - UpdateWindow(hWnd); - return(TRUE); -} - -BOOL PASCAL setup(HWND hWnd, unsigned message, WPARAM wParam, LPARAM lParam) -{ - int i; - char n[16]; - char s[50]; - switch (message) { - case WM_INITDIALOG: - for (i=0;i<16;i++) { - wsprintf(n, "%d", i); - _strupr(n); - SendMessage(GetDlgItem(hWnd,IDC_COMBO1), CB_ADDSTRING, NULL, (LONG)(LPSTR) n); - } - SendMessage(GetDlgItem(hWnd,IDC_COMBO1) , CB_SETCURSEL, 0, 0L); - - break; - case WM_COMMAND: - switch(LOWORD(wParam)) { - case IDC_COMBO1: - if (HIWORD(wParam) == CBN_CLOSEUP) { - i = (int)SendMessage(GetDlgItem(hWnd,IDC_COMBO1), CB_GETCURSEL, 0, 0L); - SendMessage(GetDlgItem(hWnd,IDC_COMBO1), CB_GETLBTEXT, i, (LPARAM)((LPCSTR)n)); - card_number = i; - } - return(TRUE); - case IDOK: - if ((card=Register_Card(PCI_7444, card_number)) < 0) { - wsprintf(s, "Register_Card Error = %d\n", card); - MessageBox(hWnd, s, "Error", MB_OK); - } - EndDialog(hWnd, TRUE); - InvalidateRect(hWnd, NULL, FALSE); - return (TRUE); - case IDCANCEL: - EndDialog(hWnd, TRUE); - return (TRUE); - } - break; - } - return (FALSE); -} - -long PASCAL MainWndProc(hWnd, message, wParam, lParam) -HWND hWnd; -UINT message; -WPARAM wParam; -LPARAM lParam; -{ - HDC hDC; - PAINTSTRUCT ps; - int i, px, py; - char n[16]; - - switch(message) { - case WM_CREATE: - DialogBox(hInst,IDD_DIALOG1, hWnd, setup); - if(card<0) { - SendMessage(hWnd, WM_CLOSE, 0, 0L); - break; - } - - hInChanComboBox = CreateWindow("ComboBox", NULL, - CBS_DROPDOWNLIST | WS_CHILD | WS_VISIBLE | WS_VSCROLL, - input_pos[10].x-10, input_pos[10].y-35, 60, 80, hWnd, IDC_CHAN, hInst, NULL); - for (i=0;i<2;i++) { - wsprintf(n, "TTL%d", i); - _strupr(n); - SendMessage(hInChanComboBox, CB_ADDSTRING, i, (LPARAM)((LPCSTR)n)); - } - SendMessage(hInChanComboBox ,CB_SETCURSEL, 0, 0L); - - hOutChanComboBox = CreateWindow("ComboBox", NULL, - CBS_DROPDOWNLIST | WS_CHILD | WS_VISIBLE | WS_VSCROLL, - output_pos[10].x, output_pos[10].y-35, 60, 80, hWnd, IDC_CHAN2, hInst, NULL); - for (i=0;i<2;i++) { - wsprintf(n, "TTL%d", i); - _strupr(n); - SendMessage(hOutChanComboBox, CB_ADDSTRING, i, (LPARAM)((LPCSTR)n)); - } - SendMessage(hOutChanComboBox ,CB_SETCURSEL, 1, 0L); - - DIO_PortConfig(card, iPort+4, INPUT_PORT); - DIO_PortConfig(card, oPort+4, OUTPUT_PORT); - - hLTGreenBrush = CreateSolidBrush(RGB(0, 255, 0)); - hGreenBrush = CreateSolidBrush(RGB(0, 128, 0)); - hBlueBrush = CreateSolidBrush(RGB(0, 0, 255)); - hRedBrush = CreateSolidBrush(RGB(255, 0, 0)); - SetTimer(hWnd, TIMER1, 50, NULL); - srand((unsigned)time(NULL)); - break; - case WM_PAINT: - hDC = BeginPaint(hWnd, &ps); - // Digital Input Box - SelectObject(hDC, hLTGreenBrush); - Rectangle(hDC, input_pos[15].x-10, input_pos[15].y-24, input_pos[0].x+26, input_pos[0].y+40); - SetTextColor(hDC,RGB(255,255,255)); - SetBkColor(hDC, RGB(0, 0, 255)); - TextOut(hDC, input_pos[15].x, input_pos[15].y-30, "Digital Input#",14); - // Digital Output Box - SelectObject(hDC, hGreenBrush); - Rectangle(hDC, output_pos[15].x-10, output_pos[15].y-24, output_pos[0].x+26, output_pos[0].y+40); - SetTextColor(hDC,RGB(255,0,0)); - SetBkColor(hDC, RGB(0, 0, 255)); - TextOut(hDC, output_pos[15].x, output_pos[15].y-30, "Digital Output#", 15); - // - SelectObject(hDC, hLTGreenBrush); - SetTextColor(hDC,RGB(255,255,255)); - SetBkColor(hDC, RGB(0, 0, 255)); - TextOut(hDC, input_pos[15].x, input_pos[15].y-80, "Select TTL port 0 or 1 for DI or DO",35); - - // Channel Label - SetTextColor(hDC,RGB(0,0,0)); - SetBkColor(hDC, RGB(0, 255, 0)); - TextOut(hDC, input_pos[15].x, input_pos[15].y+16, "15 0", 75); - SetBkColor(hDC, RGB(0, 128, 0)); - TextOut(hDC, output_pos[15].x, output_pos[15].y+16, "15 0", 75); - SetBkColor(hDC, RGB(0, 255, 0)); - - for (i=0; i<16; i++) { - if ((input[iPort]>>i)&0x01) - SelectObject(hDC, hRedBrush); - else - SelectObject(hDC, GetStockObject(WHITE_BRUSH)); - //SelectObject(hDC, GetStockObject(WHITE_BRUSH)); - Ellipse(hDC, input_pos[i].x, input_pos[i].y, input_pos[i].x+17, input_pos[i].y+17); - } - for (i=0; i<16; i++) { - if ((output[oPort]>>i)&0x01) - SelectObject(hDC, hRedBrush); - else - SelectObject(hDC, GetStockObject(WHITE_BRUSH)); - //SelectObject(hDC, GetStockObject(WHITE_BRUSH)); - Ellipse(hDC, output_pos[i].x, output_pos[i].y, output_pos[i].x+17, output_pos[i].y+17); - } - EndPaint(hWnd, &ps); - break; - case WM_COMMAND: - switch(LOWORD(wParam)) { - case IDM_EXIT: - SendMessage(hWnd, WM_CLOSE, 0, 0L); - break; - case IDC_CHAN: - if (HIWORD(wParam) == CBN_CLOSEUP) { - if ((i=(int)SendMessage(GetDlgItem(hWnd,IDC_CHAN),CB_GETCURSEL, 0, 0L))>=0 ) { - if(i==0){ - iPort=0; - oPort=1; - } - else{ - iPort=1; - oPort=0; - } - SendMessage(hOutChanComboBox ,CB_SETCURSEL, oPort, 0L); - DIO_PortConfig(card, iPort+4, INPUT_PORT); - DIO_PortConfig(card, oPort+4, OUTPUT_PORT); - - output[oPort] = 0; - hDC = GetDC(hWnd); - SelectObject(hDC, GetStockObject(WHITE_BRUSH)); - for(i=0; i<16; i++) - Ellipse(hDC, output_pos[i].x, output_pos[i].y, output_pos[i].x+17, output_pos[i].y+17); - ReleaseDC(hWnd, hDC); - - if(oPort == 0) - DO_WritePort(card,P7444_TTL0, output[oPort]); - else - DO_WritePort(card,P7444_TTL1, output[oPort]); - - ReleaseDC(hWnd, hDC); - } - } - break; - case IDC_CHAN2: - if (HIWORD(wParam) == CBN_CLOSEUP) { - if ((i=(int)SendMessage(GetDlgItem(hWnd,IDC_CHAN2),CB_GETCURSEL, 0, 0L))>=0 ) { - if(i==0){ - oPort=0; - iPort=1; - } - else{ - oPort=1; - iPort=0; - } - SendMessage(hInChanComboBox ,CB_SETCURSEL, iPort, 0L); - - DIO_PortConfig(card, iPort+4, INPUT_PORT); - DIO_PortConfig(card, oPort+4, OUTPUT_PORT); - - output[oPort] = 0; - hDC = GetDC(hWnd); - SelectObject(hDC, GetStockObject(WHITE_BRUSH)); - for(i=0; i<16; i++) - Ellipse(hDC, output_pos[i].x, output_pos[i].y, output_pos[i].x+17, output_pos[i].y+17); - ReleaseDC(hWnd, hDC); - - if(oPort == 0) - DO_WritePort(card,P7444_TTL0, output[oPort]); - else - DO_WritePort(card,P7444_TTL1, output[oPort]); - } - } - break; - default: - return(DefWindowProc(hWnd, message, wParam, lParam)); - } - break; - case WM_TIMER: - /* Digital Input */ - if(iPort == 0) - DI_ReadPort(card,P7444_TTL0,&input[iPort]); - else - DI_ReadPort(card,P7444_TTL1,&input[iPort]); - hDC = GetDC(hWnd); - for (i=0; i<16; i++) { - if ((input[iPort]>>i)&0x01) - SelectObject(hDC, hRedBrush); - else - SelectObject(hDC, GetStockObject(WHITE_BRUSH)); - Ellipse(hDC, input_pos[i].x, input_pos[i].y, input_pos[i].x+17, input_pos[i].y+17); - } - ReleaseDC(hWnd, hDC); - break; - case WM_DESTROY: - DeleteObject(hRedBrush); - DeleteObject(hGreenBrush); - DeleteObject(hLTGreenBrush); - KillTimer(hWnd, TIMER1); - PostQuitMessage(0); - break; - case WM_LBUTTONDOWN: - px = LOWORD(lParam); - py = HIWORD(lParam); - for (i=0; i<16; i++) { - if (px>output_pos[i].x && pxoutput_pos[i].y && py>i)&0x01) { - output[oPort] -= ((1L)< -# Microsoft Developer Studio Generated Build File, Format Version 6.00 -# ** DO NOT EDIT ** - -# TARGTYPE "Win32 (x86) Application" 0x0101 - -CFG=Util7444 - Win32 Release -!MESSAGE This is not a valid makefile. To build this project using NMAKE, -!MESSAGE use the Export Makefile command and run -!MESSAGE -!MESSAGE NMAKE /f "Util7444.mak". -!MESSAGE -!MESSAGE You can specify a configuration when running NMAKE -!MESSAGE by defining the macro CFG on the command line. For example: -!MESSAGE -!MESSAGE NMAKE /f "Util7444.mak" CFG="Util7444 - Win32 Release" -!MESSAGE -!MESSAGE Possible choices for configuration are: -!MESSAGE -!MESSAGE "Util7444 - Win32 Release" (based on "Win32 (x86) Application") -!MESSAGE "Util7444 - Win32 Debug" (based on "Win32 (x86) Application") -!MESSAGE - -# Begin Project -# PROP AllowPerConfigDependencies 0 -# PROP Scc_ProjName "" -# PROP Scc_LocalPath "" -CPP=cl.exe -MTL=midl.exe -RSC=rc.exe - -!IF "$(CFG)" == "Util7444 - Win32 Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir ".\Release" -# PROP BASE Intermediate_Dir ".\Release" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "" -# PROP Intermediate_Dir ".\Release" -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /YX /c -# ADD CPP /nologo /W3 /GX /O2 /I "..\..\..\include" /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /FD /c -# SUBTRACT CPP /YX -# ADD BASE MTL /nologo /D "NDEBUG" /win32 -# ADD MTL /nologo /D "NDEBUG" /mktyplib203 /win32 -# ADD BASE RSC /l 0x404 /d "NDEBUG" -# ADD RSC /l 0x404 /d "NDEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:windows /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ..\..\..\lib\PCI-DASK.lib /nologo /subsystem:windows /machine:I386 - -!ELSEIF "$(CFG)" == "Util7444 - Win32 Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir ".\Debug" -# PROP BASE Intermediate_Dir ".\Debug" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir ".\Debug" -# PROP Intermediate_Dir ".\Debug" -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /Gm /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /YX /c -# ADD CPP /nologo /W3 /Gm /GX /ZI /Od /I "..\..\..\include" /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /FD /c -# SUBTRACT CPP /YX -# ADD BASE MTL /nologo /D "_DEBUG" /win32 -# ADD MTL /nologo /D "_DEBUG" /mktyplib203 /win32 -# ADD BASE RSC /l 0x404 /d "_DEBUG" -# ADD RSC /l 0x404 /d "_DEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:windows /debug /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ..\..\..\lib\PCI-DASK.lib /nologo /subsystem:windows /debug /machine:I386 - -!ENDIF - -# Begin Target - -# Name "Util7444 - Win32 Release" -# Name "Util7444 - Win32 Debug" -# Begin Group "Source Files" - -# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;hpj;bat;for;f90" -# Begin Source File - -SOURCE=.\util7444.c -# End Source File -# End Group -# Begin Group "Header Files" - -# PROP Default_Filter "h;hpp;hxx;hm;inl;fi;fd" -# End Group -# Begin Group "Resource Files" - -# PROP Default_Filter "ico;cur;bmp;dlg;rc2;rct;bin;cnt;rtf;gif;jpg;jpeg;jpe" -# Begin Source File - -SOURCE=.\util7444.rc -# End Source File -# End Group -# End Target -# End Project diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7444/SDK7444TTL/Util7444.dsw b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7444/SDK7444TTL/Util7444.dsw deleted file mode 100644 index 9c1b4ad..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7444/SDK7444TTL/Util7444.dsw +++ /dev/null @@ -1,29 +0,0 @@ -Microsoft Developer Studio Workspace File, Format Version 6.00 -# WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE! - -############################################################################### - -Project: "Util7444"=.\Util7444.dsp - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ -}}} - -############################################################################### - -Global: - -Package=<5> -{{{ -}}} - -Package=<3> -{{{ -}}} - -############################################################################### - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7444/SDK7444TTL/Util7444.exe b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7444/SDK7444TTL/Util7444.exe deleted file mode 100644 index e0bd3e5..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7444/SDK7444TTL/Util7444.exe and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7444/SDK7444TTL/Util7444.rc b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7444/SDK7444TTL/Util7444.rc deleted file mode 100644 index aef7a40..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7444/SDK7444TTL/Util7444.rc +++ /dev/null @@ -1,115 +0,0 @@ -//Microsoft Developer Studio generated resource script. -// -#include "resource.h" - -#define APSTUDIO_READONLY_SYMBOLS -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 2 resource. -// -#define APSTUDIO_HIDDEN_SYMBOLS -#include "windows.h" -#undef APSTUDIO_HIDDEN_SYMBOLS - -///////////////////////////////////////////////////////////////////////////// -#undef APSTUDIO_READONLY_SYMBOLS - -///////////////////////////////////////////////////////////////////////////// -// English (U.S.) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -#ifdef _WIN32 -LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US -#pragma code_page(1252) -#endif //_WIN32 - -///////////////////////////////////////////////////////////////////////////// -// -// Menu -// - -U7444MENU MENU DISCARDABLE -BEGIN - MENUITEM "E&xit!", IDM_EXIT -END - - -#ifdef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// TEXTINCLUDE -// - -1 TEXTINCLUDE DISCARDABLE -BEGIN - "resource.h\0" -END - -2 TEXTINCLUDE DISCARDABLE -BEGIN - "#define APSTUDIO_HIDDEN_SYMBOLS\r\n" - "#include ""windows.h""\r\n" - "#undef APSTUDIO_HIDDEN_SYMBOLS\r\n" - "\0" -END - -3 TEXTINCLUDE DISCARDABLE -BEGIN - "\r\n" - "\0" -END - -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog -// - -IDD_DIALOG1 DIALOG DISCARDABLE 110, 10, 106, 61 -STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "Card Number" -FONT 10, "System" -BEGIN - DEFPUSHBUTTON "OK",IDOK,10,40,37,14 - PUSHBUTTON "Cancel",IDCANCEL,61,40,38,14 - LTEXT "Card Number",IDC_STATIC,3,13,47,13 - COMBOBOX IDC_COMBO1,51,13,48,84,CBS_DROPDOWN | WS_VSCROLL | - WS_TABSTOP -END - - -///////////////////////////////////////////////////////////////////////////// -// -// DESIGNINFO -// - -#ifdef APSTUDIO_INVOKED -GUIDELINES DESIGNINFO DISCARDABLE -BEGIN - IDD_DIALOG1, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 99 - TOPMARGIN, 7 - BOTTOMMARGIN, 54 - END -END -#endif // APSTUDIO_INVOKED - -#endif // English (U.S.) resources -///////////////////////////////////////////////////////////////////////////// - - - -#ifndef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 3 resource. -// - - -///////////////////////////////////////////////////////////////////////////// -#endif // not APSTUDIO_INVOKED - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7444/SDK744XDIO/Util744X.c b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7444/SDK744XDIO/Util744X.c deleted file mode 100644 index c001abb..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7444/SDK744XDIO/Util744X.c +++ /dev/null @@ -1,408 +0,0 @@ -/*;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; -;; Copyright (c) 1999, ADLink Technology Inc. All rights reserved. ;; -;; ;; -;; File Name : Util744X.C ;; -;; Purpose : This sample program demonstrate how to operate ;; -;; DI & DO for PCI-744X ;; -;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;*/ - -#include -#include -#include -#include -#include -#include -#include "resource.h" -#include "Dask.h" - -#define IDM_EXIT 110 -#define TIMER1 1 -#define IDC_CHAN 214 -#define IDC_CHAN2 215 - -int PASCAL WinMain(HANDLE, HANDLE, LPSTR, int); -long PASCAL MainWndProc(HWND, UINT, WPARAM, LPARAM); - -HANDLE hInst; -HWND hChanComboBox, hOutChanComboBox; -U32 input[4]={0, 0, 0, 0}, output[4]={0, 0, 0, 0}; -U32 oldinput[4]={0, 0, 0, 0} ; -I16 card_7443=-1, card_number_7443 = -1; -I16 card_7444=-1, card_number_7444 = -1; -U16 iPort=0, oPort=0; - -HBRUSH hLTGreenBrush,hGreenBrush,hBlueBrush,hYellowBrush,hRedBrush; - -POINT input_pos[32]= {{320, 80}, {300, 80}, - {280, 80}, {260, 80}, - {240, 80}, {220, 80}, - {200, 80}, {180, 80}, - {160, 80}, {140, 80}, - {120, 80}, {100, 80}, - { 80, 80}, { 60, 80}, - { 40, 80}, { 20, 80}, - {320, 40}, {300, 40}, - {280, 40}, {260, 40}, - {240, 40}, {220, 40}, - {200, 40}, {180, 40}, - {160, 40}, {140, 40}, - {120, 40}, {100, 40}, - { 80, 40}, { 60, 40}, - { 40, 40}, { 20, 40} - }; -POINT output_pos[32] ={ - {320, 200}, {300, 200}, - {280, 200}, {260, 200}, - {240, 200}, {220, 200}, - {200, 200}, {180, 200}, - {160, 200}, {140, 200}, - {120, 200}, {100, 200}, - { 80, 200}, { 60, 200}, - { 40, 200}, { 20, 200}, - {320, 160}, {300, 160}, - {280, 160}, {260, 160}, - {240, 160}, {220, 160}, - {200, 160}, {180, 160}, - {160, 160}, {140, 160}, - {120, 160}, {100, 160}, - { 80, 160}, { 60, 160}, - { 40, 160}, { 20, 160}, - }; - -BOOL InitApplication(HANDLE); -BOOL InitInstance(HANDLE, int); - -int PASCAL WinMain(hInstance, hPrevInstance, lpCmdLine, nCmdShow) -HANDLE hInstance, hPrevInstance; -LPSTR lpCmdLine; -int nCmdShow; -{ - MSG msg; - - if (!hPrevInstance) - if (!InitApplication(hInstance)) return(FALSE); - if (!InitInstance(hInstance, nCmdShow)) return(FALSE); - while (GetMessage(&msg, NULL, NULL, NULL)) { - TranslateMessage(&msg); - DispatchMessage(&msg); - } - return(msg.wParam); -} - -BOOL InitApplication(hInstance) -HANDLE hInstance; -{ - WNDCLASS wc; - - /* Main Window Class */ - wc.style = NULL; - wc.lpfnWndProc = (WNDPROC)MainWndProc; - wc.cbClsExtra = 0; - wc.cbWndExtra = 0; - wc.hInstance = hInstance; - wc.hIcon = LoadIcon(hInstance, "MyIcon"); - wc.hCursor = LoadCursor(NULL, IDC_ARROW); - wc.hbrBackground = GetStockObject(LTGRAY_BRUSH); - wc.lpszMenuName = NULL; - wc.lpszClassName = "GenericWClass"; - if (!RegisterClass(&wc)) return(FALSE); -} - -BOOL InitInstance(hInstance, nCmdShow) -HANDLE hInstance; -int nCmdShow; -{ - HWND hWnd; - HMENU hSampleMenu; - - hInst = hInstance; - hSampleMenu = LoadMenu(hInstance, "U744XMenu"); - hWnd = CreateWindow("GenericWClass", - (LPCSTR)"PCI-744X", - WS_OVERLAPPEDWINDOW, - CW_USEDEFAULT, - CW_USEDEFAULT, - 370, - 340, - NULL, - hSampleMenu, - hInstance, - NULL); - if (!hWnd) return(FALSE); - ShowWindow(hWnd, nCmdShow); - UpdateWindow(hWnd); - return(TRUE); -} - -BOOL PASCAL setup(HWND hWnd, unsigned message, WPARAM wParam, LPARAM lParam) -{ - int i; - char n[16]; - char s[50]; - switch (message) { - case WM_INITDIALOG: - wsprintf(n, "NONE"); - _strupr(n); - SendMessage(GetDlgItem(hWnd,IDC_COMBO1), CB_ADDSTRING, NULL, (LONG)(LPSTR) n); - SendMessage(GetDlgItem(hWnd,IDC_COMBO2), CB_ADDSTRING, NULL, (LONG)(LPSTR) n); - - for (i=0;i<16;i++) { - wsprintf(n, "%d", i); - _strupr(n); - SendMessage(GetDlgItem(hWnd,IDC_COMBO1), CB_ADDSTRING, NULL, (LONG)(LPSTR) n); - SendMessage(GetDlgItem(hWnd,IDC_COMBO2), CB_ADDSTRING, NULL, (LONG)(LPSTR) n); - } - - SendMessage(GetDlgItem(hWnd,IDC_COMBO1) , CB_SETCURSEL, 0, 0L); - SendMessage(GetDlgItem(hWnd,IDC_COMBO2) , CB_SETCURSEL, 0, 0L); - break; - case WM_COMMAND: - switch(LOWORD(wParam)) { - case IDC_COMBO1: - if (HIWORD(wParam) == CBN_CLOSEUP) { - i = (int)SendMessage(GetDlgItem(hWnd,IDC_COMBO1), CB_GETCURSEL, 0, 0L); - SendMessage(GetDlgItem(hWnd,IDC_COMBO1), CB_GETLBTEXT, i, (LPARAM)((LPCSTR)n)); - card_number_7443 = i-1; - } - return(TRUE); - case IDC_COMBO2: - if (HIWORD(wParam) == CBN_CLOSEUP) { - i = (int)SendMessage(GetDlgItem(hWnd,IDC_COMBO2), CB_GETCURSEL, 0, 0L); - SendMessage(GetDlgItem(hWnd,IDC_COMBO2), CB_GETLBTEXT, i, (LPARAM)((LPCSTR)n)); - card_number_7444 = i-1; - } - return(TRUE); - case IDOK: - if(card_number_7443>=0){ - if ((card_7443=Register_Card(PCI_7443, card_number_7443)) < 0) { - wsprintf(s, "Register_Card PCI-7443 Error = %d\n", card_7443); - MessageBox(hWnd, s, "Error", MB_OK); - } - } - if(card_number_7444>=0){ - if ((card_7444=Register_Card(PCI_7444, card_number_7444)) < 0) { - wsprintf(s, "Register_Card PCI-7444 Error = %d\n", card_7444); - MessageBox(hWnd, s, "Error", MB_OK); - } - } - EndDialog(hWnd, TRUE); - InvalidateRect(hWnd, NULL, FALSE); - return (TRUE); - case IDCANCEL: - EndDialog(hWnd, TRUE); - return (TRUE); - } - break; - } - return (FALSE); -} - -long PASCAL MainWndProc(hWnd, message, wParam, lParam) -HWND hWnd; -UINT message; -WPARAM wParam; -LPARAM lParam; -{ - HDC hDC; - PAINTSTRUCT ps; - int i, px, py; - char n[16]; - - switch(message) { - case WM_CREATE: - DialogBox(hInst,IDD_DIALOG1, hWnd, setup); - if(card_number_7443>=0){ - if(card_7443<0) { - SendMessage(hWnd, WM_CLOSE, 0, 0L); - break; - } - } - if(card_number_7444>=0){ - if(card_7444<0) { - SendMessage(hWnd, WM_CLOSE, 0, 0L); - break; - } - } - - if(card_number_7443>=0){ - hChanComboBox = CreateWindow("ComboBox", NULL, - CBS_DROPDOWNLIST | WS_CHILD | WS_VISIBLE | WS_VSCROLL, - input_pos[26].x+50, input_pos[26].y-35, 60, 100, hWnd, IDC_CHAN, hInst, NULL); - for (i=0;i<4;i++) { - wsprintf(n, "%d", i); - _strupr(n); - SendMessage(hChanComboBox, CB_ADDSTRING, i, (LPARAM)((LPCSTR)n)); - } - SendMessage(hChanComboBox ,CB_SETCURSEL, 0, 0L); - } - - if(card_number_7444>=0){ - hOutChanComboBox = CreateWindow("ComboBox", NULL, - CBS_DROPDOWNLIST | WS_CHILD | WS_VISIBLE | WS_VSCROLL, - output_pos[26].x+60, output_pos[26].y-35, 60, 100, hWnd, IDC_CHAN2, hInst, NULL); - for (i=0;i<4;i++) { - wsprintf(n, "%d", i); - _strupr(n); - SendMessage(hOutChanComboBox, CB_ADDSTRING, i, (LPARAM)((LPCSTR)n)); - } - SendMessage(hOutChanComboBox ,CB_SETCURSEL, 0, 0L); - for (i=0;i<4;i++) { - DO_ReadPort(card_7443,i,&output[i]); - } - } - - hLTGreenBrush = CreateSolidBrush(RGB(0, 255, 0)); - hGreenBrush = CreateSolidBrush(RGB(0, 128, 0)); - hBlueBrush = CreateSolidBrush(RGB(0, 0, 255)); - hRedBrush = CreateSolidBrush(RGB(255, 0, 0)); - SetTimer(hWnd, TIMER1, 50, NULL); - srand((unsigned)time(NULL)); - break; - case WM_PAINT: - hDC = BeginPaint(hWnd, &ps); - // Digital Input Box - if(card_number_7443>=0){ - SelectObject(hDC, hLTGreenBrush); - Rectangle(hDC, input_pos[31].x-10, input_pos[31].y-24, input_pos[0].x+26, input_pos[0].y+40); - SetTextColor(hDC,RGB(255,255,255)); - SetBkColor(hDC, RGB(0, 0, 255)); - TextOut(hDC, input_pos[31].x, input_pos[31].y-30, "PCI-7443 Digital Input#",23); - } - // Digital Output Box - if(card_number_7444>=0){ - SelectObject(hDC, hGreenBrush); - Rectangle(hDC, output_pos[31].x-10, output_pos[31].y-24, output_pos[0].x+26, output_pos[0].y+40); - SetTextColor(hDC,RGB(255,0,0)); - SetBkColor(hDC, RGB(0, 0, 255)); - TextOut(hDC, output_pos[31].x, output_pos[31].y-30, "PCI-7444 Digital Output#", 24); - } - // Channel Label - SetTextColor(hDC,RGB(0,0,0)); - if(card_number_7443>=0){ - SetBkColor(hDC, RGB(0, 255, 0)); - TextOut(hDC, input_pos[31].x, input_pos[31].y+16, "31 16", 75); - TextOut(hDC, input_pos[15].x, input_pos[15].y+16, "15 0", 75); - } - if(card_number_7444>=0){ - SetBkColor(hDC, RGB(0, 128, 0)); - TextOut(hDC, output_pos[31].x, output_pos[31].y+16, "31 16", 75); - TextOut(hDC, output_pos[15].x, output_pos[15].y+16, "15 0", 75); - } - SetBkColor(hDC, RGB(0, 255, 0)); - // Detect Channel Input - if(card_number_7443>=0){ - for (i=0; i<32; i++) { - if ((input[iPort]>>i)&0x01) - SelectObject(hDC, hRedBrush); - else - SelectObject(hDC, GetStockObject(WHITE_BRUSH)); - Ellipse(hDC, input_pos[i].x, input_pos[i].y, input_pos[i].x+17, input_pos[i].y+17); - } - } - // Channel Output - if(card_number_7444>=0){ - for (i=0; i<32; i++) { - if ((output[oPort]>>i)&0x01) - SelectObject(hDC, hRedBrush); - else - SelectObject(hDC, GetStockObject(WHITE_BRUSH)); - Ellipse(hDC, output_pos[i].x, output_pos[i].y, output_pos[i].x+17, output_pos[i].y+17); - } - } - EndPaint(hWnd, &ps); - break; - case WM_COMMAND: - switch(LOWORD(wParam)) { - case IDM_EXIT: - SendMessage(hWnd, WM_CLOSE, 0, 0L); - break; - case IDC_CHAN2: - if(card_number_7444>=0){ - if (HIWORD(wParam) == CBN_CLOSEUP) { - if ((i=(int)SendMessage(GetDlgItem(hWnd,IDC_CHAN2),CB_GETCURSEL, 0, 0L))>=0 ) { - oPort=i; - DO_ReadPort(card_7444,oPort,&output[oPort]); - hDC = GetDC(hWnd); - for (i=0; i<32; i++) { - if ((output[oPort]>>i)&0x01) { - SelectObject(hDC, hRedBrush); - } - else { - SelectObject(hDC, GetStockObject(WHITE_BRUSH)); - } - Ellipse(hDC, output_pos[i].x, output_pos[i].y, output_pos[i].x+17, output_pos[i].y+17); - } - ReleaseDC(hWnd, hDC); - } - } - } - break; - case IDC_CHAN: - if(card_number_7443>=0){ - if (HIWORD(wParam) == CBN_CLOSEUP) { - if ((i=(int)SendMessage(GetDlgItem(hWnd,IDC_CHAN),CB_GETCURSEL, 0, 0L))>=0 ) { - iPort=i; - } - } - } - break; - default: - return(DefWindowProc(hWnd, message, wParam, lParam)); - } - break; - case WM_TIMER: - /* Digital Input */ - if(card_number_7443>=0){ - DI_ReadPort(card_7443,iPort,&input[iPort]); - hDC = GetDC(hWnd); - for (i=0; i<32; i++) { - //if( ((input[iPort]>>i)&0x01) != ((oldinput[iPort]>>i)&0x01) ) - { - if ((input[iPort]>>i)&0x01) - SelectObject(hDC, hRedBrush); - else - SelectObject(hDC, GetStockObject(WHITE_BRUSH)); - Ellipse(hDC, input_pos[i].x, input_pos[i].y, input_pos[i].x+17, input_pos[i].y+17); - } - } - oldinput[iPort]=input[iPort]; - ReleaseDC(hWnd, hDC); - } - break; - case WM_DESTROY: - DeleteObject(hRedBrush); - DeleteObject(hGreenBrush); - DeleteObject(hLTGreenBrush); - KillTimer(hWnd, TIMER1); - PostQuitMessage(0); - break; - case WM_LBUTTONDOWN: - if(card_number_7444>=0){ - px = LOWORD(lParam); - py = HIWORD(lParam); - for (i=0; i<32; i++) { - if (px>output_pos[i].x && pxoutput_pos[i].y && py>i)&0x01) { - output[oPort] -= (((U32)1L)< -# Microsoft Developer Studio Generated Build File, Format Version 6.00 -# ** DO NOT EDIT ** - -# TARGTYPE "Win32 (x86) Application" 0x0101 - -CFG=Util744X - Win32 Release -!MESSAGE This is not a valid makefile. To build this project using NMAKE, -!MESSAGE use the Export Makefile command and run -!MESSAGE -!MESSAGE NMAKE /f "Util744X.mak". -!MESSAGE -!MESSAGE You can specify a configuration when running NMAKE -!MESSAGE by defining the macro CFG on the command line. For example: -!MESSAGE -!MESSAGE NMAKE /f "Util744X.mak" CFG="Util744X - Win32 Release" -!MESSAGE -!MESSAGE Possible choices for configuration are: -!MESSAGE -!MESSAGE "Util744X - Win32 Release" (based on "Win32 (x86) Application") -!MESSAGE "Util744X - Win32 Debug" (based on "Win32 (x86) Application") -!MESSAGE - -# Begin Project -# PROP AllowPerConfigDependencies 0 -# PROP Scc_ProjName "" -# PROP Scc_LocalPath "" -CPP=cl.exe -MTL=midl.exe -RSC=rc.exe - -!IF "$(CFG)" == "Util744X - Win32 Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir ".\Release" -# PROP BASE Intermediate_Dir ".\Release" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "" -# PROP Intermediate_Dir ".\Release" -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /YX /c -# ADD CPP /nologo /W3 /GX /O2 /I "..\..\..\include" /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /FD /c -# SUBTRACT CPP /YX -# ADD BASE MTL /nologo /D "NDEBUG" /win32 -# ADD MTL /nologo /D "NDEBUG" /mktyplib203 /win32 -# ADD BASE RSC /l 0x404 /d "NDEBUG" -# ADD RSC /l 0x404 /d "NDEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:windows /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ..\..\..\lib\PCI-DASK.lib /nologo /subsystem:windows /machine:I386 - -!ELSEIF "$(CFG)" == "Util744X - Win32 Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir ".\Debug" -# PROP BASE Intermediate_Dir ".\Debug" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "" -# PROP Intermediate_Dir ".\Debug" -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /Gm /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /YX /c -# ADD CPP /nologo /W3 /Gm /GX /ZI /Od /I "..\..\..\include" /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /FD /c -# SUBTRACT CPP /YX -# ADD BASE MTL /nologo /D "_DEBUG" /win32 -# ADD MTL /nologo /D "_DEBUG" /mktyplib203 /win32 -# ADD BASE RSC /l 0x404 /d "_DEBUG" -# ADD RSC /l 0x404 /d "_DEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:windows /debug /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ..\..\..\lib\PCI-DASK.lib /nologo /subsystem:windows /debug /machine:I386 - -!ENDIF - -# Begin Target - -# Name "Util744X - Win32 Release" -# Name "Util744X - Win32 Debug" -# Begin Group "Source Files" - -# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;hpj;bat;for;f90" -# Begin Source File - -SOURCE=.\util744X.c -# End Source File -# End Group -# Begin Group "Header Files" - -# PROP Default_Filter "h;hpp;hxx;hm;inl;fi;fd" -# End Group -# Begin Group "Resource Files" - -# PROP Default_Filter "ico;cur;bmp;dlg;rc2;rct;bin;cnt;rtf;gif;jpg;jpeg;jpe" -# Begin Source File - -SOURCE=.\util744X.rc -# End Source File -# End Group -# End Target -# End Project diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7444/SDK744XDIO/Util744X.dsw b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7444/SDK744XDIO/Util744X.dsw deleted file mode 100644 index cc392ab..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7444/SDK744XDIO/Util744X.dsw +++ /dev/null @@ -1,29 +0,0 @@ -Microsoft Developer Studio Workspace File, Format Version 6.00 -# WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE! - -############################################################################### - -Project: "Util744X"=".\Util744X.dsp" - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ -}}} - -############################################################################### - -Global: - -Package=<5> -{{{ -}}} - -Package=<3> -{{{ -}}} - -############################################################################### - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7444/SDK744XDIO/Util744X.exe b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7444/SDK744XDIO/Util744X.exe deleted file mode 100644 index 6adb808..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7444/SDK744XDIO/Util744X.exe and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7444/SDK744XDIO/Util744X.rc b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7444/SDK744XDIO/Util744X.rc deleted file mode 100644 index f541cad..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7444/SDK744XDIO/Util744X.rc +++ /dev/null @@ -1,118 +0,0 @@ -//Microsoft Developer Studio generated resource script. -// -#include "resource.h" - -#define APSTUDIO_READONLY_SYMBOLS -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 2 resource. -// -#define APSTUDIO_HIDDEN_SYMBOLS -#include "windows.h" -#undef APSTUDIO_HIDDEN_SYMBOLS - -///////////////////////////////////////////////////////////////////////////// -#undef APSTUDIO_READONLY_SYMBOLS - -///////////////////////////////////////////////////////////////////////////// -// English (U.S.) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -#ifdef _WIN32 -LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US -#pragma code_page(1252) -#endif //_WIN32 - -///////////////////////////////////////////////////////////////////////////// -// -// Menu -// - -U744XMENU MENU DISCARDABLE -BEGIN - MENUITEM "E&xit!", IDM_EXIT -END - - -#ifdef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// TEXTINCLUDE -// - -1 TEXTINCLUDE DISCARDABLE -BEGIN - "resource.h\0" -END - -2 TEXTINCLUDE DISCARDABLE -BEGIN - "#define APSTUDIO_HIDDEN_SYMBOLS\r\n" - "#include ""windows.h""\r\n" - "#undef APSTUDIO_HIDDEN_SYMBOLS\r\n" - "\0" -END - -3 TEXTINCLUDE DISCARDABLE -BEGIN - "\r\n" - "\0" -END - -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog -// - -IDD_DIALOG1 DIALOG DISCARDABLE 110, 10, 138, 75 -STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "Card Number" -FONT 10, "System" -BEGIN - DEFPUSHBUTTON "OK",IDOK,21,54,37,14 - PUSHBUTTON "Cancel",IDCANCEL,83,54,38,14 - LTEXT "PCI-7443 Card Number",IDC_STATIC,7,15,75,9 - COMBOBOX IDC_COMBO1,85,13,46,102,CBS_DROPDOWN | WS_VSCROLL | - WS_TABSTOP - COMBOBOX IDC_COMBO2,85,30,46,95,CBS_DROPDOWN | WS_VSCROLL | - WS_TABSTOP - LTEXT "PCI-7444 Card Number",IDC_STATIC,7,31,75,8 -END - - -///////////////////////////////////////////////////////////////////////////// -// -// DESIGNINFO -// - -#ifdef APSTUDIO_INVOKED -GUIDELINES DESIGNINFO DISCARDABLE -BEGIN - IDD_DIALOG1, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 131 - TOPMARGIN, 7 - BOTTOMMARGIN, 68 - END -END -#endif // APSTUDIO_INVOKED - -#endif // English (U.S.) resources -///////////////////////////////////////////////////////////////////////////// - - - -#ifndef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 3 resource. -// - - -///////////////////////////////////////////////////////////////////////////// -#endif // not APSTUDIO_INVOKED - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7444/SDK744XDIO/resource.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7444/SDK744XDIO/resource.h deleted file mode 100644 index 54c1593..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7444/SDK744XDIO/resource.h +++ /dev/null @@ -1,20 +0,0 @@ -//{{NO_DEPENDENCIES}} -// Microsoft Developer Studio generated include file. -// Used by Util744X.rc -// -#define IDD_DIALOG1 101 -#define IDM_EXIT 110 -#define IDC_COMBO2 1000 -#define IDC_COMBO1 1015 -#define IDC_STATIC -1 - -// Next default values for new objects -// -#ifdef APSTUDIO_INVOKED -#ifndef APSTUDIO_READONLY_SYMBOLS -#define _APS_NEXT_RESOURCE_VALUE 102 -#define _APS_NEXT_COMMAND_VALUE 101 -#define _APS_NEXT_CONTROL_VALUE 1001 -#define _APS_NEXT_SYMED_VALUE 101 -#endif -#endif diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7444/SDKWdtOvflow/7444int.c b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7444/SDKWdtOvflow/7444int.c deleted file mode 100644 index 8ff1ff1..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7444/SDKWdtOvflow/7444int.c +++ /dev/null @@ -1,287 +0,0 @@ -/*;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; -;; Copyright (c) 1995-2006, ADLink Technology Inc. All rights reserved. ;; -;; ;; -;; File Name : 7444INT.C ;; -;; Purpose : This sample program demonstrates how handle interrupt ;; -;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;*/ - -#include -#include -#include -#include -#include -#include "Dask.h" -#include "Resource.h" - -#define IDC_START 300 -#define IDC_RELOAD 302 -#define WM_INT 2000 //interrupt comming message - -HANDLE hInst; /* current instance */ -I16 card=-1, card_number = 0; -HWND hStart, hMainWnd, hEvent; - -int PASCAL WinMain(HANDLE, HANDLE, LPSTR, int); -BOOL InitApplication(HANDLE); -BOOL InitInstance(HANDLE, int); -long PASCAL MainWndProc(HWND, unsigned, WPARAM, LPARAM); - -void mesgfn(); -LRESULT CALLBACK cbfn(); - -F32 rt = 0.0; - -/********************************************************************** - - FUNCTION: WinMain(HANDLE, HANDLE, LPSTR, int) - PURPOSE: calls initialization function, processes message loop - -***********************************************************************/ -int PASCAL WinMain(hInstance, hPrevInstance, lpCmdLine, nCmdShow) -HANDLE hInstance; -HANDLE hPrevInstance; -LPSTR lpCmdLine; -int nCmdShow; -{ - MSG msg; - - if(!hPrevInstance) - if(!InitApplication(hInstance)) - return(FALSE); - - if(!InitInstance(hInstance, nCmdShow)) - return(FALSE); - - while ( GetMessage(&msg, NULL, NULL, NULL)){ - TranslateMessage(&msg); - DispatchMessage(&msg); - } - return(msg.wParam); -} - -/**************************************************************************** - - FUNCTION: InitApplication(HANDLE) - PURPOSE: Initializes window data and registers window class - -****************************************************************************/ -BOOL InitApplication(hInstance) -HANDLE hInstance; -{ - WNDCLASS wc; - - wc.style = NULL; - wc.lpfnWndProc = MainWndProc; - wc.cbClsExtra = 0; - wc.cbWndExtra = 0; - wc.hInstance = hInstance; - wc.hIcon = LoadIcon(NULL, IDI_APPLICATION); - wc.hCursor = LoadCursor(hInstance, IDC_ARROW); - wc.hbrBackground = GetStockObject(WHITE_BRUSH); - wc.lpszMenuName = "U7444Menu"; - wc.lpszClassName = "IntClass"; - - return (RegisterClass(&wc)); -} - -/**************************************************************************** - - FUNCTION: InitInstance(HANDLE, int) - PURPOSE: Saves instance handle and creates main window - -****************************************************************************/ -BOOL InitInstance(hInstance, nCmdShow) -HANDLE hInstance; -int nCmdShow; -{ - HWND hWnd; - - hInst = hInstance; - hWnd = CreateWindow("IntClass", "PCI-7444 Interrupt Sample (INT2)", WS_OVERLAPPEDWINDOW, - 200, 100, 420, 360, NULL, NULL, hInstance, NULL); - if (!hWnd) return (FALSE); - ShowWindow(hWnd, nCmdShow); - UpdateWindow(hWnd); - return (TRUE); -} - -BOOL PASCAL setup(HWND hWnd, unsigned message, WPARAM wParam, LPARAM lParam) -{ - int i; - char n[16]; - char s[50]; - - switch (message) { - case WM_INITDIALOG: - for (i=0;i<16;i++) { - wsprintf(n, "%d", i); - _strupr(n); - SendMessage(GetDlgItem(hWnd,IDC_COMBO1), CB_ADDSTRING, NULL, (LONG)(LPSTR) n); - } - SendMessage(GetDlgItem(hWnd,IDC_COMBO1) , CB_SETCURSEL, 0, 0L); - break; - case WM_COMMAND: - switch(LOWORD(wParam)) { - case IDC_COMBO1: - if (HIWORD(wParam) == CBN_CLOSEUP) { - i = (int)SendMessage(GetDlgItem(hWnd,IDC_COMBO1), CB_GETCURSEL, 0, 0L); - SendMessage(GetDlgItem(hWnd,IDC_COMBO1), CB_GETLBTEXT, i, (LPARAM)((LPCSTR)n)); - card_number = i; - } - return(TRUE); - case IDOK: - if ((card=Register_Card(PCI_7444, card_number)) < 0) { - wsprintf(s, "Register_Card Error = %d\n", card); - MessageBox(hWnd, s, "Error", MB_OK); - } - EndDialog(hWnd, TRUE); - InvalidateRect(hWnd, NULL, FALSE); - return (TRUE); - case IDCANCEL: - EndDialog(hWnd, TRUE); - return (TRUE); - } - break; - } - return (FALSE); -} - -/**************************************************************************** - - FUNCTION: MainWndProc(HWND, UINT, WPARAM, LPARAM) - - PURPOSE: Processes messages - - -****************************************************************************/ -long PASCAL MainWndProc(hWnd, message, wParam, lParam) -HWND hWnd; -unsigned message; -WPARAM wParam; -LPARAM lParam; -{ - PAINTSTRUCT ps; - HDC hDC; - char s[50]; - - switch(message) { - case WM_CREATE: - DialogBox(hInst,IDD_DIALOG2, hWnd, setup); - if(card<0) { - SendMessage(hWnd, WM_CLOSE, 0, 0L); - break; - } - CreateWindow("BUTTON", "Reload", WS_CHILD | WS_VISIBLE, - 160, 280, 72, 24, hWnd, IDC_RELOAD, hInst, NULL); - SetInitPattern (card, SAFTOUT_PTN_CH0, 0x1); - SetInitPattern (card, SAFTOUT_PTN_CH1, 0x2); - SetInitPattern (card, SAFTOUT_PTN_CH2, 0x3); - SetInitPattern (card, SAFTOUT_PTN_CH3, 0x4); - - WDT_Setup (card, 0 | WDT_OVRFLOW_SAFETYOUT, 5.0, &rt, NULL); - DIO_INT2_EventMessage (card, INT2_WDT, hWnd, WM_INT, NULL); - //You can also use callback function to do something while WDT overflow - /* - DIO_INT2_EventMessage (card, INT2_WDT, hWnd, NULL, (U32)cbfn); - */ - hMainWnd = hWnd; - break; - case WM_PAINT: - hDC = BeginPaint(hWnd, &ps); - TextOut(hDC, 10, 30, "This program sets the safetyout pattern to 0x1/0x2/0x3/0x4", 58); - TextOut(hDC, 10, 45, "for CH0/CH1/CH2/CH3 and enables WDT capability.", 47); - TextOut(hDC, 10, 75, "INT2 interrupt is generated by WDT overflow. Wait for WDT", 57); - TextOut(hDC, 10, 90, "overflow...(about 5.0 seconds)",30); - TextOut(hDC, 10, 120, "You can press Reload button to reload WDT counter BEFORE", 56); - TextOut(hDC, 10, 135, "WDT overflow.",13); - EndPaint(hWnd, &ps); - break; - case WM_COMMAND: - switch(LOWORD(wParam)) { - case IDM_EXIT: - DIO_INT2_EventMessage (card, INT2_DISABLE, NULL, NULL, NULL); - SendMessage(hWnd, WM_CLOSE, 0, 0L); - break; - case IDC_RELOAD: - WDT_Reload (card, 0, 5.0, &rt); - break; - } - break; - case WM_INT: //interrupt comming message - mesgfn(); - break; - case WM_DESTROY: - if (card >= 0) Release_Card(card); - PostQuitMessage(0); - break; - default: - return (DefWindowProc(hWnd, message, wParam, lParam)); - } - return(0L); -} - -void mesgfn() -{ - HDC hDC; - U32 result; - char Buf[50]; - - hDC=GetDC(hMainWnd); - - TextOut(hDC, 80, 170, "WDT Overflow!!",14); - - DO_ReadPort (card, 0, &result); - wsprintf(Buf,"%x", result); - TextOut(hDC, 80, 190, "The CH0 current pattern is: 0x",30); - TextOut(hDC, 275, 190, Buf, strlen(Buf)); - - DO_ReadPort (card, 1, &result); - wsprintf(Buf,"%x", result); - TextOut(hDC, 80, 210, "The CH1 current pattern is: 0x",30); - TextOut(hDC, 275, 210, Buf, strlen(Buf)); - - DO_ReadPort (card, 2, &result); - wsprintf(Buf,"%x", result); - TextOut(hDC, 80, 230, "The CH2 current pattern is: 0x",30); - TextOut(hDC, 275, 230, Buf, strlen(Buf)); - - DO_ReadPort (card, 3, &result); - wsprintf(Buf,"%x", result); - TextOut(hDC, 80, 250, "The CH3 current pattern is: 0x",30); - TextOut(hDC, 275, 250, Buf, strlen(Buf)); - - ReleaseDC(hMainWnd, hDC); -} - -LRESULT CALLBACK cbfn() -{ - HDC hDC; - U32 result; - char Buf[50]; - - hDC=GetDC(hMainWnd); - - TextOut(hDC, 80, 170, "WDT Overflow!!",14); - - DO_ReadPort (card, 0, &result); - wsprintf(Buf,"%x", result); - TextOut(hDC, 80, 190, "The CH0 current pattern is: 0x",30); - TextOut(hDC, 275, 190, Buf, strlen(Buf)); - - DO_ReadPort (card, 1, &result); - wsprintf(Buf,"%x", result); - TextOut(hDC, 80, 210, "The CH1 current pattern is: 0x",30); - TextOut(hDC, 275, 210, Buf, strlen(Buf)); - - DO_ReadPort (card, 2, &result); - wsprintf(Buf,"%x", result); - TextOut(hDC, 80, 230, "The CH2 current pattern is: 0x",30); - TextOut(hDC, 275, 230, Buf, strlen(Buf)); - - DO_ReadPort (card, 3, &result); - wsprintf(Buf,"%x", result); - TextOut(hDC, 80, 250, "The CH3 current pattern is: 0x",30); - TextOut(hDC, 275, 250, Buf, strlen(Buf)); - - ReleaseDC(hMainWnd, hDC); -} diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7444/SDKWdtOvflow/7444int.dsp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7444/SDKWdtOvflow/7444int.dsp deleted file mode 100644 index 8844dd9..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7444/SDKWdtOvflow/7444int.dsp +++ /dev/null @@ -1,113 +0,0 @@ -# Microsoft Developer Studio Project File - Name="7444int" - Package Owner=<4> -# Microsoft Developer Studio Generated Build File, Format Version 6.00 -# ** DO NOT EDIT ** - -# TARGTYPE "Win32 (x86) Application" 0x0101 - -CFG=7444int - Win32 Release -!MESSAGE This is not a valid makefile. To build this project using NMAKE, -!MESSAGE use the Export Makefile command and run -!MESSAGE -!MESSAGE NMAKE /f "7444int.mak". -!MESSAGE -!MESSAGE You can specify a configuration when running NMAKE -!MESSAGE by defining the macro CFG on the command line. For example: -!MESSAGE -!MESSAGE NMAKE /f "7444int.mak" CFG="7444int - Win32 Release" -!MESSAGE -!MESSAGE Possible choices for configuration are: -!MESSAGE -!MESSAGE "7444int - Win32 Release" (based on "Win32 (x86) Application") -!MESSAGE "7444int - Win32 Debug" (based on "Win32 (x86) Application") -!MESSAGE - -# Begin Project -# PROP AllowPerConfigDependencies 0 -# PROP Scc_ProjName "" -# PROP Scc_LocalPath "" -CPP=cl.exe -MTL=midl.exe -RSC=rc.exe - -!IF "$(CFG)" == "7444int - Win32 Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir ".\Release" -# PROP BASE Intermediate_Dir ".\Release" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "" -# PROP Intermediate_Dir ".\Release" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /YX /c -# ADD CPP /nologo /MT /W3 /GX /Od /I "..\..\..\include" /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /FD /c -# SUBTRACT CPP /YX -# ADD BASE MTL /nologo /D "NDEBUG" /win32 -# ADD MTL /nologo /D "NDEBUG" /mktyplib203 /win32 -# ADD BASE RSC /l 0x404 /d "NDEBUG" -# ADD RSC /l 0x404 /d "NDEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:windows /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ..\..\..\lib\PCI-DASK.lib /nologo /subsystem:windows /machine:I386 - -!ELSEIF "$(CFG)" == "7444int - Win32 Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir ".\Debug" -# PROP BASE Intermediate_Dir ".\Debug" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir ".\Debug" -# PROP Intermediate_Dir ".\Debug" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /Gm /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /YX /c -# ADD CPP /nologo /MTd /W3 /Gm /GX /ZI /Od /I "..\..\..\include" /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /FD /c -# SUBTRACT CPP /YX -# ADD BASE MTL /nologo /D "_DEBUG" /win32 -# ADD MTL /nologo /D "_DEBUG" /mktyplib203 /win32 -# ADD BASE RSC /l 0x404 /d "_DEBUG" -# ADD RSC /l 0x404 /d "_DEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:windows /debug /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ..\..\..\lib\PCI-DASK.lib /nologo /subsystem:windows /incremental:no /debug /machine:I386 - -!ENDIF - -# Begin Target - -# Name "7444int - Win32 Release" -# Name "7444int - Win32 Debug" -# Begin Group "Source Files" - -# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;hpj;bat;for;f90" -# Begin Source File - -SOURCE=.\7444int.c -# End Source File -# End Group -# Begin Group "Header Files" - -# PROP Default_Filter "h;hpp;hxx;hm;inl;fi;fd" -# End Group -# Begin Group "Resource Files" - -# PROP Default_Filter "ico;cur;bmp;dlg;rc2;rct;bin;cnt;rtf;gif;jpg;jpeg;jpe" -# Begin Source File - -SOURCE=.\7444int.rc -# End Source File -# End Group -# End Target -# End Project diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7444/SDKWdtOvflow/7444int.dsw b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7444/SDKWdtOvflow/7444int.dsw deleted file mode 100644 index abb7872..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7444/SDKWdtOvflow/7444int.dsw +++ /dev/null @@ -1,29 +0,0 @@ -Microsoft Developer Studio Workspace File, Format Version 6.00 -# WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE! - -############################################################################### - -Project: "7444int"=.\7444int.dsp - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ -}}} - -############################################################################### - -Global: - -Package=<5> -{{{ -}}} - -Package=<3> -{{{ -}}} - -############################################################################### - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7444/SDKWdtOvflow/7444int.exe b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7444/SDKWdtOvflow/7444int.exe deleted file mode 100644 index b7798e6..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7444/SDKWdtOvflow/7444int.exe and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7444/SDKWdtOvflow/7444int.rc b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7444/SDKWdtOvflow/7444int.rc deleted file mode 100644 index db893b6..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7444/SDKWdtOvflow/7444int.rc +++ /dev/null @@ -1,115 +0,0 @@ -//Microsoft Developer Studio generated resource script. -// -#include "resource.h" - -#define APSTUDIO_READONLY_SYMBOLS -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 2 resource. -// -#define APSTUDIO_HIDDEN_SYMBOLS -#include "windows.h" -#undef APSTUDIO_HIDDEN_SYMBOLS - -///////////////////////////////////////////////////////////////////////////// -#undef APSTUDIO_READONLY_SYMBOLS - -///////////////////////////////////////////////////////////////////////////// -// English (U.S.) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -#ifdef _WIN32 -LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US -#pragma code_page(1252) -#endif //_WIN32 - -#ifdef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// TEXTINCLUDE -// - -1 TEXTINCLUDE DISCARDABLE -BEGIN - "resource.h\0" -END - -2 TEXTINCLUDE DISCARDABLE -BEGIN - "#define APSTUDIO_HIDDEN_SYMBOLS\r\n" - "#include ""windows.h""\r\n" - "#undef APSTUDIO_HIDDEN_SYMBOLS\r\n" - "\0" -END - -3 TEXTINCLUDE DISCARDABLE -BEGIN - "\r\n" - "\0" -END - -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// Menu -// - -U7444MENU MENU DISCARDABLE -BEGIN - MENUITEM "E&xit!", IDM_EXIT -END - - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog -// - -IDD_DIALOG2 DIALOG DISCARDABLE 110, 10, 106, 61 -STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "Card Number" -FONT 10, "System" -BEGIN - DEFPUSHBUTTON "OK",IDOK,10,40,37,14 - PUSHBUTTON "Cancel",IDCANCEL,61,40,38,14 - LTEXT "Card Number",IDC_STATIC,3,13,47,13 - COMBOBOX IDC_COMBO1,51,13,48,84,CBS_DROPDOWN | WS_VSCROLL | - WS_TABSTOP -END - - -///////////////////////////////////////////////////////////////////////////// -// -// DESIGNINFO -// - -#ifdef APSTUDIO_INVOKED -GUIDELINES DESIGNINFO DISCARDABLE -BEGIN - IDD_DIALOG2, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 99 - TOPMARGIN, 7 - BOTTOMMARGIN, 54 - END -END -#endif // APSTUDIO_INVOKED - -#endif // English (U.S.) resources -///////////////////////////////////////////////////////////////////////////// - - - -#ifndef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 3 resource. -// - - -///////////////////////////////////////////////////////////////////////////// -#endif // not APSTUDIO_INVOKED - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7444/SDKWdtOvflow/Resource.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7444/SDKWdtOvflow/Resource.h deleted file mode 100644 index 2ccdef7..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7444/SDKWdtOvflow/Resource.h +++ /dev/null @@ -1,30 +0,0 @@ -//{{NO_DEPENDENCIES}} -// Microsoft Developer Studio generated include file. -// Used by 7444int.rc -// -#define IDM_SETUP 101 -#define IDD_DIALOG1 101 -#define IDD_DIALOG2 102 -#define IDM_EXIT 110 -#define IDM_GO 300 -#define IDM_ABOUT 301 -#define DMA_DATA 302 -#define ID_STOP 304 -#define IDM_CLEAR 305 -#define DMA_SPACE 500 -#define IDC_COMBO1 1004 -#define IDC_COMBO2 1005 -#define IDC_EDIT1 1007 -#define IDC_EDIT2 1008 -#define IDC_STATIC -1 - -// Next default values for new objects -// -#ifdef APSTUDIO_INVOKED -#ifndef APSTUDIO_READONLY_SYMBOLS -#define _APS_NEXT_RESOURCE_VALUE 103 -#define _APS_NEXT_COMMAND_VALUE 102 -#define _APS_NEXT_CONTROL_VALUE 1008 -#define _APS_NEXT_SYMED_VALUE 101 -#endif -#endif diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7444/VB7444TTL/0.bmp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7444/VB7444TTL/0.bmp deleted file mode 100644 index 407bba2..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7444/VB7444TTL/0.bmp and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7444/VB7444TTL/1.bmp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7444/VB7444TTL/1.bmp deleted file mode 100644 index 37d14f3..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7444/VB7444TTL/1.bmp and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7444/VB7444TTL/7444glbl.bas b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7444/VB7444TTL/7444glbl.bas deleted file mode 100644 index 77a2e7f..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7444/VB7444TTL/7444glbl.bas +++ /dev/null @@ -1,4 +0,0 @@ -Attribute VB_Name = "Module1" -Global card As Integer -Global card_number As Integer - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7444/VB7444TTL/Base7444.frm b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7444/VB7444TTL/Base7444.frm deleted file mode 100644 index c1faeeb..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7444/VB7444TTL/Base7444.frm +++ /dev/null @@ -1,98 +0,0 @@ -VERSION 5.00 -Begin VB.Form SettingForm - Appearance = 0 'Flat - BackColor = &H00C0C0C0& - Caption = "Card Number Setting" - ClientHeight = 1275 - ClientLeft = 4590 - ClientTop = 4545 - ClientWidth = 2820 - BeginProperty Font - Name = "MS Sans Serif" - Size = 8.25 - Charset = 0 - Weight = 700 - Underline = 0 'False - Italic = 0 'False - Strikethrough = 0 'False - EndProperty - ForeColor = &H80000008& - LinkTopic = "Form2" - PaletteMode = 1 'UseZOrder - ScaleHeight = 1275 - ScaleWidth = 2820 - Begin VB.CommandButton OKBtn - Appearance = 0 'Flat - BackColor = &H80000005& - Caption = "OK" - Default = -1 'True - Height = 315 - Left = 300 - TabIndex = 0 - Top = 720 - Width = 915 - End - Begin VB.CommandButton CancelBtn - Appearance = 0 'Flat - BackColor = &H80000005& - Cancel = -1 'True - Caption = "Cancel" - Height = 315 - Left = 1380 - TabIndex = 3 - Top = 720 - Width = 915 - End - Begin VB.ComboBox CardNum - Appearance = 0 'Flat - Height = 300 - Left = 1440 - Style = 2 'Dropdown List - TabIndex = 2 - Top = 120 - Width = 1035 - End - Begin VB.Label Label2 - Appearance = 0 'Flat - BackColor = &H00C0C0C0& - Caption = "Card Number:" - ForeColor = &H00000000& - Height = 195 - Index = 0 - Left = 180 - TabIndex = 1 - Top = 180 - Width = 1275 - End -End -Attribute VB_Name = "SettingForm" -Attribute VB_GlobalNameSpace = False -Attribute VB_Creatable = False -Attribute VB_PredeclaredId = True -Attribute VB_Exposed = False - - -Private Sub BaseAddr_Change() - -End Sub - - -Private Sub CancelBtn_Click() - Unload SettingForm -End Sub - -Private Sub Form_Load() - Dim i As Long - For i = 0 To 15 Step 1 - CardNum.AddItem i - Next - CardNum.ListIndex = 0 -End Sub - -Private Sub OKBtn_Click() - card = -1 - card_number = CardNum.ListIndex - card = Register_Card(PCI_7444, card_number) - Unload SettingForm -End Sub - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7444/VB7444TTL/Util7444.Frm b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7444/VB7444TTL/Util7444.Frm deleted file mode 100644 index db67494..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7444/VB7444TTL/Util7444.Frm +++ /dev/null @@ -1,620 +0,0 @@ -VERSION 5.00 -Begin VB.Form util7444 - Appearance = 0 'Flat - BackColor = &H00C0C0C0& - Caption = "PCI-7444 Sample Program" - ClientHeight = 3660 - ClientLeft = 1635 - ClientTop = 2565 - ClientWidth = 6870 - BeginProperty Font - Name = "MS Sans Serif" - Size = 8.25 - Charset = 0 - Weight = 700 - Underline = 0 'False - Italic = 0 'False - Strikethrough = 0 'False - EndProperty - ForeColor = &H80000008& - LinkTopic = "Form1" - PaletteMode = 1 'UseZOrder - ScaleHeight = 3660 - ScaleWidth = 6870 - Begin VB.ComboBox InCombo - Height = 315 - Left = 2160 - TabIndex = 5 - Text = "Combo1" - Top = 840 - Width = 1200 - End - Begin VB.Timer Timer1 - Interval = 100 - Left = 5280 - Top = 2640 - End - Begin VB.Frame Frame1 - Appearance = 0 'Flat - BackColor = &H00C0C0C0& - Caption = "Digital Output# TTL" - ForeColor = &H000000FF& - Height = 1155 - Index = 1 - Left = 360 - TabIndex = 1 - Top = 2160 - Width = 6015 - Begin VB.ComboBox OutCombo - Height = 315 - Left = 1920 - TabIndex = 6 - Text = "Combo2" - Top = 0 - Width = 1200 - End - Begin VB.Label Label1 - Caption = "0" - Height = 195 - Left = 5640 - TabIndex = 4 - Top = 840 - Width = 195 - End - Begin VB.Label Label3 - Caption = "15" - Height = 195 - Left = 240 - TabIndex = 2 - Top = 840 - Width = 195 - End - Begin VB.Image DOP0 - Appearance = 0 'Flat - Height = 300 - Index = 8 - Left = 2700 - Picture = "Util7444.frx":0000 - Top = 500 - Width = 300 - End - Begin VB.Image DOP0 - Appearance = 0 'Flat - Height = 300 - Index = 9 - Left = 2340 - Picture = "Util7444.frx":0172 - Top = 500 - Width = 300 - End - Begin VB.Image DOP0 - Appearance = 0 'Flat - Height = 300 - Index = 10 - Left = 1980 - Picture = "Util7444.frx":02E4 - Top = 500 - Width = 300 - End - Begin VB.Image DOP0 - Appearance = 0 'Flat - Height = 300 - Index = 11 - Left = 1620 - Picture = "Util7444.frx":0456 - Top = 500 - Width = 300 - End - Begin VB.Image DOP0 - Appearance = 0 'Flat - Height = 300 - Index = 12 - Left = 1260 - Picture = "Util7444.frx":05C8 - Top = 500 - Width = 300 - End - Begin VB.Image DOP0 - Appearance = 0 'Flat - Height = 300 - Index = 13 - Left = 900 - Picture = "Util7444.frx":073A - Top = 500 - Width = 300 - End - Begin VB.Image DOP0 - Appearance = 0 'Flat - Height = 300 - Index = 14 - Left = 540 - Picture = "Util7444.frx":08AC - Top = 500 - Width = 300 - End - Begin VB.Image DOP0 - Appearance = 0 'Flat - Height = 300 - Index = 15 - Left = 180 - Picture = "Util7444.frx":0A1E - Top = 500 - Width = 300 - End - Begin VB.Image DOP0 - Appearance = 0 'Flat - Height = 300 - Index = 7 - Left = 3060 - Picture = "Util7444.frx":0B90 - Top = 500 - Width = 300 - End - Begin VB.Image DOP0 - Appearance = 0 'Flat - Height = 300 - Index = 6 - Left = 3420 - Picture = "Util7444.frx":0D02 - Top = 500 - Width = 300 - End - Begin VB.Image DOP0 - Appearance = 0 'Flat - Height = 300 - Index = 5 - Left = 3780 - Picture = "Util7444.frx":0E74 - Top = 500 - Width = 300 - End - Begin VB.Image DOP0 - Appearance = 0 'Flat - Height = 300 - Index = 4 - Left = 4140 - Picture = "Util7444.frx":0FE6 - Top = 500 - Width = 300 - End - Begin VB.Image DOP0 - Appearance = 0 'Flat - Height = 300 - Index = 2 - Left = 4860 - Picture = "Util7444.frx":1158 - Top = 500 - Width = 300 - End - Begin VB.Image DOP0 - Appearance = 0 'Flat - Height = 300 - Index = 3 - Left = 4500 - Picture = "Util7444.frx":12CA - Top = 500 - Width = 300 - End - Begin VB.Image DOP0 - Appearance = 0 'Flat - Height = 300 - Index = 1 - Left = 5220 - Picture = "Util7444.frx":143C - Top = 500 - Width = 300 - End - Begin VB.Image DOP0 - Appearance = 0 'Flat - Height = 300 - Index = 0 - Left = 5580 - Picture = "Util7444.frx":15AE - Top = 500 - Width = 300 - End - End - Begin VB.Frame Frame1 - Appearance = 0 'Flat - BackColor = &H00C0C0C0& - Caption = "Digital Input# TTL" - ForeColor = &H00FF0000& - Height = 1155 - Index = 0 - Left = 360 - TabIndex = 0 - Top = 840 - Width = 6015 - Begin VB.Label Label2 - Caption = "15" - Height = 195 - Left = 240 - TabIndex = 7 - Top = 840 - Width = 195 - End - Begin VB.Label Label4 - Caption = "0" - Height = 195 - Left = 5640 - TabIndex = 3 - Top = 840 - Width = 195 - End - Begin VB.Image DI0 - Appearance = 0 'Flat - Height = 300 - Index = 15 - Left = 180 - Picture = "Util7444.frx":1720 - Top = 480 - Width = 300 - End - Begin VB.Image DI0 - Appearance = 0 'Flat - Height = 300 - Index = 14 - Left = 540 - Picture = "Util7444.frx":1892 - Top = 480 - Width = 300 - End - Begin VB.Image DI0 - Appearance = 0 'Flat - Height = 300 - Index = 13 - Left = 900 - Picture = "Util7444.frx":1A04 - Top = 480 - Width = 300 - End - Begin VB.Image DI0 - Appearance = 0 'Flat - Height = 300 - Index = 12 - Left = 1260 - Picture = "Util7444.frx":1B76 - Top = 480 - Width = 300 - End - Begin VB.Image DI0 - Appearance = 0 'Flat - Height = 300 - Index = 11 - Left = 1620 - Picture = "Util7444.frx":1CE8 - Top = 480 - Width = 300 - End - Begin VB.Image DI0 - Appearance = 0 'Flat - Height = 300 - Index = 10 - Left = 1980 - Picture = "Util7444.frx":1E5A - Top = 480 - Width = 300 - End - Begin VB.Image DI0 - Appearance = 0 'Flat - Height = 300 - Index = 9 - Left = 2340 - Picture = "Util7444.frx":1FCC - Top = 480 - Width = 300 - End - Begin VB.Image DI0 - Appearance = 0 'Flat - Height = 300 - Index = 8 - Left = 2700 - Picture = "Util7444.frx":213E - Top = 480 - Width = 300 - End - Begin VB.Image DI0 - Appearance = 0 'Flat - Height = 300 - Index = 0 - Left = 5580 - Picture = "Util7444.frx":22B0 - Top = 480 - Width = 300 - End - Begin VB.Image DI0 - Appearance = 0 'Flat - Height = 300 - Index = 1 - Left = 5220 - Picture = "Util7444.frx":2422 - Top = 480 - Width = 300 - End - Begin VB.Image DI0 - Appearance = 0 'Flat - Height = 300 - Index = 2 - Left = 4860 - Picture = "Util7444.frx":2594 - Top = 480 - Width = 300 - End - Begin VB.Image DI0 - Appearance = 0 'Flat - Height = 300 - Index = 3 - Left = 4500 - Picture = "Util7444.frx":2706 - Top = 480 - Width = 300 - End - Begin VB.Image DI0 - Appearance = 0 'Flat - Height = 300 - Index = 4 - Left = 4140 - Picture = "Util7444.frx":2878 - Top = 480 - Width = 300 - End - Begin VB.Image DI0 - Appearance = 0 'Flat - Height = 300 - Index = 5 - Left = 3780 - Picture = "Util7444.frx":29EA - Top = 480 - Width = 300 - End - Begin VB.Image DI0 - Appearance = 0 'Flat - Height = 300 - Index = 6 - Left = 3420 - Picture = "Util7444.frx":2B5C - Top = 480 - Width = 300 - End - Begin VB.Image DI0 - Appearance = 0 'Flat - Height = 300 - Index = 7 - Left = 3060 - Picture = "Util7444.frx":2CCE - Top = 480 - Width = 300 - End - End - Begin VB.Label Label5 - Caption = "Select TTL0 or TTL1 for input or output" - Height = 255 - Left = 360 - TabIndex = 8 - Top = 360 - Width = 3495 - End - Begin VB.Image Image1 - Appearance = 0 'Flat - Height = 300 - Left = 5880 - Picture = "Util7444.frx":2E40 - Top = 2700 - Visible = 0 'False - Width = 300 - End - Begin VB.Image Image0 - Appearance = 0 'Flat - Height = 300 - Left = 6180 - Picture = "Util7444.frx":2FB2 - Top = 2700 - Visible = 0 'False - Width = 300 - End - Begin VB.Menu mnuExit - Caption = "&Exit!" - End -End -Attribute VB_Name = "util7444" -Attribute VB_GlobalNameSpace = False -Attribute VB_Creatable = False -Attribute VB_PredeclaredId = True -Attribute VB_Exposed = False -Option Explicit -Dim Status(0 To 15) As Long -Dim bit(0 To 15) As Long -Dim iport As Integer -Dim oport As Integer - -Private Sub DOP0_Click(Index As Integer) - Dim i As Integer, result As Integer - Dim d As Long - - If Status(Index) = 1 Then - DOP0(Index).Picture = Image0.Picture - Status(Index) = 0 - Else - DOP0(Index).Picture = Image1.Picture - Status(Index) = 1 - End If - d = 0 - For i = 0 To 14 - If Status(i) = 1 Then - d = d + (2 ^ i) - End If - Next - 'Handle the MSB - 'd=d+2^31, but bucause VB has no unsigned long, - 'translate an unsigned long to signed long by minus 2^32 - If Status(15) = 1 Then d = d - 2 ^ 15 'd = d + 2^15 - 2^16 - - If oport = 0 Then - result = DO_WritePort(card, P7444_TTL0, d) - Else - result = DO_WritePort(card, P7444_TTL1, d) - End If - -End Sub - -Private Sub Form_Load() - Dim result As Integer - Dim i As Integer - - SettingForm.Show 1 - If card < 0 Then - MsgBox "Register card failed." - End - End If - For i = 0 To 15 - Status(i) = 0 - Next - - bit(0) = &H1& - bit(1) = &H2& - bit(2) = &H4& - bit(3) = &H8& - bit(4) = &H10& - bit(5) = &H20& - bit(6) = &H40& - bit(7) = &H80& - bit(8) = &H100& - bit(9) = &H200& - bit(10) = &H400& - bit(11) = &H800& - bit(12) = &H1000& - bit(13) = &H2000& - bit(14) = &H4000& - bit(15) = &H8000& -' bit(16) = &H10000 -' bit(17) = &H20000 -' bit(18) = &H40000 -' bit(19) = &H80000 -' bit(20) = &H100000 -' bit(21) = &H200000 -' bit(22) = &H400000 -' bit(23) = &H800000 -' bit(24) = &H1000000 -' bit(25) = &H2000000 -' bit(26) = &H4000000 -' bit(27) = &H8000000 -' bit(28) = &H10000000 -' bit(29) = &H20000000 -' bit(30) = &H40000000 -' bit(31) = &H80000000 - - iport = 0 - oport = 1 - - For i = 0 To 1 Step 1 - InCombo.AddItem i - OutCombo.AddItem i - Next - InCombo.ListIndex = 0 - OutCombo.ListIndex = 1 - - result = DIO_PortConfig(card, iport + 4, INPUT_PORT) - result = DIO_PortConfig(card, oport + 4, OUTPUT_PORT) -End Sub - -Private Sub Form_Unload(Cancel As Integer) - Dim result As Integer - If card >= 0 Then - result = Release_Card(card) - End If - End -End Sub -Private Sub InCombo_Click() -Dim i As Integer -Dim result As Integer -Dim rb_data As Long -Dim p As Long - -iport = InCombo.ListIndex -If iport = 0 Then - oport = 1 -Else - oport = 0 -End If - -OutCombo.ListIndex = oport - -result = DIO_PortConfig(card, iport + 4, INPUT_PORT) -result = DIO_PortConfig(card, oport + 4, OUTPUT_PORT) - -For i = 0 To 15 - DOP0(i) = Image0 - Status(i) = 0 -Next - -If oport = 0 Then - result = DO_WritePort(card, P7444_TTL0, 0) -Else - result = DO_WritePort(card, P7444_TTL1, 0) -End If - -End Sub - -Private Sub mnuExit_Click() - Dim result As Integer - If card >= 0 Then - result = Release_Card(card) - End If - - End -End Sub - -Private Sub OutCombo_Click() -Dim i As Integer -Dim result As Integer -Dim rb_data As Long -Dim p As Long - -oport = OutCombo.ListIndex -If oport = 0 Then - iport = 1 -Else - iport = 0 -End If - -InCombo.ListIndex = iport - -result = DIO_PortConfig(card, iport + 4, INPUT_PORT) -result = DIO_PortConfig(card, oport + 4, OUTPUT_PORT) - -For i = 0 To 15 - DOP0(i) = Image0 - Status(i) = 0 -Next - -If oport = 0 Then - result = DO_WritePort(card, P7444_TTL0, 0) -Else - result = DO_WritePort(card, P7444_TTL1, 0) -End If - -End Sub - -Private Sub Timer1_Timer() - Dim result As Integer - Dim di_data As Long - Dim dl As Long, dh As Long - Dim i As Integer - Dim p As Long - - If iport = 0 Then - result = DI_ReadPort(card, P7444_TTL0, di_data) - Else - result = DI_ReadPort(card, P7444_TTL1, di_data) - End If - - For i = 0 To 15 - p = di_data And bit(i) - If p <> 0 Then - DI0(i) = Image1 - Else 'p = 0 - DI0(i) = Image0 - End If - Next -End Sub - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7444/VB7444TTL/Util7444.Vbp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7444/VB7444TTL/Util7444.Vbp deleted file mode 100644 index 2576fd4..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7444/VB7444TTL/Util7444.Vbp +++ /dev/null @@ -1,40 +0,0 @@ -Type=Exe -Form=Util7444.Frm -Module=DASK; ..\..\..\include\Dask.bas -Module=Module1; 7444glbl.bas -Form=Base7444.frm -Reference=*\G{00025E04-0000-0000-C000-000000000046}#3.5#0#D:\Program Files\Common Files\Microsoft Shared\DAO\dao2535.tlb#Microsoft DAO 2.5/3.0 Compatibility Library -IconForm="util7444" -Startup="util7444" -HelpFile="" -Title="UTIL7444" -ExeName32="Util7444.exe" -Command32="" -Name="projectUtil7444" -HelpContextID="0" -CompatibleMode="0" -MajorVer=1 -MinorVer=0 -RevisionVer=0 -AutoIncrementVer=0 -ServerSupportFiles=0 -VersionCompanyName="ADLINK" -CompilationType=0 -OptimizationType=0 -FavorPentiumPro(tm)=0 -CodeViewDebugInfo=0 -NoAliasing=0 -BoundsCheck=0 -OverflowCheck=0 -FlPointCheck=0 -FDIVCheck=0 -UnroundedFP=0 -StartMode=0 -Unattended=0 -Retained=0 -ThreadPerObject=0 -MaxNumberOfThreads=1 -DebugStartupOption=0 - -[MS Transaction Server] -AutoRefresh=1 diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7444/VB7444TTL/Util7444.frx b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7444/VB7444TTL/Util7444.frx deleted file mode 100644 index 8dda588..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7444/VB7444TTL/Util7444.frx and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7444/VB7444TTL/Util7444.vbw b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7444/VB7444TTL/Util7444.vbw deleted file mode 100644 index 6c94906..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7444/VB7444TTL/Util7444.vbw +++ /dev/null @@ -1,4 +0,0 @@ -util7444 = 49, 69, 666, 518, , 132, 114, 664, 581, C -DASK = 22, 22, 639, 471, -Module1 = 44, 44, 661, 493, -SettingForm = 66, 66, 683, 515, , 110, 110, 727, 559, C diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7452/CDIOnePoint/CDIonePoint.c b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7452/CDIOnePoint/CDIonePoint.c deleted file mode 100644 index 89649a4..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7452/CDIOnePoint/CDIonePoint.c +++ /dev/null @@ -1,52 +0,0 @@ -#include -#include -#include -#include "dask.h" - -void main(void) -{ - I16 card, err, card_num; - U32 input = 0; - - printf("This program inputs data from Port 0/1/2/3.\n"); - printf("Please input a card number: "); - scanf(" %d", &card_num); - //getch(); - if ((card=Register_Card (PCI_7452, card_num)) <0 ) { - printf("Register_Card error=%d", card); - exit(1); - } - do{ - system( "cls" ); - printf ("-------------------------------------------------\n"); - err = DI_ReadPort(card, 0, &input); - if (err!=NoError) { - printf("DI_ReadPort error=%d", err); - exit(1); - } - printf(" P0 input = 0x%x\n", input); - err = DI_ReadPort(card, 1, &input); - if (err!=NoError) { - printf("DI_ReadPort error=%d", err); - exit(1); - } - printf(" P1 input = 0x%x\n", input); - err = DI_ReadPort(card, 2, &input); - if (err!=NoError) { - printf("DI_ReadPort error=%d", err); - exit(1); - } - printf(" P2 input = 0x%x\n", input); - err = DI_ReadPort(card, 3, &input); - if (err!=NoError) { - printf("DI_ReadPort error=%d", err); - exit(1); - } - printf(" P3 input = 0x%x\n", input); - printf ("-------------------------------------------------\n"); - printf ("\n Press any key to stop...\n"); - Sleep(200); - } while(!kbhit()); - - Release_Card(card); -} diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7452/CDIOnePoint/CDIonePoint.dsp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7452/CDIOnePoint/CDIonePoint.dsp deleted file mode 100644 index f093d9b..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7452/CDIOnePoint/CDIonePoint.dsp +++ /dev/null @@ -1,94 +0,0 @@ -# Microsoft Developer Studio Project File - Name="CDIonePoint" - Package Owner=<4> -# Microsoft Developer Studio Generated Build File, Format Version 5.00 -# ** DO NOT EDIT ** - -# TARGTYPE "Win32 (x86) Console Application" 0x0103 - -CFG=CDIonePoint - Win32 Debug -!MESSAGE This is not a valid makefile. To build this project using NMAKE, -!MESSAGE use the Export Makefile command and run -!MESSAGE -!MESSAGE NMAKE /f "CDIonePoint.mak". -!MESSAGE -!MESSAGE You can specify a configuration when running NMAKE -!MESSAGE by defining the macro CFG on the command line. For example: -!MESSAGE -!MESSAGE NMAKE /f "CDIonePoint.mak" CFG="CDIonePoint - Win32 Debug" -!MESSAGE -!MESSAGE Possible choices for configuration are: -!MESSAGE -!MESSAGE "CDIonePoint - Win32 Release" (based on\ - "Win32 (x86) Console Application") -!MESSAGE "CDIonePoint - Win32 Debug" (based on\ - "Win32 (x86) Console Application") -!MESSAGE - -# Begin Project -# PROP Scc_ProjName "" -# PROP Scc_LocalPath "" -CPP=cl.exe -RSC=rc.exe - -!IF "$(CFG)" == "CDIonePoint - Win32 Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "Release" -# PROP BASE Intermediate_Dir "Release" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "" -# PROP Intermediate_Dir "Release" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c -# ADD CPP /nologo /W3 /GX /Od /I "..\..\..\include" /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /FD /c -# SUBTRACT CPP /YX -# ADD BASE RSC /l 0x404 /d "NDEBUG" -# ADD RSC /l 0x404 /d "NDEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ..\..\..\lib\pci-dask.lib /nologo /subsystem:console /machine:I386 -# SUBTRACT LINK32 /incremental:yes - -!ELSEIF "$(CFG)" == "CDIonePoint - Win32 Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "Debug" -# PROP BASE Intermediate_Dir "Debug" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "Debug" -# PROP Intermediate_Dir "Debug" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /Gm /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c -# ADD CPP /nologo /W3 /Gm /GX /Zi /Od /I "..\..\..\include" /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /FD /c -# SUBTRACT CPP /YX -# ADD BASE RSC /l 0x404 /d "_DEBUG" -# ADD RSC /l 0x404 /d "_DEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ..\..\..\lib\pci-dask.lib /nologo /subsystem:console /incremental:no /debug /machine:I386 /pdbtype:sept - -!ENDIF - -# Begin Target - -# Name "CDIonePoint - Win32 Release" -# Name "CDIonePoint - Win32 Debug" -# Begin Source File - -SOURCE=.\CDIonePoint.c -# End Source File -# End Target -# End Project diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7452/CDIOnePoint/CDIonePoint.dsw b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7452/CDIOnePoint/CDIonePoint.dsw deleted file mode 100644 index 36bffa2..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7452/CDIOnePoint/CDIonePoint.dsw +++ /dev/null @@ -1,29 +0,0 @@ -Microsoft Developer Studio Workspace File, Format Version 5.00 -# WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE! - -############################################################################### - -Project: "CDIonePoint"=.\CDIonePoint.dsp - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ -}}} - -############################################################################### - -Global: - -Package=<5> -{{{ -}}} - -Package=<3> -{{{ -}}} - -############################################################################### - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7452/CDIOnePoint/CDIonePoint.exe b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7452/CDIOnePoint/CDIonePoint.exe deleted file mode 100644 index d0bb50a..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7452/CDIOnePoint/CDIonePoint.exe and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7452/CDOOnePoint/CDOonePoint.c b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7452/CDOOnePoint/CDOonePoint.c deleted file mode 100644 index 011d71f..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7452/CDOOnePoint/CDOonePoint.c +++ /dev/null @@ -1,56 +0,0 @@ -#include -#include -#include -#include "dask.h" - -void main(void) -{ - I16 card, err, card_num=0; - U32 out_value = 0; - - printf("This program outputs data to Port 0/1/2/3.\n"); - printf("Please input a card number: "); - scanf(" %d", &card_num); - //getch(); - if ((card = Register_Card (PCI_7452, card_num)) <0 ) { - printf("Register_Card error=%d", card); - exit(1); - } - do{ - system( "cls" ); - printf ("-------------------------------------------------\n"); - err = DO_WritePort(card, 0, out_value); - if (err!=NoError) { - printf("DO_WritePort error=%d", err); - exit(1); - } - printf(" P0 output = 0x%x\n", out_value); - err = DO_WritePort(card, 1, out_value); - if (err!=NoError) { - printf("DO_WritePort error=%d", err); - exit(1); - } - printf(" P1 output = 0x%x\n", out_value); - err = DO_WritePort(card, 2, out_value); - if (err!=NoError) { - printf("DO_WritePort error=%d", err); - exit(1); - } - printf(" P2 output = 0x%x\n", out_value); - err = DO_WritePort(card, 3, out_value); - if (err!=NoError) { - printf("DO_WritePort error=%d", err); - exit(1); - } - printf(" P3 output = 0x%x\n", out_value); - printf ("-------------------------------------------------\n"); - printf ("\n Press any key to stop...\n"); - Sleep(200); - if(out_value < 0xffffffff) - out_value = (out_value + 1); - else - out_value = 0; - } while(!kbhit()); - - Release_Card(card); -} diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7452/CDOOnePoint/CDOonePoint.dsp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7452/CDOOnePoint/CDOonePoint.dsp deleted file mode 100644 index cf34500..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7452/CDOOnePoint/CDOonePoint.dsp +++ /dev/null @@ -1,94 +0,0 @@ -# Microsoft Developer Studio Project File - Name="CDOonePoint" - Package Owner=<4> -# Microsoft Developer Studio Generated Build File, Format Version 5.00 -# ** DO NOT EDIT ** - -# TARGTYPE "Win32 (x86) Console Application" 0x0103 - -CFG=CDOonePoint - Win32 Debug -!MESSAGE This is not a valid makefile. To build this project using NMAKE, -!MESSAGE use the Export Makefile command and run -!MESSAGE -!MESSAGE NMAKE /f "CDOonePoint.mak". -!MESSAGE -!MESSAGE You can specify a configuration when running NMAKE -!MESSAGE by defining the macro CFG on the command line. For example: -!MESSAGE -!MESSAGE NMAKE /f "CDOonePoint.mak" CFG="CDOonePoint - Win32 Debug" -!MESSAGE -!MESSAGE Possible choices for configuration are: -!MESSAGE -!MESSAGE "CDOonePoint - Win32 Release" (based on\ - "Win32 (x86) Console Application") -!MESSAGE "CDOonePoint - Win32 Debug" (based on\ - "Win32 (x86) Console Application") -!MESSAGE - -# Begin Project -# PROP Scc_ProjName "" -# PROP Scc_LocalPath "" -CPP=cl.exe -RSC=rc.exe - -!IF "$(CFG)" == "CDOonePoint - Win32 Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "Release" -# PROP BASE Intermediate_Dir "Release" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "" -# PROP Intermediate_Dir "Release" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c -# ADD CPP /nologo /W3 /GX /Od /I "..\..\..\include" /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /FD /c -# SUBTRACT CPP /YX -# ADD BASE RSC /l 0x404 /d "NDEBUG" -# ADD RSC /l 0x404 /d "NDEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ..\..\..\lib\pci-dask.lib /nologo /subsystem:console /machine:I386 -# SUBTRACT LINK32 /incremental:yes - -!ELSEIF "$(CFG)" == "CDOonePoint - Win32 Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "Debug" -# PROP BASE Intermediate_Dir "Debug" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "Debug" -# PROP Intermediate_Dir "Debug" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /Gm /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c -# ADD CPP /nologo /W3 /Gm /GX /Zi /Od /I "..\..\..\include" /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /FD /c -# SUBTRACT CPP /YX -# ADD BASE RSC /l 0x404 /d "_DEBUG" -# ADD RSC /l 0x404 /d "_DEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ..\..\..\lib\pci-dask.lib /nologo /subsystem:console /incremental:no /debug /machine:I386 /pdbtype:sept - -!ENDIF - -# Begin Target - -# Name "CDOonePoint - Win32 Release" -# Name "CDOonePoint - Win32 Debug" -# Begin Source File - -SOURCE=.\CDOonePoint.c -# End Source File -# End Target -# End Project diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7452/CDOOnePoint/CDOonePoint.dsw b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7452/CDOOnePoint/CDOonePoint.dsw deleted file mode 100644 index bc68cc7..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7452/CDOOnePoint/CDOonePoint.dsw +++ /dev/null @@ -1,29 +0,0 @@ -Microsoft Developer Studio Workspace File, Format Version 5.00 -# WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE! - -############################################################################### - -Project: "CDOonePoint"=.\CDOonePoint.dsp - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ -}}} - -############################################################################### - -Global: - -Package=<5> -{{{ -}}} - -Package=<3> -{{{ -}}} - -############################################################################### - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7452/CDOOnePoint/CDOonePoint.exe b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7452/CDOOnePoint/CDOonePoint.exe deleted file mode 100644 index ebdf03a..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7452/CDOOnePoint/CDOonePoint.exe and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7452/SDK7452/Resource.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7452/SDK7452/Resource.h deleted file mode 100644 index 959c748..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7452/SDK7452/Resource.h +++ /dev/null @@ -1,19 +0,0 @@ -//{{NO_DEPENDENCIES}} -// Microsoft Developer Studio generated include file. -// Used by Util7432.rc -// -#define IDD_DIALOG1 101 -#define IDM_EXIT 110 -#define IDC_COMBO1 1015 -#define IDC_STATIC -1 - -// Next default values for new objects -// -#ifdef APSTUDIO_INVOKED -#ifndef APSTUDIO_READONLY_SYMBOLS -#define _APS_NEXT_RESOURCE_VALUE 102 -#define _APS_NEXT_COMMAND_VALUE 101 -#define _APS_NEXT_CONTROL_VALUE 1000 -#define _APS_NEXT_SYMED_VALUE 101 -#endif -#endif diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7452/SDK7452/Util7452.c b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7452/SDK7452/Util7452.c deleted file mode 100644 index e0fd16e..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7452/SDK7452/Util7452.c +++ /dev/null @@ -1,352 +0,0 @@ -/*;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; -;; Copyright (c) 1999, ADLink Technology Inc. All rights reserved. ;; -;; ;; -;; File Name : Util7452.C ;; -;; Purpose : This sample program demonstrate how to operate ;; -;; DI & DO for PCI-7452 ;; -;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;*/ - -#include -#include -#include -#include -#include -#include -#include "resource.h" -#include "Dask.h" - -#define IDM_EXIT 110 -#define TIMER1 1 -#define IDC_CHAN 214 -#define IDC_CHAN2 215 - -int PASCAL WinMain(HANDLE, HANDLE, LPSTR, int); -long PASCAL MainWndProc(HWND, UINT, WPARAM, LPARAM); - -HANDLE hInst; -HWND hChanComboBox, hOutChanComboBox; -U32 input[4]={0, 0, 0, 0}, output[4]={0, 0, 0, 0}; -U32 oldinput[4]={0, 0, 0, 0} ; -I16 card=-1, card_number=0; -U16 iPort=0, oPort=0; - -HBRUSH hLTGreenBrush,hGreenBrush,hBlueBrush,hYellowBrush,hRedBrush; - -POINT input_pos[32]= {{320, 80}, {300, 80}, - {280, 80}, {260, 80}, - {240, 80}, {220, 80}, - {200, 80}, {180, 80}, - {160, 80}, {140, 80}, - {120, 80}, {100, 80}, - { 80, 80}, { 60, 80}, - { 40, 80}, { 20, 80}, - {320, 40}, {300, 40}, - {280, 40}, {260, 40}, - {240, 40}, {220, 40}, - {200, 40}, {180, 40}, - {160, 40}, {140, 40}, - {120, 40}, {100, 40}, - { 80, 40}, { 60, 40}, - { 40, 40}, { 20, 40} - }; -POINT output_pos[32] ={ - {320, 200}, {300, 200}, - {280, 200}, {260, 200}, - {240, 200}, {220, 200}, - {200, 200}, {180, 200}, - {160, 200}, {140, 200}, - {120, 200}, {100, 200}, - { 80, 200}, { 60, 200}, - { 40, 200}, { 20, 200}, - {320, 160}, {300, 160}, - {280, 160}, {260, 160}, - {240, 160}, {220, 160}, - {200, 160}, {180, 160}, - {160, 160}, {140, 160}, - {120, 160}, {100, 160}, - { 80, 160}, { 60, 160}, - { 40, 160}, { 20, 160}, - }; - -BOOL InitApplication(HANDLE); -BOOL InitInstance(HANDLE, int); - -int PASCAL WinMain(hInstance, hPrevInstance, lpCmdLine, nCmdShow) -HANDLE hInstance, hPrevInstance; -LPSTR lpCmdLine; -int nCmdShow; -{ - MSG msg; - - if (!hPrevInstance) - if (!InitApplication(hInstance)) return(FALSE); - if (!InitInstance(hInstance, nCmdShow)) return(FALSE); - while (GetMessage(&msg, NULL, NULL, NULL)) { - TranslateMessage(&msg); - DispatchMessage(&msg); - } - return(msg.wParam); -} - -BOOL InitApplication(hInstance) -HANDLE hInstance; -{ - WNDCLASS wc; - - /* Main Window Class */ - wc.style = NULL; - wc.lpfnWndProc = (WNDPROC)MainWndProc; - wc.cbClsExtra = 0; - wc.cbWndExtra = 0; - wc.hInstance = hInstance; - wc.hIcon = LoadIcon(hInstance, "MyIcon"); - wc.hCursor = LoadCursor(NULL, IDC_ARROW); - wc.hbrBackground = GetStockObject(LTGRAY_BRUSH); - wc.lpszMenuName = NULL; - wc.lpszClassName = "GenericWClass"; - if (!RegisterClass(&wc)) return(FALSE); -} - -BOOL InitInstance(hInstance, nCmdShow) -HANDLE hInstance; -int nCmdShow; -{ - HWND hWnd; - HMENU hSampleMenu; - - hInst = hInstance; - hSampleMenu = LoadMenu(hInstance, "U7452Menu"); - hWnd = CreateWindow("GenericWClass", - (LPCSTR)"PCI-7452", - WS_OVERLAPPEDWINDOW, - CW_USEDEFAULT, - CW_USEDEFAULT, - 370, - 340, - NULL, - hSampleMenu, - hInstance, - NULL); - if (!hWnd) return(FALSE); - ShowWindow(hWnd, nCmdShow); - UpdateWindow(hWnd); - return(TRUE); -} - -BOOL PASCAL setup(HWND hWnd, unsigned message, WPARAM wParam, LPARAM lParam) -{ - int i; - char n[16]; - char s[50]; - switch (message) { - case WM_INITDIALOG: - for (i=0;i<16;i++) { - wsprintf(n, "%d", i); - _strupr(n); - SendMessage(GetDlgItem(hWnd,IDC_COMBO1), CB_ADDSTRING, NULL, (LONG)(LPSTR) n); - } - SendMessage(GetDlgItem(hWnd,IDC_COMBO1) , CB_SETCURSEL, 0, 0L); - - break; - case WM_COMMAND: - switch(LOWORD(wParam)) { - - case IDC_COMBO1: - if (HIWORD(wParam) == CBN_CLOSEUP) { - i = (int)SendMessage(GetDlgItem(hWnd,IDC_COMBO1), CB_GETCURSEL, 0, 0L); - SendMessage(GetDlgItem(hWnd,IDC_COMBO1), CB_GETLBTEXT, i, (LPARAM)((LPCSTR)n)); - card_number = i; - } - return(TRUE); - case IDOK: - if ((card=Register_Card(PCI_7452, card_number)) < 0) { - wsprintf(s, "Register_Card Error = %d\n", card); - MessageBox(hWnd, s, "Error", MB_OK); - } - EndDialog(hWnd, TRUE); - InvalidateRect(hWnd, NULL, FALSE); - return (TRUE); - case IDCANCEL: - EndDialog(hWnd, TRUE); - return (TRUE); - } - break; - } - return (FALSE); -} - -long PASCAL MainWndProc(hWnd, message, wParam, lParam) -HWND hWnd; -UINT message; -WPARAM wParam; -LPARAM lParam; -{ - HDC hDC; - PAINTSTRUCT ps; - int i, px, py; - char n[16]; - - switch(message) { - case WM_CREATE: - DialogBox(hInst,IDD_DIALOG1, hWnd, setup); - if(card<0) { - SendMessage(hWnd, WM_CLOSE, 0, 0L); - break; - } - hChanComboBox = CreateWindow("ComboBox", NULL, - CBS_DROPDOWNLIST | WS_CHILD | WS_VISIBLE | WS_VSCROLL, - output_pos[26].x, output_pos[26].y-35, 60, 80, hWnd, IDC_CHAN, hInst, NULL); - for (i=0;i<4;i++) { - wsprintf(n, "%d", i); - _strupr(n); - SendMessage(hChanComboBox, CB_ADDSTRING, i, (LPARAM)((LPCSTR)n)); - } - SendMessage(hChanComboBox ,CB_SETCURSEL, 0, 0L); - - hOutChanComboBox = CreateWindow("ComboBox", NULL, - CBS_DROPDOWNLIST | WS_CHILD | WS_VISIBLE | WS_VSCROLL, - input_pos[26].x-10, input_pos[26].y-35, 60, 80, hWnd, IDC_CHAN2, hInst, NULL); - for (i=0;i<4;i++) { - wsprintf(n, "%d", i); - _strupr(n); - SendMessage(hOutChanComboBox, CB_ADDSTRING, i, (LPARAM)((LPCSTR)n)); - } - SendMessage(hOutChanComboBox ,CB_SETCURSEL, 0, 0L); - for (i=0;i<4;i++) { - DO_ReadPort(card,oPort,&output[oPort]); - } - hLTGreenBrush = CreateSolidBrush(RGB(0, 255, 0)); - hGreenBrush = CreateSolidBrush(RGB(0, 128, 0)); - hBlueBrush = CreateSolidBrush(RGB(0, 0, 255)); - hRedBrush = CreateSolidBrush(RGB(255, 0, 0)); - SetTimer(hWnd, TIMER1, 50, NULL); - srand((unsigned)time(NULL)); - break; - case WM_PAINT: - hDC = BeginPaint(hWnd, &ps); - // Digital Input Box - SelectObject(hDC, hLTGreenBrush); - Rectangle(hDC, input_pos[31].x-10, input_pos[31].y-24, input_pos[0].x+26, input_pos[0].y+40); - SetTextColor(hDC,RGB(255,255,255)); - SetBkColor(hDC, RGB(0, 0, 255)); - TextOut(hDC, input_pos[31].x, input_pos[31].y-30, "Digital Input#",14); - // Digital Output Box - SelectObject(hDC, hGreenBrush); - Rectangle(hDC, output_pos[31].x-10, output_pos[31].y-24, output_pos[0].x+26, output_pos[0].y+40); - SetTextColor(hDC,RGB(255,0,0)); - SetBkColor(hDC, RGB(0, 0, 255)); - TextOut(hDC, output_pos[31].x, output_pos[31].y-30, "Digital Output#", 15); - // Channel Label - SetTextColor(hDC,RGB(0,0,0)); - SetBkColor(hDC, RGB(0, 255, 0)); - TextOut(hDC, input_pos[31].x, input_pos[31].y+16, "31 16", 75); - TextOut(hDC, input_pos[15].x, input_pos[15].y+16, "15 0", 75); - SetBkColor(hDC, RGB(0, 128, 0)); - TextOut(hDC, output_pos[31].x, output_pos[31].y+16, "31 16", 75); - TextOut(hDC, output_pos[15].x, output_pos[15].y+16, "15 0", 75); - SetBkColor(hDC, RGB(0, 255, 0)); - // Detect Channel Input - for (i=0; i<32; i++) { - if ((input[iPort]>>i)&0x01) - SelectObject(hDC, hRedBrush); - else - SelectObject(hDC, GetStockObject(WHITE_BRUSH)); - Ellipse(hDC, input_pos[i].x, input_pos[i].y, input_pos[i].x+17, input_pos[i].y+17); - } - // Channel Output - for (i=0; i<32; i++) { - if ((output[oPort]>>i)&0x01) - SelectObject(hDC, hRedBrush); - else - SelectObject(hDC, GetStockObject(WHITE_BRUSH)); - Ellipse(hDC, output_pos[i].x, output_pos[i].y, output_pos[i].x+17, output_pos[i].y+17); - } - EndPaint(hWnd, &ps); - break; - case WM_COMMAND: - switch(LOWORD(wParam)) { - case IDM_EXIT: - SendMessage(hWnd, WM_CLOSE, 0, 0L); - break; - case IDC_CHAN: - if (HIWORD(wParam) == CBN_CLOSEUP) { - if ((i=(int)SendMessage(GetDlgItem(hWnd,IDC_CHAN),CB_GETCURSEL, 0, 0L))>=0 ) { - oPort=i; - DO_ReadPort(card,oPort,&output[oPort]); - hDC = GetDC(hWnd); - for (i=0; i<32; i++) { - if ((output[oPort]>>i)&0x01) { - SelectObject(hDC, hRedBrush); - } - else { - SelectObject(hDC, GetStockObject(WHITE_BRUSH)); - } - Ellipse(hDC, output_pos[i].x, output_pos[i].y, output_pos[i].x+17, output_pos[i].y+17); - } - ReleaseDC(hWnd, hDC); - } - } - break; - case IDC_CHAN2: - if (HIWORD(wParam) == CBN_CLOSEUP) { - if ((i=(int)SendMessage(GetDlgItem(hWnd,IDC_CHAN2),CB_GETCURSEL, 0, 0L))>=0 ) { - iPort=i; - } - } - break; - default: - return(DefWindowProc(hWnd, message, wParam, lParam)); - } - break; - case WM_TIMER: - /* Digital Input */ - DI_ReadPort(card,iPort,&input[iPort]); - hDC = GetDC(hWnd); - for (i=0; i<32; i++) { - //if( ((input[iPort]>>i)&0x01) != ((oldinput[iPort]>>i)&0x01) ) - { - if ((input[iPort]>>i)&0x01) - SelectObject(hDC, hRedBrush); - else - SelectObject(hDC, GetStockObject(WHITE_BRUSH)); - Ellipse(hDC, input_pos[i].x, input_pos[i].y, input_pos[i].x+17, input_pos[i].y+17); - } - } - oldinput[iPort]=input[iPort]; - ReleaseDC(hWnd, hDC); - break; - case WM_DESTROY: - DeleteObject(hRedBrush); - DeleteObject(hGreenBrush); - DeleteObject(hLTGreenBrush); - KillTimer(hWnd, TIMER1); - PostQuitMessage(0); - break; - case WM_LBUTTONDOWN: - px = LOWORD(lParam); - py = HIWORD(lParam); - for (i=0; i<32; i++) { - if (px>output_pos[i].x && pxoutput_pos[i].y && py>i)&0x01) { - output[oPort] -= (((U32)1L)< -# Microsoft Developer Studio Generated Build File, Format Version 5.00 -# ** DO NOT EDIT ** - -# TARGTYPE "Win32 (x86) Application" 0x0101 - -CFG=Util7452 - Win32 Release -!MESSAGE This is not a valid makefile. To build this project using NMAKE, -!MESSAGE use the Export Makefile command and run -!MESSAGE -!MESSAGE NMAKE /f "Util7452.mak". -!MESSAGE -!MESSAGE You can specify a configuration when running NMAKE -!MESSAGE by defining the macro CFG on the command line. For example: -!MESSAGE -!MESSAGE NMAKE /f "Util7452.mak" CFG="Util7452 - Win32 Release" -!MESSAGE -!MESSAGE Possible choices for configuration are: -!MESSAGE -!MESSAGE "Util7452 - Win32 Release" (based on "Win32 (x86) Application") -!MESSAGE "Util7452 - Win32 Debug" (based on "Win32 (x86) Application") -!MESSAGE - -# Begin Project -# PROP Scc_ProjName "" -# PROP Scc_LocalPath "" -CPP=cl.exe -MTL=midl.exe -RSC=rc.exe - -!IF "$(CFG)" == "Util7452 - Win32 Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir ".\Release" -# PROP BASE Intermediate_Dir ".\Release" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "" -# PROP Intermediate_Dir ".\Release" -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /YX /c -# ADD CPP /nologo /W3 /GX /O2 /I "..\..\..\include" /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /FD /c -# SUBTRACT CPP /YX -# ADD BASE MTL /nologo /D "NDEBUG" /win32 -# ADD MTL /nologo /D "NDEBUG" /mktyplib203 /win32 -# ADD BASE RSC /l 0x404 /d "NDEBUG" -# ADD RSC /l 0x404 /d "NDEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:windows /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ..\..\..\lib\PCI-DASK.lib /nologo /subsystem:windows /machine:I386 - -!ELSEIF "$(CFG)" == "Util7452 - Win32 Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir ".\Debug" -# PROP BASE Intermediate_Dir ".\Debug" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "" -# PROP Intermediate_Dir ".\Debug" -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /Gm /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /YX /c -# ADD CPP /nologo /W3 /Gm /GX /Zi /Od /I "..\..\..\include" /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /FD /c -# SUBTRACT CPP /YX -# ADD BASE MTL /nologo /D "_DEBUG" /win32 -# ADD MTL /nologo /D "_DEBUG" /mktyplib203 /win32 -# ADD BASE RSC /l 0x404 /d "_DEBUG" -# ADD RSC /l 0x404 /d "_DEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:windows /debug /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ..\..\..\lib\PCI-DASK.lib /nologo /subsystem:windows /debug /machine:I386 - -!ENDIF - -# Begin Target - -# Name "Util7452 - Win32 Release" -# Name "Util7452 - Win32 Debug" -# Begin Group "Source Files" - -# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;hpj;bat;for;f90" -# Begin Source File - -SOURCE=.\util7452.c -# End Source File -# Begin Source File - -SOURCE=.\util7452.rc -# End Source File -# End Group -# Begin Group "Header Files" - -# PROP Default_Filter "h;hpp;hxx;hm;inl;fi;fd" -# End Group -# Begin Group "Resource Files" - -# PROP Default_Filter "ico;cur;bmp;dlg;rc2;rct;bin;cnt;rtf;gif;jpg;jpeg;jpe" -# End Group -# End Target -# End Project diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7452/SDK7452/Util7452.dsw b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7452/SDK7452/Util7452.dsw deleted file mode 100644 index 4dc69cc..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7452/SDK7452/Util7452.dsw +++ /dev/null @@ -1,29 +0,0 @@ -Microsoft Developer Studio Workspace File, Format Version 5.00 -# WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE! - -############################################################################### - -Project: "Util7452"=.\Util7452.dsp - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ -}}} - -############################################################################### - -Global: - -Package=<5> -{{{ -}}} - -Package=<3> -{{{ -}}} - -############################################################################### - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7452/SDK7452/Util7452.exe b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7452/SDK7452/Util7452.exe deleted file mode 100644 index 5c98cbe..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7452/SDK7452/Util7452.exe and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7452/SDK7452/Util7452.rc b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7452/SDK7452/Util7452.rc deleted file mode 100644 index d69a6ff..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7452/SDK7452/Util7452.rc +++ /dev/null @@ -1,115 +0,0 @@ -//Microsoft Developer Studio generated resource script. -// -#include "resource.h" - -#define APSTUDIO_READONLY_SYMBOLS -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 2 resource. -// -#define APSTUDIO_HIDDEN_SYMBOLS -#include "windows.h" -#undef APSTUDIO_HIDDEN_SYMBOLS - -///////////////////////////////////////////////////////////////////////////// -#undef APSTUDIO_READONLY_SYMBOLS - -///////////////////////////////////////////////////////////////////////////// -// English (U.S.) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -#ifdef _WIN32 -LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US -#pragma code_page(1252) -#endif //_WIN32 - -///////////////////////////////////////////////////////////////////////////// -// -// Menu -// - -U7452MENU MENU DISCARDABLE -BEGIN - MENUITEM "E&xit!", IDM_EXIT -END - - -#ifdef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// TEXTINCLUDE -// - -1 TEXTINCLUDE DISCARDABLE -BEGIN - "resource.h\0" -END - -2 TEXTINCLUDE DISCARDABLE -BEGIN - "#define APSTUDIO_HIDDEN_SYMBOLS\r\n" - "#include ""windows.h""\r\n" - "#undef APSTUDIO_HIDDEN_SYMBOLS\r\n" - "\0" -END - -3 TEXTINCLUDE DISCARDABLE -BEGIN - "\r\n" - "\0" -END - -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog -// - -IDD_DIALOG1 DIALOG DISCARDABLE 110, 10, 106, 61 -STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "Card Number" -FONT 10, "System" -BEGIN - DEFPUSHBUTTON "OK",IDOK,10,40,37,14 - PUSHBUTTON "Cancel",IDCANCEL,61,40,38,14 - LTEXT "Card Number",IDC_STATIC,3,13,47,13 - COMBOBOX IDC_COMBO1,51,13,48,84,CBS_DROPDOWN | WS_VSCROLL | - WS_TABSTOP -END - - -///////////////////////////////////////////////////////////////////////////// -// -// DESIGNINFO -// - -#ifdef APSTUDIO_INVOKED -GUIDELINES DESIGNINFO DISCARDABLE -BEGIN - IDD_DIALOG1, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 99 - TOPMARGIN, 7 - BOTTOMMARGIN, 54 - END -END -#endif // APSTUDIO_INVOKED - -#endif // English (U.S.) resources -///////////////////////////////////////////////////////////////////////////// - - - -#ifndef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 3 resource. -// - - -///////////////////////////////////////////////////////////////////////////// -#endif // not APSTUDIO_INVOKED - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7452/SDK7452DbEvt/7452int.c b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7452/SDK7452DbEvt/7452int.c deleted file mode 100644 index 6d05988..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7452/SDK7452DbEvt/7452int.c +++ /dev/null @@ -1,253 +0,0 @@ -/*;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; -;; Copyright (c) 1995-1999, ADLink Technology Inc. All rights reserved. ;; -;; ;; -;; File Name : 7452INT.C ;; -;; Purpose : This sample program demonstrates how handle interrupt ;; -;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;*/ - -#include -#include -#include -#include -#include -#include "Dask.h" -#include "Resource.h" - -#define IDC_START 300 -#define IDC_OUTPUT 302 - -HANDLE hInst; /* current instance */ -int int_count=0, int2_count=0; -I16 card=-1, card_number = 0; - -HWND hStart, hMainWnd; -HANDLE hEvent[2]; - -int PASCAL WinMain(HANDLE, HANDLE, LPSTR, int); -BOOL InitApplication(HANDLE); -BOOL InitInstance(HANDLE, int); -long PASCAL MainWndProc(HWND, unsigned, WPARAM, LPARAM); - -void -IntThread(void* pArg) -{ - while (1) { - if (WaitForSingleObject(hEvent[0], INFINITE) == WAIT_OBJECT_0) { - int_count++; - ResetEvent(hEvent[0]); - InvalidateRect(hMainWnd, NULL, FALSE); - } - } - _endthread(); -} - -void -Int2Thread(void* pArg) -{ - while (1) { - if (WaitForSingleObject(hEvent[1], INFINITE) == WAIT_OBJECT_0) { - int2_count++; - ResetEvent(hEvent[1]); - InvalidateRect(hMainWnd, NULL, FALSE); - } - } - _endthread(); -} - - /********************************************************************** - - FUNCTION: WinMain(HANDLE, HANDLE, LPSTR, int) - PURPOSE: calls initialization function, processes message loop - - ***********************************************************************/ - - int PASCAL WinMain(hInstance, hPrevInstance, lpCmdLine, nCmdShow) - HANDLE hInstance; - HANDLE hPrevInstance; - LPSTR lpCmdLine; - int nCmdShow; - { - MSG msg; - - if(!hPrevInstance) - if(!InitApplication(hInstance)) - return(FALSE); - - if(!InitInstance(hInstance, nCmdShow)) - return(FALSE); - - while ( GetMessage(&msg, NULL, NULL, NULL)) - { - TranslateMessage(&msg); - DispatchMessage(&msg); - } - return(msg.wParam); - } - -/**************************************************************************** - - FUNCTION: InitApplication(HANDLE) - - PURPOSE: Initializes window data and registers window class - -****************************************************************************/ - -BOOL InitApplication(hInstance) -HANDLE hInstance; -{ - WNDCLASS wc; - - wc.style = NULL; - wc.lpfnWndProc = MainWndProc; - wc.cbClsExtra = 0; - wc.cbWndExtra = 0; - wc.hInstance = hInstance; - wc.hIcon = LoadIcon(NULL, IDI_APPLICATION); - wc.hCursor = LoadCursor(hInstance, IDC_ARROW); - wc.hbrBackground = GetStockObject(WHITE_BRUSH); - wc.lpszMenuName = "U7452Menu"; - wc.lpszClassName = "IntClass"; - - return (RegisterClass(&wc)); -} - -/**************************************************************************** - - FUNCTION: InitInstance(HANDLE, int) - - PURPOSE: Saves instance handle and creates main window - -****************************************************************************/ - -BOOL InitInstance(hInstance, nCmdShow) -HANDLE hInstance; -int nCmdShow; -{ - HWND hWnd; - - hInst = hInstance; - hWnd = CreateWindow("IntClass", "PCI-7452 COS Interrupt Sample", WS_OVERLAPPEDWINDOW, - 200, 100, 420, 300, NULL, NULL, hInstance, NULL); - if (!hWnd) return (FALSE); - ShowWindow(hWnd, nCmdShow); - UpdateWindow(hWnd); - return (TRUE); -} - -BOOL PASCAL setup(HWND hWnd, unsigned message, WPARAM wParam, LPARAM lParam) -{ - int i; - char n[16]; - char s[50]; - switch (message) { - case WM_INITDIALOG: - for (i=0;i<16;i++) { - wsprintf(n, "%d", i); - _strupr(n); - SendMessage(GetDlgItem(hWnd,IDC_COMBO1), CB_ADDSTRING, NULL, (LONG)(LPSTR) n); - } - SendMessage(GetDlgItem(hWnd,IDC_COMBO1) , CB_SETCURSEL, 0, 0L); - - break; - case WM_COMMAND: - switch(LOWORD(wParam)) { - - case IDC_COMBO1: - if (HIWORD(wParam) == CBN_CLOSEUP) { - i = (int)SendMessage(GetDlgItem(hWnd,IDC_COMBO1), CB_GETCURSEL, 0, 0L); - SendMessage(GetDlgItem(hWnd,IDC_COMBO1), CB_GETLBTEXT, i, (LPARAM)((LPCSTR)n)); - card_number = i; - } - return(TRUE); - case IDOK: - if ((card=Register_Card(PCI_7452, card_number)) < 0) { - wsprintf(s, "Register_Card Error = %d\n", card); - MessageBox(hWnd, s, "Error", MB_OK); - } - EndDialog(hWnd, TRUE); - InvalidateRect(hWnd, NULL, FALSE); - return (TRUE); - case IDCANCEL: - EndDialog(hWnd, TRUE); - return (TRUE); - } - break; - } - return (FALSE); -} - -/**************************************************************************** - - FUNCTION: MainWndProc(HWND, UINT, WPARAM, LPARAM) - - PURPOSE: Processes messages - - -****************************************************************************/ - -long PASCAL MainWndProc(hWnd, message, wParam, lParam) -HWND hWnd; -unsigned message; -WPARAM wParam; -LPARAM lParam; -{ - PAINTSTRUCT ps; - HDC hDC; - char buf[20]; - - switch(message) { - case WM_CREATE: - DialogBox(hInst,IDD_DIALOG2, hWnd, setup); - if(card<0) { - SendMessage(hWnd, WM_CLOSE, 0, 0L); - break; - } - CreateWindow("BUTTON", "Output", WS_CHILD | WS_VISIBLE, - 130, 200, 72, 24, hWnd, IDC_OUTPUT, hInst, NULL); - DIO_SetCOSInterrupt32(card, 0, 0x0001, (HANDLE *) &hEvent[0], 0); - DIO_SetCOSInterrupt32(card, 1, 0x0001, (HANDLE *) &hEvent[1], 0); - hMainWnd = hWnd; - _beginthread(IntThread, 0, 0); - _beginthread(Int2Thread, 0, 0); - break; - case WM_PAINT: - hDC = BeginPaint(hWnd, &ps); - TextOut(hDC, 20, 20, "This program shows the number of occurrence of interrupt",56); - TextOut(hDC, 20, 35, "for COS interrupt.", 18); - TextOut(hDC, 20, 50, "COS0 interrupt is generated by change of state of DI0 bit-0.", 59); - TextOut(hDC, 20, 65, "COS1 interrupt is generated by change of state of DI1 bit-1.", 59); - TextOut(hDC, 20, 80, "If connecting DO0 bit-0 to DI0 bit-0 and DO1 bit-0 to DI1 bit-0,", 63); - TextOut(hDC, 20, 95, "press 'Output' button can generate two interrupts.", 50); - TextOut(hDC, 20, 110,"One for COS0 and the other for COS1.", 36); - wsprintf(buf,"COS0 count = %d", int_count); - TextOut(hDC, 120, 140, buf, strlen(buf)); - wsprintf(buf,"COS1 count = %d", int2_count); - TextOut(hDC, 120, 160, buf, strlen(buf)); - EndPaint(hWnd, &ps); - break; - case WM_COMMAND: - switch(LOWORD(wParam)) { - case IDM_EXIT: - //DIO_SetDualInterrupt(card, INT1_DISABLE, INT2_DISABLE, hEvent); - DIO_SetCOSInterrupt32(card, 0, 0, NULL, 0); - DIO_SetCOSInterrupt32(card, 1, 0, NULL, 0); - SendMessage(hWnd, WM_CLOSE, 0, 0L); - break; - case IDC_OUTPUT: - DO_WritePort(card,0, 0x1); - DO_WritePort(card,1, 0x1); - Sleep(1); - DO_WritePort(card,0, 0x0); - DO_WritePort(card,1, 0x0); - break; - } - break; - case WM_DESTROY: - if (card >= 0) Release_Card(card); - PostQuitMessage(0); - break; - default: - return (DefWindowProc(hWnd, message, wParam, lParam)); - } - return(0L); -} diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7452/SDK7452DbEvt/7452int.dsp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7452/SDK7452DbEvt/7452int.dsp deleted file mode 100644 index e38c31d..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7452/SDK7452DbEvt/7452int.dsp +++ /dev/null @@ -1,110 +0,0 @@ -# Microsoft Developer Studio Project File - Name="7452int" - Package Owner=<4> -# Microsoft Developer Studio Generated Build File, Format Version 5.00 -# ** DO NOT EDIT ** - -# TARGTYPE "Win32 (x86) Application" 0x0101 - -CFG=7452int - Win32 Release -!MESSAGE This is not a valid makefile. To build this project using NMAKE, -!MESSAGE use the Export Makefile command and run -!MESSAGE -!MESSAGE NMAKE /f "7452int.mak". -!MESSAGE -!MESSAGE You can specify a configuration when running NMAKE -!MESSAGE by defining the macro CFG on the command line. For example: -!MESSAGE -!MESSAGE NMAKE /f "7452int.mak" CFG="7452int - Win32 Release" -!MESSAGE -!MESSAGE Possible choices for configuration are: -!MESSAGE -!MESSAGE "7452int - Win32 Release" (based on "Win32 (x86) Application") -!MESSAGE "7452int - Win32 Debug" (based on "Win32 (x86) Application") -!MESSAGE - -# Begin Project -# PROP Scc_ProjName "" -# PROP Scc_LocalPath "" -CPP=cl.exe -MTL=midl.exe -RSC=rc.exe - -!IF "$(CFG)" == "7452int - Win32 Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir ".\Release" -# PROP BASE Intermediate_Dir ".\Release" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "" -# PROP Intermediate_Dir ".\Release" -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /YX /c -# ADD CPP /nologo /MT /W3 /GX /Od /I "..\..\..\include" /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /FD /c -# SUBTRACT CPP /YX -# ADD BASE MTL /nologo /D "NDEBUG" /win32 -# ADD MTL /nologo /D "NDEBUG" /mktyplib203 /win32 -# ADD BASE RSC /l 0x404 /d "NDEBUG" -# ADD RSC /l 0x404 /d "NDEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:windows /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ..\..\..\lib\PCI-DASK.lib /nologo /subsystem:windows /machine:I386 - -!ELSEIF "$(CFG)" == "7452int - Win32 Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir ".\Debug" -# PROP BASE Intermediate_Dir ".\Debug" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "" -# PROP Intermediate_Dir ".\Debug" -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /Gm /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /YX /c -# ADD CPP /nologo /MTd /W3 /Gm /GX /Zi /Od /I "..\..\..\include" /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /FD /c -# SUBTRACT CPP /YX -# ADD BASE MTL /nologo /D "_DEBUG" /win32 -# ADD MTL /nologo /D "_DEBUG" /mktyplib203 /win32 -# ADD BASE RSC /l 0x404 /d "_DEBUG" -# ADD RSC /l 0x404 /d "_DEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:windows /debug /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ..\..\..\lib\PCI-DASK.lib /nologo /subsystem:windows /debug /machine:I386 - -!ENDIF - -# Begin Target - -# Name "7452int - Win32 Release" -# Name "7452int - Win32 Debug" -# Begin Group "Source Files" - -# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;hpj;bat;for;f90" -# Begin Source File - -SOURCE=.\7452int.c -# End Source File -# Begin Source File - -SOURCE=.\7452int.rc -# End Source File -# End Group -# Begin Group "Header Files" - -# PROP Default_Filter "h;hpp;hxx;hm;inl;fi;fd" -# End Group -# Begin Group "Resource Files" - -# PROP Default_Filter "ico;cur;bmp;dlg;rc2;rct;bin;cnt;rtf;gif;jpg;jpeg;jpe" -# End Group -# End Target -# End Project diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7452/SDK7452DbEvt/7452int.dsw b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7452/SDK7452DbEvt/7452int.dsw deleted file mode 100644 index f325b4d..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7452/SDK7452DbEvt/7452int.dsw +++ /dev/null @@ -1,29 +0,0 @@ -Microsoft Developer Studio Workspace File, Format Version 5.00 -# WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE! - -############################################################################### - -Project: "7452int"=.\7452int.dsp - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ -}}} - -############################################################################### - -Global: - -Package=<5> -{{{ -}}} - -Package=<3> -{{{ -}}} - -############################################################################### - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7452/SDK7452DbEvt/7452int.exe b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7452/SDK7452DbEvt/7452int.exe deleted file mode 100644 index 282f38e..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7452/SDK7452DbEvt/7452int.exe and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7452/SDK7452DbEvt/7452int.rc b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7452/SDK7452DbEvt/7452int.rc deleted file mode 100644 index d8af0c8..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7452/SDK7452DbEvt/7452int.rc +++ /dev/null @@ -1,115 +0,0 @@ -//Microsoft Developer Studio generated resource script. -// -#include "resource.h" - -#define APSTUDIO_READONLY_SYMBOLS -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 2 resource. -// -#define APSTUDIO_HIDDEN_SYMBOLS -#include "windows.h" -#undef APSTUDIO_HIDDEN_SYMBOLS - -///////////////////////////////////////////////////////////////////////////// -#undef APSTUDIO_READONLY_SYMBOLS - -///////////////////////////////////////////////////////////////////////////// -// English (U.S.) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -#ifdef _WIN32 -LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US -#pragma code_page(1252) -#endif //_WIN32 - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog -// - -IDD_DIALOG2 DIALOG DISCARDABLE 110, 10, 106, 61 -STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "Card Number" -FONT 10, "System" -BEGIN - DEFPUSHBUTTON "OK",IDOK,10,40,37,14 - PUSHBUTTON "Cancel",IDCANCEL,61,40,38,14 - LTEXT "Card Number",IDC_STATIC,3,13,47,13 - COMBOBOX IDC_COMBO1,51,13,48,84,CBS_DROPDOWN | WS_VSCROLL | - WS_TABSTOP -END - - -///////////////////////////////////////////////////////////////////////////// -// -// DESIGNINFO -// - -#ifdef APSTUDIO_INVOKED -GUIDELINES DESIGNINFO DISCARDABLE -BEGIN - IDD_DIALOG2, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 99 - TOPMARGIN, 7 - BOTTOMMARGIN, 54 - END -END -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// Menu -// - -U7452MENU MENU DISCARDABLE -BEGIN - MENUITEM "E&xit!", IDM_EXIT -END - - -#ifdef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// TEXTINCLUDE -// - -1 TEXTINCLUDE DISCARDABLE -BEGIN - "resource.h\0" -END - -2 TEXTINCLUDE DISCARDABLE -BEGIN - "#define APSTUDIO_HIDDEN_SYMBOLS\r\n" - "#include ""windows.h""\r\n" - "#undef APSTUDIO_HIDDEN_SYMBOLS\r\n" - "\0" -END - -3 TEXTINCLUDE DISCARDABLE -BEGIN - "\r\n" - "\0" -END - -#endif // APSTUDIO_INVOKED - -#endif // English (U.S.) resources -///////////////////////////////////////////////////////////////////////////// - - - -#ifndef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 3 resource. -// - - -///////////////////////////////////////////////////////////////////////////// -#endif // not APSTUDIO_INVOKED - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7452/SDK7452DbEvt/resource.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7452/SDK7452DbEvt/resource.h deleted file mode 100644 index 9ba0b49..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7452/SDK7452DbEvt/resource.h +++ /dev/null @@ -1,30 +0,0 @@ -//{{NO_DEPENDENCIES}} -// Microsoft Developer Studio generated include file. -// Used by 7432int.rc -// -#define IDM_SETUP 101 -#define IDD_DIALOG1 101 -#define IDD_DIALOG2 102 -#define IDM_EXIT 110 -#define IDM_GO 300 -#define IDM_ABOUT 301 -#define DMA_DATA 302 -#define ID_STOP 304 -#define IDM_CLEAR 305 -#define DMA_SPACE 500 -#define IDC_COMBO1 1004 -#define IDC_COMBO2 1005 -#define IDC_EDIT1 1007 -#define IDC_EDIT2 1008 -#define IDC_STATIC -1 - -// Next default values for new objects -// -#ifdef APSTUDIO_INVOKED -#ifndef APSTUDIO_READONLY_SYMBOLS -#define _APS_NEXT_RESOURCE_VALUE 103 -#define _APS_NEXT_COMMAND_VALUE 102 -#define _APS_NEXT_CONTROL_VALUE 1008 -#define _APS_NEXT_SYMED_VALUE 101 -#endif -#endif diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7452/SDK7452DbEvtMsg/7452int.c b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7452/SDK7452DbEvtMsg/7452int.c deleted file mode 100644 index a8c6b6d..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7452/SDK7452DbEvtMsg/7452int.c +++ /dev/null @@ -1,249 +0,0 @@ -/*;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; -;; Copyright (c) 1995-1999, ADLink Technology Inc. All rights reserved. ;; -;; ;; -;; File Name : 7452INT.C ;; -;; Purpose : This sample program demonstrates how handle interrupt ;; -;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;*/ - -#include -#include -#include -#include -#include -#include "Dask.h" -#include "Resource.h" - -#define IDC_START 300 -#define IDC_OUTPUT 302 -#define WM_INT 2000 - -HANDLE hInst; /* current instance */ -int int_count[2]= {0, 0}; -I16 card=-1, card_number = 0; -HWND hStart, hMainWnd, hEvent[2]; - -int PASCAL WinMain(HANDLE, HANDLE, LPSTR, int); -BOOL InitApplication(HANDLE); -BOOL InitInstance(HANDLE, int); -long PASCAL MainWndProc(HWND, unsigned, WPARAM, LPARAM); -LRESULT CALLBACK cbfn(); -void mesgfn(); - - /********************************************************************** - - FUNCTION: WinMain(HANDLE, HANDLE, LPSTR, int) - PURPOSE: calls initialization function, processes message loop - - ***********************************************************************/ - - int PASCAL WinMain(hInstance, hPrevInstance, lpCmdLine, nCmdShow) - HANDLE hInstance; - HANDLE hPrevInstance; - LPSTR lpCmdLine; - int nCmdShow; - { - MSG msg; - - if(!hPrevInstance) - if(!InitApplication(hInstance)) - return(FALSE); - - if(!InitInstance(hInstance, nCmdShow)) - return(FALSE); - - while ( GetMessage(&msg, NULL, NULL, NULL)) - { - TranslateMessage(&msg); - DispatchMessage(&msg); - } - return(msg.wParam); - } - -/**************************************************************************** - - FUNCTION: InitApplication(HANDLE) - - PURPOSE: Initializes window data and registers window class - -****************************************************************************/ - -BOOL InitApplication(hInstance) -HANDLE hInstance; -{ - WNDCLASS wc; - - wc.style = NULL; - wc.lpfnWndProc = MainWndProc; - wc.cbClsExtra = 0; - wc.cbWndExtra = 0; - wc.hInstance = hInstance; - wc.hIcon = LoadIcon(NULL, IDI_APPLICATION); - wc.hCursor = LoadCursor(hInstance, IDC_ARROW); - wc.hbrBackground = GetStockObject(WHITE_BRUSH); - wc.lpszMenuName = "U7452Menu"; - wc.lpszClassName = "IntClass"; - - return (RegisterClass(&wc)); -} - -/**************************************************************************** - - FUNCTION: InitInstance(HANDLE, int) - - PURPOSE: Saves instance handle and creates main window - -****************************************************************************/ - -BOOL InitInstance(hInstance, nCmdShow) -HANDLE hInstance; -int nCmdShow; -{ - HWND hWnd; - - hInst = hInstance; - hWnd = CreateWindow("IntClass", "PCI-7452 COS Interrupt Sample", WS_OVERLAPPEDWINDOW, - 200, 100, 420, 300, NULL, NULL, hInstance, NULL); - if (!hWnd) return (FALSE); - ShowWindow(hWnd, nCmdShow); - UpdateWindow(hWnd); - return (TRUE); -} - -BOOL PASCAL setup(HWND hWnd, unsigned message, WPARAM wParam, LPARAM lParam) -{ - int i; - char n[16]; - char s[50]; - switch (message) { - case WM_INITDIALOG: - for (i=0;i<16;i++) { - wsprintf(n, "%d", i); - _strupr(n); - SendMessage(GetDlgItem(hWnd,IDC_COMBO1), CB_ADDSTRING, NULL, (LONG)(LPSTR) n); - } - SendMessage(GetDlgItem(hWnd,IDC_COMBO1) , CB_SETCURSEL, 0, 0L); - - break; - case WM_COMMAND: - switch(LOWORD(wParam)) { - - case IDC_COMBO1: - if (HIWORD(wParam) == CBN_CLOSEUP) { - i = (int)SendMessage(GetDlgItem(hWnd,IDC_COMBO1), CB_GETCURSEL, 0, 0L); - SendMessage(GetDlgItem(hWnd,IDC_COMBO1), CB_GETLBTEXT, i, (LPARAM)((LPCSTR)n)); - card_number = i; - } - return(TRUE); - case IDOK: - if ((card=Register_Card(PCI_7452, card_number)) < 0) { - wsprintf(s, "Register_Card Error = %d\n", card); - MessageBox(hWnd, s, "Error", MB_OK); - } - EndDialog(hWnd, TRUE); - InvalidateRect(hWnd, NULL, FALSE); - return (TRUE); - case IDCANCEL: - EndDialog(hWnd, TRUE); - return (TRUE); - } - break; - } - return (FALSE); -} - -/**************************************************************************** - - FUNCTION: MainWndProc(HWND, UINT, WPARAM, LPARAM) - - PURPOSE: Processes messages - - -****************************************************************************/ - -long PASCAL MainWndProc(hWnd, message, wParam, lParam) -HWND hWnd; -unsigned message; -WPARAM wParam; -LPARAM lParam; -{ - PAINTSTRUCT ps; - HDC hDC; - char buf[20]; - char s[50]; - - switch(message) { - case WM_CREATE: - DialogBox(hInst,IDD_DIALOG2, hWnd, setup); - if(card<0) { - SendMessage(hWnd, WM_CLOSE, 0, 0L); - break; - } - CreateWindow("BUTTON", "Output", WS_CHILD | WS_VISIBLE, - 130, 200, 72, 24, hWnd, IDC_OUTPUT, hInst, NULL); - - int_count[0]=0; - int_count[1]=0; - DIO_SetCOSInterrupt32(card, 0, 0x0001, (HANDLE *) &hEvent[0], 0); - DIO_SetCOSInterrupt32(card, 1, 0x0001, (HANDLE *) &hEvent[1], 1); - DIO_INT_Event_Message (card, 1, hEvent[0], hWnd, WM_INT, NULL); - DIO_INT_Event_Message (card, 1, hEvent[1], hWnd, NULL, (U32) cbfn); - hMainWnd = hWnd; - break; - case WM_PAINT: - hDC = BeginPaint(hWnd, &ps); - TextOut(hDC, 20, 20, "This program shows the number of occurrence of interrupt",56); - TextOut(hDC, 20, 35, "for COS interrupt.", 18); - TextOut(hDC, 20, 50, "COS0 interrupt is generated by change of state of DI0 bit-0.", 59); - TextOut(hDC, 20, 65, "COS1 interrupt is generated by change of state of DI1 bit-1.", 59); - TextOut(hDC, 20, 80, "If connecting DO0 bit-0 to DI0 bit-0 and DO1 bit-0 to DI1 bit-0,", 63); - TextOut(hDC, 20, 95, "press 'Output' button can generate two interrupts.", 50); - TextOut(hDC, 20, 110,"One for COS0 and the other for COS1.", 36); - wsprintf(buf,"COS0 count = %d", int_count[0]); - TextOut(hDC, 120, 140, buf, strlen(buf)); - wsprintf(buf,"COS1 count = %d", int_count[1]); - TextOut(hDC, 120, 160, buf, strlen(buf)); - EndPaint(hWnd, &ps); - break; - case WM_COMMAND: - switch(LOWORD(wParam)) { - case IDM_EXIT: - DIO_SetCOSInterrupt32(card, 0, 0, NULL, 0); - DIO_SetCOSInterrupt32(card, 1, 0, NULL, 0); - DIO_INT_Event_Message (card, 0, hEvent[0], 0, 0, NULL); - DIO_INT_Event_Message (card, 0, hEvent[1], 0, 0, NULL); - SendMessage(hWnd, WM_CLOSE, 0, 0L); - break; - case IDC_OUTPUT: - DO_WritePort(card,0, 0x1); - DO_WritePort(card,1, 0x1); - Sleep(1); - DO_WritePort(card,0, 0x0); - DO_WritePort(card,1, 0x0); - break; - } - break; - case WM_INT: - mesgfn(); - break; - case WM_DESTROY: - if (card >= 0) Release_Card(card); - PostQuitMessage(0); - break; - default: - return (DefWindowProc(hWnd, message, wParam, lParam)); - } - return(0L); -} - -void mesgfn() -{ - int_count[0]++; - InvalidateRect(hMainWnd, NULL, FALSE); -} - -LRESULT CALLBACK cbfn() -{ - int_count[1]++; - ResetEvent(hEvent[1]); - InvalidateRect(hMainWnd, NULL, FALSE); -} \ No newline at end of file diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7452/SDK7452DbEvtMsg/7452int.dsp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7452/SDK7452DbEvtMsg/7452int.dsp deleted file mode 100644 index 8797b80..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7452/SDK7452DbEvtMsg/7452int.dsp +++ /dev/null @@ -1,112 +0,0 @@ -# Microsoft Developer Studio Project File - Name="7452int" - Package Owner=<4> -# Microsoft Developer Studio Generated Build File, Format Version 5.00 -# ** DO NOT EDIT ** - -# TARGTYPE "Win32 (x86) Application" 0x0101 - -CFG=7452int - Win32 Release -!MESSAGE This is not a valid makefile. To build this project using NMAKE, -!MESSAGE use the Export Makefile command and run -!MESSAGE -!MESSAGE NMAKE /f "7452int.mak". -!MESSAGE -!MESSAGE You can specify a configuration when running NMAKE -!MESSAGE by defining the macro CFG on the command line. For example: -!MESSAGE -!MESSAGE NMAKE /f "7452int.mak" CFG="7452int - Win32 Release" -!MESSAGE -!MESSAGE Possible choices for configuration are: -!MESSAGE -!MESSAGE "7452int - Win32 Release" (based on "Win32 (x86) Application") -!MESSAGE "7452int - Win32 Debug" (based on "Win32 (x86) Application") -!MESSAGE - -# Begin Project -# PROP Scc_ProjName "" -# PROP Scc_LocalPath "" -CPP=cl.exe -MTL=midl.exe -RSC=rc.exe - -!IF "$(CFG)" == "7452int - Win32 Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir ".\Release" -# PROP BASE Intermediate_Dir ".\Release" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "" -# PROP Intermediate_Dir ".\Release" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /YX /c -# ADD CPP /nologo /MT /W3 /GX /Od /I "..\..\..\include" /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /FD /c -# SUBTRACT CPP /YX -# ADD BASE MTL /nologo /D "NDEBUG" /win32 -# ADD MTL /nologo /D "NDEBUG" /mktyplib203 /win32 -# ADD BASE RSC /l 0x404 /d "NDEBUG" -# ADD RSC /l 0x404 /d "NDEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:windows /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ..\..\..\lib\PCI-DASK.lib /nologo /subsystem:windows /machine:I386 - -!ELSEIF "$(CFG)" == "7452int - Win32 Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir ".\Debug" -# PROP BASE Intermediate_Dir ".\Debug" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "" -# PROP Intermediate_Dir ".\Debug" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /Gm /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /YX /c -# ADD CPP /nologo /MTd /W3 /Gm /GX /Zi /Od /I "..\..\..\include" /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /FD /c -# SUBTRACT CPP /YX -# ADD BASE MTL /nologo /D "_DEBUG" /win32 -# ADD MTL /nologo /D "_DEBUG" /mktyplib203 /win32 -# ADD BASE RSC /l 0x404 /d "_DEBUG" -# ADD RSC /l 0x404 /d "_DEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:windows /debug /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ..\..\..\lib\PCI-DASK.lib /nologo /subsystem:windows /incremental:no /debug /machine:I386 - -!ENDIF - -# Begin Target - -# Name "7452int - Win32 Release" -# Name "7452int - Win32 Debug" -# Begin Group "Source Files" - -# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;hpj;bat;for;f90" -# Begin Source File - -SOURCE=.\7452int.c -# End Source File -# Begin Source File - -SOURCE=.\7452int.rc -# End Source File -# End Group -# Begin Group "Header Files" - -# PROP Default_Filter "h;hpp;hxx;hm;inl;fi;fd" -# End Group -# Begin Group "Resource Files" - -# PROP Default_Filter "ico;cur;bmp;dlg;rc2;rct;bin;cnt;rtf;gif;jpg;jpeg;jpe" -# End Group -# End Target -# End Project diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7452/SDK7452DbEvtMsg/7452int.dsw b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7452/SDK7452DbEvtMsg/7452int.dsw deleted file mode 100644 index f325b4d..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7452/SDK7452DbEvtMsg/7452int.dsw +++ /dev/null @@ -1,29 +0,0 @@ -Microsoft Developer Studio Workspace File, Format Version 5.00 -# WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE! - -############################################################################### - -Project: "7452int"=.\7452int.dsp - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ -}}} - -############################################################################### - -Global: - -Package=<5> -{{{ -}}} - -Package=<3> -{{{ -}}} - -############################################################################### - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7452/SDK7452DbEvtMsg/7452int.exe b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7452/SDK7452DbEvtMsg/7452int.exe deleted file mode 100644 index 6b52d54..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7452/SDK7452DbEvtMsg/7452int.exe and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7452/SDK7452DbEvtMsg/7452int.rc b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7452/SDK7452DbEvtMsg/7452int.rc deleted file mode 100644 index d8af0c8..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7452/SDK7452DbEvtMsg/7452int.rc +++ /dev/null @@ -1,115 +0,0 @@ -//Microsoft Developer Studio generated resource script. -// -#include "resource.h" - -#define APSTUDIO_READONLY_SYMBOLS -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 2 resource. -// -#define APSTUDIO_HIDDEN_SYMBOLS -#include "windows.h" -#undef APSTUDIO_HIDDEN_SYMBOLS - -///////////////////////////////////////////////////////////////////////////// -#undef APSTUDIO_READONLY_SYMBOLS - -///////////////////////////////////////////////////////////////////////////// -// English (U.S.) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -#ifdef _WIN32 -LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US -#pragma code_page(1252) -#endif //_WIN32 - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog -// - -IDD_DIALOG2 DIALOG DISCARDABLE 110, 10, 106, 61 -STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "Card Number" -FONT 10, "System" -BEGIN - DEFPUSHBUTTON "OK",IDOK,10,40,37,14 - PUSHBUTTON "Cancel",IDCANCEL,61,40,38,14 - LTEXT "Card Number",IDC_STATIC,3,13,47,13 - COMBOBOX IDC_COMBO1,51,13,48,84,CBS_DROPDOWN | WS_VSCROLL | - WS_TABSTOP -END - - -///////////////////////////////////////////////////////////////////////////// -// -// DESIGNINFO -// - -#ifdef APSTUDIO_INVOKED -GUIDELINES DESIGNINFO DISCARDABLE -BEGIN - IDD_DIALOG2, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 99 - TOPMARGIN, 7 - BOTTOMMARGIN, 54 - END -END -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// Menu -// - -U7452MENU MENU DISCARDABLE -BEGIN - MENUITEM "E&xit!", IDM_EXIT -END - - -#ifdef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// TEXTINCLUDE -// - -1 TEXTINCLUDE DISCARDABLE -BEGIN - "resource.h\0" -END - -2 TEXTINCLUDE DISCARDABLE -BEGIN - "#define APSTUDIO_HIDDEN_SYMBOLS\r\n" - "#include ""windows.h""\r\n" - "#undef APSTUDIO_HIDDEN_SYMBOLS\r\n" - "\0" -END - -3 TEXTINCLUDE DISCARDABLE -BEGIN - "\r\n" - "\0" -END - -#endif // APSTUDIO_INVOKED - -#endif // English (U.S.) resources -///////////////////////////////////////////////////////////////////////////// - - - -#ifndef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 3 resource. -// - - -///////////////////////////////////////////////////////////////////////////// -#endif // not APSTUDIO_INVOKED - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7452/SDK7452DbEvtMsg/resource.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7452/SDK7452DbEvtMsg/resource.h deleted file mode 100644 index 9ba0b49..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7452/SDK7452DbEvtMsg/resource.h +++ /dev/null @@ -1,30 +0,0 @@ -//{{NO_DEPENDENCIES}} -// Microsoft Developer Studio generated include file. -// Used by 7432int.rc -// -#define IDM_SETUP 101 -#define IDD_DIALOG1 101 -#define IDD_DIALOG2 102 -#define IDM_EXIT 110 -#define IDM_GO 300 -#define IDM_ABOUT 301 -#define DMA_DATA 302 -#define ID_STOP 304 -#define IDM_CLEAR 305 -#define DMA_SPACE 500 -#define IDC_COMBO1 1004 -#define IDC_COMBO2 1005 -#define IDC_EDIT1 1007 -#define IDC_EDIT2 1008 -#define IDC_STATIC -1 - -// Next default values for new objects -// -#ifdef APSTUDIO_INVOKED -#ifndef APSTUDIO_READONLY_SYMBOLS -#define _APS_NEXT_RESOURCE_VALUE 103 -#define _APS_NEXT_COMMAND_VALUE 102 -#define _APS_NEXT_CONTROL_VALUE 1008 -#define _APS_NEXT_SYMED_VALUE 101 -#endif -#endif diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7452/SDK7452int/7452int.c b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7452/SDK7452int/7452int.c deleted file mode 100644 index 434ee7e..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7452/SDK7452int/7452int.c +++ /dev/null @@ -1,231 +0,0 @@ -/*;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; -;; Copyright (c) 1995-1999, ADLink Technology Inc. All rights reserved. ;; -;; ;; -;; File Name : 7452INT.C ;; -;; Purpose : This sample program demonstrates how handle interrupt ;; -;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;*/ - -#include -#include -#include -#include -#include -#include "Dask.h" -#include "Resource.h" - -#define IDC_START 300 -#define IDC_OUTPUT 302 - -HANDLE hInst; /* current instance */ -int int_count=0; -I16 card=-1, card_number = 0; - -HWND hStart, hMainWnd; -HANDLE hEvent[2]; - -int PASCAL WinMain(HANDLE, HANDLE, LPSTR, int); -BOOL InitApplication(HANDLE); -BOOL InitInstance(HANDLE, int); -long PASCAL MainWndProc(HWND, unsigned, WPARAM, LPARAM); - -void -IntThread(void* pArg) -{ - while (1) { - if (WaitForSingleObject(hEvent[0], INFINITE) == WAIT_OBJECT_0) { - int_count++; - ResetEvent(hEvent[0]); - InvalidateRect(hMainWnd, NULL, FALSE); - } - } - _endthread(); -} - - /********************************************************************** - - FUNCTION: WinMain(HANDLE, HANDLE, LPSTR, int) - PURPOSE: calls initialization function, processes message loop - - ***********************************************************************/ - - int PASCAL WinMain(hInstance, hPrevInstance, lpCmdLine, nCmdShow) - HANDLE hInstance; - HANDLE hPrevInstance; - LPSTR lpCmdLine; - int nCmdShow; - { - MSG msg; - - if(!hPrevInstance) - if(!InitApplication(hInstance)) - return(FALSE); - - if(!InitInstance(hInstance, nCmdShow)) - return(FALSE); - - while ( GetMessage(&msg, NULL, NULL, NULL)) - { - TranslateMessage(&msg); - DispatchMessage(&msg); - } - return(msg.wParam); - } - -/**************************************************************************** - - FUNCTION: InitApplication(HANDLE) - - PURPOSE: Initializes window data and registers window class - -****************************************************************************/ - -BOOL InitApplication(hInstance) -HANDLE hInstance; -{ - WNDCLASS wc; - - wc.style = NULL; - wc.lpfnWndProc = MainWndProc; - wc.cbClsExtra = 0; - wc.cbWndExtra = 0; - wc.hInstance = hInstance; - wc.hIcon = LoadIcon(NULL, IDI_APPLICATION); - wc.hCursor = LoadCursor(hInstance, IDC_ARROW); - wc.hbrBackground = GetStockObject(WHITE_BRUSH); - wc.lpszMenuName = "U7452Menu"; - wc.lpszClassName = "IntClass"; - - return (RegisterClass(&wc)); -} - -/**************************************************************************** - - FUNCTION: InitInstance(HANDLE, int) - - PURPOSE: Saves instance handle and creates main window - -****************************************************************************/ - -BOOL InitInstance(hInstance, nCmdShow) -HANDLE hInstance; -int nCmdShow; -{ - HWND hWnd; - - hInst = hInstance; - hWnd = CreateWindow("IntClass", "PCI-7452 Interrupt Sample (INT1)", WS_OVERLAPPEDWINDOW, - 200, 100, 360, 300, NULL, NULL, hInstance, NULL); - if (!hWnd) return (FALSE); - ShowWindow(hWnd, nCmdShow); - UpdateWindow(hWnd); - return (TRUE); -} - -BOOL PASCAL setup(HWND hWnd, unsigned message, WPARAM wParam, LPARAM lParam) -{ - int i; - char n[16]; - char s[50]; - switch (message) { - case WM_INITDIALOG: - for (i=0;i<16;i++) { - wsprintf(n, "%d", i); - _strupr(n); - SendMessage(GetDlgItem(hWnd,IDC_COMBO1), CB_ADDSTRING, NULL, (LONG)(LPSTR) n); - } - SendMessage(GetDlgItem(hWnd,IDC_COMBO1) , CB_SETCURSEL, 0, 0L); - - break; - case WM_COMMAND: - switch(LOWORD(wParam)) { - - case IDC_COMBO1: - if (HIWORD(wParam) == CBN_CLOSEUP) { - i = (int)SendMessage(GetDlgItem(hWnd,IDC_COMBO1), CB_GETCURSEL, 0, 0L); - SendMessage(GetDlgItem(hWnd,IDC_COMBO1), CB_GETLBTEXT, i, (LPARAM)((LPCSTR)n)); - card_number = i; - } - return(TRUE); - case IDOK: - if ((card=Register_Card(PCI_7452, card_number)) < 0) { - wsprintf(s, "Register_Card Error = %d\n", card); - MessageBox(hWnd, s, "Error", MB_OK); - } - EndDialog(hWnd, TRUE); - InvalidateRect(hWnd, NULL, FALSE); - return (TRUE); - case IDCANCEL: - EndDialog(hWnd, TRUE); - return (TRUE); - } - break; - } - return (FALSE); -} - -/**************************************************************************** - - FUNCTION: MainWndProc(HWND, UINT, WPARAM, LPARAM) - - PURPOSE: Processes messages - - -****************************************************************************/ - -long PASCAL MainWndProc(hWnd, message, wParam, lParam) -HWND hWnd; -unsigned message; -WPARAM wParam; -LPARAM lParam; -{ - PAINTSTRUCT ps; - HDC hDC; - char buf[20]; - char s[50]; - - switch(message) { - case WM_CREATE: - DialogBox(hInst,IDD_DIALOG2, hWnd, setup); - if(card<0) { - SendMessage(hWnd, WM_CLOSE, 0, 0L); - break; - } - CreateWindow("BUTTON", "Output", WS_CHILD | WS_VISIBLE, - 130, 200, 72, 24, hWnd, IDC_OUTPUT, hInst, NULL); - DIO_SetCOSInterrupt32(card, 0, 0x0001, (HANDLE *) &hEvent[0], 1); - hMainWnd = hWnd; - _beginthread(IntThread, 0, 0); - break; - case WM_PAINT: - hDC = BeginPaint(hWnd, &ps); - TextOut(hDC, 20, 30, "This program shows the number of occurrence", 43); - TextOut(hDC, 20, 45, "of INT1 interupt. INT1 interrupt is generated", 45); - TextOut(hDC, 20, 60, "by change of state of DI0 bit-0. If you connect", 47); - TextOut(hDC, 20, 75, "DO0 bit-0 to DI0 bit-0, press 'Output' button can", 49); - TextOut(hDC, 20, 90, "generate an interrupt.", 22); - wsprintf(buf,"INT count = %d", int_count); - TextOut(hDC, 120, 140, buf, strlen(buf)); - EndPaint(hWnd, &ps); - break; - case WM_COMMAND: - switch(LOWORD(wParam)) { - case IDM_EXIT: - DIO_SetCOSInterrupt32(card, 0, 0x0000, NULL, 1); - SendMessage(hWnd, WM_CLOSE, 0, 0L); - break; - case IDC_OUTPUT: - DO_WritePort(card,0, 0x1); - Sleep(1); - DO_WritePort(card,0, 0x0); - break; - } - break; - case WM_DESTROY: - if (card >= 0) Release_Card(card); - PostQuitMessage(0); - break; - default: - return (DefWindowProc(hWnd, message, wParam, lParam)); - } - return(0L); -} diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7452/SDK7452int/7452int.dsp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7452/SDK7452int/7452int.dsp deleted file mode 100644 index e38c31d..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7452/SDK7452int/7452int.dsp +++ /dev/null @@ -1,110 +0,0 @@ -# Microsoft Developer Studio Project File - Name="7452int" - Package Owner=<4> -# Microsoft Developer Studio Generated Build File, Format Version 5.00 -# ** DO NOT EDIT ** - -# TARGTYPE "Win32 (x86) Application" 0x0101 - -CFG=7452int - Win32 Release -!MESSAGE This is not a valid makefile. To build this project using NMAKE, -!MESSAGE use the Export Makefile command and run -!MESSAGE -!MESSAGE NMAKE /f "7452int.mak". -!MESSAGE -!MESSAGE You can specify a configuration when running NMAKE -!MESSAGE by defining the macro CFG on the command line. For example: -!MESSAGE -!MESSAGE NMAKE /f "7452int.mak" CFG="7452int - Win32 Release" -!MESSAGE -!MESSAGE Possible choices for configuration are: -!MESSAGE -!MESSAGE "7452int - Win32 Release" (based on "Win32 (x86) Application") -!MESSAGE "7452int - Win32 Debug" (based on "Win32 (x86) Application") -!MESSAGE - -# Begin Project -# PROP Scc_ProjName "" -# PROP Scc_LocalPath "" -CPP=cl.exe -MTL=midl.exe -RSC=rc.exe - -!IF "$(CFG)" == "7452int - Win32 Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir ".\Release" -# PROP BASE Intermediate_Dir ".\Release" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "" -# PROP Intermediate_Dir ".\Release" -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /YX /c -# ADD CPP /nologo /MT /W3 /GX /Od /I "..\..\..\include" /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /FD /c -# SUBTRACT CPP /YX -# ADD BASE MTL /nologo /D "NDEBUG" /win32 -# ADD MTL /nologo /D "NDEBUG" /mktyplib203 /win32 -# ADD BASE RSC /l 0x404 /d "NDEBUG" -# ADD RSC /l 0x404 /d "NDEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:windows /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ..\..\..\lib\PCI-DASK.lib /nologo /subsystem:windows /machine:I386 - -!ELSEIF "$(CFG)" == "7452int - Win32 Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir ".\Debug" -# PROP BASE Intermediate_Dir ".\Debug" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "" -# PROP Intermediate_Dir ".\Debug" -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /Gm /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /YX /c -# ADD CPP /nologo /MTd /W3 /Gm /GX /Zi /Od /I "..\..\..\include" /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /FD /c -# SUBTRACT CPP /YX -# ADD BASE MTL /nologo /D "_DEBUG" /win32 -# ADD MTL /nologo /D "_DEBUG" /mktyplib203 /win32 -# ADD BASE RSC /l 0x404 /d "_DEBUG" -# ADD RSC /l 0x404 /d "_DEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:windows /debug /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ..\..\..\lib\PCI-DASK.lib /nologo /subsystem:windows /debug /machine:I386 - -!ENDIF - -# Begin Target - -# Name "7452int - Win32 Release" -# Name "7452int - Win32 Debug" -# Begin Group "Source Files" - -# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;hpj;bat;for;f90" -# Begin Source File - -SOURCE=.\7452int.c -# End Source File -# Begin Source File - -SOURCE=.\7452int.rc -# End Source File -# End Group -# Begin Group "Header Files" - -# PROP Default_Filter "h;hpp;hxx;hm;inl;fi;fd" -# End Group -# Begin Group "Resource Files" - -# PROP Default_Filter "ico;cur;bmp;dlg;rc2;rct;bin;cnt;rtf;gif;jpg;jpeg;jpe" -# End Group -# End Target -# End Project diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7452/SDK7452int/7452int.dsw b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7452/SDK7452int/7452int.dsw deleted file mode 100644 index f325b4d..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7452/SDK7452int/7452int.dsw +++ /dev/null @@ -1,29 +0,0 @@ -Microsoft Developer Studio Workspace File, Format Version 5.00 -# WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE! - -############################################################################### - -Project: "7452int"=.\7452int.dsp - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ -}}} - -############################################################################### - -Global: - -Package=<5> -{{{ -}}} - -Package=<3> -{{{ -}}} - -############################################################################### - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7452/SDK7452int/7452int.exe b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7452/SDK7452int/7452int.exe deleted file mode 100644 index 8f7b3a6..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7452/SDK7452int/7452int.exe and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7452/SDK7452int/7452int.rc b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7452/SDK7452int/7452int.rc deleted file mode 100644 index 418885d..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7452/SDK7452int/7452int.rc +++ /dev/null @@ -1,115 +0,0 @@ -//Microsoft Developer Studio generated resource script. -// -#include "resource.h" - -#define APSTUDIO_READONLY_SYMBOLS -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 2 resource. -// -#define APSTUDIO_HIDDEN_SYMBOLS -#include "windows.h" -#undef APSTUDIO_HIDDEN_SYMBOLS - -///////////////////////////////////////////////////////////////////////////// -#undef APSTUDIO_READONLY_SYMBOLS - -///////////////////////////////////////////////////////////////////////////// -// English (U.S.) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -#ifdef _WIN32 -LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US -#pragma code_page(1252) -#endif //_WIN32 - -#ifdef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// TEXTINCLUDE -// - -1 TEXTINCLUDE DISCARDABLE -BEGIN - "resource.h\0" -END - -2 TEXTINCLUDE DISCARDABLE -BEGIN - "#define APSTUDIO_HIDDEN_SYMBOLS\r\n" - "#include ""windows.h""\r\n" - "#undef APSTUDIO_HIDDEN_SYMBOLS\r\n" - "\0" -END - -3 TEXTINCLUDE DISCARDABLE -BEGIN - "\r\n" - "\0" -END - -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// Menu -// - -U7452MENU MENU DISCARDABLE -BEGIN - MENUITEM "E&xit!", IDM_EXIT -END - - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog -// - -IDD_DIALOG2 DIALOG DISCARDABLE 110, 10, 106, 61 -STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "Card Number" -FONT 10, "System" -BEGIN - DEFPUSHBUTTON "OK",IDOK,10,40,37,14 - PUSHBUTTON "Cancel",IDCANCEL,61,40,38,14 - LTEXT "Card Number",IDC_STATIC,3,13,47,13 - COMBOBOX IDC_COMBO1,51,13,48,84,CBS_DROPDOWN | WS_VSCROLL | - WS_TABSTOP -END - - -///////////////////////////////////////////////////////////////////////////// -// -// DESIGNINFO -// - -#ifdef APSTUDIO_INVOKED -GUIDELINES DESIGNINFO DISCARDABLE -BEGIN - IDD_DIALOG2, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 99 - TOPMARGIN, 7 - BOTTOMMARGIN, 54 - END -END -#endif // APSTUDIO_INVOKED - -#endif // English (U.S.) resources -///////////////////////////////////////////////////////////////////////////// - - - -#ifndef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 3 resource. -// - - -///////////////////////////////////////////////////////////////////////////// -#endif // not APSTUDIO_INVOKED - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7452/SDK7452int/resource.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7452/SDK7452int/resource.h deleted file mode 100644 index 9ba0b49..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7452/SDK7452int/resource.h +++ /dev/null @@ -1,30 +0,0 @@ -//{{NO_DEPENDENCIES}} -// Microsoft Developer Studio generated include file. -// Used by 7432int.rc -// -#define IDM_SETUP 101 -#define IDD_DIALOG1 101 -#define IDD_DIALOG2 102 -#define IDM_EXIT 110 -#define IDM_GO 300 -#define IDM_ABOUT 301 -#define DMA_DATA 302 -#define ID_STOP 304 -#define IDM_CLEAR 305 -#define DMA_SPACE 500 -#define IDC_COMBO1 1004 -#define IDC_COMBO2 1005 -#define IDC_EDIT1 1007 -#define IDC_EDIT2 1008 -#define IDC_STATIC -1 - -// Next default values for new objects -// -#ifdef APSTUDIO_INVOKED -#ifndef APSTUDIO_READONLY_SYMBOLS -#define _APS_NEXT_RESOURCE_VALUE 103 -#define _APS_NEXT_COMMAND_VALUE 102 -#define _APS_NEXT_CONTROL_VALUE 1008 -#define _APS_NEXT_SYMED_VALUE 101 -#endif -#endif diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7452/SDK7452intMsg/7452int.c b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7452/SDK7452intMsg/7452int.c deleted file mode 100644 index 4ce3fd4..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7452/SDK7452intMsg/7452int.c +++ /dev/null @@ -1,241 +0,0 @@ -/*;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; -;; Copyright (c) 1995-1999, ADLink Technology Inc. All rights reserved. ;; -;; ;; -;; File Name : 7452INT.C ;; -;; Purpose : This sample program demonstrates how handle interrupt ;; -;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;*/ - -#include -#include -#include -#include -#include -#include "Dask.h" -#include "Resource.h" - -#define IDC_START 300 -#define IDC_OUTPUT 302 -#define WM_INT 2000 //interrupt comming message - -HANDLE hInst; /* current instance */ -int int_count=0; -I16 card=-1, card_number = 0; -HWND hStart, hMainWnd, hEvent; - -int PASCAL WinMain(HANDLE, HANDLE, LPSTR, int); -BOOL InitApplication(HANDLE); -BOOL InitInstance(HANDLE, int); -long PASCAL MainWndProc(HWND, unsigned, WPARAM, LPARAM); -void mesgfn(); - - - /********************************************************************** - - FUNCTION: WinMain(HANDLE, HANDLE, LPSTR, int) - PURPOSE: calls initialization function, processes message loop - - ***********************************************************************/ - - int PASCAL WinMain(hInstance, hPrevInstance, lpCmdLine, nCmdShow) - HANDLE hInstance; - HANDLE hPrevInstance; - LPSTR lpCmdLine; - int nCmdShow; - { - MSG msg; - - if(!hPrevInstance) - if(!InitApplication(hInstance)) - return(FALSE); - - if(!InitInstance(hInstance, nCmdShow)) - return(FALSE); - - while ( GetMessage(&msg, NULL, NULL, NULL)) - { - TranslateMessage(&msg); - DispatchMessage(&msg); - } - return(msg.wParam); - } - -/**************************************************************************** - - FUNCTION: InitApplication(HANDLE) - - PURPOSE: Initializes window data and registers window class - -****************************************************************************/ - -BOOL InitApplication(hInstance) -HANDLE hInstance; -{ - WNDCLASS wc; - - wc.style = NULL; - wc.lpfnWndProc = MainWndProc; - wc.cbClsExtra = 0; - wc.cbWndExtra = 0; - wc.hInstance = hInstance; - wc.hIcon = LoadIcon(NULL, IDI_APPLICATION); - wc.hCursor = LoadCursor(hInstance, IDC_ARROW); - wc.hbrBackground = GetStockObject(WHITE_BRUSH); - wc.lpszMenuName = "U7452Menu"; - wc.lpszClassName = "IntClass"; - - return (RegisterClass(&wc)); -} - -/**************************************************************************** - - FUNCTION: InitInstance(HANDLE, int) - - PURPOSE: Saves instance handle and creates main window - -****************************************************************************/ - -BOOL InitInstance(hInstance, nCmdShow) -HANDLE hInstance; -int nCmdShow; -{ - HWND hWnd; - - hInst = hInstance; - hWnd = CreateWindow("IntClass", "PCI-7452 Interrupt Sample (INT1)", WS_OVERLAPPEDWINDOW, - 200, 100, 360, 300, NULL, NULL, hInstance, NULL); - if (!hWnd) return (FALSE); - ShowWindow(hWnd, nCmdShow); - UpdateWindow(hWnd); - return (TRUE); -} - -BOOL PASCAL setup(HWND hWnd, unsigned message, WPARAM wParam, LPARAM lParam) -{ - int i; - char n[16]; - char s[50]; - switch (message) { - case WM_INITDIALOG: - for (i=0;i<16;i++) { - wsprintf(n, "%d", i); - _strupr(n); - SendMessage(GetDlgItem(hWnd,IDC_COMBO1), CB_ADDSTRING, NULL, (LONG)(LPSTR) n); - } - SendMessage(GetDlgItem(hWnd,IDC_COMBO1) , CB_SETCURSEL, 0, 0L); - - break; - case WM_COMMAND: - switch(LOWORD(wParam)) { - - case IDC_COMBO1: - if (HIWORD(wParam) == CBN_CLOSEUP) { - i = (int)SendMessage(GetDlgItem(hWnd,IDC_COMBO1), CB_GETCURSEL, 0, 0L); - SendMessage(GetDlgItem(hWnd,IDC_COMBO1), CB_GETLBTEXT, i, (LPARAM)((LPCSTR)n)); - card_number = i; - } - return(TRUE); - case IDOK: - if ((card=Register_Card(PCI_7452, card_number)) < 0) { - wsprintf(s, "Register_Card Error = %d\n", card); - MessageBox(hWnd, s, "Error", MB_OK); - } - EndDialog(hWnd, TRUE); - InvalidateRect(hWnd, NULL, FALSE); - return (TRUE); - case IDCANCEL: - EndDialog(hWnd, TRUE); - return (TRUE); - } - break; - } - return (FALSE); -} - -/**************************************************************************** - - FUNCTION: MainWndProc(HWND, UINT, WPARAM, LPARAM) - - PURPOSE: Processes messages - - -****************************************************************************/ - -long PASCAL MainWndProc(hWnd, message, wParam, lParam) -HWND hWnd; -unsigned message; -WPARAM wParam; -LPARAM lParam; -{ - PAINTSTRUCT ps; - HDC hDC; - char s[50]; - - switch(message) { - case WM_CREATE: - DialogBox(hInst,IDD_DIALOG2, hWnd, setup); - if(card<0) { - SendMessage(hWnd, WM_CLOSE, 0, 0L); - break; - } - CreateWindow("BUTTON", "Output", WS_CHILD | WS_VISIBLE, - 130, 200, 72, 24, hWnd, IDC_OUTPUT, hInst, NULL); - - int_count = 0; - DIO_INT1_EventMessage (card, INT1_COS0, hWnd, WM_INT, NULL); - DIO_SetCOSInterrupt32(card, 0, 0x0001, &hEvent, 0); - //or you using the following function to set callback fun. or event message - //DIO_INT_Event_Message (card, 1, hEvent, hWnd, WM_INT, NULL); - hMainWnd = hWnd; - break; - case WM_PAINT: - hDC = BeginPaint(hWnd, &ps); - TextOut(hDC, 20, 30, "This program shows the number of occurrence", 43); - TextOut(hDC, 20, 45, "of INT1 interupt. INT1 interrupt is generated", 45); - TextOut(hDC, 20, 60, "by change of state of DI0 bit-0. If you connect", 47); - TextOut(hDC, 20, 75, "DO0 bit-0 to DI0 bit-0, press 'Output' button can", 49); - TextOut(hDC, 20, 90, "generate an interrupt.", 22); - wsprintf(s,"INT1 Count = %d", int_count); - TextOut(hDC, 120, 140, s, strlen(s)); - EndPaint(hWnd, &ps); - break; - case WM_COMMAND: - switch(LOWORD(wParam)) { - case IDM_EXIT: - DIO_INT1_EventMessage (card, INT1_DISABLE, hMainWnd, NULL, NULL); - DIO_SetCOSInterrupt32(card, 0, 0x0000, NULL, 0); - //DIO_INT_Event_Message (card, 0, hEvent, NULL, NULL, NULL); - SendMessage(hWnd, WM_CLOSE, 0, 0L); - break; - case IDC_OUTPUT: - DO_WritePort(card,0, 0x1); - Sleep(1); - DO_WritePort(card,0, 0x0); - break; - } - break; - case WM_INT: //interrupt comming message - mesgfn(); - break; - case WM_DESTROY: - if (card >= 0) Release_Card(card); - PostQuitMessage(0); - break; - default: - return (DefWindowProc(hWnd, message, wParam, lParam)); - } - return(0L); -} - -void mesgfn() -{ - HDC hDC; - char Buf[80]; - - hDC=GetDC(hMainWnd); - int_count++; - - wsprintf(Buf,"INT1 Count = %d ", int_count); - TextOut(hDC,120,140,Buf,strlen(Buf)); - - ReleaseDC(hMainWnd, hDC); -} diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7452/SDK7452intMsg/7452int.dsp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7452/SDK7452intMsg/7452int.dsp deleted file mode 100644 index 8797b80..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7452/SDK7452intMsg/7452int.dsp +++ /dev/null @@ -1,112 +0,0 @@ -# Microsoft Developer Studio Project File - Name="7452int" - Package Owner=<4> -# Microsoft Developer Studio Generated Build File, Format Version 5.00 -# ** DO NOT EDIT ** - -# TARGTYPE "Win32 (x86) Application" 0x0101 - -CFG=7452int - Win32 Release -!MESSAGE This is not a valid makefile. To build this project using NMAKE, -!MESSAGE use the Export Makefile command and run -!MESSAGE -!MESSAGE NMAKE /f "7452int.mak". -!MESSAGE -!MESSAGE You can specify a configuration when running NMAKE -!MESSAGE by defining the macro CFG on the command line. For example: -!MESSAGE -!MESSAGE NMAKE /f "7452int.mak" CFG="7452int - Win32 Release" -!MESSAGE -!MESSAGE Possible choices for configuration are: -!MESSAGE -!MESSAGE "7452int - Win32 Release" (based on "Win32 (x86) Application") -!MESSAGE "7452int - Win32 Debug" (based on "Win32 (x86) Application") -!MESSAGE - -# Begin Project -# PROP Scc_ProjName "" -# PROP Scc_LocalPath "" -CPP=cl.exe -MTL=midl.exe -RSC=rc.exe - -!IF "$(CFG)" == "7452int - Win32 Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir ".\Release" -# PROP BASE Intermediate_Dir ".\Release" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "" -# PROP Intermediate_Dir ".\Release" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /YX /c -# ADD CPP /nologo /MT /W3 /GX /Od /I "..\..\..\include" /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /FD /c -# SUBTRACT CPP /YX -# ADD BASE MTL /nologo /D "NDEBUG" /win32 -# ADD MTL /nologo /D "NDEBUG" /mktyplib203 /win32 -# ADD BASE RSC /l 0x404 /d "NDEBUG" -# ADD RSC /l 0x404 /d "NDEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:windows /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ..\..\..\lib\PCI-DASK.lib /nologo /subsystem:windows /machine:I386 - -!ELSEIF "$(CFG)" == "7452int - Win32 Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir ".\Debug" -# PROP BASE Intermediate_Dir ".\Debug" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "" -# PROP Intermediate_Dir ".\Debug" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /Gm /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /YX /c -# ADD CPP /nologo /MTd /W3 /Gm /GX /Zi /Od /I "..\..\..\include" /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /FD /c -# SUBTRACT CPP /YX -# ADD BASE MTL /nologo /D "_DEBUG" /win32 -# ADD MTL /nologo /D "_DEBUG" /mktyplib203 /win32 -# ADD BASE RSC /l 0x404 /d "_DEBUG" -# ADD RSC /l 0x404 /d "_DEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:windows /debug /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ..\..\..\lib\PCI-DASK.lib /nologo /subsystem:windows /incremental:no /debug /machine:I386 - -!ENDIF - -# Begin Target - -# Name "7452int - Win32 Release" -# Name "7452int - Win32 Debug" -# Begin Group "Source Files" - -# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;hpj;bat;for;f90" -# Begin Source File - -SOURCE=.\7452int.c -# End Source File -# Begin Source File - -SOURCE=.\7452int.rc -# End Source File -# End Group -# Begin Group "Header Files" - -# PROP Default_Filter "h;hpp;hxx;hm;inl;fi;fd" -# End Group -# Begin Group "Resource Files" - -# PROP Default_Filter "ico;cur;bmp;dlg;rc2;rct;bin;cnt;rtf;gif;jpg;jpeg;jpe" -# End Group -# End Target -# End Project diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7452/SDK7452intMsg/7452int.dsw b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7452/SDK7452intMsg/7452int.dsw deleted file mode 100644 index f325b4d..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7452/SDK7452intMsg/7452int.dsw +++ /dev/null @@ -1,29 +0,0 @@ -Microsoft Developer Studio Workspace File, Format Version 5.00 -# WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE! - -############################################################################### - -Project: "7452int"=.\7452int.dsp - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ -}}} - -############################################################################### - -Global: - -Package=<5> -{{{ -}}} - -Package=<3> -{{{ -}}} - -############################################################################### - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7452/SDK7452intMsg/7452int.exe b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7452/SDK7452intMsg/7452int.exe deleted file mode 100644 index 2e64d94..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7452/SDK7452intMsg/7452int.exe and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7452/SDK7452intMsg/7452int.rc b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7452/SDK7452intMsg/7452int.rc deleted file mode 100644 index 418885d..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7452/SDK7452intMsg/7452int.rc +++ /dev/null @@ -1,115 +0,0 @@ -//Microsoft Developer Studio generated resource script. -// -#include "resource.h" - -#define APSTUDIO_READONLY_SYMBOLS -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 2 resource. -// -#define APSTUDIO_HIDDEN_SYMBOLS -#include "windows.h" -#undef APSTUDIO_HIDDEN_SYMBOLS - -///////////////////////////////////////////////////////////////////////////// -#undef APSTUDIO_READONLY_SYMBOLS - -///////////////////////////////////////////////////////////////////////////// -// English (U.S.) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -#ifdef _WIN32 -LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US -#pragma code_page(1252) -#endif //_WIN32 - -#ifdef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// TEXTINCLUDE -// - -1 TEXTINCLUDE DISCARDABLE -BEGIN - "resource.h\0" -END - -2 TEXTINCLUDE DISCARDABLE -BEGIN - "#define APSTUDIO_HIDDEN_SYMBOLS\r\n" - "#include ""windows.h""\r\n" - "#undef APSTUDIO_HIDDEN_SYMBOLS\r\n" - "\0" -END - -3 TEXTINCLUDE DISCARDABLE -BEGIN - "\r\n" - "\0" -END - -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// Menu -// - -U7452MENU MENU DISCARDABLE -BEGIN - MENUITEM "E&xit!", IDM_EXIT -END - - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog -// - -IDD_DIALOG2 DIALOG DISCARDABLE 110, 10, 106, 61 -STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "Card Number" -FONT 10, "System" -BEGIN - DEFPUSHBUTTON "OK",IDOK,10,40,37,14 - PUSHBUTTON "Cancel",IDCANCEL,61,40,38,14 - LTEXT "Card Number",IDC_STATIC,3,13,47,13 - COMBOBOX IDC_COMBO1,51,13,48,84,CBS_DROPDOWN | WS_VSCROLL | - WS_TABSTOP -END - - -///////////////////////////////////////////////////////////////////////////// -// -// DESIGNINFO -// - -#ifdef APSTUDIO_INVOKED -GUIDELINES DESIGNINFO DISCARDABLE -BEGIN - IDD_DIALOG2, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 99 - TOPMARGIN, 7 - BOTTOMMARGIN, 54 - END -END -#endif // APSTUDIO_INVOKED - -#endif // English (U.S.) resources -///////////////////////////////////////////////////////////////////////////// - - - -#ifndef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 3 resource. -// - - -///////////////////////////////////////////////////////////////////////////// -#endif // not APSTUDIO_INVOKED - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7452/SDK7452intMsg/Resource.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7452/SDK7452intMsg/Resource.h deleted file mode 100644 index 9ba0b49..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7452/SDK7452intMsg/Resource.h +++ /dev/null @@ -1,30 +0,0 @@ -//{{NO_DEPENDENCIES}} -// Microsoft Developer Studio generated include file. -// Used by 7432int.rc -// -#define IDM_SETUP 101 -#define IDD_DIALOG1 101 -#define IDD_DIALOG2 102 -#define IDM_EXIT 110 -#define IDM_GO 300 -#define IDM_ABOUT 301 -#define DMA_DATA 302 -#define ID_STOP 304 -#define IDM_CLEAR 305 -#define DMA_SPACE 500 -#define IDC_COMBO1 1004 -#define IDC_COMBO2 1005 -#define IDC_EDIT1 1007 -#define IDC_EDIT2 1008 -#define IDC_STATIC -1 - -// Next default values for new objects -// -#ifdef APSTUDIO_INVOKED -#ifndef APSTUDIO_READONLY_SYMBOLS -#define _APS_NEXT_RESOURCE_VALUE 103 -#define _APS_NEXT_COMMAND_VALUE 102 -#define _APS_NEXT_CONTROL_VALUE 1008 -#define _APS_NEXT_SYMED_VALUE 101 -#endif -#endif diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7452/VB7452/0.bmp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7452/VB7452/0.bmp deleted file mode 100644 index 407bba2..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7452/VB7452/0.bmp and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7452/VB7452/1.bmp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7452/VB7452/1.bmp deleted file mode 100644 index 37d14f3..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7452/VB7452/1.bmp and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7452/VB7452/7452glbl.bas b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7452/VB7452/7452glbl.bas deleted file mode 100644 index 77a2e7f..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7452/VB7452/7452glbl.bas +++ /dev/null @@ -1,4 +0,0 @@ -Attribute VB_Name = "Module1" -Global card As Integer -Global card_number As Integer - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7452/VB7452/Base7452.frm b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7452/VB7452/Base7452.frm deleted file mode 100644 index 59fdd58..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7452/VB7452/Base7452.frm +++ /dev/null @@ -1,98 +0,0 @@ -VERSION 5.00 -Begin VB.Form SettingForm - Appearance = 0 'Flat - BackColor = &H00C0C0C0& - Caption = "Card Number Setting" - ClientHeight = 1275 - ClientLeft = 4590 - ClientTop = 4545 - ClientWidth = 2820 - BeginProperty Font - Name = "MS Sans Serif" - Size = 8.25 - Charset = 0 - Weight = 700 - Underline = 0 'False - Italic = 0 'False - Strikethrough = 0 'False - EndProperty - ForeColor = &H80000008& - LinkTopic = "Form2" - PaletteMode = 1 'UseZOrder - ScaleHeight = 1275 - ScaleWidth = 2820 - Begin VB.CommandButton OKBtn - Appearance = 0 'Flat - BackColor = &H80000005& - Caption = "OK" - Default = -1 'True - Height = 315 - Left = 300 - TabIndex = 0 - Top = 720 - Width = 915 - End - Begin VB.CommandButton CancelBtn - Appearance = 0 'Flat - BackColor = &H80000005& - Cancel = -1 'True - Caption = "Cancel" - Height = 315 - Left = 1380 - TabIndex = 3 - Top = 720 - Width = 915 - End - Begin VB.ComboBox CardNum - Appearance = 0 'Flat - Height = 300 - Left = 1440 - Style = 2 'Dropdown List - TabIndex = 2 - Top = 120 - Width = 1035 - End - Begin VB.Label Label2 - Appearance = 0 'Flat - BackColor = &H00C0C0C0& - Caption = "Card Number:" - ForeColor = &H00000000& - Height = 195 - Index = 0 - Left = 180 - TabIndex = 1 - Top = 180 - Width = 1275 - End -End -Attribute VB_Name = "SettingForm" -Attribute VB_GlobalNameSpace = False -Attribute VB_Creatable = False -Attribute VB_PredeclaredId = True -Attribute VB_Exposed = False - - -Private Sub BaseAddr_Change() - -End Sub - - -Private Sub CancelBtn_Click() - Unload SettingForm -End Sub - -Private Sub Form_Load() - Dim i As Long - For i = 0 To 15 Step 1 - CardNum.AddItem i - Next - CardNum.ListIndex = 0 -End Sub - -Private Sub OKBtn_Click() - card = -1 - card_number = CardNum.ListIndex - card = Register_Card(PCI_7452, card_number) - Unload SettingForm -End Sub - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7452/VB7452/Util7452.Frm b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7452/VB7452/Util7452.Frm deleted file mode 100644 index 5812142..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7452/VB7452/Util7452.Frm +++ /dev/null @@ -1,850 +0,0 @@ -VERSION 5.00 -Begin VB.Form util7452 - Appearance = 0 'Flat - BackColor = &H00C0C0C0& - Caption = "PCI-7452 Sample Program" - ClientHeight = 3255 - ClientLeft = 1635 - ClientTop = 2565 - ClientWidth = 6480 - BeginProperty Font - Name = "MS Sans Serif" - Size = 8.25 - Charset = 0 - Weight = 700 - Underline = 0 'False - Italic = 0 'False - Strikethrough = 0 'False - EndProperty - ForeColor = &H80000008& - LinkTopic = "Form1" - PaletteMode = 1 'UseZOrder - ScaleHeight = 3255 - ScaleWidth = 6480 - Begin VB.ComboBox InCombo - Height = 315 - Left = 1560 - TabIndex = 6 - Text = "Combo1" - Top = 0 - Width = 1200 - End - Begin VB.Timer Timer1 - Interval = 100 - Left = 5280 - Top = 2640 - End - Begin VB.Frame Frame1 - Appearance = 0 'Flat - BackColor = &H00C0C0C0& - Caption = "Digital Output#" - ForeColor = &H000000FF& - Height = 1515 - Index = 1 - Left = 240 - TabIndex = 1 - Top = 1440 - Width = 6015 - Begin VB.ComboBox OutCombo - Height = 315 - Left = 1440 - TabIndex = 7 - Text = "Combo2" - Top = 0 - Width = 1200 - End - Begin VB.Label Label1 - Caption = "0" - Height = 195 - Left = 5670 - TabIndex = 5 - Top = 1200 - Width = 195 - End - Begin VB.Label Label3 - Caption = "31" - Height = 195 - Left = 240 - TabIndex = 3 - Top = 660 - Width = 195 - End - Begin VB.Image DOP0 - Appearance = 0 'Flat - Height = 300 - Index = 31 - Left = 180 - Picture = "Util7452.frx":0000 - Top = 360 - Width = 300 - End - Begin VB.Image DOP0 - Appearance = 0 'Flat - Height = 300 - Index = 30 - Left = 540 - Picture = "Util7452.frx":0172 - Top = 360 - Width = 300 - End - Begin VB.Image DOP0 - Appearance = 0 'Flat - Height = 300 - Index = 29 - Left = 900 - Picture = "Util7452.frx":02E4 - Top = 360 - Width = 300 - End - Begin VB.Image DOP0 - Appearance = 0 'Flat - Height = 300 - Index = 28 - Left = 1260 - Picture = "Util7452.frx":0456 - Top = 360 - Width = 300 - End - Begin VB.Image DOP0 - Appearance = 0 'Flat - Height = 300 - Index = 27 - Left = 1620 - Picture = "Util7452.frx":05C8 - Top = 360 - Width = 300 - End - Begin VB.Image DOP0 - Appearance = 0 'Flat - Height = 300 - Index = 26 - Left = 1980 - Picture = "Util7452.frx":073A - Top = 360 - Width = 300 - End - Begin VB.Image DOP0 - Appearance = 0 'Flat - Height = 300 - Index = 25 - Left = 2340 - Picture = "Util7452.frx":08AC - Top = 360 - Width = 300 - End - Begin VB.Image DOP0 - Appearance = 0 'Flat - Height = 300 - Index = 24 - Left = 2700 - Picture = "Util7452.frx":0A1E - Top = 360 - Width = 300 - End - Begin VB.Image DOP0 - Appearance = 0 'Flat - Height = 300 - Index = 23 - Left = 3060 - Picture = "Util7452.frx":0B90 - Top = 360 - Width = 300 - End - Begin VB.Image DOP0 - Appearance = 0 'Flat - Height = 300 - Index = 22 - Left = 3420 - Picture = "Util7452.frx":0D02 - Top = 360 - Width = 300 - End - Begin VB.Image DOP0 - Appearance = 0 'Flat - Height = 300 - Index = 21 - Left = 3780 - Picture = "Util7452.frx":0E74 - Top = 360 - Width = 300 - End - Begin VB.Image DOP0 - Appearance = 0 'Flat - Height = 300 - Index = 20 - Left = 4140 - Picture = "Util7452.frx":0FE6 - Top = 360 - Width = 300 - End - Begin VB.Image DOP0 - Appearance = 0 'Flat - Height = 300 - Index = 19 - Left = 4500 - Picture = "Util7452.frx":1158 - Top = 360 - Width = 300 - End - Begin VB.Image DOP0 - Appearance = 0 'Flat - Height = 300 - Index = 18 - Left = 4860 - Picture = "Util7452.frx":12CA - Top = 360 - Width = 300 - End - Begin VB.Image DOP0 - Appearance = 0 'Flat - Height = 300 - Index = 17 - Left = 5220 - Picture = "Util7452.frx":143C - Top = 360 - Width = 300 - End - Begin VB.Image DOP0 - Appearance = 0 'Flat - Height = 300 - Index = 16 - Left = 5580 - Picture = "Util7452.frx":15AE - Top = 360 - Width = 300 - End - Begin VB.Image DOP0 - Appearance = 0 'Flat - Height = 300 - Index = 8 - Left = 2700 - Picture = "Util7452.frx":1720 - Top = 870 - Width = 300 - End - Begin VB.Image DOP0 - Appearance = 0 'Flat - Height = 300 - Index = 9 - Left = 2340 - Picture = "Util7452.frx":1892 - Top = 870 - Width = 300 - End - Begin VB.Image DOP0 - Appearance = 0 'Flat - Height = 300 - Index = 10 - Left = 1980 - Picture = "Util7452.frx":1A04 - Top = 870 - Width = 300 - End - Begin VB.Image DOP0 - Appearance = 0 'Flat - Height = 300 - Index = 11 - Left = 1620 - Picture = "Util7452.frx":1B76 - Top = 870 - Width = 300 - End - Begin VB.Image DOP0 - Appearance = 0 'Flat - Height = 300 - Index = 12 - Left = 1260 - Picture = "Util7452.frx":1CE8 - Top = 870 - Width = 300 - End - Begin VB.Image DOP0 - Appearance = 0 'Flat - Height = 300 - Index = 13 - Left = 900 - Picture = "Util7452.frx":1E5A - Top = 870 - Width = 300 - End - Begin VB.Image DOP0 - Appearance = 0 'Flat - Height = 300 - Index = 14 - Left = 540 - Picture = "Util7452.frx":1FCC - Top = 870 - Width = 300 - End - Begin VB.Image DOP0 - Appearance = 0 'Flat - Height = 300 - Index = 15 - Left = 180 - Picture = "Util7452.frx":213E - Top = 870 - Width = 300 - End - Begin VB.Image DOP0 - Appearance = 0 'Flat - Height = 300 - Index = 7 - Left = 3060 - Picture = "Util7452.frx":22B0 - Top = 870 - Width = 300 - End - Begin VB.Image DOP0 - Appearance = 0 'Flat - Height = 300 - Index = 6 - Left = 3420 - Picture = "Util7452.frx":2422 - Top = 870 - Width = 300 - End - Begin VB.Image DOP0 - Appearance = 0 'Flat - Height = 300 - Index = 5 - Left = 3780 - Picture = "Util7452.frx":2594 - Top = 870 - Width = 300 - End - Begin VB.Image DOP0 - Appearance = 0 'Flat - Height = 300 - Index = 4 - Left = 4140 - Picture = "Util7452.frx":2706 - Top = 870 - Width = 300 - End - Begin VB.Image DOP0 - Appearance = 0 'Flat - Height = 300 - Index = 2 - Left = 4860 - Picture = "Util7452.frx":2878 - Top = 870 - Width = 300 - End - Begin VB.Image DOP0 - Appearance = 0 'Flat - Height = 300 - Index = 3 - Left = 4500 - Picture = "Util7452.frx":29EA - Top = 870 - Width = 300 - End - Begin VB.Image DOP0 - Appearance = 0 'Flat - Height = 300 - Index = 1 - Left = 5220 - Picture = "Util7452.frx":2B5C - Top = 870 - Width = 300 - End - Begin VB.Image DOP0 - Appearance = 0 'Flat - Height = 300 - Index = 0 - Left = 5580 - Picture = "Util7452.frx":2CCE - Top = 870 - Width = 300 - End - End - Begin VB.Frame Frame1 - Appearance = 0 'Flat - BackColor = &H00C0C0C0& - Caption = "Digital Input#" - ForeColor = &H00FF0000& - Height = 1275 - Index = 0 - Left = 240 - TabIndex = 0 - Top = 60 - Width = 6015 - Begin VB.Label Label4 - Caption = "0" - Height = 195 - Left = 5670 - TabIndex = 4 - Top = 1050 - Width = 195 - End - Begin VB.Label Label2 - Caption = "31" - Height = 195 - Left = 210 - TabIndex = 2 - Top = 540 - Width = 195 - End - Begin VB.Image DI0 - Appearance = 0 'Flat - Height = 300 - Index = 31 - Left = 180 - Picture = "Util7452.frx":2E40 - Top = 240 - Width = 300 - End - Begin VB.Image DI0 - Appearance = 0 'Flat - Height = 300 - Index = 30 - Left = 540 - Picture = "Util7452.frx":2FB2 - Top = 240 - Width = 300 - End - Begin VB.Image DI0 - Appearance = 0 'Flat - Height = 300 - Index = 29 - Left = 900 - Picture = "Util7452.frx":3124 - Top = 240 - Width = 300 - End - Begin VB.Image DI0 - Appearance = 0 'Flat - Height = 300 - Index = 28 - Left = 1260 - Picture = "Util7452.frx":3296 - Top = 240 - Width = 300 - End - Begin VB.Image DI0 - Appearance = 0 'Flat - Height = 300 - Index = 27 - Left = 1620 - Picture = "Util7452.frx":3408 - Top = 240 - Width = 300 - End - Begin VB.Image DI0 - Appearance = 0 'Flat - Height = 300 - Index = 26 - Left = 1980 - Picture = "Util7452.frx":357A - Top = 240 - Width = 300 - End - Begin VB.Image DI0 - Appearance = 0 'Flat - Height = 300 - Index = 25 - Left = 2340 - Picture = "Util7452.frx":36EC - Top = 240 - Width = 300 - End - Begin VB.Image DI0 - Appearance = 0 'Flat - Height = 300 - Index = 24 - Left = 2700 - Picture = "Util7452.frx":385E - Top = 240 - Width = 300 - End - Begin VB.Image DI0 - Appearance = 0 'Flat - Height = 300 - Index = 23 - Left = 3060 - Picture = "Util7452.frx":39D0 - Top = 240 - Width = 300 - End - Begin VB.Image DI0 - Appearance = 0 'Flat - Height = 300 - Index = 22 - Left = 3420 - Picture = "Util7452.frx":3B42 - Top = 240 - Width = 300 - End - Begin VB.Image DI0 - Appearance = 0 'Flat - Height = 300 - Index = 21 - Left = 3780 - Picture = "Util7452.frx":3CB4 - Top = 240 - Width = 300 - End - Begin VB.Image DI0 - Appearance = 0 'Flat - Height = 300 - Index = 20 - Left = 4140 - Picture = "Util7452.frx":3E26 - Top = 240 - Width = 300 - End - Begin VB.Image DI0 - Appearance = 0 'Flat - Height = 300 - Index = 19 - Left = 4500 - Picture = "Util7452.frx":3F98 - Top = 240 - Width = 300 - End - Begin VB.Image DI0 - Appearance = 0 'Flat - Height = 300 - Index = 18 - Left = 4860 - Picture = "Util7452.frx":410A - Top = 240 - Width = 300 - End - Begin VB.Image DI0 - Appearance = 0 'Flat - Height = 300 - Index = 17 - Left = 5220 - Picture = "Util7452.frx":427C - Top = 240 - Width = 300 - End - Begin VB.Image DI0 - Appearance = 0 'Flat - Height = 300 - Index = 16 - Left = 5580 - Picture = "Util7452.frx":43EE - Top = 240 - Width = 300 - End - Begin VB.Image DI0 - Appearance = 0 'Flat - Height = 300 - Index = 15 - Left = 180 - Picture = "Util7452.frx":4560 - Top = 750 - Width = 300 - End - Begin VB.Image DI0 - Appearance = 0 'Flat - Height = 300 - Index = 14 - Left = 540 - Picture = "Util7452.frx":46D2 - Top = 750 - Width = 300 - End - Begin VB.Image DI0 - Appearance = 0 'Flat - Height = 300 - Index = 13 - Left = 900 - Picture = "Util7452.frx":4844 - Top = 750 - Width = 300 - End - Begin VB.Image DI0 - Appearance = 0 'Flat - Height = 300 - Index = 12 - Left = 1260 - Picture = "Util7452.frx":49B6 - Top = 750 - Width = 300 - End - Begin VB.Image DI0 - Appearance = 0 'Flat - Height = 300 - Index = 11 - Left = 1620 - Picture = "Util7452.frx":4B28 - Top = 750 - Width = 300 - End - Begin VB.Image DI0 - Appearance = 0 'Flat - Height = 300 - Index = 10 - Left = 1980 - Picture = "Util7452.frx":4C9A - Top = 750 - Width = 300 - End - Begin VB.Image DI0 - Appearance = 0 'Flat - Height = 300 - Index = 9 - Left = 2340 - Picture = "Util7452.frx":4E0C - Top = 750 - Width = 300 - End - Begin VB.Image DI0 - Appearance = 0 'Flat - Height = 300 - Index = 8 - Left = 2700 - Picture = "Util7452.frx":4F7E - Top = 750 - Width = 300 - End - Begin VB.Image DI0 - Appearance = 0 'Flat - Height = 300 - Index = 0 - Left = 5580 - Picture = "Util7452.frx":50F0 - Top = 750 - Width = 300 - End - Begin VB.Image DI0 - Appearance = 0 'Flat - Height = 300 - Index = 1 - Left = 5220 - Picture = "Util7452.frx":5262 - Top = 750 - Width = 300 - End - Begin VB.Image DI0 - Appearance = 0 'Flat - Height = 300 - Index = 2 - Left = 4860 - Picture = "Util7452.frx":53D4 - Top = 750 - Width = 300 - End - Begin VB.Image DI0 - Appearance = 0 'Flat - Height = 300 - Index = 3 - Left = 4500 - Picture = "Util7452.frx":5546 - Top = 750 - Width = 300 - End - Begin VB.Image DI0 - Appearance = 0 'Flat - Height = 300 - Index = 4 - Left = 4140 - Picture = "Util7452.frx":56B8 - Top = 750 - Width = 300 - End - Begin VB.Image DI0 - Appearance = 0 'Flat - Height = 300 - Index = 5 - Left = 3780 - Picture = "Util7452.frx":582A - Top = 750 - Width = 300 - End - Begin VB.Image DI0 - Appearance = 0 'Flat - Height = 300 - Index = 6 - Left = 3420 - Picture = "Util7452.frx":599C - Top = 750 - Width = 300 - End - Begin VB.Image DI0 - Appearance = 0 'Flat - Height = 300 - Index = 7 - Left = 3060 - Picture = "Util7452.frx":5B0E - Top = 750 - Width = 300 - End - End - Begin VB.Image Image1 - Appearance = 0 'Flat - Height = 300 - Left = 5880 - Picture = "Util7452.frx":5C80 - Top = 2700 - Visible = 0 'False - Width = 300 - End - Begin VB.Image Image0 - Appearance = 0 'Flat - Height = 300 - Left = 6180 - Picture = "Util7452.frx":5DF2 - Top = 2700 - Visible = 0 'False - Width = 300 - End - Begin VB.Menu mnuExit - Caption = "&Exit!" - End -End -Attribute VB_Name = "util7452" -Attribute VB_GlobalNameSpace = False -Attribute VB_Creatable = False -Attribute VB_PredeclaredId = True -Attribute VB_Exposed = False -Option Explicit -Dim Status(0 To 31) As Long -Dim bit(0 To 31) As Long -Dim iport As Integer -Dim oport As Integer - -Private Sub DOP0_Click(Index As Integer) - Dim i As Integer, result As Integer - Dim d As Long - - If Status(Index) = 1 Then - DOP0(Index).Picture = Image0.Picture - Status(Index) = 0 - Else - DOP0(Index).Picture = Image1.Picture - Status(Index) = 1 - End If - d = 0 - For i = 0 To 30 - If Status(i) = 1 Then - d = d + (2 ^ i) - End If - Next - 'Handle the MSB - 'd=d+2^31, but bucause VB has no unsigned long, - 'translate an unsigned long to signed long by minus 2^32 - If Status(31) = 1 Then d = d - 2 ^ 31 'd = d + 2^31 - 2^32 - result = DO_WritePort(card, oport, d) - -End Sub - -Private Sub Form_Load() - Dim result As Integer - Dim i As Integer - - SettingForm.Show 1 - If card < 0 Then - MsgBox "Register card failed." - End - End If - For i = 0 To 31 - Status(i) = 0 - Next - - bit(0) = &H1& - bit(1) = &H2& - bit(2) = &H4& - bit(3) = &H8& - bit(4) = &H10& - bit(5) = &H20& - bit(6) = &H40& - bit(7) = &H80& - bit(8) = &H100& - bit(9) = &H200& - bit(10) = &H400& - bit(11) = &H800& - bit(12) = &H1000& - bit(13) = &H2000& - bit(14) = &H4000& - bit(15) = &H8000& - bit(16) = &H10000 - bit(17) = &H20000 - bit(18) = &H40000 - bit(19) = &H80000 - bit(20) = &H100000 - bit(21) = &H200000 - bit(22) = &H400000 - bit(23) = &H800000 - bit(24) = &H1000000 - bit(25) = &H2000000 - bit(26) = &H4000000 - bit(27) = &H8000000 - bit(28) = &H10000000 - bit(29) = &H20000000 - bit(30) = &H40000000 - bit(31) = &H80000000 - - iport = 0 - oport = 0 - - For i = 0 To 3 Step 1 - InCombo.AddItem i - OutCombo.AddItem i - Next - InCombo.ListIndex = 0 - OutCombo.ListIndex = 0 -End Sub - -Private Sub Form_Unload(Cancel As Integer) - Dim result As Integer - If card >= 0 Then - result = Release_Card(card) - End If - End -End Sub -Private Sub InCombo_Click() -iport = InCombo.ListIndex -End Sub - -Private Sub mnuExit_Click() - Dim result As Integer - If card >= 0 Then - result = Release_Card(card) - End If - - End -End Sub - -Private Sub OutCombo_Click() -Dim i As Integer -Dim result As Integer -Dim rb_data As Long -Dim p As Long - -oport = OutCombo.ListIndex -result = DO_ReadPort(card, oport, rb_data) -For i = 0 To 31 - p = rb_data And bit(i) - If p <> 0 Then - DOP0(i) = Image1 - Status(i) = 1 - Else 'p = 0 - DOP0(i) = Image0 - Status(i) = 0 - End If -Next -End Sub - -Private Sub Timer1_Timer() - Dim result As Integer - Dim di_data As Long - Dim dl As Long, dh As Long - Dim i As Integer - Dim p As Long - - result = DI_ReadPort(card, iport, di_data) - - For i = 0 To 31 - p = di_data And bit(i) - If p <> 0 Then - DI0(i) = Image1 - Else 'p = 0 - DI0(i) = Image0 - End If - Next -End Sub - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7452/VB7452/Util7452.Vbp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7452/VB7452/Util7452.Vbp deleted file mode 100644 index 635cb37..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7452/VB7452/Util7452.Vbp +++ /dev/null @@ -1,37 +0,0 @@ -Type=Exe -Form=Util7452.Frm -Module=DASK; ..\..\..\include\Dask.bas -Module=Module1; 7452glbl.bas -Form=Base7452.frm -Reference=*\G{00025E04-0000-0000-C000-000000000046}#3.5#0#C:\PROGRAM FILES\COMMON FILES\MICROSOFT SHARED\DAO\dao2535.tlb#Microsoft DAO 2.5/3.0 Compatibility Library -IconForm="util7452" -Startup="util7452" -HelpFile="" -Title="UTIL7452" -ExeName32="Util7452.exe" -Command32="" -Name="projectUtil7452" -HelpContextID="0" -CompatibleMode="0" -MajorVer=1 -MinorVer=0 -RevisionVer=0 -AutoIncrementVer=0 -ServerSupportFiles=0 -VersionCompanyName="ADLINK" -CompilationType=0 -OptimizationType=0 -FavorPentiumPro(tm)=0 -CodeViewDebugInfo=0 -NoAliasing=0 -BoundsCheck=0 -OverflowCheck=0 -FlPointCheck=0 -FDIVCheck=0 -UnroundedFP=0 -StartMode=0 -Unattended=0 -Retained=0 -ThreadPerObject=0 -MaxNumberOfThreads=1 -DebugStartupOption=0 diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7452/VB7452/Util7452.frx b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7452/VB7452/Util7452.frx deleted file mode 100644 index 055f82c..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7452/VB7452/Util7452.frx and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7452/VB7452/Util7452.vbw b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7452/VB7452/Util7452.vbw deleted file mode 100644 index 5ebde9e..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/7452/VB7452/Util7452.vbw +++ /dev/null @@ -1,4 +0,0 @@ -util7452 = 88, 88, 705, 537, Z, 132, 132, 606, 581, C -DASK = 22, 22, 639, 471, -Module1 = 44, 44, 661, 493, -SettingForm = 66, 66, 683, 515, , 110, 110, 727, 559, C diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/8554/SDK8554/8554.C b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/8554/SDK8554/8554.C deleted file mode 100644 index 3419561..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/8554/SDK8554/8554.C +++ /dev/null @@ -1,322 +0,0 @@ -#include -#include -#include -#include "resource.h" -#include "dask.h" - -#define IDM_EXIT 110 -#define IDC_START 208 -#define IDC_FUNC 212 - -int PASCAL WinMain(HANDLE, HANDLE, LPSTR, int); -long PASCAL MainWndProc(HWND, UINT, WPARAM, LPARAM); -BOOL PASCAL ShowINT(HWND, UINT, WPARAM, LPARAM); -void wait_pulse_start(); - -HANDLE hInst; -HWND hFuncComboBox; -HWND hStart; -int func=0; -char txtMsg[128]; -time_t *time1,*time2; -I16 card=-1, card_number=0; - -BOOL InitApplication(HANDLE); -BOOL InitInstance(HANDLE, int); - -int PASCAL WinMain(hInstance, hPrevInstance, lpCmdLine, nCmdShow) -HANDLE hInstance, hPrevInstance; -LPSTR lpCmdLine; -int nCmdShow; -{ - MSG msg; - - if (!hPrevInstance) - if (!InitApplication(hInstance)) return(FALSE); - if (!InitInstance(hInstance, nCmdShow)) return(FALSE); - while (GetMessage(&msg, NULL, NULL, NULL)) { - TranslateMessage(&msg); - DispatchMessage(&msg); - } - return(msg.wParam); -} - -BOOL InitApplication(hInstance) -HANDLE hInstance; -{ - WNDCLASS wc; - - /* Main Window Class */ - wc.style = NULL; - wc.lpfnWndProc = (WNDPROC)MainWndProc; - wc.cbClsExtra = 0; - wc.cbWndExtra = 0; - wc.hInstance = hInstance; - wc.hIcon = LoadIcon(hInstance, "MyIcon"); - wc.hCursor = LoadCursor(NULL, IDC_ARROW); - wc.hbrBackground = GetStockObject(LTGRAY_BRUSH); - wc.lpszMenuName = NULL; - wc.lpszClassName = "GenericWClass"; - if (!RegisterClass(&wc)) return(FALSE); -} - - -BOOL InitInstance(hInstance, nCmdShow) -HANDLE hInstance; -int nCmdShow; -{ - HWND hWnd; - HMENU hSampleMenu; - - hInst = hInstance; - hSampleMenu = LoadMenu(hInstance, "U7120Menu"); - hWnd = CreateWindow("GenericWClass", - (LPCSTR)"PCI-8554", - WS_OVERLAPPEDWINDOW, - CW_USEDEFAULT, - CW_USEDEFAULT, - 490, - 370, - NULL, - hSampleMenu, - hInstance, - NULL); - if (!hWnd) return(FALSE); - ShowWindow(hWnd, nCmdShow); - UpdateWindow(hWnd); - return(TRUE); -} - -BOOL PASCAL setup(HWND hWnd, unsigned message, WPARAM wParam, LPARAM lParam) -{ - int i; - char n[16]; - char s[50]; - switch (message) { - case WM_INITDIALOG: - for (i=0;i<16;i++) { - wsprintf(n, "%d", i); - _strupr(n); - SendMessage(GetDlgItem(hWnd,IDC_COMBO1), CB_ADDSTRING, NULL, (LONG)(LPSTR) n); - } - SendMessage(GetDlgItem(hWnd,IDC_COMBO1) , CB_SETCURSEL, 0, 0L); - - break; - case WM_COMMAND: - switch(LOWORD(wParam)) { - - case IDC_COMBO1: - if (HIWORD(wParam) == CBN_CLOSEUP) { - i = (int)SendMessage(GetDlgItem(hWnd,IDC_COMBO1), CB_GETCURSEL, 0, 0L); - SendMessage(GetDlgItem(hWnd,IDC_COMBO1), CB_GETLBTEXT, i, (LPARAM)((LPCSTR)n)); - card_number = i; - } - return(TRUE); - case IDOK: - if ((card=Register_Card(PCI_8554, card_number)) < 0) { - wsprintf(s, "Register_Card Error = %d\n", card); - MessageBox(hWnd, s, "Error", MB_OK); - } - EndDialog(hWnd, TRUE); - InvalidateRect(hWnd, NULL, FALSE); - return (TRUE); - case IDCANCEL: - EndDialog(hWnd, TRUE); - return (TRUE); - } - break; - } - return (FALSE); -} - -long PASCAL MainWndProc(hWnd, message, wParam, lParam) -HWND hWnd; -UINT message; -WPARAM wParam; -LPARAM lParam; -{ - HDC hDC; - PAINTSTRUCT ps; - int i; - U32 value; - U16 under_flow; - U16 old_value, new_value; - float pulse_width, period, frequency; - - switch(message) { - case WM_CREATE: - DialogBox(hInst,IDD_DIALOG1, hWnd, setup); - if(card<0) { - SendMessage(hWnd, WM_CLOSE, 0, 0L); - break; - } - hFuncComboBox = CreateWindow("ComboBox", NULL, - CBS_DROPDOWNLIST | WS_CHILD | WS_VISIBLE | WS_VSCROLL, - 150, 20, 180, 120, hWnd, IDC_FUNC, hInst, NULL); - SendMessage(hFuncComboBox, CB_ADDSTRING, NULL, (LONG)(LPSTR)"Square Wave"); - SendMessage(hFuncComboBox, CB_ADDSTRING, NULL, (LONG)(LPSTR)"Pluse Generator"); - SendMessage(hFuncComboBox, CB_ADDSTRING, NULL, (LONG)(LPSTR)"Measure Pulse Width"); - SendMessage(hFuncComboBox, CB_ADDSTRING, NULL, (LONG)(LPSTR)"Measure Frequency"); - SendMessage(hFuncComboBox ,CB_SETCURSEL, 0, 0L); - hStart = CreateWindow("BUTTON","Start" , - WS_CHILD | WS_VISIBLE , - 220, 280, 60, 24, hWnd, IDC_START, hInst, NULL); - time1 = malloc(sizeof(time_t)); - time2 = malloc(sizeof(time_t)); - break; - case WM_PAINT: - hDC = BeginPaint(hWnd, &ps); - SelectObject(hDC, GetStockObject(GRAY_BRUSH)); - //SetBkMode(hDC,OPAQUE); - Rectangle(hDC, 20, 60, 460, 250); - SetTextColor(hDC,RGB(255,255,0)); - SetBkMode(hDC,TRANSPARENT); - switch (func) { - case 0: //Square Wave - TextOut(hDC, 30, 70, "Generate 250 KHz square wave.", 29); - TextOut(hDC, 30, 86, "The clock source of the counter #1 is set to C8M.", 49); - break; - case 1: //Pluse Generator - TextOut(hDC, 30, 70, "Generate one pulse every hour.", 30); - TextOut(hDC, 30, 86, "<1> the clock source of the counter #1 is set to C8M", 52); - TextOut(hDC, 30, 102, "<2> the clock source of counter #2, #3 is from #1, #2", 53); - break; - case 2: //Measure Pulse Width - TextOut(hDC, 30, 70, "Measure pulse width.", 20); - TextOut(hDC, 30, 86, "<1> the clock source of the counter #1 is set to C8M", 52); - TextOut(hDC, 30, 102, "<2> the signal to be measured is connected to GATE1", 51); - break; - case 3: //Measure Frequency - TextOut(hDC, 30, 70, "Measure signal frequency.", 25); - TextOut(hDC, 30, 86, "<1> Connect the signal to be measured to ECLK1", 46); - TextOut(hDC, 30, 102, "<2> the clock source of the counter #2,#3 set to C8M, COUT2", 59); - TextOut(hDC, 30, 118, "<3> the gate source of the counter #1 set to the inverse of COUT3", 65); - TextOut(hDC, 30, 134, "<4> the gate source of the counter #2, #3 set to High", 53); - break; - } - TextOut(hDC, 30, 150, txtMsg, strlen(txtMsg)); - - EndPaint(hWnd, &ps); - break; - - case WM_COMMAND: - switch(LOWORD(wParam)) { - case IDM_EXIT: - SendMessage(hWnd, WM_CLOSE, 0, 0L); - break; - case IDC_START: - EnableWindow(hStart, FALSE); - switch (func) { - case 0: //Square Wave - CTR_8554_CK1_Config(card, CK1_C8M); - CTR_8554_ClkSrc_Config(card, 1, CK1); - CTR_8554_ClkSrc_Config(card, 2, CK1); - CTR_8554_ClkSrc_Config(card, 3, CK1); - CTR_8554_ClkSrc_Config(card, 4, CK1); - CTR_8554_ClkSrc_Config(card, 5, CK1); - CTR_8554_ClkSrc_Config(card, 6, CK1); - CTR_8554_ClkSrc_Config(card, 7, CK1); - CTR_8554_ClkSrc_Config(card, 8, CK1); - CTR_8554_ClkSrc_Config(card, 9, CK1); - CTR_8554_ClkSrc_Config(card, 10, CK1); - CTR_Setup(card, 1, 3, 32, BIN); - CTR_Setup(card, 2, 3, 32, BIN); - CTR_Setup(card, 3, 3, 32, BIN); - CTR_Setup(card, 4, 3, 32, BIN); - CTR_Setup(card, 5, 3, 32, BIN); - CTR_Setup(card, 6, 3, 32, BIN); - CTR_Setup(card, 7, 3, 32, BIN); - CTR_Setup(card, 8, 3, 32, BIN); - CTR_Setup(card, 9, 3, 32, BIN); - CTR_Setup(card, 10, 3, 32, BIN); - strcpy(txtMsg, "*** 250 KHz square wave is ready on the COUT1 ~ 11 ***"); - break; - case 1: //Pluse Generator - CTR_8554_CK1_Config(card, CK1_C8M); - CTR_8554_ClkSrc_Config(card, 1, CK1); - CTR_8554_ClkSrc_Config(card, 2, COUTN_1); - CTR_8554_ClkSrc_Config(card, 3, COUTN_1); - CTR_Setup(card, 1, 3, 200, 0); - CTR_Setup(card, 2, 3, 200, 0); - CTR_Setup(card, 3, 3, 200, 0); - strcpy(txtMsg, " *** A pulse per second is ready on the COUT3 ***"); - break; - case 2: //Measure Pulse Width - CTR_8554_CK1_Config(card, CK1_C8M); - CTR_8554_ClkSrc_Config(card, 1, CK1); - CTR_Setup(card, 1, 2, 0, BIN); - under_flow = 0; - wait_pulse_start(); - time(time1); - CTR_Read(card, 1, &old_value); - while (1) { - CTR_Read(card, 1, &new_value); - time(time2); - period = difftime(*time2,*time1); - if ((new_value == old_value)||(period > 5)) break; - if ( old_value < new_value ) under_flow++; - old_value=new_value; - } - if (period < 5) { - pulse_width = (65536 - new_value + under_flow * 65536 + 1) * 0.125; - sprintf(txtMsg, "*** High level pulse width = %f micro-second ***", pulse_width); - } - else - strcpy(txtMsg, "*** Measure inappropriate pulse width ***"); - break; - case 3: //Measure Frequency - CTR_8554_ClkSrc_Config(card, 1, ECKN); - CTR_8554_CK1_Config(card, CK1_C8M); - CTR_8554_ClkSrc_Config(card, 2, CK1); - CTR_8554_ClkSrc_Config(card, 3, COUTN_1); - CTR_Setup(card, 1, 2, 65535, 0); - CTR_Setup(card, 2, 2, 4, 0); - CTR_Setup(card, 3, 0, 65535, 0); - Sleep(1000); - CTR_Read(card, 1, &value); - period = 65535 - (value&0xffff); - frequency = period * 2000000 / 65535; - sprintf(txtMsg, "Measured Signal Frequency = %f Hz.",frequency); - break; - } - EnableWindow(hStart, TRUE); - InvalidateRect(hWnd, NULL, 0); - break; - case IDC_FUNC: - if (HIWORD(wParam) == CBN_CLOSEUP) { - func=(int)SendMessage(GetDlgItem(hWnd,IDC_FUNC),CB_GETCURSEL, 0, 0L); - } - for (i=0; i<127;i++) txtMsg[i] = ' '; - txtMsg[i] = 0; - InvalidateRect(hWnd, NULL, 0); - break; - default: - return(DefWindowProc(hWnd, message, wParam, lParam)); - } - break; - case WM_DESTROY: - if (card>=0) Release_Card(card); - PostQuitMessage(0); - break; - default: - return(DefWindowProc(hWnd, message, wParam, lParam)); - } - return(NULL); -} - -void wait_pulse_start() -{ - U32 oldvalue,newvalue; - - do - { - CTR_Read( card, 1, &oldvalue ); - CTR_Read( card, 1, &newvalue ); - } while( newvalue != oldvalue ); - do - { - CTR_Read( card, 1, &oldvalue ); - CTR_Read( card, 1, &newvalue ); - } while( newvalue == oldvalue ); -} - \ No newline at end of file diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/8554/SDK8554/8554.RC b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/8554/SDK8554/8554.RC deleted file mode 100644 index c40f628..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/8554/SDK8554/8554.RC +++ /dev/null @@ -1,96 +0,0 @@ -//Microsoft Developer Studio generated resource script. -// -#include "resource.h" - -#define APSTUDIO_READONLY_SYMBOLS -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 2 resource. -// -#define APSTUDIO_HIDDEN_SYMBOLS -#include "windows.h" -#undef APSTUDIO_HIDDEN_SYMBOLS - -///////////////////////////////////////////////////////////////////////////// -#undef APSTUDIO_READONLY_SYMBOLS - -///////////////////////////////////////////////////////////////////////////// -// English (U.S.) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -#ifdef _WIN32 -LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US -#pragma code_page(1252) -#endif //_WIN32 - -#ifdef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// TEXTINCLUDE -// - -1 TEXTINCLUDE DISCARDABLE -BEGIN - "resource.h\0" -END - -2 TEXTINCLUDE DISCARDABLE -BEGIN - "#define APSTUDIO_HIDDEN_SYMBOLS\r\n" - "#include ""windows.h""\r\n" - "#undef APSTUDIO_HIDDEN_SYMBOLS\r\n" - "\0" -END - -3 TEXTINCLUDE DISCARDABLE -BEGIN - "\r\n" - "\0" -END - -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// Menu -// - -U7120MENU MENU DISCARDABLE -BEGIN - MENUITEM "E&xit!", IDM_EXIT -END - - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog -// - -IDD_DIALOG1 DIALOG DISCARDABLE 110, 10, 103, 64 -STYLE DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU -CAPTION "Setup" -FONT 10, "System" -BEGIN - DEFPUSHBUTTON "OK",IDOK,10,40,37,14 - PUSHBUTTON "Cancel",IDCANCEL,61,40,38,14 - LTEXT "Card Number",IDC_STATIC,3,13,47,13 - COMBOBOX IDC_COMBO1,51,13,48,84,CBS_DROPDOWN | WS_VSCROLL | - WS_TABSTOP -END - -#endif // English (U.S.) resources -///////////////////////////////////////////////////////////////////////////// - - - -#ifndef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 3 resource. -// - - -///////////////////////////////////////////////////////////////////////////// -#endif // not APSTUDIO_INVOKED - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/8554/SDK8554/Resource.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/8554/SDK8554/Resource.h deleted file mode 100644 index 176a7a7..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/8554/SDK8554/Resource.h +++ /dev/null @@ -1,26 +0,0 @@ -//{{NO_DEPENDENCIES}} -// Microsoft Developer Studio generated include file. -// Used by 8554.rc -// -#define IDM_SETUP 101 -#define IDD_DIALOG1 101 -#define IDM_EXIT 110 -#define ID_STOP 304 -#define DMA_SPACE 500 -#define DMA_DESCP 600 -#define IDC_COMBO2 1001 -#define IDC_COMBO3 1003 -#define IDC_COMBO1 1015 -#define IDC_COMBO4 1016 -#define IDC_STATIC -1 - -// Next default values for new objects -// -#ifdef APSTUDIO_INVOKED -#ifndef APSTUDIO_READONLY_SYMBOLS -#define _APS_NEXT_RESOURCE_VALUE 103 -#define _APS_NEXT_COMMAND_VALUE 102 -#define _APS_NEXT_CONTROL_VALUE 1001 -#define _APS_NEXT_SYMED_VALUE 101 -#endif -#endif diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/8554/SDK8554/Util8554.exe b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/8554/SDK8554/Util8554.exe deleted file mode 100644 index a9e89e3..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/8554/SDK8554/Util8554.exe and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/8554/SDK8554/Util8554.mak b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/8554/SDK8554/Util8554.mak deleted file mode 100644 index c9a2d13..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/8554/SDK8554/Util8554.mak +++ /dev/null @@ -1,219 +0,0 @@ -# Microsoft Developer Studio Generated NMAKE File, Format Version 4.00 -# ** DO NOT EDIT ** - -# TARGTYPE "Win32 (x86) Application" 0x0101 - -!IF "$(CFG)" == "" -CFG=Util8554 - Win32 Debug -!MESSAGE No configuration specified. Defaulting to Util8554 - Win32 Debug. -!ENDIF - -!IF "$(CFG)" != "Util8554 - Win32 Release" && "$(CFG)" !=\ - "Util8554 - Win32 Debug" -!MESSAGE Invalid configuration "$(CFG)" specified. -!MESSAGE You can specify a configuration when running NMAKE on this makefile -!MESSAGE by defining the macro CFG on the command line. For example: -!MESSAGE -!MESSAGE NMAKE /f "Util8554.mak" CFG="Util8554 - Win32 Debug" -!MESSAGE -!MESSAGE Possible choices for configuration are: -!MESSAGE -!MESSAGE "Util8554 - Win32 Release" (based on "Win32 (x86) Application") -!MESSAGE "Util8554 - Win32 Debug" (based on "Win32 (x86) Application") -!MESSAGE -!ERROR An invalid configuration is specified. -!ENDIF - -!IF "$(OS)" == "Windows_NT" -NULL= -!ELSE -NULL=nul -!ENDIF -################################################################################ -# Begin Project -# PROP Target_Last_Scanned "Util8554 - Win32 Debug" -MTL=mktyplib.exe -CPP=cl.exe -RSC=rc.exe - -!IF "$(CFG)" == "Util8554 - Win32 Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "Release" -# PROP BASE Intermediate_Dir "Release" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "" -# PROP Intermediate_Dir "Release" -# PROP Target_Dir "" -OUTDIR=. -INTDIR=.\Release - -ALL : "$(OUTDIR)\Util8554.exe" - -CLEAN : - -@erase ".\Util8554.exe" - -@erase ".\Release\8554.obj" - -@erase ".\Release\8554.res" - -"$(INTDIR)" : - if not exist "$(INTDIR)/$(NULL)" mkdir "$(INTDIR)" - -# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /YX /c -# ADD CPP /nologo /W3 /GX /O2 /I "..\..\..\include" /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /c -# SUBTRACT CPP /YX -CPP_PROJ=/nologo /ML /W3 /GX /O2 /I "..\..\..\include" /D "WIN32" /D "NDEBUG"\ - /D "_WINDOWS" /Fo"$(INTDIR)/" /c -CPP_OBJS=.\Release/ -CPP_SBRS= -# ADD BASE MTL /nologo /D "NDEBUG" /win32 -# ADD MTL /nologo /D "NDEBUG" /win32 -MTL_PROJ=/nologo /D "NDEBUG" /win32 -# ADD BASE RSC /l 0x404 /d "NDEBUG" -# ADD RSC /l 0x404 /d "NDEBUG" -RSC_PROJ=/l 0x404 /fo"$(INTDIR)/8554.res" /d "NDEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -BSC32_FLAGS=/nologo /o"$(OUTDIR)/Util8554.bsc" -BSC32_SBRS= -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:windows /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ..\..\..\lib\Pci-Dask.lib /nologo /subsystem:windows /machine:I386 -LINK32_FLAGS=kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib\ - advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib\ - odbccp32.lib ..\..\..\lib\Pci-Dask.lib /nologo /subsystem:windows\ - /incremental:no /pdb:"$(OUTDIR)/Util8554.pdb" /machine:I386\ - /out:"$(OUTDIR)/Util8554.exe" -LINK32_OBJS= \ - "$(INTDIR)/8554.obj" \ - "$(INTDIR)/8554.res" - -"$(OUTDIR)\Util8554.exe" : "$(OUTDIR)" $(DEF_FILE) $(LINK32_OBJS) - $(LINK32) @<< - $(LINK32_FLAGS) $(LINK32_OBJS) -<< - -!ELSEIF "$(CFG)" == "Util8554 - Win32 Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "Debug" -# PROP BASE Intermediate_Dir "Debug" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "" -# PROP Intermediate_Dir "Debug" -# PROP Target_Dir "" -OUTDIR=. -INTDIR=.\Debug - -ALL : "$(OUTDIR)\Util8554.exe" - -CLEAN : - -@erase ".\Debug\vc40.pdb" - -@erase ".\Debug\vc40.idb" - -@erase ".\Util8554.exe" - -@erase ".\Debug\8554.obj" - -@erase ".\Debug\8554.res" - -@erase ".\Util8554.ilk" - -@erase ".\Util8554.pdb" - -"$(INTDIR)" : - if not exist "$(INTDIR)/$(NULL)" mkdir "$(INTDIR)" - -# ADD BASE CPP /nologo /W3 /Gm /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /YX /c -# ADD CPP /nologo /W3 /Gm /GX /Zi /Od /I "..\..\..\include" /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /c -# SUBTRACT CPP /YX -CPP_PROJ=/nologo /MLd /W3 /Gm /GX /Zi /Od /I "..\..\..\include" /D "WIN32" /D\ - "_DEBUG" /D "_WINDOWS" /Fo"$(INTDIR)/" /Fd"$(INTDIR)/" /c -CPP_OBJS=.\Debug/ -CPP_SBRS= -# ADD BASE MTL /nologo /D "_DEBUG" /win32 -# ADD MTL /nologo /D "_DEBUG" /win32 -MTL_PROJ=/nologo /D "_DEBUG" /win32 -# ADD BASE RSC /l 0x404 /d "_DEBUG" -# ADD RSC /l 0x404 /d "_DEBUG" -RSC_PROJ=/l 0x404 /fo"$(INTDIR)/8554.res" /d "_DEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -BSC32_FLAGS=/nologo /o"$(OUTDIR)/Util8554.bsc" -BSC32_SBRS= -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:windows /debug /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ..\..\..\lib\Pci-Dask.lib /nologo /subsystem:windows /debug /machine:I386 -LINK32_FLAGS=kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib\ - advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib\ - odbccp32.lib ..\..\..\lib\Pci-Dask.lib /nologo /subsystem:windows\ - /incremental:yes /pdb:"$(OUTDIR)/Util8554.pdb" /debug /machine:I386\ - /out:"$(OUTDIR)/Util8554.exe" -LINK32_OBJS= \ - "$(INTDIR)/8554.obj" \ - "$(INTDIR)/8554.res" - -"$(OUTDIR)\Util8554.exe" : "$(OUTDIR)" $(DEF_FILE) $(LINK32_OBJS) - $(LINK32) @<< - $(LINK32_FLAGS) $(LINK32_OBJS) -<< - -!ENDIF - -.c{$(CPP_OBJS)}.obj: - $(CPP) $(CPP_PROJ) $< - -.cpp{$(CPP_OBJS)}.obj: - $(CPP) $(CPP_PROJ) $< - -.cxx{$(CPP_OBJS)}.obj: - $(CPP) $(CPP_PROJ) $< - -.c{$(CPP_SBRS)}.sbr: - $(CPP) $(CPP_PROJ) $< - -.cpp{$(CPP_SBRS)}.sbr: - $(CPP) $(CPP_PROJ) $< - -.cxx{$(CPP_SBRS)}.sbr: - $(CPP) $(CPP_PROJ) $< - -################################################################################ -# Begin Target - -# Name "Util8554 - Win32 Release" -# Name "Util8554 - Win32 Debug" - -!IF "$(CFG)" == "Util8554 - Win32 Release" - -!ELSEIF "$(CFG)" == "Util8554 - Win32 Debug" - -!ENDIF - -################################################################################ -# Begin Source File - -SOURCE=.\8554.rc - -"$(INTDIR)\8554.res" : $(SOURCE) "$(INTDIR)" - $(RSC) $(RSC_PROJ) $(SOURCE) - - -# End Source File -################################################################################ -# Begin Source File - -SOURCE=.\8554.c -DEP_CPP_8554_=\ - ".\..\..\..\include\dask.h"\ - - -"$(INTDIR)\8554.obj" : $(SOURCE) $(DEP_CPP_8554_) "$(INTDIR)" - - -# End Source File -# End Target -# End Project -################################################################################ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/8554/SDK8554/Util8554.mdp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/8554/SDK8554/Util8554.mdp deleted file mode 100644 index 5d6181d..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/8554/SDK8554/Util8554.mdp and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/8554/SdkEventCnt/EventCnt.c b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/8554/SdkEventCnt/EventCnt.c deleted file mode 100644 index bb43750..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/8554/SdkEventCnt/EventCnt.c +++ /dev/null @@ -1,207 +0,0 @@ -#include "windows.h" -#include -#include -#include "dask.h" -#include "resource.h" - -#define IDM_EXIT 110 -#define IDC_START 208 -#define IDC_STOP 209 -#define IDC_FUNC 212 - -int PASCAL WinMain(HANDLE, HANDLE, LPSTR, int); -long PASCAL MainWndProc(HWND, UINT, WPARAM, LPARAM); -BOOL PASCAL ShowINT(HWND, UINT, WPARAM, LPARAM); - -HANDLE hInst; -HWND hStop, hStart; -I16 card=-1, card_number=0; -HANDLE hEvent[2], hThread1; -U32 event_count=0; -U32 new_value, old_value=65535; -char txtMsg[128]; - -BOOL InitApplication(HANDLE); -BOOL InitInstance(HANDLE, int); -static U16 hua; -void ProcessInterrupt() -{ - U16 mode; - do { - WaitForSingleObject(hEvent[0], INFINITE); - CTR_Read (card, 1, &new_value); - event_count = old_value-new_value; - old_value = new_value; - ResetEvent(hEvent[0]); - } while (1); - _endthread(); -} - -int PASCAL WinMain(hInstance, hPrevInstance, lpCmdLine, nCmdShow) -HANDLE hInstance, hPrevInstance; -LPSTR lpCmdLine; -int nCmdShow; -{ - MSG msg; - - if (!hPrevInstance) - if (!InitApplication(hInstance)) return(FALSE); - if (!InitInstance(hInstance, nCmdShow)) return(FALSE); - while (GetMessage(&msg, NULL, NULL, NULL)) { - TranslateMessage(&msg); - DispatchMessage(&msg); - } - return(msg.wParam); -} - -BOOL InitApplication(hInstance) -HANDLE hInstance; -{ - WNDCLASS wc; - - /* Main Window Class */ - wc.style = NULL; - wc.lpfnWndProc = (WNDPROC)MainWndProc; - wc.cbClsExtra = 0; - wc.cbWndExtra = 0; - wc.hInstance = hInstance; - wc.hIcon = LoadIcon(hInstance, "MyIcon"); - wc.hCursor = LoadCursor(NULL, IDC_ARROW); - wc.hbrBackground = GetStockObject(LTGRAY_BRUSH); - wc.lpszMenuName = NULL; - wc.lpszClassName = "GenericWClass"; - if (!RegisterClass(&wc)) return(FALSE); -} - - -BOOL InitInstance(hInstance, nCmdShow) -HANDLE hInstance; -int nCmdShow; -{ - HWND hWnd; - HMENU hSampleMenu; - - hInst = hInstance; - hSampleMenu = LoadMenu(hInstance, "U7120Menu"); - hWnd = CreateWindow("GenericWClass", - (LPCSTR)"PCI-8554 Event Count", - WS_OVERLAPPEDWINDOW, - CW_USEDEFAULT, - CW_USEDEFAULT, - 490, - 370, - NULL, - hSampleMenu, - hInstance, - NULL); - if (!hWnd) return(FALSE); - ShowWindow(hWnd, nCmdShow); - UpdateWindow(hWnd); - return(TRUE); -} - -BOOL PASCAL setup(HWND hWnd, unsigned message, WPARAM wParam, LPARAM lParam) -{ - int i,k; - char n[16]; - char s[50]; - switch (message) { - case WM_INITDIALOG: - for (i=0;i<16;i++) { - wsprintf(n, "%d", i); - _strupr(n); - SendMessage(GetDlgItem(hWnd,IDC_COMBO1), CB_ADDSTRING, NULL, (LONG)(LPSTR) n); - } - SendMessage(GetDlgItem(hWnd,IDC_COMBO1) , CB_SETCURSEL, 0, 0L); - - break; - case WM_COMMAND: - switch(LOWORD(wParam)) { - - case IDC_COMBO1: - if (HIWORD(wParam) == CBN_CLOSEUP) { - i = (int)SendMessage(GetDlgItem(hWnd,IDC_COMBO1), CB_GETCURSEL, 0, 0L); - SendMessage(GetDlgItem(hWnd,IDC_COMBO1), CB_GETLBTEXT, i, (LPARAM)((LPCSTR)n)); - card_number = i; - } - return(TRUE); - case IDOK: - if ((card=Register_Card(PCI_8554, card_number)) < 0) { - wsprintf(s, "Register_Card Error = %d\n", card); - MessageBox(hWnd, s, "Error", MB_OK); - SendMessage(hWnd, WM_CLOSE, 0, 0L); - break; - } - EndDialog(hWnd, TRUE); - InvalidateRect(hWnd, NULL, FALSE); - return (TRUE); - case IDCANCEL: - EndDialog(hWnd, TRUE); - return (TRUE); - } - break; - } - return (FALSE); -} - -long PASCAL MainWndProc(hWnd, message, wParam, lParam) -HWND hWnd; -UINT message; -WPARAM wParam; -LPARAM lParam; -{ - HDC hDC; - PAINTSTRUCT ps; - - switch(message) { - case WM_CREATE: - DialogBox(hInst,IDD_DIALOG2, hWnd, setup); - if(card<0) { - SendMessage(hWnd, WM_CLOSE, 0, 0L); - break; - } - hStart = CreateWindow("BUTTON","Display event count" , - WS_CHILD | WS_VISIBLE , - 160, 280, 160, 24, hWnd, IDC_START, hInst, NULL); - DIO_SetDualInterrupt (card, INT1_COUT12, INT2_DISABLE, hEvent); - hThread1 = (HANDLE)_beginthread(ProcessInterrupt, 0, 0); - CTR_8554_ClkSrc_Config (card, 1, ECKN); - CTR_Setup (card, 11, 3, 4000, BIN); - CTR_Setup (card, 12, 2, 2000, BIN); - CTR_Setup (card, 1, 2, 65535, BIN); - break; - case WM_PAINT: - hDC = BeginPaint(hWnd, &ps); - SelectObject(hDC, GetStockObject(GRAY_BRUSH)); - Rectangle(hDC, 20, 80, 460, 250); - SetTextColor(hDC,RGB(255,255,0)); - SetBkMode(hDC,TRANSPARENT); - TextOut(hDC, 30, 20, "Connect measured signal to the clock source of the counter #1.", 62); - TextOut(hDC, 30, 36, "It will measure event count every second.", 41); - TextOut(hDC, 30, 100, txtMsg, strlen(txtMsg)); - EndPaint(hWnd, &ps); - break; - case WM_COMMAND: - switch(LOWORD(wParam)) { - case IDM_EXIT: - SendMessage(hWnd, WM_CLOSE, 0, 0L); - break; - case IDC_START: - sprintf(txtMsg, "Event count value is %d", event_count); - InvalidateRect(hWnd, NULL, 0); - break; - default: - return(DefWindowProc(hWnd, message, wParam, lParam)); - } - break; - case WM_DESTROY: - DIO_SetDualInterrupt (card, -1, -1, hEvent); - if (card>=0) Release_Card(card); - PostQuitMessage(0); - break; - default: - return(DefWindowProc(hWnd, message, wParam, lParam)); - } - return(NULL); -} - \ No newline at end of file diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/8554/SdkEventCnt/EventCnt.exe b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/8554/SdkEventCnt/EventCnt.exe deleted file mode 100644 index 7f6fbac..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/8554/SdkEventCnt/EventCnt.exe and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/8554/SdkEventCnt/EventCnt.mak b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/8554/SdkEventCnt/EventCnt.mak deleted file mode 100644 index 0d861f7..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/8554/SdkEventCnt/EventCnt.mak +++ /dev/null @@ -1,219 +0,0 @@ -# Microsoft Developer Studio Generated NMAKE File, Format Version 4.00 -# ** DO NOT EDIT ** - -# TARGTYPE "Win32 (x86) Application" 0x0101 - -!IF "$(CFG)" == "" -CFG=EventCnt - Win32 Debug -!MESSAGE No configuration specified. Defaulting to EventCnt - Win32 Debug. -!ENDIF - -!IF "$(CFG)" != "EventCnt - Win32 Release" && "$(CFG)" !=\ - "EventCnt - Win32 Debug" -!MESSAGE Invalid configuration "$(CFG)" specified. -!MESSAGE You can specify a configuration when running NMAKE on this makefile -!MESSAGE by defining the macro CFG on the command line. For example: -!MESSAGE -!MESSAGE NMAKE /f "EventCnt.mak" CFG="EventCnt - Win32 Debug" -!MESSAGE -!MESSAGE Possible choices for configuration are: -!MESSAGE -!MESSAGE "EventCnt - Win32 Release" (based on "Win32 (x86) Application") -!MESSAGE "EventCnt - Win32 Debug" (based on "Win32 (x86) Application") -!MESSAGE -!ERROR An invalid configuration is specified. -!ENDIF - -!IF "$(OS)" == "Windows_NT" -NULL= -!ELSE -NULL=nul -!ENDIF -################################################################################ -# Begin Project -# PROP Target_Last_Scanned "EventCnt - Win32 Debug" -CPP=cl.exe -RSC=rc.exe -MTL=mktyplib.exe - -!IF "$(CFG)" == "EventCnt - Win32 Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "Release" -# PROP BASE Intermediate_Dir "Release" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "" -# PROP Intermediate_Dir "Release" -# PROP Target_Dir "" -OUTDIR=. -INTDIR=.\Release - -ALL : "$(OUTDIR)\EventCnt.exe" - -CLEAN : - -@erase ".\EventCnt.exe" - -@erase ".\Release\EventCnt.res" - -@erase ".\Release\EventCnt.obj" - -"$(INTDIR)" : - if not exist "$(INTDIR)/$(NULL)" mkdir "$(INTDIR)" - -# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /YX /c -# ADD CPP /nologo /MT /W3 /GX /O2 /I "..\..\..\include" /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /c -# SUBTRACT CPP /YX -CPP_PROJ=/nologo /MT /W3 /GX /O2 /I "..\..\..\include" /D "WIN32" /D "NDEBUG"\ - /D "_WINDOWS" /Fo"$(INTDIR)/" /c -CPP_OBJS=.\Release/ -CPP_SBRS= -# ADD BASE MTL /nologo /D "NDEBUG" /win32 -# ADD MTL /nologo /D "NDEBUG" /win32 -MTL_PROJ=/nologo /D "NDEBUG" /win32 -# ADD BASE RSC /l 0x404 /d "NDEBUG" -# ADD RSC /l 0x404 /d "NDEBUG" -RSC_PROJ=/l 0x404 /fo"$(INTDIR)/EventCnt.res" /d "NDEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -BSC32_FLAGS=/nologo /o"$(OUTDIR)/EventCnt.bsc" -BSC32_SBRS= -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:windows /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ..\..\..\lib\pci-dask.lib /nologo /subsystem:windows /machine:I386 -LINK32_FLAGS=kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib\ - advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib\ - odbccp32.lib ..\..\..\lib\pci-dask.lib /nologo /subsystem:windows\ - /incremental:no /pdb:"$(OUTDIR)/EventCnt.pdb" /machine:I386\ - /out:"$(OUTDIR)/EventCnt.exe" -LINK32_OBJS= \ - "$(INTDIR)/EventCnt.obj" \ - "$(INTDIR)/EventCnt.res" - -"$(OUTDIR)\EventCnt.exe" : "$(OUTDIR)" $(DEF_FILE) $(LINK32_OBJS) - $(LINK32) @<< - $(LINK32_FLAGS) $(LINK32_OBJS) -<< - -!ELSEIF "$(CFG)" == "EventCnt - Win32 Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "Debug" -# PROP BASE Intermediate_Dir "Debug" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "" -# PROP Intermediate_Dir "Debug" -# PROP Target_Dir "" -OUTDIR=. -INTDIR=.\Debug - -ALL : "$(OUTDIR)\EventCnt.exe" - -CLEAN : - -@erase ".\EventCnt.exe" - -@erase ".\Debug\EventCnt.res" - -@erase ".\Debug\EventCnt.obj" - -@erase ".\EventCnt.ilk" - -@erase ".\EventCnt.pdb" - -@erase ".\Debug\vc40.pdb" - -@erase ".\Debug\vc40.idb" - -"$(INTDIR)" : - if not exist "$(INTDIR)/$(NULL)" mkdir "$(INTDIR)" - -# ADD BASE CPP /nologo /W3 /Gm /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /YX /c -# ADD CPP /nologo /MTd /W3 /Gm /GX /Zi /Od /I "..\..\..\include" /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /c -# SUBTRACT CPP /YX -CPP_PROJ=/nologo /MTd /W3 /Gm /GX /Zi /Od /I "..\..\..\include" /D "WIN32" /D\ - "_DEBUG" /D "_WINDOWS" /Fo"$(INTDIR)/" /Fd"$(INTDIR)/" /c -CPP_OBJS=.\Debug/ -CPP_SBRS= -# ADD BASE MTL /nologo /D "_DEBUG" /win32 -# ADD MTL /nologo /D "_DEBUG" /win32 -MTL_PROJ=/nologo /D "_DEBUG" /win32 -# ADD BASE RSC /l 0x404 /d "_DEBUG" -# ADD RSC /l 0x404 /d "_DEBUG" -RSC_PROJ=/l 0x404 /fo"$(INTDIR)/EventCnt.res" /d "_DEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -BSC32_FLAGS=/nologo /o"$(OUTDIR)/EventCnt.bsc" -BSC32_SBRS= -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:windows /debug /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ..\..\..\lib\pci-dask.lib /nologo /subsystem:windows /debug /machine:I386 -LINK32_FLAGS=kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib\ - advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib\ - odbccp32.lib ..\..\..\lib\pci-dask.lib /nologo /subsystem:windows\ - /incremental:yes /pdb:"$(OUTDIR)/EventCnt.pdb" /debug /machine:I386\ - /out:"$(OUTDIR)/EventCnt.exe" -LINK32_OBJS= \ - "$(INTDIR)/EventCnt.obj" \ - "$(INTDIR)/EventCnt.res" - -"$(OUTDIR)\EventCnt.exe" : "$(OUTDIR)" $(DEF_FILE) $(LINK32_OBJS) - $(LINK32) @<< - $(LINK32_FLAGS) $(LINK32_OBJS) -<< - -!ENDIF - -.c{$(CPP_OBJS)}.obj: - $(CPP) $(CPP_PROJ) $< - -.cpp{$(CPP_OBJS)}.obj: - $(CPP) $(CPP_PROJ) $< - -.cxx{$(CPP_OBJS)}.obj: - $(CPP) $(CPP_PROJ) $< - -.c{$(CPP_SBRS)}.sbr: - $(CPP) $(CPP_PROJ) $< - -.cpp{$(CPP_SBRS)}.sbr: - $(CPP) $(CPP_PROJ) $< - -.cxx{$(CPP_SBRS)}.sbr: - $(CPP) $(CPP_PROJ) $< - -################################################################################ -# Begin Target - -# Name "EventCnt - Win32 Release" -# Name "EventCnt - Win32 Debug" - -!IF "$(CFG)" == "EventCnt - Win32 Release" - -!ELSEIF "$(CFG)" == "EventCnt - Win32 Debug" - -!ENDIF - -################################################################################ -# Begin Source File - -SOURCE=.\EventCnt.rc - -"$(INTDIR)\EventCnt.res" : $(SOURCE) "$(INTDIR)" - $(RSC) $(RSC_PROJ) $(SOURCE) - - -# End Source File -################################################################################ -# Begin Source File - -SOURCE=.\EventCnt.c -DEP_CPP_EVENT=\ - ".\..\..\..\include\dask.h"\ - - -"$(INTDIR)\EventCnt.obj" : $(SOURCE) $(DEP_CPP_EVENT) "$(INTDIR)" - - -# End Source File -# End Target -# End Project -################################################################################ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/8554/SdkEventCnt/EventCnt.mdp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/8554/SdkEventCnt/EventCnt.mdp deleted file mode 100644 index 2c8b091..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/8554/SdkEventCnt/EventCnt.mdp and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/8554/SdkEventCnt/EventCnt.rc b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/8554/SdkEventCnt/EventCnt.rc deleted file mode 100644 index c75e674..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/8554/SdkEventCnt/EventCnt.rc +++ /dev/null @@ -1,115 +0,0 @@ -//Microsoft Developer Studio generated resource script. -// -#include "resource.h" - -#define APSTUDIO_READONLY_SYMBOLS -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 2 resource. -// -#define APSTUDIO_HIDDEN_SYMBOLS -#include "windows.h" -#undef APSTUDIO_HIDDEN_SYMBOLS - -///////////////////////////////////////////////////////////////////////////// -#undef APSTUDIO_READONLY_SYMBOLS - -///////////////////////////////////////////////////////////////////////////// -// English (U.S.) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -#ifdef _WIN32 -LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US -#pragma code_page(1252) -#endif //_WIN32 - -#ifdef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// TEXTINCLUDE -// - -1 TEXTINCLUDE DISCARDABLE -BEGIN - "resource.h\0" -END - -2 TEXTINCLUDE DISCARDABLE -BEGIN - "#define APSTUDIO_HIDDEN_SYMBOLS\r\n" - "#include ""windows.h""\r\n" - "#undef APSTUDIO_HIDDEN_SYMBOLS\r\n" - "\0" -END - -3 TEXTINCLUDE DISCARDABLE -BEGIN - "\r\n" - "\0" -END - -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// Menu -// - -U7120MENU MENU DISCARDABLE -BEGIN - MENUITEM "E&xit!", IDM_EXIT -END - - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog -// - -IDD_DIALOG2 DIALOG DISCARDABLE 110, 10, 106, 62 -STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "Setup" -FONT 10, "System" -BEGIN - DEFPUSHBUTTON "OK",IDOK,10,40,37,14 - PUSHBUTTON "Cancel",IDCANCEL,61,40,38,14 - LTEXT "Card Number",IDC_STATIC,3,13,47,13 - COMBOBOX IDC_COMBO1,51,13,48,84,CBS_DROPDOWN | WS_VSCROLL | - WS_TABSTOP -END - - -///////////////////////////////////////////////////////////////////////////// -// -// DESIGNINFO -// - -#ifdef APSTUDIO_INVOKED -GUIDELINES DESIGNINFO DISCARDABLE -BEGIN - IDD_DIALOG2, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 99 - TOPMARGIN, 7 - BOTTOMMARGIN, 55 - END -END -#endif // APSTUDIO_INVOKED - -#endif // English (U.S.) resources -///////////////////////////////////////////////////////////////////////////// - - - -#ifndef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 3 resource. -// - - -///////////////////////////////////////////////////////////////////////////// -#endif // not APSTUDIO_INVOKED - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/8554/SdkEventCnt/Resource.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/8554/SdkEventCnt/Resource.h deleted file mode 100644 index 6d1f144..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/8554/SdkEventCnt/Resource.h +++ /dev/null @@ -1,27 +0,0 @@ -//{{NO_DEPENDENCIES}} -// Microsoft Developer Studio generated include file. -// Used by EventCnt.rc -// -#define IDM_SETUP 101 -#define IDD_DIALOG1 101 -#define IDD_DIALOG2 103 -#define IDM_EXIT 110 -#define ID_STOP 304 -#define DMA_SPACE 500 -#define DMA_DESCP 600 -#define IDC_COMBO2 1001 -#define IDC_COMBO3 1003 -#define IDC_COMBO1 1015 -#define IDC_COMBO4 1016 -#define IDC_STATIC -1 - -// Next default values for new objects -// -#ifdef APSTUDIO_INVOKED -#ifndef APSTUDIO_READONLY_SYMBOLS -#define _APS_NEXT_RESOURCE_VALUE 104 -#define _APS_NEXT_COMMAND_VALUE 102 -#define _APS_NEXT_CONTROL_VALUE 1001 -#define _APS_NEXT_SYMED_VALUE 101 -#endif -#endif diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/8554/Vb8554/8554GLBL.BAS b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/8554/Vb8554/8554GLBL.BAS deleted file mode 100644 index 77a2e7f..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/8554/Vb8554/8554GLBL.BAS +++ /dev/null @@ -1,4 +0,0 @@ -Attribute VB_Name = "Module1" -Global card As Integer -Global card_number As Integer - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/8554/Vb8554/Base8554.frm b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/8554/Vb8554/Base8554.frm deleted file mode 100644 index 5becf31..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/8554/Vb8554/Base8554.frm +++ /dev/null @@ -1,99 +0,0 @@ -VERSION 4.00 -Begin VB.Form SettingForm - Appearance = 0 'Flat - BackColor = &H00C0C0C0& - Caption = "Card Number Setting" - ClientHeight = 1275 - ClientLeft = 4590 - ClientTop = 4545 - ClientWidth = 2820 - BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851} - Name = "MS Sans Serif" - Size = 8.25 - Charset = 0 - Weight = 700 - Underline = 0 'False - Italic = 0 'False - Strikethrough = 0 'False - EndProperty - ForeColor = &H80000008& - Height = 1680 - Left = 4530 - LinkTopic = "Form2" - ScaleHeight = 1275 - ScaleWidth = 2820 - Top = 4200 - Width = 2940 - Begin VB.CommandButton OKBtn - Appearance = 0 'Flat - BackColor = &H80000005& - Caption = "OK" - Default = -1 'True - Height = 315 - Left = 300 - TabIndex = 0 - Top = 720 - Width = 915 - End - Begin VB.CommandButton CancelBtn - Appearance = 0 'Flat - BackColor = &H80000005& - Cancel = -1 'True - Caption = "Cancel" - Height = 315 - Left = 1380 - TabIndex = 3 - Top = 720 - Width = 915 - End - Begin VB.ComboBox CardNum - Appearance = 0 'Flat - Height = 300 - Left = 1440 - Style = 2 'Dropdown List - TabIndex = 2 - Top = 120 - Width = 1035 - End - Begin VB.Label Label2 - Appearance = 0 'Flat - BackColor = &H00C0C0C0& - Caption = "Card Number:" - ForeColor = &H00000000& - Height = 195 - Index = 0 - Left = 180 - TabIndex = 1 - Top = 180 - Width = 1275 - End -End -Attribute VB_Name = "SettingForm" -Attribute VB_Creatable = False -Attribute VB_Exposed = False - - -Private Sub BaseAddr_Change() - -End Sub - - -Private Sub CancelBtn_Click() - Unload SettingForm -End Sub - -Private Sub Form_Load() - Dim i As Long - For i = 0 To 15 Step 1 - CardNum.AddItem i - Next - CardNum.ListIndex = 0 -End Sub - -Private Sub OKBtn_Click() - card = -1 - card_number = CardNum.ListIndex - card = Register_Card(PCI_8554, card_number) - Unload SettingForm -End Sub - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/8554/Vb8554/Pci8554.Vbp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/8554/Vb8554/Pci8554.Vbp deleted file mode 100644 index ab8a052..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/8554/Vb8554/Pci8554.Vbp +++ /dev/null @@ -1,21 +0,0 @@ -Form=frm8554.frm -Module=winapi; winapi.bas -Module=DASK; ..\..\..\Include\Dask.bas -Module=Module1; 8554glbl.bas -Form=Base8554.frm -Reference=*\G{BEF6E001-A874-101A-8BBA-00AA00300CAB}#2.0#0#F:\WINNT\System32\OLEPRO32.DLL#Standard OLE Types -Reference=*\G{EE008642-64A8-11CE-920F-08002B369A33}#1.0#0#F:\WINNT\System32\MSRDO32.DLL#Microsoft Remote Data Object 1.0 -ProjWinSize=41,394,248,215 -ProjWinShow=2 -IconForm="frm8554" -ExeName32="Pci8554.exe" -Name="Project1" -HelpContextID="0" -StartMode=0 -VersionCompatible32="0" -MajorVer=1 -MinorVer=0 -RevisionVer=0 -AutoIncrementVer=0 -ServerSupportFiles=0 -VersionCompanyName="ADCLONE" diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/8554/Vb8554/WINAPI.BAS b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/8554/Vb8554/WINAPI.BAS deleted file mode 100644 index 620d38f..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/8554/Vb8554/WINAPI.BAS +++ /dev/null @@ -1,3 +0,0 @@ -Attribute VB_Name = "winapi" -Declare Sub Sleep Lib "kernel32" (ByVal dwMilliseconds As Long) - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/8554/Vb8554/frm8554.frm b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/8554/Vb8554/frm8554.frm deleted file mode 100644 index 39941ce..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/8554/Vb8554/frm8554.frm +++ /dev/null @@ -1,244 +0,0 @@ -VERSION 4.00 -Begin VB.Form frm8554 - Caption = "PCI-8554" - ClientHeight = 4455 - ClientLeft = 1575 - ClientTop = 1635 - ClientWidth = 5910 - Height = 4860 - Left = 1515 - LinkTopic = "Form1" - ScaleHeight = 4455 - ScaleWidth = 5910 - Top = 1290 - Width = 6030 - Begin VB.CommandButton btnExit - Caption = "Exit" - Height = 375 - Left = 4500 - TabIndex = 5 - Top = 3900 - Width = 855 - End - Begin VB.CommandButton btnStop - Caption = "Stop" - Enabled = 0 'False - Height = 375 - Left = 1680 - TabIndex = 4 - Top = 3900 - Width = 855 - End - Begin VB.CommandButton btnStart - Caption = "Start" - Height = 375 - Left = 540 - TabIndex = 3 - Top = 3900 - Width = 855 - End - Begin VB.Frame fraSet - ForeColor = &H0000FFFF& - Height = 3555 - Left = 180 - TabIndex = 0 - Top = 120 - Width = 5535 - Begin VB.ComboBox cobFun - Height = 315 - Left = 1200 - Style = 2 'Dropdown List - TabIndex = 2 - Top = 300 - Width = 1935 - End - Begin VB.Label txtMsg - BorderStyle = 1 'Fixed Single - ForeColor = &H000000FF& - Height = 2415 - Left = 240 - TabIndex = 7 - Top = 960 - Width = 5055 - End - Begin VB.Label labMsg - Caption = "Message :" - ForeColor = &H00FF0000& - Height = 300 - Left = 240 - TabIndex = 6 - Top = 720 - Width = 975 - End - Begin VB.Label Label2 - Caption = "Function:" - ForeColor = &H00FF0000& - Height = 195 - Left = 240 - TabIndex = 1 - Top = 360 - Width = 975 - End - End -End -Attribute VB_Name = "frm8554" -Attribute VB_Creatable = False -Attribute VB_Exposed = False -Dim card_seq As Integer - - -Private Sub ShowFunction() - Select Case cobFun.ListIndex - Case 0 - txtMsg = "Generate 250 KHz square wave. The clock source of the counter #1 is set to C8M" - Case 1 - txtMsg = "Generate one pulse every hour." + Chr$(13) + Chr$(10) + Chr$(13) + Chr$(10) + "<1> the clock source of the counter #1 is set to C8M" + Chr(13) + Chr(10) + "<2> the clock source of counter #2, #3 is from #1, #2 respectively" - Case 2 - txtMsg = "Measure pulse width." + Chr$(13) + Chr$(10) + Chr$(13) + Chr$(10) + "<1> the clock source of the counter #1 is set to C8M" + Chr$(13) + Chr$(10) + "<2> the signal to be measured is connected to GATE1" - Case 3 - txtMsg = "Measure signal frequency." + Chr$(13) + Chr$(10) + Chr$(13) + Chr$(10) + "<1> Connect the signal to be measured to the clock source of the counter #1 (ECLK1)" + Chr(13) + Chr(10) + "<2> the clock source of the counter #2,#3 is set to C8M, COUT2 respectively" + Chr$(13) + Chr$(10) + "<3> the gate source of the counter #1 set to the inverse of COUT3" + Chr(13) + Chr(10) + "<4> the gate source of the counter #2, #3 set to High" - End Select -End Sub - - -Private Sub btnExit_Click() - End -End Sub - - -Private Sub btnStart_Click() - Dim result As Integer, err As Integer - Dim Mode As Integer - Dim v As Integer - Dim old_value As Long, new_value As Long - Dim Value As Long - Dim period As Single, frequency As Single - - btnStart.Enabled = False - err = 0 - Select Case cobFun.ListIndex - Case 0 'Square Wave - result = CTR_8554_CK1_Config(card, CK1_C8M) - result = CTR_8554_ClkSrc_Config(card, 1, CK1) - result = CTR_8554_ClkSrc_Config(card, 2, CK1) - result = CTR_8554_ClkSrc_Config(card, 3, CK1) - result = CTR_8554_ClkSrc_Config(card, 4, CK1) - result = CTR_8554_ClkSrc_Config(card, 5, CK1) - result = CTR_8554_ClkSrc_Config(card, 6, CK1) - result = CTR_8554_ClkSrc_Config(card, 7, CK1) - result = CTR_8554_ClkSrc_Config(card, 8, CK1) - result = CTR_8554_ClkSrc_Config(card, 9, CK1) - result = CTR_8554_ClkSrc_Config(card, 10, CK1) - result = CTR_Setup(card, 1, 3, 32, BIN) - result = CTR_Setup(card, 2, 3, 32, BIN) - result = CTR_Setup(card, 3, 3, 32, BIN) - result = CTR_Setup(card, 4, 3, 32, BIN) - result = CTR_Setup(card, 5, 3, 32, BIN) - result = CTR_Setup(card, 6, 3, 32, BIN) - result = CTR_Setup(card, 7, 3, 32, BIN) - result = CTR_Setup(card, 8, 3, 32, BIN) - result = CTR_Setup(card, 9, 3, 32, BIN) - result = CTR_Setup(card, 10, 3, 32, BIN) - txtMsg = "*** 250 KHz square wave is ready on the COUT1 ~ 11 ***" - Case 1 'Pluse Generator - result = CTR_8554_CK1_Config(card, CK1_C8M) - result = CTR_8554_ClkSrc_Config(card, 1, CK1) - result = CTR_8554_ClkSrc_Config(card, 2, COUTN_1) - result = CTR_8554_ClkSrc_Config(card, 3, COUTN_1) - result = CTR_Setup(card, 1, 3, 4000, 0) - result = CTR_Setup(card, 2, 3, 2000, 0) - result = CTR_Setup(card, 3, 3, 3600, 0) - txtMsg = " *** A pulse per hour is ready on the COUT3 ***" - Case 2 'Measure Pulse Width - result = CTR_8554_CK1_Config(card, CK1_C8M) - result = CTR_8554_ClkSrc_Config(card, 1, CK1) - result = CTR_Setup(card, 1, 2, 0, BIN) - under_flow = 0 - Call wait_pulse_start - time1 = Timer - result = CTR_Read(card, 1, old_value) - Do - result = CTR_Read(card, 1, new_value) - time2 = Timer - period = time2 - time1 - If (new_value = old_value) Or (period > 5) Then Exit Do - If old_value < new_value Then under_flow = under_flow + 1 - old_value = new_value - Loop While True - If period < 5 Then - pulse_width = (65536 - new_value + under_flow * 65536 + 1) * 0.125 - txtMsg = "*** High level pulse width = " & pulse_width & " micro-second ***" - Else - txtMsg = "*** Measure inappropriate pulse width ***" - End If - Case 3 'Measure Frequency - result = CTR_8554_ClkSrc_Config(card, 1, ECKN) - result = CTR_8554_ClkSrc_Config(card, 2, CK1) - result = CTR_8554_ClkSrc_Config(card, 3, COUTN_1) - result = CTR_Setup(card, 1, 2, 65535, 0) - result = CTR_Setup(card, 2, 2, 4, 0) - result = CTR_Setup(card, 3, 0, 65535, 0) - Call Sleep(1000) - result = CTR_Read(card, 1, Value) - period = 65535 - Value - frequency = period * 2000000 / 65535 - txtMsg = "*** Measured Signal Frequency = " & frequency & "Hz ***" - End Select - btnStop.Enabled = True -End Sub - -Private Sub btnStop_Click() - btnStart.Enabled = True - btnStop.Enabled = False - ShowFunction -End Sub - - -Private Sub cobFun_Click() - ShowFunction -End Sub - - -Private Sub Form_Load() - Dim result As Integer - - SettingForm.Show 1 - If card < 0 Then - MsgBox "PCI-8554 Register_Card Error" - End - End If - cobFun.AddItem "Square Wave" - cobFun.AddItem "Pluse Generator" - cobFun.AddItem "Measure Pulse Width" - cobFun.AddItem "Measure Frequency" - - cobFun.ListIndex = 0 - -End Sub - - - -Public Sub wait_pulse_start() - Dim result As Integer - Dim old_value As Long, new_value As Long - Dim Mode As Integer - - Do - result = CTR_Read(card, 1, old_value) - result = CTR_Read(card, 1, new_value) - Loop While new_value <> old_value - Do - result = CTR_Read(card, 1, old_value) - result = CTR_Read(card, 1, new_value) - Loop While new_value = old_value -End Sub - -Private Sub Form_Unload(Cancel As Integer) - Dim result As Integer - If card >= 0 Then - result = Release_Card(card) - End If - End -End Sub - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9111/C9111DbfFile/9111DBF.EXE b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9111/C9111DbfFile/9111DBF.EXE deleted file mode 100644 index ec0e671..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9111/C9111DbfFile/9111DBF.EXE and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9111/C9111DbfFile/9111DBF.mak b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9111/C9111DbfFile/9111DBF.mak deleted file mode 100644 index 210b8a1..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9111/C9111DbfFile/9111DBF.mak +++ /dev/null @@ -1,196 +0,0 @@ -# Microsoft Developer Studio Generated NMAKE File, Format Version 4.00 -# ** DO NOT EDIT ** - -# TARGTYPE "Win32 (x86) Console Application" 0x0103 - -!IF "$(CFG)" == "" -CFG=9111DBF - Win32 Debug -!MESSAGE No configuration specified. Defaulting to 9111DBF - Win32 Debug. -!ENDIF - -!IF "$(CFG)" != "9111DBF - Win32 Release" && "$(CFG)" !=\ - "9111DBF - Win32 Debug" -!MESSAGE Invalid configuration "$(CFG)" specified. -!MESSAGE You can specify a configuration when running NMAKE on this makefile -!MESSAGE by defining the macro CFG on the command line. For example: -!MESSAGE -!MESSAGE NMAKE /f "9111DBF.mak" CFG="9111DBF - Win32 Debug" -!MESSAGE -!MESSAGE Possible choices for configuration are: -!MESSAGE -!MESSAGE "9111DBF - Win32 Release" (based on "Win32 (x86) Console Application") -!MESSAGE "9111DBF - Win32 Debug" (based on "Win32 (x86) Console Application") -!MESSAGE -!ERROR An invalid configuration is specified. -!ENDIF - -!IF "$(OS)" == "Windows_NT" -NULL= -!ELSE -NULL=nul -!ENDIF -################################################################################ -# Begin Project -# PROP Target_Last_Scanned "9111DBF - Win32 Debug" -RSC=rc.exe -CPP=cl.exe - -!IF "$(CFG)" == "9111DBF - Win32 Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "9111DBF_" -# PROP BASE Intermediate_Dir "9111DBF_" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "" -# PROP Intermediate_Dir "Release" -# PROP Target_Dir "" -OUTDIR=. -INTDIR=.\Release - -ALL : "$(OUTDIR)\9111DBF.exe" - -CLEAN : - -@erase ".\9111DBF.exe" - -@erase ".\Release\9111DbF.obj" - -"$(INTDIR)" : - if not exist "$(INTDIR)/$(NULL)" mkdir "$(INTDIR)" - -# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /YX /c -# ADD CPP /nologo /W3 /GX /O2 /I "..\..\..\include" /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /c -# SUBTRACT CPP /YX -CPP_PROJ=/nologo /ML /W3 /GX /O2 /I "..\..\..\include" /D "WIN32" /D "NDEBUG"\ - /D "_CONSOLE" /Fo"$(INTDIR)/" /c -CPP_OBJS=.\Release/ -CPP_SBRS= -# ADD BASE RSC /l 0x404 /d "NDEBUG" -# ADD RSC /l 0x404 /d "NDEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -BSC32_FLAGS=/nologo /o"$(OUTDIR)/9111DBF.bsc" -BSC32_SBRS= -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ..\..\..\lib\pci-dask.lib /nologo /subsystem:console /machine:I386 -LINK32_FLAGS=kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib\ - advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib\ - odbccp32.lib ..\..\..\lib\pci-dask.lib /nologo /subsystem:console\ - /incremental:no /pdb:"$(OUTDIR)/9111DBF.pdb" /machine:I386\ - /out:"$(OUTDIR)/9111DBF.exe" -LINK32_OBJS= \ - ".\Release\9111DbF.obj" - -"$(OUTDIR)\9111DBF.exe" : "$(OUTDIR)" $(DEF_FILE) $(LINK32_OBJS) - $(LINK32) @<< - $(LINK32_FLAGS) $(LINK32_OBJS) -<< - -!ELSEIF "$(CFG)" == "9111DBF - Win32 Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "Debug" -# PROP BASE Intermediate_Dir "Debug" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "" -# PROP Intermediate_Dir "Debug" -# PROP Target_Dir "" -OUTDIR=. -INTDIR=.\Debug - -ALL : "$(OUTDIR)\9111DBF.exe" - -CLEAN : - -@erase ".\Debug\vc40.pdb" - -@erase ".\Debug\vc40.idb" - -@erase ".\9111DBF.exe" - -@erase ".\Debug\9111DbF.obj" - -@erase ".\9111DBF.ilk" - -@erase ".\9111DBF.pdb" - -"$(INTDIR)" : - if not exist "$(INTDIR)/$(NULL)" mkdir "$(INTDIR)" - -# ADD BASE CPP /nologo /W3 /Gm /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /YX /c -# ADD CPP /nologo /W3 /Gm /GX /Zi /Od /I "..\..\..\include" /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /c -# SUBTRACT CPP /YX -CPP_PROJ=/nologo /MLd /W3 /Gm /GX /Zi /Od /I "..\..\..\include" /D "WIN32" /D\ - "_DEBUG" /D "_CONSOLE" /Fo"$(INTDIR)/" /Fd"$(INTDIR)/" /c -CPP_OBJS=.\Debug/ -CPP_SBRS= -# ADD BASE RSC /l 0x404 /d "_DEBUG" -# ADD RSC /l 0x404 /d "_DEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -BSC32_FLAGS=/nologo /o"$(OUTDIR)/9111DBF.bsc" -BSC32_SBRS= -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /debug /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ..\..\..\lib\pci-dask.lib /nologo /subsystem:console /debug /machine:I386 -LINK32_FLAGS=kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib\ - advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib\ - odbccp32.lib ..\..\..\lib\pci-dask.lib /nologo /subsystem:console\ - /incremental:yes /pdb:"$(OUTDIR)/9111DBF.pdb" /debug /machine:I386\ - /out:"$(OUTDIR)/9111DBF.exe" -LINK32_OBJS= \ - ".\Debug\9111DbF.obj" - -"$(OUTDIR)\9111DBF.exe" : "$(OUTDIR)" $(DEF_FILE) $(LINK32_OBJS) - $(LINK32) @<< - $(LINK32_FLAGS) $(LINK32_OBJS) -<< - -!ENDIF - -.c{$(CPP_OBJS)}.obj: - $(CPP) $(CPP_PROJ) $< - -.cpp{$(CPP_OBJS)}.obj: - $(CPP) $(CPP_PROJ) $< - -.cxx{$(CPP_OBJS)}.obj: - $(CPP) $(CPP_PROJ) $< - -.c{$(CPP_SBRS)}.sbr: - $(CPP) $(CPP_PROJ) $< - -.cpp{$(CPP_SBRS)}.sbr: - $(CPP) $(CPP_PROJ) $< - -.cxx{$(CPP_SBRS)}.sbr: - $(CPP) $(CPP_PROJ) $< - -################################################################################ -# Begin Target - -# Name "9111DBF - Win32 Release" -# Name "9111DBF - Win32 Debug" - -!IF "$(CFG)" == "9111DBF - Win32 Release" - -!ELSEIF "$(CFG)" == "9111DBF - Win32 Debug" - -!ENDIF - -################################################################################ -# Begin Source File - -SOURCE=.\9111DbF.c -DEP_CPP_9111D=\ - ".\..\..\..\include\dask.h"\ - - -"$(INTDIR)\9111DbF.obj" : $(SOURCE) $(DEP_CPP_9111D) "$(INTDIR)" - - -# End Source File -# End Target -# End Project -################################################################################ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9111/C9111DbfFile/9111DBF.mdp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9111/C9111DbfFile/9111DBF.mdp deleted file mode 100644 index 39f2b3a..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9111/C9111DbfFile/9111DBF.mdp and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9111/C9111DbfFile/9111DbF.c b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9111/C9111DbfFile/9111DbF.c deleted file mode 100644 index e356dd1..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9111/C9111DbfFile/9111DbF.c +++ /dev/null @@ -1,58 +0,0 @@ -#include -#include -#include -#include "dask.h" - -U16 channel=3; //4 channels -U16 range=AD_B_5_V; -char *file_name="9111d"; -U32 read_count=2048; -F64 sample_rate=2000; - -main() -{ - I16 card, err, card_num; - BOOLEAN halfReady, fStop; - U32 count=0, count1; - - printf("This program inputs data from CH-0 to CH-%d of PCI-9111 in %d Hz by\ndouble-buffer mode, and store data to file '%s.dat'. The size of circular\nbuffer is %d. It will not stop until you press a key.\n\nPress any key to start the operation.\n", - channel, (int)sample_rate, file_name,read_count); - printf("Please input a card number: "); - scanf(" %d", &card_num); - //getch(); - if ((card=Register_Card (PCI_9111DG, card_num)) <0 ) { - printf("Register_Card error=%d", card); - exit(1); - } - - err = AI_9111_Config(card, TRIG_INT_PACER, 0, 1024); - if (err!=0) { - printf("AI_9111_Config error=%d", err); - exit(1); - } - err = AI_AsyncDblBufferMode(card, 1); //double-buffer mode - if (err!=0) { - printf("AI_DblBufferMode error=%d", err); - exit(1); - } - err = AI_ContScanChannelsToFile(card, channel, range, file_name, read_count, sample_rate, ASYNCH_OP); - if (err!=0) { - printf("AI_ContReadChannel error=%d", err); - exit(1); - } - printf("\nPress any key to stop input operation."); - printf("\n\nData count : \n"); - do { - do { - AI_AsyncDblBufferHalfReady(card, &halfReady, &fStop); - } while (!halfReady); - AI_AsyncDblBufferTransfer(card, NULL); //transfer to file - count += (read_count / 2); - printf("%d\r", count); - } while(!kbhit()); - AI_AsyncClear(card, &count1); - Release_Card(card); - printf("\n\n%d input data are stored in file '%s.dat'.\n", count, file_name); - printf("\nPress ENTER to exit the program. "); getch(); -} - \ No newline at end of file diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9111/C9111File/9111FILE.C b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9111/C9111File/9111FILE.C deleted file mode 100644 index 0a52586..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9111/C9111File/9111FILE.C +++ /dev/null @@ -1,44 +0,0 @@ -#include -#include -#include -#include "dask.h" - -U16 channel=3; //4 channels -U16 range=AD_B_5_V; -char *file_name="9111d"; -BOOLEAN concat=FALSE; -U32 read_count=1024; -F64 sample_rate=10000; - -main() -{ - I16 card, err, card_num; - - printf("This program inputs %d data from CH-0 to CH-%d of PCI-9111 in %d Hz, and\nstore data to file '%s.dat'.\nPlease press any key to start the operation.\n", read_count, channel, (int)sample_rate, file_name); - printf("Please input a card number: "); - scanf(" %d", &card_num); - //getch(); - if ((card=Register_Card (PCI_9111DG, card_num)) <0 ) { - printf("Register_Card error=%d", card); - exit(1); - } - err = AI_9111_Config(card, TRIG_INT_PACER, 0, 1024); - if (err!=0) { - printf("AI_9111_Config error=%d", err); - exit(1); - } - err = AI_AsyncDblBufferMode(card, 0); - if (err!=0) { - printf("AI_DblBufferMode error=%d", err); - exit(1); - } - err = AI_ContScanChannelsToFile(card, channel, range, file_name, read_count, sample_rate, SYNCH_OP); - if (err!=0) { - printf("AI_ContReadChannel error=%d", err); - exit(1); - } - Release_Card(card); - printf("\n\nThe input data is already stored in file '%s.dat'.\n", file_name); - printf("\nPress ENTER to exit the program. "); getch(); -} - \ No newline at end of file diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9111/C9111File/9111file.exe b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9111/C9111File/9111file.exe deleted file mode 100644 index 51b0c4d..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9111/C9111File/9111file.exe and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9111/C9111File/9111file.mak b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9111/C9111File/9111file.mak deleted file mode 100644 index 56941a5..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9111/C9111File/9111file.mak +++ /dev/null @@ -1,197 +0,0 @@ -# Microsoft Developer Studio Generated NMAKE File, Format Version 4.00 -# ** DO NOT EDIT ** - -# TARGTYPE "Win32 (x86) Console Application" 0x0103 - -!IF "$(CFG)" == "" -CFG=9111file - Win32 Debug -!MESSAGE No configuration specified. Defaulting to 9111file - Win32 Debug. -!ENDIF - -!IF "$(CFG)" != "9111file - Win32 Release" && "$(CFG)" !=\ - "9111file - Win32 Debug" -!MESSAGE Invalid configuration "$(CFG)" specified. -!MESSAGE You can specify a configuration when running NMAKE on this makefile -!MESSAGE by defining the macro CFG on the command line. For example: -!MESSAGE -!MESSAGE NMAKE /f "9111file.mak" CFG="9111file - Win32 Debug" -!MESSAGE -!MESSAGE Possible choices for configuration are: -!MESSAGE -!MESSAGE "9111file - Win32 Release" (based on\ - "Win32 (x86) Console Application") -!MESSAGE "9111file - Win32 Debug" (based on "Win32 (x86) Console Application") -!MESSAGE -!ERROR An invalid configuration is specified. -!ENDIF - -!IF "$(OS)" == "Windows_NT" -NULL= -!ELSE -NULL=nul -!ENDIF -################################################################################ -# Begin Project -# PROP Target_Last_Scanned "9111file - Win32 Debug" -RSC=rc.exe -CPP=cl.exe - -!IF "$(CFG)" == "9111file - Win32 Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "Release" -# PROP BASE Intermediate_Dir "Release" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "" -# PROP Intermediate_Dir "Release" -# PROP Target_Dir "" -OUTDIR=. -INTDIR=.\Release - -ALL : "$(OUTDIR)\9111file.exe" - -CLEAN : - -@erase ".\9111file.exe" - -@erase ".\Release\9111file.obj" - -"$(INTDIR)" : - if not exist "$(INTDIR)/$(NULL)" mkdir "$(INTDIR)" - -# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /YX /c -# ADD CPP /nologo /W3 /GX /Od /I "..\..\..\include" /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /c -# SUBTRACT CPP /YX -CPP_PROJ=/nologo /ML /W3 /GX /Od /I "..\..\..\include" /D "WIN32" /D "NDEBUG"\ - /D "_CONSOLE" /Fo"$(INTDIR)/" /c -CPP_OBJS=.\Release/ -CPP_SBRS= -# ADD BASE RSC /l 0x404 /d "NDEBUG" -# ADD RSC /l 0x404 /d "NDEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -BSC32_FLAGS=/nologo /o"$(OUTDIR)/9111file.bsc" -BSC32_SBRS= -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ..\..\..\lib\pci-dask.lib /nologo /subsystem:console /machine:I386 -LINK32_FLAGS=kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib\ - advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib\ - odbccp32.lib ..\..\..\lib\pci-dask.lib /nologo /subsystem:console\ - /incremental:no /pdb:"$(OUTDIR)/9111file.pdb" /machine:I386\ - /out:"$(OUTDIR)/9111file.exe" -LINK32_OBJS= \ - ".\Release\9111file.obj" - -"$(OUTDIR)\9111file.exe" : "$(OUTDIR)" $(DEF_FILE) $(LINK32_OBJS) - $(LINK32) @<< - $(LINK32_FLAGS) $(LINK32_OBJS) -<< - -!ELSEIF "$(CFG)" == "9111file - Win32 Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "Debug" -# PROP BASE Intermediate_Dir "Debug" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "" -# PROP Intermediate_Dir "Debug" -# PROP Target_Dir "" -OUTDIR=. -INTDIR=.\Debug - -ALL : "$(OUTDIR)\9111file.exe" - -CLEAN : - -@erase ".\Debug\vc40.pdb" - -@erase ".\Debug\vc40.idb" - -@erase ".\9111file.exe" - -@erase ".\Debug\9111file.obj" - -@erase ".\9111file.ilk" - -@erase ".\9111file.pdb" - -"$(INTDIR)" : - if not exist "$(INTDIR)/$(NULL)" mkdir "$(INTDIR)" - -# ADD BASE CPP /nologo /W3 /Gm /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /YX /c -# ADD CPP /nologo /W3 /Gm /GX /Zi /Od /I "..\..\..\include" /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /c -# SUBTRACT CPP /YX -CPP_PROJ=/nologo /MLd /W3 /Gm /GX /Zi /Od /I "..\..\..\include" /D "WIN32" /D\ - "_DEBUG" /D "_CONSOLE" /Fo"$(INTDIR)/" /Fd"$(INTDIR)/" /c -CPP_OBJS=.\Debug/ -CPP_SBRS= -# ADD BASE RSC /l 0x404 /d "_DEBUG" -# ADD RSC /l 0x404 /d "_DEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -BSC32_FLAGS=/nologo /o"$(OUTDIR)/9111file.bsc" -BSC32_SBRS= -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /debug /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ..\..\..\lib\pci-dask.lib /nologo /subsystem:console /debug /machine:I386 -LINK32_FLAGS=kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib\ - advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib\ - odbccp32.lib ..\..\..\lib\pci-dask.lib /nologo /subsystem:console\ - /incremental:yes /pdb:"$(OUTDIR)/9111file.pdb" /debug /machine:I386\ - /out:"$(OUTDIR)/9111file.exe" -LINK32_OBJS= \ - ".\Debug\9111file.obj" - -"$(OUTDIR)\9111file.exe" : "$(OUTDIR)" $(DEF_FILE) $(LINK32_OBJS) - $(LINK32) @<< - $(LINK32_FLAGS) $(LINK32_OBJS) -<< - -!ENDIF - -.c{$(CPP_OBJS)}.obj: - $(CPP) $(CPP_PROJ) $< - -.cpp{$(CPP_OBJS)}.obj: - $(CPP) $(CPP_PROJ) $< - -.cxx{$(CPP_OBJS)}.obj: - $(CPP) $(CPP_PROJ) $< - -.c{$(CPP_SBRS)}.sbr: - $(CPP) $(CPP_PROJ) $< - -.cpp{$(CPP_SBRS)}.sbr: - $(CPP) $(CPP_PROJ) $< - -.cxx{$(CPP_SBRS)}.sbr: - $(CPP) $(CPP_PROJ) $< - -################################################################################ -# Begin Target - -# Name "9111file - Win32 Release" -# Name "9111file - Win32 Debug" - -!IF "$(CFG)" == "9111file - Win32 Release" - -!ELSEIF "$(CFG)" == "9111file - Win32 Debug" - -!ENDIF - -################################################################################ -# Begin Source File - -SOURCE=.\9111file.c -DEP_CPP_9111F=\ - ".\..\..\..\include\dask.h"\ - - -"$(INTDIR)\9111file.obj" : $(SOURCE) $(DEP_CPP_9111F) "$(INTDIR)" - - -# End Source File -# End Target -# End Project -################################################################################ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9111/C9111File/9111file.mdp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9111/C9111File/9111file.mdp deleted file mode 100644 index 8e17add..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9111/C9111File/9111file.mdp and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9111/SDK9111/UTIL9111.EXE b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9111/SDK9111/UTIL9111.EXE deleted file mode 100644 index 2678a73..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9111/SDK9111/UTIL9111.EXE and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9111/SDK9111/UTIL9111.MAK b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9111/SDK9111/UTIL9111.MAK deleted file mode 100644 index f1ef3eb..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9111/SDK9111/UTIL9111.MAK +++ /dev/null @@ -1,219 +0,0 @@ -# Microsoft Developer Studio Generated NMAKE File, Format Version 4.00 -# ** DO NOT EDIT ** - -# TARGTYPE "Win32 (x86) Application" 0x0101 - -!IF "$(CFG)" == "" -CFG=util9111 - Win32 Debug -!MESSAGE No configuration specified. Defaulting to util9111 - Win32 Debug. -!ENDIF - -!IF "$(CFG)" != "util9111 - Win32 Release" && "$(CFG)" !=\ - "util9111 - Win32 Debug" -!MESSAGE Invalid configuration "$(CFG)" specified. -!MESSAGE You can specify a configuration when running NMAKE on this makefile -!MESSAGE by defining the macro CFG on the command line. For example: -!MESSAGE -!MESSAGE NMAKE /f "util9111.mak" CFG="util9111 - Win32 Debug" -!MESSAGE -!MESSAGE Possible choices for configuration are: -!MESSAGE -!MESSAGE "util9111 - Win32 Release" (based on "Win32 (x86) Application") -!MESSAGE "util9111 - Win32 Debug" (based on "Win32 (x86) Application") -!MESSAGE -!ERROR An invalid configuration is specified. -!ENDIF - -!IF "$(OS)" == "Windows_NT" -NULL= -!ELSE -NULL=nul -!ENDIF -################################################################################ -# Begin Project -# PROP Target_Last_Scanned "util9111 - Win32 Debug" -CPP=cl.exe -RSC=rc.exe -MTL=mktyplib.exe - -!IF "$(CFG)" == "util9111 - Win32 Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "Release" -# PROP BASE Intermediate_Dir "Release" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "" -# PROP Intermediate_Dir "Release" -# PROP Target_Dir "" -OUTDIR=. -INTDIR=.\Release - -ALL : "$(OUTDIR)\util9111.exe" - -CLEAN : - -@erase ".\util9111.exe" - -@erase ".\Release\Util9111.obj" - -@erase ".\Release\Util9111.res" - -"$(INTDIR)" : - if not exist "$(INTDIR)/$(NULL)" mkdir "$(INTDIR)" - -# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /YX /c -# ADD CPP /nologo /W3 /GX /Od /I "..\..\..\include" /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /c -# SUBTRACT CPP /YX -CPP_PROJ=/nologo /ML /W3 /GX /Od /I "..\..\..\include" /D "WIN32" /D "NDEBUG"\ - /D "_WINDOWS" /Fo"$(INTDIR)/" /c -CPP_OBJS=.\Release/ -CPP_SBRS= -# ADD BASE MTL /nologo /D "NDEBUG" /win32 -# ADD MTL /nologo /D "NDEBUG" /win32 -MTL_PROJ=/nologo /D "NDEBUG" /win32 -# ADD BASE RSC /l 0x409 /d "NDEBUG" -# ADD RSC /l 0x409 /d "NDEBUG" -RSC_PROJ=/l 0x409 /fo"$(INTDIR)/Util9111.res" /d "NDEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -BSC32_FLAGS=/nologo /o"$(OUTDIR)/util9111.bsc" -BSC32_SBRS= -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:windows /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ..\..\..\lib\pci-dask.lib /nologo /subsystem:windows /machine:I386 -LINK32_FLAGS=kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib\ - advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib\ - odbccp32.lib ..\..\..\lib\pci-dask.lib /nologo /subsystem:windows\ - /incremental:no /pdb:"$(OUTDIR)/util9111.pdb" /machine:I386\ - /out:"$(OUTDIR)/util9111.exe" -LINK32_OBJS= \ - ".\Release\Util9111.obj" \ - ".\Release\Util9111.res" - -"$(OUTDIR)\util9111.exe" : "$(OUTDIR)" $(DEF_FILE) $(LINK32_OBJS) - $(LINK32) @<< - $(LINK32_FLAGS) $(LINK32_OBJS) -<< - -!ELSEIF "$(CFG)" == "util9111 - Win32 Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "Debug" -# PROP BASE Intermediate_Dir "Debug" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "Debug" -# PROP Intermediate_Dir "Debug" -# PROP Target_Dir "" -OUTDIR=.\Debug -INTDIR=.\Debug - -ALL : "$(OUTDIR)\util9111.exe" - -CLEAN : - -@erase ".\Debug\vc40.pdb" - -@erase ".\Debug\vc40.idb" - -@erase ".\Debug\util9111.exe" - -@erase ".\Debug\Util9111.obj" - -@erase ".\Debug\Util9111.res" - -@erase ".\Debug\util9111.ilk" - -@erase ".\Debug\util9111.pdb" - -"$(OUTDIR)" : - if not exist "$(OUTDIR)/$(NULL)" mkdir "$(OUTDIR)" - -# ADD BASE CPP /nologo /W3 /Gm /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /YX /c -# ADD CPP /nologo /W3 /Gm /GX /Zi /Od /I "..\..\..\include" /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /c -# SUBTRACT CPP /YX -CPP_PROJ=/nologo /MLd /W3 /Gm /GX /Zi /Od /I "..\..\..\include" /D "WIN32" /D\ - "_DEBUG" /D "_WINDOWS" /Fo"$(INTDIR)/" /Fd"$(INTDIR)/" /c -CPP_OBJS=.\Debug/ -CPP_SBRS= -# ADD BASE MTL /nologo /D "_DEBUG" /win32 -# ADD MTL /nologo /D "_DEBUG" /win32 -MTL_PROJ=/nologo /D "_DEBUG" /win32 -# ADD BASE RSC /l 0x409 /d "_DEBUG" -# ADD RSC /l 0x409 /d "_DEBUG" -RSC_PROJ=/l 0x409 /fo"$(INTDIR)/Util9111.res" /d "_DEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -BSC32_FLAGS=/nologo /o"$(OUTDIR)/util9111.bsc" -BSC32_SBRS= -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:windows /debug /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ..\..\..\lib\pci-dask.lib /nologo /subsystem:windows /debug /machine:I386 -LINK32_FLAGS=kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib\ - advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib\ - odbccp32.lib ..\..\..\lib\pci-dask.lib /nologo /subsystem:windows\ - /incremental:yes /pdb:"$(OUTDIR)/util9111.pdb" /debug /machine:I386\ - /out:"$(OUTDIR)/util9111.exe" -LINK32_OBJS= \ - ".\Debug\Util9111.obj" \ - ".\Debug\Util9111.res" - -"$(OUTDIR)\util9111.exe" : "$(OUTDIR)" $(DEF_FILE) $(LINK32_OBJS) - $(LINK32) @<< - $(LINK32_FLAGS) $(LINK32_OBJS) -<< - -!ENDIF - -.c{$(CPP_OBJS)}.obj: - $(CPP) $(CPP_PROJ) $< - -.cpp{$(CPP_OBJS)}.obj: - $(CPP) $(CPP_PROJ) $< - -.cxx{$(CPP_OBJS)}.obj: - $(CPP) $(CPP_PROJ) $< - -.c{$(CPP_SBRS)}.sbr: - $(CPP) $(CPP_PROJ) $< - -.cpp{$(CPP_SBRS)}.sbr: - $(CPP) $(CPP_PROJ) $< - -.cxx{$(CPP_SBRS)}.sbr: - $(CPP) $(CPP_PROJ) $< - -################################################################################ -# Begin Target - -# Name "util9111 - Win32 Release" -# Name "util9111 - Win32 Debug" - -!IF "$(CFG)" == "util9111 - Win32 Release" - -!ELSEIF "$(CFG)" == "util9111 - Win32 Debug" - -!ENDIF - -################################################################################ -# Begin Source File - -SOURCE=.\Util9111.rc - -"$(INTDIR)\Util9111.res" : $(SOURCE) "$(INTDIR)" - $(RSC) $(RSC_PROJ) $(SOURCE) - - -# End Source File -################################################################################ -# Begin Source File - -SOURCE=.\Util9111.c -DEP_CPP_UTIL9=\ - ".\..\..\..\include\dask.h"\ - - -"$(INTDIR)\Util9111.obj" : $(SOURCE) $(DEP_CPP_UTIL9) "$(INTDIR)" - - -# End Source File -# End Target -# End Project -################################################################################ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9111/SDK9111/Util9111.c b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9111/SDK9111/Util9111.c deleted file mode 100644 index 3463626..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9111/SDK9111/Util9111.c +++ /dev/null @@ -1,742 +0,0 @@ -#include -#include -#include -#include -#include -#include -#include "dask.h" -#include "resource.h" - -#define IDM_EXIT 110 -#define IDM_SETUP 101 -#define IDC_SCROLL 207 -#define IDC_SPIN 301 -#define IDC_START 208 -#define IDC_STOP 209 -#define IDC_PAUSE 210 -#define IDC_EDIT 211 -#define IDC_GAIN 212 -#define IDC_DA 400 -#define TIMER1 1 -#define NONE 0 - -int PASCAL WinMain(HANDLE, HANDLE, LPSTR, int); -long PASCAL MainWndProc(HWND, UINT, WPARAM, LPARAM); - -HANDLE hInst; -HWND hAddrComboBox; -HWND hCardComboBox; -HWND hADScroll; -HWND hEdit; -HWND MainhWnd; - -I16 card=-1, card_number = 0; -I16 input=0, output=0; -I16 oldinput=0,analog_input[16],adinput[16],old_adinput1[16],old_adinput2[16]; -U8 input_lo=0, input_hi=0; -int Card_Type=PCI_9111DG; -I16 card_value[2] = {PCI_9111DG, PCI_9111HR}; -LPSTR Card_Name[2]={"PCI9111DG", "PCI9111HR"}; - -LPSTR AD_Range[5]={"+/-10V","+/-5V","+/-2.5V","+/-1.25V","+/-0.625V"}; -I16 range_value[5] = {AD_B_10_V, AD_B_5_V, AD_B_2_5_V, AD_B_1_25_V, AD_B_0_625_V}; - -HBRUSH hLTGreenBrush,hGreenBrush,hBlueBrush,hYellowBrush,hRedBrush,hBlackBrush,hWhiteBrush,hLTRedBrush,hLTBlueBrush; -HPEN hRedPen,hYellowPen,hGreenPen,hBluePen,hLTBluePen,hLTRedPen,hLTGreenPen,hWhitePen; - -I16 sample_rate=10, time_interval, range=AD_B_5_V; - -POINT input_pos[16]= {{470, 280}, {440, 280}, - {410, 280}, {380, 280}, - {350, 280}, {320, 280}, - { 290, 280}, {260, 280}, - {230, 280}, {200, 280}, - {170, 280}, {140, 280}, - {110, 280}, {80, 280}, - { 50, 280}, { 20, 280}, - }; -POINT output_pos[16] ={ - {470, 340}, {440, 340}, - {410, 340}, {380, 340}, - {350, 340}, {320, 340}, - { 290, 340}, {260, 340}, - {230, 340}, {200, 340}, - {170, 340}, {140, 340}, - {110, 340}, {80, 340}, - { 50, 340}, { 20, 340}, - }; - -POINT io_pos[16] ={ - {395, 40}, {370, 40}, - {345, 40}, {320, 40}, - {295, 40}, {270, 40}, - { 245, 40}, {220, 40}, - {195, 40}, {170, 40}, - {145, 40}, {120, 40}, - {95, 40}, {70, 40}, - { 45, 40}, { 20, 40}, - }; - -BOOL bCheck1[8],bCheck2[8],bStart=FALSE,bStop=FALSE,bPause=FALSE; -BOOL InitApplication(HANDLE); -BOOL InitInstance(HANDLE, int); - -int PASCAL WinMain(hInstance, hPrevInstance, lpCmdLine, nCmdShow) -HANDLE hInstance, hPrevInstance; -LPSTR lpCmdLine; -int nCmdShow; -{ - MSG msg; - - if (!hPrevInstance) - if (!InitApplication(hInstance)) return(FALSE); - if (!InitInstance(hInstance, nCmdShow)) return(FALSE); - while (GetMessage(&msg, NULL, NULL, NULL)) { - TranslateMessage(&msg); - DispatchMessage(&msg); - } - return(msg.wParam); -} - -BOOL InitApplication(hInstance) -HANDLE hInstance; -{ - WNDCLASS wc; - - /* Main Window Class */ - wc.style = NULL; - wc.lpfnWndProc = (WNDPROC)MainWndProc; - wc.cbClsExtra = 0; - wc.cbWndExtra = 0; - wc.hInstance = hInstance; - wc.hIcon = LoadIcon(hInstance, "MyIcon"); - wc.hCursor = LoadCursor(NULL, IDC_ARROW); - wc.hbrBackground = GetStockObject(LTGRAY_BRUSH); - wc.lpszMenuName = NULL; - wc.lpszClassName = "GenericWClass"; - if (!RegisterClass(&wc)) return(FALSE); -} - - -BOOL InitInstance(hInstance, nCmdShow) -HANDLE hInstance; -int nCmdShow; -{ - HWND hWnd; - HMENU hSampleMenu; - - hInst = hInstance; - hSampleMenu = LoadMenu(hInstance, "U7120Menu"); - hWnd = CreateWindow("GenericWClass", - (LPCSTR)"PCI-9111", - WS_OVERLAPPEDWINDOW, - CW_USEDEFAULT, - CW_USEDEFAULT, - 530, - 480, - NULL, - hSampleMenu, - hInstance, - NULL); - MainhWnd=hWnd; - if (!hWnd) return(FALSE); - ShowWindow(hWnd, nCmdShow); - UpdateWindow(hWnd); - return(TRUE); -} - -BOOL PASCAL setup(HWND hWnd, unsigned message, WPARAM wParam, LPARAM lParam) -{ - int i,k; - char n[16]; - char s[50]; - switch (message) { - case WM_INITDIALOG: - for (i=0;i<2;i++) { - SendMessage(GetDlgItem(hWnd,IDC_COMBO1), CB_ADDSTRING, NULL, (LONG)Card_Name[i]); - } - SendMessage(GetDlgItem(hWnd,IDC_COMBO1) , CB_SETCURSEL, 0, 0L); - for (i=0;i<16;i++) { - wsprintf(n, "%d", i); - _strupr(n); - SendMessage(GetDlgItem(hWnd,IDC_COMBO2), CB_ADDSTRING, NULL, (LONG)(LPSTR) n); - } - SendMessage(GetDlgItem(hWnd,IDC_COMBO2) , CB_SETCURSEL, 0, 0L); - break; - case WM_COMMAND: - switch(LOWORD(wParam)) { - - case IDC_COMBO1: - if (HIWORD(wParam) == CBN_CLOSEUP) { - i = (int)SendMessage(GetDlgItem(hWnd,IDC_COMBO1), CB_GETCURSEL, 0, 0L); - SendMessage(GetDlgItem(hWnd,IDC_COMBO1), CB_GETLBTEXT, i, (LPARAM)((LPCSTR)n)); - Card_Type = card_value[i]; - } - return(TRUE); - case IDC_COMBO2: - if (HIWORD(wParam) == CBN_CLOSEUP) { - i = (int)SendMessage(GetDlgItem(hWnd,IDC_COMBO2), CB_GETCURSEL, 0, 0L); - SendMessage(GetDlgItem(hWnd,IDC_COMBO2), CB_GETLBTEXT, i, (LPARAM)((LPCSTR)n)); - card_number = i; - } - return(TRUE); - case IDOK: - if ((card=Register_Card(Card_Type, card_number)) < 0) { - wsprintf(s, "Register_Card Error = %d\n", card); - MessageBox(hWnd, s, "Error", MB_OK); - SendMessage(hWnd, WM_CLOSE, 0, 0L); - break; - } - EndDialog(hWnd, TRUE); - InvalidateRect(hWnd, NULL, FALSE); - return (TRUE); - case IDCANCEL: - EndDialog(hWnd, TRUE); - return (TRUE); - } - break; - } - return (FALSE); -} - -long PASCAL MainWndProc(hWnd, message, wParam, lParam) -HWND hWnd; -UINT message; -WPARAM wParam; -LPARAM lParam; -{ - HDC hDC; - PAINTSTRUCT ps; - int i, k, px, py; - char n[15]; - double Pi = 3.1415926535; - static U16 pos=0; - - switch(message) { - case WM_CREATE: - DialogBox(hInst,IDD_DIALOG2, hWnd, setup); - if(card<0) { - SendMessage(hWnd, WM_CLOSE, 0, 0L); - break; - } - for (i=0;i<8;i++) { - bCheck1[i]=FALSE; - bCheck2[i]=FALSE; - old_adinput1[i]=-1; - old_adinput2[i]=-1; - } - hAddrComboBox = CreateWindow("ComboBox", NULL, - CBS_DROPDOWNLIST | WS_CHILD | WS_VISIBLE | WS_VSCROLL, - output_pos[4].x+90, io_pos[0].y+70, 85, 120, hWnd, IDC_GAIN, hInst, NULL); - for (i=0;i<5;i++) { - SendMessage(hAddrComboBox, CB_ADDSTRING, NULL, (LONG)AD_Range[i]); - } - SendMessage(hAddrComboBox ,CB_SETCURSEL, 1, 0L); - hADScroll=CreateWindow("SCROLLBAR", NULL, - WS_CHILD | WS_VISIBLE | SBS_HORZ, - output_pos[8].x+10, io_pos[15].y+200,190, 18, hWnd, IDC_SCROLL, hInst, NULL); - SetScrollRange(hADScroll,SB_CTL,0,4095,TRUE); - SetScrollPos(hADScroll,SB_CTL,0,TRUE); - - CreateWindow("BUTTON","Start" , - WS_CHILD | WS_VISIBLE , - output_pos[10].x+110, output_pos[10].y+50,50, 30, hWnd, IDC_START, hInst, NULL); - - CreateWindow("BUTTON","Stop" , - WS_CHILD | WS_VISIBLE , - output_pos[10].x+170, output_pos[10].y+50,50, 30, hWnd, IDC_STOP, hInst, NULL); - - CreateWindow("BUTTON","Pause" , - WS_CHILD | WS_VISIBLE , - output_pos[10].x+230, output_pos[10].y+50,50, 30, hWnd, IDC_PAUSE, hInst, NULL); - - CreateWindow("BUTTON","0" , - WS_CHILD | WS_VISIBLE | BS_RADIOBUTTON | BS_LEFTTEXT , - output_pos[4].x+50, io_pos[0].y-5,25,15, hWnd,IDC_DA, hInst, NULL); - - CreateWindow("BUTTON","1" , - WS_CHILD | WS_VISIBLE | BS_RADIOBUTTON | BS_LEFTTEXT, - output_pos[4].x+50, io_pos[0].y+13,25,15, hWnd,IDC_DA+1, hInst, NULL); - - CreateWindow("BUTTON","2" , - WS_CHILD | WS_VISIBLE | BS_RADIOBUTTON | BS_LEFTTEXT, - output_pos[4].x+50, io_pos[0].y+31,25,15, hWnd,IDC_DA+2, hInst, NULL); - - CreateWindow("BUTTON","3" , - WS_CHILD | WS_VISIBLE | BS_RADIOBUTTON | BS_LEFTTEXT, - output_pos[4].x+50, io_pos[0].y+49,25,15, hWnd,IDC_DA+3, hInst, NULL); - - CreateWindow("BUTTON","4" , - WS_CHILD | WS_VISIBLE | BS_RADIOBUTTON | BS_LEFTTEXT, - output_pos[4].x+100, io_pos[0].y-5,25,15, hWnd,IDC_DA+4, hInst, NULL); - - CreateWindow("BUTTON","5" , - WS_CHILD | WS_VISIBLE | BS_RADIOBUTTON | BS_LEFTTEXT, - output_pos[4].x+100, io_pos[0].y+13,25,15, hWnd, IDC_DA+5, hInst, NULL); - - CreateWindow("BUTTON","6" , - WS_CHILD | WS_VISIBLE | BS_RADIOBUTTON | BS_LEFTTEXT, - output_pos[4].x+100, io_pos[0].y+31,25,15, hWnd,IDC_DA+6, hInst, NULL); - - CreateWindow("BUTTON","7" , - WS_CHILD | WS_VISIBLE | BS_RADIOBUTTON | BS_LEFTTEXT, - output_pos[4].x+100, io_pos[0].y+49,25,15, hWnd, IDC_DA+7, hInst, NULL); - - CreateWindow("BUTTON","0" , - WS_CHILD | WS_VISIBLE | BS_RADIOBUTTON | BS_LEFTTEXT, - output_pos[4].x+50, io_pos[0].y+97,25,15, hWnd, IDC_DA+8, hInst, NULL); - - CreateWindow("BUTTON","1" , - WS_CHILD | WS_VISIBLE | BS_RADIOBUTTON | BS_LEFTTEXT, - output_pos[4].x+50, io_pos[0].y+115,25,15, hWnd, IDC_DA+9, hInst, NULL); - - CreateWindow("BUTTON","2" , - WS_CHILD | WS_VISIBLE | BS_RADIOBUTTON | BS_LEFTTEXT, - output_pos[4].x+50, io_pos[0].y+133,25,15, hWnd, IDC_DA+10, hInst, NULL); - - CreateWindow("BUTTON","3" , - WS_CHILD | WS_VISIBLE | BS_RADIOBUTTON | BS_LEFTTEXT, - output_pos[4].x+50, io_pos[0].y+151,25,15, hWnd, IDC_DA+11, hInst, NULL); - - CreateWindow("BUTTON","4" , - WS_CHILD | WS_VISIBLE | BS_RADIOBUTTON | BS_LEFTTEXT, - output_pos[4].x+100, io_pos[0].y+97,25,15, hWnd, IDC_DA+12, hInst, NULL); - - CreateWindow("BUTTON","5" , - WS_CHILD | WS_VISIBLE | BS_RADIOBUTTON | BS_LEFTTEXT, - output_pos[4].x+100, io_pos[0].y+115,25,15, hWnd, IDC_DA+13, hInst, NULL); - - CreateWindow("BUTTON","6" , - WS_CHILD | WS_VISIBLE | BS_RADIOBUTTON | BS_LEFTTEXT, - output_pos[4].x+100, io_pos[0].y+133,25,15, hWnd, IDC_DA+14, hInst, NULL); - - CreateWindow("BUTTON","7" , - WS_CHILD | WS_VISIBLE | BS_RADIOBUTTON | BS_LEFTTEXT, - output_pos[4].x+100, io_pos[0].y+151,25,15, hWnd, IDC_DA+15, hInst, NULL); - - hLTGreenBrush = CreateSolidBrush(RGB(0, 255, 0)); - hGreenBrush = CreateSolidBrush(RGB(0, 128, 0)); - hBlueBrush = CreateSolidBrush(RGB(0, 0, 255)); - hRedBrush = CreateSolidBrush(RGB(255, 0, 0)); - hYellowBrush= CreateSolidBrush(RGB(255,255,0)); - hBlackBrush= CreateSolidBrush(RGB(0,0,0)); - hLTBlueBrush= CreateSolidBrush(RGB(0,255,255)); - hLTRedBrush= CreateSolidBrush(RGB(255,128,0)); - hWhiteBrush= CreateSolidBrush(RGB(255,255,255)); - hRedPen= CreatePen(PS_SOLID,1,RGB(255,0,0)); - hYellowPen= CreatePen(PS_SOLID,1,RGB(255,255,0)); - hBluePen= CreatePen(PS_SOLID,1,RGB(0,0,255)); - hGreenPen= CreatePen(PS_SOLID,1,RGB(0,255,0)); - hLTBluePen= CreatePen(PS_SOLID,1,RGB(0,128,255)); - hLTRedPen= CreatePen(PS_SOLID,1,RGB(255,128,0)); - hLTGreenPen= CreatePen(PS_SOLID,1,RGB(0,128,0)); - hWhitePen= CreatePen(PS_SOLID,1,RGB(255,255,255)); - break; - - case WM_PAINT: - hDC = BeginPaint(hWnd, &ps); - - // Digital Input Box - SelectObject(hDC, hLTGreenBrush); - Rectangle(hDC, input_pos[15].x-10, input_pos[15].y-14, input_pos[0].x+26, input_pos[0].y+40); - SetTextColor(hDC,RGB(255,255,255)); - SetBkColor(hDC, RGB(0, 0, 255)); - TextOut(hDC, input_pos[15].x, input_pos[15].y-18, "Digital Input",13); - - // Digital Output Box - SelectObject(hDC, hGreenBrush); - Rectangle(hDC, output_pos[15].x-10, output_pos[15].y-14, output_pos[0].x+26, output_pos[0].y+40); - SetTextColor(hDC,RGB(255,0,0)); - SetBkColor(hDC, RGB(0, 0, 255)); - TextOut(hDC, output_pos[15].x, output_pos[15].y-20, "Digital Output", 14); - - // Analog Input Box - SelectObject(hDC, GetStockObject(GRAY_BRUSH)); - Rectangle(hDC, output_pos[15].x-10, io_pos[15].y-24, output_pos[0].x+26, io_pos[0].y+175); - SetTextColor(hDC,RGB(255,255,0)); - SetBkColor(hDC, RGB(0, 0, 255)); - TextOut(hDC, io_pos[15].x, io_pos[15].y-35, "Analog Input(A/D)", 17); - - SelectObject(hDC, hBlackBrush); - Rectangle(hDC, output_pos[15].x+35, io_pos[15].y-2, output_pos[4].x+41, io_pos[0].y+83); - Rectangle(hDC, output_pos[15].x+35, io_pos[15].y+87, output_pos[4].x+41, io_pos[0].y+172); - - // Analog Output Box - SelectObject(hDC, GetStockObject(GRAY_BRUSH)); - Rectangle(hDC, output_pos[15].x-10, io_pos[15].y+180, output_pos[0].x+26, io_pos[0].y+225); - SetTextColor(hDC,RGB(255,255,0)); - SetBkColor(hDC, RGB(0, 0, 255)); - TextOut(hDC, io_pos[15].x, io_pos[15].y+175, "Analog Output(D/A)", 18); - - // Channel Label - SetTextColor(hDC,RGB(0,0,0)); - SetBkColor(hDC, RGB(0, 255, 0)); - TextOut(hDC, input_pos[15].x, input_pos[15].y+20, "15 0", 114); - SetBkColor(hDC, RGB(0, 128, 0)); - TextOut(hDC, output_pos[15].x, output_pos[15].y+20, "15 0", 114); - SetBkColor(hDC, RGB(0, 255, 0)); - - SelectObject(hDC,hYellowBrush ); - Rectangle(hDC,output_pos[4].x+78, io_pos[0].y-5,output_pos[4].x+90, io_pos[0].y+10); - Rectangle(hDC,output_pos[4].x+78, io_pos[0].y+97,output_pos[4].x+90, io_pos[0].y+112); - SelectObject(hDC, hGreenBrush); - Rectangle(hDC,output_pos[4].x+78, io_pos[0].y+13,output_pos[4].x+90, io_pos[0].y+28); - Rectangle(hDC,output_pos[4].x+78, io_pos[0].y+115,output_pos[4].x+90, io_pos[0].y+130); - SelectObject(hDC, hBlueBrush); - Rectangle(hDC,output_pos[4].x+78, io_pos[0].y+31,output_pos[4].x+90, io_pos[0].y+46); - Rectangle(hDC,output_pos[4].x+78, io_pos[0].y+133,output_pos[4].x+90, io_pos[0].y+148); - SelectObject(hDC, hRedBrush); - Rectangle(hDC,output_pos[4].x+78, io_pos[0].y+49,output_pos[4].x+90, io_pos[0].y+64); - Rectangle(hDC,output_pos[4].x+78, io_pos[0].y+151,output_pos[4].x+90, io_pos[0].y+166); - SelectObject(hDC, hLTBlueBrush); - Rectangle(hDC,output_pos[4].x+128, io_pos[0].y-5,output_pos[4].x+140, io_pos[0].y+10); - Rectangle(hDC,output_pos[4].x+128, io_pos[0].y+97,output_pos[4].x+140, io_pos[0].y+112); - SelectObject(hDC, hLTRedBrush); - Rectangle(hDC,output_pos[4].x+128, io_pos[0].y+13,output_pos[4].x+140, io_pos[0].y+28); - Rectangle(hDC,output_pos[4].x+128, io_pos[0].y+115,output_pos[4].x+140, io_pos[0].y+130); - SelectObject(hDC, hLTGreenBrush); - Rectangle(hDC,output_pos[4].x+128, io_pos[0].y+31,output_pos[4].x+140, io_pos[0].y+46); - Rectangle(hDC,output_pos[4].x+128, io_pos[0].y+133,output_pos[4].x+140, io_pos[0].y+148); - SelectObject(hDC, hWhiteBrush); - Rectangle(hDC,output_pos[4].x+128, io_pos[0].y+49,output_pos[4].x+140, io_pos[0].y+64); - Rectangle(hDC,output_pos[4].x+128, io_pos[0].y+151,output_pos[4].x+140, io_pos[0].y+166); - - SetBkMode(hDC,TRANSPARENT); - - TextOut(hDC,output_pos[15].x, output_pos[15].y+56,"Card",4); - TextOut(hDC,output_pos[15].x, output_pos[15].y+69,"Type",4); - - SetBkMode(hDC,TRANSPARENT); - TextOut(hDC,output_pos[8].x+20, io_pos[15].y+182,"-10 -6 -2 2 6 10",33); - TextOut(hDC,output_pos[4].x+50, io_pos[0].y+67,"Input",5); - TextOut(hDC,output_pos[4].x+50, io_pos[0].y+80,"Range",5); - TextOut(hDC,input_pos[15].x, io_pos[15].y-19,"Volts",5); - switch (range) { - case AD_B_10_V: - TextOut(hDC,input_pos[15].x-5, io_pos[15].y-5,"10.0",4); - TextOut(hDC,input_pos[15].x-8, io_pos[15].y+67,"-10.0",5); - TextOut(hDC,input_pos[15].x-5, io_pos[15].y+87,"10.0",4); - TextOut(hDC,input_pos[15].x-8, io_pos[15].y+159,"-10.0",5); - break; - case AD_B_5_V: - TextOut(hDC,input_pos[15].x-5, io_pos[15].y-5,"5.00",4); - TextOut(hDC,input_pos[15].x-8, io_pos[15].y+67,"-5.00",5); - TextOut(hDC,input_pos[15].x-5, io_pos[15].y+87,"5.00",4); - TextOut(hDC,input_pos[15].x-8, io_pos[15].y+159,"-5.00",5); - break; - case AD_B_2_5_V: - TextOut(hDC,input_pos[15].x-5, io_pos[15].y-5,"2.50",4); - TextOut(hDC,input_pos[15].x-8, io_pos[15].y+67,"-2.50",5); - TextOut(hDC,input_pos[15].x-5, io_pos[15].y+87,"2.50",4); - TextOut(hDC,input_pos[15].x-8, io_pos[15].y+159,"-2.50",5); - break; - case AD_B_1_25_V: - TextOut(hDC,input_pos[15].x-5, io_pos[15].y-5,"1.25",4); - TextOut(hDC,input_pos[15].x-8, io_pos[15].y+67,"-1.25",5); - TextOut(hDC,input_pos[15].x-5, io_pos[15].y+87,"1.25",4); - TextOut(hDC,input_pos[15].x-8, io_pos[15].y+159,"-1.25",5); - break; - case AD_B_0_625_V: - TextOut(hDC,input_pos[15].x-5, io_pos[15].y-5,"0.625",5); - TextOut(hDC,input_pos[15].x-8, io_pos[15].y+67,"-0.625",6); - TextOut(hDC,input_pos[15].x-5, io_pos[15].y+87,"0.625",5); - TextOut(hDC,input_pos[15].x-8, io_pos[15].y+159,"-0.625",6); - break; - - case AD_U_10_V: - TextOut(hDC,input_pos[15].x-5, io_pos[15].y-5,"10.0",4); - TextOut(hDC,input_pos[15].x-5, io_pos[15].y+67," 0.0",4); - TextOut(hDC,input_pos[15].x-5, io_pos[15].y+87,"10.0",4); - TextOut(hDC,input_pos[15].x-5, io_pos[15].y+159," 0.0",4); - break; - case AD_U_5_V: - TextOut(hDC,input_pos[15].x-5, io_pos[15].y-5,"5.00",4); - TextOut(hDC,input_pos[15].x-5, io_pos[15].y+67,"0.00",4); - TextOut(hDC,input_pos[15].x-5, io_pos[15].y+87,"5.00",4); - TextOut(hDC,input_pos[15].x-5, io_pos[15].y+159,"0.00",4); - break; - case AD_U_2_5_V: - TextOut(hDC,input_pos[15].x-5, io_pos[15].y-5,"2.50",4); - TextOut(hDC,input_pos[15].x-5, io_pos[15].y+67,"0.00",4); - TextOut(hDC,input_pos[15].x-5, io_pos[15].y+87,"2.50",4); - TextOut(hDC,input_pos[15].x-5, io_pos[15].y+159,"0.00",4); - break; - case AD_U_1_25_V: - TextOut(hDC,input_pos[15].x-5, io_pos[15].y-5,"1.25",4); - TextOut(hDC,input_pos[15].x-5, io_pos[15].y+67,"0.00",4); - TextOut(hDC,input_pos[15].x-5, io_pos[15].y+87,"1.25",4); - TextOut(hDC,input_pos[15].x-5, io_pos[15].y+159,"0.00",4); - break; - } - - TextOut(hDC,input_pos[10].x, io_pos[10].y-19,"Signals",7); - TextOut(hDC,output_pos[4].x+50, io_pos[0].y-20,"Channel",7); - SetBkMode(hDC,OPAQUE); - - // Detect Channel Input - for (i=0; i<16; i++) { - if ((input>>i)&0x01) - SelectObject(hDC, hRedBrush); - else - SelectObject(hDC, GetStockObject(WHITE_BRUSH)); - Ellipse(hDC, input_pos[i].x, input_pos[i].y, input_pos[i].x+20, input_pos[i].y+20); - } - - // Channel Output - for (i=0; i<16; i++) { - if ((output>>i)&0x01) - SelectObject(hDC, hRedBrush); - else - SelectObject(hDC, GetStockObject(WHITE_BRUSH)); - Ellipse(hDC, output_pos[i].x, output_pos[i].y, output_pos[i].x+20, output_pos[i].y+20); - } - - EndPaint(hWnd, &ps); - break; - - case WM_HSCROLL: - switch(LOWORD(wParam)) { - case SB_THUMBPOSITION : - pos=HIWORD(wParam); - break; - } - SetScrollPos(lParam,SB_CTL,pos,TRUE); - break; - - case WM_COMMAND: - switch(LOWORD(wParam)) { - case IDM_EXIT: - SendMessage(hWnd, WM_CLOSE, 0, 0L); - break; - - case IDC_START: - time_interval=1000/sample_rate; - SetTimer(hWnd, TIMER1, time_interval, NULL); - srand((unsigned)time(NULL)); - bStop=FALSE; - bPause=FALSE; - bStart=TRUE; - break; - case IDC_STOP: - KillTimer(hWnd, TIMER1); - bStop=TRUE; - bPause=FALSE; - bStart=FALSE; - hDC = GetDC(hWnd); - SelectObject(hDC, hBlackBrush); - Rectangle(hDC, output_pos[15].x+35, io_pos[15].y-2, output_pos[4].x+41, io_pos[0].y+83); - Rectangle(hDC, output_pos[15].x+35, io_pos[15].y+87, output_pos[4].x+41, io_pos[0].y+172); - ReleaseDC(hWnd, hDC); - break; - case IDC_PAUSE: - KillTimer(hWnd, TIMER1); - bStop=FALSE; - bPause=TRUE; - bStart=FALSE; - break; - case IDC_DA: - case IDC_DA+1: - case IDC_DA+2: - case IDC_DA+3: - case IDC_DA+4: - case IDC_DA+5: - case IDC_DA+6: - case IDC_DA+7: - k=LOWORD(wParam)-IDC_DA; - if (bCheck1[k]) { - SendMessage(GetDlgItem(hWnd,wParam), BM_SETCHECK, 0, 0); - bCheck1[k]=FALSE; - } - else { - SendMessage(GetDlgItem(hWnd,wParam), BM_SETCHECK, 1, 0); - bCheck1[k]=TRUE; - } - break; - case IDC_DA+8: - case IDC_DA+9: - case IDC_DA+10: - case IDC_DA+11: - case IDC_DA+12: - case IDC_DA+13: - case IDC_DA+14: - case IDC_DA+15: - k=LOWORD(wParam)-IDC_DA-8; - if (bCheck2[k]) { - SendMessage(GetDlgItem(hWnd,wParam), BM_SETCHECK, 0, 0); - bCheck2[k]=FALSE; - } - else { - SendMessage(GetDlgItem(hWnd,wParam), BM_SETCHECK, 1, 0); - bCheck2[k]=TRUE; - } - break; - case IDC_GAIN: - if (HIWORD(wParam) == CBN_CLOSEUP) { - if ((i=(int)SendMessage(GetDlgItem(hWnd,IDC_GAIN),CB_GETCURSEL, 0, 0L))>=0 ) { - SendMessage(GetDlgItem(hWnd,IDC_GAIN), CB_GETLBTEXT, i, (LPARAM)((LPCSTR)n)); - range = range_value[i]; - InvalidateRect(hWnd, NULL, FALSE); - } - } - break; - default: - return(DefWindowProc(hWnd, message, wParam, lParam)); - } - break; - case WM_TIMER: - if (card >= 0) { - /* Digital Input */ - DI_ReadPort(card,0,&input); - hDC = GetDC(hWnd); - for (i=0; i<16; i++) { - if ( ((input>>i)&0x01) != ((oldinput>>i)&0x01) ) { - if ((input>>i)&0x01) - SelectObject(hDC, hRedBrush); - else - SelectObject(hDC, GetStockObject(WHITE_BRUSH)); - Ellipse(hDC, input_pos[i].x, input_pos[i].y, input_pos[i].x+20, input_pos[i].y+20); - } - } - oldinput=input; - /* Analog Input */ - BitBlt(hDC,output_pos[15].x+39,io_pos[15].y-2,331,85,hDC,output_pos[15].x+35,io_pos[15].y-2,SRCCOPY); - for (i=0;i<8;i++ ) { - if (bCheck1[i]) { - AI_ReadChannel(card, i, range, &analog_input[i]); - switch(i) { - case 0: - SelectObject(hDC, hYellowPen); - break; - case 1: - SelectObject(hDC, hGreenPen); - break; - case 2: - SelectObject(hDC, hBluePen); - break; - case 3: - SelectObject(hDC, hRedPen); - break; - case 4: - SelectObject(hDC, hLTBluePen); - break; - case 5: - SelectObject(hDC, hLTRedPen); - break; - case 6: - SelectObject(hDC, hLTGreenPen); - break; - case 7: - SelectObject(hDC, hWhitePen); - break; - } - if (Card_Type == PCI_9111DG) { - analog_input[i] = analog_input[i] >> 4; - adinput[i]=io_pos[0].y+42-(43*analog_input[i])/2048; - } - else { - adinput[i]=io_pos[0].y+42-(43*analog_input[i])/32767; - } - if (old_adinput1[i]!=-1 ) { - MoveToEx(hDC,output_pos[15].x+39,adinput[i],NULL ); - LineTo(hDC,output_pos[15].x+43,old_adinput1[i]); - } - old_adinput1[i]=adinput[i]; - } - } - BitBlt(hDC,output_pos[15].x+39,io_pos[15].y+87,331,85,hDC,output_pos[15].x+35,io_pos[15].y+87,SRCCOPY); - for (i=0;i<8;i++ ) { - if (bCheck2[i]) { - AI_ReadChannel(card, i+8, range, &analog_input[i+8]); - switch(i) { - case 0: - SelectObject(hDC, hYellowPen); - break; - case 1: - SelectObject(hDC, hGreenPen); - break; - case 2: - SelectObject(hDC, hBluePen); - break; - case 3: - SelectObject(hDC, hRedPen); - break; - case 4: - SelectObject(hDC, hLTBluePen); - break; - case 5: - SelectObject(hDC, hLTRedPen); - break; - case 6: - SelectObject(hDC, hLTGreenPen); - break; - case 7: - SelectObject(hDC, hWhitePen); - break; - } - - if (Card_Type == PCI_9111DG) { - analog_input[i+8] = analog_input[i+8] >> 4; - adinput[i+8]=io_pos[0].y+130-(43*analog_input[i+8])/2048; - } - else { - adinput[i+8]=io_pos[0].y+130-(43*analog_input[i+8])/32767; - } - if (old_adinput2[i]!=-1 ) { - MoveToEx(hDC,output_pos[15].x+39,adinput[i+8],NULL); - LineTo(hDC,output_pos[15].x+43,old_adinput2[i]); - } - old_adinput2[i]=adinput[i+8]; - } - } - ReleaseDC(hWnd, hDC); - - AO_WriteChannel(card, 0, pos); - } - break; - case WM_DESTROY: - if (card >= 0) Release_Card(card); - DeleteObject(hRedBrush); - DeleteObject(hGreenBrush); - DeleteObject(hLTGreenBrush); - DeleteObject(hYellowBrush); - DeleteObject(hBlueBrush) ; - DeleteObject(hBlackBrush); - DeleteObject(hRedPen); - DeleteObject(hYellowPen); - DeleteObject(hBluePen); - DeleteObject(hGreenPen); - DeleteObject(hLTBluePen); - DeleteObject(hLTRedPen); - DeleteObject(hLTGreenPen); - DeleteObject(hWhitePen); - PostQuitMessage(0); - break; - case WM_LBUTTONDOWN: - if (card >= 0) { - px = LOWORD(lParam); - py = HIWORD(lParam); - for (i=0; i<16; i++) { - if (px>output_pos[i].x && pxoutput_pos[i].y && py>i)&0x01) { - output -= (((unsigned int)1)< -#include -#include -#include -#include -#include -#include "resource.h" -#include "Dask.h" - -#define IDM_EXIT 110 -#define IDC_SCROLL 207 -#define IDC_SPIN 301 -#define IDC_START 208 -#define IDC_STOP 209 -#define IDC_EDIT 211 -#define IDC_EDIT1 214 -#define IDC_EDIT2 215 -#define IDC_SHOW 213 -#define IDC_CH 400 - -int PASCAL WinMain(HANDLE, HANDLE, LPSTR, int); -long PASCAL MainWndProc(HWND, UINT, WPARAM, LPARAM); -BOOL PASCAL ShowDMA(HWND, UINT, WPARAM, LPARAM); - -HANDLE hInst; -HWND hListBox; -HWND hEdit,hEdit1, hEdit2, hStart, hStop, hValue; -BOOL bCheck[8]; -U16 precheck =0; - -HBRUSH hBlackBrush; -HPEN hRedPen, hBlackPen; -HWND hMainWnd; - -unsigned int sample_rate=10000; -U16 channel; -BOOLEAN fstop, HalfReady; -U32 data_size=1024, mem_size; -static HANDLE hMem=NULL; -HANDLE hThread1; -I16 *ai_buf; -I16 card=-1, card_number = 0; -U32 count, postCount = 512; -BOOLEAN clear_op; - -POINT input_pos[16]= {{470, 280}, {440, 280}, - {410, 280}, {380, 280}, - {350, 280}, {320, 280}, - { 290, 280}, {260, 280}, - {230, 280}, {200, 280}, - {170, 280}, {140, 280}, - {110, 280}, {80, 280}, - { 50, 280}, { 20, 280}, - }; -POINT output_pos[16] ={ - {470, 340}, {440, 340}, - {410, 340}, {380, 340}, - {350, 340}, {320, 340}, - { 290, 340}, {260, 340}, - {230, 340}, {200, 340}, - {170, 340}, {140, 340}, - {110, 340}, {80, 340}, - { 50, 340}, { 20, 340}, - }; - -POINT io_pos[16] ={ - {395, 40}, {370, 40}, - {345, 40}, {320, 40}, - {295, 40}, {270, 40}, - { 245, 40}, {220, 40}, - {195, 40}, {170, 40}, - {145, 40}, {120, 40}, - {95, 40}, {70, 40}, - { 45, 40}, { 20, 40}, - }; - -BOOL InitApplication(HANDLE); -BOOL InitInstance(HANDLE, int); -//void ProcessThread(void* pArg); -void AI_DBCallBack(); -void AI_CallBack(); - -int PASCAL WinMain(hInstance, hPrevInstance, lpCmdLine, nCmdShow) -HANDLE hInstance, hPrevInstance; -LPSTR lpCmdLine; -int nCmdShow; -{ - MSG msg; - - if (!hPrevInstance) - if (!InitApplication(hInstance)) return(FALSE); - if (!InitInstance(hInstance, nCmdShow)) return(FALSE); - while (GetMessage(&msg, NULL, NULL, NULL)) { - TranslateMessage(&msg); - DispatchMessage(&msg); - } - return(msg.wParam); -} - -BOOL InitApplication(hInstance) -HANDLE hInstance; -{ - WNDCLASS wc; - - /* Main Window Class */ - wc.style = NULL; - wc.lpfnWndProc = (WNDPROC)MainWndProc; - wc.cbClsExtra = 0; - wc.cbWndExtra = 0; - wc.hInstance = hInstance; - wc.hIcon = LoadIcon(hInstance, "MyIcon"); - wc.hCursor = LoadCursor(NULL, IDC_ARROW); - wc.hbrBackground = GetStockObject(LTGRAY_BRUSH); - wc.lpszMenuName = NULL; - wc.lpszClassName = "GenericWClass"; - if (!RegisterClass(&wc)) return(FALSE); -} - - -BOOL InitInstance(hInstance, nCmdShow) -HANDLE hInstance; -int nCmdShow; -{ - HWND hWnd; - HMENU hSampleMenu; - - hInst = hInstance; - hSampleMenu = LoadMenu(hInstance, "U7120Menu"); - hWnd = CreateWindow("GenericWClass", - (LPCSTR)"PCI-9111 Double Buffered Interrupt W/O Pre-Trigger Mode", - WS_OVERLAPPEDWINDOW, - CW_USEDEFAULT, - CW_USEDEFAULT, - 520, - 400, - NULL, - hSampleMenu, - hInstance, - NULL); - if (!hWnd) return(FALSE); - ShowWindow(hWnd, nCmdShow); - UpdateWindow(hWnd); - return(TRUE); -} - -BOOL PASCAL setup(HWND hWnd, unsigned message, WPARAM wParam, LPARAM lParam) -{ - int i,k; - char n[16]; - char s[50]; - switch (message) { - case WM_INITDIALOG: - for (i=0;i<16;i++) { - wsprintf(n, "%d", i); - _strupr(n); - SendMessage(GetDlgItem(hWnd,IDC_COMBO1), CB_ADDSTRING, NULL, (LONG)(LPSTR) n); - } - SendMessage(GetDlgItem(hWnd,IDC_COMBO1) , CB_SETCURSEL, 0, 0L); - break; - case WM_COMMAND: - switch(LOWORD(wParam)) { - case IDC_COMBO1: - if (HIWORD(wParam) == CBN_CLOSEUP) { - i = (int)SendMessage(GetDlgItem(hWnd,IDC_COMBO1), CB_GETCURSEL, 0, 0L); - SendMessage(GetDlgItem(hWnd,IDC_COMBO1), CB_GETLBTEXT, i, (LPARAM)((LPCSTR)n)); - card_number = i; - } - return(TRUE); - case IDC_CHECK1: - if (precheck) { - SendMessage(GetDlgItem(hWnd,wParam), BM_SETCHECK, 0, 0); - precheck=FALSE; - } - else { - SendMessage(GetDlgItem(hWnd,wParam), BM_SETCHECK, 1, 0); - precheck=TRUE; - } - break; - case IDOK: - if(card <0) { - if ((card=Register_Card(PCI_9111DG, card_number))< 0) { - wsprintf(s, "Register_Card Error = %d\n", card); - MessageBox(hWnd, s, "Error", MB_OK); - SendMessage(hWnd, WM_CLOSE, 0, 0L); - break; - } - } - EndDialog(hWnd, TRUE); - InvalidateRect(hWnd, NULL, FALSE); - return (TRUE); - case IDCANCEL: - EndDialog(hWnd, TRUE); - return (TRUE); - } - break; - } - return (FALSE); -} - -long PASCAL MainWndProc(hWnd, message, wParam, lParam) -HWND hWnd; -UINT message; -WPARAM wParam; -LPARAM lParam; -{ - HDC hDC; - PAINTSTRUCT ps; - int i; - char n[6]; - static int pos=0; - I16 err; - char s[50]; - - switch(message) { - case WM_CREATE: - - DialogBox(hInst,IDD_DIALOG2, hWnd, setup); - if(card<0) { - SendMessage(hWnd, WM_CLOSE, 0, 0L); - break; - } - hEdit=CreateWindow("EDIT", NULL, - WS_CHILD | WS_VISIBLE | ES_LEFT, - output_pos[13].x-30, input_pos[15].y+20,40, 20, hWnd, IDC_EDIT, hInst, NULL); - - hEdit1=CreateWindow("EDIT", NULL, - WS_CHILD | WS_VISIBLE | ES_LEFT, - output_pos[13].x+90, input_pos[15].y+20,60, 20, hWnd, IDC_EDIT1, hInst, NULL); - - if(precheck) { - hEdit2=CreateWindow("EDIT", NULL, - WS_CHILD | WS_VISIBLE | ES_LEFT, - output_pos[13].x+90, input_pos[15].y-20,60, 20, hWnd, IDC_EDIT2, hInst, NULL); - } - wsprintf(n,"%d",sample_rate/1000); - SetWindowText(hEdit,n); - - wsprintf(n,"%d",data_size); - SetWindowText(hEdit1,n); - - if(precheck) { - wsprintf(n,"%d", postCount); - SetWindowText(hEdit2,n); - } - CreateWindow("SCROLLBAR", NULL, - WS_CHILD | WS_VISIBLE | SBS_VERT, - output_pos[13].x+10, input_pos[15].y+20,20, 20, hWnd, IDC_SCROLL, hInst, NULL); - - hStart = CreateWindow("BUTTON","Start" , - WS_CHILD | WS_VISIBLE , - output_pos[10].x+110, input_pos[10].y+10,50, 30, hWnd, IDC_START, hInst, NULL); - - hStop = CreateWindow("BUTTON","Stop" , - WS_CHILD | WS_VISIBLE , - output_pos[10].x+170, input_pos[10].y+10,50, 30, hWnd, IDC_STOP, hInst, NULL); - - hValue = CreateWindow("BUTTON","Data Value" , - WS_CHILD | WS_VISIBLE , - output_pos[10].x+230, input_pos[10].y+10,80, 30, hWnd, IDC_SHOW, hInst, NULL); - EnableWindow(hStop, FALSE); - - CreateWindow("BUTTON","0" , - WS_CHILD | WS_VISIBLE | BS_AUTORADIOBUTTON | BS_LEFTTEXT | WS_GROUP , - output_pos[4].x+50, io_pos[0].y-5+20,25,15, hWnd,IDC_CH, hInst, NULL); - - CreateWindow("BUTTON","1" , - WS_CHILD | WS_VISIBLE | BS_AUTORADIOBUTTON | BS_LEFTTEXT | WS_GROUP, - output_pos[4].x+50, io_pos[0].y+13+20,25,15, hWnd,IDC_CH+1, hInst, NULL); - - CreateWindow("BUTTON","2" , - WS_CHILD | WS_VISIBLE | BS_AUTORADIOBUTTON | BS_LEFTTEXT | WS_GROUP, - output_pos[4].x+50, io_pos[0].y+31+20,25,15, hWnd,IDC_CH+2, hInst, NULL); - - CreateWindow("BUTTON","3" , - WS_CHILD | WS_VISIBLE | BS_AUTORADIOBUTTON | BS_LEFTTEXT | WS_GROUP, - output_pos[4].x+50, io_pos[0].y+49+20,25,15, hWnd,IDC_CH+3, hInst, NULL); - - CreateWindow("BUTTON","4" , - WS_CHILD | WS_VISIBLE | BS_AUTORADIOBUTTON | BS_LEFTTEXT | WS_GROUP, - output_pos[4].x+100, io_pos[0].y-5+20,25,15, hWnd,IDC_CH+4, hInst, NULL); - - CreateWindow("BUTTON","5" , - WS_CHILD | WS_VISIBLE | BS_AUTORADIOBUTTON | BS_LEFTTEXT | WS_GROUP, - output_pos[4].x+100, io_pos[0].y+13+20,25,15, hWnd, IDC_CH+5, hInst, NULL); - - CreateWindow("BUTTON","6" , - WS_CHILD | WS_VISIBLE | BS_AUTORADIOBUTTON | BS_LEFTTEXT | WS_GROUP, - output_pos[4].x+100, io_pos[0].y+31+20,25,15, hWnd,IDC_CH+6, hInst, NULL); - - CreateWindow("BUTTON","7" , - WS_CHILD | WS_VISIBLE | BS_AUTORADIOBUTTON | BS_LEFTTEXT | WS_GROUP, - output_pos[4].x+100, io_pos[0].y+49+20,25,15, hWnd, IDC_CH+7, hInst, NULL); - - //default channel 0 - for (i=1;i<8;i++) bCheck[i]=FALSE; - bCheck[0] = TRUE; - channel = 0; - SendMessage(GetDlgItem(hWnd,IDC_CH), BM_SETCHECK, 1, 0); - - hBlackBrush= CreateSolidBrush(RGB(0,0,0)); - hRedPen= CreatePen(PS_SOLID,1,RGB(255,0,0)); - hBlackPen= CreatePen(PS_SOLID,1,RGB(0,0,0)); - break; - - case WM_PAINT: - hDC = BeginPaint(hWnd, &ps); - - // DMA analog input box - SelectObject(hDC, GetStockObject(GRAY_BRUSH)); - Rectangle(hDC, output_pos[15].x-10, io_pos[15].y-24, output_pos[0].x+26, io_pos[0].y+195); - SetTextColor(hDC,RGB(255,255,0)); - SetBkColor(hDC, RGB(0, 0, 255)); - TextOut(hDC, io_pos[15].x, io_pos[15].y-35, "DMA Input", 9); - SelectObject(hDC, hBlackBrush); - Rectangle(hDC, output_pos[15].x+35, io_pos[15].y-2, output_pos[4].x+41, io_pos[0].y+172); - - SetBkMode(hDC,TRANSPARENT); - if(precheck) - TextOut(hDC,output_pos[13].x+70, input_pos[10].y-40,"PostCount",9); - TextOut(hDC,output_pos[13].x-60, input_pos[10].y,"Samping Rate",12); - TextOut(hDC,output_pos[13].x+30, input_pos[15].y+20,"KHZ",3); - TextOut(hDC,output_pos[13].x+70, input_pos[10].y,"Buffer Size",11); - TextOut(hDC,input_pos[2].x-10, io_pos[15].y+118,"Range: +-5V",11); - TextOut(hDC,input_pos[15].x, io_pos[15].y-19,"Volt",4); - TextOut(hDC,input_pos[15].x, io_pos[15].y-5,"5.00",4); - TextOut(hDC,input_pos[15].x, io_pos[15].y+36,"2.50",4); - TextOut(hDC,input_pos[15].x, io_pos[15].y+77,"0.00",4); - TextOut(hDC,input_pos[15].x-3, io_pos[15].y+118,"-2.50",5); - TextOut(hDC,input_pos[15].x-3, io_pos[15].y+159,"-5.00",5); - TextOut(hDC,input_pos[10].x+10, io_pos[10].y-19,"Signals",7); - TextOut(hDC,output_pos[4].x+60, io_pos[0].y-15,"Channel",7); - EndPaint(hWnd, &ps); - break; - - // Sample Rate Spin Control - case WM_VSCROLL: - switch (LOWORD(wParam)) { - case SB_LINEUP : - sample_rate+=5000; - if (sample_rate > 50000 ) sample_rate=50000; - break; - case SB_LINEDOWN: - sample_rate-=5000; - if (sample_rate < 5000 ) sample_rate=5000; - break; - } - wsprintf(n,"%d",sample_rate/1000); - SetWindowText(hEdit,n); - break; - case WM_COMMAND: - switch(LOWORD(wParam)) { - case IDM_EXIT: - SendMessage(hWnd, WM_CLOSE, 0, 0L); - break; - case IDC_CH: - case IDC_CH+1: - case IDC_CH+2: - case IDC_CH+3: - case IDC_CH+4: - case IDC_CH+5: - case IDC_CH+6: - case IDC_CH+7: - if (!bCheck[wParam-IDC_CH]) { - SendMessage(GetDlgItem(hWnd,wParam), BM_SETCHECK, 1, 0); - SendMessage(GetDlgItem(hWnd,IDC_CH+channel), BM_SETCHECK, 0, 0); - bCheck[channel]=FALSE; - } - channel=wParam-IDC_CH; - bCheck[channel]=TRUE; - break; - case IDC_SHOW : - DialogBox(hInst, "DMABox", hWnd, ShowDMA); - break; - case IDC_START: - if (hMem != NULL) { - GlobalUnfix(hMem); - GlobalUnlock(hMem); - GlobalFree(hMem); - } - // allocate a memory for DMA - postCount = GetDlgItemInt(hWnd,IDC_EDIT2,NULL ,FALSE); - data_size=GetDlgItemInt(hWnd,IDC_EDIT1,NULL ,FALSE); - if (data_size%512) { - wsprintf(s, "Buffer Size should be devided by 512\n", postCount+2); - MessageBox(hWnd,s,"Data Size Error", MB_OK); - break; - } - mem_size=data_size * 2; - hMem = GlobalAlloc(GMEM_FIXED | GMEM_ZEROINIT,mem_size); - - ai_buf = (U16 *)GlobalLock(hMem); - if (ai_buf == NULL ) { - MessageBox(hWnd,"DMA", "No Memory", MB_OK); - SendMessage(hWnd, WM_CLOSE, 0, 0L); - break; - } - GlobalFix(hMem); - fstop =0; - if ((err=AI_9111_Config(card,TRIG_INT_PACER, precheck, postCount))!= NoError) { - wsprintf(s, "AI_Config Error = %d\n", err); - MessageBox(hWnd, s, "Error", MB_OK); - SendMessage(hWnd, WM_CLOSE, 0, 0L); - break; - } - if ((err=AI_AsyncDblBufferMode (card, 1)) != NoError) { - wsprintf(s, "AI_AsyncDblBufferMode Error = %d\n", err); - MessageBox(hWnd, s, "Error", MB_OK); - SendMessage(hWnd, WM_CLOSE, 0, 0L); - break; - } - if((err= AI_EventCallBack (card, 1, DBEvent, (U32) AI_DBCallBack)) != NoError) { - wsprintf(s, "AI_EventCallBack Error = %d\n", err); - MessageBox(hWnd, s, "Error", MB_OK); - SendMessage(hWnd, WM_CLOSE, 0, 0L); - break; - } - if((err= AI_EventCallBack (card, 1, AIEnd, (U32) AI_CallBack)) != NoError) { - wsprintf(s, "AI_EventCallBack Error = %d\n", err); - MessageBox(hWnd, s, "Error", MB_OK); - SendMessage(hWnd, WM_CLOSE, 0, 0L); - break; - } - if ((err=AI_ContReadChannel(card, channel, AD_B_5_V, ai_buf, data_size, (F64)sample_rate, ASYNCH_OP)) != NoError) { - wsprintf(s, "AI_ContReadPort Error = %d\n", err); - MessageBox(hWnd, s, "Error", MB_OK); - SendMessage(hWnd, WM_CLOSE, 0, 0L); - break; - } - EnableWindow(hStart, FALSE); - EnableWindow(hStop, TRUE); - EnableWindow(hValue, FALSE); - hMainWnd = hWnd; - clear_op = FALSE; - MessageBeep(0); - break; - case IDC_STOP: - clear_op = TRUE; - AI_AsyncClear(card, &count); - EnableWindow(hStart, TRUE); - EnableWindow(hStop, FALSE); - EnableWindow(hValue, TRUE); - break; - default: - return(DefWindowProc(hWnd, message, wParam, lParam)); - } - break; - case WM_DESTROY: - if (card >= 0) Release_Card(card); - DeleteObject(hBlackBrush); - DeleteObject(hRedPen); - GlobalUnfix(hMem); - GlobalUnlock(hMem); - GlobalFree(hMem); - PostQuitMessage(0); - break; - default: - return(DefWindowProc(hWnd, message, wParam, lParam)); - } - return(NULL); -} - -BOOL PASCAL ShowDMA(hDlg, message, wParam, lParam) -HWND hDlg; -UINT message; -WPARAM wParam; -LPARAM lParam; -{ - int nTabs[2] = {32, 92}; - int i; - char cBuf[100]; - char string[10]=" "; - char data_str[3]=" "; - I16 *pp; - switch (message) { - case WM_INITDIALOG: - hListBox = CreateWindow("LISTBOX", "Index Data (Hex)", - WS_CHILD | WS_VISIBLE | LBS_HASSTRINGS | LBS_STANDARD | LBS_USETABSTOPS |WS_CAPTION, - 50, 40, 240, 180, hDlg, 100, hInst, NULL); - SendMessage(hListBox, LB_RESETCONTENT, 0, 0L); - SendMessage(hListBox, LB_SETTABSTOPS, 2, (DWORD)(LPINT) nTabs); - SetDlgItemText(hDlg, DMA_DESCP, "This ListBox can show at most 4000 data"); - itoa( data_size, string, 10); - SetDlgItemText(hDlg, DMA_SPACE, string); - - pp = (I16 *)ai_buf; - if (count > 4000) count = 4000; - if (!count) count = data_size; - for(i=0;i>4; - newy = io_pos[0].y+86-(87*(I16)adinput)/2048; - newx = i*336/tfer_size+output_pos[15].x+35; - if (i==0) - MoveToEx(hDC, newx, newy, NULL); - else - MoveToEx(hDC, oldx, oldy, NULL); - LineTo(hDC, newx, newy); - oldx = newx; - oldy = newy; - } - ReleaseDC(hMainWnd, hDC); -} - -void AI_CallBack() -{ - HDC hDC; - int t =0; - U16 adinput; - U32 i, oldx, oldy, newx, newy, tfer_size; - char buf[25]; - - hDC = GetDC(hMainWnd); - tfer_size = data_size/2; //Every time transfer half size of buffer - EnableWindow(hStart, TRUE); - EnableWindow(hStop, FALSE); - EnableWindow(hValue, TRUE); - if(!clear_op) - AI_AsyncClear(card, &count); - AI_AsyncDblBufferTransfer(card, ai_buf); - SelectObject(hDC, hBlackBrush); - SelectObject(hDC, hBlackPen); - Rectangle(hDC, output_pos[15].x+35, io_pos[15].y-2, output_pos[4].x+41, io_pos[0].y+172); - SelectObject(hDC, hRedPen); - if (!count) count = tfer_size; - for (i=0; i>4; - newy = io_pos[0].y+86-(87*(I16)adinput)/2048; - newx = i*336/tfer_size+output_pos[15].x+35; - if (i==0) - MoveToEx(hDC, newx, newy, NULL); - else - MoveToEx(hDC, oldx, oldy, NULL); - LineTo(hDC, newx, newy); - oldx = newx; - oldy = newy; - } - ReleaseDC(hMainWnd, hDC); -} - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9111/SDK9111DbfCallBack/9111PrTg.dsp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9111/SDK9111DbfCallBack/9111PrTg.dsp deleted file mode 100644 index 4e74d87..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9111/SDK9111DbfCallBack/9111PrTg.dsp +++ /dev/null @@ -1,110 +0,0 @@ -# Microsoft Developer Studio Project File - Name="9111PrTg" - Package Owner=<4> -# Microsoft Developer Studio Generated Build File, Format Version 5.00 -# ** DO NOT EDIT ** - -# TARGTYPE "Win32 (x86) Application" 0x0101 - -CFG=9111PrTg - Win32 Release -!MESSAGE This is not a valid makefile. To build this project using NMAKE, -!MESSAGE use the Export Makefile command and run -!MESSAGE -!MESSAGE NMAKE /f "9111PrTg.mak". -!MESSAGE -!MESSAGE You can specify a configuration when running NMAKE -!MESSAGE by defining the macro CFG on the command line. For example: -!MESSAGE -!MESSAGE NMAKE /f "9111PrTg.mak" CFG="9111PrTg - Win32 Release" -!MESSAGE -!MESSAGE Possible choices for configuration are: -!MESSAGE -!MESSAGE "9111PrTg - Win32 Release" (based on "Win32 (x86) Application") -!MESSAGE "9111PrTg - Win32 Debug" (based on "Win32 (x86) Application") -!MESSAGE - -# Begin Project -# PROP Scc_ProjName "" -# PROP Scc_LocalPath "" -CPP=cl.exe -MTL=midl.exe -RSC=rc.exe - -!IF "$(CFG)" == "9111PrTg - Win32 Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir ".\Release" -# PROP BASE Intermediate_Dir ".\Release" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "" -# PROP Intermediate_Dir ".\Release" -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /YX /c -# ADD CPP /nologo /MT /W3 /GX /Od /I "..\..\..\include" /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /FD /c -# SUBTRACT CPP /YX -# ADD BASE MTL /nologo /D "NDEBUG" /win32 -# ADD MTL /nologo /D "NDEBUG" /mktyplib203 /win32 -# ADD BASE RSC /l 0x409 /d "NDEBUG" -# ADD RSC /l 0x409 /d "NDEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:windows /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ..\..\..\lib\pci-dask.lib /nologo /subsystem:windows /machine:I386 - -!ELSEIF "$(CFG)" == "9111PrTg - Win32 Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir ".\Debug" -# PROP BASE Intermediate_Dir ".\Debug" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir ".\Debug" -# PROP Intermediate_Dir ".\Debug" -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /Gm /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /YX /c -# ADD CPP /nologo /MTd /W3 /Gm /GX /Zi /Od /I "..\..\..\include" /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /FD /c -# SUBTRACT CPP /YX -# ADD BASE MTL /nologo /D "_DEBUG" /win32 -# ADD MTL /nologo /D "_DEBUG" /mktyplib203 /win32 -# ADD BASE RSC /l 0x409 /d "_DEBUG" -# ADD RSC /l 0x409 /d "_DEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:windows /debug /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ..\..\..\lib\pci-dask.lib /nologo /subsystem:windows /debug /machine:I386 - -!ENDIF - -# Begin Target - -# Name "9111PrTg - Win32 Release" -# Name "9111PrTg - Win32 Debug" -# Begin Group "Source Files" - -# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;hpj;bat;for;f90" -# Begin Source File - -SOURCE=.\9111PrTg.c -# End Source File -# Begin Source File - -SOURCE=.\9111PrTg.rc -# End Source File -# End Group -# Begin Group "Header Files" - -# PROP Default_Filter "h;hpp;hxx;hm;inl;fi;fd" -# End Group -# Begin Group "Resource Files" - -# PROP Default_Filter "ico;cur;bmp;dlg;rc2;rct;bin;cnt;rtf;gif;jpg;jpeg;jpe" -# End Group -# End Target -# End Project diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9111/SDK9111DbfCallBack/9111PrTg.dsw b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9111/SDK9111DbfCallBack/9111PrTg.dsw deleted file mode 100644 index 4684233..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9111/SDK9111DbfCallBack/9111PrTg.dsw +++ /dev/null @@ -1,29 +0,0 @@ -Microsoft Developer Studio Workspace File, Format Version 5.00 -# WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE! - -############################################################################### - -Project: "9111PrTg"=.\9111PrTg.dsp - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ -}}} - -############################################################################### - -Global: - -Package=<5> -{{{ -}}} - -Package=<3> -{{{ -}}} - -############################################################################### - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9111/SDK9111DbfCallBack/9111PrTg.exe b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9111/SDK9111DbfCallBack/9111PrTg.exe deleted file mode 100644 index 0f578c2..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9111/SDK9111DbfCallBack/9111PrTg.exe and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9111/SDK9111DbfCallBack/9111PrTg.rc b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9111/SDK9111DbfCallBack/9111PrTg.rc deleted file mode 100644 index 070aec1..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9111/SDK9111DbfCallBack/9111PrTg.rc +++ /dev/null @@ -1,128 +0,0 @@ -//Microsoft Developer Studio generated resource script. -// -#include "resource.h" - -#define APSTUDIO_READONLY_SYMBOLS -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 2 resource. -// -#define APSTUDIO_HIDDEN_SYMBOLS -#include "windows.h" -#undef APSTUDIO_HIDDEN_SYMBOLS - -///////////////////////////////////////////////////////////////////////////// -#undef APSTUDIO_READONLY_SYMBOLS - -///////////////////////////////////////////////////////////////////////////// -// English (U.S.) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -#ifdef _WIN32 -LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US -#pragma code_page(1252) -#endif //_WIN32 - -///////////////////////////////////////////////////////////////////////////// -// -// Menu -// - -U7120MENU MENU DISCARDABLE -BEGIN - MENUITEM "E&xit!", IDM_EXIT -END - - -#ifdef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// TEXTINCLUDE -// - -1 TEXTINCLUDE DISCARDABLE -BEGIN - "resource.h\0" -END - -2 TEXTINCLUDE DISCARDABLE -BEGIN - "#define APSTUDIO_HIDDEN_SYMBOLS\r\n" - "#include ""windows.h""\r\n" - "#undef APSTUDIO_HIDDEN_SYMBOLS\r\n" - "\0" -END - -3 TEXTINCLUDE DISCARDABLE -BEGIN - "\r\n" - "\0" -END - -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog -// - -DMABOX DIALOG DISCARDABLE 18, 10, 171, 169 -STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "Data Value (half of circular buffer)" -FONT 8, "System" -BEGIN - PUSHBUTTON "STOP",ID_STOP,82,147,24,14 - LTEXT "Data Transferred :",-1,39,119,64,8 - LTEXT "Text",DMA_SPACE,103,118,41,8 - LTEXT "Text",DMA_DESCP,16,6,158,8 -END - -IDD_DIALOG2 DIALOG DISCARDABLE 110, 10, 107, 73 -STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "Card Number" -FONT 10, "System" -BEGIN - DEFPUSHBUTTON "OK",IDOK,7,52,37,14 - PUSHBUTTON "Cancel",IDCANCEL,60,52,38,14 - LTEXT "Card Number",IDC_CARDNUM,7,11,43,14 - COMBOBOX IDC_COMBO1,54,11,46,83,CBS_DROPDOWN | CBS_SORT | - WS_VSCROLL | WS_TABSTOP - CONTROL "Pre-trigger Enabled",IDC_CHECK1,"Button", - BS_AUTOCHECKBOX | WS_TABSTOP,7,32,94,13 -END - - -///////////////////////////////////////////////////////////////////////////// -// -// DESIGNINFO -// - -#ifdef APSTUDIO_INVOKED -GUIDELINES DESIGNINFO DISCARDABLE -BEGIN - IDD_DIALOG2, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 100 - TOPMARGIN, 11 - BOTTOMMARGIN, 66 - END -END -#endif // APSTUDIO_INVOKED - -#endif // English (U.S.) resources -///////////////////////////////////////////////////////////////////////////// - - - -#ifndef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 3 resource. -// - - -///////////////////////////////////////////////////////////////////////////// -#endif // not APSTUDIO_INVOKED - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9111/SDK9111DbfCallBack/resource.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9111/SDK9111DbfCallBack/resource.h deleted file mode 100644 index d74fb05..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9111/SDK9111DbfCallBack/resource.h +++ /dev/null @@ -1,27 +0,0 @@ -//{{NO_DEPENDENCIES}} -// Microsoft Developer Studio generated include file. -// Used by 9111PrTg.rc -// -#define IDM_SETUP 101 -#define IDD_DIALOG1 101 -#define IDD_DIALOG2 104 -#define IDM_EXIT 110 -#define ID_CARDNUMBER 122 -#define ID_STOP 304 -#define DMA_SPACE 500 -#define DMA_DESCP 600 -#define IDC_COMBO1 1001 -#define IDC_CARDNUM 1002 -#define IDC_CHECK1 1003 -#define IDC_STATIC -1 - -// Next default values for new objects -// -#ifdef APSTUDIO_INVOKED -#ifndef APSTUDIO_READONLY_SYMBOLS -#define _APS_NEXT_RESOURCE_VALUE 106 -#define _APS_NEXT_COMMAND_VALUE 123 -#define _APS_NEXT_CONTROL_VALUE 1002 -#define _APS_NEXT_SYMED_VALUE 101 -#endif -#endif diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9111/SDK9111DbfPostTrg/9111PostTg.c b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9111/SDK9111DbfPostTrg/9111PostTg.c deleted file mode 100644 index 3737124..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9111/SDK9111DbfPostTrg/9111PostTg.c +++ /dev/null @@ -1,535 +0,0 @@ -#include -#include -#include -#include -#include -#include -#include "resource.h" -#include "Dask.h" - -#define IDM_EXIT 110 -#define IDC_SCROLL 207 -#define IDC_SPIN 301 -#define IDC_START 208 -#define IDC_STOP 209 -#define IDC_EDIT 211 -#define IDC_EDIT1 214 -#define IDC_EDIT2 215 -#define IDC_SHOW 213 -#define IDC_CH 400 - -int PASCAL WinMain(HANDLE, HANDLE, LPSTR, int); -long PASCAL MainWndProc(HWND, UINT, WPARAM, LPARAM); -BOOL PASCAL ShowDMA(HWND, UINT, WPARAM, LPARAM); - -HANDLE hInst; -HWND hListBox; -HWND hEdit,hEdit1, hEdit2, hStart, hStop, hValue; -BOOL bCheck[8]; - -HBRUSH hBlackBrush; -HPEN hRedPen, hBlackPen; -HWND hMainWnd; - -unsigned int sample_rate=10000; -U16 channel; -BOOLEAN fstop, HalfReady; -U32 data_size=10240, mem_size; -static HANDLE hMem=NULL; -HANDLE hThread1; -I16 *ai_buf; -I16 card=-1, card_number = 0; -U32 count, postCount = 512; -BOOLEAN clear_op; - -POINT input_pos[16]= {{470, 280}, {440, 280}, - {410, 280}, {380, 280}, - {350, 280}, {320, 280}, - { 290, 280}, {260, 280}, - {230, 280}, {200, 280}, - {170, 280}, {140, 280}, - {110, 280}, {80, 280}, - { 50, 280}, { 20, 280}, - }; -POINT output_pos[16] ={ - {470, 340}, {440, 340}, - {410, 340}, {380, 340}, - {350, 340}, {320, 340}, - { 290, 340}, {260, 340}, - {230, 340}, {200, 340}, - {170, 340}, {140, 340}, - {110, 340}, {80, 340}, - { 50, 340}, { 20, 340}, - }; - -POINT io_pos[16] ={ - {395, 40}, {370, 40}, - {345, 40}, {320, 40}, - {295, 40}, {270, 40}, - { 245, 40}, {220, 40}, - {195, 40}, {170, 40}, - {145, 40}, {120, 40}, - {95, 40}, {70, 40}, - { 45, 40}, { 20, 40}, - }; - -BOOL InitApplication(HANDLE); -BOOL InitInstance(HANDLE, int); -void ProcessThread(void* pArg); - -int PASCAL WinMain(hInstance, hPrevInstance, lpCmdLine, nCmdShow) -HANDLE hInstance, hPrevInstance; -LPSTR lpCmdLine; -int nCmdShow; -{ - MSG msg; - - if (!hPrevInstance) - if (!InitApplication(hInstance)) return(FALSE); - if (!InitInstance(hInstance, nCmdShow)) return(FALSE); - while (GetMessage(&msg, NULL, NULL, NULL)) { - TranslateMessage(&msg); - DispatchMessage(&msg); - } - return(msg.wParam); -} - -BOOL InitApplication(hInstance) -HANDLE hInstance; -{ - WNDCLASS wc; - - /* Main Window Class */ - wc.style = NULL; - wc.lpfnWndProc = (WNDPROC)MainWndProc; - wc.cbClsExtra = 0; - wc.cbWndExtra = 0; - wc.hInstance = hInstance; - wc.hIcon = LoadIcon(hInstance, "MyIcon"); - wc.hCursor = LoadCursor(NULL, IDC_ARROW); - wc.hbrBackground = GetStockObject(LTGRAY_BRUSH); - wc.lpszMenuName = NULL; - wc.lpszClassName = "GenericWClass"; - if (!RegisterClass(&wc)) return(FALSE); -} - - -BOOL InitInstance(hInstance, nCmdShow) -HANDLE hInstance; -int nCmdShow; -{ - HWND hWnd; - HMENU hSampleMenu; - - hInst = hInstance; - hSampleMenu = LoadMenu(hInstance, "U7120Menu"); - hWnd = CreateWindow("GenericWClass", - (LPCSTR)"PCI-9111 Double Buffered Interrupt with Post-Trigger Mode", - WS_OVERLAPPEDWINDOW, - CW_USEDEFAULT, - CW_USEDEFAULT, - 520, - 400, - NULL, - hSampleMenu, - hInstance, - NULL); - if (!hWnd) return(FALSE); - ShowWindow(hWnd, nCmdShow); - UpdateWindow(hWnd); - return(TRUE); -} - -BOOL PASCAL setup(HWND hWnd, unsigned message, WPARAM wParam, LPARAM lParam) -{ - int i,k; - char n[16]; - char s[50]; - switch (message) { - case WM_INITDIALOG: - for (i=0;i<16;i++) { - wsprintf(n, "%d", i); - _strupr(n); - SendMessage(GetDlgItem(hWnd,IDC_COMBO1), CB_ADDSTRING, NULL, (LONG)(LPSTR) n); - } - SendMessage(GetDlgItem(hWnd,IDC_COMBO1) , CB_SETCURSEL, 0, 0L); - break; - case WM_COMMAND: - switch(LOWORD(wParam)) { - case IDC_COMBO1: - if (HIWORD(wParam) == CBN_CLOSEUP) { - i = (int)SendMessage(GetDlgItem(hWnd,IDC_COMBO1), CB_GETCURSEL, 0, 0L); - SendMessage(GetDlgItem(hWnd,IDC_COMBO1), CB_GETLBTEXT, i, (LPARAM)((LPCSTR)n)); - card_number = i; - } - return(TRUE); - case IDOK: - if(card <0) { - if ((card=Register_Card(PCI_9111DG, card_number))< 0) { - wsprintf(s, "Register_Card Error = %d\n", card); - MessageBox(hWnd, s, "Error", MB_OK); - SendMessage(hWnd, WM_CLOSE, 0, 0L); - break; - } - } - EndDialog(hWnd, TRUE); - InvalidateRect(hWnd, NULL, FALSE); - return (TRUE); - case IDCANCEL: - EndDialog(hWnd, TRUE); - return (TRUE); - } - break; - } - return (FALSE); -} - -long PASCAL MainWndProc(hWnd, message, wParam, lParam) -HWND hWnd; -UINT message; -WPARAM wParam; -LPARAM lParam; -{ - HDC hDC; - PAINTSTRUCT ps; - int i; - char n[6]; - static int pos=0; - I16 err; - char s[50]; - - switch(message) { - case WM_CREATE: - - DialogBox(hInst,IDD_DIALOG2, hWnd, setup); - if(card<0) { - SendMessage(hWnd, WM_CLOSE, 0, 0L); - break; - } - hEdit=CreateWindow("EDIT", NULL, - WS_CHILD | WS_VISIBLE | ES_LEFT, - output_pos[13].x-30, input_pos[15].y+20,40, 20, hWnd, IDC_EDIT, hInst, NULL); - - hEdit1=CreateWindow("EDIT", NULL, - WS_CHILD | WS_VISIBLE | ES_LEFT, - output_pos[13].x+90, input_pos[15].y+20,60, 20, hWnd, IDC_EDIT1, hInst, NULL); - - wsprintf(n,"%d",sample_rate/1000); - SetWindowText(hEdit,n); - - wsprintf(n,"%d",data_size); - SetWindowText(hEdit1,n); - - CreateWindow("SCROLLBAR", NULL, - WS_CHILD | WS_VISIBLE | SBS_VERT, - output_pos[13].x+10, input_pos[15].y+20,20, 20, hWnd, IDC_SCROLL, hInst, NULL); - - hStart = CreateWindow("BUTTON","Start" , - WS_CHILD | WS_VISIBLE , - output_pos[10].x+110, input_pos[10].y+10,50, 30, hWnd, IDC_START, hInst, NULL); - - hStop = CreateWindow("BUTTON","Stop" , - WS_CHILD | WS_VISIBLE , - output_pos[10].x+170, input_pos[10].y+10,50, 30, hWnd, IDC_STOP, hInst, NULL); - - hValue = CreateWindow("BUTTON","Data Value" , - WS_CHILD | WS_VISIBLE , - output_pos[10].x+230, input_pos[10].y+10,80, 30, hWnd, IDC_SHOW, hInst, NULL); - EnableWindow(hStop, FALSE); - - CreateWindow("BUTTON","0" , - WS_CHILD | WS_VISIBLE | BS_AUTORADIOBUTTON | BS_LEFTTEXT | WS_GROUP , - output_pos[4].x+50, io_pos[0].y-5+20,25,15, hWnd,IDC_CH, hInst, NULL); - - CreateWindow("BUTTON","1" , - WS_CHILD | WS_VISIBLE | BS_AUTORADIOBUTTON | BS_LEFTTEXT | WS_GROUP, - output_pos[4].x+50, io_pos[0].y+13+20,25,15, hWnd,IDC_CH+1, hInst, NULL); - - CreateWindow("BUTTON","2" , - WS_CHILD | WS_VISIBLE | BS_AUTORADIOBUTTON | BS_LEFTTEXT | WS_GROUP, - output_pos[4].x+50, io_pos[0].y+31+20,25,15, hWnd,IDC_CH+2, hInst, NULL); - - CreateWindow("BUTTON","3" , - WS_CHILD | WS_VISIBLE | BS_AUTORADIOBUTTON | BS_LEFTTEXT | WS_GROUP, - output_pos[4].x+50, io_pos[0].y+49+20,25,15, hWnd,IDC_CH+3, hInst, NULL); - - CreateWindow("BUTTON","4" , - WS_CHILD | WS_VISIBLE | BS_AUTORADIOBUTTON | BS_LEFTTEXT | WS_GROUP, - output_pos[4].x+100, io_pos[0].y-5+20,25,15, hWnd,IDC_CH+4, hInst, NULL); - - CreateWindow("BUTTON","5" , - WS_CHILD | WS_VISIBLE | BS_AUTORADIOBUTTON | BS_LEFTTEXT | WS_GROUP, - output_pos[4].x+100, io_pos[0].y+13+20,25,15, hWnd, IDC_CH+5, hInst, NULL); - - CreateWindow("BUTTON","6" , - WS_CHILD | WS_VISIBLE | BS_AUTORADIOBUTTON | BS_LEFTTEXT | WS_GROUP, - output_pos[4].x+100, io_pos[0].y+31+20,25,15, hWnd,IDC_CH+6, hInst, NULL); - - CreateWindow("BUTTON","7" , - WS_CHILD | WS_VISIBLE | BS_AUTORADIOBUTTON | BS_LEFTTEXT | WS_GROUP, - output_pos[4].x+100, io_pos[0].y+49+20,25,15, hWnd, IDC_CH+7, hInst, NULL); - - //default channel 0 - for (i=1;i<8;i++) bCheck[i]=FALSE; - bCheck[0] = TRUE; - channel = 0; - SendMessage(GetDlgItem(hWnd,IDC_CH), BM_SETCHECK, 1, 0); - - hBlackBrush= CreateSolidBrush(RGB(0,0,0)); - hRedPen= CreatePen(PS_SOLID,1,RGB(255,0,0)); - hBlackPen= CreatePen(PS_SOLID,1,RGB(0,0,0)); - break; - - case WM_PAINT: - hDC = BeginPaint(hWnd, &ps); - - // DMA analog input box - SelectObject(hDC, GetStockObject(GRAY_BRUSH)); - Rectangle(hDC, output_pos[15].x-10, io_pos[15].y-24, output_pos[0].x+26, io_pos[0].y+195); - SetTextColor(hDC,RGB(255,255,0)); - SetBkColor(hDC, RGB(0, 0, 255)); - TextOut(hDC, io_pos[15].x, io_pos[15].y-35, "DMA Input", 9); - SelectObject(hDC, hBlackBrush); - Rectangle(hDC, output_pos[15].x+35, io_pos[15].y-2, output_pos[4].x+41, io_pos[0].y+172); - - SetBkMode(hDC,TRANSPARENT); - //TextOut(hDC,output_pos[13].x+70, input_pos[10].y-40,"PostCount",9); - TextOut(hDC,output_pos[13].x-60, input_pos[10].y,"Samping Rate",12); - TextOut(hDC,output_pos[13].x+30, input_pos[15].y+20,"KHZ",3); - TextOut(hDC,output_pos[13].x+70, input_pos[10].y,"Buffer Size",11); - TextOut(hDC,input_pos[2].x-10, io_pos[15].y+118,"Range: +-5V",11); - TextOut(hDC,input_pos[15].x, io_pos[15].y-19,"Volt",4); - TextOut(hDC,input_pos[15].x, io_pos[15].y-5,"5.00",4); - TextOut(hDC,input_pos[15].x, io_pos[15].y+36,"2.50",4); - TextOut(hDC,input_pos[15].x, io_pos[15].y+77,"0.00",4); - TextOut(hDC,input_pos[15].x-3, io_pos[15].y+118,"-2.50",5); - TextOut(hDC,input_pos[15].x-3, io_pos[15].y+159,"-5.00",5); - TextOut(hDC,input_pos[10].x+10, io_pos[10].y-19,"Signals",7); - TextOut(hDC,output_pos[4].x+60, io_pos[0].y-15,"Channel",7); - EndPaint(hWnd, &ps); - break; - - // Sample Rate Spin Control - case WM_VSCROLL: - switch (LOWORD(wParam)) { - case SB_LINEUP : - sample_rate+=5000; - if (sample_rate > 50000 ) sample_rate=50000; - break; - case SB_LINEDOWN: - sample_rate-=5000; - if (sample_rate < 5000 ) sample_rate=5000; - break; - } - wsprintf(n,"%d",sample_rate/1000); - SetWindowText(hEdit,n); - break; - case WM_COMMAND: - switch(LOWORD(wParam)) { - case IDM_EXIT: - SendMessage(hWnd, WM_CLOSE, 0, 0L); - break; - case IDC_CH: - case IDC_CH+1: - case IDC_CH+2: - case IDC_CH+3: - case IDC_CH+4: - case IDC_CH+5: - case IDC_CH+6: - case IDC_CH+7: - if (!bCheck[wParam-IDC_CH]) { - SendMessage(GetDlgItem(hWnd,wParam), BM_SETCHECK, 1, 0); - SendMessage(GetDlgItem(hWnd,IDC_CH+channel), BM_SETCHECK, 0, 0); - bCheck[channel]=FALSE; - } - channel=wParam-IDC_CH; - bCheck[channel]=TRUE; - break; - case IDC_SHOW : - DialogBox(hInst, "DMABox", hWnd, ShowDMA); - break; - case IDC_START: - if (hMem != NULL) { - GlobalUnfix(hMem); - GlobalUnlock(hMem); - GlobalFree(hMem); - } - // allocate a memory for DMA - //postCount = GetDlgItemInt(hWnd,IDC_EDIT2,NULL ,FALSE); - data_size=GetDlgItemInt(hWnd,IDC_EDIT1,NULL ,FALSE); - if (data_size%512) { - wsprintf(s, "Buffer Size should be devided by 512\n", postCount+2); - MessageBox(hWnd,s,"Data Size Error", MB_OK); - break; - } - mem_size=data_size * 2; - hMem = GlobalAlloc(GMEM_FIXED | GMEM_ZEROINIT,mem_size); - - ai_buf = (U16 *)GlobalLock(hMem); - if (ai_buf == NULL ) { - MessageBox(hWnd,"DMA", "No Memory", MB_OK); - SendMessage(hWnd, WM_CLOSE, 0, 0L); - break; - } - GlobalFix(hMem); - fstop =0; - if ((err=AI_9111_Config(card,TRIG_INT_PACER, P9111_TRGMOD_POST, postCount))!= NoError) { - wsprintf(s, "AI_Config Error = %d\n", err); - MessageBox(hWnd, s, "Error", MB_OK); - SendMessage(hWnd, WM_CLOSE, 0, 0L); - break; - } - if ((err=AI_AsyncDblBufferMode (card, 1)) != NoError) { - wsprintf(s, "AI_AsyncDblBufferMode Error = %d\n", err); - MessageBox(hWnd, s, "Error", MB_OK); - SendMessage(hWnd, WM_CLOSE, 0, 0L); - break; - } - if ((err=AI_ContReadChannel(card, channel, AD_B_5_V, ai_buf, data_size, (F64)sample_rate, ASYNCH_OP)) != NoError) { - wsprintf(s, "AI_ContReadPort Error = %d\n", err); - MessageBox(hWnd, s, "Error", MB_OK); - SendMessage(hWnd, WM_CLOSE, 0, 0L); - break; - } - EnableWindow(hStart, FALSE); - EnableWindow(hStop, TRUE); - EnableWindow(hValue, FALSE); - hMainWnd = hWnd; - clear_op = FALSE; - hThread1 = (HANDLE)_beginthread(ProcessThread, 0, 0); - - MessageBeep(0); - break; - case IDC_STOP: - clear_op = TRUE; - EnableWindow(hStart, TRUE); - EnableWindow(hStop, FALSE); - EnableWindow(hValue, TRUE); - break; - default: - return(DefWindowProc(hWnd, message, wParam, lParam)); - } - break; - case WM_DESTROY: - if (card >= 0) Release_Card(card); - DeleteObject(hBlackBrush); - DeleteObject(hRedPen); - GlobalUnfix(hMem); - GlobalUnlock(hMem); - GlobalFree(hMem); - PostQuitMessage(0); - break; - default: - return(DefWindowProc(hWnd, message, wParam, lParam)); - } - return(NULL); -} - -BOOL PASCAL ShowDMA(hDlg, message, wParam, lParam) -HWND hDlg; -UINT message; -WPARAM wParam; -LPARAM lParam; -{ - int nTabs[2] = {32, 92}; - int i; - char cBuf[100]; - char string[10]=" "; - char data_str[3]=" "; - I16 *pp; - switch (message) { - case WM_INITDIALOG: - hListBox = CreateWindow("LISTBOX", "Index Data (Hex)", - WS_CHILD | WS_VISIBLE | LBS_HASSTRINGS | LBS_STANDARD | LBS_USETABSTOPS |WS_CAPTION, - 50, 40, 240, 180, hDlg, 100, hInst, NULL); - SendMessage(hListBox, LB_RESETCONTENT, 0, 0L); - SendMessage(hListBox, LB_SETTABSTOPS, 2, (DWORD)(LPINT) nTabs); - SetDlgItemText(hDlg, DMA_DESCP, "This ListBox can show at most 4000 data"); - itoa( data_size, string, 10); - SetDlgItemText(hDlg, DMA_SPACE, string); - - pp = (I16 *)ai_buf; - if (count > 4000) count = 4000; - if (!count) count = data_size; - for(i=0;i>4; - newy = io_pos[0].y+86-(87*(I16)adinput)/2048; - newx = i*336/data_size+output_pos[15].x+35; - if (i==0) - MoveToEx(hDC, newx, newy, NULL); - else - MoveToEx(hDC, oldx, oldy, NULL); - LineTo(hDC, newx, newy); - oldx = newx; - oldy = newy; - } - } - } while (!clear_op && !fstop); - err = AI_AsyncClear(card, &count); - EnableWindow(hStart, TRUE); - EnableWindow(hStop, FALSE); - EnableWindow(hValue, TRUE); - //AI_AsyncDblBufferHalfReady(card, &HalfReady, &fstop); //Get the index of working buffer of Double Buffer - //if (!HalfReady && ((count == data_size)||(count == 0))) { - //} else { - //AI_AsyncDblBufferTransfer(card, ai_buf); - SelectObject(hDC, hBlackBrush); - SelectObject(hDC, hBlackPen); - Rectangle(hDC, output_pos[15].x+35, io_pos[15].y-2, output_pos[4].x+41, io_pos[0].y+172); - SelectObject(hDC, hRedPen); - if (!count) count = data_size; - for (i=0; i>4; - newy = io_pos[0].y+86-(87*(I16)adinput)/2048; - newx = i*336/data_size+output_pos[15].x+35; - if (i==0) - MoveToEx(hDC, newx, newy, NULL); - else - MoveToEx(hDC, oldx, oldy, NULL); - LineTo(hDC, newx, newy); - oldx = newx; - oldy = newy; - } - //} - ReleaseDC(hMainWnd, hDC); - _endthread(); -} - \ No newline at end of file diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9111/SDK9111DbfPostTrg/9111PostTg.dsp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9111/SDK9111DbfPostTrg/9111PostTg.dsp deleted file mode 100644 index 3b069db..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9111/SDK9111DbfPostTrg/9111PostTg.dsp +++ /dev/null @@ -1,110 +0,0 @@ -# Microsoft Developer Studio Project File - Name="9111PostTg" - Package Owner=<4> -# Microsoft Developer Studio Generated Build File, Format Version 5.00 -# ** DO NOT EDIT ** - -# TARGTYPE "Win32 (x86) Application" 0x0101 - -CFG=9111PostTg - Win32 Release -!MESSAGE This is not a valid makefile. To build this project using NMAKE, -!MESSAGE use the Export Makefile command and run -!MESSAGE -!MESSAGE NMAKE /f "9111PostTg.mak". -!MESSAGE -!MESSAGE You can specify a configuration when running NMAKE -!MESSAGE by defining the macro CFG on the command line. For example: -!MESSAGE -!MESSAGE NMAKE /f "9111PostTg.mak" CFG="9111PostTg - Win32 Release" -!MESSAGE -!MESSAGE Possible choices for configuration are: -!MESSAGE -!MESSAGE "9111PostTg - Win32 Release" (based on "Win32 (x86) Application") -!MESSAGE "9111PostTg - Win32 Debug" (based on "Win32 (x86) Application") -!MESSAGE - -# Begin Project -# PROP Scc_ProjName "" -# PROP Scc_LocalPath "" -CPP=cl.exe -MTL=midl.exe -RSC=rc.exe - -!IF "$(CFG)" == "9111PostTg - Win32 Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir ".\Release" -# PROP BASE Intermediate_Dir ".\Release" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "" -# PROP Intermediate_Dir ".\Release" -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /YX /c -# ADD CPP /nologo /MT /W3 /GX /Od /I "..\..\..\include" /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /FD /c -# SUBTRACT CPP /YX -# ADD BASE MTL /nologo /D "NDEBUG" /win32 -# ADD MTL /nologo /D "NDEBUG" /mktyplib203 /win32 -# ADD BASE RSC /l 0x409 /d "NDEBUG" -# ADD RSC /l 0x409 /d "NDEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:windows /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ..\..\..\lib\pci-dask.lib /nologo /subsystem:windows /machine:I386 - -!ELSEIF "$(CFG)" == "9111PostTg - Win32 Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir ".\Debug" -# PROP BASE Intermediate_Dir ".\Debug" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir ".\Debug" -# PROP Intermediate_Dir ".\Debug" -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /Gm /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /YX /c -# ADD CPP /nologo /MTd /W3 /Gm /GX /Zi /Od /I "..\..\..\include" /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /FD /c -# SUBTRACT CPP /YX -# ADD BASE MTL /nologo /D "_DEBUG" /win32 -# ADD MTL /nologo /D "_DEBUG" /mktyplib203 /win32 -# ADD BASE RSC /l 0x409 /d "_DEBUG" -# ADD RSC /l 0x409 /d "_DEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:windows /debug /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ..\..\..\lib\pci-dask.lib /nologo /subsystem:windows /debug /machine:I386 - -!ENDIF - -# Begin Target - -# Name "9111PostTg - Win32 Release" -# Name "9111PostTg - Win32 Debug" -# Begin Group "Source Files" - -# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;hpj;bat;for;f90" -# Begin Source File - -SOURCE=.\9111PostTg.c -# End Source File -# Begin Source File - -SOURCE=.\9111PostTg.rc -# End Source File -# End Group -# Begin Group "Header Files" - -# PROP Default_Filter "h;hpp;hxx;hm;inl;fi;fd" -# End Group -# Begin Group "Resource Files" - -# PROP Default_Filter "ico;cur;bmp;dlg;rc2;rct;bin;cnt;rtf;gif;jpg;jpeg;jpe" -# End Group -# End Target -# End Project diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9111/SDK9111DbfPostTrg/9111PostTg.dsw b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9111/SDK9111DbfPostTrg/9111PostTg.dsw deleted file mode 100644 index 2a60bc1..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9111/SDK9111DbfPostTrg/9111PostTg.dsw +++ /dev/null @@ -1,29 +0,0 @@ -Microsoft Developer Studio Workspace File, Format Version 5.00 -# WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE! - -############################################################################### - -Project: "9111PostTg"=.\9111PostTg.dsp - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ -}}} - -############################################################################### - -Global: - -Package=<5> -{{{ -}}} - -Package=<3> -{{{ -}}} - -############################################################################### - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9111/SDK9111DbfPostTrg/9111PostTg.exe b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9111/SDK9111DbfPostTrg/9111PostTg.exe deleted file mode 100644 index cf8a063..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9111/SDK9111DbfPostTrg/9111PostTg.exe and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9111/SDK9111DbfPostTrg/9111PostTg.rc b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9111/SDK9111DbfPostTrg/9111PostTg.rc deleted file mode 100644 index 1efaf13..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9111/SDK9111DbfPostTrg/9111PostTg.rc +++ /dev/null @@ -1,126 +0,0 @@ -//Microsoft Developer Studio generated resource script. -// -#include "resource.h" - -#define APSTUDIO_READONLY_SYMBOLS -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 2 resource. -// -#define APSTUDIO_HIDDEN_SYMBOLS -#include "windows.h" -#undef APSTUDIO_HIDDEN_SYMBOLS - -///////////////////////////////////////////////////////////////////////////// -#undef APSTUDIO_READONLY_SYMBOLS - -///////////////////////////////////////////////////////////////////////////// -// English (U.S.) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -#ifdef _WIN32 -LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US -#pragma code_page(1252) -#endif //_WIN32 - -///////////////////////////////////////////////////////////////////////////// -// -// Menu -// - -U7120MENU MENU DISCARDABLE -BEGIN - MENUITEM "E&xit!", IDM_EXIT -END - - -#ifdef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// TEXTINCLUDE -// - -1 TEXTINCLUDE DISCARDABLE -BEGIN - "resource.h\0" -END - -2 TEXTINCLUDE DISCARDABLE -BEGIN - "#define APSTUDIO_HIDDEN_SYMBOLS\r\n" - "#include ""windows.h""\r\n" - "#undef APSTUDIO_HIDDEN_SYMBOLS\r\n" - "\0" -END - -3 TEXTINCLUDE DISCARDABLE -BEGIN - "\r\n" - "\0" -END - -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog -// - -DMABOX DIALOG DISCARDABLE 18, 10, 171, 169 -STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "Data Value (half of circular buffer)" -FONT 8, "System" -BEGIN - PUSHBUTTON "STOP",ID_STOP,82,147,24,14 - LTEXT "Data Transferred :",-1,39,119,64,8 - LTEXT "Text",DMA_SPACE,103,118,41,8 - LTEXT "Text",DMA_DESCP,16,6,158,8 -END - -IDD_DIALOG2 DIALOG DISCARDABLE 110, 10, 107, 51 -STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "Card Number" -FONT 10, "System" -BEGIN - DEFPUSHBUTTON "OK",IDOK,7,30,37,14 - PUSHBUTTON "Cancel",IDCANCEL,60,30,38,14 - LTEXT "Card Number",IDC_CARDNUM,2,7,43,14 - COMBOBOX IDC_COMBO1,49,7,51,83,CBS_DROPDOWN | CBS_SORT | - WS_VSCROLL | WS_TABSTOP -END - - -///////////////////////////////////////////////////////////////////////////// -// -// DESIGNINFO -// - -#ifdef APSTUDIO_INVOKED -GUIDELINES DESIGNINFO DISCARDABLE -BEGIN - IDD_DIALOG2, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 100 - TOPMARGIN, 7 - BOTTOMMARGIN, 44 - END -END -#endif // APSTUDIO_INVOKED - -#endif // English (U.S.) resources -///////////////////////////////////////////////////////////////////////////// - - - -#ifndef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 3 resource. -// - - -///////////////////////////////////////////////////////////////////////////// -#endif // not APSTUDIO_INVOKED - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9111/SDK9111DbfPostTrg/resource.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9111/SDK9111DbfPostTrg/resource.h deleted file mode 100644 index 9c592f1..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9111/SDK9111DbfPostTrg/resource.h +++ /dev/null @@ -1,26 +0,0 @@ -//{{NO_DEPENDENCIES}} -// Microsoft Developer Studio generated include file. -// Used by 9111PrTg.rc -// -#define IDM_SETUP 101 -#define IDD_DIALOG1 101 -#define IDD_DIALOG2 104 -#define IDM_EXIT 110 -#define ID_CARDNUMBER 122 -#define ID_STOP 304 -#define DMA_SPACE 500 -#define DMA_DESCP 600 -#define IDC_COMBO1 1001 -#define IDC_CARDNUM 1002 -#define IDC_STATIC -1 - -// Next default values for new objects -// -#ifdef APSTUDIO_INVOKED -#ifndef APSTUDIO_READONLY_SYMBOLS -#define _APS_NEXT_RESOURCE_VALUE 106 -#define _APS_NEXT_COMMAND_VALUE 123 -#define _APS_NEXT_CONTROL_VALUE 1002 -#define _APS_NEXT_SYMED_VALUE 101 -#endif -#endif diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9111/SDK9111DbfPreTrg/9111PrTg.c b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9111/SDK9111DbfPreTrg/9111PrTg.c deleted file mode 100644 index b1ac013..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9111/SDK9111DbfPreTrg/9111PrTg.c +++ /dev/null @@ -1,542 +0,0 @@ -#include -#include -#include -#include -#include -#include -#include "resource.h" -#include "Dask.h" - -#define IDM_EXIT 110 -#define IDC_SCROLL 207 -#define IDC_SPIN 301 -#define IDC_START 208 -#define IDC_STOP 209 -#define IDC_EDIT 211 -#define IDC_EDIT1 214 -#define IDC_EDIT2 215 -#define IDC_SHOW 213 -#define IDC_CH 400 - -int PASCAL WinMain(HANDLE, HANDLE, LPSTR, int); -long PASCAL MainWndProc(HWND, UINT, WPARAM, LPARAM); -BOOL PASCAL ShowDMA(HWND, UINT, WPARAM, LPARAM); - -HANDLE hInst; -HWND hListBox; -HWND hEdit,hEdit1, hEdit2, hStart, hStop, hValue; -BOOL bCheck[8]; - -HBRUSH hBlackBrush; -HPEN hRedPen, hBlackPen; -HWND hMainWnd; - -unsigned int sample_rate=40000; -U16 channel; -BOOLEAN fstop, HalfReady; -U32 data_size=1024, mem_size; -static HANDLE hMem=NULL; -HANDLE hThread1; -I16 *ai_buf; -I16 card=-1, card_number = 0; -U32 count, postCount = 512; -BOOLEAN clear_op; - -POINT input_pos[16]= {{470, 280}, {440, 280}, - {410, 280}, {380, 280}, - {350, 280}, {320, 280}, - { 290, 280}, {260, 280}, - {230, 280}, {200, 280}, - {170, 280}, {140, 280}, - {110, 280}, {80, 280}, - { 50, 280}, { 20, 280}, - }; -POINT output_pos[16] ={ - {470, 340}, {440, 340}, - {410, 340}, {380, 340}, - {350, 340}, {320, 340}, - { 290, 340}, {260, 340}, - {230, 340}, {200, 340}, - {170, 340}, {140, 340}, - {110, 340}, {80, 340}, - { 50, 340}, { 20, 340}, - }; - -POINT io_pos[16] ={ - {395, 40}, {370, 40}, - {345, 40}, {320, 40}, - {295, 40}, {270, 40}, - { 245, 40}, {220, 40}, - {195, 40}, {170, 40}, - {145, 40}, {120, 40}, - {95, 40}, {70, 40}, - { 45, 40}, { 20, 40}, - }; - -BOOL InitApplication(HANDLE); -BOOL InitInstance(HANDLE, int); -void ProcessThread(void* pArg); - -int PASCAL WinMain(hInstance, hPrevInstance, lpCmdLine, nCmdShow) -HANDLE hInstance, hPrevInstance; -LPSTR lpCmdLine; -int nCmdShow; -{ - MSG msg; - - if (!hPrevInstance) - if (!InitApplication(hInstance)) return(FALSE); - if (!InitInstance(hInstance, nCmdShow)) return(FALSE); - while (GetMessage(&msg, NULL, NULL, NULL)) { - TranslateMessage(&msg); - DispatchMessage(&msg); - } - return(msg.wParam); -} - -BOOL InitApplication(hInstance) -HANDLE hInstance; -{ - WNDCLASS wc; - - /* Main Window Class */ - wc.style = NULL; - wc.lpfnWndProc = (WNDPROC)MainWndProc; - wc.cbClsExtra = 0; - wc.cbWndExtra = 0; - wc.hInstance = hInstance; - wc.hIcon = LoadIcon(hInstance, "MyIcon"); - wc.hCursor = LoadCursor(NULL, IDC_ARROW); - wc.hbrBackground = GetStockObject(LTGRAY_BRUSH); - wc.lpszMenuName = NULL; - wc.lpszClassName = "GenericWClass"; - if (!RegisterClass(&wc)) return(FALSE); -} - - -BOOL InitInstance(hInstance, nCmdShow) -HANDLE hInstance; -int nCmdShow; -{ - HWND hWnd; - HMENU hSampleMenu; - - hInst = hInstance; - hSampleMenu = LoadMenu(hInstance, "U7120Menu"); - hWnd = CreateWindow("GenericWClass", - (LPCSTR)"PCI-9111 Double Buffered Interrupt with About Trigger Mode", - WS_OVERLAPPEDWINDOW, - CW_USEDEFAULT, - CW_USEDEFAULT, - 520, - 400, - NULL, - hSampleMenu, - hInstance, - NULL); - if (!hWnd) return(FALSE); - ShowWindow(hWnd, nCmdShow); - UpdateWindow(hWnd); - return(TRUE); -} - -BOOL PASCAL setup(HWND hWnd, unsigned message, WPARAM wParam, LPARAM lParam) -{ - int i,k; - char n[16]; - char s[50]; - switch (message) { - case WM_INITDIALOG: - for (i=0;i<16;i++) { - wsprintf(n, "%d", i); - _strupr(n); - SendMessage(GetDlgItem(hWnd,IDC_COMBO1), CB_ADDSTRING, NULL, (LONG)(LPSTR) n); - } - SendMessage(GetDlgItem(hWnd,IDC_COMBO1) , CB_SETCURSEL, 0, 0L); - break; - case WM_COMMAND: - switch(LOWORD(wParam)) { - case IDC_COMBO1: - if (HIWORD(wParam) == CBN_CLOSEUP) { - i = (int)SendMessage(GetDlgItem(hWnd,IDC_COMBO1), CB_GETCURSEL, 0, 0L); - SendMessage(GetDlgItem(hWnd,IDC_COMBO1), CB_GETLBTEXT, i, (LPARAM)((LPCSTR)n)); - card_number = i; - } - return(TRUE); - case IDOK: - if(card <0) { - if ((card=Register_Card(PCI_9111DG, card_number))< 0) { - wsprintf(s, "Register_Card Error = %d\n", card); - MessageBox(hWnd, s, "Error", MB_OK); - SendMessage(hWnd, WM_CLOSE, 0, 0L); - break; - } - } - EndDialog(hWnd, TRUE); - InvalidateRect(hWnd, NULL, FALSE); - return (TRUE); - case IDCANCEL: - EndDialog(hWnd, TRUE); - return (TRUE); - } - break; - } - return (FALSE); -} - -long PASCAL MainWndProc(hWnd, message, wParam, lParam) -HWND hWnd; -UINT message; -WPARAM wParam; -LPARAM lParam; -{ - HDC hDC; - PAINTSTRUCT ps; - int i; - char n[6]; - static int pos=0; - I16 err; - char s[50]; - - switch(message) { - case WM_CREATE: - - DialogBox(hInst,IDD_DIALOG2, hWnd, setup); - if(card<0) { - SendMessage(hWnd, WM_CLOSE, 0, 0L); - break; - } - hEdit=CreateWindow("EDIT", NULL, - WS_CHILD | WS_VISIBLE | ES_LEFT, - output_pos[13].x-30, input_pos[15].y+20,40, 20, hWnd, IDC_EDIT, hInst, NULL); - - hEdit1=CreateWindow("EDIT", NULL, - WS_CHILD | WS_VISIBLE | ES_LEFT, - output_pos[13].x+90, input_pos[15].y+20,60, 20, hWnd, IDC_EDIT1, hInst, NULL); - - hEdit2=CreateWindow("EDIT", NULL, - WS_CHILD | WS_VISIBLE | ES_LEFT, - output_pos[13].x+90, input_pos[15].y-20,60, 20, hWnd, IDC_EDIT2, hInst, NULL); - - wsprintf(n,"%d",sample_rate/1000); - SetWindowText(hEdit,n); - - wsprintf(n,"%d",data_size); - SetWindowText(hEdit1,n); - - wsprintf(n,"%d",postCount); - SetWindowText(hEdit2,n); - - CreateWindow("SCROLLBAR", NULL, - WS_CHILD | WS_VISIBLE | SBS_VERT, - output_pos[13].x+10, input_pos[15].y+20,20, 20, hWnd, IDC_SCROLL, hInst, NULL); - - hStart = CreateWindow("BUTTON","Start" , - WS_CHILD | WS_VISIBLE , - output_pos[10].x+110, input_pos[10].y+10,50, 30, hWnd, IDC_START, hInst, NULL); - - hStop = CreateWindow("BUTTON","Stop" , - WS_CHILD | WS_VISIBLE , - output_pos[10].x+170, input_pos[10].y+10,50, 30, hWnd, IDC_STOP, hInst, NULL); - - hValue = CreateWindow("BUTTON","Data Value" , - WS_CHILD | WS_VISIBLE , - output_pos[10].x+230, input_pos[10].y+10,80, 30, hWnd, IDC_SHOW, hInst, NULL); - EnableWindow(hStop, FALSE); - - CreateWindow("BUTTON","0" , - WS_CHILD | WS_VISIBLE | BS_AUTORADIOBUTTON | BS_LEFTTEXT | WS_GROUP , - output_pos[4].x+50, io_pos[0].y-5+20,25,15, hWnd,IDC_CH, hInst, NULL); - - CreateWindow("BUTTON","1" , - WS_CHILD | WS_VISIBLE | BS_AUTORADIOBUTTON | BS_LEFTTEXT | WS_GROUP, - output_pos[4].x+50, io_pos[0].y+13+20,25,15, hWnd,IDC_CH+1, hInst, NULL); - - CreateWindow("BUTTON","2" , - WS_CHILD | WS_VISIBLE | BS_AUTORADIOBUTTON | BS_LEFTTEXT | WS_GROUP, - output_pos[4].x+50, io_pos[0].y+31+20,25,15, hWnd,IDC_CH+2, hInst, NULL); - - CreateWindow("BUTTON","3" , - WS_CHILD | WS_VISIBLE | BS_AUTORADIOBUTTON | BS_LEFTTEXT | WS_GROUP, - output_pos[4].x+50, io_pos[0].y+49+20,25,15, hWnd,IDC_CH+3, hInst, NULL); - - CreateWindow("BUTTON","4" , - WS_CHILD | WS_VISIBLE | BS_AUTORADIOBUTTON | BS_LEFTTEXT | WS_GROUP, - output_pos[4].x+100, io_pos[0].y-5+20,25,15, hWnd,IDC_CH+4, hInst, NULL); - - CreateWindow("BUTTON","5" , - WS_CHILD | WS_VISIBLE | BS_AUTORADIOBUTTON | BS_LEFTTEXT | WS_GROUP, - output_pos[4].x+100, io_pos[0].y+13+20,25,15, hWnd, IDC_CH+5, hInst, NULL); - - CreateWindow("BUTTON","6" , - WS_CHILD | WS_VISIBLE | BS_AUTORADIOBUTTON | BS_LEFTTEXT | WS_GROUP, - output_pos[4].x+100, io_pos[0].y+31+20,25,15, hWnd,IDC_CH+6, hInst, NULL); - - CreateWindow("BUTTON","7" , - WS_CHILD | WS_VISIBLE | BS_AUTORADIOBUTTON | BS_LEFTTEXT | WS_GROUP, - output_pos[4].x+100, io_pos[0].y+49+20,25,15, hWnd, IDC_CH+7, hInst, NULL); - - //default channel 0 - for (i=1;i<8;i++) bCheck[i]=FALSE; - bCheck[0] = TRUE; - channel = 0; - SendMessage(GetDlgItem(hWnd,IDC_CH), BM_SETCHECK, 1, 0); - - hBlackBrush= CreateSolidBrush(RGB(0,0,0)); - hRedPen= CreatePen(PS_SOLID,1,RGB(255,0,0)); - hBlackPen= CreatePen(PS_SOLID,1,RGB(0,0,0)); - break; - - case WM_PAINT: - hDC = BeginPaint(hWnd, &ps); - - // DMA analog input box - SelectObject(hDC, GetStockObject(GRAY_BRUSH)); - Rectangle(hDC, output_pos[15].x-10, io_pos[15].y-24, output_pos[0].x+26, io_pos[0].y+195); - SetTextColor(hDC,RGB(255,255,0)); - SetBkColor(hDC, RGB(0, 0, 255)); - TextOut(hDC, io_pos[15].x, io_pos[15].y-35, "DMA Input", 9); - SelectObject(hDC, hBlackBrush); - Rectangle(hDC, output_pos[15].x+35, io_pos[15].y-2, output_pos[4].x+41, io_pos[0].y+172); - - SetBkMode(hDC,TRANSPARENT); - TextOut(hDC,output_pos[13].x+70, input_pos[10].y-40,"PostCount",9); - TextOut(hDC,output_pos[13].x-60, input_pos[10].y,"Samping Rate",12); - TextOut(hDC,output_pos[13].x+30, input_pos[15].y+20,"KHZ",3); - TextOut(hDC,output_pos[13].x+70, input_pos[10].y,"Buffer Size",11); - TextOut(hDC,input_pos[2].x-10, io_pos[15].y+118,"Range: +-5V",11); - TextOut(hDC,input_pos[15].x, io_pos[15].y-19,"Volt",4); - TextOut(hDC,input_pos[15].x, io_pos[15].y-5,"5.00",4); - TextOut(hDC,input_pos[15].x, io_pos[15].y+36,"2.50",4); - TextOut(hDC,input_pos[15].x, io_pos[15].y+77,"0.00",4); - TextOut(hDC,input_pos[15].x-3, io_pos[15].y+118,"-2.50",5); - TextOut(hDC,input_pos[15].x-3, io_pos[15].y+159,"-5.00",5); - TextOut(hDC,input_pos[10].x+10, io_pos[10].y-19,"Signals",7); - TextOut(hDC,output_pos[4].x+60, io_pos[0].y-15,"Channel",7); - EndPaint(hWnd, &ps); - break; - - // Sample Rate Spin Control - case WM_VSCROLL: - switch (LOWORD(wParam)) { - case SB_LINEUP : - sample_rate+=5000; - if (sample_rate > 50000 ) sample_rate=50000; - break; - case SB_LINEDOWN: - sample_rate-=5000; - if (sample_rate < 5000 ) sample_rate=5000; - break; - } - wsprintf(n,"%d",sample_rate/1000); - SetWindowText(hEdit,n); - break; - case WM_COMMAND: - switch(LOWORD(wParam)) { - case IDM_EXIT: - SendMessage(hWnd, WM_CLOSE, 0, 0L); - break; - case IDC_CH: - case IDC_CH+1: - case IDC_CH+2: - case IDC_CH+3: - case IDC_CH+4: - case IDC_CH+5: - case IDC_CH+6: - case IDC_CH+7: - if (!bCheck[wParam-IDC_CH]) { - SendMessage(GetDlgItem(hWnd,wParam), BM_SETCHECK, 1, 0); - SendMessage(GetDlgItem(hWnd,IDC_CH+channel), BM_SETCHECK, 0, 0); - bCheck[channel]=FALSE; - } - channel=wParam-IDC_CH; - bCheck[channel]=TRUE; - break; - case IDC_SHOW : - DialogBox(hInst, "DMABox", hWnd, ShowDMA); - break; - case IDC_START: - if (hMem != NULL) { - GlobalUnfix(hMem); - GlobalUnlock(hMem); - GlobalFree(hMem); - } - // allocate a memory for DMA - postCount = GetDlgItemInt(hWnd,IDC_EDIT2,NULL ,FALSE); - data_size=GetDlgItemInt(hWnd,IDC_EDIT1,NULL ,FALSE); - if (data_size%512) { - wsprintf(s, "Buffer Size should be devided by 512\n", postCount+2); - MessageBox(hWnd,s,"Data Size Error", MB_OK); - break; - } - mem_size=data_size * 2; - hMem = GlobalAlloc(GMEM_FIXED | GMEM_ZEROINIT,mem_size); - - ai_buf = (U16 *)GlobalLock(hMem); - if (ai_buf == NULL ) { - MessageBox(hWnd,"DMA", "No Memory", MB_OK); - SendMessage(hWnd, WM_CLOSE, 0, 0L); - break; - } - GlobalFix(hMem); - fstop =0; - if ((err=AI_9111_Config(card,TRIG_INT_PACER, 1, postCount))!= NoError) { - wsprintf(s, "AI_Config Error = %d\n", err); - MessageBox(hWnd, s, "Error", MB_OK); - SendMessage(hWnd, WM_CLOSE, 0, 0L); - break; - } - if ((err=AI_AsyncDblBufferMode (card, 1)) != NoError) { - wsprintf(s, "AI_AsyncDblBufferMode Error = %d\n", err); - MessageBox(hWnd, s, "Error", MB_OK); - SendMessage(hWnd, WM_CLOSE, 0, 0L); - break; - } - if ((err=AI_ContReadChannel(card, channel, AD_B_5_V, ai_buf, data_size, (F64)sample_rate, ASYNCH_OP)) != NoError) { - wsprintf(s, "AI_ContReadPort Error = %d\n", err); - MessageBox(hWnd, s, "Error", MB_OK); - SendMessage(hWnd, WM_CLOSE, 0, 0L); - break; - } - EnableWindow(hStart, FALSE); - EnableWindow(hStop, TRUE); - EnableWindow(hValue, FALSE); - hMainWnd = hWnd; - clear_op = FALSE; - hThread1 = (HANDLE)_beginthread(ProcessThread, 0, 0); - - MessageBeep(0); - break; - case IDC_STOP: - clear_op = TRUE; - EnableWindow(hStart, TRUE); - EnableWindow(hStop, FALSE); - EnableWindow(hValue, TRUE); - break; - default: - return(DefWindowProc(hWnd, message, wParam, lParam)); - } - break; - case WM_DESTROY: - if (card >= 0) Release_Card(card); - DeleteObject(hBlackBrush); - DeleteObject(hRedPen); - GlobalUnfix(hMem); - GlobalUnlock(hMem); - GlobalFree(hMem); - PostQuitMessage(0); - break; - default: - return(DefWindowProc(hWnd, message, wParam, lParam)); - } - return(NULL); -} - -BOOL PASCAL ShowDMA(hDlg, message, wParam, lParam) -HWND hDlg; -UINT message; -WPARAM wParam; -LPARAM lParam; -{ - int nTabs[2] = {32, 92}; - int i; - char cBuf[100]; - char string[10]=" "; - char data_str[3]=" "; - I16 *pp; - switch (message) { - case WM_INITDIALOG: - hListBox = CreateWindow("LISTBOX", "Index Data (Hex)", - WS_CHILD | WS_VISIBLE | LBS_HASSTRINGS | LBS_STANDARD | LBS_USETABSTOPS |WS_CAPTION, - 50, 40, 240, 180, hDlg, 100, hInst, NULL); - SendMessage(hListBox, LB_RESETCONTENT, 0, 0L); - SendMessage(hListBox, LB_SETTABSTOPS, 2, (DWORD)(LPINT) nTabs); - SetDlgItemText(hDlg, DMA_DESCP, "This ListBox can show at most 4000 data"); - itoa( data_size, string, 10); - SetDlgItemText(hDlg, DMA_SPACE, string); - - pp = (I16 *)ai_buf; - if (count > 4000) count = 4000; - if (!count) count = data_size; - for(i=0;i>4; - newy = io_pos[0].y+86-(87*(I16)adinput)/2048; - newx = i*336/data_size+output_pos[15].x+35; - if (i==0) - MoveToEx(hDC, newx, newy, NULL); - else - MoveToEx(hDC, oldx, oldy, NULL); - LineTo(hDC, newx, newy); - oldx = newx; - oldy = newy; - } - } - } while (!clear_op && !fstop); - EnableWindow(hStart, TRUE); - EnableWindow(hStop, FALSE); - EnableWindow(hValue, TRUE); - AI_AsyncDblBufferHalfReady(card, &HalfReady, &fstop); //Get the index of working buffer of Double Buffer - AI_AsyncClear(card, &count); - if (!HalfReady && ((count == data_size)||(count == 0))) { - } else { - AI_AsyncDblBufferTransfer(card, ai_buf); - SelectObject(hDC, hBlackBrush); - SelectObject(hDC, hBlackPen); - Rectangle(hDC, output_pos[15].x+35, io_pos[15].y-2, output_pos[4].x+41, io_pos[0].y+172); - SelectObject(hDC, hRedPen); - if (!count) count = data_size; - for (i=0; i>4; - newy = io_pos[0].y+86-(87*(I16)adinput)/2048; - newx = i*336/data_size+output_pos[15].x+35; - if (i==0) - MoveToEx(hDC, newx, newy, NULL); - else - MoveToEx(hDC, oldx, oldy, NULL); - LineTo(hDC, newx, newy); - oldx = newx; - oldy = newy; - } - } - ReleaseDC(hMainWnd, hDC); - _endthread(); -} - \ No newline at end of file diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9111/SDK9111DbfPreTrg/9111PrTg.exe b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9111/SDK9111DbfPreTrg/9111PrTg.exe deleted file mode 100644 index 53a5991..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9111/SDK9111DbfPreTrg/9111PrTg.exe and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9111/SDK9111DbfPreTrg/9111PrTg.mak b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9111/SDK9111DbfPreTrg/9111PrTg.mak deleted file mode 100644 index 7c13dff..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9111/SDK9111DbfPreTrg/9111PrTg.mak +++ /dev/null @@ -1,219 +0,0 @@ -# Microsoft Developer Studio Generated NMAKE File, Format Version 4.00 -# ** DO NOT EDIT ** - -# TARGTYPE "Win32 (x86) Application" 0x0101 - -!IF "$(CFG)" == "" -CFG=9111PrTg - Win32 Debug -!MESSAGE No configuration specified. Defaulting to 9111PrTg - Win32 Debug. -!ENDIF - -!IF "$(CFG)" != "9111PrTg - Win32 Release" && "$(CFG)" !=\ - "9111PrTg - Win32 Debug" -!MESSAGE Invalid configuration "$(CFG)" specified. -!MESSAGE You can specify a configuration when running NMAKE on this makefile -!MESSAGE by defining the macro CFG on the command line. For example: -!MESSAGE -!MESSAGE NMAKE /f "9111PrTg.mak" CFG="9111PrTg - Win32 Debug" -!MESSAGE -!MESSAGE Possible choices for configuration are: -!MESSAGE -!MESSAGE "9111PrTg - Win32 Release" (based on "Win32 (x86) Application") -!MESSAGE "9111PrTg - Win32 Debug" (based on "Win32 (x86) Application") -!MESSAGE -!ERROR An invalid configuration is specified. -!ENDIF - -!IF "$(OS)" == "Windows_NT" -NULL= -!ELSE -NULL=nul -!ENDIF -################################################################################ -# Begin Project -# PROP Target_Last_Scanned "9111PrTg - Win32 Debug" -RSC=rc.exe -CPP=cl.exe -MTL=mktyplib.exe - -!IF "$(CFG)" == "9111PrTg - Win32 Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "Release" -# PROP BASE Intermediate_Dir "Release" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "" -# PROP Intermediate_Dir "Release" -# PROP Target_Dir "" -OUTDIR=. -INTDIR=.\Release - -ALL : "$(OUTDIR)\9111PrTg.exe" - -CLEAN : - -@erase ".\9111PrTg.exe" - -@erase ".\Release\9111PrTg.obj" - -@erase ".\Release\9111PrTg.res" - -"$(INTDIR)" : - if not exist "$(INTDIR)/$(NULL)" mkdir "$(INTDIR)" - -# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /YX /c -# ADD CPP /nologo /MT /W3 /GX /Od /I "..\..\..\include" /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /c -# SUBTRACT CPP /YX -CPP_PROJ=/nologo /MT /W3 /GX /Od /I "..\..\..\include" /D "WIN32" /D "NDEBUG"\ - /D "_WINDOWS" /Fo"$(INTDIR)/" /c -CPP_OBJS=.\Release/ -CPP_SBRS= -# ADD BASE MTL /nologo /D "NDEBUG" /win32 -# ADD MTL /nologo /D "NDEBUG" /win32 -MTL_PROJ=/nologo /D "NDEBUG" /win32 -# ADD BASE RSC /l 0x409 /d "NDEBUG" -# ADD RSC /l 0x409 /d "NDEBUG" -RSC_PROJ=/l 0x409 /fo"$(INTDIR)/9111PrTg.res" /d "NDEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -BSC32_FLAGS=/nologo /o"$(OUTDIR)/9111PrTg.bsc" -BSC32_SBRS= -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:windows /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ..\..\..\lib\pci-dask.lib /nologo /subsystem:windows /machine:I386 -LINK32_FLAGS=kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib\ - advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib\ - odbccp32.lib ..\..\..\lib\pci-dask.lib /nologo /subsystem:windows\ - /incremental:no /pdb:"$(OUTDIR)/9111PrTg.pdb" /machine:I386\ - /out:"$(OUTDIR)/9111PrTg.exe" -LINK32_OBJS= \ - "$(INTDIR)/9111PrTg.obj" \ - "$(INTDIR)/9111PrTg.res" - -"$(OUTDIR)\9111PrTg.exe" : "$(OUTDIR)" $(DEF_FILE) $(LINK32_OBJS) - $(LINK32) @<< - $(LINK32_FLAGS) $(LINK32_OBJS) -<< - -!ELSEIF "$(CFG)" == "9111PrTg - Win32 Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "Debug" -# PROP BASE Intermediate_Dir "Debug" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "Debug" -# PROP Intermediate_Dir "Debug" -# PROP Target_Dir "" -OUTDIR=.\Debug -INTDIR=.\Debug - -ALL : "$(OUTDIR)\9111PrTg.exe" - -CLEAN : - -@erase ".\Debug\vc40.pdb" - -@erase ".\Debug\vc40.idb" - -@erase ".\Debug\9111PrTg.exe" - -@erase ".\Debug\9111PrTg.obj" - -@erase ".\Debug\9111PrTg.res" - -@erase ".\Debug\9111PrTg.ilk" - -@erase ".\Debug\9111PrTg.pdb" - -"$(OUTDIR)" : - if not exist "$(OUTDIR)/$(NULL)" mkdir "$(OUTDIR)" - -# ADD BASE CPP /nologo /W3 /Gm /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /YX /c -# ADD CPP /nologo /MTd /W3 /Gm /GX /Zi /Od /I "..\..\..\include" /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /c -# SUBTRACT CPP /YX -CPP_PROJ=/nologo /MTd /W3 /Gm /GX /Zi /Od /I "..\..\..\include" /D "WIN32" /D\ - "_DEBUG" /D "_WINDOWS" /Fo"$(INTDIR)/" /Fd"$(INTDIR)/" /c -CPP_OBJS=.\Debug/ -CPP_SBRS= -# ADD BASE MTL /nologo /D "_DEBUG" /win32 -# ADD MTL /nologo /D "_DEBUG" /win32 -MTL_PROJ=/nologo /D "_DEBUG" /win32 -# ADD BASE RSC /l 0x409 /d "_DEBUG" -# ADD RSC /l 0x409 /d "_DEBUG" -RSC_PROJ=/l 0x409 /fo"$(INTDIR)/9111PrTg.res" /d "_DEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -BSC32_FLAGS=/nologo /o"$(OUTDIR)/9111PrTg.bsc" -BSC32_SBRS= -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:windows /debug /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ..\..\..\lib\pci-dask.lib /nologo /subsystem:windows /debug /machine:I386 -LINK32_FLAGS=kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib\ - advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib\ - odbccp32.lib ..\..\..\lib\pci-dask.lib /nologo /subsystem:windows\ - /incremental:yes /pdb:"$(OUTDIR)/9111PrTg.pdb" /debug /machine:I386\ - /out:"$(OUTDIR)/9111PrTg.exe" -LINK32_OBJS= \ - "$(INTDIR)/9111PrTg.obj" \ - "$(INTDIR)/9111PrTg.res" - -"$(OUTDIR)\9111PrTg.exe" : "$(OUTDIR)" $(DEF_FILE) $(LINK32_OBJS) - $(LINK32) @<< - $(LINK32_FLAGS) $(LINK32_OBJS) -<< - -!ENDIF - -.c{$(CPP_OBJS)}.obj: - $(CPP) $(CPP_PROJ) $< - -.cpp{$(CPP_OBJS)}.obj: - $(CPP) $(CPP_PROJ) $< - -.cxx{$(CPP_OBJS)}.obj: - $(CPP) $(CPP_PROJ) $< - -.c{$(CPP_SBRS)}.sbr: - $(CPP) $(CPP_PROJ) $< - -.cpp{$(CPP_SBRS)}.sbr: - $(CPP) $(CPP_PROJ) $< - -.cxx{$(CPP_SBRS)}.sbr: - $(CPP) $(CPP_PROJ) $< - -################################################################################ -# Begin Target - -# Name "9111PrTg - Win32 Release" -# Name "9111PrTg - Win32 Debug" - -!IF "$(CFG)" == "9111PrTg - Win32 Release" - -!ELSEIF "$(CFG)" == "9111PrTg - Win32 Debug" - -!ENDIF - -################################################################################ -# Begin Source File - -SOURCE=.\9111PrTg.rc - -"$(INTDIR)\9111PrTg.res" : $(SOURCE) "$(INTDIR)" - $(RSC) $(RSC_PROJ) $(SOURCE) - - -# End Source File -################################################################################ -# Begin Source File - -SOURCE=.\9111PrTg.c -DEP_CPP_9111P=\ - ".\..\..\..\include\Dask.h"\ - - -"$(INTDIR)\9111PrTg.obj" : $(SOURCE) $(DEP_CPP_9111P) "$(INTDIR)" - - -# End Source File -# End Target -# End Project -################################################################################ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9111/SDK9111DbfPreTrg/9111PrTg.mdp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9111/SDK9111DbfPreTrg/9111PrTg.mdp deleted file mode 100644 index 494935f..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9111/SDK9111DbfPreTrg/9111PrTg.mdp and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9111/SDK9111DbfPreTrg/9111PrTg.rc b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9111/SDK9111DbfPreTrg/9111PrTg.rc deleted file mode 100644 index 1efaf13..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9111/SDK9111DbfPreTrg/9111PrTg.rc +++ /dev/null @@ -1,126 +0,0 @@ -//Microsoft Developer Studio generated resource script. -// -#include "resource.h" - -#define APSTUDIO_READONLY_SYMBOLS -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 2 resource. -// -#define APSTUDIO_HIDDEN_SYMBOLS -#include "windows.h" -#undef APSTUDIO_HIDDEN_SYMBOLS - -///////////////////////////////////////////////////////////////////////////// -#undef APSTUDIO_READONLY_SYMBOLS - -///////////////////////////////////////////////////////////////////////////// -// English (U.S.) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -#ifdef _WIN32 -LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US -#pragma code_page(1252) -#endif //_WIN32 - -///////////////////////////////////////////////////////////////////////////// -// -// Menu -// - -U7120MENU MENU DISCARDABLE -BEGIN - MENUITEM "E&xit!", IDM_EXIT -END - - -#ifdef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// TEXTINCLUDE -// - -1 TEXTINCLUDE DISCARDABLE -BEGIN - "resource.h\0" -END - -2 TEXTINCLUDE DISCARDABLE -BEGIN - "#define APSTUDIO_HIDDEN_SYMBOLS\r\n" - "#include ""windows.h""\r\n" - "#undef APSTUDIO_HIDDEN_SYMBOLS\r\n" - "\0" -END - -3 TEXTINCLUDE DISCARDABLE -BEGIN - "\r\n" - "\0" -END - -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog -// - -DMABOX DIALOG DISCARDABLE 18, 10, 171, 169 -STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "Data Value (half of circular buffer)" -FONT 8, "System" -BEGIN - PUSHBUTTON "STOP",ID_STOP,82,147,24,14 - LTEXT "Data Transferred :",-1,39,119,64,8 - LTEXT "Text",DMA_SPACE,103,118,41,8 - LTEXT "Text",DMA_DESCP,16,6,158,8 -END - -IDD_DIALOG2 DIALOG DISCARDABLE 110, 10, 107, 51 -STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "Card Number" -FONT 10, "System" -BEGIN - DEFPUSHBUTTON "OK",IDOK,7,30,37,14 - PUSHBUTTON "Cancel",IDCANCEL,60,30,38,14 - LTEXT "Card Number",IDC_CARDNUM,2,7,43,14 - COMBOBOX IDC_COMBO1,49,7,51,83,CBS_DROPDOWN | CBS_SORT | - WS_VSCROLL | WS_TABSTOP -END - - -///////////////////////////////////////////////////////////////////////////// -// -// DESIGNINFO -// - -#ifdef APSTUDIO_INVOKED -GUIDELINES DESIGNINFO DISCARDABLE -BEGIN - IDD_DIALOG2, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 100 - TOPMARGIN, 7 - BOTTOMMARGIN, 44 - END -END -#endif // APSTUDIO_INVOKED - -#endif // English (U.S.) resources -///////////////////////////////////////////////////////////////////////////// - - - -#ifndef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 3 resource. -// - - -///////////////////////////////////////////////////////////////////////////// -#endif // not APSTUDIO_INVOKED - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9111/SDK9111DbfPreTrg/Resource.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9111/SDK9111DbfPreTrg/Resource.h deleted file mode 100644 index 9c592f1..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9111/SDK9111DbfPreTrg/Resource.h +++ /dev/null @@ -1,26 +0,0 @@ -//{{NO_DEPENDENCIES}} -// Microsoft Developer Studio generated include file. -// Used by 9111PrTg.rc -// -#define IDM_SETUP 101 -#define IDD_DIALOG1 101 -#define IDD_DIALOG2 104 -#define IDM_EXIT 110 -#define ID_CARDNUMBER 122 -#define ID_STOP 304 -#define DMA_SPACE 500 -#define DMA_DESCP 600 -#define IDC_COMBO1 1001 -#define IDC_CARDNUM 1002 -#define IDC_STATIC -1 - -// Next default values for new objects -// -#ifdef APSTUDIO_INVOKED -#ifndef APSTUDIO_READONLY_SYMBOLS -#define _APS_NEXT_RESOURCE_VALUE 106 -#define _APS_NEXT_COMMAND_VALUE 123 -#define _APS_NEXT_CONTROL_VALUE 1002 -#define _APS_NEXT_SYMED_VALUE 101 -#endif -#endif diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9111/SDK9111Int/9111INT.C b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9111/SDK9111Int/9111INT.C deleted file mode 100644 index 48786e1..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9111/SDK9111Int/9111INT.C +++ /dev/null @@ -1,544 +0,0 @@ -#include -#include -#include -#include -#include -#include -#include "resource.h" -#include "dask.h" - -#define IDM_EXIT 110 -#define IDC_ADDR 200 -#define IDC_SCROLL 207 -#define IDC_START 208 -#define IDC_STOP 209 -#define IDC_PAUSE 210 -#define IDC_EDIT 211 -#define IDC_CHAN 214 -#define IDC_SHOW 213 -#define NONE 0 - -int PASCAL WinMain(HANDLE, HANDLE, LPSTR, int); -long PASCAL MainWndProc(HWND, UINT, WPARAM, LPARAM); -BOOL PASCAL ShowINT(HWND, UINT, WPARAM, LPARAM); - -HANDLE hInst; -HWND hListBox; -HWND hChanComboBox, hCardComboBox; -HWND hADScroll; -HWND hEdit,hEdit1,hData; -int input=0, output=0; -int oldinput[8], adinput; - -HBRUSH hBlackBrush; -HPEN hRedPen; - -long sample_rate=10000; -unsigned int base_addr=NONE,gain=1; -I16 card = -1, card_number =0;; -I16 Card_Type=PCI_9111DG; -long data_size=10240; -U16 channel=0, range = AD_B_5_V; - -DWORD mem_size = 0; -static HANDLE hMem=NULL; -I16 *ai_buf; -I16 card_value[2] = {PCI_9111DG, PCI_9111HR}; -LPSTR Card_Name[2]={"PCI9111DG", "PCI9111HR"}; - - -POINT input_pos[16]= {{470, 280}, {440, 280}, - {410, 280}, {380, 280}, - {350, 280}, {320, 280}, - { 290, 280}, {260, 280}, - {230, 280}, {200, 280}, - {170, 280}, {140, 280}, - {110, 280}, {80, 280}, - { 50, 280}, { 20, 280}, - }; - -POINT output_pos[16] ={ - {470, 340}, {440, 340}, - {410, 340}, {380, 340}, - {350, 340}, {320, 340}, - { 290, 340}, {260, 340}, - {230, 340}, {200, 340}, - {170, 340}, {140, 340}, - {110, 340}, {80, 340}, - { 50, 340}, { 20, 340}, - }; - -POINT io_pos[16] ={ - {395, 40}, {370, 40}, - {345, 40}, {320, 40}, - {295, 40}, {270, 40}, - { 245, 40}, {220, 40}, - {195, 40}, {170, 40}, - {145, 40}, {120, 40}, - {95, 40}, {70, 40}, - { 45, 40}, { 20, 40}, - }; - -HBRUSH hLTGreenBrush,hGreenBrush,hBlueBrush,hYellowBrush,hRedBrush,hBlackBrush,hWhiteBrush - ,hLTRedBrush,hLTBlueBrush; -HPEN hRedPen,hYellowPen,hGreenPen,hBluePen,hLTBluePen,hLTRedPen,hLTGreenPen,hWhitePen; - -BOOL InitApplication(HANDLE); -BOOL InitInstance(HANDLE, int); - -int PASCAL WinMain(hInstance, hPrevInstance, lpCmdLine, nCmdShow) -HANDLE hInstance, hPrevInstance; -LPSTR lpCmdLine; -int nCmdShow; -{ - MSG msg; - - if (!hPrevInstance) - if (!InitApplication(hInstance)) return(FALSE); - if (!InitInstance(hInstance, nCmdShow)) return(FALSE); - while (GetMessage(&msg, NULL, NULL, NULL)) { - TranslateMessage(&msg); - DispatchMessage(&msg); - } - return(msg.wParam); -} - -BOOL InitApplication(hInstance) -HANDLE hInstance; -{ - WNDCLASS wc; - - /* Main Window Class */ - wc.style = NULL; - wc.lpfnWndProc = (WNDPROC)MainWndProc; - wc.cbClsExtra = 0; - wc.cbWndExtra = 0; - wc.hInstance = hInstance; - wc.hIcon = LoadIcon(hInstance, "MyIcon"); - wc.hCursor = LoadCursor(NULL, IDC_ARROW); - wc.hbrBackground = GetStockObject(LTGRAY_BRUSH); - wc.lpszMenuName = NULL; - wc.lpszClassName = "GenericWClass"; - if (!RegisterClass(&wc)) return(FALSE); -} - -BOOL InitInstance(hInstance, nCmdShow) -HANDLE hInstance; -int nCmdShow; -{ - HWND hWnd; - HMENU hSampleMenu; - - hInst = hInstance; - hSampleMenu = LoadMenu(hInstance, "U7120Menu"); - hWnd = CreateWindow("GenericWClass", - (LPCSTR)"9111 Autoscan Interrupt", - WS_OVERLAPPEDWINDOW, - CW_USEDEFAULT, - CW_USEDEFAULT, - 520, - 400, - NULL, - hSampleMenu, - hInstance, - NULL); - if (!hWnd) return(FALSE); - ShowWindow(hWnd, nCmdShow); - UpdateWindow(hWnd); - return(TRUE); -} - -BOOL PASCAL setup(HWND hWnd, unsigned message, WPARAM wParam, LPARAM lParam) -{ - int i,k; - char n[16]; - char s[50]; - switch (message) { - case WM_INITDIALOG: - for (i=0;i<2;i++) { - SendMessage(GetDlgItem(hWnd,IDC_COMBO1), CB_ADDSTRING, NULL, (LONG)Card_Name[i]); - } - SendMessage(GetDlgItem(hWnd,IDC_COMBO1) , CB_SETCURSEL, 0, 0L); - for (i=0;i<16;i++) { - wsprintf(n, "%d", i); - _strupr(n); - SendMessage(GetDlgItem(hWnd,IDC_COMBO2), CB_ADDSTRING, NULL, (LONG)(LPSTR) n); - } - SendMessage(GetDlgItem(hWnd,IDC_COMBO2) , CB_SETCURSEL, 0, 0L); - break; - case WM_COMMAND: - switch(LOWORD(wParam)) { - - case IDC_COMBO1: - if (HIWORD(wParam) == CBN_CLOSEUP) { - i = (int)SendMessage(GetDlgItem(hWnd,IDC_COMBO1), CB_GETCURSEL, 0, 0L); - SendMessage(GetDlgItem(hWnd,IDC_COMBO1), CB_GETLBTEXT, i, (LPARAM)((LPCSTR)n)); - Card_Type = card_value[i]; - } - return(TRUE); - case IDC_COMBO2: - if (HIWORD(wParam) == CBN_CLOSEUP) { - i = (int)SendMessage(GetDlgItem(hWnd,IDC_COMBO2), CB_GETCURSEL, 0, 0L); - SendMessage(GetDlgItem(hWnd,IDC_COMBO2), CB_GETLBTEXT, i, (LPARAM)((LPCSTR)n)); - card_number = i; - } - return(TRUE); - case IDOK: - if ((card=Register_Card(Card_Type, card_number)) < 0) { - wsprintf(s, "Register_Card Error = %d\n", card); - MessageBox(hWnd, s, "Error", MB_OK); - SendMessage(hWnd, WM_CLOSE, 0, 0L); - break; - } - EndDialog(hWnd, TRUE); - InvalidateRect(hWnd, NULL, FALSE); - return (TRUE); - case IDCANCEL: - EndDialog(hWnd, TRUE); - return (TRUE); - } - break; - } - return (FALSE); -} - -long PASCAL MainWndProc(hWnd, message, wParam, lParam) -HWND hWnd; -UINT message; -WPARAM wParam; -LPARAM lParam; -{ - HDC hDC; - PAINTSTRUCT ps; - int i; - int cur_channel; - char s[50]; - char n[6]; - static int pos=0; - static int count,status; - I16 err; - - switch(message) { - case WM_CREATE: - DialogBox(hInst,IDD_DIALOG2, hWnd, setup); - if(card<0) { - SendMessage(hWnd, WM_CLOSE, 0, 0L); - break; - } - hChanComboBox = CreateWindow("ComboBox", NULL, - CBS_DROPDOWNLIST | WS_CHILD | WS_VISIBLE | WS_VSCROLL, - input_pos[10].x, input_pos[15].y+18, 100, 160, hWnd, IDC_CHAN, hInst, NULL); - SendMessage(hChanComboBox, CB_ADDSTRING, NULL, (LONG)(LPSTR)"CH0"); - SendMessage(hChanComboBox, CB_ADDSTRING, NULL, (LONG)(LPSTR)"CH0 ~ CH1"); - SendMessage(hChanComboBox, CB_ADDSTRING, NULL, (LONG)(LPSTR)"CH0 ~ CH2"); - SendMessage(hChanComboBox, CB_ADDSTRING, NULL, (LONG)(LPSTR)"CH0 ~ CH3"); - SendMessage(hChanComboBox, CB_ADDSTRING, NULL, (LONG)(LPSTR)"CH0 ~ CH4"); - SendMessage(hChanComboBox, CB_ADDSTRING, NULL, (LONG)(LPSTR)"CH0 ~ CH5"); - SendMessage(hChanComboBox, CB_ADDSTRING, NULL, (LONG)(LPSTR)"CH0 ~ CH6"); - SendMessage(hChanComboBox, CB_ADDSTRING, NULL, (LONG)(LPSTR)"CH0 ~ CH7"); - SendMessage(hChanComboBox ,CB_SETCURSEL, 0, 0L); - hEdit=CreateWindow("EDIT", NULL, - WS_CHILD | WS_VISIBLE | ES_LEFT, - output_pos[13].x-30, input_pos[15].y+20,40, 20, hWnd, IDC_EDIT, hInst, NULL); - - wsprintf(n,"%d",sample_rate/1000); - SetWindowText(hEdit,n); - - CreateWindow("SCROLLBAR", NULL, - WS_CHILD | WS_VISIBLE | SBS_VERT, - output_pos[13].x+10, input_pos[15].y+20,20, 20, hWnd, IDC_SCROLL, hInst, NULL); - - CreateWindow("BUTTON","Start" , - WS_CHILD | WS_VISIBLE , - output_pos[10].x+140, input_pos[10].y+10,70, 30, hWnd, IDC_START, hInst, NULL); - - hData=CreateWindow("BUTTON","Data Value" , - WS_CHILD | WS_VISIBLE , - output_pos[10].x+230, input_pos[10].y+10,80, 30, hWnd, IDC_SHOW, hInst, NULL); - - hLTGreenBrush = CreateSolidBrush(RGB(0, 255, 0)); - hGreenBrush = CreateSolidBrush(RGB(0, 128, 0)); - hBlueBrush = CreateSolidBrush(RGB(0, 0, 255)); - hRedBrush = CreateSolidBrush(RGB(255, 0, 0)); - hYellowBrush= CreateSolidBrush(RGB(255,255,0)); - hBlackBrush= CreateSolidBrush(RGB(0,0,0)); - hLTBlueBrush= CreateSolidBrush(RGB(0,255,255)); - hLTRedBrush= CreateSolidBrush(RGB(255,128,0)); - hWhiteBrush= CreateSolidBrush(RGB(255,255,255)); - hRedPen= CreatePen(PS_SOLID,1,RGB(255,0,0)); - hYellowPen= CreatePen(PS_SOLID,1,RGB(255,255,0)); - hBluePen= CreatePen(PS_SOLID,1,RGB(0,0,255)); - hGreenPen= CreatePen(PS_SOLID,1,RGB(0,255,0)); - hLTBluePen= CreatePen(PS_SOLID,1,RGB(0,128,255)); - hLTRedPen= CreatePen(PS_SOLID,1,RGB(128,128,0)); - hLTGreenPen= CreatePen(PS_SOLID,1,RGB(0,128,0)); - hWhitePen= CreatePen(PS_SOLID,1,RGB(255,255,255)); - break; - - case WM_PAINT: - hDC = BeginPaint(hWnd, &ps); - // Analog Input Box - SelectObject(hDC, GetStockObject(GRAY_BRUSH)); - Rectangle(hDC, output_pos[15].x-10, io_pos[15].y-24, output_pos[0].x+26, io_pos[0].y+195); - SetTextColor(hDC,RGB(255,255,0)); - SetBkColor(hDC, RGB(0, 0, 255)); - TextOut(hDC, io_pos[15].x, io_pos[15].y-35, "Interrupt Input(A/D) ", 22); - - SelectObject(hDC, hBlackBrush); - Rectangle(hDC, output_pos[15].x+35, io_pos[15].y-2, output_pos[4].x+41, io_pos[0].y+172); - - SelectObject(hDC,hYellowBrush ); - Rectangle(hDC,output_pos[4].x+68, io_pos[0].y-5+18,output_pos[4].x+80, io_pos[0].y+10+18); - - SelectObject(hDC, hGreenBrush); - Rectangle(hDC,output_pos[4].x+68, io_pos[0].y+13+18,output_pos[4].x+80, io_pos[0].y+28+18); - - SelectObject(hDC, hBlueBrush); - Rectangle(hDC,output_pos[4].x+68, io_pos[0].y+31+18,output_pos[4].x+80, io_pos[0].y+46+18); - - SelectObject(hDC, hRedBrush); - Rectangle(hDC,output_pos[4].x+68, io_pos[0].y+49+18,output_pos[4].x+80, io_pos[0].y+64+18); - - SelectObject(hDC, hLTBlueBrush); - Rectangle(hDC,output_pos[4].x+108, io_pos[0].y-5+18,output_pos[4].x+120, io_pos[0].y+10+18); - - SelectObject(hDC, hLTRedBrush); - Rectangle(hDC,output_pos[4].x+108, io_pos[0].y+13+18,output_pos[4].x+120, io_pos[0].y+28+18); - - SelectObject(hDC, hLTGreenBrush); - Rectangle(hDC,output_pos[4].x+108, io_pos[0].y+31+18,output_pos[4].x+120, io_pos[0].y+46+18); - - SelectObject(hDC, hWhiteBrush); - Rectangle(hDC,output_pos[4].x+108, io_pos[0].y+49+18,output_pos[4].x+120, io_pos[0].y+64+18); - - SetBkMode(hDC,TRANSPARENT); - TextOut(hDC,output_pos[13].x-60, input_pos[10].y,"Samping Rate",12); - TextOut(hDC,output_pos[13].x+30, input_pos[15].y+20,"KHZ",3); - TextOut(hDC,output_pos[13].x+80, input_pos[10].y,"Channel",7); - TextOut(hDC,input_pos[2].x-10, io_pos[15].y+118,"Range: +-5V",11); - TextOut(hDC,input_pos[15].x, io_pos[15].y-19,"Volts",5); - TextOut(hDC,input_pos[15].x, io_pos[15].y-5,"5.00",4); - TextOut(hDC,input_pos[15].x, io_pos[15].y+36,"2.50",4); - TextOut(hDC,input_pos[15].x, io_pos[15].y+77,"0.00",4); - TextOut(hDC,input_pos[15].x-3, io_pos[15].y+118,"-2.50",5); - TextOut(hDC,input_pos[15].x-3, io_pos[15].y+159,"-5.00",5); - TextOut(hDC,input_pos[10].x+10, io_pos[10].y-19,"Signals",7); - - TextOut(hDC,output_pos[4].x+58, io_pos[0].y-5+18,"0",1); - TextOut(hDC,output_pos[4].x+58, io_pos[0].y+13+18,"1",1); - TextOut(hDC,output_pos[4].x+58, io_pos[0].y+31+18,"2",1); - TextOut(hDC,output_pos[4].x+58, io_pos[0].y+49+18,"3",1); - TextOut(hDC,output_pos[4].x+98, io_pos[0].y-5+18,"4",1); - TextOut(hDC,output_pos[4].x+98, io_pos[0].y+13+18,"5",1); - TextOut(hDC,output_pos[4].x+98, io_pos[0].y+31+18,"6",1); - TextOut(hDC,output_pos[4].x+98, io_pos[0].y+49+18,"7",1); - - //TextOut(hDC,output_pos[13].x-63, input_pos[10].y-35,"Card",4); - //TextOut(hDC,output_pos[13].x-63, input_pos[10].y-22,"Type",4); - - EndPaint(hWnd, &ps); - break; - - // Sample Rate Spin Control - case WM_VSCROLL: - switch(LOWORD(wParam)){ - case SB_LINEUP : - sample_rate+=1000; - if (sample_rate > 100000 ) sample_rate=100000; - break; - case SB_LINEDOWN: - sample_rate-=1000; - if (sample_rate < 1000 ) sample_rate=1000; - break; - } - wsprintf(n,"%d",sample_rate/1000); - SetWindowText(hEdit,n); - break; - - case WM_COMMAND: - switch(LOWORD(wParam)) { - case IDM_EXIT: - SendMessage(hWnd, WM_CLOSE, 0, 0L); - break; - - case IDC_SHOW : - DialogBox(hInst, - "IntBox", - hWnd, - ShowINT); - break; - - case IDC_CHAN: - if (HIWORD(wParam) == CBN_CLOSEUP) { - if ((i=(int)SendMessage(GetDlgItem(hWnd,IDC_CHAN),CB_GETCURSEL, 0, 0L))>=0 ) { - channel=i; - } - } - break; - case IDC_START: - EnableWindow (hData, FALSE); - if (hMem != NULL) - { - GlobalUnfix(hMem); - GlobalUnlock(hMem); - GlobalFree(hMem); - } - // allocate a memory for user DMA buffer - mem_size=data_size*2; - hMem = GlobalAlloc(GMEM_ZEROINIT,mem_size); - ai_buf = GlobalLock(hMem); - if (ai_buf == NULL ) - { - MessageBox(hWnd,"INT", - "No Memory", MB_OK); - } - GlobalFix(hMem); - err=AI_9111_Config(card,TRIG_INT_PACER, 0, 1024); - if (err!=0) { - wsprintf(s, "AI_9111_Config error=%d", err); - MessageBox(hWnd, s, "Error", MB_OK); - } - err=AI_AsyncDblBufferMode(card, 0); - if (err!=0) { - wsprintf(s, "AI_DblBufferMode error=%d", err); - MessageBox(hWnd, s, "Error", MB_OK); - } - err=AI_ContScanChannels (card, channel, range, ai_buf, data_size, (F64)sample_rate, SYNCH_OP); - if (err!=0) { - wsprintf(s, "AI_ContReadChannel error=%d", err); - MessageBox(hWnd, s, "Error", MB_OK); - } - EnableWindow (hData, TRUE); - for (i=0;i<8;i++) oldinput[i]=-1; - hDC = GetDC(hWnd); - SelectObject(hDC, hBlackBrush); - Rectangle(hDC,output_pos[15].x+35,io_pos[0].y-3,output_pos[15].x+370,io_pos[0].y+175); - - for (i=0;i> 4; - adinput=io_pos[0].y+86-(87* (I16) adinput)/2048; - if (oldinput[cur_channel]!=-1) - MoveToEx(hDC,(i*334)/data_size+output_pos[15].x+35,oldinput[cur_channel],NULL); - else - MoveToEx(hDC,(i*334)/data_size+output_pos[15].x+35,adinput,NULL); - LineTo(hDC,(i*334)/data_size+output_pos[15].x+36,adinput); - oldinput[cur_channel]=adinput; - } // for - ReleaseDC(hWnd, hDC); - break; - - default: - return(DefWindowProc(hWnd, message, wParam, lParam)); - } - break; - - case WM_DESTROY: - if (card >= 0) Release_Card (card); - DeleteObject(hRedBrush); - DeleteObject(hGreenBrush); - DeleteObject(hLTGreenBrush); - DeleteObject(hYellowBrush); - DeleteObject(hBlueBrush) ; - DeleteObject(hBlackBrush); - DeleteObject(hRedPen); - DeleteObject(hYellowPen); - DeleteObject(hBluePen); - DeleteObject(hGreenPen); - DeleteObject(hLTBluePen); - DeleteObject(hLTRedPen); - DeleteObject(hLTGreenPen); - DeleteObject(hWhitePen); - GlobalUnfix(hMem); - GlobalUnlock(hMem); - GlobalFree(hMem); - PostQuitMessage(0); - break; - - default: - return(DefWindowProc(hWnd, message, wParam, lParam)); - } - return(NULL); -} - -BOOL PASCAL ShowINT(hDlg, message, wParam, lParam) -HWND hDlg; -UINT message; -WPARAM wParam; -LPARAM lParam; -{ - int nTabs[2] = {32, 92}; - long i; - I16 ch_no; - char cBuf[64]; - char string[10]=" "; - char data_str[3]=" "; - I16 *pp; - switch (message) - { - case WM_INITDIALOG: - hListBox = CreateWindow("LISTBOX", "Memory Count Data CH#",\ - WS_CHILD | WS_VISIBLE | LBS_HASSTRINGS\ - | LBS_STANDARD | LBS_USETABSTOPS |WS_CAPTION,\ - 50, 40, 240, 180, hDlg, 100, hInst, NULL); - - SendMessage(hListBox, LB_RESETCONTENT, 0, 0L); - SendMessage(hListBox, LB_SETTABSTOPS, 2, (DWORD)\ - (LPINT) nTabs); - pp=(I16 *) ai_buf; - for(i=0; i>4 , ch_no); - } else { - ch_no= i%(channel+1); - wsprintf(cBuf, "%5d\t %6d %2d", i, pp[i], ch_no); - } - SendMessage(hListBox, LB_INSERTSTRING, -1, (DWORD)(LPSTR)cBuf); - } - itoa(data_size, string, 10); - SetDlgItemText(hDlg, DMA_SPACE, string); - ShowWindow(hListBox, SW_SHOW); - return (TRUE); - - case WM_COMMAND: - if (LOWORD(wParam) == ID_STOP) - { - DestroyWindow(hListBox); - EndDialog(hDlg, TRUE); - return (TRUE); - } - break; - } //switch - return (FALSE); -} - \ No newline at end of file diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9111/SDK9111Int/9111INT.EXE b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9111/SDK9111Int/9111INT.EXE deleted file mode 100644 index 4e44b07..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9111/SDK9111Int/9111INT.EXE and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9111/SDK9111Int/9111INT.MAK b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9111/SDK9111Int/9111INT.MAK deleted file mode 100644 index f7c9a37..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9111/SDK9111Int/9111INT.MAK +++ /dev/null @@ -1,241 +0,0 @@ -# Microsoft Developer Studio Generated NMAKE File, Format Version 4.00 -# ** DO NOT EDIT ** - -# TARGTYPE "Win32 (x86) Application" 0x0101 - -!IF "$(CFG)" == "" -CFG=9111int - Win32 Debug -!MESSAGE No configuration specified. Defaulting to 9111int - Win32 Debug. -!ENDIF - -!IF "$(CFG)" != "9111int - Win32 Release" && "$(CFG)" !=\ - "9111int - Win32 Debug" -!MESSAGE Invalid configuration "$(CFG)" specified. -!MESSAGE You can specify a configuration when running NMAKE on this makefile -!MESSAGE by defining the macro CFG on the command line. For example: -!MESSAGE -!MESSAGE NMAKE /f "9111int.mak" CFG="9111int - Win32 Debug" -!MESSAGE -!MESSAGE Possible choices for configuration are: -!MESSAGE -!MESSAGE "9111int - Win32 Release" (based on "Win32 (x86) Application") -!MESSAGE "9111int - Win32 Debug" (based on "Win32 (x86) Application") -!MESSAGE -!ERROR An invalid configuration is specified. -!ENDIF - -!IF "$(OS)" == "Windows_NT" -NULL= -!ELSE -NULL=nul -!ENDIF -################################################################################ -# Begin Project -# PROP Target_Last_Scanned "9111int - Win32 Debug" -RSC=rc.exe -CPP=cl.exe -MTL=mktyplib.exe - -!IF "$(CFG)" == "9111int - Win32 Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "Release" -# PROP BASE Intermediate_Dir "Release" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "" -# PROP Intermediate_Dir "Release" -# PROP Target_Dir "" -OUTDIR=. -INTDIR=.\Release - -ALL : "$(OUTDIR)\9111int.exe" - -CLEAN : - -@erase ".\9111int.exe" - -@erase ".\Release\9111int.obj" - -@erase ".\Release\9111int.res" - -"$(INTDIR)" : - if not exist "$(INTDIR)/$(NULL)" mkdir "$(INTDIR)" - -# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /YX /c -# ADD CPP /nologo /W3 /GX /Od /I "..\..\..\include" /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /c -# SUBTRACT CPP /YX -CPP_PROJ=/nologo /ML /W3 /GX /Od /I "..\..\..\include" /D "WIN32" /D "NDEBUG"\ - /D "_WINDOWS" /Fo"$(INTDIR)/" /c -CPP_OBJS=.\Release/ -CPP_SBRS= -# ADD BASE MTL /nologo /D "NDEBUG" /win32 -# ADD MTL /nologo /D "NDEBUG" /win32 -MTL_PROJ=/nologo /D "NDEBUG" /win32 -# ADD BASE RSC /l 0x409 /d "NDEBUG" -# ADD RSC /l 0x409 /d "NDEBUG" -RSC_PROJ=/l 0x409 /fo"$(INTDIR)/9111int.res" /d "NDEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -BSC32_FLAGS=/nologo /o"$(OUTDIR)/9111int.bsc" -BSC32_SBRS= -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:windows /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ..\..\..\lib\pci-dask.lib /nologo /subsystem:windows /machine:I386 -LINK32_FLAGS=kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib\ - advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib\ - odbccp32.lib ..\..\..\lib\pci-dask.lib /nologo /subsystem:windows\ - /incremental:no /pdb:"$(OUTDIR)/9111int.pdb" /machine:I386\ - /out:"$(OUTDIR)/9111int.exe" -LINK32_OBJS= \ - "$(INTDIR)/9111int.obj" \ - "$(INTDIR)/9111int.res" - -"$(OUTDIR)\9111int.exe" : "$(OUTDIR)" $(DEF_FILE) $(LINK32_OBJS) - $(LINK32) @<< - $(LINK32_FLAGS) $(LINK32_OBJS) -<< - -!ELSEIF "$(CFG)" == "9111int - Win32 Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "Debug" -# PROP BASE Intermediate_Dir "Debug" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "Debug" -# PROP Intermediate_Dir "Debug" -# PROP Target_Dir "" -OUTDIR=.\Debug -INTDIR=.\Debug - -ALL : "$(OUTDIR)\9111int.exe" "$(OUTDIR)\9111int.bsc" - -CLEAN : - -@erase ".\Debug\vc40.pdb" - -@erase ".\Debug\vc40.idb" - -@erase ".\Debug\9111int.bsc" - -@erase ".\Debug\9111int.sbr" - -@erase ".\Debug\9111int.exe" - -@erase ".\Debug\9111int.obj" - -@erase ".\Debug\9111int.res" - -@erase ".\Debug\9111int.ilk" - -@erase ".\Debug\9111int.pdb" - -"$(OUTDIR)" : - if not exist "$(OUTDIR)/$(NULL)" mkdir "$(OUTDIR)" - -# ADD BASE CPP /nologo /W3 /Gm /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /YX /c -# ADD CPP /nologo /W3 /Gm /GX /Zi /Od /I "..\..\..\include" /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /FR /c -# SUBTRACT CPP /YX -CPP_PROJ=/nologo /MLd /W3 /Gm /GX /Zi /Od /I "..\..\..\include" /D "WIN32" /D\ - "_DEBUG" /D "_WINDOWS" /FR"$(INTDIR)/" /Fo"$(INTDIR)/" /Fd"$(INTDIR)/" /c -CPP_OBJS=.\Debug/ -CPP_SBRS=.\Debug/ -# ADD BASE MTL /nologo /D "_DEBUG" /win32 -# ADD MTL /nologo /D "_DEBUG" /win32 -MTL_PROJ=/nologo /D "_DEBUG" /win32 -# ADD BASE RSC /l 0x409 /d "_DEBUG" -# ADD RSC /l 0x409 /d "_DEBUG" -RSC_PROJ=/l 0x409 /fo"$(INTDIR)/9111int.res" /d "_DEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -BSC32_FLAGS=/nologo /o"$(OUTDIR)/9111int.bsc" -BSC32_SBRS= \ - "$(INTDIR)/9111int.sbr" - -"$(OUTDIR)\9111int.bsc" : "$(OUTDIR)" $(BSC32_SBRS) - $(BSC32) @<< - $(BSC32_FLAGS) $(BSC32_SBRS) -<< - -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:windows /debug /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ..\..\..\lib\pci-dask.lib /nologo /subsystem:windows /debug /machine:I386 -LINK32_FLAGS=kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib\ - advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib\ - odbccp32.lib ..\..\..\lib\pci-dask.lib /nologo /subsystem:windows\ - /incremental:yes /pdb:"$(OUTDIR)/9111int.pdb" /debug /machine:I386\ - /out:"$(OUTDIR)/9111int.exe" -LINK32_OBJS= \ - "$(INTDIR)/9111int.obj" \ - "$(INTDIR)/9111int.res" - -"$(OUTDIR)\9111int.exe" : "$(OUTDIR)" $(DEF_FILE) $(LINK32_OBJS) - $(LINK32) @<< - $(LINK32_FLAGS) $(LINK32_OBJS) -<< - -!ENDIF - -.c{$(CPP_OBJS)}.obj: - $(CPP) $(CPP_PROJ) $< - -.cpp{$(CPP_OBJS)}.obj: - $(CPP) $(CPP_PROJ) $< - -.cxx{$(CPP_OBJS)}.obj: - $(CPP) $(CPP_PROJ) $< - -.c{$(CPP_SBRS)}.sbr: - $(CPP) $(CPP_PROJ) $< - -.cpp{$(CPP_SBRS)}.sbr: - $(CPP) $(CPP_PROJ) $< - -.cxx{$(CPP_SBRS)}.sbr: - $(CPP) $(CPP_PROJ) $< - -################################################################################ -# Begin Target - -# Name "9111int - Win32 Release" -# Name "9111int - Win32 Debug" - -!IF "$(CFG)" == "9111int - Win32 Release" - -!ELSEIF "$(CFG)" == "9111int - Win32 Debug" - -!ENDIF - -################################################################################ -# Begin Source File - -SOURCE=.\9111int.C -DEP_CPP_9111I=\ - ".\..\..\..\include\dask.h"\ - - -!IF "$(CFG)" == "9111int - Win32 Release" - - -"$(INTDIR)\9111int.obj" : $(SOURCE) $(DEP_CPP_9111I) "$(INTDIR)" - - -!ELSEIF "$(CFG)" == "9111int - Win32 Debug" - - -"$(INTDIR)\9111int.obj" : $(SOURCE) $(DEP_CPP_9111I) "$(INTDIR)" - -"$(INTDIR)\9111int.sbr" : $(SOURCE) $(DEP_CPP_9111I) "$(INTDIR)" - - -!ENDIF - -# End Source File -################################################################################ -# Begin Source File - -SOURCE=.\9111int.rc - -"$(INTDIR)\9111int.res" : $(SOURCE) "$(INTDIR)" - $(RSC) $(RSC_PROJ) $(SOURCE) - - -# End Source File -# End Target -# End Project -################################################################################ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9111/SDK9111Int/9111INT.RC b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9111/SDK9111Int/9111INT.RC deleted file mode 100644 index 216451b..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9111/SDK9111Int/9111INT.RC +++ /dev/null @@ -1,128 +0,0 @@ -//Microsoft Developer Studio generated resource script. -// -#include "resource.h" - -#define APSTUDIO_READONLY_SYMBOLS -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 2 resource. -// -#define APSTUDIO_HIDDEN_SYMBOLS -#include "windows.h" -#undef APSTUDIO_HIDDEN_SYMBOLS - -///////////////////////////////////////////////////////////////////////////// -#undef APSTUDIO_READONLY_SYMBOLS - -///////////////////////////////////////////////////////////////////////////// -// English (U.S.) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -#ifdef _WIN32 -LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US -#pragma code_page(1252) -#endif //_WIN32 - -///////////////////////////////////////////////////////////////////////////// -// -// Menu -// - -U7120MENU MENU DISCARDABLE -BEGIN - MENUITEM "E&xit!", IDM_EXIT -END - - -#ifdef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// TEXTINCLUDE -// - -1 TEXTINCLUDE DISCARDABLE -BEGIN - "resource.h\0" -END - -2 TEXTINCLUDE DISCARDABLE -BEGIN - "#define APSTUDIO_HIDDEN_SYMBOLS\r\n" - "#include ""windows.h""\r\n" - "#undef APSTUDIO_HIDDEN_SYMBOLS\r\n" - "\0" -END - -3 TEXTINCLUDE DISCARDABLE -BEGIN - "\r\n" - "\0" -END - -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog -// - -INTBOX DIALOG DISCARDABLE 18, 10, 171, 169 -STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "Interrupt TEST" -FONT 8, "System" -BEGIN - PUSHBUTTON "STOP",ID_STOP,82,147,24,14 - LTEXT "Data Transferred :",-1,39,118,60,8 - LTEXT "Text",DMA_SPACE,103,118,41,8 -END - -IDD_DIALOG2 DIALOG DISCARDABLE 110, 10, 110, 71 -STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "Card Number" -FONT 10, "System" -BEGIN - DEFPUSHBUTTON "OK",IDOK,10,50,37,14 - PUSHBUTTON "Cancel",IDCANCEL,59,50,38,14 - COMBOBOX IDC_COMBO1,51,28,52,45,CBS_DROPDOWN | WS_VSCROLL | - WS_TABSTOP - LTEXT "Card Type",IDC_STATIC,3,29,38,13 - LTEXT "Card Number",IDC_CARDNUM,3,7,46,14 - COMBOBOX IDC_COMBO2,51,7,52,88,CBS_DROPDOWN | WS_VSCROLL | - WS_TABSTOP -END - - -///////////////////////////////////////////////////////////////////////////// -// -// DESIGNINFO -// - -#ifdef APSTUDIO_INVOKED -GUIDELINES DESIGNINFO DISCARDABLE -BEGIN - IDD_DIALOG2, DIALOG - BEGIN - LEFTMARGIN, 3 - RIGHTMARGIN, 103 - TOPMARGIN, 7 - BOTTOMMARGIN, 64 - END -END -#endif // APSTUDIO_INVOKED - -#endif // English (U.S.) resources -///////////////////////////////////////////////////////////////////////////// - - - -#ifndef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 3 resource. -// - - -///////////////////////////////////////////////////////////////////////////// -#endif // not APSTUDIO_INVOKED - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9111/SDK9111Int/9111int.mdp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9111/SDK9111Int/9111int.mdp deleted file mode 100644 index d4615ed..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9111/SDK9111Int/9111int.mdp and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9111/SDK9111Int/Resource.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9111/SDK9111Int/Resource.h deleted file mode 100644 index 66289c5..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9111/SDK9111Int/Resource.h +++ /dev/null @@ -1,27 +0,0 @@ -//{{NO_DEPENDENCIES}} -// Microsoft Developer Studio generated include file. -// Used by 9111int.rc -// -#define IDM_SETUP 101 -#define IDD_DIALOG1 101 -#define IDD_DIALOG2 103 -#define IDM_EXIT 110 -#define ID_STOP 304 -#define DMA_SPACE 500 -#define IDC_COMBO2 1001 -#define IDC_CARDNUM 1002 -#define IDC_COMBO3 1003 -#define IDC_COMBO1 1015 -#define IDC_COMBO4 1016 -#define IDC_STATIC -1 - -// Next default values for new objects -// -#ifdef APSTUDIO_INVOKED -#ifndef APSTUDIO_READONLY_SYMBOLS -#define _APS_NEXT_RESOURCE_VALUE 104 -#define _APS_NEXT_COMMAND_VALUE 102 -#define _APS_NEXT_CONTROL_VALUE 1001 -#define _APS_NEXT_SYMED_VALUE 101 -#endif -#endif diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9111/SDK9111IntCallBack/9111SPTg.c b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9111/SDK9111IntCallBack/9111SPTg.c deleted file mode 100644 index 345fca4..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9111/SDK9111IntCallBack/9111SPTg.c +++ /dev/null @@ -1,520 +0,0 @@ -#include -#include -#include -#include -#include -#include -#include "resource.h" -#include "Dask.h" - -#define IDM_EXIT 110 -#define IDC_SCROLL 207 -#define IDC_SPIN 301 -#define IDC_START 208 -#define IDC_STOP 209 -#define IDC_EDIT 211 -#define IDC_EDIT1 214 -#define IDC_EDIT2 215 -#define IDC_SHOW 213 -#define IDC_CH 400 - -int PASCAL WinMain(HANDLE, HANDLE, LPSTR, int); -long PASCAL MainWndProc(HWND, UINT, WPARAM, LPARAM); -BOOL PASCAL ShowDMA(HWND, UINT, WPARAM, LPARAM); - -HANDLE hInst; -HWND hListBox; -HWND hEdit,hEdit1, hEdit2, hStart, hStop; -BOOL bCheck[8]; - -HBRUSH hBlackBrush; -HPEN hRedPen, hBlackPen; -HWND hMainWnd; - -unsigned int sample_rate=10000; -U16 channel; -BOOLEAN fstop; -U32 data_size=1024, mem_size; -static HANDLE hMem=NULL; -I16 *ai_buf; -I16 card=-1, card_number = 0; -U32 count, postCount = 512; -U16 precheck =0; - -BOOLEAN clear_op; - -POINT input_pos[16]= {{470, 280}, {440, 280}, - {410, 280}, {380, 280}, - {350, 280}, {320, 280}, - { 290, 280}, {260, 280}, - {230, 280}, {200, 280}, - {170, 280}, {140, 280}, - {110, 280}, {80, 280}, - { 50, 280}, { 20, 280}, - }; -POINT output_pos[16] ={ - {470, 340}, {440, 340}, - {410, 340}, {380, 340}, - {350, 340}, {320, 340}, - { 290, 340}, {260, 340}, - {230, 340}, {200, 340}, - {170, 340}, {140, 340}, - {110, 340}, {80, 340}, - { 50, 340}, { 20, 340}, - }; - -POINT io_pos[16] ={ - {395, 40}, {370, 40}, - {345, 40}, {320, 40}, - {295, 40}, {270, 40}, - { 245, 40}, {220, 40}, - {195, 40}, {170, 40}, - {145, 40}, {120, 40}, - {95, 40}, {70, 40}, - { 45, 40}, { 20, 40}, - }; - -BOOL InitApplication(HANDLE); -BOOL InitInstance(HANDLE, int); -void AI_CallBack(); - -int PASCAL WinMain(hInstance, hPrevInstance, lpCmdLine, nCmdShow) -HANDLE hInstance, hPrevInstance; -LPSTR lpCmdLine; -int nCmdShow; -{ - MSG msg; - - if (!hPrevInstance) - if (!InitApplication(hInstance)) return(FALSE); - if (!InitInstance(hInstance, nCmdShow)) return(FALSE); - while (GetMessage(&msg, NULL, NULL, NULL)) { - TranslateMessage(&msg); - DispatchMessage(&msg); - } - return(msg.wParam); -} - -BOOL InitApplication(hInstance) -HANDLE hInstance; -{ - WNDCLASS wc; - - /* Main Window Class */ - wc.style = NULL; - wc.lpfnWndProc = (WNDPROC)MainWndProc; - wc.cbClsExtra = 0; - wc.cbWndExtra = 0; - wc.hInstance = hInstance; - wc.hIcon = LoadIcon(hInstance, "MyIcon"); - wc.hCursor = LoadCursor(NULL, IDC_ARROW); - wc.hbrBackground = GetStockObject(LTGRAY_BRUSH); - wc.lpszMenuName = NULL; - wc.lpszClassName = "GenericWClass"; - if (!RegisterClass(&wc)) return(FALSE); -} - - -BOOL InitInstance(hInstance, nCmdShow) -HANDLE hInstance; -int nCmdShow; -{ - HWND hWnd; - HMENU hSampleMenu; - - hInst = hInstance; - hSampleMenu = LoadMenu(hInstance, "U7120Menu"); - hWnd = CreateWindow("GenericWClass", - (LPCSTR)"PCI-9111 single Buffered Interrupt W/O Pre-Trigger Mode", - WS_OVERLAPPEDWINDOW, - CW_USEDEFAULT, - CW_USEDEFAULT, - 520, - 400, - NULL, - hSampleMenu, - hInstance, - NULL); - if (!hWnd) return(FALSE); - ShowWindow(hWnd, nCmdShow); - UpdateWindow(hWnd); - return(TRUE); -} - -BOOL PASCAL setup(HWND hWnd, unsigned message, WPARAM wParam, LPARAM lParam) -{ - int i,k; - char n[16]; - char s[50]; - switch (message) { - case WM_INITDIALOG: - for (i=0;i<16;i++) { - sprintf(n, "%d", i); - _strupr(n); - SendMessage(GetDlgItem(hWnd,IDC_COMBO1), CB_ADDSTRING, NULL, (LONG)(LPSTR) n); - } - SendMessage(GetDlgItem(hWnd,IDC_COMBO1) , CB_SETCURSEL, 0, 0L); - - break; - case WM_COMMAND: - switch(LOWORD(wParam)) { - - case IDC_COMBO1: - if (HIWORD(wParam) == CBN_CLOSEUP) { - i = (int)SendMessage(GetDlgItem(hWnd,IDC_COMBO1), CB_GETCURSEL, 0, 0L); - SendMessage(GetDlgItem(hWnd,IDC_COMBO1), CB_GETLBTEXT, i, (LPARAM)((LPCSTR)n)); - card_number = i; - } - return(TRUE); - case IDOK: - if(card <0) { - if ((card=Register_Card(PCI_9111DG, card_number))< 0) { - wsprintf(s, "Register_Card Error = %d\n", card); - MessageBox(hWnd, s, "Error", MB_OK); - SendMessage(hWnd, WM_CLOSE, 0, 0L); - break; - } - } - EndDialog(hWnd, TRUE); - InvalidateRect(hWnd, NULL, FALSE); - return (TRUE); - case IDC_CHECK1: - if (precheck) { - SendMessage(GetDlgItem(hWnd,wParam), BM_SETCHECK, 0, 0); - precheck=FALSE; - } - else { - SendMessage(GetDlgItem(hWnd,wParam), BM_SETCHECK, 1, 0); - precheck=TRUE; - } - break; - case IDCANCEL: - EndDialog(hWnd, TRUE); - return (TRUE); - } - break; - } - return (FALSE); -} - -long PASCAL MainWndProc(hWnd, message, wParam, lParam) -HWND hWnd; -UINT message; -WPARAM wParam; -LPARAM lParam; -{ - HDC hDC; - PAINTSTRUCT ps; - int i; - char n[6]; - static int pos=0; - I16 err; - char s[50]; - - switch(message) { - case WM_CREATE: - - DialogBox(hInst,IDD_DIALOG2, hWnd, setup); - if(card<0) { - SendMessage(hWnd, WM_CLOSE, 0, 0L); - break; - } - hEdit=CreateWindow("EDIT", NULL, - WS_CHILD | WS_VISIBLE | ES_LEFT, - output_pos[13].x-30, input_pos[15].y+20,40, 20, hWnd, IDC_EDIT, hInst, NULL); - - hEdit1=CreateWindow("EDIT", NULL, - WS_CHILD | WS_VISIBLE | ES_LEFT, - output_pos[13].x+90, input_pos[15].y+20,60, 20, hWnd, IDC_EDIT1, hInst, NULL); - - if (precheck) { - hEdit2=CreateWindow("EDIT", NULL, - WS_CHILD | WS_VISIBLE | ES_LEFT, - output_pos[13].x+90, input_pos[15].y-20,60, 20, hWnd, IDC_EDIT2, hInst, NULL); - } - wsprintf(n,"%d",sample_rate/1000); - SetWindowText(hEdit,n); - - wsprintf(n,"%d",data_size); - SetWindowText(hEdit1,n); - - if (precheck) { - wsprintf(n,"%d",postCount); - SetWindowText(hEdit2,n); - } - CreateWindow("SCROLLBAR", NULL, - WS_CHILD | WS_VISIBLE | SBS_VERT, - output_pos[13].x+10, input_pos[15].y+20,20, 20, hWnd, IDC_SCROLL, hInst, NULL); - - hStart = CreateWindow("BUTTON","Start" , - WS_CHILD | WS_VISIBLE , - output_pos[10].x+110, input_pos[10].y+10,50, 30, hWnd, IDC_START, hInst, NULL); - - hStop = CreateWindow("BUTTON","Stop" , - WS_CHILD | WS_VISIBLE , - output_pos[10].x+170, input_pos[10].y+10,50, 30, hWnd, IDC_STOP, hInst, NULL); - - CreateWindow("BUTTON","Data Value" , - WS_CHILD | WS_VISIBLE , - output_pos[10].x+230, input_pos[10].y+10,80, 30, hWnd, IDC_SHOW, hInst, NULL); - EnableWindow(hStop, FALSE); - - CreateWindow("BUTTON","0" , - WS_CHILD | WS_VISIBLE | BS_AUTORADIOBUTTON | BS_LEFTTEXT | WS_GROUP , - output_pos[4].x+50, io_pos[0].y-5+20,25,15, hWnd,IDC_CH, hInst, NULL); - - CreateWindow("BUTTON","1" , - WS_CHILD | WS_VISIBLE | BS_AUTORADIOBUTTON | BS_LEFTTEXT | WS_GROUP, - output_pos[4].x+50, io_pos[0].y+13+20,25,15, hWnd,IDC_CH+1, hInst, NULL); - - CreateWindow("BUTTON","2" , - WS_CHILD | WS_VISIBLE | BS_AUTORADIOBUTTON | BS_LEFTTEXT | WS_GROUP, - output_pos[4].x+50, io_pos[0].y+31+20,25,15, hWnd,IDC_CH+2, hInst, NULL); - - CreateWindow("BUTTON","3" , - WS_CHILD | WS_VISIBLE | BS_AUTORADIOBUTTON | BS_LEFTTEXT | WS_GROUP, - output_pos[4].x+50, io_pos[0].y+49+20,25,15, hWnd,IDC_CH+3, hInst, NULL); - - CreateWindow("BUTTON","4" , - WS_CHILD | WS_VISIBLE | BS_AUTORADIOBUTTON | BS_LEFTTEXT | WS_GROUP, - output_pos[4].x+100, io_pos[0].y-5+20,25,15, hWnd,IDC_CH+4, hInst, NULL); - - CreateWindow("BUTTON","5" , - WS_CHILD | WS_VISIBLE | BS_AUTORADIOBUTTON | BS_LEFTTEXT | WS_GROUP, - output_pos[4].x+100, io_pos[0].y+13+20,25,15, hWnd, IDC_CH+5, hInst, NULL); - - CreateWindow("BUTTON","6" , - WS_CHILD | WS_VISIBLE | BS_AUTORADIOBUTTON | BS_LEFTTEXT | WS_GROUP, - output_pos[4].x+100, io_pos[0].y+31+20,25,15, hWnd,IDC_CH+6, hInst, NULL); - - CreateWindow("BUTTON","7" , - WS_CHILD | WS_VISIBLE | BS_AUTORADIOBUTTON | BS_LEFTTEXT | WS_GROUP, - output_pos[4].x+100, io_pos[0].y+49+20,25,15, hWnd, IDC_CH+7, hInst, NULL); - - //default channel 0 - for (i=1;i<8;i++) bCheck[i]=FALSE; - bCheck[0] = TRUE; - channel = 0; - SendMessage(GetDlgItem(hWnd,IDC_CH), BM_SETCHECK, 1, 0); - - hBlackBrush= CreateSolidBrush(RGB(0,0,0)); - hRedPen= CreatePen(PS_SOLID,1,RGB(255,0,0)); - hBlackPen= CreatePen(PS_SOLID,1,RGB(0,0,0)); - break; - - case WM_PAINT: - hDC = BeginPaint(hWnd, &ps); - - // DMA analog input box - SelectObject(hDC, GetStockObject(GRAY_BRUSH)); - Rectangle(hDC, output_pos[15].x-10, io_pos[15].y-24, output_pos[0].x+26, io_pos[0].y+195); - SetTextColor(hDC,RGB(255,255,0)); - SetBkColor(hDC, RGB(0, 0, 255)); - TextOut(hDC, io_pos[15].x, io_pos[15].y-35, "DMA Input", 9); - SelectObject(hDC, hBlackBrush); - Rectangle(hDC, output_pos[15].x+35, io_pos[15].y-2, output_pos[4].x+41, io_pos[0].y+172); - - SetBkMode(hDC,TRANSPARENT); - if (precheck) - TextOut(hDC,output_pos[13].x+70, input_pos[10].y-40,"PostCount",9); - TextOut(hDC,output_pos[13].x-60, input_pos[10].y,"Samping Rate",12); - TextOut(hDC,output_pos[13].x+30, input_pos[15].y+20,"KHZ",3); - TextOut(hDC,output_pos[13].x+70, input_pos[10].y,"Buffer Size",11); - TextOut(hDC,input_pos[2].x-10, io_pos[15].y+118,"Range: +-5V",11); - TextOut(hDC,input_pos[15].x, io_pos[15].y-19,"Volt",4); - TextOut(hDC,input_pos[15].x, io_pos[15].y-5,"5.00",4); - TextOut(hDC,input_pos[15].x, io_pos[15].y+36,"2.50",4); - TextOut(hDC,input_pos[15].x, io_pos[15].y+77,"0.00",4); - TextOut(hDC,input_pos[15].x-3, io_pos[15].y+118,"-2.50",5); - TextOut(hDC,input_pos[15].x-3, io_pos[15].y+159,"-5.00",5); - TextOut(hDC,input_pos[10].x+10, io_pos[10].y-19,"Signals",7); - TextOut(hDC,output_pos[4].x+60, io_pos[0].y-15,"Channel",7); - EndPaint(hWnd, &ps); - break; - - // Sample Rate Spin Control - case WM_VSCROLL: - switch (LOWORD(wParam)) { - case SB_LINEUP : - sample_rate+=5000; - if (sample_rate > 50000 ) sample_rate=50000; - break; - case SB_LINEDOWN: - sample_rate-=5000; - if (sample_rate < 5000 ) sample_rate=5000; - break; - } - wsprintf(n,"%d",sample_rate/1000); - SetWindowText(hEdit,n); - break; - case WM_COMMAND: - switch(LOWORD(wParam)) { - case IDM_EXIT: - SendMessage(hWnd, WM_CLOSE, 0, 0L); - break; - case IDC_CH: - case IDC_CH+1: - case IDC_CH+2: - case IDC_CH+3: - case IDC_CH+4: - case IDC_CH+5: - case IDC_CH+6: - case IDC_CH+7: - if (!bCheck[wParam-IDC_CH]) { - SendMessage(GetDlgItem(hWnd,wParam), BM_SETCHECK, 1, 0); - SendMessage(GetDlgItem(hWnd,IDC_CH+channel), BM_SETCHECK, 0, 0); - bCheck[channel]=FALSE; - } - channel=wParam-IDC_CH; - bCheck[channel]=TRUE; - break; - case IDC_SHOW : - DialogBox(hInst, "DMABox", hWnd, ShowDMA); - break; - case IDC_START: - if (hMem != NULL) { - GlobalUnfix(hMem); - GlobalUnlock(hMem); - GlobalFree(hMem); - } - // allocate a memory for DMA - postCount = GetDlgItemInt(hWnd,IDC_EDIT2,NULL ,FALSE); - data_size=GetDlgItemInt(hWnd,IDC_EDIT1,NULL ,FALSE); - if (data_size%512) { - wsprintf(s, "Buffer Size should be devided by 512\n", postCount+2); - MessageBox(hWnd,s,"Data Size Error", MB_OK); - break; - } - mem_size=data_size * 2; - hMem = GlobalAlloc(GMEM_FIXED | GMEM_ZEROINIT,mem_size); - - ai_buf = (U16 *)GlobalLock(hMem); - if (ai_buf == NULL ) { - MessageBox(hWnd,"DMA", "No Memory", MB_OK); - SendMessage(hWnd, WM_CLOSE, 0, 0L); - break; - } - GlobalFix(hMem); - fstop =0; - if ((err=AI_9111_Config(card,TRIG_INT_PACER, precheck, postCount))!= NoError) { - wsprintf(s, "AI_Config Error = %d\n", err); - MessageBox(hWnd, s, "Error", MB_OK); - SendMessage(hWnd, WM_CLOSE, 0, 0L); - break; - } - if((err= AI_EventCallBack (card, 1, AIEnd, (U32) AI_CallBack)) != NoError) { - wsprintf(s, "AI_EventCallBack Error = %d\n", err); - MessageBox(hWnd, s, "Error", MB_OK); - SendMessage(hWnd, WM_CLOSE, 0, 0L); - break; - } - if ((err=AI_ContReadChannel(card, channel, AD_B_5_V, ai_buf, data_size, (F64)sample_rate, ASYNCH_OP)) != NoError) { - wsprintf(s, "AI_ContReadPort Error = %d\n", err); - MessageBox(hWnd, s, "Error", MB_OK); - SendMessage(hWnd, WM_CLOSE, 0, 0L); - break; - } - EnableWindow(hStart, FALSE); - EnableWindow(hStop, TRUE); - hMainWnd = hWnd; - clear_op = FALSE; - MessageBeep(0); - break; - case IDC_STOP: - clear_op = TRUE; - AI_AsyncClear(card, &count); - EnableWindow(hStart, TRUE); - EnableWindow(hStop, FALSE); - break; - default: - return(DefWindowProc(hWnd, message, wParam, lParam)); - } - break; - case WM_DESTROY: - if (card >= 0) Release_Card(card); - DeleteObject(hBlackBrush); - DeleteObject(hRedPen); - GlobalUnfix(hMem); - GlobalUnlock(hMem); - GlobalFree(hMem); - PostQuitMessage(0); - break; - default: - return(DefWindowProc(hWnd, message, wParam, lParam)); - } - return(NULL); -} - -BOOL PASCAL ShowDMA(hDlg, message, wParam, lParam) -HWND hDlg; -UINT message; -WPARAM wParam; -LPARAM lParam; -{ - int nTabs[2] = {32, 92}; - int i; - char cBuf[100]; - char string[10]=" "; - char data_str[3]=" "; - I16 *pp; - switch (message) { - case WM_INITDIALOG: - hListBox = CreateWindow("LISTBOX", "Index Data (Hex)", - WS_CHILD | WS_VISIBLE | LBS_HASSTRINGS | LBS_STANDARD | LBS_USETABSTOPS |WS_CAPTION, - 50, 40, 240, 180, hDlg, 100, hInst, NULL); - SendMessage(hListBox, LB_RESETCONTENT, 0, 0L); - SendMessage(hListBox, LB_SETTABSTOPS, 2, (DWORD)(LPINT) nTabs); - SetDlgItemText(hDlg, DMA_DESCP, "This ListBox can show at most 4000 data"); - itoa( data_size, string, 10); - SetDlgItemText(hDlg, DMA_SPACE, string); - - pp = (I16 *)ai_buf; - if (count > 4000) count = 4000; - for(i=0;i>4; - newy = io_pos[0].y+86-(87*(I16)adinput)/2048; - newx = i*336/count+output_pos[15].x+35; - if (i==0) - MoveToEx(hDC, newx, newy, NULL); - else - MoveToEx(hDC, oldx, oldy, NULL); - LineTo(hDC, newx, newy); - oldx = newx; - oldy = newy; - } - ReleaseDC(hMainWnd, hDC); -} - \ No newline at end of file diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9111/SDK9111IntCallBack/9111SPTg.dsp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9111/SDK9111IntCallBack/9111SPTg.dsp deleted file mode 100644 index bfa4199..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9111/SDK9111IntCallBack/9111SPTg.dsp +++ /dev/null @@ -1,110 +0,0 @@ -# Microsoft Developer Studio Project File - Name="9111SPTg" - Package Owner=<4> -# Microsoft Developer Studio Generated Build File, Format Version 5.00 -# ** DO NOT EDIT ** - -# TARGTYPE "Win32 (x86) Application" 0x0101 - -CFG=9111SPTg - Win32 Release -!MESSAGE This is not a valid makefile. To build this project using NMAKE, -!MESSAGE use the Export Makefile command and run -!MESSAGE -!MESSAGE NMAKE /f "9111SPTg.mak". -!MESSAGE -!MESSAGE You can specify a configuration when running NMAKE -!MESSAGE by defining the macro CFG on the command line. For example: -!MESSAGE -!MESSAGE NMAKE /f "9111SPTg.mak" CFG="9111SPTg - Win32 Release" -!MESSAGE -!MESSAGE Possible choices for configuration are: -!MESSAGE -!MESSAGE "9111SPTg - Win32 Release" (based on "Win32 (x86) Application") -!MESSAGE "9111SPTg - Win32 Debug" (based on "Win32 (x86) Application") -!MESSAGE - -# Begin Project -# PROP Scc_ProjName "" -# PROP Scc_LocalPath "" -CPP=cl.exe -MTL=midl.exe -RSC=rc.exe - -!IF "$(CFG)" == "9111SPTg - Win32 Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir ".\Release" -# PROP BASE Intermediate_Dir ".\Release" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "" -# PROP Intermediate_Dir ".\Release" -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /YX /c -# ADD CPP /nologo /MT /W3 /GX /Od /I "..\..\..\include" /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /FD /c -# SUBTRACT CPP /YX -# ADD BASE MTL /nologo /D "NDEBUG" /win32 -# ADD MTL /nologo /D "NDEBUG" /mktyplib203 /win32 -# ADD BASE RSC /l 0x409 /d "NDEBUG" -# ADD RSC /l 0x409 /d "NDEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:windows /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ..\..\..\lib\pci-dask.lib /nologo /subsystem:windows /machine:I386 - -!ELSEIF "$(CFG)" == "9111SPTg - Win32 Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir ".\Debug" -# PROP BASE Intermediate_Dir ".\Debug" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir ".\Debug" -# PROP Intermediate_Dir ".\Debug" -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /Gm /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /YX /c -# ADD CPP /nologo /MTd /W3 /Gm /GX /Zi /Od /I "..\..\..\include" /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /FD /c -# SUBTRACT CPP /YX -# ADD BASE MTL /nologo /D "_DEBUG" /win32 -# ADD MTL /nologo /D "_DEBUG" /mktyplib203 /win32 -# ADD BASE RSC /l 0x409 /d "_DEBUG" -# ADD RSC /l 0x409 /d "_DEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:windows /debug /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ..\..\..\lib\pci-dask.lib /nologo /subsystem:windows /debug /machine:I386 - -!ENDIF - -# Begin Target - -# Name "9111SPTg - Win32 Release" -# Name "9111SPTg - Win32 Debug" -# Begin Group "Source Files" - -# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;hpj;bat;for;f90" -# Begin Source File - -SOURCE=.\9111SPTg.c -# End Source File -# Begin Source File - -SOURCE=.\9111SPTg.rc -# End Source File -# End Group -# Begin Group "Header Files" - -# PROP Default_Filter "h;hpp;hxx;hm;inl;fi;fd" -# End Group -# Begin Group "Resource Files" - -# PROP Default_Filter "ico;cur;bmp;dlg;rc2;rct;bin;cnt;rtf;gif;jpg;jpeg;jpe" -# End Group -# End Target -# End Project diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9111/SDK9111IntCallBack/9111SPTg.dsw b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9111/SDK9111IntCallBack/9111SPTg.dsw deleted file mode 100644 index 0b32336..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9111/SDK9111IntCallBack/9111SPTg.dsw +++ /dev/null @@ -1,29 +0,0 @@ -Microsoft Developer Studio Workspace File, Format Version 5.00 -# WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE! - -############################################################################### - -Project: "9111SPTg"=.\9111SPTg.dsp - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ -}}} - -############################################################################### - -Global: - -Package=<5> -{{{ -}}} - -Package=<3> -{{{ -}}} - -############################################################################### - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9111/SDK9111IntCallBack/9111SPTg.exe b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9111/SDK9111IntCallBack/9111SPTg.exe deleted file mode 100644 index 7bbfcb0..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9111/SDK9111IntCallBack/9111SPTg.exe and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9111/SDK9111IntCallBack/9111SPTg.rc b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9111/SDK9111IntCallBack/9111SPTg.rc deleted file mode 100644 index 0ba2d37..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9111/SDK9111IntCallBack/9111SPTg.rc +++ /dev/null @@ -1,128 +0,0 @@ -//Microsoft Developer Studio generated resource script. -// -#include "resource.h" - -#define APSTUDIO_READONLY_SYMBOLS -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 2 resource. -// -#define APSTUDIO_HIDDEN_SYMBOLS -#include "windows.h" -#undef APSTUDIO_HIDDEN_SYMBOLS - -///////////////////////////////////////////////////////////////////////////// -#undef APSTUDIO_READONLY_SYMBOLS - -///////////////////////////////////////////////////////////////////////////// -// English (U.S.) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -#ifdef _WIN32 -LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US -#pragma code_page(1252) -#endif //_WIN32 - -///////////////////////////////////////////////////////////////////////////// -// -// Menu -// - -U7120MENU MENU DISCARDABLE -BEGIN - MENUITEM "E&xit!", IDM_EXIT -END - - -#ifdef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// TEXTINCLUDE -// - -1 TEXTINCLUDE DISCARDABLE -BEGIN - "resource.h\0" -END - -2 TEXTINCLUDE DISCARDABLE -BEGIN - "#define APSTUDIO_HIDDEN_SYMBOLS\r\n" - "#include ""windows.h""\r\n" - "#undef APSTUDIO_HIDDEN_SYMBOLS\r\n" - "\0" -END - -3 TEXTINCLUDE DISCARDABLE -BEGIN - "\r\n" - "\0" -END - -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog -// - -DMABOX DIALOG DISCARDABLE 18, 10, 171, 169 -STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "Data Value (half of circular buffer)" -FONT 8, "System" -BEGIN - PUSHBUTTON "STOP",ID_STOP,82,147,24,14 - LTEXT "Data Transferred :",-1,39,119,64,8 - LTEXT "Text",DMA_SPACE,103,118,41,8 - LTEXT "Text",DMA_DESCP,16,6,158,8 -END - -IDD_DIALOG2 DIALOG DISCARDABLE 110, 10, 107, 66 -STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "Card Number" -FONT 10, "System" -BEGIN - DEFPUSHBUTTON "OK",IDOK,7,45,37,14 - PUSHBUTTON "Cancel",IDCANCEL,62,45,38,14 - LTEXT "Card Number",IDC_CARDNUM,7,8,43,14 - COMBOBOX IDC_COMBO1,56,8,44,85,CBS_DROPDOWN | WS_VSCROLL | - WS_TABSTOP - CONTROL "Pre-trigger Enabled",IDC_CHECK1,"Button", - BS_AUTOCHECKBOX | WS_TABSTOP,7,26,93,13 -END - - -///////////////////////////////////////////////////////////////////////////// -// -// DESIGNINFO -// - -#ifdef APSTUDIO_INVOKED -GUIDELINES DESIGNINFO DISCARDABLE -BEGIN - IDD_DIALOG2, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 100 - TOPMARGIN, 8 - BOTTOMMARGIN, 59 - END -END -#endif // APSTUDIO_INVOKED - -#endif // English (U.S.) resources -///////////////////////////////////////////////////////////////////////////// - - - -#ifndef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 3 resource. -// - - -///////////////////////////////////////////////////////////////////////////// -#endif // not APSTUDIO_INVOKED - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9111/SDK9111IntCallBack/resource.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9111/SDK9111IntCallBack/resource.h deleted file mode 100644 index 40be4e6..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9111/SDK9111IntCallBack/resource.h +++ /dev/null @@ -1,29 +0,0 @@ -//{{NO_DEPENDENCIES}} -// Microsoft Developer Studio generated include file. -// Used by 9111SPTg.rc -// -#define IDOK2 3 -#define IDCANCEL2 4 -#define IDM_SETUP 101 -#define IDD_DIALOG1 101 -#define IDD_DIALOG2 104 -#define IDM_EXIT 110 -#define ID_CARDNUMBER 122 -#define ID_STOP 304 -#define DMA_SPACE 500 -#define DMA_DESCP 600 -#define IDC_COMBO1 1001 -#define IDC_CARDNUM 1002 -#define IDC_CHECK1 1003 -#define IDC_STATIC -1 - -// Next default values for new objects -// -#ifdef APSTUDIO_INVOKED -#ifndef APSTUDIO_READONLY_SYMBOLS -#define _APS_NEXT_RESOURCE_VALUE 106 -#define _APS_NEXT_COMMAND_VALUE 123 -#define _APS_NEXT_CONTROL_VALUE 1002 -#define _APS_NEXT_SYMED_VALUE 101 -#endif -#endif diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9111/SDK9111SPostTrg/9111INT.EXE b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9111/SDK9111SPostTrg/9111INT.EXE deleted file mode 100644 index 9c33935..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9111/SDK9111SPostTrg/9111INT.EXE and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9111/SDK9111SPostTrg/9111int.c b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9111/SDK9111SPostTrg/9111int.c deleted file mode 100644 index 35fa341..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9111/SDK9111SPostTrg/9111int.c +++ /dev/null @@ -1,549 +0,0 @@ -#include -#include -#include -#include -#include -#include -#include "resource.h" -#include "dask.h" - -#define IDM_EXIT 110 -#define IDC_ADDR 200 -#define IDC_SCROLL 207 -#define IDC_START 208 -#define IDC_STOP 209 -#define IDC_PAUSE 210 -#define IDC_EDIT 211 -#define IDC_CHAN 214 -#define IDC_SHOW 213 -#define NONE 0 - -int PASCAL WinMain(HANDLE, HANDLE, LPSTR, int); -long PASCAL MainWndProc(HWND, UINT, WPARAM, LPARAM); -BOOL PASCAL ShowINT(HWND, UINT, WPARAM, LPARAM); - -HANDLE hInst; -HWND hListBox; -HWND hChanComboBox, hCardComboBox; -HWND hADScroll; -HWND hEdit,hEdit1,hData; -int input=0, output=0; -int oldinput[8], adinput; - -HBRUSH hBlackBrush; -HPEN hRedPen; - -long sample_rate=10000; -unsigned int base_addr=NONE,gain=1; -I16 card = -1, card_number =0;; -I16 Card_Type=PCI_9111DG; -long data_size=10240; -U16 channel=0, range = AD_B_5_V; - -DWORD mem_size = 0; -static HANDLE hMem=NULL; -I16 *ai_buf; -I16 card_value[2] = {PCI_9111DG, PCI_9111HR}; -LPSTR Card_Name[2]={"PCI9111DG", "PCI9111HR"}; - - -POINT input_pos[16]= {{470, 280}, {440, 280}, - {410, 280}, {380, 280}, - {350, 280}, {320, 280}, - { 290, 280}, {260, 280}, - {230, 280}, {200, 280}, - {170, 280}, {140, 280}, - {110, 280}, {80, 280}, - { 50, 280}, { 20, 280}, - }; - -POINT output_pos[16] ={ - {470, 340}, {440, 340}, - {410, 340}, {380, 340}, - {350, 340}, {320, 340}, - { 290, 340}, {260, 340}, - {230, 340}, {200, 340}, - {170, 340}, {140, 340}, - {110, 340}, {80, 340}, - { 50, 340}, { 20, 340}, - }; - -POINT io_pos[16] ={ - {395, 40}, {370, 40}, - {345, 40}, {320, 40}, - {295, 40}, {270, 40}, - { 245, 40}, {220, 40}, - {195, 40}, {170, 40}, - {145, 40}, {120, 40}, - {95, 40}, {70, 40}, - { 45, 40}, { 20, 40}, - }; - -HBRUSH hLTGreenBrush,hGreenBrush,hBlueBrush,hYellowBrush,hRedBrush,hBlackBrush,hWhiteBrush - ,hLTRedBrush,hLTBlueBrush; -HPEN hRedPen,hYellowPen,hGreenPen,hBluePen,hLTBluePen,hLTRedPen,hLTGreenPen,hWhitePen; - -BOOL InitApplication(HANDLE); -BOOL InitInstance(HANDLE, int); - -int PASCAL WinMain(hInstance, hPrevInstance, lpCmdLine, nCmdShow) -HANDLE hInstance, hPrevInstance; -LPSTR lpCmdLine; -int nCmdShow; -{ - MSG msg; - - if (!hPrevInstance) - if (!InitApplication(hInstance)) return(FALSE); - if (!InitInstance(hInstance, nCmdShow)) return(FALSE); - while (GetMessage(&msg, NULL, NULL, NULL)) { - TranslateMessage(&msg); - DispatchMessage(&msg); - } - return(msg.wParam); -} - -BOOL InitApplication(hInstance) -HANDLE hInstance; -{ - WNDCLASS wc; - - /* Main Window Class */ - wc.style = NULL; - wc.lpfnWndProc = (WNDPROC)MainWndProc; - wc.cbClsExtra = 0; - wc.cbWndExtra = 0; - wc.hInstance = hInstance; - wc.hIcon = LoadIcon(hInstance, "MyIcon"); - wc.hCursor = LoadCursor(NULL, IDC_ARROW); - wc.hbrBackground = GetStockObject(LTGRAY_BRUSH); - wc.lpszMenuName = NULL; - wc.lpszClassName = "GenericWClass"; - if (!RegisterClass(&wc)) return(FALSE); -} - -BOOL InitInstance(hInstance, nCmdShow) -HANDLE hInstance; -int nCmdShow; -{ - HWND hWnd; - HMENU hSampleMenu; - - hInst = hInstance; - hSampleMenu = LoadMenu(hInstance, "U7120Menu"); - hWnd = CreateWindow("GenericWClass", - (LPCSTR)"9111 Post triggered Autoscan", - WS_OVERLAPPEDWINDOW, - CW_USEDEFAULT, - CW_USEDEFAULT, - 520, - 400, - NULL, - hSampleMenu, - hInstance, - NULL); - if (!hWnd) return(FALSE); - ShowWindow(hWnd, nCmdShow); - UpdateWindow(hWnd); - return(TRUE); -} - -BOOL PASCAL setup(HWND hWnd, unsigned message, WPARAM wParam, LPARAM lParam) -{ - int i,k; - char n[16]; - char s[50]; - switch (message) { - case WM_INITDIALOG: - for (i=0;i<2;i++) { - SendMessage(GetDlgItem(hWnd,IDC_COMBO1), CB_ADDSTRING, NULL, (LONG)Card_Name[i]); - } - SendMessage(GetDlgItem(hWnd,IDC_COMBO1) , CB_SETCURSEL, 0, 0L); - for (i=0;i<16;i++) { - wsprintf(n, "%d", i); - _strupr(n); - SendMessage(GetDlgItem(hWnd,IDC_COMBO2), CB_ADDSTRING, NULL, (LONG)(LPSTR) n); - } - SendMessage(GetDlgItem(hWnd,IDC_COMBO2) , CB_SETCURSEL, 0, 0L); - break; - case WM_COMMAND: - switch(LOWORD(wParam)) { - - case IDC_COMBO1: - if (HIWORD(wParam) == CBN_CLOSEUP) { - i = (int)SendMessage(GetDlgItem(hWnd,IDC_COMBO1), CB_GETCURSEL, 0, 0L); - SendMessage(GetDlgItem(hWnd,IDC_COMBO1), CB_GETLBTEXT, i, (LPARAM)((LPCSTR)n)); - Card_Type = card_value[i]; - } - return(TRUE); - case IDC_COMBO2: - if (HIWORD(wParam) == CBN_CLOSEUP) { - i = (int)SendMessage(GetDlgItem(hWnd,IDC_COMBO2), CB_GETCURSEL, 0, 0L); - SendMessage(GetDlgItem(hWnd,IDC_COMBO2), CB_GETLBTEXT, i, (LPARAM)((LPCSTR)n)); - card_number = i; - } - return(TRUE); - case IDOK: - if ((card=Register_Card(Card_Type, card_number)) < 0) { - wsprintf(s, "Register_Card Error = %d\n", card); - MessageBox(hWnd, s, "Error", MB_OK); - SendMessage(hWnd, WM_CLOSE, 0, 0L); - break; - } - EndDialog(hWnd, TRUE); - InvalidateRect(hWnd, NULL, FALSE); - return (TRUE); - case IDCANCEL: - EndDialog(hWnd, TRUE); - return (TRUE); - } - break; - } - return (FALSE); -} - -long PASCAL MainWndProc(hWnd, message, wParam, lParam) -HWND hWnd; -UINT message; -WPARAM wParam; -LPARAM lParam; -{ - HDC hDC; - PAINTSTRUCT ps; - int i; - int cur_channel; - char s[50]; - char n[6]; - static int pos=0; - static int count,status; - I16 err; - BOOLEAN bStopped; - - switch(message) { - case WM_CREATE: - DialogBox(hInst,IDD_DIALOG2, hWnd, setup); - if(card<0) { - SendMessage(hWnd, WM_CLOSE, 0, 0L); - break; - } - hChanComboBox = CreateWindow("ComboBox", NULL, - CBS_DROPDOWNLIST | WS_CHILD | WS_VISIBLE | WS_VSCROLL, - input_pos[10].x, input_pos[15].y+18, 100, 160, hWnd, IDC_CHAN, hInst, NULL); - SendMessage(hChanComboBox, CB_ADDSTRING, NULL, (LONG)(LPSTR)"CH0"); - SendMessage(hChanComboBox, CB_ADDSTRING, NULL, (LONG)(LPSTR)"CH0 ~ CH1"); - SendMessage(hChanComboBox, CB_ADDSTRING, NULL, (LONG)(LPSTR)"CH0 ~ CH2"); - SendMessage(hChanComboBox, CB_ADDSTRING, NULL, (LONG)(LPSTR)"CH0 ~ CH3"); - SendMessage(hChanComboBox, CB_ADDSTRING, NULL, (LONG)(LPSTR)"CH0 ~ CH4"); - SendMessage(hChanComboBox, CB_ADDSTRING, NULL, (LONG)(LPSTR)"CH0 ~ CH5"); - SendMessage(hChanComboBox, CB_ADDSTRING, NULL, (LONG)(LPSTR)"CH0 ~ CH6"); - SendMessage(hChanComboBox, CB_ADDSTRING, NULL, (LONG)(LPSTR)"CH0 ~ CH7"); - SendMessage(hChanComboBox ,CB_SETCURSEL, 0, 0L); - hEdit=CreateWindow("EDIT", NULL, - WS_CHILD | WS_VISIBLE | ES_LEFT, - output_pos[13].x-30, input_pos[15].y+20,40, 20, hWnd, IDC_EDIT, hInst, NULL); - - wsprintf(n,"%d",sample_rate/1000); - SetWindowText(hEdit,n); - - CreateWindow("SCROLLBAR", NULL, - WS_CHILD | WS_VISIBLE | SBS_VERT, - output_pos[13].x+10, input_pos[15].y+20,20, 20, hWnd, IDC_SCROLL, hInst, NULL); - - CreateWindow("BUTTON","Start" , - WS_CHILD | WS_VISIBLE , - output_pos[10].x+140, input_pos[10].y+10,70, 30, hWnd, IDC_START, hInst, NULL); - - hData=CreateWindow("BUTTON","Data Value" , - WS_CHILD | WS_VISIBLE , - output_pos[10].x+230, input_pos[10].y+10,80, 30, hWnd, IDC_SHOW, hInst, NULL); - - hLTGreenBrush = CreateSolidBrush(RGB(0, 255, 0)); - hGreenBrush = CreateSolidBrush(RGB(0, 128, 0)); - hBlueBrush = CreateSolidBrush(RGB(0, 0, 255)); - hRedBrush = CreateSolidBrush(RGB(255, 0, 0)); - hYellowBrush= CreateSolidBrush(RGB(255,255,0)); - hBlackBrush= CreateSolidBrush(RGB(0,0,0)); - hLTBlueBrush= CreateSolidBrush(RGB(0,255,255)); - hLTRedBrush= CreateSolidBrush(RGB(255,128,0)); - hWhiteBrush= CreateSolidBrush(RGB(255,255,255)); - hRedPen= CreatePen(PS_SOLID,1,RGB(255,0,0)); - hYellowPen= CreatePen(PS_SOLID,1,RGB(255,255,0)); - hBluePen= CreatePen(PS_SOLID,1,RGB(0,0,255)); - hGreenPen= CreatePen(PS_SOLID,1,RGB(0,255,0)); - hLTBluePen= CreatePen(PS_SOLID,1,RGB(0,128,255)); - hLTRedPen= CreatePen(PS_SOLID,1,RGB(128,128,0)); - hLTGreenPen= CreatePen(PS_SOLID,1,RGB(0,128,0)); - hWhitePen= CreatePen(PS_SOLID,1,RGB(255,255,255)); - break; - - case WM_PAINT: - hDC = BeginPaint(hWnd, &ps); - // Analog Input Box - SelectObject(hDC, GetStockObject(GRAY_BRUSH)); - Rectangle(hDC, output_pos[15].x-10, io_pos[15].y-24, output_pos[0].x+26, io_pos[0].y+195); - SetTextColor(hDC,RGB(255,255,0)); - SetBkColor(hDC, RGB(0, 0, 255)); - TextOut(hDC, io_pos[15].x, io_pos[15].y-35, "Interrupt Input(A/D) ", 22); - - SelectObject(hDC, hBlackBrush); - Rectangle(hDC, output_pos[15].x+35, io_pos[15].y-2, output_pos[4].x+41, io_pos[0].y+172); - - SelectObject(hDC,hYellowBrush ); - Rectangle(hDC,output_pos[4].x+68, io_pos[0].y-5+18,output_pos[4].x+80, io_pos[0].y+10+18); - - SelectObject(hDC, hGreenBrush); - Rectangle(hDC,output_pos[4].x+68, io_pos[0].y+13+18,output_pos[4].x+80, io_pos[0].y+28+18); - - SelectObject(hDC, hBlueBrush); - Rectangle(hDC,output_pos[4].x+68, io_pos[0].y+31+18,output_pos[4].x+80, io_pos[0].y+46+18); - - SelectObject(hDC, hRedBrush); - Rectangle(hDC,output_pos[4].x+68, io_pos[0].y+49+18,output_pos[4].x+80, io_pos[0].y+64+18); - - SelectObject(hDC, hLTBlueBrush); - Rectangle(hDC,output_pos[4].x+108, io_pos[0].y-5+18,output_pos[4].x+120, io_pos[0].y+10+18); - - SelectObject(hDC, hLTRedBrush); - Rectangle(hDC,output_pos[4].x+108, io_pos[0].y+13+18,output_pos[4].x+120, io_pos[0].y+28+18); - - SelectObject(hDC, hLTGreenBrush); - Rectangle(hDC,output_pos[4].x+108, io_pos[0].y+31+18,output_pos[4].x+120, io_pos[0].y+46+18); - - SelectObject(hDC, hWhiteBrush); - Rectangle(hDC,output_pos[4].x+108, io_pos[0].y+49+18,output_pos[4].x+120, io_pos[0].y+64+18); - - SetBkMode(hDC,TRANSPARENT); - TextOut(hDC,output_pos[13].x-60, input_pos[10].y,"Samping Rate",12); - TextOut(hDC,output_pos[13].x+30, input_pos[15].y+20,"KHZ",3); - TextOut(hDC,output_pos[13].x+80, input_pos[10].y,"Channel",7); - TextOut(hDC,input_pos[2].x-10, io_pos[15].y+118,"Range: +-5V",11); - TextOut(hDC,input_pos[15].x, io_pos[15].y-19,"Volts",5); - TextOut(hDC,input_pos[15].x, io_pos[15].y-5,"5.00",4); - TextOut(hDC,input_pos[15].x, io_pos[15].y+36,"2.50",4); - TextOut(hDC,input_pos[15].x, io_pos[15].y+77,"0.00",4); - TextOut(hDC,input_pos[15].x-3, io_pos[15].y+118,"-2.50",5); - TextOut(hDC,input_pos[15].x-3, io_pos[15].y+159,"-5.00",5); - TextOut(hDC,input_pos[10].x+10, io_pos[10].y-19,"Signals",7); - - TextOut(hDC,output_pos[4].x+58, io_pos[0].y-5+18,"0",1); - TextOut(hDC,output_pos[4].x+58, io_pos[0].y+13+18,"1",1); - TextOut(hDC,output_pos[4].x+58, io_pos[0].y+31+18,"2",1); - TextOut(hDC,output_pos[4].x+58, io_pos[0].y+49+18,"3",1); - TextOut(hDC,output_pos[4].x+98, io_pos[0].y-5+18,"4",1); - TextOut(hDC,output_pos[4].x+98, io_pos[0].y+13+18,"5",1); - TextOut(hDC,output_pos[4].x+98, io_pos[0].y+31+18,"6",1); - TextOut(hDC,output_pos[4].x+98, io_pos[0].y+49+18,"7",1); - - //TextOut(hDC,output_pos[13].x-63, input_pos[10].y-35,"Card",4); - //TextOut(hDC,output_pos[13].x-63, input_pos[10].y-22,"Type",4); - - EndPaint(hWnd, &ps); - break; - - // Sample Rate Spin Control - case WM_VSCROLL: - switch(LOWORD(wParam)){ - case SB_LINEUP : - sample_rate+=1000; - if (sample_rate > 100000 ) sample_rate=100000; - break; - case SB_LINEDOWN: - sample_rate-=1000; - if (sample_rate < 1000 ) sample_rate=1000; - break; - } - wsprintf(n,"%d",sample_rate/1000); - SetWindowText(hEdit,n); - break; - - case WM_COMMAND: - switch(LOWORD(wParam)) { - case IDM_EXIT: - SendMessage(hWnd, WM_CLOSE, 0, 0L); - break; - - case IDC_SHOW : - DialogBox(hInst, - "IntBox", - hWnd, - ShowINT); - break; - - case IDC_CHAN: - if (HIWORD(wParam) == CBN_CLOSEUP) { - if ((i=(int)SendMessage(GetDlgItem(hWnd,IDC_CHAN),CB_GETCURSEL, 0, 0L))>=0 ) { - channel=i; - } - } - break; - case IDC_START: - EnableWindow (hData, FALSE); - if (hMem != NULL) - { - GlobalUnfix(hMem); - GlobalUnlock(hMem); - GlobalFree(hMem); - } - // allocate a memory for user DMA buffer - mem_size=data_size*2; - hMem = GlobalAlloc(GMEM_ZEROINIT,mem_size); - ai_buf = GlobalLock(hMem); - if (ai_buf == NULL ) - { - MessageBox(hWnd,"INT", - "No Memory", MB_OK); - } - GlobalFix(hMem); - err=AI_9111_Config(card,TRIG_INT_PACER, P9111_TRGMOD_POST, 1024); - if (err!=0) { - wsprintf(s, "AI_9111_Config error=%d", err); - MessageBox(hWnd, s, "Error", MB_OK); - } - err=AI_AsyncDblBufferMode(card, 0); - if (err!=0) { - wsprintf(s, "AI_DblBufferMode error=%d", err); - MessageBox(hWnd, s, "Error", MB_OK); - } - err=AI_ContScanChannels (card, channel, range, ai_buf, data_size, (F64)sample_rate, ASYNCH_OP); - if (err!=0) { - wsprintf(s, "AI_ContReadChannel error=%d", err); - MessageBox(hWnd, s, "Error", MB_OK); - } - do { - AI_AsyncCheck(card, &bStopped, &count); - } while (!bStopped); - AI_AsyncClear(card, &count); - EnableWindow (hData, TRUE); - for (i=0;i<8;i++) oldinput[i]=-1; - hDC = GetDC(hWnd); - SelectObject(hDC, hBlackBrush); - Rectangle(hDC,output_pos[15].x+35,io_pos[0].y-3,output_pos[15].x+370,io_pos[0].y+175); - - for (i=0;i> 4; - adinput=io_pos[0].y+86-(87* (I16) adinput)/2048; - if (oldinput[cur_channel]!=-1) - MoveToEx(hDC,(i*334)/data_size+output_pos[15].x+35,oldinput[cur_channel],NULL); - else - MoveToEx(hDC,(i*334)/data_size+output_pos[15].x+35,adinput,NULL); - LineTo(hDC,(i*334)/data_size+output_pos[15].x+36,adinput); - oldinput[cur_channel]=adinput; - } // for - ReleaseDC(hWnd, hDC); - break; - - default: - return(DefWindowProc(hWnd, message, wParam, lParam)); - } - break; - - case WM_DESTROY: - if (card >= 0) Release_Card (card); - DeleteObject(hRedBrush); - DeleteObject(hGreenBrush); - DeleteObject(hLTGreenBrush); - DeleteObject(hYellowBrush); - DeleteObject(hBlueBrush) ; - DeleteObject(hBlackBrush); - DeleteObject(hRedPen); - DeleteObject(hYellowPen); - DeleteObject(hBluePen); - DeleteObject(hGreenPen); - DeleteObject(hLTBluePen); - DeleteObject(hLTRedPen); - DeleteObject(hLTGreenPen); - DeleteObject(hWhitePen); - GlobalUnfix(hMem); - GlobalUnlock(hMem); - GlobalFree(hMem); - PostQuitMessage(0); - break; - - default: - return(DefWindowProc(hWnd, message, wParam, lParam)); - } - return(NULL); -} - -BOOL PASCAL ShowINT(hDlg, message, wParam, lParam) -HWND hDlg; -UINT message; -WPARAM wParam; -LPARAM lParam; -{ - int nTabs[2] = {32, 92}; - long i; - I16 ch_no; - char cBuf[64]; - char string[10]=" "; - char data_str[3]=" "; - I16 *pp; - switch (message) - { - case WM_INITDIALOG: - hListBox = CreateWindow("LISTBOX", "Memory Count Data CH#",\ - WS_CHILD | WS_VISIBLE | LBS_HASSTRINGS\ - | LBS_STANDARD | LBS_USETABSTOPS |WS_CAPTION,\ - 50, 40, 240, 180, hDlg, 100, hInst, NULL); - - SendMessage(hListBox, LB_RESETCONTENT, 0, 0L); - SendMessage(hListBox, LB_SETTABSTOPS, 2, (DWORD)\ - (LPINT) nTabs); - pp=(I16 *) ai_buf; - for(i=0; i>4 , ch_no); - } else { - ch_no= i%(channel+1); - wsprintf(cBuf, "%5d\t %6d %2d", i, pp[i], ch_no); - } - SendMessage(hListBox, LB_INSERTSTRING, -1, (DWORD)(LPSTR)cBuf); - } - itoa(data_size, string, 10); - SetDlgItemText(hDlg, DMA_SPACE, string); - ShowWindow(hListBox, SW_SHOW); - return (TRUE); - - case WM_COMMAND: - if (LOWORD(wParam) == ID_STOP) - { - DestroyWindow(hListBox); - EndDialog(hDlg, TRUE); - return (TRUE); - } - break; - } //switch - return (FALSE); -} - \ No newline at end of file diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9111/SDK9111SPostTrg/9111int.dsp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9111/SDK9111SPostTrg/9111int.dsp deleted file mode 100644 index 86ba156..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9111/SDK9111SPostTrg/9111int.dsp +++ /dev/null @@ -1,110 +0,0 @@ -# Microsoft Developer Studio Project File - Name="9111int" - Package Owner=<4> -# Microsoft Developer Studio Generated Build File, Format Version 5.00 -# ** DO NOT EDIT ** - -# TARGTYPE "Win32 (x86) Application" 0x0101 - -CFG=9111int - Win32 Release -!MESSAGE This is not a valid makefile. To build this project using NMAKE, -!MESSAGE use the Export Makefile command and run -!MESSAGE -!MESSAGE NMAKE /f "9111int.mak". -!MESSAGE -!MESSAGE You can specify a configuration when running NMAKE -!MESSAGE by defining the macro CFG on the command line. For example: -!MESSAGE -!MESSAGE NMAKE /f "9111int.mak" CFG="9111int - Win32 Release" -!MESSAGE -!MESSAGE Possible choices for configuration are: -!MESSAGE -!MESSAGE "9111int - Win32 Release" (based on "Win32 (x86) Application") -!MESSAGE "9111int - Win32 Debug" (based on "Win32 (x86) Application") -!MESSAGE - -# Begin Project -# PROP Scc_ProjName "" -# PROP Scc_LocalPath "" -CPP=cl.exe -MTL=midl.exe -RSC=rc.exe - -!IF "$(CFG)" == "9111int - Win32 Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir ".\Release" -# PROP BASE Intermediate_Dir ".\Release" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "" -# PROP Intermediate_Dir ".\Release" -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /YX /c -# ADD CPP /nologo /W3 /GX /Od /I "..\..\..\include" /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /FD /c -# SUBTRACT CPP /YX -# ADD BASE MTL /nologo /D "NDEBUG" /win32 -# ADD MTL /nologo /D "NDEBUG" /mktyplib203 /win32 -# ADD BASE RSC /l 0x409 /d "NDEBUG" -# ADD RSC /l 0x409 /d "NDEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:windows /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ..\..\..\lib\pci-dask.lib /nologo /subsystem:windows /machine:I386 - -!ELSEIF "$(CFG)" == "9111int - Win32 Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir ".\Debug" -# PROP BASE Intermediate_Dir ".\Debug" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir ".\Debug" -# PROP Intermediate_Dir ".\Debug" -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /Gm /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /YX /c -# ADD CPP /nologo /W3 /Gm /GX /Zi /Od /I "..\..\..\include" /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /FR /FD /c -# SUBTRACT CPP /YX -# ADD BASE MTL /nologo /D "_DEBUG" /win32 -# ADD MTL /nologo /D "_DEBUG" /mktyplib203 /win32 -# ADD BASE RSC /l 0x409 /d "_DEBUG" -# ADD RSC /l 0x409 /d "_DEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:windows /debug /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ..\..\..\lib\pci-dask.lib /nologo /subsystem:windows /debug /machine:I386 - -!ENDIF - -# Begin Target - -# Name "9111int - Win32 Release" -# Name "9111int - Win32 Debug" -# Begin Group "Source Files" - -# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;hpj;bat;for;f90" -# Begin Source File - -SOURCE=.\9111int.C -# End Source File -# Begin Source File - -SOURCE=.\9111int.rc -# End Source File -# End Group -# Begin Group "Header Files" - -# PROP Default_Filter "h;hpp;hxx;hm;inl;fi;fd" -# End Group -# Begin Group "Resource Files" - -# PROP Default_Filter "ico;cur;bmp;dlg;rc2;rct;bin;cnt;rtf;gif;jpg;jpeg;jpe" -# End Group -# End Target -# End Project diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9111/SDK9111SPostTrg/9111int.dsw b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9111/SDK9111SPostTrg/9111int.dsw deleted file mode 100644 index f9447d8..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9111/SDK9111SPostTrg/9111int.dsw +++ /dev/null @@ -1,29 +0,0 @@ -Microsoft Developer Studio Workspace File, Format Version 5.00 -# WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE! - -############################################################################### - -Project: "9111int"=.\9111int.dsp - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ -}}} - -############################################################################### - -Global: - -Package=<5> -{{{ -}}} - -Package=<3> -{{{ -}}} - -############################################################################### - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9111/SDK9111SPostTrg/9111int.rc b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9111/SDK9111SPostTrg/9111int.rc deleted file mode 100644 index 216451b..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9111/SDK9111SPostTrg/9111int.rc +++ /dev/null @@ -1,128 +0,0 @@ -//Microsoft Developer Studio generated resource script. -// -#include "resource.h" - -#define APSTUDIO_READONLY_SYMBOLS -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 2 resource. -// -#define APSTUDIO_HIDDEN_SYMBOLS -#include "windows.h" -#undef APSTUDIO_HIDDEN_SYMBOLS - -///////////////////////////////////////////////////////////////////////////// -#undef APSTUDIO_READONLY_SYMBOLS - -///////////////////////////////////////////////////////////////////////////// -// English (U.S.) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -#ifdef _WIN32 -LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US -#pragma code_page(1252) -#endif //_WIN32 - -///////////////////////////////////////////////////////////////////////////// -// -// Menu -// - -U7120MENU MENU DISCARDABLE -BEGIN - MENUITEM "E&xit!", IDM_EXIT -END - - -#ifdef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// TEXTINCLUDE -// - -1 TEXTINCLUDE DISCARDABLE -BEGIN - "resource.h\0" -END - -2 TEXTINCLUDE DISCARDABLE -BEGIN - "#define APSTUDIO_HIDDEN_SYMBOLS\r\n" - "#include ""windows.h""\r\n" - "#undef APSTUDIO_HIDDEN_SYMBOLS\r\n" - "\0" -END - -3 TEXTINCLUDE DISCARDABLE -BEGIN - "\r\n" - "\0" -END - -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog -// - -INTBOX DIALOG DISCARDABLE 18, 10, 171, 169 -STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "Interrupt TEST" -FONT 8, "System" -BEGIN - PUSHBUTTON "STOP",ID_STOP,82,147,24,14 - LTEXT "Data Transferred :",-1,39,118,60,8 - LTEXT "Text",DMA_SPACE,103,118,41,8 -END - -IDD_DIALOG2 DIALOG DISCARDABLE 110, 10, 110, 71 -STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "Card Number" -FONT 10, "System" -BEGIN - DEFPUSHBUTTON "OK",IDOK,10,50,37,14 - PUSHBUTTON "Cancel",IDCANCEL,59,50,38,14 - COMBOBOX IDC_COMBO1,51,28,52,45,CBS_DROPDOWN | WS_VSCROLL | - WS_TABSTOP - LTEXT "Card Type",IDC_STATIC,3,29,38,13 - LTEXT "Card Number",IDC_CARDNUM,3,7,46,14 - COMBOBOX IDC_COMBO2,51,7,52,88,CBS_DROPDOWN | WS_VSCROLL | - WS_TABSTOP -END - - -///////////////////////////////////////////////////////////////////////////// -// -// DESIGNINFO -// - -#ifdef APSTUDIO_INVOKED -GUIDELINES DESIGNINFO DISCARDABLE -BEGIN - IDD_DIALOG2, DIALOG - BEGIN - LEFTMARGIN, 3 - RIGHTMARGIN, 103 - TOPMARGIN, 7 - BOTTOMMARGIN, 64 - END -END -#endif // APSTUDIO_INVOKED - -#endif // English (U.S.) resources -///////////////////////////////////////////////////////////////////////////// - - - -#ifndef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 3 resource. -// - - -///////////////////////////////////////////////////////////////////////////// -#endif // not APSTUDIO_INVOKED - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9111/SDK9111SPostTrg/resource.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9111/SDK9111SPostTrg/resource.h deleted file mode 100644 index 66289c5..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9111/SDK9111SPostTrg/resource.h +++ /dev/null @@ -1,27 +0,0 @@ -//{{NO_DEPENDENCIES}} -// Microsoft Developer Studio generated include file. -// Used by 9111int.rc -// -#define IDM_SETUP 101 -#define IDD_DIALOG1 101 -#define IDD_DIALOG2 103 -#define IDM_EXIT 110 -#define ID_STOP 304 -#define DMA_SPACE 500 -#define IDC_COMBO2 1001 -#define IDC_CARDNUM 1002 -#define IDC_COMBO3 1003 -#define IDC_COMBO1 1015 -#define IDC_COMBO4 1016 -#define IDC_STATIC -1 - -// Next default values for new objects -// -#ifdef APSTUDIO_INVOKED -#ifndef APSTUDIO_READONLY_SYMBOLS -#define _APS_NEXT_RESOURCE_VALUE 104 -#define _APS_NEXT_COMMAND_VALUE 102 -#define _APS_NEXT_CONTROL_VALUE 1001 -#define _APS_NEXT_SYMED_VALUE 101 -#endif -#endif diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9111/SDK9111SPreTrg/9111SPTg.c b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9111/SDK9111SPreTrg/9111SPTg.c deleted file mode 100644 index f44c7f7..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9111/SDK9111SPreTrg/9111SPTg.c +++ /dev/null @@ -1,504 +0,0 @@ -#include -#include -#include -#include -#include -#include -#include "resource.h" -#include "Dask.h" - -#define IDM_EXIT 110 -#define IDC_SCROLL 207 -#define IDC_SPIN 301 -#define IDC_START 208 -#define IDC_STOP 209 -#define IDC_EDIT 211 -#define IDC_EDIT1 214 -#define IDC_EDIT2 215 -#define IDC_SHOW 213 -#define IDC_CH 400 - -int PASCAL WinMain(HANDLE, HANDLE, LPSTR, int); -long PASCAL MainWndProc(HWND, UINT, WPARAM, LPARAM); -BOOL PASCAL ShowDMA(HWND, UINT, WPARAM, LPARAM); - -HANDLE hInst; -HWND hListBox; -HWND hEdit,hEdit1, hEdit2, hStart, hStop; -BOOL bCheck[8]; - -HBRUSH hBlackBrush; -HPEN hRedPen, hBlackPen; -HWND hMainWnd; - -unsigned int sample_rate=10000; -U16 channel; -BOOLEAN fstop; -U32 data_size=1024, mem_size; -static HANDLE hMem=NULL; -I16 *ai_buf; -I16 card=-1, card_number = 0; -U32 count, postCount = 512; - -BOOLEAN clear_op; - -POINT input_pos[16]= {{470, 280}, {440, 280}, - {410, 280}, {380, 280}, - {350, 280}, {320, 280}, - { 290, 280}, {260, 280}, - {230, 280}, {200, 280}, - {170, 280}, {140, 280}, - {110, 280}, {80, 280}, - { 50, 280}, { 20, 280}, - }; -POINT output_pos[16] ={ - {470, 340}, {440, 340}, - {410, 340}, {380, 340}, - {350, 340}, {320, 340}, - { 290, 340}, {260, 340}, - {230, 340}, {200, 340}, - {170, 340}, {140, 340}, - {110, 340}, {80, 340}, - { 50, 340}, { 20, 340}, - }; - -POINT io_pos[16] ={ - {395, 40}, {370, 40}, - {345, 40}, {320, 40}, - {295, 40}, {270, 40}, - { 245, 40}, {220, 40}, - {195, 40}, {170, 40}, - {145, 40}, {120, 40}, - {95, 40}, {70, 40}, - { 45, 40}, { 20, 40}, - }; - -BOOL InitApplication(HANDLE); -BOOL InitInstance(HANDLE, int); -void ProcessThread(); - -int PASCAL WinMain(hInstance, hPrevInstance, lpCmdLine, nCmdShow) -HANDLE hInstance, hPrevInstance; -LPSTR lpCmdLine; -int nCmdShow; -{ - MSG msg; - - if (!hPrevInstance) - if (!InitApplication(hInstance)) return(FALSE); - if (!InitInstance(hInstance, nCmdShow)) return(FALSE); - while (GetMessage(&msg, NULL, NULL, NULL)) { - TranslateMessage(&msg); - DispatchMessage(&msg); - } - return(msg.wParam); -} - -BOOL InitApplication(hInstance) -HANDLE hInstance; -{ - WNDCLASS wc; - - /* Main Window Class */ - wc.style = NULL; - wc.lpfnWndProc = (WNDPROC)MainWndProc; - wc.cbClsExtra = 0; - wc.cbWndExtra = 0; - wc.hInstance = hInstance; - wc.hIcon = LoadIcon(hInstance, "MyIcon"); - wc.hCursor = LoadCursor(NULL, IDC_ARROW); - wc.hbrBackground = GetStockObject(LTGRAY_BRUSH); - wc.lpszMenuName = NULL; - wc.lpszClassName = "GenericWClass"; - if (!RegisterClass(&wc)) return(FALSE); -} - - -BOOL InitInstance(hInstance, nCmdShow) -HANDLE hInstance; -int nCmdShow; -{ - HWND hWnd; - HMENU hSampleMenu; - - hInst = hInstance; - hSampleMenu = LoadMenu(hInstance, "U7120Menu"); - hWnd = CreateWindow("GenericWClass", - (LPCSTR)"PCI-9111 single Buffered Interrupt with Pre-Trigger Mode", - WS_OVERLAPPEDWINDOW, - CW_USEDEFAULT, - CW_USEDEFAULT, - 520, - 400, - NULL, - hSampleMenu, - hInstance, - NULL); - if (!hWnd) return(FALSE); - ShowWindow(hWnd, nCmdShow); - UpdateWindow(hWnd); - return(TRUE); -} - -BOOL PASCAL setup(HWND hWnd, unsigned message, WPARAM wParam, LPARAM lParam) -{ - int i,k; - char n[16]; - char s[50]; - switch (message) { - case WM_INITDIALOG: - for (i=0;i<16;i++) { - sprintf(n, "%d", i); - _strupr(n); - SendMessage(GetDlgItem(hWnd,IDC_COMBO1), CB_ADDSTRING, NULL, (LONG)(LPSTR) n); - } - SendMessage(GetDlgItem(hWnd,IDC_COMBO1) , CB_SETCURSEL, 0, 0L); - - break; - case WM_COMMAND: - switch(LOWORD(wParam)) { - - case IDC_COMBO1: - if (HIWORD(wParam) == CBN_CLOSEUP) { - i = (int)SendMessage(GetDlgItem(hWnd,IDC_COMBO1), CB_GETCURSEL, 0, 0L); - SendMessage(GetDlgItem(hWnd,IDC_COMBO1), CB_GETLBTEXT, i, (LPARAM)((LPCSTR)n)); - card_number = i; - } - return(TRUE); - case IDOK: - if(card <0) { - if ((card=Register_Card(PCI_9111DG, card_number))< 0) { - wsprintf(s, "Register_Card Error = %d\n", card); - MessageBox(hWnd, s, "Error", MB_OK); - SendMessage(hWnd, WM_CLOSE, 0, 0L); - break; - } - } - EndDialog(hWnd, TRUE); - InvalidateRect(hWnd, NULL, FALSE); - return (TRUE); - case IDCANCEL: - EndDialog(hWnd, TRUE); - return (TRUE); - } - break; - } - return (FALSE); -} - -long PASCAL MainWndProc(hWnd, message, wParam, lParam) -HWND hWnd; -UINT message; -WPARAM wParam; -LPARAM lParam; -{ - HDC hDC; - PAINTSTRUCT ps; - int i; - char n[6]; - static int pos=0; - I16 err; - char s[50]; - - switch(message) { - case WM_CREATE: - - DialogBox(hInst,IDD_DIALOG2, hWnd, setup); - if(card<0) { - SendMessage(hWnd, WM_CLOSE, 0, 0L); - break; - } - hEdit=CreateWindow("EDIT", NULL, - WS_CHILD | WS_VISIBLE | ES_LEFT, - output_pos[13].x-30, input_pos[15].y+20,40, 20, hWnd, IDC_EDIT, hInst, NULL); - - hEdit1=CreateWindow("EDIT", NULL, - WS_CHILD | WS_VISIBLE | ES_LEFT, - output_pos[13].x+90, input_pos[15].y+20,60, 20, hWnd, IDC_EDIT1, hInst, NULL); - - hEdit2=CreateWindow("EDIT", NULL, - WS_CHILD | WS_VISIBLE | ES_LEFT, - output_pos[13].x+90, input_pos[15].y-20,60, 20, hWnd, IDC_EDIT2, hInst, NULL); - - wsprintf(n,"%d",sample_rate/1000); - SetWindowText(hEdit,n); - - wsprintf(n,"%d",data_size); - SetWindowText(hEdit1,n); - - wsprintf(n,"%d",postCount); - SetWindowText(hEdit2,n); - - CreateWindow("SCROLLBAR", NULL, - WS_CHILD | WS_VISIBLE | SBS_VERT, - output_pos[13].x+10, input_pos[15].y+20,20, 20, hWnd, IDC_SCROLL, hInst, NULL); - - hStart = CreateWindow("BUTTON","Start" , - WS_CHILD | WS_VISIBLE , - output_pos[10].x+110, input_pos[10].y+10,50, 30, hWnd, IDC_START, hInst, NULL); - - hStop = CreateWindow("BUTTON","Stop" , - WS_CHILD | WS_VISIBLE , - output_pos[10].x+170, input_pos[10].y+10,50, 30, hWnd, IDC_STOP, hInst, NULL); - - CreateWindow("BUTTON","Data Value" , - WS_CHILD | WS_VISIBLE , - output_pos[10].x+230, input_pos[10].y+10,80, 30, hWnd, IDC_SHOW, hInst, NULL); - EnableWindow(hStop, FALSE); - - CreateWindow("BUTTON","0" , - WS_CHILD | WS_VISIBLE | BS_AUTORADIOBUTTON | BS_LEFTTEXT | WS_GROUP , - output_pos[4].x+50, io_pos[0].y-5+20,25,15, hWnd,IDC_CH, hInst, NULL); - - CreateWindow("BUTTON","1" , - WS_CHILD | WS_VISIBLE | BS_AUTORADIOBUTTON | BS_LEFTTEXT | WS_GROUP, - output_pos[4].x+50, io_pos[0].y+13+20,25,15, hWnd,IDC_CH+1, hInst, NULL); - - CreateWindow("BUTTON","2" , - WS_CHILD | WS_VISIBLE | BS_AUTORADIOBUTTON | BS_LEFTTEXT | WS_GROUP, - output_pos[4].x+50, io_pos[0].y+31+20,25,15, hWnd,IDC_CH+2, hInst, NULL); - - CreateWindow("BUTTON","3" , - WS_CHILD | WS_VISIBLE | BS_AUTORADIOBUTTON | BS_LEFTTEXT | WS_GROUP, - output_pos[4].x+50, io_pos[0].y+49+20,25,15, hWnd,IDC_CH+3, hInst, NULL); - - CreateWindow("BUTTON","4" , - WS_CHILD | WS_VISIBLE | BS_AUTORADIOBUTTON | BS_LEFTTEXT | WS_GROUP, - output_pos[4].x+100, io_pos[0].y-5+20,25,15, hWnd,IDC_CH+4, hInst, NULL); - - CreateWindow("BUTTON","5" , - WS_CHILD | WS_VISIBLE | BS_AUTORADIOBUTTON | BS_LEFTTEXT | WS_GROUP, - output_pos[4].x+100, io_pos[0].y+13+20,25,15, hWnd, IDC_CH+5, hInst, NULL); - - CreateWindow("BUTTON","6" , - WS_CHILD | WS_VISIBLE | BS_AUTORADIOBUTTON | BS_LEFTTEXT | WS_GROUP, - output_pos[4].x+100, io_pos[0].y+31+20,25,15, hWnd,IDC_CH+6, hInst, NULL); - - CreateWindow("BUTTON","7" , - WS_CHILD | WS_VISIBLE | BS_AUTORADIOBUTTON | BS_LEFTTEXT | WS_GROUP, - output_pos[4].x+100, io_pos[0].y+49+20,25,15, hWnd, IDC_CH+7, hInst, NULL); - - //default channel 0 - for (i=1;i<8;i++) bCheck[i]=FALSE; - bCheck[0] = TRUE; - channel = 0; - SendMessage(GetDlgItem(hWnd,IDC_CH), BM_SETCHECK, 1, 0); - - hBlackBrush= CreateSolidBrush(RGB(0,0,0)); - hRedPen= CreatePen(PS_SOLID,1,RGB(255,0,0)); - hBlackPen= CreatePen(PS_SOLID,1,RGB(0,0,0)); - break; - - case WM_PAINT: - hDC = BeginPaint(hWnd, &ps); - - // DMA analog input box - SelectObject(hDC, GetStockObject(GRAY_BRUSH)); - Rectangle(hDC, output_pos[15].x-10, io_pos[15].y-24, output_pos[0].x+26, io_pos[0].y+195); - SetTextColor(hDC,RGB(255,255,0)); - SetBkColor(hDC, RGB(0, 0, 255)); - TextOut(hDC, io_pos[15].x, io_pos[15].y-35, "DMA Input", 9); - SelectObject(hDC, hBlackBrush); - Rectangle(hDC, output_pos[15].x+35, io_pos[15].y-2, output_pos[4].x+41, io_pos[0].y+172); - - SetBkMode(hDC,TRANSPARENT); - TextOut(hDC,output_pos[13].x+70, input_pos[10].y-40,"PostCount",9); - TextOut(hDC,output_pos[13].x-60, input_pos[10].y,"Samping Rate",12); - TextOut(hDC,output_pos[13].x+30, input_pos[15].y+20,"KHZ",3); - TextOut(hDC,output_pos[13].x+70, input_pos[10].y,"Buffer Size",11); - TextOut(hDC,input_pos[2].x-10, io_pos[15].y+118,"Range: +-5V",11); - TextOut(hDC,input_pos[15].x, io_pos[15].y-19,"Volt",4); - TextOut(hDC,input_pos[15].x, io_pos[15].y-5,"5.00",4); - TextOut(hDC,input_pos[15].x, io_pos[15].y+36,"2.50",4); - TextOut(hDC,input_pos[15].x, io_pos[15].y+77,"0.00",4); - TextOut(hDC,input_pos[15].x-3, io_pos[15].y+118,"-2.50",5); - TextOut(hDC,input_pos[15].x-3, io_pos[15].y+159,"-5.00",5); - TextOut(hDC,input_pos[10].x+10, io_pos[10].y-19,"Signals",7); - TextOut(hDC,output_pos[4].x+60, io_pos[0].y-15,"Channel",7); - EndPaint(hWnd, &ps); - break; - - // Sample Rate Spin Control - case WM_VSCROLL: - switch (LOWORD(wParam)) { - case SB_LINEUP : - sample_rate+=5000; - if (sample_rate > 50000 ) sample_rate=50000; - break; - case SB_LINEDOWN: - sample_rate-=5000; - if (sample_rate < 5000 ) sample_rate=5000; - break; - } - wsprintf(n,"%d",sample_rate/1000); - SetWindowText(hEdit,n); - break; - case WM_COMMAND: - switch(LOWORD(wParam)) { - case IDM_EXIT: - SendMessage(hWnd, WM_CLOSE, 0, 0L); - break; - case IDC_CH: - case IDC_CH+1: - case IDC_CH+2: - case IDC_CH+3: - case IDC_CH+4: - case IDC_CH+5: - case IDC_CH+6: - case IDC_CH+7: - if (!bCheck[wParam-IDC_CH]) { - SendMessage(GetDlgItem(hWnd,wParam), BM_SETCHECK, 1, 0); - SendMessage(GetDlgItem(hWnd,IDC_CH+channel), BM_SETCHECK, 0, 0); - bCheck[channel]=FALSE; - } - channel=wParam-IDC_CH; - bCheck[channel]=TRUE; - break; - case IDC_SHOW : - DialogBox(hInst, "DMABox", hWnd, ShowDMA); - break; - case IDC_START: - if (hMem != NULL) { - GlobalUnfix(hMem); - GlobalUnlock(hMem); - GlobalFree(hMem); - } - // allocate a memory for DMA - postCount = GetDlgItemInt(hWnd,IDC_EDIT2,NULL ,FALSE); - data_size=GetDlgItemInt(hWnd,IDC_EDIT1,NULL ,FALSE); - if (data_size%512) { - wsprintf(s, "Buffer Size should be devided by 512\n", postCount+2); - MessageBox(hWnd,s,"Data Size Error", MB_OK); - break; - } - mem_size=data_size * 2; - hMem = GlobalAlloc(GMEM_FIXED | GMEM_ZEROINIT,mem_size); - - ai_buf = (U16 *)GlobalLock(hMem); - if (ai_buf == NULL ) { - MessageBox(hWnd,"DMA", "No Memory", MB_OK); - SendMessage(hWnd, WM_CLOSE, 0, 0L); - break; - } - GlobalFix(hMem); - fstop =0; - if ((err=AI_9111_Config(card,TRIG_INT_PACER, 1, postCount))!= NoError) { - wsprintf(s, "AI_Config Error = %d\n", err); - MessageBox(hWnd, s, "Error", MB_OK); - SendMessage(hWnd, WM_CLOSE, 0, 0L); - break; - } - if ((err=AI_ContReadChannel(card, channel, AD_B_5_V, ai_buf, data_size, (F64)sample_rate, ASYNCH_OP)) != NoError) { - wsprintf(s, "AI_ContReadPort Error = %d\n", err); - MessageBox(hWnd, s, "Error", MB_OK); - SendMessage(hWnd, WM_CLOSE, 0, 0L); - break; - } - EnableWindow(hStart, FALSE); - EnableWindow(hStop, TRUE); - hMainWnd = hWnd; - clear_op = FALSE; - - while (!fstop && !clear_op) { - AI_AsyncCheck(card, &fstop, &count); - } - clear_op = TRUE; - ProcessThread(); - MessageBeep(0); - break; - case IDC_STOP: - clear_op = TRUE; - EnableWindow(hStart, TRUE); - EnableWindow(hStop, FALSE); - break; - default: - return(DefWindowProc(hWnd, message, wParam, lParam)); - } - break; - case WM_DESTROY: - if (card >= 0) Release_Card(card); - DeleteObject(hBlackBrush); - DeleteObject(hRedPen); - GlobalUnfix(hMem); - GlobalUnlock(hMem); - GlobalFree(hMem); - PostQuitMessage(0); - break; - default: - return(DefWindowProc(hWnd, message, wParam, lParam)); - } - return(NULL); -} - -BOOL PASCAL ShowDMA(hDlg, message, wParam, lParam) -HWND hDlg; -UINT message; -WPARAM wParam; -LPARAM lParam; -{ - int nTabs[2] = {32, 92}; - int i; - char cBuf[100]; - char string[10]=" "; - char data_str[3]=" "; - I16 *pp; - switch (message) { - case WM_INITDIALOG: - hListBox = CreateWindow("LISTBOX", "Index Data (Hex)", - WS_CHILD | WS_VISIBLE | LBS_HASSTRINGS | LBS_STANDARD | LBS_USETABSTOPS |WS_CAPTION, - 50, 40, 240, 180, hDlg, 100, hInst, NULL); - SendMessage(hListBox, LB_RESETCONTENT, 0, 0L); - SendMessage(hListBox, LB_SETTABSTOPS, 2, (DWORD)(LPINT) nTabs); - SetDlgItemText(hDlg, DMA_DESCP, "This ListBox can show at most 4000 data"); - itoa( data_size, string, 10); - SetDlgItemText(hDlg, DMA_SPACE, string); - - pp = (I16 *)ai_buf; - if (count > 4000) count = 4000; - for(i=0;i>4; - newy = io_pos[0].y+86-(87*(I16)adinput)/2048; - newx = i*336/count+output_pos[15].x+35; - if (i==0) - MoveToEx(hDC, newx, newy, NULL); - else - MoveToEx(hDC, oldx, oldy, NULL); - LineTo(hDC, newx, newy); - oldx = newx; - oldy = newy; - } - ReleaseDC(hMainWnd, hDC); -} - \ No newline at end of file diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9111/SDK9111SPreTrg/9111SPTg.exe b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9111/SDK9111SPreTrg/9111SPTg.exe deleted file mode 100644 index 6bb2b53..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9111/SDK9111SPreTrg/9111SPTg.exe and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9111/SDK9111SPreTrg/9111SPTg.mak b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9111/SDK9111SPreTrg/9111SPTg.mak deleted file mode 100644 index c4bbb1a..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9111/SDK9111SPreTrg/9111SPTg.mak +++ /dev/null @@ -1,219 +0,0 @@ -# Microsoft Developer Studio Generated NMAKE File, Format Version 4.00 -# ** DO NOT EDIT ** - -# TARGTYPE "Win32 (x86) Application" 0x0101 - -!IF "$(CFG)" == "" -CFG=9111SPTg - Win32 Debug -!MESSAGE No configuration specified. Defaulting to 9111SPTg - Win32 Debug. -!ENDIF - -!IF "$(CFG)" != "9111SPTg - Win32 Release" && "$(CFG)" !=\ - "9111SPTg - Win32 Debug" -!MESSAGE Invalid configuration "$(CFG)" specified. -!MESSAGE You can specify a configuration when running NMAKE on this makefile -!MESSAGE by defining the macro CFG on the command line. For example: -!MESSAGE -!MESSAGE NMAKE /f "9111SPTg.mak" CFG="9111SPTg - Win32 Debug" -!MESSAGE -!MESSAGE Possible choices for configuration are: -!MESSAGE -!MESSAGE "9111SPTg - Win32 Release" (based on "Win32 (x86) Application") -!MESSAGE "9111SPTg - Win32 Debug" (based on "Win32 (x86) Application") -!MESSAGE -!ERROR An invalid configuration is specified. -!ENDIF - -!IF "$(OS)" == "Windows_NT" -NULL= -!ELSE -NULL=nul -!ENDIF -################################################################################ -# Begin Project -# PROP Target_Last_Scanned "9111SPTg - Win32 Debug" -RSC=rc.exe -CPP=cl.exe -MTL=mktyplib.exe - -!IF "$(CFG)" == "9111SPTg - Win32 Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "Release" -# PROP BASE Intermediate_Dir "Release" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "" -# PROP Intermediate_Dir "Release" -# PROP Target_Dir "" -OUTDIR=. -INTDIR=.\Release - -ALL : "$(OUTDIR)\9111SPTg.exe" - -CLEAN : - -@erase ".\9111SPTg.exe" - -@erase ".\Release\9111SPTg.obj" - -@erase ".\Release\9111SPTg.res" - -"$(INTDIR)" : - if not exist "$(INTDIR)/$(NULL)" mkdir "$(INTDIR)" - -# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /YX /c -# ADD CPP /nologo /MT /W3 /GX /Od /I "..\..\..\include" /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /c -# SUBTRACT CPP /YX -CPP_PROJ=/nologo /MT /W3 /GX /Od /I "..\..\..\include" /D "WIN32" /D "NDEBUG"\ - /D "_WINDOWS" /Fo"$(INTDIR)/" /c -CPP_OBJS=.\Release/ -CPP_SBRS= -# ADD BASE MTL /nologo /D "NDEBUG" /win32 -# ADD MTL /nologo /D "NDEBUG" /win32 -MTL_PROJ=/nologo /D "NDEBUG" /win32 -# ADD BASE RSC /l 0x409 /d "NDEBUG" -# ADD RSC /l 0x409 /d "NDEBUG" -RSC_PROJ=/l 0x409 /fo"$(INTDIR)/9111SPTg.res" /d "NDEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -BSC32_FLAGS=/nologo /o"$(OUTDIR)/9111SPTg.bsc" -BSC32_SBRS= -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:windows /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ..\..\..\lib\pci-dask.lib /nologo /subsystem:windows /machine:I386 -LINK32_FLAGS=kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib\ - advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib\ - odbccp32.lib ..\..\..\lib\pci-dask.lib /nologo /subsystem:windows\ - /incremental:no /pdb:"$(OUTDIR)/9111SPTg.pdb" /machine:I386\ - /out:"$(OUTDIR)/9111SPTg.exe" -LINK32_OBJS= \ - ".\Release\9111SPTg.obj" \ - ".\Release\9111SPTg.res" - -"$(OUTDIR)\9111SPTg.exe" : "$(OUTDIR)" $(DEF_FILE) $(LINK32_OBJS) - $(LINK32) @<< - $(LINK32_FLAGS) $(LINK32_OBJS) -<< - -!ELSEIF "$(CFG)" == "9111SPTg - Win32 Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "Debug" -# PROP BASE Intermediate_Dir "Debug" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "Debug" -# PROP Intermediate_Dir "Debug" -# PROP Target_Dir "" -OUTDIR=.\Debug -INTDIR=.\Debug - -ALL : "$(OUTDIR)\9111SPTg.exe" - -CLEAN : - -@erase ".\Debug\vc40.pdb" - -@erase ".\Debug\vc40.idb" - -@erase ".\Debug\9111SPTg.exe" - -@erase ".\Debug\9111SPTg.obj" - -@erase ".\Debug\9111SPTg.res" - -@erase ".\Debug\9111SPTg.ilk" - -@erase ".\Debug\9111SPTg.pdb" - -"$(OUTDIR)" : - if not exist "$(OUTDIR)/$(NULL)" mkdir "$(OUTDIR)" - -# ADD BASE CPP /nologo /W3 /Gm /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /YX /c -# ADD CPP /nologo /MTd /W3 /Gm /GX /Zi /Od /I "..\..\..\include" /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /c -# SUBTRACT CPP /YX -CPP_PROJ=/nologo /MTd /W3 /Gm /GX /Zi /Od /I "..\..\..\include" /D "WIN32" /D\ - "_DEBUG" /D "_WINDOWS" /Fo"$(INTDIR)/" /Fd"$(INTDIR)/" /c -CPP_OBJS=.\Debug/ -CPP_SBRS= -# ADD BASE MTL /nologo /D "_DEBUG" /win32 -# ADD MTL /nologo /D "_DEBUG" /win32 -MTL_PROJ=/nologo /D "_DEBUG" /win32 -# ADD BASE RSC /l 0x409 /d "_DEBUG" -# ADD RSC /l 0x409 /d "_DEBUG" -RSC_PROJ=/l 0x409 /fo"$(INTDIR)/9111SPTg.res" /d "_DEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -BSC32_FLAGS=/nologo /o"$(OUTDIR)/9111SPTg.bsc" -BSC32_SBRS= -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:windows /debug /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ..\..\..\lib\pci-dask.lib /nologo /subsystem:windows /debug /machine:I386 -LINK32_FLAGS=kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib\ - advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib\ - odbccp32.lib ..\..\..\lib\pci-dask.lib /nologo /subsystem:windows\ - /incremental:yes /pdb:"$(OUTDIR)/9111SPTg.pdb" /debug /machine:I386\ - /out:"$(OUTDIR)/9111SPTg.exe" -LINK32_OBJS= \ - ".\Debug\9111SPTg.obj" \ - ".\Debug\9111SPTg.res" - -"$(OUTDIR)\9111SPTg.exe" : "$(OUTDIR)" $(DEF_FILE) $(LINK32_OBJS) - $(LINK32) @<< - $(LINK32_FLAGS) $(LINK32_OBJS) -<< - -!ENDIF - -.c{$(CPP_OBJS)}.obj: - $(CPP) $(CPP_PROJ) $< - -.cpp{$(CPP_OBJS)}.obj: - $(CPP) $(CPP_PROJ) $< - -.cxx{$(CPP_OBJS)}.obj: - $(CPP) $(CPP_PROJ) $< - -.c{$(CPP_SBRS)}.sbr: - $(CPP) $(CPP_PROJ) $< - -.cpp{$(CPP_SBRS)}.sbr: - $(CPP) $(CPP_PROJ) $< - -.cxx{$(CPP_SBRS)}.sbr: - $(CPP) $(CPP_PROJ) $< - -################################################################################ -# Begin Target - -# Name "9111SPTg - Win32 Release" -# Name "9111SPTg - Win32 Debug" - -!IF "$(CFG)" == "9111SPTg - Win32 Release" - -!ELSEIF "$(CFG)" == "9111SPTg - Win32 Debug" - -!ENDIF - -################################################################################ -# Begin Source File - -SOURCE=.\9111SPTg.rc - -"$(INTDIR)\9111SPTg.res" : $(SOURCE) "$(INTDIR)" - $(RSC) $(RSC_PROJ) $(SOURCE) - - -# End Source File -################################################################################ -# Begin Source File - -SOURCE=.\9111SPTg.c -DEP_CPP_9111S=\ - ".\..\..\..\include\Dask.h"\ - - -"$(INTDIR)\9111SPTg.obj" : $(SOURCE) $(DEP_CPP_9111S) "$(INTDIR)" - - -# End Source File -# End Target -# End Project -################################################################################ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9111/SDK9111SPreTrg/9111SPTg.mdp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9111/SDK9111SPreTrg/9111SPTg.mdp deleted file mode 100644 index 7811107..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9111/SDK9111SPreTrg/9111SPTg.mdp and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9111/SDK9111SPreTrg/9111SPTg.rc b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9111/SDK9111SPreTrg/9111SPTg.rc deleted file mode 100644 index f7c12f9..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9111/SDK9111SPreTrg/9111SPTg.rc +++ /dev/null @@ -1,126 +0,0 @@ -//Microsoft Developer Studio generated resource script. -// -#include "resource.h" - -#define APSTUDIO_READONLY_SYMBOLS -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 2 resource. -// -#define APSTUDIO_HIDDEN_SYMBOLS -#include "windows.h" -#undef APSTUDIO_HIDDEN_SYMBOLS - -///////////////////////////////////////////////////////////////////////////// -#undef APSTUDIO_READONLY_SYMBOLS - -///////////////////////////////////////////////////////////////////////////// -// English (U.S.) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -#ifdef _WIN32 -LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US -#pragma code_page(1252) -#endif //_WIN32 - -///////////////////////////////////////////////////////////////////////////// -// -// Menu -// - -U7120MENU MENU DISCARDABLE -BEGIN - MENUITEM "E&xit!", IDM_EXIT -END - - -#ifdef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// TEXTINCLUDE -// - -1 TEXTINCLUDE DISCARDABLE -BEGIN - "resource.h\0" -END - -2 TEXTINCLUDE DISCARDABLE -BEGIN - "#define APSTUDIO_HIDDEN_SYMBOLS\r\n" - "#include ""windows.h""\r\n" - "#undef APSTUDIO_HIDDEN_SYMBOLS\r\n" - "\0" -END - -3 TEXTINCLUDE DISCARDABLE -BEGIN - "\r\n" - "\0" -END - -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog -// - -DMABOX DIALOG DISCARDABLE 18, 10, 171, 169 -STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "Data Value (half of circular buffer)" -FONT 8, "System" -BEGIN - PUSHBUTTON "STOP",ID_STOP,82,147,24,14 - LTEXT "Data Transferred :",-1,39,119,64,8 - LTEXT "Text",DMA_SPACE,103,118,41,8 - LTEXT "Text",DMA_DESCP,16,6,158,8 -END - -IDD_DIALOG2 DIALOG DISCARDABLE 110, 10, 98, 52 -STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "Card Number" -FONT 10, "System" -BEGIN - DEFPUSHBUTTON "OK",IDOK,7,31,37,14 - PUSHBUTTON "Cancel",IDCANCEL,53,31,38,14 - LTEXT "Card Number",IDC_CARDNUM,2,7,43,14 - COMBOBOX IDC_COMBO1,46,7,45,85,CBS_DROPDOWN | WS_VSCROLL | - WS_TABSTOP -END - - -///////////////////////////////////////////////////////////////////////////// -// -// DESIGNINFO -// - -#ifdef APSTUDIO_INVOKED -GUIDELINES DESIGNINFO DISCARDABLE -BEGIN - IDD_DIALOG2, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 91 - TOPMARGIN, 7 - BOTTOMMARGIN, 45 - END -END -#endif // APSTUDIO_INVOKED - -#endif // English (U.S.) resources -///////////////////////////////////////////////////////////////////////////// - - - -#ifndef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 3 resource. -// - - -///////////////////////////////////////////////////////////////////////////// -#endif // not APSTUDIO_INVOKED - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9111/SDK9111SPreTrg/Resource.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9111/SDK9111SPreTrg/Resource.h deleted file mode 100644 index 407d29f..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9111/SDK9111SPreTrg/Resource.h +++ /dev/null @@ -1,28 +0,0 @@ -//{{NO_DEPENDENCIES}} -// Microsoft Developer Studio generated include file. -// Used by 9111SPTg.rc -// -#define IDOK2 3 -#define IDCANCEL2 4 -#define IDM_SETUP 101 -#define IDD_DIALOG1 101 -#define IDD_DIALOG2 104 -#define IDM_EXIT 110 -#define ID_CARDNUMBER 122 -#define ID_STOP 304 -#define DMA_SPACE 500 -#define DMA_DESCP 600 -#define IDC_COMBO1 1001 -#define IDC_CARDNUM 1002 -#define IDC_STATIC -1 - -// Next default values for new objects -// -#ifdef APSTUDIO_INVOKED -#ifndef APSTUDIO_READONLY_SYMBOLS -#define _APS_NEXT_RESOURCE_VALUE 106 -#define _APS_NEXT_COMMAND_VALUE 123 -#define _APS_NEXT_CONTROL_VALUE 1002 -#define _APS_NEXT_SYMED_VALUE 101 -#endif -#endif diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9111/VB9111/0.BMP b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9111/VB9111/0.BMP deleted file mode 100644 index 8c61da7..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9111/VB9111/0.BMP and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9111/VB9111/1.BMP b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9111/VB9111/1.BMP deleted file mode 100644 index d049f03..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9111/VB9111/1.BMP and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9111/VB9111/9111glbl.Bas b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9111/VB9111/9111glbl.Bas deleted file mode 100644 index 21c07d9..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9111/VB9111/9111glbl.Bas +++ /dev/null @@ -1,51 +0,0 @@ -Attribute VB_Name = "Module1" -Option Explicit - -Declare Function BitBlt Lib "GDI32" (ByVal hDestDC As Long, ByVal X As Long, ByVal Y As Long, ByVal nWidth As Long, ByVal nHeight As Long, ByVal hSrcDC As Long, ByVal XSrc As Long, ByVal YSrc As Long, ByVal dwRop As Long) As Long - -Global Const SRCCOPY = &HCC0020 ' (DWORD) dest = source -Global card As Integer -Global card_number As Integer -Global card_type As Integer - -Sub Scale_Change(ByVal g As Long) - Select Case g - Case 0 - util9111.Label1(2).Caption = "10.0" - util9111.Label1(3).Caption = "5.0" - util9111.Label1(4).Caption = "0.0" - util9111.Label1(5).Caption = "-5.0" - util9111.Label1(6).Caption = "-10.0" - Case 1 - util9111.Label1(2).Caption = "5.0" - util9111.Label1(3).Caption = "2.5" - util9111.Label1(4).Caption = "0.0" - util9111.Label1(5).Caption = "-2.5" - util9111.Label1(6).Caption = "-5.0" - Case 2 - util9111.Label1(2).Caption = "2.50" - util9111.Label1(3).Caption = "2.25" - util9111.Label1(4).Caption = "0.00" - util9111.Label1(5).Caption = "-2.25" - util9111.Label1(6).Caption = "-2.50" - Case 3 - util9111.Label1(2).Caption = "1.250" - util9111.Label1(3).Caption = "0.625" - util9111.Label1(4).Caption = "0.00" - util9111.Label1(5).Caption = "-0.625" - util9111.Label1(6).Caption = "-1.250" - Case 3 - util9111.Label1(2).Caption = "0.6250" - util9111.Label1(3).Caption = "0.3125" - util9111.Label1(4).Caption = "0.0000" - util9111.Label1(5).Caption = "-0.3125" - util9111.Label1(6).Caption = "-0.6250" - End Select - - util9111.Label1(19).Caption = util9111.Label1(2).Caption - util9111.Label1(20).Caption = util9111.Label1(3).Caption - util9111.Label1(21).Caption = util9111.Label1(4).Caption - util9111.Label1(22).Caption = util9111.Label1(5).Caption - util9111.Label1(23).Caption = util9111.Label1(6).Caption -End Sub - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9111/VB9111/Base9111.frm b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9111/VB9111/Base9111.frm deleted file mode 100644 index c38644e..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9111/VB9111/Base9111.frm +++ /dev/null @@ -1,124 +0,0 @@ -VERSION 4.00 -Begin VB.Form SettingForm - Appearance = 0 'Flat - BackColor = &H00C0C0C0& - Caption = "Card Setting" - ClientHeight = 1770 - ClientLeft = 4590 - ClientTop = 3420 - ClientWidth = 2835 - BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851} - Name = "MS Sans Serif" - Size = 8.25 - Charset = 0 - Weight = 700 - Underline = 0 'False - Italic = 0 'False - Strikethrough = 0 'False - EndProperty - ForeColor = &H80000008& - Height = 2175 - Left = 4530 - LinkTopic = "Form2" - ScaleHeight = 1770 - ScaleWidth = 2835 - Top = 3075 - Width = 2955 - Begin VB.ComboBox CardType - Height = 315 - Left = 1440 - TabIndex = 5 - Text = "CardType" - Top = 720 - Width = 1215 - End - Begin VB.CommandButton OKBtn - Appearance = 0 'Flat - BackColor = &H80000005& - Caption = "OK" - Default = -1 'True - Height = 315 - Left = 240 - TabIndex = 0 - Top = 1320 - Width = 915 - End - Begin VB.CommandButton CancelBtn - Appearance = 0 'Flat - BackColor = &H80000005& - Cancel = -1 'True - Caption = "Cancel" - Height = 315 - Left = 1560 - TabIndex = 3 - Top = 1320 - Width = 915 - End - Begin VB.ComboBox CardNum - Appearance = 0 'Flat - Height = 315 - Left = 1440 - Style = 2 'Dropdown List - TabIndex = 2 - Top = 120 - Width = 1215 - End - Begin VB.Label Label1 - Caption = "Card Type" - Height = 255 - Left = 120 - TabIndex = 4 - Top = 720 - Width = 1095 - End - Begin VB.Label Label2 - Appearance = 0 'Flat - BackColor = &H00C0C0C0& - Caption = "Card Number:" - ForeColor = &H00000000& - Height = 195 - Index = 0 - Left = 120 - TabIndex = 1 - Top = 180 - Width = 1275 - End -End -Attribute VB_Name = "SettingForm" -Attribute VB_Creatable = False -Attribute VB_Exposed = False - - -Private Sub BaseAddr_Change() - -End Sub - - -Private Sub CancelBtn_Click() - Unload SettingForm -End Sub - -Private Sub Form_Load() - Dim i As Long - For i = 0 To 15 Step 1 - CardNum.AddItem i - Next - CardNum.ListIndex = 0 - CardType.AddItem "9111DG" - CardType.AddItem "9111HR" - CardType.ListIndex = 0 -End Sub - -Private Sub OKBtn_Click() - card = -1 - card_number = CardNum.ListIndex - Select Case CardType.ListIndex - Case 0 - card_type = PCI_9111DG - Case 1 - card_type = PCI_9111HR - End Select - card = Register_Card(card_type, card_number) - Unload SettingForm -End Sub - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9111/VB9111/C0_DN.BMP b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9111/VB9111/C0_DN.BMP deleted file mode 100644 index 675b60a..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9111/VB9111/C0_DN.BMP and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9111/VB9111/C0_UP.BMP b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9111/VB9111/C0_UP.BMP deleted file mode 100644 index bf0b3fd..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9111/VB9111/C0_UP.BMP and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9111/VB9111/C1_DN.BMP b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9111/VB9111/C1_DN.BMP deleted file mode 100644 index bfe065a..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9111/VB9111/C1_DN.BMP and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9111/VB9111/C1_UP.BMP b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9111/VB9111/C1_UP.BMP deleted file mode 100644 index 7d0f155..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9111/VB9111/C1_UP.BMP and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9111/VB9111/C2_DN.BMP b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9111/VB9111/C2_DN.BMP deleted file mode 100644 index edf3e0f..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9111/VB9111/C2_DN.BMP and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9111/VB9111/C2_UP.BMP b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9111/VB9111/C2_UP.BMP deleted file mode 100644 index 78caf37..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9111/VB9111/C2_UP.BMP and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9111/VB9111/C3_DN.BMP b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9111/VB9111/C3_DN.BMP deleted file mode 100644 index e060b45..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9111/VB9111/C3_DN.BMP and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9111/VB9111/C3_UP.BMP b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9111/VB9111/C3_UP.BMP deleted file mode 100644 index 02dd3c6..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9111/VB9111/C3_UP.BMP and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9111/VB9111/C4_DN.BMP b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9111/VB9111/C4_DN.BMP deleted file mode 100644 index 7c4a80f..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9111/VB9111/C4_DN.BMP and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9111/VB9111/C4_UP.BMP b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9111/VB9111/C4_UP.BMP deleted file mode 100644 index 5295b36..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9111/VB9111/C4_UP.BMP and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9111/VB9111/C5_DN.BMP b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9111/VB9111/C5_DN.BMP deleted file mode 100644 index 6b06f36..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9111/VB9111/C5_DN.BMP and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9111/VB9111/C5_UP.BMP b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9111/VB9111/C5_UP.BMP deleted file mode 100644 index 775143b..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9111/VB9111/C5_UP.BMP and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9111/VB9111/C6_DN.BMP b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9111/VB9111/C6_DN.BMP deleted file mode 100644 index 62b6de7..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9111/VB9111/C6_DN.BMP and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9111/VB9111/C6_UP.BMP b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9111/VB9111/C6_UP.BMP deleted file mode 100644 index 5e50a6c..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9111/VB9111/C6_UP.BMP and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9111/VB9111/C7_DN.BMP b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9111/VB9111/C7_DN.BMP deleted file mode 100644 index abe1fe0..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9111/VB9111/C7_DN.BMP and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9111/VB9111/C7_UP.BMP b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9111/VB9111/C7_UP.BMP deleted file mode 100644 index 3f2299a..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9111/VB9111/C7_UP.BMP and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9111/VB9111/TUNER.BMP b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9111/VB9111/TUNER.BMP deleted file mode 100644 index c063a49..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9111/VB9111/TUNER.BMP and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9111/VB9111/VB9111.FRX b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9111/VB9111/VB9111.FRX deleted file mode 100644 index 90fb5bb..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9111/VB9111/VB9111.FRX and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9111/VB9111/Vb9111.vbp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9111/VB9111/Vb9111.vbp deleted file mode 100644 index fde8656..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9111/VB9111/Vb9111.vbp +++ /dev/null @@ -1,21 +0,0 @@ -Form=vb9111.Frm -Module=Module1; 9111glbl.Bas -Module=DASK; ..\..\..\Include\Dask.bas -Form=Base9111.frm -Reference=*\G{00025E04-0000-0000-C000-000000000046}#2.5#0#C:\PROGRAM FILES\COMMON FILES\MICROSOFT SHARED\DC:\PROGRAM FIL#Microsoft DAO 2.5/3.0 Compatibility Library -ProjWinSize=156,564,192,215 -ProjWinShow=2 -IconForm="util9111" -Title="UTIL9111" -ExeName32="vb9111.exe" -ExeName="8112.EXE" -Name="vb4projectUtil9111" -HelpContextID="0" -StartMode=0 -VersionCompatible32="0" -MajorVer=1 -MinorVer=0 -RevisionVer=0 -AutoIncrementVer=0 -ServerSupportFiles=0 -VersionCompanyName="ADLink" diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9111/VB9111/vb9111.Frm b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9111/VB9111/vb9111.Frm deleted file mode 100644 index 95dc5cf..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9111/VB9111/vb9111.Frm +++ /dev/null @@ -1,1852 +0,0 @@ -VERSION 4.00 -Begin VB.Form util9111 - Appearance = 0 'Flat - BackColor = &H00C0C0C0& - Caption = "9111 Sample Program" - ClientHeight = 6480 - ClientLeft = 1125 - ClientTop = 1410 - ClientWidth = 8520 - BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851} - Name = "MS Sans Serif" - Size = 8.25 - Charset = 0 - Weight = 700 - Underline = 0 'False - Italic = 0 'False - Strikethrough = 0 'False - EndProperty - ForeColor = &H80000008& - Height = 6885 - Left = 1065 - LinkTopic = "Form1" - ScaleHeight = 432 - ScaleMode = 3 'Pixel - ScaleWidth = 568 - Top = 1065 - Width = 8640 - Begin VB.CommandButton ExitBtn - Appearance = 0 'Flat - BackColor = &H80000005& - Caption = "Exit" - BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851} - Name = "MS Sans Serif" - Size = 8.25 - Charset = 0 - Weight = 400 - Underline = 0 'False - Italic = 0 'False - Strikethrough = 0 'False - EndProperty - Height = 315 - Left = 5610 - TabIndex = 47 - Top = 5415 - Width = 795 - End - Begin VB.Frame Frame3D2 - Appearance = 0 'Flat - BackColor = &H00C0C0C0& - Caption = "Range" - BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851} - Name = "MS Sans Serif" - Size = 8.25 - Charset = 0 - Weight = 400 - Underline = 0 'False - Italic = 0 'False - Strikethrough = 0 'False - EndProperty - ForeColor = &H00000000& - Height = 735 - Left = 6180 - TabIndex = 2 - Top = 3300 - Width = 2055 - Begin VB.ComboBox Gain - Height = 315 - Left = 300 - TabIndex = 3 - Text = "Gain" - Top = 315 - Width = 1395 - End - End - Begin VB.Frame DO_Frame - Appearance = 0 'Flat - BackColor = &H00C0C0C0& - Caption = "Digital Output" - BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851} - Name = "MS Sans Serif" - Size = 9.75 - Charset = 0 - Weight = 700 - Underline = 0 'False - Italic = 0 'False - Strikethrough = 0 'False - EndProperty - ForeColor = &H00FF0000& - Height = 735 - Left = 120 - TabIndex = 5 - Top = 4260 - Width = 5895 - Begin VB.Image DOP - Appearance = 0 'Flat - Height = 300 - Index = 0 - Left = 5520 - Picture = "vb9111.frx":0000 - Top = 280 - Width = 300 - End - Begin VB.Image DOP - Appearance = 0 'Flat - Height = 300 - Index = 1 - Left = 5160 - Picture = "vb9111.frx":0172 - Top = 280 - Width = 300 - End - Begin VB.Image DOP - Appearance = 0 'Flat - Height = 300 - Index = 3 - Left = 4440 - Picture = "vb9111.frx":02E4 - Top = 280 - Width = 300 - End - Begin VB.Image DOP - Appearance = 0 'Flat - Height = 300 - Index = 2 - Left = 4800 - Picture = "vb9111.frx":0456 - Top = 280 - Width = 300 - End - Begin VB.Image DOP - Appearance = 0 'Flat - Height = 300 - Index = 4 - Left = 4080 - Picture = "vb9111.frx":05C8 - Top = 280 - Width = 300 - End - Begin VB.Image DOP - Appearance = 0 'Flat - Height = 300 - Index = 5 - Left = 3720 - Picture = "vb9111.frx":073A - Top = 280 - Width = 300 - End - Begin VB.Image DOP - Appearance = 0 'Flat - Height = 300 - Index = 6 - Left = 3360 - Picture = "vb9111.frx":08AC - Top = 280 - Width = 300 - End - Begin VB.Image DOP - Appearance = 0 'Flat - Height = 300 - Index = 7 - Left = 3000 - Picture = "vb9111.frx":0A1E - Top = 280 - Width = 300 - End - Begin VB.Image DOP - Appearance = 0 'Flat - Height = 300 - Index = 8 - Left = 2640 - Picture = "vb9111.frx":0B90 - Top = 280 - Width = 300 - End - Begin VB.Image DOP - Appearance = 0 'Flat - Height = 300 - Index = 9 - Left = 2280 - Picture = "vb9111.frx":0D02 - Top = 280 - Width = 300 - End - Begin VB.Image DOP - Appearance = 0 'Flat - Height = 300 - Index = 10 - Left = 1920 - Picture = "vb9111.frx":0E74 - Top = 280 - Width = 300 - End - Begin VB.Image DOP - Appearance = 0 'Flat - Height = 300 - Index = 11 - Left = 1560 - Picture = "vb9111.frx":0FE6 - Top = 280 - Width = 300 - End - Begin VB.Image DOP - Appearance = 0 'Flat - Height = 300 - Index = 12 - Left = 1200 - Picture = "vb9111.frx":1158 - Top = 280 - Width = 300 - End - Begin VB.Image DOP - Appearance = 0 'Flat - Height = 300 - Index = 13 - Left = 840 - Picture = "vb9111.frx":12CA - Top = 280 - Width = 300 - End - Begin VB.Image DOP - Appearance = 0 'Flat - Height = 300 - Index = 14 - Left = 480 - Picture = "vb9111.frx":143C - Top = 280 - Width = 300 - End - Begin VB.Image DOP - Appearance = 0 'Flat - Height = 300 - Index = 15 - Left = 120 - Picture = "vb9111.frx":15AE - Top = 280 - Width = 300 - End - End - Begin VB.Frame DI_Frame - Appearance = 0 'Flat - BackColor = &H00C0C0C0& - Caption = "Digital Input" - BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851} - Name = "MS Sans Serif" - Size = 9.75 - Charset = 0 - Weight = 700 - Underline = 0 'False - Italic = 0 'False - Strikethrough = 0 'False - EndProperty - ForeColor = &H00FF0000& - Height = 735 - Left = 120 - TabIndex = 6 - Top = 3300 - Width = 5895 - Begin VB.Image DI - Appearance = 0 'Flat - Height = 300 - Index = 15 - Left = 120 - Picture = "vb9111.frx":1720 - Top = 280 - Width = 300 - End - Begin VB.Image DI - Appearance = 0 'Flat - Height = 300 - Index = 14 - Left = 480 - Picture = "vb9111.frx":1892 - Top = 280 - Width = 300 - End - Begin VB.Image DI - Appearance = 0 'Flat - Height = 300 - Index = 13 - Left = 840 - Picture = "vb9111.frx":1A04 - Top = 280 - Width = 300 - End - Begin VB.Image DI - Appearance = 0 'Flat - Height = 300 - Index = 12 - Left = 1200 - Picture = "vb9111.frx":1B76 - Top = 280 - Width = 300 - End - Begin VB.Image DI - Appearance = 0 'Flat - Height = 300 - Index = 11 - Left = 1560 - Picture = "vb9111.frx":1CE8 - Top = 280 - Width = 300 - End - Begin VB.Image DI - Appearance = 0 'Flat - Height = 300 - Index = 10 - Left = 1920 - Picture = "vb9111.frx":1E5A - Top = 280 - Width = 300 - End - Begin VB.Image DI - Appearance = 0 'Flat - Height = 300 - Index = 9 - Left = 2280 - Picture = "vb9111.frx":1FCC - Top = 280 - Width = 300 - End - Begin VB.Image DI - Appearance = 0 'Flat - Height = 300 - Index = 8 - Left = 2640 - Picture = "vb9111.frx":213E - Top = 280 - Width = 300 - End - Begin VB.Image DI - Appearance = 0 'Flat - Height = 300 - Index = 7 - Left = 3000 - Picture = "vb9111.frx":22B0 - Top = 280 - Width = 300 - End - Begin VB.Image DI - Appearance = 0 'Flat - Height = 300 - Index = 6 - Left = 3360 - Picture = "vb9111.frx":2422 - Top = 280 - Width = 300 - End - Begin VB.Image DI - Appearance = 0 'Flat - Height = 300 - Index = 5 - Left = 3720 - Picture = "vb9111.frx":2594 - Top = 280 - Width = 300 - End - Begin VB.Image DI - Appearance = 0 'Flat - Height = 300 - Index = 4 - Left = 4080 - Picture = "vb9111.frx":2706 - Top = 280 - Width = 300 - End - Begin VB.Image DI - Appearance = 0 'Flat - Height = 300 - Index = 3 - Left = 4440 - Picture = "vb9111.frx":2878 - Top = 280 - Width = 300 - End - Begin VB.Image DI - Appearance = 0 'Flat - Height = 300 - Index = 2 - Left = 4800 - Picture = "vb9111.frx":29EA - Top = 280 - Width = 300 - End - Begin VB.Image DI - Appearance = 0 'Flat - Height = 300 - Index = 1 - Left = 5160 - Picture = "vb9111.frx":2B5C - Top = 280 - Width = 300 - End - Begin VB.Image DI - Appearance = 0 'Flat - Height = 300 - Index = 0 - Left = 5520 - Picture = "vb9111.frx":2CCE - Top = 280 - Width = 300 - End - End - Begin VB.Frame DA_Frame - Appearance = 0 'Flat - BackColor = &H00C0C0C0& - Caption = "Analog Output (D/A)" - ForeColor = &H00FF0000& - Height = 855 - Left = 6180 - TabIndex = 7 - Top = 4200 - Width = 2055 - Begin VB.ComboBox DA_Wave - Height = 315 - Left = 240 - TabIndex = 8 - Text = "DA_Wave" - Top = 360 - Width = 1575 - End - End - Begin VB.Frame Channel_Frame - Appearance = 0 'Flat - BackColor = &H00C0C0C0& - Caption = "Channel" - BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851} - Name = "MS Sans Serif" - Size = 8.25 - Charset = 0 - Weight = 400 - Underline = 0 'False - Italic = 0 'False - Strikethrough = 0 'False - EndProperty - ForeColor = &H80000008& - Height = 1335 - Index = 1 - Left = 6360 - TabIndex = 10 - Top = 1680 - Width = 1575 - Begin VB.Label Label1 - Appearance = 0 'Flat - BackColor = &H00C0C0C0& - Caption = "15" - ForeColor = &H80000008& - Height = 195 - Index = 24 - Left = 780 - TabIndex = 11 - Top = 960 - Width = 240 - End - Begin VB.Label Label1 - Appearance = 0 'Flat - BackColor = &H00C0C0C0& - Caption = "14" - ForeColor = &H80000008& - Height = 195 - Index = 25 - Left = 780 - TabIndex = 12 - Top = 720 - Width = 240 - End - Begin VB.Label Label1 - Appearance = 0 'Flat - BackColor = &H00C0C0C0& - Caption = "13" - ForeColor = &H80000008& - Height = 195 - Index = 26 - Left = 780 - TabIndex = 13 - Top = 480 - Width = 240 - End - Begin VB.Label Label1 - Appearance = 0 'Flat - BackColor = &H00C0C0C0& - Caption = "12" - ForeColor = &H80000008& - Height = 195 - Index = 27 - Left = 780 - TabIndex = 14 - Top = 240 - Width = 240 - End - Begin VB.Label Label1 - Appearance = 0 'Flat - BackColor = &H00C0C0C0& - Caption = "11" - ForeColor = &H80000008& - Height = 195 - Index = 28 - Left = 120 - TabIndex = 15 - Top = 960 - Width = 240 - End - Begin VB.Label Label1 - Appearance = 0 'Flat - BackColor = &H00C0C0C0& - Caption = "10" - ForeColor = &H80000008& - Height = 195 - Index = 29 - Left = 120 - TabIndex = 16 - Top = 720 - Width = 240 - End - Begin VB.Label Label1 - Appearance = 0 'Flat - BackColor = &H00C0C0C0& - Caption = "9" - ForeColor = &H80000008& - Height = 195 - Index = 30 - Left = 210 - TabIndex = 17 - Top = 480 - Width = 135 - End - Begin VB.Label Label1 - Appearance = 0 'Flat - BackColor = &H00C0C0C0& - Caption = "8" - ForeColor = &H80000008& - Height = 195 - Index = 31 - Left = 210 - TabIndex = 18 - Top = 240 - Width = 135 - End - Begin VB.Image Channel - Appearance = 0 'Flat - BorderStyle = 1 'Fixed Single - Height = 210 - Index = 8 - Left = 390 - Picture = "vb9111.frx":2E40 - Stretch = -1 'True - Top = 240 - Width = 270 - End - Begin VB.Image Channel - Appearance = 0 'Flat - BorderStyle = 1 'Fixed Single - Height = 210 - Index = 9 - Left = 390 - Picture = "vb9111.frx":2F6A - Stretch = -1 'True - Top = 480 - Width = 270 - End - Begin VB.Image Channel - Appearance = 0 'Flat - BorderStyle = 1 'Fixed Single - Height = 210 - Index = 10 - Left = 390 - Picture = "vb9111.frx":3094 - Stretch = -1 'True - Top = 720 - Width = 270 - End - Begin VB.Image Channel - Appearance = 0 'Flat - BorderStyle = 1 'Fixed Single - Height = 210 - Index = 11 - Left = 390 - Picture = "vb9111.frx":31BE - Stretch = -1 'True - Top = 960 - Width = 270 - End - Begin VB.Image Channel - Appearance = 0 'Flat - BorderStyle = 1 'Fixed Single - Height = 210 - Index = 12 - Left = 1050 - Picture = "vb9111.frx":32E8 - Stretch = -1 'True - Top = 240 - Width = 270 - End - Begin VB.Image Channel - Appearance = 0 'Flat - BorderStyle = 1 'Fixed Single - Height = 210 - Index = 13 - Left = 1050 - Picture = "vb9111.frx":3412 - Stretch = -1 'True - Top = 480 - Width = 270 - End - Begin VB.Image Channel - Appearance = 0 'Flat - BorderStyle = 1 'Fixed Single - Height = 210 - Index = 14 - Left = 1050 - Picture = "vb9111.frx":353C - Stretch = -1 'True - Top = 720 - Width = 270 - End - Begin VB.Image Channel - Appearance = 0 'Flat - BorderStyle = 1 'Fixed Single - Height = 210 - Index = 15 - Left = 1050 - Picture = "vb9111.frx":3666 - Stretch = -1 'True - Top = 960 - Width = 270 - End - End - Begin VB.Frame Channel_Frame - Appearance = 0 'Flat - BackColor = &H00C0C0C0& - Caption = "Channel" - BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851} - Name = "MS Sans Serif" - Size = 8.25 - Charset = 0 - Weight = 400 - Underline = 0 'False - Italic = 0 'False - Strikethrough = 0 'False - EndProperty - ForeColor = &H80000008& - Height = 1335 - Index = 0 - Left = 6360 - TabIndex = 19 - Top = 360 - Width = 1575 - Begin VB.Image Channel - Appearance = 0 'Flat - BorderStyle = 1 'Fixed Single - Height = 210 - Index = 7 - Left = 1080 - Picture = "vb9111.frx":3790 - Stretch = -1 'True - Top = 960 - Width = 270 - End - Begin VB.Image Channel - Appearance = 0 'Flat - BorderStyle = 1 'Fixed Single - Height = 210 - Index = 6 - Left = 1080 - Picture = "vb9111.frx":38BA - Stretch = -1 'True - Top = 720 - Width = 270 - End - Begin VB.Image Channel - Appearance = 0 'Flat - BorderStyle = 1 'Fixed Single - Height = 210 - Index = 5 - Left = 1080 - Picture = "vb9111.frx":39E4 - Stretch = -1 'True - Top = 480 - Width = 270 - End - Begin VB.Image Channel - Appearance = 0 'Flat - BorderStyle = 1 'Fixed Single - Height = 210 - Index = 4 - Left = 1080 - Picture = "vb9111.frx":3B0E - Stretch = -1 'True - Top = 240 - Width = 270 - End - Begin VB.Image Channel - Appearance = 0 'Flat - BorderStyle = 1 'Fixed Single - Height = 210 - Index = 3 - Left = 420 - Picture = "vb9111.frx":3C38 - Stretch = -1 'True - Top = 960 - Width = 270 - End - Begin VB.Image Channel - Appearance = 0 'Flat - BorderStyle = 1 'Fixed Single - Height = 210 - Index = 2 - Left = 420 - Picture = "vb9111.frx":3D62 - Stretch = -1 'True - Top = 720 - Width = 270 - End - Begin VB.Image Channel - Appearance = 0 'Flat - BorderStyle = 1 'Fixed Single - Height = 210 - Index = 1 - Left = 420 - Picture = "vb9111.frx":3E8C - Stretch = -1 'True - Top = 480 - Width = 270 - End - Begin VB.Image Channel - Appearance = 0 'Flat - BorderStyle = 1 'Fixed Single - Height = 210 - Index = 0 - Left = 420 - Picture = "vb9111.frx":3FB6 - Stretch = -1 'True - Top = 240 - Width = 270 - End - Begin VB.Label Label1 - Appearance = 0 'Flat - BackColor = &H00C0C0C0& - Caption = "0" - ForeColor = &H80000008& - Height = 195 - Index = 14 - Left = 240 - TabIndex = 20 - Top = 240 - Width = 135 - End - Begin VB.Label Label1 - Appearance = 0 'Flat - BackColor = &H00C0C0C0& - Caption = "1" - ForeColor = &H80000008& - Height = 195 - Index = 13 - Left = 240 - TabIndex = 21 - Top = 480 - Width = 135 - End - Begin VB.Label Label1 - Appearance = 0 'Flat - BackColor = &H00C0C0C0& - Caption = "2" - ForeColor = &H80000008& - Height = 195 - Index = 12 - Left = 240 - TabIndex = 22 - Top = 720 - Width = 135 - End - Begin VB.Label Label1 - Appearance = 0 'Flat - BackColor = &H00C0C0C0& - Caption = "3" - ForeColor = &H80000008& - Height = 195 - Index = 11 - Left = 240 - TabIndex = 23 - Top = 960 - Width = 135 - End - Begin VB.Label Label1 - Appearance = 0 'Flat - BackColor = &H00C0C0C0& - Caption = "4" - ForeColor = &H80000008& - Height = 195 - Index = 10 - Left = 900 - TabIndex = 24 - Top = 240 - Width = 135 - End - Begin VB.Label Label1 - Appearance = 0 'Flat - BackColor = &H00C0C0C0& - Caption = "5" - ForeColor = &H80000008& - Height = 195 - Index = 9 - Left = 900 - TabIndex = 25 - Top = 480 - Width = 135 - End - Begin VB.Label Label1 - Appearance = 0 'Flat - BackColor = &H00C0C0C0& - Caption = "6" - ForeColor = &H80000008& - Height = 195 - Index = 8 - Left = 900 - TabIndex = 26 - Top = 720 - Width = 135 - End - Begin VB.Label Label1 - Appearance = 0 'Flat - BackColor = &H00C0C0C0& - Caption = "7" - ForeColor = &H80000008& - Height = 195 - Index = 7 - Left = 900 - TabIndex = 27 - Top = 960 - Width = 135 - End - End - Begin VB.Frame AD_Frame - Appearance = 0 'Flat - BackColor = &H00C0C0C0& - Caption = "Analog Input (A/D)" - BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851} - Name = "MS Sans Serif" - Size = 9.75 - Charset = 0 - Weight = 700 - Underline = 0 'False - Italic = 0 'False - Strikethrough = 0 'False - EndProperty - ForeColor = &H00FF0000& - Height = 3255 - Left = 240 - TabIndex = 33 - Top = 0 - Width = 7935 - Begin VB.PictureBox Signal - Appearance = 0 'Flat - BackColor = &H00000000& - BorderStyle = 0 'None - ForeColor = &H80000008& - Height = 1200 - Index = 0 - Left = 900 - ScaleHeight = 80 - ScaleMode = 3 'Pixel - ScaleWidth = 333 - TabIndex = 28 - Top = 480 - Width = 4995 - End - Begin VB.PictureBox Signal - Appearance = 0 'Flat - BackColor = &H00000000& - BorderStyle = 0 'None - ForeColor = &H80000008& - Height = 1200 - Index = 1 - Left = 900 - ScaleHeight = 80 - ScaleMode = 3 'Pixel - ScaleWidth = 333 - TabIndex = 42 - Top = 1800 - Width = 4995 - End - Begin VB.Line Line1 - Index = 4 - X1 = 840 - X2 = 900 - Y1 = 1665 - Y2 = 1665 - End - Begin VB.Line Line1 - Index = 3 - X1 = 840 - X2 = 900 - Y1 = 1380 - Y2 = 1380 - End - Begin VB.Line Line1 - Index = 2 - X1 = 840 - X2 = 900 - Y1 = 1080 - Y2 = 1080 - End - Begin VB.Line Line1 - Index = 1 - X1 = 840 - X2 = 900 - Y1 = 780 - Y2 = 780 - End - Begin VB.Line Line1 - Index = 0 - X1 = 840 - X2 = 900 - Y1 = 480 - Y2 = 480 - End - Begin VB.Line Line1 - Index = 5 - X1 = 840 - X2 = 900 - Y1 = 1800 - Y2 = 1800 - End - Begin VB.Line Line1 - Index = 6 - X1 = 840 - X2 = 900 - Y1 = 2100 - Y2 = 2100 - End - Begin VB.Line Line1 - Index = 7 - X1 = 840 - X2 = 900 - Y1 = 2400 - Y2 = 2400 - End - Begin VB.Line Line1 - Index = 8 - X1 = 840 - X2 = 900 - Y1 = 2700 - Y2 = 2700 - End - Begin VB.Line Line1 - Index = 9 - X1 = 840 - X2 = 900 - Y1 = 2985 - Y2 = 2985 - End - Begin VB.Label Label1 - Alignment = 1 'Right Justify - Appearance = 0 'Flat - BackColor = &H00C0C0C0& - Caption = "-5.00" - BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851} - Name = "MS Serif" - Size = 6.75 - Charset = 0 - Weight = 400 - Underline = 0 'False - Italic = 0 'False - Strikethrough = 0 'False - EndProperty - ForeColor = &H80000008& - Height = 195 - Index = 6 - Left = 345 - TabIndex = 29 - Top = 1590 - Width = 480 - End - Begin VB.Label Label1 - Alignment = 1 'Right Justify - Appearance = 0 'Flat - BackColor = &H00C0C0C0& - Caption = "-2.50" - BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851} - Name = "MS Serif" - Size = 6.75 - Charset = 0 - Weight = 400 - Underline = 0 'False - Italic = 0 'False - Strikethrough = 0 'False - EndProperty - ForeColor = &H80000008& - Height = 195 - Index = 5 - Left = 345 - TabIndex = 30 - Top = 1350 - Width = 480 - End - Begin VB.Label Label1 - Alignment = 1 'Right Justify - Appearance = 0 'Flat - BackColor = &H00C0C0C0& - Caption = "0.00" - BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851} - Name = "MS Serif" - Size = 6.75 - Charset = 0 - Weight = 400 - Underline = 0 'False - Italic = 0 'False - Strikethrough = 0 'False - EndProperty - ForeColor = &H80000008& - Height = 195 - Index = 4 - Left = 345 - TabIndex = 31 - Top = 1050 - Width = 480 - End - Begin VB.Label Label1 - Alignment = 1 'Right Justify - Appearance = 0 'Flat - BackColor = &H00C0C0C0& - Caption = "2.50" - BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851} - Name = "MS Serif" - Size = 6.75 - Charset = 0 - Weight = 400 - Underline = 0 'False - Italic = 0 'False - Strikethrough = 0 'False - EndProperty - ForeColor = &H80000008& - Height = 195 - Index = 3 - Left = 345 - TabIndex = 32 - Top = 750 - Width = 480 - End - Begin VB.Label Label1 - Alignment = 1 'Right Justify - Appearance = 0 'Flat - BackColor = &H00C0C0C0& - Caption = "5.00" - BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851} - Name = "MS Serif" - Size = 6.75 - Charset = 0 - Weight = 400 - Underline = 0 'False - Italic = 0 'False - Strikethrough = 0 'False - EndProperty - ForeColor = &H80000008& - Height = 195 - Index = 2 - Left = 345 - TabIndex = 34 - Top = 450 - Width = 480 - End - Begin VB.Label Label1 - Appearance = 0 'Flat - BackColor = &H00C0C0C0& - Caption = "V" - BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851} - Name = "MS Sans Serif" - Size = 8.25 - Charset = 0 - Weight = 400 - Underline = 0 'False - Italic = 0 'False - Strikethrough = 0 'False - EndProperty - ForeColor = &H80000008& - Height = 195 - Index = 1 - Left = 240 - TabIndex = 35 - Top = 690 - Width = 135 - End - Begin VB.Label Label1 - Appearance = 0 'Flat - BackColor = &H00C0C0C0& - Caption = "Signals" - BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851} - Name = "MS Sans Serif" - Size = 8.25 - Charset = 0 - Weight = 400 - Underline = 0 'False - Italic = 0 'False - Strikethrough = 0 'False - EndProperty - ForeColor = &H80000008& - Height = 195 - Index = 0 - Left = 3060 - TabIndex = 36 - Top = 240 - Width = 735 - End - Begin VB.Label Label1 - Appearance = 0 'Flat - BackColor = &H00C0C0C0& - Caption = "O" - BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851} - Name = "MS Sans Serif" - Size = 8.25 - Charset = 0 - Weight = 400 - Underline = 0 'False - Italic = 0 'False - Strikethrough = 0 'False - EndProperty - ForeColor = &H80000008& - Height = 195 - Index = 15 - Left = 240 - TabIndex = 37 - Top = 1110 - Width = 135 - End - Begin VB.Label Label1 - Appearance = 0 'Flat - BackColor = &H00C0C0C0& - Caption = "L" - BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851} - Name = "MS Sans Serif" - Size = 8.25 - Charset = 0 - Weight = 400 - Underline = 0 'False - Italic = 0 'False - Strikethrough = 0 'False - EndProperty - ForeColor = &H80000008& - Height = 195 - Index = 16 - Left = 240 - TabIndex = 38 - Top = 1470 - Width = 135 - End - Begin VB.Label Label1 - Appearance = 0 'Flat - BackColor = &H00C0C0C0& - Caption = "T" - BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851} - Name = "MS Sans Serif" - Size = 8.25 - Charset = 0 - Weight = 400 - Underline = 0 'False - Italic = 0 'False - Strikethrough = 0 'False - EndProperty - ForeColor = &H80000008& - Height = 195 - Index = 17 - Left = 240 - TabIndex = 39 - Top = 1890 - Width = 135 - End - Begin VB.Label Label1 - Appearance = 0 'Flat - BackColor = &H00C0C0C0& - Caption = "S" - BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851} - Name = "MS Sans Serif" - Size = 8.25 - Charset = 0 - Weight = 400 - Underline = 0 'False - Italic = 0 'False - Strikethrough = 0 'False - EndProperty - ForeColor = &H80000008& - Height = 195 - Index = 18 - Left = 240 - TabIndex = 40 - Top = 2310 - Width = 135 - End - Begin VB.Label Label1 - Alignment = 1 'Right Justify - Appearance = 0 'Flat - BackColor = &H00C0C0C0& - Caption = "5.00" - BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851} - Name = "MS Serif" - Size = 6.75 - Charset = 0 - Weight = 400 - Underline = 0 'False - Italic = 0 'False - Strikethrough = 0 'False - EndProperty - ForeColor = &H80000008& - Height = 195 - Index = 19 - Left = 345 - TabIndex = 41 - Top = 1800 - Width = 480 - End - Begin VB.Label Label1 - Alignment = 1 'Right Justify - Appearance = 0 'Flat - BackColor = &H00C0C0C0& - Caption = "2.50" - BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851} - Name = "MS Serif" - Size = 6.75 - Charset = 0 - Weight = 400 - Underline = 0 'False - Italic = 0 'False - Strikethrough = 0 'False - EndProperty - ForeColor = &H80000008& - Height = 195 - Index = 20 - Left = 345 - TabIndex = 43 - Top = 2070 - Width = 480 - End - Begin VB.Label Label1 - Alignment = 1 'Right Justify - Appearance = 0 'Flat - BackColor = &H00C0C0C0& - Caption = "0.00" - BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851} - Name = "MS Serif" - Size = 6.75 - Charset = 0 - Weight = 400 - Underline = 0 'False - Italic = 0 'False - Strikethrough = 0 'False - EndProperty - ForeColor = &H80000008& - Height = 195 - Index = 21 - Left = 345 - TabIndex = 44 - Top = 2370 - Width = 480 - End - Begin VB.Label Label1 - Alignment = 1 'Right Justify - Appearance = 0 'Flat - BackColor = &H00C0C0C0& - Caption = "-2.50" - BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851} - Name = "MS Serif" - Size = 6.75 - Charset = 0 - Weight = 400 - Underline = 0 'False - Italic = 0 'False - Strikethrough = 0 'False - EndProperty - ForeColor = &H80000008& - Height = 195 - Index = 22 - Left = 345 - TabIndex = 45 - Top = 2670 - Width = 480 - End - Begin VB.Label Label1 - Alignment = 1 'Right Justify - Appearance = 0 'Flat - BackColor = &H00C0C0C0& - Caption = "-5.00" - BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851} - Name = "MS Serif" - Size = 6.75 - Charset = 0 - Weight = 400 - Underline = 0 'False - Italic = 0 'False - Strikethrough = 0 'False - EndProperty - ForeColor = &H80000008& - Height = 195 - Index = 23 - Left = 345 - TabIndex = 46 - Top = 2910 - Width = 480 - End - End - Begin VB.Timer Timer1 - Enabled = 0 'False - Interval = 70 - Left = 1920 - Top = 5760 - End - Begin VB.CommandButton StopBtn - Appearance = 0 'Flat - BackColor = &H80000005& - Caption = "Stop" - Enabled = 0 'False - BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851} - Name = "MS Sans Serif" - Size = 8.25 - Charset = 0 - Weight = 400 - Underline = 0 'False - Italic = 0 'False - Strikethrough = 0 'False - EndProperty - Height = 315 - Left = 3420 - TabIndex = 4 - Top = 5415 - Width = 795 - End - Begin VB.CommandButton StartBtn - Appearance = 0 'Flat - BackColor = &H80000005& - Caption = "Start" - BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851} - Name = "MS Sans Serif" - Size = 8.25 - Charset = 0 - Weight = 400 - Underline = 0 'False - Italic = 0 'False - Strikethrough = 0 'False - EndProperty - Height = 315 - Left = 2520 - TabIndex = 0 - Top = 5415 - Width = 795 - End - Begin VB.CommandButton PauseBtn - Appearance = 0 'Flat - BackColor = &H80000005& - Caption = "Pause" - Enabled = 0 'False - BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851} - Name = "MS Sans Serif" - Size = 8.25 - Charset = 0 - Weight = 400 - Underline = 0 'False - Italic = 0 'False - Strikethrough = 0 'False - EndProperty - Height = 315 - Left = 4320 - TabIndex = 1 - Top = 5415 - Width = 795 - End - Begin VB.Label Label2 - Appearance = 0 'Flat - BackColor = &H00C0C0C0& - Caption = "15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0" - ForeColor = &H80000008& - Height = 195 - Left = 240 - TabIndex = 9 - Top = 4080 - Width = 5775 - End - Begin VB.Image Image0 - Appearance = 0 'Flat - Height = 300 - Left = 2400 - Picture = "vb9111.frx":40E0 - Top = 5820 - Visible = 0 'False - Width = 300 - End - Begin VB.Image Image1 - Appearance = 0 'Flat - Height = 300 - Left = 2700 - Picture = "vb9111.frx":4252 - Top = 5820 - Visible = 0 'False - Width = 300 - End - Begin VB.Image ChDn - Appearance = 0 'Flat - Height = 210 - Index = 0 - Left = -180 - Picture = "vb9111.frx":43C4 - Top = 5760 - Visible = 0 'False - Width = 270 - End - Begin VB.Image ChDn - Appearance = 0 'Flat - Height = 210 - Index = 1 - Left = 60 - Picture = "vb9111.frx":44EE - Top = 5760 - Visible = 0 'False - Width = 270 - End - Begin VB.Image ChDn - Appearance = 0 'Flat - Height = 210 - Index = 2 - Left = 300 - Picture = "vb9111.frx":4618 - Top = 5760 - Visible = 0 'False - Width = 270 - End - Begin VB.Image ChDn - Appearance = 0 'Flat - Height = 210 - Index = 3 - Left = 540 - Picture = "vb9111.frx":4742 - Top = 5760 - Visible = 0 'False - Width = 270 - End - Begin VB.Image ChDn - Appearance = 0 'Flat - Height = 210 - Index = 4 - Left = 780 - Picture = "vb9111.frx":486C - Top = 5760 - Visible = 0 'False - Width = 270 - End - Begin VB.Image ChDn - Appearance = 0 'Flat - Height = 210 - Index = 5 - Left = 1020 - Picture = "vb9111.frx":4996 - Top = 5760 - Visible = 0 'False - Width = 270 - End - Begin VB.Image ChDn - Appearance = 0 'Flat - Height = 210 - Index = 6 - Left = 1260 - Picture = "vb9111.frx":4AC0 - Top = 5760 - Visible = 0 'False - Width = 270 - End - Begin VB.Image ChDn - Appearance = 0 'Flat - Height = 210 - Index = 7 - Left = 1500 - Picture = "vb9111.frx":4BEA - Top = 5760 - Visible = 0 'False - Width = 270 - End - Begin VB.Image ChUp - Appearance = 0 'Flat - Height = 210 - Index = 0 - Left = -180 - Picture = "vb9111.frx":4D14 - Top = 5940 - Visible = 0 'False - Width = 270 - End - Begin VB.Image ChUp - Appearance = 0 'Flat - Height = 210 - Index = 1 - Left = 60 - Picture = "vb9111.frx":4E3E - Top = 5940 - Visible = 0 'False - Width = 270 - End - Begin VB.Image ChUp - Appearance = 0 'Flat - Height = 210 - Index = 2 - Left = 300 - Picture = "vb9111.frx":4F68 - Top = 5940 - Visible = 0 'False - Width = 270 - End - Begin VB.Image ChUp - Appearance = 0 'Flat - Height = 210 - Index = 3 - Left = 540 - Picture = "vb9111.frx":5092 - Top = 5940 - Visible = 0 'False - Width = 270 - End - Begin VB.Image ChUp - Appearance = 0 'Flat - Height = 210 - Index = 4 - Left = 780 - Picture = "vb9111.frx":51BC - Top = 5940 - Visible = 0 'False - Width = 270 - End - Begin VB.Image ChUp - Appearance = 0 'Flat - Height = 210 - Index = 5 - Left = 1020 - Picture = "vb9111.frx":52E6 - Top = 5940 - Visible = 0 'False - Width = 270 - End - Begin VB.Image ChUp - Appearance = 0 'Flat - Height = 210 - Index = 6 - Left = 1260 - Picture = "vb9111.frx":5410 - Top = 5940 - Visible = 0 'False - Width = 270 - End - Begin VB.Image ChUp - Appearance = 0 'Flat - Height = 210 - Index = 7 - Left = 1500 - Picture = "vb9111.frx":553A - Top = 5940 - Visible = 0 'False - Width = 270 - End -End -Attribute VB_Name = "util9111" -Attribute VB_Creatable = False -Attribute VB_Exposed = False -Option Explicit - -Dim PrevP(15) As Long -Dim ChannelOn(15) As Long -Dim SignalColor(15) As Long -Dim range_value(5) As Integer -Dim Active As Long -Dim NewStart As Long -Dim status(15) As Long -Dim angle As Single -Dim sq As Integer -Dim gnAddr As Long -Dim gnIrq As Long -Dim gnDoValue As Long - -Const SINE_WAVE = 0 -Const SQUARE_WAVE = 1 -Const Pi = 3.14159 - -Private Sub Channel_Click(Index As Integer) - If ChannelOn(Index) Then - If Index < 8 Then - Channel(Index) = ChUp(Index) - Else - Channel(Index) = ChUp(Index - 8) - End If - Else - If Index < 8 Then - Channel(Index) = ChDn(Index) - Else - Channel(Index) = ChDn(Index - 8) - End If - End If - ChannelOn(Index) = Not ChannelOn(Index) -End Sub - -Sub Combo1_Change() -End Sub - -Private Sub DOP_Click(Index As Integer) - Dim i As Integer - Dim v As Integer, d As Long - Dim do_data As Integer - If Active Then - If status(Index) = 1 Then - DOP(Index) = Image0 - status(Index) = 0 - d = 1 - For i = 1 To Index - d = d * 2 - Next - gnDoValue = gnDoValue - d - Else - DOP(Index) = Image1 - status(Index) = 1 - d = 1 - For i = 1 To Index - d = d * 2 - Next - gnDoValue = gnDoValue + d - End If - 'translate unsigned value to signed integer - If (gnDoValue > 32767) Then - do_data = gnDoValue - 65536 - Else - do_data = gnDoValue - End If - 'v = W_9111_DO(0, do_data) - v = DO_WritePort(card, 0, gnDoValue) - End If -End Sub - -Private Sub ExitBtn_Click() - Dim result As Integer - If card >= 0 Then - result = Release_Card(card) - End If - End -End Sub - -Private Sub Form_Load() - Dim result As Integer - Dim i As Integer - - SettingForm.Show 1 - If card < 0 Then - MsgBox "Register card failed." - End - End If - For i = 0 To 15 - PrevP(i) = -1 - ChannelOn(i) = False - Next - For i = 0 To 15 - status(i) = 0 - Next - NewStart = True - Active = False - gnDoValue = 0 - result = DO_WritePort(card, 0, gnDoValue) - - gain.AddItem "+/- 10V" - gain.AddItem "+/- 5V" - gain.AddItem "+/- 2.5V" - gain.AddItem "+/- 1.25V" - gain.AddItem "+/- 0.625V" - - 'CardName.AddItem "9111DG" - 'CardName.AddItem "9111HR" - - range_value(0) = 1 - range_value(1) = 2 - range_value(2) = 3 - range_value(3) = 4 - range_value(4) = 5 - - gain.ListIndex = 0 - 'CardName.ListIndex = 0 - - DA_Wave.AddItem "Sine Wave" - DA_Wave.AddItem "Square Wave" - DA_Wave.ListIndex = 0 - - SignalColor(0) = &HFFFF& - SignalColor(1) = &H8000& - SignalColor(2) = &HFF0000 - SignalColor(3) = &HFF& - SignalColor(4) = &HFFFF00 - SignalColor(5) = &HFF00FF - SignalColor(6) = &HFF00& - SignalColor(7) = &HFFFFFF - SignalColor(8) = &HFFFF& - SignalColor(9) = &H8000& - SignalColor(10) = &HFF0000 - SignalColor(11) = &HFF& - SignalColor(12) = &HFFFF00 - SignalColor(13) = &HFF00FF - SignalColor(14) = &HFF00& - SignalColor(15) = &HFFFFFF - -End Sub - -Private Sub Form_Unload(Cancel As Integer) -Dim result As Integer - If card >= 0 Then - result = Release_Card(card) - End If -End Sub - - -Private Sub Gain_Click() - Dim result As Long - Scale_Change gain.ListIndex -End Sub - - - - - - - - - - - - - -Private Sub PauseBtn_Click() - Timer1.Enabled = False - Active = False - NewStart = False - StartBtn.Enabled = True - PauseBtn.Enabled = False - -End Sub - - - - -Private Sub StartBtn_Click() - StartBtn.Enabled = False - StopBtn.Enabled = True - PauseBtn.Enabled = True - - Active = True - - If NewStart Then - Signal(0).Cls - Signal(1).Cls - gnDoValue = 0 - angle = 0 - sq = 0 - End If - - Timer1.Enabled = True - -End Sub - -Private Sub StopBtn_Click() - Dim i As Integer - Timer1.Enabled = False - For i = 0 To 15 - PrevP(i) = -1 - Next - For i = 0 To 15 - status(i) = 0 - DOP(i) = Image0 - Next - i = DO_WritePort(card, 0, 0) - Active = False - NewStart = True - StartBtn.Enabled = True - StopBtn.Enabled = False - PauseBtn.Enabled = False - -End Sub - -Private Sub Timer1_Timer() - Dim result As Integer - Dim i As Integer, j As Integer, d As Integer - Dim l As Long - Dim di_data As Long - Dim p As Integer - Dim m As Single - Static vt(15) As Variant - -' Do While Contd -'Analog-Digital Input - result = BitBlt(Signal(0).hDC, 4, 0, Signal(0).Width / Screen.TwipsPerPixelX, Signal(0).Height / Screen.TwipsPerPixelY, Signal(0).hDC, 0, 0, SRCCOPY) - result = BitBlt(Signal(1).hDC, 4, 0, Signal(1).Width / Screen.TwipsPerPixelX, Signal(1).Height / Screen.TwipsPerPixelY, Signal(1).hDC, 0, 0, SRCCOPY) - For i = 0 To 15 - If ChannelOn(i) Then - result = AI_ReadChannel(card, i, range_value(gain.ListIndex), d) - l = d - If card_type Then - If i < 8 Then - p = (32767 - CSng(l)) / 65535 * (Signal(0).Height / Screen.TwipsPerPixelY - 2) - If PrevP(i) <> -1 Then Signal(0).Line (4, p)-(8, PrevP(i)), SignalColor(i) - Else - p = (32767 - CSng(l)) / 65535 * (Signal(1).Height / Screen.TwipsPerPixelY - 2) - If PrevP(i) <> -1 Then - Signal(1).Line (4, p)-(8, PrevP(i)), SignalColor(i) - End If - End If - Else - l = l / 16 - If i < 8 Then - p = (2047 - CSng(l)) / 4095 * (Signal(0).Height / Screen.TwipsPerPixelY - 2) - If PrevP(i) <> -1 Then Signal(0).Line (4, p)-(8, PrevP(i)), SignalColor(i) - Else - p = (2047 - CSng(l)) / 4095 * (Signal(1).Height / Screen.TwipsPerPixelY - 2) - If PrevP(i) <> -1 Then - Signal(1).Line (4, p)-(8, PrevP(i)), SignalColor(i) - End If - End If - End If - PrevP(i) = p - End If - Next i - -'Digital Input - result = DI_ReadPort(card, 0, l) - If (l < 0) Then - di_data = l + 65536 - Else - di_data = l - End If - For i = 0 To 15 - p = di_data Mod 2 - If p = 0 Then - DI(i) = Image0 - Else 'p = 1 - DI(i) = Image1 - End If - di_data = CLng(Fix(di_data / 2)) - Next i - -'Analog Output - Select Case DA_Wave.ListIndex - Case SINE_WAVE: - m = Sin(angle) - angle = angle + Pi / 36 - p = CInt(m * 2048 + 2048) - If p >= 4096 Then p = 4095 - result = AO_WriteChannel(card, 0, p) - Case SQUARE_WAVE: - result = AO_WriteChannel(card, 0, sq) - If (angle Mod 36) = 0 Then - If sq = 0 Then sq = 4095 Else sq = 0 - End If - angle = angle + 1 - End Select -End Sub - - - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9111/VB9111Int/9111glbl.Bas b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9111/VB9111Int/9111glbl.Bas deleted file mode 100644 index 43d6596..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9111/VB9111Int/9111glbl.Bas +++ /dev/null @@ -1,10 +0,0 @@ -Attribute VB_Name = "Module1" -Option Explicit - -Declare Function BitBlt Lib "GDI32" (ByVal hDestDC As Long, ByVal X As Long, ByVal Y As Long, ByVal nWidth As Long, ByVal nHeight As Long, ByVal hSrcDC As Long, ByVal XSrc As Long, ByVal YSrc As Long, ByVal dwRop As Long) As Long - -Global Const SRCCOPY = &HCC0020 ' (DWORD) dest = source -Global card As Integer -Global card_number As Integer -Global card_type As Integer - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9111/VB9111Int/Base9111.frm b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9111/VB9111Int/Base9111.frm deleted file mode 100644 index c38644e..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9111/VB9111Int/Base9111.frm +++ /dev/null @@ -1,124 +0,0 @@ -VERSION 4.00 -Begin VB.Form SettingForm - Appearance = 0 'Flat - BackColor = &H00C0C0C0& - Caption = "Card Setting" - ClientHeight = 1770 - ClientLeft = 4590 - ClientTop = 3420 - ClientWidth = 2835 - BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851} - Name = "MS Sans Serif" - Size = 8.25 - Charset = 0 - Weight = 700 - Underline = 0 'False - Italic = 0 'False - Strikethrough = 0 'False - EndProperty - ForeColor = &H80000008& - Height = 2175 - Left = 4530 - LinkTopic = "Form2" - ScaleHeight = 1770 - ScaleWidth = 2835 - Top = 3075 - Width = 2955 - Begin VB.ComboBox CardType - Height = 315 - Left = 1440 - TabIndex = 5 - Text = "CardType" - Top = 720 - Width = 1215 - End - Begin VB.CommandButton OKBtn - Appearance = 0 'Flat - BackColor = &H80000005& - Caption = "OK" - Default = -1 'True - Height = 315 - Left = 240 - TabIndex = 0 - Top = 1320 - Width = 915 - End - Begin VB.CommandButton CancelBtn - Appearance = 0 'Flat - BackColor = &H80000005& - Cancel = -1 'True - Caption = "Cancel" - Height = 315 - Left = 1560 - TabIndex = 3 - Top = 1320 - Width = 915 - End - Begin VB.ComboBox CardNum - Appearance = 0 'Flat - Height = 315 - Left = 1440 - Style = 2 'Dropdown List - TabIndex = 2 - Top = 120 - Width = 1215 - End - Begin VB.Label Label1 - Caption = "Card Type" - Height = 255 - Left = 120 - TabIndex = 4 - Top = 720 - Width = 1095 - End - Begin VB.Label Label2 - Appearance = 0 'Flat - BackColor = &H00C0C0C0& - Caption = "Card Number:" - ForeColor = &H00000000& - Height = 195 - Index = 0 - Left = 120 - TabIndex = 1 - Top = 180 - Width = 1275 - End -End -Attribute VB_Name = "SettingForm" -Attribute VB_Creatable = False -Attribute VB_Exposed = False - - -Private Sub BaseAddr_Change() - -End Sub - - -Private Sub CancelBtn_Click() - Unload SettingForm -End Sub - -Private Sub Form_Load() - Dim i As Long - For i = 0 To 15 Step 1 - CardNum.AddItem i - Next - CardNum.ListIndex = 0 - CardType.AddItem "9111DG" - CardType.AddItem "9111HR" - CardType.ListIndex = 0 -End Sub - -Private Sub OKBtn_Click() - card = -1 - card_number = CardNum.ListIndex - Select Case CardType.ListIndex - Case 0 - card_type = PCI_9111DG - Case 1 - card_type = PCI_9111HR - End Select - card = Register_Card(card_type, card_number) - Unload SettingForm -End Sub - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9111/VB9111Int/Vb9111i.vbp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9111/VB9111Int/Vb9111i.vbp deleted file mode 100644 index a4087af..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9111/VB9111Int/Vb9111i.vbp +++ /dev/null @@ -1,21 +0,0 @@ -Form=vb9111i.Frm -Module=DASK; ..\..\..\Include\Dask.bas -Module=Module1; 9111glbl.Bas -Form=Base9111.frm -Reference=*\G{00025E04-0000-0000-C000-000000000046}#2.5#0#D:\Program Files\Common Files\Microsoft Shared\DD:\Program Fil#Microsoft DAO 2.5/3.0 Compatibility Library -ProjWinSize=127,570,191,215 -ProjWinShow=2 -IconForm="int9111" -Title="9111INT" -ExeName32="vb9111i.exe" -ExeName="9111INT.EXE" -Name="vb49111int" -HelpContextID="0" -StartMode=0 -VersionCompatible32="0" -MajorVer=1 -MinorVer=0 -RevisionVer=0 -AutoIncrementVer=0 -ServerSupportFiles=0 -VersionCompanyName="ADLink" diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9111/VB9111Int/vb9111i.Frm b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9111/VB9111Int/vb9111i.Frm deleted file mode 100644 index 578a2e0..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9111/VB9111Int/vb9111i.Frm +++ /dev/null @@ -1,493 +0,0 @@ -VERSION 4.00 -Begin VB.Form int9111 - Appearance = 0 'Flat - BackColor = &H00C0C0C0& - Caption = "9111 INT" - ClientHeight = 4980 - ClientLeft = 1380 - ClientTop = 1740 - ClientWidth = 7665 - BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851} - Name = "MS Sans Serif" - Size = 8.25 - Charset = 0 - Weight = 700 - Underline = 0 'False - Italic = 0 'False - Strikethrough = 0 'False - EndProperty - ForeColor = &H0000FFFF& - Height = 5385 - Left = 1320 - LinkTopic = "Form1" - ScaleHeight = 4980 - ScaleWidth = 7665 - Top = 1395 - Width = 7785 - Begin VB.CommandButton btnExit - Appearance = 0 'Flat - BackColor = &H80000005& - Caption = "Exit" - Height = 500 - Left = 3720 - TabIndex = 5 - Top = 4320 - Width = 1000 - End - Begin VB.CommandButton btnStop - Appearance = 0 'Flat - BackColor = &H80000005& - Caption = "Stop" - Height = 500 - Left = 2520 - TabIndex = 4 - Top = 4320 - Width = 1000 - End - Begin VB.CommandButton btnStart - Appearance = 0 'Flat - BackColor = &H80000005& - Caption = "Start" - Height = 500 - Left = 1320 - TabIndex = 3 - Top = 4320 - Width = 1000 - End - Begin VB.Frame frmData - Appearance = 0 'Flat - BackColor = &H00C0C0C0& - Caption = "Data Size" - ForeColor = &H00FF0000& - Height = 615 - Left = 1920 - TabIndex = 2 - Top = 3500 - Width = 1935 - Begin VB.ComboBox cobData - Appearance = 0 'Flat - Height = 315 - Left = 120 - Style = 2 'Dropdown List - TabIndex = 18 - Top = 240 - Width = 975 - End - Begin VB.Label labData - Appearance = 0 'Flat - BackColor = &H00C0C0C0& - Caption = "Records" - ForeColor = &H0000FFFF& - Height = 255 - Left = 1155 - TabIndex = 19 - Top = 255 - Width = 720 - End - End - Begin VB.Frame frmSample - Appearance = 0 'Flat - BackColor = &H00C0C0C0& - Caption = "Sampling Rate" - ForeColor = &H00FF0000& - Height = 615 - Left = 120 - TabIndex = 1 - Top = 3500 - Width = 1700 - Begin VB.ComboBox cobSample - Appearance = 0 'Flat - Height = 315 - Left = 120 - Style = 2 'Dropdown List - TabIndex = 17 - Top = 240 - Width = 975 - End - Begin VB.Label Label1 - Appearance = 0 'Flat - BackColor = &H00C0C0C0& - Caption = "KHz" - ForeColor = &H0000FFFF& - Height = 255 - Left = 1150 - TabIndex = 20 - Top = 260 - Width = 450 - End - End - Begin VB.Frame intFrame - Appearance = 0 'Flat - BackColor = &H00C0C0C0& - Caption = "Interrupt Input(A/D)" - ForeColor = &H00FF0000& - Height = 3375 - Left = 120 - TabIndex = 0 - Top = 120 - Width = 7455 - Begin VB.Frame frmRange - Appearance = 0 'Flat - BackColor = &H00C0C0C0& - Caption = "Range" - ForeColor = &H00FF0000& - Height = 615 - Left = 5880 - TabIndex = 8 - Top = 2640 - Width = 1380 - Begin VB.ComboBox cobRange - Appearance = 0 'Flat - Height = 315 - Left = 100 - Style = 2 'Dropdown List - TabIndex = 16 - Top = 240 - Width = 1200 - End - End - Begin VB.Frame frmChannel - Appearance = 0 'Flat - BackColor = &H00C0C0C0& - Caption = "AD Channel" - ForeColor = &H00FF0000& - Height = 1755 - Left = 5880 - TabIndex = 7 - Top = 240 - Width = 1380 - Begin VB.OptionButton optChn - Caption = "7" - Height = 315 - Index = 7 - Left = 720 - TabIndex = 28 - Top = 1260 - Width = 435 - End - Begin VB.OptionButton optChn - Caption = "6" - Height = 315 - Index = 6 - Left = 720 - TabIndex = 27 - Top = 960 - Width = 435 - End - Begin VB.OptionButton optChn - Caption = "5" - Height = 315 - Index = 5 - Left = 720 - TabIndex = 26 - Top = 660 - Width = 435 - End - Begin VB.OptionButton optChn - Caption = "4" - Height = 315 - Index = 4 - Left = 720 - TabIndex = 25 - Top = 360 - Width = 435 - End - Begin VB.OptionButton optChn - Caption = "3" - Height = 315 - Index = 3 - Left = 120 - TabIndex = 24 - Top = 1260 - Width = 435 - End - Begin VB.OptionButton optChn - Caption = "2" - Height = 315 - Index = 2 - Left = 120 - TabIndex = 23 - Top = 960 - Width = 435 - End - Begin VB.OptionButton optChn - Caption = "1" - Height = 315 - Index = 1 - Left = 120 - TabIndex = 22 - Top = 660 - Width = 435 - End - Begin VB.OptionButton optChn - Caption = "0" - Height = 315 - Index = 0 - Left = 120 - TabIndex = 21 - Top = 360 - Value = -1 'True - Width = 435 - End - End - Begin VB.PictureBox picScreen - Appearance = 0 'Flat - AutoRedraw = -1 'True - BackColor = &H00000000& - ForeColor = &H80000008& - Height = 2700 - Left = 720 - ScaleHeight = 178 - ScaleMode = 3 'Pixel - ScaleWidth = 331 - TabIndex = 6 - Top = 480 - Width = 5000 - End - Begin VB.Label labValue - Appearance = 0 'Flat - BackColor = &H00C0C0C0& - Caption = "-5.00" - ForeColor = &H0000FFFF& - Height = 255 - Index = 4 - Left = 100 - TabIndex = 15 - Top = 3050 - Width = 600 - End - Begin VB.Label labValue - Appearance = 0 'Flat - BackColor = &H00C0C0C0& - Caption = "-2.50" - ForeColor = &H0000FFFF& - Height = 255 - Index = 3 - Left = 100 - TabIndex = 14 - Top = 2400 - Width = 600 - End - Begin VB.Label labValue - Appearance = 0 'Flat - BackColor = &H00C0C0C0& - Caption = "0.00" - ForeColor = &H0000FFFF& - Height = 255 - Index = 2 - Left = 100 - TabIndex = 13 - Top = 1740 - Width = 600 - End - Begin VB.Label labValue - Appearance = 0 'Flat - BackColor = &H00C0C0C0& - Caption = "2.50" - ForeColor = &H0000FFFF& - Height = 255 - Index = 1 - Left = 100 - TabIndex = 12 - Top = 1070 - Width = 600 - End - Begin VB.Label labValue - Appearance = 0 'Flat - BackColor = &H00C0C0C0& - Caption = "5.00" - ForeColor = &H0000FFFF& - Height = 255 - Index = 0 - Left = 100 - TabIndex = 11 - Top = 420 - Width = 600 - End - Begin VB.Label labVots - Appearance = 0 'Flat - BackColor = &H00C0C0C0& - Caption = "Vots" - ForeColor = &H0000FFFF& - Height = 255 - Left = 120 - TabIndex = 10 - Top = 200 - Width = 495 - End - Begin VB.Label labSignal - Appearance = 0 'Flat - BackColor = &H00C0C0C0& - Caption = "Signals" - ForeColor = &H0000FFFF& - Height = 300 - Left = 2800 - TabIndex = 9 - Top = 200 - Width = 780 - End - End -End -Attribute VB_Name = "int9111" -Attribute VB_Creatable = False -Attribute VB_Exposed = False -Dim gnADChn As Integer -Dim gnCount As Integer -Dim nSample As Long -Dim range_value(5) As Integer -Dim gnC1 As Integer -Dim gnC2 As Integer -Dim gnBuffer(8192) As Integer - -Private Sub btnExit_Click() - If card >= 0 Then Release_Card (card) - End - -End Sub - - - -Private Sub btnStart_Click() - Dim result As Integer - picScreen.Cls - result = AI_9111_Config(card, TRIG_INT_PACER, 0, 1024) - result = AI_ContReadChannel(card, gnADChn, range_value(cobRange.ListIndex), gnBuffer(0), gnCount, CSng(nSample * 1000), SYNCH_OP) - ShowData (gnCount) -End Sub - -Private Sub btnStop_Click() - picScreen.Cls - -End Sub - -Private Sub cobData_Click() - gnCount = Val(Trim$(cobData)) -End Sub - - -Private Sub cobRange_Click() -Select Case cobRange.ListIndex - Case 0 - labValue(0).Caption = "10.0" - labValue(1).Caption = "5.0" - labValue(2).Caption = "0.0" - labValue(3).Caption = "-5.0" - labValue(4).Caption = "-10.0" - Case 1 - labValue(0).Caption = "5.0" - labValue(1).Caption = "2.5" - labValue(2).Caption = "0.0" - labValue(3).Caption = "-2.5" - labValue(4).Caption = "-5.0" - Case 2 - labValue(0).Caption = "2.50" - labValue(1).Caption = "2.25" - labValue(2).Caption = "0.00" - labValue(3).Caption = "-2.25" - labValue(4).Caption = "-2.50" - Case 3 - labValue(0).Caption = "1.250" - labValue(1).Caption = "0.625" - labValue(2).Caption = "0.00" - labValue(3).Caption = "-0.625" - labValue(4).Caption = "-1.250" - Case 4 - labValue(0).Caption = "0.6250" - labValue(1).Caption = "0.3125" - labValue(2).Caption = "0.0000" - labValue(3).Caption = "-0.3125" - labValue(4).Caption = "-0.6250" - End Select -End Sub - -Private Sub cobSample_Click() - nSample = Val(Trim$(cobSample)) -End Sub - -Private Sub Form_Load() - Dim result As Integer - - SettingForm.Show 1 - If card < 0 Then - MsgBox "Register Card Failed" - End - End If - gnC1 = 10 - - cobRange.AddItem "+/- 10V" - cobRange.AddItem "+/- 5V" - cobRange.AddItem "+/- 2.5V" - cobRange.AddItem "+/- 1.25V" - cobRange.AddItem "+/- 0.625V" - - cobRange.ListIndex = 0 - - range_value(0) = 1 - range_value(1) = 2 - range_value(2) = 3 - range_value(3) = 4 - range_value(4) = 5 - - cobData.AddItem "1024" - cobData.AddItem "2048" - cobData.AddItem "4096" - cobData.AddItem "6144" - cobData.AddItem "8192" - - cobData.ListIndex = 0 - - cobSample.AddItem "10" - cobSample.AddItem "20" - cobSample.AddItem "30" - cobSample.AddItem "40" - cobSample.AddItem "50" - - cobSample.ListIndex = 0 - - gnADChn = 0 - -End Sub - -Private Sub Form_Unload(Cancel As Integer) - If card >= 0 Then Release_Card (card) -End Sub - - -Private Sub optChn_Click(Index As Integer) - gnADChn = Index -End Sub - -Private Sub ShowData(Count As Integer) - Dim i, last, total As Integer - Dim x1, y1, x2, y2 As Integer - Dim w, h, data As Integer - - last = Count - w = picScreen.ScaleWidth - h = picScreen.ScaleHeight - - data = Fix(gnBuffer(0) / 16) - x1 = (last * w) / Count - y1 = CInt((2047 - CLng(data)) * h / 4095) - last = last - 1 - - While (last > 0) - data = Fix(gnBuffer(Count - last) / 16) - x2 = (last * w) / Count - y2 = CInt((2047 - CLng(data)) * h / 4095) - last = last - 1 - picScreen.Line (x1, y1)-(x2, y2), &HFFFF& - x1 = x2 - y1 = y2 - Wend -End Sub - -Private Sub Timer1_Timer() - Dim result As Integer - Dim nstatus As Integer - Dim nblock As Integer - - ShowData (gnCount) - -End Sub - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9111/VB9111PostTrg/9111glbl.Bas b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9111/VB9111PostTrg/9111glbl.Bas deleted file mode 100644 index 43d6596..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9111/VB9111PostTrg/9111glbl.Bas +++ /dev/null @@ -1,10 +0,0 @@ -Attribute VB_Name = "Module1" -Option Explicit - -Declare Function BitBlt Lib "GDI32" (ByVal hDestDC As Long, ByVal X As Long, ByVal Y As Long, ByVal nWidth As Long, ByVal nHeight As Long, ByVal hSrcDC As Long, ByVal XSrc As Long, ByVal YSrc As Long, ByVal dwRop As Long) As Long - -Global Const SRCCOPY = &HCC0020 ' (DWORD) dest = source -Global card As Integer -Global card_number As Integer -Global card_type As Integer - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9111/VB9111PostTrg/Base9111.frm b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9111/VB9111PostTrg/Base9111.frm deleted file mode 100644 index c38644e..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9111/VB9111PostTrg/Base9111.frm +++ /dev/null @@ -1,124 +0,0 @@ -VERSION 4.00 -Begin VB.Form SettingForm - Appearance = 0 'Flat - BackColor = &H00C0C0C0& - Caption = "Card Setting" - ClientHeight = 1770 - ClientLeft = 4590 - ClientTop = 3420 - ClientWidth = 2835 - BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851} - Name = "MS Sans Serif" - Size = 8.25 - Charset = 0 - Weight = 700 - Underline = 0 'False - Italic = 0 'False - Strikethrough = 0 'False - EndProperty - ForeColor = &H80000008& - Height = 2175 - Left = 4530 - LinkTopic = "Form2" - ScaleHeight = 1770 - ScaleWidth = 2835 - Top = 3075 - Width = 2955 - Begin VB.ComboBox CardType - Height = 315 - Left = 1440 - TabIndex = 5 - Text = "CardType" - Top = 720 - Width = 1215 - End - Begin VB.CommandButton OKBtn - Appearance = 0 'Flat - BackColor = &H80000005& - Caption = "OK" - Default = -1 'True - Height = 315 - Left = 240 - TabIndex = 0 - Top = 1320 - Width = 915 - End - Begin VB.CommandButton CancelBtn - Appearance = 0 'Flat - BackColor = &H80000005& - Cancel = -1 'True - Caption = "Cancel" - Height = 315 - Left = 1560 - TabIndex = 3 - Top = 1320 - Width = 915 - End - Begin VB.ComboBox CardNum - Appearance = 0 'Flat - Height = 315 - Left = 1440 - Style = 2 'Dropdown List - TabIndex = 2 - Top = 120 - Width = 1215 - End - Begin VB.Label Label1 - Caption = "Card Type" - Height = 255 - Left = 120 - TabIndex = 4 - Top = 720 - Width = 1095 - End - Begin VB.Label Label2 - Appearance = 0 'Flat - BackColor = &H00C0C0C0& - Caption = "Card Number:" - ForeColor = &H00000000& - Height = 195 - Index = 0 - Left = 120 - TabIndex = 1 - Top = 180 - Width = 1275 - End -End -Attribute VB_Name = "SettingForm" -Attribute VB_Creatable = False -Attribute VB_Exposed = False - - -Private Sub BaseAddr_Change() - -End Sub - - -Private Sub CancelBtn_Click() - Unload SettingForm -End Sub - -Private Sub Form_Load() - Dim i As Long - For i = 0 To 15 Step 1 - CardNum.AddItem i - Next - CardNum.ListIndex = 0 - CardType.AddItem "9111DG" - CardType.AddItem "9111HR" - CardType.ListIndex = 0 -End Sub - -Private Sub OKBtn_Click() - card = -1 - card_number = CardNum.ListIndex - Select Case CardType.ListIndex - Case 0 - card_type = PCI_9111DG - Case 1 - card_type = PCI_9111HR - End Select - card = Register_Card(card_type, card_number) - Unload SettingForm -End Sub - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9111/VB9111PostTrg/Vb9111i.vbp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9111/VB9111PostTrg/Vb9111i.vbp deleted file mode 100644 index ebcf4e4..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9111/VB9111PostTrg/Vb9111i.vbp +++ /dev/null @@ -1,21 +0,0 @@ -Form=vb9111i.Frm -Module=DASK; ..\..\..\Include\Dask.bas -Module=Module1; 9111glbl.Bas -Form=Base9111.frm -Reference=*\G{00025E04-0000-0000-C000-000000000046}#2.5#0#D:\Program Files\Common Files\Microsoft Shared\DD:\Program Fil#Microsoft DAO 2.5/3.0 Compatibility Library -ProjWinSize=66,626,191,215 -ProjWinShow=2 -IconForm="int9111" -Title="9111INT" -ExeName32="vb9111i.exe" -ExeName="9111INT.EXE" -Name="vb49111int" -HelpContextID="0" -StartMode=0 -VersionCompatible32="0" -MajorVer=1 -MinorVer=0 -RevisionVer=0 -AutoIncrementVer=0 -ServerSupportFiles=0 -VersionCompanyName="ADLink" diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9111/VB9111PostTrg/vb9111i.Frm b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9111/VB9111PostTrg/vb9111i.Frm deleted file mode 100644 index 922a28d..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9111/VB9111PostTrg/vb9111i.Frm +++ /dev/null @@ -1,493 +0,0 @@ -VERSION 4.00 -Begin VB.Form int9111 - Appearance = 0 'Flat - BackColor = &H00C0C0C0& - Caption = "9111 INT" - ClientHeight = 4980 - ClientLeft = 1380 - ClientTop = 1740 - ClientWidth = 7665 - BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851} - Name = "MS Sans Serif" - Size = 8.25 - Charset = 0 - Weight = 700 - Underline = 0 'False - Italic = 0 'False - Strikethrough = 0 'False - EndProperty - ForeColor = &H0000FFFF& - Height = 5385 - Left = 1320 - LinkTopic = "Form1" - ScaleHeight = 4980 - ScaleWidth = 7665 - Top = 1395 - Width = 7785 - Begin VB.CommandButton btnExit - Appearance = 0 'Flat - BackColor = &H80000005& - Caption = "Exit" - Height = 500 - Left = 3720 - TabIndex = 5 - Top = 4320 - Width = 1000 - End - Begin VB.CommandButton btnStop - Appearance = 0 'Flat - BackColor = &H80000005& - Caption = "Stop" - Height = 500 - Left = 2520 - TabIndex = 4 - Top = 4320 - Width = 1000 - End - Begin VB.CommandButton btnStart - Appearance = 0 'Flat - BackColor = &H80000005& - Caption = "Start" - Height = 500 - Left = 1320 - TabIndex = 3 - Top = 4320 - Width = 1000 - End - Begin VB.Frame frmData - Appearance = 0 'Flat - BackColor = &H00C0C0C0& - Caption = "Data Size" - ForeColor = &H00FF0000& - Height = 615 - Left = 1920 - TabIndex = 2 - Top = 3500 - Width = 1935 - Begin VB.ComboBox cobData - Appearance = 0 'Flat - Height = 315 - Left = 120 - Style = 2 'Dropdown List - TabIndex = 18 - Top = 240 - Width = 975 - End - Begin VB.Label labData - Appearance = 0 'Flat - BackColor = &H00C0C0C0& - Caption = "Records" - ForeColor = &H0000FFFF& - Height = 255 - Left = 1155 - TabIndex = 19 - Top = 255 - Width = 720 - End - End - Begin VB.Frame frmSample - Appearance = 0 'Flat - BackColor = &H00C0C0C0& - Caption = "Sampling Rate" - ForeColor = &H00FF0000& - Height = 615 - Left = 120 - TabIndex = 1 - Top = 3500 - Width = 1700 - Begin VB.ComboBox cobSample - Appearance = 0 'Flat - Height = 315 - Left = 120 - Style = 2 'Dropdown List - TabIndex = 17 - Top = 240 - Width = 975 - End - Begin VB.Label Label1 - Appearance = 0 'Flat - BackColor = &H00C0C0C0& - Caption = "KHz" - ForeColor = &H0000FFFF& - Height = 255 - Left = 1150 - TabIndex = 20 - Top = 260 - Width = 450 - End - End - Begin VB.Frame intFrame - Appearance = 0 'Flat - BackColor = &H00C0C0C0& - Caption = "Interrupt Input(A/D)" - ForeColor = &H00FF0000& - Height = 3375 - Left = 120 - TabIndex = 0 - Top = 120 - Width = 7455 - Begin VB.Frame frmRange - Appearance = 0 'Flat - BackColor = &H00C0C0C0& - Caption = "Range" - ForeColor = &H00FF0000& - Height = 615 - Left = 5880 - TabIndex = 8 - Top = 2640 - Width = 1380 - Begin VB.ComboBox cobRange - Appearance = 0 'Flat - Height = 315 - Left = 100 - Style = 2 'Dropdown List - TabIndex = 16 - Top = 240 - Width = 1200 - End - End - Begin VB.Frame frmChannel - Appearance = 0 'Flat - BackColor = &H00C0C0C0& - Caption = "AD Channel" - ForeColor = &H00FF0000& - Height = 1755 - Left = 5880 - TabIndex = 7 - Top = 240 - Width = 1380 - Begin VB.OptionButton optChn - Caption = "7" - Height = 315 - Index = 7 - Left = 720 - TabIndex = 28 - Top = 1260 - Width = 435 - End - Begin VB.OptionButton optChn - Caption = "6" - Height = 315 - Index = 6 - Left = 720 - TabIndex = 27 - Top = 960 - Width = 435 - End - Begin VB.OptionButton optChn - Caption = "5" - Height = 315 - Index = 5 - Left = 720 - TabIndex = 26 - Top = 660 - Width = 435 - End - Begin VB.OptionButton optChn - Caption = "4" - Height = 315 - Index = 4 - Left = 720 - TabIndex = 25 - Top = 360 - Width = 435 - End - Begin VB.OptionButton optChn - Caption = "3" - Height = 315 - Index = 3 - Left = 120 - TabIndex = 24 - Top = 1260 - Width = 435 - End - Begin VB.OptionButton optChn - Caption = "2" - Height = 315 - Index = 2 - Left = 120 - TabIndex = 23 - Top = 960 - Width = 435 - End - Begin VB.OptionButton optChn - Caption = "1" - Height = 315 - Index = 1 - Left = 120 - TabIndex = 22 - Top = 660 - Width = 435 - End - Begin VB.OptionButton optChn - Caption = "0" - Height = 315 - Index = 0 - Left = 120 - TabIndex = 21 - Top = 360 - Value = -1 'True - Width = 435 - End - End - Begin VB.PictureBox picScreen - Appearance = 0 'Flat - AutoRedraw = -1 'True - BackColor = &H00000000& - ForeColor = &H80000008& - Height = 2700 - Left = 720 - ScaleHeight = 178 - ScaleMode = 3 'Pixel - ScaleWidth = 331 - TabIndex = 6 - Top = 480 - Width = 5000 - End - Begin VB.Label labValue - Appearance = 0 'Flat - BackColor = &H00C0C0C0& - Caption = "-5.00" - ForeColor = &H0000FFFF& - Height = 255 - Index = 4 - Left = 100 - TabIndex = 15 - Top = 3050 - Width = 600 - End - Begin VB.Label labValue - Appearance = 0 'Flat - BackColor = &H00C0C0C0& - Caption = "-2.50" - ForeColor = &H0000FFFF& - Height = 255 - Index = 3 - Left = 100 - TabIndex = 14 - Top = 2400 - Width = 600 - End - Begin VB.Label labValue - Appearance = 0 'Flat - BackColor = &H00C0C0C0& - Caption = "0.00" - ForeColor = &H0000FFFF& - Height = 255 - Index = 2 - Left = 100 - TabIndex = 13 - Top = 1740 - Width = 600 - End - Begin VB.Label labValue - Appearance = 0 'Flat - BackColor = &H00C0C0C0& - Caption = "2.50" - ForeColor = &H0000FFFF& - Height = 255 - Index = 1 - Left = 100 - TabIndex = 12 - Top = 1070 - Width = 600 - End - Begin VB.Label labValue - Appearance = 0 'Flat - BackColor = &H00C0C0C0& - Caption = "5.00" - ForeColor = &H0000FFFF& - Height = 255 - Index = 0 - Left = 100 - TabIndex = 11 - Top = 420 - Width = 600 - End - Begin VB.Label labVots - Appearance = 0 'Flat - BackColor = &H00C0C0C0& - Caption = "Vots" - ForeColor = &H0000FFFF& - Height = 255 - Left = 120 - TabIndex = 10 - Top = 200 - Width = 495 - End - Begin VB.Label labSignal - Appearance = 0 'Flat - BackColor = &H00C0C0C0& - Caption = "Signals" - ForeColor = &H0000FFFF& - Height = 300 - Left = 2800 - TabIndex = 9 - Top = 200 - Width = 780 - End - End -End -Attribute VB_Name = "int9111" -Attribute VB_Creatable = False -Attribute VB_Exposed = False -Dim gnADChn As Integer -Dim gnCount As Integer -Dim nSample As Long -Dim range_value(5) As Integer -Dim gnC1 As Integer -Dim gnC2 As Integer -Dim gnBuffer(8192) As Integer - -Private Sub btnExit_Click() - If card >= 0 Then Release_Card (card) - End - -End Sub - - - -Private Sub btnStart_Click() - Dim result As Integer - picScreen.Cls - result = AI_9111_Config(card, TRIG_INT_PACER, P9111_TRGMOD_POST, 1024) - result = AI_ContReadChannel(card, gnADChn, range_value(cobRange.ListIndex), gnBuffer(0), gnCount, CSng(nSample * 1000), SYNCH_OP) - ShowData (gnCount) -End Sub - -Private Sub btnStop_Click() - picScreen.Cls - -End Sub - -Private Sub cobData_Click() - gnCount = Val(Trim$(cobData)) -End Sub - - -Private Sub cobRange_Click() -Select Case cobRange.ListIndex - Case 0 - labValue(0).Caption = "10.0" - labValue(1).Caption = "5.0" - labValue(2).Caption = "0.0" - labValue(3).Caption = "-5.0" - labValue(4).Caption = "-10.0" - Case 1 - labValue(0).Caption = "5.0" - labValue(1).Caption = "2.5" - labValue(2).Caption = "0.0" - labValue(3).Caption = "-2.5" - labValue(4).Caption = "-5.0" - Case 2 - labValue(0).Caption = "2.50" - labValue(1).Caption = "2.25" - labValue(2).Caption = "0.00" - labValue(3).Caption = "-2.25" - labValue(4).Caption = "-2.50" - Case 3 - labValue(0).Caption = "1.250" - labValue(1).Caption = "0.625" - labValue(2).Caption = "0.00" - labValue(3).Caption = "-0.625" - labValue(4).Caption = "-1.250" - Case 4 - labValue(0).Caption = "0.6250" - labValue(1).Caption = "0.3125" - labValue(2).Caption = "0.0000" - labValue(3).Caption = "-0.3125" - labValue(4).Caption = "-0.6250" - End Select -End Sub - -Private Sub cobSample_Click() - nSample = Val(Trim$(cobSample)) -End Sub - -Private Sub Form_Load() - Dim result As Integer - - SettingForm.Show 1 - If card < 0 Then - MsgBox "Register Card Failed" - End - End If - gnC1 = 10 - - cobRange.AddItem "+/- 10V" - cobRange.AddItem "+/- 5V" - cobRange.AddItem "+/- 2.5V" - cobRange.AddItem "+/- 1.25V" - cobRange.AddItem "+/- 0.625V" - - cobRange.ListIndex = 0 - - range_value(0) = 1 - range_value(1) = 2 - range_value(2) = 3 - range_value(3) = 4 - range_value(4) = 5 - - cobData.AddItem "1024" - cobData.AddItem "2048" - cobData.AddItem "4096" - cobData.AddItem "6144" - cobData.AddItem "8192" - - cobData.ListIndex = 0 - - cobSample.AddItem "10" - cobSample.AddItem "20" - cobSample.AddItem "30" - cobSample.AddItem "40" - cobSample.AddItem "50" - - cobSample.ListIndex = 0 - - gnADChn = 0 - -End Sub - -Private Sub Form_Unload(Cancel As Integer) - If card >= 0 Then Release_Card (card) -End Sub - - -Private Sub optChn_Click(Index As Integer) - gnADChn = Index -End Sub - -Private Sub ShowData(Count As Integer) - Dim i, last, total As Integer - Dim x1, y1, x2, y2 As Integer - Dim w, h, data As Integer - - last = Count - w = picScreen.ScaleWidth - h = picScreen.ScaleHeight - - data = Fix(gnBuffer(0) / 16) - x1 = (last * w) / Count - y1 = CInt((2047 - CLng(data)) * h / 4095) - last = last - 1 - - While (last > 0) - data = Fix(gnBuffer(Count - last) / 16) - x2 = (last * w) / Count - y2 = CInt((2047 - CLng(data)) * h / 4095) - last = last - 1 - picScreen.Line (x1, y1)-(x2, y2), &HFFFF& - x1 = x2 - y1 = y2 - Wend -End Sub - -Private Sub Timer1_Timer() - Dim result As Integer - Dim nstatus As Integer - Dim nblock As Integer - - ShowData (gnCount) - -End Sub - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9111/VB9111PreTrg/9111PrTg.Frm b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9111/VB9111PreTrg/9111PrTg.Frm deleted file mode 100644 index 9076a02..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9111/VB9111PreTrg/9111PrTg.Frm +++ /dev/null @@ -1,525 +0,0 @@ -VERSION 4.00 -Begin VB.Form PrTg9111 - Appearance = 0 'Flat - BackColor = &H00C0C0C0& - Caption = "9111 Pre-Trigger Interrupt" - ClientHeight = 5460 - ClientLeft = 1515 - ClientTop = 1755 - ClientWidth = 7665 - BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851} - Name = "MS Sans Serif" - Size = 8.25 - Charset = 0 - Weight = 700 - Underline = 0 'False - Italic = 0 'False - Strikethrough = 0 'False - EndProperty - ForeColor = &H0000FFFF& - Height = 5865 - Left = 1455 - LinkTopic = "Form1" - ScaleHeight = 5460 - ScaleWidth = 7665 - Top = 1410 - Width = 7785 - Begin VB.Frame Frame1 - BackColor = &H00C0C0C0& - Caption = "Post Count" - ForeColor = &H00FF0000& - Height = 615 - Left = 2160 - TabIndex = 20 - Top = 3840 - Width = 2175 - Begin VB.TextBox postCount - Height = 285 - Left = 120 - TabIndex = 22 - Text = "1024" - Top = 240 - Width = 1095 - End - Begin VB.Label labData - Appearance = 0 'Flat - BackColor = &H00C0C0C0& - Caption = "Samples" - ForeColor = &H0000FFFF& - Height = 255 - Index = 1 - Left = 1320 - TabIndex = 21 - Top = 240 - Width = 735 - End - End - Begin VB.CommandButton btnExit - Appearance = 0 'Flat - BackColor = &H80000005& - Caption = "Exit" - Height = 500 - Left = 6240 - TabIndex = 4 - Top = 4680 - Width = 1000 - End - Begin VB.CommandButton btnStart - Appearance = 0 'Flat - BackColor = &H80000005& - Caption = "Start" - Height = 500 - Left = 4800 - TabIndex = 3 - Top = 4680 - Width = 1000 - End - Begin VB.Frame frmData - Appearance = 0 'Flat - BackColor = &H00C0C0C0& - Caption = "Buffer Size" - ForeColor = &H00FF0000& - Height = 615 - Left = 4680 - TabIndex = 2 - Top = 3840 - Width = 1935 - Begin VB.ComboBox cobData - Appearance = 0 'Flat - Height = 315 - Left = 120 - Style = 2 'Dropdown List - TabIndex = 15 - Top = 240 - Width = 975 - End - Begin VB.Label labData - Appearance = 0 'Flat - BackColor = &H00C0C0C0& - Caption = "Samples" - ForeColor = &H0000FFFF& - Height = 255 - Index = 0 - Left = 1155 - TabIndex = 16 - Top = 255 - Width = 720 - End - End - Begin VB.Frame frmSample - Appearance = 0 'Flat - BackColor = &H00C0C0C0& - Caption = "Sampling Rate" - ForeColor = &H00FF0000& - Height = 615 - Left = 120 - TabIndex = 1 - Top = 3840 - Width = 1700 - Begin VB.ComboBox cobSample - Appearance = 0 'Flat - Height = 315 - Left = 120 - Style = 2 'Dropdown List - TabIndex = 14 - Top = 240 - Width = 975 - End - Begin VB.Label Label1 - Appearance = 0 'Flat - BackColor = &H00C0C0C0& - Caption = "KHz" - ForeColor = &H0000FFFF& - Height = 255 - Left = 1150 - TabIndex = 17 - Top = 260 - Width = 450 - End - End - Begin VB.Frame dmaFrame - Appearance = 0 'Flat - BackColor = &H00C0C0C0& - Caption = "Interrupt Input(A/D)" - ForeColor = &H00FF0000& - Height = 3375 - Left = 120 - TabIndex = 0 - Top = 120 - Width = 7455 - Begin VB.Frame Card_Frame - Caption = "Card Number" - ForeColor = &H00FF0000& - Height = 615 - Left = 5880 - TabIndex = 18 - Top = 2520 - Width = 1455 - Begin VB.ComboBox Card_num - Height = 315 - Left = 120 - TabIndex = 19 - Text = "Number" - Top = 240 - Width = 1215 - End - End - Begin VB.Frame frmChannel - Appearance = 0 'Flat - BackColor = &H00C0C0C0& - Caption = "AD Channel" - ForeColor = &H00FF0000& - Height = 1755 - Left = 5880 - TabIndex = 6 - Top = 480 - Width = 1380 - Begin VB.OptionButton optChn - Caption = "7" - Height = 315 - Index = 7 - Left = 660 - TabIndex = 30 - Top = 1200 - Width = 495 - End - Begin VB.OptionButton optChn - Caption = "6" - Height = 315 - Index = 6 - Left = 660 - TabIndex = 29 - Top = 900 - Width = 495 - End - Begin VB.OptionButton optChn - Caption = "5" - Height = 315 - Index = 5 - Left = 660 - TabIndex = 28 - Top = 600 - Width = 495 - End - Begin VB.OptionButton optChn - Caption = "4" - Height = 315 - Index = 4 - Left = 660 - TabIndex = 27 - Top = 300 - Width = 495 - End - Begin VB.OptionButton optChn - Caption = "3" - Height = 315 - Index = 3 - Left = 120 - TabIndex = 26 - Top = 1200 - Width = 495 - End - Begin VB.OptionButton optChn - Caption = "2" - Height = 315 - Index = 2 - Left = 120 - TabIndex = 25 - Top = 900 - Width = 495 - End - Begin VB.OptionButton optChn - Caption = "1" - Height = 315 - Index = 1 - Left = 120 - TabIndex = 24 - Top = 600 - Width = 495 - End - Begin VB.OptionButton optChn - Caption = "0" - Height = 315 - Index = 0 - Left = 120 - TabIndex = 23 - Top = 300 - Value = -1 'True - Width = 495 - End - End - Begin VB.PictureBox picScreen - Appearance = 0 'Flat - AutoRedraw = -1 'True - BackColor = &H00000000& - ForeColor = &H80000008& - Height = 2700 - Left = 720 - ScaleHeight = 178 - ScaleMode = 3 'Pixel - ScaleWidth = 331 - TabIndex = 5 - Top = 480 - Width = 5000 - End - Begin VB.Label labValue - Alignment = 1 'Right Justify - Appearance = 0 'Flat - BackColor = &H00C0C0C0& - Caption = "-5.00" - ForeColor = &H0000FFFF& - Height = 255 - Index = 4 - Left = 120 - TabIndex = 13 - Top = 3045 - Width = 600 - End - Begin VB.Label labValue - Alignment = 1 'Right Justify - Appearance = 0 'Flat - BackColor = &H00C0C0C0& - Caption = "-2.50" - ForeColor = &H0000FFFF& - Height = 255 - Index = 3 - Left = 120 - TabIndex = 12 - Top = 2400 - Width = 600 - End - Begin VB.Label labValue - Alignment = 1 'Right Justify - Appearance = 0 'Flat - BackColor = &H00C0C0C0& - Caption = "0.00" - ForeColor = &H0000FFFF& - Height = 255 - Index = 2 - Left = 120 - TabIndex = 11 - Top = 1740 - Width = 615 - End - Begin VB.Label labValue - Alignment = 1 'Right Justify - Appearance = 0 'Flat - BackColor = &H00C0C0C0& - Caption = "2.50" - ForeColor = &H0000FFFF& - Height = 255 - Index = 1 - Left = 120 - TabIndex = 10 - Top = 1065 - Width = 615 - End - Begin VB.Label labValue - Alignment = 1 'Right Justify - Appearance = 0 'Flat - BackColor = &H00C0C0C0& - Caption = "5.00" - ForeColor = &H0000FFFF& - Height = 255 - Index = 0 - Left = 120 - TabIndex = 9 - Top = 420 - Width = 615 - End - Begin VB.Label labVots - Appearance = 0 'Flat - BackColor = &H00C0C0C0& - Caption = "Vots" - ForeColor = &H0000FFFF& - Height = 255 - Left = 120 - TabIndex = 8 - Top = 200 - Width = 495 - End - Begin VB.Label labSignal - Appearance = 0 'Flat - BackColor = &H00C0C0C0& - Caption = "Signals" - ForeColor = &H0000FFFF& - Height = 300 - Left = 2800 - TabIndex = 7 - Top = 200 - Width = 780 - End - End -End -Attribute VB_Name = "PrTg9111" -Attribute VB_Creatable = False -Attribute VB_Exposed = False -Dim gnADChn As Long -Dim gnCount As Long -Dim gnC2 As Long -Dim gnBuffer(4096) As Integer -Dim card As Integer -Dim nRate As Long -Dim range As Integer -Dim card_number As Integer -Dim post_cnt As Long -Private Sub btnExit_Click() - If card >= 0 Then Release_Card (card) - End -End Sub - -Private Sub btnStart_Click() - Dim result As Integer - Dim access_cnt As Long - Dim clear_op As Byte - Dim fstop As Byte - - If card < 0 Then - card_num.Enabled = False - card = Register_Card(PCI_9111DG, card_number) - If card < 0 Then - MsgBox "Register Card Failed" - End - End If - End If - result = AI_9111_Config(card, TRIG_INT_PACER, 1, post_cnt) - result = AI_AsyncDblBufferMode(card, 0) - result = AI_ContReadChannel(card, gnADChn, range, gnBuffer(0), gnCount, CSng(nRate * 1000), ASYNCH_OP) - clear_op = 0 - fstop = 0 - While fstop = 0 And clear_op = 0 - result = AI_AsyncCheck(card, fstop, access_cnt) - Wend - result = AI_AsyncClear(card, access_cnt) - btnStart.Enabled = True - access_cnt = access_cnt And &HFFFFFFF - If access_cnt = 0 Then - access_cnt = gnCount - End If - ShowData (access_cnt) -End Sub - - -Private Sub card_DragDrop(Source As Control, X As Single, Y As Single) - -End Sub - -Private Sub card_num_Click() - card_number = Val(Trim$(card_num)) -End Sub - - -Private Sub cobData_Click() - gnCount = Val(Trim$(cobData)) -End Sub - -Private Sub cobSample_Click() - nRate = Val(Trim$(cobSample)) -End Sub - -Private Sub Command1_Click() - -End Sub - -Private Sub Form_Load() - Dim bus As Integer, slot As Integer - - card_num.AddItem "0" - card_num.AddItem "1" - card_num.AddItem "2" - card_num.AddItem "3" - card_num.AddItem "4" - card_num.AddItem "5" - card_num.AddItem "6" - card_num.AddItem "7" - card_num.AddItem "8" - card_num.AddItem "9" - card_num.AddItem "10" - card_num.AddItem "11" - card_num.AddItem "12" - card_num.AddItem "13" - card_num.AddItem "14" - card_num.AddItem "15" - - card_num.ListIndex = 0 - - cobData.AddItem "512" - cobData.AddItem "1024" - cobData.AddItem "2048" - cobData.AddItem "3072" - cobData.AddItem "4096" - - cobData.ListIndex = 0 - - cobSample.AddItem "10" - cobSample.AddItem "20" - cobSample.AddItem "30" - cobSample.AddItem "40" - cobSample.AddItem "50" - cobSample.AddItem "70" - cobSample.AddItem "90" - cobSample.AddItem "100" - - cobSample.ListIndex = 0 - - gnADChn = 0 - card = -1 - post_cnt = 1024 - 'Range values - range = AD_B_5_V - -End Sub - -Private Sub Form_Unload(Cancel As Integer) - If card >= 0 Then Release_Card (card) -End Sub - - -Private Sub optChn_Click(Index As Integer) - gnADChn = Index -End Sub - -Private Sub ShowData(count As Long) - Dim i As Integer, last As Long - Dim x1 As Long, y1 As Long, x2 As Long, y2 As Long - Dim w As Long, h As Long, data As Long - - picScreen.Cls - last = count - w = picScreen.ScaleWidth - h = picScreen.ScaleHeight - 'gnBuffer contains 16-bit data, the 4 LSB is channel# - 'VB's integer is signed integer, its range is -32768 to 32767 - 'We change the range to 0 to 65535 - 'If gnBuffer(0) >= 0 Then - data = gnBuffer(0) - 'Else - 'data = gnBuffer(0) + 65536 - 'End If - x1 = (last * w) / count - y1 = ((2047 - ((data And &HFFF0) / 16)) * h) / 4095 - last = last - 1 - - While (last > 0) - 'If gnBuffer(count - last) >= 0 Then - data = gnBuffer(count - last) - 'Else - 'data = gnBuffer(count - last) + 65536 - 'End If - x2 = (last * w) / count - y2 = ((2047 - ((data And &HFFF0) / 16)) * h) / 4095 - last = last - 1 - picScreen.Line (x1, y1)-(x2, y2), &HFFFF& - x1 = x2 - y1 = y2 - Wend -End Sub - - - - -Private Sub postCount_Change() - post_cnt = Val(Trim$(postCount)) -End Sub - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9111/VB9111PreTrg/9111PrTg.vbp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9111/VB9111PreTrg/9111PrTg.vbp deleted file mode 100644 index f9dd61a..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9111/VB9111PreTrg/9111PrTg.vbp +++ /dev/null @@ -1,21 +0,0 @@ -Form=9111PrTg.Frm -Module=DASK; ..\..\..\Include\Dask.bas -Module=Module1; w_event.bas -Reference=*\G{00025E04-0000-0000-C000-000000000046}#2.5#0#C:\PROGRAM FILES\COMMON FILES\MICROSOFT SHARED\DC:\PROGRAM FIL#Microsoft DAO 2.5/3.0 Compatibility Library -ProjWinSize=102,550,191,215 -ProjWinShow=2 -IconForm="PrTg9111" -HelpFile="" -Title="9111INT" -ExeName32="9111PrTg.exe" -ExeName="9111INT.EXE" -Name="vb49111int" -HelpContextID="0" -StartMode=0 -VersionCompatible32="0" -MajorVer=1 -MinorVer=0 -RevisionVer=0 -AutoIncrementVer=0 -ServerSupportFiles=0 -VersionCompanyName="ADLink" diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9111/VB9111PreTrg/9111glbl.Bas b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9111/VB9111PreTrg/9111glbl.Bas deleted file mode 100644 index 21c07d9..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9111/VB9111PreTrg/9111glbl.Bas +++ /dev/null @@ -1,51 +0,0 @@ -Attribute VB_Name = "Module1" -Option Explicit - -Declare Function BitBlt Lib "GDI32" (ByVal hDestDC As Long, ByVal X As Long, ByVal Y As Long, ByVal nWidth As Long, ByVal nHeight As Long, ByVal hSrcDC As Long, ByVal XSrc As Long, ByVal YSrc As Long, ByVal dwRop As Long) As Long - -Global Const SRCCOPY = &HCC0020 ' (DWORD) dest = source -Global card As Integer -Global card_number As Integer -Global card_type As Integer - -Sub Scale_Change(ByVal g As Long) - Select Case g - Case 0 - util9111.Label1(2).Caption = "10.0" - util9111.Label1(3).Caption = "5.0" - util9111.Label1(4).Caption = "0.0" - util9111.Label1(5).Caption = "-5.0" - util9111.Label1(6).Caption = "-10.0" - Case 1 - util9111.Label1(2).Caption = "5.0" - util9111.Label1(3).Caption = "2.5" - util9111.Label1(4).Caption = "0.0" - util9111.Label1(5).Caption = "-2.5" - util9111.Label1(6).Caption = "-5.0" - Case 2 - util9111.Label1(2).Caption = "2.50" - util9111.Label1(3).Caption = "2.25" - util9111.Label1(4).Caption = "0.00" - util9111.Label1(5).Caption = "-2.25" - util9111.Label1(6).Caption = "-2.50" - Case 3 - util9111.Label1(2).Caption = "1.250" - util9111.Label1(3).Caption = "0.625" - util9111.Label1(4).Caption = "0.00" - util9111.Label1(5).Caption = "-0.625" - util9111.Label1(6).Caption = "-1.250" - Case 3 - util9111.Label1(2).Caption = "0.6250" - util9111.Label1(3).Caption = "0.3125" - util9111.Label1(4).Caption = "0.0000" - util9111.Label1(5).Caption = "-0.3125" - util9111.Label1(6).Caption = "-0.6250" - End Select - - util9111.Label1(19).Caption = util9111.Label1(2).Caption - util9111.Label1(20).Caption = util9111.Label1(3).Caption - util9111.Label1(21).Caption = util9111.Label1(4).Caption - util9111.Label1(22).Caption = util9111.Label1(5).Caption - util9111.Label1(23).Caption = util9111.Label1(6).Caption -End Sub - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9111/VB9111PreTrg/Base9111.frm b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9111/VB9111PreTrg/Base9111.frm deleted file mode 100644 index c38644e..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9111/VB9111PreTrg/Base9111.frm +++ /dev/null @@ -1,124 +0,0 @@ -VERSION 4.00 -Begin VB.Form SettingForm - Appearance = 0 'Flat - BackColor = &H00C0C0C0& - Caption = "Card Setting" - ClientHeight = 1770 - ClientLeft = 4590 - ClientTop = 3420 - ClientWidth = 2835 - BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851} - Name = "MS Sans Serif" - Size = 8.25 - Charset = 0 - Weight = 700 - Underline = 0 'False - Italic = 0 'False - Strikethrough = 0 'False - EndProperty - ForeColor = &H80000008& - Height = 2175 - Left = 4530 - LinkTopic = "Form2" - ScaleHeight = 1770 - ScaleWidth = 2835 - Top = 3075 - Width = 2955 - Begin VB.ComboBox CardType - Height = 315 - Left = 1440 - TabIndex = 5 - Text = "CardType" - Top = 720 - Width = 1215 - End - Begin VB.CommandButton OKBtn - Appearance = 0 'Flat - BackColor = &H80000005& - Caption = "OK" - Default = -1 'True - Height = 315 - Left = 240 - TabIndex = 0 - Top = 1320 - Width = 915 - End - Begin VB.CommandButton CancelBtn - Appearance = 0 'Flat - BackColor = &H80000005& - Cancel = -1 'True - Caption = "Cancel" - Height = 315 - Left = 1560 - TabIndex = 3 - Top = 1320 - Width = 915 - End - Begin VB.ComboBox CardNum - Appearance = 0 'Flat - Height = 315 - Left = 1440 - Style = 2 'Dropdown List - TabIndex = 2 - Top = 120 - Width = 1215 - End - Begin VB.Label Label1 - Caption = "Card Type" - Height = 255 - Left = 120 - TabIndex = 4 - Top = 720 - Width = 1095 - End - Begin VB.Label Label2 - Appearance = 0 'Flat - BackColor = &H00C0C0C0& - Caption = "Card Number:" - ForeColor = &H00000000& - Height = 195 - Index = 0 - Left = 120 - TabIndex = 1 - Top = 180 - Width = 1275 - End -End -Attribute VB_Name = "SettingForm" -Attribute VB_Creatable = False -Attribute VB_Exposed = False - - -Private Sub BaseAddr_Change() - -End Sub - - -Private Sub CancelBtn_Click() - Unload SettingForm -End Sub - -Private Sub Form_Load() - Dim i As Long - For i = 0 To 15 Step 1 - CardNum.AddItem i - Next - CardNum.ListIndex = 0 - CardType.AddItem "9111DG" - CardType.AddItem "9111HR" - CardType.ListIndex = 0 -End Sub - -Private Sub OKBtn_Click() - card = -1 - card_number = CardNum.ListIndex - Select Case CardType.ListIndex - Case 0 - card_type = PCI_9111DG - Case 1 - card_type = PCI_9111HR - End Select - card = Register_Card(card_type, card_number) - Unload SettingForm -End Sub - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9111/VB9111PreTrg/W_EVENT.BAS b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9111/VB9111PreTrg/W_EVENT.BAS deleted file mode 100644 index f1d6748..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9111/VB9111PreTrg/W_EVENT.BAS +++ /dev/null @@ -1,3 +0,0 @@ -Option Explicit - -Declare Function WaitForSingleObject Lib "kernel32" Alias "WaitForSingleObject" (ByVal hHandle As Long, ByVal dwMilliseconds As Long) As Long \ No newline at end of file diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9111/VB9111Scan/9111glbl.Bas b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9111/VB9111Scan/9111glbl.Bas deleted file mode 100644 index 43d6596..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9111/VB9111Scan/9111glbl.Bas +++ /dev/null @@ -1,10 +0,0 @@ -Attribute VB_Name = "Module1" -Option Explicit - -Declare Function BitBlt Lib "GDI32" (ByVal hDestDC As Long, ByVal X As Long, ByVal Y As Long, ByVal nWidth As Long, ByVal nHeight As Long, ByVal hSrcDC As Long, ByVal XSrc As Long, ByVal YSrc As Long, ByVal dwRop As Long) As Long - -Global Const SRCCOPY = &HCC0020 ' (DWORD) dest = source -Global card As Integer -Global card_number As Integer -Global card_type As Integer - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9111/VB9111Scan/Base9111.frm b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9111/VB9111Scan/Base9111.frm deleted file mode 100644 index c38644e..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9111/VB9111Scan/Base9111.frm +++ /dev/null @@ -1,124 +0,0 @@ -VERSION 4.00 -Begin VB.Form SettingForm - Appearance = 0 'Flat - BackColor = &H00C0C0C0& - Caption = "Card Setting" - ClientHeight = 1770 - ClientLeft = 4590 - ClientTop = 3420 - ClientWidth = 2835 - BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851} - Name = "MS Sans Serif" - Size = 8.25 - Charset = 0 - Weight = 700 - Underline = 0 'False - Italic = 0 'False - Strikethrough = 0 'False - EndProperty - ForeColor = &H80000008& - Height = 2175 - Left = 4530 - LinkTopic = "Form2" - ScaleHeight = 1770 - ScaleWidth = 2835 - Top = 3075 - Width = 2955 - Begin VB.ComboBox CardType - Height = 315 - Left = 1440 - TabIndex = 5 - Text = "CardType" - Top = 720 - Width = 1215 - End - Begin VB.CommandButton OKBtn - Appearance = 0 'Flat - BackColor = &H80000005& - Caption = "OK" - Default = -1 'True - Height = 315 - Left = 240 - TabIndex = 0 - Top = 1320 - Width = 915 - End - Begin VB.CommandButton CancelBtn - Appearance = 0 'Flat - BackColor = &H80000005& - Cancel = -1 'True - Caption = "Cancel" - Height = 315 - Left = 1560 - TabIndex = 3 - Top = 1320 - Width = 915 - End - Begin VB.ComboBox CardNum - Appearance = 0 'Flat - Height = 315 - Left = 1440 - Style = 2 'Dropdown List - TabIndex = 2 - Top = 120 - Width = 1215 - End - Begin VB.Label Label1 - Caption = "Card Type" - Height = 255 - Left = 120 - TabIndex = 4 - Top = 720 - Width = 1095 - End - Begin VB.Label Label2 - Appearance = 0 'Flat - BackColor = &H00C0C0C0& - Caption = "Card Number:" - ForeColor = &H00000000& - Height = 195 - Index = 0 - Left = 120 - TabIndex = 1 - Top = 180 - Width = 1275 - End -End -Attribute VB_Name = "SettingForm" -Attribute VB_Creatable = False -Attribute VB_Exposed = False - - -Private Sub BaseAddr_Change() - -End Sub - - -Private Sub CancelBtn_Click() - Unload SettingForm -End Sub - -Private Sub Form_Load() - Dim i As Long - For i = 0 To 15 Step 1 - CardNum.AddItem i - Next - CardNum.ListIndex = 0 - CardType.AddItem "9111DG" - CardType.AddItem "9111HR" - CardType.ListIndex = 0 -End Sub - -Private Sub OKBtn_Click() - card = -1 - card_number = CardNum.ListIndex - Select Case CardType.ListIndex - Case 0 - card_type = PCI_9111DG - Case 1 - card_type = PCI_9111HR - End Select - card = Register_Card(card_type, card_number) - Unload SettingForm -End Sub - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9111/VB9111Scan/VB9111S.FRM b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9111/VB9111Scan/VB9111S.FRM deleted file mode 100644 index 5ce1ee6..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9111/VB9111Scan/VB9111S.FRM +++ /dev/null @@ -1,642 +0,0 @@ -VERSION 4.00 -Begin VB.Form int9111 - Appearance = 0 'Flat - BackColor = &H00C0C0C0& - Caption = "PCI-9111 AutoScan Interrupt Transfer" - ClientHeight = 5025 - ClientLeft = 1650 - ClientTop = 2490 - ClientWidth = 7665 - BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851} - Name = "MS Sans Serif" - Size = 8.25 - Charset = 0 - Weight = 700 - Underline = 0 'False - Italic = 0 'False - Strikethrough = 0 'False - EndProperty - ForeColor = &H0000FFFF& - Height = 5430 - Left = 1590 - LinkTopic = "Form1" - ScaleHeight = 5025 - ScaleWidth = 7665 - Top = 2145 - Width = 7785 - Begin VB.CommandButton btnExit - Appearance = 0 'Flat - BackColor = &H80000005& - Caption = "Exit" - Height = 375 - Left = 6360 - TabIndex = 5 - Top = 4320 - Width = 1005 - End - Begin VB.CommandButton btnStop - Appearance = 0 'Flat - BackColor = &H80000005& - Caption = "Stop" - Height = 375 - Left = 5280 - TabIndex = 4 - Top = 4320 - Width = 1005 - End - Begin VB.CommandButton btnStart - Appearance = 0 'Flat - BackColor = &H80000005& - Caption = "Start" - Height = 375 - Left = 4080 - TabIndex = 3 - Top = 4320 - Width = 1005 - End - Begin VB.Frame frmData - Appearance = 0 'Flat - BackColor = &H00C0C0C0& - Caption = "Data Size" - ForeColor = &H00FF0000& - Height = 615 - Left = 1920 - TabIndex = 2 - Top = 4200 - Width = 1935 - Begin VB.ComboBox cobData - Appearance = 0 'Flat - Height = 315 - Left = 120 - Style = 2 'Dropdown List - TabIndex = 18 - Top = 240 - Width = 975 - End - Begin VB.Label labData - Appearance = 0 'Flat - BackColor = &H00C0C0C0& - Caption = "samples" - ForeColor = &H0000FFFF& - Height = 255 - Left = 1155 - TabIndex = 19 - Top = 240 - Width = 720 - End - End - Begin VB.Frame frmSample - Appearance = 0 'Flat - BackColor = &H00C0C0C0& - Caption = "Sampling Rate" - ForeColor = &H00FF0000& - Height = 615 - Left = 120 - TabIndex = 1 - Top = 4200 - Width = 1700 - Begin VB.ComboBox cobSample - Appearance = 0 'Flat - Height = 315 - Left = 120 - Style = 2 'Dropdown List - TabIndex = 17 - Top = 240 - Width = 975 - End - Begin VB.Label Label1 - Appearance = 0 'Flat - BackColor = &H00C0C0C0& - Caption = "KHz" - ForeColor = &H0000FFFF& - Height = 255 - Left = 1150 - TabIndex = 20 - Top = 260 - Width = 450 - End - End - Begin VB.Frame intFrame - Appearance = 0 'Flat - BackColor = &H00C0C0C0& - Caption = "Interrupt Input(A/D)" - ForeColor = &H00FF0000& - Height = 3435 - Left = 120 - TabIndex = 0 - Top = 420 - Width = 7455 - Begin VB.Frame Frame1 - Appearance = 0 'Flat - BackColor = &H00C0C0C0& - Caption = "Channel" - ForeColor = &H00FF0000& - Height = 615 - Left = 5880 - TabIndex = 29 - Top = 2100 - Width = 1380 - Begin VB.ComboBox cobChn - Appearance = 0 'Flat - Height = 315 - Left = 100 - Style = 2 'Dropdown List - TabIndex = 30 - Top = 240 - Width = 1200 - End - End - Begin VB.Frame frmRange - Appearance = 0 'Flat - BackColor = &H00C0C0C0& - Caption = "Range" - ForeColor = &H00FF0000& - Height = 615 - Left = 5880 - TabIndex = 8 - Top = 2700 - Width = 1380 - Begin VB.ComboBox cobRange - Appearance = 0 'Flat - Height = 315 - Left = 100 - Style = 2 'Dropdown List - TabIndex = 16 - Top = 240 - Width = 1200 - End - End - Begin VB.Frame frmChannel - Appearance = 0 'Flat - BackColor = &H00C0C0C0& - ForeColor = &H00FF0000& - Height = 1755 - Left = 5880 - TabIndex = 7 - Top = 300 - Width = 1380 - Begin VB.Label Label2 - Caption = "7" - Height = 195 - Index = 7 - Left = 780 - TabIndex = 28 - Top = 1320 - Width = 135 - End - Begin VB.Label Label2 - Caption = "6" - Height = 195 - Index = 6 - Left = 780 - TabIndex = 27 - Top = 960 - Width = 135 - End - Begin VB.Label Label2 - Caption = "5" - Height = 195 - Index = 5 - Left = 780 - TabIndex = 26 - Top = 600 - Width = 135 - End - Begin VB.Label Label2 - Caption = "4" - Height = 195 - Index = 4 - Left = 780 - TabIndex = 25 - Top = 240 - Width = 135 - End - Begin VB.Label Label2 - Caption = "3" - Height = 195 - Index = 3 - Left = 120 - TabIndex = 24 - Top = 1320 - Width = 135 - End - Begin VB.Label Label2 - Caption = "2" - Height = 195 - Index = 2 - Left = 120 - TabIndex = 23 - Top = 960 - Width = 135 - End - Begin VB.Label Label2 - Caption = "1" - Height = 195 - Index = 1 - Left = 120 - TabIndex = 22 - Top = 600 - Width = 135 - End - Begin VB.Label Label2 - Caption = "0" - Height = 195 - Index = 0 - Left = 120 - TabIndex = 21 - Top = 240 - Width = 135 - End - Begin VB.Shape Shape1 - BackColor = &H0000FFFF& - FillColor = &H0000FF00& - FillStyle = 0 'Solid - Height = 255 - Index = 7 - Left = 960 - Top = 1320 - Width = 195 - End - Begin VB.Shape Shape1 - BackColor = &H0000FFFF& - FillColor = &H00FFFF00& - FillStyle = 0 'Solid - Height = 255 - Index = 6 - Left = 960 - Top = 960 - Width = 195 - End - Begin VB.Shape Shape1 - BackColor = &H0000FFFF& - FillColor = &H00FF00FF& - FillStyle = 0 'Solid - Height = 255 - Index = 5 - Left = 960 - Top = 600 - Width = 195 - End - Begin VB.Shape Shape1 - BackColor = &H0000FFFF& - FillColor = &H000080FF& - FillStyle = 0 'Solid - Height = 255 - Index = 4 - Left = 960 - Top = 240 - Width = 195 - End - Begin VB.Shape Shape1 - BackColor = &H0000FFFF& - FillColor = &H00008000& - FillStyle = 0 'Solid - Height = 255 - Index = 3 - Left = 300 - Top = 1320 - Width = 195 - End - Begin VB.Shape Shape1 - BackColor = &H0000FFFF& - FillColor = &H00FF0000& - FillStyle = 0 'Solid - Height = 255 - Index = 2 - Left = 300 - Top = 960 - Width = 195 - End - Begin VB.Shape Shape1 - BackColor = &H0000FFFF& - FillColor = &H000000FF& - FillStyle = 0 'Solid - Height = 255 - Index = 1 - Left = 300 - Top = 600 - Width = 195 - End - Begin VB.Shape Shape1 - BackColor = &H0000FFFF& - FillColor = &H0000FFFF& - FillStyle = 0 'Solid - Height = 255 - Index = 0 - Left = 300 - Top = 240 - Width = 195 - End - End - Begin VB.PictureBox picScreen - Appearance = 0 'Flat - AutoRedraw = -1 'True - BackColor = &H00000000& - ForeColor = &H80000008& - Height = 2700 - Left = 720 - ScaleHeight = 178 - ScaleMode = 3 'Pixel - ScaleWidth = 331 - TabIndex = 6 - Top = 480 - Width = 5000 - End - Begin VB.Label labValue - Appearance = 0 'Flat - BackColor = &H00C0C0C0& - Caption = "-5.00" - ForeColor = &H0000FFFF& - Height = 255 - Index = 4 - Left = 100 - TabIndex = 15 - Top = 3050 - Width = 600 - End - Begin VB.Label labValue - Appearance = 0 'Flat - BackColor = &H00C0C0C0& - Caption = "-2.50" - ForeColor = &H0000FFFF& - Height = 255 - Index = 3 - Left = 100 - TabIndex = 14 - Top = 2400 - Width = 600 - End - Begin VB.Label labValue - Appearance = 0 'Flat - BackColor = &H00C0C0C0& - Caption = "0.00" - ForeColor = &H0000FFFF& - Height = 255 - Index = 2 - Left = 100 - TabIndex = 13 - Top = 1740 - Width = 600 - End - Begin VB.Label labValue - Appearance = 0 'Flat - BackColor = &H00C0C0C0& - Caption = "2.50" - ForeColor = &H0000FFFF& - Height = 255 - Index = 1 - Left = 100 - TabIndex = 12 - Top = 1070 - Width = 600 - End - Begin VB.Label labValue - Appearance = 0 'Flat - BackColor = &H00C0C0C0& - Caption = "5.00" - ForeColor = &H0000FFFF& - Height = 255 - Index = 0 - Left = 100 - TabIndex = 11 - Top = 420 - Width = 600 - End - Begin VB.Label labVots - Appearance = 0 'Flat - BackColor = &H00C0C0C0& - Caption = "Volt" - ForeColor = &H0000FFFF& - Height = 255 - Left = 120 - TabIndex = 10 - Top = 200 - Width = 495 - End - Begin VB.Label labSignal - Appearance = 0 'Flat - BackColor = &H00C0C0C0& - Caption = "Signals" - ForeColor = &H0000FFFF& - Height = 300 - Left = 2800 - TabIndex = 9 - Top = 200 - Width = 780 - End - End - Begin VB.Label Label3 - Caption = "PCI-9111 Auto-scan Interrupt Transfer" - BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851} - Name = "MS Sans Serif" - Size = 8.25 - Charset = 0 - Weight = 700 - Underline = -1 'True - Italic = 0 'False - Strikethrough = 0 'False - EndProperty - ForeColor = &H000000FF& - Height = 255 - Left = 1920 - TabIndex = 31 - Top = 120 - Width = 3555 - End -End -Attribute VB_Name = "int9111" -Attribute VB_Creatable = False -Attribute VB_Exposed = False -Dim nSample As Long -Dim range_value(5) As Integer -Dim gnADChn As Integer -Dim Range As Integer -Dim gnCount As Long -Dim gnC1 As Integer -Dim gnC2 As Integer -Dim gnBuffer(8192) As Integer - -Private Sub btnExit_Click() - If card >= 0 Then Release_Card (card) - End - -End Sub - - - -Private Sub btnStart_Click() - Dim result As Integer - Dim i As Integer - - picScreen.Cls - result = AI_9111_Config(card, TRIG_INT_PACER, 0, 1024) - - Range = range_value(cobRange.ListIndex) - - result = AI_ContScanChannels(card, gnADChn, Range, gnBuffer(0), gnCount, CSng(nSample * 1000), SYNCH_OP) - ShowData (gnCount) -End Sub - -Private Sub btnStop_Click() - picScreen.Cls - -End Sub - -Private Sub cobChn_Click() - gnADChn = cobChn.ListIndex -End Sub - - -Private Sub cobData_Click() - gnCount = Val(Trim$(cobData)) -End Sub - - -Private Sub cobRange_Click() -Select Case cobRange.ListIndex - Case 0 - labValue(0).Caption = "10.0" - labValue(1).Caption = "5.0" - labValue(2).Caption = "0.0" - labValue(3).Caption = "-5.0" - labValue(4).Caption = "-10.0" - Case 1 - labValue(0).Caption = "5.0" - labValue(1).Caption = "2.5" - labValue(2).Caption = "0.0" - labValue(3).Caption = "-2.5" - labValue(4).Caption = "-5.0" - Case 2 - labValue(0).Caption = "2.50" - labValue(1).Caption = "2.25" - labValue(2).Caption = "0.00" - labValue(3).Caption = "-2.25" - labValue(4).Caption = "-2.50" - Case 3 - labValue(0).Caption = "1.250" - labValue(1).Caption = "0.625" - labValue(2).Caption = "0.00" - labValue(3).Caption = "-0.625" - labValue(4).Caption = "-1.250" - Case 4 - labValue(0).Caption = "0.6250" - labValue(1).Caption = "0.3125" - labValue(2).Caption = "0.0000" - labValue(3).Caption = "-0.3125" - labValue(4).Caption = "-0.6250" - End Select -End Sub - -Private Sub cobSample_Click() - nSample = Val(Trim$(cobSample)) -End Sub - -Private Sub Form_Load() - Dim result As Integer - - SettingForm.Show 1 - If card < 0 Then - MsgBox "Register card failed." - End - End If - gnC1 = 10 - - cobChn.AddItem "Ch0" - cobChn.AddItem "Ch0~Ch1" - cobChn.AddItem "Ch0~Ch2" - cobChn.AddItem "Ch0~Ch3" - cobChn.AddItem "Ch0~Ch4" - cobChn.AddItem "Ch0~Ch5" - cobChn.AddItem "Ch0~Ch6" - cobChn.AddItem "Ch0~Ch7" - - cobChn.ListIndex = 0 - gnADChn = 0 - - cobRange.AddItem "+/- 10V" - cobRange.AddItem "+/- 5V" - cobRange.AddItem "+/- 2.5V" - cobRange.AddItem "+/- 1.25V" - cobRange.AddItem "+/- 0.625V" - - cobRange.ListIndex = 0 - - range_value(0) = 1 - range_value(1) = 2 - range_value(2) = 3 - range_value(3) = 4 - range_value(4) = 5 - - cobData.AddItem "1024" - cobData.AddItem "2048" - cobData.AddItem "4096" - cobData.AddItem "6144" - cobData.AddItem "8192" - - cobData.ListIndex = 0 - - cobSample.AddItem "10" - cobSample.AddItem "20" - cobSample.AddItem "30" - cobSample.AddItem "40" - cobSample.AddItem "50" - - cobSample.ListIndex = 0 -End Sub - - -Private Sub ShowData(Count As Integer) - Dim i, last, total As Integer - Dim x1(0 To 7) As Long, y1(0 To 7) As Long - Dim x2(0 To 7) As Long, y2(0 To 7) As Long - Dim idx(0 To 7) As Integer, color(0 To 7) As Long - Dim w, h, data As Long - Dim ch As Integer - - last = Count / (gnADChn + 1) - w = picScreen.ScaleWidth - h = picScreen.ScaleHeight - For i = 0 To 7 - idx(i) = 0 - Next - color(0) = &HFFFF& - color(1) = &HFF& - color(2) = &HFF0000 - color(3) = &H8000& - color(4) = &H80FF& - color(5) = &HFF00FF - color(6) = &HFFFF00 - color(7) = &HFF00& - For i = 0 To Count - 1 - 'Get the channel number - If card_type = PCI_9111HR Then - ch = i Mod (gnADChn + 1) - Else - If gnBuffer(i) >= 0 Then - ch = gnBuffer(i) Mod 16 - Else - ch = ((gnBuffer(i) Mod 16) + 16) Mod 16 - End If - End If - data = Fix(gnBuffer(i) / 16) - If ch > 7 Then - Exit For - End If - x2(ch) = (idx(ch) * w) / last - y2(ch) = CInt((2047 - CLng(data)) * h / 4095) - If idx(ch) <> 0 Then - picScreen.Line (x1(ch), y1(ch))-(x2(ch), y2(ch)), color(ch) - End If - x1(ch) = x2(ch) - y1(ch) = y2(ch) - idx(ch) = idx(ch) + 1 - Next -End Sub - - - -Private Sub Form_Unload(Cancel As Integer) - If card >= 0 Then Release_Card (card) -End Sub - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9111/VB9111Scan/Vb9111s.vbp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9111/VB9111Scan/Vb9111s.vbp deleted file mode 100644 index 7ef5334..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9111/VB9111Scan/Vb9111s.vbp +++ /dev/null @@ -1,22 +0,0 @@ -Form=VB9111S.FRM -Module=DASK; ..\..\..\Include\Dask.bas -Module=Module1; 9111glbl.bas -Form=Base9111.frm -Reference=*\G{00025E04-0000-0000-C000-000000000046}#2.5#0#D:\Program Files\Common Files\Microsoft Shared\DD:\Program Fil#Microsoft DAO 2.5/3.0 Compatibility Library -ProjWinSize=84,445,251,323 -ProjWinShow=2 -IconForm="int9111" -Title="9111INT" -ExeName32="vb9111s.exe" -ExeName="9111int.EXE" -Name="vb49111int" -HelpContextID="0" -StartMode=0 -VersionCompatible32="0" -VersionCompatible="0" -MajorVer=1 -MinorVer=0 -RevisionVer=0 -AutoIncrementVer=0 -ServerSupportFiles=0 -VersionCompanyName="ADLink" diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9112/C9112DbfFile/9112DbF.c b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9112/C9112DbfFile/9112DbF.c deleted file mode 100644 index b3df01b..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9112/C9112DbfFile/9112DbF.c +++ /dev/null @@ -1,57 +0,0 @@ -#include -#include -#include -#include "dask.h" - -U16 channel=3; //4 channels -U16 range=AD_B_5_V; -char *file_name="9112d"; -U32 read_count=2000; -F64 sample_rate=2000; - -main() -{ - I16 card, err, card_num; - BOOLEAN halfReady, fStop; - U32 count=0, count1; - - printf("This program inputs data from CH-%d to CH-0 of PCI-9112 in %d Hz by\ndouble-buffer mode, and store data to file '%s.dat'. The size of circular\nbuffer is %d. It will not stop until you press a key.\n\nPress any key to start the operation.\n", - channel, (int)sample_rate, file_name, read_count); - printf("Please input a card number: "); - scanf(" %d", &card_num); - //getch(); - if ((card=Register_Card (PCI_9112, card_num)) <0 ) { - printf("Register_Card error=%d\n", card); - exit(1); - } - err = AI_9112_Config(card, TRIG_INT_PACER); - if (err!=0) { - printf("AI_9112_Config error=%d", err); - exit(1); - } - err = AI_AsyncDblBufferMode(card, 1); //double-buffer mode - if (err!=0) { - printf("AI_DblBufferMode error=%d", err); - exit(1); - } - err = AI_ContScanChannelsToFile(card, channel, range, file_name, read_count, sample_rate, ASYNCH_OP); - if (err!=0) { - printf("AI_ContReadChannel error=%d", err); - exit(1); - } - printf("\n\nPress any key to stop input operation."); - printf("\n\nData count : \n"); - do { - do { - AI_AsyncDblBufferHalfReady(card, &halfReady, &fStop); - } while (!halfReady); - AI_AsyncDblBufferTransfer(card, NULL); //transfer to file - count += (read_count / 2); - printf("%d\r", count); - } while(!kbhit()); - AI_AsyncClear(card, &count1); - Release_Card(card); - printf("\n\n%d input data are stored in file '%s.dat'.\n", count, file_name); - printf("\nPress ENTER to exit the program. "); getch(); -} - \ No newline at end of file diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9112/C9112DbfFile/9112Dbf.exe b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9112/C9112DbfFile/9112Dbf.exe deleted file mode 100644 index 1b9ab3b..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9112/C9112DbfFile/9112Dbf.exe and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9112/C9112DbfFile/9112Dbf.mak b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9112/C9112DbfFile/9112Dbf.mak deleted file mode 100644 index 1ee131b..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9112/C9112DbfFile/9112Dbf.mak +++ /dev/null @@ -1,196 +0,0 @@ -# Microsoft Developer Studio Generated NMAKE File, Format Version 4.00 -# ** DO NOT EDIT ** - -# TARGTYPE "Win32 (x86) Console Application" 0x0103 - -!IF "$(CFG)" == "" -CFG=9112Dbf - Win32 Debug -!MESSAGE No configuration specified. Defaulting to 9112Dbf - Win32 Debug. -!ENDIF - -!IF "$(CFG)" != "9112Dbf - Win32 Release" && "$(CFG)" !=\ - "9112Dbf - Win32 Debug" -!MESSAGE Invalid configuration "$(CFG)" specified. -!MESSAGE You can specify a configuration when running NMAKE on this makefile -!MESSAGE by defining the macro CFG on the command line. For example: -!MESSAGE -!MESSAGE NMAKE /f "9112Dbf.mak" CFG="9112Dbf - Win32 Debug" -!MESSAGE -!MESSAGE Possible choices for configuration are: -!MESSAGE -!MESSAGE "9112Dbf - Win32 Release" (based on "Win32 (x86) Console Application") -!MESSAGE "9112Dbf - Win32 Debug" (based on "Win32 (x86) Console Application") -!MESSAGE -!ERROR An invalid configuration is specified. -!ENDIF - -!IF "$(OS)" == "Windows_NT" -NULL= -!ELSE -NULL=nul -!ENDIF -################################################################################ -# Begin Project -# PROP Target_Last_Scanned "9112Dbf - Win32 Debug" -RSC=rc.exe -CPP=cl.exe - -!IF "$(CFG)" == "9112Dbf - Win32 Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "Release" -# PROP BASE Intermediate_Dir "Release" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "" -# PROP Intermediate_Dir "Release" -# PROP Target_Dir "" -OUTDIR=. -INTDIR=.\Release - -ALL : "$(OUTDIR)\9112Dbf.exe" - -CLEAN : - -@erase ".\9112Dbf.exe" - -@erase ".\Release\9112DbF.obj" - -"$(INTDIR)" : - if not exist "$(INTDIR)/$(NULL)" mkdir "$(INTDIR)" - -# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /YX /c -# ADD CPP /nologo /W3 /GX /O2 /I "..\..\..\include" /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /c -# SUBTRACT CPP /YX -CPP_PROJ=/nologo /ML /W3 /GX /O2 /I "..\..\..\include" /D "WIN32" /D "NDEBUG"\ - /D "_CONSOLE" /Fo"$(INTDIR)/" /c -CPP_OBJS=.\Release/ -CPP_SBRS= -# ADD BASE RSC /l 0x409 /d "NDEBUG" -# ADD RSC /l 0x409 /d "NDEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -BSC32_FLAGS=/nologo /o"$(OUTDIR)/9112Dbf.bsc" -BSC32_SBRS= -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ..\..\..\lib\pci-dask.lib /nologo /subsystem:console /machine:I386 -LINK32_FLAGS=kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib\ - advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib\ - odbccp32.lib ..\..\..\lib\pci-dask.lib /nologo /subsystem:console\ - /incremental:no /pdb:"$(OUTDIR)/9112Dbf.pdb" /machine:I386\ - /out:"$(OUTDIR)/9112Dbf.exe" -LINK32_OBJS= \ - ".\Release\9112DbF.obj" - -"$(OUTDIR)\9112Dbf.exe" : "$(OUTDIR)" $(DEF_FILE) $(LINK32_OBJS) - $(LINK32) @<< - $(LINK32_FLAGS) $(LINK32_OBJS) -<< - -!ELSEIF "$(CFG)" == "9112Dbf - Win32 Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "Debug" -# PROP BASE Intermediate_Dir "Debug" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "" -# PROP Intermediate_Dir "Debug" -# PROP Target_Dir "" -OUTDIR=. -INTDIR=.\Debug - -ALL : "$(OUTDIR)\9112Dbf.exe" - -CLEAN : - -@erase ".\Debug\vc40.pdb" - -@erase ".\Debug\vc40.idb" - -@erase ".\9112Dbf.exe" - -@erase ".\Debug\9112DbF.obj" - -@erase ".\9112Dbf.ilk" - -@erase ".\9112Dbf.pdb" - -"$(INTDIR)" : - if not exist "$(INTDIR)/$(NULL)" mkdir "$(INTDIR)" - -# ADD BASE CPP /nologo /W3 /Gm /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /YX /c -# ADD CPP /nologo /W3 /Gm /GX /Zi /Od /I "..\..\..\include" /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /c -# SUBTRACT CPP /YX -CPP_PROJ=/nologo /MLd /W3 /Gm /GX /Zi /Od /I "..\..\..\include" /D "WIN32" /D\ - "_DEBUG" /D "_CONSOLE" /Fo"$(INTDIR)/" /Fd"$(INTDIR)/" /c -CPP_OBJS=.\Debug/ -CPP_SBRS= -# ADD BASE RSC /l 0x409 /d "_DEBUG" -# ADD RSC /l 0x409 /d "_DEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -BSC32_FLAGS=/nologo /o"$(OUTDIR)/9112Dbf.bsc" -BSC32_SBRS= -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /debug /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ..\..\..\lib\pci-dask.lib /nologo /subsystem:console /debug /machine:I386 -LINK32_FLAGS=kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib\ - advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib\ - odbccp32.lib ..\..\..\lib\pci-dask.lib /nologo /subsystem:console\ - /incremental:yes /pdb:"$(OUTDIR)/9112Dbf.pdb" /debug /machine:I386\ - /out:"$(OUTDIR)/9112Dbf.exe" -LINK32_OBJS= \ - ".\Debug\9112DbF.obj" - -"$(OUTDIR)\9112Dbf.exe" : "$(OUTDIR)" $(DEF_FILE) $(LINK32_OBJS) - $(LINK32) @<< - $(LINK32_FLAGS) $(LINK32_OBJS) -<< - -!ENDIF - -.c{$(CPP_OBJS)}.obj: - $(CPP) $(CPP_PROJ) $< - -.cpp{$(CPP_OBJS)}.obj: - $(CPP) $(CPP_PROJ) $< - -.cxx{$(CPP_OBJS)}.obj: - $(CPP) $(CPP_PROJ) $< - -.c{$(CPP_SBRS)}.sbr: - $(CPP) $(CPP_PROJ) $< - -.cpp{$(CPP_SBRS)}.sbr: - $(CPP) $(CPP_PROJ) $< - -.cxx{$(CPP_SBRS)}.sbr: - $(CPP) $(CPP_PROJ) $< - -################################################################################ -# Begin Target - -# Name "9112Dbf - Win32 Release" -# Name "9112Dbf - Win32 Debug" - -!IF "$(CFG)" == "9112Dbf - Win32 Release" - -!ELSEIF "$(CFG)" == "9112Dbf - Win32 Debug" - -!ENDIF - -################################################################################ -# Begin Source File - -SOURCE=.\9112DbF.c -DEP_CPP_9112D=\ - ".\..\..\..\include\dask.h"\ - - -"$(INTDIR)\9112DbF.obj" : $(SOURCE) $(DEP_CPP_9112D) "$(INTDIR)" - - -# End Source File -# End Target -# End Project -################################################################################ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9112/C9112DbfFile/9112Dbf.mdp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9112/C9112DbfFile/9112Dbf.mdp deleted file mode 100644 index e9ce331..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9112/C9112DbfFile/9112Dbf.mdp and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9112/C9112File/9112FILE.C b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9112/C9112File/9112FILE.C deleted file mode 100644 index 0e81dcd..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9112/C9112File/9112FILE.C +++ /dev/null @@ -1,43 +0,0 @@ -#include -#include -#include -#include "dask.h" - -U16 channel=3; //4 channels -U16 range=AD_B_5_V; -char *file_name="9112d"; -U32 read_count=1000; -F64 sample_rate=10000; - -main() -{ - I16 card, err, card_num; - - printf("This program inputs %d data from CH-%d to CH-0 of PCI-9112 in %d Hz, and\nstore data to file '%s.dat'.\n\nPress any key to start the operation.\n", read_count, channel, (int)sample_rate, file_name); - printf("Please input a card number: "); - scanf(" %d", &card_num); - //getch(); - if ((card=Register_Card (PCI_9112, card_num)) <0 ) { - printf("Register_Card error=%d\n", card); - exit(1); - } - err = AI_9112_Config(card, TRIG_INT_PACER); - if (err!=0) { - printf("AI_9112_Config error=%d", err); - exit(1); - } - err = AI_AsyncDblBufferMode(card, 0); - if (err!=0) { - printf("AI_DblBufferMode error=%d", err); - exit(1); - } - err = AI_ContScanChannelsToFile(card, channel, range, file_name, read_count, sample_rate, SYNCH_OP); - if (err!=0) { - printf("AI_ContReadChannel error=%d", err); - exit(1); - } - Release_Card(card); - printf("\n\nThe input data is already stored in file '%s.dat'.\n", file_name); - printf("\nPress ENTER to exit the program. "); getch(); -} - \ No newline at end of file diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9112/C9112File/9112FILE.EXE b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9112/C9112File/9112FILE.EXE deleted file mode 100644 index 353282c..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9112/C9112File/9112FILE.EXE and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9112/C9112File/9112FILE.MAK b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9112/C9112File/9112FILE.MAK deleted file mode 100644 index 7d40207..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9112/C9112File/9112FILE.MAK +++ /dev/null @@ -1,197 +0,0 @@ -# Microsoft Developer Studio Generated NMAKE File, Format Version 4.00 -# ** DO NOT EDIT ** - -# TARGTYPE "Win32 (x86) Console Application" 0x0103 - -!IF "$(CFG)" == "" -CFG=9112file - Win32 Debug -!MESSAGE No configuration specified. Defaulting to 9112file - Win32 Debug. -!ENDIF - -!IF "$(CFG)" != "9112file - Win32 Release" && "$(CFG)" !=\ - "9112file - Win32 Debug" -!MESSAGE Invalid configuration "$(CFG)" specified. -!MESSAGE You can specify a configuration when running NMAKE on this makefile -!MESSAGE by defining the macro CFG on the command line. For example: -!MESSAGE -!MESSAGE NMAKE /f "9112FILE.MAK" CFG="9112file - Win32 Debug" -!MESSAGE -!MESSAGE Possible choices for configuration are: -!MESSAGE -!MESSAGE "9112file - Win32 Release" (based on\ - "Win32 (x86) Console Application") -!MESSAGE "9112file - Win32 Debug" (based on "Win32 (x86) Console Application") -!MESSAGE -!ERROR An invalid configuration is specified. -!ENDIF - -!IF "$(OS)" == "Windows_NT" -NULL= -!ELSE -NULL=nul -!ENDIF -################################################################################ -# Begin Project -# PROP Target_Last_Scanned "9112file - Win32 Debug" -RSC=rc.exe -CPP=cl.exe - -!IF "$(CFG)" == "9112file - Win32 Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "9112file" -# PROP BASE Intermediate_Dir "9112file" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "" -# PROP Intermediate_Dir "Release" -# PROP Target_Dir "" -OUTDIR=. -INTDIR=.\Release - -ALL : "$(OUTDIR)\9112FILE.exe" - -CLEAN : - -@erase ".\9112FILE.exe" - -@erase ".\Release\9112file.obj" - -"$(INTDIR)" : - if not exist "$(INTDIR)/$(NULL)" mkdir "$(INTDIR)" - -# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /YX /c -# ADD CPP /nologo /W3 /GX /Od /I "..\..\..\include" /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /c -# SUBTRACT CPP /YX -CPP_PROJ=/nologo /ML /W3 /GX /Od /I "..\..\..\include" /D "WIN32" /D "NDEBUG"\ - /D "_CONSOLE" /Fo"$(INTDIR)/" /c -CPP_OBJS=.\Release/ -CPP_SBRS= -# ADD BASE RSC /l 0x409 /d "NDEBUG" -# ADD RSC /l 0x409 /d "NDEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -BSC32_FLAGS=/nologo /o"$(OUTDIR)/9112FILE.bsc" -BSC32_SBRS= -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ..\..\..\lib\pci-dask.lib /nologo /subsystem:console /machine:I386 -LINK32_FLAGS=kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib\ - advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib\ - odbccp32.lib ..\..\..\lib\pci-dask.lib /nologo /subsystem:console\ - /incremental:no /pdb:"$(OUTDIR)/9112FILE.pdb" /machine:I386\ - /out:"$(OUTDIR)/9112FILE.exe" -LINK32_OBJS= \ - ".\Release\9112file.obj" - -"$(OUTDIR)\9112FILE.exe" : "$(OUTDIR)" $(DEF_FILE) $(LINK32_OBJS) - $(LINK32) @<< - $(LINK32_FLAGS) $(LINK32_OBJS) -<< - -!ELSEIF "$(CFG)" == "9112file - Win32 Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "Debug" -# PROP BASE Intermediate_Dir "Debug" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "" -# PROP Intermediate_Dir "Debug" -# PROP Target_Dir "" -OUTDIR=. -INTDIR=.\Debug - -ALL : "$(OUTDIR)\9112FILE.exe" - -CLEAN : - -@erase ".\Debug\vc40.pdb" - -@erase ".\Debug\vc40.idb" - -@erase ".\9112FILE.exe" - -@erase ".\Debug\9112file.obj" - -@erase ".\9112FILE.ilk" - -@erase ".\9112FILE.pdb" - -"$(INTDIR)" : - if not exist "$(INTDIR)/$(NULL)" mkdir "$(INTDIR)" - -# ADD BASE CPP /nologo /W3 /Gm /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /YX /c -# ADD CPP /nologo /W3 /Gm /GX /Zi /Od /I "..\..\..\include" /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /c -# SUBTRACT CPP /YX -CPP_PROJ=/nologo /MLd /W3 /Gm /GX /Zi /Od /I "..\..\..\include" /D "WIN32" /D\ - "_DEBUG" /D "_CONSOLE" /Fo"$(INTDIR)/" /Fd"$(INTDIR)/" /c -CPP_OBJS=.\Debug/ -CPP_SBRS= -# ADD BASE RSC /l 0x409 /d "_DEBUG" -# ADD RSC /l 0x409 /d "_DEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -BSC32_FLAGS=/nologo /o"$(OUTDIR)/9112FILE.bsc" -BSC32_SBRS= -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /debug /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ..\..\..\lib\pci-dask.lib /nologo /subsystem:console /debug /machine:I386 -LINK32_FLAGS=kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib\ - advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib\ - odbccp32.lib ..\..\..\lib\pci-dask.lib /nologo /subsystem:console\ - /incremental:yes /pdb:"$(OUTDIR)/9112FILE.pdb" /debug /machine:I386\ - /out:"$(OUTDIR)/9112FILE.exe" -LINK32_OBJS= \ - ".\Debug\9112file.obj" - -"$(OUTDIR)\9112FILE.exe" : "$(OUTDIR)" $(DEF_FILE) $(LINK32_OBJS) - $(LINK32) @<< - $(LINK32_FLAGS) $(LINK32_OBJS) -<< - -!ENDIF - -.c{$(CPP_OBJS)}.obj: - $(CPP) $(CPP_PROJ) $< - -.cpp{$(CPP_OBJS)}.obj: - $(CPP) $(CPP_PROJ) $< - -.cxx{$(CPP_OBJS)}.obj: - $(CPP) $(CPP_PROJ) $< - -.c{$(CPP_SBRS)}.sbr: - $(CPP) $(CPP_PROJ) $< - -.cpp{$(CPP_SBRS)}.sbr: - $(CPP) $(CPP_PROJ) $< - -.cxx{$(CPP_SBRS)}.sbr: - $(CPP) $(CPP_PROJ) $< - -################################################################################ -# Begin Target - -# Name "9112file - Win32 Release" -# Name "9112file - Win32 Debug" - -!IF "$(CFG)" == "9112file - Win32 Release" - -!ELSEIF "$(CFG)" == "9112file - Win32 Debug" - -!ENDIF - -################################################################################ -# Begin Source File - -SOURCE=.\9112file.c -DEP_CPP_9112F=\ - ".\..\..\..\include\dask.h"\ - - -"$(INTDIR)\9112file.obj" : $(SOURCE) $(DEP_CPP_9112F) "$(INTDIR)" - - -# End Source File -# End Target -# End Project -################################################################################ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9112/C9112File/9112file.mdp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9112/C9112File/9112file.mdp deleted file mode 100644 index 5c0cab3..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9112/C9112File/9112file.mdp and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9112/SDK9112/Resource.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9112/SDK9112/Resource.h deleted file mode 100644 index a5fb259..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9112/SDK9112/Resource.h +++ /dev/null @@ -1,26 +0,0 @@ -//{{NO_DEPENDENCIES}} -// Microsoft Developer Studio generated include file. -// Used by Util9112.rc -// -#define IDM_SETUP 101 -#define IDD_DIALOG1 101 -#define IDD_DIALOG2 103 -#define IDM_EXIT 110 -#define ID_STOP 304 -#define DMA_SPACE 500 -#define IDC_COMBO2 1001 -#define IDC_COMBO3 1003 -#define IDC_COMBO1 1015 -#define IDC_COMBO4 1016 -#define IDC_STATIC -1 - -// Next default values for new objects -// -#ifdef APSTUDIO_INVOKED -#ifndef APSTUDIO_READONLY_SYMBOLS -#define _APS_NEXT_RESOURCE_VALUE 104 -#define _APS_NEXT_COMMAND_VALUE 102 -#define _APS_NEXT_CONTROL_VALUE 1001 -#define _APS_NEXT_SYMED_VALUE 101 -#endif -#endif diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9112/SDK9112/UTIL9112.EXE b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9112/SDK9112/UTIL9112.EXE deleted file mode 100644 index 7273661..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9112/SDK9112/UTIL9112.EXE and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9112/SDK9112/UTIL9112.MAK b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9112/SDK9112/UTIL9112.MAK deleted file mode 100644 index ebf227c..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9112/SDK9112/UTIL9112.MAK +++ /dev/null @@ -1,219 +0,0 @@ -# Microsoft Developer Studio Generated NMAKE File, Format Version 4.00 -# ** DO NOT EDIT ** - -# TARGTYPE "Win32 (x86) Application" 0x0101 - -!IF "$(CFG)" == "" -CFG=util9112 - Win32 Debug -!MESSAGE No configuration specified. Defaulting to util9112 - Win32 Debug. -!ENDIF - -!IF "$(CFG)" != "util9112 - Win32 Release" && "$(CFG)" !=\ - "util9112 - Win32 Debug" -!MESSAGE Invalid configuration "$(CFG)" specified. -!MESSAGE You can specify a configuration when running NMAKE on this makefile -!MESSAGE by defining the macro CFG on the command line. For example: -!MESSAGE -!MESSAGE NMAKE /f "util9112.mak" CFG="util9112 - Win32 Debug" -!MESSAGE -!MESSAGE Possible choices for configuration are: -!MESSAGE -!MESSAGE "util9112 - Win32 Release" (based on "Win32 (x86) Application") -!MESSAGE "util9112 - Win32 Debug" (based on "Win32 (x86) Application") -!MESSAGE -!ERROR An invalid configuration is specified. -!ENDIF - -!IF "$(OS)" == "Windows_NT" -NULL= -!ELSE -NULL=nul -!ENDIF -################################################################################ -# Begin Project -# PROP Target_Last_Scanned "util9112 - Win32 Debug" -RSC=rc.exe -CPP=cl.exe -MTL=mktyplib.exe - -!IF "$(CFG)" == "util9112 - Win32 Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "Release" -# PROP BASE Intermediate_Dir "Release" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "" -# PROP Intermediate_Dir "Release" -# PROP Target_Dir "" -OUTDIR=. -INTDIR=.\Release - -ALL : "$(OUTDIR)\util9112.exe" - -CLEAN : - -@erase ".\util9112.exe" - -@erase ".\Release\Util9112.obj" - -@erase ".\Release\Util9112.res" - -"$(INTDIR)" : - if not exist "$(INTDIR)/$(NULL)" mkdir "$(INTDIR)" - -# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /YX /c -# ADD CPP /nologo /W3 /GX /O2 /I "..\..\..\include" /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /c -# SUBTRACT CPP /YX -CPP_PROJ=/nologo /ML /W3 /GX /O2 /I "..\..\..\include" /D "WIN32" /D "NDEBUG"\ - /D "_WINDOWS" /Fo"$(INTDIR)/" /c -CPP_OBJS=.\Release/ -CPP_SBRS= -# ADD BASE MTL /nologo /D "NDEBUG" /win32 -# ADD MTL /nologo /D "NDEBUG" /win32 -MTL_PROJ=/nologo /D "NDEBUG" /win32 -# ADD BASE RSC /l 0x409 /d "NDEBUG" -# ADD RSC /l 0x409 /d "NDEBUG" -RSC_PROJ=/l 0x409 /fo"$(INTDIR)/Util9112.res" /d "NDEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -BSC32_FLAGS=/nologo /o"$(OUTDIR)/util9112.bsc" -BSC32_SBRS= -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:windows /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ..\..\..\lib\pci-dask.lib /nologo /subsystem:windows /machine:I386 -LINK32_FLAGS=kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib\ - advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib\ - odbccp32.lib ..\..\..\lib\pci-dask.lib /nologo /subsystem:windows\ - /incremental:no /pdb:"$(OUTDIR)/util9112.pdb" /machine:I386\ - /out:"$(OUTDIR)/util9112.exe" -LINK32_OBJS= \ - "$(INTDIR)/Util9112.obj" \ - "$(INTDIR)/Util9112.res" - -"$(OUTDIR)\util9112.exe" : "$(OUTDIR)" $(DEF_FILE) $(LINK32_OBJS) - $(LINK32) @<< - $(LINK32_FLAGS) $(LINK32_OBJS) -<< - -!ELSEIF "$(CFG)" == "util9112 - Win32 Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "Debug" -# PROP BASE Intermediate_Dir "Debug" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "Debug" -# PROP Intermediate_Dir "Debug" -# PROP Target_Dir "" -OUTDIR=.\Debug -INTDIR=.\Debug - -ALL : "$(OUTDIR)\util9112.exe" - -CLEAN : - -@erase ".\Debug\vc40.pdb" - -@erase ".\Debug\vc40.idb" - -@erase ".\Debug\util9112.exe" - -@erase ".\Debug\Util9112.obj" - -@erase ".\Debug\Util9112.res" - -@erase ".\Debug\util9112.ilk" - -@erase ".\Debug\util9112.pdb" - -"$(OUTDIR)" : - if not exist "$(OUTDIR)/$(NULL)" mkdir "$(OUTDIR)" - -# ADD BASE CPP /nologo /W3 /Gm /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /YX /c -# ADD CPP /nologo /W3 /Gm /GX /Zi /Od /I "..\..\..\include" /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /c -# SUBTRACT CPP /YX -CPP_PROJ=/nologo /MLd /W3 /Gm /GX /Zi /Od /I "..\..\..\include" /D "WIN32" /D\ - "_DEBUG" /D "_WINDOWS" /Fo"$(INTDIR)/" /Fd"$(INTDIR)/" /c -CPP_OBJS=.\Debug/ -CPP_SBRS= -# ADD BASE MTL /nologo /D "_DEBUG" /win32 -# ADD MTL /nologo /D "_DEBUG" /win32 -MTL_PROJ=/nologo /D "_DEBUG" /win32 -# ADD BASE RSC /l 0x409 /d "_DEBUG" -# ADD RSC /l 0x409 /d "_DEBUG" -RSC_PROJ=/l 0x409 /fo"$(INTDIR)/Util9112.res" /d "_DEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -BSC32_FLAGS=/nologo /o"$(OUTDIR)/util9112.bsc" -BSC32_SBRS= -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:windows /debug /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ..\..\..\lib\pci-dask.lib /nologo /subsystem:windows /debug /machine:I386 -LINK32_FLAGS=kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib\ - advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib\ - odbccp32.lib ..\..\..\lib\pci-dask.lib /nologo /subsystem:windows\ - /incremental:yes /pdb:"$(OUTDIR)/util9112.pdb" /debug /machine:I386\ - /out:"$(OUTDIR)/util9112.exe" -LINK32_OBJS= \ - "$(INTDIR)/Util9112.obj" \ - "$(INTDIR)/Util9112.res" - -"$(OUTDIR)\util9112.exe" : "$(OUTDIR)" $(DEF_FILE) $(LINK32_OBJS) - $(LINK32) @<< - $(LINK32_FLAGS) $(LINK32_OBJS) -<< - -!ENDIF - -.c{$(CPP_OBJS)}.obj: - $(CPP) $(CPP_PROJ) $< - -.cpp{$(CPP_OBJS)}.obj: - $(CPP) $(CPP_PROJ) $< - -.cxx{$(CPP_OBJS)}.obj: - $(CPP) $(CPP_PROJ) $< - -.c{$(CPP_SBRS)}.sbr: - $(CPP) $(CPP_PROJ) $< - -.cpp{$(CPP_SBRS)}.sbr: - $(CPP) $(CPP_PROJ) $< - -.cxx{$(CPP_SBRS)}.sbr: - $(CPP) $(CPP_PROJ) $< - -################################################################################ -# Begin Target - -# Name "util9112 - Win32 Release" -# Name "util9112 - Win32 Debug" - -!IF "$(CFG)" == "util9112 - Win32 Release" - -!ELSEIF "$(CFG)" == "util9112 - Win32 Debug" - -!ENDIF - -################################################################################ -# Begin Source File - -SOURCE=.\Util9112.c -DEP_CPP_UTIL9=\ - ".\..\..\..\include\dask.h"\ - - -"$(INTDIR)\Util9112.obj" : $(SOURCE) $(DEP_CPP_UTIL9) "$(INTDIR)" - - -# End Source File -################################################################################ -# Begin Source File - -SOURCE=.\Util9112.rc - -"$(INTDIR)\Util9112.res" : $(SOURCE) "$(INTDIR)" - $(RSC) $(RSC_PROJ) $(SOURCE) - - -# End Source File -# End Target -# End Project -################################################################################ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9112/SDK9112/Util9112.c b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9112/SDK9112/Util9112.c deleted file mode 100644 index 708ad96..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9112/SDK9112/Util9112.c +++ /dev/null @@ -1,728 +0,0 @@ -#include -#include -#include -#include -#include -#include -#include "dask.h" -#include "resource.h" - -#define IDM_EXIT 110 -#define IDM_SETUP 101 -#define IDC_SCROLL 207 -#define IDC_SPIN 301 -#define IDC_START 208 -#define IDC_STOP 209 -#define IDC_PAUSE 210 -#define IDC_EDIT 211 -#define IDC_GAIN 212 -#define IDC_DA 400 -#define TIMER1 1 -#define NONE 0 - -int PASCAL WinMain(HANDLE, HANDLE, LPSTR, int); -long PASCAL MainWndProc(HWND, UINT, WPARAM, LPARAM); - -HANDLE hInst; -HWND hAddrComboBox; -HWND hADComboBox1; -HWND hADComboBox2; -HWND hADComboBox3; -HWND hADComboBox4; -HWND hADComboBox5; -HWND hADComboBox6; -HWND hADScroll; -HWND hEdit; -HWND MainhWnd; - -I16 card=-1, card_number = 0; -U16 input[16], output=0; -I16 oldinput[16],analog_input[16],adinput[16],old_adinput1[16],old_adinput2[16]; -U8 input_lo=0, input_hi=0; - -LPSTR AD_Range[9]={"+/-10V","+/-5V","+/-2.5V","+/-1.25V","+/-0.625V","0-10V","0-5V","0-2.5V","0-1.25V"}; -I16 range_value[9] = {AD_B_10_V, AD_B_5_V, AD_B_2_5_V, AD_B_1_25_V, AD_B_0_625_V, AD_U_10_V, AD_U_5_V, AD_U_2_5_V, AD_U_1_25_V}; - -HBRUSH hLTGreenBrush,hGreenBrush,hBlueBrush,hYellowBrush,hRedBrush,hBlackBrush,hWhiteBrush,hLTRedBrush,hLTBlueBrush; -HPEN hRedPen,hYellowPen,hGreenPen,hBluePen,hLTBluePen,hLTRedPen,hLTGreenPen,hWhitePen; - -I16 sample_rate=10, time_interval, range=AD_B_5_V; - -POINT input_pos[16]= {{470, 280}, {440, 280}, - {410, 280}, {380, 280}, - {350, 280}, {320, 280}, - { 290, 280}, {260, 280}, - {230, 280}, {200, 280}, - {170, 280}, {140, 280}, - {110, 280}, {80, 280}, - { 50, 280}, { 20, 280}, - }; -POINT output_pos[16] ={ - {470, 340}, {440, 340}, - {410, 340}, {380, 340}, - {350, 340}, {320, 340}, - { 290, 340}, {260, 340}, - {230, 340}, {200, 340}, - {170, 340}, {140, 340}, - {110, 340}, {80, 340}, - { 50, 340}, { 20, 340}, - }; - -POINT io_pos[16] ={ - {395, 40}, {370, 40}, - {345, 40}, {320, 40}, - {295, 40}, {270, 40}, - { 245, 40}, {220, 40}, - {195, 40}, {170, 40}, - {145, 40}, {120, 40}, - {95, 40}, {70, 40}, - { 45, 40}, { 20, 40}, - }; - -BOOL bCheck1[8],bCheck2[8],bStart=FALSE,bStop=FALSE,bPause=FALSE; -BOOL InitApplication(HANDLE); -BOOL InitInstance(HANDLE, int); - -int PASCAL WinMain(hInstance, hPrevInstance, lpCmdLine, nCmdShow) -HANDLE hInstance, hPrevInstance; -LPSTR lpCmdLine; -int nCmdShow; -{ - MSG msg; - - if (!hPrevInstance) - if (!InitApplication(hInstance)) return(FALSE); - if (!InitInstance(hInstance, nCmdShow)) return(FALSE); - while (GetMessage(&msg, NULL, NULL, NULL)) { - TranslateMessage(&msg); - DispatchMessage(&msg); - } - return(msg.wParam); -} - -BOOL InitApplication(hInstance) -HANDLE hInstance; -{ - WNDCLASS wc; - - /* Main Window Class */ - wc.style = NULL; - wc.lpfnWndProc = (WNDPROC)MainWndProc; - wc.cbClsExtra = 0; - wc.cbWndExtra = 0; - wc.hInstance = hInstance; - wc.hIcon = LoadIcon(hInstance, "MyIcon"); - wc.hCursor = LoadCursor(NULL, IDC_ARROW); - wc.hbrBackground = GetStockObject(LTGRAY_BRUSH); - wc.lpszMenuName = NULL; - wc.lpszClassName = "GenericWClass"; - if (!RegisterClass(&wc)) return(FALSE); -} - - -BOOL InitInstance(hInstance, nCmdShow) -HANDLE hInstance; -int nCmdShow; -{ - HWND hWnd; - HMENU hSampleMenu; - - hInst = hInstance; - hSampleMenu = LoadMenu(hInstance, "U7120Menu"); - hWnd = CreateWindow("GenericWClass", - (LPCSTR)"9112", - WS_OVERLAPPEDWINDOW, - CW_USEDEFAULT, - CW_USEDEFAULT, - 530, - 480, - NULL, - hSampleMenu, - hInstance, - NULL); - MainhWnd=hWnd; - if (!hWnd) return(FALSE); - ShowWindow(hWnd, nCmdShow); - UpdateWindow(hWnd); - return(TRUE); -} - -BOOL PASCAL setup(HWND hWnd, unsigned message, WPARAM wParam, LPARAM lParam) -{ - int i,k; - char n[16]; - char s[50]; - switch (message) { - case WM_INITDIALOG: - for (i=0;i<16;i++) { - wsprintf(n, "%d", i); - _strupr(n); - SendMessage(GetDlgItem(hWnd,IDC_COMBO1), CB_ADDSTRING, NULL, (LONG)(LPSTR) n); - } - SendMessage(GetDlgItem(hWnd,IDC_COMBO1) , CB_SETCURSEL, 0, 0L); - - break; - case WM_COMMAND: - switch(LOWORD(wParam)) { - - case IDC_COMBO1: - if (HIWORD(wParam) == CBN_CLOSEUP) { - i = (int)SendMessage(GetDlgItem(hWnd,IDC_COMBO1), CB_GETCURSEL, 0, 0L); - SendMessage(GetDlgItem(hWnd,IDC_COMBO1), CB_GETLBTEXT, i, (LPARAM)((LPCSTR)n)); - card_number = i; - } - return(TRUE); - case IDOK: - if ((card=Register_Card(PCI_9112, card_number)) < 0) { - wsprintf(s, "Register_Card Error = %d\n", card); - MessageBox(hWnd, s, "Error", MB_OK); - SendMessage(hWnd, WM_CLOSE, 0, 0L); - break; - } - EndDialog(hWnd, TRUE); - InvalidateRect(hWnd, NULL, FALSE); - return (TRUE); - case IDCANCEL: - EndDialog(hWnd, TRUE); - return (TRUE); - } - break; - } - return (FALSE); -} - -long PASCAL MainWndProc(hWnd, message, wParam, lParam) -HWND hWnd; -UINT message; -WPARAM wParam; -LPARAM lParam; -{ - HDC hDC; - PAINTSTRUCT ps; - int i, k, px, py, j; - char n[15]; - char s[50]; - FARPROC lpProc; - double Pi = 3.1415926535; - static U16 pos=0; - - switch(message) { - case WM_CREATE: - DialogBox(hInst,IDD_DIALOG2, hWnd, setup); - if(card<0) { - SendMessage(hWnd, WM_CLOSE, 0, 0L); - break; - } - for (i=0;i<8;i++) { - bCheck1[i]=FALSE; - bCheck2[i]=FALSE; - old_adinput1[i]=-1; - old_adinput2[i]=-1; - } - for (i=0 ;i <16; i++) { - input[i] = 0; - oldinput[i] = 0; - } - hAddrComboBox = CreateWindow("ComboBox", NULL, - CBS_DROPDOWNLIST | WS_CHILD | WS_VISIBLE | WS_VSCROLL, - output_pos[4].x+90, io_pos[0].y+70, 85, 120, hWnd, IDC_GAIN, hInst, NULL); - for (i=0;i<9;i++) { - SendMessage(hAddrComboBox, CB_ADDSTRING, NULL, (LONG)AD_Range[i]); - } - SendMessage(hAddrComboBox ,CB_SETCURSEL, 1, 0L); - hADScroll=CreateWindow("SCROLLBAR", NULL, - WS_CHILD | WS_VISIBLE | SBS_HORZ, - output_pos[8].x+10, io_pos[15].y+200,190, 18, hWnd, IDC_SCROLL, hInst, NULL); - SetScrollRange(hADScroll,SB_CTL,0,4095,TRUE); - SetScrollPos(hADScroll,SB_CTL,0,TRUE); - - CreateWindow("BUTTON","Start" , - WS_CHILD | WS_VISIBLE , - output_pos[10].x+110, output_pos[10].y+50,50, 30, hWnd, IDC_START, hInst, NULL); - - CreateWindow("BUTTON","Stop" , - WS_CHILD | WS_VISIBLE , - output_pos[10].x+170, output_pos[10].y+50,50, 30, hWnd, IDC_STOP, hInst, NULL); - - CreateWindow("BUTTON","Pause" , - WS_CHILD | WS_VISIBLE , - output_pos[10].x+230, output_pos[10].y+50,50, 30, hWnd, IDC_PAUSE, hInst, NULL); - - - CreateWindow("BUTTON","0" , - WS_CHILD | WS_VISIBLE | BS_RADIOBUTTON | BS_LEFTTEXT , - output_pos[4].x+50, io_pos[0].y-5,25,15, hWnd,IDC_DA, hInst, NULL); - - CreateWindow("BUTTON","1" , - WS_CHILD | WS_VISIBLE | BS_RADIOBUTTON | BS_LEFTTEXT, - output_pos[4].x+50, io_pos[0].y+13,25,15, hWnd,IDC_DA+1, hInst, NULL); - - CreateWindow("BUTTON","2" , - WS_CHILD | WS_VISIBLE | BS_RADIOBUTTON | BS_LEFTTEXT, - output_pos[4].x+50, io_pos[0].y+31,25,15, hWnd,IDC_DA+2, hInst, NULL); - - CreateWindow("BUTTON","3" , - WS_CHILD | WS_VISIBLE | BS_RADIOBUTTON | BS_LEFTTEXT, - output_pos[4].x+50, io_pos[0].y+49,25,15, hWnd,IDC_DA+3, hInst, NULL); - - CreateWindow("BUTTON","4" , - WS_CHILD | WS_VISIBLE | BS_RADIOBUTTON | BS_LEFTTEXT, - output_pos[4].x+100, io_pos[0].y-5,25,15, hWnd,IDC_DA+4, hInst, NULL); - - CreateWindow("BUTTON","5" , - WS_CHILD | WS_VISIBLE | BS_RADIOBUTTON | BS_LEFTTEXT, - output_pos[4].x+100, io_pos[0].y+13,25,15, hWnd, IDC_DA+5, hInst, NULL); - - CreateWindow("BUTTON","6" , - WS_CHILD | WS_VISIBLE | BS_RADIOBUTTON | BS_LEFTTEXT, - output_pos[4].x+100, io_pos[0].y+31,25,15, hWnd,IDC_DA+6, hInst, NULL); - - CreateWindow("BUTTON","7" , - WS_CHILD | WS_VISIBLE | BS_RADIOBUTTON | BS_LEFTTEXT, - output_pos[4].x+100, io_pos[0].y+49,25,15, hWnd, IDC_DA+7, hInst, NULL); - - CreateWindow("BUTTON","0" , - WS_CHILD | WS_VISIBLE | BS_RADIOBUTTON | BS_LEFTTEXT, - output_pos[4].x+50, io_pos[0].y+97,25,15, hWnd, IDC_DA+8, hInst, NULL); - - CreateWindow("BUTTON","1" , - WS_CHILD | WS_VISIBLE | BS_RADIOBUTTON | BS_LEFTTEXT, - output_pos[4].x+50, io_pos[0].y+115,25,15, hWnd, IDC_DA+9, hInst, NULL); - - CreateWindow("BUTTON","2" , - WS_CHILD | WS_VISIBLE | BS_RADIOBUTTON | BS_LEFTTEXT, - output_pos[4].x+50, io_pos[0].y+133,25,15, hWnd, IDC_DA+10, hInst, NULL); - - CreateWindow("BUTTON","3" , - WS_CHILD | WS_VISIBLE | BS_RADIOBUTTON | BS_LEFTTEXT, - output_pos[4].x+50, io_pos[0].y+151,25,15, hWnd, IDC_DA+11, hInst, NULL); - - CreateWindow("BUTTON","4" , - WS_CHILD | WS_VISIBLE | BS_RADIOBUTTON | BS_LEFTTEXT, - output_pos[4].x+100, io_pos[0].y+97,25,15, hWnd, IDC_DA+12, hInst, NULL); - - CreateWindow("BUTTON","5" , - WS_CHILD | WS_VISIBLE | BS_RADIOBUTTON | BS_LEFTTEXT, - output_pos[4].x+100, io_pos[0].y+115,25,15, hWnd, IDC_DA+13, hInst, NULL); - - CreateWindow("BUTTON","6" , - WS_CHILD | WS_VISIBLE | BS_RADIOBUTTON | BS_LEFTTEXT, - output_pos[4].x+100, io_pos[0].y+133,25,15, hWnd, IDC_DA+14, hInst, NULL); - - CreateWindow("BUTTON","7" , - WS_CHILD | WS_VISIBLE | BS_RADIOBUTTON | BS_LEFTTEXT, - output_pos[4].x+100, io_pos[0].y+151,25,15, hWnd, IDC_DA+15, hInst, NULL); - - hLTGreenBrush = CreateSolidBrush(RGB(0, 255, 0)); - hGreenBrush = CreateSolidBrush(RGB(0, 128, 0)); - hBlueBrush = CreateSolidBrush(RGB(0, 0, 255)); - hRedBrush = CreateSolidBrush(RGB(255, 0, 0)); - hYellowBrush= CreateSolidBrush(RGB(255,255,0)); - hBlackBrush= CreateSolidBrush(RGB(0,0,0)); - hLTBlueBrush= CreateSolidBrush(RGB(0,255,255)); - hLTRedBrush= CreateSolidBrush(RGB(255,128,0)); - hWhiteBrush= CreateSolidBrush(RGB(255,255,255)); - hRedPen= CreatePen(PS_SOLID,1,RGB(255,0,0)); - hYellowPen= CreatePen(PS_SOLID,1,RGB(255,255,0)); - hBluePen= CreatePen(PS_SOLID,1,RGB(0,0,255)); - hGreenPen= CreatePen(PS_SOLID,1,RGB(0,255,0)); - hLTBluePen= CreatePen(PS_SOLID,1,RGB(0,128,255)); - hLTRedPen= CreatePen(PS_SOLID,1,RGB(255,128,0)); - hLTGreenPen= CreatePen(PS_SOLID,1,RGB(0,128,0)); - hWhitePen= CreatePen(PS_SOLID,1,RGB(255,255,255)); - break; - - case WM_PAINT: - hDC = BeginPaint(hWnd, &ps); - - // Digital Input Box - SelectObject(hDC, hLTGreenBrush); - Rectangle(hDC, input_pos[15].x-10, input_pos[15].y-14, input_pos[0].x+26, input_pos[0].y+40); - SetTextColor(hDC,RGB(255,255,255)); - SetBkColor(hDC, RGB(0, 0, 255)); - TextOut(hDC, input_pos[15].x, input_pos[15].y-18, "Digital Input",13); - - // Digital Output Box - SelectObject(hDC, hGreenBrush); - Rectangle(hDC, output_pos[15].x-10, output_pos[15].y-14, output_pos[0].x+26, output_pos[0].y+40); - SetTextColor(hDC,RGB(255,0,0)); - SetBkColor(hDC, RGB(0, 0, 255)); - TextOut(hDC, output_pos[15].x, output_pos[15].y-20, "Digital Output", 14); - - // Analog Input Box - SelectObject(hDC, GetStockObject(GRAY_BRUSH)); - Rectangle(hDC, output_pos[15].x-10, io_pos[15].y-24, output_pos[0].x+26, io_pos[0].y+175); - SetTextColor(hDC,RGB(255,255,0)); - SetBkColor(hDC, RGB(0, 0, 255)); - TextOut(hDC, io_pos[15].x, io_pos[15].y-35, "Analog Input(A/D)", 17); - - SelectObject(hDC, hBlackBrush); - Rectangle(hDC, output_pos[15].x+35, io_pos[15].y-2, output_pos[4].x+41, io_pos[0].y+83); - Rectangle(hDC, output_pos[15].x+35, io_pos[15].y+87, output_pos[4].x+41, io_pos[0].y+172); - - // Analog Output Box - SelectObject(hDC, GetStockObject(GRAY_BRUSH)); - Rectangle(hDC, output_pos[15].x-10, io_pos[15].y+180, output_pos[0].x+26, io_pos[0].y+225); - SetTextColor(hDC,RGB(255,255,0)); - SetBkColor(hDC, RGB(0, 0, 255)); - TextOut(hDC, io_pos[15].x, io_pos[15].y+175, "Analog Output(D/A)", 18); - - // Channel Label - SetTextColor(hDC,RGB(0,0,0)); - SetBkColor(hDC, RGB(0, 255, 0)); - TextOut(hDC, input_pos[15].x, input_pos[15].y+20, "15 0", 114); - SetBkColor(hDC, RGB(0, 128, 0)); - TextOut(hDC, output_pos[15].x, output_pos[15].y+20, "15 0", 114); - SetBkColor(hDC, RGB(0, 255, 0)); - - SelectObject(hDC,hYellowBrush ); - Rectangle(hDC,output_pos[4].x+78, io_pos[0].y-5,output_pos[4].x+90, io_pos[0].y+10); - Rectangle(hDC,output_pos[4].x+78, io_pos[0].y+97,output_pos[4].x+90, io_pos[0].y+112); - SelectObject(hDC, hGreenBrush); - Rectangle(hDC,output_pos[4].x+78, io_pos[0].y+13,output_pos[4].x+90, io_pos[0].y+28); - Rectangle(hDC,output_pos[4].x+78, io_pos[0].y+115,output_pos[4].x+90, io_pos[0].y+130); - SelectObject(hDC, hBlueBrush); - Rectangle(hDC,output_pos[4].x+78, io_pos[0].y+31,output_pos[4].x+90, io_pos[0].y+46); - Rectangle(hDC,output_pos[4].x+78, io_pos[0].y+133,output_pos[4].x+90, io_pos[0].y+148); - SelectObject(hDC, hRedBrush); - Rectangle(hDC,output_pos[4].x+78, io_pos[0].y+49,output_pos[4].x+90, io_pos[0].y+64); - Rectangle(hDC,output_pos[4].x+78, io_pos[0].y+151,output_pos[4].x+90, io_pos[0].y+166); - SelectObject(hDC, hLTBlueBrush); - Rectangle(hDC,output_pos[4].x+128, io_pos[0].y-5,output_pos[4].x+140, io_pos[0].y+10); - Rectangle(hDC,output_pos[4].x+128, io_pos[0].y+97,output_pos[4].x+140, io_pos[0].y+112); - SelectObject(hDC, hLTRedBrush); - Rectangle(hDC,output_pos[4].x+128, io_pos[0].y+13,output_pos[4].x+140, io_pos[0].y+28); - Rectangle(hDC,output_pos[4].x+128, io_pos[0].y+115,output_pos[4].x+140, io_pos[0].y+130); - SelectObject(hDC, hLTGreenBrush); - Rectangle(hDC,output_pos[4].x+128, io_pos[0].y+31,output_pos[4].x+140, io_pos[0].y+46); - Rectangle(hDC,output_pos[4].x+128, io_pos[0].y+133,output_pos[4].x+140, io_pos[0].y+148); - SelectObject(hDC, hWhiteBrush); - Rectangle(hDC,output_pos[4].x+128, io_pos[0].y+49,output_pos[4].x+140, io_pos[0].y+64); - Rectangle(hDC,output_pos[4].x+128, io_pos[0].y+151,output_pos[4].x+140, io_pos[0].y+166); - - TextOut(hDC,output_pos[13].x+90, output_pos[15].y+56," PCI-9112 ",9); - - SetBkMode(hDC,TRANSPARENT); - TextOut(hDC,output_pos[8].x+20, io_pos[15].y+182,"0 1 2 3 4 5",31); - TextOut(hDC,output_pos[4].x+50, io_pos[0].y+67,"Input",5); - TextOut(hDC,output_pos[4].x+50, io_pos[0].y+80,"Range",5); - TextOut(hDC,input_pos[15].x, io_pos[15].y-19,"Volts",5); - switch (range) { - case AD_B_10_V: - TextOut(hDC,input_pos[15].x-5, io_pos[15].y-5,"10.0",4); - TextOut(hDC,input_pos[15].x-8, io_pos[15].y+67,"-10.0",5); - TextOut(hDC,input_pos[15].x-5, io_pos[15].y+87,"10.0",4); - TextOut(hDC,input_pos[15].x-8, io_pos[15].y+159,"-10.0",5); - break; - case AD_B_5_V: - TextOut(hDC,input_pos[15].x-5, io_pos[15].y-5,"5.00",4); - TextOut(hDC,input_pos[15].x-8, io_pos[15].y+67,"-5.00",5); - TextOut(hDC,input_pos[15].x-5, io_pos[15].y+87,"5.00",4); - TextOut(hDC,input_pos[15].x-8, io_pos[15].y+159,"-5.00",5); - break; - case AD_B_2_5_V: - TextOut(hDC,input_pos[15].x-5, io_pos[15].y-5,"2.50",4); - TextOut(hDC,input_pos[15].x-8, io_pos[15].y+67,"-2.50",5); - TextOut(hDC,input_pos[15].x-5, io_pos[15].y+87,"2.50",4); - TextOut(hDC,input_pos[15].x-8, io_pos[15].y+159,"-2.50",5); - break; - case AD_B_1_25_V: - TextOut(hDC,input_pos[15].x-5, io_pos[15].y-5,"1.25",4); - TextOut(hDC,input_pos[15].x-8, io_pos[15].y+67,"-1.25",5); - TextOut(hDC,input_pos[15].x-5, io_pos[15].y+87,"1.25",4); - TextOut(hDC,input_pos[15].x-8, io_pos[15].y+159,"-1.25",5); - break; - case AD_B_0_625_V: - TextOut(hDC,input_pos[15].x-5, io_pos[15].y-5,"0.625",5); - TextOut(hDC,input_pos[15].x-8, io_pos[15].y+67,"-0.625",6); - TextOut(hDC,input_pos[15].x-5, io_pos[15].y+87,"0.625",5); - TextOut(hDC,input_pos[15].x-8, io_pos[15].y+159,"-0.625",6); - break; - - case AD_U_10_V: - TextOut(hDC,input_pos[15].x-5, io_pos[15].y-5,"10.0",4); - TextOut(hDC,input_pos[15].x-5, io_pos[15].y+67," 0.0",4); - TextOut(hDC,input_pos[15].x-5, io_pos[15].y+87,"10.0",4); - TextOut(hDC,input_pos[15].x-5, io_pos[15].y+159," 0.0",4); - break; - case AD_U_5_V: - TextOut(hDC,input_pos[15].x-5, io_pos[15].y-5,"5.00",4); - TextOut(hDC,input_pos[15].x-5, io_pos[15].y+67,"0.00",4); - TextOut(hDC,input_pos[15].x-5, io_pos[15].y+87,"5.00",4); - TextOut(hDC,input_pos[15].x-5, io_pos[15].y+159,"0.00",4); - break; - case AD_U_2_5_V: - TextOut(hDC,input_pos[15].x-5, io_pos[15].y-5,"2.50",4); - TextOut(hDC,input_pos[15].x-5, io_pos[15].y+67,"0.00",4); - TextOut(hDC,input_pos[15].x-5, io_pos[15].y+87,"2.50",4); - TextOut(hDC,input_pos[15].x-5, io_pos[15].y+159,"0.00",4); - break; - case AD_U_1_25_V: - TextOut(hDC,input_pos[15].x-5, io_pos[15].y-5,"1.25",4); - TextOut(hDC,input_pos[15].x-5, io_pos[15].y+67,"0.00",4); - TextOut(hDC,input_pos[15].x-5, io_pos[15].y+87,"1.25",4); - TextOut(hDC,input_pos[15].x-5, io_pos[15].y+159,"0.00",4); - break; - } - - TextOut(hDC,input_pos[10].x, io_pos[10].y-19,"Signals",7); - TextOut(hDC,output_pos[4].x+50, io_pos[0].y-20,"Channel",7); - SetBkMode(hDC,OPAQUE); - - // Detect Channel Input - for (i=0; i<16; i++) { - if (input[i]) - SelectObject(hDC, hRedBrush); - else - SelectObject(hDC, GetStockObject(WHITE_BRUSH)); - Ellipse(hDC, input_pos[i].x, input_pos[i].y, input_pos[i].x+20, input_pos[i].y+20); - } - // Channel Output - for (i=0; i<16; i++) { - if ((output>>i)&0x01) - SelectObject(hDC, hRedBrush); - else - SelectObject(hDC, GetStockObject(WHITE_BRUSH)); - Ellipse(hDC, output_pos[i].x, output_pos[i].y, output_pos[i].x+20, output_pos[i].y+20); - } - - EndPaint(hWnd, &ps); - break; - - case WM_HSCROLL: - switch(LOWORD(wParam)) { - case SB_THUMBPOSITION : - pos=HIWORD(wParam); - break; - } - SetScrollPos(lParam,SB_CTL,pos,TRUE); - break; - - case WM_COMMAND: - switch(LOWORD(wParam)) { - case IDM_EXIT: - SendMessage(hWnd, WM_CLOSE, 0, 0L); - break; - case IDC_START: - time_interval=1000/sample_rate; - SetTimer(hWnd, TIMER1, time_interval, NULL); - srand((unsigned)time(NULL)); - bStop=FALSE; - bPause=FALSE; - bStart=TRUE; - break; - case IDC_STOP: - KillTimer(hWnd, TIMER1); - bStop=TRUE; - bPause=FALSE; - bStart=FALSE; - hDC = GetDC(hWnd); - SelectObject(hDC, hBlackBrush); - Rectangle(hDC, output_pos[15].x+35, io_pos[15].y-2, output_pos[4].x+41, io_pos[0].y+83); - Rectangle(hDC, output_pos[15].x+35, io_pos[15].y+87, output_pos[4].x+41, io_pos[0].y+172); - ReleaseDC(hWnd, hDC); - break; - case IDC_PAUSE: - KillTimer(hWnd, TIMER1); - bStop=FALSE; - bPause=TRUE; - bStart=FALSE; - break; - case IDC_DA: - case IDC_DA+1: - case IDC_DA+2: - case IDC_DA+3: - case IDC_DA+4: - case IDC_DA+5: - case IDC_DA+6: - case IDC_DA+7: - k=LOWORD(wParam)-IDC_DA; - if (bCheck1[k]) { - SendMessage(GetDlgItem(hWnd,wParam), BM_SETCHECK, 0, 0); - bCheck1[k]=FALSE; - } - else { - SendMessage(GetDlgItem(hWnd,wParam), BM_SETCHECK, 1, 0); - bCheck1[k]=TRUE; - } - break; - case IDC_DA+8: - case IDC_DA+9: - case IDC_DA+10: - case IDC_DA+11: - case IDC_DA+12: - case IDC_DA+13: - case IDC_DA+14: - case IDC_DA+15: - k=LOWORD(wParam)-IDC_DA-8; - if (bCheck2[k]) { - SendMessage(GetDlgItem(hWnd,wParam), BM_SETCHECK, 0, 0); - bCheck2[k]=FALSE; - } - else { - SendMessage(GetDlgItem(hWnd,wParam), BM_SETCHECK, 1, 0); - bCheck2[k]=TRUE; - } - break; - case IDC_GAIN: - if (HIWORD(wParam) == CBN_CLOSEUP) { - if ((i=(int)SendMessage(GetDlgItem(hWnd,IDC_GAIN),CB_GETCURSEL, 0, 0L))>=0 ) { - SendMessage(GetDlgItem(hWnd,IDC_GAIN), CB_GETLBTEXT, i, (LPARAM)((LPCSTR)n)); - range = range_value[i]; - InvalidateRect(hWnd, NULL, FALSE); - } - } - break; - default: - return(DefWindowProc(hWnd, message, wParam, lParam)); - } - break; - case WM_TIMER: - if (card >= 0) { - hDC = GetDC(hWnd); - for (i=0; i<16; i++) { - DI_ReadLine (card, 0, i, &input[i]); - if ((input[i] & 0x01 ) != ((oldinput[i])&0x01)) { - if (input[i] & 0x01) - SelectObject(hDC, hRedBrush); - else - SelectObject(hDC, GetStockObject(WHITE_BRUSH)); - Ellipse(hDC, input_pos[i].x, input_pos[i].y, input_pos[i].x+20, input_pos[i].y+20); - oldinput[i]=input[i]; - } - } - /* Analog Input */ - BitBlt(hDC,output_pos[15].x+39,io_pos[15].y-2,331,85,hDC,output_pos[15].x+35,io_pos[15].y-2,SRCCOPY); - for (i=0;i<8;i++ ) { - if (bCheck1[i]) { - AI_ReadChannel(card, i, range, &analog_input[i]); - switch(i) { - case 0: - SelectObject(hDC, hYellowPen); - break; - case 1: - SelectObject(hDC, hGreenPen); - break; - case 2: - SelectObject(hDC, hBluePen); - break; - case 3: - SelectObject(hDC, hRedPen); - break; - case 4: - SelectObject(hDC, hLTBluePen); - break; - case 5: - SelectObject(hDC, hLTRedPen); - break; - case 6: - SelectObject(hDC, hLTGreenPen); - break; - case 7: - SelectObject(hDC, hWhitePen); - break; - } - analog_input[i] = (analog_input[i] >> 4) & 0x0fff; - adinput[i]=io_pos[0].y+83-(85*(unsigned long)analog_input[i])/4095; - if (old_adinput1[i]!=-1 ) { - MoveToEx(hDC,output_pos[15].x+39,adinput[i],NULL ); - LineTo(hDC,output_pos[15].x+43,old_adinput1[i]); - } - old_adinput1[i]=adinput[i]; - } - } - BitBlt(hDC,output_pos[15].x+39,io_pos[15].y+87,331,85,hDC,output_pos[15].x+35,io_pos[15].y+87,SRCCOPY); - for (i=0;i<8;i++ ) { - if (bCheck2[i]) { - AI_ReadChannel(card, i+8, range, &analog_input[i+8]); - - switch(i) { - case 0: - SelectObject(hDC, hYellowPen); - break; - case 1: - SelectObject(hDC, hGreenPen); - break; - case 2: - SelectObject(hDC, hBluePen); - break; - case 3: - SelectObject(hDC, hRedPen); - break; - case 4: - SelectObject(hDC, hLTBluePen); - break; - case 5: - SelectObject(hDC, hLTRedPen); - break; - case 6: - SelectObject(hDC, hLTGreenPen); - break; - case 7: - SelectObject(hDC, hWhitePen); - break; - } - analog_input[i+8] = (analog_input[i+8]>>4) & 0x0fff; - adinput[i+8]=io_pos[0].y+172-(85*(unsigned long)analog_input[i+8])/4095; - if (old_adinput2[i]!=-1 ) { - MoveToEx(hDC,output_pos[15].x+39,adinput[i+8],NULL); - LineTo(hDC,output_pos[15].x+43,old_adinput2[i]); - } - old_adinput2[i]=adinput[i+8]; - } - } - ReleaseDC(hWnd, hDC); - /* Analog Output */ - for (i=0; i<2; i++) { - AO_WriteChannel(card, i, pos); - } - } - break; - case WM_DESTROY: - if (card >= 0) Release_Card(card); - DeleteObject(hRedBrush); - DeleteObject(hGreenBrush); - DeleteObject(hLTGreenBrush); - DeleteObject(hYellowBrush); - DeleteObject(hBlueBrush) ; - DeleteObject(hBlackBrush); - DeleteObject(hRedPen); - DeleteObject(hYellowPen); - DeleteObject(hBluePen); - DeleteObject(hGreenPen); - DeleteObject(hLTBluePen); - DeleteObject(hLTRedPen); - DeleteObject(hLTGreenPen); - DeleteObject(hWhitePen); - PostQuitMessage(0); - break; - case WM_LBUTTONDOWN: - if (card >= 0) { - px = LOWORD(lParam); - py = HIWORD(lParam); - for (i=0; i<16; i++) { - if (px>output_pos[i].x && pxoutput_pos[i].y && py>i)&0x01) { - output -= (((unsigned int)1)< -# Microsoft Developer Studio Generated Build File, Format Version 5.00 -# ** DO NOT EDIT ** - -# TARGTYPE "Win32 (x86) Application" 0x0101 - -CFG=9112CDMA - Win32 Release -!MESSAGE This is not a valid makefile. To build this project using NMAKE, -!MESSAGE use the Export Makefile command and run -!MESSAGE -!MESSAGE NMAKE /f "9112cdma.mak". -!MESSAGE -!MESSAGE You can specify a configuration when running NMAKE -!MESSAGE by defining the macro CFG on the command line. For example: -!MESSAGE -!MESSAGE NMAKE /f "9112cdma.mak" CFG="9112CDMA - Win32 Release" -!MESSAGE -!MESSAGE Possible choices for configuration are: -!MESSAGE -!MESSAGE "9112CDMA - Win32 Release" (based on "Win32 (x86) Application") -!MESSAGE "9112CDMA - Win32 Debug" (based on "Win32 (x86) Application") -!MESSAGE - -# Begin Project -# PROP Scc_ProjName "" -# PROP Scc_LocalPath "" -CPP=cl.exe -MTL=midl.exe -RSC=rc.exe - -!IF "$(CFG)" == "9112CDMA - Win32 Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir ".\9112CDMA" -# PROP BASE Intermediate_Dir ".\9112CDMA" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "" -# PROP Intermediate_Dir ".\Release" -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /YX /c -# ADD CPP /nologo /MT /W3 /GX /Od /I "..\..\..\include" /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /FD /c -# SUBTRACT CPP /YX -# ADD BASE MTL /nologo /D "NDEBUG" /win32 -# ADD MTL /nologo /D "NDEBUG" /mktyplib203 /win32 -# ADD BASE RSC /l 0x409 /d "NDEBUG" -# ADD RSC /l 0x409 /d "NDEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:windows /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ..\..\..\lib\pci-dask.lib /nologo /subsystem:windows /machine:I386 - -!ELSEIF "$(CFG)" == "9112CDMA - Win32 Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir ".\9112CDM0" -# PROP BASE Intermediate_Dir ".\9112CDM0" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir ".\9112CDM0" -# PROP Intermediate_Dir ".\9112CDM0" -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /Gm /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /YX /c -# ADD CPP /nologo /MTd /W3 /Gm /GX /Zi /Od /I "..\..\..\include" /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /FD /c -# SUBTRACT CPP /YX -# ADD BASE MTL /nologo /D "_DEBUG" /win32 -# ADD MTL /nologo /D "_DEBUG" /mktyplib203 /win32 -# ADD BASE RSC /l 0x409 /d "_DEBUG" -# ADD RSC /l 0x409 /d "_DEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:windows /debug /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ..\..\..\lib\pci-dask.lib /nologo /subsystem:windows /debug /machine:I386 - -!ENDIF - -# Begin Target - -# Name "9112CDMA - Win32 Release" -# Name "9112CDMA - Win32 Debug" -# Begin Group "Source Files" - -# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;hpj;bat;for;f90" -# Begin Source File - -SOURCE=.\9112CDMA.C -# End Source File -# Begin Source File - -SOURCE=.\9112CDMA.RC -# End Source File -# End Group -# Begin Group "Header Files" - -# PROP Default_Filter "h;hpp;hxx;hm;inl;fi;fd" -# End Group -# Begin Group "Resource Files" - -# PROP Default_Filter "ico;cur;bmp;dlg;rc2;rct;bin;cnt;rtf;gif;jpg;jpeg;jpe" -# End Group -# End Target -# End Project diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9112/SDK9112DbfCallBack/9112CDMA.DSW b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9112/SDK9112DbfCallBack/9112CDMA.DSW deleted file mode 100644 index dd56a7f..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9112/SDK9112DbfCallBack/9112CDMA.DSW +++ /dev/null @@ -1,29 +0,0 @@ -Microsoft Developer Studio Workspace File, Format Version 5.00 -# WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE! - -############################################################################### - -Project: "9112CDMA"=.\9112cdma.dsp - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ -}}} - -############################################################################### - -Global: - -Package=<5> -{{{ -}}} - -Package=<3> -{{{ -}}} - -############################################################################### - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9112/SDK9112DbfCallBack/9112CDMA.EXE b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9112/SDK9112DbfCallBack/9112CDMA.EXE deleted file mode 100644 index 3cb9e22..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9112/SDK9112DbfCallBack/9112CDMA.EXE and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9112/SDK9112DbfCallBack/9112cdma.c b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9112/SDK9112DbfCallBack/9112cdma.c deleted file mode 100644 index 45faf5a..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9112/SDK9112DbfCallBack/9112cdma.c +++ /dev/null @@ -1,533 +0,0 @@ -#include -#include -#include -#include -#include -#include -#include "resource.h" -#include "Dask.h" - -#define IDM_EXIT 110 -#define IDC_SCROLL 207 -#define IDC_SPIN 301 -#define IDC_START 208 -#define IDC_STOP 209 -#define IDC_EDIT 211 -#define IDC_EDIT1 214 -#define IDC_SHOW 213 -#define IDC_CH 400 - -int PASCAL WinMain(HANDLE, HANDLE, LPSTR, int); -long PASCAL MainWndProc(HWND, UINT, WPARAM, LPARAM); -BOOL PASCAL ShowDMA(HWND, UINT, WPARAM, LPARAM); - -HANDLE hInst; -HWND hListBox; -HWND hEdit,hEdit1, hStart, hStop; -BOOL bCheck[8]; - -HBRUSH hBlackBrush; -HPEN hRedPen, hBlackPen; -HWND hMainWnd; - -unsigned int sample_rate=10000; -U16 channel; -U32 data_size=1000, mem_size; -static HANDLE hMem=NULL; -U16 *ai_buf; -U32 count = 0; -I16 card=-1, card_number =0; -BOOLEAN clear_op; -//HANDLE hThread; -void AI_DBCallBack(); -void AI_CallBack(); - -POINT input_pos[16]= {{470, 280}, {440, 280}, - {410, 280}, {380, 280}, - {350, 280}, {320, 280}, - { 290, 280}, {260, 280}, - {230, 280}, {200, 280}, - {170, 280}, {140, 280}, - {110, 280}, {80, 280}, - { 50, 280}, { 20, 280}, - }; -POINT output_pos[16] ={ - {470, 340}, {440, 340}, - {410, 340}, {380, 340}, - {350, 340}, {320, 340}, - { 290, 340}, {260, 340}, - {230, 340}, {200, 340}, - {170, 340}, {140, 340}, - {110, 340}, {80, 340}, - { 50, 340}, { 20, 340}, - }; - -POINT io_pos[16] ={ - {395, 40}, {370, 40}, - {345, 40}, {320, 40}, - {295, 40}, {270, 40}, - { 245, 40}, {220, 40}, - {195, 40}, {170, 40}, - {145, 40}, {120, 40}, - {95, 40}, {70, 40}, - { 45, 40}, { 20, 40}, - }; - -BOOL InitApplication(HANDLE); -BOOL InitInstance(HANDLE, int); -//void ProcessThread(void* pArg); - -int PASCAL WinMain(hInstance, hPrevInstance, lpCmdLine, nCmdShow) -HANDLE hInstance, hPrevInstance; -LPSTR lpCmdLine; -int nCmdShow; -{ - MSG msg; - - if (!hPrevInstance) - if (!InitApplication(hInstance)) return(FALSE); - if (!InitInstance(hInstance, nCmdShow)) return(FALSE); - while (GetMessage(&msg, NULL, NULL, NULL)) { - TranslateMessage(&msg); - DispatchMessage(&msg); - } - return(msg.wParam); -} - -BOOL InitApplication(hInstance) -HANDLE hInstance; -{ - WNDCLASS wc; - - /* Main Window Class */ - wc.style = NULL; - wc.lpfnWndProc = (WNDPROC)MainWndProc; - wc.cbClsExtra = 0; - wc.cbWndExtra = 0; - wc.hInstance = hInstance; - wc.hIcon = LoadIcon(hInstance, "MyIcon"); - wc.hCursor = LoadCursor(NULL, IDC_ARROW); - wc.hbrBackground = GetStockObject(LTGRAY_BRUSH); - wc.lpszMenuName = NULL; - wc.lpszClassName = "GenericWClass"; - if (!RegisterClass(&wc)) return(FALSE); -} - - -BOOL InitInstance(hInstance, nCmdShow) -HANDLE hInstance; -int nCmdShow; -{ - HWND hWnd; - HMENU hSampleMenu; - - hInst = hInstance; - hSampleMenu = LoadMenu(hInstance, "U7120Menu"); - hWnd = CreateWindow("GenericWClass", - (LPCSTR)"PCI-9112 Double Buffered DMA", - WS_OVERLAPPEDWINDOW, - CW_USEDEFAULT, - CW_USEDEFAULT, - 520, - 400, - NULL, - hSampleMenu, - hInstance, - NULL); - if (!hWnd) return(FALSE); - ShowWindow(hWnd, nCmdShow); - UpdateWindow(hWnd); - return(TRUE); -} - -BOOL PASCAL setup(HWND hWnd, unsigned message, WPARAM wParam, LPARAM lParam) -{ - int i; - char n[16]; - char s[50]; - switch (message) { - case WM_INITDIALOG: - for (i=0;i<16;i++) { - wsprintf(n, "%d", i); - _strupr(n); - SendMessage(GetDlgItem(hWnd,IDC_COMBO1), CB_ADDSTRING, NULL, (LONG)(LPSTR) n); - } - SendMessage(GetDlgItem(hWnd,IDC_COMBO1) , CB_SETCURSEL, 0, 0L); - - break; - case WM_COMMAND: - switch(LOWORD(wParam)) { - - case IDC_COMBO1: - if (HIWORD(wParam) == CBN_CLOSEUP) { - i = (int)SendMessage(GetDlgItem(hWnd,IDC_COMBO1), CB_GETCURSEL, 0, 0L); - SendMessage(GetDlgItem(hWnd,IDC_COMBO1), CB_GETLBTEXT, i, (LPARAM)((LPCSTR)n)); - card_number = i; - } - return(TRUE); - case IDOK: - if ((card=Register_Card(PCI_9112, card_number)) < 0) { - wsprintf(s, "Register_Card Error = %d\n", card); - MessageBox(hWnd, s, "Error", MB_OK); - SendMessage(hWnd, WM_CLOSE, 0, 0L); - break; - } - EndDialog(hWnd, TRUE); - InvalidateRect(hWnd, NULL, FALSE); - return (TRUE); - case IDCANCEL: - EndDialog(hWnd, TRUE); - return (TRUE); - } - break; - } - return (FALSE); -} - -long PASCAL MainWndProc(hWnd, message, wParam, lParam) -HWND hWnd; -UINT message; -WPARAM wParam; -LPARAM lParam; -{ - HDC hDC; - PAINTSTRUCT ps; - int i; - char n[6]; - static int pos=0; - I16 err; - char s[50]; - - switch(message) { - case WM_CREATE: - DialogBox(hInst,IDD_DIALOG2, hWnd, setup); - if(card<0) { - SendMessage(hWnd, WM_CLOSE, 0, 0L); - break; - } - hEdit=CreateWindow("EDIT", NULL, - WS_CHILD | WS_VISIBLE | ES_LEFT, - output_pos[13].x-30, input_pos[15].y+20,40, 20, hWnd, IDC_EDIT, hInst, NULL); - - hEdit1=CreateWindow("EDIT", NULL, - WS_CHILD | WS_VISIBLE | ES_LEFT, - output_pos[13].x+90, input_pos[15].y+20,60, 20, hWnd, IDC_EDIT1, hInst, NULL); - - wsprintf(n,"%d",sample_rate/1000); - SetWindowText(hEdit,n); - - wsprintf(n,"%d",data_size); - SetWindowText(hEdit1,n); - - CreateWindow("SCROLLBAR", NULL, - WS_CHILD | WS_VISIBLE | SBS_VERT, - output_pos[13].x+10, input_pos[15].y+20,20, 20, hWnd, IDC_SCROLL, hInst, NULL); - - hStart = CreateWindow("BUTTON","Start" , - WS_CHILD | WS_VISIBLE , - output_pos[10].x+110, input_pos[10].y+10,50, 30, hWnd, IDC_START, hInst, NULL); - - hStop = CreateWindow("BUTTON","Stop" , - WS_CHILD | WS_VISIBLE , - output_pos[10].x+170, input_pos[10].y+10,50, 30, hWnd, IDC_STOP, hInst, NULL); - - CreateWindow("BUTTON","Data Value" , - WS_CHILD | WS_VISIBLE , - output_pos[10].x+230, input_pos[10].y+10,80, 30, hWnd, IDC_SHOW, hInst, NULL); - EnableWindow(hStop, FALSE); - - CreateWindow("BUTTON","0" , - WS_CHILD | WS_VISIBLE | BS_AUTORADIOBUTTON | BS_LEFTTEXT | WS_GROUP , - output_pos[4].x+50, io_pos[0].y-5+20,25,15, hWnd,IDC_CH, hInst, NULL); - - CreateWindow("BUTTON","1" , - WS_CHILD | WS_VISIBLE | BS_AUTORADIOBUTTON | BS_LEFTTEXT | WS_GROUP, - output_pos[4].x+50, io_pos[0].y+13+20,25,15, hWnd,IDC_CH+1, hInst, NULL); - - CreateWindow("BUTTON","2" , - WS_CHILD | WS_VISIBLE | BS_AUTORADIOBUTTON | BS_LEFTTEXT | WS_GROUP, - output_pos[4].x+50, io_pos[0].y+31+20,25,15, hWnd,IDC_CH+2, hInst, NULL); - - CreateWindow("BUTTON","3" , - WS_CHILD | WS_VISIBLE | BS_AUTORADIOBUTTON | BS_LEFTTEXT | WS_GROUP, - output_pos[4].x+50, io_pos[0].y+49+20,25,15, hWnd,IDC_CH+3, hInst, NULL); - - CreateWindow("BUTTON","4" , - WS_CHILD | WS_VISIBLE | BS_AUTORADIOBUTTON | BS_LEFTTEXT | WS_GROUP, - output_pos[4].x+100, io_pos[0].y-5+20,25,15, hWnd,IDC_CH+4, hInst, NULL); - - CreateWindow("BUTTON","5" , - WS_CHILD | WS_VISIBLE | BS_AUTORADIOBUTTON | BS_LEFTTEXT | WS_GROUP, - output_pos[4].x+100, io_pos[0].y+13+20,25,15, hWnd, IDC_CH+5, hInst, NULL); - - CreateWindow("BUTTON","6" , - WS_CHILD | WS_VISIBLE | BS_AUTORADIOBUTTON | BS_LEFTTEXT | WS_GROUP, - output_pos[4].x+100, io_pos[0].y+31+20,25,15, hWnd,IDC_CH+6, hInst, NULL); - - CreateWindow("BUTTON","7" , - WS_CHILD | WS_VISIBLE | BS_AUTORADIOBUTTON | BS_LEFTTEXT | WS_GROUP, - output_pos[4].x+100, io_pos[0].y+49+20,25,15, hWnd, IDC_CH+7, hInst, NULL); - - //default channel 0 - for (i=1;i<8;i++) bCheck[i]=FALSE; - bCheck[0] = TRUE; - channel = 0; - SendMessage(GetDlgItem(hWnd,IDC_CH), BM_SETCHECK, 1, 0); - - hBlackBrush= CreateSolidBrush(RGB(0,0,0)); - hRedPen= CreatePen(PS_SOLID,1,RGB(255,0,0)); - hBlackPen= CreatePen(PS_SOLID,1,RGB(0,0,0)); - break; - - case WM_PAINT: - hDC = BeginPaint(hWnd, &ps); - - // DMA analog input box - SelectObject(hDC, GetStockObject(GRAY_BRUSH)); - Rectangle(hDC, output_pos[15].x-10, io_pos[15].y-24, output_pos[0].x+26, io_pos[0].y+195); - SetTextColor(hDC,RGB(255,255,0)); - SetBkColor(hDC, RGB(0, 0, 255)); - TextOut(hDC, io_pos[15].x, io_pos[15].y-35, "DMA Input", 9); - SelectObject(hDC, hBlackBrush); - Rectangle(hDC, output_pos[15].x+35, io_pos[15].y-2, output_pos[4].x+41, io_pos[0].y+172); - - SetBkMode(hDC,TRANSPARENT); - TextOut(hDC,output_pos[13].x-60, input_pos[10].y,"Samping Rate",12); - TextOut(hDC,output_pos[13].x+30, input_pos[15].y+20,"KHZ",3); - TextOut(hDC,output_pos[13].x+70, input_pos[10].y,"Buffer Size",11); - TextOut(hDC,input_pos[2].x-10, io_pos[15].y+118,"Range: +-5V",11); - TextOut(hDC,input_pos[15].x, io_pos[15].y-19,"Volt",4); - TextOut(hDC,input_pos[15].x, io_pos[15].y-5,"5.00",4); - TextOut(hDC,input_pos[15].x, io_pos[15].y+36,"2.50",4); - TextOut(hDC,input_pos[15].x, io_pos[15].y+77,"0.00",4); - TextOut(hDC,input_pos[15].x-3, io_pos[15].y+118,"-2.50",5); - TextOut(hDC,input_pos[15].x-3, io_pos[15].y+159,"-5.00",5); - TextOut(hDC,input_pos[10].x+10, io_pos[10].y-19,"Signals",7); - TextOut(hDC,output_pos[4].x+60, io_pos[0].y-15,"Channel",7); - EndPaint(hWnd, &ps); - break; - - // Sample Rate Spin Control - case WM_VSCROLL: - switch (LOWORD(wParam)) { - case SB_LINEUP : - sample_rate+=5000; - if (sample_rate > 50000 ) sample_rate=50000; - break; - case SB_LINEDOWN: - sample_rate-=5000; - if (sample_rate < 5000 ) sample_rate=5000; - break; - } - wsprintf(n,"%d",sample_rate/1000); - SetWindowText(hEdit,n); - break; - case WM_COMMAND: - switch(LOWORD(wParam)) { - case IDM_EXIT: - SendMessage(hWnd, WM_CLOSE, 0, 0L); - break; - case IDC_CH: - case IDC_CH+1: - case IDC_CH+2: - case IDC_CH+3: - case IDC_CH+4: - case IDC_CH+5: - case IDC_CH+6: - case IDC_CH+7: - if (!bCheck[wParam-IDC_CH]) { - SendMessage(GetDlgItem(hWnd,wParam), BM_SETCHECK, 1, 0); - SendMessage(GetDlgItem(hWnd,IDC_CH+channel), BM_SETCHECK, 0, 0); - bCheck[channel]=FALSE; - } - channel=wParam-IDC_CH; - bCheck[channel]=TRUE; - break; - - case IDC_SHOW : - DialogBox(hInst, "DMABox", hWnd, ShowDMA); - break; - case IDC_START: - if (hMem != NULL) { - GlobalUnfix(hMem); - GlobalUnlock(hMem); - GlobalFree(hMem); - } - // allocate a memory for DMA - data_size=GetDlgItemInt(hWnd,IDC_EDIT1,NULL ,FALSE); - mem_size=data_size * 2; - hMem = GlobalAlloc(GMEM_FIXED | GMEM_ZEROINIT,mem_size); - - ai_buf = (U16 *)GlobalLock(hMem); - if (ai_buf == NULL ) { - MessageBox(hWnd,"DMA", "No Memory", MB_OK); - SendMessage(hWnd, WM_CLOSE, 0, 0L); - break; - } - - GlobalFix(hMem); - - if ((err=AI_9112_Config(card, TRIG_INT_PACER)) != NoError) { - wsprintf(s, "AI_Config Error = %d\n", err); - MessageBox(hWnd, s, "Error", MB_OK); - SendMessage(hWnd, WM_CLOSE, 0, 0L); - break; - } - if ((err=AI_AsyncDblBufferMode (card, 1)) != NoError) { - wsprintf(s, "AI_AsyncDblBufferMode Error = %d\n", err); - MessageBox(hWnd, s, "Error", MB_OK); - SendMessage(hWnd, WM_CLOSE, 0, 0L); - break; - } - if((err= AI_EventCallBack (card, 1, DBEvent, (U32) AI_DBCallBack)) != NoError) { - wsprintf(s, "AI_EventCallBack Error = %d\n", err); - MessageBox(hWnd, s, "Error", MB_OK); - SendMessage(hWnd, WM_CLOSE, 0, 0L); - break; - } - if((err= AI_EventCallBack (card, 1, AIEnd, (U32) AI_CallBack)) != NoError) { - wsprintf(s, "AI_EventCallBack Error = %d\n", err); - MessageBox(hWnd, s, "Error", MB_OK); - SendMessage(hWnd, WM_CLOSE, 0, 0L); - break; - } - if ((err=AI_ContReadChannel(card, channel, AD_B_5_V, ai_buf, data_size, (F64)sample_rate, ASYNCH_OP)) != NoError) { - wsprintf(s, "AI_ContReadPort Error = %d\n", err); - MessageBox(hWnd, s, "Error", MB_OK); - SendMessage(hWnd, WM_CLOSE, 0, 0L); - break; - } - EnableWindow(hStart, FALSE); - EnableWindow(hStop, TRUE); - - hMainWnd = hWnd; - clear_op = FALSE; - //hThread = (HANDLE)_beginthread(ProcessThread, 0, 0); - MessageBeep(0); - break; - case IDC_STOP: - clear_op = TRUE; - AI_AsyncClear(card, &count); - EnableWindow(hStart, TRUE); - EnableWindow(hStop, FALSE); - break; - default: - return(DefWindowProc(hWnd, message, wParam, lParam)); - } - break; - case WM_DESTROY: - if (card >= 0) Release_Card(card); - DeleteObject(hBlackBrush); - DeleteObject(hRedPen); - GlobalUnfix(hMem); - GlobalUnlock(hMem); - GlobalFree(hMem); - PostQuitMessage(0); - break; - default: - return(DefWindowProc(hWnd, message, wParam, lParam)); - } - return(NULL); -} - -BOOL PASCAL ShowDMA(hDlg, message, wParam, lParam) -HWND hDlg; -UINT message; -WPARAM wParam; -LPARAM lParam; -{ - int nTabs[2] = {32, 92}; - int i; - char cBuf[100]; - char string[10]=" "; - char data_str[3]=" "; - U16 *pp; - switch (message) { - case WM_INITDIALOG: - hListBox = CreateWindow("LISTBOX", "Index Data (Hex)", - WS_CHILD | WS_VISIBLE | LBS_HASSTRINGS | LBS_STANDARD | LBS_USETABSTOPS |WS_CAPTION, - 50, 40, 240, 180, hDlg, 100, hInst, NULL); - SendMessage(hListBox, LB_RESETCONTENT, 0, 0L); - SendMessage(hListBox, LB_SETTABSTOPS, 2, (DWORD)(LPINT) nTabs); - SetDlgItemText(hDlg, DMA_DESCP, "This ListBox can show at most 4000 data"); - itoa( data_size, string, 10); - SetDlgItemText(hDlg, DMA_SPACE, string); - - pp = (U16 *)ai_buf; - if (data_size > 4000) data_size = 4000; - for(i=0;i>4; - newy = io_pos[0].y+171-(172*(U32)adinput)/4095; - newx = i*336/tfer_size+output_pos[15].x+35; - if (i==0) - MoveToEx(hDC, newx, newy, NULL); - else - MoveToEx(hDC, oldx, oldy, NULL); - LineTo(hDC, newx, newy); - oldx = newx; - oldy = newy; - } - ReleaseDC(hMainWnd, hDC); -} - -void AI_CallBack() -{ - HDC hDC; - U16 adinput; - U32 i, oldx, oldy, newx, newy; - U32 tfer_size; - hDC = GetDC(hMainWnd); - tfer_size = data_size/2; //Every time transfer half size of buffer - AI_AsyncDblBufferTransfer(card, ai_buf); - if (!count) count = tfer_size; - SelectObject(hDC, hBlackBrush); - SelectObject(hDC, hBlackPen); - Rectangle(hDC, output_pos[15].x+35, io_pos[15].y-2, output_pos[4].x+41, io_pos[0].y+172); - SelectObject(hDC, hRedPen); - for (i=0; i>4; - newy = io_pos[0].y+171-(172*(U32)adinput)/4095; - newx = i*336/tfer_size+output_pos[15].x+35; - if (i==0) - MoveToEx(hDC, newx, newy, NULL); - else - MoveToEx(hDC, oldx, oldy, NULL); - LineTo(hDC, newx, newy); - oldx = newx; - oldy = newy; - } - ReleaseDC(hMainWnd, hDC); -} \ No newline at end of file diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9112/SDK9112DbfCallBack/9112cdma.rc b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9112/SDK9112DbfCallBack/9112cdma.rc deleted file mode 100644 index b964e4a..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9112/SDK9112DbfCallBack/9112cdma.rc +++ /dev/null @@ -1,126 +0,0 @@ -//Microsoft Developer Studio generated resource script. -// -#include "resource.h" - -#define APSTUDIO_READONLY_SYMBOLS -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 2 resource. -// -#define APSTUDIO_HIDDEN_SYMBOLS -#include "windows.h" -#undef APSTUDIO_HIDDEN_SYMBOLS - -///////////////////////////////////////////////////////////////////////////// -#undef APSTUDIO_READONLY_SYMBOLS - -///////////////////////////////////////////////////////////////////////////// -// English (U.S.) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -#ifdef _WIN32 -LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US -#pragma code_page(1252) -#endif //_WIN32 - -///////////////////////////////////////////////////////////////////////////// -// -// Menu -// - -U7120MENU MENU DISCARDABLE -BEGIN - MENUITEM "E&xit!", IDM_EXIT -END - - -#ifdef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// TEXTINCLUDE -// - -1 TEXTINCLUDE DISCARDABLE -BEGIN - "resource.h\0" -END - -2 TEXTINCLUDE DISCARDABLE -BEGIN - "#define APSTUDIO_HIDDEN_SYMBOLS\r\n" - "#include ""windows.h""\r\n" - "#undef APSTUDIO_HIDDEN_SYMBOLS\r\n" - "\0" -END - -3 TEXTINCLUDE DISCARDABLE -BEGIN - "\r\n" - "\0" -END - -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog -// - -DMABOX DIALOG DISCARDABLE 18, 10, 171, 169 -STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "Data Value (half of circular buffer)" -FONT 8, "System" -BEGIN - PUSHBUTTON "STOP",ID_STOP,82,147,24,14 - LTEXT "Data Transferred :",-1,39,119,64,8 - LTEXT "Text",DMA_SPACE,103,118,41,8 - LTEXT "Text",DMA_DESCP,16,6,158,8 -END - -IDD_DIALOG2 DIALOG DISCARDABLE 110, 10, 106, 61 -STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "Card Number" -FONT 10, "System" -BEGIN - DEFPUSHBUTTON "OK",IDOK,10,40,37,14 - PUSHBUTTON "Cancel",IDCANCEL,61,40,38,14 - LTEXT "Card Number",IDC_STATIC,3,13,47,13 - COMBOBOX IDC_COMBO1,51,13,48,90,CBS_DROPDOWN | WS_VSCROLL | - WS_TABSTOP -END - - -///////////////////////////////////////////////////////////////////////////// -// -// DESIGNINFO -// - -#ifdef APSTUDIO_INVOKED -GUIDELINES DESIGNINFO DISCARDABLE -BEGIN - IDD_DIALOG2, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 99 - TOPMARGIN, 7 - BOTTOMMARGIN, 54 - END -END -#endif // APSTUDIO_INVOKED - -#endif // English (U.S.) resources -///////////////////////////////////////////////////////////////////////////// - - - -#ifndef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 3 resource. -// - - -///////////////////////////////////////////////////////////////////////////// -#endif // not APSTUDIO_INVOKED - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9112/SDK9112DbfCallBack/resource.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9112/SDK9112DbfCallBack/resource.h deleted file mode 100644 index ef86c07..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9112/SDK9112DbfCallBack/resource.h +++ /dev/null @@ -1,24 +0,0 @@ -//{{NO_DEPENDENCIES}} -// Microsoft Developer Studio generated include file. -// Used by 9112cdma.rc -// -#define IDM_SETUP 101 -#define IDD_DIALOG1 101 -#define IDD_DIALOG2 103 -#define IDM_EXIT 110 -#define ID_STOP 304 -#define DMA_SPACE 500 -#define DMA_DESCP 600 -#define IDC_COMBO1 1015 -#define IDC_STATIC -1 - -// Next default values for new objects -// -#ifdef APSTUDIO_INVOKED -#ifndef APSTUDIO_READONLY_SYMBOLS -#define _APS_NEXT_RESOURCE_VALUE 104 -#define _APS_NEXT_COMMAND_VALUE 102 -#define _APS_NEXT_CONTROL_VALUE 1001 -#define _APS_NEXT_SYMED_VALUE 101 -#endif -#endif diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9112/SDK9112DbfDma/9112CDMA.C b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9112/SDK9112DbfDma/9112CDMA.C deleted file mode 100644 index a46f183..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9112/SDK9112DbfDma/9112CDMA.C +++ /dev/null @@ -1,500 +0,0 @@ -#include -#include -#include -#include -#include -#include -#include "resource.h" -#include "Dask.h" - -#define IDM_EXIT 110 -#define IDC_SCROLL 207 -#define IDC_SPIN 301 -#define IDC_START 208 -#define IDC_STOP 209 -#define IDC_EDIT 211 -#define IDC_EDIT1 214 -#define IDC_SHOW 213 -#define IDC_CH 400 - -int PASCAL WinMain(HANDLE, HANDLE, LPSTR, int); -long PASCAL MainWndProc(HWND, UINT, WPARAM, LPARAM); -BOOL PASCAL ShowDMA(HWND, UINT, WPARAM, LPARAM); - -HANDLE hInst; -HWND hListBox; -HWND hEdit,hEdit1, hStart, hStop; -BOOL bCheck[8]; - -HBRUSH hBlackBrush; -HPEN hRedPen, hBlackPen; -HWND hMainWnd; - -unsigned int sample_rate=10000; -U16 channel; -U32 data_size=1000, mem_size; -static HANDLE hMem=NULL; -U16 *ai_buf; - -I16 card=-1, card_number =0; -BOOLEAN clear_op; -HANDLE hThread; - -POINT input_pos[16]= {{470, 280}, {440, 280}, - {410, 280}, {380, 280}, - {350, 280}, {320, 280}, - { 290, 280}, {260, 280}, - {230, 280}, {200, 280}, - {170, 280}, {140, 280}, - {110, 280}, {80, 280}, - { 50, 280}, { 20, 280}, - }; -POINT output_pos[16] ={ - {470, 340}, {440, 340}, - {410, 340}, {380, 340}, - {350, 340}, {320, 340}, - { 290, 340}, {260, 340}, - {230, 340}, {200, 340}, - {170, 340}, {140, 340}, - {110, 340}, {80, 340}, - { 50, 340}, { 20, 340}, - }; - -POINT io_pos[16] ={ - {395, 40}, {370, 40}, - {345, 40}, {320, 40}, - {295, 40}, {270, 40}, - { 245, 40}, {220, 40}, - {195, 40}, {170, 40}, - {145, 40}, {120, 40}, - {95, 40}, {70, 40}, - { 45, 40}, { 20, 40}, - }; - -BOOL InitApplication(HANDLE); -BOOL InitInstance(HANDLE, int); -void ProcessThread(void* pArg); - -int PASCAL WinMain(hInstance, hPrevInstance, lpCmdLine, nCmdShow) -HANDLE hInstance, hPrevInstance; -LPSTR lpCmdLine; -int nCmdShow; -{ - MSG msg; - - if (!hPrevInstance) - if (!InitApplication(hInstance)) return(FALSE); - if (!InitInstance(hInstance, nCmdShow)) return(FALSE); - while (GetMessage(&msg, NULL, NULL, NULL)) { - TranslateMessage(&msg); - DispatchMessage(&msg); - } - return(msg.wParam); -} - -BOOL InitApplication(hInstance) -HANDLE hInstance; -{ - WNDCLASS wc; - - /* Main Window Class */ - wc.style = NULL; - wc.lpfnWndProc = (WNDPROC)MainWndProc; - wc.cbClsExtra = 0; - wc.cbWndExtra = 0; - wc.hInstance = hInstance; - wc.hIcon = LoadIcon(hInstance, "MyIcon"); - wc.hCursor = LoadCursor(NULL, IDC_ARROW); - wc.hbrBackground = GetStockObject(LTGRAY_BRUSH); - wc.lpszMenuName = NULL; - wc.lpszClassName = "GenericWClass"; - if (!RegisterClass(&wc)) return(FALSE); -} - - -BOOL InitInstance(hInstance, nCmdShow) -HANDLE hInstance; -int nCmdShow; -{ - HWND hWnd; - HMENU hSampleMenu; - - hInst = hInstance; - hSampleMenu = LoadMenu(hInstance, "U7120Menu"); - hWnd = CreateWindow("GenericWClass", - (LPCSTR)"PCI-9112 Double Buffered DMA", - WS_OVERLAPPEDWINDOW, - CW_USEDEFAULT, - CW_USEDEFAULT, - 520, - 400, - NULL, - hSampleMenu, - hInstance, - NULL); - if (!hWnd) return(FALSE); - ShowWindow(hWnd, nCmdShow); - UpdateWindow(hWnd); - return(TRUE); -} - -BOOL PASCAL setup(HWND hWnd, unsigned message, WPARAM wParam, LPARAM lParam) -{ - int i; - char n[16]; - char s[50]; - switch (message) { - case WM_INITDIALOG: - for (i=0;i<16;i++) { - wsprintf(n, "%d", i); - _strupr(n); - SendMessage(GetDlgItem(hWnd,IDC_COMBO1), CB_ADDSTRING, NULL, (LONG)(LPSTR) n); - } - SendMessage(GetDlgItem(hWnd,IDC_COMBO1) , CB_SETCURSEL, 0, 0L); - - break; - case WM_COMMAND: - switch(LOWORD(wParam)) { - - case IDC_COMBO1: - if (HIWORD(wParam) == CBN_CLOSEUP) { - i = (int)SendMessage(GetDlgItem(hWnd,IDC_COMBO1), CB_GETCURSEL, 0, 0L); - SendMessage(GetDlgItem(hWnd,IDC_COMBO1), CB_GETLBTEXT, i, (LPARAM)((LPCSTR)n)); - card_number = i; - } - return(TRUE); - case IDOK: - if ((card=Register_Card(PCI_9112, card_number)) < 0) { - wsprintf(s, "Register_Card Error = %d\n", card); - MessageBox(hWnd, s, "Error", MB_OK); - SendMessage(hWnd, WM_CLOSE, 0, 0L); - break; - } - EndDialog(hWnd, TRUE); - InvalidateRect(hWnd, NULL, FALSE); - return (TRUE); - case IDCANCEL: - EndDialog(hWnd, TRUE); - return (TRUE); - } - break; - } - return (FALSE); -} - -long PASCAL MainWndProc(hWnd, message, wParam, lParam) -HWND hWnd; -UINT message; -WPARAM wParam; -LPARAM lParam; -{ - HDC hDC; - PAINTSTRUCT ps; - int i; - char n[6]; - static int pos=0; - I16 err; - U32 count; - char s[50]; - - switch(message) { - case WM_CREATE: - DialogBox(hInst,IDD_DIALOG2, hWnd, setup); - if(card<0) { - SendMessage(hWnd, WM_CLOSE, 0, 0L); - break; - } - hEdit=CreateWindow("EDIT", NULL, - WS_CHILD | WS_VISIBLE | ES_LEFT, - output_pos[13].x-30, input_pos[15].y+20,40, 20, hWnd, IDC_EDIT, hInst, NULL); - - hEdit1=CreateWindow("EDIT", NULL, - WS_CHILD | WS_VISIBLE | ES_LEFT, - output_pos[13].x+90, input_pos[15].y+20,60, 20, hWnd, IDC_EDIT1, hInst, NULL); - - wsprintf(n,"%d",sample_rate/1000); - SetWindowText(hEdit,n); - - wsprintf(n,"%d",data_size); - SetWindowText(hEdit1,n); - - CreateWindow("SCROLLBAR", NULL, - WS_CHILD | WS_VISIBLE | SBS_VERT, - output_pos[13].x+10, input_pos[15].y+20,20, 20, hWnd, IDC_SCROLL, hInst, NULL); - - hStart = CreateWindow("BUTTON","Start" , - WS_CHILD | WS_VISIBLE , - output_pos[10].x+110, input_pos[10].y+10,50, 30, hWnd, IDC_START, hInst, NULL); - - hStop = CreateWindow("BUTTON","Stop" , - WS_CHILD | WS_VISIBLE , - output_pos[10].x+170, input_pos[10].y+10,50, 30, hWnd, IDC_STOP, hInst, NULL); - - CreateWindow("BUTTON","Data Value" , - WS_CHILD | WS_VISIBLE , - output_pos[10].x+230, input_pos[10].y+10,80, 30, hWnd, IDC_SHOW, hInst, NULL); - EnableWindow(hStop, FALSE); - - CreateWindow("BUTTON","0" , - WS_CHILD | WS_VISIBLE | BS_AUTORADIOBUTTON | BS_LEFTTEXT | WS_GROUP , - output_pos[4].x+50, io_pos[0].y-5+20,25,15, hWnd,IDC_CH, hInst, NULL); - - CreateWindow("BUTTON","1" , - WS_CHILD | WS_VISIBLE | BS_AUTORADIOBUTTON | BS_LEFTTEXT | WS_GROUP, - output_pos[4].x+50, io_pos[0].y+13+20,25,15, hWnd,IDC_CH+1, hInst, NULL); - - CreateWindow("BUTTON","2" , - WS_CHILD | WS_VISIBLE | BS_AUTORADIOBUTTON | BS_LEFTTEXT | WS_GROUP, - output_pos[4].x+50, io_pos[0].y+31+20,25,15, hWnd,IDC_CH+2, hInst, NULL); - - CreateWindow("BUTTON","3" , - WS_CHILD | WS_VISIBLE | BS_AUTORADIOBUTTON | BS_LEFTTEXT | WS_GROUP, - output_pos[4].x+50, io_pos[0].y+49+20,25,15, hWnd,IDC_CH+3, hInst, NULL); - - CreateWindow("BUTTON","4" , - WS_CHILD | WS_VISIBLE | BS_AUTORADIOBUTTON | BS_LEFTTEXT | WS_GROUP, - output_pos[4].x+100, io_pos[0].y-5+20,25,15, hWnd,IDC_CH+4, hInst, NULL); - - CreateWindow("BUTTON","5" , - WS_CHILD | WS_VISIBLE | BS_AUTORADIOBUTTON | BS_LEFTTEXT | WS_GROUP, - output_pos[4].x+100, io_pos[0].y+13+20,25,15, hWnd, IDC_CH+5, hInst, NULL); - - CreateWindow("BUTTON","6" , - WS_CHILD | WS_VISIBLE | BS_AUTORADIOBUTTON | BS_LEFTTEXT | WS_GROUP, - output_pos[4].x+100, io_pos[0].y+31+20,25,15, hWnd,IDC_CH+6, hInst, NULL); - - CreateWindow("BUTTON","7" , - WS_CHILD | WS_VISIBLE | BS_AUTORADIOBUTTON | BS_LEFTTEXT | WS_GROUP, - output_pos[4].x+100, io_pos[0].y+49+20,25,15, hWnd, IDC_CH+7, hInst, NULL); - - //default channel 0 - for (i=1;i<8;i++) bCheck[i]=FALSE; - bCheck[0] = TRUE; - channel = 0; - SendMessage(GetDlgItem(hWnd,IDC_CH), BM_SETCHECK, 1, 0); - - hBlackBrush= CreateSolidBrush(RGB(0,0,0)); - hRedPen= CreatePen(PS_SOLID,1,RGB(255,0,0)); - hBlackPen= CreatePen(PS_SOLID,1,RGB(0,0,0)); - break; - - case WM_PAINT: - hDC = BeginPaint(hWnd, &ps); - - // DMA analog input box - SelectObject(hDC, GetStockObject(GRAY_BRUSH)); - Rectangle(hDC, output_pos[15].x-10, io_pos[15].y-24, output_pos[0].x+26, io_pos[0].y+195); - SetTextColor(hDC,RGB(255,255,0)); - SetBkColor(hDC, RGB(0, 0, 255)); - TextOut(hDC, io_pos[15].x, io_pos[15].y-35, "DMA Input", 9); - SelectObject(hDC, hBlackBrush); - Rectangle(hDC, output_pos[15].x+35, io_pos[15].y-2, output_pos[4].x+41, io_pos[0].y+172); - - SetBkMode(hDC,TRANSPARENT); - TextOut(hDC,output_pos[13].x-60, input_pos[10].y,"Samping Rate",12); - TextOut(hDC,output_pos[13].x+30, input_pos[15].y+20,"KHZ",3); - TextOut(hDC,output_pos[13].x+70, input_pos[10].y,"Buffer Size",11); - TextOut(hDC,input_pos[2].x-10, io_pos[15].y+118,"Range: +-5V",11); - TextOut(hDC,input_pos[15].x, io_pos[15].y-19,"Volt",4); - TextOut(hDC,input_pos[15].x, io_pos[15].y-5,"5.00",4); - TextOut(hDC,input_pos[15].x, io_pos[15].y+36,"2.50",4); - TextOut(hDC,input_pos[15].x, io_pos[15].y+77,"0.00",4); - TextOut(hDC,input_pos[15].x-3, io_pos[15].y+118,"-2.50",5); - TextOut(hDC,input_pos[15].x-3, io_pos[15].y+159,"-5.00",5); - TextOut(hDC,input_pos[10].x+10, io_pos[10].y-19,"Signals",7); - TextOut(hDC,output_pos[4].x+60, io_pos[0].y-15,"Channel",7); - EndPaint(hWnd, &ps); - break; - - // Sample Rate Spin Control - case WM_VSCROLL: - switch (LOWORD(wParam)) { - case SB_LINEUP : - sample_rate+=5000; - if (sample_rate > 50000 ) sample_rate=50000; - break; - case SB_LINEDOWN: - sample_rate-=5000; - if (sample_rate < 5000 ) sample_rate=5000; - break; - } - wsprintf(n,"%d",sample_rate/1000); - SetWindowText(hEdit,n); - break; - case WM_COMMAND: - switch(LOWORD(wParam)) { - case IDM_EXIT: - SendMessage(hWnd, WM_CLOSE, 0, 0L); - break; - case IDC_CH: - case IDC_CH+1: - case IDC_CH+2: - case IDC_CH+3: - case IDC_CH+4: - case IDC_CH+5: - case IDC_CH+6: - case IDC_CH+7: - if (!bCheck[wParam-IDC_CH]) { - SendMessage(GetDlgItem(hWnd,wParam), BM_SETCHECK, 1, 0); - SendMessage(GetDlgItem(hWnd,IDC_CH+channel), BM_SETCHECK, 0, 0); - bCheck[channel]=FALSE; - } - channel=wParam-IDC_CH; - bCheck[channel]=TRUE; - break; - - case IDC_SHOW : - DialogBox(hInst, "DMABox", hWnd, ShowDMA); - break; - case IDC_START: - if (hMem != NULL) { - GlobalUnfix(hMem); - GlobalUnlock(hMem); - GlobalFree(hMem); - } - // allocate a memory for DMA - data_size=GetDlgItemInt(hWnd,IDC_EDIT1,NULL ,FALSE); - mem_size=data_size * 2; - hMem = GlobalAlloc(GMEM_FIXED | GMEM_ZEROINIT,mem_size); - - ai_buf = (U16 *)GlobalLock(hMem); - if (ai_buf == NULL ) { - MessageBox(hWnd,"DMA", "No Memory", MB_OK); - SendMessage(hWnd, WM_CLOSE, 0, 0L); - break; - } - - GlobalFix(hMem); - - if ((err=AI_9112_Config(card, TRIG_INT_PACER)) != NoError) { - wsprintf(s, "AI_Config Error = %d\n", err); - MessageBox(hWnd, s, "Error", MB_OK); - SendMessage(hWnd, WM_CLOSE, 0, 0L); - break; - } - if ((err=AI_AsyncDblBufferMode (card, 1)) != NoError) { - wsprintf(s, "AI_AsyncDblBufferMode Error = %d\n", err); - MessageBox(hWnd, s, "Error", MB_OK); - SendMessage(hWnd, WM_CLOSE, 0, 0L); - break; - } - if ((err=AI_ContReadChannel(card, channel, AD_B_5_V, ai_buf, data_size, (F64)sample_rate, ASYNCH_OP)) != NoError) { - wsprintf(s, "AI_ContReadPort Error = %d\n", err); - MessageBox(hWnd, s, "Error", MB_OK); - SendMessage(hWnd, WM_CLOSE, 0, 0L); - break; - } - EnableWindow(hStart, FALSE); - EnableWindow(hStop, TRUE); - - hMainWnd = hWnd; - clear_op = FALSE; - hThread = (HANDLE)_beginthread(ProcessThread, 0, 0); - MessageBeep(0); - break; - case IDC_STOP: - clear_op = TRUE; - EnableWindow(hStart, TRUE); - EnableWindow(hStop, FALSE); - break; - default: - return(DefWindowProc(hWnd, message, wParam, lParam)); - } - break; - case WM_DESTROY: - if (card >= 0) Release_Card(card); - DeleteObject(hBlackBrush); - DeleteObject(hRedPen); - GlobalUnfix(hMem); - GlobalUnlock(hMem); - GlobalFree(hMem); - PostQuitMessage(0); - break; - default: - return(DefWindowProc(hWnd, message, wParam, lParam)); - } - return(NULL); -} - -BOOL PASCAL ShowDMA(hDlg, message, wParam, lParam) -HWND hDlg; -UINT message; -WPARAM wParam; -LPARAM lParam; -{ - int nTabs[2] = {32, 92}; - int i; - char cBuf[100]; - char string[10]=" "; - char data_str[3]=" "; - U16 *pp; - switch (message) { - case WM_INITDIALOG: - hListBox = CreateWindow("LISTBOX", "Index Data (Hex)", - WS_CHILD | WS_VISIBLE | LBS_HASSTRINGS | LBS_STANDARD | LBS_USETABSTOPS |WS_CAPTION, - 50, 40, 240, 180, hDlg, 100, hInst, NULL); - SendMessage(hListBox, LB_RESETCONTENT, 0, 0L); - SendMessage(hListBox, LB_SETTABSTOPS, 2, (DWORD)(LPINT) nTabs); - SetDlgItemText(hDlg, DMA_DESCP, "This ListBox can show at most 4000 data"); - itoa( data_size, string, 10); - SetDlgItemText(hDlg, DMA_SPACE, string); - - pp = (U16 *)ai_buf; - if (data_size > 4000) data_size = 4000; - for(i=0;i>4; - newy = io_pos[0].y+171-(172*(U32)adinput)/4095; - newx = i*336/data_size+output_pos[15].x+35; - if (i==0) - MoveToEx(hDC, newx, newy, NULL); - else - MoveToEx(hDC, oldx, oldy, NULL); - LineTo(hDC, newx, newy); - oldx = newx; - oldy = newy; - } - } while (!clear_op); - ReleaseDC(hMainWnd, hDC); - AI_AsyncClear(card, &count); - - _endthread(); -} - \ No newline at end of file diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9112/SDK9112DbfDma/9112CDMA.EXE b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9112/SDK9112DbfDma/9112CDMA.EXE deleted file mode 100644 index 7157446..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9112/SDK9112DbfDma/9112CDMA.EXE and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9112/SDK9112DbfDma/9112cdma.mak b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9112/SDK9112DbfDma/9112cdma.mak deleted file mode 100644 index 2413eed..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9112/SDK9112DbfDma/9112cdma.mak +++ /dev/null @@ -1,221 +0,0 @@ -# Microsoft Developer Studio Generated NMAKE File, Format Version 4.20 -# ** DO NOT EDIT ** - -# TARGTYPE "Win32 (x86) Application" 0x0101 - -!IF "$(CFG)" == "" -CFG=9112CDMA - Win32 Debug -!MESSAGE No configuration specified. Defaulting to 9112CDMA - Win32 Debug. -!ENDIF - -!IF "$(CFG)" != "9112CDMA - Win32 Release" && "$(CFG)" !=\ - "9112CDMA - Win32 Debug" -!MESSAGE Invalid configuration "$(CFG)" specified. -!MESSAGE You can specify a configuration when running NMAKE on this makefile -!MESSAGE by defining the macro CFG on the command line. For example: -!MESSAGE -!MESSAGE NMAKE /f "9112cdma.mak" CFG="9112CDMA - Win32 Debug" -!MESSAGE -!MESSAGE Possible choices for configuration are: -!MESSAGE -!MESSAGE "9112CDMA - Win32 Release" (based on "Win32 (x86) Application") -!MESSAGE "9112CDMA - Win32 Debug" (based on "Win32 (x86) Application") -!MESSAGE -!ERROR An invalid configuration is specified. -!ENDIF - -!IF "$(OS)" == "Windows_NT" -NULL= -!ELSE -NULL=nul -!ENDIF -################################################################################ -# Begin Project -# PROP Target_Last_Scanned "9112CDMA - Win32 Debug" -CPP=cl.exe -RSC=rc.exe -MTL=mktyplib.exe - -!IF "$(CFG)" == "9112CDMA - Win32 Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "9112CDMA" -# PROP BASE Intermediate_Dir "9112CDMA" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "" -# PROP Intermediate_Dir "Release" -# PROP Target_Dir "" -OUTDIR=. -INTDIR=.\Release - -ALL : "$(OUTDIR)\9112cdma.exe" - -CLEAN : - -@erase "$(INTDIR)\9112CDMA.OBJ" - -@erase "$(INTDIR)\9112CDMA.res" - -@erase "$(OUTDIR)\9112cdma.exe" - -"$(INTDIR)" : - if not exist "$(INTDIR)/$(NULL)" mkdir "$(INTDIR)" - -# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /YX /c -# ADD CPP /nologo /MT /W3 /GX /Od /I "..\..\..\include" /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /c -# SUBTRACT CPP /YX -CPP_PROJ=/nologo /MT /W3 /GX /Od /I "..\..\..\include" /D "WIN32" /D "NDEBUG"\ - /D "_WINDOWS" /Fo"$(INTDIR)/" /c -CPP_OBJS=.\Release/ -CPP_SBRS=.\. -# ADD BASE MTL /nologo /D "NDEBUG" /win32 -# ADD MTL /nologo /D "NDEBUG" /win32 -MTL_PROJ=/nologo /D "NDEBUG" /win32 -# ADD BASE RSC /l 0x409 /d "NDEBUG" -# ADD RSC /l 0x409 /d "NDEBUG" -RSC_PROJ=/l 0x409 /fo"$(INTDIR)/9112CDMA.res" /d "NDEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -BSC32_FLAGS=/nologo /o"$(OUTDIR)/9112cdma.bsc" -BSC32_SBRS= \ - -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:windows /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ..\..\..\lib\pci-dask.lib /nologo /subsystem:windows /machine:I386 -LINK32_FLAGS=kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib\ - advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib\ - odbccp32.lib ..\..\..\lib\pci-dask.lib /nologo /subsystem:windows\ - /incremental:no /pdb:"$(OUTDIR)/9112cdma.pdb" /machine:I386\ - /out:"$(OUTDIR)/9112cdma.exe" -LINK32_OBJS= \ - "$(INTDIR)\9112CDMA.OBJ" \ - "$(INTDIR)\9112CDMA.res" - -"$(OUTDIR)\9112cdma.exe" : "$(OUTDIR)" $(DEF_FILE) $(LINK32_OBJS) - $(LINK32) @<< - $(LINK32_FLAGS) $(LINK32_OBJS) -<< - -!ELSEIF "$(CFG)" == "9112CDMA - Win32 Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "9112CDM0" -# PROP BASE Intermediate_Dir "9112CDM0" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "9112CDM0" -# PROP Intermediate_Dir "9112CDM0" -# PROP Target_Dir "" -OUTDIR=.\9112CDM0 -INTDIR=.\9112CDM0 - -ALL : "$(OUTDIR)\9112cdma.exe" - -CLEAN : - -@erase "$(INTDIR)\9112CDMA.OBJ" - -@erase "$(INTDIR)\9112CDMA.res" - -@erase "$(INTDIR)\vc40.idb" - -@erase "$(INTDIR)\vc40.pdb" - -@erase "$(OUTDIR)\9112cdma.exe" - -@erase "$(OUTDIR)\9112cdma.ilk" - -@erase "$(OUTDIR)\9112cdma.pdb" - -"$(OUTDIR)" : - if not exist "$(OUTDIR)/$(NULL)" mkdir "$(OUTDIR)" - -# ADD BASE CPP /nologo /W3 /Gm /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /YX /c -# ADD CPP /nologo /MTd /W3 /Gm /GX /Zi /Od /I "..\..\..\include" /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /c -# SUBTRACT CPP /YX -CPP_PROJ=/nologo /MTd /W3 /Gm /GX /Zi /Od /I "..\..\..\include" /D "WIN32" /D\ - "_DEBUG" /D "_WINDOWS" /Fo"$(INTDIR)/" /Fd"$(INTDIR)/" /c -CPP_OBJS=.\9112CDM0/ -CPP_SBRS=.\. -# ADD BASE MTL /nologo /D "_DEBUG" /win32 -# ADD MTL /nologo /D "_DEBUG" /win32 -MTL_PROJ=/nologo /D "_DEBUG" /win32 -# ADD BASE RSC /l 0x409 /d "_DEBUG" -# ADD RSC /l 0x409 /d "_DEBUG" -RSC_PROJ=/l 0x409 /fo"$(INTDIR)/9112CDMA.res" /d "_DEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -BSC32_FLAGS=/nologo /o"$(OUTDIR)/9112cdma.bsc" -BSC32_SBRS= \ - -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:windows /debug /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ..\..\..\lib\pci-dask.lib /nologo /subsystem:windows /debug /machine:I386 -LINK32_FLAGS=kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib\ - advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib\ - odbccp32.lib ..\..\..\lib\pci-dask.lib /nologo /subsystem:windows\ - /incremental:yes /pdb:"$(OUTDIR)/9112cdma.pdb" /debug /machine:I386\ - /out:"$(OUTDIR)/9112cdma.exe" -LINK32_OBJS= \ - "$(INTDIR)\9112CDMA.OBJ" \ - "$(INTDIR)\9112CDMA.res" - -"$(OUTDIR)\9112cdma.exe" : "$(OUTDIR)" $(DEF_FILE) $(LINK32_OBJS) - $(LINK32) @<< - $(LINK32_FLAGS) $(LINK32_OBJS) -<< - -!ENDIF - -.c{$(CPP_OBJS)}.obj: - $(CPP) $(CPP_PROJ) $< - -.cpp{$(CPP_OBJS)}.obj: - $(CPP) $(CPP_PROJ) $< - -.cxx{$(CPP_OBJS)}.obj: - $(CPP) $(CPP_PROJ) $< - -.c{$(CPP_SBRS)}.sbr: - $(CPP) $(CPP_PROJ) $< - -.cpp{$(CPP_SBRS)}.sbr: - $(CPP) $(CPP_PROJ) $< - -.cxx{$(CPP_SBRS)}.sbr: - $(CPP) $(CPP_PROJ) $< - -################################################################################ -# Begin Target - -# Name "9112CDMA - Win32 Release" -# Name "9112CDMA - Win32 Debug" - -!IF "$(CFG)" == "9112CDMA - Win32 Release" - -!ELSEIF "$(CFG)" == "9112CDMA - Win32 Debug" - -!ENDIF - -################################################################################ -# Begin Source File - -SOURCE=.\9112CDMA.RC - -"$(INTDIR)\9112CDMA.res" : $(SOURCE) "$(INTDIR)" - $(RSC) $(RSC_PROJ) $(SOURCE) - - -# End Source File -################################################################################ -# Begin Source File - -SOURCE=.\9112CDMA.C -DEP_CPP_9112C=\ - "..\..\..\include\Dask.h"\ - - -"$(INTDIR)\9112CDMA.OBJ" : $(SOURCE) $(DEP_CPP_9112C) "$(INTDIR)" - - -# End Source File -# End Target -# End Project -################################################################################ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9112/SDK9112DbfDma/9112cdma.mdp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9112/SDK9112DbfDma/9112cdma.mdp deleted file mode 100644 index f878ea6..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9112/SDK9112DbfDma/9112cdma.mdp and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9112/SDK9112DbfDma/9112cdma.rc b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9112/SDK9112DbfDma/9112cdma.rc deleted file mode 100644 index b964e4a..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9112/SDK9112DbfDma/9112cdma.rc +++ /dev/null @@ -1,126 +0,0 @@ -//Microsoft Developer Studio generated resource script. -// -#include "resource.h" - -#define APSTUDIO_READONLY_SYMBOLS -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 2 resource. -// -#define APSTUDIO_HIDDEN_SYMBOLS -#include "windows.h" -#undef APSTUDIO_HIDDEN_SYMBOLS - -///////////////////////////////////////////////////////////////////////////// -#undef APSTUDIO_READONLY_SYMBOLS - -///////////////////////////////////////////////////////////////////////////// -// English (U.S.) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -#ifdef _WIN32 -LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US -#pragma code_page(1252) -#endif //_WIN32 - -///////////////////////////////////////////////////////////////////////////// -// -// Menu -// - -U7120MENU MENU DISCARDABLE -BEGIN - MENUITEM "E&xit!", IDM_EXIT -END - - -#ifdef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// TEXTINCLUDE -// - -1 TEXTINCLUDE DISCARDABLE -BEGIN - "resource.h\0" -END - -2 TEXTINCLUDE DISCARDABLE -BEGIN - "#define APSTUDIO_HIDDEN_SYMBOLS\r\n" - "#include ""windows.h""\r\n" - "#undef APSTUDIO_HIDDEN_SYMBOLS\r\n" - "\0" -END - -3 TEXTINCLUDE DISCARDABLE -BEGIN - "\r\n" - "\0" -END - -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog -// - -DMABOX DIALOG DISCARDABLE 18, 10, 171, 169 -STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "Data Value (half of circular buffer)" -FONT 8, "System" -BEGIN - PUSHBUTTON "STOP",ID_STOP,82,147,24,14 - LTEXT "Data Transferred :",-1,39,119,64,8 - LTEXT "Text",DMA_SPACE,103,118,41,8 - LTEXT "Text",DMA_DESCP,16,6,158,8 -END - -IDD_DIALOG2 DIALOG DISCARDABLE 110, 10, 106, 61 -STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "Card Number" -FONT 10, "System" -BEGIN - DEFPUSHBUTTON "OK",IDOK,10,40,37,14 - PUSHBUTTON "Cancel",IDCANCEL,61,40,38,14 - LTEXT "Card Number",IDC_STATIC,3,13,47,13 - COMBOBOX IDC_COMBO1,51,13,48,90,CBS_DROPDOWN | WS_VSCROLL | - WS_TABSTOP -END - - -///////////////////////////////////////////////////////////////////////////// -// -// DESIGNINFO -// - -#ifdef APSTUDIO_INVOKED -GUIDELINES DESIGNINFO DISCARDABLE -BEGIN - IDD_DIALOG2, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 99 - TOPMARGIN, 7 - BOTTOMMARGIN, 54 - END -END -#endif // APSTUDIO_INVOKED - -#endif // English (U.S.) resources -///////////////////////////////////////////////////////////////////////////// - - - -#ifndef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 3 resource. -// - - -///////////////////////////////////////////////////////////////////////////// -#endif // not APSTUDIO_INVOKED - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9112/SDK9112DbfDma/resource.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9112/SDK9112DbfDma/resource.h deleted file mode 100644 index ef86c07..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9112/SDK9112DbfDma/resource.h +++ /dev/null @@ -1,24 +0,0 @@ -//{{NO_DEPENDENCIES}} -// Microsoft Developer Studio generated include file. -// Used by 9112cdma.rc -// -#define IDM_SETUP 101 -#define IDD_DIALOG1 101 -#define IDD_DIALOG2 103 -#define IDM_EXIT 110 -#define ID_STOP 304 -#define DMA_SPACE 500 -#define DMA_DESCP 600 -#define IDC_COMBO1 1015 -#define IDC_STATIC -1 - -// Next default values for new objects -// -#ifdef APSTUDIO_INVOKED -#ifndef APSTUDIO_READONLY_SYMBOLS -#define _APS_NEXT_RESOURCE_VALUE 104 -#define _APS_NEXT_COMMAND_VALUE 102 -#define _APS_NEXT_CONTROL_VALUE 1001 -#define _APS_NEXT_SYMED_VALUE 101 -#endif -#endif diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9112/SDK9112Dma/9112DMA.C b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9112/SDK9112Dma/9112DMA.C deleted file mode 100644 index 54b1bc0..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9112/SDK9112Dma/9112DMA.C +++ /dev/null @@ -1,521 +0,0 @@ -#include -#include -#include -#include -#include -#include -#include "resource.h" -#include "dask.h" - -#define IDM_EXIT 110 -#define IDC_ADDR 200 -#define IDC_SCROLL 207 -#define IDC_START 208 -#define IDC_STOP 209 -#define IDC_PAUSE 210 -#define IDC_EDIT 211 -#define IDC_CHAN 214 -#define IDC_SHOW 213 -#define NONE 0 - -int PASCAL WinMain(HANDLE, HANDLE, LPSTR, int); -long PASCAL MainWndProc(HWND, UINT, WPARAM, LPARAM); -BOOL PASCAL ShowINT(HWND, UINT, WPARAM, LPARAM); - -HANDLE hInst; -HWND hListBox; -HWND hChanComboBox; -HWND hADScroll; -HWND hEdit,hEdit1,hData; -unsigned int input=0, output=0; -unsigned int oldinput[8], adinput; - -HBRUSH hBlackBrush; -HPEN hRedPen; - -long sample_rate=10000; -unsigned int base_addr=NONE,gain=1; -I16 card, card_number =0; -long data_size=4000; -U16 channel=0, range=AD_B_5_V; - -DWORD mem_size = 0; -static HANDLE hMem=NULL; -unsigned short *ai_buf; - -POINT input_pos[16]= {{470, 280}, {440, 280}, - {410, 280}, {380, 280}, - {350, 280}, {320, 280}, - { 290, 280}, {260, 280}, - {230, 280}, {200, 280}, - {170, 280}, {140, 280}, - {110, 280}, {80, 280}, - { 50, 280}, { 20, 280}, - }; - -POINT output_pos[16] ={ - {470, 340}, {440, 340}, - {410, 340}, {380, 340}, - {350, 340}, {320, 340}, - { 290, 340}, {260, 340}, - {230, 340}, {200, 340}, - {170, 340}, {140, 340}, - {110, 340}, {80, 340}, - { 50, 340}, { 20, 340}, - }; - -POINT io_pos[16] ={ - {395, 40}, {370, 40}, - {345, 40}, {320, 40}, - {295, 40}, {270, 40}, - { 245, 40}, {220, 40}, - {195, 40}, {170, 40}, - {145, 40}, {120, 40}, - {95, 40}, {70, 40}, - { 45, 40}, { 20, 40}, - }; - -HBRUSH hLTGreenBrush,hGreenBrush,hBlueBrush,hYellowBrush,hRedBrush,hBlackBrush,hWhiteBrush - ,hLTRedBrush,hLTBlueBrush; -HPEN hRedPen,hYellowPen,hGreenPen,hBluePen,hLTBluePen,hLTRedPen,hLTGreenPen,hWhitePen; - -BOOL InitApplication(HANDLE); -BOOL InitInstance(HANDLE, int); - -int PASCAL WinMain(hInstance, hPrevInstance, lpCmdLine, nCmdShow) -HANDLE hInstance, hPrevInstance; -LPSTR lpCmdLine; -int nCmdShow; -{ - MSG msg; - - if (!hPrevInstance) - if (!InitApplication(hInstance)) return(FALSE); - if (!InitInstance(hInstance, nCmdShow)) return(FALSE); - while (GetMessage(&msg, NULL, NULL, NULL)) { - TranslateMessage(&msg); - DispatchMessage(&msg); - } - return(msg.wParam); -} - -BOOL InitApplication(hInstance) -HANDLE hInstance; -{ - WNDCLASS wc; - - /* Main Window Class */ - wc.style = NULL; - wc.lpfnWndProc = (WNDPROC)MainWndProc; - wc.cbClsExtra = 0; - wc.cbWndExtra = 0; - wc.hInstance = hInstance; - wc.hIcon = LoadIcon(hInstance, "MyIcon"); - wc.hCursor = LoadCursor(NULL, IDC_ARROW); - wc.hbrBackground = GetStockObject(LTGRAY_BRUSH); - wc.lpszMenuName = NULL; - wc.lpszClassName = "GenericWClass"; - if (!RegisterClass(&wc)) return(FALSE); -} - -BOOL InitInstance(hInstance, nCmdShow) -HANDLE hInstance; -int nCmdShow; -{ - HWND hWnd; - HMENU hSampleMenu; - - hInst = hInstance; - hSampleMenu = LoadMenu(hInstance, "U7120Menu"); - hWnd = CreateWindow("GenericWClass", - (LPCSTR)"9112 Autoscan DMA", - WS_OVERLAPPEDWINDOW, - CW_USEDEFAULT, - CW_USEDEFAULT, - 520, - 400, - NULL, - hSampleMenu, - hInstance, - NULL); - if (!hWnd) return(FALSE); - ShowWindow(hWnd, nCmdShow); - UpdateWindow(hWnd); - return(TRUE); -} - -BOOL PASCAL setup(HWND hWnd, unsigned message, WPARAM wParam, LPARAM lParam) -{ - int i,k; - char n[16]; - char s[50]; - - switch (message) { - case WM_INITDIALOG: - for (i=0;i<16;i++) { - wsprintf(n, "%d", i); - _strupr(n); - SendMessage(GetDlgItem(hWnd,IDC_COMBO1), CB_ADDSTRING, NULL, (LONG)(LPSTR) n); - } - SendMessage(GetDlgItem(hWnd,IDC_COMBO1) , CB_SETCURSEL, 0, 0L); - - break; - case WM_COMMAND: - switch(LOWORD(wParam)) { - - case IDC_COMBO1: - if (HIWORD(wParam) == CBN_CLOSEUP) { - i = (int)SendMessage(GetDlgItem(hWnd,IDC_COMBO1), CB_GETCURSEL, 0, 0L); - SendMessage(GetDlgItem(hWnd,IDC_COMBO1), CB_GETLBTEXT, i, (LPARAM)((LPCSTR)n)); - card_number = i; - } - return(TRUE); - case IDOK: - if ((card=Register_Card(PCI_9112, card_number)) < 0) { - wsprintf(s, "Register_Card Error = %d\n", card); - MessageBox(hWnd, s, "Error", MB_OK); - SendMessage(hWnd, WM_CLOSE, 0, 0L); - break; - } - EndDialog(hWnd, TRUE); - InvalidateRect(hWnd, NULL, FALSE); - return (TRUE); - case IDCANCEL: - EndDialog(hWnd, TRUE); - return (TRUE); - } - break; - } - return (FALSE); -} - -long PASCAL MainWndProc(hWnd, message, wParam, lParam) -HWND hWnd; -UINT message; -WPARAM wParam; -LPARAM lParam; -{ - HDC hDC; - PAINTSTRUCT ps; - int i,iii,k, px, py; - int cur_channel; - unsigned long hi,lo; - long ii; - char n[6]; - char buf[100]; - FARPROC lpProc; - static int pos=0; - static int count,status; - int p, err; - BOOLEAN bStopped; - - switch(message) { - case WM_CREATE: - DialogBox(hInst,IDD_DIALOG2, hWnd, setup); - if(card<0) { - SendMessage(hWnd, WM_CLOSE, 0, 0L); - break; - } - hChanComboBox = CreateWindow("ComboBox", NULL, - CBS_DROPDOWNLIST | WS_CHILD | WS_VISIBLE | WS_VSCROLL, - input_pos[10].x, input_pos[15].y+18, 100, 160, hWnd, IDC_CHAN, hInst, NULL); - SendMessage(hChanComboBox, CB_ADDSTRING, NULL, (LONG)(LPSTR)"CH0"); - SendMessage(hChanComboBox, CB_ADDSTRING, NULL, (LONG)(LPSTR)"CH1 ~ CH0"); - SendMessage(hChanComboBox, CB_ADDSTRING, NULL, (LONG)(LPSTR)"CH2 ~ CH0"); - SendMessage(hChanComboBox, CB_ADDSTRING, NULL, (LONG)(LPSTR)"CH3 ~ CH0"); - SendMessage(hChanComboBox, CB_ADDSTRING, NULL, (LONG)(LPSTR)"CH4 ~ CH0"); - SendMessage(hChanComboBox, CB_ADDSTRING, NULL, (LONG)(LPSTR)"CH5 ~ CH0"); - SendMessage(hChanComboBox, CB_ADDSTRING, NULL, (LONG)(LPSTR)"CH6 ~ CH0"); - SendMessage(hChanComboBox, CB_ADDSTRING, NULL, (LONG)(LPSTR)"CH7 ~ CH0"); - SendMessage(hChanComboBox ,CB_SETCURSEL, 0, 0L); - hEdit=CreateWindow("EDIT", NULL, - WS_CHILD | WS_VISIBLE | ES_LEFT, - output_pos[13].x-30, input_pos[15].y+20,40, 20, hWnd, IDC_EDIT, hInst, NULL); - - wsprintf(n,"%d",sample_rate/1000); - SetWindowText(hEdit,n); - - CreateWindow("SCROLLBAR", NULL, - WS_CHILD | WS_VISIBLE | SBS_VERT, - output_pos[13].x+10, input_pos[15].y+20,20, 20, hWnd, IDC_SCROLL, hInst, NULL); - - CreateWindow("BUTTON","Start" , - WS_CHILD | WS_VISIBLE , - output_pos[10].x+140, input_pos[10].y+10,70, 30, hWnd, IDC_START, hInst, NULL); - - hData=CreateWindow("BUTTON","Data Value" , - WS_CHILD | WS_VISIBLE , - output_pos[10].x+230, input_pos[10].y+10,80, 30, hWnd, IDC_SHOW, hInst, NULL); - - hLTGreenBrush = CreateSolidBrush(RGB(0, 255, 0)); - hGreenBrush = CreateSolidBrush(RGB(0, 128, 0)); - hBlueBrush = CreateSolidBrush(RGB(0, 0, 255)); - hRedBrush = CreateSolidBrush(RGB(255, 0, 0)); - hYellowBrush= CreateSolidBrush(RGB(255,255,0)); - hBlackBrush= CreateSolidBrush(RGB(0,0,0)); - hLTBlueBrush= CreateSolidBrush(RGB(0,255,255)); - hLTRedBrush= CreateSolidBrush(RGB(255,128,0)); - hWhiteBrush= CreateSolidBrush(RGB(255,255,255)); - hRedPen= CreatePen(PS_SOLID,1,RGB(255,0,0)); - hYellowPen= CreatePen(PS_SOLID,1,RGB(255,255,0)); - hBluePen= CreatePen(PS_SOLID,1,RGB(0,0,255)); - hGreenPen= CreatePen(PS_SOLID,1,RGB(0,255,0)); - hLTBluePen= CreatePen(PS_SOLID,1,RGB(0,128,255)); - hLTRedPen= CreatePen(PS_SOLID,1,RGB(128,128,0)); - hLTGreenPen= CreatePen(PS_SOLID,1,RGB(0,128,0)); - hWhitePen= CreatePen(PS_SOLID,1,RGB(255,255,255)); - break; - - case WM_PAINT: - hDC = BeginPaint(hWnd, &ps); - - // Analog Input Box - SelectObject(hDC, GetStockObject(GRAY_BRUSH)); - Rectangle(hDC, output_pos[15].x-10, io_pos[15].y-24, output_pos[0].x+26, io_pos[0].y+195); - SetTextColor(hDC,RGB(255,255,0)); - SetBkColor(hDC, RGB(0, 0, 255)); - TextOut(hDC, io_pos[15].x, io_pos[15].y-35, " DMA Input(A/D) ", 20); - - SelectObject(hDC, hBlackBrush); - Rectangle(hDC, output_pos[15].x+35, io_pos[15].y-2, output_pos[4].x+41, io_pos[0].y+172); - - SelectObject(hDC,hYellowBrush ); - Rectangle(hDC,output_pos[4].x+68, io_pos[0].y-5+18,output_pos[4].x+80, io_pos[0].y+10+18); - - SelectObject(hDC, hGreenBrush); - Rectangle(hDC,output_pos[4].x+68, io_pos[0].y+13+18,output_pos[4].x+80, io_pos[0].y+28+18); - - SelectObject(hDC, hBlueBrush); - Rectangle(hDC,output_pos[4].x+68, io_pos[0].y+31+18,output_pos[4].x+80, io_pos[0].y+46+18); - - SelectObject(hDC, hRedBrush); - Rectangle(hDC,output_pos[4].x+68, io_pos[0].y+49+18,output_pos[4].x+80, io_pos[0].y+64+18); - - SelectObject(hDC, hLTBlueBrush); - Rectangle(hDC,output_pos[4].x+108, io_pos[0].y-5+18,output_pos[4].x+120, io_pos[0].y+10+18); - - SelectObject(hDC, hLTRedBrush); - Rectangle(hDC,output_pos[4].x+108, io_pos[0].y+13+18,output_pos[4].x+120, io_pos[0].y+28+18); - - SelectObject(hDC, hLTGreenBrush); - Rectangle(hDC,output_pos[4].x+108, io_pos[0].y+31+18,output_pos[4].x+120, io_pos[0].y+46+18); - - SelectObject(hDC, hWhiteBrush); - Rectangle(hDC,output_pos[4].x+108, io_pos[0].y+49+18,output_pos[4].x+120, io_pos[0].y+64+18); - - SetBkMode(hDC,TRANSPARENT); - TextOut(hDC,output_pos[13].x-60, input_pos[10].y,"Samping Rate",12); - TextOut(hDC,output_pos[13].x+30, input_pos[15 - ].y+20,"KHZ",3); - TextOut(hDC,output_pos[13].x+80, input_pos[10].y,"Channel",7); - TextOut(hDC,input_pos[2].x-10, io_pos[15].y+118,"Range: +-5V",11); - TextOut(hDC,input_pos[15].x, io_pos[15].y-19,"Volts",5); - TextOut(hDC,input_pos[15].x, io_pos[15].y-5,"5.00",4); - TextOut(hDC,input_pos[15].x, io_pos[15].y+36,"2.50",4); - TextOut(hDC,input_pos[15].x, io_pos[15].y+77,"0.00",4); - TextOut(hDC,input_pos[15].x-3, io_pos[15].y+118,"-2.50",5); - TextOut(hDC,input_pos[15].x-3, io_pos[15].y+159,"-5.00",5); - TextOut(hDC,input_pos[10].x+10, io_pos[10].y-19,"Signals",7); - - TextOut(hDC,output_pos[4].x+58, io_pos[0].y-5+18,"0",1); - TextOut(hDC,output_pos[4].x+58, io_pos[0].y+13+18,"1",1); - TextOut(hDC,output_pos[4].x+58, io_pos[0].y+31+18,"2",1); - TextOut(hDC,output_pos[4].x+58, io_pos[0].y+49+18,"3",1); - TextOut(hDC,output_pos[4].x+98, io_pos[0].y-5+18,"4",1); - TextOut(hDC,output_pos[4].x+98, io_pos[0].y+13+18,"5",1); - TextOut(hDC,output_pos[4].x+98, io_pos[0].y+31+18,"6",1); - TextOut(hDC,output_pos[4].x+98, io_pos[0].y+49+18,"7",1); - - EndPaint(hWnd, &ps); - break; - - // Sample Rate Spin Control - case WM_VSCROLL: - switch(LOWORD(wParam)){ - case SB_LINEUP : - sample_rate+=1000; - if (sample_rate > 100000 ) sample_rate=100000; - break; - case SB_LINEDOWN: - sample_rate-=1000; - if (sample_rate < 1000 ) sample_rate=1000; - break; - } - wsprintf(n,"%d",sample_rate/1000); - SetWindowText(hEdit,n); - break; - - case WM_COMMAND: - switch(LOWORD(wParam)) { - case IDM_EXIT: - SendMessage(hWnd, WM_CLOSE, 0, 0L); - break; - - case IDC_SHOW : - DialogBox(hInst, - "DMABox", - hWnd, - ShowINT); - break; - - case IDC_CHAN: - if (HIWORD(wParam) == CBN_CLOSEUP) { - if ((i=(int)SendMessage(GetDlgItem(hWnd,IDC_CHAN),CB_GETCURSEL, 0, 0L))>=0 ) { - channel=i; - } - } - break; - - case IDC_START: - EnableWindow (hData, FALSE); - if (hMem != NULL) - { - GlobalUnfix(hMem); - GlobalUnlock(hMem); - GlobalFree(hMem); - } - // allocate a memory for user DMA buffer - mem_size=data_size*2; - hMem = GlobalAlloc(GMEM_ZEROINIT,mem_size); - ai_buf = GlobalLock(hMem); - if (ai_buf == NULL ) - { - MessageBox(hWnd,"INT", - "No Memory", MB_OK); - } - GlobalFix(hMem); - AI_9112_Config(card,TRIG_INT_PACER); - AI_AsyncDblBufferMode(card, 0); - AI_ContScanChannels (card, channel, range, ai_buf, data_size, (F64)sample_rate, SYNCH_OP); - //AI_ContReadChannel(card, channel, AD_B_5_V, ai_buf, data_size, (F64)sample_rate, SYNCH_OP); - /*do { - AI_AsyncCheck(card, &bStopped, &count); - } while (!bStopped); - AI_AsyncClear(card, &count);*/ - //AI_AsyncClear(card, &count); - EnableWindow (hData, TRUE); - for (i=0;i<8;i++) oldinput[i]=-1; - hDC = GetDC(hWnd); - SelectObject(hDC, hBlackBrush); - Rectangle(hDC,output_pos[15].x+35,io_pos[0].y-3,output_pos[15].x+370,io_pos[0].y+175); - - for (i=0;i> 4; - adinput=io_pos[0].y+173-(175*(long)adinput)/4095; - if (oldinput[cur_channel]!=-1) - MoveToEx(hDC,(i*334)/data_size+output_pos[15].x+35,oldinput[cur_channel],NULL); - else - MoveToEx(hDC,(i*334)/data_size+output_pos[15].x+35,adinput,NULL); - LineTo(hDC,(i*334)/data_size+output_pos[15].x+36,adinput); - oldinput[cur_channel]=adinput; - } // for - ReleaseDC(hWnd, hDC); - break; - - default: - return(DefWindowProc(hWnd, message, wParam, lParam)); - } - break; - - case WM_DESTROY: - if (card >= 0) Release_Card (card); - DeleteObject(hRedBrush); - DeleteObject(hGreenBrush); - DeleteObject(hLTGreenBrush); - DeleteObject(hYellowBrush); - DeleteObject(hBlueBrush) ; - DeleteObject(hBlackBrush); - DeleteObject(hRedPen); - DeleteObject(hYellowPen); - DeleteObject(hBluePen); - DeleteObject(hGreenPen); - DeleteObject(hLTBluePen); - DeleteObject(hLTRedPen); - DeleteObject(hLTGreenPen); - DeleteObject(hWhitePen); - GlobalUnfix(hMem); - GlobalUnlock(hMem); - GlobalFree(hMem); - PostQuitMessage(0); - break; - - default: - return(DefWindowProc(hWnd, message, wParam, lParam)); - } - return(NULL); -} - -BOOL PASCAL ShowINT(hDlg, message, wParam, lParam) -HWND hDlg; -UINT message; -WPARAM wParam; -LPARAM lParam; -{ - int nTabs[2] = {32, 92}; - long j; - long i; - char cBuf[100] = "\t131072 \tFF"; - char string[10]=" "; - char data_str[3]=" "; - U16 *pp; - switch (message) - { - case WM_INITDIALOG: - hListBox = CreateWindow("LISTBOX", "Memory Count Data",\ - WS_CHILD | WS_VISIBLE | LBS_HASSTRINGS\ - | LBS_STANDARD | LBS_USETABSTOPS |WS_CAPTION,\ - 50, 40, 240, 180, hDlg, 100, hInst, NULL); - - SendMessage(hListBox, LB_RESETCONTENT, 0, 0L); - SendMessage(hListBox, LB_SETTABSTOPS, 2, (DWORD)\ - (LPINT) nTabs); - pp=(U16 *) ai_buf; - for(i=0; i= 1 Then - ArcCos = 0 - Exit Function - End If - ArcCos = Atn(-p / Sqr(-p * p + 1)) + 1.5708 -End Function - -Sub Scale_Change(ByVal g As Long) - Select Case g - Case 0 - Label1(2).Caption = "5.0" - Label1(3).Caption = "2.5" - Label1(4).Caption = "0.0" - Label1(5).Caption = "-2.5" - Label1(6).Caption = "-5.0" - Case 1 - Label1(2).Caption = "2.50" - Label1(3).Caption = "1.25" - Label1(4).Caption = "0.00" - Label1(5).Caption = "-1.25" - Label1(6).Caption = "-2.50" - Case 2 - Label1(2).Caption = "1.250" - Label1(3).Caption = "0.625" - Label1(4).Caption = "0.00" - Label1(5).Caption = "-0.625" - Label1(6).Caption = "-1.250" - Case 3 - Label1(2).Caption = "0.6250" - Label1(3).Caption = "0.3125" - Label1(4).Caption = "0.0000" - Label1(5).Caption = "-0.3125" - Label1(6).Caption = "-0.6250" - Case 4 - Label1(2).Caption = "10" - Label1(3).Caption = "7.5" - Label1(4).Caption = "5.0" - Label1(5).Caption = "2.5" - Label1(6).Caption = "0.0" - Case 5 - Label1(2).Caption = "5.00" - Label1(3).Caption = "3.75" - Label1(4).Caption = "2.50" - Label1(5).Caption = "1.25" - Label1(6).Caption = "0.00" - Case 6 - Label1(2).Caption = "2.500" - Label1(3).Caption = "1.875" - Label1(4).Caption = "1.250" - Label1(5).Caption = "0.625" - Label1(6).Caption = "0.000" - Case 7 - Label1(2).Caption = "1.2500" - Label1(3).Caption = "0.9375" - Label1(4).Caption = "0.6250" - Label1(5).Caption = "0.3125" - Label1(6).Caption = "0.0000" - Case 8 - Label1(2).Caption = "10" - Label1(3).Caption = "5.0" - Label1(4).Caption = "0.0" - Label1(5).Caption = "-5.0" - Label1(6).Caption = "-10" - End Select - - Label1(19).Caption = Label1(2).Caption - Label1(20).Caption = Label1(3).Caption - Label1(21).Caption = Label1(4).Caption - Label1(22).Caption = Label1(5).Caption - Label1(23).Caption = Label1(6).Caption -End Sub - -Private Sub Channel_Click(Index As Integer) - If ChannelOn(Index) Then - If Index < 8 Then - Channel(Index) = ChUp(Index) - Else - Channel(Index) = ChUp(Index - 8) - End If - Else - If Index < 8 Then - Channel(Index) = ChDn(Index) - Else - Channel(Index) = ChDn(Index - 8) - End If - End If - ChannelOn(Index) = Not ChannelOn(Index) -End Sub - -Private Sub DOP_Click(Index As Integer) - Dim i As Integer, v As Integer, d As Long - If Active Then - If status(Index) = 1 Then - DOP(Index) = Image0 - status(Index) = 0 - d = 1 - For i = 1 To Index - d = d * 2 - Next - gnDoValue = gnDoValue - d - Else - DOP(Index) = Image1 - status(Index) = 1 - d = 1 - For i = 1 To Index - d = d * 2 - Next - gnDoValue = gnDoValue + d - End If - v = DO_WritePort(card, 0, gnDoValue) - End If -End Sub - -Private Sub ExitBtn_Click() - Dim result As Integer - If card >= 0 Then - result = Release_Card(card) - End If - End -End Sub - -Private Sub Form_Load() - Dim i As Long - Dim result As Integer - - SettingForm.Show 1 - If card < 0 Then - MsgBox "Register card failed." - End - End If - - For i = 0 To 15 - PrevP(i) = -1 - ChannelOn(i) = False - Next - For i = 0 To 15 - status(i) = 0 - Next - NewStart = True - Active = False - 'gnDoValue = 0 - - gain.AddItem "+/- 5V" - gain.AddItem "+/- 2.5V" - gain.AddItem "+/- 1.25V" - gain.AddItem "+/- 0.625V" - gain.AddItem "0V~10V" - gain.AddItem "0V~5V" - gain.AddItem "0V~2.5V" - gain.AddItem "0V~1.25V" - gain.AddItem "+/- 10V" - - range_value(0) = 2 - range_value(1) = 3 - range_value(2) = 4 - range_value(3) = 5 - range_value(4) = 15 - range_value(5) = 16 - range_value(6) = 17 - range_value(7) = 18 - range_value(8) = 1 - - gain.ListIndex = 0 - - DA_Wave.AddItem "Sine Wave" - DA_Wave.AddItem "Square Wave" - - SignalColor(0) = &HFFFF& - SignalColor(1) = &H8000& - SignalColor(2) = &HFF0000 - SignalColor(3) = &HFF& - SignalColor(4) = &HFFFF00 - SignalColor(5) = &HFF00FF - SignalColor(6) = &HFF00& - SignalColor(7) = &HFFFFFF - SignalColor(8) = &HFFFF& - SignalColor(9) = &H8000& - SignalColor(10) = &HFF0000 - SignalColor(11) = &HFF& - SignalColor(12) = &HFFFF00 - SignalColor(13) = &HFF00FF - SignalColor(14) = &HFF00& - SignalColor(15) = &HFFFFFF - - 'For tuner - x0 = pin.X1 - y0 = pin.Y1 - l = Sqr(((pin.X2 - x0) ^ 2) + ((pin.Y2 - y0) ^ 2)) - lb = 0 - ub = 5 -End Sub - -Private Sub Form_Unload(Cancel As Integer) - Dim result As Integer - If card >= 0 Then - result = Release_Card(card) - End If -End Sub - - -Private Sub Gain_Click() - Dim result As Long - Scale_Change gain.ListIndex -End Sub - - - - - - - - - - - - - -Private Sub PauseBtn_Click() - Timer1.Enabled = False - Active = False - NewStart = False - StartBtn.Enabled = True - PauseBtn.Enabled = False - -End Sub - - - - -Private Sub StartBtn_Click() - StartBtn.Enabled = False - StopBtn.Enabled = True - PauseBtn.Enabled = True - - Active = True - - If NewStart Then - Signal(0).Cls - Signal(1).Cls - gnDoValue = 0 - angle = 0 - sq = 0 - End If - - Timer1.Enabled = True - -End Sub - -Private Sub StopBtn_Click() - Dim i As Integer - Timer1.Enabled = False - For i = 0 To 15 - PrevP(i) = -1 - Next - For i = 0 To 15 - status(i) = 0 - DOP(i) = Image0 - Next - i = DO_WritePort(card, 0, 0) - Active = False - NewStart = True - StartBtn.Enabled = True - StopBtn.Enabled = False - PauseBtn.Enabled = False - -End Sub - -Private Sub Timer1_Timer() - Dim result As Integer - Dim i As Integer, j As Integer - Dim d As Integer, l As Long - Dim p As Integer - Dim h As Long - Dim m As Single - -' Do While Contd -'Analog-Digital Input - result = BitBlt(Signal(0).hDC, 4, 0, Signal(0).Width / Screen.TwipsPerPixelX, Signal(0).Height / Screen.TwipsPerPixelY, Signal(0).hDC, 0, 0, SRCCOPY) - result = BitBlt(Signal(1).hDC, 4, 0, Signal(1).Width / Screen.TwipsPerPixelX, Signal(1).Height / Screen.TwipsPerPixelY, Signal(1).hDC, 0, 0, SRCCOPY) - For i = 0 To 15 - If ChannelOn(i) Then - result = AI_ReadChannel(card, i, range_value(gain.ListIndex), d) - l = d - If l < 0 Then - l = l + 65536 - End If - l = (l And &HFFF0) / 16 - - If i < 8 Then - p = (4095 - CSng(l)) / 4095 * (Signal(0).Height / Screen.TwipsPerPixelY - 2) - If PrevP(i) <> -1 Then Signal(0).Line (4, p)-(8, PrevP(i)), SignalColor(i) - Else - p = (4095 - CSng(l)) / 4095 * (Signal(1).Height / Screen.TwipsPerPixelY - 2) - If PrevP(i) <> -1 Then - Signal(1).Line (4, p)-(8, PrevP(i)), SignalColor(i) - End If - End If - PrevP(i) = p - End If - Next i - -'Digital Input - result = DI_ReadPort(card, 0, l) - For i = 0 To 15 - p = l Mod 2 - If p = 0 Then - DI(i) = Image0 - Else 'p = 1 - DI(i) = Image1 - End If - l = CInt(Int(l / 2)) - Next i - -'Analog Output - Select Case DA_Wave.ListIndex - Case SINE_WAVE: - m = Sin(angle) - angle = angle + Pi / 36 - p = CInt(m * 2048 + 2048) - If p >= 4096 Then p = 4095 - result = AO_WriteChannel(card, 0, p) - Case SQUARE_WAVE: - result = AO_WriteChannel(card, 0, sq) - If (angle Mod 36) = 0 Then - If sq = 0 Then sq = 4095 Else sq = 0 - End If - angle = angle + 1 - End Select -End Sub - -Private Sub Tuner_MouseDown(Button As Integer, Shift As Integer, X As Single, Y As Single) - Dim dx As Long, dy As Long - dx = X + Tuner.Left - pin.X2 - dy = Y + Tuner.Top - pin.Y2 - If dx > -50 And dx < 50 And dy > -50 And dy < 50 Then - DragOn = True - End If - -End Sub - -Private Sub Tuner_MouseMove(Button As Integer, Shift As Integer, X As Single, Y As Single) - Dim r As Single, p As Single - Dim d As Long - Dim dx As Long, dy As Long - Dim q As Integer, result As Integer - If DragOn Then - dx = X + Tuner.Left - x0 - dy = Y + Tuner.Top - y0 - d = Sqr(dx ^ 2 + dy ^ 2) - r = ArcCos(CSng(dx / d)) - If dy > 0 And dx < 0 Then r = 2 * Pi - r - If dy > 0 And dx >= 0 Then r = -r - If r <= MaxAngle And r >= MinAngle Then - pin.X2 = x0 + CInt(l * dx / d) - pin.Y2 = y0 + CInt(l * dy / d) - p = ub - (ub - lb) * (2 * r + Pi / 2) / (3 * Pi) - If p > ub Then - p = ub - ElseIf p < lb Then - p = lb - End If - AO_value.Caption = Format(p, "#0.00") - q = CInt((p - lb) * 4095 / (ub - lb)) - result = AO_WriteChannel(card, 1, q) - End If - End If -End Sub - -Private Sub Tuner_MouseUp(Button As Integer, Shift As Integer, X As Single, Y As Single) - DragOn = False -End Sub - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9112/VB9112DbfDma/9112glbl.Bas b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9112/VB9112DbfDma/9112glbl.Bas deleted file mode 100644 index 77a2e7f..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9112/VB9112DbfDma/9112glbl.Bas +++ /dev/null @@ -1,4 +0,0 @@ -Attribute VB_Name = "Module1" -Global card As Integer -Global card_number As Integer - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9112/VB9112DbfDma/Base9112.frm b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9112/VB9112DbfDma/Base9112.frm deleted file mode 100644 index 9ee72a7..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9112/VB9112DbfDma/Base9112.frm +++ /dev/null @@ -1,99 +0,0 @@ -VERSION 4.00 -Begin VB.Form SettingForm - Appearance = 0 'Flat - BackColor = &H00C0C0C0& - Caption = "Card Number Setting" - ClientHeight = 1275 - ClientLeft = 4590 - ClientTop = 4545 - ClientWidth = 2820 - BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851} - Name = "MS Sans Serif" - Size = 8.25 - Charset = 0 - Weight = 700 - Underline = 0 'False - Italic = 0 'False - Strikethrough = 0 'False - EndProperty - ForeColor = &H80000008& - Height = 1680 - Left = 4530 - LinkTopic = "Form2" - ScaleHeight = 1275 - ScaleWidth = 2820 - Top = 4200 - Width = 2940 - Begin VB.CommandButton OKBtn - Appearance = 0 'Flat - BackColor = &H80000005& - Caption = "OK" - Default = -1 'True - Height = 315 - Left = 300 - TabIndex = 0 - Top = 720 - Width = 915 - End - Begin VB.CommandButton CancelBtn - Appearance = 0 'Flat - BackColor = &H80000005& - Cancel = -1 'True - Caption = "Cancel" - Height = 315 - Left = 1380 - TabIndex = 3 - Top = 720 - Width = 915 - End - Begin VB.ComboBox CardNum - Appearance = 0 'Flat - Height = 300 - Left = 1440 - Style = 2 'Dropdown List - TabIndex = 2 - Top = 120 - Width = 1035 - End - Begin VB.Label Label2 - Appearance = 0 'Flat - BackColor = &H00C0C0C0& - Caption = "Card Number:" - ForeColor = &H00000000& - Height = 195 - Index = 0 - Left = 180 - TabIndex = 1 - Top = 180 - Width = 1275 - End -End -Attribute VB_Name = "SettingForm" -Attribute VB_Creatable = False -Attribute VB_Exposed = False - - -Private Sub BaseAddr_Change() - -End Sub - - -Private Sub CancelBtn_Click() - Unload SettingForm -End Sub - -Private Sub Form_Load() - Dim i As Long - For i = 0 To 15 Step 1 - CardNum.AddItem i - Next - CardNum.ListIndex = 0 -End Sub - -Private Sub OKBtn_Click() - card = -1 - card_number = CardNum.ListIndex - card = Register_Card(PCI_9112, card_number) - Unload SettingForm -End Sub - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9112/VB9112DbfDma/Vb9112d.vbp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9112/VB9112DbfDma/Vb9112d.vbp deleted file mode 100644 index 6e2b132..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9112/VB9112DbfDma/Vb9112d.vbp +++ /dev/null @@ -1,22 +0,0 @@ -Form=vb9112d.Frm -Module=DASK; ..\..\..\Include\Dask.bas -Module=Module1; 9112glbl.bas -Form=Base9112.frm -Reference=*\G{00025E04-0000-0000-C000-000000000046}#2.5#0#D:\Program Files\Common Files\Microsoft Shared\DD:\Program Fil#Microsoft DAO 2.5/3.0 Compatibility Library -ProjWinSize=91,471,191,215 -ProjWinShow=2 -IconForm="dma9112" -HelpFile="" -Title="9112DMA" -ExeName32="vb9112d.exe" -ExeName="9112DMA.EXE" -Name="vb49112dma" -HelpContextID="0" -StartMode=0 -VersionCompatible32="0" -MajorVer=1 -MinorVer=0 -RevisionVer=0 -AutoIncrementVer=0 -ServerSupportFiles=0 -VersionCompanyName="ADLink" diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9112/VB9112DbfDma/vb9112d.Frm b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9112/VB9112DbfDma/vb9112d.Frm deleted file mode 100644 index 82e9a54..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9112/VB9112DbfDma/vb9112d.Frm +++ /dev/null @@ -1,555 +0,0 @@ -VERSION 4.00 -Begin VB.Form dma9112 - Appearance = 0 'Flat - BackColor = &H00C0C0C0& - Caption = "9112 Double-Buffered DMA" - ClientHeight = 4980 - ClientLeft = 1080 - ClientTop = 1620 - ClientWidth = 7665 - BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851} - Name = "MS Sans Serif" - Size = 8.25 - Charset = 0 - Weight = 700 - Underline = 0 'False - Italic = 0 'False - Strikethrough = 0 'False - EndProperty - ForeColor = &H0000FFFF& - Height = 5385 - Left = 1020 - LinkTopic = "Form1" - ScaleHeight = 4980 - ScaleWidth = 7665 - Top = 1275 - Width = 7785 - Begin VB.CommandButton btnExit - Appearance = 0 'Flat - BackColor = &H80000005& - Caption = "Exit" - Height = 500 - Left = 3720 - TabIndex = 5 - Top = 4320 - Width = 1000 - End - Begin VB.CommandButton btnStop - Appearance = 0 'Flat - BackColor = &H80000005& - Caption = "Stop" - Enabled = 0 'False - Height = 500 - Left = 2520 - TabIndex = 4 - Top = 4320 - Width = 1000 - End - Begin VB.CommandButton btnStart - Appearance = 0 'Flat - BackColor = &H80000005& - Caption = "Start" - Height = 500 - Left = 1320 - TabIndex = 3 - Top = 4320 - Width = 1000 - End - Begin VB.Frame frmData - Appearance = 0 'Flat - BackColor = &H00C0C0C0& - Caption = "Buffer Size" - ForeColor = &H00FF0000& - Height = 615 - Left = 1920 - TabIndex = 2 - Top = 3500 - Width = 1935 - Begin VB.ComboBox cobData - Appearance = 0 'Flat - Height = 315 - Left = 120 - Style = 2 'Dropdown List - TabIndex = 18 - Top = 240 - Width = 975 - End - Begin VB.Label labData - Appearance = 0 'Flat - BackColor = &H00C0C0C0& - Caption = "Samples" - ForeColor = &H0000FFFF& - Height = 255 - Left = 1155 - TabIndex = 19 - Top = 255 - Width = 720 - End - End - Begin VB.Frame frmSample - Appearance = 0 'Flat - BackColor = &H00C0C0C0& - Caption = "Sampling Rate" - ForeColor = &H00FF0000& - Height = 615 - Left = 120 - TabIndex = 1 - Top = 3500 - Width = 1700 - Begin VB.ComboBox cobSample - Appearance = 0 'Flat - Height = 315 - Left = 120 - Style = 2 'Dropdown List - TabIndex = 17 - Top = 240 - Width = 975 - End - Begin VB.Label Label1 - Appearance = 0 'Flat - BackColor = &H00C0C0C0& - Caption = "KHz" - ForeColor = &H0000FFFF& - Height = 255 - Left = 1150 - TabIndex = 20 - Top = 260 - Width = 450 - End - End - Begin VB.Frame dmaFrame - Appearance = 0 'Flat - BackColor = &H00C0C0C0& - Caption = "DMA Input(A/D)" - ForeColor = &H00FF0000& - Height = 3375 - Left = 120 - TabIndex = 0 - Top = 120 - Width = 7455 - Begin VB.Frame Frame1 - Appearance = 0 'Flat - BackColor = &H00C0C0C0& - Caption = "Range" - ForeColor = &H00FF0000& - Height = 615 - Left = 5880 - TabIndex = 8 - Top = 2640 - Width = 1380 - Begin VB.ComboBox cobRange - Appearance = 0 'Flat - Height = 315 - Left = 100 - Style = 2 'Dropdown List - TabIndex = 16 - Top = 240 - Width = 1200 - End - End - Begin VB.Frame frmChannel - Appearance = 0 'Flat - BackColor = &H00C0C0C0& - Caption = "AD Channel" - ForeColor = &H00FF0000& - Height = 1755 - Left = 5880 - TabIndex = 7 - Top = 240 - Width = 1380 - Begin VB.OptionButton optChn - Caption = "7" - Height = 315 - Index = 7 - Left = 720 - TabIndex = 28 - Top = 1260 - Width = 495 - End - Begin VB.OptionButton optChn - Caption = "6" - Height = 315 - Index = 6 - Left = 720 - TabIndex = 27 - Top = 960 - Width = 495 - End - Begin VB.OptionButton optChn - Caption = "5" - Height = 315 - Index = 5 - Left = 720 - TabIndex = 26 - Top = 660 - Width = 495 - End - Begin VB.OptionButton optChn - Caption = "4" - Height = 315 - Index = 4 - Left = 720 - TabIndex = 25 - Top = 360 - Width = 495 - End - Begin VB.OptionButton optChn - Caption = "3" - Height = 315 - Index = 3 - Left = 120 - TabIndex = 24 - Top = 1260 - Width = 495 - End - Begin VB.OptionButton optChn - Caption = "2" - Height = 315 - Index = 2 - Left = 120 - TabIndex = 23 - Top = 960 - Width = 495 - End - Begin VB.OptionButton optChn - Caption = "1" - Height = 315 - Index = 1 - Left = 120 - TabIndex = 22 - Top = 660 - Width = 495 - End - Begin VB.OptionButton optChn - Caption = "0" - Height = 315 - Index = 0 - Left = 120 - TabIndex = 21 - Top = 360 - Value = -1 'True - Width = 495 - End - End - Begin VB.PictureBox picScreen - Appearance = 0 'Flat - AutoRedraw = -1 'True - BackColor = &H00000000& - ForeColor = &H80000008& - Height = 2700 - Left = 720 - ScaleHeight = 178 - ScaleMode = 3 'Pixel - ScaleWidth = 331 - TabIndex = 6 - Top = 480 - Width = 5000 - End - Begin VB.Label labValue - Alignment = 1 'Right Justify - Appearance = 0 'Flat - BackColor = &H00C0C0C0& - Caption = "-5.00" - ForeColor = &H0000FFFF& - Height = 255 - Index = 4 - Left = 120 - TabIndex = 15 - Top = 3045 - Width = 600 - End - Begin VB.Label labValue - Alignment = 1 'Right Justify - Appearance = 0 'Flat - BackColor = &H00C0C0C0& - Caption = "-2.50" - ForeColor = &H0000FFFF& - Height = 255 - Index = 3 - Left = 120 - TabIndex = 14 - Top = 2400 - Width = 600 - End - Begin VB.Label labValue - Alignment = 1 'Right Justify - Appearance = 0 'Flat - BackColor = &H00C0C0C0& - Caption = "0.00" - ForeColor = &H0000FFFF& - Height = 255 - Index = 2 - Left = 120 - TabIndex = 13 - Top = 1740 - Width = 615 - End - Begin VB.Label labValue - Alignment = 1 'Right Justify - Appearance = 0 'Flat - BackColor = &H00C0C0C0& - Caption = "2.50" - ForeColor = &H0000FFFF& - Height = 255 - Index = 1 - Left = 120 - TabIndex = 12 - Top = 1065 - Width = 615 - End - Begin VB.Label labValue - Alignment = 1 'Right Justify - Appearance = 0 'Flat - BackColor = &H00C0C0C0& - Caption = "5.00" - ForeColor = &H0000FFFF& - Height = 255 - Index = 0 - Left = 120 - TabIndex = 11 - Top = 420 - Width = 615 - End - Begin VB.Label labVots - Appearance = 0 'Flat - BackColor = &H00C0C0C0& - Caption = "Vots" - ForeColor = &H0000FFFF& - Height = 255 - Left = 120 - TabIndex = 10 - Top = 200 - Width = 495 - End - Begin VB.Label labSignal - Appearance = 0 'Flat - BackColor = &H00C0C0C0& - Caption = "Signals" - ForeColor = &H0000FFFF& - Height = 300 - Left = 2800 - TabIndex = 9 - Top = 200 - Width = 780 - End - End -End -Attribute VB_Name = "dma9112" -Attribute VB_Creatable = False -Attribute VB_Exposed = False -Dim gnADChn As Long -Dim gnCount As Long -Dim gnC2 As Long -Dim gnBuffer(4000) As Integer -Dim nRate As Long -Dim range(8) As Integer -Dim stop_flag As Integer - -Private Sub btnExit_Click() - If card >= 0 Then Release_Card (card) - End -End Sub - -Private Sub btnStart_Click() - Dim result As Integer - Dim half_ready As Byte - Dim fstop As Byte - Dim access_cnt As Long - - result = AI_9112_Config(card, TRIG_INT_PACER) - result = AI_AsyncDblBufferMode(card, 1) - result = AI_ContReadChannel(card, gnADChn, range(cobRange.ListIndex), gnBuffer(0), gnCount, CDbl(nRate * 1000), ASYNCH_OP) - btnStart.Enabled = False - btnStop.Enabled = True - stop_flag = 0 - Do - Do - result = AI_AsyncDblBufferHalfReady(card, half_ready, fstop) - Loop Until half_ready - result = AI_AsyncDblBufferTransfer(card, gnBuffer(0)) - ShowData (gnCount / 2) - DoEvents - Loop Until stop_flag = 1 - result = AI_AsyncClear(card, access_cnt) - btnStart.Enabled = True - btnStop.Enabled = False -End Sub - -Private Sub btnStop_Click() - stop_flag = 1 -End Sub - -Private Sub cobData_Click() - gnCount = Val(Trim$(cobData)) -End Sub - - - -Private Sub cobRange_Click() -Select Case cobRange.ListIndex -Case 0 - labValue(0).Caption = "5.00" - labValue(1).Caption = "2.50" - labValue(2).Caption = "0.00" - labValue(3).Caption = "-2.50" - labValue(4).Caption = "-5.00" - Case 1 - labValue(0).Caption = "2.50" - labValue(1).Caption = "2.25" - labValue(2).Caption = "0.00" - labValue(3).Caption = "-2.25" - labValue(4).Caption = "-2.50" - Case 2 - labValue(0).Caption = "1.250" - labValue(1).Caption = "0.625" - labValue(2).Caption = "0.00" - labValue(3).Caption = "-0.625" - labValue(4).Caption = "-1.250" - Case 3 - labValue(0).Caption = "0.6250" - labValue(1).Caption = "0.3125" - labValue(2).Caption = "0.0000" - labValue(3).Caption = "-0.3125" - labValue(4).Caption = "-0.6250" - Case 4 - labValue(0).Caption = "10.0" - labValue(1).Caption = "7.50" - labValue(2).Caption = "5.00" - labValue(3).Caption = "2.50" - labValue(4).Caption = "0.00" - Case 5 - labValue(0).Caption = "5.00" - labValue(1).Caption = "3.75" - labValue(2).Caption = "2.50" - labValue(3).Caption = "1.25" - labValue(4).Caption = "0.00" - Case 6 - labValue(0).Caption = "2.500" - labValue(1).Caption = "1.875" - labValue(2).Caption = "1.250" - labValue(3).Caption = "0.625" - labValue(4).Caption = "0.000" - Case 7 - labValue(0).Caption = "1.2500" - labValue(1).Caption = "0.9375" - labValue(2).Caption = "0.6250" - labValue(3).Caption = "0.3125" - labValue(4).Caption = "0.0000" - Case 8 - labValue(0).Caption = "10" - labValue(1).Caption = "5.0" - labValue(2).Caption = "0.0" - labValue(3).Caption = "-5.0" - labValue(4).Caption = "-10" - End Select -End Sub - -Private Sub cobSample_Click() - nRate = Val(Trim$(cobSample)) -End Sub - -Private Sub Form_Load() - Dim bus As Integer, slot As Integer - - SettingForm.Show 1 - If card < 0 Then - MsgBox "Register Card Failed" - End - End If - - cobRange.AddItem "+/- 5V" - cobRange.AddItem "+/- 2.5V" - cobRange.AddItem "+/- 1.25V" - cobRange.AddItem "+/- 0.625V" - cobRange.AddItem "0V~10V" - cobRange.AddItem "0V~5V" - cobRange.AddItem "0V~2.5V" - cobRange.AddItem "0V~1.25V" - cobRange.AddItem "+/- 10V" - - cobRange.ListIndex = 0 - - cobData.AddItem "500" - cobData.AddItem "1000" - cobData.AddItem "2000" - cobData.AddItem "3000" - cobData.AddItem "4000" - - cobData.ListIndex = 0 - - cobSample.AddItem "10" - cobSample.AddItem "20" - cobSample.AddItem "30" - cobSample.AddItem "40" - cobSample.AddItem "50" - cobSample.AddItem "70" - cobSample.AddItem "90" - cobSample.AddItem "100" - - cobSample.ListIndex = 0 - - gnADChn = 0 - - 'Range values - range(0) = 2 - range(1) = 3 - range(2) = 4 - range(3) = 5 - range(4) = 15 - range(5) = 16 - range(6) = 17 - range(7) = 18 - range(8) = 1 - -End Sub - -Private Sub Form_Unload(Cancel As Integer) - If card >= 0 Then Release_Card (card) -End Sub - - - -Private Sub ShowData(count As Integer) - Dim i As Integer, last As Integer, total As Integer - Dim x1 As Integer, y1 As Integer, x2 As Integer, y2 As Integer - Dim w As Long, h As Long, data As Long - - picScreen.Cls - last = count - w = picScreen.ScaleWidth - h = picScreen.ScaleHeight - 'gnBuffer contains 16-bit data, the 4 LSB is channel# - 'VB's integer is signed integer, its range is -32768 to 32767 - 'We change the range to 0 to 65535 - If gnBuffer(0) >= 0 Then - data = gnBuffer(0) - Else - data = gnBuffer(0) + 65536 - End If - x1 = (last * w) / count - y1 = h - ((((data And &HFFF0) / 16) * h) / 4096) - last = last - 1 - - While (last > 0) - If gnBuffer(count - last) >= 0 Then - data = gnBuffer(count - last) - Else - data = gnBuffer(count - last) + 65536 - End If - x2 = (last * w) / count - y2 = h - ((((data And &HFFF0) / 16) * h) / 4096) - last = last - 1 - picScreen.Line (x1, y1)-(x2, y2), &HFFFF& - x1 = x2 - y1 = y2 - Wend -End Sub - - - - -Private Sub optChn_Click(Index As Integer) - gnADChn = Index -End Sub - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9113/C9113DbfFile/9113DBF.exe b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9113/C9113DbfFile/9113DBF.exe deleted file mode 100644 index 737c5f2..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9113/C9113DbfFile/9113DBF.exe and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9113/C9113DbfFile/9113DBF.mak b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9113/C9113DbfFile/9113DBF.mak deleted file mode 100644 index 79d8202..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9113/C9113DbfFile/9113DBF.mak +++ /dev/null @@ -1,196 +0,0 @@ -# Microsoft Developer Studio Generated NMAKE File, Format Version 4.00 -# ** DO NOT EDIT ** - -# TARGTYPE "Win32 (x86) Console Application" 0x0103 - -!IF "$(CFG)" == "" -CFG=9113DBF - Win32 Debug -!MESSAGE No configuration specified. Defaulting to 9113DBF - Win32 Debug. -!ENDIF - -!IF "$(CFG)" != "9113DBF - Win32 Release" && "$(CFG)" !=\ - "9113DBF - Win32 Debug" -!MESSAGE Invalid configuration "$(CFG)" specified. -!MESSAGE You can specify a configuration when running NMAKE on this makefile -!MESSAGE by defining the macro CFG on the command line. For example: -!MESSAGE -!MESSAGE NMAKE /f "9113DBF.mak" CFG="9113DBF - Win32 Debug" -!MESSAGE -!MESSAGE Possible choices for configuration are: -!MESSAGE -!MESSAGE "9113DBF - Win32 Release" (based on "Win32 (x86) Console Application") -!MESSAGE "9113DBF - Win32 Debug" (based on "Win32 (x86) Console Application") -!MESSAGE -!ERROR An invalid configuration is specified. -!ENDIF - -!IF "$(OS)" == "Windows_NT" -NULL= -!ELSE -NULL=nul -!ENDIF -################################################################################ -# Begin Project -# PROP Target_Last_Scanned "9113DBF - Win32 Debug" -RSC=rc.exe -CPP=cl.exe - -!IF "$(CFG)" == "9113DBF - Win32 Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "Release" -# PROP BASE Intermediate_Dir "Release" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "" -# PROP Intermediate_Dir "Release" -# PROP Target_Dir "" -OUTDIR=. -INTDIR=.\Release - -ALL : "$(OUTDIR)\9113DBF.exe" - -CLEAN : - -@erase ".\9113DBF.exe" - -@erase ".\Release\9113DbF.obj" - -"$(INTDIR)" : - if not exist "$(INTDIR)/$(NULL)" mkdir "$(INTDIR)" - -# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /YX /c -# ADD CPP /nologo /W3 /GX /Od /I "..\..\..\include" /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /c -# SUBTRACT CPP /YX -CPP_PROJ=/nologo /ML /W3 /GX /Od /I "..\..\..\include" /D "WIN32" /D "NDEBUG"\ - /D "_CONSOLE" /Fo"$(INTDIR)/" /c -CPP_OBJS=.\Release/ -CPP_SBRS= -# ADD BASE RSC /l 0x404 /d "NDEBUG" -# ADD RSC /l 0x404 /d "NDEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -BSC32_FLAGS=/nologo /o"$(OUTDIR)/9113DBF.bsc" -BSC32_SBRS= -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ..\..\..\lib\pci-dask.lib /nologo /subsystem:console /machine:I386 -LINK32_FLAGS=kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib\ - advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib\ - odbccp32.lib ..\..\..\lib\pci-dask.lib /nologo /subsystem:console\ - /incremental:no /pdb:"$(OUTDIR)/9113DBF.pdb" /machine:I386\ - /out:"$(OUTDIR)/9113DBF.exe" -LINK32_OBJS= \ - "$(INTDIR)/9113DbF.obj" - -"$(OUTDIR)\9113DBF.exe" : "$(OUTDIR)" $(DEF_FILE) $(LINK32_OBJS) - $(LINK32) @<< - $(LINK32_FLAGS) $(LINK32_OBJS) -<< - -!ELSEIF "$(CFG)" == "9113DBF - Win32 Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "Debug" -# PROP BASE Intermediate_Dir "Debug" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "" -# PROP Intermediate_Dir "Debug" -# PROP Target_Dir "" -OUTDIR=. -INTDIR=.\Debug - -ALL : "$(OUTDIR)\9113DBF.exe" - -CLEAN : - -@erase ".\Debug\vc40.pdb" - -@erase ".\Debug\vc40.idb" - -@erase ".\9113DBF.exe" - -@erase ".\Debug\9113DbF.obj" - -@erase ".\9113DBF.ilk" - -@erase ".\9113DBF.pdb" - -"$(INTDIR)" : - if not exist "$(INTDIR)/$(NULL)" mkdir "$(INTDIR)" - -# ADD BASE CPP /nologo /W3 /Gm /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /YX /c -# ADD CPP /nologo /W3 /Gm /GX /Zi /Od /I "..\..\..\include" /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /c -# SUBTRACT CPP /YX -CPP_PROJ=/nologo /MLd /W3 /Gm /GX /Zi /Od /I "..\..\..\include" /D "WIN32" /D\ - "_DEBUG" /D "_CONSOLE" /Fo"$(INTDIR)/" /Fd"$(INTDIR)/" /c -CPP_OBJS=.\Debug/ -CPP_SBRS= -# ADD BASE RSC /l 0x404 /d "_DEBUG" -# ADD RSC /l 0x404 /d "_DEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -BSC32_FLAGS=/nologo /o"$(OUTDIR)/9113DBF.bsc" -BSC32_SBRS= -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /debug /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ..\..\..\lib\pci-dask.lib /nologo /subsystem:console /debug /machine:I386 -LINK32_FLAGS=kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib\ - advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib\ - odbccp32.lib ..\..\..\lib\pci-dask.lib /nologo /subsystem:console\ - /incremental:yes /pdb:"$(OUTDIR)/9113DBF.pdb" /debug /machine:I386\ - /out:"$(OUTDIR)/9113DBF.exe" -LINK32_OBJS= \ - "$(INTDIR)/9113DbF.obj" - -"$(OUTDIR)\9113DBF.exe" : "$(OUTDIR)" $(DEF_FILE) $(LINK32_OBJS) - $(LINK32) @<< - $(LINK32_FLAGS) $(LINK32_OBJS) -<< - -!ENDIF - -.c{$(CPP_OBJS)}.obj: - $(CPP) $(CPP_PROJ) $< - -.cpp{$(CPP_OBJS)}.obj: - $(CPP) $(CPP_PROJ) $< - -.cxx{$(CPP_OBJS)}.obj: - $(CPP) $(CPP_PROJ) $< - -.c{$(CPP_SBRS)}.sbr: - $(CPP) $(CPP_PROJ) $< - -.cpp{$(CPP_SBRS)}.sbr: - $(CPP) $(CPP_PROJ) $< - -.cxx{$(CPP_SBRS)}.sbr: - $(CPP) $(CPP_PROJ) $< - -################################################################################ -# Begin Target - -# Name "9113DBF - Win32 Release" -# Name "9113DBF - Win32 Debug" - -!IF "$(CFG)" == "9113DBF - Win32 Release" - -!ELSEIF "$(CFG)" == "9113DBF - Win32 Debug" - -!ENDIF - -################################################################################ -# Begin Source File - -SOURCE=.\9113DbF.c -DEP_CPP_9113D=\ - ".\..\..\..\include\dask.h"\ - - -"$(INTDIR)\9113DbF.obj" : $(SOURCE) $(DEP_CPP_9113D) "$(INTDIR)" - - -# End Source File -# End Target -# End Project -################################################################################ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9113/C9113DbfFile/9113DBF.mdp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9113/C9113DbfFile/9113DBF.mdp deleted file mode 100644 index 7e56430..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9113/C9113DbfFile/9113DBF.mdp and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9113/C9113DbfFile/9113DbF.c b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9113/C9113DbfFile/9113DbF.c deleted file mode 100644 index 5b0ba16..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9113/C9113DbfFile/9113DbF.c +++ /dev/null @@ -1,57 +0,0 @@ -#include -#include -#include -#include "dask.h" - -U16 channel=3; //4 channels -U16 range=AD_B_10_V; -char *file_name="9113d"; -U32 read_count=2048; -F64 sample_rate=2000; - -main() -{ - I16 card, err, card_num; - BOOLEAN halfReady, fStop; - U32 count=0, count1; - - printf("This program inputs data from CH-0 to CH-%d of PCI-9113 in %d Hz by\ndouble-buffer mode, and store data to file '%s.dat'. The size of circular\nbuffer is %d. It will not stop until you press a key.\n\nPress any key to start the operation.\n", - channel, (int)sample_rate, file_name, read_count); - printf("Please input a card number: "); - scanf(" %d", &card_num); - //getch(); - if ((card=Register_Card (PCI_9113, card_num)) <0 ) { - printf("Register_Card error=%d", card); - exit(1); - } - err = AI_9113_Config(card, TRIG_INT_PACER); - if (err!=0) { - printf("AI_9113_Config error=%d", err); - exit(1); - } - err = AI_AsyncDblBufferMode(card, 1); //double-buffer mode - if (err!=0) { - printf("AI_DblBufferMode error=%d", err); - exit(1); - } - err = AI_ContScanChannelsToFile(card, channel, range, file_name, read_count, sample_rate, ASYNCH_OP); - if (err!=0) { - printf("AI_ContReadChannel error=%d", err); - exit(1); - } - printf("\nPress any key to stop input operation."); - printf("\n\nData count : \n"); - do { - do { - AI_AsyncDblBufferHalfReady(card, &halfReady, &fStop); - } while (!halfReady); - AI_AsyncDblBufferTransfer(card, NULL); //transfer to file - count += (read_count / 2); - printf("%d\r", count); - } while(!kbhit()); - AI_AsyncClear(card, &count1); - Release_Card(card); - printf("\n\n%d input data are stored in file '%s.dat'.\n", count, file_name); - printf("\nPress ENTER to exit the program. "); getch(); -} - \ No newline at end of file diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9113/C9113File/9113FILE.C b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9113/C9113File/9113FILE.C deleted file mode 100644 index 270b6d3..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9113/C9113File/9113FILE.C +++ /dev/null @@ -1,43 +0,0 @@ -#include -#include -#include -#include "dask.h" - -U16 channel=3; //4 channels -U16 range=AD_B_10_V; -char *file_name="9113d"; -U32 read_count=1024; -F64 sample_rate=10000; - -main() -{ - I16 card, err, card_num; - - printf("This program inputs %d data from CH-0 to CH-%d of PCI-9113 in %d Hz, and\nstore data to file '%s.dat'.\nPlease press any key to start the operation.\n", read_count, channel, (int)sample_rate, file_name); - printf("Please input a card number: "); - scanf(" %d", &card_num); - //getch(); - if ((card=Register_Card (PCI_9113, card_num)) <0 ) { - printf("Register_Card error=%d", card); - exit(1); - } - err = AI_9113_Config(card, TRIG_INT_PACER); - if (err!=0) { - printf("AI_9113_Config error=%d", err); - exit(1); - } - err = AI_AsyncDblBufferMode(card, 0); - if (err!=0) { - printf("AI_DblBufferMode error=%d", err); - exit(1); - } - err = AI_ContScanChannelsToFile(card, channel, range, file_name, read_count, sample_rate, SYNCH_OP); - if (err!=0) { - printf("AI_ContReadChannel error=%d", err); - exit(1); - } - Release_Card(card); - printf("\n\nThe input data is already stored in file '%s.dat'.\n", file_name); - printf("\nPress ENTER to exit the program. "); getch(); -} - \ No newline at end of file diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9113/C9113File/9113File.exe b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9113/C9113File/9113File.exe deleted file mode 100644 index b4ee4df..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9113/C9113File/9113File.exe and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9113/C9113File/9113File.mak b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9113/C9113File/9113File.mak deleted file mode 100644 index f8f3d95..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9113/C9113File/9113File.mak +++ /dev/null @@ -1,197 +0,0 @@ -# Microsoft Developer Studio Generated NMAKE File, Format Version 4.00 -# ** DO NOT EDIT ** - -# TARGTYPE "Win32 (x86) Console Application" 0x0103 - -!IF "$(CFG)" == "" -CFG=9113File - Win32 Debug -!MESSAGE No configuration specified. Defaulting to 9113File - Win32 Debug. -!ENDIF - -!IF "$(CFG)" != "9113File - Win32 Release" && "$(CFG)" !=\ - "9113File - Win32 Debug" -!MESSAGE Invalid configuration "$(CFG)" specified. -!MESSAGE You can specify a configuration when running NMAKE on this makefile -!MESSAGE by defining the macro CFG on the command line. For example: -!MESSAGE -!MESSAGE NMAKE /f "9113File.mak" CFG="9113File - Win32 Debug" -!MESSAGE -!MESSAGE Possible choices for configuration are: -!MESSAGE -!MESSAGE "9113File - Win32 Release" (based on\ - "Win32 (x86) Console Application") -!MESSAGE "9113File - Win32 Debug" (based on "Win32 (x86) Console Application") -!MESSAGE -!ERROR An invalid configuration is specified. -!ENDIF - -!IF "$(OS)" == "Windows_NT" -NULL= -!ELSE -NULL=nul -!ENDIF -################################################################################ -# Begin Project -# PROP Target_Last_Scanned "9113File - Win32 Debug" -RSC=rc.exe -CPP=cl.exe - -!IF "$(CFG)" == "9113File - Win32 Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "Release" -# PROP BASE Intermediate_Dir "Release" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "" -# PROP Intermediate_Dir "Release" -# PROP Target_Dir "" -OUTDIR=. -INTDIR=.\Release - -ALL : "$(OUTDIR)\9113File.exe" - -CLEAN : - -@erase ".\9113File.exe" - -@erase ".\Release\9113file.obj" - -"$(INTDIR)" : - if not exist "$(INTDIR)/$(NULL)" mkdir "$(INTDIR)" - -# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /YX /c -# ADD CPP /nologo /W3 /GX /Od /I "..\..\..\include" /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /c -# SUBTRACT CPP /YX -CPP_PROJ=/nologo /ML /W3 /GX /Od /I "..\..\..\include" /D "WIN32" /D "NDEBUG"\ - /D "_CONSOLE" /Fo"$(INTDIR)/" /c -CPP_OBJS=.\Release/ -CPP_SBRS= -# ADD BASE RSC /l 0x404 /d "NDEBUG" -# ADD RSC /l 0x404 /d "NDEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -BSC32_FLAGS=/nologo /o"$(OUTDIR)/9113File.bsc" -BSC32_SBRS= -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ..\..\..\lib\pci-dask.lib /nologo /subsystem:console /machine:I386 -LINK32_FLAGS=kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib\ - advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib\ - odbccp32.lib ..\..\..\lib\pci-dask.lib /nologo /subsystem:console\ - /incremental:no /pdb:"$(OUTDIR)/9113File.pdb" /machine:I386\ - /out:"$(OUTDIR)/9113File.exe" -LINK32_OBJS= \ - ".\Release\9113file.obj" - -"$(OUTDIR)\9113File.exe" : "$(OUTDIR)" $(DEF_FILE) $(LINK32_OBJS) - $(LINK32) @<< - $(LINK32_FLAGS) $(LINK32_OBJS) -<< - -!ELSEIF "$(CFG)" == "9113File - Win32 Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "Debug" -# PROP BASE Intermediate_Dir "Debug" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "" -# PROP Intermediate_Dir "Debug" -# PROP Target_Dir "" -OUTDIR=. -INTDIR=.\Debug - -ALL : "$(OUTDIR)\9113File.exe" - -CLEAN : - -@erase ".\Debug\vc40.pdb" - -@erase ".\Debug\vc40.idb" - -@erase ".\9113File.exe" - -@erase ".\Debug\9113file.obj" - -@erase ".\9113File.ilk" - -@erase ".\9113File.pdb" - -"$(INTDIR)" : - if not exist "$(INTDIR)/$(NULL)" mkdir "$(INTDIR)" - -# ADD BASE CPP /nologo /W3 /Gm /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /YX /c -# ADD CPP /nologo /W3 /Gm /GX /Zi /Od /I "..\..\..\include" /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /c -# SUBTRACT CPP /YX -CPP_PROJ=/nologo /MLd /W3 /Gm /GX /Zi /Od /I "..\..\..\include" /D "WIN32" /D\ - "_DEBUG" /D "_CONSOLE" /Fo"$(INTDIR)/" /Fd"$(INTDIR)/" /c -CPP_OBJS=.\Debug/ -CPP_SBRS= -# ADD BASE RSC /l 0x404 /d "_DEBUG" -# ADD RSC /l 0x404 /d "_DEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -BSC32_FLAGS=/nologo /o"$(OUTDIR)/9113File.bsc" -BSC32_SBRS= -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /debug /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ..\..\..\lib\pci-dask.lib /nologo /subsystem:console /debug /machine:I386 -LINK32_FLAGS=kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib\ - advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib\ - odbccp32.lib ..\..\..\lib\pci-dask.lib /nologo /subsystem:console\ - /incremental:yes /pdb:"$(OUTDIR)/9113File.pdb" /debug /machine:I386\ - /out:"$(OUTDIR)/9113File.exe" -LINK32_OBJS= \ - ".\Debug\9113file.obj" - -"$(OUTDIR)\9113File.exe" : "$(OUTDIR)" $(DEF_FILE) $(LINK32_OBJS) - $(LINK32) @<< - $(LINK32_FLAGS) $(LINK32_OBJS) -<< - -!ENDIF - -.c{$(CPP_OBJS)}.obj: - $(CPP) $(CPP_PROJ) $< - -.cpp{$(CPP_OBJS)}.obj: - $(CPP) $(CPP_PROJ) $< - -.cxx{$(CPP_OBJS)}.obj: - $(CPP) $(CPP_PROJ) $< - -.c{$(CPP_SBRS)}.sbr: - $(CPP) $(CPP_PROJ) $< - -.cpp{$(CPP_SBRS)}.sbr: - $(CPP) $(CPP_PROJ) $< - -.cxx{$(CPP_SBRS)}.sbr: - $(CPP) $(CPP_PROJ) $< - -################################################################################ -# Begin Target - -# Name "9113File - Win32 Release" -# Name "9113File - Win32 Debug" - -!IF "$(CFG)" == "9113File - Win32 Release" - -!ELSEIF "$(CFG)" == "9113File - Win32 Debug" - -!ENDIF - -################################################################################ -# Begin Source File - -SOURCE=.\9113file.c -DEP_CPP_9113F=\ - ".\..\..\..\include\dask.h"\ - - -"$(INTDIR)\9113file.obj" : $(SOURCE) $(DEP_CPP_9113F) "$(INTDIR)" - - -# End Source File -# End Target -# End Project -################################################################################ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9113/C9113File/9113File.mdp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9113/C9113File/9113File.mdp deleted file mode 100644 index 7a46e09..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9113/C9113File/9113File.mdp and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9113/Sdk9113DbfCallBack/9113CINT.EXE b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9113/Sdk9113DbfCallBack/9113CINT.EXE deleted file mode 100644 index 18155f6..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9113/Sdk9113DbfCallBack/9113CINT.EXE and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9113/Sdk9113DbfCallBack/9113cint.c b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9113/Sdk9113DbfCallBack/9113cint.c deleted file mode 100644 index d0e8b40..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9113/Sdk9113DbfCallBack/9113cint.c +++ /dev/null @@ -1,533 +0,0 @@ -#include -#include -#include -#include -#include -#include -#include "resource.h" -#include "Dask.h" - -#define IDM_EXIT 110 -#define IDC_SCROLL 207 -#define IDC_SPIN 301 -#define IDC_START 208 -#define IDC_STOP 209 -#define IDC_EDIT 211 -#define IDC_EDIT1 214 -#define IDC_SHOW 213 -#define IDC_CH 400 - -int PASCAL WinMain(HANDLE, HANDLE, LPSTR, int); -long PASCAL MainWndProc(HWND, UINT, WPARAM, LPARAM); -BOOL PASCAL ShowDMA(HWND, UINT, WPARAM, LPARAM); - -HANDLE hInst; -HWND hListBox; -HWND hEdit,hEdit1, hStart, hStop; -BOOL bCheck[8]; - -HBRUSH hBlackBrush; -HPEN hRedPen, hBlackPen; -HWND hMainWnd; - -unsigned int sample_rate=10000; -U16 channel; -U32 data_size=1024, mem_size; -static HANDLE hMem=NULL; -U32 *ai_buf; - -I16 card=-1, card_number =0; -BOOLEAN clear_op; -HANDLE hThread; -unsigned int gain=1; -U16 range = AD_B_10_V; -U32 count; - -POINT input_pos[16]= {{470, 280}, {440, 280}, - {410, 280}, {380, 280}, - {350, 280}, {320, 280}, - { 290, 280}, {260, 280}, - {230, 280}, {200, 280}, - {170, 280}, {140, 280}, - {110, 280}, {80, 280}, - { 50, 280}, { 20, 280}, - }; -POINT output_pos[16] ={ - {470, 340}, {440, 340}, - {410, 340}, {380, 340}, - {350, 340}, {320, 340}, - { 290, 340}, {260, 340}, - {230, 340}, {200, 340}, - {170, 340}, {140, 340}, - {110, 340}, {80, 340}, - { 50, 340}, { 20, 340}, - }; - -POINT io_pos[16] ={ - {395, 40}, {370, 40}, - {345, 40}, {320, 40}, - {295, 40}, {270, 40}, - { 245, 40}, {220, 40}, - {195, 40}, {170, 40}, - {145, 40}, {120, 40}, - {95, 40}, {70, 40}, - { 45, 40}, { 20, 40}, - }; - -BOOL InitApplication(HANDLE); -BOOL InitInstance(HANDLE, int); -void AI_DBCallBack(); -void AI_CallBack(); - -int PASCAL WinMain(hInstance, hPrevInstance, lpCmdLine, nCmdShow) -HANDLE hInstance, hPrevInstance; -LPSTR lpCmdLine; -int nCmdShow; -{ - MSG msg; - - if (!hPrevInstance) - if (!InitApplication(hInstance)) return(FALSE); - if (!InitInstance(hInstance, nCmdShow)) return(FALSE); - while (GetMessage(&msg, NULL, NULL, NULL)) { - TranslateMessage(&msg); - DispatchMessage(&msg); - } - return(msg.wParam); -} - -BOOL InitApplication(hInstance) -HANDLE hInstance; -{ - WNDCLASS wc; - - /* Main Window Class */ - wc.style = NULL; - wc.lpfnWndProc = (WNDPROC)MainWndProc; - wc.cbClsExtra = 0; - wc.cbWndExtra = 0; - wc.hInstance = hInstance; - wc.hIcon = LoadIcon(hInstance, "MyIcon"); - wc.hCursor = LoadCursor(NULL, IDC_ARROW); - wc.hbrBackground = GetStockObject(LTGRAY_BRUSH); - wc.lpszMenuName = NULL; - wc.lpszClassName = "GenericWClass"; - if (!RegisterClass(&wc)) return(FALSE); -} - - -BOOL InitInstance(hInstance, nCmdShow) -HANDLE hInstance; -int nCmdShow; -{ - HWND hWnd; - HMENU hSampleMenu; - - hInst = hInstance; - hSampleMenu = LoadMenu(hInstance, "U9113Menu"); - hWnd = CreateWindow("GenericWClass", - (LPCSTR)"PCI-9113 Double Buffered DMA", - WS_OVERLAPPEDWINDOW, - CW_USEDEFAULT, - CW_USEDEFAULT, - 520, - 400, - NULL, - hSampleMenu, - hInstance, - NULL); - if (!hWnd) return(FALSE); - ShowWindow(hWnd, nCmdShow); - UpdateWindow(hWnd); - return(TRUE); -} - -BOOL PASCAL setup(HWND hWnd, unsigned message, WPARAM wParam, LPARAM lParam) -{ - int i; - char n[16]; - char s[50]; - switch (message) { - case WM_INITDIALOG: - for (i=0;i<16;i++) { - wsprintf(n, "%d", i); - _strupr(n); - SendMessage(GetDlgItem(hWnd,IDC_COMBO1), CB_ADDSTRING, NULL, (LONG)(LPSTR) n); - } - SendMessage(GetDlgItem(hWnd,IDC_COMBO1) , CB_SETCURSEL, 0, 0L); - - break; - case WM_COMMAND: - switch(LOWORD(wParam)) { - - case IDC_COMBO1: - if (HIWORD(wParam) == CBN_CLOSEUP) { - i = (int)SendMessage(GetDlgItem(hWnd,IDC_COMBO1), CB_GETCURSEL, 0, 0L); - SendMessage(GetDlgItem(hWnd,IDC_COMBO1), CB_GETLBTEXT, i, (LPARAM)((LPCSTR)n)); - card_number = i; - } - return(TRUE); - case IDOK: - if ((card=Register_Card(PCI_9113, card_number)) < 0) { - wsprintf(s, "Register_Card Error = %d\n", card); - MessageBox(hWnd, s, "Error", MB_OK); - SendMessage(hWnd, WM_CLOSE, 0, 0L); - break; - } - EndDialog(hWnd, TRUE); - InvalidateRect(hWnd, NULL, FALSE); - return (TRUE); - case IDCANCEL: - EndDialog(hWnd, TRUE); - return (TRUE); - } - break; - } - return (FALSE); -} - -long PASCAL MainWndProc(hWnd, message, wParam, lParam) -HWND hWnd; -UINT message; -WPARAM wParam; -LPARAM lParam; -{ - HDC hDC; - PAINTSTRUCT ps; - int i; - char n[6]; - static int pos=0; - I16 err; - char s[50]; - - switch(message) { - case WM_CREATE: - DialogBox(hInst,IDD_DIALOG2, hWnd, setup); - if(card<0) { - SendMessage(hWnd, WM_CLOSE, 0, 0L); - break; - } - hEdit=CreateWindow("EDIT", NULL, - WS_CHILD | WS_VISIBLE | ES_LEFT, - output_pos[13].x-30, input_pos[15].y+20,40, 20, hWnd, IDC_EDIT, hInst, NULL); - - hEdit1=CreateWindow("EDIT", NULL, - WS_CHILD | WS_VISIBLE | ES_LEFT, - output_pos[13].x+90, input_pos[15].y+20,60, 20, hWnd, IDC_EDIT1, hInst, NULL); - - wsprintf(n,"%d",sample_rate/1000); - SetWindowText(hEdit,n); - - wsprintf(n,"%d",data_size); - SetWindowText(hEdit1,n); - - CreateWindow("SCROLLBAR", NULL, - WS_CHILD | WS_VISIBLE | SBS_VERT, - output_pos[13].x+10, input_pos[15].y+20,20, 20, hWnd, IDC_SCROLL, hInst, NULL); - - hStart = CreateWindow("BUTTON","Start" , - WS_CHILD | WS_VISIBLE , - output_pos[10].x+110, input_pos[10].y+10,50, 30, hWnd, IDC_START, hInst, NULL); - - hStop = CreateWindow("BUTTON","Stop" , - WS_CHILD | WS_VISIBLE , - output_pos[10].x+170, input_pos[10].y+10,50, 30, hWnd, IDC_STOP, hInst, NULL); - - CreateWindow("BUTTON","Data Value" , - WS_CHILD | WS_VISIBLE , - output_pos[10].x+230, input_pos[10].y+10,80, 30, hWnd, IDC_SHOW, hInst, NULL); - EnableWindow(hStop, FALSE); - - CreateWindow("BUTTON","0" , - WS_CHILD | WS_VISIBLE | BS_AUTORADIOBUTTON | BS_LEFTTEXT | WS_GROUP , - output_pos[4].x+50, io_pos[0].y-5+20,25,15, hWnd,IDC_CH, hInst, NULL); - - CreateWindow("BUTTON","1" , - WS_CHILD | WS_VISIBLE | BS_AUTORADIOBUTTON | BS_LEFTTEXT | WS_GROUP, - output_pos[4].x+50, io_pos[0].y+13+20,25,15, hWnd,IDC_CH+1, hInst, NULL); - - CreateWindow("BUTTON","2" , - WS_CHILD | WS_VISIBLE | BS_AUTORADIOBUTTON | BS_LEFTTEXT | WS_GROUP, - output_pos[4].x+50, io_pos[0].y+31+20,25,15, hWnd,IDC_CH+2, hInst, NULL); - - CreateWindow("BUTTON","3" , - WS_CHILD | WS_VISIBLE | BS_AUTORADIOBUTTON | BS_LEFTTEXT | WS_GROUP, - output_pos[4].x+50, io_pos[0].y+49+20,25,15, hWnd,IDC_CH+3, hInst, NULL); - - CreateWindow("BUTTON","4" , - WS_CHILD | WS_VISIBLE | BS_AUTORADIOBUTTON | BS_LEFTTEXT | WS_GROUP, - output_pos[4].x+100, io_pos[0].y-5+20,25,15, hWnd,IDC_CH+4, hInst, NULL); - - CreateWindow("BUTTON","5" , - WS_CHILD | WS_VISIBLE | BS_AUTORADIOBUTTON | BS_LEFTTEXT | WS_GROUP, - output_pos[4].x+100, io_pos[0].y+13+20,25,15, hWnd, IDC_CH+5, hInst, NULL); - - CreateWindow("BUTTON","6" , - WS_CHILD | WS_VISIBLE | BS_AUTORADIOBUTTON | BS_LEFTTEXT | WS_GROUP, - output_pos[4].x+100, io_pos[0].y+31+20,25,15, hWnd,IDC_CH+6, hInst, NULL); - - CreateWindow("BUTTON","7" , - WS_CHILD | WS_VISIBLE | BS_AUTORADIOBUTTON | BS_LEFTTEXT | WS_GROUP, - output_pos[4].x+100, io_pos[0].y+49+20,25,15, hWnd, IDC_CH+7, hInst, NULL); - - //default channel 0 - for (i=1;i<8;i++) bCheck[i]=FALSE; - bCheck[0] = TRUE; - channel = 0; - SendMessage(GetDlgItem(hWnd,IDC_CH), BM_SETCHECK, 1, 0); - - hBlackBrush= CreateSolidBrush(RGB(0,0,0)); - hRedPen= CreatePen(PS_SOLID,1,RGB(255,0,0)); - hBlackPen= CreatePen(PS_SOLID,1,RGB(0,0,0)); - break; - - case WM_PAINT: - hDC = BeginPaint(hWnd, &ps); - - // DMA analog input box - SelectObject(hDC, GetStockObject(GRAY_BRUSH)); - Rectangle(hDC, output_pos[15].x-10, io_pos[15].y-24, output_pos[0].x+26, io_pos[0].y+195); - SetTextColor(hDC,RGB(255,255,0)); - SetBkColor(hDC, RGB(0, 0, 255)); - TextOut(hDC, io_pos[15].x, io_pos[15].y-35, "DMA Input", 9); - SelectObject(hDC, hBlackBrush); - Rectangle(hDC, output_pos[15].x+35, io_pos[15].y-2, output_pos[4].x+41, io_pos[0].y+172); - - SetBkMode(hDC,TRANSPARENT); - TextOut(hDC,output_pos[13].x-60, input_pos[10].y,"Samping Rate",12); - TextOut(hDC,output_pos[13].x+30, input_pos[15].y+20,"KHZ",3); - TextOut(hDC,output_pos[13].x+70, input_pos[10].y,"Buffer Size",11); - TextOut(hDC,input_pos[2].x-10, io_pos[15].y+118,"Range:+/-10V",12); - TextOut(hDC,input_pos[15].x, io_pos[15].y-19,"Volt",4); - TextOut(hDC,input_pos[15].x, io_pos[15].y-5,"10.0",4); - TextOut(hDC,input_pos[15].x, io_pos[15].y+36,"5.00",4); - TextOut(hDC,input_pos[15].x, io_pos[15].y+77,"0.00",4); - TextOut(hDC,input_pos[15].x-3, io_pos[15].y+118,"-5.00",5); - TextOut(hDC,input_pos[15].x-3, io_pos[15].y+159,"-10.0",5); - TextOut(hDC,input_pos[10].x+10, io_pos[10].y-19,"Signals",7); - TextOut(hDC,output_pos[4].x+60, io_pos[0].y-15,"Channel",7); - EndPaint(hWnd, &ps); - break; - - // Sample Rate Spin Control - case WM_VSCROLL: - switch (LOWORD(wParam)) { - case SB_LINEUP : - sample_rate+=5000; - if (sample_rate > 25000 ) sample_rate=25000; - break; - case SB_LINEDOWN: - sample_rate-=5000; - if (sample_rate < 5000 ) sample_rate=5000; - break; - } - wsprintf(n,"%d",sample_rate/1000); - SetWindowText(hEdit,n); - break; - case WM_COMMAND: - switch(LOWORD(wParam)) { - case IDM_EXIT: - SendMessage(hWnd, WM_CLOSE, 0, 0L); - break; - case IDC_CH: - case IDC_CH+1: - case IDC_CH+2: - case IDC_CH+3: - case IDC_CH+4: - case IDC_CH+5: - case IDC_CH+6: - case IDC_CH+7: - if (!bCheck[wParam-IDC_CH]) { - SendMessage(GetDlgItem(hWnd,wParam), BM_SETCHECK, 1, 0); - SendMessage(GetDlgItem(hWnd,IDC_CH+channel), BM_SETCHECK, 0, 0); - bCheck[channel]=FALSE; - } - channel=wParam-IDC_CH; - bCheck[channel]=TRUE; - break; - - case IDC_SHOW : - DialogBox(hInst, "DMABox", hWnd, ShowDMA); - break; - case IDC_START: - if (hMem != NULL) { - GlobalUnfix(hMem); - GlobalUnlock(hMem); - GlobalFree(hMem); - } - // allocate a memory for DMA - data_size=GetDlgItemInt(hWnd,IDC_EDIT1,NULL ,FALSE); - mem_size=data_size * 4; - hMem = GlobalAlloc(GMEM_FIXED | GMEM_ZEROINIT,mem_size); - - ai_buf = (U32 *)GlobalLock(hMem); - if (ai_buf == NULL ) { - MessageBox(hWnd,"DMA", "No Memory", MB_OK); - SendMessage(hWnd, WM_CLOSE, 0, 0L); - break; - } - - GlobalFix(hMem); - - if ((err=AI_9113_Config(card, TRIG_INT_PACER)) != NoError) { - wsprintf(s, "AI_Config Error = %d\n", err); - MessageBox(hWnd, s, "Error", MB_OK); - SendMessage(hWnd, WM_CLOSE, 0, 0L); - break; - } - if ((err=AI_AsyncDblBufferMode (card, 1)) != NoError) { - wsprintf(s, "AI_AsyncDblBufferMode Error = %d\n", err); - MessageBox(hWnd, s, "Error", MB_OK); - SendMessage(hWnd, WM_CLOSE, 0, 0L); - break; - } - if((err= AI_EventCallBack (card, 1, DBEvent, (U32) AI_DBCallBack)) != NoError) { - wsprintf(s, "AI_EventCallBack Error = %d\n", err); - MessageBox(hWnd, s, "Error", MB_OK); - SendMessage(hWnd, WM_CLOSE, 0, 0L); - break; - } - if((err= AI_EventCallBack (card, 1, AIEnd, (U32) AI_CallBack)) != NoError) { - wsprintf(s, "AI_EventCallBack Error = %d\n", err); - MessageBox(hWnd, s, "Error", MB_OK); - SendMessage(hWnd, WM_CLOSE, 0, 0L); - break; - } - if ((err=AI_ContReadChannel(card, channel, AD_B_10_V, ai_buf, data_size, (F64)sample_rate, ASYNCH_OP)) != NoError) { - wsprintf(s, "AI_ContReadPort Error = %d\n", err); - MessageBox(hWnd, s, "Error", MB_OK); - SendMessage(hWnd, WM_CLOSE, 0, 0L); - break; - } - EnableWindow(hStart, FALSE); - EnableWindow(hStop, TRUE); - - hMainWnd = hWnd; - clear_op = FALSE; - //hThread = (HANDLE)_beginthread(ProcessThread, 0, 0); - MessageBeep(0); - break; - case IDC_STOP: - clear_op = TRUE; - AI_AsyncClear(card, &count); - EnableWindow(hStart, TRUE); - EnableWindow(hStop, FALSE); - break; - default: - return(DefWindowProc(hWnd, message, wParam, lParam)); - } - break; - case WM_DESTROY: - if (card >= 0) Release_Card(card); - DeleteObject(hBlackBrush); - DeleteObject(hRedPen); - GlobalUnfix(hMem); - GlobalUnlock(hMem); - GlobalFree(hMem); - PostQuitMessage(0); - break; - default: - return(DefWindowProc(hWnd, message, wParam, lParam)); - } - return(NULL); -} - -BOOL PASCAL ShowDMA(hDlg, message, wParam, lParam) -HWND hDlg; -UINT message; -WPARAM wParam; -LPARAM lParam; -{ - int nTabs[2] = {32, 92}; - int i; - char cBuf[60]; - char string[10]=" "; - char data_str[3]=" "; - U32 *pp; - switch (message) { - case WM_INITDIALOG: - hListBox = CreateWindow("LISTBOX", "Index Data (Hex)", - WS_CHILD | WS_VISIBLE | LBS_HASSTRINGS | LBS_STANDARD | LBS_USETABSTOPS |WS_CAPTION, - 50, 40, 240, 180, hDlg, 100, hInst, NULL); - SendMessage(hListBox, LB_RESETCONTENT, 0, 0L); - SendMessage(hListBox, LB_SETTABSTOPS, 2, (DWORD)(LPINT) nTabs); - SetDlgItemText(hDlg, DMA_DESCP, "This ListBox can show at most 4000 data"); - itoa(data_size, string, 10); - SetDlgItemText(hDlg, DMA_SPACE, string); - - pp = (U32 *)ai_buf; - if (data_size > 4000) data_size = 4000; - for(i=0;i -# Microsoft Developer Studio Generated Build File, Format Version 5.00 -# ** DO NOT EDIT ** - -# TARGTYPE "Win32 (x86) Application" 0x0101 - -CFG=9113cint - Win32 Release -!MESSAGE This is not a valid makefile. To build this project using NMAKE, -!MESSAGE use the Export Makefile command and run -!MESSAGE -!MESSAGE NMAKE /f "9113cint.mak". -!MESSAGE -!MESSAGE You can specify a configuration when running NMAKE -!MESSAGE by defining the macro CFG on the command line. For example: -!MESSAGE -!MESSAGE NMAKE /f "9113cint.mak" CFG="9113cint - Win32 Release" -!MESSAGE -!MESSAGE Possible choices for configuration are: -!MESSAGE -!MESSAGE "9113cint - Win32 Release" (based on "Win32 (x86) Application") -!MESSAGE "9113cint - Win32 Debug" (based on "Win32 (x86) Application") -!MESSAGE - -# Begin Project -# PROP Scc_ProjName "" -# PROP Scc_LocalPath "" -CPP=cl.exe -MTL=midl.exe -RSC=rc.exe - -!IF "$(CFG)" == "9113cint - Win32 Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir ".\9113cint" -# PROP BASE Intermediate_Dir ".\9113cint" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "" -# PROP Intermediate_Dir ".\Release" -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /YX /c -# ADD CPP /nologo /MT /W3 /GX /O2 /I "..\..\..\include" /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /FD /c -# SUBTRACT CPP /YX -# ADD BASE MTL /nologo /D "NDEBUG" /win32 -# ADD MTL /nologo /D "NDEBUG" /mktyplib203 /win32 -# ADD BASE RSC /l 0x404 /d "NDEBUG" -# ADD RSC /l 0x404 /d "NDEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:windows /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ..\..\..\lib\Pci-dask.lib /nologo /subsystem:windows /machine:I386 - -!ELSEIF "$(CFG)" == "9113cint - Win32 Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir ".\Debug" -# PROP BASE Intermediate_Dir ".\Debug" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "" -# PROP Intermediate_Dir ".\Debug" -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /Gm /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /YX /c -# ADD CPP /nologo /MTd /W3 /Gm /GX /Zi /Od /I "..\..\..\include" /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /FD /c -# SUBTRACT CPP /YX -# ADD BASE MTL /nologo /D "_DEBUG" /win32 -# ADD MTL /nologo /D "_DEBUG" /mktyplib203 /win32 -# ADD BASE RSC /l 0x404 /d "_DEBUG" -# ADD RSC /l 0x404 /d "_DEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:windows /debug /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ..\..\..\lib\Pci-dask.lib /nologo /subsystem:windows /debug /machine:I386 - -!ENDIF - -# Begin Target - -# Name "9113cint - Win32 Release" -# Name "9113cint - Win32 Debug" -# Begin Group "Source Files" - -# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;hpj;bat;for;f90" -# Begin Source File - -SOURCE=.\9113cint.c -# End Source File -# Begin Source File - -SOURCE=.\9113cint.rc -# End Source File -# End Group -# Begin Group "Header Files" - -# PROP Default_Filter "h;hpp;hxx;hm;inl;fi;fd" -# End Group -# Begin Group "Resource Files" - -# PROP Default_Filter "ico;cur;bmp;dlg;rc2;rct;bin;cnt;rtf;gif;jpg;jpeg;jpe" -# End Group -# End Target -# End Project diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9113/Sdk9113DbfCallBack/9113cint.dsw b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9113/Sdk9113DbfCallBack/9113cint.dsw deleted file mode 100644 index 7ec8fd7..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9113/Sdk9113DbfCallBack/9113cint.dsw +++ /dev/null @@ -1,29 +0,0 @@ -Microsoft Developer Studio Workspace File, Format Version 5.00 -# WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE! - -############################################################################### - -Project: "9113cint"=.\9113cint.dsp - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ -}}} - -############################################################################### - -Global: - -Package=<5> -{{{ -}}} - -Package=<3> -{{{ -}}} - -############################################################################### - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9113/Sdk9113DbfCallBack/9113cint.rc b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9113/Sdk9113DbfCallBack/9113cint.rc deleted file mode 100644 index 5cabf04..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9113/Sdk9113DbfCallBack/9113cint.rc +++ /dev/null @@ -1,126 +0,0 @@ -//Microsoft Developer Studio generated resource script. -// -#include "resource.h" - -#define APSTUDIO_READONLY_SYMBOLS -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 2 resource. -// -#define APSTUDIO_HIDDEN_SYMBOLS -#include "windows.h" -#undef APSTUDIO_HIDDEN_SYMBOLS - -///////////////////////////////////////////////////////////////////////////// -#undef APSTUDIO_READONLY_SYMBOLS - -///////////////////////////////////////////////////////////////////////////// -// English (U.S.) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -#ifdef _WIN32 -LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US -#pragma code_page(1252) -#endif //_WIN32 - -///////////////////////////////////////////////////////////////////////////// -// -// Menu -// - -U9113MENU MENU DISCARDABLE -BEGIN - MENUITEM "E&xit!", IDM_EXIT -END - - -#ifdef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// TEXTINCLUDE -// - -1 TEXTINCLUDE DISCARDABLE -BEGIN - "resource.h\0" -END - -2 TEXTINCLUDE DISCARDABLE -BEGIN - "#define APSTUDIO_HIDDEN_SYMBOLS\r\n" - "#include ""windows.h""\r\n" - "#undef APSTUDIO_HIDDEN_SYMBOLS\r\n" - "\0" -END - -3 TEXTINCLUDE DISCARDABLE -BEGIN - "\r\n" - "\0" -END - -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog -// - -DMABOX DIALOG DISCARDABLE 18, 10, 171, 169 -STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "Data Value (half of circular buffer)" -FONT 8, "System" -BEGIN - PUSHBUTTON "STOP",ID_STOP,82,147,24,14 - LTEXT "Data Transferred :",-1,39,119,64,8 - LTEXT "Text",DMA_SPACE,103,118,41,8 - LTEXT "Text",DMA_DESCP,16,6,158,8 -END - -IDD_DIALOG2 DIALOG DISCARDABLE 110, 10, 106, 61 -STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "Card Number" -FONT 10, "System" -BEGIN - DEFPUSHBUTTON "OK",IDOK,10,40,37,14 - PUSHBUTTON "Cancel",IDCANCEL,61,40,38,14 - LTEXT "Card Number",IDC_STATIC,3,13,47,13 - COMBOBOX IDC_COMBO1,51,13,48,92,CBS_DROPDOWN | WS_VSCROLL | - WS_TABSTOP -END - - -///////////////////////////////////////////////////////////////////////////// -// -// DESIGNINFO -// - -#ifdef APSTUDIO_INVOKED -GUIDELINES DESIGNINFO DISCARDABLE -BEGIN - IDD_DIALOG2, DIALOG - BEGIN - LEFTMARGIN, 3 - RIGHTMARGIN, 99 - TOPMARGIN, 7 - BOTTOMMARGIN, 54 - END -END -#endif // APSTUDIO_INVOKED - -#endif // English (U.S.) resources -///////////////////////////////////////////////////////////////////////////// - - - -#ifndef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 3 resource. -// - - -///////////////////////////////////////////////////////////////////////////// -#endif // not APSTUDIO_INVOKED - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9113/Sdk9113DbfCallBack/resource.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9113/Sdk9113DbfCallBack/resource.h deleted file mode 100644 index 689152d..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9113/Sdk9113DbfCallBack/resource.h +++ /dev/null @@ -1,24 +0,0 @@ -//{{NO_DEPENDENCIES}} -// Microsoft Developer Studio generated include file. -// Used by 9113cint.rc -// -#define IDM_SETUP 101 -#define IDD_DIALOG1 101 -#define IDD_DIALOG2 103 -#define IDM_EXIT 110 -#define ID_STOP 304 -#define DMA_SPACE 500 -#define DMA_DESCP 600 -#define IDC_COMBO1 1001 -#define IDC_STATIC -1 - -// Next default values for new objects -// -#ifdef APSTUDIO_INVOKED -#ifndef APSTUDIO_READONLY_SYMBOLS -#define _APS_NEXT_RESOURCE_VALUE 104 -#define _APS_NEXT_COMMAND_VALUE 102 -#define _APS_NEXT_CONTROL_VALUE 1002 -#define _APS_NEXT_SYMED_VALUE 101 -#endif -#endif diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9113/sdk9113/Resource.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9113/sdk9113/Resource.h deleted file mode 100644 index 371122e..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9113/sdk9113/Resource.h +++ /dev/null @@ -1,26 +0,0 @@ -//{{NO_DEPENDENCIES}} -// Microsoft Developer Studio generated include file. -// Used by Util9113.rc -// -#define IDM_SETUP 101 -#define IDD_DIALOG1 101 -#define IDD_DIALOG2 103 -#define IDM_EXIT 110 -#define ID_STOP 304 -#define DMA_SPACE 500 -#define IDC_COMBO2 1001 -#define IDC_COMBO3 1003 -#define IDC_COMBO1 1015 -#define IDC_COMBO4 1016 -#define IDC_STATIC -1 - -// Next default values for new objects -// -#ifdef APSTUDIO_INVOKED -#ifndef APSTUDIO_READONLY_SYMBOLS -#define _APS_NEXT_RESOURCE_VALUE 104 -#define _APS_NEXT_COMMAND_VALUE 102 -#define _APS_NEXT_CONTROL_VALUE 1001 -#define _APS_NEXT_SYMED_VALUE 101 -#endif -#endif diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9113/sdk9113/Util9113.c b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9113/sdk9113/Util9113.c deleted file mode 100644 index 90b8ba2..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9113/sdk9113/Util9113.c +++ /dev/null @@ -1,563 +0,0 @@ -#include -#include -#include -#include -#include -#include -#include "dask.h" -#include "resource.h" - -#define IDM_EXIT 110 -#define IDM_SETUP 101 -#define IDC_COMBO1 1015 -#define IDC_START 208 -#define IDC_STOP 209 -#define IDC_PAUSE 210 -#define IDC_EDIT 211 -#define IDC_GAIN 212 -#define IDC_DA 400 -#define TIMER1 1 -#define NONE 0 - -int PASCAL WinMain(HANDLE, HANDLE, LPSTR, int); -long PASCAL MainWndProc(HWND, UINT, WPARAM, LPARAM); - -HANDLE hInst; -HWND hAddrComboBox; -HWND hCardComboBox; -HWND hADScroll; -HWND hEdit; -HWND MainhWnd; - -I16 card=-1, card_number = 0; -I16 input=0, output=0; -I16 oldinput=0,analog_input[16],adinput[16],old_adinput1[16],old_adinput2[16]; -U8 input_lo=0, input_hi=0; - -LPSTR AD_Range[9]={"+/-10V","+/-1V","+/-0.1V","+/-5V","+/-0.5V", "+/-0.05V", "0~10V", "0~1V", "0~0.1V"}; -I16 range_value[9] = {AD_B_10_V, AD_B_1_V, AD_B_0_1_V, AD_B_5_V, AD_B_0_5_V, AD_B_0_05_V, AD_U_10_V, AD_U_1_V, AD_U_0_1_V}; - -HBRUSH hLTGreenBrush,hGreenBrush,hBlueBrush,hYellowBrush,hRedBrush,hBlackBrush,hWhiteBrush,hLTRedBrush,hLTBlueBrush; -HPEN hRedPen,hYellowPen,hGreenPen,hBluePen,hLTBluePen,hLTRedPen,hLTGreenPen,hWhitePen; - -I16 sample_rate=10, time_interval, range=AD_B_10_V; - -POINT input_pos[16]= {{470, 280}, {440, 280}, - {410, 280}, {380, 280}, - {350, 280}, {320, 280}, - { 290, 280}, {260, 280}, - {230, 280}, {200, 280}, - {170, 280}, {140, 280}, - {110, 280}, {80, 280}, - { 50, 280}, { 20, 280}, - }; -POINT output_pos[16] ={ - {470, 340}, {440, 340}, - {410, 340}, {380, 340}, - {350, 340}, {320, 340}, - { 290, 340}, {260, 340}, - {230, 340}, {200, 340}, - {170, 340}, {140, 340}, - {110, 340}, {80, 340}, - { 50, 340}, { 20, 340}, - }; - -POINT io_pos[16] ={ - {395, 40}, {370, 40}, - {345, 40}, {320, 40}, - {295, 40}, {270, 40}, - { 245, 40}, {220, 40}, - {195, 40}, {170, 40}, - {145, 40}, {120, 40}, - {95, 40}, {70, 40}, - { 45, 40}, { 20, 40}, - }; - -BOOL bCheck1[8],bCheck2[8],bStart=FALSE,bStop=FALSE,bPause=FALSE; -BOOL InitApplication(HANDLE); -BOOL InitInstance(HANDLE, int); - -int PASCAL WinMain(hInstance, hPrevInstance, lpCmdLine, nCmdShow) -HANDLE hInstance, hPrevInstance; -LPSTR lpCmdLine; -int nCmdShow; -{ - MSG msg; - - if (!hPrevInstance) - if (!InitApplication(hInstance)) return(FALSE); - if (!InitInstance(hInstance, nCmdShow)) return(FALSE); - while (GetMessage(&msg, NULL, NULL, NULL)) { - TranslateMessage(&msg); - DispatchMessage(&msg); - } - return(msg.wParam); -} - -BOOL InitApplication(hInstance) -HANDLE hInstance; -{ - WNDCLASS wc; - - /* Main Window Class */ - wc.style = NULL; - wc.lpfnWndProc = (WNDPROC)MainWndProc; - wc.cbClsExtra = 0; - wc.cbWndExtra = 0; - wc.hInstance = hInstance; - wc.hIcon = LoadIcon(hInstance, "MyIcon"); - wc.hCursor = LoadCursor(NULL, IDC_ARROW); - wc.hbrBackground = GetStockObject(LTGRAY_BRUSH); - wc.lpszMenuName = NULL; - wc.lpszClassName = "GenericWClass"; - if (!RegisterClass(&wc)) return(FALSE); -} - -BOOL InitInstance(hInstance, nCmdShow) -HANDLE hInstance; -int nCmdShow; -{ - HWND hWnd; - HMENU hSampleMenu; - - hInst = hInstance; - hSampleMenu = LoadMenu(hInstance, "U9113Menu"); - hWnd = CreateWindow("GenericWClass", - (LPCSTR)"9113", - WS_OVERLAPPEDWINDOW, - CW_USEDEFAULT, - CW_USEDEFAULT, - 530, - 320, - NULL, - hSampleMenu, - hInstance, - NULL); - MainhWnd=hWnd; - if (!hWnd) return(FALSE); - ShowWindow(hWnd, nCmdShow); - UpdateWindow(hWnd); - return(TRUE); -} - -BOOL PASCAL setup(HWND hWnd, unsigned message, WPARAM wParam, LPARAM lParam) -{ - int i; - char n[16]; - char s[50]; - switch (message) { - case WM_INITDIALOG: - for (i=0;i<16;i++) { - wsprintf(n, "%d", i); - _strupr(n); - SendMessage(GetDlgItem(hWnd,IDC_COMBO1), CB_ADDSTRING, NULL, (LONG)(LPSTR) n); - } - SendMessage(GetDlgItem(hWnd,IDC_COMBO1) , CB_SETCURSEL, 0, 0L); - - break; - case WM_COMMAND: - switch(LOWORD(wParam)) { - - case IDC_COMBO1: - if (HIWORD(wParam) == CBN_CLOSEUP) { - i = (int)SendMessage(GetDlgItem(hWnd,IDC_COMBO1), CB_GETCURSEL, 0, 0L); - SendMessage(GetDlgItem(hWnd,IDC_COMBO1), CB_GETLBTEXT, i, (LPARAM)((LPCSTR)n)); - card_number = i; - } - return(TRUE); - case IDOK: - if ((card=Register_Card(PCI_9113, card_number)) < 0) { - wsprintf(s, "Register_Card Error = %d\n", card); - MessageBox(hWnd, s, "Error", MB_OK); - SendMessage(hWnd, WM_CLOSE, 0, 0L); - break; - } - EndDialog(hWnd, TRUE); - InvalidateRect(hWnd, NULL, FALSE); - return (TRUE); - case IDCANCEL: - EndDialog(hWnd, TRUE); - return (TRUE); - } - break; - } - return (FALSE); -} - -long PASCAL MainWndProc(hWnd, message, wParam, lParam) -HWND hWnd; -UINT message; -WPARAM wParam; -LPARAM lParam; -{ - HDC hDC; - PAINTSTRUCT ps; - int i, k; - char n[15]; - double Pi = 3.1415926535; - static U16 pos=0; - - switch(message) { - case WM_CREATE: - DialogBox(hInst,IDD_DIALOG2, hWnd, setup); - if(card<0) { - SendMessage(hWnd, WM_CLOSE, 0, 0L); - break; - } - for (i=0;i<8;i++) { - bCheck1[i]=FALSE; - bCheck2[i]=FALSE; - old_adinput1[i]=-1; - old_adinput2[i]=-1; - } - hAddrComboBox = CreateWindow("ComboBox", NULL, - CBS_DROPDOWNLIST | WS_CHILD | WS_VISIBLE | WS_VSCROLL, - output_pos[4].x+90, io_pos[0].y+70, 72, 120, hWnd, IDC_GAIN, hInst, NULL); - for (i=0;i<9;i++) { - SendMessage(hAddrComboBox, CB_ADDSTRING, NULL, (LONG)AD_Range[i]); - } - SendMessage(hAddrComboBox ,CB_SETCURSEL, 0, 0L); - SetScrollRange(hADScroll,SB_CTL,0,4095,TRUE); - SetScrollPos(hADScroll,SB_CTL,0,TRUE); - - CreateWindow("BUTTON","Start" , - WS_CHILD | WS_VISIBLE , - output_pos[10].x, input_pos[10].y-50,60, 30, hWnd, IDC_START, hInst, NULL); - CreateWindow("BUTTON","Stop" , - WS_CHILD | WS_VISIBLE , - output_pos[10].x+70, input_pos[10].y-50,60, 30, hWnd, IDC_STOP, hInst, NULL); - CreateWindow("BUTTON","Pause" , - WS_CHILD | WS_VISIBLE , - output_pos[10].x+140, input_pos[10].y-50,60, 30, hWnd, IDC_PAUSE, hInst, NULL); - CreateWindow("BUTTON","0" , - WS_CHILD | WS_VISIBLE | BS_RADIOBUTTON | BS_LEFTTEXT , - output_pos[4].x+50, io_pos[0].y-5,25,15, hWnd,IDC_DA, hInst, NULL); - CreateWindow("BUTTON","1" , - WS_CHILD | WS_VISIBLE | BS_RADIOBUTTON | BS_LEFTTEXT, - output_pos[4].x+50, io_pos[0].y+13,25,15, hWnd,IDC_DA+1, hInst, NULL); - CreateWindow("BUTTON","2" , - WS_CHILD | WS_VISIBLE | BS_RADIOBUTTON | BS_LEFTTEXT, - output_pos[4].x+50, io_pos[0].y+31,25,15, hWnd,IDC_DA+2, hInst, NULL); - CreateWindow("BUTTON","3" , - WS_CHILD | WS_VISIBLE | BS_RADIOBUTTON | BS_LEFTTEXT, - output_pos[4].x+50, io_pos[0].y+49,25,15, hWnd,IDC_DA+3, hInst, NULL); - CreateWindow("BUTTON","4" , - WS_CHILD | WS_VISIBLE | BS_RADIOBUTTON | BS_LEFTTEXT, - output_pos[4].x+100, io_pos[0].y-5,25,15, hWnd,IDC_DA+4, hInst, NULL); - CreateWindow("BUTTON","5" , - WS_CHILD | WS_VISIBLE | BS_RADIOBUTTON | BS_LEFTTEXT, - output_pos[4].x+100, io_pos[0].y+13,25,15, hWnd, IDC_DA+5, hInst, NULL); - CreateWindow("BUTTON","6" , - WS_CHILD | WS_VISIBLE | BS_RADIOBUTTON | BS_LEFTTEXT, - output_pos[4].x+100, io_pos[0].y+31,25,15, hWnd,IDC_DA+6, hInst, NULL); - CreateWindow("BUTTON","7" , - WS_CHILD | WS_VISIBLE | BS_RADIOBUTTON | BS_LEFTTEXT, - output_pos[4].x+100, io_pos[0].y+49,25,15, hWnd, IDC_DA+7, hInst, NULL); - CreateWindow("BUTTON","0" , - WS_CHILD | WS_VISIBLE | BS_RADIOBUTTON | BS_LEFTTEXT, - output_pos[4].x+50, io_pos[0].y+97,25,15, hWnd, IDC_DA+8, hInst, NULL); - CreateWindow("BUTTON","1" , - WS_CHILD | WS_VISIBLE | BS_RADIOBUTTON | BS_LEFTTEXT, - output_pos[4].x+50, io_pos[0].y+115,25,15, hWnd, IDC_DA+9, hInst, NULL); - CreateWindow("BUTTON","2" , - WS_CHILD | WS_VISIBLE | BS_RADIOBUTTON | BS_LEFTTEXT, - output_pos[4].x+50, io_pos[0].y+133,25,15, hWnd, IDC_DA+10, hInst, NULL); - CreateWindow("BUTTON","3" , - WS_CHILD | WS_VISIBLE | BS_RADIOBUTTON | BS_LEFTTEXT, - output_pos[4].x+50, io_pos[0].y+151,25,15, hWnd, IDC_DA+11, hInst, NULL); - CreateWindow("BUTTON","4" , - WS_CHILD | WS_VISIBLE | BS_RADIOBUTTON | BS_LEFTTEXT, - output_pos[4].x+100, io_pos[0].y+97,25,15, hWnd, IDC_DA+12, hInst, NULL); - CreateWindow("BUTTON","5" , - WS_CHILD | WS_VISIBLE | BS_RADIOBUTTON | BS_LEFTTEXT, - output_pos[4].x+100, io_pos[0].y+115,25,15, hWnd, IDC_DA+13, hInst, NULL); - CreateWindow("BUTTON","6" , - WS_CHILD | WS_VISIBLE | BS_RADIOBUTTON | BS_LEFTTEXT, - output_pos[4].x+100, io_pos[0].y+133,25,15, hWnd, IDC_DA+14, hInst, NULL); - CreateWindow("BUTTON","7" , - WS_CHILD | WS_VISIBLE | BS_RADIOBUTTON | BS_LEFTTEXT, - output_pos[4].x+100, io_pos[0].y+151,25,15, hWnd, IDC_DA+15, hInst, NULL); - hLTGreenBrush = CreateSolidBrush(RGB(0, 255, 0)); - hGreenBrush = CreateSolidBrush(RGB(0, 128, 0)); - hBlueBrush = CreateSolidBrush(RGB(0, 0, 255)); - hRedBrush = CreateSolidBrush(RGB(255, 0, 0)); - hYellowBrush= CreateSolidBrush(RGB(255,255,0)); - hBlackBrush= CreateSolidBrush(RGB(0,0,0)); - hLTBlueBrush= CreateSolidBrush(RGB(0,255,255)); - hLTRedBrush= CreateSolidBrush(RGB(255,128,0)); - hWhiteBrush= CreateSolidBrush(RGB(255,255,255)); - hRedPen= CreatePen(PS_SOLID,1,RGB(255,0,0)); - hYellowPen= CreatePen(PS_SOLID,1,RGB(255,255,0)); - hBluePen= CreatePen(PS_SOLID,1,RGB(0,0,255)); - hGreenPen= CreatePen(PS_SOLID,1,RGB(0,255,0)); - hLTBluePen= CreatePen(PS_SOLID,1,RGB(0,128,255)); - hLTRedPen= CreatePen(PS_SOLID,1,RGB(255,128,0)); - hLTGreenPen= CreatePen(PS_SOLID,1,RGB(0,128,0)); - hWhitePen= CreatePen(PS_SOLID,1,RGB(255,255,255)); - break; - case WM_PAINT: - hDC = BeginPaint(hWnd, &ps); - // Analog Input Box - SelectObject(hDC, GetStockObject(GRAY_BRUSH)); - Rectangle(hDC, output_pos[15].x-10, io_pos[15].y-24, output_pos[0].x+26, io_pos[0].y+180); - SetTextColor(hDC,RGB(255,255,0)); - SetBkColor(hDC, RGB(0, 0, 255)); - TextOut(hDC, io_pos[15].x, io_pos[15].y-35, "Analog Input(A/D)", 17); - - SelectObject(hDC, hBlackBrush); - Rectangle(hDC, output_pos[15].x+35, io_pos[15].y-2, output_pos[4].x+41, io_pos[0].y+83); - Rectangle(hDC, output_pos[15].x+35, io_pos[15].y+87, output_pos[4].x+41, io_pos[0].y+172); - - SetBkMode(hDC,TRANSPARENT); - TextOut(hDC,output_pos[4].x+50, io_pos[0].y+67,"Input",5); - TextOut(hDC,output_pos[4].x+50, io_pos[0].y+80,"Range",5); - TextOut(hDC,input_pos[15].x, io_pos[15].y-19,"Volts",5); - switch (range) { - case AD_B_10_V: - TextOut(hDC,input_pos[15].x-5, io_pos[15].y-5,"10.0",4); - TextOut(hDC,input_pos[15].x-8, io_pos[15].y+67,"-10.0",5); - TextOut(hDC,input_pos[15].x-5, io_pos[15].y+87,"10.0",4); - TextOut(hDC,input_pos[15].x-8, io_pos[15].y+159,"-10.0",5); - break; - case AD_B_1_V: - TextOut(hDC,input_pos[15].x-5, io_pos[15].y-5,"1.00",4); - TextOut(hDC,input_pos[15].x-8, io_pos[15].y+67,"-1.00",5); - TextOut(hDC,input_pos[15].x-5, io_pos[15].y+87,"1.00",4); - TextOut(hDC,input_pos[15].x-8, io_pos[15].y+159,"-1.00",5); - break; - case AD_B_0_1_V: - TextOut(hDC,input_pos[15].x-5, io_pos[15].y-5,"0.10",4); - TextOut(hDC,input_pos[15].x-8, io_pos[15].y+67,"-0.10",5); - TextOut(hDC,input_pos[15].x-5, io_pos[15].y+87,"0.10",4); - TextOut(hDC,input_pos[15].x-8, io_pos[15].y+159,"-0.10",5); - break; - case AD_B_5_V: - TextOut(hDC,input_pos[15].x-5, io_pos[15].y-5,"5.00",4); - TextOut(hDC,input_pos[15].x-8, io_pos[15].y+67,"-5.00",5); - TextOut(hDC,input_pos[15].x-5, io_pos[15].y+87,"5.00",4); - TextOut(hDC,input_pos[15].x-8, io_pos[15].y+159,"-5.00",5); - break; - case AD_B_0_5_V: - TextOut(hDC,input_pos[15].x-5, io_pos[15].y-5,"0.50",4); - TextOut(hDC,input_pos[15].x-8, io_pos[15].y+67,"-0.50",5); - TextOut(hDC,input_pos[15].x-5, io_pos[15].y+87,"0.50",4); - TextOut(hDC,input_pos[15].x-8, io_pos[15].y+159,"-0.50",5); - break; - case AD_B_0_05_V: - TextOut(hDC,input_pos[15].x-5, io_pos[15].y-5,"0.05",4); - TextOut(hDC,input_pos[15].x-8, io_pos[15].y+67,"-0.05",5); - TextOut(hDC,input_pos[15].x-5, io_pos[15].y+87,"0.05",4); - TextOut(hDC,input_pos[15].x-8, io_pos[15].y+159,"-0.05",5); - break; - case AD_U_10_V: - TextOut(hDC,input_pos[15].x-5, io_pos[15].y-5,"10.0",4); - TextOut(hDC,input_pos[15].x-5, io_pos[15].y+67," 0.0",4); - TextOut(hDC,input_pos[15].x-5, io_pos[15].y+87,"10.0",4); - TextOut(hDC,input_pos[15].x-5, io_pos[15].y+159," 0.0",4); - break; - case AD_U_1_V: - TextOut(hDC,input_pos[15].x-5, io_pos[15].y-5,"1.00",4); - TextOut(hDC,input_pos[15].x-5, io_pos[15].y+67,"0.00",4); - TextOut(hDC,input_pos[15].x-5, io_pos[15].y+87,"1.00",4); - TextOut(hDC,input_pos[15].x-5, io_pos[15].y+159,"0.00",4); - break; - case AD_U_0_1_V: - TextOut(hDC,input_pos[15].x-5, io_pos[15].y-5,"0.10",4); - TextOut(hDC,input_pos[15].x-5, io_pos[15].y+67,"0.00",4); - TextOut(hDC,input_pos[15].x-5, io_pos[15].y+87,"0.10",4); - TextOut(hDC,input_pos[15].x-5, io_pos[15].y+159,"0.00",4); - break; - } - TextOut(hDC,input_pos[10].x, io_pos[10].y-19,"Signals",7); - TextOut(hDC,output_pos[4].x+50, io_pos[0].y-20,"Channel",7); - EndPaint(hWnd, &ps); - break; - case WM_COMMAND: - switch(LOWORD(wParam)) { - case IDM_EXIT: - SendMessage(hWnd, WM_CLOSE, 0, 0L); - break; - case IDC_START: - time_interval=1000/sample_rate; - SetTimer(hWnd, TIMER1, time_interval, NULL); - srand((unsigned)time(NULL)); - bStop=FALSE; - bPause=FALSE; - bStart=TRUE; - break; - case IDC_STOP: - KillTimer(hWnd, TIMER1); - bStop=TRUE; - bPause=FALSE; - bStart=FALSE; - hDC = GetDC(hWnd); - SelectObject(hDC, hBlackBrush); - Rectangle(hDC, output_pos[15].x+35, io_pos[15].y-2, output_pos[4].x+41, io_pos[0].y+83); - Rectangle(hDC, output_pos[15].x+35, io_pos[15].y+87, output_pos[4].x+41, io_pos[0].y+172); - ReleaseDC(hWnd, hDC); - break; - case IDC_PAUSE: - KillTimer(hWnd, TIMER1); - bStop=FALSE; - bPause=TRUE; - bStart=FALSE; - break; - case IDC_DA: - case IDC_DA+1: - case IDC_DA+2: - case IDC_DA+3: - case IDC_DA+4: - case IDC_DA+5: - case IDC_DA+6: - case IDC_DA+7: - k=LOWORD(wParam)-IDC_DA; - if (bCheck1[k]) { - SendMessage(GetDlgItem(hWnd,wParam), BM_SETCHECK, 0, 0); - bCheck1[k]=FALSE; - } - else { - SendMessage(GetDlgItem(hWnd,wParam), BM_SETCHECK, 1, 0); - bCheck1[k]=TRUE; - } - break; - case IDC_DA+8: - case IDC_DA+9: - case IDC_DA+10: - case IDC_DA+11: - case IDC_DA+12: - case IDC_DA+13: - case IDC_DA+14: - case IDC_DA+15: - k=LOWORD(wParam)-IDC_DA-8; - if (bCheck2[k]) { - SendMessage(GetDlgItem(hWnd,wParam), BM_SETCHECK, 0, 0); - bCheck2[k]=FALSE; - } - else { - SendMessage(GetDlgItem(hWnd,wParam), BM_SETCHECK, 1, 0); - bCheck2[k]=TRUE; - } - break; - case IDC_GAIN: - if (HIWORD(wParam) == CBN_CLOSEUP) { - if ((i=(int)SendMessage(GetDlgItem(hWnd,IDC_GAIN),CB_GETCURSEL, 0, 0L))>=0 ) { - SendMessage(GetDlgItem(hWnd,IDC_GAIN), CB_GETLBTEXT, i, (LPARAM)((LPCSTR)n)); - range = range_value[i]; - InvalidateRect(hWnd, NULL, FALSE); - } - } - break; - default: - return(DefWindowProc(hWnd, message, wParam, lParam)); - } - break; - case WM_TIMER: - if (card >= 0) { - hDC = GetDC(hWnd); - /* Analog Input */ - BitBlt(hDC,output_pos[15].x+39,io_pos[15].y-2,331,85,hDC,output_pos[15].x+35,io_pos[15].y-2,SRCCOPY); - for (i=0;i<8;i++ ) { - if (bCheck1[i]) { - AI_ReadChannel(card, i, range, &analog_input[i]); - switch(i) { - case 0: - SelectObject(hDC, hYellowPen); - break; - case 1: - SelectObject(hDC, hGreenPen); - break; - case 2: - SelectObject(hDC, hBluePen); - break; - case 3: - SelectObject(hDC, hRedPen); - break; - case 4: - SelectObject(hDC, hLTBluePen); - break; - case 5: - SelectObject(hDC, hLTRedPen); - break; - case 6: - SelectObject(hDC, hLTGreenPen); - break; - case 7: - SelectObject(hDC, hWhitePen); - break; - } - adinput[i]=io_pos[0].y+83-(85*(long)analog_input[i])/4096; - if (old_adinput1[i]!=-1 ) { - MoveToEx(hDC,output_pos[15].x+39,adinput[i],NULL ); - LineTo(hDC,output_pos[15].x+43,old_adinput1[i]); - } - old_adinput1[i]=adinput[i]; - } - } - BitBlt(hDC,output_pos[15].x+39,io_pos[15].y+87,331,85,hDC,output_pos[15].x+35,io_pos[15].y+87,SRCCOPY); - for (i=0;i<8;i++ ) { - if (bCheck2[i]) { - AI_ReadChannel(card, i+8, range, &analog_input[i+8]); - switch(i) { - case 0: - SelectObject(hDC, hYellowPen); - break; - case 1: - SelectObject(hDC, hGreenPen); - break; - case 2: - SelectObject(hDC, hBluePen); - break; - case 3: - SelectObject(hDC, hRedPen); - break; - case 4: - SelectObject(hDC, hLTBluePen); - break; - case 5: - SelectObject(hDC, hLTRedPen); - break; - case 6: - SelectObject(hDC, hLTGreenPen); - break; - case 7: - SelectObject(hDC, hWhitePen); - break; - } - - adinput[i+8]=io_pos[0].y+172-(85*(long)analog_input[i+8])/4096; - if (old_adinput2[i]!=-1 ) { - MoveToEx(hDC,output_pos[15].x+39,adinput[i+8],NULL); - LineTo(hDC,output_pos[15].x+43,old_adinput2[i]); - } - old_adinput2[i]=adinput[i+8]; - } - } - ReleaseDC(hWnd, hDC); - } - break; - case WM_DESTROY: - if (card >= 0) Release_Card(card); - DeleteObject(hRedBrush); - DeleteObject(hGreenBrush); - DeleteObject(hLTGreenBrush); - DeleteObject(hYellowBrush); - DeleteObject(hBlueBrush) ; - DeleteObject(hBlackBrush); - DeleteObject(hRedPen); - DeleteObject(hYellowPen); - DeleteObject(hBluePen); - DeleteObject(hGreenPen); - DeleteObject(hLTBluePen); - DeleteObject(hLTRedPen); - DeleteObject(hLTGreenPen); - DeleteObject(hWhitePen); - PostQuitMessage(0); - break; - case WM_LBUTTONDOWN: - break; - default: - return(DefWindowProc(hWnd, message, wParam, lParam)); - } - return(NULL); -} - \ No newline at end of file diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9113/sdk9113/Util9113.exe b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9113/sdk9113/Util9113.exe deleted file mode 100644 index 1ee71a1..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9113/sdk9113/Util9113.exe and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9113/sdk9113/Util9113.mak b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9113/sdk9113/Util9113.mak deleted file mode 100644 index 67802a4..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9113/sdk9113/Util9113.mak +++ /dev/null @@ -1,221 +0,0 @@ -# Microsoft Developer Studio Generated NMAKE File, Format Version 4.20 -# ** DO NOT EDIT ** - -# TARGTYPE "Win32 (x86) Application" 0x0101 - -!IF "$(CFG)" == "" -CFG=Util9113 - Win32 Debug -!MESSAGE No configuration specified. Defaulting to Util9113 - Win32 Debug. -!ENDIF - -!IF "$(CFG)" != "Util9113 - Win32 Release" && "$(CFG)" !=\ - "Util9113 - Win32 Debug" -!MESSAGE Invalid configuration "$(CFG)" specified. -!MESSAGE You can specify a configuration when running NMAKE on this makefile -!MESSAGE by defining the macro CFG on the command line. For example: -!MESSAGE -!MESSAGE NMAKE /f "Util9113.mak" CFG="Util9113 - Win32 Debug" -!MESSAGE -!MESSAGE Possible choices for configuration are: -!MESSAGE -!MESSAGE "Util9113 - Win32 Release" (based on "Win32 (x86) Application") -!MESSAGE "Util9113 - Win32 Debug" (based on "Win32 (x86) Application") -!MESSAGE -!ERROR An invalid configuration is specified. -!ENDIF - -!IF "$(OS)" == "Windows_NT" -NULL= -!ELSE -NULL=nul -!ENDIF -################################################################################ -# Begin Project -# PROP Target_Last_Scanned "Util9113 - Win32 Debug" -CPP=cl.exe -RSC=rc.exe -MTL=mktyplib.exe - -!IF "$(CFG)" == "Util9113 - Win32 Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "Release" -# PROP BASE Intermediate_Dir "Release" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "" -# PROP Intermediate_Dir "Release" -# PROP Target_Dir "" -OUTDIR=. -INTDIR=.\Release - -ALL : "$(OUTDIR)\Util9113.exe" - -CLEAN : - -@erase "$(INTDIR)\Util9113.obj" - -@erase "$(INTDIR)\Util9113.res" - -@erase "$(OUTDIR)\Util9113.exe" - -"$(INTDIR)" : - if not exist "$(INTDIR)/$(NULL)" mkdir "$(INTDIR)" - -# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /YX /c -# ADD CPP /nologo /W3 /GX /O2 /I "..\..\..\include" /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /c -# SUBTRACT CPP /YX -CPP_PROJ=/nologo /ML /W3 /GX /O2 /I "..\..\..\include" /D "WIN32" /D "NDEBUG"\ - /D "_WINDOWS" /Fo"$(INTDIR)/" /c -CPP_OBJS=.\Release/ -CPP_SBRS=.\. -# ADD BASE MTL /nologo /D "NDEBUG" /win32 -# ADD MTL /nologo /D "NDEBUG" /win32 -MTL_PROJ=/nologo /D "NDEBUG" /win32 -# ADD BASE RSC /l 0x409 /d "NDEBUG" -# ADD RSC /l 0x409 /d "NDEBUG" -RSC_PROJ=/l 0x409 /fo"$(INTDIR)/Util9113.res" /d "NDEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -BSC32_FLAGS=/nologo /o"$(OUTDIR)/Util9113.bsc" -BSC32_SBRS= \ - -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:windows /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ..\..\..\lib\Pci-Dask.lib /nologo /subsystem:windows /machine:I386 -LINK32_FLAGS=kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib\ - advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib\ - odbccp32.lib ..\..\..\lib\Pci-Dask.lib /nologo /subsystem:windows\ - /incremental:no /pdb:"$(OUTDIR)/Util9113.pdb" /machine:I386\ - /out:"$(OUTDIR)/Util9113.exe" -LINK32_OBJS= \ - "$(INTDIR)\Util9113.obj" \ - "$(INTDIR)\Util9113.res" - -"$(OUTDIR)\Util9113.exe" : "$(OUTDIR)" $(DEF_FILE) $(LINK32_OBJS) - $(LINK32) @<< - $(LINK32_FLAGS) $(LINK32_OBJS) -<< - -!ELSEIF "$(CFG)" == "Util9113 - Win32 Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "Debug" -# PROP BASE Intermediate_Dir "Debug" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "" -# PROP Intermediate_Dir "Debug" -# PROP Target_Dir "" -OUTDIR=. -INTDIR=.\Debug - -ALL : "$(OUTDIR)\Util9113.exe" - -CLEAN : - -@erase "$(INTDIR)\Util9113.obj" - -@erase "$(INTDIR)\Util9113.res" - -@erase "$(INTDIR)\vc40.idb" - -@erase "$(INTDIR)\vc40.pdb" - -@erase "$(OUTDIR)\Util9113.exe" - -@erase "$(OUTDIR)\Util9113.ilk" - -@erase "$(OUTDIR)\Util9113.pdb" - -"$(INTDIR)" : - if not exist "$(INTDIR)/$(NULL)" mkdir "$(INTDIR)" - -# ADD BASE CPP /nologo /W3 /Gm /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /YX /c -# ADD CPP /nologo /W3 /Gm /GX /Zi /Od /I "..\..\..\include" /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /c -# SUBTRACT CPP /YX -CPP_PROJ=/nologo /MLd /W3 /Gm /GX /Zi /Od /I "..\..\..\include" /D "WIN32" /D\ - "_DEBUG" /D "_WINDOWS" /Fo"$(INTDIR)/" /Fd"$(INTDIR)/" /c -CPP_OBJS=.\Debug/ -CPP_SBRS=.\. -# ADD BASE MTL /nologo /D "_DEBUG" /win32 -# ADD MTL /nologo /D "_DEBUG" /win32 -MTL_PROJ=/nologo /D "_DEBUG" /win32 -# ADD BASE RSC /l 0x409 /d "_DEBUG" -# ADD RSC /l 0x409 /d "_DEBUG" -RSC_PROJ=/l 0x409 /fo"$(INTDIR)/Util9113.res" /d "_DEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -BSC32_FLAGS=/nologo /o"$(OUTDIR)/Util9113.bsc" -BSC32_SBRS= \ - -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:windows /debug /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ..\..\..\lib\Pci-Dask.lib /nologo /subsystem:windows /debug /machine:I386 -LINK32_FLAGS=kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib\ - advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib\ - odbccp32.lib ..\..\..\lib\Pci-Dask.lib /nologo /subsystem:windows\ - /incremental:yes /pdb:"$(OUTDIR)/Util9113.pdb" /debug /machine:I386\ - /out:"$(OUTDIR)/Util9113.exe" -LINK32_OBJS= \ - "$(INTDIR)\Util9113.obj" \ - "$(INTDIR)\Util9113.res" - -"$(OUTDIR)\Util9113.exe" : "$(OUTDIR)" $(DEF_FILE) $(LINK32_OBJS) - $(LINK32) @<< - $(LINK32_FLAGS) $(LINK32_OBJS) -<< - -!ENDIF - -.c{$(CPP_OBJS)}.obj: - $(CPP) $(CPP_PROJ) $< - -.cpp{$(CPP_OBJS)}.obj: - $(CPP) $(CPP_PROJ) $< - -.cxx{$(CPP_OBJS)}.obj: - $(CPP) $(CPP_PROJ) $< - -.c{$(CPP_SBRS)}.sbr: - $(CPP) $(CPP_PROJ) $< - -.cpp{$(CPP_SBRS)}.sbr: - $(CPP) $(CPP_PROJ) $< - -.cxx{$(CPP_SBRS)}.sbr: - $(CPP) $(CPP_PROJ) $< - -################################################################################ -# Begin Target - -# Name "Util9113 - Win32 Release" -# Name "Util9113 - Win32 Debug" - -!IF "$(CFG)" == "Util9113 - Win32 Release" - -!ELSEIF "$(CFG)" == "Util9113 - Win32 Debug" - -!ENDIF - -################################################################################ -# Begin Source File - -SOURCE=.\Util9113.rc - -"$(INTDIR)\Util9113.res" : $(SOURCE) "$(INTDIR)" - $(RSC) $(RSC_PROJ) $(SOURCE) - - -# End Source File -################################################################################ -# Begin Source File - -SOURCE=.\Util9113.c -DEP_CPP_UTIL9=\ - "..\..\..\include\dask.h"\ - - -"$(INTDIR)\Util9113.obj" : $(SOURCE) $(DEP_CPP_UTIL9) "$(INTDIR)" - - -# End Source File -# End Target -# End Project -################################################################################ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9113/sdk9113/Util9113.mdp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9113/sdk9113/Util9113.mdp deleted file mode 100644 index b6a6d9f..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9113/sdk9113/Util9113.mdp and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9113/sdk9113/Util9113.rc b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9113/sdk9113/Util9113.rc deleted file mode 100644 index ac06beb..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9113/sdk9113/Util9113.rc +++ /dev/null @@ -1,115 +0,0 @@ -//Microsoft Developer Studio generated resource script. -// -#include "resource.h" - -#define APSTUDIO_READONLY_SYMBOLS -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 2 resource. -// -#define APSTUDIO_HIDDEN_SYMBOLS -#include "windows.h" -#undef APSTUDIO_HIDDEN_SYMBOLS - -///////////////////////////////////////////////////////////////////////////// -#undef APSTUDIO_READONLY_SYMBOLS - -///////////////////////////////////////////////////////////////////////////// -// English (U.S.) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -#ifdef _WIN32 -LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US -#pragma code_page(1252) -#endif //_WIN32 - -///////////////////////////////////////////////////////////////////////////// -// -// Menu -// - -U9113MENU MENU DISCARDABLE -BEGIN - MENUITEM "E&xit!", IDM_EXIT -END - - -#ifdef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// TEXTINCLUDE -// - -1 TEXTINCLUDE DISCARDABLE -BEGIN - "resource.h\0" -END - -2 TEXTINCLUDE DISCARDABLE -BEGIN - "#define APSTUDIO_HIDDEN_SYMBOLS\r\n" - "#include ""windows.h""\r\n" - "#undef APSTUDIO_HIDDEN_SYMBOLS\r\n" - "\0" -END - -3 TEXTINCLUDE DISCARDABLE -BEGIN - "\r\n" - "\0" -END - -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog -// - -IDD_DIALOG2 DIALOG DISCARDABLE 110, 10, 106, 65 -STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "Card Number" -FONT 10, "System" -BEGIN - DEFPUSHBUTTON "OK",IDOK,10,40,37,14 - PUSHBUTTON "Cancel",IDCANCEL,61,40,38,14 - LTEXT "Card Number",IDC_STATIC,3,13,47,13 - COMBOBOX IDC_COMBO1,51,13,48,108,CBS_DROPDOWN | WS_VSCROLL | - WS_TABSTOP -END - - -///////////////////////////////////////////////////////////////////////////// -// -// DESIGNINFO -// - -#ifdef APSTUDIO_INVOKED -GUIDELINES DESIGNINFO DISCARDABLE -BEGIN - IDD_DIALOG2, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 99 - TOPMARGIN, 7 - BOTTOMMARGIN, 58 - END -END -#endif // APSTUDIO_INVOKED - -#endif // English (U.S.) resources -///////////////////////////////////////////////////////////////////////////// - - - -#ifndef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 3 resource. -// - - -///////////////////////////////////////////////////////////////////////////// -#endif // not APSTUDIO_INVOKED - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9113/sdk9113DbfInt/9113cint.c b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9113/sdk9113DbfInt/9113cint.c deleted file mode 100644 index d36d15a..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9113/sdk9113DbfInt/9113cint.c +++ /dev/null @@ -1,502 +0,0 @@ -#include -#include -#include -#include -#include -#include -#include "resource.h" -#include "Dask.h" - -#define IDM_EXIT 110 -#define IDC_SCROLL 207 -#define IDC_SPIN 301 -#define IDC_START 208 -#define IDC_STOP 209 -#define IDC_EDIT 211 -#define IDC_EDIT1 214 -#define IDC_SHOW 213 -#define IDC_CH 400 - -int PASCAL WinMain(HANDLE, HANDLE, LPSTR, int); -long PASCAL MainWndProc(HWND, UINT, WPARAM, LPARAM); -BOOL PASCAL ShowDMA(HWND, UINT, WPARAM, LPARAM); - -HANDLE hInst; -HWND hListBox; -HWND hEdit,hEdit1, hStart, hStop; -BOOL bCheck[8]; - -HBRUSH hBlackBrush; -HPEN hRedPen, hBlackPen; -HWND hMainWnd; - -unsigned int sample_rate=10000; -U16 channel; -U32 data_size=1024, mem_size; -static HANDLE hMem=NULL; -U32 *ai_buf; - -I16 card=-1, card_number =0; -BOOLEAN clear_op; -HANDLE hThread; -unsigned int gain=1; -U16 range = AD_B_10_V; - -POINT input_pos[16]= {{470, 280}, {440, 280}, - {410, 280}, {380, 280}, - {350, 280}, {320, 280}, - { 290, 280}, {260, 280}, - {230, 280}, {200, 280}, - {170, 280}, {140, 280}, - {110, 280}, {80, 280}, - { 50, 280}, { 20, 280}, - }; -POINT output_pos[16] ={ - {470, 340}, {440, 340}, - {410, 340}, {380, 340}, - {350, 340}, {320, 340}, - { 290, 340}, {260, 340}, - {230, 340}, {200, 340}, - {170, 340}, {140, 340}, - {110, 340}, {80, 340}, - { 50, 340}, { 20, 340}, - }; - -POINT io_pos[16] ={ - {395, 40}, {370, 40}, - {345, 40}, {320, 40}, - {295, 40}, {270, 40}, - { 245, 40}, {220, 40}, - {195, 40}, {170, 40}, - {145, 40}, {120, 40}, - {95, 40}, {70, 40}, - { 45, 40}, { 20, 40}, - }; - -BOOL InitApplication(HANDLE); -BOOL InitInstance(HANDLE, int); -void ProcessThread(void* pArg); - -int PASCAL WinMain(hInstance, hPrevInstance, lpCmdLine, nCmdShow) -HANDLE hInstance, hPrevInstance; -LPSTR lpCmdLine; -int nCmdShow; -{ - MSG msg; - - if (!hPrevInstance) - if (!InitApplication(hInstance)) return(FALSE); - if (!InitInstance(hInstance, nCmdShow)) return(FALSE); - while (GetMessage(&msg, NULL, NULL, NULL)) { - TranslateMessage(&msg); - DispatchMessage(&msg); - } - return(msg.wParam); -} - -BOOL InitApplication(hInstance) -HANDLE hInstance; -{ - WNDCLASS wc; - - /* Main Window Class */ - wc.style = NULL; - wc.lpfnWndProc = (WNDPROC)MainWndProc; - wc.cbClsExtra = 0; - wc.cbWndExtra = 0; - wc.hInstance = hInstance; - wc.hIcon = LoadIcon(hInstance, "MyIcon"); - wc.hCursor = LoadCursor(NULL, IDC_ARROW); - wc.hbrBackground = GetStockObject(LTGRAY_BRUSH); - wc.lpszMenuName = NULL; - wc.lpszClassName = "GenericWClass"; - if (!RegisterClass(&wc)) return(FALSE); -} - - -BOOL InitInstance(hInstance, nCmdShow) -HANDLE hInstance; -int nCmdShow; -{ - HWND hWnd; - HMENU hSampleMenu; - - hInst = hInstance; - hSampleMenu = LoadMenu(hInstance, "U9113Menu"); - hWnd = CreateWindow("GenericWClass", - (LPCSTR)"PCI-9113 Double Buffered DMA", - WS_OVERLAPPEDWINDOW, - CW_USEDEFAULT, - CW_USEDEFAULT, - 520, - 400, - NULL, - hSampleMenu, - hInstance, - NULL); - if (!hWnd) return(FALSE); - ShowWindow(hWnd, nCmdShow); - UpdateWindow(hWnd); - return(TRUE); -} - -BOOL PASCAL setup(HWND hWnd, unsigned message, WPARAM wParam, LPARAM lParam) -{ - int i; - char n[16]; - char s[50]; - switch (message) { - case WM_INITDIALOG: - for (i=0;i<16;i++) { - wsprintf(n, "%d", i); - _strupr(n); - SendMessage(GetDlgItem(hWnd,IDC_COMBO1), CB_ADDSTRING, NULL, (LONG)(LPSTR) n); - } - SendMessage(GetDlgItem(hWnd,IDC_COMBO1) , CB_SETCURSEL, 0, 0L); - - break; - case WM_COMMAND: - switch(LOWORD(wParam)) { - - case IDC_COMBO1: - if (HIWORD(wParam) == CBN_CLOSEUP) { - i = (int)SendMessage(GetDlgItem(hWnd,IDC_COMBO1), CB_GETCURSEL, 0, 0L); - SendMessage(GetDlgItem(hWnd,IDC_COMBO1), CB_GETLBTEXT, i, (LPARAM)((LPCSTR)n)); - card_number = i; - } - return(TRUE); - case IDOK: - if ((card=Register_Card(PCI_9113, card_number)) < 0) { - wsprintf(s, "Register_Card Error = %d\n", card); - MessageBox(hWnd, s, "Error", MB_OK); - SendMessage(hWnd, WM_CLOSE, 0, 0L); - break; - } - EndDialog(hWnd, TRUE); - InvalidateRect(hWnd, NULL, FALSE); - return (TRUE); - case IDCANCEL: - EndDialog(hWnd, TRUE); - return (TRUE); - } - break; - } - return (FALSE); -} - -long PASCAL MainWndProc(hWnd, message, wParam, lParam) -HWND hWnd; -UINT message; -WPARAM wParam; -LPARAM lParam; -{ - HDC hDC; - PAINTSTRUCT ps; - int i; - char n[6]; - static int pos=0; - I16 err; - U32 count; - char s[50]; - - switch(message) { - case WM_CREATE: - DialogBox(hInst,IDD_DIALOG2, hWnd, setup); - if(card<0) { - SendMessage(hWnd, WM_CLOSE, 0, 0L); - break; - } - hEdit=CreateWindow("EDIT", NULL, - WS_CHILD | WS_VISIBLE | ES_LEFT, - output_pos[13].x-30, input_pos[15].y+20,40, 20, hWnd, IDC_EDIT, hInst, NULL); - - hEdit1=CreateWindow("EDIT", NULL, - WS_CHILD | WS_VISIBLE | ES_LEFT, - output_pos[13].x+90, input_pos[15].y+20,60, 20, hWnd, IDC_EDIT1, hInst, NULL); - - wsprintf(n,"%d",sample_rate/1000); - SetWindowText(hEdit,n); - - wsprintf(n,"%d",data_size); - SetWindowText(hEdit1,n); - - CreateWindow("SCROLLBAR", NULL, - WS_CHILD | WS_VISIBLE | SBS_VERT, - output_pos[13].x+10, input_pos[15].y+20,20, 20, hWnd, IDC_SCROLL, hInst, NULL); - - hStart = CreateWindow("BUTTON","Start" , - WS_CHILD | WS_VISIBLE , - output_pos[10].x+110, input_pos[10].y+10,50, 30, hWnd, IDC_START, hInst, NULL); - - hStop = CreateWindow("BUTTON","Stop" , - WS_CHILD | WS_VISIBLE , - output_pos[10].x+170, input_pos[10].y+10,50, 30, hWnd, IDC_STOP, hInst, NULL); - - CreateWindow("BUTTON","Data Value" , - WS_CHILD | WS_VISIBLE , - output_pos[10].x+230, input_pos[10].y+10,80, 30, hWnd, IDC_SHOW, hInst, NULL); - EnableWindow(hStop, FALSE); - - CreateWindow("BUTTON","0" , - WS_CHILD | WS_VISIBLE | BS_AUTORADIOBUTTON | BS_LEFTTEXT | WS_GROUP , - output_pos[4].x+50, io_pos[0].y-5+20,25,15, hWnd,IDC_CH, hInst, NULL); - - CreateWindow("BUTTON","1" , - WS_CHILD | WS_VISIBLE | BS_AUTORADIOBUTTON | BS_LEFTTEXT | WS_GROUP, - output_pos[4].x+50, io_pos[0].y+13+20,25,15, hWnd,IDC_CH+1, hInst, NULL); - - CreateWindow("BUTTON","2" , - WS_CHILD | WS_VISIBLE | BS_AUTORADIOBUTTON | BS_LEFTTEXT | WS_GROUP, - output_pos[4].x+50, io_pos[0].y+31+20,25,15, hWnd,IDC_CH+2, hInst, NULL); - - CreateWindow("BUTTON","3" , - WS_CHILD | WS_VISIBLE | BS_AUTORADIOBUTTON | BS_LEFTTEXT | WS_GROUP, - output_pos[4].x+50, io_pos[0].y+49+20,25,15, hWnd,IDC_CH+3, hInst, NULL); - - CreateWindow("BUTTON","4" , - WS_CHILD | WS_VISIBLE | BS_AUTORADIOBUTTON | BS_LEFTTEXT | WS_GROUP, - output_pos[4].x+100, io_pos[0].y-5+20,25,15, hWnd,IDC_CH+4, hInst, NULL); - - CreateWindow("BUTTON","5" , - WS_CHILD | WS_VISIBLE | BS_AUTORADIOBUTTON | BS_LEFTTEXT | WS_GROUP, - output_pos[4].x+100, io_pos[0].y+13+20,25,15, hWnd, IDC_CH+5, hInst, NULL); - - CreateWindow("BUTTON","6" , - WS_CHILD | WS_VISIBLE | BS_AUTORADIOBUTTON | BS_LEFTTEXT | WS_GROUP, - output_pos[4].x+100, io_pos[0].y+31+20,25,15, hWnd,IDC_CH+6, hInst, NULL); - - CreateWindow("BUTTON","7" , - WS_CHILD | WS_VISIBLE | BS_AUTORADIOBUTTON | BS_LEFTTEXT | WS_GROUP, - output_pos[4].x+100, io_pos[0].y+49+20,25,15, hWnd, IDC_CH+7, hInst, NULL); - - //default channel 0 - for (i=1;i<8;i++) bCheck[i]=FALSE; - bCheck[0] = TRUE; - channel = 0; - SendMessage(GetDlgItem(hWnd,IDC_CH), BM_SETCHECK, 1, 0); - - hBlackBrush= CreateSolidBrush(RGB(0,0,0)); - hRedPen= CreatePen(PS_SOLID,1,RGB(255,0,0)); - hBlackPen= CreatePen(PS_SOLID,1,RGB(0,0,0)); - break; - - case WM_PAINT: - hDC = BeginPaint(hWnd, &ps); - - // DMA analog input box - SelectObject(hDC, GetStockObject(GRAY_BRUSH)); - Rectangle(hDC, output_pos[15].x-10, io_pos[15].y-24, output_pos[0].x+26, io_pos[0].y+195); - SetTextColor(hDC,RGB(255,255,0)); - SetBkColor(hDC, RGB(0, 0, 255)); - TextOut(hDC, io_pos[15].x, io_pos[15].y-35, "DMA Input", 9); - SelectObject(hDC, hBlackBrush); - Rectangle(hDC, output_pos[15].x+35, io_pos[15].y-2, output_pos[4].x+41, io_pos[0].y+172); - - SetBkMode(hDC,TRANSPARENT); - TextOut(hDC,output_pos[13].x-60, input_pos[10].y,"Samping Rate",12); - TextOut(hDC,output_pos[13].x+30, input_pos[15].y+20,"KHZ",3); - TextOut(hDC,output_pos[13].x+70, input_pos[10].y,"Buffer Size",11); - TextOut(hDC,input_pos[2].x-10, io_pos[15].y+118,"Range:+/-10V",12); - TextOut(hDC,input_pos[15].x, io_pos[15].y-19,"Volt",4); - TextOut(hDC,input_pos[15].x, io_pos[15].y-5,"10.0",4); - TextOut(hDC,input_pos[15].x, io_pos[15].y+36,"5.00",4); - TextOut(hDC,input_pos[15].x, io_pos[15].y+77,"0.00",4); - TextOut(hDC,input_pos[15].x-3, io_pos[15].y+118,"-5.00",5); - TextOut(hDC,input_pos[15].x-3, io_pos[15].y+159,"-10.0",5); - TextOut(hDC,input_pos[10].x+10, io_pos[10].y-19,"Signals",7); - TextOut(hDC,output_pos[4].x+60, io_pos[0].y-15,"Channel",7); - EndPaint(hWnd, &ps); - break; - - // Sample Rate Spin Control - case WM_VSCROLL: - switch (LOWORD(wParam)) { - case SB_LINEUP : - sample_rate+=5000; - if (sample_rate > 25000 ) sample_rate=25000; - break; - case SB_LINEDOWN: - sample_rate-=5000; - if (sample_rate < 5000 ) sample_rate=5000; - break; - } - wsprintf(n,"%d",sample_rate/1000); - SetWindowText(hEdit,n); - break; - case WM_COMMAND: - switch(LOWORD(wParam)) { - case IDM_EXIT: - SendMessage(hWnd, WM_CLOSE, 0, 0L); - break; - case IDC_CH: - case IDC_CH+1: - case IDC_CH+2: - case IDC_CH+3: - case IDC_CH+4: - case IDC_CH+5: - case IDC_CH+6: - case IDC_CH+7: - if (!bCheck[wParam-IDC_CH]) { - SendMessage(GetDlgItem(hWnd,wParam), BM_SETCHECK, 1, 0); - SendMessage(GetDlgItem(hWnd,IDC_CH+channel), BM_SETCHECK, 0, 0); - bCheck[channel]=FALSE; - } - channel=wParam-IDC_CH; - bCheck[channel]=TRUE; - break; - - case IDC_SHOW : - DialogBox(hInst, "DMABox", hWnd, ShowDMA); - break; - case IDC_START: - if (hMem != NULL) { - GlobalUnfix(hMem); - GlobalUnlock(hMem); - GlobalFree(hMem); - } - // allocate a memory for DMA - data_size=GetDlgItemInt(hWnd,IDC_EDIT1,NULL ,FALSE); - mem_size=data_size * 4; - hMem = GlobalAlloc(GMEM_FIXED | GMEM_ZEROINIT,mem_size); - - ai_buf = (U32 *)GlobalLock(hMem); - if (ai_buf == NULL ) { - MessageBox(hWnd,"DMA", "No Memory", MB_OK); - SendMessage(hWnd, WM_CLOSE, 0, 0L); - break; - } - - GlobalFix(hMem); - - if ((err=AI_9113_Config(card, TRIG_INT_PACER)) != NoError) { - wsprintf(s, "AI_Config Error = %d\n", err); - MessageBox(hWnd, s, "Error", MB_OK); - SendMessage(hWnd, WM_CLOSE, 0, 0L); - break; - } - if ((err=AI_AsyncDblBufferMode (card, 1)) != NoError) { - wsprintf(s, "AI_AsyncDblBufferMode Error = %d\n", err); - MessageBox(hWnd, s, "Error", MB_OK); - SendMessage(hWnd, WM_CLOSE, 0, 0L); - break; - } - if ((err=AI_ContReadChannel(card, channel, AD_B_10_V, ai_buf, data_size, (F64)sample_rate, ASYNCH_OP)) != NoError) { - wsprintf(s, "AI_ContReadPort Error = %d\n", err); - MessageBox(hWnd, s, "Error", MB_OK); - SendMessage(hWnd, WM_CLOSE, 0, 0L); - break; - } - EnableWindow(hStart, FALSE); - EnableWindow(hStop, TRUE); - - hMainWnd = hWnd; - clear_op = FALSE; - hThread = (HANDLE)_beginthread(ProcessThread, 0, 0); - MessageBeep(0); - break; - case IDC_STOP: - clear_op = TRUE; - EnableWindow(hStart, TRUE); - EnableWindow(hStop, FALSE); - break; - default: - return(DefWindowProc(hWnd, message, wParam, lParam)); - } - break; - case WM_DESTROY: - if (card >= 0) Release_Card(card); - DeleteObject(hBlackBrush); - DeleteObject(hRedPen); - GlobalUnfix(hMem); - GlobalUnlock(hMem); - GlobalFree(hMem); - PostQuitMessage(0); - break; - default: - return(DefWindowProc(hWnd, message, wParam, lParam)); - } - return(NULL); -} - -BOOL PASCAL ShowDMA(hDlg, message, wParam, lParam) -HWND hDlg; -UINT message; -WPARAM wParam; -LPARAM lParam; -{ - int nTabs[2] = {32, 92}; - int i; - char cBuf[60]; - char string[10]=" "; - char data_str[3]=" "; - U32 *pp; - switch (message) { - case WM_INITDIALOG: - hListBox = CreateWindow("LISTBOX", "Index Data (Hex)", - WS_CHILD | WS_VISIBLE | LBS_HASSTRINGS | LBS_STANDARD | LBS_USETABSTOPS |WS_CAPTION, - 50, 40, 240, 180, hDlg, 100, hInst, NULL); - SendMessage(hListBox, LB_RESETCONTENT, 0, 0L); - SendMessage(hListBox, LB_SETTABSTOPS, 2, (DWORD)(LPINT) nTabs); - SetDlgItemText(hDlg, DMA_DESCP, "This ListBox can show at most 4000 data"); - itoa(data_size, string, 10); - SetDlgItemText(hDlg, DMA_SPACE, string); - - pp = (U32 *)ai_buf; - if (data_size > 4000) data_size = 4000; - for(i=0;i -#include -#include -#include -#include -#include -#include "resource.h" -#include "dask.h" - -#define IDM_EXIT 110 -#define IDC_ADDR 200 -#define IDC_SCROLL 207 -#define IDC_COMBO1 1015 -#define IDC_START 208 -#define IDC_STOP 209 -#define IDC_PAUSE 210 -#define IDC_EDIT 211 -#define IDC_CHAN 214 -#define IDC_SHOW 213 -#define NONE 0 - -int PASCAL WinMain(HANDLE, HANDLE, LPSTR, int); -long PASCAL MainWndProc(HWND, UINT, WPARAM, LPARAM); -BOOL PASCAL ShowINT(HWND, UINT, WPARAM, LPARAM); - -HANDLE hInst; -HWND hListBox; -HWND hChanComboBox, hCardComboBox; -HWND hADScroll; -HWND hEdit,hEdit1,hData; -int input=0, output=0; -I32 oldinput[8], adinput; - -HBRUSH hBlackBrush; -HPEN hRedPen; - -long sample_rate=10000; -unsigned int base_addr=NONE,gain=1; -I16 card = -1, card_number =0;; -long data_size=10240; -U16 channel=0, range = AD_B_10_V; - -DWORD mem_size = 0; -static HANDLE hMem=NULL; -U32 *ai_buf; - -POINT input_pos[16]= {{470, 280}, {440, 280}, - {410, 280}, {380, 280}, - {350, 280}, {320, 280}, - { 290, 280}, {260, 280}, - {230, 280}, {200, 280}, - {170, 280}, {140, 280}, - {110, 280}, {80, 280}, - { 50, 280}, { 20, 280}, - }; - -POINT output_pos[16] ={ - {470, 340}, {440, 340}, - {410, 340}, {380, 340}, - {350, 340}, {320, 340}, - { 290, 340}, {260, 340}, - {230, 340}, {200, 340}, - {170, 340}, {140, 340}, - {110, 340}, {80, 340}, - { 50, 340}, { 20, 340}, - }; - -POINT io_pos[16] ={ - {395, 40}, {370, 40}, - {345, 40}, {320, 40}, - {295, 40}, {270, 40}, - { 245, 40}, {220, 40}, - {195, 40}, {170, 40}, - {145, 40}, {120, 40}, - {95, 40}, {70, 40}, - { 45, 40}, { 20, 40}, - }; - -HBRUSH hLTGreenBrush,hGreenBrush,hBlueBrush,hYellowBrush,hRedBrush,hBlackBrush,hWhiteBrush - ,hLTRedBrush,hLTBlueBrush; -HPEN hRedPen,hYellowPen,hGreenPen,hBluePen,hLTBluePen,hLTRedPen,hLTGreenPen,hWhitePen; - -BOOL InitApplication(HANDLE); -BOOL InitInstance(HANDLE, int); - -int PASCAL WinMain(hInstance, hPrevInstance, lpCmdLine, nCmdShow) -HANDLE hInstance, hPrevInstance; -LPSTR lpCmdLine; -int nCmdShow; -{ - MSG msg; - - if (!hPrevInstance) - if (!InitApplication(hInstance)) return(FALSE); - if (!InitInstance(hInstance, nCmdShow)) return(FALSE); - while (GetMessage(&msg, NULL, NULL, NULL)) { - TranslateMessage(&msg); - DispatchMessage(&msg); - } - return(msg.wParam); -} - -BOOL InitApplication(hInstance) -HANDLE hInstance; -{ - WNDCLASS wc; - - /* Main Window Class */ - wc.style = NULL; - wc.lpfnWndProc = (WNDPROC)MainWndProc; - wc.cbClsExtra = 0; - wc.cbWndExtra = 0; - wc.hInstance = hInstance; - wc.hIcon = LoadIcon(hInstance, "MyIcon"); - wc.hCursor = LoadCursor(NULL, IDC_ARROW); - wc.hbrBackground = GetStockObject(LTGRAY_BRUSH); - wc.lpszMenuName = NULL; - wc.lpszClassName = "GenericWClass"; - if (!RegisterClass(&wc)) return(FALSE); -} - -BOOL InitInstance(hInstance, nCmdShow) -HANDLE hInstance; -int nCmdShow; -{ - HWND hWnd; - HMENU hSampleMenu; - - hInst = hInstance; - hSampleMenu = LoadMenu(hInstance, "U9113Menu"); - hWnd = CreateWindow("GenericWClass", - (LPCSTR)"9113 Autoscan Interrupt", - WS_OVERLAPPEDWINDOW, - CW_USEDEFAULT, - CW_USEDEFAULT, - 520, - 400, - NULL, - hSampleMenu, - hInstance, - NULL); - if (!hWnd) return(FALSE); - ShowWindow(hWnd, nCmdShow); - UpdateWindow(hWnd); - return(TRUE); -} - -BOOL PASCAL setup(HWND hWnd, unsigned message, WPARAM wParam, LPARAM lParam) -{ - int i; - char n[16]; - char s[50]; - switch (message) { - case WM_INITDIALOG: - for (i=0;i<16;i++) { - wsprintf(n, "%d", i); - _strupr(n); - SendMessage(GetDlgItem(hWnd,IDC_COMBO1), CB_ADDSTRING, NULL, (LONG)(LPSTR) n); - } - SendMessage(GetDlgItem(hWnd,IDC_COMBO1) , CB_SETCURSEL, 0, 0L); - - break; - case WM_COMMAND: - switch(LOWORD(wParam)) { - - case IDC_COMBO1: - if (HIWORD(wParam) == CBN_CLOSEUP) { - i = (int)SendMessage(GetDlgItem(hWnd,IDC_COMBO1), CB_GETCURSEL, 0, 0L); - SendMessage(GetDlgItem(hWnd,IDC_COMBO1), CB_GETLBTEXT, i, (LPARAM)((LPCSTR)n)); - card_number = i; - } - return(TRUE); - case IDOK: - if ((card=Register_Card(PCI_9113, card_number)) < 0) { - wsprintf(s, "Register_Card Error = %d\n", card); - MessageBox(hWnd, s, "Error", MB_OK); - SendMessage(hWnd, WM_CLOSE, 0, 0L); - break; - } - EndDialog(hWnd, TRUE); - InvalidateRect(hWnd, NULL, FALSE); - return (TRUE); - case IDCANCEL: - EndDialog(hWnd, TRUE); - return (TRUE); - } - break; - } - return (FALSE); -} - -long PASCAL MainWndProc(hWnd, message, wParam, lParam) -HWND hWnd; -UINT message; -WPARAM wParam; -LPARAM lParam; -{ - HDC hDC; - int i; - int cur_channel; - char n[6]; - static int pos=0; - static int count,status; - PAINTSTRUCT ps; - - switch(message) { - case WM_CREATE: - DialogBox(hInst,IDD_DIALOG2, hWnd, setup); - if(card<0) { - SendMessage(hWnd, WM_CLOSE, 0, 0L); - break; - } - hChanComboBox = CreateWindow("ComboBox", NULL, - CBS_DROPDOWNLIST | WS_CHILD | WS_VISIBLE | WS_VSCROLL, - input_pos[10].x, input_pos[15].y+18, 100, 160, hWnd, IDC_CHAN, hInst, NULL); - SendMessage(hChanComboBox, CB_ADDSTRING, NULL, (LONG)(LPSTR)"CH0"); - SendMessage(hChanComboBox, CB_ADDSTRING, NULL, (LONG)(LPSTR)"CH0 ~ CH1"); - SendMessage(hChanComboBox, CB_ADDSTRING, NULL, (LONG)(LPSTR)"CH0 ~ CH2"); - SendMessage(hChanComboBox, CB_ADDSTRING, NULL, (LONG)(LPSTR)"CH0 ~ CH3"); - SendMessage(hChanComboBox, CB_ADDSTRING, NULL, (LONG)(LPSTR)"CH0 ~ CH4"); - SendMessage(hChanComboBox, CB_ADDSTRING, NULL, (LONG)(LPSTR)"CH0 ~ CH5"); - SendMessage(hChanComboBox, CB_ADDSTRING, NULL, (LONG)(LPSTR)"CH0 ~ CH6"); - SendMessage(hChanComboBox, CB_ADDSTRING, NULL, (LONG)(LPSTR)"CH0 ~ CH7"); - SendMessage(hChanComboBox ,CB_SETCURSEL, 0, 0L); - hEdit=CreateWindow("EDIT", NULL, - WS_CHILD | WS_VISIBLE | ES_LEFT, - output_pos[13].x-30, input_pos[15].y+20,40, 20, hWnd, IDC_EDIT, hInst, NULL); - wsprintf(n,"%d",sample_rate/1000); - SetWindowText(hEdit,n); - SendMessage(hCardComboBox ,CB_SETCURSEL, 0, 0L); - CreateWindow("SCROLLBAR", NULL, - WS_CHILD | WS_VISIBLE | SBS_VERT, - output_pos[13].x+10, input_pos[15].y+20,20, 20, hWnd, IDC_SCROLL, hInst, NULL); - CreateWindow("BUTTON","Start" , - WS_CHILD | WS_VISIBLE , - output_pos[10].x+140, input_pos[10].y+10,70, 30, hWnd, IDC_START, hInst, NULL); - hData=CreateWindow("BUTTON","Data Value" , - WS_CHILD | WS_VISIBLE , - output_pos[10].x+230, input_pos[10].y+10,80, 30, hWnd, IDC_SHOW, hInst, NULL); - hLTGreenBrush = CreateSolidBrush(RGB(0, 255, 0)); - hGreenBrush = CreateSolidBrush(RGB(0, 128, 0)); - hBlueBrush = CreateSolidBrush(RGB(0, 0, 255)); - hRedBrush = CreateSolidBrush(RGB(255, 0, 0)); - hYellowBrush= CreateSolidBrush(RGB(255,255,0)); - hBlackBrush= CreateSolidBrush(RGB(0,0,0)); - hLTBlueBrush= CreateSolidBrush(RGB(0,255,255)); - hLTRedBrush= CreateSolidBrush(RGB(255,128,0)); - hWhiteBrush= CreateSolidBrush(RGB(255,255,255)); - hRedPen= CreatePen(PS_SOLID,1,RGB(255,0,0)); - hYellowPen= CreatePen(PS_SOLID,1,RGB(255,255,0)); - hBluePen= CreatePen(PS_SOLID,1,RGB(0,0,255)); - hGreenPen= CreatePen(PS_SOLID,1,RGB(0,255,0)); - hLTBluePen= CreatePen(PS_SOLID,1,RGB(0,128,255)); - hLTRedPen= CreatePen(PS_SOLID,1,RGB(128,128,0)); - hLTGreenPen= CreatePen(PS_SOLID,1,RGB(0,128,0)); - hWhitePen= CreatePen(PS_SOLID,1,RGB(255,255,255)); - break; - case WM_PAINT: - hDC = BeginPaint(hWnd, &ps); - // Analog Input Box - SelectObject(hDC, GetStockObject(GRAY_BRUSH)); - Rectangle(hDC, output_pos[15].x-10, io_pos[15].y-24, output_pos[0].x+26, io_pos[0].y+195); - SetTextColor(hDC,RGB(255,255,0)); - SetBkColor(hDC, RGB(0, 0, 255)); - TextOut(hDC, io_pos[15].x, io_pos[15].y-35, "Interrupt Input(A/D) ", 22); - - SelectObject(hDC, hBlackBrush); - Rectangle(hDC, output_pos[15].x+35, io_pos[15].y-2, output_pos[4].x+41, io_pos[0].y+172); - - SelectObject(hDC,hYellowBrush ); - Rectangle(hDC,output_pos[4].x+68, io_pos[0].y-5+18,output_pos[4].x+80, io_pos[0].y+10+18); - - SelectObject(hDC, hGreenBrush); - Rectangle(hDC,output_pos[4].x+68, io_pos[0].y+13+18,output_pos[4].x+80, io_pos[0].y+28+18); - - SelectObject(hDC, hBlueBrush); - Rectangle(hDC,output_pos[4].x+68, io_pos[0].y+31+18,output_pos[4].x+80, io_pos[0].y+46+18); - - SelectObject(hDC, hRedBrush); - Rectangle(hDC,output_pos[4].x+68, io_pos[0].y+49+18,output_pos[4].x+80, io_pos[0].y+64+18); - - SelectObject(hDC, hLTBlueBrush); - Rectangle(hDC,output_pos[4].x+108, io_pos[0].y-5+18,output_pos[4].x+120, io_pos[0].y+10+18); - - SelectObject(hDC, hLTRedBrush); - Rectangle(hDC,output_pos[4].x+108, io_pos[0].y+13+18,output_pos[4].x+120, io_pos[0].y+28+18); - - SelectObject(hDC, hLTGreenBrush); - Rectangle(hDC,output_pos[4].x+108, io_pos[0].y+31+18,output_pos[4].x+120, io_pos[0].y+46+18); - - SelectObject(hDC, hWhiteBrush); - Rectangle(hDC,output_pos[4].x+108, io_pos[0].y+49+18,output_pos[4].x+120, io_pos[0].y+64+18); - - SetBkMode(hDC,TRANSPARENT); - TextOut(hDC,output_pos[13].x-60, input_pos[10].y,"Samping Rate",12); - TextOut(hDC,output_pos[13].x+30, input_pos[15].y+20,"KHZ",3); - TextOut(hDC,output_pos[13].x+80, input_pos[10].y,"Channel",7); - TextOut(hDC,input_pos[2].x-10, io_pos[15].y+118,"Range: +/-10V",13); - TextOut(hDC,input_pos[15].x, io_pos[15].y-19,"Volts",5); - TextOut(hDC,input_pos[15].x, io_pos[15].y-5,"10.0",4); - TextOut(hDC,input_pos[15].x, io_pos[15].y+36,"5.00",4); - TextOut(hDC,input_pos[15].x, io_pos[15].y+77,"0.00",4); - TextOut(hDC,input_pos[15].x-3, io_pos[15].y+118,"-5.00",5); - TextOut(hDC,input_pos[15].x-3, io_pos[15].y+159,"-10.0",5); - TextOut(hDC,input_pos[10].x+10, io_pos[10].y-19,"Signals",7); - - TextOut(hDC,output_pos[4].x+58, io_pos[0].y-5+18,"0",1); - TextOut(hDC,output_pos[4].x+58, io_pos[0].y+13+18,"1",1); - TextOut(hDC,output_pos[4].x+58, io_pos[0].y+31+18,"2",1); - TextOut(hDC,output_pos[4].x+58, io_pos[0].y+49+18,"3",1); - TextOut(hDC,output_pos[4].x+98, io_pos[0].y-5+18,"4",1); - TextOut(hDC,output_pos[4].x+98, io_pos[0].y+13+18,"5",1); - TextOut(hDC,output_pos[4].x+98, io_pos[0].y+31+18,"6",1); - TextOut(hDC,output_pos[4].x+98, io_pos[0].y+49+18,"7",1); - - TextOut(hDC,output_pos[13].x-63, input_pos[10].y-35,"Card",4); - TextOut(hDC,output_pos[13].x-63, input_pos[10].y-22,"Type",4); - - EndPaint(hWnd, &ps); - break; - case WM_VSCROLL: - // Sample Rate Spin Control - switch(LOWORD(wParam)){ - case SB_LINEUP : - sample_rate+=1000; - if (sample_rate > 25000 ) sample_rate=25000; - break; - case SB_LINEDOWN: - sample_rate-=1000; - if (sample_rate < 1000 ) sample_rate=1000; - break; - } - wsprintf(n,"%d",sample_rate/1000); - SetWindowText(hEdit,n); - break; - case WM_COMMAND: - switch(LOWORD(wParam)) { - case IDM_EXIT: - SendMessage(hWnd, WM_CLOSE, 0, 0L); - break; - case IDC_SHOW : - DialogBox(hInst, "IntBox", hWnd, ShowINT); - break; - case IDC_CHAN: - if (HIWORD(wParam) == CBN_CLOSEUP) { - if ((i=(int)SendMessage(GetDlgItem(hWnd,IDC_CHAN),CB_GETCURSEL, 0, 0L))>=0 ) { - channel=i; - } - } - break; - case IDC_START: - EnableWindow (hData, FALSE); - if (hMem != NULL) - { - GlobalUnfix(hMem); - GlobalUnlock(hMem); - GlobalFree(hMem); - } - // allocate a memory for user DMA buffer - mem_size=data_size*4; - hMem = GlobalAlloc(GMEM_ZEROINIT,mem_size); - ai_buf = GlobalLock(hMem); - if (ai_buf == NULL ) - { - MessageBox(hWnd,"INT", "No Memory", MB_OK); - } - GlobalFix(hMem); - AI_9113_Config(card,TRIG_INT_PACER); - AI_AsyncDblBufferMode(card, 0); - AI_ContScanChannels (card, channel, range, ai_buf, data_size, (F64)sample_rate, SYNCH_OP); - EnableWindow (hData, TRUE); - for (i=0;i<8;i++) oldinput[i]=-1; - hDC = GetDC(hWnd); - SelectObject(hDC, hBlackBrush); - Rectangle(hDC,output_pos[15].x+35,io_pos[0].y-3,output_pos[15].x+370,io_pos[0].y+175); - - for (i=0;i>16) & 0x1f; - switch(cur_channel) { - case 0: - SelectObject(hDC, hYellowPen); - break; - case 1: - SelectObject(hDC, hLTGreenPen); - break; - case 2: - SelectObject(hDC, hBluePen); - break; - case 3: - SelectObject(hDC, hRedPen); - break; - case 4: - SelectObject(hDC, hLTBluePen); - break; - case 5: - SelectObject(hDC, hLTRedPen); - break; - case 6: - SelectObject(hDC, hGreenPen); - break; - case 7: - SelectObject(hDC, hWhitePen); - break; - } - adinput = adinput & 0xfff; - adinput=io_pos[0].y+172-(174*adinput)/4096; - if (oldinput[cur_channel]!=-1) - MoveToEx(hDC,(i*334)/data_size+output_pos[15].x+35,oldinput[cur_channel],NULL); - else - MoveToEx(hDC,(i*334)/data_size+output_pos[15].x+35,adinput,NULL); - LineTo(hDC,(i*334)/data_size+output_pos[15].x+36,adinput); - oldinput[cur_channel]=adinput; - } // for - ReleaseDC(hWnd, hDC); - break; - default: - return(DefWindowProc(hWnd, message, wParam, lParam)); - } - break; - case WM_DESTROY: - if (card >= 0) Release_Card (card); - DeleteObject(hRedBrush); - DeleteObject(hGreenBrush); - DeleteObject(hLTGreenBrush); - DeleteObject(hYellowBrush); - DeleteObject(hBlueBrush) ; - DeleteObject(hBlackBrush); - DeleteObject(hRedPen); - DeleteObject(hYellowPen); - DeleteObject(hBluePen); - DeleteObject(hGreenPen); - DeleteObject(hLTBluePen); - DeleteObject(hLTRedPen); - DeleteObject(hLTGreenPen); - DeleteObject(hWhitePen); - GlobalUnfix(hMem); - GlobalUnlock(hMem); - GlobalFree(hMem); - PostQuitMessage(0); - break; - default: - return(DefWindowProc(hWnd, message, wParam, lParam)); - } - return(NULL); -} - -BOOL PASCAL ShowINT(hDlg, message, wParam, lParam) -HWND hDlg; -UINT message; -WPARAM wParam; -LPARAM lParam; -{ - int nTabs[2] = {32, 92}; - long i; - I16 ch_no; - char cBuf[64]; - char string[10]=" "; - char data_str[3]=" "; - U32 *pp; - switch (message) - { - case WM_INITDIALOG: - hListBox = CreateWindow("LISTBOX", "Index Data CH#",\ - WS_CHILD | WS_VISIBLE | LBS_HASSTRINGS | LBS_STANDARD | LBS_USETABSTOPS |WS_CAPTION, - 50, 40, 240, 180, hDlg, 100, hInst, NULL); - - SendMessage(hListBox, LB_RESETCONTENT, 0, 0L); - SendMessage(hListBox, LB_SETTABSTOPS, 2, (DWORD)(LPINT)nTabs); - pp = ai_buf; - for(i=0; i>16) & 0x1f; - wsprintf(cBuf, "%5d\t %5d %2d", i, ai_buf[i]&0xfff, ch_no); - SendMessage(hListBox, LB_INSERTSTRING, -1, (DWORD)(LPSTR)cBuf); - } - itoa(data_size, string, 10); - SetDlgItemText(hDlg, DMA_SPACE, string); - ShowWindow(hListBox, SW_SHOW); - return (TRUE); - case WM_COMMAND: - if (LOWORD(wParam) == ID_STOP) - { - DestroyWindow(hListBox); - EndDialog(hDlg, TRUE); - return (TRUE); - } - break; - } //switch - return (FALSE); -} - \ No newline at end of file diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9113/sdk9113int/Resource.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9113/sdk9113int/Resource.h deleted file mode 100644 index de3b04e..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9113/sdk9113int/Resource.h +++ /dev/null @@ -1,26 +0,0 @@ -//{{NO_DEPENDENCIES}} -// Microsoft Developer Studio generated include file. -// Used by 9113int.rc -// -#define IDM_SETUP 101 -#define IDD_DIALOG1 101 -#define IDD_DIALOG2 103 -#define IDM_EXIT 110 -#define ID_STOP 304 -#define DMA_SPACE 500 -#define IDC_COMBO2 1001 -#define IDC_COMBO3 1003 -#define IDC_COMBO1 1015 -#define IDC_COMBO4 1016 -#define IDC_STATIC -1 - -// Next default values for new objects -// -#ifdef APSTUDIO_INVOKED -#ifndef APSTUDIO_READONLY_SYMBOLS -#define _APS_NEXT_RESOURCE_VALUE 104 -#define _APS_NEXT_COMMAND_VALUE 102 -#define _APS_NEXT_CONTROL_VALUE 1001 -#define _APS_NEXT_SYMED_VALUE 101 -#endif -#endif diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9113/vb9113/0.BMP b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9113/vb9113/0.BMP deleted file mode 100644 index 8c61da7..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9113/vb9113/0.BMP and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9113/vb9113/1.BMP b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9113/vb9113/1.BMP deleted file mode 100644 index d049f03..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9113/vb9113/1.BMP and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9113/vb9113/9113glbl.Bas b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9113/vb9113/9113glbl.Bas deleted file mode 100644 index 9a60534..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9113/vb9113/9113glbl.Bas +++ /dev/null @@ -1,74 +0,0 @@ -Attribute VB_Name = "Module1" -Option Explicit - -Declare Function BitBlt Lib "GDI32" (ByVal hDestDC As Long, ByVal X As Long, ByVal Y As Long, ByVal nWidth As Long, ByVal nHeight As Long, ByVal hSrcDC As Long, ByVal XSrc As Long, ByVal YSrc As Long, ByVal dwRop As Long) As Long - -Global Const SRCCOPY = &HCC0020 ' (DWORD) dest = source -Global card As Integer -Global card_number As Integer - -Sub Scale_Change(ByVal g As Long) - Select Case g - Case 0 - util9113.Label1(2).Caption = "10.0" - util9113.Label1(3).Caption = "5.0" - util9113.Label1(4).Caption = "0.0" - util9113.Label1(5).Caption = "-5.0" - util9113.Label1(6).Caption = "-10.0" - Case 1 - util9113.Label1(2).Caption = "1.0" - util9113.Label1(3).Caption = "0.5" - util9113.Label1(4).Caption = "0.0" - util9113.Label1(5).Caption = "-0.5" - util9113.Label1(6).Caption = "-1.0" - Case 2 - util9113.Label1(2).Caption = "0.10" - util9113.Label1(3).Caption = "0.05" - util9113.Label1(4).Caption = "0.00" - util9113.Label1(5).Caption = "-0.05" - util9113.Label1(6).Caption = "-0.10" - Case 3 - util9113.Label1(2).Caption = "5.0" - util9113.Label1(3).Caption = "2.5" - util9113.Label1(4).Caption = "0.00" - util9113.Label1(5).Caption = "-2.5" - util9113.Label1(6).Caption = "-5.0" - Case 4 - util9113.Label1(2).Caption = "0.50" - util9113.Label1(3).Caption = "0.25" - util9113.Label1(4).Caption = "0.00" - util9113.Label1(5).Caption = "-0.25" - util9113.Label1(6).Caption = "-0.50" - Case 5 - util9113.Label1(2).Caption = "0.050" - util9113.Label1(3).Caption = "0.025" - util9113.Label1(4).Caption = "0.00" - util9113.Label1(5).Caption = "-0.025" - util9113.Label1(6).Caption = "-0.050" - Case 6 - util9113.Label1(2).Caption = "10.0" - util9113.Label1(3).Caption = "7.5" - util9113.Label1(4).Caption = "5.0" - util9113.Label1(5).Caption = "2.5" - util9113.Label1(6).Caption = "0.0" - Case 7 - util9113.Label1(2).Caption = "1.0" - util9113.Label1(3).Caption = "0.75" - util9113.Label1(4).Caption = "0.50" - util9113.Label1(5).Caption = "0.25" - util9113.Label1(6).Caption = "0.0" - Case 8 - util9113.Label1(2).Caption = "0.10" - util9113.Label1(3).Caption = "0.075" - util9113.Label1(4).Caption = "0.05" - util9113.Label1(5).Caption = "0.025" - util9113.Label1(6).Caption = "0.0" -End Select - - util9113.Label1(19).Caption = util9113.Label1(2).Caption - util9113.Label1(20).Caption = util9113.Label1(3).Caption - util9113.Label1(21).Caption = util9113.Label1(4).Caption - util9113.Label1(22).Caption = util9113.Label1(5).Caption - util9113.Label1(23).Caption = util9113.Label1(6).Caption -End Sub - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9113/vb9113/Base9113.frm b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9113/vb9113/Base9113.frm deleted file mode 100644 index 6642284..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9113/vb9113/Base9113.frm +++ /dev/null @@ -1,99 +0,0 @@ -VERSION 4.00 -Begin VB.Form SettingForm - Appearance = 0 'Flat - BackColor = &H00C0C0C0& - Caption = "Card Number Setting" - ClientHeight = 1275 - ClientLeft = 4590 - ClientTop = 4545 - ClientWidth = 2820 - BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851} - Name = "MS Sans Serif" - Size = 8.25 - Charset = 0 - Weight = 700 - Underline = 0 'False - Italic = 0 'False - Strikethrough = 0 'False - EndProperty - ForeColor = &H80000008& - Height = 1680 - Left = 4530 - LinkTopic = "Form2" - ScaleHeight = 1275 - ScaleWidth = 2820 - Top = 4200 - Width = 2940 - Begin VB.CommandButton OKBtn - Appearance = 0 'Flat - BackColor = &H80000005& - Caption = "OK" - Default = -1 'True - Height = 315 - Left = 300 - TabIndex = 0 - Top = 720 - Width = 915 - End - Begin VB.CommandButton CancelBtn - Appearance = 0 'Flat - BackColor = &H80000005& - Cancel = -1 'True - Caption = "Cancel" - Height = 315 - Left = 1380 - TabIndex = 3 - Top = 720 - Width = 915 - End - Begin VB.ComboBox CardNum - Appearance = 0 'Flat - Height = 300 - Left = 1440 - Style = 2 'Dropdown List - TabIndex = 2 - Top = 120 - Width = 1035 - End - Begin VB.Label Label2 - Appearance = 0 'Flat - BackColor = &H00C0C0C0& - Caption = "Card Number:" - ForeColor = &H00000000& - Height = 195 - Index = 0 - Left = 180 - TabIndex = 1 - Top = 180 - Width = 1275 - End -End -Attribute VB_Name = "SettingForm" -Attribute VB_Creatable = False -Attribute VB_Exposed = False - - -Private Sub BaseAddr_Change() - -End Sub - - -Private Sub CancelBtn_Click() - Unload SettingForm -End Sub - -Private Sub Form_Load() - Dim i As Long - For i = 0 To 15 Step 1 - CardNum.AddItem i - Next - CardNum.ListIndex = 0 -End Sub - -Private Sub OKBtn_Click() - card = -1 - card_number = CardNum.ListIndex - card = Register_Card(PCI_9113, card_number) - Unload SettingForm -End Sub - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9113/vb9113/C0_DN.BMP b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9113/vb9113/C0_DN.BMP deleted file mode 100644 index 675b60a..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9113/vb9113/C0_DN.BMP and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9113/vb9113/C0_UP.BMP b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9113/vb9113/C0_UP.BMP deleted file mode 100644 index bf0b3fd..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9113/vb9113/C0_UP.BMP and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9113/vb9113/C1_DN.BMP b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9113/vb9113/C1_DN.BMP deleted file mode 100644 index bfe065a..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9113/vb9113/C1_DN.BMP and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9113/vb9113/C1_UP.BMP b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9113/vb9113/C1_UP.BMP deleted file mode 100644 index 7d0f155..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9113/vb9113/C1_UP.BMP and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9113/vb9113/C2_DN.BMP b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9113/vb9113/C2_DN.BMP deleted file mode 100644 index edf3e0f..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9113/vb9113/C2_DN.BMP and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9113/vb9113/C2_UP.BMP b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9113/vb9113/C2_UP.BMP deleted file mode 100644 index 78caf37..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9113/vb9113/C2_UP.BMP and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9113/vb9113/C3_DN.BMP b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9113/vb9113/C3_DN.BMP deleted file mode 100644 index e060b45..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9113/vb9113/C3_DN.BMP and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9113/vb9113/C3_UP.BMP b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9113/vb9113/C3_UP.BMP deleted file mode 100644 index 02dd3c6..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9113/vb9113/C3_UP.BMP and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9113/vb9113/C4_DN.BMP b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9113/vb9113/C4_DN.BMP deleted file mode 100644 index 7c4a80f..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9113/vb9113/C4_DN.BMP and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9113/vb9113/C4_UP.BMP b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9113/vb9113/C4_UP.BMP deleted file mode 100644 index 5295b36..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9113/vb9113/C4_UP.BMP and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9113/vb9113/C5_DN.BMP b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9113/vb9113/C5_DN.BMP deleted file mode 100644 index 6b06f36..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9113/vb9113/C5_DN.BMP and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9113/vb9113/C5_UP.BMP b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9113/vb9113/C5_UP.BMP deleted file mode 100644 index 775143b..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9113/vb9113/C5_UP.BMP and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9113/vb9113/C6_DN.BMP b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9113/vb9113/C6_DN.BMP deleted file mode 100644 index 62b6de7..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9113/vb9113/C6_DN.BMP and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9113/vb9113/C6_UP.BMP b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9113/vb9113/C6_UP.BMP deleted file mode 100644 index 5e50a6c..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9113/vb9113/C6_UP.BMP and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9113/vb9113/C7_DN.BMP b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9113/vb9113/C7_DN.BMP deleted file mode 100644 index abe1fe0..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9113/vb9113/C7_DN.BMP and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9113/vb9113/C7_UP.BMP b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9113/vb9113/C7_UP.BMP deleted file mode 100644 index 3f2299a..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9113/vb9113/C7_UP.BMP and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9113/vb9113/TUNER.BMP b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9113/vb9113/TUNER.BMP deleted file mode 100644 index c063a49..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9113/vb9113/TUNER.BMP and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9113/vb9113/VB9113.FRX b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9113/vb9113/VB9113.FRX deleted file mode 100644 index 17227af..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9113/vb9113/VB9113.FRX and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9113/vb9113/Vb9113.vbp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9113/vb9113/Vb9113.vbp deleted file mode 100644 index 891dde5..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9113/vb9113/Vb9113.vbp +++ /dev/null @@ -1,21 +0,0 @@ -Form=vb9113.Frm -Module=Module1; 9113glbl.Bas -Module=DASK; ..\..\..\Include\Dask.bas -Form=Base9113.frm -Reference=*\G{00025E04-0000-0000-C000-000000000046}#2.5#0#D:\Program Files\Common Files\Microsoft Shared\DD:\Program Fil#Microsoft DAO 2.5/3.0 Compatibility Library -ProjWinSize=82,551,192,215 -ProjWinShow=2 -IconForm="util9113" -Title="UTIL9113" -ExeName32="vb9113.exe" -ExeName="9113.EXE" -Name="vb4projectUtil9113" -HelpContextID="0" -StartMode=0 -VersionCompatible32="0" -MajorVer=1 -MinorVer=0 -RevisionVer=0 -AutoIncrementVer=0 -ServerSupportFiles=0 -VersionCompanyName="ADLink" diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9113/vb9113/vb9113.Frm b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9113/vb9113/vb9113.Frm deleted file mode 100644 index 4db9183..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9113/vb9113/vb9113.Frm +++ /dev/null @@ -1,1395 +0,0 @@ -VERSION 4.00 -Begin VB.Form util9113 - Appearance = 0 'Flat - BackColor = &H00C0C0C0& - Caption = "9113 Sample Program" - ClientHeight = 4170 - ClientLeft = 1020 - ClientTop = 1230 - ClientWidth = 8520 - BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851} - Name = "MS Sans Serif" - Size = 8.25 - Charset = 0 - Weight = 700 - Underline = 0 'False - Italic = 0 'False - Strikethrough = 0 'False - EndProperty - ForeColor = &H80000008& - Height = 4575 - Left = 960 - LinkTopic = "Form1" - ScaleHeight = 278 - ScaleMode = 3 'Pixel - ScaleWidth = 568 - Top = 885 - Width = 8640 - Begin VB.CommandButton ExitBtn - Appearance = 0 'Flat - BackColor = &H80000005& - Caption = "Exit" - BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851} - Name = "MS Sans Serif" - Size = 8.25 - Charset = 0 - Weight = 400 - Underline = 0 'False - Italic = 0 'False - Strikethrough = 0 'False - EndProperty - Height = 315 - Left = 5130 - TabIndex = 42 - Top = 3615 - Width = 795 - End - Begin VB.Frame Frame3D2 - Appearance = 0 'Flat - BackColor = &H00C0C0C0& - Caption = "Range" - BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851} - Name = "MS Sans Serif" - Size = 8.25 - Charset = 0 - Weight = 400 - Underline = 0 'False - Italic = 0 'False - Strikethrough = 0 'False - EndProperty - ForeColor = &H00000000& - Height = 735 - Left = 6180 - TabIndex = 2 - Top = 3300 - Width = 2055 - Begin VB.ComboBox Gain - Height = 315 - Left = 300 - TabIndex = 3 - Text = "Gain" - Top = 315 - Width = 1395 - End - End - Begin VB.Frame Channel_Frame - Appearance = 0 'Flat - BackColor = &H00C0C0C0& - Caption = "Channel" - BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851} - Name = "MS Sans Serif" - Size = 8.25 - Charset = 0 - Weight = 400 - Underline = 0 'False - Italic = 0 'False - Strikethrough = 0 'False - EndProperty - ForeColor = &H80000008& - Height = 1335 - Index = 1 - Left = 6360 - TabIndex = 5 - Top = 1680 - Width = 1575 - Begin VB.Label Label1 - Appearance = 0 'Flat - BackColor = &H00C0C0C0& - Caption = "15" - ForeColor = &H80000008& - Height = 195 - Index = 24 - Left = 780 - TabIndex = 6 - Top = 960 - Width = 240 - End - Begin VB.Label Label1 - Appearance = 0 'Flat - BackColor = &H00C0C0C0& - Caption = "14" - ForeColor = &H80000008& - Height = 195 - Index = 25 - Left = 780 - TabIndex = 7 - Top = 720 - Width = 240 - End - Begin VB.Label Label1 - Appearance = 0 'Flat - BackColor = &H00C0C0C0& - Caption = "13" - ForeColor = &H80000008& - Height = 195 - Index = 26 - Left = 780 - TabIndex = 8 - Top = 480 - Width = 240 - End - Begin VB.Label Label1 - Appearance = 0 'Flat - BackColor = &H00C0C0C0& - Caption = "12" - ForeColor = &H80000008& - Height = 195 - Index = 27 - Left = 780 - TabIndex = 9 - Top = 240 - Width = 240 - End - Begin VB.Label Label1 - Appearance = 0 'Flat - BackColor = &H00C0C0C0& - Caption = "11" - ForeColor = &H80000008& - Height = 195 - Index = 28 - Left = 120 - TabIndex = 10 - Top = 960 - Width = 240 - End - Begin VB.Label Label1 - Appearance = 0 'Flat - BackColor = &H00C0C0C0& - Caption = "10" - ForeColor = &H80000008& - Height = 195 - Index = 29 - Left = 120 - TabIndex = 11 - Top = 720 - Width = 240 - End - Begin VB.Label Label1 - Appearance = 0 'Flat - BackColor = &H00C0C0C0& - Caption = "9" - ForeColor = &H80000008& - Height = 195 - Index = 30 - Left = 210 - TabIndex = 12 - Top = 480 - Width = 135 - End - Begin VB.Label Label1 - Appearance = 0 'Flat - BackColor = &H00C0C0C0& - Caption = "8" - ForeColor = &H80000008& - Height = 195 - Index = 31 - Left = 210 - TabIndex = 13 - Top = 240 - Width = 135 - End - Begin VB.Image Channel - Appearance = 0 'Flat - BorderStyle = 1 'Fixed Single - Height = 210 - Index = 8 - Left = 390 - Picture = "vb9113.frx":0000 - Stretch = -1 'True - Top = 240 - Width = 270 - End - Begin VB.Image Channel - Appearance = 0 'Flat - BorderStyle = 1 'Fixed Single - Height = 210 - Index = 9 - Left = 390 - Picture = "vb9113.frx":012A - Stretch = -1 'True - Top = 480 - Width = 270 - End - Begin VB.Image Channel - Appearance = 0 'Flat - BorderStyle = 1 'Fixed Single - Height = 210 - Index = 10 - Left = 390 - Picture = "vb9113.frx":0254 - Stretch = -1 'True - Top = 720 - Width = 270 - End - Begin VB.Image Channel - Appearance = 0 'Flat - BorderStyle = 1 'Fixed Single - Height = 210 - Index = 11 - Left = 390 - Picture = "vb9113.frx":037E - Stretch = -1 'True - Top = 960 - Width = 270 - End - Begin VB.Image Channel - Appearance = 0 'Flat - BorderStyle = 1 'Fixed Single - Height = 210 - Index = 12 - Left = 1050 - Picture = "vb9113.frx":04A8 - Stretch = -1 'True - Top = 240 - Width = 270 - End - Begin VB.Image Channel - Appearance = 0 'Flat - BorderStyle = 1 'Fixed Single - Height = 210 - Index = 13 - Left = 1050 - Picture = "vb9113.frx":05D2 - Stretch = -1 'True - Top = 480 - Width = 270 - End - Begin VB.Image Channel - Appearance = 0 'Flat - BorderStyle = 1 'Fixed Single - Height = 210 - Index = 14 - Left = 1050 - Picture = "vb9113.frx":06FC - Stretch = -1 'True - Top = 720 - Width = 270 - End - Begin VB.Image Channel - Appearance = 0 'Flat - BorderStyle = 1 'Fixed Single - Height = 210 - Index = 15 - Left = 1050 - Picture = "vb9113.frx":0826 - Stretch = -1 'True - Top = 960 - Width = 270 - End - End - Begin VB.Frame Channel_Frame - Appearance = 0 'Flat - BackColor = &H00C0C0C0& - Caption = "Channel" - BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851} - Name = "MS Sans Serif" - Size = 8.25 - Charset = 0 - Weight = 400 - Underline = 0 'False - Italic = 0 'False - Strikethrough = 0 'False - EndProperty - ForeColor = &H80000008& - Height = 1335 - Index = 0 - Left = 6360 - TabIndex = 14 - Top = 360 - Width = 1575 - Begin VB.Image Channel - Appearance = 0 'Flat - BorderStyle = 1 'Fixed Single - Height = 210 - Index = 7 - Left = 1080 - Picture = "vb9113.frx":0950 - Stretch = -1 'True - Top = 960 - Width = 270 - End - Begin VB.Image Channel - Appearance = 0 'Flat - BorderStyle = 1 'Fixed Single - Height = 210 - Index = 6 - Left = 1080 - Picture = "vb9113.frx":0A7A - Stretch = -1 'True - Top = 720 - Width = 270 - End - Begin VB.Image Channel - Appearance = 0 'Flat - BorderStyle = 1 'Fixed Single - Height = 210 - Index = 5 - Left = 1080 - Picture = "vb9113.frx":0BA4 - Stretch = -1 'True - Top = 480 - Width = 270 - End - Begin VB.Image Channel - Appearance = 0 'Flat - BorderStyle = 1 'Fixed Single - Height = 210 - Index = 4 - Left = 1080 - Picture = "vb9113.frx":0CCE - Stretch = -1 'True - Top = 240 - Width = 270 - End - Begin VB.Image Channel - Appearance = 0 'Flat - BorderStyle = 1 'Fixed Single - Height = 210 - Index = 3 - Left = 420 - Picture = "vb9113.frx":0DF8 - Stretch = -1 'True - Top = 960 - Width = 270 - End - Begin VB.Image Channel - Appearance = 0 'Flat - BorderStyle = 1 'Fixed Single - Height = 210 - Index = 2 - Left = 420 - Picture = "vb9113.frx":0F22 - Stretch = -1 'True - Top = 720 - Width = 270 - End - Begin VB.Image Channel - Appearance = 0 'Flat - BorderStyle = 1 'Fixed Single - Height = 210 - Index = 1 - Left = 420 - Picture = "vb9113.frx":104C - Stretch = -1 'True - Top = 480 - Width = 270 - End - Begin VB.Image Channel - Appearance = 0 'Flat - BorderStyle = 1 'Fixed Single - Height = 210 - Index = 0 - Left = 420 - Picture = "vb9113.frx":1176 - Stretch = -1 'True - Top = 240 - Width = 270 - End - Begin VB.Label Label1 - Appearance = 0 'Flat - BackColor = &H00C0C0C0& - Caption = "0" - ForeColor = &H80000008& - Height = 195 - Index = 14 - Left = 240 - TabIndex = 15 - Top = 240 - Width = 135 - End - Begin VB.Label Label1 - Appearance = 0 'Flat - BackColor = &H00C0C0C0& - Caption = "1" - ForeColor = &H80000008& - Height = 195 - Index = 13 - Left = 240 - TabIndex = 16 - Top = 480 - Width = 135 - End - Begin VB.Label Label1 - Appearance = 0 'Flat - BackColor = &H00C0C0C0& - Caption = "2" - ForeColor = &H80000008& - Height = 195 - Index = 12 - Left = 240 - TabIndex = 17 - Top = 720 - Width = 135 - End - Begin VB.Label Label1 - Appearance = 0 'Flat - BackColor = &H00C0C0C0& - Caption = "3" - ForeColor = &H80000008& - Height = 195 - Index = 11 - Left = 240 - TabIndex = 18 - Top = 960 - Width = 135 - End - Begin VB.Label Label1 - Appearance = 0 'Flat - BackColor = &H00C0C0C0& - Caption = "4" - ForeColor = &H80000008& - Height = 195 - Index = 10 - Left = 900 - TabIndex = 19 - Top = 240 - Width = 135 - End - Begin VB.Label Label1 - Appearance = 0 'Flat - BackColor = &H00C0C0C0& - Caption = "5" - ForeColor = &H80000008& - Height = 195 - Index = 9 - Left = 900 - TabIndex = 20 - Top = 480 - Width = 135 - End - Begin VB.Label Label1 - Appearance = 0 'Flat - BackColor = &H00C0C0C0& - Caption = "6" - ForeColor = &H80000008& - Height = 195 - Index = 8 - Left = 900 - TabIndex = 21 - Top = 720 - Width = 135 - End - Begin VB.Label Label1 - Appearance = 0 'Flat - BackColor = &H00C0C0C0& - Caption = "7" - ForeColor = &H80000008& - Height = 195 - Index = 7 - Left = 900 - TabIndex = 22 - Top = 960 - Width = 135 - End - End - Begin VB.Frame AD_Frame - Appearance = 0 'Flat - BackColor = &H00C0C0C0& - Caption = "Analog Input (A/D)" - BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851} - Name = "MS Sans Serif" - Size = 9.75 - Charset = 0 - Weight = 700 - Underline = 0 'False - Italic = 0 'False - Strikethrough = 0 'False - EndProperty - ForeColor = &H00FF0000& - Height = 3255 - Left = 240 - TabIndex = 28 - Top = 0 - Width = 7935 - Begin VB.PictureBox Signal - Appearance = 0 'Flat - BackColor = &H00000000& - BorderStyle = 0 'None - ForeColor = &H80000008& - Height = 1200 - Index = 0 - Left = 900 - ScaleHeight = 80 - ScaleMode = 3 'Pixel - ScaleWidth = 333 - TabIndex = 23 - Top = 480 - Width = 4995 - End - Begin VB.PictureBox Signal - Appearance = 0 'Flat - BackColor = &H00000000& - BorderStyle = 0 'None - ForeColor = &H80000008& - Height = 1200 - Index = 1 - Left = 900 - ScaleHeight = 80 - ScaleMode = 3 'Pixel - ScaleWidth = 333 - TabIndex = 37 - Top = 1800 - Width = 4995 - End - Begin VB.Line Line1 - Index = 4 - X1 = 840 - X2 = 900 - Y1 = 1665 - Y2 = 1665 - End - Begin VB.Line Line1 - Index = 3 - X1 = 840 - X2 = 900 - Y1 = 1380 - Y2 = 1380 - End - Begin VB.Line Line1 - Index = 2 - X1 = 840 - X2 = 900 - Y1 = 1080 - Y2 = 1080 - End - Begin VB.Line Line1 - Index = 1 - X1 = 840 - X2 = 900 - Y1 = 780 - Y2 = 780 - End - Begin VB.Line Line1 - Index = 0 - X1 = 840 - X2 = 900 - Y1 = 480 - Y2 = 480 - End - Begin VB.Line Line1 - Index = 5 - X1 = 840 - X2 = 900 - Y1 = 1800 - Y2 = 1800 - End - Begin VB.Line Line1 - Index = 6 - X1 = 840 - X2 = 900 - Y1 = 2100 - Y2 = 2100 - End - Begin VB.Line Line1 - Index = 7 - X1 = 840 - X2 = 900 - Y1 = 2400 - Y2 = 2400 - End - Begin VB.Line Line1 - Index = 8 - X1 = 840 - X2 = 900 - Y1 = 2700 - Y2 = 2700 - End - Begin VB.Line Line1 - Index = 9 - X1 = 840 - X2 = 900 - Y1 = 2985 - Y2 = 2985 - End - Begin VB.Label Label1 - Alignment = 1 'Right Justify - Appearance = 0 'Flat - BackColor = &H00C0C0C0& - Caption = "-5.00" - BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851} - Name = "MS Serif" - Size = 6.75 - Charset = 0 - Weight = 400 - Underline = 0 'False - Italic = 0 'False - Strikethrough = 0 'False - EndProperty - ForeColor = &H80000008& - Height = 195 - Index = 6 - Left = 345 - TabIndex = 24 - Top = 1590 - Width = 480 - End - Begin VB.Label Label1 - Alignment = 1 'Right Justify - Appearance = 0 'Flat - BackColor = &H00C0C0C0& - Caption = "-2.50" - BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851} - Name = "MS Serif" - Size = 6.75 - Charset = 0 - Weight = 400 - Underline = 0 'False - Italic = 0 'False - Strikethrough = 0 'False - EndProperty - ForeColor = &H80000008& - Height = 195 - Index = 5 - Left = 345 - TabIndex = 25 - Top = 1350 - Width = 480 - End - Begin VB.Label Label1 - Alignment = 1 'Right Justify - Appearance = 0 'Flat - BackColor = &H00C0C0C0& - Caption = "0.00" - BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851} - Name = "MS Serif" - Size = 6.75 - Charset = 0 - Weight = 400 - Underline = 0 'False - Italic = 0 'False - Strikethrough = 0 'False - EndProperty - ForeColor = &H80000008& - Height = 195 - Index = 4 - Left = 345 - TabIndex = 26 - Top = 1050 - Width = 480 - End - Begin VB.Label Label1 - Alignment = 1 'Right Justify - Appearance = 0 'Flat - BackColor = &H00C0C0C0& - Caption = "2.50" - BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851} - Name = "MS Serif" - Size = 6.75 - Charset = 0 - Weight = 400 - Underline = 0 'False - Italic = 0 'False - Strikethrough = 0 'False - EndProperty - ForeColor = &H80000008& - Height = 195 - Index = 3 - Left = 345 - TabIndex = 27 - Top = 750 - Width = 480 - End - Begin VB.Label Label1 - Alignment = 1 'Right Justify - Appearance = 0 'Flat - BackColor = &H00C0C0C0& - Caption = "5.00" - BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851} - Name = "MS Serif" - Size = 6.75 - Charset = 0 - Weight = 400 - Underline = 0 'False - Italic = 0 'False - Strikethrough = 0 'False - EndProperty - ForeColor = &H80000008& - Height = 195 - Index = 2 - Left = 345 - TabIndex = 29 - Top = 450 - Width = 480 - End - Begin VB.Label Label1 - Appearance = 0 'Flat - BackColor = &H00C0C0C0& - Caption = "V" - BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851} - Name = "MS Sans Serif" - Size = 8.25 - Charset = 0 - Weight = 400 - Underline = 0 'False - Italic = 0 'False - Strikethrough = 0 'False - EndProperty - ForeColor = &H80000008& - Height = 195 - Index = 1 - Left = 240 - TabIndex = 30 - Top = 690 - Width = 135 - End - Begin VB.Label Label1 - Appearance = 0 'Flat - BackColor = &H00C0C0C0& - Caption = "Signals" - BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851} - Name = "MS Sans Serif" - Size = 8.25 - Charset = 0 - Weight = 400 - Underline = 0 'False - Italic = 0 'False - Strikethrough = 0 'False - EndProperty - ForeColor = &H80000008& - Height = 195 - Index = 0 - Left = 3060 - TabIndex = 31 - Top = 240 - Width = 735 - End - Begin VB.Label Label1 - Appearance = 0 'Flat - BackColor = &H00C0C0C0& - Caption = "O" - BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851} - Name = "MS Sans Serif" - Size = 8.25 - Charset = 0 - Weight = 400 - Underline = 0 'False - Italic = 0 'False - Strikethrough = 0 'False - EndProperty - ForeColor = &H80000008& - Height = 195 - Index = 15 - Left = 240 - TabIndex = 32 - Top = 1110 - Width = 135 - End - Begin VB.Label Label1 - Appearance = 0 'Flat - BackColor = &H00C0C0C0& - Caption = "L" - BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851} - Name = "MS Sans Serif" - Size = 8.25 - Charset = 0 - Weight = 400 - Underline = 0 'False - Italic = 0 'False - Strikethrough = 0 'False - EndProperty - ForeColor = &H80000008& - Height = 195 - Index = 16 - Left = 240 - TabIndex = 33 - Top = 1470 - Width = 135 - End - Begin VB.Label Label1 - Appearance = 0 'Flat - BackColor = &H00C0C0C0& - Caption = "T" - BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851} - Name = "MS Sans Serif" - Size = 8.25 - Charset = 0 - Weight = 400 - Underline = 0 'False - Italic = 0 'False - Strikethrough = 0 'False - EndProperty - ForeColor = &H80000008& - Height = 195 - Index = 17 - Left = 240 - TabIndex = 34 - Top = 1890 - Width = 135 - End - Begin VB.Label Label1 - Appearance = 0 'Flat - BackColor = &H00C0C0C0& - Caption = "S" - BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851} - Name = "MS Sans Serif" - Size = 8.25 - Charset = 0 - Weight = 400 - Underline = 0 'False - Italic = 0 'False - Strikethrough = 0 'False - EndProperty - ForeColor = &H80000008& - Height = 195 - Index = 18 - Left = 240 - TabIndex = 35 - Top = 2310 - Width = 135 - End - Begin VB.Label Label1 - Alignment = 1 'Right Justify - Appearance = 0 'Flat - BackColor = &H00C0C0C0& - Caption = "5.00" - BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851} - Name = "MS Serif" - Size = 6.75 - Charset = 0 - Weight = 400 - Underline = 0 'False - Italic = 0 'False - Strikethrough = 0 'False - EndProperty - ForeColor = &H80000008& - Height = 195 - Index = 19 - Left = 345 - TabIndex = 36 - Top = 1800 - Width = 480 - End - Begin VB.Label Label1 - Alignment = 1 'Right Justify - Appearance = 0 'Flat - BackColor = &H00C0C0C0& - Caption = "2.50" - BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851} - Name = "MS Serif" - Size = 6.75 - Charset = 0 - Weight = 400 - Underline = 0 'False - Italic = 0 'False - Strikethrough = 0 'False - EndProperty - ForeColor = &H80000008& - Height = 195 - Index = 20 - Left = 345 - TabIndex = 38 - Top = 2070 - Width = 480 - End - Begin VB.Label Label1 - Alignment = 1 'Right Justify - Appearance = 0 'Flat - BackColor = &H00C0C0C0& - Caption = "0.00" - BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851} - Name = "MS Serif" - Size = 6.75 - Charset = 0 - Weight = 400 - Underline = 0 'False - Italic = 0 'False - Strikethrough = 0 'False - EndProperty - ForeColor = &H80000008& - Height = 195 - Index = 21 - Left = 345 - TabIndex = 39 - Top = 2370 - Width = 480 - End - Begin VB.Label Label1 - Alignment = 1 'Right Justify - Appearance = 0 'Flat - BackColor = &H00C0C0C0& - Caption = "-2.50" - BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851} - Name = "MS Serif" - Size = 6.75 - Charset = 0 - Weight = 400 - Underline = 0 'False - Italic = 0 'False - Strikethrough = 0 'False - EndProperty - ForeColor = &H80000008& - Height = 195 - Index = 22 - Left = 345 - TabIndex = 40 - Top = 2670 - Width = 480 - End - Begin VB.Label Label1 - Alignment = 1 'Right Justify - Appearance = 0 'Flat - BackColor = &H00C0C0C0& - Caption = "-5.00" - BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851} - Name = "MS Serif" - Size = 6.75 - Charset = 0 - Weight = 400 - Underline = 0 'False - Italic = 0 'False - Strikethrough = 0 'False - EndProperty - ForeColor = &H80000008& - Height = 195 - Index = 23 - Left = 345 - TabIndex = 41 - Top = 2910 - Width = 480 - End - End - Begin VB.Timer Timer1 - Enabled = 0 'False - Interval = 70 - Left = 840 - Top = 3360 - End - Begin VB.CommandButton StopBtn - Appearance = 0 'Flat - BackColor = &H80000005& - Caption = "Stop" - Enabled = 0 'False - BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851} - Name = "MS Sans Serif" - Size = 8.25 - Charset = 0 - Weight = 400 - Underline = 0 'False - Italic = 0 'False - Strikethrough = 0 'False - EndProperty - Height = 315 - Left = 2940 - TabIndex = 4 - Top = 3615 - Width = 795 - End - Begin VB.CommandButton StartBtn - Appearance = 0 'Flat - BackColor = &H80000005& - Caption = "Start" - BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851} - Name = "MS Sans Serif" - Size = 8.25 - Charset = 0 - Weight = 400 - Underline = 0 'False - Italic = 0 'False - Strikethrough = 0 'False - EndProperty - Height = 315 - Left = 2040 - TabIndex = 0 - Top = 3615 - Width = 795 - End - Begin VB.CommandButton PauseBtn - Appearance = 0 'Flat - BackColor = &H80000005& - Caption = "Pause" - Enabled = 0 'False - BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851} - Name = "MS Sans Serif" - Size = 8.25 - Charset = 0 - Weight = 400 - Underline = 0 'False - Italic = 0 'False - Strikethrough = 0 'False - EndProperty - Height = 315 - Left = 3840 - TabIndex = 1 - Top = 3615 - Width = 795 - End - Begin VB.Image Image0 - Appearance = 0 'Flat - Height = 300 - Left = 2280 - Picture = "vb9113.frx":12A0 - Top = 3900 - Visible = 0 'False - Width = 300 - End - Begin VB.Image Image1 - Appearance = 0 'Flat - Height = 300 - Left = 2580 - Picture = "vb9113.frx":1412 - Top = 3900 - Visible = 0 'False - Width = 300 - End - Begin VB.Image ChDn - Appearance = 0 'Flat - Height = 210 - Index = 0 - Left = -300 - Picture = "vb9113.frx":1584 - Top = 3840 - Visible = 0 'False - Width = 270 - End - Begin VB.Image ChDn - Appearance = 0 'Flat - Height = 210 - Index = 1 - Left = -60 - Picture = "vb9113.frx":16AE - Top = 3840 - Visible = 0 'False - Width = 270 - End - Begin VB.Image ChDn - Appearance = 0 'Flat - Height = 210 - Index = 2 - Left = 180 - Picture = "vb9113.frx":17D8 - Top = 3840 - Visible = 0 'False - Width = 270 - End - Begin VB.Image ChDn - Appearance = 0 'Flat - Height = 210 - Index = 3 - Left = 420 - Picture = "vb9113.frx":1902 - Top = 3840 - Visible = 0 'False - Width = 270 - End - Begin VB.Image ChDn - Appearance = 0 'Flat - Height = 210 - Index = 4 - Left = 660 - Picture = "vb9113.frx":1A2C - Top = 3840 - Visible = 0 'False - Width = 270 - End - Begin VB.Image ChDn - Appearance = 0 'Flat - Height = 210 - Index = 5 - Left = 900 - Picture = "vb9113.frx":1B56 - Top = 3840 - Visible = 0 'False - Width = 270 - End - Begin VB.Image ChDn - Appearance = 0 'Flat - Height = 210 - Index = 6 - Left = 1140 - Picture = "vb9113.frx":1C80 - Top = 3840 - Visible = 0 'False - Width = 270 - End - Begin VB.Image ChDn - Appearance = 0 'Flat - Height = 210 - Index = 7 - Left = 1380 - Picture = "vb9113.frx":1DAA - Top = 3840 - Visible = 0 'False - Width = 270 - End - Begin VB.Image ChUp - Appearance = 0 'Flat - Height = 210 - Index = 0 - Left = -300 - Picture = "vb9113.frx":1ED4 - Top = 4020 - Visible = 0 'False - Width = 270 - End - Begin VB.Image ChUp - Appearance = 0 'Flat - Height = 210 - Index = 1 - Left = -60 - Picture = "vb9113.frx":1FFE - Top = 4020 - Visible = 0 'False - Width = 270 - End - Begin VB.Image ChUp - Appearance = 0 'Flat - Height = 210 - Index = 2 - Left = 180 - Picture = "vb9113.frx":2128 - Top = 4020 - Visible = 0 'False - Width = 270 - End - Begin VB.Image ChUp - Appearance = 0 'Flat - Height = 210 - Index = 3 - Left = 420 - Picture = "vb9113.frx":2252 - Top = 4020 - Visible = 0 'False - Width = 270 - End - Begin VB.Image ChUp - Appearance = 0 'Flat - Height = 210 - Index = 4 - Left = 660 - Picture = "vb9113.frx":237C - Top = 4020 - Visible = 0 'False - Width = 270 - End - Begin VB.Image ChUp - Appearance = 0 'Flat - Height = 210 - Index = 5 - Left = 900 - Picture = "vb9113.frx":24A6 - Top = 4020 - Visible = 0 'False - Width = 270 - End - Begin VB.Image ChUp - Appearance = 0 'Flat - Height = 210 - Index = 6 - Left = 1140 - Picture = "vb9113.frx":25D0 - Top = 4020 - Visible = 0 'False - Width = 270 - End - Begin VB.Image ChUp - Appearance = 0 'Flat - Height = 210 - Index = 7 - Left = 1380 - Picture = "vb9113.frx":26FA - Top = 4020 - Visible = 0 'False - Width = 270 - End -End -Attribute VB_Name = "util9113" -Attribute VB_Creatable = False -Attribute VB_Exposed = False -Option Explicit - -Dim PrevP(15) As Long -Dim ChannelOn(15) As Long -Dim SignalColor(15) As Long -Dim range_value(8) As Integer -Dim Active As Long -Dim NewStart As Long -Dim status(15) As Long -Dim gnAddr As Long -Dim gnIrq As Long - -Private Sub Channel_Click(Index As Integer) - If ChannelOn(Index) Then - If Index < 8 Then - Channel(Index) = ChUp(Index) - Else - Channel(Index) = ChUp(Index - 8) - End If - Else - If Index < 8 Then - Channel(Index) = ChDn(Index) - Else - Channel(Index) = ChDn(Index - 8) - End If - End If - ChannelOn(Index) = Not ChannelOn(Index) -End Sub - - - -Private Sub ExitBtn_Click() - Dim result As Integer - If card >= 0 Then - result = Release_Card(card) - End If - End -End Sub - -Private Sub Form_Load() - Dim result As Integer - Dim i As Integer - - SettingForm.Show 1 - If card < 0 Then - MsgBox "Register card failed." - End - End If - For i = 0 To 15 - PrevP(i) = -1 - ChannelOn(i) = False - Next - For i = 0 To 15 - status(i) = 0 - Next - NewStart = True - Active = False - - gain.AddItem "+/- 10V" - gain.AddItem "+/- 1V" - gain.AddItem "+/- 0.1V" - gain.AddItem "+/- 5V" - gain.AddItem "+/- 0.5V" - gain.AddItem "+/- 0.05V" - gain.AddItem "0~10V" - gain.AddItem "0~1V" - gain.AddItem "0~0.1V" - - range_value(0) = 1 - range_value(1) = 10 - range_value(2) = 11 - range_value(3) = 2 - range_value(4) = 7 - range_value(5) = 8 - range_value(6) = 15 - range_value(7) = 19 - range_value(8) = 20 - - gain.ListIndex = 0 - - SignalColor(0) = &HFFFF& - SignalColor(1) = &H8000& - SignalColor(2) = &HFF0000 - SignalColor(3) = &HFF& - SignalColor(4) = &HFFFF00 - SignalColor(5) = &HFF00FF - SignalColor(6) = &HFF00& - SignalColor(7) = &HFFFFFF - SignalColor(8) = &HFFFF& - SignalColor(9) = &H8000& - SignalColor(10) = &HFF0000 - SignalColor(11) = &HFF& - SignalColor(12) = &HFFFF00 - SignalColor(13) = &HFF00FF - SignalColor(14) = &HFF00& - SignalColor(15) = &HFFFFFF - -End Sub - -Private Sub Form_Unload(Cancel As Integer) -Dim result As Integer - If card >= 0 Then - result = Release_Card(card) - End If -End Sub - - -Private Sub Gain_Click() - Dim result As Long - Scale_Change gain.ListIndex -End Sub - - - - - - - - - - - - - -Private Sub PauseBtn_Click() - Timer1.Enabled = False - Active = False - NewStart = False - StartBtn.Enabled = True - PauseBtn.Enabled = False - -End Sub - - - - -Private Sub StartBtn_Click() - StartBtn.Enabled = False - StopBtn.Enabled = True - PauseBtn.Enabled = True - - Active = True - - If NewStart Then - Signal(0).Cls - Signal(1).Cls - End If - Timer1.Enabled = True -End Sub - -Private Sub StopBtn_Click() - Dim i As Integer - Timer1.Enabled = False - For i = 0 To 15 - PrevP(i) = -1 - Next - For i = 0 To 15 - status(i) = 0 - Next - Active = False - NewStart = True - StartBtn.Enabled = True - StopBtn.Enabled = False - PauseBtn.Enabled = False -End Sub - -Private Sub Timer1_Timer() - Dim result As Integer - Dim i As Integer, j As Integer, d As Integer - Dim l As Long - Dim di_data As Long - Dim p As Integer - Dim m As Single - Static vt(15) As Variant - -' Do While Contd -'Analog Input - result = BitBlt(Signal(0).hDC, 4, 0, Signal(0).Width / Screen.TwipsPerPixelX, Signal(0).Height / Screen.TwipsPerPixelY, Signal(0).hDC, 0, 0, SRCCOPY) - result = BitBlt(Signal(1).hDC, 4, 0, Signal(1).Width / Screen.TwipsPerPixelX, Signal(1).Height / Screen.TwipsPerPixelY, Signal(1).hDC, 0, 0, SRCCOPY) - For i = 0 To 15 - If ChannelOn(i) Then - result = AI_ReadChannel(card, i, range_value(gain.ListIndex), d) - l = d - If i < 8 Then - p = (4095 - CSng(l)) / 4095 * (Signal(0).Height / Screen.TwipsPerPixelY - 2) - If PrevP(i) <> -1 Then Signal(0).Line (4, p)-(8, PrevP(i)), SignalColor(i) - Else - p = (4095 - CSng(l)) / 4095 * (Signal(1).Height / Screen.TwipsPerPixelY - 2) - If PrevP(i) <> -1 Then Signal(1).Line (4, p)-(8, PrevP(i)), SignalColor(i) - End If - PrevP(i) = p - End If - Next i -End Sub - - - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9113/vb9113Scan/9113glbl.Bas b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9113/vb9113Scan/9113glbl.Bas deleted file mode 100644 index 77a2e7f..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9113/vb9113Scan/9113glbl.Bas +++ /dev/null @@ -1,4 +0,0 @@ -Attribute VB_Name = "Module1" -Global card As Integer -Global card_number As Integer - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9113/vb9113Scan/Base9113.frm b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9113/vb9113Scan/Base9113.frm deleted file mode 100644 index 6642284..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9113/vb9113Scan/Base9113.frm +++ /dev/null @@ -1,99 +0,0 @@ -VERSION 4.00 -Begin VB.Form SettingForm - Appearance = 0 'Flat - BackColor = &H00C0C0C0& - Caption = "Card Number Setting" - ClientHeight = 1275 - ClientLeft = 4590 - ClientTop = 4545 - ClientWidth = 2820 - BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851} - Name = "MS Sans Serif" - Size = 8.25 - Charset = 0 - Weight = 700 - Underline = 0 'False - Italic = 0 'False - Strikethrough = 0 'False - EndProperty - ForeColor = &H80000008& - Height = 1680 - Left = 4530 - LinkTopic = "Form2" - ScaleHeight = 1275 - ScaleWidth = 2820 - Top = 4200 - Width = 2940 - Begin VB.CommandButton OKBtn - Appearance = 0 'Flat - BackColor = &H80000005& - Caption = "OK" - Default = -1 'True - Height = 315 - Left = 300 - TabIndex = 0 - Top = 720 - Width = 915 - End - Begin VB.CommandButton CancelBtn - Appearance = 0 'Flat - BackColor = &H80000005& - Cancel = -1 'True - Caption = "Cancel" - Height = 315 - Left = 1380 - TabIndex = 3 - Top = 720 - Width = 915 - End - Begin VB.ComboBox CardNum - Appearance = 0 'Flat - Height = 300 - Left = 1440 - Style = 2 'Dropdown List - TabIndex = 2 - Top = 120 - Width = 1035 - End - Begin VB.Label Label2 - Appearance = 0 'Flat - BackColor = &H00C0C0C0& - Caption = "Card Number:" - ForeColor = &H00000000& - Height = 195 - Index = 0 - Left = 180 - TabIndex = 1 - Top = 180 - Width = 1275 - End -End -Attribute VB_Name = "SettingForm" -Attribute VB_Creatable = False -Attribute VB_Exposed = False - - -Private Sub BaseAddr_Change() - -End Sub - - -Private Sub CancelBtn_Click() - Unload SettingForm -End Sub - -Private Sub Form_Load() - Dim i As Long - For i = 0 To 15 Step 1 - CardNum.AddItem i - Next - CardNum.ListIndex = 0 -End Sub - -Private Sub OKBtn_Click() - card = -1 - card_number = CardNum.ListIndex - card = Register_Card(PCI_9113, card_number) - Unload SettingForm -End Sub - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9113/vb9113Scan/VB9113S.FRM b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9113/vb9113Scan/VB9113S.FRM deleted file mode 100644 index e743177..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9113/vb9113Scan/VB9113S.FRM +++ /dev/null @@ -1,662 +0,0 @@ -VERSION 4.00 -Begin VB.Form int9113 - Appearance = 0 'Flat - BackColor = &H00C0C0C0& - Caption = "PCI-9113 AutoScan Interrupt Transfer" - ClientHeight = 4755 - ClientLeft = 660 - ClientTop = 1410 - ClientWidth = 7665 - BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851} - Name = "MS Sans Serif" - Size = 8.25 - Charset = 0 - Weight = 700 - Underline = 0 'False - Italic = 0 'False - Strikethrough = 0 'False - EndProperty - ForeColor = &H0000FFFF& - Height = 5160 - Left = 600 - LinkTopic = "Form1" - ScaleHeight = 4755 - ScaleWidth = 7665 - Top = 1065 - Width = 7785 - Begin VB.CommandButton btnExit - Appearance = 0 'Flat - BackColor = &H80000005& - Caption = "Exit" - Height = 375 - Left = 6360 - TabIndex = 5 - Top = 4080 - Width = 1005 - End - Begin VB.CommandButton btnStop - Appearance = 0 'Flat - BackColor = &H80000005& - Caption = "Stop" - Height = 375 - Left = 5280 - TabIndex = 4 - Top = 4080 - Width = 1005 - End - Begin VB.CommandButton btnStart - Appearance = 0 'Flat - BackColor = &H80000005& - Caption = "Start" - Height = 375 - Left = 4080 - TabIndex = 3 - Top = 4080 - Width = 1005 - End - Begin VB.Frame frmData - Appearance = 0 'Flat - BackColor = &H00C0C0C0& - Caption = "Data Size" - ForeColor = &H00FF0000& - Height = 615 - Left = 1920 - TabIndex = 2 - Top = 3960 - Width = 1935 - Begin VB.ComboBox cobData - Appearance = 0 'Flat - Height = 315 - Left = 120 - Style = 2 'Dropdown List - TabIndex = 18 - Top = 240 - Width = 975 - End - Begin VB.Label labData - Appearance = 0 'Flat - BackColor = &H00C0C0C0& - Caption = "samples" - ForeColor = &H0000FFFF& - Height = 255 - Left = 1155 - TabIndex = 19 - Top = 255 - Width = 720 - End - End - Begin VB.Frame frmSample - Appearance = 0 'Flat - BackColor = &H00C0C0C0& - Caption = "Sampling Rate" - ForeColor = &H00FF0000& - Height = 615 - Left = 120 - TabIndex = 1 - Top = 3960 - Width = 1700 - Begin VB.ComboBox cobSample - Appearance = 0 'Flat - Height = 315 - Left = 120 - Style = 2 'Dropdown List - TabIndex = 17 - Top = 240 - Width = 975 - End - Begin VB.Label Label1 - Appearance = 0 'Flat - BackColor = &H00C0C0C0& - Caption = "KHz" - ForeColor = &H0000FFFF& - Height = 255 - Left = 1150 - TabIndex = 20 - Top = 260 - Width = 450 - End - End - Begin VB.Frame intFrame - Appearance = 0 'Flat - BackColor = &H00C0C0C0& - Caption = "Interrupt Input(A/D)" - ForeColor = &H00FF0000& - Height = 3435 - Left = 120 - TabIndex = 0 - Top = 420 - Width = 7455 - Begin VB.Frame Frame1 - Appearance = 0 'Flat - BackColor = &H00C0C0C0& - Caption = "Channel" - ForeColor = &H00FF0000& - Height = 615 - Left = 5880 - TabIndex = 29 - Top = 2100 - Width = 1380 - Begin VB.ComboBox cobChn - Appearance = 0 'Flat - Height = 315 - Left = 100 - Style = 2 'Dropdown List - TabIndex = 30 - Top = 240 - Width = 1200 - End - End - Begin VB.Frame frmRange - Appearance = 0 'Flat - BackColor = &H00C0C0C0& - Caption = "Range" - ForeColor = &H00FF0000& - Height = 615 - Left = 5880 - TabIndex = 8 - Top = 2700 - Width = 1380 - Begin VB.ComboBox cobRange - Appearance = 0 'Flat - Height = 315 - Left = 100 - Style = 2 'Dropdown List - TabIndex = 16 - Top = 240 - Width = 1200 - End - End - Begin VB.Frame frmChannel - Appearance = 0 'Flat - BackColor = &H00C0C0C0& - ForeColor = &H00FF0000& - Height = 1755 - Left = 5880 - TabIndex = 7 - Top = 300 - Width = 1380 - Begin VB.Label Label2 - Caption = "7" - Height = 195 - Index = 7 - Left = 780 - TabIndex = 28 - Top = 1320 - Width = 135 - End - Begin VB.Label Label2 - Caption = "6" - Height = 195 - Index = 6 - Left = 780 - TabIndex = 27 - Top = 960 - Width = 135 - End - Begin VB.Label Label2 - Caption = "5" - Height = 195 - Index = 5 - Left = 780 - TabIndex = 26 - Top = 600 - Width = 135 - End - Begin VB.Label Label2 - Caption = "4" - Height = 195 - Index = 4 - Left = 780 - TabIndex = 25 - Top = 240 - Width = 135 - End - Begin VB.Label Label2 - Caption = "3" - Height = 195 - Index = 3 - Left = 120 - TabIndex = 24 - Top = 1320 - Width = 135 - End - Begin VB.Label Label2 - Caption = "2" - Height = 195 - Index = 2 - Left = 120 - TabIndex = 23 - Top = 960 - Width = 135 - End - Begin VB.Label Label2 - Caption = "1" - Height = 195 - Index = 1 - Left = 120 - TabIndex = 22 - Top = 600 - Width = 135 - End - Begin VB.Label Label2 - Caption = "0" - Height = 195 - Index = 0 - Left = 120 - TabIndex = 21 - Top = 240 - Width = 135 - End - Begin VB.Shape Shape1 - BackColor = &H0000FFFF& - FillColor = &H0000FF00& - FillStyle = 0 'Solid - Height = 255 - Index = 7 - Left = 960 - Top = 1320 - Width = 195 - End - Begin VB.Shape Shape1 - BackColor = &H0000FFFF& - FillColor = &H00FFFF00& - FillStyle = 0 'Solid - Height = 255 - Index = 6 - Left = 960 - Top = 960 - Width = 195 - End - Begin VB.Shape Shape1 - BackColor = &H0000FFFF& - FillColor = &H00FF00FF& - FillStyle = 0 'Solid - Height = 255 - Index = 5 - Left = 960 - Top = 600 - Width = 195 - End - Begin VB.Shape Shape1 - BackColor = &H0000FFFF& - FillColor = &H000080FF& - FillStyle = 0 'Solid - Height = 255 - Index = 4 - Left = 960 - Top = 240 - Width = 195 - End - Begin VB.Shape Shape1 - BackColor = &H0000FFFF& - FillColor = &H00008000& - FillStyle = 0 'Solid - Height = 255 - Index = 3 - Left = 300 - Top = 1320 - Width = 195 - End - Begin VB.Shape Shape1 - BackColor = &H0000FFFF& - FillColor = &H00FF0000& - FillStyle = 0 'Solid - Height = 255 - Index = 2 - Left = 300 - Top = 960 - Width = 195 - End - Begin VB.Shape Shape1 - BackColor = &H0000FFFF& - FillColor = &H000000FF& - FillStyle = 0 'Solid - Height = 255 - Index = 1 - Left = 300 - Top = 600 - Width = 195 - End - Begin VB.Shape Shape1 - BackColor = &H0000FFFF& - FillColor = &H0000FFFF& - FillStyle = 0 'Solid - Height = 255 - Index = 0 - Left = 300 - Top = 240 - Width = 195 - End - End - Begin VB.PictureBox picScreen - Appearance = 0 'Flat - AutoRedraw = -1 'True - BackColor = &H00000000& - ForeColor = &H80000008& - Height = 2700 - Left = 720 - ScaleHeight = 178 - ScaleMode = 3 'Pixel - ScaleWidth = 331 - TabIndex = 6 - Top = 480 - Width = 5000 - End - Begin VB.Label labValue - Appearance = 0 'Flat - BackColor = &H00C0C0C0& - Caption = "-5.00" - ForeColor = &H0000FFFF& - Height = 255 - Index = 4 - Left = 100 - TabIndex = 15 - Top = 3050 - Width = 600 - End - Begin VB.Label labValue - Appearance = 0 'Flat - BackColor = &H00C0C0C0& - Caption = "-2.50" - ForeColor = &H0000FFFF& - Height = 255 - Index = 3 - Left = 100 - TabIndex = 14 - Top = 2400 - Width = 600 - End - Begin VB.Label labValue - Appearance = 0 'Flat - BackColor = &H00C0C0C0& - Caption = "0.00" - ForeColor = &H0000FFFF& - Height = 255 - Index = 2 - Left = 100 - TabIndex = 13 - Top = 1740 - Width = 600 - End - Begin VB.Label labValue - Appearance = 0 'Flat - BackColor = &H00C0C0C0& - Caption = "2.50" - ForeColor = &H0000FFFF& - Height = 255 - Index = 1 - Left = 100 - TabIndex = 12 - Top = 1070 - Width = 600 - End - Begin VB.Label labValue - Appearance = 0 'Flat - BackColor = &H00C0C0C0& - Caption = "5.00" - ForeColor = &H0000FFFF& - Height = 255 - Index = 0 - Left = 100 - TabIndex = 11 - Top = 420 - Width = 600 - End - Begin VB.Label labVots - Appearance = 0 'Flat - BackColor = &H00C0C0C0& - Caption = "Volt" - ForeColor = &H0000FFFF& - Height = 255 - Left = 120 - TabIndex = 10 - Top = 200 - Width = 495 - End - Begin VB.Label labSignal - Appearance = 0 'Flat - BackColor = &H00C0C0C0& - Caption = "Signals" - ForeColor = &H0000FFFF& - Height = 300 - Left = 2800 - TabIndex = 9 - Top = 200 - Width = 780 - End - End - Begin VB.Label Label3 - Caption = "PCI-9113 Auto-scan Interrupt Transfer" - BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851} - Name = "MS Sans Serif" - Size = 8.25 - Charset = 0 - Weight = 700 - Underline = -1 'True - Italic = 0 'False - Strikethrough = 0 'False - EndProperty - ForeColor = &H000000FF& - Height = 255 - Left = 1920 - TabIndex = 31 - Top = 120 - Width = 3555 - End -End -Attribute VB_Name = "int9113" -Attribute VB_Creatable = False -Attribute VB_Exposed = False -Dim nSample As Long -Dim range_value(8) As Integer -Dim gnADChn As Integer -Dim Range As Integer -Dim gnCount As Long -Dim gnBuffer(8192 * 2) As Integer - -Private Sub btnExit_Click() - If card >= 0 Then Release_Card (card) - End - -End Sub - - - -Private Sub btnStart_Click() - Dim result As Integer - Dim i As Integer - - picScreen.Cls - result = AI_9113_Config(card, TRIG_INT_PACER) - - Range = range_value(cobRange.ListIndex) - - result = AI_ContScanChannels(card, gnADChn, Range, gnBuffer(0), gnCount, CDbl(nSample * 1000), SYNCH_OP) - ShowData (gnCount) -End Sub - -Private Sub btnStop_Click() - picScreen.Cls - -End Sub - -Private Sub cobChn_Click() - gnADChn = cobChn.ListIndex -End Sub - - -Private Sub cobData_Click() - gnCount = Val(Trim$(cobData)) -End Sub - - -Private Sub cobRange_Click() -Select Case cobRange.ListIndex - Case 0 - labValue(0).Caption = "10.0" - labValue(1).Caption = "5.0" - labValue(2).Caption = "0.0" - labValue(3).Caption = "-5.0" - labValue(4).Caption = "-10.0" - Case 1 - labValue(0).Caption = "1.0" - labValue(1).Caption = "0.5" - labValue(2).Caption = "0.0" - labValue(3).Caption = "-0.5" - labValue(4).Caption = "-1.0" - Case 2 - labValue(0).Caption = "0.10" - labValue(1).Caption = "0.05" - labValue(2).Caption = "0.00" - labValue(3).Caption = "-0.05" - labValue(4).Caption = "-0.10" - Case 3 - labValue(0).Caption = "5.0" - labValue(1).Caption = "2.5" - labValue(2).Caption = "0.0" - labValue(3).Caption = "-2.5" - labValue(4).Caption = "-5.0" - Case 4 - labValue(0).Caption = "0.50" - labValue(1).Caption = "0.25" - labValue(2).Caption = "0.00" - labValue(3).Caption = "-0.25" - labValue(4).Caption = "-0.50" - Case 5 - labValue(0).Caption = "0.050" - labValue(1).Caption = "0.025" - labValue(2).Caption = "0.000" - labValue(3).Caption = "-0.025" - labValue(4).Caption = "-0.050" - Case 6 - labValue(0).Caption = "10.0" - labValue(1).Caption = "7.50" - labValue(2).Caption = "5.00" - labValue(3).Caption = "2.50" - labValue(4).Caption = "0.00" - Case 7 - labValue(0).Caption = "1.00" - labValue(1).Caption = "0.75" - labValue(2).Caption = "0.50" - labValue(3).Caption = "0.25" - labValue(4).Caption = "0.00" - Case 8 - labValue(0).Caption = "0.100" - labValue(1).Caption = "0.075" - labValue(2).Caption = "0.050" - labValue(3).Caption = "0.025" - labValue(4).Caption = "0.000" - End Select -End Sub - -Private Sub cobSample_Click() - nSample = Val(Trim$(cobSample)) -End Sub - -Private Sub Form_Load() - Dim result As Integer - - SettingForm.Show 1 - If card < 0 Then - MsgBox "Register card failed." - End - End If - - cobChn.AddItem "Ch0" - cobChn.AddItem "Ch0~Ch1" - cobChn.AddItem "Ch0~Ch2" - cobChn.AddItem "Ch0~Ch3" - cobChn.AddItem "Ch0~Ch4" - cobChn.AddItem "Ch0~Ch5" - cobChn.AddItem "Ch0~Ch6" - cobChn.AddItem "Ch0~Ch7" - - cobChn.ListIndex = 0 - gnADChn = 0 - - cobRange.AddItem "+/- 10V" - cobRange.AddItem "+/- 1V" - cobRange.AddItem "+/- 0.1V" - cobRange.AddItem "+/- 5V" - cobRange.AddItem "+/- 0.5V" - cobRange.AddItem "+/- 0.05V" - cobRange.AddItem "0~10V" - cobRange.AddItem "0~1V" - cobRange.AddItem "0~0.1V" - - cobRange.ListIndex = 0 - - range_value(0) = 1 - range_value(1) = 10 - range_value(2) = 11 - range_value(3) = 2 - range_value(4) = 7 - range_value(5) = 8 - range_value(6) = 15 - range_value(7) = 19 - range_value(8) = 20 - - cobData.AddItem "1024" - cobData.AddItem "2048" - cobData.AddItem "4096" - cobData.AddItem "6144" - cobData.AddItem "8192" - - cobData.ListIndex = 0 - - cobSample.AddItem "5" - cobSample.AddItem "10" - cobSample.AddItem "15" - cobSample.AddItem "20" - cobSample.AddItem "25" - - cobSample.ListIndex = 0 -End Sub - - -Private Sub ShowData(Count As Integer) - Dim i, last, total As Integer - Dim x1(0 To 7) As Long, y1(0 To 7) As Long - Dim x2(0 To 7) As Long, y2(0 To 7) As Long - Dim idx(0 To 7) As Integer, color(0 To 7) As Long - Dim w, h, data As Long - Dim ch As Integer - - last = Count / (gnADChn + 1) - w = picScreen.ScaleWidth - h = picScreen.ScaleHeight - For i = 0 To 7 - idx(i) = 0 - Next - color(0) = &HFFFF& - color(1) = &HFF& - color(2) = &HFF0000 - color(3) = &H8000& - color(4) = &H80FF& - color(5) = &HFF00FF - color(6) = &HFFFF00 - color(7) = &HFF00& - For i = 0 To Count - 1 - ch = (gnBuffer(2 * i + 1) And &HFF) - If ch > 7 Then - Exit For - End If - data = Fix(gnBuffer(2 * i) And &HFFF) - x2(ch) = (idx(ch) * w) / last - y2(ch) = CInt((4095 - CLng(data)) * h / 4095) - If idx(ch) <> 0 Then - picScreen.Line (x1(ch), y1(ch))-(x2(ch), y2(ch)), color(ch) - End If - x1(ch) = x2(ch) - y1(ch) = y2(ch) - idx(ch) = idx(ch) + 1 - Next -End Sub - - - -Private Sub Form_Unload(Cancel As Integer) - If card >= 0 Then Release_Card (card) -End Sub - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9113/vb9113Scan/Vb9113s.vbp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9113/vb9113Scan/Vb9113s.vbp deleted file mode 100644 index b61c19d..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9113/vb9113Scan/Vb9113s.vbp +++ /dev/null @@ -1,22 +0,0 @@ -Form=VB9113S.FRM -Module=DASK; ..\..\..\Include\Dask.bas -Module=Module1; 9113glbl.bas -Form=Base9113.frm -Reference=*\G{00025E04-0000-0000-C000-000000000046}#2.5#0#D:\Program Files\Common Files\Microsoft Shared\DD:\Program Fil#Microsoft DAO 2.5/3.0 Compatibility Library -ProjWinSize=84,445,251,323 -ProjWinShow=2 -IconForm="int9113" -Title="9113INT" -ExeName32="vb9113s.exe" -ExeName="9113INT.EXE" -Name="vb49113int" -HelpContextID="0" -StartMode=0 -VersionCompatible32="0" -VersionCompatible="0" -MajorVer=1 -MinorVer=0 -RevisionVer=0 -AutoIncrementVer=0 -ServerSupportFiles=0 -VersionCompanyName="ADLink" diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9113/vb9113int/9113glbl.Bas b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9113/vb9113int/9113glbl.Bas deleted file mode 100644 index 77a2e7f..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9113/vb9113int/9113glbl.Bas +++ /dev/null @@ -1,4 +0,0 @@ -Attribute VB_Name = "Module1" -Global card As Integer -Global card_number As Integer - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9113/vb9113int/Base9113.frm b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9113/vb9113int/Base9113.frm deleted file mode 100644 index 6642284..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9113/vb9113int/Base9113.frm +++ /dev/null @@ -1,99 +0,0 @@ -VERSION 4.00 -Begin VB.Form SettingForm - Appearance = 0 'Flat - BackColor = &H00C0C0C0& - Caption = "Card Number Setting" - ClientHeight = 1275 - ClientLeft = 4590 - ClientTop = 4545 - ClientWidth = 2820 - BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851} - Name = "MS Sans Serif" - Size = 8.25 - Charset = 0 - Weight = 700 - Underline = 0 'False - Italic = 0 'False - Strikethrough = 0 'False - EndProperty - ForeColor = &H80000008& - Height = 1680 - Left = 4530 - LinkTopic = "Form2" - ScaleHeight = 1275 - ScaleWidth = 2820 - Top = 4200 - Width = 2940 - Begin VB.CommandButton OKBtn - Appearance = 0 'Flat - BackColor = &H80000005& - Caption = "OK" - Default = -1 'True - Height = 315 - Left = 300 - TabIndex = 0 - Top = 720 - Width = 915 - End - Begin VB.CommandButton CancelBtn - Appearance = 0 'Flat - BackColor = &H80000005& - Cancel = -1 'True - Caption = "Cancel" - Height = 315 - Left = 1380 - TabIndex = 3 - Top = 720 - Width = 915 - End - Begin VB.ComboBox CardNum - Appearance = 0 'Flat - Height = 300 - Left = 1440 - Style = 2 'Dropdown List - TabIndex = 2 - Top = 120 - Width = 1035 - End - Begin VB.Label Label2 - Appearance = 0 'Flat - BackColor = &H00C0C0C0& - Caption = "Card Number:" - ForeColor = &H00000000& - Height = 195 - Index = 0 - Left = 180 - TabIndex = 1 - Top = 180 - Width = 1275 - End -End -Attribute VB_Name = "SettingForm" -Attribute VB_Creatable = False -Attribute VB_Exposed = False - - -Private Sub BaseAddr_Change() - -End Sub - - -Private Sub CancelBtn_Click() - Unload SettingForm -End Sub - -Private Sub Form_Load() - Dim i As Long - For i = 0 To 15 Step 1 - CardNum.AddItem i - Next - CardNum.ListIndex = 0 -End Sub - -Private Sub OKBtn_Click() - card = -1 - card_number = CardNum.ListIndex - card = Register_Card(PCI_9113, card_number) - Unload SettingForm -End Sub - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9113/vb9113int/Vb9113i.vbp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9113/vb9113int/Vb9113i.vbp deleted file mode 100644 index 1ed176b..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9113/vb9113int/Vb9113i.vbp +++ /dev/null @@ -1,21 +0,0 @@ -Form=vb9113i.Frm -Module=DASK; ..\..\..\Include\Dask.bas -Module=Module1; 9113glbl.bas -Form=Base9113.frm -Reference=*\G{00025E04-0000-0000-C000-000000000046}#2.5#0#D:\Program Files\Common Files\Microsoft Shared\DD:\Program Fil#Microsoft DAO 2.5/3.0 Compatibility Library -ProjWinSize=127,570,191,215 -ProjWinShow=2 -IconForm="int9113" -Title="9113INT" -ExeName32="vb9113i.exe" -ExeName="9113INT.EXE" -Name="vb49113int" -HelpContextID="0" -StartMode=0 -VersionCompatible32="0" -MajorVer=1 -MinorVer=0 -RevisionVer=0 -AutoIncrementVer=0 -ServerSupportFiles=0 -VersionCompanyName="ADLink" diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9113/vb9113int/vb9113i.Frm b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9113/vb9113int/vb9113i.Frm deleted file mode 100644 index 58d8ac8..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9113/vb9113int/vb9113i.Frm +++ /dev/null @@ -1,511 +0,0 @@ -VERSION 4.00 -Begin VB.Form int9113 - Appearance = 0 'Flat - BackColor = &H00C0C0C0& - Caption = "9113 INT" - ClientHeight = 4980 - ClientLeft = 1365 - ClientTop = 1800 - ClientWidth = 7665 - BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851} - Name = "MS Sans Serif" - Size = 8.25 - Charset = 0 - Weight = 700 - Underline = 0 'False - Italic = 0 'False - Strikethrough = 0 'False - EndProperty - ForeColor = &H0000FFFF& - Height = 5385 - Left = 1305 - LinkTopic = "Form1" - ScaleHeight = 4980 - ScaleWidth = 7665 - Top = 1455 - Width = 7785 - Begin VB.CommandButton btnExit - Appearance = 0 'Flat - BackColor = &H80000005& - Caption = "Exit" - Height = 500 - Left = 3720 - TabIndex = 5 - Top = 4320 - Width = 1000 - End - Begin VB.CommandButton btnStop - Appearance = 0 'Flat - BackColor = &H80000005& - Caption = "Stop" - Height = 500 - Left = 2520 - TabIndex = 4 - Top = 4320 - Width = 1000 - End - Begin VB.CommandButton btnStart - Appearance = 0 'Flat - BackColor = &H80000005& - Caption = "Start" - Height = 500 - Left = 1320 - TabIndex = 3 - Top = 4320 - Width = 1000 - End - Begin VB.Frame frmData - Appearance = 0 'Flat - BackColor = &H00C0C0C0& - Caption = "Data Size" - ForeColor = &H00FF0000& - Height = 615 - Left = 1920 - TabIndex = 2 - Top = 3500 - Width = 1935 - Begin VB.ComboBox cobData - Appearance = 0 'Flat - Height = 315 - Left = 120 - Style = 2 'Dropdown List - TabIndex = 17 - Top = 240 - Width = 975 - End - Begin VB.Label labData - Appearance = 0 'Flat - BackColor = &H00C0C0C0& - Caption = "Records" - ForeColor = &H0000FFFF& - Height = 255 - Left = 1155 - TabIndex = 18 - Top = 255 - Width = 720 - End - End - Begin VB.Frame frmSample - Appearance = 0 'Flat - BackColor = &H00C0C0C0& - Caption = "Sampling Rate" - ForeColor = &H00FF0000& - Height = 615 - Left = 120 - TabIndex = 1 - Top = 3500 - Width = 1700 - Begin VB.ComboBox cobSample - Appearance = 0 'Flat - Height = 315 - Left = 120 - Style = 2 'Dropdown List - TabIndex = 16 - Top = 240 - Width = 975 - End - Begin VB.Label Label1 - Appearance = 0 'Flat - BackColor = &H00C0C0C0& - Caption = "KHz" - ForeColor = &H0000FFFF& - Height = 255 - Left = 1150 - TabIndex = 19 - Top = 260 - Width = 450 - End - End - Begin VB.Frame intFrame - Appearance = 0 'Flat - BackColor = &H00C0C0C0& - Caption = "Interrupt Input(A/D)" - ForeColor = &H00FF0000& - Height = 3375 - Left = 120 - TabIndex = 0 - Top = 120 - Width = 7455 - Begin VB.Frame frmRange - Appearance = 0 'Flat - BackColor = &H00C0C0C0& - Caption = "Range" - ForeColor = &H00FF0000& - Height = 615 - Left = 5880 - TabIndex = 8 - Top = 2520 - Width = 1380 - Begin VB.ComboBox cobRange - Appearance = 0 'Flat - Height = 315 - Left = 100 - Style = 2 'Dropdown List - TabIndex = 20 - Top = 240 - Width = 1200 - End - End - Begin VB.Frame frmChannel - Appearance = 0 'Flat - BackColor = &H00C0C0C0& - Caption = "AD Channel" - ForeColor = &H00FF0000& - Height = 1755 - Left = 5880 - TabIndex = 7 - Top = 240 - Width = 1380 - Begin VB.OptionButton optChn - Caption = "7" - Height = 315 - Index = 7 - Left = 720 - TabIndex = 28 - Top = 1200 - Width = 495 - End - Begin VB.OptionButton optChn - Caption = "6" - Height = 315 - Index = 6 - Left = 720 - TabIndex = 27 - Top = 900 - Width = 495 - End - Begin VB.OptionButton optChn - Caption = "5" - Height = 315 - Index = 5 - Left = 720 - TabIndex = 26 - Top = 600 - Width = 495 - End - Begin VB.OptionButton optChn - Caption = "4" - Height = 315 - Index = 4 - Left = 720 - TabIndex = 25 - Top = 300 - Width = 495 - End - Begin VB.OptionButton optChn - Caption = "3" - Height = 315 - Index = 3 - Left = 180 - TabIndex = 24 - Top = 1200 - Width = 495 - End - Begin VB.OptionButton optChn - Caption = "2" - Height = 315 - Index = 2 - Left = 180 - TabIndex = 23 - Top = 900 - Width = 495 - End - Begin VB.OptionButton optChn - Caption = "1" - Height = 315 - Index = 1 - Left = 180 - TabIndex = 22 - Top = 600 - Width = 495 - End - Begin VB.OptionButton optChn - Caption = "0" - Height = 315 - Index = 0 - Left = 180 - TabIndex = 21 - Top = 300 - Value = -1 'True - Width = 495 - End - End - Begin VB.PictureBox picScreen - Appearance = 0 'Flat - AutoRedraw = -1 'True - BackColor = &H00000000& - ForeColor = &H80000008& - Height = 2700 - Left = 720 - ScaleHeight = 178 - ScaleMode = 3 'Pixel - ScaleWidth = 331 - TabIndex = 6 - Top = 480 - Width = 5000 - End - Begin VB.Label labValue - Appearance = 0 'Flat - BackColor = &H00C0C0C0& - Caption = "-5.00" - ForeColor = &H0000FFFF& - Height = 255 - Index = 4 - Left = 100 - TabIndex = 15 - Top = 3050 - Width = 600 - End - Begin VB.Label labValue - Appearance = 0 'Flat - BackColor = &H00C0C0C0& - Caption = "-2.50" - ForeColor = &H0000FFFF& - Height = 255 - Index = 3 - Left = 100 - TabIndex = 14 - Top = 2400 - Width = 600 - End - Begin VB.Label labValue - Appearance = 0 'Flat - BackColor = &H00C0C0C0& - Caption = "0.00" - ForeColor = &H0000FFFF& - Height = 255 - Index = 2 - Left = 100 - TabIndex = 13 - Top = 1740 - Width = 600 - End - Begin VB.Label labValue - Appearance = 0 'Flat - BackColor = &H00C0C0C0& - Caption = "2.50" - ForeColor = &H0000FFFF& - Height = 255 - Index = 1 - Left = 100 - TabIndex = 12 - Top = 1070 - Width = 600 - End - Begin VB.Label labValue - Appearance = 0 'Flat - BackColor = &H00C0C0C0& - Caption = "5.00" - ForeColor = &H0000FFFF& - Height = 255 - Index = 0 - Left = 100 - TabIndex = 11 - Top = 420 - Width = 600 - End - Begin VB.Label labVots - Appearance = 0 'Flat - BackColor = &H00C0C0C0& - Caption = "Vots" - ForeColor = &H0000FFFF& - Height = 255 - Left = 120 - TabIndex = 10 - Top = 200 - Width = 495 - End - Begin VB.Label labSignal - Appearance = 0 'Flat - BackColor = &H00C0C0C0& - Caption = "Signals" - ForeColor = &H0000FFFF& - Height = 300 - Left = 2800 - TabIndex = 9 - Top = 200 - Width = 780 - End - End -End -Attribute VB_Name = "int9113" -Attribute VB_Creatable = False -Attribute VB_Exposed = False -Dim gnADChn As Integer -Dim gnCount As Long -Dim nSample As Long -Dim range_value(8) As Integer -Dim gnBuffer(16384) As Integer -Dim bb(2048) As Integer - -Private Sub btnExit_Click() - If card >= 0 Then Release_Card (card) - End -End Sub - - - -Private Sub btnStart_Click() - Dim result As Integer - picScreen.Cls - result = AI_9113_Config(card, TRIG_INT_PACER) - result = AI_ContReadChannel(card, gnADChn, range_value(cobRange.ListIndex), gnBuffer(0), gnCount, CDbl(nSample * 1000), SYNCH_OP) - ShowData (gnCount) -End Sub - -Private Sub btnStop_Click() - picScreen.Cls - -End Sub - -Private Sub cobData_Click() - gnCount = Val(Trim$(cobData)) -End Sub - - -Private Sub cobRange_Click() -Select Case cobRange.ListIndex - Case 0 - labValue(0).Caption = "10.0" - labValue(1).Caption = "5.0" - labValue(2).Caption = "0.0" - labValue(3).Caption = "-5.0" - labValue(4).Caption = "-10.0" - Case 1 - labValue(0).Caption = "1.0" - labValue(1).Caption = "0.5" - labValue(2).Caption = "0.0" - labValue(3).Caption = "-0.5" - labValue(4).Caption = "-1.0" - Case 2 - labValue(0).Caption = "0.10" - labValue(1).Caption = "0.05" - labValue(2).Caption = "0.00" - labValue(3).Caption = "-0.05" - labValue(4).Caption = "-0.10" - Case 3 - labValue(0).Caption = "5.0" - labValue(1).Caption = "2.5" - labValue(2).Caption = "0.0" - labValue(3).Caption = "-2.5" - labValue(4).Caption = "-5.0" - Case 4 - labValue(0).Caption = "0.50" - labValue(1).Caption = "0.25" - labValue(2).Caption = "0.00" - labValue(3).Caption = "-0.25" - labValue(4).Caption = "-0.50" - Case 5 - labValue(0).Caption = "0.050" - labValue(1).Caption = "0.025" - labValue(2).Caption = "0.000" - labValue(3).Caption = "-0.025" - labValue(4).Caption = "-0.050" - Case 6 - labValue(0).Caption = "10.0" - labValue(1).Caption = "7.50" - labValue(2).Caption = "5.00" - labValue(3).Caption = "2.50" - labValue(4).Caption = "0.00" - Case 7 - labValue(0).Caption = "1.00" - labValue(1).Caption = "0.75" - labValue(2).Caption = "0.50" - labValue(3).Caption = "0.25" - labValue(4).Caption = "0.00" - Case 8 - labValue(0).Caption = "0.100" - labValue(1).Caption = "0.075" - labValue(2).Caption = "0.050" - labValue(3).Caption = "0.025" - labValue(4).Caption = "0.000" - End Select -End Sub - -Private Sub cobSample_Click() - nSample = Val(Trim$(cobSample)) -End Sub - -Private Sub Form_Load() - Dim result As Integer - - SettingForm.Show 1 - If card < 0 Then - MsgBox "Register card failed." - End - End If - - gnC1 = 10 - cobRange.AddItem "+/- 10V" - cobRange.AddItem "+/- 1V" - cobRange.AddItem "+/- 0.1V" - cobRange.AddItem "+/- 5V" - cobRange.AddItem "+/- 0.5V" - cobRange.AddItem "+/- 0.05V" - cobRange.AddItem "0~10V" - cobRange.AddItem "0~1V" - cobRange.AddItem "0~0.1V" - - cobRange.ListIndex = 0 - - range_value(0) = 1 - range_value(1) = 10 - range_value(2) = 11 - range_value(3) = 2 - range_value(4) = 7 - range_value(5) = 8 - range_value(6) = 15 - range_value(7) = 19 - range_value(8) = 20 - - cobData.AddItem "1024" - cobData.AddItem "2048" - cobData.AddItem "4096" - cobData.AddItem "6144" - cobData.AddItem "8192" - - cobData.ListIndex = 0 - - cobSample.AddItem "5" - cobSample.AddItem "10" - cobSample.AddItem "15" - cobSample.AddItem "20" - cobSample.AddItem "25" - - cobSample.ListIndex = 0 - - gnADChn = 0 - -End Sub - -Private Sub Form_Unload(Cancel As Integer) - If card >= 0 Then Release_Card (card) -End Sub - - -Private Sub optChn_Click(Index As Integer) - gnADChn = Index -End Sub - -Private Sub ShowData(Count As Integer) - Dim i As Integer - Dim x1, y1, x2, y2 As Integer - Dim w, h, data As Integer - - w = picScreen.ScaleWidth - h = picScreen.ScaleHeight - - data = Fix(gnBuffer(0) And &HFFF) - x1 = 0 - y1 = CInt((4095 - CLng(data)) * h / 4095) - For i = 1 To Count - 1 - data = Fix(gnBuffer(i * 2) And &HFFF) - x2 = (i * w) / Count - y2 = CInt((4095 - CLng(data)) * h / 4095) - picScreen.Line (x1, y1)-(x2, y2), &HFFFF& - x1 = x2 - y1 = y2 - Next -End Sub - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9114/C9114DbfFile/9114DBF.exe b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9114/C9114DbfFile/9114DBF.exe deleted file mode 100644 index 5fc2359..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9114/C9114DbfFile/9114DBF.exe and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9114/C9114DbfFile/9114DBF.mak b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9114/C9114DbfFile/9114DBF.mak deleted file mode 100644 index b45c9de..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9114/C9114DbfFile/9114DBF.mak +++ /dev/null @@ -1,196 +0,0 @@ -# Microsoft Developer Studio Generated NMAKE File, Format Version 4.00 -# ** DO NOT EDIT ** - -# TARGTYPE "Win32 (x86) Console Application" 0x0103 - -!IF "$(CFG)" == "" -CFG=9114DBF - Win32 Debug -!MESSAGE No configuration specified. Defaulting to 9114DBF - Win32 Debug. -!ENDIF - -!IF "$(CFG)" != "9114DBF - Win32 Release" && "$(CFG)" !=\ - "9114DBF - Win32 Debug" -!MESSAGE Invalid configuration "$(CFG)" specified. -!MESSAGE You can specify a configuration when running NMAKE on this makefile -!MESSAGE by defining the macro CFG on the command line. For example: -!MESSAGE -!MESSAGE NMAKE /f "9114DBF.mak" CFG="9114DBF - Win32 Debug" -!MESSAGE -!MESSAGE Possible choices for configuration are: -!MESSAGE -!MESSAGE "9114DBF - Win32 Release" (based on "Win32 (x86) Console Application") -!MESSAGE "9114DBF - Win32 Debug" (based on "Win32 (x86) Console Application") -!MESSAGE -!ERROR An invalid configuration is specified. -!ENDIF - -!IF "$(OS)" == "Windows_NT" -NULL= -!ELSE -NULL=nul -!ENDIF -################################################################################ -# Begin Project -# PROP Target_Last_Scanned "9114DBF - Win32 Debug" -RSC=rc.exe -CPP=cl.exe - -!IF "$(CFG)" == "9114DBF - Win32 Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "Release" -# PROP BASE Intermediate_Dir "Release" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "" -# PROP Intermediate_Dir "Release" -# PROP Target_Dir "" -OUTDIR=. -INTDIR=.\Release - -ALL : "$(OUTDIR)\9114DBF.exe" - -CLEAN : - -@erase ".\9114DBF.exe" - -@erase ".\Release\9114DbF.obj" - -"$(INTDIR)" : - if not exist "$(INTDIR)/$(NULL)" mkdir "$(INTDIR)" - -# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /YX /c -# ADD CPP /nologo /W3 /GX /O2 /I "..\..\..\include" /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /c -# SUBTRACT CPP /YX -CPP_PROJ=/nologo /ML /W3 /GX /O2 /I "..\..\..\include" /D "WIN32" /D "NDEBUG"\ - /D "_CONSOLE" /Fo"$(INTDIR)/" /c -CPP_OBJS=.\Release/ -CPP_SBRS= -# ADD BASE RSC /l 0x404 /d "NDEBUG" -# ADD RSC /l 0x404 /d "NDEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -BSC32_FLAGS=/nologo /o"$(OUTDIR)/9114DBF.bsc" -BSC32_SBRS= -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ..\..\..\lib\pci-dask.lib /nologo /subsystem:console /machine:I386 -LINK32_FLAGS=kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib\ - advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib\ - odbccp32.lib ..\..\..\lib\pci-dask.lib /nologo /subsystem:console\ - /incremental:no /pdb:"$(OUTDIR)/9114DBF.pdb" /machine:I386\ - /out:"$(OUTDIR)/9114DBF.exe" -LINK32_OBJS= \ - ".\Release\9114DbF.obj" - -"$(OUTDIR)\9114DBF.exe" : "$(OUTDIR)" $(DEF_FILE) $(LINK32_OBJS) - $(LINK32) @<< - $(LINK32_FLAGS) $(LINK32_OBJS) -<< - -!ELSEIF "$(CFG)" == "9114DBF - Win32 Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "Debug" -# PROP BASE Intermediate_Dir "Debug" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "" -# PROP Intermediate_Dir "Debug" -# PROP Target_Dir "" -OUTDIR=. -INTDIR=.\Debug - -ALL : "$(OUTDIR)\9114DBF.exe" - -CLEAN : - -@erase ".\Debug\vc40.pdb" - -@erase ".\Debug\vc40.idb" - -@erase ".\9114DBF.exe" - -@erase ".\Debug\9114DbF.obj" - -@erase ".\9114DBF.ilk" - -@erase ".\9114DBF.pdb" - -"$(INTDIR)" : - if not exist "$(INTDIR)/$(NULL)" mkdir "$(INTDIR)" - -# ADD BASE CPP /nologo /W3 /Gm /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /YX /c -# ADD CPP /nologo /W3 /Gm /GX /Zi /Od /I "..\..\..\include" /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /c -# SUBTRACT CPP /YX -CPP_PROJ=/nologo /MLd /W3 /Gm /GX /Zi /Od /I "..\..\..\include" /D "WIN32" /D\ - "_DEBUG" /D "_CONSOLE" /Fo"$(INTDIR)/" /Fd"$(INTDIR)/" /c -CPP_OBJS=.\Debug/ -CPP_SBRS= -# ADD BASE RSC /l 0x404 /d "_DEBUG" -# ADD RSC /l 0x404 /d "_DEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -BSC32_FLAGS=/nologo /o"$(OUTDIR)/9114DBF.bsc" -BSC32_SBRS= -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /debug /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ..\..\..\lib\pci-dask.lib /nologo /subsystem:console /debug /machine:I386 -LINK32_FLAGS=kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib\ - advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib\ - odbccp32.lib ..\..\..\lib\pci-dask.lib /nologo /subsystem:console\ - /incremental:yes /pdb:"$(OUTDIR)/9114DBF.pdb" /debug /machine:I386\ - /out:"$(OUTDIR)/9114DBF.exe" -LINK32_OBJS= \ - ".\Debug\9114DbF.obj" - -"$(OUTDIR)\9114DBF.exe" : "$(OUTDIR)" $(DEF_FILE) $(LINK32_OBJS) - $(LINK32) @<< - $(LINK32_FLAGS) $(LINK32_OBJS) -<< - -!ENDIF - -.c{$(CPP_OBJS)}.obj: - $(CPP) $(CPP_PROJ) $< - -.cpp{$(CPP_OBJS)}.obj: - $(CPP) $(CPP_PROJ) $< - -.cxx{$(CPP_OBJS)}.obj: - $(CPP) $(CPP_PROJ) $< - -.c{$(CPP_SBRS)}.sbr: - $(CPP) $(CPP_PROJ) $< - -.cpp{$(CPP_SBRS)}.sbr: - $(CPP) $(CPP_PROJ) $< - -.cxx{$(CPP_SBRS)}.sbr: - $(CPP) $(CPP_PROJ) $< - -################################################################################ -# Begin Target - -# Name "9114DBF - Win32 Release" -# Name "9114DBF - Win32 Debug" - -!IF "$(CFG)" == "9114DBF - Win32 Release" - -!ELSEIF "$(CFG)" == "9114DBF - Win32 Debug" - -!ENDIF - -################################################################################ -# Begin Source File - -SOURCE=.\9114DbF.c -DEP_CPP_9114D=\ - ".\..\..\..\include\dask.h"\ - - -"$(INTDIR)\9114DbF.obj" : $(SOURCE) $(DEP_CPP_9114D) "$(INTDIR)" - - -# End Source File -# End Target -# End Project -################################################################################ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9114/C9114DbfFile/9114DBF.mdp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9114/C9114DbfFile/9114DBF.mdp deleted file mode 100644 index 095d118..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9114/C9114DbfFile/9114DBF.mdp and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9114/C9114DbfFile/9114DbF.c b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9114/C9114DbfFile/9114DbF.c deleted file mode 100644 index 41a9568..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9114/C9114DbfFile/9114DbF.c +++ /dev/null @@ -1,57 +0,0 @@ -#include -#include -#include -#include "dask.h" - -U16 channel=3; //4 channels -U16 range=AD_B_5_V; -char *file_name="9114d"; -U32 read_count=2048; -F64 sample_rate=2000; - -main() -{ - I16 card, err, card_num; - BOOLEAN halfReady, fStop; - U32 count=0, count1; - - printf("This program inputs data from CH-0 to CH-%d of PCI-9114 in %d Hz by\ndouble-buffer mode, and store data to file '%s.dat'. The size of circular\nbuffer is %d. It will not stop until you press a key.\n\nPress any key to start the operation.\n", - channel, (int)sample_rate, file_name, read_count); - printf("Please input a card number: "); - scanf(" %d", &card_num); - //getch(); - if ((card=Register_Card (PCI_9114DG, card_num)) <0 ) { - printf("Register_Card error=%d", card); - exit(1); - } - err = AI_9114_Config(card, TRIG_INT_PACER); - if (err!=0) { - printf("AI_9114_Config error=%d", err); - exit(1); - } - err = AI_AsyncDblBufferMode(card, 1); //double-buffer mode - if (err!=0) { - printf("AI_DblBufferMode error=%d", err); - exit(1); - } - err = AI_ContScanChannelsToFile(card, channel, range, file_name, read_count, sample_rate, ASYNCH_OP); - if (err!=0) { - printf("AI_ContReadChannel error=%d", err); - exit(1); - } - printf("\n\nPress any key to stop input operation."); - printf("\n\nData count : \n"); - do { - do { - AI_AsyncDblBufferHalfReady(card, &halfReady, &fStop); - } while (!halfReady); - AI_AsyncDblBufferTransfer(card, NULL); //transfer to file - count += (read_count / 2); - printf("%d\r", count); - } while(!kbhit()); - AI_AsyncClear(card, &count1); - Release_Card(card); - printf("\n\n%d input data are stored in file '%s.dat'.\n", count, file_name); - printf("\nPress ENTER to exit the program. "); getch(); -} - \ No newline at end of file diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9114/C9114File/9114FILE.C b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9114/C9114File/9114FILE.C deleted file mode 100644 index 69104fa..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9114/C9114File/9114FILE.C +++ /dev/null @@ -1,43 +0,0 @@ -#include -#include -#include -#include "dask.h" - -U16 channel=3; //4 channels -U16 range=AD_B_5_V; -char *file_name="9114d"; -U32 read_count=1024; -F64 sample_rate=10000; - -main() -{ - I16 card, err, card_num; - - printf("This program inputs %d data from CH-0 to CH-%d of PCI-9114 in %d Hz, and\nstore data to file '%s.dat'.\nPlease press any key to start the operation.\n", read_count, channel, (int)sample_rate, file_name); - printf("Please input a card number: "); - scanf(" %d", &card_num); - //getch(); - if ((card=Register_Card (PCI_9114DG, card_num)) <0 ) { - printf("Register_Card error=%d", card); - exit(1); - } - err = AI_9114_Config(card, TRIG_INT_PACER); - if (err!=0) { - printf("AI_9114_Config error=%d", err); - exit(1); - } - err = AI_AsyncDblBufferMode(card, 0); - if (err!=0) { - printf("AI_DblBufferMode error=%d", err); - exit(1); - } - err = AI_ContScanChannelsToFile(card, channel, range, file_name, read_count, sample_rate, SYNCH_OP); - if (err!=0) { - printf("AI_ContReadChannel error=%d", err); - exit(1); - } - Release_Card(card); - printf("\n\nThe input data is already stored in file '%s.dat'.\n", file_name); - printf("\nPress ENTER to exit the program. "); getch(); -} - \ No newline at end of file diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9114/C9114File/9114File.exe b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9114/C9114File/9114File.exe deleted file mode 100644 index 67a5feb..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9114/C9114File/9114File.exe and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9114/C9114File/9114File.mak b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9114/C9114File/9114File.mak deleted file mode 100644 index 6bbcb2d..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9114/C9114File/9114File.mak +++ /dev/null @@ -1,197 +0,0 @@ -# Microsoft Developer Studio Generated NMAKE File, Format Version 4.00 -# ** DO NOT EDIT ** - -# TARGTYPE "Win32 (x86) Console Application" 0x0103 - -!IF "$(CFG)" == "" -CFG=9114File - Win32 Debug -!MESSAGE No configuration specified. Defaulting to 9114File - Win32 Debug. -!ENDIF - -!IF "$(CFG)" != "9114File - Win32 Release" && "$(CFG)" !=\ - "9114File - Win32 Debug" -!MESSAGE Invalid configuration "$(CFG)" specified. -!MESSAGE You can specify a configuration when running NMAKE on this makefile -!MESSAGE by defining the macro CFG on the command line. For example: -!MESSAGE -!MESSAGE NMAKE /f "9114File.mak" CFG="9114File - Win32 Debug" -!MESSAGE -!MESSAGE Possible choices for configuration are: -!MESSAGE -!MESSAGE "9114File - Win32 Release" (based on\ - "Win32 (x86) Console Application") -!MESSAGE "9114File - Win32 Debug" (based on "Win32 (x86) Console Application") -!MESSAGE -!ERROR An invalid configuration is specified. -!ENDIF - -!IF "$(OS)" == "Windows_NT" -NULL= -!ELSE -NULL=nul -!ENDIF -################################################################################ -# Begin Project -# PROP Target_Last_Scanned "9114File - Win32 Debug" -RSC=rc.exe -CPP=cl.exe - -!IF "$(CFG)" == "9114File - Win32 Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "Release" -# PROP BASE Intermediate_Dir "Release" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "" -# PROP Intermediate_Dir "Release" -# PROP Target_Dir "" -OUTDIR=. -INTDIR=.\Release - -ALL : "$(OUTDIR)\9114File.exe" - -CLEAN : - -@erase ".\9114File.exe" - -@erase ".\Release\9114file.obj" - -"$(INTDIR)" : - if not exist "$(INTDIR)/$(NULL)" mkdir "$(INTDIR)" - -# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /YX /c -# ADD CPP /nologo /W3 /GX /Od /I "..\..\..\include" /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /c -# SUBTRACT CPP /YX -CPP_PROJ=/nologo /ML /W3 /GX /Od /I "..\..\..\include" /D "WIN32" /D "NDEBUG"\ - /D "_CONSOLE" /Fo"$(INTDIR)/" /c -CPP_OBJS=.\Release/ -CPP_SBRS= -# ADD BASE RSC /l 0x404 /d "NDEBUG" -# ADD RSC /l 0x404 /d "NDEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -BSC32_FLAGS=/nologo /o"$(OUTDIR)/9114File.bsc" -BSC32_SBRS= -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ..\..\..\lib\pci-dask.lib /nologo /subsystem:console /machine:I386 -LINK32_FLAGS=kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib\ - advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib\ - odbccp32.lib ..\..\..\lib\pci-dask.lib /nologo /subsystem:console\ - /incremental:no /pdb:"$(OUTDIR)/9114File.pdb" /machine:I386\ - /out:"$(OUTDIR)/9114File.exe" -LINK32_OBJS= \ - ".\Release\9114file.obj" - -"$(OUTDIR)\9114File.exe" : "$(OUTDIR)" $(DEF_FILE) $(LINK32_OBJS) - $(LINK32) @<< - $(LINK32_FLAGS) $(LINK32_OBJS) -<< - -!ELSEIF "$(CFG)" == "9114File - Win32 Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "Debug" -# PROP BASE Intermediate_Dir "Debug" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "" -# PROP Intermediate_Dir "Debug" -# PROP Target_Dir "" -OUTDIR=. -INTDIR=.\Debug - -ALL : "$(OUTDIR)\9114File.exe" - -CLEAN : - -@erase ".\Debug\vc40.pdb" - -@erase ".\Debug\vc40.idb" - -@erase ".\9114File.exe" - -@erase ".\Debug\9114file.obj" - -@erase ".\9114File.ilk" - -@erase ".\9114File.pdb" - -"$(INTDIR)" : - if not exist "$(INTDIR)/$(NULL)" mkdir "$(INTDIR)" - -# ADD BASE CPP /nologo /W3 /Gm /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /YX /c -# ADD CPP /nologo /W3 /Gm /GX /Zi /Od /I "..\..\..\include" /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /c -# SUBTRACT CPP /YX -CPP_PROJ=/nologo /MLd /W3 /Gm /GX /Zi /Od /I "..\..\..\include" /D "WIN32" /D\ - "_DEBUG" /D "_CONSOLE" /Fo"$(INTDIR)/" /Fd"$(INTDIR)/" /c -CPP_OBJS=.\Debug/ -CPP_SBRS= -# ADD BASE RSC /l 0x404 /d "_DEBUG" -# ADD RSC /l 0x404 /d "_DEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -BSC32_FLAGS=/nologo /o"$(OUTDIR)/9114File.bsc" -BSC32_SBRS= -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /debug /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ..\..\..\lib\pci-dask.lib /nologo /subsystem:console /debug /machine:I386 -LINK32_FLAGS=kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib\ - advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib\ - odbccp32.lib ..\..\..\lib\pci-dask.lib /nologo /subsystem:console\ - /incremental:yes /pdb:"$(OUTDIR)/9114File.pdb" /debug /machine:I386\ - /out:"$(OUTDIR)/9114File.exe" -LINK32_OBJS= \ - ".\Debug\9114file.obj" - -"$(OUTDIR)\9114File.exe" : "$(OUTDIR)" $(DEF_FILE) $(LINK32_OBJS) - $(LINK32) @<< - $(LINK32_FLAGS) $(LINK32_OBJS) -<< - -!ENDIF - -.c{$(CPP_OBJS)}.obj: - $(CPP) $(CPP_PROJ) $< - -.cpp{$(CPP_OBJS)}.obj: - $(CPP) $(CPP_PROJ) $< - -.cxx{$(CPP_OBJS)}.obj: - $(CPP) $(CPP_PROJ) $< - -.c{$(CPP_SBRS)}.sbr: - $(CPP) $(CPP_PROJ) $< - -.cpp{$(CPP_SBRS)}.sbr: - $(CPP) $(CPP_PROJ) $< - -.cxx{$(CPP_SBRS)}.sbr: - $(CPP) $(CPP_PROJ) $< - -################################################################################ -# Begin Target - -# Name "9114File - Win32 Release" -# Name "9114File - Win32 Debug" - -!IF "$(CFG)" == "9114File - Win32 Release" - -!ELSEIF "$(CFG)" == "9114File - Win32 Debug" - -!ENDIF - -################################################################################ -# Begin Source File - -SOURCE=.\9114file.c -DEP_CPP_9114F=\ - ".\..\..\..\include\dask.h"\ - - -"$(INTDIR)\9114file.obj" : $(SOURCE) $(DEP_CPP_9114F) "$(INTDIR)" - - -# End Source File -# End Target -# End Project -################################################################################ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9114/C9114File/9114File.mdp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9114/C9114File/9114File.mdp deleted file mode 100644 index 8fa2888..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9114/C9114File/9114File.mdp and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9114/SDK9114ADbfPreTrg/9114PrTg.c b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9114/SDK9114ADbfPreTrg/9114PrTg.c deleted file mode 100644 index a20e71f..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9114/SDK9114ADbfPreTrg/9114PrTg.c +++ /dev/null @@ -1,543 +0,0 @@ -#include -#include -#include -#include -#include -#include -#include "resource.h" -#include "Dask.h" - -#define IDM_EXIT 110 -#define IDC_SCROLL 207 -#define IDC_SPIN 301 -#define IDC_START 208 -#define IDC_STOP 209 -#define IDC_EDIT 211 -#define IDC_EDIT1 214 -#define IDC_EDIT2 215 -#define IDC_SHOW 213 -#define IDC_CH 400 - -int PASCAL WinMain(HANDLE, HANDLE, LPSTR, int); -long PASCAL MainWndProc(HWND, UINT, WPARAM, LPARAM); -BOOL PASCAL ShowDMA(HWND, UINT, WPARAM, LPARAM); - -HANDLE hInst; -HWND hListBox; -HWND hEdit,hEdit1, hEdit2, hStart, hStop, hValue; -BOOL bCheck[8]; - -HBRUSH hBlackBrush; -HPEN hRedPen, hBlackPen; -HWND hMainWnd; - -unsigned int sample_rate=10000; -U16 channel; -BOOLEAN fstop, HalfReady; -U32 data_size=1024, mem_size; -static HANDLE hMem=NULL; -HANDLE hThread1; -U32 *ai_buf; -I16 card=-1, card_number = 0; -U32 count, postCount = 512; -BOOLEAN clear_op; - -POINT input_pos[16]= {{470, 280}, {440, 280}, - {410, 280}, {380, 280}, - {350, 280}, {320, 280}, - { 290, 280}, {260, 280}, - {230, 280}, {200, 280}, - {170, 280}, {140, 280}, - {110, 280}, {80, 280}, - { 50, 280}, { 20, 280}, - }; -POINT output_pos[16] ={ - {470, 340}, {440, 340}, - {410, 340}, {380, 340}, - {350, 340}, {320, 340}, - { 290, 340}, {260, 340}, - {230, 340}, {200, 340}, - {170, 340}, {140, 340}, - {110, 340}, {80, 340}, - { 50, 340}, { 20, 340}, - }; - -POINT io_pos[16] ={ - {395, 40}, {370, 40}, - {345, 40}, {320, 40}, - {295, 40}, {270, 40}, - { 245, 40}, {220, 40}, - {195, 40}, {170, 40}, - {145, 40}, {120, 40}, - {95, 40}, {70, 40}, - { 45, 40}, { 20, 40}, - }; - -BOOL InitApplication(HANDLE); -BOOL InitInstance(HANDLE, int); -void ProcessThread(void* pArg); - -int PASCAL WinMain(hInstance, hPrevInstance, lpCmdLine, nCmdShow) -HANDLE hInstance, hPrevInstance; -LPSTR lpCmdLine; -int nCmdShow; -{ - MSG msg; - - if (!hPrevInstance) - if (!InitApplication(hInstance)) return(FALSE); - if (!InitInstance(hInstance, nCmdShow)) return(FALSE); - while (GetMessage(&msg, NULL, NULL, NULL)) { - TranslateMessage(&msg); - DispatchMessage(&msg); - } - return(msg.wParam); -} - -BOOL InitApplication(hInstance) -HANDLE hInstance; -{ - WNDCLASS wc; - - /* Main Window Class */ - wc.style = NULL; - wc.lpfnWndProc = (WNDPROC)MainWndProc; - wc.cbClsExtra = 0; - wc.cbWndExtra = 0; - wc.hInstance = hInstance; - wc.hIcon = LoadIcon(hInstance, "MyIcon"); - wc.hCursor = LoadCursor(NULL, IDC_ARROW); - wc.hbrBackground = GetStockObject(LTGRAY_BRUSH); - wc.lpszMenuName = NULL; - wc.lpszClassName = "GenericWClass"; - if (!RegisterClass(&wc)) return(FALSE); -} - - -BOOL InitInstance(hInstance, nCmdShow) -HANDLE hInstance; -int nCmdShow; -{ - HWND hWnd; - HMENU hSampleMenu; - - hInst = hInstance; - hSampleMenu = LoadMenu(hInstance, "U7120Menu"); - hWnd = CreateWindow("GenericWClass", - (LPCSTR)"PCI-9114 Double Buffered Interrupt with About Trigger Mode", - WS_OVERLAPPEDWINDOW, - CW_USEDEFAULT, - CW_USEDEFAULT, - 520, - 400, - NULL, - hSampleMenu, - hInstance, - NULL); - if (!hWnd) return(FALSE); - ShowWindow(hWnd, nCmdShow); - UpdateWindow(hWnd); - return(TRUE); -} - -BOOL PASCAL setup(HWND hWnd, unsigned message, WPARAM wParam, LPARAM lParam) -{ - int i,k; - char n[16]; - char s[50]; - switch (message) { - case WM_INITDIALOG: - for (i=0;i<16;i++) { - wsprintf(n, "%d", i); - _strupr(n); - SendMessage(GetDlgItem(hWnd,IDC_COMBO1), CB_ADDSTRING, NULL, (LONG)(LPSTR) n); - } - SendMessage(GetDlgItem(hWnd,IDC_COMBO1) , CB_SETCURSEL, 0, 0L); - break; - case WM_COMMAND: - switch(LOWORD(wParam)) { - case IDC_COMBO1: - if (HIWORD(wParam) == CBN_CLOSEUP) { - i = (int)SendMessage(GetDlgItem(hWnd,IDC_COMBO1), CB_GETCURSEL, 0, 0L); - SendMessage(GetDlgItem(hWnd,IDC_COMBO1), CB_GETLBTEXT, i, (LPARAM)((LPCSTR)n)); - card_number = i; - } - return(TRUE); - case IDOK: - if(card <0) { - if ((card=Register_Card(PCI_9114DG, card_number))< 0) { - wsprintf(s, "Register_Card Error = %d\n", card); - MessageBox(hWnd, s, "Error", MB_OK); - SendMessage(hWnd, WM_CLOSE, 0, 0L); - break; - } - } - EndDialog(hWnd, TRUE); - InvalidateRect(hWnd, NULL, FALSE); - return (TRUE); - case IDCANCEL: - EndDialog(hWnd, TRUE); - return (TRUE); - } - break; - } - return (FALSE); -} - -long PASCAL MainWndProc(hWnd, message, wParam, lParam) -HWND hWnd; -UINT message; -WPARAM wParam; -LPARAM lParam; -{ - HDC hDC; - PAINTSTRUCT ps; - int i; - char n[6]; - static int pos=0; - I16 err; - char s[50]; - - switch(message) { - case WM_CREATE: - - DialogBox(hInst,IDD_DIALOG2, hWnd, setup); - if(card<0) { - SendMessage(hWnd, WM_CLOSE, 0, 0L); - break; - } - hEdit=CreateWindow("EDIT", NULL, - WS_CHILD | WS_VISIBLE | ES_LEFT, - output_pos[13].x-30, input_pos[15].y+20,40, 20, hWnd, IDC_EDIT, hInst, NULL); - - hEdit1=CreateWindow("EDIT", NULL, - WS_CHILD | WS_VISIBLE | ES_LEFT, - output_pos[13].x+90, input_pos[15].y+20,60, 20, hWnd, IDC_EDIT1, hInst, NULL); - - hEdit2=CreateWindow("EDIT", NULL, - WS_CHILD | WS_VISIBLE | ES_LEFT, - output_pos[13].x+90, input_pos[15].y-20,60, 20, hWnd, IDC_EDIT2, hInst, NULL); - - wsprintf(n,"%d",sample_rate/1000); - SetWindowText(hEdit,n); - - wsprintf(n,"%d",data_size); - SetWindowText(hEdit1,n); - - wsprintf(n,"%d",postCount); - SetWindowText(hEdit2,n); - - CreateWindow("SCROLLBAR", NULL, - WS_CHILD | WS_VISIBLE | SBS_VERT, - output_pos[13].x+10, input_pos[15].y+20,20, 20, hWnd, IDC_SCROLL, hInst, NULL); - - hStart = CreateWindow("BUTTON","Start" , - WS_CHILD | WS_VISIBLE , - output_pos[10].x+110, input_pos[10].y+10,50, 30, hWnd, IDC_START, hInst, NULL); - - hStop = CreateWindow("BUTTON","Stop" , - WS_CHILD | WS_VISIBLE , - output_pos[10].x+170, input_pos[10].y+10,50, 30, hWnd, IDC_STOP, hInst, NULL); - - hValue = CreateWindow("BUTTON","Data Value" , - WS_CHILD | WS_VISIBLE , - output_pos[10].x+230, input_pos[10].y+10,80, 30, hWnd, IDC_SHOW, hInst, NULL); - EnableWindow(hStop, FALSE); - - CreateWindow("BUTTON","0" , - WS_CHILD | WS_VISIBLE | BS_AUTORADIOBUTTON | BS_LEFTTEXT | WS_GROUP , - output_pos[4].x+50, io_pos[0].y-5+20,25,15, hWnd,IDC_CH, hInst, NULL); - - CreateWindow("BUTTON","1" , - WS_CHILD | WS_VISIBLE | BS_AUTORADIOBUTTON | BS_LEFTTEXT | WS_GROUP, - output_pos[4].x+50, io_pos[0].y+13+20,25,15, hWnd,IDC_CH+1, hInst, NULL); - - CreateWindow("BUTTON","2" , - WS_CHILD | WS_VISIBLE | BS_AUTORADIOBUTTON | BS_LEFTTEXT | WS_GROUP, - output_pos[4].x+50, io_pos[0].y+31+20,25,15, hWnd,IDC_CH+2, hInst, NULL); - - CreateWindow("BUTTON","3" , - WS_CHILD | WS_VISIBLE | BS_AUTORADIOBUTTON | BS_LEFTTEXT | WS_GROUP, - output_pos[4].x+50, io_pos[0].y+49+20,25,15, hWnd,IDC_CH+3, hInst, NULL); - - CreateWindow("BUTTON","4" , - WS_CHILD | WS_VISIBLE | BS_AUTORADIOBUTTON | BS_LEFTTEXT | WS_GROUP, - output_pos[4].x+100, io_pos[0].y-5+20,25,15, hWnd,IDC_CH+4, hInst, NULL); - - CreateWindow("BUTTON","5" , - WS_CHILD | WS_VISIBLE | BS_AUTORADIOBUTTON | BS_LEFTTEXT | WS_GROUP, - output_pos[4].x+100, io_pos[0].y+13+20,25,15, hWnd, IDC_CH+5, hInst, NULL); - - CreateWindow("BUTTON","6" , - WS_CHILD | WS_VISIBLE | BS_AUTORADIOBUTTON | BS_LEFTTEXT | WS_GROUP, - output_pos[4].x+100, io_pos[0].y+31+20,25,15, hWnd,IDC_CH+6, hInst, NULL); - - CreateWindow("BUTTON","7" , - WS_CHILD | WS_VISIBLE | BS_AUTORADIOBUTTON | BS_LEFTTEXT | WS_GROUP, - output_pos[4].x+100, io_pos[0].y+49+20,25,15, hWnd, IDC_CH+7, hInst, NULL); - - //default channel 0 - for (i=1;i<8;i++) bCheck[i]=FALSE; - bCheck[0] = TRUE; - channel = 0; - SendMessage(GetDlgItem(hWnd,IDC_CH), BM_SETCHECK, 1, 0); - - hBlackBrush= CreateSolidBrush(RGB(0,0,0)); - hRedPen= CreatePen(PS_SOLID,1,RGB(255,0,0)); - hBlackPen= CreatePen(PS_SOLID,1,RGB(0,0,0)); - break; - - case WM_PAINT: - hDC = BeginPaint(hWnd, &ps); - - // DMA analog input box - SelectObject(hDC, GetStockObject(GRAY_BRUSH)); - Rectangle(hDC, output_pos[15].x-10, io_pos[15].y-24, output_pos[0].x+26, io_pos[0].y+195); - SetTextColor(hDC,RGB(255,255,0)); - SetBkColor(hDC, RGB(0, 0, 255)); - TextOut(hDC, io_pos[15].x, io_pos[15].y-35, "DMA Input", 9); - SelectObject(hDC, hBlackBrush); - Rectangle(hDC, output_pos[15].x+35, io_pos[15].y-2, output_pos[4].x+41, io_pos[0].y+172); - - SetBkMode(hDC,TRANSPARENT); - TextOut(hDC,output_pos[13].x+70, input_pos[10].y-40,"PostCount",9); - TextOut(hDC,output_pos[13].x-60, input_pos[10].y,"Samping Rate",12); - TextOut(hDC,output_pos[13].x+30, input_pos[15].y+20,"KHZ",3); - TextOut(hDC,output_pos[13].x+70, input_pos[10].y,"Buffer Size",11); - TextOut(hDC,input_pos[2].x-10, io_pos[15].y+118,"Range: +-5V",11); - TextOut(hDC,input_pos[15].x, io_pos[15].y-19,"Volt",4); - TextOut(hDC,input_pos[15].x, io_pos[15].y-5,"5.00",4); - TextOut(hDC,input_pos[15].x, io_pos[15].y+36,"2.50",4); - TextOut(hDC,input_pos[15].x, io_pos[15].y+77,"0.00",4); - TextOut(hDC,input_pos[15].x-3, io_pos[15].y+118,"-2.50",5); - TextOut(hDC,input_pos[15].x-3, io_pos[15].y+159,"-5.00",5); - TextOut(hDC,input_pos[10].x+10, io_pos[10].y-19,"Signals",7); - TextOut(hDC,output_pos[4].x+60, io_pos[0].y-15,"Channel",7); - EndPaint(hWnd, &ps); - break; - - // Sample Rate Spin Control - case WM_VSCROLL: - switch (LOWORD(wParam)) { - case SB_LINEUP : - sample_rate+=5000; - if (sample_rate > 50000 ) sample_rate=50000; - break; - case SB_LINEDOWN: - sample_rate-=5000; - if (sample_rate < 5000 ) sample_rate=5000; - break; - } - wsprintf(n,"%d",sample_rate/1000); - SetWindowText(hEdit,n); - break; - case WM_COMMAND: - switch(LOWORD(wParam)) { - case IDM_EXIT: - SendMessage(hWnd, WM_CLOSE, 0, 0L); - break; - case IDC_CH: - case IDC_CH+1: - case IDC_CH+2: - case IDC_CH+3: - case IDC_CH+4: - case IDC_CH+5: - case IDC_CH+6: - case IDC_CH+7: - if (!bCheck[wParam-IDC_CH]) { - SendMessage(GetDlgItem(hWnd,wParam), BM_SETCHECK, 1, 0); - SendMessage(GetDlgItem(hWnd,IDC_CH+channel), BM_SETCHECK, 0, 0); - bCheck[channel]=FALSE; - } - channel=wParam-IDC_CH; - bCheck[channel]=TRUE; - break; - case IDC_SHOW : - DialogBox(hInst, "DMABox", hWnd, ShowDMA); - break; - case IDC_START: - if (hMem != NULL) { - GlobalUnfix(hMem); - GlobalUnlock(hMem); - GlobalFree(hMem); - } - // allocate a memory for DMA - postCount = GetDlgItemInt(hWnd,IDC_EDIT2,NULL ,FALSE); - data_size=GetDlgItemInt(hWnd,IDC_EDIT1,NULL ,FALSE); - if (data_size%512) { - wsprintf(s, "Buffer Size should be devided by 512\n", postCount+2); - MessageBox(hWnd,s,"Data Size Error", MB_OK); - break; - } - mem_size=data_size * 4; - hMem = GlobalAlloc(GMEM_FIXED | GMEM_ZEROINIT,mem_size); - - ai_buf = (U32 *)GlobalLock(hMem); - if (ai_buf == NULL ) { - MessageBox(hWnd,"DMA", "No Memory", MB_OK); - SendMessage(hWnd, WM_CLOSE, 0, 0L); - break; - } - GlobalFix(hMem); - fstop =0; - if ((err=AI_9114_Config(card,TRIG_INT_PACER))!= NoError) { - wsprintf(s, "AI_Config Error = %d\n", err); - MessageBox(hWnd, s, "Error", MB_OK); - SendMessage(hWnd, WM_CLOSE, 0, 0L); - break; - } - AI_9114_PreTrigConfig (card, 1, postCount); - if ((err=AI_AsyncDblBufferMode (card, 1)) != NoError) { - wsprintf(s, "AI_AsyncDblBufferMode Error = %d\n", err); - MessageBox(hWnd, s, "Error", MB_OK); - SendMessage(hWnd, WM_CLOSE, 0, 0L); - break; - } - if ((err=AI_ContReadChannel(card, channel, AD_B_10_V, ai_buf, data_size, (F64)sample_rate, ASYNCH_OP)) != NoError) { - wsprintf(s, "AI_ContReadPort Error = %d\n", err); - MessageBox(hWnd, s, "Error", MB_OK); - SendMessage(hWnd, WM_CLOSE, 0, 0L); - break; - } - EnableWindow(hStart, FALSE); - EnableWindow(hStop, TRUE); - EnableWindow(hValue, FALSE); - hMainWnd = hWnd; - clear_op = FALSE; - hThread1 = (HANDLE)_beginthread(ProcessThread, 0, 0); - - MessageBeep(0); - break; - case IDC_STOP: - clear_op = TRUE; - EnableWindow(hStart, TRUE); - EnableWindow(hStop, FALSE); - EnableWindow(hValue, TRUE); - break; - default: - return(DefWindowProc(hWnd, message, wParam, lParam)); - } - break; - case WM_DESTROY: - if (card >= 0) Release_Card(card); - DeleteObject(hBlackBrush); - DeleteObject(hRedPen); - GlobalUnfix(hMem); - GlobalUnlock(hMem); - GlobalFree(hMem); - PostQuitMessage(0); - break; - default: - return(DefWindowProc(hWnd, message, wParam, lParam)); - } - return(NULL); -} - -BOOL PASCAL ShowDMA(hDlg, message, wParam, lParam) -HWND hDlg; -UINT message; -WPARAM wParam; -LPARAM lParam; -{ - int nTabs[2] = {32, 92}; - int i; - char cBuf[100]; - char string[10]=" "; - char data_str[3]=" "; - I16 *pp; - switch (message) { - case WM_INITDIALOG: - hListBox = CreateWindow("LISTBOX", "Index Data (Hex)", - WS_CHILD | WS_VISIBLE | LBS_HASSTRINGS | LBS_STANDARD | LBS_USETABSTOPS |WS_CAPTION, - 50, 40, 240, 180, hDlg, 100, hInst, NULL); - SendMessage(hListBox, LB_RESETCONTENT, 0, 0L); - SendMessage(hListBox, LB_SETTABSTOPS, 2, (DWORD)(LPINT) nTabs); - SetDlgItemText(hDlg, DMA_DESCP, "This ListBox can show at most 4000 data"); - itoa( data_size, string, 10); - SetDlgItemText(hDlg, DMA_SPACE, string); - - pp = (I16 *)ai_buf; - if (count > 4000) count = 4000; - if (!count) count = data_size; - for(i=0;i -# Microsoft Developer Studio Generated Build File, Format Version 5.00 -# ** DO NOT EDIT ** - -# TARGTYPE "Win32 (x86) Application" 0x0101 - -CFG=9114PrTg - Win32 Release -!MESSAGE This is not a valid makefile. To build this project using NMAKE, -!MESSAGE use the Export Makefile command and run -!MESSAGE -!MESSAGE NMAKE /f "9114PrTg.mak". -!MESSAGE -!MESSAGE You can specify a configuration when running NMAKE -!MESSAGE by defining the macro CFG on the command line. For example: -!MESSAGE -!MESSAGE NMAKE /f "9114PrTg.mak" CFG="9114PrTg - Win32 Release" -!MESSAGE -!MESSAGE Possible choices for configuration are: -!MESSAGE -!MESSAGE "9114PrTg - Win32 Release" (based on "Win32 (x86) Application") -!MESSAGE "9114PrTg - Win32 Debug" (based on "Win32 (x86) Application") -!MESSAGE - -# Begin Project -# PROP Scc_ProjName "" -# PROP Scc_LocalPath "" -CPP=cl.exe -MTL=midl.exe -RSC=rc.exe - -!IF "$(CFG)" == "9114PrTg - Win32 Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir ".\Release" -# PROP BASE Intermediate_Dir ".\Release" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "" -# PROP Intermediate_Dir ".\Release" -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /YX /c -# ADD CPP /nologo /MT /W3 /GX /Od /I "..\..\..\include" /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /FD /c -# SUBTRACT CPP /YX -# ADD BASE MTL /nologo /D "NDEBUG" /win32 -# ADD MTL /nologo /D "NDEBUG" /mktyplib203 /win32 -# ADD BASE RSC /l 0x409 /d "NDEBUG" -# ADD RSC /l 0x409 /d "NDEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:windows /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ..\..\..\lib\pci-dask.lib /nologo /subsystem:windows /machine:I386 - -!ELSEIF "$(CFG)" == "9114PrTg - Win32 Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir ".\Debug" -# PROP BASE Intermediate_Dir ".\Debug" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir ".\Debug" -# PROP Intermediate_Dir ".\Debug" -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /Gm /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /YX /c -# ADD CPP /nologo /MTd /W3 /Gm /GX /Zi /Od /I "..\..\..\include" /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /FD /c -# SUBTRACT CPP /YX -# ADD BASE MTL /nologo /D "_DEBUG" /win32 -# ADD MTL /nologo /D "_DEBUG" /mktyplib203 /win32 -# ADD BASE RSC /l 0x409 /d "_DEBUG" -# ADD RSC /l 0x409 /d "_DEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:windows /debug /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ..\..\..\lib\pci-dask.lib /nologo /subsystem:windows /debug /machine:I386 - -!ENDIF - -# Begin Target - -# Name "9114PrTg - Win32 Release" -# Name "9114PrTg - Win32 Debug" -# Begin Group "Source Files" - -# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;hpj;bat;for;f90" -# Begin Source File - -SOURCE=.\9114PrTg.c -# End Source File -# Begin Source File - -SOURCE=.\9114PrTg.rc -# End Source File -# End Group -# Begin Group "Header Files" - -# PROP Default_Filter "h;hpp;hxx;hm;inl;fi;fd" -# End Group -# Begin Group "Resource Files" - -# PROP Default_Filter "ico;cur;bmp;dlg;rc2;rct;bin;cnt;rtf;gif;jpg;jpeg;jpe" -# End Group -# End Target -# End Project diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9114/SDK9114ADbfPreTrg/9114PrTg.dsw b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9114/SDK9114ADbfPreTrg/9114PrTg.dsw deleted file mode 100644 index de5a8f4..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9114/SDK9114ADbfPreTrg/9114PrTg.dsw +++ /dev/null @@ -1,29 +0,0 @@ -Microsoft Developer Studio Workspace File, Format Version 5.00 -# WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE! - -############################################################################### - -Project: "9114PrTg"=".\9114PrTg.dsp" - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ -}}} - -############################################################################### - -Global: - -Package=<5> -{{{ -}}} - -Package=<3> -{{{ -}}} - -############################################################################### - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9114/SDK9114ADbfPreTrg/9114PrTg.exe b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9114/SDK9114ADbfPreTrg/9114PrTg.exe deleted file mode 100644 index 15eeff1..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9114/SDK9114ADbfPreTrg/9114PrTg.exe and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9114/SDK9114ADbfPreTrg/9114PrTg.rc b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9114/SDK9114ADbfPreTrg/9114PrTg.rc deleted file mode 100644 index e450b07..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9114/SDK9114ADbfPreTrg/9114PrTg.rc +++ /dev/null @@ -1,126 +0,0 @@ -//Microsoft Developer Studio generated resource script. -// -#include "resource.h" - -#define APSTUDIO_READONLY_SYMBOLS -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 2 resource. -// -#define APSTUDIO_HIDDEN_SYMBOLS -#include "windows.h" -#undef APSTUDIO_HIDDEN_SYMBOLS - -///////////////////////////////////////////////////////////////////////////// -#undef APSTUDIO_READONLY_SYMBOLS - -///////////////////////////////////////////////////////////////////////////// -// English (U.S.) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -#ifdef _WIN32 -LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US -#pragma code_page(1252) -#endif //_WIN32 - -///////////////////////////////////////////////////////////////////////////// -// -// Menu -// - -U7120MENU MENU DISCARDABLE -BEGIN - MENUITEM "E&xit!", IDM_EXIT -END - - -#ifdef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// TEXTINCLUDE -// - -1 TEXTINCLUDE DISCARDABLE -BEGIN - "resource.h\0" -END - -2 TEXTINCLUDE DISCARDABLE -BEGIN - "#define APSTUDIO_HIDDEN_SYMBOLS\r\n" - "#include ""windows.h""\r\n" - "#undef APSTUDIO_HIDDEN_SYMBOLS\r\n" - "\0" -END - -3 TEXTINCLUDE DISCARDABLE -BEGIN - "\r\n" - "\0" -END - -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog -// - -DMABOX DIALOG DISCARDABLE 18, 10, 171, 169 -STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "Data Value (half of circular buffer)" -FONT 8, "System" -BEGIN - PUSHBUTTON "STOP",ID_STOP,82,147,24,14 - LTEXT "Data Transferred :",-1,39,119,64,8 - LTEXT "Text",DMA_SPACE,103,118,41,8 - LTEXT "Text",DMA_DESCP,16,6,158,8 -END - -IDD_DIALOG2 DIALOG DISCARDABLE 110, 10, 107, 51 -STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "Card Number" -FONT 10, "System" -BEGIN - DEFPUSHBUTTON "OK",IDOK,7,30,37,14 - PUSHBUTTON "Cancel",IDCANCEL,60,30,38,14 - LTEXT "Card Number",IDC_CARDNUM,2,7,43,14 - COMBOBOX IDC_COMBO1,49,7,51,83,CBS_DROPDOWN | WS_VSCROLL | - WS_TABSTOP -END - - -///////////////////////////////////////////////////////////////////////////// -// -// DESIGNINFO -// - -#ifdef APSTUDIO_INVOKED -GUIDELINES DESIGNINFO DISCARDABLE -BEGIN - IDD_DIALOG2, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 100 - TOPMARGIN, 7 - BOTTOMMARGIN, 44 - END -END -#endif // APSTUDIO_INVOKED - -#endif // English (U.S.) resources -///////////////////////////////////////////////////////////////////////////// - - - -#ifndef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 3 resource. -// - - -///////////////////////////////////////////////////////////////////////////// -#endif // not APSTUDIO_INVOKED - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9114/SDK9114ADbfPreTrg/Resource.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9114/SDK9114ADbfPreTrg/Resource.h deleted file mode 100644 index 2317f51..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9114/SDK9114ADbfPreTrg/Resource.h +++ /dev/null @@ -1,26 +0,0 @@ -//{{NO_DEPENDENCIES}} -// Microsoft Developer Studio generated include file. -// Used by 9114PrTg.rc -// -#define IDM_SETUP 101 -#define IDD_DIALOG1 101 -#define IDD_DIALOG2 104 -#define IDM_EXIT 110 -#define ID_CARDNUMBER 122 -#define ID_STOP 304 -#define DMA_SPACE 500 -#define DMA_DESCP 600 -#define IDC_COMBO1 1001 -#define IDC_CARDNUM 1002 -#define IDC_STATIC -1 - -// Next default values for new objects -// -#ifdef APSTUDIO_INVOKED -#ifndef APSTUDIO_READONLY_SYMBOLS -#define _APS_NEXT_RESOURCE_VALUE 106 -#define _APS_NEXT_COMMAND_VALUE 123 -#define _APS_NEXT_CONTROL_VALUE 1002 -#define _APS_NEXT_SYMED_VALUE 101 -#endif -#endif diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9114/Sdk9114ADbfCallBack/9114PrTg.c b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9114/Sdk9114ADbfCallBack/9114PrTg.c deleted file mode 100644 index 609acfb..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9114/Sdk9114ADbfCallBack/9114PrTg.c +++ /dev/null @@ -1,573 +0,0 @@ -#include -#include -#include -#include -#include -#include -#include "resource.h" -#include "Dask.h" - -#define IDM_EXIT 110 -#define IDC_SCROLL 207 -#define IDC_SPIN 301 -#define IDC_START 208 -#define IDC_STOP 209 -#define IDC_EDIT 211 -#define IDC_EDIT1 214 -#define IDC_EDIT2 215 -#define IDC_SHOW 213 -#define IDC_CH 400 - -int PASCAL WinMain(HANDLE, HANDLE, LPSTR, int); -long PASCAL MainWndProc(HWND, UINT, WPARAM, LPARAM); -BOOL PASCAL ShowDMA(HWND, UINT, WPARAM, LPARAM); - -HANDLE hInst; -HWND hListBox; -HWND hEdit,hEdit1, hEdit2, hStart, hStop, hValue; -BOOL bCheck[8]; -U16 precheck =0; - -HBRUSH hBlackBrush; -HPEN hRedPen, hBlackPen; -HWND hMainWnd; - -unsigned int sample_rate=10000; -U16 channel; -BOOLEAN fstop, HalfReady; -U32 data_size=1024, mem_size; -static HANDLE hMem=NULL; -HANDLE hThread1; -U32 *ai_buf; -I16 card=-1, card_number = 0; -U32 count, postCount = 512; -BOOLEAN clear_op; - -POINT input_pos[16]= {{470, 280}, {440, 280}, - {410, 280}, {380, 280}, - {350, 280}, {320, 280}, - { 290, 280}, {260, 280}, - {230, 280}, {200, 280}, - {170, 280}, {140, 280}, - {110, 280}, {80, 280}, - { 50, 280}, { 20, 280}, - }; -POINT output_pos[16] ={ - {470, 340}, {440, 340}, - {410, 340}, {380, 340}, - {350, 340}, {320, 340}, - { 290, 340}, {260, 340}, - {230, 340}, {200, 340}, - {170, 340}, {140, 340}, - {110, 340}, {80, 340}, - { 50, 340}, { 20, 340}, - }; - -POINT io_pos[16] ={ - {395, 40}, {370, 40}, - {345, 40}, {320, 40}, - {295, 40}, {270, 40}, - { 245, 40}, {220, 40}, - {195, 40}, {170, 40}, - {145, 40}, {120, 40}, - {95, 40}, {70, 40}, - { 45, 40}, { 20, 40}, - }; - -BOOL InitApplication(HANDLE); -BOOL InitInstance(HANDLE, int); -//void ProcessThread(void* pArg); -void AI_DBCallBack(); -void AI_CallBack(); - -int PASCAL WinMain(hInstance, hPrevInstance, lpCmdLine, nCmdShow) -HANDLE hInstance, hPrevInstance; -LPSTR lpCmdLine; -int nCmdShow; -{ - MSG msg; - - if (!hPrevInstance) - if (!InitApplication(hInstance)) return(FALSE); - if (!InitInstance(hInstance, nCmdShow)) return(FALSE); - while (GetMessage(&msg, NULL, NULL, NULL)) { - TranslateMessage(&msg); - DispatchMessage(&msg); - } - return(msg.wParam); -} - -BOOL InitApplication(hInstance) -HANDLE hInstance; -{ - WNDCLASS wc; - - /* Main Window Class */ - wc.style = NULL; - wc.lpfnWndProc = (WNDPROC)MainWndProc; - wc.cbClsExtra = 0; - wc.cbWndExtra = 0; - wc.hInstance = hInstance; - wc.hIcon = LoadIcon(hInstance, "MyIcon"); - wc.hCursor = LoadCursor(NULL, IDC_ARROW); - wc.hbrBackground = GetStockObject(LTGRAY_BRUSH); - wc.lpszMenuName = NULL; - wc.lpszClassName = "GenericWClass"; - if (!RegisterClass(&wc)) return(FALSE); -} - - -BOOL InitInstance(hInstance, nCmdShow) -HANDLE hInstance; -int nCmdShow; -{ - HWND hWnd; - HMENU hSampleMenu; - - hInst = hInstance; - hSampleMenu = LoadMenu(hInstance, "U7120Menu"); - hWnd = CreateWindow("GenericWClass", - (LPCSTR)"PCI-9114 Double Buffered Interrupt W/O About Trigger Mode", - WS_OVERLAPPEDWINDOW, - CW_USEDEFAULT, - CW_USEDEFAULT, - 520, - 400, - NULL, - hSampleMenu, - hInstance, - NULL); - if (!hWnd) return(FALSE); - ShowWindow(hWnd, nCmdShow); - UpdateWindow(hWnd); - return(TRUE); -} - -BOOL PASCAL setup(HWND hWnd, unsigned message, WPARAM wParam, LPARAM lParam) -{ - int i,k; - char n[16]; - char s[50]; - switch (message) { - case WM_INITDIALOG: - for (i=0;i<16;i++) { - wsprintf(n, "%d", i); - _strupr(n); - SendMessage(GetDlgItem(hWnd,IDC_COMBO1), CB_ADDSTRING, NULL, (LONG)(LPSTR) n); - } - SendMessage(GetDlgItem(hWnd,IDC_COMBO1) , CB_SETCURSEL, 0, 0L); - break; - case WM_COMMAND: - switch(LOWORD(wParam)) { - case IDC_COMBO1: - if (HIWORD(wParam) == CBN_CLOSEUP) { - i = (int)SendMessage(GetDlgItem(hWnd,IDC_COMBO1), CB_GETCURSEL, 0, 0L); - SendMessage(GetDlgItem(hWnd,IDC_COMBO1), CB_GETLBTEXT, i, (LPARAM)((LPCSTR)n)); - card_number = i; - } - return(TRUE); - case IDC_CHECK1: - if (precheck) { - SendMessage(GetDlgItem(hWnd,wParam), BM_SETCHECK, 0, 0); - precheck=FALSE; - } - else { - SendMessage(GetDlgItem(hWnd,wParam), BM_SETCHECK, 1, 0); - precheck=TRUE; - } - break; - case IDOK: - if(card <0) { - if ((card=Register_Card(PCI_9114DG, card_number))< 0) { - wsprintf(s, "Register_Card Error = %d\n", card); - MessageBox(hWnd, s, "Error", MB_OK); - SendMessage(hWnd, WM_CLOSE, 0, 0L); - break; - } - } - EndDialog(hWnd, TRUE); - InvalidateRect(hWnd, NULL, FALSE); - return (TRUE); - case IDCANCEL: - EndDialog(hWnd, TRUE); - return (TRUE); - } - break; - } - return (FALSE); -} - -long PASCAL MainWndProc(hWnd, message, wParam, lParam) -HWND hWnd; -UINT message; -WPARAM wParam; -LPARAM lParam; -{ - HDC hDC; - PAINTSTRUCT ps; - int i; - char n[6]; - static int pos=0; - I16 err; - char s[50]; - - switch(message) { - case WM_CREATE: - - DialogBox(hInst,IDD_DIALOG2, hWnd, setup); - if(card<0) { - SendMessage(hWnd, WM_CLOSE, 0, 0L); - break; - } - hEdit=CreateWindow("EDIT", NULL, - WS_CHILD | WS_VISIBLE | ES_LEFT, - output_pos[13].x-30, input_pos[15].y+20,40, 20, hWnd, IDC_EDIT, hInst, NULL); - - hEdit1=CreateWindow("EDIT", NULL, - WS_CHILD | WS_VISIBLE | ES_LEFT, - output_pos[13].x+90, input_pos[15].y+20,60, 20, hWnd, IDC_EDIT1, hInst, NULL); - - if(precheck) { - hEdit2=CreateWindow("EDIT", NULL, - WS_CHILD | WS_VISIBLE | ES_LEFT, - output_pos[13].x+90, input_pos[15].y-20,60, 20, hWnd, IDC_EDIT2, hInst, NULL); - } - wsprintf(n,"%d",sample_rate/1000); - SetWindowText(hEdit,n); - - wsprintf(n,"%d",data_size); - SetWindowText(hEdit1,n); - - if(precheck) { - wsprintf(n,"%d",postCount); - SetWindowText(hEdit2,n); - } - - CreateWindow("SCROLLBAR", NULL, - WS_CHILD | WS_VISIBLE | SBS_VERT, - output_pos[13].x+10, input_pos[15].y+20,20, 20, hWnd, IDC_SCROLL, hInst, NULL); - - hStart = CreateWindow("BUTTON","Start" , - WS_CHILD | WS_VISIBLE , - output_pos[10].x+110, input_pos[10].y+10,50, 30, hWnd, IDC_START, hInst, NULL); - - hStop = CreateWindow("BUTTON","Stop" , - WS_CHILD | WS_VISIBLE , - output_pos[10].x+170, input_pos[10].y+10,50, 30, hWnd, IDC_STOP, hInst, NULL); - - hValue = CreateWindow("BUTTON","Data Value" , - WS_CHILD | WS_VISIBLE , - output_pos[10].x+230, input_pos[10].y+10,80, 30, hWnd, IDC_SHOW, hInst, NULL); - EnableWindow(hStop, FALSE); - - CreateWindow("BUTTON","0" , - WS_CHILD | WS_VISIBLE | BS_AUTORADIOBUTTON | BS_LEFTTEXT | WS_GROUP , - output_pos[4].x+50, io_pos[0].y-5+20,25,15, hWnd,IDC_CH, hInst, NULL); - - CreateWindow("BUTTON","1" , - WS_CHILD | WS_VISIBLE | BS_AUTORADIOBUTTON | BS_LEFTTEXT | WS_GROUP, - output_pos[4].x+50, io_pos[0].y+13+20,25,15, hWnd,IDC_CH+1, hInst, NULL); - - CreateWindow("BUTTON","2" , - WS_CHILD | WS_VISIBLE | BS_AUTORADIOBUTTON | BS_LEFTTEXT | WS_GROUP, - output_pos[4].x+50, io_pos[0].y+31+20,25,15, hWnd,IDC_CH+2, hInst, NULL); - - CreateWindow("BUTTON","3" , - WS_CHILD | WS_VISIBLE | BS_AUTORADIOBUTTON | BS_LEFTTEXT | WS_GROUP, - output_pos[4].x+50, io_pos[0].y+49+20,25,15, hWnd,IDC_CH+3, hInst, NULL); - - CreateWindow("BUTTON","4" , - WS_CHILD | WS_VISIBLE | BS_AUTORADIOBUTTON | BS_LEFTTEXT | WS_GROUP, - output_pos[4].x+100, io_pos[0].y-5+20,25,15, hWnd,IDC_CH+4, hInst, NULL); - - CreateWindow("BUTTON","5" , - WS_CHILD | WS_VISIBLE | BS_AUTORADIOBUTTON | BS_LEFTTEXT | WS_GROUP, - output_pos[4].x+100, io_pos[0].y+13+20,25,15, hWnd, IDC_CH+5, hInst, NULL); - - CreateWindow("BUTTON","6" , - WS_CHILD | WS_VISIBLE | BS_AUTORADIOBUTTON | BS_LEFTTEXT | WS_GROUP, - output_pos[4].x+100, io_pos[0].y+31+20,25,15, hWnd,IDC_CH+6, hInst, NULL); - - CreateWindow("BUTTON","7" , - WS_CHILD | WS_VISIBLE | BS_AUTORADIOBUTTON | BS_LEFTTEXT | WS_GROUP, - output_pos[4].x+100, io_pos[0].y+49+20,25,15, hWnd, IDC_CH+7, hInst, NULL); - - //default channel 0 - for (i=1;i<8;i++) bCheck[i]=FALSE; - bCheck[0] = TRUE; - channel = 0; - SendMessage(GetDlgItem(hWnd,IDC_CH), BM_SETCHECK, 1, 0); - - hBlackBrush= CreateSolidBrush(RGB(0,0,0)); - hRedPen= CreatePen(PS_SOLID,1,RGB(255,0,0)); - hBlackPen= CreatePen(PS_SOLID,1,RGB(0,0,0)); - break; - - case WM_PAINT: - hDC = BeginPaint(hWnd, &ps); - - // DMA analog input box - SelectObject(hDC, GetStockObject(GRAY_BRUSH)); - Rectangle(hDC, output_pos[15].x-10, io_pos[15].y-24, output_pos[0].x+26, io_pos[0].y+195); - SetTextColor(hDC,RGB(255,255,0)); - SetBkColor(hDC, RGB(0, 0, 255)); - TextOut(hDC, io_pos[15].x, io_pos[15].y-35, "DMA Input", 9); - SelectObject(hDC, hBlackBrush); - Rectangle(hDC, output_pos[15].x+35, io_pos[15].y-2, output_pos[4].x+41, io_pos[0].y+172); - - SetBkMode(hDC,TRANSPARENT); - if(precheck) - TextOut(hDC,output_pos[13].x+70, input_pos[10].y-40,"PostCount",9); - TextOut(hDC,output_pos[13].x-60, input_pos[10].y,"Samping Rate",12); - TextOut(hDC,output_pos[13].x+30, input_pos[15].y+20,"KHZ",3); - TextOut(hDC,output_pos[13].x+70, input_pos[10].y,"Buffer Size",11); - TextOut(hDC,input_pos[2].x-10, io_pos[15].y+118,"Range: +-5V",11); - TextOut(hDC,input_pos[15].x, io_pos[15].y-19,"Volt",4); - TextOut(hDC,input_pos[15].x, io_pos[15].y-5,"5.00",4); - TextOut(hDC,input_pos[15].x, io_pos[15].y+36,"2.50",4); - TextOut(hDC,input_pos[15].x, io_pos[15].y+77,"0.00",4); - TextOut(hDC,input_pos[15].x-3, io_pos[15].y+118,"-2.50",5); - TextOut(hDC,input_pos[15].x-3, io_pos[15].y+159,"-5.00",5); - TextOut(hDC,input_pos[10].x+10, io_pos[10].y-19,"Signals",7); - TextOut(hDC,output_pos[4].x+60, io_pos[0].y-15,"Channel",7); - EndPaint(hWnd, &ps); - break; - - // Sample Rate Spin Control - case WM_VSCROLL: - switch (LOWORD(wParam)) { - case SB_LINEUP : - sample_rate+=5000; - if (sample_rate > 50000 ) sample_rate=50000; - break; - case SB_LINEDOWN: - sample_rate-=5000; - if (sample_rate < 5000 ) sample_rate=5000; - break; - } - wsprintf(n,"%d",sample_rate/1000); - SetWindowText(hEdit,n); - break; - case WM_COMMAND: - switch(LOWORD(wParam)) { - case IDM_EXIT: - SendMessage(hWnd, WM_CLOSE, 0, 0L); - break; - case IDC_CH: - case IDC_CH+1: - case IDC_CH+2: - case IDC_CH+3: - case IDC_CH+4: - case IDC_CH+5: - case IDC_CH+6: - case IDC_CH+7: - if (!bCheck[wParam-IDC_CH]) { - SendMessage(GetDlgItem(hWnd,wParam), BM_SETCHECK, 1, 0); - SendMessage(GetDlgItem(hWnd,IDC_CH+channel), BM_SETCHECK, 0, 0); - bCheck[channel]=FALSE; - } - channel=wParam-IDC_CH; - bCheck[channel]=TRUE; - break; - case IDC_SHOW : - DialogBox(hInst, "DMABox", hWnd, ShowDMA); - break; - case IDC_START: - if (hMem != NULL) { - GlobalUnfix(hMem); - GlobalUnlock(hMem); - GlobalFree(hMem); - } - // allocate a memory for DMA - postCount = GetDlgItemInt(hWnd,IDC_EDIT2,NULL ,FALSE); - data_size=GetDlgItemInt(hWnd,IDC_EDIT1,NULL ,FALSE); - if (data_size%512) { - wsprintf(s, "Buffer Size should be devided by 512\n", postCount+2); - MessageBox(hWnd,s,"Data Size Error", MB_OK); - break; - } - mem_size=data_size * 4; - hMem = GlobalAlloc(GMEM_FIXED | GMEM_ZEROINIT,mem_size); - - ai_buf = (U32 *)GlobalLock(hMem); - if (ai_buf == NULL ) { - MessageBox(hWnd,"DMA", "No Memory", MB_OK); - SendMessage(hWnd, WM_CLOSE, 0, 0L); - break; - } - GlobalFix(hMem); - fstop =0; - if ((err=AI_9114_Config(card,TRIG_INT_PACER))!= NoError) { - wsprintf(s, "AI_Config Error = %d\n", err); - MessageBox(hWnd, s, "Error", MB_OK); - SendMessage(hWnd, WM_CLOSE, 0, 0L); - break; - } - if(precheck) - AI_9114_PreTrigConfig (card, 1, postCount); - - if ((err=AI_AsyncDblBufferMode (card, 1)) != NoError) { - wsprintf(s, "AI_AsyncDblBufferMode Error = %d\n", err); - MessageBox(hWnd, s, "Error", MB_OK); - SendMessage(hWnd, WM_CLOSE, 0, 0L); - break; - } - if((err= AI_EventCallBack (card, 1, DBEvent, (U32) AI_DBCallBack)) != NoError) { - wsprintf(s, "AI_EventCallBack Error = %d\n", err); - MessageBox(hWnd, s, "Error", MB_OK); - SendMessage(hWnd, WM_CLOSE, 0, 0L); - break; - } - if((err= AI_EventCallBack (card, 1, AIEnd, (U32) AI_CallBack)) != NoError) { - wsprintf(s, "AI_EventCallBack Error = %d\n", err); - MessageBox(hWnd, s, "Error", MB_OK); - SendMessage(hWnd, WM_CLOSE, 0, 0L); - break; - } - if ((err=AI_ContReadChannel(card, channel, AD_B_10_V, ai_buf, data_size, (F64)sample_rate, ASYNCH_OP)) != NoError) { - wsprintf(s, "AI_ContReadPort Error = %d\n", err); - MessageBox(hWnd, s, "Error", MB_OK); - SendMessage(hWnd, WM_CLOSE, 0, 0L); - break; - } - EnableWindow(hStart, FALSE); - EnableWindow(hStop, TRUE); - EnableWindow(hValue, FALSE); - hMainWnd = hWnd; - clear_op = FALSE; - //hThread1 = (HANDLE)_beginthread(ProcessThread, 0, 0); - MessageBeep(0); - break; - case IDC_STOP: - clear_op = TRUE; - AI_AsyncClear(card, &count); - EnableWindow(hStart, TRUE); - EnableWindow(hStop, FALSE); - EnableWindow(hValue, TRUE); - break; - default: - return(DefWindowProc(hWnd, message, wParam, lParam)); - } - break; - case WM_DESTROY: - if (card >= 0) Release_Card(card); - DeleteObject(hBlackBrush); - DeleteObject(hRedPen); - GlobalUnfix(hMem); - GlobalUnlock(hMem); - GlobalFree(hMem); - PostQuitMessage(0); - break; - default: - return(DefWindowProc(hWnd, message, wParam, lParam)); - } - return(NULL); -} - -BOOL PASCAL ShowDMA(hDlg, message, wParam, lParam) -HWND hDlg; -UINT message; -WPARAM wParam; -LPARAM lParam; -{ - int nTabs[2] = {32, 92}; - int i; - char cBuf[100]; - char string[10]=" "; - char data_str[3]=" "; - I32 *pp; - switch (message) { - case WM_INITDIALOG: - hListBox = CreateWindow("LISTBOX", "Index Data (Hex)", - WS_CHILD | WS_VISIBLE | LBS_HASSTRINGS | LBS_STANDARD | LBS_USETABSTOPS |WS_CAPTION, - 50, 40, 240, 180, hDlg, 100, hInst, NULL); - SendMessage(hListBox, LB_RESETCONTENT, 0, 0L); - SendMessage(hListBox, LB_SETTABSTOPS, 2, (DWORD)(LPINT) nTabs); - SetDlgItemText(hDlg, DMA_DESCP, "This ListBox can show at most 4000 data"); - itoa( data_size, string, 10); - SetDlgItemText(hDlg, DMA_SPACE, string); - - pp = (I32 *)ai_buf; - if (count > 4000) count = 4000; - if (!count) count = data_size; - for(i=0;i -# Microsoft Developer Studio Generated Build File, Format Version 5.00 -# ** DO NOT EDIT ** - -# TARGTYPE "Win32 (x86) Application" 0x0101 - -CFG=9114PrTg - Win32 Release -!MESSAGE This is not a valid makefile. To build this project using NMAKE, -!MESSAGE use the Export Makefile command and run -!MESSAGE -!MESSAGE NMAKE /f "9114PrTg.mak". -!MESSAGE -!MESSAGE You can specify a configuration when running NMAKE -!MESSAGE by defining the macro CFG on the command line. For example: -!MESSAGE -!MESSAGE NMAKE /f "9114PrTg.mak" CFG="9114PrTg - Win32 Release" -!MESSAGE -!MESSAGE Possible choices for configuration are: -!MESSAGE -!MESSAGE "9114PrTg - Win32 Release" (based on "Win32 (x86) Application") -!MESSAGE "9114PrTg - Win32 Debug" (based on "Win32 (x86) Application") -!MESSAGE - -# Begin Project -# PROP Scc_ProjName "" -# PROP Scc_LocalPath "" -CPP=cl.exe -MTL=midl.exe -RSC=rc.exe - -!IF "$(CFG)" == "9114PrTg - Win32 Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir ".\Release" -# PROP BASE Intermediate_Dir ".\Release" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "" -# PROP Intermediate_Dir ".\Release" -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /YX /c -# ADD CPP /nologo /MT /W3 /GX /Od /I "..\..\..\include" /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /FD /c -# SUBTRACT CPP /YX -# ADD BASE MTL /nologo /D "NDEBUG" /win32 -# ADD MTL /nologo /D "NDEBUG" /mktyplib203 /win32 -# ADD BASE RSC /l 0x409 /d "NDEBUG" -# ADD RSC /l 0x409 /d "NDEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:windows /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ..\..\..\lib\pci-dask.lib /nologo /subsystem:windows /machine:I386 - -!ELSEIF "$(CFG)" == "9114PrTg - Win32 Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir ".\Debug" -# PROP BASE Intermediate_Dir ".\Debug" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir ".\Debug" -# PROP Intermediate_Dir ".\Debug" -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /Gm /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /YX /c -# ADD CPP /nologo /MTd /W3 /Gm /GX /Zi /Od /I "..\..\..\include" /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /FD /c -# SUBTRACT CPP /YX -# ADD BASE MTL /nologo /D "_DEBUG" /win32 -# ADD MTL /nologo /D "_DEBUG" /mktyplib203 /win32 -# ADD BASE RSC /l 0x409 /d "_DEBUG" -# ADD RSC /l 0x409 /d "_DEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:windows /debug /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ..\..\..\lib\pci-dask.lib /nologo /subsystem:windows /debug /machine:I386 - -!ENDIF - -# Begin Target - -# Name "9114PrTg - Win32 Release" -# Name "9114PrTg - Win32 Debug" -# Begin Group "Source Files" - -# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;hpj;bat;for;f90" -# Begin Source File - -SOURCE=.\9114PrTg.c -# End Source File -# Begin Source File - -SOURCE=.\9114PrTg.rc -# End Source File -# End Group -# Begin Group "Header Files" - -# PROP Default_Filter "h;hpp;hxx;hm;inl;fi;fd" -# End Group -# Begin Group "Resource Files" - -# PROP Default_Filter "ico;cur;bmp;dlg;rc2;rct;bin;cnt;rtf;gif;jpg;jpeg;jpe" -# End Group -# End Target -# End Project diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9114/Sdk9114ADbfCallBack/9114PrTg.dsw b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9114/Sdk9114ADbfCallBack/9114PrTg.dsw deleted file mode 100644 index de5a8f4..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9114/Sdk9114ADbfCallBack/9114PrTg.dsw +++ /dev/null @@ -1,29 +0,0 @@ -Microsoft Developer Studio Workspace File, Format Version 5.00 -# WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE! - -############################################################################### - -Project: "9114PrTg"=".\9114PrTg.dsp" - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ -}}} - -############################################################################### - -Global: - -Package=<5> -{{{ -}}} - -Package=<3> -{{{ -}}} - -############################################################################### - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9114/Sdk9114ADbfCallBack/9114PrTg.exe b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9114/Sdk9114ADbfCallBack/9114PrTg.exe deleted file mode 100644 index 84376e0..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9114/Sdk9114ADbfCallBack/9114PrTg.exe and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9114/Sdk9114ADbfCallBack/9114PrTg.rc b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9114/Sdk9114ADbfCallBack/9114PrTg.rc deleted file mode 100644 index 821a2de..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9114/Sdk9114ADbfCallBack/9114PrTg.rc +++ /dev/null @@ -1,128 +0,0 @@ -//Microsoft Developer Studio generated resource script. -// -#include "resource.h" - -#define APSTUDIO_READONLY_SYMBOLS -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 2 resource. -// -#define APSTUDIO_HIDDEN_SYMBOLS -#include "windows.h" -#undef APSTUDIO_HIDDEN_SYMBOLS - -///////////////////////////////////////////////////////////////////////////// -#undef APSTUDIO_READONLY_SYMBOLS - -///////////////////////////////////////////////////////////////////////////// -// English (U.S.) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -#ifdef _WIN32 -LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US -#pragma code_page(1252) -#endif //_WIN32 - -///////////////////////////////////////////////////////////////////////////// -// -// Menu -// - -U7120MENU MENU DISCARDABLE -BEGIN - MENUITEM "E&xit!", IDM_EXIT -END - - -#ifdef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// TEXTINCLUDE -// - -1 TEXTINCLUDE DISCARDABLE -BEGIN - "resource.h\0" -END - -2 TEXTINCLUDE DISCARDABLE -BEGIN - "#define APSTUDIO_HIDDEN_SYMBOLS\r\n" - "#include ""windows.h""\r\n" - "#undef APSTUDIO_HIDDEN_SYMBOLS\r\n" - "\0" -END - -3 TEXTINCLUDE DISCARDABLE -BEGIN - "\r\n" - "\0" -END - -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog -// - -DMABOX DIALOG DISCARDABLE 18, 10, 171, 169 -STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "Data Value (half of circular buffer)" -FONT 8, "System" -BEGIN - PUSHBUTTON "STOP",ID_STOP,82,147,24,14 - LTEXT "Data Transferred :",-1,39,119,64,8 - LTEXT "Text",DMA_SPACE,103,118,41,8 - LTEXT "Text",DMA_DESCP,16,6,158,8 -END - -IDD_DIALOG2 DIALOG DISCARDABLE 110, 10, 107, 73 -STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "Card Number" -FONT 10, "System" -BEGIN - DEFPUSHBUTTON "OK",IDOK,7,52,37,14 - PUSHBUTTON "Cancel",IDCANCEL,60,52,38,14 - LTEXT "Card Number",IDC_CARDNUM,7,10,43,14 - COMBOBOX IDC_COMBO1,54,10,46,83,CBS_DROPDOWN | WS_VSCROLL | - WS_TABSTOP - CONTROL "Pre-trigger Enabled",IDC_CHECK1,"Button", - BS_AUTOCHECKBOX | WS_TABSTOP,7,32,94,13 -END - - -///////////////////////////////////////////////////////////////////////////// -// -// DESIGNINFO -// - -#ifdef APSTUDIO_INVOKED -GUIDELINES DESIGNINFO DISCARDABLE -BEGIN - IDD_DIALOG2, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 100 - TOPMARGIN, 10 - BOTTOMMARGIN, 66 - END -END -#endif // APSTUDIO_INVOKED - -#endif // English (U.S.) resources -///////////////////////////////////////////////////////////////////////////// - - - -#ifndef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 3 resource. -// - - -///////////////////////////////////////////////////////////////////////////// -#endif // not APSTUDIO_INVOKED - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9114/Sdk9114ADbfCallBack/resource.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9114/Sdk9114ADbfCallBack/resource.h deleted file mode 100644 index 8a26958..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9114/Sdk9114ADbfCallBack/resource.h +++ /dev/null @@ -1,27 +0,0 @@ -//{{NO_DEPENDENCIES}} -// Microsoft Developer Studio generated include file. -// Used by 9114PrTg.rc -// -#define IDM_SETUP 101 -#define IDD_DIALOG1 101 -#define IDD_DIALOG2 104 -#define IDM_EXIT 110 -#define ID_CARDNUMBER 122 -#define ID_STOP 304 -#define DMA_SPACE 500 -#define DMA_DESCP 600 -#define IDC_COMBO1 1001 -#define IDC_CARDNUM 1002 -#define IDC_CHECK1 1003 -#define IDC_STATIC -1 - -// Next default values for new objects -// -#ifdef APSTUDIO_INVOKED -#ifndef APSTUDIO_READONLY_SYMBOLS -#define _APS_NEXT_RESOURCE_VALUE 106 -#define _APS_NEXT_COMMAND_VALUE 123 -#define _APS_NEXT_CONTROL_VALUE 1002 -#define _APS_NEXT_SYMED_VALUE 101 -#endif -#endif diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9114/sdk9114/Resource.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9114/sdk9114/Resource.h deleted file mode 100644 index fab2e16..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9114/sdk9114/Resource.h +++ /dev/null @@ -1,26 +0,0 @@ -//{{NO_DEPENDENCIES}} -// Microsoft Developer Studio generated include file. -// Used by Util9114.rc -// -#define IDM_SETUP 101 -#define IDD_DIALOG1 101 -#define IDD_DIALOG2 103 -#define IDM_EXIT 110 -#define ID_STOP 304 -#define DMA_SPACE 500 -#define IDC_COMBO2 1001 -#define IDC_COMBO3 1003 -#define IDC_COMBO1 1015 -#define IDC_COMBO4 1016 -#define IDC_STATIC -1 - -// Next default values for new objects -// -#ifdef APSTUDIO_INVOKED -#ifndef APSTUDIO_READONLY_SYMBOLS -#define _APS_NEXT_RESOURCE_VALUE 104 -#define _APS_NEXT_COMMAND_VALUE 102 -#define _APS_NEXT_CONTROL_VALUE 1001 -#define _APS_NEXT_SYMED_VALUE 101 -#endif -#endif diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9114/sdk9114/Util9114.c b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9114/sdk9114/Util9114.c deleted file mode 100644 index 49abb33..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9114/sdk9114/Util9114.c +++ /dev/null @@ -1,682 +0,0 @@ -#include -#include -#include -#include -#include -#include -#include "dask.h" -#include "resource.h" - -#define IDM_EXIT 110 -#define IDM_SETUP 101 -#define IDC_START 208 -#define IDC_STOP 209 -#define IDC_PAUSE 210 -#define IDC_EDIT 211 -#define IDC_GAIN 212 -#define IDC_AD 400 -#define TIMER1 1 -#define NONE 0 - -int PASCAL WinMain(HANDLE, HANDLE, LPSTR, int); -long PASCAL MainWndProc(HWND, UINT, WPARAM, LPARAM); - -HANDLE hInst; -HWND hAddrComboBox; -HWND hADComboBox1; -HWND hADComboBox2; -HWND hADComboBox3; -HWND hADComboBox4; -HWND hADComboBox5; -HWND hADComboBox6; -HWND hEdit; -HWND MainhWnd; - -I16 card=-1, card_number = 0; -U16 input[16], output=0; -I16 oldinput[16],analog_input[16],adinput[16],old_adinput1[16],old_adinput2[16]; -U8 input_lo=0, input_hi=0; -U32 kk; - -LPSTR AD_Range[]={"+/-10V","+/-5V","+/-2.5V","+/-1.25V","+/-1V","+/-0.1V","+/-0.01V"}; -I16 range_value[] = {AD_B_10_V, AD_B_5_V, AD_B_2_5_V, AD_B_1_25_V, AD_B_1_V, AD_B_0_1_V, AD_B_0_01_V}; - -HBRUSH hLTGreenBrush,hGreenBrush,hBlueBrush,hYellowBrush,hRedBrush,hBlackBrush,hWhiteBrush,hLTRedBrush,hLTBlueBrush; -HPEN hRedPen,hYellowPen,hGreenPen,hBluePen,hLTBluePen,hLTRedPen,hLTGreenPen,hWhitePen; - -I16 sample_rate=100, time_interval, range=AD_B_10_V; - -POINT input_pos[16]= {{470, 280}, {440, 280}, - {410, 280}, {380, 280}, - {350, 280}, {320, 280}, - { 290, 280}, {260, 280}, - {230, 280}, {200, 280}, - {170, 280}, {140, 280}, - {110, 280}, {80, 280}, - { 50, 280}, { 20, 280}, - }; -POINT output_pos[16] ={ - {470, 340}, {440, 340}, - {410, 340}, {380, 340}, - {350, 340}, {320, 340}, - { 290, 340}, {260, 340}, - {230, 340}, {200, 340}, - {170, 340}, {140, 340}, - {110, 340}, {80, 340}, - { 50, 340}, { 20, 340}, - }; - -POINT io_pos[16] ={ - {395, 40}, {370, 40}, - {345, 40}, {320, 40}, - {295, 40}, {270, 40}, - { 245, 40}, {220, 40}, - {195, 40}, {170, 40}, - {145, 40}, {120, 40}, - {95, 40}, {70, 40}, - { 45, 40}, { 20, 40}, - }; - -BOOL bCheck1[8],bCheck2[8],bStart=FALSE,bStop=FALSE,bPause=FALSE; -BOOL InitApplication(HANDLE); -BOOL InitInstance(HANDLE, int); - -int PASCAL WinMain(hInstance, hPrevInstance, lpCmdLine, nCmdShow) -HANDLE hInstance, hPrevInstance; -LPSTR lpCmdLine; -int nCmdShow; -{ - MSG msg; - - if (!hPrevInstance) - if (!InitApplication(hInstance)) return(FALSE); - if (!InitInstance(hInstance, nCmdShow)) return(FALSE); - while (GetMessage(&msg, NULL, NULL, NULL)) { - TranslateMessage(&msg); - DispatchMessage(&msg); - } - return(msg.wParam); -} - -BOOL InitApplication(hInstance) -HANDLE hInstance; -{ - WNDCLASS wc; - - /* Main Window Class */ - wc.style = NULL; - wc.lpfnWndProc = (WNDPROC)MainWndProc; - wc.cbClsExtra = 0; - wc.cbWndExtra = 0; - wc.hInstance = hInstance; - wc.hIcon = LoadIcon(hInstance, "MyIcon"); - wc.hCursor = LoadCursor(NULL, IDC_ARROW); - wc.hbrBackground = GetStockObject(LTGRAY_BRUSH); - wc.lpszMenuName = NULL; - wc.lpszClassName = "GenericWClass"; - if (!RegisterClass(&wc)) return(FALSE); -} - - -BOOL InitInstance(hInstance, nCmdShow) -HANDLE hInstance; -int nCmdShow; -{ - HWND hWnd; - HMENU hSampleMenu; - - hInst = hInstance; - hSampleMenu = LoadMenu(hInstance, "U9114Menu"); - hWnd = CreateWindow("GenericWClass", - (LPCSTR)"9114 (AI0~AI15)", - WS_OVERLAPPEDWINDOW, - CW_USEDEFAULT, - CW_USEDEFAULT, - 530, - 450, - NULL, - hSampleMenu, - hInstance, - NULL); - MainhWnd=hWnd; - if (!hWnd) return(FALSE); - ShowWindow(hWnd, nCmdShow); - UpdateWindow(hWnd); - return(TRUE); -} - -BOOL PASCAL setup(HWND hWnd, unsigned message, WPARAM wParam, LPARAM lParam) -{ - int i; - char n[16]; - char s[50]; - switch (message) { - case WM_INITDIALOG: - for (i=0;i<16;i++) { - wsprintf(n, "%d", i); - _strupr(n); - SendMessage(GetDlgItem(hWnd,IDC_COMBO1), CB_ADDSTRING, NULL, (LONG)(LPSTR) n); - } - SendMessage(GetDlgItem(hWnd,IDC_COMBO1) , CB_SETCURSEL, 0, 0L); - - break; - case WM_COMMAND: - switch(LOWORD(wParam)) { - - case IDC_COMBO1: - if (HIWORD(wParam) == CBN_CLOSEUP) { - i = (int)SendMessage(GetDlgItem(hWnd,IDC_COMBO1), CB_GETCURSEL, 0, 0L); - SendMessage(GetDlgItem(hWnd,IDC_COMBO1), CB_GETLBTEXT, i, (LPARAM)((LPCSTR)n)); - card_number = i; - } - return(TRUE); - case IDOK: - if ((card=Register_Card(PCI_9114DG, card_number)) < 0) { - wsprintf(s, "Register_Card Error = %d\n", card); - MessageBox(hWnd, s, "Error", MB_OK); - SendMessage(hWnd, WM_CLOSE, 0, 0L); - break; - } - EndDialog(hWnd, TRUE); - InvalidateRect(hWnd, NULL, FALSE); - return (TRUE); - case IDCANCEL: - EndDialog(hWnd, TRUE); - return (TRUE); - } - break; - } - return (FALSE); -} - -long PASCAL MainWndProc(hWnd, message, wParam, lParam) -HWND hWnd; -UINT message; -WPARAM wParam; -LPARAM lParam; -{ - HDC hDC; - PAINTSTRUCT ps; - int i, k, px, py; - char n[15]; - double Pi = 3.1415926535; - static U16 pos=0; - - switch(message) { - case WM_CREATE: - DialogBox(hInst,IDD_DIALOG2, hWnd, setup); - if(card<0) { - SendMessage(hWnd, WM_CLOSE, 0, 0L); - break; - } - for (i=0;i<8;i++) { - bCheck1[i]=FALSE; - bCheck2[i]=FALSE; - old_adinput1[i]=-1; - old_adinput2[i]=-1; - } - for (i=0 ;i <16; i++) { - input[i] = 0; - oldinput[i] = 0; - } - hAddrComboBox = CreateWindow("ComboBox", NULL, - CBS_DROPDOWNLIST | WS_CHILD | WS_VISIBLE | WS_VSCROLL, - output_pos[4].x+90, io_pos[0].y+70, 85, 120, hWnd, IDC_GAIN, hInst, NULL); - for (i=0;i<7;i++) { - SendMessage(hAddrComboBox, CB_ADDSTRING, NULL, (LONG)AD_Range[i]); - } - SendMessage(hAddrComboBox ,CB_SETCURSEL, 0, 0L); - - CreateWindow("BUTTON","Start" , - WS_CHILD | WS_VISIBLE , - output_pos[10].x+110, output_pos[10].y+20,50, 30, hWnd, IDC_START, hInst, NULL); - - CreateWindow("BUTTON","Stop" , - WS_CHILD | WS_VISIBLE , - output_pos[10].x+170, output_pos[10].y+20,50, 30, hWnd, IDC_STOP, hInst, NULL); - - CreateWindow("BUTTON","Pause" , - WS_CHILD | WS_VISIBLE , - output_pos[10].x+230, output_pos[10].y+20,50, 30, hWnd, IDC_PAUSE, hInst, NULL); - - CreateWindow("BUTTON","0" , - WS_CHILD | WS_VISIBLE | BS_RADIOBUTTON | BS_LEFTTEXT , - output_pos[4].x+50, io_pos[0].y-5,25,15, hWnd,IDC_AD, hInst, NULL); - - CreateWindow("BUTTON","1" , - WS_CHILD | WS_VISIBLE | BS_RADIOBUTTON | BS_LEFTTEXT, - output_pos[4].x+50, io_pos[0].y+13,25,15, hWnd,IDC_AD+1, hInst, NULL); - - CreateWindow("BUTTON","2" , - WS_CHILD | WS_VISIBLE | BS_RADIOBUTTON | BS_LEFTTEXT, - output_pos[4].x+50, io_pos[0].y+31,25,15, hWnd,IDC_AD+2, hInst, NULL); - - CreateWindow("BUTTON","3" , - WS_CHILD | WS_VISIBLE | BS_RADIOBUTTON | BS_LEFTTEXT, - output_pos[4].x+50, io_pos[0].y+49,25,15, hWnd,IDC_AD+3, hInst, NULL); - - CreateWindow("BUTTON","4" , - WS_CHILD | WS_VISIBLE | BS_RADIOBUTTON | BS_LEFTTEXT, - output_pos[4].x+100, io_pos[0].y-5,25,15, hWnd,IDC_AD+4, hInst, NULL); - - CreateWindow("BUTTON","5" , - WS_CHILD | WS_VISIBLE | BS_RADIOBUTTON | BS_LEFTTEXT, - output_pos[4].x+100, io_pos[0].y+13,25,15, hWnd, IDC_AD+5, hInst, NULL); - - CreateWindow("BUTTON","6" , - WS_CHILD | WS_VISIBLE | BS_RADIOBUTTON | BS_LEFTTEXT, - output_pos[4].x+100, io_pos[0].y+31,25,15, hWnd,IDC_AD+6, hInst, NULL); - - CreateWindow("BUTTON","7" , - WS_CHILD | WS_VISIBLE | BS_RADIOBUTTON | BS_LEFTTEXT, - output_pos[4].x+100, io_pos[0].y+49,25,15, hWnd, IDC_AD+7, hInst, NULL); - - CreateWindow("BUTTON","0" , - WS_CHILD | WS_VISIBLE | BS_RADIOBUTTON | BS_LEFTTEXT, - output_pos[4].x+50, io_pos[0].y+97,25,15, hWnd, IDC_AD+8, hInst, NULL); - - CreateWindow("BUTTON","1" , - WS_CHILD | WS_VISIBLE | BS_RADIOBUTTON | BS_LEFTTEXT, - output_pos[4].x+50, io_pos[0].y+115,25,15, hWnd, IDC_AD+9, hInst, NULL); - - CreateWindow("BUTTON","2" , - WS_CHILD | WS_VISIBLE | BS_RADIOBUTTON | BS_LEFTTEXT, - output_pos[4].x+50, io_pos[0].y+133,25,15, hWnd, IDC_AD+10, hInst, NULL); - - CreateWindow("BUTTON","3" , - WS_CHILD | WS_VISIBLE | BS_RADIOBUTTON | BS_LEFTTEXT, - output_pos[4].x+50, io_pos[0].y+151,25,15, hWnd, IDC_AD+11, hInst, NULL); - - CreateWindow("BUTTON","4" , - WS_CHILD | WS_VISIBLE | BS_RADIOBUTTON | BS_LEFTTEXT, - output_pos[4].x+100, io_pos[0].y+97,25,15, hWnd, IDC_AD+12, hInst, NULL); - - CreateWindow("BUTTON","5" , - WS_CHILD | WS_VISIBLE | BS_RADIOBUTTON | BS_LEFTTEXT, - output_pos[4].x+100, io_pos[0].y+115,25,15, hWnd, IDC_AD+13, hInst, NULL); - - CreateWindow("BUTTON","6" , - WS_CHILD | WS_VISIBLE | BS_RADIOBUTTON | BS_LEFTTEXT, - output_pos[4].x+100, io_pos[0].y+133,25,15, hWnd, IDC_AD+14, hInst, NULL); - - CreateWindow("BUTTON","7" , - WS_CHILD | WS_VISIBLE | BS_RADIOBUTTON | BS_LEFTTEXT, - output_pos[4].x+100, io_pos[0].y+151,25,15, hWnd, IDC_AD+15, hInst, NULL); - - hLTGreenBrush = CreateSolidBrush(RGB(0, 255, 0)); - hGreenBrush = CreateSolidBrush(RGB(0, 128, 0)); - hBlueBrush = CreateSolidBrush(RGB(0, 0, 255)); - hRedBrush = CreateSolidBrush(RGB(255, 0, 0)); - hYellowBrush= CreateSolidBrush(RGB(255,255,0)); - hBlackBrush= CreateSolidBrush(RGB(0,0,0)); - hLTBlueBrush= CreateSolidBrush(RGB(0,255,255)); - hLTRedBrush= CreateSolidBrush(RGB(255,128,0)); - hWhiteBrush= CreateSolidBrush(RGB(255,255,255)); - hRedPen= CreatePen(PS_SOLID,1,RGB(255,0,0)); - hYellowPen= CreatePen(PS_SOLID,1,RGB(255,255,0)); - hBluePen= CreatePen(PS_SOLID,1,RGB(0,0,255)); - hGreenPen= CreatePen(PS_SOLID,1,RGB(0,255,0)); - hLTBluePen= CreatePen(PS_SOLID,1,RGB(0,128,255)); - hLTRedPen= CreatePen(PS_SOLID,1,RGB(255,128,0)); - hLTGreenPen= CreatePen(PS_SOLID,1,RGB(0,128,0)); - hWhitePen= CreatePen(PS_SOLID,1,RGB(255,255,255)); - break; - - case WM_PAINT: - hDC = BeginPaint(hWnd, &ps); - - // Digital Input Box - SelectObject(hDC, hLTGreenBrush); - Rectangle(hDC, input_pos[15].x-10, input_pos[15].y-44, input_pos[0].x+26, input_pos[0].y+10); - SetTextColor(hDC,RGB(255,255,255)); - SetBkColor(hDC, RGB(0, 0, 255)); - TextOut(hDC, input_pos[15].x, input_pos[15].y-48, "Digital Input",13); - - // Digital Output Box - SelectObject(hDC, hGreenBrush); - Rectangle(hDC, output_pos[15].x-10, output_pos[15].y-44, output_pos[0].x+26, output_pos[0].y+10); - SetTextColor(hDC,RGB(255,0,0)); - SetBkColor(hDC, RGB(0, 0, 255)); - TextOut(hDC, output_pos[15].x, output_pos[15].y-50, "Digital Output", 14); - - // Analog Input Box - SelectObject(hDC, GetStockObject(GRAY_BRUSH)); - Rectangle(hDC, output_pos[15].x-10, io_pos[15].y-24, output_pos[0].x+26, io_pos[0].y+175); - SetTextColor(hDC,RGB(255,255,0)); - SetBkColor(hDC, RGB(0, 0, 255)); - TextOut(hDC, io_pos[15].x, io_pos[15].y-35, "Analog Input(A/D)", 17); - - SelectObject(hDC, hBlackBrush); - Rectangle(hDC, output_pos[15].x+35, io_pos[15].y-2, output_pos[4].x+41, io_pos[0].y+83); - Rectangle(hDC, output_pos[15].x+35, io_pos[15].y+87, output_pos[4].x+41, io_pos[0].y+172); - - // Channel Label - SetTextColor(hDC,RGB(0,0,0)); - SetBkColor(hDC, RGB(0, 255, 0)); - TextOut(hDC, input_pos[15].x, input_pos[15].y-10, "15 0", 114); - SetBkColor(hDC, RGB(0, 128, 0)); - TextOut(hDC, output_pos[15].x, output_pos[15].y-10, "15 0", 114); - SetBkColor(hDC, RGB(0, 255, 0)); - - SelectObject(hDC,hYellowBrush ); - Rectangle(hDC,output_pos[4].x+78, io_pos[0].y-5,output_pos[4].x+90, io_pos[0].y+10); - Rectangle(hDC,output_pos[4].x+78, io_pos[0].y+97,output_pos[4].x+90, io_pos[0].y+112); - SelectObject(hDC, hGreenBrush); - Rectangle(hDC,output_pos[4].x+78, io_pos[0].y+13,output_pos[4].x+90, io_pos[0].y+28); - Rectangle(hDC,output_pos[4].x+78, io_pos[0].y+115,output_pos[4].x+90, io_pos[0].y+130); - SelectObject(hDC, hBlueBrush); - Rectangle(hDC,output_pos[4].x+78, io_pos[0].y+31,output_pos[4].x+90, io_pos[0].y+46); - Rectangle(hDC,output_pos[4].x+78, io_pos[0].y+133,output_pos[4].x+90, io_pos[0].y+148); - SelectObject(hDC, hRedBrush); - Rectangle(hDC,output_pos[4].x+78, io_pos[0].y+49,output_pos[4].x+90, io_pos[0].y+64); - Rectangle(hDC,output_pos[4].x+78, io_pos[0].y+151,output_pos[4].x+90, io_pos[0].y+166); - SelectObject(hDC, hLTBlueBrush); - Rectangle(hDC,output_pos[4].x+128, io_pos[0].y-5,output_pos[4].x+140, io_pos[0].y+10); - Rectangle(hDC,output_pos[4].x+128, io_pos[0].y+97,output_pos[4].x+140, io_pos[0].y+112); - SelectObject(hDC, hLTRedBrush); - Rectangle(hDC,output_pos[4].x+128, io_pos[0].y+13,output_pos[4].x+140, io_pos[0].y+28); - Rectangle(hDC,output_pos[4].x+128, io_pos[0].y+115,output_pos[4].x+140, io_pos[0].y+130); - SelectObject(hDC, hLTGreenBrush); - Rectangle(hDC,output_pos[4].x+128, io_pos[0].y+31,output_pos[4].x+140, io_pos[0].y+46); - Rectangle(hDC,output_pos[4].x+128, io_pos[0].y+133,output_pos[4].x+140, io_pos[0].y+148); - SelectObject(hDC, hWhiteBrush); - Rectangle(hDC,output_pos[4].x+128, io_pos[0].y+49,output_pos[4].x+140, io_pos[0].y+64); - Rectangle(hDC,output_pos[4].x+128, io_pos[0].y+151,output_pos[4].x+140, io_pos[0].y+166); - - SetBkMode(hDC,TRANSPARENT); - TextOut(hDC,output_pos[4].x+50, io_pos[0].y+67,"Input",5); - TextOut(hDC,output_pos[4].x+50, io_pos[0].y+80,"Range",5); - TextOut(hDC,input_pos[15].x, io_pos[15].y-19,"Volts",5); - switch (range) { - case AD_B_10_V: - TextOut(hDC,input_pos[15].x-5, io_pos[15].y-5,"10.0",4); - TextOut(hDC,input_pos[15].x-8, io_pos[15].y+67,"-10.0",5); - TextOut(hDC,input_pos[15].x-5, io_pos[15].y+87,"10.0",4); - TextOut(hDC,input_pos[15].x-8, io_pos[15].y+159,"-10.0",5); - break; - case AD_B_5_V: - TextOut(hDC,input_pos[15].x-5, io_pos[15].y-5,"5.00",4); - TextOut(hDC,input_pos[15].x-8, io_pos[15].y+67,"-5.00",5); - TextOut(hDC,input_pos[15].x-5, io_pos[15].y+87,"5.00",4); - TextOut(hDC,input_pos[15].x-8, io_pos[15].y+159,"-5.00",5); - break; - case AD_B_2_5_V: - TextOut(hDC,input_pos[15].x-5, io_pos[15].y-5,"2.50",4); - TextOut(hDC,input_pos[15].x-8, io_pos[15].y+67,"-2.50",5); - TextOut(hDC,input_pos[15].x-5, io_pos[15].y+87,"2.50",4); - TextOut(hDC,input_pos[15].x-8, io_pos[15].y+159,"-2.50",5); - break; - case AD_B_1_25_V: - TextOut(hDC,input_pos[15].x-5, io_pos[15].y-5,"1.25",4); - TextOut(hDC,input_pos[15].x-8, io_pos[15].y+67,"-1.25",5); - TextOut(hDC,input_pos[15].x-5, io_pos[15].y+87,"1.25",4); - TextOut(hDC,input_pos[15].x-8, io_pos[15].y+159,"-1.25",5); - break; - case AD_B_1_V: - TextOut(hDC,input_pos[15].x-5, io_pos[15].y-5,"1.00",4); - TextOut(hDC,input_pos[15].x-8, io_pos[15].y+67,"-1.00",5); - TextOut(hDC,input_pos[15].x-5, io_pos[15].y+87,"1.00",4); - TextOut(hDC,input_pos[15].x-8, io_pos[15].y+159,"-1.00",5); - break; - case AD_B_0_1_V: - TextOut(hDC,input_pos[15].x-5, io_pos[15].y-5,"0.10",4); - TextOut(hDC,input_pos[15].x-8, io_pos[15].y+67,"-0.10",5); - TextOut(hDC,input_pos[15].x-5, io_pos[15].y+87,"0.10",4); - TextOut(hDC,input_pos[15].x-8, io_pos[15].y+159,"-0.10",5); - break; - case AD_B_0_01_V: - TextOut(hDC,input_pos[15].x-5, io_pos[15].y-5,"0.01",4); - TextOut(hDC,input_pos[15].x-8, io_pos[15].y+67,"-0.01",5); - TextOut(hDC,input_pos[15].x-5, io_pos[15].y+87,"0.01",4); - TextOut(hDC,input_pos[15].x-8, io_pos[15].y+159,"-0.01",5); - break; - } - - TextOut(hDC,input_pos[10].x, io_pos[10].y-19,"Signals",7); - TextOut(hDC,output_pos[4].x+50, io_pos[0].y-20,"Channel",7); - SetBkMode(hDC,OPAQUE); - - // Detect Channel Input - for (i=0; i<16; i++) { - //if ((input>>i)&0x01) - if (input[i]) - SelectObject(hDC, hRedBrush); - else - SelectObject(hDC, GetStockObject(WHITE_BRUSH)); - Ellipse(hDC, input_pos[i].x, input_pos[i].y-30, input_pos[i].x+20, input_pos[i].y-10); - } - - // Channel Output - for (i=0; i<16; i++) { - if ((output>>i)&0x01) - SelectObject(hDC, hRedBrush); - else - SelectObject(hDC, GetStockObject(WHITE_BRUSH)); - Ellipse(hDC, output_pos[i].x, output_pos[i].y-30, output_pos[i].x+20, output_pos[i].y-10); - } - - EndPaint(hWnd, &ps); - break; - - case WM_COMMAND: - switch(LOWORD(wParam)) { - case IDM_EXIT: - SendMessage(hWnd, WM_CLOSE, 0, 0L); - break; - case IDC_START: - time_interval=1000/sample_rate; - SetTimer(hWnd, TIMER1, time_interval, NULL); - srand((unsigned)time(NULL)); - bStop=FALSE; - bPause=FALSE; - bStart=TRUE; - break; - case IDC_STOP: - KillTimer(hWnd, TIMER1); - bStop=TRUE; - bPause=FALSE; - bStart=FALSE; - hDC = GetDC(hWnd); - SelectObject(hDC, hBlackBrush); - Rectangle(hDC, output_pos[15].x+35, io_pos[15].y-2, output_pos[4].x+41, io_pos[0].y+83); - Rectangle(hDC, output_pos[15].x+35, io_pos[15].y+87, output_pos[4].x+41, io_pos[0].y+172); - ReleaseDC(hWnd, hDC); - break; - case IDC_PAUSE: - KillTimer(hWnd, TIMER1); - bStop=FALSE; - bPause=TRUE; - bStart=FALSE; - break; - case IDC_AD: - case IDC_AD+1: - case IDC_AD+2: - case IDC_AD+3: - case IDC_AD+4: - case IDC_AD+5: - case IDC_AD+6: - case IDC_AD+7: - k=LOWORD(wParam)-IDC_AD; - if (bCheck1[k]) { - SendMessage(GetDlgItem(hWnd,wParam), BM_SETCHECK, 0, 0); - bCheck1[k]=FALSE; - } - else { - SendMessage(GetDlgItem(hWnd,wParam), BM_SETCHECK, 1, 0); - bCheck1[k]=TRUE; - } - break; - case IDC_AD+8: - case IDC_AD+9: - case IDC_AD+10: - case IDC_AD+11: - case IDC_AD+12: - case IDC_AD+13: - case IDC_AD+14: - case IDC_AD+15: - k=LOWORD(wParam)-IDC_AD-8; - if (bCheck2[k]) { - SendMessage(GetDlgItem(hWnd,wParam), BM_SETCHECK, 0, 0); - bCheck2[k]=FALSE; - } - else { - SendMessage(GetDlgItem(hWnd,wParam), BM_SETCHECK, 1, 0); - bCheck2[k]=TRUE; - } - break; - case IDC_GAIN: - if (HIWORD(wParam) == CBN_CLOSEUP) { - if ((i=(int)SendMessage(GetDlgItem(hWnd,IDC_GAIN),CB_GETCURSEL, 0, 0L))>=0 ) { - SendMessage(GetDlgItem(hWnd,IDC_GAIN), CB_GETLBTEXT, i, (LPARAM)((LPCSTR)n)); - range = range_value[i]; - InvalidateRect(hWnd, NULL, FALSE); - } - } - break; - default: - return(DefWindowProc(hWnd, message, wParam, lParam)); - } - break; - case WM_TIMER: - if (card >= 0) { - /* Digital Input */ - hDC = GetDC(hWnd); - for (i=0; i<16; i++) { - DI_ReadLine (card, 0, i, &input[i]); - if ((input[i] & 0x01 ) != ((oldinput[i])&0x01)) { - if (input[i] & 0x01) - SelectObject(hDC, hRedBrush); - else - SelectObject(hDC, GetStockObject(WHITE_BRUSH)); - Ellipse(hDC, input_pos[i].x, input_pos[i].y-30, input_pos[i].x+20, input_pos[i].y-10); - oldinput[i]=input[i]; - } - } - /* Analog Input */ - BitBlt(hDC,output_pos[15].x+39,io_pos[15].y-2,331,85,hDC,output_pos[15].x+35,io_pos[15].y-2,SRCCOPY); - for (i=0;i<8;i++ ) { - if (bCheck1[i]) { - AI_ReadChannel(card, i, range, &analog_input[i]); - switch(i) { - case 0: - SelectObject(hDC, hYellowPen); - break; - case 1: - SelectObject(hDC, hGreenPen); - break; - case 2: - SelectObject(hDC, hBluePen); - break; - case 3: - SelectObject(hDC, hRedPen); - break; - case 4: - SelectObject(hDC, hLTBluePen); - break; - case 5: - SelectObject(hDC, hLTRedPen); - break; - case 6: - SelectObject(hDC, hLTGreenPen); - break; - case 7: - SelectObject(hDC, hWhitePen); - break; - } - adinput[i]=io_pos[0].y+42-(43*(long)analog_input[i])/32767; - if (old_adinput1[i]!=-1 ) { - MoveToEx(hDC,output_pos[15].x+39,adinput[i],NULL ); - LineTo(hDC,output_pos[15].x+43,old_adinput1[i]); - } - old_adinput1[i]=adinput[i]; - } - } - BitBlt(hDC,output_pos[15].x+39,io_pos[15].y+87,331,85,hDC,output_pos[15].x+35,io_pos[15].y+87,SRCCOPY); - for (i=0;i<8;i++ ) { - if (bCheck2[i]) { - AI_ReadChannel(card, i+8, range, &analog_input[i+8]); - switch(i) { - case 0: - SelectObject(hDC, hYellowPen); - break; - case 1: - SelectObject(hDC, hGreenPen); - break; - case 2: - SelectObject(hDC, hBluePen); - break; - case 3: - SelectObject(hDC, hRedPen); - break; - case 4: - SelectObject(hDC, hLTBluePen); - break; - case 5: - SelectObject(hDC, hLTRedPen); - break; - case 6: - SelectObject(hDC, hLTGreenPen); - break; - case 7: - SelectObject(hDC, hWhitePen); - break; - } - adinput[i+8]=io_pos[0].y+123-(43*(long)analog_input[i+8])/32767; - if (old_adinput2[i]!=-1 ) { - MoveToEx(hDC,output_pos[15].x+39,adinput[i+8],NULL); - LineTo(hDC,output_pos[15].x+43,old_adinput2[i]); - } - old_adinput2[i]=adinput[i+8]; - } - } - ReleaseDC(hWnd, hDC); - } - break; - case WM_DESTROY: - if (card >= 0) Release_Card(card); - DeleteObject(hRedBrush); - DeleteObject(hGreenBrush); - DeleteObject(hLTGreenBrush); - DeleteObject(hYellowBrush); - DeleteObject(hBlueBrush) ; - DeleteObject(hBlackBrush); - DeleteObject(hRedPen); - DeleteObject(hYellowPen); - DeleteObject(hBluePen); - DeleteObject(hGreenPen); - DeleteObject(hLTBluePen); - DeleteObject(hLTRedPen); - DeleteObject(hLTGreenPen); - DeleteObject(hWhitePen); - PostQuitMessage(0); - break; - case WM_LBUTTONDOWN: - if (card >= 0) { - px = LOWORD(lParam); - py = HIWORD(lParam); - for (i=0; i<16; i++) { - if (px>output_pos[i].x && pxoutput_pos[i].y-30 && py>i)&0x01) { - output -= (((unsigned int)1)< -#include -#include -#include -#include -#include -#include "resource.h" -#include "Dask.h" - -#define IDM_EXIT 110 -#define IDC_SCROLL 207 -#define IDC_SPIN 301 -#define IDC_START 208 -#define IDC_STOP 209 -#define IDC_EDIT 211 -#define IDC_EDIT1 214 -#define IDC_SHOW 213 -#define IDC_CH 400 - -int PASCAL WinMain(HANDLE, HANDLE, LPSTR, int); -long PASCAL MainWndProc(HWND, UINT, WPARAM, LPARAM); -BOOL PASCAL ShowDMA(HWND, UINT, WPARAM, LPARAM); - -HANDLE hInst; -HWND hListBox; -HWND hEdit,hEdit1, hStart, hStop; -BOOL bCheck[8]; - -HBRUSH hBlackBrush; -HPEN hRedPen, hBlackPen; -HWND hMainWnd; - -unsigned int sample_rate=10000; -U16 channel; -U32 data_size=1024, mem_size; -static HANDLE hMem=NULL; -U32 *ai_buf; - -I16 card=-1, card_number =0; -BOOLEAN clear_op; -HANDLE hThread; - -POINT input_pos[16]= {{470, 280}, {440, 280}, - {410, 280}, {380, 280}, - {350, 280}, {320, 280}, - { 290, 280}, {260, 280}, - {230, 280}, {200, 280}, - {170, 280}, {140, 280}, - {110, 280}, {80, 280}, - { 50, 280}, { 20, 280}, - }; -POINT output_pos[16] ={ - {470, 340}, {440, 340}, - {410, 340}, {380, 340}, - {350, 340}, {320, 340}, - { 290, 340}, {260, 340}, - {230, 340}, {200, 340}, - {170, 340}, {140, 340}, - {110, 340}, {80, 340}, - { 50, 340}, { 20, 340}, - }; - -POINT io_pos[16] ={ - {395, 40}, {370, 40}, - {345, 40}, {320, 40}, - {295, 40}, {270, 40}, - { 245, 40}, {220, 40}, - {195, 40}, {170, 40}, - {145, 40}, {120, 40}, - {95, 40}, {70, 40}, - { 45, 40}, { 20, 40}, - }; - -BOOL InitApplication(HANDLE); -BOOL InitInstance(HANDLE, int); -void ProcessThread(void* pArg); - -int PASCAL WinMain(hInstance, hPrevInstance, lpCmdLine, nCmdShow) -HANDLE hInstance, hPrevInstance; -LPSTR lpCmdLine; -int nCmdShow; -{ - MSG msg; - - if (!hPrevInstance) - if (!InitApplication(hInstance)) return(FALSE); - if (!InitInstance(hInstance, nCmdShow)) return(FALSE); - while (GetMessage(&msg, NULL, NULL, NULL)) { - TranslateMessage(&msg); - DispatchMessage(&msg); - } - return(msg.wParam); -} - -BOOL InitApplication(hInstance) -HANDLE hInstance; -{ - WNDCLASS wc; - - /* Main Window Class */ - wc.style = NULL; - wc.lpfnWndProc = (WNDPROC)MainWndProc; - wc.cbClsExtra = 0; - wc.cbWndExtra = 0; - wc.hInstance = hInstance; - wc.hIcon = LoadIcon(hInstance, "MyIcon"); - wc.hCursor = LoadCursor(NULL, IDC_ARROW); - wc.hbrBackground = GetStockObject(LTGRAY_BRUSH); - wc.lpszMenuName = NULL; - wc.lpszClassName = "GenericWClass"; - if (!RegisterClass(&wc)) return(FALSE); -} - - -BOOL InitInstance(hInstance, nCmdShow) -HANDLE hInstance; -int nCmdShow; -{ - HWND hWnd; - HMENU hSampleMenu; - - hInst = hInstance; - hSampleMenu = LoadMenu(hInstance, "U9114Menu"); - hWnd = CreateWindow("GenericWClass", - (LPCSTR)"PCI-9114 Double Buffered DMA", - WS_OVERLAPPEDWINDOW, - CW_USEDEFAULT, - CW_USEDEFAULT, - 520, - 400, - NULL, - hSampleMenu, - hInstance, - NULL); - if (!hWnd) return(FALSE); - ShowWindow(hWnd, nCmdShow); - UpdateWindow(hWnd); - return(TRUE); -} - -BOOL PASCAL setup(HWND hWnd, unsigned message, WPARAM wParam, LPARAM lParam) -{ - int i; - char n[16]; - char s[50]; - switch (message) { - case WM_INITDIALOG: - for (i=0;i<16;i++) { - wsprintf(n, "%d", i); - _strupr(n); - SendMessage(GetDlgItem(hWnd,IDC_COMBO1), CB_ADDSTRING, NULL, (LONG)(LPSTR) n); - } - SendMessage(GetDlgItem(hWnd,IDC_COMBO1) , CB_SETCURSEL, 0, 0L); - - break; - case WM_COMMAND: - switch(LOWORD(wParam)) { - - case IDC_COMBO1: - if (HIWORD(wParam) == CBN_CLOSEUP) { - i = (int)SendMessage(GetDlgItem(hWnd,IDC_COMBO1), CB_GETCURSEL, 0, 0L); - SendMessage(GetDlgItem(hWnd,IDC_COMBO1), CB_GETLBTEXT, i, (LPARAM)((LPCSTR)n)); - card_number = i; - } - return(TRUE); - case IDOK: - if ((card=Register_Card(PCI_9114DG, card_number)) < 0) { - wsprintf(s, "Register_Card Error = %d\n", card); - MessageBox(hWnd, s, "Error", MB_OK); - SendMessage(hWnd, WM_CLOSE, 0, 0L); - break; - } - EndDialog(hWnd, TRUE); - InvalidateRect(hWnd, NULL, FALSE); - return (TRUE); - case IDCANCEL: - EndDialog(hWnd, TRUE); - return (TRUE); - } - break; - } - return (FALSE); -} - -long PASCAL MainWndProc(hWnd, message, wParam, lParam) -HWND hWnd; -UINT message; -WPARAM wParam; -LPARAM lParam; -{ - HDC hDC; - PAINTSTRUCT ps; - int i; - char n[6]; - static int pos=0; - I16 err; - char s[50]; - - switch(message) { - case WM_CREATE: - DialogBox(hInst,IDD_DIALOG2, hWnd, setup); - if(card<0) { - SendMessage(hWnd, WM_CLOSE, 0, 0L); - break; - } - hEdit=CreateWindow("EDIT", NULL, - WS_CHILD | WS_VISIBLE | ES_LEFT, - output_pos[13].x-30, input_pos[15].y+20,40, 20, hWnd, IDC_EDIT, hInst, NULL); - - hEdit1=CreateWindow("EDIT", NULL, - WS_CHILD | WS_VISIBLE | ES_LEFT, - output_pos[13].x+90, input_pos[15].y+20,60, 20, hWnd, IDC_EDIT1, hInst, NULL); - - wsprintf(n,"%d",sample_rate/1000); - SetWindowText(hEdit,n); - - wsprintf(n,"%d",data_size); - SetWindowText(hEdit1,n); - - CreateWindow("SCROLLBAR", NULL, - WS_CHILD | WS_VISIBLE | SBS_VERT, - output_pos[13].x+10, input_pos[15].y+20,20, 20, hWnd, IDC_SCROLL, hInst, NULL); - - hStart = CreateWindow("BUTTON","Start" , - WS_CHILD | WS_VISIBLE , - output_pos[10].x+110, input_pos[10].y+10,50, 30, hWnd, IDC_START, hInst, NULL); - - hStop = CreateWindow("BUTTON","Stop" , - WS_CHILD | WS_VISIBLE , - output_pos[10].x+170, input_pos[10].y+10,50, 30, hWnd, IDC_STOP, hInst, NULL); - - CreateWindow("BUTTON","Data Value" , - WS_CHILD | WS_VISIBLE , - output_pos[10].x+230, input_pos[10].y+10,80, 30, hWnd, IDC_SHOW, hInst, NULL); - EnableWindow(hStop, FALSE); - - CreateWindow("BUTTON","0" , - WS_CHILD | WS_VISIBLE | BS_AUTORADIOBUTTON | BS_LEFTTEXT | WS_GROUP , - output_pos[4].x+50, io_pos[0].y-5+20,25,15, hWnd,IDC_CH, hInst, NULL); - - CreateWindow("BUTTON","1" , - WS_CHILD | WS_VISIBLE | BS_AUTORADIOBUTTON | BS_LEFTTEXT | WS_GROUP, - output_pos[4].x+50, io_pos[0].y+13+20,25,15, hWnd,IDC_CH+1, hInst, NULL); - - CreateWindow("BUTTON","2" , - WS_CHILD | WS_VISIBLE | BS_AUTORADIOBUTTON | BS_LEFTTEXT | WS_GROUP, - output_pos[4].x+50, io_pos[0].y+31+20,25,15, hWnd,IDC_CH+2, hInst, NULL); - - CreateWindow("BUTTON","3" , - WS_CHILD | WS_VISIBLE | BS_AUTORADIOBUTTON | BS_LEFTTEXT | WS_GROUP, - output_pos[4].x+50, io_pos[0].y+49+20,25,15, hWnd,IDC_CH+3, hInst, NULL); - - CreateWindow("BUTTON","4" , - WS_CHILD | WS_VISIBLE | BS_AUTORADIOBUTTON | BS_LEFTTEXT | WS_GROUP, - output_pos[4].x+100, io_pos[0].y-5+20,25,15, hWnd,IDC_CH+4, hInst, NULL); - - CreateWindow("BUTTON","5" , - WS_CHILD | WS_VISIBLE | BS_AUTORADIOBUTTON | BS_LEFTTEXT | WS_GROUP, - output_pos[4].x+100, io_pos[0].y+13+20,25,15, hWnd, IDC_CH+5, hInst, NULL); - - CreateWindow("BUTTON","6" , - WS_CHILD | WS_VISIBLE | BS_AUTORADIOBUTTON | BS_LEFTTEXT | WS_GROUP, - output_pos[4].x+100, io_pos[0].y+31+20,25,15, hWnd,IDC_CH+6, hInst, NULL); - - CreateWindow("BUTTON","7" , - WS_CHILD | WS_VISIBLE | BS_AUTORADIOBUTTON | BS_LEFTTEXT | WS_GROUP, - output_pos[4].x+100, io_pos[0].y+49+20,25,15, hWnd, IDC_CH+7, hInst, NULL); - - //default channel 0 - for (i=1;i<8;i++) bCheck[i]=FALSE; - bCheck[0] = TRUE; - channel = 0; - SendMessage(GetDlgItem(hWnd,IDC_CH), BM_SETCHECK, 1, 0); - - hBlackBrush= CreateSolidBrush(RGB(0,0,0)); - hRedPen= CreatePen(PS_SOLID,1,RGB(255,0,0)); - hBlackPen= CreatePen(PS_SOLID,1,RGB(0,0,0)); - break; - - case WM_PAINT: - hDC = BeginPaint(hWnd, &ps); - - // DMA analog input box - SelectObject(hDC, GetStockObject(GRAY_BRUSH)); - Rectangle(hDC, output_pos[15].x-10, io_pos[15].y-24, output_pos[0].x+26, io_pos[0].y+195); - SetTextColor(hDC,RGB(255,255,0)); - SetBkColor(hDC, RGB(0, 0, 255)); - TextOut(hDC, io_pos[15].x, io_pos[15].y-35, "DMA Input", 9); - SelectObject(hDC, hBlackBrush); - Rectangle(hDC, output_pos[15].x+35, io_pos[15].y-2, output_pos[4].x+41, io_pos[0].y+172); - - SetBkMode(hDC,TRANSPARENT); - TextOut(hDC,output_pos[13].x-60, input_pos[10].y,"Samping Rate",12); - TextOut(hDC,output_pos[13].x+30, input_pos[15].y+20,"KHZ",3); - TextOut(hDC,output_pos[13].x+70, input_pos[10].y,"Buffer Size",11); - TextOut(hDC,input_pos[2].x-10, io_pos[15].y+118,"Range:+/-10V",12); - TextOut(hDC,input_pos[15].x, io_pos[15].y-19,"Volt",4); - TextOut(hDC,input_pos[15].x, io_pos[15].y-5,"10.0",4); - TextOut(hDC,input_pos[15].x, io_pos[15].y+36,"5.00",4); - TextOut(hDC,input_pos[15].x, io_pos[15].y+77,"0.00",4); - TextOut(hDC,input_pos[15].x-3, io_pos[15].y+118,"-5.00",5); - TextOut(hDC,input_pos[15].x-3, io_pos[15].y+159,"-10.0",5); - TextOut(hDC,input_pos[10].x+10, io_pos[10].y-19,"Signals",7); - TextOut(hDC,output_pos[4].x+60, io_pos[0].y-15,"Channel",7); - EndPaint(hWnd, &ps); - break; - - // Sample Rate Spin Control - case WM_VSCROLL: - switch (LOWORD(wParam)) { - case SB_LINEUP : - sample_rate+=5000; - if (sample_rate > 50000 ) sample_rate=50000; - break; - case SB_LINEDOWN: - sample_rate-=5000; - if (sample_rate < 5000 ) sample_rate=5000; - break; - } - wsprintf(n,"%d",sample_rate/1000); - SetWindowText(hEdit,n); - break; - case WM_COMMAND: - switch(LOWORD(wParam)) { - case IDM_EXIT: - SendMessage(hWnd, WM_CLOSE, 0, 0L); - break; - case IDC_CH: - case IDC_CH+1: - case IDC_CH+2: - case IDC_CH+3: - case IDC_CH+4: - case IDC_CH+5: - case IDC_CH+6: - case IDC_CH+7: - if (!bCheck[wParam-IDC_CH]) { - SendMessage(GetDlgItem(hWnd,wParam), BM_SETCHECK, 1, 0); - SendMessage(GetDlgItem(hWnd,IDC_CH+channel), BM_SETCHECK, 0, 0); - bCheck[channel]=FALSE; - } - channel=wParam-IDC_CH; - bCheck[channel]=TRUE; - break; - - case IDC_SHOW : - DialogBox(hInst, "DMABox", hWnd, ShowDMA); - break; - case IDC_START: - if (hMem != NULL) { - GlobalUnfix(hMem); - GlobalUnlock(hMem); - GlobalFree(hMem); - } - // allocate a memory for DMA - data_size=GetDlgItemInt(hWnd,IDC_EDIT1,NULL ,FALSE); - mem_size=data_size * 4; - hMem = GlobalAlloc(GMEM_FIXED | GMEM_ZEROINIT,mem_size); - - ai_buf = (U32 *)GlobalLock(hMem); - if (ai_buf == NULL ) { - MessageBox(hWnd,"DMA", "No Memory", MB_OK); - SendMessage(hWnd, WM_CLOSE, 0, 0L); - break; - } - - GlobalFix(hMem); - - if ((err=AI_9114_Config(card, TRIG_INT_PACER)) != NoError) { - wsprintf(s, "AI_Config Error = %d\n", err); - MessageBox(hWnd, s, "Error", MB_OK); - SendMessage(hWnd, WM_CLOSE, 0, 0L); - break; - } - if ((err=AI_AsyncDblBufferMode (card, 1)) != NoError) { - wsprintf(s, "AI_AsyncDblBufferMode Error = %d\n", err); - MessageBox(hWnd, s, "Error", MB_OK); - SendMessage(hWnd, WM_CLOSE, 0, 0L); - break; - } - if ((err=AI_ContReadChannel(card, channel, AD_B_10_V, ai_buf, data_size, (F64)sample_rate, ASYNCH_OP)) != NoError) { - wsprintf(s, "AI_ContReadPort Error = %d\n", err); - MessageBox(hWnd, s, "Error", MB_OK); - SendMessage(hWnd, WM_CLOSE, 0, 0L); - break; - } - EnableWindow(hStart, FALSE); - EnableWindow(hStop, TRUE); - - hMainWnd = hWnd; - clear_op = FALSE; - hThread = (HANDLE)_beginthread(ProcessThread, 0, 0); - MessageBeep(0); - break; - case IDC_STOP: - clear_op = TRUE; - EnableWindow(hStart, TRUE); - EnableWindow(hStop, FALSE); - break; - default: - return(DefWindowProc(hWnd, message, wParam, lParam)); - } - break; - case WM_DESTROY: - if (card >= 0) Release_Card(card); - DeleteObject(hBlackBrush); - DeleteObject(hRedPen); - GlobalUnfix(hMem); - GlobalUnlock(hMem); - GlobalFree(hMem); - PostQuitMessage(0); - break; - default: - return(DefWindowProc(hWnd, message, wParam, lParam)); - } - return(NULL); -} - -BOOL PASCAL ShowDMA(hDlg, message, wParam, lParam) -HWND hDlg; -UINT message; -WPARAM wParam; -LPARAM lParam; -{ - int nTabs[2] = {32, 92}; - int i; - char cBuf[60]; - char string[10]=" "; - char data_str[3]=" "; - U32 *pp; - switch (message) { - case WM_INITDIALOG: - hListBox = CreateWindow("LISTBOX", "Index Data (Hex)", - WS_CHILD | WS_VISIBLE | LBS_HASSTRINGS | LBS_STANDARD | LBS_USETABSTOPS |WS_CAPTION, - 50, 40, 240, 180, hDlg, 100, hInst, NULL); - SendMessage(hListBox, LB_RESETCONTENT, 0, 0L); - SendMessage(hListBox, LB_SETTABSTOPS, 2, (DWORD)(LPINT) nTabs); - SetDlgItemText(hDlg, DMA_DESCP, "This ListBox can show at most 4000 data"); - itoa(data_size, string, 10); - SetDlgItemText(hDlg, DMA_SPACE, string); - - pp = (U32 *)ai_buf; - if (data_size > 4000) data_size = 4000; - for(i=0;i -#include -#include -#include -#include -#include -#include "resource.h" -#include "dask.h" - -#define IDM_EXIT 110 -#define IDC_ADDR 200 -#define IDC_SCROLL 207 -#define IDC_COMBO1 1015 -#define IDC_START 208 -#define IDC_STOP 209 -#define IDC_PAUSE 210 -#define IDC_EDIT 211 -#define IDC_CHAN 214 -#define IDC_SHOW 213 -#define NONE 0 - -int PASCAL WinMain(HANDLE, HANDLE, LPSTR, int); -long PASCAL MainWndProc(HWND, UINT, WPARAM, LPARAM); -BOOL PASCAL ShowINT(HWND, UINT, WPARAM, LPARAM); - -HANDLE hInst; -HWND hListBox; -HWND hChanComboBox, hCardComboBox; -HWND hADScroll; -HWND hEdit,hEdit1,hData; -int input=0, output=0; -I32 oldinput[8], adinput; -I16 input_data; - -HBRUSH hBlackBrush; -HPEN hRedPen; - -long sample_rate=10000; -unsigned int base_addr=NONE,gain=1; -I16 card = -1, card_number =0;; -long data_size=10240; -U16 channel=0, range = AD_B_10_V; - -DWORD mem_size = 0; -static HANDLE hMem=NULL; -U32 *ai_buf; - -POINT input_pos[16]= {{470, 280}, {440, 280}, - {410, 280}, {380, 280}, - {350, 280}, {320, 280}, - { 290, 280}, {260, 280}, - {230, 280}, {200, 280}, - {170, 280}, {140, 280}, - {110, 280}, {80, 280}, - { 50, 280}, { 20, 280}, - }; - -POINT output_pos[16] ={ - {470, 340}, {440, 340}, - {410, 340}, {380, 340}, - {350, 340}, {320, 340}, - { 290, 340}, {260, 340}, - {230, 340}, {200, 340}, - {170, 340}, {140, 340}, - {110, 340}, {80, 340}, - { 50, 340}, { 20, 340}, - }; - -POINT io_pos[16] ={ - {395, 40}, {370, 40}, - {345, 40}, {320, 40}, - {295, 40}, {270, 40}, - { 245, 40}, {220, 40}, - {195, 40}, {170, 40}, - {145, 40}, {120, 40}, - {95, 40}, {70, 40}, - { 45, 40}, { 20, 40}, - }; - -HBRUSH hLTGreenBrush,hGreenBrush,hBlueBrush,hYellowBrush,hRedBrush,hBlackBrush,hWhiteBrush - ,hLTRedBrush,hLTBlueBrush; -HPEN hRedPen,hYellowPen,hGreenPen,hBluePen,hLTBluePen,hLTRedPen,hLTGreenPen,hWhitePen; - -BOOL InitApplication(HANDLE); -BOOL InitInstance(HANDLE, int); - -int PASCAL WinMain(hInstance, hPrevInstance, lpCmdLine, nCmdShow) -HANDLE hInstance, hPrevInstance; -LPSTR lpCmdLine; -int nCmdShow; -{ - MSG msg; - - if (!hPrevInstance) - if (!InitApplication(hInstance)) return(FALSE); - if (!InitInstance(hInstance, nCmdShow)) return(FALSE); - while (GetMessage(&msg, NULL, NULL, NULL)) { - TranslateMessage(&msg); - DispatchMessage(&msg); - } - return(msg.wParam); -} - -BOOL InitApplication(hInstance) -HANDLE hInstance; -{ - WNDCLASS wc; - - /* Main Window Class */ - wc.style = NULL; - wc.lpfnWndProc = (WNDPROC)MainWndProc; - wc.cbClsExtra = 0; - wc.cbWndExtra = 0; - wc.hInstance = hInstance; - wc.hIcon = LoadIcon(hInstance, "MyIcon"); - wc.hCursor = LoadCursor(NULL, IDC_ARROW); - wc.hbrBackground = GetStockObject(LTGRAY_BRUSH); - wc.lpszMenuName = NULL; - wc.lpszClassName = "GenericWClass"; - if (!RegisterClass(&wc)) return(FALSE); -} - -BOOL InitInstance(hInstance, nCmdShow) -HANDLE hInstance; -int nCmdShow; -{ - HWND hWnd; - HMENU hSampleMenu; - - hInst = hInstance; - hSampleMenu = LoadMenu(hInstance, "U9114Menu"); - hWnd = CreateWindow("GenericWClass", - (LPCSTR)"9114 Autoscan Interrupt(AI0~AI7)", - WS_OVERLAPPEDWINDOW, - CW_USEDEFAULT, - CW_USEDEFAULT, - 520, - 400, - NULL, - hSampleMenu, - hInstance, - NULL); - if (!hWnd) return(FALSE); - ShowWindow(hWnd, nCmdShow); - UpdateWindow(hWnd); - return(TRUE); -} - -BOOL PASCAL setup(HWND hWnd, unsigned message, WPARAM wParam, LPARAM lParam) -{ - int i; - char n[16]; - char s[50]; - switch (message) { - case WM_INITDIALOG: - for (i=0;i<16;i++) { - wsprintf(n, "%d", i); - _strupr(n); - SendMessage(GetDlgItem(hWnd,IDC_COMBO1), CB_ADDSTRING, NULL, (LONG)(LPSTR) n); - } - SendMessage(GetDlgItem(hWnd,IDC_COMBO1) , CB_SETCURSEL, 0, 0L); - - break; - case WM_COMMAND: - switch(LOWORD(wParam)) { - - case IDC_COMBO1: - if (HIWORD(wParam) == CBN_CLOSEUP) { - i = (int)SendMessage(GetDlgItem(hWnd,IDC_COMBO1), CB_GETCURSEL, 0, 0L); - SendMessage(GetDlgItem(hWnd,IDC_COMBO1), CB_GETLBTEXT, i, (LPARAM)((LPCSTR)n)); - card_number = i; - } - return(TRUE); - case IDOK: - if ((card=Register_Card(PCI_9114DG, card_number)) < 0) { - wsprintf(s, "Register_Card Error = %d\n", card); - MessageBox(hWnd, s, "Error", MB_OK); - SendMessage(hWnd, WM_CLOSE, 0, 0L); - break; - } - EndDialog(hWnd, TRUE); - InvalidateRect(hWnd, NULL, FALSE); - return (TRUE); - case IDCANCEL: - EndDialog(hWnd, TRUE); - return (TRUE); - } - break; - } - return (FALSE); -} - -long PASCAL MainWndProc(hWnd, message, wParam, lParam) -HWND hWnd; -UINT message; -WPARAM wParam; -LPARAM lParam; -{ - HDC hDC; - int i; - int cur_channel; - char n[6]; - static int pos=0; - static int count,status; - PAINTSTRUCT ps; - - switch(message) { - case WM_CREATE: - DialogBox(hInst,IDD_DIALOG2, hWnd, setup); - if(card<0) { - SendMessage(hWnd, WM_CLOSE, 0, 0L); - break; - } - hChanComboBox = CreateWindow("ComboBox", NULL, - CBS_DROPDOWNLIST | WS_CHILD | WS_VISIBLE | WS_VSCROLL, - input_pos[10].x, input_pos[15].y+18, 100, 160, hWnd, IDC_CHAN, hInst, NULL); - SendMessage(hChanComboBox, CB_ADDSTRING, NULL, (LONG)(LPSTR)"CH0"); - SendMessage(hChanComboBox, CB_ADDSTRING, NULL, (LONG)(LPSTR)"CH0 ~ CH1"); - SendMessage(hChanComboBox, CB_ADDSTRING, NULL, (LONG)(LPSTR)"CH0 ~ CH2"); - SendMessage(hChanComboBox, CB_ADDSTRING, NULL, (LONG)(LPSTR)"CH0 ~ CH3"); - SendMessage(hChanComboBox, CB_ADDSTRING, NULL, (LONG)(LPSTR)"CH0 ~ CH4"); - SendMessage(hChanComboBox, CB_ADDSTRING, NULL, (LONG)(LPSTR)"CH0 ~ CH5"); - SendMessage(hChanComboBox, CB_ADDSTRING, NULL, (LONG)(LPSTR)"CH0 ~ CH6"); - SendMessage(hChanComboBox, CB_ADDSTRING, NULL, (LONG)(LPSTR)"CH0 ~ CH7"); - SendMessage(hChanComboBox ,CB_SETCURSEL, 0, 0L); - hEdit=CreateWindow("EDIT", NULL, - WS_CHILD | WS_VISIBLE | ES_LEFT, - output_pos[13].x-30, input_pos[15].y+20,40, 20, hWnd, IDC_EDIT, hInst, NULL); - wsprintf(n,"%d",sample_rate/1000); - SetWindowText(hEdit,n); - SendMessage(hCardComboBox ,CB_SETCURSEL, 0, 0L); - CreateWindow("SCROLLBAR", NULL, - WS_CHILD | WS_VISIBLE | SBS_VERT, - output_pos[13].x+10, input_pos[15].y+20,20, 20, hWnd, IDC_SCROLL, hInst, NULL); - CreateWindow("BUTTON","Start" , - WS_CHILD | WS_VISIBLE , - output_pos[10].x+140, input_pos[10].y+10,70, 30, hWnd, IDC_START, hInst, NULL); - hData=CreateWindow("BUTTON","Data Value" , - WS_CHILD | WS_VISIBLE , - output_pos[10].x+230, input_pos[10].y+10,80, 30, hWnd, IDC_SHOW, hInst, NULL); - hLTGreenBrush = CreateSolidBrush(RGB(0, 255, 0)); - hGreenBrush = CreateSolidBrush(RGB(0, 128, 0)); - hBlueBrush = CreateSolidBrush(RGB(0, 0, 255)); - hRedBrush = CreateSolidBrush(RGB(255, 0, 0)); - hYellowBrush= CreateSolidBrush(RGB(255,255,0)); - hBlackBrush= CreateSolidBrush(RGB(0,0,0)); - hLTBlueBrush= CreateSolidBrush(RGB(0,255,255)); - hLTRedBrush= CreateSolidBrush(RGB(255,128,0)); - hWhiteBrush= CreateSolidBrush(RGB(255,255,255)); - hRedPen= CreatePen(PS_SOLID,1,RGB(255,0,0)); - hYellowPen= CreatePen(PS_SOLID,1,RGB(255,255,0)); - hBluePen= CreatePen(PS_SOLID,1,RGB(0,0,255)); - hGreenPen= CreatePen(PS_SOLID,1,RGB(0,255,0)); - hLTBluePen= CreatePen(PS_SOLID,1,RGB(0,128,255)); - hLTRedPen= CreatePen(PS_SOLID,1,RGB(128,128,0)); - hLTGreenPen= CreatePen(PS_SOLID,1,RGB(0,128,0)); - hWhitePen= CreatePen(PS_SOLID,1,RGB(255,255,255)); - break; - case WM_PAINT: - hDC = BeginPaint(hWnd, &ps); - // Analog Input Box - SelectObject(hDC, GetStockObject(GRAY_BRUSH)); - Rectangle(hDC, output_pos[15].x-10, io_pos[15].y-24, output_pos[0].x+26, io_pos[0].y+195); - SetTextColor(hDC,RGB(255,255,0)); - SetBkColor(hDC, RGB(0, 0, 255)); - TextOut(hDC, io_pos[15].x, io_pos[15].y-35, "Interrupt Input(A/D) ", 22); - - SelectObject(hDC, hBlackBrush); - Rectangle(hDC, output_pos[15].x+35, io_pos[15].y-2, output_pos[4].x+41, io_pos[0].y+172); - - SelectObject(hDC,hYellowBrush ); - Rectangle(hDC,output_pos[4].x+68, io_pos[0].y-5+18,output_pos[4].x+80, io_pos[0].y+10+18); - - SelectObject(hDC, hGreenBrush); - Rectangle(hDC,output_pos[4].x+68, io_pos[0].y+13+18,output_pos[4].x+80, io_pos[0].y+28+18); - - SelectObject(hDC, hBlueBrush); - Rectangle(hDC,output_pos[4].x+68, io_pos[0].y+31+18,output_pos[4].x+80, io_pos[0].y+46+18); - - SelectObject(hDC, hRedBrush); - Rectangle(hDC,output_pos[4].x+68, io_pos[0].y+49+18,output_pos[4].x+80, io_pos[0].y+64+18); - - SelectObject(hDC, hLTBlueBrush); - Rectangle(hDC,output_pos[4].x+108, io_pos[0].y-5+18,output_pos[4].x+120, io_pos[0].y+10+18); - - SelectObject(hDC, hLTRedBrush); - Rectangle(hDC,output_pos[4].x+108, io_pos[0].y+13+18,output_pos[4].x+120, io_pos[0].y+28+18); - - SelectObject(hDC, hLTGreenBrush); - Rectangle(hDC,output_pos[4].x+108, io_pos[0].y+31+18,output_pos[4].x+120, io_pos[0].y+46+18); - - SelectObject(hDC, hWhiteBrush); - Rectangle(hDC,output_pos[4].x+108, io_pos[0].y+49+18,output_pos[4].x+120, io_pos[0].y+64+18); - - SetBkMode(hDC,TRANSPARENT); - TextOut(hDC,output_pos[13].x-60, input_pos[10].y,"Samping Rate",12); - TextOut(hDC,output_pos[13].x+30, input_pos[15].y+20,"KHZ",3); - TextOut(hDC,output_pos[13].x+80, input_pos[10].y,"Channel",7); - TextOut(hDC,input_pos[2].x-10, io_pos[15].y+118,"Range: +/-10V",13); - TextOut(hDC,input_pos[15].x, io_pos[15].y-19,"Volts",5); - TextOut(hDC,input_pos[15].x, io_pos[15].y-5,"10.0",4); - TextOut(hDC,input_pos[15].x, io_pos[15].y+36,"5.00",4); - TextOut(hDC,input_pos[15].x, io_pos[15].y+77,"0.00",4); - TextOut(hDC,input_pos[15].x-3, io_pos[15].y+118,"-5.00",5); - TextOut(hDC,input_pos[15].x-3, io_pos[15].y+159,"-10.0",5); - TextOut(hDC,input_pos[10].x+10, io_pos[10].y-19,"Signals",7); - - TextOut(hDC,output_pos[4].x+58, io_pos[0].y-5+18,"0",1); - TextOut(hDC,output_pos[4].x+58, io_pos[0].y+13+18,"1",1); - TextOut(hDC,output_pos[4].x+58, io_pos[0].y+31+18,"2",1); - TextOut(hDC,output_pos[4].x+58, io_pos[0].y+49+18,"3",1); - TextOut(hDC,output_pos[4].x+98, io_pos[0].y-5+18,"4",1); - TextOut(hDC,output_pos[4].x+98, io_pos[0].y+13+18,"5",1); - TextOut(hDC,output_pos[4].x+98, io_pos[0].y+31+18,"6",1); - TextOut(hDC,output_pos[4].x+98, io_pos[0].y+49+18,"7",1); - - EndPaint(hWnd, &ps); - break; - case WM_VSCROLL: - // Sample Rate Spin Control - switch(LOWORD(wParam)){ - case SB_LINEUP : - sample_rate+=1000; - if (sample_rate > 100000 ) sample_rate=100000; - break; - case SB_LINEDOWN: - sample_rate-=1000; - if (sample_rate < 1000 ) sample_rate=1000; - break; - } - wsprintf(n,"%d",sample_rate/1000); - SetWindowText(hEdit,n); - break; - case WM_COMMAND: - switch(LOWORD(wParam)) { - case IDM_EXIT: - SendMessage(hWnd, WM_CLOSE, 0, 0L); - break; - case IDC_SHOW : - DialogBox(hInst, "IntBox", hWnd, ShowINT); - break; - case IDC_CHAN: - if (HIWORD(wParam) == CBN_CLOSEUP) { - if ((i=(int)SendMessage(GetDlgItem(hWnd,IDC_CHAN),CB_GETCURSEL, 0, 0L))>=0 ) { - channel=i; - } - } - break; - case IDC_START: - EnableWindow (hData, FALSE); - if (hMem != NULL) - { - GlobalUnfix(hMem); - GlobalUnlock(hMem); - GlobalFree(hMem); - } - // allocate a memory for user DMA buffer - mem_size=data_size*4; - hMem = GlobalAlloc(GMEM_ZEROINIT,mem_size); - ai_buf = GlobalLock(hMem); - if (ai_buf == NULL ) - { - MessageBox(hWnd,"INT", "No Memory", MB_OK); - } - GlobalFix(hMem); - AI_9114_Config(card,TRIG_INT_PACER); - AI_AsyncDblBufferMode(card, 0); - AI_ContScanChannels (card, channel, range, ai_buf, data_size, (F64)sample_rate, SYNCH_OP); - EnableWindow (hData, TRUE); - for (i=0;i<8;i++) oldinput[i]=-1; - hDC = GetDC(hWnd); - SelectObject(hDC, hBlackBrush); - Rectangle(hDC,output_pos[15].x+35,io_pos[0].y-3,output_pos[15].x+370,io_pos[0].y+175); - - for (i=0;i>16) & 0x1f; - switch(cur_channel) { - case 0: - SelectObject(hDC, hYellowPen); - break; - case 1: - SelectObject(hDC, hLTGreenPen); - break; - case 2: - SelectObject(hDC, hBluePen); - break; - case 3: - SelectObject(hDC, hRedPen); - break; - case 4: - SelectObject(hDC, hLTBluePen); - break; - case 5: - SelectObject(hDC, hLTRedPen); - break; - case 6: - SelectObject(hDC, hGreenPen); - break; - case 7: - SelectObject(hDC, hWhitePen); - break; - } - input_data = (I16)(adinput & 0xffff); - input_data=io_pos[0].y+86-(87*(long)input_data)/32767; - if (oldinput[cur_channel]!=-1) - MoveToEx(hDC,(i*334)/data_size+output_pos[15].x+35,oldinput[cur_channel],NULL); - else - MoveToEx(hDC,(i*334)/data_size+output_pos[15].x+35,input_data,NULL); - LineTo(hDC,(i*334)/data_size+output_pos[15].x+36,input_data); - oldinput[cur_channel]=input_data; - } // for - ReleaseDC(hWnd, hDC); - break; - default: - return(DefWindowProc(hWnd, message, wParam, lParam)); - } - break; - case WM_DESTROY: - if (card >= 0) Release_Card (card); - DeleteObject(hRedBrush); - DeleteObject(hGreenBrush); - DeleteObject(hLTGreenBrush); - DeleteObject(hYellowBrush); - DeleteObject(hBlueBrush) ; - DeleteObject(hBlackBrush); - DeleteObject(hRedPen); - DeleteObject(hYellowPen); - DeleteObject(hBluePen); - DeleteObject(hGreenPen); - DeleteObject(hLTBluePen); - DeleteObject(hLTRedPen); - DeleteObject(hLTGreenPen); - DeleteObject(hWhitePen); - GlobalUnfix(hMem); - GlobalUnlock(hMem); - GlobalFree(hMem); - PostQuitMessage(0); - break; - default: - return(DefWindowProc(hWnd, message, wParam, lParam)); - } - return(NULL); -} - -BOOL PASCAL ShowINT(hDlg, message, wParam, lParam) -HWND hDlg; -UINT message; -WPARAM wParam; -LPARAM lParam; -{ - int nTabs[2] = {32, 92}; - long i; - I16 ch_no; - char cBuf[64]; - char string[10]=" "; - char data_str[3]=" "; - U32 *pp; - switch (message) - { - case WM_INITDIALOG: - hListBox = CreateWindow("LISTBOX", "Index Data CH#",\ - WS_CHILD | WS_VISIBLE | LBS_HASSTRINGS | LBS_STANDARD | LBS_USETABSTOPS |WS_CAPTION, - 50, 40, 240, 180, hDlg, 100, hInst, NULL); - - SendMessage(hListBox, LB_RESETCONTENT, 0, 0L); - SendMessage(hListBox, LB_SETTABSTOPS, 2, (DWORD)(LPINT)nTabs); - pp = ai_buf; - for(i=0; i>16) & 0x1f; - wsprintf(cBuf, "%5d\t %7d %2d", i, (I16)(ai_buf[i]&0xffff), ch_no); - SendMessage(hListBox, LB_INSERTSTRING, -1, (DWORD)(LPSTR)cBuf); - } - itoa(data_size, string, 10); - SetDlgItemText(hDlg, DMA_SPACE, string); - ShowWindow(hListBox, SW_SHOW); - return (TRUE); - case WM_COMMAND: - if (LOWORD(wParam) == ID_STOP) - { - DestroyWindow(hListBox); - EndDialog(hDlg, TRUE); - return (TRUE); - } - break; - } //switch - return (FALSE); -} - \ No newline at end of file diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9114/sdk9114int/9114int.mdp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9114/sdk9114int/9114int.mdp deleted file mode 100644 index 9104ae2..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9114/sdk9114int/9114int.mdp and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9114/sdk9114int/Resource.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9114/sdk9114int/Resource.h deleted file mode 100644 index 690d6b4..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9114/sdk9114int/Resource.h +++ /dev/null @@ -1,26 +0,0 @@ -//{{NO_DEPENDENCIES}} -// Microsoft Developer Studio generated include file. -// Used by 9114int.rc -// -#define IDM_SETUP 101 -#define IDD_DIALOG1 101 -#define IDD_DIALOG2 103 -#define IDM_EXIT 110 -#define ID_STOP 304 -#define DMA_SPACE 500 -#define IDC_COMBO2 1001 -#define IDC_COMBO3 1003 -#define IDC_COMBO1 1015 -#define IDC_COMBO4 1016 -#define IDC_STATIC -1 - -// Next default values for new objects -// -#ifdef APSTUDIO_INVOKED -#ifndef APSTUDIO_READONLY_SYMBOLS -#define _APS_NEXT_RESOURCE_VALUE 104 -#define _APS_NEXT_COMMAND_VALUE 102 -#define _APS_NEXT_CONTROL_VALUE 1001 -#define _APS_NEXT_SYMED_VALUE 101 -#endif -#endif diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9114/vb9114/0.BMP b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9114/vb9114/0.BMP deleted file mode 100644 index 8c61da7..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9114/vb9114/0.BMP and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9114/vb9114/1.BMP b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9114/vb9114/1.BMP deleted file mode 100644 index d049f03..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9114/vb9114/1.BMP and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9114/vb9114/9114glbl.Bas b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9114/vb9114/9114glbl.Bas deleted file mode 100644 index cf2e198..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9114/vb9114/9114glbl.Bas +++ /dev/null @@ -1,10 +0,0 @@ -Attribute VB_Name = "Module1" -Option Explicit - -Declare Function BitBlt Lib "GDI32" (ByVal hDestDC As Long, ByVal X As Long, ByVal Y As Long, ByVal nWidth As Long, ByVal nHeight As Long, ByVal hSrcDC As Long, ByVal XSrc As Long, ByVal YSrc As Long, ByVal dwRop As Long) As Long -Global Const SRCCOPY = &HCC0020 ' (DWORD) dest = source -Global card As Integer -Global card_number As Integer -Global card_type As Integer - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9114/vb9114/Base9114.frm b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9114/vb9114/Base9114.frm deleted file mode 100644 index 5cc36f8..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9114/vb9114/Base9114.frm +++ /dev/null @@ -1,124 +0,0 @@ -VERSION 4.00 -Begin VB.Form SettingForm - Appearance = 0 'Flat - BackColor = &H00C0C0C0& - Caption = "Card Setting" - ClientHeight = 1770 - ClientLeft = 4590 - ClientTop = 3420 - ClientWidth = 2835 - BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851} - Name = "MS Sans Serif" - Size = 8.25 - Charset = 0 - Weight = 700 - Underline = 0 'False - Italic = 0 'False - Strikethrough = 0 'False - EndProperty - ForeColor = &H80000008& - Height = 2175 - Left = 4530 - LinkTopic = "Form2" - ScaleHeight = 1770 - ScaleWidth = 2835 - Top = 3075 - Width = 2955 - Begin VB.ComboBox CardType - Height = 315 - Left = 1440 - TabIndex = 5 - Text = "CardType" - Top = 720 - Width = 1215 - End - Begin VB.CommandButton OKBtn - Appearance = 0 'Flat - BackColor = &H80000005& - Caption = "OK" - Default = -1 'True - Height = 315 - Left = 240 - TabIndex = 0 - Top = 1320 - Width = 915 - End - Begin VB.CommandButton CancelBtn - Appearance = 0 'Flat - BackColor = &H80000005& - Cancel = -1 'True - Caption = "Cancel" - Height = 315 - Left = 1560 - TabIndex = 3 - Top = 1320 - Width = 915 - End - Begin VB.ComboBox CardNum - Appearance = 0 'Flat - Height = 315 - Left = 1440 - Style = 2 'Dropdown List - TabIndex = 2 - Top = 120 - Width = 1215 - End - Begin VB.Label Label1 - Caption = "Card Type" - Height = 255 - Left = 120 - TabIndex = 4 - Top = 720 - Width = 1095 - End - Begin VB.Label Label2 - Appearance = 0 'Flat - BackColor = &H00C0C0C0& - Caption = "Card Number:" - ForeColor = &H00000000& - Height = 195 - Index = 0 - Left = 120 - TabIndex = 1 - Top = 180 - Width = 1275 - End -End -Attribute VB_Name = "SettingForm" -Attribute VB_Creatable = False -Attribute VB_Exposed = False - - -Private Sub BaseAddr_Change() - -End Sub - - -Private Sub CancelBtn_Click() - Unload SettingForm -End Sub - -Private Sub Form_Load() - Dim i As Long - For i = 0 To 15 Step 1 - CardNum.AddItem i - Next - CardNum.ListIndex = 0 - CardType.AddItem "9114DG" - CardType.AddItem "9114HG" - CardType.ListIndex = 0 -End Sub - -Private Sub OKBtn_Click() - card = -1 - card_number = CardNum.ListIndex - Select Case CardType.ListIndex - Case 0 - card_type = PCI_9114DG - Case 1 - card_type = PCI_9114HG - End Select - card = Register_Card(card_type, card_number) - Unload SettingForm -End Sub - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9114/vb9114/C0_DN.BMP b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9114/vb9114/C0_DN.BMP deleted file mode 100644 index 675b60a..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9114/vb9114/C0_DN.BMP and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9114/vb9114/C0_UP.BMP b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9114/vb9114/C0_UP.BMP deleted file mode 100644 index bf0b3fd..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9114/vb9114/C0_UP.BMP and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9114/vb9114/C1_DN.BMP b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9114/vb9114/C1_DN.BMP deleted file mode 100644 index bfe065a..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9114/vb9114/C1_DN.BMP and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9114/vb9114/C1_UP.BMP b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9114/vb9114/C1_UP.BMP deleted file mode 100644 index 7d0f155..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9114/vb9114/C1_UP.BMP and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9114/vb9114/C2_DN.BMP b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9114/vb9114/C2_DN.BMP deleted file mode 100644 index edf3e0f..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9114/vb9114/C2_DN.BMP and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9114/vb9114/C2_UP.BMP b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9114/vb9114/C2_UP.BMP deleted file mode 100644 index 78caf37..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9114/vb9114/C2_UP.BMP and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9114/vb9114/C3_DN.BMP b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9114/vb9114/C3_DN.BMP deleted file mode 100644 index e060b45..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9114/vb9114/C3_DN.BMP and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9114/vb9114/C3_UP.BMP b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9114/vb9114/C3_UP.BMP deleted file mode 100644 index 02dd3c6..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9114/vb9114/C3_UP.BMP and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9114/vb9114/C4_DN.BMP b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9114/vb9114/C4_DN.BMP deleted file mode 100644 index 7c4a80f..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9114/vb9114/C4_DN.BMP and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9114/vb9114/C4_UP.BMP b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9114/vb9114/C4_UP.BMP deleted file mode 100644 index 5295b36..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9114/vb9114/C4_UP.BMP and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9114/vb9114/C5_DN.BMP b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9114/vb9114/C5_DN.BMP deleted file mode 100644 index 6b06f36..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9114/vb9114/C5_DN.BMP and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9114/vb9114/C5_UP.BMP b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9114/vb9114/C5_UP.BMP deleted file mode 100644 index 775143b..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9114/vb9114/C5_UP.BMP and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9114/vb9114/C6_DN.BMP b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9114/vb9114/C6_DN.BMP deleted file mode 100644 index 62b6de7..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9114/vb9114/C6_DN.BMP and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9114/vb9114/C6_UP.BMP b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9114/vb9114/C6_UP.BMP deleted file mode 100644 index 5e50a6c..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9114/vb9114/C6_UP.BMP and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9114/vb9114/C7_DN.BMP b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9114/vb9114/C7_DN.BMP deleted file mode 100644 index abe1fe0..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9114/vb9114/C7_DN.BMP and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9114/vb9114/C7_UP.BMP b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9114/vb9114/C7_UP.BMP deleted file mode 100644 index 3f2299a..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9114/vb9114/C7_UP.BMP and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9114/vb9114/TUNER.BMP b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9114/vb9114/TUNER.BMP deleted file mode 100644 index c063a49..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9114/vb9114/TUNER.BMP and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9114/vb9114/VB9114.FRX b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9114/vb9114/VB9114.FRX deleted file mode 100644 index ba1ccf9..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9114/vb9114/VB9114.FRX and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9114/vb9114/Vb9114.vbp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9114/vb9114/Vb9114.vbp deleted file mode 100644 index 1ed2e1d..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9114/vb9114/Vb9114.vbp +++ /dev/null @@ -1,22 +0,0 @@ -Form=vb9114.Frm -Module=Module1; 9114glbl.Bas -Module=DASK; ..\..\..\include\Dask.bas -Form=Base9114.frm -Reference=*\G{00025E04-0000-0000-C000-000000000046}#2.5#0#D:\Program Files\Common Files\Microsoft Shared\DD:\Program Fil#Microsoft DAO 2.5/3.0 Compatibility Library -ProjWinSize=147,556,192,215 -ProjWinShow=2 -IconForm="util9114" -HelpFile="" -Title="UTIL9114" -ExeName32="vb9114.exe" -ExeName="9114.EXE" -Name="vb4projectUtil9114" -HelpContextID="0" -StartMode=0 -VersionCompatible32="0" -MajorVer=1 -MinorVer=0 -RevisionVer=0 -AutoIncrementVer=0 -ServerSupportFiles=0 -VersionCompanyName="ADLink" diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9114/vb9114/Vb9114.vbw b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9114/vb9114/Vb9114.vbw deleted file mode 100644 index fd8969f..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9114/vb9114/Vb9114.vbw +++ /dev/null @@ -1,3 +0,0 @@ -util9114 = 44, 44, 546, 265, Z, 22, 22, 524, 243, -Module1 = 0, 0, 0, 0, C -DASK = 0, 0, 0, 0, C diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9114/vb9114/vb9114.Frm b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9114/vb9114/vb9114.Frm deleted file mode 100644 index 0968410..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9114/vb9114/vb9114.Frm +++ /dev/null @@ -1,1837 +0,0 @@ -VERSION 4.00 -Begin VB.Form util9114 - Appearance = 0 'Flat - BackColor = &H00C0C0C0& - Caption = "9114 Sample Program (AI0~AI15)" - ClientHeight = 5715 - ClientLeft = 1095 - ClientTop = 1650 - ClientWidth = 8520 - BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851} - Name = "MS Sans Serif" - Size = 8.25 - Charset = 0 - Weight = 700 - Underline = 0 'False - Italic = 0 'False - Strikethrough = 0 'False - EndProperty - ForeColor = &H80000008& - Height = 6120 - Left = 1035 - LinkTopic = "Form1" - ScaleHeight = 381 - ScaleMode = 3 'Pixel - ScaleWidth = 568 - Top = 1305 - Width = 8640 - Begin VB.CommandButton ExitBtn - Appearance = 0 'Flat - BackColor = &H80000005& - Caption = "Exit" - BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851} - Name = "MS Sans Serif" - Size = 8.25 - Charset = 0 - Weight = 400 - Underline = 0 'False - Italic = 0 'False - Strikethrough = 0 'False - EndProperty - Height = 315 - Left = 6840 - TabIndex = 45 - Top = 5160 - Width = 795 - End - Begin VB.Frame Frame3D2 - Appearance = 0 'Flat - BackColor = &H00C0C0C0& - Caption = "Range" - BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851} - Name = "MS Sans Serif" - Size = 8.25 - Charset = 0 - Weight = 400 - Underline = 0 'False - Italic = 0 'False - Strikethrough = 0 'False - EndProperty - ForeColor = &H00000000& - Height = 735 - Left = 6240 - TabIndex = 2 - Top = 3420 - Width = 2055 - Begin VB.ComboBox Gain - Appearance = 0 'Flat - Height = 315 - ItemData = "vb9114.frx":0000 - Left = 120 - List = "vb9114.frx":0019 - TabIndex = 3 - Text = "Gain" - Top = 320 - Width = 1575 - End - End - Begin VB.Frame DO_Frame - Appearance = 0 'Flat - BackColor = &H00C0C0C0& - Caption = "Digital Output" - BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851} - Name = "MS Sans Serif" - Size = 9.75 - Charset = 0 - Weight = 700 - Underline = 0 'False - Italic = 0 'False - Strikethrough = 0 'False - EndProperty - ForeColor = &H00FF0000& - Height = 735 - Left = 120 - TabIndex = 5 - Top = 4260 - Width = 5895 - Begin VB.Image DOP - Appearance = 0 'Flat - Height = 300 - Index = 0 - Left = 5520 - Picture = "vb9114.frx":0059 - Top = 280 - Width = 300 - End - Begin VB.Image DOP - Appearance = 0 'Flat - Height = 300 - Index = 1 - Left = 5160 - Picture = "vb9114.frx":01CB - Top = 280 - Width = 300 - End - Begin VB.Image DOP - Appearance = 0 'Flat - Height = 300 - Index = 3 - Left = 4440 - Picture = "vb9114.frx":033D - Top = 280 - Width = 300 - End - Begin VB.Image DOP - Appearance = 0 'Flat - Height = 300 - Index = 2 - Left = 4800 - Picture = "vb9114.frx":04AF - Top = 280 - Width = 300 - End - Begin VB.Image DOP - Appearance = 0 'Flat - Height = 300 - Index = 4 - Left = 4080 - Picture = "vb9114.frx":0621 - Top = 280 - Width = 300 - End - Begin VB.Image DOP - Appearance = 0 'Flat - Height = 300 - Index = 5 - Left = 3720 - Picture = "vb9114.frx":0793 - Top = 280 - Width = 300 - End - Begin VB.Image DOP - Appearance = 0 'Flat - Height = 300 - Index = 6 - Left = 3360 - Picture = "vb9114.frx":0905 - Top = 280 - Width = 300 - End - Begin VB.Image DOP - Appearance = 0 'Flat - Height = 300 - Index = 7 - Left = 3000 - Picture = "vb9114.frx":0A77 - Top = 280 - Width = 300 - End - Begin VB.Image DOP - Appearance = 0 'Flat - Height = 300 - Index = 8 - Left = 2640 - Picture = "vb9114.frx":0BE9 - Top = 280 - Width = 300 - End - Begin VB.Image DOP - Appearance = 0 'Flat - Height = 300 - Index = 9 - Left = 2280 - Picture = "vb9114.frx":0D5B - Top = 280 - Width = 300 - End - Begin VB.Image DOP - Appearance = 0 'Flat - Height = 300 - Index = 10 - Left = 1920 - Picture = "vb9114.frx":0ECD - Top = 280 - Width = 300 - End - Begin VB.Image DOP - Appearance = 0 'Flat - Height = 300 - Index = 11 - Left = 1560 - Picture = "vb9114.frx":103F - Top = 280 - Width = 300 - End - Begin VB.Image DOP - Appearance = 0 'Flat - Height = 300 - Index = 12 - Left = 1200 - Picture = "vb9114.frx":11B1 - Top = 280 - Width = 300 - End - Begin VB.Image DOP - Appearance = 0 'Flat - Height = 300 - Index = 13 - Left = 840 - Picture = "vb9114.frx":1323 - Top = 280 - Width = 300 - End - Begin VB.Image DOP - Appearance = 0 'Flat - Height = 300 - Index = 14 - Left = 480 - Picture = "vb9114.frx":1495 - Top = 280 - Width = 300 - End - Begin VB.Image DOP - Appearance = 0 'Flat - Height = 300 - Index = 15 - Left = 120 - Picture = "vb9114.frx":1607 - Top = 280 - Width = 300 - End - End - Begin VB.Frame DI_Frame - Appearance = 0 'Flat - BackColor = &H00C0C0C0& - Caption = "Digital Input" - BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851} - Name = "MS Sans Serif" - Size = 9.75 - Charset = 0 - Weight = 700 - Underline = 0 'False - Italic = 0 'False - Strikethrough = 0 'False - EndProperty - ForeColor = &H00FF0000& - Height = 735 - Left = 120 - TabIndex = 6 - Top = 3300 - Width = 5895 - Begin VB.Image DI - Appearance = 0 'Flat - Height = 300 - Index = 15 - Left = 120 - Picture = "vb9114.frx":1779 - Top = 280 - Width = 300 - End - Begin VB.Image DI - Appearance = 0 'Flat - Height = 300 - Index = 14 - Left = 480 - Picture = "vb9114.frx":18EB - Top = 280 - Width = 300 - End - Begin VB.Image DI - Appearance = 0 'Flat - Height = 300 - Index = 13 - Left = 840 - Picture = "vb9114.frx":1A5D - Top = 280 - Width = 300 - End - Begin VB.Image DI - Appearance = 0 'Flat - Height = 300 - Index = 12 - Left = 1200 - Picture = "vb9114.frx":1BCF - Top = 280 - Width = 300 - End - Begin VB.Image DI - Appearance = 0 'Flat - Height = 300 - Index = 11 - Left = 1560 - Picture = "vb9114.frx":1D41 - Top = 280 - Width = 300 - End - Begin VB.Image DI - Appearance = 0 'Flat - Height = 300 - Index = 10 - Left = 1920 - Picture = "vb9114.frx":1EB3 - Top = 280 - Width = 300 - End - Begin VB.Image DI - Appearance = 0 'Flat - Height = 300 - Index = 9 - Left = 2280 - Picture = "vb9114.frx":2025 - Top = 280 - Width = 300 - End - Begin VB.Image DI - Appearance = 0 'Flat - Height = 300 - Index = 8 - Left = 2640 - Picture = "vb9114.frx":2197 - Top = 280 - Width = 300 - End - Begin VB.Image DI - Appearance = 0 'Flat - Height = 300 - Index = 7 - Left = 3000 - Picture = "vb9114.frx":2309 - Top = 280 - Width = 300 - End - Begin VB.Image DI - Appearance = 0 'Flat - Height = 300 - Index = 6 - Left = 3360 - Picture = "vb9114.frx":247B - Top = 280 - Width = 300 - End - Begin VB.Image DI - Appearance = 0 'Flat - Height = 300 - Index = 5 - Left = 3720 - Picture = "vb9114.frx":25ED - Top = 280 - Width = 300 - End - Begin VB.Image DI - Appearance = 0 'Flat - Height = 300 - Index = 4 - Left = 4080 - Picture = "vb9114.frx":275F - Top = 280 - Width = 300 - End - Begin VB.Image DI - Appearance = 0 'Flat - Height = 300 - Index = 3 - Left = 4440 - Picture = "vb9114.frx":28D1 - Top = 280 - Width = 300 - End - Begin VB.Image DI - Appearance = 0 'Flat - Height = 300 - Index = 2 - Left = 4800 - Picture = "vb9114.frx":2A43 - Top = 280 - Width = 300 - End - Begin VB.Image DI - Appearance = 0 'Flat - Height = 300 - Index = 1 - Left = 5160 - Picture = "vb9114.frx":2BB5 - Top = 280 - Width = 300 - End - Begin VB.Image DI - Appearance = 0 'Flat - Height = 300 - Index = 0 - Left = 5520 - Picture = "vb9114.frx":2D27 - Top = 280 - Width = 300 - End - End - Begin VB.Frame Channel_Frame - Appearance = 0 'Flat - BackColor = &H00C0C0C0& - Caption = "Channel" - BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851} - Name = "MS Sans Serif" - Size = 8.25 - Charset = 0 - Weight = 400 - Underline = 0 'False - Italic = 0 'False - Strikethrough = 0 'False - EndProperty - ForeColor = &H80000008& - Height = 1335 - Index = 1 - Left = 6360 - TabIndex = 8 - Top = 1680 - Width = 1575 - Begin VB.Label Label1 - Appearance = 0 'Flat - BackColor = &H00C0C0C0& - Caption = "15" - ForeColor = &H80000008& - Height = 195 - Index = 24 - Left = 780 - TabIndex = 9 - Top = 960 - Width = 240 - End - Begin VB.Label Label1 - Appearance = 0 'Flat - BackColor = &H00C0C0C0& - Caption = "14" - ForeColor = &H80000008& - Height = 195 - Index = 25 - Left = 780 - TabIndex = 10 - Top = 720 - Width = 240 - End - Begin VB.Label Label1 - Appearance = 0 'Flat - BackColor = &H00C0C0C0& - Caption = "13" - ForeColor = &H80000008& - Height = 195 - Index = 26 - Left = 780 - TabIndex = 11 - Top = 480 - Width = 240 - End - Begin VB.Label Label1 - Appearance = 0 'Flat - BackColor = &H00C0C0C0& - Caption = "12" - ForeColor = &H80000008& - Height = 195 - Index = 27 - Left = 780 - TabIndex = 12 - Top = 240 - Width = 240 - End - Begin VB.Label Label1 - Appearance = 0 'Flat - BackColor = &H00C0C0C0& - Caption = "11" - ForeColor = &H80000008& - Height = 195 - Index = 28 - Left = 120 - TabIndex = 13 - Top = 960 - Width = 240 - End - Begin VB.Label Label1 - Appearance = 0 'Flat - BackColor = &H00C0C0C0& - Caption = "10" - ForeColor = &H80000008& - Height = 195 - Index = 29 - Left = 120 - TabIndex = 14 - Top = 720 - Width = 240 - End - Begin VB.Label Label1 - Appearance = 0 'Flat - BackColor = &H00C0C0C0& - Caption = "9" - ForeColor = &H80000008& - Height = 195 - Index = 30 - Left = 210 - TabIndex = 15 - Top = 480 - Width = 135 - End - Begin VB.Label Label1 - Appearance = 0 'Flat - BackColor = &H00C0C0C0& - Caption = "8" - ForeColor = &H80000008& - Height = 195 - Index = 31 - Left = 210 - TabIndex = 16 - Top = 240 - Width = 135 - End - Begin VB.Image Channel - Appearance = 0 'Flat - BorderStyle = 1 'Fixed Single - Height = 210 - Index = 8 - Left = 390 - Picture = "vb9114.frx":2E99 - Stretch = -1 'True - Top = 240 - Width = 270 - End - Begin VB.Image Channel - Appearance = 0 'Flat - BorderStyle = 1 'Fixed Single - Height = 210 - Index = 9 - Left = 390 - Picture = "vb9114.frx":2FC3 - Stretch = -1 'True - Top = 480 - Width = 270 - End - Begin VB.Image Channel - Appearance = 0 'Flat - BorderStyle = 1 'Fixed Single - Height = 210 - Index = 10 - Left = 390 - Picture = "vb9114.frx":30ED - Stretch = -1 'True - Top = 720 - Width = 270 - End - Begin VB.Image Channel - Appearance = 0 'Flat - BorderStyle = 1 'Fixed Single - Height = 210 - Index = 11 - Left = 390 - Picture = "vb9114.frx":3217 - Stretch = -1 'True - Top = 960 - Width = 270 - End - Begin VB.Image Channel - Appearance = 0 'Flat - BorderStyle = 1 'Fixed Single - Height = 210 - Index = 12 - Left = 1050 - Picture = "vb9114.frx":3341 - Stretch = -1 'True - Top = 240 - Width = 270 - End - Begin VB.Image Channel - Appearance = 0 'Flat - BorderStyle = 1 'Fixed Single - Height = 210 - Index = 13 - Left = 1050 - Picture = "vb9114.frx":346B - Stretch = -1 'True - Top = 480 - Width = 270 - End - Begin VB.Image Channel - Appearance = 0 'Flat - BorderStyle = 1 'Fixed Single - Height = 210 - Index = 14 - Left = 1050 - Picture = "vb9114.frx":3595 - Stretch = -1 'True - Top = 720 - Width = 270 - End - Begin VB.Image Channel - Appearance = 0 'Flat - BorderStyle = 1 'Fixed Single - Height = 210 - Index = 15 - Left = 1050 - Picture = "vb9114.frx":36BF - Stretch = -1 'True - Top = 960 - Width = 270 - End - End - Begin VB.Frame Channel_Frame - Appearance = 0 'Flat - BackColor = &H00C0C0C0& - Caption = "Channel" - BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851} - Name = "MS Sans Serif" - Size = 8.25 - Charset = 0 - Weight = 400 - Underline = 0 'False - Italic = 0 'False - Strikethrough = 0 'False - EndProperty - ForeColor = &H80000008& - Height = 1335 - Index = 0 - Left = 6360 - TabIndex = 17 - Top = 360 - Width = 1575 - Begin VB.Image Channel - Appearance = 0 'Flat - BorderStyle = 1 'Fixed Single - Height = 210 - Index = 7 - Left = 1080 - Picture = "vb9114.frx":37E9 - Stretch = -1 'True - Top = 960 - Width = 270 - End - Begin VB.Image Channel - Appearance = 0 'Flat - BorderStyle = 1 'Fixed Single - Height = 210 - Index = 6 - Left = 1080 - Picture = "vb9114.frx":3913 - Stretch = -1 'True - Top = 720 - Width = 270 - End - Begin VB.Image Channel - Appearance = 0 'Flat - BorderStyle = 1 'Fixed Single - Height = 210 - Index = 5 - Left = 1080 - Picture = "vb9114.frx":3A3D - Stretch = -1 'True - Top = 480 - Width = 270 - End - Begin VB.Image Channel - Appearance = 0 'Flat - BorderStyle = 1 'Fixed Single - Height = 210 - Index = 4 - Left = 1080 - Picture = "vb9114.frx":3B67 - Stretch = -1 'True - Top = 240 - Width = 270 - End - Begin VB.Image Channel - Appearance = 0 'Flat - BorderStyle = 1 'Fixed Single - Height = 210 - Index = 3 - Left = 420 - Picture = "vb9114.frx":3C91 - Stretch = -1 'True - Top = 960 - Width = 270 - End - Begin VB.Image Channel - Appearance = 0 'Flat - BorderStyle = 1 'Fixed Single - Height = 210 - Index = 2 - Left = 420 - Picture = "vb9114.frx":3DBB - Stretch = -1 'True - Top = 720 - Width = 270 - End - Begin VB.Image Channel - Appearance = 0 'Flat - BorderStyle = 1 'Fixed Single - Height = 210 - Index = 1 - Left = 420 - Picture = "vb9114.frx":3EE5 - Stretch = -1 'True - Top = 480 - Width = 270 - End - Begin VB.Image Channel - Appearance = 0 'Flat - BorderStyle = 1 'Fixed Single - Height = 210 - Index = 0 - Left = 420 - Picture = "vb9114.frx":400F - Stretch = -1 'True - Top = 240 - Width = 270 - End - Begin VB.Label Label1 - Appearance = 0 'Flat - BackColor = &H00C0C0C0& - Caption = "0" - ForeColor = &H80000008& - Height = 195 - Index = 14 - Left = 240 - TabIndex = 18 - Top = 240 - Width = 135 - End - Begin VB.Label Label1 - Appearance = 0 'Flat - BackColor = &H00C0C0C0& - Caption = "1" - ForeColor = &H80000008& - Height = 195 - Index = 13 - Left = 240 - TabIndex = 19 - Top = 480 - Width = 135 - End - Begin VB.Label Label1 - Appearance = 0 'Flat - BackColor = &H00C0C0C0& - Caption = "2" - ForeColor = &H80000008& - Height = 195 - Index = 12 - Left = 240 - TabIndex = 20 - Top = 720 - Width = 135 - End - Begin VB.Label Label1 - Appearance = 0 'Flat - BackColor = &H00C0C0C0& - Caption = "3" - ForeColor = &H80000008& - Height = 195 - Index = 11 - Left = 240 - TabIndex = 21 - Top = 960 - Width = 135 - End - Begin VB.Label Label1 - Appearance = 0 'Flat - BackColor = &H00C0C0C0& - Caption = "4" - ForeColor = &H80000008& - Height = 195 - Index = 10 - Left = 900 - TabIndex = 22 - Top = 240 - Width = 135 - End - Begin VB.Label Label1 - Appearance = 0 'Flat - BackColor = &H00C0C0C0& - Caption = "5" - ForeColor = &H80000008& - Height = 195 - Index = 9 - Left = 900 - TabIndex = 23 - Top = 480 - Width = 135 - End - Begin VB.Label Label1 - Appearance = 0 'Flat - BackColor = &H00C0C0C0& - Caption = "6" - ForeColor = &H80000008& - Height = 195 - Index = 8 - Left = 900 - TabIndex = 24 - Top = 720 - Width = 135 - End - Begin VB.Label Label1 - Appearance = 0 'Flat - BackColor = &H00C0C0C0& - Caption = "7" - ForeColor = &H80000008& - Height = 195 - Index = 7 - Left = 900 - TabIndex = 25 - Top = 960 - Width = 135 - End - End - Begin VB.Frame AD_Frame - Appearance = 0 'Flat - BackColor = &H00C0C0C0& - Caption = "Analog Input (A/D)" - BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851} - Name = "MS Sans Serif" - Size = 9.75 - Charset = 0 - Weight = 700 - Underline = 0 'False - Italic = 0 'False - Strikethrough = 0 'False - EndProperty - ForeColor = &H00FF0000& - Height = 3255 - Left = 240 - TabIndex = 31 - Top = 0 - Width = 7935 - Begin VB.PictureBox Signal - Appearance = 0 'Flat - BackColor = &H00000000& - BorderStyle = 0 'None - ForeColor = &H80000008& - Height = 1200 - Index = 0 - Left = 900 - ScaleHeight = 80 - ScaleMode = 3 'Pixel - ScaleWidth = 333 - TabIndex = 26 - Top = 480 - Width = 4995 - End - Begin VB.PictureBox Signal - Appearance = 0 'Flat - BackColor = &H00000000& - BorderStyle = 0 'None - ForeColor = &H80000008& - Height = 1200 - Index = 1 - Left = 900 - ScaleHeight = 80 - ScaleMode = 3 'Pixel - ScaleWidth = 333 - TabIndex = 40 - Top = 1800 - Width = 4995 - End - Begin VB.Line Line1 - Index = 4 - X1 = 840 - X2 = 900 - Y1 = 1665 - Y2 = 1665 - End - Begin VB.Line Line1 - Index = 3 - X1 = 840 - X2 = 900 - Y1 = 1380 - Y2 = 1380 - End - Begin VB.Line Line1 - Index = 2 - X1 = 840 - X2 = 900 - Y1 = 1080 - Y2 = 1080 - End - Begin VB.Line Line1 - Index = 1 - X1 = 840 - X2 = 900 - Y1 = 780 - Y2 = 780 - End - Begin VB.Line Line1 - Index = 0 - X1 = 840 - X2 = 900 - Y1 = 480 - Y2 = 480 - End - Begin VB.Line Line1 - Index = 5 - X1 = 840 - X2 = 900 - Y1 = 1800 - Y2 = 1800 - End - Begin VB.Line Line1 - Index = 6 - X1 = 840 - X2 = 900 - Y1 = 2100 - Y2 = 2100 - End - Begin VB.Line Line1 - Index = 7 - X1 = 840 - X2 = 900 - Y1 = 2400 - Y2 = 2400 - End - Begin VB.Line Line1 - Index = 8 - X1 = 840 - X2 = 900 - Y1 = 2700 - Y2 = 2700 - End - Begin VB.Line Line1 - Index = 9 - X1 = 840 - X2 = 900 - Y1 = 2985 - Y2 = 2985 - End - Begin VB.Label Label1 - Alignment = 1 'Right Justify - Appearance = 0 'Flat - BackColor = &H00C0C0C0& - Caption = "-5.00" - BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851} - Name = "MS Serif" - Size = 6.75 - Charset = 0 - Weight = 400 - Underline = 0 'False - Italic = 0 'False - Strikethrough = 0 'False - EndProperty - ForeColor = &H80000008& - Height = 195 - Index = 6 - Left = 345 - TabIndex = 27 - Top = 1590 - Width = 480 - End - Begin VB.Label Label1 - Alignment = 1 'Right Justify - Appearance = 0 'Flat - BackColor = &H00C0C0C0& - Caption = "-2.50" - BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851} - Name = "MS Serif" - Size = 6.75 - Charset = 0 - Weight = 400 - Underline = 0 'False - Italic = 0 'False - Strikethrough = 0 'False - EndProperty - ForeColor = &H80000008& - Height = 195 - Index = 5 - Left = 345 - TabIndex = 28 - Top = 1350 - Width = 480 - End - Begin VB.Label Label1 - Alignment = 1 'Right Justify - Appearance = 0 'Flat - BackColor = &H00C0C0C0& - Caption = "0.00" - BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851} - Name = "MS Serif" - Size = 6.75 - Charset = 0 - Weight = 400 - Underline = 0 'False - Italic = 0 'False - Strikethrough = 0 'False - EndProperty - ForeColor = &H80000008& - Height = 195 - Index = 4 - Left = 345 - TabIndex = 29 - Top = 1050 - Width = 480 - End - Begin VB.Label Label1 - Alignment = 1 'Right Justify - Appearance = 0 'Flat - BackColor = &H00C0C0C0& - Caption = "2.50" - BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851} - Name = "MS Serif" - Size = 6.75 - Charset = 0 - Weight = 400 - Underline = 0 'False - Italic = 0 'False - Strikethrough = 0 'False - EndProperty - ForeColor = &H80000008& - Height = 195 - Index = 3 - Left = 345 - TabIndex = 30 - Top = 750 - Width = 480 - End - Begin VB.Label Label1 - Alignment = 1 'Right Justify - Appearance = 0 'Flat - BackColor = &H00C0C0C0& - Caption = "5.00" - BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851} - Name = "MS Serif" - Size = 6.75 - Charset = 0 - Weight = 400 - Underline = 0 'False - Italic = 0 'False - Strikethrough = 0 'False - EndProperty - ForeColor = &H80000008& - Height = 195 - Index = 2 - Left = 345 - TabIndex = 32 - Top = 420 - Width = 480 - End - Begin VB.Label Label1 - Appearance = 0 'Flat - BackColor = &H00C0C0C0& - Caption = "V" - BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851} - Name = "MS Sans Serif" - Size = 8.25 - Charset = 0 - Weight = 400 - Underline = 0 'False - Italic = 0 'False - Strikethrough = 0 'False - EndProperty - ForeColor = &H80000008& - Height = 195 - Index = 1 - Left = 240 - TabIndex = 33 - Top = 690 - Width = 135 - End - Begin VB.Label Label1 - Appearance = 0 'Flat - BackColor = &H00C0C0C0& - Caption = "Signals" - BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851} - Name = "MS Sans Serif" - Size = 8.25 - Charset = 0 - Weight = 400 - Underline = 0 'False - Italic = 0 'False - Strikethrough = 0 'False - EndProperty - ForeColor = &H80000008& - Height = 195 - Index = 0 - Left = 3060 - TabIndex = 34 - Top = 240 - Width = 735 - End - Begin VB.Label Label1 - Appearance = 0 'Flat - BackColor = &H00C0C0C0& - Caption = "O" - BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851} - Name = "MS Sans Serif" - Size = 8.25 - Charset = 0 - Weight = 400 - Underline = 0 'False - Italic = 0 'False - Strikethrough = 0 'False - EndProperty - ForeColor = &H80000008& - Height = 195 - Index = 15 - Left = 240 - TabIndex = 35 - Top = 1110 - Width = 135 - End - Begin VB.Label Label1 - Appearance = 0 'Flat - BackColor = &H00C0C0C0& - Caption = "L" - BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851} - Name = "MS Sans Serif" - Size = 8.25 - Charset = 0 - Weight = 400 - Underline = 0 'False - Italic = 0 'False - Strikethrough = 0 'False - EndProperty - ForeColor = &H80000008& - Height = 195 - Index = 16 - Left = 240 - TabIndex = 36 - Top = 1470 - Width = 135 - End - Begin VB.Label Label1 - Appearance = 0 'Flat - BackColor = &H00C0C0C0& - Caption = "T" - BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851} - Name = "MS Sans Serif" - Size = 8.25 - Charset = 0 - Weight = 400 - Underline = 0 'False - Italic = 0 'False - Strikethrough = 0 'False - EndProperty - ForeColor = &H80000008& - Height = 195 - Index = 17 - Left = 240 - TabIndex = 37 - Top = 1890 - Width = 135 - End - Begin VB.Label Label1 - Appearance = 0 'Flat - BackColor = &H00C0C0C0& - Caption = "S" - BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851} - Name = "MS Sans Serif" - Size = 8.25 - Charset = 0 - Weight = 400 - Underline = 0 'False - Italic = 0 'False - Strikethrough = 0 'False - EndProperty - ForeColor = &H80000008& - Height = 195 - Index = 18 - Left = 240 - TabIndex = 38 - Top = 2310 - Width = 135 - End - Begin VB.Label Label1 - Alignment = 1 'Right Justify - Appearance = 0 'Flat - BackColor = &H00C0C0C0& - Caption = "5.00" - BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851} - Name = "MS Serif" - Size = 6.75 - Charset = 0 - Weight = 400 - Underline = 0 'False - Italic = 0 'False - Strikethrough = 0 'False - EndProperty - ForeColor = &H80000008& - Height = 195 - Index = 19 - Left = 345 - TabIndex = 39 - Top = 1800 - Width = 480 - End - Begin VB.Label Label1 - Alignment = 1 'Right Justify - Appearance = 0 'Flat - BackColor = &H00C0C0C0& - Caption = "2.50" - BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851} - Name = "MS Serif" - Size = 6.75 - Charset = 0 - Weight = 400 - Underline = 0 'False - Italic = 0 'False - Strikethrough = 0 'False - EndProperty - ForeColor = &H80000008& - Height = 195 - Index = 20 - Left = 345 - TabIndex = 41 - Top = 2070 - Width = 480 - End - Begin VB.Label Label1 - Alignment = 1 'Right Justify - Appearance = 0 'Flat - BackColor = &H00C0C0C0& - Caption = "0.00" - BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851} - Name = "MS Serif" - Size = 6.75 - Charset = 0 - Weight = 400 - Underline = 0 'False - Italic = 0 'False - Strikethrough = 0 'False - EndProperty - ForeColor = &H80000008& - Height = 195 - Index = 21 - Left = 345 - TabIndex = 42 - Top = 2370 - Width = 480 - End - Begin VB.Label Label1 - Alignment = 1 'Right Justify - Appearance = 0 'Flat - BackColor = &H00C0C0C0& - Caption = "-2.50" - BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851} - Name = "MS Serif" - Size = 6.75 - Charset = 0 - Weight = 400 - Underline = 0 'False - Italic = 0 'False - Strikethrough = 0 'False - EndProperty - ForeColor = &H80000008& - Height = 195 - Index = 22 - Left = 345 - TabIndex = 43 - Top = 2670 - Width = 480 - End - Begin VB.Label Label1 - Alignment = 1 'Right Justify - Appearance = 0 'Flat - BackColor = &H00C0C0C0& - Caption = "-5.00" - BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851} - Name = "MS Serif" - Size = 6.75 - Charset = 0 - Weight = 400 - Underline = 0 'False - Italic = 0 'False - Strikethrough = 0 'False - EndProperty - ForeColor = &H80000008& - Height = 195 - Index = 23 - Left = 345 - TabIndex = 44 - Top = 2910 - Width = 480 - End - End - Begin VB.Timer Timer1 - Enabled = 0 'False - Interval = 70 - Left = 300 - Top = 5280 - End - Begin VB.CommandButton StopBtn - Appearance = 0 'Flat - BackColor = &H80000005& - Caption = "Stop" - Enabled = 0 'False - BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851} - Name = "MS Sans Serif" - Size = 8.25 - Charset = 0 - Weight = 400 - Underline = 0 'False - Italic = 0 'False - Strikethrough = 0 'False - EndProperty - Height = 315 - Left = 3480 - TabIndex = 4 - Top = 5160 - Width = 795 - End - Begin VB.CommandButton StartBtn - Appearance = 0 'Flat - BackColor = &H80000005& - Caption = "Start" - BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851} - Name = "MS Sans Serif" - Size = 8.25 - Charset = 0 - Weight = 400 - Underline = 0 'False - Italic = 0 'False - Strikethrough = 0 'False - EndProperty - Height = 315 - Left = 2460 - TabIndex = 0 - Top = 5160 - Width = 795 - End - Begin VB.CommandButton PauseBtn - Appearance = 0 'Flat - BackColor = &H80000005& - Caption = "Pause" - Enabled = 0 'False - BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851} - Name = "MS Sans Serif" - Size = 8.25 - Charset = 0 - Weight = 400 - Underline = 0 'False - Italic = 0 'False - Strikethrough = 0 'False - EndProperty - Height = 315 - Left = 4560 - TabIndex = 1 - Top = 5160 - Width = 795 - End - Begin VB.Label Label2 - Appearance = 0 'Flat - BackColor = &H00C0C0C0& - Caption = "15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0" - ForeColor = &H80000008& - Height = 195 - Left = 240 - TabIndex = 7 - Top = 4080 - Width = 5775 - End - Begin VB.Image Image0 - Appearance = 0 'Flat - Height = 300 - Left = 960 - Picture = "vb9114.frx":4139 - Top = 5400 - Visible = 0 'False - Width = 300 - End - Begin VB.Image Image1 - Appearance = 0 'Flat - Height = 300 - Left = 1260 - Picture = "vb9114.frx":42AB - Top = 5400 - Visible = 0 'False - Width = 300 - End - Begin VB.Image ChDn - Appearance = 0 'Flat - Height = 210 - Index = 0 - Left = 6360 - Picture = "vb9114.frx":441D - Top = 4320 - Visible = 0 'False - Width = 270 - End - Begin VB.Image ChDn - Appearance = 0 'Flat - Height = 210 - Index = 1 - Left = 6600 - Picture = "vb9114.frx":4547 - Top = 4320 - Visible = 0 'False - Width = 270 - End - Begin VB.Image ChDn - Appearance = 0 'Flat - Height = 210 - Index = 2 - Left = 6840 - Picture = "vb9114.frx":4671 - Top = 4320 - Visible = 0 'False - Width = 270 - End - Begin VB.Image ChDn - Appearance = 0 'Flat - Height = 210 - Index = 3 - Left = 7080 - Picture = "vb9114.frx":479B - Top = 4320 - Visible = 0 'False - Width = 270 - End - Begin VB.Image ChDn - Appearance = 0 'Flat - Height = 210 - Index = 4 - Left = 7320 - Picture = "vb9114.frx":48C5 - Top = 4320 - Visible = 0 'False - Width = 270 - End - Begin VB.Image ChDn - Appearance = 0 'Flat - Height = 210 - Index = 5 - Left = 7560 - Picture = "vb9114.frx":49EF - Top = 4320 - Visible = 0 'False - Width = 270 - End - Begin VB.Image ChDn - Appearance = 0 'Flat - Height = 210 - Index = 6 - Left = 7800 - Picture = "vb9114.frx":4B19 - Top = 4320 - Visible = 0 'False - Width = 270 - End - Begin VB.Image ChDn - Appearance = 0 'Flat - Height = 210 - Index = 7 - Left = 8040 - Picture = "vb9114.frx":4C43 - Top = 4320 - Visible = 0 'False - Width = 270 - End - Begin VB.Image ChUp - Appearance = 0 'Flat - Height = 210 - Index = 0 - Left = 6360 - Picture = "vb9114.frx":4D6D - Top = 4500 - Visible = 0 'False - Width = 270 - End - Begin VB.Image ChUp - Appearance = 0 'Flat - Height = 210 - Index = 1 - Left = 6600 - Picture = "vb9114.frx":4E97 - Top = 4500 - Visible = 0 'False - Width = 270 - End - Begin VB.Image ChUp - Appearance = 0 'Flat - Height = 210 - Index = 2 - Left = 6840 - Picture = "vb9114.frx":4FC1 - Top = 4500 - Visible = 0 'False - Width = 270 - End - Begin VB.Image ChUp - Appearance = 0 'Flat - Height = 210 - Index = 3 - Left = 7080 - Picture = "vb9114.frx":50EB - Top = 4500 - Visible = 0 'False - Width = 270 - End - Begin VB.Image ChUp - Appearance = 0 'Flat - Height = 210 - Index = 4 - Left = 7320 - Picture = "vb9114.frx":5215 - Top = 4500 - Visible = 0 'False - Width = 270 - End - Begin VB.Image ChUp - Appearance = 0 'Flat - Height = 210 - Index = 5 - Left = 7560 - Picture = "vb9114.frx":533F - Top = 4500 - Visible = 0 'False - Width = 270 - End - Begin VB.Image ChUp - Appearance = 0 'Flat - Height = 210 - Index = 6 - Left = 7800 - Picture = "vb9114.frx":5469 - Top = 4500 - Visible = 0 'False - Width = 270 - End - Begin VB.Image ChUp - Appearance = 0 'Flat - Height = 210 - Index = 7 - Left = 8040 - Picture = "vb9114.frx":5593 - Top = 4500 - Visible = 0 'False - Width = 270 - End -End -Attribute VB_Name = "util9114" -Attribute VB_Creatable = False -Attribute VB_Exposed = False -Option Explicit - -Dim range_value(9) As Integer -Dim PrevP(15) As Long -Dim ChannelOn(15) As Long -Dim SignalColor(15) As Long -Dim Active As Long -Dim NewStart As Long -Dim status(15) As Long -Dim angle As Single -Dim sq As Integer -Dim gnDoValue As Long - -Const SINE_WAVE = 0 -Const SQUARE_WAVE = 1 - -'For tuner -Const Pi = 3.14159 -Const MaxAngle = 4 '5Pi/4 -Const MinAngle = -0.8 '-Pi/4 - -Dim x0 As Long, y0 As Long -Dim DragOn As Long -Dim l As Long -Dim lb As Single, ub As Single - - -Sub Scale_Change(ByVal g As Long) - Select Case g - Case 0 - Label1(2).Caption = "10.0" - Label1(3).Caption = "5.0" - Label1(4).Caption = "0.0" - Label1(5).Caption = "-5.0" - Label1(6).Caption = "-10.0" - Case 1 - Label1(2).Caption = "5.0" - Label1(3).Caption = "2.5" - Label1(4).Caption = "0.0" - Label1(5).Caption = "-2.5" - Label1(6).Caption = "-5.0" - Case 2 - Label1(2).Caption = "2.50" - Label1(3).Caption = "1.25" - Label1(4).Caption = "0.00" - Label1(5).Caption = "-1.25" - Label1(6).Caption = "-2.50" - Case 3 - Label1(2).Caption = "1.250" - Label1(3).Caption = "0.625" - Label1(4).Caption = "0.00" - Label1(5).Caption = "-0.625" - Label1(6).Caption = "-1.250" - Case 4 - Label1(2).Caption = "1.0" - Label1(3).Caption = "0.5" - Label1(4).Caption = "0.0" - Label1(5).Caption = "-0.5" - Label1(6).Caption = "-1.0" - Case 5 - Label1(2).Caption = "0.1" - Label1(3).Caption = "0.05" - Label1(4).Caption = "0.0" - Label1(5).Caption = "-0.05" - Label1(6).Caption = "-0.1" - Case 6 - Label1(2).Caption = "0.01" - Label1(3).Caption = "0.005" - Label1(4).Caption = "0.00" - Label1(5).Caption = "-0.005" - Label1(6).Caption = "-0.01" -End Select - - Label1(19).Caption = Label1(2).Caption - Label1(20).Caption = Label1(3).Caption - Label1(21).Caption = Label1(4).Caption - Label1(22).Caption = Label1(5).Caption - Label1(23).Caption = Label1(6).Caption -End Sub - -Private Sub Channel_Click(Index As Integer) - If ChannelOn(Index) Then - If Index < 8 Then - Channel(Index) = ChUp(Index) - Else - Channel(Index) = ChUp(Index - 8) - End If - Else - If Index < 8 Then - Channel(Index) = ChDn(Index) - Else - Channel(Index) = ChDn(Index - 8) - End If - End If - ChannelOn(Index) = Not ChannelOn(Index) -End Sub - -Private Sub DOP_Click(Index As Integer) - Dim i As Integer, v As Integer, d As Long - If Active Then - If status(Index) = 1 Then - DOP(Index) = Image0 - status(Index) = 0 - d = 1 - For i = 1 To Index - d = d * 2 - Next - gnDoValue = gnDoValue - d - Else - DOP(Index) = Image1 - status(Index) = 1 - d = 1 - For i = 1 To Index - d = d * 2 - Next - gnDoValue = gnDoValue + d - End If - v = DO_WritePort(card, 0, gnDoValue) - End If -End Sub - -Private Sub ExitBtn_Click() - Dim result As Integer - If card >= 0 Then - result = Release_Card(card) - End If - End -End Sub - -Private Sub Form_Load() - Dim i As Long - Dim result As Integer - - SettingForm.Show 1 - If card < 0 Then - MsgBox "Register card failed." - End - End If - For i = 0 To 15 - PrevP(i) = -1 - ChannelOn(i) = False - Next - For i = 0 To 15 - status(i) = 0 - Next - NewStart = True - Active = False - - range_value(0) = 1 - range_value(1) = 2 - range_value(2) = 3 - range_value(3) = 4 - range_value(4) = 10 - range_value(5) = 11 - range_value(6) = 12 - - gain.ListIndex = 0 - - SignalColor(0) = &HFFFF& - SignalColor(1) = &H8000& - SignalColor(2) = &HFF0000 - SignalColor(3) = &HFF& - SignalColor(4) = &HFFFF00 - SignalColor(5) = &HFF00FF - SignalColor(6) = &HFF00& - SignalColor(7) = &HFFFFFF - SignalColor(8) = &HFFFF& - SignalColor(9) = &H8000& - SignalColor(10) = &HFF0000 - SignalColor(11) = &HFF& - SignalColor(12) = &HFFFF00 - SignalColor(13) = &HFF00FF - SignalColor(14) = &HFF00& - SignalColor(15) = &HFFFFFF - -End Sub - -Private Sub Form_Unload(Cancel As Integer) - Dim result As Integer - If card >= 0 Then - result = Release_Card(card) - End If -End Sub - - -Private Sub Gain_Click() - Dim result As Long - Scale_Change gain.ListIndex -End Sub - - - - - - - - - - - - - -Private Sub PauseBtn_Click() - Timer1.Enabled = False - Active = False - NewStart = False - StartBtn.Enabled = True - PauseBtn.Enabled = False - -End Sub - - - - -Private Sub StartBtn_Click() - StartBtn.Enabled = False - StopBtn.Enabled = True - PauseBtn.Enabled = True - - Active = True - - If NewStart Then - Signal(0).Cls - Signal(1).Cls - gnDoValue = 0 - angle = 0 - sq = 0 - End If - - Timer1.Enabled = True - -End Sub - -Private Sub StopBtn_Click() - Dim i As Integer - Timer1.Enabled = False - For i = 0 To 15 - PrevP(i) = -1 - Next - For i = 0 To 15 - status(i) = 0 - DOP(i) = Image0 - Next - i = DO_WritePort(card, 0, 0) - Active = False - NewStart = True - StartBtn.Enabled = True - StopBtn.Enabled = False - PauseBtn.Enabled = False - -End Sub - -Private Sub Timer1_Timer() - Dim result As Integer - Dim i As Integer, j As Integer - Dim d As Integer, l As Long - Dim p As Integer - Dim h As Long - Dim m As Single - -' Do While Contd -'Analog-Digital Input - result = BitBlt(Signal(0).hDC, 4, 0, Signal(0).Width / Screen.TwipsPerPixelX, Signal(0).Height / Screen.TwipsPerPixelY, Signal(0).hDC, 0, 0, SRCCOPY) - result = BitBlt(Signal(1).hDC, 4, 0, Signal(1).Width / Screen.TwipsPerPixelX, Signal(1).Height / Screen.TwipsPerPixelY, Signal(1).hDC, 0, 0, SRCCOPY) - For i = 0 To 15 - If ChannelOn(i) Then - result = AI_ReadChannel(card, i, range_value(gain.ListIndex), d) - l = d - - If i < 8 Then - p = (32767 - CSng(l)) / 65535 * (Signal(0).Height / Screen.TwipsPerPixelY - 2) - If PrevP(i) <> -1 Then Signal(0).Line (4, p)-(8, PrevP(i)), SignalColor(i) - Else - p = (32767 - CSng(l)) / 65535 * (Signal(1).Height / Screen.TwipsPerPixelY - 2) - If PrevP(i) <> -1 Then - Signal(1).Line (4, p)-(8, PrevP(i)), SignalColor(i) - End If - End If - PrevP(i) = p - End If - Next i - -'Digital Input - result = DI_ReadPort(card, 0, l) - For i = 0 To 15 - p = l Mod 2 - If p = 0 Then - DI(i) = Image0 - Else 'p = 1 - DI(i) = Image1 - End If - l = CInt(Int(l / 2)) - Next i -End Sub - - - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9114/vb9114int/9114glbl.Bas b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9114/vb9114int/9114glbl.Bas deleted file mode 100644 index 5b5c1e2..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9114/vb9114int/9114glbl.Bas +++ /dev/null @@ -1,8 +0,0 @@ -Attribute VB_Name = "Module1" -Option Explicit - -Global card As Integer -Global card_number As Integer -Global card_type As Integer - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9114/vb9114int/Base9114.frm b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9114/vb9114int/Base9114.frm deleted file mode 100644 index 5cc36f8..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9114/vb9114int/Base9114.frm +++ /dev/null @@ -1,124 +0,0 @@ -VERSION 4.00 -Begin VB.Form SettingForm - Appearance = 0 'Flat - BackColor = &H00C0C0C0& - Caption = "Card Setting" - ClientHeight = 1770 - ClientLeft = 4590 - ClientTop = 3420 - ClientWidth = 2835 - BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851} - Name = "MS Sans Serif" - Size = 8.25 - Charset = 0 - Weight = 700 - Underline = 0 'False - Italic = 0 'False - Strikethrough = 0 'False - EndProperty - ForeColor = &H80000008& - Height = 2175 - Left = 4530 - LinkTopic = "Form2" - ScaleHeight = 1770 - ScaleWidth = 2835 - Top = 3075 - Width = 2955 - Begin VB.ComboBox CardType - Height = 315 - Left = 1440 - TabIndex = 5 - Text = "CardType" - Top = 720 - Width = 1215 - End - Begin VB.CommandButton OKBtn - Appearance = 0 'Flat - BackColor = &H80000005& - Caption = "OK" - Default = -1 'True - Height = 315 - Left = 240 - TabIndex = 0 - Top = 1320 - Width = 915 - End - Begin VB.CommandButton CancelBtn - Appearance = 0 'Flat - BackColor = &H80000005& - Cancel = -1 'True - Caption = "Cancel" - Height = 315 - Left = 1560 - TabIndex = 3 - Top = 1320 - Width = 915 - End - Begin VB.ComboBox CardNum - Appearance = 0 'Flat - Height = 315 - Left = 1440 - Style = 2 'Dropdown List - TabIndex = 2 - Top = 120 - Width = 1215 - End - Begin VB.Label Label1 - Caption = "Card Type" - Height = 255 - Left = 120 - TabIndex = 4 - Top = 720 - Width = 1095 - End - Begin VB.Label Label2 - Appearance = 0 'Flat - BackColor = &H00C0C0C0& - Caption = "Card Number:" - ForeColor = &H00000000& - Height = 195 - Index = 0 - Left = 120 - TabIndex = 1 - Top = 180 - Width = 1275 - End -End -Attribute VB_Name = "SettingForm" -Attribute VB_Creatable = False -Attribute VB_Exposed = False - - -Private Sub BaseAddr_Change() - -End Sub - - -Private Sub CancelBtn_Click() - Unload SettingForm -End Sub - -Private Sub Form_Load() - Dim i As Long - For i = 0 To 15 Step 1 - CardNum.AddItem i - Next - CardNum.ListIndex = 0 - CardType.AddItem "9114DG" - CardType.AddItem "9114HG" - CardType.ListIndex = 0 -End Sub - -Private Sub OKBtn_Click() - card = -1 - card_number = CardNum.ListIndex - Select Case CardType.ListIndex - Case 0 - card_type = PCI_9114DG - Case 1 - card_type = PCI_9114HG - End Select - card = Register_Card(card_type, card_number) - Unload SettingForm -End Sub - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9114/vb9114int/Vb9114i.frx b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9114/vb9114int/Vb9114i.frx deleted file mode 100644 index dbb5acd..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9114/vb9114int/Vb9114i.frx and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9114/vb9114int/Vb9114i.vbp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9114/vb9114int/Vb9114i.vbp deleted file mode 100644 index 5f657eb..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9114/vb9114int/Vb9114i.vbp +++ /dev/null @@ -1,21 +0,0 @@ -Form=vb9114i.Frm -Module=DASK; ..\..\..\Include\Dask.bas -Module=Module1; 9114glbl.Bas -Form=Base9114.frm -Reference=*\G{00025E04-0000-0000-C000-000000000046}#2.5#0#D:\Program Files\Common Files\Microsoft Shared\DD:\Program Fil#Microsoft DAO 2.5/3.0 Compatibility Library -ProjWinSize=127,570,191,215 -ProjWinShow=2 -IconForm="int9114" -Title="9114INT" -ExeName32="vb9114i.exe" -ExeName="9114INT.EXE" -Name="vb49114int" -HelpContextID="0" -StartMode=0 -VersionCompatible32="0" -MajorVer=1 -MinorVer=0 -RevisionVer=0 -AutoIncrementVer=0 -ServerSupportFiles=0 -VersionCompanyName="ADLink" diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9114/vb9114int/Vb9114i.vbw b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9114/vb9114int/Vb9114i.vbw deleted file mode 100644 index adf04bc..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9114/vb9114int/Vb9114i.vbw +++ /dev/null @@ -1,2 +0,0 @@ -int9114 = 44, 44, 546, 263, Z, 22, 22, 524, 241, -DASK = 0, 0, 0, 0, C diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9114/vb9114int/vb9114i.Frm b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9114/vb9114int/vb9114i.Frm deleted file mode 100644 index aee8961..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9114/vb9114int/vb9114i.Frm +++ /dev/null @@ -1,493 +0,0 @@ -VERSION 4.00 -Begin VB.Form int9114 - Appearance = 0 'Flat - BackColor = &H00C0C0C0& - Caption = "9114 Interrupt" - ClientHeight = 4980 - ClientLeft = 1365 - ClientTop = 1800 - ClientWidth = 7665 - BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851} - Name = "MS Sans Serif" - Size = 8.25 - Charset = 0 - Weight = 700 - Underline = 0 'False - Italic = 0 'False - Strikethrough = 0 'False - EndProperty - ForeColor = &H0000FFFF& - Height = 5385 - Left = 1305 - LinkTopic = "Form1" - ScaleHeight = 4980 - ScaleWidth = 7665 - Top = 1455 - Width = 7785 - Begin VB.CommandButton btnExit - Appearance = 0 'Flat - BackColor = &H80000005& - Caption = "Exit" - Height = 500 - Left = 4620 - TabIndex = 5 - Top = 4320 - Width = 1000 - End - Begin VB.CommandButton btnStop - Appearance = 0 'Flat - BackColor = &H80000005& - Caption = "Stop" - Height = 500 - Left = 3420 - TabIndex = 4 - Top = 4320 - Width = 1000 - End - Begin VB.CommandButton btnStart - Appearance = 0 'Flat - BackColor = &H80000005& - Caption = "Start" - Height = 500 - Left = 2220 - TabIndex = 3 - Top = 4320 - Width = 1000 - End - Begin VB.Frame frmData - Appearance = 0 'Flat - BackColor = &H00C0C0C0& - Caption = "Data Size" - ForeColor = &H00FF0000& - Height = 615 - Left = 1920 - TabIndex = 2 - Top = 3500 - Width = 1935 - Begin VB.ComboBox cobData - Appearance = 0 'Flat - Height = 315 - ItemData = "vb9114i.frx":0000 - Left = 120 - List = "vb9114i.frx":0013 - TabIndex = 17 - Text = "cobData" - Top = 240 - Width = 975 - End - Begin VB.Label labData - Appearance = 0 'Flat - BackColor = &H00C0C0C0& - Caption = "Records" - ForeColor = &H0000FFFF& - Height = 255 - Left = 1155 - TabIndex = 18 - Top = 255 - Width = 720 - End - End - Begin VB.Frame frmSample - Appearance = 0 'Flat - BackColor = &H00C0C0C0& - Caption = "Sampling Rate" - ForeColor = &H00FF0000& - Height = 615 - Left = 120 - TabIndex = 1 - Top = 3500 - Width = 1700 - Begin VB.ComboBox cobSample - Appearance = 0 'Flat - Height = 315 - ItemData = "vb9114i.frx":0035 - Left = 120 - List = "vb9114i.frx":0048 - TabIndex = 16 - Text = "cobSample" - Top = 240 - Width = 975 - End - Begin VB.Label Label1 - Appearance = 0 'Flat - BackColor = &H00C0C0C0& - Caption = "KHz" - ForeColor = &H0000FFFF& - Height = 255 - Left = 1150 - TabIndex = 19 - Top = 260 - Width = 450 - End - End - Begin VB.Frame intFrame - Appearance = 0 'Flat - BackColor = &H00C0C0C0& - Caption = "Interrupt Input(A/D)" - ForeColor = &H00FF0000& - Height = 3375 - Left = 120 - TabIndex = 0 - Top = 120 - Width = 7455 - Begin VB.Frame frmRange - Appearance = 0 'Flat - BackColor = &H00C0C0C0& - Caption = "Range" - ForeColor = &H00FF0000& - Height = 615 - Left = 5880 - TabIndex = 8 - Top = 2520 - Width = 1380 - Begin VB.ComboBox cobRange - Appearance = 0 'Flat - Height = 315 - ItemData = "vb9114i.frx":005F - Left = 100 - List = "vb9114i.frx":0078 - TabIndex = 20 - Text = "cobRange" - Top = 240 - Width = 1200 - End - End - Begin VB.Frame frmChannel - Appearance = 0 'Flat - BackColor = &H00C0C0C0& - Caption = "AD Channel" - ForeColor = &H00FF0000& - Height = 1755 - Left = 5880 - TabIndex = 7 - Top = 240 - Width = 1380 - Begin VB.OptionButton optChn - Caption = "7" - Height = 255 - Index = 7 - Left = 720 - TabIndex = 28 - Top = 1320 - Width = 495 - End - Begin VB.OptionButton optChn - Caption = "6" - Height = 255 - Index = 6 - Left = 720 - TabIndex = 27 - Top = 960 - Width = 495 - End - Begin VB.OptionButton optChn - Caption = "5" - Height = 255 - Index = 5 - Left = 720 - TabIndex = 26 - Top = 660 - Width = 495 - End - Begin VB.OptionButton optChn - Caption = "4" - Height = 255 - Index = 4 - Left = 720 - TabIndex = 25 - Top = 360 - Width = 495 - End - Begin VB.OptionButton optChn - Caption = "3" - Height = 255 - Index = 3 - Left = 180 - TabIndex = 24 - Top = 1320 - Width = 495 - End - Begin VB.OptionButton optChn - Caption = "2" - Height = 255 - Index = 2 - Left = 180 - TabIndex = 23 - Top = 960 - Width = 495 - End - Begin VB.OptionButton optChn - Caption = "1" - Height = 255 - Index = 1 - Left = 180 - TabIndex = 22 - Top = 660 - Width = 495 - End - Begin VB.OptionButton optChn - Caption = "0" - Height = 255 - Index = 0 - Left = 180 - TabIndex = 21 - Top = 360 - Value = -1 'True - Width = 495 - End - End - Begin VB.PictureBox picScreen - Appearance = 0 'Flat - AutoRedraw = -1 'True - BackColor = &H00000000& - ForeColor = &H80000008& - Height = 2700 - Left = 720 - ScaleHeight = 178 - ScaleMode = 3 'Pixel - ScaleWidth = 331 - TabIndex = 6 - Top = 480 - Width = 5000 - End - Begin VB.Label labValue - Appearance = 0 'Flat - BackColor = &H00C0C0C0& - Caption = "-5.00" - ForeColor = &H0000FFFF& - Height = 255 - Index = 4 - Left = 100 - TabIndex = 15 - Top = 3050 - Width = 600 - End - Begin VB.Label labValue - Appearance = 0 'Flat - BackColor = &H00C0C0C0& - Caption = "-2.50" - ForeColor = &H0000FFFF& - Height = 255 - Index = 3 - Left = 100 - TabIndex = 14 - Top = 2400 - Width = 600 - End - Begin VB.Label labValue - Appearance = 0 'Flat - BackColor = &H00C0C0C0& - Caption = "0.00" - ForeColor = &H0000FFFF& - Height = 255 - Index = 2 - Left = 100 - TabIndex = 13 - Top = 1740 - Width = 600 - End - Begin VB.Label labValue - Appearance = 0 'Flat - BackColor = &H00C0C0C0& - Caption = "2.50" - ForeColor = &H0000FFFF& - Height = 255 - Index = 1 - Left = 100 - TabIndex = 12 - Top = 1070 - Width = 600 - End - Begin VB.Label labValue - Appearance = 0 'Flat - BackColor = &H00C0C0C0& - Caption = "5.00" - ForeColor = &H0000FFFF& - Height = 255 - Index = 0 - Left = 100 - TabIndex = 11 - Top = 420 - Width = 600 - End - Begin VB.Label labVots - Appearance = 0 'Flat - BackColor = &H00C0C0C0& - Caption = "Vots" - ForeColor = &H0000FFFF& - Height = 255 - Left = 120 - TabIndex = 10 - Top = 200 - Width = 495 - End - Begin VB.Label labSignal - Appearance = 0 'Flat - BackColor = &H00C0C0C0& - Caption = "Signals" - ForeColor = &H0000FFFF& - Height = 300 - Left = 2800 - TabIndex = 9 - Top = 200 - Width = 780 - End - End -End -Attribute VB_Name = "int9114" -Attribute VB_Creatable = False -Attribute VB_Exposed = False -Dim gnADChn As Integer -Dim gnCount As Long -Dim nSample As Long -Dim range_value(8) As Integer -Dim gnBuffer(16384) As Integer -Dim bb(2048) As Integer - -Private Sub btnExit_Click() - If card >= 0 Then Release_Card (card) - End -End Sub - - - -Private Sub btnStart_Click() - Dim result As Integer - picScreen.Cls - result = AI_9114_Config(card, TRIG_INT_PACER) - result = AI_ContReadChannel(card, gnADChn, range_value(cobRange.ListIndex), gnBuffer(0), gnCount, CDbl(nSample * 1000), SYNCH_OP) - ShowData (gnCount) -End Sub - -Private Sub btnStop_Click() - picScreen.Cls - -End Sub - -Private Sub cobData_Click() - gnCount = Val(Trim$(cobData)) -End Sub - - -Private Sub cobRange_Click() -Select Case cobRange.ListIndex - Case 0 - labValue(0).Caption = "10.0" - labValue(1).Caption = "5.0" - labValue(2).Caption = "0.0" - labValue(3).Caption = "-5.0" - labValue(4).Caption = "-10.0" - Case 1 - labValue(0).Caption = "1.0" - labValue(1).Caption = "0.5" - labValue(2).Caption = "0.0" - labValue(3).Caption = "-0.5" - labValue(4).Caption = "-1.0" - Case 2 - labValue(0).Caption = "0.10" - labValue(1).Caption = "0.05" - labValue(2).Caption = "0.00" - labValue(3).Caption = "-0.05" - labValue(4).Caption = "-0.10" - Case 3 - labValue(0).Caption = "5.0" - labValue(1).Caption = "2.5" - labValue(2).Caption = "0.0" - labValue(3).Caption = "-2.5" - labValue(4).Caption = "-5.0" - Case 4 - labValue(0).Caption = "0.50" - labValue(1).Caption = "0.25" - labValue(2).Caption = "0.00" - labValue(3).Caption = "-0.25" - labValue(4).Caption = "-0.50" - Case 5 - labValue(0).Caption = "0.050" - labValue(1).Caption = "0.025" - labValue(2).Caption = "0.000" - labValue(3).Caption = "-0.025" - labValue(4).Caption = "-0.050" - Case 6 - labValue(0).Caption = "10.0" - labValue(1).Caption = "7.50" - labValue(2).Caption = "5.00" - labValue(3).Caption = "2.50" - labValue(4).Caption = "0.00" - Case 7 - labValue(0).Caption = "1.00" - labValue(1).Caption = "0.75" - labValue(2).Caption = "0.50" - labValue(3).Caption = "0.25" - labValue(4).Caption = "0.00" - Case 8 - labValue(0).Caption = "0.100" - labValue(1).Caption = "0.075" - labValue(2).Caption = "0.050" - labValue(3).Caption = "0.025" - labValue(4).Caption = "0.000" - End Select -End Sub - -Private Sub cobSample_Click() - nSample = Val(Trim$(cobSample)) -End Sub - -Private Sub Form_Load() - Dim result As Integer - - SettingForm.Show 1 - If card < 0 Then - MsgBox "Register card failed." - End - End If - - gnC1 = 10 - cobRange.ListIndex = 0 - - range_value(0) = 1 - range_value(1) = 2 - range_value(2) = 3 - range_value(3) = 4 - range_value(4) = 10 - range_value(5) = 11 - range_value(6) = 12 - - cobData.ListIndex = 0 - - cobSample.ListIndex = 0 - - gnADChn = 0 - -End Sub - -Private Sub Form_Unload(Cancel As Integer) - If card >= 0 Then Release_Card (card) -End Sub - - -Private Sub optChn_Click(Index As Integer) - gnADChn = Index -End Sub - -Private Sub ShowData(Count As Integer) - Dim i As Integer - Dim x1, y1, x2, y2 As Integer - Dim w, h, data As Integer - - w = picScreen.ScaleWidth - h = picScreen.ScaleHeight - - data = gnBuffer(0) - x1 = 0 - y1 = CInt((32767 - CLng(data)) * h / 65535) - For i = 1 To Count - 1 - data = gnBuffer(i * 2) - x2 = (i * w) / Count - y2 = CInt((32767 - CLng(data)) * h / 65535) - picScreen.Line (x1, y1)-(x2, y2), &HFFFF& - x1 = x2 - y1 = y2 - Next -End Sub - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9116/C9116DbfFile/9116DbF.c b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9116/C9116DbfFile/9116DbF.c deleted file mode 100644 index 05febd2..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9116/C9116DbfFile/9116DbF.c +++ /dev/null @@ -1,57 +0,0 @@ -#include -#include -#include -#include "dask.h" - -U16 channel=3; //4 channels -U16 range=AD_B_5_V; -char *file_name="9116d"; -U32 read_count=4000; - -main() -{ - I16 card, err, card_num; - BOOLEAN halfReady, fStop; - U32 count=0, count1; - - printf("This program inputs data from CH-0 to CH-%d of PCI-9116 in %d Hz by\ndouble-buffer mode, and store data to file '%s.dat'. The size of circular\nbuffer is %d. It will not stop until you press a key.\n\nPress any key to start the operation.\n", - channel, 1000, file_name, read_count); - printf("Please input a card number: "); - scanf(" %d", &card_num); - //getch(); - if ((card=Register_Card (PCI_9116, card_num)) <0 ) { - printf("Register_Card error=%d\n", card); - exit(1); - } - err = AI_9116_Config(card,P9116_AI_BiPolar|P9116_AI_SingEnded,P9116_AI_DMA,0,0,0); - if (err!=0) { - printf("AI_9116_Config error=%d", err); - exit(1); - } - AI_9116_CounterInterval (card, 240*(channel+1), 240); - err = AI_AsyncDblBufferMode(card, 1); //double-buffer mode - if (err!=0) { - printf("AI_DblBufferMode error=%d", err); - exit(1); - } - err = AI_ContScanChannelsToFile(card, channel, range, file_name, read_count/(channel+1), (F32)1, ASYNCH_OP); - if (err!=0) { - printf("AI_ContScanChannels error=%d", err); - exit(1); - } - printf("\n\nPress any key to stop input operation."); - printf("\n\nData count : \n"); - do { - do { - AI_AsyncDblBufferHalfReady(card, &halfReady, &fStop); - } while (!halfReady); - AI_AsyncDblBufferTransfer(card, NULL); //transfer to file - count += (read_count / 2); - printf("%d\r", count); - } while(!kbhit()); - AI_AsyncClear(card, &count1); - Release_Card(card); - printf("\n\n%d input data are stored in file '%s.dat'.\n", count, file_name); - printf("\nPress ENTER to exit the program. "); getch(); -} - \ No newline at end of file diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9116/C9116DbfFile/9116DbF.exe b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9116/C9116DbfFile/9116DbF.exe deleted file mode 100644 index e9921fc..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9116/C9116DbfFile/9116DbF.exe and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9116/C9116DbfFile/9116DbF.mak b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9116/C9116DbfFile/9116DbF.mak deleted file mode 100644 index 1eb8944..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9116/C9116DbfFile/9116DbF.mak +++ /dev/null @@ -1,196 +0,0 @@ -# Microsoft Developer Studio Generated NMAKE File, Format Version 4.00 -# ** DO NOT EDIT ** - -# TARGTYPE "Win32 (x86) Console Application" 0x0103 - -!IF "$(CFG)" == "" -CFG=9116DbF - Win32 Debug -!MESSAGE No configuration specified. Defaulting to 9116DbF - Win32 Debug. -!ENDIF - -!IF "$(CFG)" != "9116DbF - Win32 Release" && "$(CFG)" !=\ - "9116DbF - Win32 Debug" -!MESSAGE Invalid configuration "$(CFG)" specified. -!MESSAGE You can specify a configuration when running NMAKE on this makefile -!MESSAGE by defining the macro CFG on the command line. For example: -!MESSAGE -!MESSAGE NMAKE /f "9116DbF.mak" CFG="9116DbF - Win32 Debug" -!MESSAGE -!MESSAGE Possible choices for configuration are: -!MESSAGE -!MESSAGE "9116DbF - Win32 Release" (based on "Win32 (x86) Console Application") -!MESSAGE "9116DbF - Win32 Debug" (based on "Win32 (x86) Console Application") -!MESSAGE -!ERROR An invalid configuration is specified. -!ENDIF - -!IF "$(OS)" == "Windows_NT" -NULL= -!ELSE -NULL=nul -!ENDIF -################################################################################ -# Begin Project -# PROP Target_Last_Scanned "9116DbF - Win32 Debug" -RSC=rc.exe -CPP=cl.exe - -!IF "$(CFG)" == "9116DbF - Win32 Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "Release" -# PROP BASE Intermediate_Dir "Release" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "" -# PROP Intermediate_Dir "Release" -# PROP Target_Dir "" -OUTDIR=. -INTDIR=.\Release - -ALL : "$(OUTDIR)\9116DbF.exe" - -CLEAN : - -@erase ".\9116DbF.exe" - -@erase ".\Release\9116DbF.obj" - -"$(INTDIR)" : - if not exist "$(INTDIR)/$(NULL)" mkdir "$(INTDIR)" - -# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /YX /c -# ADD CPP /nologo /W3 /GX /O2 /I "..\..\..\include" /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /c -# SUBTRACT CPP /YX -CPP_PROJ=/nologo /ML /W3 /GX /O2 /I "..\..\..\include" /D "WIN32" /D "NDEBUG"\ - /D "_CONSOLE" /Fo"$(INTDIR)/" /c -CPP_OBJS=.\Release/ -CPP_SBRS= -# ADD BASE RSC /l 0x404 /d "NDEBUG" -# ADD RSC /l 0x404 /d "NDEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -BSC32_FLAGS=/nologo /o"$(OUTDIR)/9116DbF.bsc" -BSC32_SBRS= -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ..\..\..\lib\pci-dask.lib /nologo /subsystem:console /machine:I386 -LINK32_FLAGS=kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib\ - advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib\ - odbccp32.lib ..\..\..\lib\pci-dask.lib /nologo /subsystem:console\ - /incremental:no /pdb:"$(OUTDIR)/9116DbF.pdb" /machine:I386\ - /out:"$(OUTDIR)/9116DbF.exe" -LINK32_OBJS= \ - ".\Release\9116DbF.obj" - -"$(OUTDIR)\9116DbF.exe" : "$(OUTDIR)" $(DEF_FILE) $(LINK32_OBJS) - $(LINK32) @<< - $(LINK32_FLAGS) $(LINK32_OBJS) -<< - -!ELSEIF "$(CFG)" == "9116DbF - Win32 Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "Debug" -# PROP BASE Intermediate_Dir "Debug" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "" -# PROP Intermediate_Dir "Debug" -# PROP Target_Dir "" -OUTDIR=. -INTDIR=.\Debug - -ALL : "$(OUTDIR)\9116DbF.exe" - -CLEAN : - -@erase ".\Debug\vc40.pdb" - -@erase ".\Debug\vc40.idb" - -@erase ".\9116DbF.exe" - -@erase ".\Debug\9116DbF.obj" - -@erase ".\9116DbF.ilk" - -@erase ".\9116DbF.pdb" - -"$(INTDIR)" : - if not exist "$(INTDIR)/$(NULL)" mkdir "$(INTDIR)" - -# ADD BASE CPP /nologo /W3 /Gm /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /YX /c -# ADD CPP /nologo /W3 /Gm /GX /Zi /Od /I "..\..\..\include" /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /c -# SUBTRACT CPP /YX -CPP_PROJ=/nologo /MLd /W3 /Gm /GX /Zi /Od /I "..\..\..\include" /D "WIN32" /D\ - "_DEBUG" /D "_CONSOLE" /Fo"$(INTDIR)/" /Fd"$(INTDIR)/" /c -CPP_OBJS=.\Debug/ -CPP_SBRS= -# ADD BASE RSC /l 0x404 /d "_DEBUG" -# ADD RSC /l 0x404 /d "_DEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -BSC32_FLAGS=/nologo /o"$(OUTDIR)/9116DbF.bsc" -BSC32_SBRS= -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /debug /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ..\..\..\lib\pci-dask.lib /nologo /subsystem:console /debug /machine:I386 -LINK32_FLAGS=kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib\ - advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib\ - odbccp32.lib ..\..\..\lib\pci-dask.lib /nologo /subsystem:console\ - /incremental:yes /pdb:"$(OUTDIR)/9116DbF.pdb" /debug /machine:I386\ - /out:"$(OUTDIR)/9116DbF.exe" -LINK32_OBJS= \ - ".\Debug\9116DbF.obj" - -"$(OUTDIR)\9116DbF.exe" : "$(OUTDIR)" $(DEF_FILE) $(LINK32_OBJS) - $(LINK32) @<< - $(LINK32_FLAGS) $(LINK32_OBJS) -<< - -!ENDIF - -.c{$(CPP_OBJS)}.obj: - $(CPP) $(CPP_PROJ) $< - -.cpp{$(CPP_OBJS)}.obj: - $(CPP) $(CPP_PROJ) $< - -.cxx{$(CPP_OBJS)}.obj: - $(CPP) $(CPP_PROJ) $< - -.c{$(CPP_SBRS)}.sbr: - $(CPP) $(CPP_PROJ) $< - -.cpp{$(CPP_SBRS)}.sbr: - $(CPP) $(CPP_PROJ) $< - -.cxx{$(CPP_SBRS)}.sbr: - $(CPP) $(CPP_PROJ) $< - -################################################################################ -# Begin Target - -# Name "9116DbF - Win32 Release" -# Name "9116DbF - Win32 Debug" - -!IF "$(CFG)" == "9116DbF - Win32 Release" - -!ELSEIF "$(CFG)" == "9116DbF - Win32 Debug" - -!ENDIF - -################################################################################ -# Begin Source File - -SOURCE=.\9116DbF.c -DEP_CPP_9116D=\ - ".\..\..\..\include\dask.h"\ - - -"$(INTDIR)\9116DbF.obj" : $(SOURCE) $(DEP_CPP_9116D) "$(INTDIR)" - - -# End Source File -# End Target -# End Project -################################################################################ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9116/C9116DbfFile/9116DbF.mdp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9116/C9116DbfFile/9116DbF.mdp deleted file mode 100644 index efb0612..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9116/C9116DbfFile/9116DbF.mdp and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9116/C9116File/9116File.exe b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9116/C9116File/9116File.exe deleted file mode 100644 index 282f0a4..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9116/C9116File/9116File.exe and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9116/C9116File/9116File.mak b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9116/C9116File/9116File.mak deleted file mode 100644 index 64f7644..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9116/C9116File/9116File.mak +++ /dev/null @@ -1,197 +0,0 @@ -# Microsoft Developer Studio Generated NMAKE File, Format Version 4.00 -# ** DO NOT EDIT ** - -# TARGTYPE "Win32 (x86) Console Application" 0x0103 - -!IF "$(CFG)" == "" -CFG=9116File - Win32 Debug -!MESSAGE No configuration specified. Defaulting to 9116File - Win32 Debug. -!ENDIF - -!IF "$(CFG)" != "9116File - Win32 Release" && "$(CFG)" !=\ - "9116File - Win32 Debug" -!MESSAGE Invalid configuration "$(CFG)" specified. -!MESSAGE You can specify a configuration when running NMAKE on this makefile -!MESSAGE by defining the macro CFG on the command line. For example: -!MESSAGE -!MESSAGE NMAKE /f "9116File.mak" CFG="9116File - Win32 Debug" -!MESSAGE -!MESSAGE Possible choices for configuration are: -!MESSAGE -!MESSAGE "9116File - Win32 Release" (based on\ - "Win32 (x86) Console Application") -!MESSAGE "9116File - Win32 Debug" (based on "Win32 (x86) Console Application") -!MESSAGE -!ERROR An invalid configuration is specified. -!ENDIF - -!IF "$(OS)" == "Windows_NT" -NULL= -!ELSE -NULL=nul -!ENDIF -################################################################################ -# Begin Project -# PROP Target_Last_Scanned "9116File - Win32 Debug" -RSC=rc.exe -CPP=cl.exe - -!IF "$(CFG)" == "9116File - Win32 Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "Release" -# PROP BASE Intermediate_Dir "Release" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "" -# PROP Intermediate_Dir "Release" -# PROP Target_Dir "" -OUTDIR=. -INTDIR=.\Release - -ALL : "$(OUTDIR)\9116File.exe" - -CLEAN : - -@erase ".\9116File.exe" - -@erase ".\Release\9116file.obj" - -"$(INTDIR)" : - if not exist "$(INTDIR)/$(NULL)" mkdir "$(INTDIR)" - -# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /YX /c -# ADD CPP /nologo /W3 /GX /Od /I "..\..\..\include" /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /c -# SUBTRACT CPP /YX -CPP_PROJ=/nologo /ML /W3 /GX /Od /I "..\..\..\include" /D "WIN32" /D "NDEBUG"\ - /D "_CONSOLE" /Fo"$(INTDIR)/" /c -CPP_OBJS=.\Release/ -CPP_SBRS= -# ADD BASE RSC /l 0x404 /d "NDEBUG" -# ADD RSC /l 0x404 /d "NDEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -BSC32_FLAGS=/nologo /o"$(OUTDIR)/9116File.bsc" -BSC32_SBRS= -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ..\..\..\lib\pci-dask.lib /nologo /subsystem:console /machine:I386 -LINK32_FLAGS=kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib\ - advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib\ - odbccp32.lib ..\..\..\lib\pci-dask.lib /nologo /subsystem:console\ - /incremental:no /pdb:"$(OUTDIR)/9116File.pdb" /machine:I386\ - /out:"$(OUTDIR)/9116File.exe" -LINK32_OBJS= \ - ".\Release\9116file.obj" - -"$(OUTDIR)\9116File.exe" : "$(OUTDIR)" $(DEF_FILE) $(LINK32_OBJS) - $(LINK32) @<< - $(LINK32_FLAGS) $(LINK32_OBJS) -<< - -!ELSEIF "$(CFG)" == "9116File - Win32 Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "Debug" -# PROP BASE Intermediate_Dir "Debug" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "" -# PROP Intermediate_Dir "Debug" -# PROP Target_Dir "" -OUTDIR=. -INTDIR=.\Debug - -ALL : "$(OUTDIR)\9116File.exe" - -CLEAN : - -@erase ".\Debug\vc40.pdb" - -@erase ".\Debug\vc40.idb" - -@erase ".\9116File.exe" - -@erase ".\Debug\9116file.obj" - -@erase ".\9116File.ilk" - -@erase ".\9116File.pdb" - -"$(INTDIR)" : - if not exist "$(INTDIR)/$(NULL)" mkdir "$(INTDIR)" - -# ADD BASE CPP /nologo /W3 /Gm /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /YX /c -# ADD CPP /nologo /W3 /Gm /GX /Zi /Od /I "..\..\..\include" /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /c -# SUBTRACT CPP /YX -CPP_PROJ=/nologo /MLd /W3 /Gm /GX /Zi /Od /I "..\..\..\include" /D "WIN32" /D\ - "_DEBUG" /D "_CONSOLE" /Fo"$(INTDIR)/" /Fd"$(INTDIR)/" /c -CPP_OBJS=.\Debug/ -CPP_SBRS= -# ADD BASE RSC /l 0x404 /d "_DEBUG" -# ADD RSC /l 0x404 /d "_DEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -BSC32_FLAGS=/nologo /o"$(OUTDIR)/9116File.bsc" -BSC32_SBRS= -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /debug /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ..\..\..\lib\pci-dask.lib /nologo /subsystem:console /debug /machine:I386 -LINK32_FLAGS=kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib\ - advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib\ - odbccp32.lib ..\..\..\lib\pci-dask.lib /nologo /subsystem:console\ - /incremental:yes /pdb:"$(OUTDIR)/9116File.pdb" /debug /machine:I386\ - /out:"$(OUTDIR)/9116File.exe" -LINK32_OBJS= \ - ".\Debug\9116file.obj" - -"$(OUTDIR)\9116File.exe" : "$(OUTDIR)" $(DEF_FILE) $(LINK32_OBJS) - $(LINK32) @<< - $(LINK32_FLAGS) $(LINK32_OBJS) -<< - -!ENDIF - -.c{$(CPP_OBJS)}.obj: - $(CPP) $(CPP_PROJ) $< - -.cpp{$(CPP_OBJS)}.obj: - $(CPP) $(CPP_PROJ) $< - -.cxx{$(CPP_OBJS)}.obj: - $(CPP) $(CPP_PROJ) $< - -.c{$(CPP_SBRS)}.sbr: - $(CPP) $(CPP_PROJ) $< - -.cpp{$(CPP_SBRS)}.sbr: - $(CPP) $(CPP_PROJ) $< - -.cxx{$(CPP_SBRS)}.sbr: - $(CPP) $(CPP_PROJ) $< - -################################################################################ -# Begin Target - -# Name "9116File - Win32 Release" -# Name "9116File - Win32 Debug" - -!IF "$(CFG)" == "9116File - Win32 Release" - -!ELSEIF "$(CFG)" == "9116File - Win32 Debug" - -!ENDIF - -################################################################################ -# Begin Source File - -SOURCE=.\9116file.c -DEP_CPP_9116F=\ - ".\..\..\..\include\dask.h"\ - - -"$(INTDIR)\9116file.obj" : $(SOURCE) $(DEP_CPP_9116F) "$(INTDIR)" - - -# End Source File -# End Target -# End Project -################################################################################ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9116/C9116File/9116File.mdp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9116/C9116File/9116File.mdp deleted file mode 100644 index d9a6a69..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9116/C9116File/9116File.mdp and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9116/C9116File/9116file.c b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9116/C9116File/9116file.c deleted file mode 100644 index 26a82f8..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9116/C9116File/9116file.c +++ /dev/null @@ -1,35 +0,0 @@ -#include -#include -#include -#include "dask.h" - -U16 channel=3; //4 channels -U16 range=AD_B_5_V; -char *file_name="9116d"; -U32 read_count=4000; -U16 adinput; - -main() -{ - I16 card, err, card_num; - - printf("This program inputs %d data from CH-0 to CH-%d of PCI-9116 in %d Hz, and\nstore data to file '%s'.\nPlease press any key to start the operation.\n", read_count, channel, (int)100000, file_name); - printf("Please input a card number: "); - scanf(" %d", &card_num); - //getch(); - if ((card=Register_Card (PCI_9116, card_num)) <0 ) { - printf("Register_Card error=%d", card); - exit(1); - } - AI_9116_Config(card,P9116_AI_BiPolar|P9116_AI_SingEnded,P9116_AI_DMA,0,0,0); - AI_9116_CounterInterval (card, 240*(channel+1), 240); - err = AI_ContScanChannelsToFile(card, channel, range, file_name, read_count/(channel+1), (F32)1, SYNCH_OP); - if (err!=0) { - printf("AI_ContScanChannels error=%d", err); - exit(1); - } - Release_Card(card); - printf("\n\nThe input data is already stored in file '%s.dat'.\n", file_name); - printf("\nPress ENTER to exit the program. "); getch(); -} - \ No newline at end of file diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9116/SDK9116DbfAboutTrg/9116ATrg.exe b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9116/SDK9116DbfAboutTrg/9116ATrg.exe deleted file mode 100644 index 8e07621..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9116/SDK9116DbfAboutTrg/9116ATrg.exe and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9116/SDK9116DbfAboutTrg/9116ATrg.mak b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9116/SDK9116DbfAboutTrg/9116ATrg.mak deleted file mode 100644 index ab1d560..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9116/SDK9116DbfAboutTrg/9116ATrg.mak +++ /dev/null @@ -1,219 +0,0 @@ -# Microsoft Developer Studio Generated NMAKE File, Format Version 4.00 -# ** DO NOT EDIT ** - -# TARGTYPE "Win32 (x86) Application" 0x0101 - -!IF "$(CFG)" == "" -CFG=9116ATrg - Win32 Debug -!MESSAGE No configuration specified. Defaulting to 9116ATrg - Win32 Debug. -!ENDIF - -!IF "$(CFG)" != "9116ATrg - Win32 Release" && "$(CFG)" !=\ - "9116ATrg - Win32 Debug" -!MESSAGE Invalid configuration "$(CFG)" specified. -!MESSAGE You can specify a configuration when running NMAKE on this makefile -!MESSAGE by defining the macro CFG on the command line. For example: -!MESSAGE -!MESSAGE NMAKE /f "9116ATrg.mak" CFG="9116ATrg - Win32 Debug" -!MESSAGE -!MESSAGE Possible choices for configuration are: -!MESSAGE -!MESSAGE "9116ATrg - Win32 Release" (based on "Win32 (x86) Application") -!MESSAGE "9116ATrg - Win32 Debug" (based on "Win32 (x86) Application") -!MESSAGE -!ERROR An invalid configuration is specified. -!ENDIF - -!IF "$(OS)" == "Windows_NT" -NULL= -!ELSE -NULL=nul -!ENDIF -################################################################################ -# Begin Project -# PROP Target_Last_Scanned "9116ATrg - Win32 Debug" -RSC=rc.exe -CPP=cl.exe -MTL=mktyplib.exe - -!IF "$(CFG)" == "9116ATrg - Win32 Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "Release" -# PROP BASE Intermediate_Dir "Release" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "" -# PROP Intermediate_Dir "Release" -# PROP Target_Dir "" -OUTDIR=. -INTDIR=.\Release - -ALL : "$(OUTDIR)\9116ATrg.exe" - -CLEAN : - -@erase ".\9116ATrg.exe" - -@erase ".\Release\9116Atrg.obj" - -@erase ".\Release\9116ATrg.res" - -"$(INTDIR)" : - if not exist "$(INTDIR)/$(NULL)" mkdir "$(INTDIR)" - -# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /YX /c -# ADD CPP /nologo /MT /W3 /GX /Od /I "..\..\..\include" /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /c -# SUBTRACT CPP /YX -CPP_PROJ=/nologo /MT /W3 /GX /Od /I "..\..\..\include" /D "WIN32" /D "NDEBUG"\ - /D "_WINDOWS" /Fo"$(INTDIR)/" /c -CPP_OBJS=.\Release/ -CPP_SBRS= -# ADD BASE MTL /nologo /D "NDEBUG" /win32 -# ADD MTL /nologo /D "NDEBUG" /win32 -MTL_PROJ=/nologo /D "NDEBUG" /win32 -# ADD BASE RSC /l 0x409 /d "NDEBUG" -# ADD RSC /l 0x409 /d "NDEBUG" -RSC_PROJ=/l 0x409 /fo"$(INTDIR)/9116ATrg.res" /d "NDEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -BSC32_FLAGS=/nologo /o"$(OUTDIR)/9116ATrg.bsc" -BSC32_SBRS= -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:windows /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ..\..\..\lib\pci-dask.lib /nologo /subsystem:windows /machine:I386 -LINK32_FLAGS=kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib\ - advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib\ - odbccp32.lib ..\..\..\lib\pci-dask.lib /nologo /subsystem:windows\ - /incremental:no /pdb:"$(OUTDIR)/9116ATrg.pdb" /machine:I386\ - /out:"$(OUTDIR)/9116ATrg.exe" -LINK32_OBJS= \ - ".\Release\9116Atrg.obj" \ - ".\Release\9116ATrg.res" - -"$(OUTDIR)\9116ATrg.exe" : "$(OUTDIR)" $(DEF_FILE) $(LINK32_OBJS) - $(LINK32) @<< - $(LINK32_FLAGS) $(LINK32_OBJS) -<< - -!ELSEIF "$(CFG)" == "9116ATrg - Win32 Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "Debug" -# PROP BASE Intermediate_Dir "Debug" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "Debug" -# PROP Intermediate_Dir "Debug" -# PROP Target_Dir "" -OUTDIR=.\Debug -INTDIR=.\Debug - -ALL : "$(OUTDIR)\9116ATrg.exe" - -CLEAN : - -@erase ".\Debug\vc40.pdb" - -@erase ".\Debug\vc40.idb" - -@erase ".\Debug\9116ATrg.exe" - -@erase ".\Debug\9116Atrg.obj" - -@erase ".\Debug\9116ATrg.res" - -@erase ".\Debug\9116ATrg.ilk" - -@erase ".\Debug\9116ATrg.pdb" - -"$(OUTDIR)" : - if not exist "$(OUTDIR)/$(NULL)" mkdir "$(OUTDIR)" - -# ADD BASE CPP /nologo /W3 /Gm /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /YX /c -# ADD CPP /nologo /MTd /W3 /Gm /GX /Zi /Od /I "..\..\..\include" /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /c -# SUBTRACT CPP /YX -CPP_PROJ=/nologo /MTd /W3 /Gm /GX /Zi /Od /I "..\..\..\include" /D "WIN32" /D\ - "_DEBUG" /D "_WINDOWS" /Fo"$(INTDIR)/" /Fd"$(INTDIR)/" /c -CPP_OBJS=.\Debug/ -CPP_SBRS= -# ADD BASE MTL /nologo /D "_DEBUG" /win32 -# ADD MTL /nologo /D "_DEBUG" /win32 -MTL_PROJ=/nologo /D "_DEBUG" /win32 -# ADD BASE RSC /l 0x409 /d "_DEBUG" -# ADD RSC /l 0x409 /d "_DEBUG" -RSC_PROJ=/l 0x409 /fo"$(INTDIR)/9116ATrg.res" /d "_DEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -BSC32_FLAGS=/nologo /o"$(OUTDIR)/9116ATrg.bsc" -BSC32_SBRS= -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:windows /debug /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ..\..\..\lib\pci-dask.lib /nologo /subsystem:windows /debug /machine:I386 -LINK32_FLAGS=kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib\ - advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib\ - odbccp32.lib ..\..\..\lib\pci-dask.lib /nologo /subsystem:windows\ - /incremental:yes /pdb:"$(OUTDIR)/9116ATrg.pdb" /debug /machine:I386\ - /out:"$(OUTDIR)/9116ATrg.exe" -LINK32_OBJS= \ - ".\Debug\9116Atrg.obj" \ - ".\Debug\9116ATrg.res" - -"$(OUTDIR)\9116ATrg.exe" : "$(OUTDIR)" $(DEF_FILE) $(LINK32_OBJS) - $(LINK32) @<< - $(LINK32_FLAGS) $(LINK32_OBJS) -<< - -!ENDIF - -.c{$(CPP_OBJS)}.obj: - $(CPP) $(CPP_PROJ) $< - -.cpp{$(CPP_OBJS)}.obj: - $(CPP) $(CPP_PROJ) $< - -.cxx{$(CPP_OBJS)}.obj: - $(CPP) $(CPP_PROJ) $< - -.c{$(CPP_SBRS)}.sbr: - $(CPP) $(CPP_PROJ) $< - -.cpp{$(CPP_SBRS)}.sbr: - $(CPP) $(CPP_PROJ) $< - -.cxx{$(CPP_SBRS)}.sbr: - $(CPP) $(CPP_PROJ) $< - -################################################################################ -# Begin Target - -# Name "9116ATrg - Win32 Release" -# Name "9116ATrg - Win32 Debug" - -!IF "$(CFG)" == "9116ATrg - Win32 Release" - -!ELSEIF "$(CFG)" == "9116ATrg - Win32 Debug" - -!ENDIF - -################################################################################ -# Begin Source File - -SOURCE=.\9116ATrg.rc - -"$(INTDIR)\9116ATrg.res" : $(SOURCE) "$(INTDIR)" - $(RSC) $(RSC_PROJ) $(SOURCE) - - -# End Source File -################################################################################ -# Begin Source File - -SOURCE=.\9116Atrg.c -DEP_CPP_9116A=\ - ".\..\..\..\include\Dask.h"\ - - -"$(INTDIR)\9116Atrg.obj" : $(SOURCE) $(DEP_CPP_9116A) "$(INTDIR)" - - -# End Source File -# End Target -# End Project -################################################################################ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9116/SDK9116DbfAboutTrg/9116ATrg.mdp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9116/SDK9116DbfAboutTrg/9116ATrg.mdp deleted file mode 100644 index 47877e2..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9116/SDK9116DbfAboutTrg/9116ATrg.mdp and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9116/SDK9116DbfAboutTrg/9116ATrg.rc b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9116/SDK9116DbfAboutTrg/9116ATrg.rc deleted file mode 100644 index 2b2e33b..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9116/SDK9116DbfAboutTrg/9116ATrg.rc +++ /dev/null @@ -1,126 +0,0 @@ -//Microsoft Developer Studio generated resource script. -// -#include "resource.h" - -#define APSTUDIO_READONLY_SYMBOLS -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 2 resource. -// -#define APSTUDIO_HIDDEN_SYMBOLS -#include "windows.h" -#undef APSTUDIO_HIDDEN_SYMBOLS - -///////////////////////////////////////////////////////////////////////////// -#undef APSTUDIO_READONLY_SYMBOLS - -///////////////////////////////////////////////////////////////////////////// -// English (U.S.) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -#ifdef _WIN32 -LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US -#pragma code_page(1252) -#endif //_WIN32 - -///////////////////////////////////////////////////////////////////////////// -// -// Menu -// - -U7120MENU MENU DISCARDABLE -BEGIN - MENUITEM "E&xit!", IDM_EXIT -END - - -#ifdef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// TEXTINCLUDE -// - -1 TEXTINCLUDE DISCARDABLE -BEGIN - "resource.h\0" -END - -2 TEXTINCLUDE DISCARDABLE -BEGIN - "#define APSTUDIO_HIDDEN_SYMBOLS\r\n" - "#include ""windows.h""\r\n" - "#undef APSTUDIO_HIDDEN_SYMBOLS\r\n" - "\0" -END - -3 TEXTINCLUDE DISCARDABLE -BEGIN - "\r\n" - "\0" -END - -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog -// - -DMABOX DIALOG DISCARDABLE 18, 10, 171, 169 -STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "Data Value (half of circular buffer)" -FONT 8, "System" -BEGIN - PUSHBUTTON "STOP",ID_STOP,82,147,24,14 - LTEXT "Data Transferred :",-1,39,119,64,8 - LTEXT "Text",DMA_SPACE,103,118,41,8 - LTEXT "Text",DMA_DESCP,16,6,158,8 -END - -IDD_DIALOG2 DIALOG DISCARDABLE 110, 10, 110, 69 -STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "Card Number" -FONT 10, "System" -BEGIN - DEFPUSHBUTTON "OK",IDOK,9,48,39,14 - PUSHBUTTON "Cancel",IDCANCEL,56,48,38,14 - COMBOBOX IDC_COMBO1,52,23,51,45,CBS_DROPDOWN | WS_VSCROLL | - WS_TABSTOP - LTEXT "Card Number",IDC_STATIC,3,24,46,13 - LTEXT "Select a card number :",IDC_STATIC,3,6,100,11 -END - - -///////////////////////////////////////////////////////////////////////////// -// -// DESIGNINFO -// - -#ifdef APSTUDIO_INVOKED -GUIDELINES DESIGNINFO DISCARDABLE -BEGIN - IDD_DIALOG2, DIALOG - BEGIN - LEFTMARGIN, 3 - RIGHTMARGIN, 103 - BOTTOMMARGIN, 62 - END -END -#endif // APSTUDIO_INVOKED - -#endif // English (U.S.) resources -///////////////////////////////////////////////////////////////////////////// - - - -#ifndef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 3 resource. -// - - -///////////////////////////////////////////////////////////////////////////// -#endif // not APSTUDIO_INVOKED - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9116/SDK9116DbfAboutTrg/9116Atrg.c b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9116/SDK9116DbfAboutTrg/9116Atrg.c deleted file mode 100644 index 7f8acd3..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9116/SDK9116DbfAboutTrg/9116Atrg.c +++ /dev/null @@ -1,540 +0,0 @@ -#include "windows.h" -#include -#include -#include -#include -#include -#include "resource.h" -#include "Dask.h" - -#define IDM_EXIT 110 -#define IDC_SCROLL 207 -#define IDC_SPIN 301 -#define IDC_START 208 -#define IDC_STOP 209 -#define IDC_EDIT 211 -#define IDC_EDIT1 214 -#define IDC_EDIT2 215 -#define IDC_SHOW 213 -#define IDC_CH 400 - -int PASCAL WinMain(HANDLE, HANDLE, LPSTR, int); -long PASCAL MainWndProc(HWND, UINT, WPARAM, LPARAM); -BOOL PASCAL ShowDMA(HWND, UINT, WPARAM, LPARAM); - - -HANDLE hInst; -HWND hListBox; -HWND hEdit,hEdit1, hEdit2, hStart, hStop; -BOOL bCheck[8]; - -HBRUSH hBlackBrush; -HPEN hRedPen, hBlackPen; -HWND hMainWnd; -long samp_intrv=240; -unsigned int sample_rate=10000; -U16 channel=0, range = AD_B_5_V; -BOOLEAN fstop, HalfReady; -U32 data_size=1024, mem_size; -static HANDLE hMem=NULL; -U16 *ai_buf; -I16 card=-1, card_number = 0; -U32 count, postCount = 1024; -BOOLEAN clear_op; -HANDLE hThread1; - -POINT input_pos[16]= {{470, 280}, {440, 280}, - {410, 280}, {380, 280}, - {350, 280}, {320, 280}, - { 290, 280}, {260, 280}, - {230, 280}, {200, 280}, - {170, 280}, {140, 280}, - {110, 280}, {80, 280}, - { 50, 280}, { 20, 280}, - }; -POINT output_pos[16] ={ - {470, 340}, {440, 340}, - {410, 340}, {380, 340}, - {350, 340}, {320, 340}, - { 290, 340}, {260, 340}, - {230, 340}, {200, 340}, - {170, 340}, {140, 340}, - {110, 340}, {80, 340}, - { 50, 340}, { 20, 340}, - }; - -POINT io_pos[16] ={ - {395, 40}, {370, 40}, - {345, 40}, {320, 40}, - {295, 40}, {270, 40}, - { 245, 40}, {220, 40}, - {195, 40}, {170, 40}, - {145, 40}, {120, 40}, - {95, 40}, {70, 40}, - { 45, 40}, { 20, 40}, - }; - -BOOL InitApplication(HANDLE); -BOOL InitInstance(HANDLE, int); -void ProcessThread(void* pArg); - -int PASCAL WinMain(hInstance, hPrevInstance, lpCmdLine, nCmdShow) -HANDLE hInstance, hPrevInstance; -LPSTR lpCmdLine; -int nCmdShow; -{ - MSG msg; - - if (!hPrevInstance) - if (!InitApplication(hInstance)) return(FALSE); - if (!InitInstance(hInstance, nCmdShow)) return(FALSE); - while (GetMessage(&msg, NULL, NULL, NULL)) { - TranslateMessage(&msg); - DispatchMessage(&msg); - } - return(msg.wParam); -} - -BOOL InitApplication(hInstance) -HANDLE hInstance; -{ - WNDCLASS wc; - - /* Main Window Class */ - wc.style = NULL; - wc.lpfnWndProc = (WNDPROC)MainWndProc; - wc.cbClsExtra = 0; - wc.cbWndExtra = 0; - wc.hInstance = hInstance; - wc.hIcon = LoadIcon(hInstance, "MyIcon"); - wc.hCursor = LoadCursor(NULL, IDC_ARROW); - wc.hbrBackground = GetStockObject(LTGRAY_BRUSH); - wc.lpszMenuName = NULL; - wc.lpszClassName = "GenericWClass"; - if (!RegisterClass(&wc)) return(FALSE); -} - - -BOOL InitInstance(hInstance, nCmdShow) -HANDLE hInstance; -int nCmdShow; -{ - HWND hWnd; - HMENU hSampleMenu; - - hInst = hInstance; - hSampleMenu = LoadMenu(hInstance, "U7120Menu"); - hWnd = CreateWindow("GenericWClass", - (LPCSTR)"PCI-9116 Double Buffered DMA with About Trigger Mode", - WS_OVERLAPPEDWINDOW, - CW_USEDEFAULT, - CW_USEDEFAULT, - 520, - 400, - NULL, - hSampleMenu, - hInstance, - NULL); - if (!hWnd) return(FALSE); - ShowWindow(hWnd, nCmdShow); - UpdateWindow(hWnd); - return(TRUE); -} - -BOOL PASCAL setup(HWND hWnd, unsigned message, WPARAM wParam, LPARAM lParam) -{ - int i; - char n[16]; - char s[50]; - switch (message) { - case WM_INITDIALOG: - for (i=0;i<16;i++) { - sprintf(n, "%d", i); - _strupr(n); - SendMessage(GetDlgItem(hWnd,IDC_COMBO1), CB_ADDSTRING, NULL, (LONG)(LPSTR) n); - } - SendMessage(GetDlgItem(hWnd,IDC_COMBO1) , CB_SETCURSEL, 0, 0L); - - break; - case WM_COMMAND: - switch(LOWORD(wParam)) { - - case IDC_COMBO1: - if (HIWORD(wParam) == CBN_CLOSEUP) { - i = (int)SendMessage(GetDlgItem(hWnd,IDC_COMBO1), CB_GETCURSEL, 0, 0L); - SendMessage(GetDlgItem(hWnd,IDC_COMBO1), CB_GETLBTEXT, i, (LPARAM)((LPCSTR)n)); - card_number = i; - } - return(TRUE); - case IDOK: - if(card <0) { - if ((card=Register_Card(PCI_9116, card_number)) < 0) { - wsprintf(s, "Register_Card Error = %d\n", card); - MessageBox(hWnd, s, "Error", MB_OK); - SendMessage(hWnd, WM_CLOSE, 0, 0L); - break; - } - } - EndDialog(hWnd, TRUE); - InvalidateRect(hWnd, NULL, FALSE); - return (TRUE); - case IDCANCEL: - EndDialog(hWnd, TRUE); - return (TRUE); - } - break; - } - return (FALSE); -} - -long PASCAL MainWndProc(hWnd, message, wParam, lParam) -HWND hWnd; -UINT message; -WPARAM wParam; -LPARAM lParam; -{ - HDC hDC; - PAINTSTRUCT ps; - int i; - char n[6]; - static int pos=0; - I16 err; - char s[50]; - - switch(message) { - case WM_CREATE: - - DialogBox(hInst,IDD_DIALOG2, hWnd, setup); - if(card<0) { - SendMessage(hWnd, WM_CLOSE, 0, 0L); - break; - } - hEdit=CreateWindow("EDIT", NULL, - WS_CHILD | WS_VISIBLE | ES_LEFT, - output_pos[13].x-30, input_pos[15].y+20,40, 20, hWnd, IDC_EDIT, hInst, NULL); - - hEdit1=CreateWindow("EDIT", NULL, - WS_CHILD | WS_VISIBLE | ES_LEFT, - output_pos[13].x+90, input_pos[15].y+20,60, 20, hWnd, IDC_EDIT1, hInst, NULL); - - hEdit2=CreateWindow("EDIT", NULL, - WS_CHILD | WS_VISIBLE | ES_LEFT, - output_pos[13].x+90, input_pos[15].y-20,60, 20, hWnd, IDC_EDIT2, hInst, NULL); - - wsprintf(n,"%d",sample_rate/1000); - SetWindowText(hEdit,n); - - wsprintf(n,"%d",data_size); - SetWindowText(hEdit1,n); - - wsprintf(n,"%d",postCount); - SetWindowText(hEdit2,n); - - CreateWindow("SCROLLBAR", NULL, - WS_CHILD | WS_VISIBLE | SBS_VERT, - output_pos[13].x+10, input_pos[15].y+20,20, 20, hWnd, IDC_SCROLL, hInst, NULL); - - hStart = CreateWindow("BUTTON","Start" , - WS_CHILD | WS_VISIBLE , - output_pos[10].x+110, input_pos[10].y+10,50, 30, hWnd, IDC_START, hInst, NULL); - - hStop = CreateWindow("BUTTON","Stop" , - WS_CHILD | WS_VISIBLE , - output_pos[10].x+170, input_pos[10].y+10,50, 30, hWnd, IDC_STOP, hInst, NULL); - - CreateWindow("BUTTON","Data Value" , - WS_CHILD | WS_VISIBLE , - output_pos[10].x+230, input_pos[10].y+10,80, 30, hWnd, IDC_SHOW, hInst, NULL); - EnableWindow(hStop, FALSE); - - CreateWindow("BUTTON","0" , - WS_CHILD | WS_VISIBLE | BS_AUTORADIOBUTTON | BS_LEFTTEXT | WS_GROUP , - output_pos[4].x+50, io_pos[0].y-5+20,25,15, hWnd,IDC_CH, hInst, NULL); - - CreateWindow("BUTTON","1" , - WS_CHILD | WS_VISIBLE | BS_AUTORADIOBUTTON | BS_LEFTTEXT | WS_GROUP, - output_pos[4].x+50, io_pos[0].y+13+20,25,15, hWnd,IDC_CH+1, hInst, NULL); - - CreateWindow("BUTTON","2" , - WS_CHILD | WS_VISIBLE | BS_AUTORADIOBUTTON | BS_LEFTTEXT | WS_GROUP, - output_pos[4].x+50, io_pos[0].y+31+20,25,15, hWnd,IDC_CH+2, hInst, NULL); - - CreateWindow("BUTTON","3" , - WS_CHILD | WS_VISIBLE | BS_AUTORADIOBUTTON | BS_LEFTTEXT | WS_GROUP, - output_pos[4].x+50, io_pos[0].y+49+20,25,15, hWnd,IDC_CH+3, hInst, NULL); - - CreateWindow("BUTTON","4" , - WS_CHILD | WS_VISIBLE | BS_AUTORADIOBUTTON | BS_LEFTTEXT | WS_GROUP, - output_pos[4].x+100, io_pos[0].y-5+20,25,15, hWnd,IDC_CH+4, hInst, NULL); - - CreateWindow("BUTTON","5" , - WS_CHILD | WS_VISIBLE | BS_AUTORADIOBUTTON | BS_LEFTTEXT | WS_GROUP, - output_pos[4].x+100, io_pos[0].y+13+20,25,15, hWnd, IDC_CH+5, hInst, NULL); - - CreateWindow("BUTTON","6" , - WS_CHILD | WS_VISIBLE | BS_AUTORADIOBUTTON | BS_LEFTTEXT | WS_GROUP, - output_pos[4].x+100, io_pos[0].y+31+20,25,15, hWnd,IDC_CH+6, hInst, NULL); - - CreateWindow("BUTTON","7" , - WS_CHILD | WS_VISIBLE | BS_AUTORADIOBUTTON | BS_LEFTTEXT | WS_GROUP, - output_pos[4].x+100, io_pos[0].y+49+20,25,15, hWnd, IDC_CH+7, hInst, NULL); - - //default channel 0 - for (i=1;i<8;i++) bCheck[i]=FALSE; - bCheck[0] = TRUE; - channel = 0; - SendMessage(GetDlgItem(hWnd,IDC_CH), BM_SETCHECK, 1, 0); - - hBlackBrush= CreateSolidBrush(RGB(0,0,0)); - hRedPen= CreatePen(PS_SOLID,1,RGB(255,0,0)); - hBlackPen= CreatePen(PS_SOLID,1,RGB(0,0,0)); - break; - - case WM_PAINT: - hDC = BeginPaint(hWnd, &ps); - - // DMA analog input box - SelectObject(hDC, GetStockObject(GRAY_BRUSH)); - Rectangle(hDC, output_pos[15].x-10, io_pos[15].y-24, output_pos[0].x+26, io_pos[0].y+195); - SetTextColor(hDC,RGB(255,255,0)); - SetBkColor(hDC, RGB(0, 0, 255)); - TextOut(hDC, io_pos[15].x, io_pos[15].y-35, "DMA Input", 9); - SelectObject(hDC, hBlackBrush); - Rectangle(hDC, output_pos[15].x+35, io_pos[15].y-2, output_pos[4].x+41, io_pos[0].y+172); - - SetBkMode(hDC,TRANSPARENT); - TextOut(hDC,output_pos[13].x+70, input_pos[10].y-40,"PostCount",9); - TextOut(hDC,output_pos[13].x-60, input_pos[10].y,"Samping Rate",12); - TextOut(hDC,output_pos[13].x+30, input_pos[15].y+20,"KHZ",3); - TextOut(hDC,output_pos[13].x+70, input_pos[10].y,"Buffer Size",11); - TextOut(hDC,input_pos[2].x-10, io_pos[15].y+118,"Range: +-5V",11); - TextOut(hDC,input_pos[15].x, io_pos[15].y-19,"Volt",4); - TextOut(hDC,input_pos[15].x, io_pos[15].y-5,"5.00",4); - TextOut(hDC,input_pos[15].x, io_pos[15].y+36,"2.50",4); - TextOut(hDC,input_pos[15].x, io_pos[15].y+77,"0.00",4); - TextOut(hDC,input_pos[15].x-3, io_pos[15].y+118,"-2.50",5); - TextOut(hDC,input_pos[15].x-3, io_pos[15].y+159,"-5.00",5); - TextOut(hDC,input_pos[10].x+10, io_pos[10].y-19,"Signals",7); - TextOut(hDC,output_pos[4].x+60, io_pos[0].y-15,"Channel",7); - EndPaint(hWnd, &ps); - break; - - // Sample Rate Spin Control - case WM_VSCROLL: - switch (LOWORD(wParam)) { - case SB_LINEUP : - sample_rate+=5000; - if (sample_rate > 50000 ) sample_rate=50000; - break; - case SB_LINEDOWN: - sample_rate-=5000; - if (sample_rate < 5000 ) sample_rate=5000; - break; - } - wsprintf(n,"%d",sample_rate/1000); - SetWindowText(hEdit,n); - break; - case WM_COMMAND: - switch(LOWORD(wParam)) { - case IDM_EXIT: - SendMessage(hWnd, WM_CLOSE, 0, 0L); - break; - case IDC_CH: - case IDC_CH+1: - case IDC_CH+2: - case IDC_CH+3: - case IDC_CH+4: - case IDC_CH+5: - case IDC_CH+6: - case IDC_CH+7: - if (!bCheck[wParam-IDC_CH]) { - SendMessage(GetDlgItem(hWnd,wParam), BM_SETCHECK, 1, 0); - SendMessage(GetDlgItem(hWnd,IDC_CH+channel), BM_SETCHECK, 0, 0); - bCheck[channel]=FALSE; - } - channel=wParam-IDC_CH; - bCheck[channel]=TRUE; - break; - case IDC_SHOW : - DialogBox(hInst, "DMABox", hWnd, ShowDMA); - break; - case IDC_START: - if (hMem != NULL) { - GlobalUnfix(hMem); - GlobalUnlock(hMem); - GlobalFree(hMem); - } - // allocate a memory for DMA - postCount = GetDlgItemInt(hWnd,IDC_EDIT2,NULL ,FALSE); - data_size=GetDlgItemInt(hWnd,IDC_EDIT1,NULL ,FALSE); - mem_size=data_size * 2; - hMem = GlobalAlloc(GMEM_FIXED | GMEM_ZEROINIT,mem_size); - - ai_buf = (U16 *)GlobalLock(hMem); - if (ai_buf == NULL ) { - MessageBox(hWnd,"DMA", "No Memory", MB_OK); - SendMessage(hWnd, WM_CLOSE, 0, 0L); - break; - } - GlobalFix(hMem); - fstop =0; - if ((err=AI_9116_Config(card,0,P9116_AI_DMA|P9116_TRGMOD_MIDL,512,0,0))) { - wsprintf(s, "AI_Config Error = %d\n", err); - MessageBox(hWnd, s, "Error", MB_OK); - SendMessage(hWnd, WM_CLOSE, 0, 0L); - break; - } - err = AI_9116_CounterInterval (card, samp_intrv, samp_intrv); - if ((err=AI_AsyncDblBufferMode (card, 1)) != NoError) { - wsprintf(s, "AI_AsyncDblBufferMode Error = %d\n", err); - MessageBox(hWnd, s, "Error", MB_OK); - SendMessage(hWnd, WM_CLOSE, 0, 0L); - break; - } - if ((err=AI_ContReadChannel(card, channel, AD_B_5_V, ai_buf, data_size, (F64)sample_rate, ASYNCH_OP)) != NoError) { - wsprintf(s, "AI_ContReadPort Error = %d\n", err); - MessageBox(hWnd, s, "Error", MB_OK); - SendMessage(hWnd, WM_CLOSE, 0, 0L); - break; - } - EnableWindow(hStart, FALSE); - EnableWindow(hStop, TRUE); - hMainWnd = hWnd; - clear_op = FALSE; - hThread1 = (HANDLE)_beginthread(ProcessThread, 0, 0); - - MessageBeep(0); - break; - case IDC_STOP: - clear_op = TRUE; - EnableWindow(hStart, TRUE); - EnableWindow(hStop, FALSE); - break; - default: - return(DefWindowProc(hWnd, message, wParam, lParam)); - } - break; - case WM_DESTROY: - if (card >= 0) Release_Card(card); - DeleteObject(hBlackBrush); - DeleteObject(hRedPen); - GlobalUnfix(hMem); - GlobalUnlock(hMem); - GlobalFree(hMem); - PostQuitMessage(0); - break; - default: - return(DefWindowProc(hWnd, message, wParam, lParam)); - } - return(NULL); -} - -BOOL PASCAL ShowDMA(hDlg, message, wParam, lParam) -HWND hDlg; -UINT message; -WPARAM wParam; -LPARAM lParam; -{ - int nTabs[2] = {32, 92}; - int i; - char cBuf[100]; - char string[10]=" "; - char data_str[3]=" "; - U16 *pp; - switch (message) { - case WM_INITDIALOG: - hListBox = CreateWindow("LISTBOX", "Index Data (Hex)", - WS_CHILD | WS_VISIBLE | LBS_HASSTRINGS | LBS_STANDARD | LBS_USETABSTOPS |WS_CAPTION, - 50, 40, 240, 180, hDlg, 100, hInst, NULL); - SendMessage(hListBox, LB_RESETCONTENT, 0, 0L); - SendMessage(hListBox, LB_SETTABSTOPS, 2, (DWORD)(LPINT) nTabs); - SetDlgItemText(hDlg, DMA_DESCP, "This ListBox can show at most 4000 data"); - itoa( data_size, string, 10); - SetDlgItemText(hDlg, DMA_SPACE, string); - - pp = (U16 *)ai_buf; - if (count > 4000) count = 4000; - for(i=0;i -#include -#include -#include -#include -#include "resource.h" -#include "Dask.h" - -#define IDM_EXIT 110 -#define IDC_SCROLL 207 -#define IDC_SPIN 301 -#define IDC_START 208 -#define IDC_STOP 209 -#define IDC_EDIT 211 -#define IDC_EDIT1 214 -#define IDC_SHOW 213 -#define IDC_EDIT2 215 -#define IDC_CH 400 - -int PASCAL WinMain(HANDLE, HANDLE, LPSTR, int); -long PASCAL MainWndProc(HWND, UINT, WPARAM, LPARAM); -BOOL PASCAL ShowDMA(HWND, UINT, WPARAM, LPARAM); - -HANDLE hInst; -HWND hListBox; -HWND hEdit,hEdit1, hStart, hStop, hData; -BOOL bCheck[8]; - -HBRUSH hBlackBrush; -HPEN hRedPen, hBlackPen; -HWND hMainWnd; - -//unsigned int sample_rate=10000; -long samp_intrv=240; -U16 channel; -U32 data_size=4096, mem_size; -static HANDLE hMem=NULL; -I16 *ai_buf; -I16 card=-1, card_number = 0, ai_mode, dl_mode; -U32 count; -BOOLEAN clear_op; -HANDLE hThread1; -LPSTR AI_MODE[2]={"DMA", "INT"}; -LPSTR DL_MODE[2]={"In Timebase", "In Samples"}; - -POINT input_pos[16]= {{470, 280}, {440, 280}, - {410, 280}, {380, 280}, - {350, 280}, {320, 280}, - { 290, 280}, {260, 280}, - {230, 280}, {200, 280}, - {170, 280}, {140, 280}, - {110, 280}, {80, 280}, - { 50, 280}, { 20, 280}, - }; -POINT output_pos[16] ={ - {470, 340}, {440, 340}, - {410, 340}, {380, 340}, - {350, 340}, {320, 340}, - { 290, 340}, {260, 340}, - {230, 340}, {200, 340}, - {170, 340}, {140, 340}, - {110, 340}, {80, 340}, - { 50, 340}, { 20, 340}, - }; - -POINT io_pos[16] ={ - {395, 40}, {370, 40}, - {345, 40}, {320, 40}, - {295, 40}, {270, 40}, - { 245, 40}, {220, 40}, - {195, 40}, {170, 40}, - {145, 40}, {120, 40}, - {95, 40}, {70, 40}, - { 45, 40}, { 20, 40}, - }; - -BOOL InitApplication(HANDLE); -BOOL InitInstance(HANDLE, int); -void ProcessThread(void* pArg); - -int PASCAL WinMain(hInstance, hPrevInstance, lpCmdLine, nCmdShow) -HANDLE hInstance, hPrevInstance; -LPSTR lpCmdLine; -int nCmdShow; -{ - MSG msg; - - if (!hPrevInstance) - if (!InitApplication(hInstance)) return(FALSE); - if (!InitInstance(hInstance, nCmdShow)) return(FALSE); - while (GetMessage(&msg, NULL, NULL, NULL)) { - TranslateMessage(&msg); - DispatchMessage(&msg); - } - return(msg.wParam); -} - -BOOL InitApplication(hInstance) -HANDLE hInstance; -{ - WNDCLASS wc; - - /* Main Window Class */ - wc.style = NULL; - wc.lpfnWndProc = (WNDPROC)MainWndProc; - wc.cbClsExtra = 0; - wc.cbWndExtra = 0; - wc.hInstance = hInstance; - wc.hIcon = LoadIcon(hInstance, "MyIcon"); - wc.hCursor = LoadCursor(NULL, IDC_ARROW); - wc.hbrBackground = GetStockObject(LTGRAY_BRUSH); - wc.lpszMenuName = NULL; - wc.lpszClassName = "GenericWClass"; - if (!RegisterClass(&wc)) return(FALSE); -} - - -BOOL InitInstance(hInstance, nCmdShow) -HANDLE hInstance; -int nCmdShow; -{ - HWND hWnd; - HMENU hSampleMenu; - - hInst = hInstance; - hSampleMenu = LoadMenu(hInstance, "U7120Menu"); - hWnd = CreateWindow("GenericWClass", - (LPCSTR)"PCI-9116 Double Buffered DMA/INT with Delay Trigger Mode", - WS_OVERLAPPEDWINDOW, - CW_USEDEFAULT, - CW_USEDEFAULT, - 520, - 400, - NULL, - hSampleMenu, - hInstance, - NULL); - if (!hWnd) return(FALSE); - ShowWindow(hWnd, nCmdShow); - UpdateWindow(hWnd); - return(TRUE); -} - -BOOL PASCAL setup(HWND hWnd, unsigned message, WPARAM wParam, LPARAM lParam) -{ - int i; - char n[16]; - char s[50]; - switch (message) { - case WM_INITDIALOG: - for (i=0;i<2;i++) { - SendMessage(GetDlgItem(hWnd,IDC_COMBO1), CB_ADDSTRING, NULL, (LONG)(LPSTR) AI_MODE[i]); - } - SendMessage(GetDlgItem(hWnd,IDC_COMBO1) , CB_SETCURSEL, 0, 0L); - for (i=0;i<16;i++) { - wsprintf(n, "%d", i); - _strupr(n); - SendMessage(GetDlgItem(hWnd,IDC_COMBO2), CB_ADDSTRING, NULL, (LONG)(LPSTR) n); - } - SendMessage(GetDlgItem(hWnd,IDC_COMBO2) , CB_SETCURSEL, 0, 0L); - for (i=0;i<2;i++) { - SendMessage(GetDlgItem(hWnd,IDC_COMBO3), CB_ADDSTRING, NULL, (LONG)(LPSTR) DL_MODE[i]); - } - SendMessage(GetDlgItem(hWnd,IDC_COMBO3) , CB_SETCURSEL, 0, 0L); - break; - case WM_COMMAND: - switch(LOWORD(wParam)) { - - case IDC_COMBO1: - if (HIWORD(wParam) == CBN_CLOSEUP) { - i = (int)SendMessage(GetDlgItem(hWnd,IDC_COMBO1), CB_GETCURSEL, 0, 0L); - SendMessage(GetDlgItem(hWnd,IDC_COMBO1), CB_GETLBTEXT, i, (LPARAM)((LPCSTR)n)); - ai_mode = i; - } - return(TRUE); - case IDC_COMBO2: - if (HIWORD(wParam) == CBN_CLOSEUP) { - i = (int)SendMessage(GetDlgItem(hWnd,IDC_COMBO2), CB_GETCURSEL, 0, 0L); - SendMessage(GetDlgItem(hWnd,IDC_COMBO2), CB_GETLBTEXT, i, (LPARAM)((LPCSTR)n)); - card_number = i; - } - return(TRUE); - case IDC_COMBO3: - if (HIWORD(wParam) == CBN_CLOSEUP) { - i = (int)SendMessage(GetDlgItem(hWnd,IDC_COMBO3), CB_GETCURSEL, 0, 0L); - SendMessage(GetDlgItem(hWnd,IDC_COMBO3), CB_GETLBTEXT, i, (LPARAM)((LPCSTR)n)); - dl_mode = i; - } - return(TRUE); - case IDOK: - if ((card=Register_Card(PCI_9116, card_number)) < 0) { - wsprintf(s, "Register_Card Error = %d\n", card); - MessageBox(hWnd, s, "Error", MB_OK); - SendMessage(hWnd, WM_CLOSE, 0, 0L); - break; - } - EndDialog(hWnd, TRUE); - InvalidateRect(hWnd, NULL, FALSE); - return (TRUE); - case IDCANCEL: - EndDialog(hWnd, TRUE); - return (TRUE); - } - break; - } - return (FALSE); -} - -long PASCAL MainWndProc(hWnd, message, wParam, lParam) -HWND hWnd; -UINT message; -WPARAM wParam; -LPARAM lParam; -{ - HDC hDC; - PAINTSTRUCT ps; - int i; - char n[6]; - static int pos=0; - I16 err; - char s[50]; - - switch(message) { - case WM_CREATE: - - DialogBox(hInst,IDD_DIALOG2, hWnd, setup); - if(card<0) { - SendMessage(hWnd, WM_CLOSE, 0, 0L); - break; - } - hEdit=CreateWindow("EDIT", NULL, - WS_CHILD | WS_VISIBLE | ES_LEFT, - output_pos[13].x-30, input_pos[15].y+20,40, 20, hWnd, IDC_EDIT, hInst, NULL); - - hEdit1=CreateWindow("EDIT", NULL, - WS_CHILD | WS_VISIBLE | ES_LEFT, - output_pos[13].x+90, input_pos[15].y+20,60, 20, hWnd, IDC_EDIT1, hInst, NULL); - - wsprintf(n,"%d",samp_intrv); - SetWindowText(hEdit,n); - - wsprintf(n,"%d",data_size); - SetWindowText(hEdit1,n); - - CreateWindow("SCROLLBAR", NULL, - WS_CHILD | WS_VISIBLE | SBS_VERT, - output_pos[13].x+10, input_pos[15].y+20,20, 20, hWnd, IDC_SCROLL, hInst, NULL); - - hStart = CreateWindow("BUTTON","Start" , - WS_CHILD | WS_VISIBLE , - output_pos[10].x+110, input_pos[10].y+10,50, 30, hWnd, IDC_START, hInst, NULL); - - hStop = CreateWindow("BUTTON","Stop" , - WS_CHILD | WS_VISIBLE , - output_pos[10].x+170, input_pos[10].y+10,50, 30, hWnd, IDC_STOP, hInst, NULL); - - hData = CreateWindow("BUTTON","Data Value" , - WS_CHILD | WS_VISIBLE , - output_pos[10].x+230, input_pos[10].y+10,80, 30, hWnd, IDC_SHOW, hInst, NULL); - EnableWindow(hStop, FALSE); - EnableWindow(hData, FALSE); - - //default channel 0 - - hBlackBrush= CreateSolidBrush(RGB(0,0,0)); - hRedPen= CreatePen(PS_SOLID,1,RGB(255,0,0)); - hBlackPen= CreatePen(PS_SOLID,1,RGB(0,0,0)); - break; - - case WM_PAINT: - hDC = BeginPaint(hWnd, &ps); - - // DMA analog input box - SelectObject(hDC, GetStockObject(GRAY_BRUSH)); - Rectangle(hDC, output_pos[15].x-10, io_pos[15].y-24, output_pos[0].x+26, io_pos[0].y+195); - SetTextColor(hDC,RGB(255,0,0)); - //TextOut(hDC, io_pos[15].x+105, io_pos[15].y-40, " Trigger Source : External Digital Trigger ", 43); - SetTextColor(hDC,RGB(255,255,0)); - SetBkColor(hDC, RGB(0, 0, 255)); - TextOut(hDC, io_pos[15].x, io_pos[15].y-35, "DMA / INT Input", 15); - SelectObject(hDC, hBlackBrush); - Rectangle(hDC, output_pos[15].x+35, io_pos[15].y-2, output_pos[4].x+41, io_pos[0].y+172); - - SetBkMode(hDC,TRANSPARENT); - TextOut(hDC,output_pos[13].x-60, input_pos[10].y,"Sample Interval",15); - //TextOut(hDC,output_pos[13].x+30, input_pos[15].y+20,"KHZ",3); - TextOut(hDC,output_pos[13].x+70, input_pos[10].y,"Buffer Size",11); - TextOut(hDC,input_pos[2].x-10, io_pos[15].y+118,"Range: +-5V",11); - TextOut(hDC,input_pos[15].x, io_pos[15].y-19,"Volt",4); - TextOut(hDC,input_pos[15].x, io_pos[15].y-5,"5.00",4); - TextOut(hDC,input_pos[15].x, io_pos[15].y+36,"2.50",4); - TextOut(hDC,input_pos[15].x, io_pos[15].y+77,"0.00",4); - TextOut(hDC,input_pos[15].x-3, io_pos[15].y+118,"-2.50",5); - TextOut(hDC,input_pos[15].x-3, io_pos[15].y+159,"-5.00",5); - TextOut(hDC,input_pos[10].x+10, io_pos[10].y-19,"Signals",7); - TextOut(hDC,output_pos[4].x+60, io_pos[0].y,"Channel 0",9); - EndPaint(hWnd, &ps); - break; - - // Sample Rate Spin Control - case WM_VSCROLL: - switch(LOWORD(wParam)){ - case SB_LINEUP : - samp_intrv+=240; - if (samp_intrv > 24000 ) samp_intrv=24000; - break; - case SB_LINEDOWN: - samp_intrv-=240; - if (samp_intrv < 240 ) samp_intrv=240; - break; - } - wsprintf(n,"%d",samp_intrv); - SetWindowText(hEdit,n); - break; - case WM_COMMAND: - switch(LOWORD(wParam)) { - case IDM_EXIT: - SendMessage(hWnd, WM_CLOSE, 0, 0L); - break; - - case IDC_SHOW : - DialogBox(hInst, "DMABox", hWnd, ShowDMA); - break; - case IDC_START: - if (hMem != NULL) { - GlobalUnfix(hMem); - GlobalUnlock(hMem); - GlobalFree(hMem); - } - // allocate a memory for DMA - data_size=GetDlgItemInt(hWnd,IDC_EDIT1,NULL ,FALSE); - if(ai_mode && (data_size%1024)) { - MessageBox(hWnd,"Counts must be times of 1024 for DbfINT", "No Memory", MB_OK); - break; - } - mem_size=data_size * 2; - hMem = GlobalAlloc(GMEM_FIXED | GMEM_ZEROINIT,mem_size); - - ai_buf = (U16 *)GlobalLock(hMem); - if (ai_buf == NULL ) { - MessageBox(hWnd,"DMA", "No Memory", MB_OK); - SendMessage(hWnd, WM_CLOSE, 0, 0L); - break; - } - - GlobalFix(hMem); - for (i=0;i= 0) Release_Card(card); - DeleteObject(hBlackBrush); - DeleteObject(hRedPen); - GlobalUnfix(hMem); - GlobalUnlock(hMem); - GlobalFree(hMem); - PostQuitMessage(0); - break; - default: - return(DefWindowProc(hWnd, message, wParam, lParam)); - } - return(NULL); -} - -BOOL PASCAL ShowDMA(hDlg, message, wParam, lParam) -HWND hDlg; -UINT message; -WPARAM wParam; -LPARAM lParam; -{ - int nTabs[2] = {32, 92}; - int i; - char cBuf[100]; - char string[10]=" "; - char data_str[3]=" "; - I16 *pp; - switch (message) { - case WM_INITDIALOG: - hListBox = CreateWindow("LISTBOX", "Index Data", - WS_CHILD | WS_VISIBLE | LBS_HASSTRINGS | LBS_STANDARD | LBS_USETABSTOPS |WS_CAPTION, - 50, 40, 240, 180, hDlg, 100, hInst, NULL); - SendMessage(hListBox, LB_RESETCONTENT, 0, 0L); - SendMessage(hListBox, LB_SETTABSTOPS, 2, (DWORD)(LPINT) nTabs); - SetDlgItemText(hDlg, DMA_DESCP, "This ListBox can show at most 4000 data"); - itoa( data_size, string, 10); - SetDlgItemText(hDlg, DMA_SPACE, string); - pp = (I16 *)ai_buf; - if (data_size >4000) data_size = 4000; - for(i=0;i -#include -#include -#include -#include -#include "resource.h" -#include "Dask.h" - -#define IDM_EXIT 110 -#define IDC_SCROLL 207 -#define IDC_SPIN 301 -#define IDC_START 208 -#define IDC_STOP 209 -#define IDC_EDIT 211 -#define IDC_EDIT1 214 -#define IDC_SHOW 213 -#define IDC_CH 400 - -int PASCAL WinMain(HANDLE, HANDLE, LPSTR, int); -long PASCAL MainWndProc(HWND, UINT, WPARAM, LPARAM); -BOOL PASCAL ShowDMA(HWND, UINT, WPARAM, LPARAM); - - -HANDLE hInst; -HWND hListBox; -HWND hEdit,hEdit1, hStart, hStop; -BOOL bCheck[8]; - -HBRUSH hBlackBrush; -HPEN hRedPen, hBlackPen; -HWND hMainWnd; - -long samp_intrv=240; -U16 channel=0; -U32 data_size=4096, mem_size; -static HANDLE hMem=NULL; -U16 *ai_buf; -I16 card=-1, card_number = 0, ai_mode; -BOOLEAN fstop, HalfReady; -BOOLEAN clear_op; -HANDLE hThread1; -LPSTR AI_MODE[2]={"DMA", "INT"}; - -POINT input_pos[16]= {{470, 280}, {440, 280}, - {410, 280}, {380, 280}, - {350, 280}, {320, 280}, - { 290, 280}, {260, 280}, - {230, 280}, {200, 280}, - {170, 280}, {140, 280}, - {110, 280}, {80, 280}, - { 50, 280}, { 20, 280}, - }; -POINT output_pos[16] ={ - {470, 340}, {440, 340}, - {410, 340}, {380, 340}, - {350, 340}, {320, 340}, - { 290, 340}, {260, 340}, - {230, 340}, {200, 340}, - {170, 340}, {140, 340}, - {110, 340}, {80, 340}, - { 50, 340}, { 20, 340}, - }; - -POINT io_pos[16] ={ - {395, 40}, {370, 40}, - {345, 40}, {320, 40}, - {295, 40}, {270, 40}, - { 245, 40}, {220, 40}, - {195, 40}, {170, 40}, - {145, 40}, {120, 40}, - {95, 40}, {70, 40}, - { 45, 40}, { 20, 40}, - }; - -BOOL InitApplication(HANDLE); -BOOL InitInstance(HANDLE, int); -void ProcessThread(void* pArg); - -int PASCAL WinMain(hInstance, hPrevInstance, lpCmdLine, nCmdShow) -HANDLE hInstance, hPrevInstance; -LPSTR lpCmdLine; -int nCmdShow; -{ - MSG msg; - - if (!hPrevInstance) - if (!InitApplication(hInstance)) return(FALSE); - if (!InitInstance(hInstance, nCmdShow)) return(FALSE); - while (GetMessage(&msg, NULL, NULL, NULL)) { - TranslateMessage(&msg); - DispatchMessage(&msg); - } - return(msg.wParam); -} - -BOOL InitApplication(hInstance) -HANDLE hInstance; -{ - WNDCLASS wc; - - /* Main Window Class */ - wc.style = NULL; - wc.lpfnWndProc = (WNDPROC)MainWndProc; - wc.cbClsExtra = 0; - wc.cbWndExtra = 0; - wc.hInstance = hInstance; - wc.hIcon = LoadIcon(hInstance, "MyIcon"); - wc.hCursor = LoadCursor(NULL, IDC_ARROW); - wc.hbrBackground = GetStockObject(LTGRAY_BRUSH); - wc.lpszMenuName = NULL; - wc.lpszClassName = "GenericWClass"; - if (!RegisterClass(&wc)) return(FALSE); -} - - -BOOL InitInstance(hInstance, nCmdShow) -HANDLE hInstance; -int nCmdShow; -{ - HWND hWnd; - HMENU hSampleMenu; - - hInst = hInstance; - hSampleMenu = LoadMenu(hInstance, "U7120Menu"); - hWnd = CreateWindow("GenericWClass", - (LPCSTR)"PCI-9116 Double Buffered DMA/INT", - WS_OVERLAPPEDWINDOW, - CW_USEDEFAULT, - CW_USEDEFAULT, - 520, - 400, - NULL, - hSampleMenu, - hInstance, - NULL); - if (!hWnd) return(FALSE); - ShowWindow(hWnd, nCmdShow); - UpdateWindow(hWnd); - return(TRUE); -} - -BOOL PASCAL setup(HWND hWnd, unsigned message, WPARAM wParam, LPARAM lParam) -{ - int i; - char n[16]; - char s[50]; - switch (message) { - case WM_INITDIALOG: - for (i=0;i<16;i++) { - sprintf(n, "%d", i); - _strupr(n); - SendMessage(GetDlgItem(hWnd,IDC_COMBO1), CB_ADDSTRING, NULL, (LONG)(LPSTR) n); - } - SendMessage(GetDlgItem(hWnd,IDC_COMBO1) , CB_SETCURSEL, 0, 0L); - for (i=0;i<2;i++) { - SendMessage(GetDlgItem(hWnd,IDC_COMBO2), CB_ADDSTRING, NULL, (LONG)(LPSTR) AI_MODE[i]); - } - SendMessage(GetDlgItem(hWnd,IDC_COMBO2) , CB_SETCURSEL, 0, 0L); - - break; - case WM_COMMAND: - switch(LOWORD(wParam)) { - - case IDC_COMBO1: - if (HIWORD(wParam) == CBN_CLOSEUP) { - i = (int)SendMessage(GetDlgItem(hWnd,IDC_COMBO1), CB_GETCURSEL, 0, 0L); - SendMessage(GetDlgItem(hWnd,IDC_COMBO1), CB_GETLBTEXT, i, (LPARAM)((LPCSTR)n)); - card_number = i; - } - return(TRUE); - case IDC_COMBO2: - if (HIWORD(wParam) == CBN_CLOSEUP) { - i = (int)SendMessage(GetDlgItem(hWnd,IDC_COMBO2), CB_GETCURSEL, 0, 0L); - SendMessage(GetDlgItem(hWnd,IDC_COMBO2), CB_GETLBTEXT, i, (LPARAM)((LPCSTR)n)); - ai_mode = i; - } - return(TRUE); - case IDOK: - if ((card=Register_Card(PCI_9116, card_number)) < 0) { - wsprintf(s, "Register_Card Error = %d\n", card); - MessageBox(hWnd, s, "Error", MB_OK); - SendMessage(hWnd, WM_CLOSE, 0, 0L); - break; - } - EndDialog(hWnd, TRUE); - InvalidateRect(hWnd, NULL, FALSE); - return (TRUE); - case IDCANCEL: - EndDialog(hWnd, TRUE); - return (TRUE); - } - break; - } - return (FALSE); -} - -long PASCAL MainWndProc(hWnd, message, wParam, lParam) -HWND hWnd; -UINT message; -WPARAM wParam; -LPARAM lParam; -{ - HDC hDC; - PAINTSTRUCT ps; - int i; - char n[6]; - static int pos=0; - I16 err; - char s[50]; - - switch(message) { - case WM_CREATE: - DialogBox(hInst,IDD_DIALOG2, hWnd, setup); - if(card<0) { - SendMessage(hWnd, WM_CLOSE, 0, 0L); - break; - } - hEdit=CreateWindow("EDIT", NULL, - WS_CHILD | WS_VISIBLE | ES_LEFT, - output_pos[13].x-30, input_pos[15].y+20,40, 20, hWnd, IDC_EDIT, hInst, NULL); - - hEdit1=CreateWindow("EDIT", NULL, - WS_CHILD | WS_VISIBLE | ES_LEFT, - output_pos[13].x+90, input_pos[15].y+20,60, 20, hWnd, IDC_EDIT1, hInst, NULL); - - wsprintf(n,"%d",samp_intrv); - SetWindowText(hEdit,n); - - wsprintf(n,"%d",data_size); - SetWindowText(hEdit1,n); - - CreateWindow("SCROLLBAR", NULL, - WS_CHILD | WS_VISIBLE | SBS_VERT, - output_pos[13].x+10, input_pos[15].y+20,20, 20, hWnd, IDC_SCROLL, hInst, NULL); - - hStart = CreateWindow("BUTTON","Start" , - WS_CHILD | WS_VISIBLE , - output_pos[10].x+110, input_pos[10].y+10,50, 30, hWnd, IDC_START, hInst, NULL); - - hStop = CreateWindow("BUTTON","Stop" , - WS_CHILD | WS_VISIBLE , - output_pos[10].x+170, input_pos[10].y+10,50, 30, hWnd, IDC_STOP, hInst, NULL); - - CreateWindow("BUTTON","Data Value" , - WS_CHILD | WS_VISIBLE , - output_pos[10].x+230, input_pos[10].y+10,80, 30, hWnd, IDC_SHOW, hInst, NULL); - EnableWindow(hStop, FALSE); - - CreateWindow("BUTTON","0" , - WS_CHILD | WS_VISIBLE | BS_AUTORADIOBUTTON | BS_LEFTTEXT | WS_GROUP , - output_pos[4].x+50, io_pos[0].y-5+20,25,15, hWnd,IDC_CH, hInst, NULL); - - CreateWindow("BUTTON","1" , - WS_CHILD | WS_VISIBLE | BS_AUTORADIOBUTTON | BS_LEFTTEXT | WS_GROUP, - output_pos[4].x+50, io_pos[0].y+13+20,25,15, hWnd,IDC_CH+1, hInst, NULL); - - CreateWindow("BUTTON","2" , - WS_CHILD | WS_VISIBLE | BS_AUTORADIOBUTTON | BS_LEFTTEXT | WS_GROUP, - output_pos[4].x+50, io_pos[0].y+31+20,25,15, hWnd,IDC_CH+2, hInst, NULL); - - CreateWindow("BUTTON","3" , - WS_CHILD | WS_VISIBLE | BS_AUTORADIOBUTTON | BS_LEFTTEXT | WS_GROUP, - output_pos[4].x+50, io_pos[0].y+49+20,25,15, hWnd,IDC_CH+3, hInst, NULL); - - CreateWindow("BUTTON","4" , - WS_CHILD | WS_VISIBLE | BS_AUTORADIOBUTTON | BS_LEFTTEXT | WS_GROUP, - output_pos[4].x+100, io_pos[0].y-5+20,25,15, hWnd,IDC_CH+4, hInst, NULL); - - CreateWindow("BUTTON","5" , - WS_CHILD | WS_VISIBLE | BS_AUTORADIOBUTTON | BS_LEFTTEXT | WS_GROUP, - output_pos[4].x+100, io_pos[0].y+13+20,25,15, hWnd, IDC_CH+5, hInst, NULL); - - CreateWindow("BUTTON","6" , - WS_CHILD | WS_VISIBLE | BS_AUTORADIOBUTTON | BS_LEFTTEXT | WS_GROUP, - output_pos[4].x+100, io_pos[0].y+31+20,25,15, hWnd,IDC_CH+6, hInst, NULL); - - CreateWindow("BUTTON","7" , - WS_CHILD | WS_VISIBLE | BS_AUTORADIOBUTTON | BS_LEFTTEXT | WS_GROUP, - output_pos[4].x+100, io_pos[0].y+49+20,25,15, hWnd, IDC_CH+7, hInst, NULL); - - //default channel 0 - for (i=1;i<8;i++) bCheck[i]=FALSE; - bCheck[0] = TRUE; - channel = 0; - SendMessage(GetDlgItem(hWnd,IDC_CH), BM_SETCHECK, 1, 0); - - hBlackBrush= CreateSolidBrush(RGB(0,0,0)); - hRedPen= CreatePen(PS_SOLID,1,RGB(255,0,0)); - hBlackPen= CreatePen(PS_SOLID,1,RGB(0,0,0)); - break; - - case WM_PAINT: - hDC = BeginPaint(hWnd, &ps); - - // DMA analog input box - SelectObject(hDC, GetStockObject(GRAY_BRUSH)); - Rectangle(hDC, output_pos[15].x-10, io_pos[15].y-24, output_pos[0].x+26, io_pos[0].y+195); - SetTextColor(hDC,RGB(255,255,0)); - SetBkColor(hDC, RGB(0, 0, 255)); - TextOut(hDC, io_pos[15].x, io_pos[15].y-35, "DMA / INT Input", 15); - SelectObject(hDC, hBlackBrush); - Rectangle(hDC, output_pos[15].x+35, io_pos[15].y-2, output_pos[4].x+41, io_pos[0].y+172); - - SetBkMode(hDC,TRANSPARENT); - TextOut(hDC,output_pos[13].x-60, input_pos[10].y,"Sample Interval",15); - TextOut(hDC,output_pos[13].x+70, input_pos[10].y,"Buffer Size",11); - TextOut(hDC,input_pos[2].x-10, io_pos[15].y+118,"Range: +-5V",11); - TextOut(hDC,input_pos[15].x, io_pos[15].y-19,"Volt",4); - TextOut(hDC,input_pos[15].x, io_pos[15].y-5,"5.00",4); - TextOut(hDC,input_pos[15].x, io_pos[15].y+36,"2.50",4); - TextOut(hDC,input_pos[15].x, io_pos[15].y+77,"0.00",4); - TextOut(hDC,input_pos[15].x-3, io_pos[15].y+118,"-2.50",5); - TextOut(hDC,input_pos[15].x-3, io_pos[15].y+159,"-5.00",5); - TextOut(hDC,input_pos[10].x+10, io_pos[10].y-19,"Signals",7); - TextOut(hDC,output_pos[4].x+60, io_pos[0].y-15,"Channel",7); - EndPaint(hWnd, &ps); - break; - - // Sample Rate Spin Control - case WM_VSCROLL: - switch(LOWORD(wParam)){ - case SB_LINEUP : - samp_intrv+=240; - if (samp_intrv > 24000 ) samp_intrv=24000; - break; - case SB_LINEDOWN: - samp_intrv-=240; - if (samp_intrv < 240 ) samp_intrv=240; - break; - } - wsprintf(n,"%d",samp_intrv); - SetWindowText(hEdit,n); - break; - case WM_COMMAND: - switch(LOWORD(wParam)) { - case IDM_EXIT: - SendMessage(hWnd, WM_CLOSE, 0, 0L); - break; - case IDC_CH: - case IDC_CH+1: - case IDC_CH+2: - case IDC_CH+3: - case IDC_CH+4: - case IDC_CH+5: - case IDC_CH+6: - case IDC_CH+7: - if (!bCheck[wParam-IDC_CH]) { - SendMessage(GetDlgItem(hWnd,wParam), BM_SETCHECK, 1, 0); - SendMessage(GetDlgItem(hWnd,IDC_CH+channel), BM_SETCHECK, 0, 0); - bCheck[channel]=FALSE; - } - channel=wParam-IDC_CH; - bCheck[channel]=TRUE; - break; - - case IDC_SHOW : - DialogBox(hInst, "DMABox", hWnd, ShowDMA); - break; - case IDC_START: - if (hMem != NULL) { - GlobalUnfix(hMem); - GlobalUnlock(hMem); - GlobalFree(hMem); - } - // allocate a memory for DMA - data_size=GetDlgItemInt(hWnd,IDC_EDIT1,NULL ,FALSE); - mem_size=data_size * 2; - hMem = GlobalAlloc(GMEM_FIXED | GMEM_ZEROINIT,mem_size); - ai_buf = (U16 *)GlobalLock(hMem); - if (ai_buf == NULL ) { - MessageBox(hWnd,"DMA", "No Memory", MB_OK); - SendMessage(hWnd, WM_CLOSE, 0, 0L); - break; - } - GlobalFix(hMem); - if(!ai_mode) - AI_9116_Config(card,0,P9116_AI_DMA,0,0,0); - else - AI_9116_Config(card,0,P9116_AI_INT,0,0,0); - - AI_9116_CounterInterval (card, samp_intrv, samp_intrv); - if ((err=AI_AsyncDblBufferMode (card, 1)) != NoError) { - wsprintf(s, "AI_AsyncDblBufferMode Error = %d\n", err); - MessageBox(hWnd, s, "Error", MB_OK); - SendMessage(hWnd, WM_CLOSE, 0, 0L); - break; - } - if ((err=AI_ContReadChannel(card, channel, AD_B_5_V, ai_buf, data_size, (F64)1, ASYNCH_OP)) != NoError) { - wsprintf(s, "AI_ContReadPort Error = %d\n", err); - MessageBox(hWnd, s, "Error", MB_OK); - SendMessage(hWnd, WM_CLOSE, 0, 0L); - break; - } - EnableWindow(hStart, FALSE); - EnableWindow(hStop, TRUE); - - hMainWnd = hWnd; - clear_op = FALSE; - hThread1 = (HANDLE)_beginthread(ProcessThread, 0, 0); - MessageBeep(0); - break; - case IDC_STOP: - clear_op = TRUE; - EnableWindow(hStart, TRUE); - EnableWindow(hStop, FALSE); - break; - default: - return(DefWindowProc(hWnd, message, wParam, lParam)); - } - break; - case WM_DESTROY: - if (card >= 0) Release_Card(card); - DeleteObject(hBlackBrush); - DeleteObject(hRedPen); - GlobalUnfix(hMem); - GlobalUnlock(hMem); - GlobalFree(hMem); - PostQuitMessage(0); - break; - default: - return(DefWindowProc(hWnd, message, wParam, lParam)); - } - return(NULL); -} - -BOOL PASCAL ShowDMA(hDlg, message, wParam, lParam) -HWND hDlg; -UINT message; -WPARAM wParam; -LPARAM lParam; -{ - int nTabs[2] = {32, 92}; - int i; - char cBuf[100]; - char string[10]=" "; - char data_str[3]=" "; - U16 *pp; - switch (message) { - case WM_INITDIALOG: - hListBox = CreateWindow("LISTBOX", "Index Data (Hex)", - WS_CHILD | WS_VISIBLE | LBS_HASSTRINGS | LBS_STANDARD | LBS_USETABSTOPS |WS_CAPTION, - 50, 40, 240, 180, hDlg, 100, hInst, NULL); - SendMessage(hListBox, LB_RESETCONTENT, 0, 0L); - SendMessage(hListBox, LB_SETTABSTOPS, 2, (DWORD)(LPINT) nTabs); - SetDlgItemText(hDlg, DMA_DESCP, "This ListBox can show at most 4000 data"); - itoa( data_size, string, 10); - SetDlgItemText(hDlg, DMA_SPACE, string); - - pp = (I16 *)ai_buf; - if (data_size > 4000) data_size = 4000; - for(i=0;i -#include -#include -#include -#include -#include "resource.h" -#include "Dask.h" - -#define IDM_EXIT 110 -#define IDC_SCROLL 207 -#define IDC_SPIN 301 -#define IDC_START 208 -#define IDC_STOP 209 -#define IDC_EDIT 211 -#define IDC_EDIT1 214 -#define IDC_SHOW 213 -#define IDC_EDIT2 215 -#define IDC_CH 400 - -int PASCAL WinMain(HANDLE, HANDLE, LPSTR, int); -long PASCAL MainWndProc(HWND, UINT, WPARAM, LPARAM); -BOOL PASCAL ShowDMA(HWND, UINT, WPARAM, LPARAM); - -HANDLE hInst; -HWND hListBox; -HWND hEdit,hEdit1, hStart, hStop, hData; -BOOL bCheck[8]; - -HBRUSH hBlackBrush; -HPEN hRedPen, hBlackPen; -HWND hMainWnd; - -//unsigned int sample_rate=10000; -long samp_intrv=240; -U16 channel; -U32 data_size=4096, mem_size; -static HANDLE hMem=NULL; -I16 *ai_buf; -I16 card=-1, card_number = 0, ai_mode; -U32 count; -BOOLEAN clear_op; -HANDLE hThread1; -LPSTR AI_MODE[2]={"DMA", "INT"}; - -POINT input_pos[16]= {{470, 280}, {440, 280}, - {410, 280}, {380, 280}, - {350, 280}, {320, 280}, - { 290, 280}, {260, 280}, - {230, 280}, {200, 280}, - {170, 280}, {140, 280}, - {110, 280}, {80, 280}, - { 50, 280}, { 20, 280}, - }; -POINT output_pos[16] ={ - {470, 340}, {440, 340}, - {410, 340}, {380, 340}, - {350, 340}, {320, 340}, - { 290, 340}, {260, 340}, - {230, 340}, {200, 340}, - {170, 340}, {140, 340}, - {110, 340}, {80, 340}, - { 50, 340}, { 20, 340}, - }; - -POINT io_pos[16] ={ - {395, 40}, {370, 40}, - {345, 40}, {320, 40}, - {295, 40}, {270, 40}, - { 245, 40}, {220, 40}, - {195, 40}, {170, 40}, - {145, 40}, {120, 40}, - {95, 40}, {70, 40}, - { 45, 40}, { 20, 40}, - }; - -BOOL InitApplication(HANDLE); -BOOL InitInstance(HANDLE, int); -void ProcessThread(void* pArg); - -int PASCAL WinMain(hInstance, hPrevInstance, lpCmdLine, nCmdShow) -HANDLE hInstance, hPrevInstance; -LPSTR lpCmdLine; -int nCmdShow; -{ - MSG msg; - - if (!hPrevInstance) - if (!InitApplication(hInstance)) return(FALSE); - if (!InitInstance(hInstance, nCmdShow)) return(FALSE); - while (GetMessage(&msg, NULL, NULL, NULL)) { - TranslateMessage(&msg); - DispatchMessage(&msg); - } - return(msg.wParam); -} - -BOOL InitApplication(hInstance) -HANDLE hInstance; -{ - WNDCLASS wc; - - /* Main Window Class */ - wc.style = NULL; - wc.lpfnWndProc = (WNDPROC)MainWndProc; - wc.cbClsExtra = 0; - wc.cbWndExtra = 0; - wc.hInstance = hInstance; - wc.hIcon = LoadIcon(hInstance, "MyIcon"); - wc.hCursor = LoadCursor(NULL, IDC_ARROW); - wc.hbrBackground = GetStockObject(LTGRAY_BRUSH); - wc.lpszMenuName = NULL; - wc.lpszClassName = "GenericWClass"; - if (!RegisterClass(&wc)) return(FALSE); -} - - -BOOL InitInstance(hInstance, nCmdShow) -HANDLE hInstance; -int nCmdShow; -{ - HWND hWnd; - HMENU hSampleMenu; - - hInst = hInstance; - hSampleMenu = LoadMenu(hInstance, "U7120Menu"); - hWnd = CreateWindow("GenericWClass", - (LPCSTR)"PCI-9116 Double Buffered DMA/INT with Post Trigger Mode", - WS_OVERLAPPEDWINDOW, - CW_USEDEFAULT, - CW_USEDEFAULT, - 520, - 400, - NULL, - hSampleMenu, - hInstance, - NULL); - if (!hWnd) return(FALSE); - ShowWindow(hWnd, nCmdShow); - UpdateWindow(hWnd); - return(TRUE); -} - -BOOL PASCAL setup(HWND hWnd, unsigned message, WPARAM wParam, LPARAM lParam) -{ - int i; - char n[16]; - char s[50]; - switch (message) { - case WM_INITDIALOG: - for (i=0;i<2;i++) { - SendMessage(GetDlgItem(hWnd,IDC_COMBO1), CB_ADDSTRING, NULL, (LONG)(LPSTR) AI_MODE[i]); - } - SendMessage(GetDlgItem(hWnd,IDC_COMBO1) , CB_SETCURSEL, 0, 0L); - for (i=0;i<16;i++) { - wsprintf(n, "%d", i); - _strupr(n); - SendMessage(GetDlgItem(hWnd,IDC_COMBO2), CB_ADDSTRING, NULL, (LONG)(LPSTR) n); - } - SendMessage(GetDlgItem(hWnd,IDC_COMBO2) , CB_SETCURSEL, 0, 0L); - break; - case WM_COMMAND: - switch(LOWORD(wParam)) { - - case IDC_COMBO1: - if (HIWORD(wParam) == CBN_CLOSEUP) { - i = (int)SendMessage(GetDlgItem(hWnd,IDC_COMBO1), CB_GETCURSEL, 0, 0L); - SendMessage(GetDlgItem(hWnd,IDC_COMBO1), CB_GETLBTEXT, i, (LPARAM)((LPCSTR)n)); - ai_mode = i; - } - return(TRUE); - case IDC_COMBO2: - if (HIWORD(wParam) == CBN_CLOSEUP) { - i = (int)SendMessage(GetDlgItem(hWnd,IDC_COMBO2), CB_GETCURSEL, 0, 0L); - SendMessage(GetDlgItem(hWnd,IDC_COMBO2), CB_GETLBTEXT, i, (LPARAM)((LPCSTR)n)); - card_number = i; - } - return(TRUE); - case IDOK: - if ((card=Register_Card(PCI_9116, card_number)) < 0) { - wsprintf(s, "Register_Card Error = %d\n", card); - MessageBox(hWnd, s, "Error", MB_OK); - SendMessage(hWnd, WM_CLOSE, 0, 0L); - break; - } - EndDialog(hWnd, TRUE); - InvalidateRect(hWnd, NULL, FALSE); - return (TRUE); - case IDCANCEL: - EndDialog(hWnd, TRUE); - return (TRUE); - } - break; - } - return (FALSE); -} - -long PASCAL MainWndProc(hWnd, message, wParam, lParam) -HWND hWnd; -UINT message; -WPARAM wParam; -LPARAM lParam; -{ - HDC hDC; - PAINTSTRUCT ps; - int i; - char n[6]; - static int pos=0; - I16 err; - char s[50]; - - switch(message) { - case WM_CREATE: - - DialogBox(hInst,IDD_DIALOG2, hWnd, setup); - if(card<0) { - SendMessage(hWnd, WM_CLOSE, 0, 0L); - break; - } - hEdit=CreateWindow("EDIT", NULL, - WS_CHILD | WS_VISIBLE | ES_LEFT, - output_pos[13].x-30, input_pos[15].y+20,40, 20, hWnd, IDC_EDIT, hInst, NULL); - - hEdit1=CreateWindow("EDIT", NULL, - WS_CHILD | WS_VISIBLE | ES_LEFT, - output_pos[13].x+90, input_pos[15].y+20,60, 20, hWnd, IDC_EDIT1, hInst, NULL); - - wsprintf(n,"%d",samp_intrv); - SetWindowText(hEdit,n); - - wsprintf(n,"%d",data_size); - SetWindowText(hEdit1,n); - - CreateWindow("SCROLLBAR", NULL, - WS_CHILD | WS_VISIBLE | SBS_VERT, - output_pos[13].x+10, input_pos[15].y+20,20, 20, hWnd, IDC_SCROLL, hInst, NULL); - - hStart = CreateWindow("BUTTON","Start" , - WS_CHILD | WS_VISIBLE , - output_pos[10].x+110, input_pos[10].y+10,50, 30, hWnd, IDC_START, hInst, NULL); - - hStop = CreateWindow("BUTTON","Stop" , - WS_CHILD | WS_VISIBLE , - output_pos[10].x+170, input_pos[10].y+10,50, 30, hWnd, IDC_STOP, hInst, NULL); - - hData = CreateWindow("BUTTON","Data Value" , - WS_CHILD | WS_VISIBLE , - output_pos[10].x+230, input_pos[10].y+10,80, 30, hWnd, IDC_SHOW, hInst, NULL); - EnableWindow(hStop, FALSE); - EnableWindow(hData, FALSE); - - //default channel 0 - - hBlackBrush= CreateSolidBrush(RGB(0,0,0)); - hRedPen= CreatePen(PS_SOLID,1,RGB(255,0,0)); - hBlackPen= CreatePen(PS_SOLID,1,RGB(0,0,0)); - break; - - case WM_PAINT: - hDC = BeginPaint(hWnd, &ps); - - // DMA analog input box - SelectObject(hDC, GetStockObject(GRAY_BRUSH)); - Rectangle(hDC, output_pos[15].x-10, io_pos[15].y-24, output_pos[0].x+26, io_pos[0].y+195); - SetTextColor(hDC,RGB(255,255,0)); - SetBkColor(hDC, RGB(0, 0, 255)); - TextOut(hDC, io_pos[15].x, io_pos[15].y-35, "DMA / INT Input", 15); - SelectObject(hDC, hBlackBrush); - Rectangle(hDC, output_pos[15].x+35, io_pos[15].y-2, output_pos[4].x+41, io_pos[0].y+172); - - SetBkMode(hDC,TRANSPARENT); - TextOut(hDC,output_pos[13].x-60, input_pos[10].y,"Samping Rate",12); - TextOut(hDC,output_pos[13].x+30, input_pos[15].y+20,"KHZ",3); - TextOut(hDC,output_pos[13].x+70, input_pos[10].y,"Buffer Size",11); - TextOut(hDC,input_pos[2].x-10, io_pos[15].y+118,"Range: +-5V",11); - TextOut(hDC,input_pos[15].x, io_pos[15].y-19,"Volt",4); - TextOut(hDC,input_pos[15].x, io_pos[15].y-5,"5.00",4); - TextOut(hDC,input_pos[15].x, io_pos[15].y+36,"2.50",4); - TextOut(hDC,input_pos[15].x, io_pos[15].y+77,"0.00",4); - TextOut(hDC,input_pos[15].x-3, io_pos[15].y+118,"-2.50",5); - TextOut(hDC,input_pos[15].x-3, io_pos[15].y+159,"-5.00",5); - TextOut(hDC,input_pos[10].x+10, io_pos[10].y-19,"Signals",7); - TextOut(hDC,output_pos[4].x+60, io_pos[0].y,"Channel 0",9); - EndPaint(hWnd, &ps); - break; - - // Sample Rate Spin Control - case WM_VSCROLL: - switch(LOWORD(wParam)){ - case SB_LINEUP : - samp_intrv+=240; - if (samp_intrv > 24000 ) samp_intrv=24000; - break; - case SB_LINEDOWN: - samp_intrv-=240; - if (samp_intrv < 240 ) samp_intrv=240; - break; - } - wsprintf(n,"%d",samp_intrv); - SetWindowText(hEdit,n); - break; - case WM_COMMAND: - switch(LOWORD(wParam)) { - case IDM_EXIT: - SendMessage(hWnd, WM_CLOSE, 0, 0L); - break; - - case IDC_SHOW : - DialogBox(hInst, "DMABox", hWnd, ShowDMA); - break; - case IDC_START: - if (hMem != NULL) { - GlobalUnfix(hMem); - GlobalUnlock(hMem); - GlobalFree(hMem); - } - // allocate a memory for DMA - data_size=GetDlgItemInt(hWnd,IDC_EDIT1,NULL ,FALSE); - if(ai_mode && (data_size%1024)) { - MessageBox(hWnd,"Counts must be times of 1024 for DbfINT", "No Memory", MB_OK); - break; - } - mem_size=data_size * 2; - hMem = GlobalAlloc(GMEM_FIXED | GMEM_ZEROINIT,mem_size); - - ai_buf = (U16 *)GlobalLock(hMem); - if (ai_buf == NULL ) { - MessageBox(hWnd,"DMA", "No Memory", MB_OK); - SendMessage(hWnd, WM_CLOSE, 0, 0L); - break; - } - GlobalFix(hMem); - for (i=0;i= 0) Release_Card(card); - DeleteObject(hBlackBrush); - DeleteObject(hRedPen); - GlobalUnfix(hMem); - GlobalUnlock(hMem); - GlobalFree(hMem); - PostQuitMessage(0); - break; - default: - return(DefWindowProc(hWnd, message, wParam, lParam)); - } - return(NULL); -} - -BOOL PASCAL ShowDMA(hDlg, message, wParam, lParam) -HWND hDlg; -UINT message; -WPARAM wParam; -LPARAM lParam; -{ - int nTabs[2] = {32, 92}; - int i; - char cBuf[100]; - char string[10]=" "; - char data_str[3]=" "; - I16 *pp; - switch (message) { - case WM_INITDIALOG: - hListBox = CreateWindow("LISTBOX", "Index Data", - WS_CHILD | WS_VISIBLE | LBS_HASSTRINGS | LBS_STANDARD | LBS_USETABSTOPS |WS_CAPTION, - 50, 40, 240, 180, hDlg, 100, hInst, NULL); - SendMessage(hListBox, LB_RESETCONTENT, 0, 0L); - SendMessage(hListBox, LB_SETTABSTOPS, 2, (DWORD)(LPINT) nTabs); - SetDlgItemText(hDlg, DMA_DESCP, "This ListBox can show at most 4000 data"); - itoa( data_size, string, 10); - SetDlgItemText(hDlg, DMA_SPACE, string); - pp = (I16 *)ai_buf; - if (data_size >4000) data_size = 4000; - for(i=0;i -#include -#include -#include -#include -#include "resource.h" -#include "Dask.h" - -#define IDM_EXIT 110 -#define IDC_SCROLL 207 -#define IDC_SPIN 301 -#define IDC_START 208 -#define IDC_EDIT 211 -#define IDC_EDIT1 214 -#define IDC_EDIT2 215 -#define IDC_SHOW 213 -#define IDC_CH 400 - -int PASCAL WinMain(HANDLE, HANDLE, LPSTR, int); -long PASCAL MainWndProc(HWND, UINT, WPARAM, LPARAM); -BOOL PASCAL ShowDMA(HWND, UINT, WPARAM, LPARAM); - -HANDLE hInst; -HWND hListBox; -HWND hEdit,hEdit1, hEdit2, hStart; -BOOL bCheck[5]; - -HBRUSH hBlackBrush; -HPEN hRedPen, hBlackPen, hBluePen, hYellowPen, hGreenPen, hLTGreenPen; -HWND hMainWnd; - -long samp_intrv=240; -U16 channel=0, range = AD_B_5_V, ch_cnt = 1; -U32 data_size=2048, mem_size; -static HANDLE hMem=NULL; -BOOLEAN fstop =0; -I16 *ai_buf; -I16 card=-1, card_number = 0, ai_mode, dl_mode; -U32 count, trgCount = 1; -HANDLE hThread1; -LPSTR AI_MODE[2]={"DMA", "INT"}; -LPSTR DL_MODE[2]={"In Timebase", "In Samples"}; - -POINT input_pos[16]= {{470, 280}, {440, 280}, - {410, 280}, {380, 280}, - {350, 280}, {320, 280}, - { 290, 280}, {260, 280}, - {230, 280}, {200, 280}, - {170, 280}, {140, 280}, - {110, 280}, {80, 280}, - { 50, 280}, { 20, 280}, - }; -POINT output_pos[16] ={ - {470, 340}, {440, 340}, - {410, 340}, {380, 340}, - {350, 340}, {320, 340}, - { 290, 340}, {260, 340}, - {230, 340}, {200, 340}, - {170, 340}, {140, 340}, - {110, 340}, {80, 340}, - { 50, 340}, { 20, 340}, - }; - -POINT io_pos[16] ={ - {395, 40}, {370, 40}, - {345, 40}, {320, 40}, - {295, 40}, {270, 40}, - { 245, 40}, {220, 40}, - {195, 40}, {170, 40}, - {145, 40}, {120, 40}, - {95, 40}, {70, 40}, - { 45, 40}, { 20, 40}, - }; - -BOOL InitApplication(HANDLE); -BOOL InitInstance(HANDLE, int); -void ProcessThread(); - -int PASCAL WinMain(hInstance, hPrevInstance, lpCmdLine, nCmdShow) -HANDLE hInstance, hPrevInstance; -LPSTR lpCmdLine; -int nCmdShow; -{ - MSG msg; - - if (!hPrevInstance) - if (!InitApplication(hInstance)) return(FALSE); - if (!InitInstance(hInstance, nCmdShow)) return(FALSE); - while (GetMessage(&msg, NULL, NULL, NULL)) { - TranslateMessage(&msg); - DispatchMessage(&msg); - } - return(msg.wParam); -} - -BOOL InitApplication(hInstance) -HANDLE hInstance; -{ - WNDCLASS wc; - - /* Main Window Class */ - wc.style = NULL; - wc.lpfnWndProc = (WNDPROC)MainWndProc; - wc.cbClsExtra = 0; - wc.cbWndExtra = 0; - wc.hInstance = hInstance; - wc.hIcon = LoadIcon(hInstance, "MyIcon"); - wc.hCursor = LoadCursor(NULL, IDC_ARROW); - wc.hbrBackground = GetStockObject(LTGRAY_BRUSH); - wc.lpszMenuName = NULL; - wc.lpszClassName = "GenericWClass"; - if (!RegisterClass(&wc)) return(FALSE); -} - - -BOOL InitInstance(hInstance, nCmdShow) -HANDLE hInstance; -int nCmdShow; -{ - HWND hWnd; - HMENU hSampleMenu; - - hInst = hInstance; - hSampleMenu = LoadMenu(hInstance, "U7120Menu"); - hWnd = CreateWindow("GenericWClass", - (LPCSTR)"PCI-9116 Single Buffered DMA with Delay Trigger Mode", - WS_OVERLAPPEDWINDOW, - CW_USEDEFAULT, - CW_USEDEFAULT, - 520, - 400, - NULL, - hSampleMenu, - hInstance, - NULL); - if (!hWnd) return(FALSE); - ShowWindow(hWnd, nCmdShow); - UpdateWindow(hWnd); - return(TRUE); -} - -BOOL PASCAL setup(HWND hWnd, unsigned message, WPARAM wParam, LPARAM lParam) -{ - int i; - char n[16]; - char s[50]; - switch (message) { - case WM_INITDIALOG: - for (i=0;i<2;i++) { - SendMessage(GetDlgItem(hWnd,IDC_COMBO1), CB_ADDSTRING, NULL, (LONG)(LPSTR) AI_MODE[i]); - } - SendMessage(GetDlgItem(hWnd,IDC_COMBO1) , CB_SETCURSEL, 0, 0L); - for (i=0;i<16;i++) { - wsprintf(n, "%d", i); - _strupr(n); - SendMessage(GetDlgItem(hWnd,IDC_COMBO2), CB_ADDSTRING, NULL, (LONG)(LPSTR) n); - } - SendMessage(GetDlgItem(hWnd,IDC_COMBO2) , CB_SETCURSEL, 0, 0L); - for (i=0;i<2;i++) { - SendMessage(GetDlgItem(hWnd,IDC_COMBO3), CB_ADDSTRING, NULL, (LONG)(LPSTR) DL_MODE[i]); - } - SendMessage(GetDlgItem(hWnd,IDC_COMBO3) , CB_SETCURSEL, 0, 0L); - break; - case WM_COMMAND: - switch(LOWORD(wParam)) { - - case IDC_COMBO1: - if (HIWORD(wParam) == CBN_CLOSEUP) { - i = (int)SendMessage(GetDlgItem(hWnd,IDC_COMBO1), CB_GETCURSEL, 0, 0L); - SendMessage(GetDlgItem(hWnd,IDC_COMBO1), CB_GETLBTEXT, i, (LPARAM)((LPCSTR)n)); - ai_mode = i; - } - return(TRUE); - case IDC_COMBO2: - if (HIWORD(wParam) == CBN_CLOSEUP) { - i = (int)SendMessage(GetDlgItem(hWnd,IDC_COMBO2), CB_GETCURSEL, 0, 0L); - SendMessage(GetDlgItem(hWnd,IDC_COMBO2), CB_GETLBTEXT, i, (LPARAM)((LPCSTR)n)); - card_number = i; - } - return(TRUE); - case IDC_COMBO3: - if (HIWORD(wParam) == CBN_CLOSEUP) { - i = (int)SendMessage(GetDlgItem(hWnd,IDC_COMBO3), CB_GETCURSEL, 0, 0L); - SendMessage(GetDlgItem(hWnd,IDC_COMBO3), CB_GETLBTEXT, i, (LPARAM)((LPCSTR)n)); - dl_mode = i; - } - return(TRUE); - case IDOK: - if ((card=Register_Card(PCI_9116, card_number)) < 0) { - wsprintf(s, "Register_Card Error = %d\n", card); - MessageBox(hWnd, s, "Error", MB_OK); - SendMessage(hWnd, WM_CLOSE, 0, 0L); - break; - } - EndDialog(hWnd, TRUE); - InvalidateRect(hWnd, NULL, FALSE); - return (TRUE); - case IDCANCEL: - EndDialog(hWnd, TRUE); - return (TRUE); - } - break; - } - return (FALSE); -} - -long PASCAL MainWndProc(hWnd, message, wParam, lParam) -HWND hWnd; -UINT message; -WPARAM wParam; -LPARAM lParam; -{ - HDC hDC; - PAINTSTRUCT ps; - int i; - char n[6]; - static int pos=0; - I16 err; - char s[50]; - - switch(message) { - case WM_CREATE: - - DialogBox(hInst,IDD_DIALOG2, hWnd, setup); - if(card<0) { - SendMessage(hWnd, WM_CLOSE, 0, 0L); - break; - } - hEdit=CreateWindow("EDIT", NULL, - WS_CHILD | WS_VISIBLE | ES_LEFT, - output_pos[13].x-60, input_pos[15].y+20,70, 20, hWnd, IDC_EDIT, hInst, NULL); - - hEdit1=CreateWindow("EDIT", NULL, - WS_CHILD | WS_VISIBLE | ES_LEFT, - output_pos[13].x+90, input_pos[15].y+20,60, 20, hWnd, IDC_EDIT1, hInst, NULL); - - hEdit2=CreateWindow("EDIT", NULL, - WS_CHILD | WS_VISIBLE | ES_LEFT, - output_pos[13].x+90, input_pos[15].y-20,60, 20, hWnd, IDC_EDIT2, hInst, NULL); - - wsprintf(n,"%d",samp_intrv); - SetWindowText(hEdit,n); - - wsprintf(n,"%d",data_size); - SetWindowText(hEdit1,n); - - wsprintf(n,"%d",trgCount); - SetWindowText(hEdit2,n); - - CreateWindow("SCROLLBAR", NULL, - WS_CHILD | WS_VISIBLE | SBS_VERT, - output_pos[13].x+10, input_pos[15].y+20,20, 20, hWnd, IDC_SCROLL, hInst, NULL); - - hStart = CreateWindow("BUTTON","Start" , - WS_CHILD | WS_VISIBLE , - output_pos[10].x+130, input_pos[10].y+10,50, 30, hWnd, IDC_START, hInst, NULL); - - CreateWindow("BUTTON","Data Value" , - WS_CHILD | WS_VISIBLE , - output_pos[10].x+210, input_pos[10].y+10,80, 30, hWnd, IDC_SHOW, hInst, NULL); - - CreateWindow("BUTTON","1" , - WS_CHILD | WS_VISIBLE | BS_AUTORADIOBUTTON | BS_LEFTTEXT | WS_GROUP , - output_pos[4].x+60, io_pos[0].y-5+20,25,15, hWnd,IDC_CH, hInst, NULL); - CreateWindow("BUTTON","2" , - WS_CHILD | WS_VISIBLE | BS_AUTORADIOBUTTON | BS_LEFTTEXT | WS_GROUP, - output_pos[4].x+60, io_pos[0].y+13+20,25,15, hWnd,IDC_CH+1, hInst, NULL); - CreateWindow("BUTTON","3" , - WS_CHILD | WS_VISIBLE | BS_AUTORADIOBUTTON | BS_LEFTTEXT | WS_GROUP, - output_pos[4].x+60, io_pos[0].y+31+20,25,15, hWnd,IDC_CH+2, hInst, NULL); - CreateWindow("BUTTON","4" , - WS_CHILD | WS_VISIBLE | BS_AUTORADIOBUTTON | BS_LEFTTEXT | WS_GROUP, - output_pos[4].x+60, io_pos[0].y+49+20,25,15, hWnd,IDC_CH+3, hInst, NULL); - - //default channel 0 - for (i=1;i<4;i++) bCheck[i]=FALSE; - bCheck[0] = TRUE; - channel = 0; - SendMessage(GetDlgItem(hWnd,IDC_CH), BM_SETCHECK, 1, 0); - - hBlackBrush= CreateSolidBrush(RGB(0,0,0)); - hRedPen= CreatePen(PS_SOLID,1,RGB(255,0,0)); - hBluePen= CreatePen(PS_SOLID,1,RGB(0,0,255)); - hGreenPen= CreatePen(PS_SOLID,1,RGB(0,255,0)); - hLTGreenPen= CreatePen(PS_SOLID,1,RGB(0,128,0)); - hYellowPen= CreatePen(PS_SOLID,1,RGB(255,255,0)); - hBlackPen= CreatePen(PS_SOLID,1,RGB(0,0,0)); - break; - - case WM_PAINT: - hDC = BeginPaint(hWnd, &ps); - - // DMA analog input box - SelectObject(hDC, GetStockObject(GRAY_BRUSH)); - Rectangle(hDC, output_pos[15].x-10, io_pos[15].y-24, output_pos[0].x+26, io_pos[0].y+195); - SetTextColor(hDC,RGB(255,0,0)); - //TextOut(hDC, io_pos[15].x+105, io_pos[15].y-40, " Trigger Source : External Digital Trigger ", 43); - SetTextColor(hDC,RGB(255,255,0)); - SetBkColor(hDC, RGB(0, 0, 255)); - TextOut(hDC, io_pos[15].x, io_pos[15].y-35, "DMA Input", 9); - SelectObject(hDC, hBlackBrush); - Rectangle(hDC, output_pos[15].x+35, io_pos[15].y-2, output_pos[4].x+41, io_pos[0].y+172); - - SetBkMode(hDC,TRANSPARENT); - TextOut(hDC,output_pos[13].x+70, input_pos[10].y-40,"RetrigCount",11); - TextOut(hDC,output_pos[13].x-60, input_pos[10].y,"Samping Interval",15); - //TextOut(hDC,output_pos[13].x+30, input_pos[15].y+20,"KHZ",3); - TextOut(hDC,output_pos[13].x+70, input_pos[10].y,"Scan Count",10); - TextOut(hDC,input_pos[2].x-10, io_pos[15].y+118,"Range: +-5V",11); - TextOut(hDC,input_pos[15].x, io_pos[15].y-19,"Volt",4); - TextOut(hDC,input_pos[15].x, io_pos[15].y-5,"5.00",4); - TextOut(hDC,input_pos[15].x, io_pos[15].y+36,"2.50",4); - TextOut(hDC,input_pos[15].x, io_pos[15].y+77,"0.00",4); - TextOut(hDC,input_pos[15].x-3, io_pos[15].y+118,"-2.50",5); - TextOut(hDC,input_pos[15].x-3, io_pos[15].y+159,"-5.00",5); - TextOut(hDC,input_pos[10].x+10, io_pos[10].y-19,"Signals",7); - TextOut(hDC,output_pos[4].x+60, io_pos[0].y-15,"No. of CHs",10); - SetTextColor(hDC,RGB(255,255,0)); - TextOut(hDC,output_pos[4].x+88, io_pos[0].y+15,"Ch0",3); - SetTextColor(hDC,RGB(0,128,0)); - TextOut(hDC,output_pos[4].x+88, io_pos[0].y+33,"Ch0-ch1",7); - SetTextColor(hDC,RGB(0,0,255)); - TextOut(hDC,output_pos[4].x+88, io_pos[0].y+51,"Ch0-Ch2",7); - SetTextColor(hDC,RGB(255,0,0)); - TextOut(hDC,output_pos[4].x+88, io_pos[0].y+69,"Ch0-Ch3",7); - EndPaint(hWnd, &ps); - break; - - // Sample Rate Spin Control - case WM_VSCROLL: - switch(LOWORD(wParam)){ - case SB_LINEUP : - samp_intrv+=240; - if (samp_intrv > 24000 ) samp_intrv=24000; - break; - case SB_LINEDOWN: - samp_intrv-=240; - if (samp_intrv < 240 ) samp_intrv=240; - break; - } - wsprintf(n,"%d",samp_intrv); - SetWindowText(hEdit,n); - break; - case WM_COMMAND: - switch(LOWORD(wParam)) { - case IDM_EXIT: - SendMessage(hWnd, WM_CLOSE, 0, 0L); - break; - case IDC_CH: - case IDC_CH+1: - case IDC_CH+2: - case IDC_CH+3: - if (!bCheck[wParam-IDC_CH]) { - SendMessage(GetDlgItem(hWnd,wParam), BM_SETCHECK, 1, 0); - SendMessage(GetDlgItem(hWnd,IDC_CH+channel), BM_SETCHECK, 0, 0); - bCheck[channel]=FALSE; - } - channel=wParam-IDC_CH; - ch_cnt = channel + 1; - bCheck[channel]=TRUE; - break; - case IDC_SHOW : - DialogBox(hInst, "DMABox", hWnd, ShowDMA); - break; - case IDC_START: - if (hMem != NULL) { - GlobalUnfix(hMem); - GlobalUnlock(hMem); - GlobalFree(hMem); - } - // allocate a memory for DMA - trgCount = GetDlgItemInt(hWnd,IDC_EDIT2,NULL ,FALSE); - if(trgCount<1) { - MessageBox(hWnd,"trgCount must be >= 1", "No Memory", MB_OK); - break; - } - data_size=GetDlgItemInt(hWnd,IDC_EDIT1,NULL ,FALSE); - data_size *= ch_cnt; - mem_size=data_size * 2 * trgCount; - hMem = GlobalAlloc(GMEM_FIXED | GMEM_ZEROINIT,mem_size); - ai_buf = (I16 *)GlobalLock(hMem); - if (ai_buf == NULL ) { - MessageBox(hWnd,"DMA", "No Memory", MB_OK); - SendMessage(hWnd, WM_CLOSE, 0, 0L); - break; - } - GlobalFix(hMem); - - if(!ai_mode) - AI_9116_Config(card,0,P9116_AI_DMA|P9116_TRGMOD_DELAY|(dl_mode?P9116_AI_DlyInSamples:P9116_AI_DlyInTimebase)|P9116_AI_ReTrigEn,65535,0,trgCount); - else - AI_9116_Config(card,0,P9116_AI_INT|P9116_TRGMOD_DELAY|(dl_mode?P9116_AI_DlyInSamples:P9116_AI_DlyInTimebase)|P9116_AI_ReTrigEn,65535,0,trgCount); - - AI_9116_CounterInterval (card, samp_intrv*ch_cnt, samp_intrv); - err = AI_ContScanChannels (card, channel, range, ai_buf, trgCount*(data_size/ch_cnt), (F32)1, ASYNCH_OP); - //err = AI_ContReadChannel (card, channel, range, ai_buf, trgCount*data_size, (F32)1, ASYNCH_OP); - if(err !=0) { - wsprintf(s,"AI_ContScanChannels error: %d",err); - MessageBox(hWnd,s, "No Memory", MB_OK); - SendMessage(hWnd, WM_CLOSE, 0, 0L); - break; - } - EnableWindow(hStart, FALSE); - hMainWnd = hWnd; - fstop = 0; - while (!fstop) - AI_AsyncCheck(card, &fstop, &count); - ProcessThread(); - MessageBeep(0); - break; - default: - return(DefWindowProc(hWnd, message, wParam, lParam)); - } - break; - case WM_DESTROY: - if (card >= 0) Release_Card(card); - DeleteObject(hBlackBrush); - DeleteObject(hRedPen); - DeleteObject(hBluePen); - DeleteObject(hLTGreenPen); - DeleteObject(hYellowPen); - GlobalUnfix(hMem); - GlobalUnlock(hMem); - GlobalFree(hMem); - PostQuitMessage(0); - break; - default: - return(DefWindowProc(hWnd, message, wParam, lParam)); - } - return(NULL); -} - -BOOL PASCAL ShowDMA(hDlg, message, wParam, lParam) -HWND hDlg; -UINT message; -WPARAM wParam; -LPARAM lParam; -{ - int nTabs[2] = {32, 92}; - int i; - char cBuf[100]; - char string[10]=" "; - char data_str[3]=" "; - I16 *pp, ch_no; - - switch (message) { - case WM_INITDIALOG: - hListBox = CreateWindow("LISTBOX", "Index Data", - WS_CHILD | WS_VISIBLE | LBS_HASSTRINGS | LBS_STANDARD | LBS_USETABSTOPS |WS_CAPTION, - 50, 40, 240, 180, hDlg, 100, hInst, NULL); - SendMessage(hListBox, LB_RESETCONTENT, 0, 0L); - SendMessage(hListBox, LB_SETTABSTOPS, 2, (DWORD)(LPINT) nTabs); - SetDlgItemText(hDlg, DMA_DESCP, "This ListBox can show at most 4000 data"); - itoa( data_size, string, 10); - SetDlgItemText(hDlg, DMA_SPACE, string); - pp = (I16 *)ai_buf; - if (count >4000) count = 4000; - for(i=0;i -#include -#include -#include -#include -#include "resource.h" -#include "Dask.h" - -#define IDM_EXIT 110 -#define IDC_SCROLL 207 -#define IDC_SPIN 301 -#define IDC_START 208 -#define IDC_EDIT 211 -#define IDC_EDIT1 214 -#define IDC_EDIT2 215 -#define IDC_EDIT3 216 -#define IDC_SHOW 213 - -int PASCAL WinMain(HANDLE, HANDLE, LPSTR, int); -long PASCAL MainWndProc(HWND, UINT, WPARAM, LPARAM); -BOOL PASCAL ShowDMA(HWND, UINT, WPARAM, LPARAM); - -HANDLE hInst; -HWND hListBox; -HWND hEdit,hEdit1, hEdit2, hEdit3, hStart; -BOOL bCheck_mCtr=FALSE; - -HBRUSH hBlackBrush; -HPEN hRedPen, hBlackPen, hBluePen, hYellowPen, hGreenPen, hLTGreenPen; -HWND hMainWnd; - -long samp_intrv=240; -U16 channel=0, range = AD_B_5_V; -U32 data_size=2000, mem_size, mCount = 100; -static HANDLE hMem=NULL; -BOOLEAN fstop =0; -I16 *ai_buf; -I16 card=-1, card_number = 0, ai_mode; -U32 count, postCount= 1024; -HANDLE hThread1; -LPSTR AI_MODE[2]={"Middle Trigger", "Pre Trigger"}; - -POINT input_pos[16]= {{470, 280}, {440, 280}, - {410, 280}, {380, 280}, - {350, 280}, {320, 280}, - { 290, 280}, {260, 280}, - {230, 280}, {200, 280}, - {170, 280}, {140, 280}, - {110, 280}, {80, 280}, - { 50, 280}, { 20, 280}, - }; -POINT output_pos[16] ={ - {470, 340}, {440, 340}, - {410, 340}, {380, 340}, - {350, 340}, {320, 340}, - { 290, 340}, {260, 340}, - {230, 340}, {200, 340}, - {170, 340}, {140, 340}, - {110, 340}, {80, 340}, - { 50, 340}, { 20, 340}, - }; - -POINT io_pos[16] ={ - {395, 40}, {370, 40}, - {345, 40}, {320, 40}, - {295, 40}, {270, 40}, - { 245, 40}, {220, 40}, - {195, 40}, {170, 40}, - {145, 40}, {120, 40}, - {95, 40}, {70, 40}, - { 45, 40}, { 20, 40}, - }; - -BOOL InitApplication(HANDLE); -BOOL InitInstance(HANDLE, int); -void ProcessThread(); - -int PASCAL WinMain(hInstance, hPrevInstance, lpCmdLine, nCmdShow) -HANDLE hInstance, hPrevInstance; -LPSTR lpCmdLine; -int nCmdShow; -{ - MSG msg; - - if (!hPrevInstance) - if (!InitApplication(hInstance)) return(FALSE); - if (!InitInstance(hInstance, nCmdShow)) return(FALSE); - while (GetMessage(&msg, NULL, NULL, NULL)) { - TranslateMessage(&msg); - DispatchMessage(&msg); - } - return(msg.wParam); -} - -BOOL InitApplication(hInstance) -HANDLE hInstance; -{ - WNDCLASS wc; - - /* Main Window Class */ - wc.style = NULL; - wc.lpfnWndProc = (WNDPROC)MainWndProc; - wc.cbClsExtra = 0; - wc.cbWndExtra = 0; - wc.hInstance = hInstance; - wc.hIcon = LoadIcon(hInstance, "MyIcon"); - wc.hCursor = LoadCursor(NULL, IDC_ARROW); - wc.hbrBackground = GetStockObject(LTGRAY_BRUSH); - wc.lpszMenuName = NULL; - wc.lpszClassName = "GenericWClass"; - if (!RegisterClass(&wc)) return(FALSE); -} - - -BOOL InitInstance(hInstance, nCmdShow) -HANDLE hInstance; -int nCmdShow; -{ - HWND hWnd; - HMENU hSampleMenu; - - hInst = hInstance; - hSampleMenu = LoadMenu(hInstance, "U7120Menu"); - hWnd = CreateWindow("GenericWClass", - (LPCSTR)"PCI-9116 Single Buffered DMA with Middle Trigger Mode", - WS_OVERLAPPEDWINDOW, - CW_USEDEFAULT, - CW_USEDEFAULT, - 520, - 400, - NULL, - hSampleMenu, - hInstance, - NULL); - if (!hWnd) return(FALSE); - ShowWindow(hWnd, nCmdShow); - UpdateWindow(hWnd); - return(TRUE); -} - -BOOL PASCAL setup(HWND hWnd, unsigned message, WPARAM wParam, LPARAM lParam) -{ - int i; - char n[16]; - char s[50]; - switch (message) { - case WM_INITDIALOG: - for (i=0;i<2;i++) { - SendMessage(GetDlgItem(hWnd,IDC_COMBO1), CB_ADDSTRING, NULL, (LONG)(LPSTR) AI_MODE[i]); - } - SendMessage(GetDlgItem(hWnd,IDC_COMBO1) , CB_SETCURSEL, 0, 0L); - for (i=0;i<16;i++) { - wsprintf(n, "%d", i); - _strupr(n); - SendMessage(GetDlgItem(hWnd,IDC_COMBO2), CB_ADDSTRING, NULL, (LONG)(LPSTR) n); - } - SendMessage(GetDlgItem(hWnd,IDC_COMBO2) , CB_SETCURSEL, 0, 0L); - break; - case WM_COMMAND: - switch(LOWORD(wParam)) { - - case IDC_COMBO1: - if (HIWORD(wParam) == CBN_CLOSEUP) { - i = (int)SendMessage(GetDlgItem(hWnd,IDC_COMBO1), CB_GETCURSEL, 0, 0L); - SendMessage(GetDlgItem(hWnd,IDC_COMBO1), CB_GETLBTEXT, i, (LPARAM)((LPCSTR)n)); - ai_mode = i; - } - return(TRUE); - case IDC_COMBO2: - if (HIWORD(wParam) == CBN_CLOSEUP) { - i = (int)SendMessage(GetDlgItem(hWnd,IDC_COMBO2), CB_GETCURSEL, 0, 0L); - SendMessage(GetDlgItem(hWnd,IDC_COMBO2), CB_GETLBTEXT, i, (LPARAM)((LPCSTR)n)); - card_number = i; - } - return(TRUE); - case IDC_RADIO1: - if (!bCheck_mCtr) { - SendMessage(GetDlgItem(hWnd,wParam), BM_SETCHECK, 1, 0); - bCheck_mCtr=TRUE; - } else { - SendMessage(GetDlgItem(hWnd,wParam), BM_SETCHECK, 1, 0); - bCheck_mCtr=FALSE; - } - break; - case IDOK: - if ((card=Register_Card(PCI_9116, card_number)) < 0) { - wsprintf(s, "Register_Card Error = %d\n", card); - MessageBox(hWnd, s, "Error", MB_OK); - SendMessage(hWnd, WM_CLOSE, 0, 0L); - break; - } - EndDialog(hWnd, TRUE); - InvalidateRect(hWnd, NULL, FALSE); - return (TRUE); - case IDCANCEL: - EndDialog(hWnd, TRUE); - return (TRUE); - } - break; - } - return (FALSE); -} - -long PASCAL MainWndProc(hWnd, message, wParam, lParam) -HWND hWnd; -UINT message; -WPARAM wParam; -LPARAM lParam; -{ - HDC hDC; - PAINTSTRUCT ps; - char n[6]; - static int pos=0; - I16 err; - char s[50]; - - switch(message) { - case WM_CREATE: - - DialogBox(hInst,IDD_DIALOG2, hWnd, setup); - if(card<0) { - SendMessage(hWnd, WM_CLOSE, 0, 0L); - break; - } - hEdit=CreateWindow("EDIT", NULL, - WS_CHILD | WS_VISIBLE | ES_LEFT, - output_pos[13].x-60, input_pos[15].y-20,70, 20, hWnd, IDC_EDIT, hInst, NULL); - - hEdit3=CreateWindow("EDIT", NULL, - WS_CHILD | WS_VISIBLE | ES_LEFT, - output_pos[13].x-60, input_pos[15].y+20,60, 20, hWnd, IDC_EDIT3, hInst, NULL); - - hEdit1=CreateWindow("EDIT", NULL, - WS_CHILD | WS_VISIBLE | ES_LEFT, - output_pos[13].x+90, input_pos[15].y+20,60, 20, hWnd, IDC_EDIT1, hInst, NULL); - - hEdit2=CreateWindow("EDIT", NULL, - WS_CHILD | WS_VISIBLE | ES_LEFT, - output_pos[13].x+90, input_pos[15].y-20,60, 20, hWnd, IDC_EDIT2, hInst, NULL); - - if(ai_mode) { - EnableWindow(hEdit2, FALSE); - postCount = 0; - } - wsprintf(n,"%d",samp_intrv); - SetWindowText(hEdit,n); - - wsprintf(n,"%d",data_size); - SetWindowText(hEdit1,n); - - wsprintf(n,"%d",postCount); - SetWindowText(hEdit2,n); - - if(!bCheck_mCtr) { - EnableWindow(hEdit3, FALSE); - mCount = 0; - } - wsprintf(n,"%d",mCount); - SetWindowText(hEdit3,n); - - CreateWindow("SCROLLBAR", NULL, - WS_CHILD | WS_VISIBLE | SBS_VERT, - output_pos[13].x+10, input_pos[15].y-20,20, 20, hWnd, IDC_SCROLL, hInst, NULL); - - hStart = CreateWindow("BUTTON","Start" , - WS_CHILD | WS_VISIBLE , - output_pos[10].x+130, input_pos[10].y+10,50, 30, hWnd, IDC_START, hInst, NULL); - - CreateWindow("BUTTON","Data Value" , - WS_CHILD | WS_VISIBLE , - output_pos[10].x+210, input_pos[10].y+10,80, 30, hWnd, IDC_SHOW, hInst, NULL); - - channel = 0; - - hBlackBrush= CreateSolidBrush(RGB(0,0,0)); - hRedPen= CreatePen(PS_SOLID,1,RGB(255,0,0)); - hBluePen= CreatePen(PS_SOLID,1,RGB(0,0,255)); - hGreenPen= CreatePen(PS_SOLID,1,RGB(0,255,0)); - hLTGreenPen= CreatePen(PS_SOLID,1,RGB(0,128,0)); - hYellowPen= CreatePen(PS_SOLID,1,RGB(255,255,0)); - hBlackPen= CreatePen(PS_SOLID,1,RGB(0,0,0)); - break; - - case WM_PAINT: - hDC = BeginPaint(hWnd, &ps); - - // DMA analog input box - SelectObject(hDC, GetStockObject(GRAY_BRUSH)); - Rectangle(hDC, output_pos[15].x-10, io_pos[15].y-24, output_pos[0].x+26, io_pos[0].y+195); - SetTextColor(hDC,RGB(255,0,0)); -// TextOut(hDC, io_pos[15].x+105, io_pos[15].y-40, " Trigger Source : External Digital Trigger ", 43); - SetTextColor(hDC,RGB(255,255,0)); - SetBkColor(hDC, RGB(0, 0, 255)); - TextOut(hDC, io_pos[15].x, io_pos[15].y-35, "DMA / INT Input", 15); - SelectObject(hDC, hBlackBrush); - Rectangle(hDC, output_pos[15].x+35, io_pos[15].y-2, output_pos[4].x+41, io_pos[0].y+172); - - SetBkMode(hDC,TRANSPARENT); - TextOut(hDC,output_pos[13].x+70, input_pos[10].y-40,"PostCount",9); - TextOut(hDC,output_pos[13].x-60, input_pos[10].y-40,"Sample Interval",15); - TextOut(hDC,output_pos[13].x-60, input_pos[10].y,"M Counter",9); - //TextOut(hDC,output_pos[13].x+30, input_pos[15].y+20,"KHZ",3); - TextOut(hDC,output_pos[13].x+70, input_pos[10].y,"Buffer Size",11); - TextOut(hDC,input_pos[2].x-10, io_pos[15].y+118,"Range: +-5V",11); - TextOut(hDC,input_pos[15].x, io_pos[15].y-19,"Volt",4); - TextOut(hDC,input_pos[15].x, io_pos[15].y-5,"5.00",4); - TextOut(hDC,input_pos[15].x, io_pos[15].y+36,"2.50",4); - TextOut(hDC,input_pos[15].x, io_pos[15].y+77,"0.00",4); - TextOut(hDC,input_pos[15].x-3, io_pos[15].y+118,"-2.50",5); - TextOut(hDC,input_pos[15].x-3, io_pos[15].y+159,"-5.00",5); - TextOut(hDC,input_pos[10].x+10, io_pos[10].y-19,"Signals",7); - TextOut(hDC,output_pos[4].x+60, io_pos[0].y,"Channel 0",9); - EndPaint(hWnd, &ps); - break; - - // Sample Rate Spin Control - case WM_VSCROLL: - switch(LOWORD(wParam)){ - case SB_LINEUP : - samp_intrv+=240; - if (samp_intrv > 24000 ) samp_intrv=24000; - break; - case SB_LINEDOWN: - samp_intrv-=240; - if (samp_intrv < 240 ) samp_intrv=240; - break; - } - wsprintf(n,"%d",samp_intrv); - SetWindowText(hEdit,n); - break; - case WM_COMMAND: - switch(LOWORD(wParam)) { - case IDM_EXIT: - SendMessage(hWnd, WM_CLOSE, 0, 0L); - break; - case IDC_SHOW : - DialogBox(hInst, "DMABox", hWnd, ShowDMA); - break; - case IDC_START: - if (hMem != NULL) { - GlobalUnfix(hMem); - GlobalUnlock(hMem); - GlobalFree(hMem); - } - // allocate a memory for DMA - data_size=GetDlgItemInt(hWnd,IDC_EDIT1,NULL ,FALSE); - mCount=GetDlgItemInt(hWnd,IDC_EDIT3,NULL ,FALSE); - if(bCheck_mCtr) - data_size += mCount; - mem_size=data_size * 2; - hMem = GlobalAlloc(GMEM_FIXED | GMEM_ZEROINIT,mem_size); - ai_buf = (I16 *)GlobalLock(hMem); - if (ai_buf == NULL ) { - MessageBox(hWnd,"DMA", "No Memory", MB_OK); - SendMessage(hWnd, WM_CLOSE, 0, 0L); - break; - } - GlobalFix(hMem); - - postCount = GetDlgItemInt(hWnd,IDC_EDIT2,NULL ,FALSE); - if(!bCheck_mCtr) - err = AI_9116_Config(card,0,P9116_AI_DMA|(ai_mode?P9116_TRGMOD_PRE:P9116_TRGMOD_MIDL), (ai_mode?0:postCount),0,0); - else - err = AI_9116_Config(card,0,P9116_AI_DMA|(ai_mode?P9116_TRGMOD_PRE:P9116_TRGMOD_MIDL)|P9116_AI_MCounterEn, (ai_mode?0:postCount),mCount,0); - err = AI_9116_CounterInterval (card, samp_intrv, samp_intrv); - err = AI_ContReadChannel (card, channel, range, ai_buf, data_size, (F32)1, ASYNCH_OP); - EnableWindow(hStart, FALSE); - hMainWnd = hWnd; - fstop = 0; - while (!fstop) - AI_AsyncCheck(card, &fstop, &count); - ProcessThread(); - MessageBeep(0); - break; - default: - return(DefWindowProc(hWnd, message, wParam, lParam)); - } - break; - case WM_DESTROY: - if (card >= 0) Release_Card(card); - DeleteObject(hBlackBrush); - DeleteObject(hRedPen); - DeleteObject(hBluePen); - DeleteObject(hLTGreenPen); - DeleteObject(hYellowPen); - GlobalUnfix(hMem); - GlobalUnlock(hMem); - GlobalFree(hMem); - PostQuitMessage(0); - break; - default: - return(DefWindowProc(hWnd, message, wParam, lParam)); - } - return(NULL); -} - -BOOL PASCAL ShowDMA(hDlg, message, wParam, lParam) -HWND hDlg; -UINT message; -WPARAM wParam; -LPARAM lParam; -{ - int nTabs[2] = {32, 92}; - int i; - char cBuf[100]; - char string[10]=" "; - char data_str[3]=" "; - I16 *pp; - - switch (message) { - case WM_INITDIALOG: - hListBox = CreateWindow("LISTBOX", "Index Data CH#", - WS_CHILD | WS_VISIBLE | LBS_HASSTRINGS | LBS_STANDARD | LBS_USETABSTOPS |WS_CAPTION, - 50, 40, 240, 180, hDlg, 100, hInst, NULL); - SendMessage(hListBox, LB_RESETCONTENT, 0, 0L); - SendMessage(hListBox, LB_SETTABSTOPS, 2, (DWORD)(LPINT) nTabs); - SetDlgItemText(hDlg, DMA_DESCP, "This ListBox can show at most 4000 data"); - itoa( /*data_size*/count, string, 10); - SetDlgItemText(hDlg, DMA_SPACE, string); - pp = (I16 *)ai_buf; - //if (count >4000) count = 4000; - for(i=0;i>4; - newy=io_pos[0].y+87-(87*(I16)ai_buf[i])/32767; - //newy = io_pos[0].y+86-(87*(long)adinput)/2048; - newx = i*336/data_size+output_pos[15].x+35; - if (! oldx[cur_channel]) - MoveToEx(hDC, newx, newy, NULL); - else - MoveToEx(hDC, oldx[cur_channel], oldy[cur_channel], NULL); - LineTo(hDC, newx, newy); - oldx[cur_channel] = newx; - oldy[cur_channel]= newy; - } - ReleaseDC(hMainWnd, hDC); -} \ No newline at end of file diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9116/SDK9116MidTrg/9116SMTg.exe b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9116/SDK9116MidTrg/9116SMTg.exe deleted file mode 100644 index 2722d56..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9116/SDK9116MidTrg/9116SMTg.exe and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9116/SDK9116MidTrg/9116SMTg.mak b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9116/SDK9116MidTrg/9116SMTg.mak deleted file mode 100644 index c049885..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9116/SDK9116MidTrg/9116SMTg.mak +++ /dev/null @@ -1,219 +0,0 @@ -# Microsoft Developer Studio Generated NMAKE File, Format Version 4.00 -# ** DO NOT EDIT ** - -# TARGTYPE "Win32 (x86) Application" 0x0101 - -!IF "$(CFG)" == "" -CFG=9116SMTg - Win32 Debug -!MESSAGE No configuration specified. Defaulting to 9116SMTg - Win32 Debug. -!ENDIF - -!IF "$(CFG)" != "9116SMTg - Win32 Release" && "$(CFG)" !=\ - "9116SMTg - Win32 Debug" -!MESSAGE Invalid configuration "$(CFG)" specified. -!MESSAGE You can specify a configuration when running NMAKE on this makefile -!MESSAGE by defining the macro CFG on the command line. For example: -!MESSAGE -!MESSAGE NMAKE /f "9116SMTg.mak" CFG="9116SMTg - Win32 Debug" -!MESSAGE -!MESSAGE Possible choices for configuration are: -!MESSAGE -!MESSAGE "9116SMTg - Win32 Release" (based on "Win32 (x86) Application") -!MESSAGE "9116SMTg - Win32 Debug" (based on "Win32 (x86) Application") -!MESSAGE -!ERROR An invalid configuration is specified. -!ENDIF - -!IF "$(OS)" == "Windows_NT" -NULL= -!ELSE -NULL=nul -!ENDIF -################################################################################ -# Begin Project -# PROP Target_Last_Scanned "9116SMTg - Win32 Debug" -CPP=cl.exe -RSC=rc.exe -MTL=mktyplib.exe - -!IF "$(CFG)" == "9116SMTg - Win32 Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "Release" -# PROP BASE Intermediate_Dir "Release" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "" -# PROP Intermediate_Dir "Release" -# PROP Target_Dir "" -OUTDIR=. -INTDIR=.\Release - -ALL : "$(OUTDIR)\9116SMTg.exe" - -CLEAN : - -@erase ".\9116SMTg.exe" - -@erase ".\Release\9116SMTg.obj" - -@erase ".\Release\9116SMTg.res" - -"$(INTDIR)" : - if not exist "$(INTDIR)/$(NULL)" mkdir "$(INTDIR)" - -# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /YX /c -# ADD CPP /nologo /MT /W3 /GX /Od /I "..\..\..\include" /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /c -# SUBTRACT CPP /YX -CPP_PROJ=/nologo /MT /W3 /GX /Od /I "..\..\..\include" /D "WIN32" /D "NDEBUG"\ - /D "_WINDOWS" /Fo"$(INTDIR)/" /c -CPP_OBJS=.\Release/ -CPP_SBRS= -# ADD BASE MTL /nologo /D "NDEBUG" /win32 -# ADD MTL /nologo /D "NDEBUG" /win32 -MTL_PROJ=/nologo /D "NDEBUG" /win32 -# ADD BASE RSC /l 0x409 /d "NDEBUG" -# ADD RSC /l 0x409 /d "NDEBUG" -RSC_PROJ=/l 0x409 /fo"$(INTDIR)/9116SMTg.res" /d "NDEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -BSC32_FLAGS=/nologo /o"$(OUTDIR)/9116SMTg.bsc" -BSC32_SBRS= -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:windows /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ..\..\..\lib\pci-dask.lib /nologo /subsystem:windows /machine:I386 -LINK32_FLAGS=kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib\ - advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib\ - odbccp32.lib ..\..\..\lib\pci-dask.lib /nologo /subsystem:windows\ - /incremental:no /pdb:"$(OUTDIR)/9116SMTg.pdb" /machine:I386\ - /out:"$(OUTDIR)/9116SMTg.exe" -LINK32_OBJS= \ - "$(INTDIR)/9116SMTg.obj" \ - "$(INTDIR)/9116SMTg.res" - -"$(OUTDIR)\9116SMTg.exe" : "$(OUTDIR)" $(DEF_FILE) $(LINK32_OBJS) - $(LINK32) @<< - $(LINK32_FLAGS) $(LINK32_OBJS) -<< - -!ELSEIF "$(CFG)" == "9116SMTg - Win32 Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "Debug" -# PROP BASE Intermediate_Dir "Debug" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "Debug" -# PROP Intermediate_Dir "Debug" -# PROP Target_Dir "" -OUTDIR=.\Debug -INTDIR=.\Debug - -ALL : "$(OUTDIR)\9116SMTg.exe" - -CLEAN : - -@erase ".\Debug\vc40.pdb" - -@erase ".\Debug\vc40.idb" - -@erase ".\Debug\9116SMTg.exe" - -@erase ".\Debug\9116SMTg.obj" - -@erase ".\Debug\9116SMTg.res" - -@erase ".\Debug\9116SMTg.ilk" - -@erase ".\Debug\9116SMTg.pdb" - -"$(OUTDIR)" : - if not exist "$(OUTDIR)/$(NULL)" mkdir "$(OUTDIR)" - -# ADD BASE CPP /nologo /W3 /Gm /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /YX /c -# ADD CPP /nologo /MTd /W3 /Gm /GX /Zi /Od /I "..\..\..\include" /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /c -# SUBTRACT CPP /YX -CPP_PROJ=/nologo /MTd /W3 /Gm /GX /Zi /Od /I "..\..\..\include" /D "WIN32" /D\ - "_DEBUG" /D "_WINDOWS" /Fo"$(INTDIR)/" /Fd"$(INTDIR)/" /c -CPP_OBJS=.\Debug/ -CPP_SBRS= -# ADD BASE MTL /nologo /D "_DEBUG" /win32 -# ADD MTL /nologo /D "_DEBUG" /win32 -MTL_PROJ=/nologo /D "_DEBUG" /win32 -# ADD BASE RSC /l 0x409 /d "_DEBUG" -# ADD RSC /l 0x409 /d "_DEBUG" -RSC_PROJ=/l 0x409 /fo"$(INTDIR)/9116SMTg.res" /d "_DEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -BSC32_FLAGS=/nologo /o"$(OUTDIR)/9116SMTg.bsc" -BSC32_SBRS= -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:windows /debug /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ..\..\..\lib\pci-dask.lib /nologo /subsystem:windows /debug /machine:I386 -LINK32_FLAGS=kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib\ - advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib\ - odbccp32.lib ..\..\..\lib\pci-dask.lib /nologo /subsystem:windows\ - /incremental:yes /pdb:"$(OUTDIR)/9116SMTg.pdb" /debug /machine:I386\ - /out:"$(OUTDIR)/9116SMTg.exe" -LINK32_OBJS= \ - "$(INTDIR)/9116SMTg.obj" \ - "$(INTDIR)/9116SMTg.res" - -"$(OUTDIR)\9116SMTg.exe" : "$(OUTDIR)" $(DEF_FILE) $(LINK32_OBJS) - $(LINK32) @<< - $(LINK32_FLAGS) $(LINK32_OBJS) -<< - -!ENDIF - -.c{$(CPP_OBJS)}.obj: - $(CPP) $(CPP_PROJ) $< - -.cpp{$(CPP_OBJS)}.obj: - $(CPP) $(CPP_PROJ) $< - -.cxx{$(CPP_OBJS)}.obj: - $(CPP) $(CPP_PROJ) $< - -.c{$(CPP_SBRS)}.sbr: - $(CPP) $(CPP_PROJ) $< - -.cpp{$(CPP_SBRS)}.sbr: - $(CPP) $(CPP_PROJ) $< - -.cxx{$(CPP_SBRS)}.sbr: - $(CPP) $(CPP_PROJ) $< - -################################################################################ -# Begin Target - -# Name "9116SMTg - Win32 Release" -# Name "9116SMTg - Win32 Debug" - -!IF "$(CFG)" == "9116SMTg - Win32 Release" - -!ELSEIF "$(CFG)" == "9116SMTg - Win32 Debug" - -!ENDIF - -################################################################################ -# Begin Source File - -SOURCE=.\9116SMTg.rc - -"$(INTDIR)\9116SMTg.res" : $(SOURCE) "$(INTDIR)" - $(RSC) $(RSC_PROJ) $(SOURCE) - - -# End Source File -################################################################################ -# Begin Source File - -SOURCE=.\9116SMTg.c -DEP_CPP_9116S=\ - ".\..\..\..\include\Dask.h"\ - - -"$(INTDIR)\9116SMTg.obj" : $(SOURCE) $(DEP_CPP_9116S) "$(INTDIR)" - - -# End Source File -# End Target -# End Project -################################################################################ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9116/SDK9116MidTrg/9116SMTg.mdp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9116/SDK9116MidTrg/9116SMTg.mdp deleted file mode 100644 index 382535c..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9116/SDK9116MidTrg/9116SMTg.mdp and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9116/SDK9116MidTrg/9116SMTg.rc b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9116/SDK9116MidTrg/9116SMTg.rc deleted file mode 100644 index cb90017..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9116/SDK9116MidTrg/9116SMTg.rc +++ /dev/null @@ -1,131 +0,0 @@ -//Microsoft Developer Studio generated resource script. -// -#include "resource.h" - -#define APSTUDIO_READONLY_SYMBOLS -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 2 resource. -// -#define APSTUDIO_HIDDEN_SYMBOLS -#include "windows.h" -#undef APSTUDIO_HIDDEN_SYMBOLS - -///////////////////////////////////////////////////////////////////////////// -#undef APSTUDIO_READONLY_SYMBOLS - -///////////////////////////////////////////////////////////////////////////// -// English (U.S.) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -#ifdef _WIN32 -LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US -#pragma code_page(1252) -#endif //_WIN32 - -///////////////////////////////////////////////////////////////////////////// -// -// Menu -// - -U7120MENU MENU DISCARDABLE -BEGIN - MENUITEM "E&xit!", IDM_EXIT -END - - -#ifdef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// TEXTINCLUDE -// - -1 TEXTINCLUDE DISCARDABLE -BEGIN - "resource.h\0" -END - -2 TEXTINCLUDE DISCARDABLE -BEGIN - "#define APSTUDIO_HIDDEN_SYMBOLS\r\n" - "#include ""windows.h""\r\n" - "#undef APSTUDIO_HIDDEN_SYMBOLS\r\n" - "\0" -END - -3 TEXTINCLUDE DISCARDABLE -BEGIN - "\r\n" - "\0" -END - -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog -// - -DMABOX DIALOG DISCARDABLE 18, 10, 171, 169 -STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "Data Value (half of circular buffer)" -FONT 8, "System" -BEGIN - PUSHBUTTON "STOP",ID_STOP,82,147,24,14 - LTEXT "Data Transferred :",-1,39,119,64,8 - LTEXT "Text",DMA_SPACE,103,118,41,8 - LTEXT "Text",DMA_DESCP,16,6,158,8 -END - -IDD_DIALOG2 DIALOG DISCARDABLE 110, 10, 121, 93 -STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "Card Type" -FONT 10, "System" -BEGIN - DEFPUSHBUTTON "OK",IDOK,9,72,39,14 - PUSHBUTTON "Cancel",IDCANCEL,70,72,38,14 - COMBOBOX IDC_COMBO1,49,32,59,45,CBS_DROPDOWN | WS_VSCROLL | - WS_TABSTOP - LTEXT "Trigger Mode",IDC_STATIC,3,33,44,13 - LTEXT "Card Number",IDC_STATIC,3,11,44,14 - COMBOBOX IDC_COMBO2,49,10,59,101,CBS_DROPDOWN | WS_VSCROLL | - WS_TABSTOP - CONTROL "Enable MCounter",IDC_RADIO1,"Button",BS_AUTORADIOBUTTON | - BS_NOTIFY,3,54,103,7 -END - - -///////////////////////////////////////////////////////////////////////////// -// -// DESIGNINFO -// - -#ifdef APSTUDIO_INVOKED -GUIDELINES DESIGNINFO DISCARDABLE -BEGIN - IDD_DIALOG2, DIALOG - BEGIN - LEFTMARGIN, 3 - RIGHTMARGIN, 115 - VERTGUIDE, 49 - BOTTOMMARGIN, 86 - END -END -#endif // APSTUDIO_INVOKED - -#endif // English (U.S.) resources -///////////////////////////////////////////////////////////////////////////// - - - -#ifndef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 3 resource. -// - - -///////////////////////////////////////////////////////////////////////////// -#endif // not APSTUDIO_INVOKED - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9116/SDK9116MidTrg/Resource.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9116/SDK9116MidTrg/Resource.h deleted file mode 100644 index 0bc069e..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9116/SDK9116MidTrg/Resource.h +++ /dev/null @@ -1,27 +0,0 @@ -//{{NO_DEPENDENCIES}} -// Microsoft Developer Studio generated include file. -// Used by 9116SMTg.rc -// -#define IDM_SETUP 101 -#define IDD_DIALOG1 101 -#define IDD_DIALOG2 104 -#define IDM_EXIT 110 -#define ID_CARDNUMBER 122 -#define ID_STOP 304 -#define DMA_SPACE 500 -#define DMA_DESCP 600 -#define IDC_COMBO1 1001 -#define IDC_COMBO2 1002 -#define IDC_RADIO1 1003 -#define IDC_STATIC -1 - -// Next default values for new objects -// -#ifdef APSTUDIO_INVOKED -#ifndef APSTUDIO_READONLY_SYMBOLS -#define _APS_NEXT_RESOURCE_VALUE 105 -#define _APS_NEXT_COMMAND_VALUE 123 -#define _APS_NEXT_CONTROL_VALUE 1004 -#define _APS_NEXT_SYMED_VALUE 101 -#endif -#endif diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9116/SDK9116PostTrg/9116SPTg.c b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9116/SDK9116PostTrg/9116SPTg.c deleted file mode 100644 index da36afc..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9116/SDK9116PostTrg/9116SPTg.c +++ /dev/null @@ -1,504 +0,0 @@ -#include "windows.h" -#include -#include -#include -#include -#include -#include "resource.h" -#include "Dask.h" - -#define IDM_EXIT 110 -#define IDC_SCROLL 207 -#define IDC_SPIN 301 -#define IDC_START 208 -#define IDC_EDIT 211 -#define IDC_EDIT1 214 -#define IDC_EDIT2 215 -#define IDC_SHOW 213 -#define IDC_CH 400 - -int PASCAL WinMain(HANDLE, HANDLE, LPSTR, int); -long PASCAL MainWndProc(HWND, UINT, WPARAM, LPARAM); -BOOL PASCAL ShowDMA(HWND, UINT, WPARAM, LPARAM); - -HANDLE hInst; -HWND hListBox; -HWND hEdit,hEdit1, hEdit2, hStart; -BOOL bCheck[5]; - -HBRUSH hBlackBrush; -HPEN hRedPen, hBlackPen, hBluePen, hYellowPen, hGreenPen, hLTGreenPen; -HWND hMainWnd; - -long samp_intrv=240; -U16 channel=0, range = AD_B_5_V, ch_cnt=1; -U32 data_size=2048, mem_size; -static HANDLE hMem=NULL; -BOOLEAN fstop =0; -I16 *ai_buf; -I16 card=-1, card_number = 0, ai_mode; -U32 count, trgCount = 1; -HANDLE hThread1; -LPSTR AI_MODE[2]={"DMA", "INT"}; - -POINT input_pos[16]= {{470, 280}, {440, 280}, - {410, 280}, {380, 280}, - {350, 280}, {320, 280}, - { 290, 280}, {260, 280}, - {230, 280}, {200, 280}, - {170, 280}, {140, 280}, - {110, 280}, {80, 280}, - { 50, 280}, { 20, 280}, - }; -POINT output_pos[16] ={ - {470, 340}, {440, 340}, - {410, 340}, {380, 340}, - {350, 340}, {320, 340}, - { 290, 340}, {260, 340}, - {230, 340}, {200, 340}, - {170, 340}, {140, 340}, - {110, 340}, {80, 340}, - { 50, 340}, { 20, 340}, - }; - -POINT io_pos[16] ={ - {395, 40}, {370, 40}, - {345, 40}, {320, 40}, - {295, 40}, {270, 40}, - { 245, 40}, {220, 40}, - {195, 40}, {170, 40}, - {145, 40}, {120, 40}, - {95, 40}, {70, 40}, - { 45, 40}, { 20, 40}, - }; - -BOOL InitApplication(HANDLE); -BOOL InitInstance(HANDLE, int); -void ProcessThread(); - -int PASCAL WinMain(hInstance, hPrevInstance, lpCmdLine, nCmdShow) -HANDLE hInstance, hPrevInstance; -LPSTR lpCmdLine; -int nCmdShow; -{ - MSG msg; - - if (!hPrevInstance) - if (!InitApplication(hInstance)) return(FALSE); - if (!InitInstance(hInstance, nCmdShow)) return(FALSE); - while (GetMessage(&msg, NULL, NULL, NULL)) { - TranslateMessage(&msg); - DispatchMessage(&msg); - } - return(msg.wParam); -} - -BOOL InitApplication(hInstance) -HANDLE hInstance; -{ - WNDCLASS wc; - - /* Main Window Class */ - wc.style = NULL; - wc.lpfnWndProc = (WNDPROC)MainWndProc; - wc.cbClsExtra = 0; - wc.cbWndExtra = 0; - wc.hInstance = hInstance; - wc.hIcon = LoadIcon(hInstance, "MyIcon"); - wc.hCursor = LoadCursor(NULL, IDC_ARROW); - wc.hbrBackground = GetStockObject(LTGRAY_BRUSH); - wc.lpszMenuName = NULL; - wc.lpszClassName = "GenericWClass"; - if (!RegisterClass(&wc)) return(FALSE); -} - - -BOOL InitInstance(hInstance, nCmdShow) -HANDLE hInstance; -int nCmdShow; -{ - HWND hWnd; - HMENU hSampleMenu; - - hInst = hInstance; - hSampleMenu = LoadMenu(hInstance, "U7120Menu"); - hWnd = CreateWindow("GenericWClass", - (LPCSTR)"PCI-9116 Single Buffered DMA with Post Trigger Mode", - WS_OVERLAPPEDWINDOW, - CW_USEDEFAULT, - CW_USEDEFAULT, - 520, - 400, - NULL, - hSampleMenu, - hInstance, - NULL); - if (!hWnd) return(FALSE); - ShowWindow(hWnd, nCmdShow); - UpdateWindow(hWnd); - return(TRUE); -} - -BOOL PASCAL setup(HWND hWnd, unsigned message, WPARAM wParam, LPARAM lParam) -{ - int i; - char n[16]; - char s[50]; - switch (message) { - case WM_INITDIALOG: - for (i=0;i<2;i++) { - SendMessage(GetDlgItem(hWnd,IDC_COMBO1), CB_ADDSTRING, NULL, (LONG)(LPSTR) AI_MODE[i]); - } - SendMessage(GetDlgItem(hWnd,IDC_COMBO1) , CB_SETCURSEL, 0, 0L); - for (i=0;i<16;i++) { - wsprintf(n, "%d", i); - _strupr(n); - SendMessage(GetDlgItem(hWnd,IDC_COMBO2), CB_ADDSTRING, NULL, (LONG)(LPSTR) n); - } - SendMessage(GetDlgItem(hWnd,IDC_COMBO2) , CB_SETCURSEL, 0, 0L); - break; - case WM_COMMAND: - switch(LOWORD(wParam)) { - - case IDC_COMBO1: - if (HIWORD(wParam) == CBN_CLOSEUP) { - i = (int)SendMessage(GetDlgItem(hWnd,IDC_COMBO1), CB_GETCURSEL, 0, 0L); - SendMessage(GetDlgItem(hWnd,IDC_COMBO1), CB_GETLBTEXT, i, (LPARAM)((LPCSTR)n)); - ai_mode = i; - } - return(TRUE); - case IDC_COMBO2: - if (HIWORD(wParam) == CBN_CLOSEUP) { - i = (int)SendMessage(GetDlgItem(hWnd,IDC_COMBO2), CB_GETCURSEL, 0, 0L); - SendMessage(GetDlgItem(hWnd,IDC_COMBO2), CB_GETLBTEXT, i, (LPARAM)((LPCSTR)n)); - card_number = i; - } - return(TRUE); - case IDOK: - if ((card=Register_Card(PCI_9116, card_number)) < 0) { - wsprintf(s, "Register_Card Error = %d\n", card); - MessageBox(hWnd, s, "Error", MB_OK); - SendMessage(hWnd, WM_CLOSE, 0, 0L); - break; - } - EndDialog(hWnd, TRUE); - InvalidateRect(hWnd, NULL, FALSE); - return (TRUE); - case IDCANCEL: - EndDialog(hWnd, TRUE); - return (TRUE); - } - break; - } - return (FALSE); -} - -long PASCAL MainWndProc(hWnd, message, wParam, lParam) -HWND hWnd; -UINT message; -WPARAM wParam; -LPARAM lParam; -{ - HDC hDC; - PAINTSTRUCT ps; - int i; - char n[6]; - static int pos=0; - I16 err; - char s[50]; - - switch(message) { - case WM_CREATE: - DialogBox(hInst,IDD_DIALOG2, hWnd, setup); - if(card<0) { - SendMessage(hWnd, WM_CLOSE, 0, 0L); - break; - } - hEdit=CreateWindow("EDIT", NULL, - WS_CHILD | WS_VISIBLE | ES_LEFT, - output_pos[13].x-60, input_pos[15].y+20,70, 20, hWnd, IDC_EDIT, hInst, NULL); - - hEdit1=CreateWindow("EDIT", NULL, - WS_CHILD | WS_VISIBLE | ES_LEFT, - output_pos[13].x+90, input_pos[15].y+20,60, 20, hWnd, IDC_EDIT1, hInst, NULL); - - hEdit2=CreateWindow("EDIT", NULL, - WS_CHILD | WS_VISIBLE | ES_LEFT, - output_pos[13].x+90, input_pos[15].y-20,60, 20, hWnd, IDC_EDIT2, hInst, NULL); - - wsprintf(n,"%d",samp_intrv); - SetWindowText(hEdit,n); - - wsprintf(n,"%d",data_size); - SetWindowText(hEdit1,n); - - wsprintf(n,"%d",trgCount); - SetWindowText(hEdit2,n); - - CreateWindow("SCROLLBAR", NULL, - WS_CHILD | WS_VISIBLE | SBS_VERT, - output_pos[13].x+10, input_pos[15].y+20,20, 20, hWnd, IDC_SCROLL, hInst, NULL); - - hStart = CreateWindow("BUTTON","Start" , - WS_CHILD | WS_VISIBLE , - output_pos[10].x+130, input_pos[10].y+10,50, 30, hWnd, IDC_START, hInst, NULL); - - CreateWindow("BUTTON","Data Value" , - WS_CHILD | WS_VISIBLE , - output_pos[10].x+210, input_pos[10].y+10,80, 30, hWnd, IDC_SHOW, hInst, NULL); - - CreateWindow("BUTTON","1" , - WS_CHILD | WS_VISIBLE | BS_AUTORADIOBUTTON | BS_LEFTTEXT | WS_GROUP , - output_pos[4].x+60, io_pos[0].y-5+20,25,15, hWnd,IDC_CH, hInst, NULL); - CreateWindow("BUTTON","2" , - WS_CHILD | WS_VISIBLE | BS_AUTORADIOBUTTON | BS_LEFTTEXT | WS_GROUP, - output_pos[4].x+60, io_pos[0].y+13+20,25,15, hWnd,IDC_CH+1, hInst, NULL); - CreateWindow("BUTTON","3" , - WS_CHILD | WS_VISIBLE | BS_AUTORADIOBUTTON | BS_LEFTTEXT | WS_GROUP, - output_pos[4].x+60, io_pos[0].y+31+20,25,15, hWnd,IDC_CH+2, hInst, NULL); - CreateWindow("BUTTON","4" , - WS_CHILD | WS_VISIBLE | BS_AUTORADIOBUTTON | BS_LEFTTEXT | WS_GROUP, - output_pos[4].x+60, io_pos[0].y+49+20,25,15, hWnd,IDC_CH+3, hInst, NULL); - - //default channel 0 - for (i=1;i<4;i++) bCheck[i]=FALSE; - bCheck[0] = TRUE; - channel = 0; - SendMessage(GetDlgItem(hWnd,IDC_CH), BM_SETCHECK, 1, 0); - - hBlackBrush= CreateSolidBrush(RGB(0,0,0)); - hRedPen= CreatePen(PS_SOLID,1,RGB(255,0,0)); - hBluePen= CreatePen(PS_SOLID,1,RGB(0,0,255)); - hGreenPen= CreatePen(PS_SOLID,1,RGB(0,255,0)); - hLTGreenPen= CreatePen(PS_SOLID,1,RGB(0,128,0)); - hYellowPen= CreatePen(PS_SOLID,1,RGB(255,255,0)); - hBlackPen= CreatePen(PS_SOLID,1,RGB(0,0,0)); - break; - - case WM_PAINT: - hDC = BeginPaint(hWnd, &ps); - - // DMA analog input box - SelectObject(hDC, GetStockObject(GRAY_BRUSH)); - Rectangle(hDC, output_pos[15].x-10, io_pos[15].y-24, output_pos[0].x+26, io_pos[0].y+195); - SetTextColor(hDC,RGB(255,0,0)); - //TextOut(hDC, io_pos[15].x+105, io_pos[15].y-40, " Trigger Source : External Digital Trigger ", 43); - SetTextColor(hDC,RGB(255,255,0)); - SetBkColor(hDC, RGB(0, 0, 255)); - TextOut(hDC, io_pos[15].x, io_pos[15].y-35, "DMA /INT Input", 15); - SelectObject(hDC, hBlackBrush); - Rectangle(hDC, output_pos[15].x+35, io_pos[15].y-2, output_pos[4].x+41, io_pos[0].y+172); - SetBkMode(hDC,TRANSPARENT); - TextOut(hDC,output_pos[13].x+70, input_pos[10].y-40,"RetrigCount",11); - TextOut(hDC,output_pos[13].x-60, input_pos[10].y,"Samping Interval",15); - TextOut(hDC,output_pos[13].x+70, input_pos[10].y,"Scan Count",10); - TextOut(hDC,input_pos[2].x-10, io_pos[15].y+118,"Range: +-5V",11); - TextOut(hDC,input_pos[15].x, io_pos[15].y-19,"Volt",4); - TextOut(hDC,input_pos[15].x, io_pos[15].y-5,"5.00",4); - TextOut(hDC,input_pos[15].x, io_pos[15].y+36,"2.50",4); - TextOut(hDC,input_pos[15].x, io_pos[15].y+77,"0.00",4); - TextOut(hDC,input_pos[15].x-3, io_pos[15].y+118,"-2.50",5); - TextOut(hDC,input_pos[15].x-3, io_pos[15].y+159,"-5.00",5); - TextOut(hDC,input_pos[10].x+10, io_pos[10].y-19,"Signals",7); - TextOut(hDC,output_pos[4].x+60, io_pos[0].y-15,"No. of CHs",10); - SetTextColor(hDC,RGB(255,255,0)); - TextOut(hDC,output_pos[4].x+88, io_pos[0].y+15,"Ch0",3); - SetTextColor(hDC,RGB(0,128,0)); - TextOut(hDC,output_pos[4].x+88, io_pos[0].y+33,"Ch0-ch1",7); - SetTextColor(hDC,RGB(0,0,255)); - TextOut(hDC,output_pos[4].x+88, io_pos[0].y+51,"Ch0-Ch2",7); - SetTextColor(hDC,RGB(255,0,0)); - TextOut(hDC,output_pos[4].x+88, io_pos[0].y+69,"Ch0-Ch3",7); - EndPaint(hWnd, &ps); - break; - // Sample Rate Spin Control - case WM_VSCROLL: - switch(LOWORD(wParam)){ - case SB_LINEUP : - samp_intrv+=240; - if (samp_intrv > 24000 ) samp_intrv=24000; - break; - case SB_LINEDOWN: - samp_intrv-=240; - if (samp_intrv < 240 ) samp_intrv=240; - break; - } - wsprintf(n,"%d",samp_intrv); - SetWindowText(hEdit,n); - break; - case WM_COMMAND: - switch(LOWORD(wParam)) { - case IDM_EXIT: - SendMessage(hWnd, WM_CLOSE, 0, 0L); - break; - case IDC_CH: - case IDC_CH+1: - case IDC_CH+2: - case IDC_CH+3: - if (!bCheck[wParam-IDC_CH]) { - SendMessage(GetDlgItem(hWnd,wParam), BM_SETCHECK, 1, 0); - SendMessage(GetDlgItem(hWnd,IDC_CH+channel), BM_SETCHECK, 0, 0); - bCheck[channel]=FALSE; - } - channel=wParam-IDC_CH; - ch_cnt = channel + 1; - bCheck[channel]=TRUE; - break; - case IDC_SHOW : - DialogBox(hInst, "DMABox", hWnd, ShowDMA); - break; - case IDC_START: - if (hMem != NULL) { - GlobalUnfix(hMem); - GlobalUnlock(hMem); - GlobalFree(hMem); - } - // allocate a memory for DMA - trgCount = GetDlgItemInt(hWnd,IDC_EDIT2,NULL ,FALSE); - if(trgCount<1) { - MessageBox(hWnd,"trgCount must be >= 1", "No Memory", MB_OK); - break; - } - data_size=GetDlgItemInt(hWnd,IDC_EDIT1,NULL ,FALSE); - data_size *= ch_cnt; - mem_size=data_size * 2 * trgCount; - hMem = GlobalAlloc(GMEM_FIXED | GMEM_ZEROINIT,mem_size); - ai_buf = (I16 *)GlobalLock(hMem); - if (ai_buf == NULL ) { - MessageBox(hWnd,"DMA/INT", "No Memory", MB_OK); - SendMessage(hWnd, WM_CLOSE, 0, 0L); - break; - } - GlobalFix(hMem); - - if(!ai_mode) - AI_9116_Config(card,0,P9116_AI_DMA|P9116_TRGMOD_POST|P9116_AI_ReTrigEn,0,0,trgCount); - else - AI_9116_Config(card,0,P9116_AI_INT|P9116_TRGMOD_POST|P9116_AI_ReTrigEn,0,0,trgCount); - - AI_9116_CounterInterval (card, samp_intrv*ch_cnt, samp_intrv); - err = AI_ContScanChannels (card, channel, range, ai_buf, trgCount*(data_size/ch_cnt), (F32)1, ASYNCH_OP); - if(err !=0) { - wsprintf(s,"AI_ContScanChannels error: %d",err); - MessageBox(hWnd,s, "No Memory", MB_OK); - SendMessage(hWnd, WM_CLOSE, 0, 0L); - break; - } - EnableWindow(hStart, FALSE); - hMainWnd = hWnd; - fstop = 0; - while (!fstop) - AI_AsyncCheck(card, &fstop, &count); - ProcessThread(); - MessageBeep(0); - break; - default: - return(DefWindowProc(hWnd, message, wParam, lParam)); - } - break; - case WM_DESTROY: - if (card >= 0) Release_Card(card); - DeleteObject(hBlackBrush); - DeleteObject(hRedPen); - DeleteObject(hBluePen); - DeleteObject(hLTGreenPen); - DeleteObject(hYellowPen); - GlobalUnfix(hMem); - GlobalUnlock(hMem); - GlobalFree(hMem); - PostQuitMessage(0); - break; - default: - return(DefWindowProc(hWnd, message, wParam, lParam)); - } - return(NULL); -} - -BOOL PASCAL ShowDMA(hDlg, message, wParam, lParam) -HWND hDlg; -UINT message; -WPARAM wParam; -LPARAM lParam; -{ - int nTabs[2] = {32, 92}; - int i; - char cBuf[100]; - char string[10]=" "; - char data_str[3]=" "; - I16 *pp, ch_no; - - switch (message) { - case WM_INITDIALOG: - hListBox = CreateWindow("LISTBOX", "Index Data", - WS_CHILD | WS_VISIBLE | LBS_HASSTRINGS | LBS_STANDARD | LBS_USETABSTOPS |WS_CAPTION, - 50, 40, 240, 180, hDlg, 100, hInst, NULL); - SendMessage(hListBox, LB_RESETCONTENT, 0, 0L); - SendMessage(hListBox, LB_SETTABSTOPS, 2, (DWORD)(LPINT) nTabs); - SetDlgItemText(hDlg, DMA_DESCP, "This ListBox can show at most 4000 data"); - itoa( data_size, string, 10); - SetDlgItemText(hDlg, DMA_SPACE, string); - pp = (I16 *)ai_buf; - if (count >4000) count = 4000; - for(i=0;i -#include -#include -#include -#include -#include "resource.h" -#include "dask.h" - -#define IDM_EXIT 110 -#define IDC_ADDR 200 -#define IDC_SCROLL 207 -#define IDC_START 208 -#define IDC_STOP 209 -#define IDC_PAUSE 210 -#define IDC_EDIT 211 -#define IDC_CHAN 214 -#define IDC_SHOW 213 -#define NONE 0 - -int PASCAL WinMain(HANDLE, HANDLE, LPSTR, int); -long PASCAL MainWndProc(HWND, UINT, WPARAM, LPARAM); -BOOL PASCAL ShowDMA(HWND, UINT, WPARAM, LPARAM); - -HANDLE hInst; -HWND hListBox; -HWND hChanComboBox; -HWND hADScroll; -HWND hEdit,hEdit1,hData; -unsigned int input=0, output=0; -unsigned int oldinput[8], adinput; - -HBRUSH hBlackBrush; -HPEN hRedPen; - -long samp_intrv=240; -unsigned int base_addr=NONE,gain=1; -I16 card = -1, card_number = 0, ai_mode; -long data_size=4000; -U16 channel=0; -U16 range =AD_B_5_V; -DWORD mem_size = 0; -static HANDLE hMem=NULL; -unsigned short *ai_buf; -LPSTR AI_MODE[2]={"DMA", "INT"}; - -POINT input_pos[16]= {{470, 280}, {440, 280}, - {410, 280}, {380, 280}, - {350, 280}, {320, 280}, - { 290, 280}, {260, 280}, - {230, 280}, {200, 280}, - {170, 280}, {140, 280}, - {110, 280}, {80, 280}, - { 50, 280}, { 20, 280}, - }; - -POINT output_pos[16] ={ - {470, 340}, {440, 340}, - {410, 340}, {380, 340}, - {350, 340}, {320, 340}, - { 290, 340}, {260, 340}, - {230, 340}, {200, 340}, - {170, 340}, {140, 340}, - {110, 340}, {80, 340}, - { 50, 340}, { 20, 340}, - }; - -POINT io_pos[16] ={ - {395, 40}, {370, 40}, - {345, 40}, {320, 40}, - {295, 40}, {270, 40}, - { 245, 40}, {220, 40}, - {195, 40}, {170, 40}, - {145, 40}, {120, 40}, - {95, 40}, {70, 40}, - { 45, 40}, { 20, 40}, - }; - -HBRUSH hLTGreenBrush,hGreenBrush,hBlueBrush,hYellowBrush,hRedBrush,hBlackBrush,hWhiteBrush - ,hLTRedBrush,hLTBlueBrush; -HPEN hRedPen,hYellowPen,hGreenPen,hBluePen,hLTBluePen,hLTRedPen,hLTGreenPen,hWhitePen; - -BOOL InitApplication(HANDLE); -BOOL InitInstance(HANDLE, int); - -int PASCAL WinMain(hInstance, hPrevInstance, lpCmdLine, nCmdShow) -HANDLE hInstance, hPrevInstance; -LPSTR lpCmdLine; -int nCmdShow; -{ - MSG msg; - - if (!hPrevInstance) - if (!InitApplication(hInstance)) return(FALSE); - if (!InitInstance(hInstance, nCmdShow)) return(FALSE); - while (GetMessage(&msg, NULL, NULL, NULL)) { - TranslateMessage(&msg); - DispatchMessage(&msg); - } - return(msg.wParam); -} - -BOOL InitApplication(hInstance) -HANDLE hInstance; -{ - WNDCLASS wc; - - /* Main Window Class */ - wc.style = NULL; - wc.lpfnWndProc = (WNDPROC)MainWndProc; - wc.cbClsExtra = 0; - wc.cbWndExtra = 0; - wc.hInstance = hInstance; - wc.hIcon = LoadIcon(hInstance, "MyIcon"); - wc.hCursor = LoadCursor(NULL, IDC_ARROW); - wc.hbrBackground = GetStockObject(LTGRAY_BRUSH); - wc.lpszMenuName = NULL; - wc.lpszClassName = "GenericWClass"; - if (!RegisterClass(&wc)) return(FALSE); -} - -BOOL InitInstance(hInstance, nCmdShow) -HANDLE hInstance; -int nCmdShow; -{ - HWND hWnd; - HMENU hSampleMenu; - - hInst = hInstance; - hSampleMenu = LoadMenu(hInstance, "U7120Menu"); - hWnd = CreateWindow("GenericWClass", - (LPCSTR)"9116 Autoscan DMA / INT", - WS_OVERLAPPEDWINDOW, - CW_USEDEFAULT, - CW_USEDEFAULT, - 520, - 400, - NULL, - hSampleMenu, - hInstance, - NULL); - if (!hWnd) return(FALSE); - ShowWindow(hWnd, nCmdShow); - UpdateWindow(hWnd); - return(TRUE); -} - -BOOL PASCAL setup(HWND hWnd, unsigned message, WPARAM wParam, LPARAM lParam) -{ - int i; - char n[16]; - char s[50]; - switch (message) { - case WM_INITDIALOG: - for (i=0;i<16;i++) { - wsprintf(n, "%d", i); - _strupr(n); - SendMessage(GetDlgItem(hWnd,IDC_COMBO1), CB_ADDSTRING, NULL, (LONG)(LPSTR) n); - } - SendMessage(GetDlgItem(hWnd,IDC_COMBO1) , CB_SETCURSEL, 0, 0L); - for (i=0;i<2;i++) { - SendMessage(GetDlgItem(hWnd,IDC_COMBO4), CB_ADDSTRING, NULL, (LONG)(LPSTR) AI_MODE[i]); - } - SendMessage(GetDlgItem(hWnd,IDC_COMBO4) , CB_SETCURSEL, 0, 0L); - - break; - case WM_COMMAND: - switch(LOWORD(wParam)) { - - case IDC_COMBO1: - if (HIWORD(wParam) == CBN_CLOSEUP) { - i = (int)SendMessage(GetDlgItem(hWnd,IDC_COMBO1), CB_GETCURSEL, 0, 0L); - SendMessage(GetDlgItem(hWnd,IDC_COMBO1), CB_GETLBTEXT, i, (LPARAM)((LPCSTR)n)); - card_number = i; - } - return(TRUE); - case IDC_COMBO4: - if (HIWORD(wParam) == CBN_CLOSEUP) { - i = (int)SendMessage(GetDlgItem(hWnd,IDC_COMBO4), CB_GETCURSEL, 0, 0L); - SendMessage(GetDlgItem(hWnd,IDC_COMBO4), CB_GETLBTEXT, i, (LPARAM)((LPCSTR)n)); - ai_mode = i; - } - return(TRUE); - case IDOK: - if ((card=Register_Card(PCI_9116, card_number)) < 0) { - wsprintf(s, "Register_Card Error = %d\n", card); - MessageBox(hWnd, s, "Error", MB_OK); - SendMessage(hWnd, WM_CLOSE, 0, 0L); - break; - } - EndDialog(hWnd, TRUE); - InvalidateRect(hWnd, NULL, FALSE); - return (TRUE); - case IDCANCEL: - EndDialog(hWnd, TRUE); - return (TRUE); - } - break; - } - return (FALSE); -} - -long PASCAL MainWndProc(hWnd, message, wParam, lParam) -HWND hWnd; -UINT message; -WPARAM wParam; -LPARAM lParam; -{ - HDC hDC; - PAINTSTRUCT ps; - int i, err; - int cur_channel; - char n[6]; - static int pos=0; - static int count,status; - BOOLEAN bStopped; - - switch(message) { - case WM_CREATE: - DialogBox(hInst,IDD_DIALOG2, hWnd, setup); - if(card<0) { - SendMessage(hWnd, WM_CLOSE, 0, 0L); - break; - } - hChanComboBox = CreateWindow("ComboBox", NULL, - CBS_DROPDOWNLIST | WS_CHILD | WS_VISIBLE | WS_VSCROLL, - input_pos[10].x, input_pos[15].y+18, 100, 160, hWnd, IDC_CHAN, hInst, NULL); - SendMessage(hChanComboBox, CB_ADDSTRING, NULL, (LONG)(LPSTR)"CH0"); - SendMessage(hChanComboBox, CB_ADDSTRING, NULL, (LONG)(LPSTR)"CH0 ~ CH1"); - SendMessage(hChanComboBox, CB_ADDSTRING, NULL, (LONG)(LPSTR)"CH0 ~ CH2"); - SendMessage(hChanComboBox, CB_ADDSTRING, NULL, (LONG)(LPSTR)"CH0 ~ CH3"); - SendMessage(hChanComboBox, CB_ADDSTRING, NULL, (LONG)(LPSTR)"CH0 ~ CH4"); - SendMessage(hChanComboBox, CB_ADDSTRING, NULL, (LONG)(LPSTR)"CH0 ~ CH5"); - SendMessage(hChanComboBox, CB_ADDSTRING, NULL, (LONG)(LPSTR)"CH0 ~ CH6"); - SendMessage(hChanComboBox, CB_ADDSTRING, NULL, (LONG)(LPSTR)"CH0 ~ CH7"); - SendMessage(hChanComboBox ,CB_SETCURSEL, 0, 0L); - hEdit=CreateWindow("EDIT", NULL, - WS_CHILD | WS_VISIBLE | ES_LEFT, - output_pos[13].x-30, input_pos[15].y+20,40, 20, hWnd, IDC_EDIT, hInst, NULL); - - wsprintf(n,"%d",samp_intrv); - SetWindowText(hEdit,n); - - CreateWindow("SCROLLBAR", NULL, - WS_CHILD | WS_VISIBLE | SBS_VERT, - output_pos[13].x+10, input_pos[15].y+20,20, 20, hWnd, IDC_SCROLL, hInst, NULL); - - CreateWindow("BUTTON","Start" , - WS_CHILD | WS_VISIBLE , - output_pos[10].x+140, input_pos[10].y+10,70, 30, hWnd, IDC_START, hInst, NULL); - - hData=CreateWindow("BUTTON","Data Value" , - WS_CHILD | WS_VISIBLE , - output_pos[10].x+230, input_pos[10].y+10,80, 30, hWnd, IDC_SHOW, hInst, NULL); - - hLTGreenBrush = CreateSolidBrush(RGB(0, 255, 0)); - hGreenBrush = CreateSolidBrush(RGB(0, 128, 0)); - hBlueBrush = CreateSolidBrush(RGB(0, 0, 255)); - hRedBrush = CreateSolidBrush(RGB(255, 0, 0)); - hYellowBrush= CreateSolidBrush(RGB(255,255,0)); - hBlackBrush= CreateSolidBrush(RGB(0,0,0)); - hLTBlueBrush= CreateSolidBrush(RGB(0,255,255)); - hLTRedBrush= CreateSolidBrush(RGB(255,128,0)); - hWhiteBrush= CreateSolidBrush(RGB(255,255,255)); - hRedPen= CreatePen(PS_SOLID,1,RGB(255,0,0)); - hYellowPen= CreatePen(PS_SOLID,1,RGB(255,255,0)); - hBluePen= CreatePen(PS_SOLID,1,RGB(0,0,255)); - hGreenPen= CreatePen(PS_SOLID,1,RGB(0,255,0)); - hLTBluePen= CreatePen(PS_SOLID,1,RGB(0,128,255)); - hLTRedPen= CreatePen(PS_SOLID,1,RGB(128,128,0)); - hLTGreenPen= CreatePen(PS_SOLID,1,RGB(0,128,0)); - hWhitePen= CreatePen(PS_SOLID,1,RGB(255,255,255)); - break; - - case WM_PAINT: - hDC = BeginPaint(hWnd, &ps); - - // Analog Input Box - SelectObject(hDC, GetStockObject(GRAY_BRUSH)); - Rectangle(hDC, output_pos[15].x-10, io_pos[15].y-24, output_pos[0].x+26, io_pos[0].y+195); - SetTextColor(hDC,RGB(255,255,0)); - SetBkColor(hDC, RGB(0, 0, 255)); - TextOut(hDC, io_pos[15].x, io_pos[15].y-35, " DMA / INT Input(A/D) ", 26); - - SelectObject(hDC, hBlackBrush); - Rectangle(hDC, output_pos[15].x+35, io_pos[15].y-2, output_pos[4].x+41, io_pos[0].y+172); - - SelectObject(hDC,hYellowBrush ); - Rectangle(hDC,output_pos[4].x+68, io_pos[0].y-5+18,output_pos[4].x+80, io_pos[0].y+10+18); - - SelectObject(hDC, hGreenBrush); - Rectangle(hDC,output_pos[4].x+68, io_pos[0].y+13+18,output_pos[4].x+80, io_pos[0].y+28+18); - - SelectObject(hDC, hBlueBrush); - Rectangle(hDC,output_pos[4].x+68, io_pos[0].y+31+18,output_pos[4].x+80, io_pos[0].y+46+18); - - SelectObject(hDC, hRedBrush); - Rectangle(hDC,output_pos[4].x+68, io_pos[0].y+49+18,output_pos[4].x+80, io_pos[0].y+64+18); - - SelectObject(hDC, hLTBlueBrush); - Rectangle(hDC,output_pos[4].x+108, io_pos[0].y-5+18,output_pos[4].x+120, io_pos[0].y+10+18); - - SelectObject(hDC, hLTRedBrush); - Rectangle(hDC,output_pos[4].x+108, io_pos[0].y+13+18,output_pos[4].x+120, io_pos[0].y+28+18); - - SelectObject(hDC, hLTGreenBrush); - Rectangle(hDC,output_pos[4].x+108, io_pos[0].y+31+18,output_pos[4].x+120, io_pos[0].y+46+18); - - SelectObject(hDC, hWhiteBrush); - Rectangle(hDC,output_pos[4].x+108, io_pos[0].y+49+18,output_pos[4].x+120, io_pos[0].y+64+18); - - SetBkMode(hDC,TRANSPARENT); - TextOut(hDC,output_pos[13].x-60, input_pos[10].y,"Sample Interval",15); - TextOut(hDC,output_pos[13].x+80, input_pos[10].y,"Channel",7); - TextOut(hDC,input_pos[2].x-10, io_pos[15].y+118,"Range: +-5V",11); - TextOut(hDC,input_pos[15].x, io_pos[15].y-19,"Volts",5); - TextOut(hDC,input_pos[15].x, io_pos[15].y-5,"5.00",4); - TextOut(hDC,input_pos[15].x, io_pos[15].y+36,"2.50",4); - TextOut(hDC,input_pos[15].x, io_pos[15].y+77,"0.00",4); - TextOut(hDC,input_pos[15].x-3, io_pos[15].y+118,"-2.50",5); - TextOut(hDC,input_pos[15].x-3, io_pos[15].y+159,"-5.00",5); - TextOut(hDC,input_pos[10].x+10, io_pos[10].y-19,"Signals",7); - - TextOut(hDC,output_pos[4].x+58, io_pos[0].y-5+18,"0",1); - TextOut(hDC,output_pos[4].x+58, io_pos[0].y+13+18,"1",1); - TextOut(hDC,output_pos[4].x+58, io_pos[0].y+31+18,"2",1); - TextOut(hDC,output_pos[4].x+58, io_pos[0].y+49+18,"3",1); - TextOut(hDC,output_pos[4].x+98, io_pos[0].y-5+18,"4",1); - TextOut(hDC,output_pos[4].x+98, io_pos[0].y+13+18,"5",1); - TextOut(hDC,output_pos[4].x+98, io_pos[0].y+31+18,"6",1); - TextOut(hDC,output_pos[4].x+98, io_pos[0].y+49+18,"7",1); - - EndPaint(hWnd, &ps); - break; - - // Sample Rate Spin Control - case WM_VSCROLL: - switch(LOWORD(wParam)){ - case SB_LINEUP : - samp_intrv+=240; - if (samp_intrv > 24000 ) samp_intrv=24000; - break; - case SB_LINEDOWN: - samp_intrv-=240; - if (samp_intrv < 240 ) samp_intrv=240; - break; - } - wsprintf(n,"%d",samp_intrv); - SetWindowText(hEdit,n); - break; - - case WM_COMMAND: - switch(LOWORD(wParam)) { - case IDM_EXIT: - SendMessage(hWnd, WM_CLOSE, 0, 0L); - break; - - case IDC_SHOW : - DialogBox(hInst, - "DMABox", - hWnd, - ShowDMA); - break; - - case IDC_CHAN: - if (HIWORD(wParam) == CBN_CLOSEUP) { - if ((i=(int)SendMessage(GetDlgItem(hWnd,IDC_CHAN),CB_GETCURSEL, 0, 0L))>=0 ) { - channel=i; - } - } - break; - - case IDC_START: - EnableWindow (hData, FALSE); - if (hMem != NULL) - { - GlobalUnfix(hMem); - GlobalUnlock(hMem); - GlobalFree(hMem); - } - // allocate a memory for user DMA buffer - data_size = 4000; - data_size *= (channel+1); - mem_size=data_size*2; - hMem = GlobalAlloc(GMEM_ZEROINIT,mem_size); - ai_buf = GlobalLock(hMem); - if (ai_buf == NULL ) - { - MessageBox(hWnd,"INT", - "No Memory", MB_OK); - } - GlobalFix(hMem); - if(!ai_mode) - AI_9116_Config(card,0,P9116_AI_DMA,0,0,0); - else - AI_9116_Config(card,0,P9116_AI_INT,0,0,0); - AI_9116_CounterInterval (card, samp_intrv * (channel+1), samp_intrv); - err = AI_ContScanChannels (card, channel, range, ai_buf, data_size/(channel+1), (F32)1, ASYNCH_OP); - do { - AI_AsyncCheck(card, &bStopped, &count); - } while (!bStopped); - AI_AsyncClear(card, &count); - EnableWindow (hData, TRUE); - for (i=0;i<8;i++) oldinput[i]=-1; - hDC = GetDC(hWnd); - SelectObject(hDC, hBlackBrush); - Rectangle(hDC,output_pos[15].x+35,io_pos[0].y-3,output_pos[15].x+370,io_pos[0].y+175); - for (i=0;i= 0) Release_Card (card); - DeleteObject(hRedBrush); - DeleteObject(hGreenBrush); - DeleteObject(hLTGreenBrush); - DeleteObject(hYellowBrush); - DeleteObject(hBlueBrush) ; - DeleteObject(hBlackBrush); - DeleteObject(hRedPen); - DeleteObject(hYellowPen); - DeleteObject(hBluePen); - DeleteObject(hGreenPen); - DeleteObject(hLTBluePen); - DeleteObject(hLTRedPen); - DeleteObject(hLTGreenPen); - DeleteObject(hWhitePen); - GlobalUnfix(hMem); - GlobalUnlock(hMem); - GlobalFree(hMem); - PostQuitMessage(0); - break; - - default: - return(DefWindowProc(hWnd, message, wParam, lParam)); - } - return(NULL); -} - -BOOL PASCAL ShowDMA(hDlg, message, wParam, lParam) -HWND hDlg; -UINT message; -WPARAM wParam; -LPARAM lParam; -{ - int nTabs[2] = {32, 92}; - long i; - char cBuf[100] = "\t131072 \tFF"; - char string[10]=" "; - char data_str[3]=" "; - U16 *pp, ch_no; - switch (message) - { - case WM_INITDIALOG: - hListBox = CreateWindow("LISTBOX", "Memory Count Data",\ - WS_CHILD | WS_VISIBLE | LBS_HASSTRINGS\ - | LBS_STANDARD | LBS_USETABSTOPS |WS_CAPTION,\ - 50, 40, 240, 180, hDlg, 100, hInst, NULL); - - SendMessage(hListBox, LB_RESETCONTENT, 0, 0L); - SendMessage(hListBox, LB_SETTABSTOPS, 2, (DWORD)\ - (LPINT) nTabs); - pp=(U16 *) ai_buf; - for(i=0; i -#include -#include -#include -#include -#include -#include "dask.h" -#include "resource.h" - -#define IDM_EXIT 110 -#define IDM_SETUP 101 -#define IDC_SCROLL 207 -#define IDC_SPIN 301 -#define IDC_START 208 -#define IDC_STOP 209 -#define IDC_PAUSE 210 -#define IDC_EDIT 211 -#define IDC_GAIN 212 -#define IDC_DA 400 -#define TIMER1 1 -#define NONE 0 - -int PASCAL WinMain(HANDLE, HANDLE, LPSTR, int); -long PASCAL MainWndProc(HWND, UINT, WPARAM, LPARAM); - -HANDLE hInst; -HWND hAddrComboBox; -HWND hADComboBox1; -HWND hADComboBox2; -HWND hADComboBox3; -HWND hADComboBox4; -HWND hADComboBox5; -HWND hADComboBox6; -HWND hADScroll; -HWND hEdit; -HWND MainhWnd; - -I16 card=-1, card_number = 0; -U16 input[16], output=0; -I16 oldinput[16],analog_input[16],adinput[16],old_adinput1[16],old_adinput2[16]; -U8 input_lo=0, input_hi=0; - -LPSTR AD_Range[8]={"+/-5V","+/-2.5V","+/-1.25V","+/-0.625V","0-10V","0-5V","0-2.5V","0-1.25V"}; -I16 range_value[8] = {AD_B_5_V, AD_B_2_5_V, AD_B_1_25_V, AD_B_0_625_V, AD_U_10_V, AD_U_5_V, AD_U_2_5_V, AD_U_1_25_V}; - -HBRUSH hLTGreenBrush,hGreenBrush,hBlueBrush,hYellowBrush,hRedBrush,hBlackBrush,hWhiteBrush,hLTRedBrush,hLTBlueBrush; -HPEN hRedPen,hYellowPen,hGreenPen,hBluePen,hLTBluePen,hLTRedPen,hLTGreenPen,hWhitePen; - -I16 sample_rate=10, time_interval, range=AD_B_5_V; - -POINT input_pos[16]= {{470, 280}, {440, 280}, - {410, 280}, {380, 280}, - {350, 280}, {320, 280}, - { 290, 280}, {260, 280}, - {230, 280}, {200, 280}, - {170, 280}, {140, 280}, - {110, 280}, {80, 280}, - { 50, 280}, { 20, 280}, - }; -POINT output_pos[16] ={ - {470, 340}, {440, 340}, - {410, 340}, {380, 340}, - {350, 340}, {320, 340}, - { 290, 340}, {260, 340}, - {230, 340}, {200, 340}, - {170, 340}, {140, 340}, - {110, 340}, {80, 340}, - { 50, 340}, { 20, 340}, - }; - -POINT io_pos[16] ={ - {395, 40}, {370, 40}, - {345, 40}, {320, 40}, - {295, 40}, {270, 40}, - { 245, 40}, {220, 40}, - {195, 40}, {170, 40}, - {145, 40}, {120, 40}, - {95, 40}, {70, 40}, - { 45, 40}, { 20, 40}, - }; - -BOOL bCheck1[8],bCheck2[8],bStart=FALSE,bStop=FALSE,bPause=FALSE; -BOOL InitApplication(HANDLE); -BOOL InitInstance(HANDLE, int); - -int PASCAL WinMain(hInstance, hPrevInstance, lpCmdLine, nCmdShow) -HANDLE hInstance, hPrevInstance; -LPSTR lpCmdLine; -int nCmdShow; -{ - MSG msg; - - if (!hPrevInstance) - if (!InitApplication(hInstance)) return(FALSE); - if (!InitInstance(hInstance, nCmdShow)) return(FALSE); - while (GetMessage(&msg, NULL, NULL, NULL)) { - TranslateMessage(&msg); - DispatchMessage(&msg); - } - return(msg.wParam); -} - -BOOL InitApplication(hInstance) -HANDLE hInstance; -{ - WNDCLASS wc; - - /* Main Window Class */ - wc.style = NULL; - wc.lpfnWndProc = (WNDPROC)MainWndProc; - wc.cbClsExtra = 0; - wc.cbWndExtra = 0; - wc.hInstance = hInstance; - wc.hIcon = LoadIcon(hInstance, "MyIcon"); - wc.hCursor = LoadCursor(NULL, IDC_ARROW); - wc.hbrBackground = GetStockObject(LTGRAY_BRUSH); - wc.lpszMenuName = NULL; - wc.lpszClassName = "GenericWClass"; - if (!RegisterClass(&wc)) return(FALSE); -} - - -BOOL InitInstance(hInstance, nCmdShow) -HANDLE hInstance; -int nCmdShow; -{ - HWND hWnd; - HMENU hSampleMenu; - - hInst = hInstance; - hSampleMenu = LoadMenu(hInstance, "U7120Menu"); - hWnd = CreateWindow("GenericWClass", - (LPCSTR)"9116", - WS_OVERLAPPEDWINDOW, - CW_USEDEFAULT, - CW_USEDEFAULT, - 530, - 480, - NULL, - hSampleMenu, - hInstance, - NULL); - MainhWnd=hWnd; - if (!hWnd) return(FALSE); - ShowWindow(hWnd, nCmdShow); - UpdateWindow(hWnd); - return(TRUE); -} - -BOOL PASCAL setup(HWND hWnd, unsigned message, WPARAM wParam, LPARAM lParam) -{ - int i; - char n[16]; - char s[50]; - switch (message) { - case WM_INITDIALOG: - for (i=0;i<16;i++) { - wsprintf(n, "%d", i); - _strupr(n); - SendMessage(GetDlgItem(hWnd,IDC_COMBO1), CB_ADDSTRING, NULL, (LONG)(LPSTR) n); - } - SendMessage(GetDlgItem(hWnd,IDC_COMBO1) , CB_SETCURSEL, 0, 0L); - - break; - case WM_COMMAND: - switch(LOWORD(wParam)) { - - case IDC_COMBO1: - if (HIWORD(wParam) == CBN_CLOSEUP) { - i = (int)SendMessage(GetDlgItem(hWnd,IDC_COMBO1), CB_GETCURSEL, 0, 0L); - SendMessage(GetDlgItem(hWnd,IDC_COMBO1), CB_GETLBTEXT, i, (LPARAM)((LPCSTR)n)); - card_number = i; - } - return(TRUE); - case IDOK: - if ((card=Register_Card(PCI_9116, card_number)) < 0) { - wsprintf(s, "Register_Card Error = %d\n", card); - MessageBox(hWnd, s, "Error", MB_OK); - SendMessage(hWnd, WM_CLOSE, 0, 0L); - break; - } - EndDialog(hWnd, TRUE); - InvalidateRect(hWnd, NULL, FALSE); - return (TRUE); - case IDCANCEL: - EndDialog(hWnd, TRUE); - return (TRUE); - } - break; - } - return (FALSE); -} - -long PASCAL MainWndProc(hWnd, message, wParam, lParam) -HWND hWnd; -UINT message; -WPARAM wParam; -LPARAM lParam; -{ - HDC hDC; - PAINTSTRUCT ps; - int i, k, px, py, err; - char n[15], s[50]; - double Pi = 3.1415926535; - static U16 pos=0; - - switch(message) { - case WM_CREATE: - DialogBox(hInst,IDD_DIALOG2, hWnd, setup); - if(card<0) { - SendMessage(hWnd, WM_CLOSE, 0, 0L); - break; - } - for (i=0;i<8;i++) { - bCheck1[i]=FALSE; - bCheck2[i]=FALSE; - old_adinput1[i]=-1; - old_adinput2[i]=-1; - } - for (i=0 ;i <8; i++) { - input[i] = 0; - oldinput[i] = 0; - } - hAddrComboBox = CreateWindow("ComboBox", NULL, - CBS_DROPDOWNLIST | WS_CHILD | WS_VISIBLE | WS_VSCROLL, - output_pos[4].x+90, io_pos[0].y+70, 85, 120, hWnd, IDC_GAIN, hInst, NULL); - for (i=0;i<8;i++) { - SendMessage(hAddrComboBox, CB_ADDSTRING, NULL, (LONG)AD_Range[i]); - } - SendMessage(hAddrComboBox ,CB_SETCURSEL, 0, 0L); - - CreateWindow("BUTTON","Start" , - WS_CHILD | WS_VISIBLE , - output_pos[10].x+110, output_pos[10].y+50,50, 30, hWnd, IDC_START, hInst, NULL); - - CreateWindow("BUTTON","Stop" , - WS_CHILD | WS_VISIBLE , - output_pos[10].x+170, output_pos[10].y+50,50, 30, hWnd, IDC_STOP, hInst, NULL); - - CreateWindow("BUTTON","Pause" , - WS_CHILD | WS_VISIBLE , - output_pos[10].x+230, output_pos[10].y+50,50, 30, hWnd, IDC_PAUSE, hInst, NULL); - - - CreateWindow("BUTTON","0" , - WS_CHILD | WS_VISIBLE | BS_RADIOBUTTON | BS_LEFTTEXT , - output_pos[4].x+50, io_pos[0].y-5,25,15, hWnd,IDC_DA, hInst, NULL); - - CreateWindow("BUTTON","1" , - WS_CHILD | WS_VISIBLE | BS_RADIOBUTTON | BS_LEFTTEXT, - output_pos[4].x+50, io_pos[0].y+13,25,15, hWnd,IDC_DA+1, hInst, NULL); - - CreateWindow("BUTTON","2" , - WS_CHILD | WS_VISIBLE | BS_RADIOBUTTON | BS_LEFTTEXT, - output_pos[4].x+50, io_pos[0].y+31,25,15, hWnd,IDC_DA+2, hInst, NULL); - - CreateWindow("BUTTON","3" , - WS_CHILD | WS_VISIBLE | BS_RADIOBUTTON | BS_LEFTTEXT, - output_pos[4].x+50, io_pos[0].y+49,25,15, hWnd,IDC_DA+3, hInst, NULL); - - CreateWindow("BUTTON","4" , - WS_CHILD | WS_VISIBLE | BS_RADIOBUTTON | BS_LEFTTEXT, - output_pos[4].x+100, io_pos[0].y-5,25,15, hWnd,IDC_DA+4, hInst, NULL); - - CreateWindow("BUTTON","5" , - WS_CHILD | WS_VISIBLE | BS_RADIOBUTTON | BS_LEFTTEXT, - output_pos[4].x+100, io_pos[0].y+13,25,15, hWnd, IDC_DA+5, hInst, NULL); - - CreateWindow("BUTTON","6" , - WS_CHILD | WS_VISIBLE | BS_RADIOBUTTON | BS_LEFTTEXT, - output_pos[4].x+100, io_pos[0].y+31,25,15, hWnd,IDC_DA+6, hInst, NULL); - - CreateWindow("BUTTON","7" , - WS_CHILD | WS_VISIBLE | BS_RADIOBUTTON | BS_LEFTTEXT, - output_pos[4].x+100, io_pos[0].y+49,25,15, hWnd, IDC_DA+7, hInst, NULL); - - CreateWindow("BUTTON","0" , - WS_CHILD | WS_VISIBLE | BS_RADIOBUTTON | BS_LEFTTEXT, - output_pos[4].x+50, io_pos[0].y+97,25,15, hWnd, IDC_DA+8, hInst, NULL); - - CreateWindow("BUTTON","1" , - WS_CHILD | WS_VISIBLE | BS_RADIOBUTTON | BS_LEFTTEXT, - output_pos[4].x+50, io_pos[0].y+115,25,15, hWnd, IDC_DA+9, hInst, NULL); - - CreateWindow("BUTTON","2" , - WS_CHILD | WS_VISIBLE | BS_RADIOBUTTON | BS_LEFTTEXT, - output_pos[4].x+50, io_pos[0].y+133,25,15, hWnd, IDC_DA+10, hInst, NULL); - - CreateWindow("BUTTON","3" , - WS_CHILD | WS_VISIBLE | BS_RADIOBUTTON | BS_LEFTTEXT, - output_pos[4].x+50, io_pos[0].y+151,25,15, hWnd, IDC_DA+11, hInst, NULL); - - CreateWindow("BUTTON","4" , - WS_CHILD | WS_VISIBLE | BS_RADIOBUTTON | BS_LEFTTEXT, - output_pos[4].x+100, io_pos[0].y+97,25,15, hWnd, IDC_DA+12, hInst, NULL); - - CreateWindow("BUTTON","5" , - WS_CHILD | WS_VISIBLE | BS_RADIOBUTTON | BS_LEFTTEXT, - output_pos[4].x+100, io_pos[0].y+115,25,15, hWnd, IDC_DA+13, hInst, NULL); - - CreateWindow("BUTTON","6" , - WS_CHILD | WS_VISIBLE | BS_RADIOBUTTON | BS_LEFTTEXT, - output_pos[4].x+100, io_pos[0].y+133,25,15, hWnd, IDC_DA+14, hInst, NULL); - - CreateWindow("BUTTON","7" , - WS_CHILD | WS_VISIBLE | BS_RADIOBUTTON | BS_LEFTTEXT, - output_pos[4].x+100, io_pos[0].y+151,25,15, hWnd, IDC_DA+15, hInst, NULL); - - hLTGreenBrush = CreateSolidBrush(RGB(0, 255, 0)); - hGreenBrush = CreateSolidBrush(RGB(0, 128, 0)); - hBlueBrush = CreateSolidBrush(RGB(0, 0, 255)); - hRedBrush = CreateSolidBrush(RGB(255, 0, 0)); - hYellowBrush= CreateSolidBrush(RGB(255,255,0)); - hBlackBrush= CreateSolidBrush(RGB(0,0,0)); - hLTBlueBrush= CreateSolidBrush(RGB(0,255,255)); - hLTRedBrush= CreateSolidBrush(RGB(255,128,0)); - hWhiteBrush= CreateSolidBrush(RGB(255,255,255)); - hRedPen= CreatePen(PS_SOLID,1,RGB(255,0,0)); - hYellowPen= CreatePen(PS_SOLID,1,RGB(255,255,0)); - hBluePen= CreatePen(PS_SOLID,1,RGB(0,0,255)); - hGreenPen= CreatePen(PS_SOLID,1,RGB(0,255,0)); - hLTBluePen= CreatePen(PS_SOLID,1,RGB(0,128,255)); - hLTRedPen= CreatePen(PS_SOLID,1,RGB(255,128,0)); - hLTGreenPen= CreatePen(PS_SOLID,1,RGB(0,128,0)); - hWhitePen= CreatePen(PS_SOLID,1,RGB(255,255,255)); - break; - - case WM_PAINT: - hDC = BeginPaint(hWnd, &ps); - - // Digital Input Box - SelectObject(hDC, hLTGreenBrush); - Rectangle(hDC, input_pos[15].x-10, input_pos[15].y-14, input_pos[0].x+26, input_pos[0].y+40); - SetTextColor(hDC,RGB(255,255,255)); - SetBkColor(hDC, RGB(0, 0, 255)); - TextOut(hDC, input_pos[15].x, input_pos[15].y-18, "Digital Input",13); - - // Digital Output Box - SelectObject(hDC, hGreenBrush); - Rectangle(hDC, output_pos[15].x-10, output_pos[15].y-14, output_pos[0].x+26, output_pos[0].y+40); - SetTextColor(hDC,RGB(255,0,0)); - SetBkColor(hDC, RGB(0, 0, 255)); - TextOut(hDC, output_pos[15].x, output_pos[15].y-20, "Digital Output", 14); - - // Analog Input Box - SelectObject(hDC, GetStockObject(GRAY_BRUSH)); - Rectangle(hDC, output_pos[15].x-10, io_pos[15].y-24, output_pos[0].x+26, io_pos[0].y+175); - SetTextColor(hDC,RGB(255,255,0)); - SetBkColor(hDC, RGB(0, 0, 255)); - TextOut(hDC, io_pos[15].x, io_pos[15].y-35, "Analog Input(A/D)", 17); - - SelectObject(hDC, hBlackBrush); - Rectangle(hDC, output_pos[15].x+35, io_pos[15].y-2, output_pos[4].x+41, io_pos[0].y+83); - Rectangle(hDC, output_pos[15].x+35, io_pos[15].y+87, output_pos[4].x+41, io_pos[0].y+172); - // Channel Label - SetTextColor(hDC,RGB(0,0,0)); - SetBkColor(hDC, RGB(0, 255, 0)); - TextOut(hDC, input_pos[15].x+243, input_pos[15].y+20, "7 0", 53); - SetBkColor(hDC, RGB(0, 128, 0)); - TextOut(hDC, output_pos[15].x+243, output_pos[15].y+20, "7 0", 53); - SetBkColor(hDC, RGB(0, 255, 0)); - - SelectObject(hDC,hYellowBrush ); - Rectangle(hDC,output_pos[4].x+78, io_pos[0].y-5,output_pos[4].x+90, io_pos[0].y+10); - Rectangle(hDC,output_pos[4].x+78, io_pos[0].y+97,output_pos[4].x+90, io_pos[0].y+112); - SelectObject(hDC, hGreenBrush); - Rectangle(hDC,output_pos[4].x+78, io_pos[0].y+13,output_pos[4].x+90, io_pos[0].y+28); - Rectangle(hDC,output_pos[4].x+78, io_pos[0].y+115,output_pos[4].x+90, io_pos[0].y+130); - SelectObject(hDC, hBlueBrush); - Rectangle(hDC,output_pos[4].x+78, io_pos[0].y+31,output_pos[4].x+90, io_pos[0].y+46); - Rectangle(hDC,output_pos[4].x+78, io_pos[0].y+133,output_pos[4].x+90, io_pos[0].y+148); - SelectObject(hDC, hRedBrush); - Rectangle(hDC,output_pos[4].x+78, io_pos[0].y+49,output_pos[4].x+90, io_pos[0].y+64); - Rectangle(hDC,output_pos[4].x+78, io_pos[0].y+151,output_pos[4].x+90, io_pos[0].y+166); - SelectObject(hDC, hLTBlueBrush); - Rectangle(hDC,output_pos[4].x+128, io_pos[0].y-5,output_pos[4].x+140, io_pos[0].y+10); - Rectangle(hDC,output_pos[4].x+128, io_pos[0].y+97,output_pos[4].x+140, io_pos[0].y+112); - SelectObject(hDC, hLTRedBrush); - Rectangle(hDC,output_pos[4].x+128, io_pos[0].y+13,output_pos[4].x+140, io_pos[0].y+28); - Rectangle(hDC,output_pos[4].x+128, io_pos[0].y+115,output_pos[4].x+140, io_pos[0].y+130); - SelectObject(hDC, hLTGreenBrush); - Rectangle(hDC,output_pos[4].x+128, io_pos[0].y+31,output_pos[4].x+140, io_pos[0].y+46); - Rectangle(hDC,output_pos[4].x+128, io_pos[0].y+133,output_pos[4].x+140, io_pos[0].y+148); - SelectObject(hDC, hWhiteBrush); - Rectangle(hDC,output_pos[4].x+128, io_pos[0].y+49,output_pos[4].x+140, io_pos[0].y+64); - Rectangle(hDC,output_pos[4].x+128, io_pos[0].y+151,output_pos[4].x+140, io_pos[0].y+166); - - TextOut(hDC,output_pos[13].x+90, output_pos[15].y+56," PCI-9116 ",9); - - SetBkMode(hDC,TRANSPARENT); - //TextOut(hDC,output_pos[8].x+20, io_pos[15].y+182,"0 1 2 3 4 5",31); - TextOut(hDC,output_pos[4].x+50, io_pos[0].y+67,"Input",5); - TextOut(hDC,output_pos[4].x+50, io_pos[0].y+80,"Range",5); - TextOut(hDC,input_pos[15].x, io_pos[15].y-19,"Volts",5); - switch (range) { - case AD_B_5_V: - TextOut(hDC,input_pos[15].x-5, io_pos[15].y-5,"5.00",4); - TextOut(hDC,input_pos[15].x-8, io_pos[15].y+67,"-5.00",5); - TextOut(hDC,input_pos[15].x-5, io_pos[15].y+87,"5.00",4); - TextOut(hDC,input_pos[15].x-8, io_pos[15].y+159,"-5.00",5); - break; - case AD_B_2_5_V: - TextOut(hDC,input_pos[15].x-5, io_pos[15].y-5,"2.50",4); - TextOut(hDC,input_pos[15].x-8, io_pos[15].y+67,"-2.50",5); - TextOut(hDC,input_pos[15].x-5, io_pos[15].y+87,"2.50",4); - TextOut(hDC,input_pos[15].x-8, io_pos[15].y+159,"-2.50",5); - break; - case AD_B_1_25_V: - TextOut(hDC,input_pos[15].x-5, io_pos[15].y-5,"1.25",4); - TextOut(hDC,input_pos[15].x-8, io_pos[15].y+67,"-1.25",5); - TextOut(hDC,input_pos[15].x-5, io_pos[15].y+87,"1.25",4); - TextOut(hDC,input_pos[15].x-8, io_pos[15].y+159,"-1.25",5); - break; - case AD_B_0_625_V: - TextOut(hDC,input_pos[15].x-5, io_pos[15].y-5,"0.625",5); - TextOut(hDC,input_pos[15].x-8, io_pos[15].y+67,"-0.625",6); - TextOut(hDC,input_pos[15].x-5, io_pos[15].y+87,"0.625",5); - TextOut(hDC,input_pos[15].x-8, io_pos[15].y+159,"-0.625",6); - break; - - case AD_U_10_V: - TextOut(hDC,input_pos[15].x-5, io_pos[15].y-5,"10.0",4); - TextOut(hDC,input_pos[15].x-5, io_pos[15].y+67," 0.0",4); - TextOut(hDC,input_pos[15].x-5, io_pos[15].y+87,"10.0",4); - TextOut(hDC,input_pos[15].x-5, io_pos[15].y+159," 0.0",4); - break; - case AD_U_5_V: - TextOut(hDC,input_pos[15].x-5, io_pos[15].y-5,"5.00",4); - TextOut(hDC,input_pos[15].x-5, io_pos[15].y+67,"0.00",4); - TextOut(hDC,input_pos[15].x-5, io_pos[15].y+87,"5.00",4); - TextOut(hDC,input_pos[15].x-5, io_pos[15].y+159,"0.00",4); - break; - case AD_U_2_5_V: - TextOut(hDC,input_pos[15].x-5, io_pos[15].y-5,"2.50",4); - TextOut(hDC,input_pos[15].x-5, io_pos[15].y+67,"0.00",4); - TextOut(hDC,input_pos[15].x-5, io_pos[15].y+87,"2.50",4); - TextOut(hDC,input_pos[15].x-5, io_pos[15].y+159,"0.00",4); - break; - case AD_U_1_25_V: - TextOut(hDC,input_pos[15].x-5, io_pos[15].y-5,"1.25",4); - TextOut(hDC,input_pos[15].x-5, io_pos[15].y+67,"0.00",4); - TextOut(hDC,input_pos[15].x-5, io_pos[15].y+87,"1.25",4); - TextOut(hDC,input_pos[15].x-5, io_pos[15].y+159,"0.00",4); - break; - } - - TextOut(hDC,input_pos[10].x, io_pos[10].y-19,"Signals",7); - TextOut(hDC,output_pos[4].x+50, io_pos[0].y-20,"Channel",7); - SetBkMode(hDC,OPAQUE); - - // Detect Channel Input - for (i=0; i<8; i++) { - if (input[i]) - SelectObject(hDC, hRedBrush); - else - SelectObject(hDC, GetStockObject(WHITE_BRUSH)); - Ellipse(hDC, input_pos[i].x, input_pos[i].y, input_pos[i].x+20, input_pos[i].y+20); - } - // Channel Output - for (i=0; i<8; i++) { - if ((output>>i)&0x01) - SelectObject(hDC, hRedBrush); - else - SelectObject(hDC, GetStockObject(WHITE_BRUSH)); - Ellipse(hDC, output_pos[i].x, output_pos[i].y, output_pos[i].x+20, output_pos[i].y+20); - } - - EndPaint(hWnd, &ps); - break; - - case WM_HSCROLL: - switch(LOWORD(wParam)) { - case SB_THUMBPOSITION : - pos=HIWORD(wParam); - break; - } - SetScrollPos(lParam,SB_CTL,pos,TRUE); - break; - - case WM_COMMAND: - switch(LOWORD(wParam)) { - case IDM_EXIT: - SendMessage(hWnd, WM_CLOSE, 0, 0L); - break; - case IDC_START: - time_interval=1000/sample_rate; - SetTimer(hWnd, TIMER1, time_interval, NULL); - srand((unsigned)time(NULL)); - bStop=FALSE; - bPause=FALSE; - bStart=TRUE; - break; - case IDC_STOP: - KillTimer(hWnd, TIMER1); - bStop=TRUE; - bPause=FALSE; - bStart=FALSE; - hDC = GetDC(hWnd); - SelectObject(hDC, hBlackBrush); - Rectangle(hDC, output_pos[15].x+35, io_pos[15].y-2, output_pos[4].x+41, io_pos[0].y+83); - Rectangle(hDC, output_pos[15].x+35, io_pos[15].y+87, output_pos[4].x+41, io_pos[0].y+172); - ReleaseDC(hWnd, hDC); - break; - case IDC_PAUSE: - KillTimer(hWnd, TIMER1); - bStop=FALSE; - bPause=TRUE; - bStart=FALSE; - break; - case IDC_DA: - case IDC_DA+1: - case IDC_DA+2: - case IDC_DA+3: - case IDC_DA+4: - case IDC_DA+5: - case IDC_DA+6: - case IDC_DA+7: - k=LOWORD(wParam)-IDC_DA; - if (bCheck1[k]) { - SendMessage(GetDlgItem(hWnd,wParam), BM_SETCHECK, 0, 0); - bCheck1[k]=FALSE; - } - else { - SendMessage(GetDlgItem(hWnd,wParam), BM_SETCHECK, 1, 0); - bCheck1[k]=TRUE; - } - break; - case IDC_DA+8: - case IDC_DA+9: - case IDC_DA+10: - case IDC_DA+11: - case IDC_DA+12: - case IDC_DA+13: - case IDC_DA+14: - case IDC_DA+15: - k=LOWORD(wParam)-IDC_DA-8; - if (bCheck2[k]) { - SendMessage(GetDlgItem(hWnd,wParam), BM_SETCHECK, 0, 0); - bCheck2[k]=FALSE; - } - else { - SendMessage(GetDlgItem(hWnd,wParam), BM_SETCHECK, 1, 0); - bCheck2[k]=TRUE; - } - break; - case IDC_GAIN: - if (HIWORD(wParam) == CBN_CLOSEUP) { - if ((i=(int)SendMessage(GetDlgItem(hWnd,IDC_GAIN),CB_GETCURSEL, 0, 0L))>=0 ) { - SendMessage(GetDlgItem(hWnd,IDC_GAIN), CB_GETLBTEXT, i, (LPARAM)((LPCSTR)n)); - range = range_value[i]; - InvalidateRect(hWnd, NULL, FALSE); - } - } - break; - default: - return(DefWindowProc(hWnd, message, wParam, lParam)); - } - break; - case WM_TIMER: - if (card >= 0) { - hDC = GetDC(hWnd); - for (i=0; i<8; i++) { - DI_ReadLine (card, 0, i, &input[i]); - if ((input[i] & 0x01 ) != ((oldinput[i])&0x01)) { - if (input[i] & 0x01) - SelectObject(hDC, hRedBrush); - else - SelectObject(hDC, GetStockObject(WHITE_BRUSH)); - Ellipse(hDC, input_pos[i].x, input_pos[i].y, input_pos[i].x+20, input_pos[i].y+20); - oldinput[i]=input[i]; - } - } - /* Analog Input */ - BitBlt(hDC,output_pos[15].x+39,io_pos[15].y-2,331,85,hDC,output_pos[15].x+35,io_pos[15].y-2,SRCCOPY); - for (i=0;i<8;i++ ) { - if (bCheck1[i]) { - if(range < 14) - AI_9116_Config(card,P9116_AI_BiPolar,P9116_AI_SoftPolling,0,0,0); - else - AI_9116_Config(card,P9116_AI_UniPolar,P9116_AI_SoftPolling,0,0,0); - err = AI_ReadChannel(card, i, range, &analog_input[i]); - /*if(err != NoError) { - wsprintf(s, "AI_ReadChannel Error = %d\n", err); - MessageBox(hWnd, s, "Error", MB_OK); - }*/ - switch(i) { - case 0: - SelectObject(hDC, hYellowPen); - break; - case 1: - SelectObject(hDC, hGreenPen); - break; - case 2: - SelectObject(hDC, hBluePen); - break; - case 3: - SelectObject(hDC, hRedPen); - break; - case 4: - SelectObject(hDC, hLTBluePen); - break; - case 5: - SelectObject(hDC, hLTRedPen); - break; - case 6: - SelectObject(hDC, hLTGreenPen); - break; - case 7: - SelectObject(hDC, hWhitePen); - break; - } - //analog_input[i] = (analog_input[i] >> 4) & 0x0fff; - //adinput[i]=io_pos[0].y+83-(85*(unsigned long)analog_input[i])/4095; - adinput[i]=io_pos[0].y+42-(43*(long)analog_input[i])/32767; - if (old_adinput1[i]!=-1 ) { - MoveToEx(hDC,output_pos[15].x+39,adinput[i],NULL ); - LineTo(hDC,output_pos[15].x+43,old_adinput1[i]); - } - old_adinput1[i]=adinput[i]; - } - } - BitBlt(hDC,output_pos[15].x+39,io_pos[15].y+87,331,85,hDC,output_pos[15].x+35,io_pos[15].y+87,SRCCOPY); - for (i=0;i<8;i++ ) { - if (bCheck2[i]) { - AI_ReadChannel(card, i+8, range, &analog_input[i+8]); - - switch(i) { - case 0: - SelectObject(hDC, hYellowPen); - break; - case 1: - SelectObject(hDC, hGreenPen); - break; - case 2: - SelectObject(hDC, hBluePen); - break; - case 3: - SelectObject(hDC, hRedPen); - break; - case 4: - SelectObject(hDC, hLTBluePen); - break; - case 5: - SelectObject(hDC, hLTRedPen); - break; - case 6: - SelectObject(hDC, hLTGreenPen); - break; - case 7: - SelectObject(hDC, hWhitePen); - break; - } - //analog_input[i+8] = (analog_input[i+8]>>4) & 0x0fff; - //adinput[i+8]=io_pos[0].y+172-(85*(unsigned long)analog_input[i+8])/4095; - adinput[i+8]=io_pos[0].y+42-(43*(long)analog_input[i+8])/32767; - if (old_adinput2[i]!=-1 ) { - MoveToEx(hDC,output_pos[15].x+39,adinput[i+8],NULL); - LineTo(hDC,output_pos[15].x+43,old_adinput2[i]); - } - old_adinput2[i]=adinput[i+8]; - } - } - ReleaseDC(hWnd, hDC); - } - break; - case WM_DESTROY: - if (card >= 0) Release_Card(card); - DeleteObject(hRedBrush); - DeleteObject(hGreenBrush); - DeleteObject(hLTGreenBrush); - DeleteObject(hYellowBrush); - DeleteObject(hBlueBrush) ; - DeleteObject(hBlackBrush); - DeleteObject(hRedPen); - DeleteObject(hYellowPen); - DeleteObject(hBluePen); - DeleteObject(hGreenPen); - DeleteObject(hLTBluePen); - DeleteObject(hLTRedPen); - DeleteObject(hLTGreenPen); - DeleteObject(hWhitePen); - PostQuitMessage(0); - break; - case WM_LBUTTONDOWN: - if (card >= 0) { - px = LOWORD(lParam); - py = HIWORD(lParam); - for (i=0; i<8; i++) { - if (px>output_pos[i].x && pxoutput_pos[i].y && py>i)&0x01) { - output -= (((unsigned int)1)< -# Microsoft Developer Studio Generated Build File, Format Version 5.00 -# ** DO NOT EDIT ** - -# TARGTYPE "Win32 (x86) Application" 0x0101 - -CFG=9116ATrg - Win32 Release -!MESSAGE This is not a valid makefile. To build this project using NMAKE, -!MESSAGE use the Export Makefile command and run -!MESSAGE -!MESSAGE NMAKE /f "9116ATrg.mak". -!MESSAGE -!MESSAGE You can specify a configuration when running NMAKE -!MESSAGE by defining the macro CFG on the command line. For example: -!MESSAGE -!MESSAGE NMAKE /f "9116ATrg.mak" CFG="9116ATrg - Win32 Release" -!MESSAGE -!MESSAGE Possible choices for configuration are: -!MESSAGE -!MESSAGE "9116ATrg - Win32 Release" (based on "Win32 (x86) Application") -!MESSAGE "9116ATrg - Win32 Debug" (based on "Win32 (x86) Application") -!MESSAGE - -# Begin Project -# PROP Scc_ProjName "" -# PROP Scc_LocalPath "" -CPP=cl.exe -MTL=midl.exe -RSC=rc.exe - -!IF "$(CFG)" == "9116ATrg - Win32 Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir ".\Release" -# PROP BASE Intermediate_Dir ".\Release" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "" -# PROP Intermediate_Dir ".\Release" -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /YX /c -# ADD CPP /nologo /MT /W3 /GX /Od /I "..\..\..\include" /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /FD /c -# SUBTRACT CPP /YX -# ADD BASE MTL /nologo /D "NDEBUG" /win32 -# ADD MTL /nologo /D "NDEBUG" /mktyplib203 /win32 -# ADD BASE RSC /l 0x409 /d "NDEBUG" -# ADD RSC /l 0x409 /d "NDEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:windows /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ..\..\..\lib\pci-dask.lib /nologo /subsystem:windows /machine:I386 - -!ELSEIF "$(CFG)" == "9116ATrg - Win32 Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir ".\Debug" -# PROP BASE Intermediate_Dir ".\Debug" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir ".\Debug" -# PROP Intermediate_Dir ".\Debug" -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /Gm /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /YX /c -# ADD CPP /nologo /MTd /W3 /Gm /GX /Zi /Od /I "..\..\..\include" /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /FD /c -# SUBTRACT CPP /YX -# ADD BASE MTL /nologo /D "_DEBUG" /win32 -# ADD MTL /nologo /D "_DEBUG" /mktyplib203 /win32 -# ADD BASE RSC /l 0x409 /d "_DEBUG" -# ADD RSC /l 0x409 /d "_DEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:windows /debug /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ..\..\..\lib\pci-dask.lib /nologo /subsystem:windows /debug /machine:I386 - -!ENDIF - -# Begin Target - -# Name "9116ATrg - Win32 Release" -# Name "9116ATrg - Win32 Debug" -# Begin Group "Source Files" - -# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;hpj;bat;for;f90" -# Begin Source File - -SOURCE=.\9116Atrg.c -# End Source File -# Begin Source File - -SOURCE=.\9116ATrg.rc -# End Source File -# End Group -# Begin Group "Header Files" - -# PROP Default_Filter "h;hpp;hxx;hm;inl;fi;fd" -# End Group -# Begin Group "Resource Files" - -# PROP Default_Filter "ico;cur;bmp;dlg;rc2;rct;bin;cnt;rtf;gif;jpg;jpeg;jpe" -# End Group -# End Target -# End Project diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9116/Sdk9116DbfCallBack/9116ATrg.dsw b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9116/Sdk9116DbfCallBack/9116ATrg.dsw deleted file mode 100644 index d2a2ff5..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9116/Sdk9116DbfCallBack/9116ATrg.dsw +++ /dev/null @@ -1,29 +0,0 @@ -Microsoft Developer Studio Workspace File, Format Version 5.00 -# WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE! - -############################################################################### - -Project: "9116ATrg"=.\9116ATrg.dsp - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ -}}} - -############################################################################### - -Global: - -Package=<5> -{{{ -}}} - -Package=<3> -{{{ -}}} - -############################################################################### - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9116/Sdk9116DbfCallBack/9116ATrg.exe b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9116/Sdk9116DbfCallBack/9116ATrg.exe deleted file mode 100644 index 7e0d4af..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9116/Sdk9116DbfCallBack/9116ATrg.exe and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9116/Sdk9116DbfCallBack/9116ATrg.rc b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9116/Sdk9116DbfCallBack/9116ATrg.rc deleted file mode 100644 index 8e1e2d3..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9116/Sdk9116DbfCallBack/9116ATrg.rc +++ /dev/null @@ -1,128 +0,0 @@ -//Microsoft Developer Studio generated resource script. -// -#include "resource.h" - -#define APSTUDIO_READONLY_SYMBOLS -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 2 resource. -// -#define APSTUDIO_HIDDEN_SYMBOLS -#include "windows.h" -#undef APSTUDIO_HIDDEN_SYMBOLS - -///////////////////////////////////////////////////////////////////////////// -#undef APSTUDIO_READONLY_SYMBOLS - -///////////////////////////////////////////////////////////////////////////// -// English (U.S.) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -#ifdef _WIN32 -LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US -#pragma code_page(1252) -#endif //_WIN32 - -///////////////////////////////////////////////////////////////////////////// -// -// Menu -// - -U7120MENU MENU DISCARDABLE -BEGIN - MENUITEM "E&xit!", IDM_EXIT -END - - -#ifdef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// TEXTINCLUDE -// - -1 TEXTINCLUDE DISCARDABLE -BEGIN - "resource.h\0" -END - -2 TEXTINCLUDE DISCARDABLE -BEGIN - "#define APSTUDIO_HIDDEN_SYMBOLS\r\n" - "#include ""windows.h""\r\n" - "#undef APSTUDIO_HIDDEN_SYMBOLS\r\n" - "\0" -END - -3 TEXTINCLUDE DISCARDABLE -BEGIN - "\r\n" - "\0" -END - -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog -// - -DMABOX DIALOG DISCARDABLE 18, 10, 171, 169 -STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "Data Value (half of circular buffer)" -FONT 8, "System" -BEGIN - PUSHBUTTON "STOP",ID_STOP,82,147,24,14 - LTEXT "Data Transferred :",-1,39,119,64,8 - LTEXT "Text",DMA_SPACE,103,118,41,8 - LTEXT "Text",DMA_DESCP,16,6,158,8 -END - -IDD_DIALOG2 DIALOG DISCARDABLE 110, 10, 110, 87 -STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "Card Number" -FONT 10, "System" -BEGIN - DEFPUSHBUTTON "OK",IDOK,9,66,39,14 - PUSHBUTTON "Cancel",IDCANCEL,56,66,38,14 - COMBOBOX IDC_COMBO1,52,23,51,45,CBS_DROPDOWN | WS_VSCROLL | - WS_TABSTOP - LTEXT "Card Number",IDC_STATIC,3,24,46,13 - LTEXT "Select a card number :",IDC_STATIC,3,6,100,11 - CONTROL "About Trigger Enabled",IDC_CHECK1,"Button", - BS_AUTOCHECKBOX | WS_TABSTOP,3,42,93,13 -END - - -///////////////////////////////////////////////////////////////////////////// -// -// DESIGNINFO -// - -#ifdef APSTUDIO_INVOKED -GUIDELINES DESIGNINFO DISCARDABLE -BEGIN - IDD_DIALOG2, DIALOG - BEGIN - LEFTMARGIN, 3 - RIGHTMARGIN, 103 - BOTTOMMARGIN, 80 - END -END -#endif // APSTUDIO_INVOKED - -#endif // English (U.S.) resources -///////////////////////////////////////////////////////////////////////////// - - - -#ifndef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 3 resource. -// - - -///////////////////////////////////////////////////////////////////////////// -#endif // not APSTUDIO_INVOKED - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9116/Sdk9116DbfCallBack/9116Atrg.c b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9116/Sdk9116DbfCallBack/9116Atrg.c deleted file mode 100644 index 2aad0bb..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9116/Sdk9116DbfCallBack/9116Atrg.c +++ /dev/null @@ -1,566 +0,0 @@ -#include "windows.h" -#include -#include -#include -#include -#include -#include "resource.h" -#include "Dask.h" - -#define IDM_EXIT 110 -#define IDC_SCROLL 207 -#define IDC_SPIN 301 -#define IDC_START 208 -#define IDC_STOP 209 -#define IDC_EDIT 211 -#define IDC_EDIT1 214 -#define IDC_EDIT2 215 -#define IDC_SHOW 213 -#define IDC_CH 400 - -int PASCAL WinMain(HANDLE, HANDLE, LPSTR, int); -long PASCAL MainWndProc(HWND, UINT, WPARAM, LPARAM); -BOOL PASCAL ShowDMA(HWND, UINT, WPARAM, LPARAM); - - -HANDLE hInst; -HWND hListBox; -HWND hEdit,hEdit1, hEdit2, hStart, hStop; -BOOL bCheck[8]; -U16 midcheck =0; - -HBRUSH hBlackBrush; -HPEN hRedPen, hBlackPen; -HWND hMainWnd; -long samp_intrv=240; -unsigned int sample_rate=10000; -U16 channel=0, range = AD_B_5_V; -BOOLEAN fstop, HalfReady; -U32 data_size=1024, mem_size; -static HANDLE hMem=NULL; -U16 *ai_buf; -I16 card=-1, card_number = 0; -U32 count, postCount = 1024; -BOOLEAN clear_op; -HANDLE hThread1; - -POINT input_pos[16]= {{470, 280}, {440, 280}, - {410, 280}, {380, 280}, - {350, 280}, {320, 280}, - { 290, 280}, {260, 280}, - {230, 280}, {200, 280}, - {170, 280}, {140, 280}, - {110, 280}, {80, 280}, - { 50, 280}, { 20, 280}, - }; -POINT output_pos[16] ={ - {470, 340}, {440, 340}, - {410, 340}, {380, 340}, - {350, 340}, {320, 340}, - { 290, 340}, {260, 340}, - {230, 340}, {200, 340}, - {170, 340}, {140, 340}, - {110, 340}, {80, 340}, - { 50, 340}, { 20, 340}, - }; - -POINT io_pos[16] ={ - {395, 40}, {370, 40}, - {345, 40}, {320, 40}, - {295, 40}, {270, 40}, - { 245, 40}, {220, 40}, - {195, 40}, {170, 40}, - {145, 40}, {120, 40}, - {95, 40}, {70, 40}, - { 45, 40}, { 20, 40}, - }; - -BOOL InitApplication(HANDLE); -BOOL InitInstance(HANDLE, int); -//void ProcessThread(void* pArg); -void AI_DBCallBack(); -void AI_CallBack(); - -int PASCAL WinMain(hInstance, hPrevInstance, lpCmdLine, nCmdShow) -HANDLE hInstance, hPrevInstance; -LPSTR lpCmdLine; -int nCmdShow; -{ - MSG msg; - - if (!hPrevInstance) - if (!InitApplication(hInstance)) return(FALSE); - if (!InitInstance(hInstance, nCmdShow)) return(FALSE); - while (GetMessage(&msg, NULL, NULL, NULL)) { - TranslateMessage(&msg); - DispatchMessage(&msg); - } - return(msg.wParam); -} - -BOOL InitApplication(hInstance) -HANDLE hInstance; -{ - WNDCLASS wc; - - /* Main Window Class */ - wc.style = NULL; - wc.lpfnWndProc = (WNDPROC)MainWndProc; - wc.cbClsExtra = 0; - wc.cbWndExtra = 0; - wc.hInstance = hInstance; - wc.hIcon = LoadIcon(hInstance, "MyIcon"); - wc.hCursor = LoadCursor(NULL, IDC_ARROW); - wc.hbrBackground = GetStockObject(LTGRAY_BRUSH); - wc.lpszMenuName = NULL; - wc.lpszClassName = "GenericWClass"; - if (!RegisterClass(&wc)) return(FALSE); -} - - -BOOL InitInstance(hInstance, nCmdShow) -HANDLE hInstance; -int nCmdShow; -{ - HWND hWnd; - HMENU hSampleMenu; - - hInst = hInstance; - hSampleMenu = LoadMenu(hInstance, "U7120Menu"); - hWnd = CreateWindow("GenericWClass", - (LPCSTR)"PCI-9116 Double Buffered DMA with About Trigger Mode", - WS_OVERLAPPEDWINDOW, - CW_USEDEFAULT, - CW_USEDEFAULT, - 520, - 400, - NULL, - hSampleMenu, - hInstance, - NULL); - if (!hWnd) return(FALSE); - ShowWindow(hWnd, nCmdShow); - UpdateWindow(hWnd); - return(TRUE); -} - -BOOL PASCAL setup(HWND hWnd, unsigned message, WPARAM wParam, LPARAM lParam) -{ - int i; - char n[16]; - char s[50]; - switch (message) { - case WM_INITDIALOG: - for (i=0;i<16;i++) { - sprintf(n, "%d", i); - _strupr(n); - SendMessage(GetDlgItem(hWnd,IDC_COMBO1), CB_ADDSTRING, NULL, (LONG)(LPSTR) n); - } - SendMessage(GetDlgItem(hWnd,IDC_COMBO1) , CB_SETCURSEL, 0, 0L); - - break; - case WM_COMMAND: - switch(LOWORD(wParam)) { - - case IDC_COMBO1: - if (HIWORD(wParam) == CBN_CLOSEUP) { - i = (int)SendMessage(GetDlgItem(hWnd,IDC_COMBO1), CB_GETCURSEL, 0, 0L); - SendMessage(GetDlgItem(hWnd,IDC_COMBO1), CB_GETLBTEXT, i, (LPARAM)((LPCSTR)n)); - card_number = i; - } - return(TRUE); - case IDC_CHECK1: - if (midcheck) { - SendMessage(GetDlgItem(hWnd,wParam), BM_SETCHECK, 0, 0); - midcheck=FALSE; - } - else { - SendMessage(GetDlgItem(hWnd,wParam), BM_SETCHECK, 1, 0); - midcheck=TRUE; - } - break; - case IDOK: - if(card <0) { - if ((card=Register_Card(PCI_9116, card_number)) < 0) { - wsprintf(s, "Register_Card Error = %d\n", card); - MessageBox(hWnd, s, "Error", MB_OK); - SendMessage(hWnd, WM_CLOSE, 0, 0L); - break; - } - } - EndDialog(hWnd, TRUE); - InvalidateRect(hWnd, NULL, FALSE); - return (TRUE); - case IDCANCEL: - EndDialog(hWnd, TRUE); - return (TRUE); - } - break; - } - return (FALSE); -} - -long PASCAL MainWndProc(hWnd, message, wParam, lParam) -HWND hWnd; -UINT message; -WPARAM wParam; -LPARAM lParam; -{ - HDC hDC; - PAINTSTRUCT ps; - int i; - char n[6]; - static int pos=0; - I16 err; - char s[50]; - - switch(message) { - case WM_CREATE: - - DialogBox(hInst,IDD_DIALOG2, hWnd, setup); - if(card<0) { - SendMessage(hWnd, WM_CLOSE, 0, 0L); - break; - } - hEdit=CreateWindow("EDIT", NULL, - WS_CHILD | WS_VISIBLE | ES_LEFT, - output_pos[13].x-30, input_pos[15].y+20,40, 20, hWnd, IDC_EDIT, hInst, NULL); - - hEdit1=CreateWindow("EDIT", NULL, - WS_CHILD | WS_VISIBLE | ES_LEFT, - output_pos[13].x+90, input_pos[15].y+20,60, 20, hWnd, IDC_EDIT1, hInst, NULL); - - if (midcheck) { - hEdit2=CreateWindow("EDIT", NULL, - WS_CHILD | WS_VISIBLE | ES_LEFT, - output_pos[13].x+90, input_pos[15].y-20,60, 20, hWnd, IDC_EDIT2, hInst, NULL); - } - wsprintf(n,"%d",sample_rate/1000); - SetWindowText(hEdit,n); - - wsprintf(n,"%d",data_size); - SetWindowText(hEdit1,n); - - if (midcheck) { - wsprintf(n,"%d",postCount); - SetWindowText(hEdit2,n); - } - - CreateWindow("SCROLLBAR", NULL, - WS_CHILD | WS_VISIBLE | SBS_VERT, - output_pos[13].x+10, input_pos[15].y+20,20, 20, hWnd, IDC_SCROLL, hInst, NULL); - - hStart = CreateWindow("BUTTON","Start" , - WS_CHILD | WS_VISIBLE , - output_pos[10].x+110, input_pos[10].y+10,50, 30, hWnd, IDC_START, hInst, NULL); - - hStop = CreateWindow("BUTTON","Stop" , - WS_CHILD | WS_VISIBLE , - output_pos[10].x+170, input_pos[10].y+10,50, 30, hWnd, IDC_STOP, hInst, NULL); - - CreateWindow("BUTTON","Data Value" , - WS_CHILD | WS_VISIBLE , - output_pos[10].x+230, input_pos[10].y+10,80, 30, hWnd, IDC_SHOW, hInst, NULL); - EnableWindow(hStop, FALSE); - - CreateWindow("BUTTON","0" , - WS_CHILD | WS_VISIBLE | BS_AUTORADIOBUTTON | BS_LEFTTEXT | WS_GROUP , - output_pos[4].x+50, io_pos[0].y-5+20,25,15, hWnd,IDC_CH, hInst, NULL); - - CreateWindow("BUTTON","1" , - WS_CHILD | WS_VISIBLE | BS_AUTORADIOBUTTON | BS_LEFTTEXT | WS_GROUP, - output_pos[4].x+50, io_pos[0].y+13+20,25,15, hWnd,IDC_CH+1, hInst, NULL); - - CreateWindow("BUTTON","2" , - WS_CHILD | WS_VISIBLE | BS_AUTORADIOBUTTON | BS_LEFTTEXT | WS_GROUP, - output_pos[4].x+50, io_pos[0].y+31+20,25,15, hWnd,IDC_CH+2, hInst, NULL); - - CreateWindow("BUTTON","3" , - WS_CHILD | WS_VISIBLE | BS_AUTORADIOBUTTON | BS_LEFTTEXT | WS_GROUP, - output_pos[4].x+50, io_pos[0].y+49+20,25,15, hWnd,IDC_CH+3, hInst, NULL); - - CreateWindow("BUTTON","4" , - WS_CHILD | WS_VISIBLE | BS_AUTORADIOBUTTON | BS_LEFTTEXT | WS_GROUP, - output_pos[4].x+100, io_pos[0].y-5+20,25,15, hWnd,IDC_CH+4, hInst, NULL); - - CreateWindow("BUTTON","5" , - WS_CHILD | WS_VISIBLE | BS_AUTORADIOBUTTON | BS_LEFTTEXT | WS_GROUP, - output_pos[4].x+100, io_pos[0].y+13+20,25,15, hWnd, IDC_CH+5, hInst, NULL); - - CreateWindow("BUTTON","6" , - WS_CHILD | WS_VISIBLE | BS_AUTORADIOBUTTON | BS_LEFTTEXT | WS_GROUP, - output_pos[4].x+100, io_pos[0].y+31+20,25,15, hWnd,IDC_CH+6, hInst, NULL); - - CreateWindow("BUTTON","7" , - WS_CHILD | WS_VISIBLE | BS_AUTORADIOBUTTON | BS_LEFTTEXT | WS_GROUP, - output_pos[4].x+100, io_pos[0].y+49+20,25,15, hWnd, IDC_CH+7, hInst, NULL); - - //default channel 0 - for (i=1;i<8;i++) bCheck[i]=FALSE; - bCheck[0] = TRUE; - channel = 0; - SendMessage(GetDlgItem(hWnd,IDC_CH), BM_SETCHECK, 1, 0); - - hBlackBrush= CreateSolidBrush(RGB(0,0,0)); - hRedPen= CreatePen(PS_SOLID,1,RGB(255,0,0)); - hBlackPen= CreatePen(PS_SOLID,1,RGB(0,0,0)); - break; - - case WM_PAINT: - hDC = BeginPaint(hWnd, &ps); - - // DMA analog input box - SelectObject(hDC, GetStockObject(GRAY_BRUSH)); - Rectangle(hDC, output_pos[15].x-10, io_pos[15].y-24, output_pos[0].x+26, io_pos[0].y+195); - SetTextColor(hDC,RGB(255,255,0)); - SetBkColor(hDC, RGB(0, 0, 255)); - TextOut(hDC, io_pos[15].x, io_pos[15].y-35, "DMA Input", 9); - SelectObject(hDC, hBlackBrush); - Rectangle(hDC, output_pos[15].x+35, io_pos[15].y-2, output_pos[4].x+41, io_pos[0].y+172); - - SetBkMode(hDC,TRANSPARENT); - if(midcheck) - TextOut(hDC,output_pos[13].x+70, input_pos[10].y-40,"PostCount",9); - TextOut(hDC,output_pos[13].x-60, input_pos[10].y,"Samping Rate",12); - TextOut(hDC,output_pos[13].x+30, input_pos[15].y+20,"KHZ",3); - TextOut(hDC,output_pos[13].x+70, input_pos[10].y,"Buffer Size",11); - TextOut(hDC,input_pos[2].x-10, io_pos[15].y+118,"Range: +-5V",11); - TextOut(hDC,input_pos[15].x, io_pos[15].y-19,"Volt",4); - TextOut(hDC,input_pos[15].x, io_pos[15].y-5,"5.00",4); - TextOut(hDC,input_pos[15].x, io_pos[15].y+36,"2.50",4); - TextOut(hDC,input_pos[15].x, io_pos[15].y+77,"0.00",4); - TextOut(hDC,input_pos[15].x-3, io_pos[15].y+118,"-2.50",5); - TextOut(hDC,input_pos[15].x-3, io_pos[15].y+159,"-5.00",5); - TextOut(hDC,input_pos[10].x+10, io_pos[10].y-19,"Signals",7); - TextOut(hDC,output_pos[4].x+60, io_pos[0].y-15,"Channel",7); - EndPaint(hWnd, &ps); - break; - - // Sample Rate Spin Control - case WM_VSCROLL: - switch (LOWORD(wParam)) { - case SB_LINEUP : - sample_rate+=5000; - if (sample_rate > 50000 ) sample_rate=50000; - break; - case SB_LINEDOWN: - sample_rate-=5000; - if (sample_rate < 5000 ) sample_rate=5000; - break; - } - wsprintf(n,"%d",sample_rate/1000); - SetWindowText(hEdit,n); - break; - case WM_COMMAND: - switch(LOWORD(wParam)) { - case IDM_EXIT: - SendMessage(hWnd, WM_CLOSE, 0, 0L); - break; - case IDC_CH: - case IDC_CH+1: - case IDC_CH+2: - case IDC_CH+3: - case IDC_CH+4: - case IDC_CH+5: - case IDC_CH+6: - case IDC_CH+7: - if (!bCheck[wParam-IDC_CH]) { - SendMessage(GetDlgItem(hWnd,wParam), BM_SETCHECK, 1, 0); - SendMessage(GetDlgItem(hWnd,IDC_CH+channel), BM_SETCHECK, 0, 0); - bCheck[channel]=FALSE; - } - channel=wParam-IDC_CH; - bCheck[channel]=TRUE; - break; - case IDC_SHOW : - DialogBox(hInst, "DMABox", hWnd, ShowDMA); - break; - case IDC_START: - if (hMem != NULL) { - GlobalUnfix(hMem); - GlobalUnlock(hMem); - GlobalFree(hMem); - } - // allocate a memory for DMA - postCount = GetDlgItemInt(hWnd,IDC_EDIT2,NULL ,FALSE); - data_size=GetDlgItemInt(hWnd,IDC_EDIT1,NULL ,FALSE); - mem_size=data_size * 2; - hMem = GlobalAlloc(GMEM_FIXED | GMEM_ZEROINIT,mem_size); - - ai_buf = (U16 *)GlobalLock(hMem); - if (ai_buf == NULL ) { - MessageBox(hWnd,"DMA", "No Memory", MB_OK); - SendMessage(hWnd, WM_CLOSE, 0, 0L); - break; - } - GlobalFix(hMem); - fstop =0; - if ((err=AI_9116_Config(card,0,P9116_AI_DMA|P9116_TRGMOD_MIDL,512,0,0))) { - wsprintf(s, "AI_Config Error = %d\n", err); - MessageBox(hWnd, s, "Error", MB_OK); - SendMessage(hWnd, WM_CLOSE, 0, 0L); - break; - } - err = AI_9116_CounterInterval (card, samp_intrv, samp_intrv); - if ((err=AI_AsyncDblBufferMode (card, 1)) != NoError) { - wsprintf(s, "AI_AsyncDblBufferMode Error = %d\n", err); - MessageBox(hWnd, s, "Error", MB_OK); - SendMessage(hWnd, WM_CLOSE, 0, 0L); - break; - } - if((err= AI_EventCallBack (card, 1, DBEvent, (U32) AI_DBCallBack)) != NoError) { - wsprintf(s, "AI_EventCallBack Error = %d\n", err); - MessageBox(hWnd, s, "Error", MB_OK); - SendMessage(hWnd, WM_CLOSE, 0, 0L); - break; - } - if((err= AI_EventCallBack (card, 1, AIEnd, (U32) AI_CallBack)) != NoError) { - wsprintf(s, "AI_EventCallBack Error = %d\n", err); - MessageBox(hWnd, s, "Error", MB_OK); - SendMessage(hWnd, WM_CLOSE, 0, 0L); - break; - } - if ((err=AI_ContReadChannel(card, channel, AD_B_5_V, ai_buf, data_size, (F64)sample_rate, ASYNCH_OP)) != NoError) { - wsprintf(s, "AI_ContReadPort Error = %d\n", err); - MessageBox(hWnd, s, "Error", MB_OK); - SendMessage(hWnd, WM_CLOSE, 0, 0L); - break; - } - EnableWindow(hStart, FALSE); - EnableWindow(hStop, TRUE); - hMainWnd = hWnd; - clear_op = FALSE; - //hThread1 = (HANDLE)_beginthread(ProcessThread, 0, 0); - MessageBeep(0); - break; - case IDC_STOP: - clear_op = TRUE; - AI_AsyncClear(card, &count); - EnableWindow(hStart, TRUE); - EnableWindow(hStop, FALSE); - break; - default: - return(DefWindowProc(hWnd, message, wParam, lParam)); - } - break; - case WM_DESTROY: - if (card >= 0) Release_Card(card); - DeleteObject(hBlackBrush); - DeleteObject(hRedPen); - GlobalUnfix(hMem); - GlobalUnlock(hMem); - GlobalFree(hMem); - PostQuitMessage(0); - break; - default: - return(DefWindowProc(hWnd, message, wParam, lParam)); - } - return(NULL); -} - -BOOL PASCAL ShowDMA(hDlg, message, wParam, lParam) -HWND hDlg; -UINT message; -WPARAM wParam; -LPARAM lParam; -{ - int nTabs[2] = {32, 92}; - int i; - char cBuf[100]; - char string[10]=" "; - char data_str[3]=" "; - U16 *pp; - switch (message) { - case WM_INITDIALOG: - hListBox = CreateWindow("LISTBOX", "Index Data (Hex)", - WS_CHILD | WS_VISIBLE | LBS_HASSTRINGS | LBS_STANDARD | LBS_USETABSTOPS |WS_CAPTION, - 50, 40, 240, 180, hDlg, 100, hInst, NULL); - SendMessage(hListBox, LB_RESETCONTENT, 0, 0L); - SendMessage(hListBox, LB_SETTABSTOPS, 2, (DWORD)(LPINT) nTabs); - SetDlgItemText(hDlg, DMA_DESCP, "This ListBox can show at most 4000 data"); - itoa( data_size, string, 10); - SetDlgItemText(hDlg, DMA_SPACE, string); - - pp = (U16 *)ai_buf; - if (count > 4000) count = 4000; - for(i=0;itfer_size) - AI_AsyncDblBufferTransfer(card, ai_buf+tfer_size); - EnableWindow(hStart, TRUE); - EnableWindow(hStop, FALSE); - if (!count) count = tfer_size; - SelectObject(hDC, hBlackBrush); - SelectObject(hDC, hBlackPen); - Rectangle(hDC, output_pos[15].x+35, io_pos[15].y-2, output_pos[4].x+41, io_pos[0].y+172); - SelectObject(hDC, hRedPen); - for (i=0; itfer_size)?count:tfer_size)+output_pos[15].x+35; - if (i==0) - MoveToEx(hDC, newx, newy, NULL); - else - MoveToEx(hDC, oldx, oldy, NULL); - LineTo(hDC, newx, newy); - oldx = newx; - oldy = newy; - } - ReleaseDC(hMainWnd, hDC); -} \ No newline at end of file diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9116/Sdk9116DbfCallBack/resource.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9116/Sdk9116DbfCallBack/resource.h deleted file mode 100644 index addde5e..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9116/Sdk9116DbfCallBack/resource.h +++ /dev/null @@ -1,26 +0,0 @@ -//{{NO_DEPENDENCIES}} -// Microsoft Developer Studio generated include file. -// Used by 9116ATrg.rc -// -#define IDM_SETUP 101 -#define IDD_DIALOG1 101 -#define IDD_DIALOG2 104 -#define IDM_EXIT 110 -#define ID_CARDNUMBER 122 -#define ID_STOP 304 -#define DMA_SPACE 500 -#define DMA_DESCP 600 -#define IDC_COMBO1 1001 -#define IDC_CHECK1 1003 -#define IDC_STATIC -1 - -// Next default values for new objects -// -#ifdef APSTUDIO_INVOKED -#ifndef APSTUDIO_READONLY_SYMBOLS -#define _APS_NEXT_RESOURCE_VALUE 105 -#define _APS_NEXT_COMMAND_VALUE 123 -#define _APS_NEXT_CONTROL_VALUE 1002 -#define _APS_NEXT_SYMED_VALUE 101 -#endif -#endif diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9116/Sdk9116DmaCallBack/9116DMA.DSP b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9116/Sdk9116DmaCallBack/9116DMA.DSP deleted file mode 100644 index a905d59..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9116/Sdk9116DmaCallBack/9116DMA.DSP +++ /dev/null @@ -1,110 +0,0 @@ -# Microsoft Developer Studio Project File - Name="9116DMA" - Package Owner=<4> -# Microsoft Developer Studio Generated Build File, Format Version 5.00 -# ** DO NOT EDIT ** - -# TARGTYPE "Win32 (x86) Application" 0x0101 - -CFG=9116DMA - Win32 Release -!MESSAGE This is not a valid makefile. To build this project using NMAKE, -!MESSAGE use the Export Makefile command and run -!MESSAGE -!MESSAGE NMAKE /f "9116dma.mak". -!MESSAGE -!MESSAGE You can specify a configuration when running NMAKE -!MESSAGE by defining the macro CFG on the command line. For example: -!MESSAGE -!MESSAGE NMAKE /f "9116dma.mak" CFG="9116DMA - Win32 Release" -!MESSAGE -!MESSAGE Possible choices for configuration are: -!MESSAGE -!MESSAGE "9116DMA - Win32 Release" (based on "Win32 (x86) Application") -!MESSAGE "9116DMA - Win32 Debug" (based on "Win32 (x86) Application") -!MESSAGE - -# Begin Project -# PROP Scc_ProjName "" -# PROP Scc_LocalPath "" -CPP=cl.exe -MTL=midl.exe -RSC=rc.exe - -!IF "$(CFG)" == "9116DMA - Win32 Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir ".\Release" -# PROP BASE Intermediate_Dir ".\Release" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "" -# PROP Intermediate_Dir ".\Release" -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /YX /c -# ADD CPP /nologo /W3 /GX /Od /I "..\..\..\include" /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /FD /c -# SUBTRACT CPP /YX -# ADD BASE MTL /nologo /D "NDEBUG" /win32 -# ADD MTL /nologo /D "NDEBUG" /mktyplib203 /win32 -# ADD BASE RSC /l 0x409 /d "NDEBUG" -# ADD RSC /l 0x409 /d "NDEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:windows /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ..\..\..\lib\pci-dask.lib /nologo /subsystem:windows /machine:I386 - -!ELSEIF "$(CFG)" == "9116DMA - Win32 Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir ".\Debug" -# PROP BASE Intermediate_Dir ".\Debug" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "" -# PROP Intermediate_Dir ".\Debug" -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /Gm /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /YX /c -# ADD CPP /nologo /W3 /Gm /GX /Zi /Od /I "..\..\..\include" /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /FD /c -# SUBTRACT CPP /YX -# ADD BASE MTL /nologo /D "_DEBUG" /win32 -# ADD MTL /nologo /D "_DEBUG" /mktyplib203 /win32 -# ADD BASE RSC /l 0x409 /d "_DEBUG" -# ADD RSC /l 0x409 /d "_DEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:windows /debug /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ..\..\..\lib\pci-dask.lib /nologo /subsystem:windows /debug /machine:I386 - -!ENDIF - -# Begin Target - -# Name "9116DMA - Win32 Release" -# Name "9116DMA - Win32 Debug" -# Begin Group "Source Files" - -# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;hpj;bat;for;f90" -# Begin Source File - -SOURCE=.\9116dma.c -# End Source File -# Begin Source File - -SOURCE=.\9116DMA.rc -# End Source File -# End Group -# Begin Group "Header Files" - -# PROP Default_Filter "h;hpp;hxx;hm;inl;fi;fd" -# End Group -# Begin Group "Resource Files" - -# PROP Default_Filter "ico;cur;bmp;dlg;rc2;rct;bin;cnt;rtf;gif;jpg;jpeg;jpe" -# End Group -# End Target -# End Project diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9116/Sdk9116DmaCallBack/9116DMA.DSW b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9116/Sdk9116DmaCallBack/9116DMA.DSW deleted file mode 100644 index b17e2a5..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9116/Sdk9116DmaCallBack/9116DMA.DSW +++ /dev/null @@ -1,29 +0,0 @@ -Microsoft Developer Studio Workspace File, Format Version 5.00 -# WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE! - -############################################################################### - -Project: "9116DMA"=.\9116dma.dsp - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ -}}} - -############################################################################### - -Global: - -Package=<5> -{{{ -}}} - -Package=<3> -{{{ -}}} - -############################################################################### - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9116/Sdk9116DmaCallBack/9116DMA.EXE b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9116/Sdk9116DmaCallBack/9116DMA.EXE deleted file mode 100644 index c06747d..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9116/Sdk9116DmaCallBack/9116DMA.EXE and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9116/Sdk9116DmaCallBack/9116DMA.RC b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9116/Sdk9116DmaCallBack/9116DMA.RC deleted file mode 100644 index f4ebb13..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9116/Sdk9116DmaCallBack/9116DMA.RC +++ /dev/null @@ -1,128 +0,0 @@ -//Microsoft Developer Studio generated resource script. -// -#include "resource.h" - -#define APSTUDIO_READONLY_SYMBOLS -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 2 resource. -// -#define APSTUDIO_HIDDEN_SYMBOLS -#include "windows.h" -#undef APSTUDIO_HIDDEN_SYMBOLS - -///////////////////////////////////////////////////////////////////////////// -#undef APSTUDIO_READONLY_SYMBOLS - -///////////////////////////////////////////////////////////////////////////// -// English (U.S.) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -#ifdef _WIN32 -LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US -#pragma code_page(1252) -#endif //_WIN32 - -///////////////////////////////////////////////////////////////////////////// -// -// Menu -// - -U7120MENU MENU DISCARDABLE -BEGIN - MENUITEM "E&xit!", IDM_EXIT -END - - -#ifdef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// TEXTINCLUDE -// - -1 TEXTINCLUDE DISCARDABLE -BEGIN - "resource.h\0" -END - -2 TEXTINCLUDE DISCARDABLE -BEGIN - "#define APSTUDIO_HIDDEN_SYMBOLS\r\n" - "#include ""windows.h""\r\n" - "#undef APSTUDIO_HIDDEN_SYMBOLS\r\n" - "\0" -END - -3 TEXTINCLUDE DISCARDABLE -BEGIN - "\r\n" - "\0" -END - -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog -// - -DMABOX DIALOG DISCARDABLE 18, 10, 171, 169 -STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "DMA TEST" -FONT 8, "System" -BEGIN - PUSHBUTTON "STOP",ID_STOP,82,147,24,14 - LTEXT "Data Transferred :",-1,39,118,60,8 - LTEXT "Text",DMA_SPACE,103,118,41,8 -END - -IDD_DIALOG2 DIALOG DISCARDABLE 110, 10, 110, 89 -STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "Card Number" -FONT 10, "System" -BEGIN - DEFPUSHBUTTON "OK",IDOK,9,68,39,14 - PUSHBUTTON "Cancel",IDCANCEL,56,68,38,14 - COMBOBOX IDC_COMBO1,52,23,51,45,CBS_DROPDOWN | WS_VSCROLL | - WS_TABSTOP - LTEXT "Card Number",IDC_STATIC,3,24,46,13 - LTEXT "Select a card number :",IDC_STATIC,3,6,100,11 - COMBOBOX IDC_COMBO4,52,41,51,45,CBS_DROPDOWN | WS_VSCROLL | - WS_TABSTOP - LTEXT "AI Mode",IDC_STATIC,3,42,46,13 -END - - -///////////////////////////////////////////////////////////////////////////// -// -// DESIGNINFO -// - -#ifdef APSTUDIO_INVOKED -GUIDELINES DESIGNINFO DISCARDABLE -BEGIN - IDD_DIALOG2, DIALOG - BEGIN - LEFTMARGIN, 3 - RIGHTMARGIN, 103 - BOTTOMMARGIN, 82 - END -END -#endif // APSTUDIO_INVOKED - -#endif // English (U.S.) resources -///////////////////////////////////////////////////////////////////////////// - - - -#ifndef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 3 resource. -// - - -///////////////////////////////////////////////////////////////////////////// -#endif // not APSTUDIO_INVOKED - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9116/Sdk9116DmaCallBack/9116dma.c b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9116/Sdk9116DmaCallBack/9116dma.c deleted file mode 100644 index 36fd44c..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9116/Sdk9116DmaCallBack/9116dma.c +++ /dev/null @@ -1,542 +0,0 @@ -#include "windows.h" -#include -#include -#include -#include -#include -#include "resource.h" -#include "dask.h" - -#define IDM_EXIT 110 -#define IDC_ADDR 200 -#define IDC_SCROLL 207 -#define IDC_START 208 -#define IDC_STOP 209 -#define IDC_PAUSE 210 -#define IDC_EDIT 211 -#define IDC_CHAN 214 -#define IDC_SHOW 213 -#define NONE 0 - -int PASCAL WinMain(HANDLE, HANDLE, LPSTR, int); -long PASCAL MainWndProc(HWND, UINT, WPARAM, LPARAM); -BOOL PASCAL ShowDMA(HWND, UINT, WPARAM, LPARAM); - -HANDLE hInst; -HWND hListBox; -HWND hChanComboBox; -HWND hADScroll; -HWND hEdit,hEdit1,hData,hStart; -unsigned int input=0, output=0; -unsigned int oldinput[8], adinput; -HBRUSH hBlackBrush; -HPEN hRedPen; - -long samp_intrv=240; -unsigned int base_addr=NONE,gain=1; -I16 card = -1, card_number = 0, ai_mode; -long data_size=4000; -U16 channel=0; -U16 range =AD_B_5_V; -DWORD mem_size = 0; -static HANDLE hMem=NULL; -unsigned short *ai_buf; -U32 count=0; - -LPSTR AI_MODE[2]={"DMA", "INT"}; - -POINT input_pos[16]= {{470, 280}, {440, 280}, - {410, 280}, {380, 280}, - {350, 280}, {320, 280}, - { 290, 280}, {260, 280}, - {230, 280}, {200, 280}, - {170, 280}, {140, 280}, - {110, 280}, {80, 280}, - { 50, 280}, { 20, 280}, - }; - -POINT output_pos[16] ={ - {470, 340}, {440, 340}, - {410, 340}, {380, 340}, - {350, 340}, {320, 340}, - { 290, 340}, {260, 340}, - {230, 340}, {200, 340}, - {170, 340}, {140, 340}, - {110, 340}, {80, 340}, - { 50, 340}, { 20, 340}, - }; - -POINT io_pos[16] ={ - {395, 40}, {370, 40}, - {345, 40}, {320, 40}, - {295, 40}, {270, 40}, - { 245, 40}, {220, 40}, - {195, 40}, {170, 40}, - {145, 40}, {120, 40}, - {95, 40}, {70, 40}, - { 45, 40}, { 20, 40}, - }; - -HBRUSH hLTGreenBrush,hGreenBrush,hBlueBrush,hYellowBrush,hRedBrush,hBlackBrush,hWhiteBrush - ,hLTRedBrush,hLTBlueBrush; -HPEN hRedPen,hYellowPen,hGreenPen,hBluePen,hLTBluePen,hLTRedPen,hLTGreenPen,hWhitePen; -HWND hMainWnd; - -BOOL InitApplication(HANDLE); -BOOL InitInstance(HANDLE, int); -void AI_CallBack(); - -int PASCAL WinMain(hInstance, hPrevInstance, lpCmdLine, nCmdShow) -HANDLE hInstance, hPrevInstance; -LPSTR lpCmdLine; -int nCmdShow; -{ - MSG msg; - - if (!hPrevInstance) - if (!InitApplication(hInstance)) return(FALSE); - if (!InitInstance(hInstance, nCmdShow)) return(FALSE); - while (GetMessage(&msg, NULL, NULL, NULL)) { - TranslateMessage(&msg); - DispatchMessage(&msg); - } - return(msg.wParam); -} - -BOOL InitApplication(hInstance) -HANDLE hInstance; -{ - WNDCLASS wc; - - /* Main Window Class */ - wc.style = NULL; - wc.lpfnWndProc = (WNDPROC)MainWndProc; - wc.cbClsExtra = 0; - wc.cbWndExtra = 0; - wc.hInstance = hInstance; - wc.hIcon = LoadIcon(hInstance, "MyIcon"); - wc.hCursor = LoadCursor(NULL, IDC_ARROW); - wc.hbrBackground = GetStockObject(LTGRAY_BRUSH); - wc.lpszMenuName = NULL; - wc.lpszClassName = "GenericWClass"; - if (!RegisterClass(&wc)) return(FALSE); -} - -BOOL InitInstance(hInstance, nCmdShow) -HANDLE hInstance; -int nCmdShow; -{ - HWND hWnd; - HMENU hSampleMenu; - - hInst = hInstance; - hSampleMenu = LoadMenu(hInstance, "U7120Menu"); - hWnd = CreateWindow("GenericWClass", - (LPCSTR)"9116 Autoscan DMA / INT", - WS_OVERLAPPEDWINDOW, - CW_USEDEFAULT, - CW_USEDEFAULT, - 520, - 400, - NULL, - hSampleMenu, - hInstance, - NULL); - if (!hWnd) return(FALSE); - ShowWindow(hWnd, nCmdShow); - UpdateWindow(hWnd); - return(TRUE); -} - -BOOL PASCAL setup(HWND hWnd, unsigned message, WPARAM wParam, LPARAM lParam) -{ - int i; - char n[16]; - char s[50]; - switch (message) { - case WM_INITDIALOG: - for (i=0;i<16;i++) { - wsprintf(n, "%d", i); - _strupr(n); - SendMessage(GetDlgItem(hWnd,IDC_COMBO1), CB_ADDSTRING, NULL, (LONG)(LPSTR) n); - } - SendMessage(GetDlgItem(hWnd,IDC_COMBO1) , CB_SETCURSEL, 0, 0L); - for (i=0;i<2;i++) { - SendMessage(GetDlgItem(hWnd,IDC_COMBO4), CB_ADDSTRING, NULL, (LONG)(LPSTR) AI_MODE[i]); - } - SendMessage(GetDlgItem(hWnd,IDC_COMBO4) , CB_SETCURSEL, 0, 0L); - - break; - case WM_COMMAND: - switch(LOWORD(wParam)) { - - case IDC_COMBO1: - if (HIWORD(wParam) == CBN_CLOSEUP) { - i = (int)SendMessage(GetDlgItem(hWnd,IDC_COMBO1), CB_GETCURSEL, 0, 0L); - SendMessage(GetDlgItem(hWnd,IDC_COMBO1), CB_GETLBTEXT, i, (LPARAM)((LPCSTR)n)); - card_number = i; - } - return(TRUE); - case IDC_COMBO4: - if (HIWORD(wParam) == CBN_CLOSEUP) { - i = (int)SendMessage(GetDlgItem(hWnd,IDC_COMBO4), CB_GETCURSEL, 0, 0L); - SendMessage(GetDlgItem(hWnd,IDC_COMBO4), CB_GETLBTEXT, i, (LPARAM)((LPCSTR)n)); - ai_mode = i; - } - return(TRUE); - case IDOK: - if ((card=Register_Card(PCI_9116, card_number)) < 0) { - wsprintf(s, "Register_Card Error = %d\n", card); - MessageBox(hWnd, s, "Error", MB_OK); - SendMessage(hWnd, WM_CLOSE, 0, 0L); - break; - } - EndDialog(hWnd, TRUE); - InvalidateRect(hWnd, NULL, FALSE); - return (TRUE); - case IDCANCEL: - EndDialog(hWnd, TRUE); - return (TRUE); - } - break; - } - return (FALSE); -} - -long PASCAL MainWndProc(hWnd, message, wParam, lParam) -HWND hWnd; -UINT message; -WPARAM wParam; -LPARAM lParam; -{ - HDC hDC; - PAINTSTRUCT ps; - int i, err; - char n[6]; - static int pos=0; - static int status; - BOOLEAN bStopped; - char s[100]; - - switch(message) { - case WM_CREATE: - DialogBox(hInst,IDD_DIALOG2, hWnd, setup); - if(card<0) { - SendMessage(hWnd, WM_CLOSE, 0, 0L); - break; - } - hChanComboBox = CreateWindow("ComboBox", NULL, - CBS_DROPDOWNLIST | WS_CHILD | WS_VISIBLE | WS_VSCROLL, - input_pos[10].x, input_pos[15].y+18, 100, 160, hWnd, IDC_CHAN, hInst, NULL); - SendMessage(hChanComboBox, CB_ADDSTRING, NULL, (LONG)(LPSTR)"CH0"); - SendMessage(hChanComboBox, CB_ADDSTRING, NULL, (LONG)(LPSTR)"CH0 ~ CH1"); - SendMessage(hChanComboBox, CB_ADDSTRING, NULL, (LONG)(LPSTR)"CH0 ~ CH2"); - SendMessage(hChanComboBox, CB_ADDSTRING, NULL, (LONG)(LPSTR)"CH0 ~ CH3"); - SendMessage(hChanComboBox, CB_ADDSTRING, NULL, (LONG)(LPSTR)"CH0 ~ CH4"); - SendMessage(hChanComboBox, CB_ADDSTRING, NULL, (LONG)(LPSTR)"CH0 ~ CH5"); - SendMessage(hChanComboBox, CB_ADDSTRING, NULL, (LONG)(LPSTR)"CH0 ~ CH6"); - SendMessage(hChanComboBox, CB_ADDSTRING, NULL, (LONG)(LPSTR)"CH0 ~ CH7"); - SendMessage(hChanComboBox ,CB_SETCURSEL, 0, 0L); - hEdit=CreateWindow("EDIT", NULL, - WS_CHILD | WS_VISIBLE | ES_LEFT, - output_pos[13].x-30, input_pos[15].y+20,40, 20, hWnd, IDC_EDIT, hInst, NULL); - - wsprintf(n,"%d",samp_intrv); - SetWindowText(hEdit,n); - - CreateWindow("SCROLLBAR", NULL, - WS_CHILD | WS_VISIBLE | SBS_VERT, - output_pos[13].x+10, input_pos[15].y+20,20, 20, hWnd, IDC_SCROLL, hInst, NULL); - - hStart=CreateWindow("BUTTON","Start" , - WS_CHILD | WS_VISIBLE , - output_pos[10].x+140, input_pos[10].y+10,70, 30, hWnd, IDC_START, hInst, NULL); - - hData=CreateWindow("BUTTON","Data Value" , - WS_CHILD | WS_VISIBLE , - output_pos[10].x+230, input_pos[10].y+10,80, 30, hWnd, IDC_SHOW, hInst, NULL); - - hLTGreenBrush = CreateSolidBrush(RGB(0, 255, 0)); - hGreenBrush = CreateSolidBrush(RGB(0, 128, 0)); - hBlueBrush = CreateSolidBrush(RGB(0, 0, 255)); - hRedBrush = CreateSolidBrush(RGB(255, 0, 0)); - hYellowBrush= CreateSolidBrush(RGB(255,255,0)); - hBlackBrush= CreateSolidBrush(RGB(0,0,0)); - hLTBlueBrush= CreateSolidBrush(RGB(0,255,255)); - hLTRedBrush= CreateSolidBrush(RGB(255,128,0)); - hWhiteBrush= CreateSolidBrush(RGB(255,255,255)); - hRedPen= CreatePen(PS_SOLID,1,RGB(255,0,0)); - hYellowPen= CreatePen(PS_SOLID,1,RGB(255,255,0)); - hBluePen= CreatePen(PS_SOLID,1,RGB(0,0,255)); - hGreenPen= CreatePen(PS_SOLID,1,RGB(0,255,0)); - hLTBluePen= CreatePen(PS_SOLID,1,RGB(0,128,255)); - hLTRedPen= CreatePen(PS_SOLID,1,RGB(128,128,0)); - hLTGreenPen= CreatePen(PS_SOLID,1,RGB(0,128,0)); - hWhitePen= CreatePen(PS_SOLID,1,RGB(255,255,255)); - break; - - case WM_PAINT: - hDC = BeginPaint(hWnd, &ps); - - // Analog Input Box - SelectObject(hDC, GetStockObject(GRAY_BRUSH)); - Rectangle(hDC, output_pos[15].x-10, io_pos[15].y-24, output_pos[0].x+26, io_pos[0].y+195); - SetTextColor(hDC,RGB(255,255,0)); - SetBkColor(hDC, RGB(0, 0, 255)); - TextOut(hDC, io_pos[15].x, io_pos[15].y-35, " DMA / INT Input(A/D) ", 26); - - SelectObject(hDC, hBlackBrush); - Rectangle(hDC, output_pos[15].x+35, io_pos[15].y-2, output_pos[4].x+41, io_pos[0].y+172); - - SelectObject(hDC,hYellowBrush ); - Rectangle(hDC,output_pos[4].x+68, io_pos[0].y-5+18,output_pos[4].x+80, io_pos[0].y+10+18); - - SelectObject(hDC, hGreenBrush); - Rectangle(hDC,output_pos[4].x+68, io_pos[0].y+13+18,output_pos[4].x+80, io_pos[0].y+28+18); - - SelectObject(hDC, hBlueBrush); - Rectangle(hDC,output_pos[4].x+68, io_pos[0].y+31+18,output_pos[4].x+80, io_pos[0].y+46+18); - - SelectObject(hDC, hRedBrush); - Rectangle(hDC,output_pos[4].x+68, io_pos[0].y+49+18,output_pos[4].x+80, io_pos[0].y+64+18); - - SelectObject(hDC, hLTBlueBrush); - Rectangle(hDC,output_pos[4].x+108, io_pos[0].y-5+18,output_pos[4].x+120, io_pos[0].y+10+18); - - SelectObject(hDC, hLTRedBrush); - Rectangle(hDC,output_pos[4].x+108, io_pos[0].y+13+18,output_pos[4].x+120, io_pos[0].y+28+18); - - SelectObject(hDC, hLTGreenBrush); - Rectangle(hDC,output_pos[4].x+108, io_pos[0].y+31+18,output_pos[4].x+120, io_pos[0].y+46+18); - - SelectObject(hDC, hWhiteBrush); - Rectangle(hDC,output_pos[4].x+108, io_pos[0].y+49+18,output_pos[4].x+120, io_pos[0].y+64+18); - - SetBkMode(hDC,TRANSPARENT); - TextOut(hDC,output_pos[13].x-60, input_pos[10].y,"Sample Interval",15); - TextOut(hDC,output_pos[13].x+80, input_pos[10].y,"Channel",7); - TextOut(hDC,input_pos[2].x-10, io_pos[15].y+118,"Range: +-5V",11); - TextOut(hDC,input_pos[15].x, io_pos[15].y-19,"Volts",5); - TextOut(hDC,input_pos[15].x, io_pos[15].y-5,"5.00",4); - TextOut(hDC,input_pos[15].x, io_pos[15].y+36,"2.50",4); - TextOut(hDC,input_pos[15].x, io_pos[15].y+77,"0.00",4); - TextOut(hDC,input_pos[15].x-3, io_pos[15].y+118,"-2.50",5); - TextOut(hDC,input_pos[15].x-3, io_pos[15].y+159,"-5.00",5); - TextOut(hDC,input_pos[10].x+10, io_pos[10].y-19,"Signals",7); - - TextOut(hDC,output_pos[4].x+58, io_pos[0].y-5+18,"0",1); - TextOut(hDC,output_pos[4].x+58, io_pos[0].y+13+18,"1",1); - TextOut(hDC,output_pos[4].x+58, io_pos[0].y+31+18,"2",1); - TextOut(hDC,output_pos[4].x+58, io_pos[0].y+49+18,"3",1); - TextOut(hDC,output_pos[4].x+98, io_pos[0].y-5+18,"4",1); - TextOut(hDC,output_pos[4].x+98, io_pos[0].y+13+18,"5",1); - TextOut(hDC,output_pos[4].x+98, io_pos[0].y+31+18,"6",1); - TextOut(hDC,output_pos[4].x+98, io_pos[0].y+49+18,"7",1); - - EndPaint(hWnd, &ps); - break; - - // Sample Rate Spin Control - case WM_VSCROLL: - switch(LOWORD(wParam)){ - case SB_LINEUP : - samp_intrv+=240; - if (samp_intrv > 24000 ) samp_intrv=24000; - break; - case SB_LINEDOWN: - samp_intrv-=240; - if (samp_intrv < 240 ) samp_intrv=240; - break; - } - wsprintf(n,"%d",samp_intrv); - SetWindowText(hEdit,n); - break; - - case WM_COMMAND: - switch(LOWORD(wParam)) { - case IDM_EXIT: - SendMessage(hWnd, WM_CLOSE, 0, 0L); - break; - - case IDC_SHOW : - DialogBox(hInst, - "DMABox", - hWnd, - ShowDMA); - break; - - case IDC_CHAN: - if (HIWORD(wParam) == CBN_CLOSEUP) { - if ((i=(int)SendMessage(GetDlgItem(hWnd,IDC_CHAN),CB_GETCURSEL, 0, 0L))>=0 ) { - channel=i; - } - } - break; - - case IDC_START: - EnableWindow (hData, FALSE); - if (hMem != NULL) - { - GlobalUnfix(hMem); - GlobalUnlock(hMem); - GlobalFree(hMem); - } - // allocate a memory for user DMA buffer - data_size = 4000; - data_size *= (channel+1); - mem_size=data_size*2; - hMem = GlobalAlloc(GMEM_ZEROINIT,mem_size); - ai_buf = GlobalLock(hMem); - if (ai_buf == NULL ) - { - MessageBox(hWnd,"INT", - "No Memory", MB_OK); - } - GlobalFix(hMem); - if(!ai_mode) - AI_9116_Config(card,0,P9116_AI_DMA,0,0,0); - else - AI_9116_Config(card,0,P9116_AI_INT,0,0,0); - hMainWnd = hWnd; - AI_9116_CounterInterval (card, samp_intrv * (channel+1), samp_intrv); - if((err= AI_EventCallBack (card, 1, AIEnd, (U32) AI_CallBack)) != NoError) { - wsprintf(s, "AI_EventCallBack Error = %d\n", err); - MessageBox(hWnd, s, "Error", MB_OK); - SendMessage(hWnd, WM_CLOSE, 0, 0L); - break; - } - err = AI_ContScanChannels (card, channel, range, ai_buf, data_size/(channel+1), (F32)1, ASYNCH_OP); - break; - - default: - return(DefWindowProc(hWnd, message, wParam, lParam)); - } - break; - - case WM_DESTROY: - if (card >= 0) Release_Card (card); - DeleteObject(hRedBrush); - DeleteObject(hGreenBrush); - DeleteObject(hLTGreenBrush); - DeleteObject(hYellowBrush); - DeleteObject(hBlueBrush) ; - DeleteObject(hBlackBrush); - DeleteObject(hRedPen); - DeleteObject(hYellowPen); - DeleteObject(hBluePen); - DeleteObject(hGreenPen); - DeleteObject(hLTBluePen); - DeleteObject(hLTRedPen); - DeleteObject(hLTGreenPen); - DeleteObject(hWhitePen); - GlobalUnfix(hMem); - GlobalUnlock(hMem); - GlobalFree(hMem); - PostQuitMessage(0); - break; - - default: - return(DefWindowProc(hWnd, message, wParam, lParam)); - } - return(NULL); -} - -BOOL PASCAL ShowDMA(hDlg, message, wParam, lParam) -HWND hDlg; -UINT message; -WPARAM wParam; -LPARAM lParam; -{ - int nTabs[2] = {32, 92}; - long i; - char cBuf[100] = "\t131072 \tFF"; - char string[10]=" "; - char data_str[3]=" "; - U16 *pp, ch_no; - switch (message) - { - case WM_INITDIALOG: - hListBox = CreateWindow("LISTBOX", "Memory Count Data",\ - WS_CHILD | WS_VISIBLE | LBS_HASSTRINGS\ - | LBS_STANDARD | LBS_USETABSTOPS |WS_CAPTION,\ - 50, 40, 240, 180, hDlg, 100, hInst, NULL); - - SendMessage(hListBox, LB_RESETCONTENT, 0, 0L); - SendMessage(hListBox, LB_SETTABSTOPS, 2, (DWORD)\ - (LPINT) nTabs); - pp=(U16 *) ai_buf; - for(i=0; i 0 Then - MsgBox "Continuous AI Failed" - End - End If - While status = 0 - result = AI_AsyncCheck(card, status, count1) - Wend - result = AI_AsyncClear(card, count1) - txtXfer.Caption = "Total xfer: " & CStr(count1) - scrollView.Value = 0 - scrollView.Max = Fix((count1 - 1) / DISP_COUNT) - ShowData 0, Min(count1, DISP_COUNT) - btnStart.Enabled = True -End Sub - - - - - - - - - -Private Sub cobChn_Click() - gnClkDiv = Val(cobRate.Text) * (CLng(cobChn.ListIndex) + 1) - cobScan.Text = Str(gnClkDiv) -End Sub - - -Private Sub cobRate_Click() - gnClkDiv = Val(cobRate.Text) * (CLng(cobChn.ListIndex) + 1) - cobScan.Text = Str(gnClkDiv) -End Sub - -Private Sub Form_Load() - Dim result As Long - Dim i As Integer - - SettingForm.Show 1 - If card < 0 Then - MsgBox "Register card failed." - End - End If - - cobDataSize.AddItem "1000" - cobDataSize.AddItem "2000" - cobDataSize.AddItem "4000" - cobDataSize.AddItem "8000" - cobDataSize.AddItem "10000" - cobDataSize.AddItem "20000" - cobDataSize.ListIndex = 0 - - cobChn.AddItem "CH0" - cobChn.AddItem "CH0~CH1" - cobChn.AddItem "CH0~CH2" - cobChn.AddItem "CH0~CH3" - cobChn.AddItem "CH0~CH4" - cobChn.AddItem "CH0~CH5" - cobChn.AddItem "CH0~CH6" - cobChn.AddItem "CH0~CH7" - cobChn.ListIndex = 0 - - txtPostCount.Text = 500 - If ai_type = P9116_AI_DMA Then - cobTrigMode.AddItem "Soft-Trigger" - cobTrigMode.AddItem "Post-Trigger" - cobTrigMode.AddItem "Delay-Trigger" - cobTrigMode.AddItem "Pre-Trigger" - cobTrigMode.AddItem "Middle-Trigger" - cobTrigMode.ListIndex = 0 - txtMCount.Enabled = True - Frame4.Enabled = True - Else - cobTrigMode.AddItem "Soft-Trigger" - cobTrigMode.AddItem "Post-Trigger" - cobTrigMode.AddItem "Delay-Trigger" - cobTrigMode.ListIndex = 0 - txtMCount.Enabled = False - Frame4.Enabled = False - End If - - cobTrigPol.AddItem "Positive" - cobTrigPol.AddItem "Negative" - cobTrigPol.ListIndex = 0 - - cobClkSrc.AddItem "Internal(24M)" - cobClkSrc.AddItem "External" - cobClkSrc.ListIndex = 0 - - cobRate.AddItem "240" - cobRate.AddItem "480" - cobRate.AddItem "720" - cobRate.AddItem "960" - cobRate.AddItem "1200" - cobRate.AddItem "1440" - cobRate.AddItem "1680" - cobRate.AddItem "1920" - cobRate.AddItem "2160" - cobRate.AddItem "2400" - cobRate.ListIndex = 0 - gnClkDiv = 240 - cobScan.Text = cobRate.Text - dma_size = 0 -End Sub - - -Private Sub ShowData(ByVal startidx As Long, ByVal acq_count As Long) - Dim i As Long, k As Long, n As Long - Dim w As Long, h As Long - Dim X As Long, Y As Long - Dim last_x(8) As Long, last_y(8) As Long - Dim samp As Integer, trig_pos As Long - picScreen.Cls - DrawTrigLevel -1, trigLevel - lblLeft.Caption = CStr(CLng(scrollView.Value) * DISP_COUNT) - lblRight.Caption = CStr(CLng(lblLeft) + DISP_COUNT - 1) - w = picScreen.ScaleWidth - h = picScreen.ScaleHeight - - For i = 0 To 7 - last_x(i) = -1 - last_y(i) = -1 - Next - For i = 0 To acq_count - 1 - k = (startidx + i) Mod ch_cnt - n = (startidx + i) Mod count1 - X = (i * w) / (DISP_COUNT - 1) - samp = gnBuffer(n) - 'Y = h * (2047 - samp) / 4096 - Y = CInt((32767 - CLng(samp)) * h / 65535) - If last_y(k) <> -1 Then - picScreen.Line (last_x(k), last_y(k))-(X, Y), shpColor(k).BackColor - End If - last_x(k) = X - last_y(k) = Y - Next - 'Set trigger position - Select Case cobTrigMode.ListIndex - Case 1 - trig_pos = 0 - Case 2 - trig_pos = -1 - Case 3 - trig_pos = count1 - 1 - Case 4 - trig_pos = count1 - CLng(txtPostCount.Text) * ch_cnt - End Select - If CLng(lblLeft) <= trig_pos And CLng(lblRight) >= trig_pos Then - TriggerPos.Visible = True - TriggerPos.Left = (picScreen.Left - 60) + ((trig_pos - CLng(lblLeft)) * w * Screen.TwipsPerPixelX) / (DISP_COUNT - 1) - Else - TriggerPos.Visible = False - End If -End Sub - -Private Sub Form_Unload(Cancel As Integer) - Dim result As Long - If card >= 0 Then - Release_Card (card) - End If -End Sub - -Private Sub Label7_Click() - -End Sub - -Private Sub mnuExit_Click() - If card >= 0 Then Release_Card (card) - End -End Sub - -Private Sub scrollView_Change() - Dim idx As Long - idx = CLng(scrollView.Value) * DISP_COUNT - ShowData idx Mod count1, Min(count1 - idx, DISP_COUNT) -End Sub - - - - - - - - - - - - - -Private Sub DrawTrigLevel(ByVal old_level As Integer, ByVal level As Integer) - Dim w As Long, h As Long - Dim Y As Long - - w = picScreen.ScaleWidth - h = picScreen.ScaleHeight - If old_level <> -1 Then - Y = h * (255 - old_level) / 255 - picScreen.Line (0, Y)-(w, Y), &H0 - End If - Y = h * (255 - level) / 255 - picScreen.Line (0, Y)-(w, Y), &H909090 -End Sub - -Private Function Min(ByVal v1 As Long, ByVal v2 As Long) As Long - If v1 < v2 Then - Min = v1 - Else - Min = v2 - End If -End Function - -Private Sub Text1_Change() - -End Sub - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9116/Vb9116/9116glbl.Bas b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9116/Vb9116/9116glbl.Bas deleted file mode 100644 index 35af7ab..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9116/Vb9116/9116glbl.Bas +++ /dev/null @@ -1,11 +0,0 @@ -Attribute VB_Name = "Module1" -Option Explicit - -Declare Function BitBlt Lib "GDI32" (ByVal hDestDC As Long, ByVal X As Long, ByVal Y As Long, ByVal nWidth As Long, ByVal nHeight As Long, ByVal hSrcDC As Long, ByVal XSrc As Long, ByVal YSrc As Long, ByVal dwRop As Long) As Long - -Global Const SRCCOPY = &HCC0020 ' (DWORD) dest = source -Global card As Integer -Global card_number As Integer -Global ai_type As Integer -Declare Sub Sleep Lib "kernel32" (ByVal dwMilliseconds As Long _ -) diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9116/Vb9116/Base9116.frm b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9116/Vb9116/Base9116.frm deleted file mode 100644 index 3507b26..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9116/Vb9116/Base9116.frm +++ /dev/null @@ -1,128 +0,0 @@ -VERSION 4.00 -Begin VB.Form SettingForm - Appearance = 0 'Flat - BackColor = &H00C0C0C0& - Caption = "Card Setting" - ClientHeight = 1770 - ClientLeft = 2325 - ClientTop = 2100 - ClientWidth = 2835 - BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851} - Name = "MS Sans Serif" - Size = 8.25 - Charset = 0 - Weight = 700 - Underline = 0 'False - Italic = 0 'False - Strikethrough = 0 'False - EndProperty - ForeColor = &H80000008& - Height = 2175 - Left = 2265 - LinkTopic = "Form2" - ScaleHeight = 1770 - ScaleWidth = 2835 - Top = 1755 - Width = 2955 - Begin VB.ComboBox CardType - Height = 315 - Left = 1440 - TabIndex = 5 - Text = "AI Type" - Top = 720 - Width = 1215 - End - Begin VB.CommandButton OKBtn - Appearance = 0 'Flat - BackColor = &H80000005& - Caption = "OK" - Default = -1 'True - Height = 315 - Left = 240 - TabIndex = 0 - Top = 1320 - Width = 915 - End - Begin VB.CommandButton CancelBtn - Appearance = 0 'Flat - BackColor = &H80000005& - Cancel = -1 'True - Caption = "Cancel" - Height = 315 - Left = 1560 - TabIndex = 3 - Top = 1320 - Width = 915 - End - Begin VB.ComboBox CardNum - Appearance = 0 'Flat - Height = 315 - Left = 1440 - Style = 2 'Dropdown List - TabIndex = 2 - Top = 120 - Width = 1215 - End - Begin VB.Label Label1 - Caption = "AI Type" - Height = 255 - Left = 120 - TabIndex = 4 - Top = 720 - Width = 1095 - End - Begin VB.Label Label2 - Appearance = 0 'Flat - BackColor = &H00C0C0C0& - Caption = "Card Number:" - ForeColor = &H00000000& - Height = 195 - Index = 0 - Left = 120 - TabIndex = 1 - Top = 180 - Width = 1275 - End -End -Attribute VB_Name = "SettingForm" -Attribute VB_Creatable = False -Attribute VB_Exposed = False - - -Private Sub BaseAddr_Change() - -End Sub - - -Private Sub CancelBtn_Click() - Unload SettingForm -End Sub - -Private Sub Form_Load() - Dim i As Long - For i = 0 To 15 Step 1 - CardNum.AddItem i - Next - CardNum.ListIndex = 0 - CardType.AddItem "DMA" - CardType.AddItem "INT" - CardType.ListIndex = 0 -End Sub - -Private Sub OKBtn_Click() - card = -1 - card_number = CardNum.ListIndex - Select Case CardType.ListIndex - Case 0 - ai_type = P9116_AI_DMA - Case 1 - ai_type = P9116_AI_INT - End Select - card = Register_Card(PCI_9116, card_number) - If card < 0 Then - MsgBox "Register Card Failed" - End - End If - Unload SettingForm -End Sub - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9116/Vb9116/TRIGGER.BMP b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9116/Vb9116/TRIGGER.BMP deleted file mode 100644 index d71a062..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9116/Vb9116/TRIGGER.BMP and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9118/9118DbfAFile/9118DbF.c b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9118/9118DbfAFile/9118DbF.c deleted file mode 100644 index 5b56e64..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9118/9118DbfAFile/9118DbF.c +++ /dev/null @@ -1,62 +0,0 @@ -#include -#include -#include -#include "dask.h" - -U16 channel=3; //4 channels -U16 range=AD_B_5_V; -char *file_name="9118d"; -U32 read_count=2000; -F64 sample_rate=2000; -U32 postCount = 1024; - -main() -{ - I16 card, err, card_num; - BOOLEAN halfReady, fStop; - U32 count=0, count1; - - printf("This program inputs data from CH-0 to CH-%d of PCI-9118 in %d Hz by\ndouble-buffer mode, and store data to file '%s.dat'. The size of circular\nbuffer is %d. It will not stop until you press a key.\n\nPress any key to start the operation.\n", - channel, (int)sample_rate, file_name, read_count); - printf("Please input a card number: "); - scanf(" %d", &card_num); - //getch(); - if ((card=Register_Card (PCI_9118DG, card_num)) <0 ) { - printf("Register_Card error=%d", card); - exit(1); - } - err = AI_9118_Config(card, P9118_AI_BiPolar|P9118_AI_SingEnded, P9118_AI_DtrgPositive|P9118_AI_EtrgPositive|P9118_AI_AboutTrgEn, 0, postCount); - if (err!=0) { - printf("AI_9118_Config error=%d", err); - exit(1); - } - err = AI_AsyncDblBufferMode(card, 1); //double-buffer mode - if (err!=0) { - printf("AI_DblBufferMode error=%d", err); - exit(1); - } - err = AI_ContScanChannelsToFile(card, channel, range, file_name, read_count, sample_rate, ASYNCH_OP); - if (err!=0) { - printf("AI_ContReadChannel error=%d", err); - exit(1); - } - printf("\n\nPress any key to stop input operation."); - printf("\n\nData count : \n"); - do { - do { - AI_AsyncDblBufferHalfReady(card, &halfReady, &fStop); - } while (!halfReady && !fStop); - if(halfReady) { - AI_AsyncDblBufferTransfer(card, NULL); //transfer to file - count += (read_count / 2); - printf("%d\r", count); - } - } while(!kbhit() && !fStop); - AI_AsyncClear(card, &count1); - count += count1; - printf("%d\r", count); - Release_Card(card); - printf("\n\n%d input data are stored in file '%s.dat'.\n", count, file_name); - printf("\nPress ENTER to exit the program. "); getch(); -} - \ No newline at end of file diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9118/9118DbfAFile/9118DbF.exe b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9118/9118DbfAFile/9118DbF.exe deleted file mode 100644 index f9f4fa9..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9118/9118DbfAFile/9118DbF.exe and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9118/9118DbfAFile/9118DbF.mak b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9118/9118DbfAFile/9118DbF.mak deleted file mode 100644 index 5165b26..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9118/9118DbfAFile/9118DbF.mak +++ /dev/null @@ -1,196 +0,0 @@ -# Microsoft Developer Studio Generated NMAKE File, Format Version 4.00 -# ** DO NOT EDIT ** - -# TARGTYPE "Win32 (x86) Console Application" 0x0103 - -!IF "$(CFG)" == "" -CFG=9118DbF - Win32 Debug -!MESSAGE No configuration specified. Defaulting to 9118DbF - Win32 Debug. -!ENDIF - -!IF "$(CFG)" != "9118DbF - Win32 Release" && "$(CFG)" !=\ - "9118DbF - Win32 Debug" -!MESSAGE Invalid configuration "$(CFG)" specified. -!MESSAGE You can specify a configuration when running NMAKE on this makefile -!MESSAGE by defining the macro CFG on the command line. For example: -!MESSAGE -!MESSAGE NMAKE /f "9118DbF.mak" CFG="9118DbF - Win32 Debug" -!MESSAGE -!MESSAGE Possible choices for configuration are: -!MESSAGE -!MESSAGE "9118DbF - Win32 Release" (based on "Win32 (x86) Console Application") -!MESSAGE "9118DbF - Win32 Debug" (based on "Win32 (x86) Console Application") -!MESSAGE -!ERROR An invalid configuration is specified. -!ENDIF - -!IF "$(OS)" == "Windows_NT" -NULL= -!ELSE -NULL=nul -!ENDIF -################################################################################ -# Begin Project -# PROP Target_Last_Scanned "9118DbF - Win32 Debug" -RSC=rc.exe -CPP=cl.exe - -!IF "$(CFG)" == "9118DbF - Win32 Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "Release" -# PROP BASE Intermediate_Dir "Release" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "" -# PROP Intermediate_Dir "Release" -# PROP Target_Dir "" -OUTDIR=. -INTDIR=.\Release - -ALL : "$(OUTDIR)\9118DbF.exe" - -CLEAN : - -@erase ".\9118DbF.exe" - -@erase ".\Release\9118DbF.obj" - -"$(INTDIR)" : - if not exist "$(INTDIR)/$(NULL)" mkdir "$(INTDIR)" - -# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /YX /c -# ADD CPP /nologo /W3 /GX /O2 /I "..\..\..\include" /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /c -# SUBTRACT CPP /YX -CPP_PROJ=/nologo /ML /W3 /GX /O2 /I "..\..\..\include" /D "WIN32" /D "NDEBUG"\ - /D "_CONSOLE" /Fo"$(INTDIR)/" /c -CPP_OBJS=.\Release/ -CPP_SBRS= -# ADD BASE RSC /l 0x404 /d "NDEBUG" -# ADD RSC /l 0x404 /d "NDEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -BSC32_FLAGS=/nologo /o"$(OUTDIR)/9118DbF.bsc" -BSC32_SBRS= -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ..\..\..\lib\pci-dask.lib /nologo /subsystem:console /machine:I386 -LINK32_FLAGS=kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib\ - advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib\ - odbccp32.lib ..\..\..\lib\pci-dask.lib /nologo /subsystem:console\ - /incremental:no /pdb:"$(OUTDIR)/9118DbF.pdb" /machine:I386\ - /out:"$(OUTDIR)/9118DbF.exe" -LINK32_OBJS= \ - ".\Release\9118DbF.obj" - -"$(OUTDIR)\9118DbF.exe" : "$(OUTDIR)" $(DEF_FILE) $(LINK32_OBJS) - $(LINK32) @<< - $(LINK32_FLAGS) $(LINK32_OBJS) -<< - -!ELSEIF "$(CFG)" == "9118DbF - Win32 Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "Debug" -# PROP BASE Intermediate_Dir "Debug" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "" -# PROP Intermediate_Dir "Debug" -# PROP Target_Dir "" -OUTDIR=. -INTDIR=.\Debug - -ALL : "$(OUTDIR)\9118DbF.exe" - -CLEAN : - -@erase ".\Debug\vc40.pdb" - -@erase ".\Debug\vc40.idb" - -@erase ".\9118DbF.exe" - -@erase ".\Debug\9118DbF.obj" - -@erase ".\9118DbF.ilk" - -@erase ".\9118DbF.pdb" - -"$(INTDIR)" : - if not exist "$(INTDIR)/$(NULL)" mkdir "$(INTDIR)" - -# ADD BASE CPP /nologo /W3 /Gm /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /YX /c -# ADD CPP /nologo /W3 /Gm /GX /Zi /Od /I "..\..\..\include" /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /c -# SUBTRACT CPP /YX -CPP_PROJ=/nologo /MLd /W3 /Gm /GX /Zi /Od /I "..\..\..\include" /D "WIN32" /D\ - "_DEBUG" /D "_CONSOLE" /Fo"$(INTDIR)/" /Fd"$(INTDIR)/" /c -CPP_OBJS=.\Debug/ -CPP_SBRS= -# ADD BASE RSC /l 0x404 /d "_DEBUG" -# ADD RSC /l 0x404 /d "_DEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -BSC32_FLAGS=/nologo /o"$(OUTDIR)/9118DbF.bsc" -BSC32_SBRS= -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /debug /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ..\..\..\lib\pci-dask.lib /nologo /subsystem:console /debug /machine:I386 -LINK32_FLAGS=kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib\ - advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib\ - odbccp32.lib ..\..\..\lib\pci-dask.lib /nologo /subsystem:console\ - /incremental:yes /pdb:"$(OUTDIR)/9118DbF.pdb" /debug /machine:I386\ - /out:"$(OUTDIR)/9118DbF.exe" -LINK32_OBJS= \ - ".\Debug\9118DbF.obj" - -"$(OUTDIR)\9118DbF.exe" : "$(OUTDIR)" $(DEF_FILE) $(LINK32_OBJS) - $(LINK32) @<< - $(LINK32_FLAGS) $(LINK32_OBJS) -<< - -!ENDIF - -.c{$(CPP_OBJS)}.obj: - $(CPP) $(CPP_PROJ) $< - -.cpp{$(CPP_OBJS)}.obj: - $(CPP) $(CPP_PROJ) $< - -.cxx{$(CPP_OBJS)}.obj: - $(CPP) $(CPP_PROJ) $< - -.c{$(CPP_SBRS)}.sbr: - $(CPP) $(CPP_PROJ) $< - -.cpp{$(CPP_SBRS)}.sbr: - $(CPP) $(CPP_PROJ) $< - -.cxx{$(CPP_SBRS)}.sbr: - $(CPP) $(CPP_PROJ) $< - -################################################################################ -# Begin Target - -# Name "9118DbF - Win32 Release" -# Name "9118DbF - Win32 Debug" - -!IF "$(CFG)" == "9118DbF - Win32 Release" - -!ELSEIF "$(CFG)" == "9118DbF - Win32 Debug" - -!ENDIF - -################################################################################ -# Begin Source File - -SOURCE=.\9118DbF.c -DEP_CPP_9118D=\ - ".\..\..\..\include\dask.h"\ - - -"$(INTDIR)\9118DbF.obj" : $(SOURCE) $(DEP_CPP_9118D) "$(INTDIR)" - - -# End Source File -# End Target -# End Project -################################################################################ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9118/9118DbfAFile/9118DbF.mdp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9118/9118DbfAFile/9118DbF.mdp deleted file mode 100644 index c078095..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9118/9118DbfAFile/9118DbF.mdp and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9118/C9118DbfFile/9118DbF.c b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9118/C9118DbfFile/9118DbF.c deleted file mode 100644 index 912b830..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9118/C9118DbfFile/9118DbF.c +++ /dev/null @@ -1,57 +0,0 @@ -#include -#include -#include -#include "dask.h" - -U16 channel=3; //4 channels -U16 range=AD_B_5_V; -char *file_name="9118d"; -U32 read_count=2000; -F64 sample_rate=2000; - -main() -{ - I16 card, err, card_num; - BOOLEAN halfReady, fStop; - U32 count=0, count1; - - printf("This program inputs data from CH-0 to CH-%d of PCI-9118 in %d Hz by\ndouble-buffer mode, and store data to file '%s.dat'. The size of circular\nbuffer is %d. It will not stop until you press a key.\n\nPress any key to start the operation.\n", - channel, (int)sample_rate, file_name, read_count); - printf("Please input a card number: "); - scanf(" %d", &card_num); - //getch(); - if ((card=Register_Card (PCI_9118DG, card_num)) <0 ) { - printf("Register_Card error=%d", card); - exit(1); - } - err = AI_9118_Config(card, P9118_AI_BiPolar|P9118_AI_SingEnded, 0, 0, 0); - if (err!=0) { - printf("AI_9118_Config error=%d", err); - exit(1); - } - err = AI_AsyncDblBufferMode(card, 1); //double-buffer mode - if (err!=0) { - printf("AI_DblBufferMode error=%d", err); - exit(1); - } - err = AI_ContScanChannelsToFile(card, channel, range, file_name, read_count, sample_rate, ASYNCH_OP); - if (err!=0) { - printf("AI_ContReadChannel error=%d", err); - exit(1); - } - printf("\n\nPress any key to stop input operation."); - printf("\n\nData count : \n"); - do { - do { - AI_AsyncDblBufferHalfReady(card, &halfReady, &fStop); - } while (!halfReady); - AI_AsyncDblBufferTransfer(card, NULL); //transfer to file - count += (read_count / 2); - printf("%d\r", count); - } while(!kbhit()); - AI_AsyncClear(card, &count1); - Release_Card(card); - printf("\n\n%d input data are stored in file '%s.dat'.\n", count, file_name); - printf("\nPress ENTER to exit the program. "); getch(); -} - \ No newline at end of file diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9118/C9118DbfFile/9118DbF.exe b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9118/C9118DbfFile/9118DbF.exe deleted file mode 100644 index b11ac7c..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9118/C9118DbfFile/9118DbF.exe and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9118/C9118DbfFile/9118DbF.mak b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9118/C9118DbfFile/9118DbF.mak deleted file mode 100644 index 5165b26..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9118/C9118DbfFile/9118DbF.mak +++ /dev/null @@ -1,196 +0,0 @@ -# Microsoft Developer Studio Generated NMAKE File, Format Version 4.00 -# ** DO NOT EDIT ** - -# TARGTYPE "Win32 (x86) Console Application" 0x0103 - -!IF "$(CFG)" == "" -CFG=9118DbF - Win32 Debug -!MESSAGE No configuration specified. Defaulting to 9118DbF - Win32 Debug. -!ENDIF - -!IF "$(CFG)" != "9118DbF - Win32 Release" && "$(CFG)" !=\ - "9118DbF - Win32 Debug" -!MESSAGE Invalid configuration "$(CFG)" specified. -!MESSAGE You can specify a configuration when running NMAKE on this makefile -!MESSAGE by defining the macro CFG on the command line. For example: -!MESSAGE -!MESSAGE NMAKE /f "9118DbF.mak" CFG="9118DbF - Win32 Debug" -!MESSAGE -!MESSAGE Possible choices for configuration are: -!MESSAGE -!MESSAGE "9118DbF - Win32 Release" (based on "Win32 (x86) Console Application") -!MESSAGE "9118DbF - Win32 Debug" (based on "Win32 (x86) Console Application") -!MESSAGE -!ERROR An invalid configuration is specified. -!ENDIF - -!IF "$(OS)" == "Windows_NT" -NULL= -!ELSE -NULL=nul -!ENDIF -################################################################################ -# Begin Project -# PROP Target_Last_Scanned "9118DbF - Win32 Debug" -RSC=rc.exe -CPP=cl.exe - -!IF "$(CFG)" == "9118DbF - Win32 Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "Release" -# PROP BASE Intermediate_Dir "Release" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "" -# PROP Intermediate_Dir "Release" -# PROP Target_Dir "" -OUTDIR=. -INTDIR=.\Release - -ALL : "$(OUTDIR)\9118DbF.exe" - -CLEAN : - -@erase ".\9118DbF.exe" - -@erase ".\Release\9118DbF.obj" - -"$(INTDIR)" : - if not exist "$(INTDIR)/$(NULL)" mkdir "$(INTDIR)" - -# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /YX /c -# ADD CPP /nologo /W3 /GX /O2 /I "..\..\..\include" /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /c -# SUBTRACT CPP /YX -CPP_PROJ=/nologo /ML /W3 /GX /O2 /I "..\..\..\include" /D "WIN32" /D "NDEBUG"\ - /D "_CONSOLE" /Fo"$(INTDIR)/" /c -CPP_OBJS=.\Release/ -CPP_SBRS= -# ADD BASE RSC /l 0x404 /d "NDEBUG" -# ADD RSC /l 0x404 /d "NDEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -BSC32_FLAGS=/nologo /o"$(OUTDIR)/9118DbF.bsc" -BSC32_SBRS= -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ..\..\..\lib\pci-dask.lib /nologo /subsystem:console /machine:I386 -LINK32_FLAGS=kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib\ - advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib\ - odbccp32.lib ..\..\..\lib\pci-dask.lib /nologo /subsystem:console\ - /incremental:no /pdb:"$(OUTDIR)/9118DbF.pdb" /machine:I386\ - /out:"$(OUTDIR)/9118DbF.exe" -LINK32_OBJS= \ - ".\Release\9118DbF.obj" - -"$(OUTDIR)\9118DbF.exe" : "$(OUTDIR)" $(DEF_FILE) $(LINK32_OBJS) - $(LINK32) @<< - $(LINK32_FLAGS) $(LINK32_OBJS) -<< - -!ELSEIF "$(CFG)" == "9118DbF - Win32 Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "Debug" -# PROP BASE Intermediate_Dir "Debug" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "" -# PROP Intermediate_Dir "Debug" -# PROP Target_Dir "" -OUTDIR=. -INTDIR=.\Debug - -ALL : "$(OUTDIR)\9118DbF.exe" - -CLEAN : - -@erase ".\Debug\vc40.pdb" - -@erase ".\Debug\vc40.idb" - -@erase ".\9118DbF.exe" - -@erase ".\Debug\9118DbF.obj" - -@erase ".\9118DbF.ilk" - -@erase ".\9118DbF.pdb" - -"$(INTDIR)" : - if not exist "$(INTDIR)/$(NULL)" mkdir "$(INTDIR)" - -# ADD BASE CPP /nologo /W3 /Gm /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /YX /c -# ADD CPP /nologo /W3 /Gm /GX /Zi /Od /I "..\..\..\include" /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /c -# SUBTRACT CPP /YX -CPP_PROJ=/nologo /MLd /W3 /Gm /GX /Zi /Od /I "..\..\..\include" /D "WIN32" /D\ - "_DEBUG" /D "_CONSOLE" /Fo"$(INTDIR)/" /Fd"$(INTDIR)/" /c -CPP_OBJS=.\Debug/ -CPP_SBRS= -# ADD BASE RSC /l 0x404 /d "_DEBUG" -# ADD RSC /l 0x404 /d "_DEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -BSC32_FLAGS=/nologo /o"$(OUTDIR)/9118DbF.bsc" -BSC32_SBRS= -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /debug /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ..\..\..\lib\pci-dask.lib /nologo /subsystem:console /debug /machine:I386 -LINK32_FLAGS=kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib\ - advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib\ - odbccp32.lib ..\..\..\lib\pci-dask.lib /nologo /subsystem:console\ - /incremental:yes /pdb:"$(OUTDIR)/9118DbF.pdb" /debug /machine:I386\ - /out:"$(OUTDIR)/9118DbF.exe" -LINK32_OBJS= \ - ".\Debug\9118DbF.obj" - -"$(OUTDIR)\9118DbF.exe" : "$(OUTDIR)" $(DEF_FILE) $(LINK32_OBJS) - $(LINK32) @<< - $(LINK32_FLAGS) $(LINK32_OBJS) -<< - -!ENDIF - -.c{$(CPP_OBJS)}.obj: - $(CPP) $(CPP_PROJ) $< - -.cpp{$(CPP_OBJS)}.obj: - $(CPP) $(CPP_PROJ) $< - -.cxx{$(CPP_OBJS)}.obj: - $(CPP) $(CPP_PROJ) $< - -.c{$(CPP_SBRS)}.sbr: - $(CPP) $(CPP_PROJ) $< - -.cpp{$(CPP_SBRS)}.sbr: - $(CPP) $(CPP_PROJ) $< - -.cxx{$(CPP_SBRS)}.sbr: - $(CPP) $(CPP_PROJ) $< - -################################################################################ -# Begin Target - -# Name "9118DbF - Win32 Release" -# Name "9118DbF - Win32 Debug" - -!IF "$(CFG)" == "9118DbF - Win32 Release" - -!ELSEIF "$(CFG)" == "9118DbF - Win32 Debug" - -!ENDIF - -################################################################################ -# Begin Source File - -SOURCE=.\9118DbF.c -DEP_CPP_9118D=\ - ".\..\..\..\include\dask.h"\ - - -"$(INTDIR)\9118DbF.obj" : $(SOURCE) $(DEP_CPP_9118D) "$(INTDIR)" - - -# End Source File -# End Target -# End Project -################################################################################ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9118/C9118DbfFile/9118DbF.mdp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9118/C9118DbfFile/9118DbF.mdp deleted file mode 100644 index 9fe34b9..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9118/C9118DbfFile/9118DbF.mdp and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9118/C9118File/9118FILE.C b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9118/C9118File/9118FILE.C deleted file mode 100644 index 4f58960..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9118/C9118File/9118FILE.C +++ /dev/null @@ -1,43 +0,0 @@ -#include -#include -#include -#include "dask.h" - -U16 channel=3; //4 channels -U16 range=AD_B_5_V; -char *file_name="9118d"; -U32 read_count=1000; -F64 sample_rate=10000; - -main() -{ - I16 card, err, card_num; - - printf("This program inputs %d data from CH-0 to CH-%d of PCI-9118 in %d Hz, and\nstore data to file '%s'.\nPlease press any key to start the operation.\n", read_count, channel, (int)sample_rate, file_name); - printf("Please input a card number: "); - scanf(" %d", &card_num); - //getch(); - if ((card=Register_Card (PCI_9118DG, card_num)) <0 ) { - printf("Register_Card error=%d", card); - exit(1); - } - err = AI_9118_Config(card, P9118_AI_BiPolar|P9118_AI_SingEnded, 0, 0, 0); - if (err!=0) { - printf("AI_9118_Config error=%d", err); - exit(1); - } - err = AI_AsyncDblBufferMode(card, 0); - if (err!=0) { - printf("AI_DblBufferMode error=%d", err); - exit(1); - } - err = AI_ContScanChannelsToFile(card, channel, range, file_name, read_count, sample_rate, SYNCH_OP); - if (err!=0) { - printf("AI_ContReadChannel error=%d", err); - exit(1); - } - Release_Card(card); - printf("\n\nThe input data is already stored in file '%s.dat'.\n", file_name); - printf("\nPress ENTER to exit the program. "); getch(); -} - \ No newline at end of file diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9118/C9118File/9118File.exe b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9118/C9118File/9118File.exe deleted file mode 100644 index 1aee955..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9118/C9118File/9118File.exe and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9118/C9118File/9118File.mak b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9118/C9118File/9118File.mak deleted file mode 100644 index b14e7d0..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9118/C9118File/9118File.mak +++ /dev/null @@ -1,197 +0,0 @@ -# Microsoft Developer Studio Generated NMAKE File, Format Version 4.00 -# ** DO NOT EDIT ** - -# TARGTYPE "Win32 (x86) Console Application" 0x0103 - -!IF "$(CFG)" == "" -CFG=9118File - Win32 Debug -!MESSAGE No configuration specified. Defaulting to 9118File - Win32 Debug. -!ENDIF - -!IF "$(CFG)" != "9118File - Win32 Release" && "$(CFG)" !=\ - "9118File - Win32 Debug" -!MESSAGE Invalid configuration "$(CFG)" specified. -!MESSAGE You can specify a configuration when running NMAKE on this makefile -!MESSAGE by defining the macro CFG on the command line. For example: -!MESSAGE -!MESSAGE NMAKE /f "9118File.mak" CFG="9118File - Win32 Debug" -!MESSAGE -!MESSAGE Possible choices for configuration are: -!MESSAGE -!MESSAGE "9118File - Win32 Release" (based on\ - "Win32 (x86) Console Application") -!MESSAGE "9118File - Win32 Debug" (based on "Win32 (x86) Console Application") -!MESSAGE -!ERROR An invalid configuration is specified. -!ENDIF - -!IF "$(OS)" == "Windows_NT" -NULL= -!ELSE -NULL=nul -!ENDIF -################################################################################ -# Begin Project -# PROP Target_Last_Scanned "9118File - Win32 Debug" -RSC=rc.exe -CPP=cl.exe - -!IF "$(CFG)" == "9118File - Win32 Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "Release" -# PROP BASE Intermediate_Dir "Release" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "" -# PROP Intermediate_Dir "Release" -# PROP Target_Dir "" -OUTDIR=. -INTDIR=.\Release - -ALL : "$(OUTDIR)\9118File.exe" - -CLEAN : - -@erase ".\9118File.exe" - -@erase ".\Release\9118file.obj" - -"$(INTDIR)" : - if not exist "$(INTDIR)/$(NULL)" mkdir "$(INTDIR)" - -# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /YX /c -# ADD CPP /nologo /W3 /GX /Od /I "..\..\..\include" /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /c -# SUBTRACT CPP /YX -CPP_PROJ=/nologo /ML /W3 /GX /Od /I "..\..\..\include" /D "WIN32" /D "NDEBUG"\ - /D "_CONSOLE" /Fo"$(INTDIR)/" /c -CPP_OBJS=.\Release/ -CPP_SBRS= -# ADD BASE RSC /l 0x404 /d "NDEBUG" -# ADD RSC /l 0x404 /d "NDEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -BSC32_FLAGS=/nologo /o"$(OUTDIR)/9118File.bsc" -BSC32_SBRS= -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ..\..\..\lib\pci-dask.lib /nologo /subsystem:console /machine:I386 -LINK32_FLAGS=kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib\ - advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib\ - odbccp32.lib ..\..\..\lib\pci-dask.lib /nologo /subsystem:console\ - /incremental:no /pdb:"$(OUTDIR)/9118File.pdb" /machine:I386\ - /out:"$(OUTDIR)/9118File.exe" -LINK32_OBJS= \ - ".\Release\9118file.obj" - -"$(OUTDIR)\9118File.exe" : "$(OUTDIR)" $(DEF_FILE) $(LINK32_OBJS) - $(LINK32) @<< - $(LINK32_FLAGS) $(LINK32_OBJS) -<< - -!ELSEIF "$(CFG)" == "9118File - Win32 Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "Debug" -# PROP BASE Intermediate_Dir "Debug" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "" -# PROP Intermediate_Dir "Debug" -# PROP Target_Dir "" -OUTDIR=. -INTDIR=.\Debug - -ALL : "$(OUTDIR)\9118File.exe" - -CLEAN : - -@erase ".\Debug\vc40.pdb" - -@erase ".\Debug\vc40.idb" - -@erase ".\9118File.exe" - -@erase ".\Debug\9118file.obj" - -@erase ".\9118File.ilk" - -@erase ".\9118File.pdb" - -"$(INTDIR)" : - if not exist "$(INTDIR)/$(NULL)" mkdir "$(INTDIR)" - -# ADD BASE CPP /nologo /W3 /Gm /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /YX /c -# ADD CPP /nologo /W3 /Gm /GX /Zi /Od /I "..\..\..\include" /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /c -# SUBTRACT CPP /YX -CPP_PROJ=/nologo /MLd /W3 /Gm /GX /Zi /Od /I "..\..\..\include" /D "WIN32" /D\ - "_DEBUG" /D "_CONSOLE" /Fo"$(INTDIR)/" /Fd"$(INTDIR)/" /c -CPP_OBJS=.\Debug/ -CPP_SBRS= -# ADD BASE RSC /l 0x404 /d "_DEBUG" -# ADD RSC /l 0x404 /d "_DEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -BSC32_FLAGS=/nologo /o"$(OUTDIR)/9118File.bsc" -BSC32_SBRS= -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /debug /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ..\..\..\lib\pci-dask.lib /nologo /subsystem:console /debug /machine:I386 -LINK32_FLAGS=kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib\ - advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib\ - odbccp32.lib ..\..\..\lib\pci-dask.lib /nologo /subsystem:console\ - /incremental:yes /pdb:"$(OUTDIR)/9118File.pdb" /debug /machine:I386\ - /out:"$(OUTDIR)/9118File.exe" -LINK32_OBJS= \ - ".\Debug\9118file.obj" - -"$(OUTDIR)\9118File.exe" : "$(OUTDIR)" $(DEF_FILE) $(LINK32_OBJS) - $(LINK32) @<< - $(LINK32_FLAGS) $(LINK32_OBJS) -<< - -!ENDIF - -.c{$(CPP_OBJS)}.obj: - $(CPP) $(CPP_PROJ) $< - -.cpp{$(CPP_OBJS)}.obj: - $(CPP) $(CPP_PROJ) $< - -.cxx{$(CPP_OBJS)}.obj: - $(CPP) $(CPP_PROJ) $< - -.c{$(CPP_SBRS)}.sbr: - $(CPP) $(CPP_PROJ) $< - -.cpp{$(CPP_SBRS)}.sbr: - $(CPP) $(CPP_PROJ) $< - -.cxx{$(CPP_SBRS)}.sbr: - $(CPP) $(CPP_PROJ) $< - -################################################################################ -# Begin Target - -# Name "9118File - Win32 Release" -# Name "9118File - Win32 Debug" - -!IF "$(CFG)" == "9118File - Win32 Release" - -!ELSEIF "$(CFG)" == "9118File - Win32 Debug" - -!ENDIF - -################################################################################ -# Begin Source File - -SOURCE=.\9118file.c -DEP_CPP_9118F=\ - ".\..\..\..\include\dask.h"\ - - -"$(INTDIR)\9118file.obj" : $(SOURCE) $(DEP_CPP_9118F) "$(INTDIR)" - - -# End Source File -# End Target -# End Project -################################################################################ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9118/C9118File/9118File.mdp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9118/C9118File/9118File.mdp deleted file mode 100644 index c8eed5d..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9118/C9118File/9118File.mdp and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9118/SDK9118/Resource.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9118/SDK9118/Resource.h deleted file mode 100644 index b420d26..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9118/SDK9118/Resource.h +++ /dev/null @@ -1,25 +0,0 @@ -//{{NO_DEPENDENCIES}} -// Microsoft Developer Studio generated include file. -// Used by util9118.rc -// -#define IDM_SETUP 101 -#define IDD_DIALOG1 101 -#define IDM_EXIT 110 -#define ID_STOP 304 -#define DMA_SPACE 500 -#define IDC_COMBO2 1001 -#define IDC_COMBO3 1003 -#define IDC_COMBO1 1015 -#define IDC_COMBO4 1016 -#define IDC_STATIC -1 - -// Next default values for new objects -// -#ifdef APSTUDIO_INVOKED -#ifndef APSTUDIO_READONLY_SYMBOLS -#define _APS_NEXT_RESOURCE_VALUE 103 -#define _APS_NEXT_COMMAND_VALUE 102 -#define _APS_NEXT_CONTROL_VALUE 1005 -#define _APS_NEXT_SYMED_VALUE 101 -#endif -#endif diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9118/SDK9118/UTIL9118.EXE b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9118/SDK9118/UTIL9118.EXE deleted file mode 100644 index d363bf5..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9118/SDK9118/UTIL9118.EXE and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9118/SDK9118/UTIL9118.MAK b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9118/SDK9118/UTIL9118.MAK deleted file mode 100644 index 5884a72..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9118/SDK9118/UTIL9118.MAK +++ /dev/null @@ -1,219 +0,0 @@ -# Microsoft Developer Studio Generated NMAKE File, Format Version 4.00 -# ** DO NOT EDIT ** - -# TARGTYPE "Win32 (x86) Application" 0x0101 - -!IF "$(CFG)" == "" -CFG=util9118 - Win32 Debug -!MESSAGE No configuration specified. Defaulting to util9118 - Win32 Debug. -!ENDIF - -!IF "$(CFG)" != "util9118 - Win32 Release" && "$(CFG)" !=\ - "util9118 - Win32 Debug" -!MESSAGE Invalid configuration "$(CFG)" specified. -!MESSAGE You can specify a configuration when running NMAKE on this makefile -!MESSAGE by defining the macro CFG on the command line. For example: -!MESSAGE -!MESSAGE NMAKE /f "util9118.mak" CFG="util9118 - Win32 Debug" -!MESSAGE -!MESSAGE Possible choices for configuration are: -!MESSAGE -!MESSAGE "util9118 - Win32 Release" (based on "Win32 (x86) Application") -!MESSAGE "util9118 - Win32 Debug" (based on "Win32 (x86) Application") -!MESSAGE -!ERROR An invalid configuration is specified. -!ENDIF - -!IF "$(OS)" == "Windows_NT" -NULL= -!ELSE -NULL=nul -!ENDIF -################################################################################ -# Begin Project -# PROP Target_Last_Scanned "util9118 - Win32 Debug" -RSC=rc.exe -CPP=cl.exe -MTL=mktyplib.exe - -!IF "$(CFG)" == "util9118 - Win32 Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "Release" -# PROP BASE Intermediate_Dir "Release" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "" -# PROP Intermediate_Dir "Release" -# PROP Target_Dir "" -OUTDIR=. -INTDIR=.\Release - -ALL : "$(OUTDIR)\util9118.exe" - -CLEAN : - -@erase ".\util9118.exe" - -@erase ".\Release\Util9118.obj" - -@erase ".\Release\Util9118.res" - -"$(INTDIR)" : - if not exist "$(INTDIR)/$(NULL)" mkdir "$(INTDIR)" - -# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /YX /c -# ADD CPP /nologo /W3 /GX /Od /I "..\..\..\include" /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /c -# SUBTRACT CPP /YX -CPP_PROJ=/nologo /ML /W3 /GX /Od /I "..\..\..\include" /D "WIN32" /D "NDEBUG"\ - /D "_WINDOWS" /Fo"$(INTDIR)/" /c -CPP_OBJS=.\Release/ -CPP_SBRS= -# ADD BASE MTL /nologo /D "NDEBUG" /win32 -# ADD MTL /nologo /D "NDEBUG" /win32 -MTL_PROJ=/nologo /D "NDEBUG" /win32 -# ADD BASE RSC /l 0x409 /d "NDEBUG" -# ADD RSC /l 0x409 /d "NDEBUG" -RSC_PROJ=/l 0x409 /fo"$(INTDIR)/Util9118.res" /d "NDEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -BSC32_FLAGS=/nologo /o"$(OUTDIR)/util9118.bsc" -BSC32_SBRS= -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:windows /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ..\..\..\lib\pci-dask.lib /nologo /subsystem:windows /machine:I386 -LINK32_FLAGS=kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib\ - advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib\ - odbccp32.lib ..\..\..\lib\pci-dask.lib /nologo /subsystem:windows\ - /incremental:no /pdb:"$(OUTDIR)/util9118.pdb" /machine:I386\ - /out:"$(OUTDIR)/util9118.exe" -LINK32_OBJS= \ - ".\Release\Util9118.obj" \ - ".\Release\Util9118.res" - -"$(OUTDIR)\util9118.exe" : "$(OUTDIR)" $(DEF_FILE) $(LINK32_OBJS) - $(LINK32) @<< - $(LINK32_FLAGS) $(LINK32_OBJS) -<< - -!ELSEIF "$(CFG)" == "util9118 - Win32 Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "Debug" -# PROP BASE Intermediate_Dir "Debug" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "Debug" -# PROP Intermediate_Dir "Debug" -# PROP Target_Dir "" -OUTDIR=.\Debug -INTDIR=.\Debug - -ALL : "$(OUTDIR)\util9118.exe" - -CLEAN : - -@erase ".\Debug\vc40.pdb" - -@erase ".\Debug\vc40.idb" - -@erase ".\Debug\util9118.exe" - -@erase ".\Debug\Util9118.obj" - -@erase ".\Debug\Util9118.res" - -@erase ".\Debug\util9118.ilk" - -@erase ".\Debug\util9118.pdb" - -"$(OUTDIR)" : - if not exist "$(OUTDIR)/$(NULL)" mkdir "$(OUTDIR)" - -# ADD BASE CPP /nologo /W3 /Gm /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /YX /c -# ADD CPP /nologo /W3 /Gm /GX /Zi /Od /I "..\..\..\include" /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /c -# SUBTRACT CPP /YX -CPP_PROJ=/nologo /MLd /W3 /Gm /GX /Zi /Od /I "..\..\..\include" /D "WIN32" /D\ - "_DEBUG" /D "_WINDOWS" /Fo"$(INTDIR)/" /Fd"$(INTDIR)/" /c -CPP_OBJS=.\Debug/ -CPP_SBRS= -# ADD BASE MTL /nologo /D "_DEBUG" /win32 -# ADD MTL /nologo /D "_DEBUG" /win32 -MTL_PROJ=/nologo /D "_DEBUG" /win32 -# ADD BASE RSC /l 0x409 /d "_DEBUG" -# ADD RSC /l 0x409 /d "_DEBUG" -RSC_PROJ=/l 0x409 /fo"$(INTDIR)/Util9118.res" /d "_DEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -BSC32_FLAGS=/nologo /o"$(OUTDIR)/util9118.bsc" -BSC32_SBRS= -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:windows /debug /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ..\..\..\lib\pci-dask.lib /nologo /subsystem:windows /debug /machine:I386 -LINK32_FLAGS=kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib\ - advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib\ - odbccp32.lib ..\..\..\lib\pci-dask.lib /nologo /subsystem:windows\ - /incremental:yes /pdb:"$(OUTDIR)/util9118.pdb" /debug /machine:I386\ - /out:"$(OUTDIR)/util9118.exe" -LINK32_OBJS= \ - ".\Debug\Util9118.obj" \ - ".\Debug\Util9118.res" - -"$(OUTDIR)\util9118.exe" : "$(OUTDIR)" $(DEF_FILE) $(LINK32_OBJS) - $(LINK32) @<< - $(LINK32_FLAGS) $(LINK32_OBJS) -<< - -!ENDIF - -.c{$(CPP_OBJS)}.obj: - $(CPP) $(CPP_PROJ) $< - -.cpp{$(CPP_OBJS)}.obj: - $(CPP) $(CPP_PROJ) $< - -.cxx{$(CPP_OBJS)}.obj: - $(CPP) $(CPP_PROJ) $< - -.c{$(CPP_SBRS)}.sbr: - $(CPP) $(CPP_PROJ) $< - -.cpp{$(CPP_SBRS)}.sbr: - $(CPP) $(CPP_PROJ) $< - -.cxx{$(CPP_SBRS)}.sbr: - $(CPP) $(CPP_PROJ) $< - -################################################################################ -# Begin Target - -# Name "util9118 - Win32 Release" -# Name "util9118 - Win32 Debug" - -!IF "$(CFG)" == "util9118 - Win32 Release" - -!ELSEIF "$(CFG)" == "util9118 - Win32 Debug" - -!ENDIF - -################################################################################ -# Begin Source File - -SOURCE=.\Util9118.rc - -"$(INTDIR)\Util9118.res" : $(SOURCE) "$(INTDIR)" - $(RSC) $(RSC_PROJ) $(SOURCE) - - -# End Source File -################################################################################ -# Begin Source File - -SOURCE=.\Util9118.c -DEP_CPP_UTIL9=\ - ".\..\..\..\include\dask.h"\ - - -"$(INTDIR)\Util9118.obj" : $(SOURCE) $(DEP_CPP_UTIL9) "$(INTDIR)" - - -# End Source File -# End Target -# End Project -################################################################################ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9118/SDK9118/UTIL9118.MDP b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9118/SDK9118/UTIL9118.MDP deleted file mode 100644 index d809b0b..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9118/SDK9118/UTIL9118.MDP and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9118/SDK9118/Util9118.c b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9118/SDK9118/Util9118.c deleted file mode 100644 index baa7212..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9118/SDK9118/Util9118.c +++ /dev/null @@ -1,832 +0,0 @@ -#include -#include -#include -#include -#include -#include -#include "dask.h" -#include "resource.h" - -#define IDM_EXIT 110 -#define IDM_SETUP 101 - -#define IDC_SCROLL 207 -#define IDC_SPIN 301 -#define IDC_START 208 -#define IDC_STOP 209 -#define IDC_PAUSE 210 -#define IDC_EDIT 211 -#define IDC_GAIN 212 -#define IDC_DA 400 -#define TIMER1 1 -#define NONE 0 - -int PASCAL WinMain(HANDLE, HANDLE, LPSTR, int); -long PASCAL MainWndProc(HWND, UINT, WPARAM, LPARAM); - -HANDLE hInst; -HWND hAddrComboBox, hCardComboBox; -HWND hADComboBox1; -HWND hADComboBox2; -HWND hADComboBox3; -HWND hADComboBox4; -HWND hADComboBox5; -HWND hADComboBox6; -HWND hADScroll; -HWND hEdit; -HWND MainhWnd; - -I16 card=-1, card_number=0; -U16 input=0, output=0; -I16 oldinput=0,analog_input[16],adinput[16],old_adinput1[16],old_adinput2[16]; -U8 input_lo=0, input_hi=0; -//EventHandles hEnts; - -LPSTR AD_Range[2][8]={{"+/-5V","+/-2.5V","+/-1.25V","+/-0.625V","0-10V","0-5V","0-2.5V","0-1.25V"}, - {"+/-5V","+/-0.5V","+/-0.05V","+/-0.005V","0-10V","0-1V","0-0.1V","0-0.01V"} - } ; -I16 range_value[2][8]={{AD_B_5_V, AD_B_2_5_V, AD_B_1_25_V, AD_B_0_625_V, AD_U_10_V, AD_U_5_V, AD_U_2_5_V, AD_U_1_25_V}, - {AD_B_5_V, AD_B_0_5_V, AD_B_0_05_V, AD_B_0_005_V, AD_U_10_V, AD_U_1_V, AD_U_0_1_V, AD_U_0_01_V} - }; - -I16 Card_Type=PCI_9118DG; -I16 card_value[3] = {PCI_9118DG, PCI_9118HR, PCI_9118HG}; -LPSTR Card_Name[3]={"PCI9118DG", "PCI9118HR", "PCI9118HG"}; - -HBRUSH hLTGreenBrush,hGreenBrush,hBlueBrush,hYellowBrush,hRedBrush,hBlackBrush,hWhiteBrush,hLTRedBrush,hLTBlueBrush; -HPEN hRedPen,hYellowPen,hGreenPen,hBluePen,hLTBluePen,hLTRedPen,hLTGreenPen,hWhitePen; - -I16 sample_rate=10, time_interval, range=AD_B_5_V; - -int Input_Mode=P9118_AI_SingEnded; -int Input_Signal=P9118_AI_BiPolar; - -POINT input_pos[16]= {{470, 280}, {440, 280}, - {410, 280}, {380, 280}, - {350, 280}, {320, 280}, - { 290, 280}, {260, 280}, - {230, 280}, {200, 280}, - {170, 280}, {140, 280}, - {110, 280}, {80, 280}, - { 50, 280}, { 20, 280}, - }; -POINT output_pos[16] ={ - {470, 340}, {440, 340}, - {410, 340}, {380, 340}, - {350, 340}, {320, 340}, - { 290, 340}, {260, 340}, - {230, 340}, {200, 340}, - {170, 340}, {140, 340}, - {110, 340}, {80, 340}, - { 50, 340}, { 20, 340}, - }; - -POINT io_pos[16] ={ - {395, 40}, {370, 40}, - {345, 40}, {320, 40}, - {295, 40}, {270, 40}, - { 245, 40}, {220, 40}, - {195, 40}, {170, 40}, - {145, 40}, {120, 40}, - {95, 40}, {70, 40}, - { 45, 40}, { 20, 40}, - }; - -BOOL bCheck1[8],bCheck2[8],bStart=FALSE,bStop=FALSE,bPause=FALSE; -BOOL InitApplication(HANDLE); -BOOL InitInstance(HANDLE, int); - -int PASCAL WinMain(hInstance, hPrevInstance, lpCmdLine, nCmdShow) -HANDLE hInstance, hPrevInstance; -LPSTR lpCmdLine; -int nCmdShow; -{ - MSG msg; - - if (!hPrevInstance) - if (!InitApplication(hInstance)) return(FALSE); - if (!InitInstance(hInstance, nCmdShow)) return(FALSE); - while (GetMessage(&msg, NULL, NULL, NULL)) { - TranslateMessage(&msg); - DispatchMessage(&msg); - } - return(msg.wParam); -} - -BOOL InitApplication(hInstance) -HANDLE hInstance; -{ - WNDCLASS wc; - - /* Main Window Class */ - wc.style = NULL; - wc.lpfnWndProc = (WNDPROC)MainWndProc; - wc.cbClsExtra = 0; - wc.cbWndExtra = 0; - wc.hInstance = hInstance; - wc.hIcon = LoadIcon(hInstance, "MyIcon"); - wc.hCursor = LoadCursor(NULL, IDC_ARROW); - wc.hbrBackground = GetStockObject(LTGRAY_BRUSH); - wc.lpszMenuName = NULL; - wc.lpszClassName = "GenericWClass"; - if (!RegisterClass(&wc)) return(FALSE); -} - - -BOOL InitInstance(hInstance, nCmdShow) -HANDLE hInstance; -int nCmdShow; -{ - HWND hWnd; - HMENU hSampleMenu; - - hInst = hInstance; - hSampleMenu = LoadMenu(hInstance, "U7120Menu"); - hWnd = CreateWindow("GenericWClass", - (LPCSTR)"9118", - WS_OVERLAPPEDWINDOW, - CW_USEDEFAULT, - CW_USEDEFAULT, - 530, - 480, - NULL, - hSampleMenu, - hInstance, - NULL); - MainhWnd=hWnd; - if (!hWnd) return(FALSE); - ShowWindow(hWnd, nCmdShow); - UpdateWindow(hWnd); - return(TRUE); -} - -BOOL PASCAL setup(HWND hWnd, unsigned message, WPARAM wParam, LPARAM lParam) -{ - int i; - char n[16]; - char s[50]; - switch (message) { - case WM_INITDIALOG: - for (i=0; i<3; i++) - SendMessage(GetDlgItem(hWnd,IDC_COMBO1), CB_ADDSTRING, NULL, (LONG)(LPSTR) Card_Name[i]); - for (i=0;i<16;i++) { - wsprintf(n, "%d", i); - _strupr(n); - SendMessage(GetDlgItem(hWnd,IDC_COMBO4), CB_ADDSTRING, NULL, (LONG)(LPSTR) n); - } - SendMessage(GetDlgItem(hWnd,IDC_COMBO2), CB_ADDSTRING, NULL, (LONG)(LPSTR)"Bipolar"); - SendMessage(GetDlgItem(hWnd,IDC_COMBO2), CB_ADDSTRING, NULL, (LONG)(LPSTR)"Unipolar"); - - SendMessage(GetDlgItem(hWnd,IDC_COMBO3), CB_ADDSTRING, NULL, (LONG)(LPSTR)"Single Ended"); - SendMessage(GetDlgItem(hWnd,IDC_COMBO3), CB_ADDSTRING, NULL, (LONG)(LPSTR)"Differential"); - - SendMessage(GetDlgItem(hWnd,IDC_COMBO1) , CB_SETCURSEL, 0, 0L); - SendMessage(GetDlgItem(hWnd,IDC_COMBO2) , CB_SETCURSEL, 0, 0L); - SendMessage(GetDlgItem(hWnd,IDC_COMBO3) , CB_SETCURSEL, 0, 0L); - SendMessage(GetDlgItem(hWnd,IDC_COMBO4) , CB_SETCURSEL, 0, 0L); - - break; - case WM_COMMAND: - switch(LOWORD(wParam)) { - case IDC_COMBO1: - if (HIWORD(wParam) == CBN_CLOSEUP) { - i = (int)SendMessage(GetDlgItem(hWnd,IDC_COMBO1), CB_GETCURSEL, 0, 0L); - SendMessage(GetDlgItem(hWnd,IDC_COMBO1), CB_GETLBTEXT, i, (LPARAM)((LPCSTR)n)); - Card_Type = card_value[i]; - } - return(TRUE); - case IDC_COMBO2: - if (HIWORD(wParam) == CBN_CLOSEUP) { - i = (int)SendMessage(GetDlgItem(hWnd,IDC_COMBO2), CB_GETCURSEL, 0, 0L); - SendMessage(GetDlgItem(hWnd,IDC_COMBO2), CB_GETLBTEXT, i, (LPARAM)((LPCSTR)n)); - if (i == 0) Input_Signal = P9118_AI_BiPolar; - else Input_Signal = P9118_AI_UniPolar; - } - return(TRUE); - case IDC_COMBO3: - if (HIWORD(wParam) == CBN_CLOSEUP) { - i = (int)SendMessage(GetDlgItem(hWnd,IDC_COMBO3), CB_GETCURSEL, 0, 0L); - SendMessage(GetDlgItem(hWnd,IDC_COMBO3), CB_GETLBTEXT, i, (LPARAM)((LPCSTR)n)); - if (i == 0) Input_Mode = P9118_AI_SingEnded; - else Input_Mode = P9118_AI_Differential; - } - return(TRUE); - case IDC_COMBO4: - if (HIWORD(wParam) == CBN_CLOSEUP) { - i = (int)SendMessage(GetDlgItem(hWnd,IDC_COMBO4), CB_GETCURSEL, 0, 0L); - SendMessage(GetDlgItem(hWnd,IDC_COMBO4), CB_GETLBTEXT, i, (LPARAM)((LPCSTR)n)); - card_number = i; - } - return(TRUE); - case IDOK: - if (card<0) { - if ((card=Register_Card(PCI_9118DG, card_number)) < 0) { - wsprintf(s, "Register_Card Error = %d\n", card); - MessageBox(hWnd, s, "Error", MB_OK); - SendMessage(hWnd, WM_CLOSE, 0, 0L); - break; - } - } - AI_9118_Config(card,Input_Signal|Input_Mode,0,0,0); - EndDialog(hWnd, TRUE); - InvalidateRect(MainhWnd, NULL, FALSE); - SendMessage(hAddrComboBox, CB_RESETCONTENT, 0L, 0L); - for (i=0;i<8;i++) { - SendMessage(hAddrComboBox, CB_ADDSTRING, NULL, (LONG)AD_Range[(Card_Type==PCI_9118HG)?1:0][i]); - } - SendMessage(hAddrComboBox ,CB_SETCURSEL, 0, 0L); - return (TRUE); - case IDCANCEL: - EndDialog(hWnd, TRUE); - return (TRUE); - } - break; - } - return (FALSE); -} - -long PASCAL MainWndProc(hWnd, message, wParam, lParam) -HWND hWnd; -UINT message; -WPARAM wParam; -LPARAM lParam; -{ - HDC hDC; - PAINTSTRUCT ps; - int i, k, px, py; - char n[15]; - FARPROC lpProc; - double Pi = 3.1415926535; - static U16 pos=0; - - switch(message) { - case WM_CREATE: - for (i=0;i<8;i++) { - bCheck1[i]=FALSE; - bCheck2[i]=FALSE; - old_adinput1[i]=-1; - old_adinput2[i]=-1; - } - - hAddrComboBox = CreateWindow("ComboBox", NULL, - CBS_DROPDOWNLIST | WS_CHILD | WS_VISIBLE | WS_VSCROLL, - output_pos[4].x+90, io_pos[0].y+70, 85, 120, hWnd, IDC_GAIN, hInst, NULL); - for (i=0;i<8;i++) { - SendMessage(hAddrComboBox, CB_ADDSTRING, NULL, (LONG)AD_Range[0][i]); - } - SendMessage(hAddrComboBox ,CB_SETCURSEL, 0, 0L); - hADScroll=CreateWindow("SCROLLBAR", NULL, - WS_CHILD | WS_VISIBLE | SBS_HORZ, - output_pos[8].x+10, io_pos[15].y+200,190, 18, hWnd, IDC_SCROLL, hInst, NULL); - SetScrollRange(hADScroll,SB_CTL,0,4095,TRUE); - SetScrollPos(hADScroll,SB_CTL,0,TRUE); - - CreateWindow("BUTTON","Start" , - WS_CHILD | WS_VISIBLE , - output_pos[10].x+110, output_pos[10].y+50,50, 30, hWnd, IDC_START, hInst, NULL); - - CreateWindow("BUTTON","Stop" , - WS_CHILD | WS_VISIBLE , - output_pos[10].x+170, output_pos[10].y+50,50, 30, hWnd, IDC_STOP, hInst, NULL); - - CreateWindow("BUTTON","Pause" , - WS_CHILD | WS_VISIBLE , - output_pos[10].x+230, output_pos[10].y+50,50, 30, hWnd, IDC_PAUSE, hInst, NULL); - - - CreateWindow("BUTTON","0" , - WS_CHILD | WS_VISIBLE | BS_RADIOBUTTON | BS_LEFTTEXT , - output_pos[4].x+50, io_pos[0].y-5,25,15, hWnd,IDC_DA, hInst, NULL); - - CreateWindow("BUTTON","1" , - WS_CHILD | WS_VISIBLE | BS_RADIOBUTTON | BS_LEFTTEXT, - output_pos[4].x+50, io_pos[0].y+13,25,15, hWnd,IDC_DA+1, hInst, NULL); - - CreateWindow("BUTTON","2" , - WS_CHILD | WS_VISIBLE | BS_RADIOBUTTON | BS_LEFTTEXT, - output_pos[4].x+50, io_pos[0].y+31,25,15, hWnd,IDC_DA+2, hInst, NULL); - - CreateWindow("BUTTON","3" , - WS_CHILD | WS_VISIBLE | BS_RADIOBUTTON | BS_LEFTTEXT, - output_pos[4].x+50, io_pos[0].y+49,25,15, hWnd,IDC_DA+3, hInst, NULL); - - CreateWindow("BUTTON","4" , - WS_CHILD | WS_VISIBLE | BS_RADIOBUTTON | BS_LEFTTEXT, - output_pos[4].x+100, io_pos[0].y-5,25,15, hWnd,IDC_DA+4, hInst, NULL); - - CreateWindow("BUTTON","5" , - WS_CHILD | WS_VISIBLE | BS_RADIOBUTTON | BS_LEFTTEXT, - output_pos[4].x+100, io_pos[0].y+13,25,15, hWnd, IDC_DA+5, hInst, NULL); - - CreateWindow("BUTTON","6" , - WS_CHILD | WS_VISIBLE | BS_RADIOBUTTON | BS_LEFTTEXT, - output_pos[4].x+100, io_pos[0].y+31,25,15, hWnd,IDC_DA+6, hInst, NULL); - - CreateWindow("BUTTON","7" , - WS_CHILD | WS_VISIBLE | BS_RADIOBUTTON | BS_LEFTTEXT, - output_pos[4].x+100, io_pos[0].y+49,25,15, hWnd, IDC_DA+7, hInst, NULL); - - CreateWindow("BUTTON","0" , - WS_CHILD | WS_VISIBLE | BS_RADIOBUTTON | BS_LEFTTEXT, - output_pos[4].x+50, io_pos[0].y+97,25,15, hWnd, IDC_DA+8, hInst, NULL); - - CreateWindow("BUTTON","1" , - WS_CHILD | WS_VISIBLE | BS_RADIOBUTTON | BS_LEFTTEXT, - output_pos[4].x+50, io_pos[0].y+115,25,15, hWnd, IDC_DA+9, hInst, NULL); - - CreateWindow("BUTTON","2" , - WS_CHILD | WS_VISIBLE | BS_RADIOBUTTON | BS_LEFTTEXT, - output_pos[4].x+50, io_pos[0].y+133,25,15, hWnd, IDC_DA+10, hInst, NULL); - - CreateWindow("BUTTON","3" , - WS_CHILD | WS_VISIBLE | BS_RADIOBUTTON | BS_LEFTTEXT, - output_pos[4].x+50, io_pos[0].y+151,25,15, hWnd, IDC_DA+11, hInst, NULL); - - CreateWindow("BUTTON","4" , - WS_CHILD | WS_VISIBLE | BS_RADIOBUTTON | BS_LEFTTEXT, - output_pos[4].x+100, io_pos[0].y+97,25,15, hWnd, IDC_DA+12, hInst, NULL); - - CreateWindow("BUTTON","5" , - WS_CHILD | WS_VISIBLE | BS_RADIOBUTTON | BS_LEFTTEXT, - output_pos[4].x+100, io_pos[0].y+115,25,15, hWnd, IDC_DA+13, hInst, NULL); - - CreateWindow("BUTTON","6" , - WS_CHILD | WS_VISIBLE | BS_RADIOBUTTON | BS_LEFTTEXT, - output_pos[4].x+100, io_pos[0].y+133,25,15, hWnd, IDC_DA+14, hInst, NULL); - - CreateWindow("BUTTON","7" , - WS_CHILD | WS_VISIBLE | BS_RADIOBUTTON | BS_LEFTTEXT, - output_pos[4].x+100, io_pos[0].y+151,25,15, hWnd, IDC_DA+15, hInst, NULL); - - hLTGreenBrush = CreateSolidBrush(RGB(0, 255, 0)); - hGreenBrush = CreateSolidBrush(RGB(0, 128, 0)); - hBlueBrush = CreateSolidBrush(RGB(0, 0, 255)); - hRedBrush = CreateSolidBrush(RGB(255, 0, 0)); - hYellowBrush= CreateSolidBrush(RGB(255,255,0)); - hBlackBrush= CreateSolidBrush(RGB(0,0,0)); - hLTBlueBrush= CreateSolidBrush(RGB(0,255,255)); - hLTRedBrush= CreateSolidBrush(RGB(255,128,0)); - hWhiteBrush= CreateSolidBrush(RGB(255,255,255)); - hRedPen= CreatePen(PS_SOLID,1,RGB(255,0,0)); - hYellowPen= CreatePen(PS_SOLID,1,RGB(255,255,0)); - hBluePen= CreatePen(PS_SOLID,1,RGB(0,0,255)); - hGreenPen= CreatePen(PS_SOLID,1,RGB(0,255,0)); - hLTBluePen= CreatePen(PS_SOLID,1,RGB(0,128,255)); - hLTRedPen= CreatePen(PS_SOLID,1,RGB(255,128,0)); - hLTGreenPen= CreatePen(PS_SOLID,1,RGB(0,128,0)); - hWhitePen= CreatePen(PS_SOLID,1,RGB(255,255,255)); - break; - - case WM_PAINT: - hDC = BeginPaint(hWnd, &ps); - - // Digital Input Box - SelectObject(hDC, hLTGreenBrush); - Rectangle(hDC, input_pos[15].x-10, input_pos[15].y-14, input_pos[0].x+26, input_pos[0].y+40); - SetTextColor(hDC,RGB(255,255,255)); - SetBkColor(hDC, RGB(0, 0, 255)); - TextOut(hDC, input_pos[15].x, input_pos[15].y-18, "Digital Input",13); - - // Digital Output Box - SelectObject(hDC, hGreenBrush); - Rectangle(hDC, output_pos[15].x-10, output_pos[15].y-14, output_pos[0].x+26, output_pos[0].y+40); - SetTextColor(hDC,RGB(255,0,0)); - SetBkColor(hDC, RGB(0, 0, 255)); - TextOut(hDC, output_pos[15].x, output_pos[15].y-20, "Digital Output", 14); - - // Analog Input Box - SelectObject(hDC, GetStockObject(GRAY_BRUSH)); - Rectangle(hDC, output_pos[15].x-10, io_pos[15].y-24, output_pos[0].x+26, io_pos[0].y+175); - SetTextColor(hDC,RGB(255,255,0)); - SetBkColor(hDC, RGB(0, 0, 255)); - TextOut(hDC, io_pos[15].x, io_pos[15].y-35, "Analog Input(A/D)", 17); - - SelectObject(hDC, hBlackBrush); - Rectangle(hDC, output_pos[15].x+35, io_pos[15].y-2, output_pos[4].x+41, io_pos[0].y+83); - Rectangle(hDC, output_pos[15].x+35, io_pos[15].y+87, output_pos[4].x+41, io_pos[0].y+172); - - // Analog Output Box - SelectObject(hDC, GetStockObject(GRAY_BRUSH)); - Rectangle(hDC, output_pos[15].x-10, io_pos[15].y+180, output_pos[0].x+26, io_pos[0].y+225); - SetTextColor(hDC,RGB(255,255,0)); - SetBkColor(hDC, RGB(0, 0, 255)); - TextOut(hDC, io_pos[15].x, io_pos[15].y+175, "Analog Output(D/A)", 18); - - // Channel Label - SetTextColor(hDC,RGB(0,0,0)); - SetBkColor(hDC, RGB(0, 255, 0)); - TextOut(hDC, input_pos[15].x, input_pos[15].y+20, "15 0", 114); - SetBkColor(hDC, RGB(0, 128, 0)); - TextOut(hDC, output_pos[15].x, output_pos[15].y+20, "15 0", 114); - SetBkColor(hDC, RGB(0, 255, 0)); - - SelectObject(hDC,hYellowBrush ); - Rectangle(hDC,output_pos[4].x+78, io_pos[0].y-5,output_pos[4].x+90, io_pos[0].y+10); - Rectangle(hDC,output_pos[4].x+78, io_pos[0].y+97,output_pos[4].x+90, io_pos[0].y+112); - SelectObject(hDC, hGreenBrush); - Rectangle(hDC,output_pos[4].x+78, io_pos[0].y+13,output_pos[4].x+90, io_pos[0].y+28); - Rectangle(hDC,output_pos[4].x+78, io_pos[0].y+115,output_pos[4].x+90, io_pos[0].y+130); - SelectObject(hDC, hBlueBrush); - Rectangle(hDC,output_pos[4].x+78, io_pos[0].y+31,output_pos[4].x+90, io_pos[0].y+46); - Rectangle(hDC,output_pos[4].x+78, io_pos[0].y+133,output_pos[4].x+90, io_pos[0].y+148); - SelectObject(hDC, hRedBrush); - Rectangle(hDC,output_pos[4].x+78, io_pos[0].y+49,output_pos[4].x+90, io_pos[0].y+64); - Rectangle(hDC,output_pos[4].x+78, io_pos[0].y+151,output_pos[4].x+90, io_pos[0].y+166); - SelectObject(hDC, hLTBlueBrush); - Rectangle(hDC,output_pos[4].x+128, io_pos[0].y-5,output_pos[4].x+140, io_pos[0].y+10); - Rectangle(hDC,output_pos[4].x+128, io_pos[0].y+97,output_pos[4].x+140, io_pos[0].y+112); - SelectObject(hDC, hLTRedBrush); - Rectangle(hDC,output_pos[4].x+128, io_pos[0].y+13,output_pos[4].x+140, io_pos[0].y+28); - Rectangle(hDC,output_pos[4].x+128, io_pos[0].y+115,output_pos[4].x+140, io_pos[0].y+130); - SelectObject(hDC, hLTGreenBrush); - Rectangle(hDC,output_pos[4].x+128, io_pos[0].y+31,output_pos[4].x+140, io_pos[0].y+46); - Rectangle(hDC,output_pos[4].x+128, io_pos[0].y+133,output_pos[4].x+140, io_pos[0].y+148); - SelectObject(hDC, hWhiteBrush); - Rectangle(hDC,output_pos[4].x+128, io_pos[0].y+49,output_pos[4].x+140, io_pos[0].y+64); - Rectangle(hDC,output_pos[4].x+128, io_pos[0].y+151,output_pos[4].x+140, io_pos[0].y+166); - - //TextOut(hDC,output_pos[13].x+90, output_pos[15].y+56," PCI-9118 ",9); - - SetBkMode(hDC,TRANSPARENT); - TextOut(hDC,output_pos[8].x+20, io_pos[15].y+182,"-10 -6 -2 2 6 10",33); - //TextOut(hDC,output_pos[8].x+20, io_pos[15].y+182,"0 1 2 3 4 5",31); - TextOut(hDC,output_pos[4].x+50, io_pos[0].y+67,"Input",5); - TextOut(hDC,output_pos[4].x+50, io_pos[0].y+80,"Range",5); - TextOut(hDC,input_pos[15].x, io_pos[15].y-19,"Volts",5); - switch (range) { - case AD_B_5_V: - TextOut(hDC,input_pos[15].x-5, io_pos[15].y-5,"5.00",4); - TextOut(hDC,input_pos[15].x-8, io_pos[15].y+67,"-5.00",5); - TextOut(hDC,input_pos[15].x-5, io_pos[15].y+87,"5.00",4); - TextOut(hDC,input_pos[15].x-8, io_pos[15].y+159,"-5.00",5); - break; - case AD_B_2_5_V: - TextOut(hDC,input_pos[15].x-5, io_pos[15].y-5,"2.50",4); - TextOut(hDC,input_pos[15].x-8, io_pos[15].y+67,"-2.50",5); - TextOut(hDC,input_pos[15].x-5, io_pos[15].y+87,"2.50",4); - TextOut(hDC,input_pos[15].x-8, io_pos[15].y+159,"-2.50",5); - break; - case AD_B_1_25_V: - TextOut(hDC,input_pos[15].x-5, io_pos[15].y-5,"1.25",4); - TextOut(hDC,input_pos[15].x-8, io_pos[15].y+67,"-1.25",5); - TextOut(hDC,input_pos[15].x-5, io_pos[15].y+87,"1.25",4); - TextOut(hDC,input_pos[15].x-8, io_pos[15].y+159,"-1.25",5); - break; - case AD_B_0_625_V: - TextOut(hDC,input_pos[15].x-5, io_pos[15].y-5,"0.625",5); - TextOut(hDC,input_pos[15].x-8, io_pos[15].y+67,"-0.625",6); - TextOut(hDC,input_pos[15].x-5, io_pos[15].y+87,"0.625",5); - TextOut(hDC,input_pos[15].x-8, io_pos[15].y+159,"-0.625",6); - break; - case AD_B_0_5_V: - TextOut(hDC,input_pos[15].x-5, io_pos[15].y-5,"0.50",4); - TextOut(hDC,input_pos[15].x-8, io_pos[15].y+67,"-0.50",5); - TextOut(hDC,input_pos[15].x-5, io_pos[15].y+87,"0.50",4); - TextOut(hDC,input_pos[15].x-8, io_pos[15].y+159,"-0.50",5); - break; - case AD_B_0_05_V: - TextOut(hDC,input_pos[15].x-5, io_pos[15].y-5,"0.05",4); - TextOut(hDC,input_pos[15].x-8, io_pos[15].y+67,"-0.05",5); - TextOut(hDC,input_pos[15].x-5, io_pos[15].y+87,"0.05",4); - TextOut(hDC,input_pos[15].x-8, io_pos[15].y+159,"-0.05",5); - break; - case AD_B_0_005_V: - TextOut(hDC,input_pos[15].x-5, io_pos[15].y-5,"0.005",5); - TextOut(hDC,input_pos[15].x-8, io_pos[15].y+67,"-0.005",6); - TextOut(hDC,input_pos[15].x-5, io_pos[15].y+87,"0.005",5); - TextOut(hDC,input_pos[15].x-8, io_pos[15].y+159,"-0.005",6); - break; - case AD_U_10_V: - TextOut(hDC,input_pos[15].x-5, io_pos[15].y-5,"10.0",4); - TextOut(hDC,input_pos[15].x-5, io_pos[15].y+67," 0.0",4); - TextOut(hDC,input_pos[15].x-5, io_pos[15].y+87,"10.0",4); - TextOut(hDC,input_pos[15].x-5, io_pos[15].y+159," 0.0",4); - break; - case AD_U_5_V: - TextOut(hDC,input_pos[15].x-5, io_pos[15].y-5,"5.00",4); - TextOut(hDC,input_pos[15].x-5, io_pos[15].y+67,"0.00",4); - TextOut(hDC,input_pos[15].x-5, io_pos[15].y+87,"5.00",4); - TextOut(hDC,input_pos[15].x-5, io_pos[15].y+159,"0.00",4); - break; - case AD_U_2_5_V: - TextOut(hDC,input_pos[15].x-5, io_pos[15].y-5,"2.50",4); - TextOut(hDC,input_pos[15].x-5, io_pos[15].y+67,"0.00",4); - TextOut(hDC,input_pos[15].x-5, io_pos[15].y+87,"2.50",4); - TextOut(hDC,input_pos[15].x-5, io_pos[15].y+159,"0.00",4); - break; - case AD_U_1_25_V: - TextOut(hDC,input_pos[15].x-5, io_pos[15].y-5,"1.25",4); - TextOut(hDC,input_pos[15].x-5, io_pos[15].y+67,"0.00",4); - TextOut(hDC,input_pos[15].x-5, io_pos[15].y+87,"1.25",4); - TextOut(hDC,input_pos[15].x-5, io_pos[15].y+159,"0.00",4); - break; - case AD_U_1_V: - TextOut(hDC,input_pos[15].x-5, io_pos[15].y-5,"1.00",4); - TextOut(hDC,input_pos[15].x-5, io_pos[15].y+67,"0.00",4); - TextOut(hDC,input_pos[15].x-5, io_pos[15].y+87,"1.00",4); - TextOut(hDC,input_pos[15].x-5, io_pos[15].y+159,"0.00",4); - break; - case AD_U_0_1_V: - TextOut(hDC,input_pos[15].x-5, io_pos[15].y-5,"0.10",4); - TextOut(hDC,input_pos[15].x-5, io_pos[15].y+67,"0.00",4); - TextOut(hDC,input_pos[15].x-5, io_pos[15].y+87,"0.10",4); - TextOut(hDC,input_pos[15].x-5, io_pos[15].y+159,"0.00",4); - break; - case AD_U_0_01_V: - TextOut(hDC,input_pos[15].x-5, io_pos[15].y-5,"0.01",4); - TextOut(hDC,input_pos[15].x-5, io_pos[15].y+67,"0.00",4); - TextOut(hDC,input_pos[15].x-5, io_pos[15].y+87,"0.01",4); - TextOut(hDC,input_pos[15].x-5, io_pos[15].y+159,"0.00",4); - break; - } - - TextOut(hDC,input_pos[10].x, io_pos[10].y-19,"Signals",7); - TextOut(hDC,output_pos[4].x+50, io_pos[0].y-20,"Channel",7); - SetBkMode(hDC,OPAQUE); - - // Detect Channel Input - for (i=0; i<4; i++) { - if ((input>>i)&0x01) - SelectObject(hDC, hRedBrush); - else - SelectObject(hDC, GetStockObject(WHITE_BRUSH)); - Ellipse(hDC, input_pos[i].x, input_pos[i].y, input_pos[i].x+20, input_pos[i].y+20); - } - - // Channel Output - for (i=0; i<4; i++) { - if ((output>>i)&0x01) - SelectObject(hDC, hRedBrush); - else - SelectObject(hDC, GetStockObject(WHITE_BRUSH)); - Ellipse(hDC, output_pos[i].x, output_pos[i].y, output_pos[i].x+20, output_pos[i].y+20); - } - - EndPaint(hWnd, &ps); - break; - - case WM_HSCROLL: - switch(LOWORD(wParam)) { - case SB_THUMBPOSITION : - pos=HIWORD(wParam); - break; - } - SetScrollPos(lParam,SB_CTL,pos,TRUE); - break; - - case WM_COMMAND: - switch(LOWORD(wParam)) { - case IDM_EXIT: - SendMessage(hWnd, WM_CLOSE, 0, 0L); - break; - case IDM_SETUP: - lpProc = MakeProcInstance(setup, hInst); - DialogBox(hInst,IDD_DIALOG1,hWnd,lpProc); - FreeProcInstance(lpProc); - if(card<0) - SendMessage(hWnd, WM_CLOSE, 0, 0L); - break; - case IDC_START: - time_interval=1000/sample_rate; - SetTimer(hWnd, TIMER1, time_interval, NULL); - srand((unsigned)time(NULL)); - bStop=FALSE; - bPause=FALSE; - bStart=TRUE; - break; - case IDC_STOP: - KillTimer(hWnd, TIMER1); - bStop=TRUE; - bPause=FALSE; - bStart=FALSE; - hDC = GetDC(hWnd); - SelectObject(hDC, hBlackBrush); - Rectangle(hDC, output_pos[15].x+35, io_pos[15].y-2, output_pos[4].x+41, io_pos[0].y+83); - Rectangle(hDC, output_pos[15].x+35, io_pos[15].y+87, output_pos[4].x+41, io_pos[0].y+172); - ReleaseDC(hWnd, hDC); - break; - case IDC_PAUSE: - KillTimer(hWnd, TIMER1); - bStop=FALSE; - bPause=TRUE; - bStart=FALSE; - break; - case IDC_DA: - case IDC_DA+1: - case IDC_DA+2: - case IDC_DA+3: - case IDC_DA+4: - case IDC_DA+5: - case IDC_DA+6: - case IDC_DA+7: - k=LOWORD(wParam)-IDC_DA; - if (bCheck1[k]) { - SendMessage(GetDlgItem(hWnd,wParam), BM_SETCHECK, 0, 0); - bCheck1[k]=FALSE; - } - else { - SendMessage(GetDlgItem(hWnd,wParam), BM_SETCHECK, 1, 0); - bCheck1[k]=TRUE; - } - break; - case IDC_DA+8: - case IDC_DA+9: - case IDC_DA+10: - case IDC_DA+11: - case IDC_DA+12: - case IDC_DA+13: - case IDC_DA+14: - case IDC_DA+15: - k=LOWORD(wParam)-IDC_DA-8; - if (bCheck2[k]) { - SendMessage(GetDlgItem(hWnd,wParam), BM_SETCHECK, 0, 0); - bCheck2[k]=FALSE; - } - else { - SendMessage(GetDlgItem(hWnd,wParam), BM_SETCHECK, 1, 0); - bCheck2[k]=TRUE; - } - break; - case IDC_GAIN: - if (HIWORD(wParam) == CBN_CLOSEUP) { - if ((i=(int)SendMessage(GetDlgItem(hWnd,IDC_GAIN),CB_GETCURSEL, 0, 0L))>=0 ) { - SendMessage(GetDlgItem(hWnd,IDC_GAIN), CB_GETLBTEXT, i, (LPARAM)((LPCSTR)n)); - range = range_value[(Card_Type==PCI_9118HG)?1:0][i]; - InvalidateRect(hWnd, NULL, FALSE); - } - } - break; - case IDC_COMBO1: - if (HIWORD(wParam) == CBN_CLOSEUP) { - if ((i=(int)SendMessage(GetDlgItem(hWnd,IDC_COMBO1),CB_GETCURSEL, 0, 0L))>=0 ) { - SendMessage(GetDlgItem(hWnd,IDC_COMBO1), CB_GETLBTEXT, i, (LPARAM)((LPCSTR)n)); - Card_Type = card_value[i]; - InvalidateRect(hWnd, NULL, FALSE); - } - } - break; - default: - return(DefWindowProc(hWnd, message, wParam, lParam)); - } - break; - case WM_TIMER: - if (card >= 0) { - /* Digital Input */ - DI_ReadPort(card,0,&input); - hDC = GetDC(hWnd); - for (i=0; i<4; i++) { - if ( ((input>>i)&0x01) != ((oldinput>>i)&0x01) ) { - if ((input>>i)&0x01) - SelectObject(hDC, hRedBrush); - else - SelectObject(hDC, GetStockObject(WHITE_BRUSH)); - Ellipse(hDC, input_pos[i].x, input_pos[i].y, input_pos[i].x+20, input_pos[i].y+20); - } - } - oldinput=input; - /* Analog Input */ - BitBlt(hDC,output_pos[15].x+39,io_pos[15].y-2,331,85,hDC,output_pos[15].x+35,io_pos[15].y-2,SRCCOPY); - for (i=0;i<8;i++ ) { - if (bCheck1[i]) { - AI_ReadChannel(card, i, range, &analog_input[i]); - switch(i) { - case 0: - SelectObject(hDC, hYellowPen); - break; - case 1: - SelectObject(hDC, hGreenPen); - break; - case 2: - SelectObject(hDC, hBluePen); - break; - case 3: - SelectObject(hDC, hRedPen); - break; - case 4: - SelectObject(hDC, hLTBluePen); - break; - case 5: - SelectObject(hDC, hLTRedPen); - break; - case 6: - SelectObject(hDC, hLTGreenPen); - break; - case 7: - SelectObject(hDC, hWhitePen); - break; - } - if(Card_Type==PCI_9118HR) { - analog_input[i] = (I16)(analog_input[i] & 0xffff); - adinput[i]=io_pos[0].y+42-(43*(I16)analog_input[i])/32767; - } - else { - analog_input[i] = (analog_input[i] >> 4) & 0x0fff; - adinput[i]=io_pos[0].y+83-(85*(unsigned long)analog_input[i])/4095; - } - if (old_adinput1[i]!=-1 ) { - MoveToEx(hDC,output_pos[15].x+39,adinput[i],NULL ); - LineTo(hDC,output_pos[15].x+43,old_adinput1[i]); - } - old_adinput1[i]=adinput[i]; - } - } - BitBlt(hDC,output_pos[15].x+39,io_pos[15].y+87,331,85,hDC,output_pos[15].x+35,io_pos[15].y+87,SRCCOPY); - for (i=0;i<8;i++ ) { - if (bCheck2[i]) { - AI_ReadChannel(card, i+8, range, &analog_input[i+8]); - - switch(i) { - case 0: - SelectObject(hDC, hYellowPen); - break; - case 1: - SelectObject(hDC, hGreenPen); - break; - case 2: - SelectObject(hDC, hBluePen); - break; - case 3: - SelectObject(hDC, hRedPen); - break; - case 4: - SelectObject(hDC, hLTBluePen); - break; - case 5: - SelectObject(hDC, hLTRedPen); - break; - case 6: - SelectObject(hDC, hLTGreenPen); - break; - case 7: - SelectObject(hDC, hWhitePen); - break; - } - if(Card_Type==PCI_9118HR) { - analog_input[i+8] = (I16)(analog_input[i+8] & 0xffff); - adinput[i+8]=io_pos[0].y+125-(43*(I16)analog_input[i+8])/32767; - } - else { - analog_input[i+8] = (analog_input[i+8]>>4) & 0x0fff; - adinput[i+8]=io_pos[0].y+172-(85*(unsigned long)analog_input[i+8])/4095; - } - if (old_adinput2[i]!=-1 ) { - MoveToEx(hDC,output_pos[15].x+39,adinput[i+8],NULL); - LineTo(hDC,output_pos[15].x+43,old_adinput2[i]); - } - old_adinput2[i]=adinput[i+8]; - } - } - ReleaseDC(hWnd, hDC); - /*Analog Output */ - for (i=0; i<2; i++) { - AO_WriteChannel(card, i, pos); - } - } - break; - case WM_DESTROY: - if (card >= 0) Release_Card(card); - DeleteObject(hRedBrush); - DeleteObject(hGreenBrush); - DeleteObject(hLTGreenBrush); - DeleteObject(hYellowBrush); - DeleteObject(hBlueBrush) ; - DeleteObject(hBlackBrush); - DeleteObject(hRedPen); - DeleteObject(hYellowPen); - DeleteObject(hBluePen); - DeleteObject(hGreenPen); - DeleteObject(hLTBluePen); - DeleteObject(hLTRedPen); - DeleteObject(hLTGreenPen); - DeleteObject(hWhitePen); - PostQuitMessage(0); - break; - case WM_LBUTTONDOWN: - if (card >= 0) { - px = LOWORD(lParam); - py = HIWORD(lParam); - for (i=0; i<4; i++) { - if (px>output_pos[i].x && pxoutput_pos[i].y && py>i)&0x01) { - output -= (((unsigned int)1)< -#include -#include -#include -#include -#include "resource.h" -#include "Dask.h" - -#define IDM_EXIT 110 -#define IDC_SCROLL 207 -#define IDC_SPIN 301 -#define IDC_START 208 -#define IDC_STOP 209 -#define IDC_EDIT 211 -#define IDC_EDIT1 214 -#define IDC_EDIT2 215 -#define IDC_SHOW 213 -#define IDC_CH 400 - -int PASCAL WinMain(HANDLE, HANDLE, LPSTR, int); -long PASCAL MainWndProc(HWND, UINT, WPARAM, LPARAM); -BOOL PASCAL ShowDMA(HWND, UINT, WPARAM, LPARAM); - -HANDLE hInst; -HWND hListBox; -HWND hEdit,hEdit1,hEdit2, hStart, hStop; -BOOL bCheck[8]; - -HBRUSH hBlackBrush; -HPEN hRedPen, hBlackPen; -HWND hMainWnd; - -unsigned int sample_rate=10000; -U16 channel; -BOOLEAN fstop; -U32 data_size=1000, mem_size; -static HANDLE hMem=NULL; -U16 *ai_buf; -I16 card=-1, card_number = 0; -U32 count, postCount=512; -HANDLE hThread1, hThread2; -BOOLEAN clear_op; - -POINT input_pos[16]= {{470, 280}, {440, 280}, - {410, 280}, {380, 280}, - {350, 280}, {320, 280}, - { 290, 280}, {260, 280}, - {230, 280}, {200, 280}, - {170, 280}, {140, 280}, - {110, 280}, {80, 280}, - { 50, 280}, { 20, 280}, - }; -POINT output_pos[16] ={ - {470, 340}, {440, 340}, - {410, 340}, {380, 340}, - {350, 340}, {320, 340}, - { 290, 340}, {260, 340}, - {230, 340}, {200, 340}, - {170, 340}, {140, 340}, - {110, 340}, {80, 340}, - { 50, 340}, { 20, 340}, - }; - -POINT io_pos[16] ={ - {395, 40}, {370, 40}, - {345, 40}, {320, 40}, - {295, 40}, {270, 40}, - { 245, 40}, {220, 40}, - {195, 40}, {170, 40}, - {145, 40}, {120, 40}, - {95, 40}, {70, 40}, - { 45, 40}, { 20, 40}, - }; - -BOOL InitApplication(HANDLE); -BOOL InitInstance(HANDLE, int); -void ProcessThread(); - -int PASCAL WinMain(hInstance, hPrevInstance, lpCmdLine, nCmdShow) -HANDLE hInstance, hPrevInstance; -LPSTR lpCmdLine; -int nCmdShow; -{ - MSG msg; - - if (!hPrevInstance) - if (!InitApplication(hInstance)) return(FALSE); - if (!InitInstance(hInstance, nCmdShow)) return(FALSE); - while (GetMessage(&msg, NULL, NULL, NULL)) { - TranslateMessage(&msg); - DispatchMessage(&msg); - } - return(msg.wParam); -} - -BOOL InitApplication(hInstance) -HANDLE hInstance; -{ - WNDCLASS wc; - - /* Main Window Class */ - wc.style = NULL; - wc.lpfnWndProc = (WNDPROC)MainWndProc; - wc.cbClsExtra = 0; - wc.cbWndExtra = 0; - wc.hInstance = hInstance; - wc.hIcon = LoadIcon(hInstance, "MyIcon"); - wc.hCursor = LoadCursor(NULL, IDC_ARROW); - wc.hbrBackground = GetStockObject(LTGRAY_BRUSH); - wc.lpszMenuName = NULL; - wc.lpszClassName = "GenericWClass"; - if (!RegisterClass(&wc)) return(FALSE); -} - - -BOOL InitInstance(hInstance, nCmdShow) -HANDLE hInstance; -int nCmdShow; -{ - HWND hWnd; - HMENU hSampleMenu; - - hInst = hInstance; - hSampleMenu = LoadMenu(hInstance, "U7120Menu"); - hWnd = CreateWindow("GenericWClass", - (LPCSTR)"PCI-9118 Single Buffer DMA with About Trigger Mode", - WS_OVERLAPPEDWINDOW, - CW_USEDEFAULT, - CW_USEDEFAULT, - 520, - 400, - NULL, - hSampleMenu, - hInstance, - NULL); - if (!hWnd) return(FALSE); - ShowWindow(hWnd, nCmdShow); - UpdateWindow(hWnd); - return(TRUE); -} - -BOOL PASCAL setup(HWND hWnd, unsigned message, WPARAM wParam, LPARAM lParam) -{ - int i; - char n[16]; - char s[50]; - switch (message) { - case WM_INITDIALOG: - for (i=0;i<16;i++) { - wsprintf(n, "%d", i); - _strupr(n); - SendMessage(GetDlgItem(hWnd,IDC_COMBO1), CB_ADDSTRING, NULL, (LONG)(LPSTR) n); - } - SendMessage(GetDlgItem(hWnd,IDC_COMBO1) , CB_SETCURSEL, 0, 0L); - - break; - case WM_COMMAND: - switch(LOWORD(wParam)) { - - case IDC_COMBO1: - if (HIWORD(wParam) == CBN_CLOSEUP) { - i = (int)SendMessage(GetDlgItem(hWnd,IDC_COMBO1), CB_GETCURSEL, 0, 0L); - SendMessage(GetDlgItem(hWnd,IDC_COMBO1), CB_GETLBTEXT, i, (LPARAM)((LPCSTR)n)); - card_number = i; - } - return(TRUE); - case IDOK: - if ((card=Register_Card(PCI_9118DG, card_number)) < 0) { - wsprintf(s, "Register_Card Error = %d\n", card); - MessageBox(hWnd, s, "Error", MB_OK); - SendMessage(hWnd, WM_CLOSE, 0, 0L); - break; - } - EndDialog(hWnd, TRUE); - InvalidateRect(hWnd, NULL, FALSE); - return (TRUE); - case IDCANCEL: - EndDialog(hWnd, TRUE); - return (TRUE); - } - break; - } - return (FALSE); -} - -long PASCAL MainWndProc(hWnd, message, wParam, lParam) -HWND hWnd; -UINT message; -WPARAM wParam; -LPARAM lParam; -{ - HDC hDC; - PAINTSTRUCT ps; - int i; - char n[6]; - static int pos=0; - I16 err; - char s[100]; - - switch(message) { - case WM_CREATE: - DialogBox(hInst,IDD_DIALOG2, hWnd, setup); - if(card<0) { - SendMessage(hWnd, WM_CLOSE, 0, 0L); - break; - } - hEdit=CreateWindow("EDIT", NULL, - WS_CHILD | WS_VISIBLE | ES_LEFT, - output_pos[13].x-30, input_pos[15].y+20,40, 20, hWnd, IDC_EDIT, hInst, NULL); - hEdit1=CreateWindow("EDIT", NULL, - WS_CHILD | WS_VISIBLE | ES_LEFT, - output_pos[13].x+90, input_pos[15].y+20,60, 20, hWnd, IDC_EDIT1, hInst, NULL); - hEdit2=CreateWindow("EDIT", NULL, - WS_CHILD | WS_VISIBLE | ES_LEFT, - output_pos[13].x+90, input_pos[15].y-20,60, 20, hWnd, IDC_EDIT2, hInst, NULL); - - wsprintf(n,"%d",sample_rate/1000); - SetWindowText(hEdit,n); - - wsprintf(n,"%d",data_size); - SetWindowText(hEdit1,n); - - wsprintf(n,"%d",postCount); - SetWindowText(hEdit2,n); - - CreateWindow("SCROLLBAR", NULL, - WS_CHILD | WS_VISIBLE | SBS_VERT, - output_pos[13].x+10, input_pos[15].y+20,20, 20, hWnd, IDC_SCROLL, hInst, NULL); - - hStart = CreateWindow("BUTTON","Start" , - WS_CHILD | WS_VISIBLE , - output_pos[10].x+110, input_pos[10].y+10,50, 30, hWnd, IDC_START, hInst, NULL); - - hStop = CreateWindow("BUTTON","Stop" , - WS_CHILD | WS_VISIBLE , - output_pos[10].x+170, input_pos[10].y+10,50, 30, hWnd, IDC_STOP, hInst, NULL); - - CreateWindow("BUTTON","Data Value" , - WS_CHILD | WS_VISIBLE , - output_pos[10].x+230, input_pos[10].y+10,80, 30, hWnd, IDC_SHOW, hInst, NULL); - EnableWindow(hStop, FALSE); - - CreateWindow("BUTTON","0" , - WS_CHILD | WS_VISIBLE | BS_AUTORADIOBUTTON | BS_LEFTTEXT | WS_GROUP , - output_pos[4].x+50, io_pos[0].y-5+20,25,15, hWnd,IDC_CH, hInst, NULL); - - CreateWindow("BUTTON","1" , - WS_CHILD | WS_VISIBLE | BS_AUTORADIOBUTTON | BS_LEFTTEXT | WS_GROUP, - output_pos[4].x+50, io_pos[0].y+13+20,25,15, hWnd,IDC_CH+1, hInst, NULL); - - CreateWindow("BUTTON","2" , - WS_CHILD | WS_VISIBLE | BS_AUTORADIOBUTTON | BS_LEFTTEXT | WS_GROUP, - output_pos[4].x+50, io_pos[0].y+31+20,25,15, hWnd,IDC_CH+2, hInst, NULL); - - CreateWindow("BUTTON","3" , - WS_CHILD | WS_VISIBLE | BS_AUTORADIOBUTTON | BS_LEFTTEXT | WS_GROUP, - output_pos[4].x+50, io_pos[0].y+49+20,25,15, hWnd,IDC_CH+3, hInst, NULL); - - CreateWindow("BUTTON","4" , - WS_CHILD | WS_VISIBLE | BS_AUTORADIOBUTTON | BS_LEFTTEXT | WS_GROUP, - output_pos[4].x+100, io_pos[0].y-5+20,25,15, hWnd,IDC_CH+4, hInst, NULL); - - CreateWindow("BUTTON","5" , - WS_CHILD | WS_VISIBLE | BS_AUTORADIOBUTTON | BS_LEFTTEXT | WS_GROUP, - output_pos[4].x+100, io_pos[0].y+13+20,25,15, hWnd, IDC_CH+5, hInst, NULL); - - CreateWindow("BUTTON","6" , - WS_CHILD | WS_VISIBLE | BS_AUTORADIOBUTTON | BS_LEFTTEXT | WS_GROUP, - output_pos[4].x+100, io_pos[0].y+31+20,25,15, hWnd,IDC_CH+6, hInst, NULL); - - CreateWindow("BUTTON","7" , - WS_CHILD | WS_VISIBLE | BS_AUTORADIOBUTTON | BS_LEFTTEXT | WS_GROUP, - output_pos[4].x+100, io_pos[0].y+49+20,25,15, hWnd, IDC_CH+7, hInst, NULL); - - //default channel 0 - for (i=1;i<8;i++) bCheck[i]=FALSE; - bCheck[0] = TRUE; - channel = 0; - SendMessage(GetDlgItem(hWnd,IDC_CH), BM_SETCHECK, 1, 0); - - hBlackBrush= CreateSolidBrush(RGB(0,0,0)); - hRedPen= CreatePen(PS_SOLID,1,RGB(255,0,0)); - hBlackPen= CreatePen(PS_SOLID,1,RGB(0,0,0)); - break; - - case WM_PAINT: - hDC = BeginPaint(hWnd, &ps); - - // DMA analog input box - SelectObject(hDC, GetStockObject(GRAY_BRUSH)); - Rectangle(hDC, output_pos[15].x-10, io_pos[15].y-24, output_pos[0].x+26, io_pos[0].y+195); - SetTextColor(hDC,RGB(255,255,0)); - SetBkColor(hDC, RGB(0, 0, 255)); - TextOut(hDC, io_pos[15].x, io_pos[15].y-35, "DMA Input", 9); - SelectObject(hDC, hBlackBrush); - Rectangle(hDC, output_pos[15].x+35, io_pos[15].y-2, output_pos[4].x+41, io_pos[0].y+172); - - SetBkMode(hDC,TRANSPARENT); - TextOut(hDC,output_pos[13].x+70, input_pos[10].y-40,"PostCount",9); - TextOut(hDC,output_pos[13].x-60, input_pos[10].y,"Samping Rate",12); - TextOut(hDC,output_pos[13].x+30, input_pos[15].y+20,"KHZ",3); - TextOut(hDC,output_pos[13].x+70, input_pos[10].y,"Buffer Size",11); - TextOut(hDC,input_pos[2].x-10, io_pos[15].y+118,"Range: +-5V",11); - TextOut(hDC,input_pos[15].x, io_pos[15].y-19,"Volt",4); - TextOut(hDC,input_pos[15].x, io_pos[15].y-5,"5.00",4); - TextOut(hDC,input_pos[15].x, io_pos[15].y+36,"2.50",4); - TextOut(hDC,input_pos[15].x, io_pos[15].y+77,"0.00",4); - TextOut(hDC,input_pos[15].x-3, io_pos[15].y+118,"-2.50",5); - TextOut(hDC,input_pos[15].x-3, io_pos[15].y+159,"-5.00",5); - TextOut(hDC,input_pos[10].x+10, io_pos[10].y-19,"Signals",7); - TextOut(hDC,output_pos[4].x+60, io_pos[0].y-15,"Channel",7); - EndPaint(hWnd, &ps); - break; - - // Sample Rate Spin Control - case WM_VSCROLL: - switch (LOWORD(wParam)) { - case SB_LINEUP : - sample_rate+=5000; - if (sample_rate > 50000 ) sample_rate=50000; - break; - case SB_LINEDOWN: - sample_rate-=5000; - if (sample_rate < 5000 ) sample_rate=5000; - break; - } - wsprintf(n,"%d",sample_rate/1000); - SetWindowText(hEdit,n); - break; - case WM_COMMAND: - switch(LOWORD(wParam)) { - case IDM_EXIT: - SendMessage(hWnd, WM_CLOSE, 0, 0L); - break; - case IDC_CH: - case IDC_CH+1: - case IDC_CH+2: - case IDC_CH+3: - case IDC_CH+4: - case IDC_CH+5: - case IDC_CH+6: - case IDC_CH+7: - if (!bCheck[wParam-IDC_CH]) { - SendMessage(GetDlgItem(hWnd,wParam), BM_SETCHECK, 1, 0); - SendMessage(GetDlgItem(hWnd,IDC_CH+channel), BM_SETCHECK, 0, 0); - bCheck[channel]=FALSE; - } - channel=wParam-IDC_CH; - bCheck[channel]=TRUE; - break; - case IDC_SHOW : - DialogBox(hInst, "DMABox", hWnd, ShowDMA); - break; - case IDC_START: - if (hMem != NULL) { - GlobalUnfix(hMem); - GlobalUnlock(hMem); - GlobalFree(hMem); - } - // allocate a memory for DMA - postCount = GetDlgItemInt(hWnd,IDC_EDIT2,NULL ,FALSE); - data_size=GetDlgItemInt(hWnd,IDC_EDIT1,NULL ,FALSE); - if (data_size <= postCount) { - wsprintf(s, "Buffer Size have to be larger than %d\n", postCount+2); - MessageBox(hWnd,s,"Data Size Error", MB_OK); - break; - } - mem_size=data_size * 2; - hMem = GlobalAlloc(GMEM_FIXED | GMEM_ZEROINIT,mem_size); - - ai_buf = (U16 *)GlobalLock(hMem); - if (ai_buf == NULL ) { - MessageBox(hWnd,"DMA", "No Memory", MB_OK); - SendMessage(hWnd, WM_CLOSE, 0, 0L); - break; - } - - GlobalFix(hMem); - for (i=0;i= 0) Release_Card(card); - DeleteObject(hBlackBrush); - DeleteObject(hRedPen); - GlobalUnfix(hMem); - GlobalUnlock(hMem); - GlobalFree(hMem); - PostQuitMessage(0); - break; - default: - return(DefWindowProc(hWnd, message, wParam, lParam)); - } - return(NULL); -} - -BOOL PASCAL ShowDMA(hDlg, message, wParam, lParam) -HWND hDlg; -UINT message; -WPARAM wParam; -LPARAM lParam; -{ - int nTabs[2] = {32, 92}; - int i; - char cBuf[100]; - char string[10]=" "; - char data_str[3]=" "; - U16 *pp; - switch (message) { - case WM_INITDIALOG: - hListBox = CreateWindow("LISTBOX", "Index Data (Hex)", - WS_CHILD | WS_VISIBLE | LBS_HASSTRINGS | LBS_STANDARD | LBS_USETABSTOPS |WS_CAPTION, - 50, 40, 240, 180, hDlg, 100, hInst, NULL); - SendMessage(hListBox, LB_RESETCONTENT, 0, 0L); - SendMessage(hListBox, LB_SETTABSTOPS, 2, (DWORD)(LPINT) nTabs); - SetDlgItemText(hDlg, DMA_DESCP, "This ListBox can show at most 4000 data"); - itoa( data_size, string, 10); - SetDlgItemText(hDlg, DMA_SPACE, string); - pp = (U16 *)ai_buf; - if (count >4000) count = 4000; - for(i=0;i>4; - newy = io_pos[0].y+171-(172*(U32)adinput)/4095; - newx = i*336/data_size+output_pos[15].x+35; - if (i==0) - MoveToEx(hDC, newx, newy, NULL); - else - MoveToEx(hDC, oldx, oldy, NULL); - LineTo(hDC, newx, newy); - oldx = newx; - oldy = newy; - } - ReleaseDC(hMainWnd, hDC); - -} diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9118/SDK9118AboutTrg/9118SATg.exe b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9118/SDK9118AboutTrg/9118SATg.exe deleted file mode 100644 index 5b9c0bf..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9118/SDK9118AboutTrg/9118SATg.exe and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9118/SDK9118AboutTrg/9118SATg.mak b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9118/SDK9118AboutTrg/9118SATg.mak deleted file mode 100644 index 6bd65ea..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9118/SDK9118AboutTrg/9118SATg.mak +++ /dev/null @@ -1,221 +0,0 @@ -# Microsoft Developer Studio Generated NMAKE File, Format Version 4.20 -# ** DO NOT EDIT ** - -# TARGTYPE "Win32 (x86) Application" 0x0101 - -!IF "$(CFG)" == "" -CFG=9118SATg - Win32 Debug -!MESSAGE No configuration specified. Defaulting to 9118SATg - Win32 Debug. -!ENDIF - -!IF "$(CFG)" != "9118SATg - Win32 Release" && "$(CFG)" !=\ - "9118SATg - Win32 Debug" -!MESSAGE Invalid configuration "$(CFG)" specified. -!MESSAGE You can specify a configuration when running NMAKE on this makefile -!MESSAGE by defining the macro CFG on the command line. For example: -!MESSAGE -!MESSAGE NMAKE /f "9118SATg.mak" CFG="9118SATg - Win32 Debug" -!MESSAGE -!MESSAGE Possible choices for configuration are: -!MESSAGE -!MESSAGE "9118SATg - Win32 Release" (based on "Win32 (x86) Application") -!MESSAGE "9118SATg - Win32 Debug" (based on "Win32 (x86) Application") -!MESSAGE -!ERROR An invalid configuration is specified. -!ENDIF - -!IF "$(OS)" == "Windows_NT" -NULL= -!ELSE -NULL=nul -!ENDIF -################################################################################ -# Begin Project -# PROP Target_Last_Scanned "9118SATg - Win32 Debug" -CPP=cl.exe -RSC=rc.exe -MTL=mktyplib.exe - -!IF "$(CFG)" == "9118SATg - Win32 Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "Release" -# PROP BASE Intermediate_Dir "Release" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "" -# PROP Intermediate_Dir "Release" -# PROP Target_Dir "" -OUTDIR=. -INTDIR=.\Release - -ALL : "$(OUTDIR)\9118SATg.exe" - -CLEAN : - -@erase "$(INTDIR)\9118SATg.obj" - -@erase "$(INTDIR)\9118SATg.res" - -@erase "$(OUTDIR)\9118SATg.exe" - -"$(INTDIR)" : - if not exist "$(INTDIR)/$(NULL)" mkdir "$(INTDIR)" - -# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /YX /c -# ADD CPP /nologo /MT /W3 /GX /Od /I "..\..\..\include" /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /c -# SUBTRACT CPP /YX -CPP_PROJ=/nologo /MT /W3 /GX /Od /I "..\..\..\include" /D "WIN32" /D "NDEBUG"\ - /D "_WINDOWS" /Fo"$(INTDIR)/" /c -CPP_OBJS=.\Release/ -CPP_SBRS=.\. -# ADD BASE MTL /nologo /D "NDEBUG" /win32 -# ADD MTL /nologo /D "NDEBUG" /win32 -MTL_PROJ=/nologo /D "NDEBUG" /win32 -# ADD BASE RSC /l 0x409 /d "NDEBUG" -# ADD RSC /l 0x409 /d "NDEBUG" -RSC_PROJ=/l 0x409 /fo"$(INTDIR)/9118SATg.res" /d "NDEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -BSC32_FLAGS=/nologo /o"$(OUTDIR)/9118SATg.bsc" -BSC32_SBRS= \ - -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:windows /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ..\..\..\lib\pci-dask.lib /nologo /subsystem:windows /machine:I386 -LINK32_FLAGS=kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib\ - advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib\ - odbccp32.lib ..\..\..\lib\pci-dask.lib /nologo /subsystem:windows\ - /incremental:no /pdb:"$(OUTDIR)/9118SATg.pdb" /machine:I386\ - /out:"$(OUTDIR)/9118SATg.exe" -LINK32_OBJS= \ - "$(INTDIR)\9118SATg.obj" \ - "$(INTDIR)\9118SATg.res" - -"$(OUTDIR)\9118SATg.exe" : "$(OUTDIR)" $(DEF_FILE) $(LINK32_OBJS) - $(LINK32) @<< - $(LINK32_FLAGS) $(LINK32_OBJS) -<< - -!ELSEIF "$(CFG)" == "9118SATg - Win32 Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "Debug" -# PROP BASE Intermediate_Dir "Debug" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "Debug" -# PROP Intermediate_Dir "Debug" -# PROP Target_Dir "" -OUTDIR=.\Debug -INTDIR=.\Debug - -ALL : "$(OUTDIR)\9118SATg.exe" - -CLEAN : - -@erase "$(INTDIR)\9118SATg.obj" - -@erase "$(INTDIR)\9118SATg.res" - -@erase "$(INTDIR)\vc40.idb" - -@erase "$(INTDIR)\vc40.pdb" - -@erase "$(OUTDIR)\9118SATg.exe" - -@erase "$(OUTDIR)\9118SATg.ilk" - -@erase "$(OUTDIR)\9118SATg.pdb" - -"$(OUTDIR)" : - if not exist "$(OUTDIR)/$(NULL)" mkdir "$(OUTDIR)" - -# ADD BASE CPP /nologo /W3 /Gm /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /YX /c -# ADD CPP /nologo /MTd /W3 /Gm /GX /Zi /Od /I "..\..\..\include" /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /c -# SUBTRACT CPP /YX -CPP_PROJ=/nologo /MTd /W3 /Gm /GX /Zi /Od /I "..\..\..\include" /D "WIN32" /D\ - "_DEBUG" /D "_WINDOWS" /Fo"$(INTDIR)/" /Fd"$(INTDIR)/" /c -CPP_OBJS=.\Debug/ -CPP_SBRS=.\. -# ADD BASE MTL /nologo /D "_DEBUG" /win32 -# ADD MTL /nologo /D "_DEBUG" /win32 -MTL_PROJ=/nologo /D "_DEBUG" /win32 -# ADD BASE RSC /l 0x409 /d "_DEBUG" -# ADD RSC /l 0x409 /d "_DEBUG" -RSC_PROJ=/l 0x409 /fo"$(INTDIR)/9118SATg.res" /d "_DEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -BSC32_FLAGS=/nologo /o"$(OUTDIR)/9118SATg.bsc" -BSC32_SBRS= \ - -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:windows /debug /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ..\..\..\lib\pci-dask.lib /nologo /subsystem:windows /debug /machine:I386 -LINK32_FLAGS=kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib\ - advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib\ - odbccp32.lib ..\..\..\lib\pci-dask.lib /nologo /subsystem:windows\ - /incremental:yes /pdb:"$(OUTDIR)/9118SATg.pdb" /debug /machine:I386\ - /out:"$(OUTDIR)/9118SATg.exe" -LINK32_OBJS= \ - "$(INTDIR)\9118SATg.obj" \ - "$(INTDIR)\9118SATg.res" - -"$(OUTDIR)\9118SATg.exe" : "$(OUTDIR)" $(DEF_FILE) $(LINK32_OBJS) - $(LINK32) @<< - $(LINK32_FLAGS) $(LINK32_OBJS) -<< - -!ENDIF - -.c{$(CPP_OBJS)}.obj: - $(CPP) $(CPP_PROJ) $< - -.cpp{$(CPP_OBJS)}.obj: - $(CPP) $(CPP_PROJ) $< - -.cxx{$(CPP_OBJS)}.obj: - $(CPP) $(CPP_PROJ) $< - -.c{$(CPP_SBRS)}.sbr: - $(CPP) $(CPP_PROJ) $< - -.cpp{$(CPP_SBRS)}.sbr: - $(CPP) $(CPP_PROJ) $< - -.cxx{$(CPP_SBRS)}.sbr: - $(CPP) $(CPP_PROJ) $< - -################################################################################ -# Begin Target - -# Name "9118SATg - Win32 Release" -# Name "9118SATg - Win32 Debug" - -!IF "$(CFG)" == "9118SATg - Win32 Release" - -!ELSEIF "$(CFG)" == "9118SATg - Win32 Debug" - -!ENDIF - -################################################################################ -# Begin Source File - -SOURCE=.\9118SATg.rc - -"$(INTDIR)\9118SATg.res" : $(SOURCE) "$(INTDIR)" - $(RSC) $(RSC_PROJ) $(SOURCE) - - -# End Source File -################################################################################ -# Begin Source File - -SOURCE=.\9118SATg.c -DEP_CPP_9118S=\ - "..\..\..\include\Dask.h"\ - - -"$(INTDIR)\9118SATg.obj" : $(SOURCE) $(DEP_CPP_9118S) "$(INTDIR)" - - -# End Source File -# End Target -# End Project -################################################################################ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9118/SDK9118AboutTrg/9118SATg.mdp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9118/SDK9118AboutTrg/9118SATg.mdp deleted file mode 100644 index 04c2393..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9118/SDK9118AboutTrg/9118SATg.mdp and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9118/SDK9118AboutTrg/9118SATg.rc b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9118/SDK9118AboutTrg/9118SATg.rc deleted file mode 100644 index 2b2e33b..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9118/SDK9118AboutTrg/9118SATg.rc +++ /dev/null @@ -1,126 +0,0 @@ -//Microsoft Developer Studio generated resource script. -// -#include "resource.h" - -#define APSTUDIO_READONLY_SYMBOLS -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 2 resource. -// -#define APSTUDIO_HIDDEN_SYMBOLS -#include "windows.h" -#undef APSTUDIO_HIDDEN_SYMBOLS - -///////////////////////////////////////////////////////////////////////////// -#undef APSTUDIO_READONLY_SYMBOLS - -///////////////////////////////////////////////////////////////////////////// -// English (U.S.) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -#ifdef _WIN32 -LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US -#pragma code_page(1252) -#endif //_WIN32 - -///////////////////////////////////////////////////////////////////////////// -// -// Menu -// - -U7120MENU MENU DISCARDABLE -BEGIN - MENUITEM "E&xit!", IDM_EXIT -END - - -#ifdef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// TEXTINCLUDE -// - -1 TEXTINCLUDE DISCARDABLE -BEGIN - "resource.h\0" -END - -2 TEXTINCLUDE DISCARDABLE -BEGIN - "#define APSTUDIO_HIDDEN_SYMBOLS\r\n" - "#include ""windows.h""\r\n" - "#undef APSTUDIO_HIDDEN_SYMBOLS\r\n" - "\0" -END - -3 TEXTINCLUDE DISCARDABLE -BEGIN - "\r\n" - "\0" -END - -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog -// - -DMABOX DIALOG DISCARDABLE 18, 10, 171, 169 -STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "Data Value (half of circular buffer)" -FONT 8, "System" -BEGIN - PUSHBUTTON "STOP",ID_STOP,82,147,24,14 - LTEXT "Data Transferred :",-1,39,119,64,8 - LTEXT "Text",DMA_SPACE,103,118,41,8 - LTEXT "Text",DMA_DESCP,16,6,158,8 -END - -IDD_DIALOG2 DIALOG DISCARDABLE 110, 10, 110, 69 -STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "Card Number" -FONT 10, "System" -BEGIN - DEFPUSHBUTTON "OK",IDOK,9,48,39,14 - PUSHBUTTON "Cancel",IDCANCEL,56,48,38,14 - COMBOBOX IDC_COMBO1,52,23,51,45,CBS_DROPDOWN | WS_VSCROLL | - WS_TABSTOP - LTEXT "Card Number",IDC_STATIC,3,24,46,13 - LTEXT "Select a card number :",IDC_STATIC,3,6,100,11 -END - - -///////////////////////////////////////////////////////////////////////////// -// -// DESIGNINFO -// - -#ifdef APSTUDIO_INVOKED -GUIDELINES DESIGNINFO DISCARDABLE -BEGIN - IDD_DIALOG2, DIALOG - BEGIN - LEFTMARGIN, 3 - RIGHTMARGIN, 103 - BOTTOMMARGIN, 62 - END -END -#endif // APSTUDIO_INVOKED - -#endif // English (U.S.) resources -///////////////////////////////////////////////////////////////////////////// - - - -#ifndef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 3 resource. -// - - -///////////////////////////////////////////////////////////////////////////// -#endif // not APSTUDIO_INVOKED - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9118/SDK9118AboutTrg/Resource.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9118/SDK9118AboutTrg/Resource.h deleted file mode 100644 index 4831ea6..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9118/SDK9118AboutTrg/Resource.h +++ /dev/null @@ -1,25 +0,0 @@ -//{{NO_DEPENDENCIES}} -// Microsoft Developer Studio generated include file. -// Used by 9118ATrg.rc -// -#define IDM_SETUP 101 -#define IDD_DIALOG1 101 -#define IDD_DIALOG2 104 -#define IDM_EXIT 110 -#define ID_CARDNUMBER 122 -#define ID_STOP 304 -#define DMA_SPACE 500 -#define DMA_DESCP 600 -#define IDC_COMBO1 1001 -#define IDC_STATIC -1 - -// Next default values for new objects -// -#ifdef APSTUDIO_INVOKED -#ifndef APSTUDIO_READONLY_SYMBOLS -#define _APS_NEXT_RESOURCE_VALUE 105 -#define _APS_NEXT_COMMAND_VALUE 123 -#define _APS_NEXT_CONTROL_VALUE 1002 -#define _APS_NEXT_SYMED_VALUE 101 -#endif -#endif diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9118/SDK9118BurstDma/9118BDMA.C b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9118/SDK9118BurstDma/9118BDMA.C deleted file mode 100644 index 0c649b3..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9118/SDK9118BurstDma/9118BDMA.C +++ /dev/null @@ -1,527 +0,0 @@ -#include "windows.h" -#include -#include -#include -#include -#include -#include "resource.h" -#include "dask.h" - -#define IDM_EXIT 110 -#define IDC_ADDR 200 -#define IDC_SCROLL 207 -#define IDC_START 208 -#define IDC_STOP 209 -#define IDC_PAUSE 210 -#define IDC_EDIT 211 -#define IDC_CHAN 214 -#define IDC_SHOW 213 -#define NONE 0 - -int PASCAL WinMain(HANDLE, HANDLE, LPSTR, int); -long PASCAL MainWndProc(HWND, UINT, WPARAM, LPARAM); -BOOL PASCAL ShowINT(HWND, UINT, WPARAM, LPARAM); - -HANDLE hInst; -HWND hListBox; -HWND hChanComboBox; -HWND hADScroll; -HWND hEdit,hEdit1,hData; -unsigned int input=0, output=0; -unsigned int oldinput[8], adinput; -//EventHandles hEnts; - -HBRUSH hBlackBrush; -HPEN hRedPen; - -long sample_rate=10000; -unsigned int base_addr=NONE,gain=1; -I16 card = -1, card_number = 0, burst_num = 4; -long data_size=4000; -U16 channel=0, range = AD_B_5_V; -U16 bcheck =0; -DWORD mem_size = 0; -static HANDLE hMem=NULL; -unsigned short *ai_buf; - -POINT input_pos[16]= {{470, 280}, {440, 280}, - {410, 280}, {380, 280}, - {350, 280}, {320, 280}, - { 290, 280}, {260, 280}, - {230, 280}, {200, 280}, - {170, 280}, {140, 280}, - {110, 280}, {80, 280}, - { 50, 280}, { 20, 280}, - }; - -POINT output_pos[16] ={ - {470, 340}, {440, 340}, - {410, 340}, {380, 340}, - {350, 340}, {320, 340}, - { 290, 340}, {260, 340}, - {230, 340}, {200, 340}, - {170, 340}, {140, 340}, - {110, 340}, {80, 340}, - { 50, 340}, { 20, 340}, - }; - -POINT io_pos[16] ={ - {395, 40}, {370, 40}, - {345, 40}, {320, 40}, - {295, 40}, {270, 40}, - { 245, 40}, {220, 40}, - {195, 40}, {170, 40}, - {145, 40}, {120, 40}, - {95, 40}, {70, 40}, - { 45, 40}, { 20, 40}, - }; - -HBRUSH hLTGreenBrush,hGreenBrush,hBlueBrush,hYellowBrush,hRedBrush,hBlackBrush,hWhiteBrush - ,hLTRedBrush,hLTBlueBrush; -HPEN hRedPen,hYellowPen,hGreenPen,hBluePen,hLTBluePen,hLTRedPen,hLTGreenPen,hWhitePen; - -BOOL InitApplication(HANDLE); -BOOL InitInstance(HANDLE, int); - -int PASCAL WinMain(hInstance, hPrevInstance, lpCmdLine, nCmdShow) -HANDLE hInstance, hPrevInstance; -LPSTR lpCmdLine; -int nCmdShow; -{ - MSG msg; - - if (!hPrevInstance) - if (!InitApplication(hInstance)) return(FALSE); - if (!InitInstance(hInstance, nCmdShow)) return(FALSE); - while (GetMessage(&msg, NULL, NULL, NULL)) { - TranslateMessage(&msg); - DispatchMessage(&msg); - } - return(msg.wParam); -} - -BOOL InitApplication(hInstance) -HANDLE hInstance; -{ - WNDCLASS wc; - - /* Main Window Class */ - wc.style = NULL; - wc.lpfnWndProc = (WNDPROC)MainWndProc; - wc.cbClsExtra = 0; - wc.cbWndExtra = 0; - wc.hInstance = hInstance; - wc.hIcon = LoadIcon(hInstance, "MyIcon"); - wc.hCursor = LoadCursor(NULL, IDC_ARROW); - wc.hbrBackground = GetStockObject(LTGRAY_BRUSH); - wc.lpszMenuName = NULL; - wc.lpszClassName = "GenericWClass"; - if (!RegisterClass(&wc)) return(FALSE); -} - -BOOL InitInstance(hInstance, nCmdShow) -HANDLE hInstance; -int nCmdShow; -{ - HWND hWnd; - HMENU hSampleMenu; - - hInst = hInstance; - hSampleMenu = LoadMenu(hInstance, "U7120Menu"); - hWnd = CreateWindow("GenericWClass", - (LPCSTR)"9118 Autoscan DMA with Burst Mode", - WS_OVERLAPPEDWINDOW, - CW_USEDEFAULT, - CW_USEDEFAULT, - 520, - 400, - NULL, - hSampleMenu, - hInstance, - NULL); - if (!hWnd) return(FALSE); - ShowWindow(hWnd, nCmdShow); - UpdateWindow(hWnd); - return(TRUE); -} - -BOOL PASCAL setup(HWND hWnd, unsigned message, WPARAM wParam, LPARAM lParam) -{ - int i; - char n[16]; - char s[50]; - switch (message) { - case WM_INITDIALOG: - for (i=0;i<16;i++) { - sprintf(n, "%d", i); - _strupr(n); - SendMessage(GetDlgItem(hWnd,IDC_COMBO1), CB_ADDSTRING, NULL, (LONG)(LPSTR) n); - } - SendMessage(GetDlgItem(hWnd,IDC_COMBO1) , CB_SETCURSEL, 0, 0L); - wsprintf(n,"%d",burst_num); - SetWindowText(GetDlgItem(hWnd,IDC_EDIT1),n); - break; - case WM_COMMAND: - switch(LOWORD(wParam)) { - - case IDC_COMBO1: - if (HIWORD(wParam) == CBN_CLOSEUP) { - i = (int)SendMessage(GetDlgItem(hWnd,IDC_COMBO1), CB_GETCURSEL, 0, 0L); - SendMessage(GetDlgItem(hWnd,IDC_COMBO1), CB_GETLBTEXT, i, (LPARAM)((LPCSTR)n)); - card_number = i; - } - return(TRUE); - case IDC_CHECK1: - if (bcheck) { - SendMessage(GetDlgItem(hWnd,wParam), BM_SETCHECK, 0, 0); - bcheck=FALSE; - } - else { - SendMessage(GetDlgItem(hWnd,wParam), BM_SETCHECK, 1, 0); - bcheck=TRUE; - } - break; - case IDOK: - burst_num = GetDlgItemInt(hWnd,IDC_EDIT1,NULL ,FALSE); - if (burst_num <=0) { - wsprintf(s, "Burst Number must be larger than 0"); - MessageBox(hWnd, s, "Error", MB_OK); - break; - } - if (card <0) { - if ((card=Register_Card(PCI_9118DG, card_number)) < 0) { - wsprintf(s, "Register_Card Error = %d\n", card); - MessageBox(hWnd, s, "Error", MB_OK); - SendMessage(hWnd, WM_CLOSE, 0, 0L); - break; - } - } - EndDialog(hWnd, TRUE); - InvalidateRect(hWnd, NULL, FALSE); - return (TRUE); - case IDCANCEL: - EndDialog(hWnd, TRUE); - return (TRUE); - } - break; - } - return (FALSE); -} - -long PASCAL MainWndProc(hWnd, message, wParam, lParam) -HWND hWnd; -UINT message; -WPARAM wParam; -LPARAM lParam; -{ - HDC hDC; - PAINTSTRUCT ps; - int i; - int cur_channel; - char n[6]; - static int pos=0; - static int count,status; - - switch(message) { - case WM_CREATE: - DialogBox(hInst,IDD_DIALOG2, hWnd, setup); - if(card<0) { - SendMessage(hWnd, WM_CLOSE, 0, 0L); - break; - } - hChanComboBox = CreateWindow("ComboBox", NULL, - CBS_DROPDOWNLIST | WS_CHILD | WS_VISIBLE | WS_VSCROLL, - input_pos[10].x, input_pos[15].y+18, 100, 160, hWnd, IDC_CHAN, hInst, NULL); - SendMessage(hChanComboBox, CB_ADDSTRING, NULL, (LONG)(LPSTR)"CH0"); - SendMessage(hChanComboBox, CB_ADDSTRING, NULL, (LONG)(LPSTR)"CH0 ~ CH1"); - SendMessage(hChanComboBox, CB_ADDSTRING, NULL, (LONG)(LPSTR)"CH0 ~ CH2"); - SendMessage(hChanComboBox, CB_ADDSTRING, NULL, (LONG)(LPSTR)"CH0 ~ CH3"); - SendMessage(hChanComboBox, CB_ADDSTRING, NULL, (LONG)(LPSTR)"CH0 ~ CH4"); - SendMessage(hChanComboBox, CB_ADDSTRING, NULL, (LONG)(LPSTR)"CH0 ~ CH5"); - SendMessage(hChanComboBox, CB_ADDSTRING, NULL, (LONG)(LPSTR)"CH0 ~ CH6"); - SendMessage(hChanComboBox, CB_ADDSTRING, NULL, (LONG)(LPSTR)"CH0 ~ CH7"); - SendMessage(hChanComboBox ,CB_SETCURSEL, 0, 0L); - hEdit=CreateWindow("EDIT", NULL, - WS_CHILD | WS_VISIBLE | ES_LEFT, - output_pos[13].x-30, input_pos[15].y+20,40, 20, hWnd, IDC_EDIT, hInst, NULL); - - wsprintf(n,"%d",sample_rate/1000); - SetWindowText(hEdit,n); - - CreateWindow("SCROLLBAR", NULL, - WS_CHILD | WS_VISIBLE | SBS_VERT, - output_pos[13].x+10, input_pos[15].y+20,20, 20, hWnd, IDC_SCROLL, hInst, NULL); - - CreateWindow("BUTTON","Start" , - WS_CHILD | WS_VISIBLE , - output_pos[10].x+140, input_pos[10].y+10,70, 30, hWnd, IDC_START, hInst, NULL); - - hData=CreateWindow("BUTTON","Data Value" , - WS_CHILD | WS_VISIBLE , - output_pos[10].x+230, input_pos[10].y+10,80, 30, hWnd, IDC_SHOW, hInst, NULL); - - hLTGreenBrush = CreateSolidBrush(RGB(0, 255, 0)); - hGreenBrush = CreateSolidBrush(RGB(0, 128, 0)); - hBlueBrush = CreateSolidBrush(RGB(0, 0, 255)); - hRedBrush = CreateSolidBrush(RGB(255, 0, 0)); - hYellowBrush= CreateSolidBrush(RGB(255,255,0)); - hBlackBrush= CreateSolidBrush(RGB(0,0,0)); - hLTBlueBrush= CreateSolidBrush(RGB(0,255,255)); - hLTRedBrush= CreateSolidBrush(RGB(255,128,0)); - hWhiteBrush= CreateSolidBrush(RGB(255,255,255)); - hRedPen= CreatePen(PS_SOLID,1,RGB(255,0,0)); - hYellowPen= CreatePen(PS_SOLID,1,RGB(255,255,0)); - hBluePen= CreatePen(PS_SOLID,1,RGB(0,0,255)); - hGreenPen= CreatePen(PS_SOLID,1,RGB(0,255,0)); - hLTBluePen= CreatePen(PS_SOLID,1,RGB(0,128,255)); - hLTRedPen= CreatePen(PS_SOLID,1,RGB(128,128,0)); - hLTGreenPen= CreatePen(PS_SOLID,1,RGB(0,128,0)); - hWhitePen= CreatePen(PS_SOLID,1,RGB(255,255,255)); - break; - - case WM_PAINT: - hDC = BeginPaint(hWnd, &ps); - - // Analog Input Box - SelectObject(hDC, GetStockObject(GRAY_BRUSH)); - Rectangle(hDC, output_pos[15].x-10, io_pos[15].y-24, output_pos[0].x+26, io_pos[0].y+195); - SetTextColor(hDC,RGB(255,255,0)); - SetBkColor(hDC, RGB(0, 0, 255)); - TextOut(hDC, io_pos[15].x, io_pos[15].y-35, " DMA Input(A/D) ", 20); - - SelectObject(hDC, hBlackBrush); - Rectangle(hDC, output_pos[15].x+35, io_pos[15].y-2, output_pos[4].x+41, io_pos[0].y+172); - - SelectObject(hDC,hYellowBrush ); - Rectangle(hDC,output_pos[4].x+68, io_pos[0].y-5+18,output_pos[4].x+80, io_pos[0].y+10+18); - - SelectObject(hDC, hGreenBrush); - Rectangle(hDC,output_pos[4].x+68, io_pos[0].y+13+18,output_pos[4].x+80, io_pos[0].y+28+18); - - SelectObject(hDC, hBlueBrush); - Rectangle(hDC,output_pos[4].x+68, io_pos[0].y+31+18,output_pos[4].x+80, io_pos[0].y+46+18); - - SelectObject(hDC, hRedBrush); - Rectangle(hDC,output_pos[4].x+68, io_pos[0].y+49+18,output_pos[4].x+80, io_pos[0].y+64+18); - - SelectObject(hDC, hLTBlueBrush); - Rectangle(hDC,output_pos[4].x+108, io_pos[0].y-5+18,output_pos[4].x+120, io_pos[0].y+10+18); - - SelectObject(hDC, hLTRedBrush); - Rectangle(hDC,output_pos[4].x+108, io_pos[0].y+13+18,output_pos[4].x+120, io_pos[0].y+28+18); - - SelectObject(hDC, hLTGreenBrush); - Rectangle(hDC,output_pos[4].x+108, io_pos[0].y+31+18,output_pos[4].x+120, io_pos[0].y+46+18); - - SelectObject(hDC, hWhiteBrush); - Rectangle(hDC,output_pos[4].x+108, io_pos[0].y+49+18,output_pos[4].x+120, io_pos[0].y+64+18); - - SetBkMode(hDC,TRANSPARENT); - TextOut(hDC,output_pos[13].x-60, input_pos[10].y,"Samping Rate",12); - TextOut(hDC,output_pos[13].x+30, input_pos[15].y+20,"KHZ",3); - TextOut(hDC,output_pos[13].x+80, input_pos[10].y,"Channel",7); - TextOut(hDC,input_pos[2].x-10, io_pos[15].y+118,"Range: +-5V",11); - TextOut(hDC,input_pos[15].x, io_pos[15].y-19,"Volts",5); - TextOut(hDC,input_pos[15].x, io_pos[15].y-5,"5.00",4); - TextOut(hDC,input_pos[15].x, io_pos[15].y+36,"2.50",4); - TextOut(hDC,input_pos[15].x, io_pos[15].y+77,"0.00",4); - TextOut(hDC,input_pos[15].x-3, io_pos[15].y+118,"-2.50",5); - TextOut(hDC,input_pos[15].x-3, io_pos[15].y+159,"-5.00",5); - TextOut(hDC,input_pos[10].x+10, io_pos[10].y-19,"Signals",7); - - TextOut(hDC,output_pos[4].x+58, io_pos[0].y-5+18,"0",1); - TextOut(hDC,output_pos[4].x+58, io_pos[0].y+13+18,"1",1); - TextOut(hDC,output_pos[4].x+58, io_pos[0].y+31+18,"2",1); - TextOut(hDC,output_pos[4].x+58, io_pos[0].y+49+18,"3",1); - TextOut(hDC,output_pos[4].x+98, io_pos[0].y-5+18,"4",1); - TextOut(hDC,output_pos[4].x+98, io_pos[0].y+13+18,"5",1); - TextOut(hDC,output_pos[4].x+98, io_pos[0].y+31+18,"6",1); - TextOut(hDC,output_pos[4].x+98, io_pos[0].y+49+18,"7",1); - - EndPaint(hWnd, &ps); - break; - - // Sample Rate Spin Control - case WM_VSCROLL: - switch(LOWORD(wParam)){ - case SB_LINEUP : - sample_rate+=1000; - if (sample_rate > 100000 ) sample_rate=100000; - break; - case SB_LINEDOWN: - sample_rate-=1000; - if (sample_rate < 1000 ) sample_rate=1000; - break; - } - wsprintf(n,"%d",sample_rate/1000); - SetWindowText(hEdit,n); - break; - - case WM_COMMAND: - switch(LOWORD(wParam)) { - case IDM_EXIT: - SendMessage(hWnd, WM_CLOSE, 0, 0L); - break; - - case IDC_SHOW : - DialogBox(hInst, - "DMABox", - hWnd, - ShowINT); - break; - case IDC_CHAN: - if (HIWORD(wParam) == CBN_CLOSEUP) { - if ((i=(int)SendMessage(GetDlgItem(hWnd,IDC_CHAN),CB_GETCURSEL, 0, 0L))>=0 ) { - channel=i; - } - } - break; - - case IDC_START: - EnableWindow (hData, FALSE); - if (hMem != NULL) - { - GlobalUnfix(hMem); - GlobalUnlock(hMem); - GlobalFree(hMem); - } - // allocate a memory for user DMA buffer - mem_size=data_size*2; - hMem = GlobalAlloc(GMEM_ZEROINIT,mem_size); - ai_buf = GlobalLock(hMem); - if (ai_buf == NULL ) - { - MessageBox(hWnd,"INT", - "No Memory", MB_OK); - } - GlobalFix(hMem); - - if(bcheck) - AI_9118_Config(card,P9118_AI_BiPolar|P9118_AI_SingEnded,P9118_AI_BurstModeEn|P9118_AI_SampleHold,burst_num,0); - else - AI_9118_Config(card,P9118_AI_BiPolar|P9118_AI_SingEnded,P9118_AI_BurstModeEn,burst_num,0); - AI_AsyncDblBufferMode(card, 0); - AI_ContScanChannels (card, channel, range, ai_buf, data_size, (F64)sample_rate, SYNCH_OP); - EnableWindow (hData, TRUE); - for (i=0;i<8;i++) oldinput[i]=-1; - hDC = GetDC(hWnd); - SelectObject(hDC, hBlackBrush); - Rectangle(hDC,output_pos[15].x+35,io_pos[0].y-3,output_pos[15].x+370,io_pos[0].y+175); - for (i=0;i> 4; - adinput=io_pos[0].y+173-(175*(long)adinput)/4095; - if (oldinput[cur_channel]!=-1) - MoveToEx(hDC,(i*334)/data_size+output_pos[15].x+35,oldinput[cur_channel],NULL); - else - MoveToEx(hDC,(i*334)/data_size+output_pos[15].x+35,adinput,NULL); - LineTo(hDC,(i*334)/data_size+output_pos[15].x+36,adinput); - oldinput[cur_channel]=adinput; - } // for - ReleaseDC(hWnd, hDC); - break; - - default: - return(DefWindowProc(hWnd, message, wParam, lParam)); - } - break; - - case WM_DESTROY: - if (card >= 0) Release_Card (card); - DeleteObject(hRedBrush); - DeleteObject(hGreenBrush); - DeleteObject(hLTGreenBrush); - DeleteObject(hYellowBrush); - DeleteObject(hBlueBrush) ; - DeleteObject(hBlackBrush); - DeleteObject(hRedPen); - DeleteObject(hYellowPen); - DeleteObject(hBluePen); - DeleteObject(hGreenPen); - DeleteObject(hLTBluePen); - DeleteObject(hLTRedPen); - DeleteObject(hLTGreenPen); - DeleteObject(hWhitePen); - GlobalUnfix(hMem); - GlobalUnlock(hMem); - GlobalFree(hMem); - PostQuitMessage(0); - break; - - default: - return(DefWindowProc(hWnd, message, wParam, lParam)); - } - return(NULL); -} - -BOOL PASCAL ShowINT(hDlg, message, wParam, lParam) -HWND hDlg; -UINT message; -WPARAM wParam; -LPARAM lParam; -{ - int nTabs[2] = {32, 92}; - long i; - char cBuf[ ] = "\t131072 \tFF"; - char string[10]=" "; - char data_str[3]=" "; - U16 *pp; - switch (message) - { - case WM_INITDIALOG: - hListBox = CreateWindow("LISTBOX", "Memory Count Data",\ - WS_CHILD | WS_VISIBLE | LBS_HASSTRINGS\ - | LBS_STANDARD | LBS_USETABSTOPS |WS_CAPTION,\ - 50, 40, 240, 180, hDlg, 100, hInst, NULL); - - SendMessage(hListBox, LB_RESETCONTENT, 0, 0L); - SendMessage(hListBox, LB_SETTABSTOPS, 2, (DWORD)\ - (LPINT) nTabs); - pp=(U16 *) ai_buf; - for(i=0; i -#include -#include -#include -#include -#include "resource.h" -#include "Dask.h" - -#define IDM_EXIT 110 -#define IDC_SCROLL 207 -#define IDC_SPIN 301 -#define IDC_START 208 -#define IDC_STOP 209 -#define IDC_EDIT 211 -#define IDC_EDIT1 214 -#define IDC_EDIT2 215 -#define IDC_SHOW 213 -#define IDC_CH 400 - -int PASCAL WinMain(HANDLE, HANDLE, LPSTR, int); -long PASCAL MainWndProc(HWND, UINT, WPARAM, LPARAM); -BOOL PASCAL ShowDMA(HWND, UINT, WPARAM, LPARAM); - - -HANDLE hInst; -HWND hListBox; -HWND hEdit,hEdit1, hEdit2, hStart, hStop; -BOOL bCheck[8]; - -HBRUSH hBlackBrush; -HPEN hRedPen, hBlackPen; -HWND hMainWnd; - -unsigned int sample_rate=10000; -U16 channel; -BOOLEAN fstop, HalfReady; -U32 data_size=1024, mem_size; -static HANDLE hMem=NULL; -U16 *ai_buf; -I16 card=-1, card_number = 0; -U32 count, postCount = 1024; -BOOLEAN clear_op; -HANDLE hThread1; - -POINT input_pos[16]= {{470, 280}, {440, 280}, - {410, 280}, {380, 280}, - {350, 280}, {320, 280}, - { 290, 280}, {260, 280}, - {230, 280}, {200, 280}, - {170, 280}, {140, 280}, - {110, 280}, {80, 280}, - { 50, 280}, { 20, 280}, - }; -POINT output_pos[16] ={ - {470, 340}, {440, 340}, - {410, 340}, {380, 340}, - {350, 340}, {320, 340}, - { 290, 340}, {260, 340}, - {230, 340}, {200, 340}, - {170, 340}, {140, 340}, - {110, 340}, {80, 340}, - { 50, 340}, { 20, 340}, - }; - -POINT io_pos[16] ={ - {395, 40}, {370, 40}, - {345, 40}, {320, 40}, - {295, 40}, {270, 40}, - { 245, 40}, {220, 40}, - {195, 40}, {170, 40}, - {145, 40}, {120, 40}, - {95, 40}, {70, 40}, - { 45, 40}, { 20, 40}, - }; - -BOOL InitApplication(HANDLE); -BOOL InitInstance(HANDLE, int); -void ProcessThread(void* pArg); - -int PASCAL WinMain(hInstance, hPrevInstance, lpCmdLine, nCmdShow) -HANDLE hInstance, hPrevInstance; -LPSTR lpCmdLine; -int nCmdShow; -{ - MSG msg; - - if (!hPrevInstance) - if (!InitApplication(hInstance)) return(FALSE); - if (!InitInstance(hInstance, nCmdShow)) return(FALSE); - while (GetMessage(&msg, NULL, NULL, NULL)) { - TranslateMessage(&msg); - DispatchMessage(&msg); - } - return(msg.wParam); -} - -BOOL InitApplication(hInstance) -HANDLE hInstance; -{ - WNDCLASS wc; - - /* Main Window Class */ - wc.style = NULL; - wc.lpfnWndProc = (WNDPROC)MainWndProc; - wc.cbClsExtra = 0; - wc.cbWndExtra = 0; - wc.hInstance = hInstance; - wc.hIcon = LoadIcon(hInstance, "MyIcon"); - wc.hCursor = LoadCursor(NULL, IDC_ARROW); - wc.hbrBackground = GetStockObject(LTGRAY_BRUSH); - wc.lpszMenuName = NULL; - wc.lpszClassName = "GenericWClass"; - if (!RegisterClass(&wc)) return(FALSE); -} - - -BOOL InitInstance(hInstance, nCmdShow) -HANDLE hInstance; -int nCmdShow; -{ - HWND hWnd; - HMENU hSampleMenu; - - hInst = hInstance; - hSampleMenu = LoadMenu(hInstance, "U7120Menu"); - hWnd = CreateWindow("GenericWClass", - (LPCSTR)"PCI-9118 Double Buffered DMA with About Trigger Mode", - WS_OVERLAPPEDWINDOW, - CW_USEDEFAULT, - CW_USEDEFAULT, - 520, - 400, - NULL, - hSampleMenu, - hInstance, - NULL); - if (!hWnd) return(FALSE); - ShowWindow(hWnd, nCmdShow); - UpdateWindow(hWnd); - return(TRUE); -} - -BOOL PASCAL setup(HWND hWnd, unsigned message, WPARAM wParam, LPARAM lParam) -{ - int i; - char n[16]; - char s[50]; - switch (message) { - case WM_INITDIALOG: - for (i=0;i<16;i++) { - sprintf(n, "%d", i); - _strupr(n); - SendMessage(GetDlgItem(hWnd,IDC_COMBO1), CB_ADDSTRING, NULL, (LONG)(LPSTR) n); - } - SendMessage(GetDlgItem(hWnd,IDC_COMBO1) , CB_SETCURSEL, 0, 0L); - - break; - case WM_COMMAND: - switch(LOWORD(wParam)) { - - case IDC_COMBO1: - if (HIWORD(wParam) == CBN_CLOSEUP) { - i = (int)SendMessage(GetDlgItem(hWnd,IDC_COMBO1), CB_GETCURSEL, 0, 0L); - SendMessage(GetDlgItem(hWnd,IDC_COMBO1), CB_GETLBTEXT, i, (LPARAM)((LPCSTR)n)); - card_number = i; - } - return(TRUE); - case IDOK: - if(card <0) { - if ((card=Register_Card(PCI_9118DG, card_number)) < 0) { - wsprintf(s, "Register_Card Error = %d\n", card); - MessageBox(hWnd, s, "Error", MB_OK); - SendMessage(hWnd, WM_CLOSE, 0, 0L); - break; - } - } - EndDialog(hWnd, TRUE); - InvalidateRect(hWnd, NULL, FALSE); - return (TRUE); - case IDCANCEL: - EndDialog(hWnd, TRUE); - return (TRUE); - } - break; - } - return (FALSE); -} - -long PASCAL MainWndProc(hWnd, message, wParam, lParam) -HWND hWnd; -UINT message; -WPARAM wParam; -LPARAM lParam; -{ - HDC hDC; - PAINTSTRUCT ps; - int i; - char n[6]; - static int pos=0; - I16 err; - char s[50]; - - switch(message) { - case WM_CREATE: - - DialogBox(hInst,IDD_DIALOG2, hWnd, setup); - if(card<0) { - SendMessage(hWnd, WM_CLOSE, 0, 0L); - break; - } - hEdit=CreateWindow("EDIT", NULL, - WS_CHILD | WS_VISIBLE | ES_LEFT, - output_pos[13].x-30, input_pos[15].y+20,40, 20, hWnd, IDC_EDIT, hInst, NULL); - - hEdit1=CreateWindow("EDIT", NULL, - WS_CHILD | WS_VISIBLE | ES_LEFT, - output_pos[13].x+90, input_pos[15].y+20,60, 20, hWnd, IDC_EDIT1, hInst, NULL); - - hEdit2=CreateWindow("EDIT", NULL, - WS_CHILD | WS_VISIBLE | ES_LEFT, - output_pos[13].x+90, input_pos[15].y-20,60, 20, hWnd, IDC_EDIT2, hInst, NULL); - - wsprintf(n,"%d",sample_rate/1000); - SetWindowText(hEdit,n); - - wsprintf(n,"%d",data_size); - SetWindowText(hEdit1,n); - - wsprintf(n,"%d",postCount); - SetWindowText(hEdit2,n); - - CreateWindow("SCROLLBAR", NULL, - WS_CHILD | WS_VISIBLE | SBS_VERT, - output_pos[13].x+10, input_pos[15].y+20,20, 20, hWnd, IDC_SCROLL, hInst, NULL); - - hStart = CreateWindow("BUTTON","Start" , - WS_CHILD | WS_VISIBLE , - output_pos[10].x+110, input_pos[10].y+10,50, 30, hWnd, IDC_START, hInst, NULL); - - hStop = CreateWindow("BUTTON","Stop" , - WS_CHILD | WS_VISIBLE , - output_pos[10].x+170, input_pos[10].y+10,50, 30, hWnd, IDC_STOP, hInst, NULL); - - CreateWindow("BUTTON","Data Value" , - WS_CHILD | WS_VISIBLE , - output_pos[10].x+230, input_pos[10].y+10,80, 30, hWnd, IDC_SHOW, hInst, NULL); - EnableWindow(hStop, FALSE); - - CreateWindow("BUTTON","0" , - WS_CHILD | WS_VISIBLE | BS_AUTORADIOBUTTON | BS_LEFTTEXT | WS_GROUP , - output_pos[4].x+50, io_pos[0].y-5+20,25,15, hWnd,IDC_CH, hInst, NULL); - - CreateWindow("BUTTON","1" , - WS_CHILD | WS_VISIBLE | BS_AUTORADIOBUTTON | BS_LEFTTEXT | WS_GROUP, - output_pos[4].x+50, io_pos[0].y+13+20,25,15, hWnd,IDC_CH+1, hInst, NULL); - - CreateWindow("BUTTON","2" , - WS_CHILD | WS_VISIBLE | BS_AUTORADIOBUTTON | BS_LEFTTEXT | WS_GROUP, - output_pos[4].x+50, io_pos[0].y+31+20,25,15, hWnd,IDC_CH+2, hInst, NULL); - - CreateWindow("BUTTON","3" , - WS_CHILD | WS_VISIBLE | BS_AUTORADIOBUTTON | BS_LEFTTEXT | WS_GROUP, - output_pos[4].x+50, io_pos[0].y+49+20,25,15, hWnd,IDC_CH+3, hInst, NULL); - - CreateWindow("BUTTON","4" , - WS_CHILD | WS_VISIBLE | BS_AUTORADIOBUTTON | BS_LEFTTEXT | WS_GROUP, - output_pos[4].x+100, io_pos[0].y-5+20,25,15, hWnd,IDC_CH+4, hInst, NULL); - - CreateWindow("BUTTON","5" , - WS_CHILD | WS_VISIBLE | BS_AUTORADIOBUTTON | BS_LEFTTEXT | WS_GROUP, - output_pos[4].x+100, io_pos[0].y+13+20,25,15, hWnd, IDC_CH+5, hInst, NULL); - - CreateWindow("BUTTON","6" , - WS_CHILD | WS_VISIBLE | BS_AUTORADIOBUTTON | BS_LEFTTEXT | WS_GROUP, - output_pos[4].x+100, io_pos[0].y+31+20,25,15, hWnd,IDC_CH+6, hInst, NULL); - - CreateWindow("BUTTON","7" , - WS_CHILD | WS_VISIBLE | BS_AUTORADIOBUTTON | BS_LEFTTEXT | WS_GROUP, - output_pos[4].x+100, io_pos[0].y+49+20,25,15, hWnd, IDC_CH+7, hInst, NULL); - - //default channel 0 - for (i=1;i<8;i++) bCheck[i]=FALSE; - bCheck[0] = TRUE; - channel = 0; - SendMessage(GetDlgItem(hWnd,IDC_CH), BM_SETCHECK, 1, 0); - - hBlackBrush= CreateSolidBrush(RGB(0,0,0)); - hRedPen= CreatePen(PS_SOLID,1,RGB(255,0,0)); - hBlackPen= CreatePen(PS_SOLID,1,RGB(0,0,0)); - break; - - case WM_PAINT: - hDC = BeginPaint(hWnd, &ps); - - // DMA analog input box - SelectObject(hDC, GetStockObject(GRAY_BRUSH)); - Rectangle(hDC, output_pos[15].x-10, io_pos[15].y-24, output_pos[0].x+26, io_pos[0].y+195); - SetTextColor(hDC,RGB(255,255,0)); - SetBkColor(hDC, RGB(0, 0, 255)); - TextOut(hDC, io_pos[15].x, io_pos[15].y-35, "DMA Input", 9); - SelectObject(hDC, hBlackBrush); - Rectangle(hDC, output_pos[15].x+35, io_pos[15].y-2, output_pos[4].x+41, io_pos[0].y+172); - - SetBkMode(hDC,TRANSPARENT); - TextOut(hDC,output_pos[13].x+70, input_pos[10].y-40,"PostCount",9); - TextOut(hDC,output_pos[13].x-60, input_pos[10].y,"Samping Rate",12); - TextOut(hDC,output_pos[13].x+30, input_pos[15].y+20,"KHZ",3); - TextOut(hDC,output_pos[13].x+70, input_pos[10].y,"Buffer Size",11); - TextOut(hDC,input_pos[2].x-10, io_pos[15].y+118,"Range: +-5V",11); - TextOut(hDC,input_pos[15].x, io_pos[15].y-19,"Volt",4); - TextOut(hDC,input_pos[15].x, io_pos[15].y-5,"5.00",4); - TextOut(hDC,input_pos[15].x, io_pos[15].y+36,"2.50",4); - TextOut(hDC,input_pos[15].x, io_pos[15].y+77,"0.00",4); - TextOut(hDC,input_pos[15].x-3, io_pos[15].y+118,"-2.50",5); - TextOut(hDC,input_pos[15].x-3, io_pos[15].y+159,"-5.00",5); - TextOut(hDC,input_pos[10].x+10, io_pos[10].y-19,"Signals",7); - TextOut(hDC,output_pos[4].x+60, io_pos[0].y-15,"Channel",7); - EndPaint(hWnd, &ps); - break; - - // Sample Rate Spin Control - case WM_VSCROLL: - switch (LOWORD(wParam)) { - case SB_LINEUP : - sample_rate+=5000; - if (sample_rate > 50000 ) sample_rate=50000; - break; - case SB_LINEDOWN: - sample_rate-=5000; - if (sample_rate < 5000 ) sample_rate=5000; - break; - } - wsprintf(n,"%d",sample_rate/1000); - SetWindowText(hEdit,n); - break; - case WM_COMMAND: - switch(LOWORD(wParam)) { - case IDM_EXIT: - SendMessage(hWnd, WM_CLOSE, 0, 0L); - break; - case IDC_CH: - case IDC_CH+1: - case IDC_CH+2: - case IDC_CH+3: - case IDC_CH+4: - case IDC_CH+5: - case IDC_CH+6: - case IDC_CH+7: - if (!bCheck[wParam-IDC_CH]) { - SendMessage(GetDlgItem(hWnd,wParam), BM_SETCHECK, 1, 0); - SendMessage(GetDlgItem(hWnd,IDC_CH+channel), BM_SETCHECK, 0, 0); - bCheck[channel]=FALSE; - } - channel=wParam-IDC_CH; - bCheck[channel]=TRUE; - break; - case IDC_SHOW : - DialogBox(hInst, "DMABox", hWnd, ShowDMA); - break; - case IDC_START: - if (hMem != NULL) { - GlobalUnfix(hMem); - GlobalUnlock(hMem); - GlobalFree(hMem); - } - // allocate a memory for DMA - postCount = GetDlgItemInt(hWnd,IDC_EDIT2,NULL ,FALSE); - data_size=GetDlgItemInt(hWnd,IDC_EDIT1,NULL ,FALSE); - mem_size=data_size * 2; - hMem = GlobalAlloc(GMEM_FIXED | GMEM_ZEROINIT,mem_size); - - ai_buf = (U16 *)GlobalLock(hMem); - if (ai_buf == NULL ) { - MessageBox(hWnd,"DMA", "No Memory", MB_OK); - SendMessage(hWnd, WM_CLOSE, 0, 0L); - break; - } - GlobalFix(hMem); - fstop =0; - if ((err=AI_9118_Config(card,P9118_AI_BiPolar|P9118_AI_SingEnded,P9118_AI_DtrgPositive|P9118_AI_EtrgPositive|P9118_AI_AboutTrgEn,0,postCount))!= NoError) { - wsprintf(s, "AI_Config Error = %d\n", err); - MessageBox(hWnd, s, "Error", MB_OK); - SendMessage(hWnd, WM_CLOSE, 0, 0L); - break; - } - if ((err=AI_AsyncDblBufferMode (card, 1)) != NoError) { - wsprintf(s, "AI_AsyncDblBufferMode Error = %d\n", err); - MessageBox(hWnd, s, "Error", MB_OK); - SendMessage(hWnd, WM_CLOSE, 0, 0L); - break; - } - if ((err=AI_ContReadChannel(card, channel, AD_B_5_V, ai_buf, data_size, (F64)sample_rate, ASYNCH_OP)) != NoError) { - wsprintf(s, "AI_ContReadPort Error = %d\n", err); - MessageBox(hWnd, s, "Error", MB_OK); - SendMessage(hWnd, WM_CLOSE, 0, 0L); - break; - } - EnableWindow(hStart, FALSE); - EnableWindow(hStop, TRUE); - hMainWnd = hWnd; - clear_op = FALSE; - hThread1 = (HANDLE)_beginthread(ProcessThread, 0, 0); - - MessageBeep(0); - break; - case IDC_STOP: - clear_op = TRUE; - EnableWindow(hStart, TRUE); - EnableWindow(hStop, FALSE); - break; - default: - return(DefWindowProc(hWnd, message, wParam, lParam)); - } - break; - case WM_DESTROY: - if (card >= 0) Release_Card(card); - DeleteObject(hBlackBrush); - DeleteObject(hRedPen); - GlobalUnfix(hMem); - GlobalUnlock(hMem); - GlobalFree(hMem); - PostQuitMessage(0); - break; - default: - return(DefWindowProc(hWnd, message, wParam, lParam)); - } - return(NULL); -} - -BOOL PASCAL ShowDMA(hDlg, message, wParam, lParam) -HWND hDlg; -UINT message; -WPARAM wParam; -LPARAM lParam; -{ - int nTabs[2] = {32, 92}; - int i; - char cBuf[100]; - char string[10]=" "; - char data_str[3]=" "; - U16 *pp; - switch (message) { - case WM_INITDIALOG: - hListBox = CreateWindow("LISTBOX", "Index Data (Hex)", - WS_CHILD | WS_VISIBLE | LBS_HASSTRINGS | LBS_STANDARD | LBS_USETABSTOPS |WS_CAPTION, - 50, 40, 240, 180, hDlg, 100, hInst, NULL); - SendMessage(hListBox, LB_RESETCONTENT, 0, 0L); - SendMessage(hListBox, LB_SETTABSTOPS, 2, (DWORD)(LPINT) nTabs); - SetDlgItemText(hDlg, DMA_DESCP, "This ListBox can show at most 4000 data"); - itoa( data_size, string, 10); - SetDlgItemText(hDlg, DMA_SPACE, string); - - pp = (U16 *)ai_buf; - if (count > 4000) count = 4000; - for(i=0;i>4; - newy = io_pos[0].y+171-(172*(U32)adinput)/4095; - newx = i*336/data_size+output_pos[15].x+35; - if (i==0) - MoveToEx(hDC, newx, newy, NULL); - else - MoveToEx(hDC, oldx, oldy, NULL); - LineTo(hDC, newx, newy); - oldx = newx; - oldy = newy; - } - } - } while (!clear_op && !fstop); - EnableWindow(hStart, TRUE); - EnableWindow(hStop, FALSE); - AI_AsyncDblBufferHalfReady(card, &HalfReady, &fstop); //Get the index of working buffer of Double Buffer - AI_AsyncClear(card, &count); - if (!HalfReady && ((count == data_size)||(count == 0))) { - } else { - AI_AsyncDblBufferTransfer(card, ai_buf); - SelectObject(hDC, hBlackBrush); - SelectObject(hDC, hBlackPen); - Rectangle(hDC, output_pos[15].x+35, io_pos[15].y-2, output_pos[4].x+41, io_pos[0].y+172); - SelectObject(hDC, hRedPen); - if (count ==0) count = data_size; - - for (i=0; i>4; - newy = io_pos[0].y+171-(172*(U32)adinput)/4095; - newx = i*336/data_size+output_pos[15].x+35; - if (i==0) - MoveToEx(hDC, newx, newy, NULL); - else - MoveToEx(hDC, oldx, oldy, NULL); - LineTo(hDC, newx, newy); - oldx = newx; - oldy = newy; - } - } - ReleaseDC(hMainWnd, hDC); - _endthread(); -} diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9118/SDK9118DbfAboutTrg/Resource.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9118/SDK9118DbfAboutTrg/Resource.h deleted file mode 100644 index 4831ea6..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9118/SDK9118DbfAboutTrg/Resource.h +++ /dev/null @@ -1,25 +0,0 @@ -//{{NO_DEPENDENCIES}} -// Microsoft Developer Studio generated include file. -// Used by 9118ATrg.rc -// -#define IDM_SETUP 101 -#define IDD_DIALOG1 101 -#define IDD_DIALOG2 104 -#define IDM_EXIT 110 -#define ID_CARDNUMBER 122 -#define ID_STOP 304 -#define DMA_SPACE 500 -#define DMA_DESCP 600 -#define IDC_COMBO1 1001 -#define IDC_STATIC -1 - -// Next default values for new objects -// -#ifdef APSTUDIO_INVOKED -#ifndef APSTUDIO_READONLY_SYMBOLS -#define _APS_NEXT_RESOURCE_VALUE 105 -#define _APS_NEXT_COMMAND_VALUE 123 -#define _APS_NEXT_CONTROL_VALUE 1002 -#define _APS_NEXT_SYMED_VALUE 101 -#endif -#endif diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9118/SDK9118DbfDma/9118CDMA.C b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9118/SDK9118DbfDma/9118CDMA.C deleted file mode 100644 index e2d9900..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9118/SDK9118DbfDma/9118CDMA.C +++ /dev/null @@ -1,497 +0,0 @@ -#include "windows.h" -#include -#include -#include -#include -#include -#include "resource.h" -#include "Dask.h" - -#define IDM_EXIT 110 -#define IDC_SCROLL 207 -#define IDC_SPIN 301 -#define IDC_START 208 -#define IDC_STOP 209 -#define IDC_EDIT 211 -#define IDC_EDIT1 214 -#define IDC_SHOW 213 -#define IDC_CH 400 - -int PASCAL WinMain(HANDLE, HANDLE, LPSTR, int); -long PASCAL MainWndProc(HWND, UINT, WPARAM, LPARAM); -BOOL PASCAL ShowDMA(HWND, UINT, WPARAM, LPARAM); - - -HANDLE hInst; -HWND hListBox; -HWND hEdit,hEdit1, hStart, hStop; -BOOL bCheck[8]; - -HBRUSH hBlackBrush; -HPEN hRedPen, hBlackPen; -HWND hMainWnd; - -unsigned int sample_rate=10000; -U16 channel; -U32 data_size=1000, mem_size; -static HANDLE hMem=NULL; -U16 *ai_buf; -I16 card=-1, card_number = 0; -BOOLEAN fstop, HalfReady; -BOOLEAN clear_op; -HANDLE hThread1; - -POINT input_pos[16]= {{470, 280}, {440, 280}, - {410, 280}, {380, 280}, - {350, 280}, {320, 280}, - { 290, 280}, {260, 280}, - {230, 280}, {200, 280}, - {170, 280}, {140, 280}, - {110, 280}, {80, 280}, - { 50, 280}, { 20, 280}, - }; -POINT output_pos[16] ={ - {470, 340}, {440, 340}, - {410, 340}, {380, 340}, - {350, 340}, {320, 340}, - { 290, 340}, {260, 340}, - {230, 340}, {200, 340}, - {170, 340}, {140, 340}, - {110, 340}, {80, 340}, - { 50, 340}, { 20, 340}, - }; - -POINT io_pos[16] ={ - {395, 40}, {370, 40}, - {345, 40}, {320, 40}, - {295, 40}, {270, 40}, - { 245, 40}, {220, 40}, - {195, 40}, {170, 40}, - {145, 40}, {120, 40}, - {95, 40}, {70, 40}, - { 45, 40}, { 20, 40}, - }; - -BOOL InitApplication(HANDLE); -BOOL InitInstance(HANDLE, int); -void ProcessThread(void* pArg); - -int PASCAL WinMain(hInstance, hPrevInstance, lpCmdLine, nCmdShow) -HANDLE hInstance, hPrevInstance; -LPSTR lpCmdLine; -int nCmdShow; -{ - MSG msg; - - if (!hPrevInstance) - if (!InitApplication(hInstance)) return(FALSE); - if (!InitInstance(hInstance, nCmdShow)) return(FALSE); - while (GetMessage(&msg, NULL, NULL, NULL)) { - TranslateMessage(&msg); - DispatchMessage(&msg); - } - return(msg.wParam); -} - -BOOL InitApplication(hInstance) -HANDLE hInstance; -{ - WNDCLASS wc; - - /* Main Window Class */ - wc.style = NULL; - wc.lpfnWndProc = (WNDPROC)MainWndProc; - wc.cbClsExtra = 0; - wc.cbWndExtra = 0; - wc.hInstance = hInstance; - wc.hIcon = LoadIcon(hInstance, "MyIcon"); - wc.hCursor = LoadCursor(NULL, IDC_ARROW); - wc.hbrBackground = GetStockObject(LTGRAY_BRUSH); - wc.lpszMenuName = NULL; - wc.lpszClassName = "GenericWClass"; - if (!RegisterClass(&wc)) return(FALSE); -} - - -BOOL InitInstance(hInstance, nCmdShow) -HANDLE hInstance; -int nCmdShow; -{ - HWND hWnd; - HMENU hSampleMenu; - - hInst = hInstance; - hSampleMenu = LoadMenu(hInstance, "U7120Menu"); - hWnd = CreateWindow("GenericWClass", - (LPCSTR)"PCI-9118 Double Buffered DMA", - WS_OVERLAPPEDWINDOW, - CW_USEDEFAULT, - CW_USEDEFAULT, - 520, - 400, - NULL, - hSampleMenu, - hInstance, - NULL); - if (!hWnd) return(FALSE); - ShowWindow(hWnd, nCmdShow); - UpdateWindow(hWnd); - return(TRUE); -} - -BOOL PASCAL setup(HWND hWnd, unsigned message, WPARAM wParam, LPARAM lParam) -{ - int i; - char n[16]; - char s[50]; - switch (message) { - case WM_INITDIALOG: - for (i=0;i<16;i++) { - sprintf(n, "%d", i); - _strupr(n); - SendMessage(GetDlgItem(hWnd,IDC_COMBO1), CB_ADDSTRING, NULL, (LONG)(LPSTR) n); - } - SendMessage(GetDlgItem(hWnd,IDC_COMBO1) , CB_SETCURSEL, 0, 0L); - - break; - case WM_COMMAND: - switch(LOWORD(wParam)) { - - case IDC_COMBO1: - if (HIWORD(wParam) == CBN_CLOSEUP) { - i = (int)SendMessage(GetDlgItem(hWnd,IDC_COMBO1), CB_GETCURSEL, 0, 0L); - SendMessage(GetDlgItem(hWnd,IDC_COMBO1), CB_GETLBTEXT, i, (LPARAM)((LPCSTR)n)); - card_number = i; - } - return(TRUE); - case IDOK: - if ((card=Register_Card(PCI_9118DG, card_number)) < 0) { - wsprintf(s, "Register_Card Error = %d\n", card); - MessageBox(hWnd, s, "Error", MB_OK); - SendMessage(hWnd, WM_CLOSE, 0, 0L); - break; - } - EndDialog(hWnd, TRUE); - InvalidateRect(hWnd, NULL, FALSE); - return (TRUE); - case IDCANCEL: - EndDialog(hWnd, TRUE); - return (TRUE); - } - break; - } - return (FALSE); -} - -long PASCAL MainWndProc(hWnd, message, wParam, lParam) -HWND hWnd; -UINT message; -WPARAM wParam; -LPARAM lParam; -{ - HDC hDC; - PAINTSTRUCT ps; - int i; - char n[6]; - static int pos=0; - I16 err; - char s[50]; - - switch(message) { - case WM_CREATE: - DialogBox(hInst,IDD_DIALOG2, hWnd, setup); - if(card<0) { - SendMessage(hWnd, WM_CLOSE, 0, 0L); - break; - } - hEdit=CreateWindow("EDIT", NULL, - WS_CHILD | WS_VISIBLE | ES_LEFT, - output_pos[13].x-30, input_pos[15].y+20,40, 20, hWnd, IDC_EDIT, hInst, NULL); - - hEdit1=CreateWindow("EDIT", NULL, - WS_CHILD | WS_VISIBLE | ES_LEFT, - output_pos[13].x+90, input_pos[15].y+20,60, 20, hWnd, IDC_EDIT1, hInst, NULL); - - wsprintf(n,"%d",sample_rate/1000); - SetWindowText(hEdit,n); - - wsprintf(n,"%d",data_size); - SetWindowText(hEdit1,n); - - CreateWindow("SCROLLBAR", NULL, - WS_CHILD | WS_VISIBLE | SBS_VERT, - output_pos[13].x+10, input_pos[15].y+20,20, 20, hWnd, IDC_SCROLL, hInst, NULL); - - hStart = CreateWindow("BUTTON","Start" , - WS_CHILD | WS_VISIBLE , - output_pos[10].x+110, input_pos[10].y+10,50, 30, hWnd, IDC_START, hInst, NULL); - - hStop = CreateWindow("BUTTON","Stop" , - WS_CHILD | WS_VISIBLE , - output_pos[10].x+170, input_pos[10].y+10,50, 30, hWnd, IDC_STOP, hInst, NULL); - - CreateWindow("BUTTON","Data Value" , - WS_CHILD | WS_VISIBLE , - output_pos[10].x+230, input_pos[10].y+10,80, 30, hWnd, IDC_SHOW, hInst, NULL); - EnableWindow(hStop, FALSE); - - CreateWindow("BUTTON","0" , - WS_CHILD | WS_VISIBLE | BS_AUTORADIOBUTTON | BS_LEFTTEXT | WS_GROUP , - output_pos[4].x+50, io_pos[0].y-5+20,25,15, hWnd,IDC_CH, hInst, NULL); - - CreateWindow("BUTTON","1" , - WS_CHILD | WS_VISIBLE | BS_AUTORADIOBUTTON | BS_LEFTTEXT | WS_GROUP, - output_pos[4].x+50, io_pos[0].y+13+20,25,15, hWnd,IDC_CH+1, hInst, NULL); - - CreateWindow("BUTTON","2" , - WS_CHILD | WS_VISIBLE | BS_AUTORADIOBUTTON | BS_LEFTTEXT | WS_GROUP, - output_pos[4].x+50, io_pos[0].y+31+20,25,15, hWnd,IDC_CH+2, hInst, NULL); - - CreateWindow("BUTTON","3" , - WS_CHILD | WS_VISIBLE | BS_AUTORADIOBUTTON | BS_LEFTTEXT | WS_GROUP, - output_pos[4].x+50, io_pos[0].y+49+20,25,15, hWnd,IDC_CH+3, hInst, NULL); - - CreateWindow("BUTTON","4" , - WS_CHILD | WS_VISIBLE | BS_AUTORADIOBUTTON | BS_LEFTTEXT | WS_GROUP, - output_pos[4].x+100, io_pos[0].y-5+20,25,15, hWnd,IDC_CH+4, hInst, NULL); - - CreateWindow("BUTTON","5" , - WS_CHILD | WS_VISIBLE | BS_AUTORADIOBUTTON | BS_LEFTTEXT | WS_GROUP, - output_pos[4].x+100, io_pos[0].y+13+20,25,15, hWnd, IDC_CH+5, hInst, NULL); - - CreateWindow("BUTTON","6" , - WS_CHILD | WS_VISIBLE | BS_AUTORADIOBUTTON | BS_LEFTTEXT | WS_GROUP, - output_pos[4].x+100, io_pos[0].y+31+20,25,15, hWnd,IDC_CH+6, hInst, NULL); - - CreateWindow("BUTTON","7" , - WS_CHILD | WS_VISIBLE | BS_AUTORADIOBUTTON | BS_LEFTTEXT | WS_GROUP, - output_pos[4].x+100, io_pos[0].y+49+20,25,15, hWnd, IDC_CH+7, hInst, NULL); - - //default channel 0 - for (i=1;i<8;i++) bCheck[i]=FALSE; - bCheck[0] = TRUE; - channel = 0; - SendMessage(GetDlgItem(hWnd,IDC_CH), BM_SETCHECK, 1, 0); - - hBlackBrush= CreateSolidBrush(RGB(0,0,0)); - hRedPen= CreatePen(PS_SOLID,1,RGB(255,0,0)); - hBlackPen= CreatePen(PS_SOLID,1,RGB(0,0,0)); - break; - - case WM_PAINT: - hDC = BeginPaint(hWnd, &ps); - - // DMA analog input box - SelectObject(hDC, GetStockObject(GRAY_BRUSH)); - Rectangle(hDC, output_pos[15].x-10, io_pos[15].y-24, output_pos[0].x+26, io_pos[0].y+195); - SetTextColor(hDC,RGB(255,255,0)); - SetBkColor(hDC, RGB(0, 0, 255)); - TextOut(hDC, io_pos[15].x, io_pos[15].y-35, "DMA Input", 9); - SelectObject(hDC, hBlackBrush); - Rectangle(hDC, output_pos[15].x+35, io_pos[15].y-2, output_pos[4].x+41, io_pos[0].y+172); - - SetBkMode(hDC,TRANSPARENT); - TextOut(hDC,output_pos[13].x-60, input_pos[10].y,"Samping Rate",12); - TextOut(hDC,output_pos[13].x+30, input_pos[15].y+20,"KHZ",3); - TextOut(hDC,output_pos[13].x+70, input_pos[10].y,"Buffer Size",11); - TextOut(hDC,input_pos[2].x-10, io_pos[15].y+118,"Range: +-5V",11); - TextOut(hDC,input_pos[15].x, io_pos[15].y-19,"Volt",4); - TextOut(hDC,input_pos[15].x, io_pos[15].y-5,"5.00",4); - TextOut(hDC,input_pos[15].x, io_pos[15].y+36,"2.50",4); - TextOut(hDC,input_pos[15].x, io_pos[15].y+77,"0.00",4); - TextOut(hDC,input_pos[15].x-3, io_pos[15].y+118,"-2.50",5); - TextOut(hDC,input_pos[15].x-3, io_pos[15].y+159,"-5.00",5); - TextOut(hDC,input_pos[10].x+10, io_pos[10].y-19,"Signals",7); - TextOut(hDC,output_pos[4].x+60, io_pos[0].y-15,"Channel",7); - EndPaint(hWnd, &ps); - break; - - // Sample Rate Spin Control - case WM_VSCROLL: - switch (LOWORD(wParam)) { - case SB_LINEUP : - sample_rate+=5000; - if (sample_rate > 50000 ) sample_rate=50000; - break; - case SB_LINEDOWN: - sample_rate-=5000; - if (sample_rate < 5000 ) sample_rate=5000; - break; - } - wsprintf(n,"%d",sample_rate/1000); - SetWindowText(hEdit,n); - break; - case WM_COMMAND: - switch(LOWORD(wParam)) { - case IDM_EXIT: - SendMessage(hWnd, WM_CLOSE, 0, 0L); - break; - case IDC_CH: - case IDC_CH+1: - case IDC_CH+2: - case IDC_CH+3: - case IDC_CH+4: - case IDC_CH+5: - case IDC_CH+6: - case IDC_CH+7: - if (!bCheck[wParam-IDC_CH]) { - SendMessage(GetDlgItem(hWnd,wParam), BM_SETCHECK, 1, 0); - SendMessage(GetDlgItem(hWnd,IDC_CH+channel), BM_SETCHECK, 0, 0); - bCheck[channel]=FALSE; - } - channel=wParam-IDC_CH; - bCheck[channel]=TRUE; - break; - - case IDC_SHOW : - DialogBox(hInst, "DMABox", hWnd, ShowDMA); - break; - case IDC_START: - if (hMem != NULL) { - GlobalUnfix(hMem); - GlobalUnlock(hMem); - GlobalFree(hMem); - } - // allocate a memory for DMA - data_size=GetDlgItemInt(hWnd,IDC_EDIT1,NULL ,FALSE); - mem_size=data_size * 2; - hMem = GlobalAlloc(GMEM_FIXED | GMEM_ZEROINIT,mem_size); - ai_buf = (U16 *)GlobalLock(hMem); - if (ai_buf == NULL ) { - MessageBox(hWnd,"DMA", "No Memory", MB_OK); - SendMessage(hWnd, WM_CLOSE, 0, 0L); - break; - } - - GlobalFix(hMem); - - if ((err=AI_9118_Config(card,P9118_AI_BiPolar|P9118_AI_SingEnded,0,0,0))!= NoError) { - wsprintf(s, "AI_Config Error = %d\n", err); - MessageBox(hWnd, s, "Error", MB_OK); - SendMessage(hWnd, WM_CLOSE, 0, 0L); - break; - } - if ((err=AI_AsyncDblBufferMode (card, 1)) != NoError) { - wsprintf(s, "AI_AsyncDblBufferMode Error = %d\n", err); - MessageBox(hWnd, s, "Error", MB_OK); - SendMessage(hWnd, WM_CLOSE, 0, 0L); - break; - } - if ((err=AI_ContReadChannel(card, channel, AD_B_5_V, ai_buf, data_size, (F64)sample_rate, ASYNCH_OP)) != NoError) { - wsprintf(s, "AI_ContReadPort Error = %d\n", err); - MessageBox(hWnd, s, "Error", MB_OK); - SendMessage(hWnd, WM_CLOSE, 0, 0L); - break; - } - EnableWindow(hStart, FALSE); - EnableWindow(hStop, TRUE); - - hMainWnd = hWnd; - clear_op = FALSE; - hThread1 = (HANDLE)_beginthread(ProcessThread, 0, 0); - MessageBeep(0); - break; - case IDC_STOP: - clear_op = TRUE; - EnableWindow(hStart, TRUE); - EnableWindow(hStop, FALSE); - break; - default: - return(DefWindowProc(hWnd, message, wParam, lParam)); - } - break; - case WM_DESTROY: - if (card >= 0) Release_Card(card); - DeleteObject(hBlackBrush); - DeleteObject(hRedPen); - GlobalUnfix(hMem); - GlobalUnlock(hMem); - GlobalFree(hMem); - PostQuitMessage(0); - break; - default: - return(DefWindowProc(hWnd, message, wParam, lParam)); - } - return(NULL); -} - -BOOL PASCAL ShowDMA(hDlg, message, wParam, lParam) -HWND hDlg; -UINT message; -WPARAM wParam; -LPARAM lParam; -{ - int nTabs[2] = {32, 92}; - int i; - char cBuf[100]; - char string[10]=" "; - char data_str[3]=" "; - U16 *pp; - switch (message) { - case WM_INITDIALOG: - hListBox = CreateWindow("LISTBOX", "Index Data (Hex)", - WS_CHILD | WS_VISIBLE | LBS_HASSTRINGS | LBS_STANDARD | LBS_USETABSTOPS |WS_CAPTION, - 50, 40, 240, 180, hDlg, 100, hInst, NULL); - SendMessage(hListBox, LB_RESETCONTENT, 0, 0L); - SendMessage(hListBox, LB_SETTABSTOPS, 2, (DWORD)(LPINT) nTabs); - SetDlgItemText(hDlg, DMA_DESCP, "This ListBox can show at most 4000 data"); - itoa( data_size, string, 10); - SetDlgItemText(hDlg, DMA_SPACE, string); - - pp = (U16 *)ai_buf; - if (data_size > 4000) data_size = 4000; - for(i=0;i>4; - newy = io_pos[0].y+171-(172*(U32)adinput)/4095; - newx = i*336/data_size+output_pos[15].x+35; - if (i==0) - MoveToEx(hDC, newx, newy, NULL); - else - MoveToEx(hDC, oldx, oldy, NULL); - LineTo(hDC, newx, newy); - oldx = newx; - oldy = newy; - } - } while (!clear_op); - ReleaseDC(hMainWnd, hDC); - AI_AsyncClear(card, &count); - _endthread(); -} diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9118/SDK9118DbfDma/9118CDMA.EXE b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9118/SDK9118DbfDma/9118CDMA.EXE deleted file mode 100644 index 46cf69b..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9118/SDK9118DbfDma/9118CDMA.EXE and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9118/SDK9118DbfDma/9118CDMA.MAK b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9118/SDK9118DbfDma/9118CDMA.MAK deleted file mode 100644 index f5a0e9b..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9118/SDK9118DbfDma/9118CDMA.MAK +++ /dev/null @@ -1,219 +0,0 @@ -# Microsoft Developer Studio Generated NMAKE File, Format Version 4.00 -# ** DO NOT EDIT ** - -# TARGTYPE "Win32 (x86) Application" 0x0101 - -!IF "$(CFG)" == "" -CFG=9118cdma - Win32 Debug -!MESSAGE No configuration specified. Defaulting to 9118cdma - Win32 Debug. -!ENDIF - -!IF "$(CFG)" != "9118cdma - Win32 Release" && "$(CFG)" !=\ - "9118cdma - Win32 Debug" -!MESSAGE Invalid configuration "$(CFG)" specified. -!MESSAGE You can specify a configuration when running NMAKE on this makefile -!MESSAGE by defining the macro CFG on the command line. For example: -!MESSAGE -!MESSAGE NMAKE /f "9118cdma.mak" CFG="9118cdma - Win32 Debug" -!MESSAGE -!MESSAGE Possible choices for configuration are: -!MESSAGE -!MESSAGE "9118cdma - Win32 Release" (based on "Win32 (x86) Application") -!MESSAGE "9118cdma - Win32 Debug" (based on "Win32 (x86) Application") -!MESSAGE -!ERROR An invalid configuration is specified. -!ENDIF - -!IF "$(OS)" == "Windows_NT" -NULL= -!ELSE -NULL=nul -!ENDIF -################################################################################ -# Begin Project -# PROP Target_Last_Scanned "9118cdma - Win32 Debug" -RSC=rc.exe -CPP=cl.exe -MTL=mktyplib.exe - -!IF "$(CFG)" == "9118cdma - Win32 Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "Release" -# PROP BASE Intermediate_Dir "Release" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "" -# PROP Intermediate_Dir "Release" -# PROP Target_Dir "" -OUTDIR=. -INTDIR=.\Release - -ALL : "$(OUTDIR)\9118cdma.exe" - -CLEAN : - -@erase ".\9118cdma.exe" - -@erase ".\Release\9118cdma.obj" - -@erase ".\Release\9118cdma.res" - -"$(INTDIR)" : - if not exist "$(INTDIR)/$(NULL)" mkdir "$(INTDIR)" - -# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /YX /c -# ADD CPP /nologo /MT /W3 /GX /Od /I "..\..\..\include" /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /c -# SUBTRACT CPP /YX -CPP_PROJ=/nologo /MT /W3 /GX /Od /I "..\..\..\include" /D "WIN32" /D "NDEBUG"\ - /D "_WINDOWS" /Fo"$(INTDIR)/" /c -CPP_OBJS=.\Release/ -CPP_SBRS= -# ADD BASE MTL /nologo /D "NDEBUG" /win32 -# ADD MTL /nologo /D "NDEBUG" /win32 -MTL_PROJ=/nologo /D "NDEBUG" /win32 -# ADD BASE RSC /l 0x409 /d "NDEBUG" -# ADD RSC /l 0x409 /d "NDEBUG" -RSC_PROJ=/l 0x409 /fo"$(INTDIR)/9118cdma.res" /d "NDEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -BSC32_FLAGS=/nologo /o"$(OUTDIR)/9118cdma.bsc" -BSC32_SBRS= -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:windows /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ..\..\..\lib\pci-dask.lib /nologo /subsystem:windows /machine:I386 -LINK32_FLAGS=kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib\ - advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib\ - odbccp32.lib ..\..\..\lib\pci-dask.lib /nologo /subsystem:windows\ - /incremental:no /pdb:"$(OUTDIR)/9118cdma.pdb" /machine:I386\ - /out:"$(OUTDIR)/9118cdma.exe" -LINK32_OBJS= \ - ".\Release\9118cdma.obj" \ - ".\Release\9118cdma.res" - -"$(OUTDIR)\9118cdma.exe" : "$(OUTDIR)" $(DEF_FILE) $(LINK32_OBJS) - $(LINK32) @<< - $(LINK32_FLAGS) $(LINK32_OBJS) -<< - -!ELSEIF "$(CFG)" == "9118cdma - Win32 Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "Debug" -# PROP BASE Intermediate_Dir "Debug" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "Debug" -# PROP Intermediate_Dir "Debug" -# PROP Target_Dir "" -OUTDIR=.\Debug -INTDIR=.\Debug - -ALL : "$(OUTDIR)\9118cdma.exe" - -CLEAN : - -@erase ".\Debug\vc40.pdb" - -@erase ".\Debug\vc40.idb" - -@erase ".\Debug\9118cdma.exe" - -@erase ".\Debug\9118cdma.obj" - -@erase ".\Debug\9118cdma.res" - -@erase ".\Debug\9118cdma.ilk" - -@erase ".\Debug\9118cdma.pdb" - -"$(OUTDIR)" : - if not exist "$(OUTDIR)/$(NULL)" mkdir "$(OUTDIR)" - -# ADD BASE CPP /nologo /W3 /Gm /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /YX /c -# ADD CPP /nologo /MTd /W3 /Gm /GX /Zi /Od /I "..\..\..\include" /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /c -# SUBTRACT CPP /YX -CPP_PROJ=/nologo /MTd /W3 /Gm /GX /Zi /Od /I "..\..\..\include" /D "WIN32" /D\ - "_DEBUG" /D "_WINDOWS" /Fo"$(INTDIR)/" /Fd"$(INTDIR)/" /c -CPP_OBJS=.\Debug/ -CPP_SBRS= -# ADD BASE MTL /nologo /D "_DEBUG" /win32 -# ADD MTL /nologo /D "_DEBUG" /win32 -MTL_PROJ=/nologo /D "_DEBUG" /win32 -# ADD BASE RSC /l 0x409 /d "_DEBUG" -# ADD RSC /l 0x409 /d "_DEBUG" -RSC_PROJ=/l 0x409 /fo"$(INTDIR)/9118cdma.res" /d "_DEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -BSC32_FLAGS=/nologo /o"$(OUTDIR)/9118cdma.bsc" -BSC32_SBRS= -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:windows /debug /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ..\..\..\lib\pci-dask.lib /nologo /subsystem:windows /debug /machine:I386 -LINK32_FLAGS=kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib\ - advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib\ - odbccp32.lib ..\..\..\lib\pci-dask.lib /nologo /subsystem:windows\ - /incremental:yes /pdb:"$(OUTDIR)/9118cdma.pdb" /debug /machine:I386\ - /out:"$(OUTDIR)/9118cdma.exe" -LINK32_OBJS= \ - ".\Debug\9118cdma.obj" \ - ".\Debug\9118cdma.res" - -"$(OUTDIR)\9118cdma.exe" : "$(OUTDIR)" $(DEF_FILE) $(LINK32_OBJS) - $(LINK32) @<< - $(LINK32_FLAGS) $(LINK32_OBJS) -<< - -!ENDIF - -.c{$(CPP_OBJS)}.obj: - $(CPP) $(CPP_PROJ) $< - -.cpp{$(CPP_OBJS)}.obj: - $(CPP) $(CPP_PROJ) $< - -.cxx{$(CPP_OBJS)}.obj: - $(CPP) $(CPP_PROJ) $< - -.c{$(CPP_SBRS)}.sbr: - $(CPP) $(CPP_PROJ) $< - -.cpp{$(CPP_SBRS)}.sbr: - $(CPP) $(CPP_PROJ) $< - -.cxx{$(CPP_SBRS)}.sbr: - $(CPP) $(CPP_PROJ) $< - -################################################################################ -# Begin Target - -# Name "9118cdma - Win32 Release" -# Name "9118cdma - Win32 Debug" - -!IF "$(CFG)" == "9118cdma - Win32 Release" - -!ELSEIF "$(CFG)" == "9118cdma - Win32 Debug" - -!ENDIF - -################################################################################ -# Begin Source File - -SOURCE=.\9118cdma.rc - -"$(INTDIR)\9118cdma.res" : $(SOURCE) "$(INTDIR)" - $(RSC) $(RSC_PROJ) $(SOURCE) - - -# End Source File -################################################################################ -# Begin Source File - -SOURCE=.\9118cdma.c -DEP_CPP_9118C=\ - ".\..\..\..\include\Dask.h"\ - - -"$(INTDIR)\9118cdma.obj" : $(SOURCE) $(DEP_CPP_9118C) "$(INTDIR)" - - -# End Source File -# End Target -# End Project -################################################################################ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9118/SDK9118DbfDma/9118CDMA.MDP b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9118/SDK9118DbfDma/9118CDMA.MDP deleted file mode 100644 index 88128bd..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9118/SDK9118DbfDma/9118CDMA.MDP and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9118/SDK9118DbfDma/9118CDMA.RC b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9118/SDK9118DbfDma/9118CDMA.RC deleted file mode 100644 index 2b2e33b..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9118/SDK9118DbfDma/9118CDMA.RC +++ /dev/null @@ -1,126 +0,0 @@ -//Microsoft Developer Studio generated resource script. -// -#include "resource.h" - -#define APSTUDIO_READONLY_SYMBOLS -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 2 resource. -// -#define APSTUDIO_HIDDEN_SYMBOLS -#include "windows.h" -#undef APSTUDIO_HIDDEN_SYMBOLS - -///////////////////////////////////////////////////////////////////////////// -#undef APSTUDIO_READONLY_SYMBOLS - -///////////////////////////////////////////////////////////////////////////// -// English (U.S.) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -#ifdef _WIN32 -LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US -#pragma code_page(1252) -#endif //_WIN32 - -///////////////////////////////////////////////////////////////////////////// -// -// Menu -// - -U7120MENU MENU DISCARDABLE -BEGIN - MENUITEM "E&xit!", IDM_EXIT -END - - -#ifdef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// TEXTINCLUDE -// - -1 TEXTINCLUDE DISCARDABLE -BEGIN - "resource.h\0" -END - -2 TEXTINCLUDE DISCARDABLE -BEGIN - "#define APSTUDIO_HIDDEN_SYMBOLS\r\n" - "#include ""windows.h""\r\n" - "#undef APSTUDIO_HIDDEN_SYMBOLS\r\n" - "\0" -END - -3 TEXTINCLUDE DISCARDABLE -BEGIN - "\r\n" - "\0" -END - -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog -// - -DMABOX DIALOG DISCARDABLE 18, 10, 171, 169 -STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "Data Value (half of circular buffer)" -FONT 8, "System" -BEGIN - PUSHBUTTON "STOP",ID_STOP,82,147,24,14 - LTEXT "Data Transferred :",-1,39,119,64,8 - LTEXT "Text",DMA_SPACE,103,118,41,8 - LTEXT "Text",DMA_DESCP,16,6,158,8 -END - -IDD_DIALOG2 DIALOG DISCARDABLE 110, 10, 110, 69 -STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "Card Number" -FONT 10, "System" -BEGIN - DEFPUSHBUTTON "OK",IDOK,9,48,39,14 - PUSHBUTTON "Cancel",IDCANCEL,56,48,38,14 - COMBOBOX IDC_COMBO1,52,23,51,45,CBS_DROPDOWN | WS_VSCROLL | - WS_TABSTOP - LTEXT "Card Number",IDC_STATIC,3,24,46,13 - LTEXT "Select a card number :",IDC_STATIC,3,6,100,11 -END - - -///////////////////////////////////////////////////////////////////////////// -// -// DESIGNINFO -// - -#ifdef APSTUDIO_INVOKED -GUIDELINES DESIGNINFO DISCARDABLE -BEGIN - IDD_DIALOG2, DIALOG - BEGIN - LEFTMARGIN, 3 - RIGHTMARGIN, 103 - BOTTOMMARGIN, 62 - END -END -#endif // APSTUDIO_INVOKED - -#endif // English (U.S.) resources -///////////////////////////////////////////////////////////////////////////// - - - -#ifndef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 3 resource. -// - - -///////////////////////////////////////////////////////////////////////////// -#endif // not APSTUDIO_INVOKED - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9118/SDK9118DbfDma/Resource.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9118/SDK9118DbfDma/Resource.h deleted file mode 100644 index 21aec1f..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9118/SDK9118DbfDma/Resource.h +++ /dev/null @@ -1,24 +0,0 @@ -//{{NO_DEPENDENCIES}} -// Microsoft Developer Studio generated include file. -// Used by 9118cdma.rc -// -#define IDM_SETUP 101 -#define IDD_DIALOG1 101 -#define IDD_DIALOG2 104 -#define IDM_EXIT 110 -#define ID_STOP 304 -#define DMA_SPACE 500 -#define DMA_DESCP 600 -#define IDC_COMBO1 1015 -#define IDC_STATIC -1 - -// Next default values for new objects -// -#ifdef APSTUDIO_INVOKED -#ifndef APSTUDIO_READONLY_SYMBOLS -#define _APS_NEXT_RESOURCE_VALUE 103 -#define _APS_NEXT_COMMAND_VALUE 102 -#define _APS_NEXT_CONTROL_VALUE 1001 -#define _APS_NEXT_SYMED_VALUE 101 -#endif -#endif diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9118/SDK9118DbfPostTrg/9118PTrg.mak b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9118/SDK9118DbfPostTrg/9118PTrg.mak deleted file mode 100644 index d686f15..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9118/SDK9118DbfPostTrg/9118PTrg.mak +++ /dev/null @@ -1,219 +0,0 @@ -# Microsoft Developer Studio Generated NMAKE File, Format Version 4.00 -# ** DO NOT EDIT ** - -# TARGTYPE "Win32 (x86) Application" 0x0101 - -!IF "$(CFG)" == "" -CFG=9118PTrg - Win32 Debug -!MESSAGE No configuration specified. Defaulting to 9118PTrg - Win32 Debug. -!ENDIF - -!IF "$(CFG)" != "9118PTrg - Win32 Release" && "$(CFG)" !=\ - "9118PTrg - Win32 Debug" -!MESSAGE Invalid configuration "$(CFG)" specified. -!MESSAGE You can specify a configuration when running NMAKE on this makefile -!MESSAGE by defining the macro CFG on the command line. For example: -!MESSAGE -!MESSAGE NMAKE /f "9118PTrg.mak" CFG="9118PTrg - Win32 Debug" -!MESSAGE -!MESSAGE Possible choices for configuration are: -!MESSAGE -!MESSAGE "9118PTrg - Win32 Release" (based on "Win32 (x86) Application") -!MESSAGE "9118PTrg - Win32 Debug" (based on "Win32 (x86) Application") -!MESSAGE -!ERROR An invalid configuration is specified. -!ENDIF - -!IF "$(OS)" == "Windows_NT" -NULL= -!ELSE -NULL=nul -!ENDIF -################################################################################ -# Begin Project -# PROP Target_Last_Scanned "9118PTrg - Win32 Debug" -CPP=cl.exe -MTL=mktyplib.exe -RSC=rc.exe - -!IF "$(CFG)" == "9118PTrg - Win32 Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "Release" -# PROP BASE Intermediate_Dir "Release" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "" -# PROP Intermediate_Dir "Release" -# PROP Target_Dir "" -OUTDIR=. -INTDIR=.\Release - -ALL : "$(OUTDIR)\9118PTrg.exe" - -CLEAN : - -@erase ".\9118PTrg.exe" - -@erase ".\Release\9118Ptrg.obj" - -@erase ".\Release\9118PTrg.res" - -"$(INTDIR)" : - if not exist "$(INTDIR)/$(NULL)" mkdir "$(INTDIR)" - -# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /YX /c -# ADD CPP /nologo /MT /W3 /GX /Od /I "..\..\..\include" /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /c -# SUBTRACT CPP /YX -CPP_PROJ=/nologo /MT /W3 /GX /Od /I "..\..\..\include" /D "WIN32" /D "NDEBUG"\ - /D "_WINDOWS" /Fo"$(INTDIR)/" /c -CPP_OBJS=.\Release/ -CPP_SBRS= -# ADD BASE MTL /nologo /D "NDEBUG" /win32 -# ADD MTL /nologo /D "NDEBUG" /win32 -MTL_PROJ=/nologo /D "NDEBUG" /win32 -# ADD BASE RSC /l 0x409 /d "NDEBUG" -# ADD RSC /l 0x409 /d "NDEBUG" -RSC_PROJ=/l 0x409 /fo"$(INTDIR)/9118PTrg.res" /d "NDEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -BSC32_FLAGS=/nologo /o"$(OUTDIR)/9118PTrg.bsc" -BSC32_SBRS= -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:windows /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ..\..\..\lib\pci-dask.lib /nologo /subsystem:windows /machine:I386 -LINK32_FLAGS=kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib\ - advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib\ - odbccp32.lib ..\..\..\lib\pci-dask.lib /nologo /subsystem:windows\ - /incremental:no /pdb:"$(OUTDIR)/9118PTrg.pdb" /machine:I386\ - /out:"$(OUTDIR)/9118PTrg.exe" -LINK32_OBJS= \ - ".\Release\9118Ptrg.obj" \ - ".\Release\9118PTrg.res" - -"$(OUTDIR)\9118PTrg.exe" : "$(OUTDIR)" $(DEF_FILE) $(LINK32_OBJS) - $(LINK32) @<< - $(LINK32_FLAGS) $(LINK32_OBJS) -<< - -!ELSEIF "$(CFG)" == "9118PTrg - Win32 Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "9118PTrg" -# PROP BASE Intermediate_Dir "9118PTrg" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "Debug" -# PROP Intermediate_Dir "Debug" -# PROP Target_Dir "" -OUTDIR=.\Debug -INTDIR=.\Debug - -ALL : "$(OUTDIR)\9118PTrg.exe" - -CLEAN : - -@erase ".\Debug\vc40.pdb" - -@erase ".\Debug\vc40.idb" - -@erase ".\Debug\9118PTrg.exe" - -@erase ".\Debug\9118Ptrg.obj" - -@erase ".\Debug\9118PTrg.res" - -@erase ".\Debug\9118PTrg.ilk" - -@erase ".\Debug\9118PTrg.pdb" - -"$(OUTDIR)" : - if not exist "$(OUTDIR)/$(NULL)" mkdir "$(OUTDIR)" - -# ADD BASE CPP /nologo /W3 /Gm /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /YX /c -# ADD CPP /nologo /MTd /W3 /Gm /GX /Zi /Od /I "..\..\..\include" /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /c -# SUBTRACT CPP /YX -CPP_PROJ=/nologo /MTd /W3 /Gm /GX /Zi /Od /I "..\..\..\include" /D "WIN32" /D\ - "_DEBUG" /D "_WINDOWS" /Fo"$(INTDIR)/" /Fd"$(INTDIR)/" /c -CPP_OBJS=.\Debug/ -CPP_SBRS= -# ADD BASE MTL /nologo /D "_DEBUG" /win32 -# ADD MTL /nologo /D "_DEBUG" /win32 -MTL_PROJ=/nologo /D "_DEBUG" /win32 -# ADD BASE RSC /l 0x409 /d "_DEBUG" -# ADD RSC /l 0x409 /d "_DEBUG" -RSC_PROJ=/l 0x409 /fo"$(INTDIR)/9118PTrg.res" /d "_DEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -BSC32_FLAGS=/nologo /o"$(OUTDIR)/9118PTrg.bsc" -BSC32_SBRS= -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:windows /debug /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ..\..\..\lib\pci-dask.lib /nologo /subsystem:windows /debug /machine:I386 -LINK32_FLAGS=kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib\ - advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib\ - odbccp32.lib ..\..\..\lib\pci-dask.lib /nologo /subsystem:windows\ - /incremental:yes /pdb:"$(OUTDIR)/9118PTrg.pdb" /debug /machine:I386\ - /out:"$(OUTDIR)/9118PTrg.exe" -LINK32_OBJS= \ - ".\Debug\9118Ptrg.obj" \ - ".\Debug\9118PTrg.res" - -"$(OUTDIR)\9118PTrg.exe" : "$(OUTDIR)" $(DEF_FILE) $(LINK32_OBJS) - $(LINK32) @<< - $(LINK32_FLAGS) $(LINK32_OBJS) -<< - -!ENDIF - -.c{$(CPP_OBJS)}.obj: - $(CPP) $(CPP_PROJ) $< - -.cpp{$(CPP_OBJS)}.obj: - $(CPP) $(CPP_PROJ) $< - -.cxx{$(CPP_OBJS)}.obj: - $(CPP) $(CPP_PROJ) $< - -.c{$(CPP_SBRS)}.sbr: - $(CPP) $(CPP_PROJ) $< - -.cpp{$(CPP_SBRS)}.sbr: - $(CPP) $(CPP_PROJ) $< - -.cxx{$(CPP_SBRS)}.sbr: - $(CPP) $(CPP_PROJ) $< - -################################################################################ -# Begin Target - -# Name "9118PTrg - Win32 Release" -# Name "9118PTrg - Win32 Debug" - -!IF "$(CFG)" == "9118PTrg - Win32 Release" - -!ELSEIF "$(CFG)" == "9118PTrg - Win32 Debug" - -!ENDIF - -################################################################################ -# Begin Source File - -SOURCE=.\9118PTrg.rc - -"$(INTDIR)\9118PTrg.res" : $(SOURCE) "$(INTDIR)" - $(RSC) $(RSC_PROJ) $(SOURCE) - - -# End Source File -################################################################################ -# Begin Source File - -SOURCE=.\9118Ptrg.c -DEP_CPP_9118P=\ - ".\..\..\..\include\Dask.h"\ - - -"$(INTDIR)\9118Ptrg.obj" : $(SOURCE) $(DEP_CPP_9118P) "$(INTDIR)" - - -# End Source File -# End Target -# End Project -################################################################################ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9118/SDK9118DbfPostTrg/9118PTrg.rc b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9118/SDK9118DbfPostTrg/9118PTrg.rc deleted file mode 100644 index 2b2e33b..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9118/SDK9118DbfPostTrg/9118PTrg.rc +++ /dev/null @@ -1,126 +0,0 @@ -//Microsoft Developer Studio generated resource script. -// -#include "resource.h" - -#define APSTUDIO_READONLY_SYMBOLS -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 2 resource. -// -#define APSTUDIO_HIDDEN_SYMBOLS -#include "windows.h" -#undef APSTUDIO_HIDDEN_SYMBOLS - -///////////////////////////////////////////////////////////////////////////// -#undef APSTUDIO_READONLY_SYMBOLS - -///////////////////////////////////////////////////////////////////////////// -// English (U.S.) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -#ifdef _WIN32 -LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US -#pragma code_page(1252) -#endif //_WIN32 - -///////////////////////////////////////////////////////////////////////////// -// -// Menu -// - -U7120MENU MENU DISCARDABLE -BEGIN - MENUITEM "E&xit!", IDM_EXIT -END - - -#ifdef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// TEXTINCLUDE -// - -1 TEXTINCLUDE DISCARDABLE -BEGIN - "resource.h\0" -END - -2 TEXTINCLUDE DISCARDABLE -BEGIN - "#define APSTUDIO_HIDDEN_SYMBOLS\r\n" - "#include ""windows.h""\r\n" - "#undef APSTUDIO_HIDDEN_SYMBOLS\r\n" - "\0" -END - -3 TEXTINCLUDE DISCARDABLE -BEGIN - "\r\n" - "\0" -END - -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog -// - -DMABOX DIALOG DISCARDABLE 18, 10, 171, 169 -STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "Data Value (half of circular buffer)" -FONT 8, "System" -BEGIN - PUSHBUTTON "STOP",ID_STOP,82,147,24,14 - LTEXT "Data Transferred :",-1,39,119,64,8 - LTEXT "Text",DMA_SPACE,103,118,41,8 - LTEXT "Text",DMA_DESCP,16,6,158,8 -END - -IDD_DIALOG2 DIALOG DISCARDABLE 110, 10, 110, 69 -STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "Card Number" -FONT 10, "System" -BEGIN - DEFPUSHBUTTON "OK",IDOK,9,48,39,14 - PUSHBUTTON "Cancel",IDCANCEL,56,48,38,14 - COMBOBOX IDC_COMBO1,52,23,51,45,CBS_DROPDOWN | WS_VSCROLL | - WS_TABSTOP - LTEXT "Card Number",IDC_STATIC,3,24,46,13 - LTEXT "Select a card number :",IDC_STATIC,3,6,100,11 -END - - -///////////////////////////////////////////////////////////////////////////// -// -// DESIGNINFO -// - -#ifdef APSTUDIO_INVOKED -GUIDELINES DESIGNINFO DISCARDABLE -BEGIN - IDD_DIALOG2, DIALOG - BEGIN - LEFTMARGIN, 3 - RIGHTMARGIN, 103 - BOTTOMMARGIN, 62 - END -END -#endif // APSTUDIO_INVOKED - -#endif // English (U.S.) resources -///////////////////////////////////////////////////////////////////////////// - - - -#ifndef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 3 resource. -// - - -///////////////////////////////////////////////////////////////////////////// -#endif // not APSTUDIO_INVOKED - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9118/SDK9118DbfPostTrg/9118Ptrg.c b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9118/SDK9118DbfPostTrg/9118Ptrg.c deleted file mode 100644 index 5255710..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9118/SDK9118DbfPostTrg/9118Ptrg.c +++ /dev/null @@ -1,533 +0,0 @@ -#include "windows.h" -#include -#include -#include -#include -#include -#include "resource.h" -#include "Dask.h" - -#define IDM_EXIT 110 -#define IDC_SCROLL 207 -#define IDC_SPIN 301 -#define IDC_START 208 -#define IDC_STOP 209 -#define IDC_EDIT 211 -#define IDC_EDIT1 214 -#define IDC_EDIT2 215 -#define IDC_SHOW 213 -#define IDC_CH 400 - -int PASCAL WinMain(HANDLE, HANDLE, LPSTR, int); -long PASCAL MainWndProc(HWND, UINT, WPARAM, LPARAM); -BOOL PASCAL ShowDMA(HWND, UINT, WPARAM, LPARAM); - -HANDLE hInst; -HWND hListBox; -HWND hEdit,hEdit1, hEdit2, hStart, hStop; -BOOL bCheck[8]; - -HBRUSH hBlackBrush; -HPEN hRedPen, hBlackPen; -HWND hMainWnd; - -unsigned int sample_rate=10000; -U16 channel; -BOOLEAN fstop, HalfReady; -U32 data_size=1000, mem_size; -static HANDLE hMem=NULL; -U16 *ai_buf; -I16 card=-1, card_number = 0; -U32 count, postCount = 512; -BOOLEAN clear_op; -HANDLE hThread1; - - -POINT input_pos[16]= {{470, 280}, {440, 280}, - {410, 280}, {380, 280}, - {350, 280}, {320, 280}, - { 290, 280}, {260, 280}, - {230, 280}, {200, 280}, - {170, 280}, {140, 280}, - {110, 280}, {80, 280}, - { 50, 280}, { 20, 280}, - }; -POINT output_pos[16] ={ - {470, 340}, {440, 340}, - {410, 340}, {380, 340}, - {350, 340}, {320, 340}, - { 290, 340}, {260, 340}, - {230, 340}, {200, 340}, - {170, 340}, {140, 340}, - {110, 340}, {80, 340}, - { 50, 340}, { 20, 340}, - }; - -POINT io_pos[16] ={ - {395, 40}, {370, 40}, - {345, 40}, {320, 40}, - {295, 40}, {270, 40}, - { 245, 40}, {220, 40}, - {195, 40}, {170, 40}, - {145, 40}, {120, 40}, - {95, 40}, {70, 40}, - { 45, 40}, { 20, 40}, - }; - -BOOL InitApplication(HANDLE); -BOOL InitInstance(HANDLE, int); -void ProcessThread(void* pArg); - -int PASCAL WinMain(hInstance, hPrevInstance, lpCmdLine, nCmdShow) -HANDLE hInstance, hPrevInstance; -LPSTR lpCmdLine; -int nCmdShow; -{ - MSG msg; - - if (!hPrevInstance) - if (!InitApplication(hInstance)) return(FALSE); - if (!InitInstance(hInstance, nCmdShow)) return(FALSE); - while (GetMessage(&msg, NULL, NULL, NULL)) { - TranslateMessage(&msg); - DispatchMessage(&msg); - } - return(msg.wParam); -} - -BOOL InitApplication(hInstance) -HANDLE hInstance; -{ - WNDCLASS wc; - - /* Main Window Class */ - wc.style = NULL; - wc.lpfnWndProc = (WNDPROC)MainWndProc; - wc.cbClsExtra = 0; - wc.cbWndExtra = 0; - wc.hInstance = hInstance; - wc.hIcon = LoadIcon(hInstance, "MyIcon"); - wc.hCursor = LoadCursor(NULL, IDC_ARROW); - wc.hbrBackground = GetStockObject(LTGRAY_BRUSH); - wc.lpszMenuName = NULL; - wc.lpszClassName = "GenericWClass"; - if (!RegisterClass(&wc)) return(FALSE); -} - - -BOOL InitInstance(hInstance, nCmdShow) -HANDLE hInstance; -int nCmdShow; -{ - HWND hWnd; - HMENU hSampleMenu; - - hInst = hInstance; - hSampleMenu = LoadMenu(hInstance, "U7120Menu"); - hWnd = CreateWindow("GenericWClass", - (LPCSTR)"PCI-9118 Double Buffered DMA with Post Trigger", - WS_OVERLAPPEDWINDOW, - CW_USEDEFAULT, - CW_USEDEFAULT, - 520, - 400, - NULL, - hSampleMenu, - hInstance, - NULL); - if (!hWnd) return(FALSE); - ShowWindow(hWnd, nCmdShow); - UpdateWindow(hWnd); - return(TRUE); -} - -BOOL PASCAL setup(HWND hWnd, unsigned message, WPARAM wParam, LPARAM lParam) -{ - int i; - char n[16]; - char s[50]; - switch (message) { - case WM_INITDIALOG: - for (i=0;i<16;i++) { - wsprintf(n, "%d", i); - _strupr(n); - SendMessage(GetDlgItem(hWnd,IDC_COMBO1), CB_ADDSTRING, NULL, (LONG)(LPSTR) n); - } - SendMessage(GetDlgItem(hWnd,IDC_COMBO1) , CB_SETCURSEL, 0, 0L); - - break; - case WM_COMMAND: - switch(LOWORD(wParam)) { - - case IDC_COMBO1: - if (HIWORD(wParam) == CBN_CLOSEUP) { - i = (int)SendMessage(GetDlgItem(hWnd,IDC_COMBO1), CB_GETCURSEL, 0, 0L); - SendMessage(GetDlgItem(hWnd,IDC_COMBO1), CB_GETLBTEXT, i, (LPARAM)((LPCSTR)n)); - card_number = i; - } - return(TRUE); - case IDOK: - if ((card=Register_Card(PCI_9118DG, card_number)) < 0) { - wsprintf(s, "Register_Card Error = %d\n", card); - MessageBox(hWnd, s, "Error", MB_OK); - SendMessage(hWnd, WM_CLOSE, 0, 0L); - break; - } - EndDialog(hWnd, TRUE); - InvalidateRect(hWnd, NULL, FALSE); - return (TRUE); - case IDCANCEL: - EndDialog(hWnd, TRUE); - return (TRUE); - } - break; - } - return (FALSE); -} - -long PASCAL MainWndProc(hWnd, message, wParam, lParam) -HWND hWnd; -UINT message; -WPARAM wParam; -LPARAM lParam; -{ - HDC hDC; - PAINTSTRUCT ps; - int i; - char n[6]; - static int pos=0; - I16 err; - char s[50]; - - switch(message) { - case WM_CREATE: - - DialogBox(hInst,IDD_DIALOG2, hWnd, setup); - if(card<0) { - SendMessage(hWnd, WM_CLOSE, 0, 0L); - break; - } - hEdit=CreateWindow("EDIT", NULL, - WS_CHILD | WS_VISIBLE | ES_LEFT, - output_pos[13].x-30, input_pos[15].y+20,40, 20, hWnd, IDC_EDIT, hInst, NULL); - - hEdit1=CreateWindow("EDIT", NULL, - WS_CHILD | WS_VISIBLE | ES_LEFT, - output_pos[13].x+90, input_pos[15].y+20,60, 20, hWnd, IDC_EDIT1, hInst, NULL); - - hEdit2=CreateWindow("EDIT", NULL, - WS_CHILD | WS_VISIBLE | ES_LEFT, - output_pos[13].x+90, input_pos[15].y-20,60, 20, hWnd, IDC_EDIT2, hInst, NULL); - - wsprintf(n,"%d",sample_rate/1000); - SetWindowText(hEdit,n); - - wsprintf(n,"%d",data_size); - SetWindowText(hEdit1,n); - - wsprintf(n,"%d",postCount); - SetWindowText(hEdit2,n); - - CreateWindow("SCROLLBAR", NULL, - WS_CHILD | WS_VISIBLE | SBS_VERT, - output_pos[13].x+10, input_pos[15].y+20,20, 20, hWnd, IDC_SCROLL, hInst, NULL); - - hStart = CreateWindow("BUTTON","Start" , - WS_CHILD | WS_VISIBLE , - output_pos[10].x+110, input_pos[10].y+10,50, 30, hWnd, IDC_START, hInst, NULL); - - hStop = CreateWindow("BUTTON","Stop" , - WS_CHILD | WS_VISIBLE , - output_pos[10].x+170, input_pos[10].y+10,50, 30, hWnd, IDC_STOP, hInst, NULL); - - CreateWindow("BUTTON","Data Value" , - WS_CHILD | WS_VISIBLE , - output_pos[10].x+230, input_pos[10].y+10,80, 30, hWnd, IDC_SHOW, hInst, NULL); - EnableWindow(hStop, FALSE); - - CreateWindow("BUTTON","0" , - WS_CHILD | WS_VISIBLE | BS_AUTORADIOBUTTON | BS_LEFTTEXT | WS_GROUP , - output_pos[4].x+50, io_pos[0].y-5+20,25,15, hWnd,IDC_CH, hInst, NULL); - - CreateWindow("BUTTON","1" , - WS_CHILD | WS_VISIBLE | BS_AUTORADIOBUTTON | BS_LEFTTEXT | WS_GROUP, - output_pos[4].x+50, io_pos[0].y+13+20,25,15, hWnd,IDC_CH+1, hInst, NULL); - - CreateWindow("BUTTON","2" , - WS_CHILD | WS_VISIBLE | BS_AUTORADIOBUTTON | BS_LEFTTEXT | WS_GROUP, - output_pos[4].x+50, io_pos[0].y+31+20,25,15, hWnd,IDC_CH+2, hInst, NULL); - - CreateWindow("BUTTON","3" , - WS_CHILD | WS_VISIBLE | BS_AUTORADIOBUTTON | BS_LEFTTEXT | WS_GROUP, - output_pos[4].x+50, io_pos[0].y+49+20,25,15, hWnd,IDC_CH+3, hInst, NULL); - - CreateWindow("BUTTON","4" , - WS_CHILD | WS_VISIBLE | BS_AUTORADIOBUTTON | BS_LEFTTEXT | WS_GROUP, - output_pos[4].x+100, io_pos[0].y-5+20,25,15, hWnd,IDC_CH+4, hInst, NULL); - - CreateWindow("BUTTON","5" , - WS_CHILD | WS_VISIBLE | BS_AUTORADIOBUTTON | BS_LEFTTEXT | WS_GROUP, - output_pos[4].x+100, io_pos[0].y+13+20,25,15, hWnd, IDC_CH+5, hInst, NULL); - - CreateWindow("BUTTON","6" , - WS_CHILD | WS_VISIBLE | BS_AUTORADIOBUTTON | BS_LEFTTEXT | WS_GROUP, - output_pos[4].x+100, io_pos[0].y+31+20,25,15, hWnd,IDC_CH+6, hInst, NULL); - - CreateWindow("BUTTON","7" , - WS_CHILD | WS_VISIBLE | BS_AUTORADIOBUTTON | BS_LEFTTEXT | WS_GROUP, - output_pos[4].x+100, io_pos[0].y+49+20,25,15, hWnd, IDC_CH+7, hInst, NULL); - - //default channel 0 - for (i=1;i<8;i++) bCheck[i]=FALSE; - bCheck[0] = TRUE; - channel = 0; - SendMessage(GetDlgItem(hWnd,IDC_CH), BM_SETCHECK, 1, 0); - - hBlackBrush= CreateSolidBrush(RGB(0,0,0)); - hRedPen= CreatePen(PS_SOLID,1,RGB(255,0,0)); - hBlackPen= CreatePen(PS_SOLID,1,RGB(0,0,0)); - break; - - case WM_PAINT: - hDC = BeginPaint(hWnd, &ps); - - // DMA analog input box - SelectObject(hDC, GetStockObject(GRAY_BRUSH)); - Rectangle(hDC, output_pos[15].x-10, io_pos[15].y-24, output_pos[0].x+26, io_pos[0].y+195); - SetTextColor(hDC,RGB(255,255,0)); - SetBkColor(hDC, RGB(0, 0, 255)); - TextOut(hDC, io_pos[15].x, io_pos[15].y-35, "DMA Input", 9); - SelectObject(hDC, hBlackBrush); - Rectangle(hDC, output_pos[15].x+35, io_pos[15].y-2, output_pos[4].x+41, io_pos[0].y+172); - - SetBkMode(hDC,TRANSPARENT); - TextOut(hDC,output_pos[13].x+70, input_pos[10].y-40,"PostCount",9); - TextOut(hDC,output_pos[13].x-60, input_pos[10].y,"Samping Rate",12); - TextOut(hDC,output_pos[13].x+30, input_pos[15].y+20,"KHZ",3); - TextOut(hDC,output_pos[13].x+70, input_pos[10].y,"Buffer Size",11); - TextOut(hDC,input_pos[2].x-10, io_pos[15].y+118,"Range: +-5V",11); - TextOut(hDC,input_pos[15].x, io_pos[15].y-19,"Volt",4); - TextOut(hDC,input_pos[15].x, io_pos[15].y-5,"5.00",4); - TextOut(hDC,input_pos[15].x, io_pos[15].y+36,"2.50",4); - TextOut(hDC,input_pos[15].x, io_pos[15].y+77,"0.00",4); - TextOut(hDC,input_pos[15].x-3, io_pos[15].y+118,"-2.50",5); - TextOut(hDC,input_pos[15].x-3, io_pos[15].y+159,"-5.00",5); - TextOut(hDC,input_pos[10].x+10, io_pos[10].y-19,"Signals",7); - TextOut(hDC,output_pos[4].x+60, io_pos[0].y-15,"Channel",7); - EndPaint(hWnd, &ps); - break; - - // Sample Rate Spin Control - case WM_VSCROLL: - switch (LOWORD(wParam)) { - case SB_LINEUP : - sample_rate+=5000; - if (sample_rate > 50000 ) sample_rate=50000; - break; - case SB_LINEDOWN: - sample_rate-=5000; - if (sample_rate < 5000 ) sample_rate=5000; - break; - } - wsprintf(n,"%d",sample_rate/1000); - SetWindowText(hEdit,n); - break; - case WM_COMMAND: - switch(LOWORD(wParam)) { - case IDM_EXIT: - SendMessage(hWnd, WM_CLOSE, 0, 0L); - break; - case IDC_CH: - case IDC_CH+1: - case IDC_CH+2: - case IDC_CH+3: - case IDC_CH+4: - case IDC_CH+5: - case IDC_CH+6: - case IDC_CH+7: - if (!bCheck[wParam-IDC_CH]) { - SendMessage(GetDlgItem(hWnd,wParam), BM_SETCHECK, 1, 0); - SendMessage(GetDlgItem(hWnd,IDC_CH+channel), BM_SETCHECK, 0, 0); - bCheck[channel]=FALSE; - } - channel=wParam-IDC_CH; - bCheck[channel]=TRUE; - break; - case IDC_SHOW : - DialogBox(hInst, "DMABox", hWnd, ShowDMA); - break; - case IDC_START: - if (hMem != NULL) { - GlobalUnfix(hMem); - GlobalUnlock(hMem); - GlobalFree(hMem); - } - // allocate a memory for DMA - postCount = GetDlgItemInt(hWnd,IDC_EDIT2,NULL ,FALSE); - data_size=GetDlgItemInt(hWnd,IDC_EDIT1,NULL ,FALSE); - mem_size=data_size * 2; - hMem = GlobalAlloc(GMEM_FIXED | GMEM_ZEROINIT,mem_size); - - ai_buf = (U16 *)GlobalLock(hMem); - if (ai_buf == NULL ) { - MessageBox(hWnd,"DMA", "No Memory", MB_OK); - SendMessage(hWnd, WM_CLOSE, 0, 0L); - break; - } - - GlobalFix(hMem); - for (i=0;i= 0) Release_Card(card); - DeleteObject(hBlackBrush); - DeleteObject(hRedPen); - GlobalUnfix(hMem); - GlobalUnlock(hMem); - GlobalFree(hMem); - PostQuitMessage(0); - break; - default: - return(DefWindowProc(hWnd, message, wParam, lParam)); - } - return(NULL); -} - -BOOL PASCAL ShowDMA(hDlg, message, wParam, lParam) -HWND hDlg; -UINT message; -WPARAM wParam; -LPARAM lParam; -{ - int nTabs[2] = {32, 92}; - int i; - char cBuf[100]; - char string[10]=" "; - char data_str[3]=" "; - U16 *pp; - switch (message) { - case WM_INITDIALOG: - hListBox = CreateWindow("LISTBOX", "Index Data (Hex)", - WS_CHILD | WS_VISIBLE | LBS_HASSTRINGS | LBS_STANDARD | LBS_USETABSTOPS |WS_CAPTION, - 50, 40, 240, 180, hDlg, 100, hInst, NULL); - SendMessage(hListBox, LB_RESETCONTENT, 0, 0L); - SendMessage(hListBox, LB_SETTABSTOPS, 2, (DWORD)(LPINT) nTabs); - SetDlgItemText(hDlg, DMA_DESCP, "This ListBox can show at most 4000 data"); - itoa( data_size, string, 10); - SetDlgItemText(hDlg, DMA_SPACE, string); - pp = (U16 *)ai_buf; - if (count >4000) count = 4000; - for(i=0;i>4; - newy = io_pos[0].y+171-(172*(U32)adinput)/4095; - newx = i*336/data_size+output_pos[15].x+35; - if (i==0) - MoveToEx(hDC, newx, newy, NULL); - else - MoveToEx(hDC, oldx, oldy, NULL); - LineTo(hDC, newx, newy); - oldx = newx; - oldy = newy; - } - } - } while (!clear_op && !fstop); - EnableWindow(hStart, TRUE); - EnableWindow(hStop, FALSE); - AI_AsyncDblBufferHalfReady(card, &HalfReady, &fstop); //Get the index of working buffer of Double Buffer - AI_AsyncClear(card, &count); - if (!HalfReady && ((count == data_size)||(count == 0))) { - } else { - AI_AsyncDblBufferTransfer(card, ai_buf); - SelectObject(hDC, hBlackBrush); - SelectObject(hDC, hBlackPen); - Rectangle(hDC, output_pos[15].x+35, io_pos[15].y-2, output_pos[4].x+41, io_pos[0].y+172); - SelectObject(hDC, hRedPen); - if (count ==0) count = data_size; - for (i=0; i>4; - newy = io_pos[0].y+171-(172*(U32)adinput)/4095; - newx = i*336/data_size+output_pos[15].x+35; - if (i==0) - MoveToEx(hDC, newx, newy, NULL); - else - MoveToEx(hDC, oldx, oldy, NULL); - LineTo(hDC, newx, newy); - oldx = newx; - oldy = newy; - } - } - ReleaseDC(hMainWnd, hDC); - _endthread(); -} diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9118/SDK9118DbfPostTrg/9118Ptrg.exe b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9118/SDK9118DbfPostTrg/9118Ptrg.exe deleted file mode 100644 index db73da9..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9118/SDK9118DbfPostTrg/9118Ptrg.exe and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9118/SDK9118DbfPostTrg/9118Ptrg.mdp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9118/SDK9118DbfPostTrg/9118Ptrg.mdp deleted file mode 100644 index 9f78477..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9118/SDK9118DbfPostTrg/9118Ptrg.mdp and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9118/SDK9118DbfPostTrg/Resource.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9118/SDK9118DbfPostTrg/Resource.h deleted file mode 100644 index 4831ea6..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9118/SDK9118DbfPostTrg/Resource.h +++ /dev/null @@ -1,25 +0,0 @@ -//{{NO_DEPENDENCIES}} -// Microsoft Developer Studio generated include file. -// Used by 9118ATrg.rc -// -#define IDM_SETUP 101 -#define IDD_DIALOG1 101 -#define IDD_DIALOG2 104 -#define IDM_EXIT 110 -#define ID_CARDNUMBER 122 -#define ID_STOP 304 -#define DMA_SPACE 500 -#define DMA_DESCP 600 -#define IDC_COMBO1 1001 -#define IDC_STATIC -1 - -// Next default values for new objects -// -#ifdef APSTUDIO_INVOKED -#ifndef APSTUDIO_READONLY_SYMBOLS -#define _APS_NEXT_RESOURCE_VALUE 105 -#define _APS_NEXT_COMMAND_VALUE 123 -#define _APS_NEXT_CONTROL_VALUE 1002 -#define _APS_NEXT_SYMED_VALUE 101 -#endif -#endif diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9118/SDK9118DbfPreTrg/9118PrTg.exe b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9118/SDK9118DbfPreTrg/9118PrTg.exe deleted file mode 100644 index 2313476..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9118/SDK9118DbfPreTrg/9118PrTg.exe and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9118/SDK9118DbfPreTrg/9118PrTg.mak b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9118/SDK9118DbfPreTrg/9118PrTg.mak deleted file mode 100644 index 8383047..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9118/SDK9118DbfPreTrg/9118PrTg.mak +++ /dev/null @@ -1,219 +0,0 @@ -# Microsoft Developer Studio Generated NMAKE File, Format Version 4.00 -# ** DO NOT EDIT ** - -# TARGTYPE "Win32 (x86) Application" 0x0101 - -!IF "$(CFG)" == "" -CFG=9118PrTg - Win32 Debug -!MESSAGE No configuration specified. Defaulting to 9118PrTg - Win32 Debug. -!ENDIF - -!IF "$(CFG)" != "9118PrTg - Win32 Release" && "$(CFG)" !=\ - "9118PrTg - Win32 Debug" -!MESSAGE Invalid configuration "$(CFG)" specified. -!MESSAGE You can specify a configuration when running NMAKE on this makefile -!MESSAGE by defining the macro CFG on the command line. For example: -!MESSAGE -!MESSAGE NMAKE /f "9118PrTg.mak" CFG="9118PrTg - Win32 Debug" -!MESSAGE -!MESSAGE Possible choices for configuration are: -!MESSAGE -!MESSAGE "9118PrTg - Win32 Release" (based on "Win32 (x86) Application") -!MESSAGE "9118PrTg - Win32 Debug" (based on "Win32 (x86) Application") -!MESSAGE -!ERROR An invalid configuration is specified. -!ENDIF - -!IF "$(OS)" == "Windows_NT" -NULL= -!ELSE -NULL=nul -!ENDIF -################################################################################ -# Begin Project -# PROP Target_Last_Scanned "9118PrTg - Win32 Debug" -RSC=rc.exe -CPP=cl.exe -MTL=mktyplib.exe - -!IF "$(CFG)" == "9118PrTg - Win32 Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "Release" -# PROP BASE Intermediate_Dir "Release" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "" -# PROP Intermediate_Dir "Release" -# PROP Target_Dir "" -OUTDIR=. -INTDIR=.\Release - -ALL : "$(OUTDIR)\9118PrTg.exe" - -CLEAN : - -@erase ".\9118PrTg.exe" - -@erase ".\Release\9118Prtg.obj" - -@erase ".\Release\9118PrTg.res" - -"$(INTDIR)" : - if not exist "$(INTDIR)/$(NULL)" mkdir "$(INTDIR)" - -# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /YX /c -# ADD CPP /nologo /MT /W3 /GX /Od /I "..\..\..\include" /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /c -# SUBTRACT CPP /YX -CPP_PROJ=/nologo /MT /W3 /GX /Od /I "..\..\..\include" /D "WIN32" /D "NDEBUG"\ - /D "_WINDOWS" /Fo"$(INTDIR)/" /c -CPP_OBJS=.\Release/ -CPP_SBRS= -# ADD BASE MTL /nologo /D "NDEBUG" /win32 -# ADD MTL /nologo /D "NDEBUG" /win32 -MTL_PROJ=/nologo /D "NDEBUG" /win32 -# ADD BASE RSC /l 0x409 /d "NDEBUG" -# ADD RSC /l 0x409 /d "NDEBUG" -RSC_PROJ=/l 0x409 /fo"$(INTDIR)/9118PrTg.res" /d "NDEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -BSC32_FLAGS=/nologo /o"$(OUTDIR)/9118PrTg.bsc" -BSC32_SBRS= -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:windows /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ..\..\..\lib\pci-dask.lib /nologo /subsystem:windows /machine:I386 -LINK32_FLAGS=kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib\ - advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib\ - odbccp32.lib ..\..\..\lib\pci-dask.lib /nologo /subsystem:windows\ - /incremental:no /pdb:"$(OUTDIR)/9118PrTg.pdb" /machine:I386\ - /out:"$(OUTDIR)/9118PrTg.exe" -LINK32_OBJS= \ - ".\Release\9118Prtg.obj" \ - ".\Release\9118PrTg.res" - -"$(OUTDIR)\9118PrTg.exe" : "$(OUTDIR)" $(DEF_FILE) $(LINK32_OBJS) - $(LINK32) @<< - $(LINK32_FLAGS) $(LINK32_OBJS) -<< - -!ELSEIF "$(CFG)" == "9118PrTg - Win32 Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "Debug" -# PROP BASE Intermediate_Dir "Debug" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "Debug" -# PROP Intermediate_Dir "Debug" -# PROP Target_Dir "" -OUTDIR=.\Debug -INTDIR=.\Debug - -ALL : "$(OUTDIR)\9118PrTg.exe" - -CLEAN : - -@erase ".\Debug\vc40.pdb" - -@erase ".\Debug\vc40.idb" - -@erase ".\Debug\9118PrTg.exe" - -@erase ".\Debug\9118Prtg.obj" - -@erase ".\Debug\9118PrTg.res" - -@erase ".\Debug\9118PrTg.ilk" - -@erase ".\Debug\9118PrTg.pdb" - -"$(OUTDIR)" : - if not exist "$(OUTDIR)/$(NULL)" mkdir "$(OUTDIR)" - -# ADD BASE CPP /nologo /W3 /Gm /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /YX /c -# ADD CPP /nologo /MTd /W3 /Gm /GX /Zi /Od /I "..\..\..\include" /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /c -# SUBTRACT CPP /YX -CPP_PROJ=/nologo /MTd /W3 /Gm /GX /Zi /Od /I "..\..\..\include" /D "WIN32" /D\ - "_DEBUG" /D "_WINDOWS" /Fo"$(INTDIR)/" /Fd"$(INTDIR)/" /c -CPP_OBJS=.\Debug/ -CPP_SBRS= -# ADD BASE MTL /nologo /D "_DEBUG" /win32 -# ADD MTL /nologo /D "_DEBUG" /win32 -MTL_PROJ=/nologo /D "_DEBUG" /win32 -# ADD BASE RSC /l 0x409 /d "_DEBUG" -# ADD RSC /l 0x409 /d "_DEBUG" -RSC_PROJ=/l 0x409 /fo"$(INTDIR)/9118PrTg.res" /d "_DEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -BSC32_FLAGS=/nologo /o"$(OUTDIR)/9118PrTg.bsc" -BSC32_SBRS= -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:windows /debug /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ..\..\..\lib\pci-dask.lib /nologo /subsystem:windows /debug /machine:I386 -LINK32_FLAGS=kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib\ - advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib\ - odbccp32.lib ..\..\..\lib\pci-dask.lib /nologo /subsystem:windows\ - /incremental:yes /pdb:"$(OUTDIR)/9118PrTg.pdb" /debug /machine:I386\ - /out:"$(OUTDIR)/9118PrTg.exe" -LINK32_OBJS= \ - ".\Debug\9118Prtg.obj" \ - ".\Debug\9118PrTg.res" - -"$(OUTDIR)\9118PrTg.exe" : "$(OUTDIR)" $(DEF_FILE) $(LINK32_OBJS) - $(LINK32) @<< - $(LINK32_FLAGS) $(LINK32_OBJS) -<< - -!ENDIF - -.c{$(CPP_OBJS)}.obj: - $(CPP) $(CPP_PROJ) $< - -.cpp{$(CPP_OBJS)}.obj: - $(CPP) $(CPP_PROJ) $< - -.cxx{$(CPP_OBJS)}.obj: - $(CPP) $(CPP_PROJ) $< - -.c{$(CPP_SBRS)}.sbr: - $(CPP) $(CPP_PROJ) $< - -.cpp{$(CPP_SBRS)}.sbr: - $(CPP) $(CPP_PROJ) $< - -.cxx{$(CPP_SBRS)}.sbr: - $(CPP) $(CPP_PROJ) $< - -################################################################################ -# Begin Target - -# Name "9118PrTg - Win32 Release" -# Name "9118PrTg - Win32 Debug" - -!IF "$(CFG)" == "9118PrTg - Win32 Release" - -!ELSEIF "$(CFG)" == "9118PrTg - Win32 Debug" - -!ENDIF - -################################################################################ -# Begin Source File - -SOURCE=.\9118PrTg.rc - -"$(INTDIR)\9118PrTg.res" : $(SOURCE) "$(INTDIR)" - $(RSC) $(RSC_PROJ) $(SOURCE) - - -# End Source File -################################################################################ -# Begin Source File - -SOURCE=.\9118Prtg.c -DEP_CPP_9118P=\ - ".\..\..\..\include\Dask.h"\ - - -"$(INTDIR)\9118Prtg.obj" : $(SOURCE) $(DEP_CPP_9118P) "$(INTDIR)" - - -# End Source File -# End Target -# End Project -################################################################################ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9118/SDK9118DbfPreTrg/9118PrTg.mdp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9118/SDK9118DbfPreTrg/9118PrTg.mdp deleted file mode 100644 index 7c16699..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9118/SDK9118DbfPreTrg/9118PrTg.mdp and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9118/SDK9118DbfPreTrg/9118PrTg.rc b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9118/SDK9118DbfPreTrg/9118PrTg.rc deleted file mode 100644 index 2b2e33b..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9118/SDK9118DbfPreTrg/9118PrTg.rc +++ /dev/null @@ -1,126 +0,0 @@ -//Microsoft Developer Studio generated resource script. -// -#include "resource.h" - -#define APSTUDIO_READONLY_SYMBOLS -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 2 resource. -// -#define APSTUDIO_HIDDEN_SYMBOLS -#include "windows.h" -#undef APSTUDIO_HIDDEN_SYMBOLS - -///////////////////////////////////////////////////////////////////////////// -#undef APSTUDIO_READONLY_SYMBOLS - -///////////////////////////////////////////////////////////////////////////// -// English (U.S.) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -#ifdef _WIN32 -LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US -#pragma code_page(1252) -#endif //_WIN32 - -///////////////////////////////////////////////////////////////////////////// -// -// Menu -// - -U7120MENU MENU DISCARDABLE -BEGIN - MENUITEM "E&xit!", IDM_EXIT -END - - -#ifdef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// TEXTINCLUDE -// - -1 TEXTINCLUDE DISCARDABLE -BEGIN - "resource.h\0" -END - -2 TEXTINCLUDE DISCARDABLE -BEGIN - "#define APSTUDIO_HIDDEN_SYMBOLS\r\n" - "#include ""windows.h""\r\n" - "#undef APSTUDIO_HIDDEN_SYMBOLS\r\n" - "\0" -END - -3 TEXTINCLUDE DISCARDABLE -BEGIN - "\r\n" - "\0" -END - -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog -// - -DMABOX DIALOG DISCARDABLE 18, 10, 171, 169 -STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "Data Value (half of circular buffer)" -FONT 8, "System" -BEGIN - PUSHBUTTON "STOP",ID_STOP,82,147,24,14 - LTEXT "Data Transferred :",-1,39,119,64,8 - LTEXT "Text",DMA_SPACE,103,118,41,8 - LTEXT "Text",DMA_DESCP,16,6,158,8 -END - -IDD_DIALOG2 DIALOG DISCARDABLE 110, 10, 110, 69 -STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "Card Number" -FONT 10, "System" -BEGIN - DEFPUSHBUTTON "OK",IDOK,9,48,39,14 - PUSHBUTTON "Cancel",IDCANCEL,56,48,38,14 - COMBOBOX IDC_COMBO1,52,23,51,45,CBS_DROPDOWN | WS_VSCROLL | - WS_TABSTOP - LTEXT "Card Number",IDC_STATIC,3,24,46,13 - LTEXT "Select a card number :",IDC_STATIC,3,6,100,11 -END - - -///////////////////////////////////////////////////////////////////////////// -// -// DESIGNINFO -// - -#ifdef APSTUDIO_INVOKED -GUIDELINES DESIGNINFO DISCARDABLE -BEGIN - IDD_DIALOG2, DIALOG - BEGIN - LEFTMARGIN, 3 - RIGHTMARGIN, 103 - BOTTOMMARGIN, 62 - END -END -#endif // APSTUDIO_INVOKED - -#endif // English (U.S.) resources -///////////////////////////////////////////////////////////////////////////// - - - -#ifndef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 3 resource. -// - - -///////////////////////////////////////////////////////////////////////////// -#endif // not APSTUDIO_INVOKED - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9118/SDK9118DbfPreTrg/9118Prtg.c b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9118/SDK9118DbfPreTrg/9118Prtg.c deleted file mode 100644 index bec4415..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9118/SDK9118DbfPreTrg/9118Prtg.c +++ /dev/null @@ -1,523 +0,0 @@ -#include "windows.h" -#include -#include -#include -#include -#include -#include "resource.h" -#include "Dask.h" - -#define IDM_EXIT 110 -#define IDC_SCROLL 207 -#define IDC_SPIN 301 -#define IDC_START 208 -#define IDC_STOP 209 -#define IDC_EDIT 211 -#define IDC_EDIT1 214 -#define IDC_SHOW 213 -#define IDC_CH 400 - -int PASCAL WinMain(HANDLE, HANDLE, LPSTR, int); -long PASCAL MainWndProc(HWND, UINT, WPARAM, LPARAM); -BOOL PASCAL ShowDMA(HWND, UINT, WPARAM, LPARAM); - -HANDLE hInst; -HWND hListBox; -HWND hEdit,hEdit1, hStart, hStop; -BOOL bCheck[8]; - -HBRUSH hBlackBrush; -HPEN hRedPen, hBlackPen; -HWND hMainWnd; - -unsigned int sample_rate=10000; -U16 channel; -BOOLEAN fstop, HalfReady; -U32 data_size=1000, mem_size; -static HANDLE hMem=NULL; -U16 *ai_buf; -I16 card=-1, card_number = 0; -U32 count; -HANDLE hThread1; -BOOLEAN clear_op; - -POINT input_pos[16]= {{470, 280}, {440, 280}, - {410, 280}, {380, 280}, - {350, 280}, {320, 280}, - { 290, 280}, {260, 280}, - {230, 280}, {200, 280}, - {170, 280}, {140, 280}, - {110, 280}, {80, 280}, - { 50, 280}, { 20, 280}, - }; -POINT output_pos[16] ={ - {470, 340}, {440, 340}, - {410, 340}, {380, 340}, - {350, 340}, {320, 340}, - { 290, 340}, {260, 340}, - {230, 340}, {200, 340}, - {170, 340}, {140, 340}, - {110, 340}, {80, 340}, - { 50, 340}, { 20, 340}, - }; - -POINT io_pos[16] ={ - {395, 40}, {370, 40}, - {345, 40}, {320, 40}, - {295, 40}, {270, 40}, - { 245, 40}, {220, 40}, - {195, 40}, {170, 40}, - {145, 40}, {120, 40}, - {95, 40}, {70, 40}, - { 45, 40}, { 20, 40}, - }; - -BOOL InitApplication(HANDLE); -BOOL InitInstance(HANDLE, int); -void ProcessThread(void* pArg); - -int PASCAL WinMain(hInstance, hPrevInstance, lpCmdLine, nCmdShow) -HANDLE hInstance, hPrevInstance; -LPSTR lpCmdLine; -int nCmdShow; -{ - MSG msg; - - if (!hPrevInstance) - if (!InitApplication(hInstance)) return(FALSE); - if (!InitInstance(hInstance, nCmdShow)) return(FALSE); - while (GetMessage(&msg, NULL, NULL, NULL)) { - TranslateMessage(&msg); - DispatchMessage(&msg); - } - return(msg.wParam); -} - -BOOL InitApplication(hInstance) -HANDLE hInstance; -{ - WNDCLASS wc; - - /* Main Window Class */ - wc.style = NULL; - wc.lpfnWndProc = (WNDPROC)MainWndProc; - wc.cbClsExtra = 0; - wc.cbWndExtra = 0; - wc.hInstance = hInstance; - wc.hIcon = LoadIcon(hInstance, "MyIcon"); - wc.hCursor = LoadCursor(NULL, IDC_ARROW); - wc.hbrBackground = GetStockObject(LTGRAY_BRUSH); - wc.lpszMenuName = NULL; - wc.lpszClassName = "GenericWClass"; - if (!RegisterClass(&wc)) return(FALSE); -} - - -BOOL InitInstance(hInstance, nCmdShow) -HANDLE hInstance; -int nCmdShow; -{ - HWND hWnd; - HMENU hSampleMenu; - - hInst = hInstance; - hSampleMenu = LoadMenu(hInstance, "U7120Menu"); - hWnd = CreateWindow("GenericWClass", - (LPCSTR)"PCI-9118 Double Buffered DMA with Pre-Trigger Mode", - WS_OVERLAPPEDWINDOW, - CW_USEDEFAULT, - CW_USEDEFAULT, - 520, - 400, - NULL, - hSampleMenu, - hInstance, - NULL); - if (!hWnd) return(FALSE); - ShowWindow(hWnd, nCmdShow); - UpdateWindow(hWnd); - return(TRUE); -} - -BOOL PASCAL setup(HWND hWnd, unsigned message, WPARAM wParam, LPARAM lParam) -{ - int i; - char n[16]; - char s[50]; - switch (message) { - case WM_INITDIALOG: - for (i=0;i<16;i++) { - wsprintf(n, "%d", i); - _strupr(n); - SendMessage(GetDlgItem(hWnd,IDC_COMBO1), CB_ADDSTRING, NULL, (LONG)(LPSTR) n); - } - SendMessage(GetDlgItem(hWnd,IDC_COMBO1) , CB_SETCURSEL, 0, 0L); - - break; - case WM_COMMAND: - switch(LOWORD(wParam)) { - - case IDC_COMBO1: - if (HIWORD(wParam) == CBN_CLOSEUP) { - i = (int)SendMessage(GetDlgItem(hWnd,IDC_COMBO1), CB_GETCURSEL, 0, 0L); - SendMessage(GetDlgItem(hWnd,IDC_COMBO1), CB_GETLBTEXT, i, (LPARAM)((LPCSTR)n)); - card_number = i; - } - return(TRUE); - case IDOK: - if(card <0) { - if ((card=Register_Card(PCI_9118DG, card_number)) < 0) { - wsprintf(s, "Register_Card Error = %d\n", card); - MessageBox(hWnd, s, "Error", MB_OK); - SendMessage(hWnd, WM_CLOSE, 0, 0L); - break; - } - } - EndDialog(hWnd, TRUE); - InvalidateRect(hWnd, NULL, FALSE); - return (TRUE); - case IDCANCEL: - EndDialog(hWnd, TRUE); - return (TRUE); - } - break; - } - return (FALSE); -} - -long PASCAL MainWndProc(hWnd, message, wParam, lParam) -HWND hWnd; -UINT message; -WPARAM wParam; -LPARAM lParam; -{ - HDC hDC; - PAINTSTRUCT ps; - int i; - char n[6]; - static int pos=0; - I16 err; - char s[50]; - - switch(message) { - case WM_CREATE: - - DialogBox(hInst,IDD_DIALOG2, hWnd, setup); - if(card<0) { - SendMessage(hWnd, WM_CLOSE, 0, 0L); - break; - } - hEdit=CreateWindow("EDIT", NULL, - WS_CHILD | WS_VISIBLE | ES_LEFT, - output_pos[13].x-30, input_pos[15].y+20,40, 20, hWnd, IDC_EDIT, hInst, NULL); - - hEdit1=CreateWindow("EDIT", NULL, - WS_CHILD | WS_VISIBLE | ES_LEFT, - output_pos[13].x+90, input_pos[15].y+20,60, 20, hWnd, IDC_EDIT1, hInst, NULL); - - wsprintf(n,"%d",sample_rate/1000); - SetWindowText(hEdit,n); - - wsprintf(n,"%d",data_size); - SetWindowText(hEdit1,n); - - CreateWindow("SCROLLBAR", NULL, - WS_CHILD | WS_VISIBLE | SBS_VERT, - output_pos[13].x+10, input_pos[15].y+20,20, 20, hWnd, IDC_SCROLL, hInst, NULL); - - hStart = CreateWindow("BUTTON","Start" , - WS_CHILD | WS_VISIBLE , - output_pos[10].x+110, input_pos[10].y+10,50, 30, hWnd, IDC_START, hInst, NULL); - - hStop = CreateWindow("BUTTON","Stop" , - WS_CHILD | WS_VISIBLE , - output_pos[10].x+170, input_pos[10].y+10,50, 30, hWnd, IDC_STOP, hInst, NULL); - - CreateWindow("BUTTON","Data Value" , - WS_CHILD | WS_VISIBLE , - output_pos[10].x+230, input_pos[10].y+10,80, 30, hWnd, IDC_SHOW, hInst, NULL); - EnableWindow(hStop, FALSE); - - CreateWindow("BUTTON","0" , - WS_CHILD | WS_VISIBLE | BS_AUTORADIOBUTTON | BS_LEFTTEXT | WS_GROUP , - output_pos[4].x+50, io_pos[0].y-5+20,25,15, hWnd,IDC_CH, hInst, NULL); - - CreateWindow("BUTTON","1" , - WS_CHILD | WS_VISIBLE | BS_AUTORADIOBUTTON | BS_LEFTTEXT | WS_GROUP, - output_pos[4].x+50, io_pos[0].y+13+20,25,15, hWnd,IDC_CH+1, hInst, NULL); - - CreateWindow("BUTTON","2" , - WS_CHILD | WS_VISIBLE | BS_AUTORADIOBUTTON | BS_LEFTTEXT | WS_GROUP, - output_pos[4].x+50, io_pos[0].y+31+20,25,15, hWnd,IDC_CH+2, hInst, NULL); - - CreateWindow("BUTTON","3" , - WS_CHILD | WS_VISIBLE | BS_AUTORADIOBUTTON | BS_LEFTTEXT | WS_GROUP, - output_pos[4].x+50, io_pos[0].y+49+20,25,15, hWnd,IDC_CH+3, hInst, NULL); - - CreateWindow("BUTTON","4" , - WS_CHILD | WS_VISIBLE | BS_AUTORADIOBUTTON | BS_LEFTTEXT | WS_GROUP, - output_pos[4].x+100, io_pos[0].y-5+20,25,15, hWnd,IDC_CH+4, hInst, NULL); - - CreateWindow("BUTTON","5" , - WS_CHILD | WS_VISIBLE | BS_AUTORADIOBUTTON | BS_LEFTTEXT | WS_GROUP, - output_pos[4].x+100, io_pos[0].y+13+20,25,15, hWnd, IDC_CH+5, hInst, NULL); - - CreateWindow("BUTTON","6" , - WS_CHILD | WS_VISIBLE | BS_AUTORADIOBUTTON | BS_LEFTTEXT | WS_GROUP, - output_pos[4].x+100, io_pos[0].y+31+20,25,15, hWnd,IDC_CH+6, hInst, NULL); - - CreateWindow("BUTTON","7" , - WS_CHILD | WS_VISIBLE | BS_AUTORADIOBUTTON | BS_LEFTTEXT | WS_GROUP, - output_pos[4].x+100, io_pos[0].y+49+20,25,15, hWnd, IDC_CH+7, hInst, NULL); - - //default channel 0 - for (i=1;i<8;i++) bCheck[i]=FALSE; - bCheck[0] = TRUE; - channel = 0; - SendMessage(GetDlgItem(hWnd,IDC_CH), BM_SETCHECK, 1, 0); - - hBlackBrush= CreateSolidBrush(RGB(0,0,0)); - hRedPen= CreatePen(PS_SOLID,1,RGB(255,0,0)); - hBlackPen= CreatePen(PS_SOLID,1,RGB(0,0,0)); - break; - - case WM_PAINT: - hDC = BeginPaint(hWnd, &ps); - - // DMA analog input box - SelectObject(hDC, GetStockObject(GRAY_BRUSH)); - Rectangle(hDC, output_pos[15].x-10, io_pos[15].y-24, output_pos[0].x+26, io_pos[0].y+195); - SetTextColor(hDC,RGB(255,255,0)); - SetBkColor(hDC, RGB(0, 0, 255)); - TextOut(hDC, io_pos[15].x, io_pos[15].y-35, "DMA Input", 9); - SelectObject(hDC, hBlackBrush); - Rectangle(hDC, output_pos[15].x+35, io_pos[15].y-2, output_pos[4].x+41, io_pos[0].y+172); - - SetBkMode(hDC,TRANSPARENT); - TextOut(hDC,output_pos[13].x-60, input_pos[10].y,"Samping Rate",12); - TextOut(hDC,output_pos[13].x+30, input_pos[15].y+20,"KHZ",3); - TextOut(hDC,output_pos[13].x+70, input_pos[10].y,"Buffer Size",11); - TextOut(hDC,input_pos[2].x-10, io_pos[15].y+118,"Range: +-5V",11); - TextOut(hDC,input_pos[15].x, io_pos[15].y-19,"Volt",4); - TextOut(hDC,input_pos[15].x, io_pos[15].y-5,"5.00",4); - TextOut(hDC,input_pos[15].x, io_pos[15].y+36,"2.50",4); - TextOut(hDC,input_pos[15].x, io_pos[15].y+77,"0.00",4); - TextOut(hDC,input_pos[15].x-3, io_pos[15].y+118,"-2.50",5); - TextOut(hDC,input_pos[15].x-3, io_pos[15].y+159,"-5.00",5); - TextOut(hDC,input_pos[10].x+10, io_pos[10].y-19,"Signals",7); - TextOut(hDC,output_pos[4].x+60, io_pos[0].y-15,"Channel",7); - EndPaint(hWnd, &ps); - break; - - // Sample Rate Spin Control - case WM_VSCROLL: - switch (LOWORD(wParam)) { - case SB_LINEUP : - sample_rate+=5000; - if (sample_rate > 50000 ) sample_rate=50000; - break; - case SB_LINEDOWN: - sample_rate-=5000; - if (sample_rate < 5000 ) sample_rate=5000; - break; - } - wsprintf(n,"%d",sample_rate/1000); - SetWindowText(hEdit,n); - break; - case WM_COMMAND: - switch(LOWORD(wParam)) { - case IDM_EXIT: - SendMessage(hWnd, WM_CLOSE, 0, 0L); - break; - case IDC_CH: - case IDC_CH+1: - case IDC_CH+2: - case IDC_CH+3: - case IDC_CH+4: - case IDC_CH+5: - case IDC_CH+6: - case IDC_CH+7: - if (!bCheck[wParam-IDC_CH]) { - SendMessage(GetDlgItem(hWnd,wParam), BM_SETCHECK, 1, 0); - SendMessage(GetDlgItem(hWnd,IDC_CH+channel), BM_SETCHECK, 0, 0); - bCheck[channel]=FALSE; - } - channel=wParam-IDC_CH; - bCheck[channel]=TRUE; - break; - case IDC_SHOW : - DialogBox(hInst, "DMABox", hWnd, ShowDMA); - break; - case IDC_START: - if (hMem != NULL) { - GlobalUnfix(hMem); - GlobalUnlock(hMem); - GlobalFree(hMem); - } - // allocate a memory for DMA - data_size=GetDlgItemInt(hWnd,IDC_EDIT1,NULL ,FALSE); - mem_size=data_size * 2; - hMem = GlobalAlloc(GMEM_FIXED | GMEM_ZEROINIT,mem_size); - - ai_buf = (U16 *)GlobalLock(hMem); - if (ai_buf == NULL ) { - MessageBox(hWnd,"DMA", "No Memory", MB_OK); - SendMessage(hWnd, WM_CLOSE, 0, 0L); - break; - } - GlobalFix(hMem); - fstop =0; - if ((err=AI_9118_Config(card,P9118_AI_BiPolar|P9118_AI_SingEnded,P9118_AI_DtrgPositive|P9118_AI_EtrgPositive|P9118_AI_AboutTrgEn,0,0x1))!= NoError) { - wsprintf(s, "AI_Config Error = %d\n", err); - MessageBox(hWnd, s, "Error", MB_OK); - SendMessage(hWnd, WM_CLOSE, 0, 0L); - break; - } - if ((err=AI_AsyncDblBufferMode (card, 1)) != NoError) { - wsprintf(s, "AI_AsyncDblBufferMode Error = %d\n", err); - MessageBox(hWnd, s, "Error", MB_OK); - SendMessage(hWnd, WM_CLOSE, 0, 0L); - break; - } - if ((err=AI_ContReadChannel(card, channel, AD_B_5_V, ai_buf, data_size, (F64)sample_rate, ASYNCH_OP)) != NoError) { - wsprintf(s, "AI_ContReadPort Error = %d\n", err); - MessageBox(hWnd, s, "Error", MB_OK); - SendMessage(hWnd, WM_CLOSE, 0, 0L); - break; - } - EnableWindow(hStart, FALSE); - EnableWindow(hStop, TRUE); - hMainWnd = hWnd; - clear_op = FALSE; - hThread1 = (HANDLE)_beginthread(ProcessThread, 0, 0); - MessageBeep(0); - break; - case IDC_STOP: - clear_op = TRUE; - EnableWindow(hStart, TRUE); - EnableWindow(hStop, FALSE); - break; - default: - return(DefWindowProc(hWnd, message, wParam, lParam)); - } - break; - case WM_DESTROY: - if (card >= 0) Release_Card(card); - DeleteObject(hBlackBrush); - DeleteObject(hRedPen); - GlobalUnfix(hMem); - GlobalUnlock(hMem); - GlobalFree(hMem); - PostQuitMessage(0); - break; - default: - return(DefWindowProc(hWnd, message, wParam, lParam)); - } - return(NULL); -} - -BOOL PASCAL ShowDMA(hDlg, message, wParam, lParam) -HWND hDlg; -UINT message; -WPARAM wParam; -LPARAM lParam; -{ - int nTabs[2] = {32, 92}; - int i; - char cBuf[100]; - char string[10]=" "; - char data_str[3]=" "; - U16 *pp; - switch (message) { - case WM_INITDIALOG: - hListBox = CreateWindow("LISTBOX", "Index Data (Hex)", - WS_CHILD | WS_VISIBLE | LBS_HASSTRINGS | LBS_STANDARD | LBS_USETABSTOPS |WS_CAPTION, - 50, 40, 240, 180, hDlg, 100, hInst, NULL); - SendMessage(hListBox, LB_RESETCONTENT, 0, 0L); - SendMessage(hListBox, LB_SETTABSTOPS, 2, (DWORD)(LPINT) nTabs); - SetDlgItemText(hDlg, DMA_DESCP, "This ListBox can show at most 4000 data"); - itoa( data_size, string, 10); - SetDlgItemText(hDlg, DMA_SPACE, string); - - pp = (U16 *)ai_buf; - if (count > 4000) count = 4000; - for(i=0;i>4; - newy = io_pos[0].y+171-(172*(U32)adinput)/4095; - newx = i*336/data_size+output_pos[15].x+35; - if (i==0) - MoveToEx(hDC, newx, newy, NULL); - else - MoveToEx(hDC, oldx, oldy, NULL); - LineTo(hDC, newx, newy); - oldx = newx; - oldy = newy; - } - } - } while (!clear_op && !fstop); - EnableWindow(hStart, TRUE); - EnableWindow(hStop, FALSE); - AI_AsyncDblBufferHalfReady(card, &HalfReady, &fstop); //Get the index of working buffer of Double Buffer - AI_AsyncClear(card, &count); - if (!HalfReady && ((count == data_size)||(count == 0))) { - } else { - AI_AsyncDblBufferTransfer(card, ai_buf); - SelectObject(hDC, hBlackBrush); - SelectObject(hDC, hBlackPen); - Rectangle(hDC, output_pos[15].x+35, io_pos[15].y-2, output_pos[4].x+41, io_pos[0].y+172); - SelectObject(hDC, hRedPen); - if (count ==0) count = data_size; - for (i=0; i>4; - newy = io_pos[0].y+171-(172*(U32)adinput)/4095; - newx = i*336/data_size+output_pos[15].x+35; - if (i==0) - MoveToEx(hDC, newx, newy, NULL); - else - MoveToEx(hDC, oldx, oldy, NULL); - LineTo(hDC, newx, newy); - oldx = newx; - oldy = newy; - } - } - ReleaseDC(hMainWnd, hDC); - _endthread(); -} diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9118/SDK9118DbfPreTrg/Resource.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9118/SDK9118DbfPreTrg/Resource.h deleted file mode 100644 index 4831ea6..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9118/SDK9118DbfPreTrg/Resource.h +++ /dev/null @@ -1,25 +0,0 @@ -//{{NO_DEPENDENCIES}} -// Microsoft Developer Studio generated include file. -// Used by 9118ATrg.rc -// -#define IDM_SETUP 101 -#define IDD_DIALOG1 101 -#define IDD_DIALOG2 104 -#define IDM_EXIT 110 -#define ID_CARDNUMBER 122 -#define ID_STOP 304 -#define DMA_SPACE 500 -#define DMA_DESCP 600 -#define IDC_COMBO1 1001 -#define IDC_STATIC -1 - -// Next default values for new objects -// -#ifdef APSTUDIO_INVOKED -#ifndef APSTUDIO_READONLY_SYMBOLS -#define _APS_NEXT_RESOURCE_VALUE 105 -#define _APS_NEXT_COMMAND_VALUE 123 -#define _APS_NEXT_CONTROL_VALUE 1002 -#define _APS_NEXT_SYMED_VALUE 101 -#endif -#endif diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9118/SDK9118HrAboutTrg/9118SATg.c b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9118/SDK9118HrAboutTrg/9118SATg.c deleted file mode 100644 index e99f6ee..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9118/SDK9118HrAboutTrg/9118SATg.c +++ /dev/null @@ -1,498 +0,0 @@ -#include "windows.h" -#include -#include -#include -#include -#include -#include "resource.h" -#include "Dask.h" - -#define IDM_EXIT 110 -#define IDC_SCROLL 207 -#define IDC_SPIN 301 -#define IDC_START 208 -#define IDC_STOP 209 -#define IDC_EDIT 211 -#define IDC_EDIT1 214 -#define IDC_EDIT2 215 -#define IDC_SHOW 213 -#define IDC_CH 400 - -int PASCAL WinMain(HANDLE, HANDLE, LPSTR, int); -long PASCAL MainWndProc(HWND, UINT, WPARAM, LPARAM); -BOOL PASCAL ShowDMA(HWND, UINT, WPARAM, LPARAM); - -HANDLE hInst; -HWND hListBox; -HWND hEdit,hEdit1,hEdit2, hStart, hStop; -BOOL bCheck[8]; - -HBRUSH hBlackBrush; -HPEN hRedPen, hBlackPen; -HWND hMainWnd; - -unsigned int sample_rate=10000; -U16 channel; -BOOLEAN fstop; -U32 data_size=1000, mem_size; -static HANDLE hMem=NULL; -I16 *ai_buf; -I16 card=-1, card_number = 0; -U32 count, postCount=512; -HANDLE hThread1, hThread2; -BOOLEAN clear_op; - -POINT input_pos[16]= {{470, 280}, {440, 280}, - {410, 280}, {380, 280}, - {350, 280}, {320, 280}, - { 290, 280}, {260, 280}, - {230, 280}, {200, 280}, - {170, 280}, {140, 280}, - {110, 280}, {80, 280}, - { 50, 280}, { 20, 280}, - }; -POINT output_pos[16] ={ - {470, 340}, {440, 340}, - {410, 340}, {380, 340}, - {350, 340}, {320, 340}, - { 290, 340}, {260, 340}, - {230, 340}, {200, 340}, - {170, 340}, {140, 340}, - {110, 340}, {80, 340}, - { 50, 340}, { 20, 340}, - }; - -POINT io_pos[16] ={ - {395, 40}, {370, 40}, - {345, 40}, {320, 40}, - {295, 40}, {270, 40}, - { 245, 40}, {220, 40}, - {195, 40}, {170, 40}, - {145, 40}, {120, 40}, - {95, 40}, {70, 40}, - { 45, 40}, { 20, 40}, - }; - -BOOL InitApplication(HANDLE); -BOOL InitInstance(HANDLE, int); -void ProcessThread(); - -int PASCAL WinMain(hInstance, hPrevInstance, lpCmdLine, nCmdShow) -HANDLE hInstance, hPrevInstance; -LPSTR lpCmdLine; -int nCmdShow; -{ - MSG msg; - - if (!hPrevInstance) - if (!InitApplication(hInstance)) return(FALSE); - if (!InitInstance(hInstance, nCmdShow)) return(FALSE); - while (GetMessage(&msg, NULL, NULL, NULL)) { - TranslateMessage(&msg); - DispatchMessage(&msg); - } - return(msg.wParam); -} - -BOOL InitApplication(hInstance) -HANDLE hInstance; -{ - WNDCLASS wc; - - /* Main Window Class */ - wc.style = NULL; - wc.lpfnWndProc = (WNDPROC)MainWndProc; - wc.cbClsExtra = 0; - wc.cbWndExtra = 0; - wc.hInstance = hInstance; - wc.hIcon = LoadIcon(hInstance, "MyIcon"); - wc.hCursor = LoadCursor(NULL, IDC_ARROW); - wc.hbrBackground = GetStockObject(LTGRAY_BRUSH); - wc.lpszMenuName = NULL; - wc.lpszClassName = "GenericWClass"; - if (!RegisterClass(&wc)) return(FALSE); -} - - -BOOL InitInstance(hInstance, nCmdShow) -HANDLE hInstance; -int nCmdShow; -{ - HWND hWnd; - HMENU hSampleMenu; - - hInst = hInstance; - hSampleMenu = LoadMenu(hInstance, "U7120Menu"); - hWnd = CreateWindow("GenericWClass", - (LPCSTR)"PCI-9118HR Single Buffer DMA with About Trigger Mode", - WS_OVERLAPPEDWINDOW, - CW_USEDEFAULT, - CW_USEDEFAULT, - 520, - 400, - NULL, - hSampleMenu, - hInstance, - NULL); - if (!hWnd) return(FALSE); - ShowWindow(hWnd, nCmdShow); - UpdateWindow(hWnd); - return(TRUE); -} - -BOOL PASCAL setup(HWND hWnd, unsigned message, WPARAM wParam, LPARAM lParam) -{ - int i,k; - char n[16]; - char s[50]; - switch (message) { - case WM_INITDIALOG: - for (i=0;i<16;i++) { - wsprintf(n, "%d", i); - _strupr(n); - SendMessage(GetDlgItem(hWnd,IDC_COMBO1), CB_ADDSTRING, NULL, (LONG)(LPSTR) n); - } - SendMessage(GetDlgItem(hWnd,IDC_COMBO1) , CB_SETCURSEL, 0, 0L); - - break; - case WM_COMMAND: - switch(LOWORD(wParam)) { - - case IDC_COMBO1: - if (HIWORD(wParam) == CBN_CLOSEUP) { - i = (int)SendMessage(GetDlgItem(hWnd,IDC_COMBO1), CB_GETCURSEL, 0, 0L); - SendMessage(GetDlgItem(hWnd,IDC_COMBO1), CB_GETLBTEXT, i, (LPARAM)((LPCSTR)n)); - card_number = i; - } - return(TRUE); - case IDOK: - if ((card=Register_Card(PCI_9118HR, card_number)) < 0) { - wsprintf(s, "Register_Card Error = %d\n", card); - MessageBox(hWnd, s, "Error", MB_OK); - SendMessage(hWnd, WM_CLOSE, 0, 0L); - break; - } - EndDialog(hWnd, TRUE); - InvalidateRect(hWnd, NULL, FALSE); - return (TRUE); - case IDCANCEL: - EndDialog(hWnd, TRUE); - return (TRUE); - } - break; - } - return (FALSE); -} - -long PASCAL MainWndProc(hWnd, message, wParam, lParam) -HWND hWnd; -UINT message; -WPARAM wParam; -LPARAM lParam; -{ - HDC hDC; - PAINTSTRUCT ps; - int i; - char n[6]; - static int pos=0; - I16 err; - char s[100]; - FARPROC lpProc; - - switch(message) { - case WM_CREATE: - DialogBox(hInst,IDD_DIALOG2, hWnd, setup); - if(card<0) { - SendMessage(hWnd, WM_CLOSE, 0, 0L); - break; - } - hEdit=CreateWindow("EDIT", NULL, - WS_CHILD | WS_VISIBLE | ES_LEFT, - output_pos[13].x-30, input_pos[15].y+20,40, 20, hWnd, IDC_EDIT, hInst, NULL); - hEdit1=CreateWindow("EDIT", NULL, - WS_CHILD | WS_VISIBLE | ES_LEFT, - output_pos[13].x+90, input_pos[15].y+20,60, 20, hWnd, IDC_EDIT1, hInst, NULL); - hEdit2=CreateWindow("EDIT", NULL, - WS_CHILD | WS_VISIBLE | ES_LEFT, - output_pos[13].x+90, input_pos[15].y-20,60, 20, hWnd, IDC_EDIT2, hInst, NULL); - - wsprintf(n,"%d",sample_rate/1000); - SetWindowText(hEdit,n); - - wsprintf(n,"%d",data_size); - SetWindowText(hEdit1,n); - - wsprintf(n,"%d",postCount); - SetWindowText(hEdit2,n); - - CreateWindow("SCROLLBAR", NULL, - WS_CHILD | WS_VISIBLE | SBS_VERT, - output_pos[13].x+10, input_pos[15].y+20,20, 20, hWnd, IDC_SCROLL, hInst, NULL); - - hStart = CreateWindow("BUTTON","Start" , - WS_CHILD | WS_VISIBLE , - output_pos[10].x+110, input_pos[10].y+10,50, 30, hWnd, IDC_START, hInst, NULL); - - hStop = CreateWindow("BUTTON","Stop" , - WS_CHILD | WS_VISIBLE , - output_pos[10].x+170, input_pos[10].y+10,50, 30, hWnd, IDC_STOP, hInst, NULL); - - CreateWindow("BUTTON","Data Value" , - WS_CHILD | WS_VISIBLE , - output_pos[10].x+230, input_pos[10].y+10,80, 30, hWnd, IDC_SHOW, hInst, NULL); - EnableWindow(hStop, FALSE); - - CreateWindow("BUTTON","0" , - WS_CHILD | WS_VISIBLE | BS_AUTORADIOBUTTON | BS_LEFTTEXT | WS_GROUP , - output_pos[4].x+50, io_pos[0].y-5+20,25,15, hWnd,IDC_CH, hInst, NULL); - - CreateWindow("BUTTON","1" , - WS_CHILD | WS_VISIBLE | BS_AUTORADIOBUTTON | BS_LEFTTEXT | WS_GROUP, - output_pos[4].x+50, io_pos[0].y+13+20,25,15, hWnd,IDC_CH+1, hInst, NULL); - - CreateWindow("BUTTON","2" , - WS_CHILD | WS_VISIBLE | BS_AUTORADIOBUTTON | BS_LEFTTEXT | WS_GROUP, - output_pos[4].x+50, io_pos[0].y+31+20,25,15, hWnd,IDC_CH+2, hInst, NULL); - - CreateWindow("BUTTON","3" , - WS_CHILD | WS_VISIBLE | BS_AUTORADIOBUTTON | BS_LEFTTEXT | WS_GROUP, - output_pos[4].x+50, io_pos[0].y+49+20,25,15, hWnd,IDC_CH+3, hInst, NULL); - - CreateWindow("BUTTON","4" , - WS_CHILD | WS_VISIBLE | BS_AUTORADIOBUTTON | BS_LEFTTEXT | WS_GROUP, - output_pos[4].x+100, io_pos[0].y-5+20,25,15, hWnd,IDC_CH+4, hInst, NULL); - - CreateWindow("BUTTON","5" , - WS_CHILD | WS_VISIBLE | BS_AUTORADIOBUTTON | BS_LEFTTEXT | WS_GROUP, - output_pos[4].x+100, io_pos[0].y+13+20,25,15, hWnd, IDC_CH+5, hInst, NULL); - - CreateWindow("BUTTON","6" , - WS_CHILD | WS_VISIBLE | BS_AUTORADIOBUTTON | BS_LEFTTEXT | WS_GROUP, - output_pos[4].x+100, io_pos[0].y+31+20,25,15, hWnd,IDC_CH+6, hInst, NULL); - - CreateWindow("BUTTON","7" , - WS_CHILD | WS_VISIBLE | BS_AUTORADIOBUTTON | BS_LEFTTEXT | WS_GROUP, - output_pos[4].x+100, io_pos[0].y+49+20,25,15, hWnd, IDC_CH+7, hInst, NULL); - - //default channel 0 - for (i=1;i<8;i++) bCheck[i]=FALSE; - bCheck[0] = TRUE; - channel = 0; - SendMessage(GetDlgItem(hWnd,IDC_CH), BM_SETCHECK, 1, 0); - - hBlackBrush= CreateSolidBrush(RGB(0,0,0)); - hRedPen= CreatePen(PS_SOLID,1,RGB(255,0,0)); - hBlackPen= CreatePen(PS_SOLID,1,RGB(0,0,0)); - break; - - case WM_PAINT: - hDC = BeginPaint(hWnd, &ps); - - // DMA analog input box - SelectObject(hDC, GetStockObject(GRAY_BRUSH)); - Rectangle(hDC, output_pos[15].x-10, io_pos[15].y-24, output_pos[0].x+26, io_pos[0].y+195); - SetTextColor(hDC,RGB(255,255,0)); - SetBkColor(hDC, RGB(0, 0, 255)); - TextOut(hDC, io_pos[15].x, io_pos[15].y-35, "DMA Input", 9); - SelectObject(hDC, hBlackBrush); - Rectangle(hDC, output_pos[15].x+35, io_pos[15].y-2, output_pos[4].x+41, io_pos[0].y+172); - - SetBkMode(hDC,TRANSPARENT); - TextOut(hDC,output_pos[13].x+70, input_pos[10].y-40,"PostCount",9); - TextOut(hDC,output_pos[13].x-60, input_pos[10].y,"Samping Rate",12); - TextOut(hDC,output_pos[13].x+30, input_pos[15].y+20,"KHZ",3); - TextOut(hDC,output_pos[13].x+70, input_pos[10].y,"Buffer Size",11); - TextOut(hDC,input_pos[2].x-10, io_pos[15].y+118,"Range: +-5V",11); - TextOut(hDC,input_pos[15].x, io_pos[15].y-19,"Volt",4); - TextOut(hDC,input_pos[15].x, io_pos[15].y-5,"5.00",4); - TextOut(hDC,input_pos[15].x, io_pos[15].y+36,"2.50",4); - TextOut(hDC,input_pos[15].x, io_pos[15].y+77,"0.00",4); - TextOut(hDC,input_pos[15].x-3, io_pos[15].y+118,"-2.50",5); - TextOut(hDC,input_pos[15].x-3, io_pos[15].y+159,"-5.00",5); - TextOut(hDC,input_pos[10].x+10, io_pos[10].y-19,"Signals",7); - TextOut(hDC,output_pos[4].x+60, io_pos[0].y-15,"Channel",7); - EndPaint(hWnd, &ps); - break; - - // Sample Rate Spin Control - case WM_VSCROLL: - switch (LOWORD(wParam)) { - case SB_LINEUP : - sample_rate+=5000; - if (sample_rate > 50000 ) sample_rate=50000; - break; - case SB_LINEDOWN: - sample_rate-=5000; - if (sample_rate < 5000 ) sample_rate=5000; - break; - } - wsprintf(n,"%d",sample_rate/1000); - SetWindowText(hEdit,n); - break; - case WM_COMMAND: - switch(LOWORD(wParam)) { - case IDM_EXIT: - SendMessage(hWnd, WM_CLOSE, 0, 0L); - break; - case IDC_CH: - case IDC_CH+1: - case IDC_CH+2: - case IDC_CH+3: - case IDC_CH+4: - case IDC_CH+5: - case IDC_CH+6: - case IDC_CH+7: - if (!bCheck[wParam-IDC_CH]) { - SendMessage(GetDlgItem(hWnd,wParam), BM_SETCHECK, 1, 0); - SendMessage(GetDlgItem(hWnd,IDC_CH+channel), BM_SETCHECK, 0, 0); - bCheck[channel]=FALSE; - } - channel=wParam-IDC_CH; - bCheck[channel]=TRUE; - break; - case IDC_SHOW : - DialogBox(hInst, "DMABox", hWnd, ShowDMA); - break; - case IDC_START: - if (hMem != NULL) { - GlobalUnfix(hMem); - GlobalUnlock(hMem); - GlobalFree(hMem); - } - // allocate a memory for DMA - postCount = GetDlgItemInt(hWnd,IDC_EDIT2,NULL ,FALSE); - data_size=GetDlgItemInt(hWnd,IDC_EDIT1,NULL ,FALSE); - if (data_size <= postCount) { - wsprintf(s, "Buffer Size have to be larger than %d\n", postCount+2); - MessageBox(hWnd,s,"Data Size Error", MB_OK); - break; - } - mem_size=data_size * 2; - hMem = GlobalAlloc(GMEM_FIXED | GMEM_ZEROINIT,mem_size); - ai_buf = (I16 *)GlobalLock(hMem); - if (ai_buf == NULL ) { - MessageBox(hWnd,"DMA", "No Memory", MB_OK); - SendMessage(hWnd, WM_CLOSE, 0, 0L); - break; - } - - GlobalFix(hMem); - for (i=0;i= 0) Release_Card(card); - DeleteObject(hBlackBrush); - DeleteObject(hRedPen); - GlobalUnfix(hMem); - GlobalUnlock(hMem); - GlobalFree(hMem); - PostQuitMessage(0); - break; - default: - return(DefWindowProc(hWnd, message, wParam, lParam)); - } - return(NULL); -} - -BOOL PASCAL ShowDMA(hDlg, message, wParam, lParam) -HWND hDlg; -UINT message; -WPARAM wParam; -LPARAM lParam; -{ - int nTabs[2] = {32, 92}; - unsigned int i; - char cBuf[100]; - char string[10]=" "; - char data_str[3]=" "; - I16 *pp; - switch (message) { - case WM_INITDIALOG: - hListBox = CreateWindow("LISTBOX", "Index Data (Hex)", - WS_CHILD | WS_VISIBLE | LBS_HASSTRINGS | LBS_STANDARD | LBS_USETABSTOPS |WS_CAPTION, - 50, 40, 240, 180, hDlg, 100, hInst, NULL); - SendMessage(hListBox, LB_RESETCONTENT, 0, 0L); - SendMessage(hListBox, LB_SETTABSTOPS, 2, (DWORD)(LPINT) nTabs); - SetDlgItemText(hDlg, DMA_DESCP, "This ListBox can show at most 4000 data"); - itoa( data_size, string, 10); - SetDlgItemText(hDlg, DMA_SPACE, string); - pp = (I16 *)ai_buf; - if (count >4000) count = 4000; - for(i=0;i -#include -#include -#include -#include -#include "resource.h" -#include "Dask.h" - -#define IDM_EXIT 110 -#define IDC_SCROLL 207 -#define IDC_SPIN 301 -#define IDC_START 208 -#define IDC_STOP 209 -#define IDC_EDIT 211 -#define IDC_EDIT1 214 -#define IDC_SHOW 213 -#define IDC_CH 400 - -int PASCAL WinMain(HANDLE, HANDLE, LPSTR, int); -long PASCAL MainWndProc(HWND, UINT, WPARAM, LPARAM); -BOOL PASCAL ShowDMA(HWND, UINT, WPARAM, LPARAM); - - -HANDLE hInst; -HWND hListBox; -HWND hEdit,hEdit1, hStart, hStop; -BOOL bCheck[8]; - -HBRUSH hBlackBrush; -HPEN hRedPen, hBlackPen; -HWND hMainWnd; - -unsigned int sample_rate=10000; -U16 channel; -U32 data_size=1000, mem_size; -static HANDLE hMem=NULL; -I16 *ai_buf; -I16 card=-1, card_number = 0; -BOOLEAN fstop, HalfReady; -BOOLEAN clear_op; -HANDLE hThread1; - -POINT input_pos[16]= {{470, 280}, {440, 280}, - {410, 280}, {380, 280}, - {350, 280}, {320, 280}, - { 290, 280}, {260, 280}, - {230, 280}, {200, 280}, - {170, 280}, {140, 280}, - {110, 280}, {80, 280}, - { 50, 280}, { 20, 280}, - }; -POINT output_pos[16] ={ - {470, 340}, {440, 340}, - {410, 340}, {380, 340}, - {350, 340}, {320, 340}, - { 290, 340}, {260, 340}, - {230, 340}, {200, 340}, - {170, 340}, {140, 340}, - {110, 340}, {80, 340}, - { 50, 340}, { 20, 340}, - }; - -POINT io_pos[16] ={ - {395, 40}, {370, 40}, - {345, 40}, {320, 40}, - {295, 40}, {270, 40}, - { 245, 40}, {220, 40}, - {195, 40}, {170, 40}, - {145, 40}, {120, 40}, - {95, 40}, {70, 40}, - { 45, 40}, { 20, 40}, - }; - -BOOL InitApplication(HANDLE); -BOOL InitInstance(HANDLE, int); -void ProcessThread(void* pArg); - -int PASCAL WinMain(hInstance, hPrevInstance, lpCmdLine, nCmdShow) -HANDLE hInstance, hPrevInstance; -LPSTR lpCmdLine; -int nCmdShow; -{ - MSG msg; - - if (!hPrevInstance) - if (!InitApplication(hInstance)) return(FALSE); - if (!InitInstance(hInstance, nCmdShow)) return(FALSE); - while (GetMessage(&msg, NULL, NULL, NULL)) { - TranslateMessage(&msg); - DispatchMessage(&msg); - } - return(msg.wParam); -} - -BOOL InitApplication(hInstance) -HANDLE hInstance; -{ - WNDCLASS wc; - - /* Main Window Class */ - wc.style = NULL; - wc.lpfnWndProc = (WNDPROC)MainWndProc; - wc.cbClsExtra = 0; - wc.cbWndExtra = 0; - wc.hInstance = hInstance; - wc.hIcon = LoadIcon(hInstance, "MyIcon"); - wc.hCursor = LoadCursor(NULL, IDC_ARROW); - wc.hbrBackground = GetStockObject(LTGRAY_BRUSH); - wc.lpszMenuName = NULL; - wc.lpszClassName = "GenericWClass"; - if (!RegisterClass(&wc)) return(FALSE); -} - - -BOOL InitInstance(hInstance, nCmdShow) -HANDLE hInstance; -int nCmdShow; -{ - HWND hWnd; - HMENU hSampleMenu; - - hInst = hInstance; - hSampleMenu = LoadMenu(hInstance, "U7120Menu"); - hWnd = CreateWindow("GenericWClass", - (LPCSTR)"PCI-9118HR Double Buffered DMA", - WS_OVERLAPPEDWINDOW, - CW_USEDEFAULT, - CW_USEDEFAULT, - 520, - 400, - NULL, - hSampleMenu, - hInstance, - NULL); - if (!hWnd) return(FALSE); - ShowWindow(hWnd, nCmdShow); - UpdateWindow(hWnd); - return(TRUE); -} - -BOOL PASCAL setup(HWND hWnd, unsigned message, WPARAM wParam, LPARAM lParam) -{ - int i; - char n[16]; - char s[50]; - switch (message) { - case WM_INITDIALOG: - for (i=0;i<16;i++) { - sprintf(n, "%d", i); - _strupr(n); - SendMessage(GetDlgItem(hWnd,IDC_COMBO1), CB_ADDSTRING, NULL, (LONG)(LPSTR) n); - } - SendMessage(GetDlgItem(hWnd,IDC_COMBO1) , CB_SETCURSEL, 0, 0L); - - break; - case WM_COMMAND: - switch(LOWORD(wParam)) { - - case IDC_COMBO1: - if (HIWORD(wParam) == CBN_CLOSEUP) { - i = (int)SendMessage(GetDlgItem(hWnd,IDC_COMBO1), CB_GETCURSEL, 0, 0L); - SendMessage(GetDlgItem(hWnd,IDC_COMBO1), CB_GETLBTEXT, i, (LPARAM)((LPCSTR)n)); - card_number = i; - } - return(TRUE); - case IDOK: - if ((card=Register_Card(PCI_9118HR, card_number)) < 0) { - wsprintf(s, "Register_Card Error = %d\n", card); - MessageBox(hWnd, s, "Error", MB_OK); - SendMessage(hWnd, WM_CLOSE, 0, 0L); - break; - } - EndDialog(hWnd, TRUE); - InvalidateRect(hWnd, NULL, FALSE); - return (TRUE); - case IDCANCEL: - EndDialog(hWnd, TRUE); - return (TRUE); - } - break; - } - return (FALSE); -} - -long PASCAL MainWndProc(hWnd, message, wParam, lParam) -HWND hWnd; -UINT message; -WPARAM wParam; -LPARAM lParam; -{ - HDC hDC; - PAINTSTRUCT ps; - int i; - char n[6]; - static int pos=0; - I16 err; - char s[50]; - - switch(message) { - case WM_CREATE: - DialogBox(hInst,IDD_DIALOG2, hWnd, setup); - if(card<0) { - SendMessage(hWnd, WM_CLOSE, 0, 0L); - break; - } - hEdit=CreateWindow("EDIT", NULL, - WS_CHILD | WS_VISIBLE | ES_LEFT, - output_pos[13].x-30, input_pos[15].y+20,40, 20, hWnd, IDC_EDIT, hInst, NULL); - - hEdit1=CreateWindow("EDIT", NULL, - WS_CHILD | WS_VISIBLE | ES_LEFT, - output_pos[13].x+90, input_pos[15].y+20,60, 20, hWnd, IDC_EDIT1, hInst, NULL); - - wsprintf(n,"%d",sample_rate/1000); - SetWindowText(hEdit,n); - - wsprintf(n,"%d",data_size); - SetWindowText(hEdit1,n); - - CreateWindow("SCROLLBAR", NULL, - WS_CHILD | WS_VISIBLE | SBS_VERT, - output_pos[13].x+10, input_pos[15].y+20,20, 20, hWnd, IDC_SCROLL, hInst, NULL); - - hStart = CreateWindow("BUTTON","Start" , - WS_CHILD | WS_VISIBLE , - output_pos[10].x+110, input_pos[10].y+10,50, 30, hWnd, IDC_START, hInst, NULL); - - hStop = CreateWindow("BUTTON","Stop" , - WS_CHILD | WS_VISIBLE , - output_pos[10].x+170, input_pos[10].y+10,50, 30, hWnd, IDC_STOP, hInst, NULL); - - CreateWindow("BUTTON","Data Value" , - WS_CHILD | WS_VISIBLE , - output_pos[10].x+230, input_pos[10].y+10,80, 30, hWnd, IDC_SHOW, hInst, NULL); - EnableWindow(hStop, FALSE); - - CreateWindow("BUTTON","0" , - WS_CHILD | WS_VISIBLE | BS_AUTORADIOBUTTON | BS_LEFTTEXT | WS_GROUP , - output_pos[4].x+50, io_pos[0].y-5+20,25,15, hWnd,IDC_CH, hInst, NULL); - - CreateWindow("BUTTON","1" , - WS_CHILD | WS_VISIBLE | BS_AUTORADIOBUTTON | BS_LEFTTEXT | WS_GROUP, - output_pos[4].x+50, io_pos[0].y+13+20,25,15, hWnd,IDC_CH+1, hInst, NULL); - - CreateWindow("BUTTON","2" , - WS_CHILD | WS_VISIBLE | BS_AUTORADIOBUTTON | BS_LEFTTEXT | WS_GROUP, - output_pos[4].x+50, io_pos[0].y+31+20,25,15, hWnd,IDC_CH+2, hInst, NULL); - - CreateWindow("BUTTON","3" , - WS_CHILD | WS_VISIBLE | BS_AUTORADIOBUTTON | BS_LEFTTEXT | WS_GROUP, - output_pos[4].x+50, io_pos[0].y+49+20,25,15, hWnd,IDC_CH+3, hInst, NULL); - - CreateWindow("BUTTON","4" , - WS_CHILD | WS_VISIBLE | BS_AUTORADIOBUTTON | BS_LEFTTEXT | WS_GROUP, - output_pos[4].x+100, io_pos[0].y-5+20,25,15, hWnd,IDC_CH+4, hInst, NULL); - - CreateWindow("BUTTON","5" , - WS_CHILD | WS_VISIBLE | BS_AUTORADIOBUTTON | BS_LEFTTEXT | WS_GROUP, - output_pos[4].x+100, io_pos[0].y+13+20,25,15, hWnd, IDC_CH+5, hInst, NULL); - - CreateWindow("BUTTON","6" , - WS_CHILD | WS_VISIBLE | BS_AUTORADIOBUTTON | BS_LEFTTEXT | WS_GROUP, - output_pos[4].x+100, io_pos[0].y+31+20,25,15, hWnd,IDC_CH+6, hInst, NULL); - - CreateWindow("BUTTON","7" , - WS_CHILD | WS_VISIBLE | BS_AUTORADIOBUTTON | BS_LEFTTEXT | WS_GROUP, - output_pos[4].x+100, io_pos[0].y+49+20,25,15, hWnd, IDC_CH+7, hInst, NULL); - - //default channel 0 - for (i=1;i<8;i++) bCheck[i]=FALSE; - bCheck[0] = TRUE; - channel = 0; - SendMessage(GetDlgItem(hWnd,IDC_CH), BM_SETCHECK, 1, 0); - - hBlackBrush= CreateSolidBrush(RGB(0,0,0)); - hRedPen= CreatePen(PS_SOLID,1,RGB(255,0,0)); - hBlackPen= CreatePen(PS_SOLID,1,RGB(0,0,0)); - break; - - case WM_PAINT: - hDC = BeginPaint(hWnd, &ps); - - // DMA analog input box - SelectObject(hDC, GetStockObject(GRAY_BRUSH)); - Rectangle(hDC, output_pos[15].x-10, io_pos[15].y-24, output_pos[0].x+26, io_pos[0].y+195); - SetTextColor(hDC,RGB(255,255,0)); - SetBkColor(hDC, RGB(0, 0, 255)); - TextOut(hDC, io_pos[15].x, io_pos[15].y-35, "DMA Input", 9); - SelectObject(hDC, hBlackBrush); - Rectangle(hDC, output_pos[15].x+35, io_pos[15].y-2, output_pos[4].x+41, io_pos[0].y+172); - - SetBkMode(hDC,TRANSPARENT); - TextOut(hDC,output_pos[13].x-60, input_pos[10].y,"Samping Rate",12); - TextOut(hDC,output_pos[13].x+30, input_pos[15].y+20,"KHZ",3); - TextOut(hDC,output_pos[13].x+70, input_pos[10].y,"Buffer Size",11); - TextOut(hDC,input_pos[2].x-10, io_pos[15].y+118,"Range: +-5V",11); - TextOut(hDC,input_pos[15].x, io_pos[15].y-19,"Volt",4); - TextOut(hDC,input_pos[15].x, io_pos[15].y-5,"5.00",4); - TextOut(hDC,input_pos[15].x, io_pos[15].y+36,"2.50",4); - TextOut(hDC,input_pos[15].x, io_pos[15].y+77,"0.00",4); - TextOut(hDC,input_pos[15].x-3, io_pos[15].y+118,"-2.50",5); - TextOut(hDC,input_pos[15].x-3, io_pos[15].y+159,"-5.00",5); - TextOut(hDC,input_pos[10].x+10, io_pos[10].y-19,"Signals",7); - TextOut(hDC,output_pos[4].x+60, io_pos[0].y-15,"Channel",7); - EndPaint(hWnd, &ps); - break; - - // Sample Rate Spin Control - case WM_VSCROLL: - switch (LOWORD(wParam)) { - case SB_LINEUP : - sample_rate+=5000; - if (sample_rate > 50000 ) sample_rate=50000; - break; - case SB_LINEDOWN: - sample_rate-=5000; - if (sample_rate < 5000 ) sample_rate=5000; - break; - } - wsprintf(n,"%d",sample_rate/1000); - SetWindowText(hEdit,n); - break; - case WM_COMMAND: - switch(LOWORD(wParam)) { - case IDM_EXIT: - SendMessage(hWnd, WM_CLOSE, 0, 0L); - break; - case IDC_CH: - case IDC_CH+1: - case IDC_CH+2: - case IDC_CH+3: - case IDC_CH+4: - case IDC_CH+5: - case IDC_CH+6: - case IDC_CH+7: - if (!bCheck[wParam-IDC_CH]) { - SendMessage(GetDlgItem(hWnd,wParam), BM_SETCHECK, 1, 0); - SendMessage(GetDlgItem(hWnd,IDC_CH+channel), BM_SETCHECK, 0, 0); - bCheck[channel]=FALSE; - } - channel=wParam-IDC_CH; - bCheck[channel]=TRUE; - break; - - case IDC_SHOW : - DialogBox(hInst, "DMABox", hWnd, ShowDMA); - break; - case IDC_START: - if (hMem != NULL) { - GlobalUnfix(hMem); - GlobalUnlock(hMem); - GlobalFree(hMem); - } - // allocate a memory for DMA - data_size=GetDlgItemInt(hWnd,IDC_EDIT1,NULL ,FALSE); - mem_size=data_size * 2; - hMem = GlobalAlloc(GMEM_FIXED | GMEM_ZEROINIT,mem_size); - ai_buf = (I16 *)GlobalLock(hMem); - if (ai_buf == NULL ) { - MessageBox(hWnd,"DMA", "No Memory", MB_OK); - SendMessage(hWnd, WM_CLOSE, 0, 0L); - break; - } - - GlobalFix(hMem); - - if ((err=AI_9118_Config(card,P9118_AI_BiPolar|P9118_AI_SingEnded,0,0,0))!= NoError) { - wsprintf(s, "AI_Config Error = %d\n", err); - MessageBox(hWnd, s, "Error", MB_OK); - SendMessage(hWnd, WM_CLOSE, 0, 0L); - break; - } - if ((err=AI_AsyncDblBufferMode (card, 1)) != NoError) { - wsprintf(s, "AI_AsyncDblBufferMode Error = %d\n", err); - MessageBox(hWnd, s, "Error", MB_OK); - SendMessage(hWnd, WM_CLOSE, 0, 0L); - break; - } - if ((err=AI_ContReadChannel(card, channel, AD_B_5_V, ai_buf, data_size, (F64)sample_rate, ASYNCH_OP)) != NoError) { - wsprintf(s, "AI_ContReadPort Error = %d\n", err); - MessageBox(hWnd, s, "Error", MB_OK); - SendMessage(hWnd, WM_CLOSE, 0, 0L); - break; - } - EnableWindow(hStart, FALSE); - EnableWindow(hStop, TRUE); - - hMainWnd = hWnd; - clear_op = FALSE; - hThread1 = (HANDLE)_beginthread(ProcessThread, 0, 0); - MessageBeep(0); - break; - case IDC_STOP: - clear_op = TRUE; - EnableWindow(hStart, TRUE); - EnableWindow(hStop, FALSE); - break; - default: - return(DefWindowProc(hWnd, message, wParam, lParam)); - } - break; - case WM_DESTROY: - if (card >= 0) Release_Card(card); - DeleteObject(hBlackBrush); - DeleteObject(hRedPen); - GlobalUnfix(hMem); - GlobalUnlock(hMem); - GlobalFree(hMem); - PostQuitMessage(0); - break; - default: - return(DefWindowProc(hWnd, message, wParam, lParam)); - } - return(NULL); -} - -BOOL PASCAL ShowDMA(hDlg, message, wParam, lParam) -HWND hDlg; -UINT message; -WPARAM wParam; -LPARAM lParam; -{ - int nTabs[2] = {32, 92}; - unsigned int i; - char cBuf[100]; - char string[10]=" "; - char data_str[3]=" "; - I16 *pp; - switch (message) { - case WM_INITDIALOG: - hListBox = CreateWindow("LISTBOX", "Index Data (Hex)", - WS_CHILD | WS_VISIBLE | LBS_HASSTRINGS | LBS_STANDARD | LBS_USETABSTOPS |WS_CAPTION, - 50, 40, 240, 180, hDlg, 100, hInst, NULL); - SendMessage(hListBox, LB_RESETCONTENT, 0, 0L); - SendMessage(hListBox, LB_SETTABSTOPS, 2, (DWORD)(LPINT) nTabs); - SetDlgItemText(hDlg, DMA_DESCP, "This ListBox can show at most 4000 data"); - itoa( data_size, string, 10); - SetDlgItemText(hDlg, DMA_SPACE, string); - - pp = (I16 *)ai_buf; - if (data_size > 4000) data_size = 4000; - for(i=0;i -#include -#include -#include -#include -#include "resource.h" -#include "dask.h" - -#define IDM_EXIT 110 -#define IDC_ADDR 200 -#define IDC_SCROLL 207 -#define IDC_START 208 -#define IDC_STOP 209 -#define IDC_PAUSE 210 -#define IDC_EDIT 211 -#define IDC_CHAN 214 -#define IDC_SHOW 213 -#define NONE 0 - -int PASCAL WinMain(HANDLE, HANDLE, LPSTR, int); -long PASCAL MainWndProc(HWND, UINT, WPARAM, LPARAM); -BOOL PASCAL ShowDMA(HWND, UINT, WPARAM, LPARAM); - -HANDLE hInst; -HWND hListBox; -HWND hChanComboBox; -HWND hADScroll; -HWND hEdit,hEdit1,hData; -unsigned int input=0, output=0; -unsigned int oldinput[8], adinput; - -HBRUSH hBlackBrush; -HPEN hRedPen; - -long sample_rate=10000; -unsigned int base_addr=NONE,gain=1; -I16 card = -1, card_number = 0; -long data_size=4000; -U16 channel=0; -U16 range =AD_B_5_V; -DWORD mem_size = 0; -static HANDLE hMem=NULL; -I16 *ai_buf; - -POINT input_pos[16]= {{470, 280}, {440, 280}, - {410, 280}, {380, 280}, - {350, 280}, {320, 280}, - { 290, 280}, {260, 280}, - {230, 280}, {200, 280}, - {170, 280}, {140, 280}, - {110, 280}, {80, 280}, - { 50, 280}, { 20, 280}, - }; - -POINT output_pos[16] ={ - {470, 340}, {440, 340}, - {410, 340}, {380, 340}, - {350, 340}, {320, 340}, - { 290, 340}, {260, 340}, - {230, 340}, {200, 340}, - {170, 340}, {140, 340}, - {110, 340}, {80, 340}, - { 50, 340}, { 20, 340}, - }; - -POINT io_pos[16] ={ - {395, 40}, {370, 40}, - {345, 40}, {320, 40}, - {295, 40}, {270, 40}, - { 245, 40}, {220, 40}, - {195, 40}, {170, 40}, - {145, 40}, {120, 40}, - {95, 40}, {70, 40}, - { 45, 40}, { 20, 40}, - }; - -HBRUSH hLTGreenBrush,hGreenBrush,hBlueBrush,hYellowBrush,hRedBrush,hBlackBrush,hWhiteBrush - ,hLTRedBrush,hLTBlueBrush; -HPEN hRedPen,hYellowPen,hGreenPen,hBluePen,hLTBluePen,hLTRedPen,hLTGreenPen,hWhitePen; - -BOOL InitApplication(HANDLE); -BOOL InitInstance(HANDLE, int); - -int PASCAL WinMain(hInstance, hPrevInstance, lpCmdLine, nCmdShow) -HANDLE hInstance, hPrevInstance; -LPSTR lpCmdLine; -int nCmdShow; -{ - MSG msg; - - if (!hPrevInstance) - if (!InitApplication(hInstance)) return(FALSE); - if (!InitInstance(hInstance, nCmdShow)) return(FALSE); - while (GetMessage(&msg, NULL, NULL, NULL)) { - TranslateMessage(&msg); - DispatchMessage(&msg); - } - return(msg.wParam); -} - -BOOL InitApplication(hInstance) -HANDLE hInstance; -{ - WNDCLASS wc; - - /* Main Window Class */ - wc.style = NULL; - wc.lpfnWndProc = (WNDPROC)MainWndProc; - wc.cbClsExtra = 0; - wc.cbWndExtra = 0; - wc.hInstance = hInstance; - wc.hIcon = LoadIcon(hInstance, "MyIcon"); - wc.hCursor = LoadCursor(NULL, IDC_ARROW); - wc.hbrBackground = GetStockObject(LTGRAY_BRUSH); - wc.lpszMenuName = NULL; - wc.lpszClassName = "GenericWClass"; - if (!RegisterClass(&wc)) return(FALSE); -} - -BOOL InitInstance(hInstance, nCmdShow) -HANDLE hInstance; -int nCmdShow; -{ - HWND hWnd; - HMENU hSampleMenu; - - hInst = hInstance; - hSampleMenu = LoadMenu(hInstance, "U7120Menu"); - hWnd = CreateWindow("GenericWClass", - (LPCSTR)"9118HR Autoscan DMA", - WS_OVERLAPPEDWINDOW, - CW_USEDEFAULT, - CW_USEDEFAULT, - 520, - 400, - NULL, - hSampleMenu, - hInstance, - NULL); - if (!hWnd) return(FALSE); - ShowWindow(hWnd, nCmdShow); - UpdateWindow(hWnd); - return(TRUE); -} - -BOOL PASCAL setup(HWND hWnd, unsigned message, WPARAM wParam, LPARAM lParam) -{ - int i; - char n[16]; - char s[50]; - switch (message) { - case WM_INITDIALOG: - for (i=0;i<16;i++) { - wsprintf(n, "%d", i); - _strupr(n); - SendMessage(GetDlgItem(hWnd,IDC_COMBO1), CB_ADDSTRING, NULL, (LONG)(LPSTR) n); - } - SendMessage(GetDlgItem(hWnd,IDC_COMBO1) , CB_SETCURSEL, 0, 0L); - - break; - case WM_COMMAND: - switch(LOWORD(wParam)) { - - case IDC_COMBO1: - if (HIWORD(wParam) == CBN_CLOSEUP) { - i = (int)SendMessage(GetDlgItem(hWnd,IDC_COMBO1), CB_GETCURSEL, 0, 0L); - SendMessage(GetDlgItem(hWnd,IDC_COMBO1), CB_GETLBTEXT, i, (LPARAM)((LPCSTR)n)); - card_number = i; - } - return(TRUE); - case IDOK: - if ((card=Register_Card(PCI_9118HR, card_number)) < 0) { - wsprintf(s, "Register_Card Error = %d\n", card); - MessageBox(hWnd, s, "Error", MB_OK); - SendMessage(hWnd, WM_CLOSE, 0, 0L); - break; - } - EndDialog(hWnd, TRUE); - InvalidateRect(hWnd, NULL, FALSE); - return (TRUE); - case IDCANCEL: - EndDialog(hWnd, TRUE); - return (TRUE); - } - break; - } - return (FALSE); -} - -long PASCAL MainWndProc(hWnd, message, wParam, lParam) -HWND hWnd; -UINT message; -WPARAM wParam; -LPARAM lParam; -{ - HDC hDC; - PAINTSTRUCT ps; - int i; - int cur_channel; - char n[6]; - char buf[50]; - static int pos=0; - static int count,status; - LARGE_INTEGER freq, start_count, current_count; - double take_msec; - - switch(message) { - case WM_CREATE: - DialogBox(hInst,IDD_DIALOG2, hWnd, setup); - if(card<0) { - SendMessage(hWnd, WM_CLOSE, 0, 0L); - break; - } - hChanComboBox = CreateWindow("ComboBox", NULL, - CBS_DROPDOWNLIST | WS_CHILD | WS_VISIBLE | WS_VSCROLL, - input_pos[10].x, input_pos[15].y+18, 100, 160, hWnd, IDC_CHAN, hInst, NULL); - SendMessage(hChanComboBox, CB_ADDSTRING, NULL, (LONG)(LPSTR)"CH0"); - SendMessage(hChanComboBox, CB_ADDSTRING, NULL, (LONG)(LPSTR)"CH0 ~ CH1"); - SendMessage(hChanComboBox, CB_ADDSTRING, NULL, (LONG)(LPSTR)"CH0 ~ CH2"); - SendMessage(hChanComboBox, CB_ADDSTRING, NULL, (LONG)(LPSTR)"CH0 ~ CH3"); - SendMessage(hChanComboBox, CB_ADDSTRING, NULL, (LONG)(LPSTR)"CH0 ~ CH4"); - SendMessage(hChanComboBox, CB_ADDSTRING, NULL, (LONG)(LPSTR)"CH0 ~ CH5"); - SendMessage(hChanComboBox, CB_ADDSTRING, NULL, (LONG)(LPSTR)"CH0 ~ CH6"); - SendMessage(hChanComboBox, CB_ADDSTRING, NULL, (LONG)(LPSTR)"CH0 ~ CH7"); - SendMessage(hChanComboBox ,CB_SETCURSEL, 0, 0L); - hEdit=CreateWindow("EDIT", NULL, - WS_CHILD | WS_VISIBLE | ES_LEFT, - output_pos[13].x-30, input_pos[15].y+20,40, 20, hWnd, IDC_EDIT, hInst, NULL); - - wsprintf(n,"%d",sample_rate/1000); - SetWindowText(hEdit,n); - - CreateWindow("SCROLLBAR", NULL, - WS_CHILD | WS_VISIBLE | SBS_VERT, - output_pos[13].x+10, input_pos[15].y+20,20, 20, hWnd, IDC_SCROLL, hInst, NULL); - - CreateWindow("BUTTON","Start" , - WS_CHILD | WS_VISIBLE , - output_pos[10].x+140, input_pos[10].y+10,70, 30, hWnd, IDC_START, hInst, NULL); - - hData=CreateWindow("BUTTON","Data Value" , - WS_CHILD | WS_VISIBLE , - output_pos[10].x+230, input_pos[10].y+10,80, 30, hWnd, IDC_SHOW, hInst, NULL); - - hLTGreenBrush = CreateSolidBrush(RGB(0, 255, 0)); - hGreenBrush = CreateSolidBrush(RGB(0, 128, 0)); - hBlueBrush = CreateSolidBrush(RGB(0, 0, 255)); - hRedBrush = CreateSolidBrush(RGB(255, 0, 0)); - hYellowBrush= CreateSolidBrush(RGB(255,255,0)); - hBlackBrush= CreateSolidBrush(RGB(0,0,0)); - hLTBlueBrush= CreateSolidBrush(RGB(0,255,255)); - hLTRedBrush= CreateSolidBrush(RGB(255,128,0)); - hWhiteBrush= CreateSolidBrush(RGB(255,255,255)); - hRedPen= CreatePen(PS_SOLID,1,RGB(255,0,0)); - hYellowPen= CreatePen(PS_SOLID,1,RGB(255,255,0)); - hBluePen= CreatePen(PS_SOLID,1,RGB(0,0,255)); - hGreenPen= CreatePen(PS_SOLID,1,RGB(0,255,0)); - hLTBluePen= CreatePen(PS_SOLID,1,RGB(0,128,255)); - hLTRedPen= CreatePen(PS_SOLID,1,RGB(128,128,0)); - hLTGreenPen= CreatePen(PS_SOLID,1,RGB(0,128,0)); - hWhitePen= CreatePen(PS_SOLID,1,RGB(255,255,255)); - break; - - case WM_PAINT: - hDC = BeginPaint(hWnd, &ps); - - // Analog Input Box - SelectObject(hDC, GetStockObject(GRAY_BRUSH)); - Rectangle(hDC, output_pos[15].x-10, io_pos[15].y-24, output_pos[0].x+26, io_pos[0].y+195); - SetTextColor(hDC,RGB(255,255,0)); - SetBkColor(hDC, RGB(0, 0, 255)); - TextOut(hDC, io_pos[15].x, io_pos[15].y-35, " DMA Input(A/D) ", 20); - - SelectObject(hDC, hBlackBrush); - Rectangle(hDC, output_pos[15].x+35, io_pos[15].y-2, output_pos[4].x+41, io_pos[0].y+172); - - SelectObject(hDC,hYellowBrush ); - Rectangle(hDC,output_pos[4].x+68, io_pos[0].y-5+18,output_pos[4].x+80, io_pos[0].y+10+18); - - SelectObject(hDC, hGreenBrush); - Rectangle(hDC,output_pos[4].x+68, io_pos[0].y+13+18,output_pos[4].x+80, io_pos[0].y+28+18); - - SelectObject(hDC, hBlueBrush); - Rectangle(hDC,output_pos[4].x+68, io_pos[0].y+31+18,output_pos[4].x+80, io_pos[0].y+46+18); - - SelectObject(hDC, hRedBrush); - Rectangle(hDC,output_pos[4].x+68, io_pos[0].y+49+18,output_pos[4].x+80, io_pos[0].y+64+18); - - SelectObject(hDC, hLTBlueBrush); - Rectangle(hDC,output_pos[4].x+108, io_pos[0].y-5+18,output_pos[4].x+120, io_pos[0].y+10+18); - - SelectObject(hDC, hLTRedBrush); - Rectangle(hDC,output_pos[4].x+108, io_pos[0].y+13+18,output_pos[4].x+120, io_pos[0].y+28+18); - - SelectObject(hDC, hLTGreenBrush); - Rectangle(hDC,output_pos[4].x+108, io_pos[0].y+31+18,output_pos[4].x+120, io_pos[0].y+46+18); - - SelectObject(hDC, hWhiteBrush); - Rectangle(hDC,output_pos[4].x+108, io_pos[0].y+49+18,output_pos[4].x+120, io_pos[0].y+64+18); - - SetBkMode(hDC,TRANSPARENT); - TextOut(hDC,output_pos[13].x-60, input_pos[10].y,"Samping Rate",12); - TextOut(hDC,output_pos[13].x+30, input_pos[15 - ].y+20,"KHZ",3); - TextOut(hDC,output_pos[13].x+80, input_pos[10].y,"Channel",7); - TextOut(hDC,input_pos[2].x-10, io_pos[15].y+118,"Range: +-5V",11); - TextOut(hDC,input_pos[15].x, io_pos[15].y-19,"Volts",5); - TextOut(hDC,input_pos[15].x, io_pos[15].y-5,"5.00",4); - TextOut(hDC,input_pos[15].x, io_pos[15].y+36,"2.50",4); - TextOut(hDC,input_pos[15].x, io_pos[15].y+77,"0.00",4); - TextOut(hDC,input_pos[15].x-3, io_pos[15].y+118,"-2.50",5); - TextOut(hDC,input_pos[15].x-3, io_pos[15].y+159,"-5.00",5); - TextOut(hDC,input_pos[10].x+10, io_pos[10].y-19,"Signals",7); - - TextOut(hDC,output_pos[4].x+58, io_pos[0].y-5+18,"0",1); - TextOut(hDC,output_pos[4].x+58, io_pos[0].y+13+18,"1",1); - TextOut(hDC,output_pos[4].x+58, io_pos[0].y+31+18,"2",1); - TextOut(hDC,output_pos[4].x+58, io_pos[0].y+49+18,"3",1); - TextOut(hDC,output_pos[4].x+98, io_pos[0].y-5+18,"4",1); - TextOut(hDC,output_pos[4].x+98, io_pos[0].y+13+18,"5",1); - TextOut(hDC,output_pos[4].x+98, io_pos[0].y+31+18,"6",1); - TextOut(hDC,output_pos[4].x+98, io_pos[0].y+49+18,"7",1); - - EndPaint(hWnd, &ps); - break; - - // Sample Rate Spin Control - case WM_VSCROLL: - switch(LOWORD(wParam)){ - case SB_LINEUP : - sample_rate+=1000; - if (sample_rate > 100000 ) sample_rate=100000; - break; - case SB_LINEDOWN: - sample_rate-=1000; - if (sample_rate < 1000 ) sample_rate=1000; - break; - } - wsprintf(n,"%d",sample_rate/1000); - SetWindowText(hEdit,n); - break; - - case WM_COMMAND: - switch(LOWORD(wParam)) { - case IDM_EXIT: - SendMessage(hWnd, WM_CLOSE, 0, 0L); - break; - - case IDC_SHOW : - DialogBox(hInst, - "DMABox", - hWnd, - ShowDMA); - break; - - case IDC_CHAN: - if (HIWORD(wParam) == CBN_CLOSEUP) { - if ((i=(int)SendMessage(GetDlgItem(hWnd,IDC_CHAN),CB_GETCURSEL, 0, 0L))>=0 ) { - channel=i; - } - } - break; - - case IDC_START: - EnableWindow (hData, FALSE); - if (hMem != NULL) - { - GlobalUnfix(hMem); - GlobalUnlock(hMem); - GlobalFree(hMem); - } - // allocate a memory for user DMA buffer - mem_size=data_size*2; - hMem = GlobalAlloc(GMEM_ZEROINIT,mem_size); - ai_buf = (I16*)GlobalLock(hMem); - if (ai_buf == NULL ) - { - MessageBox(hWnd,"INT", - "No Memory", MB_OK); - } - GlobalFix(hMem); - - AI_9118_Config(card,P9118_AI_BiPolar|P9118_AI_SingEnded,0,0,0); - QueryPerformanceFrequency(&freq); - QueryPerformanceCounter(&start_count); - AI_ContScanChannels (card, channel, range, ai_buf, data_size, (F32)sample_rate, SYNCH_OP); - QueryPerformanceCounter(¤t_count); - take_msec =((double)(current_count.QuadPart-start_count.QuadPart))/freq.QuadPart*1000; - sprintf(buf, "The time taken for DMA operation is: %4.3f msec",take_msec); - MessageBox(hWnd,buf,"DMA time",MB_OK); - EnableWindow (hData, TRUE); - for (i=0;i<8;i++) oldinput[i]=-1; - hDC = GetDC(hWnd); - SelectObject(hDC, hBlackBrush); - Rectangle(hDC,output_pos[15].x+35,io_pos[0].y-3,output_pos[15].x+370,io_pos[0].y+175); - for (i=0;i= 0) Release_Card (card); - DeleteObject(hRedBrush); - DeleteObject(hGreenBrush); - DeleteObject(hLTGreenBrush); - DeleteObject(hYellowBrush); - DeleteObject(hBlueBrush) ; - DeleteObject(hBlackBrush); - DeleteObject(hRedPen); - DeleteObject(hYellowPen); - DeleteObject(hBluePen); - DeleteObject(hGreenPen); - DeleteObject(hLTBluePen); - DeleteObject(hLTRedPen); - DeleteObject(hLTGreenPen); - DeleteObject(hWhitePen); - GlobalUnfix(hMem); - GlobalUnlock(hMem); - GlobalFree(hMem); - PostQuitMessage(0); - break; - - default: - return(DefWindowProc(hWnd, message, wParam, lParam)); - } - return(NULL); -} - -BOOL PASCAL ShowDMA(hDlg, message, wParam, lParam) -HWND hDlg; -UINT message; -WPARAM wParam; -LPARAM lParam; -{ - int nTabs[2] = {32, 92}; - long i; - char cBuf[ ] = "\t131072 \tFF"; - char string[10]=" "; - char data_str[3]=" "; - I16 *pp; - switch (message) - { - case WM_INITDIALOG: - hListBox = CreateWindow("LISTBOX", "Memory Count Data",\ - WS_CHILD | WS_VISIBLE | LBS_HASSTRINGS\ - | LBS_STANDARD | LBS_USETABSTOPS |WS_CAPTION,\ - 50, 40, 240, 180, hDlg, 100, hInst, NULL); - - SendMessage(hListBox, LB_RESETCONTENT, 0, 0L); - SendMessage(hListBox, LB_SETTABSTOPS, 2, (DWORD)\ - (LPINT) nTabs); - pp=(I16 *) ai_buf; - for(i=0; i -#include -#include -#include -#include -#include "resource.h" -#include "Dask.h" - -#define IDM_EXIT 110 -#define IDC_SCROLL 207 -#define IDC_SPIN 301 -#define IDC_START 208 -#define IDC_STOP 209 -#define IDC_EDIT 211 -#define IDC_EDIT1 214 -#define IDC_EDIT2 215 -#define IDC_SHOW 213 -#define IDC_CH 400 - -int PASCAL WinMain(HANDLE, HANDLE, LPSTR, int); -long PASCAL MainWndProc(HWND, UINT, WPARAM, LPARAM); -BOOL PASCAL ShowDMA(HWND, UINT, WPARAM, LPARAM); - -HANDLE hInst; -HWND hListBox; -HWND hEdit,hEdit1,hEdit2, hStart, hStop; -BOOL bCheck[8]; - -HBRUSH hBlackBrush; -HPEN hRedPen, hBlackPen; -HWND hMainWnd; - -unsigned int sample_rate=10000; -U16 channel; -BOOLEAN fstop; -U32 data_size=1000, mem_size; -static HANDLE hMem=NULL; -U16 *ai_buf; -I16 card=-1, card_number = 0; -U32 count, postCount=512; - -POINT input_pos[16]= {{470, 280}, {440, 280}, - {410, 280}, {380, 280}, - {350, 280}, {320, 280}, - { 290, 280}, {260, 280}, - {230, 280}, {200, 280}, - {170, 280}, {140, 280}, - {110, 280}, {80, 280}, - { 50, 280}, { 20, 280}, - }; -POINT output_pos[16] ={ - {470, 340}, {440, 340}, - {410, 340}, {380, 340}, - {350, 340}, {320, 340}, - { 290, 340}, {260, 340}, - {230, 340}, {200, 340}, - {170, 340}, {140, 340}, - {110, 340}, {80, 340}, - { 50, 340}, { 20, 340}, - }; - -POINT io_pos[16] ={ - {395, 40}, {370, 40}, - {345, 40}, {320, 40}, - {295, 40}, {270, 40}, - { 245, 40}, {220, 40}, - {195, 40}, {170, 40}, - {145, 40}, {120, 40}, - {95, 40}, {70, 40}, - { 45, 40}, { 20, 40}, - }; - -BOOL InitApplication(HANDLE); -BOOL InitInstance(HANDLE, int); -void ProcessThread(); - -int PASCAL WinMain(hInstance, hPrevInstance, lpCmdLine, nCmdShow) -HANDLE hInstance, hPrevInstance; -LPSTR lpCmdLine; -int nCmdShow; -{ - MSG msg; - - if (!hPrevInstance) - if (!InitApplication(hInstance)) return(FALSE); - if (!InitInstance(hInstance, nCmdShow)) return(FALSE); - while (GetMessage(&msg, NULL, NULL, NULL)) { - TranslateMessage(&msg); - DispatchMessage(&msg); - } - return(msg.wParam); -} - -BOOL InitApplication(hInstance) -HANDLE hInstance; -{ - WNDCLASS wc; - - /* Main Window Class */ - wc.style = NULL; - wc.lpfnWndProc = (WNDPROC)MainWndProc; - wc.cbClsExtra = 0; - wc.cbWndExtra = 0; - wc.hInstance = hInstance; - wc.hIcon = LoadIcon(hInstance, "MyIcon"); - wc.hCursor = LoadCursor(NULL, IDC_ARROW); - wc.hbrBackground = GetStockObject(LTGRAY_BRUSH); - wc.lpszMenuName = NULL; - wc.lpszClassName = "GenericWClass"; - if (!RegisterClass(&wc)) return(FALSE); -} - - -BOOL InitInstance(hInstance, nCmdShow) -HANDLE hInstance; -int nCmdShow; -{ - HWND hWnd; - HMENU hSampleMenu; - - hInst = hInstance; - hSampleMenu = LoadMenu(hInstance, "U7120Menu"); - hWnd = CreateWindow("GenericWClass", - (LPCSTR)"PCI-9118 Single Buffer DMA by Post Trigger Mode", - WS_OVERLAPPEDWINDOW, - CW_USEDEFAULT, - CW_USEDEFAULT, - 520, - 400, - NULL, - hSampleMenu, - hInstance, - NULL); - if (!hWnd) return(FALSE); - ShowWindow(hWnd, nCmdShow); - UpdateWindow(hWnd); - return(TRUE); -} - -BOOL PASCAL setup(HWND hWnd, unsigned message, WPARAM wParam, LPARAM lParam) -{ - int i; - char n[16]; - char s[50]; - switch (message) { - case WM_INITDIALOG: - for (i=0;i<16;i++) { - wsprintf(n, "%d", i); - _strupr(n); - SendMessage(GetDlgItem(hWnd,IDC_COMBO1), CB_ADDSTRING, NULL, (LONG)(LPSTR) n); - } - SendMessage(GetDlgItem(hWnd,IDC_COMBO1) , CB_SETCURSEL, 0, 0L); - - break; - case WM_COMMAND: - switch(LOWORD(wParam)) { - - case IDC_COMBO1: - if (HIWORD(wParam) == CBN_CLOSEUP) { - i = (int)SendMessage(GetDlgItem(hWnd,IDC_COMBO1), CB_GETCURSEL, 0, 0L); - SendMessage(GetDlgItem(hWnd,IDC_COMBO1), CB_GETLBTEXT, i, (LPARAM)((LPCSTR)n)); - card_number = i; - } - return(TRUE); - case IDOK: - if ((card=Register_Card(PCI_9118DG, card_number)) < 0) { - wsprintf(s, "Register_Card Error = %d\n", card); - MessageBox(hWnd, s, "Error", MB_OK); - SendMessage(hWnd, WM_CLOSE, 0, 0L); - break; - } - EndDialog(hWnd, TRUE); - InvalidateRect(hWnd, NULL, FALSE); - return (TRUE); - case IDCANCEL: - EndDialog(hWnd, TRUE); - return (TRUE); - } - break; - } - return (FALSE); -} - -long PASCAL MainWndProc(hWnd, message, wParam, lParam) -HWND hWnd; -UINT message; -WPARAM wParam; -LPARAM lParam; -{ - HDC hDC; - PAINTSTRUCT ps; - int i; - char n[6]; - static int pos=0; - I16 err; - char s[100]; - - switch(message) { - case WM_CREATE: - - DialogBox(hInst,IDD_DIALOG2, hWnd, setup); - if(card<0) { - SendMessage(hWnd, WM_CLOSE, 0, 0L); - break; - } - hEdit=CreateWindow("EDIT", NULL, - WS_CHILD | WS_VISIBLE | ES_LEFT, - output_pos[13].x-30, input_pos[15].y+20,40, 20, hWnd, IDC_EDIT, hInst, NULL); - hEdit1=CreateWindow("EDIT", NULL, - WS_CHILD | WS_VISIBLE | ES_LEFT, - output_pos[13].x+90, input_pos[15].y+20,60, 20, hWnd, IDC_EDIT1, hInst, NULL); - hEdit2=CreateWindow("EDIT", NULL, - WS_CHILD | WS_VISIBLE | ES_LEFT, - output_pos[13].x+90, input_pos[15].y-20,60, 20, hWnd, IDC_EDIT2, hInst, NULL); - - wsprintf(n,"%d",sample_rate/1000); - SetWindowText(hEdit,n); - - wsprintf(n,"%d",data_size); - SetWindowText(hEdit1,n); - - wsprintf(n,"%d",postCount); - SetWindowText(hEdit2,n); - - CreateWindow("SCROLLBAR", NULL, - WS_CHILD | WS_VISIBLE | SBS_VERT, - output_pos[13].x+10, input_pos[15].y+20,20, 20, hWnd, IDC_SCROLL, hInst, NULL); - - hStart = CreateWindow("BUTTON","Start" , - WS_CHILD | WS_VISIBLE , - output_pos[10].x+110, input_pos[10].y+10,50, 30, hWnd, IDC_START, hInst, NULL); - - hStop = CreateWindow("BUTTON","Stop" , - WS_CHILD | WS_VISIBLE , - output_pos[10].x+170, input_pos[10].y+10,50, 30, hWnd, IDC_STOP, hInst, NULL); - - CreateWindow("BUTTON","Data Value" , - WS_CHILD | WS_VISIBLE , - output_pos[10].x+230, input_pos[10].y+10,80, 30, hWnd, IDC_SHOW, hInst, NULL); - EnableWindow(hStop, FALSE); - - CreateWindow("BUTTON","0" , - WS_CHILD | WS_VISIBLE | BS_AUTORADIOBUTTON | BS_LEFTTEXT | WS_GROUP , - output_pos[4].x+50, io_pos[0].y-5+20,25,15, hWnd,IDC_CH, hInst, NULL); - - CreateWindow("BUTTON","1" , - WS_CHILD | WS_VISIBLE | BS_AUTORADIOBUTTON | BS_LEFTTEXT | WS_GROUP, - output_pos[4].x+50, io_pos[0].y+13+20,25,15, hWnd,IDC_CH+1, hInst, NULL); - - CreateWindow("BUTTON","2" , - WS_CHILD | WS_VISIBLE | BS_AUTORADIOBUTTON | BS_LEFTTEXT | WS_GROUP, - output_pos[4].x+50, io_pos[0].y+31+20,25,15, hWnd,IDC_CH+2, hInst, NULL); - - CreateWindow("BUTTON","3" , - WS_CHILD | WS_VISIBLE | BS_AUTORADIOBUTTON | BS_LEFTTEXT | WS_GROUP, - output_pos[4].x+50, io_pos[0].y+49+20,25,15, hWnd,IDC_CH+3, hInst, NULL); - - CreateWindow("BUTTON","4" , - WS_CHILD | WS_VISIBLE | BS_AUTORADIOBUTTON | BS_LEFTTEXT | WS_GROUP, - output_pos[4].x+100, io_pos[0].y-5+20,25,15, hWnd,IDC_CH+4, hInst, NULL); - - CreateWindow("BUTTON","5" , - WS_CHILD | WS_VISIBLE | BS_AUTORADIOBUTTON | BS_LEFTTEXT | WS_GROUP, - output_pos[4].x+100, io_pos[0].y+13+20,25,15, hWnd, IDC_CH+5, hInst, NULL); - - CreateWindow("BUTTON","6" , - WS_CHILD | WS_VISIBLE | BS_AUTORADIOBUTTON | BS_LEFTTEXT | WS_GROUP, - output_pos[4].x+100, io_pos[0].y+31+20,25,15, hWnd,IDC_CH+6, hInst, NULL); - - CreateWindow("BUTTON","7" , - WS_CHILD | WS_VISIBLE | BS_AUTORADIOBUTTON | BS_LEFTTEXT | WS_GROUP, - output_pos[4].x+100, io_pos[0].y+49+20,25,15, hWnd, IDC_CH+7, hInst, NULL); - - //default channel 0 - for (i=1;i<8;i++) bCheck[i]=FALSE; - bCheck[0] = TRUE; - channel = 0; - SendMessage(GetDlgItem(hWnd,IDC_CH), BM_SETCHECK, 1, 0); - - hBlackBrush= CreateSolidBrush(RGB(0,0,0)); - hRedPen= CreatePen(PS_SOLID,1,RGB(255,0,0)); - hBlackPen= CreatePen(PS_SOLID,1,RGB(0,0,0)); - break; - - case WM_PAINT: - hDC = BeginPaint(hWnd, &ps); - - // DMA analog input box - SelectObject(hDC, GetStockObject(GRAY_BRUSH)); - Rectangle(hDC, output_pos[15].x-10, io_pos[15].y-24, output_pos[0].x+26, io_pos[0].y+195); - SetTextColor(hDC,RGB(255,255,0)); - SetBkColor(hDC, RGB(0, 0, 255)); - TextOut(hDC, io_pos[15].x, io_pos[15].y-35, "DMA Input", 9); - SelectObject(hDC, hBlackBrush); - Rectangle(hDC, output_pos[15].x+35, io_pos[15].y-2, output_pos[4].x+41, io_pos[0].y+172); - - SetBkMode(hDC,TRANSPARENT); - TextOut(hDC,output_pos[13].x+70, input_pos[10].y-40,"PostCount",9); - TextOut(hDC,output_pos[13].x-60, input_pos[10].y,"Samping Rate",12); - TextOut(hDC,output_pos[13].x+30, input_pos[15].y+20,"KHZ",3); - TextOut(hDC,output_pos[13].x+70, input_pos[10].y,"Buffer Size",11); - TextOut(hDC,input_pos[2].x-10, io_pos[15].y+118,"Range: +-5V",11); - TextOut(hDC,input_pos[15].x, io_pos[15].y-19,"Volt",4); - TextOut(hDC,input_pos[15].x, io_pos[15].y-5,"5.00",4); - TextOut(hDC,input_pos[15].x, io_pos[15].y+36,"2.50",4); - TextOut(hDC,input_pos[15].x, io_pos[15].y+77,"0.00",4); - TextOut(hDC,input_pos[15].x-3, io_pos[15].y+118,"-2.50",5); - TextOut(hDC,input_pos[15].x-3, io_pos[15].y+159,"-5.00",5); - TextOut(hDC,input_pos[10].x+10, io_pos[10].y-19,"Signals",7); - TextOut(hDC,output_pos[4].x+60, io_pos[0].y-15,"Channel",7); - EndPaint(hWnd, &ps); - break; - - // Sample Rate Spin Control - case WM_VSCROLL: - switch (LOWORD(wParam)) { - case SB_LINEUP : - sample_rate+=5000; - if (sample_rate > 50000 ) sample_rate=50000; - break; - case SB_LINEDOWN: - sample_rate-=5000; - if (sample_rate < 5000 ) sample_rate=5000; - break; - } - wsprintf(n,"%d",sample_rate/1000); - SetWindowText(hEdit,n); - break; - case WM_COMMAND: - switch(LOWORD(wParam)) { - case IDM_EXIT: - SendMessage(hWnd, WM_CLOSE, 0, 0L); - break; - case IDC_CH: - case IDC_CH+1: - case IDC_CH+2: - case IDC_CH+3: - case IDC_CH+4: - case IDC_CH+5: - case IDC_CH+6: - case IDC_CH+7: - if (!bCheck[wParam-IDC_CH]) { - SendMessage(GetDlgItem(hWnd,wParam), BM_SETCHECK, 1, 0); - SendMessage(GetDlgItem(hWnd,IDC_CH+channel), BM_SETCHECK, 0, 0); - bCheck[channel]=FALSE; - } - channel=wParam-IDC_CH; - bCheck[channel]=TRUE; - break; - case IDC_SHOW : - DialogBox(hInst, "DMABox", hWnd, ShowDMA); - break; - case IDC_START: - if (hMem != NULL) { - GlobalUnfix(hMem); - GlobalUnlock(hMem); - GlobalFree(hMem); - } - // allocate a memory for DMA - postCount = GetDlgItemInt(hWnd,IDC_EDIT2,NULL ,FALSE); - data_size=GetDlgItemInt(hWnd,IDC_EDIT1,NULL ,FALSE); - if (data_size <= postCount) { - wsprintf(s, "Buffer Size have to be larger than %d\n", postCount+2); - MessageBox(hWnd,s,"Data Size Error", MB_OK); - break; - } - mem_size=data_size * 2; - hMem = GlobalAlloc(GMEM_FIXED | GMEM_ZEROINIT,mem_size); - - ai_buf = (U16 *)GlobalLock(hMem); - if (ai_buf == NULL ) { - MessageBox(hWnd,"DMA", "No Memory", MB_OK); - SendMessage(hWnd, WM_CLOSE, 0, 0L); - break; - } - - GlobalFix(hMem); - for (i=0;i= 0) Release_Card(card); - DeleteObject(hBlackBrush); - DeleteObject(hRedPen); - GlobalUnfix(hMem); - GlobalUnlock(hMem); - GlobalFree(hMem); - PostQuitMessage(0); - break; - default: - return(DefWindowProc(hWnd, message, wParam, lParam)); - } - return(NULL); -} - -BOOL PASCAL ShowDMA(hDlg, message, wParam, lParam) -HWND hDlg; -UINT message; -WPARAM wParam; -LPARAM lParam; -{ - int nTabs[2] = {32, 92}; - int i; - char cBuf[100]; - char string[10]=" "; - char data_str[3]=" "; - U16 *pp; - switch (message) { - case WM_INITDIALOG: - hListBox = CreateWindow("LISTBOX", "Index Data (Hex)", - WS_CHILD | WS_VISIBLE | LBS_HASSTRINGS | LBS_STANDARD | LBS_USETABSTOPS |WS_CAPTION, - 50, 40, 240, 180, hDlg, 100, hInst, NULL); - SendMessage(hListBox, LB_RESETCONTENT, 0, 0L); - SendMessage(hListBox, LB_SETTABSTOPS, 2, (DWORD)(LPINT) nTabs); - SetDlgItemText(hDlg, DMA_DESCP, "This ListBox can show at most 4000 data"); - itoa( data_size, string, 10); - SetDlgItemText(hDlg, DMA_SPACE, string); - pp = (U16 *)ai_buf; - if (count >4000) count = 4000; - for(i=0;i>4; - newy = io_pos[0].y+171-(172*(U32)adinput)/4095; - newx = i*336/data_size+output_pos[15].x+35; - if (i==0) - MoveToEx(hDC, newx, newy, NULL); - else - MoveToEx(hDC, oldx, oldy, NULL); - LineTo(hDC, newx, newy); - oldx = newx; - oldy = newy; - } - ReleaseDC(hMainWnd, hDC); -} diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9118/SDK9118PostTrg/Resource.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9118/SDK9118PostTrg/Resource.h deleted file mode 100644 index 4831ea6..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9118/SDK9118PostTrg/Resource.h +++ /dev/null @@ -1,25 +0,0 @@ -//{{NO_DEPENDENCIES}} -// Microsoft Developer Studio generated include file. -// Used by 9118ATrg.rc -// -#define IDM_SETUP 101 -#define IDD_DIALOG1 101 -#define IDD_DIALOG2 104 -#define IDM_EXIT 110 -#define ID_CARDNUMBER 122 -#define ID_STOP 304 -#define DMA_SPACE 500 -#define DMA_DESCP 600 -#define IDC_COMBO1 1001 -#define IDC_STATIC -1 - -// Next default values for new objects -// -#ifdef APSTUDIO_INVOKED -#ifndef APSTUDIO_READONLY_SYMBOLS -#define _APS_NEXT_RESOURCE_VALUE 105 -#define _APS_NEXT_COMMAND_VALUE 123 -#define _APS_NEXT_CONTROL_VALUE 1002 -#define _APS_NEXT_SYMED_VALUE 101 -#endif -#endif diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9118/SDK9118ScanDma/9118DMA.MAK b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9118/SDK9118ScanDma/9118DMA.MAK deleted file mode 100644 index 6af0863..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9118/SDK9118ScanDma/9118DMA.MAK +++ /dev/null @@ -1,219 +0,0 @@ -# Microsoft Developer Studio Generated NMAKE File, Format Version 4.00 -# ** DO NOT EDIT ** - -# TARGTYPE "Win32 (x86) Application" 0x0101 - -!IF "$(CFG)" == "" -CFG=9118DMA - Win32 Debug -!MESSAGE No configuration specified. Defaulting to 9118DMA - Win32 Debug. -!ENDIF - -!IF "$(CFG)" != "9118DMA - Win32 Release" && "$(CFG)" !=\ - "9118DMA - Win32 Debug" -!MESSAGE Invalid configuration "$(CFG)" specified. -!MESSAGE You can specify a configuration when running NMAKE on this makefile -!MESSAGE by defining the macro CFG on the command line. For example: -!MESSAGE -!MESSAGE NMAKE /f "9118DMA.mak" CFG="9118DMA - Win32 Debug" -!MESSAGE -!MESSAGE Possible choices for configuration are: -!MESSAGE -!MESSAGE "9118DMA - Win32 Release" (based on "Win32 (x86) Application") -!MESSAGE "9118DMA - Win32 Debug" (based on "Win32 (x86) Application") -!MESSAGE -!ERROR An invalid configuration is specified. -!ENDIF - -!IF "$(OS)" == "Windows_NT" -NULL= -!ELSE -NULL=nul -!ENDIF -################################################################################ -# Begin Project -# PROP Target_Last_Scanned "9118DMA - Win32 Debug" -CPP=cl.exe -RSC=rc.exe -MTL=mktyplib.exe - -!IF "$(CFG)" == "9118DMA - Win32 Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "Release" -# PROP BASE Intermediate_Dir "Release" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "" -# PROP Intermediate_Dir "Release" -# PROP Target_Dir "" -OUTDIR=. -INTDIR=.\Release - -ALL : "$(OUTDIR)\9118DMA.exe" - -CLEAN : - -@erase ".\9118DMA.exe" - -@erase ".\Release\9118dma.obj" - -@erase ".\Release\9118DMA.res" - -"$(INTDIR)" : - if not exist "$(INTDIR)/$(NULL)" mkdir "$(INTDIR)" - -# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /YX /c -# ADD CPP /nologo /W3 /GX /Od /I "..\..\..\include" /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /c -# SUBTRACT CPP /YX -CPP_PROJ=/nologo /ML /W3 /GX /Od /I "..\..\..\include" /D "WIN32" /D "NDEBUG"\ - /D "_WINDOWS" /Fo"$(INTDIR)/" /c -CPP_OBJS=.\Release/ -CPP_SBRS= -# ADD BASE MTL /nologo /D "NDEBUG" /win32 -# ADD MTL /nologo /D "NDEBUG" /win32 -MTL_PROJ=/nologo /D "NDEBUG" /win32 -# ADD BASE RSC /l 0x409 /d "NDEBUG" -# ADD RSC /l 0x409 /d "NDEBUG" -RSC_PROJ=/l 0x409 /fo"$(INTDIR)/9118DMA.res" /d "NDEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -BSC32_FLAGS=/nologo /o"$(OUTDIR)/9118DMA.bsc" -BSC32_SBRS= -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:windows /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ..\..\..\lib\pci-dask.lib /nologo /subsystem:windows /machine:I386 -LINK32_FLAGS=kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib\ - advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib\ - odbccp32.lib ..\..\..\lib\pci-dask.lib /nologo /subsystem:windows\ - /incremental:no /pdb:"$(OUTDIR)/9118DMA.pdb" /machine:I386\ - /out:"$(OUTDIR)/9118DMA.exe" -LINK32_OBJS= \ - ".\Release\9118dma.obj" \ - ".\Release\9118DMA.res" - -"$(OUTDIR)\9118DMA.exe" : "$(OUTDIR)" $(DEF_FILE) $(LINK32_OBJS) - $(LINK32) @<< - $(LINK32_FLAGS) $(LINK32_OBJS) -<< - -!ELSEIF "$(CFG)" == "9118DMA - Win32 Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "Debug" -# PROP BASE Intermediate_Dir "Debug" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "" -# PROP Intermediate_Dir "Debug" -# PROP Target_Dir "" -OUTDIR=. -INTDIR=.\Debug - -ALL : "$(OUTDIR)\9118DMA.exe" - -CLEAN : - -@erase ".\Debug\vc40.pdb" - -@erase ".\Debug\vc40.idb" - -@erase ".\9118DMA.exe" - -@erase ".\Debug\9118dma.obj" - -@erase ".\Debug\9118DMA.res" - -@erase ".\9118DMA.ilk" - -@erase ".\9118DMA.pdb" - -"$(INTDIR)" : - if not exist "$(INTDIR)/$(NULL)" mkdir "$(INTDIR)" - -# ADD BASE CPP /nologo /W3 /Gm /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /YX /c -# ADD CPP /nologo /W3 /Gm /GX /Zi /Od /I "..\..\..\include" /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /c -# SUBTRACT CPP /YX -CPP_PROJ=/nologo /MLd /W3 /Gm /GX /Zi /Od /I "..\..\..\include" /D "WIN32" /D\ - "_DEBUG" /D "_WINDOWS" /Fo"$(INTDIR)/" /Fd"$(INTDIR)/" /c -CPP_OBJS=.\Debug/ -CPP_SBRS= -# ADD BASE MTL /nologo /D "_DEBUG" /win32 -# ADD MTL /nologo /D "_DEBUG" /win32 -MTL_PROJ=/nologo /D "_DEBUG" /win32 -# ADD BASE RSC /l 0x409 /d "_DEBUG" -# ADD RSC /l 0x409 /d "_DEBUG" -RSC_PROJ=/l 0x409 /fo"$(INTDIR)/9118DMA.res" /d "_DEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -BSC32_FLAGS=/nologo /o"$(OUTDIR)/9118DMA.bsc" -BSC32_SBRS= -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:windows /debug /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ..\..\..\lib\pci-dask.lib /nologo /subsystem:windows /debug /machine:I386 -LINK32_FLAGS=kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib\ - advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib\ - odbccp32.lib ..\..\..\lib\pci-dask.lib /nologo /subsystem:windows\ - /incremental:yes /pdb:"$(OUTDIR)/9118DMA.pdb" /debug /machine:I386\ - /out:"$(OUTDIR)/9118DMA.exe" -LINK32_OBJS= \ - ".\Debug\9118dma.obj" \ - ".\Debug\9118DMA.res" - -"$(OUTDIR)\9118DMA.exe" : "$(OUTDIR)" $(DEF_FILE) $(LINK32_OBJS) - $(LINK32) @<< - $(LINK32_FLAGS) $(LINK32_OBJS) -<< - -!ENDIF - -.c{$(CPP_OBJS)}.obj: - $(CPP) $(CPP_PROJ) $< - -.cpp{$(CPP_OBJS)}.obj: - $(CPP) $(CPP_PROJ) $< - -.cxx{$(CPP_OBJS)}.obj: - $(CPP) $(CPP_PROJ) $< - -.c{$(CPP_SBRS)}.sbr: - $(CPP) $(CPP_PROJ) $< - -.cpp{$(CPP_SBRS)}.sbr: - $(CPP) $(CPP_PROJ) $< - -.cxx{$(CPP_SBRS)}.sbr: - $(CPP) $(CPP_PROJ) $< - -################################################################################ -# Begin Target - -# Name "9118DMA - Win32 Release" -# Name "9118DMA - Win32 Debug" - -!IF "$(CFG)" == "9118DMA - Win32 Release" - -!ELSEIF "$(CFG)" == "9118DMA - Win32 Debug" - -!ENDIF - -################################################################################ -# Begin Source File - -SOURCE=.\9118dma.c -DEP_CPP_9118D=\ - ".\..\..\..\include\dask.h"\ - - -"$(INTDIR)\9118dma.obj" : $(SOURCE) $(DEP_CPP_9118D) "$(INTDIR)" - - -# End Source File -################################################################################ -# Begin Source File - -SOURCE=.\9118DMA.rc - -"$(INTDIR)\9118DMA.res" : $(SOURCE) "$(INTDIR)" - $(RSC) $(RSC_PROJ) $(SOURCE) - - -# End Source File -# End Target -# End Project -################################################################################ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9118/SDK9118ScanDma/9118DMA.MDP b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9118/SDK9118ScanDma/9118DMA.MDP deleted file mode 100644 index 9256882..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9118/SDK9118ScanDma/9118DMA.MDP and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9118/SDK9118ScanDma/9118DMA.RC b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9118/SDK9118ScanDma/9118DMA.RC deleted file mode 100644 index 73fca41..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9118/SDK9118ScanDma/9118DMA.RC +++ /dev/null @@ -1,125 +0,0 @@ -//Microsoft Developer Studio generated resource script. -// -#include "resource.h" - -#define APSTUDIO_READONLY_SYMBOLS -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 2 resource. -// -#define APSTUDIO_HIDDEN_SYMBOLS -#include "windows.h" -#undef APSTUDIO_HIDDEN_SYMBOLS - -///////////////////////////////////////////////////////////////////////////// -#undef APSTUDIO_READONLY_SYMBOLS - -///////////////////////////////////////////////////////////////////////////// -// English (U.S.) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -#ifdef _WIN32 -LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US -#pragma code_page(1252) -#endif //_WIN32 - -///////////////////////////////////////////////////////////////////////////// -// -// Menu -// - -U7120MENU MENU DISCARDABLE -BEGIN - MENUITEM "E&xit!", IDM_EXIT -END - - -#ifdef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// TEXTINCLUDE -// - -1 TEXTINCLUDE DISCARDABLE -BEGIN - "resource.h\0" -END - -2 TEXTINCLUDE DISCARDABLE -BEGIN - "#define APSTUDIO_HIDDEN_SYMBOLS\r\n" - "#include ""windows.h""\r\n" - "#undef APSTUDIO_HIDDEN_SYMBOLS\r\n" - "\0" -END - -3 TEXTINCLUDE DISCARDABLE -BEGIN - "\r\n" - "\0" -END - -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog -// - -DMABOX DIALOG DISCARDABLE 18, 10, 171, 169 -STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "DMA TEST" -FONT 8, "System" -BEGIN - PUSHBUTTON "STOP",ID_STOP,82,147,24,14 - LTEXT "Data Transferred :",-1,39,118,60,8 - LTEXT "Text",DMA_SPACE,103,118,41,8 -END - -IDD_DIALOG2 DIALOG DISCARDABLE 110, 10, 110, 69 -STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "Card Number" -FONT 10, "System" -BEGIN - DEFPUSHBUTTON "OK",IDOK,9,48,39,14 - PUSHBUTTON "Cancel",IDCANCEL,56,48,38,14 - COMBOBOX IDC_COMBO1,52,23,51,45,CBS_DROPDOWN | WS_VSCROLL | - WS_TABSTOP - LTEXT "Card Number",IDC_STATIC,3,24,46,13 - LTEXT "Select a card number :",IDC_STATIC,3,6,100,11 -END - - -///////////////////////////////////////////////////////////////////////////// -// -// DESIGNINFO -// - -#ifdef APSTUDIO_INVOKED -GUIDELINES DESIGNINFO DISCARDABLE -BEGIN - IDD_DIALOG2, DIALOG - BEGIN - LEFTMARGIN, 3 - RIGHTMARGIN, 103 - BOTTOMMARGIN, 62 - END -END -#endif // APSTUDIO_INVOKED - -#endif // English (U.S.) resources -///////////////////////////////////////////////////////////////////////////// - - - -#ifndef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 3 resource. -// - - -///////////////////////////////////////////////////////////////////////////// -#endif // not APSTUDIO_INVOKED - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9118/SDK9118ScanDma/9118dma.c b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9118/SDK9118ScanDma/9118dma.c deleted file mode 100644 index 91febb3..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9118/SDK9118ScanDma/9118dma.c +++ /dev/null @@ -1,515 +0,0 @@ -#include "windows.h" -#include -#include -#include -#include -#include -#include "resource.h" -#include "dask.h" - -#define IDM_EXIT 110 -#define IDC_ADDR 200 -#define IDC_SCROLL 207 -#define IDC_START 208 -#define IDC_STOP 209 -#define IDC_PAUSE 210 -#define IDC_EDIT 211 -#define IDC_CHAN 214 -#define IDC_SHOW 213 -#define NONE 0 - -int PASCAL WinMain(HANDLE, HANDLE, LPSTR, int); -long PASCAL MainWndProc(HWND, UINT, WPARAM, LPARAM); -BOOL PASCAL ShowDMA(HWND, UINT, WPARAM, LPARAM); - -HANDLE hInst; -HWND hListBox; -HWND hChanComboBox; -HWND hADScroll; -HWND hEdit,hEdit1,hData; -unsigned int input=0, output=0; -unsigned int oldinput[8], adinput; - -HBRUSH hBlackBrush; -HPEN hRedPen; - -long sample_rate=10000; -unsigned int base_addr=NONE,gain=1; -I16 card = -1, card_number = 0; -long data_size=4000; -U16 channel=0; -U16 range =AD_B_5_V; -DWORD mem_size = 0; -static HANDLE hMem=NULL; -unsigned short *ai_buf; - -POINT input_pos[16]= {{470, 280}, {440, 280}, - {410, 280}, {380, 280}, - {350, 280}, {320, 280}, - { 290, 280}, {260, 280}, - {230, 280}, {200, 280}, - {170, 280}, {140, 280}, - {110, 280}, {80, 280}, - { 50, 280}, { 20, 280}, - }; - -POINT output_pos[16] ={ - {470, 340}, {440, 340}, - {410, 340}, {380, 340}, - {350, 340}, {320, 340}, - { 290, 340}, {260, 340}, - {230, 340}, {200, 340}, - {170, 340}, {140, 340}, - {110, 340}, {80, 340}, - { 50, 340}, { 20, 340}, - }; - -POINT io_pos[16] ={ - {395, 40}, {370, 40}, - {345, 40}, {320, 40}, - {295, 40}, {270, 40}, - { 245, 40}, {220, 40}, - {195, 40}, {170, 40}, - {145, 40}, {120, 40}, - {95, 40}, {70, 40}, - { 45, 40}, { 20, 40}, - }; - -HBRUSH hLTGreenBrush,hGreenBrush,hBlueBrush,hYellowBrush,hRedBrush,hBlackBrush,hWhiteBrush - ,hLTRedBrush,hLTBlueBrush; -HPEN hRedPen,hYellowPen,hGreenPen,hBluePen,hLTBluePen,hLTRedPen,hLTGreenPen,hWhitePen; - -BOOL InitApplication(HANDLE); -BOOL InitInstance(HANDLE, int); - -int PASCAL WinMain(hInstance, hPrevInstance, lpCmdLine, nCmdShow) -HANDLE hInstance, hPrevInstance; -LPSTR lpCmdLine; -int nCmdShow; -{ - MSG msg; - - if (!hPrevInstance) - if (!InitApplication(hInstance)) return(FALSE); - if (!InitInstance(hInstance, nCmdShow)) return(FALSE); - while (GetMessage(&msg, NULL, NULL, NULL)) { - TranslateMessage(&msg); - DispatchMessage(&msg); - } - return(msg.wParam); -} - -BOOL InitApplication(hInstance) -HANDLE hInstance; -{ - WNDCLASS wc; - - /* Main Window Class */ - wc.style = NULL; - wc.lpfnWndProc = (WNDPROC)MainWndProc; - wc.cbClsExtra = 0; - wc.cbWndExtra = 0; - wc.hInstance = hInstance; - wc.hIcon = LoadIcon(hInstance, "MyIcon"); - wc.hCursor = LoadCursor(NULL, IDC_ARROW); - wc.hbrBackground = GetStockObject(LTGRAY_BRUSH); - wc.lpszMenuName = NULL; - wc.lpszClassName = "GenericWClass"; - if (!RegisterClass(&wc)) return(FALSE); -} - -BOOL InitInstance(hInstance, nCmdShow) -HANDLE hInstance; -int nCmdShow; -{ - HWND hWnd; - HMENU hSampleMenu; - - hInst = hInstance; - hSampleMenu = LoadMenu(hInstance, "U7120Menu"); - hWnd = CreateWindow("GenericWClass", - (LPCSTR)"9118 Autoscan DMA", - WS_OVERLAPPEDWINDOW, - CW_USEDEFAULT, - CW_USEDEFAULT, - 520, - 400, - NULL, - hSampleMenu, - hInstance, - NULL); - if (!hWnd) return(FALSE); - ShowWindow(hWnd, nCmdShow); - UpdateWindow(hWnd); - return(TRUE); -} - -BOOL PASCAL setup(HWND hWnd, unsigned message, WPARAM wParam, LPARAM lParam) -{ - int i; - char n[16]; - char s[50]; - switch (message) { - case WM_INITDIALOG: - for (i=0;i<16;i++) { - wsprintf(n, "%d", i); - _strupr(n); - SendMessage(GetDlgItem(hWnd,IDC_COMBO1), CB_ADDSTRING, NULL, (LONG)(LPSTR) n); - } - SendMessage(GetDlgItem(hWnd,IDC_COMBO1) , CB_SETCURSEL, 0, 0L); - - break; - case WM_COMMAND: - switch(LOWORD(wParam)) { - - case IDC_COMBO1: - if (HIWORD(wParam) == CBN_CLOSEUP) { - i = (int)SendMessage(GetDlgItem(hWnd,IDC_COMBO1), CB_GETCURSEL, 0, 0L); - SendMessage(GetDlgItem(hWnd,IDC_COMBO1), CB_GETLBTEXT, i, (LPARAM)((LPCSTR)n)); - card_number = i; - } - return(TRUE); - case IDOK: - if ((card=Register_Card(PCI_9118DG, card_number)) < 0) { - wsprintf(s, "Register_Card Error = %d\n", card); - MessageBox(hWnd, s, "Error", MB_OK); - SendMessage(hWnd, WM_CLOSE, 0, 0L); - break; - } - EndDialog(hWnd, TRUE); - InvalidateRect(hWnd, NULL, FALSE); - return (TRUE); - case IDCANCEL: - EndDialog(hWnd, TRUE); - return (TRUE); - } - break; - } - return (FALSE); -} - -long PASCAL MainWndProc(hWnd, message, wParam, lParam) -HWND hWnd; -UINT message; -WPARAM wParam; -LPARAM lParam; -{ - HDC hDC; - PAINTSTRUCT ps; - int i, err; - int cur_channel; - char n[6]; - char buf[50]; - static int pos=0; - static int count,status; - LARGE_INTEGER freq, start_count, current_count; - double take_msec; - - switch(message) { - case WM_CREATE: - DialogBox(hInst,IDD_DIALOG2, hWnd, setup); - if(card<0) { - SendMessage(hWnd, WM_CLOSE, 0, 0L); - break; - } - hChanComboBox = CreateWindow("ComboBox", NULL, - CBS_DROPDOWNLIST | WS_CHILD | WS_VISIBLE | WS_VSCROLL, - input_pos[10].x, input_pos[15].y+18, 100, 160, hWnd, IDC_CHAN, hInst, NULL); - SendMessage(hChanComboBox, CB_ADDSTRING, NULL, (LONG)(LPSTR)"CH0"); - SendMessage(hChanComboBox, CB_ADDSTRING, NULL, (LONG)(LPSTR)"CH0 ~ CH1"); - SendMessage(hChanComboBox, CB_ADDSTRING, NULL, (LONG)(LPSTR)"CH0 ~ CH2"); - SendMessage(hChanComboBox, CB_ADDSTRING, NULL, (LONG)(LPSTR)"CH0 ~ CH3"); - SendMessage(hChanComboBox, CB_ADDSTRING, NULL, (LONG)(LPSTR)"CH0 ~ CH4"); - SendMessage(hChanComboBox, CB_ADDSTRING, NULL, (LONG)(LPSTR)"CH0 ~ CH5"); - SendMessage(hChanComboBox, CB_ADDSTRING, NULL, (LONG)(LPSTR)"CH0 ~ CH6"); - SendMessage(hChanComboBox, CB_ADDSTRING, NULL, (LONG)(LPSTR)"CH0 ~ CH7"); - SendMessage(hChanComboBox ,CB_SETCURSEL, 0, 0L); - hEdit=CreateWindow("EDIT", NULL, - WS_CHILD | WS_VISIBLE | ES_LEFT, - output_pos[13].x-30, input_pos[15].y+20,40, 20, hWnd, IDC_EDIT, hInst, NULL); - - wsprintf(n,"%d",sample_rate/1000); - SetWindowText(hEdit,n); - - CreateWindow("SCROLLBAR", NULL, - WS_CHILD | WS_VISIBLE | SBS_VERT, - output_pos[13].x+10, input_pos[15].y+20,20, 20, hWnd, IDC_SCROLL, hInst, NULL); - - CreateWindow("BUTTON","Start" , - WS_CHILD | WS_VISIBLE , - output_pos[10].x+140, input_pos[10].y+10,70, 30, hWnd, IDC_START, hInst, NULL); - - hData=CreateWindow("BUTTON","Data Value" , - WS_CHILD | WS_VISIBLE , - output_pos[10].x+230, input_pos[10].y+10,80, 30, hWnd, IDC_SHOW, hInst, NULL); - - hLTGreenBrush = CreateSolidBrush(RGB(0, 255, 0)); - hGreenBrush = CreateSolidBrush(RGB(0, 128, 0)); - hBlueBrush = CreateSolidBrush(RGB(0, 0, 255)); - hRedBrush = CreateSolidBrush(RGB(255, 0, 0)); - hYellowBrush= CreateSolidBrush(RGB(255,255,0)); - hBlackBrush= CreateSolidBrush(RGB(0,0,0)); - hLTBlueBrush= CreateSolidBrush(RGB(0,255,255)); - hLTRedBrush= CreateSolidBrush(RGB(255,128,0)); - hWhiteBrush= CreateSolidBrush(RGB(255,255,255)); - hRedPen= CreatePen(PS_SOLID,1,RGB(255,0,0)); - hYellowPen= CreatePen(PS_SOLID,1,RGB(255,255,0)); - hBluePen= CreatePen(PS_SOLID,1,RGB(0,0,255)); - hGreenPen= CreatePen(PS_SOLID,1,RGB(0,255,0)); - hLTBluePen= CreatePen(PS_SOLID,1,RGB(0,128,255)); - hLTRedPen= CreatePen(PS_SOLID,1,RGB(128,128,0)); - hLTGreenPen= CreatePen(PS_SOLID,1,RGB(0,128,0)); - hWhitePen= CreatePen(PS_SOLID,1,RGB(255,255,255)); - break; - - case WM_PAINT: - hDC = BeginPaint(hWnd, &ps); - - // Analog Input Box - SelectObject(hDC, GetStockObject(GRAY_BRUSH)); - Rectangle(hDC, output_pos[15].x-10, io_pos[15].y-24, output_pos[0].x+26, io_pos[0].y+195); - SetTextColor(hDC,RGB(255,255,0)); - SetBkColor(hDC, RGB(0, 0, 255)); - TextOut(hDC, io_pos[15].x, io_pos[15].y-35, " DMA Input(A/D) ", 20); - - SelectObject(hDC, hBlackBrush); - Rectangle(hDC, output_pos[15].x+35, io_pos[15].y-2, output_pos[4].x+41, io_pos[0].y+172); - - SelectObject(hDC,hYellowBrush ); - Rectangle(hDC,output_pos[4].x+68, io_pos[0].y-5+18,output_pos[4].x+80, io_pos[0].y+10+18); - - SelectObject(hDC, hGreenBrush); - Rectangle(hDC,output_pos[4].x+68, io_pos[0].y+13+18,output_pos[4].x+80, io_pos[0].y+28+18); - - SelectObject(hDC, hBlueBrush); - Rectangle(hDC,output_pos[4].x+68, io_pos[0].y+31+18,output_pos[4].x+80, io_pos[0].y+46+18); - - SelectObject(hDC, hRedBrush); - Rectangle(hDC,output_pos[4].x+68, io_pos[0].y+49+18,output_pos[4].x+80, io_pos[0].y+64+18); - - SelectObject(hDC, hLTBlueBrush); - Rectangle(hDC,output_pos[4].x+108, io_pos[0].y-5+18,output_pos[4].x+120, io_pos[0].y+10+18); - - SelectObject(hDC, hLTRedBrush); - Rectangle(hDC,output_pos[4].x+108, io_pos[0].y+13+18,output_pos[4].x+120, io_pos[0].y+28+18); - - SelectObject(hDC, hLTGreenBrush); - Rectangle(hDC,output_pos[4].x+108, io_pos[0].y+31+18,output_pos[4].x+120, io_pos[0].y+46+18); - - SelectObject(hDC, hWhiteBrush); - Rectangle(hDC,output_pos[4].x+108, io_pos[0].y+49+18,output_pos[4].x+120, io_pos[0].y+64+18); - - SetBkMode(hDC,TRANSPARENT); - TextOut(hDC,output_pos[13].x-60, input_pos[10].y,"Samping Rate",12); - TextOut(hDC,output_pos[13].x+30, input_pos[15 - ].y+20,"KHZ",3); - TextOut(hDC,output_pos[13].x+80, input_pos[10].y,"Channel",7); - TextOut(hDC,input_pos[2].x-10, io_pos[15].y+118,"Range: +-5V",11); - TextOut(hDC,input_pos[15].x, io_pos[15].y-19,"Volts",5); - TextOut(hDC,input_pos[15].x, io_pos[15].y-5,"5.00",4); - TextOut(hDC,input_pos[15].x, io_pos[15].y+36,"2.50",4); - TextOut(hDC,input_pos[15].x, io_pos[15].y+77,"0.00",4); - TextOut(hDC,input_pos[15].x-3, io_pos[15].y+118,"-2.50",5); - TextOut(hDC,input_pos[15].x-3, io_pos[15].y+159,"-5.00",5); - TextOut(hDC,input_pos[10].x+10, io_pos[10].y-19,"Signals",7); - - TextOut(hDC,output_pos[4].x+58, io_pos[0].y-5+18,"0",1); - TextOut(hDC,output_pos[4].x+58, io_pos[0].y+13+18,"1",1); - TextOut(hDC,output_pos[4].x+58, io_pos[0].y+31+18,"2",1); - TextOut(hDC,output_pos[4].x+58, io_pos[0].y+49+18,"3",1); - TextOut(hDC,output_pos[4].x+98, io_pos[0].y-5+18,"4",1); - TextOut(hDC,output_pos[4].x+98, io_pos[0].y+13+18,"5",1); - TextOut(hDC,output_pos[4].x+98, io_pos[0].y+31+18,"6",1); - TextOut(hDC,output_pos[4].x+98, io_pos[0].y+49+18,"7",1); - - EndPaint(hWnd, &ps); - break; - - // Sample Rate Spin Control - case WM_VSCROLL: - switch(LOWORD(wParam)){ - case SB_LINEUP : - sample_rate+=1000; - if (sample_rate > 100000 ) sample_rate=100000; - break; - case SB_LINEDOWN: - sample_rate-=1000; - if (sample_rate < 1000 ) sample_rate=1000; - break; - } - wsprintf(n,"%d",sample_rate/1000); - SetWindowText(hEdit,n); - break; - - case WM_COMMAND: - switch(LOWORD(wParam)) { - case IDM_EXIT: - SendMessage(hWnd, WM_CLOSE, 0, 0L); - break; - - case IDC_SHOW : - DialogBox(hInst, - "DMABox", - hWnd, - ShowDMA); - break; - - case IDC_CHAN: - if (HIWORD(wParam) == CBN_CLOSEUP) { - if ((i=(int)SendMessage(GetDlgItem(hWnd,IDC_CHAN),CB_GETCURSEL, 0, 0L))>=0 ) { - channel=i; - } - } - break; - - case IDC_START: - EnableWindow (hData, FALSE); - if (hMem != NULL) - { - GlobalUnfix(hMem); - GlobalUnlock(hMem); - GlobalFree(hMem); - } - // allocate a memory for user DMA buffer - mem_size=data_size*2; - hMem = GlobalAlloc(GMEM_ZEROINIT,mem_size); - ai_buf = GlobalLock(hMem); - if (ai_buf == NULL ) - { - MessageBox(hWnd,"INT", - "No Memory", MB_OK); - } - GlobalFix(hMem); - - AI_9118_Config(card,P9118_AI_BiPolar|P9118_AI_SingEnded,0,0,0); - QueryPerformanceFrequency(&freq); - QueryPerformanceCounter(&start_count); - err=AI_ContScanChannels (card, channel, range, ai_buf, data_size, (F32)sample_rate, SYNCH_OP); - QueryPerformanceCounter(¤t_count); - take_msec =((double)(current_count.QuadPart-start_count.QuadPart))/freq.QuadPart*1000; - sprintf(buf, "The time taken for DMA operation is: %4.3f msec",take_msec); - MessageBox(hWnd,buf,"DMA time",MB_OK); - EnableWindow (hData, TRUE); - for (i=0;i<8;i++) oldinput[i]=-1; - hDC = GetDC(hWnd); - SelectObject(hDC, hBlackBrush); - Rectangle(hDC,output_pos[15].x+35,io_pos[0].y-3,output_pos[15].x+370,io_pos[0].y+175); - for (i=0;i> 4; - adinput=io_pos[0].y+173-(175*(long)adinput)/4095; - if (oldinput[cur_channel]!=-1) - MoveToEx(hDC,(i*334)/data_size+output_pos[15].x+35,oldinput[cur_channel],NULL); - else - MoveToEx(hDC,(i*334)/data_size+output_pos[15].x+35,adinput,NULL); - LineTo(hDC,(i*334)/data_size+output_pos[15].x+36,adinput); - oldinput[cur_channel]=adinput; - } // for - ReleaseDC(hWnd, hDC); - break; - - default: - return(DefWindowProc(hWnd, message, wParam, lParam)); - } - break; - - case WM_DESTROY: - if (card >= 0) Release_Card (card); - DeleteObject(hRedBrush); - DeleteObject(hGreenBrush); - DeleteObject(hLTGreenBrush); - DeleteObject(hYellowBrush); - DeleteObject(hBlueBrush) ; - DeleteObject(hBlackBrush); - DeleteObject(hRedPen); - DeleteObject(hYellowPen); - DeleteObject(hBluePen); - DeleteObject(hGreenPen); - DeleteObject(hLTBluePen); - DeleteObject(hLTRedPen); - DeleteObject(hLTGreenPen); - DeleteObject(hWhitePen); - GlobalUnfix(hMem); - GlobalUnlock(hMem); - GlobalFree(hMem); - PostQuitMessage(0); - break; - - default: - return(DefWindowProc(hWnd, message, wParam, lParam)); - } - return(NULL); -} - -BOOL PASCAL ShowDMA(hDlg, message, wParam, lParam) -HWND hDlg; -UINT message; -WPARAM wParam; -LPARAM lParam; -{ - int nTabs[2] = {32, 92}; - long i; - char cBuf[ ] = "\t131072 \tFF"; - char string[10]=" "; - char data_str[3]=" "; - U16 *pp; - switch (message) - { - case WM_INITDIALOG: - hListBox = CreateWindow("LISTBOX", "Memory Count Data",\ - WS_CHILD | WS_VISIBLE | LBS_HASSTRINGS\ - | LBS_STANDARD | LBS_USETABSTOPS |WS_CAPTION,\ - 50, 40, 240, 180, hDlg, 100, hInst, NULL); - - SendMessage(hListBox, LB_RESETCONTENT, 0, 0L); - SendMessage(hListBox, LB_SETTABSTOPS, 2, (DWORD)\ - (LPINT) nTabs); - pp=(U16 *) ai_buf; - for(i=0; i -# Microsoft Developer Studio Generated Build File, Format Version 5.00 -# ** DO NOT EDIT ** - -# TARGTYPE "Win32 (x86) Application" 0x0101 - -CFG=9118ATrg - Win32 Release -!MESSAGE This is not a valid makefile. To build this project using NMAKE, -!MESSAGE use the Export Makefile command and run -!MESSAGE -!MESSAGE NMAKE /f "9118ATrg.mak". -!MESSAGE -!MESSAGE You can specify a configuration when running NMAKE -!MESSAGE by defining the macro CFG on the command line. For example: -!MESSAGE -!MESSAGE NMAKE /f "9118ATrg.mak" CFG="9118ATrg - Win32 Release" -!MESSAGE -!MESSAGE Possible choices for configuration are: -!MESSAGE -!MESSAGE "9118ATrg - Win32 Release" (based on "Win32 (x86) Application") -!MESSAGE "9118ATrg - Win32 Debug" (based on "Win32 (x86) Application") -!MESSAGE - -# Begin Project -# PROP Scc_ProjName "" -# PROP Scc_LocalPath "" -CPP=cl.exe -MTL=midl.exe -RSC=rc.exe - -!IF "$(CFG)" == "9118ATrg - Win32 Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir ".\Release" -# PROP BASE Intermediate_Dir ".\Release" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "" -# PROP Intermediate_Dir ".\Release" -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /YX /c -# ADD CPP /nologo /MT /W3 /GX /Od /I "..\..\..\include" /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /FD /c -# SUBTRACT CPP /YX -# ADD BASE MTL /nologo /D "NDEBUG" /win32 -# ADD MTL /nologo /D "NDEBUG" /mktyplib203 /win32 -# ADD BASE RSC /l 0x409 /d "NDEBUG" -# ADD RSC /l 0x409 /d "NDEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:windows /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ..\..\..\lib\pci-dask.lib /nologo /subsystem:windows /machine:I386 - -!ELSEIF "$(CFG)" == "9118ATrg - Win32 Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir ".\Debug" -# PROP BASE Intermediate_Dir ".\Debug" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir ".\Debug" -# PROP Intermediate_Dir ".\Debug" -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /Gm /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /YX /c -# ADD CPP /nologo /MTd /W3 /Gm /GX /Zi /Od /I "..\..\..\include" /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /FD /c -# SUBTRACT CPP /YX -# ADD BASE MTL /nologo /D "_DEBUG" /win32 -# ADD MTL /nologo /D "_DEBUG" /mktyplib203 /win32 -# ADD BASE RSC /l 0x409 /d "_DEBUG" -# ADD RSC /l 0x409 /d "_DEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:windows /debug /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ..\..\..\lib\pci-dask.lib /nologo /subsystem:windows /debug /machine:I386 - -!ENDIF - -# Begin Target - -# Name "9118ATrg - Win32 Release" -# Name "9118ATrg - Win32 Debug" -# Begin Group "Source Files" - -# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;hpj;bat;for;f90" -# Begin Source File - -SOURCE=.\9118Atrg.c -# End Source File -# Begin Source File - -SOURCE=.\9118ATrg.rc -# End Source File -# End Group -# Begin Group "Header Files" - -# PROP Default_Filter "h;hpp;hxx;hm;inl;fi;fd" -# End Group -# Begin Group "Resource Files" - -# PROP Default_Filter "ico;cur;bmp;dlg;rc2;rct;bin;cnt;rtf;gif;jpg;jpeg;jpe" -# End Group -# End Target -# End Project diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9118/Sdk9118DbfCallBack/9118ATrg.dsw b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9118/Sdk9118DbfCallBack/9118ATrg.dsw deleted file mode 100644 index 111f2d6..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9118/Sdk9118DbfCallBack/9118ATrg.dsw +++ /dev/null @@ -1,29 +0,0 @@ -Microsoft Developer Studio Workspace File, Format Version 5.00 -# WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE! - -############################################################################### - -Project: "9118ATrg"=.\9118ATrg.dsp - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ -}}} - -############################################################################### - -Global: - -Package=<5> -{{{ -}}} - -Package=<3> -{{{ -}}} - -############################################################################### - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9118/Sdk9118DbfCallBack/9118ATrg.exe b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9118/Sdk9118DbfCallBack/9118ATrg.exe deleted file mode 100644 index 805af22..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9118/Sdk9118DbfCallBack/9118ATrg.exe and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9118/Sdk9118DbfCallBack/9118ATrg.rc b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9118/Sdk9118DbfCallBack/9118ATrg.rc deleted file mode 100644 index 55418e8..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9118/Sdk9118DbfCallBack/9118ATrg.rc +++ /dev/null @@ -1,128 +0,0 @@ -//Microsoft Developer Studio generated resource script. -// -#include "resource.h" - -#define APSTUDIO_READONLY_SYMBOLS -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 2 resource. -// -#define APSTUDIO_HIDDEN_SYMBOLS -#include "windows.h" -#undef APSTUDIO_HIDDEN_SYMBOLS - -///////////////////////////////////////////////////////////////////////////// -#undef APSTUDIO_READONLY_SYMBOLS - -///////////////////////////////////////////////////////////////////////////// -// English (U.S.) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -#ifdef _WIN32 -LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US -#pragma code_page(1252) -#endif //_WIN32 - -///////////////////////////////////////////////////////////////////////////// -// -// Menu -// - -U7120MENU MENU DISCARDABLE -BEGIN - MENUITEM "E&xit!", IDM_EXIT -END - - -#ifdef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// TEXTINCLUDE -// - -1 TEXTINCLUDE DISCARDABLE -BEGIN - "resource.h\0" -END - -2 TEXTINCLUDE DISCARDABLE -BEGIN - "#define APSTUDIO_HIDDEN_SYMBOLS\r\n" - "#include ""windows.h""\r\n" - "#undef APSTUDIO_HIDDEN_SYMBOLS\r\n" - "\0" -END - -3 TEXTINCLUDE DISCARDABLE -BEGIN - "\r\n" - "\0" -END - -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog -// - -DMABOX DIALOG DISCARDABLE 18, 10, 171, 169 -STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "Data Value (half of circular buffer)" -FONT 8, "System" -BEGIN - PUSHBUTTON "STOP",ID_STOP,82,147,24,14 - LTEXT "Data Transferred :",-1,39,119,64,8 - LTEXT "Text",DMA_SPACE,103,118,41,8 - LTEXT "Text",DMA_DESCP,16,6,158,8 -END - -IDD_DIALOG2 DIALOG DISCARDABLE 110, 10, 110, 81 -STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "Card Number" -FONT 10, "System" -BEGIN - DEFPUSHBUTTON "OK",IDOK,9,60,39,14 - PUSHBUTTON "Cancel",IDCANCEL,58,60,38,14 - COMBOBOX IDC_COMBO1,58,23,45,45,CBS_DROPDOWN | WS_VSCROLL | - WS_TABSTOP - LTEXT "Card Number",IDC_STATIC,10,23,46,13 - LTEXT "Select a card number :",IDC_STATIC,9,5,81,11 - CONTROL "About Trigger Enabled",IDC_CHECK1,"Button", - BS_AUTOCHECKBOX | WS_TABSTOP,10,42,93,13 -END - - -///////////////////////////////////////////////////////////////////////////// -// -// DESIGNINFO -// - -#ifdef APSTUDIO_INVOKED -GUIDELINES DESIGNINFO DISCARDABLE -BEGIN - IDD_DIALOG2, DIALOG - BEGIN - LEFTMARGIN, 3 - RIGHTMARGIN, 103 - BOTTOMMARGIN, 74 - END -END -#endif // APSTUDIO_INVOKED - -#endif // English (U.S.) resources -///////////////////////////////////////////////////////////////////////////// - - - -#ifndef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 3 resource. -// - - -///////////////////////////////////////////////////////////////////////////// -#endif // not APSTUDIO_INVOKED - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9118/Sdk9118DbfCallBack/9118Atrg.c b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9118/Sdk9118DbfCallBack/9118Atrg.c deleted file mode 100644 index 4fc0c1a..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9118/Sdk9118DbfCallBack/9118Atrg.c +++ /dev/null @@ -1,573 +0,0 @@ -#include "windows.h" -#include -#include -#include -#include -#include -#include "resource.h" -#include "Dask.h" - -#define IDM_EXIT 110 -#define IDC_SCROLL 207 -#define IDC_SPIN 301 -#define IDC_START 208 -#define IDC_STOP 209 -#define IDC_EDIT 211 -#define IDC_EDIT1 214 -#define IDC_EDIT2 215 -#define IDC_SHOW 213 -#define IDC_CH 400 - -int PASCAL WinMain(HANDLE, HANDLE, LPSTR, int); -long PASCAL MainWndProc(HWND, UINT, WPARAM, LPARAM); -BOOL PASCAL ShowDMA(HWND, UINT, WPARAM, LPARAM); - - -HANDLE hInst; -HWND hListBox; -HWND hEdit,hEdit1, hEdit2, hStart, hStop; -BOOL bCheck[8]; - -HBRUSH hBlackBrush; -HPEN hRedPen, hBlackPen; -HWND hMainWnd; - -unsigned int sample_rate=10000; -U16 channel; -BOOLEAN fstop, HalfReady; -U32 data_size=1024, mem_size; -static HANDLE hMem=NULL; -U16 *ai_buf; -I16 card=-1, card_number = 0; -U32 count, postCount = 1024; -BOOLEAN clear_op; -//HANDLE hThread1; -U16 midcheck =0; - -POINT input_pos[16]= {{470, 280}, {440, 280}, - {410, 280}, {380, 280}, - {350, 280}, {320, 280}, - { 290, 280}, {260, 280}, - {230, 280}, {200, 280}, - {170, 280}, {140, 280}, - {110, 280}, {80, 280}, - { 50, 280}, { 20, 280}, - }; -POINT output_pos[16] ={ - {470, 340}, {440, 340}, - {410, 340}, {380, 340}, - {350, 340}, {320, 340}, - { 290, 340}, {260, 340}, - {230, 340}, {200, 340}, - {170, 340}, {140, 340}, - {110, 340}, {80, 340}, - { 50, 340}, { 20, 340}, - }; - -POINT io_pos[16] ={ - {395, 40}, {370, 40}, - {345, 40}, {320, 40}, - {295, 40}, {270, 40}, - { 245, 40}, {220, 40}, - {195, 40}, {170, 40}, - {145, 40}, {120, 40}, - {95, 40}, {70, 40}, - { 45, 40}, { 20, 40}, - }; - -BOOL InitApplication(HANDLE); -BOOL InitInstance(HANDLE, int); -//void ProcessThread(void* pArg); -void AI_DBCallBack(); -void AI_CallBack(); - -int PASCAL WinMain(hInstance, hPrevInstance, lpCmdLine, nCmdShow) -HANDLE hInstance, hPrevInstance; -LPSTR lpCmdLine; -int nCmdShow; -{ - MSG msg; - - if (!hPrevInstance) - if (!InitApplication(hInstance)) return(FALSE); - if (!InitInstance(hInstance, nCmdShow)) return(FALSE); - while (GetMessage(&msg, NULL, NULL, NULL)) { - TranslateMessage(&msg); - DispatchMessage(&msg); - } - return(msg.wParam); -} - -BOOL InitApplication(hInstance) -HANDLE hInstance; -{ - WNDCLASS wc; - - /* Main Window Class */ - wc.style = NULL; - wc.lpfnWndProc = (WNDPROC)MainWndProc; - wc.cbClsExtra = 0; - wc.cbWndExtra = 0; - wc.hInstance = hInstance; - wc.hIcon = LoadIcon(hInstance, "MyIcon"); - wc.hCursor = LoadCursor(NULL, IDC_ARROW); - wc.hbrBackground = GetStockObject(LTGRAY_BRUSH); - wc.lpszMenuName = NULL; - wc.lpszClassName = "GenericWClass"; - if (!RegisterClass(&wc)) return(FALSE); -} - - -BOOL InitInstance(hInstance, nCmdShow) -HANDLE hInstance; -int nCmdShow; -{ - HWND hWnd; - HMENU hSampleMenu; - - hInst = hInstance; - hSampleMenu = LoadMenu(hInstance, "U7120Menu"); - hWnd = CreateWindow("GenericWClass", - (LPCSTR)"PCI-9118 Double Buffered DMA with About Trigger Mode", - WS_OVERLAPPEDWINDOW, - CW_USEDEFAULT, - CW_USEDEFAULT, - 520, - 400, - NULL, - hSampleMenu, - hInstance, - NULL); - if (!hWnd) return(FALSE); - ShowWindow(hWnd, nCmdShow); - UpdateWindow(hWnd); - return(TRUE); -} - -BOOL PASCAL setup(HWND hWnd, unsigned message, WPARAM wParam, LPARAM lParam) -{ - int i; - char n[16]; - char s[50]; - switch (message) { - case WM_INITDIALOG: - for (i=0;i<16;i++) { - sprintf(n, "%d", i); - _strupr(n); - SendMessage(GetDlgItem(hWnd,IDC_COMBO1), CB_ADDSTRING, NULL, (LONG)(LPSTR) n); - } - SendMessage(GetDlgItem(hWnd,IDC_COMBO1) , CB_SETCURSEL, 0, 0L); - - break; - case WM_COMMAND: - switch(LOWORD(wParam)) { - - case IDC_COMBO1: - if (HIWORD(wParam) == CBN_CLOSEUP) { - i = (int)SendMessage(GetDlgItem(hWnd,IDC_COMBO1), CB_GETCURSEL, 0, 0L); - SendMessage(GetDlgItem(hWnd,IDC_COMBO1), CB_GETLBTEXT, i, (LPARAM)((LPCSTR)n)); - card_number = i; - } - return(TRUE); - case IDC_CHECK1: - if (midcheck) { - SendMessage(GetDlgItem(hWnd,wParam), BM_SETCHECK, 0, 0); - midcheck=FALSE; - } - else { - SendMessage(GetDlgItem(hWnd,wParam), BM_SETCHECK, 1, 0); - midcheck=TRUE; - } - break; - case IDOK: - if(card <0) { - if ((card=Register_Card(PCI_9118DG, card_number)) < 0) { - wsprintf(s, "Register_Card Error = %d\n", card); - MessageBox(hWnd, s, "Error", MB_OK); - SendMessage(hWnd, WM_CLOSE, 0, 0L); - break; - } - } - EndDialog(hWnd, TRUE); - InvalidateRect(hWnd, NULL, FALSE); - return (TRUE); - case IDCANCEL: - EndDialog(hWnd, TRUE); - return (TRUE); - } - break; - } - return (FALSE); -} - -long PASCAL MainWndProc(hWnd, message, wParam, lParam) -HWND hWnd; -UINT message; -WPARAM wParam; -LPARAM lParam; -{ - HDC hDC; - PAINTSTRUCT ps; - int i; - char n[6]; - static int pos=0; - I16 err; - char s[50]; - - switch(message) { - case WM_CREATE: - - DialogBox(hInst,IDD_DIALOG2, hWnd, setup); - if(card<0) { - SendMessage(hWnd, WM_CLOSE, 0, 0L); - break; - } - hEdit=CreateWindow("EDIT", NULL, - WS_CHILD | WS_VISIBLE | ES_LEFT, - output_pos[13].x-30, input_pos[15].y+20,40, 20, hWnd, IDC_EDIT, hInst, NULL); - - hEdit1=CreateWindow("EDIT", NULL, - WS_CHILD | WS_VISIBLE | ES_LEFT, - output_pos[13].x+90, input_pos[15].y+20,60, 20, hWnd, IDC_EDIT1, hInst, NULL); - if(midcheck) { - hEdit2=CreateWindow("EDIT", NULL, - WS_CHILD | WS_VISIBLE | ES_LEFT, - output_pos[13].x+90, input_pos[15].y-20,60, 20, hWnd, IDC_EDIT2, hInst, NULL); - } - - wsprintf(n,"%d",sample_rate/1000); - SetWindowText(hEdit,n); - - wsprintf(n,"%d",data_size); - SetWindowText(hEdit1,n); - - if(midcheck) { - wsprintf(n,"%d",postCount); - SetWindowText(hEdit2,n); - } - - CreateWindow("SCROLLBAR", NULL, - WS_CHILD | WS_VISIBLE | SBS_VERT, - output_pos[13].x+10, input_pos[15].y+20,20, 20, hWnd, IDC_SCROLL, hInst, NULL); - - hStart = CreateWindow("BUTTON","Start" , - WS_CHILD | WS_VISIBLE , - output_pos[10].x+110, input_pos[10].y+10,50, 30, hWnd, IDC_START, hInst, NULL); - - hStop = CreateWindow("BUTTON","Stop" , - WS_CHILD | WS_VISIBLE , - output_pos[10].x+170, input_pos[10].y+10,50, 30, hWnd, IDC_STOP, hInst, NULL); - - CreateWindow("BUTTON","Data Value" , - WS_CHILD | WS_VISIBLE , - output_pos[10].x+230, input_pos[10].y+10,80, 30, hWnd, IDC_SHOW, hInst, NULL); - EnableWindow(hStop, FALSE); - - CreateWindow("BUTTON","0" , - WS_CHILD | WS_VISIBLE | BS_AUTORADIOBUTTON | BS_LEFTTEXT | WS_GROUP , - output_pos[4].x+50, io_pos[0].y-5+20,25,15, hWnd,IDC_CH, hInst, NULL); - - CreateWindow("BUTTON","1" , - WS_CHILD | WS_VISIBLE | BS_AUTORADIOBUTTON | BS_LEFTTEXT | WS_GROUP, - output_pos[4].x+50, io_pos[0].y+13+20,25,15, hWnd,IDC_CH+1, hInst, NULL); - - CreateWindow("BUTTON","2" , - WS_CHILD | WS_VISIBLE | BS_AUTORADIOBUTTON | BS_LEFTTEXT | WS_GROUP, - output_pos[4].x+50, io_pos[0].y+31+20,25,15, hWnd,IDC_CH+2, hInst, NULL); - - CreateWindow("BUTTON","3" , - WS_CHILD | WS_VISIBLE | BS_AUTORADIOBUTTON | BS_LEFTTEXT | WS_GROUP, - output_pos[4].x+50, io_pos[0].y+49+20,25,15, hWnd,IDC_CH+3, hInst, NULL); - - CreateWindow("BUTTON","4" , - WS_CHILD | WS_VISIBLE | BS_AUTORADIOBUTTON | BS_LEFTTEXT | WS_GROUP, - output_pos[4].x+100, io_pos[0].y-5+20,25,15, hWnd,IDC_CH+4, hInst, NULL); - - CreateWindow("BUTTON","5" , - WS_CHILD | WS_VISIBLE | BS_AUTORADIOBUTTON | BS_LEFTTEXT | WS_GROUP, - output_pos[4].x+100, io_pos[0].y+13+20,25,15, hWnd, IDC_CH+5, hInst, NULL); - - CreateWindow("BUTTON","6" , - WS_CHILD | WS_VISIBLE | BS_AUTORADIOBUTTON | BS_LEFTTEXT | WS_GROUP, - output_pos[4].x+100, io_pos[0].y+31+20,25,15, hWnd,IDC_CH+6, hInst, NULL); - - CreateWindow("BUTTON","7" , - WS_CHILD | WS_VISIBLE | BS_AUTORADIOBUTTON | BS_LEFTTEXT | WS_GROUP, - output_pos[4].x+100, io_pos[0].y+49+20,25,15, hWnd, IDC_CH+7, hInst, NULL); - - //default channel 0 - for (i=1;i<8;i++) bCheck[i]=FALSE; - bCheck[0] = TRUE; - channel = 0; - SendMessage(GetDlgItem(hWnd,IDC_CH), BM_SETCHECK, 1, 0); - - hBlackBrush= CreateSolidBrush(RGB(0,0,0)); - hRedPen= CreatePen(PS_SOLID,1,RGB(255,0,0)); - hBlackPen= CreatePen(PS_SOLID,1,RGB(0,0,0)); - break; - - case WM_PAINT: - hDC = BeginPaint(hWnd, &ps); - - // DMA analog input box - SelectObject(hDC, GetStockObject(GRAY_BRUSH)); - Rectangle(hDC, output_pos[15].x-10, io_pos[15].y-24, output_pos[0].x+26, io_pos[0].y+195); - SetTextColor(hDC,RGB(255,255,0)); - SetBkColor(hDC, RGB(0, 0, 255)); - TextOut(hDC, io_pos[15].x, io_pos[15].y-35, "DMA Input", 9); - SelectObject(hDC, hBlackBrush); - Rectangle(hDC, output_pos[15].x+35, io_pos[15].y-2, output_pos[4].x+41, io_pos[0].y+172); - - SetBkMode(hDC,TRANSPARENT); - if(midcheck) - TextOut(hDC,output_pos[13].x+70, input_pos[10].y-40,"PostCount",9); - TextOut(hDC,output_pos[13].x-60, input_pos[10].y,"Samping Rate",12); - TextOut(hDC,output_pos[13].x+30, input_pos[15].y+20,"KHZ",3); - TextOut(hDC,output_pos[13].x+70, input_pos[10].y,"Buffer Size",11); - TextOut(hDC,input_pos[2].x-10, io_pos[15].y+118,"Range: +-5V",11); - TextOut(hDC,input_pos[15].x, io_pos[15].y-19,"Volt",4); - TextOut(hDC,input_pos[15].x, io_pos[15].y-5,"5.00",4); - TextOut(hDC,input_pos[15].x, io_pos[15].y+36,"2.50",4); - TextOut(hDC,input_pos[15].x, io_pos[15].y+77,"0.00",4); - TextOut(hDC,input_pos[15].x-3, io_pos[15].y+118,"-2.50",5); - TextOut(hDC,input_pos[15].x-3, io_pos[15].y+159,"-5.00",5); - TextOut(hDC,input_pos[10].x+10, io_pos[10].y-19,"Signals",7); - TextOut(hDC,output_pos[4].x+60, io_pos[0].y-15,"Channel",7); - EndPaint(hWnd, &ps); - break; - - // Sample Rate Spin Control - case WM_VSCROLL: - switch (LOWORD(wParam)) { - case SB_LINEUP : - sample_rate+=5000; - if (sample_rate > 50000 ) sample_rate=50000; - break; - case SB_LINEDOWN: - sample_rate-=5000; - if (sample_rate < 5000 ) sample_rate=5000; - break; - } - wsprintf(n,"%d",sample_rate/1000); - SetWindowText(hEdit,n); - break; - case WM_COMMAND: - switch(LOWORD(wParam)) { - case IDM_EXIT: - SendMessage(hWnd, WM_CLOSE, 0, 0L); - break; - case IDC_CH: - case IDC_CH+1: - case IDC_CH+2: - case IDC_CH+3: - case IDC_CH+4: - case IDC_CH+5: - case IDC_CH+6: - case IDC_CH+7: - if (!bCheck[wParam-IDC_CH]) { - SendMessage(GetDlgItem(hWnd,wParam), BM_SETCHECK, 1, 0); - SendMessage(GetDlgItem(hWnd,IDC_CH+channel), BM_SETCHECK, 0, 0); - bCheck[channel]=FALSE; - } - channel=wParam-IDC_CH; - bCheck[channel]=TRUE; - break; - case IDC_SHOW : - DialogBox(hInst, "DMABox", hWnd, ShowDMA); - break; - case IDC_START: - if (hMem != NULL) { - GlobalUnfix(hMem); - GlobalUnlock(hMem); - GlobalFree(hMem); - } - // allocate a memory for DMA - postCount = GetDlgItemInt(hWnd,IDC_EDIT2,NULL ,FALSE); - data_size=GetDlgItemInt(hWnd,IDC_EDIT1,NULL ,FALSE); - mem_size=data_size * 2; - hMem = GlobalAlloc(GMEM_FIXED | GMEM_ZEROINIT,mem_size); - - ai_buf = (U16 *)GlobalLock(hMem); - if (ai_buf == NULL ) { - MessageBox(hWnd,"DMA", "No Memory", MB_OK); - SendMessage(hWnd, WM_CLOSE, 0, 0L); - break; - } - GlobalFix(hMem); - fstop =0; - if(midcheck) { - if ((err=AI_9118_Config(card,P9118_AI_BiPolar|P9118_AI_SingEnded,P9118_AI_DtrgPositive|P9118_AI_EtrgPositive|P9118_AI_AboutTrgEn,0,postCount))!= NoError) { - wsprintf(s, "AI_Config Error = %d\n", err); - MessageBox(hWnd, s, "Error", MB_OK); - SendMessage(hWnd, WM_CLOSE, 0, 0L); - break; - } - } else { - if ((err=AI_9118_Config(card,P9118_AI_BiPolar|P9118_AI_SingEnded, 0, 0, postCount))!= NoError) { - wsprintf(s, "AI_Config Error = %d\n", err); - MessageBox(hWnd, s, "Error", MB_OK); - SendMessage(hWnd, WM_CLOSE, 0, 0L); - break; - } - } - if ((err=AI_AsyncDblBufferMode (card, 1)) != NoError) { - wsprintf(s, "AI_AsyncDblBufferMode Error = %d\n", err); - MessageBox(hWnd, s, "Error", MB_OK); - SendMessage(hWnd, WM_CLOSE, 0, 0L); - break; - } - if((err= AI_EventCallBack (card, 1, DBEvent, (U32) AI_DBCallBack)) != NoError) { - wsprintf(s, "AI_EventCallBack Error = %d\n", err); - MessageBox(hWnd, s, "Error", MB_OK); - SendMessage(hWnd, WM_CLOSE, 0, 0L); - break; - } - if((err= AI_EventCallBack (card, 1, AIEnd, (U32) AI_CallBack)) != NoError) { - wsprintf(s, "AI_EventCallBack Error = %d\n", err); - MessageBox(hWnd, s, "Error", MB_OK); - SendMessage(hWnd, WM_CLOSE, 0, 0L); - break; - } - if ((err=AI_ContReadChannel(card, channel, AD_B_5_V, ai_buf, data_size, (F64)sample_rate, ASYNCH_OP)) != NoError) { - wsprintf(s, "AI_ContReadPort Error = %d\n", err); - MessageBox(hWnd, s, "Error", MB_OK); - SendMessage(hWnd, WM_CLOSE, 0, 0L); - break; - } - EnableWindow(hStart, FALSE); - EnableWindow(hStop, TRUE); - hMainWnd = hWnd; - clear_op = FALSE; - //hThread1 = (HANDLE)_beginthread(ProcessThread, 0, 0); - - MessageBeep(0); - break; - case IDC_STOP: - clear_op = TRUE; - AI_AsyncClear(card, &count); - EnableWindow(hStart, TRUE); - EnableWindow(hStop, FALSE); - break; - default: - return(DefWindowProc(hWnd, message, wParam, lParam)); - } - break; - case WM_DESTROY: - if (card >= 0) Release_Card(card); - DeleteObject(hBlackBrush); - DeleteObject(hRedPen); - GlobalUnfix(hMem); - GlobalUnlock(hMem); - GlobalFree(hMem); - PostQuitMessage(0); - break; - default: - return(DefWindowProc(hWnd, message, wParam, lParam)); - } - return(NULL); -} - -BOOL PASCAL ShowDMA(hDlg, message, wParam, lParam) -HWND hDlg; -UINT message; -WPARAM wParam; -LPARAM lParam; -{ - int nTabs[2] = {32, 92}; - int i; - char cBuf[100]; - char string[10]=" "; - char data_str[3]=" "; - U16 *pp; - switch (message) { - case WM_INITDIALOG: - hListBox = CreateWindow("LISTBOX", "Index Data (Hex)", - WS_CHILD | WS_VISIBLE | LBS_HASSTRINGS | LBS_STANDARD | LBS_USETABSTOPS |WS_CAPTION, - 50, 40, 240, 180, hDlg, 100, hInst, NULL); - SendMessage(hListBox, LB_RESETCONTENT, 0, 0L); - SendMessage(hListBox, LB_SETTABSTOPS, 2, (DWORD)(LPINT) nTabs); - SetDlgItemText(hDlg, DMA_DESCP, "This ListBox can show at most 4000 data"); - itoa( data_size, string, 10); - SetDlgItemText(hDlg, DMA_SPACE, string); - - pp = (U16 *)ai_buf; - if (count > 4000) count = 4000; - for(i=0;i>4; - newy = io_pos[0].y+171-(172*(U32)adinput)/4095; - newx = i*336/tfer_size+output_pos[15].x+35; - if (i==0) - MoveToEx(hDC, newx, newy, NULL); - else - MoveToEx(hDC, oldx, oldy, NULL); - LineTo(hDC, newx, newy); - oldx = newx; - oldy = newy; - } - ReleaseDC(hMainWnd, hDC); -} - -void AI_CallBack() -{ - HDC hDC; - U16 adinput; - U32 i, oldx, oldy, newx, newy; - U32 tfer_size; - - hDC = GetDC(hMainWnd); - tfer_size = data_size/2; //Every time transfer half size of buffer - if(!clear_op) - AI_AsyncClear(card, &count); - AI_AsyncDblBufferTransfer(card, ai_buf); - EnableWindow(hStart, TRUE); - EnableWindow(hStop, FALSE); - if (!count) count = tfer_size; - SelectObject(hDC, hBlackBrush); - SelectObject(hDC, hBlackPen); - Rectangle(hDC, output_pos[15].x+35, io_pos[15].y-2, output_pos[4].x+41, io_pos[0].y+172); - SelectObject(hDC, hRedPen); - for (i=0; i>4; - newy = io_pos[0].y+171-(172*(U32)adinput)/4095; - newx = i*336/tfer_size+output_pos[15].x+35; - if (i==0) - MoveToEx(hDC, newx, newy, NULL); - else - MoveToEx(hDC, oldx, oldy, NULL); - LineTo(hDC, newx, newy); - oldx = newx; - oldy = newy; - } - ReleaseDC(hMainWnd, hDC); -} \ No newline at end of file diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9118/Sdk9118DbfCallBack/resource.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9118/Sdk9118DbfCallBack/resource.h deleted file mode 100644 index 193b891..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9118/Sdk9118DbfCallBack/resource.h +++ /dev/null @@ -1,26 +0,0 @@ -//{{NO_DEPENDENCIES}} -// Microsoft Developer Studio generated include file. -// Used by 9118ATrg.rc -// -#define IDM_SETUP 101 -#define IDD_DIALOG1 101 -#define IDD_DIALOG2 104 -#define IDM_EXIT 110 -#define ID_CARDNUMBER 122 -#define ID_STOP 304 -#define DMA_SPACE 500 -#define DMA_DESCP 600 -#define IDC_COMBO1 1001 -#define IDC_CHECK1 1003 -#define IDC_STATIC -1 - -// Next default values for new objects -// -#ifdef APSTUDIO_INVOKED -#ifndef APSTUDIO_READONLY_SYMBOLS -#define _APS_NEXT_RESOURCE_VALUE 105 -#define _APS_NEXT_COMMAND_VALUE 123 -#define _APS_NEXT_CONTROL_VALUE 1002 -#define _APS_NEXT_SYMED_VALUE 101 -#endif -#endif diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9118/Sdk9118DmaCallBack/9118SATg.c b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9118/Sdk9118DmaCallBack/9118SATg.c deleted file mode 100644 index b3122fb..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9118/Sdk9118DmaCallBack/9118SATg.c +++ /dev/null @@ -1,531 +0,0 @@ -#include "windows.h" -#include -#include -#include -#include -#include -#include "resource.h" -#include "Dask.h" - -#define IDM_EXIT 110 -#define IDC_SCROLL 207 -#define IDC_SPIN 301 -#define IDC_START 208 -#define IDC_STOP 209 -#define IDC_EDIT 211 -#define IDC_EDIT1 214 -#define IDC_EDIT2 215 -#define IDC_SHOW 213 -#define IDC_CH 400 - -int PASCAL WinMain(HANDLE, HANDLE, LPSTR, int); -long PASCAL MainWndProc(HWND, UINT, WPARAM, LPARAM); -BOOL PASCAL ShowDMA(HWND, UINT, WPARAM, LPARAM); - -HANDLE hInst; -HWND hListBox; -HWND hEdit,hEdit1,hEdit2, hStart, hStop; -BOOL bCheck[8]; -U16 midcheck =0; - -HBRUSH hBlackBrush; -HPEN hRedPen, hBlackPen; -HWND hMainWnd; - -unsigned int sample_rate=10000; -U16 channel; -BOOLEAN fstop; -U32 data_size=1000, mem_size; -static HANDLE hMem=NULL; -U16 *ai_buf; -I16 card=-1, card_number = 0; -U32 count, postCount=512; -HANDLE hThread1, hThread2; -BOOLEAN clear_op; -void AI_CallBack(); - -POINT input_pos[16]= {{470, 280}, {440, 280}, - {410, 280}, {380, 280}, - {350, 280}, {320, 280}, - { 290, 280}, {260, 280}, - {230, 280}, {200, 280}, - {170, 280}, {140, 280}, - {110, 280}, {80, 280}, - { 50, 280}, { 20, 280}, - }; -POINT output_pos[16] ={ - {470, 340}, {440, 340}, - {410, 340}, {380, 340}, - {350, 340}, {320, 340}, - { 290, 340}, {260, 340}, - {230, 340}, {200, 340}, - {170, 340}, {140, 340}, - {110, 340}, {80, 340}, - { 50, 340}, { 20, 340}, - }; - -POINT io_pos[16] ={ - {395, 40}, {370, 40}, - {345, 40}, {320, 40}, - {295, 40}, {270, 40}, - { 245, 40}, {220, 40}, - {195, 40}, {170, 40}, - {145, 40}, {120, 40}, - {95, 40}, {70, 40}, - { 45, 40}, { 20, 40}, - }; - -BOOL InitApplication(HANDLE); -BOOL InitInstance(HANDLE, int); -void ProcessThread(); - -int PASCAL WinMain(hInstance, hPrevInstance, lpCmdLine, nCmdShow) -HANDLE hInstance, hPrevInstance; -LPSTR lpCmdLine; -int nCmdShow; -{ - MSG msg; - - if (!hPrevInstance) - if (!InitApplication(hInstance)) return(FALSE); - if (!InitInstance(hInstance, nCmdShow)) return(FALSE); - while (GetMessage(&msg, NULL, NULL, NULL)) { - TranslateMessage(&msg); - DispatchMessage(&msg); - } - return(msg.wParam); -} - -BOOL InitApplication(hInstance) -HANDLE hInstance; -{ - WNDCLASS wc; - - /* Main Window Class */ - wc.style = NULL; - wc.lpfnWndProc = (WNDPROC)MainWndProc; - wc.cbClsExtra = 0; - wc.cbWndExtra = 0; - wc.hInstance = hInstance; - wc.hIcon = LoadIcon(hInstance, "MyIcon"); - wc.hCursor = LoadCursor(NULL, IDC_ARROW); - wc.hbrBackground = GetStockObject(LTGRAY_BRUSH); - wc.lpszMenuName = NULL; - wc.lpszClassName = "GenericWClass"; - if (!RegisterClass(&wc)) return(FALSE); -} - - -BOOL InitInstance(hInstance, nCmdShow) -HANDLE hInstance; -int nCmdShow; -{ - HWND hWnd; - HMENU hSampleMenu; - - hInst = hInstance; - hSampleMenu = LoadMenu(hInstance, "U7120Menu"); - hWnd = CreateWindow("GenericWClass", - (LPCSTR)"PCI-9118 Single Buffer DMA with About Trigger Mode", - WS_OVERLAPPEDWINDOW, - CW_USEDEFAULT, - CW_USEDEFAULT, - 520, - 400, - NULL, - hSampleMenu, - hInstance, - NULL); - if (!hWnd) return(FALSE); - ShowWindow(hWnd, nCmdShow); - UpdateWindow(hWnd); - return(TRUE); -} - -BOOL PASCAL setup(HWND hWnd, unsigned message, WPARAM wParam, LPARAM lParam) -{ - int i; - char n[16]; - char s[50]; - switch (message) { - case WM_INITDIALOG: - for (i=0;i<16;i++) { - wsprintf(n, "%d", i); - _strupr(n); - SendMessage(GetDlgItem(hWnd,IDC_COMBO1), CB_ADDSTRING, NULL, (LONG)(LPSTR) n); - } - SendMessage(GetDlgItem(hWnd,IDC_COMBO1) , CB_SETCURSEL, 0, 0L); - - break; - case WM_COMMAND: - switch(LOWORD(wParam)) { - - case IDC_COMBO1: - if (HIWORD(wParam) == CBN_CLOSEUP) { - i = (int)SendMessage(GetDlgItem(hWnd,IDC_COMBO1), CB_GETCURSEL, 0, 0L); - SendMessage(GetDlgItem(hWnd,IDC_COMBO1), CB_GETLBTEXT, i, (LPARAM)((LPCSTR)n)); - card_number = i; - } - return(TRUE); - case IDC_CHECK1: - if (midcheck) { - SendMessage(GetDlgItem(hWnd,wParam), BM_SETCHECK, 0, 0); - midcheck=FALSE; - } - else { - SendMessage(GetDlgItem(hWnd,wParam), BM_SETCHECK, 1, 0); - midcheck=TRUE; - } - break; - case IDOK: - if ((card=Register_Card(PCI_9118DG, card_number)) < 0) { - wsprintf(s, "Register_Card Error = %d\n", card); - MessageBox(hWnd, s, "Error", MB_OK); - SendMessage(hWnd, WM_CLOSE, 0, 0L); - break; - } - EndDialog(hWnd, TRUE); - InvalidateRect(hWnd, NULL, FALSE); - return (TRUE); - case IDCANCEL: - EndDialog(hWnd, TRUE); - return (TRUE); - } - break; - } - return (FALSE); -} - -long PASCAL MainWndProc(hWnd, message, wParam, lParam) -HWND hWnd; -UINT message; -WPARAM wParam; -LPARAM lParam; -{ - HDC hDC; - PAINTSTRUCT ps; - int i; - char n[6]; - static int pos=0; - I16 err; - char s[100]; - - switch(message) { - case WM_CREATE: - DialogBox(hInst,IDD_DIALOG2, hWnd, setup); - if(card<0) { - SendMessage(hWnd, WM_CLOSE, 0, 0L); - break; - } - hEdit=CreateWindow("EDIT", NULL, - WS_CHILD | WS_VISIBLE | ES_LEFT, - output_pos[13].x-30, input_pos[15].y+20,40, 20, hWnd, IDC_EDIT, hInst, NULL); - hEdit1=CreateWindow("EDIT", NULL, - WS_CHILD | WS_VISIBLE | ES_LEFT, - output_pos[13].x+90, input_pos[15].y+20,60, 20, hWnd, IDC_EDIT1, hInst, NULL); - if(midcheck) { - hEdit2=CreateWindow("EDIT", NULL, - WS_CHILD | WS_VISIBLE | ES_LEFT, - output_pos[13].x+90, input_pos[15].y-20,60, 20, hWnd, IDC_EDIT2, hInst, NULL); - } - wsprintf(n,"%d",sample_rate/1000); - SetWindowText(hEdit,n); - - wsprintf(n,"%d",data_size); - SetWindowText(hEdit1,n); - - if(midcheck) { - wsprintf(n,"%d",postCount); - SetWindowText(hEdit2,n); - } - - CreateWindow("SCROLLBAR", NULL, - WS_CHILD | WS_VISIBLE | SBS_VERT, - output_pos[13].x+10, input_pos[15].y+20,20, 20, hWnd, IDC_SCROLL, hInst, NULL); - - hStart = CreateWindow("BUTTON","Start" , - WS_CHILD | WS_VISIBLE , - output_pos[10].x+110, input_pos[10].y+10,50, 30, hWnd, IDC_START, hInst, NULL); - - hStop = CreateWindow("BUTTON","Stop" , - WS_CHILD | WS_VISIBLE , - output_pos[10].x+170, input_pos[10].y+10,50, 30, hWnd, IDC_STOP, hInst, NULL); - - CreateWindow("BUTTON","Data Value" , - WS_CHILD | WS_VISIBLE , - output_pos[10].x+230, input_pos[10].y+10,80, 30, hWnd, IDC_SHOW, hInst, NULL); - EnableWindow(hStop, FALSE); - - CreateWindow("BUTTON","0" , - WS_CHILD | WS_VISIBLE | BS_AUTORADIOBUTTON | BS_LEFTTEXT | WS_GROUP , - output_pos[4].x+50, io_pos[0].y-5+20,25,15, hWnd,IDC_CH, hInst, NULL); - - CreateWindow("BUTTON","1" , - WS_CHILD | WS_VISIBLE | BS_AUTORADIOBUTTON | BS_LEFTTEXT | WS_GROUP, - output_pos[4].x+50, io_pos[0].y+13+20,25,15, hWnd,IDC_CH+1, hInst, NULL); - - CreateWindow("BUTTON","2" , - WS_CHILD | WS_VISIBLE | BS_AUTORADIOBUTTON | BS_LEFTTEXT | WS_GROUP, - output_pos[4].x+50, io_pos[0].y+31+20,25,15, hWnd,IDC_CH+2, hInst, NULL); - - CreateWindow("BUTTON","3" , - WS_CHILD | WS_VISIBLE | BS_AUTORADIOBUTTON | BS_LEFTTEXT | WS_GROUP, - output_pos[4].x+50, io_pos[0].y+49+20,25,15, hWnd,IDC_CH+3, hInst, NULL); - - CreateWindow("BUTTON","4" , - WS_CHILD | WS_VISIBLE | BS_AUTORADIOBUTTON | BS_LEFTTEXT | WS_GROUP, - output_pos[4].x+100, io_pos[0].y-5+20,25,15, hWnd,IDC_CH+4, hInst, NULL); - - CreateWindow("BUTTON","5" , - WS_CHILD | WS_VISIBLE | BS_AUTORADIOBUTTON | BS_LEFTTEXT | WS_GROUP, - output_pos[4].x+100, io_pos[0].y+13+20,25,15, hWnd, IDC_CH+5, hInst, NULL); - - CreateWindow("BUTTON","6" , - WS_CHILD | WS_VISIBLE | BS_AUTORADIOBUTTON | BS_LEFTTEXT | WS_GROUP, - output_pos[4].x+100, io_pos[0].y+31+20,25,15, hWnd,IDC_CH+6, hInst, NULL); - - CreateWindow("BUTTON","7" , - WS_CHILD | WS_VISIBLE | BS_AUTORADIOBUTTON | BS_LEFTTEXT | WS_GROUP, - output_pos[4].x+100, io_pos[0].y+49+20,25,15, hWnd, IDC_CH+7, hInst, NULL); - - //default channel 0 - for (i=1;i<8;i++) bCheck[i]=FALSE; - bCheck[0] = TRUE; - channel = 0; - SendMessage(GetDlgItem(hWnd,IDC_CH), BM_SETCHECK, 1, 0); - - hBlackBrush= CreateSolidBrush(RGB(0,0,0)); - hRedPen= CreatePen(PS_SOLID,1,RGB(255,0,0)); - hBlackPen= CreatePen(PS_SOLID,1,RGB(0,0,0)); - break; - - case WM_PAINT: - hDC = BeginPaint(hWnd, &ps); - - // DMA analog input box - SelectObject(hDC, GetStockObject(GRAY_BRUSH)); - Rectangle(hDC, output_pos[15].x-10, io_pos[15].y-24, output_pos[0].x+26, io_pos[0].y+195); - SetTextColor(hDC,RGB(255,255,0)); - SetBkColor(hDC, RGB(0, 0, 255)); - TextOut(hDC, io_pos[15].x, io_pos[15].y-35, "DMA Input", 9); - SelectObject(hDC, hBlackBrush); - Rectangle(hDC, output_pos[15].x+35, io_pos[15].y-2, output_pos[4].x+41, io_pos[0].y+172); - - SetBkMode(hDC,TRANSPARENT); - if(midcheck) - TextOut(hDC,output_pos[13].x+70, input_pos[10].y-40,"PostCount",9); - TextOut(hDC,output_pos[13].x-60, input_pos[10].y,"Samping Rate",12); - TextOut(hDC,output_pos[13].x+30, input_pos[15].y+20,"KHZ",3); - TextOut(hDC,output_pos[13].x+70, input_pos[10].y,"Buffer Size",11); - TextOut(hDC,input_pos[2].x-10, io_pos[15].y+118,"Range: +-5V",11); - TextOut(hDC,input_pos[15].x, io_pos[15].y-19,"Volt",4); - TextOut(hDC,input_pos[15].x, io_pos[15].y-5,"5.00",4); - TextOut(hDC,input_pos[15].x, io_pos[15].y+36,"2.50",4); - TextOut(hDC,input_pos[15].x, io_pos[15].y+77,"0.00",4); - TextOut(hDC,input_pos[15].x-3, io_pos[15].y+118,"-2.50",5); - TextOut(hDC,input_pos[15].x-3, io_pos[15].y+159,"-5.00",5); - TextOut(hDC,input_pos[10].x+10, io_pos[10].y-19,"Signals",7); - TextOut(hDC,output_pos[4].x+60, io_pos[0].y-15,"Channel",7); - EndPaint(hWnd, &ps); - break; - - // Sample Rate Spin Control - case WM_VSCROLL: - switch (LOWORD(wParam)) { - case SB_LINEUP : - sample_rate+=5000; - if (sample_rate > 50000 ) sample_rate=50000; - break; - case SB_LINEDOWN: - sample_rate-=5000; - if (sample_rate < 5000 ) sample_rate=5000; - break; - } - wsprintf(n,"%d",sample_rate/1000); - SetWindowText(hEdit,n); - break; - case WM_COMMAND: - switch(LOWORD(wParam)) { - case IDM_EXIT: - SendMessage(hWnd, WM_CLOSE, 0, 0L); - break; - case IDC_CH: - case IDC_CH+1: - case IDC_CH+2: - case IDC_CH+3: - case IDC_CH+4: - case IDC_CH+5: - case IDC_CH+6: - case IDC_CH+7: - if (!bCheck[wParam-IDC_CH]) { - SendMessage(GetDlgItem(hWnd,wParam), BM_SETCHECK, 1, 0); - SendMessage(GetDlgItem(hWnd,IDC_CH+channel), BM_SETCHECK, 0, 0); - bCheck[channel]=FALSE; - } - channel=wParam-IDC_CH; - bCheck[channel]=TRUE; - break; - case IDC_SHOW : - DialogBox(hInst, "DMABox", hWnd, ShowDMA); - break; - case IDC_START: - if (hMem != NULL) { - GlobalUnfix(hMem); - GlobalUnlock(hMem); - GlobalFree(hMem); - } - // allocate a memory for DMA - postCount = GetDlgItemInt(hWnd,IDC_EDIT2,NULL ,FALSE); - data_size=GetDlgItemInt(hWnd,IDC_EDIT1,NULL ,FALSE); - if (data_size <= postCount) { - wsprintf(s, "Buffer Size have to be larger than %d\n", postCount+2); - MessageBox(hWnd,s,"Data Size Error", MB_OK); - break; - } - mem_size=data_size * 2; - hMem = GlobalAlloc(GMEM_FIXED | GMEM_ZEROINIT,mem_size); - - ai_buf = (U16 *)GlobalLock(hMem); - if (ai_buf == NULL ) { - MessageBox(hWnd,"DMA", "No Memory", MB_OK); - SendMessage(hWnd, WM_CLOSE, 0, 0L); - break; - } - - GlobalFix(hMem); - for (i=0;i= 0) Release_Card(card); - DeleteObject(hBlackBrush); - DeleteObject(hRedPen); - GlobalUnfix(hMem); - GlobalUnlock(hMem); - GlobalFree(hMem); - PostQuitMessage(0); - break; - default: - return(DefWindowProc(hWnd, message, wParam, lParam)); - } - return(NULL); -} - -BOOL PASCAL ShowDMA(hDlg, message, wParam, lParam) -HWND hDlg; -UINT message; -WPARAM wParam; -LPARAM lParam; -{ - int nTabs[2] = {32, 92}; - int i; - char cBuf[100]; - char string[10]=" "; - char data_str[3]=" "; - U16 *pp; - switch (message) { - case WM_INITDIALOG: - hListBox = CreateWindow("LISTBOX", "Index Data (Hex)", - WS_CHILD | WS_VISIBLE | LBS_HASSTRINGS | LBS_STANDARD | LBS_USETABSTOPS |WS_CAPTION, - 50, 40, 240, 180, hDlg, 100, hInst, NULL); - SendMessage(hListBox, LB_RESETCONTENT, 0, 0L); - SendMessage(hListBox, LB_SETTABSTOPS, 2, (DWORD)(LPINT) nTabs); - SetDlgItemText(hDlg, DMA_DESCP, "This ListBox can show at most 4000 data"); - itoa( data_size, string, 10); - SetDlgItemText(hDlg, DMA_SPACE, string); - pp = (U16 *)ai_buf; - if (count >4000) count = 4000; - for(i=0;i>4; - newy = io_pos[0].y+171-(172*(U32)adinput)/4095; - newx = i*336/data_size+output_pos[15].x+35; - if (i==0) - MoveToEx(hDC, newx, newy, NULL); - else - MoveToEx(hDC, oldx, oldy, NULL); - LineTo(hDC, newx, newy); - oldx = newx; - oldy = newy; - } - ReleaseDC(hMainWnd, hDC); - -} diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9118/Sdk9118DmaCallBack/9118SATg.dsp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9118/Sdk9118DmaCallBack/9118SATg.dsp deleted file mode 100644 index 4ecb8dc..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9118/Sdk9118DmaCallBack/9118SATg.dsp +++ /dev/null @@ -1,110 +0,0 @@ -# Microsoft Developer Studio Project File - Name="9118SATg" - Package Owner=<4> -# Microsoft Developer Studio Generated Build File, Format Version 5.00 -# ** DO NOT EDIT ** - -# TARGTYPE "Win32 (x86) Application" 0x0101 - -CFG=9118SATg - Win32 Release -!MESSAGE This is not a valid makefile. To build this project using NMAKE, -!MESSAGE use the Export Makefile command and run -!MESSAGE -!MESSAGE NMAKE /f "9118SATg.mak". -!MESSAGE -!MESSAGE You can specify a configuration when running NMAKE -!MESSAGE by defining the macro CFG on the command line. For example: -!MESSAGE -!MESSAGE NMAKE /f "9118SATg.mak" CFG="9118SATg - Win32 Release" -!MESSAGE -!MESSAGE Possible choices for configuration are: -!MESSAGE -!MESSAGE "9118SATg - Win32 Release" (based on "Win32 (x86) Application") -!MESSAGE "9118SATg - Win32 Debug" (based on "Win32 (x86) Application") -!MESSAGE - -# Begin Project -# PROP Scc_ProjName "" -# PROP Scc_LocalPath "" -CPP=cl.exe -MTL=midl.exe -RSC=rc.exe - -!IF "$(CFG)" == "9118SATg - Win32 Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir ".\Release" -# PROP BASE Intermediate_Dir ".\Release" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "" -# PROP Intermediate_Dir ".\Release" -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /YX /c -# ADD CPP /nologo /MT /W3 /GX /Od /I "..\..\..\include" /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /FD /c -# SUBTRACT CPP /YX -# ADD BASE MTL /nologo /D "NDEBUG" /win32 -# ADD MTL /nologo /D "NDEBUG" /mktyplib203 /win32 -# ADD BASE RSC /l 0x409 /d "NDEBUG" -# ADD RSC /l 0x409 /d "NDEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:windows /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ..\..\..\lib\pci-dask.lib /nologo /subsystem:windows /machine:I386 - -!ELSEIF "$(CFG)" == "9118SATg - Win32 Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir ".\Debug" -# PROP BASE Intermediate_Dir ".\Debug" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir ".\Debug" -# PROP Intermediate_Dir ".\Debug" -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /Gm /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /YX /c -# ADD CPP /nologo /MTd /W3 /Gm /GX /Zi /Od /I "..\..\..\include" /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /FD /c -# SUBTRACT CPP /YX -# ADD BASE MTL /nologo /D "_DEBUG" /win32 -# ADD MTL /nologo /D "_DEBUG" /mktyplib203 /win32 -# ADD BASE RSC /l 0x409 /d "_DEBUG" -# ADD RSC /l 0x409 /d "_DEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:windows /debug /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ..\..\..\lib\pci-dask.lib /nologo /subsystem:windows /debug /machine:I386 - -!ENDIF - -# Begin Target - -# Name "9118SATg - Win32 Release" -# Name "9118SATg - Win32 Debug" -# Begin Group "Source Files" - -# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;hpj;bat;for;f90" -# Begin Source File - -SOURCE=.\9118SATg.c -# End Source File -# Begin Source File - -SOURCE=.\9118SATg.rc -# End Source File -# End Group -# Begin Group "Header Files" - -# PROP Default_Filter "h;hpp;hxx;hm;inl;fi;fd" -# End Group -# Begin Group "Resource Files" - -# PROP Default_Filter "ico;cur;bmp;dlg;rc2;rct;bin;cnt;rtf;gif;jpg;jpeg;jpe" -# End Group -# End Target -# End Project diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9118/Sdk9118DmaCallBack/9118SATg.dsw b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9118/Sdk9118DmaCallBack/9118SATg.dsw deleted file mode 100644 index 08d782c..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9118/Sdk9118DmaCallBack/9118SATg.dsw +++ /dev/null @@ -1,29 +0,0 @@ -Microsoft Developer Studio Workspace File, Format Version 5.00 -# WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE! - -############################################################################### - -Project: "9118SATg"=.\9118SATg.dsp - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ -}}} - -############################################################################### - -Global: - -Package=<5> -{{{ -}}} - -Package=<3> -{{{ -}}} - -############################################################################### - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9118/Sdk9118DmaCallBack/9118SATg.exe b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9118/Sdk9118DmaCallBack/9118SATg.exe deleted file mode 100644 index d5c1ace..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9118/Sdk9118DmaCallBack/9118SATg.exe and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9118/Sdk9118DmaCallBack/9118SATg.rc b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9118/Sdk9118DmaCallBack/9118SATg.rc deleted file mode 100644 index b7f1f17..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9118/Sdk9118DmaCallBack/9118SATg.rc +++ /dev/null @@ -1,128 +0,0 @@ -//Microsoft Developer Studio generated resource script. -// -#include "resource.h" - -#define APSTUDIO_READONLY_SYMBOLS -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 2 resource. -// -#define APSTUDIO_HIDDEN_SYMBOLS -#include "windows.h" -#undef APSTUDIO_HIDDEN_SYMBOLS - -///////////////////////////////////////////////////////////////////////////// -#undef APSTUDIO_READONLY_SYMBOLS - -///////////////////////////////////////////////////////////////////////////// -// English (U.S.) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -#ifdef _WIN32 -LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US -#pragma code_page(1252) -#endif //_WIN32 - -///////////////////////////////////////////////////////////////////////////// -// -// Menu -// - -U7120MENU MENU DISCARDABLE -BEGIN - MENUITEM "E&xit!", IDM_EXIT -END - - -#ifdef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// TEXTINCLUDE -// - -1 TEXTINCLUDE DISCARDABLE -BEGIN - "resource.h\0" -END - -2 TEXTINCLUDE DISCARDABLE -BEGIN - "#define APSTUDIO_HIDDEN_SYMBOLS\r\n" - "#include ""windows.h""\r\n" - "#undef APSTUDIO_HIDDEN_SYMBOLS\r\n" - "\0" -END - -3 TEXTINCLUDE DISCARDABLE -BEGIN - "\r\n" - "\0" -END - -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog -// - -DMABOX DIALOG DISCARDABLE 18, 10, 171, 169 -STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "Data Value (half of circular buffer)" -FONT 8, "System" -BEGIN - PUSHBUTTON "STOP",ID_STOP,82,147,24,14 - LTEXT "Data Transferred :",-1,39,119,64,8 - LTEXT "Text",DMA_SPACE,103,118,41,8 - LTEXT "Text",DMA_DESCP,16,6,158,8 -END - -IDD_DIALOG2 DIALOG DISCARDABLE 110, 10, 110, 83 -STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "Card Number" -FONT 10, "System" -BEGIN - DEFPUSHBUTTON "OK",IDOK,9,62,39,14 - PUSHBUTTON "Cancel",IDCANCEL,56,62,38,14 - COMBOBOX IDC_COMBO1,57,23,46,45,CBS_DROPDOWN | WS_VSCROLL | - WS_TABSTOP - LTEXT "Card Number",IDC_STATIC,9,23,46,13 - LTEXT "Select a card number :",IDC_STATIC,3,6,100,11 - CONTROL "About Trigger Enabled",IDC_CHECK1,"Button", - BS_AUTOCHECKBOX | WS_TABSTOP,10,42,93,13 -END - - -///////////////////////////////////////////////////////////////////////////// -// -// DESIGNINFO -// - -#ifdef APSTUDIO_INVOKED -GUIDELINES DESIGNINFO DISCARDABLE -BEGIN - IDD_DIALOG2, DIALOG - BEGIN - LEFTMARGIN, 3 - RIGHTMARGIN, 103 - BOTTOMMARGIN, 76 - END -END -#endif // APSTUDIO_INVOKED - -#endif // English (U.S.) resources -///////////////////////////////////////////////////////////////////////////// - - - -#ifndef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 3 resource. -// - - -///////////////////////////////////////////////////////////////////////////// -#endif // not APSTUDIO_INVOKED - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9118/Sdk9118DmaCallBack/resource.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9118/Sdk9118DmaCallBack/resource.h deleted file mode 100644 index 29b4af7..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9118/Sdk9118DmaCallBack/resource.h +++ /dev/null @@ -1,26 +0,0 @@ -//{{NO_DEPENDENCIES}} -// Microsoft Developer Studio generated include file. -// Used by 9118SATg.rc -// -#define IDM_SETUP 101 -#define IDD_DIALOG1 101 -#define IDD_DIALOG2 104 -#define IDM_EXIT 110 -#define ID_CARDNUMBER 122 -#define ID_STOP 304 -#define DMA_SPACE 500 -#define DMA_DESCP 600 -#define IDC_COMBO1 1001 -#define IDC_CHECK1 1003 -#define IDC_STATIC -1 - -// Next default values for new objects -// -#ifdef APSTUDIO_INVOKED -#ifndef APSTUDIO_READONLY_SYMBOLS -#define _APS_NEXT_RESOURCE_VALUE 105 -#define _APS_NEXT_COMMAND_VALUE 123 -#define _APS_NEXT_CONTROL_VALUE 1002 -#define _APS_NEXT_SYMED_VALUE 101 -#endif -#endif diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9118/VB9118AboutTrg/Vb9118At.vbp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9118/VB9118AboutTrg/Vb9118At.vbp deleted file mode 100644 index 1513a23..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9118/VB9118AboutTrg/Vb9118At.vbp +++ /dev/null @@ -1,21 +0,0 @@ -Form=vb9118At.Frm -Module=DASK; ..\..\..\Include\Dask.bas -Module=Module1; w_event.bas -Reference=*\G{00025E04-0000-0000-C000-000000000046}#2.5#0#D:\Program Files\Common Files\Microsoft Shared\DD:\Program Fil#Microsoft DAO 2.5/3.0 Compatibility Library -ProjWinSize=102,550,191,215 -ProjWinShow=2 -IconForm="Atrg9118" -HelpFile="" -Title="9118DMA" -ExeName32="9118Atrg.exe" -ExeName="9118DMA.EXE" -Name="vb49118dma" -HelpContextID="0" -StartMode=0 -VersionCompatible32="0" -MajorVer=1 -MinorVer=0 -RevisionVer=0 -AutoIncrementVer=0 -ServerSupportFiles=0 -VersionCompanyName="ADLink" diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9118/VB9118AboutTrg/W_EVENT.BAS b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9118/VB9118AboutTrg/W_EVENT.BAS deleted file mode 100644 index f1d6748..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9118/VB9118AboutTrg/W_EVENT.BAS +++ /dev/null @@ -1,3 +0,0 @@ -Option Explicit - -Declare Function WaitForSingleObject Lib "kernel32" Alias "WaitForSingleObject" (ByVal hHandle As Long, ByVal dwMilliseconds As Long) As Long \ No newline at end of file diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9118/VB9118AboutTrg/vb9118At.Frm b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9118/VB9118AboutTrg/vb9118At.Frm deleted file mode 100644 index aad607a..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9118/VB9118AboutTrg/vb9118At.Frm +++ /dev/null @@ -1,518 +0,0 @@ -VERSION 4.00 -Begin VB.Form Atrg9118 - Appearance = 0 'Flat - BackColor = &H00C0C0C0& - Caption = "9118 About Trigger DMA" - ClientHeight = 5460 - ClientLeft = 1800 - ClientTop = 1770 - ClientWidth = 7665 - BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851} - Name = "MS Sans Serif" - Size = 8.25 - Charset = 0 - Weight = 700 - Underline = 0 'False - Italic = 0 'False - Strikethrough = 0 'False - EndProperty - ForeColor = &H0000FFFF& - Height = 5865 - Left = 1740 - LinkTopic = "Form1" - ScaleHeight = 5460 - ScaleWidth = 7665 - Top = 1425 - Width = 7785 - Begin VB.Frame Frame1 - BackColor = &H00C0C0C0& - Caption = "Post Count" - ForeColor = &H00FF0000& - Height = 615 - Left = 2160 - TabIndex = 20 - Top = 3840 - Width = 2175 - Begin VB.TextBox postCount - Height = 285 - Left = 120 - TabIndex = 22 - Text = "1024" - Top = 240 - Width = 1095 - End - Begin VB.Label labData - Appearance = 0 'Flat - BackColor = &H00C0C0C0& - Caption = "Samples" - ForeColor = &H0000FFFF& - Height = 255 - Index = 1 - Left = 1320 - TabIndex = 21 - Top = 240 - Width = 735 - End - End - Begin VB.CommandButton btnExit - Appearance = 0 'Flat - BackColor = &H80000005& - Caption = "Exit" - Height = 500 - Left = 6240 - TabIndex = 4 - Top = 4680 - Width = 1000 - End - Begin VB.CommandButton btnStart - Appearance = 0 'Flat - BackColor = &H80000005& - Caption = "Start" - Height = 500 - Left = 4800 - TabIndex = 3 - Top = 4680 - Width = 1000 - End - Begin VB.Frame frmData - Appearance = 0 'Flat - BackColor = &H00C0C0C0& - Caption = "Buffer Size" - ForeColor = &H00FF0000& - Height = 615 - Left = 4680 - TabIndex = 2 - Top = 3840 - Width = 1935 - Begin VB.ComboBox cobData - Appearance = 0 'Flat - Height = 315 - Left = 120 - Style = 2 'Dropdown List - TabIndex = 15 - Top = 240 - Width = 975 - End - Begin VB.Label labData - Appearance = 0 'Flat - BackColor = &H00C0C0C0& - Caption = "Samples" - ForeColor = &H0000FFFF& - Height = 255 - Index = 0 - Left = 1155 - TabIndex = 16 - Top = 255 - Width = 720 - End - End - Begin VB.Frame frmSample - Appearance = 0 'Flat - BackColor = &H00C0C0C0& - Caption = "Sampling Rate" - ForeColor = &H00FF0000& - Height = 615 - Left = 120 - TabIndex = 1 - Top = 3840 - Width = 1700 - Begin VB.ComboBox cobSample - Appearance = 0 'Flat - Height = 315 - Left = 120 - Style = 2 'Dropdown List - TabIndex = 14 - Top = 240 - Width = 975 - End - Begin VB.Label Label1 - Appearance = 0 'Flat - BackColor = &H00C0C0C0& - Caption = "KHz" - ForeColor = &H0000FFFF& - Height = 255 - Left = 1150 - TabIndex = 17 - Top = 260 - Width = 450 - End - End - Begin VB.Frame dmaFrame - Appearance = 0 'Flat - BackColor = &H00C0C0C0& - Caption = "DMA Input(A/D)" - ForeColor = &H00FF0000& - Height = 3375 - Left = 120 - TabIndex = 0 - Top = 120 - Width = 7455 - Begin VB.Frame Card_Frame - Caption = "Card Number" - ForeColor = &H00FF0000& - Height = 615 - Left = 5880 - TabIndex = 18 - Top = 2520 - Width = 1455 - Begin VB.ComboBox Card_num - Height = 315 - Left = 120 - TabIndex = 19 - Text = "Number" - Top = 240 - Width = 1215 - End - End - Begin VB.Frame frmChannel - Appearance = 0 'Flat - BackColor = &H00C0C0C0& - Caption = "AD Channel" - ForeColor = &H00FF0000& - Height = 1755 - Left = 5880 - TabIndex = 6 - Top = 480 - Width = 1380 - Begin VB.OptionButton optChn - Caption = "7" - Height = 255 - Index = 7 - Left = 720 - TabIndex = 30 - Top = 1260 - Width = 435 - End - Begin VB.OptionButton optChn - Caption = "6" - Height = 255 - Index = 6 - Left = 720 - TabIndex = 29 - Top = 960 - Width = 435 - End - Begin VB.OptionButton optChn - Caption = "5" - Height = 255 - Index = 5 - Left = 720 - TabIndex = 28 - Top = 660 - Width = 435 - End - Begin VB.OptionButton optChn - Caption = "4" - Height = 255 - Index = 4 - Left = 720 - TabIndex = 27 - Top = 360 - Width = 435 - End - Begin VB.OptionButton optChn - Caption = "3" - Height = 255 - Index = 3 - Left = 180 - TabIndex = 26 - Top = 1260 - Width = 435 - End - Begin VB.OptionButton optChn - Caption = "2" - Height = 255 - Index = 2 - Left = 180 - TabIndex = 25 - Top = 960 - Width = 435 - End - Begin VB.OptionButton optChn - Caption = "1" - Height = 255 - Index = 1 - Left = 180 - TabIndex = 24 - Top = 660 - Width = 435 - End - Begin VB.OptionButton optChn - Caption = "0" - Height = 255 - Index = 0 - Left = 180 - TabIndex = 23 - Top = 360 - Value = -1 'True - Width = 435 - End - End - Begin VB.PictureBox picScreen - Appearance = 0 'Flat - AutoRedraw = -1 'True - BackColor = &H00000000& - ForeColor = &H80000008& - Height = 2700 - Left = 720 - ScaleHeight = 178 - ScaleMode = 3 'Pixel - ScaleWidth = 331 - TabIndex = 5 - Top = 480 - Width = 5000 - End - Begin VB.Label labValue - Alignment = 1 'Right Justify - Appearance = 0 'Flat - BackColor = &H00C0C0C0& - Caption = "-5.00" - ForeColor = &H0000FFFF& - Height = 255 - Index = 4 - Left = 120 - TabIndex = 13 - Top = 3045 - Width = 600 - End - Begin VB.Label labValue - Alignment = 1 'Right Justify - Appearance = 0 'Flat - BackColor = &H00C0C0C0& - Caption = "-2.50" - ForeColor = &H0000FFFF& - Height = 255 - Index = 3 - Left = 120 - TabIndex = 12 - Top = 2400 - Width = 600 - End - Begin VB.Label labValue - Alignment = 1 'Right Justify - Appearance = 0 'Flat - BackColor = &H00C0C0C0& - Caption = "0.00" - ForeColor = &H0000FFFF& - Height = 255 - Index = 2 - Left = 120 - TabIndex = 11 - Top = 1740 - Width = 615 - End - Begin VB.Label labValue - Alignment = 1 'Right Justify - Appearance = 0 'Flat - BackColor = &H00C0C0C0& - Caption = "2.50" - ForeColor = &H0000FFFF& - Height = 255 - Index = 1 - Left = 120 - TabIndex = 10 - Top = 1065 - Width = 615 - End - Begin VB.Label labValue - Alignment = 1 'Right Justify - Appearance = 0 'Flat - BackColor = &H00C0C0C0& - Caption = "5.00" - ForeColor = &H0000FFFF& - Height = 255 - Index = 0 - Left = 120 - TabIndex = 9 - Top = 420 - Width = 615 - End - Begin VB.Label labVots - Appearance = 0 'Flat - BackColor = &H00C0C0C0& - Caption = "Vots" - ForeColor = &H0000FFFF& - Height = 255 - Left = 120 - TabIndex = 8 - Top = 200 - Width = 495 - End - Begin VB.Label labSignal - Appearance = 0 'Flat - BackColor = &H00C0C0C0& - Caption = "Signals" - ForeColor = &H0000FFFF& - Height = 300 - Left = 2800 - TabIndex = 7 - Top = 200 - Width = 780 - End - End -End -Attribute VB_Name = "Atrg9118" -Attribute VB_Creatable = False -Attribute VB_Exposed = False -Dim gnADChn As Long -Dim gnCount As Long -Dim gnC2 As Long -Dim gnBuffer(4000) As Integer -Dim card As Integer -Dim nRate As Long -Dim range As Integer -Dim card_number As Integer -Dim post_cnt As Long -Private Sub btnExit_Click() - If card >= 0 Then Release_Card (card) - End -End Sub - -Private Sub btnStart_Click() - Dim result As Integer - Dim access_cnt As Long - Dim fstop As Byte - - If card < 0 Then - card_num.Enabled = False - card = Register_Card(PCI_9118DG, card_number) - If card < 0 Then - MsgBox "Register Card Failed" - End - End If - End If - fstop = 0 - result = AI_9118_Config(card, P9118_AI_BiPolar Or P9118_AI_SingEnded, P9118_AI_DtrgPositive Or P9118_AI_EtrgPositive Or P9118_AI_AboutTrgEn, 0, post_cnt) - result = AI_AsyncDblBufferMode(card, 0) - result = AI_ContReadChannel(card, gnADChn, range, gnBuffer(0), gnCount, CSng(nRate * 1000), ASYNCH_OP) - While fstop = 0 - result = AI_AsyncCheck(card, fstop, access_cnt) - Wend - result = AI_AsyncClear(card, access_cnt) - btnStart.Enabled = True - ShowData (access_cnt) -End Sub - - -Private Sub card_DragDrop(Source As Control, X As Single, Y As Single) - -End Sub - -Private Sub card_num_Click() - card_number = Val(Trim$(card_num)) -End Sub - - -Private Sub cobData_Click() - gnCount = Val(Trim$(cobData)) -End Sub - -Private Sub cobSample_Click() - nRate = Val(Trim$(cobSample)) -End Sub - -Private Sub Command1_Click() - -End Sub - -Private Sub Form_Load() - Dim bus As Integer, slot As Integer - - card_num.AddItem "0" - card_num.AddItem "1" - card_num.AddItem "2" - card_num.AddItem "3" - card_num.AddItem "4" - card_num.AddItem "5" - card_num.AddItem "6" - card_num.AddItem "7" - card_num.AddItem "8" - card_num.AddItem "9" - card_num.AddItem "10" - card_num.AddItem "11" - card_num.AddItem "12" - card_num.AddItem "13" - card_num.AddItem "14" - card_num.AddItem "15" - - card_num.ListIndex = 0 - - cobData.AddItem "500" - cobData.AddItem "1000" - cobData.AddItem "2000" - cobData.AddItem "3000" - cobData.AddItem "4000" - - cobData.ListIndex = 0 - - cobSample.AddItem "10" - cobSample.AddItem "20" - cobSample.AddItem "30" - cobSample.AddItem "40" - cobSample.AddItem "50" - cobSample.AddItem "70" - cobSample.AddItem "90" - cobSample.AddItem "100" - - cobSample.ListIndex = 0 - - gnADChn = 0 - card = -1 - post_cnt = 1024 - 'Range values - range = AD_B_5_V - -End Sub - -Private Sub Form_Unload(Cancel As Integer) - If card >= 0 Then Release_Card (card) -End Sub - - -Private Sub optChn_Click(Index As Integer) - gnADChn = Index -End Sub - -Private Sub ShowData(count As Integer) - Dim i As Integer, last As Integer, total As Integer - Dim x1 As Integer, y1 As Integer, x2 As Integer, y2 As Integer - Dim w As Long, h As Long, data As Long - - picScreen.Cls - last = count - w = picScreen.ScaleWidth - h = picScreen.ScaleHeight - 'gnBuffer contains 16-bit data, the 4 LSB is channel# - 'VB's integer is signed integer, its range is -32768 to 32767 - 'We change the range to 0 to 65535 - If gnBuffer(0) >= 0 Then - data = gnBuffer(0) - Else - data = gnBuffer(0) + 65536 - End If - x1 = (last * w) / count - y1 = h - ((((data And &HFFF0) / 16) * h) / 4096) - last = last - 1 - - While (last > 0) - If gnBuffer(count - last) >= 0 Then - data = gnBuffer(count - last) - Else - data = gnBuffer(count - last) + 65536 - End If - x2 = (last * w) / count - y2 = h - ((((data And &HFFF0) / 16) * h) / 4096) - last = last - 1 - picScreen.Line (x1, y1)-(x2, y2), &HFFFF& - x1 = x2 - y1 = y2 - Wend -End Sub - - - -Private Sub postCount_Change() - post_cnt = Val(Trim$(postCount)) -End Sub - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9118/VB9118DgHr/0.BMP b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9118/VB9118DgHr/0.BMP deleted file mode 100644 index 8c61da7..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9118/VB9118DgHr/0.BMP and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9118/VB9118DgHr/1.BMP b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9118/VB9118DgHr/1.BMP deleted file mode 100644 index d049f03..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9118/VB9118DgHr/1.BMP and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9118/VB9118DgHr/9118glbl.Bas b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9118/VB9118DgHr/9118glbl.Bas deleted file mode 100644 index f737232..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9118/VB9118DgHr/9118glbl.Bas +++ /dev/null @@ -1,70 +0,0 @@ -Attribute VB_Name = "Module1" -Option Explicit - -Declare Function BitBlt Lib "GDI32" (ByVal hDestDC As Long, ByVal X As Long, ByVal Y As Long, ByVal nWidth As Long, ByVal nHeight As Long, ByVal hSrcDC As Long, ByVal XSrc As Long, ByVal YSrc As Long, ByVal dwRop As Long) As Long - -Global Const SRCCOPY = &HCC0020 ' (DWORD) dest = source -Global card As Integer -Global card_number As Integer -Global card_type As Integer - -Sub Scale_Change(ByVal g As Long) - Select Case g - Case 0 - util9118.Label1(2).Caption = "5.0" - util9118.Label1(3).Caption = "2.5" - util9118.Label1(4).Caption = "0.0" - util9118.Label1(5).Caption = "-2.5" - util9118.Label1(6).Caption = "-5.0" - Case 1 - util9118.Label1(2).Caption = "2.50" - util9118.Label1(3).Caption = "2.25" - util9118.Label1(4).Caption = "0.00" - util9118.Label1(5).Caption = "-2.25" - util9118.Label1(6).Caption = "-2.50" - Case 2 - util9118.Label1(2).Caption = "1.250" - util9118.Label1(3).Caption = "0.625" - util9118.Label1(4).Caption = "0.00" - util9118.Label1(5).Caption = "-0.625" - util9118.Label1(6).Caption = "-1.250" - Case 3 - util9118.Label1(2).Caption = "0.6250" - util9118.Label1(3).Caption = "0.3125" - util9118.Label1(4).Caption = "0.0000" - util9118.Label1(5).Caption = "-0.3125" - util9118.Label1(6).Caption = "-0.6250" - Case 4 - util9118.Label1(2).Caption = "10.00" - util9118.Label1(3).Caption = "7.500" - util9118.Label1(4).Caption = "5.000" - util9118.Label1(5).Caption = "2.500" - util9118.Label1(6).Caption = "0.000" - Case 5 - util9118.Label1(2).Caption = "5.000" - util9118.Label1(3).Caption = "3.750" - util9118.Label1(4).Caption = "2.500" - util9118.Label1(5).Caption = "1.250" - util9118.Label1(6).Caption = "0.000" - Case 6 - util9118.Label1(2).Caption = "2.500" - util9118.Label1(3).Caption = "1.875" - util9118.Label1(4).Caption = "1.250" - util9118.Label1(5).Caption = "0.625" - util9118.Label1(6).Caption = "0.000" - Case 7 - util9118.Label1(2).Caption = "1.2500" - util9118.Label1(3).Caption = "0.9375" - util9118.Label1(4).Caption = "0.6250" - util9118.Label1(5).Caption = "0.3125" - util9118.Label1(6).Caption = "0.0000" - End Select - - util9118.Label1(19).Caption = util9118.Label1(2).Caption - util9118.Label1(20).Caption = util9118.Label1(3).Caption - util9118.Label1(21).Caption = util9118.Label1(4).Caption - util9118.Label1(22).Caption = util9118.Label1(5).Caption - util9118.Label1(23).Caption = util9118.Label1(6).Caption - -End Sub - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9118/VB9118DgHr/Base9118.frm b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9118/VB9118DgHr/Base9118.frm deleted file mode 100644 index c37edc9..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9118/VB9118DgHr/Base9118.frm +++ /dev/null @@ -1,124 +0,0 @@ -VERSION 4.00 -Begin VB.Form SettingForm - Appearance = 0 'Flat - BackColor = &H00C0C0C0& - Caption = "Card Setting" - ClientHeight = 1770 - ClientLeft = 4590 - ClientTop = 3420 - ClientWidth = 2835 - BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851} - Name = "MS Sans Serif" - Size = 8.25 - Charset = 0 - Weight = 700 - Underline = 0 'False - Italic = 0 'False - Strikethrough = 0 'False - EndProperty - ForeColor = &H80000008& - Height = 2175 - Left = 4530 - LinkTopic = "Form2" - ScaleHeight = 1770 - ScaleWidth = 2835 - Top = 3075 - Width = 2955 - Begin VB.ComboBox CardType - Height = 315 - Left = 1440 - TabIndex = 5 - Text = "CardType" - Top = 720 - Width = 1215 - End - Begin VB.CommandButton OKBtn - Appearance = 0 'Flat - BackColor = &H80000005& - Caption = "OK" - Default = -1 'True - Height = 315 - Left = 240 - TabIndex = 0 - Top = 1320 - Width = 915 - End - Begin VB.CommandButton CancelBtn - Appearance = 0 'Flat - BackColor = &H80000005& - Cancel = -1 'True - Caption = "Cancel" - Height = 315 - Left = 1560 - TabIndex = 3 - Top = 1320 - Width = 915 - End - Begin VB.ComboBox CardNum - Appearance = 0 'Flat - Height = 315 - Left = 1440 - Style = 2 'Dropdown List - TabIndex = 2 - Top = 120 - Width = 1215 - End - Begin VB.Label Label1 - Caption = "Card Type" - Height = 255 - Left = 120 - TabIndex = 4 - Top = 720 - Width = 1095 - End - Begin VB.Label Label2 - Appearance = 0 'Flat - BackColor = &H00C0C0C0& - Caption = "Card Number:" - ForeColor = &H00000000& - Height = 195 - Index = 0 - Left = 120 - TabIndex = 1 - Top = 180 - Width = 1275 - End -End -Attribute VB_Name = "SettingForm" -Attribute VB_Creatable = False -Attribute VB_Exposed = False - - -Private Sub BaseAddr_Change() - -End Sub - - -Private Sub CancelBtn_Click() - Unload SettingForm -End Sub - -Private Sub Form_Load() - Dim i As Long - For i = 0 To 15 Step 1 - CardNum.AddItem i - Next - CardNum.ListIndex = 0 - CardType.AddItem "9118DG" - CardType.AddItem "9118HR" - CardType.ListIndex = 0 -End Sub - -Private Sub OKBtn_Click() - card = -1 - card_number = CardNum.ListIndex - Select Case CardType.ListIndex - Case 0 - card_type = PCI_9118DG - Case 1 - card_type = PCI_9118HR - End Select - card = Register_Card(card_type, card_number) - Unload SettingForm -End Sub - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9118/VB9118DgHr/C0_DN.BMP b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9118/VB9118DgHr/C0_DN.BMP deleted file mode 100644 index 675b60a..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9118/VB9118DgHr/C0_DN.BMP and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9118/VB9118DgHr/C0_UP.BMP b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9118/VB9118DgHr/C0_UP.BMP deleted file mode 100644 index bf0b3fd..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9118/VB9118DgHr/C0_UP.BMP and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9118/VB9118DgHr/C1_DN.BMP b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9118/VB9118DgHr/C1_DN.BMP deleted file mode 100644 index bfe065a..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9118/VB9118DgHr/C1_DN.BMP and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9118/VB9118DgHr/C1_UP.BMP b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9118/VB9118DgHr/C1_UP.BMP deleted file mode 100644 index 7d0f155..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9118/VB9118DgHr/C1_UP.BMP and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9118/VB9118DgHr/C2_DN.BMP b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9118/VB9118DgHr/C2_DN.BMP deleted file mode 100644 index edf3e0f..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9118/VB9118DgHr/C2_DN.BMP and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9118/VB9118DgHr/C2_UP.BMP b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9118/VB9118DgHr/C2_UP.BMP deleted file mode 100644 index 78caf37..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9118/VB9118DgHr/C2_UP.BMP and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9118/VB9118DgHr/C3_DN.BMP b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9118/VB9118DgHr/C3_DN.BMP deleted file mode 100644 index e060b45..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9118/VB9118DgHr/C3_DN.BMP and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9118/VB9118DgHr/C3_UP.BMP b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9118/VB9118DgHr/C3_UP.BMP deleted file mode 100644 index 02dd3c6..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9118/VB9118DgHr/C3_UP.BMP and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9118/VB9118DgHr/C4_DN.BMP b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9118/VB9118DgHr/C4_DN.BMP deleted file mode 100644 index 7c4a80f..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9118/VB9118DgHr/C4_DN.BMP and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9118/VB9118DgHr/C4_UP.BMP b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9118/VB9118DgHr/C4_UP.BMP deleted file mode 100644 index 5295b36..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9118/VB9118DgHr/C4_UP.BMP and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9118/VB9118DgHr/C5_DN.BMP b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9118/VB9118DgHr/C5_DN.BMP deleted file mode 100644 index 6b06f36..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9118/VB9118DgHr/C5_DN.BMP and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9118/VB9118DgHr/C5_UP.BMP b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9118/VB9118DgHr/C5_UP.BMP deleted file mode 100644 index 775143b..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9118/VB9118DgHr/C5_UP.BMP and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9118/VB9118DgHr/C6_DN.BMP b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9118/VB9118DgHr/C6_DN.BMP deleted file mode 100644 index 62b6de7..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9118/VB9118DgHr/C6_DN.BMP and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9118/VB9118DgHr/C6_UP.BMP b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9118/VB9118DgHr/C6_UP.BMP deleted file mode 100644 index 5e50a6c..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9118/VB9118DgHr/C6_UP.BMP and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9118/VB9118DgHr/C7_DN.BMP b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9118/VB9118DgHr/C7_DN.BMP deleted file mode 100644 index abe1fe0..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9118/VB9118DgHr/C7_DN.BMP and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9118/VB9118DgHr/C7_UP.BMP b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9118/VB9118DgHr/C7_UP.BMP deleted file mode 100644 index 3f2299a..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9118/VB9118DgHr/C7_UP.BMP and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9118/VB9118DgHr/TUNER.BMP b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9118/VB9118DgHr/TUNER.BMP deleted file mode 100644 index c063a49..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9118/VB9118DgHr/TUNER.BMP and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9118/VB9118DgHr/VB9118.FRX b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9118/VB9118DgHr/VB9118.FRX deleted file mode 100644 index cf4e090..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9118/VB9118DgHr/VB9118.FRX and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9118/VB9118DgHr/Vb9118.vbp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9118/VB9118DgHr/Vb9118.vbp deleted file mode 100644 index 5267bed..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9118/VB9118DgHr/Vb9118.vbp +++ /dev/null @@ -1,22 +0,0 @@ -Form=vb9118.Frm -Module=DASK; ..\..\..\Include\Dask.bas -Module=Module1; 9118glbl.Bas -Form=Base9118.frm -Reference=*\G{00025E04-0000-0000-C000-000000000046}#2.5#0#D:\Program Files\Common Files\Microsoft Shared\DD:\Program Fil#Microsoft DAO 2.5/3.0 Compatibility Library -ProjWinSize=82,551,192,215 -ProjWinShow=2 -IconForm="util9118" -HelpFile="" -Title="UTIL9118" -ExeName32="vb9118.exe" -ExeName="9118.EXE" -Name="vb4projectUtil9118" -HelpContextID="0" -StartMode=0 -VersionCompatible32="0" -MajorVer=1 -MinorVer=0 -RevisionVer=0 -AutoIncrementVer=0 -ServerSupportFiles=0 -VersionCompanyName="ADLink" diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9118/VB9118DgHr/vb9118.Frm b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9118/VB9118DgHr/vb9118.Frm deleted file mode 100644 index ad7fd20..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9118/VB9118DgHr/vb9118.Frm +++ /dev/null @@ -1,1650 +0,0 @@ -VERSION 4.00 -Begin VB.Form util9118 - Appearance = 0 'Flat - BackColor = &H00C0C0C0& - Caption = "9118DG/HR Sample Program" - ClientHeight = 6480 - ClientLeft = 1080 - ClientTop = 1740 - ClientWidth = 8520 - BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851} - Name = "MS Sans Serif" - Size = 8.25 - Charset = 0 - Weight = 700 - Underline = 0 'False - Italic = 0 'False - Strikethrough = 0 'False - EndProperty - ForeColor = &H80000008& - Height = 6885 - Left = 1020 - LinkTopic = "Form1" - ScaleHeight = 432 - ScaleMode = 3 'Pixel - ScaleWidth = 568 - Top = 1395 - Width = 8640 - Begin VB.CommandButton ExitBtn - Appearance = 0 'Flat - BackColor = &H80000005& - Caption = "Exit" - BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851} - Name = "MS Sans Serif" - Size = 8.25 - Charset = 0 - Weight = 400 - Underline = 0 'False - Italic = 0 'False - Strikethrough = 0 'False - EndProperty - Height = 315 - Left = 5610 - TabIndex = 47 - Top = 5415 - Width = 795 - End - Begin VB.Frame Frame3D2 - Appearance = 0 'Flat - BackColor = &H00C0C0C0& - Caption = "Range" - BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851} - Name = "MS Sans Serif" - Size = 8.25 - Charset = 0 - Weight = 400 - Underline = 0 'False - Italic = 0 'False - Strikethrough = 0 'False - EndProperty - ForeColor = &H00000000& - Height = 735 - Left = 6180 - TabIndex = 2 - Top = 3300 - Width = 2055 - Begin VB.ComboBox Gain - Height = 315 - Left = 300 - TabIndex = 3 - Text = "Gain" - Top = 315 - Width = 1395 - End - End - Begin VB.Frame DO_Frame - Appearance = 0 'Flat - BackColor = &H00C0C0C0& - Caption = "Digital Output" - BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851} - Name = "MS Sans Serif" - Size = 9.75 - Charset = 0 - Weight = 700 - Underline = 0 'False - Italic = 0 'False - Strikethrough = 0 'False - EndProperty - ForeColor = &H00FF0000& - Height = 735 - Left = 120 - TabIndex = 5 - Top = 4260 - Width = 5895 - Begin VB.Image DOP - Appearance = 0 'Flat - Height = 300 - Index = 0 - Left = 5520 - Picture = "vb9118.frx":0000 - Top = 280 - Width = 300 - End - Begin VB.Image DOP - Appearance = 0 'Flat - Height = 300 - Index = 1 - Left = 5160 - Picture = "vb9118.frx":0172 - Top = 280 - Width = 300 - End - Begin VB.Image DOP - Appearance = 0 'Flat - Height = 300 - Index = 3 - Left = 4440 - Picture = "vb9118.frx":02E4 - Top = 280 - Width = 300 - End - Begin VB.Image DOP - Appearance = 0 'Flat - Height = 300 - Index = 2 - Left = 4800 - Picture = "vb9118.frx":0456 - Top = 280 - Width = 300 - End - End - Begin VB.Frame DI_Frame - Appearance = 0 'Flat - BackColor = &H00C0C0C0& - Caption = "Digital Input" - BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851} - Name = "MS Sans Serif" - Size = 9.75 - Charset = 0 - Weight = 700 - Underline = 0 'False - Italic = 0 'False - Strikethrough = 0 'False - EndProperty - ForeColor = &H00FF0000& - Height = 735 - Left = 120 - TabIndex = 6 - Top = 3300 - Width = 5895 - Begin VB.Image DI - Appearance = 0 'Flat - Height = 300 - Index = 3 - Left = 4440 - Picture = "vb9118.frx":05C8 - Top = 280 - Width = 300 - End - Begin VB.Image DI - Appearance = 0 'Flat - Height = 300 - Index = 2 - Left = 4800 - Picture = "vb9118.frx":073A - Top = 280 - Width = 300 - End - Begin VB.Image DI - Appearance = 0 'Flat - Height = 300 - Index = 1 - Left = 5160 - Picture = "vb9118.frx":08AC - Top = 280 - Width = 300 - End - Begin VB.Image DI - Appearance = 0 'Flat - Height = 300 - Index = 0 - Left = 5520 - Picture = "vb9118.frx":0A1E - Top = 280 - Width = 300 - End - End - Begin VB.Frame DA_Frame - Appearance = 0 'Flat - BackColor = &H00C0C0C0& - Caption = "Analog Output (D/A)" - ForeColor = &H00FF0000& - Height = 855 - Left = 6180 - TabIndex = 7 - Top = 4200 - Width = 2055 - Begin VB.ComboBox DA_Wave - Height = 315 - Left = 240 - TabIndex = 8 - Text = "DA_Wave" - Top = 360 - Width = 1575 - End - End - Begin VB.Frame Channel_Frame - Appearance = 0 'Flat - BackColor = &H00C0C0C0& - Caption = "Channel" - BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851} - Name = "MS Sans Serif" - Size = 8.25 - Charset = 0 - Weight = 400 - Underline = 0 'False - Italic = 0 'False - Strikethrough = 0 'False - EndProperty - ForeColor = &H80000008& - Height = 1335 - Index = 1 - Left = 6360 - TabIndex = 10 - Top = 1680 - Width = 1575 - Begin VB.Label Label1 - Appearance = 0 'Flat - BackColor = &H00C0C0C0& - Caption = "15" - ForeColor = &H80000008& - Height = 195 - Index = 24 - Left = 780 - TabIndex = 11 - Top = 960 - Width = 240 - End - Begin VB.Label Label1 - Appearance = 0 'Flat - BackColor = &H00C0C0C0& - Caption = "14" - ForeColor = &H80000008& - Height = 195 - Index = 25 - Left = 780 - TabIndex = 12 - Top = 720 - Width = 240 - End - Begin VB.Label Label1 - Appearance = 0 'Flat - BackColor = &H00C0C0C0& - Caption = "13" - ForeColor = &H80000008& - Height = 195 - Index = 26 - Left = 780 - TabIndex = 13 - Top = 480 - Width = 240 - End - Begin VB.Label Label1 - Appearance = 0 'Flat - BackColor = &H00C0C0C0& - Caption = "12" - ForeColor = &H80000008& - Height = 195 - Index = 27 - Left = 780 - TabIndex = 14 - Top = 240 - Width = 240 - End - Begin VB.Label Label1 - Appearance = 0 'Flat - BackColor = &H00C0C0C0& - Caption = "11" - ForeColor = &H80000008& - Height = 195 - Index = 28 - Left = 120 - TabIndex = 15 - Top = 960 - Width = 240 - End - Begin VB.Label Label1 - Appearance = 0 'Flat - BackColor = &H00C0C0C0& - Caption = "10" - ForeColor = &H80000008& - Height = 195 - Index = 29 - Left = 120 - TabIndex = 16 - Top = 720 - Width = 240 - End - Begin VB.Label Label1 - Appearance = 0 'Flat - BackColor = &H00C0C0C0& - Caption = "9" - ForeColor = &H80000008& - Height = 195 - Index = 30 - Left = 210 - TabIndex = 17 - Top = 480 - Width = 135 - End - Begin VB.Label Label1 - Appearance = 0 'Flat - BackColor = &H00C0C0C0& - Caption = "8" - ForeColor = &H80000008& - Height = 195 - Index = 31 - Left = 210 - TabIndex = 18 - Top = 240 - Width = 135 - End - Begin VB.Image Channel - Appearance = 0 'Flat - BorderStyle = 1 'Fixed Single - Height = 210 - Index = 8 - Left = 390 - Picture = "vb9118.frx":0B90 - Stretch = -1 'True - Top = 240 - Width = 270 - End - Begin VB.Image Channel - Appearance = 0 'Flat - BorderStyle = 1 'Fixed Single - Height = 210 - Index = 9 - Left = 390 - Picture = "vb9118.frx":0CBA - Stretch = -1 'True - Top = 480 - Width = 270 - End - Begin VB.Image Channel - Appearance = 0 'Flat - BorderStyle = 1 'Fixed Single - Height = 210 - Index = 10 - Left = 390 - Picture = "vb9118.frx":0DE4 - Stretch = -1 'True - Top = 720 - Width = 270 - End - Begin VB.Image Channel - Appearance = 0 'Flat - BorderStyle = 1 'Fixed Single - Height = 210 - Index = 11 - Left = 390 - Picture = "vb9118.frx":0F0E - Stretch = -1 'True - Top = 960 - Width = 270 - End - Begin VB.Image Channel - Appearance = 0 'Flat - BorderStyle = 1 'Fixed Single - Height = 210 - Index = 12 - Left = 1050 - Picture = "vb9118.frx":1038 - Stretch = -1 'True - Top = 240 - Width = 270 - End - Begin VB.Image Channel - Appearance = 0 'Flat - BorderStyle = 1 'Fixed Single - Height = 210 - Index = 13 - Left = 1050 - Picture = "vb9118.frx":1162 - Stretch = -1 'True - Top = 480 - Width = 270 - End - Begin VB.Image Channel - Appearance = 0 'Flat - BorderStyle = 1 'Fixed Single - Height = 210 - Index = 14 - Left = 1050 - Picture = "vb9118.frx":128C - Stretch = -1 'True - Top = 720 - Width = 270 - End - Begin VB.Image Channel - Appearance = 0 'Flat - BorderStyle = 1 'Fixed Single - Height = 210 - Index = 15 - Left = 1050 - Picture = "vb9118.frx":13B6 - Stretch = -1 'True - Top = 960 - Width = 270 - End - End - Begin VB.Frame Channel_Frame - Appearance = 0 'Flat - BackColor = &H00C0C0C0& - Caption = "Channel" - BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851} - Name = "MS Sans Serif" - Size = 8.25 - Charset = 0 - Weight = 400 - Underline = 0 'False - Italic = 0 'False - Strikethrough = 0 'False - EndProperty - ForeColor = &H80000008& - Height = 1335 - Index = 0 - Left = 6360 - TabIndex = 19 - Top = 360 - Width = 1575 - Begin VB.Image Channel - Appearance = 0 'Flat - BorderStyle = 1 'Fixed Single - Height = 210 - Index = 7 - Left = 1080 - Picture = "vb9118.frx":14E0 - Stretch = -1 'True - Top = 960 - Width = 270 - End - Begin VB.Image Channel - Appearance = 0 'Flat - BorderStyle = 1 'Fixed Single - Height = 210 - Index = 6 - Left = 1080 - Picture = "vb9118.frx":160A - Stretch = -1 'True - Top = 720 - Width = 270 - End - Begin VB.Image Channel - Appearance = 0 'Flat - BorderStyle = 1 'Fixed Single - Height = 210 - Index = 5 - Left = 1080 - Picture = "vb9118.frx":1734 - Stretch = -1 'True - Top = 480 - Width = 270 - End - Begin VB.Image Channel - Appearance = 0 'Flat - BorderStyle = 1 'Fixed Single - Height = 210 - Index = 4 - Left = 1080 - Picture = "vb9118.frx":185E - Stretch = -1 'True - Top = 240 - Width = 270 - End - Begin VB.Image Channel - Appearance = 0 'Flat - BorderStyle = 1 'Fixed Single - Height = 210 - Index = 3 - Left = 420 - Picture = "vb9118.frx":1988 - Stretch = -1 'True - Top = 960 - Width = 270 - End - Begin VB.Image Channel - Appearance = 0 'Flat - BorderStyle = 1 'Fixed Single - Height = 210 - Index = 2 - Left = 420 - Picture = "vb9118.frx":1AB2 - Stretch = -1 'True - Top = 720 - Width = 270 - End - Begin VB.Image Channel - Appearance = 0 'Flat - BorderStyle = 1 'Fixed Single - Height = 210 - Index = 1 - Left = 420 - Picture = "vb9118.frx":1BDC - Stretch = -1 'True - Top = 480 - Width = 270 - End - Begin VB.Image Channel - Appearance = 0 'Flat - BorderStyle = 1 'Fixed Single - Height = 210 - Index = 0 - Left = 420 - Picture = "vb9118.frx":1D06 - Stretch = -1 'True - Top = 240 - Width = 270 - End - Begin VB.Label Label1 - Appearance = 0 'Flat - BackColor = &H00C0C0C0& - Caption = "0" - ForeColor = &H80000008& - Height = 195 - Index = 14 - Left = 240 - TabIndex = 20 - Top = 240 - Width = 135 - End - Begin VB.Label Label1 - Appearance = 0 'Flat - BackColor = &H00C0C0C0& - Caption = "1" - ForeColor = &H80000008& - Height = 195 - Index = 13 - Left = 240 - TabIndex = 21 - Top = 480 - Width = 135 - End - Begin VB.Label Label1 - Appearance = 0 'Flat - BackColor = &H00C0C0C0& - Caption = "2" - ForeColor = &H80000008& - Height = 195 - Index = 12 - Left = 240 - TabIndex = 22 - Top = 720 - Width = 135 - End - Begin VB.Label Label1 - Appearance = 0 'Flat - BackColor = &H00C0C0C0& - Caption = "3" - ForeColor = &H80000008& - Height = 195 - Index = 11 - Left = 240 - TabIndex = 23 - Top = 960 - Width = 135 - End - Begin VB.Label Label1 - Appearance = 0 'Flat - BackColor = &H00C0C0C0& - Caption = "4" - ForeColor = &H80000008& - Height = 195 - Index = 10 - Left = 900 - TabIndex = 24 - Top = 240 - Width = 135 - End - Begin VB.Label Label1 - Appearance = 0 'Flat - BackColor = &H00C0C0C0& - Caption = "5" - ForeColor = &H80000008& - Height = 195 - Index = 9 - Left = 900 - TabIndex = 25 - Top = 480 - Width = 135 - End - Begin VB.Label Label1 - Appearance = 0 'Flat - BackColor = &H00C0C0C0& - Caption = "6" - ForeColor = &H80000008& - Height = 195 - Index = 8 - Left = 900 - TabIndex = 26 - Top = 720 - Width = 135 - End - Begin VB.Label Label1 - Appearance = 0 'Flat - BackColor = &H00C0C0C0& - Caption = "7" - ForeColor = &H80000008& - Height = 195 - Index = 7 - Left = 900 - TabIndex = 27 - Top = 960 - Width = 135 - End - End - Begin VB.Frame AD_Frame - Appearance = 0 'Flat - BackColor = &H00C0C0C0& - Caption = "Analog Input (A/D)" - BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851} - Name = "MS Sans Serif" - Size = 9.75 - Charset = 0 - Weight = 700 - Underline = 0 'False - Italic = 0 'False - Strikethrough = 0 'False - EndProperty - ForeColor = &H00FF0000& - Height = 3255 - Left = 240 - TabIndex = 33 - Top = 0 - Width = 7935 - Begin VB.PictureBox Signal - Appearance = 0 'Flat - BackColor = &H00000000& - BorderStyle = 0 'None - ForeColor = &H80000008& - Height = 1200 - Index = 0 - Left = 900 - ScaleHeight = 80 - ScaleMode = 3 'Pixel - ScaleWidth = 333 - TabIndex = 28 - Top = 480 - Width = 4995 - End - Begin VB.PictureBox Signal - Appearance = 0 'Flat - BackColor = &H00000000& - BorderStyle = 0 'None - ForeColor = &H80000008& - Height = 1200 - Index = 1 - Left = 900 - ScaleHeight = 80 - ScaleMode = 3 'Pixel - ScaleWidth = 333 - TabIndex = 42 - Top = 1800 - Width = 4995 - End - Begin VB.Line Line1 - Index = 4 - X1 = 840 - X2 = 900 - Y1 = 1665 - Y2 = 1665 - End - Begin VB.Line Line1 - Index = 3 - X1 = 840 - X2 = 900 - Y1 = 1380 - Y2 = 1380 - End - Begin VB.Line Line1 - Index = 2 - X1 = 840 - X2 = 900 - Y1 = 1080 - Y2 = 1080 - End - Begin VB.Line Line1 - Index = 1 - X1 = 840 - X2 = 900 - Y1 = 780 - Y2 = 780 - End - Begin VB.Line Line1 - Index = 0 - X1 = 840 - X2 = 900 - Y1 = 480 - Y2 = 480 - End - Begin VB.Line Line1 - Index = 5 - X1 = 840 - X2 = 900 - Y1 = 1800 - Y2 = 1800 - End - Begin VB.Line Line1 - Index = 6 - X1 = 840 - X2 = 900 - Y1 = 2100 - Y2 = 2100 - End - Begin VB.Line Line1 - Index = 7 - X1 = 840 - X2 = 900 - Y1 = 2400 - Y2 = 2400 - End - Begin VB.Line Line1 - Index = 8 - X1 = 840 - X2 = 900 - Y1 = 2700 - Y2 = 2700 - End - Begin VB.Line Line1 - Index = 9 - X1 = 840 - X2 = 900 - Y1 = 2985 - Y2 = 2985 - End - Begin VB.Label Label1 - Alignment = 1 'Right Justify - Appearance = 0 'Flat - BackColor = &H00C0C0C0& - Caption = "-5.00" - BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851} - Name = "MS Serif" - Size = 6.75 - Charset = 0 - Weight = 400 - Underline = 0 'False - Italic = 0 'False - Strikethrough = 0 'False - EndProperty - ForeColor = &H80000008& - Height = 195 - Index = 6 - Left = 345 - TabIndex = 29 - Top = 1590 - Width = 480 - End - Begin VB.Label Label1 - Alignment = 1 'Right Justify - Appearance = 0 'Flat - BackColor = &H00C0C0C0& - Caption = "-2.50" - BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851} - Name = "MS Serif" - Size = 6.75 - Charset = 0 - Weight = 400 - Underline = 0 'False - Italic = 0 'False - Strikethrough = 0 'False - EndProperty - ForeColor = &H80000008& - Height = 195 - Index = 5 - Left = 345 - TabIndex = 30 - Top = 1350 - Width = 480 - End - Begin VB.Label Label1 - Alignment = 1 'Right Justify - Appearance = 0 'Flat - BackColor = &H00C0C0C0& - Caption = "0.00" - BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851} - Name = "MS Serif" - Size = 6.75 - Charset = 0 - Weight = 400 - Underline = 0 'False - Italic = 0 'False - Strikethrough = 0 'False - EndProperty - ForeColor = &H80000008& - Height = 195 - Index = 4 - Left = 345 - TabIndex = 31 - Top = 1050 - Width = 480 - End - Begin VB.Label Label1 - Alignment = 1 'Right Justify - Appearance = 0 'Flat - BackColor = &H00C0C0C0& - Caption = "2.50" - BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851} - Name = "MS Serif" - Size = 6.75 - Charset = 0 - Weight = 400 - Underline = 0 'False - Italic = 0 'False - Strikethrough = 0 'False - EndProperty - ForeColor = &H80000008& - Height = 195 - Index = 3 - Left = 345 - TabIndex = 32 - Top = 750 - Width = 480 - End - Begin VB.Label Label1 - Alignment = 1 'Right Justify - Appearance = 0 'Flat - BackColor = &H00C0C0C0& - Caption = "5.00" - BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851} - Name = "MS Serif" - Size = 6.75 - Charset = 0 - Weight = 400 - Underline = 0 'False - Italic = 0 'False - Strikethrough = 0 'False - EndProperty - ForeColor = &H80000008& - Height = 195 - Index = 2 - Left = 345 - TabIndex = 34 - Top = 450 - Width = 480 - End - Begin VB.Label Label1 - Appearance = 0 'Flat - BackColor = &H00C0C0C0& - Caption = "V" - BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851} - Name = "MS Sans Serif" - Size = 8.25 - Charset = 0 - Weight = 400 - Underline = 0 'False - Italic = 0 'False - Strikethrough = 0 'False - EndProperty - ForeColor = &H80000008& - Height = 195 - Index = 1 - Left = 240 - TabIndex = 35 - Top = 690 - Width = 135 - End - Begin VB.Label Label1 - Appearance = 0 'Flat - BackColor = &H00C0C0C0& - Caption = "Signals" - BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851} - Name = "MS Sans Serif" - Size = 8.25 - Charset = 0 - Weight = 400 - Underline = 0 'False - Italic = 0 'False - Strikethrough = 0 'False - EndProperty - ForeColor = &H80000008& - Height = 195 - Index = 0 - Left = 3060 - TabIndex = 36 - Top = 240 - Width = 735 - End - Begin VB.Label Label1 - Appearance = 0 'Flat - BackColor = &H00C0C0C0& - Caption = "O" - BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851} - Name = "MS Sans Serif" - Size = 8.25 - Charset = 0 - Weight = 400 - Underline = 0 'False - Italic = 0 'False - Strikethrough = 0 'False - EndProperty - ForeColor = &H80000008& - Height = 195 - Index = 15 - Left = 240 - TabIndex = 37 - Top = 1110 - Width = 135 - End - Begin VB.Label Label1 - Appearance = 0 'Flat - BackColor = &H00C0C0C0& - Caption = "L" - BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851} - Name = "MS Sans Serif" - Size = 8.25 - Charset = 0 - Weight = 400 - Underline = 0 'False - Italic = 0 'False - Strikethrough = 0 'False - EndProperty - ForeColor = &H80000008& - Height = 195 - Index = 16 - Left = 240 - TabIndex = 38 - Top = 1470 - Width = 135 - End - Begin VB.Label Label1 - Appearance = 0 'Flat - BackColor = &H00C0C0C0& - Caption = "T" - BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851} - Name = "MS Sans Serif" - Size = 8.25 - Charset = 0 - Weight = 400 - Underline = 0 'False - Italic = 0 'False - Strikethrough = 0 'False - EndProperty - ForeColor = &H80000008& - Height = 195 - Index = 17 - Left = 240 - TabIndex = 39 - Top = 1890 - Width = 135 - End - Begin VB.Label Label1 - Appearance = 0 'Flat - BackColor = &H00C0C0C0& - Caption = "S" - BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851} - Name = "MS Sans Serif" - Size = 8.25 - Charset = 0 - Weight = 400 - Underline = 0 'False - Italic = 0 'False - Strikethrough = 0 'False - EndProperty - ForeColor = &H80000008& - Height = 195 - Index = 18 - Left = 240 - TabIndex = 40 - Top = 2310 - Width = 135 - End - Begin VB.Label Label1 - Alignment = 1 'Right Justify - Appearance = 0 'Flat - BackColor = &H00C0C0C0& - Caption = "5.00" - BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851} - Name = "MS Serif" - Size = 6.75 - Charset = 0 - Weight = 400 - Underline = 0 'False - Italic = 0 'False - Strikethrough = 0 'False - EndProperty - ForeColor = &H80000008& - Height = 195 - Index = 19 - Left = 345 - TabIndex = 41 - Top = 1800 - Width = 480 - End - Begin VB.Label Label1 - Alignment = 1 'Right Justify - Appearance = 0 'Flat - BackColor = &H00C0C0C0& - Caption = "2.50" - BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851} - Name = "MS Serif" - Size = 6.75 - Charset = 0 - Weight = 400 - Underline = 0 'False - Italic = 0 'False - Strikethrough = 0 'False - EndProperty - ForeColor = &H80000008& - Height = 195 - Index = 20 - Left = 345 - TabIndex = 43 - Top = 2070 - Width = 480 - End - Begin VB.Label Label1 - Alignment = 1 'Right Justify - Appearance = 0 'Flat - BackColor = &H00C0C0C0& - Caption = "0.00" - BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851} - Name = "MS Serif" - Size = 6.75 - Charset = 0 - Weight = 400 - Underline = 0 'False - Italic = 0 'False - Strikethrough = 0 'False - EndProperty - ForeColor = &H80000008& - Height = 195 - Index = 21 - Left = 345 - TabIndex = 44 - Top = 2370 - Width = 480 - End - Begin VB.Label Label1 - Alignment = 1 'Right Justify - Appearance = 0 'Flat - BackColor = &H00C0C0C0& - Caption = "-2.50" - BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851} - Name = "MS Serif" - Size = 6.75 - Charset = 0 - Weight = 400 - Underline = 0 'False - Italic = 0 'False - Strikethrough = 0 'False - EndProperty - ForeColor = &H80000008& - Height = 195 - Index = 22 - Left = 345 - TabIndex = 45 - Top = 2670 - Width = 480 - End - Begin VB.Label Label1 - Alignment = 1 'Right Justify - Appearance = 0 'Flat - BackColor = &H00C0C0C0& - Caption = "-5.00" - BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851} - Name = "MS Serif" - Size = 6.75 - Charset = 0 - Weight = 400 - Underline = 0 'False - Italic = 0 'False - Strikethrough = 0 'False - EndProperty - ForeColor = &H80000008& - Height = 195 - Index = 23 - Left = 345 - TabIndex = 46 - Top = 2910 - Width = 480 - End - End - Begin VB.Timer Timer1 - Enabled = 0 'False - Interval = 70 - Left = 1920 - Top = 5760 - End - Begin VB.CommandButton StopBtn - Appearance = 0 'Flat - BackColor = &H80000005& - Caption = "Stop" - Enabled = 0 'False - BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851} - Name = "MS Sans Serif" - Size = 8.25 - Charset = 0 - Weight = 400 - Underline = 0 'False - Italic = 0 'False - Strikethrough = 0 'False - EndProperty - Height = 315 - Left = 3420 - TabIndex = 4 - Top = 5415 - Width = 795 - End - Begin VB.CommandButton StartBtn - Appearance = 0 'Flat - BackColor = &H80000005& - Caption = "Start" - BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851} - Name = "MS Sans Serif" - Size = 8.25 - Charset = 0 - Weight = 400 - Underline = 0 'False - Italic = 0 'False - Strikethrough = 0 'False - EndProperty - Height = 315 - Left = 2520 - TabIndex = 0 - Top = 5415 - Width = 795 - End - Begin VB.CommandButton PauseBtn - Appearance = 0 'Flat - BackColor = &H80000005& - Caption = "Pause" - Enabled = 0 'False - BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851} - Name = "MS Sans Serif" - Size = 8.25 - Charset = 0 - Weight = 400 - Underline = 0 'False - Italic = 0 'False - Strikethrough = 0 'False - EndProperty - Height = 315 - Left = 4320 - TabIndex = 1 - Top = 5415 - Width = 795 - End - Begin VB.Label Label2 - Appearance = 0 'Flat - BackColor = &H00C0C0C0& - Caption = " 3 2 1 0" - ForeColor = &H80000008& - Height = 195 - Left = 240 - TabIndex = 9 - Top = 4080 - Width = 5775 - End - Begin VB.Image Image0 - Appearance = 0 'Flat - Height = 300 - Left = 2400 - Picture = "vb9118.frx":1E30 - Top = 5820 - Visible = 0 'False - Width = 300 - End - Begin VB.Image Image1 - Appearance = 0 'Flat - Height = 300 - Left = 2700 - Picture = "vb9118.frx":1FA2 - Top = 5820 - Visible = 0 'False - Width = 300 - End - Begin VB.Image ChDn - Appearance = 0 'Flat - Height = 210 - Index = 0 - Left = -180 - Picture = "vb9118.frx":2114 - Top = 5760 - Visible = 0 'False - Width = 270 - End - Begin VB.Image ChDn - Appearance = 0 'Flat - Height = 210 - Index = 1 - Left = 60 - Picture = "vb9118.frx":223E - Top = 5760 - Visible = 0 'False - Width = 270 - End - Begin VB.Image ChDn - Appearance = 0 'Flat - Height = 210 - Index = 2 - Left = 300 - Picture = "vb9118.frx":2368 - Top = 5760 - Visible = 0 'False - Width = 270 - End - Begin VB.Image ChDn - Appearance = 0 'Flat - Height = 210 - Index = 3 - Left = 540 - Picture = "vb9118.frx":2492 - Top = 5760 - Visible = 0 'False - Width = 270 - End - Begin VB.Image ChDn - Appearance = 0 'Flat - Height = 210 - Index = 4 - Left = 780 - Picture = "vb9118.frx":25BC - Top = 5760 - Visible = 0 'False - Width = 270 - End - Begin VB.Image ChDn - Appearance = 0 'Flat - Height = 210 - Index = 5 - Left = 1020 - Picture = "vb9118.frx":26E6 - Top = 5760 - Visible = 0 'False - Width = 270 - End - Begin VB.Image ChDn - Appearance = 0 'Flat - Height = 210 - Index = 6 - Left = 1260 - Picture = "vb9118.frx":2810 - Top = 5760 - Visible = 0 'False - Width = 270 - End - Begin VB.Image ChDn - Appearance = 0 'Flat - Height = 210 - Index = 7 - Left = 1500 - Picture = "vb9118.frx":293A - Top = 5760 - Visible = 0 'False - Width = 270 - End - Begin VB.Image ChUp - Appearance = 0 'Flat - Height = 210 - Index = 0 - Left = -180 - Picture = "vb9118.frx":2A64 - Top = 5940 - Visible = 0 'False - Width = 270 - End - Begin VB.Image ChUp - Appearance = 0 'Flat - Height = 210 - Index = 1 - Left = 60 - Picture = "vb9118.frx":2B8E - Top = 5940 - Visible = 0 'False - Width = 270 - End - Begin VB.Image ChUp - Appearance = 0 'Flat - Height = 210 - Index = 2 - Left = 300 - Picture = "vb9118.frx":2CB8 - Top = 5940 - Visible = 0 'False - Width = 270 - End - Begin VB.Image ChUp - Appearance = 0 'Flat - Height = 210 - Index = 3 - Left = 540 - Picture = "vb9118.frx":2DE2 - Top = 5940 - Visible = 0 'False - Width = 270 - End - Begin VB.Image ChUp - Appearance = 0 'Flat - Height = 210 - Index = 4 - Left = 780 - Picture = "vb9118.frx":2F0C - Top = 5940 - Visible = 0 'False - Width = 270 - End - Begin VB.Image ChUp - Appearance = 0 'Flat - Height = 210 - Index = 5 - Left = 1020 - Picture = "vb9118.frx":3036 - Top = 5940 - Visible = 0 'False - Width = 270 - End - Begin VB.Image ChUp - Appearance = 0 'Flat - Height = 210 - Index = 6 - Left = 1260 - Picture = "vb9118.frx":3160 - Top = 5940 - Visible = 0 'False - Width = 270 - End - Begin VB.Image ChUp - Appearance = 0 'Flat - Height = 210 - Index = 7 - Left = 1500 - Picture = "vb9118.frx":328A - Top = 5940 - Visible = 0 'False - Width = 270 - End -End -Attribute VB_Name = "util9118" -Attribute VB_Creatable = False -Attribute VB_Exposed = False -Option Explicit - -Dim PrevP(15) As Long -Dim ChannelOn(15) As Long -Dim SignalColor(15) As Long -Dim range_value(8) As Integer -Dim Active As Long -Dim NewStart As Long -Dim status(15) As Long -Dim angle As Single -Dim sq As Integer -Dim gnAddr As Long -Dim gnIrq As Long -Dim gnDoValue As Long - -Const SINE_WAVE = 0 -Const SQUARE_WAVE = 1 -Const Pi = 3.14159 - -Private Sub Channel_Click(Index As Integer) - If ChannelOn(Index) Then - If Index < 8 Then - Channel(Index) = ChUp(Index) - Else - Channel(Index) = ChUp(Index - 8) - End If - Else - If Index < 8 Then - Channel(Index) = ChDn(Index) - Else - Channel(Index) = ChDn(Index - 8) - End If - End If - ChannelOn(Index) = Not ChannelOn(Index) -End Sub - -Sub Combo1_Change() -End Sub - -Private Sub DOP_Click(Index As Integer) - Dim i As Integer - Dim v As Integer, d As Long - Dim do_data As Integer - If Active Then - If status(Index) = 1 Then - DOP(Index) = Image0 - status(Index) = 0 - d = 1 - For i = 1 To Index - d = d * 2 - Next - gnDoValue = gnDoValue - d - Else - DOP(Index) = Image1 - status(Index) = 1 - d = 1 - For i = 1 To Index - d = d * 2 - Next - gnDoValue = gnDoValue + d - End If - 'translate unsigned value to signed integer - If (gnDoValue > 32767) Then - do_data = gnDoValue - 65536 - Else - do_data = gnDoValue - End If - 'v = W_9118_DO(0, do_data) - v = DO_WritePort(card, 0, gnDoValue) - End If -End Sub - -Private Sub ExitBtn_Click() - Dim result As Integer - If card >= 0 Then - result = Release_Card(card) - End If - End -End Sub - -Private Sub Form_Load() - Dim result As Integer - Dim i As Integer - - SettingForm.Show 1 - If card < 0 Then - MsgBox "Register card failed." - End - End If - - For i = 0 To 15 - PrevP(i) = -1 - ChannelOn(i) = False - Next - For i = 0 To 15 - status(i) = 0 - Next - NewStart = True - Active = False - - gnDoValue = 0 - result = DO_WritePort(card, 0, gnDoValue) - - gain.AddItem "+/- 5V" - gain.AddItem "+/- 2.5V" - gain.AddItem "+/- 1.25V" - gain.AddItem "+/- 0.625V" - gain.AddItem "0 ~ 10V" - gain.AddItem "0 ~ 5V" - gain.AddItem "0 ~ 2.5V" - gain.AddItem "0 ~ 1.25V" - - range_value(0) = 2 - range_value(1) = 3 - range_value(2) = 4 - range_value(3) = 5 - range_value(4) = 15 - range_value(5) = 16 - range_value(6) = 17 - range_value(7) = 18 - - gain.ListIndex = 0 - - DA_Wave.AddItem "Sine Wave" - DA_Wave.AddItem "Square Wave" - DA_Wave.ListIndex = 0 - - SignalColor(0) = &HFFFF& - SignalColor(1) = &H8000& - SignalColor(2) = &HFF0000 - SignalColor(3) = &HFF& - SignalColor(4) = &HFFFF00 - SignalColor(5) = &HFF00FF - SignalColor(6) = &HFF00& - SignalColor(7) = &HFFFFFF - SignalColor(8) = &HFFFF& - SignalColor(9) = &H8000& - SignalColor(10) = &HFF0000 - SignalColor(11) = &HFF& - SignalColor(12) = &HFFFF00 - SignalColor(13) = &HFF00FF - SignalColor(14) = &HFF00& - SignalColor(15) = &HFFFFFF - -End Sub - -Private Sub Form_Unload(Cancel As Integer) -Dim result As Integer - If card >= 0 Then - result = Release_Card(card) - End If -End Sub - - -Private Sub Gain_Click() - Dim result As Long - Scale_Change gain.ListIndex -End Sub - - - - - - - - - - - - - -Private Sub PauseBtn_Click() - Timer1.Enabled = False - Active = False - NewStart = False - StartBtn.Enabled = True - PauseBtn.Enabled = False - -End Sub - - - - -Private Sub StartBtn_Click() - StartBtn.Enabled = False - StopBtn.Enabled = True - PauseBtn.Enabled = True - - Active = True - - If NewStart Then - Signal(0).Cls - Signal(1).Cls - gnDoValue = 0 - angle = 0 - sq = 0 - End If - - Timer1.Enabled = True - -End Sub - -Private Sub StopBtn_Click() - Dim i As Integer - Timer1.Enabled = False - For i = 0 To 3 - PrevP(i) = -1 - Next - For i = 0 To 3 - status(i) = 0 - DOP(i) = Image0 - Next - i = DO_WritePort(card, 0, 0) - Active = False - NewStart = True - StartBtn.Enabled = True - StopBtn.Enabled = False - PauseBtn.Enabled = False - -End Sub - -Private Sub Timer1_Timer() - Dim result As Integer - Dim i As Integer, j As Integer, d As Integer - Dim l As Long - Dim di_data As Long - Dim p As Integer - Dim m As Single - Static vt(15) As Variant - -' Do While Contd -'Analog-Digital Input - result = BitBlt(Signal(0).hDC, 4, 0, Signal(0).Width / Screen.TwipsPerPixelX, Signal(0).Height / Screen.TwipsPerPixelY, Signal(0).hDC, 0, 0, SRCCOPY) - result = BitBlt(Signal(1).hDC, 4, 0, Signal(1).Width / Screen.TwipsPerPixelX, Signal(1).Height / Screen.TwipsPerPixelY, Signal(1).hDC, 0, 0, SRCCOPY) - For i = 0 To 15 - If ChannelOn(i) Then - If range_value(gain.ListIndex) >= 14 Then - result = AI_9118_Config(0, P9118_AI_UniPolar, 0, 0, 0) - Else - result = AI_9118_Config(0, P9118_AI_BiPolar, 0, 0, 0) - End If - result = AI_ReadChannel(card, i, range_value(gain.ListIndex), d) - l = d - If card_type = PCI_9118HR Then - If i < 8 Then - p = (32767 - CSng(l)) / 65535 * (Signal(0).Height / Screen.TwipsPerPixelY - 2) - If PrevP(i) <> -1 Then Signal(0).Line (4, p)-(8, PrevP(i)), SignalColor(i) - Else - p = (32767 - CSng(l)) / 65535 * (Signal(1).Height / Screen.TwipsPerPixelY - 2) - If PrevP(i) <> -1 Then - Signal(1).Line (4, p)-(8, PrevP(i)), SignalColor(i) - End If - End If - Else - If l < 0 Then - l = l + 65536 - End If - l = (l And &HFFF0) / 16 - If i < 8 Then - p = (4095 - CSng(l)) / 4095 * (Signal(0).Height / Screen.TwipsPerPixelY - 2) - If PrevP(i) <> -1 Then Signal(0).Line (4, p)-(8, PrevP(i)), SignalColor(i) - Else - p = (4095 - CSng(l)) / 4095 * (Signal(1).Height / Screen.TwipsPerPixelY - 2) - If PrevP(i) <> -1 Then - Signal(1).Line (4, p)-(8, PrevP(i)), SignalColor(i) - End If - End If - End If - PrevP(i) = p - End If - Next i - -'Digital Input - result = DI_ReadPort(card, 0, l) - 'If (l < 0) Then - 'di_data = l + 65536 - 'Else - di_data = l - 'End If - For i = 0 To 3 - p = di_data Mod 2 - If p = 0 Then - DI(i) = Image0 - Else 'p = 1 - DI(i) = Image1 - End If - di_data = CLng(Fix(di_data / 2)) - Next i - -'Analog Output - Select Case DA_Wave.ListIndex - Case SINE_WAVE: - m = Sin(angle) / 2 - angle = angle + Pi / 36 - p = CInt(m * 2048 + 2048) - If p >= 4096 Then p = 4095 - result = AO_WriteChannel(card, 0, p) - result = AO_WriteChannel(card, 1, p) - Case SQUARE_WAVE: - result = AO_WriteChannel(card, 0, sq) - result = AO_WriteChannel(card, 1, sq) - If (angle Mod 36) = 0 Then - If sq = 0 Then sq = 3070 Else sq = 0 - End If - angle = angle + 1 - End Select -End Sub - - - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9118/VB9118Dma/Vb9118d.vbp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9118/VB9118Dma/Vb9118d.vbp deleted file mode 100644 index ee67380..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9118/VB9118Dma/Vb9118d.vbp +++ /dev/null @@ -1,20 +0,0 @@ -Form=vb9118d.Frm -Module=DASK; ..\..\..\Include\Dask.bas -Reference=*\G{00025E04-0000-0000-C000-000000000046}#2.5#0#D:\Program Files\Common Files\Microsoft Shared\DD:\Program Fil#Microsoft DAO 2.5/3.0 Compatibility Library -ProjWinSize=102,550,191,215 -ProjWinShow=2 -IconForm="dma9118" -HelpFile="" -Title="9118DMA" -ExeName32="9118Dma.exe" -ExeName="9118DMA.EXE" -Name="vb49118dma" -HelpContextID="0" -StartMode=0 -VersionCompatible32="0" -MajorVer=1 -MinorVer=0 -RevisionVer=0 -AutoIncrementVer=0 -ServerSupportFiles=0 -VersionCompanyName="ADLink" diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9118/VB9118Dma/W_EVENT.BAS b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9118/VB9118Dma/W_EVENT.BAS deleted file mode 100644 index f1d6748..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9118/VB9118Dma/W_EVENT.BAS +++ /dev/null @@ -1,3 +0,0 @@ -Option Explicit - -Declare Function WaitForSingleObject Lib "kernel32" Alias "WaitForSingleObject" (ByVal hHandle As Long, ByVal dwMilliseconds As Long) As Long \ No newline at end of file diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9118/VB9118Dma/vb9118d.Frm b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9118/VB9118Dma/vb9118d.Frm deleted file mode 100644 index 7b01803..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9118/VB9118Dma/vb9118d.Frm +++ /dev/null @@ -1,471 +0,0 @@ -VERSION 4.00 -Begin VB.Form dma9118 - Appearance = 0 'Flat - BackColor = &H00C0C0C0& - Caption = "9118 DMA" - ClientHeight = 4905 - ClientLeft = 2070 - ClientTop = 1545 - ClientWidth = 7665 - BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851} - Name = "MS Sans Serif" - Size = 8.25 - Charset = 0 - Weight = 700 - Underline = 0 'False - Italic = 0 'False - Strikethrough = 0 'False - EndProperty - ForeColor = &H0000FFFF& - Height = 5310 - Left = 2010 - LinkTopic = "Form1" - ScaleHeight = 4905 - ScaleWidth = 7665 - Top = 1200 - Width = 7785 - Begin VB.CommandButton btnExit - Appearance = 0 'Flat - BackColor = &H80000005& - Caption = "Exit" - Height = 500 - Left = 6120 - TabIndex = 4 - Top = 4080 - Width = 1000 - End - Begin VB.CommandButton btnStart - Appearance = 0 'Flat - BackColor = &H80000005& - Caption = "Start" - Height = 500 - Left = 4680 - TabIndex = 3 - Top = 4080 - Width = 1000 - End - Begin VB.Frame frmData - Appearance = 0 'Flat - BackColor = &H00C0C0C0& - Caption = "Buffer Size" - ForeColor = &H00FF0000& - Height = 615 - Left = 2160 - TabIndex = 2 - Top = 3960 - Width = 1935 - Begin VB.ComboBox cobData - Appearance = 0 'Flat - Height = 315 - Left = 120 - Style = 2 'Dropdown List - TabIndex = 15 - Top = 240 - Width = 975 - End - Begin VB.Label labData - Appearance = 0 'Flat - BackColor = &H00C0C0C0& - Caption = "Samples" - ForeColor = &H0000FFFF& - Height = 255 - Left = 1155 - TabIndex = 16 - Top = 255 - Width = 720 - End - End - Begin VB.Frame frmSample - Appearance = 0 'Flat - BackColor = &H00C0C0C0& - Caption = "Sampling Rate" - ForeColor = &H00FF0000& - Height = 615 - Left = 120 - TabIndex = 1 - Top = 3960 - Width = 1700 - Begin VB.ComboBox cobSample - Appearance = 0 'Flat - Height = 315 - Left = 120 - Style = 2 'Dropdown List - TabIndex = 14 - Top = 240 - Width = 975 - End - Begin VB.Label Label1 - Appearance = 0 'Flat - BackColor = &H00C0C0C0& - Caption = "KHz" - ForeColor = &H0000FFFF& - Height = 255 - Left = 1150 - TabIndex = 17 - Top = 260 - Width = 450 - End - End - Begin VB.Frame dmaFrame - Appearance = 0 'Flat - BackColor = &H00C0C0C0& - Caption = "DMA Input(A/D)" - ForeColor = &H00FF0000& - Height = 3375 - Left = 120 - TabIndex = 0 - Top = 120 - Width = 7455 - Begin VB.Frame Card_Frame - Caption = "Card Number" - ForeColor = &H00FF0000& - Height = 615 - Left = 5880 - TabIndex = 18 - Top = 2520 - Width = 1455 - Begin VB.ComboBox Card_num - Height = 315 - Left = 120 - TabIndex = 19 - Text = "Number" - Top = 240 - Width = 1215 - End - End - Begin VB.Frame frmChannel - Appearance = 0 'Flat - BackColor = &H00C0C0C0& - Caption = "AD Channel" - ForeColor = &H00FF0000& - Height = 1755 - Left = 5880 - TabIndex = 6 - Top = 480 - Width = 1380 - Begin VB.OptionButton optChn - Caption = "7" - Height = 255 - Index = 7 - Left = 780 - TabIndex = 27 - Top = 1260 - Width = 435 - End - Begin VB.OptionButton optChn - Caption = "6" - Height = 255 - Index = 6 - Left = 780 - TabIndex = 26 - Top = 960 - Width = 435 - End - Begin VB.OptionButton optChn - Caption = "5" - Height = 255 - Index = 5 - Left = 780 - TabIndex = 25 - Top = 660 - Width = 435 - End - Begin VB.OptionButton optChn - Caption = "4" - Height = 255 - Index = 4 - Left = 780 - TabIndex = 24 - Top = 360 - Width = 435 - End - Begin VB.OptionButton optChn - Caption = "3" - Height = 255 - Index = 3 - Left = 180 - TabIndex = 23 - Top = 1260 - Width = 435 - End - Begin VB.OptionButton optChn - Caption = "2" - Height = 255 - Index = 2 - Left = 180 - TabIndex = 22 - Top = 960 - Width = 435 - End - Begin VB.OptionButton optChn - Caption = "1" - Height = 255 - Index = 1 - Left = 180 - TabIndex = 21 - Top = 660 - Width = 435 - End - Begin VB.OptionButton optChn - Caption = "0" - Height = 255 - Index = 0 - Left = 180 - TabIndex = 20 - Top = 360 - Value = -1 'True - Width = 435 - End - End - Begin VB.PictureBox picScreen - Appearance = 0 'Flat - AutoRedraw = -1 'True - BackColor = &H00000000& - ForeColor = &H80000008& - Height = 2700 - Left = 720 - ScaleHeight = 178 - ScaleMode = 3 'Pixel - ScaleWidth = 331 - TabIndex = 5 - Top = 480 - Width = 5000 - End - Begin VB.Label labValue - Alignment = 1 'Right Justify - Appearance = 0 'Flat - BackColor = &H00C0C0C0& - Caption = "-5.00" - ForeColor = &H0000FFFF& - Height = 255 - Index = 4 - Left = 120 - TabIndex = 13 - Top = 3045 - Width = 600 - End - Begin VB.Label labValue - Alignment = 1 'Right Justify - Appearance = 0 'Flat - BackColor = &H00C0C0C0& - Caption = "-2.50" - ForeColor = &H0000FFFF& - Height = 255 - Index = 3 - Left = 120 - TabIndex = 12 - Top = 2400 - Width = 600 - End - Begin VB.Label labValue - Alignment = 1 'Right Justify - Appearance = 0 'Flat - BackColor = &H00C0C0C0& - Caption = "0.00" - ForeColor = &H0000FFFF& - Height = 255 - Index = 2 - Left = 120 - TabIndex = 11 - Top = 1740 - Width = 615 - End - Begin VB.Label labValue - Alignment = 1 'Right Justify - Appearance = 0 'Flat - BackColor = &H00C0C0C0& - Caption = "2.50" - ForeColor = &H0000FFFF& - Height = 255 - Index = 1 - Left = 120 - TabIndex = 10 - Top = 1065 - Width = 615 - End - Begin VB.Label labValue - Alignment = 1 'Right Justify - Appearance = 0 'Flat - BackColor = &H00C0C0C0& - Caption = "5.00" - ForeColor = &H0000FFFF& - Height = 255 - Index = 0 - Left = 120 - TabIndex = 9 - Top = 420 - Width = 615 - End - Begin VB.Label labVots - Appearance = 0 'Flat - BackColor = &H00C0C0C0& - Caption = "Vots" - ForeColor = &H0000FFFF& - Height = 255 - Left = 120 - TabIndex = 8 - Top = 200 - Width = 495 - End - Begin VB.Label labSignal - Appearance = 0 'Flat - BackColor = &H00C0C0C0& - Caption = "Signals" - ForeColor = &H0000FFFF& - Height = 300 - Left = 2800 - TabIndex = 7 - Top = 200 - Width = 780 - End - End -End -Attribute VB_Name = "dma9118" -Attribute VB_Creatable = False -Attribute VB_Exposed = False -Dim gnADChn As Long -Dim gnCount As Long -Dim gnC2 As Long -Dim gnBuffer(4000) As Integer -Dim card As Integer -Dim nRate As Long -Dim range As Integer -Dim card_number As Integer - -Private Sub btnExit_Click() - If card >= 0 Then Release_Card (card) - End -End Sub - -Private Sub btnStart_Click() - Dim result As Integer - Dim half_ready As Byte - Dim access_cnt As Long - - If card < 0 Then - card_num.Enabled = False - card = Register_Card(PCI_9118DG, card_number) - If card < 0 Then - MsgBox "Register Card Failed" - End - End If - End If - result = AI_9118_Config(card, P9118_AI_BiPolar Or P9118_AI_SingEnded, 0, 0, 0) - result = AI_AsyncDblBufferMode(card, 0) - result = AI_ContReadChannel(card, gnADChn, range, gnBuffer(0), gnCount, CSng(nRate * 1000), SYNCH_OP) - btnStart.Enabled = True - ShowData (gnCount) -End Sub - - -Private Sub card_DragDrop(Source As Control, X As Single, Y As Single) - -End Sub - -Private Sub card_num_Click() - card_number = Val(Trim$(card_num)) -End Sub - - -Private Sub cobData_Click() - gnCount = Val(Trim$(cobData)) -End Sub - -Private Sub cobSample_Click() - nRate = Val(Trim$(cobSample)) -End Sub - -Private Sub Form_Load() - - card_num.AddItem "0" - card_num.AddItem "1" - card_num.AddItem "2" - card_num.AddItem "3" - card_num.AddItem "4" - card_num.AddItem "5" - card_num.AddItem "6" - card_num.AddItem "7" - card_num.AddItem "8" - card_num.AddItem "9" - card_num.AddItem "10" - card_num.AddItem "11" - card_num.AddItem "12" - card_num.AddItem "13" - card_num.AddItem "14" - card_num.AddItem "15" - - card_num.ListIndex = 0 - - cobData.AddItem "500" - cobData.AddItem "1000" - cobData.AddItem "2000" - cobData.AddItem "3000" - cobData.AddItem "4000" - - cobData.ListIndex = 0 - - cobSample.AddItem "10" - cobSample.AddItem "20" - cobSample.AddItem "30" - cobSample.AddItem "40" - cobSample.AddItem "50" - cobSample.AddItem "70" - cobSample.AddItem "90" - cobSample.AddItem "100" - - cobSample.ListIndex = 0 - - gnADChn = 0 - card = -1 - 'Range values - range = AD_B_5_V - -End Sub - -Private Sub Form_Unload(Cancel As Integer) - If card >= 0 Then Release_Card (card) -End Sub - - -Private Sub optChn_Click(Index As Integer) - gnADChn = Index -End Sub - -Private Sub ShowData(count As Integer) - Dim i As Integer, last As Integer, total As Integer - Dim x1 As Integer, y1 As Integer, x2 As Integer, y2 As Integer - Dim w As Long, h As Long, data As Long - - picScreen.Cls - last = count - w = picScreen.ScaleWidth - h = picScreen.ScaleHeight - 'gnBuffer contains 16-bit data, the 4 LSB is channel# - 'VB's integer is signed integer, its range is -32768 to 32767 - 'We change the range to 0 to 65535 - If gnBuffer(0) >= 0 Then - data = gnBuffer(0) - Else - data = gnBuffer(0) + 65536 - End If - x1 = (last * w) / count - y1 = h - ((((data And &HFFF0) / 16) * h) / 4096) - last = last - 1 - - While (last > 0) - If gnBuffer(count - last) >= 0 Then - data = gnBuffer(count - last) - Else - data = gnBuffer(count - last) + 65536 - End If - x2 = (last * w) / count - y2 = h - ((((data And &HFFF0) / 16) * h) / 4096) - last = last - 1 - picScreen.Line (x1, y1)-(x2, y2), &HFFFF& - x1 = x2 - y1 = y2 - Wend -End Sub - - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9118/VB9118Hg/0.BMP b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9118/VB9118Hg/0.BMP deleted file mode 100644 index 8c61da7..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9118/VB9118Hg/0.BMP and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9118/VB9118Hg/1.BMP b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9118/VB9118Hg/1.BMP deleted file mode 100644 index d049f03..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9118/VB9118Hg/1.BMP and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9118/VB9118Hg/9118glbl.Bas b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9118/VB9118Hg/9118glbl.Bas deleted file mode 100644 index cbbb4b1..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9118/VB9118Hg/9118glbl.Bas +++ /dev/null @@ -1,69 +0,0 @@ -Attribute VB_Name = "Module1" -Option Explicit - -Declare Function BitBlt Lib "GDI32" (ByVal hDestDC As Long, ByVal X As Long, ByVal Y As Long, ByVal nWidth As Long, ByVal nHeight As Long, ByVal hSrcDC As Long, ByVal XSrc As Long, ByVal YSrc As Long, ByVal dwRop As Long) As Long - -Global Const SRCCOPY = &HCC0020 ' (DWORD) dest = source -Global card As Integer -Global card_number As Integer - -Sub Scale_Change(ByVal g As Long) - Select Case g - Case 0 - util9118.Label1(2).Caption = "5.0" - util9118.Label1(3).Caption = "2.5" - util9118.Label1(4).Caption = "0.0" - util9118.Label1(5).Caption = "-2.5" - util9118.Label1(6).Caption = "-5.0" - Case 1 - util9118.Label1(2).Caption = "0.50" - util9118.Label1(3).Caption = "0.25" - util9118.Label1(4).Caption = "0.00" - util9118.Label1(5).Caption = "-0.25" - util9118.Label1(6).Caption = "-0.50" - Case 2 - util9118.Label1(2).Caption = "0.050" - util9118.Label1(3).Caption = "0.025" - util9118.Label1(4).Caption = "0.00" - util9118.Label1(5).Caption = "-0.025" - util9118.Label1(6).Caption = "-0.050" - Case 3 - util9118.Label1(2).Caption = "0.0050" - util9118.Label1(3).Caption = "0.0025" - util9118.Label1(4).Caption = "0.0000" - util9118.Label1(5).Caption = "-0.0025" - util9118.Label1(6).Caption = "-0.0050" - Case 4 - util9118.Label1(2).Caption = "10.00" - util9118.Label1(3).Caption = "7.500" - util9118.Label1(4).Caption = "5.000" - util9118.Label1(5).Caption = "2.500" - util9118.Label1(6).Caption = "0.000" - Case 5 - util9118.Label1(2).Caption = "1.000" - util9118.Label1(3).Caption = "0.750" - util9118.Label1(4).Caption = "0.500" - util9118.Label1(5).Caption = "0.250" - util9118.Label1(6).Caption = "0.000" - Case 6 - util9118.Label1(2).Caption = "0.100" - util9118.Label1(3).Caption = "0.075" - util9118.Label1(4).Caption = "0.050" - util9118.Label1(5).Caption = "0.025" - util9118.Label1(6).Caption = "0.000" - Case 7 - util9118.Label1(2).Caption = "0.0100" - util9118.Label1(3).Caption = "0.0075" - util9118.Label1(4).Caption = "0.0050" - util9118.Label1(5).Caption = "0.0025" - util9118.Label1(6).Caption = "0.0000" - End Select - - util9118.Label1(19).Caption = util9118.Label1(2).Caption - util9118.Label1(20).Caption = util9118.Label1(3).Caption - util9118.Label1(21).Caption = util9118.Label1(4).Caption - util9118.Label1(22).Caption = util9118.Label1(5).Caption - util9118.Label1(23).Caption = util9118.Label1(6).Caption - -End Sub - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9118/VB9118Hg/Base9118.frm b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9118/VB9118Hg/Base9118.frm deleted file mode 100644 index 5beb1a7..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9118/VB9118Hg/Base9118.frm +++ /dev/null @@ -1,99 +0,0 @@ -VERSION 4.00 -Begin VB.Form SettingForm - Appearance = 0 'Flat - BackColor = &H00C0C0C0& - Caption = "Card Number Setting" - ClientHeight = 1275 - ClientLeft = 4590 - ClientTop = 4545 - ClientWidth = 2820 - BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851} - Name = "MS Sans Serif" - Size = 8.25 - Charset = 0 - Weight = 700 - Underline = 0 'False - Italic = 0 'False - Strikethrough = 0 'False - EndProperty - ForeColor = &H80000008& - Height = 1680 - Left = 4530 - LinkTopic = "Form2" - ScaleHeight = 1275 - ScaleWidth = 2820 - Top = 4200 - Width = 2940 - Begin VB.CommandButton OKBtn - Appearance = 0 'Flat - BackColor = &H80000005& - Caption = "OK" - Default = -1 'True - Height = 315 - Left = 300 - TabIndex = 0 - Top = 720 - Width = 915 - End - Begin VB.CommandButton CancelBtn - Appearance = 0 'Flat - BackColor = &H80000005& - Cancel = -1 'True - Caption = "Cancel" - Height = 315 - Left = 1380 - TabIndex = 3 - Top = 720 - Width = 915 - End - Begin VB.ComboBox CardNum - Appearance = 0 'Flat - Height = 300 - Left = 1440 - Style = 2 'Dropdown List - TabIndex = 2 - Top = 120 - Width = 1035 - End - Begin VB.Label Label2 - Appearance = 0 'Flat - BackColor = &H00C0C0C0& - Caption = "Card Number:" - ForeColor = &H00000000& - Height = 195 - Index = 0 - Left = 180 - TabIndex = 1 - Top = 180 - Width = 1275 - End -End -Attribute VB_Name = "SettingForm" -Attribute VB_Creatable = False -Attribute VB_Exposed = False - - -Private Sub BaseAddr_Change() - -End Sub - - -Private Sub CancelBtn_Click() - Unload SettingForm -End Sub - -Private Sub Form_Load() - Dim i As Long - For i = 0 To 15 Step 1 - CardNum.AddItem i - Next - CardNum.ListIndex = 0 -End Sub - -Private Sub OKBtn_Click() - card = -1 - card_number = CardNum.ListIndex - card = Register_Card(PCI_9118HG, card_number) - Unload SettingForm -End Sub - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9118/VB9118Hg/C0_DN.BMP b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9118/VB9118Hg/C0_DN.BMP deleted file mode 100644 index 675b60a..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9118/VB9118Hg/C0_DN.BMP and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9118/VB9118Hg/C0_UP.BMP b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9118/VB9118Hg/C0_UP.BMP deleted file mode 100644 index bf0b3fd..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9118/VB9118Hg/C0_UP.BMP and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9118/VB9118Hg/C1_DN.BMP b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9118/VB9118Hg/C1_DN.BMP deleted file mode 100644 index bfe065a..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9118/VB9118Hg/C1_DN.BMP and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9118/VB9118Hg/C1_UP.BMP b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9118/VB9118Hg/C1_UP.BMP deleted file mode 100644 index 7d0f155..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9118/VB9118Hg/C1_UP.BMP and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9118/VB9118Hg/C2_DN.BMP b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9118/VB9118Hg/C2_DN.BMP deleted file mode 100644 index edf3e0f..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9118/VB9118Hg/C2_DN.BMP and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9118/VB9118Hg/C2_UP.BMP b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9118/VB9118Hg/C2_UP.BMP deleted file mode 100644 index 78caf37..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9118/VB9118Hg/C2_UP.BMP and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9118/VB9118Hg/C3_DN.BMP b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9118/VB9118Hg/C3_DN.BMP deleted file mode 100644 index e060b45..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9118/VB9118Hg/C3_DN.BMP and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9118/VB9118Hg/C3_UP.BMP b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9118/VB9118Hg/C3_UP.BMP deleted file mode 100644 index 02dd3c6..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9118/VB9118Hg/C3_UP.BMP and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9118/VB9118Hg/C4_DN.BMP b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9118/VB9118Hg/C4_DN.BMP deleted file mode 100644 index 7c4a80f..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9118/VB9118Hg/C4_DN.BMP and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9118/VB9118Hg/C4_UP.BMP b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9118/VB9118Hg/C4_UP.BMP deleted file mode 100644 index 5295b36..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9118/VB9118Hg/C4_UP.BMP and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9118/VB9118Hg/C5_DN.BMP b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9118/VB9118Hg/C5_DN.BMP deleted file mode 100644 index 6b06f36..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9118/VB9118Hg/C5_DN.BMP and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9118/VB9118Hg/C5_UP.BMP b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9118/VB9118Hg/C5_UP.BMP deleted file mode 100644 index 775143b..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9118/VB9118Hg/C5_UP.BMP and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9118/VB9118Hg/C6_DN.BMP b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9118/VB9118Hg/C6_DN.BMP deleted file mode 100644 index 62b6de7..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9118/VB9118Hg/C6_DN.BMP and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9118/VB9118Hg/C6_UP.BMP b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9118/VB9118Hg/C6_UP.BMP deleted file mode 100644 index 5e50a6c..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9118/VB9118Hg/C6_UP.BMP and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9118/VB9118Hg/C7_DN.BMP b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9118/VB9118Hg/C7_DN.BMP deleted file mode 100644 index abe1fe0..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9118/VB9118Hg/C7_DN.BMP and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9118/VB9118Hg/C7_UP.BMP b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9118/VB9118Hg/C7_UP.BMP deleted file mode 100644 index 3f2299a..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9118/VB9118Hg/C7_UP.BMP and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9118/VB9118Hg/TUNER.BMP b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9118/VB9118Hg/TUNER.BMP deleted file mode 100644 index c063a49..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9118/VB9118Hg/TUNER.BMP and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9118/VB9118Hg/VB9118.FRX b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9118/VB9118Hg/VB9118.FRX deleted file mode 100644 index cf4e090..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9118/VB9118Hg/VB9118.FRX and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9118/VB9118Hg/Vb9118.vbp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9118/VB9118Hg/Vb9118.vbp deleted file mode 100644 index 180887a..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9118/VB9118Hg/Vb9118.vbp +++ /dev/null @@ -1,22 +0,0 @@ -Form=vb9118.Frm -Module=DASK; ..\..\..\Include\Dask.bas -Module=Module1; 9118glbl.Bas -Form=Base9118.frm -Reference=*\G{00025E04-0000-0000-C000-000000000046}#2.5#0#D:\Program Files\Common Files\Microsoft Shared\DD:\Program Fil#Microsoft DAO 2.5/3.0 Compatibility Library -ProjWinSize=82,551,192,215 -ProjWinShow=2 -IconForm="util9118" -HelpFile="" -Title="UTIL9118" -ExeName32="vb9118.exe" -ExeName="9118.EXE" -Name="vb4projectUtil9118" -HelpContextID="0" -StartMode=0 -VersionCompatible32="0" -MajorVer=1 -MinorVer=0 -RevisionVer=0 -AutoIncrementVer=0 -ServerSupportFiles=0 -VersionCompanyName="III" diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9118/VB9118Hg/vb9118.Frm b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9118/VB9118Hg/vb9118.Frm deleted file mode 100644 index 8814540..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9118/VB9118Hg/vb9118.Frm +++ /dev/null @@ -1,1669 +0,0 @@ -VERSION 4.00 -Begin VB.Form util9118 - Appearance = 0 'Flat - BackColor = &H00C0C0C0& - Caption = "9118HG Sample Program" - ClientHeight = 6480 - ClientLeft = 345 - ClientTop = 1515 - ClientWidth = 8520 - BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851} - Name = "MS Sans Serif" - Size = 8.25 - Charset = 0 - Weight = 700 - Underline = 0 'False - Italic = 0 'False - Strikethrough = 0 'False - EndProperty - ForeColor = &H80000008& - Height = 6885 - Left = 285 - LinkTopic = "Form1" - ScaleHeight = 432 - ScaleMode = 3 'Pixel - ScaleWidth = 568 - Top = 1170 - Width = 8640 - Begin VB.Frame CardType - Appearance = 0 'Flat - BackColor = &H00C0C0C0& - Caption = "Card Type" - ForeColor = &H00000000& - Height = 855 - Left = 6600 - TabIndex = 48 - Top = 5280 - Width = 1575 - Begin VB.ComboBox CardName - Appearance = 0 'Flat - ForeColor = &H00000000& - Height = 315 - Left = 120 - TabIndex = 49 - Text = "CardName" - Top = 360 - Width = 1335 - End - End - Begin VB.CommandButton ExitBtn - Appearance = 0 'Flat - BackColor = &H80000005& - Caption = "Exit" - BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851} - Name = "MS Sans Serif" - Size = 8.25 - Charset = 0 - Weight = 400 - Underline = 0 'False - Italic = 0 'False - Strikethrough = 0 'False - EndProperty - Height = 315 - Left = 5610 - TabIndex = 47 - Top = 5415 - Width = 795 - End - Begin VB.Frame Frame3D2 - Appearance = 0 'Flat - BackColor = &H00C0C0C0& - Caption = "Range" - BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851} - Name = "MS Sans Serif" - Size = 8.25 - Charset = 0 - Weight = 400 - Underline = 0 'False - Italic = 0 'False - Strikethrough = 0 'False - EndProperty - ForeColor = &H00000000& - Height = 735 - Left = 6180 - TabIndex = 2 - Top = 3300 - Width = 2055 - Begin VB.ComboBox Gain - Height = 315 - Left = 300 - TabIndex = 3 - Text = "Gain" - Top = 315 - Width = 1395 - End - End - Begin VB.Frame DO_Frame - Appearance = 0 'Flat - BackColor = &H00C0C0C0& - Caption = "Digital Output" - BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851} - Name = "MS Sans Serif" - Size = 9.75 - Charset = 0 - Weight = 700 - Underline = 0 'False - Italic = 0 'False - Strikethrough = 0 'False - EndProperty - ForeColor = &H00FF0000& - Height = 735 - Left = 120 - TabIndex = 5 - Top = 4260 - Width = 5895 - Begin VB.Image DOP - Appearance = 0 'Flat - Height = 300 - Index = 0 - Left = 5520 - Picture = "vb9118.frx":0000 - Top = 280 - Width = 300 - End - Begin VB.Image DOP - Appearance = 0 'Flat - Height = 300 - Index = 1 - Left = 5160 - Picture = "vb9118.frx":0172 - Top = 280 - Width = 300 - End - Begin VB.Image DOP - Appearance = 0 'Flat - Height = 300 - Index = 3 - Left = 4440 - Picture = "vb9118.frx":02E4 - Top = 280 - Width = 300 - End - Begin VB.Image DOP - Appearance = 0 'Flat - Height = 300 - Index = 2 - Left = 4800 - Picture = "vb9118.frx":0456 - Top = 280 - Width = 300 - End - End - Begin VB.Frame DI_Frame - Appearance = 0 'Flat - BackColor = &H00C0C0C0& - Caption = "Digital Input" - BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851} - Name = "MS Sans Serif" - Size = 9.75 - Charset = 0 - Weight = 700 - Underline = 0 'False - Italic = 0 'False - Strikethrough = 0 'False - EndProperty - ForeColor = &H00FF0000& - Height = 735 - Left = 120 - TabIndex = 6 - Top = 3300 - Width = 5895 - Begin VB.Image DI - Appearance = 0 'Flat - Height = 300 - Index = 3 - Left = 4440 - Picture = "vb9118.frx":05C8 - Top = 280 - Width = 300 - End - Begin VB.Image DI - Appearance = 0 'Flat - Height = 300 - Index = 2 - Left = 4800 - Picture = "vb9118.frx":073A - Top = 280 - Width = 300 - End - Begin VB.Image DI - Appearance = 0 'Flat - Height = 300 - Index = 1 - Left = 5160 - Picture = "vb9118.frx":08AC - Top = 280 - Width = 300 - End - Begin VB.Image DI - Appearance = 0 'Flat - Height = 300 - Index = 0 - Left = 5520 - Picture = "vb9118.frx":0A1E - Top = 280 - Width = 300 - End - End - Begin VB.Frame DA_Frame - Appearance = 0 'Flat - BackColor = &H00C0C0C0& - Caption = "Analog Output (D/A)" - ForeColor = &H00FF0000& - Height = 855 - Left = 6180 - TabIndex = 7 - Top = 4200 - Width = 2055 - Begin VB.ComboBox DA_Wave - Height = 315 - Left = 240 - TabIndex = 8 - Text = "DA_Wave" - Top = 360 - Width = 1575 - End - End - Begin VB.Frame Channel_Frame - Appearance = 0 'Flat - BackColor = &H00C0C0C0& - Caption = "Channel" - BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851} - Name = "MS Sans Serif" - Size = 8.25 - Charset = 0 - Weight = 400 - Underline = 0 'False - Italic = 0 'False - Strikethrough = 0 'False - EndProperty - ForeColor = &H80000008& - Height = 1335 - Index = 1 - Left = 6360 - TabIndex = 10 - Top = 1680 - Width = 1575 - Begin VB.Label Label1 - Appearance = 0 'Flat - BackColor = &H00C0C0C0& - Caption = "15" - ForeColor = &H80000008& - Height = 195 - Index = 24 - Left = 780 - TabIndex = 11 - Top = 960 - Width = 240 - End - Begin VB.Label Label1 - Appearance = 0 'Flat - BackColor = &H00C0C0C0& - Caption = "14" - ForeColor = &H80000008& - Height = 195 - Index = 25 - Left = 780 - TabIndex = 12 - Top = 720 - Width = 240 - End - Begin VB.Label Label1 - Appearance = 0 'Flat - BackColor = &H00C0C0C0& - Caption = "13" - ForeColor = &H80000008& - Height = 195 - Index = 26 - Left = 780 - TabIndex = 13 - Top = 480 - Width = 240 - End - Begin VB.Label Label1 - Appearance = 0 'Flat - BackColor = &H00C0C0C0& - Caption = "12" - ForeColor = &H80000008& - Height = 195 - Index = 27 - Left = 780 - TabIndex = 14 - Top = 240 - Width = 240 - End - Begin VB.Label Label1 - Appearance = 0 'Flat - BackColor = &H00C0C0C0& - Caption = "11" - ForeColor = &H80000008& - Height = 195 - Index = 28 - Left = 120 - TabIndex = 15 - Top = 960 - Width = 240 - End - Begin VB.Label Label1 - Appearance = 0 'Flat - BackColor = &H00C0C0C0& - Caption = "10" - ForeColor = &H80000008& - Height = 195 - Index = 29 - Left = 120 - TabIndex = 16 - Top = 720 - Width = 240 - End - Begin VB.Label Label1 - Appearance = 0 'Flat - BackColor = &H00C0C0C0& - Caption = "9" - ForeColor = &H80000008& - Height = 195 - Index = 30 - Left = 210 - TabIndex = 17 - Top = 480 - Width = 135 - End - Begin VB.Label Label1 - Appearance = 0 'Flat - BackColor = &H00C0C0C0& - Caption = "8" - ForeColor = &H80000008& - Height = 195 - Index = 31 - Left = 210 - TabIndex = 18 - Top = 240 - Width = 135 - End - Begin VB.Image Channel - Appearance = 0 'Flat - BorderStyle = 1 'Fixed Single - Height = 210 - Index = 8 - Left = 390 - Picture = "vb9118.frx":0B90 - Stretch = -1 'True - Top = 240 - Width = 270 - End - Begin VB.Image Channel - Appearance = 0 'Flat - BorderStyle = 1 'Fixed Single - Height = 210 - Index = 9 - Left = 390 - Picture = "vb9118.frx":0CBA - Stretch = -1 'True - Top = 480 - Width = 270 - End - Begin VB.Image Channel - Appearance = 0 'Flat - BorderStyle = 1 'Fixed Single - Height = 210 - Index = 10 - Left = 390 - Picture = "vb9118.frx":0DE4 - Stretch = -1 'True - Top = 720 - Width = 270 - End - Begin VB.Image Channel - Appearance = 0 'Flat - BorderStyle = 1 'Fixed Single - Height = 210 - Index = 11 - Left = 390 - Picture = "vb9118.frx":0F0E - Stretch = -1 'True - Top = 960 - Width = 270 - End - Begin VB.Image Channel - Appearance = 0 'Flat - BorderStyle = 1 'Fixed Single - Height = 210 - Index = 12 - Left = 1050 - Picture = "vb9118.frx":1038 - Stretch = -1 'True - Top = 240 - Width = 270 - End - Begin VB.Image Channel - Appearance = 0 'Flat - BorderStyle = 1 'Fixed Single - Height = 210 - Index = 13 - Left = 1050 - Picture = "vb9118.frx":1162 - Stretch = -1 'True - Top = 480 - Width = 270 - End - Begin VB.Image Channel - Appearance = 0 'Flat - BorderStyle = 1 'Fixed Single - Height = 210 - Index = 14 - Left = 1050 - Picture = "vb9118.frx":128C - Stretch = -1 'True - Top = 720 - Width = 270 - End - Begin VB.Image Channel - Appearance = 0 'Flat - BorderStyle = 1 'Fixed Single - Height = 210 - Index = 15 - Left = 1050 - Picture = "vb9118.frx":13B6 - Stretch = -1 'True - Top = 960 - Width = 270 - End - End - Begin VB.Frame Channel_Frame - Appearance = 0 'Flat - BackColor = &H00C0C0C0& - Caption = "Channel" - BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851} - Name = "MS Sans Serif" - Size = 8.25 - Charset = 0 - Weight = 400 - Underline = 0 'False - Italic = 0 'False - Strikethrough = 0 'False - EndProperty - ForeColor = &H80000008& - Height = 1335 - Index = 0 - Left = 6360 - TabIndex = 19 - Top = 360 - Width = 1575 - Begin VB.Image Channel - Appearance = 0 'Flat - BorderStyle = 1 'Fixed Single - Height = 210 - Index = 7 - Left = 1080 - Picture = "vb9118.frx":14E0 - Stretch = -1 'True - Top = 960 - Width = 270 - End - Begin VB.Image Channel - Appearance = 0 'Flat - BorderStyle = 1 'Fixed Single - Height = 210 - Index = 6 - Left = 1080 - Picture = "vb9118.frx":160A - Stretch = -1 'True - Top = 720 - Width = 270 - End - Begin VB.Image Channel - Appearance = 0 'Flat - BorderStyle = 1 'Fixed Single - Height = 210 - Index = 5 - Left = 1080 - Picture = "vb9118.frx":1734 - Stretch = -1 'True - Top = 480 - Width = 270 - End - Begin VB.Image Channel - Appearance = 0 'Flat - BorderStyle = 1 'Fixed Single - Height = 210 - Index = 4 - Left = 1080 - Picture = "vb9118.frx":185E - Stretch = -1 'True - Top = 240 - Width = 270 - End - Begin VB.Image Channel - Appearance = 0 'Flat - BorderStyle = 1 'Fixed Single - Height = 210 - Index = 3 - Left = 420 - Picture = "vb9118.frx":1988 - Stretch = -1 'True - Top = 960 - Width = 270 - End - Begin VB.Image Channel - Appearance = 0 'Flat - BorderStyle = 1 'Fixed Single - Height = 210 - Index = 2 - Left = 420 - Picture = "vb9118.frx":1AB2 - Stretch = -1 'True - Top = 720 - Width = 270 - End - Begin VB.Image Channel - Appearance = 0 'Flat - BorderStyle = 1 'Fixed Single - Height = 210 - Index = 1 - Left = 420 - Picture = "vb9118.frx":1BDC - Stretch = -1 'True - Top = 480 - Width = 270 - End - Begin VB.Image Channel - Appearance = 0 'Flat - BorderStyle = 1 'Fixed Single - Height = 210 - Index = 0 - Left = 420 - Picture = "vb9118.frx":1D06 - Stretch = -1 'True - Top = 240 - Width = 270 - End - Begin VB.Label Label1 - Appearance = 0 'Flat - BackColor = &H00C0C0C0& - Caption = "0" - ForeColor = &H80000008& - Height = 195 - Index = 14 - Left = 240 - TabIndex = 20 - Top = 240 - Width = 135 - End - Begin VB.Label Label1 - Appearance = 0 'Flat - BackColor = &H00C0C0C0& - Caption = "1" - ForeColor = &H80000008& - Height = 195 - Index = 13 - Left = 240 - TabIndex = 21 - Top = 480 - Width = 135 - End - Begin VB.Label Label1 - Appearance = 0 'Flat - BackColor = &H00C0C0C0& - Caption = "2" - ForeColor = &H80000008& - Height = 195 - Index = 12 - Left = 240 - TabIndex = 22 - Top = 720 - Width = 135 - End - Begin VB.Label Label1 - Appearance = 0 'Flat - BackColor = &H00C0C0C0& - Caption = "3" - ForeColor = &H80000008& - Height = 195 - Index = 11 - Left = 240 - TabIndex = 23 - Top = 960 - Width = 135 - End - Begin VB.Label Label1 - Appearance = 0 'Flat - BackColor = &H00C0C0C0& - Caption = "4" - ForeColor = &H80000008& - Height = 195 - Index = 10 - Left = 900 - TabIndex = 24 - Top = 240 - Width = 135 - End - Begin VB.Label Label1 - Appearance = 0 'Flat - BackColor = &H00C0C0C0& - Caption = "5" - ForeColor = &H80000008& - Height = 195 - Index = 9 - Left = 900 - TabIndex = 25 - Top = 480 - Width = 135 - End - Begin VB.Label Label1 - Appearance = 0 'Flat - BackColor = &H00C0C0C0& - Caption = "6" - ForeColor = &H80000008& - Height = 195 - Index = 8 - Left = 900 - TabIndex = 26 - Top = 720 - Width = 135 - End - Begin VB.Label Label1 - Appearance = 0 'Flat - BackColor = &H00C0C0C0& - Caption = "7" - ForeColor = &H80000008& - Height = 195 - Index = 7 - Left = 900 - TabIndex = 27 - Top = 960 - Width = 135 - End - End - Begin VB.Frame AD_Frame - Appearance = 0 'Flat - BackColor = &H00C0C0C0& - Caption = "Analog Input (A/D)" - BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851} - Name = "MS Sans Serif" - Size = 9.75 - Charset = 0 - Weight = 700 - Underline = 0 'False - Italic = 0 'False - Strikethrough = 0 'False - EndProperty - ForeColor = &H00FF0000& - Height = 3255 - Left = 240 - TabIndex = 33 - Top = 0 - Width = 7935 - Begin VB.PictureBox Signal - Appearance = 0 'Flat - BackColor = &H00000000& - BorderStyle = 0 'None - ForeColor = &H80000008& - Height = 1200 - Index = 0 - Left = 900 - ScaleHeight = 80 - ScaleMode = 3 'Pixel - ScaleWidth = 333 - TabIndex = 28 - Top = 480 - Width = 4995 - End - Begin VB.PictureBox Signal - Appearance = 0 'Flat - BackColor = &H00000000& - BorderStyle = 0 'None - ForeColor = &H80000008& - Height = 1200 - Index = 1 - Left = 900 - ScaleHeight = 80 - ScaleMode = 3 'Pixel - ScaleWidth = 333 - TabIndex = 42 - Top = 1800 - Width = 4995 - End - Begin VB.Line Line1 - Index = 4 - X1 = 840 - X2 = 900 - Y1 = 1665 - Y2 = 1665 - End - Begin VB.Line Line1 - Index = 3 - X1 = 840 - X2 = 900 - Y1 = 1380 - Y2 = 1380 - End - Begin VB.Line Line1 - Index = 2 - X1 = 840 - X2 = 900 - Y1 = 1080 - Y2 = 1080 - End - Begin VB.Line Line1 - Index = 1 - X1 = 840 - X2 = 900 - Y1 = 780 - Y2 = 780 - End - Begin VB.Line Line1 - Index = 0 - X1 = 840 - X2 = 900 - Y1 = 480 - Y2 = 480 - End - Begin VB.Line Line1 - Index = 5 - X1 = 840 - X2 = 900 - Y1 = 1800 - Y2 = 1800 - End - Begin VB.Line Line1 - Index = 6 - X1 = 840 - X2 = 900 - Y1 = 2100 - Y2 = 2100 - End - Begin VB.Line Line1 - Index = 7 - X1 = 840 - X2 = 900 - Y1 = 2400 - Y2 = 2400 - End - Begin VB.Line Line1 - Index = 8 - X1 = 840 - X2 = 900 - Y1 = 2700 - Y2 = 2700 - End - Begin VB.Line Line1 - Index = 9 - X1 = 840 - X2 = 900 - Y1 = 2985 - Y2 = 2985 - End - Begin VB.Label Label1 - Alignment = 1 'Right Justify - Appearance = 0 'Flat - BackColor = &H00C0C0C0& - Caption = "-5.00" - BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851} - Name = "MS Serif" - Size = 6.75 - Charset = 0 - Weight = 400 - Underline = 0 'False - Italic = 0 'False - Strikethrough = 0 'False - EndProperty - ForeColor = &H80000008& - Height = 195 - Index = 6 - Left = 345 - TabIndex = 29 - Top = 1590 - Width = 480 - End - Begin VB.Label Label1 - Alignment = 1 'Right Justify - Appearance = 0 'Flat - BackColor = &H00C0C0C0& - Caption = "-2.50" - BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851} - Name = "MS Serif" - Size = 6.75 - Charset = 0 - Weight = 400 - Underline = 0 'False - Italic = 0 'False - Strikethrough = 0 'False - EndProperty - ForeColor = &H80000008& - Height = 195 - Index = 5 - Left = 345 - TabIndex = 30 - Top = 1350 - Width = 480 - End - Begin VB.Label Label1 - Alignment = 1 'Right Justify - Appearance = 0 'Flat - BackColor = &H00C0C0C0& - Caption = "0.00" - BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851} - Name = "MS Serif" - Size = 6.75 - Charset = 0 - Weight = 400 - Underline = 0 'False - Italic = 0 'False - Strikethrough = 0 'False - EndProperty - ForeColor = &H80000008& - Height = 195 - Index = 4 - Left = 345 - TabIndex = 31 - Top = 1050 - Width = 480 - End - Begin VB.Label Label1 - Alignment = 1 'Right Justify - Appearance = 0 'Flat - BackColor = &H00C0C0C0& - Caption = "2.50" - BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851} - Name = "MS Serif" - Size = 6.75 - Charset = 0 - Weight = 400 - Underline = 0 'False - Italic = 0 'False - Strikethrough = 0 'False - EndProperty - ForeColor = &H80000008& - Height = 195 - Index = 3 - Left = 345 - TabIndex = 32 - Top = 750 - Width = 480 - End - Begin VB.Label Label1 - Alignment = 1 'Right Justify - Appearance = 0 'Flat - BackColor = &H00C0C0C0& - Caption = "5.00" - BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851} - Name = "MS Serif" - Size = 6.75 - Charset = 0 - Weight = 400 - Underline = 0 'False - Italic = 0 'False - Strikethrough = 0 'False - EndProperty - ForeColor = &H80000008& - Height = 195 - Index = 2 - Left = 345 - TabIndex = 34 - Top = 450 - Width = 480 - End - Begin VB.Label Label1 - Appearance = 0 'Flat - BackColor = &H00C0C0C0& - Caption = "V" - BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851} - Name = "MS Sans Serif" - Size = 8.25 - Charset = 0 - Weight = 400 - Underline = 0 'False - Italic = 0 'False - Strikethrough = 0 'False - EndProperty - ForeColor = &H80000008& - Height = 195 - Index = 1 - Left = 240 - TabIndex = 35 - Top = 690 - Width = 135 - End - Begin VB.Label Label1 - Appearance = 0 'Flat - BackColor = &H00C0C0C0& - Caption = "Signals" - BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851} - Name = "MS Sans Serif" - Size = 8.25 - Charset = 0 - Weight = 400 - Underline = 0 'False - Italic = 0 'False - Strikethrough = 0 'False - EndProperty - ForeColor = &H80000008& - Height = 195 - Index = 0 - Left = 3060 - TabIndex = 36 - Top = 240 - Width = 735 - End - Begin VB.Label Label1 - Appearance = 0 'Flat - BackColor = &H00C0C0C0& - Caption = "O" - BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851} - Name = "MS Sans Serif" - Size = 8.25 - Charset = 0 - Weight = 400 - Underline = 0 'False - Italic = 0 'False - Strikethrough = 0 'False - EndProperty - ForeColor = &H80000008& - Height = 195 - Index = 15 - Left = 240 - TabIndex = 37 - Top = 1110 - Width = 135 - End - Begin VB.Label Label1 - Appearance = 0 'Flat - BackColor = &H00C0C0C0& - Caption = "L" - BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851} - Name = "MS Sans Serif" - Size = 8.25 - Charset = 0 - Weight = 400 - Underline = 0 'False - Italic = 0 'False - Strikethrough = 0 'False - EndProperty - ForeColor = &H80000008& - Height = 195 - Index = 16 - Left = 240 - TabIndex = 38 - Top = 1470 - Width = 135 - End - Begin VB.Label Label1 - Appearance = 0 'Flat - BackColor = &H00C0C0C0& - Caption = "T" - BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851} - Name = "MS Sans Serif" - Size = 8.25 - Charset = 0 - Weight = 400 - Underline = 0 'False - Italic = 0 'False - Strikethrough = 0 'False - EndProperty - ForeColor = &H80000008& - Height = 195 - Index = 17 - Left = 240 - TabIndex = 39 - Top = 1890 - Width = 135 - End - Begin VB.Label Label1 - Appearance = 0 'Flat - BackColor = &H00C0C0C0& - Caption = "S" - BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851} - Name = "MS Sans Serif" - Size = 8.25 - Charset = 0 - Weight = 400 - Underline = 0 'False - Italic = 0 'False - Strikethrough = 0 'False - EndProperty - ForeColor = &H80000008& - Height = 195 - Index = 18 - Left = 240 - TabIndex = 40 - Top = 2310 - Width = 135 - End - Begin VB.Label Label1 - Alignment = 1 'Right Justify - Appearance = 0 'Flat - BackColor = &H00C0C0C0& - Caption = "5.00" - BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851} - Name = "MS Serif" - Size = 6.75 - Charset = 0 - Weight = 400 - Underline = 0 'False - Italic = 0 'False - Strikethrough = 0 'False - EndProperty - ForeColor = &H80000008& - Height = 195 - Index = 19 - Left = 345 - TabIndex = 41 - Top = 1800 - Width = 480 - End - Begin VB.Label Label1 - Alignment = 1 'Right Justify - Appearance = 0 'Flat - BackColor = &H00C0C0C0& - Caption = "2.50" - BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851} - Name = "MS Serif" - Size = 6.75 - Charset = 0 - Weight = 400 - Underline = 0 'False - Italic = 0 'False - Strikethrough = 0 'False - EndProperty - ForeColor = &H80000008& - Height = 195 - Index = 20 - Left = 345 - TabIndex = 43 - Top = 2070 - Width = 480 - End - Begin VB.Label Label1 - Alignment = 1 'Right Justify - Appearance = 0 'Flat - BackColor = &H00C0C0C0& - Caption = "0.00" - BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851} - Name = "MS Serif" - Size = 6.75 - Charset = 0 - Weight = 400 - Underline = 0 'False - Italic = 0 'False - Strikethrough = 0 'False - EndProperty - ForeColor = &H80000008& - Height = 195 - Index = 21 - Left = 345 - TabIndex = 44 - Top = 2370 - Width = 480 - End - Begin VB.Label Label1 - Alignment = 1 'Right Justify - Appearance = 0 'Flat - BackColor = &H00C0C0C0& - Caption = "-2.50" - BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851} - Name = "MS Serif" - Size = 6.75 - Charset = 0 - Weight = 400 - Underline = 0 'False - Italic = 0 'False - Strikethrough = 0 'False - EndProperty - ForeColor = &H80000008& - Height = 195 - Index = 22 - Left = 345 - TabIndex = 45 - Top = 2670 - Width = 480 - End - Begin VB.Label Label1 - Alignment = 1 'Right Justify - Appearance = 0 'Flat - BackColor = &H00C0C0C0& - Caption = "-5.00" - BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851} - Name = "MS Serif" - Size = 6.75 - Charset = 0 - Weight = 400 - Underline = 0 'False - Italic = 0 'False - Strikethrough = 0 'False - EndProperty - ForeColor = &H80000008& - Height = 195 - Index = 23 - Left = 345 - TabIndex = 46 - Top = 2910 - Width = 480 - End - End - Begin VB.Timer Timer1 - Enabled = 0 'False - Interval = 70 - Left = 1920 - Top = 5760 - End - Begin VB.CommandButton StopBtn - Appearance = 0 'Flat - BackColor = &H80000005& - Caption = "Stop" - Enabled = 0 'False - BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851} - Name = "MS Sans Serif" - Size = 8.25 - Charset = 0 - Weight = 400 - Underline = 0 'False - Italic = 0 'False - Strikethrough = 0 'False - EndProperty - Height = 315 - Left = 3420 - TabIndex = 4 - Top = 5415 - Width = 795 - End - Begin VB.CommandButton StartBtn - Appearance = 0 'Flat - BackColor = &H80000005& - Caption = "Start" - BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851} - Name = "MS Sans Serif" - Size = 8.25 - Charset = 0 - Weight = 400 - Underline = 0 'False - Italic = 0 'False - Strikethrough = 0 'False - EndProperty - Height = 315 - Left = 2520 - TabIndex = 0 - Top = 5415 - Width = 795 - End - Begin VB.CommandButton PauseBtn - Appearance = 0 'Flat - BackColor = &H80000005& - Caption = "Pause" - Enabled = 0 'False - BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851} - Name = "MS Sans Serif" - Size = 8.25 - Charset = 0 - Weight = 400 - Underline = 0 'False - Italic = 0 'False - Strikethrough = 0 'False - EndProperty - Height = 315 - Left = 4320 - TabIndex = 1 - Top = 5415 - Width = 795 - End - Begin VB.Label Label2 - Appearance = 0 'Flat - BackColor = &H00C0C0C0& - Caption = " 3 2 1 0" - ForeColor = &H80000008& - Height = 195 - Left = 240 - TabIndex = 9 - Top = 4080 - Width = 5775 - End - Begin VB.Image Image0 - Appearance = 0 'Flat - Height = 300 - Left = 2400 - Picture = "vb9118.frx":1E30 - Top = 5820 - Visible = 0 'False - Width = 300 - End - Begin VB.Image Image1 - Appearance = 0 'Flat - Height = 300 - Left = 2700 - Picture = "vb9118.frx":1FA2 - Top = 5820 - Visible = 0 'False - Width = 300 - End - Begin VB.Image ChDn - Appearance = 0 'Flat - Height = 210 - Index = 0 - Left = -180 - Picture = "vb9118.frx":2114 - Top = 5760 - Visible = 0 'False - Width = 270 - End - Begin VB.Image ChDn - Appearance = 0 'Flat - Height = 210 - Index = 1 - Left = 60 - Picture = "vb9118.frx":223E - Top = 5760 - Visible = 0 'False - Width = 270 - End - Begin VB.Image ChDn - Appearance = 0 'Flat - Height = 210 - Index = 2 - Left = 300 - Picture = "vb9118.frx":2368 - Top = 5760 - Visible = 0 'False - Width = 270 - End - Begin VB.Image ChDn - Appearance = 0 'Flat - Height = 210 - Index = 3 - Left = 540 - Picture = "vb9118.frx":2492 - Top = 5760 - Visible = 0 'False - Width = 270 - End - Begin VB.Image ChDn - Appearance = 0 'Flat - Height = 210 - Index = 4 - Left = 780 - Picture = "vb9118.frx":25BC - Top = 5760 - Visible = 0 'False - Width = 270 - End - Begin VB.Image ChDn - Appearance = 0 'Flat - Height = 210 - Index = 5 - Left = 1020 - Picture = "vb9118.frx":26E6 - Top = 5760 - Visible = 0 'False - Width = 270 - End - Begin VB.Image ChDn - Appearance = 0 'Flat - Height = 210 - Index = 6 - Left = 1260 - Picture = "vb9118.frx":2810 - Top = 5760 - Visible = 0 'False - Width = 270 - End - Begin VB.Image ChDn - Appearance = 0 'Flat - Height = 210 - Index = 7 - Left = 1500 - Picture = "vb9118.frx":293A - Top = 5760 - Visible = 0 'False - Width = 270 - End - Begin VB.Image ChUp - Appearance = 0 'Flat - Height = 210 - Index = 0 - Left = -180 - Picture = "vb9118.frx":2A64 - Top = 5940 - Visible = 0 'False - Width = 270 - End - Begin VB.Image ChUp - Appearance = 0 'Flat - Height = 210 - Index = 1 - Left = 60 - Picture = "vb9118.frx":2B8E - Top = 5940 - Visible = 0 'False - Width = 270 - End - Begin VB.Image ChUp - Appearance = 0 'Flat - Height = 210 - Index = 2 - Left = 300 - Picture = "vb9118.frx":2CB8 - Top = 5940 - Visible = 0 'False - Width = 270 - End - Begin VB.Image ChUp - Appearance = 0 'Flat - Height = 210 - Index = 3 - Left = 540 - Picture = "vb9118.frx":2DE2 - Top = 5940 - Visible = 0 'False - Width = 270 - End - Begin VB.Image ChUp - Appearance = 0 'Flat - Height = 210 - Index = 4 - Left = 780 - Picture = "vb9118.frx":2F0C - Top = 5940 - Visible = 0 'False - Width = 270 - End - Begin VB.Image ChUp - Appearance = 0 'Flat - Height = 210 - Index = 5 - Left = 1020 - Picture = "vb9118.frx":3036 - Top = 5940 - Visible = 0 'False - Width = 270 - End - Begin VB.Image ChUp - Appearance = 0 'Flat - Height = 210 - Index = 6 - Left = 1260 - Picture = "vb9118.frx":3160 - Top = 5940 - Visible = 0 'False - Width = 270 - End - Begin VB.Image ChUp - Appearance = 0 'Flat - Height = 210 - Index = 7 - Left = 1500 - Picture = "vb9118.frx":328A - Top = 5940 - Visible = 0 'False - Width = 270 - End -End -Attribute VB_Name = "util9118" -Attribute VB_Creatable = False -Attribute VB_Exposed = False -Option Explicit - -Dim PrevP(15) As Long -Dim ChannelOn(15) As Long -Dim SignalColor(15) As Long -Dim range_value(8) As Integer -Dim Active As Long -Dim NewStart As Long -Dim status(15) As Long -Dim angle As Single -Dim sq As Integer -Dim gnAddr As Long -Dim gnIrq As Long -Dim gnDoValue As Long - -Const SINE_WAVE = 0 -Const SQUARE_WAVE = 1 -Const Pi = 3.14159 - -Private Sub Channel_Click(Index As Integer) - If ChannelOn(Index) Then - If Index < 8 Then - Channel(Index) = ChUp(Index) - Else - Channel(Index) = ChUp(Index - 8) - End If - Else - If Index < 8 Then - Channel(Index) = ChDn(Index) - Else - Channel(Index) = ChDn(Index - 8) - End If - End If - ChannelOn(Index) = Not ChannelOn(Index) -End Sub - -Sub Combo1_Change() -End Sub - -Private Sub DOP_Click(Index As Integer) - Dim i As Integer - Dim v As Integer, d As Long - Dim do_data As Integer - If Active Then - If status(Index) = 1 Then - DOP(Index) = Image0 - status(Index) = 0 - d = 1 - For i = 1 To Index - d = d * 2 - Next - gnDoValue = gnDoValue - d - Else - DOP(Index) = Image1 - status(Index) = 1 - d = 1 - For i = 1 To Index - d = d * 2 - Next - gnDoValue = gnDoValue + d - End If - 'translate unsigned value to signed integer - If (gnDoValue > 32767) Then - do_data = gnDoValue - 65536 - Else - do_data = gnDoValue - End If - 'v = W_9118_DO(0, do_data) - v = DO_WritePort(card, 0, gnDoValue) - End If -End Sub - -Private Sub ExitBtn_Click() - Dim result As Integer - If card >= 0 Then - result = Release_Card(card) - End If - End -End Sub - -Private Sub Form_Load() - Dim result As Integer - Dim i As Integer - - SettingForm.Show 1 - If card < 0 Then - MsgBox "Register card failed." - End - End If - For i = 0 To 15 - PrevP(i) = -1 - ChannelOn(i) = False - Next - For i = 0 To 15 - status(i) = 0 - Next - NewStart = True - Active = False - gnDoValue = 0 - result = DO_WritePort(card, 0, gnDoValue) - - gain.AddItem "+/- 5V" - gain.AddItem "+/- 0.5V" - gain.AddItem "+/- 0.05V" - gain.AddItem "+/- 0.005V" - gain.AddItem "0 ~ 10V" - gain.AddItem "0 ~ 1V" - gain.AddItem "0 ~ 0.1V" - gain.AddItem "0 ~ 0.01V" - - CardName.AddItem "9118HG" - - range_value(0) = 2 - range_value(1) = 7 - range_value(2) = 8 - range_value(3) = 9 - range_value(4) = 15 - range_value(5) = 19 - range_value(6) = 20 - range_value(7) = 21 - - gain.ListIndex = 0 - CardName.ListIndex = 0 - - DA_Wave.AddItem "Sine Wave" - DA_Wave.AddItem "Square Wave" - DA_Wave.ListIndex = 0 - - SignalColor(0) = &HFFFF& - SignalColor(1) = &H8000& - SignalColor(2) = &HFF0000 - SignalColor(3) = &HFF& - SignalColor(4) = &HFFFF00 - SignalColor(5) = &HFF00FF - SignalColor(6) = &HFF00& - SignalColor(7) = &HFFFFFF - SignalColor(8) = &HFFFF& - SignalColor(9) = &H8000& - SignalColor(10) = &HFF0000 - SignalColor(11) = &HFF& - SignalColor(12) = &HFFFF00 - SignalColor(13) = &HFF00FF - SignalColor(14) = &HFF00& - SignalColor(15) = &HFFFFFF - -End Sub - -Private Sub Form_Unload(Cancel As Integer) -Dim result As Integer - If card >= 0 Then - result = Release_Card(card) - End If -End Sub - - -Private Sub Gain_Click() - Dim result As Long - Scale_Change gain.ListIndex -End Sub - - - - - - - - - - - - - -Private Sub PauseBtn_Click() - Timer1.Enabled = False - Active = False - NewStart = False - StartBtn.Enabled = True - PauseBtn.Enabled = False - -End Sub - - - - -Private Sub StartBtn_Click() - StartBtn.Enabled = False - StopBtn.Enabled = True - PauseBtn.Enabled = True - - Active = True - - If NewStart Then - Signal(0).Cls - Signal(1).Cls - gnDoValue = 0 - angle = 0 - sq = 0 - End If - - Timer1.Enabled = True - -End Sub - -Private Sub StopBtn_Click() - Dim i As Integer - Timer1.Enabled = False - For i = 0 To 3 - PrevP(i) = -1 - Next - For i = 0 To 3 - status(i) = 0 - DOP(i) = Image0 - Next - i = DO_WritePort(card, 0, 0) - Active = False - NewStart = True - StartBtn.Enabled = True - StopBtn.Enabled = False - PauseBtn.Enabled = False - -End Sub - -Private Sub Timer1_Timer() - Dim result As Integer - Dim i As Integer, j As Integer, d As Integer - Dim l As Long - Dim di_data As Long - Dim p As Integer - Dim m As Single - Static vt(15) As Variant - -' Do While Contd -'Analog-Digital Input - result = BitBlt(Signal(0).hDC, 4, 0, Signal(0).Width / Screen.TwipsPerPixelX, Signal(0).Height / Screen.TwipsPerPixelY, Signal(0).hDC, 0, 0, SRCCOPY) - result = BitBlt(Signal(1).hDC, 4, 0, Signal(1).Width / Screen.TwipsPerPixelX, Signal(1).Height / Screen.TwipsPerPixelY, Signal(1).hDC, 0, 0, SRCCOPY) - For i = 0 To 15 - If ChannelOn(i) Then - If range_value(gain.ListIndex) >= 14 Then - result = AI_9118_Config(0, P9118_AI_UniPolar, 0, 0, 0) - Else - result = AI_9118_Config(0, P9118_AI_BiPolar, 0, 0, 0) - End If - result = AI_ReadChannel(card, i, range_value(gain.ListIndex), d) - l = d - If CardName.ListIndex Then - If i < 8 Then - p = (32767 - CSng(l)) / 65535 * (Signal(0).Height / Screen.TwipsPerPixelY - 2) - If PrevP(i) <> -1 Then Signal(0).Line (4, p)-(8, PrevP(i)), SignalColor(i) - Else - p = (32767 - CSng(l)) / 65535 * (Signal(1).Height / Screen.TwipsPerPixelY - 2) - If PrevP(i) <> -1 Then - Signal(1).Line (4, p)-(8, PrevP(i)), SignalColor(i) - End If - End If - Else - If l < 0 Then - l = l + 65536 - End If - l = (l And &HFFF0) / 16 - If i < 8 Then - p = (4095 - CSng(l)) / 4095 * (Signal(0).Height / Screen.TwipsPerPixelY - 2) - If PrevP(i) <> -1 Then Signal(0).Line (4, p)-(8, PrevP(i)), SignalColor(i) - Else - p = (4095 - CSng(l)) / 4095 * (Signal(1).Height / Screen.TwipsPerPixelY - 2) - If PrevP(i) <> -1 Then - Signal(1).Line (4, p)-(8, PrevP(i)), SignalColor(i) - End If - End If - End If - PrevP(i) = p - End If - Next i - -'Digital Input - result = DI_ReadPort(card, 0, l) - di_data = l - 'End If - For i = 0 To 3 - p = di_data Mod 2 - If p = 0 Then - DI(i) = Image0 - Else 'p = 1 - DI(i) = Image1 - End If - di_data = CLng(Fix(di_data / 2)) - Next i - -'Analog Output - Select Case DA_Wave.ListIndex - Case SINE_WAVE: - m = Sin(angle) / 2 - angle = angle + Pi / 36 - p = CInt(m * 2048 + 2048) - If p >= 4096 Then p = 4095 - result = AO_WriteChannel(card, 0, p) - result = AO_WriteChannel(card, 1, p) - Case SQUARE_WAVE: - result = AO_WriteChannel(card, 0, sq) - result = AO_WriteChannel(card, 1, sq) - If (angle Mod 36) = 0 Then - If sq = 0 Then sq = 3070 Else sq = 0 - End If - angle = angle + 1 - End Select -End Sub - - - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9118/VB9118PostTrg/CHK9118.FRM b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9118/VB9118PostTrg/CHK9118.FRM deleted file mode 100644 index 6f51b13..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9118/VB9118PostTrg/CHK9118.FRM +++ /dev/null @@ -1,124 +0,0 @@ -VERSION 4.00 -Begin VB.Form SettingForm - Appearance = 0 'Flat - BackColor = &H00C0C0C0& - ClientHeight = 1275 - ClientLeft = 1110 - ClientTop = 1485 - ClientWidth = 2820 - BeginProperty Font - name = "MS Sans Serif" - charset = 0 - weight = 700 - size = 8.25 - underline = 0 'False - italic = 0 'False - strikethrough = 0 'False - EndProperty - ForeColor = &H80000008& - Height = 1680 - Left = 1050 - LinkTopic = "Form2" - ScaleHeight = 1275 - ScaleWidth = 2820 - Top = 1140 - Width = 2940 - Begin VB.CommandButton OKBtn - Appearance = 0 'Flat - BackColor = &H80000005& - Caption = "OK" - Default = -1 'True - Height = 315 - Left = 300 - TabIndex = 0 - Top = 720 - Width = 915 - End - Begin VB.CommandButton CancelBtn - Appearance = 0 'Flat - BackColor = &H80000005& - Cancel = -1 'True - Caption = "Cancel" - Height = 315 - Left = 1380 - TabIndex = 3 - Top = 720 - Width = 915 - End - Begin VB.ComboBox BaseAddr - Appearance = 0 'Flat - Height = 300 - Left = 1440 - Style = 2 'Dropdown List - TabIndex = 2 - Top = 120 - Width = 1035 - End - Begin VB.Label Label2 - Appearance = 0 'Flat - BackColor = &H00C0C0C0& - Caption = "Base Address:" - ForeColor = &H00000000& - Height = 195 - Index = 0 - Left = 180 - TabIndex = 1 - Top = 180 - Width = 1275 - End -End -Attribute VB_Name = "SettingForm" -Attribute VB_Creatable = False -Attribute VB_Exposed = False -Option Explicit -Const ADD = 1 -Const MODIFY = 2 -'Dim DropDown As Long -Dim card As Long -Dim cmd As Long - -Private Sub CancelBtn_Click() - Unload SettingForm -End Sub - -Private Sub Form_Load() - Dim i As Long - For i = &H200 To &H3F8 Step 16 - BaseAddr.AddItem Hex$(i) + "H" - Next - BaseAddr.ListIndex = 2 '220H -End Sub - -Private Sub OKBtn_Click() - Dim result As Long - result = W_8112_Initial(CardIndex, Val("&H" + Trim$(BaseAddr))) - Select Case result - Case ERR_NoError - If CardIndex = 0 Then - GainValue(0) = 0 - util8112.Caption = "8112 - " + "0:" + BaseAddr - util8112.mnuCard0.Enabled = True - util8112.mnuCard0.Checked = True - util8112.mnuCard1.Checked = False - util8112.gain.Enabled = True - Else 'CardIndex = 1 - GainValue(1) = 0 - util8112.Caption = "8112 - " + "1:" + BaseAddr - util8112.mnuCard1.Enabled = True - util8112.mnuCard0.Checked = False - util8112.mnuCard1.Checked = True - util8112.gain.Enabled = True - End If - result = W_8112_AD_Set_Range(0) - util8112.gain.ListIndex = 0 - Scale_Change 0 - DO_lb = 0 - DO_hb = 0 - Case ERR_InvalidBoardNumber - MsgBox "Invalid Board Number" - Case ERR_DuplicateBoardSetting - MsgBox "Base address conflicts with the other card." - End Select - Unload SettingForm -End Sub - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9118/VB9118PostTrg/Vb9118Pt.vbp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9118/VB9118PostTrg/Vb9118Pt.vbp deleted file mode 100644 index 86173b1..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9118/VB9118PostTrg/Vb9118Pt.vbp +++ /dev/null @@ -1,21 +0,0 @@ -Form=vb9118Pt.Frm -Module=DASK; ..\..\..\Include\Dask.bas -Module=Module1; w_event.bas -Reference=*\G{00025E04-0000-0000-C000-000000000046}#2.5#0#C:\PROGRAM FILES\COMMON FILES\MICROSOFT SHARED\DC:\PROGRAM FIL#Microsoft DAO 2.5/3.0 Compatibility Library -ProjWinSize=102,550,191,215 -ProjWinShow=2 -IconForm="Ptrg9118" -HelpFile="" -Title="9118DMA" -ExeName32="9118Ptrg.exe" -ExeName="9118DMA.EXE" -Name="vb49118dma" -HelpContextID="0" -StartMode=0 -VersionCompatible32="0" -MajorVer=1 -MinorVer=0 -RevisionVer=0 -AutoIncrementVer=0 -ServerSupportFiles=0 -VersionCompanyName="ADLink" diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9118/VB9118PostTrg/W_EVENT.BAS b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9118/VB9118PostTrg/W_EVENT.BAS deleted file mode 100644 index f1d6748..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9118/VB9118PostTrg/W_EVENT.BAS +++ /dev/null @@ -1,3 +0,0 @@ -Option Explicit - -Declare Function WaitForSingleObject Lib "kernel32" Alias "WaitForSingleObject" (ByVal hHandle As Long, ByVal dwMilliseconds As Long) As Long \ No newline at end of file diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9118/VB9118PostTrg/vb9118Pt.Frm b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9118/VB9118PostTrg/vb9118Pt.Frm deleted file mode 100644 index 1b693af..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9118/VB9118PostTrg/vb9118Pt.Frm +++ /dev/null @@ -1,536 +0,0 @@ -VERSION 4.00 -Begin VB.Form Ptrg9118 - Appearance = 0 'Flat - BackColor = &H00C0C0C0& - Caption = "9118 Post Trigger DMA" - ClientHeight = 5460 - ClientLeft = 1395 - ClientTop = 1680 - ClientWidth = 7665 - BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851} - Name = "MS Sans Serif" - Size = 8.25 - Charset = 0 - Weight = 700 - Underline = 0 'False - Italic = 0 'False - Strikethrough = 0 'False - EndProperty - ForeColor = &H0000FFFF& - Height = 5865 - Left = 1335 - LinkTopic = "Form1" - ScaleHeight = 5460 - ScaleWidth = 7665 - Top = 1335 - Width = 7785 - Begin VB.Frame Frame1 - BackColor = &H00C0C0C0& - Caption = "Post Count" - ForeColor = &H00FF0000& - Height = 615 - Left = 2160 - TabIndex = 20 - Top = 3840 - Width = 2175 - Begin VB.TextBox postCount - Height = 285 - Left = 120 - TabIndex = 22 - Text = "1024" - Top = 240 - Width = 1095 - End - Begin VB.Label labData - Appearance = 0 'Flat - BackColor = &H00C0C0C0& - Caption = "Samples" - ForeColor = &H0000FFFF& - Height = 255 - Index = 1 - Left = 1320 - TabIndex = 21 - Top = 240 - Width = 735 - End - End - Begin VB.CommandButton btnExit - Appearance = 0 'Flat - BackColor = &H80000005& - Caption = "Exit" - Height = 500 - Left = 6240 - TabIndex = 4 - Top = 4680 - Width = 1000 - End - Begin VB.CommandButton btnStart - Appearance = 0 'Flat - BackColor = &H80000005& - Caption = "Start" - Height = 500 - Left = 4800 - TabIndex = 3 - Top = 4680 - Width = 1000 - End - Begin VB.Frame frmData - Appearance = 0 'Flat - BackColor = &H00C0C0C0& - Caption = "Buffer Size" - ForeColor = &H00FF0000& - Height = 615 - Left = 4680 - TabIndex = 2 - Top = 3840 - Width = 1935 - Begin VB.ComboBox cobData - Appearance = 0 'Flat - Height = 315 - Left = 120 - Style = 2 'Dropdown List - TabIndex = 15 - Top = 240 - Width = 975 - End - Begin VB.Label labData - Appearance = 0 'Flat - BackColor = &H00C0C0C0& - Caption = "Samples" - ForeColor = &H0000FFFF& - Height = 255 - Index = 0 - Left = 1155 - TabIndex = 16 - Top = 255 - Width = 720 - End - End - Begin VB.Frame frmSample - Appearance = 0 'Flat - BackColor = &H00C0C0C0& - Caption = "Sampling Rate" - ForeColor = &H00FF0000& - Height = 615 - Left = 120 - TabIndex = 1 - Top = 3840 - Width = 1700 - Begin VB.ComboBox cobSample - Appearance = 0 'Flat - Height = 315 - Left = 120 - Style = 2 'Dropdown List - TabIndex = 14 - Top = 240 - Width = 975 - End - Begin VB.Label Label1 - Appearance = 0 'Flat - BackColor = &H00C0C0C0& - Caption = "KHz" - ForeColor = &H0000FFFF& - Height = 255 - Left = 1150 - TabIndex = 17 - Top = 260 - Width = 450 - End - End - Begin VB.Frame dmaFrame - Appearance = 0 'Flat - BackColor = &H00C0C0C0& - Caption = "DMA Input(A/D)" - ForeColor = &H00FF0000& - Height = 3375 - Left = 120 - TabIndex = 0 - Top = 120 - Width = 7455 - Begin VB.Frame Card_Frame - Caption = "Card Number" - ForeColor = &H00FF0000& - Height = 615 - Left = 5880 - TabIndex = 18 - Top = 2520 - Width = 1455 - Begin VB.ComboBox Card_num - Height = 315 - Left = 120 - TabIndex = 19 - Text = "Number" - Top = 240 - Width = 1215 - End - End - Begin VB.Frame frmChannel - Appearance = 0 'Flat - BackColor = &H00C0C0C0& - Caption = "AD Channel" - ForeColor = &H00FF0000& - Height = 1755 - Left = 5880 - TabIndex = 6 - Top = 480 - Width = 1380 - Begin VB.OptionButton optChn - Caption = "7" - Height = 255 - Index = 7 - Left = 780 - TabIndex = 30 - Top = 1260 - Width = 435 - End - Begin VB.OptionButton optChn - Caption = "6" - Height = 255 - Index = 6 - Left = 780 - TabIndex = 29 - Top = 960 - Width = 435 - End - Begin VB.OptionButton optChn - Caption = "5" - Height = 255 - Index = 5 - Left = 780 - TabIndex = 28 - Top = 660 - Width = 435 - End - Begin VB.OptionButton optChn - Caption = "4" - Height = 255 - Index = 4 - Left = 780 - TabIndex = 27 - Top = 360 - Width = 435 - End - Begin VB.OptionButton optChn - Caption = "3" - Height = 255 - Index = 3 - Left = 120 - TabIndex = 26 - Top = 1260 - Width = 435 - End - Begin VB.OptionButton optChn - Caption = "2" - Height = 255 - Index = 2 - Left = 120 - TabIndex = 25 - Top = 960 - Width = 435 - End - Begin VB.OptionButton optChn - Caption = "1" - Height = 255 - Index = 1 - Left = 120 - TabIndex = 24 - Top = 660 - Width = 435 - End - Begin VB.OptionButton optChn - Caption = "0" - Height = 255 - Index = 0 - Left = 120 - TabIndex = 23 - Top = 360 - Value = -1 'True - Width = 435 - End - End - Begin VB.PictureBox picScreen - Appearance = 0 'Flat - AutoRedraw = -1 'True - BackColor = &H00000000& - ForeColor = &H80000008& - Height = 2700 - Left = 720 - ScaleHeight = 178 - ScaleMode = 3 'Pixel - ScaleWidth = 331 - TabIndex = 5 - Top = 480 - Width = 5000 - End - Begin VB.Label labValue - Alignment = 1 'Right Justify - Appearance = 0 'Flat - BackColor = &H00C0C0C0& - Caption = "-5.00" - ForeColor = &H0000FFFF& - Height = 255 - Index = 4 - Left = 120 - TabIndex = 13 - Top = 3045 - Width = 600 - End - Begin VB.Label labValue - Alignment = 1 'Right Justify - Appearance = 0 'Flat - BackColor = &H00C0C0C0& - Caption = "-2.50" - ForeColor = &H0000FFFF& - Height = 255 - Index = 3 - Left = 120 - TabIndex = 12 - Top = 2400 - Width = 600 - End - Begin VB.Label labValue - Alignment = 1 'Right Justify - Appearance = 0 'Flat - BackColor = &H00C0C0C0& - Caption = "0.00" - ForeColor = &H0000FFFF& - Height = 255 - Index = 2 - Left = 120 - TabIndex = 11 - Top = 1740 - Width = 615 - End - Begin VB.Label labValue - Alignment = 1 'Right Justify - Appearance = 0 'Flat - BackColor = &H00C0C0C0& - Caption = "2.50" - ForeColor = &H0000FFFF& - Height = 255 - Index = 1 - Left = 120 - TabIndex = 10 - Top = 1065 - Width = 615 - End - Begin VB.Label labValue - Alignment = 1 'Right Justify - Appearance = 0 'Flat - BackColor = &H00C0C0C0& - Caption = "5.00" - ForeColor = &H0000FFFF& - Height = 255 - Index = 0 - Left = 120 - TabIndex = 9 - Top = 420 - Width = 615 - End - Begin VB.Label labVots - Appearance = 0 'Flat - BackColor = &H00C0C0C0& - Caption = "Vots" - ForeColor = &H0000FFFF& - Height = 255 - Left = 120 - TabIndex = 8 - Top = 200 - Width = 495 - End - Begin VB.Label labSignal - Appearance = 0 'Flat - BackColor = &H00C0C0C0& - Caption = "Signals" - ForeColor = &H0000FFFF& - Height = 300 - Left = 2800 - TabIndex = 7 - Top = 200 - Width = 780 - End - End -End -Attribute VB_Name = "Ptrg9118" -Attribute VB_Creatable = False -Attribute VB_Exposed = False -Dim gnADChn As Long -Dim gnCount As Long -Dim gnC2 As Long -Dim gnBuffer(4020) As Integer -Dim card As Integer -Dim bus As Integer -Dim slot As Integer -Dim nRate As Long -Dim range As Integer -Dim card_number As Integer -Dim post_cnt As Long -Private Sub btnExit_Click() - If card >= 0 Then Release_Card (card) - End -End Sub - -Private Sub btnStart_Click() - Dim result As Integer - Dim half_ready As Byte - Dim access_cnt As Long - Dim fstop As Byte - - If card < 0 Then - card_num.Enabled = False - card = Register_Card(PCI_9118DG, card_number) - If card < 0 Then - MsgBox "Register Card Failed" - End - End If - End If - result = AI_9118_Config(card, P9118_AI_BiPolar Or P9118_AI_SingEnded, P9118_AI_DtrgPositive Or P9118_AI_EtrgPositive Or P9118_AI_PostTrgEn, 0, post_cnt) - result = AI_AsyncDblBufferMode(card, 0) - result = AI_ContReadChannel(card, gnADChn, range, gnBuffer(0), gnCount, CSng(nRate * 1000), ASYNCH_OP) - fstop = 0 - While fstop = 0 - result = AI_AsyncCheck(card, fstop, access_cnt) - Wend - 'result = WaitForSingleObject(hEnts.hTraceEnt, 40000) - result = AI_AsyncClear(card, access_cnt) - btnStart.Enabled = True - ShowData (access_cnt) -End Sub - - -Private Sub card_DragDrop(Source As Control, X As Single, Y As Single) - -End Sub - -Private Sub card_num_Click() - card_number = Val(Trim$(card_num)) -End Sub - - -Private Sub cobData_Click() - gnCount = Val(Trim$(cobData)) -End Sub - -Private Sub cobSample_Click() - nRate = Val(Trim$(cobSample)) -End Sub - -Private Sub Command1_Click() - -End Sub - -Private Sub Form_Load() - - card_num.AddItem "0" - card_num.AddItem "1" - card_num.AddItem "2" - card_num.AddItem "3" - card_num.AddItem "4" - card_num.AddItem "5" - card_num.AddItem "6" - card_num.AddItem "7" - card_num.AddItem "8" - card_num.AddItem "9" - card_num.AddItem "10" - card_num.AddItem "11" - card_num.AddItem "12" - card_num.AddItem "13" - card_num.AddItem "14" - card_num.AddItem "15" - - card_num.ListIndex = 0 - - cobData.AddItem "500" - cobData.AddItem "1000" - cobData.AddItem "2000" - cobData.AddItem "3000" - cobData.AddItem "4000" - - cobData.ListIndex = 0 - - cobSample.AddItem "10" - cobSample.AddItem "20" - cobSample.AddItem "30" - cobSample.AddItem "40" - cobSample.AddItem "50" - cobSample.AddItem "70" - cobSample.AddItem "90" - cobSample.AddItem "100" - - cobSample.ListIndex = 0 - - gnADChn = 0 - card = -1 - post_cnt = 1024 - 'Range values - range = AD_B_5_V - -End Sub - -Private Sub Form_Unload(Cancel As Integer) - If card >= 0 Then Release_Card (card) -End Sub - - -Private Sub optChn_Click(Index As Integer) - gnADChn = Index -End Sub - -Private Sub ShowData(count As Integer) - Dim i As Integer, last As Integer, total As Integer - Dim x1 As Integer, y1 As Integer, x2 As Integer, y2 As Integer - Dim w As Long, h As Long, data As Long - - picScreen.Cls - last = count - w = picScreen.ScaleWidth - h = picScreen.ScaleHeight - 'gnBuffer contains 16-bit data, the 4 LSB is channel# - 'VB's integer is signed integer, its range is -32768 to 32767 - 'We change the range to 0 to 65535 - If gnBuffer(0) >= 0 Then - data = gnBuffer(0) - Else - data = gnBuffer(0) + 65536 - End If - x1 = (last * w) / count - y1 = h - ((((data And &HFFF0) / 16) * h) / 4096) - last = last - 1 - - While (last > 0) - If gnBuffer(count - last) >= 0 Then - data = gnBuffer(count - last) - Else - data = gnBuffer(count - last) + 65536 - End If - x2 = (last * w) / count - y2 = h - ((((data And &HFFF0) / 16) * h) / 4096) - last = last - 1 - picScreen.Line (x1, y1)-(x2, y2), &HFFFF& - x1 = x2 - y1 = y2 - Wend -End Sub - -Private Sub exch_data(count As Integer) - Dim temp As Integer - Dim i As Integer - - i = 0 - While i < count - If (i Mod 2) = 0 Then - temp = gnBuffer(i) - gnBuffer(i) = gnBuffer(i + 1) - gnBuffer(i + 1) = temp - End If - i = i + 1 -Wend - -End Sub - - -Private Sub postCount_Change() - post_cnt = Val(Trim$(postCount)) -End Sub - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9118/vb9118Hrdma/Vb9118d.vbp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9118/vb9118Hrdma/Vb9118d.vbp deleted file mode 100644 index ee67380..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9118/vb9118Hrdma/Vb9118d.vbp +++ /dev/null @@ -1,20 +0,0 @@ -Form=vb9118d.Frm -Module=DASK; ..\..\..\Include\Dask.bas -Reference=*\G{00025E04-0000-0000-C000-000000000046}#2.5#0#D:\Program Files\Common Files\Microsoft Shared\DD:\Program Fil#Microsoft DAO 2.5/3.0 Compatibility Library -ProjWinSize=102,550,191,215 -ProjWinShow=2 -IconForm="dma9118" -HelpFile="" -Title="9118DMA" -ExeName32="9118Dma.exe" -ExeName="9118DMA.EXE" -Name="vb49118dma" -HelpContextID="0" -StartMode=0 -VersionCompatible32="0" -MajorVer=1 -MinorVer=0 -RevisionVer=0 -AutoIncrementVer=0 -ServerSupportFiles=0 -VersionCompanyName="ADLink" diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9118/vb9118Hrdma/W_event.bas b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9118/vb9118Hrdma/W_event.bas deleted file mode 100644 index f1d6748..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9118/vb9118Hrdma/W_event.bas +++ /dev/null @@ -1,3 +0,0 @@ -Option Explicit - -Declare Function WaitForSingleObject Lib "kernel32" Alias "WaitForSingleObject" (ByVal hHandle As Long, ByVal dwMilliseconds As Long) As Long \ No newline at end of file diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9118/vb9118Hrdma/vb9118d.Frm b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9118/vb9118Hrdma/vb9118d.Frm deleted file mode 100644 index 6881a26..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9118/vb9118Hrdma/vb9118d.Frm +++ /dev/null @@ -1,463 +0,0 @@ -VERSION 4.00 -Begin VB.Form dma9118 - Appearance = 0 'Flat - BackColor = &H00C0C0C0& - Caption = "9118 DMA" - ClientHeight = 4905 - ClientLeft = 2070 - ClientTop = 1545 - ClientWidth = 7665 - BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851} - Name = "MS Sans Serif" - Size = 8.25 - Charset = 0 - Weight = 700 - Underline = 0 'False - Italic = 0 'False - Strikethrough = 0 'False - EndProperty - ForeColor = &H0000FFFF& - Height = 5310 - Left = 2010 - LinkTopic = "Form1" - ScaleHeight = 4905 - ScaleWidth = 7665 - Top = 1200 - Width = 7785 - Begin VB.CommandButton btnExit - Appearance = 0 'Flat - BackColor = &H80000005& - Caption = "Exit" - Height = 500 - Left = 6120 - TabIndex = 4 - Top = 4080 - Width = 1000 - End - Begin VB.CommandButton btnStart - Appearance = 0 'Flat - BackColor = &H80000005& - Caption = "Start" - Height = 500 - Left = 4680 - TabIndex = 3 - Top = 4080 - Width = 1000 - End - Begin VB.Frame frmData - Appearance = 0 'Flat - BackColor = &H00C0C0C0& - Caption = "Buffer Size" - ForeColor = &H00FF0000& - Height = 615 - Left = 2160 - TabIndex = 2 - Top = 3960 - Width = 1935 - Begin VB.ComboBox cobData - Appearance = 0 'Flat - Height = 315 - Left = 120 - Style = 2 'Dropdown List - TabIndex = 15 - Top = 240 - Width = 975 - End - Begin VB.Label labData - Appearance = 0 'Flat - BackColor = &H00C0C0C0& - Caption = "Samples" - ForeColor = &H0000FFFF& - Height = 255 - Left = 1155 - TabIndex = 16 - Top = 255 - Width = 720 - End - End - Begin VB.Frame frmSample - Appearance = 0 'Flat - BackColor = &H00C0C0C0& - Caption = "Sampling Rate" - ForeColor = &H00FF0000& - Height = 615 - Left = 120 - TabIndex = 1 - Top = 3960 - Width = 1700 - Begin VB.ComboBox cobSample - Appearance = 0 'Flat - Height = 315 - Left = 120 - Style = 2 'Dropdown List - TabIndex = 14 - Top = 240 - Width = 975 - End - Begin VB.Label Label1 - Appearance = 0 'Flat - BackColor = &H00C0C0C0& - Caption = "KHz" - ForeColor = &H0000FFFF& - Height = 255 - Left = 1150 - TabIndex = 17 - Top = 260 - Width = 450 - End - End - Begin VB.Frame dmaFrame - Appearance = 0 'Flat - BackColor = &H00C0C0C0& - Caption = "DMA Input(A/D)" - ForeColor = &H00FF0000& - Height = 3375 - Left = 120 - TabIndex = 0 - Top = 120 - Width = 7455 - Begin VB.Frame Card_Frame - Caption = "Card Number" - ForeColor = &H00FF0000& - Height = 615 - Left = 5880 - TabIndex = 18 - Top = 2520 - Width = 1455 - Begin VB.ComboBox Card_num - Height = 315 - Left = 120 - TabIndex = 19 - Text = "Number" - Top = 240 - Width = 1215 - End - End - Begin VB.Frame frmChannel - Appearance = 0 'Flat - BackColor = &H00C0C0C0& - Caption = "AD Channel" - ForeColor = &H00FF0000& - Height = 1755 - Left = 5880 - TabIndex = 6 - Top = 480 - Width = 1380 - Begin VB.OptionButton optChn - Caption = "7" - Height = 255 - Index = 7 - Left = 780 - TabIndex = 27 - Top = 1260 - Width = 435 - End - Begin VB.OptionButton optChn - Caption = "6" - Height = 255 - Index = 6 - Left = 780 - TabIndex = 26 - Top = 960 - Width = 435 - End - Begin VB.OptionButton optChn - Caption = "5" - Height = 255 - Index = 5 - Left = 780 - TabIndex = 25 - Top = 660 - Width = 435 - End - Begin VB.OptionButton optChn - Caption = "4" - Height = 255 - Index = 4 - Left = 780 - TabIndex = 24 - Top = 360 - Width = 435 - End - Begin VB.OptionButton optChn - Caption = "3" - Height = 255 - Index = 3 - Left = 180 - TabIndex = 23 - Top = 1260 - Width = 435 - End - Begin VB.OptionButton optChn - Caption = "2" - Height = 255 - Index = 2 - Left = 180 - TabIndex = 22 - Top = 960 - Width = 435 - End - Begin VB.OptionButton optChn - Caption = "1" - Height = 255 - Index = 1 - Left = 180 - TabIndex = 21 - Top = 660 - Width = 435 - End - Begin VB.OptionButton optChn - Caption = "0" - Height = 255 - Index = 0 - Left = 180 - TabIndex = 20 - Top = 360 - Value = -1 'True - Width = 435 - End - End - Begin VB.PictureBox picScreen - Appearance = 0 'Flat - AutoRedraw = -1 'True - BackColor = &H00000000& - ForeColor = &H80000008& - Height = 2700 - Left = 720 - ScaleHeight = 178 - ScaleMode = 3 'Pixel - ScaleWidth = 331 - TabIndex = 5 - Top = 480 - Width = 5000 - End - Begin VB.Label labValue - Alignment = 1 'Right Justify - Appearance = 0 'Flat - BackColor = &H00C0C0C0& - Caption = "-5.00" - ForeColor = &H0000FFFF& - Height = 255 - Index = 4 - Left = 120 - TabIndex = 13 - Top = 3045 - Width = 600 - End - Begin VB.Label labValue - Alignment = 1 'Right Justify - Appearance = 0 'Flat - BackColor = &H00C0C0C0& - Caption = "-2.50" - ForeColor = &H0000FFFF& - Height = 255 - Index = 3 - Left = 120 - TabIndex = 12 - Top = 2400 - Width = 600 - End - Begin VB.Label labValue - Alignment = 1 'Right Justify - Appearance = 0 'Flat - BackColor = &H00C0C0C0& - Caption = "0.00" - ForeColor = &H0000FFFF& - Height = 255 - Index = 2 - Left = 120 - TabIndex = 11 - Top = 1740 - Width = 615 - End - Begin VB.Label labValue - Alignment = 1 'Right Justify - Appearance = 0 'Flat - BackColor = &H00C0C0C0& - Caption = "2.50" - ForeColor = &H0000FFFF& - Height = 255 - Index = 1 - Left = 120 - TabIndex = 10 - Top = 1065 - Width = 615 - End - Begin VB.Label labValue - Alignment = 1 'Right Justify - Appearance = 0 'Flat - BackColor = &H00C0C0C0& - Caption = "5.00" - ForeColor = &H0000FFFF& - Height = 255 - Index = 0 - Left = 120 - TabIndex = 9 - Top = 420 - Width = 615 - End - Begin VB.Label labVots - Appearance = 0 'Flat - BackColor = &H00C0C0C0& - Caption = "Vots" - ForeColor = &H0000FFFF& - Height = 255 - Left = 120 - TabIndex = 8 - Top = 200 - Width = 495 - End - Begin VB.Label labSignal - Appearance = 0 'Flat - BackColor = &H00C0C0C0& - Caption = "Signals" - ForeColor = &H0000FFFF& - Height = 300 - Left = 2800 - TabIndex = 7 - Top = 200 - Width = 780 - End - End -End -Attribute VB_Name = "dma9118" -Attribute VB_Creatable = False -Attribute VB_Exposed = False -Dim gnADChn As Long -Dim gnCount As Long -Dim gnC2 As Long -Dim gnBuffer(4000) As Integer -Dim card As Integer -Dim nRate As Long -Dim range As Integer -Dim card_number As Integer - -Private Sub btnExit_Click() - If card >= 0 Then Release_Card (card) - End -End Sub - -Private Sub btnStart_Click() - Dim result As Integer - Dim half_ready As Byte - Dim access_cnt As Long - - If card < 0 Then - card_num.Enabled = False - card = Register_Card(PCI_9118HR, card_number) - If card < 0 Then - MsgBox "Register Card Failed" - End - End If - End If - result = AI_9118_Config(card, P9118_AI_BiPolar Or P9118_AI_SingEnded, 0, 0, 0) - result = AI_AsyncDblBufferMode(card, 0) - result = AI_ContReadChannel(card, gnADChn, range, gnBuffer(0), gnCount, CSng(nRate * 1000), SYNCH_OP) - btnStart.Enabled = True - ShowData (gnCount) -End Sub - - -Private Sub card_DragDrop(Source As Control, X As Single, Y As Single) - -End Sub - -Private Sub card_num_Click() - card_number = Val(Trim$(card_num)) -End Sub - - -Private Sub cobData_Click() - gnCount = Val(Trim$(cobData)) -End Sub - -Private Sub cobSample_Click() - nRate = Val(Trim$(cobSample)) -End Sub - -Private Sub Form_Load() - - card_num.AddItem "0" - card_num.AddItem "1" - card_num.AddItem "2" - card_num.AddItem "3" - card_num.AddItem "4" - card_num.AddItem "5" - card_num.AddItem "6" - card_num.AddItem "7" - card_num.AddItem "8" - card_num.AddItem "9" - card_num.AddItem "10" - card_num.AddItem "11" - card_num.AddItem "12" - card_num.AddItem "13" - card_num.AddItem "14" - card_num.AddItem "15" - - card_num.ListIndex = 0 - - cobData.AddItem "500" - cobData.AddItem "1000" - cobData.AddItem "2000" - cobData.AddItem "3000" - cobData.AddItem "4000" - - cobData.ListIndex = 0 - - cobSample.AddItem "10" - cobSample.AddItem "20" - cobSample.AddItem "30" - cobSample.AddItem "40" - cobSample.AddItem "50" - cobSample.AddItem "70" - cobSample.AddItem "90" - cobSample.AddItem "100" - - cobSample.ListIndex = 0 - - gnADChn = 0 - card = -1 - 'Range values - range = AD_B_5_V - -End Sub - -Private Sub Form_Unload(Cancel As Integer) - If card >= 0 Then Release_Card (card) -End Sub - - -Private Sub optChn_Click(Index As Integer) - gnADChn = Index -End Sub - -Private Sub ShowData(count As Integer) - Dim i As Integer, last As Integer, total As Integer - Dim x1 As Integer, y1 As Integer, x2 As Integer, y2 As Integer - Dim w As Long, h As Long, data As Long - - picScreen.Cls - last = count - w = picScreen.ScaleWidth - h = picScreen.ScaleHeight - 'gnBuffer contains 16-bit data, the 4 LSB is channel# - 'VB's integer is signed integer, its range is -32768 to 32767 - 'We change the range to 0 to 65535 - - x1 = (last * w) / count - y1 = h / 2 - ((data / 65535) * h) - last = last - 1 - - While (last > 0) - data = gnBuffer(count - last) - x2 = (last * w) / count - y2 = h / 2 - ((data / 65535) * h) - last = last - 1 - picScreen.Line (x1, y1)-(x2, y2), &HFFFF& - x1 = x2 - y1 = y2 - Wend -End Sub - - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9221/C9221AIDma/c9221ai_dma.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9221/C9221AIDma/c9221ai_dma.cpp deleted file mode 100644 index a25a1e6..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9221/C9221AIDma/c9221ai_dma.cpp +++ /dev/null @@ -1,105 +0,0 @@ -#include -#include -#include -#include -#include "dask.h" - -#define ChnCount 16 - -#define SampIntv 160 -#define ScanIntv SampIntv*ChnCount - -#define DataCount 3200 - -#define TimeBase 40000 - -void main() -{ - FILE *svfile; - int i, j; - I16 err, card; - U16 card_num; - F64 Volt_Val; - - U16 buffer[DataCount]; - U16 bufferID; - - U16 Chans[ChnCount] = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15}; - U16 AdRanges[ChnCount] = {AD_B_5_V, AD_B_5_V, AD_B_5_V, AD_B_5_V, AD_B_5_V, AD_B_5_V, AD_B_5_V, AD_B_5_V, AD_B_5_V, AD_B_5_V, AD_B_5_V, AD_B_5_V, AD_B_5_V, AD_B_5_V, AD_B_5_V, AD_B_5_V}; - const char file[] = "9221d.txt"; - - memset(buffer, '\0', DataCount*2); - - svfile = fopen(file, "w"); - - printf("This sample performs DMA AI Acquisition from channel 0 to channel 15, and acquires %d AI Voltage Data in %4.2f KHz sampling rate.", DataCount, (F32)TimeBase/SampIntv); - printf(" And Stores acquired data to %s.\n", file); - - printf("\nPlease input Card Number:"); - scanf(" %hd", &card_num); - - if ((card = Register_Card(PCI_9221, card_num)) <0 ) { - printf("Register_Card error=%d", card); - exit(1); - } - - err = AI_9221_Config (card, P9221_AI_SingEnded|P9221_AI_IntTimeBase, P9221_TRGMOD_SOFT, 0); - if(err <0){ - printf("AI_9221_CounterInterval err: %d\n", err); - Release_Card(card); - exit(1); - } - - err = AI_9221_CounterInterval (card, ScanIntv, SampIntv); - if(err <0){ - printf("AI_ContBufferSetup1 err: %d\n", err); - exit(1); - } - - err = AI_SetTimeOut(card, 10000); - if(err <0){ - printf("AI_SetTimeOut err: %d\n", err); - exit(1); - } - - err = AI_ContBufferSetup (card, buffer, DataCount, &bufferID); - if(err <0){ - printf("AI_ContBufferSetup err: %d\n", err); - Release_Card(card); - exit(1); - } - - printf("\nPress any key to start.\n"); - getch(); - - err = AI_ContReadMultiChannels (card, ChnCount, Chans, AdRanges, &bufferID, DataCount, 0, SYNCH_OP); - if(err <0){ - printf("AI_ContReadMultiChannels err: %d\n", err); - AI_ContBufferReset(card); - Release_Card(card); - exit(1); - } - - printf("\nAcquisition Done.\n"); - - for(i=0; i -# Microsoft Developer Studio Generated Build File, Format Version 6.00 -# ** DO NOT EDIT ** - -# TARGTYPE "Win32 (x86) Console Application" 0x0103 - -CFG=c9221ai_dma - Win32 Release -!MESSAGE This is not a valid makefile. To build this project using NMAKE, -!MESSAGE use the Export Makefile command and run -!MESSAGE -!MESSAGE NMAKE /f "c9221ai_dma.mak". -!MESSAGE -!MESSAGE You can specify a configuration when running NMAKE -!MESSAGE by defining the macro CFG on the command line. For example: -!MESSAGE -!MESSAGE NMAKE /f "c9221ai_dma.mak" CFG="c9221ai_dma - Win32 Release" -!MESSAGE -!MESSAGE Possible choices for configuration are: -!MESSAGE -!MESSAGE "c9221ai_dma - Win32 Release" (based on "Win32 (x86) Console Application") -!MESSAGE "c9221ai_dma - Win32 Debug" (based on "Win32 (x86) Console Application") -!MESSAGE - -# Begin Project -# PROP AllowPerConfigDependencies 0 -# PROP Scc_ProjName "" -# PROP Scc_LocalPath "" -CPP=cl.exe -RSC=rc.exe - -!IF "$(CFG)" == "c9221ai_dma - Win32 Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir ".\Release" -# PROP BASE Intermediate_Dir ".\Release" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "" -# PROP Intermediate_Dir ".\Release" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /YX /c -# ADD CPP /nologo /MTd /W3 /GX /O2 /I "..\..\..\include" /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /FD /c -# SUBTRACT CPP /YX -# ADD BASE RSC /l 0x409 /d "NDEBUG" -# ADD RSC /l 0x409 /d "NDEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib /nologo /subsystem:console /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib ..\..\..\lib\pci-dask.lib /nologo /subsystem:console /machine:I386 - -!ELSEIF "$(CFG)" == "c9221ai_dma - Win32 Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir ".\Debug" -# PROP BASE Intermediate_Dir ".\Debug" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir ".\Debug" -# PROP Intermediate_Dir ".\Debug" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /Gm /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /YX /c -# ADD CPP /nologo /MTd /W3 /Gm /GX /ZI /Od /I "..\..\..\include" /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /FD /c -# SUBTRACT CPP /YX -# ADD BASE RSC /l 0x409 /d "_DEBUG" -# ADD RSC /l 0x409 /d "_DEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib /nologo /subsystem:console /debug /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib ..\..\..\lib\pci-dask.lib /nologo /subsystem:console /incremental:no /debug /machine:I386 - -!ENDIF - -# Begin Target - -# Name "c9221ai_dma - Win32 Release" -# Name "c9221ai_dma - Win32 Debug" -# Begin Group "Source Files" - -# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;hpj;bat;for;f90" -# Begin Source File - -SOURCE=.\c9221ai_dma.cpp -# End Source File -# End Group -# Begin Group "Header Files" - -# PROP Default_Filter "h;hpp;hxx;hm;inl;fi;fd" -# End Group -# Begin Group "Resource Files" - -# PROP Default_Filter "ico;cur;bmp;dlg;rc2;rct;bin;cnt;rtf;gif;jpg;jpeg;jpe" -# End Group -# End Target -# End Project diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9221/C9221AIDma/c9221ai_dma.dsw b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9221/C9221AIDma/c9221ai_dma.dsw deleted file mode 100644 index 69b61c5..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9221/C9221AIDma/c9221ai_dma.dsw +++ /dev/null @@ -1,29 +0,0 @@ -Microsoft Developer Studio Workspace File, Format Version 6.00 -# WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE! - -############################################################################### - -Project: "c9221ai_dma"=.\c9221ai_dma.dsp - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ -}}} - -############################################################################### - -Global: - -Package=<5> -{{{ -}}} - -Package=<3> -{{{ -}}} - -############################################################################### - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9221/C9221AIDma/c9221ai_dma.exe b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9221/C9221AIDma/c9221ai_dma.exe deleted file mode 100644 index 09afa70..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9221/C9221AIDma/c9221ai_dma.exe and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9221/C9221AIDmaToFile/c9221ai_dma.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9221/C9221AIDmaToFile/c9221ai_dma.cpp deleted file mode 100644 index eace00b..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9221/C9221AIDmaToFile/c9221ai_dma.cpp +++ /dev/null @@ -1,75 +0,0 @@ -#include -#include -#include -#include -#include "dask.h" - -#define ChnCount 15 - -#define SampIntv 160 -#define ScanIntv SampIntv*(ChnCount+1) - -#define DataCount 3200 - -void main() -{ - int i, j; - I16 err, card; - U16 card_num; - F64 Volt_Val; - U8 file[] = "9221d"; - - U16 buffer[DataCount]; - U16 bufferID; - - memset(buffer, '\0', DataCount*2); - - printf("This sample converts %d AI Voltage from AI Channel 0 to 15, and stores data to 9221d.dat file.\n", DataCount); - - printf("\nPlease input Card Number:"); - scanf(" %hd", &card_num); - - if ((card = Register_Card(PCI_9221, card_num)) <0 ) { - printf("Register_Card error=%d", card); - exit(1); - } - - err = AI_9221_Config (card, P9221_AI_SingEnded|P9221_AI_IntTimeBase, P9221_TRGMOD_SOFT, 0); - if(err <0){ - printf("AI_9221_CounterInterval err: %d\n", err); - Release_Card(card); - exit(1); - } - - err = AI_9221_CounterInterval (card, ScanIntv, SampIntv); - if(err <0){ - printf("AI_ContBufferSetup1 err: %d\n", err); - exit(1); - } - - err = AI_ContBufferSetup (card, buffer, DataCount, &bufferID); - if(err <0){ - printf("AI_ContBufferSetup err: %d\n", err); - Release_Card(card); - exit(1); - } - - printf("\nPlease any key to start.\n"); - getch(); - - err = AI_ContScanChannelsToFile (card, ChnCount, AD_B_5_V, file, DataCount, 0, SYNCH_OP); - if(err <0){ - printf("AI_ContScanChannelsToFile err: %d\n", err); - AI_ContBufferReset(card); - Release_Card(card); - exit(1); - } - - printf("\nAcqusition Done.\n"); - printf("Press any key to exit.\n"); - getch(); - - AI_ContBufferReset(card); - Release_Card(card); - return; -} \ No newline at end of file diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9221/C9221AIDmaToFile/c9221ai_dma.dsp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9221/C9221AIDmaToFile/c9221ai_dma.dsp deleted file mode 100644 index 0697e23..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9221/C9221AIDmaToFile/c9221ai_dma.dsp +++ /dev/null @@ -1,104 +0,0 @@ -# Microsoft Developer Studio Project File - Name="c9221ai_dma" - Package Owner=<4> -# Microsoft Developer Studio Generated Build File, Format Version 6.00 -# ** DO NOT EDIT ** - -# TARGTYPE "Win32 (x86) Console Application" 0x0103 - -CFG=c9221ai_dma - Win32 Release -!MESSAGE This is not a valid makefile. To build this project using NMAKE, -!MESSAGE use the Export Makefile command and run -!MESSAGE -!MESSAGE NMAKE /f "c9221ai_dma.mak". -!MESSAGE -!MESSAGE You can specify a configuration when running NMAKE -!MESSAGE by defining the macro CFG on the command line. For example: -!MESSAGE -!MESSAGE NMAKE /f "c9221ai_dma.mak" CFG="c9221ai_dma - Win32 Release" -!MESSAGE -!MESSAGE Possible choices for configuration are: -!MESSAGE -!MESSAGE "c9221ai_dma - Win32 Release" (based on "Win32 (x86) Console Application") -!MESSAGE "c9221ai_dma - Win32 Debug" (based on "Win32 (x86) Console Application") -!MESSAGE - -# Begin Project -# PROP AllowPerConfigDependencies 0 -# PROP Scc_ProjName "" -# PROP Scc_LocalPath "" -CPP=cl.exe -RSC=rc.exe - -!IF "$(CFG)" == "c9221ai_dma - Win32 Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir ".\Release" -# PROP BASE Intermediate_Dir ".\Release" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "" -# PROP Intermediate_Dir ".\Release" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /YX /c -# ADD CPP /nologo /MTd /W3 /GX /O2 /I "..\..\..\include" /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /FD /c -# SUBTRACT CPP /YX -# ADD BASE RSC /l 0x409 /d "NDEBUG" -# ADD RSC /l 0x409 /d "NDEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib /nologo /subsystem:console /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib ..\..\..\lib\pci-dask.lib /nologo /subsystem:console /machine:I386 - -!ELSEIF "$(CFG)" == "c9221ai_dma - Win32 Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir ".\Debug" -# PROP BASE Intermediate_Dir ".\Debug" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir ".\Debug" -# PROP Intermediate_Dir ".\Debug" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /Gm /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /YX /c -# ADD CPP /nologo /MTd /W3 /Gm /GX /ZI /Od /I "..\..\..\include" /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /FD /c -# SUBTRACT CPP /YX -# ADD BASE RSC /l 0x409 /d "_DEBUG" -# ADD RSC /l 0x409 /d "_DEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib /nologo /subsystem:console /debug /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib ..\..\..\lib\pci-dask.lib /nologo /subsystem:console /incremental:no /debug /machine:I386 - -!ENDIF - -# Begin Target - -# Name "c9221ai_dma - Win32 Release" -# Name "c9221ai_dma - Win32 Debug" -# Begin Group "Source Files" - -# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;hpj;bat;for;f90" -# Begin Source File - -SOURCE=.\c9221ai_dma.cpp -# End Source File -# End Group -# Begin Group "Header Files" - -# PROP Default_Filter "h;hpp;hxx;hm;inl;fi;fd" -# End Group -# Begin Group "Resource Files" - -# PROP Default_Filter "ico;cur;bmp;dlg;rc2;rct;bin;cnt;rtf;gif;jpg;jpeg;jpe" -# End Group -# End Target -# End Project diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9221/C9221AIDmaToFile/c9221ai_dma.dsw b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9221/C9221AIDmaToFile/c9221ai_dma.dsw deleted file mode 100644 index 69b61c5..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9221/C9221AIDmaToFile/c9221ai_dma.dsw +++ /dev/null @@ -1,29 +0,0 @@ -Microsoft Developer Studio Workspace File, Format Version 6.00 -# WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE! - -############################################################################### - -Project: "c9221ai_dma"=.\c9221ai_dma.dsp - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ -}}} - -############################################################################### - -Global: - -Package=<5> -{{{ -}}} - -Package=<3> -{{{ -}}} - -############################################################################### - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9221/C9221AIDmaToFile/c9221ai_dma.exe b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9221/C9221AIDmaToFile/c9221ai_dma.exe deleted file mode 100644 index 2d9e618..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9221/C9221AIDmaToFile/c9221ai_dma.exe and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9221/C9221AIDma_ExtD/c9221ai_dma.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9221/C9221AIDma_ExtD/c9221ai_dma.cpp deleted file mode 100644 index 3ed5182..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9221/C9221AIDma_ExtD/c9221ai_dma.cpp +++ /dev/null @@ -1,93 +0,0 @@ -#include -#include -#include -#include -#include "dask.h" - -#define ScanIntv 160 -#define SampIntv 160 -#define DataCount 4000 -#define ChnNum 0 -#define TimeBase 40000 - -void main() -{ - - FILE *svfile; - int i; - I16 err, card; - U16 card_num; - F64 Volt_Val; - - U16 buffer[DataCount]; - U16 bufferID; - svfile = fopen("9221d.txt", "w"); - - printf("This sample converts AI Voltage from channel %d in %6.2f KHz sampling rate.\n", ChnNum, (F32)TimeBase/SampIntv ); - printf("This sample is differential mode and external digital trigger mode.\n"); - printf("please connect external digital trigger to GPI0(pin8).\n"); - - printf("\nPlease Input Card Number:"); - scanf(" %hd", &card_num); - if ((card = Register_Card(PCI_9221, card_num)) <0 ) { - printf("Register_Card error=%d", card); - exit(1); - } - - err = AI_9221_Config (card, P9221_AI_Differential|P9221_AI_IntTimeBase, P9221_TRGMOD_ExtD|P9221_TRGSRC_GPI0, 0); - if(err <0){ - printf("AI_9221_CounterInterval err: %d\n", err); - Release_Card(card); - exit(1); - } - - err = AI_9221_CounterInterval (card, ScanIntv, SampIntv); - if(err <0){ - printf("AI_9221_CounterInterval err: %d\n", err); - Release_Card(card); - exit(1); - } - - err = AI_SetTimeOut (card, 60000); - if(err <0){ - printf("AI_SetTimeOut err: %d\n", err); - Release_Card(card); - exit(1); - } - - err = AI_ContBufferSetup (card, buffer, DataCount, &bufferID); - if(err <0){ - printf("AI_ContBufferSetup err: %d\n", err); - Release_Card(card); - exit(1); - } - - printf("\npress any key to start.\n"); - getch(); - err = AI_ContReadChannel (card, ChnNum, AD_B_5_V, &bufferID, DataCount, 0, SYNCH_OP); - if(err <0){ - printf("AI_ContReadChannel err: %d\n", err); - AI_ContBufferReset(card); - Release_Card(card); - exit(1); - } - - for (i=0; i -# Microsoft Developer Studio Generated Build File, Format Version 6.00 -# ** DO NOT EDIT ** - -# TARGTYPE "Win32 (x86) Console Application" 0x0103 - -CFG=c9221ai_dma - Win32 Release -!MESSAGE This is not a valid makefile. To build this project using NMAKE, -!MESSAGE use the Export Makefile command and run -!MESSAGE -!MESSAGE NMAKE /f "c9221ai_dma.mak". -!MESSAGE -!MESSAGE You can specify a configuration when running NMAKE -!MESSAGE by defining the macro CFG on the command line. For example: -!MESSAGE -!MESSAGE NMAKE /f "c9221ai_dma.mak" CFG="c9221ai_dma - Win32 Release" -!MESSAGE -!MESSAGE Possible choices for configuration are: -!MESSAGE -!MESSAGE "c9221ai_dma - Win32 Release" (based on "Win32 (x86) Console Application") -!MESSAGE "c9221ai_dma - Win32 Debug" (based on "Win32 (x86) Console Application") -!MESSAGE - -# Begin Project -# PROP AllowPerConfigDependencies 0 -# PROP Scc_ProjName "" -# PROP Scc_LocalPath "" -CPP=cl.exe -RSC=rc.exe - -!IF "$(CFG)" == "c9221ai_dma - Win32 Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir ".\Release" -# PROP BASE Intermediate_Dir ".\Release" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "" -# PROP Intermediate_Dir ".\Release" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /YX /c -# ADD CPP /nologo /MTd /W3 /GX /O2 /I "..\..\..\include" /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /FD /c -# SUBTRACT CPP /YX -# ADD BASE RSC /l 0x409 /d "NDEBUG" -# ADD RSC /l 0x409 /d "NDEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib /nologo /subsystem:console /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib ..\..\..\lib\pci-dask.lib /nologo /subsystem:console /machine:I386 - -!ELSEIF "$(CFG)" == "c9221ai_dma - Win32 Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir ".\Debug" -# PROP BASE Intermediate_Dir ".\Debug" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir ".\Debug" -# PROP Intermediate_Dir ".\Debug" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /Gm /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /YX /c -# ADD CPP /nologo /MTd /W3 /Gm /GX /ZI /Od /I "..\..\..\include" /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /FD /c -# SUBTRACT CPP /YX -# ADD BASE RSC /l 0x409 /d "_DEBUG" -# ADD RSC /l 0x409 /d "_DEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib /nologo /subsystem:console /debug /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib ..\..\..\lib\pci-dask.lib /nologo /subsystem:console /incremental:no /debug /machine:I386 - -!ENDIF - -# Begin Target - -# Name "c9221ai_dma - Win32 Release" -# Name "c9221ai_dma - Win32 Debug" -# Begin Group "Source Files" - -# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;hpj;bat;for;f90" -# Begin Source File - -SOURCE=.\c9221ai_dma.cpp -# End Source File -# End Group -# Begin Group "Header Files" - -# PROP Default_Filter "h;hpp;hxx;hm;inl;fi;fd" -# End Group -# Begin Group "Resource Files" - -# PROP Default_Filter "ico;cur;bmp;dlg;rc2;rct;bin;cnt;rtf;gif;jpg;jpeg;jpe" -# End Group -# End Target -# End Project diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9221/C9221AIDma_ExtD/c9221ai_dma.dsw b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9221/C9221AIDma_ExtD/c9221ai_dma.dsw deleted file mode 100644 index 69b61c5..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9221/C9221AIDma_ExtD/c9221ai_dma.dsw +++ /dev/null @@ -1,29 +0,0 @@ -Microsoft Developer Studio Workspace File, Format Version 6.00 -# WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE! - -############################################################################### - -Project: "c9221ai_dma"=.\c9221ai_dma.dsp - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ -}}} - -############################################################################### - -Global: - -Package=<5> -{{{ -}}} - -Package=<3> -{{{ -}}} - -############################################################################### - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9221/C9221AIDma_ExtD/c9221ai_dma.exe b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9221/C9221AIDma_ExtD/c9221ai_dma.exe deleted file mode 100644 index 48e80bd..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9221/C9221AIDma_ExtD/c9221ai_dma.exe and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9221/C9221AIPoll/c9221ai_polling.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9221/C9221AIPoll/c9221ai_polling.cpp deleted file mode 100644 index 4b9f988..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9221/C9221AIPoll/c9221ai_polling.cpp +++ /dev/null @@ -1,40 +0,0 @@ -#include -#include -#include -#include -#include "dask.h" - -void main(int argc, char* argv[]) -{ - I16 err, card; - U16 card_num; - F64 Volt_Read; - - printf("This sample polls voltage value from AI0.\n"); - - printf("\nPlease input card number:"); - scanf(" %hd", &card_num); - if ((card = Register_Card(PCI_9221, card_num)) <0 ) { - printf("Register_Card error=%d", card); - exit(1); - } - - printf("press any key to start.\n"); - getch(); - - do{ - Sleep(100); - system("cls"); - err = AI_VReadChannel (card, 0, AD_B_5_V, &Volt_Read); - if(err <0){ - printf("AI_ReadChannel err: %d\n", err); - Release_Card(card); - exit(1); - } - printf("\nInput Voltage: %4.4f\n", Volt_Read); - printf("\n press any key to stop.\n"); - }while(!kbhit()); - - Release_Card(card); - return; -} \ No newline at end of file diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9221/C9221AIPoll/c9221ai_polling.dsp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9221/C9221AIPoll/c9221ai_polling.dsp deleted file mode 100644 index c775538..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9221/C9221AIPoll/c9221ai_polling.dsp +++ /dev/null @@ -1,104 +0,0 @@ -# Microsoft Developer Studio Project File - Name="c9221ai_polling" - Package Owner=<4> -# Microsoft Developer Studio Generated Build File, Format Version 6.00 -# ** DO NOT EDIT ** - -# TARGTYPE "Win32 (x86) Console Application" 0x0103 - -CFG=c9221ai_polling - Win32 Release -!MESSAGE This is not a valid makefile. To build this project using NMAKE, -!MESSAGE use the Export Makefile command and run -!MESSAGE -!MESSAGE NMAKE /f "c9221ai_polling.mak". -!MESSAGE -!MESSAGE You can specify a configuration when running NMAKE -!MESSAGE by defining the macro CFG on the command line. For example: -!MESSAGE -!MESSAGE NMAKE /f "c9221ai_polling.mak" CFG="c9221ai_polling - Win32 Release" -!MESSAGE -!MESSAGE Possible choices for configuration are: -!MESSAGE -!MESSAGE "c9221ai_polling - Win32 Release" (based on "Win32 (x86) Console Application") -!MESSAGE "c9221ai_polling - Win32 Debug" (based on "Win32 (x86) Console Application") -!MESSAGE - -# Begin Project -# PROP AllowPerConfigDependencies 0 -# PROP Scc_ProjName "" -# PROP Scc_LocalPath "" -CPP=cl.exe -RSC=rc.exe - -!IF "$(CFG)" == "c9221ai_polling - Win32 Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir ".\Release" -# PROP BASE Intermediate_Dir ".\Release" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "" -# PROP Intermediate_Dir ".\Release" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /YX /c -# ADD CPP /nologo /MTd /W3 /GX /O2 /I "..\..\..\include" /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /FD /c -# SUBTRACT CPP /YX -# ADD BASE RSC /l 0x409 /d "NDEBUG" -# ADD RSC /l 0x409 /d "NDEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib /nologo /subsystem:console /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib ..\..\..\lib\pci-dask.lib /nologo /subsystem:console /machine:I386 - -!ELSEIF "$(CFG)" == "c9221ai_polling - Win32 Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir ".\Debug" -# PROP BASE Intermediate_Dir ".\Debug" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir ".\Debug" -# PROP Intermediate_Dir ".\Debug" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /Gm /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /YX /c -# ADD CPP /nologo /MTd /W3 /Gm /GX /ZI /Od /I "..\..\..\include" /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /FD /c -# SUBTRACT CPP /YX -# ADD BASE RSC /l 0x409 /d "_DEBUG" -# ADD RSC /l 0x409 /d "_DEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib /nologo /subsystem:console /debug /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib ..\..\..\lib\pci-dask.lib /nologo /subsystem:console /incremental:no /debug /machine:I386 - -!ENDIF - -# Begin Target - -# Name "c9221ai_polling - Win32 Release" -# Name "c9221ai_polling - Win32 Debug" -# Begin Group "Source Files" - -# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;hpj;bat;for;f90" -# Begin Source File - -SOURCE=.\c9221ai_polling.cpp -# End Source File -# End Group -# Begin Group "Header Files" - -# PROP Default_Filter "h;hpp;hxx;hm;inl;fi;fd" -# End Group -# Begin Group "Resource Files" - -# PROP Default_Filter "ico;cur;bmp;dlg;rc2;rct;bin;cnt;rtf;gif;jpg;jpeg;jpe" -# End Group -# End Target -# End Project diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9221/C9221AIPoll/c9221ai_polling.dsw b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9221/C9221AIPoll/c9221ai_polling.dsw deleted file mode 100644 index aaaf040..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9221/C9221AIPoll/c9221ai_polling.dsw +++ /dev/null @@ -1,29 +0,0 @@ -Microsoft Developer Studio Workspace File, Format Version 6.00 -# WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE! - -############################################################################### - -Project: "c9221ai_polling"=.\c9221ai_polling.dsp - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ -}}} - -############################################################################### - -Global: - -Package=<5> -{{{ -}}} - -Package=<3> -{{{ -}}} - -############################################################################### - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9221/C9221AIPoll/c9221ai_polling.exe b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9221/C9221AIPoll/c9221ai_polling.exe deleted file mode 100644 index cf641a2..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9221/C9221AIPoll/c9221ai_polling.exe and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9221/C9221AIPoll_MultiChn/c9221ai_polling.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9221/C9221AIPoll_MultiChn/c9221ai_polling.cpp deleted file mode 100644 index f65bafa..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9221/C9221AIPoll_MultiChn/c9221ai_polling.cpp +++ /dev/null @@ -1,64 +0,0 @@ -#include -#include -#include -#include -#include "dask.h" - -#define ChnCount 8 -#define ScanCount 500 - -void main() -{ - FILE *svfile; - int i; - I16 err, card; - U16 card_num; - F64 Volt_Val; - - U16 buffer[ChnCount*ScanCount]; - U16 Chans[ChnCount] = {0, 1, 2, 3, 4, 5, 6, 7}; - U16 AdRanges[ChnCount] = {AD_B_5_V, AD_B_5_V, AD_B_5_V, AD_B_5_V, AD_B_5_V, AD_B_5_V, AD_B_5_V, AD_B_5_V}; - - svfile = fopen("9221d.txt", "w"); - - printf("This sample performs %d AI scan, and scans %d channels per scan\n", ScanCount, ChnCount); - printf("And the scaned data will be stored in 9221d.txt.\n"); - - printf("\nPlease input card number:"); - scanf(" %hd", &card_num); - if ((card = Register_Card(PCI_9221, 0)) <0 ) { - printf("Register_Card error=%d", card); - exit(1); - } - - memset(buffer, '\0', ChnCount*ScanCount*2); - AO_VWriteChannel(card, 0, -5.0); - AO_VWriteChannel(card, 1, +3.0); - printf("\nPress any key to start.\n"); - getch(); - - for(i=0; i -# Microsoft Developer Studio Generated Build File, Format Version 6.00 -# ** DO NOT EDIT ** - -# TARGTYPE "Win32 (x86) Console Application" 0x0103 - -CFG=c9221ai_polling - Win32 Release -!MESSAGE This is not a valid makefile. To build this project using NMAKE, -!MESSAGE use the Export Makefile command and run -!MESSAGE -!MESSAGE NMAKE /f "c9221ai_polling.mak". -!MESSAGE -!MESSAGE You can specify a configuration when running NMAKE -!MESSAGE by defining the macro CFG on the command line. For example: -!MESSAGE -!MESSAGE NMAKE /f "c9221ai_polling.mak" CFG="c9221ai_polling - Win32 Release" -!MESSAGE -!MESSAGE Possible choices for configuration are: -!MESSAGE -!MESSAGE "c9221ai_polling - Win32 Release" (based on "Win32 (x86) Console Application") -!MESSAGE "c9221ai_polling - Win32 Debug" (based on "Win32 (x86) Console Application") -!MESSAGE - -# Begin Project -# PROP AllowPerConfigDependencies 0 -# PROP Scc_ProjName "" -# PROP Scc_LocalPath "" -CPP=cl.exe -RSC=rc.exe - -!IF "$(CFG)" == "c9221ai_polling - Win32 Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir ".\Release" -# PROP BASE Intermediate_Dir ".\Release" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "" -# PROP Intermediate_Dir ".\Release" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /YX /c -# ADD CPP /nologo /MTd /W3 /GX /O2 /I "..\..\..\include" /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /FD /c -# SUBTRACT CPP /YX -# ADD BASE RSC /l 0x409 /d "NDEBUG" -# ADD RSC /l 0x409 /d "NDEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib /nologo /subsystem:console /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib ..\..\..\lib\pci-dask.lib /nologo /subsystem:console /machine:I386 - -!ELSEIF "$(CFG)" == "c9221ai_polling - Win32 Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir ".\Debug" -# PROP BASE Intermediate_Dir ".\Debug" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir ".\Debug" -# PROP Intermediate_Dir ".\Debug" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /Gm /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /YX /c -# ADD CPP /nologo /MTd /W3 /Gm /GX /ZI /Od /I "..\..\..\include" /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /FD /c -# SUBTRACT CPP /YX -# ADD BASE RSC /l 0x409 /d "_DEBUG" -# ADD RSC /l 0x409 /d "_DEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib /nologo /subsystem:console /debug /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib ..\..\..\lib\pci-dask.lib /nologo /subsystem:console /incremental:no /debug /machine:I386 - -!ENDIF - -# Begin Target - -# Name "c9221ai_polling - Win32 Release" -# Name "c9221ai_polling - Win32 Debug" -# Begin Group "Source Files" - -# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;hpj;bat;for;f90" -# Begin Source File - -SOURCE=.\c9221ai_polling.cpp -# End Source File -# End Group -# Begin Group "Header Files" - -# PROP Default_Filter "h;hpp;hxx;hm;inl;fi;fd" -# End Group -# Begin Group "Resource Files" - -# PROP Default_Filter "ico;cur;bmp;dlg;rc2;rct;bin;cnt;rtf;gif;jpg;jpeg;jpe" -# End Group -# End Target -# End Project diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9221/C9221AIPoll_MultiChn/c9221ai_polling.dsw b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9221/C9221AIPoll_MultiChn/c9221ai_polling.dsw deleted file mode 100644 index aaaf040..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9221/C9221AIPoll_MultiChn/c9221ai_polling.dsw +++ /dev/null @@ -1,29 +0,0 @@ -Microsoft Developer Studio Workspace File, Format Version 6.00 -# WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE! - -############################################################################### - -Project: "c9221ai_polling"=.\c9221ai_polling.dsp - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ -}}} - -############################################################################### - -Global: - -Package=<5> -{{{ -}}} - -Package=<3> -{{{ -}}} - -############################################################################### - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9221/C9221AIPoll_MultiChn/c9221ai_polling.exe b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9221/C9221AIPoll_MultiChn/c9221ai_polling.exe deleted file mode 100644 index 78a11e1..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9221/C9221AIPoll_MultiChn/c9221ai_polling.exe and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9221/C9221AO/c9221ao.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9221/C9221AO/c9221ao.cpp deleted file mode 100644 index da5ad92..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9221/C9221AO/c9221ao.cpp +++ /dev/null @@ -1,37 +0,0 @@ -#include -#include -#include -#include -#include "dask.h" - -void main(void) -{ - I16 err, card, card_num; - U16 chn = 0; - F32 Vot_Out; - char bStop; - - printf("This sample output voltage to AO0.\n"); - - printf("\nPlease input a card number:"); - scanf(" %hd", &card_num); - if ((card = Register_Card(PCI_9221, card_num)) <0 ) { - printf("Register_Card error=%d", card); - exit(1); - } - - do{ - printf("\nKey in Output Voltage(-5 ~ +5):"); - scanf("%f", &Vot_Out); - if(Vot_Out>5.0||Vot_Out<-5.0){ - printf("Invalid Voltage Value\n"); - continue; - } - AO_VWriteChannel (card, chn, (F64)Vot_Out); - printf(" (Q)uit?"); - bStop = getch(); - }while((bStop!='q')&&(bStop!='Q')); - - Release_Card(card); - return; -} \ No newline at end of file diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9221/C9221AO/c9221ao.dsp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9221/C9221AO/c9221ao.dsp deleted file mode 100644 index c5d2d97..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9221/C9221AO/c9221ao.dsp +++ /dev/null @@ -1,104 +0,0 @@ -# Microsoft Developer Studio Project File - Name="test" - Package Owner=<4> -# Microsoft Developer Studio Generated Build File, Format Version 6.00 -# ** DO NOT EDIT ** - -# TARGTYPE "Win32 (x86) Console Application" 0x0103 - -CFG=test - Win32 Release -!MESSAGE This is not a valid makefile. To build this project using NMAKE, -!MESSAGE use the Export Makefile command and run -!MESSAGE -!MESSAGE NMAKE /f "c9221ao.mak". -!MESSAGE -!MESSAGE You can specify a configuration when running NMAKE -!MESSAGE by defining the macro CFG on the command line. For example: -!MESSAGE -!MESSAGE NMAKE /f "c9221ao.mak" CFG="test - Win32 Release" -!MESSAGE -!MESSAGE Possible choices for configuration are: -!MESSAGE -!MESSAGE "test - Win32 Release" (based on "Win32 (x86) Console Application") -!MESSAGE "test - Win32 Debug" (based on "Win32 (x86) Console Application") -!MESSAGE - -# Begin Project -# PROP AllowPerConfigDependencies 0 -# PROP Scc_ProjName "" -# PROP Scc_LocalPath "" -CPP=cl.exe -RSC=rc.exe - -!IF "$(CFG)" == "test - Win32 Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir ".\Release" -# PROP BASE Intermediate_Dir ".\Release" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "" -# PROP Intermediate_Dir ".\Release" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /YX /c -# ADD CPP /nologo /MTd /W3 /GX /O2 /I "..\..\..\include" /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /FD /c -# SUBTRACT CPP /YX -# ADD BASE RSC /l 0x409 /d "NDEBUG" -# ADD RSC /l 0x409 /d "NDEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib /nologo /subsystem:console /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib ..\..\..\lib\pci-dask.lib /nologo /subsystem:console /machine:I386 - -!ELSEIF "$(CFG)" == "test - Win32 Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir ".\Debug" -# PROP BASE Intermediate_Dir ".\Debug" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir ".\Debug" -# PROP Intermediate_Dir ".\Debug" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /Gm /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /YX /c -# ADD CPP /nologo /MTd /W3 /Gm /GX /ZI /Od /I "..\..\..\include" /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /FD /c -# SUBTRACT CPP /YX -# ADD BASE RSC /l 0x409 /d "_DEBUG" -# ADD RSC /l 0x409 /d "_DEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib /nologo /subsystem:console /debug /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib ..\..\..\lib\pci-dask.lib /nologo /subsystem:console /incremental:no /debug /machine:I386 - -!ENDIF - -# Begin Target - -# Name "test - Win32 Release" -# Name "test - Win32 Debug" -# Begin Group "Source Files" - -# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;hpj;bat;for;f90" -# Begin Source File - -SOURCE=.\c9221ao.cpp -# End Source File -# End Group -# Begin Group "Header Files" - -# PROP Default_Filter "h;hpp;hxx;hm;inl;fi;fd" -# End Group -# Begin Group "Resource Files" - -# PROP Default_Filter "ico;cur;bmp;dlg;rc2;rct;bin;cnt;rtf;gif;jpg;jpeg;jpe" -# End Group -# End Target -# End Project diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9221/C9221AO/c9221ao.dsw b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9221/C9221AO/c9221ao.dsw deleted file mode 100644 index 06cee04..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9221/C9221AO/c9221ao.dsw +++ /dev/null @@ -1,29 +0,0 @@ -Microsoft Developer Studio Workspace File, Format Version 6.00 -# WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE! - -############################################################################### - -Project: "test"=.\c9221ao.dsp - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ -}}} - -############################################################################### - -Global: - -Package=<5> -{{{ -}}} - -Package=<3> -{{{ -}}} - -############################################################################### - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9221/C9221AO/c9221ao.exe b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9221/C9221AO/c9221ao.exe deleted file mode 100644 index 05b645a..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9221/C9221AO/c9221ao.exe and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9221/C9221Cal/c9221cal.c b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9221/C9221Cal/c9221cal.c deleted file mode 100644 index cf003d7..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9221/C9221Cal/c9221cal.c +++ /dev/null @@ -1,53 +0,0 @@ -#include -#include -#include -#include -#include "dask.h" - -void main(int argc, char* argv[]) -{ - I16 err, card; - U16 card_num; - char fWriteEE; - - printf("This sample auto-calibrates itself, and you can write the calibration constants to EEPROM.\n"); - printf("\nPlease input a card number:"); - scanf(" %hd", &card_num); - - if ((card = Register_Card(PCI_9221, card_num)) <0 ) { - printf("Register_Card error=%d", card); - exit(1); - } - - printf("\nPress any key to start auto-calibration\n"); - getch(); - printf("\nAuto-calibration... it may take some minutes.\n"); - - err = PCI_DB_Auto_Calibration_ALL(card); - if(err < 0){ - printf("Auto-Calibration failed: %d\n", err); - Release_Card(card); - exit(1); - } - printf("\nAuto-Calibration finish...\n"); - - printf("\nWrite calibration constant to EEPROM?\n"); - printf("press 'y' for YES, and others for NO: "); - scanf(" %c", &fWriteEE); - - if((fWriteEE=='y')||(fWriteEE=='Y')){ - err = PCI_EEPROM_CAL_Constant_Update(card, EEPROM_USER_BANK1); - if(err < 0){ - printf("Write EEPROM Error: %d\n", err); - Release_Card(card); - exit(1); - } - printf("\nWrite EEPROM finish...\n"); - } - - printf("press any key to exit.\n"); - getch(); - - Release_Card(card); - return; -} \ No newline at end of file diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9221/C9221Cal/c9221cal.dsp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9221/C9221Cal/c9221cal.dsp deleted file mode 100644 index 792057d..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9221/C9221Cal/c9221cal.dsp +++ /dev/null @@ -1,104 +0,0 @@ -# Microsoft Developer Studio Project File - Name="c9221cal" - Package Owner=<4> -# Microsoft Developer Studio Generated Build File, Format Version 6.00 -# ** DO NOT EDIT ** - -# TARGTYPE "Win32 (x86) Console Application" 0x0103 - -CFG=c9221cal - Win32 Release -!MESSAGE This is not a valid makefile. To build this project using NMAKE, -!MESSAGE use the Export Makefile command and run -!MESSAGE -!MESSAGE NMAKE /f "c9221cal.mak". -!MESSAGE -!MESSAGE You can specify a configuration when running NMAKE -!MESSAGE by defining the macro CFG on the command line. For example: -!MESSAGE -!MESSAGE NMAKE /f "c9221cal.mak" CFG="c9221cal - Win32 Release" -!MESSAGE -!MESSAGE Possible choices for configuration are: -!MESSAGE -!MESSAGE "c9221cal - Win32 Release" (based on "Win32 (x86) Console Application") -!MESSAGE "c9221cal - Win32 Debug" (based on "Win32 (x86) Console Application") -!MESSAGE - -# Begin Project -# PROP AllowPerConfigDependencies 0 -# PROP Scc_ProjName "" -# PROP Scc_LocalPath "" -CPP=cl.exe -RSC=rc.exe - -!IF "$(CFG)" == "c9221cal - Win32 Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir ".\Release" -# PROP BASE Intermediate_Dir ".\Release" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "" -# PROP Intermediate_Dir ".\Release" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /YX /c -# ADD CPP /nologo /MTd /W3 /GX /O2 /I "..\..\..\include" /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /FD /c -# SUBTRACT CPP /YX -# ADD BASE RSC /l 0x409 /d "NDEBUG" -# ADD RSC /l 0x409 /d "NDEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib /nologo /subsystem:console /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib ..\..\..\lib\pci-dask.lib /nologo /subsystem:console /machine:I386 - -!ELSEIF "$(CFG)" == "c9221cal - Win32 Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir ".\Debug" -# PROP BASE Intermediate_Dir ".\Debug" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir ".\Debug" -# PROP Intermediate_Dir ".\Debug" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /Gm /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /YX /c -# ADD CPP /nologo /MTd /W3 /Gm /GX /ZI /Od /I "..\..\..\include" /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /FD /c -# SUBTRACT CPP /YX -# ADD BASE RSC /l 0x409 /d "_DEBUG" -# ADD RSC /l 0x409 /d "_DEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib /nologo /subsystem:console /debug /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib ..\..\..\lib\pci-dask.lib /nologo /subsystem:console /incremental:no /debug /machine:I386 - -!ENDIF - -# Begin Target - -# Name "c9221cal - Win32 Release" -# Name "c9221cal - Win32 Debug" -# Begin Group "Source Files" - -# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;hpj;bat;for;f90" -# Begin Source File - -SOURCE=.\c9221cal.c -# End Source File -# End Group -# Begin Group "Header Files" - -# PROP Default_Filter "h;hpp;hxx;hm;inl;fi;fd" -# End Group -# Begin Group "Resource Files" - -# PROP Default_Filter "ico;cur;bmp;dlg;rc2;rct;bin;cnt;rtf;gif;jpg;jpeg;jpe" -# End Group -# End Target -# End Project diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9221/C9221Cal/c9221cal.dsw b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9221/C9221Cal/c9221cal.dsw deleted file mode 100644 index 483c704..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9221/C9221Cal/c9221cal.dsw +++ /dev/null @@ -1,29 +0,0 @@ -Microsoft Developer Studio Workspace File, Format Version 6.00 -# WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE! - -############################################################################### - -Project: "c9221cal"=.\c9221cal.dsp - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ -}}} - -############################################################################### - -Global: - -Package=<5> -{{{ -}}} - -Package=<3> -{{{ -}}} - -############################################################################### - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9221/C9221Cal/c9221cal.exe b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9221/C9221Cal/c9221cal.exe deleted file mode 100644 index c909db1..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9221/C9221Cal/c9221cal.exe and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9221/C9221DIO_Line/c9221dio.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9221/C9221DIO_Line/c9221dio.cpp deleted file mode 100644 index 3dd63dd..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9221/C9221DIO_Line/c9221dio.cpp +++ /dev/null @@ -1,50 +0,0 @@ -#include -#include -#include -#include -#include "dask.h" - - -void main(int argc, char* argv[]) -{ - I16 err, card, card_num; - U16 rdata = 0; - U16 wdata = 0; - - - printf("This sample output digital data to Line0 of DO port,\n"); - printf("and read digital data from Line0 of DI port.\n"); - printf("You can connect Line0 of DO port (pin3) and Line0 of DI port (pin8).\n"); - printf("\nPlease input a card number:"); - scanf(" %hd", &card_num); - if ((card = Register_Card(PCI_9221, card_num)) <0 ) { - printf("Register_Card error=%d", card); - exit(1); - } - - do{ - system("cls"); - wdata%=2; - - err = DO_WriteLine(card, 0, 0, wdata); - if(err < 0){ - printf("DO_WriteLine err: %d\n", err); - Release_Card(card); - exit(1); - } - - err = DI_ReadLine(card, 0, 0, &rdata); - if(err < 0){ - printf("DI_ReadLine err: %d\n", err); - Release_Card(card); - exit(1); - } - printf("Read Value: %x\n", rdata); - - wdata++; - Sleep(200); - }while(!kbhit()); - - Release_Card(card); - return; -} \ No newline at end of file diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9221/C9221DIO_Line/c9221dio.dsp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9221/C9221DIO_Line/c9221dio.dsp deleted file mode 100644 index ee5ccc9..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9221/C9221DIO_Line/c9221dio.dsp +++ /dev/null @@ -1,104 +0,0 @@ -# Microsoft Developer Studio Project File - Name="test" - Package Owner=<4> -# Microsoft Developer Studio Generated Build File, Format Version 6.00 -# ** DO NOT EDIT ** - -# TARGTYPE "Win32 (x86) Console Application" 0x0103 - -CFG=test - Win32 Release -!MESSAGE This is not a valid makefile. To build this project using NMAKE, -!MESSAGE use the Export Makefile command and run -!MESSAGE -!MESSAGE NMAKE /f "c9221dio.mak". -!MESSAGE -!MESSAGE You can specify a configuration when running NMAKE -!MESSAGE by defining the macro CFG on the command line. For example: -!MESSAGE -!MESSAGE NMAKE /f "c9221dio.mak" CFG="test - Win32 Release" -!MESSAGE -!MESSAGE Possible choices for configuration are: -!MESSAGE -!MESSAGE "test - Win32 Release" (based on "Win32 (x86) Console Application") -!MESSAGE "test - Win32 Debug" (based on "Win32 (x86) Console Application") -!MESSAGE - -# Begin Project -# PROP AllowPerConfigDependencies 0 -# PROP Scc_ProjName "" -# PROP Scc_LocalPath "" -CPP=cl.exe -RSC=rc.exe - -!IF "$(CFG)" == "test - Win32 Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir ".\Release" -# PROP BASE Intermediate_Dir ".\Release" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "" -# PROP Intermediate_Dir ".\Release" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /YX /c -# ADD CPP /nologo /MTd /W3 /GX /O2 /I "..\..\..\include" /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /FD /c -# SUBTRACT CPP /YX -# ADD BASE RSC /l 0x409 /d "NDEBUG" -# ADD RSC /l 0x409 /d "NDEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib /nologo /subsystem:console /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib ..\..\..\lib\pci-dask.lib /nologo /subsystem:console /machine:I386 - -!ELSEIF "$(CFG)" == "test - Win32 Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir ".\Debug" -# PROP BASE Intermediate_Dir ".\Debug" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir ".\Debug" -# PROP Intermediate_Dir ".\Debug" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /Gm /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /YX /c -# ADD CPP /nologo /MTd /W3 /Gm /GX /ZI /Od /I "..\..\..\include" /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /FD /c -# SUBTRACT CPP /YX -# ADD BASE RSC /l 0x409 /d "_DEBUG" -# ADD RSC /l 0x409 /d "_DEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib /nologo /subsystem:console /debug /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib ..\..\..\lib\pci-dask.lib /nologo /subsystem:console /incremental:no /debug /machine:I386 - -!ENDIF - -# Begin Target - -# Name "test - Win32 Release" -# Name "test - Win32 Debug" -# Begin Group "Source Files" - -# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;hpj;bat;for;f90" -# Begin Source File - -SOURCE=.\c9221dio.cpp -# End Source File -# End Group -# Begin Group "Header Files" - -# PROP Default_Filter "h;hpp;hxx;hm;inl;fi;fd" -# End Group -# Begin Group "Resource Files" - -# PROP Default_Filter "ico;cur;bmp;dlg;rc2;rct;bin;cnt;rtf;gif;jpg;jpeg;jpe" -# End Group -# End Target -# End Project diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9221/C9221DIO_Line/c9221dio.dsw b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9221/C9221DIO_Line/c9221dio.dsw deleted file mode 100644 index b22284c..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9221/C9221DIO_Line/c9221dio.dsw +++ /dev/null @@ -1,29 +0,0 @@ -Microsoft Developer Studio Workspace File, Format Version 6.00 -# WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE! - -############################################################################### - -Project: "test"=.\c9221dio.dsp - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ -}}} - -############################################################################### - -Global: - -Package=<5> -{{{ -}}} - -Package=<3> -{{{ -}}} - -############################################################################### - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9221/C9221DIO_Line/c9221dio.exe b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9221/C9221DIO_Line/c9221dio.exe deleted file mode 100644 index 83b4290..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9221/C9221DIO_Line/c9221dio.exe and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9221/C9221DIO_Port/c9221dio.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9221/C9221DIO_Port/c9221dio.cpp deleted file mode 100644 index f1e2c85..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9221/C9221DIO_Port/c9221dio.cpp +++ /dev/null @@ -1,59 +0,0 @@ -#include -#include -#include -#include -#include "dask.h" - - -void main(int argc, char* argv[]) -{ - I16 err, card, card_num; - U32 rdata = 0; - U32 wdata = 0; - - - printf("This sample output digital data to DO Port,\n"); - printf("and read digital data from DI Port.\n"); - printf("For this sample, You can connect\n"); - printf(" Line0 of DO (pin3) and Line0 of DI (pin8)\n"); - printf(" Line1 of DO (pin21) and Line1 of DI (pin26)\n"); - printf(" Line2 of DO (pin1) and Line2 of DI (pin25)\n"); - printf(" Line3 of DO (pin20) and Line3 of DI (pi6)\n"); - printf(" Line0 of DO (pin3) and Line4 of DI (pin24)\n"); - printf(" Line1 of DO (pin21) and Line5 of DI (pin5)\n"); - printf(" Line2 of DO (pin1) and Line6 of DI (pin4)\n"); - printf(" Line3 of DO (pin20) and Line7 of DI (pin22)\n"); - - printf("\nPlease input a card number:"); - scanf(" %hd", &card_num); - if ((card = Register_Card(PCI_9221, card_num)) <0 ) { - printf("Register_Card error=%d", card); - exit(1); - } - - do{ - system("cls"); - - err = DO_WritePort(card, 0, (wdata)%0x10); - if(err < 0){ - printf("DO_WritePort err: %d\n", err); - Release_Card(card); - exit(1); - } - - err = DI_ReadPort(card, 0, &rdata); - if(err < 0){ - printf("DO_WritePort err: %d\n", err); - Release_Card(card); - exit(1); - } - - printf("Read Value: %x\n", rdata); - wdata++; - Sleep(200); - }while(!kbhit()); - - - Release_Card(card); - return; -} \ No newline at end of file diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9221/C9221DIO_Port/c9221dio.dsp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9221/C9221DIO_Port/c9221dio.dsp deleted file mode 100644 index ee5ccc9..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9221/C9221DIO_Port/c9221dio.dsp +++ /dev/null @@ -1,104 +0,0 @@ -# Microsoft Developer Studio Project File - Name="test" - Package Owner=<4> -# Microsoft Developer Studio Generated Build File, Format Version 6.00 -# ** DO NOT EDIT ** - -# TARGTYPE "Win32 (x86) Console Application" 0x0103 - -CFG=test - Win32 Release -!MESSAGE This is not a valid makefile. To build this project using NMAKE, -!MESSAGE use the Export Makefile command and run -!MESSAGE -!MESSAGE NMAKE /f "c9221dio.mak". -!MESSAGE -!MESSAGE You can specify a configuration when running NMAKE -!MESSAGE by defining the macro CFG on the command line. For example: -!MESSAGE -!MESSAGE NMAKE /f "c9221dio.mak" CFG="test - Win32 Release" -!MESSAGE -!MESSAGE Possible choices for configuration are: -!MESSAGE -!MESSAGE "test - Win32 Release" (based on "Win32 (x86) Console Application") -!MESSAGE "test - Win32 Debug" (based on "Win32 (x86) Console Application") -!MESSAGE - -# Begin Project -# PROP AllowPerConfigDependencies 0 -# PROP Scc_ProjName "" -# PROP Scc_LocalPath "" -CPP=cl.exe -RSC=rc.exe - -!IF "$(CFG)" == "test - Win32 Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir ".\Release" -# PROP BASE Intermediate_Dir ".\Release" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "" -# PROP Intermediate_Dir ".\Release" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /YX /c -# ADD CPP /nologo /MTd /W3 /GX /O2 /I "..\..\..\include" /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /FD /c -# SUBTRACT CPP /YX -# ADD BASE RSC /l 0x409 /d "NDEBUG" -# ADD RSC /l 0x409 /d "NDEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib /nologo /subsystem:console /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib ..\..\..\lib\pci-dask.lib /nologo /subsystem:console /machine:I386 - -!ELSEIF "$(CFG)" == "test - Win32 Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir ".\Debug" -# PROP BASE Intermediate_Dir ".\Debug" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir ".\Debug" -# PROP Intermediate_Dir ".\Debug" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /Gm /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /YX /c -# ADD CPP /nologo /MTd /W3 /Gm /GX /ZI /Od /I "..\..\..\include" /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /FD /c -# SUBTRACT CPP /YX -# ADD BASE RSC /l 0x409 /d "_DEBUG" -# ADD RSC /l 0x409 /d "_DEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib /nologo /subsystem:console /debug /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib ..\..\..\lib\pci-dask.lib /nologo /subsystem:console /incremental:no /debug /machine:I386 - -!ENDIF - -# Begin Target - -# Name "test - Win32 Release" -# Name "test - Win32 Debug" -# Begin Group "Source Files" - -# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;hpj;bat;for;f90" -# Begin Source File - -SOURCE=.\c9221dio.cpp -# End Source File -# End Group -# Begin Group "Header Files" - -# PROP Default_Filter "h;hpp;hxx;hm;inl;fi;fd" -# End Group -# Begin Group "Resource Files" - -# PROP Default_Filter "ico;cur;bmp;dlg;rc2;rct;bin;cnt;rtf;gif;jpg;jpeg;jpe" -# End Group -# End Target -# End Project diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9221/C9221DIO_Port/c9221dio.dsw b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9221/C9221DIO_Port/c9221dio.dsw deleted file mode 100644 index b22284c..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9221/C9221DIO_Port/c9221dio.dsw +++ /dev/null @@ -1,29 +0,0 @@ -Microsoft Developer Studio Workspace File, Format Version 6.00 -# WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE! - -############################################################################### - -Project: "test"=.\c9221dio.dsp - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ -}}} - -############################################################################### - -Global: - -Package=<5> -{{{ -}}} - -Package=<3> -{{{ -}}} - -############################################################################### - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9221/C9221DIO_Port/c9221dio.exe b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9221/C9221DIO_Port/c9221dio.exe deleted file mode 100644 index be0e101..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9221/C9221DIO_Port/c9221dio.exe and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9221/C9221GPTC/c9221gptc.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9221/C9221GPTC/c9221gptc.cpp deleted file mode 100644 index 8644cec..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9221/C9221GPTC/c9221gptc.cpp +++ /dev/null @@ -1,279 +0,0 @@ -#include -#include -#include -#include -#include "dask.h" - -int main(int argc, char* argv[]) -{ - I16 card, err; - U16 card_num; - U16 func_sel; - U16 gptc_Ctr = 0; - U16 gptc_Mode = 0; - U16 gptc_SrcCtrl = 0; - U16 gptc_PolCtrl = 0; - U32 gptc_Reg1Val = 0; - U32 gptc_Reg2Val = 0; - U16 gptc_Status = 0; - U32 gptc_CtrVal = 0; - - printf("\nThis sample performs some general purpose timer/counter function.\n\n"); - printf("Please input a card number: "); - scanf(" %hd", &card_num); - if((card=Register_Card (PCI_9221, card_num))<0){ - printf("Register_Card error=%d", card); - exit(1); - } - -FunSel: - printf("\n(0) Edge Counting"); - printf("\n(1) Pulse Measurement"); - printf("\n(2) Single Pulse Generatation"); - printf("\n(3) Pulse Train Generation"); - printf("\n(4) Encoder Mode"); - printf("\nPlease Select GPTC Function: "); - scanf(" %hd", &func_sel); - printf("\n"); - switch(func_sel){ - case 0: //edge counting - printf("\nCounter will down-count while external gate is high and external clock is comming.\n"); - printf("Press any key to start.\n"); - getch(); - gptc_Mode = SimpleGatedEventCNT; - gptc_SrcCtrl = GPTC_CLK_SRC_Ext|GPTC_GATE_SRC_Ext|GPTC_UPDOWN_Int; - gptc_Reg1Val = 0xffffffff; //sets counter initial value - GPTC_Clear(card, gptc_Ctr); - GPTC_Setup(card, gptc_Ctr, gptc_Mode, gptc_SrcCtrl, gptc_PolCtrl, gptc_Reg1Val, gptc_Reg2Val); - GPTC_Control(card, gptc_Ctr, IntUpDnCTR, 0); //lets counter count down - GPTC_Control(card, gptc_Ctr, IntENABLE, 1); //enable counter - do{ - system("cls"); - GPTC_Read(card, gptc_Ctr, &gptc_CtrVal); - printf("\nGPTC%d Value: 0x%x\n", gptc_Ctr, gptc_CtrVal); - printf(" Press any key to stop\n"); - Sleep(100); - }while(!kbhit()); - GPTC_Clear(card, gptc_Ctr); - break; - case 1: //measure pulse width and length - { - U8 fMSR; - printf("\nMeasure Pulse (W)idth or Pulse (P)eriod? ([W]or[P]):[P] "); - scanf(" %c", &fMSR); - if((fMSR=='W')||(fMSR=='w')){ //Measure pulse width - printf("\nPress any key to start pulse width measurement\n"); - getch(); - gptc_Mode = SinglePulseWidthMSR; - gptc_SrcCtrl = GPTC_GATE_SRC_Ext; //for measured pulse coming - GPTC_Clear(card, gptc_Ctr); - GPTC_Setup(card, gptc_Ctr, gptc_Mode, gptc_SrcCtrl, gptc_PolCtrl, gptc_Reg1Val, gptc_Reg2Val); - GPTC_Control(card, gptc_Ctr, IntUpDnCTR, 1); - GPTC_Control(card, gptc_Ctr, IntENABLE, 1); - printf("Wait the measured pulse from external gate\n"); - do{ - GPTC_Status(card, gptc_Ctr, &gptc_Status); - Sleep(10); - }while(!((gptc_Status>>1)&0x1)); - printf("\nPulse Width Measurement Finished...\n"); - err = GPTC_Read(card, gptc_Ctr, &gptc_CtrVal); - printf("\nGPTC%d Value: 0x%x\n", gptc_Ctr, gptc_CtrVal); - printf("Pulse Width %f s\n", ((float)gptc_CtrVal)/40000000); - GPTC_Clear(card, gptc_Ctr); - printf("\nPress any key to exit\n"); - getch(); - } - else{ //Measure pulse period - printf("\nPress any key to start pulse period measurement\n"); - getch(); - gptc_Mode = SinglePeriodMSR; - gptc_SrcCtrl = GPTC_GATE_SRC_Ext; //for measured pulse comming - GPTC_Clear(card, gptc_Ctr); - GPTC_Setup(card, gptc_Ctr, gptc_Mode, gptc_SrcCtrl, gptc_PolCtrl, gptc_Reg1Val, gptc_Reg2Val); - GPTC_Control(card, gptc_Ctr, IntUpDnCTR, 1); - GPTC_Control(card, gptc_Ctr, IntENABLE, 1); - printf("Wait the measured pulse from external gate\n"); - do{ - GPTC_Status(card, gptc_Ctr, &gptc_Status); - Sleep(10); - }while(!((gptc_Status>>1)&0x1)); - printf("\nPulse Period Measurement Finished...\n"); - err = GPTC_Read(card, gptc_Ctr, &gptc_CtrVal); - printf("\nGPTC%d Value: 0x%x\n", gptc_Ctr, gptc_CtrVal); - printf("Pulse Period %f s\n", ((float)gptc_CtrVal)/40000000); - GPTC_Clear(card, gptc_Ctr); - printf("\nPress any key to exit\n"); - getch(); - } - break; - } - case 2: //Single pulse generation - { - U16 fTrig; - U8 fRetrig; - F32 pulse_period; - printf("\n\n(0) Gated Pulse Generation - \n"); - printf("\tPulse will be generated while GPTC_Gate is high.\n"); - printf("(1) Triggered Pulse Generation - \n"); - printf("\tPulse will be generated while GPTC_Gate from low to high.\n"); - printf("Gated or Triggered? ([0]or[1]):[1] "); - scanf(" %d", &fTrig); - if(fTrig==0){ //Gated - printf("\nPlease input the pulse period to be generated while GPTC_Gate is high: (ms) "); - scanf(" %f", &pulse_period); - gptc_Reg1Val = 40000*pulse_period*0.5; //sets pulse length to be generated - gptc_Mode = SingleGatedPulseGen; - gptc_SrcCtrl = GPTC_GATE_SRC_Ext; - GPTC_Clear(card, gptc_Ctr); - GPTC_Setup(card, gptc_Ctr, gptc_Mode, gptc_SrcCtrl, gptc_PolCtrl, gptc_Reg1Val, gptc_Reg2Val); - GPTC_Control(card, gptc_Ctr, IntENABLE, 1); - printf("\nPulse Period is %4.2f ms\n", pulse_period); - printf("press any key to exit.\n"); - getch(); - GPTC_Clear(card, gptc_Ctr); - } - else{ //Triggered - printf("\nRe-Trigger? ([N]or[Y]):[Y]"); - scanf(" %c", &fRetrig); - if((fRetrig=='n')||(fRetrig=='N')){ - printf("\nPlease input the pulse period to be generated while GPTC_Gate is from low to high: (ms) "); - scanf(" %f", &pulse_period); - gptc_Reg1Val = 40000*pulse_period*0.5; - gptc_Mode = SingleTrigPulseGen; - gptc_SrcCtrl = GPTC_GATE_SRC_Ext; - GPTC_Clear(card, gptc_Ctr); - GPTC_Setup(card, gptc_Ctr, gptc_Mode, gptc_SrcCtrl, gptc_PolCtrl, gptc_Reg1Val, gptc_Reg2Val); - GPTC_Control(card, gptc_Ctr, IntENABLE, 1); - printf("\nPulse Period is %4.2f ms\n", pulse_period); - printf("press any key to exit.\n"); - getch(); - GPTC_Clear(card, gptc_Ctr); - } - else{ //Re-Trigger - printf("\nPlease input the pulse period to be generated while GPTC_Gate is from low to high: (ms) "); - scanf(" %f", &pulse_period); - gptc_Reg1Val = 40000*pulse_period*0.5; - gptc_Mode = RetrigSinglePulseGen; - gptc_SrcCtrl = GPTC_GATE_SRC_Ext; - GPTC_Clear(card, gptc_Ctr); - GPTC_Setup(card, gptc_Ctr, gptc_Mode, gptc_SrcCtrl, gptc_PolCtrl, gptc_Reg1Val, gptc_Reg2Val); - GPTC_Control(card, gptc_Ctr, IntENABLE, 1); - printf("\nPulse Period is %4.2f ms\n", pulse_period); - printf("press any key to exit.\n"); - getch(); - GPTC_Clear(card, gptc_Ctr); - } - } - break; - } - case 3: //Pulse Train Generation - { - U16 fTrig; - F32 pulse_period; - F32 dutyCycle; - printf("\n\n(0) Gated Pulse Generation - \n"); - printf("\tPulse train will be generated while GPTC_Gate is high.\n"); - printf("(1) Triggered Pulse Generation - \n"); - printf("\tPulse train will be generated while GPTC_Gate from low to high.\n"); - printf("Gated or Triggered? ([0]or[1]):[1] "); - scanf(" %d", &fTrig); - if(fTrig==0){ //Gated - printf("\nPlease input the pulse period to be generated while GPTC_Gate is high: (ms) "); - scanf(" %f", &pulse_period); - printf("Please input the Duty Cycle of pulse train to be generated (%%): "); - scanf(" %f", &dutyCycle); - gptc_Reg2Val = 40000*pulse_period*(dutyCycle/100); - gptc_Reg1Val = 40000*pulse_period*(1-dutyCycle/100); - gptc_Mode = ContGatedPulseGenPWM; - gptc_SrcCtrl = GPTC_GATE_SRC_Ext; - GPTC_Clear(card, gptc_Ctr); - GPTC_Setup(card, gptc_Ctr, gptc_Mode, gptc_SrcCtrl, gptc_PolCtrl, gptc_Reg1Val, gptc_Reg2Val); - GPTC_Control(card, gptc_Ctr, IntENABLE, 1); - printf("\nPulse Period is %4.2f ms\n", pulse_period); - printf("\nPulse dutycycle is %4.2f %%\n", dutyCycle); - printf("press any key to exit.\n"); - getch(); - GPTC_Clear(card, gptc_Ctr); - } - else{ //Triggered - printf("\nPlease input the pulse period to be generated while GPTC_Gate is from low to high: (ms) "); - scanf(" %f", &pulse_period); - printf("Please input the Duty Cycle of pulse train to be generated (%%): "); - scanf(" %f", &dutyCycle); - gptc_Reg2Val = 40000*pulse_period*(dutyCycle/100); - gptc_Reg1Val = 40000*pulse_period*(1-dutyCycle/100); - gptc_Mode = SingleTrigContPulseGenPWM; - gptc_SrcCtrl = GPTC_GATE_SRC_Ext; - GPTC_Clear(card, gptc_Ctr); - GPTC_Setup(card, gptc_Ctr, gptc_Mode, gptc_SrcCtrl, gptc_PolCtrl, gptc_Reg1Val, gptc_Reg2Val); - GPTC_Control(card, gptc_Ctr, IntENABLE, 1); - printf("\nPulse Period is %4.2f ms\n", pulse_period); - printf("\nPulse dutycycle is %4.2f %%\n", dutyCycle); - printf("press any key to exit.\n"); - getch(); - GPTC_Clear(card, gptc_Ctr); - } - break; - } - case 4: //Encoder Mode - { - U16 fEnMode; - printf("\n\n(0) CW/CCW Mode\n"); - printf("(1) x1 AB Phase Mode\n"); - printf("(2) x2 AB Phase Mode\n"); - printf("(3) x4 AB Phase Mode\n"); - printf("Which Enconder Mode? ([0],[1],[2],or[3]):[0] "); - scanf(" %hd", &fEnMode); - switch(fEnMode){ - case 0: - default: - gptc_Mode = CW_CCW_Encoder; - break; - case 1: - gptc_Mode = x1_AB_Phase_Encoder; - break; - case 2: - gptc_Mode = x2_AB_Phase_Encoder; - break; - case 3: - gptc_Mode = x4_AB_Phase_Encoder; - break; - } - printf("\nPress any key to start encode.\n"); - getch(); - GPTC_Clear(card, gptc_Ctr); - GPTC_Setup(card, gptc_Ctr, gptc_Mode, gptc_SrcCtrl, gptc_PolCtrl, gptc_Reg1Val, gptc_Reg2Val); - GPTC_Control(card, gptc_Ctr, IntENABLE, 1); - do{ - system("cls"); - GPTC_Read(card, gptc_Ctr, &gptc_CtrVal); - printf("\nGPTC%d Value: 0x%x\n", gptc_Ctr, gptc_CtrVal); - printf(" Press any key to stop\n"); - Sleep(100); - }while(!kbhit()); - GPTC_Clear(card, gptc_Ctr); - printf("press any key to exit.\n"); - getch();getch(); - break; - } - default: - { - U8 fExit; - printf("Invalid Function Seleted\n"); - printf("(E)xit or (R)e-Select? ([E]or[R]):[R]"); - scanf(" %c", &fExit); - if((fExit=='E')||(fExit=='e')) - break; - else{ - system("cls"); - goto FunSel; - } - } - } - err = Release_Card(card); - if(err < 0){ - printf("Release_Card error=%d", err); - exit(1); - } - return 0; -} \ No newline at end of file diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9221/C9221GPTC/c9221gptc.dsp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9221/C9221GPTC/c9221gptc.dsp deleted file mode 100644 index 281840e..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9221/C9221GPTC/c9221gptc.dsp +++ /dev/null @@ -1,104 +0,0 @@ -# Microsoft Developer Studio Project File - Name="c9221gptc" - Package Owner=<4> -# Microsoft Developer Studio Generated Build File, Format Version 6.00 -# ** DO NOT EDIT ** - -# TARGTYPE "Win32 (x86) Console Application" 0x0103 - -CFG=c9221gptc - Win32 Release -!MESSAGE This is not a valid makefile. To build this project using NMAKE, -!MESSAGE use the Export Makefile command and run -!MESSAGE -!MESSAGE NMAKE /f "c9221gptc.mak". -!MESSAGE -!MESSAGE You can specify a configuration when running NMAKE -!MESSAGE by defining the macro CFG on the command line. For example: -!MESSAGE -!MESSAGE NMAKE /f "c9221gptc.mak" CFG="c9221gptc - Win32 Release" -!MESSAGE -!MESSAGE Possible choices for configuration are: -!MESSAGE -!MESSAGE "c9221gptc - Win32 Release" (based on "Win32 (x86) Console Application") -!MESSAGE "c9221gptc - Win32 Debug" (based on "Win32 (x86) Console Application") -!MESSAGE - -# Begin Project -# PROP AllowPerConfigDependencies 0 -# PROP Scc_ProjName "" -# PROP Scc_LocalPath "" -CPP=cl.exe -RSC=rc.exe - -!IF "$(CFG)" == "c9221gptc - Win32 Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir ".\Release" -# PROP BASE Intermediate_Dir ".\Release" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "" -# PROP Intermediate_Dir ".\Release" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /YX /c -# ADD CPP /nologo /MTd /W3 /GX /O2 /I "..\..\..\include" /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /FD /c -# SUBTRACT CPP /YX -# ADD BASE RSC /l 0x409 /d "NDEBUG" -# ADD RSC /l 0x409 /d "NDEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib /nologo /subsystem:console /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib ..\..\..\lib\pci-dask.lib /nologo /subsystem:console /machine:I386 - -!ELSEIF "$(CFG)" == "c9221gptc - Win32 Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir ".\Debug" -# PROP BASE Intermediate_Dir ".\Debug" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir ".\Debug" -# PROP Intermediate_Dir ".\Debug" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /Gm /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /YX /c -# ADD CPP /nologo /MTd /W3 /Gm /GX /ZI /Od /I "..\..\..\include" /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /FD /c -# SUBTRACT CPP /YX -# ADD BASE RSC /l 0x409 /d "_DEBUG" -# ADD RSC /l 0x409 /d "_DEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib /nologo /subsystem:console /debug /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib ..\..\..\lib\pci-dask.lib /nologo /subsystem:console /incremental:no /debug /machine:I386 - -!ENDIF - -# Begin Target - -# Name "c9221gptc - Win32 Release" -# Name "c9221gptc - Win32 Debug" -# Begin Group "Source Files" - -# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;hpj;bat;for;f90" -# Begin Source File - -SOURCE=.\c9221gptc.cpp -# End Source File -# End Group -# Begin Group "Header Files" - -# PROP Default_Filter "h;hpp;hxx;hm;inl;fi;fd" -# End Group -# Begin Group "Resource Files" - -# PROP Default_Filter "ico;cur;bmp;dlg;rc2;rct;bin;cnt;rtf;gif;jpg;jpeg;jpe" -# End Group -# End Target -# End Project diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9221/C9221GPTC/c9221gptc.dsw b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9221/C9221GPTC/c9221gptc.dsw deleted file mode 100644 index fe8d090..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9221/C9221GPTC/c9221gptc.dsw +++ /dev/null @@ -1,29 +0,0 @@ -Microsoft Developer Studio Workspace File, Format Version 6.00 -# WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE! - -############################################################################### - -Project: "c9221gptc"=.\c9221gptc.dsp - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ -}}} - -############################################################################### - -Global: - -Package=<5> -{{{ -}}} - -Package=<3> -{{{ -}}} - -############################################################################### - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9221/C9221GPTC/c9221gptc.exe b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9221/C9221GPTC/c9221gptc.exe deleted file mode 100644 index 9c80ee4..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9221/C9221GPTC/c9221gptc.exe and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9221/SDK9221AIDma/9221DMA.C b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9221/SDK9221AIDma/9221DMA.C deleted file mode 100644 index 68dc141..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9221/SDK9221AIDma/9221DMA.C +++ /dev/null @@ -1,630 +0,0 @@ -#include -#include -#include -#include -#include -#include -#include "resource.h" -#include "dask.h" - -#define IDM_EXIT 110 -#define IDC_ADDR 200 -#define IDC_SCROLL 207 -#define IDC_START 208 -#define IDC_STOP 209 -#define IDC_PAUSE 210 -#define IDC_EDIT 211 -#define IDC_CHAN 214 -#define IDC_SHOW 213 -#define NONE 0 - -int PASCAL WinMain(HANDLE, HANDLE, LPSTR, int); -long PASCAL MainWndProc(HWND, UINT, WPARAM, LPARAM); -BOOL PASCAL ShowINT(HWND, UINT, WPARAM, LPARAM); - -HANDLE hInst; -HWND hListBox; -HWND hChanComboBox; -HWND hADScroll; -HWND hEdit,hData; -unsigned int oldinput[16], adinput, oldx[16], oldy[16]; - -long sample_rate=250000; -I16 card, card_number =0; -long data_size=4000; -U16 channel=0, range=AD_B_5_V; -U32 ScanIntv, SampIntv; -U16 bufferID; - -DWORD mem_size = 0; -static HANDLE hMem=NULL; -U16 *ai_buf; - -POINT input_pos[16]= {{470, 280}, {440, 280}, - {410, 280}, {380, 280}, - {350, 280}, {320, 280}, - { 290, 280}, {260, 280}, - {230, 280}, {200, 280}, - {170, 280}, {140, 280}, - {110, 280}, {80, 280}, - { 50, 280}, { 20, 280}, - }; - -POINT output_pos[16] ={ - {470, 340}, {440, 340}, - {410, 340}, {380, 340}, - {350, 340}, {320, 340}, - { 290, 340}, {260, 340}, - {230, 340}, {200, 340}, - {170, 340}, {140, 340}, - {110, 340}, {80, 340}, - { 50, 340}, { 20, 340}, - }; - -POINT io_pos[16] ={ - {395, 40}, {370, 40}, - {345, 40}, {320, 40}, - {295, 40}, {270, 40}, - { 245, 40}, {220, 40}, - {195, 40}, {170, 40}, - {145, 40}, {120, 40}, - {95, 40}, {70, 40}, - { 45, 40}, { 20, 40}, - }; - -HBRUSH hBlackBrush,hLTBlueBrush,hBlueBrush,hDPBlueBrush,hLTGreenBrush,hGreenBrush,hDPGreenBrush,hLTRedBrush,hRedBrush,hDPRedBrush,hPurpleBrush,hBlueGreenBrush,hYellowBrush,hDPPurpleBrush,hDPBlueGreenBrush,hDPYellowBrush,hWhiteBrush; -HPEN hRedPen,hBluePen,hGreenPen,hLTRedPen,hLTBluePen,hLTGreenPen,hDPRedPen,hDPBluePen,hDPGreenPen,hPurplePen,hBlueGreenPen,hYellowPen,hDPPurplePen,hDPBlueGreenPen,hDPYellowPen,hWhitePen; - -BOOL InitApplication(HANDLE); -BOOL InitInstance(HANDLE, int); - -int PASCAL WinMain(hInstance, hPrevInstance, lpCmdLine, nCmdShow) -HANDLE hInstance, hPrevInstance; -LPSTR lpCmdLine; -int nCmdShow; -{ - MSG msg; - - if (!hPrevInstance) - if (!InitApplication(hInstance)) return(FALSE); - if (!InitInstance(hInstance, nCmdShow)) return(FALSE); - while (GetMessage(&msg, NULL, NULL, NULL)) { - TranslateMessage(&msg); - DispatchMessage(&msg); - } - return(msg.wParam); -} - -BOOL InitApplication(hInstance) -HANDLE hInstance; -{ - WNDCLASS wc; - - /* Main Window Class */ - wc.style = NULL; - wc.lpfnWndProc = (WNDPROC)MainWndProc; - wc.cbClsExtra = 0; - wc.cbWndExtra = 0; - wc.hInstance = hInstance; - wc.hIcon = LoadIcon(hInstance, "MyIcon"); - wc.hCursor = LoadCursor(NULL, IDC_ARROW); - wc.hbrBackground = GetStockObject(LTGRAY_BRUSH); - wc.lpszMenuName = NULL; - wc.lpszClassName = "GenericWClass"; - if (!RegisterClass(&wc)) return(FALSE); -} - -BOOL InitInstance(hInstance, nCmdShow) -HANDLE hInstance; -int nCmdShow; -{ - HWND hWnd; - HMENU hSampleMenu; - - hInst = hInstance; - hSampleMenu = LoadMenu(hInstance, "U7120Menu"); - hWnd = CreateWindow("GenericWClass", - (LPCSTR)"9221 Autoscan DMA", - WS_OVERLAPPEDWINDOW, - CW_USEDEFAULT, - CW_USEDEFAULT, - 520, - 400, - NULL, - hSampleMenu, - hInstance, - NULL); - if (!hWnd) return(FALSE); - ShowWindow(hWnd, nCmdShow); - UpdateWindow(hWnd); - return(TRUE); -} - -BOOL PASCAL setup(HWND hWnd, unsigned message, WPARAM wParam, LPARAM lParam) -{ - int i,k; - char n[16]; - char s[50]; - - switch (message) { - case WM_INITDIALOG: - for (i=0;i<16;i++) { - wsprintf(n, "%d", i); - _strupr(n); - SendMessage(GetDlgItem(hWnd,IDC_COMBO1), CB_ADDSTRING, NULL, (LONG)(LPSTR) n); - } - SendMessage(GetDlgItem(hWnd,IDC_COMBO1) , CB_SETCURSEL, 0, 0L); - - break; - case WM_COMMAND: - switch(LOWORD(wParam)) { - - case IDC_COMBO1: - if (HIWORD(wParam) == CBN_CLOSEUP) { - i = (int)SendMessage(GetDlgItem(hWnd,IDC_COMBO1), CB_GETCURSEL, 0, 0L); - SendMessage(GetDlgItem(hWnd,IDC_COMBO1), CB_GETLBTEXT, i, (LPARAM)((LPCSTR)n)); - card_number = i; - } - return(TRUE); - case IDOK: - if ((card=Register_Card(PCI_9221, card_number)) < 0) { - wsprintf(s, "Register_Card Error = %d\n", card); - MessageBox(hWnd, s, "Error", MB_OK); - SendMessage(hWnd, WM_CLOSE, 0, 0L); - break; - } - EndDialog(hWnd, TRUE); - InvalidateRect(hWnd, NULL, FALSE); - return (TRUE); - case IDCANCEL: - EndDialog(hWnd, TRUE); - return (TRUE); - } - break; - } - return (FALSE); -} - -long PASCAL MainWndProc(hWnd, message, wParam, lParam) -HWND hWnd; -UINT message; -WPARAM wParam; -LPARAM lParam; -{ - HDC hDC; - PAINTSTRUCT ps; - int i,iii,k, px, py; - int cur_channel; - unsigned long hi,lo; - long ii; - char n[6]; - char buf[100]; - FARPROC lpProc; - static int pos=0; - static int count,status; - int p, err; - BOOLEAN bStopped; - - switch(message) { - case WM_CREATE: - DialogBox(hInst,IDD_DIALOG2, hWnd, setup); - if(card<0) { - SendMessage(hWnd, WM_CLOSE, 0, 0L); - break; - } - hChanComboBox = CreateWindow("ComboBox", NULL, - CBS_DROPDOWNLIST | WS_CHILD | WS_VISIBLE | WS_VSCROLL, - input_pos[10].x, input_pos[15].y+18, 100, 160, hWnd, IDC_CHAN, hInst, NULL); - SendMessage(hChanComboBox, CB_ADDSTRING, NULL, (LONG)(LPSTR)"CH0"); - SendMessage(hChanComboBox, CB_ADDSTRING, NULL, (LONG)(LPSTR)"CH1 ~ CH0"); - SendMessage(hChanComboBox, CB_ADDSTRING, NULL, (LONG)(LPSTR)"CH2 ~ CH0"); - SendMessage(hChanComboBox, CB_ADDSTRING, NULL, (LONG)(LPSTR)"CH3 ~ CH0"); - SendMessage(hChanComboBox, CB_ADDSTRING, NULL, (LONG)(LPSTR)"CH4 ~ CH0"); - SendMessage(hChanComboBox, CB_ADDSTRING, NULL, (LONG)(LPSTR)"CH5 ~ CH0"); - SendMessage(hChanComboBox, CB_ADDSTRING, NULL, (LONG)(LPSTR)"CH6 ~ CH0"); - SendMessage(hChanComboBox, CB_ADDSTRING, NULL, (LONG)(LPSTR)"CH7 ~ CH0"); - SendMessage(hChanComboBox, CB_ADDSTRING, NULL, (LONG)(LPSTR)"CH8 ~ CH0"); - SendMessage(hChanComboBox, CB_ADDSTRING, NULL, (LONG)(LPSTR)"CH9 ~ CH0"); - SendMessage(hChanComboBox, CB_ADDSTRING, NULL, (LONG)(LPSTR)"CH10 ~ CH0"); - SendMessage(hChanComboBox, CB_ADDSTRING, NULL, (LONG)(LPSTR)"CH11 ~ CH0"); - SendMessage(hChanComboBox, CB_ADDSTRING, NULL, (LONG)(LPSTR)"CH12 ~ CH0"); - SendMessage(hChanComboBox, CB_ADDSTRING, NULL, (LONG)(LPSTR)"CH13 ~ CH0"); - SendMessage(hChanComboBox, CB_ADDSTRING, NULL, (LONG)(LPSTR)"CH14 ~ CH0"); - SendMessage(hChanComboBox, CB_ADDSTRING, NULL, (LONG)(LPSTR)"CH15 ~ CH0"); - SendMessage(hChanComboBox ,CB_SETCURSEL, 0, 0L); - hEdit=CreateWindow("EDIT", NULL, - WS_CHILD | WS_VISIBLE | ES_LEFT, - output_pos[13].x-30, input_pos[15].y+20,40, 20, hWnd, IDC_EDIT, hInst, NULL); - - wsprintf(n,"%d",sample_rate/1000); - SetWindowText(hEdit,n); - - CreateWindow("SCROLLBAR", NULL, - WS_CHILD | WS_VISIBLE | SBS_VERT, - output_pos[13].x+10, input_pos[15].y+20,20, 20, hWnd, IDC_SCROLL, hInst, NULL); - - CreateWindow("BUTTON","Start" , - WS_CHILD | WS_VISIBLE , - output_pos[10].x+140, input_pos[10].y+10,70, 30, hWnd, IDC_START, hInst, NULL); - - hData=CreateWindow("BUTTON","Data Value" , - WS_CHILD | WS_VISIBLE , - output_pos[10].x+230, input_pos[10].y+10,80, 30, hWnd, IDC_SHOW, hInst, NULL); - - - hBlackBrush= CreateSolidBrush(RGB(0,0,0)); - hLTBlueBrush = CreateSolidBrush(RGB(0,0,255)); - hBlueBrush = CreateSolidBrush(RGB(0,0,128)); - hDPBlueBrush = CreateSolidBrush(RGB(0,0,64)); - hLTGreenBrush = CreateSolidBrush(RGB(0,255,0)); - hGreenBrush = CreateSolidBrush(RGB(0,128,0)); - hDPGreenBrush = CreateSolidBrush(RGB(0,64,0)); - hLTRedBrush = CreateSolidBrush(RGB(255,0,0)); - hRedBrush = CreateSolidBrush(RGB(128,0,0)); - hDPRedBrush = CreateSolidBrush(RGB(64,0,0)); - hPurpleBrush = CreateSolidBrush(RGB(255,0,255)); - hBlueGreenBrush= CreateSolidBrush(RGB(0,255,255)); - hYellowBrush= CreateSolidBrush(RGB(255,255,0)); - hDPPurpleBrush = CreateSolidBrush(RGB(128,0,128)); - hDPBlueGreenBrush= CreateSolidBrush(RGB(0,128,128)); - hDPYellowBrush= CreateSolidBrush(RGB(128,128,0)); - hWhiteBrush= CreateSolidBrush(RGB(255,255,255)); - - hRedPen= CreatePen(PS_SOLID,1,RGB(128,0,0)); - hBluePen= CreatePen(PS_SOLID,1,RGB(0,0,128)); - hGreenPen= CreatePen(PS_SOLID,1,RGB(0,128,0)); - hLTRedPen= CreatePen(PS_SOLID,1,RGB(255,0,0)); - hLTBluePen= CreatePen(PS_SOLID,1,RGB(0,0,255)); - hLTGreenPen= CreatePen(PS_SOLID,1,RGB(0,255,0)); - hDPRedPen= CreatePen(PS_SOLID,1,RGB(64,0,0)); - hDPBluePen= CreatePen(PS_SOLID,1,RGB(0,0,64)); - hDPGreenPen= CreatePen(PS_SOLID,1,RGB(0,64,0)); - hPurplePen = CreatePen(PS_SOLID,1,RGB(255,0,255)); - hBlueGreenPen=CreatePen(PS_SOLID,1,RGB(0,255,255)); - hYellowPen=CreatePen(PS_SOLID,1,RGB(255,255,0)); - hDPPurplePen =CreatePen(PS_SOLID,1,RGB(128,0,128)); - hDPBlueGreenPen=CreatePen(PS_SOLID,1,RGB(0,128,128)); - hDPYellowPen=CreatePen(PS_SOLID,1,RGB(128,128,0)); - hWhitePen= CreatePen(PS_SOLID,1,RGB(255,255,255)); - break; - - case WM_PAINT: - hDC = BeginPaint(hWnd, &ps); - - // Analog Input Box - SelectObject(hDC, GetStockObject(GRAY_BRUSH)); - Rectangle(hDC, output_pos[15].x-10, io_pos[15].y-24, output_pos[0].x+26, io_pos[0].y+195); - SetTextColor(hDC,RGB(255,255,0)); - SetBkColor(hDC, RGB(0, 0, 255)); - TextOut(hDC, io_pos[15].x, io_pos[15].y-35, " DMA Input(A/D) ", 20); - - SelectObject(hDC, hBlackBrush); - Rectangle(hDC, output_pos[15].x+35, io_pos[15].y-2, output_pos[4].x+41, io_pos[0].y+172); - -/*0*/ - SelectObject(hDC,hRedBrush ); - Rectangle(hDC,output_pos[4].x+68, io_pos[0].y-5+18,output_pos[4].x+80, io_pos[0].y+10+18); - - SelectObject(hDC, hBlueBrush); - Rectangle(hDC,output_pos[4].x+68, io_pos[0].y+13+18,output_pos[4].x+80, io_pos[0].y+28+18); - - SelectObject(hDC, hGreenBrush); - Rectangle(hDC,output_pos[4].x+68, io_pos[0].y+31+18,output_pos[4].x+80, io_pos[0].y+46+18); - - SelectObject(hDC, hLTRedBrush); - Rectangle(hDC,output_pos[4].x+68, io_pos[0].y+49+18,output_pos[4].x+80, io_pos[0].y+64+18); - - - SelectObject(hDC,hLTBlueBrush ); - Rectangle(hDC,output_pos[4].x+68, io_pos[0].y+67+18,output_pos[4].x+80, io_pos[0].y+82+18); - - SelectObject(hDC, hLTGreenBrush); - Rectangle(hDC,output_pos[4].x+68, io_pos[0].y+85+18,output_pos[4].x+80, io_pos[0].y+100+18); - - SelectObject(hDC, hDPRedBrush); - Rectangle(hDC,output_pos[4].x+68, io_pos[0].y+103+18,output_pos[4].x+80, io_pos[0].y+118+18); - - SelectObject(hDC, hDPBlueBrush); - Rectangle(hDC,output_pos[4].x+68, io_pos[0].y+121+18,output_pos[4].x+80, io_pos[0].y+136+18); - -/*8*/ - SelectObject(hDC, hDPGreenBrush); - Rectangle(hDC,output_pos[4].x+108, io_pos[0].y-5+18,output_pos[4].x+120, io_pos[0].y+10+18); - - SelectObject(hDC, hPurpleBrush); - Rectangle(hDC,output_pos[4].x+108, io_pos[0].y+13+18,output_pos[4].x+120, io_pos[0].y+28+18); - - SelectObject(hDC, hBlueGreenBrush); - Rectangle(hDC,output_pos[4].x+108, io_pos[0].y+31+18,output_pos[4].x+120, io_pos[0].y+46+18); - - SelectObject(hDC, hYellowBrush); - Rectangle(hDC,output_pos[4].x+108, io_pos[0].y+49+18,output_pos[4].x+120, io_pos[0].y+64+18); - - SelectObject(hDC, hDPPurpleBrush); - Rectangle(hDC,output_pos[4].x+108, io_pos[0].y+67+18,output_pos[4].x+120, io_pos[0].y+82+18); - - SelectObject(hDC, hDPBlueGreenBrush); - Rectangle(hDC,output_pos[4].x+108, io_pos[0].y+85+18,output_pos[4].x+120, io_pos[0].y+100+18); - - SelectObject(hDC, hDPYellowBrush); - Rectangle(hDC,output_pos[4].x+108, io_pos[0].y+103+18,output_pos[4].x+120, io_pos[0].y+118+18); - - SelectObject(hDC, hWhiteBrush); - Rectangle(hDC,output_pos[4].x+108, io_pos[0].y+121+18,output_pos[4].x+120, io_pos[0].y+136+18); - - - SetBkMode(hDC,TRANSPARENT); - TextOut(hDC,output_pos[13].x-60, input_pos[10].y,"Samping Rate",12); - TextOut(hDC,output_pos[13].x+30, input_pos[15 - ].y+20,"KHZ",3); - TextOut(hDC,output_pos[13].x+80, input_pos[10].y,"Channel",7); - TextOut(hDC,input_pos[2].x-10, io_pos[15].y+160,"Range: +-5V",11); - TextOut(hDC,input_pos[15].x, io_pos[15].y-19,"Volts",5); - TextOut(hDC,input_pos[15].x, io_pos[15].y-5,"5.00",4); - TextOut(hDC,input_pos[15].x, io_pos[15].y+36,"2.50",4); - TextOut(hDC,input_pos[15].x, io_pos[15].y+77,"0.00",4); - TextOut(hDC,input_pos[15].x-3, io_pos[15].y+118,"-2.50",5); - TextOut(hDC,input_pos[15].x-3, io_pos[15].y+159,"-5.00",5); - TextOut(hDC,input_pos[10].x+10, io_pos[10].y-19,"Signals",7); - - TextOut(hDC,output_pos[4].x+58, io_pos[0].y-5+18,"0",1); - TextOut(hDC,output_pos[4].x+58, io_pos[0].y+13+18,"1",1); - TextOut(hDC,output_pos[4].x+58, io_pos[0].y+31+18,"2",1); - TextOut(hDC,output_pos[4].x+58, io_pos[0].y+49+18,"3",1); - - TextOut(hDC,output_pos[4].x+98, io_pos[0].y-5+18,"8",1); - TextOut(hDC,output_pos[4].x+98, io_pos[0].y+13+18,"9",1); - TextOut(hDC,output_pos[4].x+90, io_pos[0].y+31+18,"10",2); - TextOut(hDC,output_pos[4].x+90, io_pos[0].y+49+18,"11",2); - - TextOut(hDC,output_pos[4].x+58, io_pos[0].y+67+18,"4",1); - TextOut(hDC,output_pos[4].x+58, io_pos[0].y+85+18,"5",1); - TextOut(hDC,output_pos[4].x+58, io_pos[0].y+103+18,"6",1); - TextOut(hDC,output_pos[4].x+58, io_pos[0].y+121+18,"7",1); - - TextOut(hDC,output_pos[4].x+90, io_pos[0].y+67+18,"12",2); - TextOut(hDC,output_pos[4].x+90, io_pos[0].y+85+18,"13",2); - TextOut(hDC,output_pos[4].x+90, io_pos[0].y+103+18,"14",2); - TextOut(hDC,output_pos[4].x+90, io_pos[0].y+121+18,"15",2); - - EndPaint(hWnd, &ps); - break; - - // Sample Rate Spin Control - case WM_VSCROLL: - switch(LOWORD(wParam)){ - case SB_LINEUP : - sample_rate+=1000; - if (sample_rate > 250000 ) sample_rate=250000; - break; - case SB_LINEDOWN: - sample_rate-=1000; - if (sample_rate < 1000 ) sample_rate=1000; - break; - } - wsprintf(n,"%d",sample_rate/1000); - SetWindowText(hEdit,n); - break; - - case WM_COMMAND: - switch(LOWORD(wParam)) { - case IDM_EXIT: - SendMessage(hWnd, WM_CLOSE, 0, 0L); - break; - - case IDC_SHOW : - DialogBox(hInst, - "DMABox", - hWnd, - ShowINT); - break; - - case IDC_CHAN: - if (HIWORD(wParam) == CBN_CLOSEUP) { - if ((i=(int)SendMessage(GetDlgItem(hWnd,IDC_CHAN),CB_GETCURSEL, 0, 0L))>=0 ) { - channel=i; - } - } - break; - - case IDC_START: - EnableWindow (hData, FALSE); - if (hMem != NULL) - { - GlobalUnfix(hMem); - GlobalUnlock(hMem); - GlobalFree(hMem); - } - // allocate a memory for user DMA buffer - mem_size=data_size*2; - hMem = GlobalAlloc(GMEM_ZEROINIT,mem_size); - ai_buf = GlobalLock(hMem); - if (ai_buf == NULL ) - { - MessageBox(hWnd,"INT", - "No Memory", MB_OK); - } - GlobalFix(hMem); - AI_9221_Config (card, P9221_AI_SingEnded|P9221_AI_IntTimeBase, P9221_TRGMOD_SOFT, 0); - //AI_AsyncDblBufferMode(card, 0); - SampIntv = 40000000/sample_rate; - ScanIntv = SampIntv*(channel+1); - AI_9221_CounterInterval (card, ScanIntv, SampIntv); - - AI_ContBufferSetup (card, ai_buf, data_size, &bufferID); - - AI_ContScanChannels (card, channel, range, &bufferID, data_size, 0, SYNCH_OP); - - EnableWindow (hData, TRUE); - for (i=0;i<16;i++) oldinput[i]=-1; - hDC = GetDC(hWnd); - SelectObject(hDC, hBlackBrush); - Rectangle(hDC,output_pos[15].x+35,io_pos[0].y-3,output_pos[15].x+370,io_pos[0].y+175); - - for (i=0;i> 4; - adinput=io_pos[0].y+86-( 89*((short)adinput)/32768 ); - if (oldinput[cur_channel]!=-1) - MoveToEx(hDC, oldx[cur_channel], oldinput[cur_channel],NULL); - else{ - MoveToEx(hDC,(i*334)/data_size+output_pos[15].x+35,adinput,NULL); - } - LineTo(hDC,(i*334)/data_size+output_pos[15].x+35,adinput); - oldx[cur_channel] = (i*334)/data_size+output_pos[15].x+35; - oldinput[cur_channel]=adinput; - } // for - ReleaseDC(hWnd, hDC); - AI_ContBufferReset(card); - - break; - - default: - return(DefWindowProc(hWnd, message, wParam, lParam)); - } - break; - - case WM_DESTROY: - if (card >= 0) Release_Card (card); - DeleteObject(hRedBrush); - DeleteObject(hBlueBrush); - DeleteObject(hGreenBrush); - DeleteObject(hLTRedBrush); - DeleteObject(hLTBlueBrush); - DeleteObject(hLTGreenBrush); - DeleteObject(hDPRedBrush); - DeleteObject(hDPBlueBrush); - DeleteObject(hDPGreenBrush); - DeleteObject(hPurpleBrush); - DeleteObject(hBlueGreenBrush); - DeleteObject(hYellowBrush); - DeleteObject(hDPPurpleBrush); - DeleteObject(hDPBlueGreenBrush); - DeleteObject(hDPYellowBrush); - DeleteObject(hWhiteBrush); - DeleteObject(hBlackBrush); - DeleteObject(hRedPen); - DeleteObject(hBluePen); - DeleteObject(hGreenPen); - DeleteObject(hLTRedPen); - DeleteObject(hLTBluePen); - DeleteObject(hLTGreenPen); - DeleteObject(hDPRedPen); - DeleteObject(hDPBluePen); - DeleteObject(hDPGreenPen); - DeleteObject(hPurplePen); - DeleteObject(hBlueGreenPen); - DeleteObject(hYellowPen); - DeleteObject(hDPPurplePen); - DeleteObject(hDPBlueGreenPen); - DeleteObject(hDPYellowPen); - DeleteObject(hWhitePen); - GlobalUnfix(hMem); - GlobalUnlock(hMem); - GlobalFree(hMem); - PostQuitMessage(0); - break; - - default: - return(DefWindowProc(hWnd, message, wParam, lParam)); - } - return(NULL); -} - -BOOL PASCAL ShowINT(hDlg, message, wParam, lParam) -HWND hDlg; -UINT message; -WPARAM wParam; -LPARAM lParam; -{ - int nTabs[2] = {32, 92}; - long j; - long i; - char cBuf[100] = "\t131072 \tFF"; - char string[10]=" "; - char data_str[3]=" "; - U16 *pp; - switch (message) - { - case WM_INITDIALOG: - hListBox = CreateWindow("LISTBOX", "Memory Count Data",\ - WS_CHILD | WS_VISIBLE | LBS_HASSTRINGS\ - | LBS_STANDARD | LBS_USETABSTOPS |WS_CAPTION,\ - 50, 40, 240, 180, hDlg, 100, hInst, NULL); - - SendMessage(hListBox, LB_RESETCONTENT, 0, 0L); - SendMessage(hListBox, LB_SETTABSTOPS, 2, (DWORD)\ - (LPINT) nTabs); - pp=(U16 *) ai_buf; - for(i=0; i - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ -}}} - -############################################################################### - -Global: - -Package=<5> -{{{ -}}} - -Package=<3> -{{{ -}}} - -############################################################################### - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9221/SDK9221AIDma/9221dma.dsp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9221/SDK9221AIDma/9221dma.dsp deleted file mode 100644 index 754b7f7..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9221/SDK9221AIDma/9221dma.dsp +++ /dev/null @@ -1,111 +0,0 @@ -# Microsoft Developer Studio Project File - Name="9221dma" - Package Owner=<4> -# Microsoft Developer Studio Generated Build File, Format Version 6.00 -# ** DO NOT EDIT ** - -# TARGTYPE "Win32 (x86) Application" 0x0101 - -CFG=9221dma - Win32 Release -!MESSAGE This is not a valid makefile. To build this project using NMAKE, -!MESSAGE use the Export Makefile command and run -!MESSAGE -!MESSAGE NMAKE /f "9221dma.mak". -!MESSAGE -!MESSAGE You can specify a configuration when running NMAKE -!MESSAGE by defining the macro CFG on the command line. For example: -!MESSAGE -!MESSAGE NMAKE /f "9221dma.mak" CFG="9221dma - Win32 Release" -!MESSAGE -!MESSAGE Possible choices for configuration are: -!MESSAGE -!MESSAGE "9221dma - Win32 Release" (based on "Win32 (x86) Application") -!MESSAGE "9221dma - Win32 Debug" (based on "Win32 (x86) Application") -!MESSAGE - -# Begin Project -# PROP AllowPerConfigDependencies 0 -# PROP Scc_ProjName "" -# PROP Scc_LocalPath "" -CPP=cl.exe -MTL=midl.exe -RSC=rc.exe - -!IF "$(CFG)" == "9221dma - Win32 Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir ".\WinRel" -# PROP BASE Intermediate_Dir ".\WinRel" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "" -# PROP Intermediate_Dir ".\Release" -# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /FR /YX /c -# ADD CPP /nologo /W2 /GX /Od /I "..\..\..\include" /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /FD /c -# SUBTRACT CPP /Fr /YX -# ADD BASE MTL /nologo /D "NDEBUG" /win32 -# ADD MTL /nologo /D "NDEBUG" /mktyplib203 /win32 -# ADD BASE RSC /l 0x409 /d "NDEBUG" -# ADD RSC /l 0x409 /d "NDEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:windows /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ..\..\..\lib\pci-dask.lib /nologo /subsystem:windows /machine:I386 - -!ELSEIF "$(CFG)" == "9221dma - Win32 Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir ".\WinDebug" -# PROP BASE Intermediate_Dir ".\WinDebug" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir ".\Debug" -# PROP Intermediate_Dir ".\Debug" -# ADD BASE CPP /nologo /W3 /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /FR /YX /c -# ADD CPP /nologo /W2 /Gm /GX /ZI /Od /I "..\..\..\include" /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /FD /c -# SUBTRACT CPP /Fr /YX -# ADD BASE MTL /nologo /D "_DEBUG" /win32 -# ADD MTL /nologo /D "_DEBUG" /mktyplib203 /win32 -# ADD BASE RSC /l 0x409 /d "_DEBUG" -# ADD RSC /l 0x409 /d "_DEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:windows /debug /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ..\..\..\lib\pci-dask.lib /nologo /subsystem:windows /debug /machine:I386 - -!ENDIF - -# Begin Target - -# Name "9221dma - Win32 Release" -# Name "9221dma - Win32 Debug" -# Begin Group "Source Files" - -# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;idl;hpj;bat;for;f90" -# Begin Source File - -SOURCE=.\9221DMA.C -# End Source File -# Begin Source File - -SOURCE=.\9221DMA.RC -# End Source File -# End Group -# Begin Group "Header Files" - -# PROP Default_Filter "h;hpp;hxx;hm;inl;fi;fd" -# Begin Source File - -SOURCE=.\resource.h -# End Source File -# End Group -# Begin Group "Resource Files" - -# PROP Default_Filter "ico;cur;bmp;dlg;rc2;rct;bin;cnt;rtf;gif;jpg;jpeg;jpe" -# End Group -# End Target -# End Project diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9221/SDK9221AIDma/9221dma.exe b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9221/SDK9221AIDma/9221dma.exe deleted file mode 100644 index e37a1d4..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9221/SDK9221AIDma/9221dma.exe and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9221/SDK9221AIDma/resource.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9221/SDK9221AIDma/resource.h deleted file mode 100644 index e4ea90f..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9221/SDK9221AIDma/resource.h +++ /dev/null @@ -1,26 +0,0 @@ -//{{NO_DEPENDENCIES}} -// Microsoft Developer Studio generated include file. -// Used by 9221dma.rc -// -#define IDM_SETUP 101 -#define IDD_DIALOG1 101 -#define IDD_DIALOG2 103 -#define IDM_EXIT 110 -#define ID_STOP 304 -#define DMA_SPACE 500 -#define IDC_COMBO2 1001 -#define IDC_COMBO3 1003 -#define IDC_COMBO1 1015 -#define IDC_COMBO4 1016 -#define IDC_STATIC -1 - -// Next default values for new objects -// -#ifdef APSTUDIO_INVOKED -#ifndef APSTUDIO_READONLY_SYMBOLS -#define _APS_NEXT_RESOURCE_VALUE 104 -#define _APS_NEXT_COMMAND_VALUE 102 -#define _APS_NEXT_CONTROL_VALUE 1001 -#define _APS_NEXT_SYMED_VALUE 101 -#endif -#endif diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9221/SDK9221AIDmaDbf/resource.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9221/SDK9221AIDmaDbf/resource.h deleted file mode 100644 index ef86c07..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9221/SDK9221AIDmaDbf/resource.h +++ /dev/null @@ -1,24 +0,0 @@ -//{{NO_DEPENDENCIES}} -// Microsoft Developer Studio generated include file. -// Used by 9112cdma.rc -// -#define IDM_SETUP 101 -#define IDD_DIALOG1 101 -#define IDD_DIALOG2 103 -#define IDM_EXIT 110 -#define ID_STOP 304 -#define DMA_SPACE 500 -#define DMA_DESCP 600 -#define IDC_COMBO1 1015 -#define IDC_STATIC -1 - -// Next default values for new objects -// -#ifdef APSTUDIO_INVOKED -#ifndef APSTUDIO_READONLY_SYMBOLS -#define _APS_NEXT_RESOURCE_VALUE 104 -#define _APS_NEXT_COMMAND_VALUE 102 -#define _APS_NEXT_CONTROL_VALUE 1001 -#define _APS_NEXT_SYMED_VALUE 101 -#endif -#endif diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9221/SDK9221AIDmaDbf/sdk9221dma.c b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9221/SDK9221AIDmaDbf/sdk9221dma.c deleted file mode 100644 index 8ef4d10..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9221/SDK9221AIDmaDbf/sdk9221dma.c +++ /dev/null @@ -1,616 +0,0 @@ -#include -#include -#include -#include -#include -#include -#include "resource.h" -#include "Dask.h" - -#define IDM_EXIT 110 -#define IDC_SCROLL 207 -#define IDC_SPIN 301 -#define IDC_START 208 -#define IDC_STOP 209 -#define IDC_EDIT 211 -#define IDC_EDIT1 214 -#define IDC_SHOW 213 -#define IDC_CH 400 - -int PASCAL WinMain(HANDLE, HANDLE, LPSTR, int); -long PASCAL MainWndProc(HWND, UINT, WPARAM, LPARAM); -BOOL PASCAL ShowDMA(HWND, UINT, WPARAM, LPARAM); - -HANDLE hInst; -HWND hListBox; -HWND hEdit,hEdit1, hStart, hStop; -BOOL bCheck[16]; - -HBRUSH hBlackBrush; -HPEN hRedPen, hBlackPen; -HWND hMainWnd; - -unsigned int sample_rate=250000; -U16 channel; -U32 data_size=4000, mem_size; -static HANDLE hMem1=NULL; -static HANDLE hMem2=NULL; -U16 *ai_buf1; -U16 *ai_buf2; -U16 bufferID1; -U16 bufferID2; -U32 SampIntv, ScanIntv; -U8 bView=0; - -I16 card=-1, card_number =0; -BOOLEAN clear_op; -HANDLE hThread; - -POINT input_pos[16]= {{470, 280}, {440, 280}, - {410, 280}, {380, 280}, - {350, 280}, {320, 280}, - { 290, 280}, {260, 280}, - {230, 280}, {200, 280}, - {170, 280}, {140, 280}, - {110, 280}, {80, 280}, - { 50, 280}, { 20, 280}, - }; -POINT output_pos[16] ={ - {470, 340}, {440, 340}, - {410, 340}, {380, 340}, - {350, 340}, {320, 340}, - { 290, 340}, {260, 340}, - {230, 340}, {200, 340}, - {170, 340}, {140, 340}, - {110, 340}, {80, 340}, - { 50, 340}, { 20, 340}, - }; - -POINT io_pos[16] ={ - {395, 40}, {370, 40}, - {345, 40}, {320, 40}, - {295, 40}, {270, 40}, - { 245, 40}, {220, 40}, - {195, 40}, {170, 40}, - {145, 40}, {120, 40}, - {95, 40}, {70, 40}, - { 45, 40}, { 20, 40}, - }; - -BOOL InitApplication(HANDLE); -BOOL InitInstance(HANDLE, int); -void ProcessThread(void* pArg); - -int PASCAL WinMain(hInstance, hPrevInstance, lpCmdLine, nCmdShow) -HANDLE hInstance, hPrevInstance; -LPSTR lpCmdLine; -int nCmdShow; -{ - MSG msg; - - if (!hPrevInstance) - if (!InitApplication(hInstance)) return(FALSE); - if (!InitInstance(hInstance, nCmdShow)) return(FALSE); - while (GetMessage(&msg, NULL, NULL, NULL)) { - TranslateMessage(&msg); - DispatchMessage(&msg); - } - return(msg.wParam); -} - -BOOL InitApplication(hInstance) -HANDLE hInstance; -{ - WNDCLASS wc; - - /* Main Window Class */ - wc.style = NULL; - wc.lpfnWndProc = (WNDPROC)MainWndProc; - wc.cbClsExtra = 0; - wc.cbWndExtra = 0; - wc.hInstance = hInstance; - wc.hIcon = LoadIcon(hInstance, "MyIcon"); - wc.hCursor = LoadCursor(NULL, IDC_ARROW); - wc.hbrBackground = GetStockObject(LTGRAY_BRUSH); - wc.lpszMenuName = NULL; - wc.lpszClassName = "GenericWClass"; - if (!RegisterClass(&wc)) return(FALSE); -} - - -BOOL InitInstance(hInstance, nCmdShow) -HANDLE hInstance; -int nCmdShow; -{ - HWND hWnd; - HMENU hSampleMenu; - - hInst = hInstance; - hSampleMenu = LoadMenu(hInstance, "U7120Menu"); - hWnd = CreateWindow("GenericWClass", - (LPCSTR)"PCI-9221 Double Buffered DMA", - WS_OVERLAPPEDWINDOW, - CW_USEDEFAULT, - CW_USEDEFAULT, - 520, - 400, - NULL, - hSampleMenu, - hInstance, - NULL); - if (!hWnd) return(FALSE); - ShowWindow(hWnd, nCmdShow); - UpdateWindow(hWnd); - return(TRUE); -} - -BOOL PASCAL setup(HWND hWnd, unsigned message, WPARAM wParam, LPARAM lParam) -{ - int i; - char n[16]; - char s[50]; - switch (message) { - case WM_INITDIALOG: - for (i=0;i<16;i++) { - wsprintf(n, "%d", i); - _strupr(n); - SendMessage(GetDlgItem(hWnd,IDC_COMBO1), CB_ADDSTRING, NULL, (LONG)(LPSTR) n); - } - SendMessage(GetDlgItem(hWnd,IDC_COMBO1) , CB_SETCURSEL, 0, 0L); - - break; - case WM_COMMAND: - switch(LOWORD(wParam)) { - - case IDC_COMBO1: - if (HIWORD(wParam) == CBN_CLOSEUP) { - i = (int)SendMessage(GetDlgItem(hWnd,IDC_COMBO1), CB_GETCURSEL, 0, 0L); - SendMessage(GetDlgItem(hWnd,IDC_COMBO1), CB_GETLBTEXT, i, (LPARAM)((LPCSTR)n)); - card_number = i; - } - return(TRUE); - case IDOK: - if ((card=Register_Card(PCI_9221, card_number)) < 0) { - wsprintf(s, "Register_Card Error = %d\n", card); - MessageBox(hWnd, s, "Error", MB_OK); - SendMessage(hWnd, WM_CLOSE, 0, 0L); - break; - } - EndDialog(hWnd, TRUE); - InvalidateRect(hWnd, NULL, FALSE); - return (TRUE); - case IDCANCEL: - EndDialog(hWnd, TRUE); - return (TRUE); - } - break; - } - return (FALSE); -} - -long PASCAL MainWndProc(hWnd, message, wParam, lParam) -HWND hWnd; -UINT message; -WPARAM wParam; -LPARAM lParam; -{ - HDC hDC; - PAINTSTRUCT ps; - int i; - char n[6]; - static int pos=0; - I16 err; - U32 count; - char s[50]; - - switch(message) { - case WM_CREATE: - DialogBox(hInst,IDD_DIALOG2, hWnd, setup); - if(card<0) { - SendMessage(hWnd, WM_CLOSE, 0, 0L); - break; - } - hEdit=CreateWindow("EDIT", NULL, - WS_CHILD | WS_VISIBLE | ES_LEFT, - output_pos[13].x-30, input_pos[15].y+20,40, 20, hWnd, IDC_EDIT, hInst, NULL); - - hEdit1=CreateWindow("EDIT", NULL, - WS_CHILD | WS_VISIBLE | ES_LEFT, - output_pos[13].x+90, input_pos[15].y+20,60, 20, hWnd, IDC_EDIT1, hInst, NULL); - - wsprintf(n,"%d",sample_rate/1000); - SetWindowText(hEdit,n); - - wsprintf(n,"%d",data_size); - SetWindowText(hEdit1,n); - - CreateWindow("SCROLLBAR", NULL, - WS_CHILD | WS_VISIBLE | SBS_VERT, - output_pos[13].x+10, input_pos[15].y+20,20, 20, hWnd, IDC_SCROLL, hInst, NULL); - - hStart = CreateWindow("BUTTON","Start" , - WS_CHILD | WS_VISIBLE , - output_pos[10].x+110, input_pos[10].y+10,50, 30, hWnd, IDC_START, hInst, NULL); - - hStop = CreateWindow("BUTTON","Stop" , - WS_CHILD | WS_VISIBLE , - output_pos[10].x+170, input_pos[10].y+10,50, 30, hWnd, IDC_STOP, hInst, NULL); - - CreateWindow("BUTTON","Data Value" , - WS_CHILD | WS_VISIBLE , - output_pos[10].x+230, input_pos[10].y+10,80, 30, hWnd, IDC_SHOW, hInst, NULL); - EnableWindow(hStop, FALSE); - - CreateWindow("BUTTON","0" , - WS_CHILD | WS_VISIBLE | BS_AUTORADIOBUTTON | BS_LEFTTEXT | WS_GROUP , - output_pos[4].x+50, io_pos[0].y-5+20,25,15, hWnd,IDC_CH, hInst, NULL); - - CreateWindow("BUTTON","1" , - WS_CHILD | WS_VISIBLE | BS_AUTORADIOBUTTON | BS_LEFTTEXT | WS_GROUP, - output_pos[4].x+50, io_pos[0].y+13+20,25,15, hWnd,IDC_CH+1, hInst, NULL); - - CreateWindow("BUTTON","2" , - WS_CHILD | WS_VISIBLE | BS_AUTORADIOBUTTON | BS_LEFTTEXT | WS_GROUP, - output_pos[4].x+50, io_pos[0].y+31+20,25,15, hWnd,IDC_CH+2, hInst, NULL); - - CreateWindow("BUTTON","3" , - WS_CHILD | WS_VISIBLE | BS_AUTORADIOBUTTON | BS_LEFTTEXT | WS_GROUP, - output_pos[4].x+50, io_pos[0].y+49+20,25,15, hWnd,IDC_CH+3, hInst, NULL); - - CreateWindow("BUTTON","4" , - WS_CHILD | WS_VISIBLE | BS_AUTORADIOBUTTON | BS_LEFTTEXT | WS_GROUP, - output_pos[4].x+50, io_pos[0].y+67+20,25,15, hWnd,IDC_CH+4, hInst, NULL); - - CreateWindow("BUTTON","5" , - WS_CHILD | WS_VISIBLE | BS_AUTORADIOBUTTON | BS_LEFTTEXT | WS_GROUP, - output_pos[4].x+50, io_pos[0].y+85+20,25,15, hWnd, IDC_CH+5, hInst, NULL); - - CreateWindow("BUTTON","6" , - WS_CHILD | WS_VISIBLE | BS_AUTORADIOBUTTON | BS_LEFTTEXT | WS_GROUP, - output_pos[4].x+50, io_pos[0].y+103+20,25,15, hWnd,IDC_CH+6, hInst, NULL); - - CreateWindow("BUTTON","7" , - WS_CHILD | WS_VISIBLE | BS_AUTORADIOBUTTON | BS_LEFTTEXT | WS_GROUP, - output_pos[4].x+50, io_pos[0].y+121+20,25,15, hWnd, IDC_CH+7, hInst, NULL); - - CreateWindow("BUTTON","8" , - WS_CHILD | WS_VISIBLE | BS_AUTORADIOBUTTON | BS_LEFTTEXT | WS_GROUP , - output_pos[4].x+100, io_pos[0].y-5+20,25,15, hWnd,IDC_CH+8, hInst, NULL); - - CreateWindow("BUTTON","9" , - WS_CHILD | WS_VISIBLE | BS_AUTORADIOBUTTON | BS_LEFTTEXT | WS_GROUP, - output_pos[4].x+100, io_pos[0].y+13+20,25,15, hWnd,IDC_CH+9, hInst, NULL); - - CreateWindow("BUTTON","a" , - WS_CHILD | WS_VISIBLE | BS_AUTORADIOBUTTON | BS_LEFTTEXT | WS_GROUP, - output_pos[4].x+100, io_pos[0].y+31+20,25,15, hWnd,IDC_CH+10, hInst, NULL); - - CreateWindow("BUTTON","b" , - WS_CHILD | WS_VISIBLE | BS_AUTORADIOBUTTON | BS_LEFTTEXT | WS_GROUP, - output_pos[4].x+100, io_pos[0].y+49+20,25,15, hWnd,IDC_CH+11, hInst, NULL); - - CreateWindow("BUTTON","c" , - WS_CHILD | WS_VISIBLE | BS_AUTORADIOBUTTON | BS_LEFTTEXT | WS_GROUP, - output_pos[4].x+100, io_pos[0].y+67+20,25,15, hWnd,IDC_CH+12, hInst, NULL); - - CreateWindow("BUTTON","d" , - WS_CHILD | WS_VISIBLE | BS_AUTORADIOBUTTON | BS_LEFTTEXT | WS_GROUP, - output_pos[4].x+100, io_pos[0].y+85+20,25,15, hWnd, IDC_CH+13, hInst, NULL); - - CreateWindow("BUTTON","e" , - WS_CHILD | WS_VISIBLE | BS_AUTORADIOBUTTON | BS_LEFTTEXT | WS_GROUP, - output_pos[4].x+100, io_pos[0].y+103+20,25,15, hWnd,IDC_CH+14, hInst, NULL); - - CreateWindow("BUTTON","f" , - WS_CHILD | WS_VISIBLE | BS_AUTORADIOBUTTON | BS_LEFTTEXT | WS_GROUP, - output_pos[4].x+100, io_pos[0].y+121+20,25,15, hWnd, IDC_CH+15, hInst, NULL); - - - //default channel 0 - for (i=1;i<16;i++) bCheck[i]=FALSE; - bCheck[0] = TRUE; - channel = 0; - SendMessage(GetDlgItem(hWnd,IDC_CH), BM_SETCHECK, 1, 0); - - hBlackBrush= CreateSolidBrush(RGB(0,0,0)); - hRedPen= CreatePen(PS_SOLID,1,RGB(255,0,0)); - hBlackPen= CreatePen(PS_SOLID,1,RGB(0,0,0)); - break; - - case WM_PAINT: - hDC = BeginPaint(hWnd, &ps); - - // DMA analog input box - SelectObject(hDC, GetStockObject(GRAY_BRUSH)); - Rectangle(hDC, output_pos[15].x-10, io_pos[15].y-24, output_pos[0].x+26, io_pos[0].y+195); - SetTextColor(hDC,RGB(255,255,0)); - SetBkColor(hDC, RGB(0, 0, 255)); - TextOut(hDC, io_pos[15].x, io_pos[15].y-35, "DMA Input", 9); - SelectObject(hDC, hBlackBrush); - Rectangle(hDC, output_pos[15].x+35, io_pos[15].y-2, output_pos[4].x+41, io_pos[0].y+172); - - SetBkMode(hDC,TRANSPARENT); - TextOut(hDC,output_pos[13].x-60, input_pos[10].y,"Samping Rate",12); - TextOut(hDC,output_pos[13].x+30, input_pos[15].y+20,"KHZ",3); - TextOut(hDC,output_pos[13].x+70, input_pos[10].y,"Buffer Size",11); - TextOut(hDC,input_pos[2].x-10, io_pos[15].y+170,"Range: +-5V",11); - TextOut(hDC,input_pos[15].x, io_pos[15].y-19,"Volt",4); - TextOut(hDC,input_pos[15].x, io_pos[15].y-5,"5.00",4); - TextOut(hDC,input_pos[15].x, io_pos[15].y+36,"2.50",4); - TextOut(hDC,input_pos[15].x, io_pos[15].y+77,"0.00",4); - TextOut(hDC,input_pos[15].x-3, io_pos[15].y+118,"-2.50",5); - TextOut(hDC,input_pos[15].x-3, io_pos[15].y+159,"-5.00",5); - TextOut(hDC,input_pos[10].x+10, io_pos[10].y-19,"Signals",7); - TextOut(hDC,output_pos[4].x+60, io_pos[0].y-15,"Channel",7); - EndPaint(hWnd, &ps); - break; - - // Sample Rate Spin Control - case WM_VSCROLL: - switch (LOWORD(wParam)) { - case SB_LINEUP : - sample_rate+=1000; - if (sample_rate > 250000 ) sample_rate=250000; - break; - case SB_LINEDOWN: - sample_rate-=1000; - if (sample_rate < 1000 ) sample_rate=1000; - break; - } - wsprintf(n,"%d",sample_rate/1000); - SetWindowText(hEdit,n); - break; - case WM_COMMAND: - switch(LOWORD(wParam)) { - case IDM_EXIT: - SendMessage(hWnd, WM_CLOSE, 0, 0L); - break; - case IDC_CH: - case IDC_CH+1: - case IDC_CH+2: - case IDC_CH+3: - case IDC_CH+4: - case IDC_CH+5: - case IDC_CH+6: - case IDC_CH+7: - case IDC_CH+8: - case IDC_CH+9: - case IDC_CH+10: - case IDC_CH+11: - case IDC_CH+12: - case IDC_CH+13: - case IDC_CH+14: - case IDC_CH+15: - if (!bCheck[wParam-IDC_CH]) { - SendMessage(GetDlgItem(hWnd,wParam), BM_SETCHECK, 1, 0); - SendMessage(GetDlgItem(hWnd,IDC_CH+channel), BM_SETCHECK, 0, 0); - bCheck[channel]=FALSE; - } - channel=wParam-IDC_CH; - bCheck[channel]=TRUE; - break; - - case IDC_SHOW : - DialogBox(hInst, "DMABox", hWnd, ShowDMA); - break; - case IDC_START: - if (hMem1 != NULL) { - GlobalUnfix(hMem1); - GlobalUnlock(hMem1); - GlobalFree(hMem1); - } - if (hMem2 != NULL) { - GlobalUnfix(hMem2); - GlobalUnlock(hMem2); - GlobalFree(hMem2); - } - - // allocate a memory for DMA - data_size=GetDlgItemInt(hWnd,IDC_EDIT1,NULL ,FALSE); - mem_size=data_size * 2; - hMem1 = GlobalAlloc(GMEM_FIXED | GMEM_ZEROINIT,mem_size); - hMem2 = GlobalAlloc(GMEM_FIXED | GMEM_ZEROINIT,mem_size); - - ai_buf1 = (U16 *)GlobalLock(hMem1); - ai_buf2 = (U16 *)GlobalLock(hMem2); - - if ((ai_buf1==NULL)||(ai_buf2==NULL)) { - MessageBox(hWnd,"DMA", "No Memory", MB_OK); - SendMessage(hWnd, WM_CLOSE, 0, 0L); - break; - } - - GlobalFix(hMem1); - GlobalFix(hMem2); - - if ((err = AI_9221_Config(card, P9221_AI_SingEnded|P9221_AI_IntTimeBase, P9221_TRGMOD_SOFT, 0)) != NoError) { - wsprintf(s, "AI_Config Error = %d\n", err); - MessageBox(hWnd, s, "Error", MB_OK); - SendMessage(hWnd, WM_CLOSE, 0, 0L); - break; - } - - SampIntv = 40000000/sample_rate; - ScanIntv = SampIntv; - if ((err = AI_9221_CounterInterval (card, ScanIntv, SampIntv)) != NoError) { - wsprintf(s, "AI_9221_CounterInterval Error = %d\n", err); - MessageBox(hWnd, s, "Error", MB_OK); - SendMessage(hWnd, WM_CLOSE, 0, 0L); - break; - } - - if ((err = AI_AsyncDblBufferMode (card, 1)) != NoError) { - wsprintf(s, "AI_AsyncDblBufferMode Error = %d\n", err); - MessageBox(hWnd, s, "Error", MB_OK); - SendMessage(hWnd, WM_CLOSE, 0, 0L); - break; - } - - if ((err = AI_ContBufferSetup (card, ai_buf1, data_size, &bufferID1)) != NoError) { - wsprintf(s, "AI_ContBufferSetup Error = %d\n", err); - MessageBox(hWnd, s, "Error", MB_OK); - SendMessage(hWnd, WM_CLOSE, 0, 0L); - break; - } - if ((err = AI_ContBufferSetup (card, ai_buf2, data_size, &bufferID2)) != NoError) { - wsprintf(s, "AI_ContBufferSetup Error = %d\n", err); - MessageBox(hWnd, s, "Error", MB_OK); - SendMessage(hWnd, WM_CLOSE, 0, 0L); - break; - } - bView = 0; - if ((err=AI_ContReadChannel(card, channel, AD_B_5_V, &bufferID1, data_size, 0, ASYNCH_OP)) != NoError) { - wsprintf(s, "AI_ContReadPort Error = %d\n", err); - MessageBox(hWnd, s, "Error", MB_OK); - SendMessage(hWnd, WM_CLOSE, 0, 0L); - break; - } - EnableWindow(hStart, FALSE); - EnableWindow(hStop, TRUE); - - hMainWnd = hWnd; - clear_op = FALSE; - hThread = (HANDLE)_beginthread(ProcessThread, 0, 0); - MessageBeep(0); - break; - case IDC_STOP: - clear_op = TRUE; - EnableWindow(hStart, TRUE); - EnableWindow(hStop, FALSE); - break; - default: - return(DefWindowProc(hWnd, message, wParam, lParam)); - } - break; - case WM_DESTROY: - AI_ContBufferReset (card); - if (card >= 0) Release_Card(card); - DeleteObject(hBlackBrush); - DeleteObject(hRedPen); - GlobalUnfix(hMem1); - GlobalUnlock(hMem1); - GlobalFree(hMem1); - GlobalUnfix(hMem2); - GlobalUnlock(hMem2); - GlobalFree(hMem2); - PostQuitMessage(0); - break; - default: - return(DefWindowProc(hWnd, message, wParam, lParam)); - } - return(NULL); -} - -BOOL PASCAL ShowDMA(hDlg, message, wParam, lParam) -HWND hDlg; -UINT message; -WPARAM wParam; -LPARAM lParam; -{ - int nTabs[2] = {32, 92}; - int i; - char cBuf[100]; - char string[10]=" "; - char data_str[3]=" "; - U16 *pp; - U32 pdata_size = (data_size>4000)? 4000:data_size; - - switch (message) { - case WM_INITDIALOG: - hListBox = CreateWindow("LISTBOX", "Index Data", - WS_CHILD | WS_VISIBLE | LBS_HASSTRINGS | LBS_STANDARD | LBS_USETABSTOPS |WS_CAPTION, - 50, 40, 240, 180, hDlg, 100, hInst, NULL); - SendMessage(hListBox, LB_RESETCONTENT, 0, 0L); - SendMessage(hListBox, LB_SETTABSTOPS, 2, (DWORD)(LPINT) nTabs); - SetDlgItemText(hDlg, DMA_DESCP, "This ListBox can show at most 4000 data"); - itoa( pdata_size, string, 10); - SetDlgItemText(hDlg, DMA_SPACE, string); - - if(!bView) - pp = (U16 *)ai_buf2; //get previous half ready buffer - else - pp = (U16 *)ai_buf1; //get previous half ready buffer - - for(i=0;idata_size){ - SelectObject(hDC, hBlackBrush); - SelectObject(hDC, hBlackPen); - Rectangle(hDC, output_pos[15].x+35, io_pos[15].y-2, output_pos[4].x+41, io_pos[0].y+172); - SelectObject(hDC, hRedPen); - for(i=0; i -# Microsoft Developer Studio Generated Build File, Format Version 6.00 -# ** DO NOT EDIT ** - -# TARGTYPE "Win32 (x86) Application" 0x0101 - -CFG=sdk9221dma - Win32 Release -!MESSAGE This is not a valid makefile. To build this project using NMAKE, -!MESSAGE use the Export Makefile command and run -!MESSAGE -!MESSAGE NMAKE /f "sdk9221dma.mak". -!MESSAGE -!MESSAGE You can specify a configuration when running NMAKE -!MESSAGE by defining the macro CFG on the command line. For example: -!MESSAGE -!MESSAGE NMAKE /f "sdk9221dma.mak" CFG="sdk9221dma - Win32 Release" -!MESSAGE -!MESSAGE Possible choices for configuration are: -!MESSAGE -!MESSAGE "sdk9221dma - Win32 Release" (based on "Win32 (x86) Application") -!MESSAGE "sdk9221dma - Win32 Debug" (based on "Win32 (x86) Application") -!MESSAGE - -# Begin Project -# PROP AllowPerConfigDependencies 0 -# PROP Scc_ProjName "" -# PROP Scc_LocalPath "" -CPP=cl.exe -MTL=midl.exe -RSC=rc.exe - -!IF "$(CFG)" == "sdk9221dma - Win32 Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir ".\sdk9221dma" -# PROP BASE Intermediate_Dir ".\sdk9221dma" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "" -# PROP Intermediate_Dir ".\Release" -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /YX /c -# ADD CPP /nologo /MT /W3 /GX /Od /I "..\..\..\include" /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /FD /c -# SUBTRACT CPP /YX -# ADD BASE MTL /nologo /D "NDEBUG" /win32 -# ADD MTL /nologo /D "NDEBUG" /mktyplib203 /win32 -# ADD BASE RSC /l 0x409 /d "NDEBUG" -# ADD RSC /l 0x409 /d "NDEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:windows /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ..\..\..\lib\pci-dask.lib /nologo /subsystem:windows /machine:I386 - -!ELSEIF "$(CFG)" == "sdk9221dma - Win32 Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir ".\9112CDM0" -# PROP BASE Intermediate_Dir ".\9112CDM0" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir ".\Debug" -# PROP Intermediate_Dir ".\Debug" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /Gm /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /YX /c -# ADD CPP /nologo /MTd /W3 /Gm /GX /ZI /Od /I "..\..\..\include" /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /FD /c -# SUBTRACT CPP /YX -# ADD BASE MTL /nologo /D "_DEBUG" /win32 -# ADD MTL /nologo /D "_DEBUG" /mktyplib203 /win32 -# ADD BASE RSC /l 0x409 /d "_DEBUG" -# ADD RSC /l 0x409 /d "_DEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:windows /debug /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ..\..\..\lib\pci-dask.lib /nologo /subsystem:windows /debug /machine:I386 - -!ENDIF - -# Begin Target - -# Name "sdk9221dma - Win32 Release" -# Name "sdk9221dma - Win32 Debug" -# Begin Group "Source Files" - -# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;idl;hpj;bat;for;f90" -# Begin Source File - -SOURCE=.\sdk9221dma.C -# End Source File -# End Group -# Begin Group "Header Files" - -# PROP Default_Filter "h;hpp;hxx;hm;inl;fi;fd" -# Begin Source File - -SOURCE=.\resource.h -# End Source File -# End Group -# Begin Group "Resource Files" - -# PROP Default_Filter "ico;cur;bmp;dlg;rc2;rct;bin;cnt;rtf;gif;jpg;jpeg;jpe" -# Begin Source File - -SOURCE=.\sdk9221dma.RC -# End Source File -# End Group -# End Target -# End Project diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9221/SDK9221AIDmaDbf/sdk9221dma.dsw b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9221/SDK9221AIDmaDbf/sdk9221dma.dsw deleted file mode 100644 index 3f7bf48..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9221/SDK9221AIDmaDbf/sdk9221dma.dsw +++ /dev/null @@ -1,29 +0,0 @@ -Microsoft Developer Studio Workspace File, Format Version 6.00 -# WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE! - -############################################################################### - -Project: "sdk9221dma"=".\sdk9221dma.dsp" - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ -}}} - -############################################################################### - -Global: - -Package=<5> -{{{ -}}} - -Package=<3> -{{{ -}}} - -############################################################################### - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9221/SDK9221AIDmaDbf/sdk9221dma.exe b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9221/SDK9221AIDmaDbf/sdk9221dma.exe deleted file mode 100644 index 83d4597..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9221/SDK9221AIDmaDbf/sdk9221dma.exe and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9221/SDK9221AIDmaDbf/sdk9221dma.rc b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9221/SDK9221AIDmaDbf/sdk9221dma.rc deleted file mode 100644 index b964e4a..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9221/SDK9221AIDmaDbf/sdk9221dma.rc +++ /dev/null @@ -1,126 +0,0 @@ -//Microsoft Developer Studio generated resource script. -// -#include "resource.h" - -#define APSTUDIO_READONLY_SYMBOLS -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 2 resource. -// -#define APSTUDIO_HIDDEN_SYMBOLS -#include "windows.h" -#undef APSTUDIO_HIDDEN_SYMBOLS - -///////////////////////////////////////////////////////////////////////////// -#undef APSTUDIO_READONLY_SYMBOLS - -///////////////////////////////////////////////////////////////////////////// -// English (U.S.) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -#ifdef _WIN32 -LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US -#pragma code_page(1252) -#endif //_WIN32 - -///////////////////////////////////////////////////////////////////////////// -// -// Menu -// - -U7120MENU MENU DISCARDABLE -BEGIN - MENUITEM "E&xit!", IDM_EXIT -END - - -#ifdef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// TEXTINCLUDE -// - -1 TEXTINCLUDE DISCARDABLE -BEGIN - "resource.h\0" -END - -2 TEXTINCLUDE DISCARDABLE -BEGIN - "#define APSTUDIO_HIDDEN_SYMBOLS\r\n" - "#include ""windows.h""\r\n" - "#undef APSTUDIO_HIDDEN_SYMBOLS\r\n" - "\0" -END - -3 TEXTINCLUDE DISCARDABLE -BEGIN - "\r\n" - "\0" -END - -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog -// - -DMABOX DIALOG DISCARDABLE 18, 10, 171, 169 -STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "Data Value (half of circular buffer)" -FONT 8, "System" -BEGIN - PUSHBUTTON "STOP",ID_STOP,82,147,24,14 - LTEXT "Data Transferred :",-1,39,119,64,8 - LTEXT "Text",DMA_SPACE,103,118,41,8 - LTEXT "Text",DMA_DESCP,16,6,158,8 -END - -IDD_DIALOG2 DIALOG DISCARDABLE 110, 10, 106, 61 -STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "Card Number" -FONT 10, "System" -BEGIN - DEFPUSHBUTTON "OK",IDOK,10,40,37,14 - PUSHBUTTON "Cancel",IDCANCEL,61,40,38,14 - LTEXT "Card Number",IDC_STATIC,3,13,47,13 - COMBOBOX IDC_COMBO1,51,13,48,90,CBS_DROPDOWN | WS_VSCROLL | - WS_TABSTOP -END - - -///////////////////////////////////////////////////////////////////////////// -// -// DESIGNINFO -// - -#ifdef APSTUDIO_INVOKED -GUIDELINES DESIGNINFO DISCARDABLE -BEGIN - IDD_DIALOG2, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 99 - TOPMARGIN, 7 - BOTTOMMARGIN, 54 - END -END -#endif // APSTUDIO_INVOKED - -#endif // English (U.S.) resources -///////////////////////////////////////////////////////////////////////////// - - - -#ifndef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 3 resource. -// - - -///////////////////////////////////////////////////////////////////////////// -#endif // not APSTUDIO_INVOKED - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9221/SDK9221AIDmaDbfCallBack/resource.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9221/SDK9221AIDmaDbfCallBack/resource.h deleted file mode 100644 index ef86c07..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9221/SDK9221AIDmaDbfCallBack/resource.h +++ /dev/null @@ -1,24 +0,0 @@ -//{{NO_DEPENDENCIES}} -// Microsoft Developer Studio generated include file. -// Used by 9112cdma.rc -// -#define IDM_SETUP 101 -#define IDD_DIALOG1 101 -#define IDD_DIALOG2 103 -#define IDM_EXIT 110 -#define ID_STOP 304 -#define DMA_SPACE 500 -#define DMA_DESCP 600 -#define IDC_COMBO1 1015 -#define IDC_STATIC -1 - -// Next default values for new objects -// -#ifdef APSTUDIO_INVOKED -#ifndef APSTUDIO_READONLY_SYMBOLS -#define _APS_NEXT_RESOURCE_VALUE 104 -#define _APS_NEXT_COMMAND_VALUE 102 -#define _APS_NEXT_CONTROL_VALUE 1001 -#define _APS_NEXT_SYMED_VALUE 101 -#endif -#endif diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9221/SDK9221AIDmaDbfCallBack/sdk9221dma.c b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9221/SDK9221AIDmaDbfCallBack/sdk9221dma.c deleted file mode 100644 index 3d295a5..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9221/SDK9221AIDmaDbfCallBack/sdk9221dma.c +++ /dev/null @@ -1,637 +0,0 @@ -#include -#include -#include -#include -#include -#include -#include "resource.h" -#include "Dask.h" - -#define IDM_EXIT 110 -#define IDC_SCROLL 207 -#define IDC_SPIN 301 -#define IDC_START 208 -#define IDC_STOP 209 -#define IDC_EDIT 211 -#define IDC_EDIT1 214 -#define IDC_SHOW 213 -#define IDC_CH 400 - -int PASCAL WinMain(HANDLE, HANDLE, LPSTR, int); -long PASCAL MainWndProc(HWND, UINT, WPARAM, LPARAM); -BOOL PASCAL ShowDMA(HWND, UINT, WPARAM, LPARAM); - -void AI_DBCallBack(); -void AI_CallBack(); - -HANDLE hInst; -HWND hListBox; -HWND hEdit,hEdit1, hStart, hStop; -BOOL bCheck[16]; - -HBRUSH hBlackBrush; -HPEN hRedPen, hBlackPen; -HWND hMainWnd; - -unsigned int sample_rate=250000; -U16 channel; -U32 data_size=4000, mem_size; -static HANDLE hMem1=NULL; -static HANDLE hMem2=NULL; -U16 *ai_buf1; -U16 *ai_buf2; -U16 bufferID1; -U16 bufferID2; -U32 SampIntv, ScanIntv; -U8 bView=0; -U32 count; - -I16 card=-1, card_number =0; -BOOLEAN clear_op; -HANDLE hThread; - -POINT input_pos[16]= {{470, 280}, {440, 280}, - {410, 280}, {380, 280}, - {350, 280}, {320, 280}, - { 290, 280}, {260, 280}, - {230, 280}, {200, 280}, - {170, 280}, {140, 280}, - {110, 280}, {80, 280}, - { 50, 280}, { 20, 280}, - }; -POINT output_pos[16] ={ - {470, 340}, {440, 340}, - {410, 340}, {380, 340}, - {350, 340}, {320, 340}, - { 290, 340}, {260, 340}, - {230, 340}, {200, 340}, - {170, 340}, {140, 340}, - {110, 340}, {80, 340}, - { 50, 340}, { 20, 340}, - }; - -POINT io_pos[16] ={ - {395, 40}, {370, 40}, - {345, 40}, {320, 40}, - {295, 40}, {270, 40}, - { 245, 40}, {220, 40}, - {195, 40}, {170, 40}, - {145, 40}, {120, 40}, - {95, 40}, {70, 40}, - { 45, 40}, { 20, 40}, - }; - -BOOL InitApplication(HANDLE); -BOOL InitInstance(HANDLE, int); -void ProcessThread(void* pArg); - -int PASCAL WinMain(hInstance, hPrevInstance, lpCmdLine, nCmdShow) -HANDLE hInstance, hPrevInstance; -LPSTR lpCmdLine; -int nCmdShow; -{ - MSG msg; - - if (!hPrevInstance) - if (!InitApplication(hInstance)) return(FALSE); - if (!InitInstance(hInstance, nCmdShow)) return(FALSE); - while (GetMessage(&msg, NULL, NULL, NULL)) { - TranslateMessage(&msg); - DispatchMessage(&msg); - } - return(msg.wParam); -} - -BOOL InitApplication(hInstance) -HANDLE hInstance; -{ - WNDCLASS wc; - - /* Main Window Class */ - wc.style = NULL; - wc.lpfnWndProc = (WNDPROC)MainWndProc; - wc.cbClsExtra = 0; - wc.cbWndExtra = 0; - wc.hInstance = hInstance; - wc.hIcon = LoadIcon(hInstance, "MyIcon"); - wc.hCursor = LoadCursor(NULL, IDC_ARROW); - wc.hbrBackground = GetStockObject(LTGRAY_BRUSH); - wc.lpszMenuName = NULL; - wc.lpszClassName = "GenericWClass"; - if (!RegisterClass(&wc)) return(FALSE); -} - - -BOOL InitInstance(hInstance, nCmdShow) -HANDLE hInstance; -int nCmdShow; -{ - HWND hWnd; - HMENU hSampleMenu; - - hInst = hInstance; - hSampleMenu = LoadMenu(hInstance, "U7120Menu"); - hWnd = CreateWindow("GenericWClass", - (LPCSTR)"PCI-9221 Double Buffered DMA", - WS_OVERLAPPEDWINDOW, - CW_USEDEFAULT, - CW_USEDEFAULT, - 520, - 400, - NULL, - hSampleMenu, - hInstance, - NULL); - if (!hWnd) return(FALSE); - ShowWindow(hWnd, nCmdShow); - UpdateWindow(hWnd); - return(TRUE); -} - -BOOL PASCAL setup(HWND hWnd, unsigned message, WPARAM wParam, LPARAM lParam) -{ - int i; - char n[16]; - char s[50]; - switch (message) { - case WM_INITDIALOG: - for (i=0;i<16;i++) { - wsprintf(n, "%d", i); - _strupr(n); - SendMessage(GetDlgItem(hWnd,IDC_COMBO1), CB_ADDSTRING, NULL, (LONG)(LPSTR) n); - } - SendMessage(GetDlgItem(hWnd,IDC_COMBO1) , CB_SETCURSEL, 0, 0L); - - break; - case WM_COMMAND: - switch(LOWORD(wParam)) { - - case IDC_COMBO1: - if (HIWORD(wParam) == CBN_CLOSEUP) { - i = (int)SendMessage(GetDlgItem(hWnd,IDC_COMBO1), CB_GETCURSEL, 0, 0L); - SendMessage(GetDlgItem(hWnd,IDC_COMBO1), CB_GETLBTEXT, i, (LPARAM)((LPCSTR)n)); - card_number = i; - } - return(TRUE); - case IDOK: - if ((card=Register_Card(PCI_9221, card_number)) < 0) { - wsprintf(s, "Register_Card Error = %d\n", card); - MessageBox(hWnd, s, "Error", MB_OK); - SendMessage(hWnd, WM_CLOSE, 0, 0L); - break; - } - EndDialog(hWnd, TRUE); - InvalidateRect(hWnd, NULL, FALSE); - return (TRUE); - case IDCANCEL: - EndDialog(hWnd, TRUE); - return (TRUE); - } - break; - } - return (FALSE); -} - -long PASCAL MainWndProc(hWnd, message, wParam, lParam) -HWND hWnd; -UINT message; -WPARAM wParam; -LPARAM lParam; -{ - HDC hDC; - PAINTSTRUCT ps; - int i; - char n[6]; - static int pos=0; - I16 err; - char s[50]; - - switch(message) { - case WM_CREATE: - DialogBox(hInst,IDD_DIALOG2, hWnd, setup); - if(card<0) { - SendMessage(hWnd, WM_CLOSE, 0, 0L); - break; - } - hEdit=CreateWindow("EDIT", NULL, - WS_CHILD | WS_VISIBLE | ES_LEFT, - output_pos[13].x-30, input_pos[15].y+20,40, 20, hWnd, IDC_EDIT, hInst, NULL); - - hEdit1=CreateWindow("EDIT", NULL, - WS_CHILD | WS_VISIBLE | ES_LEFT, - output_pos[13].x+90, input_pos[15].y+20,60, 20, hWnd, IDC_EDIT1, hInst, NULL); - - wsprintf(n,"%d",sample_rate/1000); - SetWindowText(hEdit,n); - - wsprintf(n,"%d",data_size); - SetWindowText(hEdit1,n); - - CreateWindow("SCROLLBAR", NULL, - WS_CHILD | WS_VISIBLE | SBS_VERT, - output_pos[13].x+10, input_pos[15].y+20,20, 20, hWnd, IDC_SCROLL, hInst, NULL); - - hStart = CreateWindow("BUTTON","Start" , - WS_CHILD | WS_VISIBLE , - output_pos[10].x+110, input_pos[10].y+10,50, 30, hWnd, IDC_START, hInst, NULL); - - hStop = CreateWindow("BUTTON","Stop" , - WS_CHILD | WS_VISIBLE , - output_pos[10].x+170, input_pos[10].y+10,50, 30, hWnd, IDC_STOP, hInst, NULL); - - CreateWindow("BUTTON","Data Value" , - WS_CHILD | WS_VISIBLE , - output_pos[10].x+230, input_pos[10].y+10,80, 30, hWnd, IDC_SHOW, hInst, NULL); - EnableWindow(hStop, FALSE); - - CreateWindow("BUTTON","0" , - WS_CHILD | WS_VISIBLE | BS_AUTORADIOBUTTON | BS_LEFTTEXT | WS_GROUP , - output_pos[4].x+50, io_pos[0].y-5+20,25,15, hWnd,IDC_CH, hInst, NULL); - - CreateWindow("BUTTON","1" , - WS_CHILD | WS_VISIBLE | BS_AUTORADIOBUTTON | BS_LEFTTEXT | WS_GROUP, - output_pos[4].x+50, io_pos[0].y+13+20,25,15, hWnd,IDC_CH+1, hInst, NULL); - - CreateWindow("BUTTON","2" , - WS_CHILD | WS_VISIBLE | BS_AUTORADIOBUTTON | BS_LEFTTEXT | WS_GROUP, - output_pos[4].x+50, io_pos[0].y+31+20,25,15, hWnd,IDC_CH+2, hInst, NULL); - - CreateWindow("BUTTON","3" , - WS_CHILD | WS_VISIBLE | BS_AUTORADIOBUTTON | BS_LEFTTEXT | WS_GROUP, - output_pos[4].x+50, io_pos[0].y+49+20,25,15, hWnd,IDC_CH+3, hInst, NULL); - - CreateWindow("BUTTON","4" , - WS_CHILD | WS_VISIBLE | BS_AUTORADIOBUTTON | BS_LEFTTEXT | WS_GROUP, - output_pos[4].x+50, io_pos[0].y+67+20,25,15, hWnd,IDC_CH+4, hInst, NULL); - - CreateWindow("BUTTON","5" , - WS_CHILD | WS_VISIBLE | BS_AUTORADIOBUTTON | BS_LEFTTEXT | WS_GROUP, - output_pos[4].x+50, io_pos[0].y+85+20,25,15, hWnd, IDC_CH+5, hInst, NULL); - - CreateWindow("BUTTON","6" , - WS_CHILD | WS_VISIBLE | BS_AUTORADIOBUTTON | BS_LEFTTEXT | WS_GROUP, - output_pos[4].x+50, io_pos[0].y+103+20,25,15, hWnd,IDC_CH+6, hInst, NULL); - - CreateWindow("BUTTON","7" , - WS_CHILD | WS_VISIBLE | BS_AUTORADIOBUTTON | BS_LEFTTEXT | WS_GROUP, - output_pos[4].x+50, io_pos[0].y+121+20,25,15, hWnd, IDC_CH+7, hInst, NULL); - - CreateWindow("BUTTON","8" , - WS_CHILD | WS_VISIBLE | BS_AUTORADIOBUTTON | BS_LEFTTEXT | WS_GROUP , - output_pos[4].x+100, io_pos[0].y-5+20,25,15, hWnd,IDC_CH+8, hInst, NULL); - - CreateWindow("BUTTON","9" , - WS_CHILD | WS_VISIBLE | BS_AUTORADIOBUTTON | BS_LEFTTEXT | WS_GROUP, - output_pos[4].x+100, io_pos[0].y+13+20,25,15, hWnd,IDC_CH+9, hInst, NULL); - - CreateWindow("BUTTON","a" , - WS_CHILD | WS_VISIBLE | BS_AUTORADIOBUTTON | BS_LEFTTEXT | WS_GROUP, - output_pos[4].x+100, io_pos[0].y+31+20,25,15, hWnd,IDC_CH+10, hInst, NULL); - - CreateWindow("BUTTON","b" , - WS_CHILD | WS_VISIBLE | BS_AUTORADIOBUTTON | BS_LEFTTEXT | WS_GROUP, - output_pos[4].x+100, io_pos[0].y+49+20,25,15, hWnd,IDC_CH+11, hInst, NULL); - - CreateWindow("BUTTON","c" , - WS_CHILD | WS_VISIBLE | BS_AUTORADIOBUTTON | BS_LEFTTEXT | WS_GROUP, - output_pos[4].x+100, io_pos[0].y+67+20,25,15, hWnd,IDC_CH+12, hInst, NULL); - - CreateWindow("BUTTON","d" , - WS_CHILD | WS_VISIBLE | BS_AUTORADIOBUTTON | BS_LEFTTEXT | WS_GROUP, - output_pos[4].x+100, io_pos[0].y+85+20,25,15, hWnd, IDC_CH+13, hInst, NULL); - - CreateWindow("BUTTON","e" , - WS_CHILD | WS_VISIBLE | BS_AUTORADIOBUTTON | BS_LEFTTEXT | WS_GROUP, - output_pos[4].x+100, io_pos[0].y+103+20,25,15, hWnd,IDC_CH+14, hInst, NULL); - - CreateWindow("BUTTON","f" , - WS_CHILD | WS_VISIBLE | BS_AUTORADIOBUTTON | BS_LEFTTEXT | WS_GROUP, - output_pos[4].x+100, io_pos[0].y+121+20,25,15, hWnd, IDC_CH+15, hInst, NULL); - - - //default channel 0 - for (i=1;i<16;i++) bCheck[i]=FALSE; - bCheck[0] = TRUE; - channel = 0; - SendMessage(GetDlgItem(hWnd,IDC_CH), BM_SETCHECK, 1, 0); - - hBlackBrush= CreateSolidBrush(RGB(0,0,0)); - hRedPen= CreatePen(PS_SOLID,1,RGB(255,0,0)); - hBlackPen= CreatePen(PS_SOLID,1,RGB(0,0,0)); - break; - - case WM_PAINT: - hDC = BeginPaint(hWnd, &ps); - - // DMA analog input box - SelectObject(hDC, GetStockObject(GRAY_BRUSH)); - Rectangle(hDC, output_pos[15].x-10, io_pos[15].y-24, output_pos[0].x+26, io_pos[0].y+195); - SetTextColor(hDC,RGB(255,255,0)); - SetBkColor(hDC, RGB(0, 0, 255)); - TextOut(hDC, io_pos[15].x, io_pos[15].y-35, "DMA Input", 9); - SelectObject(hDC, hBlackBrush); - Rectangle(hDC, output_pos[15].x+35, io_pos[15].y-2, output_pos[4].x+41, io_pos[0].y+172); - - SetBkMode(hDC,TRANSPARENT); - TextOut(hDC,output_pos[13].x-60, input_pos[10].y,"Samping Rate",12); - TextOut(hDC,output_pos[13].x+30, input_pos[15].y+20,"KHZ",3); - TextOut(hDC,output_pos[13].x+70, input_pos[10].y,"Buffer Size",11); - TextOut(hDC,input_pos[2].x-10, io_pos[15].y+170,"Range: +-5V",11); - TextOut(hDC,input_pos[15].x, io_pos[15].y-19,"Volt",4); - TextOut(hDC,input_pos[15].x, io_pos[15].y-5,"5.00",4); - TextOut(hDC,input_pos[15].x, io_pos[15].y+36,"2.50",4); - TextOut(hDC,input_pos[15].x, io_pos[15].y+77,"0.00",4); - TextOut(hDC,input_pos[15].x-3, io_pos[15].y+118,"-2.50",5); - TextOut(hDC,input_pos[15].x-3, io_pos[15].y+159,"-5.00",5); - TextOut(hDC,input_pos[10].x+10, io_pos[10].y-19,"Signals",7); - TextOut(hDC,output_pos[4].x+60, io_pos[0].y-15,"Channel",7); - EndPaint(hWnd, &ps); - break; - - // Sample Rate Spin Control - case WM_VSCROLL: - switch (LOWORD(wParam)) { - case SB_LINEUP : - sample_rate+=1000; - if (sample_rate > 250000 ) sample_rate=250000; - break; - case SB_LINEDOWN: - sample_rate-=1000; - if (sample_rate < 1000 ) sample_rate=1000; - break; - } - wsprintf(n,"%d",sample_rate/1000); - SetWindowText(hEdit,n); - break; - case WM_COMMAND: - switch(LOWORD(wParam)) { - case IDM_EXIT: - SendMessage(hWnd, WM_CLOSE, 0, 0L); - break; - case IDC_CH: - case IDC_CH+1: - case IDC_CH+2: - case IDC_CH+3: - case IDC_CH+4: - case IDC_CH+5: - case IDC_CH+6: - case IDC_CH+7: - case IDC_CH+8: - case IDC_CH+9: - case IDC_CH+10: - case IDC_CH+11: - case IDC_CH+12: - case IDC_CH+13: - case IDC_CH+14: - case IDC_CH+15: - if (!bCheck[wParam-IDC_CH]) { - SendMessage(GetDlgItem(hWnd,wParam), BM_SETCHECK, 1, 0); - SendMessage(GetDlgItem(hWnd,IDC_CH+channel), BM_SETCHECK, 0, 0); - bCheck[channel]=FALSE; - } - channel=wParam-IDC_CH; - bCheck[channel]=TRUE; - break; - - case IDC_SHOW : - DialogBox(hInst, "DMABox", hWnd, ShowDMA); - break; - case IDC_START: -bView=0; - if (hMem1 != NULL) { - GlobalUnfix(hMem1); - GlobalUnlock(hMem1); - GlobalFree(hMem1); - } - if (hMem2 != NULL) { - GlobalUnfix(hMem2); - GlobalUnlock(hMem2); - GlobalFree(hMem2); - } - - // allocate a memory for DMA - data_size=GetDlgItemInt(hWnd,IDC_EDIT1,NULL ,FALSE); - mem_size=data_size * 2; - hMem1 = GlobalAlloc(GMEM_FIXED | GMEM_ZEROINIT,mem_size); - hMem2 = GlobalAlloc(GMEM_FIXED | GMEM_ZEROINIT,mem_size); - - ai_buf1 = (U16 *)GlobalLock(hMem1); - ai_buf2 = (U16 *)GlobalLock(hMem2); - - if ((ai_buf1==NULL)||(ai_buf2==NULL)) { - MessageBox(hWnd,"DMA", "No Memory", MB_OK); - SendMessage(hWnd, WM_CLOSE, 0, 0L); - break; - } - - GlobalFix(hMem1); - GlobalFix(hMem2); - - if ((err = AI_9221_Config(card, P9221_AI_SingEnded|P9221_AI_IntTimeBase, P9221_TRGMOD_SOFT, 0)) != NoError) { - wsprintf(s, "AI_Config Error = %d\n", err); - MessageBox(hWnd, s, "Error", MB_OK); - SendMessage(hWnd, WM_CLOSE, 0, 0L); - break; - } - - SampIntv = 40000000/sample_rate; - ScanIntv = SampIntv; - if ((err = AI_9221_CounterInterval (card, ScanIntv, SampIntv)) != NoError) { - wsprintf(s, "AI_9221_CounterInterval Error = %d\n", err); - MessageBox(hWnd, s, "Error", MB_OK); - SendMessage(hWnd, WM_CLOSE, 0, 0L); - break; - } - - if ((err = AI_AsyncDblBufferMode (card, 1)) != NoError) { - wsprintf(s, "AI_AsyncDblBufferMode Error = %d\n", err); - MessageBox(hWnd, s, "Error", MB_OK); - SendMessage(hWnd, WM_CLOSE, 0, 0L); - break; - } - - if ((err = AI_ContBufferSetup (card, ai_buf1, data_size, &bufferID1)) != NoError) { - wsprintf(s, "AI_ContBufferSetup Error = %d\n", err); - MessageBox(hWnd, s, "Error", MB_OK); - SendMessage(hWnd, WM_CLOSE, 0, 0L); - break; - } - if ((err = AI_ContBufferSetup (card, ai_buf2, data_size, &bufferID2)) != NoError) { - wsprintf(s, "AI_ContBufferSetup Error = %d\n", err); - MessageBox(hWnd, s, "Error", MB_OK); - SendMessage(hWnd, WM_CLOSE, 0, 0L); - break; - } - - if ((AI_EventCallBack(card, 1, 1, (U32)AI_DBCallBack)) != NoError) { - wsprintf(s, "AI_EventCallBack Error = %d\n", err); - MessageBox(hWnd, s, "Error", MB_OK); - SendMessage(hWnd, WM_CLOSE, 0, 0L); - break; - } - - if ((AI_EventCallBack(card, 1, 0, (U32)AI_CallBack)) != NoError) { - wsprintf(s, "AI_EventCallBack Error = %d\n", err); - MessageBox(hWnd, s, "Error", MB_OK); - SendMessage(hWnd, WM_CLOSE, 0, 0L); - break; - } - - if ((err=AI_ContReadChannel(card, channel, AD_B_5_V, &bufferID1, data_size, 0, ASYNCH_OP)) != NoError) { - wsprintf(s, "AI_ContReadPort Error = %d\n", err); - MessageBox(hWnd, s, "Error", MB_OK); - SendMessage(hWnd, WM_CLOSE, 0, 0L); - break; - } - EnableWindow(hStart, FALSE); - EnableWindow(hStop, TRUE); - - hMainWnd = hWnd; - clear_op = FALSE; - // hThread = (HANDLE)_beginthread(ProcessThread, 0, 0); - MessageBeep(0); - break; - case IDC_STOP: - AI_AsyncClear(card, &count); - AI_ContBufferReset (card); - EnableWindow(hStart, TRUE); - EnableWindow(hStop, FALSE); - break; - default: - return(DefWindowProc(hWnd, message, wParam, lParam)); - } - break; - case WM_DESTROY: - AI_ContBufferReset (card); - if (card >= 0) Release_Card(card); - DeleteObject(hBlackBrush); - DeleteObject(hRedPen); - GlobalUnfix(hMem1); - GlobalUnlock(hMem1); - GlobalFree(hMem1); - GlobalUnfix(hMem2); - GlobalUnlock(hMem2); - GlobalFree(hMem2); - PostQuitMessage(0); - break; - default: - return(DefWindowProc(hWnd, message, wParam, lParam)); - } - return(NULL); -} - -BOOL PASCAL ShowDMA(hDlg, message, wParam, lParam) -HWND hDlg; -UINT message; -WPARAM wParam; -LPARAM lParam; -{ - int nTabs[2] = {32, 92}; - int i; - char cBuf[100]; - char string[10]=" "; - char data_str[3]=" "; - U16 *pp; - U32 pdata_size = (data_size>4000)? 4000:data_size; - - switch (message) { - case WM_INITDIALOG: - hListBox = CreateWindow("LISTBOX", "Index Data", - WS_CHILD | WS_VISIBLE | LBS_HASSTRINGS | LBS_STANDARD | LBS_USETABSTOPS |WS_CAPTION, - 50, 40, 240, 180, hDlg, 100, hInst, NULL); - SendMessage(hListBox, LB_RESETCONTENT, 0, 0L); - SendMessage(hListBox, LB_SETTABSTOPS, 2, (DWORD)(LPINT) nTabs); - SetDlgItemText(hDlg, DMA_DESCP, "This ListBox can show at most 4000 data"); - itoa( pdata_size, string, 10); - SetDlgItemText(hDlg, DMA_SPACE, string); - - if(!bView) - pp = (U16 *)ai_buf2; - else - pp = (U16 *)ai_buf1; - - for(i=0;i -# Microsoft Developer Studio Generated Build File, Format Version 6.00 -# ** DO NOT EDIT ** - -# TARGTYPE "Win32 (x86) Application" 0x0101 - -CFG=sdk9221dma - Win32 Release -!MESSAGE This is not a valid makefile. To build this project using NMAKE, -!MESSAGE use the Export Makefile command and run -!MESSAGE -!MESSAGE NMAKE /f "sdk9221dma.mak". -!MESSAGE -!MESSAGE You can specify a configuration when running NMAKE -!MESSAGE by defining the macro CFG on the command line. For example: -!MESSAGE -!MESSAGE NMAKE /f "sdk9221dma.mak" CFG="sdk9221dma - Win32 Release" -!MESSAGE -!MESSAGE Possible choices for configuration are: -!MESSAGE -!MESSAGE "sdk9221dma - Win32 Release" (based on "Win32 (x86) Application") -!MESSAGE "sdk9221dma - Win32 Debug" (based on "Win32 (x86) Application") -!MESSAGE - -# Begin Project -# PROP AllowPerConfigDependencies 0 -# PROP Scc_ProjName "" -# PROP Scc_LocalPath "" -CPP=cl.exe -MTL=midl.exe -RSC=rc.exe - -!IF "$(CFG)" == "sdk9221dma - Win32 Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir ".\sdk9221dma" -# PROP BASE Intermediate_Dir ".\sdk9221dma" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "" -# PROP Intermediate_Dir ".\Release" -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /YX /c -# ADD CPP /nologo /MT /W3 /GX /Od /I "..\..\..\include" /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /FD /c -# SUBTRACT CPP /YX -# ADD BASE MTL /nologo /D "NDEBUG" /win32 -# ADD MTL /nologo /D "NDEBUG" /mktyplib203 /win32 -# ADD BASE RSC /l 0x409 /d "NDEBUG" -# ADD RSC /l 0x409 /d "NDEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:windows /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ..\..\..\lib\pci-dask.lib /nologo /subsystem:windows /machine:I386 - -!ELSEIF "$(CFG)" == "sdk9221dma - Win32 Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir ".\9112CDM0" -# PROP BASE Intermediate_Dir ".\9112CDM0" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir ".\Debug" -# PROP Intermediate_Dir ".\Debug" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /Gm /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /YX /c -# ADD CPP /nologo /MTd /W3 /Gm /GX /ZI /Od /I "..\..\..\include" /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /FD /c -# SUBTRACT CPP /YX -# ADD BASE MTL /nologo /D "_DEBUG" /win32 -# ADD MTL /nologo /D "_DEBUG" /mktyplib203 /win32 -# ADD BASE RSC /l 0x409 /d "_DEBUG" -# ADD RSC /l 0x409 /d "_DEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:windows /debug /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ..\..\..\lib\pci-dask.lib /nologo /subsystem:windows /debug /machine:I386 - -!ENDIF - -# Begin Target - -# Name "sdk9221dma - Win32 Release" -# Name "sdk9221dma - Win32 Debug" -# Begin Group "Source Files" - -# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;idl;hpj;bat;for;f90" -# Begin Source File - -SOURCE=.\sdk9221dma.C -# End Source File -# End Group -# Begin Group "Header Files" - -# PROP Default_Filter "h;hpp;hxx;hm;inl;fi;fd" -# Begin Source File - -SOURCE=.\resource.h -# End Source File -# End Group -# Begin Group "Resource Files" - -# PROP Default_Filter "ico;cur;bmp;dlg;rc2;rct;bin;cnt;rtf;gif;jpg;jpeg;jpe" -# Begin Source File - -SOURCE=.\sdk9221dma.RC -# End Source File -# End Group -# End Target -# End Project diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9221/SDK9221AIDmaDbfCallBack/sdk9221dma.dsw b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9221/SDK9221AIDmaDbfCallBack/sdk9221dma.dsw deleted file mode 100644 index 3f7bf48..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9221/SDK9221AIDmaDbfCallBack/sdk9221dma.dsw +++ /dev/null @@ -1,29 +0,0 @@ -Microsoft Developer Studio Workspace File, Format Version 6.00 -# WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE! - -############################################################################### - -Project: "sdk9221dma"=".\sdk9221dma.dsp" - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ -}}} - -############################################################################### - -Global: - -Package=<5> -{{{ -}}} - -Package=<3> -{{{ -}}} - -############################################################################### - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9221/SDK9221AIDmaDbfCallBack/sdk9221dma.exe b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9221/SDK9221AIDmaDbfCallBack/sdk9221dma.exe deleted file mode 100644 index 5c7ca63..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9221/SDK9221AIDmaDbfCallBack/sdk9221dma.exe and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9221/SDK9221AIDmaDbfCallBack/sdk9221dma.rc b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9221/SDK9221AIDmaDbfCallBack/sdk9221dma.rc deleted file mode 100644 index b964e4a..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9221/SDK9221AIDmaDbfCallBack/sdk9221dma.rc +++ /dev/null @@ -1,126 +0,0 @@ -//Microsoft Developer Studio generated resource script. -// -#include "resource.h" - -#define APSTUDIO_READONLY_SYMBOLS -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 2 resource. -// -#define APSTUDIO_HIDDEN_SYMBOLS -#include "windows.h" -#undef APSTUDIO_HIDDEN_SYMBOLS - -///////////////////////////////////////////////////////////////////////////// -#undef APSTUDIO_READONLY_SYMBOLS - -///////////////////////////////////////////////////////////////////////////// -// English (U.S.) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -#ifdef _WIN32 -LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US -#pragma code_page(1252) -#endif //_WIN32 - -///////////////////////////////////////////////////////////////////////////// -// -// Menu -// - -U7120MENU MENU DISCARDABLE -BEGIN - MENUITEM "E&xit!", IDM_EXIT -END - - -#ifdef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// TEXTINCLUDE -// - -1 TEXTINCLUDE DISCARDABLE -BEGIN - "resource.h\0" -END - -2 TEXTINCLUDE DISCARDABLE -BEGIN - "#define APSTUDIO_HIDDEN_SYMBOLS\r\n" - "#include ""windows.h""\r\n" - "#undef APSTUDIO_HIDDEN_SYMBOLS\r\n" - "\0" -END - -3 TEXTINCLUDE DISCARDABLE -BEGIN - "\r\n" - "\0" -END - -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog -// - -DMABOX DIALOG DISCARDABLE 18, 10, 171, 169 -STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "Data Value (half of circular buffer)" -FONT 8, "System" -BEGIN - PUSHBUTTON "STOP",ID_STOP,82,147,24,14 - LTEXT "Data Transferred :",-1,39,119,64,8 - LTEXT "Text",DMA_SPACE,103,118,41,8 - LTEXT "Text",DMA_DESCP,16,6,158,8 -END - -IDD_DIALOG2 DIALOG DISCARDABLE 110, 10, 106, 61 -STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "Card Number" -FONT 10, "System" -BEGIN - DEFPUSHBUTTON "OK",IDOK,10,40,37,14 - PUSHBUTTON "Cancel",IDCANCEL,61,40,38,14 - LTEXT "Card Number",IDC_STATIC,3,13,47,13 - COMBOBOX IDC_COMBO1,51,13,48,90,CBS_DROPDOWN | WS_VSCROLL | - WS_TABSTOP -END - - -///////////////////////////////////////////////////////////////////////////// -// -// DESIGNINFO -// - -#ifdef APSTUDIO_INVOKED -GUIDELINES DESIGNINFO DISCARDABLE -BEGIN - IDD_DIALOG2, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 99 - TOPMARGIN, 7 - BOTTOMMARGIN, 54 - END -END -#endif // APSTUDIO_INVOKED - -#endif // English (U.S.) resources -///////////////////////////////////////////////////////////////////////////// - - - -#ifndef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 3 resource. -// - - -///////////////////////////////////////////////////////////////////////////// -#endif // not APSTUDIO_INVOKED - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9221/SDK9221DIO/Resource.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9221/SDK9221DIO/Resource.h deleted file mode 100644 index 7633824..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9221/SDK9221DIO/Resource.h +++ /dev/null @@ -1,19 +0,0 @@ -//{{NO_DEPENDENCIES}} -// Microsoft Developer Studio generated include file. -// Used by sdk9221dio.rc -// -#define IDD_DIALOG1 101 -#define IDM_EXIT 110 -#define IDC_COMBO1 1015 -#define IDC_STATIC -1 - -// Next default values for new objects -// -#ifdef APSTUDIO_INVOKED -#ifndef APSTUDIO_READONLY_SYMBOLS -#define _APS_NEXT_RESOURCE_VALUE 102 -#define _APS_NEXT_COMMAND_VALUE 101 -#define _APS_NEXT_CONTROL_VALUE 1000 -#define _APS_NEXT_SYMED_VALUE 101 -#endif -#endif diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9221/SDK9221DIO/sdk9221dio.c b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9221/SDK9221DIO/sdk9221dio.c deleted file mode 100644 index f0591ef..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9221/SDK9221DIO/sdk9221dio.c +++ /dev/null @@ -1,271 +0,0 @@ -/*;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; -;; Copyright (c) 1999, ADLink Technology Inc. All rights reserved. ;; -;; ;; -;; File Name : sdk9221dio.C ;; -;; Purpose : This sample program demonstrate how to operate ;; -;; DI & DO for PCI-9221 ;; -;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;*/ - -#include -#include -#include -#include -#include -#include -#include "resource.h" -#include "Dask.h" - -#define IDM_EXIT 110 -#define TIMER1 1 - -int PASCAL WinMain(HANDLE, HANDLE, LPSTR, int); -long PASCAL MainWndProc(HWND, UINT, WPARAM, LPARAM); - -HANDLE hInst; -HWND hInChanComboBox, hOutChanComboBox; -U32 input = 0; -U32 output = 0; -I16 card=-1, card_number=0; - -HBRUSH hLTGreenBrush,hGreenBrush,hBlueBrush,hYellowBrush,hRedBrush; - -POINT input_pos[8]= { {180, 50}, {160, 50}, - {140, 50}, {120, 50}, - {100, 50}, { 80, 50}, - { 60, 50}, { 40, 50} - }; - -POINT output_pos[4] ={ {140, 150}, {120, 150}, - {100, 150}, {80, 150} - }; - -BOOL InitApplication(HANDLE); -BOOL InitInstance(HANDLE, int); - - -int PASCAL WinMain(hInstance, hPrevInstance, lpCmdLine, nCmdShow) -HANDLE hInstance, hPrevInstance; -LPSTR lpCmdLine; -int nCmdShow; -{ - MSG msg; - - if (!hPrevInstance) - if (!InitApplication(hInstance)) return(FALSE); - if (!InitInstance(hInstance, nCmdShow)) return(FALSE); - while (GetMessage(&msg, NULL, NULL, NULL)) { - TranslateMessage(&msg); - DispatchMessage(&msg); - } - return(msg.wParam); -} - - -BOOL InitApplication(hInstance) -HANDLE hInstance; -{ - WNDCLASS wc; - - /* Main Window Class */ - wc.style = NULL; - wc.lpfnWndProc = (WNDPROC)MainWndProc; - wc.cbClsExtra = 0; - wc.cbWndExtra = 0; - wc.hInstance = hInstance; - wc.hIcon = LoadIcon(hInstance, "MyIcon"); - wc.hCursor = LoadCursor(NULL, IDC_ARROW); - wc.hbrBackground = GetStockObject(LTGRAY_BRUSH); - wc.lpszMenuName = NULL; - wc.lpszClassName = "GenericWClass"; - if (!RegisterClass(&wc)) - return(FALSE); -} - - -BOOL InitInstance(hInstance, nCmdShow) -HANDLE hInstance; -int nCmdShow; -{ - HWND hWnd; - HMENU hSampleMenu; - - hInst = hInstance; - hSampleMenu = LoadMenu(hInstance, "U9221Menu"); - hWnd = CreateWindow("GenericWClass", - (LPCSTR)"PCI-9221 DIO", - WS_OVERLAPPEDWINDOW, - CW_USEDEFAULT, - CW_USEDEFAULT, - 250, - 250, - NULL, - hSampleMenu, - hInstance, - NULL); - if (!hWnd) - return(FALSE); - - ShowWindow(hWnd, nCmdShow); - UpdateWindow(hWnd); - - return(TRUE); -} - - -BOOL PASCAL setup(HWND hWnd, unsigned message, WPARAM wParam, LPARAM lParam) -{ - int i; - char n[16]; - char s[50]; - - switch (message) { - case WM_INITDIALOG: - for (i=0;i<16;i++) { - wsprintf(n, "%d", i); - _strupr(n); - SendMessage(GetDlgItem(hWnd,IDC_COMBO1), CB_ADDSTRING, NULL, (LONG)(LPSTR) n); - } - SendMessage(GetDlgItem(hWnd,IDC_COMBO1) , CB_SETCURSEL, 0, 0L); - break; - case WM_COMMAND: - switch(LOWORD(wParam)) { - case IDC_COMBO1: - if (HIWORD(wParam) == CBN_CLOSEUP) { - i = (int)SendMessage(GetDlgItem(hWnd,IDC_COMBO1), CB_GETCURSEL, 0, 0L); - SendMessage(GetDlgItem(hWnd,IDC_COMBO1), CB_GETLBTEXT, i, (LPARAM)((LPCSTR)n)); - card_number = i; - } - return(TRUE); - case IDOK: - if ((card=Register_Card(PCI_9221, card_number)) < 0) { - wsprintf(s, "Register_Card Error = %d\n", card); - MessageBox(hWnd, s, "Error", MB_OK); - } - EndDialog(hWnd, TRUE); - InvalidateRect(hWnd, NULL, FALSE); - return (TRUE); - case IDCANCEL: - EndDialog(hWnd, TRUE); - return (TRUE); - } - break; - } - return (FALSE); -} - - -long PASCAL MainWndProc(hWnd, message, wParam, lParam) -HWND hWnd; -UINT message; -WPARAM wParam; -LPARAM lParam; -{ - HDC hDC; - PAINTSTRUCT ps; - int i, px, py; - char n[16]; - - switch(message) { - case WM_CREATE: - DialogBox(hInst,IDD_DIALOG1, hWnd, setup); - if(card<0) { - SendMessage(hWnd, WM_CLOSE, 0, 0L); - break; - } - - hLTGreenBrush = CreateSolidBrush(RGB(0, 255, 0)); - hGreenBrush = CreateSolidBrush(RGB(0, 128, 0)); - hBlueBrush = CreateSolidBrush(RGB(0, 0, 255)); - hRedBrush = CreateSolidBrush(RGB(255, 0, 0)); - SetTimer(hWnd, TIMER1, 50, NULL); - srand((unsigned)time(NULL)); - break; - case WM_PAINT: - hDC = BeginPaint(hWnd, &ps); - // Digital Input Box - SelectObject(hDC, hLTGreenBrush); - Rectangle(hDC, input_pos[7].x-10, input_pos[7].y-24, input_pos[0].x+26, input_pos[0].y+40); - SetTextColor(hDC,RGB(255,255,255)); - SetBkColor(hDC, RGB(0, 0, 255)); - TextOut(hDC, input_pos[5].x-6, input_pos[7].y-30, "Digital Input",13); - // Digital Output Box - SelectObject(hDC, hGreenBrush); - Rectangle(hDC, output_pos[3].x-10, output_pos[3].y-24, output_pos[0].x+26, output_pos[0].y+40); - SetTextColor(hDC,RGB(255,0,0)); - SetBkColor(hDC, RGB(0, 0, 255)); - TextOut(hDC, output_pos[3].x-6, output_pos[3].y-30, "Digital Output", 14); - // Channel Label - SetTextColor(hDC,RGB(0,0,0)); - SetBkColor(hDC, RGB(0, 255, 0)); - TextOut(hDC, input_pos[7].x, input_pos[7].y+16, "7 0", 36); - SetBkColor(hDC, RGB(0, 128, 0)); - TextOut(hDC, output_pos[3].x, output_pos[3].y+16, "3 0", 16); - SetBkColor(hDC, RGB(0, 255, 0)); - - for (i=0; i<8; i++) { - SelectObject(hDC, GetStockObject(WHITE_BRUSH)); - Ellipse(hDC, input_pos[i].x, input_pos[i].y, input_pos[i].x+17, input_pos[i].y+17); - } - - for (i=0; i<4; i++) { - SelectObject(hDC, GetStockObject(WHITE_BRUSH)); - Ellipse(hDC, output_pos[i].x, output_pos[i].y, output_pos[i].x+17, output_pos[i].y+17); - } - EndPaint(hWnd, &ps); - break; - case WM_COMMAND: - switch(LOWORD(wParam)) { - case IDM_EXIT: - SendMessage(hWnd, WM_CLOSE, 0, 0L); - break; - default: - return(DefWindowProc(hWnd, message, wParam, lParam)); - } - break; - case WM_TIMER: - DI_ReadPort(card,0,&input); - hDC = GetDC(hWnd); - for (i=0; i<8; i++) { - if ((input>>i)&0x01) - SelectObject(hDC, hRedBrush); - else - SelectObject(hDC, GetStockObject(WHITE_BRUSH)); - Ellipse(hDC, input_pos[i].x, input_pos[i].y, input_pos[i].x+17, input_pos[i].y+17); - } - ReleaseDC(hWnd, hDC); - break; - case WM_DESTROY: - DeleteObject(hRedBrush); - DeleteObject(hGreenBrush); - DeleteObject(hLTGreenBrush); - KillTimer(hWnd, TIMER1); - PostQuitMessage(0); - break; - case WM_LBUTTONDOWN: - px = LOWORD(lParam); - py = HIWORD(lParam); - for (i=0; i<4; i++) { - if (px>output_pos[i].x && pxoutput_pos[i].y && py>i)&0x01) { - output -= ((1L)< -# Microsoft Developer Studio Generated Build File, Format Version 6.00 -# ** DO NOT EDIT ** - -# TARGTYPE "Win32 (x86) Application" 0x0101 - -CFG=sdk9221dio - Win32 Release -!MESSAGE This is not a valid makefile. To build this project using NMAKE, -!MESSAGE use the Export Makefile command and run -!MESSAGE -!MESSAGE NMAKE /f "sdk9221dio.mak". -!MESSAGE -!MESSAGE You can specify a configuration when running NMAKE -!MESSAGE by defining the macro CFG on the command line. For example: -!MESSAGE -!MESSAGE NMAKE /f "sdk9221dio.mak" CFG="sdk9221dio - Win32 Release" -!MESSAGE -!MESSAGE Possible choices for configuration are: -!MESSAGE -!MESSAGE "sdk9221dio - Win32 Release" (based on "Win32 (x86) Application") -!MESSAGE "sdk9221dio - Win32 Debug" (based on "Win32 (x86) Application") -!MESSAGE - -# Begin Project -# PROP AllowPerConfigDependencies 0 -# PROP Scc_ProjName "" -# PROP Scc_LocalPath "" -CPP=cl.exe -MTL=midl.exe -RSC=rc.exe - -!IF "$(CFG)" == "sdk9221dio - Win32 Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir ".\Release" -# PROP BASE Intermediate_Dir ".\Release" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "" -# PROP Intermediate_Dir ".\Release" -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /YX /c -# ADD CPP /nologo /W3 /GX /O2 /I "..\..\..\include" /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /FD /c -# SUBTRACT CPP /YX -# ADD BASE MTL /nologo /D "NDEBUG" /win32 -# ADD MTL /nologo /D "NDEBUG" /mktyplib203 /win32 -# ADD BASE RSC /l 0x404 /d "NDEBUG" -# ADD RSC /l 0x404 /d "NDEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:windows /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ..\..\..\lib\PCI-DASK.lib /nologo /subsystem:windows /machine:I386 - -!ELSEIF "$(CFG)" == "sdk9221dio - Win32 Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir ".\Debug" -# PROP BASE Intermediate_Dir ".\Debug" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "" -# PROP Intermediate_Dir ".\Debug" -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /Gm /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /YX /c -# ADD CPP /nologo /W3 /Gm /GX /ZI /Od /I "..\..\..\include" /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /FD /c -# SUBTRACT CPP /YX -# ADD BASE MTL /nologo /D "_DEBUG" /win32 -# ADD MTL /nologo /D "_DEBUG" /mktyplib203 /win32 -# ADD BASE RSC /l 0x404 /d "_DEBUG" -# ADD RSC /l 0x404 /d "_DEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:windows /debug /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ..\..\..\lib\PCI-DASK.lib /nologo /subsystem:windows /debug /machine:I386 - -!ENDIF - -# Begin Target - -# Name "sdk9221dio - Win32 Release" -# Name "sdk9221dio - Win32 Debug" -# Begin Group "Source Files" - -# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;hpj;bat;for;f90" -# Begin Source File - -SOURCE=.\sdk9221dio.c -# End Source File -# Begin Source File - -SOURCE=.\sdk9221dio.rc -# End Source File -# End Group -# Begin Group "Header Files" - -# PROP Default_Filter "h;hpp;hxx;hm;inl;fi;fd" -# End Group -# Begin Group "Resource Files" - -# PROP Default_Filter "ico;cur;bmp;dlg;rc2;rct;bin;cnt;rtf;gif;jpg;jpeg;jpe" -# End Group -# End Target -# End Project diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9221/SDK9221DIO/sdk9221dio.dsw b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9221/SDK9221DIO/sdk9221dio.dsw deleted file mode 100644 index 72f9105..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9221/SDK9221DIO/sdk9221dio.dsw +++ /dev/null @@ -1,29 +0,0 @@ -Microsoft Developer Studio Workspace File, Format Version 6.00 -# WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE! - -############################################################################### - -Project: "sdk9221dio"=.\sdk9221dio.dsp - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ -}}} - -############################################################################### - -Global: - -Package=<5> -{{{ -}}} - -Package=<3> -{{{ -}}} - -############################################################################### - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9221/SDK9221DIO/sdk9221dio.exe b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9221/SDK9221DIO/sdk9221dio.exe deleted file mode 100644 index 629bbdd..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9221/SDK9221DIO/sdk9221dio.exe and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9221/SDK9221DIO/sdk9221dio.rc b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9221/SDK9221DIO/sdk9221dio.rc deleted file mode 100644 index 888891e..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9221/SDK9221DIO/sdk9221dio.rc +++ /dev/null @@ -1,115 +0,0 @@ -//Microsoft Developer Studio generated resource script. -// -#include "resource.h" - -#define APSTUDIO_READONLY_SYMBOLS -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 2 resource. -// -#define APSTUDIO_HIDDEN_SYMBOLS -#include "windows.h" -#undef APSTUDIO_HIDDEN_SYMBOLS - -///////////////////////////////////////////////////////////////////////////// -#undef APSTUDIO_READONLY_SYMBOLS - -///////////////////////////////////////////////////////////////////////////// -// English (U.S.) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -#ifdef _WIN32 -LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US -#pragma code_page(1252) -#endif //_WIN32 - -///////////////////////////////////////////////////////////////////////////// -// -// Menu -// - -U9221MENU MENU DISCARDABLE -BEGIN - MENUITEM "E&xit!", IDM_EXIT -END - - -#ifdef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// TEXTINCLUDE -// - -1 TEXTINCLUDE DISCARDABLE -BEGIN - "resource.h\0" -END - -2 TEXTINCLUDE DISCARDABLE -BEGIN - "#define APSTUDIO_HIDDEN_SYMBOLS\r\n" - "#include ""windows.h""\r\n" - "#undef APSTUDIO_HIDDEN_SYMBOLS\r\n" - "\0" -END - -3 TEXTINCLUDE DISCARDABLE -BEGIN - "\r\n" - "\0" -END - -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog -// - -IDD_DIALOG1 DIALOG DISCARDABLE 110, 10, 106, 61 -STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "Card Number" -FONT 10, "System" -BEGIN - DEFPUSHBUTTON "OK",IDOK,10,40,37,14 - PUSHBUTTON "Cancel",IDCANCEL,61,40,38,14 - LTEXT "Card Number",IDC_STATIC,3,13,47,13 - COMBOBOX IDC_COMBO1,51,13,48,84,CBS_DROPDOWN | WS_VSCROLL | - WS_TABSTOP -END - - -///////////////////////////////////////////////////////////////////////////// -// -// DESIGNINFO -// - -#ifdef APSTUDIO_INVOKED -GUIDELINES DESIGNINFO DISCARDABLE -BEGIN - IDD_DIALOG1, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 99 - TOPMARGIN, 7 - BOTTOMMARGIN, 54 - END -END -#endif // APSTUDIO_INVOKED - -#endif // English (U.S.) resources -///////////////////////////////////////////////////////////////////////////// - - - -#ifndef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 3 resource. -// - - -///////////////////////////////////////////////////////////////////////////// -#endif // not APSTUDIO_INVOKED - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9221/VB9221AIDma/9221glbl.Bas b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9221/VB9221AIDma/9221glbl.Bas deleted file mode 100644 index 43d6596..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9221/VB9221AIDma/9221glbl.Bas +++ /dev/null @@ -1,10 +0,0 @@ -Attribute VB_Name = "Module1" -Option Explicit - -Declare Function BitBlt Lib "GDI32" (ByVal hDestDC As Long, ByVal X As Long, ByVal Y As Long, ByVal nWidth As Long, ByVal nHeight As Long, ByVal hSrcDC As Long, ByVal XSrc As Long, ByVal YSrc As Long, ByVal dwRop As Long) As Long - -Global Const SRCCOPY = &HCC0020 ' (DWORD) dest = source -Global card As Integer -Global card_number As Integer -Global card_type As Integer - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9221/VB9221AIDma/Base9221.frm b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9221/VB9221AIDma/Base9221.frm deleted file mode 100644 index 5f62e43..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9221/VB9221AIDma/Base9221.frm +++ /dev/null @@ -1,93 +0,0 @@ -VERSION 5.00 -Begin VB.Form SettingForm - Appearance = 0 'Flat - BackColor = &H00C0C0C0& - Caption = "Card Setting" - ClientHeight = 1365 - ClientLeft = 4590 - ClientTop = 3420 - ClientWidth = 2835 - BeginProperty Font - Name = "MS Sans Serif" - Size = 8.25 - Charset = 0 - Weight = 700 - Underline = 0 'False - Italic = 0 'False - Strikethrough = 0 'False - EndProperty - ForeColor = &H80000008& - LinkTopic = "Form2" - PaletteMode = 1 'UseZOrder - ScaleHeight = 1365 - ScaleWidth = 2835 - Begin VB.CommandButton OKBtn - Appearance = 0 'Flat - BackColor = &H80000005& - Caption = "OK" - Default = -1 'True - Height = 315 - Left = 240 - TabIndex = 0 - Top = 840 - Width = 915 - End - Begin VB.CommandButton CancelBtn - Appearance = 0 'Flat - BackColor = &H80000005& - Cancel = -1 'True - Caption = "Cancel" - Height = 315 - Left = 1680 - TabIndex = 3 - Top = 840 - Width = 915 - End - Begin VB.ComboBox CardNum - Appearance = 0 'Flat - Height = 315 - Left = 1440 - Style = 2 'Dropdown List - TabIndex = 2 - Top = 120 - Width = 1215 - End - Begin VB.Label Label2 - Appearance = 0 'Flat - BackColor = &H00C0C0C0& - Caption = "Card Number:" - ForeColor = &H00000000& - Height = 195 - Index = 0 - Left = 120 - TabIndex = 1 - Top = 180 - Width = 1275 - End -End -Attribute VB_Name = "SettingForm" -Attribute VB_GlobalNameSpace = False -Attribute VB_Creatable = False -Attribute VB_PredeclaredId = True -Attribute VB_Exposed = False - -Private Sub CancelBtn_Click() - Unload SettingForm -End Sub - - -Private Sub Form_Load() - Dim i As Long - For i = 0 To 15 Step 1 - CardNum.AddItem i - Next - CardNum.ListIndex = 0 -End Sub - -Private Sub OKBtn_Click() - card = -1 - card_number = CardNum.ListIndex - card = Register_Card(PCI_9221, card_number) - Unload SettingForm -End Sub - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9221/VB9221AIDma/Vb9221i.vbp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9221/VB9221AIDma/Vb9221i.vbp deleted file mode 100644 index 9744fb5..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9221/VB9221AIDma/Vb9221i.vbp +++ /dev/null @@ -1,38 +0,0 @@ -Type=Exe -Form=vb9221i.Frm -Module=DASK; ..\..\..\Include\Dask.bas -Module=Module1; 9221glbl.Bas -Form=Base9221.frm -Reference=*\G{00025E04-0000-0000-C000-000000000046}#3.5#0#D:\Program Files\Common Files\Microsoft Shared\DAO\dao2535.tlb#Microsoft DAO 2.5/3.0 Compatibility Library -IconForm="dma9221" -Startup="dma9221" -Title="9221dma" -ExeName32="vb9221i.exe" -Command32="" -Name="vb9221dma" -HelpContextID="0" -CompatibleMode="0" -MajorVer=1 -MinorVer=0 -RevisionVer=0 -AutoIncrementVer=0 -ServerSupportFiles=0 -VersionCompanyName="ADLink" -CompilationType=0 -OptimizationType=0 -FavorPentiumPro(tm)=0 -CodeViewDebugInfo=0 -NoAliasing=0 -BoundsCheck=0 -OverflowCheck=0 -FlPointCheck=0 -FDIVCheck=0 -UnroundedFP=0 -StartMode=0 -Unattended=0 -Retained=0 -ThreadPerObject=0 -MaxNumberOfThreads=1 - -[MS Transaction Server] -AutoRefresh=1 diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9221/VB9221AIDma/Vb9221i.vbw b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9221/VB9221AIDma/Vb9221i.vbw deleted file mode 100644 index e542500..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9221/VB9221AIDma/Vb9221i.vbw +++ /dev/null @@ -1,4 +0,0 @@ -dma9221 = 66, 66, 591, 506, Z, 44, 44, 569, 484, C -DASK = 176, 176, 618, 624, -Module1 = 198, 198, 640, 646, -SettingForm = 110, 110, 635, 550, , 22, 22, 547, 462, C diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9221/VB9221AIDma/vb9221i.Frm b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9221/VB9221AIDma/vb9221i.Frm deleted file mode 100644 index cc8e4a5..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9221/VB9221AIDma/vb9221i.Frm +++ /dev/null @@ -1,481 +0,0 @@ -VERSION 5.00 -Begin VB.Form dma9221 - Appearance = 0 'Flat - BackColor = &H00C0C0C0& - Caption = "9221 dma" - ClientHeight = 4980 - ClientLeft = 1380 - ClientTop = 1740 - ClientWidth = 7665 - BeginProperty Font - Name = "MS Sans Serif" - Size = 8.25 - Charset = 0 - Weight = 700 - Underline = 0 'False - Italic = 0 'False - Strikethrough = 0 'False - EndProperty - ForeColor = &H0000FFFF& - LinkTopic = "Form1" - PaletteMode = 1 'UseZOrder - ScaleHeight = 4980 - ScaleWidth = 7665 - Begin VB.CommandButton btnExit - Appearance = 0 'Flat - BackColor = &H80000005& - Caption = "Exit" - Height = 500 - Left = 3720 - TabIndex = 5 - Top = 4320 - Width = 1000 - End - Begin VB.CommandButton btnStop - Appearance = 0 'Flat - BackColor = &H80000005& - Caption = "Stop" - Height = 500 - Left = 2520 - TabIndex = 4 - Top = 4320 - Width = 1000 - End - Begin VB.CommandButton btnStart - Appearance = 0 'Flat - BackColor = &H80000005& - Caption = "Start" - Height = 500 - Left = 1320 - TabIndex = 3 - Top = 4320 - Width = 1000 - End - Begin VB.Frame frmData - Appearance = 0 'Flat - BackColor = &H00C0C0C0& - Caption = "Data Size" - ForeColor = &H00FF0000& - Height = 615 - Left = 1920 - TabIndex = 2 - Top = 3500 - Width = 1935 - Begin VB.ComboBox cobData - Appearance = 0 'Flat - Height = 315 - Left = 120 - Style = 2 'Dropdown List - TabIndex = 18 - Top = 240 - Width = 975 - End - Begin VB.Label labData - Appearance = 0 'Flat - BackColor = &H00C0C0C0& - Caption = "Records" - ForeColor = &H0000FFFF& - Height = 255 - Left = 1155 - TabIndex = 19 - Top = 255 - Width = 720 - End - End - Begin VB.Frame frmSample - Appearance = 0 'Flat - BackColor = &H00C0C0C0& - Caption = "Sampling Rate" - ForeColor = &H00FF0000& - Height = 615 - Left = 120 - TabIndex = 1 - Top = 3500 - Width = 1700 - Begin VB.ComboBox cobSample - Appearance = 0 'Flat - Height = 315 - Left = 120 - Style = 2 'Dropdown List - TabIndex = 17 - Top = 240 - Width = 975 - End - Begin VB.Label Label1 - Appearance = 0 'Flat - BackColor = &H00C0C0C0& - Caption = "KHz" - ForeColor = &H0000FFFF& - Height = 255 - Left = 1150 - TabIndex = 20 - Top = 260 - Width = 450 - End - End - Begin VB.Frame dmaFrame - Appearance = 0 'Flat - BackColor = &H00C0C0C0& - Caption = "dmaerrupt Input(A/D)" - ForeColor = &H00FF0000& - Height = 3375 - Left = 120 - TabIndex = 0 - Top = 120 - Width = 7455 - Begin VB.Frame frmRange - Appearance = 0 'Flat - BackColor = &H00C0C0C0& - Caption = "Range" - ForeColor = &H00FF0000& - Height = 615 - Left = 5880 - TabIndex = 8 - Top = 2640 - Width = 1380 - Begin VB.ComboBox cobRange - Appearance = 0 'Flat - Height = 315 - Left = 100 - Style = 2 'Dropdown List - TabIndex = 16 - Top = 240 - Width = 1200 - End - End - Begin VB.Frame frmChannel - Appearance = 0 'Flat - BackColor = &H00C0C0C0& - Caption = "AD Channel" - ForeColor = &H00FF0000& - Height = 1755 - Left = 5880 - TabIndex = 7 - Top = 240 - Width = 1380 - Begin VB.OptionButton optChn - Caption = "7" - Height = 315 - Index = 7 - Left = 720 - TabIndex = 28 - Top = 1260 - Width = 435 - End - Begin VB.OptionButton optChn - Caption = "6" - Height = 315 - Index = 6 - Left = 720 - TabIndex = 27 - Top = 960 - Width = 435 - End - Begin VB.OptionButton optChn - Caption = "5" - Height = 315 - Index = 5 - Left = 720 - TabIndex = 26 - Top = 660 - Width = 435 - End - Begin VB.OptionButton optChn - Caption = "4" - Height = 315 - Index = 4 - Left = 720 - TabIndex = 25 - Top = 360 - Width = 435 - End - Begin VB.OptionButton optChn - Caption = "3" - Height = 315 - Index = 3 - Left = 120 - TabIndex = 24 - Top = 1260 - Width = 435 - End - Begin VB.OptionButton optChn - Caption = "2" - Height = 315 - Index = 2 - Left = 120 - TabIndex = 23 - Top = 960 - Width = 435 - End - Begin VB.OptionButton optChn - Caption = "1" - Height = 315 - Index = 1 - Left = 120 - TabIndex = 22 - Top = 660 - Width = 435 - End - Begin VB.OptionButton optChn - Caption = "0" - Height = 315 - Index = 0 - Left = 120 - TabIndex = 21 - Top = 360 - Value = -1 'True - Width = 435 - End - End - Begin VB.PictureBox picScreen - Appearance = 0 'Flat - AutoRedraw = -1 'True - BackColor = &H00000000& - ForeColor = &H80000008& - Height = 2700 - Left = 720 - ScaleHeight = 178 - ScaleMode = 3 'Pixel - ScaleWidth = 331 - TabIndex = 6 - Top = 480 - Width = 4995 - End - Begin VB.Label labValue - Appearance = 0 'Flat - BackColor = &H00C0C0C0& - Caption = "-5.00" - ForeColor = &H0000FFFF& - Height = 255 - Index = 4 - Left = 100 - TabIndex = 15 - Top = 3050 - Width = 600 - End - Begin VB.Label labValue - Appearance = 0 'Flat - BackColor = &H00C0C0C0& - Caption = "-2.50" - ForeColor = &H0000FFFF& - Height = 255 - Index = 3 - Left = 100 - TabIndex = 14 - Top = 2400 - Width = 600 - End - Begin VB.Label labValue - Appearance = 0 'Flat - BackColor = &H00C0C0C0& - Caption = "0.00" - ForeColor = &H0000FFFF& - Height = 255 - Index = 2 - Left = 100 - TabIndex = 13 - Top = 1740 - Width = 600 - End - Begin VB.Label labValue - Appearance = 0 'Flat - BackColor = &H00C0C0C0& - Caption = "2.50" - ForeColor = &H0000FFFF& - Height = 255 - Index = 1 - Left = 100 - TabIndex = 12 - Top = 1070 - Width = 600 - End - Begin VB.Label labValue - Appearance = 0 'Flat - BackColor = &H00C0C0C0& - Caption = "5.00" - ForeColor = &H0000FFFF& - Height = 255 - Index = 0 - Left = 100 - TabIndex = 11 - Top = 420 - Width = 600 - End - Begin VB.Label labVots - Appearance = 0 'Flat - BackColor = &H00C0C0C0& - Caption = "Vots" - ForeColor = &H0000FFFF& - Height = 255 - Left = 120 - TabIndex = 10 - Top = 200 - Width = 495 - End - Begin VB.Label labSignal - Appearance = 0 'Flat - BackColor = &H00C0C0C0& - Caption = "Signals" - ForeColor = &H0000FFFF& - Height = 300 - Left = 2800 - TabIndex = 9 - Top = 200 - Width = 780 - End - End -End -Attribute VB_Name = "dma9221" -Attribute VB_GlobalNameSpace = False -Attribute VB_Creatable = False -Attribute VB_PredeclaredId = True -Attribute VB_Exposed = False -Dim BufferId As Integer -Dim Scandmav As Long -Dim Sampdmav As Long -Dim gnADChn As Integer -Dim gnCount As Integer -Dim nSample As Long -Dim range_value(4) As Integer -Dim gnC1 As Integer -Dim gnC2 As Integer -Dim gnBuffer(4096) As Integer - - -Private Sub btnExit_Click() - If card >= 0 Then Release_Card (card) - End - -End Sub - -Private Sub btnStart_Click() - Dim result As Integer - picScreen.Cls - result = AI_9221_Config(card, 0, 0, 0) - Scandmav = 40000 / nSample - Sampdmav = Scandmav - result = AI_9221_CounterInterval(card, Scandmav, Sampdmav) - result = AI_SetTimeOut(card, 10000) - result = AI_ContBufferSetup(card, gnBuffer(0), gnCount, BufferId) - result = AI_ContReadChannel(card, gnADChn, range_value(cobRange.ListIndex), BufferId, gnCount, 0, SYNCH_OP) - ShowData (gnCount) -End Sub - -Private Sub btnStop_Click() - picScreen.Cls - AI_ContBufferReset (card) -End Sub - -Private Sub cobData_Click() - gnCount = Val(Trim$(cobData)) -End Sub - - -Private Sub cobRange_Click() -Select Case cobRange.ListIndex - Case 0 - labValue(0).Caption = "5.0" - labValue(1).Caption = "2.5" - labValue(2).Caption = "0.0" - labValue(3).Caption = "-2.5" - labValue(4).Caption = "-5.0" - Case 1 - labValue(0).Caption = "1.0" - labValue(1).Caption = "0.5" - labValue(2).Caption = "0.0" - labValue(3).Caption = "-2.5" - labValue(4).Caption = "-1.0" - Case 2 - labValue(0).Caption = "0.50" - labValue(1).Caption = "0.25" - labValue(2).Caption = "0.00" - labValue(3).Caption = "-0.25" - labValue(4).Caption = "-0.50" - Case 3 - labValue(0).Caption = "0.2" - labValue(1).Caption = "0.1" - labValue(2).Caption = "0.0" - labValue(3).Caption = "-0.1" - labValue(4).Caption = "-1.2" - End Select -End Sub - -Private Sub cobSample_Click() - nSample = Val(Trim$(cobSample)) -End Sub - -Private Sub Form_Load() - Dim result As Integer - - SettingForm.Show 1 - If card < 0 Then - MsgBox "Register Card Failed" - End - End If - gnC1 = 10 - - cobRange.AddItem "+/- 5V" - cobRange.AddItem "+/- 1V" - cobRange.AddItem "+/- 0.5V" - cobRange.AddItem "+/- 0.2V" - - cobRange.ListIndex = 0 - - range_value(0) = 2 - range_value(1) = 10 - range_value(2) = 7 - range_value(3) = 25 - - cobData.AddItem "1024" - cobData.AddItem "2048" - cobData.AddItem "4096" - - cobData.ListIndex = 2 - - cobSample.AddItem "10" - cobSample.AddItem "40" - cobSample.AddItem "100" - cobSample.AddItem "160" - cobSample.AddItem "250" - - cobSample.ListIndex = 4 - - gnADChn = 0 - -End Sub - -Private Sub Form_Unload(Cancel As Integer) - If card >= 0 Then Release_Card (card) -End Sub - - -Private Sub optChn_Click(Index As Integer) - gnADChn = Index -End Sub - -Private Sub ShowData(Count As Integer) - Dim i, last, total As Integer - Dim x1, y1, x2, y2 As Integer - Dim w, h, data As Integer - - last = Count - w = picScreen.ScaleWidth - h = picScreen.ScaleHeight - - data = gnBuffer(0) - x1 = (last * w) / Count - y1 = h - ((CLng(data) + 32768) * h / 65535) - - last = last - 1 - - While (last > 0) - data = gnBuffer(Count - last) - x2 = (last * w) / Count - y2 = h - ((CLng(data) + 32768) * h / 65535) - last = last - 1 - picScreen.Line (x1, y1)-(x2, y2), &HFFFF& - x1 = x2 - y1 = y2 - Wend - AI_ContBufferReset (card) -End Sub diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9222/C9222_AI_DMA/ai.c b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9222/C9222_AI_DMA/ai.c deleted file mode 100644 index 7bf4f28..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9222/C9222_AI_DMA/ai.c +++ /dev/null @@ -1,157 +0,0 @@ -/*----------------------------------------------------------------------------*/ -/* Company : ADLINK */ -/* Date : 2008/07/30 */ -/* */ -/* This sample performs continuous AI acquisition. */ -/* There are 16(Single Ended Mode)/8(Differetial Mode) AI channels in */ -/* PCI-9222. You can use polling mode or DMA to acquired data from specified */ -/* channels. */ -/*----------------------------------------------------------------------------*/ -#include -#include -#include -#include -#include "dask.h" - -#define AI_COUNT 4000 -#define P922X_TIMEBASE 80000000.0 - -int main(int argc, char **argv) -{ - I16 card, err; - U16 card_num; - U16 ConfigCtrl = P922x_AI_SingEnded|P922x_AI_CONVSRC_INT; - U16 TrigCtrl = P922x_AI_TRGMOD_POST|P922x_AI_TRGSRC_SOFT; - U32 ReTriggerCount = 0; /*Ignore in Non-Retrigger*/ - BOOLEAN AutoResetBuf = 1; /*Auto Reset Buffer Descriptor in Driver*/ - U32 ScanIntrv = 320; /*Scan Rate: P922X_TIMEBASE/320 = 250K Hz*/ - U32 SampIntrv = 320; /*Sampling Rate: P922X_TIMEBASE/320 = 250K Hz*/ - U16 RDBuffer[AI_COUNT]; - U16 BufferId; - F64 VBuffer[AI_COUNT]; - U32 AI_ReadCount = AI_COUNT; /*AI Read Count*/ - U16 Channel = 0; /*AI Channel Number to be read*/ - U16 AdRange = AD_B_10_V; /*AI range*/ - BOOLEAN Stopped; - U32 AccessCnt; - FILE *w_file; - U8 FileName[] = "ai_data.txt"; - U32 i; - /*--------------------------------*/ - - memset(RDBuffer, '\0', AI_COUNT*sizeof(U16)); - memset(VBuffer, '\0', AI_COUNT*sizeof(F64)); - if(!(w_file=fopen(FileName, "w"))){ - printf("file open error...\n"); - exit(1); - } - fprintf(w_file, "Channel %d,\n", Channel); - - printf("This sample performs continuous AI acquisition from AI Channel %d\n", Channel); - printf("at %6.3lf Hz sampling rate.\n\n", P922X_TIMEBASE/SampIntrv); - - /*Open and Initialize Device*/ - printf("Card Number? "); - scanf(" %hd", &card_num); - card = Register_Card(PCI_9222, card_num); - if(card<0){ - printf("Register_Card Error: %d\n", card); - fclose(w_file); - exit(1); - } - - /*Configure AI*/ - err = AI_9222_Config(card, ConfigCtrl, TrigCtrl, ReTriggerCount, AutoResetBuf); - if(err<0){ - printf("AI_9222_Config Error: %d\n", err); - Release_Card(card); - fclose(w_file); - exit(1); - } - - /*Set Scan and Sampling Rate*/ - err = AI_9222_CounterInterval(card, ScanIntrv, SampIntrv); - if(err<0){ - printf("AI_9222_CounterInterval Error: %d\n", err); - Release_Card(card); - fclose(w_file); - exit(1); - } - - /*Disable Double Buffer Mode*/ - err = AI_AsyncDblBufferMode(card, 0); - if(err<0){ - printf("AI_AsyncDblBufferMode Error: %d\n", err); - Release_Card(card); - fclose(w_file); - exit(1); - } - - /*Setup Buffer for AI DMA Transfer*/ - err = AI_ContBufferSetup(card, RDBuffer, AI_ReadCount, &BufferId); - if(err<0){ - printf("AI_ContBufferSetup Error: %d\n", err); - Release_Card(card); - fclose(w_file); - exit(1); - } - - /*AI Acquisition Start*/ - err = AI_ContReadChannel(card, Channel, AdRange, &BufferId, AI_ReadCount, 0/*Ignore*/, ASYNCH_OP); - if(err<0){ - printf("AI_ContReadChannel Error: %d\n", err); - AI_ContBufferReset(card); - Release_Card(card); - fclose(w_file); - exit(1); - } - do{ - /*Check whether AI Acquisition is done*/ - err = AI_AsyncCheck(card, &Stopped, &AccessCnt); - if(err<0){ - printf("AI_AsyncCheck Error: %d\n", err); - AI_AsyncClear(card, &AccessCnt); - AI_ContBufferReset(card); - Release_Card(card); - fclose(w_file); - exit(1); - } - }while((!kbhit())&&(!Stopped)); - - /*Clear AI Setting and Get Remaining data*/ - err = AI_AsyncClear(card, &AccessCnt); - if(err<0){ - printf("AI_AsyncClear Error: %d\n", err); - AI_AsyncClear(card, &AccessCnt); - AI_ContBufferReset(card); - Release_Card(card); - fclose(w_file); - exit(1); - } - - if(Stopped){ - printf("\n\nAI Acquisition Done... Acquired %d samples...\n", AccessCnt); - printf("Write %d samples of Buffer to %s file...\n", AccessCnt, FileName); - AI_ContVScale(card, AdRange, RDBuffer, VBuffer, AccessCnt); - for(i=0; i -# Microsoft Developer Studio Generated Build File, Format Version 6.00 -# ** DO NOT EDIT ** - -# TARGTYPE "Win32 (x86) Console Application" 0x0103 - -CFG=ai - Win32 Debug -!MESSAGE This is not a valid makefile. To build this project using NMAKE, -!MESSAGE use the Export Makefile command and run -!MESSAGE -!MESSAGE NMAKE /f "ai.mak". -!MESSAGE -!MESSAGE You can specify a configuration when running NMAKE -!MESSAGE by defining the macro CFG on the command line. For example: -!MESSAGE -!MESSAGE NMAKE /f "ai.mak" CFG="ai - Win32 Debug" -!MESSAGE -!MESSAGE Possible choices for configuration are: -!MESSAGE -!MESSAGE "ai - Win32 Release" (based on "Win32 (x86) Console Application") -!MESSAGE "ai - Win32 Debug" (based on "Win32 (x86) Console Application") -!MESSAGE - -# Begin Project -# PROP AllowPerConfigDependencies 0 -# PROP Scc_ProjName "" -# PROP Scc_LocalPath "" -CPP=cl.exe -RSC=rc.exe - -!IF "$(CFG)" == "ai - Win32 Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "Release" -# PROP BASE Intermediate_Dir "Release" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "" -# PROP Intermediate_Dir "Release" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c -# ADD CPP /nologo /W3 /GX /O2 /I "../../../include" /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c -# ADD BASE RSC /l 0x404 /d "NDEBUG" -# ADD RSC /l 0x404 /d "NDEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ../../../lib/pci-dask.lib /nologo /subsystem:console /machine:I386 - -!ELSEIF "$(CFG)" == "ai - Win32 Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "Debug" -# PROP BASE Intermediate_Dir "Debug" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "Debug" -# PROP Intermediate_Dir "Debug" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /GZ /c -# ADD CPP /nologo /W3 /Gm /GX /ZI /Od /I "../../../include" /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /GZ /c -# ADD BASE RSC /l 0x404 /d "_DEBUG" -# ADD RSC /l 0x404 /d "_DEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ../../../lib/pci-dask.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept - -!ENDIF - -# Begin Target - -# Name "ai - Win32 Release" -# Name "ai - Win32 Debug" -# Begin Group "Source Files" - -# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;idl;hpj;bat" -# Begin Source File - -SOURCE=.\ai.c -# End Source File -# End Group -# Begin Group "Header Files" - -# PROP Default_Filter "h;hpp;hxx;hm;inl" -# End Group -# Begin Group "Resource Files" - -# PROP Default_Filter "ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe" -# End Group -# End Target -# End Project diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9222/C9222_AI_DMA/ai.dsw b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9222/C9222_AI_DMA/ai.dsw deleted file mode 100644 index 2e548b2..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9222/C9222_AI_DMA/ai.dsw +++ /dev/null @@ -1,29 +0,0 @@ -Microsoft Developer Studio Workspace File, Format Version 6.00 -# WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE! - -############################################################################### - -Project: "ai"=.\ai.dsp - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ -}}} - -############################################################################### - -Global: - -Package=<5> -{{{ -}}} - -Package=<3> -{{{ -}}} - -############################################################################### - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9222/C9222_AI_DMA/ai.exe b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9222/C9222_AI_DMA/ai.exe deleted file mode 100644 index 315d4b6..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9222/C9222_AI_DMA/ai.exe and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9222/C9222_AI_DMA_DBFEvent/ai.c b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9222/C9222_AI_DMA_DBFEvent/ai.c deleted file mode 100644 index badf4d7..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9222/C9222_AI_DMA_DBFEvent/ai.c +++ /dev/null @@ -1,195 +0,0 @@ -/*----------------------------------------------------------------------------*/ -/* Company : ADLINK */ -/* Date : 2008/07/30 */ -/* */ -/* This sample performs infinite AI acquisition with DMA Double buffer mode. */ -/* There are 16(Single Ended Mode)/8(Differetial Mode) AI channels in */ -/* PCI-9222. You can use polling mode or DMA to acquired data from specified */ -/* channels. */ -/*----------------------------------------------------------------------------*/ -#include -#include -#include -#include -#include "dask.h" - -#define READCOUNT 4000 -#define P922X_TIMEBASE 80000000.0 - -I16 card; -U16 card_num; -U16 ConfigCtrl = P922x_AI_SingEnded|P922x_AI_CONVSRC_INT; -U16 TrigCtrl = P922x_AI_TRGMOD_POST|P922x_AI_TRGSRC_SOFT; -U32 ReTriggerCnt = 0; /*Ignore if Double buffer mode is enable*/ -BOOLEAN AutoResetBuf = 1; /*Autoreset buffer descriptor build in kernel*/ -U32 ScanIntrv = 20000; /*Scan Rate: P922X_TIMEBASE/20000 = 4K Hz*/ -U32 SampIntrv = 20000; /*Sampling Rate: P922X_TIMEBASE/20000 = 4K Hz*/ -U16 RDBuffer0[READCOUNT]; /*Data Buffer for AI DMA*/ -U16 RDBuffer1[READCOUNT]; /*Data Buffer for AI DMA*/ -U32 AI_ReadCount = READCOUNT; /*AI Read Count per one buffer*/ -U16 BufferId0; -U16 BufferId1; -U16 Channel = 0; /*AI Channel Number*/ -U16 AdRange = AD_B_10_V; /*AI Ranges*/ -U32 AccessCnt; -BOOLEAN StopFlag = FALSE; -U16 ViewIdx = 0; -U16 overrunFlag; -U8 filename[] = "ai_data"; -U32 HalfRdyCnt = 0; - - -/*------------------------------------*/ -/* AI End Call Back Function */ -/*------------------------------------*/ -void AI_END_CALLBACK() -{ - printf("\n\nAcquisition End...\n"); - printf("Total Acquire %d Data from Channel %d and Write them to %s.dat...\n", - HalfRdyCnt*AI_ReadCount+AccessCnt, Channel, filename - ); - StopFlag = 1; -} - - -void AI_DBEVENT_CALLBACK() -{ - I16 err; - if(ViewIdx==0){ - printf("\n\nBuffer%d Half Ready...\n", ViewIdx); - printf(" press any key to exit..."); - err = AI_AsyncDblBufferToFile(card); - if(err<0) - printf("AI_AsyncDblBufferToFile Error: %d\n", err); - err = AI_AsyncDblBufferHandled(card); - if(err<0) - printf("AI_AsyncDblBufferToFile Error: %d\n", err); - } - else{ - printf("\n\nBuffer%d Half Ready...\n", ViewIdx); - printf(" press any key to exit..."); - err = AI_AsyncDblBufferToFile(card); - if(err<0) - printf("AI_AsyncDblBufferToFile Error: %d\n", err); - err = AI_AsyncDblBufferHandled(card); - if(err<0) - printf("AI_AsyncDblBufferToFile Error: %d\n", err); - } - - err = AI_AsyncDblBufferOverrun(card, 0, &overrunFlag); - if(err<0){ - printf("AI_AsyncDblBufferOverrun Error: %d\n", err); - } - if(overrunFlag){ - printf("\nOVERRUN: %d\n", overrunFlag); - err = AI_AsyncDblBufferOverrun(card, 1, NULL); - if(err<0){ - printf("AI_AsyncDblBufferOverrun Error: %d\n", err); - } - } - ViewIdx = ViewIdx? 0:1; - HalfRdyCnt++; -} - - -int main(int argc, char **argv) -{ - I16 err; - - memset(RDBuffer0, '\0', READCOUNT*sizeof(U16)); - memset(RDBuffer1, '\0', READCOUNT*sizeof(U16)); - printf("This sample infinitely acquires analog voltage from AI Channel %d", Channel); - printf("at %6.3lf Hz sampling rate with DMA Double Buffer mode.\n", P922X_TIMEBASE/SampIntrv); - - /*Open Device*/ - printf("Card Number? "); - scanf(" %hd", &card_num); - card = Register_Card(PCI_9222, card_num); - if(card<0){ - printf("Register_Card Error: %d\n", card); - exit(1); - } - - /*Configure AI*/ - err = AI_9222_Config(card, ConfigCtrl, TrigCtrl, ReTriggerCnt, AutoResetBuf); - if(err<0){ - printf("AI_9222_Config Error: %d\n", err); - Release_Card(card); - exit(1); - } - - /*Set AI Scan and Sample Interval*/ - err = AI_9222_CounterInterval(card, ScanIntrv, SampIntrv); - if(err<0){ - printf("AI_9222_CounterInterval Error: %d\n", err); - Release_Card(card); - exit(1); - } - - /*Enable Double Buffer Mode*/ - err = AI_AsyncDblBufferMode(card, 1); - if(err<0){ - printf("AI_AsyncDblBufferMode Error: %d\n", err); - Release_Card(card); - exit(1); - } - - /*Setup Buffer*/ - err = AI_ContBufferSetup(card, RDBuffer0, AI_ReadCount, &BufferId0); - if(err<0){ - printf("AI_ContBufferSetup0 Error: %d\n", err); - Release_Card(card); - exit(1); - } - err = AI_ContBufferSetup(card, RDBuffer1, AI_ReadCount, &BufferId1); - if(err<0){ - printf("AI_ContBufferSetup1 Error: %d\n", err); - Release_Card(card); - exit(1); - } - - /*Enable AI Double Buffer Half Ready Event*/ - err = AI_EventCallBack(card, 1, DBEvent, (U32)AI_DBEVENT_CALLBACK); - if(err<0){ - printf("AI_EventCallBack Error: %d\n", err); - AI_ContBufferReset(card); - Release_Card(card); - exit(1); - } - /*Enable AI END Event*/ - err = AI_EventCallBack(card, 1, AIEnd, (U32)AI_END_CALLBACK); - if(err<0){ - printf("AI_EventCallBack2 Error: %d\n", err); - AI_EventCallBack(card, 0, DBEvent, (U32)NULL); - AI_ContBufferReset(card); - Release_Card(card); - exit(1); - } - - err = AI_ContReadChannelToFile(card, Channel, AdRange, filename, AI_ReadCount, 0, ASYNCH_OP); - if(err<0){ - printf("AI_ContReadChanneltoFile Error: %d\n", err); - AI_EventCallBack(card, 0, DBEvent, (U32)NULL); - AI_EventCallBack(card, 0, AIEnd, (U32)NULL); - AI_ContBufferReset(card); - Release_Card(card); - exit(1); - } - printf("AI Acquisition is started... Wait AI DBEvent...\n"); - printf("You can press any key to stop it..."); - getch(); - AI_AsyncClear(card, &AccessCnt); - do{ - Sleep(1); - }while(!StopFlag); - - AI_EventCallBack(card, 0, DBEvent, (U32)NULL); - AI_EventCallBack(card, 0, AIEnd, (U32)NULL); - if(!AutoResetBuf) - AI_ContBufferReset(card); - Release_Card(card); - - printf("press any key to exit...\n"); - getch(); - return 0; -} diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9222/C9222_AI_DMA_DBFEvent/ai.dsp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9222/C9222_AI_DMA_DBFEvent/ai.dsp deleted file mode 100644 index c26103a..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9222/C9222_AI_DMA_DBFEvent/ai.dsp +++ /dev/null @@ -1,102 +0,0 @@ -# Microsoft Developer Studio Project File - Name="ai" - Package Owner=<4> -# Microsoft Developer Studio Generated Build File, Format Version 6.00 -# ** DO NOT EDIT ** - -# TARGTYPE "Win32 (x86) Console Application" 0x0103 - -CFG=ai - Win32 Debug -!MESSAGE This is not a valid makefile. To build this project using NMAKE, -!MESSAGE use the Export Makefile command and run -!MESSAGE -!MESSAGE NMAKE /f "ai.mak". -!MESSAGE -!MESSAGE You can specify a configuration when running NMAKE -!MESSAGE by defining the macro CFG on the command line. For example: -!MESSAGE -!MESSAGE NMAKE /f "ai.mak" CFG="ai - Win32 Debug" -!MESSAGE -!MESSAGE Possible choices for configuration are: -!MESSAGE -!MESSAGE "ai - Win32 Release" (based on "Win32 (x86) Console Application") -!MESSAGE "ai - Win32 Debug" (based on "Win32 (x86) Console Application") -!MESSAGE - -# Begin Project -# PROP AllowPerConfigDependencies 0 -# PROP Scc_ProjName "" -# PROP Scc_LocalPath "" -CPP=cl.exe -RSC=rc.exe - -!IF "$(CFG)" == "ai - Win32 Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "Release" -# PROP BASE Intermediate_Dir "Release" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "" -# PROP Intermediate_Dir "Release" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c -# ADD CPP /nologo /W3 /GX /O2 /I "../../../include" /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c -# ADD BASE RSC /l 0x404 /d "NDEBUG" -# ADD RSC /l 0x404 /d "NDEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ../../../lib/pci-dask.lib /nologo /subsystem:console /machine:I386 - -!ELSEIF "$(CFG)" == "ai - Win32 Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "Debug" -# PROP BASE Intermediate_Dir "Debug" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "Debug" -# PROP Intermediate_Dir "Debug" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /GZ /c -# ADD CPP /nologo /W3 /Gm /GX /ZI /Od /I "../../../include" /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /GZ /c -# ADD BASE RSC /l 0x404 /d "_DEBUG" -# ADD RSC /l 0x404 /d "_DEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ../../../lib/pci-dask.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept - -!ENDIF - -# Begin Target - -# Name "ai - Win32 Release" -# Name "ai - Win32 Debug" -# Begin Group "Source Files" - -# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;idl;hpj;bat" -# Begin Source File - -SOURCE=.\ai.c -# End Source File -# End Group -# Begin Group "Header Files" - -# PROP Default_Filter "h;hpp;hxx;hm;inl" -# End Group -# Begin Group "Resource Files" - -# PROP Default_Filter "ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe" -# End Group -# End Target -# End Project diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9222/C9222_AI_DMA_DBFEvent/ai.dsw b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9222/C9222_AI_DMA_DBFEvent/ai.dsw deleted file mode 100644 index 2e548b2..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9222/C9222_AI_DMA_DBFEvent/ai.dsw +++ /dev/null @@ -1,29 +0,0 @@ -Microsoft Developer Studio Workspace File, Format Version 6.00 -# WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE! - -############################################################################### - -Project: "ai"=.\ai.dsp - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ -}}} - -############################################################################### - -Global: - -Package=<5> -{{{ -}}} - -Package=<3> -{{{ -}}} - -############################################################################### - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9222/C9222_AI_DMA_DBFEvent/ai.exe b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9222/C9222_AI_DMA_DBFEvent/ai.exe deleted file mode 100644 index 7147ed1..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9222/C9222_AI_DMA_DBFEvent/ai.exe and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9222/C9222_AI_DMA_DBFOverrun/ai.c b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9222/C9222_AI_DMA_DBFOverrun/ai.c deleted file mode 100644 index 0554277..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9222/C9222_AI_DMA_DBFOverrun/ai.c +++ /dev/null @@ -1,158 +0,0 @@ -/*----------------------------------------------------------------------------*/ -/* Company : ADLINK */ -/* Date : 2008/07/30 */ -/* */ -/* This sample performs infinite AI acquisition by double buffer mode. */ -/* There are 16(Single Ended Mode)/8(Differetial Mode) AI channels in */ -/* PCI-9222. You can use polling mode or DMA to acquired data from specified */ -/* channels. */ -/*----------------------------------------------------------------------------*/ -#include -#include -#include -#include -#include -#include "dask.h" - -#define AI_COUNT 4000 -#define P922X_TIMEBASE 80000000.0 - -int main(int argc, char **argv) -{ - I16 card, err; - U16 card_num; - U16 ConfigCtrl = P922x_AI_SingEnded|P922x_AI_CONVSRC_INT; - U16 TrigCtrl = P922x_AI_TRGMOD_POST|P922x_AI_TRGSRC_SOFT; - U32 ReTriggerCount = 0; /*Ignore in Double Buffer Mode*/ - BOOLEAN AutoResetBuf = 1; /*Auto Reset Buffer Descriptor in Driver*/ - U32 ScanIntrv = 320; /*Scan Rate: P922X_TIMEBASE/320 = 250K Hz*/ - U32 SampIntrv = 320; /*Sampling Rate: P922X_TIMEBASE/320 = 250K Hz*/ - U16 RDBuffer0[AI_COUNT]; - U16 RDBuffer1[AI_COUNT]; - U32 AI_ReadCount = AI_COUNT; - U16 BufferId0; - U16 BufferId1; - U16 Channel = 0; - U16 AdRange = AD_B_10_V; - BOOLEAN Stopped = FALSE; - BOOLEAN HalfReady = FALSE; - U32 AccessCnt = 0; - U32 BufRdyCnt = 0; - U32 OverrunCnt = 0; - U16 BufIdx = 0; - U16 OverrunFlag; - /*--------------------------------*/ - - memset(RDBuffer0, '\0', AI_COUNT*sizeof(U16)); - memset(RDBuffer1, '\0', AI_COUNT*sizeof(U16)); - - printf("This sample performs infinite AI acquisition from AI Channel %d\n", Channel); - printf("at %6.3lf Hz sampling rate by Double buffer mode.\n\n", P922X_TIMEBASE/SampIntrv); - - /*Open and Initialize Device*/ - printf("Card Number? "); - scanf(" %hd", &card_num); - card = Register_Card(PCI_9222, card_num); - if(card<0){ - printf("Register_Card Error: %d\n", card); - exit(1); - } - - /*Configure AI*/ - err = AI_9222_Config(card, ConfigCtrl, TrigCtrl, ReTriggerCount, AutoResetBuf); - if(err<0){ - printf("AI_9222_Config Error: %d\n", err); - Release_Card(card); - exit(1); - } - - /*Set Scan and Sampling Rate*/ - err = AI_9222_CounterInterval(card, ScanIntrv, SampIntrv); - if(err<0){ - printf("AI_9222_CounterInterval Error: %d\n", err); - Release_Card(card); - exit(1); - } - - /*Enable Double Buffer Mode*/ - err = AI_AsyncDblBufferMode(card, 1); - if(err<0){ - printf("AI_AsyncDblBufferMode Error: %d\n", err); - Release_Card(card); - exit(1); - } - - /*Setup Buffer for AI DMA Transfer*/ - err = AI_ContBufferSetup(card, RDBuffer0, AI_ReadCount, &BufferId0); - if(err<0){ - printf("AI_ContBufferSetup0 Error: %d\n", err); - Release_Card(card); - exit(1); - } - err = AI_ContBufferSetup(card, RDBuffer1, AI_ReadCount, &BufferId1); - if(err<0){ - printf("AI_ContBufferSetup1 Error: %d\n", err); - Release_Card(card); - exit(1); - } - - /*AI Acquisition Start*/ - err = AI_ContReadChannel(card, Channel, AdRange, &BufferId0, AI_ReadCount, 0/*Ignore*/, ASYNCH_OP); - if(err<0){ - printf("AI_ContReadChannel Error: %d\n", err); - AI_ContBufferReset(card); - Release_Card(card); - exit(1); - } - printf("\n\nAI Infinite Acquisition is started...\n"); - printf("Press any key to stop...\n\n\n\n"); - do{ - /*Check Buffer Ready*/ - err = AI_AsyncDblBufferHalfReady(card, &HalfReady, &Stopped); - if(err<0){ - printf("AI_AsyncDblBufferHalfReady Error: %d\n", err); - AI_AsyncClear(card, &AccessCnt); - AI_ContBufferReset(card); - Release_Card(card); - exit(1); - } - if(HalfReady){ - BufRdyCnt++; - if(BufIdx==0){ - //Buffer 0 Half Ready - //You can do something for Ready Buffer - BufIdx = 1; - } - else{ - //Buffer 1 Half Ready - //You can do something for Ready Buffer - BufIdx = 0; - } - //Let driver know that ready buffer is handled - AI_AsyncDblBufferHandled(card); - //Check if buffer overrun - AI_AsyncDblBufferOverrun(card, 0, &OverrunFlag); - if(OverrunFlag){ - OverrunCnt++; - AI_AsyncDblBufferOverrun(card, 1, NULL); - } - printf("Buffer Ready Count: %d, Overrun: %d\r", BufRdyCnt, OverrunCnt); - } - }while(!kbhit());getch(); - - /*Clear AI Setting and Get Remaining data*/ - err = AI_AsyncClear(card, &AccessCnt); - if(err<0){ - printf("AI_AsyncClear Error: %d\n", err); - AI_AsyncClear(card, &AccessCnt); - AI_ContBufferReset(card); - Release_Card(card); - exit(1); - } - - if(!AutoResetBuf) - AI_ContBufferReset(card); - Release_Card(card); - - return 0; -} diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9222/C9222_AI_DMA_DBFOverrun/ai.dsp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9222/C9222_AI_DMA_DBFOverrun/ai.dsp deleted file mode 100644 index c26103a..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9222/C9222_AI_DMA_DBFOverrun/ai.dsp +++ /dev/null @@ -1,102 +0,0 @@ -# Microsoft Developer Studio Project File - Name="ai" - Package Owner=<4> -# Microsoft Developer Studio Generated Build File, Format Version 6.00 -# ** DO NOT EDIT ** - -# TARGTYPE "Win32 (x86) Console Application" 0x0103 - -CFG=ai - Win32 Debug -!MESSAGE This is not a valid makefile. To build this project using NMAKE, -!MESSAGE use the Export Makefile command and run -!MESSAGE -!MESSAGE NMAKE /f "ai.mak". -!MESSAGE -!MESSAGE You can specify a configuration when running NMAKE -!MESSAGE by defining the macro CFG on the command line. For example: -!MESSAGE -!MESSAGE NMAKE /f "ai.mak" CFG="ai - Win32 Debug" -!MESSAGE -!MESSAGE Possible choices for configuration are: -!MESSAGE -!MESSAGE "ai - Win32 Release" (based on "Win32 (x86) Console Application") -!MESSAGE "ai - Win32 Debug" (based on "Win32 (x86) Console Application") -!MESSAGE - -# Begin Project -# PROP AllowPerConfigDependencies 0 -# PROP Scc_ProjName "" -# PROP Scc_LocalPath "" -CPP=cl.exe -RSC=rc.exe - -!IF "$(CFG)" == "ai - Win32 Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "Release" -# PROP BASE Intermediate_Dir "Release" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "" -# PROP Intermediate_Dir "Release" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c -# ADD CPP /nologo /W3 /GX /O2 /I "../../../include" /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c -# ADD BASE RSC /l 0x404 /d "NDEBUG" -# ADD RSC /l 0x404 /d "NDEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ../../../lib/pci-dask.lib /nologo /subsystem:console /machine:I386 - -!ELSEIF "$(CFG)" == "ai - Win32 Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "Debug" -# PROP BASE Intermediate_Dir "Debug" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "Debug" -# PROP Intermediate_Dir "Debug" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /GZ /c -# ADD CPP /nologo /W3 /Gm /GX /ZI /Od /I "../../../include" /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /GZ /c -# ADD BASE RSC /l 0x404 /d "_DEBUG" -# ADD RSC /l 0x404 /d "_DEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ../../../lib/pci-dask.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept - -!ENDIF - -# Begin Target - -# Name "ai - Win32 Release" -# Name "ai - Win32 Debug" -# Begin Group "Source Files" - -# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;idl;hpj;bat" -# Begin Source File - -SOURCE=.\ai.c -# End Source File -# End Group -# Begin Group "Header Files" - -# PROP Default_Filter "h;hpp;hxx;hm;inl" -# End Group -# Begin Group "Resource Files" - -# PROP Default_Filter "ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe" -# End Group -# End Target -# End Project diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9222/C9222_AI_DMA_DBFOverrun/ai.dsw b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9222/C9222_AI_DMA_DBFOverrun/ai.dsw deleted file mode 100644 index 2e548b2..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9222/C9222_AI_DMA_DBFOverrun/ai.dsw +++ /dev/null @@ -1,29 +0,0 @@ -Microsoft Developer Studio Workspace File, Format Version 6.00 -# WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE! - -############################################################################### - -Project: "ai"=.\ai.dsp - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ -}}} - -############################################################################### - -Global: - -Package=<5> -{{{ -}}} - -Package=<3> -{{{ -}}} - -############################################################################### - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9222/C9222_AI_DMA_DBFOverrun/ai.exe b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9222/C9222_AI_DMA_DBFOverrun/ai.exe deleted file mode 100644 index fc0914b..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9222/C9222_AI_DMA_DBFOverrun/ai.exe and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9222/C9222_AI_DMA_DBFtoFile/ai.c b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9222/C9222_AI_DMA_DBFtoFile/ai.c deleted file mode 100644 index c1195cf..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9222/C9222_AI_DMA_DBFtoFile/ai.c +++ /dev/null @@ -1,176 +0,0 @@ -/*----------------------------------------------------------------------------*/ -/* Company : ADLINK */ -/* Date : 2008/07/30 */ -/* */ -/* This sample performs infinite AI acquisition by double buffer mode. */ -/* There are 16(Single Ended Mode)/8(Differetial Mode) AI channels in */ -/* PCI-9222. You can use polling mode or DMA to acquired data from specified */ -/* channels. */ -/*----------------------------------------------------------------------------*/ -#include -#include -#include -#include -#include -#include "dask.h" - -#define AI_COUNT 4000 -#define CHANNELCOUNT 4 -#define P922X_TIMEBASE 80000000.0 - -int main(int argc, char **argv) -{ - I16 card, err; - U16 card_num; - U16 ConfigCtrl = P922x_AI_SingEnded|P922x_AI_CONVSRC_INT; - U16 TrigCtrl = P922x_AI_TRGMOD_POST|P922x_AI_TRGSRC_SOFT; - U32 ReTriggerCount = 0; /*Ignore in Double Buffer Mode*/ - BOOLEAN AutoResetBuf = 1; /*Auto Reset Buffer Descriptor in Driver*/ - U32 ScanIntrv = 20000*CHANNELCOUNT; /*Scan Rate: P922X_TIMEBASE/20000/4 = 1K Hz*/ - U32 SampIntrv = 20000; /*Sampling Rate: P922X_TIMEBASE/20000 = 4K Hz*/ - U16 RDBuffer0[AI_COUNT]; /*Buffer to be setup*/ - U16 RDBuffer1[AI_COUNT]; /*Buffer to be setup*/ - U32 AI_ReadCount = AI_COUNT; /*AI read count per one buffer*/ - U16 BufferId0; - U16 BufferId1; - U16 NumChans = CHANNELCOUNT; /*AI Channel Counts to be read*/ - U16 Chans[CHANNELCOUNT]; /*AI Channels array*/ - U16 AdRanges[CHANNELCOUNT]; /*AI Ranges array*/ - BOOLEAN Stopped; - BOOLEAN HalfReady; - U32 AccessCnt = 0; - U16 BufIdx = 0; - U8 FileName[] = "ai_data"; - U32 i, j; - /*--------------------------------*/ - - memset(RDBuffer0, '\0', AI_COUNT*sizeof(U16)); - memset(RDBuffer1, '\0', AI_COUNT*sizeof(U16)); - /*randon 4 channels*/ - srand(time(NULL)); - i = 0; - do{ - Chans[i] = rand()%16; - for(j=0; j -# Microsoft Developer Studio Generated Build File, Format Version 6.00 -# ** DO NOT EDIT ** - -# TARGTYPE "Win32 (x86) Console Application" 0x0103 - -CFG=ai - Win32 Debug -!MESSAGE This is not a valid makefile. To build this project using NMAKE, -!MESSAGE use the Export Makefile command and run -!MESSAGE -!MESSAGE NMAKE /f "ai.mak". -!MESSAGE -!MESSAGE You can specify a configuration when running NMAKE -!MESSAGE by defining the macro CFG on the command line. For example: -!MESSAGE -!MESSAGE NMAKE /f "ai.mak" CFG="ai - Win32 Debug" -!MESSAGE -!MESSAGE Possible choices for configuration are: -!MESSAGE -!MESSAGE "ai - Win32 Release" (based on "Win32 (x86) Console Application") -!MESSAGE "ai - Win32 Debug" (based on "Win32 (x86) Console Application") -!MESSAGE - -# Begin Project -# PROP AllowPerConfigDependencies 0 -# PROP Scc_ProjName "" -# PROP Scc_LocalPath "" -CPP=cl.exe -RSC=rc.exe - -!IF "$(CFG)" == "ai - Win32 Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "Release" -# PROP BASE Intermediate_Dir "Release" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "" -# PROP Intermediate_Dir "Release" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c -# ADD CPP /nologo /W3 /GX /O2 /I "../../../include" /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c -# ADD BASE RSC /l 0x404 /d "NDEBUG" -# ADD RSC /l 0x404 /d "NDEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ../../../lib/pci-dask.lib /nologo /subsystem:console /machine:I386 - -!ELSEIF "$(CFG)" == "ai - Win32 Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "Debug" -# PROP BASE Intermediate_Dir "Debug" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "Debug" -# PROP Intermediate_Dir "Debug" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /GZ /c -# ADD CPP /nologo /W3 /Gm /GX /ZI /Od /I "../../../include" /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /GZ /c -# ADD BASE RSC /l 0x404 /d "_DEBUG" -# ADD RSC /l 0x404 /d "_DEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ../../../lib/pci-dask.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept - -!ENDIF - -# Begin Target - -# Name "ai - Win32 Release" -# Name "ai - Win32 Debug" -# Begin Group "Source Files" - -# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;idl;hpj;bat" -# Begin Source File - -SOURCE=.\ai.c -# End Source File -# End Group -# Begin Group "Header Files" - -# PROP Default_Filter "h;hpp;hxx;hm;inl" -# End Group -# Begin Group "Resource Files" - -# PROP Default_Filter "ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe" -# End Group -# End Target -# End Project diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9222/C9222_AI_DMA_DBFtoFile/ai.dsw b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9222/C9222_AI_DMA_DBFtoFile/ai.dsw deleted file mode 100644 index 2e548b2..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9222/C9222_AI_DMA_DBFtoFile/ai.dsw +++ /dev/null @@ -1,29 +0,0 @@ -Microsoft Developer Studio Workspace File, Format Version 6.00 -# WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE! - -############################################################################### - -Project: "ai"=.\ai.dsp - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ -}}} - -############################################################################### - -Global: - -Package=<5> -{{{ -}}} - -Package=<3> -{{{ -}}} - -############################################################################### - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9222/C9222_AI_DMA_DBFtoFile/ai.exe b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9222/C9222_AI_DMA_DBFtoFile/ai.exe deleted file mode 100644 index 8284b38..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9222/C9222_AI_DMA_DBFtoFile/ai.exe and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9222/C9222_AI_DMA_Event/ai.c b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9222/C9222_AI_DMA_Event/ai.c deleted file mode 100644 index c398665..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9222/C9222_AI_DMA_Event/ai.c +++ /dev/null @@ -1,153 +0,0 @@ -/*----------------------------------------------------------------------------*/ -/* Company : ADLINK */ -/* Date : 2008/07/30 */ -/* */ -/* This sample performs Continuous AI Channel Scan with Call Back Function. */ -/* There are 16(Single Ended Mode)/8(Differetial Mode) AI channels in */ -/* PCI-9222. You can use polling mode or DMA to acquired data from specified */ -/* channels. */ -/*----------------------------------------------------------------------------*/ -#include -#include -#include -#include -#include "dask.h" - -#define READCOUNT 4000 -#define SCANCHNCNT 4 -#define P922X_TIMEBASE 80000000.0 - -I16 card; -U16 card_num; -U16 ConfigCtrl = P922x_AI_SingEnded|P922x_AI_CONVSRC_INT; -U16 TrigCtrl = P922x_AI_TRGMOD_POST|P922x_AI_TRGSRC_SOFT; -U32 RetriggerCount = 0; /*Ignore if ReTrigger mode is not enabled*/ -BOOLEAN AutoResetBuf = 0; -U32 ScanIntrv = 320*SCANCHNCNT; /*Scan Rate: P922X_TIMEBASE/320/4=67.5K Hz*/ -U32 SampIntrv = 320; /*Scan Rate: P922X_TIMEBASE/320=250K Hz*/ -U16 RDBuffer[READCOUNT]; /*Data Buffer to be setup*/ -U16 BufferId; -F64 VBuffer[READCOUNT]; -U32 AI_ReadCount = READCOUNT; /*AI Read Count*/ -U16 Channel = SCANCHNCNT-1; /*Max Scan Channel Number*/ -U16 AdRange = AD_B_10_V; /*AI Ranges*/ -BOOLEAN fStop = FALSE; -U32 AccessCnt; -FILE *in_file; -U8 FileName[] = "ai_data.txt"; -U32 i, j; - -void AI_END_CALLBACK() -{ - printf("\n\n\nAcquisition Done...\n"); - AI_AsyncClear(card, &AccessCnt); - printf("Acquire %d data and write them to %s...\n", AccessCnt, FileName); - AI_ContVScale(card, AdRange, RDBuffer, VBuffer, AccessCnt); - for(i=0; i -# Microsoft Developer Studio Generated Build File, Format Version 6.00 -# ** DO NOT EDIT ** - -# TARGTYPE "Win32 (x86) Console Application" 0x0103 - -CFG=ai - Win32 Debug -!MESSAGE This is not a valid makefile. To build this project using NMAKE, -!MESSAGE use the Export Makefile command and run -!MESSAGE -!MESSAGE NMAKE /f "ai.mak". -!MESSAGE -!MESSAGE You can specify a configuration when running NMAKE -!MESSAGE by defining the macro CFG on the command line. For example: -!MESSAGE -!MESSAGE NMAKE /f "ai.mak" CFG="ai - Win32 Debug" -!MESSAGE -!MESSAGE Possible choices for configuration are: -!MESSAGE -!MESSAGE "ai - Win32 Release" (based on "Win32 (x86) Console Application") -!MESSAGE "ai - Win32 Debug" (based on "Win32 (x86) Console Application") -!MESSAGE - -# Begin Project -# PROP AllowPerConfigDependencies 0 -# PROP Scc_ProjName "" -# PROP Scc_LocalPath "" -CPP=cl.exe -RSC=rc.exe - -!IF "$(CFG)" == "ai - Win32 Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "Release" -# PROP BASE Intermediate_Dir "Release" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "" -# PROP Intermediate_Dir "Release" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c -# ADD CPP /nologo /W3 /GX /O2 /I "../../../include" /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c -# ADD BASE RSC /l 0x404 /d "NDEBUG" -# ADD RSC /l 0x404 /d "NDEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ../../../lib/pci-dask.lib /nologo /subsystem:console /machine:I386 - -!ELSEIF "$(CFG)" == "ai - Win32 Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "Debug" -# PROP BASE Intermediate_Dir "Debug" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "Debug" -# PROP Intermediate_Dir "Debug" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /GZ /c -# ADD CPP /nologo /W3 /Gm /GX /ZI /Od /I "../../../include" /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /GZ /c -# ADD BASE RSC /l 0x404 /d "_DEBUG" -# ADD RSC /l 0x404 /d "_DEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ../../../lib/pci-dask.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept - -!ENDIF - -# Begin Target - -# Name "ai - Win32 Release" -# Name "ai - Win32 Debug" -# Begin Group "Source Files" - -# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;idl;hpj;bat" -# Begin Source File - -SOURCE=.\ai.c -# End Source File -# End Group -# Begin Group "Header Files" - -# PROP Default_Filter "h;hpp;hxx;hm;inl" -# End Group -# Begin Group "Resource Files" - -# PROP Default_Filter "ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe" -# End Group -# End Target -# End Project diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9222/C9222_AI_DMA_Event/ai.dsw b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9222/C9222_AI_DMA_Event/ai.dsw deleted file mode 100644 index 2e548b2..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9222/C9222_AI_DMA_Event/ai.dsw +++ /dev/null @@ -1,29 +0,0 @@ -Microsoft Developer Studio Workspace File, Format Version 6.00 -# WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE! - -############################################################################### - -Project: "ai"=.\ai.dsp - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ -}}} - -############################################################################### - -Global: - -Package=<5> -{{{ -}}} - -Package=<3> -{{{ -}}} - -############################################################################### - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9222/C9222_AI_DMA_Event/ai.exe b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9222/C9222_AI_DMA_Event/ai.exe deleted file mode 100644 index 6686a5a..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9222/C9222_AI_DMA_Event/ai.exe and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9222/C9222_AI_DMA_ExtDtoFile/ai.c b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9222/C9222_AI_DMA_ExtDtoFile/ai.c deleted file mode 100644 index f903368..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9222/C9222_AI_DMA_ExtDtoFile/ai.c +++ /dev/null @@ -1,131 +0,0 @@ -/*----------------------------------------------------------------------------*/ -/* Company : ADLINK */ -/* Date : 2008/07/30 */ -/* */ -/* This sample performs continuous AI acquisition with external */ -/* digital Trigger. */ -/* There are 16(Single Ended Mode)/8(Differetial Mode) AI channels in */ -/* PCI-9222. You can use polling mode or DMA to acquired data from specified */ -/* channels. */ -/*----------------------------------------------------------------------------*/ -#include -#include -#include -#include -#include "dask.h" - -#define AI_COUNT 4000 -#define P922X_TIMEBASE 80000000.0 - -int main(int argc, char **argv) -{ - I16 card, err; - U16 card_num; - U16 ConfigCtrl = P922x_AI_SingEnded|P922x_AI_CONVSRC_INT; - U16 TrigCtrl = P922x_AI_TRGMOD_POST|P922x_AI_TRGSRC_GPI0; /*Trigger Source: GPI0*/ - U32 ReTriggerCount = 0; /*Ignore if Retrigger is not enabled*/ - BOOLEAN AutoResetBuf = 1; - U32 ScanIntrv = 320; /*Scan Rate: P922X_TIMEBASE/320=250K Hz*/ - U32 SampIntrv = 320; /*Sampling Rate: P922X_TIMEBASE/320=250K Hz*/ - U16 RDBuffer[AI_COUNT]; /*Buffer to be setup*/ - U16 BufferId; - U32 AI_ReadCount = AI_COUNT; /*AI read count*/ - U16 Channel = 0; /*AI Channel Number to be read*/ - U16 AdRange = AD_B_10_V; /*AI Range*/ - BOOLEAN Stopped; - U32 AccessCnt; - U8 FileName[] = "ai_data"; - /*--------------------------------*/ - - memset(RDBuffer, '\0', AI_COUNT*sizeof(U16)); - printf("This sample performs continuous AI acquisition from AI Channel %d\n", Channel); - printf("at %6.3lf Hz sampling rate with external digital trigger.\n\n", P922X_TIMEBASE/SampIntrv); - - /*Open and Initialize Device*/ - printf("Card Number? "); - scanf(" %hd", &card_num); - card = Register_Card(PCI_9222, card_num); - if(card<0){ - printf("Register_Card Error: %d\n", card); - exit(1); - } - - /*Configure AI*/ - err = AI_9222_Config(card, ConfigCtrl, TrigCtrl, ReTriggerCount, AutoResetBuf); - if(err<0){ - printf("AI_9222_Config Error: %d\n", err); - Release_Card(card); - exit(1); - } - - /*Set Scan and Sampling Rate*/ - err = AI_9222_CounterInterval(card, ScanIntrv, SampIntrv); - if(err<0){ - printf("AI_9222_CounterInterval Error: %d\n", err); - Release_Card(card); - exit(1); - } - - /*Disable Double Buffer Mode*/ - err = AI_AsyncDblBufferMode(card, 0); - if(err<0){ - printf("AI_AsyncDblBufferMode Error: %d\n", err); - Release_Card(card); - exit(1); - } - - /*Setup Buffer for AI DMA Transfer*/ - err = AI_ContBufferSetup(card, RDBuffer, AI_ReadCount, &BufferId); - if(err<0){ - printf("AI_ContBufferSetup Error: %d\n", err); - Release_Card(card); - exit(1); - } - - /*AI Acquisition Start*/ - printf("\nWait External Digital Trigger from GPI0..."); - err = AI_ContReadChannelToFile(card, Channel, AdRange, FileName, AI_ReadCount, 0/*Ignore*/, ASYNCH_OP); - if(err<0){ - printf("AI_ContReadChannel Error: %d\n", err); - AI_ContBufferReset(card); - Release_Card(card); - exit(1); - } - do{ - /*Check Buffer Ready*/ - err = AI_AsyncCheck(card, &Stopped, &AccessCnt); - if(err<0){ - printf("AI_AsyncCheck Error: %d\n", err); - AI_AsyncClear(card, &AccessCnt); - AI_ContBufferReset(card); - Release_Card(card); - exit(1); - } - }while((!kbhit())&&(!Stopped)); - - /*Clear AI Setting and Get Remaining data*/ - err = AI_AsyncClear(card, &AccessCnt); - if(err<0){ - printf("AI_AsyncClear Error: %d\n", err); - AI_AsyncClear(card, &AccessCnt); - AI_ContBufferReset(card); - Release_Card(card); - exit(1); - } - - if(Stopped){ - printf("\n\nAI Acquisition Done... Acquired %d samples...\n", AccessCnt); - } - else{ - printf("\n\nAI Acquisition has been stopped manually... Acquired %d samples...\n", AccessCnt); - } - printf("%d samples of Buffer0 had been written to %s.dat file...\n", AccessCnt, FileName); - - if(!AutoResetBuf) - AI_ContBufferReset(card); - Release_Card(card); - - printf("\nPress any key to exit...\n"); - getch(); - return 0; -} diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9222/C9222_AI_DMA_ExtDtoFile/ai.dsp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9222/C9222_AI_DMA_ExtDtoFile/ai.dsp deleted file mode 100644 index c26103a..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9222/C9222_AI_DMA_ExtDtoFile/ai.dsp +++ /dev/null @@ -1,102 +0,0 @@ -# Microsoft Developer Studio Project File - Name="ai" - Package Owner=<4> -# Microsoft Developer Studio Generated Build File, Format Version 6.00 -# ** DO NOT EDIT ** - -# TARGTYPE "Win32 (x86) Console Application" 0x0103 - -CFG=ai - Win32 Debug -!MESSAGE This is not a valid makefile. To build this project using NMAKE, -!MESSAGE use the Export Makefile command and run -!MESSAGE -!MESSAGE NMAKE /f "ai.mak". -!MESSAGE -!MESSAGE You can specify a configuration when running NMAKE -!MESSAGE by defining the macro CFG on the command line. For example: -!MESSAGE -!MESSAGE NMAKE /f "ai.mak" CFG="ai - Win32 Debug" -!MESSAGE -!MESSAGE Possible choices for configuration are: -!MESSAGE -!MESSAGE "ai - Win32 Release" (based on "Win32 (x86) Console Application") -!MESSAGE "ai - Win32 Debug" (based on "Win32 (x86) Console Application") -!MESSAGE - -# Begin Project -# PROP AllowPerConfigDependencies 0 -# PROP Scc_ProjName "" -# PROP Scc_LocalPath "" -CPP=cl.exe -RSC=rc.exe - -!IF "$(CFG)" == "ai - Win32 Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "Release" -# PROP BASE Intermediate_Dir "Release" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "" -# PROP Intermediate_Dir "Release" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c -# ADD CPP /nologo /W3 /GX /O2 /I "../../../include" /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c -# ADD BASE RSC /l 0x404 /d "NDEBUG" -# ADD RSC /l 0x404 /d "NDEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ../../../lib/pci-dask.lib /nologo /subsystem:console /machine:I386 - -!ELSEIF "$(CFG)" == "ai - Win32 Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "Debug" -# PROP BASE Intermediate_Dir "Debug" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "Debug" -# PROP Intermediate_Dir "Debug" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /GZ /c -# ADD CPP /nologo /W3 /Gm /GX /ZI /Od /I "../../../include" /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /GZ /c -# ADD BASE RSC /l 0x404 /d "_DEBUG" -# ADD RSC /l 0x404 /d "_DEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ../../../lib/pci-dask.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept - -!ENDIF - -# Begin Target - -# Name "ai - Win32 Release" -# Name "ai - Win32 Debug" -# Begin Group "Source Files" - -# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;idl;hpj;bat" -# Begin Source File - -SOURCE=.\ai.c -# End Source File -# End Group -# Begin Group "Header Files" - -# PROP Default_Filter "h;hpp;hxx;hm;inl" -# End Group -# Begin Group "Resource Files" - -# PROP Default_Filter "ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe" -# End Group -# End Target -# End Project diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9222/C9222_AI_DMA_ExtDtoFile/ai.dsw b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9222/C9222_AI_DMA_ExtDtoFile/ai.dsw deleted file mode 100644 index 2e548b2..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9222/C9222_AI_DMA_ExtDtoFile/ai.dsw +++ /dev/null @@ -1,29 +0,0 @@ -Microsoft Developer Studio Workspace File, Format Version 6.00 -# WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE! - -############################################################################### - -Project: "ai"=.\ai.dsp - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ -}}} - -############################################################################### - -Global: - -Package=<5> -{{{ -}}} - -Package=<3> -{{{ -}}} - -############################################################################### - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9222/C9222_AI_DMA_ExtDtoFile/ai.exe b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9222/C9222_AI_DMA_ExtDtoFile/ai.exe deleted file mode 100644 index f5ce750..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9222/C9222_AI_DMA_ExtDtoFile/ai.exe and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9222/C9222_AI_DMA_GatedTrigger/ai.c b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9222/C9222_AI_DMA_GatedTrigger/ai.c deleted file mode 100644 index e1537f0..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9222/C9222_AI_DMA_GatedTrigger/ai.c +++ /dev/null @@ -1,154 +0,0 @@ -/*----------------------------------------------------------------------------*/ -/* Company : ADLINK */ -/* Date : 2008/07/30 */ -/* */ -/* This sample performs AI acquisition with External Gated Trigger. */ -/* There are 16(Single Ended Mode)/8(Differetial Mode) AI channels in */ -/* PCI-9222. You can use polling mode or DMA to acquired data from specified */ -/* channels. */ -/* Gated Trigger - AI ADC will pause while the set external trigger is active */ -/* For example, if trigger source is set to GPI0 and trigger polarity is set */ -/* to Positive, then PCI-9222 pauses acquisition while GPI0 is 1. */ -/* Note that the data bytes is 4 if gated trigger is set. */ -/* Bit 0~15: Data, Bit 17: Separated bit. */ -/*----------------------------------------------------------------------------*/ -#include -#include -#include -#include -#include "dask.h" - -#define READCOUNT 25000 -#define P922X_TIMEBASE 80000000 - -int main(int argc, char **argv) -{ - I16 card, err; - U16 card_num; - U16 ConfigCtrl = P922x_AI_SingEnded|P922x_AI_CONVSRC_INT; - U16 TrigCtrl = P922x_AI_TRGMOD_GATED|P922x_AI_TRGSRC_GPI0|P922x_AI_TrgPositive; - U32 ReTriggerCount = 0; /*Ignore if trigger mode is gated trigger*/ - BOOLEAN AutoResetBuf = 1; /*Autoreset buffer descriptor build in driver*/ - U32 ScanIntrv = 320; /*Scan rate: P922X_TIMEBASE/320=250K*/ - U32 SampIntrv = 320; /*Sampling rate: P922X_TIMEBASE/320=250K*/ - U32 RDBuffer[READCOUNT]; /*4 Bytes per a sample if trigger mode is Gated Trigger*/ - U16 BufferId; - F64 VBuffer[READCOUNT]; - U32 AI_ReadCount = READCOUNT; /*AI read count*/ - U16 Channel = 0; /*AI channel to be read*/ - U16 AdRange = AD_B_10_V; /*AI range*/ - BOOLEAN Stopped = FALSE; - U32 AccessCnt = 0; - FILE *w_file; - U8 FileName[] = "ai_data.txt"; - U32 i; - - memset(RDBuffer, '\0', READCOUNT*sizeof(U32)); - memset(VBuffer, '\0', READCOUNT*sizeof(F64)); - if(!(w_file=fopen(FileName, "w"))){ - printf("file open error...\n"); - exit(1); - } - fprintf(w_file, "Channel %d,\n", Channel); - printf("This sample performs continuous AI acquisition with Gated trigger\n"); - printf("from AI Channel %d at %6.3lf Hz sampling rate.\n", Channel, 80000000.0/SampIntrv); - - /*Open and Initialize Devie*/ - printf("Card Number? "); - scanf(" %hd", &card_num); - card = Register_Card(PCI_9222, card_num); - if(card<0){ - printf("Register_Card Error: %d\n", card); - fclose(w_file); - exit(1); - } - - /*Configure AI configurations*/ - err = AI_9222_Config(card, ConfigCtrl, TrigCtrl, ReTriggerCount, AutoResetBuf); - if(err<0){ - printf("AI_9222_Config Error: %d\n", err); - Release_Card(card); - fclose(w_file); - exit(1); - } - - /*Set Counter Scan and Sample Interval*/ - err = AI_9222_CounterInterval(card, ScanIntrv, SampIntrv); - if(err<0){ - printf("AI_9222_CounterInterval Error: %d\n", err); - Release_Card(card); - fclose(w_file); - exit(1); - } - - /*Disable Double Buffer Mode*/ - err = AI_AsyncDblBufferMode(card, 0); - if(err<0){ - printf("AI_AsyncDblBufferMode Error: %d\n", err); - Release_Card(card); - fclose(w_file); - exit(1); - } - - /*Buffer Setup - Build Buffer Descriptor in Driver*/ - err = AI_ContBufferSetup(card, RDBuffer, AI_ReadCount, &BufferId); - if(err<0){ - printf("AI_ContBufferSetup Error: %d\n", err); - Release_Card(card); - fclose(w_file); - exit(1); - } - - /*Start AI Acquisition*/ - err = AI_ContReadChannel(card, Channel, AdRange, &BufferId, AI_ReadCount, 0/*Ignore*/, ASYNCH_OP); - if(err<0){ - printf("AI_ContReadChannel Error: %d\n", err); - AI_ContBufferReset(card); - Release_Card(card); - fclose(w_file); - exit(1); - } - printf("\nWait Gated Positive Trigger from GPI0..."); - do{ - err = AI_AsyncCheck(card, &Stopped, &AccessCnt); - if(err<0){ - printf("AI_AsyncCheck Error: %d\n", err); - AI_AsyncClear(card, &AccessCnt); - AI_ContBufferReset(card); - Release_Card(card); - fclose(w_file); - exit(1); - } - }while((!kbhit())&&(!Stopped)); - - err = AI_AsyncClear(card, &AccessCnt); - if(err<0){ - printf("AI_AsyncClear Error: %d\n", err); - AI_AsyncClear(card, &AccessCnt); - AI_ContBufferReset(card); - Release_Card(card); - fclose(w_file); - exit(1); - } - - if(Stopped) - printf("\n\nAI Acquisition done...\n"); - else - printf("\n\nAI Acquisition has been stopped manually...\n"); - - printf("Write %d samples of Buffer to %s file...\n\n", AccessCnt, FileName); - fprintf(w_file, "Raw Data, Scaled Voltage,\n"); - AI_ContVScale(card, AdRange, RDBuffer, VBuffer, AccessCnt); - for(i=0; i -# Microsoft Developer Studio Generated Build File, Format Version 6.00 -# ** DO NOT EDIT ** - -# TARGTYPE "Win32 (x86) Console Application" 0x0103 - -CFG=ai - Win32 Debug -!MESSAGE This is not a valid makefile. To build this project using NMAKE, -!MESSAGE use the Export Makefile command and run -!MESSAGE -!MESSAGE NMAKE /f "ai.mak". -!MESSAGE -!MESSAGE You can specify a configuration when running NMAKE -!MESSAGE by defining the macro CFG on the command line. For example: -!MESSAGE -!MESSAGE NMAKE /f "ai.mak" CFG="ai - Win32 Debug" -!MESSAGE -!MESSAGE Possible choices for configuration are: -!MESSAGE -!MESSAGE "ai - Win32 Release" (based on "Win32 (x86) Console Application") -!MESSAGE "ai - Win32 Debug" (based on "Win32 (x86) Console Application") -!MESSAGE - -# Begin Project -# PROP AllowPerConfigDependencies 0 -# PROP Scc_ProjName "" -# PROP Scc_LocalPath "" -CPP=cl.exe -RSC=rc.exe - -!IF "$(CFG)" == "ai - Win32 Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "Release" -# PROP BASE Intermediate_Dir "Release" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "" -# PROP Intermediate_Dir "Release" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c -# ADD CPP /nologo /W3 /GX /O2 /I "../../../include" /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c -# ADD BASE RSC /l 0x404 /d "NDEBUG" -# ADD RSC /l 0x404 /d "NDEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ../../../lib/pci-dask.lib /nologo /subsystem:console /machine:I386 - -!ELSEIF "$(CFG)" == "ai - Win32 Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "Debug" -# PROP BASE Intermediate_Dir "Debug" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "Debug" -# PROP Intermediate_Dir "Debug" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /GZ /c -# ADD CPP /nologo /W3 /Gm /GX /ZI /Od /I "../../../include" /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /GZ /c -# ADD BASE RSC /l 0x404 /d "_DEBUG" -# ADD RSC /l 0x404 /d "_DEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ../../../lib/pci-dask.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept - -!ENDIF - -# Begin Target - -# Name "ai - Win32 Release" -# Name "ai - Win32 Debug" -# Begin Group "Source Files" - -# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;idl;hpj;bat" -# Begin Source File - -SOURCE=.\ai.c -# End Source File -# End Group -# Begin Group "Header Files" - -# PROP Default_Filter "h;hpp;hxx;hm;inl" -# End Group -# Begin Group "Resource Files" - -# PROP Default_Filter "ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe" -# End Group -# End Target -# End Project diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9222/C9222_AI_DMA_GatedTrigger/ai.dsw b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9222/C9222_AI_DMA_GatedTrigger/ai.dsw deleted file mode 100644 index 2e548b2..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9222/C9222_AI_DMA_GatedTrigger/ai.dsw +++ /dev/null @@ -1,29 +0,0 @@ -Microsoft Developer Studio Workspace File, Format Version 6.00 -# WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE! - -############################################################################### - -Project: "ai"=.\ai.dsp - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ -}}} - -############################################################################### - -Global: - -Package=<5> -{{{ -}}} - -Package=<3> -{{{ -}}} - -############################################################################### - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9222/C9222_AI_DMA_GatedTrigger/ai.exe b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9222/C9222_AI_DMA_GatedTrigger/ai.exe deleted file mode 100644 index 05a0d53..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9222/C9222_AI_DMA_GatedTrigger/ai.exe and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9222/C9222_AI_DMA_InfiniteReTrigger/ai.c b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9222/C9222_AI_DMA_InfiniteReTrigger/ai.c deleted file mode 100644 index 32b1d98..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9222/C9222_AI_DMA_InfiniteReTrigger/ai.c +++ /dev/null @@ -1,171 +0,0 @@ -/*----------------------------------------------------------------------------*/ -/* Company : ADLINK */ -/* Date : 2008/07/30 */ -/* */ -/* This sample performs continuous AI acquisition with Infinite Re-Trigger. */ -/* There are 16(Single Ended Mode)/8(Differetial Mode) AI channels in */ -/* PCI-9222. You can use polling mode or DMA to acquired data from specified */ -/* channels. */ -/* With infinite retrigger mode, there are two buffer should be setup for */ -/* infinite acquisition. */ -/*----------------------------------------------------------------------------*/ -#include -#include -#include -#include -#include -#include "dask.h" - -#define AI_ACQCNT 4000 -#define AI_BUFCNT AI_ACQCNT -#define CHANNELCOUNT 4 -#define P922X_TIMEBASE 80000000.0 - -int main(int argc, char **argv) -{ - I16 card, err; - U16 card_num; - U16 ConfigCtrl = P922x_AI_SingEnded|P922x_AI_CONVSRC_INT; - U16 TrigCtrl = P922x_AI_TRGMOD_POST|P922x_AI_TRGSRC_GPI0|P922x_AI_EnReTigger; - U32 ReTriggerCount = 0; /*0: Infinite Trigger if retrigger is enabled*/ - BOOLEAN AutoResetBuf = 1; - U32 ScanIntrv = 20000*CHANNELCOUNT; /*Scan Rate: P922X_TIMEBASE/20000/4=1K*/ - U32 SampIntrv = 20000; /*Sampling Rate: P922X_TIMEBASE/20000=4K*/ - U16 RDBuffer0[AI_BUFCNT]; /*data Buffer to be setup*/ - U16 RDBuffer1[AI_BUFCNT]; /*data Buffer to be setup*/ - U16 BufferId0; - U16 BufferId1; - U32 AI_ReadCount = AI_ACQCNT; - U16 NumChans = CHANNELCOUNT; /*AI Channel Number*/ - U16 Chans[CHANNELCOUNT]; /*Array of AI Channels to be read*/ - U16 AdRanges[CHANNELCOUNT]; /*Array of AI Ranges*/ - BOOLEAN Ready; - BOOLEAN StopFlag; - U16 RdyTrigCnt; - U32 AccessCnt; - U8 FileName[] = "ai_data"; - U32 UserTrigCount = 0; - U32 i, j; - /*--------------------------------*/ - - memset(RDBuffer0, '\0', AI_BUFCNT*sizeof(U16)); - memset(RDBuffer1, '\0', AI_BUFCNT*sizeof(U16)); - srand(time(NULL)); - i = 0; - do{ - Chans[i] = rand()%16; - for(j=0; j -# Microsoft Developer Studio Generated Build File, Format Version 6.00 -# ** DO NOT EDIT ** - -# TARGTYPE "Win32 (x86) Console Application" 0x0103 - -CFG=ai - Win32 Debug -!MESSAGE This is not a valid makefile. To build this project using NMAKE, -!MESSAGE use the Export Makefile command and run -!MESSAGE -!MESSAGE NMAKE /f "ai.mak". -!MESSAGE -!MESSAGE You can specify a configuration when running NMAKE -!MESSAGE by defining the macro CFG on the command line. For example: -!MESSAGE -!MESSAGE NMAKE /f "ai.mak" CFG="ai - Win32 Debug" -!MESSAGE -!MESSAGE Possible choices for configuration are: -!MESSAGE -!MESSAGE "ai - Win32 Release" (based on "Win32 (x86) Console Application") -!MESSAGE "ai - Win32 Debug" (based on "Win32 (x86) Console Application") -!MESSAGE - -# Begin Project -# PROP AllowPerConfigDependencies 0 -# PROP Scc_ProjName "" -# PROP Scc_LocalPath "" -CPP=cl.exe -RSC=rc.exe - -!IF "$(CFG)" == "ai - Win32 Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "Release" -# PROP BASE Intermediate_Dir "Release" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "" -# PROP Intermediate_Dir "Release" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c -# ADD CPP /nologo /W3 /GX /O2 /I "../../../include" /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c -# ADD BASE RSC /l 0x404 /d "NDEBUG" -# ADD RSC /l 0x404 /d "NDEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ../../../lib/pci-dask.lib /nologo /subsystem:console /machine:I386 - -!ELSEIF "$(CFG)" == "ai - Win32 Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "Debug" -# PROP BASE Intermediate_Dir "Debug" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "Debug" -# PROP Intermediate_Dir "Debug" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /GZ /c -# ADD CPP /nologo /W3 /Gm /GX /ZI /Od /I "../../../include" /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /GZ /c -# ADD BASE RSC /l 0x404 /d "_DEBUG" -# ADD RSC /l 0x404 /d "_DEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ../../../lib/pci-dask.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept - -!ENDIF - -# Begin Target - -# Name "ai - Win32 Release" -# Name "ai - Win32 Debug" -# Begin Group "Source Files" - -# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;idl;hpj;bat" -# Begin Source File - -SOURCE=.\ai.c -# End Source File -# End Group -# Begin Group "Header Files" - -# PROP Default_Filter "h;hpp;hxx;hm;inl" -# End Group -# Begin Group "Resource Files" - -# PROP Default_Filter "ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe" -# End Group -# End Target -# End Project diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9222/C9222_AI_DMA_InfiniteReTrigger/ai.dsw b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9222/C9222_AI_DMA_InfiniteReTrigger/ai.dsw deleted file mode 100644 index 2e548b2..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9222/C9222_AI_DMA_InfiniteReTrigger/ai.dsw +++ /dev/null @@ -1,29 +0,0 @@ -Microsoft Developer Studio Workspace File, Format Version 6.00 -# WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE! - -############################################################################### - -Project: "ai"=.\ai.dsp - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ -}}} - -############################################################################### - -Global: - -Package=<5> -{{{ -}}} - -Package=<3> -{{{ -}}} - -############################################################################### - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9222/C9222_AI_DMA_InfiniteReTrigger/ai.exe b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9222/C9222_AI_DMA_InfiniteReTrigger/ai.exe deleted file mode 100644 index a95b032..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9222/C9222_AI_DMA_InfiniteReTrigger/ai.exe and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9222/C9222_AI_DMA_ReTrigEvent/ai.c b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9222/C9222_AI_DMA_ReTrigEvent/ai.c deleted file mode 100644 index 19ba671..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9222/C9222_AI_DMA_ReTrigEvent/ai.c +++ /dev/null @@ -1,178 +0,0 @@ -/*----------------------------------------------------------------------------*/ -/* Company : ADLINK */ -/* Date : 2008/07/30 */ -/* */ -/* This sample performs AI acquisition with DMA mode with retrigger mode. */ -/* There are 16(Single Ended Mode)/8(Differetial Mode) AI channels in */ -/* PCI-9222. You can use polling mode or DMA to acquired data from specified */ -/* channels. */ -/*----------------------------------------------------------------------------*/ -#include -#include -#include -#include -#include "dask.h" - -#define READCOUNT 4000 -#define RETRIGCOUNT 4 -#define TOTALTRIGCOUNT (RETRIGCOUNT+1) -#define BUFFERCOUNT TOTALTRIGCOUNT*READCOUNT -#define P922X_TIMEBASE 80000000.0 - - -I16 card, err; -U16 card_num; -U16 ConfigCtrl = P922x_AI_SingEnded|P922x_AI_CONVSRC_INT; -U16 TrigCtrl = P922x_AI_TRGMOD_POST|P922x_AI_TRGSRC_GPI0|P922x_AI_EnReTigger; -U32 ReTriggerCount = RETRIGCOUNT; /*ReTrigger Count = Total Trigger Count - 1*/ -BOOLEAN AutoResetBuf = 1; -U32 ScanIntrv = 20000; /*Scan Rate: P922X_TIMEBASE/20000=4K*/ -U32 SampIntrv = 20000; /*Sampling Rate: P922X_TIMEBASE/20000=4K*/ -U16 RDBuffer[BUFFERCOUNT]; -U16 BufferId; -F64 VBuffer[BUFFERCOUNT]; -U32 AI_ReadCount = READCOUNT; /*AI Read Count per oe trigger*/ -U32 AI_BufferCount = BUFFERCOUNT; /*Total read count*/ -U16 Channel = 0; /*AI Channel Number*/ -U16 AdRange = AD_B_10_V; /*AI Range*/ -U32 i; -FILE *in_file; -U8 FileName[] = "ai_data.txt"; -BOOLEAN Stopped = FALSE; -U32 AccessCnt = 0; -U32 TrigEndCount = 0; - - - -void AI_END_CALLBACK() -{ - AI_AsyncClear(card, &AccessCnt); - printf("\nAI Acquisition Done... Acquires %d samples...\n", AccessCnt); - printf("Write Date to %s...\n", FileName); - err = AI_ContVScale(card, AdRange, RDBuffer, VBuffer, AccessCnt); - if(err<0){ - for(i=0; i -# Microsoft Developer Studio Generated Build File, Format Version 6.00 -# ** DO NOT EDIT ** - -# TARGTYPE "Win32 (x86) Console Application" 0x0103 - -CFG=ai - Win32 Debug -!MESSAGE This is not a valid makefile. To build this project using NMAKE, -!MESSAGE use the Export Makefile command and run -!MESSAGE -!MESSAGE NMAKE /f "ai.mak". -!MESSAGE -!MESSAGE You can specify a configuration when running NMAKE -!MESSAGE by defining the macro CFG on the command line. For example: -!MESSAGE -!MESSAGE NMAKE /f "ai.mak" CFG="ai - Win32 Debug" -!MESSAGE -!MESSAGE Possible choices for configuration are: -!MESSAGE -!MESSAGE "ai - Win32 Release" (based on "Win32 (x86) Console Application") -!MESSAGE "ai - Win32 Debug" (based on "Win32 (x86) Console Application") -!MESSAGE - -# Begin Project -# PROP AllowPerConfigDependencies 0 -# PROP Scc_ProjName "" -# PROP Scc_LocalPath "" -CPP=cl.exe -RSC=rc.exe - -!IF "$(CFG)" == "ai - Win32 Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "Release" -# PROP BASE Intermediate_Dir "Release" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "" -# PROP Intermediate_Dir "Release" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c -# ADD CPP /nologo /W3 /GX /O2 /I "../../../include" /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c -# ADD BASE RSC /l 0x404 /d "NDEBUG" -# ADD RSC /l 0x404 /d "NDEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ../../../lib/pci-dask.lib /nologo /subsystem:console /machine:I386 - -!ELSEIF "$(CFG)" == "ai - Win32 Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "Debug" -# PROP BASE Intermediate_Dir "Debug" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "Debug" -# PROP Intermediate_Dir "Debug" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /GZ /c -# ADD CPP /nologo /W3 /Gm /GX /ZI /Od /I "../../../include" /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /GZ /c -# ADD BASE RSC /l 0x404 /d "_DEBUG" -# ADD RSC /l 0x404 /d "_DEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ../../../lib/pci-dask.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept - -!ENDIF - -# Begin Target - -# Name "ai - Win32 Release" -# Name "ai - Win32 Debug" -# Begin Group "Source Files" - -# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;idl;hpj;bat" -# Begin Source File - -SOURCE=.\ai.c -# End Source File -# End Group -# Begin Group "Header Files" - -# PROP Default_Filter "h;hpp;hxx;hm;inl" -# End Group -# Begin Group "Resource Files" - -# PROP Default_Filter "ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe" -# End Group -# End Target -# End Project diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9222/C9222_AI_DMA_ReTrigEvent/ai.dsw b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9222/C9222_AI_DMA_ReTrigEvent/ai.dsw deleted file mode 100644 index 2e548b2..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9222/C9222_AI_DMA_ReTrigEvent/ai.dsw +++ /dev/null @@ -1,29 +0,0 @@ -Microsoft Developer Studio Workspace File, Format Version 6.00 -# WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE! - -############################################################################### - -Project: "ai"=.\ai.dsp - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ -}}} - -############################################################################### - -Global: - -Package=<5> -{{{ -}}} - -Package=<3> -{{{ -}}} - -############################################################################### - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9222/C9222_AI_DMA_ReTrigEvent/ai.exe b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9222/C9222_AI_DMA_ReTrigEvent/ai.exe deleted file mode 100644 index 1aa3976..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9222/C9222_AI_DMA_ReTrigEvent/ai.exe and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9222/C9222_AI_DMA_ReTrigger/ai.c b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9222/C9222_AI_DMA_ReTrigger/ai.c deleted file mode 100644 index 80f5ed8..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9222/C9222_AI_DMA_ReTrigger/ai.c +++ /dev/null @@ -1,198 +0,0 @@ -/*----------------------------------------------------------------------------*/ -/* Company : ADLINK */ -/* Date : 2008/07/30 */ -/* */ -/* This sample performs continuous AI acquisition with Re-Trigger mode. */ -/* There are 16(Single Ended Mode)/8(Differetial Mode) AI channels in */ -/* PCI-9222. You can use polling mode or DMA to acquired data from specified */ -/* channels. */ -/*----------------------------------------------------------------------------*/ -#include -#include -#include -#include -#include -#include "dask.h" - -#define AI_ACQCNT 4000 /*Acquisition count per one trigger*/ -#define AI_TRIGCNT 4 /*Total Trigger count*/ -#define AI_BUFCNT AI_ACQCNT*AI_TRIGCNT /*buffer size for all acquired data*/ -#define CHANNELCOUNT 4 /*AI Channel Count*/ -#define P922X_TIMEBASE 80000000.0 /*Internal Timebase of PCI-922x*/ - -int main(int argc, char **argv) -{ - I16 card, err; - U16 card_num; - U16 ConfigCtrl = P922x_AI_SingEnded|P922x_AI_CONVSRC_INT; - U16 TrigCtrl = P922x_AI_TRGMOD_POST|P922x_AI_TRGSRC_GPI0|P922x_AI_EnReTigger; - U32 ReTriggerCount = AI_TRIGCNT-1; /*ReTrigger Count = Total Trigger Count - 1*/ - BOOLEAN AutoResetBuf = 1; - U32 ScanIntrv = 320*CHANNELCOUNT; /*Scan Rate: P922X_TIMEBASE/320/4 = 62.5K Hz*/ - U32 SampIntrv = 320; /*Scan Rate: P922X_TIMEBASE/320 = 250K Hz*/ - U16 RDBuffer[AI_BUFCNT]; /*Buffer to be setup*/ - U16 BufferId; - F64 VBuffer[AI_BUFCNT]; - U32 AI_ReadCount = AI_ACQCNT; /*AI Read Count per one Trigger*/ - U16 NumChans = CHANNELCOUNT; /*AI Channel Count*/ - U16 Chans[CHANNELCOUNT]; /*AI Channels Array*/ - U16 AdRanges[CHANNELCOUNT]; /*AI Ranges Array*/ - BOOLEAN Ready; - BOOLEAN StopFlag; - U16 RdyTrigCnt; - U32 AccessCnt; - FILE *w_file; - U8 FileName[] = "ai_data.txt"; - U32 i, j; - /*--------------------------------*/ - - memset(RDBuffer, '\0', AI_BUFCNT*sizeof(U16)); - memset(VBuffer, '\0', AI_BUFCNT*sizeof(F64)); - if(!(w_file=fopen(FileName, "w"))){ - printf("file open error...\n"); - exit(1); - } - srand(time(NULL)); - i = 0; - do{ - Chans[i] = rand()%16; - for(j=0; j -# Microsoft Developer Studio Generated Build File, Format Version 6.00 -# ** DO NOT EDIT ** - -# TARGTYPE "Win32 (x86) Console Application" 0x0103 - -CFG=ai - Win32 Debug -!MESSAGE This is not a valid makefile. To build this project using NMAKE, -!MESSAGE use the Export Makefile command and run -!MESSAGE -!MESSAGE NMAKE /f "ai.mak". -!MESSAGE -!MESSAGE You can specify a configuration when running NMAKE -!MESSAGE by defining the macro CFG on the command line. For example: -!MESSAGE -!MESSAGE NMAKE /f "ai.mak" CFG="ai - Win32 Debug" -!MESSAGE -!MESSAGE Possible choices for configuration are: -!MESSAGE -!MESSAGE "ai - Win32 Release" (based on "Win32 (x86) Console Application") -!MESSAGE "ai - Win32 Debug" (based on "Win32 (x86) Console Application") -!MESSAGE - -# Begin Project -# PROP AllowPerConfigDependencies 0 -# PROP Scc_ProjName "" -# PROP Scc_LocalPath "" -CPP=cl.exe -RSC=rc.exe - -!IF "$(CFG)" == "ai - Win32 Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "Release" -# PROP BASE Intermediate_Dir "Release" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "" -# PROP Intermediate_Dir "Release" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c -# ADD CPP /nologo /W3 /GX /O2 /I "../../../include" /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c -# ADD BASE RSC /l 0x404 /d "NDEBUG" -# ADD RSC /l 0x404 /d "NDEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ../../../lib/pci-dask.lib /nologo /subsystem:console /machine:I386 - -!ELSEIF "$(CFG)" == "ai - Win32 Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "Debug" -# PROP BASE Intermediate_Dir "Debug" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "Debug" -# PROP Intermediate_Dir "Debug" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /GZ /c -# ADD CPP /nologo /W3 /Gm /GX /ZI /Od /I "../../../include" /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /GZ /c -# ADD BASE RSC /l 0x404 /d "_DEBUG" -# ADD RSC /l 0x404 /d "_DEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ../../../lib/pci-dask.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept - -!ENDIF - -# Begin Target - -# Name "ai - Win32 Release" -# Name "ai - Win32 Debug" -# Begin Group "Source Files" - -# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;idl;hpj;bat" -# Begin Source File - -SOURCE=.\ai.c -# End Source File -# End Group -# Begin Group "Header Files" - -# PROP Default_Filter "h;hpp;hxx;hm;inl" -# End Group -# Begin Group "Resource Files" - -# PROP Default_Filter "ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe" -# End Group -# End Target -# End Project diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9222/C9222_AI_DMA_ReTrigger/ai.dsw b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9222/C9222_AI_DMA_ReTrigger/ai.dsw deleted file mode 100644 index 2e548b2..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9222/C9222_AI_DMA_ReTrigger/ai.dsw +++ /dev/null @@ -1,29 +0,0 @@ -Microsoft Developer Studio Workspace File, Format Version 6.00 -# WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE! - -############################################################################### - -Project: "ai"=.\ai.dsp - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ -}}} - -############################################################################### - -Global: - -Package=<5> -{{{ -}}} - -Package=<3> -{{{ -}}} - -############################################################################### - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9222/C9222_AI_DMA_ReTrigger/ai.exe b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9222/C9222_AI_DMA_ReTrigger/ai.exe deleted file mode 100644 index 3889085..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9222/C9222_AI_DMA_ReTrigger/ai.exe and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9222/C9222_AI_Polling/ai.c b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9222/C9222_AI_Polling/ai.c deleted file mode 100644 index c63e015..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9222/C9222_AI_Polling/ai.c +++ /dev/null @@ -1,56 +0,0 @@ -/*----------------------------------------------------------------------------*/ -/* Company : ADLINK */ -/* Date : 2008/07/25 */ -/* */ -/* This sample performs AI acquisition with polling mode. */ -/* There are 16(Single Ended Mode)/8(Differetial Mode) AI channels in */ -/* PCI-9222. You can use polling mode or DMA to acquired data from specified */ -/* channels. */ -/*----------------------------------------------------------------------------*/ -#include -#include -#include -#include -#include "dask.h" - -int main(int argc, char **argv) -{ - I16 card, err; - U16 card_num; - - U16 Channel = 0; - U16 AdRange = AD_B_10_V; - U16 Value; - F64 Voltage; - - printf("This sample acquires analog voltage from AI Channel 0 with polling mode.\n"); - printf("Card Number? "); - scanf(" %hd", &card_num); - - card = Register_Card(PCI_9222, card_num); - if(card<0){ - printf("Register_Card Error: %d\n", card); - exit(1); - } - - do{ - err = AI_ReadChannel(card, Channel, AdRange, &Value); - if(err<0){ - printf("AI_ReadChannel Error: %d\n", err); - Release_Card(card); - exit(1); - } - system("cls"); - printf("------------------------------------\n"); - AI_VoltScale(card, AdRange, Value, &Voltage); - printf(" Channel %d :\n", Channel); - printf(" Acquired Raw Data : 0x%x\n", Value); - printf(" Scaled Voltage : %8.6lf\n", Voltage); - printf("\n Press any key to exit...\n"); - printf("------------------------------------\n"); - Sleep(100); - }while(!kbhit()); - - Release_Card(card); - return 0; -} diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9222/C9222_AI_Polling/ai.dsp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9222/C9222_AI_Polling/ai.dsp deleted file mode 100644 index c26103a..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9222/C9222_AI_Polling/ai.dsp +++ /dev/null @@ -1,102 +0,0 @@ -# Microsoft Developer Studio Project File - Name="ai" - Package Owner=<4> -# Microsoft Developer Studio Generated Build File, Format Version 6.00 -# ** DO NOT EDIT ** - -# TARGTYPE "Win32 (x86) Console Application" 0x0103 - -CFG=ai - Win32 Debug -!MESSAGE This is not a valid makefile. To build this project using NMAKE, -!MESSAGE use the Export Makefile command and run -!MESSAGE -!MESSAGE NMAKE /f "ai.mak". -!MESSAGE -!MESSAGE You can specify a configuration when running NMAKE -!MESSAGE by defining the macro CFG on the command line. For example: -!MESSAGE -!MESSAGE NMAKE /f "ai.mak" CFG="ai - Win32 Debug" -!MESSAGE -!MESSAGE Possible choices for configuration are: -!MESSAGE -!MESSAGE "ai - Win32 Release" (based on "Win32 (x86) Console Application") -!MESSAGE "ai - Win32 Debug" (based on "Win32 (x86) Console Application") -!MESSAGE - -# Begin Project -# PROP AllowPerConfigDependencies 0 -# PROP Scc_ProjName "" -# PROP Scc_LocalPath "" -CPP=cl.exe -RSC=rc.exe - -!IF "$(CFG)" == "ai - Win32 Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "Release" -# PROP BASE Intermediate_Dir "Release" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "" -# PROP Intermediate_Dir "Release" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c -# ADD CPP /nologo /W3 /GX /O2 /I "../../../include" /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c -# ADD BASE RSC /l 0x404 /d "NDEBUG" -# ADD RSC /l 0x404 /d "NDEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ../../../lib/pci-dask.lib /nologo /subsystem:console /machine:I386 - -!ELSEIF "$(CFG)" == "ai - Win32 Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "Debug" -# PROP BASE Intermediate_Dir "Debug" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "Debug" -# PROP Intermediate_Dir "Debug" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /GZ /c -# ADD CPP /nologo /W3 /Gm /GX /ZI /Od /I "../../../include" /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /GZ /c -# ADD BASE RSC /l 0x404 /d "_DEBUG" -# ADD RSC /l 0x404 /d "_DEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ../../../lib/pci-dask.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept - -!ENDIF - -# Begin Target - -# Name "ai - Win32 Release" -# Name "ai - Win32 Debug" -# Begin Group "Source Files" - -# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;idl;hpj;bat" -# Begin Source File - -SOURCE=.\ai.c -# End Source File -# End Group -# Begin Group "Header Files" - -# PROP Default_Filter "h;hpp;hxx;hm;inl" -# End Group -# Begin Group "Resource Files" - -# PROP Default_Filter "ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe" -# End Group -# End Target -# End Project diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9222/C9222_AI_Polling/ai.dsw b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9222/C9222_AI_Polling/ai.dsw deleted file mode 100644 index 2e548b2..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9222/C9222_AI_Polling/ai.dsw +++ /dev/null @@ -1,29 +0,0 @@ -Microsoft Developer Studio Workspace File, Format Version 6.00 -# WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE! - -############################################################################### - -Project: "ai"=.\ai.dsp - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ -}}} - -############################################################################### - -Global: - -Package=<5> -{{{ -}}} - -Package=<3> -{{{ -}}} - -############################################################################### - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9222/C9222_AI_Polling/ai.exe b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9222/C9222_AI_Polling/ai.exe deleted file mode 100644 index 55e03ee..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9222/C9222_AI_Polling/ai.exe and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9222/C9222_AO_DMA_DBF/ao.c b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9222/C9222_AO_DMA_DBF/ao.c deleted file mode 100644 index 75fbc86..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9222/C9222_AO_DMA_DBF/ao.c +++ /dev/null @@ -1,142 +0,0 @@ -/*----------------------------------------------------------------------------*/ -/* Company : ADLINK */ -/* Date : 2008/08/11 */ -/* */ -/* This sample infinitely updates AO voltage with DMA Double Buffer mode. */ -/* There are 2 AO channels in PCI-9222. You can use polling mode or DMA to */ -/* to update data to specified channels. */ -/*----------------------------------------------------------------------------*/ -#include -#include -#include -#include -#include -#include "dask.h" - -#define WRITECOUNT 8000 -#define TIMEBASE 80000000 -#define UPDATEINTRV 10000 -#define PI 3.1415926 - -int main(int argc, char **argv) -{ - I16 card, err; - U16 card_num; - U16 ConfigCtrl = P922x_AO_CONVSRC_INT; - U16 TrigCtrl = P922x_AO_TRGMOD_POST|P922x_AO_TRGSRC_SOFT; - U32 ReTrgCnt = 0; //Ignored in non-retrigger mode - U32 DLY1Cnt = 0; //Ignored in non-delay trigger mode - U32 DLY2Cnt = 0; //Ignored in non-delay2 mode - BOOLEAN AutoResetBuf = 1; - U32 W_Buffer0[WRITECOUNT]; - U32 W_Buffer1[WRITECOUNT]; - U32 Patten0[WRITECOUNT]; - U32 Patten1[WRITECOUNT]; - U32 WriteCount = WRITECOUNT; - U16 BufferId0; - U16 BufferId1; - U16 Channel = 0; //AO channel to be written - U32 Iterations = 0; //Infinite repeate - U32 CHUI = UPDATEINTRV; - U16 definite = 0; - U32 vi; - BOOLEAN HalfReady; - U32 AccessCnt; - U16 RdyBufCnt = 0; - - for(vi=0; vi -# Microsoft Developer Studio Generated Build File, Format Version 6.00 -# ** DO NOT EDIT ** - -# TARGTYPE "Win32 (x86) Console Application" 0x0103 - -CFG=ao - Win32 Debug -!MESSAGE This is not a valid makefile. To build this project using NMAKE, -!MESSAGE use the Export Makefile command and run -!MESSAGE -!MESSAGE NMAKE /f "ao.mak". -!MESSAGE -!MESSAGE You can specify a configuration when running NMAKE -!MESSAGE by defining the macro CFG on the command line. For example: -!MESSAGE -!MESSAGE NMAKE /f "ao.mak" CFG="ao - Win32 Debug" -!MESSAGE -!MESSAGE Possible choices for configuration are: -!MESSAGE -!MESSAGE "ao - Win32 Release" (based on "Win32 (x86) Console Application") -!MESSAGE "ao - Win32 Debug" (based on "Win32 (x86) Console Application") -!MESSAGE - -# Begin Project -# PROP AllowPerConfigDependencies 0 -# PROP Scc_ProjName "" -# PROP Scc_LocalPath "" -CPP=cl.exe -RSC=rc.exe - -!IF "$(CFG)" == "ao - Win32 Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "Release" -# PROP BASE Intermediate_Dir "Release" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "" -# PROP Intermediate_Dir "Release" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c -# ADD CPP /nologo /W3 /GX /O2 /I "../../../include" /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c -# ADD BASE RSC /l 0x404 /d "NDEBUG" -# ADD RSC /l 0x404 /d "NDEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ../../../lib/pci-dask.lib /nologo /subsystem:console /machine:I386 - -!ELSEIF "$(CFG)" == "ao - Win32 Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "Debug" -# PROP BASE Intermediate_Dir "Debug" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "Debug" -# PROP Intermediate_Dir "Debug" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /GZ /c -# ADD CPP /nologo /W3 /Gm /GX /ZI /Od /I "../../../include" /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /GZ /c -# ADD BASE RSC /l 0x404 /d "_DEBUG" -# ADD RSC /l 0x404 /d "_DEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ../../../lib/pci-dask.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept - -!ENDIF - -# Begin Target - -# Name "ao - Win32 Release" -# Name "ao - Win32 Debug" -# Begin Group "Source Files" - -# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;idl;hpj;bat" -# Begin Source File - -SOURCE=.\ao.c -# End Source File -# End Group -# Begin Group "Header Files" - -# PROP Default_Filter "h;hpp;hxx;hm;inl" -# End Group -# Begin Group "Resource Files" - -# PROP Default_Filter "ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe" -# End Group -# End Target -# End Project diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9222/C9222_AO_DMA_DBF/ao.dsw b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9222/C9222_AO_DMA_DBF/ao.dsw deleted file mode 100644 index d7a54c7..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9222/C9222_AO_DMA_DBF/ao.dsw +++ /dev/null @@ -1,29 +0,0 @@ -Microsoft Developer Studio Workspace File, Format Version 6.00 -# WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE! - -############################################################################### - -Project: "ao"=.\ao.dsp - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ -}}} - -############################################################################### - -Global: - -Package=<5> -{{{ -}}} - -Package=<3> -{{{ -}}} - -############################################################################### - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9222/C9222_AO_DMA_DBF/ao.exe b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9222/C9222_AO_DMA_DBF/ao.exe deleted file mode 100644 index 48d52fb..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9222/C9222_AO_DMA_DBF/ao.exe and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9222/C9222_AO_DMA_DBFEvent/ao.c b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9222/C9222_AO_DMA_DBFEvent/ao.c deleted file mode 100644 index 030bb60..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9222/C9222_AO_DMA_DBFEvent/ao.c +++ /dev/null @@ -1,185 +0,0 @@ -/*----------------------------------------------------------------------------*/ -/* Company : ADLINK */ -/* Date : 2008/08/12 */ -/* */ -/* This sample simultaneously infinite updates AO voltage to AO two channels */ -/* with event call back functions. */ -/* In simultaneously continuous AO, AO_Buffer[0] and AO_Buffer[1] are */ -/* simultaneously updating to AO Channel 0 and 1, then, AO_Buffer[2] and */ -/* AO_Buffer[3] are simultaneously updating to AO Channel 0 and 1, ..., etc. */ -/* With event call back functions, the set CallBack function will be */ -/* performed while the set event is comming. */ -/*----------------------------------------------------------------------------*/ -#include -#include -#include -#include -#include -#include "dask.h" - -#define WRITECOUNT 8000 -#define TIMEBASE 80000000 -#define UPDATEINTRV 10000 -#define PI 3.1415926 -#define WRITECHNCNT 2 - -I16 card, err; -U16 card_num; -U16 ConfigCtrl = P922x_AO_CONVSRC_INT; -U16 TrigCtrl = P922x_AO_TRGMOD_POST|P922x_AO_TRGSRC_SOFT; -U32 ReTrgCnt = 0; //Ignored in non-retrigger mode -U32 DLY1Cnt = 0; //Ignored in non-delay trigger mode -U32 DLY2Cnt = 0; //Ignored in non-delay2 -BOOLEAN AutoResetBuf = 1; -U32 W_Buffer0[WRITECOUNT*WRITECHNCNT]; //Data buffer to be written -U32 W_Buffer1[WRITECOUNT*WRITECHNCNT]; //Data buffer to be written -U32 Patten0[WRITECOUNT*WRITECHNCNT]; -U32 Patten1[WRITECOUNT*WRITECHNCNT]; -U32 WriteCount = WRITECOUNT; -U32 BufferCnt = WRITECOUNT*WRITECHNCNT; //needs extra buffer size for simultaneously AO update -U16 BufferId0; -U16 BufferId1; -U16 NumChans = WRITECHNCNT; //Numbers of AO channels -U16 Chans[WRITECHNCNT] = {0, 1}; //AO Channels -U32 Iterations = 0; //Infinite repeats -U32 CHUI = UPDATEINTRV; -U16 definite = 0; -U32 vi; -U32 AccessCnt; -U16 StopFlag = 0; -U16 ViewIdx = 0; -U32 BufChgIdx = 0; - - -void AO_END_CALLBACK() -{ - printf("\nAO End...\n"); - StopFlag = 1; -} - -void AO_DBEVENT_CALLBACK() -{ - if(ViewIdx==0){ - printf("Buffer 0 updated...\n"); - if(BufChgIdx==0) - memcpy(W_Buffer0, Patten1, BufferCnt*sizeof(U32)); - else - memcpy(W_Buffer0, Patten0, BufferCnt*sizeof(U32)); - } - else{ - printf("Buffer 1 updated...\n"); - if(BufChgIdx==0) - memcpy(W_Buffer1, Patten0, BufferCnt*sizeof(U32)); - else - memcpy(W_Buffer1, Patten1, BufferCnt*sizeof(U32)); - } - BufChgIdx = (ViewIdx==1)? ((BufChgIdx==0)? 1:0):BufChgIdx; - ViewIdx = ViewIdx? 0:1; -} - - -int main(int argc, char **argv) -{ - for(vi=0; vi -# Microsoft Developer Studio Generated Build File, Format Version 6.00 -# ** DO NOT EDIT ** - -# TARGTYPE "Win32 (x86) Console Application" 0x0103 - -CFG=ao - Win32 Debug -!MESSAGE This is not a valid makefile. To build this project using NMAKE, -!MESSAGE use the Export Makefile command and run -!MESSAGE -!MESSAGE NMAKE /f "ao.mak". -!MESSAGE -!MESSAGE You can specify a configuration when running NMAKE -!MESSAGE by defining the macro CFG on the command line. For example: -!MESSAGE -!MESSAGE NMAKE /f "ao.mak" CFG="ao - Win32 Debug" -!MESSAGE -!MESSAGE Possible choices for configuration are: -!MESSAGE -!MESSAGE "ao - Win32 Release" (based on "Win32 (x86) Console Application") -!MESSAGE "ao - Win32 Debug" (based on "Win32 (x86) Console Application") -!MESSAGE - -# Begin Project -# PROP AllowPerConfigDependencies 0 -# PROP Scc_ProjName "" -# PROP Scc_LocalPath "" -CPP=cl.exe -RSC=rc.exe - -!IF "$(CFG)" == "ao - Win32 Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "Release" -# PROP BASE Intermediate_Dir "Release" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "" -# PROP Intermediate_Dir "Release" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c -# ADD CPP /nologo /W3 /GX /O2 /I "../../../include" /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c -# ADD BASE RSC /l 0x404 /d "NDEBUG" -# ADD RSC /l 0x404 /d "NDEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ../../../lib/pci-dask.lib /nologo /subsystem:console /machine:I386 - -!ELSEIF "$(CFG)" == "ao - Win32 Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "Debug" -# PROP BASE Intermediate_Dir "Debug" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "Debug" -# PROP Intermediate_Dir "Debug" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /GZ /c -# ADD CPP /nologo /W3 /Gm /GX /ZI /Od /I "../../../include" /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /GZ /c -# ADD BASE RSC /l 0x404 /d "_DEBUG" -# ADD RSC /l 0x404 /d "_DEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ../../../lib/pci-dask.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept - -!ENDIF - -# Begin Target - -# Name "ao - Win32 Release" -# Name "ao - Win32 Debug" -# Begin Group "Source Files" - -# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;idl;hpj;bat" -# Begin Source File - -SOURCE=.\ao.c -# End Source File -# End Group -# Begin Group "Header Files" - -# PROP Default_Filter "h;hpp;hxx;hm;inl" -# End Group -# Begin Group "Resource Files" - -# PROP Default_Filter "ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe" -# End Group -# End Target -# End Project diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9222/C9222_AO_DMA_DBFEvent/ao.dsw b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9222/C9222_AO_DMA_DBFEvent/ao.dsw deleted file mode 100644 index d7a54c7..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9222/C9222_AO_DMA_DBFEvent/ao.dsw +++ /dev/null @@ -1,29 +0,0 @@ -Microsoft Developer Studio Workspace File, Format Version 6.00 -# WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE! - -############################################################################### - -Project: "ao"=.\ao.dsp - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ -}}} - -############################################################################### - -Global: - -Package=<5> -{{{ -}}} - -Package=<3> -{{{ -}}} - -############################################################################### - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9222/C9222_AO_DMA_DBFEvent/ao.exe b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9222/C9222_AO_DMA_DBFEvent/ao.exe deleted file mode 100644 index b912e89..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9222/C9222_AO_DMA_DBFEvent/ao.exe and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9222/C9222_AO_DMA_ExtConvSrc/ao.c b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9222/C9222_AO_DMA_ExtConvSrc/ao.c deleted file mode 100644 index 2eb8345..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9222/C9222_AO_DMA_ExtConvSrc/ao.c +++ /dev/null @@ -1,111 +0,0 @@ -/*----------------------------------------------------------------------------*/ -/* Company : ADLINK */ -/* Date : 2008/09/25 */ -/* */ -/* This sample updates AO voltage with external conversion source. */ -/* There are 2 AO channels in PCI-9222. You can use polling mode or DMA to */ -/* to update data to specified channels. */ -/*----------------------------------------------------------------------------*/ -#include -#include -#include -#include -#include -#include "dask.h" - -#define WRITECOUNT 8000 -#define PI 3.1415926 - - -int main(int argc, char **argv) -{ - I16 card, err; - U16 card_num; - U16 ConfigCtrl = P922x_AO_CONVSRC_GPI0; - U16 TrigCtrl = 0; //Dose not support any trigger mode/source in external conversion source mode - U32 ReTrgCnt = 0; - U32 DLY1Cnt = 0; - U32 DLY2Cnt = 0; - BOOLEAN AutoResetBuf = 1; - U32 W_Buffer[WRITECOUNT]; - U32 WriteCount = WRITECOUNT; - U16 BufferId; - U16 Channel = 0; - U32 Iterations = 1; //Only support 1 or infinite iterations in external conversion source mode - U32 CHUI = 0; //Ignore in external conversion source mode - U16 definite = 1; //Only support definite mode in external conversion source mode - U16 SyncMode = ASYNCH_OP; //Only support ASYNC. mode in external conversion source mode - U32 vi; - U32 AccessCnt; - BOOLEAN Stopped; - - for(vi=0; vi -# Microsoft Developer Studio Generated Build File, Format Version 6.00 -# ** DO NOT EDIT ** - -# TARGTYPE "Win32 (x86) Console Application" 0x0103 - -CFG=ao - Win32 Debug -!MESSAGE This is not a valid makefile. To build this project using NMAKE, -!MESSAGE use the Export Makefile command and run -!MESSAGE -!MESSAGE NMAKE /f "ao.mak". -!MESSAGE -!MESSAGE You can specify a configuration when running NMAKE -!MESSAGE by defining the macro CFG on the command line. For example: -!MESSAGE -!MESSAGE NMAKE /f "ao.mak" CFG="ao - Win32 Debug" -!MESSAGE -!MESSAGE Possible choices for configuration are: -!MESSAGE -!MESSAGE "ao - Win32 Release" (based on "Win32 (x86) Console Application") -!MESSAGE "ao - Win32 Debug" (based on "Win32 (x86) Console Application") -!MESSAGE - -# Begin Project -# PROP AllowPerConfigDependencies 0 -# PROP Scc_ProjName "" -# PROP Scc_LocalPath "" -CPP=cl.exe -RSC=rc.exe - -!IF "$(CFG)" == "ao - Win32 Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "Release" -# PROP BASE Intermediate_Dir "Release" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "" -# PROP Intermediate_Dir "Release" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c -# ADD CPP /nologo /W3 /GX /O2 /I "../../../include" /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c -# ADD BASE RSC /l 0x404 /d "NDEBUG" -# ADD RSC /l 0x404 /d "NDEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ../../../lib/pci-dask.lib /nologo /subsystem:console /machine:I386 - -!ELSEIF "$(CFG)" == "ao - Win32 Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "Debug" -# PROP BASE Intermediate_Dir "Debug" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "Debug" -# PROP Intermediate_Dir "Debug" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /GZ /c -# ADD CPP /nologo /W3 /Gm /GX /ZI /Od /I "../../../include" /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /GZ /c -# ADD BASE RSC /l 0x404 /d "_DEBUG" -# ADD RSC /l 0x404 /d "_DEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ../../../lib/pci-dask.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept - -!ENDIF - -# Begin Target - -# Name "ao - Win32 Release" -# Name "ao - Win32 Debug" -# Begin Group "Source Files" - -# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;idl;hpj;bat" -# Begin Source File - -SOURCE=.\ao.c -# End Source File -# End Group -# Begin Group "Header Files" - -# PROP Default_Filter "h;hpp;hxx;hm;inl" -# End Group -# Begin Group "Resource Files" - -# PROP Default_Filter "ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe" -# End Group -# End Target -# End Project diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9222/C9222_AO_DMA_ExtConvSrc/ao.dsw b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9222/C9222_AO_DMA_ExtConvSrc/ao.dsw deleted file mode 100644 index d7a54c7..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9222/C9222_AO_DMA_ExtConvSrc/ao.dsw +++ /dev/null @@ -1,29 +0,0 @@ -Microsoft Developer Studio Workspace File, Format Version 6.00 -# WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE! - -############################################################################### - -Project: "ao"=.\ao.dsp - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ -}}} - -############################################################################### - -Global: - -Package=<5> -{{{ -}}} - -Package=<3> -{{{ -}}} - -############################################################################### - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9222/C9222_AO_DMA_ExtConvSrc/ao.exe b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9222/C9222_AO_DMA_ExtConvSrc/ao.exe deleted file mode 100644 index ffdd008..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9222/C9222_AO_DMA_ExtConvSrc/ao.exe and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9222/C9222_AO_DMA_InfiniteDReTrigger/ao.c b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9222/C9222_AO_DMA_InfiniteDReTrigger/ao.c deleted file mode 100644 index 40db029..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9222/C9222_AO_DMA_InfiniteDReTrigger/ao.c +++ /dev/null @@ -1,110 +0,0 @@ -/*----------------------------------------------------------------------------*/ -/* Company : ADLINK */ -/* Date : 2008/08/19 */ -/* */ -/* This sample performs continuous AO DMA update with infinite delay trigger */ -/* and wave repeats. */ -/* There are 2 AO channels in PCI-9222. You can use polling mode or DMA to */ -/* to update data to specified channels. */ -/*----------------------------------------------------------------------------*/ -#include -#include -#include -#include -#include -#include "dask.h" - -#define WRITECOUNT 8000 -#define TIMEBASE 80000000 -#define UPDATEINTRV 10000 -#define PI 3.1415926 - -int main(int argc, char **argv) -{ - I16 card, err; - U16 card_num; - U16 ConfigCtrl = P922x_AO_CONVSRC_INT; - U16 TrigCtrl = P922x_AO_TRGMOD_DELAY|P922x_AO_TRGSRC_GPI0|P922x_AO_EnReTigger|P922x_AO_EnDelay2; - U32 ReTrgCnt = 0; //0 means infinite trigger if retrigger is enabled - U32 DLY1Cnt = 80000000; //Trigger delay count; Delay time = DLY1Cnt/TIMEBASE sec. - U32 DLY2Cnt = 40000000; //Wave separation count; Delay time = DLY2Cnt/TIMEBASE sec. - BOOLEAN AutoResetBuf = 1; //Auto reset buffer descriptor built in kernel - U32 W_Buffer[WRITECOUNT]; //Data buffer to be written - U32 WriteCount = WRITECOUNT; //Wrtie count per one wave/one trigger - U16 BufferId; - U16 Channel = 0; //AO channel to be written - U32 Iterations = 4; //Wave iterations per one trigger - U32 CHUI = UPDATEINTRV; - U16 definite = 1; - U32 vi; - U32 AccessCnt; - BOOLEAN Stopped; - - - for(vi=0; vi -# Microsoft Developer Studio Generated Build File, Format Version 6.00 -# ** DO NOT EDIT ** - -# TARGTYPE "Win32 (x86) Console Application" 0x0103 - -CFG=ao - Win32 Debug -!MESSAGE This is not a valid makefile. To build this project using NMAKE, -!MESSAGE use the Export Makefile command and run -!MESSAGE -!MESSAGE NMAKE /f "ao.mak". -!MESSAGE -!MESSAGE You can specify a configuration when running NMAKE -!MESSAGE by defining the macro CFG on the command line. For example: -!MESSAGE -!MESSAGE NMAKE /f "ao.mak" CFG="ao - Win32 Debug" -!MESSAGE -!MESSAGE Possible choices for configuration are: -!MESSAGE -!MESSAGE "ao - Win32 Release" (based on "Win32 (x86) Console Application") -!MESSAGE "ao - Win32 Debug" (based on "Win32 (x86) Console Application") -!MESSAGE - -# Begin Project -# PROP AllowPerConfigDependencies 0 -# PROP Scc_ProjName "" -# PROP Scc_LocalPath "" -CPP=cl.exe -RSC=rc.exe - -!IF "$(CFG)" == "ao - Win32 Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "Release" -# PROP BASE Intermediate_Dir "Release" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "" -# PROP Intermediate_Dir "Release" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c -# ADD CPP /nologo /W3 /GX /O2 /I "../../../include" /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c -# ADD BASE RSC /l 0x404 /d "NDEBUG" -# ADD RSC /l 0x404 /d "NDEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ../../../lib/pci-dask.lib /nologo /subsystem:console /machine:I386 - -!ELSEIF "$(CFG)" == "ao - Win32 Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "Debug" -# PROP BASE Intermediate_Dir "Debug" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "Debug" -# PROP Intermediate_Dir "Debug" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /GZ /c -# ADD CPP /nologo /W3 /Gm /GX /ZI /Od /I "../../../include" /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /GZ /c -# ADD BASE RSC /l 0x404 /d "_DEBUG" -# ADD RSC /l 0x404 /d "_DEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ../../../lib/pci-dask.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept - -!ENDIF - -# Begin Target - -# Name "ao - Win32 Release" -# Name "ao - Win32 Debug" -# Begin Group "Source Files" - -# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;idl;hpj;bat" -# Begin Source File - -SOURCE=.\ao.c -# End Source File -# End Group -# Begin Group "Header Files" - -# PROP Default_Filter "h;hpp;hxx;hm;inl" -# End Group -# Begin Group "Resource Files" - -# PROP Default_Filter "ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe" -# End Group -# End Target -# End Project diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9222/C9222_AO_DMA_InfiniteDReTrigger/ao.dsw b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9222/C9222_AO_DMA_InfiniteDReTrigger/ao.dsw deleted file mode 100644 index d7a54c7..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9222/C9222_AO_DMA_InfiniteDReTrigger/ao.dsw +++ /dev/null @@ -1,29 +0,0 @@ -Microsoft Developer Studio Workspace File, Format Version 6.00 -# WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE! - -############################################################################### - -Project: "ao"=.\ao.dsp - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ -}}} - -############################################################################### - -Global: - -Package=<5> -{{{ -}}} - -Package=<3> -{{{ -}}} - -############################################################################### - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9222/C9222_AO_DMA_InfiniteDReTrigger/ao.exe b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9222/C9222_AO_DMA_InfiniteDReTrigger/ao.exe deleted file mode 100644 index 6e1bf3a..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9222/C9222_AO_DMA_InfiniteDReTrigger/ao.exe and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9222/C9222_AO_DMA_ReTrigEvent/ao.c b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9222/C9222_AO_DMA_ReTrigEvent/ao.c deleted file mode 100644 index fa522ee..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9222/C9222_AO_DMA_ReTrigEvent/ao.c +++ /dev/null @@ -1,143 +0,0 @@ -/*----------------------------------------------------------------------------*/ -/* Company : ADLINK */ -/* Date : 2008/08/12 */ -/* */ -/* This sample performs AO retrigger update with event call back function. */ -/* There are 2 AO channels in PCI-9222. You can use polling mode or DMA to */ -/* to update data to specified channels. */ -/*----------------------------------------------------------------------------*/ -#include -#include -#include -#include -#include -#include "dask.h" - -#define WRITECOUNT 8000 -#define TIMEBASE 80000000 -#define UPDATEINTRV 10000 -#define PI 3.1415926 - -I16 card, err; -U16 card_num; -U16 ConfigCtrl = P922x_AO_CONVSRC_INT; -U16 TrigCtrl = P922x_AO_TRGMOD_POST|P922x_AO_TRGSRC_GPI0|P922x_AO_EnReTigger; -U32 ReTrgCnt = 3; //Retrigger count -U32 DLY1Cnt = 0; //Ignored in non-delay trigger mode -U32 DLY2Cnt = 0; //Ignored in non-delay2 -BOOLEAN AutoResetBuf = 1; -U32 W_Buffer[WRITECOUNT]; -U32 WriteCount = WRITECOUNT; -U16 BufferId; -U16 Channel = 0; //Updated AO channel -U32 Iterations = 2; //wave repeats -U32 CHUI = UPDATEINTRV; -U16 definite = 1; -U32 vi; -U32 AccessCnt; -BOOLEAN Stopped; -U32 TrigEndCount = 0; - - -void AO_END_CALLBACK() -{ - AO_AsyncClear(card, &AccessCnt, 0); - printf("\nAO Done...\n"); - Stopped = 1; -} - -void AO_RETRIGGER_CALLBACK() -{ - TrigEndCount++; - printf("\nAO Trigger End with next trigger: %d\n", TrigEndCount); -} - - -int main(int argc, char **argv) -{ - - for(vi=0; vi -# Microsoft Developer Studio Generated Build File, Format Version 6.00 -# ** DO NOT EDIT ** - -# TARGTYPE "Win32 (x86) Console Application" 0x0103 - -CFG=ao - Win32 Debug -!MESSAGE This is not a valid makefile. To build this project using NMAKE, -!MESSAGE use the Export Makefile command and run -!MESSAGE -!MESSAGE NMAKE /f "ao.mak". -!MESSAGE -!MESSAGE You can specify a configuration when running NMAKE -!MESSAGE by defining the macro CFG on the command line. For example: -!MESSAGE -!MESSAGE NMAKE /f "ao.mak" CFG="ao - Win32 Debug" -!MESSAGE -!MESSAGE Possible choices for configuration are: -!MESSAGE -!MESSAGE "ao - Win32 Release" (based on "Win32 (x86) Console Application") -!MESSAGE "ao - Win32 Debug" (based on "Win32 (x86) Console Application") -!MESSAGE - -# Begin Project -# PROP AllowPerConfigDependencies 0 -# PROP Scc_ProjName "" -# PROP Scc_LocalPath "" -CPP=cl.exe -RSC=rc.exe - -!IF "$(CFG)" == "ao - Win32 Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "Release" -# PROP BASE Intermediate_Dir "Release" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "" -# PROP Intermediate_Dir "Release" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c -# ADD CPP /nologo /W3 /GX /O2 /I "../../../include" /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c -# ADD BASE RSC /l 0x404 /d "NDEBUG" -# ADD RSC /l 0x404 /d "NDEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ../../../lib/pci-dask.lib /nologo /subsystem:console /machine:I386 - -!ELSEIF "$(CFG)" == "ao - Win32 Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "Debug" -# PROP BASE Intermediate_Dir "Debug" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "Debug" -# PROP Intermediate_Dir "Debug" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /GZ /c -# ADD CPP /nologo /W3 /Gm /GX /ZI /Od /I "../../../include" /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /GZ /c -# ADD BASE RSC /l 0x404 /d "_DEBUG" -# ADD RSC /l 0x404 /d "_DEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ../../../lib/pci-dask.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept - -!ENDIF - -# Begin Target - -# Name "ao - Win32 Release" -# Name "ao - Win32 Debug" -# Begin Group "Source Files" - -# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;idl;hpj;bat" -# Begin Source File - -SOURCE=.\ao.c -# End Source File -# End Group -# Begin Group "Header Files" - -# PROP Default_Filter "h;hpp;hxx;hm;inl" -# End Group -# Begin Group "Resource Files" - -# PROP Default_Filter "ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe" -# End Group -# End Target -# End Project diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9222/C9222_AO_DMA_ReTrigEvent/ao.dsw b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9222/C9222_AO_DMA_ReTrigEvent/ao.dsw deleted file mode 100644 index d7a54c7..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9222/C9222_AO_DMA_ReTrigEvent/ao.dsw +++ /dev/null @@ -1,29 +0,0 @@ -Microsoft Developer Studio Workspace File, Format Version 6.00 -# WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE! - -############################################################################### - -Project: "ao"=.\ao.dsp - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ -}}} - -############################################################################### - -Global: - -Package=<5> -{{{ -}}} - -Package=<3> -{{{ -}}} - -############################################################################### - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9222/C9222_AO_DMA_ReTrigEvent/ao.exe b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9222/C9222_AO_DMA_ReTrigEvent/ao.exe deleted file mode 100644 index a046f34..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9222/C9222_AO_DMA_ReTrigEvent/ao.exe and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9222/C9222_AO_DMA_SimuWrites/ao.c b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9222/C9222_AO_DMA_SimuWrites/ao.c deleted file mode 100644 index c95f697..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9222/C9222_AO_DMA_SimuWrites/ao.c +++ /dev/null @@ -1,138 +0,0 @@ -/*----------------------------------------------------------------------------*/ -/* Company : ADLINK */ -/* Date : 2008/08/27 */ -/* */ -/* This sample simultaneously updates AO voltage to AO two channels with DMA. */ -/* For example, AO_Buffer[0] and AO_Buffer[1] are simultaneously updating to */ -/* AO Channel 0 and 1, then, AO_Buffer[2] and AO_Buffer[3] are simultaneously */ -/* updating to AO Channel 0 and 1, ..., etc. AO_ContBufferCompose() can be */ -/* used to compose to an arrange buffer for multi-channels of continuous AO. */ -/*----------------------------------------------------------------------------*/ -#include -#include -#include -#include -#include -#include "dask.h" - -#define WRITECHNCNT 2 -#define WRITECOUNT 8000 -#define BUFCOUNT WRITECOUNT*WRITECHNCNT -#define TIMEBASE 80000000 -#define UPDATEINTRV 10000 -#define PI 3.1415926 - -int main(int argc, char **argv) -{ - I16 card, err; - U16 card_num; - U16 ConfigCtrl = P922x_AO_CONVSRC_INT; - U16 TrigCtrl = P922x_AO_TRGMOD_POST|P922x_AO_TRGSRC_SOFT; - U32 ReTrgCnt = 0; //Ignored in non-retrigger mode - U32 DLY1Cnt = 0; //Ignored in non-delay trigger mode - U32 DLY2Cnt = 0; //Ignored in non-delay2 mode - BOOLEAN AutoResetBuf = 1; //Auto reset buffer descriptor built in kernel - U32 W_Buffer[BUFCOUNT]; //Data buffer to be written - U32 Patten[WRITECOUNT]; - U32 WriteCount = WRITECOUNT; //AO write count - U16 BufferId; - U16 NumChans = WRITECHNCNT; //Numbers of channel to be written - U16 Chans[WRITECHNCNT] = {0, 1}; //AO channels - U32 Iterations = 1; //write once - U32 CHUI = UPDATEINTRV; - U16 definite = 1; - U32 vi; - U32 AccessCnt; - BOOLEAN Stopped; - U32 BufCount = BUFCOUNT; - - printf("This sample simultaneously updates voltage to AO Channels \n"); - printf("at %6.2f update rate.\n", (float)TIMEBASE/UPDATEINTRV); - printf("Card Number? "); - scanf(" %hd", &card_num); - - card = Register_Card(PCI_9222, card_num); - if(card<0){ - printf("Register_Card Error: %d\n", card); - exit(1); - } - - for(vi=0; vi -# Microsoft Developer Studio Generated Build File, Format Version 6.00 -# ** DO NOT EDIT ** - -# TARGTYPE "Win32 (x86) Console Application" 0x0103 - -CFG=ao - Win32 Debug -!MESSAGE This is not a valid makefile. To build this project using NMAKE, -!MESSAGE use the Export Makefile command and run -!MESSAGE -!MESSAGE NMAKE /f "ao.mak". -!MESSAGE -!MESSAGE You can specify a configuration when running NMAKE -!MESSAGE by defining the macro CFG on the command line. For example: -!MESSAGE -!MESSAGE NMAKE /f "ao.mak" CFG="ao - Win32 Debug" -!MESSAGE -!MESSAGE Possible choices for configuration are: -!MESSAGE -!MESSAGE "ao - Win32 Release" (based on "Win32 (x86) Console Application") -!MESSAGE "ao - Win32 Debug" (based on "Win32 (x86) Console Application") -!MESSAGE - -# Begin Project -# PROP AllowPerConfigDependencies 0 -# PROP Scc_ProjName "" -# PROP Scc_LocalPath "" -CPP=cl.exe -RSC=rc.exe - -!IF "$(CFG)" == "ao - Win32 Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "Release" -# PROP BASE Intermediate_Dir "Release" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "" -# PROP Intermediate_Dir "Release" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c -# ADD CPP /nologo /W3 /GX /O2 /I "../../../include" /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c -# ADD BASE RSC /l 0x404 /d "NDEBUG" -# ADD RSC /l 0x404 /d "NDEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ../../../lib/pci-dask.lib /nologo /subsystem:console /machine:I386 - -!ELSEIF "$(CFG)" == "ao - Win32 Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "Debug" -# PROP BASE Intermediate_Dir "Debug" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "Debug" -# PROP Intermediate_Dir "Debug" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /GZ /c -# ADD CPP /nologo /W3 /Gm /GX /ZI /Od /I "../../../include" /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /GZ /c -# ADD BASE RSC /l 0x404 /d "_DEBUG" -# ADD RSC /l 0x404 /d "_DEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ../../../lib/pci-dask.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept - -!ENDIF - -# Begin Target - -# Name "ao - Win32 Release" -# Name "ao - Win32 Debug" -# Begin Group "Source Files" - -# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;idl;hpj;bat" -# Begin Source File - -SOURCE=.\ao.c -# End Source File -# End Group -# Begin Group "Header Files" - -# PROP Default_Filter "h;hpp;hxx;hm;inl" -# End Group -# Begin Group "Resource Files" - -# PROP Default_Filter "ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe" -# End Group -# End Target -# End Project diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9222/C9222_AO_DMA_SimuWrites/ao.dsw b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9222/C9222_AO_DMA_SimuWrites/ao.dsw deleted file mode 100644 index d7a54c7..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9222/C9222_AO_DMA_SimuWrites/ao.dsw +++ /dev/null @@ -1,29 +0,0 @@ -Microsoft Developer Studio Workspace File, Format Version 6.00 -# WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE! - -############################################################################### - -Project: "ao"=.\ao.dsp - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ -}}} - -############################################################################### - -Global: - -Package=<5> -{{{ -}}} - -Package=<3> -{{{ -}}} - -############################################################################### - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9222/C9222_AO_DMA_SimuWrites/ao.exe b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9222/C9222_AO_DMA_SimuWrites/ao.exe deleted file mode 100644 index d654264..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9222/C9222_AO_DMA_SimuWrites/ao.exe and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9222/C9222_AO_DMA_WaveRepeat/ao.c b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9222/C9222_AO_DMA_WaveRepeat/ao.c deleted file mode 100644 index f7468f0..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9222/C9222_AO_DMA_WaveRepeat/ao.c +++ /dev/null @@ -1,109 +0,0 @@ -/*----------------------------------------------------------------------------*/ -/* Company : ADLINK */ -/* Date : 2008/08/12 */ -/* */ -/* This sample performs infinite wave repeats with external delay trigger. */ -/* There are 2 AO channels in PCI-9222. You can use polling mode or DMA to */ -/* to update data to specified channels. */ -/*----------------------------------------------------------------------------*/ -#include -#include -#include -#include -#include -#include "dask.h" - -#define WRITECOUNT 8000 -#define TIMEBASE 80000000 -#define UPDATEINTRV 10000 -#define PI 3.1415926 - -int main(int argc, char **argv) -{ - I16 card, err; - U16 card_num; - U16 ConfigCtrl = P922x_AO_CONVSRC_INT; - U16 TrigCtrl = P922x_AO_TRGMOD_DELAY|P922x_AO_TRGSRC_GPI0|P922x_AO_EnDelay2; - U32 ReTrgCnt = 0; //Ignored in non-retrigger mode - U32 DLY1Cnt = 80000000; //Trigger delay count; Delay time: DLY1Cnt/TIMEBASE sec. - U32 DLY2Cnt = 40000000; //Wave separation count; Delay2 time: DLY2Cnt/TIMEBASE sec. - BOOLEAN AutoResetBuf = 1; //Auto reset buffer descriptor built in kernel - U32 W_Buffer[WRITECOUNT]; - U32 WriteCount = WRITECOUNT; - U16 BufferId; - U16 Channel = 0; - U32 Iterations = 0; //0: means infinite wave repeats - U32 CHUI = UPDATEINTRV; - U16 definite = 0; - U32 vi; - U32 AccessCnt; - BOOLEAN Stopped; - - - for(vi=0; vi -# Microsoft Developer Studio Generated Build File, Format Version 6.00 -# ** DO NOT EDIT ** - -# TARGTYPE "Win32 (x86) Console Application" 0x0103 - -CFG=ao - Win32 Debug -!MESSAGE This is not a valid makefile. To build this project using NMAKE, -!MESSAGE use the Export Makefile command and run -!MESSAGE -!MESSAGE NMAKE /f "ao.mak". -!MESSAGE -!MESSAGE You can specify a configuration when running NMAKE -!MESSAGE by defining the macro CFG on the command line. For example: -!MESSAGE -!MESSAGE NMAKE /f "ao.mak" CFG="ao - Win32 Debug" -!MESSAGE -!MESSAGE Possible choices for configuration are: -!MESSAGE -!MESSAGE "ao - Win32 Release" (based on "Win32 (x86) Console Application") -!MESSAGE "ao - Win32 Debug" (based on "Win32 (x86) Console Application") -!MESSAGE - -# Begin Project -# PROP AllowPerConfigDependencies 0 -# PROP Scc_ProjName "" -# PROP Scc_LocalPath "" -CPP=cl.exe -RSC=rc.exe - -!IF "$(CFG)" == "ao - Win32 Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "Release" -# PROP BASE Intermediate_Dir "Release" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "" -# PROP Intermediate_Dir "Release" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c -# ADD CPP /nologo /W3 /GX /O2 /I "../../../include" /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c -# ADD BASE RSC /l 0x404 /d "NDEBUG" -# ADD RSC /l 0x404 /d "NDEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ../../../lib/pci-dask.lib /nologo /subsystem:console /machine:I386 - -!ELSEIF "$(CFG)" == "ao - Win32 Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "Debug" -# PROP BASE Intermediate_Dir "Debug" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "Debug" -# PROP Intermediate_Dir "Debug" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /GZ /c -# ADD CPP /nologo /W3 /Gm /GX /ZI /Od /I "../../../include" /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /GZ /c -# ADD BASE RSC /l 0x404 /d "_DEBUG" -# ADD RSC /l 0x404 /d "_DEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ../../../lib/pci-dask.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept - -!ENDIF - -# Begin Target - -# Name "ao - Win32 Release" -# Name "ao - Win32 Debug" -# Begin Group "Source Files" - -# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;idl;hpj;bat" -# Begin Source File - -SOURCE=.\ao.c -# End Source File -# End Group -# Begin Group "Header Files" - -# PROP Default_Filter "h;hpp;hxx;hm;inl" -# End Group -# Begin Group "Resource Files" - -# PROP Default_Filter "ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe" -# End Group -# End Target -# End Project diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9222/C9222_AO_DMA_WaveRepeat/ao.dsw b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9222/C9222_AO_DMA_WaveRepeat/ao.dsw deleted file mode 100644 index d7a54c7..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9222/C9222_AO_DMA_WaveRepeat/ao.dsw +++ /dev/null @@ -1,29 +0,0 @@ -Microsoft Developer Studio Workspace File, Format Version 6.00 -# WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE! - -############################################################################### - -Project: "ao"=.\ao.dsp - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ -}}} - -############################################################################### - -Global: - -Package=<5> -{{{ -}}} - -Package=<3> -{{{ -}}} - -############################################################################### - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9222/C9222_AO_DMA_WaveRepeat/ao.exe b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9222/C9222_AO_DMA_WaveRepeat/ao.exe deleted file mode 100644 index e5fcff6..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9222/C9222_AO_DMA_WaveRepeat/ao.exe and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9222/C9222_AO_Polling/ao.c b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9222/C9222_AO_Polling/ao.c deleted file mode 100644 index 7a57774..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9222/C9222_AO_Polling/ao.c +++ /dev/null @@ -1,64 +0,0 @@ -/*----------------------------------------------------------------------------*/ -/* Company : ADLINK */ -/* Date : 2008/07/25 */ -/* */ -/* This sample Updates AO voltage with polling mode. */ -/* There are 2 AO channels in PCI-9222. You can use polling mode or DMA to */ -/* to update data to specified channels. */ -/*----------------------------------------------------------------------------*/ -#include -#include -#include -#include -#include "dask.h" - -int main(int argc, char **argv) -{ - I16 card, err; - U16 card_num; - U16 Channel; - F64 Voltage; - U8 fStop; - - printf("This sample updates voltage to AO Channel.\n"); - printf("Card Number? "); - scanf(" %hd", &card_num); - - card = Register_Card(PCI_9222, card_num); - if(card<0){ - printf("Register_Card Error: %d\n", card); - exit(1); - } - - do{ - system("cls"); - printf("AO Channel Number to be update: [0 or 1] "); - scanf(" %hd", &Channel); - if(Channel>1){ - printf("Invalid Channel Number... Set to Channel 0\n"); - Channel = 0; - } - printf("AO voltage to be updated: [-10 ~ 10] "); - scanf(" %lf", &Voltage); - if(Voltage>10){ - printf("Out of range, forcedly ouput 10V\n"); - Voltage = 10; - } - if(Voltage<-10){ - printf("Out of range, forcedly ouput -10V\n"); - Voltage = -10; - } - - err = AO_VWriteChannel(card, Channel, Voltage); - if(err<0){ - printf("AO_VWriteChannel Error: %d\n", err); - Release_Card(card); - exit(1); - } - printf("\n(C)ontinue? "); - fStop = getch(); - }while((fStop=='C')||(fStop=='c')); - - Release_Card(card); - return 0; -} diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9222/C9222_AO_Polling/ao.dsp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9222/C9222_AO_Polling/ao.dsp deleted file mode 100644 index 17b98a6..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9222/C9222_AO_Polling/ao.dsp +++ /dev/null @@ -1,102 +0,0 @@ -# Microsoft Developer Studio Project File - Name="ao" - Package Owner=<4> -# Microsoft Developer Studio Generated Build File, Format Version 6.00 -# ** DO NOT EDIT ** - -# TARGTYPE "Win32 (x86) Console Application" 0x0103 - -CFG=ao - Win32 Debug -!MESSAGE This is not a valid makefile. To build this project using NMAKE, -!MESSAGE use the Export Makefile command and run -!MESSAGE -!MESSAGE NMAKE /f "ao.mak". -!MESSAGE -!MESSAGE You can specify a configuration when running NMAKE -!MESSAGE by defining the macro CFG on the command line. For example: -!MESSAGE -!MESSAGE NMAKE /f "ao.mak" CFG="ao - Win32 Debug" -!MESSAGE -!MESSAGE Possible choices for configuration are: -!MESSAGE -!MESSAGE "ao - Win32 Release" (based on "Win32 (x86) Console Application") -!MESSAGE "ao - Win32 Debug" (based on "Win32 (x86) Console Application") -!MESSAGE - -# Begin Project -# PROP AllowPerConfigDependencies 0 -# PROP Scc_ProjName "" -# PROP Scc_LocalPath "" -CPP=cl.exe -RSC=rc.exe - -!IF "$(CFG)" == "ao - Win32 Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "Release" -# PROP BASE Intermediate_Dir "Release" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "" -# PROP Intermediate_Dir "Release" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c -# ADD CPP /nologo /W3 /GX /O2 /I "../../../include" /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c -# ADD BASE RSC /l 0x404 /d "NDEBUG" -# ADD RSC /l 0x404 /d "NDEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ../../../lib/pci-dask.lib /nologo /subsystem:console /machine:I386 - -!ELSEIF "$(CFG)" == "ao - Win32 Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "Debug" -# PROP BASE Intermediate_Dir "Debug" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "Debug" -# PROP Intermediate_Dir "Debug" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /GZ /c -# ADD CPP /nologo /W3 /Gm /GX /ZI /Od /I "../../../include" /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /GZ /c -# ADD BASE RSC /l 0x404 /d "_DEBUG" -# ADD RSC /l 0x404 /d "_DEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ../../../lib/pci-dask.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept - -!ENDIF - -# Begin Target - -# Name "ao - Win32 Release" -# Name "ao - Win32 Debug" -# Begin Group "Source Files" - -# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;idl;hpj;bat" -# Begin Source File - -SOURCE=.\ao.c -# End Source File -# End Group -# Begin Group "Header Files" - -# PROP Default_Filter "h;hpp;hxx;hm;inl" -# End Group -# Begin Group "Resource Files" - -# PROP Default_Filter "ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe" -# End Group -# End Target -# End Project diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9222/C9222_AO_Polling/ao.dsw b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9222/C9222_AO_Polling/ao.dsw deleted file mode 100644 index d7a54c7..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9222/C9222_AO_Polling/ao.dsw +++ /dev/null @@ -1,29 +0,0 @@ -Microsoft Developer Studio Workspace File, Format Version 6.00 -# WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE! - -############################################################################### - -Project: "ao"=.\ao.dsp - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ -}}} - -############################################################################### - -Global: - -Package=<5> -{{{ -}}} - -Package=<3> -{{{ -}}} - -############################################################################### - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9222/C9222_AO_Polling/ao.exe b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9222/C9222_AO_Polling/ao.exe deleted file mode 100644 index 006ac3f..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9222/C9222_AO_Polling/ao.exe and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9222/C9222_Calibration/calibration.c b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9222/C9222_Calibration/calibration.c deleted file mode 100644 index 6f4086e..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9222/C9222_Calibration/calibration.c +++ /dev/null @@ -1,67 +0,0 @@ -/*----------------------------------------------------------------------------*/ -/* Company : ADLINK */ -/* Date : 2008/07/25 */ -/* */ -/* This sample performs AI/AO auto calibration for PCI-9222. */ -/* There are two EEPROM banks, default bank and user bank, to store AI/AO */ -/* calibration constants. The driver loads calibration constants and writes */ -/* them to ADC/DAC during the period of driver loaded. */ -/* User can use PCI_DB_Auto_Calibration_ALL() to perform auto calibration, */ -/* and those auto calibration constants will be written to ADC/DAC */ -/* automatically. Then, User can use PCI_EEPROM_CAL_Constant_Update() to */ -/* store the auto calibration constants to user bank of EEPROM. */ -/* PCI_Load_CAL_Data() is used to load the calibration constants from default */ -/* or user bank of EEPROM to ADC/DAC. */ -/*----------------------------------------------------------------------------*/ -#include -#include -#include -#include -#include "dask.h" - -int main(int argc, char **argv) -{ - I16 card, err; - U16 card_num; - U8 fWriteEE; - - printf("The sample performs AI/AO auto calibration.\n"); - - printf("Card Number: "); - scanf(" %hd", &card_num); - card = Register_Card(PCI_9222, card_num); - if(card<0){ - printf("Register_Card Error: %d\n", card); - exit(1); - } - - printf("Press any key to start AI/AO auto calibration.\n"); - getch(); - printf("Auto Calibration is performing... It will take some minites...\n"); - err = PCI_DB_Auto_Calibration_ALL(card); - if(err<0){ - printf("Auto Calibration Error: %d\n", err); - Release_Card(card); - exit(1); - } - printf("\nAuto Calibration is done...\n"); - - printf("\nStore the auto calibration constants to EEPROM?\n"); - printf("Press 'Y' to store them to EEPROM, and others to exit.\n"); - fWriteEE = getch(); - if((fWriteEE=='Y')||(fWriteEE=='y')){ - printf("Store auto calibration constants to user bank of EEPROM...\n"); - err = PCI_EEPROM_CAL_Constant_Update(card, EEPROM_USER_BANK1); - if(err<0){ - printf("Save Calibration Constants to EEProm Error: %d\n", err); - Release_Card(card); - exit(1); - } - printf("\nAuto calibration constants are stored to EEPROM completely.\n"); - } - - printf("\nPress any key to exit...\n"); - getch(); - Release_Card(card); - return 0; -} diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9222/C9222_Calibration/calibration.dsp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9222/C9222_Calibration/calibration.dsp deleted file mode 100644 index 71d2c65..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9222/C9222_Calibration/calibration.dsp +++ /dev/null @@ -1,102 +0,0 @@ -# Microsoft Developer Studio Project File - Name="calibration" - Package Owner=<4> -# Microsoft Developer Studio Generated Build File, Format Version 6.00 -# ** DO NOT EDIT ** - -# TARGTYPE "Win32 (x86) Console Application" 0x0103 - -CFG=calibration - Win32 Debug -!MESSAGE This is not a valid makefile. To build this project using NMAKE, -!MESSAGE use the Export Makefile command and run -!MESSAGE -!MESSAGE NMAKE /f "calibration.mak". -!MESSAGE -!MESSAGE You can specify a configuration when running NMAKE -!MESSAGE by defining the macro CFG on the command line. For example: -!MESSAGE -!MESSAGE NMAKE /f "calibration.mak" CFG="calibration - Win32 Debug" -!MESSAGE -!MESSAGE Possible choices for configuration are: -!MESSAGE -!MESSAGE "calibration - Win32 Release" (based on "Win32 (x86) Console Application") -!MESSAGE "calibration - Win32 Debug" (based on "Win32 (x86) Console Application") -!MESSAGE - -# Begin Project -# PROP AllowPerConfigDependencies 0 -# PROP Scc_ProjName "" -# PROP Scc_LocalPath "" -CPP=cl.exe -RSC=rc.exe - -!IF "$(CFG)" == "calibration - Win32 Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "Release" -# PROP BASE Intermediate_Dir "Release" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "" -# PROP Intermediate_Dir "Release" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c -# ADD CPP /nologo /W3 /GX /O2 /I "../../../include" /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c -# ADD BASE RSC /l 0x404 /d "NDEBUG" -# ADD RSC /l 0x404 /d "NDEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ../../../lib/pci-dask.lib /nologo /subsystem:console /machine:I386 - -!ELSEIF "$(CFG)" == "calibration - Win32 Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "Debug" -# PROP BASE Intermediate_Dir "Debug" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "Debug" -# PROP Intermediate_Dir "Debug" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /GZ /c -# ADD CPP /nologo /W3 /Gm /GX /ZI /Od /I "../../../include" /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /GZ /c -# ADD BASE RSC /l 0x404 /d "_DEBUG" -# ADD RSC /l 0x404 /d "_DEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ../../../lib/pci-dask.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept - -!ENDIF - -# Begin Target - -# Name "calibration - Win32 Release" -# Name "calibration - Win32 Debug" -# Begin Group "Source Files" - -# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;idl;hpj;bat" -# Begin Source File - -SOURCE=.\calibration.c -# End Source File -# End Group -# Begin Group "Header Files" - -# PROP Default_Filter "h;hpp;hxx;hm;inl" -# End Group -# Begin Group "Resource Files" - -# PROP Default_Filter "ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe" -# End Group -# End Target -# End Project diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9222/C9222_Calibration/calibration.dsw b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9222/C9222_Calibration/calibration.dsw deleted file mode 100644 index f07310a..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9222/C9222_Calibration/calibration.dsw +++ /dev/null @@ -1,29 +0,0 @@ -Microsoft Developer Studio Workspace File, Format Version 6.00 -# WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE! - -############################################################################### - -Project: "calibration"=.\calibration.dsp - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ -}}} - -############################################################################### - -Global: - -Package=<5> -{{{ -}}} - -Package=<3> -{{{ -}}} - -############################################################################### - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9222/C9222_Calibration/calibration.exe b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9222/C9222_Calibration/calibration.exe deleted file mode 100644 index 8e4ac89..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9222/C9222_Calibration/calibration.exe and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9222/C9222_DIO_Polling/dio.c b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9222/C9222_DIO_Polling/dio.c deleted file mode 100644 index a5b7256..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9222/C9222_DIO_Polling/dio.c +++ /dev/null @@ -1,65 +0,0 @@ -/*----------------------------------------------------------------------------*/ -/* Company : ADLINK */ -/* Date : 2008/07/25 */ -/* */ -/* This sample performs DI read ans DO read/write with polling mode. */ -/*----------------------------------------------------------------------------*/ -#include -#include -#include -#include -#include "dask.h" - -int main(int argc, char **argv) -{ - I16 card, err; - U16 card_num; - U32 DO_Write = 0xffff; - U32 DO_Read, DI_Read; - - printf("This sample write digital data to DO port and read digital value from DI port.\n"); - printf("Card Number? "); - scanf(" %hd", &card_num); - - card = Register_Card(PCI_9222, card_num); - if(card<0){ - printf("Register_Card Error: %d\n", card); - exit(1); - } - - do{ - /*Write DO port*/ - err = DO_WritePort(card, 0, DO_Write); - if(err<0){ - printf("DO_WritePort Error: %d\n", err); - Release_Card(card); - exit(1); - } - /*Read the written data from DO port*/ - err = DO_ReadPort(card, 0, &DO_Read); - if(err<0){ - printf("DO_ReadPort Error: %d\n", err); - Release_Card(card); - exit(1); - } - /*Read DI Port*/ - err = DI_ReadPort(card, 0, &DI_Read); - if(err<0){ - printf("DI_ReadPort Error: %d\n", err); - Release_Card(card); - exit(1); - } - system("cls"); - printf("/*--------------------------------*/\n"); - printf(" DO Read Data : %#x\n", DO_Read); - printf(" DI Read Data : %#x\n", DI_Read); - printf("\n\tPress any key to exit...\n"); - printf("/*--------------------------------*/\n"); - - DO_Write = (DO_Write==0)? 0xffff: (DO_Write-1); - Sleep(100); - }while(!kbhit()); - - Release_Card(card); - return 0; -} diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9222/C9222_DIO_Polling/dio.dsp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9222/C9222_DIO_Polling/dio.dsp deleted file mode 100644 index c793f4f..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9222/C9222_DIO_Polling/dio.dsp +++ /dev/null @@ -1,102 +0,0 @@ -# Microsoft Developer Studio Project File - Name="dio" - Package Owner=<4> -# Microsoft Developer Studio Generated Build File, Format Version 6.00 -# ** DO NOT EDIT ** - -# TARGTYPE "Win32 (x86) Console Application" 0x0103 - -CFG=dio - Win32 Debug -!MESSAGE This is not a valid makefile. To build this project using NMAKE, -!MESSAGE use the Export Makefile command and run -!MESSAGE -!MESSAGE NMAKE /f "dio.mak". -!MESSAGE -!MESSAGE You can specify a configuration when running NMAKE -!MESSAGE by defining the macro CFG on the command line. For example: -!MESSAGE -!MESSAGE NMAKE /f "dio.mak" CFG="dio - Win32 Debug" -!MESSAGE -!MESSAGE Possible choices for configuration are: -!MESSAGE -!MESSAGE "dio - Win32 Release" (based on "Win32 (x86) Console Application") -!MESSAGE "dio - Win32 Debug" (based on "Win32 (x86) Console Application") -!MESSAGE - -# Begin Project -# PROP AllowPerConfigDependencies 0 -# PROP Scc_ProjName "" -# PROP Scc_LocalPath "" -CPP=cl.exe -RSC=rc.exe - -!IF "$(CFG)" == "dio - Win32 Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "Release" -# PROP BASE Intermediate_Dir "Release" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "" -# PROP Intermediate_Dir "Release" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c -# ADD CPP /nologo /W3 /GX /O2 /I "../../../include" /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c -# ADD BASE RSC /l 0x404 /d "NDEBUG" -# ADD RSC /l 0x404 /d "NDEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ../../../lib/pci-dask.lib /nologo /subsystem:console /machine:I386 - -!ELSEIF "$(CFG)" == "dio - Win32 Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "Debug" -# PROP BASE Intermediate_Dir "Debug" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "Debug" -# PROP Intermediate_Dir "Debug" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /GZ /c -# ADD CPP /nologo /W3 /Gm /GX /ZI /Od /I "../../../include" /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /GZ /c -# ADD BASE RSC /l 0x404 /d "_DEBUG" -# ADD RSC /l 0x404 /d "_DEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ../../../lib/pci-dask.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept - -!ENDIF - -# Begin Target - -# Name "dio - Win32 Release" -# Name "dio - Win32 Debug" -# Begin Group "Source Files" - -# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;idl;hpj;bat" -# Begin Source File - -SOURCE=.\dio.c -# End Source File -# End Group -# Begin Group "Header Files" - -# PROP Default_Filter "h;hpp;hxx;hm;inl" -# End Group -# Begin Group "Resource Files" - -# PROP Default_Filter "ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe" -# End Group -# End Target -# End Project diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9222/C9222_DIO_Polling/dio.dsw b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9222/C9222_DIO_Polling/dio.dsw deleted file mode 100644 index 6264399..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9222/C9222_DIO_Polling/dio.dsw +++ /dev/null @@ -1,29 +0,0 @@ -Microsoft Developer Studio Workspace File, Format Version 6.00 -# WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE! - -############################################################################### - -Project: "dio"=.\dio.dsp - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ -}}} - -############################################################################### - -Global: - -Package=<5> -{{{ -}}} - -Package=<3> -{{{ -}}} - -############################################################################### - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9222/C9222_DIO_Polling/dio.exe b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9222/C9222_DIO_Polling/dio.exe deleted file mode 100644 index 2be60d2..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9222/C9222_DIO_Polling/dio.exe and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9222/C9222_DI_DMA/di.c b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9222/C9222_DI_DMA/di.c deleted file mode 100644 index 97264c6..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9222/C9222_DI_DMA/di.c +++ /dev/null @@ -1,135 +0,0 @@ -/*----------------------------------------------------------------------------*/ -/* Company : ADLINK */ -/* Date : 2008/08/11 */ -/* */ -/* This sample performs continuous DI acquisition. */ -/*----------------------------------------------------------------------------*/ -#include -#include -#include -#include -#include "dask.h" - -#define DI_COUNT 4000 - -int main(int argc, char **argv) -{ - I16 card, err; - U16 card_num; - U16 ConfigCtrl = P922x_DI_CONVSRC_INT; - U16 TrigCtrl = P922x_DI_TRGMOD_POST|P922x_DI_TRGSRC_SOFT; - U32 ReTriggerCount = 0; //Ignore in non-retrigger mode - BOOLEAN AutoResetBuf = 1; //Auto reset buffer descriptor built in driver - U16 RDBuffer[DI_COUNT]; - U16 BufferId; - U32 DI_ReadCount = DI_COUNT; //DI Read Count - U16 Port = 0; //9222 supports only one DI port, port 0 - F64 SampleRate = 2000000; - BOOLEAN Stopped; - U32 AccessCnt; - FILE *w_file; - U8 FileName[] = "di_data.txt"; - U32 i; - - memset(RDBuffer, '\0', DI_COUNT*sizeof(U16)); - if(!(w_file=fopen(FileName, "w"))){ - printf("file open error...\n"); - exit(1); - } - printf("This sample performs continuous DI acquisition from DI Port\n"); - printf("at %6.3lf Hz sampling rate.\n\n", SampleRate); - - /*Open and Initialize Device*/ - printf("Card Number? "); - scanf(" %hd", &card_num); - card = Register_Card(PCI_9222, card_num); - if(card<0){ - printf("Register_Card Error: %d\n", card); - fclose(w_file); - exit(1); - } - - /*Configure DI*/ - err = DI_9222_Config(card, ConfigCtrl, TrigCtrl, ReTriggerCount, AutoResetBuf); - if(err<0){ - printf("DI_9222_Config Error: %d\n", err); - Release_Card(card); - fclose(w_file); - exit(1); - } - - /*Disable Double Buffer Mode*/ - err = DI_AsyncDblBufferMode(card, 0); - if(err<0){ - printf("DI_AsyncDblBufferMode Error: %d\n", err); - Release_Card(card); - fclose(w_file); - exit(1); - } - - /*Setup Buffer for DI DMA Transfer*/ - err = DI_ContBufferSetup(card, RDBuffer, DI_ReadCount, &BufferId); - if(err<0){ - printf("DI_ContBufferSetup Error: %d\n", err); - Release_Card(card); - fclose(w_file); - exit(1); - } - - /*DI Acquisition Start*/ - err = DI_ContReadPort(card, Port, &BufferId, DI_ReadCount, SampleRate, ASYNCH_OP); - if(err<0){ - printf("DI_ContReadPort Error: %d\n", err); - DI_ContBufferReset(card); - Release_Card(card); - fclose(w_file); - exit(1); - } - do{ - /*Check whether DI Acquisition is done*/ - err = DI_AsyncCheck(card, &Stopped, &AccessCnt); - if(err<0){ - printf("DI_AsyncCheck Error: %d\n", err); - DI_AsyncClear(card, &AccessCnt); - DI_ContBufferReset(card); - Release_Card(card); - fclose(w_file); - exit(1); - } - }while((!kbhit())&&(!Stopped)); - - /*Clear DI Setting and Get Remaining data*/ - err = DI_AsyncClear(card, &AccessCnt); - if(err<0){ - printf("DI_AsyncClear Error: %d\n", err); - DI_AsyncClear(card, &AccessCnt); - DI_ContBufferReset(card); - Release_Card(card); - fclose(w_file); - exit(1); - } - - if(Stopped){ - printf("\n\nDI Acquisition Done... Acquired %d samples...\n", AccessCnt); - printf("Write %d samples of Buffer to %s file...\n", AccessCnt, FileName); - for(i=0; i -# Microsoft Developer Studio Generated Build File, Format Version 6.00 -# ** DO NOT EDIT ** - -# TARGTYPE "Win32 (x86) Console Application" 0x0103 - -CFG=di - Win32 Debug -!MESSAGE This is not a valid makefile. To build this project using NMAKE, -!MESSAGE use the Export Makefile command and run -!MESSAGE -!MESSAGE NMAKE /f "di.mak". -!MESSAGE -!MESSAGE You can specify a configuration when running NMAKE -!MESSAGE by defining the macro CFG on the command line. For example: -!MESSAGE -!MESSAGE NMAKE /f "di.mak" CFG="di - Win32 Debug" -!MESSAGE -!MESSAGE Possible choices for configuration are: -!MESSAGE -!MESSAGE "di - Win32 Release" (based on "Win32 (x86) Console Application") -!MESSAGE "di - Win32 Debug" (based on "Win32 (x86) Console Application") -!MESSAGE - -# Begin Project -# PROP AllowPerConfigDependencies 0 -# PROP Scc_ProjName "" -# PROP Scc_LocalPath "" -CPP=cl.exe -RSC=rc.exe - -!IF "$(CFG)" == "di - Win32 Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "Release" -# PROP BASE Intermediate_Dir "Release" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "" -# PROP Intermediate_Dir "Release" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c -# ADD CPP /nologo /W3 /GX /O2 /I "../../../include" /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c -# ADD BASE RSC /l 0x404 /d "NDEBUG" -# ADD RSC /l 0x404 /d "NDEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ../../../lib/pci-dask.lib /nologo /subsystem:console /machine:I386 - -!ELSEIF "$(CFG)" == "di - Win32 Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "Debug" -# PROP BASE Intermediate_Dir "Debug" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "Debug" -# PROP Intermediate_Dir "Debug" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /GZ /c -# ADD CPP /nologo /W3 /Gm /GX /ZI /Od /I "../../../include" /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /GZ /c -# ADD BASE RSC /l 0x404 /d "_DEBUG" -# ADD RSC /l 0x404 /d "_DEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ../../../lib/pci-dask.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept - -!ENDIF - -# Begin Target - -# Name "di - Win32 Release" -# Name "di - Win32 Debug" -# Begin Group "Source Files" - -# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;idl;hpj;bat" -# Begin Source File - -SOURCE=.\di.c -# End Source File -# End Group -# Begin Group "Header Files" - -# PROP Default_Filter "h;hpp;hxx;hm;inl" -# End Group -# Begin Group "Resource Files" - -# PROP Default_Filter "ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe" -# End Group -# End Target -# End Project diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9222/C9222_DI_DMA/di.dsw b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9222/C9222_DI_DMA/di.dsw deleted file mode 100644 index ae94ec2..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9222/C9222_DI_DMA/di.dsw +++ /dev/null @@ -1,29 +0,0 @@ -Microsoft Developer Studio Workspace File, Format Version 6.00 -# WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE! - -############################################################################### - -Project: "di"=.\di.dsp - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ -}}} - -############################################################################### - -Global: - -Package=<5> -{{{ -}}} - -Package=<3> -{{{ -}}} - -############################################################################### - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9222/C9222_DI_DMA/di.exe b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9222/C9222_DI_DMA/di.exe deleted file mode 100644 index 69408d5..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9222/C9222_DI_DMA/di.exe and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9222/C9222_DI_DMA_DBFEvent/di.c b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9222/C9222_DI_DMA_DBFEvent/di.c deleted file mode 100644 index efbb429..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9222/C9222_DI_DMA_DBFEvent/di.c +++ /dev/null @@ -1,179 +0,0 @@ -/*----------------------------------------------------------------------------*/ -/* Company : ADLINK */ -/* Date : 2008/08/11 */ -/* */ -/* This sample performs infinite DI DBF acquisition with call back function. */ -/* Two call back functions are set for DBEvent and AIEnd events. */ -/*----------------------------------------------------------------------------*/ -#include -#include -#include -#include -#include "dask.h" - -#define READCOUNT 4000 - -I16 card; -U16 card_num; -U16 ConfigCtrl = P922x_DI_CONVSRC_INT; -U16 TrigCtrl = P922x_DI_TRGMOD_POST|P922x_DI_TRGSRC_SOFT; -U32 ReTriggerCnt = 0; /*Ignore if Double buffer mode is enable*/ -BOOLEAN AutoResetBuf = 1; /*Autoreset buffer descriptor build in kernel*/ -U16 RDBuffer0[READCOUNT]; /*Data Buffer for DI DMA*/ -U16 RDBuffer1[READCOUNT]; /*Data Buffer for DI DMA*/ -U32 DI_ReadCount = READCOUNT; /*DI Read Count per one buffer*/ -U16 BufferId0; -U16 BufferId1; -U16 Port = 0; -F64 SampleRate = 4000; -U32 AccessCnt; -BOOLEAN StopFlag = FALSE; -U16 ViewIdx = 0; -U16 overrunFlag; -U8 filename[] = "di_data"; -U32 HalfRdyCnt = 0; - - -void DI_END_CALLBACK() -{ - printf("\n\nAcquisition End...\n"); - printf("Total Acquire %d Data from DI port and Write them to %s.dat...\n", - HalfRdyCnt*DI_ReadCount+AccessCnt, filename - ); - StopFlag = 1; -} - - -void DI_DBEVENT_CALLBACK() -{ - I16 err; - if(ViewIdx==0){ - printf("\n\nBuffer%d Half Ready...\n", ViewIdx); - printf(" press any key to exit..."); - err = DI_AsyncDblBufferToFile(card); - if(err<0) - printf("DI_AsyncDblBufferToFile Error: %d\n", err); - err = DI_AsyncDblBufferHandled(card); - if(err<0) - printf("DI_AsyncDblBufferToFile Error: %d\n", err); - } - else{ - printf("\n\nBuffer%d Half Ready...\n", ViewIdx); - printf(" press any key to exit..."); - err = DI_AsyncDblBufferToFile(card); - if(err<0) - printf("DI_AsyncDblBufferToFile Error: %d\n", err); - err = DI_AsyncDblBufferHandled(card); - if(err<0) - printf("DI_AsyncDblBufferToFile Error: %d\n", err); - } - - err = DI_AsyncDblBufferOverrun(card, 0, &overrunFlag); - if(err<0){ - printf("DI_AsyncDblBufferOverrun Error: %d\n", err); - } - if(overrunFlag){ - printf("\nOVERRUN: %d\n", overrunFlag); - err = DI_AsyncDblBufferOverrun(card, 1, NULL); - if(err<0){ - printf("DI_AsyncDblBufferOverrun Error: %d\n", err); - } - } - ViewIdx = ViewIdx? 0:1; - HalfRdyCnt++; -} - - -int main(int argc, char **argv) -{ - I16 err; - - memset(RDBuffer0, '\0', READCOUNT*sizeof(U16)); - memset(RDBuffer1, '\0', READCOUNT*sizeof(U16)); - printf("This sample infinitely acquires data from DI Port\n"); - printf("at %6.3lf Hz sampling rate with DMA Double Buffer mode.\n", SampleRate); - - /*Open Device*/ - printf("Card Number? "); - scanf(" %hd", &card_num); - card = Register_Card(PCI_9222, card_num); - if(card<0){ - printf("Register_Card Error: %d\n", card); - exit(1); - } - - /*Configure DI*/ - err = DI_9222_Config(card, ConfigCtrl, TrigCtrl, ReTriggerCnt, AutoResetBuf); - if(err<0){ - printf("DI_9222_Config Error: %d\n", err); - Release_Card(card); - exit(1); - } - - /*Enable Double Buffer Mode*/ - err = DI_AsyncDblBufferMode(card, 1); - if(err<0){ - printf("DI_AsyncDblBufferMode Error: %d\n", err); - Release_Card(card); - exit(1); - } - - /*Setup Buffer*/ - err = DI_ContBufferSetup(card, RDBuffer0, DI_ReadCount, &BufferId0); - if(err<0){ - printf("DI_ContBufferSetup0 Error: %d\n", err); - Release_Card(card); - exit(1); - } - err = DI_ContBufferSetup(card, RDBuffer1, DI_ReadCount, &BufferId1); - if(err<0){ - printf("DI_ContBufferSetup1 Error: %d\n", err); - Release_Card(card); - exit(1); - } - - /*Enable DI Double Buffer Half Ready Event*/ - err = DI_EventCallBack(card, 1, DBEvent, (U32)DI_DBEVENT_CALLBACK); - if(err<0){ - printf("DI_EventCallBack Error: %d\n", err); - DI_ContBufferReset(card); - Release_Card(card); - exit(1); - } - /*Enable DI END Event*/ - err = DI_EventCallBack(card, 1, DIEnd, (U32)DI_END_CALLBACK); - if(err<0){ - printf("DI_EventCallBack2 Error: %d\n", err); - DI_EventCallBack(card, 0, DBEvent, (U32)NULL); - DI_ContBufferReset(card); - Release_Card(card); - exit(1); - } - - err = DI_ContReadPortToFile(card, Port, filename, DI_ReadCount, SampleRate, ASYNCH_OP); - if(err<0){ - printf("DI_ContReadChanneltoFile Error: %d\n", err); - DI_EventCallBack(card, 0, DBEvent, (U32)NULL); - DI_EventCallBack(card, 0, DIEnd, (U32)NULL); - DI_ContBufferReset(card); - Release_Card(card); - exit(1); - } - printf("DI Acquisition is started... Wait DI DBEvent...\n"); - printf("You can press any key to stop it..."); - getch(); - DI_AsyncClear(card, &AccessCnt); - do{ - Sleep(1); - }while(!StopFlag); - - DI_EventCallBack(card, 0, DBEvent, (U32)NULL); - DI_EventCallBack(card, 0, DIEnd, (U32)NULL); - if(!AutoResetBuf) - DI_ContBufferReset(card); - Release_Card(card); - - printf("press any key to exit...\n"); - getch(); - return 0; -} diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9222/C9222_DI_DMA_DBFEvent/di.dsp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9222/C9222_DI_DMA_DBFEvent/di.dsp deleted file mode 100644 index 50c0827..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9222/C9222_DI_DMA_DBFEvent/di.dsp +++ /dev/null @@ -1,102 +0,0 @@ -# Microsoft Developer Studio Project File - Name="di" - Package Owner=<4> -# Microsoft Developer Studio Generated Build File, Format Version 6.00 -# ** DO NOT EDIT ** - -# TARGTYPE "Win32 (x86) Console Application" 0x0103 - -CFG=di - Win32 Debug -!MESSAGE This is not a valid makefile. To build this project using NMAKE, -!MESSAGE use the Export Makefile command and run -!MESSAGE -!MESSAGE NMAKE /f "di.mak". -!MESSAGE -!MESSAGE You can specify a configuration when running NMAKE -!MESSAGE by defining the macro CFG on the command line. For example: -!MESSAGE -!MESSAGE NMAKE /f "di.mak" CFG="di - Win32 Debug" -!MESSAGE -!MESSAGE Possible choices for configuration are: -!MESSAGE -!MESSAGE "di - Win32 Release" (based on "Win32 (x86) Console Application") -!MESSAGE "di - Win32 Debug" (based on "Win32 (x86) Console Application") -!MESSAGE - -# Begin Project -# PROP AllowPerConfigDependencies 0 -# PROP Scc_ProjName "" -# PROP Scc_LocalPath "" -CPP=cl.exe -RSC=rc.exe - -!IF "$(CFG)" == "di - Win32 Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "Release" -# PROP BASE Intermediate_Dir "Release" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "" -# PROP Intermediate_Dir "Release" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c -# ADD CPP /nologo /W3 /GX /O2 /I "../../../include" /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c -# ADD BASE RSC /l 0x404 /d "NDEBUG" -# ADD RSC /l 0x404 /d "NDEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ../../../lib/pci-dask.lib /nologo /subsystem:console /machine:I386 - -!ELSEIF "$(CFG)" == "di - Win32 Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "Debug" -# PROP BASE Intermediate_Dir "Debug" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "Debug" -# PROP Intermediate_Dir "Debug" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /GZ /c -# ADD CPP /nologo /W3 /Gm /GX /ZI /Od /I "../../../include" /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /GZ /c -# ADD BASE RSC /l 0x404 /d "_DEBUG" -# ADD RSC /l 0x404 /d "_DEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ../../../lib/pci-dask.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept - -!ENDIF - -# Begin Target - -# Name "di - Win32 Release" -# Name "di - Win32 Debug" -# Begin Group "Source Files" - -# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;idl;hpj;bat" -# Begin Source File - -SOURCE=.\di.c -# End Source File -# End Group -# Begin Group "Header Files" - -# PROP Default_Filter "h;hpp;hxx;hm;inl" -# End Group -# Begin Group "Resource Files" - -# PROP Default_Filter "ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe" -# End Group -# End Target -# End Project diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9222/C9222_DI_DMA_DBFEvent/di.dsw b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9222/C9222_DI_DMA_DBFEvent/di.dsw deleted file mode 100644 index ae94ec2..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9222/C9222_DI_DMA_DBFEvent/di.dsw +++ /dev/null @@ -1,29 +0,0 @@ -Microsoft Developer Studio Workspace File, Format Version 6.00 -# WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE! - -############################################################################### - -Project: "di"=.\di.dsp - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ -}}} - -############################################################################### - -Global: - -Package=<5> -{{{ -}}} - -Package=<3> -{{{ -}}} - -############################################################################### - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9222/C9222_DI_DMA_DBFEvent/di.exe b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9222/C9222_DI_DMA_DBFEvent/di.exe deleted file mode 100644 index b5d7575..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9222/C9222_DI_DMA_DBFEvent/di.exe and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9222/C9222_DI_DMA_DBFtoFile/di.c b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9222/C9222_DI_DMA_DBFtoFile/di.c deleted file mode 100644 index 37bcd59..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9222/C9222_DI_DMA_DBFtoFile/di.c +++ /dev/null @@ -1,150 +0,0 @@ -/*----------------------------------------------------------------------------*/ -/* Company : ADLINK */ -/* Date : 2008/08/11 */ -/* */ -/* This sample performs infinite DI acquisition with double buffer mode. */ -/*----------------------------------------------------------------------------*/ -#include -#include -#include -#include -#include "dask.h" - -#define DI_COUNT 4000 - -int main(int argc, char **argv) -{ - I16 card, err; - U16 card_num; - U16 ConfigCtrl = P922x_DI_CONVSRC_INT; - U16 TrigCtrl = P922x_DI_TRGMOD_POST|P922x_DI_TRGSRC_SOFT; - U32 ReTriggerCount = 0; //Ignore in non-retrigger mode - BOOLEAN AutoResetBuf = 1; //Auto reset buffer descriptor in driver - U16 RDBuffer0[DI_COUNT]; //Data buffer - U16 RDBuffer1[DI_COUNT]; //Data buffer - U16 BufferId0; - U16 BufferId1; - U32 DI_ReadCount = DI_COUNT; //DI Read Count - U16 Port = 0; //9222 supports only one DI port, port 0 - F64 SampleRate = 4000; - BOOLEAN HalfReady; - U32 AccessCnt; - U16 BufRdyIdx = 0; - U16 overrunFlag; - U8 FileName[] = "di_data"; - - memset(RDBuffer0, '\0', DI_COUNT*sizeof(U16)); - memset(RDBuffer1, '\0', DI_COUNT*sizeof(U16)); - printf("This sample performs infinite DI acquisition from DI Port with \n"); - printf("Double Buffer Mode at %6.3lf Hz sampling rate.\n\n", SampleRate); - - /*Open and Initialize Device*/ - printf("Card Number? "); - scanf(" %hd", &card_num); - card = Register_Card(PCI_9222, card_num); - if(card<0){ - printf("Register_Card Error: %d\n", card); - exit(1); - } - - /*Configure DI*/ - err = DI_9222_Config(card, ConfigCtrl, TrigCtrl, ReTriggerCount, AutoResetBuf); - if(err<0){ - printf("DI_9222_Config Error: %d\n", err); - Release_Card(card); - exit(1); - } - - /*Enable Double Buffer Mode*/ - err = DI_AsyncDblBufferMode(card, 1); - if(err<0){ - printf("DI_AsyncDblBufferMode Error: %d\n", err); - Release_Card(card); - exit(1); - } - - /*Setup Buffer for DI DMA Transfer*/ - err = DI_ContBufferSetup(card, RDBuffer0, DI_ReadCount, &BufferId0); - if(err<0){ - printf("DI_ContBufferSetup0 Error: %d\n", err); - Release_Card(card); - exit(1); - } - err = DI_ContBufferSetup(card, RDBuffer1, DI_ReadCount, &BufferId1); - if(err<0){ - printf("DI_ContBufferSetup1 Error: %d\n", err); - Release_Card(card); - exit(1); - } - - /*DI Acquisition Start*/ - err = DI_ContReadPortToFile(card, Port, FileName, DI_ReadCount, SampleRate, ASYNCH_OP); - if(err<0){ - printf("DI_ContReadPort Error: %d\n", err); - DI_ContBufferReset(card); - Release_Card(card); - exit(1); - } - do{ - /*Check whether DI Acquisition is done*/ - err = DI_AsyncDblBufferHalfReady(card, &HalfReady); - if(err<0){ - printf("DI_AsyncDblBufferHalfReady Error: %d\n", err); - DI_AsyncClear(card, &AccessCnt); - DI_ContBufferReset(card); - Release_Card(card); - exit(1); - } - if(HalfReady){ - if(BufRdyIdx==0){ - printf("\nBuffer 0 Half Ready...\n"); - printf("Write %d samples of Buffer0 to %s.dat file...\n", DI_ReadCount, FileName); - DI_AsyncDblBufferToFile(card); - DI_AsyncDblBufferOverrun(card, 0, &overrunFlag); - if(overrunFlag){ - printf("Overrun...\n"); - DI_AsyncDblBufferOverrun(card, 1, NULL); - } - BufRdyIdx = 1; - } - else{ - printf("\nBuffer 1 Half Ready...\n"); - printf("Write %d samples of Buffer1 to %s.dat file...\n", DI_ReadCount, FileName); - DI_AsyncDblBufferToFile(card); - DI_AsyncDblBufferOverrun(card, 0, &overrunFlag); - if(overrunFlag){ - printf("Overrun...\n"); - DI_AsyncDblBufferOverrun(card, 1, NULL); - } - BufRdyIdx = 0; - } - } - }while(!kbhit());getch(); - - /*Clear DI Setting and Get Remaining data*/ - err = DI_AsyncClear(card, &AccessCnt); - if(err<0){ - printf("DI_AsyncClear Error: %d\n", err); - DI_AsyncClear(card, &AccessCnt); - DI_ContBufferReset(card); - Release_Card(card); - exit(1); - } - - if(BufRdyIdx==0){ - printf("\nDI Acquisition is stopped...\n"); - printf("Last %d samples of Buffer0 had been written to %s.dat file...\n", AccessCnt, FileName); - } - else{ - printf("\nDI Acquisition is stopped...\n"); - printf("Last %d samples of Buffer1 had been written to %s.dat file...\n", AccessCnt, FileName); - } - - if(!AutoResetBuf) - DI_ContBufferReset(card); - Release_Card(card); - - printf("Press any key to exit...\n"); - getch(); - return 0; -} diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9222/C9222_DI_DMA_DBFtoFile/di.dsp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9222/C9222_DI_DMA_DBFtoFile/di.dsp deleted file mode 100644 index 50c0827..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9222/C9222_DI_DMA_DBFtoFile/di.dsp +++ /dev/null @@ -1,102 +0,0 @@ -# Microsoft Developer Studio Project File - Name="di" - Package Owner=<4> -# Microsoft Developer Studio Generated Build File, Format Version 6.00 -# ** DO NOT EDIT ** - -# TARGTYPE "Win32 (x86) Console Application" 0x0103 - -CFG=di - Win32 Debug -!MESSAGE This is not a valid makefile. To build this project using NMAKE, -!MESSAGE use the Export Makefile command and run -!MESSAGE -!MESSAGE NMAKE /f "di.mak". -!MESSAGE -!MESSAGE You can specify a configuration when running NMAKE -!MESSAGE by defining the macro CFG on the command line. For example: -!MESSAGE -!MESSAGE NMAKE /f "di.mak" CFG="di - Win32 Debug" -!MESSAGE -!MESSAGE Possible choices for configuration are: -!MESSAGE -!MESSAGE "di - Win32 Release" (based on "Win32 (x86) Console Application") -!MESSAGE "di - Win32 Debug" (based on "Win32 (x86) Console Application") -!MESSAGE - -# Begin Project -# PROP AllowPerConfigDependencies 0 -# PROP Scc_ProjName "" -# PROP Scc_LocalPath "" -CPP=cl.exe -RSC=rc.exe - -!IF "$(CFG)" == "di - Win32 Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "Release" -# PROP BASE Intermediate_Dir "Release" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "" -# PROP Intermediate_Dir "Release" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c -# ADD CPP /nologo /W3 /GX /O2 /I "../../../include" /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c -# ADD BASE RSC /l 0x404 /d "NDEBUG" -# ADD RSC /l 0x404 /d "NDEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ../../../lib/pci-dask.lib /nologo /subsystem:console /machine:I386 - -!ELSEIF "$(CFG)" == "di - Win32 Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "Debug" -# PROP BASE Intermediate_Dir "Debug" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "Debug" -# PROP Intermediate_Dir "Debug" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /GZ /c -# ADD CPP /nologo /W3 /Gm /GX /ZI /Od /I "../../../include" /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /GZ /c -# ADD BASE RSC /l 0x404 /d "_DEBUG" -# ADD RSC /l 0x404 /d "_DEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ../../../lib/pci-dask.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept - -!ENDIF - -# Begin Target - -# Name "di - Win32 Release" -# Name "di - Win32 Debug" -# Begin Group "Source Files" - -# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;idl;hpj;bat" -# Begin Source File - -SOURCE=.\di.c -# End Source File -# End Group -# Begin Group "Header Files" - -# PROP Default_Filter "h;hpp;hxx;hm;inl" -# End Group -# Begin Group "Resource Files" - -# PROP Default_Filter "ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe" -# End Group -# End Target -# End Project diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9222/C9222_DI_DMA_DBFtoFile/di.dsw b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9222/C9222_DI_DMA_DBFtoFile/di.dsw deleted file mode 100644 index ae94ec2..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9222/C9222_DI_DMA_DBFtoFile/di.dsw +++ /dev/null @@ -1,29 +0,0 @@ -Microsoft Developer Studio Workspace File, Format Version 6.00 -# WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE! - -############################################################################### - -Project: "di"=.\di.dsp - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ -}}} - -############################################################################### - -Global: - -Package=<5> -{{{ -}}} - -Package=<3> -{{{ -}}} - -############################################################################### - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9222/C9222_DI_DMA_DBFtoFile/di.exe b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9222/C9222_DI_DMA_DBFtoFile/di.exe deleted file mode 100644 index b189140..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9222/C9222_DI_DMA_DBFtoFile/di.exe and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9222/C9222_DI_DMA_InfiniteReTrigger/di.c b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9222/C9222_DI_DMA_InfiniteReTrigger/di.c deleted file mode 100644 index 3f6358d..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9222/C9222_DI_DMA_InfiniteReTrigger/di.c +++ /dev/null @@ -1,167 +0,0 @@ -/*----------------------------------------------------------------------------*/ -/* Company : ADLINK */ -/* Date : 2008/08/11 */ -/* */ -/* This sample performs continuous DI acquisition with infinite retriggrt. */ -/* With infinite retrigger mode, there are two buffer should be setup for */ -/* infinite acquisition. */ -/*----------------------------------------------------------------------------*/ -#include -#include -#include -#include -#include "dask.h" - -#define DI_COUNT 4000 - -int main(int argc, char **argv) -{ - I16 card, err; - U16 card_num; - U16 ConfigCtrl = P922x_DI_CONVSRC_INT; - U16 TrigCtrl = P922x_DI_TRGMOD_POST|P922x_DI_TRGSRC_GPI0|P922x_DI_EnReTigger; - U32 ReTriggerCount = 0; /*Infinite trigger*/ - BOOLEAN AutoResetBuf = 1; /*Auto Reset Buffer Descriptor in Driver*/ - U16 RDBuffer0[DI_COUNT]; - U16 RDBuffer1[DI_COUNT]; - U16 BufferId0; - U16 BufferId1; - U32 DI_ReadCount = DI_COUNT; /*DI Read Count*/ - U16 Port = 0; /*9222 supports only one DI port, port 0*/ - F64 SampleRate = 4000; - BOOLEAN Ready, StopFlag; - U16 RdyTrigCnt; - U32 AccessCnt; - FILE *w_file; - U8 FileName[] = "di_data.txt"; - U32 i; - /*--------------------------------*/ - - memset(RDBuffer0, '\0', DI_COUNT*sizeof(U16)); - memset(RDBuffer1, '\0', DI_COUNT*sizeof(U16)); - if(!(w_file=fopen(FileName, "w"))){ - printf("file open error...\n"); - exit(1); - } - printf("This sample performs continuous DI acquisition from DI Port\n"); - printf("with infinite retrigger at %6.3lf Hz sampling rate.\n\n", SampleRate); - - /*Open and Initialize Device*/ - printf("Card Number? "); - scanf(" %hd", &card_num); - card = Register_Card(PCI_9222, card_num); - if(card<0){ - printf("Register_Card Error: %d\n", card); - fclose(w_file); - exit(1); - } - - /*Configure DI*/ - err = DI_9222_Config(card, ConfigCtrl, TrigCtrl, ReTriggerCount, AutoResetBuf); - if(err<0){ - printf("DI_9222_Config Error: %d\n", err); - Release_Card(card); - fclose(w_file); - exit(1); - } - - /*Disable Double Buffer Mode*/ - err = DI_AsyncDblBufferMode(card, 0); - if(err<0){ - printf("DI_AsyncDblBufferMode Error: %d\n", err); - Release_Card(card); - fclose(w_file); - exit(1); - } - - /*Setup Buffer for DI DMA Transfer*/ - err = DI_ContBufferSetup(card, RDBuffer0, DI_COUNT, &BufferId0); - if(err<0){ - printf("DI_ContBufferSetup Error: %d\n", err); - Release_Card(card); - fclose(w_file); - exit(1); - } - err = DI_ContBufferSetup(card, RDBuffer1, DI_COUNT, &BufferId1); - if(err<0){ - printf("DI_ContBufferSetup Error: %d\n", err); - Release_Card(card); - fclose(w_file); - exit(1); - } - - /*DI Acquisition Start*/ - err = DI_ContReadPort(card, Port, &BufferId0, DI_ReadCount, SampleRate, ASYNCH_OP); - if(err<0){ - printf("DI_ContReadPort Error: %d\n", err); - DI_ContBufferReset(card); - Release_Card(card); - fclose(w_file); - exit(1); - } - printf("\nWait Infinite Retrigger from GPI0...\n"); - printf("You can press any key to stop...\n"); - do{ - err = DI_AsyncReTrigNextReady(card, &Ready, &StopFlag, &RdyTrigCnt); - if(err<0){ - printf("DI_AsyncReTrigNextReady Error: %d\n", err); - DI_AsyncClear(card, &AccessCnt); - DI_ContBufferReset(card); - Release_Card(card); - fclose(w_file); - exit(1); - } - if(Ready){ - printf("\nDI Trigger End with Next Trigger...\n"); - printf("Trigger Ready: %d, Trigger End: %d, Trigger Count: %d\n", Ready, StopFlag, RdyTrigCnt); - if(RdyTrigCnt==0){ - printf("Write %d samples of Buffer0 to %s file...\n", DI_ReadCount, FileName); - for(i=0; i -# Microsoft Developer Studio Generated Build File, Format Version 6.00 -# ** DO NOT EDIT ** - -# TARGTYPE "Win32 (x86) Console Application" 0x0103 - -CFG=di - Win32 Debug -!MESSAGE This is not a valid makefile. To build this project using NMAKE, -!MESSAGE use the Export Makefile command and run -!MESSAGE -!MESSAGE NMAKE /f "di.mak". -!MESSAGE -!MESSAGE You can specify a configuration when running NMAKE -!MESSAGE by defining the macro CFG on the command line. For example: -!MESSAGE -!MESSAGE NMAKE /f "di.mak" CFG="di - Win32 Debug" -!MESSAGE -!MESSAGE Possible choices for configuration are: -!MESSAGE -!MESSAGE "di - Win32 Release" (based on "Win32 (x86) Console Application") -!MESSAGE "di - Win32 Debug" (based on "Win32 (x86) Console Application") -!MESSAGE - -# Begin Project -# PROP AllowPerConfigDependencies 0 -# PROP Scc_ProjName "" -# PROP Scc_LocalPath "" -CPP=cl.exe -RSC=rc.exe - -!IF "$(CFG)" == "di - Win32 Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "Release" -# PROP BASE Intermediate_Dir "Release" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "" -# PROP Intermediate_Dir "Release" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c -# ADD CPP /nologo /W3 /GX /O2 /I "../../../include" /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c -# ADD BASE RSC /l 0x404 /d "NDEBUG" -# ADD RSC /l 0x404 /d "NDEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ../../../lib/pci-dask.lib /nologo /subsystem:console /machine:I386 - -!ELSEIF "$(CFG)" == "di - Win32 Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "Debug" -# PROP BASE Intermediate_Dir "Debug" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "Debug" -# PROP Intermediate_Dir "Debug" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /GZ /c -# ADD CPP /nologo /W3 /Gm /GX /ZI /Od /I "../../../include" /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /GZ /c -# ADD BASE RSC /l 0x404 /d "_DEBUG" -# ADD RSC /l 0x404 /d "_DEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ../../../lib/pci-dask.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept - -!ENDIF - -# Begin Target - -# Name "di - Win32 Release" -# Name "di - Win32 Debug" -# Begin Group "Source Files" - -# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;idl;hpj;bat" -# Begin Source File - -SOURCE=.\di.c -# End Source File -# End Group -# Begin Group "Header Files" - -# PROP Default_Filter "h;hpp;hxx;hm;inl" -# End Group -# Begin Group "Resource Files" - -# PROP Default_Filter "ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe" -# End Group -# End Target -# End Project diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9222/C9222_DI_DMA_InfiniteReTrigger/di.dsw b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9222/C9222_DI_DMA_InfiniteReTrigger/di.dsw deleted file mode 100644 index ae94ec2..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9222/C9222_DI_DMA_InfiniteReTrigger/di.dsw +++ /dev/null @@ -1,29 +0,0 @@ -Microsoft Developer Studio Workspace File, Format Version 6.00 -# WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE! - -############################################################################### - -Project: "di"=.\di.dsp - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ -}}} - -############################################################################### - -Global: - -Package=<5> -{{{ -}}} - -Package=<3> -{{{ -}}} - -############################################################################### - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9222/C9222_DI_DMA_InfiniteReTrigger/di.exe b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9222/C9222_DI_DMA_InfiniteReTrigger/di.exe deleted file mode 100644 index d10c631..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9222/C9222_DI_DMA_InfiniteReTrigger/di.exe and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9222/C9222_DI_DMA_Retrigger/di.c b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9222/C9222_DI_DMA_Retrigger/di.c deleted file mode 100644 index 84e52bd..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9222/C9222_DI_DMA_Retrigger/di.c +++ /dev/null @@ -1,148 +0,0 @@ -/*----------------------------------------------------------------------------*/ -/* Company : ADLINK */ -/* Date : 2008/08/19 */ -/* */ -/* This sample performs continuous DI acquisition with Retrigger. */ -/*----------------------------------------------------------------------------*/ -#include -#include -#include -#include -#include "dask.h" - -#define DI_ACQCOUNT 4000 -#define DI_TRIGCOUNT 4 -#define DI_BUFCOUNT DI_ACQCOUNT*DI_TRIGCOUNT - -int main(int argc, char **argv) -{ - I16 card, err; - U16 card_num; - U16 ConfigCtrl = P922x_DI_CONVSRC_INT; - U16 TrigCtrl = P922x_DI_TRGMOD_POST|P922x_DI_TRGSRC_GPI0|P922x_DI_EnReTigger; - U32 ReTriggerCount = DI_TRIGCOUNT-1; //Retrigger count = total trigger count-1 - BOOLEAN AutoResetBuf = 1; //Auto reset buffer descriptor in driver*/ - U16 RDBuffer[DI_BUFCOUNT]; - U16 BufferId; - U32 DI_ReadCount = DI_ACQCOUNT; //DI Read Count - U16 Port = 0; //9222 supports only one DI port, port 0 - F64 SampleRate = 2000000; - BOOLEAN Ready, StopFlag; - U16 RdyTrigCnt; - U32 AccessCnt; - FILE *w_file; - U8 FileName[] = "di_data.txt"; - U32 i; - - memset(RDBuffer, '\0', DI_BUFCOUNT*sizeof(U16)); - if(!(w_file=fopen(FileName, "w"))){ - printf("file open error...\n"); - exit(1); - } - printf("This sample performs continuous DI acquisition from DI Port\n"); - printf("with retrigger mode at %6.3lf Hz sampling rate.\n\n", SampleRate); - - /*Open and Initialize Device*/ - printf("Card Number? "); - scanf(" %hd", &card_num); - card = Register_Card(PCI_9222, card_num); - if(card<0){ - printf("Register_Card Error: %d\n", card); - fclose(w_file); - exit(1); - } - - /*Configure DI*/ - err = DI_9222_Config(card, ConfigCtrl, TrigCtrl, ReTriggerCount, AutoResetBuf); - if(err<0){ - printf("DI_9222_Config Error: %d\n", err); - Release_Card(card); - fclose(w_file); - exit(1); - } - - /*Disable Double Buffer Mode*/ - err = DI_AsyncDblBufferMode(card, 0); - if(err<0){ - printf("DI_AsyncDblBufferMode Error: %d\n", err); - Release_Card(card); - fclose(w_file); - exit(1); - } - - /*Setup Buffer for DI DMA Transfer*/ - err = DI_ContBufferSetup(card, RDBuffer, DI_BUFCOUNT, &BufferId); - if(err<0){ - printf("DI_ContBufferSetup Error: %d\n", err); - Release_Card(card); - fclose(w_file); - exit(1); - } - - /*DI Acquisition Start*/ - err = DI_ContReadPort(card, Port, &BufferId, DI_ReadCount, SampleRate, ASYNCH_OP); - if(err<0){ - printf("DI_ContReadPort Error: %d\n", err); - DI_ContBufferReset(card); - Release_Card(card); - fclose(w_file); - exit(1); - } - printf("Wait 4 external trigger from GPI0...\n"); - do{ - err = DI_AsyncReTrigNextReady(card, &Ready, &StopFlag, &RdyTrigCnt); - if(err<0){ - printf("DI_AsyncReTrigNextReady Error: %d\n", err); - DI_AsyncClear(card, &AccessCnt); - DI_ContBufferReset(card); - Release_Card(card); - fclose(w_file); - exit(1); - } - if(Ready){ - printf("\nDI Trigger End with Next Trigger...\n"); - printf("Trigger Ready: %d, Trigger End: %d, Trigger Count: %d\n", Ready, StopFlag, RdyTrigCnt); - } - if(StopFlag){ - printf("\nDI Acquisition End...\n"); - printf("Trigger Ready: %d, Trigger End: %d, Trigger Count: %d\n", Ready, StopFlag, RdyTrigCnt); - break; - } - }while(!kbhit()); - - /*Clear DI Setting and Get Remaining data*/ - err = DI_AsyncClear(card, &AccessCnt); - if(err<0){ - printf("DI_AsyncClear Error: %d\n", err); - DI_AsyncClear(card, &AccessCnt); - DI_ContBufferReset(card); - Release_Card(card); - fclose(w_file); - exit(1); - } - - if(StopFlag){ - printf("\n\nDI Acquisition Done... Acquired %d samples...\n", AccessCnt); - printf("Write %d samples of Buffer to %s file...\n", AccessCnt, FileName); - for(i=0; i -# Microsoft Developer Studio Generated Build File, Format Version 6.00 -# ** DO NOT EDIT ** - -# TARGTYPE "Win32 (x86) Console Application" 0x0103 - -CFG=di - Win32 Debug -!MESSAGE This is not a valid makefile. To build this project using NMAKE, -!MESSAGE use the Export Makefile command and run -!MESSAGE -!MESSAGE NMAKE /f "di.mak". -!MESSAGE -!MESSAGE You can specify a configuration when running NMAKE -!MESSAGE by defining the macro CFG on the command line. For example: -!MESSAGE -!MESSAGE NMAKE /f "di.mak" CFG="di - Win32 Debug" -!MESSAGE -!MESSAGE Possible choices for configuration are: -!MESSAGE -!MESSAGE "di - Win32 Release" (based on "Win32 (x86) Console Application") -!MESSAGE "di - Win32 Debug" (based on "Win32 (x86) Console Application") -!MESSAGE - -# Begin Project -# PROP AllowPerConfigDependencies 0 -# PROP Scc_ProjName "" -# PROP Scc_LocalPath "" -CPP=cl.exe -RSC=rc.exe - -!IF "$(CFG)" == "di - Win32 Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "Release" -# PROP BASE Intermediate_Dir "Release" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "" -# PROP Intermediate_Dir "Release" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c -# ADD CPP /nologo /W3 /GX /O2 /I "../../../include" /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c -# ADD BASE RSC /l 0x404 /d "NDEBUG" -# ADD RSC /l 0x404 /d "NDEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ../../../lib/pci-dask.lib /nologo /subsystem:console /machine:I386 - -!ELSEIF "$(CFG)" == "di - Win32 Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "Debug" -# PROP BASE Intermediate_Dir "Debug" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "Debug" -# PROP Intermediate_Dir "Debug" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /GZ /c -# ADD CPP /nologo /W3 /Gm /GX /ZI /Od /I "../../../include" /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /GZ /c -# ADD BASE RSC /l 0x404 /d "_DEBUG" -# ADD RSC /l 0x404 /d "_DEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ../../../lib/pci-dask.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept - -!ENDIF - -# Begin Target - -# Name "di - Win32 Release" -# Name "di - Win32 Debug" -# Begin Group "Source Files" - -# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;idl;hpj;bat" -# Begin Source File - -SOURCE=.\di.c -# End Source File -# End Group -# Begin Group "Header Files" - -# PROP Default_Filter "h;hpp;hxx;hm;inl" -# End Group -# Begin Group "Resource Files" - -# PROP Default_Filter "ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe" -# End Group -# End Target -# End Project diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9222/C9222_DI_DMA_Retrigger/di.dsw b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9222/C9222_DI_DMA_Retrigger/di.dsw deleted file mode 100644 index ae94ec2..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9222/C9222_DI_DMA_Retrigger/di.dsw +++ /dev/null @@ -1,29 +0,0 @@ -Microsoft Developer Studio Workspace File, Format Version 6.00 -# WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE! - -############################################################################### - -Project: "di"=.\di.dsp - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ -}}} - -############################################################################### - -Global: - -Package=<5> -{{{ -}}} - -Package=<3> -{{{ -}}} - -############################################################################### - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9222/C9222_DI_DMA_Retrigger/di.exe b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9222/C9222_DI_DMA_Retrigger/di.exe deleted file mode 100644 index 9b528dd..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9222/C9222_DI_DMA_Retrigger/di.exe and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9222/C9222_DO_DMA/do.c b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9222/C9222_DO_DMA/do.c deleted file mode 100644 index 12d7653..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9222/C9222_DO_DMA/do.c +++ /dev/null @@ -1,104 +0,0 @@ -/*----------------------------------------------------------------------------*/ -/* Company : ADLINK */ -/* Date : 2008/08/11 */ -/* */ -/* This sample performs continuous digital output to DO port with DMA. */ -/*----------------------------------------------------------------------------*/ -#include -#include -#include -#include -#include -#include "dask.h" - -#define WRITECOUNT 4000 -#define TIMEBASE 80000000 -#define SAMPRATE 4000 - -int main(int argc, char **argv) -{ - I16 card, err; - U16 card_num; - - U16 ConfigCtrl = P922x_DO_CONVSRC_INT; - U16 TrigCtrl = P922x_DO_TRGMOD_POST|P922x_DO_TRGSRC_SOFT; - U32 ReTrgCnt = 0; //Not used in non-retrigger mode - U32 DLY1Cnt = 0; //Not used in post trigger mode - U32 DLY2Cnt = 0; //No used in 922x do - BOOLEAN AutoResetBuf = 1; //Auto reset buffer descriptors built in driver - U32 W_Buffer[WRITECOUNT]; //Data buffer to be written - U32 WriteCount = WRITECOUNT; //Output count - U16 BufferId; - U16 Port = 0; //Only one DO port - U16 Iterations = 1; //922x has no output repeats of digital output - F64 SampleRate = SAMPRATE; - BOOLEAN Stopped; - U32 AccessCnt = 0; - U32 vi; - - for(vi=0; vi -# Microsoft Developer Studio Generated Build File, Format Version 6.00 -# ** DO NOT EDIT ** - -# TARGTYPE "Win32 (x86) Console Application" 0x0103 - -CFG=do - Win32 Debug -!MESSAGE This is not a valid makefile. To build this project using NMAKE, -!MESSAGE use the Export Makefile command and run -!MESSAGE -!MESSAGE NMAKE /f "do.mak". -!MESSAGE -!MESSAGE You can specify a configuration when running NMAKE -!MESSAGE by defining the macro CFG on the command line. For example: -!MESSAGE -!MESSAGE NMAKE /f "do.mak" CFG="do - Win32 Debug" -!MESSAGE -!MESSAGE Possible choices for configuration are: -!MESSAGE -!MESSAGE "do - Win32 Release" (based on "Win32 (x86) Console Application") -!MESSAGE "do - Win32 Debug" (based on "Win32 (x86) Console Application") -!MESSAGE - -# Begin Project -# PROP AllowPerConfigDependencies 0 -# PROP Scc_ProjName "" -# PROP Scc_LocalPath "" -CPP=cl.exe -RSC=rc.exe - -!IF "$(CFG)" == "do - Win32 Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "Release" -# PROP BASE Intermediate_Dir "Release" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "" -# PROP Intermediate_Dir "Release" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c -# ADD CPP /nologo /W3 /GX /O2 /I "../../../include" /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c -# ADD BASE RSC /l 0x404 /d "NDEBUG" -# ADD RSC /l 0x404 /d "NDEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ../../../lib/pci-dask.lib /nologo /subsystem:console /machine:I386 - -!ELSEIF "$(CFG)" == "do - Win32 Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "Debug" -# PROP BASE Intermediate_Dir "Debug" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "Debug" -# PROP Intermediate_Dir "Debug" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /GZ /c -# ADD CPP /nologo /W3 /Gm /GX /ZI /Od /I "../../../include" /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /GZ /c -# ADD BASE RSC /l 0x404 /d "_DEBUG" -# ADD RSC /l 0x404 /d "_DEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ../../../lib/pci-dask.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept - -!ENDIF - -# Begin Target - -# Name "do - Win32 Release" -# Name "do - Win32 Debug" -# Begin Group "Source Files" - -# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;idl;hpj;bat" -# Begin Source File - -SOURCE=.\do.c -# End Source File -# End Group -# Begin Group "Header Files" - -# PROP Default_Filter "h;hpp;hxx;hm;inl" -# End Group -# Begin Group "Resource Files" - -# PROP Default_Filter "ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe" -# End Group -# End Target -# End Project diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9222/C9222_DO_DMA/do.dsw b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9222/C9222_DO_DMA/do.dsw deleted file mode 100644 index 3e43da3..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9222/C9222_DO_DMA/do.dsw +++ /dev/null @@ -1,29 +0,0 @@ -Microsoft Developer Studio Workspace File, Format Version 6.00 -# WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE! - -############################################################################### - -Project: "do"=.\do.dsp - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ -}}} - -############################################################################### - -Global: - -Package=<5> -{{{ -}}} - -Package=<3> -{{{ -}}} - -############################################################################### - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9222/C9222_DO_DMA/do.exe b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9222/C9222_DO_DMA/do.exe deleted file mode 100644 index cfb13ca..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9222/C9222_DO_DMA/do.exe and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9222/C9222_DO_DMA_DelayTrigger/do.c b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9222/C9222_DO_DMA_DelayTrigger/do.c deleted file mode 100644 index 092ebed..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9222/C9222_DO_DMA_DelayTrigger/do.c +++ /dev/null @@ -1,102 +0,0 @@ -/*----------------------------------------------------------------------------*/ -/* Company : ADLINK */ -/* Date : 2008/08/12 */ -/* */ -/* This sample performs continuous DO operation with delay trigger. */ -/*----------------------------------------------------------------------------*/ -#include -#include -#include -#include -#include -#include "dask.h" - -#define WRITECOUNT 4000 -#define TIMEBASE 80000000 -#define SAMPRATE 4000 - -int main(int argc, char **argv) -{ - I16 card, err; - U16 card_num; - U16 ConfigCtrl = P922x_DO_CONVSRC_INT; - U16 TrigCtrl = P922x_DO_TRGMOD_DELAY|P922x_DO_TRGSRC_GPI0; - U32 ReTrgCnt = 0; //Ignored if Retrigger mode dose not be enabled - U32 DLY1Cnt = 40000000; //Delay interval; Delay Time = DLY1Cnt/TIMEBASE Sec. - U32 DLY2Cnt = 0; //No used in 922x do - BOOLEAN AutoResetBuf = 1; //Auto reset buffer descriptors built in driver - U32 W_Buffer[WRITECOUNT]; //Data buffer to be written - U32 WriteCount = WRITECOUNT; //Output count - U16 BufferId; - U16 Port = 0; //Only one DO port - U16 Iterations = 1; //922x has no DO repeats - F64 SampleRate = SAMPRATE; - BOOLEAN Stopped; - U32 AccessCnt = 0; - U32 vi; - - for(vi=0; vi -# Microsoft Developer Studio Generated Build File, Format Version 6.00 -# ** DO NOT EDIT ** - -# TARGTYPE "Win32 (x86) Console Application" 0x0103 - -CFG=do - Win32 Debug -!MESSAGE This is not a valid makefile. To build this project using NMAKE, -!MESSAGE use the Export Makefile command and run -!MESSAGE -!MESSAGE NMAKE /f "do.mak". -!MESSAGE -!MESSAGE You can specify a configuration when running NMAKE -!MESSAGE by defining the macro CFG on the command line. For example: -!MESSAGE -!MESSAGE NMAKE /f "do.mak" CFG="do - Win32 Debug" -!MESSAGE -!MESSAGE Possible choices for configuration are: -!MESSAGE -!MESSAGE "do - Win32 Release" (based on "Win32 (x86) Console Application") -!MESSAGE "do - Win32 Debug" (based on "Win32 (x86) Console Application") -!MESSAGE - -# Begin Project -# PROP AllowPerConfigDependencies 0 -# PROP Scc_ProjName "" -# PROP Scc_LocalPath "" -CPP=cl.exe -RSC=rc.exe - -!IF "$(CFG)" == "do - Win32 Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "Release" -# PROP BASE Intermediate_Dir "Release" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "" -# PROP Intermediate_Dir "Release" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c -# ADD CPP /nologo /W3 /GX /O2 /I "../../../include" /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c -# ADD BASE RSC /l 0x404 /d "NDEBUG" -# ADD RSC /l 0x404 /d "NDEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ../../../lib/pci-dask.lib /nologo /subsystem:console /machine:I386 - -!ELSEIF "$(CFG)" == "do - Win32 Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "Debug" -# PROP BASE Intermediate_Dir "Debug" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "Debug" -# PROP Intermediate_Dir "Debug" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /GZ /c -# ADD CPP /nologo /W3 /Gm /GX /ZI /Od /I "../../../include" /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /GZ /c -# ADD BASE RSC /l 0x404 /d "_DEBUG" -# ADD RSC /l 0x404 /d "_DEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ../../../lib/pci-dask.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept - -!ENDIF - -# Begin Target - -# Name "do - Win32 Release" -# Name "do - Win32 Debug" -# Begin Group "Source Files" - -# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;idl;hpj;bat" -# Begin Source File - -SOURCE=.\do.c -# End Source File -# End Group -# Begin Group "Header Files" - -# PROP Default_Filter "h;hpp;hxx;hm;inl" -# End Group -# Begin Group "Resource Files" - -# PROP Default_Filter "ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe" -# End Group -# End Target -# End Project diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9222/C9222_DO_DMA_DelayTrigger/do.dsw b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9222/C9222_DO_DMA_DelayTrigger/do.dsw deleted file mode 100644 index 3e43da3..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9222/C9222_DO_DMA_DelayTrigger/do.dsw +++ /dev/null @@ -1,29 +0,0 @@ -Microsoft Developer Studio Workspace File, Format Version 6.00 -# WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE! - -############################################################################### - -Project: "do"=.\do.dsp - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ -}}} - -############################################################################### - -Global: - -Package=<5> -{{{ -}}} - -Package=<3> -{{{ -}}} - -############################################################################### - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9222/C9222_DO_DMA_DelayTrigger/do.exe b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9222/C9222_DO_DMA_DelayTrigger/do.exe deleted file mode 100644 index 3e588fb..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9222/C9222_DO_DMA_DelayTrigger/do.exe and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9222/C9222_DO_DMA_Event/do.c b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9222/C9222_DO_DMA_Event/do.c deleted file mode 100644 index 819d020..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9222/C9222_DO_DMA_Event/do.c +++ /dev/null @@ -1,124 +0,0 @@ -/*----------------------------------------------------------------------------*/ -/* Company : ADLINK */ -/* Date : 2008/08/12 */ -/* */ -/* This sample performs continuous DO operation with call back function. */ -/*----------------------------------------------------------------------------*/ -#include -#include -#include -#include -#include -#include "dask.h" - -#define WRITECOUNT 4000 -#define TIMEBASE 80000000 -#define SAMPRATE 4000 - -I16 card, err; -U16 card_num; -U16 ConfigCtrl = P922x_DO_CONVSRC_INT; -U16 TrigCtrl = P922x_DO_TRGMOD_POST|P922x_DO_TRGSRC_SOFT; -U32 ReTrgCnt = 0; //Not used in non-retrigger mode -U32 DLY1Cnt = 0; //Not used in post trigger mode -U32 DLY2Cnt = 0; //No used in 922x do -BOOLEAN AutoResetBuf = 1; //Auto reset buffer descriptors built in driver -U32 W_Buffer[WRITECOUNT]; //Data buffer to be written -U32 WriteCount = WRITECOUNT; //Output count -U16 BufferId; -U16 Port = 0; //Only one DO port -U16 Iterations = 1; //922x has no output repeats of digital output -F64 SampleRate = SAMPRATE; -BOOLEAN Stopped; -U32 AccessCnt = 0; -U32 vi; -U16 fStop; - - -void DO_END_CALLBACK() -{ - printf("\n\n\nDO Done...\n"); - if(!fStop){ - DO_AsyncClear(card, &AccessCnt); - printf("%d data has been updated...\n", AccessCnt); - fStop = 1; - } - else{ - printf("%d data has been updated...\n", AccessCnt); - fStop = 0; - } -} - -int main(int argc, char **argv) -{ - for(vi=0; vi -# Microsoft Developer Studio Generated Build File, Format Version 6.00 -# ** DO NOT EDIT ** - -# TARGTYPE "Win32 (x86) Console Application" 0x0103 - -CFG=do - Win32 Debug -!MESSAGE This is not a valid makefile. To build this project using NMAKE, -!MESSAGE use the Export Makefile command and run -!MESSAGE -!MESSAGE NMAKE /f "do.mak". -!MESSAGE -!MESSAGE You can specify a configuration when running NMAKE -!MESSAGE by defining the macro CFG on the command line. For example: -!MESSAGE -!MESSAGE NMAKE /f "do.mak" CFG="do - Win32 Debug" -!MESSAGE -!MESSAGE Possible choices for configuration are: -!MESSAGE -!MESSAGE "do - Win32 Release" (based on "Win32 (x86) Console Application") -!MESSAGE "do - Win32 Debug" (based on "Win32 (x86) Console Application") -!MESSAGE - -# Begin Project -# PROP AllowPerConfigDependencies 0 -# PROP Scc_ProjName "" -# PROP Scc_LocalPath "" -CPP=cl.exe -RSC=rc.exe - -!IF "$(CFG)" == "do - Win32 Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "Release" -# PROP BASE Intermediate_Dir "Release" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "" -# PROP Intermediate_Dir "Release" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c -# ADD CPP /nologo /W3 /GX /O2 /I "../../../include" /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c -# ADD BASE RSC /l 0x404 /d "NDEBUG" -# ADD RSC /l 0x404 /d "NDEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ../../../lib/pci-dask.lib /nologo /subsystem:console /machine:I386 - -!ELSEIF "$(CFG)" == "do - Win32 Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "Debug" -# PROP BASE Intermediate_Dir "Debug" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "Debug" -# PROP Intermediate_Dir "Debug" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /GZ /c -# ADD CPP /nologo /W3 /Gm /GX /ZI /Od /I "../../../include" /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /GZ /c -# ADD BASE RSC /l 0x404 /d "_DEBUG" -# ADD RSC /l 0x404 /d "_DEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ../../../lib/pci-dask.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept - -!ENDIF - -# Begin Target - -# Name "do - Win32 Release" -# Name "do - Win32 Debug" -# Begin Group "Source Files" - -# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;idl;hpj;bat" -# Begin Source File - -SOURCE=.\do.c -# End Source File -# End Group -# Begin Group "Header Files" - -# PROP Default_Filter "h;hpp;hxx;hm;inl" -# End Group -# Begin Group "Resource Files" - -# PROP Default_Filter "ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe" -# End Group -# End Target -# End Project diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9222/C9222_DO_DMA_Event/do.dsw b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9222/C9222_DO_DMA_Event/do.dsw deleted file mode 100644 index 3e43da3..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9222/C9222_DO_DMA_Event/do.dsw +++ /dev/null @@ -1,29 +0,0 @@ -Microsoft Developer Studio Workspace File, Format Version 6.00 -# WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE! - -############################################################################### - -Project: "do"=.\do.dsp - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ -}}} - -############################################################################### - -Global: - -Package=<5> -{{{ -}}} - -Package=<3> -{{{ -}}} - -############################################################################### - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9222/C9222_DO_DMA_Event/do.exe b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9222/C9222_DO_DMA_Event/do.exe deleted file mode 100644 index 28a6b47..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9222/C9222_DO_DMA_Event/do.exe and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9222/C9222_DO_DMA_InfiniteReTrigger/do.c b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9222/C9222_DO_DMA_InfiniteReTrigger/do.c deleted file mode 100644 index 1b7d4dd..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9222/C9222_DO_DMA_InfiniteReTrigger/do.c +++ /dev/null @@ -1,98 +0,0 @@ -/*----------------------------------------------------------------------------*/ -/* Company : ADLINK */ -/* Date : 2008/08/12 */ -/* */ -/* This sample performs continuous DO operation with infinite trigger. */ -/*----------------------------------------------------------------------------*/ -#include -#include -#include -#include -#include -#include "dask.h" - -#define WRITECOUNT 4000 -#define TIMEBASE 80000000 -#define SAMPRATE 4000 - -int main(int argc, char **argv) -{ - I16 card, err; - U16 card_num; - - U16 ConfigCtrl = P922x_DO_CONVSRC_INT; - U16 TrigCtrl = P922x_DO_TRGMOD_POST|P922x_DO_TRGSRC_GPI0|P922x_DO_EnReTigger; - U32 ReTrgCnt = 0; //0 means infinite trigger in retrigger mode - U32 DLY1Cnt = 0; //Ignored in non-delay trigger mode - U32 DLY2Cnt = 0; //No used in 922x do - BOOLEAN AutoResetBuf = 1; //Auto reset buffer descriptors built in driver - U32 W_Buffer[WRITECOUNT]; //Data buffer to be written - U32 WriteCount = WRITECOUNT; //Output count - U16 BufferId; - U16 Port = 0; //Only one DO port - U16 Iterations = 1; //922x has no DO repeats - F64 SampleRate = SAMPRATE; - BOOLEAN Stopped; - U32 AccessCnt = 0; - U32 vi; - - for(vi=0; vi -# Microsoft Developer Studio Generated Build File, Format Version 6.00 -# ** DO NOT EDIT ** - -# TARGTYPE "Win32 (x86) Console Application" 0x0103 - -CFG=do - Win32 Debug -!MESSAGE This is not a valid makefile. To build this project using NMAKE, -!MESSAGE use the Export Makefile command and run -!MESSAGE -!MESSAGE NMAKE /f "do.mak". -!MESSAGE -!MESSAGE You can specify a configuration when running NMAKE -!MESSAGE by defining the macro CFG on the command line. For example: -!MESSAGE -!MESSAGE NMAKE /f "do.mak" CFG="do - Win32 Debug" -!MESSAGE -!MESSAGE Possible choices for configuration are: -!MESSAGE -!MESSAGE "do - Win32 Release" (based on "Win32 (x86) Console Application") -!MESSAGE "do - Win32 Debug" (based on "Win32 (x86) Console Application") -!MESSAGE - -# Begin Project -# PROP AllowPerConfigDependencies 0 -# PROP Scc_ProjName "" -# PROP Scc_LocalPath "" -CPP=cl.exe -RSC=rc.exe - -!IF "$(CFG)" == "do - Win32 Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "Release" -# PROP BASE Intermediate_Dir "Release" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "" -# PROP Intermediate_Dir "Release" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c -# ADD CPP /nologo /W3 /GX /O2 /I "../../../include" /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c -# ADD BASE RSC /l 0x404 /d "NDEBUG" -# ADD RSC /l 0x404 /d "NDEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ../../../lib/pci-dask.lib /nologo /subsystem:console /machine:I386 - -!ELSEIF "$(CFG)" == "do - Win32 Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "Debug" -# PROP BASE Intermediate_Dir "Debug" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "Debug" -# PROP Intermediate_Dir "Debug" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /GZ /c -# ADD CPP /nologo /W3 /Gm /GX /ZI /Od /I "../../../include" /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /GZ /c -# ADD BASE RSC /l 0x404 /d "_DEBUG" -# ADD RSC /l 0x404 /d "_DEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ../../../lib/pci-dask.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept - -!ENDIF - -# Begin Target - -# Name "do - Win32 Release" -# Name "do - Win32 Debug" -# Begin Group "Source Files" - -# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;idl;hpj;bat" -# Begin Source File - -SOURCE=.\do.c -# End Source File -# End Group -# Begin Group "Header Files" - -# PROP Default_Filter "h;hpp;hxx;hm;inl" -# End Group -# Begin Group "Resource Files" - -# PROP Default_Filter "ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe" -# End Group -# End Target -# End Project diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9222/C9222_DO_DMA_InfiniteReTrigger/do.dsw b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9222/C9222_DO_DMA_InfiniteReTrigger/do.dsw deleted file mode 100644 index 3e43da3..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9222/C9222_DO_DMA_InfiniteReTrigger/do.dsw +++ /dev/null @@ -1,29 +0,0 @@ -Microsoft Developer Studio Workspace File, Format Version 6.00 -# WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE! - -############################################################################### - -Project: "do"=.\do.dsp - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ -}}} - -############################################################################### - -Global: - -Package=<5> -{{{ -}}} - -Package=<3> -{{{ -}}} - -############################################################################### - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9222/C9222_DO_DMA_InfiniteReTrigger/do.exe b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9222/C9222_DO_DMA_InfiniteReTrigger/do.exe deleted file mode 100644 index 3eaa3b3..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9222/C9222_DO_DMA_InfiniteReTrigger/do.exe and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9222/C9222_DO_DMA_ReTrigEvent/do.c b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9222/C9222_DO_DMA_ReTrigEvent/do.c deleted file mode 100644 index 7badb7d..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9222/C9222_DO_DMA_ReTrigEvent/do.c +++ /dev/null @@ -1,142 +0,0 @@ -/*----------------------------------------------------------------------------*/ -/* Company : ADLINK */ -/* Date : 2008/08/12 */ -/* */ -/* This sample performs continuous DO retrigger operation with */ -/* call back function. */ -/*----------------------------------------------------------------------------*/ -#include -#include -#include -#include -#include -#include "dask.h" - -#define WRITECOUNT 4000 -#define TIMEBASE 80000000 -#define SAMPRATE 4000 - -I16 card, err; -U16 card_num; -U16 ConfigCtrl = P922x_DO_CONVSRC_INT; -U16 TrigCtrl = P922x_DO_TRGMOD_POST|P922x_DO_TRGSRC_GPI0|P922x_DO_EnReTigger; -U32 ReTrgCnt = 3; //Retrigger Count -U32 DLY1Cnt = 0; //Ignored in non-delay trigger mode -U32 DLY2Cnt = 0; //No used in 922x DO -BOOLEAN AutoResetBuf = 1; //Auto reset buffer descriptors built in driver -U32 W_Buffer[WRITECOUNT]; //Data buffer to be written -U32 WriteCount = WRITECOUNT; //Output count -U16 BufferId; -U16 Port = 0; //Only one DO port -U16 Iterations = 1; //922x has no DO repeats -F64 SampleRate = SAMPRATE; -BOOLEAN Stopped; -U32 AccessCnt = 0; -U32 vi; -BOOLEAN Stopped = 0; -U32 TrigEndCount = 0; - - -void DO_END_CALLBACK() -{ - if(!Stopped){ - DO_AsyncClear(card, &AccessCnt); - printf("\nDO Done...\n"); - Stopped = 1; - } - else{ - printf("\nDO Done...\n"); - Stopped = 0; - } -} - -void DO_RETRIGGER_CALLBACK() -{ - TrigEndCount++; - printf("\nDO Trigger End with next trigger: %d\n", TrigEndCount); -} - - -int main(int argc, char **argv) -{ - - for(vi=0; vi -# Microsoft Developer Studio Generated Build File, Format Version 6.00 -# ** DO NOT EDIT ** - -# TARGTYPE "Win32 (x86) Console Application" 0x0103 - -CFG=do - Win32 Debug -!MESSAGE This is not a valid makefile. To build this project using NMAKE, -!MESSAGE use the Export Makefile command and run -!MESSAGE -!MESSAGE NMAKE /f "do.mak". -!MESSAGE -!MESSAGE You can specify a configuration when running NMAKE -!MESSAGE by defining the macro CFG on the command line. For example: -!MESSAGE -!MESSAGE NMAKE /f "do.mak" CFG="do - Win32 Debug" -!MESSAGE -!MESSAGE Possible choices for configuration are: -!MESSAGE -!MESSAGE "do - Win32 Release" (based on "Win32 (x86) Console Application") -!MESSAGE "do - Win32 Debug" (based on "Win32 (x86) Console Application") -!MESSAGE - -# Begin Project -# PROP AllowPerConfigDependencies 0 -# PROP Scc_ProjName "" -# PROP Scc_LocalPath "" -CPP=cl.exe -RSC=rc.exe - -!IF "$(CFG)" == "do - Win32 Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "Release" -# PROP BASE Intermediate_Dir "Release" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "" -# PROP Intermediate_Dir "Release" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c -# ADD CPP /nologo /W3 /GX /O2 /I "../../../include" /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c -# ADD BASE RSC /l 0x404 /d "NDEBUG" -# ADD RSC /l 0x404 /d "NDEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ../../../lib/pci-dask.lib /nologo /subsystem:console /machine:I386 - -!ELSEIF "$(CFG)" == "do - Win32 Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "Debug" -# PROP BASE Intermediate_Dir "Debug" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "Debug" -# PROP Intermediate_Dir "Debug" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /GZ /c -# ADD CPP /nologo /W3 /Gm /GX /ZI /Od /I "../../../include" /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /GZ /c -# ADD BASE RSC /l 0x404 /d "_DEBUG" -# ADD RSC /l 0x404 /d "_DEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ../../../lib/pci-dask.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept - -!ENDIF - -# Begin Target - -# Name "do - Win32 Release" -# Name "do - Win32 Debug" -# Begin Group "Source Files" - -# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;idl;hpj;bat" -# Begin Source File - -SOURCE=.\do.c -# End Source File -# End Group -# Begin Group "Header Files" - -# PROP Default_Filter "h;hpp;hxx;hm;inl" -# End Group -# Begin Group "Resource Files" - -# PROP Default_Filter "ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe" -# End Group -# End Target -# End Project diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9222/C9222_DO_DMA_ReTrigEvent/do.dsw b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9222/C9222_DO_DMA_ReTrigEvent/do.dsw deleted file mode 100644 index 3e43da3..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9222/C9222_DO_DMA_ReTrigEvent/do.dsw +++ /dev/null @@ -1,29 +0,0 @@ -Microsoft Developer Studio Workspace File, Format Version 6.00 -# WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE! - -############################################################################### - -Project: "do"=.\do.dsp - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ -}}} - -############################################################################### - -Global: - -Package=<5> -{{{ -}}} - -Package=<3> -{{{ -}}} - -############################################################################### - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9222/C9222_DO_DMA_ReTrigEvent/do.exe b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9222/C9222_DO_DMA_ReTrigEvent/do.exe deleted file mode 100644 index 03d3076..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9222/C9222_DO_DMA_ReTrigEvent/do.exe and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9222/C9222_Encoder/encoder.c b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9222/C9222_Encoder/encoder.c deleted file mode 100644 index eeb620a..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9222/C9222_Encoder/encoder.c +++ /dev/null @@ -1,86 +0,0 @@ -/*----------------------------------------------------------------------------*/ -/* Company : ADLINK */ -/* Date : 2008/08/09 */ -/* */ -/* This sample performs X4 AB phase encode. */ -/*----------------------------------------------------------------------------*/ -#include -#include -#include -#include -#include "dask.h" - - -int main(int argc, char **argv) -{ - I16 card, err; - U16 card_num; - U16 GCtr; - U16 Mode = x4_AB_Phase_Encoder; - U16 SrcCtrl = 0; //Not used in encoder - U16 PolCtrl = 0; //Not used in encoder - U32 LReg1_Val = 0; //Not used in encoder - U32 LReg2_Val = 0; //Not used in encoder - U32 RD_Value; - int i = 0; - - printf("This sample performs x4 AB phase mode.\n"); - printf("Card Number? "); - scanf(" %hd", &card_num); - - card = Register_Card(PCI_9222, card_num); - if(card<0){ - printf("Register_Card Error: %d\n", card); - exit(1); - } - - printf("Encoder Number? "); - scanf(" %hd", &GCtr); - GCtr = (GCtr==1)? P922x_ENCODER1:P922x_ENCODER0; - - /*Clear Encoder*/ - err = GPTC_Clear(card, GCtr); - if(err<0){ - printf("GPTC_Clear Error: %d\n", err); - goto ERR_RET; - } - - /*Setup Encoder*/ - err = GPTC_Setup(card, GCtr, Mode, SrcCtrl, PolCtrl, LReg1_Val, LReg2_Val); - if(err<0){ - printf("GPTC_Setup Error: %d\n", err); - goto ERR_RET; - } - - /*Enable Encoder*/ - printf("Press any key to enable counter..."); - getch(); - err = GPTC_Control(card, GCtr, IntENABLE, 1); - if(err<0){ - printf("GPTC_Control(IntENABLE) Error: %d\n", err); - goto ERR_RET; - } - - printf("\n\nYou can press any key to stop...\n"); - do{ - /*Read Encoder*/ - err = GPTC_Read(card, GCtr, &RD_Value); - if(err<0){ - printf("GPTC_Read Error: %d\n", err); - goto ERR_RET2; - } - printf("Encoder%d Value: %11d\r", GCtr-4, RD_Value); - Sleep(100); - }while(!kbhit());getch(); - printf("Encoder%d Value: %11d\n", GCtr-4, RD_Value); - -ERR_RET2: - GPTC_Control(card, GCtr, IntENABLE, 0); -ERR_RET: - GPTC_Clear(card, GCtr); - Release_Card(card); - - printf("\n\nPress any key to exit..."); - getch(); - return 0; -} diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9222/C9222_Encoder/encoder.dsp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9222/C9222_Encoder/encoder.dsp deleted file mode 100644 index 2571d54..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9222/C9222_Encoder/encoder.dsp +++ /dev/null @@ -1,102 +0,0 @@ -# Microsoft Developer Studio Project File - Name="encoder" - Package Owner=<4> -# Microsoft Developer Studio Generated Build File, Format Version 6.00 -# ** DO NOT EDIT ** - -# TARGTYPE "Win32 (x86) Console Application" 0x0103 - -CFG=encoder - Win32 Debug -!MESSAGE This is not a valid makefile. To build this project using NMAKE, -!MESSAGE use the Export Makefile command and run -!MESSAGE -!MESSAGE NMAKE /f "encoder.mak". -!MESSAGE -!MESSAGE You can specify a configuration when running NMAKE -!MESSAGE by defining the macro CFG on the command line. For example: -!MESSAGE -!MESSAGE NMAKE /f "encoder.mak" CFG="encoder - Win32 Debug" -!MESSAGE -!MESSAGE Possible choices for configuration are: -!MESSAGE -!MESSAGE "encoder - Win32 Release" (based on "Win32 (x86) Console Application") -!MESSAGE "encoder - Win32 Debug" (based on "Win32 (x86) Console Application") -!MESSAGE - -# Begin Project -# PROP AllowPerConfigDependencies 0 -# PROP Scc_ProjName "" -# PROP Scc_LocalPath "" -CPP=cl.exe -RSC=rc.exe - -!IF "$(CFG)" == "encoder - Win32 Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "Release" -# PROP BASE Intermediate_Dir "Release" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "" -# PROP Intermediate_Dir "Release" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c -# ADD CPP /nologo /W3 /GX /O2 /I "../../../include" /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c -# ADD BASE RSC /l 0x404 /d "NDEBUG" -# ADD RSC /l 0x404 /d "NDEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ../../../lib/pci-dask.lib /nologo /subsystem:console /machine:I386 - -!ELSEIF "$(CFG)" == "encoder - Win32 Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "Debug" -# PROP BASE Intermediate_Dir "Debug" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "Debug" -# PROP Intermediate_Dir "Debug" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /GZ /c -# ADD CPP /nologo /W3 /Gm /GX /ZI /Od /I "../../../include" /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /GZ /c -# ADD BASE RSC /l 0x404 /d "_DEBUG" -# ADD RSC /l 0x404 /d "_DEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ../../../lib/pci-dask.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept - -!ENDIF - -# Begin Target - -# Name "encoder - Win32 Release" -# Name "encoder - Win32 Debug" -# Begin Group "Source Files" - -# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;idl;hpj;bat" -# Begin Source File - -SOURCE=.\encoder.c -# End Source File -# End Group -# Begin Group "Header Files" - -# PROP Default_Filter "h;hpp;hxx;hm;inl" -# End Group -# Begin Group "Resource Files" - -# PROP Default_Filter "ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe" -# End Group -# End Target -# End Project diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9222/C9222_Encoder/encoder.dsw b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9222/C9222_Encoder/encoder.dsw deleted file mode 100644 index e378a87..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9222/C9222_Encoder/encoder.dsw +++ /dev/null @@ -1,29 +0,0 @@ -Microsoft Developer Studio Workspace File, Format Version 6.00 -# WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE! - -############################################################################### - -Project: "encoder"=.\encoder.dsp - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ -}}} - -############################################################################### - -Global: - -Package=<5> -{{{ -}}} - -Package=<3> -{{{ -}}} - -############################################################################### - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9222/C9222_Encoder/encoder.exe b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9222/C9222_Encoder/encoder.exe deleted file mode 100644 index 422d35a..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9222/C9222_Encoder/encoder.exe and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9222/C9222_Encoder_Event/encoder.c b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9222/C9222_Encoder_Event/encoder.c deleted file mode 100644 index b585590..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9222/C9222_Encoder_Event/encoder.c +++ /dev/null @@ -1,137 +0,0 @@ -/*----------------------------------------------------------------------------*/ -/* Company : ADLINK */ -/* Date : 2008/08/11 */ -/* */ -/* This sample performs X4 AB phase encode with position event. */ -/* GPTC_EventSetup() can be used to setup encoder position configuration. */ -/* PCI-922x will generate a pulse output to GPO4/GPO5 (Encoder0/Encoder1) */ -/* or generate an interrupt local interrupt to do the callback Function */ -/* set by GPTC_EventCallBack() while multiples of the set encode position */ -/* reachs. */ -/*----------------------------------------------------------------------------*/ -#include -#include -#include -#include -#include "dask.h" - -U32 EPT0_Count = 0; -U32 EPT1_Count = 0; - - -/*Call Back Function of Encoder0 Encode Position*/ -void EPT0_CallBack() -{ - EPT0_Count++; -} - -/*Call Back Function of Encoder1 Encode Position*/ -void EPT1_CallBack() -{ - EPT1_Count++; -} - - -int main(int argc, char **argv) -{ - I16 card, err; - U16 card_num; - U16 GCtr; - U16 Mode = x4_AB_Phase_Encoder; - U16 SrcCtrl = 0; //Not used in encoder - U16 PolCtrl = 0; //Not used in encoder - U32 LReg1_Val = 0; //Not used in encoder - U32 LReg2_Val = 0; //Not used in encoder - U16 EventMode = P922x_EVT_MOD_EPT; - U16 EventCtrl = P922x_EPT_PULWIDTH_200ms|P922x_EPT_TRGOUT_GPO|P922x_EPT_TRGOUT_CALLBACK; - U32 LVal_1 = 100; //Position steps - U32 LVal_2 = 0; //Not used - I16 EventType; - U32 callbackAddr; - U32 RD_Value; - int i = 0; - - printf("This sample performs x4 AB phase mode with position event.\n"); - printf("A pulse will be generated to GPO4/GPO5 (Encoder0/Encoder1)\n"); - printf("and the set callback function will be performed while multiples\n"); - printf("of the set position reachs.\n"); - - printf("Card Number? "); - scanf(" %hd", &card_num); - card = Register_Card(PCI_9222, card_num); - if(card<0){ - printf("Register_Card Error: %d\n", card); - exit(1); - } - - printf("Encoder Number? "); - scanf(" %hd", &GCtr); - GCtr = (GCtr==1)? P922x_ENCODER1:P922x_ENCODER0; - - /*Clear Encoder*/ - err = GPTC_Clear(card, GCtr); - if(err<0){ - printf("GPTC_Clear Error: %d\n", err); - goto ERR_RET; - } - - /*Setup Encoder*/ - err = GPTC_Setup(card, GCtr, Mode, SrcCtrl, PolCtrl, LReg1_Val, LReg2_Val); - if(err<0){ - printf("GPTC_Setup Error: %d\n", err); - goto ERR_RET; - } - - /*Encoder Event Setup*/ - err = GPTC_EventSetup(card, GCtr, EventMode, EventCtrl, LVal_1, LVal_2); - if(err<0){ - printf("GPTC_EventSetup Error: %d\n", err); - goto ERR_RET; - } - - EventType = (GCtr==P922x_ENCODER1)? P922x_EVT_TYPE_EPT1:P922x_EVT_TYPE_EPT0; - callbackAddr = (U32)((GCtr==P922x_ENCODER1)? EPT1_CallBack:EPT0_CallBack); - /*Setup EventCallBack for Encoder Position*/ - err = GPTC_EventCallBack(card, 1, EventType, callbackAddr); - if(err<0){ - printf("GPTC_EventCallBack Error: %d\n", err); - goto ERR_RET; - } - - /*Enable Encoder*/ - printf("Press any key to enable counter..."); - getch(); - err = GPTC_Control(card, GCtr, IntENABLE, 1); - if(err<0){ - printf("GPTC_Control(IntENABLE) Error: %d\n", err); - goto ERR_RET; - } - - printf("\n\nYou can press any key to stop...\n"); - do{ - /*Read Encoder*/ - err = GPTC_Read(card, GCtr, &RD_Value); - if(err<0){ - printf("GPTC_Read Error: %d\n", err); - goto ERR_RET; - } - printf("Encoder%d Value: %11d\r", GCtr-4, RD_Value); - Sleep(100); - }while(!kbhit());getch(); - printf("Encoder%d Value: %11d\n", GCtr-4, RD_Value); - - if(GCtr==P922x_ENCODER0) - printf("Total EPT0 Event Count: %d\n", EPT0_Count); - else - printf("Total EPT1 Event Count: %d\n", EPT1_Count); - -ERR_RET: - EventType = (GCtr==P922x_ENCODER1)? P922x_EVT_TYPE_EPT1:P922x_EVT_TYPE_EPT0; - GPTC_EventCallBack(card, 0, EventType, (U32)NULL); - GPTC_Clear(card, GCtr); - Release_Card(card); - - printf("\n\nPress any key to exit..."); - getch(); - return 0; -} diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9222/C9222_Encoder_Event/encoder.dsp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9222/C9222_Encoder_Event/encoder.dsp deleted file mode 100644 index 2571d54..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9222/C9222_Encoder_Event/encoder.dsp +++ /dev/null @@ -1,102 +0,0 @@ -# Microsoft Developer Studio Project File - Name="encoder" - Package Owner=<4> -# Microsoft Developer Studio Generated Build File, Format Version 6.00 -# ** DO NOT EDIT ** - -# TARGTYPE "Win32 (x86) Console Application" 0x0103 - -CFG=encoder - Win32 Debug -!MESSAGE This is not a valid makefile. To build this project using NMAKE, -!MESSAGE use the Export Makefile command and run -!MESSAGE -!MESSAGE NMAKE /f "encoder.mak". -!MESSAGE -!MESSAGE You can specify a configuration when running NMAKE -!MESSAGE by defining the macro CFG on the command line. For example: -!MESSAGE -!MESSAGE NMAKE /f "encoder.mak" CFG="encoder - Win32 Debug" -!MESSAGE -!MESSAGE Possible choices for configuration are: -!MESSAGE -!MESSAGE "encoder - Win32 Release" (based on "Win32 (x86) Console Application") -!MESSAGE "encoder - Win32 Debug" (based on "Win32 (x86) Console Application") -!MESSAGE - -# Begin Project -# PROP AllowPerConfigDependencies 0 -# PROP Scc_ProjName "" -# PROP Scc_LocalPath "" -CPP=cl.exe -RSC=rc.exe - -!IF "$(CFG)" == "encoder - Win32 Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "Release" -# PROP BASE Intermediate_Dir "Release" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "" -# PROP Intermediate_Dir "Release" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c -# ADD CPP /nologo /W3 /GX /O2 /I "../../../include" /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c -# ADD BASE RSC /l 0x404 /d "NDEBUG" -# ADD RSC /l 0x404 /d "NDEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ../../../lib/pci-dask.lib /nologo /subsystem:console /machine:I386 - -!ELSEIF "$(CFG)" == "encoder - Win32 Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "Debug" -# PROP BASE Intermediate_Dir "Debug" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "Debug" -# PROP Intermediate_Dir "Debug" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /GZ /c -# ADD CPP /nologo /W3 /Gm /GX /ZI /Od /I "../../../include" /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /GZ /c -# ADD BASE RSC /l 0x404 /d "_DEBUG" -# ADD RSC /l 0x404 /d "_DEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ../../../lib/pci-dask.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept - -!ENDIF - -# Begin Target - -# Name "encoder - Win32 Release" -# Name "encoder - Win32 Debug" -# Begin Group "Source Files" - -# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;idl;hpj;bat" -# Begin Source File - -SOURCE=.\encoder.c -# End Source File -# End Group -# Begin Group "Header Files" - -# PROP Default_Filter "h;hpp;hxx;hm;inl" -# End Group -# Begin Group "Resource Files" - -# PROP Default_Filter "ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe" -# End Group -# End Target -# End Project diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9222/C9222_Encoder_Event/encoder.dsw b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9222/C9222_Encoder_Event/encoder.dsw deleted file mode 100644 index e378a87..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9222/C9222_Encoder_Event/encoder.dsw +++ /dev/null @@ -1,29 +0,0 @@ -Microsoft Developer Studio Workspace File, Format Version 6.00 -# WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE! - -############################################################################### - -Project: "encoder"=.\encoder.dsp - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ -}}} - -############################################################################### - -Global: - -Package=<5> -{{{ -}}} - -Package=<3> -{{{ -}}} - -############################################################################### - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9222/C9222_Encoder_Event/encoder.exe b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9222/C9222_Encoder_Event/encoder.exe deleted file mode 100644 index fa6b660..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9222/C9222_Encoder_Event/encoder.exe and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9222/C9222_GPTC/gptc.c b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9222/C9222_GPTC/gptc.c deleted file mode 100644 index ab0ab59..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9222/C9222_GPTC/gptc.c +++ /dev/null @@ -1,333 +0,0 @@ -/*----------------------------------------------------------------------------*/ -/* Company : ADLINK */ -/* Date : 2008/08/11 */ -/* */ -/* This sample performs GPTC operations. */ -/*----------------------------------------------------------------------------*/ -#include -#include -#include -#include -#include "dask.h" - -#define TIMEBASE 80000000 - - -int main(int argc, char **argv) -{ - I16 card, err; - U16 card_num; - U16 GCtr; - U16 Mode; - U16 SrcCtrl = 0; - U16 PolCtrl = 0; - U32 LReg1_Val = 0; - U32 LReg2_Val = 0; - U32 GPTC_Val; - U16 STAT; - int i = 0; - U16 MajorSelMode; - U16 MinorSelMode; - - printf("This sample performs GPTC operations.\n"); - - printf("Card Number? "); - scanf(" %hd", &card_num); - card = Register_Card(PCI_9222, card_num); - if(card<0){ - printf("Register_Card Error: %d\n", card); - exit(1); - } - - printf("GPTC Number? [0~3] "); - scanf(" %hd", &GCtr); - if(GCtr>3){ - printf("Invalid counter number, set to GPTC 0...\n"); - printf("Press any key to continue...\n"); - getch(); - GCtr = 0; - } - - /*Clear GPTC*/ - err = GPTC_Clear(card, GCtr); - if(err<0){ - printf("GPTC_Clear Error: %d\n", err); - goto ERR_RET; - } - - system("cls"); - printf(" \n"); - printf(" (0) Simple Gated Event Count Mode.\n"); - printf(" (1) Pulse Measurement Mode.\n"); - printf(" (2) Single Pulse Generation Mode.\n"); - printf(" (3) Pulse Train Generation Mode.\n\n"); - printf(" Which GPTC mode to be performed? [0~3] "); - scanf(" %hd", &MajorSelMode); - if(MajorSelMode>3){ - printf(" Invalid Mode. set to Simple Gated Event Count Mode.\n"); - printf(" Press any key to continue...\n"); - getch(); - MajorSelMode = 0; - } - - system("cls"); - switch(MajorSelMode) - { - case 0: - Mode = SimpleGatedEventCNT; - SrcCtrl = GPTC_GATE_SRC_Ext; - LReg1_Val = 0x7fffffff; //Initial value - - /*Setup GPTC*/ - err = GPTC_Setup(card, GCtr, Mode, SrcCtrl, PolCtrl, LReg1_Val, LReg2_Val); - if(err<0){ - printf("GPTC_Setup Error: %d\n", err); - goto ERR_RET; - } - - /*Internal Control UpDown Source - 0: DownCount; 1: UpCount*/ - err = GPTC_Control(card, GCtr, IntUpDnCTR, 0); - if(err<0){ - printf("GPTC_Control(IntUpDnCTR) Error: %d\n", err); - goto ERR_RET; - } - - /*Enable Counter*/ - err = GPTC_Control(card, GCtr, IntENABLE, 1); - if(err<0){ - printf("GPTC_Control(IntENABLE) Error: %d\n", err); - goto ERR_RET; - } - - printf(" GPTC will count down from %d while GPTC/GATED pin is high...\n", LReg1_Val); - printf(" You can press any key to stop it...\n\n"); - do{ - err = GPTC_Read(card, GCtr, &GPTC_Val); - printf(" GPTC Count: %5d\r", GPTC_Val); - Sleep(10); - }while(!kbhit());getch(); - break; - case 1: - printf(" \n"); - printf(" (0) Pulse Period Measurement.\n"); - printf(" - Measure pulse period of a pulse from GPTC/GTAED pin.\n\n"); - printf(" (1) Pulse Width Measurement.\n"); - printf(" - Measure pulse width of a pulse from GPTC/GTAED pin.\n\n"); - printf(" (2) Pulse Edge Separation Measurement.\n"); - printf(" - Measure edge separation between pulses from GPTC/GTAED and GPTC/AUX pin.\n\n"); - printf(" Which pulse measurement mode to be performed? [0~2] "); - scanf(" %hd", &MinorSelMode); - if(MinorSelMode>2){ - printf(" Invalid Mode. set to Pulse Period Measurement.\n"); - printf(" Press any key to continue...\n"); - getch(); - MinorSelMode = 0; - } - if(MinorSelMode==0) - Mode = SinglePeriodMSR; - else if(MinorSelMode==1) - Mode = SinglePulseWidthMSR; - else - Mode = EdgeSeparationMSR; - SrcCtrl = GPTC_GATE_SRC_Ext; //Set External gate for measuring a pulse from GATED pin - - /*Setup GPTC*/ - err = GPTC_Setup(card, GCtr, Mode, SrcCtrl, PolCtrl, LReg1_Val, LReg2_Val); - if(err<0){ - printf("GPTC_Setup Error: %d\n", err); - goto ERR_RET; - } - - /*Internal Control UpDown Source*/ - //Set Counter count up - err = GPTC_Control(card, GCtr, IntUpDnCTR, 1); - if(err<0){ - printf("GPTC_Control(IntUpDnCTR) Error: %d\n", err); - goto ERR_RET; - } - - /*Enable Counter*/ - err = GPTC_Control(card, GCtr, IntENABLE, 1); - if(err<0){ - printf("GPTC_Control(IntENABLE) Error: %d\n", err); - goto ERR_RET; - } - - /*wait GPTC done status*/ - system("cls"); - printf(" Pulse measuring... You can press any key to stop it..."); - do{ - GPTC_Status(card, GCtr, &STAT); - }while((!((STAT>>1)&0x01))&&(!kbhit())); - - if((STAT>>1)&0x01){ - /*Read GPTC value*/ - GPTC_Read(card, GCtr, &GPTC_Val); - printf("\n\n GPTC%d Value: %x\n", GCtr, GPTC_Val); - - if(MinorSelMode==0) - printf(" Pulse Period: %lf sec.\n", (F32)GPTC_Val/TIMEBASE); - else if(MinorSelMode==1) - printf(" Pulse Width: %lf sec.\n", (F32)GPTC_Val/TIMEBASE); - else - printf(" Pulse Edge Separation: %lf sec.\n", (F32)GPTC_Val/TIMEBASE); - } - else{ - getch(); - printf("\n\n Pulse measurement is stopped manually...\n"); - } - break; - case 2: - printf(" \n"); - printf(" (0) Single Gated Pulse Generation.\n"); - printf(" - Generate pulse to GPTC out pin while GATED pin is high.\n\n"); - printf(" (1) Single Pulse Generation with trigger.\n"); - printf(" - Generate pulse to GPTC out pin if trigger is comming from GATED pin.\n\n"); - printf(" (2) Single Pulse Generation with Re-trigger.\n"); - printf(" - Generate pulse to GPTC out pin if a trigger is comming from GATED pin.\n\n"); - printf(" Which pulse generation mode to be performed? [0~2] "); - scanf(" %hd", &MinorSelMode); - if(MinorSelMode>2){ - printf(" Invalid Mode. set to Single Pulse Generation.\n"); - printf(" Press any key to continue...\n"); - getch(); - MinorSelMode = 0; - } - if(MinorSelMode==0){ - Mode = SingleGatedPulseGen; - SrcCtrl = GPTC_GATE_SRC_Ext; - } - else if(MinorSelMode==1){ - Mode = SingleTrigPulseGen; - SrcCtrl = GPTC_GATE_SRC_Ext; - } - else{ - Mode = RetrigSinglePulseGen; - SrcCtrl = GPTC_GATE_SRC_Ext; - } - LReg1_Val = 40000000; - - /*Setup GPTC*/ - err = GPTC_Setup(card, GCtr, Mode, SrcCtrl, PolCtrl, LReg1_Val, LReg2_Val); - if(err<0){ - printf("GPTC_Setup Error: %d\n", err); - goto ERR_RET; - } - - /*Enable Counter*/ - system("cls"); - printf(" Press any key to enable counter..."); - getch(); - err = GPTC_Control(card, GCtr, IntENABLE, 1); - if(err<0){ - printf("GPTC_Control(IntENABLE) Error: %d\n", err); - goto ERR_RET; - } - - if(MinorSelMode==0){ - printf("\n\n A %f sec. period pulse will be generated while GATED is high...\n", (F32)(LReg1_Val+LReg1_Val)/TIMEBASE); - } - else if(MinorSelMode==1){ - printf("\n\n Wait trigger to generate a %f sec. period pulse...\n", (F32)(LReg1_Val+LReg1_Val)/TIMEBASE); - } - else{ - printf("\n\n Wait retrigger to generate a %f sec. period pulse...\n", (F32)(LReg1_Val+LReg1_Val)/TIMEBASE); - } - printf(" Press any key to stop..."); - getch(); - break; - case 3: - printf(" \n"); - printf(" (0) Continuous Pulse Train Generation with Gated.\n"); - printf(" - Generate pulse train to GPTC/OUT pin while GATED\n"); - printf(" pin is high.\n\n"); - printf(" (1) Continuous Pulse Train Generation with trigger.\n"); - printf(" - Generate pulse train to GPTC/OUT pin if trigger is comming\n"); - printf(" from GPTC/GATED pin.\n\n"); - printf(" (2) Continuous PWM Pulse Train Generation.\n"); - printf(" - Generate PWM pulse train to GPTC/OUT pin while GATED\n"); - printf(" pin is high.\n\n"); - printf(" (3) Continuous PWM Pulse Train Generation with trigger.\n"); - printf(" - Generate PWM pulse train to GPTC/OUT pin if trigger is comming\n"); - printf(" from GPTC/GATED pin.\n\n"); - printf(" Which pulse generation mode to be performed? [0~3] "); - scanf(" %hd", &MinorSelMode); - if(MinorSelMode>3){ - printf(" Invalid Mode. set to Continuous Pulse Train Generation.\n"); - printf(" Press any key to continue...\n"); - getch(); - MinorSelMode = 0; - } - if(MinorSelMode==0){ - Mode = ContGatedPulseGen; - SrcCtrl = GPTC_GATE_SRC_Ext; - LReg1_Val = 40000000; - } - else if(MinorSelMode==1){ - Mode = SingleTrigContPulseGen; - SrcCtrl = GPTC_GATE_SRC_Ext; - LReg1_Val = 40000000; - } - else if(MinorSelMode==2){ - Mode = ContGatedPulseGenPWM; - SrcCtrl = GPTC_GATE_SRC_Ext; - LReg1_Val = 20000000; - LReg2_Val = 60000000; - } - else{ - Mode = SingleTrigContPulseGenPWM; - SrcCtrl = GPTC_GATE_SRC_Ext; - LReg1_Val = 20000000; - LReg2_Val = 60000000; - } - - /*Setup GPTC*/ - err = GPTC_Setup(card, GCtr, Mode, SrcCtrl, PolCtrl, LReg1_Val, LReg2_Val); - if(err<0){ - printf("GPTC_Setup Error: %d\n", err); - goto ERR_RET; - } - - /*Enable Counter*/ - system("cls"); - printf(" Press any key to enable counter..."); - getch(); - err = GPTC_Control(card, GCtr, IntENABLE, 1); - if(err<0){ - printf("GPTC_Control(IntENABLE) Error: %d\n", err); - goto ERR_RET; - } - - if(MinorSelMode==0){ - F32 OutRate = (F32)TIMEBASE/(LReg1_Val+LReg1_Val); - printf("\n\n Out rate: %f Hz, pulse train will be generated while GATED pin is high...\n", OutRate); - } - else if(MinorSelMode==1){ - F32 OutRate = (F32)TIMEBASE/(LReg1_Val+LReg1_Val); - printf("\n\n Wait trigger to generate, out rate: %f Hz, pulse train...\n", OutRate); - } - else if(MinorSelMode==2){ - F32 Duty = (F32)LReg2_Val/(LReg1_Val+LReg2_Val); - F32 OutRate = (F32)TIMEBASE/(LReg1_Val+LReg2_Val); - printf("\n\n Out rate: %f Hz, duty cycle: %4.2f %%, pulse train will be generated while GATED pin is high...\n", OutRate, Duty); - } - else{ - F32 Duty = (F32)LReg2_Val/(LReg1_Val+LReg2_Val); - F32 OutRate = (F32)TIMEBASE/(LReg1_Val+LReg2_Val); - printf("\n\n Wait trigger to generate, out rate: %f Hz, duty cycle: %4.2f %%, pulse train...\n", OutRate, Duty); - } - printf("\n\n Press any key to stop..."); - getch(); - break; - } - - /*Disable Counter*/ - GPTC_Control(card, GCtr, IntENABLE, 0); -ERR_RET: - GPTC_Clear(card, GCtr); - Release_Card(card); - - printf("\n\n Press any key to exit...\n"); - getch(); - return 0; -} diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9222/C9222_GPTC/gptc.dsp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9222/C9222_GPTC/gptc.dsp deleted file mode 100644 index d8677a1..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9222/C9222_GPTC/gptc.dsp +++ /dev/null @@ -1,102 +0,0 @@ -# Microsoft Developer Studio Project File - Name="gptc" - Package Owner=<4> -# Microsoft Developer Studio Generated Build File, Format Version 6.00 -# ** DO NOT EDIT ** - -# TARGTYPE "Win32 (x86) Console Application" 0x0103 - -CFG=gptc - Win32 Debug -!MESSAGE This is not a valid makefile. To build this project using NMAKE, -!MESSAGE use the Export Makefile command and run -!MESSAGE -!MESSAGE NMAKE /f "gptc.mak". -!MESSAGE -!MESSAGE You can specify a configuration when running NMAKE -!MESSAGE by defining the macro CFG on the command line. For example: -!MESSAGE -!MESSAGE NMAKE /f "gptc.mak" CFG="gptc - Win32 Debug" -!MESSAGE -!MESSAGE Possible choices for configuration are: -!MESSAGE -!MESSAGE "gptc - Win32 Release" (based on "Win32 (x86) Console Application") -!MESSAGE "gptc - Win32 Debug" (based on "Win32 (x86) Console Application") -!MESSAGE - -# Begin Project -# PROP AllowPerConfigDependencies 0 -# PROP Scc_ProjName "" -# PROP Scc_LocalPath "" -CPP=cl.exe -RSC=rc.exe - -!IF "$(CFG)" == "gptc - Win32 Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "Release" -# PROP BASE Intermediate_Dir "Release" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "" -# PROP Intermediate_Dir "Release" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c -# ADD CPP /nologo /W3 /GX /O2 /I "../../../include" /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c -# ADD BASE RSC /l 0x404 /d "NDEBUG" -# ADD RSC /l 0x404 /d "NDEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ../../../lib/pci-dask.lib /nologo /subsystem:console /machine:I386 - -!ELSEIF "$(CFG)" == "gptc - Win32 Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "Debug" -# PROP BASE Intermediate_Dir "Debug" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "Debug" -# PROP Intermediate_Dir "Debug" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /GZ /c -# ADD CPP /nologo /W3 /Gm /GX /ZI /Od /I "../../../include" /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /GZ /c -# ADD BASE RSC /l 0x404 /d "_DEBUG" -# ADD RSC /l 0x404 /d "_DEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ../../../lib/pci-dask.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept - -!ENDIF - -# Begin Target - -# Name "gptc - Win32 Release" -# Name "gptc - Win32 Debug" -# Begin Group "Source Files" - -# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;idl;hpj;bat" -# Begin Source File - -SOURCE=.\gptc.c -# End Source File -# End Group -# Begin Group "Header Files" - -# PROP Default_Filter "h;hpp;hxx;hm;inl" -# End Group -# Begin Group "Resource Files" - -# PROP Default_Filter "ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe" -# End Group -# End Target -# End Project diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9222/C9222_GPTC/gptc.dsw b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9222/C9222_GPTC/gptc.dsw deleted file mode 100644 index 2c7eb36..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9222/C9222_GPTC/gptc.dsw +++ /dev/null @@ -1,29 +0,0 @@ -Microsoft Developer Studio Workspace File, Format Version 6.00 -# WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE! - -############################################################################### - -Project: "gptc"=.\gptc.dsp - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ -}}} - -############################################################################### - -Global: - -Package=<5> -{{{ -}}} - -Package=<3> -{{{ -}}} - -############################################################################### - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9222/C9222_GPTC/gptc.exe b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9222/C9222_GPTC/gptc.exe deleted file mode 100644 index 792d055..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9222/C9222_GPTC/gptc.exe and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9223/C9223_AI_DMA/ai.c b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9223/C9223_AI_DMA/ai.c deleted file mode 100644 index cb33976..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9223/C9223_AI_DMA/ai.c +++ /dev/null @@ -1,157 +0,0 @@ -/*----------------------------------------------------------------------------*/ -/* Company : ADLINK */ -/* Date : 2008/08/19 */ -/* */ -/* This sample performs continuous AI acquisition. */ -/* There are 32(Single Ended Mode)/16(Differetial Mode) AI channels in */ -/* PCI-9223. You can use polling mode or DMA to acquired data from specified */ -/* channels. */ -/*----------------------------------------------------------------------------*/ -#include -#include -#include -#include -#include "dask.h" - -#define AI_COUNT 4000 -#define P922X_TIMEBASE 80000000.0 - -int main(int argc, char **argv) -{ - I16 card, err; - U16 card_num; - U16 ConfigCtrl = P922x_AI_SingEnded|P922x_AI_CONVSRC_INT; - U16 TrigCtrl = P922x_AI_TRGMOD_POST|P922x_AI_TRGSRC_SOFT; - U32 ReTriggerCount = 0; /*Ignore in Non-Retrigger*/ - BOOLEAN AutoResetBuf = 1; /*Auto Reset Buffer Descriptor in Driver*/ - U32 ScanIntrv = 320; /*Scan Rate: P922X_TIMEBASE/320 = 250K Hz*/ - U32 SampIntrv = 320; /*Sampling Rate: P922X_TIMEBASE/320 = 250K Hz*/ - U16 RDBuffer[AI_COUNT]; - U16 BufferId; - F64 VBuffer[AI_COUNT]; - U32 AI_ReadCount = AI_COUNT; /*AI Read Count*/ - U16 Channel = 0; /*AI Channel Number to be read*/ - U16 AdRange = AD_B_10_V; /*AI range*/ - BOOLEAN Stopped; - U32 AccessCnt; - FILE *w_file; - U8 FileName[] = "ai_data.txt"; - U32 i; - /*--------------------------------*/ - - memset(RDBuffer, '\0', AI_COUNT*sizeof(U16)); - memset(VBuffer, '\0', AI_COUNT*sizeof(F64)); - if(!(w_file=fopen(FileName, "w"))){ - printf("file open error...\n"); - exit(1); - } - fprintf(w_file, "Channel %d,\n", Channel); - - printf("This sample performs continuous AI acquisition from AI Channel %d\n", Channel); - printf("at %6.3lf Hz sampling rate.\n\n", P922X_TIMEBASE/SampIntrv); - - /*Open and Initialize Device*/ - printf("Card Number? "); - scanf(" %hd", &card_num); - card = Register_Card(PCI_9223, card_num); - if(card<0){ - printf("Register_Card Error: %d\n", card); - fclose(w_file); - exit(1); - } - - /*Configure AI*/ - err = AI_9223_Config(card, ConfigCtrl, TrigCtrl, ReTriggerCount, AutoResetBuf); - if(err<0){ - printf("AI_9223_Config Error: %d\n", err); - Release_Card(card); - fclose(w_file); - exit(1); - } - - /*Set Scan and Sampling Rate*/ - err = AI_9223_CounterInterval(card, ScanIntrv, SampIntrv); - if(err<0){ - printf("AI_9223_CounterInterval Error: %d\n", err); - Release_Card(card); - fclose(w_file); - exit(1); - } - - /*Disable Double Buffer Mode*/ - err = AI_AsyncDblBufferMode(card, 0); - if(err<0){ - printf("AI_AsyncDblBufferMode Error: %d\n", err); - Release_Card(card); - fclose(w_file); - exit(1); - } - - /*Setup Buffer for AI DMA Transfer*/ - err = AI_ContBufferSetup(card, RDBuffer, AI_ReadCount, &BufferId); - if(err<0){ - printf("AI_ContBufferSetup Error: %d\n", err); - Release_Card(card); - fclose(w_file); - exit(1); - } - - /*AI Acquisition Start*/ - err = AI_ContReadChannel(card, Channel, AdRange, &BufferId, AI_ReadCount, 0/*Ignore*/, ASYNCH_OP); - if(err<0){ - printf("AI_ContReadChannel Error: %d\n", err); - AI_ContBufferReset(card); - Release_Card(card); - fclose(w_file); - exit(1); - } - do{ - /*Check whether AI Acquisition is done*/ - err = AI_AsyncCheck(card, &Stopped, &AccessCnt); - if(err<0){ - printf("AI_AsyncCheck Error: %d\n", err); - AI_AsyncClear(card, &AccessCnt); - AI_ContBufferReset(card); - Release_Card(card); - fclose(w_file); - exit(1); - } - }while((!kbhit())&&(!Stopped)); - - /*Clear AI Setting and Get Remaining data*/ - err = AI_AsyncClear(card, &AccessCnt); - if(err<0){ - printf("AI_AsyncClear Error: %d\n", err); - AI_AsyncClear(card, &AccessCnt); - AI_ContBufferReset(card); - Release_Card(card); - fclose(w_file); - exit(1); - } - - if(Stopped){ - printf("\n\nAI Acquisition Done... Acquired %d samples...\n", AccessCnt); - printf("Write %d samples of Buffer to %s file...\n", AccessCnt, FileName); - AI_ContVScale(card, AdRange, RDBuffer, VBuffer, AccessCnt); - for(i=0; i -# Microsoft Developer Studio Generated Build File, Format Version 6.00 -# ** DO NOT EDIT ** - -# TARGTYPE "Win32 (x86) Console Application" 0x0103 - -CFG=ai - Win32 Debug -!MESSAGE This is not a valid makefile. To build this project using NMAKE, -!MESSAGE use the Export Makefile command and run -!MESSAGE -!MESSAGE NMAKE /f "ai.mak". -!MESSAGE -!MESSAGE You can specify a configuration when running NMAKE -!MESSAGE by defining the macro CFG on the command line. For example: -!MESSAGE -!MESSAGE NMAKE /f "ai.mak" CFG="ai - Win32 Debug" -!MESSAGE -!MESSAGE Possible choices for configuration are: -!MESSAGE -!MESSAGE "ai - Win32 Release" (based on "Win32 (x86) Console Application") -!MESSAGE "ai - Win32 Debug" (based on "Win32 (x86) Console Application") -!MESSAGE - -# Begin Project -# PROP AllowPerConfigDependencies 0 -# PROP Scc_ProjName "" -# PROP Scc_LocalPath "" -CPP=cl.exe -RSC=rc.exe - -!IF "$(CFG)" == "ai - Win32 Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "Release" -# PROP BASE Intermediate_Dir "Release" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "" -# PROP Intermediate_Dir "Release" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c -# ADD CPP /nologo /W3 /GX /O2 /I "../../../include" /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c -# ADD BASE RSC /l 0x404 /d "NDEBUG" -# ADD RSC /l 0x404 /d "NDEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ../../../lib/pci-dask.lib /nologo /subsystem:console /machine:I386 - -!ELSEIF "$(CFG)" == "ai - Win32 Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "Debug" -# PROP BASE Intermediate_Dir "Debug" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "Debug" -# PROP Intermediate_Dir "Debug" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /GZ /c -# ADD CPP /nologo /W3 /Gm /GX /ZI /Od /I "../../../include" /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /GZ /c -# ADD BASE RSC /l 0x404 /d "_DEBUG" -# ADD RSC /l 0x404 /d "_DEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ../../../lib/pci-dask.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept - -!ENDIF - -# Begin Target - -# Name "ai - Win32 Release" -# Name "ai - Win32 Debug" -# Begin Group "Source Files" - -# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;idl;hpj;bat" -# Begin Source File - -SOURCE=.\ai.c -# End Source File -# End Group -# Begin Group "Header Files" - -# PROP Default_Filter "h;hpp;hxx;hm;inl" -# End Group -# Begin Group "Resource Files" - -# PROP Default_Filter "ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe" -# End Group -# End Target -# End Project diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9223/C9223_AI_DMA/ai.dsw b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9223/C9223_AI_DMA/ai.dsw deleted file mode 100644 index 2e548b2..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9223/C9223_AI_DMA/ai.dsw +++ /dev/null @@ -1,29 +0,0 @@ -Microsoft Developer Studio Workspace File, Format Version 6.00 -# WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE! - -############################################################################### - -Project: "ai"=.\ai.dsp - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ -}}} - -############################################################################### - -Global: - -Package=<5> -{{{ -}}} - -Package=<3> -{{{ -}}} - -############################################################################### - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9223/C9223_AI_DMA/ai.exe b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9223/C9223_AI_DMA/ai.exe deleted file mode 100644 index 1d90955..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9223/C9223_AI_DMA/ai.exe and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9223/C9223_AI_DMA_DBFEvent/ai.c b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9223/C9223_AI_DMA_DBFEvent/ai.c deleted file mode 100644 index 505219d..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9223/C9223_AI_DMA_DBFEvent/ai.c +++ /dev/null @@ -1,195 +0,0 @@ -/*----------------------------------------------------------------------------*/ -/* Company : ADLINK */ -/* Date : 2008/08/19 */ -/* */ -/* This sample performs infinite AI acquisition with DMA Double buffer mode. */ -/* There are 32(Single Ended Mode)/16(Differetial Mode) AI channels in */ -/* PCI-9223. You can use polling mode or DMA to acquired data from specified */ -/* channels. */ -/*----------------------------------------------------------------------------*/ -#include -#include -#include -#include -#include "dask.h" - -#define READCOUNT 4000 -#define P922X_TIMEBASE 80000000.0 - -I16 card; -U16 card_num; -U16 ConfigCtrl = P922x_AI_SingEnded|P922x_AI_CONVSRC_INT; -U16 TrigCtrl = P922x_AI_TRGMOD_POST|P922x_AI_TRGSRC_SOFT; -U32 ReTriggerCnt = 0; /*Ignore if Double buffer mode is enable*/ -BOOLEAN AutoResetBuf = 1; /*Autoreset buffer descriptor build in kernel*/ -U32 ScanIntrv = 20000; /*Scan Rate: P922X_TIMEBASE/20000 = 4K Hz*/ -U32 SampIntrv = 20000; /*Sampling Rate: P922X_TIMEBASE/20000 = 4K Hz*/ -U16 RDBuffer0[READCOUNT]; /*Data Buffer for AI DMA*/ -U16 RDBuffer1[READCOUNT]; /*Data Buffer for AI DMA*/ -U32 AI_ReadCount = READCOUNT; /*AI Read Count per one buffer*/ -U16 BufferId0; -U16 BufferId1; -U16 Channel = 0; /*AI Channel Number*/ -U16 AdRange = AD_B_10_V; /*AI Ranges*/ -U32 AccessCnt; -BOOLEAN StopFlag = FALSE; -U16 ViewIdx = 0; -U16 overrunFlag; -U8 filename[] = "ai_data"; -U32 HalfRdyCnt = 0; - - -/*------------------------------------*/ -/* AI End Call Back Function */ -/*------------------------------------*/ -void AI_END_CALLBACK() -{ - printf("\n\nAcquisition End...\n"); - printf("Total Acquire %d Data from Channel %d and Write them to %s.dat...\n", - HalfRdyCnt*AI_ReadCount+AccessCnt, Channel, filename - ); - StopFlag = 1; -} - - -void AI_DBEVENT_CALLBACK() -{ - I16 err; - if(ViewIdx==0){ - printf("\n\nBuffer%d Half Ready...\n", ViewIdx); - printf(" press any key to exit..."); - err = AI_AsyncDblBufferToFile(card); - if(err<0) - printf("AI_AsyncDblBufferToFile Error: %d\n", err); - err = AI_AsyncDblBufferHandled(card); - if(err<0) - printf("AI_AsyncDblBufferToFile Error: %d\n", err); - } - else{ - printf("\n\nBuffer%d Half Ready...\n", ViewIdx); - printf(" press any key to exit..."); - err = AI_AsyncDblBufferToFile(card); - if(err<0) - printf("AI_AsyncDblBufferToFile Error: %d\n", err); - err = AI_AsyncDblBufferHandled(card); - if(err<0) - printf("AI_AsyncDblBufferToFile Error: %d\n", err); - } - - err = AI_AsyncDblBufferOverrun(card, 0, &overrunFlag); - if(err<0){ - printf("AI_AsyncDblBufferOverrun Error: %d\n", err); - } - if(overrunFlag){ - printf("\nOVERRUN: %d\n", overrunFlag); - err = AI_AsyncDblBufferOverrun(card, 1, NULL); - if(err<0){ - printf("AI_AsyncDblBufferOverrun Error: %d\n", err); - } - } - ViewIdx = ViewIdx? 0:1; - HalfRdyCnt++; -} - - -int main(int argc, char **argv) -{ - I16 err; - - memset(RDBuffer0, '\0', READCOUNT*sizeof(U16)); - memset(RDBuffer1, '\0', READCOUNT*sizeof(U16)); - printf("This sample infinitely acquires analog voltage from AI Channel %d", Channel); - printf("at %6.3lf Hz sampling rate with DMA Double Buffer mode.\n", P922X_TIMEBASE/SampIntrv); - - /*Open Device*/ - printf("Card Number? "); - scanf(" %hd", &card_num); - card = Register_Card(PCI_9223, card_num); - if(card<0){ - printf("Register_Card Error: %d\n", card); - exit(1); - } - - /*Configure AI*/ - err = AI_9223_Config(card, ConfigCtrl, TrigCtrl, ReTriggerCnt, AutoResetBuf); - if(err<0){ - printf("AI_9223_Config Error: %d\n", err); - Release_Card(card); - exit(1); - } - - /*Set AI Scan and Sample Interval*/ - err = AI_9223_CounterInterval(card, ScanIntrv, SampIntrv); - if(err<0){ - printf("AI_9223_CounterInterval Error: %d\n", err); - Release_Card(card); - exit(1); - } - - /*Enable Double Buffer Mode*/ - err = AI_AsyncDblBufferMode(card, 1); - if(err<0){ - printf("AI_AsyncDblBufferMode Error: %d\n", err); - Release_Card(card); - exit(1); - } - - /*Setup Buffer*/ - err = AI_ContBufferSetup(card, RDBuffer0, AI_ReadCount, &BufferId0); - if(err<0){ - printf("AI_ContBufferSetup0 Error: %d\n", err); - Release_Card(card); - exit(1); - } - err = AI_ContBufferSetup(card, RDBuffer1, AI_ReadCount, &BufferId1); - if(err<0){ - printf("AI_ContBufferSetup1 Error: %d\n", err); - Release_Card(card); - exit(1); - } - - /*Enable AI Double Buffer Half Ready Event*/ - err = AI_EventCallBack(card, 1, DBEvent, (U32)AI_DBEVENT_CALLBACK); - if(err<0){ - printf("AI_EventCallBack Error: %d\n", err); - AI_ContBufferReset(card); - Release_Card(card); - exit(1); - } - /*Enable AI END Event*/ - err = AI_EventCallBack(card, 1, AIEnd, (U32)AI_END_CALLBACK); - if(err<0){ - printf("AI_EventCallBack2 Error: %d\n", err); - AI_EventCallBack(card, 0, DBEvent, (U32)NULL); - AI_ContBufferReset(card); - Release_Card(card); - exit(1); - } - - err = AI_ContReadChannelToFile(card, Channel, AdRange, filename, AI_ReadCount, 0, ASYNCH_OP); - if(err<0){ - printf("AI_ContReadChanneltoFile Error: %d\n", err); - AI_EventCallBack(card, 0, DBEvent, (U32)NULL); - AI_EventCallBack(card, 0, AIEnd, (U32)NULL); - AI_ContBufferReset(card); - Release_Card(card); - exit(1); - } - printf("AI Acquisition is started... Wait AI DBEvent...\n"); - printf("You can press any key to stop it..."); - getch(); - AI_AsyncClear(card, &AccessCnt); - do{ - Sleep(1); - }while(!StopFlag); - - AI_EventCallBack(card, 0, DBEvent, (U32)NULL); - AI_EventCallBack(card, 0, AIEnd, (U32)NULL); - if(!AutoResetBuf) - AI_ContBufferReset(card); - Release_Card(card); - - printf("press any key to exit...\n"); - getch(); - return 0; -} diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9223/C9223_AI_DMA_DBFEvent/ai.dsp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9223/C9223_AI_DMA_DBFEvent/ai.dsp deleted file mode 100644 index c26103a..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9223/C9223_AI_DMA_DBFEvent/ai.dsp +++ /dev/null @@ -1,102 +0,0 @@ -# Microsoft Developer Studio Project File - Name="ai" - Package Owner=<4> -# Microsoft Developer Studio Generated Build File, Format Version 6.00 -# ** DO NOT EDIT ** - -# TARGTYPE "Win32 (x86) Console Application" 0x0103 - -CFG=ai - Win32 Debug -!MESSAGE This is not a valid makefile. To build this project using NMAKE, -!MESSAGE use the Export Makefile command and run -!MESSAGE -!MESSAGE NMAKE /f "ai.mak". -!MESSAGE -!MESSAGE You can specify a configuration when running NMAKE -!MESSAGE by defining the macro CFG on the command line. For example: -!MESSAGE -!MESSAGE NMAKE /f "ai.mak" CFG="ai - Win32 Debug" -!MESSAGE -!MESSAGE Possible choices for configuration are: -!MESSAGE -!MESSAGE "ai - Win32 Release" (based on "Win32 (x86) Console Application") -!MESSAGE "ai - Win32 Debug" (based on "Win32 (x86) Console Application") -!MESSAGE - -# Begin Project -# PROP AllowPerConfigDependencies 0 -# PROP Scc_ProjName "" -# PROP Scc_LocalPath "" -CPP=cl.exe -RSC=rc.exe - -!IF "$(CFG)" == "ai - Win32 Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "Release" -# PROP BASE Intermediate_Dir "Release" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "" -# PROP Intermediate_Dir "Release" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c -# ADD CPP /nologo /W3 /GX /O2 /I "../../../include" /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c -# ADD BASE RSC /l 0x404 /d "NDEBUG" -# ADD RSC /l 0x404 /d "NDEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ../../../lib/pci-dask.lib /nologo /subsystem:console /machine:I386 - -!ELSEIF "$(CFG)" == "ai - Win32 Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "Debug" -# PROP BASE Intermediate_Dir "Debug" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "Debug" -# PROP Intermediate_Dir "Debug" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /GZ /c -# ADD CPP /nologo /W3 /Gm /GX /ZI /Od /I "../../../include" /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /GZ /c -# ADD BASE RSC /l 0x404 /d "_DEBUG" -# ADD RSC /l 0x404 /d "_DEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ../../../lib/pci-dask.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept - -!ENDIF - -# Begin Target - -# Name "ai - Win32 Release" -# Name "ai - Win32 Debug" -# Begin Group "Source Files" - -# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;idl;hpj;bat" -# Begin Source File - -SOURCE=.\ai.c -# End Source File -# End Group -# Begin Group "Header Files" - -# PROP Default_Filter "h;hpp;hxx;hm;inl" -# End Group -# Begin Group "Resource Files" - -# PROP Default_Filter "ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe" -# End Group -# End Target -# End Project diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9223/C9223_AI_DMA_DBFEvent/ai.dsw b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9223/C9223_AI_DMA_DBFEvent/ai.dsw deleted file mode 100644 index 2e548b2..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9223/C9223_AI_DMA_DBFEvent/ai.dsw +++ /dev/null @@ -1,29 +0,0 @@ -Microsoft Developer Studio Workspace File, Format Version 6.00 -# WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE! - -############################################################################### - -Project: "ai"=.\ai.dsp - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ -}}} - -############################################################################### - -Global: - -Package=<5> -{{{ -}}} - -Package=<3> -{{{ -}}} - -############################################################################### - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9223/C9223_AI_DMA_DBFEvent/ai.exe b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9223/C9223_AI_DMA_DBFEvent/ai.exe deleted file mode 100644 index c7d807f..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9223/C9223_AI_DMA_DBFEvent/ai.exe and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9223/C9223_AI_DMA_DBFOverrun/ai.c b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9223/C9223_AI_DMA_DBFOverrun/ai.c deleted file mode 100644 index 87d7785..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9223/C9223_AI_DMA_DBFOverrun/ai.c +++ /dev/null @@ -1,158 +0,0 @@ -/*----------------------------------------------------------------------------*/ -/* Company : ADLINK */ -/* Date : 2008/08/19 */ -/* */ -/* This sample performs infinite AI acquisition by double buffer mode. */ -/* There are 32(Single Ended Mode)/16(Differetial Mode) AI channels in */ -/* PCI-9223. You can use polling mode or DMA to acquired data from specified */ -/* channels. */ -/*----------------------------------------------------------------------------*/ -#include -#include -#include -#include -#include -#include "dask.h" - -#define AI_COUNT 4000 -#define P922X_TIMEBASE 80000000.0 - -int main(int argc, char **argv) -{ - I16 card, err; - U16 card_num; - U16 ConfigCtrl = P922x_AI_SingEnded|P922x_AI_CONVSRC_INT; - U16 TrigCtrl = P922x_AI_TRGMOD_POST|P922x_AI_TRGSRC_SOFT; - U32 ReTriggerCount = 0; /*Ignore in Double Buffer Mode*/ - BOOLEAN AutoResetBuf = 1; /*Auto Reset Buffer Descriptor in Driver*/ - U32 ScanIntrv = 320; /*Scan Rate: P922X_TIMEBASE/320 = 250K Hz*/ - U32 SampIntrv = 320; /*Sampling Rate: P922X_TIMEBASE/320 = 250K Hz*/ - U16 RDBuffer0[AI_COUNT]; - U16 RDBuffer1[AI_COUNT]; - U32 AI_ReadCount = AI_COUNT; - U16 BufferId0; - U16 BufferId1; - U16 Channel = 0; - U16 AdRange = AD_B_10_V; - BOOLEAN Stopped = FALSE; - BOOLEAN HalfReady = FALSE; - U32 AccessCnt = 0; - U32 BufRdyCnt = 0; - U32 OverrunCnt = 0; - U16 BufIdx = 0; - U16 OverrunFlag; - /*--------------------------------*/ - - memset(RDBuffer0, '\0', AI_COUNT*sizeof(U16)); - memset(RDBuffer1, '\0', AI_COUNT*sizeof(U16)); - - printf("This sample performs infinite AI acquisition from AI Channel %d\n", Channel); - printf("at %6.3lf Hz sampling rate by Double buffer mode.\n\n", P922X_TIMEBASE/SampIntrv); - - /*Open and Initialize Device*/ - printf("Card Number? "); - scanf(" %hd", &card_num); - card = Register_Card(PCI_9223, card_num); - if(card<0){ - printf("Register_Card Error: %d\n", card); - exit(1); - } - - /*Configure AI*/ - err = AI_9223_Config(card, ConfigCtrl, TrigCtrl, ReTriggerCount, AutoResetBuf); - if(err<0){ - printf("AI_9223_Config Error: %d\n", err); - Release_Card(card); - exit(1); - } - - /*Set Scan and Sampling Rate*/ - err = AI_9223_CounterInterval(card, ScanIntrv, SampIntrv); - if(err<0){ - printf("AI_9223_CounterInterval Error: %d\n", err); - Release_Card(card); - exit(1); - } - - /*Enable Double Buffer Mode*/ - err = AI_AsyncDblBufferMode(card, 1); - if(err<0){ - printf("AI_AsyncDblBufferMode Error: %d\n", err); - Release_Card(card); - exit(1); - } - - /*Setup Buffer for AI DMA Transfer*/ - err = AI_ContBufferSetup(card, RDBuffer0, AI_ReadCount, &BufferId0); - if(err<0){ - printf("AI_ContBufferSetup0 Error: %d\n", err); - Release_Card(card); - exit(1); - } - err = AI_ContBufferSetup(card, RDBuffer1, AI_ReadCount, &BufferId1); - if(err<0){ - printf("AI_ContBufferSetup1 Error: %d\n", err); - Release_Card(card); - exit(1); - } - - /*AI Acquisition Start*/ - err = AI_ContReadChannel(card, Channel, AdRange, &BufferId0, AI_ReadCount, 0/*Ignore*/, ASYNCH_OP); - if(err<0){ - printf("AI_ContReadChannel Error: %d\n", err); - AI_ContBufferReset(card); - Release_Card(card); - exit(1); - } - printf("\n\nAI Infinite Acquisition is started...\n"); - printf("Press any key to stop...\n\n\n\n"); - do{ - /*Check Buffer Ready*/ - err = AI_AsyncDblBufferHalfReady(card, &HalfReady, &Stopped); - if(err<0){ - printf("AI_AsyncDblBufferHalfReady Error: %d\n", err); - AI_AsyncClear(card, &AccessCnt); - AI_ContBufferReset(card); - Release_Card(card); - exit(1); - } - if(HalfReady){ - BufRdyCnt++; - if(BufIdx==0){ - //Buffer 0 Half Ready - //You can do something for Ready Buffer - BufIdx = 1; - } - else{ - //Buffer 1 Half Ready - //You can do something for Ready Buffer - BufIdx = 0; - } - //Let driver know that ready buffer is handled - AI_AsyncDblBufferHandled(card); - //Check if buffer overrun - AI_AsyncDblBufferOverrun(card, 0, &OverrunFlag); - if(OverrunFlag){ - OverrunCnt++; - AI_AsyncDblBufferOverrun(card, 1, NULL); - } - printf("Buffer Ready Count: %d, Overrun: %d\r", BufRdyCnt, OverrunCnt); - } - }while(!kbhit());getch(); - - /*Clear AI Setting and Get Remaining data*/ - err = AI_AsyncClear(card, &AccessCnt); - if(err<0){ - printf("AI_AsyncClear Error: %d\n", err); - AI_AsyncClear(card, &AccessCnt); - AI_ContBufferReset(card); - Release_Card(card); - exit(1); - } - - if(!AutoResetBuf) - AI_ContBufferReset(card); - Release_Card(card); - - return 0; -} diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9223/C9223_AI_DMA_DBFOverrun/ai.dsp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9223/C9223_AI_DMA_DBFOverrun/ai.dsp deleted file mode 100644 index c26103a..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9223/C9223_AI_DMA_DBFOverrun/ai.dsp +++ /dev/null @@ -1,102 +0,0 @@ -# Microsoft Developer Studio Project File - Name="ai" - Package Owner=<4> -# Microsoft Developer Studio Generated Build File, Format Version 6.00 -# ** DO NOT EDIT ** - -# TARGTYPE "Win32 (x86) Console Application" 0x0103 - -CFG=ai - Win32 Debug -!MESSAGE This is not a valid makefile. To build this project using NMAKE, -!MESSAGE use the Export Makefile command and run -!MESSAGE -!MESSAGE NMAKE /f "ai.mak". -!MESSAGE -!MESSAGE You can specify a configuration when running NMAKE -!MESSAGE by defining the macro CFG on the command line. For example: -!MESSAGE -!MESSAGE NMAKE /f "ai.mak" CFG="ai - Win32 Debug" -!MESSAGE -!MESSAGE Possible choices for configuration are: -!MESSAGE -!MESSAGE "ai - Win32 Release" (based on "Win32 (x86) Console Application") -!MESSAGE "ai - Win32 Debug" (based on "Win32 (x86) Console Application") -!MESSAGE - -# Begin Project -# PROP AllowPerConfigDependencies 0 -# PROP Scc_ProjName "" -# PROP Scc_LocalPath "" -CPP=cl.exe -RSC=rc.exe - -!IF "$(CFG)" == "ai - Win32 Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "Release" -# PROP BASE Intermediate_Dir "Release" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "" -# PROP Intermediate_Dir "Release" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c -# ADD CPP /nologo /W3 /GX /O2 /I "../../../include" /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c -# ADD BASE RSC /l 0x404 /d "NDEBUG" -# ADD RSC /l 0x404 /d "NDEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ../../../lib/pci-dask.lib /nologo /subsystem:console /machine:I386 - -!ELSEIF "$(CFG)" == "ai - Win32 Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "Debug" -# PROP BASE Intermediate_Dir "Debug" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "Debug" -# PROP Intermediate_Dir "Debug" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /GZ /c -# ADD CPP /nologo /W3 /Gm /GX /ZI /Od /I "../../../include" /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /GZ /c -# ADD BASE RSC /l 0x404 /d "_DEBUG" -# ADD RSC /l 0x404 /d "_DEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ../../../lib/pci-dask.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept - -!ENDIF - -# Begin Target - -# Name "ai - Win32 Release" -# Name "ai - Win32 Debug" -# Begin Group "Source Files" - -# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;idl;hpj;bat" -# Begin Source File - -SOURCE=.\ai.c -# End Source File -# End Group -# Begin Group "Header Files" - -# PROP Default_Filter "h;hpp;hxx;hm;inl" -# End Group -# Begin Group "Resource Files" - -# PROP Default_Filter "ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe" -# End Group -# End Target -# End Project diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9223/C9223_AI_DMA_DBFOverrun/ai.dsw b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9223/C9223_AI_DMA_DBFOverrun/ai.dsw deleted file mode 100644 index 2e548b2..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9223/C9223_AI_DMA_DBFOverrun/ai.dsw +++ /dev/null @@ -1,29 +0,0 @@ -Microsoft Developer Studio Workspace File, Format Version 6.00 -# WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE! - -############################################################################### - -Project: "ai"=.\ai.dsp - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ -}}} - -############################################################################### - -Global: - -Package=<5> -{{{ -}}} - -Package=<3> -{{{ -}}} - -############################################################################### - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9223/C9223_AI_DMA_DBFOverrun/ai.exe b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9223/C9223_AI_DMA_DBFOverrun/ai.exe deleted file mode 100644 index 8395442..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9223/C9223_AI_DMA_DBFOverrun/ai.exe and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9223/C9223_AI_DMA_DBFtoFile/ai.c b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9223/C9223_AI_DMA_DBFtoFile/ai.c deleted file mode 100644 index 8bac85d..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9223/C9223_AI_DMA_DBFtoFile/ai.c +++ /dev/null @@ -1,176 +0,0 @@ -/*----------------------------------------------------------------------------*/ -/* Company : ADLINK */ -/* Date : 2008/08/19 */ -/* */ -/* This sample performs infinite AI acquisition by double buffer mode. */ -/* There are 32(Single Ended Mode)/16(Differetial Mode) AI channels in */ -/* PCI-9223. You can use polling mode or DMA to acquired data from specified */ -/* channels. */ -/*----------------------------------------------------------------------------*/ -#include -#include -#include -#include -#include -#include "dask.h" - -#define AI_COUNT 4000 -#define CHANNELCOUNT 4 -#define P922X_TIMEBASE 80000000.0 - -int main(int argc, char **argv) -{ - I16 card, err; - U16 card_num; - U16 ConfigCtrl = P922x_AI_SingEnded|P922x_AI_CONVSRC_INT; - U16 TrigCtrl = P922x_AI_TRGMOD_POST|P922x_AI_TRGSRC_SOFT; - U32 ReTriggerCount = 0; /*Ignore in Double Buffer Mode*/ - BOOLEAN AutoResetBuf = 1; /*Auto Reset Buffer Descriptor in Driver*/ - U32 ScanIntrv = 20000*CHANNELCOUNT; /*Scan Rate: P922X_TIMEBASE/20000/4 = 1K Hz*/ - U32 SampIntrv = 20000; /*Sampling Rate: P922X_TIMEBASE/20000 = 4K Hz*/ - U16 RDBuffer0[AI_COUNT]; /*Buffer to be setup*/ - U16 RDBuffer1[AI_COUNT]; /*Buffer to be setup*/ - U32 AI_ReadCount = AI_COUNT; /*AI read count per one buffer*/ - U16 BufferId0; - U16 BufferId1; - U16 NumChans = CHANNELCOUNT; /*AI Channel Counts to be read*/ - U16 Chans[CHANNELCOUNT]; /*AI Channels array*/ - U16 AdRanges[CHANNELCOUNT]; /*AI Ranges array*/ - BOOLEAN Stopped; - BOOLEAN HalfReady; - U32 AccessCnt = 0; - U16 BufIdx = 0; - U8 FileName[] = "ai_data"; - U32 i, j; - /*--------------------------------*/ - - memset(RDBuffer0, '\0', AI_COUNT*sizeof(U16)); - memset(RDBuffer1, '\0', AI_COUNT*sizeof(U16)); - /*randon 4 channels*/ - srand(time(NULL)); - i = 0; - do{ - Chans[i] = rand()%32; - for(j=0; j -# Microsoft Developer Studio Generated Build File, Format Version 6.00 -# ** DO NOT EDIT ** - -# TARGTYPE "Win32 (x86) Console Application" 0x0103 - -CFG=ai - Win32 Debug -!MESSAGE This is not a valid makefile. To build this project using NMAKE, -!MESSAGE use the Export Makefile command and run -!MESSAGE -!MESSAGE NMAKE /f "ai.mak". -!MESSAGE -!MESSAGE You can specify a configuration when running NMAKE -!MESSAGE by defining the macro CFG on the command line. For example: -!MESSAGE -!MESSAGE NMAKE /f "ai.mak" CFG="ai - Win32 Debug" -!MESSAGE -!MESSAGE Possible choices for configuration are: -!MESSAGE -!MESSAGE "ai - Win32 Release" (based on "Win32 (x86) Console Application") -!MESSAGE "ai - Win32 Debug" (based on "Win32 (x86) Console Application") -!MESSAGE - -# Begin Project -# PROP AllowPerConfigDependencies 0 -# PROP Scc_ProjName "" -# PROP Scc_LocalPath "" -CPP=cl.exe -RSC=rc.exe - -!IF "$(CFG)" == "ai - Win32 Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "Release" -# PROP BASE Intermediate_Dir "Release" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "" -# PROP Intermediate_Dir "Release" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c -# ADD CPP /nologo /W3 /GX /O2 /I "../../../include" /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c -# ADD BASE RSC /l 0x404 /d "NDEBUG" -# ADD RSC /l 0x404 /d "NDEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ../../../lib/pci-dask.lib /nologo /subsystem:console /machine:I386 - -!ELSEIF "$(CFG)" == "ai - Win32 Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "Debug" -# PROP BASE Intermediate_Dir "Debug" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "Debug" -# PROP Intermediate_Dir "Debug" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /GZ /c -# ADD CPP /nologo /W3 /Gm /GX /ZI /Od /I "../../../include" /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /GZ /c -# ADD BASE RSC /l 0x404 /d "_DEBUG" -# ADD RSC /l 0x404 /d "_DEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ../../../lib/pci-dask.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept - -!ENDIF - -# Begin Target - -# Name "ai - Win32 Release" -# Name "ai - Win32 Debug" -# Begin Group "Source Files" - -# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;idl;hpj;bat" -# Begin Source File - -SOURCE=.\ai.c -# End Source File -# End Group -# Begin Group "Header Files" - -# PROP Default_Filter "h;hpp;hxx;hm;inl" -# End Group -# Begin Group "Resource Files" - -# PROP Default_Filter "ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe" -# End Group -# End Target -# End Project diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9223/C9223_AI_DMA_DBFtoFile/ai.dsw b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9223/C9223_AI_DMA_DBFtoFile/ai.dsw deleted file mode 100644 index 2e548b2..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9223/C9223_AI_DMA_DBFtoFile/ai.dsw +++ /dev/null @@ -1,29 +0,0 @@ -Microsoft Developer Studio Workspace File, Format Version 6.00 -# WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE! - -############################################################################### - -Project: "ai"=.\ai.dsp - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ -}}} - -############################################################################### - -Global: - -Package=<5> -{{{ -}}} - -Package=<3> -{{{ -}}} - -############################################################################### - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9223/C9223_AI_DMA_DBFtoFile/ai.exe b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9223/C9223_AI_DMA_DBFtoFile/ai.exe deleted file mode 100644 index a5ae956..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9223/C9223_AI_DMA_DBFtoFile/ai.exe and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9223/C9223_AI_DMA_Event/ai.c b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9223/C9223_AI_DMA_Event/ai.c deleted file mode 100644 index fc9eeab..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9223/C9223_AI_DMA_Event/ai.c +++ /dev/null @@ -1,153 +0,0 @@ -/*----------------------------------------------------------------------------*/ -/* Company : ADLINK */ -/* Date : 2008/08/19 */ -/* */ -/* This sample performs Continuous AI Channel Scan with Call Back Function. */ -/* There are 16(Single Ended Mode)/8(Differetial Mode) AI channels in */ -/* PCI-9223. You can use polling mode or DMA to acquired data from specified */ -/* channels. */ -/*----------------------------------------------------------------------------*/ -#include -#include -#include -#include -#include "dask.h" - -#define READCOUNT 4000 -#define SCANCHNCNT 4 -#define P922X_TIMEBASE 80000000.0 - -I16 card; -U16 card_num; -U16 ConfigCtrl = P922x_AI_SingEnded|P922x_AI_CONVSRC_INT; -U16 TrigCtrl = P922x_AI_TRGMOD_POST|P922x_AI_TRGSRC_SOFT; -U32 RetriggerCount = 0; /*Ignore if ReTrigger mode is not enabled*/ -BOOLEAN AutoResetBuf = 0; -U32 ScanIntrv = 320*SCANCHNCNT; /*Scan Rate: P922X_TIMEBASE/320/4=67.5K Hz*/ -U32 SampIntrv = 320; /*Scan Rate: P922X_TIMEBASE/320=250K Hz*/ -U16 RDBuffer[READCOUNT]; /*Data Buffer to be setup*/ -U16 BufferId; -F64 VBuffer[READCOUNT]; -U32 AI_ReadCount = READCOUNT; /*AI Read Count*/ -U16 Channel = SCANCHNCNT-1; /*Max Scan Channel Number*/ -U16 AdRange = AD_B_10_V; /*AI Ranges*/ -BOOLEAN fStop = FALSE; -U32 AccessCnt; -FILE *in_file; -U8 FileName[] = "ai_data.txt"; -U32 i, j; - -void AI_END_CALLBACK() -{ - printf("\n\n\nAcquisition Done...\n"); - AI_AsyncClear(card, &AccessCnt); - printf("Acquire %d data and write them to %s...\n", AccessCnt, FileName); - AI_ContVScale(card, AdRange, RDBuffer, VBuffer, AccessCnt); - for(i=0; i -# Microsoft Developer Studio Generated Build File, Format Version 6.00 -# ** DO NOT EDIT ** - -# TARGTYPE "Win32 (x86) Console Application" 0x0103 - -CFG=ai - Win32 Debug -!MESSAGE This is not a valid makefile. To build this project using NMAKE, -!MESSAGE use the Export Makefile command and run -!MESSAGE -!MESSAGE NMAKE /f "ai.mak". -!MESSAGE -!MESSAGE You can specify a configuration when running NMAKE -!MESSAGE by defining the macro CFG on the command line. For example: -!MESSAGE -!MESSAGE NMAKE /f "ai.mak" CFG="ai - Win32 Debug" -!MESSAGE -!MESSAGE Possible choices for configuration are: -!MESSAGE -!MESSAGE "ai - Win32 Release" (based on "Win32 (x86) Console Application") -!MESSAGE "ai - Win32 Debug" (based on "Win32 (x86) Console Application") -!MESSAGE - -# Begin Project -# PROP AllowPerConfigDependencies 0 -# PROP Scc_ProjName "" -# PROP Scc_LocalPath "" -CPP=cl.exe -RSC=rc.exe - -!IF "$(CFG)" == "ai - Win32 Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "Release" -# PROP BASE Intermediate_Dir "Release" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "" -# PROP Intermediate_Dir "Release" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c -# ADD CPP /nologo /W3 /GX /O2 /I "../../../include" /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c -# ADD BASE RSC /l 0x404 /d "NDEBUG" -# ADD RSC /l 0x404 /d "NDEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ../../../lib/pci-dask.lib /nologo /subsystem:console /machine:I386 - -!ELSEIF "$(CFG)" == "ai - Win32 Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "Debug" -# PROP BASE Intermediate_Dir "Debug" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "Debug" -# PROP Intermediate_Dir "Debug" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /GZ /c -# ADD CPP /nologo /W3 /Gm /GX /ZI /Od /I "../../../include" /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /GZ /c -# ADD BASE RSC /l 0x404 /d "_DEBUG" -# ADD RSC /l 0x404 /d "_DEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ../../../lib/pci-dask.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept - -!ENDIF - -# Begin Target - -# Name "ai - Win32 Release" -# Name "ai - Win32 Debug" -# Begin Group "Source Files" - -# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;idl;hpj;bat" -# Begin Source File - -SOURCE=.\ai.c -# End Source File -# End Group -# Begin Group "Header Files" - -# PROP Default_Filter "h;hpp;hxx;hm;inl" -# End Group -# Begin Group "Resource Files" - -# PROP Default_Filter "ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe" -# End Group -# End Target -# End Project diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9223/C9223_AI_DMA_Event/ai.dsw b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9223/C9223_AI_DMA_Event/ai.dsw deleted file mode 100644 index 2e548b2..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9223/C9223_AI_DMA_Event/ai.dsw +++ /dev/null @@ -1,29 +0,0 @@ -Microsoft Developer Studio Workspace File, Format Version 6.00 -# WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE! - -############################################################################### - -Project: "ai"=.\ai.dsp - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ -}}} - -############################################################################### - -Global: - -Package=<5> -{{{ -}}} - -Package=<3> -{{{ -}}} - -############################################################################### - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9223/C9223_AI_DMA_Event/ai.exe b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9223/C9223_AI_DMA_Event/ai.exe deleted file mode 100644 index 24dba8e..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9223/C9223_AI_DMA_Event/ai.exe and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9223/C9223_AI_DMA_ExtDtoFile/ai.c b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9223/C9223_AI_DMA_ExtDtoFile/ai.c deleted file mode 100644 index 5e36156..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9223/C9223_AI_DMA_ExtDtoFile/ai.c +++ /dev/null @@ -1,131 +0,0 @@ -/*----------------------------------------------------------------------------*/ -/* Company : ADLINK */ -/* Date : 2008/08/19 */ -/* */ -/* This sample performs continuous AI acquisition with external */ -/* digital Trigger. */ -/* There are 32(Single Ended Mode)/16(Differetial Mode) AI channels in */ -/* PCI-9223. You can use polling mode or DMA to acquired data from specified */ -/* channels. */ -/*----------------------------------------------------------------------------*/ -#include -#include -#include -#include -#include "dask.h" - -#define AI_COUNT 4000 -#define P922X_TIMEBASE 80000000.0 - -int main(int argc, char **argv) -{ - I16 card, err; - U16 card_num; - U16 ConfigCtrl = P922x_AI_SingEnded|P922x_AI_CONVSRC_INT; - U16 TrigCtrl = P922x_AI_TRGMOD_POST|P922x_AI_TRGSRC_GPI0; /*Trigger Source: GPI0*/ - U32 ReTriggerCount = 0; /*Ignore if Retrigger is not enabled*/ - BOOLEAN AutoResetBuf = 1; - U32 ScanIntrv = 320; /*Scan Rate: P922X_TIMEBASE/320=250K Hz*/ - U32 SampIntrv = 320; /*Sampling Rate: P922X_TIMEBASE/320=250K Hz*/ - U16 RDBuffer[AI_COUNT]; /*Buffer to be setup*/ - U16 BufferId; - U32 AI_ReadCount = AI_COUNT; /*AI read count*/ - U16 Channel = 0; /*AI Channel Number to be read*/ - U16 AdRange = AD_B_10_V; /*AI Range*/ - BOOLEAN Stopped; - U32 AccessCnt; - U8 FileName[] = "ai_data"; - /*--------------------------------*/ - - memset(RDBuffer, '\0', AI_COUNT*sizeof(U16)); - printf("This sample performs continuous AI acquisition from AI Channel %d\n", Channel); - printf("at %6.3lf Hz sampling rate with external digital trigger.\n\n", P922X_TIMEBASE/SampIntrv); - - /*Open and Initialize Device*/ - printf("Card Number? "); - scanf(" %hd", &card_num); - card = Register_Card(PCI_9223, card_num); - if(card<0){ - printf("Register_Card Error: %d\n", card); - exit(1); - } - - /*Configure AI*/ - err = AI_9223_Config(card, ConfigCtrl, TrigCtrl, ReTriggerCount, AutoResetBuf); - if(err<0){ - printf("AI_9223_Config Error: %d\n", err); - Release_Card(card); - exit(1); - } - - /*Set Scan and Sampling Rate*/ - err = AI_9223_CounterInterval(card, ScanIntrv, SampIntrv); - if(err<0){ - printf("AI_9223_CounterInterval Error: %d\n", err); - Release_Card(card); - exit(1); - } - - /*Disable Double Buffer Mode*/ - err = AI_AsyncDblBufferMode(card, 0); - if(err<0){ - printf("AI_AsyncDblBufferMode Error: %d\n", err); - Release_Card(card); - exit(1); - } - - /*Setup Buffer for AI DMA Transfer*/ - err = AI_ContBufferSetup(card, RDBuffer, AI_ReadCount, &BufferId); - if(err<0){ - printf("AI_ContBufferSetup Error: %d\n", err); - Release_Card(card); - exit(1); - } - - /*AI Acquisition Start*/ - printf("\nWait External Digital Trigger from GPI0..."); - err = AI_ContReadChannelToFile(card, Channel, AdRange, FileName, AI_ReadCount, 0/*Ignore*/, ASYNCH_OP); - if(err<0){ - printf("AI_ContReadChannel Error: %d\n", err); - AI_ContBufferReset(card); - Release_Card(card); - exit(1); - } - do{ - /*Check Buffer Ready*/ - err = AI_AsyncCheck(card, &Stopped, &AccessCnt); - if(err<0){ - printf("AI_AsyncCheck Error: %d\n", err); - AI_AsyncClear(card, &AccessCnt); - AI_ContBufferReset(card); - Release_Card(card); - exit(1); - } - }while((!kbhit())&&(!Stopped)); - - /*Clear AI Setting and Get Remaining data*/ - err = AI_AsyncClear(card, &AccessCnt); - if(err<0){ - printf("AI_AsyncClear Error: %d\n", err); - AI_AsyncClear(card, &AccessCnt); - AI_ContBufferReset(card); - Release_Card(card); - exit(1); - } - - if(Stopped){ - printf("\n\nAI Acquisition Done... Acquired %d samples...\n", AccessCnt); - } - else{ - printf("\n\nAI Acquisition has been stopped manually... Acquired %d samples...\n", AccessCnt); - } - printf("%d samples of Buffer0 had been written to %s.dat file...\n", AccessCnt, FileName); - - if(!AutoResetBuf) - AI_ContBufferReset(card); - Release_Card(card); - - printf("\nPress any key to exit...\n"); - getch(); - return 0; -} diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9223/C9223_AI_DMA_ExtDtoFile/ai.dsp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9223/C9223_AI_DMA_ExtDtoFile/ai.dsp deleted file mode 100644 index c26103a..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9223/C9223_AI_DMA_ExtDtoFile/ai.dsp +++ /dev/null @@ -1,102 +0,0 @@ -# Microsoft Developer Studio Project File - Name="ai" - Package Owner=<4> -# Microsoft Developer Studio Generated Build File, Format Version 6.00 -# ** DO NOT EDIT ** - -# TARGTYPE "Win32 (x86) Console Application" 0x0103 - -CFG=ai - Win32 Debug -!MESSAGE This is not a valid makefile. To build this project using NMAKE, -!MESSAGE use the Export Makefile command and run -!MESSAGE -!MESSAGE NMAKE /f "ai.mak". -!MESSAGE -!MESSAGE You can specify a configuration when running NMAKE -!MESSAGE by defining the macro CFG on the command line. For example: -!MESSAGE -!MESSAGE NMAKE /f "ai.mak" CFG="ai - Win32 Debug" -!MESSAGE -!MESSAGE Possible choices for configuration are: -!MESSAGE -!MESSAGE "ai - Win32 Release" (based on "Win32 (x86) Console Application") -!MESSAGE "ai - Win32 Debug" (based on "Win32 (x86) Console Application") -!MESSAGE - -# Begin Project -# PROP AllowPerConfigDependencies 0 -# PROP Scc_ProjName "" -# PROP Scc_LocalPath "" -CPP=cl.exe -RSC=rc.exe - -!IF "$(CFG)" == "ai - Win32 Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "Release" -# PROP BASE Intermediate_Dir "Release" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "" -# PROP Intermediate_Dir "Release" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c -# ADD CPP /nologo /W3 /GX /O2 /I "../../../include" /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c -# ADD BASE RSC /l 0x404 /d "NDEBUG" -# ADD RSC /l 0x404 /d "NDEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ../../../lib/pci-dask.lib /nologo /subsystem:console /machine:I386 - -!ELSEIF "$(CFG)" == "ai - Win32 Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "Debug" -# PROP BASE Intermediate_Dir "Debug" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "Debug" -# PROP Intermediate_Dir "Debug" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /GZ /c -# ADD CPP /nologo /W3 /Gm /GX /ZI /Od /I "../../../include" /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /GZ /c -# ADD BASE RSC /l 0x404 /d "_DEBUG" -# ADD RSC /l 0x404 /d "_DEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ../../../lib/pci-dask.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept - -!ENDIF - -# Begin Target - -# Name "ai - Win32 Release" -# Name "ai - Win32 Debug" -# Begin Group "Source Files" - -# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;idl;hpj;bat" -# Begin Source File - -SOURCE=.\ai.c -# End Source File -# End Group -# Begin Group "Header Files" - -# PROP Default_Filter "h;hpp;hxx;hm;inl" -# End Group -# Begin Group "Resource Files" - -# PROP Default_Filter "ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe" -# End Group -# End Target -# End Project diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9223/C9223_AI_DMA_ExtDtoFile/ai.dsw b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9223/C9223_AI_DMA_ExtDtoFile/ai.dsw deleted file mode 100644 index 2e548b2..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9223/C9223_AI_DMA_ExtDtoFile/ai.dsw +++ /dev/null @@ -1,29 +0,0 @@ -Microsoft Developer Studio Workspace File, Format Version 6.00 -# WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE! - -############################################################################### - -Project: "ai"=.\ai.dsp - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ -}}} - -############################################################################### - -Global: - -Package=<5> -{{{ -}}} - -Package=<3> -{{{ -}}} - -############################################################################### - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9223/C9223_AI_DMA_ExtDtoFile/ai.exe b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9223/C9223_AI_DMA_ExtDtoFile/ai.exe deleted file mode 100644 index 23c0c73..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9223/C9223_AI_DMA_ExtDtoFile/ai.exe and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9223/C9223_AI_DMA_GatedTrigger/ai.c b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9223/C9223_AI_DMA_GatedTrigger/ai.c deleted file mode 100644 index 1e9b8d9..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9223/C9223_AI_DMA_GatedTrigger/ai.c +++ /dev/null @@ -1,154 +0,0 @@ -/*----------------------------------------------------------------------------*/ -/* Company : ADLINK */ -/* Date : 2008/08/19 */ -/* */ -/* This sample performs AI acquisition with External Gated Trigger. */ -/* There are 32(Single Ended Mode)/16(Differetial Mode) AI channels in */ -/* PCI-9223. You can use polling mode or DMA to acquired data from specified */ -/* channels. */ -/* Gated Trigger - AI ADC will pause while the set external trigger is active */ -/* For example, if trigger source is set to GPI0 and trigger polarity is set */ -/* to Positive, then PCI-9223 pauses acquisition while GPI0 is 1. */ -/* Note that the data bytes is 4 if gated trigger is set. */ -/* Bit 0~15: Data, Bit 17: Separated bit. */ -/*----------------------------------------------------------------------------*/ -#include -#include -#include -#include -#include "dask.h" - -#define READCOUNT 25000 -#define P922X_TIMEBASE 80000000 - -int main(int argc, char **argv) -{ - I16 card, err; - U16 card_num; - U16 ConfigCtrl = P922x_AI_SingEnded|P922x_AI_CONVSRC_INT; - U16 TrigCtrl = P922x_AI_TRGMOD_GATED|P922x_AI_TRGSRC_GPI0|P922x_AI_TrgPositive; - U32 ReTriggerCount = 0; /*Ignore if trigger mode is gated trigger*/ - BOOLEAN AutoResetBuf = 1; /*Autoreset buffer descriptor build in driver*/ - U32 ScanIntrv = 320; /*Scan rate: P922X_TIMEBASE/320=250K*/ - U32 SampIntrv = 320; /*Sampling rate: P922X_TIMEBASE/320=250K*/ - U32 RDBuffer[READCOUNT]; /*4 Bytes per a sample if trigger mode is Gated Trigger*/ - U16 BufferId; - F64 VBuffer[READCOUNT]; - U32 AI_ReadCount = READCOUNT; /*AI read count*/ - U16 Channel = 0; /*AI channel to be read*/ - U16 AdRange = AD_B_10_V; /*AI range*/ - BOOLEAN Stopped = FALSE; - U32 AccessCnt = 0; - FILE *w_file; - U8 FileName[] = "ai_data.txt"; - U32 i; - - memset(RDBuffer, '\0', READCOUNT*sizeof(U32)); - memset(VBuffer, '\0', READCOUNT*sizeof(F64)); - if(!(w_file=fopen(FileName, "w"))){ - printf("file open error...\n"); - exit(1); - } - fprintf(w_file, "Channel %d,\n", Channel); - printf("This sample performs continuous AI acquisition with Gated trigger\n"); - printf("from AI Channel %d at %6.3lf Hz sampling rate.\n", Channel, 80000000.0/SampIntrv); - - /*Open and Initialize Devie*/ - printf("Card Number? "); - scanf(" %hd", &card_num); - card = Register_Card(PCI_9223, card_num); - if(card<0){ - printf("Register_Card Error: %d\n", card); - fclose(w_file); - exit(1); - } - - /*Configure AI configurations*/ - err = AI_9223_Config(card, ConfigCtrl, TrigCtrl, ReTriggerCount, AutoResetBuf); - if(err<0){ - printf("AI_9223_Config Error: %d\n", err); - Release_Card(card); - fclose(w_file); - exit(1); - } - - /*Set Counter Scan and Sample Interval*/ - err = AI_9223_CounterInterval(card, ScanIntrv, SampIntrv); - if(err<0){ - printf("AI_9223_CounterInterval Error: %d\n", err); - Release_Card(card); - fclose(w_file); - exit(1); - } - - /*Disable Double Buffer Mode*/ - err = AI_AsyncDblBufferMode(card, 0); - if(err<0){ - printf("AI_AsyncDblBufferMode Error: %d\n", err); - Release_Card(card); - fclose(w_file); - exit(1); - } - - /*Buffer Setup - Build Buffer Descriptor in Driver*/ - err = AI_ContBufferSetup(card, RDBuffer, AI_ReadCount, &BufferId); - if(err<0){ - printf("AI_ContBufferSetup Error: %d\n", err); - Release_Card(card); - fclose(w_file); - exit(1); - } - - /*Start AI Acquisition*/ - err = AI_ContReadChannel(card, Channel, AdRange, &BufferId, AI_ReadCount, 0/*Ignore*/, ASYNCH_OP); - if(err<0){ - printf("AI_ContReadChannel Error: %d\n", err); - AI_ContBufferReset(card); - Release_Card(card); - fclose(w_file); - exit(1); - } - printf("\nWait Gated Positive Trigger from GPI0..."); - do{ - err = AI_AsyncCheck(card, &Stopped, &AccessCnt); - if(err<0){ - printf("AI_AsyncCheck Error: %d\n", err); - AI_AsyncClear(card, &AccessCnt); - AI_ContBufferReset(card); - Release_Card(card); - fclose(w_file); - exit(1); - } - }while((!kbhit())&&(!Stopped)); - - err = AI_AsyncClear(card, &AccessCnt); - if(err<0){ - printf("AI_AsyncClear Error: %d\n", err); - AI_AsyncClear(card, &AccessCnt); - AI_ContBufferReset(card); - Release_Card(card); - fclose(w_file); - exit(1); - } - - if(Stopped) - printf("\n\nAI Acquisition done...\n"); - else - printf("\n\nAI Acquisition has been stopped manually...\n"); - - printf("Write %d samples of Buffer to %s file...\n\n", AccessCnt, FileName); - fprintf(w_file, "Raw Data, Scaled Voltage,\n"); - AI_ContVScale(card, AdRange, RDBuffer, VBuffer, AccessCnt); - for(i=0; i -# Microsoft Developer Studio Generated Build File, Format Version 6.00 -# ** DO NOT EDIT ** - -# TARGTYPE "Win32 (x86) Console Application" 0x0103 - -CFG=ai - Win32 Debug -!MESSAGE This is not a valid makefile. To build this project using NMAKE, -!MESSAGE use the Export Makefile command and run -!MESSAGE -!MESSAGE NMAKE /f "ai.mak". -!MESSAGE -!MESSAGE You can specify a configuration when running NMAKE -!MESSAGE by defining the macro CFG on the command line. For example: -!MESSAGE -!MESSAGE NMAKE /f "ai.mak" CFG="ai - Win32 Debug" -!MESSAGE -!MESSAGE Possible choices for configuration are: -!MESSAGE -!MESSAGE "ai - Win32 Release" (based on "Win32 (x86) Console Application") -!MESSAGE "ai - Win32 Debug" (based on "Win32 (x86) Console Application") -!MESSAGE - -# Begin Project -# PROP AllowPerConfigDependencies 0 -# PROP Scc_ProjName "" -# PROP Scc_LocalPath "" -CPP=cl.exe -RSC=rc.exe - -!IF "$(CFG)" == "ai - Win32 Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "Release" -# PROP BASE Intermediate_Dir "Release" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "" -# PROP Intermediate_Dir "Release" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c -# ADD CPP /nologo /W3 /GX /O2 /I "../../../include" /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c -# ADD BASE RSC /l 0x404 /d "NDEBUG" -# ADD RSC /l 0x404 /d "NDEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ../../../lib/pci-dask.lib /nologo /subsystem:console /machine:I386 - -!ELSEIF "$(CFG)" == "ai - Win32 Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "Debug" -# PROP BASE Intermediate_Dir "Debug" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "Debug" -# PROP Intermediate_Dir "Debug" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /GZ /c -# ADD CPP /nologo /W3 /Gm /GX /ZI /Od /I "../../../include" /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /GZ /c -# ADD BASE RSC /l 0x404 /d "_DEBUG" -# ADD RSC /l 0x404 /d "_DEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ../../../lib/pci-dask.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept - -!ENDIF - -# Begin Target - -# Name "ai - Win32 Release" -# Name "ai - Win32 Debug" -# Begin Group "Source Files" - -# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;idl;hpj;bat" -# Begin Source File - -SOURCE=.\ai.c -# End Source File -# End Group -# Begin Group "Header Files" - -# PROP Default_Filter "h;hpp;hxx;hm;inl" -# End Group -# Begin Group "Resource Files" - -# PROP Default_Filter "ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe" -# End Group -# End Target -# End Project diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9223/C9223_AI_DMA_GatedTrigger/ai.dsw b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9223/C9223_AI_DMA_GatedTrigger/ai.dsw deleted file mode 100644 index 2e548b2..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9223/C9223_AI_DMA_GatedTrigger/ai.dsw +++ /dev/null @@ -1,29 +0,0 @@ -Microsoft Developer Studio Workspace File, Format Version 6.00 -# WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE! - -############################################################################### - -Project: "ai"=.\ai.dsp - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ -}}} - -############################################################################### - -Global: - -Package=<5> -{{{ -}}} - -Package=<3> -{{{ -}}} - -############################################################################### - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9223/C9223_AI_DMA_GatedTrigger/ai.exe b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9223/C9223_AI_DMA_GatedTrigger/ai.exe deleted file mode 100644 index 45fa00b..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9223/C9223_AI_DMA_GatedTrigger/ai.exe and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9223/C9223_AI_DMA_InfiniteReTrigger/ai.c b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9223/C9223_AI_DMA_InfiniteReTrigger/ai.c deleted file mode 100644 index 15b9654..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9223/C9223_AI_DMA_InfiniteReTrigger/ai.c +++ /dev/null @@ -1,171 +0,0 @@ -/*----------------------------------------------------------------------------*/ -/* Company : ADLINK */ -/* Date : 2008/08/19 */ -/* */ -/* This sample performs continuous AI acquisition with Infinite Re-Trigger. */ -/* There are 32(Single Ended Mode)/16(Differetial Mode) AI channels in */ -/* PCI-9223. You can use polling mode or DMA to acquired data from specified */ -/* channels. */ -/* With infinite retrigger mode, there are two buffer should be setup for */ -/* infinite acquisition. */ -/*----------------------------------------------------------------------------*/ -#include -#include -#include -#include -#include -#include "dask.h" - -#define AI_ACQCNT 4000 -#define AI_BUFCNT AI_ACQCNT -#define CHANNELCOUNT 4 -#define P922X_TIMEBASE 80000000.0 - -int main(int argc, char **argv) -{ - I16 card, err; - U16 card_num; - U16 ConfigCtrl = P922x_AI_SingEnded|P922x_AI_CONVSRC_INT; - U16 TrigCtrl = P922x_AI_TRGMOD_POST|P922x_AI_TRGSRC_GPI0|P922x_AI_EnReTigger; - U32 ReTriggerCount = 0; /*0: Infinite Trigger if retrigger is enabled*/ - BOOLEAN AutoResetBuf = 1; - U32 ScanIntrv = 20000*CHANNELCOUNT; /*Scan Rate: P922X_TIMEBASE/20000/4=1K*/ - U32 SampIntrv = 20000; /*Sampling Rate: P922X_TIMEBASE/20000=4K*/ - U16 RDBuffer0[AI_BUFCNT]; /*data Buffer to be setup*/ - U16 RDBuffer1[AI_BUFCNT]; /*data Buffer to be setup*/ - U16 BufferId0; - U16 BufferId1; - U32 AI_ReadCount = AI_ACQCNT; - U16 NumChans = CHANNELCOUNT; /*AI Channel Number*/ - U16 Chans[CHANNELCOUNT]; /*Array of AI Channels to be read*/ - U16 AdRanges[CHANNELCOUNT]; /*Array of AI Ranges*/ - BOOLEAN Ready; - BOOLEAN StopFlag; - U16 RdyTrigCnt; - U32 AccessCnt; - U8 FileName[] = "ai_data"; - U32 UserTrigCount = 0; - U32 i, j; - /*--------------------------------*/ - - memset(RDBuffer0, '\0', AI_BUFCNT*sizeof(U16)); - memset(RDBuffer1, '\0', AI_BUFCNT*sizeof(U16)); - srand(time(NULL)); - i = 0; - do{ - Chans[i] = rand()%32; - for(j=0; j -# Microsoft Developer Studio Generated Build File, Format Version 6.00 -# ** DO NOT EDIT ** - -# TARGTYPE "Win32 (x86) Console Application" 0x0103 - -CFG=ai - Win32 Debug -!MESSAGE This is not a valid makefile. To build this project using NMAKE, -!MESSAGE use the Export Makefile command and run -!MESSAGE -!MESSAGE NMAKE /f "ai.mak". -!MESSAGE -!MESSAGE You can specify a configuration when running NMAKE -!MESSAGE by defining the macro CFG on the command line. For example: -!MESSAGE -!MESSAGE NMAKE /f "ai.mak" CFG="ai - Win32 Debug" -!MESSAGE -!MESSAGE Possible choices for configuration are: -!MESSAGE -!MESSAGE "ai - Win32 Release" (based on "Win32 (x86) Console Application") -!MESSAGE "ai - Win32 Debug" (based on "Win32 (x86) Console Application") -!MESSAGE - -# Begin Project -# PROP AllowPerConfigDependencies 0 -# PROP Scc_ProjName "" -# PROP Scc_LocalPath "" -CPP=cl.exe -RSC=rc.exe - -!IF "$(CFG)" == "ai - Win32 Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "Release" -# PROP BASE Intermediate_Dir "Release" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "" -# PROP Intermediate_Dir "Release" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c -# ADD CPP /nologo /W3 /GX /O2 /I "../../../include" /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c -# ADD BASE RSC /l 0x404 /d "NDEBUG" -# ADD RSC /l 0x404 /d "NDEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ../../../lib/pci-dask.lib /nologo /subsystem:console /machine:I386 - -!ELSEIF "$(CFG)" == "ai - Win32 Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "Debug" -# PROP BASE Intermediate_Dir "Debug" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "Debug" -# PROP Intermediate_Dir "Debug" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /GZ /c -# ADD CPP /nologo /W3 /Gm /GX /ZI /Od /I "../../../include" /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /GZ /c -# ADD BASE RSC /l 0x404 /d "_DEBUG" -# ADD RSC /l 0x404 /d "_DEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ../../../lib/pci-dask.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept - -!ENDIF - -# Begin Target - -# Name "ai - Win32 Release" -# Name "ai - Win32 Debug" -# Begin Group "Source Files" - -# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;idl;hpj;bat" -# Begin Source File - -SOURCE=.\ai.c -# End Source File -# End Group -# Begin Group "Header Files" - -# PROP Default_Filter "h;hpp;hxx;hm;inl" -# End Group -# Begin Group "Resource Files" - -# PROP Default_Filter "ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe" -# End Group -# End Target -# End Project diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9223/C9223_AI_DMA_InfiniteReTrigger/ai.dsw b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9223/C9223_AI_DMA_InfiniteReTrigger/ai.dsw deleted file mode 100644 index 2e548b2..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9223/C9223_AI_DMA_InfiniteReTrigger/ai.dsw +++ /dev/null @@ -1,29 +0,0 @@ -Microsoft Developer Studio Workspace File, Format Version 6.00 -# WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE! - -############################################################################### - -Project: "ai"=.\ai.dsp - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ -}}} - -############################################################################### - -Global: - -Package=<5> -{{{ -}}} - -Package=<3> -{{{ -}}} - -############################################################################### - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9223/C9223_AI_DMA_InfiniteReTrigger/ai.exe b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9223/C9223_AI_DMA_InfiniteReTrigger/ai.exe deleted file mode 100644 index 36d1ea2..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9223/C9223_AI_DMA_InfiniteReTrigger/ai.exe and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9223/C9223_AI_DMA_ReTrigEvent/ai.c b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9223/C9223_AI_DMA_ReTrigEvent/ai.c deleted file mode 100644 index aa1ec64..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9223/C9223_AI_DMA_ReTrigEvent/ai.c +++ /dev/null @@ -1,178 +0,0 @@ -/*----------------------------------------------------------------------------*/ -/* Company : ADLINK */ -/* Date : 2008/08/19 */ -/* */ -/* This sample performs AI acquisition with DMA mode with retrigger mode. */ -/* There are 32(Single Ended Mode)/16(Differetial Mode) AI channels in */ -/* PCI-9223. You can use polling mode or DMA to acquired data from specified */ -/* channels. */ -/*----------------------------------------------------------------------------*/ -#include -#include -#include -#include -#include "dask.h" - -#define READCOUNT 4000 -#define RETRIGCOUNT 4 -#define TOTALTRIGCOUNT (RETRIGCOUNT+1) -#define BUFFERCOUNT TOTALTRIGCOUNT*READCOUNT -#define P922X_TIMEBASE 80000000.0 - - -I16 card, err; -U16 card_num; -U16 ConfigCtrl = P922x_AI_SingEnded|P922x_AI_CONVSRC_INT; -U16 TrigCtrl = P922x_AI_TRGMOD_POST|P922x_AI_TRGSRC_GPI0|P922x_AI_EnReTigger; -U32 ReTriggerCount = RETRIGCOUNT; /*ReTrigger Count = Total Trigger Count - 1*/ -BOOLEAN AutoResetBuf = 1; -U32 ScanIntrv = 20000; /*Scan Rate: P922X_TIMEBASE/20000=4K*/ -U32 SampIntrv = 20000; /*Sampling Rate: P922X_TIMEBASE/20000=4K*/ -U16 RDBuffer[BUFFERCOUNT]; -U16 BufferId; -F64 VBuffer[BUFFERCOUNT]; -U32 AI_ReadCount = READCOUNT; /*AI Read Count per oe trigger*/ -U32 AI_BufferCount = BUFFERCOUNT; /*Total read count*/ -U16 Channel = 0; /*AI Channel Number*/ -U16 AdRange = AD_B_10_V; /*AI Range*/ -U32 i; -FILE *in_file; -U8 FileName[] = "ai_data.txt"; -BOOLEAN Stopped = FALSE; -U32 AccessCnt = 0; -U32 TrigEndCount = 0; - - - -void AI_END_CALLBACK() -{ - AI_AsyncClear(card, &AccessCnt); - printf("\nAI Acquisition Done... Acquires %d samples...\n", AccessCnt); - printf("Write Date to %s...\n", FileName); - err = AI_ContVScale(card, AdRange, RDBuffer, VBuffer, AccessCnt); - if(err<0){ - for(i=0; i -# Microsoft Developer Studio Generated Build File, Format Version 6.00 -# ** DO NOT EDIT ** - -# TARGTYPE "Win32 (x86) Console Application" 0x0103 - -CFG=ai - Win32 Debug -!MESSAGE This is not a valid makefile. To build this project using NMAKE, -!MESSAGE use the Export Makefile command and run -!MESSAGE -!MESSAGE NMAKE /f "ai.mak". -!MESSAGE -!MESSAGE You can specify a configuration when running NMAKE -!MESSAGE by defining the macro CFG on the command line. For example: -!MESSAGE -!MESSAGE NMAKE /f "ai.mak" CFG="ai - Win32 Debug" -!MESSAGE -!MESSAGE Possible choices for configuration are: -!MESSAGE -!MESSAGE "ai - Win32 Release" (based on "Win32 (x86) Console Application") -!MESSAGE "ai - Win32 Debug" (based on "Win32 (x86) Console Application") -!MESSAGE - -# Begin Project -# PROP AllowPerConfigDependencies 0 -# PROP Scc_ProjName "" -# PROP Scc_LocalPath "" -CPP=cl.exe -RSC=rc.exe - -!IF "$(CFG)" == "ai - Win32 Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "Release" -# PROP BASE Intermediate_Dir "Release" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "" -# PROP Intermediate_Dir "Release" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c -# ADD CPP /nologo /W3 /GX /O2 /I "../../../include" /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c -# ADD BASE RSC /l 0x404 /d "NDEBUG" -# ADD RSC /l 0x404 /d "NDEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ../../../lib/pci-dask.lib /nologo /subsystem:console /machine:I386 - -!ELSEIF "$(CFG)" == "ai - Win32 Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "Debug" -# PROP BASE Intermediate_Dir "Debug" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "Debug" -# PROP Intermediate_Dir "Debug" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /GZ /c -# ADD CPP /nologo /W3 /Gm /GX /ZI /Od /I "../../../include" /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /GZ /c -# ADD BASE RSC /l 0x404 /d "_DEBUG" -# ADD RSC /l 0x404 /d "_DEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ../../../lib/pci-dask.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept - -!ENDIF - -# Begin Target - -# Name "ai - Win32 Release" -# Name "ai - Win32 Debug" -# Begin Group "Source Files" - -# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;idl;hpj;bat" -# Begin Source File - -SOURCE=.\ai.c -# End Source File -# End Group -# Begin Group "Header Files" - -# PROP Default_Filter "h;hpp;hxx;hm;inl" -# End Group -# Begin Group "Resource Files" - -# PROP Default_Filter "ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe" -# End Group -# End Target -# End Project diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9223/C9223_AI_DMA_ReTrigEvent/ai.dsw b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9223/C9223_AI_DMA_ReTrigEvent/ai.dsw deleted file mode 100644 index 2e548b2..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9223/C9223_AI_DMA_ReTrigEvent/ai.dsw +++ /dev/null @@ -1,29 +0,0 @@ -Microsoft Developer Studio Workspace File, Format Version 6.00 -# WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE! - -############################################################################### - -Project: "ai"=.\ai.dsp - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ -}}} - -############################################################################### - -Global: - -Package=<5> -{{{ -}}} - -Package=<3> -{{{ -}}} - -############################################################################### - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9223/C9223_AI_DMA_ReTrigEvent/ai.exe b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9223/C9223_AI_DMA_ReTrigEvent/ai.exe deleted file mode 100644 index cfd6cbc..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9223/C9223_AI_DMA_ReTrigEvent/ai.exe and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9223/C9223_AI_DMA_ReTrigger/ai.c b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9223/C9223_AI_DMA_ReTrigger/ai.c deleted file mode 100644 index b8b6ae5..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9223/C9223_AI_DMA_ReTrigger/ai.c +++ /dev/null @@ -1,198 +0,0 @@ -/*----------------------------------------------------------------------------*/ -/* Company : ADLINK */ -/* Date : 2008/08/19 */ -/* */ -/* This sample performs continuous AI acquisition with Re-Trigger mode. */ -/* There are 32(Single Ended Mode)/16(Differetial Mode) AI channels in */ -/* PCI-9223. You can use polling mode or DMA to acquired data from specified */ -/* channels. */ -/*----------------------------------------------------------------------------*/ -#include -#include -#include -#include -#include -#include "dask.h" - -#define AI_ACQCNT 4000 /*Acquisition count per one trigger*/ -#define AI_TRIGCNT 4 /*Total Trigger count*/ -#define AI_BUFCNT AI_ACQCNT*AI_TRIGCNT /*buffer size for all acquired data*/ -#define CHANNELCOUNT 4 /*AI Channel Count*/ -#define P922X_TIMEBASE 80000000.0 /*Internal Timebase of PCI-922x*/ - -int main(int argc, char **argv) -{ - I16 card, err; - U16 card_num; - U16 ConfigCtrl = P922x_AI_SingEnded|P922x_AI_CONVSRC_INT; - U16 TrigCtrl = P922x_AI_TRGMOD_POST|P922x_AI_TRGSRC_GPI0|P922x_AI_EnReTigger; - U32 ReTriggerCount = AI_TRIGCNT-1; /*ReTrigger Count = Total Trigger Count - 1*/ - BOOLEAN AutoResetBuf = 1; - U32 ScanIntrv = 320*CHANNELCOUNT; /*Scan Rate: P922X_TIMEBASE/320/4 = 62.5K Hz*/ - U32 SampIntrv = 320; /*Scan Rate: P922X_TIMEBASE/320 = 250K Hz*/ - U16 RDBuffer[AI_BUFCNT]; /*Buffer to be setup*/ - U16 BufferId; - F64 VBuffer[AI_BUFCNT]; - U32 AI_ReadCount = AI_ACQCNT; /*AI Read Count per one Trigger*/ - U16 NumChans = CHANNELCOUNT; /*AI Channel Count*/ - U16 Chans[CHANNELCOUNT]; /*AI Channels Array*/ - U16 AdRanges[CHANNELCOUNT]; /*AI Ranges Array*/ - BOOLEAN Ready; - BOOLEAN StopFlag; - U16 RdyTrigCnt; - U32 AccessCnt; - FILE *w_file; - U8 FileName[] = "ai_data.txt"; - U32 i, j; - /*--------------------------------*/ - - memset(RDBuffer, '\0', AI_BUFCNT*sizeof(U16)); - memset(VBuffer, '\0', AI_BUFCNT*sizeof(F64)); - if(!(w_file=fopen(FileName, "w"))){ - printf("file open error...\n"); - exit(1); - } - srand(time(NULL)); - i = 0; - do{ - Chans[i] = rand()%32; - for(j=0; j -# Microsoft Developer Studio Generated Build File, Format Version 6.00 -# ** DO NOT EDIT ** - -# TARGTYPE "Win32 (x86) Console Application" 0x0103 - -CFG=ai - Win32 Debug -!MESSAGE This is not a valid makefile. To build this project using NMAKE, -!MESSAGE use the Export Makefile command and run -!MESSAGE -!MESSAGE NMAKE /f "ai.mak". -!MESSAGE -!MESSAGE You can specify a configuration when running NMAKE -!MESSAGE by defining the macro CFG on the command line. For example: -!MESSAGE -!MESSAGE NMAKE /f "ai.mak" CFG="ai - Win32 Debug" -!MESSAGE -!MESSAGE Possible choices for configuration are: -!MESSAGE -!MESSAGE "ai - Win32 Release" (based on "Win32 (x86) Console Application") -!MESSAGE "ai - Win32 Debug" (based on "Win32 (x86) Console Application") -!MESSAGE - -# Begin Project -# PROP AllowPerConfigDependencies 0 -# PROP Scc_ProjName "" -# PROP Scc_LocalPath "" -CPP=cl.exe -RSC=rc.exe - -!IF "$(CFG)" == "ai - Win32 Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "Release" -# PROP BASE Intermediate_Dir "Release" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "" -# PROP Intermediate_Dir "Release" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c -# ADD CPP /nologo /W3 /GX /O2 /I "../../../include" /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c -# ADD BASE RSC /l 0x404 /d "NDEBUG" -# ADD RSC /l 0x404 /d "NDEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ../../../lib/pci-dask.lib /nologo /subsystem:console /machine:I386 - -!ELSEIF "$(CFG)" == "ai - Win32 Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "Debug" -# PROP BASE Intermediate_Dir "Debug" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "Debug" -# PROP Intermediate_Dir "Debug" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /GZ /c -# ADD CPP /nologo /W3 /Gm /GX /ZI /Od /I "../../../include" /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /GZ /c -# ADD BASE RSC /l 0x404 /d "_DEBUG" -# ADD RSC /l 0x404 /d "_DEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ../../../lib/pci-dask.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept - -!ENDIF - -# Begin Target - -# Name "ai - Win32 Release" -# Name "ai - Win32 Debug" -# Begin Group "Source Files" - -# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;idl;hpj;bat" -# Begin Source File - -SOURCE=.\ai.c -# End Source File -# End Group -# Begin Group "Header Files" - -# PROP Default_Filter "h;hpp;hxx;hm;inl" -# End Group -# Begin Group "Resource Files" - -# PROP Default_Filter "ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe" -# End Group -# End Target -# End Project diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9223/C9223_AI_DMA_ReTrigger/ai.dsw b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9223/C9223_AI_DMA_ReTrigger/ai.dsw deleted file mode 100644 index 2e548b2..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9223/C9223_AI_DMA_ReTrigger/ai.dsw +++ /dev/null @@ -1,29 +0,0 @@ -Microsoft Developer Studio Workspace File, Format Version 6.00 -# WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE! - -############################################################################### - -Project: "ai"=.\ai.dsp - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ -}}} - -############################################################################### - -Global: - -Package=<5> -{{{ -}}} - -Package=<3> -{{{ -}}} - -############################################################################### - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9223/C9223_AI_DMA_ReTrigger/ai.exe b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9223/C9223_AI_DMA_ReTrigger/ai.exe deleted file mode 100644 index eed5f9e..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9223/C9223_AI_DMA_ReTrigger/ai.exe and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9223/C9223_AI_Polling/ai.c b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9223/C9223_AI_Polling/ai.c deleted file mode 100644 index 5063e0f..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9223/C9223_AI_Polling/ai.c +++ /dev/null @@ -1,56 +0,0 @@ -/*----------------------------------------------------------------------------*/ -/* Company : ADLINK */ -/* Date : 2008/08/19 */ -/* */ -/* This sample performs AI acquisition with polling mode. */ -/* There are 32(Single Ended Mode)/16(Differetial Mode) AI channels in */ -/* PCI-9223. You can use polling mode or DMA to acquired data from specified */ -/* channels. */ -/*----------------------------------------------------------------------------*/ -#include -#include -#include -#include -#include "dask.h" - -int main(int argc, char **argv) -{ - I16 card, err; - U16 card_num; - - U16 Channel = 0; - U16 AdRange = AD_B_10_V; - U16 Value; - F64 Voltage; - - printf("This sample acquires analog voltage from AI Channel 0 with polling mode.\n"); - printf("Card Number? "); - scanf(" %hd", &card_num); - - card = Register_Card(PCI_9223, card_num); - if(card<0){ - printf("Register_Card Error: %d\n", card); - exit(1); - } - - do{ - err = AI_ReadChannel(card, Channel, AdRange, &Value); - if(err<0){ - printf("AI_ReadChannel Error: %d\n", err); - Release_Card(card); - exit(1); - } - system("cls"); - printf("------------------------------------\n"); - AI_VoltScale(card, AdRange, Value, &Voltage); - printf(" Channel %d :\n", Channel); - printf(" Acquired Raw Data : 0x%x\n", Value); - printf(" Scaled Voltage : %8.6lf\n", Voltage); - printf("\n Press any key to exit...\n"); - printf("------------------------------------\n"); - Sleep(100); - }while(!kbhit()); - - Release_Card(card); - return 0; -} diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9223/C9223_AI_Polling/ai.dsp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9223/C9223_AI_Polling/ai.dsp deleted file mode 100644 index c26103a..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9223/C9223_AI_Polling/ai.dsp +++ /dev/null @@ -1,102 +0,0 @@ -# Microsoft Developer Studio Project File - Name="ai" - Package Owner=<4> -# Microsoft Developer Studio Generated Build File, Format Version 6.00 -# ** DO NOT EDIT ** - -# TARGTYPE "Win32 (x86) Console Application" 0x0103 - -CFG=ai - Win32 Debug -!MESSAGE This is not a valid makefile. To build this project using NMAKE, -!MESSAGE use the Export Makefile command and run -!MESSAGE -!MESSAGE NMAKE /f "ai.mak". -!MESSAGE -!MESSAGE You can specify a configuration when running NMAKE -!MESSAGE by defining the macro CFG on the command line. For example: -!MESSAGE -!MESSAGE NMAKE /f "ai.mak" CFG="ai - Win32 Debug" -!MESSAGE -!MESSAGE Possible choices for configuration are: -!MESSAGE -!MESSAGE "ai - Win32 Release" (based on "Win32 (x86) Console Application") -!MESSAGE "ai - Win32 Debug" (based on "Win32 (x86) Console Application") -!MESSAGE - -# Begin Project -# PROP AllowPerConfigDependencies 0 -# PROP Scc_ProjName "" -# PROP Scc_LocalPath "" -CPP=cl.exe -RSC=rc.exe - -!IF "$(CFG)" == "ai - Win32 Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "Release" -# PROP BASE Intermediate_Dir "Release" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "" -# PROP Intermediate_Dir "Release" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c -# ADD CPP /nologo /W3 /GX /O2 /I "../../../include" /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c -# ADD BASE RSC /l 0x404 /d "NDEBUG" -# ADD RSC /l 0x404 /d "NDEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ../../../lib/pci-dask.lib /nologo /subsystem:console /machine:I386 - -!ELSEIF "$(CFG)" == "ai - Win32 Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "Debug" -# PROP BASE Intermediate_Dir "Debug" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "Debug" -# PROP Intermediate_Dir "Debug" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /GZ /c -# ADD CPP /nologo /W3 /Gm /GX /ZI /Od /I "../../../include" /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /GZ /c -# ADD BASE RSC /l 0x404 /d "_DEBUG" -# ADD RSC /l 0x404 /d "_DEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ../../../lib/pci-dask.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept - -!ENDIF - -# Begin Target - -# Name "ai - Win32 Release" -# Name "ai - Win32 Debug" -# Begin Group "Source Files" - -# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;idl;hpj;bat" -# Begin Source File - -SOURCE=.\ai.c -# End Source File -# End Group -# Begin Group "Header Files" - -# PROP Default_Filter "h;hpp;hxx;hm;inl" -# End Group -# Begin Group "Resource Files" - -# PROP Default_Filter "ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe" -# End Group -# End Target -# End Project diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9223/C9223_AI_Polling/ai.dsw b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9223/C9223_AI_Polling/ai.dsw deleted file mode 100644 index 2e548b2..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9223/C9223_AI_Polling/ai.dsw +++ /dev/null @@ -1,29 +0,0 @@ -Microsoft Developer Studio Workspace File, Format Version 6.00 -# WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE! - -############################################################################### - -Project: "ai"=.\ai.dsp - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ -}}} - -############################################################################### - -Global: - -Package=<5> -{{{ -}}} - -Package=<3> -{{{ -}}} - -############################################################################### - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9223/C9223_AI_Polling/ai.exe b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9223/C9223_AI_Polling/ai.exe deleted file mode 100644 index ebed71a..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9223/C9223_AI_Polling/ai.exe and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9223/C9223_AO_DMA_DBF/ao.c b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9223/C9223_AO_DMA_DBF/ao.c deleted file mode 100644 index a6ad60d..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9223/C9223_AO_DMA_DBF/ao.c +++ /dev/null @@ -1,142 +0,0 @@ -/*----------------------------------------------------------------------------*/ -/* Company : ADLINK */ -/* Date : 2008/08/19 */ -/* */ -/* This sample infinitely updates AO voltage with DMA Double Buffer mode. */ -/* There are 2 AO channels in PCI-9223. You can use polling mode or DMA to */ -/* to update data to specified channels. */ -/*----------------------------------------------------------------------------*/ -#include -#include -#include -#include -#include -#include "dask.h" - -#define WRITECOUNT 8000 -#define TIMEBASE 80000000 -#define UPDATEINTRV 10000 -#define PI 3.1415926 - -int main(int argc, char **argv) -{ - I16 card, err; - U16 card_num; - U16 ConfigCtrl = P922x_AO_CONVSRC_INT; - U16 TrigCtrl = P922x_AO_TRGMOD_POST|P922x_AO_TRGSRC_SOFT; - U32 ReTrgCnt = 0; //Ignored in non-retrigger mode - U32 DLY1Cnt = 0; //Ignored in non-delay trigger mode - U32 DLY2Cnt = 0; //Ignored in non-delay2 mode - BOOLEAN AutoResetBuf = 1; - U32 W_Buffer0[WRITECOUNT]; - U32 W_Buffer1[WRITECOUNT]; - U32 Patten0[WRITECOUNT]; - U32 Patten1[WRITECOUNT]; - U32 WriteCount = WRITECOUNT; - U16 BufferId0; - U16 BufferId1; - U16 Channel = 0; //AO channel to be written - U32 Iterations = 0; //Infinite repeate - U32 CHUI = UPDATEINTRV; - U16 definite = 0; - U32 vi; - BOOLEAN HalfReady; - U32 AccessCnt; - U16 RdyBufCnt = 0; - - for(vi=0; vi -# Microsoft Developer Studio Generated Build File, Format Version 6.00 -# ** DO NOT EDIT ** - -# TARGTYPE "Win32 (x86) Console Application" 0x0103 - -CFG=ao - Win32 Debug -!MESSAGE This is not a valid makefile. To build this project using NMAKE, -!MESSAGE use the Export Makefile command and run -!MESSAGE -!MESSAGE NMAKE /f "ao.mak". -!MESSAGE -!MESSAGE You can specify a configuration when running NMAKE -!MESSAGE by defining the macro CFG on the command line. For example: -!MESSAGE -!MESSAGE NMAKE /f "ao.mak" CFG="ao - Win32 Debug" -!MESSAGE -!MESSAGE Possible choices for configuration are: -!MESSAGE -!MESSAGE "ao - Win32 Release" (based on "Win32 (x86) Console Application") -!MESSAGE "ao - Win32 Debug" (based on "Win32 (x86) Console Application") -!MESSAGE - -# Begin Project -# PROP AllowPerConfigDependencies 0 -# PROP Scc_ProjName "" -# PROP Scc_LocalPath "" -CPP=cl.exe -RSC=rc.exe - -!IF "$(CFG)" == "ao - Win32 Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "Release" -# PROP BASE Intermediate_Dir "Release" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "" -# PROP Intermediate_Dir "Release" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c -# ADD CPP /nologo /W3 /GX /O2 /I "../../../include" /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c -# ADD BASE RSC /l 0x404 /d "NDEBUG" -# ADD RSC /l 0x404 /d "NDEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ../../../lib/pci-dask.lib /nologo /subsystem:console /machine:I386 - -!ELSEIF "$(CFG)" == "ao - Win32 Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "Debug" -# PROP BASE Intermediate_Dir "Debug" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "Debug" -# PROP Intermediate_Dir "Debug" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /GZ /c -# ADD CPP /nologo /W3 /Gm /GX /ZI /Od /I "../../../include" /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /GZ /c -# ADD BASE RSC /l 0x404 /d "_DEBUG" -# ADD RSC /l 0x404 /d "_DEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ../../../lib/pci-dask.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept - -!ENDIF - -# Begin Target - -# Name "ao - Win32 Release" -# Name "ao - Win32 Debug" -# Begin Group "Source Files" - -# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;idl;hpj;bat" -# Begin Source File - -SOURCE=.\ao.c -# End Source File -# End Group -# Begin Group "Header Files" - -# PROP Default_Filter "h;hpp;hxx;hm;inl" -# End Group -# Begin Group "Resource Files" - -# PROP Default_Filter "ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe" -# End Group -# End Target -# End Project diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9223/C9223_AO_DMA_DBF/ao.dsw b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9223/C9223_AO_DMA_DBF/ao.dsw deleted file mode 100644 index d7a54c7..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9223/C9223_AO_DMA_DBF/ao.dsw +++ /dev/null @@ -1,29 +0,0 @@ -Microsoft Developer Studio Workspace File, Format Version 6.00 -# WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE! - -############################################################################### - -Project: "ao"=.\ao.dsp - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ -}}} - -############################################################################### - -Global: - -Package=<5> -{{{ -}}} - -Package=<3> -{{{ -}}} - -############################################################################### - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9223/C9223_AO_DMA_DBF/ao.exe b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9223/C9223_AO_DMA_DBF/ao.exe deleted file mode 100644 index e8e68a6..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9223/C9223_AO_DMA_DBF/ao.exe and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9223/C9223_AO_DMA_DBFEvent/ao.c b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9223/C9223_AO_DMA_DBFEvent/ao.c deleted file mode 100644 index b9035f1..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9223/C9223_AO_DMA_DBFEvent/ao.c +++ /dev/null @@ -1,185 +0,0 @@ -/*----------------------------------------------------------------------------*/ -/* Company : ADLINK */ -/* Date : 2008/08/19 */ -/* */ -/* This sample simultaneously infinite updates AO voltage to AO two channels */ -/* with event call back functions. */ -/* In simultaneously continuous AO, AO_Buffer[0] and AO_Buffer[1] are */ -/* simultaneously updating to AO Channel 0 and 1, then, AO_Buffer[2] and */ -/* AO_Buffer[3] are simultaneously updating to AO Channel 0 and 1, ..., etc. */ -/* With event call back functions, the set CallBack function will be */ -/* performed while the set event is comming. */ -/*----------------------------------------------------------------------------*/ -#include -#include -#include -#include -#include -#include "dask.h" - -#define WRITECOUNT 8000 -#define TIMEBASE 80000000 -#define UPDATEINTRV 10000 -#define PI 3.1415926 -#define WRITECHNCNT 2 - -I16 card, err; -U16 card_num; -U16 ConfigCtrl = P922x_AO_CONVSRC_INT; -U16 TrigCtrl = P922x_AO_TRGMOD_POST|P922x_AO_TRGSRC_SOFT; -U32 ReTrgCnt = 0; //Ignored in non-retrigger mode -U32 DLY1Cnt = 0; //Ignored in non-delay trigger mode -U32 DLY2Cnt = 0; //Ignored in non-delay2 -BOOLEAN AutoResetBuf = 1; -U32 W_Buffer0[WRITECOUNT*WRITECHNCNT]; //Data buffer to be written -U32 W_Buffer1[WRITECOUNT*WRITECHNCNT]; //Data buffer to be written -U32 Patten0[WRITECOUNT*WRITECHNCNT]; -U32 Patten1[WRITECOUNT*WRITECHNCNT]; -U32 WriteCount = WRITECOUNT; -U32 BufferCnt = WRITECOUNT*WRITECHNCNT; //needs extra buffer size for simultaneously AO update -U16 BufferId0; -U16 BufferId1; -U16 NumChans = WRITECHNCNT; //Numbers of AO channels -U16 Chans[WRITECHNCNT] = {0, 1}; //AO Channels -U32 Iterations = 0; //Infinite repeats -U32 CHUI = UPDATEINTRV; -U16 definite = 0; -U32 vi; -U32 AccessCnt; -U16 StopFlag = 0; -U16 ViewIdx = 0; -U32 BufChgIdx = 0; - - -void AO_END_CALLBACK() -{ - printf("\nAO End...\n"); - StopFlag = 1; -} - -void AO_DBEVENT_CALLBACK() -{ - if(ViewIdx==0){ - printf("Buffer 0 updated...\n"); - if(BufChgIdx==0) - memcpy(W_Buffer0, Patten1, BufferCnt*sizeof(U32)); - else - memcpy(W_Buffer0, Patten0, BufferCnt*sizeof(U32)); - } - else{ - printf("Buffer 1 updated...\n"); - if(BufChgIdx==0) - memcpy(W_Buffer1, Patten0, BufferCnt*sizeof(U32)); - else - memcpy(W_Buffer1, Patten1, BufferCnt*sizeof(U32)); - } - BufChgIdx = (ViewIdx==1)? ((BufChgIdx==0)? 1:0):BufChgIdx; - ViewIdx = ViewIdx? 0:1; -} - - -int main(int argc, char **argv) -{ - for(vi=0; vi -# Microsoft Developer Studio Generated Build File, Format Version 6.00 -# ** DO NOT EDIT ** - -# TARGTYPE "Win32 (x86) Console Application" 0x0103 - -CFG=ao - Win32 Debug -!MESSAGE This is not a valid makefile. To build this project using NMAKE, -!MESSAGE use the Export Makefile command and run -!MESSAGE -!MESSAGE NMAKE /f "ao.mak". -!MESSAGE -!MESSAGE You can specify a configuration when running NMAKE -!MESSAGE by defining the macro CFG on the command line. For example: -!MESSAGE -!MESSAGE NMAKE /f "ao.mak" CFG="ao - Win32 Debug" -!MESSAGE -!MESSAGE Possible choices for configuration are: -!MESSAGE -!MESSAGE "ao - Win32 Release" (based on "Win32 (x86) Console Application") -!MESSAGE "ao - Win32 Debug" (based on "Win32 (x86) Console Application") -!MESSAGE - -# Begin Project -# PROP AllowPerConfigDependencies 0 -# PROP Scc_ProjName "" -# PROP Scc_LocalPath "" -CPP=cl.exe -RSC=rc.exe - -!IF "$(CFG)" == "ao - Win32 Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "Release" -# PROP BASE Intermediate_Dir "Release" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "" -# PROP Intermediate_Dir "Release" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c -# ADD CPP /nologo /W3 /GX /O2 /I "../../../include" /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c -# ADD BASE RSC /l 0x404 /d "NDEBUG" -# ADD RSC /l 0x404 /d "NDEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ../../../lib/pci-dask.lib /nologo /subsystem:console /machine:I386 - -!ELSEIF "$(CFG)" == "ao - Win32 Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "Debug" -# PROP BASE Intermediate_Dir "Debug" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "Debug" -# PROP Intermediate_Dir "Debug" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /GZ /c -# ADD CPP /nologo /W3 /Gm /GX /ZI /Od /I "../../../include" /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /GZ /c -# ADD BASE RSC /l 0x404 /d "_DEBUG" -# ADD RSC /l 0x404 /d "_DEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ../../../lib/pci-dask.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept - -!ENDIF - -# Begin Target - -# Name "ao - Win32 Release" -# Name "ao - Win32 Debug" -# Begin Group "Source Files" - -# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;idl;hpj;bat" -# Begin Source File - -SOURCE=.\ao.c -# End Source File -# End Group -# Begin Group "Header Files" - -# PROP Default_Filter "h;hpp;hxx;hm;inl" -# End Group -# Begin Group "Resource Files" - -# PROP Default_Filter "ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe" -# End Group -# End Target -# End Project diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9223/C9223_AO_DMA_DBFEvent/ao.dsw b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9223/C9223_AO_DMA_DBFEvent/ao.dsw deleted file mode 100644 index d7a54c7..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9223/C9223_AO_DMA_DBFEvent/ao.dsw +++ /dev/null @@ -1,29 +0,0 @@ -Microsoft Developer Studio Workspace File, Format Version 6.00 -# WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE! - -############################################################################### - -Project: "ao"=.\ao.dsp - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ -}}} - -############################################################################### - -Global: - -Package=<5> -{{{ -}}} - -Package=<3> -{{{ -}}} - -############################################################################### - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9223/C9223_AO_DMA_DBFEvent/ao.exe b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9223/C9223_AO_DMA_DBFEvent/ao.exe deleted file mode 100644 index 88e011b..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9223/C9223_AO_DMA_DBFEvent/ao.exe and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9223/C9223_AO_DMA_ExtConvSrc/ao.c b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9223/C9223_AO_DMA_ExtConvSrc/ao.c deleted file mode 100644 index db15021..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9223/C9223_AO_DMA_ExtConvSrc/ao.c +++ /dev/null @@ -1,111 +0,0 @@ -/*----------------------------------------------------------------------------*/ -/* Company : ADLINK */ -/* Date : 2008/09/25 */ -/* */ -/* This sample updates AO voltage with external conversion source. */ -/* There are 2 AO channels in PCI-9223. You can use polling mode or DMA to */ -/* to update data to specified channels. */ -/*----------------------------------------------------------------------------*/ -#include -#include -#include -#include -#include -#include "dask.h" - -#define WRITECOUNT 8000 -#define PI 3.1415926 - - -int main(int argc, char **argv) -{ - I16 card, err; - U16 card_num; - U16 ConfigCtrl = P922x_AO_CONVSRC_GPI0; - U16 TrigCtrl = 0; //Dose not support any trigger mode/source in external conversion source mode - U32 ReTrgCnt = 0; - U32 DLY1Cnt = 0; - U32 DLY2Cnt = 0; - BOOLEAN AutoResetBuf = 1; - U32 W_Buffer[WRITECOUNT]; - U32 WriteCount = WRITECOUNT; - U16 BufferId; - U16 Channel = 0; - U32 Iterations = 1; //Only support 1 or infinite iterations in external conversion source mode - U32 CHUI = 0; //Ignore in external conversion source mode - U16 definite = 1; //Only support definite mode in external conversion source mode - U16 SyncMode = ASYNCH_OP; //Only support ASYNC. mode in external conversion source mode - U32 vi; - U32 AccessCnt; - BOOLEAN Stopped; - - for(vi=0; vi -# Microsoft Developer Studio Generated Build File, Format Version 6.00 -# ** DO NOT EDIT ** - -# TARGTYPE "Win32 (x86) Console Application" 0x0103 - -CFG=ao - Win32 Debug -!MESSAGE This is not a valid makefile. To build this project using NMAKE, -!MESSAGE use the Export Makefile command and run -!MESSAGE -!MESSAGE NMAKE /f "ao.mak". -!MESSAGE -!MESSAGE You can specify a configuration when running NMAKE -!MESSAGE by defining the macro CFG on the command line. For example: -!MESSAGE -!MESSAGE NMAKE /f "ao.mak" CFG="ao - Win32 Debug" -!MESSAGE -!MESSAGE Possible choices for configuration are: -!MESSAGE -!MESSAGE "ao - Win32 Release" (based on "Win32 (x86) Console Application") -!MESSAGE "ao - Win32 Debug" (based on "Win32 (x86) Console Application") -!MESSAGE - -# Begin Project -# PROP AllowPerConfigDependencies 0 -# PROP Scc_ProjName "" -# PROP Scc_LocalPath "" -CPP=cl.exe -RSC=rc.exe - -!IF "$(CFG)" == "ao - Win32 Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "Release" -# PROP BASE Intermediate_Dir "Release" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "" -# PROP Intermediate_Dir "Release" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c -# ADD CPP /nologo /W3 /GX /O2 /I "../../../include" /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c -# ADD BASE RSC /l 0x404 /d "NDEBUG" -# ADD RSC /l 0x404 /d "NDEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ../../../lib/pci-dask.lib /nologo /subsystem:console /machine:I386 - -!ELSEIF "$(CFG)" == "ao - Win32 Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "Debug" -# PROP BASE Intermediate_Dir "Debug" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "Debug" -# PROP Intermediate_Dir "Debug" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /GZ /c -# ADD CPP /nologo /W3 /Gm /GX /ZI /Od /I "../../../include" /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /GZ /c -# ADD BASE RSC /l 0x404 /d "_DEBUG" -# ADD RSC /l 0x404 /d "_DEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ../../../lib/pci-dask.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept - -!ENDIF - -# Begin Target - -# Name "ao - Win32 Release" -# Name "ao - Win32 Debug" -# Begin Group "Source Files" - -# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;idl;hpj;bat" -# Begin Source File - -SOURCE=.\ao.c -# End Source File -# End Group -# Begin Group "Header Files" - -# PROP Default_Filter "h;hpp;hxx;hm;inl" -# End Group -# Begin Group "Resource Files" - -# PROP Default_Filter "ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe" -# End Group -# End Target -# End Project diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9223/C9223_AO_DMA_ExtConvSrc/ao.dsw b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9223/C9223_AO_DMA_ExtConvSrc/ao.dsw deleted file mode 100644 index d7a54c7..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9223/C9223_AO_DMA_ExtConvSrc/ao.dsw +++ /dev/null @@ -1,29 +0,0 @@ -Microsoft Developer Studio Workspace File, Format Version 6.00 -# WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE! - -############################################################################### - -Project: "ao"=.\ao.dsp - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ -}}} - -############################################################################### - -Global: - -Package=<5> -{{{ -}}} - -Package=<3> -{{{ -}}} - -############################################################################### - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9223/C9223_AO_DMA_ExtConvSrc/ao.exe b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9223/C9223_AO_DMA_ExtConvSrc/ao.exe deleted file mode 100644 index a613378..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9223/C9223_AO_DMA_ExtConvSrc/ao.exe and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9223/C9223_AO_DMA_InfiniteDReTrigger/ao.c b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9223/C9223_AO_DMA_InfiniteDReTrigger/ao.c deleted file mode 100644 index 76bdf8d..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9223/C9223_AO_DMA_InfiniteDReTrigger/ao.c +++ /dev/null @@ -1,110 +0,0 @@ -/*----------------------------------------------------------------------------*/ -/* Company : ADLINK */ -/* Date : 2008/08/19 */ -/* */ -/* This sample performs continuous AO DMA update with infinite delay trigger */ -/* and wave repeats. */ -/* There are 2 AO channels in PCI-9223. You can use polling mode or DMA to */ -/* to update data to specified channels. */ -/*----------------------------------------------------------------------------*/ -#include -#include -#include -#include -#include -#include "dask.h" - -#define WRITECOUNT 8000 -#define TIMEBASE 80000000 -#define UPDATEINTRV 10000 -#define PI 3.1415926 - -int main(int argc, char **argv) -{ - I16 card, err; - U16 card_num; - U16 ConfigCtrl = P922x_AO_CONVSRC_INT; - U16 TrigCtrl = P922x_AO_TRGMOD_DELAY|P922x_AO_TRGSRC_GPI0|P922x_AO_EnReTigger|P922x_AO_EnDelay2; - U32 ReTrgCnt = 0; //0 means infinite trigger if retrigger is enabled - U32 DLY1Cnt = 80000000; //Trigger delay count; Delay time = DLY1Cnt/TIMEBASE sec. - U32 DLY2Cnt = 40000000; //Wave separation count; Delay time = DLY2Cnt/TIMEBASE sec. - BOOLEAN AutoResetBuf = 1; //Auto reset buffer descriptor built in kernel - U32 W_Buffer[WRITECOUNT]; //Data buffer to be written - U32 WriteCount = WRITECOUNT; //Wrtie count per one wave/one trigger - U16 BufferId; - U16 Channel = 0; //AO channel to be written - U32 Iterations = 4; //Wave iterations per one trigger - U32 CHUI = UPDATEINTRV; - U16 definite = 1; - U32 vi; - U32 AccessCnt; - BOOLEAN Stopped; - - - for(vi=0; vi -# Microsoft Developer Studio Generated Build File, Format Version 6.00 -# ** DO NOT EDIT ** - -# TARGTYPE "Win32 (x86) Console Application" 0x0103 - -CFG=ao - Win32 Debug -!MESSAGE This is not a valid makefile. To build this project using NMAKE, -!MESSAGE use the Export Makefile command and run -!MESSAGE -!MESSAGE NMAKE /f "ao.mak". -!MESSAGE -!MESSAGE You can specify a configuration when running NMAKE -!MESSAGE by defining the macro CFG on the command line. For example: -!MESSAGE -!MESSAGE NMAKE /f "ao.mak" CFG="ao - Win32 Debug" -!MESSAGE -!MESSAGE Possible choices for configuration are: -!MESSAGE -!MESSAGE "ao - Win32 Release" (based on "Win32 (x86) Console Application") -!MESSAGE "ao - Win32 Debug" (based on "Win32 (x86) Console Application") -!MESSAGE - -# Begin Project -# PROP AllowPerConfigDependencies 0 -# PROP Scc_ProjName "" -# PROP Scc_LocalPath "" -CPP=cl.exe -RSC=rc.exe - -!IF "$(CFG)" == "ao - Win32 Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "Release" -# PROP BASE Intermediate_Dir "Release" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "" -# PROP Intermediate_Dir "Release" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c -# ADD CPP /nologo /W3 /GX /O2 /I "../../../include" /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c -# ADD BASE RSC /l 0x404 /d "NDEBUG" -# ADD RSC /l 0x404 /d "NDEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ../../../lib/pci-dask.lib /nologo /subsystem:console /machine:I386 - -!ELSEIF "$(CFG)" == "ao - Win32 Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "Debug" -# PROP BASE Intermediate_Dir "Debug" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "Debug" -# PROP Intermediate_Dir "Debug" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /GZ /c -# ADD CPP /nologo /W3 /Gm /GX /ZI /Od /I "../../../include" /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /GZ /c -# ADD BASE RSC /l 0x404 /d "_DEBUG" -# ADD RSC /l 0x404 /d "_DEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ../../../lib/pci-dask.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept - -!ENDIF - -# Begin Target - -# Name "ao - Win32 Release" -# Name "ao - Win32 Debug" -# Begin Group "Source Files" - -# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;idl;hpj;bat" -# Begin Source File - -SOURCE=.\ao.c -# End Source File -# End Group -# Begin Group "Header Files" - -# PROP Default_Filter "h;hpp;hxx;hm;inl" -# End Group -# Begin Group "Resource Files" - -# PROP Default_Filter "ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe" -# End Group -# End Target -# End Project diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9223/C9223_AO_DMA_InfiniteDReTrigger/ao.dsw b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9223/C9223_AO_DMA_InfiniteDReTrigger/ao.dsw deleted file mode 100644 index d7a54c7..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9223/C9223_AO_DMA_InfiniteDReTrigger/ao.dsw +++ /dev/null @@ -1,29 +0,0 @@ -Microsoft Developer Studio Workspace File, Format Version 6.00 -# WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE! - -############################################################################### - -Project: "ao"=.\ao.dsp - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ -}}} - -############################################################################### - -Global: - -Package=<5> -{{{ -}}} - -Package=<3> -{{{ -}}} - -############################################################################### - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9223/C9223_AO_DMA_InfiniteDReTrigger/ao.exe b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9223/C9223_AO_DMA_InfiniteDReTrigger/ao.exe deleted file mode 100644 index b251c0c..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9223/C9223_AO_DMA_InfiniteDReTrigger/ao.exe and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9223/C9223_AO_DMA_ReTrigEvent/ao.c b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9223/C9223_AO_DMA_ReTrigEvent/ao.c deleted file mode 100644 index f7807c7..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9223/C9223_AO_DMA_ReTrigEvent/ao.c +++ /dev/null @@ -1,143 +0,0 @@ -/*----------------------------------------------------------------------------*/ -/* Company : ADLINK */ -/* Date : 2008/08/19 */ -/* */ -/* This sample performs AO retrigger update with event call back function. */ -/* There are 2 AO channels in PCI-9223. You can use polling mode or DMA to */ -/* to update data to specified channels. */ -/*----------------------------------------------------------------------------*/ -#include -#include -#include -#include -#include -#include "dask.h" - -#define WRITECOUNT 8000 -#define TIMEBASE 80000000 -#define UPDATEINTRV 10000 -#define PI 3.1415926 - -I16 card, err; -U16 card_num; -U16 ConfigCtrl = P922x_AO_CONVSRC_INT; -U16 TrigCtrl = P922x_AO_TRGMOD_POST|P922x_AO_TRGSRC_GPI0|P922x_AO_EnReTigger; -U32 ReTrgCnt = 3; //Retrigger count -U32 DLY1Cnt = 0; //Ignored in non-delay trigger mode -U32 DLY2Cnt = 0; //Ignored in non-delay2 -BOOLEAN AutoResetBuf = 1; -U32 W_Buffer[WRITECOUNT]; -U32 WriteCount = WRITECOUNT; -U16 BufferId; -U16 Channel = 0; //Updated AO channel -U32 Iterations = 2; //wave repeats -U32 CHUI = UPDATEINTRV; -U16 definite = 1; -U32 vi; -U32 AccessCnt; -BOOLEAN Stopped; -U32 TrigEndCount = 0; - - -void AO_END_CALLBACK() -{ - AO_AsyncClear(card, &AccessCnt, 0); - printf("\nAO Done...\n"); - Stopped = 1; -} - -void AO_RETRIGGER_CALLBACK() -{ - TrigEndCount++; - printf("\nAO Trigger End with next trigger: %d\n", TrigEndCount); -} - - -int main(int argc, char **argv) -{ - - for(vi=0; vi -# Microsoft Developer Studio Generated Build File, Format Version 6.00 -# ** DO NOT EDIT ** - -# TARGTYPE "Win32 (x86) Console Application" 0x0103 - -CFG=ao - Win32 Debug -!MESSAGE This is not a valid makefile. To build this project using NMAKE, -!MESSAGE use the Export Makefile command and run -!MESSAGE -!MESSAGE NMAKE /f "ao.mak". -!MESSAGE -!MESSAGE You can specify a configuration when running NMAKE -!MESSAGE by defining the macro CFG on the command line. For example: -!MESSAGE -!MESSAGE NMAKE /f "ao.mak" CFG="ao - Win32 Debug" -!MESSAGE -!MESSAGE Possible choices for configuration are: -!MESSAGE -!MESSAGE "ao - Win32 Release" (based on "Win32 (x86) Console Application") -!MESSAGE "ao - Win32 Debug" (based on "Win32 (x86) Console Application") -!MESSAGE - -# Begin Project -# PROP AllowPerConfigDependencies 0 -# PROP Scc_ProjName "" -# PROP Scc_LocalPath "" -CPP=cl.exe -RSC=rc.exe - -!IF "$(CFG)" == "ao - Win32 Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "Release" -# PROP BASE Intermediate_Dir "Release" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "" -# PROP Intermediate_Dir "Release" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c -# ADD CPP /nologo /W3 /GX /O2 /I "../../../include" /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c -# ADD BASE RSC /l 0x404 /d "NDEBUG" -# ADD RSC /l 0x404 /d "NDEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ../../../lib/pci-dask.lib /nologo /subsystem:console /machine:I386 - -!ELSEIF "$(CFG)" == "ao - Win32 Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "Debug" -# PROP BASE Intermediate_Dir "Debug" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "Debug" -# PROP Intermediate_Dir "Debug" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /GZ /c -# ADD CPP /nologo /W3 /Gm /GX /ZI /Od /I "../../../include" /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /GZ /c -# ADD BASE RSC /l 0x404 /d "_DEBUG" -# ADD RSC /l 0x404 /d "_DEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ../../../lib/pci-dask.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept - -!ENDIF - -# Begin Target - -# Name "ao - Win32 Release" -# Name "ao - Win32 Debug" -# Begin Group "Source Files" - -# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;idl;hpj;bat" -# Begin Source File - -SOURCE=.\ao.c -# End Source File -# End Group -# Begin Group "Header Files" - -# PROP Default_Filter "h;hpp;hxx;hm;inl" -# End Group -# Begin Group "Resource Files" - -# PROP Default_Filter "ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe" -# End Group -# End Target -# End Project diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9223/C9223_AO_DMA_ReTrigEvent/ao.dsw b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9223/C9223_AO_DMA_ReTrigEvent/ao.dsw deleted file mode 100644 index d7a54c7..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9223/C9223_AO_DMA_ReTrigEvent/ao.dsw +++ /dev/null @@ -1,29 +0,0 @@ -Microsoft Developer Studio Workspace File, Format Version 6.00 -# WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE! - -############################################################################### - -Project: "ao"=.\ao.dsp - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ -}}} - -############################################################################### - -Global: - -Package=<5> -{{{ -}}} - -Package=<3> -{{{ -}}} - -############################################################################### - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9223/C9223_AO_DMA_ReTrigEvent/ao.exe b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9223/C9223_AO_DMA_ReTrigEvent/ao.exe deleted file mode 100644 index 6c9fddf..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9223/C9223_AO_DMA_ReTrigEvent/ao.exe and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9223/C9223_AO_DMA_SimuWrites/ao.c b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9223/C9223_AO_DMA_SimuWrites/ao.c deleted file mode 100644 index 197bbe6..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9223/C9223_AO_DMA_SimuWrites/ao.c +++ /dev/null @@ -1,138 +0,0 @@ -/*----------------------------------------------------------------------------*/ -/* Company : ADLINK */ -/* Date : 2008/08/27 */ -/* */ -/* This sample simultaneously updates AO voltage to AO two channels with DMA. */ -/* For example, AO_Buffer[0] and AO_Buffer[1] are simultaneously updating to */ -/* AO Channel 0 and 1, then, AO_Buffer[2] and AO_Buffer[3] are simultaneously */ -/* updating to AO Channel 0 and 1, ..., etc. AO_ContBufferCompose() can be */ -/* used to compose to an arrange buffer for multi-channels of continuous AO. */ -/*----------------------------------------------------------------------------*/ -#include -#include -#include -#include -#include -#include "dask.h" - -#define WRITECHNCNT 2 -#define WRITECOUNT 8000 -#define BUFCOUNT WRITECOUNT*WRITECHNCNT -#define TIMEBASE 80000000 -#define UPDATEINTRV 10000 -#define PI 3.1415926 - -int main(int argc, char **argv) -{ - I16 card, err; - U16 card_num; - U16 ConfigCtrl = P922x_AO_CONVSRC_INT; - U16 TrigCtrl = P922x_AO_TRGMOD_POST|P922x_AO_TRGSRC_SOFT; - U32 ReTrgCnt = 0; //Ignored in non-retrigger mode - U32 DLY1Cnt = 0; //Ignored in non-delay trigger mode - U32 DLY2Cnt = 0; //Ignored in non-delay2 mode - BOOLEAN AutoResetBuf = 1; //Auto reset buffer descriptor built in kernel - U32 W_Buffer[BUFCOUNT]; //Data buffer to be written - U32 Patten[WRITECOUNT]; - U32 WriteCount = WRITECOUNT; //AO write count - U16 BufferId; - U16 NumChans = WRITECHNCNT; //Numbers of channel to be written - U16 Chans[WRITECHNCNT] = {0, 1}; //AO channels - U32 Iterations = 1; //write once - U32 CHUI = UPDATEINTRV; - U16 definite = 1; - U32 vi; - U32 AccessCnt; - BOOLEAN Stopped; - U32 BufCount = BUFCOUNT; - - printf("This sample simultaneously updates voltage to AO Channels \n"); - printf("at %6.2f update rate.\n", (float)TIMEBASE/UPDATEINTRV); - printf("Card Number? "); - scanf(" %hd", &card_num); - - card = Register_Card(PCI_9223, card_num); - if(card<0){ - printf("Register_Card Error: %d\n", card); - exit(1); - } - - for(vi=0; vi -# Microsoft Developer Studio Generated Build File, Format Version 6.00 -# ** DO NOT EDIT ** - -# TARGTYPE "Win32 (x86) Console Application" 0x0103 - -CFG=ao - Win32 Debug -!MESSAGE This is not a valid makefile. To build this project using NMAKE, -!MESSAGE use the Export Makefile command and run -!MESSAGE -!MESSAGE NMAKE /f "ao.mak". -!MESSAGE -!MESSAGE You can specify a configuration when running NMAKE -!MESSAGE by defining the macro CFG on the command line. For example: -!MESSAGE -!MESSAGE NMAKE /f "ao.mak" CFG="ao - Win32 Debug" -!MESSAGE -!MESSAGE Possible choices for configuration are: -!MESSAGE -!MESSAGE "ao - Win32 Release" (based on "Win32 (x86) Console Application") -!MESSAGE "ao - Win32 Debug" (based on "Win32 (x86) Console Application") -!MESSAGE - -# Begin Project -# PROP AllowPerConfigDependencies 0 -# PROP Scc_ProjName "" -# PROP Scc_LocalPath "" -CPP=cl.exe -RSC=rc.exe - -!IF "$(CFG)" == "ao - Win32 Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "Release" -# PROP BASE Intermediate_Dir "Release" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "" -# PROP Intermediate_Dir "Release" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c -# ADD CPP /nologo /W3 /GX /O2 /I "../../../include" /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c -# ADD BASE RSC /l 0x404 /d "NDEBUG" -# ADD RSC /l 0x404 /d "NDEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ../../../lib/pci-dask.lib /nologo /subsystem:console /machine:I386 - -!ELSEIF "$(CFG)" == "ao - Win32 Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "Debug" -# PROP BASE Intermediate_Dir "Debug" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "Debug" -# PROP Intermediate_Dir "Debug" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /GZ /c -# ADD CPP /nologo /W3 /Gm /GX /ZI /Od /I "../../../include" /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /GZ /c -# ADD BASE RSC /l 0x404 /d "_DEBUG" -# ADD RSC /l 0x404 /d "_DEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ../../../lib/pci-dask.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept - -!ENDIF - -# Begin Target - -# Name "ao - Win32 Release" -# Name "ao - Win32 Debug" -# Begin Group "Source Files" - -# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;idl;hpj;bat" -# Begin Source File - -SOURCE=.\ao.c -# End Source File -# End Group -# Begin Group "Header Files" - -# PROP Default_Filter "h;hpp;hxx;hm;inl" -# End Group -# Begin Group "Resource Files" - -# PROP Default_Filter "ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe" -# End Group -# End Target -# End Project diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9223/C9223_AO_DMA_SimuWrites/ao.dsw b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9223/C9223_AO_DMA_SimuWrites/ao.dsw deleted file mode 100644 index d7a54c7..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9223/C9223_AO_DMA_SimuWrites/ao.dsw +++ /dev/null @@ -1,29 +0,0 @@ -Microsoft Developer Studio Workspace File, Format Version 6.00 -# WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE! - -############################################################################### - -Project: "ao"=.\ao.dsp - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ -}}} - -############################################################################### - -Global: - -Package=<5> -{{{ -}}} - -Package=<3> -{{{ -}}} - -############################################################################### - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9223/C9223_AO_DMA_SimuWrites/ao.exe b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9223/C9223_AO_DMA_SimuWrites/ao.exe deleted file mode 100644 index a4fdccd..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9223/C9223_AO_DMA_SimuWrites/ao.exe and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9223/C9223_AO_DMA_WaveRepeat/ao.c b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9223/C9223_AO_DMA_WaveRepeat/ao.c deleted file mode 100644 index bc8f0fc..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9223/C9223_AO_DMA_WaveRepeat/ao.c +++ /dev/null @@ -1,109 +0,0 @@ -/*----------------------------------------------------------------------------*/ -/* Company : ADLINK */ -/* Date : 2008/08/19 */ -/* */ -/* This sample performs infinite wave repeats with external delay trigger. */ -/* There are 2 AO channels in PCI-9223. You can use polling mode or DMA to */ -/* to update data to specified channels. */ -/*----------------------------------------------------------------------------*/ -#include -#include -#include -#include -#include -#include "dask.h" - -#define WRITECOUNT 8000 -#define TIMEBASE 80000000 -#define UPDATEINTRV 10000 -#define PI 3.1415926 - -int main(int argc, char **argv) -{ - I16 card, err; - U16 card_num; - U16 ConfigCtrl = P922x_AO_CONVSRC_INT; - U16 TrigCtrl = P922x_AO_TRGMOD_DELAY|P922x_AO_TRGSRC_GPI0|P922x_AO_EnDelay2; - U32 ReTrgCnt = 0; //Ignored in non-retrigger mode - U32 DLY1Cnt = 80000000; //Trigger delay count; Delay time: DLY1Cnt/TIMEBASE sec. - U32 DLY2Cnt = 40000000; //Wave separation count; Delay2 time: DLY2Cnt/TIMEBASE sec. - BOOLEAN AutoResetBuf = 1; //Auto reset buffer descriptor built in kernel - U32 W_Buffer[WRITECOUNT]; - U32 WriteCount = WRITECOUNT; - U16 BufferId; - U16 Channel = 0; - U32 Iterations = 0; //0: means infinite wave repeats - U32 CHUI = UPDATEINTRV; - U16 definite = 0; - U32 vi; - U32 AccessCnt; - BOOLEAN Stopped; - - - for(vi=0; vi -# Microsoft Developer Studio Generated Build File, Format Version 6.00 -# ** DO NOT EDIT ** - -# TARGTYPE "Win32 (x86) Console Application" 0x0103 - -CFG=ao - Win32 Debug -!MESSAGE This is not a valid makefile. To build this project using NMAKE, -!MESSAGE use the Export Makefile command and run -!MESSAGE -!MESSAGE NMAKE /f "ao.mak". -!MESSAGE -!MESSAGE You can specify a configuration when running NMAKE -!MESSAGE by defining the macro CFG on the command line. For example: -!MESSAGE -!MESSAGE NMAKE /f "ao.mak" CFG="ao - Win32 Debug" -!MESSAGE -!MESSAGE Possible choices for configuration are: -!MESSAGE -!MESSAGE "ao - Win32 Release" (based on "Win32 (x86) Console Application") -!MESSAGE "ao - Win32 Debug" (based on "Win32 (x86) Console Application") -!MESSAGE - -# Begin Project -# PROP AllowPerConfigDependencies 0 -# PROP Scc_ProjName "" -# PROP Scc_LocalPath "" -CPP=cl.exe -RSC=rc.exe - -!IF "$(CFG)" == "ao - Win32 Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "Release" -# PROP BASE Intermediate_Dir "Release" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "" -# PROP Intermediate_Dir "Release" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c -# ADD CPP /nologo /W3 /GX /O2 /I "../../../include" /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c -# ADD BASE RSC /l 0x404 /d "NDEBUG" -# ADD RSC /l 0x404 /d "NDEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ../../../lib/pci-dask.lib /nologo /subsystem:console /machine:I386 - -!ELSEIF "$(CFG)" == "ao - Win32 Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "Debug" -# PROP BASE Intermediate_Dir "Debug" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "Debug" -# PROP Intermediate_Dir "Debug" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /GZ /c -# ADD CPP /nologo /W3 /Gm /GX /ZI /Od /I "../../../include" /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /GZ /c -# ADD BASE RSC /l 0x404 /d "_DEBUG" -# ADD RSC /l 0x404 /d "_DEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ../../../lib/pci-dask.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept - -!ENDIF - -# Begin Target - -# Name "ao - Win32 Release" -# Name "ao - Win32 Debug" -# Begin Group "Source Files" - -# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;idl;hpj;bat" -# Begin Source File - -SOURCE=.\ao.c -# End Source File -# End Group -# Begin Group "Header Files" - -# PROP Default_Filter "h;hpp;hxx;hm;inl" -# End Group -# Begin Group "Resource Files" - -# PROP Default_Filter "ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe" -# End Group -# End Target -# End Project diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9223/C9223_AO_DMA_WaveRepeat/ao.dsw b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9223/C9223_AO_DMA_WaveRepeat/ao.dsw deleted file mode 100644 index d7a54c7..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9223/C9223_AO_DMA_WaveRepeat/ao.dsw +++ /dev/null @@ -1,29 +0,0 @@ -Microsoft Developer Studio Workspace File, Format Version 6.00 -# WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE! - -############################################################################### - -Project: "ao"=.\ao.dsp - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ -}}} - -############################################################################### - -Global: - -Package=<5> -{{{ -}}} - -Package=<3> -{{{ -}}} - -############################################################################### - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9223/C9223_AO_DMA_WaveRepeat/ao.exe b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9223/C9223_AO_DMA_WaveRepeat/ao.exe deleted file mode 100644 index 40f69a1..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9223/C9223_AO_DMA_WaveRepeat/ao.exe and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9223/C9223_AO_Polling/ao.c b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9223/C9223_AO_Polling/ao.c deleted file mode 100644 index a509554..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9223/C9223_AO_Polling/ao.c +++ /dev/null @@ -1,64 +0,0 @@ -/*----------------------------------------------------------------------------*/ -/* Company : ADLINK */ -/* Date : 2008/08/19 */ -/* */ -/* This sample Updates AO voltage with polling mode. */ -/* There are 2 AO channels in PCI-9223. You can use polling mode or DMA to */ -/* to update data to specified channels. */ -/*----------------------------------------------------------------------------*/ -#include -#include -#include -#include -#include "dask.h" - -int main(int argc, char **argv) -{ - I16 card, err; - U16 card_num; - U16 Channel; - F64 Voltage; - U8 fStop; - - printf("This sample updates voltage to AO Channel.\n"); - printf("Card Number? "); - scanf(" %hd", &card_num); - - card = Register_Card(PCI_9223, card_num); - if(card<0){ - printf("Register_Card Error: %d\n", card); - exit(1); - } - - do{ - system("cls"); - printf("AO Channel Number to be update: [0 or 1] "); - scanf(" %hd", &Channel); - if(Channel>1){ - printf("Invalid Channel Number... Set to Channel 0\n"); - Channel = 0; - } - printf("AO voltage to be updated: [-10 ~ 10] "); - scanf(" %lf", &Voltage); - if(Voltage>10){ - printf("Out of range, forcedly ouput 10V\n"); - Voltage = 10; - } - if(Voltage<-10){ - printf("Out of range, forcedly ouput -10V\n"); - Voltage = -10; - } - - err = AO_VWriteChannel(card, Channel, Voltage); - if(err<0){ - printf("AO_VWriteChannel Error: %d\n", err); - Release_Card(card); - exit(1); - } - printf("\n(C)ontinue? "); - fStop = getch(); - }while((fStop=='C')||(fStop=='c')); - - Release_Card(card); - return 0; -} diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9223/C9223_AO_Polling/ao.dsp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9223/C9223_AO_Polling/ao.dsp deleted file mode 100644 index 17b98a6..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9223/C9223_AO_Polling/ao.dsp +++ /dev/null @@ -1,102 +0,0 @@ -# Microsoft Developer Studio Project File - Name="ao" - Package Owner=<4> -# Microsoft Developer Studio Generated Build File, Format Version 6.00 -# ** DO NOT EDIT ** - -# TARGTYPE "Win32 (x86) Console Application" 0x0103 - -CFG=ao - Win32 Debug -!MESSAGE This is not a valid makefile. To build this project using NMAKE, -!MESSAGE use the Export Makefile command and run -!MESSAGE -!MESSAGE NMAKE /f "ao.mak". -!MESSAGE -!MESSAGE You can specify a configuration when running NMAKE -!MESSAGE by defining the macro CFG on the command line. For example: -!MESSAGE -!MESSAGE NMAKE /f "ao.mak" CFG="ao - Win32 Debug" -!MESSAGE -!MESSAGE Possible choices for configuration are: -!MESSAGE -!MESSAGE "ao - Win32 Release" (based on "Win32 (x86) Console Application") -!MESSAGE "ao - Win32 Debug" (based on "Win32 (x86) Console Application") -!MESSAGE - -# Begin Project -# PROP AllowPerConfigDependencies 0 -# PROP Scc_ProjName "" -# PROP Scc_LocalPath "" -CPP=cl.exe -RSC=rc.exe - -!IF "$(CFG)" == "ao - Win32 Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "Release" -# PROP BASE Intermediate_Dir "Release" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "" -# PROP Intermediate_Dir "Release" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c -# ADD CPP /nologo /W3 /GX /O2 /I "../../../include" /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c -# ADD BASE RSC /l 0x404 /d "NDEBUG" -# ADD RSC /l 0x404 /d "NDEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ../../../lib/pci-dask.lib /nologo /subsystem:console /machine:I386 - -!ELSEIF "$(CFG)" == "ao - Win32 Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "Debug" -# PROP BASE Intermediate_Dir "Debug" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "Debug" -# PROP Intermediate_Dir "Debug" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /GZ /c -# ADD CPP /nologo /W3 /Gm /GX /ZI /Od /I "../../../include" /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /GZ /c -# ADD BASE RSC /l 0x404 /d "_DEBUG" -# ADD RSC /l 0x404 /d "_DEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ../../../lib/pci-dask.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept - -!ENDIF - -# Begin Target - -# Name "ao - Win32 Release" -# Name "ao - Win32 Debug" -# Begin Group "Source Files" - -# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;idl;hpj;bat" -# Begin Source File - -SOURCE=.\ao.c -# End Source File -# End Group -# Begin Group "Header Files" - -# PROP Default_Filter "h;hpp;hxx;hm;inl" -# End Group -# Begin Group "Resource Files" - -# PROP Default_Filter "ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe" -# End Group -# End Target -# End Project diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9223/C9223_AO_Polling/ao.dsw b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9223/C9223_AO_Polling/ao.dsw deleted file mode 100644 index d7a54c7..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9223/C9223_AO_Polling/ao.dsw +++ /dev/null @@ -1,29 +0,0 @@ -Microsoft Developer Studio Workspace File, Format Version 6.00 -# WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE! - -############################################################################### - -Project: "ao"=.\ao.dsp - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ -}}} - -############################################################################### - -Global: - -Package=<5> -{{{ -}}} - -Package=<3> -{{{ -}}} - -############################################################################### - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9223/C9223_AO_Polling/ao.exe b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9223/C9223_AO_Polling/ao.exe deleted file mode 100644 index c6b69c0..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9223/C9223_AO_Polling/ao.exe and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9223/C9223_Calibration/calibration.c b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9223/C9223_Calibration/calibration.c deleted file mode 100644 index be8d4eb..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9223/C9223_Calibration/calibration.c +++ /dev/null @@ -1,67 +0,0 @@ -/*----------------------------------------------------------------------------*/ -/* Company : ADLINK */ -/* Date : 2008/08/19 */ -/* */ -/* This sample performs AI/AO auto calibration for PCI-9223. */ -/* There are two EEPROM banks, default bank and user bank, to store AI/AO */ -/* calibration constants. The driver loads calibration constants and writes */ -/* them to ADC/DAC during the period of driver loaded. */ -/* User can use PCI_DB_Auto_Calibration_ALL() to perform auto calibration, */ -/* and those auto calibration constants will be written to ADC/DAC */ -/* automatically. Then, User can use PCI_EEPROM_CAL_Constant_Update() to */ -/* store the auto calibration constants to user bank of EEPROM. */ -/* PCI_Load_CAL_Data() is used to load the calibration constants from default */ -/* or user bank of EEPROM to ADC/DAC. */ -/*----------------------------------------------------------------------------*/ -#include -#include -#include -#include -#include "dask.h" - -int main(int argc, char **argv) -{ - I16 card, err; - U16 card_num; - U8 fWriteEE; - - printf("The sample performs AI/AO auto calibration.\n"); - - printf("Card Number: "); - scanf(" %hd", &card_num); - card = Register_Card(PCI_9223, card_num); - if(card<0){ - printf("Register_Card Error: %d\n", card); - exit(1); - } - - printf("Press any key to start AI/AO auto calibration.\n"); - getch(); - printf("Auto Calibration is performing... It will take some minites...\n"); - err = PCI_DB_Auto_Calibration_ALL(card); - if(err<0){ - printf("Auto Calibration Error: %d\n", err); - Release_Card(card); - exit(1); - } - printf("\nAuto Calibration is done...\n"); - - printf("\nStore the auto calibration constants to EEPROM?\n"); - printf("Press 'Y' to store them to EEPROM, and others to exit.\n"); - fWriteEE = getch(); - if((fWriteEE=='Y')||(fWriteEE=='y')){ - printf("Store auto calibration constants to user bank of EEPROM...\n"); - err = PCI_EEPROM_CAL_Constant_Update(card, EEPROM_USER_BANK1); - if(err<0){ - printf("Save Calibration Constants to EEProm Error: %d\n", err); - Release_Card(card); - exit(1); - } - printf("\nAuto calibration constants are stored to EEPROM completely.\n"); - } - - printf("\nPress any key to exit...\n"); - getch(); - Release_Card(card); - return 0; -} diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9223/C9223_Calibration/calibration.dsp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9223/C9223_Calibration/calibration.dsp deleted file mode 100644 index 71d2c65..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9223/C9223_Calibration/calibration.dsp +++ /dev/null @@ -1,102 +0,0 @@ -# Microsoft Developer Studio Project File - Name="calibration" - Package Owner=<4> -# Microsoft Developer Studio Generated Build File, Format Version 6.00 -# ** DO NOT EDIT ** - -# TARGTYPE "Win32 (x86) Console Application" 0x0103 - -CFG=calibration - Win32 Debug -!MESSAGE This is not a valid makefile. To build this project using NMAKE, -!MESSAGE use the Export Makefile command and run -!MESSAGE -!MESSAGE NMAKE /f "calibration.mak". -!MESSAGE -!MESSAGE You can specify a configuration when running NMAKE -!MESSAGE by defining the macro CFG on the command line. For example: -!MESSAGE -!MESSAGE NMAKE /f "calibration.mak" CFG="calibration - Win32 Debug" -!MESSAGE -!MESSAGE Possible choices for configuration are: -!MESSAGE -!MESSAGE "calibration - Win32 Release" (based on "Win32 (x86) Console Application") -!MESSAGE "calibration - Win32 Debug" (based on "Win32 (x86) Console Application") -!MESSAGE - -# Begin Project -# PROP AllowPerConfigDependencies 0 -# PROP Scc_ProjName "" -# PROP Scc_LocalPath "" -CPP=cl.exe -RSC=rc.exe - -!IF "$(CFG)" == "calibration - Win32 Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "Release" -# PROP BASE Intermediate_Dir "Release" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "" -# PROP Intermediate_Dir "Release" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c -# ADD CPP /nologo /W3 /GX /O2 /I "../../../include" /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c -# ADD BASE RSC /l 0x404 /d "NDEBUG" -# ADD RSC /l 0x404 /d "NDEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ../../../lib/pci-dask.lib /nologo /subsystem:console /machine:I386 - -!ELSEIF "$(CFG)" == "calibration - Win32 Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "Debug" -# PROP BASE Intermediate_Dir "Debug" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "Debug" -# PROP Intermediate_Dir "Debug" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /GZ /c -# ADD CPP /nologo /W3 /Gm /GX /ZI /Od /I "../../../include" /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /GZ /c -# ADD BASE RSC /l 0x404 /d "_DEBUG" -# ADD RSC /l 0x404 /d "_DEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ../../../lib/pci-dask.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept - -!ENDIF - -# Begin Target - -# Name "calibration - Win32 Release" -# Name "calibration - Win32 Debug" -# Begin Group "Source Files" - -# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;idl;hpj;bat" -# Begin Source File - -SOURCE=.\calibration.c -# End Source File -# End Group -# Begin Group "Header Files" - -# PROP Default_Filter "h;hpp;hxx;hm;inl" -# End Group -# Begin Group "Resource Files" - -# PROP Default_Filter "ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe" -# End Group -# End Target -# End Project diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9223/C9223_Calibration/calibration.dsw b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9223/C9223_Calibration/calibration.dsw deleted file mode 100644 index f07310a..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9223/C9223_Calibration/calibration.dsw +++ /dev/null @@ -1,29 +0,0 @@ -Microsoft Developer Studio Workspace File, Format Version 6.00 -# WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE! - -############################################################################### - -Project: "calibration"=.\calibration.dsp - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ -}}} - -############################################################################### - -Global: - -Package=<5> -{{{ -}}} - -Package=<3> -{{{ -}}} - -############################################################################### - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9223/C9223_Calibration/calibration.exe b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9223/C9223_Calibration/calibration.exe deleted file mode 100644 index ac611c5..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9223/C9223_Calibration/calibration.exe and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9223/C9223_DIO_Polling/dio.c b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9223/C9223_DIO_Polling/dio.c deleted file mode 100644 index 1bcf73e..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9223/C9223_DIO_Polling/dio.c +++ /dev/null @@ -1,65 +0,0 @@ -/*----------------------------------------------------------------------------*/ -/* Company : ADLINK */ -/* Date : 2008/08/19 */ -/* */ -/* This sample performs DI read ans DO read/write with polling mode. */ -/*----------------------------------------------------------------------------*/ -#include -#include -#include -#include -#include "dask.h" - -int main(int argc, char **argv) -{ - I16 card, err; - U16 card_num; - U32 DO_Write = 0xffff; - U32 DO_Read, DI_Read; - - printf("This sample write digital data to DO port and read digital value from DI port.\n"); - printf("Card Number? "); - scanf(" %hd", &card_num); - - card = Register_Card(PCI_9223, card_num); - if(card<0){ - printf("Register_Card Error: %d\n", card); - exit(1); - } - - do{ - /*Write DO port*/ - err = DO_WritePort(card, 0, DO_Write); - if(err<0){ - printf("DO_WritePort Error: %d\n", err); - Release_Card(card); - exit(1); - } - /*Read the written data from DO port*/ - err = DO_ReadPort(card, 0, &DO_Read); - if(err<0){ - printf("DO_ReadPort Error: %d\n", err); - Release_Card(card); - exit(1); - } - /*Read DI Port*/ - err = DI_ReadPort(card, 0, &DI_Read); - if(err<0){ - printf("DI_ReadPort Error: %d\n", err); - Release_Card(card); - exit(1); - } - system("cls"); - printf("/*--------------------------------*/\n"); - printf(" DO Read Data : %#x\n", DO_Read); - printf(" DI Read Data : %#x\n", DI_Read); - printf("\n\tPress any key to exit...\n"); - printf("/*--------------------------------*/\n"); - - DO_Write = (DO_Write==0)? 0xffff: (DO_Write-1); - Sleep(100); - }while(!kbhit()); - - Release_Card(card); - return 0; -} diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9223/C9223_DIO_Polling/dio.dsp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9223/C9223_DIO_Polling/dio.dsp deleted file mode 100644 index c793f4f..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9223/C9223_DIO_Polling/dio.dsp +++ /dev/null @@ -1,102 +0,0 @@ -# Microsoft Developer Studio Project File - Name="dio" - Package Owner=<4> -# Microsoft Developer Studio Generated Build File, Format Version 6.00 -# ** DO NOT EDIT ** - -# TARGTYPE "Win32 (x86) Console Application" 0x0103 - -CFG=dio - Win32 Debug -!MESSAGE This is not a valid makefile. To build this project using NMAKE, -!MESSAGE use the Export Makefile command and run -!MESSAGE -!MESSAGE NMAKE /f "dio.mak". -!MESSAGE -!MESSAGE You can specify a configuration when running NMAKE -!MESSAGE by defining the macro CFG on the command line. For example: -!MESSAGE -!MESSAGE NMAKE /f "dio.mak" CFG="dio - Win32 Debug" -!MESSAGE -!MESSAGE Possible choices for configuration are: -!MESSAGE -!MESSAGE "dio - Win32 Release" (based on "Win32 (x86) Console Application") -!MESSAGE "dio - Win32 Debug" (based on "Win32 (x86) Console Application") -!MESSAGE - -# Begin Project -# PROP AllowPerConfigDependencies 0 -# PROP Scc_ProjName "" -# PROP Scc_LocalPath "" -CPP=cl.exe -RSC=rc.exe - -!IF "$(CFG)" == "dio - Win32 Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "Release" -# PROP BASE Intermediate_Dir "Release" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "" -# PROP Intermediate_Dir "Release" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c -# ADD CPP /nologo /W3 /GX /O2 /I "../../../include" /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c -# ADD BASE RSC /l 0x404 /d "NDEBUG" -# ADD RSC /l 0x404 /d "NDEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ../../../lib/pci-dask.lib /nologo /subsystem:console /machine:I386 - -!ELSEIF "$(CFG)" == "dio - Win32 Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "Debug" -# PROP BASE Intermediate_Dir "Debug" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "Debug" -# PROP Intermediate_Dir "Debug" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /GZ /c -# ADD CPP /nologo /W3 /Gm /GX /ZI /Od /I "../../../include" /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /GZ /c -# ADD BASE RSC /l 0x404 /d "_DEBUG" -# ADD RSC /l 0x404 /d "_DEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ../../../lib/pci-dask.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept - -!ENDIF - -# Begin Target - -# Name "dio - Win32 Release" -# Name "dio - Win32 Debug" -# Begin Group "Source Files" - -# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;idl;hpj;bat" -# Begin Source File - -SOURCE=.\dio.c -# End Source File -# End Group -# Begin Group "Header Files" - -# PROP Default_Filter "h;hpp;hxx;hm;inl" -# End Group -# Begin Group "Resource Files" - -# PROP Default_Filter "ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe" -# End Group -# End Target -# End Project diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9223/C9223_DIO_Polling/dio.dsw b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9223/C9223_DIO_Polling/dio.dsw deleted file mode 100644 index 6264399..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9223/C9223_DIO_Polling/dio.dsw +++ /dev/null @@ -1,29 +0,0 @@ -Microsoft Developer Studio Workspace File, Format Version 6.00 -# WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE! - -############################################################################### - -Project: "dio"=.\dio.dsp - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ -}}} - -############################################################################### - -Global: - -Package=<5> -{{{ -}}} - -Package=<3> -{{{ -}}} - -############################################################################### - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9223/C9223_DIO_Polling/dio.exe b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9223/C9223_DIO_Polling/dio.exe deleted file mode 100644 index 9be3066..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9223/C9223_DIO_Polling/dio.exe and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9223/C9223_DI_DMA/di.c b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9223/C9223_DI_DMA/di.c deleted file mode 100644 index ab1b2f1..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9223/C9223_DI_DMA/di.c +++ /dev/null @@ -1,135 +0,0 @@ -/*----------------------------------------------------------------------------*/ -/* Company : ADLINK */ -/* Date : 2008/08/19 */ -/* */ -/* This sample performs continuous DI acquisition. */ -/*----------------------------------------------------------------------------*/ -#include -#include -#include -#include -#include "dask.h" - -#define DI_COUNT 4000 - -int main(int argc, char **argv) -{ - I16 card, err; - U16 card_num; - U16 ConfigCtrl = P922x_DI_CONVSRC_INT; - U16 TrigCtrl = P922x_DI_TRGMOD_POST|P922x_DI_TRGSRC_SOFT; - U32 ReTriggerCount = 0; //Ignore in non-retrigger mode - BOOLEAN AutoResetBuf = 1; //Auto reset buffer descriptor built in driver - U16 RDBuffer[DI_COUNT]; - U16 BufferId; - U32 DI_ReadCount = DI_COUNT; //DI Read Count - U16 Port = 0; //9223 supports only one DI port, port 0 - F64 SampleRate = 2000000; - BOOLEAN Stopped; - U32 AccessCnt; - FILE *w_file; - U8 FileName[] = "di_data.txt"; - U32 i; - - memset(RDBuffer, '\0', DI_COUNT*sizeof(U16)); - if(!(w_file=fopen(FileName, "w"))){ - printf("file open error...\n"); - exit(1); - } - printf("This sample performs continuous DI acquisition from DI Port\n"); - printf("at %6.3lf Hz sampling rate.\n\n", SampleRate); - - /*Open and Initialize Device*/ - printf("Card Number? "); - scanf(" %hd", &card_num); - card = Register_Card(PCI_9223, card_num); - if(card<0){ - printf("Register_Card Error: %d\n", card); - fclose(w_file); - exit(1); - } - - /*Configure DI*/ - err = DI_9223_Config(card, ConfigCtrl, TrigCtrl, ReTriggerCount, AutoResetBuf); - if(err<0){ - printf("DI_9223_Config Error: %d\n", err); - Release_Card(card); - fclose(w_file); - exit(1); - } - - /*Disable Double Buffer Mode*/ - err = DI_AsyncDblBufferMode(card, 0); - if(err<0){ - printf("DI_AsyncDblBufferMode Error: %d\n", err); - Release_Card(card); - fclose(w_file); - exit(1); - } - - /*Setup Buffer for DI DMA Transfer*/ - err = DI_ContBufferSetup(card, RDBuffer, DI_ReadCount, &BufferId); - if(err<0){ - printf("DI_ContBufferSetup Error: %d\n", err); - Release_Card(card); - fclose(w_file); - exit(1); - } - - /*DI Acquisition Start*/ - err = DI_ContReadPort(card, Port, &BufferId, DI_ReadCount, SampleRate, ASYNCH_OP); - if(err<0){ - printf("DI_ContReadPort Error: %d\n", err); - DI_ContBufferReset(card); - Release_Card(card); - fclose(w_file); - exit(1); - } - do{ - /*Check whether DI Acquisition is done*/ - err = DI_AsyncCheck(card, &Stopped, &AccessCnt); - if(err<0){ - printf("DI_AsyncCheck Error: %d\n", err); - DI_AsyncClear(card, &AccessCnt); - DI_ContBufferReset(card); - Release_Card(card); - fclose(w_file); - exit(1); - } - }while((!kbhit())&&(!Stopped)); - - /*Clear DI Setting and Get Remaining data*/ - err = DI_AsyncClear(card, &AccessCnt); - if(err<0){ - printf("DI_AsyncClear Error: %d\n", err); - DI_AsyncClear(card, &AccessCnt); - DI_ContBufferReset(card); - Release_Card(card); - fclose(w_file); - exit(1); - } - - if(Stopped){ - printf("\n\nDI Acquisition Done... Acquired %d samples...\n", AccessCnt); - printf("Write %d samples of Buffer to %s file...\n", AccessCnt, FileName); - for(i=0; i -# Microsoft Developer Studio Generated Build File, Format Version 6.00 -# ** DO NOT EDIT ** - -# TARGTYPE "Win32 (x86) Console Application" 0x0103 - -CFG=di - Win32 Debug -!MESSAGE This is not a valid makefile. To build this project using NMAKE, -!MESSAGE use the Export Makefile command and run -!MESSAGE -!MESSAGE NMAKE /f "di.mak". -!MESSAGE -!MESSAGE You can specify a configuration when running NMAKE -!MESSAGE by defining the macro CFG on the command line. For example: -!MESSAGE -!MESSAGE NMAKE /f "di.mak" CFG="di - Win32 Debug" -!MESSAGE -!MESSAGE Possible choices for configuration are: -!MESSAGE -!MESSAGE "di - Win32 Release" (based on "Win32 (x86) Console Application") -!MESSAGE "di - Win32 Debug" (based on "Win32 (x86) Console Application") -!MESSAGE - -# Begin Project -# PROP AllowPerConfigDependencies 0 -# PROP Scc_ProjName "" -# PROP Scc_LocalPath "" -CPP=cl.exe -RSC=rc.exe - -!IF "$(CFG)" == "di - Win32 Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "Release" -# PROP BASE Intermediate_Dir "Release" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "" -# PROP Intermediate_Dir "Release" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c -# ADD CPP /nologo /W3 /GX /O2 /I "../../../include" /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c -# ADD BASE RSC /l 0x404 /d "NDEBUG" -# ADD RSC /l 0x404 /d "NDEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ../../../lib/pci-dask.lib /nologo /subsystem:console /machine:I386 - -!ELSEIF "$(CFG)" == "di - Win32 Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "Debug" -# PROP BASE Intermediate_Dir "Debug" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "Debug" -# PROP Intermediate_Dir "Debug" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /GZ /c -# ADD CPP /nologo /W3 /Gm /GX /ZI /Od /I "../../../include" /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /GZ /c -# ADD BASE RSC /l 0x404 /d "_DEBUG" -# ADD RSC /l 0x404 /d "_DEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ../../../lib/pci-dask.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept - -!ENDIF - -# Begin Target - -# Name "di - Win32 Release" -# Name "di - Win32 Debug" -# Begin Group "Source Files" - -# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;idl;hpj;bat" -# Begin Source File - -SOURCE=.\di.c -# End Source File -# End Group -# Begin Group "Header Files" - -# PROP Default_Filter "h;hpp;hxx;hm;inl" -# End Group -# Begin Group "Resource Files" - -# PROP Default_Filter "ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe" -# End Group -# End Target -# End Project diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9223/C9223_DI_DMA/di.dsw b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9223/C9223_DI_DMA/di.dsw deleted file mode 100644 index ae94ec2..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9223/C9223_DI_DMA/di.dsw +++ /dev/null @@ -1,29 +0,0 @@ -Microsoft Developer Studio Workspace File, Format Version 6.00 -# WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE! - -############################################################################### - -Project: "di"=.\di.dsp - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ -}}} - -############################################################################### - -Global: - -Package=<5> -{{{ -}}} - -Package=<3> -{{{ -}}} - -############################################################################### - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9223/C9223_DI_DMA/di.exe b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9223/C9223_DI_DMA/di.exe deleted file mode 100644 index 6d3735c..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9223/C9223_DI_DMA/di.exe and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9223/C9223_DI_DMA_DBFEvent/di.c b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9223/C9223_DI_DMA_DBFEvent/di.c deleted file mode 100644 index efc8823..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9223/C9223_DI_DMA_DBFEvent/di.c +++ /dev/null @@ -1,179 +0,0 @@ -/*----------------------------------------------------------------------------*/ -/* Company : ADLINK */ -/* Date : 2008/08/19 */ -/* */ -/* This sample performs infinite DI DBF acquisition with call back function. */ -/* Two call back functions are set for DBEvent and AIEnd events. */ -/*----------------------------------------------------------------------------*/ -#include -#include -#include -#include -#include "dask.h" - -#define READCOUNT 4000 - -I16 card; -U16 card_num; -U16 ConfigCtrl = P922x_DI_CONVSRC_INT; -U16 TrigCtrl = P922x_DI_TRGMOD_POST|P922x_DI_TRGSRC_SOFT; -U32 ReTriggerCnt = 0; /*Ignore if Double buffer mode is enable*/ -BOOLEAN AutoResetBuf = 1; /*Autoreset buffer descriptor build in kernel*/ -U16 RDBuffer0[READCOUNT]; /*Data Buffer for DI DMA*/ -U16 RDBuffer1[READCOUNT]; /*Data Buffer for DI DMA*/ -U32 DI_ReadCount = READCOUNT; /*DI Read Count per one buffer*/ -U16 BufferId0; -U16 BufferId1; -U16 Port = 0; -F64 SampleRate = 4000; -U32 AccessCnt; -BOOLEAN StopFlag = FALSE; -U16 ViewIdx = 0; -U16 overrunFlag; -U8 filename[] = "di_data"; -U32 HalfRdyCnt = 0; - - -void DI_END_CALLBACK() -{ - printf("\n\nAcquisition End...\n"); - printf("Total Acquire %d Data from DI port and Write them to %s.dat...\n", - HalfRdyCnt*DI_ReadCount+AccessCnt, filename - ); - StopFlag = 1; -} - - -void DI_DBEVENT_CALLBACK() -{ - I16 err; - if(ViewIdx==0){ - printf("\n\nBuffer%d Half Ready...\n", ViewIdx); - printf(" press any key to exit..."); - err = DI_AsyncDblBufferToFile(card); - if(err<0) - printf("DI_AsyncDblBufferToFile Error: %d\n", err); - err = DI_AsyncDblBufferHandled(card); - if(err<0) - printf("DI_AsyncDblBufferToFile Error: %d\n", err); - } - else{ - printf("\n\nBuffer%d Half Ready...\n", ViewIdx); - printf(" press any key to exit..."); - err = DI_AsyncDblBufferToFile(card); - if(err<0) - printf("DI_AsyncDblBufferToFile Error: %d\n", err); - err = DI_AsyncDblBufferHandled(card); - if(err<0) - printf("DI_AsyncDblBufferToFile Error: %d\n", err); - } - - err = DI_AsyncDblBufferOverrun(card, 0, &overrunFlag); - if(err<0){ - printf("DI_AsyncDblBufferOverrun Error: %d\n", err); - } - if(overrunFlag){ - printf("\nOVERRUN: %d\n", overrunFlag); - err = DI_AsyncDblBufferOverrun(card, 1, NULL); - if(err<0){ - printf("DI_AsyncDblBufferOverrun Error: %d\n", err); - } - } - ViewIdx = ViewIdx? 0:1; - HalfRdyCnt++; -} - - -int main(int argc, char **argv) -{ - I16 err; - - memset(RDBuffer0, '\0', READCOUNT*sizeof(U16)); - memset(RDBuffer1, '\0', READCOUNT*sizeof(U16)); - printf("This sample infinitely acquires data from DI Port\n"); - printf("at %6.3lf Hz sampling rate with DMA Double Buffer mode.\n", SampleRate); - - /*Open Device*/ - printf("Card Number? "); - scanf(" %hd", &card_num); - card = Register_Card(PCI_9223, card_num); - if(card<0){ - printf("Register_Card Error: %d\n", card); - exit(1); - } - - /*Configure DI*/ - err = DI_9223_Config(card, ConfigCtrl, TrigCtrl, ReTriggerCnt, AutoResetBuf); - if(err<0){ - printf("DI_9223_Config Error: %d\n", err); - Release_Card(card); - exit(1); - } - - /*Enable Double Buffer Mode*/ - err = DI_AsyncDblBufferMode(card, 1); - if(err<0){ - printf("DI_AsyncDblBufferMode Error: %d\n", err); - Release_Card(card); - exit(1); - } - - /*Setup Buffer*/ - err = DI_ContBufferSetup(card, RDBuffer0, DI_ReadCount, &BufferId0); - if(err<0){ - printf("DI_ContBufferSetup0 Error: %d\n", err); - Release_Card(card); - exit(1); - } - err = DI_ContBufferSetup(card, RDBuffer1, DI_ReadCount, &BufferId1); - if(err<0){ - printf("DI_ContBufferSetup1 Error: %d\n", err); - Release_Card(card); - exit(1); - } - - /*Enable DI Double Buffer Half Ready Event*/ - err = DI_EventCallBack(card, 1, DBEvent, (U32)DI_DBEVENT_CALLBACK); - if(err<0){ - printf("DI_EventCallBack Error: %d\n", err); - DI_ContBufferReset(card); - Release_Card(card); - exit(1); - } - /*Enable DI END Event*/ - err = DI_EventCallBack(card, 1, DIEnd, (U32)DI_END_CALLBACK); - if(err<0){ - printf("DI_EventCallBack2 Error: %d\n", err); - DI_EventCallBack(card, 0, DBEvent, (U32)NULL); - DI_ContBufferReset(card); - Release_Card(card); - exit(1); - } - - err = DI_ContReadPortToFile(card, Port, filename, DI_ReadCount, SampleRate, ASYNCH_OP); - if(err<0){ - printf("DI_ContReadChanneltoFile Error: %d\n", err); - DI_EventCallBack(card, 0, DBEvent, (U32)NULL); - DI_EventCallBack(card, 0, DIEnd, (U32)NULL); - DI_ContBufferReset(card); - Release_Card(card); - exit(1); - } - printf("DI Acquisition is started... Wait DI DBEvent...\n"); - printf("You can press any key to stop it..."); - getch(); - DI_AsyncClear(card, &AccessCnt); - do{ - Sleep(1); - }while(!StopFlag); - - DI_EventCallBack(card, 0, DBEvent, (U32)NULL); - DI_EventCallBack(card, 0, DIEnd, (U32)NULL); - if(!AutoResetBuf) - DI_ContBufferReset(card); - Release_Card(card); - - printf("press any key to exit...\n"); - getch(); - return 0; -} diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9223/C9223_DI_DMA_DBFEvent/di.dsp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9223/C9223_DI_DMA_DBFEvent/di.dsp deleted file mode 100644 index 50c0827..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9223/C9223_DI_DMA_DBFEvent/di.dsp +++ /dev/null @@ -1,102 +0,0 @@ -# Microsoft Developer Studio Project File - Name="di" - Package Owner=<4> -# Microsoft Developer Studio Generated Build File, Format Version 6.00 -# ** DO NOT EDIT ** - -# TARGTYPE "Win32 (x86) Console Application" 0x0103 - -CFG=di - Win32 Debug -!MESSAGE This is not a valid makefile. To build this project using NMAKE, -!MESSAGE use the Export Makefile command and run -!MESSAGE -!MESSAGE NMAKE /f "di.mak". -!MESSAGE -!MESSAGE You can specify a configuration when running NMAKE -!MESSAGE by defining the macro CFG on the command line. For example: -!MESSAGE -!MESSAGE NMAKE /f "di.mak" CFG="di - Win32 Debug" -!MESSAGE -!MESSAGE Possible choices for configuration are: -!MESSAGE -!MESSAGE "di - Win32 Release" (based on "Win32 (x86) Console Application") -!MESSAGE "di - Win32 Debug" (based on "Win32 (x86) Console Application") -!MESSAGE - -# Begin Project -# PROP AllowPerConfigDependencies 0 -# PROP Scc_ProjName "" -# PROP Scc_LocalPath "" -CPP=cl.exe -RSC=rc.exe - -!IF "$(CFG)" == "di - Win32 Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "Release" -# PROP BASE Intermediate_Dir "Release" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "" -# PROP Intermediate_Dir "Release" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c -# ADD CPP /nologo /W3 /GX /O2 /I "../../../include" /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c -# ADD BASE RSC /l 0x404 /d "NDEBUG" -# ADD RSC /l 0x404 /d "NDEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ../../../lib/pci-dask.lib /nologo /subsystem:console /machine:I386 - -!ELSEIF "$(CFG)" == "di - Win32 Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "Debug" -# PROP BASE Intermediate_Dir "Debug" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "Debug" -# PROP Intermediate_Dir "Debug" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /GZ /c -# ADD CPP /nologo /W3 /Gm /GX /ZI /Od /I "../../../include" /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /GZ /c -# ADD BASE RSC /l 0x404 /d "_DEBUG" -# ADD RSC /l 0x404 /d "_DEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ../../../lib/pci-dask.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept - -!ENDIF - -# Begin Target - -# Name "di - Win32 Release" -# Name "di - Win32 Debug" -# Begin Group "Source Files" - -# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;idl;hpj;bat" -# Begin Source File - -SOURCE=.\di.c -# End Source File -# End Group -# Begin Group "Header Files" - -# PROP Default_Filter "h;hpp;hxx;hm;inl" -# End Group -# Begin Group "Resource Files" - -# PROP Default_Filter "ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe" -# End Group -# End Target -# End Project diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9223/C9223_DI_DMA_DBFEvent/di.dsw b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9223/C9223_DI_DMA_DBFEvent/di.dsw deleted file mode 100644 index ae94ec2..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9223/C9223_DI_DMA_DBFEvent/di.dsw +++ /dev/null @@ -1,29 +0,0 @@ -Microsoft Developer Studio Workspace File, Format Version 6.00 -# WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE! - -############################################################################### - -Project: "di"=.\di.dsp - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ -}}} - -############################################################################### - -Global: - -Package=<5> -{{{ -}}} - -Package=<3> -{{{ -}}} - -############################################################################### - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9223/C9223_DI_DMA_DBFEvent/di.exe b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9223/C9223_DI_DMA_DBFEvent/di.exe deleted file mode 100644 index 78df147..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9223/C9223_DI_DMA_DBFEvent/di.exe and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9223/C9223_DI_DMA_DBFtoFile/di.c b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9223/C9223_DI_DMA_DBFtoFile/di.c deleted file mode 100644 index c0b5bac..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9223/C9223_DI_DMA_DBFtoFile/di.c +++ /dev/null @@ -1,150 +0,0 @@ -/*----------------------------------------------------------------------------*/ -/* Company : ADLINK */ -/* Date : 2008/08/19 */ -/* */ -/* This sample performs infinite DI acquisition with double buffer mode. */ -/*----------------------------------------------------------------------------*/ -#include -#include -#include -#include -#include "dask.h" - -#define DI_COUNT 4000 - -int main(int argc, char **argv) -{ - I16 card, err; - U16 card_num; - U16 ConfigCtrl = P922x_DI_CONVSRC_INT; - U16 TrigCtrl = P922x_DI_TRGMOD_POST|P922x_DI_TRGSRC_SOFT; - U32 ReTriggerCount = 0; //Ignore in non-retrigger mode - BOOLEAN AutoResetBuf = 1; //Auto reset buffer descriptor in driver - U16 RDBuffer0[DI_COUNT]; //Data buffer - U16 RDBuffer1[DI_COUNT]; //Data buffer - U16 BufferId0; - U16 BufferId1; - U32 DI_ReadCount = DI_COUNT; //DI Read Count - U16 Port = 0; //9223 supports only one DI port, port 0 - F64 SampleRate = 4000; - BOOLEAN HalfReady; - U32 AccessCnt; - U16 BufRdyIdx = 0; - U16 overrunFlag; - U8 FileName[] = "di_data"; - - memset(RDBuffer0, '\0', DI_COUNT*sizeof(U16)); - memset(RDBuffer1, '\0', DI_COUNT*sizeof(U16)); - printf("This sample performs infinite DI acquisition from DI Port with \n"); - printf("Double Buffer Mode at %6.3lf Hz sampling rate.\n\n", SampleRate); - - /*Open and Initialize Device*/ - printf("Card Number? "); - scanf(" %hd", &card_num); - card = Register_Card(PCI_9223, card_num); - if(card<0){ - printf("Register_Card Error: %d\n", card); - exit(1); - } - - /*Configure DI*/ - err = DI_9223_Config(card, ConfigCtrl, TrigCtrl, ReTriggerCount, AutoResetBuf); - if(err<0){ - printf("DI_9223_Config Error: %d\n", err); - Release_Card(card); - exit(1); - } - - /*Enable Double Buffer Mode*/ - err = DI_AsyncDblBufferMode(card, 1); - if(err<0){ - printf("DI_AsyncDblBufferMode Error: %d\n", err); - Release_Card(card); - exit(1); - } - - /*Setup Buffer for DI DMA Transfer*/ - err = DI_ContBufferSetup(card, RDBuffer0, DI_ReadCount, &BufferId0); - if(err<0){ - printf("DI_ContBufferSetup0 Error: %d\n", err); - Release_Card(card); - exit(1); - } - err = DI_ContBufferSetup(card, RDBuffer1, DI_ReadCount, &BufferId1); - if(err<0){ - printf("DI_ContBufferSetup1 Error: %d\n", err); - Release_Card(card); - exit(1); - } - - /*DI Acquisition Start*/ - err = DI_ContReadPortToFile(card, Port, FileName, DI_ReadCount, SampleRate, ASYNCH_OP); - if(err<0){ - printf("DI_ContReadPort Error: %d\n", err); - DI_ContBufferReset(card); - Release_Card(card); - exit(1); - } - do{ - /*Check whether DI Acquisition is done*/ - err = DI_AsyncDblBufferHalfReady(card, &HalfReady); - if(err<0){ - printf("DI_AsyncDblBufferHalfReady Error: %d\n", err); - DI_AsyncClear(card, &AccessCnt); - DI_ContBufferReset(card); - Release_Card(card); - exit(1); - } - if(HalfReady){ - if(BufRdyIdx==0){ - printf("\nBuffer 0 Half Ready...\n"); - printf("Write %d samples of Buffer0 to %s.dat file...\n", DI_ReadCount, FileName); - DI_AsyncDblBufferToFile(card); - DI_AsyncDblBufferOverrun(card, 0, &overrunFlag); - if(overrunFlag){ - printf("Overrun...\n"); - DI_AsyncDblBufferOverrun(card, 1, NULL); - } - BufRdyIdx = 1; - } - else{ - printf("\nBuffer 1 Half Ready...\n"); - printf("Write %d samples of Buffer1 to %s.dat file...\n", DI_ReadCount, FileName); - DI_AsyncDblBufferToFile(card); - DI_AsyncDblBufferOverrun(card, 0, &overrunFlag); - if(overrunFlag){ - printf("Overrun...\n"); - DI_AsyncDblBufferOverrun(card, 1, NULL); - } - BufRdyIdx = 0; - } - } - }while(!kbhit());getch(); - - /*Clear DI Setting and Get Remaining data*/ - err = DI_AsyncClear(card, &AccessCnt); - if(err<0){ - printf("DI_AsyncClear Error: %d\n", err); - DI_AsyncClear(card, &AccessCnt); - DI_ContBufferReset(card); - Release_Card(card); - exit(1); - } - - if(BufRdyIdx==0){ - printf("\nDI Acquisition is stopped...\n"); - printf("Last %d samples of Buffer0 had been written to %s.dat file...\n", AccessCnt, FileName); - } - else{ - printf("\nDI Acquisition is stopped...\n"); - printf("Last %d samples of Buffer1 had been written to %s.dat file...\n", AccessCnt, FileName); - } - - if(!AutoResetBuf) - DI_ContBufferReset(card); - Release_Card(card); - - printf("Press any key to exit...\n"); - getch(); - return 0; -} diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9223/C9223_DI_DMA_DBFtoFile/di.dsp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9223/C9223_DI_DMA_DBFtoFile/di.dsp deleted file mode 100644 index 50c0827..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9223/C9223_DI_DMA_DBFtoFile/di.dsp +++ /dev/null @@ -1,102 +0,0 @@ -# Microsoft Developer Studio Project File - Name="di" - Package Owner=<4> -# Microsoft Developer Studio Generated Build File, Format Version 6.00 -# ** DO NOT EDIT ** - -# TARGTYPE "Win32 (x86) Console Application" 0x0103 - -CFG=di - Win32 Debug -!MESSAGE This is not a valid makefile. To build this project using NMAKE, -!MESSAGE use the Export Makefile command and run -!MESSAGE -!MESSAGE NMAKE /f "di.mak". -!MESSAGE -!MESSAGE You can specify a configuration when running NMAKE -!MESSAGE by defining the macro CFG on the command line. For example: -!MESSAGE -!MESSAGE NMAKE /f "di.mak" CFG="di - Win32 Debug" -!MESSAGE -!MESSAGE Possible choices for configuration are: -!MESSAGE -!MESSAGE "di - Win32 Release" (based on "Win32 (x86) Console Application") -!MESSAGE "di - Win32 Debug" (based on "Win32 (x86) Console Application") -!MESSAGE - -# Begin Project -# PROP AllowPerConfigDependencies 0 -# PROP Scc_ProjName "" -# PROP Scc_LocalPath "" -CPP=cl.exe -RSC=rc.exe - -!IF "$(CFG)" == "di - Win32 Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "Release" -# PROP BASE Intermediate_Dir "Release" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "" -# PROP Intermediate_Dir "Release" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c -# ADD CPP /nologo /W3 /GX /O2 /I "../../../include" /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c -# ADD BASE RSC /l 0x404 /d "NDEBUG" -# ADD RSC /l 0x404 /d "NDEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ../../../lib/pci-dask.lib /nologo /subsystem:console /machine:I386 - -!ELSEIF "$(CFG)" == "di - Win32 Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "Debug" -# PROP BASE Intermediate_Dir "Debug" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "Debug" -# PROP Intermediate_Dir "Debug" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /GZ /c -# ADD CPP /nologo /W3 /Gm /GX /ZI /Od /I "../../../include" /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /GZ /c -# ADD BASE RSC /l 0x404 /d "_DEBUG" -# ADD RSC /l 0x404 /d "_DEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ../../../lib/pci-dask.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept - -!ENDIF - -# Begin Target - -# Name "di - Win32 Release" -# Name "di - Win32 Debug" -# Begin Group "Source Files" - -# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;idl;hpj;bat" -# Begin Source File - -SOURCE=.\di.c -# End Source File -# End Group -# Begin Group "Header Files" - -# PROP Default_Filter "h;hpp;hxx;hm;inl" -# End Group -# Begin Group "Resource Files" - -# PROP Default_Filter "ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe" -# End Group -# End Target -# End Project diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9223/C9223_DI_DMA_DBFtoFile/di.dsw b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9223/C9223_DI_DMA_DBFtoFile/di.dsw deleted file mode 100644 index ae94ec2..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9223/C9223_DI_DMA_DBFtoFile/di.dsw +++ /dev/null @@ -1,29 +0,0 @@ -Microsoft Developer Studio Workspace File, Format Version 6.00 -# WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE! - -############################################################################### - -Project: "di"=.\di.dsp - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ -}}} - -############################################################################### - -Global: - -Package=<5> -{{{ -}}} - -Package=<3> -{{{ -}}} - -############################################################################### - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9223/C9223_DI_DMA_DBFtoFile/di.exe b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9223/C9223_DI_DMA_DBFtoFile/di.exe deleted file mode 100644 index 6af444d..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9223/C9223_DI_DMA_DBFtoFile/di.exe and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9223/C9223_DI_DMA_InfiniteReTrigger/di.c b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9223/C9223_DI_DMA_InfiniteReTrigger/di.c deleted file mode 100644 index 35b4262..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9223/C9223_DI_DMA_InfiniteReTrigger/di.c +++ /dev/null @@ -1,167 +0,0 @@ -/*----------------------------------------------------------------------------*/ -/* Company : ADLINK */ -/* Date : 2008/08/19 */ -/* */ -/* This sample performs continuous DI acquisition with infinite retriggrt. */ -/* With infinite retrigger mode, there are two buffer should be setup for */ -/* infinite acquisition. */ -/*----------------------------------------------------------------------------*/ -#include -#include -#include -#include -#include "dask.h" - -#define DI_COUNT 4000 - -int main(int argc, char **argv) -{ - I16 card, err; - U16 card_num; - U16 ConfigCtrl = P922x_DI_CONVSRC_INT; - U16 TrigCtrl = P922x_DI_TRGMOD_POST|P922x_DI_TRGSRC_GPI0|P922x_DI_EnReTigger; - U32 ReTriggerCount = 0; /*Infinite trigger*/ - BOOLEAN AutoResetBuf = 1; /*Auto Reset Buffer Descriptor in Driver*/ - U16 RDBuffer0[DI_COUNT]; - U16 RDBuffer1[DI_COUNT]; - U16 BufferId0; - U16 BufferId1; - U32 DI_ReadCount = DI_COUNT; /*DI Read Count*/ - U16 Port = 0; /*9223 supports only one DI port, port 0*/ - F64 SampleRate = 4000; - BOOLEAN Ready, StopFlag; - U16 RdyTrigCnt; - U32 AccessCnt; - FILE *w_file; - U8 FileName[] = "di_data.txt"; - U32 i; - /*--------------------------------*/ - - memset(RDBuffer0, '\0', DI_COUNT*sizeof(U16)); - memset(RDBuffer1, '\0', DI_COUNT*sizeof(U16)); - if(!(w_file=fopen(FileName, "w"))){ - printf("file open error...\n"); - exit(1); - } - printf("This sample performs continuous DI acquisition from DI Port\n"); - printf("with infinite retrigger at %6.3lf Hz sampling rate.\n\n", SampleRate); - - /*Open and Initialize Device*/ - printf("Card Number? "); - scanf(" %hd", &card_num); - card = Register_Card(PCI_9223, card_num); - if(card<0){ - printf("Register_Card Error: %d\n", card); - fclose(w_file); - exit(1); - } - - /*Configure DI*/ - err = DI_9223_Config(card, ConfigCtrl, TrigCtrl, ReTriggerCount, AutoResetBuf); - if(err<0){ - printf("DI_9223_Config Error: %d\n", err); - Release_Card(card); - fclose(w_file); - exit(1); - } - - /*Disable Double Buffer Mode*/ - err = DI_AsyncDblBufferMode(card, 0); - if(err<0){ - printf("DI_AsyncDblBufferMode Error: %d\n", err); - Release_Card(card); - fclose(w_file); - exit(1); - } - - /*Setup Buffer for DI DMA Transfer*/ - err = DI_ContBufferSetup(card, RDBuffer0, DI_COUNT, &BufferId0); - if(err<0){ - printf("DI_ContBufferSetup Error: %d\n", err); - Release_Card(card); - fclose(w_file); - exit(1); - } - err = DI_ContBufferSetup(card, RDBuffer1, DI_COUNT, &BufferId1); - if(err<0){ - printf("DI_ContBufferSetup Error: %d\n", err); - Release_Card(card); - fclose(w_file); - exit(1); - } - - /*DI Acquisition Start*/ - err = DI_ContReadPort(card, Port, &BufferId0, DI_ReadCount, SampleRate, ASYNCH_OP); - if(err<0){ - printf("DI_ContReadPort Error: %d\n", err); - DI_ContBufferReset(card); - Release_Card(card); - fclose(w_file); - exit(1); - } - printf("\nWait Infinite Retrigger from GPI0...\n"); - printf("You can press any key to stop...\n"); - do{ - err = DI_AsyncReTrigNextReady(card, &Ready, &StopFlag, &RdyTrigCnt); - if(err<0){ - printf("DI_AsyncReTrigNextReady Error: %d\n", err); - DI_AsyncClear(card, &AccessCnt); - DI_ContBufferReset(card); - Release_Card(card); - fclose(w_file); - exit(1); - } - if(Ready){ - printf("\nDI Trigger End with Next Trigger...\n"); - printf("Trigger Ready: %d, Trigger End: %d, Trigger Count: %d\n", Ready, StopFlag, RdyTrigCnt); - if(RdyTrigCnt==0){ - printf("Write %d samples of Buffer0 to %s file...\n", DI_ReadCount, FileName); - for(i=0; i -# Microsoft Developer Studio Generated Build File, Format Version 6.00 -# ** DO NOT EDIT ** - -# TARGTYPE "Win32 (x86) Console Application" 0x0103 - -CFG=di - Win32 Debug -!MESSAGE This is not a valid makefile. To build this project using NMAKE, -!MESSAGE use the Export Makefile command and run -!MESSAGE -!MESSAGE NMAKE /f "di.mak". -!MESSAGE -!MESSAGE You can specify a configuration when running NMAKE -!MESSAGE by defining the macro CFG on the command line. For example: -!MESSAGE -!MESSAGE NMAKE /f "di.mak" CFG="di - Win32 Debug" -!MESSAGE -!MESSAGE Possible choices for configuration are: -!MESSAGE -!MESSAGE "di - Win32 Release" (based on "Win32 (x86) Console Application") -!MESSAGE "di - Win32 Debug" (based on "Win32 (x86) Console Application") -!MESSAGE - -# Begin Project -# PROP AllowPerConfigDependencies 0 -# PROP Scc_ProjName "" -# PROP Scc_LocalPath "" -CPP=cl.exe -RSC=rc.exe - -!IF "$(CFG)" == "di - Win32 Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "Release" -# PROP BASE Intermediate_Dir "Release" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "" -# PROP Intermediate_Dir "Release" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c -# ADD CPP /nologo /W3 /GX /O2 /I "../../../include" /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c -# ADD BASE RSC /l 0x404 /d "NDEBUG" -# ADD RSC /l 0x404 /d "NDEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ../../../lib/pci-dask.lib /nologo /subsystem:console /machine:I386 - -!ELSEIF "$(CFG)" == "di - Win32 Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "Debug" -# PROP BASE Intermediate_Dir "Debug" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "Debug" -# PROP Intermediate_Dir "Debug" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /GZ /c -# ADD CPP /nologo /W3 /Gm /GX /ZI /Od /I "../../../include" /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /GZ /c -# ADD BASE RSC /l 0x404 /d "_DEBUG" -# ADD RSC /l 0x404 /d "_DEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ../../../lib/pci-dask.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept - -!ENDIF - -# Begin Target - -# Name "di - Win32 Release" -# Name "di - Win32 Debug" -# Begin Group "Source Files" - -# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;idl;hpj;bat" -# Begin Source File - -SOURCE=.\di.c -# End Source File -# End Group -# Begin Group "Header Files" - -# PROP Default_Filter "h;hpp;hxx;hm;inl" -# End Group -# Begin Group "Resource Files" - -# PROP Default_Filter "ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe" -# End Group -# End Target -# End Project diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9223/C9223_DI_DMA_InfiniteReTrigger/di.dsw b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9223/C9223_DI_DMA_InfiniteReTrigger/di.dsw deleted file mode 100644 index ae94ec2..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9223/C9223_DI_DMA_InfiniteReTrigger/di.dsw +++ /dev/null @@ -1,29 +0,0 @@ -Microsoft Developer Studio Workspace File, Format Version 6.00 -# WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE! - -############################################################################### - -Project: "di"=.\di.dsp - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ -}}} - -############################################################################### - -Global: - -Package=<5> -{{{ -}}} - -Package=<3> -{{{ -}}} - -############################################################################### - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9223/C9223_DI_DMA_InfiniteReTrigger/di.exe b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9223/C9223_DI_DMA_InfiniteReTrigger/di.exe deleted file mode 100644 index 59b7436..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9223/C9223_DI_DMA_InfiniteReTrigger/di.exe and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9223/C9223_DI_DMA_Retrigger/di.c b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9223/C9223_DI_DMA_Retrigger/di.c deleted file mode 100644 index 84c2934..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9223/C9223_DI_DMA_Retrigger/di.c +++ /dev/null @@ -1,148 +0,0 @@ -/*----------------------------------------------------------------------------*/ -/* Company : ADLINK */ -/* Date : 2008/08/19 */ -/* */ -/* This sample performs continuous DI acquisition with Retrigger. */ -/*----------------------------------------------------------------------------*/ -#include -#include -#include -#include -#include "dask.h" - -#define DI_ACQCOUNT 4000 -#define DI_TRIGCOUNT 4 -#define DI_BUFCOUNT DI_ACQCOUNT*DI_TRIGCOUNT - -int main(int argc, char **argv) -{ - I16 card, err; - U16 card_num; - U16 ConfigCtrl = P922x_DI_CONVSRC_INT; - U16 TrigCtrl = P922x_DI_TRGMOD_POST|P922x_DI_TRGSRC_GPI0|P922x_DI_EnReTigger; - U32 ReTriggerCount = DI_TRIGCOUNT-1; //Retrigger count = total trigger count-1 - BOOLEAN AutoResetBuf = 1; //Auto reset buffer descriptor in driver*/ - U16 RDBuffer[DI_BUFCOUNT]; - U16 BufferId; - U32 DI_ReadCount = DI_ACQCOUNT; //DI Read Count - U16 Port = 0; //9223 supports only one DI port, port 0 - F64 SampleRate = 2000000; - BOOLEAN Ready, StopFlag; - U16 RdyTrigCnt; - U32 AccessCnt; - FILE *w_file; - U8 FileName[] = "di_data.txt"; - U32 i; - - memset(RDBuffer, '\0', DI_BUFCOUNT*sizeof(U16)); - if(!(w_file=fopen(FileName, "w"))){ - printf("file open error...\n"); - exit(1); - } - printf("This sample performs continuous DI acquisition from DI Port\n"); - printf("with retrigger mode at %6.3lf Hz sampling rate.\n\n", SampleRate); - - /*Open and Initialize Device*/ - printf("Card Number? "); - scanf(" %hd", &card_num); - card = Register_Card(PCI_9223, card_num); - if(card<0){ - printf("Register_Card Error: %d\n", card); - fclose(w_file); - exit(1); - } - - /*Configure DI*/ - err = DI_9223_Config(card, ConfigCtrl, TrigCtrl, ReTriggerCount, AutoResetBuf); - if(err<0){ - printf("DI_9223_Config Error: %d\n", err); - Release_Card(card); - fclose(w_file); - exit(1); - } - - /*Disable Double Buffer Mode*/ - err = DI_AsyncDblBufferMode(card, 0); - if(err<0){ - printf("DI_AsyncDblBufferMode Error: %d\n", err); - Release_Card(card); - fclose(w_file); - exit(1); - } - - /*Setup Buffer for DI DMA Transfer*/ - err = DI_ContBufferSetup(card, RDBuffer, DI_BUFCOUNT, &BufferId); - if(err<0){ - printf("DI_ContBufferSetup Error: %d\n", err); - Release_Card(card); - fclose(w_file); - exit(1); - } - - /*DI Acquisition Start*/ - err = DI_ContReadPort(card, Port, &BufferId, DI_ReadCount, SampleRate, ASYNCH_OP); - if(err<0){ - printf("DI_ContReadPort Error: %d\n", err); - DI_ContBufferReset(card); - Release_Card(card); - fclose(w_file); - exit(1); - } - printf("Wait 4 external trigger from GPI0...\n"); - do{ - err = DI_AsyncReTrigNextReady(card, &Ready, &StopFlag, &RdyTrigCnt); - if(err<0){ - printf("DI_AsyncReTrigNextReady Error: %d\n", err); - DI_AsyncClear(card, &AccessCnt); - DI_ContBufferReset(card); - Release_Card(card); - fclose(w_file); - exit(1); - } - if(Ready){ - printf("\nDI Trigger End with Next Trigger...\n"); - printf("Trigger Ready: %d, Trigger End: %d, Trigger Count: %d\n", Ready, StopFlag, RdyTrigCnt); - } - if(StopFlag){ - printf("\nDI Acquisition End...\n"); - printf("Trigger Ready: %d, Trigger End: %d, Trigger Count: %d\n", Ready, StopFlag, RdyTrigCnt); - break; - } - }while(!kbhit()); - - /*Clear DI Setting and Get Remaining data*/ - err = DI_AsyncClear(card, &AccessCnt); - if(err<0){ - printf("DI_AsyncClear Error: %d\n", err); - DI_AsyncClear(card, &AccessCnt); - DI_ContBufferReset(card); - Release_Card(card); - fclose(w_file); - exit(1); - } - - if(StopFlag){ - printf("\n\nDI Acquisition Done... Acquired %d samples...\n", AccessCnt); - printf("Write %d samples of Buffer to %s file...\n", AccessCnt, FileName); - for(i=0; i -# Microsoft Developer Studio Generated Build File, Format Version 6.00 -# ** DO NOT EDIT ** - -# TARGTYPE "Win32 (x86) Console Application" 0x0103 - -CFG=di - Win32 Debug -!MESSAGE This is not a valid makefile. To build this project using NMAKE, -!MESSAGE use the Export Makefile command and run -!MESSAGE -!MESSAGE NMAKE /f "di.mak". -!MESSAGE -!MESSAGE You can specify a configuration when running NMAKE -!MESSAGE by defining the macro CFG on the command line. For example: -!MESSAGE -!MESSAGE NMAKE /f "di.mak" CFG="di - Win32 Debug" -!MESSAGE -!MESSAGE Possible choices for configuration are: -!MESSAGE -!MESSAGE "di - Win32 Release" (based on "Win32 (x86) Console Application") -!MESSAGE "di - Win32 Debug" (based on "Win32 (x86) Console Application") -!MESSAGE - -# Begin Project -# PROP AllowPerConfigDependencies 0 -# PROP Scc_ProjName "" -# PROP Scc_LocalPath "" -CPP=cl.exe -RSC=rc.exe - -!IF "$(CFG)" == "di - Win32 Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "Release" -# PROP BASE Intermediate_Dir "Release" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "" -# PROP Intermediate_Dir "Release" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c -# ADD CPP /nologo /W3 /GX /O2 /I "../../../include" /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c -# ADD BASE RSC /l 0x404 /d "NDEBUG" -# ADD RSC /l 0x404 /d "NDEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ../../../lib/pci-dask.lib /nologo /subsystem:console /machine:I386 - -!ELSEIF "$(CFG)" == "di - Win32 Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "Debug" -# PROP BASE Intermediate_Dir "Debug" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "Debug" -# PROP Intermediate_Dir "Debug" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /GZ /c -# ADD CPP /nologo /W3 /Gm /GX /ZI /Od /I "../../../include" /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /GZ /c -# ADD BASE RSC /l 0x404 /d "_DEBUG" -# ADD RSC /l 0x404 /d "_DEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ../../../lib/pci-dask.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept - -!ENDIF - -# Begin Target - -# Name "di - Win32 Release" -# Name "di - Win32 Debug" -# Begin Group "Source Files" - -# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;idl;hpj;bat" -# Begin Source File - -SOURCE=.\di.c -# End Source File -# End Group -# Begin Group "Header Files" - -# PROP Default_Filter "h;hpp;hxx;hm;inl" -# End Group -# Begin Group "Resource Files" - -# PROP Default_Filter "ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe" -# End Group -# End Target -# End Project diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9223/C9223_DI_DMA_Retrigger/di.dsw b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9223/C9223_DI_DMA_Retrigger/di.dsw deleted file mode 100644 index ae94ec2..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9223/C9223_DI_DMA_Retrigger/di.dsw +++ /dev/null @@ -1,29 +0,0 @@ -Microsoft Developer Studio Workspace File, Format Version 6.00 -# WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE! - -############################################################################### - -Project: "di"=.\di.dsp - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ -}}} - -############################################################################### - -Global: - -Package=<5> -{{{ -}}} - -Package=<3> -{{{ -}}} - -############################################################################### - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9223/C9223_DI_DMA_Retrigger/di.exe b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9223/C9223_DI_DMA_Retrigger/di.exe deleted file mode 100644 index b65dc5a..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9223/C9223_DI_DMA_Retrigger/di.exe and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9223/C9223_DO_DMA/do.c b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9223/C9223_DO_DMA/do.c deleted file mode 100644 index 4b399e4..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9223/C9223_DO_DMA/do.c +++ /dev/null @@ -1,104 +0,0 @@ -/*----------------------------------------------------------------------------*/ -/* Company : ADLINK */ -/* Date : 2008/08/19 */ -/* */ -/* This sample performs continuous digital output to DO port with DMA. */ -/*----------------------------------------------------------------------------*/ -#include -#include -#include -#include -#include -#include "dask.h" - -#define WRITECOUNT 4000 -#define TIMEBASE 80000000 -#define SAMPRATE 4000 - -int main(int argc, char **argv) -{ - I16 card, err; - U16 card_num; - - U16 ConfigCtrl = P922x_DO_CONVSRC_INT; - U16 TrigCtrl = P922x_DO_TRGMOD_POST|P922x_DO_TRGSRC_SOFT; - U32 ReTrgCnt = 0; //Not used in non-retrigger mode - U32 DLY1Cnt = 0; //Not used in post trigger mode - U32 DLY2Cnt = 0; //No used in 922x do - BOOLEAN AutoResetBuf = 1; //Auto reset buffer descriptors built in driver - U32 W_Buffer[WRITECOUNT]; //Data buffer to be written - U32 WriteCount = WRITECOUNT; //Output count - U16 BufferId; - U16 Port = 0; //Only one DO port - U16 Iterations = 1; //922x has no output repeats of digital output - F64 SampleRate = SAMPRATE; - BOOLEAN Stopped; - U32 AccessCnt = 0; - U32 vi; - - for(vi=0; vi -# Microsoft Developer Studio Generated Build File, Format Version 6.00 -# ** DO NOT EDIT ** - -# TARGTYPE "Win32 (x86) Console Application" 0x0103 - -CFG=do - Win32 Debug -!MESSAGE This is not a valid makefile. To build this project using NMAKE, -!MESSAGE use the Export Makefile command and run -!MESSAGE -!MESSAGE NMAKE /f "do.mak". -!MESSAGE -!MESSAGE You can specify a configuration when running NMAKE -!MESSAGE by defining the macro CFG on the command line. For example: -!MESSAGE -!MESSAGE NMAKE /f "do.mak" CFG="do - Win32 Debug" -!MESSAGE -!MESSAGE Possible choices for configuration are: -!MESSAGE -!MESSAGE "do - Win32 Release" (based on "Win32 (x86) Console Application") -!MESSAGE "do - Win32 Debug" (based on "Win32 (x86) Console Application") -!MESSAGE - -# Begin Project -# PROP AllowPerConfigDependencies 0 -# PROP Scc_ProjName "" -# PROP Scc_LocalPath "" -CPP=cl.exe -RSC=rc.exe - -!IF "$(CFG)" == "do - Win32 Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "Release" -# PROP BASE Intermediate_Dir "Release" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "" -# PROP Intermediate_Dir "Release" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c -# ADD CPP /nologo /W3 /GX /O2 /I "../../../include" /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c -# ADD BASE RSC /l 0x404 /d "NDEBUG" -# ADD RSC /l 0x404 /d "NDEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ../../../lib/pci-dask.lib /nologo /subsystem:console /machine:I386 - -!ELSEIF "$(CFG)" == "do - Win32 Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "Debug" -# PROP BASE Intermediate_Dir "Debug" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "Debug" -# PROP Intermediate_Dir "Debug" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /GZ /c -# ADD CPP /nologo /W3 /Gm /GX /ZI /Od /I "../../../include" /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /GZ /c -# ADD BASE RSC /l 0x404 /d "_DEBUG" -# ADD RSC /l 0x404 /d "_DEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ../../../lib/pci-dask.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept - -!ENDIF - -# Begin Target - -# Name "do - Win32 Release" -# Name "do - Win32 Debug" -# Begin Group "Source Files" - -# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;idl;hpj;bat" -# Begin Source File - -SOURCE=.\do.c -# End Source File -# End Group -# Begin Group "Header Files" - -# PROP Default_Filter "h;hpp;hxx;hm;inl" -# End Group -# Begin Group "Resource Files" - -# PROP Default_Filter "ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe" -# End Group -# End Target -# End Project diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9223/C9223_DO_DMA/do.dsw b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9223/C9223_DO_DMA/do.dsw deleted file mode 100644 index 3e43da3..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9223/C9223_DO_DMA/do.dsw +++ /dev/null @@ -1,29 +0,0 @@ -Microsoft Developer Studio Workspace File, Format Version 6.00 -# WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE! - -############################################################################### - -Project: "do"=.\do.dsp - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ -}}} - -############################################################################### - -Global: - -Package=<5> -{{{ -}}} - -Package=<3> -{{{ -}}} - -############################################################################### - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9223/C9223_DO_DMA/do.exe b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9223/C9223_DO_DMA/do.exe deleted file mode 100644 index 747e270..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9223/C9223_DO_DMA/do.exe and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9223/C9223_DO_DMA_DelayTrigger/do.c b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9223/C9223_DO_DMA_DelayTrigger/do.c deleted file mode 100644 index b180222..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9223/C9223_DO_DMA_DelayTrigger/do.c +++ /dev/null @@ -1,102 +0,0 @@ -/*----------------------------------------------------------------------------*/ -/* Company : ADLINK */ -/* Date : 2008/08/19 */ -/* */ -/* This sample performs continuous DO operation with delay trigger. */ -/*----------------------------------------------------------------------------*/ -#include -#include -#include -#include -#include -#include "dask.h" - -#define WRITECOUNT 4000 -#define TIMEBASE 80000000 -#define SAMPRATE 4000 - -int main(int argc, char **argv) -{ - I16 card, err; - U16 card_num; - U16 ConfigCtrl = P922x_DO_CONVSRC_INT; - U16 TrigCtrl = P922x_DO_TRGMOD_DELAY|P922x_DO_TRGSRC_GPI0; - U32 ReTrgCnt = 0; //Ignored if Retrigger mode dose not be enabled - U32 DLY1Cnt = 40000000; //Delay interval; Delay Time = DLY1Cnt/TIMEBASE Sec. - U32 DLY2Cnt = 0; //No used in 922x do - BOOLEAN AutoResetBuf = 1; //Auto reset buffer descriptors built in driver - U32 W_Buffer[WRITECOUNT]; //Data buffer to be written - U32 WriteCount = WRITECOUNT; //Output count - U16 BufferId; - U16 Port = 0; //Only one DO port - U16 Iterations = 1; //922x has no DO repeats - F64 SampleRate = SAMPRATE; - BOOLEAN Stopped; - U32 AccessCnt = 0; - U32 vi; - - for(vi=0; vi -# Microsoft Developer Studio Generated Build File, Format Version 6.00 -# ** DO NOT EDIT ** - -# TARGTYPE "Win32 (x86) Console Application" 0x0103 - -CFG=do - Win32 Debug -!MESSAGE This is not a valid makefile. To build this project using NMAKE, -!MESSAGE use the Export Makefile command and run -!MESSAGE -!MESSAGE NMAKE /f "do.mak". -!MESSAGE -!MESSAGE You can specify a configuration when running NMAKE -!MESSAGE by defining the macro CFG on the command line. For example: -!MESSAGE -!MESSAGE NMAKE /f "do.mak" CFG="do - Win32 Debug" -!MESSAGE -!MESSAGE Possible choices for configuration are: -!MESSAGE -!MESSAGE "do - Win32 Release" (based on "Win32 (x86) Console Application") -!MESSAGE "do - Win32 Debug" (based on "Win32 (x86) Console Application") -!MESSAGE - -# Begin Project -# PROP AllowPerConfigDependencies 0 -# PROP Scc_ProjName "" -# PROP Scc_LocalPath "" -CPP=cl.exe -RSC=rc.exe - -!IF "$(CFG)" == "do - Win32 Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "Release" -# PROP BASE Intermediate_Dir "Release" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "" -# PROP Intermediate_Dir "Release" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c -# ADD CPP /nologo /W3 /GX /O2 /I "../../../include" /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c -# ADD BASE RSC /l 0x404 /d "NDEBUG" -# ADD RSC /l 0x404 /d "NDEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ../../../lib/pci-dask.lib /nologo /subsystem:console /machine:I386 - -!ELSEIF "$(CFG)" == "do - Win32 Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "Debug" -# PROP BASE Intermediate_Dir "Debug" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "Debug" -# PROP Intermediate_Dir "Debug" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /GZ /c -# ADD CPP /nologo /W3 /Gm /GX /ZI /Od /I "../../../include" /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /GZ /c -# ADD BASE RSC /l 0x404 /d "_DEBUG" -# ADD RSC /l 0x404 /d "_DEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ../../../lib/pci-dask.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept - -!ENDIF - -# Begin Target - -# Name "do - Win32 Release" -# Name "do - Win32 Debug" -# Begin Group "Source Files" - -# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;idl;hpj;bat" -# Begin Source File - -SOURCE=.\do.c -# End Source File -# End Group -# Begin Group "Header Files" - -# PROP Default_Filter "h;hpp;hxx;hm;inl" -# End Group -# Begin Group "Resource Files" - -# PROP Default_Filter "ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe" -# End Group -# End Target -# End Project diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9223/C9223_DO_DMA_DelayTrigger/do.dsw b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9223/C9223_DO_DMA_DelayTrigger/do.dsw deleted file mode 100644 index 3e43da3..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9223/C9223_DO_DMA_DelayTrigger/do.dsw +++ /dev/null @@ -1,29 +0,0 @@ -Microsoft Developer Studio Workspace File, Format Version 6.00 -# WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE! - -############################################################################### - -Project: "do"=.\do.dsp - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ -}}} - -############################################################################### - -Global: - -Package=<5> -{{{ -}}} - -Package=<3> -{{{ -}}} - -############################################################################### - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9223/C9223_DO_DMA_DelayTrigger/do.exe b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9223/C9223_DO_DMA_DelayTrigger/do.exe deleted file mode 100644 index 0a8570c..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9223/C9223_DO_DMA_DelayTrigger/do.exe and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9223/C9223_DO_DMA_Event/do.c b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9223/C9223_DO_DMA_Event/do.c deleted file mode 100644 index d9fba8e..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9223/C9223_DO_DMA_Event/do.c +++ /dev/null @@ -1,124 +0,0 @@ -/*----------------------------------------------------------------------------*/ -/* Company : ADLINK */ -/* Date : 2008/08/19 */ -/* */ -/* This sample performs continuous DO operation with call back function. */ -/*----------------------------------------------------------------------------*/ -#include -#include -#include -#include -#include -#include "dask.h" - -#define WRITECOUNT 4000 -#define TIMEBASE 80000000 -#define SAMPRATE 4000 - -I16 card, err; -U16 card_num; -U16 ConfigCtrl = P922x_DO_CONVSRC_INT; -U16 TrigCtrl = P922x_DO_TRGMOD_POST|P922x_DO_TRGSRC_SOFT; -U32 ReTrgCnt = 0; //Not used in non-retrigger mode -U32 DLY1Cnt = 0; //Not used in post trigger mode -U32 DLY2Cnt = 0; //No used in 922x do -BOOLEAN AutoResetBuf = 1; //Auto reset buffer descriptors built in driver -U32 W_Buffer[WRITECOUNT]; //Data buffer to be written -U32 WriteCount = WRITECOUNT; //Output count -U16 BufferId; -U16 Port = 0; //Only one DO port -U16 Iterations = 1; //922x has no output repeats of digital output -F64 SampleRate = SAMPRATE; -BOOLEAN Stopped; -U32 AccessCnt = 0; -U32 vi; -U16 fStop; - - -void DO_END_CALLBACK() -{ - printf("\n\n\nDO Done...\n"); - if(!fStop){ - DO_AsyncClear(card, &AccessCnt); - printf("%d data has been updated...\n", AccessCnt); - fStop = 1; - } - else{ - printf("%d data has been updated...\n", AccessCnt); - fStop = 0; - } -} - -int main(int argc, char **argv) -{ - for(vi=0; vi -# Microsoft Developer Studio Generated Build File, Format Version 6.00 -# ** DO NOT EDIT ** - -# TARGTYPE "Win32 (x86) Console Application" 0x0103 - -CFG=do - Win32 Debug -!MESSAGE This is not a valid makefile. To build this project using NMAKE, -!MESSAGE use the Export Makefile command and run -!MESSAGE -!MESSAGE NMAKE /f "do.mak". -!MESSAGE -!MESSAGE You can specify a configuration when running NMAKE -!MESSAGE by defining the macro CFG on the command line. For example: -!MESSAGE -!MESSAGE NMAKE /f "do.mak" CFG="do - Win32 Debug" -!MESSAGE -!MESSAGE Possible choices for configuration are: -!MESSAGE -!MESSAGE "do - Win32 Release" (based on "Win32 (x86) Console Application") -!MESSAGE "do - Win32 Debug" (based on "Win32 (x86) Console Application") -!MESSAGE - -# Begin Project -# PROP AllowPerConfigDependencies 0 -# PROP Scc_ProjName "" -# PROP Scc_LocalPath "" -CPP=cl.exe -RSC=rc.exe - -!IF "$(CFG)" == "do - Win32 Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "Release" -# PROP BASE Intermediate_Dir "Release" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "" -# PROP Intermediate_Dir "Release" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c -# ADD CPP /nologo /W3 /GX /O2 /I "../../../include" /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c -# ADD BASE RSC /l 0x404 /d "NDEBUG" -# ADD RSC /l 0x404 /d "NDEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ../../../lib/pci-dask.lib /nologo /subsystem:console /machine:I386 - -!ELSEIF "$(CFG)" == "do - Win32 Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "Debug" -# PROP BASE Intermediate_Dir "Debug" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "Debug" -# PROP Intermediate_Dir "Debug" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /GZ /c -# ADD CPP /nologo /W3 /Gm /GX /ZI /Od /I "../../../include" /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /GZ /c -# ADD BASE RSC /l 0x404 /d "_DEBUG" -# ADD RSC /l 0x404 /d "_DEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ../../../lib/pci-dask.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept - -!ENDIF - -# Begin Target - -# Name "do - Win32 Release" -# Name "do - Win32 Debug" -# Begin Group "Source Files" - -# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;idl;hpj;bat" -# Begin Source File - -SOURCE=.\do.c -# End Source File -# End Group -# Begin Group "Header Files" - -# PROP Default_Filter "h;hpp;hxx;hm;inl" -# End Group -# Begin Group "Resource Files" - -# PROP Default_Filter "ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe" -# End Group -# End Target -# End Project diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9223/C9223_DO_DMA_Event/do.dsw b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9223/C9223_DO_DMA_Event/do.dsw deleted file mode 100644 index 3e43da3..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9223/C9223_DO_DMA_Event/do.dsw +++ /dev/null @@ -1,29 +0,0 @@ -Microsoft Developer Studio Workspace File, Format Version 6.00 -# WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE! - -############################################################################### - -Project: "do"=.\do.dsp - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ -}}} - -############################################################################### - -Global: - -Package=<5> -{{{ -}}} - -Package=<3> -{{{ -}}} - -############################################################################### - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9223/C9223_DO_DMA_Event/do.exe b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9223/C9223_DO_DMA_Event/do.exe deleted file mode 100644 index 1d2ebfe..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9223/C9223_DO_DMA_Event/do.exe and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9223/C9223_DO_DMA_InfiniteReTrigger/do.c b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9223/C9223_DO_DMA_InfiniteReTrigger/do.c deleted file mode 100644 index 963dfc8..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9223/C9223_DO_DMA_InfiniteReTrigger/do.c +++ /dev/null @@ -1,98 +0,0 @@ -/*----------------------------------------------------------------------------*/ -/* Company : ADLINK */ -/* Date : 2008/08/19 */ -/* */ -/* This sample performs continuous DO operation with infinite trigger. */ -/*----------------------------------------------------------------------------*/ -#include -#include -#include -#include -#include -#include "dask.h" - -#define WRITECOUNT 4000 -#define TIMEBASE 80000000 -#define SAMPRATE 4000 - -int main(int argc, char **argv) -{ - I16 card, err; - U16 card_num; - - U16 ConfigCtrl = P922x_DO_CONVSRC_INT; - U16 TrigCtrl = P922x_DO_TRGMOD_POST|P922x_DO_TRGSRC_GPI0|P922x_DO_EnReTigger; - U32 ReTrgCnt = 0; //0 means infinite trigger in retrigger mode - U32 DLY1Cnt = 0; //Ignored in non-delay trigger mode - U32 DLY2Cnt = 0; //No used in 922x do - BOOLEAN AutoResetBuf = 1; //Auto reset buffer descriptors built in driver - U32 W_Buffer[WRITECOUNT]; //Data buffer to be written - U32 WriteCount = WRITECOUNT; //Output count - U16 BufferId; - U16 Port = 0; //Only one DO port - U16 Iterations = 1; //922x has no DO repeats - F64 SampleRate = SAMPRATE; - BOOLEAN Stopped; - U32 AccessCnt = 0; - U32 vi; - - for(vi=0; vi -# Microsoft Developer Studio Generated Build File, Format Version 6.00 -# ** DO NOT EDIT ** - -# TARGTYPE "Win32 (x86) Console Application" 0x0103 - -CFG=do - Win32 Debug -!MESSAGE This is not a valid makefile. To build this project using NMAKE, -!MESSAGE use the Export Makefile command and run -!MESSAGE -!MESSAGE NMAKE /f "do.mak". -!MESSAGE -!MESSAGE You can specify a configuration when running NMAKE -!MESSAGE by defining the macro CFG on the command line. For example: -!MESSAGE -!MESSAGE NMAKE /f "do.mak" CFG="do - Win32 Debug" -!MESSAGE -!MESSAGE Possible choices for configuration are: -!MESSAGE -!MESSAGE "do - Win32 Release" (based on "Win32 (x86) Console Application") -!MESSAGE "do - Win32 Debug" (based on "Win32 (x86) Console Application") -!MESSAGE - -# Begin Project -# PROP AllowPerConfigDependencies 0 -# PROP Scc_ProjName "" -# PROP Scc_LocalPath "" -CPP=cl.exe -RSC=rc.exe - -!IF "$(CFG)" == "do - Win32 Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "Release" -# PROP BASE Intermediate_Dir "Release" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "" -# PROP Intermediate_Dir "Release" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c -# ADD CPP /nologo /W3 /GX /O2 /I "../../../include" /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c -# ADD BASE RSC /l 0x404 /d "NDEBUG" -# ADD RSC /l 0x404 /d "NDEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ../../../lib/pci-dask.lib /nologo /subsystem:console /machine:I386 - -!ELSEIF "$(CFG)" == "do - Win32 Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "Debug" -# PROP BASE Intermediate_Dir "Debug" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "Debug" -# PROP Intermediate_Dir "Debug" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /GZ /c -# ADD CPP /nologo /W3 /Gm /GX /ZI /Od /I "../../../include" /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /GZ /c -# ADD BASE RSC /l 0x404 /d "_DEBUG" -# ADD RSC /l 0x404 /d "_DEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ../../../lib/pci-dask.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept - -!ENDIF - -# Begin Target - -# Name "do - Win32 Release" -# Name "do - Win32 Debug" -# Begin Group "Source Files" - -# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;idl;hpj;bat" -# Begin Source File - -SOURCE=.\do.c -# End Source File -# End Group -# Begin Group "Header Files" - -# PROP Default_Filter "h;hpp;hxx;hm;inl" -# End Group -# Begin Group "Resource Files" - -# PROP Default_Filter "ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe" -# End Group -# End Target -# End Project diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9223/C9223_DO_DMA_InfiniteReTrigger/do.dsw b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9223/C9223_DO_DMA_InfiniteReTrigger/do.dsw deleted file mode 100644 index 3e43da3..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9223/C9223_DO_DMA_InfiniteReTrigger/do.dsw +++ /dev/null @@ -1,29 +0,0 @@ -Microsoft Developer Studio Workspace File, Format Version 6.00 -# WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE! - -############################################################################### - -Project: "do"=.\do.dsp - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ -}}} - -############################################################################### - -Global: - -Package=<5> -{{{ -}}} - -Package=<3> -{{{ -}}} - -############################################################################### - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9223/C9223_DO_DMA_InfiniteReTrigger/do.exe b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9223/C9223_DO_DMA_InfiniteReTrigger/do.exe deleted file mode 100644 index 519bb39..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9223/C9223_DO_DMA_InfiniteReTrigger/do.exe and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9223/C9223_DO_DMA_ReTrigEvent/do.c b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9223/C9223_DO_DMA_ReTrigEvent/do.c deleted file mode 100644 index df3b89c..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9223/C9223_DO_DMA_ReTrigEvent/do.c +++ /dev/null @@ -1,142 +0,0 @@ -/*----------------------------------------------------------------------------*/ -/* Company : ADLINK */ -/* Date : 2008/08/19 */ -/* */ -/* This sample performs continuous DO retrigger operation with */ -/* call back function. */ -/*----------------------------------------------------------------------------*/ -#include -#include -#include -#include -#include -#include "dask.h" - -#define WRITECOUNT 4000 -#define TIMEBASE 80000000 -#define SAMPRATE 4000 - -I16 card, err; -U16 card_num; -U16 ConfigCtrl = P922x_DO_CONVSRC_INT; -U16 TrigCtrl = P922x_DO_TRGMOD_POST|P922x_DO_TRGSRC_GPI0|P922x_DO_EnReTigger; -U32 ReTrgCnt = 3; //Retrigger Count -U32 DLY1Cnt = 0; //Ignored in non-delay trigger mode -U32 DLY2Cnt = 0; //No used in 922x DO -BOOLEAN AutoResetBuf = 1; //Auto reset buffer descriptors built in driver -U32 W_Buffer[WRITECOUNT]; //Data buffer to be written -U32 WriteCount = WRITECOUNT; //Output count -U16 BufferId; -U16 Port = 0; //Only one DO port -U16 Iterations = 1; //922x has no DO repeats -F64 SampleRate = SAMPRATE; -BOOLEAN Stopped; -U32 AccessCnt = 0; -U32 vi; -BOOLEAN Stopped = 0; -U32 TrigEndCount = 0; - - -void DO_END_CALLBACK() -{ - if(!Stopped){ - DO_AsyncClear(card, &AccessCnt); - printf("\nDO Done...\n"); - Stopped = 1; - } - else{ - printf("\nDO Done...\n"); - Stopped = 0; - } -} - -void DO_RETRIGGER_CALLBACK() -{ - TrigEndCount++; - printf("\nDO Trigger End with next trigger: %d\n", TrigEndCount); -} - - -int main(int argc, char **argv) -{ - - for(vi=0; vi -# Microsoft Developer Studio Generated Build File, Format Version 6.00 -# ** DO NOT EDIT ** - -# TARGTYPE "Win32 (x86) Console Application" 0x0103 - -CFG=do - Win32 Debug -!MESSAGE This is not a valid makefile. To build this project using NMAKE, -!MESSAGE use the Export Makefile command and run -!MESSAGE -!MESSAGE NMAKE /f "do.mak". -!MESSAGE -!MESSAGE You can specify a configuration when running NMAKE -!MESSAGE by defining the macro CFG on the command line. For example: -!MESSAGE -!MESSAGE NMAKE /f "do.mak" CFG="do - Win32 Debug" -!MESSAGE -!MESSAGE Possible choices for configuration are: -!MESSAGE -!MESSAGE "do - Win32 Release" (based on "Win32 (x86) Console Application") -!MESSAGE "do - Win32 Debug" (based on "Win32 (x86) Console Application") -!MESSAGE - -# Begin Project -# PROP AllowPerConfigDependencies 0 -# PROP Scc_ProjName "" -# PROP Scc_LocalPath "" -CPP=cl.exe -RSC=rc.exe - -!IF "$(CFG)" == "do - Win32 Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "Release" -# PROP BASE Intermediate_Dir "Release" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "" -# PROP Intermediate_Dir "Release" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c -# ADD CPP /nologo /W3 /GX /O2 /I "../../../include" /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c -# ADD BASE RSC /l 0x404 /d "NDEBUG" -# ADD RSC /l 0x404 /d "NDEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ../../../lib/pci-dask.lib /nologo /subsystem:console /machine:I386 - -!ELSEIF "$(CFG)" == "do - Win32 Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "Debug" -# PROP BASE Intermediate_Dir "Debug" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "Debug" -# PROP Intermediate_Dir "Debug" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /GZ /c -# ADD CPP /nologo /W3 /Gm /GX /ZI /Od /I "../../../include" /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /GZ /c -# ADD BASE RSC /l 0x404 /d "_DEBUG" -# ADD RSC /l 0x404 /d "_DEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ../../../lib/pci-dask.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept - -!ENDIF - -# Begin Target - -# Name "do - Win32 Release" -# Name "do - Win32 Debug" -# Begin Group "Source Files" - -# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;idl;hpj;bat" -# Begin Source File - -SOURCE=.\do.c -# End Source File -# End Group -# Begin Group "Header Files" - -# PROP Default_Filter "h;hpp;hxx;hm;inl" -# End Group -# Begin Group "Resource Files" - -# PROP Default_Filter "ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe" -# End Group -# End Target -# End Project diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9223/C9223_DO_DMA_ReTrigEvent/do.dsw b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9223/C9223_DO_DMA_ReTrigEvent/do.dsw deleted file mode 100644 index 3e43da3..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9223/C9223_DO_DMA_ReTrigEvent/do.dsw +++ /dev/null @@ -1,29 +0,0 @@ -Microsoft Developer Studio Workspace File, Format Version 6.00 -# WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE! - -############################################################################### - -Project: "do"=.\do.dsp - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ -}}} - -############################################################################### - -Global: - -Package=<5> -{{{ -}}} - -Package=<3> -{{{ -}}} - -############################################################################### - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9223/C9223_DO_DMA_ReTrigEvent/do.exe b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9223/C9223_DO_DMA_ReTrigEvent/do.exe deleted file mode 100644 index ebdbf45..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9223/C9223_DO_DMA_ReTrigEvent/do.exe and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9223/C9223_Encoder/encoder.c b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9223/C9223_Encoder/encoder.c deleted file mode 100644 index ae6640c..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9223/C9223_Encoder/encoder.c +++ /dev/null @@ -1,86 +0,0 @@ -/*----------------------------------------------------------------------------*/ -/* Company : ADLINK */ -/* Date : 2008/08/19 */ -/* */ -/* This sample performs X4 AB phase encode. */ -/*----------------------------------------------------------------------------*/ -#include -#include -#include -#include -#include "dask.h" - - -int main(int argc, char **argv) -{ - I16 card, err; - U16 card_num; - U16 GCtr; - U16 Mode = x4_AB_Phase_Encoder; - U16 SrcCtrl = 0; //Not used in encoder - U16 PolCtrl = 0; //Not used in encoder - U32 LReg1_Val = 0; //Not used in encoder - U32 LReg2_Val = 0; //Not used in encoder - U32 RD_Value; - int i = 0; - - printf("This sample performs x4 AB phase mode.\n"); - printf("Card Number? "); - scanf(" %hd", &card_num); - - card = Register_Card(PCI_9223, card_num); - if(card<0){ - printf("Register_Card Error: %d\n", card); - exit(1); - } - - printf("Encoder Number? "); - scanf(" %hd", &GCtr); - GCtr = (GCtr==1)? P922x_ENCODER1:P922x_ENCODER0; - - /*Clear Encoder*/ - err = GPTC_Clear(card, GCtr); - if(err<0){ - printf("GPTC_Clear Error: %d\n", err); - goto ERR_RET; - } - - /*Setup Encoder*/ - err = GPTC_Setup(card, GCtr, Mode, SrcCtrl, PolCtrl, LReg1_Val, LReg2_Val); - if(err<0){ - printf("GPTC_Setup Error: %d\n", err); - goto ERR_RET; - } - - /*Enable Encoder*/ - printf("Press any key to enable counter..."); - getch(); - err = GPTC_Control(card, GCtr, IntENABLE, 1); - if(err<0){ - printf("GPTC_Control(IntENABLE) Error: %d\n", err); - goto ERR_RET; - } - - printf("\n\nYou can press any key to stop...\n"); - do{ - /*Read Encoder*/ - err = GPTC_Read(card, GCtr, &RD_Value); - if(err<0){ - printf("GPTC_Read Error: %d\n", err); - goto ERR_RET2; - } - printf("Encoder%d Value: %11d\r", GCtr-4, RD_Value); - Sleep(100); - }while(!kbhit());getch(); - printf("Encoder%d Value: %11d\n", GCtr-4, RD_Value); - -ERR_RET2: - GPTC_Control(card, GCtr, IntENABLE, 0); -ERR_RET: - GPTC_Clear(card, GCtr); - Release_Card(card); - - printf("\n\nPress any key to exit..."); - getch(); - return 0; -} diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9223/C9223_Encoder/encoder.dsp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9223/C9223_Encoder/encoder.dsp deleted file mode 100644 index 2571d54..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9223/C9223_Encoder/encoder.dsp +++ /dev/null @@ -1,102 +0,0 @@ -# Microsoft Developer Studio Project File - Name="encoder" - Package Owner=<4> -# Microsoft Developer Studio Generated Build File, Format Version 6.00 -# ** DO NOT EDIT ** - -# TARGTYPE "Win32 (x86) Console Application" 0x0103 - -CFG=encoder - Win32 Debug -!MESSAGE This is not a valid makefile. To build this project using NMAKE, -!MESSAGE use the Export Makefile command and run -!MESSAGE -!MESSAGE NMAKE /f "encoder.mak". -!MESSAGE -!MESSAGE You can specify a configuration when running NMAKE -!MESSAGE by defining the macro CFG on the command line. For example: -!MESSAGE -!MESSAGE NMAKE /f "encoder.mak" CFG="encoder - Win32 Debug" -!MESSAGE -!MESSAGE Possible choices for configuration are: -!MESSAGE -!MESSAGE "encoder - Win32 Release" (based on "Win32 (x86) Console Application") -!MESSAGE "encoder - Win32 Debug" (based on "Win32 (x86) Console Application") -!MESSAGE - -# Begin Project -# PROP AllowPerConfigDependencies 0 -# PROP Scc_ProjName "" -# PROP Scc_LocalPath "" -CPP=cl.exe -RSC=rc.exe - -!IF "$(CFG)" == "encoder - Win32 Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "Release" -# PROP BASE Intermediate_Dir "Release" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "" -# PROP Intermediate_Dir "Release" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c -# ADD CPP /nologo /W3 /GX /O2 /I "../../../include" /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c -# ADD BASE RSC /l 0x404 /d "NDEBUG" -# ADD RSC /l 0x404 /d "NDEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ../../../lib/pci-dask.lib /nologo /subsystem:console /machine:I386 - -!ELSEIF "$(CFG)" == "encoder - Win32 Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "Debug" -# PROP BASE Intermediate_Dir "Debug" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "Debug" -# PROP Intermediate_Dir "Debug" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /GZ /c -# ADD CPP /nologo /W3 /Gm /GX /ZI /Od /I "../../../include" /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /GZ /c -# ADD BASE RSC /l 0x404 /d "_DEBUG" -# ADD RSC /l 0x404 /d "_DEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ../../../lib/pci-dask.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept - -!ENDIF - -# Begin Target - -# Name "encoder - Win32 Release" -# Name "encoder - Win32 Debug" -# Begin Group "Source Files" - -# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;idl;hpj;bat" -# Begin Source File - -SOURCE=.\encoder.c -# End Source File -# End Group -# Begin Group "Header Files" - -# PROP Default_Filter "h;hpp;hxx;hm;inl" -# End Group -# Begin Group "Resource Files" - -# PROP Default_Filter "ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe" -# End Group -# End Target -# End Project diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9223/C9223_Encoder/encoder.dsw b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9223/C9223_Encoder/encoder.dsw deleted file mode 100644 index e378a87..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9223/C9223_Encoder/encoder.dsw +++ /dev/null @@ -1,29 +0,0 @@ -Microsoft Developer Studio Workspace File, Format Version 6.00 -# WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE! - -############################################################################### - -Project: "encoder"=.\encoder.dsp - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ -}}} - -############################################################################### - -Global: - -Package=<5> -{{{ -}}} - -Package=<3> -{{{ -}}} - -############################################################################### - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9223/C9223_Encoder/encoder.exe b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9223/C9223_Encoder/encoder.exe deleted file mode 100644 index fefba18..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9223/C9223_Encoder/encoder.exe and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9223/C9223_Encoder_Event/encoder.c b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9223/C9223_Encoder_Event/encoder.c deleted file mode 100644 index cf6080f..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9223/C9223_Encoder_Event/encoder.c +++ /dev/null @@ -1,137 +0,0 @@ -/*----------------------------------------------------------------------------*/ -/* Company : ADLINK */ -/* Date : 2008/08/19 */ -/* */ -/* This sample performs X4 AB phase encode with position event. */ -/* GPTC_EventSetup() can be used to setup encoder position configuration. */ -/* PCI-922x will generate a pulse output to GPO4/GPO5 (Encoder0/Encoder1) */ -/* or generate an interrupt local interrupt to do the callback Function */ -/* set by GPTC_EventCallBack() while multiples of the set encode position */ -/* reachs. */ -/*----------------------------------------------------------------------------*/ -#include -#include -#include -#include -#include "dask.h" - -U32 EPT0_Count = 0; -U32 EPT1_Count = 0; - - -/*Call Back Function of Encoder0 Encode Position*/ -void EPT0_CallBack() -{ - EPT0_Count++; -} - -/*Call Back Function of Encoder1 Encode Position*/ -void EPT1_CallBack() -{ - EPT1_Count++; -} - - -int main(int argc, char **argv) -{ - I16 card, err; - U16 card_num; - U16 GCtr; - U16 Mode = x4_AB_Phase_Encoder; - U16 SrcCtrl = 0; //Not used in encoder - U16 PolCtrl = 0; //Not used in encoder - U32 LReg1_Val = 0; //Not used in encoder - U32 LReg2_Val = 0; //Not used in encoder - U16 EventMode = P922x_EVT_MOD_EPT; - U16 EventCtrl = P922x_EPT_PULWIDTH_200ms|P922x_EPT_TRGOUT_GPO|P922x_EPT_TRGOUT_CALLBACK; - U32 LVal_1 = 100; //Position steps - U32 LVal_2 = 0; //Not used - I16 EventType; - U32 callbackAddr; - U32 RD_Value; - int i = 0; - - printf("This sample performs x4 AB phase mode with position event.\n"); - printf("A pulse will be generated to GPO4/GPO5 (Encoder0/Encoder1)\n"); - printf("and the set callback function will be performed while multiples\n"); - printf("of the set position reachs.\n"); - - printf("Card Number? "); - scanf(" %hd", &card_num); - card = Register_Card(PCI_9223, card_num); - if(card<0){ - printf("Register_Card Error: %d\n", card); - exit(1); - } - - printf("Encoder Number? "); - scanf(" %hd", &GCtr); - GCtr = (GCtr==1)? P922x_ENCODER1:P922x_ENCODER0; - - /*Clear Encoder*/ - err = GPTC_Clear(card, GCtr); - if(err<0){ - printf("GPTC_Clear Error: %d\n", err); - goto ERR_RET; - } - - /*Setup Encoder*/ - err = GPTC_Setup(card, GCtr, Mode, SrcCtrl, PolCtrl, LReg1_Val, LReg2_Val); - if(err<0){ - printf("GPTC_Setup Error: %d\n", err); - goto ERR_RET; - } - - /*Encoder Event Setup*/ - err = GPTC_EventSetup(card, GCtr, EventMode, EventCtrl, LVal_1, LVal_2); - if(err<0){ - printf("GPTC_EventSetup Error: %d\n", err); - goto ERR_RET; - } - - EventType = (GCtr==P922x_ENCODER1)? P922x_EVT_TYPE_EPT1:P922x_EVT_TYPE_EPT0; - callbackAddr = (U32)((GCtr==P922x_ENCODER1)? EPT1_CallBack:EPT0_CallBack); - /*Setup EventCallBack for Encoder Position*/ - err = GPTC_EventCallBack(card, 1, EventType, callbackAddr); - if(err<0){ - printf("GPTC_EventCallBack Error: %d\n", err); - goto ERR_RET; - } - - /*Enable Encoder*/ - printf("Press any key to enable counter..."); - getch(); - err = GPTC_Control(card, GCtr, IntENABLE, 1); - if(err<0){ - printf("GPTC_Control(IntENABLE) Error: %d\n", err); - goto ERR_RET; - } - - printf("\n\nYou can press any key to stop...\n"); - do{ - /*Read Encoder*/ - err = GPTC_Read(card, GCtr, &RD_Value); - if(err<0){ - printf("GPTC_Read Error: %d\n", err); - goto ERR_RET; - } - printf("Encoder%d Value: %11d\r", GCtr-4, RD_Value); - Sleep(100); - }while(!kbhit());getch(); - printf("Encoder%d Value: %11d\n", GCtr-4, RD_Value); - - if(GCtr==P922x_ENCODER0) - printf("Total EPT0 Event Count: %d\n", EPT0_Count); - else - printf("Total EPT1 Event Count: %d\n", EPT1_Count); - -ERR_RET: - EventType = (GCtr==P922x_ENCODER1)? P922x_EVT_TYPE_EPT1:P922x_EVT_TYPE_EPT0; - GPTC_EventCallBack(card, 0, EventType, (U32)NULL); - GPTC_Clear(card, GCtr); - Release_Card(card); - - printf("\n\nPress any key to exit..."); - getch(); - return 0; -} diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9223/C9223_Encoder_Event/encoder.dsp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9223/C9223_Encoder_Event/encoder.dsp deleted file mode 100644 index 2571d54..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9223/C9223_Encoder_Event/encoder.dsp +++ /dev/null @@ -1,102 +0,0 @@ -# Microsoft Developer Studio Project File - Name="encoder" - Package Owner=<4> -# Microsoft Developer Studio Generated Build File, Format Version 6.00 -# ** DO NOT EDIT ** - -# TARGTYPE "Win32 (x86) Console Application" 0x0103 - -CFG=encoder - Win32 Debug -!MESSAGE This is not a valid makefile. To build this project using NMAKE, -!MESSAGE use the Export Makefile command and run -!MESSAGE -!MESSAGE NMAKE /f "encoder.mak". -!MESSAGE -!MESSAGE You can specify a configuration when running NMAKE -!MESSAGE by defining the macro CFG on the command line. For example: -!MESSAGE -!MESSAGE NMAKE /f "encoder.mak" CFG="encoder - Win32 Debug" -!MESSAGE -!MESSAGE Possible choices for configuration are: -!MESSAGE -!MESSAGE "encoder - Win32 Release" (based on "Win32 (x86) Console Application") -!MESSAGE "encoder - Win32 Debug" (based on "Win32 (x86) Console Application") -!MESSAGE - -# Begin Project -# PROP AllowPerConfigDependencies 0 -# PROP Scc_ProjName "" -# PROP Scc_LocalPath "" -CPP=cl.exe -RSC=rc.exe - -!IF "$(CFG)" == "encoder - Win32 Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "Release" -# PROP BASE Intermediate_Dir "Release" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "" -# PROP Intermediate_Dir "Release" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c -# ADD CPP /nologo /W3 /GX /O2 /I "../../../include" /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c -# ADD BASE RSC /l 0x404 /d "NDEBUG" -# ADD RSC /l 0x404 /d "NDEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ../../../lib/pci-dask.lib /nologo /subsystem:console /machine:I386 - -!ELSEIF "$(CFG)" == "encoder - Win32 Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "Debug" -# PROP BASE Intermediate_Dir "Debug" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "Debug" -# PROP Intermediate_Dir "Debug" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /GZ /c -# ADD CPP /nologo /W3 /Gm /GX /ZI /Od /I "../../../include" /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /GZ /c -# ADD BASE RSC /l 0x404 /d "_DEBUG" -# ADD RSC /l 0x404 /d "_DEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ../../../lib/pci-dask.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept - -!ENDIF - -# Begin Target - -# Name "encoder - Win32 Release" -# Name "encoder - Win32 Debug" -# Begin Group "Source Files" - -# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;idl;hpj;bat" -# Begin Source File - -SOURCE=.\encoder.c -# End Source File -# End Group -# Begin Group "Header Files" - -# PROP Default_Filter "h;hpp;hxx;hm;inl" -# End Group -# Begin Group "Resource Files" - -# PROP Default_Filter "ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe" -# End Group -# End Target -# End Project diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9223/C9223_Encoder_Event/encoder.dsw b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9223/C9223_Encoder_Event/encoder.dsw deleted file mode 100644 index e378a87..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9223/C9223_Encoder_Event/encoder.dsw +++ /dev/null @@ -1,29 +0,0 @@ -Microsoft Developer Studio Workspace File, Format Version 6.00 -# WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE! - -############################################################################### - -Project: "encoder"=.\encoder.dsp - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ -}}} - -############################################################################### - -Global: - -Package=<5> -{{{ -}}} - -Package=<3> -{{{ -}}} - -############################################################################### - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9223/C9223_Encoder_Event/encoder.exe b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9223/C9223_Encoder_Event/encoder.exe deleted file mode 100644 index bddd1f2..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9223/C9223_Encoder_Event/encoder.exe and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9223/C9223_GPTC/gptc.c b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9223/C9223_GPTC/gptc.c deleted file mode 100644 index 632d319..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9223/C9223_GPTC/gptc.c +++ /dev/null @@ -1,334 +0,0 @@ -/*----------------------------------------------------------------------------*/ -/* Company : ADLINK */ -/* Date : 2008/08/11 */ -/* */ -/* This sample performs GPTC operations. */ -/*----------------------------------------------------------------------------*/ -#include -#include -#include -#include -#include "dask.h" - -#define TIMEBASE 80000000 - - -int main(int argc, char **argv) -{ - I16 card, err; - U16 card_num; - U16 GCtr; - U16 Mode; - U16 SrcCtrl = 0; - U16 PolCtrl = 0; - U32 LReg1_Val = 0; - U32 LReg2_Val = 0; - U32 GPTC_Val; - U16 STAT; - int i = 0; - U16 MajorSelMode; - U16 MinorSelMode; - - printf("This sample performs GPTC operations.\n"); - - printf("Card Number? "); - scanf(" %hd", &card_num); - card = Register_Card(PCI_9223, card_num); - if(card<0){ - printf("Register_Card Error: %d\n", card); - exit(1); - } - - printf("GPTC Number? [0~3] "); - scanf(" %hd", &GCtr); - if(GCtr>3){ - printf("Invalid counter number, set to GPTC 0...\n"); - printf("Press any key to continue...\n"); - getch(); - GCtr = 0; - } - - /*Clear GPTC*/ - err = GPTC_Clear(card, GCtr); - if(err<0){ - printf("GPTC_Clear Error: %d\n", err); - goto ERR_RET; - } - - system("cls"); - printf(" \n"); - printf(" (0) Simple Gated Event Count Mode.\n"); - printf(" (1) Pulse Measurement Mode.\n"); - printf(" (2) Single Pulse Generation Mode.\n"); - printf(" (3) Pulse Train Generation Mode.\n\n"); - printf(" Which GPTC mode to be performed? [0~3] "); - scanf(" %hd", &MajorSelMode); - if(MajorSelMode>3){ - printf(" Invalid Mode. set to Simple Gated Event Count Mode.\n"); - printf(" Press any key to continue...\n"); - getch(); - MajorSelMode = 0; - } - - system("cls"); - switch(MajorSelMode) - { - case 0: - Mode = SimpleGatedEventCNT; - SrcCtrl = GPTC_GATE_SRC_Ext; - LReg1_Val = 1000; //Initial value - - /*Setup GPTC*/ - err = GPTC_Setup(card, GCtr, Mode, SrcCtrl, PolCtrl, LReg1_Val, LReg2_Val); - if(err<0){ - printf("GPTC_Setup Error: %d\n", err); - goto ERR_RET; - } - - /*Internal Control UpDown Source - 0: DownCount; 1: UpCount*/ - err = GPTC_Control(card, GCtr, IntUpDnCTR, 0); - if(err<0){ - printf("GPTC_Control(IntUpDnCTR) Error: %d\n", err); - goto ERR_RET; - } - - /*Enable Counter*/ - err = GPTC_Control(card, GCtr, IntENABLE, 1); - if(err<0){ - printf("GPTC_Control(IntENABLE) Error: %d\n", err); - goto ERR_RET; - } - - printf(" GPTC will count down from %d while GPTC/GATED pin is high...\n", LReg1_Val); - printf(" You can press any key to stop it...\n\n"); - do{ - err = GPTC_Read(card, GCtr, &GPTC_Val); - printf(" GPTC Count: %5d\r", GPTC_Val); - Sleep(10); - }while(!kbhit());getch(); - - break; - case 1: - printf(" \n"); - printf(" (0) Pulse Period Measurement.\n"); - printf(" - Measure pulse period of a pulse from GPTC/GTAED pin.\n\n"); - printf(" (1) Pulse Width Measurement.\n"); - printf(" - Measure pulse width of a pulse from GPTC/GTAED pin.\n\n"); - printf(" (2) Pulse Edge Separation Measurement.\n"); - printf(" - Measure edge separation between pulses from GPTC/GTAED and GPTC/AUX pin.\n\n"); - printf(" Which pulse measurement mode to be performed? [0~2] "); - scanf(" %hd", &MinorSelMode); - if(MinorSelMode>2){ - printf(" Invalid Mode. set to Pulse Period Measurement.\n"); - printf(" Press any key to continue...\n"); - getch(); - MinorSelMode = 0; - } - if(MinorSelMode==0) - Mode = SinglePeriodMSR; - else if(MinorSelMode==1) - Mode = SinglePulseWidthMSR; - else - Mode = EdgeSeparationMSR; - SrcCtrl = GPTC_GATE_SRC_Ext; //Set External gate for measuring a pulse from GATED pin - - /*Setup GPTC*/ - err = GPTC_Setup(card, GCtr, Mode, SrcCtrl, PolCtrl, LReg1_Val, LReg2_Val); - if(err<0){ - printf("GPTC_Setup Error: %d\n", err); - goto ERR_RET; - } - - /*Internal Control UpDown Source*/ - //Set Counter count up - err = GPTC_Control(card, GCtr, IntUpDnCTR, 1); - if(err<0){ - printf("GPTC_Control(IntUpDnCTR) Error: %d\n", err); - goto ERR_RET; - } - - /*Enable Counter*/ - err = GPTC_Control(card, GCtr, IntENABLE, 1); - if(err<0){ - printf("GPTC_Control(IntENABLE) Error: %d\n", err); - goto ERR_RET; - } - - /*wait GPTC done status*/ - system("cls"); - printf(" Pulse measuring... You can press any key to stop it..."); - do{ - GPTC_Status(card, GCtr, &STAT); - }while((!((STAT>>1)&0x01))&&(!kbhit())); - - if((STAT>>1)&0x01){ - /*Read GPTC value*/ - GPTC_Read(card, GCtr, &GPTC_Val); - printf("\n\n GPTC%d Value: %x\n", GCtr, GPTC_Val); - - if(MinorSelMode==0) - printf(" Pulse Period: %lf sec.\n", (F32)GPTC_Val/TIMEBASE); - else if(MinorSelMode==1) - printf(" Pulse Width: %lf sec.\n", (F32)GPTC_Val/TIMEBASE); - else - printf(" Pulse Edge Separation: %lf sec.\n", (F32)GPTC_Val/TIMEBASE); - } - else{ - getch(); - printf("\n\n Pulse measurement is stopped manually...\n"); - } - break; - case 2: - printf(" \n"); - printf(" (0) Single Gated Pulse Generation.\n"); - printf(" - Generate pulse to GPTC out pin while GATED pin is high.\n\n"); - printf(" (1) Single Pulse Generation with trigger.\n"); - printf(" - Generate pulse to GPTC out pin if trigger is comming from GATED pin.\n\n"); - printf(" (2) Single Pulse Generation with Re-trigger.\n"); - printf(" - Generate pulse to GPTC out pin if a trigger is comming from GATED pin.\n\n"); - printf(" Which pulse generation mode to be performed? [0~2] "); - scanf(" %hd", &MinorSelMode); - if(MinorSelMode>2){ - printf(" Invalid Mode. set to Single Pulse Generation.\n"); - printf(" Press any key to continue...\n"); - getch(); - MinorSelMode = 0; - } - if(MinorSelMode==0){ - Mode = SingleGatedPulseGen; - SrcCtrl = GPTC_GATE_SRC_Ext; - } - else if(MinorSelMode==1){ - Mode = SingleTrigPulseGen; - SrcCtrl = GPTC_GATE_SRC_Ext; - } - else{ - Mode = RetrigSinglePulseGen; - SrcCtrl = GPTC_GATE_SRC_Ext; - } - LReg1_Val = 40000000; - - /*Setup GPTC*/ - err = GPTC_Setup(card, GCtr, Mode, SrcCtrl, PolCtrl, LReg1_Val, LReg2_Val); - if(err<0){ - printf("GPTC_Setup Error: %d\n", err); - goto ERR_RET; - } - - /*Enable Counter*/ - system("cls"); - printf(" Press any key to enable counter..."); - getch(); - err = GPTC_Control(card, GCtr, IntENABLE, 1); - if(err<0){ - printf("GPTC_Control(IntENABLE) Error: %d\n", err); - goto ERR_RET; - } - - if(MinorSelMode==0){ - printf("\n\n A %f sec. period pulse will be generated while GATED is high...\n", (F32)(LReg1_Val+LReg1_Val)/TIMEBASE); - } - else if(MinorSelMode==1){ - printf("\n\n Wait trigger to generate a %f sec. period pulse...\n", (F32)(LReg1_Val+LReg1_Val)/TIMEBASE); - } - else{ - printf("\n\n Wait retrigger to generate a %f sec. period pulse...\n", (F32)(LReg1_Val+LReg1_Val)/TIMEBASE); - } - printf(" Press any key to stop..."); - getch(); - break; - case 3: - printf(" \n"); - printf(" (0) Continuous Pulse Train Generation with Gated.\n"); - printf(" - Generate pulse train to GPTC/OUT pin while GATED\n"); - printf(" pin is high.\n\n"); - printf(" (1) Continuous Pulse Train Generation with trigger.\n"); - printf(" - Generate pulse train to GPTC/OUT pin if trigger is comming\n"); - printf(" from GPTC/GATED pin.\n\n"); - printf(" (2) Continuous PWM Pulse Train Generation.\n"); - printf(" - Generate PWM pulse train to GPTC/OUT pin while GATED\n"); - printf(" pin is high.\n\n"); - printf(" (3) Continuous PWM Pulse Train Generation with trigger.\n"); - printf(" - Generate PWM pulse train to GPTC/OUT pin if trigger is comming\n"); - printf(" from GPTC/GATED pin.\n\n"); - printf(" Which pulse generation mode to be performed? [0~3] "); - scanf(" %hd", &MinorSelMode); - if(MinorSelMode>3){ - printf(" Invalid Mode. set to Continuous Pulse Train Generation.\n"); - printf(" Press any key to continue...\n"); - getch(); - MinorSelMode = 0; - } - if(MinorSelMode==0){ - Mode = ContGatedPulseGen; - SrcCtrl = GPTC_GATE_SRC_Ext; - LReg1_Val = 40000000; - } - else if(MinorSelMode==1){ - Mode = SingleTrigContPulseGen; - SrcCtrl = GPTC_GATE_SRC_Ext; - LReg1_Val = 40000000; - } - else if(MinorSelMode==2){ - Mode = ContGatedPulseGenPWM; - SrcCtrl = GPTC_GATE_SRC_Ext; - LReg1_Val = 20000000; - LReg2_Val = 60000000; - } - else{ - Mode = SingleTrigContPulseGenPWM; - SrcCtrl = GPTC_GATE_SRC_Ext; - LReg1_Val = 20000000; - LReg2_Val = 60000000; - } - - /*Setup GPTC*/ - err = GPTC_Setup(card, GCtr, Mode, SrcCtrl, PolCtrl, LReg1_Val, LReg2_Val); - if(err<0){ - printf("GPTC_Setup Error: %d\n", err); - goto ERR_RET; - } - - /*Enable Counter*/ - system("cls"); - printf(" Press any key to enable counter..."); - getch(); - err = GPTC_Control(card, GCtr, IntENABLE, 1); - if(err<0){ - printf("GPTC_Control(IntENABLE) Error: %d\n", err); - goto ERR_RET; - } - - if(MinorSelMode==0){ - F32 OutRate = (F32)TIMEBASE/(LReg1_Val+LReg1_Val); - printf("\n\n Out rate: %f Hz, pulse train will be generated while GATED pin is high...\n", OutRate); - } - else if(MinorSelMode==1){ - F32 OutRate = (F32)TIMEBASE/(LReg1_Val+LReg1_Val); - printf("\n\n Wait trigger to generate, out rate: %f Hz, pulse train...\n", OutRate); - } - else if(MinorSelMode==2){ - F32 Duty = (F32)LReg2_Val/(LReg1_Val+LReg2_Val); - F32 OutRate = (F32)TIMEBASE/(LReg1_Val+LReg2_Val); - printf("\n\n Out rate: %f Hz, duty cycle: %4.2f %%, pulse train will be generated while GATED pin is high...\n", OutRate, Duty); - } - else{ - F32 Duty = (F32)LReg2_Val/(LReg1_Val+LReg2_Val); - F32 OutRate = (F32)TIMEBASE/(LReg1_Val+LReg2_Val); - printf("\n\n Wait trigger to generate, out rate: %f Hz, duty cycle: %4.2f %%, pulse train...\n", OutRate, Duty); - } - printf("\n\n Press any key to stop..."); - getch(); - break; - } - - /*Disable Counter*/ - GPTC_Control(card, GCtr, IntENABLE, 0); -ERR_RET: - GPTC_Clear(card, GCtr); - Release_Card(card); - - printf("\n\n Press any key to exit...\n"); - getch(); - return 0; -} diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9223/C9223_GPTC/gptc.dsp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9223/C9223_GPTC/gptc.dsp deleted file mode 100644 index d8677a1..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9223/C9223_GPTC/gptc.dsp +++ /dev/null @@ -1,102 +0,0 @@ -# Microsoft Developer Studio Project File - Name="gptc" - Package Owner=<4> -# Microsoft Developer Studio Generated Build File, Format Version 6.00 -# ** DO NOT EDIT ** - -# TARGTYPE "Win32 (x86) Console Application" 0x0103 - -CFG=gptc - Win32 Debug -!MESSAGE This is not a valid makefile. To build this project using NMAKE, -!MESSAGE use the Export Makefile command and run -!MESSAGE -!MESSAGE NMAKE /f "gptc.mak". -!MESSAGE -!MESSAGE You can specify a configuration when running NMAKE -!MESSAGE by defining the macro CFG on the command line. For example: -!MESSAGE -!MESSAGE NMAKE /f "gptc.mak" CFG="gptc - Win32 Debug" -!MESSAGE -!MESSAGE Possible choices for configuration are: -!MESSAGE -!MESSAGE "gptc - Win32 Release" (based on "Win32 (x86) Console Application") -!MESSAGE "gptc - Win32 Debug" (based on "Win32 (x86) Console Application") -!MESSAGE - -# Begin Project -# PROP AllowPerConfigDependencies 0 -# PROP Scc_ProjName "" -# PROP Scc_LocalPath "" -CPP=cl.exe -RSC=rc.exe - -!IF "$(CFG)" == "gptc - Win32 Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "Release" -# PROP BASE Intermediate_Dir "Release" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "" -# PROP Intermediate_Dir "Release" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c -# ADD CPP /nologo /W3 /GX /O2 /I "../../../include" /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c -# ADD BASE RSC /l 0x404 /d "NDEBUG" -# ADD RSC /l 0x404 /d "NDEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ../../../lib/pci-dask.lib /nologo /subsystem:console /machine:I386 - -!ELSEIF "$(CFG)" == "gptc - Win32 Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "Debug" -# PROP BASE Intermediate_Dir "Debug" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "Debug" -# PROP Intermediate_Dir "Debug" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /GZ /c -# ADD CPP /nologo /W3 /Gm /GX /ZI /Od /I "../../../include" /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /GZ /c -# ADD BASE RSC /l 0x404 /d "_DEBUG" -# ADD RSC /l 0x404 /d "_DEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ../../../lib/pci-dask.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept - -!ENDIF - -# Begin Target - -# Name "gptc - Win32 Release" -# Name "gptc - Win32 Debug" -# Begin Group "Source Files" - -# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;idl;hpj;bat" -# Begin Source File - -SOURCE=.\gptc.c -# End Source File -# End Group -# Begin Group "Header Files" - -# PROP Default_Filter "h;hpp;hxx;hm;inl" -# End Group -# Begin Group "Resource Files" - -# PROP Default_Filter "ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe" -# End Group -# End Target -# End Project diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9223/C9223_GPTC/gptc.dsw b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9223/C9223_GPTC/gptc.dsw deleted file mode 100644 index 2c7eb36..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9223/C9223_GPTC/gptc.dsw +++ /dev/null @@ -1,29 +0,0 @@ -Microsoft Developer Studio Workspace File, Format Version 6.00 -# WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE! - -############################################################################### - -Project: "gptc"=.\gptc.dsp - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ -}}} - -############################################################################### - -Global: - -Package=<5> -{{{ -}}} - -Package=<3> -{{{ -}}} - -############################################################################### - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9223/C9223_GPTC/gptc.exe b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9223/C9223_GPTC/gptc.exe deleted file mode 100644 index 063ab33..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9223/C9223_GPTC/gptc.exe and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/922A/C922A_AI_DBF/ai.c b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/922A/C922A_AI_DBF/ai.c deleted file mode 100644 index bf58632..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/922A/C922A_AI_DBF/ai.c +++ /dev/null @@ -1,164 +0,0 @@ -/*----------------------------------------------------------------------------*/ -/* Company : ADLINK */ -/* Date : 2009/02/05 */ -/* */ -/* This sample performs infinite AI acquisition by double buffer mode. */ -/* There are 32(Single Ended Mode)/16(Differetial Mode) AI channels in */ -/* PCI-922A. You can use polling mode or DMA to acquired data from specified */ -/* channels. */ -/*----------------------------------------------------------------------------*/ -#include -#include -#include -#include -#include -#include "dask.h" - -#define AI_COUNT 4000 -#define P922X_TIMEBASE 80000000.0 - -int main(int argc, char **argv) -{ - I16 card, err; - U16 card_num; - U16 ConfigCtrl = P922x_AI_SingEnded|P922x_AI_CONVSRC_INT; /*922A Only Supports Internal Conversion Source*/ - U16 TrigCtrl = P922x_AI_TRGMOD_POST|P922x_AI_TRGSRC_SOFT; /*922A Only Supports Post Trigger Mode and Software Trigger Source*/ - U32 ReTriggerCount = 0; /*922A dose not support Retrigger Mode*/ - BOOLEAN AutoResetBuf = 1; /*Auto Reset Buffer Descriptor in Driver*/ - U32 ScanIntrv = 20000; /*Scan Rate: P922X_TIMEBASE/20000 = 4K Hz; 922A Maximal Scan Rate = 250K Hz*/ - U32 SampIntrv = 20000; /*Sampling Rate: P922X_TIMEBASE/20000 = 4K Hz; 922A Maximal Sample Rate = 250K Hz*/ - U16 RDBuffer0[AI_COUNT]; /*Buffer to be stored read data*/ - U16 RDBuffer1[AI_COUNT]; /*Buffer to be stored read data*/ - U32 AI_ReadCount = AI_COUNT; /*Buffer to be stored converted data*/ - U16 BufferId0; - U16 BufferId1; - U16 Channel = 0; /*AI Channel Number to be read*/ - U16 AdRange = AD_B_10_V; /*AI range; 922A supports +-10V and +-5V AD Range*/ - BOOLEAN Stopped = FALSE; - BOOLEAN HalfReady = FALSE; - U32 AccessCnt = 0; - U16 BufIdx = 0; - U16 OverrunFlag; - U8 FileName[] = "ai_data"; - /*--------------------------------*/ - - memset(RDBuffer0, '\0', AI_COUNT*sizeof(U16)); - memset(RDBuffer1, '\0', AI_COUNT*sizeof(U16)); - - printf("This sample performs infinite AI acquisition from AI Channel %d\n", Channel); - printf("at %6.3lf Hz sampling rate by Double buffer mode.\n\n", P922X_TIMEBASE/SampIntrv); - - /*Open and Initialize Device*/ - printf("Card Number? "); - scanf(" %hd", &card_num); - card = Register_Card(PCI_922A, card_num); - if(card<0){ - printf("Register_Card Error: %d\n", card); - exit(1); - } - - /*Configure AI*/ - err = AI_922A_Config(card, ConfigCtrl, TrigCtrl, ReTriggerCount, AutoResetBuf); - if(err<0){ - printf("AI_922A_Config Error: %d\n", err); - Release_Card(card); - exit(1); - } - - /*Set Scan and Sampling Rate*/ - err = AI_922A_CounterInterval(card, ScanIntrv, SampIntrv); - if(err<0){ - printf("AI_922A_CounterInterval Error: %d\n", err); - Release_Card(card); - exit(1); - } - - /*Enable Double Buffer Mode*/ - err = AI_AsyncDblBufferMode(card, 1); - if(err<0){ - printf("AI_AsyncDblBufferMode Error: %d\n", err); - Release_Card(card); - exit(1); - } - - /*Setup Buffer for AI DMA Transfer*/ - err = AI_ContBufferSetup(card, RDBuffer0, AI_ReadCount, &BufferId0); - if(err<0){ - printf("AI_ContBufferSetup0 Error: %d\n", err); - Release_Card(card); - exit(1); - } - err = AI_ContBufferSetup(card, RDBuffer1, AI_ReadCount, &BufferId1); - if(err<0){ - printf("AI_ContBufferSetup1 Error: %d\n", err); - Release_Card(card); - exit(1); - } - - /*AI Acquisition Start*/ - err = AI_ContReadChannelToFile(card, Channel, AdRange, FileName, AI_ReadCount, 0/*Ignore*/, ASYNCH_OP); - if(err<0){ - printf("AI_ContReadChannel Error: %d\n", err); - AI_ContBufferReset(card); - Release_Card(card); - exit(1); - } - do{ - /*Check Buffer Ready*/ - err = AI_AsyncDblBufferHalfReady(card, &HalfReady, &Stopped); - if(err<0){ - printf("AI_AsyncDblBufferHalfReady Error: %d\n", err); - AI_AsyncClear(card, &AccessCnt); - AI_ContBufferReset(card); - Release_Card(card); - exit(1); - } - if(HalfReady){ - if(BufIdx==0){ - printf("\nBuffer0 Half Ready...\n"); - printf("Write %d samples of Buffer0 to %s.dat file...\n", AI_ReadCount, FileName); - printf(" Press any key to stop...\n"); - AI_AsyncDblBufferToFile(card); - BufIdx = 1; - } - else{ - printf("\nBuffer1 Half Ready...\n"); - printf("Write %d samples of Buffer1 to %s.dat file...\n", AI_ReadCount, FileName); - printf(" Press any key to stop...\n"); - AI_AsyncDblBufferToFile(card); - BufIdx = 0; - } - //Let driver know that ready buffer is handled - AI_AsyncDblBufferHandled(card); - //Check if buffer overrun - AI_AsyncDblBufferOverrun(card, 0, &OverrunFlag); - if(OverrunFlag){ - printf("Buffer overrun...\n"); - AI_AsyncDblBufferOverrun(card, 1, NULL); - } - } - }while(!kbhit());getch(); - - /*Clear AI Setting and Get Remaining data*/ - err = AI_AsyncClear(card, &AccessCnt); - if(err<0){ - printf("AI_AsyncClear Error: %d\n", err); - AI_AsyncClear(card, &AccessCnt); - AI_ContBufferReset(card); - Release_Card(card); - exit(1); - } - if(BufIdx==0){ - printf("\nLast %d samples of Buffer0 had been written to %s.dat file...\n", AccessCnt, FileName); - } - else{ - printf("\nLast %d samples of Buffer1 had been written to %s.dat file...\n", AccessCnt, FileName); - } - - if(!AutoResetBuf) - AI_ContBufferReset(card); - Release_Card(card); - printf(" Press any key to exit...\n"); - getch(); - return 0; -} diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/922A/C922A_AI_DBF/ai.dsp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/922A/C922A_AI_DBF/ai.dsp deleted file mode 100644 index c26103a..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/922A/C922A_AI_DBF/ai.dsp +++ /dev/null @@ -1,102 +0,0 @@ -# Microsoft Developer Studio Project File - Name="ai" - Package Owner=<4> -# Microsoft Developer Studio Generated Build File, Format Version 6.00 -# ** DO NOT EDIT ** - -# TARGTYPE "Win32 (x86) Console Application" 0x0103 - -CFG=ai - Win32 Debug -!MESSAGE This is not a valid makefile. To build this project using NMAKE, -!MESSAGE use the Export Makefile command and run -!MESSAGE -!MESSAGE NMAKE /f "ai.mak". -!MESSAGE -!MESSAGE You can specify a configuration when running NMAKE -!MESSAGE by defining the macro CFG on the command line. For example: -!MESSAGE -!MESSAGE NMAKE /f "ai.mak" CFG="ai - Win32 Debug" -!MESSAGE -!MESSAGE Possible choices for configuration are: -!MESSAGE -!MESSAGE "ai - Win32 Release" (based on "Win32 (x86) Console Application") -!MESSAGE "ai - Win32 Debug" (based on "Win32 (x86) Console Application") -!MESSAGE - -# Begin Project -# PROP AllowPerConfigDependencies 0 -# PROP Scc_ProjName "" -# PROP Scc_LocalPath "" -CPP=cl.exe -RSC=rc.exe - -!IF "$(CFG)" == "ai - Win32 Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "Release" -# PROP BASE Intermediate_Dir "Release" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "" -# PROP Intermediate_Dir "Release" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c -# ADD CPP /nologo /W3 /GX /O2 /I "../../../include" /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c -# ADD BASE RSC /l 0x404 /d "NDEBUG" -# ADD RSC /l 0x404 /d "NDEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ../../../lib/pci-dask.lib /nologo /subsystem:console /machine:I386 - -!ELSEIF "$(CFG)" == "ai - Win32 Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "Debug" -# PROP BASE Intermediate_Dir "Debug" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "Debug" -# PROP Intermediate_Dir "Debug" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /GZ /c -# ADD CPP /nologo /W3 /Gm /GX /ZI /Od /I "../../../include" /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /GZ /c -# ADD BASE RSC /l 0x404 /d "_DEBUG" -# ADD RSC /l 0x404 /d "_DEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ../../../lib/pci-dask.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept - -!ENDIF - -# Begin Target - -# Name "ai - Win32 Release" -# Name "ai - Win32 Debug" -# Begin Group "Source Files" - -# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;idl;hpj;bat" -# Begin Source File - -SOURCE=.\ai.c -# End Source File -# End Group -# Begin Group "Header Files" - -# PROP Default_Filter "h;hpp;hxx;hm;inl" -# End Group -# Begin Group "Resource Files" - -# PROP Default_Filter "ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe" -# End Group -# End Target -# End Project diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/922A/C922A_AI_DBF/ai.dsw b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/922A/C922A_AI_DBF/ai.dsw deleted file mode 100644 index 2e548b2..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/922A/C922A_AI_DBF/ai.dsw +++ /dev/null @@ -1,29 +0,0 @@ -Microsoft Developer Studio Workspace File, Format Version 6.00 -# WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE! - -############################################################################### - -Project: "ai"=.\ai.dsp - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ -}}} - -############################################################################### - -Global: - -Package=<5> -{{{ -}}} - -Package=<3> -{{{ -}}} - -############################################################################### - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/922A/C922A_AI_DBF/ai.exe b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/922A/C922A_AI_DBF/ai.exe deleted file mode 100644 index 1511407..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/922A/C922A_AI_DBF/ai.exe and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/922A/C922A_AI_DBF_Event/ai.c b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/922A/C922A_AI_DBF_Event/ai.c deleted file mode 100644 index f76712d..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/922A/C922A_AI_DBF_Event/ai.c +++ /dev/null @@ -1,196 +0,0 @@ -/*----------------------------------------------------------------------------*/ -/* Company : ADLINK */ -/* Date : 2009/02/05 */ -/* */ -/* This sample performs infinite AI acquisition by double buffer mode. */ -/* There are 32(Single Ended Mode)/16(Differetial Mode) AI channels in */ -/* PCI-922A. You can use polling mode or DMA to acquired data from specified */ -/* channels. */ -/*----------------------------------------------------------------------------*/ -#include -#include -#include -#include -#include -#include "dask.h" - -#define AI_COUNT 4000 -#define P922X_TIMEBASE 80000000.0 - -I16 card; -U16 card_num; -U16 ConfigCtrl = P922x_AI_SingEnded|P922x_AI_CONVSRC_INT; /*922A Only Supports Internal Conversion Source*/ -U16 TrigCtrl = P922x_AI_TRGMOD_POST|P922x_AI_TRGSRC_SOFT; /*922A Only Supports Post Trigger Mode and Software Trigger Source*/ -U32 ReTriggerCount = 0; /*922A dose not support Retrigger Mode*/ -BOOLEAN AutoResetBuf = 1; /*Auto Reset Buffer Descriptor in Driver*/ -U32 ScanIntrv = 20000; /*Scan Rate: P922X_TIMEBASE/20000 = 4K Hz; 922A Maximal Scan Rate = 250K Hz*/ -U32 SampIntrv = 20000; /*Sampling Rate: P922X_TIMEBASE/20000 = 4K Hz; 922A Maximal Sample Rate = 250K Hz*/ -U16 RDBuffer0[AI_COUNT]; /*Buffer to be stored read data*/ -U16 RDBuffer1[AI_COUNT]; /*Buffer to be stored read data*/ -U32 AI_ReadCount = AI_COUNT; /*Buffer to be stored converted data*/ -U16 BufferId0; -U16 BufferId1; -U16 Channel = 0; /*AI Channel Number to be read*/ -U16 AdRange = AD_B_10_V; /*AI range; 922A supports +-10V and +-5V AD Range*/ -U32 AccessCnt; -BOOLEAN StopFlag = FALSE; -U16 ViewIdx = 0; -U16 overrunFlag; -U8 filename[] = "ai_data"; -U32 HalfRdyCnt = 0; - - -/*------------------------------------*/ -/* AI End Call Back Function */ -/*------------------------------------*/ -void AI_END_CALLBACK() -{ - printf("\n\nAcquisition End...\n"); - printf("Total Acquire %d Data from Channel %d and Write them to %s.dat...\n", - HalfRdyCnt*AI_ReadCount+AccessCnt, Channel, filename - ); - StopFlag = 1; -} - - -void AI_DBEVENT_CALLBACK() -{ - I16 err; - if(ViewIdx==0){ - printf("\n\nBuffer%d Half Ready...\n", ViewIdx); - printf(" press any key to exit..."); - err = AI_AsyncDblBufferToFile(card); - if(err<0) - printf("AI_AsyncDblBufferToFile Error: %d\n", err); - err = AI_AsyncDblBufferHandled(card); - if(err<0) - printf("AI_AsyncDblBufferToFile Error: %d\n", err); - } - else{ - printf("\n\nBuffer%d Half Ready...\n", ViewIdx); - printf(" press any key to exit..."); - err = AI_AsyncDblBufferToFile(card); - if(err<0) - printf("AI_AsyncDblBufferToFile Error: %d\n", err); - err = AI_AsyncDblBufferHandled(card); - if(err<0) - printf("AI_AsyncDblBufferToFile Error: %d\n", err); - } - - err = AI_AsyncDblBufferOverrun(card, 0, &overrunFlag); - if(err<0){ - printf("AI_AsyncDblBufferOverrun Error: %d\n", err); - } - if(overrunFlag){ - printf("\nOVERRUN: %d\n", overrunFlag); - err = AI_AsyncDblBufferOverrun(card, 1, NULL); - if(err<0){ - printf("AI_AsyncDblBufferOverrun Error: %d\n", err); - } - } - ViewIdx = ViewIdx? 0:1; - HalfRdyCnt++; -} - - -int main(int argc, char **argv) -{ - I16 err; - - memset(RDBuffer0, '\0', AI_COUNT*sizeof(U16)); - memset(RDBuffer1, '\0', AI_COUNT*sizeof(U16)); - - printf("This sample infinitely acquires analog voltage from AI Channel %d \n", Channel); - printf("at %6.3lf Hz sampling rate with DMA Double Buffer mode.\n", P922X_TIMEBASE/SampIntrv); - - /*Open and Initialize Device*/ - printf("Card Number? "); - scanf(" %hd", &card_num); - card = Register_Card(PCI_922A, card_num); - if(card<0){ - printf("Register_Card Error: %d\n", card); - exit(1); - } - - /*Configure AI*/ - err = AI_922A_Config(card, ConfigCtrl, TrigCtrl, ReTriggerCount, AutoResetBuf); - if(err<0){ - printf("AI_922A_Config Error: %d\n", err); - Release_Card(card); - exit(1); - } - - /*Set Scan and Sampling Rate*/ - err = AI_922A_CounterInterval(card, ScanIntrv, SampIntrv); - if(err<0){ - printf("AI_922A_CounterInterval Error: %d\n", err); - Release_Card(card); - exit(1); - } - - /*Enable Double Buffer Mode*/ - err = AI_AsyncDblBufferMode(card, 1); - if(err<0){ - printf("AI_AsyncDblBufferMode Error: %d\n", err); - Release_Card(card); - exit(1); - } - - /*Setup Buffer for AI DMA Transfer*/ - err = AI_ContBufferSetup(card, RDBuffer0, AI_ReadCount, &BufferId0); - if(err<0){ - printf("AI_ContBufferSetup0 Error: %d\n", err); - Release_Card(card); - exit(1); - } - err = AI_ContBufferSetup(card, RDBuffer1, AI_ReadCount, &BufferId1); - if(err<0){ - printf("AI_ContBufferSetup1 Error: %d\n", err); - Release_Card(card); - exit(1); - } - - /*Enable AI Double Buffer Half Ready Event*/ - err = AI_EventCallBack(card, 1, DBEvent, (U32)AI_DBEVENT_CALLBACK); - if(err<0){ - printf("AI_EventCallBack Error: %d\n", err); - AI_ContBufferReset(card); - Release_Card(card); - exit(1); - } - /*Enable AI END Event*/ - err = AI_EventCallBack(card, 1, AIEnd, (U32)AI_END_CALLBACK); - if(err<0){ - printf("AI_EventCallBack2 Error: %d\n", err); - AI_EventCallBack(card, 0, DBEvent, (U32)NULL); - AI_ContBufferReset(card); - Release_Card(card); - exit(1); - } - - /*AI Acquisition Start*/ - err = AI_ContReadChannelToFile(card, Channel, AdRange, filename, AI_ReadCount, 0/*Ignore*/, ASYNCH_OP); - if(err<0){ - printf("AI_ContReadChannel Error: %d\n", err); - AI_ContBufferReset(card); - Release_Card(card); - exit(1); - } - printf("AI Acquisition is started... Wait AI DBEvent...\n"); - printf("You can press any key to stop it..."); - getch(); - AI_AsyncClear(card, &AccessCnt); - do{ - Sleep(1); - }while(!StopFlag); - - AI_EventCallBack(card, 0, DBEvent, (U32)NULL); - AI_EventCallBack(card, 0, AIEnd, (U32)NULL); - - if(!AutoResetBuf) - AI_ContBufferReset(card); - Release_Card(card); - printf("press any key to exit...\n"); - getch(); - return 0; -} diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/922A/C922A_AI_DBF_Event/ai.dsp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/922A/C922A_AI_DBF_Event/ai.dsp deleted file mode 100644 index c26103a..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/922A/C922A_AI_DBF_Event/ai.dsp +++ /dev/null @@ -1,102 +0,0 @@ -# Microsoft Developer Studio Project File - Name="ai" - Package Owner=<4> -# Microsoft Developer Studio Generated Build File, Format Version 6.00 -# ** DO NOT EDIT ** - -# TARGTYPE "Win32 (x86) Console Application" 0x0103 - -CFG=ai - Win32 Debug -!MESSAGE This is not a valid makefile. To build this project using NMAKE, -!MESSAGE use the Export Makefile command and run -!MESSAGE -!MESSAGE NMAKE /f "ai.mak". -!MESSAGE -!MESSAGE You can specify a configuration when running NMAKE -!MESSAGE by defining the macro CFG on the command line. For example: -!MESSAGE -!MESSAGE NMAKE /f "ai.mak" CFG="ai - Win32 Debug" -!MESSAGE -!MESSAGE Possible choices for configuration are: -!MESSAGE -!MESSAGE "ai - Win32 Release" (based on "Win32 (x86) Console Application") -!MESSAGE "ai - Win32 Debug" (based on "Win32 (x86) Console Application") -!MESSAGE - -# Begin Project -# PROP AllowPerConfigDependencies 0 -# PROP Scc_ProjName "" -# PROP Scc_LocalPath "" -CPP=cl.exe -RSC=rc.exe - -!IF "$(CFG)" == "ai - Win32 Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "Release" -# PROP BASE Intermediate_Dir "Release" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "" -# PROP Intermediate_Dir "Release" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c -# ADD CPP /nologo /W3 /GX /O2 /I "../../../include" /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c -# ADD BASE RSC /l 0x404 /d "NDEBUG" -# ADD RSC /l 0x404 /d "NDEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ../../../lib/pci-dask.lib /nologo /subsystem:console /machine:I386 - -!ELSEIF "$(CFG)" == "ai - Win32 Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "Debug" -# PROP BASE Intermediate_Dir "Debug" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "Debug" -# PROP Intermediate_Dir "Debug" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /GZ /c -# ADD CPP /nologo /W3 /Gm /GX /ZI /Od /I "../../../include" /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /GZ /c -# ADD BASE RSC /l 0x404 /d "_DEBUG" -# ADD RSC /l 0x404 /d "_DEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ../../../lib/pci-dask.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept - -!ENDIF - -# Begin Target - -# Name "ai - Win32 Release" -# Name "ai - Win32 Debug" -# Begin Group "Source Files" - -# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;idl;hpj;bat" -# Begin Source File - -SOURCE=.\ai.c -# End Source File -# End Group -# Begin Group "Header Files" - -# PROP Default_Filter "h;hpp;hxx;hm;inl" -# End Group -# Begin Group "Resource Files" - -# PROP Default_Filter "ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe" -# End Group -# End Target -# End Project diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/922A/C922A_AI_DBF_Event/ai.dsw b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/922A/C922A_AI_DBF_Event/ai.dsw deleted file mode 100644 index 2e548b2..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/922A/C922A_AI_DBF_Event/ai.dsw +++ /dev/null @@ -1,29 +0,0 @@ -Microsoft Developer Studio Workspace File, Format Version 6.00 -# WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE! - -############################################################################### - -Project: "ai"=.\ai.dsp - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ -}}} - -############################################################################### - -Global: - -Package=<5> -{{{ -}}} - -Package=<3> -{{{ -}}} - -############################################################################### - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/922A/C922A_AI_DBF_Event/ai.exe b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/922A/C922A_AI_DBF_Event/ai.exe deleted file mode 100644 index 80a7d91..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/922A/C922A_AI_DBF_Event/ai.exe and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/922A/C922A_AI_DBF_Overrun/ai.c b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/922A/C922A_AI_DBF_Overrun/ai.c deleted file mode 100644 index adb9483..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/922A/C922A_AI_DBF_Overrun/ai.c +++ /dev/null @@ -1,159 +0,0 @@ -/*----------------------------------------------------------------------------*/ -/* Company : ADLINK */ -/* Date : 2009/02/05 */ -/* */ -/* This sample performs infinite AI acquisition by double buffer mode. */ -/* There are 32(Single Ended Mode)/16(Differetial Mode) AI channels in */ -/* PCI-922A. You can use polling mode or DMA to acquired data from specified */ -/* channels. */ -/*----------------------------------------------------------------------------*/ -#include -#include -#include -#include -#include -#include "dask.h" - -#define AI_COUNT 4000 -#define P922X_TIMEBASE 80000000.0 - -int main(int argc, char **argv) -{ - I16 card, err; - U16 card_num; - U16 ConfigCtrl = P922x_AI_SingEnded|P922x_AI_CONVSRC_INT; /*922A Only Supports Internal Conversion Source*/ - U16 TrigCtrl = P922x_AI_TRGMOD_POST|P922x_AI_TRGSRC_SOFT; /*922A Only Supports Post Trigger Mode and Software Trigger Source*/ - U32 ReTriggerCount = 0; /*922A dose not support Retrigger Mode*/ - BOOLEAN AutoResetBuf = 1; /*Auto Reset Buffer Descriptor in Driver*/ - U32 ScanIntrv = 320; /*Scan Rate: P922X_TIMEBASE/320 = 250K Hz; 922A Maximal Scan Rate = 250K Hz*/ - U32 SampIntrv = 320; /*Sampling Rate: P922X_TIMEBASE/320 = 250K Hz; 922A Maximal Sample Rate = 250K Hz*/ - U16 RDBuffer0[AI_COUNT]; /*Buffer to be stored read data*/ - U16 RDBuffer1[AI_COUNT]; /*Buffer to be stored read data*/ - U32 AI_ReadCount = AI_COUNT; /*Buffer to be stored converted data*/ - U16 BufferId0; - U16 BufferId1; - U16 Channel = 0; /*AI Channel Number to be read*/ - U16 AdRange = AD_B_10_V; /*AI range; 922A supports +-10V and +-5V AD Range*/ - BOOLEAN Stopped = FALSE; - BOOLEAN HalfReady = FALSE; - U32 AccessCnt = 0; - U32 BufRdyCnt = 0; - U32 OverrunCnt = 0; - U16 BufIdx = 0; - U16 OverrunFlag; - /*--------------------------------*/ - - memset(RDBuffer0, '\0', AI_COUNT*sizeof(U16)); - memset(RDBuffer1, '\0', AI_COUNT*sizeof(U16)); - - printf("This sample performs infinite AI acquisition from AI Channel %d\n", Channel); - printf("at %6.3lf Hz sampling rate by Double buffer mode.\n\n", P922X_TIMEBASE/SampIntrv); - - /*Open and Initialize Device*/ - printf("Card Number? "); - scanf(" %hd", &card_num); - card = Register_Card(PCI_922A, card_num); - if(card<0){ - printf("Register_Card Error: %d\n", card); - exit(1); - } - - /*Configure AI*/ - err = AI_922A_Config(card, ConfigCtrl, TrigCtrl, ReTriggerCount, AutoResetBuf); - if(err<0){ - printf("AI_922A_Config Error: %d\n", err); - Release_Card(card); - exit(1); - } - - /*Set Scan and Sampling Rate*/ - err = AI_922A_CounterInterval(card, ScanIntrv, SampIntrv); - if(err<0){ - printf("AI_922A_CounterInterval Error: %d\n", err); - Release_Card(card); - exit(1); - } - - /*Enable Double Buffer Mode*/ - err = AI_AsyncDblBufferMode(card, 1); - if(err<0){ - printf("AI_AsyncDblBufferMode Error: %d\n", err); - Release_Card(card); - exit(1); - } - - /*Setup Buffer for AI DMA Transfer*/ - err = AI_ContBufferSetup(card, RDBuffer0, AI_ReadCount, &BufferId0); - if(err<0){ - printf("AI_ContBufferSetup0 Error: %d\n", err); - Release_Card(card); - exit(1); - } - err = AI_ContBufferSetup(card, RDBuffer1, AI_ReadCount, &BufferId1); - if(err<0){ - printf("AI_ContBufferSetup1 Error: %d\n", err); - Release_Card(card); - exit(1); - } - - /*AI Acquisition Start*/ - err = AI_ContReadChannel(card, Channel, AdRange, &BufferId0, AI_ReadCount, 0/*Ignore*/, ASYNCH_OP); - if(err<0){ - printf("AI_ContReadChannel Error: %d\n", err); - AI_ContBufferReset(card); - Release_Card(card); - exit(1); - } - printf("\n\nAI Infinite Acquisition is started...\n"); - printf("Press any key to stop...\n\n\n\n"); - do{ - /*Check Buffer Ready*/ - err = AI_AsyncDblBufferHalfReady(card, &HalfReady, &Stopped); - if(err<0){ - printf("AI_AsyncDblBufferHalfReady Error: %d\n", err); - AI_AsyncClear(card, &AccessCnt); - AI_ContBufferReset(card); - Release_Card(card); - exit(1); - } - if(HalfReady){ - BufRdyCnt++; - if(BufIdx==0){ - //Buffer 0 Half Ready - //You can do something for Ready Buffer - BufIdx = 1; - } - else{ - //Buffer 1 Half Ready - //You can do something for Ready Buffer - BufIdx = 0; - } - //Let driver know that ready buffer is handled - AI_AsyncDblBufferHandled(card); - //Check if buffer overrun - AI_AsyncDblBufferOverrun(card, 0, &OverrunFlag); - if(OverrunFlag){ - OverrunCnt++; - AI_AsyncDblBufferOverrun(card, 1, NULL); - } - printf("Buffer Ready Count: %d, Overrun: %d\r", BufRdyCnt, OverrunCnt); - } - }while(!kbhit());getch(); - - /*Clear AI Setting and Get Remaining data*/ - err = AI_AsyncClear(card, &AccessCnt); - if(err<0){ - printf("AI_AsyncClear Error: %d\n", err); - AI_AsyncClear(card, &AccessCnt); - AI_ContBufferReset(card); - Release_Card(card); - exit(1); - } - - if(!AutoResetBuf) - AI_ContBufferReset(card); - Release_Card(card); - printf("\n\nPress any key to exit...\n"); - getch(); - return 0; -} diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/922A/C922A_AI_DBF_Overrun/ai.dsp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/922A/C922A_AI_DBF_Overrun/ai.dsp deleted file mode 100644 index c26103a..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/922A/C922A_AI_DBF_Overrun/ai.dsp +++ /dev/null @@ -1,102 +0,0 @@ -# Microsoft Developer Studio Project File - Name="ai" - Package Owner=<4> -# Microsoft Developer Studio Generated Build File, Format Version 6.00 -# ** DO NOT EDIT ** - -# TARGTYPE "Win32 (x86) Console Application" 0x0103 - -CFG=ai - Win32 Debug -!MESSAGE This is not a valid makefile. To build this project using NMAKE, -!MESSAGE use the Export Makefile command and run -!MESSAGE -!MESSAGE NMAKE /f "ai.mak". -!MESSAGE -!MESSAGE You can specify a configuration when running NMAKE -!MESSAGE by defining the macro CFG on the command line. For example: -!MESSAGE -!MESSAGE NMAKE /f "ai.mak" CFG="ai - Win32 Debug" -!MESSAGE -!MESSAGE Possible choices for configuration are: -!MESSAGE -!MESSAGE "ai - Win32 Release" (based on "Win32 (x86) Console Application") -!MESSAGE "ai - Win32 Debug" (based on "Win32 (x86) Console Application") -!MESSAGE - -# Begin Project -# PROP AllowPerConfigDependencies 0 -# PROP Scc_ProjName "" -# PROP Scc_LocalPath "" -CPP=cl.exe -RSC=rc.exe - -!IF "$(CFG)" == "ai - Win32 Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "Release" -# PROP BASE Intermediate_Dir "Release" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "" -# PROP Intermediate_Dir "Release" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c -# ADD CPP /nologo /W3 /GX /O2 /I "../../../include" /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c -# ADD BASE RSC /l 0x404 /d "NDEBUG" -# ADD RSC /l 0x404 /d "NDEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ../../../lib/pci-dask.lib /nologo /subsystem:console /machine:I386 - -!ELSEIF "$(CFG)" == "ai - Win32 Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "Debug" -# PROP BASE Intermediate_Dir "Debug" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "Debug" -# PROP Intermediate_Dir "Debug" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /GZ /c -# ADD CPP /nologo /W3 /Gm /GX /ZI /Od /I "../../../include" /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /GZ /c -# ADD BASE RSC /l 0x404 /d "_DEBUG" -# ADD RSC /l 0x404 /d "_DEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ../../../lib/pci-dask.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept - -!ENDIF - -# Begin Target - -# Name "ai - Win32 Release" -# Name "ai - Win32 Debug" -# Begin Group "Source Files" - -# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;idl;hpj;bat" -# Begin Source File - -SOURCE=.\ai.c -# End Source File -# End Group -# Begin Group "Header Files" - -# PROP Default_Filter "h;hpp;hxx;hm;inl" -# End Group -# Begin Group "Resource Files" - -# PROP Default_Filter "ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe" -# End Group -# End Target -# End Project diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/922A/C922A_AI_DBF_Overrun/ai.dsw b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/922A/C922A_AI_DBF_Overrun/ai.dsw deleted file mode 100644 index 2e548b2..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/922A/C922A_AI_DBF_Overrun/ai.dsw +++ /dev/null @@ -1,29 +0,0 @@ -Microsoft Developer Studio Workspace File, Format Version 6.00 -# WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE! - -############################################################################### - -Project: "ai"=.\ai.dsp - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ -}}} - -############################################################################### - -Global: - -Package=<5> -{{{ -}}} - -Package=<3> -{{{ -}}} - -############################################################################### - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/922A/C922A_AI_DBF_Overrun/ai.exe b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/922A/C922A_AI_DBF_Overrun/ai.exe deleted file mode 100644 index 729576e..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/922A/C922A_AI_DBF_Overrun/ai.exe and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/922A/C922A_AI_DMA/ai.c b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/922A/C922A_AI_DMA/ai.c deleted file mode 100644 index 1705591..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/922A/C922A_AI_DMA/ai.c +++ /dev/null @@ -1,142 +0,0 @@ -/*----------------------------------------------------------------------------*/ -/* Company : ADLINK */ -/* Date : 2009/02/05 */ -/* */ -/* This sample performs continuous AI acquisition. */ -/* There are 32(Single Ended Mode)/16(Differetial Mode) AI channels in */ -/* PCI-922A. You can use polling mode or DMA to acquired data from specified */ -/* channels. */ -/*----------------------------------------------------------------------------*/ -#include -#include -#include -#include -#include "dask.h" - -#define AI_COUNT 4000 -#define P922X_TIMEBASE 80000000.0 - -int main(int argc, char **argv) -{ - I16 card, err; - U16 card_num; - U16 ConfigCtrl = P922x_AI_SingEnded|P922x_AI_CONVSRC_INT; /*922A Only Supports Internal Conversion Source*/ - U16 TrigCtrl = P922x_AI_TRGMOD_POST|P922x_AI_TRGSRC_SOFT; /*922A Only Supports Post Trigger Mode and Software Trigger Source*/ - U32 ReTriggerCount = 0; /*922A dose not support Retrigger Mode*/ - BOOLEAN AutoResetBuf = 1; /*Auto Reset Buffer Descriptor in Driver*/ - U32 ScanIntrv = 320; /*Scan Rate: P922X_TIMEBASE/320 = 250K Hz; 922A Maximal Scan Rate = 250K Hz*/ - U32 SampIntrv = 320; /*Sampling Rate: P922X_TIMEBASE/320 = 250K Hz; 922A Maximal Sample Rate = 250K Hz*/ - U16 RDBuffer[AI_COUNT]; /*Buffer to be stored read data*/ - U16 BufferId; - F64 VBuffer[AI_COUNT]; /*Buffer to be stored converted data*/ - U32 AI_ReadCount = AI_COUNT; /*AI Read Count*/ - U16 Channel = 0; /*AI Channel Number to be read*/ - U16 AdRange = AD_B_10_V; /*AI range; 922A supports +-10V and +-5V AD Range*/ - BOOLEAN Stopped; - U32 AccessCnt; - FILE *w_file; - U8 FileName[] = "ai_data.txt"; - U32 i; - /*--------------------------------*/ - - memset(RDBuffer, '\0', AI_COUNT*sizeof(U16)); - memset(VBuffer, '\0', AI_COUNT*sizeof(F64)); - - printf("This sample performs continuous AI acquisition from AI Channel %d\n", Channel); - printf("at %6.3lf Hz sampling rate.\n\n", P922X_TIMEBASE/SampIntrv); - - /*Open and Initialize Device*/ - printf("Card Number? "); - scanf(" %hd", &card_num); - card = Register_Card(PCI_922A, card_num); - if(card<0){ - printf("Register_Card Error: %d\n", card); - exit(1); - } - - /*Configure AI*/ - err = AI_922A_Config(card, ConfigCtrl, TrigCtrl, ReTriggerCount, AutoResetBuf); - if(err<0){ - printf("AI_922A_Config Error: %d\n", err); - Release_Card(card); - exit(1); - } - - /*Set Scan and Sampling Rate*/ - err = AI_922A_CounterInterval(card, ScanIntrv, SampIntrv); - if(err<0){ - printf("AI_922A_CounterInterval Error: %d\n", err); - Release_Card(card); - exit(1); - } - - /*Disable Double Buffer Mode*/ - err = AI_AsyncDblBufferMode(card, 0); - if(err<0){ - printf("AI_AsyncDblBufferMode Error: %d\n", err); - Release_Card(card); - exit(1); - } - - /*Setup Buffer for AI DMA Transfer*/ - err = AI_ContBufferSetup(card, RDBuffer, AI_ReadCount, &BufferId); - if(err<0){ - printf("AI_ContBufferSetup Error: %d\n", err); - Release_Card(card); - exit(1); - } - - /*AI Acquisition Start*/ - err = AI_ContReadChannel(card, Channel, AdRange, &BufferId, AI_ReadCount, 0/*Ignore*/, ASYNCH_OP); - if(err<0){ - printf("AI_ContReadChannel Error: %d\n", err); - AI_ContBufferReset(card); - Release_Card(card); - exit(1); - } - do{ - /*Check whether AI Acquisition is done*/ - err = AI_AsyncCheck(card, &Stopped, &AccessCnt); - if(err<0){ - printf("AI_AsyncCheck Error: %d\n", err); - AI_AsyncClear(card, &AccessCnt); - AI_ContBufferReset(card); - Release_Card(card); - exit(1); - } - }while((!kbhit())&&(!Stopped)); - - /*Clear AI Setting and Get Remaining data*/ - err = AI_AsyncClear(card, &AccessCnt); - if(err<0){ - printf("AI_AsyncClear Error: %d\n", err); - AI_AsyncClear(card, &AccessCnt); - AI_ContBufferReset(card); - Release_Card(card); - exit(1); - } - - if(!(w_file=fopen(FileName, "w"))){ - printf("file open error...\n"); - } - else{ - fprintf(w_file, "Channel %d,\n", Channel); - if(Stopped) - printf("\n\nAI Acquisition Done... Acquired %d samples...\n", AccessCnt); - else - printf("\nAI Acquisition has been stopped manually... Acquired %d samples...\n", AccessCnt); - printf("Write %d samples of Buffer to %s file...\n", AccessCnt, FileName); - AI_ContVScale(card, AdRange, RDBuffer, VBuffer, AccessCnt); - for(i=0; i -# Microsoft Developer Studio Generated Build File, Format Version 6.00 -# ** DO NOT EDIT ** - -# TARGTYPE "Win32 (x86) Console Application" 0x0103 - -CFG=ai - Win32 Debug -!MESSAGE This is not a valid makefile. To build this project using NMAKE, -!MESSAGE use the Export Makefile command and run -!MESSAGE -!MESSAGE NMAKE /f "ai.mak". -!MESSAGE -!MESSAGE You can specify a configuration when running NMAKE -!MESSAGE by defining the macro CFG on the command line. For example: -!MESSAGE -!MESSAGE NMAKE /f "ai.mak" CFG="ai - Win32 Debug" -!MESSAGE -!MESSAGE Possible choices for configuration are: -!MESSAGE -!MESSAGE "ai - Win32 Release" (based on "Win32 (x86) Console Application") -!MESSAGE "ai - Win32 Debug" (based on "Win32 (x86) Console Application") -!MESSAGE - -# Begin Project -# PROP AllowPerConfigDependencies 0 -# PROP Scc_ProjName "" -# PROP Scc_LocalPath "" -CPP=cl.exe -RSC=rc.exe - -!IF "$(CFG)" == "ai - Win32 Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "Release" -# PROP BASE Intermediate_Dir "Release" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "" -# PROP Intermediate_Dir "Release" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c -# ADD CPP /nologo /W3 /GX /O2 /I "../../../include" /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c -# ADD BASE RSC /l 0x404 /d "NDEBUG" -# ADD RSC /l 0x404 /d "NDEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ../../../lib/pci-dask.lib /nologo /subsystem:console /machine:I386 - -!ELSEIF "$(CFG)" == "ai - Win32 Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "Debug" -# PROP BASE Intermediate_Dir "Debug" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "Debug" -# PROP Intermediate_Dir "Debug" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /GZ /c -# ADD CPP /nologo /W3 /Gm /GX /ZI /Od /I "../../../include" /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /GZ /c -# ADD BASE RSC /l 0x404 /d "_DEBUG" -# ADD RSC /l 0x404 /d "_DEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ../../../lib/pci-dask.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept - -!ENDIF - -# Begin Target - -# Name "ai - Win32 Release" -# Name "ai - Win32 Debug" -# Begin Group "Source Files" - -# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;idl;hpj;bat" -# Begin Source File - -SOURCE=.\ai.c -# End Source File -# End Group -# Begin Group "Header Files" - -# PROP Default_Filter "h;hpp;hxx;hm;inl" -# End Group -# Begin Group "Resource Files" - -# PROP Default_Filter "ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe" -# End Group -# End Target -# End Project diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/922A/C922A_AI_DMA/ai.dsw b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/922A/C922A_AI_DMA/ai.dsw deleted file mode 100644 index 2e548b2..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/922A/C922A_AI_DMA/ai.dsw +++ /dev/null @@ -1,29 +0,0 @@ -Microsoft Developer Studio Workspace File, Format Version 6.00 -# WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE! - -############################################################################### - -Project: "ai"=.\ai.dsp - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ -}}} - -############################################################################### - -Global: - -Package=<5> -{{{ -}}} - -Package=<3> -{{{ -}}} - -############################################################################### - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/922A/C922A_AI_DMA/ai.exe b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/922A/C922A_AI_DMA/ai.exe deleted file mode 100644 index 4c00164..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/922A/C922A_AI_DMA/ai.exe and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/922A/C922A_AI_DMA_Event/ai.c b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/922A/C922A_AI_DMA_Event/ai.c deleted file mode 100644 index 98f965a..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/922A/C922A_AI_DMA_Event/ai.c +++ /dev/null @@ -1,147 +0,0 @@ -/*----------------------------------------------------------------------------*/ -/* Company : ADLINK */ -/* Date : 2009/02/05 */ -/* */ -/* This sample performs continuous AI acquisition. */ -/* There are 32(Single Ended Mode)/16(Differetial Mode) AI channels in */ -/* PCI-922A. You can use polling mode or DMA to acquired data from specified */ -/* channels. */ -/*----------------------------------------------------------------------------*/ -#include -#include -#include -#include -#include "dask.h" - -#define AI_COUNT 4000 -#define P922X_TIMEBASE 80000000.0 - -I16 card; -U16 card_num; -U16 ConfigCtrl = P922x_AI_SingEnded|P922x_AI_CONVSRC_INT; /*922A Only Supports Internal Conversion Source*/ -U16 TrigCtrl = P922x_AI_TRGMOD_POST|P922x_AI_TRGSRC_SOFT; /*922A Only Supports Post Trigger Mode and Software Trigger Source*/ -U32 ReTriggerCount = 0; /*922A dose not support Retrigger Mode*/ -BOOLEAN AutoResetBuf = 1; /*Auto Reset Buffer Descriptor in Driver*/ -U32 ScanIntrv = 320; /*Scan Rate: P922X_TIMEBASE/320 = 250K Hz; 922A Maximal Scan Rate = 250K Hz*/ -U32 SampIntrv = 320; /*Sampling Rate: P922X_TIMEBASE/320 = 250K Hz; 922A Maximal Sample Rate = 250K Hz*/ -U16 RDBuffer[AI_COUNT]; /*Buffer to be stored read data*/ -U16 BufferId; -F64 VBuffer[AI_COUNT]; /*Buffer to be stored converted data*/ -U32 AI_ReadCount = AI_COUNT; /*AI Read Count*/ -U16 Channel = 0; /*AI Channel Number to be read*/ -U16 AdRange = AD_B_10_V; /*AI range; 922A supports +-10V and +-5V AD Range*/ -BOOLEAN fStop = FALSE; -U32 AccessCnt; -FILE *w_file; -U8 FileName[] = "ai_data.txt"; -U32 i; - - -void AI_END_CALLBACK() -{ - printf("\n\n\nAcquisition Done...\n"); - AI_AsyncClear(card, &AccessCnt); - printf("Acquire %d data and write them to %s...\n", AccessCnt, FileName); - - if(!(w_file=fopen(FileName, "w"))){ - printf("file open error...\n"); - } - else{ - fprintf(w_file, "Channel %d,\n", Channel); - AI_ContVScale(card, AdRange, RDBuffer, VBuffer, AccessCnt); - for(i=0; i -# Microsoft Developer Studio Generated Build File, Format Version 6.00 -# ** DO NOT EDIT ** - -# TARGTYPE "Win32 (x86) Console Application" 0x0103 - -CFG=ai - Win32 Debug -!MESSAGE This is not a valid makefile. To build this project using NMAKE, -!MESSAGE use the Export Makefile command and run -!MESSAGE -!MESSAGE NMAKE /f "ai.mak". -!MESSAGE -!MESSAGE You can specify a configuration when running NMAKE -!MESSAGE by defining the macro CFG on the command line. For example: -!MESSAGE -!MESSAGE NMAKE /f "ai.mak" CFG="ai - Win32 Debug" -!MESSAGE -!MESSAGE Possible choices for configuration are: -!MESSAGE -!MESSAGE "ai - Win32 Release" (based on "Win32 (x86) Console Application") -!MESSAGE "ai - Win32 Debug" (based on "Win32 (x86) Console Application") -!MESSAGE - -# Begin Project -# PROP AllowPerConfigDependencies 0 -# PROP Scc_ProjName "" -# PROP Scc_LocalPath "" -CPP=cl.exe -RSC=rc.exe - -!IF "$(CFG)" == "ai - Win32 Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "Release" -# PROP BASE Intermediate_Dir "Release" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "" -# PROP Intermediate_Dir "Release" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c -# ADD CPP /nologo /W3 /GX /O2 /I "../../../include" /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c -# ADD BASE RSC /l 0x404 /d "NDEBUG" -# ADD RSC /l 0x404 /d "NDEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ../../../lib/pci-dask.lib /nologo /subsystem:console /machine:I386 - -!ELSEIF "$(CFG)" == "ai - Win32 Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "Debug" -# PROP BASE Intermediate_Dir "Debug" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "Debug" -# PROP Intermediate_Dir "Debug" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /GZ /c -# ADD CPP /nologo /W3 /Gm /GX /ZI /Od /I "../../../include" /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /GZ /c -# ADD BASE RSC /l 0x404 /d "_DEBUG" -# ADD RSC /l 0x404 /d "_DEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ../../../lib/pci-dask.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept - -!ENDIF - -# Begin Target - -# Name "ai - Win32 Release" -# Name "ai - Win32 Debug" -# Begin Group "Source Files" - -# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;idl;hpj;bat" -# Begin Source File - -SOURCE=.\ai.c -# End Source File -# End Group -# Begin Group "Header Files" - -# PROP Default_Filter "h;hpp;hxx;hm;inl" -# End Group -# Begin Group "Resource Files" - -# PROP Default_Filter "ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe" -# End Group -# End Target -# End Project diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/922A/C922A_AI_DMA_Event/ai.dsw b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/922A/C922A_AI_DMA_Event/ai.dsw deleted file mode 100644 index 2e548b2..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/922A/C922A_AI_DMA_Event/ai.dsw +++ /dev/null @@ -1,29 +0,0 @@ -Microsoft Developer Studio Workspace File, Format Version 6.00 -# WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE! - -############################################################################### - -Project: "ai"=.\ai.dsp - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ -}}} - -############################################################################### - -Global: - -Package=<5> -{{{ -}}} - -Package=<3> -{{{ -}}} - -############################################################################### - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/922A/C922A_AI_DMA_Event/ai.exe b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/922A/C922A_AI_DMA_Event/ai.exe deleted file mode 100644 index f8aa340..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/922A/C922A_AI_DMA_Event/ai.exe and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/922A/C922A_AI_DMA_MultiChannelstoFile/ai.c b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/922A/C922A_AI_DMA_MultiChannelstoFile/ai.c deleted file mode 100644 index 17d73ea..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/922A/C922A_AI_DMA_MultiChannelstoFile/ai.c +++ /dev/null @@ -1,134 +0,0 @@ -/*----------------------------------------------------------------------------*/ -/* Company : ADLINK */ -/* Date : 2009/02/05 */ -/* */ -/* This sample performs continuous AI acquisition. */ -/* There are 32(Single Ended Mode)/16(Differetial Mode) AI channels in */ -/* PCI-922A. You can use polling mode or DMA to acquired data from specified */ -/* channels. */ -/*----------------------------------------------------------------------------*/ -#include -#include -#include -#include -#include "dask.h" - -#define AI_COUNT 4000 -#define P922X_TIMEBASE 80000000.0 -#define CHANNELCOUNT 4 - -int main(int argc, char **argv) -{ - I16 card, err; - U16 card_num; - U16 ConfigCtrl = P922x_AI_SingEnded|P922x_AI_CONVSRC_INT; /*922A Only Supports Internal Conversion Source*/ - U16 TrigCtrl = P922x_AI_TRGMOD_POST|P922x_AI_TRGSRC_SOFT; /*922A Only Supports Post Trigger Mode and Software Trigger Source*/ - U32 ReTriggerCount = 0; /*922A dose not support Retrigger Mode*/ - BOOLEAN AutoResetBuf = 1; /*Auto Reset Buffer Descriptor in Driver*/ - U32 ScanIntrv = 320*CHANNELCOUNT; /*Scan Rate: P922X_TIMEBASE/ScanIntrv = 62.5K Hz*/ - U32 SampIntrv = 320; /*Sampling Rate: P922X_TIMEBASE/320 = 250K Hz; 922A Maximal Sample Rate = 250K Hz*/ - U16 RDBuffer[AI_COUNT]; /*Buffer to be stored read data*/ - U16 BufferId; - F64 VBuffer[AI_COUNT]; /*Buffer to be stored converted data*/ - U32 AI_ReadCount = AI_COUNT; /*AI Read Count*/ - U16 NumChans = CHANNELCOUNT; /*AI Channel Count to be read*/ - U16 Chans[CHANNELCOUNT] = {0, 8, 16, 24}; /*AI Channels to be read*/ - U16 AdRanges[CHANNELCOUNT] = {AD_B_10_V, AD_B_5_V, AD_B_10_V, AD_B_5_V}; /*AI range; 922A supports +-10V and +-5V AD Range*/ - BOOLEAN Stopped; - U32 AccessCnt; - U8 FileName[] = "ai_data"; - /*--------------------------------*/ - - memset(RDBuffer, '\0', AI_COUNT*sizeof(U16)); - memset(VBuffer, '\0', AI_COUNT*sizeof(F64)); - - printf("This sample performs continuous AI acquisition from %d AI Channels\n", NumChans); - printf("at %6.3lf Hz sampling rate.\n\n", P922X_TIMEBASE/SampIntrv); - - /*Open and Initialize Device*/ - printf("Card Number? "); - scanf(" %hd", &card_num); - card = Register_Card(PCI_922A, card_num); - if(card<0){ - printf("Register_Card Error: %d\n", card); - exit(1); - } - - /*Configure AI*/ - err = AI_922A_Config(card, ConfigCtrl, TrigCtrl, ReTriggerCount, AutoResetBuf); - if(err<0){ - printf("AI_922A_Config Error: %d\n", err); - Release_Card(card); - exit(1); - } - - /*Set Scan and Sampling Rate*/ - err = AI_922A_CounterInterval(card, ScanIntrv, SampIntrv); - if(err<0){ - printf("AI_922A_CounterInterval Error: %d\n", err); - Release_Card(card); - exit(1); - } - - /*Disable Double Buffer Mode*/ - err = AI_AsyncDblBufferMode(card, 0); - if(err<0){ - printf("AI_AsyncDblBufferMode Error: %d\n", err); - Release_Card(card); - exit(1); - } - - /*Setup Buffer for AI DMA Transfer*/ - err = AI_ContBufferSetup(card, RDBuffer, AI_ReadCount, &BufferId); - if(err<0){ - printf("AI_ContBufferSetup Error: %d\n", err); - Release_Card(card); - exit(1); - } - - /*AI Acquisition Start*/ - err = AI_ContReadMultiChannelsToFile(card, NumChans, Chans, AdRanges, FileName, AI_ReadCount, 0/*Ignore*/, ASYNCH_OP); - if(err<0){ - printf("AI_ContReadMultiChannelsToFile Error: %d\n", err); - AI_ContBufferReset(card); - Release_Card(card); - exit(1); - } - do{ - /*Check whether AI Acquisition is done*/ - err = AI_AsyncCheck(card, &Stopped, &AccessCnt); - if(err<0){ - printf("AI_AsyncCheck Error: %d\n", err); - AI_AsyncClear(card, &AccessCnt); - AI_ContBufferReset(card); - Release_Card(card); - exit(1); - } - }while((!kbhit())&&(!Stopped)); - - /*Clear AI Setting and Get Remaining data*/ - err = AI_AsyncClear(card, &AccessCnt); - if(err<0){ - printf("AI_AsyncClear Error: %d\n", err); - AI_AsyncClear(card, &AccessCnt); - AI_ContBufferReset(card); - Release_Card(card); - exit(1); - } - - if(Stopped){ - printf("\n\nAI Acquisition Done... Acquired %d samples...\n", AccessCnt); - printf("%d samples of Buffer had been written to %s.dat file...\n", AccessCnt, FileName); - } - else{ - printf("\n\nAI Acquisition has been stopped... Acquired %d samples...\n", AccessCnt); - printf("%d samples of Buffer had been written to %s.dat file...\n", AccessCnt, FileName); - } - - if(!AutoResetBuf) - AI_ContBufferReset(card); - Release_Card(card); - printf("Press any key to exit...\n"); - getch(); - return 0; -} diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/922A/C922A_AI_DMA_MultiChannelstoFile/ai.dsp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/922A/C922A_AI_DMA_MultiChannelstoFile/ai.dsp deleted file mode 100644 index c26103a..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/922A/C922A_AI_DMA_MultiChannelstoFile/ai.dsp +++ /dev/null @@ -1,102 +0,0 @@ -# Microsoft Developer Studio Project File - Name="ai" - Package Owner=<4> -# Microsoft Developer Studio Generated Build File, Format Version 6.00 -# ** DO NOT EDIT ** - -# TARGTYPE "Win32 (x86) Console Application" 0x0103 - -CFG=ai - Win32 Debug -!MESSAGE This is not a valid makefile. To build this project using NMAKE, -!MESSAGE use the Export Makefile command and run -!MESSAGE -!MESSAGE NMAKE /f "ai.mak". -!MESSAGE -!MESSAGE You can specify a configuration when running NMAKE -!MESSAGE by defining the macro CFG on the command line. For example: -!MESSAGE -!MESSAGE NMAKE /f "ai.mak" CFG="ai - Win32 Debug" -!MESSAGE -!MESSAGE Possible choices for configuration are: -!MESSAGE -!MESSAGE "ai - Win32 Release" (based on "Win32 (x86) Console Application") -!MESSAGE "ai - Win32 Debug" (based on "Win32 (x86) Console Application") -!MESSAGE - -# Begin Project -# PROP AllowPerConfigDependencies 0 -# PROP Scc_ProjName "" -# PROP Scc_LocalPath "" -CPP=cl.exe -RSC=rc.exe - -!IF "$(CFG)" == "ai - Win32 Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "Release" -# PROP BASE Intermediate_Dir "Release" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "" -# PROP Intermediate_Dir "Release" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c -# ADD CPP /nologo /W3 /GX /O2 /I "../../../include" /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c -# ADD BASE RSC /l 0x404 /d "NDEBUG" -# ADD RSC /l 0x404 /d "NDEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ../../../lib/pci-dask.lib /nologo /subsystem:console /machine:I386 - -!ELSEIF "$(CFG)" == "ai - Win32 Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "Debug" -# PROP BASE Intermediate_Dir "Debug" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "Debug" -# PROP Intermediate_Dir "Debug" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /GZ /c -# ADD CPP /nologo /W3 /Gm /GX /ZI /Od /I "../../../include" /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /GZ /c -# ADD BASE RSC /l 0x404 /d "_DEBUG" -# ADD RSC /l 0x404 /d "_DEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ../../../lib/pci-dask.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept - -!ENDIF - -# Begin Target - -# Name "ai - Win32 Release" -# Name "ai - Win32 Debug" -# Begin Group "Source Files" - -# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;idl;hpj;bat" -# Begin Source File - -SOURCE=.\ai.c -# End Source File -# End Group -# Begin Group "Header Files" - -# PROP Default_Filter "h;hpp;hxx;hm;inl" -# End Group -# Begin Group "Resource Files" - -# PROP Default_Filter "ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe" -# End Group -# End Target -# End Project diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/922A/C922A_AI_DMA_MultiChannelstoFile/ai.dsw b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/922A/C922A_AI_DMA_MultiChannelstoFile/ai.dsw deleted file mode 100644 index 2e548b2..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/922A/C922A_AI_DMA_MultiChannelstoFile/ai.dsw +++ /dev/null @@ -1,29 +0,0 @@ -Microsoft Developer Studio Workspace File, Format Version 6.00 -# WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE! - -############################################################################### - -Project: "ai"=.\ai.dsp - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ -}}} - -############################################################################### - -Global: - -Package=<5> -{{{ -}}} - -Package=<3> -{{{ -}}} - -############################################################################### - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/922A/C922A_AI_DMA_MultiChannelstoFile/ai.exe b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/922A/C922A_AI_DMA_MultiChannelstoFile/ai.exe deleted file mode 100644 index 58b6f35..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/922A/C922A_AI_DMA_MultiChannelstoFile/ai.exe and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/922A/C922A_AI_POLL/ai.c b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/922A/C922A_AI_POLL/ai.c deleted file mode 100644 index 450922e..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/922A/C922A_AI_POLL/ai.c +++ /dev/null @@ -1,55 +0,0 @@ -/*----------------------------------------------------------------------------*/ -/* Company : ADLINK */ -/* Date : 2009/02/05 */ -/* */ -/* This sample performs AI acquisition with polling mode. */ -/* There are 32(Single Ended Mode)/16(Differetial Mode) AI channels in */ -/* PCI-922A. You can use polling mode or DMA to acquired data from specified */ -/* channels. */ -/*----------------------------------------------------------------------------*/ -#include -#include -#include -#include -#include "dask.h" - -int main(int argc, char **argv) -{ - I16 card, err; - U16 card_num; - U16 Channel = 0; //AI Channel to be read - U16 AdRange = AD_B_10_V; //AI Range to be performed - U16 Value; //Read Data - F64 Voltage; //Converted voltage data - - printf("This sample acquires analog voltage from AI Channel 0 with polling mode.\n"); - printf("Card Number? "); - scanf(" %hd", &card_num); - - card = Register_Card(PCI_922A, card_num); - if(card<0){ - printf("Register_Card Error: %d\n", card); - exit(1); - } - - do{ - err = AI_ReadChannel(card, Channel, AdRange, &Value); - if(err<0){ - printf("AI_ReadChannel Error: %d\n", err); - Release_Card(card); - exit(1); - } - system("cls"); - printf("------------------------------------\n"); - AI_VoltScale(card, AdRange, Value, &Voltage); - printf(" Channel %d :\n", Channel); - printf(" Acquired Raw Data : 0x%x\n", Value); - printf(" Scaled Voltage : %8.6lf\n", Voltage); - printf("\n Press any key to exit...\n"); - printf("------------------------------------\n"); - Sleep(100); - }while(!kbhit()); - - Release_Card(card); - return 0; -} diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/922A/C922A_AI_POLL/ai.dsp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/922A/C922A_AI_POLL/ai.dsp deleted file mode 100644 index c26103a..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/922A/C922A_AI_POLL/ai.dsp +++ /dev/null @@ -1,102 +0,0 @@ -# Microsoft Developer Studio Project File - Name="ai" - Package Owner=<4> -# Microsoft Developer Studio Generated Build File, Format Version 6.00 -# ** DO NOT EDIT ** - -# TARGTYPE "Win32 (x86) Console Application" 0x0103 - -CFG=ai - Win32 Debug -!MESSAGE This is not a valid makefile. To build this project using NMAKE, -!MESSAGE use the Export Makefile command and run -!MESSAGE -!MESSAGE NMAKE /f "ai.mak". -!MESSAGE -!MESSAGE You can specify a configuration when running NMAKE -!MESSAGE by defining the macro CFG on the command line. For example: -!MESSAGE -!MESSAGE NMAKE /f "ai.mak" CFG="ai - Win32 Debug" -!MESSAGE -!MESSAGE Possible choices for configuration are: -!MESSAGE -!MESSAGE "ai - Win32 Release" (based on "Win32 (x86) Console Application") -!MESSAGE "ai - Win32 Debug" (based on "Win32 (x86) Console Application") -!MESSAGE - -# Begin Project -# PROP AllowPerConfigDependencies 0 -# PROP Scc_ProjName "" -# PROP Scc_LocalPath "" -CPP=cl.exe -RSC=rc.exe - -!IF "$(CFG)" == "ai - Win32 Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "Release" -# PROP BASE Intermediate_Dir "Release" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "" -# PROP Intermediate_Dir "Release" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c -# ADD CPP /nologo /W3 /GX /O2 /I "../../../include" /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c -# ADD BASE RSC /l 0x404 /d "NDEBUG" -# ADD RSC /l 0x404 /d "NDEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ../../../lib/pci-dask.lib /nologo /subsystem:console /machine:I386 - -!ELSEIF "$(CFG)" == "ai - Win32 Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "Debug" -# PROP BASE Intermediate_Dir "Debug" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "Debug" -# PROP Intermediate_Dir "Debug" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /GZ /c -# ADD CPP /nologo /W3 /Gm /GX /ZI /Od /I "../../../include" /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /GZ /c -# ADD BASE RSC /l 0x404 /d "_DEBUG" -# ADD RSC /l 0x404 /d "_DEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ../../../lib/pci-dask.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept - -!ENDIF - -# Begin Target - -# Name "ai - Win32 Release" -# Name "ai - Win32 Debug" -# Begin Group "Source Files" - -# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;idl;hpj;bat" -# Begin Source File - -SOURCE=.\ai.c -# End Source File -# End Group -# Begin Group "Header Files" - -# PROP Default_Filter "h;hpp;hxx;hm;inl" -# End Group -# Begin Group "Resource Files" - -# PROP Default_Filter "ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe" -# End Group -# End Target -# End Project diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/922A/C922A_AI_POLL/ai.dsw b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/922A/C922A_AI_POLL/ai.dsw deleted file mode 100644 index 2e548b2..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/922A/C922A_AI_POLL/ai.dsw +++ /dev/null @@ -1,29 +0,0 @@ -Microsoft Developer Studio Workspace File, Format Version 6.00 -# WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE! - -############################################################################### - -Project: "ai"=.\ai.dsp - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ -}}} - -############################################################################### - -Global: - -Package=<5> -{{{ -}}} - -Package=<3> -{{{ -}}} - -############################################################################### - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/922A/C922A_AI_POLL/ai.exe b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/922A/C922A_AI_POLL/ai.exe deleted file mode 100644 index e20beb5..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/922A/C922A_AI_POLL/ai.exe and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/922A/C922A_AI_POLL_MultiChannels/ai.c b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/922A/C922A_AI_POLL_MultiChannels/ai.c deleted file mode 100644 index 774c5be..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/922A/C922A_AI_POLL_MultiChannels/ai.c +++ /dev/null @@ -1,61 +0,0 @@ -/*----------------------------------------------------------------------------*/ -/* Company : ADLINK */ -/* Date : 2009/02/05 */ -/* */ -/* This sample performs AI acquisition with polling mode. */ -/* There are 32(Single Ended Mode)/16(Differetial Mode) AI channels in */ -/* PCI-922A. You can use polling mode or DMA to acquired data from specified */ -/* channels. */ -/*----------------------------------------------------------------------------*/ -#include -#include -#include -#include -#include "dask.h" - -#define READCHNCNT 4 - -int main(int argc, char **argv) -{ - I16 card, err; - U16 card_num; - U16 NumChans = READCHNCNT; //AI Channel Count to be read - U16 Chans[READCHNCNT] = {0, 8, 16, 24}; //AI Channels Number to be read - U16 AdRanges[READCHNCNT] = {AD_B_10_V, AD_B_5_V, AD_B_10_V, AD_B_5_V}; //AI Range to be performed - U16 Buffer[READCHNCNT]; //Buffer to be stored read data - F64 Voltage; //Converted voltage data - U32 vi; - - printf("This sample acquires analog voltage from %d AI Channels with polling mode.\n", NumChans); - printf("Card Number? "); - scanf(" %hd", &card_num); - - card = Register_Card(PCI_922A, card_num); - if(card<0){ - printf("Register_Card Error: %d\n", card); - exit(1); - } - - do{ - err = AI_ReadMultiChannels(card, NumChans, Chans, AdRanges, Buffer); - if(err<0){ - printf("AI_ReadChannel Error: %d\n", err); - Release_Card(card); - exit(1); - } - system("cls"); - printf("------------------------------------\n"); - for(vi=0; vi -# Microsoft Developer Studio Generated Build File, Format Version 6.00 -# ** DO NOT EDIT ** - -# TARGTYPE "Win32 (x86) Console Application" 0x0103 - -CFG=ai - Win32 Debug -!MESSAGE This is not a valid makefile. To build this project using NMAKE, -!MESSAGE use the Export Makefile command and run -!MESSAGE -!MESSAGE NMAKE /f "ai.mak". -!MESSAGE -!MESSAGE You can specify a configuration when running NMAKE -!MESSAGE by defining the macro CFG on the command line. For example: -!MESSAGE -!MESSAGE NMAKE /f "ai.mak" CFG="ai - Win32 Debug" -!MESSAGE -!MESSAGE Possible choices for configuration are: -!MESSAGE -!MESSAGE "ai - Win32 Release" (based on "Win32 (x86) Console Application") -!MESSAGE "ai - Win32 Debug" (based on "Win32 (x86) Console Application") -!MESSAGE - -# Begin Project -# PROP AllowPerConfigDependencies 0 -# PROP Scc_ProjName "" -# PROP Scc_LocalPath "" -CPP=cl.exe -RSC=rc.exe - -!IF "$(CFG)" == "ai - Win32 Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "Release" -# PROP BASE Intermediate_Dir "Release" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "" -# PROP Intermediate_Dir "Release" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c -# ADD CPP /nologo /W3 /GX /O2 /I "../../../include" /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c -# ADD BASE RSC /l 0x404 /d "NDEBUG" -# ADD RSC /l 0x404 /d "NDEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ../../../lib/pci-dask.lib /nologo /subsystem:console /machine:I386 - -!ELSEIF "$(CFG)" == "ai - Win32 Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "Debug" -# PROP BASE Intermediate_Dir "Debug" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "Debug" -# PROP Intermediate_Dir "Debug" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /GZ /c -# ADD CPP /nologo /W3 /Gm /GX /ZI /Od /I "../../../include" /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /GZ /c -# ADD BASE RSC /l 0x404 /d "_DEBUG" -# ADD RSC /l 0x404 /d "_DEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ../../../lib/pci-dask.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept - -!ENDIF - -# Begin Target - -# Name "ai - Win32 Release" -# Name "ai - Win32 Debug" -# Begin Group "Source Files" - -# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;idl;hpj;bat" -# Begin Source File - -SOURCE=.\ai.c -# End Source File -# End Group -# Begin Group "Header Files" - -# PROP Default_Filter "h;hpp;hxx;hm;inl" -# End Group -# Begin Group "Resource Files" - -# PROP Default_Filter "ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe" -# End Group -# End Target -# End Project diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/922A/C922A_AI_POLL_MultiChannels/ai.dsw b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/922A/C922A_AI_POLL_MultiChannels/ai.dsw deleted file mode 100644 index 2e548b2..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/922A/C922A_AI_POLL_MultiChannels/ai.dsw +++ /dev/null @@ -1,29 +0,0 @@ -Microsoft Developer Studio Workspace File, Format Version 6.00 -# WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE! - -############################################################################### - -Project: "ai"=.\ai.dsp - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ -}}} - -############################################################################### - -Global: - -Package=<5> -{{{ -}}} - -Package=<3> -{{{ -}}} - -############################################################################### - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/922A/C922A_AI_POLL_MultiChannels/ai.exe b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/922A/C922A_AI_POLL_MultiChannels/ai.exe deleted file mode 100644 index 6a00d6b..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/922A/C922A_AI_POLL_MultiChannels/ai.exe and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/922A/C922A_Calibration/calibration.c b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/922A/C922A_Calibration/calibration.c deleted file mode 100644 index 2799df3..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/922A/C922A_Calibration/calibration.c +++ /dev/null @@ -1,67 +0,0 @@ -/*----------------------------------------------------------------------------*/ -/* Company : ADLINK */ -/* Date : 2009/02/05 */ -/* */ -/* This sample performs AI auto calibration for PCI-922A. */ -/* There are two EEPROM banks, default bank and user bank, to store AI */ -/* calibration constants. For 922A, the driver loads calibration constants */ -/* of user bank and writes them to ADC during the period of driver loaded. */ -/* User can use PCI_DB_Auto_Calibration_ALL() to perform auto calibration, */ -/* and those auto calibration constants will be written to ADC */ -/* automatically. Then, User can use PCI_EEPROM_CAL_Constant_Update() to */ -/* store the auto calibration constants to user bank of EEPROM. */ -/* PCI_Load_CAL_Data() is used to load the calibration constants from default */ -/* or user bank of EEPROM to ADC. */ -/*----------------------------------------------------------------------------*/ -#include -#include -#include -#include -#include "dask.h" - -int main(int argc, char **argv) -{ - I16 card, err; - U16 card_num; - U8 fWriteEE; - - printf("The sample performs AI auto calibration.\n"); - - printf("Card Number: "); - scanf(" %hd", &card_num); - card = Register_Card(PCI_922A, card_num); - if(card<0){ - printf("Register_Card Error: %d\n", card); - exit(1); - } - - printf("Press any key to start AI auto calibration.\n"); - getch(); - printf("Auto Calibration is performing... It will take some minites...\n"); - err = PCI_DB_Auto_Calibration_ALL(card); - if(err<0){ - printf("Auto Calibration Error: %d\n", err); - Release_Card(card); - exit(1); - } - printf("\nAuto Calibration is done...\n"); - - printf("\nStore the auto calibration constants to EEPROM?\n"); - printf("Press 'Y' to store them to EEPROM, and others to exit.\n"); - fWriteEE = getch(); - if((fWriteEE=='Y')||(fWriteEE=='y')){ - printf("Store auto calibration constants to user bank of EEPROM...\n"); - err = PCI_EEPROM_CAL_Constant_Update(card, EEPROM_USER_BANK1); - if(err<0){ - printf("Save Calibration Constants to EEProm Error: %d\n", err); - Release_Card(card); - exit(1); - } - printf("\nAuto calibration constants are stored to EEPROM completely.\n"); - } - - printf("\nPress any key to exit...\n"); - getch(); - Release_Card(card); - return 0; -} diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/922A/C922A_Calibration/calibration.dsp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/922A/C922A_Calibration/calibration.dsp deleted file mode 100644 index 71d2c65..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/922A/C922A_Calibration/calibration.dsp +++ /dev/null @@ -1,102 +0,0 @@ -# Microsoft Developer Studio Project File - Name="calibration" - Package Owner=<4> -# Microsoft Developer Studio Generated Build File, Format Version 6.00 -# ** DO NOT EDIT ** - -# TARGTYPE "Win32 (x86) Console Application" 0x0103 - -CFG=calibration - Win32 Debug -!MESSAGE This is not a valid makefile. To build this project using NMAKE, -!MESSAGE use the Export Makefile command and run -!MESSAGE -!MESSAGE NMAKE /f "calibration.mak". -!MESSAGE -!MESSAGE You can specify a configuration when running NMAKE -!MESSAGE by defining the macro CFG on the command line. For example: -!MESSAGE -!MESSAGE NMAKE /f "calibration.mak" CFG="calibration - Win32 Debug" -!MESSAGE -!MESSAGE Possible choices for configuration are: -!MESSAGE -!MESSAGE "calibration - Win32 Release" (based on "Win32 (x86) Console Application") -!MESSAGE "calibration - Win32 Debug" (based on "Win32 (x86) Console Application") -!MESSAGE - -# Begin Project -# PROP AllowPerConfigDependencies 0 -# PROP Scc_ProjName "" -# PROP Scc_LocalPath "" -CPP=cl.exe -RSC=rc.exe - -!IF "$(CFG)" == "calibration - Win32 Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "Release" -# PROP BASE Intermediate_Dir "Release" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "" -# PROP Intermediate_Dir "Release" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c -# ADD CPP /nologo /W3 /GX /O2 /I "../../../include" /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c -# ADD BASE RSC /l 0x404 /d "NDEBUG" -# ADD RSC /l 0x404 /d "NDEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ../../../lib/pci-dask.lib /nologo /subsystem:console /machine:I386 - -!ELSEIF "$(CFG)" == "calibration - Win32 Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "Debug" -# PROP BASE Intermediate_Dir "Debug" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "Debug" -# PROP Intermediate_Dir "Debug" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /GZ /c -# ADD CPP /nologo /W3 /Gm /GX /ZI /Od /I "../../../include" /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /GZ /c -# ADD BASE RSC /l 0x404 /d "_DEBUG" -# ADD RSC /l 0x404 /d "_DEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ../../../lib/pci-dask.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept - -!ENDIF - -# Begin Target - -# Name "calibration - Win32 Release" -# Name "calibration - Win32 Debug" -# Begin Group "Source Files" - -# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;idl;hpj;bat" -# Begin Source File - -SOURCE=.\calibration.c -# End Source File -# End Group -# Begin Group "Header Files" - -# PROP Default_Filter "h;hpp;hxx;hm;inl" -# End Group -# Begin Group "Resource Files" - -# PROP Default_Filter "ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe" -# End Group -# End Target -# End Project diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/922A/C922A_Calibration/calibration.dsw b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/922A/C922A_Calibration/calibration.dsw deleted file mode 100644 index f07310a..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/922A/C922A_Calibration/calibration.dsw +++ /dev/null @@ -1,29 +0,0 @@ -Microsoft Developer Studio Workspace File, Format Version 6.00 -# WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE! - -############################################################################### - -Project: "calibration"=.\calibration.dsp - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ -}}} - -############################################################################### - -Global: - -Package=<5> -{{{ -}}} - -Package=<3> -{{{ -}}} - -############################################################################### - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/922A/C922A_Calibration/calibration.exe b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/922A/C922A_Calibration/calibration.exe deleted file mode 100644 index 42d94ba..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/922A/C922A_Calibration/calibration.exe and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/922A/C922A_Calibration_Restore/calibration.c b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/922A/C922A_Calibration_Restore/calibration.c deleted file mode 100644 index 80c1caa..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/922A/C922A_Calibration_Restore/calibration.c +++ /dev/null @@ -1,67 +0,0 @@ -/*----------------------------------------------------------------------------*/ -/* Company : ADLINK */ -/* Date : 2009/02/05 */ -/* */ -/* This sample performs AI auto calibration for PCI-922A. */ -/* There are two EEPROM banks, default bank and user bank, to store AI */ -/* calibration constants. For 922A, the driver loads calibration constants */ -/* of user bank and writes them to ADC during the period of driver loaded. */ -/* User can use PCI_DB_Auto_Calibration_ALL() to perform auto calibration, */ -/* and those auto calibration constants will be written to ADC */ -/* automatically. Then, User can use PCI_EEPROM_CAL_Constant_Update() to */ -/* store the auto calibration constants to user bank of EEPROM. */ -/* PCI_Load_CAL_Data() is used to load the calibration constants from default */ -/* or user bank of EEPROM to ADC. It is useful to restore user bank constants */ -/* to default. */ -/*----------------------------------------------------------------------------*/ -#include -#include -#include -#include -#include "dask.h" - -int main(int argc, char **argv) -{ - I16 card, err; - U16 card_num; - U8 fWriteEE; - - printf("The sample restores calibration constants of user bank to default.\n"); - - printf("Card Number: "); - scanf(" %hd", &card_num); - card = Register_Card(PCI_922A, card_num); - if(card<0){ - printf("Register_Card Error: %d\n", card); - exit(1); - } - - /*Load Constants from Default Bank EEPROM*/ - err = PCI_Load_CAL_Data(card, EEPROM_DEFAULT_BANK); - if(err<0){ - printf("PCI_Load_CAL_Data Error: %d\n", err); - Release_Card(card); - exit(1); - } - - /*Update Read Constants to User Bank EEPROM*/ - printf("\nRestore the default calibration constants to user bank?\n"); - printf("It will rewrite the calibration constants of user bank!!\n"); - printf("Press 'Y' to store them to EEPROM, and others to exit.\n"); - fWriteEE = getch(); - if((fWriteEE=='Y')||(fWriteEE=='y')){ - printf("Store auto calibration constants to user bank of EEPROM...\n"); - err = PCI_EEPROM_CAL_Constant_Update(card, EEPROM_USER_BANK1); - if(err<0){ - printf("Save Calibration Constants to EEProm Error: %d\n", err); - Release_Card(card); - exit(1); - } - printf("\nAuto calibration constants are stored to EEPROM completely.\n"); - } - - printf("\nPress any key to exit...\n"); - getch(); - Release_Card(card); - return 0; -} diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/922A/C922A_Calibration_Restore/calibration.dsp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/922A/C922A_Calibration_Restore/calibration.dsp deleted file mode 100644 index 71d2c65..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/922A/C922A_Calibration_Restore/calibration.dsp +++ /dev/null @@ -1,102 +0,0 @@ -# Microsoft Developer Studio Project File - Name="calibration" - Package Owner=<4> -# Microsoft Developer Studio Generated Build File, Format Version 6.00 -# ** DO NOT EDIT ** - -# TARGTYPE "Win32 (x86) Console Application" 0x0103 - -CFG=calibration - Win32 Debug -!MESSAGE This is not a valid makefile. To build this project using NMAKE, -!MESSAGE use the Export Makefile command and run -!MESSAGE -!MESSAGE NMAKE /f "calibration.mak". -!MESSAGE -!MESSAGE You can specify a configuration when running NMAKE -!MESSAGE by defining the macro CFG on the command line. For example: -!MESSAGE -!MESSAGE NMAKE /f "calibration.mak" CFG="calibration - Win32 Debug" -!MESSAGE -!MESSAGE Possible choices for configuration are: -!MESSAGE -!MESSAGE "calibration - Win32 Release" (based on "Win32 (x86) Console Application") -!MESSAGE "calibration - Win32 Debug" (based on "Win32 (x86) Console Application") -!MESSAGE - -# Begin Project -# PROP AllowPerConfigDependencies 0 -# PROP Scc_ProjName "" -# PROP Scc_LocalPath "" -CPP=cl.exe -RSC=rc.exe - -!IF "$(CFG)" == "calibration - Win32 Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "Release" -# PROP BASE Intermediate_Dir "Release" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "" -# PROP Intermediate_Dir "Release" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c -# ADD CPP /nologo /W3 /GX /O2 /I "../../../include" /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c -# ADD BASE RSC /l 0x404 /d "NDEBUG" -# ADD RSC /l 0x404 /d "NDEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ../../../lib/pci-dask.lib /nologo /subsystem:console /machine:I386 - -!ELSEIF "$(CFG)" == "calibration - Win32 Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "Debug" -# PROP BASE Intermediate_Dir "Debug" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "Debug" -# PROP Intermediate_Dir "Debug" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /GZ /c -# ADD CPP /nologo /W3 /Gm /GX /ZI /Od /I "../../../include" /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /GZ /c -# ADD BASE RSC /l 0x404 /d "_DEBUG" -# ADD RSC /l 0x404 /d "_DEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ../../../lib/pci-dask.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept - -!ENDIF - -# Begin Target - -# Name "calibration - Win32 Release" -# Name "calibration - Win32 Debug" -# Begin Group "Source Files" - -# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;idl;hpj;bat" -# Begin Source File - -SOURCE=.\calibration.c -# End Source File -# End Group -# Begin Group "Header Files" - -# PROP Default_Filter "h;hpp;hxx;hm;inl" -# End Group -# Begin Group "Resource Files" - -# PROP Default_Filter "ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe" -# End Group -# End Target -# End Project diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/922A/C922A_Calibration_Restore/calibration.dsw b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/922A/C922A_Calibration_Restore/calibration.dsw deleted file mode 100644 index f07310a..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/922A/C922A_Calibration_Restore/calibration.dsw +++ /dev/null @@ -1,29 +0,0 @@ -Microsoft Developer Studio Workspace File, Format Version 6.00 -# WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE! - -############################################################################### - -Project: "calibration"=.\calibration.dsp - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ -}}} - -############################################################################### - -Global: - -Package=<5> -{{{ -}}} - -Package=<3> -{{{ -}}} - -############################################################################### - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/922A/C922A_Calibration_Restore/calibration.exe b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/922A/C922A_Calibration_Restore/calibration.exe deleted file mode 100644 index abc7509..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/922A/C922A_Calibration_Restore/calibration.exe and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9524/AI_ContDbfDma/ai.c b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9524/AI_ContDbfDma/ai.c deleted file mode 100644 index b26a700..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9524/AI_ContDbfDma/ai.c +++ /dev/null @@ -1,339 +0,0 @@ -/*----------------------------------------------------------------------------*/ -/* Date: 2007/03/10 */ -/* Company: ADLINK Technology Inc. */ -/* */ -/* This sample setups two system buffer to perform infinitely continuous AI */ -/* read. */ -/* Step1. Setup two buffers and configure AI */ -/* Step2. Start AI */ -/* Step3. Wait Buffer 0 Full */ -/* Step4. You can process the data of buffer while buffer 0 is full, since */ -/* the DMA chip accesses buffer 1 at that time. Note that you should */ -/* complete your data process before the next buffer (Buffer 1) is */ -/* full(Since Buffer 1 is full, the DMA chip accesses Buffer 0). */ -/* Step5. Wait Buffer 1 Full */ -/* Step6. You can process the data of buffer while buffer 1 is full, since */ -/* the DMA chip accesses buffer 0 at that time. Note that you should */ -/* complete your data process before the next buffer (Buffer 0) is */ -/* full(Since Buffer 0 is full, the DMA chip accesses Buffer 1). */ -/* Step7. repeat Step3 to Step6 */ -/*----------------------------------------------------------------------------*/ -#include -#include -#include -#include -#include "dask.h" - -#define READCOUNT 60 - -int main(int argc, char **argv) -{ - I16 card, err; - U16 card_num; - FILE *fin; - unsigned int i; - - U32 ReadCount = READCOUNT; - U32 Buffer1[READCOUNT]; - U16 BufID1; - U32 Buffer2[READCOUNT]; - U16 BufID2; - - U16 Group; - U16 XMode = P9524_AI_XFER_DMA; - U16 ADC_Range; - U16 ADC_SampRate; - U16 ConfigCtrl; - U16 TrigCtrl = 0; - U32 dwTrigValue = 0; - - U16 Channel; - BOOLEAN Stopped = 0; - BOOLEAN HalfReady = 0; - U32 AccessCnt; - int viewidx = 0; - U16 overrunFlag = 0; - F64 ActualRate; - F64 voltageArray[READCOUNT]; - - memset(Buffer1, '\0', ReadCount*4); - memset(Buffer2, '\0', ReadCount*4); - memset(voltageArray, '\0', ReadCount*8); - - if(!(fin=fopen("acq.dat", "w"))){ - printf("fopen error\n"); - exit(1); - } - - printf("This sample performs Continuous AI operation by Double-Buffer Mode.\n"); - printf("Card Number? "); - scanf(" %hd", &card_num); - - card = Register_Card(PCI_9524, card_num); - if(card<0){ - printf("Register_Card Error: %d\n", card); - fclose(fin); - exit(1); - } - - printf("Load Cell Channel[0] or General Purpose Channel[1]? [0]or[1] "); - scanf(" %hd", &Group); - if(Group>1){ - printf("invalid group\n"); - Release_Card(card); - fclose(fin); - exit(1); - } - - err = AI_AsyncDblBufferMode(card, 1); - if(err<0){ - printf("AI_AsyncDblBufferMode Error: %d\n", err); - Release_Card(card); - fclose(fin); - exit(1); - } - - /*In Double Buffer Mode, you should setup two buffers*/ - err = AI_ContBufferSetup(card, Buffer1, ReadCount, &BufID1); - if(err<0){ - printf("AI_ContBufferSetup1 Error: %d\n", err); - Release_Card(card); - fclose(fin); - exit(1); - } - - err = AI_ContBufferSetup(card, Buffer2, ReadCount, &BufID2); - if(err<0){ - printf("AI_ContBufferSetup2 Error: %d\n", err); - Release_Card(card); - fclose(fin); - exit(1); - } - - if(!Group){ - /*Load Cell Group*/ - /*Set DSP - it is necessary fot Load Cell Group*/ - U16 DFStage = 2; - U32 SPKRejThreshold = 16; - - Channel = P9524_AI_LC_CH0; - ConfigCtrl = P9524_VEX_Range_10V|P9524_VEX_Sence_Remote|P9524_AI_AZMode|P9524_AI_BufAutoReset; - ADC_Range = 0; - ADC_SampRate = P9524_ADC_60_SPS; - - err = AI_9524_SetDSP(card, Channel, P9524_SPIKE_REJ_ENABLE, DFStage, SPKRejThreshold); - if(err<0){ - printf("AI_9524_SetDSP Error: %d\n", err); - AI_ContBufferReset(card); - Release_Card(card); - fclose(fin); - exit(1); - } - - err = AI_9524_Config(card, Group, XMode, ConfigCtrl, TrigCtrl, dwTrigValue); - if(err<0){ - printf("AI_9524_Config Error: %d\n", err); - AI_ContBufferReset(card); - Release_Card(card); - fclose(fin); - exit(0); - } - - printf("\nPress any key to start AI Infinite Acquisition\n"); - getch(); - printf("\nYou can press any key to stop...\n\n"); - - err = AI_ContReadChannel(card, Channel, ADC_Range, &BufID1, ReadCount, (F64)ADC_SampRate, ASYNCH_OP); - if(err<0){ - printf("AI_ContReadChannel Error: %d\n", err); - AI_ContBufferReset(card); - Release_Card(card); - fclose(fin); - exit(1); - } - - /*Process Double Buffer Mode*/ - do{ - err = AI_AsyncDblBufferHalfReady(card, &HalfReady, &Stopped); - if(err<0){ - printf("AI_AsyncCheck Error: %d\n", err); - AI_ContBufferReset(card); - Release_Card(card); - fclose(fin); - exit(1); - } - if(HalfReady){ - if(!viewidx){ - printf("Buffer 1 HalfReady, Process the data of Buffer 1\n"); - /*Process buffer 1 data*/ - AI_ContVScale(card, ADC_Range, Buffer1, voltageArray, ReadCount); - for(i=0; i -# Microsoft Developer Studio Generated Build File, Format Version 6.00 -# ** DO NOT EDIT ** - -# TARGTYPE "Win32 (x86) Console Application" 0x0103 - -CFG=ai - Win32 Debug -!MESSAGE This is not a valid makefile. To build this project using NMAKE, -!MESSAGE use the Export Makefile command and run -!MESSAGE -!MESSAGE NMAKE /f "ai.mak". -!MESSAGE -!MESSAGE You can specify a configuration when running NMAKE -!MESSAGE by defining the macro CFG on the command line. For example: -!MESSAGE -!MESSAGE NMAKE /f "ai.mak" CFG="ai - Win32 Debug" -!MESSAGE -!MESSAGE Possible choices for configuration are: -!MESSAGE -!MESSAGE "ai - Win32 Release" (based on "Win32 (x86) Console Application") -!MESSAGE "ai - Win32 Debug" (based on "Win32 (x86) Console Application") -!MESSAGE - -# Begin Project -# PROP AllowPerConfigDependencies 0 -# PROP Scc_ProjName "" -# PROP Scc_LocalPath "" -CPP=cl.exe -RSC=rc.exe - -!IF "$(CFG)" == "ai - Win32 Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "Release" -# PROP BASE Intermediate_Dir "Release" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "" -# PROP Intermediate_Dir "Release" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c -# ADD CPP /nologo /W3 /GX /O2 /I "../../../include" /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c -# ADD BASE RSC /l 0x404 /d "NDEBUG" -# ADD RSC /l 0x404 /d "NDEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ../../../lib/pci-dask.lib /nologo /subsystem:console /machine:I386 - -!ELSEIF "$(CFG)" == "ai - Win32 Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "Debug" -# PROP BASE Intermediate_Dir "Debug" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "Debug" -# PROP Intermediate_Dir "Debug" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /GZ /c -# ADD CPP /nologo /W3 /Gm /GX /ZI /Od /I "../../../include" /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /GZ /c -# ADD BASE RSC /l 0x404 /d "_DEBUG" -# ADD RSC /l 0x404 /d "_DEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ../../../lib/pci-dask.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept - -!ENDIF - -# Begin Target - -# Name "ai - Win32 Release" -# Name "ai - Win32 Debug" -# Begin Group "Source Files" - -# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;idl;hpj;bat" -# Begin Source File - -SOURCE=.\ai.c -# End Source File -# End Group -# Begin Group "Header Files" - -# PROP Default_Filter "h;hpp;hxx;hm;inl" -# End Group -# Begin Group "Resource Files" - -# PROP Default_Filter "ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe" -# End Group -# End Target -# End Project diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9524/AI_ContDbfDma/ai.dsw b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9524/AI_ContDbfDma/ai.dsw deleted file mode 100644 index 2e548b2..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9524/AI_ContDbfDma/ai.dsw +++ /dev/null @@ -1,29 +0,0 @@ -Microsoft Developer Studio Workspace File, Format Version 6.00 -# WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE! - -############################################################################### - -Project: "ai"=.\ai.dsp - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ -}}} - -############################################################################### - -Global: - -Package=<5> -{{{ -}}} - -Package=<3> -{{{ -}}} - -############################################################################### - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9524/AI_ContDbfDma/ai.exe b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9524/AI_ContDbfDma/ai.exe deleted file mode 100644 index 489a7c7..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9524/AI_ContDbfDma/ai.exe and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9524/AI_ContDbfDmaFileExtD/ai.c b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9524/AI_ContDbfDmaFileExtD/ai.c deleted file mode 100644 index 6f8c0f8..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9524/AI_ContDbfDmaFileExtD/ai.c +++ /dev/null @@ -1,344 +0,0 @@ -/*----------------------------------------------------------------------------*/ -/* Date: 2007/03/10 */ -/* Company: ADLINK Technology Inc. */ -/* */ -/* This sample setups two system buffer to perform infinitely continuous AI */ -/* read. */ -/* Step1. Setup two buffers and configure AI */ -/* Step2. Start AI */ -/* Step3. Wait Buffer 0 Full */ -/* Step4. You can process the data of buffer while buffer 0 is full, since */ -/* the DMA chip accesses buffer 1 at that time. Note that you should */ -/* complete your data process before the next buffer (Buffer 1) is */ -/* full(Since Buffer 1 is full, the DMA chip accesses Buffer 0). */ -/* Step5. Wait Buffer 1 Full */ -/* Step6. You can process the data of buffer while buffer 1 is full, since */ -/* the DMA chip accesses buffer 0 at that time. Note that you should */ -/* complete your data process before the next buffer (Buffer 0) is */ -/* full(Since Buffer 0 is full, the DMA chip accesses Buffer 1). */ -/* Step7. repeat Step3 to Step6 */ -/*----------------------------------------------------------------------------*/ -#include -#include -#include -#include -#include "dask.h" - -#define READCOUNT 60 - - -int main(int argc, char **argv) -{ - I16 card, err; - U16 card_num; - FILE *fin; - U8 *FileName = "acq"; - - U32 ReadCount = READCOUNT; - U32 Buffer1[READCOUNT]; - U16 BufID1; - U32 Buffer2[READCOUNT]; - U16 BufID2; - - U16 Group; - U16 XMode = P9524_AI_XFER_DMA; - U16 ADC_Range; - U16 ADC_SampRate; - U16 ConfigCtrl; - U16 TrigCtrl; - U32 dwTrigValue = 0; - - U16 Channel; - BOOLEAN Stopped = 0; - BOOLEAN HalfReady = 0; - U32 AccessCnt; - int viewidx = 0; - U16 overrunFlag = 0; - F64 ActualRate; - F64 voltageArray[READCOUNT]; - - memset(Buffer1, '\0', ReadCount*4); - memset(Buffer2, '\0', ReadCount*4); - memset(voltageArray, '\0', ReadCount*8); - - if(!(fin=fopen("acq.dat", "w"))){ - printf("fopen error\n"); - exit(1); - } - - printf("This sample performs infinite AI continuous read with External Digital trigger.\n"); - printf("Card Number? "); - scanf(" %hd", &card_num); - - card = Register_Card(PCI_9524, card_num); - if(card<0){ - printf("Register_Card Error: %d\n", card); - fclose(fin); - exit(1); - } - - printf("Load Cell Channel[0] or General Purpose Channel[1]? [0]or[1] "); - scanf(" %hd", &Group); - if(Group>1){ - printf("invalid group\n"); - Release_Card(card); - fclose(fin); - exit(1); - } - - err = AI_AsyncDblBufferMode(card, 1); - if(err<0){ - printf("AI_AsyncDblBufferMode Error: %d\n", err); - Release_Card(card); - fclose(fin); - exit(1); - } - - /*In Double Buffer Mode, you should setup two buffers*/ - err = AI_ContBufferSetup(card, Buffer1, ReadCount, &BufID1); - if(err<0){ - printf("AI_ContBufferSetup1 Error: %d\n", err); - Release_Card(card); - fclose(fin); - exit(1); - } - - err = AI_ContBufferSetup(card, Buffer2, ReadCount, &BufID2); - if(err<0){ - printf("AI_ContBufferSetup2 Error: %d\n", err); - Release_Card(card); - fclose(fin); - exit(1); - } - - if(!Group){ - /*Load Cell Group*/ - /*Set DSP - it is necessary fot Load Cell Group*/ - U16 DFStage = 2; - U32 SPKRejThreshold = 16; - - Channel = P9524_AI_LC_CH0; - ConfigCtrl = P9524_VEX_Range_10V|P9524_VEX_Sence_Remote|P9524_AI_AZMode|P9524_AI_BufAutoReset; - TrigCtrl = P9524_TRGMOD_POST|P9524_TRGSRC_ExtD; - ADC_Range = 0; - ADC_SampRate = P9524_ADC_60_SPS; - - err = AI_9524_SetDSP(card, Channel, P9524_SPIKE_REJ_ENABLE, DFStage, SPKRejThreshold); - if(err<0){ - printf("AI_9524_SetDSP Error: %d\n", err); - AI_ContBufferReset(card); - Release_Card(card); - fclose(fin); - exit(1); - } - - err = AI_9524_Config(card, Group, XMode, ConfigCtrl, TrigCtrl, dwTrigValue); - if(err<0){ - printf("AI_9524_Config Error: %d\n", err); - AI_ContBufferReset(card); - Release_Card(card); - fclose(fin); - exit(0); - } - - printf("\nPress any key to start AI Acquisition\n"); - getch(); - printf("\nWait External Digital Rising Trigger...\n"); - printf("You can press any key to stop...\n"); - - err = AI_ContReadChannelToFile(card, Channel, ADC_Range, FileName, ReadCount, (F64)ADC_SampRate, ASYNCH_OP); - if(err<0){ - printf("AI_ContReadChannelToFile Error: %d\n", err); - AI_ContBufferReset(card); - Release_Card(card); - fclose(fin); - exit(1); - } - - /*Process Double Buffer Mode*/ - do{ - err = AI_AsyncDblBufferHalfReady(card, &HalfReady, &Stopped); - if(err<0){ - printf("AI_AsyncCheck Error: %d\n", err); - AI_ContBufferReset(card); - Release_Card(card); - fclose(fin); - exit(1); - } - if(HalfReady){ - if(!viewidx){ - printf("Buffer 1 HalfReady, Process the acquired data of Buffer 1\n"); - /*Process buffer 1 data*/ - err = AI_AsyncDblBufferToFile(card); - if(err<0){ - printf("AI_AsyncDblBufferToFile1 Error: %d\n", err); - } - viewidx = 1; - /*Tell the driver you complete the buffer 1 process*/ - err = AI_AsyncDblBufferHandled(card); - if(err<0){ - printf("AI_AsyncDblBufferHandled1 Error: %d\n", err); - } - } - else{ - printf("Buffer 2 HalfReady, Process the acquired data of Buffer 2\n"); - /*Process buffer 2 data*/ - err = AI_AsyncDblBufferToFile(card); - if(err<0){ - printf("AI_AsyncDblBufferToFile2 Error: %d\n", err); - } - viewidx = 0; - /*Tell the driver you complete the buffer 2 process*/ - err = AI_AsyncDblBufferHandled(card); - if(err<0){ - printf("AI_AsyncDblBufferHandled2 Error: %d\n", err); - } - } - - // This function can check if the overrun occurs. If the - // function is called, AI_AsyncDblBufferHandled() should - // be called to let driver to know user buffer is processed - // completely - err = AI_AsyncDblBufferOverrun(card, 0, &overrunFlag); - if(err<0){ - printf("AI_AsyncDblBufferOverrun Error: %d\n", err); - } - if(overrunFlag){ - printf("OVERRUN: %d, Lose Some data\n", overrunFlag); - AI_AsyncDblBufferOverrun(card, 1, &overrunFlag); - } - } - }while((!Stopped)&&(!kbhit())); getch(); - - GetActualRate_9524(card, Group, (F64)ADC_SampRate, &ActualRate); - printf("\n\nLoad Cell Channel 0 Acquisition Done in %f Actual Rate...\n", ActualRate); - printf("The acquired data stored in %s.dat\n", FileName); - - /*Clear AI setting while existing*/ - err = AI_AsyncClear(card, &AccessCnt); - if(err<0){ - printf("AI_AsyncClear Error: %d\n", err); - AI_ContBufferReset(card); - Release_Card(card); - fclose(fin); - exit(1); - } - } - else{ //General Purpose Group - /*General Purpose Group*/ - Channel = P9524_AI_GP_CH0; - ConfigCtrl = P9524_AI_BufAutoReset; - TrigCtrl = P9524_TRGMOD_POST|P9524_TRGSRC_ExtD|P9524_AI_TrgNegative; - ADC_Range = AD_B_10_V; - ADC_SampRate = P9524_ADC_60_SPS; - - err = AI_9524_Config(card, Group, XMode, ConfigCtrl, TrigCtrl, dwTrigValue); - if(err<0){ - printf("AI_9524_Config Error: %d\n", err); - AI_ContBufferReset(card); - Release_Card(card); - fclose(fin); - exit(0); - } - - printf("\nPress any key to start AI Acquisition\n"); - getch(); - printf("\nWait External Digital falling Trigger...\n"); - printf("You can press any key to stop...\n"); - - err = AI_ContReadChannelToFile(card, Channel, ADC_Range, FileName, ReadCount, (F64)ADC_SampRate, ASYNCH_OP); - if(err<0){ - printf("AI_ContReadChannelToFile Error: %d\n", err); - AI_ContBufferReset(card); - Release_Card(card); - fclose(fin); - exit(1); - } - - /*Process Double Buffer Mode*/ - do{ - err = AI_AsyncDblBufferHalfReady(card, &HalfReady, &Stopped); - if(err<0){ - printf("AI_AsyncCheck Error: %d\n", err); - AI_ContBufferReset(card); - Release_Card(card); - fclose(fin); - exit(1); - } - if(HalfReady){ - if(!viewidx){ - printf("Buffer 1 HalfReady, Process the acquired data of Buffer 1\n"); - /*Process buffer 1 data*/ - err = AI_AsyncDblBufferToFile(card); - if(err<0){ - printf("AI_AsyncDblBufferToFile1 Error: %d\n", err); - } - viewidx = 1; - /*Tell the driver you complete the buffer 1 process*/ - err = AI_AsyncDblBufferHandled(card); - if(err<0){ - printf("AI_AsyncDblBufferHandled1 Error: %d\n", err); - } - } - else{ - printf("Buffer 2 HalfReady, Process the acquired data of Buffer 2\n"); - /*Process buffer 2 data*/ - err = AI_AsyncDblBufferToFile(card); - if(err<0){ - printf("AI_AsyncDblBufferToFile2 Error: %d\n", err); - } - viewidx = 0; - /*Tell the driver you complete the buffer 2 process*/ - err = AI_AsyncDblBufferHandled(card); - if(err<0){ - printf("AI_AsyncDblBufferHandled2 Error: %d\n", err); - } - } - - // This function can check if the overrun occurs. If the - // function is called, AI_AsyncDblBufferHandled() should - // be called to let driver to know user buffer is processed - // completely - err = AI_AsyncDblBufferOverrun(card, 0, &overrunFlag); - if(err<0){ - printf("AI_AsyncDblBufferOverrun Error: %d\n", err); - } - if(overrunFlag){ - printf("OVERRUN: %d, Lose Some data\n", overrunFlag); - AI_AsyncDblBufferOverrun(card, 1, &overrunFlag); - } - } - }while((!Stopped)&&(!kbhit())); getch(); - - GetActualRate_9524(card, Group, (F64)ADC_SampRate, &ActualRate); - printf("\n\nGeneral Purpose Channel 0 Acquisition Done in %f Actual Rate...\n", ActualRate); - printf("The acquired data stored in %s.dat\n", FileName); - - /*Clear AI setting while existing*/ - err = AI_AsyncClear(card, &AccessCnt); - if(err<0){ - printf("AI_AsyncClear Error: %d\n", err); - AI_ContBufferReset(card); - Release_Card(card); - fclose(fin); - exit(1); - } - } - - if(!(ConfigCtrl&P9524_AI_BufAutoReset)){ - err = AI_ContBufferReset(card); - if(err<0){ - printf("AI_ContBufferReset Error: %d\n", err); - Release_Card(card); - fclose(fin); - exit(1); - } - } - - printf("\npress any key to exit...\n"); - getch(); - Release_Card(card); - fclose(fin); - - return 0; -} diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9524/AI_ContDbfDmaFileExtD/ai.dsp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9524/AI_ContDbfDmaFileExtD/ai.dsp deleted file mode 100644 index c26103a..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9524/AI_ContDbfDmaFileExtD/ai.dsp +++ /dev/null @@ -1,102 +0,0 @@ -# Microsoft Developer Studio Project File - Name="ai" - Package Owner=<4> -# Microsoft Developer Studio Generated Build File, Format Version 6.00 -# ** DO NOT EDIT ** - -# TARGTYPE "Win32 (x86) Console Application" 0x0103 - -CFG=ai - Win32 Debug -!MESSAGE This is not a valid makefile. To build this project using NMAKE, -!MESSAGE use the Export Makefile command and run -!MESSAGE -!MESSAGE NMAKE /f "ai.mak". -!MESSAGE -!MESSAGE You can specify a configuration when running NMAKE -!MESSAGE by defining the macro CFG on the command line. For example: -!MESSAGE -!MESSAGE NMAKE /f "ai.mak" CFG="ai - Win32 Debug" -!MESSAGE -!MESSAGE Possible choices for configuration are: -!MESSAGE -!MESSAGE "ai - Win32 Release" (based on "Win32 (x86) Console Application") -!MESSAGE "ai - Win32 Debug" (based on "Win32 (x86) Console Application") -!MESSAGE - -# Begin Project -# PROP AllowPerConfigDependencies 0 -# PROP Scc_ProjName "" -# PROP Scc_LocalPath "" -CPP=cl.exe -RSC=rc.exe - -!IF "$(CFG)" == "ai - Win32 Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "Release" -# PROP BASE Intermediate_Dir "Release" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "" -# PROP Intermediate_Dir "Release" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c -# ADD CPP /nologo /W3 /GX /O2 /I "../../../include" /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c -# ADD BASE RSC /l 0x404 /d "NDEBUG" -# ADD RSC /l 0x404 /d "NDEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ../../../lib/pci-dask.lib /nologo /subsystem:console /machine:I386 - -!ELSEIF "$(CFG)" == "ai - Win32 Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "Debug" -# PROP BASE Intermediate_Dir "Debug" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "Debug" -# PROP Intermediate_Dir "Debug" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /GZ /c -# ADD CPP /nologo /W3 /Gm /GX /ZI /Od /I "../../../include" /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /GZ /c -# ADD BASE RSC /l 0x404 /d "_DEBUG" -# ADD RSC /l 0x404 /d "_DEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ../../../lib/pci-dask.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept - -!ENDIF - -# Begin Target - -# Name "ai - Win32 Release" -# Name "ai - Win32 Debug" -# Begin Group "Source Files" - -# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;idl;hpj;bat" -# Begin Source File - -SOURCE=.\ai.c -# End Source File -# End Group -# Begin Group "Header Files" - -# PROP Default_Filter "h;hpp;hxx;hm;inl" -# End Group -# Begin Group "Resource Files" - -# PROP Default_Filter "ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe" -# End Group -# End Target -# End Project diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9524/AI_ContDbfDmaFileExtD/ai.dsw b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9524/AI_ContDbfDmaFileExtD/ai.dsw deleted file mode 100644 index 2e548b2..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9524/AI_ContDbfDmaFileExtD/ai.dsw +++ /dev/null @@ -1,29 +0,0 @@ -Microsoft Developer Studio Workspace File, Format Version 6.00 -# WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE! - -############################################################################### - -Project: "ai"=.\ai.dsp - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ -}}} - -############################################################################### - -Global: - -Package=<5> -{{{ -}}} - -Package=<3> -{{{ -}}} - -############################################################################### - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9524/AI_ContDbfDmaFileExtD/ai.exe b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9524/AI_ContDbfDmaFileExtD/ai.exe deleted file mode 100644 index 2082e77..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9524/AI_ContDbfDmaFileExtD/ai.exe and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9524/AI_ContDbfScansFile/ai.c b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9524/AI_ContDbfScansFile/ai.c deleted file mode 100644 index e4befdf..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9524/AI_ContDbfScansFile/ai.c +++ /dev/null @@ -1,344 +0,0 @@ -/*----------------------------------------------------------------------------*/ -/* Date: 2007/03/10 */ -/* Company: ADLINK Technology Inc. */ -/* */ -/* This sample setups two system buffer to perform infinitely continuous AI */ -/* read. */ -/* Step1. Setup two buffers and configure AI */ -/* Step2. Start AI */ -/* Step3. Wait Buffer 0 Full */ -/* Step4. You can process the data of buffer while buffer 0 is full, since */ -/* the DMA chip accesses buffer 1 at that time. Note that you should */ -/* complete your data process before the next buffer (Buffer 1) is */ -/* full(Since Buffer 1 is full, the DMA chip accesses Buffer 0). */ -/* Step5. Wait Buffer 1 Full */ -/* Step6. You can process the data of buffer while buffer 1 is full, since */ -/* the DMA chip accesses buffer 0 at that time. Note that you should */ -/* complete your data process before the next buffer (Buffer 0) is */ -/* full(Since Buffer 0 is full, the DMA chip accesses Buffer 1). */ -/* Step7. repeat Step3 to Step6 */ -/*----------------------------------------------------------------------------*/ -#include -#include -#include -#include -#include "dask.h" - -#define READCOUNT 60 - -int main(int argc, char **argv) -{ - I16 card, err; - U16 card_num; - FILE *fin; - unsigned short i; - - U32 ReadCount = READCOUNT; - U32 Buffer1[READCOUNT]; - U16 BufID1; - U32 Buffer2[READCOUNT]; - U16 BufID2; - - U16 Group; - U16 XMode = P9524_AI_XFER_DMA; - U16 ADC_Range; - U16 ADC_SampRate; - U16 ConfigCtrl; - U16 TrigCtrl = 0; - U32 dwTrigValue = 0; - - U16 Channel; - BOOLEAN Stopped = 0; - BOOLEAN HalfReady = 0; - U32 AccessCnt; - int viewidx = 0; - U16 overrunFlag = 0; - F64 ActualRate; - F64 voltageArray[READCOUNT]; - - U8 *FileName = "acq"; - - memset(Buffer1, '\0', ReadCount*4); - memset(Buffer2, '\0', ReadCount*4); - memset(voltageArray, '\0', ReadCount*8); - - if(!(fin=fopen("acq.dat", "w"))){ - printf("fopen error\n"); - exit(1); - } - - printf("This sample Scans AI channels infinitely by Double-Buffer Mode.\n"); - printf("Card Number? "); - scanf(" %hd", &card_num); - - card = Register_Card(PCI_9524, card_num); - if(card<0){ - printf("Register_Card Error: %d\n", card); - fclose(fin); - exit(1); - } - - printf("Load Cell Channel[0] or General Purpose Channel[1]? [0]or[1] "); - scanf(" %hd", &Group); - if(Group>1){ - printf("invalid group\n"); - Release_Card(card); - fclose(fin); - exit(1); - } - - err = AI_AsyncDblBufferMode(card, 1); - if(err<0){ - printf("AI_AsyncDblBufferMode Error: %d\n", err); - Release_Card(card); - fclose(fin); - exit(1); - } - - /*In Double Buffer Mode, you should setup two buffers*/ - err = AI_ContBufferSetup(card, Buffer1, ReadCount, &BufID1); - if(err<0){ - printf("AI_ContBufferSetup1 Error: %d\n", err); - Release_Card(card); - fclose(fin); - exit(1); - } - - err = AI_ContBufferSetup(card, Buffer2, ReadCount, &BufID2); - if(err<0){ - printf("AI_ContBufferSetup2 Error: %d\n", err); - Release_Card(card); - fclose(fin); - exit(1); - } - - if(!Group){ - /*Load Cell Group*/ - /*Set DSP - it is necessary fot Load Cell Group*/ - U16 DFStage = 2; - U32 SPKRejThreshold = 268; - - Channel = P9524_AI_LC_CH3; - ConfigCtrl = P9524_VEX_Range_10V|P9524_VEX_Sence_Remote|P9524_AI_AZMode|P9524_AI_BufAutoReset; - ADC_Range = 0; - ADC_SampRate = P9524_ADC_60_SPS; - - for(i=0; i<=Channel; i++){ - err = AI_9524_SetDSP(card, i, P9524_SPIKE_REJ_ENABLE, DFStage, SPKRejThreshold); - if(err<0){ - printf("AI_9524_SetDSP%d Error: %d\n", i, err); - AI_ContBufferReset(card); - Release_Card(card); - fclose(fin); - exit(1); - } - } - - err = AI_9524_Config(card, Group, XMode, ConfigCtrl, TrigCtrl, dwTrigValue); - if(err<0){ - printf("AI_9524_Config Error: %d\n", err); - AI_ContBufferReset(card); - Release_Card(card); - fclose(fin); - exit(0); - } - - printf("\nPress any key to start AI Infinite Channel Scans\n"); - getch(); - printf("\nYou can press any key to stop...\n\n"); - - err = AI_ContScanChannelsToFile(card, Channel, ADC_Range, FileName, ReadCount, (F64)ADC_SampRate, ASYNCH_OP); - if(err<0){ - printf("AI_ContScanChannelsToFile Error: %d\n", err); - AI_ContBufferReset(card); - Release_Card(card); - fclose(fin); - exit(1); - } - - /*Process Double Buffer Mode*/ - do{ - err = AI_AsyncDblBufferHalfReady(card, &HalfReady, &Stopped); - if(err<0){ - printf("AI_AsyncCheck Error: %d\n", err); - AI_ContBufferReset(card); - Release_Card(card); - fclose(fin); - exit(1); - } - if(HalfReady){ - if(!viewidx){ - printf("Buffer 1 HalfReady, Process the data of buffer 1\n"); - /*Process buffer 1 data*/ - err = AI_AsyncDblBufferToFile(card); - if(err<0){ - printf("AI_AsyncDblBufferToFile Error: %d\n", err); - } - viewidx = 1; - /*Tell the driver you complete the buffer 1 process*/ - err = AI_AsyncDblBufferHandled(card); - if(err<0){ - printf("AI_AsyncDblBufferHandled1 Error: %d\n", err); - } - } - else{ - printf("Buffer 2 HalfReady, Process the data of buffer 2\n"); - /*Process buffer 2 data*/ - err = AI_AsyncDblBufferToFile(card); - if(err<0){ - printf("AI_AsyncDblBufferHandled1 Error: %d\n", err); - } - viewidx = 0; - /*Tell the driver you complete the buffer 2 process*/ - err = AI_AsyncDblBufferHandled(card); - if(err<0){ - printf("AI_AsyncDblBufferHandled2 Error: %d\n", err); - } - } - - // This function can check if the overrun occurs. If the - // function is called, AI_AsyncDblBufferHandled() should - // be called to let driver to know user buffer is processed - // completely - err = AI_AsyncDblBufferOverrun(card, 0, &overrunFlag); - if(err<0){ - printf("AI_AsyncDblBufferOverrun Error: %d\n", err); - } - if(overrunFlag){ - printf("OVERRUN: %d, Lose Some data\n", overrunFlag); - AI_AsyncDblBufferOverrun(card, 1, &overrunFlag); - } - } - }while((!Stopped)&&(!kbhit())); getch(); - - GetActualRate_9524(card, Group, (F64)ADC_SampRate, &ActualRate); - printf("\n\nScan Load Cell Group Done in %f Actual Rate...\n", ActualRate); - printf("The acquired data stored in %s.dat\n", FileName); - - /*Clear AI setting while existing*/ - err = AI_AsyncClear(card, &AccessCnt); - if(err<0){ - printf("AI_AsyncClear Error: %d\n", err); - AI_ContBufferReset(card); - Release_Card(card); - fclose(fin); - exit(1); - } - } - else{ //General Purpose Group - /*General Purpose Group*/ - Channel = P9524_AI_GP_CH3; - ConfigCtrl = P9524_AI_BufAutoReset; - ADC_Range = AD_B_10_V; - ADC_SampRate = P9524_ADC_60_SPS; - - err = AI_9524_Config(card, Group, XMode, ConfigCtrl, TrigCtrl, dwTrigValue); - if(err<0){ - printf("AI_9524_Config Error: %d\n", err); - AI_ContBufferReset(card); - Release_Card(card); - fclose(fin); - exit(0); - } - - printf("\nPress any key to start AI Infinite Channel Scans\n"); - getch(); - printf("\nYou can press any key to stop...\n\n"); - - err = AI_ContScanChannelsToFile(card, Channel, ADC_Range, FileName, ReadCount, (F64)ADC_SampRate, ASYNCH_OP); - if(err<0){ - printf("AI_ContScanChannels Error: %d\n", err); - AI_ContBufferReset(card); - Release_Card(card); - fclose(fin); - exit(1); - } - - /*Process Double Buffer Mode*/ - do{ - err = AI_AsyncDblBufferHalfReady(card, &HalfReady, &Stopped); - if(err<0){ - printf("AI_AsyncCheck Error: %d\n", err); - AI_ContBufferReset(card); - Release_Card(card); - fclose(fin); - exit(1); - } - if(HalfReady){ - if(!viewidx){ - printf("Buffer 1 HalfReady, Process the data of buffer 1\n"); - /*Process buffer 1 data*/ - AI_ContVScale(card, ADC_Range, Buffer1, voltageArray, ReadCount); - err = AI_AsyncDblBufferToFile(card); - if(err<0){ - printf("AI_AsyncDblBufferHandled1 Error: %d\n", err); - } - viewidx = 1; - /*Tell the driver you complete the buffer 1 process*/ - err = AI_AsyncDblBufferHandled(card); - if(err<0){ - printf("AI_AsyncDblBufferHandled1 Error: %d\n", err); - } - } - else{ - printf("Buffer 2 HalfReady, Process the data of buffer 2\n"); - /*Process buffer 2 data*/ - err = AI_AsyncDblBufferToFile(card); - if(err<0){ - printf("AI_AsyncDblBufferHandled1 Error: %d\n", err); - } - viewidx = 0; - /*Tell the driver you complete the buffer 2 process*/ - err = AI_AsyncDblBufferHandled(card); - if(err<0){ - printf("AI_AsyncDblBufferHandled2 Error: %d\n", err); - } - } - - // This function can check if the overrun occurs. If the - // function is called, AI_AsyncDblBufferHandled() should - // be called to let driver to know user buffer is processed - // completely - err = AI_AsyncDblBufferOverrun(card, 0, &overrunFlag); - if(err<0){ - printf("AI_AsyncDblBufferOverrun Error: %d\n", err); - } - if(overrunFlag){ - printf("OVERRUN: %d, Lose Some data\n", overrunFlag); - AI_AsyncDblBufferOverrun(card, 1, &overrunFlag); - } - } - }while((!Stopped)&&(!kbhit())); getch(); - - GetActualRate_9524(card, Group, (F64)ADC_SampRate, &ActualRate); - printf("\n\nScan General Purpose Group Done in %f Actual Rate...\n", ActualRate); - printf("The acquired data stored in %s.dat\n", FileName); - - /*Clear AI setting while existing*/ - err = AI_AsyncClear(card, &AccessCnt); - if(err<0){ - printf("AI_AsyncClear Error: %d\n", err); - AI_ContBufferReset(card); - Release_Card(card); - fclose(fin); - exit(1); - } - } - - if(!(ConfigCtrl&P9524_AI_BufAutoReset)){ - err = AI_ContBufferReset(card); - if(err<0){ - printf("AI_ContBufferReset Error: %d\n", err); - Release_Card(card); - fclose(fin); - exit(1); - } - } - - printf("\npress any key to exit...\n"); - getch(); - Release_Card(card); - fclose(fin); - - return 0; -} diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9524/AI_ContDbfScansFile/ai.dsp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9524/AI_ContDbfScansFile/ai.dsp deleted file mode 100644 index c26103a..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9524/AI_ContDbfScansFile/ai.dsp +++ /dev/null @@ -1,102 +0,0 @@ -# Microsoft Developer Studio Project File - Name="ai" - Package Owner=<4> -# Microsoft Developer Studio Generated Build File, Format Version 6.00 -# ** DO NOT EDIT ** - -# TARGTYPE "Win32 (x86) Console Application" 0x0103 - -CFG=ai - Win32 Debug -!MESSAGE This is not a valid makefile. To build this project using NMAKE, -!MESSAGE use the Export Makefile command and run -!MESSAGE -!MESSAGE NMAKE /f "ai.mak". -!MESSAGE -!MESSAGE You can specify a configuration when running NMAKE -!MESSAGE by defining the macro CFG on the command line. For example: -!MESSAGE -!MESSAGE NMAKE /f "ai.mak" CFG="ai - Win32 Debug" -!MESSAGE -!MESSAGE Possible choices for configuration are: -!MESSAGE -!MESSAGE "ai - Win32 Release" (based on "Win32 (x86) Console Application") -!MESSAGE "ai - Win32 Debug" (based on "Win32 (x86) Console Application") -!MESSAGE - -# Begin Project -# PROP AllowPerConfigDependencies 0 -# PROP Scc_ProjName "" -# PROP Scc_LocalPath "" -CPP=cl.exe -RSC=rc.exe - -!IF "$(CFG)" == "ai - Win32 Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "Release" -# PROP BASE Intermediate_Dir "Release" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "" -# PROP Intermediate_Dir "Release" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c -# ADD CPP /nologo /W3 /GX /O2 /I "../../../include" /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c -# ADD BASE RSC /l 0x404 /d "NDEBUG" -# ADD RSC /l 0x404 /d "NDEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ../../../lib/pci-dask.lib /nologo /subsystem:console /machine:I386 - -!ELSEIF "$(CFG)" == "ai - Win32 Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "Debug" -# PROP BASE Intermediate_Dir "Debug" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "Debug" -# PROP Intermediate_Dir "Debug" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /GZ /c -# ADD CPP /nologo /W3 /Gm /GX /ZI /Od /I "../../../include" /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /GZ /c -# ADD BASE RSC /l 0x404 /d "_DEBUG" -# ADD RSC /l 0x404 /d "_DEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ../../../lib/pci-dask.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept - -!ENDIF - -# Begin Target - -# Name "ai - Win32 Release" -# Name "ai - Win32 Debug" -# Begin Group "Source Files" - -# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;idl;hpj;bat" -# Begin Source File - -SOURCE=.\ai.c -# End Source File -# End Group -# Begin Group "Header Files" - -# PROP Default_Filter "h;hpp;hxx;hm;inl" -# End Group -# Begin Group "Resource Files" - -# PROP Default_Filter "ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe" -# End Group -# End Target -# End Project diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9524/AI_ContDbfScansFile/ai.dsw b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9524/AI_ContDbfScansFile/ai.dsw deleted file mode 100644 index 2e548b2..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9524/AI_ContDbfScansFile/ai.dsw +++ /dev/null @@ -1,29 +0,0 @@ -Microsoft Developer Studio Workspace File, Format Version 6.00 -# WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE! - -############################################################################### - -Project: "ai"=.\ai.dsp - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ -}}} - -############################################################################### - -Global: - -Package=<5> -{{{ -}}} - -Package=<3> -{{{ -}}} - -############################################################################### - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9524/AI_ContDbfScansFile/ai.exe b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9524/AI_ContDbfScansFile/ai.exe deleted file mode 100644 index 9e9a736..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9524/AI_ContDbfScansFile/ai.exe and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9524/AI_ContDma/ai.c b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9524/AI_ContDma/ai.c deleted file mode 100644 index da99050..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9524/AI_ContDma/ai.c +++ /dev/null @@ -1,195 +0,0 @@ -/*----------------------------------------------------------------------------*/ -/* Date: 2008/03/10 */ -/* Company: ADLINK Technology Inc. */ -/* */ -/* This sample performs continuous AI operation by DMA mode. */ -/* PCI-9524 has two AI group, load cell group and general purpose group. */ -/* You should configure the AI group/channels and setup Buffer before */ -/* acquired data. */ -/* There are some advaned configuration releated DSP should be set while */ -/* load cell group is performing. */ -/*----------------------------------------------------------------------------*/ -#include -#include -#include -#include -#include "dask.h" - -#define READCOUNT 4096 -#define TimeOut 20000 - - -int main(int argc, char **argv) -{ - I16 card, err; - U16 card_num; - FILE *fin; - int i; - - U32 Buffer1[READCOUNT]; - U32 ReadCount = READCOUNT; - U16 BufID1; - - U16 Group; - U16 XMode = P9524_AI_XFER_DMA; - U16 ADC_Range; - U16 ADC_SampRate; - U16 ConfigCtrl; - U16 TrigCtrl = 0; - U32 dwTrigValue = 0; - - U16 Channel; - F64 voltageArray[READCOUNT]; - F64 ActualRate; - - memset(Buffer1, '\0', ReadCount*4); - memset(voltageArray, '\0', ReadCount*8); - - if(!(fin=fopen("acq.dat", "w"))){ - printf("fopen error\n"); - exit(1); - } - - printf("This sample performs Continuous AI operation.\n"); - printf("Card Number? "); - scanf(" %hd", &card_num); - - card = Register_Card(PCI_9524, card_num); - if(card<0){ - printf("Register_Card Error: %d\n", card); - fclose(fin); - exit(1); - } - - printf("Load Cell Channel[0] or General Purpose Channel[1]? [0]or[1] "); - scanf(" %hd", &Group); - if(Group>1){ - printf("Invalid Group\n"); - Release_Card(card); - fclose(fin); - exit(1); - } - - err = AI_SetTimeOut(card, TimeOut); - if(err<0){ - printf("AI_SetTimeOut Error: %d\n", err); - Release_Card(card); - fclose(fin); - exit(1); - } - - err = AI_ContBufferSetup(card, Buffer1, ReadCount, &BufID1); - if(err<0){ - printf("AI_ContBufferSetup Error: %d\n", err); - Release_Card(card); - fclose(fin); - exit(1); - } - - if(!Group){ - /*Load Cell Group*/ - U16 DFStage = 5; - U32 SPKRejThreshold = 268; - - Channel = P9524_AI_LC_CH0; - ConfigCtrl = P9524_VEX_Range_10V|P9524_VEX_Sence_Remote|P9524_AI_AZMode|P9524_AI_BufAutoReset; - ADC_Range = 0; - ADC_SampRate = P9524_ADC_30K_SPS; - - err = AI_9524_SetDSP(card, Channel, P9524_SPIKE_REJ_ENABLE, DFStage, SPKRejThreshold); - if(err<0){ - printf("AI_9524_SetDSP Error: %d\n", err); - AI_ContBufferReset(card); - Release_Card(card); - fclose(fin); - exit(1); - } - - err = AI_9524_Config(card, Group, XMode, ConfigCtrl, TrigCtrl, dwTrigValue); - if(err<0){ - printf("AI_9524_Config Error: %d\n", err); - AI_ContBufferReset(card); - Release_Card(card); - fclose(fin); - exit(1); - } - - printf("\nPress any key to start AI Acquisition\n"); - getch(); - - err = AI_ContReadChannel(card, Channel, ADC_Range, &BufID1, ReadCount, (F64)ADC_SampRate, SYNCH_OP); - if(err<0){ - printf("AI_ContReadChannel Error: %d\n", err); - AI_ContBufferReset(card); - Release_Card(card); - fclose(fin); - exit(1); - } - - GetActualRate_9524(card, Group, (F64)ADC_SampRate, &ActualRate); - printf("\n\nLoad Cell Channel 0 Acquisition Done in %f Actual Rate...\n", ActualRate); - - printf("Write data to acq.dat file...\n"); - - AI_ContVScale(card, ADC_Range, Buffer1, voltageArray, ReadCount); - fprintf(fin, "Raw Data, Scaled Voltage\n\n"); - for(i=0; i -# Microsoft Developer Studio Generated Build File, Format Version 6.00 -# ** DO NOT EDIT ** - -# TARGTYPE "Win32 (x86) Console Application" 0x0103 - -CFG=ai - Win32 Debug -!MESSAGE This is not a valid makefile. To build this project using NMAKE, -!MESSAGE use the Export Makefile command and run -!MESSAGE -!MESSAGE NMAKE /f "ai.mak". -!MESSAGE -!MESSAGE You can specify a configuration when running NMAKE -!MESSAGE by defining the macro CFG on the command line. For example: -!MESSAGE -!MESSAGE NMAKE /f "ai.mak" CFG="ai - Win32 Debug" -!MESSAGE -!MESSAGE Possible choices for configuration are: -!MESSAGE -!MESSAGE "ai - Win32 Release" (based on "Win32 (x86) Console Application") -!MESSAGE "ai - Win32 Debug" (based on "Win32 (x86) Console Application") -!MESSAGE - -# Begin Project -# PROP AllowPerConfigDependencies 0 -# PROP Scc_ProjName "" -# PROP Scc_LocalPath "" -CPP=cl.exe -RSC=rc.exe - -!IF "$(CFG)" == "ai - Win32 Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "Release" -# PROP BASE Intermediate_Dir "Release" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "" -# PROP Intermediate_Dir "Release" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c -# ADD CPP /nologo /W3 /GX /O2 /I "../../../include" /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c -# ADD BASE RSC /l 0x404 /d "NDEBUG" -# ADD RSC /l 0x404 /d "NDEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ../../../lib/pci-dask.lib /nologo /subsystem:console /machine:I386 - -!ELSEIF "$(CFG)" == "ai - Win32 Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "Debug" -# PROP BASE Intermediate_Dir "Debug" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "Debug" -# PROP Intermediate_Dir "Debug" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /GZ /c -# ADD CPP /nologo /W3 /Gm /GX /ZI /Od /I "../../../include" /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /GZ /c -# ADD BASE RSC /l 0x404 /d "_DEBUG" -# ADD RSC /l 0x404 /d "_DEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ../../../lib/pci-dask.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept - -!ENDIF - -# Begin Target - -# Name "ai - Win32 Release" -# Name "ai - Win32 Debug" -# Begin Group "Source Files" - -# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;idl;hpj;bat" -# Begin Source File - -SOURCE=.\ai.c -# End Source File -# End Group -# Begin Group "Header Files" - -# PROP Default_Filter "h;hpp;hxx;hm;inl" -# End Group -# Begin Group "Resource Files" - -# PROP Default_Filter "ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe" -# End Group -# End Target -# End Project diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9524/AI_ContDma/ai.dsw b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9524/AI_ContDma/ai.dsw deleted file mode 100644 index 2e548b2..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9524/AI_ContDma/ai.dsw +++ /dev/null @@ -1,29 +0,0 @@ -Microsoft Developer Studio Workspace File, Format Version 6.00 -# WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE! - -############################################################################### - -Project: "ai"=.\ai.dsp - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ -}}} - -############################################################################### - -Global: - -Package=<5> -{{{ -}}} - -Package=<3> -{{{ -}}} - -############################################################################### - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9524/AI_ContDma/ai.exe b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9524/AI_ContDma/ai.exe deleted file mode 100644 index b2805cb..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9524/AI_ContDma/ai.exe and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9524/AI_ContDmaExtD/ai.c b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9524/AI_ContDmaExtD/ai.c deleted file mode 100644 index fe59e71..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9524/AI_ContDmaExtD/ai.c +++ /dev/null @@ -1,242 +0,0 @@ -/*----------------------------------------------------------------------------*/ -/* Date: 2008/03/10 */ -/* Company: ADLINK Technology Inc. */ -/* */ -/* This sample performs continuous AI operation with External Digital Trigger.*/ -/* The external digital trigger pin is bit 0 of DI port. */ -/* PCI-9524 has two AI group, load cell group and general purpose group. */ -/* You should configure the AI group/channels and setup Buffer before */ -/* acquired data. */ -/* There are some advaned configuration releated DSP should be set while */ -/* load cell group is performing. */ -/*----------------------------------------------------------------------------*/ -#include -#include -#include -#include -#include "dask.h" - -#define READCOUNT 4096 - - -int main(int argc, char **argv) -{ - I16 card, err; - U16 card_num; - FILE *fin; - int i; - - U32 Buffer1[READCOUNT]; - U32 ReadCount = READCOUNT; - U16 BufID1; - - U16 Group; - U16 XMode = P9524_AI_XFER_DMA; - U16 ADC_Range; - U16 ADC_SampRate; - U16 ConfigCtrl; - U16 TrigCtrl; - U32 dwTrigValue = 0; - - U16 Channel; - BOOLEAN Stopped = FALSE; - U32 AccessCnt; - F64 voltageArray[READCOUNT]; - F64 ActualRate; - - memset(Buffer1, '\0', ReadCount*4); - memset(voltageArray, '\0', ReadCount*8); - - if(!(fin=fopen("acq.dat", "w"))){ - printf("fopen error\n"); - exit(1); - } - - printf("This sample performs Continuous AI operation with External Digital Trigger.\n"); - printf("Card Number? "); - scanf(" %hd", &card_num); - - card = Register_Card(PCI_9524, card_num); - if(card<0){ - printf("Register_Card Error: %d\n", card); - fclose(fin); - exit(1); - } - - printf("Load Cell Channel[0] or General Purpose Channel[1]? [0]or[1] "); - scanf(" %hd", &Group); - if(Group>1){ - printf("invalid group\n"); - Release_Card(card); - fclose(fin); - exit(1); - } - - err = AI_ContBufferSetup(card, Buffer1, ReadCount, &BufID1); - if(err<0){ - printf("AI_ContBufferSetup Error: %d\n", err); - Release_Card(card); - fclose(fin); - exit(1); - } - - if(!Group){ - /*Load Cell Group*/ - U16 DFStage = 5; - U32 SPKRejThreshold = 268; - - ADC_Range = 0; - ADC_SampRate = P9524_ADC_30K_SPS; - ConfigCtrl = P9524_VEX_Range_10V|P9524_VEX_Sence_Remote|P9524_AI_AZMode|P9524_AI_BufAutoReset; - TrigCtrl = P9524_TRGMOD_POST|P9524_TRGSRC_ExtD|P9524_AI_TrgNegative; - Channel = P9524_AI_LC_CH0; - - err = AI_9524_SetDSP(card, Channel, P9524_SPIKE_REJ_ENABLE, DFStage, SPKRejThreshold); - if(err<0){ - printf("AI_9524_SetDSP Error: %d\n", err); - AI_ContBufferReset(card); - Release_Card(card); - fclose(fin); - exit(1); - } - - err = AI_9524_Config(card, Group, XMode, ConfigCtrl, TrigCtrl, dwTrigValue); - if(err<0){ - printf("AI_9524_Config Error: %d\n", err); - AI_ContBufferReset(card); - Release_Card(card); - fclose(fin); - exit(0); - } - - printf("\nPress any key to wait external digital falling trigger\n"); - getch(); - - err = AI_ContReadChannel(card, Channel, ADC_Range, &BufID1, ReadCount, (F64)ADC_SampRate, ASYNCH_OP); - if(err<0){ - printf("AI_ContReadChannel Error: %d\n", err); - AI_ContBufferReset(card); - Release_Card(card); - fclose(fin); - exit(1); - } - - // If AsyncMode is set, you should use AI_AsyncCheck() to check if the - // AI acquisition is done. - // Note that AI_AsyncClear() should be called to clear AI setting. - do{ - err = AI_AsyncCheck(card, &Stopped, &AccessCnt); - if(err<0){ - printf("AI_AsyncCheck Error: %d\n", err); - AI_ContBufferReset(card); - Release_Card(card); - fclose(fin); - exit(1); - } - }while((!Stopped)&&(!kbhit())); - - /*Clear and reset AI setting*/ - err = AI_AsyncClear(card, &AccessCnt); - if(err<0){ - printf("AI_AsyncCheck Error: %d\n", err); - AI_ContBufferReset(card); - Release_Card(card); - fclose(fin); - exit(1); - } - - /*Get Actual ADC Speed*/ - GetActualRate_9524(card, Group, (F64)ADC_SampRate, &ActualRate); - printf("\n\nLoad Cell Channel 0 Acquisition Done in %f Actual Rate...\n", ActualRate); - - printf("Write data to acq.dat file...\n"); - - /*Scale Raw Data to related Voltage Value*/ - AI_ContVScale(card, ADC_Range, Buffer1, voltageArray, ReadCount); - fprintf(fin, "Scaled Voltage Value\n\n"); - for(i=0; i -# Microsoft Developer Studio Generated Build File, Format Version 6.00 -# ** DO NOT EDIT ** - -# TARGTYPE "Win32 (x86) Console Application" 0x0103 - -CFG=ai - Win32 Debug -!MESSAGE This is not a valid makefile. To build this project using NMAKE, -!MESSAGE use the Export Makefile command and run -!MESSAGE -!MESSAGE NMAKE /f "ai.mak". -!MESSAGE -!MESSAGE You can specify a configuration when running NMAKE -!MESSAGE by defining the macro CFG on the command line. For example: -!MESSAGE -!MESSAGE NMAKE /f "ai.mak" CFG="ai - Win32 Debug" -!MESSAGE -!MESSAGE Possible choices for configuration are: -!MESSAGE -!MESSAGE "ai - Win32 Release" (based on "Win32 (x86) Console Application") -!MESSAGE "ai - Win32 Debug" (based on "Win32 (x86) Console Application") -!MESSAGE - -# Begin Project -# PROP AllowPerConfigDependencies 0 -# PROP Scc_ProjName "" -# PROP Scc_LocalPath "" -CPP=cl.exe -RSC=rc.exe - -!IF "$(CFG)" == "ai - Win32 Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "Release" -# PROP BASE Intermediate_Dir "Release" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "" -# PROP Intermediate_Dir "Release" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c -# ADD CPP /nologo /W3 /GX /O2 /I "../../../include" /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c -# ADD BASE RSC /l 0x404 /d "NDEBUG" -# ADD RSC /l 0x404 /d "NDEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ../../../lib/pci-dask.lib /nologo /subsystem:console /machine:I386 - -!ELSEIF "$(CFG)" == "ai - Win32 Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "Debug" -# PROP BASE Intermediate_Dir "Debug" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "Debug" -# PROP Intermediate_Dir "Debug" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /GZ /c -# ADD CPP /nologo /W3 /Gm /GX /ZI /Od /I "../../../include" /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /GZ /c -# ADD BASE RSC /l 0x404 /d "_DEBUG" -# ADD RSC /l 0x404 /d "_DEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ../../../lib/pci-dask.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept - -!ENDIF - -# Begin Target - -# Name "ai - Win32 Release" -# Name "ai - Win32 Debug" -# Begin Group "Source Files" - -# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;idl;hpj;bat" -# Begin Source File - -SOURCE=.\ai.c -# End Source File -# End Group -# Begin Group "Header Files" - -# PROP Default_Filter "h;hpp;hxx;hm;inl" -# End Group -# Begin Group "Resource Files" - -# PROP Default_Filter "ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe" -# End Group -# End Target -# End Project diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9524/AI_ContDmaExtD/ai.dsw b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9524/AI_ContDmaExtD/ai.dsw deleted file mode 100644 index 2e548b2..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9524/AI_ContDmaExtD/ai.dsw +++ /dev/null @@ -1,29 +0,0 @@ -Microsoft Developer Studio Workspace File, Format Version 6.00 -# WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE! - -############################################################################### - -Project: "ai"=.\ai.dsp - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ -}}} - -############################################################################### - -Global: - -Package=<5> -{{{ -}}} - -Package=<3> -{{{ -}}} - -############################################################################### - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9524/AI_ContDmaExtD/ai.exe b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9524/AI_ContDmaExtD/ai.exe deleted file mode 100644 index 222503e..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9524/AI_ContDmaExtD/ai.exe and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9524/AI_ContDmaFile/ai.c b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9524/AI_ContDmaFile/ai.c deleted file mode 100644 index 4ba699b..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9524/AI_ContDmaFile/ai.c +++ /dev/null @@ -1,159 +0,0 @@ -/*----------------------------------------------------------------------------*/ -/* Date: 2007/03/10 */ -/* Company: ADLINK Technology Inc. */ -/* */ -/* This sample uses DMA mode to acuquire AI data from AI Channel, and store */ -/* acquired data to a specified binary file. */ -/* You can use the data converter utility(Utility\DAQCvt.exe) to convert */ -/* the binary file to a text file. */ -/*----------------------------------------------------------------------------*/ -#include -#include -#include -#include -#include "dask.h" - -#define READCOUNT 4096 -#define TimeOut 60000 - -int main(int argc, char **argv) -{ - I16 card, err; - U16 card_num; - - U32 Buffer1[READCOUNT]; - U32 ReadCount = READCOUNT; - U16 BufID1; - U8 *FileName = "acq"; - - U16 Group; - U16 XMode = P9524_AI_XFER_DMA; - U16 ADC_Range; - U16 ADC_SampRate; - U16 ConfigCtrl; - U16 TrigCtrl = 0; - U32 dwTrigValue = 0; - - U16 Channel; - F64 ActualRate; - - memset(Buffer1, '\0', ReadCount*4); - - printf("This sample performs Continuous AI operation to File.\n"); - printf("Card Number? "); - scanf(" %hd", &card_num); - - card = Register_Card(PCI_9524, card_num); - if(card<0){ - printf("Register_Card Error: %d\n", card); - exit(1); - } - - printf("Load Cell Channel[0] or General Purpose Channel[1]? [0]or[1] "); - scanf(" %hd", &Group); - if(Group>1){ - printf("Invalid Group\n"); - Release_Card(card); - exit(1); - } - - err = AI_SetTimeOut(card, TimeOut); - if(err<0){ - printf("AI_SetTimeOut Error: %d\n", err); - Release_Card(card); - exit(1); - } - - err = AI_ContBufferSetup(card, Buffer1, ReadCount, &BufID1); - if(err<0){ - printf("AI_ContBufferSetup Error: %d\n", err); - Release_Card(card); - exit(1); - } - - if(!Group){ - /*Load Cell Group*/ - U16 DFStage = 5; - U32 SPKRejThreshold = 268; - - Channel = P9524_AI_LC_CH0; - ConfigCtrl = P9524_VEX_Range_10V|P9524_VEX_Sence_Remote|P9524_AI_AZMode|P9524_AI_BufAutoReset; - ADC_Range = 0; - ADC_SampRate = P9524_ADC_30K_SPS; - - err = AI_9524_SetDSP(card, Channel, P9524_SPIKE_REJ_ENABLE, DFStage, SPKRejThreshold); - if(err<0){ - printf("AI_9524_SetDSP Error: %d\n", err); - AI_ContBufferReset(card); - Release_Card(card); - exit(1); - } - - err = AI_9524_Config(card, Group, XMode, ConfigCtrl, TrigCtrl, dwTrigValue); - if(err<0){ - printf("AI_9524_Config Error: %d\n", err); - AI_ContBufferReset(card); - Release_Card(card); - exit(1); - } - - printf("\nPress any key to start AI Acquisition\n"); - getch(); - - err = AI_ContReadChannelToFile(card, Channel, ADC_Range, FileName, ReadCount, (F64)ADC_SampRate, SYNCH_OP); - if(err<0){ - printf("AI_ContReadChannelToFile Error: %d\n", err); - AI_ContBufferReset(card); - Release_Card(card); - exit(1); - } - - GetActualRate_9524(card, Group, (F64)ADC_SampRate, &ActualRate); - printf("\n\nLoad Cell Channel 0 Acquisition Done in %f Actual Rate...\n", ActualRate); - printf("The acquired data is stored in %s.dat\n", FileName); - } - else{ - /*General Purpose Group*/ - Channel = P9524_AI_GP_CH0; - ConfigCtrl = P9524_AI_BufAutoReset; - ADC_Range = AD_B_10_V; - ADC_SampRate = P9524_ADC_30K_SPS; - - err = AI_9524_Config(card, Group, XMode, ConfigCtrl, TrigCtrl, dwTrigValue); - if(err<0){ - printf("AI_9524_Config Error: %d\n", err); - AI_ContBufferReset(card); - Release_Card(card); - exit(1); - } - - printf("\nPress any key to start AI Acquisition\n"); - getch(); - - err = AI_ContReadChannelToFile(card, Channel, ADC_Range, FileName, ReadCount, (F64)ADC_SampRate, SYNCH_OP); - if(err<0){ - printf("AI_ContReadChannelToFile Error: %d\n", err); - AI_ContBufferReset(card); - Release_Card(card); - exit(1); - } - - GetActualRate_9524(card, Group, (F64)ADC_SampRate, &ActualRate); - printf("\n\nGeneral Purpose Channel 0 Acquisition Done in %f Actual Rate...\n", ActualRate); - printf("The acquired data is stored in %s.dat\n", FileName); - } - - if(!(ConfigCtrl&P9524_AI_BufAutoReset)){ - err = AI_ContBufferReset(card); - if(err<0){ - printf("AI_ContBufferReset Error: %d\n", err); - Release_Card(card); - exit(1); - } - } - - Release_Card(card); - printf("Press any key to exit\n"); - getch(); - return 0; -} diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9524/AI_ContDmaFile/ai.dsp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9524/AI_ContDmaFile/ai.dsp deleted file mode 100644 index c26103a..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9524/AI_ContDmaFile/ai.dsp +++ /dev/null @@ -1,102 +0,0 @@ -# Microsoft Developer Studio Project File - Name="ai" - Package Owner=<4> -# Microsoft Developer Studio Generated Build File, Format Version 6.00 -# ** DO NOT EDIT ** - -# TARGTYPE "Win32 (x86) Console Application" 0x0103 - -CFG=ai - Win32 Debug -!MESSAGE This is not a valid makefile. To build this project using NMAKE, -!MESSAGE use the Export Makefile command and run -!MESSAGE -!MESSAGE NMAKE /f "ai.mak". -!MESSAGE -!MESSAGE You can specify a configuration when running NMAKE -!MESSAGE by defining the macro CFG on the command line. For example: -!MESSAGE -!MESSAGE NMAKE /f "ai.mak" CFG="ai - Win32 Debug" -!MESSAGE -!MESSAGE Possible choices for configuration are: -!MESSAGE -!MESSAGE "ai - Win32 Release" (based on "Win32 (x86) Console Application") -!MESSAGE "ai - Win32 Debug" (based on "Win32 (x86) Console Application") -!MESSAGE - -# Begin Project -# PROP AllowPerConfigDependencies 0 -# PROP Scc_ProjName "" -# PROP Scc_LocalPath "" -CPP=cl.exe -RSC=rc.exe - -!IF "$(CFG)" == "ai - Win32 Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "Release" -# PROP BASE Intermediate_Dir "Release" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "" -# PROP Intermediate_Dir "Release" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c -# ADD CPP /nologo /W3 /GX /O2 /I "../../../include" /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c -# ADD BASE RSC /l 0x404 /d "NDEBUG" -# ADD RSC /l 0x404 /d "NDEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ../../../lib/pci-dask.lib /nologo /subsystem:console /machine:I386 - -!ELSEIF "$(CFG)" == "ai - Win32 Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "Debug" -# PROP BASE Intermediate_Dir "Debug" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "Debug" -# PROP Intermediate_Dir "Debug" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /GZ /c -# ADD CPP /nologo /W3 /Gm /GX /ZI /Od /I "../../../include" /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /GZ /c -# ADD BASE RSC /l 0x404 /d "_DEBUG" -# ADD RSC /l 0x404 /d "_DEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ../../../lib/pci-dask.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept - -!ENDIF - -# Begin Target - -# Name "ai - Win32 Release" -# Name "ai - Win32 Debug" -# Begin Group "Source Files" - -# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;idl;hpj;bat" -# Begin Source File - -SOURCE=.\ai.c -# End Source File -# End Group -# Begin Group "Header Files" - -# PROP Default_Filter "h;hpp;hxx;hm;inl" -# End Group -# Begin Group "Resource Files" - -# PROP Default_Filter "ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe" -# End Group -# End Target -# End Project diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9524/AI_ContDmaFile/ai.dsw b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9524/AI_ContDmaFile/ai.dsw deleted file mode 100644 index 2e548b2..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9524/AI_ContDmaFile/ai.dsw +++ /dev/null @@ -1,29 +0,0 @@ -Microsoft Developer Studio Workspace File, Format Version 6.00 -# WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE! - -############################################################################### - -Project: "ai"=.\ai.dsp - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ -}}} - -############################################################################### - -Global: - -Package=<5> -{{{ -}}} - -Package=<3> -{{{ -}}} - -############################################################################### - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9524/AI_ContDmaFile/ai.exe b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9524/AI_ContDmaFile/ai.exe deleted file mode 100644 index b84063f..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9524/AI_ContDmaFile/ai.exe and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9524/AI_ContScans/ai.c b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9524/AI_ContScans/ai.c deleted file mode 100644 index 76b86a0..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9524/AI_ContScans/ai.c +++ /dev/null @@ -1,203 +0,0 @@ -/*----------------------------------------------------------------------------*/ -/* Date: 2007/03/10 */ -/* Company: ADLINK Technology Inc. */ -/* */ -/* This sample performs continuous AI channel scan operation by DMA mode. */ -/* PCI-9524 has two AI group, load cell group and general purpose group. */ -/* You should configure the AI group/channels and setup Buffer before */ -/* acquired data. */ -/* There are some advaned configuration releated DSP should be set while */ -/* load cell group is performing. */ -/*----------------------------------------------------------------------------*/ -#include -#include -#include -#include -#include "dask.h" - -#define READCOUNT 4096 -#define TimeOut 20000 - - -int main(int argc, char **argv) -{ - I16 card, err; - U16 card_num; - FILE *fin; - int i, j; - - U32 Buffer1[READCOUNT]; - U32 ReadCount = READCOUNT; - U16 BufID1; - - U16 Group; - U16 XMode = P9524_AI_XFER_DMA; - U16 ADC_Range; - U16 ADC_SampRate; - U16 ConfigCtrl; - U16 TrigCtrl = 0; - U32 dwTrigValue = 0; - - U16 Channel; - F64 voltageArray[READCOUNT]; - F64 ActualRate; - - - memset(Buffer1, '\0', ReadCount*4); - memset(voltageArray, '\0', ReadCount*8); - - if(!(fin=fopen("acq.dat", "w"))){ - printf("fopen error\n"); - exit(1); - } - - printf("This sample performs Continuous AI Scans.\n"); - printf("Card Number? "); - scanf(" %hd", &card_num); - - card = Register_Card(PCI_9524, card_num); - if(card<0){ - printf("Register_Card Error: %d\n", card); - fclose(fin); - exit(1); - } - - printf("Load Cell Channel[0] or General Purpose Channel[1]? [0]or[1] "); - scanf(" %hd", &Group); - if(Group>1){ - printf("Invalid Group\n"); - Release_Card(card); - fclose(fin); - exit(1); - } - - err = AI_SetTimeOut(card, TimeOut); - if(err<0){ - printf("AI_SetTimeOut Error: %d\n", err); - Release_Card(card); - fclose(fin); - exit(1); - } - - err = AI_ContBufferSetup(card, Buffer1, ReadCount, &BufID1); - if(err<0){ - printf("AI_ContBufferSetup Error: %d\n", err); - Release_Card(card); - fclose(fin); - exit(1); - } - - if(!Group){ - /*Load Cell Group*/ - U16 DFStage = 5; - U32 SPKRejThreshold = 268; - /*Max Scanned channel - Scan channels from ch0 of load cell group to set max scanned channel*/ - Channel = P9524_AI_LC_CH3; - ConfigCtrl = P9524_VEX_Range_10V|P9524_VEX_Sence_Remote|P9524_AI_AZMode|P9524_AI_BufAutoReset; - ADC_Range = 0; - ADC_SampRate = P9524_ADC_30K_SPS; - - for(i=0; i<4; i++){ - err = AI_9524_SetDSP(card, (U16)i, P9524_SPIKE_REJ_ENABLE, DFStage, SPKRejThreshold); - if(err<0){ - printf("AI_9524_SetDSP%d Error: %d\n", i, err); - AI_ContBufferReset(card); - Release_Card(card); - fclose(fin); - exit(1); - } - } - - err = AI_9524_Config(card, Group, XMode, ConfigCtrl, TrigCtrl, dwTrigValue); - if(err<0){ - printf("AI_9524_Config Error: %d\n", err); - AI_ContBufferReset(card); - Release_Card(card); - fclose(fin); - exit(1); - } - - printf("\nPress any key to start AI Acquisition\n"); - getch(); - - err = AI_ContScanChannels(card, Channel, ADC_Range, &BufID1, ReadCount, (F64)ADC_SampRate, SYNCH_OP); - if(err<0){ - printf("AI_ContScanChannels Error: %d\n", err); - AI_ContBufferReset(card); - Release_Card(card); - fclose(fin); - exit(1); - } - - GetActualRate_9524(card, Group, (F64)ADC_SampRate, &ActualRate); - printf("\n\nLoad Cell Group Channel Scan Done in %f Actual Rate...\n", ActualRate); - - printf("Write data to acq.dat file...\n"); - - AI_ContVScale(card, ADC_Range, Buffer1, voltageArray, ReadCount); - for(i=0; i -# Microsoft Developer Studio Generated Build File, Format Version 6.00 -# ** DO NOT EDIT ** - -# TARGTYPE "Win32 (x86) Console Application" 0x0103 - -CFG=ai - Win32 Debug -!MESSAGE This is not a valid makefile. To build this project using NMAKE, -!MESSAGE use the Export Makefile command and run -!MESSAGE -!MESSAGE NMAKE /f "ai.mak". -!MESSAGE -!MESSAGE You can specify a configuration when running NMAKE -!MESSAGE by defining the macro CFG on the command line. For example: -!MESSAGE -!MESSAGE NMAKE /f "ai.mak" CFG="ai - Win32 Debug" -!MESSAGE -!MESSAGE Possible choices for configuration are: -!MESSAGE -!MESSAGE "ai - Win32 Release" (based on "Win32 (x86) Console Application") -!MESSAGE "ai - Win32 Debug" (based on "Win32 (x86) Console Application") -!MESSAGE - -# Begin Project -# PROP AllowPerConfigDependencies 0 -# PROP Scc_ProjName "" -# PROP Scc_LocalPath "" -CPP=cl.exe -RSC=rc.exe - -!IF "$(CFG)" == "ai - Win32 Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "Release" -# PROP BASE Intermediate_Dir "Release" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "" -# PROP Intermediate_Dir "Release" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c -# ADD CPP /nologo /W3 /GX /O2 /I "../../../include" /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c -# ADD BASE RSC /l 0x404 /d "NDEBUG" -# ADD RSC /l 0x404 /d "NDEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ../../../lib/pci-dask.lib /nologo /subsystem:console /machine:I386 - -!ELSEIF "$(CFG)" == "ai - Win32 Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "Debug" -# PROP BASE Intermediate_Dir "Debug" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "Debug" -# PROP Intermediate_Dir "Debug" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /GZ /c -# ADD CPP /nologo /W3 /Gm /GX /ZI /Od /I "../../../include" /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /GZ /c -# ADD BASE RSC /l 0x404 /d "_DEBUG" -# ADD RSC /l 0x404 /d "_DEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ../../../lib/pci-dask.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept - -!ENDIF - -# Begin Target - -# Name "ai - Win32 Release" -# Name "ai - Win32 Debug" -# Begin Group "Source Files" - -# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;idl;hpj;bat" -# Begin Source File - -SOURCE=.\ai.c -# End Source File -# End Group -# Begin Group "Header Files" - -# PROP Default_Filter "h;hpp;hxx;hm;inl" -# End Group -# Begin Group "Resource Files" - -# PROP Default_Filter "ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe" -# End Group -# End Target -# End Project diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9524/AI_ContScans/ai.dsw b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9524/AI_ContScans/ai.dsw deleted file mode 100644 index 2e548b2..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9524/AI_ContScans/ai.dsw +++ /dev/null @@ -1,29 +0,0 @@ -Microsoft Developer Studio Workspace File, Format Version 6.00 -# WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE! - -############################################################################### - -Project: "ai"=.\ai.dsp - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ -}}} - -############################################################################### - -Global: - -Package=<5> -{{{ -}}} - -Package=<3> -{{{ -}}} - -############################################################################### - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9524/AI_ContScans/ai.exe b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9524/AI_ContScans/ai.exe deleted file mode 100644 index e5594e1..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9524/AI_ContScans/ai.exe and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9524/AI_ContScansExtTrig/ai.c b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9524/AI_ContScansExtTrig/ai.c deleted file mode 100644 index 9706fde..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9524/AI_ContScansExtTrig/ai.c +++ /dev/null @@ -1,386 +0,0 @@ -/*----------------------------------------------------------------------------*/ -/* Date: 2007/03/10 */ -/* Company: ADLINK Technology Inc. */ -/* */ -/* This sample scans AI channels by DMA mode with external trigger. */ -/* Trigger source is set to QDecoder0 and PulseGen0. */ -/* The decoder decodes X4 AB Phase, and the timer/counter generates */ -/* cw/ccw or clk/dir pulse. */ -/* If trigger source is set to QD0, the trigger comes while the decoder */ -/* decodes to the indicated step. */ -/* If trigger source is set to PG0, the trigger comes while the timer/ */ -/* counter generates the indicated number of pulses. */ -/* PCI-9524 has two AI group, load cell group and general purpose group. */ -/* You should configure the AI group/channels and setup Buffer before */ -/* acquired data. */ -/* There are some advaned configuration releated DSP should be set while */ -/* load cell group is performing. */ -/*----------------------------------------------------------------------------*/ -#include -#include -#include -#include -#include -#include "dask.h" - -#define READCOUNT 4096 - -I16 card; - -int Start_PulseGen() -{ - I16 err; - U16 Pulse_Type = P9524_PulseGen_CCW; - U32 Pulse_Init = 200000; - U32 Pulse_Len = 200000; - U32 Pulse_Count = 0; - - err = GPTC_Clear(card, P9524_CTR_PG0); - if(err<0){ - printf("GPTC_Clear Error: %d\n", err); - return 0; - } - - /*Generate CW/CCW Pulse of Period of (Pulse_Init+Pulse_Len)/40000000 sec.*/ - err = GPTC_Setup(card, P9524_CTR_PG0, Pulse_Type, 0, 0, Pulse_Init, Pulse_Len); - if(err<0){ - printf("GPTC_Setup Error: %d\n", err); - return 0; - } - - /*Generate infinite CW/CCW Pulses*/ - err = GPTC_9524_PG_Config(card, P9524_CTR_PG0, Pulse_Count); - if(err<0){ - printf("GPTC_9524_PG_Config Error: %d\n", err); - return 0; - } - - /*Enable Timer/Counter*/ - err = GPTC_Control(card, P9524_CTR_PG0, P9524_CTR_Enable, 1); - if(err<0){ - printf("GPTC_Control Error: %d\n", err); - return 0; - } - - return 1; -} - - -int Stop_PulseGen() -{ - I16 err; - - err = GPTC_Control(card, P9524_CTR_PG0, P9524_CTR_Enable, 0); - if(err<0){ - printf("GPTC_Control Error: %d\n", err); - return 0; - } - - err = GPTC_Clear(card, P9524_CTR_PG0); - if(err<0){ - printf("GPTC_Clear Error: %d\n", err); - return 0; - } - return 1; -} - - -int Start_Decoder() -{ - I16 err; - - err = GPTC_Clear(card, P9524_CTR_QD0); - if(err<0){ - printf("GPTC_Clear Error: %d\n", err); - return 0; - } - - /*Setup decoder to decode x4 AB Phase Pulse*/ - err = GPTC_Setup(card, P9524_CTR_QD0, P9524_x4_AB_Phase_Decoder, 0, 0, 0, 0); - if(err<0){ - printf("GPTC_Setup Error: %d\n", err); - return 0; - } - - /*Enable Decoder*/ - err = GPTC_Control(card, P9524_CTR_QD0, P9524_CTR_Enable, 1); - if(err<0){ - printf("GPTC_Control Error: %d\n", err); - return 0; - } - - return 1; -} - - -int Stop_Decoder() -{ - I16 err; - - err = GPTC_Control(card, P9524_CTR_QD0, P9524_CTR_Enable, 0); - if(err<0){ - printf("GPTC_Control Error: %d\n", err); - return 0; - } - - err = GPTC_Clear(card, P9524_CTR_QD0); - if(err<0){ - printf("GPTC_Clear Error: %d\n", err); - return 0; - } - return 1; -} - - -int main(int argc, char **argv) -{ - I16 err; - U16 card_num; - FILE *fin; - int i, j; - - U32 Buffer1[READCOUNT]; - U32 ReadCount = READCOUNT; - U16 BufID1; - - U16 Group; - U16 XMode = P9524_AI_XFER_DMA; - U16 ADC_Range; - U16 ADC_SampRate; - U16 ConfigCtrl; - U16 TrigCtrl; - U32 dwTrigValue; - - U16 Channel; - F64 voltageArray[READCOUNT]; - F64 ActualRate; - - BOOLEAN Stopped = 0; - U32 AccessCnt; - - memset(Buffer1, '\0', ReadCount*4); - memset(voltageArray, '\0', ReadCount*8); - - if(!(fin=fopen("acq.dat", "w"))){ - printf("fopen error\n"); - exit(1); - } - - printf("This sample performs Continuous AI operation.\n"); - printf("Card Number? "); - scanf(" %hd", &card_num); - - card = Register_Card(PCI_9524, card_num); - if(card<0){ - printf("Register_Card Error: %d\n", card); - fclose(fin); - exit(1); - } - - printf("Load Cell Channel[0] or General Purpose Channel[1]? [0]or[1] "); - scanf(" %hd", &Group); - if(Group>1){ - printf("Invalid Group\n"); - Release_Card(card); - fclose(fin); - exit(1); - } - - err = AI_ContBufferSetup(card, Buffer1, ReadCount, &BufID1); - if(err<0){ - printf("AI_ContBufferSetup Error: %d\n", err); - Release_Card(card); - fclose(fin); - exit(1); - } - - if(!Group){ - /*Load Cell Group*/ - U16 DFStage = 5; - U32 SPKRejThreshold = 268; - Channel = P9524_AI_LC_CH3; /*Scans from ch0 to ch3 of load cell group*/ - ConfigCtrl = P9524_VEX_Range_10V|P9524_VEX_Sence_Remote|P9524_AI_AZMode|P9524_AI_BufAutoReset; - TrigCtrl = P9524_TRGMOD_POST|P9524_TRGSRC_QD0; - // If the trigger source is set to QDecoder0, the trigger is comming - // while the decoder decodes the (dwTrigValue)th step. - dwTrigValue = 100; - ADC_Range = 0; - ADC_SampRate = P9524_ADC_30K_SPS; - - for(i=0; i<4; i++){ - err = AI_9524_SetDSP(card, (U16)i, P9524_SPIKE_REJ_ENABLE, DFStage, SPKRejThreshold); - if(err<0){ - printf("AI_9524_SetDSP Error: %d\n", err); - AI_ContBufferReset(card); - Release_Card(card); - fclose(fin); - exit(1); - } - } - - err = AI_9524_Config(card, Group, XMode, ConfigCtrl, TrigCtrl, dwTrigValue); - if(err<0){ - printf("AI_9524_Config Error: %d\n", err); - AI_ContBufferReset(card); - Release_Card(card); - fclose(fin); - exit(1); - } - - printf("\nPress any key to start AI Acquisition\n"); - getch(); - - err = AI_ContScanChannels(card, Channel, ADC_Range, &BufID1, ReadCount, (F64)ADC_SampRate, ASYNCH_OP); - if(err<0){ - printf("AI_ContScanChannels Error: %d\n", err); - AI_ContBufferReset(card); - Release_Card(card); - fclose(fin); - exit(1); - } - - /*Start QD*/ - printf("\nStart Decoder 0..."); - if(!Start_Decoder()){ - printf("Start_Decoder Error\n"); - AI_ContBufferReset(card); - Release_Card(card); - fclose(fin); - exit(1); - } - - printf("\nWait Decoder 0 decodes to 100 to generate AI trigger...\n"); - // If AsyncMode is set, you should use AI_AsyncCheck() to check if the - // AI acquisition is done. - // Note that AI_AsyncClear() should be called to clear AI setting. - do{ - err = AI_AsyncCheck(card, &Stopped, &AccessCnt); - if(err<0){ - printf("AI_AsyncCheck Error: %d\n", err); - AI_ContBufferReset(card); - Release_Card(card); - fclose(fin); - exit(1); - } - }while((!Stopped)&&(!kbhit())); - - err = AI_AsyncClear(card, &AccessCnt); - if(err<0){ - printf("AI_AsyncClear Error: %d\n", err); - AI_ContBufferReset(card); - Release_Card(card); - fclose(fin); - exit(1); - } - - GetActualRate_9524(card, Group, (F64)ADC_SampRate, &ActualRate); - printf("\n\nLoad Cell Group Channel Scan Done in %f Actual Rate...\n", ActualRate); - - printf("Write data to acq.dat file...\n"); - - AI_ContVScale(card, ADC_Range, Buffer1, voltageArray, ReadCount); - for(i=0; i -# Microsoft Developer Studio Generated Build File, Format Version 6.00 -# ** DO NOT EDIT ** - -# TARGTYPE "Win32 (x86) Console Application" 0x0103 - -CFG=ai - Win32 Debug -!MESSAGE This is not a valid makefile. To build this project using NMAKE, -!MESSAGE use the Export Makefile command and run -!MESSAGE -!MESSAGE NMAKE /f "ai.mak". -!MESSAGE -!MESSAGE You can specify a configuration when running NMAKE -!MESSAGE by defining the macro CFG on the command line. For example: -!MESSAGE -!MESSAGE NMAKE /f "ai.mak" CFG="ai - Win32 Debug" -!MESSAGE -!MESSAGE Possible choices for configuration are: -!MESSAGE -!MESSAGE "ai - Win32 Release" (based on "Win32 (x86) Console Application") -!MESSAGE "ai - Win32 Debug" (based on "Win32 (x86) Console Application") -!MESSAGE - -# Begin Project -# PROP AllowPerConfigDependencies 0 -# PROP Scc_ProjName "" -# PROP Scc_LocalPath "" -CPP=cl.exe -RSC=rc.exe - -!IF "$(CFG)" == "ai - Win32 Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "Release" -# PROP BASE Intermediate_Dir "Release" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "" -# PROP Intermediate_Dir "Release" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c -# ADD CPP /nologo /W3 /GX /O2 /I "../../../include" /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c -# ADD BASE RSC /l 0x404 /d "NDEBUG" -# ADD RSC /l 0x404 /d "NDEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ../../../lib/pci-dask.lib /nologo /subsystem:console /machine:I386 - -!ELSEIF "$(CFG)" == "ai - Win32 Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "Debug" -# PROP BASE Intermediate_Dir "Debug" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "Debug" -# PROP Intermediate_Dir "Debug" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /GZ /c -# ADD CPP /nologo /W3 /Gm /GX /ZI /Od /I "../../../include" /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /GZ /c -# ADD BASE RSC /l 0x404 /d "_DEBUG" -# ADD RSC /l 0x404 /d "_DEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ../../../lib/pci-dask.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept - -!ENDIF - -# Begin Target - -# Name "ai - Win32 Release" -# Name "ai - Win32 Debug" -# Begin Group "Source Files" - -# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;idl;hpj;bat" -# Begin Source File - -SOURCE=.\ai.c -# End Source File -# End Group -# Begin Group "Header Files" - -# PROP Default_Filter "h;hpp;hxx;hm;inl" -# End Group -# Begin Group "Resource Files" - -# PROP Default_Filter "ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe" -# End Group -# End Target -# End Project diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9524/AI_ContScansExtTrig/ai.dsw b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9524/AI_ContScansExtTrig/ai.dsw deleted file mode 100644 index 2e548b2..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9524/AI_ContScansExtTrig/ai.dsw +++ /dev/null @@ -1,29 +0,0 @@ -Microsoft Developer Studio Workspace File, Format Version 6.00 -# WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE! - -############################################################################### - -Project: "ai"=.\ai.dsp - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ -}}} - -############################################################################### - -Global: - -Package=<5> -{{{ -}}} - -Package=<3> -{{{ -}}} - -############################################################################### - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9524/AI_ContScansExtTrig/ai.exe b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9524/AI_ContScansExtTrig/ai.exe deleted file mode 100644 index 87fe078..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9524/AI_ContScansExtTrig/ai.exe and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9524/AI_ContScansFile/ai.c b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9524/AI_ContScansFile/ai.c deleted file mode 100644 index 46f4193..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9524/AI_ContScansFile/ai.c +++ /dev/null @@ -1,191 +0,0 @@ -/*----------------------------------------------------------------------------*/ -/* Date: 2007/03/10 */ -/* Company: ADLINK Technology Inc. */ -/* */ -/* This sample uses DMA mode to Scan AI Channels, and store the acquired data */ -/* to a specified binary file. */ -/* You can use the data converter utility(Utility\DAQCvt.exe) to convert */ -/* the binary file to a text file. */ -/*----------------------------------------------------------------------------*/ -#include -#include -#include -#include -#include "dask.h" - -#define READCOUNT 4096 - -int main(int argc, char **argv) -{ - I16 card, err; - U16 card_num; - U16 i; - - U32 Buffer1[READCOUNT]; - U32 ReadCount = READCOUNT; - U16 BufID1; - U8 *FileName = "acq"; - - U16 Group; - U16 XMode = P9524_AI_XFER_DMA; - U16 ADC_Range; - U16 ADC_SampRate; - U16 ConfigCtrl; - U16 TrigCtrl = 0; - U32 dwTrigValue = 0; - - U16 Channel; - F64 ActualRate; - BOOLEAN Stopped; - U32 AccessCnt; - - memset(Buffer1, '\0', ReadCount*4); - - printf("This sample scans AI channels to File.\n"); - printf("Card Number? "); - scanf(" %hd", &card_num); - card = Register_Card(PCI_9524, card_num); - if(card<0){ - printf("Register_Card Error: %d\n", card); - exit(1); - } - - printf("Load Cell Channel[0] or General Purpose Channel[1]? [0]or[1] "); - scanf(" %hd", &Group); - if(Group>1){ - printf("Invalid Group\n"); - Release_Card(card); - exit(1); - } - - err = AI_ContBufferSetup(card, Buffer1, ReadCount, &BufID1); - if(err<0){ - printf("AI_ContBufferSetup Error: %d\n", err); - Release_Card(card); - exit(1); - } - - if(!Group){ - /*Load Cell Group*/ - U16 DFStage = 5; - U32 SPKRejThreshold = 268; - - Channel = P9524_AI_LC_CH3; /*Max channel number*/ - ConfigCtrl = P9524_VEX_Range_10V|P9524_VEX_Sence_Remote|P9524_AI_AZMode|P9524_AI_BufAutoReset; - ADC_Range = 0; - ADC_SampRate = P9524_ADC_30K_SPS; - - for(i=0; i<4; i++){ - err = AI_9524_SetDSP(card, i, P9524_SPIKE_REJ_ENABLE, DFStage, SPKRejThreshold); - if(err<0){ - printf("AI_9524_SetDSP%d Error: %d\n", i, err); - AI_ContBufferReset(card); - Release_Card(card); - exit(1); - } - } - - err = AI_9524_Config(card, Group, XMode, ConfigCtrl, TrigCtrl, dwTrigValue); - if(err<0){ - printf("AI_9524_Config Error: %d\n", err); - AI_ContBufferReset(card); - Release_Card(card); - exit(1); - } - - printf("\nPress any key to start AI Acquisition\n"); - getch(); - - err = AI_ContScanChannelsToFile(card, Channel, ADC_Range, FileName, ReadCount, (F64)ADC_SampRate, ASYNCH_OP); - if(err<0){ - printf("AI_ContReadChannelToFile Error: %d\n", err); - AI_ContBufferReset(card); - Release_Card(card); - exit(1); - } - - do{ - err = AI_AsyncCheck(card, &Stopped, &AccessCnt); - if(err<0){ - printf("AI_AsyncCheck Error: %d\n", err); - AI_ContBufferReset(card); - Release_Card(card); - exit(1); - } - }while((!Stopped)&&(!kbhit())); - - err = AI_AsyncClear(card, &AccessCnt); - if(err<0){ - printf("AI_AsyncCheck Error: %d\n", err); - AI_ContBufferReset(card); - Release_Card(card); - exit(1); - } - - GetActualRate_9524(card, Group, (F64)ADC_SampRate, &ActualRate); - printf("\n\nScan Load Cell Group Done in %f Actual Rate...\n", ActualRate); - printf("The acquired data is stored in %s.dat\n", FileName); - } - else{ - /*General Purpose Group*/ - Channel = P9524_AI_GP_CH3; /*Max channel number*/ - ConfigCtrl = P9524_AI_BufAutoReset; - ADC_Range = AD_B_10_V; - ADC_SampRate = P9524_ADC_30K_SPS; - - err = AI_9524_Config(card, Group, XMode, ConfigCtrl, TrigCtrl, dwTrigValue); - if(err<0){ - printf("AI_9524_Config Error: %d\n", err); - AI_ContBufferReset(card); - Release_Card(card); - exit(1); - } - - printf("\nPress any key to start AI Acquisition\n"); - getch(); - - err = AI_ContScanChannelsToFile(card, Channel, ADC_Range, FileName, ReadCount, (F64)ADC_SampRate, ASYNCH_OP); - if(err<0){ - printf("AI_ContReadChannelToFile Error: %d\n", err); - AI_ContBufferReset(card); - Release_Card(card); - exit(1); - } - - do{ - err = AI_AsyncCheck(card, &Stopped, &AccessCnt); - if(err<0){ - printf("AI_AsyncCheck Error: %d\n", err); - AI_ContBufferReset(card); - Release_Card(card); - exit(1); - } - }while((!Stopped)&&(!kbhit())); - - err = AI_AsyncClear(card, &AccessCnt); - if(err<0){ - printf("AI_AsyncCheck Error: %d\n", err); - AI_ContBufferReset(card); - Release_Card(card); - exit(1); - } - - GetActualRate_9524(card, Group, (F64)ADC_SampRate, &ActualRate); - printf("\n\nScan General Purpose Group Done in %f Actual Rate...\n", ActualRate); - printf("The acquired data is stored in %s.dat\n", FileName); - } - - if(!(ConfigCtrl&P9524_AI_BufAutoReset)){ - err = AI_ContBufferReset(card); - if(err<0){ - printf("AI_ContBufferReset Error: %d\n", err); - Release_Card(card); - exit(1); - } - } - - Release_Card(card); - printf("Press any key to exit\n"); - getch(); - return 0; -} diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9524/AI_ContScansFile/ai.dsp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9524/AI_ContScansFile/ai.dsp deleted file mode 100644 index c26103a..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9524/AI_ContScansFile/ai.dsp +++ /dev/null @@ -1,102 +0,0 @@ -# Microsoft Developer Studio Project File - Name="ai" - Package Owner=<4> -# Microsoft Developer Studio Generated Build File, Format Version 6.00 -# ** DO NOT EDIT ** - -# TARGTYPE "Win32 (x86) Console Application" 0x0103 - -CFG=ai - Win32 Debug -!MESSAGE This is not a valid makefile. To build this project using NMAKE, -!MESSAGE use the Export Makefile command and run -!MESSAGE -!MESSAGE NMAKE /f "ai.mak". -!MESSAGE -!MESSAGE You can specify a configuration when running NMAKE -!MESSAGE by defining the macro CFG on the command line. For example: -!MESSAGE -!MESSAGE NMAKE /f "ai.mak" CFG="ai - Win32 Debug" -!MESSAGE -!MESSAGE Possible choices for configuration are: -!MESSAGE -!MESSAGE "ai - Win32 Release" (based on "Win32 (x86) Console Application") -!MESSAGE "ai - Win32 Debug" (based on "Win32 (x86) Console Application") -!MESSAGE - -# Begin Project -# PROP AllowPerConfigDependencies 0 -# PROP Scc_ProjName "" -# PROP Scc_LocalPath "" -CPP=cl.exe -RSC=rc.exe - -!IF "$(CFG)" == "ai - Win32 Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "Release" -# PROP BASE Intermediate_Dir "Release" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "" -# PROP Intermediate_Dir "Release" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c -# ADD CPP /nologo /W3 /GX /O2 /I "../../../include" /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c -# ADD BASE RSC /l 0x404 /d "NDEBUG" -# ADD RSC /l 0x404 /d "NDEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ../../../lib/pci-dask.lib /nologo /subsystem:console /machine:I386 - -!ELSEIF "$(CFG)" == "ai - Win32 Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "Debug" -# PROP BASE Intermediate_Dir "Debug" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "Debug" -# PROP Intermediate_Dir "Debug" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /GZ /c -# ADD CPP /nologo /W3 /Gm /GX /ZI /Od /I "../../../include" /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /GZ /c -# ADD BASE RSC /l 0x404 /d "_DEBUG" -# ADD RSC /l 0x404 /d "_DEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ../../../lib/pci-dask.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept - -!ENDIF - -# Begin Target - -# Name "ai - Win32 Release" -# Name "ai - Win32 Debug" -# Begin Group "Source Files" - -# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;idl;hpj;bat" -# Begin Source File - -SOURCE=.\ai.c -# End Source File -# End Group -# Begin Group "Header Files" - -# PROP Default_Filter "h;hpp;hxx;hm;inl" -# End Group -# Begin Group "Resource Files" - -# PROP Default_Filter "ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe" -# End Group -# End Target -# End Project diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9524/AI_ContScansFile/ai.dsw b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9524/AI_ContScansFile/ai.dsw deleted file mode 100644 index 2e548b2..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9524/AI_ContScansFile/ai.dsw +++ /dev/null @@ -1,29 +0,0 @@ -Microsoft Developer Studio Workspace File, Format Version 6.00 -# WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE! - -############################################################################### - -Project: "ai"=.\ai.dsp - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ -}}} - -############################################################################### - -Global: - -Package=<5> -{{{ -}}} - -Package=<3> -{{{ -}}} - -############################################################################### - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9524/AI_ContScansFile/ai.exe b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9524/AI_ContScansFile/ai.exe deleted file mode 100644 index d021236..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9524/AI_ContScansFile/ai.exe and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9524/AI_Polling/ai.c b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9524/AI_Polling/ai.c deleted file mode 100644 index 8489bc4..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9524/AI_Polling/ai.c +++ /dev/null @@ -1,163 +0,0 @@ -/*-----------------------------------------------------------------------------*/ -/* Date: 2007/02/19 */ -/* Company: AdLINK Technology Inc. */ -/* */ -/* This sample acquires voltage value from AI channel. */ -/* PCI-9524 has two AI group, load cell group and general purpose group. */ -/* You must configure the AI group by calling AI_9524_Config function. */ -/* AI_9524_PollConfig function should be called to start ADC while the */ -/* AI transfer mode is set to polling mode. */ -/* Some advanced setting related DSP is required while load cell group is */ -/* performing. */ -/*-----------------------------------------------------------------------------*/ -#include -#include -#include -#include -#include "dask.h" - - -int main(int argc, char **argv) -{ - U16 card_num; - I16 card, err; - U16 Group; - U16 XMode = P9524_AI_XFER_POLL; - U16 ConfigCtrl; - U16 PollChannel; - U16 PollRange; - U16 PollSpeed; - F64 voltage; - U32 Value; - F64 ActualRate; - - printf("This sample performs AI Polling operation.\n"); - printf("Card Number? "); - scanf(" %hd", &card_num); - - card = Register_Card(PCI_9524, card_num); - if(card<0){ - printf("Register Card Failed: %d\n", card); - exit(1); - } - - printf("Load Cell Channel[0] or General Purpose Channel[1]? [0]or[1] "); - scanf(" %hd", &Group); - if(Group>1){ - printf("Invalid group\n"); - Release_Card(card); - exit(1); - } - - if(Group==0){ - /*Load Cell Group*/ - U16 DFStage = 2; - U32 SPKRejThreshold = 16; - - PollChannel = P9524_AI_LC_CH0; - ConfigCtrl = P9524_VEX_Range_10V|P9524_VEX_Sence_Remote|P9524_AI_AZMode; - PollRange = 0; - PollSpeed = P9524_ADC_60_SPS; - - err = AI_9524_SetDSP(card, PollChannel, P9524_SPIKE_REJ_ENABLE, DFStage, SPKRejThreshold); - if(err<0){ - printf("AI_9524_SetDSP Error: %d\n", err); - Release_Card(card); - exit(1); - } - - err = AI_9524_Config(card, Group, XMode, ConfigCtrl, 0, 0); - if(err<0){ - printf("AI_9524_Config Error: %d\n", err); - Release_Card(card); - exit(1); - } - - err = AI_9524_PollConfig(card, Group, PollChannel, PollRange, PollSpeed); - if(err<0){ - printf("AI_9524_PollConfig Error: %d\n", err); - Release_Card(card); - exit(1); - } - - err = GetActualRate_9524(card, Group, PollSpeed, &ActualRate); - if(err<0) - printf("GetActualRate_9524 Error: %d\n", err); - printf("\nADC started at speed: %7.2lf SPS\n", ActualRate); - printf("Press any key to start read AI channel...\n"); - getch(); - - do{ - Sleep(100); - err = AI_ReadChannel32(card, PollChannel, PollRange, &Value); - if(err<0){ - printf("AI_ReadChannel32 Error: %d\n", err); - Release_Card(card); - exit(1); - } - AI_VoltScale32(card, PollRange, Value, &voltage); - /*You can also replace AI_ReadChannel32() and AI_VoltScale32() by AI_VReadChannel()*/ - /*err = AI_VReadChannel(card, PollChannel, PollRange, &voltage);*/ - system("cls"); - printf("/*---------------------------------*/\n"); - printf("Load Cell Group - Channel 0\n\n"); - printf("raw data: 0x%x\n", Value); - printf("scaled voltage: %lf\n\n", voltage); - printf(" press any key to exit...\n"); - printf("/*---------------------------------*/\n"); - }while(!kbhit()); - } - else{ - /*General Purpose Group*/ - PollChannel = P9524_AI_GP_CH0; - ConfigCtrl = 0; - PollRange = AD_B_10_V; - PollSpeed = P9524_ADC_60_SPS; - - err = AI_9524_Config(card, Group, XMode, ConfigCtrl, 0, 0); - if(err<0){ - printf("AI_9524_Config Error: %d\n", err); - Release_Card(card); - exit(1); - } - - err = AI_9524_PollConfig(card, Group, PollChannel, PollRange, PollSpeed); - if(err<0){ - printf("AI_9524_PollConfig Error: %d\n", err); - Release_Card(card); - exit(1); - } - - err = GetActualRate_9524(card, Group, PollSpeed, &ActualRate); - if(err<0) - printf("GetActualRate_9524 Error: %d\n", err); - printf("\nADC started at speed: %7.2lf SPS\n", ActualRate); - printf("Press any key to start read AI channel...\n"); - getch(); - - do{ - Sleep(100); - err = AI_ReadChannel32(card, PollChannel, PollRange, &Value); - if(err<0){ - printf("AI_ReadChannel32 Error: %d\n", err); - Release_Card(card); - exit(1); - } - AI_VoltScale32(card, PollRange, Value, &voltage); - /*You can also replace AI_ReadChannel32() and AI_VoltScale32() by AI_VReadChannel()*/ - /*err = AI_VReadChannel(card, PollChannel, PollRange, &voltage);*/ - system("cls"); - printf("/*---------------------------------*/\n"); - printf("General Purpose Group - Channel 0\n\n"); - printf("raw data: 0x%x\n", Value); - printf("scaled voltage: %lf\n\n", voltage); - printf(" press any key to exit...\n"); - printf("/*---------------------------------*/\n"); - }while(!kbhit()); - } - - printf("Press any key to exit...\n"); - getch(); - Release_Card(card); - return 0; -} diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9524/AI_Polling/ai.dsp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9524/AI_Polling/ai.dsp deleted file mode 100644 index c26103a..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9524/AI_Polling/ai.dsp +++ /dev/null @@ -1,102 +0,0 @@ -# Microsoft Developer Studio Project File - Name="ai" - Package Owner=<4> -# Microsoft Developer Studio Generated Build File, Format Version 6.00 -# ** DO NOT EDIT ** - -# TARGTYPE "Win32 (x86) Console Application" 0x0103 - -CFG=ai - Win32 Debug -!MESSAGE This is not a valid makefile. To build this project using NMAKE, -!MESSAGE use the Export Makefile command and run -!MESSAGE -!MESSAGE NMAKE /f "ai.mak". -!MESSAGE -!MESSAGE You can specify a configuration when running NMAKE -!MESSAGE by defining the macro CFG on the command line. For example: -!MESSAGE -!MESSAGE NMAKE /f "ai.mak" CFG="ai - Win32 Debug" -!MESSAGE -!MESSAGE Possible choices for configuration are: -!MESSAGE -!MESSAGE "ai - Win32 Release" (based on "Win32 (x86) Console Application") -!MESSAGE "ai - Win32 Debug" (based on "Win32 (x86) Console Application") -!MESSAGE - -# Begin Project -# PROP AllowPerConfigDependencies 0 -# PROP Scc_ProjName "" -# PROP Scc_LocalPath "" -CPP=cl.exe -RSC=rc.exe - -!IF "$(CFG)" == "ai - Win32 Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "Release" -# PROP BASE Intermediate_Dir "Release" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "" -# PROP Intermediate_Dir "Release" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c -# ADD CPP /nologo /W3 /GX /O2 /I "../../../include" /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c -# ADD BASE RSC /l 0x404 /d "NDEBUG" -# ADD RSC /l 0x404 /d "NDEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ../../../lib/pci-dask.lib /nologo /subsystem:console /machine:I386 - -!ELSEIF "$(CFG)" == "ai - Win32 Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "Debug" -# PROP BASE Intermediate_Dir "Debug" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "Debug" -# PROP Intermediate_Dir "Debug" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /GZ /c -# ADD CPP /nologo /W3 /Gm /GX /ZI /Od /I "../../../include" /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /GZ /c -# ADD BASE RSC /l 0x404 /d "_DEBUG" -# ADD RSC /l 0x404 /d "_DEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ../../../lib/pci-dask.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept - -!ENDIF - -# Begin Target - -# Name "ai - Win32 Release" -# Name "ai - Win32 Debug" -# Begin Group "Source Files" - -# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;idl;hpj;bat" -# Begin Source File - -SOURCE=.\ai.c -# End Source File -# End Group -# Begin Group "Header Files" - -# PROP Default_Filter "h;hpp;hxx;hm;inl" -# End Group -# Begin Group "Resource Files" - -# PROP Default_Filter "ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe" -# End Group -# End Target -# End Project diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9524/AI_Polling/ai.dsw b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9524/AI_Polling/ai.dsw deleted file mode 100644 index 2e548b2..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9524/AI_Polling/ai.dsw +++ /dev/null @@ -1,29 +0,0 @@ -Microsoft Developer Studio Workspace File, Format Version 6.00 -# WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE! - -############################################################################### - -Project: "ai"=.\ai.dsp - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ -}}} - -############################################################################### - -Global: - -Package=<5> -{{{ -}}} - -Package=<3> -{{{ -}}} - -############################################################################### - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9524/AI_Polling/ai.exe b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9524/AI_Polling/ai.exe deleted file mode 100644 index acbfa26..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9524/AI_Polling/ai.exe and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9524/AI_ScanChannels/ai.c b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9524/AI_ScanChannels/ai.c deleted file mode 100644 index bba91f8..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9524/AI_ScanChannels/ai.c +++ /dev/null @@ -1,165 +0,0 @@ -/*-----------------------------------------------------------------------------*/ -/* Date: 2007/02/19 */ -/* Company: AdLINK Technology Inc. */ -/* */ -/* This sample scans AI channels to acquire analog voltage. */ -/* PCI-9524 has two AI group, load cell group and general purpose group. */ -/* You must configure the AI group by calling AI_9524_Config function. */ -/* AI_9524_PollConfig function should be called to start ADC while the */ -/* AI transfer mode is set to polling mode. */ -/* Some advanced setting related DSP is required while load cell group is */ -/* performing. */ -/*-----------------------------------------------------------------------------*/ -#include -#include -#include -#include -#include "dask.h" - - -int main(int argc, char **argv) -{ - U16 card_num; - I16 card, err; - U16 Group; - U16 XMode = P9524_AI_XFER_POLL; - U16 ConfigCtrl; - U16 PollChannel; - U16 PollRange; - U16 PollSpeed; - U32 VBuffer[4]; - U16 i; - F64 voltage[4]; - F64 ActualRate; - - printf("This sample performs AI Polling operation.\n"); - printf("Card Number? "); - scanf(" %hd", &card_num); - - card = Register_Card(PCI_9524, card_num); - if(card<0){ - printf("Register Card Failed: %d\n", card); - exit(1); - } - - printf("Load Cell Channel[0] or General Purpose Channel[1]? [0]or[1] "); - scanf(" %hd", &Group); - if(Group>1){ - printf("invalid group\n"); - Release_Card(card); - exit(1); - } - - if(Group==0){ - /*Load Cell Group*/ - PollChannel = P9524_AI_POLL_ALLCHANNELS; - ConfigCtrl = P9524_VEX_Range_10V|P9524_VEX_Sence_Remote|P9524_AI_AZMode; - PollRange = 0; - PollSpeed = P9524_ADC_60_SPS; - - for(i=0; i<4; i++){ - err = AI_9524_SetDSP(card, i, P9524_SPIKE_REJ_ENABLE, 2, 16); - if(err<0){ - printf("AI_9524_SetDSP Error: %d\n", err); - Release_Card(card); - exit(1); - } - } - - err = AI_9524_Config(card, Group, XMode, ConfigCtrl, 0, 0); - if(err<0){ - printf("AI_9524_Config Error: %d\n", err); - Release_Card(card); - exit(1); - } - - err = AI_9524_PollConfig(card, Group, PollChannel, PollRange, PollSpeed); - if(err<0){ - printf("AI_9524_PollConfig Error: %d\n", err); - Release_Card(card); - exit(1); - } - - err = GetActualRate_9524(card, Group, PollSpeed, &ActualRate); - if(err<0) - printf("GetActualRate_9524 Error: %d\n", err); - printf("\nADC started at speed: %7.2lf SPS\n", ActualRate); - printf("Press any key to start read AI channel...\n"); - getch(); - - do{ - Sleep(100); - err = AI_ScanReadChannels32(card, Group, PollRange, VBuffer); - if(err<0){ - printf("AI_ScanReadChannels32 Error: %d\n", err); - Release_Card(card); - exit(1); - } - //AI_VoltScale32(card, PollRange, Value, &voltage); - AI_ContVScale(card, PollRange, VBuffer, voltage, 4); - system("cls"); - printf("/*---------------------------------*/\n"); - for(i=0; i<4; i++){ - printf("Load Cell Group - Channel %d\n", i); - printf("raw data: 0x%x\n", VBuffer[i]); - printf("scaled voltage: %lf\n\n", voltage[i]); - } - printf(" press any key to exit...\n"); - printf("/*---------------------------------*/\n"); - }while(!kbhit()); - } - else{ - /*General Purpose Group*/ - PollChannel = P9524_AI_POLL_ALLCHANNELS; - ConfigCtrl = 0; - PollRange = AD_B_10_V; - PollSpeed = P9524_ADC_60_SPS; - - err = AI_9524_Config(card, Group, XMode, ConfigCtrl, 0, 0); - if(err<0){ - printf("AI_9524_Config Error: %d\n", err); - Release_Card(card); - exit(1); - } - - err = AI_9524_PollConfig(card, Group, PollChannel, PollRange, PollSpeed); - if(err<0){ - printf("AI_9524_PollConfig Error: %d\n", err); - Release_Card(card); - exit(1); - } - - err = GetActualRate_9524(card, Group, PollSpeed, &ActualRate); - if(err<0) - printf("GetActualRate_9524 Error: %d\n", err); - printf("\nADC started at speed: %7.2lf SPS\n", ActualRate); - printf("Press any key to start read AI channel...\n"); - getch(); - - do{ - Sleep(100); - err = AI_ScanReadChannels32(card, Group, PollRange, VBuffer); - if(err<0){ - printf("AI_ScanReadChannels32 Error: %d\n", err); - Release_Card(card); - exit(1); - } - //AI_VoltScale32(card, PollRange, Value, &voltage); - AI_ContVScale(card, PollRange, VBuffer, voltage, 4); - system("cls"); - printf("/*---------------------------------*/\n"); - for(i=0; i<4; i++){ - printf("General Purpose Group - Channel %d\n", i); - printf("raw data: 0x%x\n", VBuffer[i]); - printf("scaled voltage: %lf\n\n", voltage[i]); - } - printf(" press any key to exit...\n"); - printf("/*---------------------------------*/\n"); - }while(!kbhit()); - } - - printf("Press any key to exit...\n"); - getch(); - Release_Card(card); - return 0; -} diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9524/AI_ScanChannels/ai.dsp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9524/AI_ScanChannels/ai.dsp deleted file mode 100644 index c26103a..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9524/AI_ScanChannels/ai.dsp +++ /dev/null @@ -1,102 +0,0 @@ -# Microsoft Developer Studio Project File - Name="ai" - Package Owner=<4> -# Microsoft Developer Studio Generated Build File, Format Version 6.00 -# ** DO NOT EDIT ** - -# TARGTYPE "Win32 (x86) Console Application" 0x0103 - -CFG=ai - Win32 Debug -!MESSAGE This is not a valid makefile. To build this project using NMAKE, -!MESSAGE use the Export Makefile command and run -!MESSAGE -!MESSAGE NMAKE /f "ai.mak". -!MESSAGE -!MESSAGE You can specify a configuration when running NMAKE -!MESSAGE by defining the macro CFG on the command line. For example: -!MESSAGE -!MESSAGE NMAKE /f "ai.mak" CFG="ai - Win32 Debug" -!MESSAGE -!MESSAGE Possible choices for configuration are: -!MESSAGE -!MESSAGE "ai - Win32 Release" (based on "Win32 (x86) Console Application") -!MESSAGE "ai - Win32 Debug" (based on "Win32 (x86) Console Application") -!MESSAGE - -# Begin Project -# PROP AllowPerConfigDependencies 0 -# PROP Scc_ProjName "" -# PROP Scc_LocalPath "" -CPP=cl.exe -RSC=rc.exe - -!IF "$(CFG)" == "ai - Win32 Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "Release" -# PROP BASE Intermediate_Dir "Release" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "" -# PROP Intermediate_Dir "Release" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c -# ADD CPP /nologo /W3 /GX /O2 /I "../../../include" /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c -# ADD BASE RSC /l 0x404 /d "NDEBUG" -# ADD RSC /l 0x404 /d "NDEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ../../../lib/pci-dask.lib /nologo /subsystem:console /machine:I386 - -!ELSEIF "$(CFG)" == "ai - Win32 Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "Debug" -# PROP BASE Intermediate_Dir "Debug" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "Debug" -# PROP Intermediate_Dir "Debug" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /GZ /c -# ADD CPP /nologo /W3 /Gm /GX /ZI /Od /I "../../../include" /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /GZ /c -# ADD BASE RSC /l 0x404 /d "_DEBUG" -# ADD RSC /l 0x404 /d "_DEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ../../../lib/pci-dask.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept - -!ENDIF - -# Begin Target - -# Name "ai - Win32 Release" -# Name "ai - Win32 Debug" -# Begin Group "Source Files" - -# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;idl;hpj;bat" -# Begin Source File - -SOURCE=.\ai.c -# End Source File -# End Group -# Begin Group "Header Files" - -# PROP Default_Filter "h;hpp;hxx;hm;inl" -# End Group -# Begin Group "Resource Files" - -# PROP Default_Filter "ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe" -# End Group -# End Target -# End Project diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9524/AI_ScanChannels/ai.dsw b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9524/AI_ScanChannels/ai.dsw deleted file mode 100644 index 2e548b2..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9524/AI_ScanChannels/ai.dsw +++ /dev/null @@ -1,29 +0,0 @@ -Microsoft Developer Studio Workspace File, Format Version 6.00 -# WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE! - -############################################################################### - -Project: "ai"=.\ai.dsp - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ -}}} - -############################################################################### - -Global: - -Package=<5> -{{{ -}}} - -Package=<3> -{{{ -}}} - -############################################################################### - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9524/AI_ScanChannels/ai.exe b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9524/AI_ScanChannels/ai.exe deleted file mode 100644 index 85ee285..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9524/AI_ScanChannels/ai.exe and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9524/AO_PollUpdate/ao.c b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9524/AO_PollUpdate/ao.c deleted file mode 100644 index 3b5b8cd..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9524/AO_PollUpdate/ao.c +++ /dev/null @@ -1,61 +0,0 @@ -/*----------------------------------------------------------------------------*/ -/* Date: 2008/02/19 */ -/* Company: ADLINK Technology Inc. */ -/* */ -/* PCI-9524 has two AO port and the range is from -10V to 10V. */ -/* This sample updates the indicated voltage to the indicated AO port. */ -/*----------------------------------------------------------------------------*/ -#include -#include -#include -#include -#include "dask.h" - -int main(int argc, char **argv) -{ - U16 card_num; - I16 card; - I16 err; - U16 Channel; - U8 fStop; - F64 OutValue; - - printf("This sample updates voltage value to AO port.\n"); - printf("Card Number? "); - scanf(" %hd", &card_num); - - card = Register_Card(PCI_9524, card_num); - if(card<0){ - printf("Register_Card Error: %d\n", card); - exit(1); - } - - do{ - system("cls"); - - printf("Update Channel? (0)or(1): "); - scanf(" %hd", &Channel); - if(Channel>1){ - printf("Invalid Channel Number\n"); - exit(1); - } - - printf("Update Voltage? [-10 ~ 10]: "); - scanf(" %lf", &OutValue); - /*AO range: -10V ~ 10V*/ - OutValue = (OutValue>10.0)? 10:OutValue; - OutValue = (OutValue<-10.0)? -10:OutValue; - - /*Update Voltage*/ - err = AO_VWriteChannel(card, Channel, OutValue); - if(err<0){ - printf("AO_WriteChannel Error: %d\n", err); - } - - printf("\npress 'q' or 'Q' to stop or others to continue...\n"); - fStop = getch(); - }while((fStop!='q')&&(fStop!='Q')); - - Release_Card(card); - return 0; -} diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9524/AO_PollUpdate/ao.dsp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9524/AO_PollUpdate/ao.dsp deleted file mode 100644 index 17b98a6..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9524/AO_PollUpdate/ao.dsp +++ /dev/null @@ -1,102 +0,0 @@ -# Microsoft Developer Studio Project File - Name="ao" - Package Owner=<4> -# Microsoft Developer Studio Generated Build File, Format Version 6.00 -# ** DO NOT EDIT ** - -# TARGTYPE "Win32 (x86) Console Application" 0x0103 - -CFG=ao - Win32 Debug -!MESSAGE This is not a valid makefile. To build this project using NMAKE, -!MESSAGE use the Export Makefile command and run -!MESSAGE -!MESSAGE NMAKE /f "ao.mak". -!MESSAGE -!MESSAGE You can specify a configuration when running NMAKE -!MESSAGE by defining the macro CFG on the command line. For example: -!MESSAGE -!MESSAGE NMAKE /f "ao.mak" CFG="ao - Win32 Debug" -!MESSAGE -!MESSAGE Possible choices for configuration are: -!MESSAGE -!MESSAGE "ao - Win32 Release" (based on "Win32 (x86) Console Application") -!MESSAGE "ao - Win32 Debug" (based on "Win32 (x86) Console Application") -!MESSAGE - -# Begin Project -# PROP AllowPerConfigDependencies 0 -# PROP Scc_ProjName "" -# PROP Scc_LocalPath "" -CPP=cl.exe -RSC=rc.exe - -!IF "$(CFG)" == "ao - Win32 Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "Release" -# PROP BASE Intermediate_Dir "Release" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "" -# PROP Intermediate_Dir "Release" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c -# ADD CPP /nologo /W3 /GX /O2 /I "../../../include" /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c -# ADD BASE RSC /l 0x404 /d "NDEBUG" -# ADD RSC /l 0x404 /d "NDEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ../../../lib/pci-dask.lib /nologo /subsystem:console /machine:I386 - -!ELSEIF "$(CFG)" == "ao - Win32 Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "Debug" -# PROP BASE Intermediate_Dir "Debug" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "Debug" -# PROP Intermediate_Dir "Debug" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /GZ /c -# ADD CPP /nologo /W3 /Gm /GX /ZI /Od /I "../../../include" /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /GZ /c -# ADD BASE RSC /l 0x404 /d "_DEBUG" -# ADD RSC /l 0x404 /d "_DEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ../../../lib/pci-dask.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept - -!ENDIF - -# Begin Target - -# Name "ao - Win32 Release" -# Name "ao - Win32 Debug" -# Begin Group "Source Files" - -# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;idl;hpj;bat" -# Begin Source File - -SOURCE=.\ao.c -# End Source File -# End Group -# Begin Group "Header Files" - -# PROP Default_Filter "h;hpp;hxx;hm;inl" -# End Group -# Begin Group "Resource Files" - -# PROP Default_Filter "ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe" -# End Group -# End Target -# End Project diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9524/AO_PollUpdate/ao.dsw b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9524/AO_PollUpdate/ao.dsw deleted file mode 100644 index d7a54c7..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9524/AO_PollUpdate/ao.dsw +++ /dev/null @@ -1,29 +0,0 @@ -Microsoft Developer Studio Workspace File, Format Version 6.00 -# WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE! - -############################################################################### - -Project: "ao"=.\ao.dsp - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ -}}} - -############################################################################### - -Global: - -Package=<5> -{{{ -}}} - -Package=<3> -{{{ -}}} - -############################################################################### - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9524/AO_PollUpdate/ao.exe b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9524/AO_PollUpdate/ao.exe deleted file mode 100644 index 17213fa..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9524/AO_PollUpdate/ao.exe and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9524/AO_SimuUpdate/ao.c b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9524/AO_SimuUpdate/ao.c deleted file mode 100644 index ccc4047..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9524/AO_SimuUpdate/ao.c +++ /dev/null @@ -1,58 +0,0 @@ -/*----------------------------------------------------------------------------*/ -/* Date: 2008/02/19 */ -/* Company: ADLINK Technology Inc. */ -/* */ -/* PCI-9524 has two AO ports and the range is from -10V to 10V. */ -/* This sample updates the two AO ports simultaneously. */ -/*----------------------------------------------------------------------------*/ -#include -#include -#include -#include -#include "dask.h" - -int main(int argc, char **argv) -{ - U16 card_num; - I16 card; - I16 err; - U16 Group = P9524_AO_CH0_1; - U8 fStop; - F64 VBuffer[2]; - - printf("This sample updates voltage values to the two AO ports simultaneously.\n"); - printf("Card Number? "); - scanf(" %hd", &card_num); - - card = Register_Card(PCI_9524, card_num); - if(card<0){ - printf("Register_Card Error: %d\n", card); - exit(1); - } - - do{ - system("cls"); - - printf("AO Channel 0 Update Voltage? [-10 ~ 10]: "); - scanf(" %lf", &VBuffer[0]); - VBuffer[0] = (VBuffer[0]>10.0)? 10:VBuffer[0]; - VBuffer[0] = (VBuffer[0]<-10.0)? -10:VBuffer[0]; - - printf("AO Channel 1 Update Voltage? [-10 ~ 10]: "); - scanf(" %lf", &VBuffer[1]); - VBuffer[1] = (VBuffer[1]>10.0)? 10:VBuffer[1]; - VBuffer[1] = (VBuffer[1]<-10.0)? -10:VBuffer[1]; - - /*Simultaneously Update Voltage*/ - err = AO_SimuVWriteChannel(card, Group, VBuffer); - if(err<0){ - printf("AO_SimuVWriteChannel Error: %d\n", err); - } - - printf("\npress 'q' or 'Q' to stop or others to continue...\n"); - fStop = getch(); - }while((fStop!='q')&&(fStop!='Q')); - - Release_Card(card); - return 0; -} diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9524/AO_SimuUpdate/ao.dsp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9524/AO_SimuUpdate/ao.dsp deleted file mode 100644 index 17b98a6..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9524/AO_SimuUpdate/ao.dsp +++ /dev/null @@ -1,102 +0,0 @@ -# Microsoft Developer Studio Project File - Name="ao" - Package Owner=<4> -# Microsoft Developer Studio Generated Build File, Format Version 6.00 -# ** DO NOT EDIT ** - -# TARGTYPE "Win32 (x86) Console Application" 0x0103 - -CFG=ao - Win32 Debug -!MESSAGE This is not a valid makefile. To build this project using NMAKE, -!MESSAGE use the Export Makefile command and run -!MESSAGE -!MESSAGE NMAKE /f "ao.mak". -!MESSAGE -!MESSAGE You can specify a configuration when running NMAKE -!MESSAGE by defining the macro CFG on the command line. For example: -!MESSAGE -!MESSAGE NMAKE /f "ao.mak" CFG="ao - Win32 Debug" -!MESSAGE -!MESSAGE Possible choices for configuration are: -!MESSAGE -!MESSAGE "ao - Win32 Release" (based on "Win32 (x86) Console Application") -!MESSAGE "ao - Win32 Debug" (based on "Win32 (x86) Console Application") -!MESSAGE - -# Begin Project -# PROP AllowPerConfigDependencies 0 -# PROP Scc_ProjName "" -# PROP Scc_LocalPath "" -CPP=cl.exe -RSC=rc.exe - -!IF "$(CFG)" == "ao - Win32 Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "Release" -# PROP BASE Intermediate_Dir "Release" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "" -# PROP Intermediate_Dir "Release" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c -# ADD CPP /nologo /W3 /GX /O2 /I "../../../include" /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c -# ADD BASE RSC /l 0x404 /d "NDEBUG" -# ADD RSC /l 0x404 /d "NDEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ../../../lib/pci-dask.lib /nologo /subsystem:console /machine:I386 - -!ELSEIF "$(CFG)" == "ao - Win32 Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "Debug" -# PROP BASE Intermediate_Dir "Debug" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "Debug" -# PROP Intermediate_Dir "Debug" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /GZ /c -# ADD CPP /nologo /W3 /Gm /GX /ZI /Od /I "../../../include" /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /GZ /c -# ADD BASE RSC /l 0x404 /d "_DEBUG" -# ADD RSC /l 0x404 /d "_DEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ../../../lib/pci-dask.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept - -!ENDIF - -# Begin Target - -# Name "ao - Win32 Release" -# Name "ao - Win32 Debug" -# Begin Group "Source Files" - -# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;idl;hpj;bat" -# Begin Source File - -SOURCE=.\ao.c -# End Source File -# End Group -# Begin Group "Header Files" - -# PROP Default_Filter "h;hpp;hxx;hm;inl" -# End Group -# Begin Group "Resource Files" - -# PROP Default_Filter "ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe" -# End Group -# End Target -# End Project diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9524/AO_SimuUpdate/ao.dsw b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9524/AO_SimuUpdate/ao.dsw deleted file mode 100644 index d7a54c7..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9524/AO_SimuUpdate/ao.dsw +++ /dev/null @@ -1,29 +0,0 @@ -Microsoft Developer Studio Workspace File, Format Version 6.00 -# WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE! - -############################################################################### - -Project: "ao"=.\ao.dsp - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ -}}} - -############################################################################### - -Global: - -Package=<5> -{{{ -}}} - -Package=<3> -{{{ -}}} - -############################################################################### - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9524/AO_SimuUpdate/ao.exe b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9524/AO_SimuUpdate/ao.exe deleted file mode 100644 index c831c4b..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9524/AO_SimuUpdate/ao.exe and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9524/CTR_PulseGenration/ctr.c b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9524/CTR_PulseGenration/ctr.c deleted file mode 100644 index 2bbf845..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9524/CTR_PulseGenration/ctr.c +++ /dev/null @@ -1,99 +0,0 @@ -/*----------------------------------------------------------------------------*/ -/* Date: 2008/03/02 */ -/* Company: ADLINK Technology Inc. */ -/* */ -/* PCI-9524 has three Timer/Counter to generate CW/CCW, CLK/DIR pulse. */ -/* (PulseValue+PulseLength)/40000000 is the period of the generated pulse. */ -/*----------------------------------------------------------------------------*/ -#include -#include -#include -#include -#include "dask.h" - - -int main(int argc, char **argv) -{ - U16 card_num; - I16 card; - I16 err; - U16 GCtr; - U32 Value; - U16 Mode = P9524_PulseGen_CCW; - U32 PulseValue = 2000000; - U32 PulseLength = 2000000; - U32 PulseGenNum = 1000; - - printf("This sample generates %d CCW pulse in %f HZ.\n", PulseGenNum, 40000000.0/(PulseValue+PulseLength)); - printf("Card Number? "); - scanf(" %hd", &card_num); - - card = Register_Card(PCI_9524, card_num); - if(card<0){ - printf("Register_Card Error: %d\n", card); - exit(1); - } - - printf("GPTC Number? [0~2] "); - scanf(" %hd", &GCtr); - if(GCtr>2){ - printf("Invalid Counter. Force to set to GPTC0.\n\n"); - GCtr = 0; - } - - /*Clear*/ - GPTC_Clear(card, GCtr); - - /*Setup*/ - err = GPTC_Setup(card, GCtr, Mode, 0, 0, PulseValue, PulseLength); - if(err<0){ - printf("GPTC_Setup Error: %d\n", err); - GPTC_Clear(card, GCtr); - Release_Card(card); - exit(1); - } - - /*advanced configuration for pulse generation*/ - err = GPTC_9524_PG_Config(card, GCtr, PulseGenNum); - if(err<0){ - printf("GPTC_9524_PG_Config Error: %d\n", err); - GPTC_Clear(card, GCtr); - Release_Card(card); - exit(1); - } - - printf("Press any key to start\n"); - getch(); - /*Enable*/ - err = GPTC_Control(card, GCtr, P9524_CTR_Enable, 1); - if(err<0){ - printf("GPTC_Control Error: %d\n", err); - GPTC_Clear(card, GCtr); - Release_Card(card); - exit(1); - } - - do{ - err = GPTC_Read(card, GCtr, &Value); - if(err<0){ - printf("GPTC_Read Error: %d\n", err); - break; - } - - system("cls"); - printf("/*----------------------------------------*/\n"); - printf("Counter counts down while generating pulse.\n"); - printf("Counter Value: %d\n\n", Value); - printf(" Press any key to stop...\n"); - printf("/*----------------------------------------*/\n"); - Sleep(100); - }while(!kbhit());getch(); - - GPTC_Control(card, GCtr, P9524_CTR_Enable, 0); - GPTC_Clear(card, GCtr); - - printf("Press any key to exit\n"); - getch(); - Release_Card(card); - return 0; -} diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9524/CTR_PulseGenration/ctr.dsp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9524/CTR_PulseGenration/ctr.dsp deleted file mode 100644 index a8d8522..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9524/CTR_PulseGenration/ctr.dsp +++ /dev/null @@ -1,102 +0,0 @@ -# Microsoft Developer Studio Project File - Name="ctr" - Package Owner=<4> -# Microsoft Developer Studio Generated Build File, Format Version 6.00 -# ** DO NOT EDIT ** - -# TARGTYPE "Win32 (x86) Console Application" 0x0103 - -CFG=ctr - Win32 Debug -!MESSAGE This is not a valid makefile. To build this project using NMAKE, -!MESSAGE use the Export Makefile command and run -!MESSAGE -!MESSAGE NMAKE /f "ctr.mak". -!MESSAGE -!MESSAGE You can specify a configuration when running NMAKE -!MESSAGE by defining the macro CFG on the command line. For example: -!MESSAGE -!MESSAGE NMAKE /f "ctr.mak" CFG="ctr - Win32 Debug" -!MESSAGE -!MESSAGE Possible choices for configuration are: -!MESSAGE -!MESSAGE "ctr - Win32 Release" (based on "Win32 (x86) Console Application") -!MESSAGE "ctr - Win32 Debug" (based on "Win32 (x86) Console Application") -!MESSAGE - -# Begin Project -# PROP AllowPerConfigDependencies 0 -# PROP Scc_ProjName "" -# PROP Scc_LocalPath "" -CPP=cl.exe -RSC=rc.exe - -!IF "$(CFG)" == "ctr - Win32 Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "Release" -# PROP BASE Intermediate_Dir "Release" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "" -# PROP Intermediate_Dir "Release" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c -# ADD CPP /nologo /W3 /GX /O2 /I "../../../include" /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c -# ADD BASE RSC /l 0x404 /d "NDEBUG" -# ADD RSC /l 0x404 /d "NDEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ../../../lib/pci-dask.lib /nologo /subsystem:console /machine:I386 - -!ELSEIF "$(CFG)" == "ctr - Win32 Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "Debug" -# PROP BASE Intermediate_Dir "Debug" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "Debug" -# PROP Intermediate_Dir "Debug" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /GZ /c -# ADD CPP /nologo /W3 /Gm /GX /ZI /Od /I "../../../include" /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /GZ /c -# ADD BASE RSC /l 0x404 /d "_DEBUG" -# ADD RSC /l 0x404 /d "_DEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ../../../lib/pci-dask.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept - -!ENDIF - -# Begin Target - -# Name "ctr - Win32 Release" -# Name "ctr - Win32 Debug" -# Begin Group "Source Files" - -# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;idl;hpj;bat" -# Begin Source File - -SOURCE=.\ctr.c -# End Source File -# End Group -# Begin Group "Header Files" - -# PROP Default_Filter "h;hpp;hxx;hm;inl" -# End Group -# Begin Group "Resource Files" - -# PROP Default_Filter "ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe" -# End Group -# End Target -# End Project diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9524/CTR_PulseGenration/ctr.dsw b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9524/CTR_PulseGenration/ctr.dsw deleted file mode 100644 index 061143c..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9524/CTR_PulseGenration/ctr.dsw +++ /dev/null @@ -1,29 +0,0 @@ -Microsoft Developer Studio Workspace File, Format Version 6.00 -# WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE! - -############################################################################### - -Project: "ctr"=.\ctr.dsp - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ -}}} - -############################################################################### - -Global: - -Package=<5> -{{{ -}}} - -Package=<3> -{{{ -}}} - -############################################################################### - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9524/CTR_PulseGenration/ctr.exe b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9524/CTR_PulseGenration/ctr.exe deleted file mode 100644 index 4a2b130..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9524/CTR_PulseGenration/ctr.exe and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9524/CTR_QuadratureDecoder/ctr.c b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9524/CTR_QuadratureDecoder/ctr.c deleted file mode 100644 index 8b980bf..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9524/CTR_QuadratureDecoder/ctr.c +++ /dev/null @@ -1,109 +0,0 @@ -/*----------------------------------------------------------------------------*/ -/* Date: 2008/02/19 */ -/* Company: ADLINK Technology Inc. */ -/* */ -/* PCI-9524 has three Quadrature Decoder to decodes x4_AB_Phase Pulse. */ -/* This sample decodes the x4_AB_Pulse and shows the decoded step. */ -/*----------------------------------------------------------------------------*/ -#include -#include -#include -#include -#include "dask.h" - - -int main(int argc, char **argv) -{ - U16 card_num; - I16 card; - I16 err; - U16 GCtr; - U32 Value; - U16 Mode = P9524_x4_AB_Phase_Decoder; - - printf("This sample Decodes X4_AB_Phase Pulse by Decoder.\n"); - printf("Card Number? "); - scanf(" %hd", &card_num); - - card = Register_Card(PCI_9524, card_num); - if(card<0){ - printf("Register_Card Error: %d\n", card); - exit(1); - } - - printf("Decoder Number? [0~2] "); - scanf(" %hd", &GCtr); - if(GCtr==0) - GCtr = P9524_CTR_QD0; - else if(GCtr==1) - GCtr = P9524_CTR_QD1; - else if(GCtr==2) - GCtr = P9524_CTR_QD2; - else{ - printf("Invalid Decoder. Force to Set to Decoder 0\n\n"); - GCtr = P9524_CTR_QD0; - } - - err = GPTC_Clear(card, GCtr); - if(err<0){ - printf("GPTC_Clear Error: %d\n", err); - Release_Card(card); - exit(1); - } - - err = GPTC_Setup(card, GCtr, Mode, 0, 0, 0, 0); - if(err<0){ - printf("GPTC_Setup Error: %d\n", err); - Release_Card(card); - exit(1); - } - - printf("Press any key to start the specified Quadrature Decoder\n"); - getch(); - - err = GPTC_Control(card, GCtr, P9524_CTR_Enable, 1); - if(err<0){ - printf("GPTC_Control Error: %d\n", err); - Release_Card(card); - exit(1); - } - - do{ - err = GPTC_Read(card, GCtr, &Value); - if(err<0){ - printf("GPTC_Read Error: %d\n", err); - break; - } - system("cls"); - printf("/*------------------------------*/\n"); - printf(" Decoder: %d\n", GCtr-3); - printf(" Raw Data: 0x%x\n", Value); - printf(" 2's Complement Value: %d\n\n", (int)(Value*256)/256); - printf(" Press any key to stop...\n"); - printf("/*------------------------------*/\n"); - Sleep(100); - }while(!kbhit());getch(); - - err = GPTC_Control(card, GCtr, P9524_CTR_Enable, 0); - if(err<0){ - printf("GPTC_Control Error: %d\n", err); - Release_Card(card); - exit(1); - } - - printf("Press any key to exit\n"); - getch(); - - err = GPTC_Clear( - card, - GCtr - ); - if(err<0){ - printf("GPTC_Clear Error: %d\n", err); - Release_Card(card); - exit(1); - } - - Release_Card(card); - return 0; -} diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9524/CTR_QuadratureDecoder/ctr.dsp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9524/CTR_QuadratureDecoder/ctr.dsp deleted file mode 100644 index a8d8522..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9524/CTR_QuadratureDecoder/ctr.dsp +++ /dev/null @@ -1,102 +0,0 @@ -# Microsoft Developer Studio Project File - Name="ctr" - Package Owner=<4> -# Microsoft Developer Studio Generated Build File, Format Version 6.00 -# ** DO NOT EDIT ** - -# TARGTYPE "Win32 (x86) Console Application" 0x0103 - -CFG=ctr - Win32 Debug -!MESSAGE This is not a valid makefile. To build this project using NMAKE, -!MESSAGE use the Export Makefile command and run -!MESSAGE -!MESSAGE NMAKE /f "ctr.mak". -!MESSAGE -!MESSAGE You can specify a configuration when running NMAKE -!MESSAGE by defining the macro CFG on the command line. For example: -!MESSAGE -!MESSAGE NMAKE /f "ctr.mak" CFG="ctr - Win32 Debug" -!MESSAGE -!MESSAGE Possible choices for configuration are: -!MESSAGE -!MESSAGE "ctr - Win32 Release" (based on "Win32 (x86) Console Application") -!MESSAGE "ctr - Win32 Debug" (based on "Win32 (x86) Console Application") -!MESSAGE - -# Begin Project -# PROP AllowPerConfigDependencies 0 -# PROP Scc_ProjName "" -# PROP Scc_LocalPath "" -CPP=cl.exe -RSC=rc.exe - -!IF "$(CFG)" == "ctr - Win32 Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "Release" -# PROP BASE Intermediate_Dir "Release" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "" -# PROP Intermediate_Dir "Release" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c -# ADD CPP /nologo /W3 /GX /O2 /I "../../../include" /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c -# ADD BASE RSC /l 0x404 /d "NDEBUG" -# ADD RSC /l 0x404 /d "NDEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ../../../lib/pci-dask.lib /nologo /subsystem:console /machine:I386 - -!ELSEIF "$(CFG)" == "ctr - Win32 Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "Debug" -# PROP BASE Intermediate_Dir "Debug" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "Debug" -# PROP Intermediate_Dir "Debug" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /GZ /c -# ADD CPP /nologo /W3 /Gm /GX /ZI /Od /I "../../../include" /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /GZ /c -# ADD BASE RSC /l 0x404 /d "_DEBUG" -# ADD RSC /l 0x404 /d "_DEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ../../../lib/pci-dask.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept - -!ENDIF - -# Begin Target - -# Name "ctr - Win32 Release" -# Name "ctr - Win32 Debug" -# Begin Group "Source Files" - -# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;idl;hpj;bat" -# Begin Source File - -SOURCE=.\ctr.c -# End Source File -# End Group -# Begin Group "Header Files" - -# PROP Default_Filter "h;hpp;hxx;hm;inl" -# End Group -# Begin Group "Resource Files" - -# PROP Default_Filter "ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe" -# End Group -# End Target -# End Project diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9524/CTR_QuadratureDecoder/ctr.dsw b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9524/CTR_QuadratureDecoder/ctr.dsw deleted file mode 100644 index 061143c..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9524/CTR_QuadratureDecoder/ctr.dsw +++ /dev/null @@ -1,29 +0,0 @@ -Microsoft Developer Studio Workspace File, Format Version 6.00 -# WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE! - -############################################################################### - -Project: "ctr"=.\ctr.dsp - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ -}}} - -############################################################################### - -Global: - -Package=<5> -{{{ -}}} - -Package=<3> -{{{ -}}} - -############################################################################### - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9524/CTR_QuadratureDecoder/ctr.exe b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9524/CTR_QuadratureDecoder/ctr.exe deleted file mode 100644 index 084bf72..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9524/CTR_QuadratureDecoder/ctr.exe and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9524/Calibration/Cal.c b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9524/Calibration/Cal.c deleted file mode 100644 index f68064b..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9524/Calibration/Cal.c +++ /dev/null @@ -1,129 +0,0 @@ -/*----------------------------------------------------------------------------*/ -/* Date: 2007/03/07 */ -/* Company: ADLINK Technology Inc. */ -/* */ -/* This sample performs auto calibration for AI and AO channels */ -/* PCI-9524 has 4 EEPROM bank to store calibration constant. */ -/* */ -/* Default Bank - Bank 0 */ -/* The calibration constants of default bank will be loaded while loading */ -/* PCI-9524 driver. You can also use PCI_Load_CAL_Data() function to load */ -/* the calibration constants from the EEPROM bank manually. */ -/* */ -/* User Defined Bank - Bank 1 ~ Bank 3 */ -/* The three EEPROM banks support calibration constants R/W for users. */ -/* You can use PCI_Load_CAL_Data() to save the calibration constants to */ -/* a specified bank while the auto calibration have been completed. */ -/* You can also use PCI_Load_CAL_Data() function to load the calibration */ -/* constants from a specified bank manually. */ -/* */ -/*----------------------------------------------------------------------------*/ -#include -#include -#include -#include -#include "dask.h" - -I16 card, err; - - -void ShowConstant() -{ - U16 i, j; - U32 CalDate; - F32 CalTemp; - U32 ADC_offset; - U32 ADC_gain; - F64 Residual_offset; - F64 Residual_scaling; - U8 DAC_offset; - U8 DAC_linearity; - F32 Gain_factor; - FILE *fin; - - if(!(fin=fopen("EEPROM_Const.txt", "w"))){ - printf("file open error\n"); - exit(1); - } - for(j=0; j<16; j++){ - err = PCI9524_Acquire_AD_CalConst(card, 0, 0, j, &CalDate, &CalTemp, &ADC_offset, &ADC_gain, &Residual_offset, &Residual_scaling); - if(err<0) - exit(1); - fprintf(fin, "Group:0 Gain:0 Speed:%d CalDate:%d CalTemp:%f ADC_offset:%d ADC_gain:%d Residual_offset:%13.9lf Residual_scaling:%13.10lf\n", j, CalDate, CalTemp, ADC_offset, ADC_gain, Residual_offset, Residual_scaling); - } - for(i=1; i<=4; i++){ - for(j=0; j<16; j++){ - err = PCI9524_Acquire_AD_CalConst(card, 1, i, j, &CalDate, &CalTemp, &ADC_offset, &ADC_gain, &Residual_offset, &Residual_scaling); - if(err<0) - exit(1); - fprintf(fin, "Group:1 Gain:%d Speed:%d CalDate:%d CalTemp:%f ADC_offset:%d ADC_gain:%d Residual_offset:%13.9lf Residual_scaling:%13.10lf\n", i, j, CalDate, CalTemp, ADC_offset, ADC_gain, Residual_offset, Residual_scaling); - } - } - for(i=0; i<2; i++){ - err = PCI9524_Acquire_DA_CalConst(card, i, &CalDate, &CalTemp, &DAC_offset, &DAC_linearity, &Gain_factor); - if(err<0) - exit(1); - fprintf(fin, "Channel:%d CalDate:%d CalTemp:%f DAC_offset:0x%x DAC_linearity:0x%x Gain_factor:%f\n", i, CalDate, CalTemp, DAC_offset, DAC_linearity, Gain_factor); - } - fclose(fin); -} - - -int main(int argc, char **argv) -{ - U16 card_num; - U8 fSave; - U16 bank; - - printf("The sample performs auto calibration for AI and AO channels.\n"); - printf("Card Number? "); - scanf(" %hd", &card_num); - - card = Register_Card(PCI_9524, card_num); - if(card<0){ - printf("Register_Card Error: %d\n", card); - exit(1); - } - - printf("Press any key to start auto calibration.\n"); - getch(); - - printf("It may take some minutes...\n"); - err = PCI_DB_Auto_Calibration_ALL(card); - if(err<0){ - printf("Calibration Error: %d\n", err); - printf("Press any key to exit...\n"); - getch(); - Release_Card(card); - exit(1); - } - //You can use the folling function to load calibrated constants from EEPROM - //PCI_Load_CAL_Data(card, 1); - - printf("\nAuto Calibration have been done successfully.\n"); - ShowConstant(); - - printf("\nSave the Calibration constants to the EEPROM? [Y]es or [N]o : "); - scanf(" %c", &fSave); - if((fSave=='Y')||(fSave=='y')){ -BANK_S: - printf("Bank Number? [1~3] : "); - scanf(" %hd", &bank); - if((bank==0)||(bank>3)){ - printf("Invalid Bank.\n"); - goto BANK_S; - } - else{ - err = PCI_EEPROM_CAL_Constant_Update(card, bank); - if(err<0){ - printf("PCI_Load_CAL_Data Error: %d\n", err); - } - - } - } - - printf("Press any key to exit...\n"); - getch(); - Release_Card(card); - return 0; -} diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9524/Calibration/Cal.dsp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9524/Calibration/Cal.dsp deleted file mode 100644 index fbb521a..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9524/Calibration/Cal.dsp +++ /dev/null @@ -1,102 +0,0 @@ -# Microsoft Developer Studio Project File - Name="Cal" - Package Owner=<4> -# Microsoft Developer Studio Generated Build File, Format Version 6.00 -# ** DO NOT EDIT ** - -# TARGTYPE "Win32 (x86) Console Application" 0x0103 - -CFG=Cal - Win32 Debug -!MESSAGE This is not a valid makefile. To build this project using NMAKE, -!MESSAGE use the Export Makefile command and run -!MESSAGE -!MESSAGE NMAKE /f "Cal.mak". -!MESSAGE -!MESSAGE You can specify a configuration when running NMAKE -!MESSAGE by defining the macro CFG on the command line. For example: -!MESSAGE -!MESSAGE NMAKE /f "Cal.mak" CFG="Cal - Win32 Debug" -!MESSAGE -!MESSAGE Possible choices for configuration are: -!MESSAGE -!MESSAGE "Cal - Win32 Release" (based on "Win32 (x86) Console Application") -!MESSAGE "Cal - Win32 Debug" (based on "Win32 (x86) Console Application") -!MESSAGE - -# Begin Project -# PROP AllowPerConfigDependencies 0 -# PROP Scc_ProjName "" -# PROP Scc_LocalPath "" -CPP=cl.exe -RSC=rc.exe - -!IF "$(CFG)" == "Cal - Win32 Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "Release" -# PROP BASE Intermediate_Dir "Release" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "" -# PROP Intermediate_Dir "Release" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c -# ADD CPP /nologo /W3 /GX /O2 /I "../../../include" /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c -# ADD BASE RSC /l 0x404 /d "NDEBUG" -# ADD RSC /l 0x404 /d "NDEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ../../../lib/pci-dask.lib /nologo /subsystem:console /machine:I386 - -!ELSEIF "$(CFG)" == "Cal - Win32 Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "Debug" -# PROP BASE Intermediate_Dir "Debug" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "Debug" -# PROP Intermediate_Dir "Debug" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /GZ /c -# ADD CPP /nologo /W3 /Gm /GX /ZI /Od /I "../../../include" /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /GZ /c -# ADD BASE RSC /l 0x404 /d "_DEBUG" -# ADD RSC /l 0x404 /d "_DEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ../../../lib/pci-dask.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept - -!ENDIF - -# Begin Target - -# Name "Cal - Win32 Release" -# Name "Cal - Win32 Debug" -# Begin Group "Source Files" - -# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;idl;hpj;bat" -# Begin Source File - -SOURCE=.\Cal.c -# End Source File -# End Group -# Begin Group "Header Files" - -# PROP Default_Filter "h;hpp;hxx;hm;inl" -# End Group -# Begin Group "Resource Files" - -# PROP Default_Filter "ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe" -# End Group -# End Target -# End Project diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9524/Calibration/Cal.dsw b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9524/Calibration/Cal.dsw deleted file mode 100644 index 74b9ac5..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9524/Calibration/Cal.dsw +++ /dev/null @@ -1,29 +0,0 @@ -Microsoft Developer Studio Workspace File, Format Version 6.00 -# WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE! - -############################################################################### - -Project: "Cal"=.\Cal.dsp - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ -}}} - -############################################################################### - -Global: - -Package=<5> -{{{ -}}} - -Package=<3> -{{{ -}}} - -############################################################################### - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9524/Calibration/Cal.exe b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9524/Calibration/Cal.exe deleted file mode 100644 index 5a26828..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9524/Calibration/Cal.exe and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9524/Calibration/EEPROM_Const.txt b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9524/Calibration/EEPROM_Const.txt deleted file mode 100644 index 53c4ed1..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9524/Calibration/EEPROM_Const.txt +++ /dev/null @@ -1,82 +0,0 @@ -Group:0 Gain:0 Speed:0 CalDate:20080331 CalTemp:53.032551 ADC_offset:16776908 ADC_gain:4543893 Residual_offset: -0.365666667 Residual_scaling: 0.0000000238 -Group:0 Gain:0 Speed:1 CalDate:20080331 CalTemp:53.032551 ADC_offset:16776931 ADC_gain:4543915 Residual_offset: 0.176333333 Residual_scaling: 0.0000000238 -Group:0 Gain:0 Speed:2 CalDate:20080331 CalTemp:53.032551 ADC_offset:16776929 ADC_gain:4543936 Residual_offset: 0.594666667 Residual_scaling: 0.0000000238 -Group:0 Gain:0 Speed:3 CalDate:20080331 CalTemp:53.032551 ADC_offset:16776913 ADC_gain:4840772 Residual_offset: -1.924000000 Residual_scaling: 0.0000000224 -Group:0 Gain:0 Speed:4 CalDate:20080331 CalTemp:53.032551 ADC_offset:16776942 ADC_gain:5014417 Residual_offset: -0.486666667 Residual_scaling: 0.0000000230 -Group:0 Gain:0 Speed:5 CalDate:20080331 CalTemp:53.032551 ADC_offset:16776927 ADC_gain:4927554 Residual_offset: -0.213333333 Residual_scaling: 0.0000000235 -Group:0 Gain:0 Speed:6 CalDate:20080331 CalTemp:53.032551 ADC_offset:16776927 ADC_gain:4887675 Residual_offset: -0.120000000 Residual_scaling: 0.0000000236 -Group:0 Gain:0 Speed:7 CalDate:20080331 CalTemp:53.032551 ADC_offset:16776853 ADC_gain:3883817 Residual_offset: -0.150000000 Residual_scaling: 0.0000000238 -Group:0 Gain:0 Speed:8 CalDate:20080331 CalTemp:53.032551 ADC_offset:16776914 ADC_gain:4657534 Residual_offset: -0.333333333 Residual_scaling: 0.0000000238 -Group:0 Gain:0 Speed:9 CalDate:20080331 CalTemp:53.032551 ADC_offset:16776844 ADC_gain:3880626 Residual_offset: -0.533333333 Residual_scaling: 0.0000000238 -Group:0 Gain:0 Speed:10 CalDate:20080331 CalTemp:53.032551 ADC_offset:16776912 ADC_gain:4655296 Residual_offset: -0.133333333 Residual_scaling: 0.0000000238 -Group:0 Gain:0 Speed:11 CalDate:20080331 CalTemp:53.032551 ADC_offset:16776847 ADC_gain:3879062 Residual_offset: -0.733333333 Residual_scaling: 0.0000000238 -Group:0 Gain:0 Speed:12 CalDate:20080331 CalTemp:53.032551 ADC_offset:16776909 ADC_gain:4654042 Residual_offset: -0.200000000 Residual_scaling: 0.0000000238 -Group:0 Gain:0 Speed:13 CalDate:20080331 CalTemp:53.032551 ADC_offset:16776757 ADC_gain:3102459 Residual_offset: -1.000000000 Residual_scaling: 0.0000000238 -Group:0 Gain:0 Speed:14 CalDate:20080331 CalTemp:53.032551 ADC_offset:16776755 ADC_gain:3102202 Residual_offset: 0.000000000 Residual_scaling: 0.0000000238 -Group:0 Gain:0 Speed:15 CalDate:20080331 CalTemp:53.032551 ADC_offset:16776759 ADC_gain:3102076 Residual_offset: -0.500000000 Residual_scaling: 0.0000000238 -Group:1 Gain:1 Speed:0 CalDate:20080331 CalTemp:53.032551 ADC_offset:16777189 ADC_gain:5086184 Residual_offset:-67.458000000 Residual_scaling: 0.0000013246 -Group:1 Gain:1 Speed:1 CalDate:20080331 CalTemp:53.032551 ADC_offset:16777180 ADC_gain:5086226 Residual_offset:-45.584333333 Residual_scaling: 0.0000013245 -Group:1 Gain:1 Speed:2 CalDate:20080331 CalTemp:53.032551 ADC_offset:16777159 ADC_gain:5086221 Residual_offset: 6.225333333 Residual_scaling: 0.0000013246 -Group:1 Gain:1 Speed:3 CalDate:20080331 CalTemp:53.032551 ADC_offset:16777169 ADC_gain:5086207 Residual_offset:-17.578666667 Residual_scaling: 0.0000013246 -Group:1 Gain:1 Speed:4 CalDate:20080331 CalTemp:53.032551 ADC_offset:16777164 ADC_gain:5425307 Residual_offset: 1.578333333 Residual_scaling: 0.0000013246 -Group:1 Gain:1 Speed:5 CalDate:20080331 CalTemp:53.032551 ADC_offset:16777168 ADC_gain:5424193 Residual_offset: -9.010000000 Residual_scaling: 0.0000013246 -Group:1 Gain:1 Speed:6 CalDate:20080331 CalTemp:53.032551 ADC_offset:16777164 ADC_gain:5423647 Residual_offset: 1.283333333 Residual_scaling: 0.0000013245 -Group:1 Gain:1 Speed:7 CalDate:20080331 CalTemp:53.032551 ADC_offset:16777152 ADC_gain:4338913 Residual_offset: -0.650000000 Residual_scaling: 0.0000013245 -Group:1 Gain:1 Speed:8 CalDate:20080331 CalTemp:53.032551 ADC_offset:16777161 ADC_gain:5206704 Residual_offset: 1.833333333 Residual_scaling: 0.0000013245 -Group:1 Gain:1 Speed:9 CalDate:20080331 CalTemp:53.032551 ADC_offset:16777149 ADC_gain:4338701 Residual_offset: 4.883333333 Residual_scaling: 0.0000013245 -Group:1 Gain:1 Speed:10 CalDate:20080331 CalTemp:53.032551 ADC_offset:16777163 ADC_gain:5206439 Residual_offset: -2.866666667 Residual_scaling: 0.0000013245 -Group:1 Gain:1 Speed:11 CalDate:20080331 CalTemp:53.032551 ADC_offset:16777151 ADC_gain:4338699 Residual_offset: -0.366666667 Residual_scaling: 0.0000013245 -Group:1 Gain:1 Speed:12 CalDate:20080331 CalTemp:53.032551 ADC_offset:16777162 ADC_gain:5206443 Residual_offset: -0.133333333 Residual_scaling: 0.0000013245 -Group:1 Gain:1 Speed:13 CalDate:20080331 CalTemp:53.032551 ADC_offset:16777136 ADC_gain:3470959 Residual_offset: -0.800000000 Residual_scaling: 0.0000013245 -Group:1 Gain:1 Speed:14 CalDate:20080331 CalTemp:53.032551 ADC_offset:16777134 ADC_gain:3470960 Residual_offset: 1.800000000 Residual_scaling: 0.0000013245 -Group:1 Gain:1 Speed:15 CalDate:20080331 CalTemp:53.032551 ADC_offset:16777137 ADC_gain:3470960 Residual_offset: -1.750000000 Residual_scaling: 0.0000013245 -Group:1 Gain:2 Speed:0 CalDate:20080331 CalTemp:53.032551 ADC_offset:16777123 ADC_gain:5086514 Residual_offset: 27.543333333 Residual_scaling: 0.0000006623 -Group:1 Gain:2 Speed:1 CalDate:20080331 CalTemp:53.032551 ADC_offset:16777142 ADC_gain:5086485 Residual_offset:-20.078666667 Residual_scaling: 0.0000006623 -Group:1 Gain:2 Speed:2 CalDate:20080331 CalTemp:53.032551 ADC_offset:16777143 ADC_gain:5086491 Residual_offset:-18.916000000 Residual_scaling: 0.0000006623 -Group:1 Gain:2 Speed:3 CalDate:20080331 CalTemp:53.032551 ADC_offset:16777147 ADC_gain:5086472 Residual_offset:-29.848000000 Residual_scaling: 0.0000006623 -Group:1 Gain:2 Speed:4 CalDate:20080331 CalTemp:53.032551 ADC_offset:16777146 ADC_gain:5425590 Residual_offset:-15.366666667 Residual_scaling: 0.0000006623 -Group:1 Gain:2 Speed:5 CalDate:20080331 CalTemp:53.032551 ADC_offset:16777141 ADC_gain:5424494 Residual_offset: -4.430000000 Residual_scaling: 0.0000006623 -Group:1 Gain:2 Speed:6 CalDate:20080331 CalTemp:53.032551 ADC_offset:16777131 ADC_gain:5423947 Residual_offset: 21.053333333 Residual_scaling: 0.0000006623 -Group:1 Gain:2 Speed:7 CalDate:20080331 CalTemp:53.032551 ADC_offset:16777118 ADC_gain:4339155 Residual_offset: 5.150000000 Residual_scaling: 0.0000006623 -Group:1 Gain:2 Speed:8 CalDate:20080331 CalTemp:53.032551 ADC_offset:16777136 ADC_gain:5206982 Residual_offset: -0.366666667 Residual_scaling: 0.0000006623 -Group:1 Gain:2 Speed:9 CalDate:20080331 CalTemp:53.032551 ADC_offset:16777118 ADC_gain:4338932 Residual_offset: 2.400000000 Residual_scaling: 0.0000006623 -Group:1 Gain:2 Speed:10 CalDate:20080331 CalTemp:53.032551 ADC_offset:16777136 ADC_gain:5206716 Residual_offset: -0.400000000 Residual_scaling: 0.0000006623 -Group:1 Gain:2 Speed:11 CalDate:20080331 CalTemp:53.032551 ADC_offset:16777119 ADC_gain:4338933 Residual_offset: 0.766666667 Residual_scaling: 0.0000006623 -Group:1 Gain:2 Speed:12 CalDate:20080331 CalTemp:53.032551 ADC_offset:16777136 ADC_gain:5206719 Residual_offset: 0.466666667 Residual_scaling: 0.0000006623 -Group:1 Gain:2 Speed:13 CalDate:20080331 CalTemp:53.032551 ADC_offset:16777097 ADC_gain:3471147 Residual_offset: -2.900000000 Residual_scaling: 0.0000006623 -Group:1 Gain:2 Speed:14 CalDate:20080331 CalTemp:53.032551 ADC_offset:16777097 ADC_gain:3471145 Residual_offset: -0.200000000 Residual_scaling: 0.0000006623 -Group:1 Gain:2 Speed:15 CalDate:20080331 CalTemp:53.032551 ADC_offset:16777097 ADC_gain:3471148 Residual_offset: -1.750000000 Residual_scaling: 0.0000006622 -Group:1 Gain:3 Speed:0 CalDate:20080331 CalTemp:53.032551 ADC_offset:16777067 ADC_gain:5086593 Residual_offset: 32.787666667 Residual_scaling: 0.0000003311 -Group:1 Gain:3 Speed:1 CalDate:20080331 CalTemp:53.032551 ADC_offset:16777078 ADC_gain:5086610 Residual_offset: 2.975333333 Residual_scaling: 0.0000003311 -Group:1 Gain:3 Speed:2 CalDate:20080331 CalTemp:53.032551 ADC_offset:16777089 ADC_gain:5086531 Residual_offset:-20.140000000 Residual_scaling: 0.0000003311 -Group:1 Gain:3 Speed:3 CalDate:20080331 CalTemp:53.032551 ADC_offset:16777072 ADC_gain:5086575 Residual_offset: 17.482666667 Residual_scaling: 0.0000003311 -Group:1 Gain:3 Speed:4 CalDate:20080331 CalTemp:53.032551 ADC_offset:16777087 ADC_gain:5425678 Residual_offset: 1.923333333 Residual_scaling: 0.0000003311 -Group:1 Gain:3 Speed:5 CalDate:20080331 CalTemp:53.032551 ADC_offset:16777099 ADC_gain:5424541 Residual_offset:-29.470000000 Residual_scaling: 0.0000003311 -Group:1 Gain:3 Speed:6 CalDate:20080331 CalTemp:53.032551 ADC_offset:16777091 ADC_gain:5423997 Residual_offset: -9.203333333 Residual_scaling: 0.0000003311 -Group:1 Gain:3 Speed:7 CalDate:20080331 CalTemp:53.032551 ADC_offset:16777057 ADC_gain:4339204 Residual_offset: -2.900000000 Residual_scaling: 0.0000003311 -Group:1 Gain:3 Speed:8 CalDate:20080331 CalTemp:53.032551 ADC_offset:16777085 ADC_gain:5207041 Residual_offset: -5.800000000 Residual_scaling: 0.0000003311 -Group:1 Gain:3 Speed:9 CalDate:20080331 CalTemp:53.032551 ADC_offset:16777056 ADC_gain:4338983 Residual_offset: -1.033333333 Residual_scaling: 0.0000003311 -Group:1 Gain:3 Speed:10 CalDate:20080331 CalTemp:53.032551 ADC_offset:16777083 ADC_gain:5206778 Residual_offset: -1.333333333 Residual_scaling: 0.0000003311 -Group:1 Gain:3 Speed:11 CalDate:20080331 CalTemp:53.032551 ADC_offset:16777057 ADC_gain:4338983 Residual_offset: -2.933333333 Residual_scaling: 0.0000003311 -Group:1 Gain:3 Speed:12 CalDate:20080331 CalTemp:53.032551 ADC_offset:16777083 ADC_gain:5206781 Residual_offset: -1.933333333 Residual_scaling: 0.0000003311 -Group:1 Gain:3 Speed:13 CalDate:20080331 CalTemp:53.032551 ADC_offset:16777017 ADC_gain:3471187 Residual_offset: -2.200000000 Residual_scaling: 0.0000003311 -Group:1 Gain:3 Speed:14 CalDate:20080331 CalTemp:53.032551 ADC_offset:16777016 ADC_gain:3471187 Residual_offset: 1.200000000 Residual_scaling: 0.0000003311 -Group:1 Gain:3 Speed:15 CalDate:20080331 CalTemp:53.032551 ADC_offset:16777017 ADC_gain:3471187 Residual_offset: -1.750000000 Residual_scaling: 0.0000003311 -Group:1 Gain:4 Speed:0 CalDate:20080331 CalTemp:53.032551 ADC_offset:16776950 ADC_gain:5086074 Residual_offset: 49.081000000 Residual_scaling: 0.0000001656 -Group:1 Gain:4 Speed:1 CalDate:20080331 CalTemp:53.032551 ADC_offset:16776984 ADC_gain:5086023 Residual_offset:-33.083666667 Residual_scaling: 0.0000001656 -Group:1 Gain:4 Speed:2 CalDate:20080331 CalTemp:53.032551 ADC_offset:16776958 ADC_gain:5086067 Residual_offset: 33.553333333 Residual_scaling: 0.0000001656 -Group:1 Gain:4 Speed:3 CalDate:20080331 CalTemp:53.032551 ADC_offset:16776971 ADC_gain:5086012 Residual_offset: -0.385333333 Residual_scaling: 0.0000001656 -Group:1 Gain:4 Speed:4 CalDate:20080331 CalTemp:53.032551 ADC_offset:16776991 ADC_gain:5425099 Residual_offset:-12.958333333 Residual_scaling: 0.0000001656 -Group:1 Gain:4 Speed:5 CalDate:20080331 CalTemp:53.032551 ADC_offset:16776986 ADC_gain:5424001 Residual_offset: -1.430000000 Residual_scaling: 0.0000001656 -Group:1 Gain:4 Speed:6 CalDate:20080331 CalTemp:53.032551 ADC_offset:16776982 ADC_gain:5423448 Residual_offset: 10.863333333 Residual_scaling: 0.0000001656 -Group:1 Gain:4 Speed:7 CalDate:20080331 CalTemp:53.032551 ADC_offset:16776927 ADC_gain:4338751 Residual_offset: 2.633333333 Residual_scaling: 0.0000001656 -Group:1 Gain:4 Speed:8 CalDate:20080331 CalTemp:53.032551 ADC_offset:16776976 ADC_gain:5206501 Residual_offset: -2.933333333 Residual_scaling: 0.0000001656 -Group:1 Gain:4 Speed:9 CalDate:20080331 CalTemp:53.032551 ADC_offset:16776926 ADC_gain:4338535 Residual_offset: 2.816666667 Residual_scaling: 0.0000001656 -Group:1 Gain:4 Speed:10 CalDate:20080331 CalTemp:53.032551 ADC_offset:16776976 ADC_gain:5206236 Residual_offset: -2.000000000 Residual_scaling: 0.0000001656 -Group:1 Gain:4 Speed:11 CalDate:20080331 CalTemp:53.032551 ADC_offset:16776929 ADC_gain:4338530 Residual_offset: -3.800000000 Residual_scaling: 0.0000001656 -Group:1 Gain:4 Speed:12 CalDate:20080331 CalTemp:53.032551 ADC_offset:16776975 ADC_gain:5206236 Residual_offset: 1.600000000 Residual_scaling: 0.0000001656 -Group:1 Gain:4 Speed:13 CalDate:20080331 CalTemp:53.032551 ADC_offset:16776857 ADC_gain:3470822 Residual_offset: -3.200000000 Residual_scaling: 0.0000001656 -Group:1 Gain:4 Speed:14 CalDate:20080331 CalTemp:53.032551 ADC_offset:16776858 ADC_gain:3470825 Residual_offset: -3.600000000 Residual_scaling: 0.0000001656 -Group:1 Gain:4 Speed:15 CalDate:20080331 CalTemp:53.032551 ADC_offset:16776858 ADC_gain:3470825 Residual_offset: -1.000000000 Residual_scaling: 0.0000001656 -Channel:0 CalDate:20080331 CalTemp:53.032551 DAC_offset:0x76 DAC_linearity:0xcf Gain_factor:0.995422 -Channel:1 CalDate:20080331 CalTemp:53.032551 DAC_offset:0x73 DAC_linearity:0x76 Gain_factor:0.995850 diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9524/DIO_Polling/dio.c b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9524/DIO_Polling/dio.c deleted file mode 100644 index b1f87be..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9524/DIO_Polling/dio.c +++ /dev/null @@ -1,78 +0,0 @@ -/*----------------------------------------------------------------------------*/ -/* Date: 2008/02/19 */ -/* Company: ADLINK Technology Inc. */ -/* */ -/* This sample outputs digital data to DO port, and read data from DI port */ -/* and DI port. */ -/* You can connect DO port and DI port. */ -/*----------------------------------------------------------------------------*/ -#include -#include -#include -#include -#include "dask.h" - - -int main(int argc, char **argv) -{ - I16 card; - I16 err; - U16 card_num; - U32 dwDOWriteValue=0; - U32 dwDOReadValue; - U32 dwDIReadValue; - - printf("This sample writes data to DO port, and reads data from DI port.\n"); - printf("Card Number? "); - scanf(" %hd", &card_num); - - card = Register_Card(PCI_9524, card_num); - if(card<0){ - printf("Register_Card Error: %d\n", card); - exit(1); - } - - do{ - system("cls"); - printf("/*--------------------------------*/\n"); - - /*Write DO Port*/ - err = DO_WritePort(card, 0, dwDOWriteValue); - if(err<0){ - printf("DO_WritePort Error: %d\n", err); - Release_Card(card); - exit(1); - } - printf("\n Write DO port value: %d\n", dwDOWriteValue); - Sleep(1); - - /*Read DO Port*/ - err = DO_ReadPort(card, 0, &dwDOReadValue); - if(err<0){ - printf("DO_ReadPort Error: %d\n", err); - Release_Card(card); - exit(1); - } - printf("\n Read DO port value: %d\n", dwDOReadValue); - - /*Read DI Port*/ - err = DI_ReadPort(card, 0, &dwDIReadValue); - if(err<0){ - printf("DI_ReadPort Error: %d\n", err); - Release_Card(card); - exit(1); - } - printf("\n Read DI port value: %d\n", dwDIReadValue); - - printf("\n\t\tpress any key to stop\n"); - printf("/*--------------------------------*/\n"); - - if((++dwDOWriteValue)>0xff) - dwDOWriteValue = 0; - Sleep(100); - }while(!kbhit()); - - - Release_Card(card); - return 0; -} diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9524/DIO_Polling/dio.dsp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9524/DIO_Polling/dio.dsp deleted file mode 100644 index c793f4f..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9524/DIO_Polling/dio.dsp +++ /dev/null @@ -1,102 +0,0 @@ -# Microsoft Developer Studio Project File - Name="dio" - Package Owner=<4> -# Microsoft Developer Studio Generated Build File, Format Version 6.00 -# ** DO NOT EDIT ** - -# TARGTYPE "Win32 (x86) Console Application" 0x0103 - -CFG=dio - Win32 Debug -!MESSAGE This is not a valid makefile. To build this project using NMAKE, -!MESSAGE use the Export Makefile command and run -!MESSAGE -!MESSAGE NMAKE /f "dio.mak". -!MESSAGE -!MESSAGE You can specify a configuration when running NMAKE -!MESSAGE by defining the macro CFG on the command line. For example: -!MESSAGE -!MESSAGE NMAKE /f "dio.mak" CFG="dio - Win32 Debug" -!MESSAGE -!MESSAGE Possible choices for configuration are: -!MESSAGE -!MESSAGE "dio - Win32 Release" (based on "Win32 (x86) Console Application") -!MESSAGE "dio - Win32 Debug" (based on "Win32 (x86) Console Application") -!MESSAGE - -# Begin Project -# PROP AllowPerConfigDependencies 0 -# PROP Scc_ProjName "" -# PROP Scc_LocalPath "" -CPP=cl.exe -RSC=rc.exe - -!IF "$(CFG)" == "dio - Win32 Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "Release" -# PROP BASE Intermediate_Dir "Release" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "" -# PROP Intermediate_Dir "Release" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c -# ADD CPP /nologo /W3 /GX /O2 /I "../../../include" /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c -# ADD BASE RSC /l 0x404 /d "NDEBUG" -# ADD RSC /l 0x404 /d "NDEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ../../../lib/pci-dask.lib /nologo /subsystem:console /machine:I386 - -!ELSEIF "$(CFG)" == "dio - Win32 Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "Debug" -# PROP BASE Intermediate_Dir "Debug" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "Debug" -# PROP Intermediate_Dir "Debug" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /GZ /c -# ADD CPP /nologo /W3 /Gm /GX /ZI /Od /I "../../../include" /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /GZ /c -# ADD BASE RSC /l 0x404 /d "_DEBUG" -# ADD RSC /l 0x404 /d "_DEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ../../../lib/pci-dask.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept - -!ENDIF - -# Begin Target - -# Name "dio - Win32 Release" -# Name "dio - Win32 Debug" -# Begin Group "Source Files" - -# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;idl;hpj;bat" -# Begin Source File - -SOURCE=.\dio.c -# End Source File -# End Group -# Begin Group "Header Files" - -# PROP Default_Filter "h;hpp;hxx;hm;inl" -# End Group -# Begin Group "Resource Files" - -# PROP Default_Filter "ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe" -# End Group -# End Target -# End Project diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9524/DIO_Polling/dio.dsw b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9524/DIO_Polling/dio.dsw deleted file mode 100644 index 6264399..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9524/DIO_Polling/dio.dsw +++ /dev/null @@ -1,29 +0,0 @@ -Microsoft Developer Studio Workspace File, Format Version 6.00 -# WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE! - -############################################################################### - -Project: "dio"=.\dio.dsp - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ -}}} - -############################################################################### - -Global: - -Package=<5> -{{{ -}}} - -Package=<3> -{{{ -}}} - -############################################################################### - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9524/DIO_Polling/dio.exe b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9524/DIO_Polling/dio.exe deleted file mode 100644 index cf5f6e8..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9524/DIO_Polling/dio.exe and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9524/DIO_Polling/dio_connect.txt b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9524/DIO_Polling/dio_connect.txt deleted file mode 100644 index 31d3b6e..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9524/DIO_Polling/dio_connect.txt +++ /dev/null @@ -1,15 +0,0 @@ -/*--------*/ -DO -> DI+ - -06 -> 16 -40 -> 15 -05 -> 14 -39 -> 13 -02 -> 11 -36 -> 10 -01 -> 09 -35 -> 08 - -/*---------------*/ -all DI- -> ISOPWR -50, 49, 48, 47, 45, 44, 43, 42 -> 03(07, 12, 17, 20, 23) diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9812/9812 VB5/9812DMA.FRX b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9812/9812 VB5/9812DMA.FRX deleted file mode 100644 index 5302967..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9812/9812 VB5/9812DMA.FRX and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9812/9812 VB5/9812DMA.VBP b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9812/9812 VB5/9812DMA.VBP deleted file mode 100644 index 0700644..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9812/9812 VB5/9812DMA.VBP +++ /dev/null @@ -1,33 +0,0 @@ -Type=Exe -Form=9812DMA.FRM -Module=DASK; ..\..\..\Include\Dask.bas -Reference=*\G{00025E04-0000-0000-C000-000000000046}#3.5#0#C:\PROGRAM FILES\COMMON FILES\MICROSOFT SHARED\DAO\dao2535.tlb#Microsoft DAO 2.5/3.0 Compatibility Library -IconForm="dma9812" -Startup="dma9812" -Title="8112DMA" -ExeName32="9812dma.exe" -Command32="" -Name="vb48112dma" -HelpContextID="0" -CompatibleMode="0" -MajorVer=1 -MinorVer=0 -RevisionVer=0 -AutoIncrementVer=0 -ServerSupportFiles=0 -VersionCompanyName="III" -CompilationType=0 -OptimizationType=0 -FavorPentiumPro(tm)=0 -CodeViewDebugInfo=0 -NoAliasing=0 -BoundsCheck=0 -OverflowCheck=0 -FlPointCheck=0 -FDIVCheck=0 -UnroundedFP=0 -StartMode=0 -Unattended=0 -Retained=0 -ThreadPerObject=0 -MaxNumberOfThreads=1 diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9812/9812 VB5/9812DMA.VBW b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9812/9812 VB5/9812DMA.VBW deleted file mode 100644 index 116d476..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9812/9812 VB5/9812DMA.VBW +++ /dev/null @@ -1,2 +0,0 @@ -dma9812 = 66, 66, 428, 404, Z, 22, 22, 384, 360, C -DASK = 66, 66, 433, 405, diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9812/9812 VB5/9812dma.Frm b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9812/9812 VB5/9812dma.Frm deleted file mode 100644 index ad670c5..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9812/9812 VB5/9812dma.Frm +++ /dev/null @@ -1,743 +0,0 @@ -VERSION 5.00 -Begin VB.Form dma9812 - Appearance = 0 'Flat - AutoRedraw = -1 'True - BackColor = &H00C0C0C0& - Caption = "9812 DMA" - ClientHeight = 6390 - ClientLeft = 1020 - ClientTop = 1650 - ClientWidth = 7665 - BeginProperty Font - Name = "MS Sans Serif" - Size = 8.25 - Charset = 0 - Weight = 700 - Underline = 0 'False - Italic = 0 'False - Strikethrough = 0 'False - EndProperty - ForeColor = &H0000FFFF& - LinkTopic = "Form1" - PaletteMode = 1 'UseZOrder - ScaleHeight = 6390 - ScaleWidth = 7665 - Begin VB.Frame Frame4 - Appearance = 0 'Flat - BackColor = &H00C0C0C0& - Caption = "Card Type" - ForeColor = &H00FF0000& - Height = 735 - Left = 4920 - TabIndex = 30 - Top = 5040 - Width = 2595 - Begin VB.ComboBox cobCardType - Appearance = 0 'Flat - Height = 315 - Left = 540 - Style = 2 'Dropdown List - TabIndex = 31 - Top = 300 - Width = 1395 - End - End - Begin VB.Frame Frame3 - Appearance = 0 'Flat - BackColor = &H00C0C0C0& - Caption = "Post Trigger Count" - ForeColor = &H00FF0000& - Height = 615 - Left = 120 - TabIndex = 28 - Top = 5160 - Width = 2055 - Begin VB.TextBox txtPostCount - Alignment = 1 'Right Justify - Height = 285 - Left = 180 - TabIndex = 29 - Text = "500" - Top = 240 - Width = 975 - End - End - Begin VB.Frame Frame2 - Appearance = 0 'Flat - BackColor = &H00C0C0C0& - Caption = "Channel Count" - ForeColor = &H00FF0000& - Height = 615 - Left = 120 - TabIndex = 25 - Top = 4500 - Width = 2055 - Begin VB.ComboBox cobChn - Appearance = 0 'Flat - Height = 315 - Left = 180 - Style = 2 'Dropdown List - TabIndex = 26 - Top = 240 - Width = 855 - End - Begin VB.Label Label8 - Appearance = 0 'Flat - BackColor = &H00C0C0C0& - Caption = "channels" - ForeColor = &H0000FFFF& - Height = 255 - Left = 1080 - TabIndex = 27 - Top = 300 - Width = 795 - End - End - Begin VB.Frame Frame1 - Appearance = 0 'Flat - BackColor = &H00C0C0C0& - Caption = "Trigger" - ForeColor = &H00FF0000& - Height = 1935 - Left = 2280 - TabIndex = 17 - Top = 3840 - Width = 2535 - Begin VB.ComboBox cobTrigLevel - Appearance = 0 'Flat - Height = 315 - Left = 900 - Style = 2 'Dropdown List - TabIndex = 38 - Top = 1500 - Width = 975 - End - Begin VB.ComboBox cobTrigPol - Appearance = 0 'Flat - Height = 315 - Left = 900 - Style = 2 'Dropdown List - TabIndex = 22 - Top = 1080 - Width = 1515 - End - Begin VB.ComboBox cobTrigSrc - Appearance = 0 'Flat - Height = 315 - Left = 900 - Style = 2 'Dropdown List - TabIndex = 19 - Top = 660 - Width = 1515 - End - Begin VB.ComboBox cobTrigMode - Appearance = 0 'Flat - Height = 315 - Left = 900 - Style = 2 'Dropdown List - TabIndex = 18 - Top = 240 - Width = 1515 - End - Begin VB.Label Label7 - Caption = "Level:" - Height = 195 - Left = 120 - TabIndex = 24 - Top = 1560 - Width = 735 - End - Begin VB.Label Label6 - Caption = "Polarity:" - Height = 195 - Left = 120 - TabIndex = 23 - Top = 1140 - Width = 735 - End - Begin VB.Label Label5 - Caption = "Source:" - Height = 195 - Left = 120 - TabIndex = 21 - Top = 720 - Width = 735 - End - Begin VB.Label Label4 - Caption = "Mode:" - Height = 195 - Left = 120 - TabIndex = 20 - Top = 300 - Width = 675 - End - End - Begin VB.CommandButton btnStart - Appearance = 0 'Flat - BackColor = &H80000005& - Caption = "Start" - Height = 375 - Left = 3240 - TabIndex = 3 - Top = 5940 - Width = 1005 - End - Begin VB.Frame frmData - Appearance = 0 'Flat - BackColor = &H00C0C0C0& - Caption = "Data Size (in samples)" - ForeColor = &H00FF0000& - Height = 615 - Left = 120 - TabIndex = 2 - Top = 3840 - Width = 2055 - Begin VB.ComboBox cobDataSize - Appearance = 0 'Flat - Height = 315 - Left = 180 - TabIndex = 12 - Text = "cobDataSize" - Top = 240 - Width = 1395 - End - End - Begin VB.Frame frmSample - Appearance = 0 'Flat - BackColor = &H00C0C0C0& - Caption = "Clock" - ForeColor = &H00FF0000& - Height = 1095 - Left = 4920 - TabIndex = 1 - Top = 3840 - Width = 2595 - Begin VB.ComboBox cobClkSrc - Appearance = 0 'Flat - Height = 315 - Left = 900 - Style = 2 'Dropdown List - TabIndex = 16 - Top = 240 - Width = 1515 - End - Begin VB.ComboBox cobRate - Appearance = 0 'Flat - Height = 315 - Left = 900 - Style = 2 'Dropdown List - TabIndex = 11 - Top = 660 - Width = 975 - End - Begin VB.Label Label3 - Caption = "Source:" - Height = 195 - Left = 180 - TabIndex = 15 - Top = 300 - Width = 675 - End - Begin VB.Label Label2 - Caption = "Rate:" - Height = 195 - Left = 180 - TabIndex = 14 - Top = 720 - Width = 495 - End - Begin VB.Label Label1 - Appearance = 0 'Flat - BackColor = &H00C0C0C0& - Caption = "MHz" - ForeColor = &H0000FFFF& - Height = 255 - Left = 1980 - TabIndex = 13 - Top = 735 - Width = 450 - End - End - Begin VB.Frame dmaFrame - Appearance = 0 'Flat - BackColor = &H00C0C0C0& - Caption = "DMA Input(A/D)" - ForeColor = &H00FF0000& - Height = 3735 - Left = 120 - TabIndex = 0 - Top = 60 - Width = 7395 - Begin VB.HScrollBar scrollView - Height = 255 - LargeChange = 10 - Left = 720 - TabIndex = 39 - Top = 3360 - Width = 5655 - End - Begin VB.PictureBox picScreen - Appearance = 0 'Flat - AutoRedraw = -1 'True - BackColor = &H00000000& - ForeColor = &H80000008& - Height = 2595 - Left = 720 - ScaleHeight = 171 - ScaleMode = 3 'Pixel - ScaleWidth = 375 - TabIndex = 4 - Top = 480 - Width = 5655 - End - Begin VB.Image TriggerPos - Height = 120 - Left = 6300 - Picture = "9812DMA.frx":0000 - Top = 330 - Visible = 0 'False - Width = 120 - End - Begin VB.Label Label10 - Caption = "3" - Height = 195 - Index = 3 - Left = 6840 - TabIndex = 37 - Top = 1800 - Width = 195 - End - Begin VB.Label Label10 - Caption = "2" - Height = 195 - Index = 2 - Left = 6840 - TabIndex = 36 - Top = 1380 - Width = 195 - End - Begin VB.Label Label10 - Caption = "1" - Height = 195 - Index = 1 - Left = 6840 - TabIndex = 35 - Top = 960 - Width = 195 - End - Begin VB.Label Label10 - Caption = "0" - Height = 195 - Index = 0 - Left = 6840 - TabIndex = 34 - Top = 540 - Width = 195 - End - Begin VB.Shape shpColor - BackColor = &H00008000& - BackStyle = 1 'Opaque - Height = 255 - Index = 3 - Left = 6600 - Top = 1740 - Width = 195 - End - Begin VB.Shape shpColor - BackColor = &H000000FF& - BackStyle = 1 'Opaque - Height = 255 - Index = 2 - Left = 6600 - Top = 1320 - Width = 195 - End - Begin VB.Shape shpColor - BackColor = &H00FF0000& - BackStyle = 1 'Opaque - Height = 255 - Index = 1 - Left = 6600 - Top = 900 - Width = 195 - End - Begin VB.Shape shpColor - BackColor = &H0000FFFF& - BackStyle = 1 'Opaque - BorderColor = &H00000000& - Height = 255 - Index = 0 - Left = 6600 - Top = 480 - Width = 195 - End - Begin VB.Label lblLeft - Caption = "0" - Height = 195 - Left = 660 - TabIndex = 33 - Top = 3120 - Width = 795 - End - Begin VB.Label lblRight - Alignment = 1 'Right Justify - Caption = "0" - Height = 195 - Left = 5520 - TabIndex = 32 - Top = 3120 - Width = 915 - End - Begin VB.Label labValue - Alignment = 1 'Right Justify - Appearance = 0 'Flat - BackColor = &H00C0C0C0& - Caption = "-1.00" - ForeColor = &H0000FFFF& - Height = 255 - Index = 4 - Left = 45 - TabIndex = 10 - Top = 2940 - Width = 600 - End - Begin VB.Label labValue - Alignment = 1 'Right Justify - Appearance = 0 'Flat - BackColor = &H00C0C0C0& - Caption = "-0.50" - ForeColor = &H0000FFFF& - Height = 255 - Index = 3 - Left = 45 - TabIndex = 9 - Top = 2280 - Width = 600 - End - Begin VB.Label labValue - Alignment = 1 'Right Justify - Appearance = 0 'Flat - BackColor = &H00C0C0C0& - Caption = "0.00" - ForeColor = &H0000FFFF& - Height = 255 - Index = 2 - Left = 45 - TabIndex = 8 - Top = 1680 - Width = 600 - End - Begin VB.Label labValue - Alignment = 1 'Right Justify - Appearance = 0 'Flat - BackColor = &H00C0C0C0& - Caption = "0.50" - ForeColor = &H0000FFFF& - Height = 255 - Index = 1 - Left = 45 - TabIndex = 7 - Top = 1020 - Width = 600 - End - Begin VB.Label labValue - Alignment = 1 'Right Justify - Appearance = 0 'Flat - BackColor = &H00C0C0C0& - Caption = "1.00" - ForeColor = &H0000FFFF& - Height = 255 - Index = 0 - Left = 45 - TabIndex = 6 - Top = 420 - Width = 600 - End - Begin VB.Label labVots - Appearance = 0 'Flat - BackColor = &H00C0C0C0& - Caption = "Volt" - ForeColor = &H0000FFFF& - Height = 255 - Left = 180 - TabIndex = 5 - Top = 195 - Width = 435 - End - End - Begin VB.Label txtXfer - Alignment = 1 'Right Justify - ForeColor = &H00C00000& - Height = 255 - Left = 4860 - TabIndex = 40 - Top = 6000 - Width = 2595 - End - Begin VB.Menu mnuExit - Caption = "E&xit!" - End -End -Attribute VB_Name = "dma9812" -Attribute VB_GlobalNameSpace = False -Attribute VB_Creatable = False -Attribute VB_PredeclaredId = True -Attribute VB_Exposed = False -Const PCI9812 = 0 -Const PCI9810 = 1 -Const DISP_COUNT = 1000 -Dim card As Integer -Dim slot As Integer -Dim bus As Integer -Dim card_number As Integer -'Dim hEnts As EventHandles -Dim gnADChn As Long -Dim gnCount As Long -Dim gnClkDiv As Integer -Dim trigLevel As Integer -Dim count1 As Long -Dim ch_cnt As Integer -Dim gnBuffer(10000000) As Integer -Dim dma_size As Long -'Dim chans(4) As Integer -Dim range As Integer - -Private Sub btnStart_Click() - Dim result As Long - Dim Status As Byte - Dim i As Long, k As Long - - card_number = 0 - If card < 0 Then - btnStart.Enabled = False - card = Register_Card(PCI_9812, 0) - If card < 0 Then - MsgBox "Register Card Failed" - End - End If - End If - dma_size = CLng(cobDataSize.Text) - sample_rate = (40 * 1000000) / gnClkDiv - ch_cnt = CLng(cobChn.Text) - 'For i = 0 To ch_cnt - 1 - 'chans(i) = i 'ascending - range = AD_B_1_V - 'Next i - btnStart.Enabled = False - result = AI_9812_Config(card, CLng(cobTrigMode.ListIndex), CLng(cobTrigSrc.ListIndex) * 8, CLng(cobTrigPol.ListIndex) * 64, P9812_AD2_GT_PCI Or (CLng(cobClkSrc.ListIndex) * 256), CLng(cobTrigLevel.Text), CInt(txtPostCount.Text)) - 'result = AI_ContReadMultiChannels(card, ch_cnt, chans(0), ranges(0), gnBuffer(0), dma_size, sample_rate, ASYNCH_OP) - Status = 0 - result = AI_ContScanChannels(card, ch_cnt - 1, range, gnBuffer(0), dma_size, sample_rate, ASYNCH_OP) - - While Status = 0 - result = AI_AsyncCheck(card, Status, count1) - Wend - result = AI_AsyncClear(card, count1) - txtXfer.Caption = "Total xfer: " & CStr(count1) - scrollView.Value = 0 - scrollView.Max = Fix((count1 - 1) / DISP_COUNT) - ShowData 0, Min(count1, DISP_COUNT) - btnStart.Enabled = True -End Sub - - - - - - - -Private Sub cobRate_Click() - gnClkDiv = CInt(CSng(40) / Val(cobRate.Text)) -End Sub - - -Private Sub cobTrigLevel_Click() - DrawTrigLevel trigLevel, CInt(cobTrigLevel.Text) - trigLevel = CInt(cobTrigLevel.Text) -End Sub - - -Private Sub Form_Load() - Dim result As Long - Dim i As Integer - - cobDataSize.AddItem "2000" - cobDataSize.AddItem "4000" - cobDataSize.AddItem "8000" - cobDataSize.AddItem "20000" - cobDataSize.AddItem "40000" - cobDataSize.AddItem "80000" - cobDataSize.ListIndex = 0 - - cobChn.AddItem "1" - cobChn.AddItem "2" - cobChn.AddItem "4" - cobChn.ListIndex = 0 - - txtPostCount.Text = 500 - - cobTrigMode.AddItem "Soft-Trigger" - cobTrigMode.AddItem "Post-Trigger" - cobTrigMode.AddItem "Pre-Trigger" - cobTrigMode.AddItem "Delay-Trigger" - cobTrigMode.AddItem "Middle-Trigger" - cobTrigMode.ListIndex = 0 - - cobTrigSrc.AddItem "Channel-0" - cobTrigSrc.AddItem "Channel-1" - cobTrigSrc.AddItem "Channel-2" - cobTrigSrc.AddItem "Channel-3" - cobTrigSrc.AddItem "Digital" - cobTrigSrc.ListIndex = 0 - - cobTrigPol.AddItem "Positive" - cobTrigPol.AddItem "Negative" - cobTrigPol.ListIndex = 0 - - For i = 0 To 31 - cobTrigLevel.AddItem i * 8 - Next - cobTrigLevel.AddItem 255 - trigLevel = -1 - cobTrigLevel.ListIndex = 16 '128, 0V - trigLevel = 128 - - cobClkSrc.AddItem "Internal" - cobClkSrc.AddItem "Ext Sin" - cobClkSrc.AddItem "Ext Square" - cobClkSrc.ListIndex = 0 - - cobRate.AddItem "0.5" - cobRate.AddItem "1" - cobRate.AddItem "2" - cobRate.AddItem "5" - cobRate.AddItem "10" - cobRate.AddItem "20" - cobRate.ListIndex = 5 - gnClkDiv = 2 - - cobCardType.AddItem "9812" - cobCardType.AddItem "9810" - cobCardType.ListIndex = PCI9812 - - 'result = W_9812_Initial(CLng(0), op_base_addr, pt_base_addr, irq_no, pci_master) - 'memID = -1 - card = -1 - dma_size = 0 -End Sub - - -Private Sub ShowData(ByVal startidx As Long, ByVal acq_count As Long) - Dim i As Long, k As Long, n As Long - Dim w As Long, h As Long - Dim X As Long, Y As Long - Dim last_x(3) As Long, last_y(3) As Long - Dim samp As Integer, trig_pos As Long - picScreen.Cls - DrawTrigLevel -1, trigLevel - lblLeft.Caption = CStr(CLng(scrollView.Value) * DISP_COUNT) - lblRight.Caption = CStr(CLng(lblLeft) + DISP_COUNT - 1) - w = picScreen.ScaleWidth - h = picScreen.ScaleHeight - - For i = 0 To 3 - last_x(i) = -1 - last_y(i) = -1 - Next - For i = 0 To acq_count - 1 - k = i Mod ch_cnt - n = (startidx + i) Mod count1 - X = (i * w) / (DISP_COUNT - 1) - samp = gnBuffer(n) - If cobCardType.ListIndex = PCI9812 Then - samp = samp / 16 - Y = h * (2047 - samp) / 4096 - Else 'PCI9810 - samp = samp / 64 - Y = h * (511 - samp) / 1024 - End If - If last_y(k) <> -1 Then - picScreen.Line (last_x(k), last_y(k))-(X, Y), shpColor(k).BackColor - End If - last_x(k) = X - last_y(k) = Y - Next - 'Set trigger position - Select Case cobTrigMode.ListIndex - Case P9812_TRGMOD_POST - trig_pos = 0 - Case P9812_TRGMOD_PRE - trig_pos = count1 - 1 - Case P9812_TRGMOD_DELAY - trig_pos = -1 - Case P9812_TRGMOD_MIDL - trig_pos = count1 - CLng(txtPostCount.Text) * CLng(cobChn.Text) - End Select - If CLng(lblLeft) <= trig_pos And CLng(lblRight) >= trig_pos Then - TriggerPos.Visible = True - TriggerPos.Left = (picScreen.Left - 60) + ((trig_pos - CLng(lblLeft)) * w * Screen.TwipsPerPixelX) / (DISP_COUNT - 1) - Else - TriggerPos.Visible = False - End If -End Sub - -Private Sub Form_Unload(Cancel As Integer) - Dim result As Long - 'If memID >= 0 Then - ' result = W_9812_Free_DMA_Mem(memID) - If card >= 0 Then - Release_Card (card) - End If -End Sub - -Private Sub mnuExit_Click() - If card >= 0 Then Release_Card (card) - End -End Sub - -Private Sub scrollView_Change() - Dim idx As Long - idx = CLng(scrollView.Value) * DISP_COUNT - ShowData idx Mod count1, Min(count1 - idx, DISP_COUNT) -End Sub - -Private Sub spinPostCount_SpinDown() - If Val(txtPostCount.Text) >= 500 Then txtPostCount.Text = Val(txtPostCount.Text) - 500 -End Sub - -Private Sub spinPostCount_SpinUp() - If Val(txtPostCount.Text) <= 3500 Then txtPostCount.Text = Val(txtPostCount.Text) + 500 -End Sub - - - - - - - - - - - -Private Sub DrawTrigLevel(ByVal old_level As Integer, ByVal level As Integer) - Dim w As Long, h As Long - Dim Y As Long - - w = picScreen.ScaleWidth - h = picScreen.ScaleHeight - If old_level <> -1 Then - Y = h * (255 - old_level) / 255 - picScreen.Line (0, Y)-(w, Y), &H0 - End If - Y = h * (255 - level) / 255 - picScreen.Line (0, Y)-(w, Y), &H909090 -End Sub - -Private Function Min(ByVal v1 As Long, ByVal v2 As Long) As Long - If v1 < v2 Then - Min = v1 - Else - Min = v2 - End If -End Function - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9812/9812 VB5/TRIGGER.BMP b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9812/9812 VB5/TRIGGER.BMP deleted file mode 100644 index d71a062..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9812/9812 VB5/TRIGGER.BMP and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9812/C9812DbfFile/9812DbF.c b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9812/C9812DbfFile/9812DbF.c deleted file mode 100644 index ecd0eea..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9812/C9812DbfFile/9812DbF.c +++ /dev/null @@ -1,57 +0,0 @@ -#include -#include -#include -#include "dask.h" - -U16 channel=3; //4 channels -U16 range=AD_B_5_V; -char *file_name="9812d"; -U32 read_count=4000; -F64 sample_rate=20000; - -main() -{ - I16 card, err, card_num; - BOOLEAN halfReady, fStop; - U32 count=0, count1; - - printf("This program inputs data from CH-0 to CH-%d of PCI-9812 in %d Hz by\ndouble-buffer mode, and store data to file '%s.dat'. The size of circular\nbuffer is %d. It will not stop until you press a key.\n\nPress any key to start the operation.\n", - channel, (int)sample_rate, file_name, read_count); - printf("Please input a card number: "); - scanf(" %d", &card_num); - //getch(); - if ((card=Register_Card (PCI_9812, card_num)) <0 ) { - printf("Register_Card error=%d\n", card); - exit(1); - } - err = AI_9812_Config(card, P9812_TRGMOD_SOFT, P9812_TRGSRC_CH0, P9812_TRGSLP_POS, P9812_AD2_GT_PCI|P9812_CLKSRC_INT, 0x80, 0); - if (err!=0) { - printf("AI_9812_Config error=%d", err); - exit(1); - } - err = AI_AsyncDblBufferMode(card, 1); //double-buffer mode - if (err!=0) { - printf("AI_DblBufferMode error=%d", err); - exit(1); - } - err = AI_ContScanChannelsToFile(card, channel, range, file_name, read_count, sample_rate, ASYNCH_OP); - if (err!=0) { - printf("AI_ContReadChannel error=%d", err); - exit(1); - } - printf("\n\nPress any key to stop input operation."); - printf("\n\nData count : \n"); - do { - do { - AI_AsyncDblBufferHalfReady(card, &halfReady, &fStop); - } while (!halfReady); - AI_AsyncDblBufferTransfer(card, NULL); //transfer to file - count += (read_count / 2); - printf("%d\r", count); - } while(!kbhit()); - AI_AsyncClear(card, &count1); - Release_Card(card); - printf("\n\n%d input data are stored in file '%s.dat'.\n", count, file_name); - printf("\nPress ENTER to exit the program. "); getch(); -} - \ No newline at end of file diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9812/C9812DbfFile/9812DbF.exe b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9812/C9812DbfFile/9812DbF.exe deleted file mode 100644 index d80d344..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9812/C9812DbfFile/9812DbF.exe and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9812/C9812DbfFile/9812DbF.mak b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9812/C9812DbfFile/9812DbF.mak deleted file mode 100644 index 1aed223..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9812/C9812DbfFile/9812DbF.mak +++ /dev/null @@ -1,196 +0,0 @@ -# Microsoft Developer Studio Generated NMAKE File, Format Version 4.00 -# ** DO NOT EDIT ** - -# TARGTYPE "Win32 (x86) Console Application" 0x0103 - -!IF "$(CFG)" == "" -CFG=9812DbF - Win32 Debug -!MESSAGE No configuration specified. Defaulting to 9812DbF - Win32 Debug. -!ENDIF - -!IF "$(CFG)" != "9812DbF - Win32 Release" && "$(CFG)" !=\ - "9812DbF - Win32 Debug" -!MESSAGE Invalid configuration "$(CFG)" specified. -!MESSAGE You can specify a configuration when running NMAKE on this makefile -!MESSAGE by defining the macro CFG on the command line. For example: -!MESSAGE -!MESSAGE NMAKE /f "9812DbF.mak" CFG="9812DbF - Win32 Debug" -!MESSAGE -!MESSAGE Possible choices for configuration are: -!MESSAGE -!MESSAGE "9812DbF - Win32 Release" (based on "Win32 (x86) Console Application") -!MESSAGE "9812DbF - Win32 Debug" (based on "Win32 (x86) Console Application") -!MESSAGE -!ERROR An invalid configuration is specified. -!ENDIF - -!IF "$(OS)" == "Windows_NT" -NULL= -!ELSE -NULL=nul -!ENDIF -################################################################################ -# Begin Project -# PROP Target_Last_Scanned "9812DbF - Win32 Debug" -RSC=rc.exe -CPP=cl.exe - -!IF "$(CFG)" == "9812DbF - Win32 Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "Release" -# PROP BASE Intermediate_Dir "Release" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "" -# PROP Intermediate_Dir "Release" -# PROP Target_Dir "" -OUTDIR=. -INTDIR=.\Release - -ALL : "$(OUTDIR)\9812DbF.exe" - -CLEAN : - -@erase ".\9812DbF.exe" - -@erase ".\Release\9812DbF.obj" - -"$(INTDIR)" : - if not exist "$(INTDIR)/$(NULL)" mkdir "$(INTDIR)" - -# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /YX /c -# ADD CPP /nologo /W3 /GX /O2 /I "..\..\..\include" /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /c -# SUBTRACT CPP /YX -CPP_PROJ=/nologo /ML /W3 /GX /O2 /I "..\..\..\include" /D "WIN32" /D "NDEBUG"\ - /D "_CONSOLE" /Fo"$(INTDIR)/" /c -CPP_OBJS=.\Release/ -CPP_SBRS= -# ADD BASE RSC /l 0x404 /d "NDEBUG" -# ADD RSC /l 0x404 /d "NDEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -BSC32_FLAGS=/nologo /o"$(OUTDIR)/9812DbF.bsc" -BSC32_SBRS= -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ..\..\..\lib\pci-dask.lib /nologo /subsystem:console /machine:I386 -LINK32_FLAGS=kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib\ - advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib\ - odbccp32.lib ..\..\..\lib\pci-dask.lib /nologo /subsystem:console\ - /incremental:no /pdb:"$(OUTDIR)/9812DbF.pdb" /machine:I386\ - /out:"$(OUTDIR)/9812DbF.exe" -LINK32_OBJS= \ - ".\Release\9812DbF.obj" - -"$(OUTDIR)\9812DbF.exe" : "$(OUTDIR)" $(DEF_FILE) $(LINK32_OBJS) - $(LINK32) @<< - $(LINK32_FLAGS) $(LINK32_OBJS) -<< - -!ELSEIF "$(CFG)" == "9812DbF - Win32 Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "Debug" -# PROP BASE Intermediate_Dir "Debug" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "" -# PROP Intermediate_Dir "Debug" -# PROP Target_Dir "" -OUTDIR=. -INTDIR=.\Debug - -ALL : "$(OUTDIR)\9812DbF.exe" - -CLEAN : - -@erase ".\Debug\vc40.pdb" - -@erase ".\Debug\vc40.idb" - -@erase ".\9812DbF.exe" - -@erase ".\Debug\9812DbF.obj" - -@erase ".\9812DbF.ilk" - -@erase ".\9812DbF.pdb" - -"$(INTDIR)" : - if not exist "$(INTDIR)/$(NULL)" mkdir "$(INTDIR)" - -# ADD BASE CPP /nologo /W3 /Gm /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /YX /c -# ADD CPP /nologo /W3 /Gm /GX /Zi /Od /I "..\..\..\include" /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /c -# SUBTRACT CPP /YX -CPP_PROJ=/nologo /MLd /W3 /Gm /GX /Zi /Od /I "..\..\..\include" /D "WIN32" /D\ - "_DEBUG" /D "_CONSOLE" /Fo"$(INTDIR)/" /Fd"$(INTDIR)/" /c -CPP_OBJS=.\Debug/ -CPP_SBRS= -# ADD BASE RSC /l 0x404 /d "_DEBUG" -# ADD RSC /l 0x404 /d "_DEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -BSC32_FLAGS=/nologo /o"$(OUTDIR)/9812DbF.bsc" -BSC32_SBRS= -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /debug /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ..\..\..\lib\pci-dask.lib /nologo /subsystem:console /debug /machine:I386 -LINK32_FLAGS=kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib\ - advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib\ - odbccp32.lib ..\..\..\lib\pci-dask.lib /nologo /subsystem:console\ - /incremental:yes /pdb:"$(OUTDIR)/9812DbF.pdb" /debug /machine:I386\ - /out:"$(OUTDIR)/9812DbF.exe" -LINK32_OBJS= \ - ".\Debug\9812DbF.obj" - -"$(OUTDIR)\9812DbF.exe" : "$(OUTDIR)" $(DEF_FILE) $(LINK32_OBJS) - $(LINK32) @<< - $(LINK32_FLAGS) $(LINK32_OBJS) -<< - -!ENDIF - -.c{$(CPP_OBJS)}.obj: - $(CPP) $(CPP_PROJ) $< - -.cpp{$(CPP_OBJS)}.obj: - $(CPP) $(CPP_PROJ) $< - -.cxx{$(CPP_OBJS)}.obj: - $(CPP) $(CPP_PROJ) $< - -.c{$(CPP_SBRS)}.sbr: - $(CPP) $(CPP_PROJ) $< - -.cpp{$(CPP_SBRS)}.sbr: - $(CPP) $(CPP_PROJ) $< - -.cxx{$(CPP_SBRS)}.sbr: - $(CPP) $(CPP_PROJ) $< - -################################################################################ -# Begin Target - -# Name "9812DbF - Win32 Release" -# Name "9812DbF - Win32 Debug" - -!IF "$(CFG)" == "9812DbF - Win32 Release" - -!ELSEIF "$(CFG)" == "9812DbF - Win32 Debug" - -!ENDIF - -################################################################################ -# Begin Source File - -SOURCE=.\9812DbF.c -DEP_CPP_9812D=\ - ".\..\..\..\include\dask.h"\ - - -"$(INTDIR)\9812DbF.obj" : $(SOURCE) $(DEP_CPP_9812D) "$(INTDIR)" - - -# End Source File -# End Target -# End Project -################################################################################ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9812/C9812DbfFile/9812DbF.mdp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9812/C9812DbfFile/9812DbF.mdp deleted file mode 100644 index e7d45a0..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9812/C9812DbfFile/9812DbF.mdp and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9812/C9812File/9812FILE.C b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9812/C9812File/9812FILE.C deleted file mode 100644 index 863fbb1..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9812/C9812File/9812FILE.C +++ /dev/null @@ -1,43 +0,0 @@ -#include -#include -#include -#include "dask.h" - -U16 channel=3; //4 channels -U16 range=AD_B_1_V; -char *file_name="9812d"; -U32 read_count=400000; -F64 sample_rate=10000000; - -main() -{ - I16 card, err, card_num; - - printf("This program inputs %d data from CH-0 to CH-%d of PCI-9812 in %d Hz, and\nstore data to file '%s.dat'.\nPlease press any key to start the operation.\n", read_count, channel, (int)sample_rate, file_name); - printf("Please input a card number: "); - scanf(" %d", &card_num); - //getch(); - if ((card=Register_Card (PCI_9812, card_num)) <0 ) { - printf("Register_Card error=%d\n", card); - exit(1); - } - err = AI_9812_Config(card, P9812_TRGMOD_SOFT, P9812_TRGSRC_CH0, P9812_TRGSLP_POS, P9812_AD2_GT_PCI|P9812_CLKSRC_INT, 0x80, 0); - if (err!=0) { - printf("AI_9812_Config error=%d", err); - exit(1); - } - err = AI_AsyncDblBufferMode(card, 0); - if (err!=0) { - printf("AI_DblBufferMode error=%d", err); - exit(1); - } - err = AI_ContScanChannelsToFile(card, channel, range, file_name, read_count, sample_rate, SYNCH_OP); - if (err!=0) { - printf("AI_ContReadChannel error=%d", err); - exit(1); - } - Release_Card(card); - printf("\n\nThe input data is already stored in file '%s.dat'.\n", file_name); - printf("\nPress ENTER to exit the program. "); getch(); -} - \ No newline at end of file diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9812/C9812File/9812File.exe b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9812/C9812File/9812File.exe deleted file mode 100644 index fe7a13d..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9812/C9812File/9812File.exe and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9812/C9812File/9812File.mak b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9812/C9812File/9812File.mak deleted file mode 100644 index a40afc4..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9812/C9812File/9812File.mak +++ /dev/null @@ -1,197 +0,0 @@ -# Microsoft Developer Studio Generated NMAKE File, Format Version 4.00 -# ** DO NOT EDIT ** - -# TARGTYPE "Win32 (x86) Console Application" 0x0103 - -!IF "$(CFG)" == "" -CFG=9812File - Win32 Debug -!MESSAGE No configuration specified. Defaulting to 9812File - Win32 Debug. -!ENDIF - -!IF "$(CFG)" != "9812File - Win32 Release" && "$(CFG)" !=\ - "9812File - Win32 Debug" -!MESSAGE Invalid configuration "$(CFG)" specified. -!MESSAGE You can specify a configuration when running NMAKE on this makefile -!MESSAGE by defining the macro CFG on the command line. For example: -!MESSAGE -!MESSAGE NMAKE /f "9812File.mak" CFG="9812File - Win32 Debug" -!MESSAGE -!MESSAGE Possible choices for configuration are: -!MESSAGE -!MESSAGE "9812File - Win32 Release" (based on\ - "Win32 (x86) Console Application") -!MESSAGE "9812File - Win32 Debug" (based on "Win32 (x86) Console Application") -!MESSAGE -!ERROR An invalid configuration is specified. -!ENDIF - -!IF "$(OS)" == "Windows_NT" -NULL= -!ELSE -NULL=nul -!ENDIF -################################################################################ -# Begin Project -# PROP Target_Last_Scanned "9812File - Win32 Debug" -RSC=rc.exe -CPP=cl.exe - -!IF "$(CFG)" == "9812File - Win32 Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "Release" -# PROP BASE Intermediate_Dir "Release" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "" -# PROP Intermediate_Dir "Release" -# PROP Target_Dir "" -OUTDIR=. -INTDIR=.\Release - -ALL : "$(OUTDIR)\9812File.exe" - -CLEAN : - -@erase ".\9812File.exe" - -@erase ".\Release\9812file.obj" - -"$(INTDIR)" : - if not exist "$(INTDIR)/$(NULL)" mkdir "$(INTDIR)" - -# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /YX /c -# ADD CPP /nologo /W3 /GX /Od /I "..\..\..\include" /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /c -# SUBTRACT CPP /YX -CPP_PROJ=/nologo /ML /W3 /GX /Od /I "..\..\..\include" /D "WIN32" /D "NDEBUG"\ - /D "_CONSOLE" /Fo"$(INTDIR)/" /c -CPP_OBJS=.\Release/ -CPP_SBRS= -# ADD BASE RSC /l 0x404 /d "NDEBUG" -# ADD RSC /l 0x404 /d "NDEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -BSC32_FLAGS=/nologo /o"$(OUTDIR)/9812File.bsc" -BSC32_SBRS= -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ..\..\..\lib\pci-dask.lib /nologo /subsystem:console /machine:I386 -LINK32_FLAGS=kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib\ - advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib\ - odbccp32.lib ..\..\..\lib\pci-dask.lib /nologo /subsystem:console\ - /incremental:no /pdb:"$(OUTDIR)/9812File.pdb" /machine:I386\ - /out:"$(OUTDIR)/9812File.exe" -LINK32_OBJS= \ - ".\Release\9812file.obj" - -"$(OUTDIR)\9812File.exe" : "$(OUTDIR)" $(DEF_FILE) $(LINK32_OBJS) - $(LINK32) @<< - $(LINK32_FLAGS) $(LINK32_OBJS) -<< - -!ELSEIF "$(CFG)" == "9812File - Win32 Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "Debug" -# PROP BASE Intermediate_Dir "Debug" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "" -# PROP Intermediate_Dir "Debug" -# PROP Target_Dir "" -OUTDIR=. -INTDIR=.\Debug - -ALL : "$(OUTDIR)\9812File.exe" - -CLEAN : - -@erase ".\Debug\vc40.pdb" - -@erase ".\Debug\vc40.idb" - -@erase ".\9812File.exe" - -@erase ".\Debug\9812file.obj" - -@erase ".\9812File.ilk" - -@erase ".\9812File.pdb" - -"$(INTDIR)" : - if not exist "$(INTDIR)/$(NULL)" mkdir "$(INTDIR)" - -# ADD BASE CPP /nologo /W3 /Gm /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /YX /c -# ADD CPP /nologo /W3 /Gm /GX /Zi /Od /I "..\..\..\include" /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /c -# SUBTRACT CPP /YX -CPP_PROJ=/nologo /MLd /W3 /Gm /GX /Zi /Od /I "..\..\..\include" /D "WIN32" /D\ - "_DEBUG" /D "_CONSOLE" /Fo"$(INTDIR)/" /Fd"$(INTDIR)/" /c -CPP_OBJS=.\Debug/ -CPP_SBRS= -# ADD BASE RSC /l 0x404 /d "_DEBUG" -# ADD RSC /l 0x404 /d "_DEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -BSC32_FLAGS=/nologo /o"$(OUTDIR)/9812File.bsc" -BSC32_SBRS= -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /debug /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ..\..\..\lib\pci-dask.lib /nologo /subsystem:console /debug /machine:I386 -LINK32_FLAGS=kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib\ - advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib\ - odbccp32.lib ..\..\..\lib\pci-dask.lib /nologo /subsystem:console\ - /incremental:yes /pdb:"$(OUTDIR)/9812File.pdb" /debug /machine:I386\ - /out:"$(OUTDIR)/9812File.exe" -LINK32_OBJS= \ - ".\Debug\9812file.obj" - -"$(OUTDIR)\9812File.exe" : "$(OUTDIR)" $(DEF_FILE) $(LINK32_OBJS) - $(LINK32) @<< - $(LINK32_FLAGS) $(LINK32_OBJS) -<< - -!ENDIF - -.c{$(CPP_OBJS)}.obj: - $(CPP) $(CPP_PROJ) $< - -.cpp{$(CPP_OBJS)}.obj: - $(CPP) $(CPP_PROJ) $< - -.cxx{$(CPP_OBJS)}.obj: - $(CPP) $(CPP_PROJ) $< - -.c{$(CPP_SBRS)}.sbr: - $(CPP) $(CPP_PROJ) $< - -.cpp{$(CPP_SBRS)}.sbr: - $(CPP) $(CPP_PROJ) $< - -.cxx{$(CPP_SBRS)}.sbr: - $(CPP) $(CPP_PROJ) $< - -################################################################################ -# Begin Target - -# Name "9812File - Win32 Release" -# Name "9812File - Win32 Debug" - -!IF "$(CFG)" == "9812File - Win32 Release" - -!ELSEIF "$(CFG)" == "9812File - Win32 Debug" - -!ENDIF - -################################################################################ -# Begin Source File - -SOURCE=.\9812file.c -DEP_CPP_9812F=\ - ".\..\..\..\include\dask.h"\ - - -"$(INTDIR)\9812file.obj" : $(SOURCE) $(DEP_CPP_9812F) "$(INTDIR)" - - -# End Source File -# End Target -# End Project -################################################################################ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9812/C9812File/9812File.mdp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9812/C9812File/9812File.mdp deleted file mode 100644 index 0c308e2..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9812/C9812File/9812File.mdp and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9812/SDK9812DbfDelayTrg/9812DLTg.c b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9812/SDK9812DbfDelayTrg/9812DLTg.c deleted file mode 100644 index 94ca5c0..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9812/SDK9812DbfDelayTrg/9812DLTg.c +++ /dev/null @@ -1,483 +0,0 @@ -#include "windows.h" -#include -#include -#include -#include -#include -#include "resource.h" -#include "Dask.h" - -#define IDM_EXIT 110 -#define IDC_SCROLL 207 -#define IDC_SPIN 301 -#define IDC_START 208 -#define IDC_STOP 209 -#define IDC_EDIT 211 -#define IDC_EDIT1 214 -#define IDC_EDIT2 215 -#define IDC_SHOW 213 -#define IDC_CH 400 - -int PASCAL WinMain(HANDLE, HANDLE, LPSTR, int); -long PASCAL MainWndProc(HWND, UINT, WPARAM, LPARAM); -BOOL PASCAL ShowDMA(HWND, UINT, WPARAM, LPARAM); - -HANDLE hInst; -HWND hListBox; -HWND hEdit,hEdit1, hEdit2, hStart, hStop; -BOOL bCheck[8]; - -HBRUSH hBlackBrush; -HPEN hRedPen, hBlackPen; -HWND hMainWnd; - -//unsigned int sample_rate=10000; -long sample_rate=1000000; //1M hz -U16 channel; -BOOLEAN fstop, HalfReady; -U32 data_size=1024, mem_size; -static HANDLE hMem=NULL; -I16 *ai_buf; -I16 card=-1, card_number = 0; -U32 count, postCount = 1024; -BOOLEAN clear_op; -U16 card_type = 0; -HANDLE hThread1; - - -POINT input_pos[16]= {{470, 280}, {440, 280}, - {410, 280}, {380, 280}, - {350, 280}, {320, 280}, - { 290, 280}, {260, 280}, - {230, 280}, {200, 280}, - {170, 280}, {140, 280}, - {110, 280}, {80, 280}, - { 50, 280}, { 20, 280}, - }; -POINT output_pos[16] ={ - {470, 340}, {440, 340}, - {410, 340}, {380, 340}, - {350, 340}, {320, 340}, - { 290, 340}, {260, 340}, - {230, 340}, {200, 340}, - {170, 340}, {140, 340}, - {110, 340}, {80, 340}, - { 50, 340}, { 20, 340}, - }; - -POINT io_pos[16] ={ - {395, 40}, {370, 40}, - {345, 40}, {320, 40}, - {295, 40}, {270, 40}, - { 245, 40}, {220, 40}, - {195, 40}, {170, 40}, - {145, 40}, {120, 40}, - {95, 40}, {70, 40}, - { 45, 40}, { 20, 40}, - }; - -BOOL InitApplication(HANDLE); -BOOL InitInstance(HANDLE, int); -void ProcessThread(void* pArg); - -int PASCAL WinMain(hInstance, hPrevInstance, lpCmdLine, nCmdShow) -HANDLE hInstance, hPrevInstance; -LPSTR lpCmdLine; -int nCmdShow; -{ - MSG msg; - - if (!hPrevInstance) - if (!InitApplication(hInstance)) return(FALSE); - if (!InitInstance(hInstance, nCmdShow)) return(FALSE); - while (GetMessage(&msg, NULL, NULL, NULL)) { - TranslateMessage(&msg); - DispatchMessage(&msg); - } - return(msg.wParam); -} - -BOOL InitApplication(hInstance) -HANDLE hInstance; -{ - WNDCLASS wc; - - /* Main Window Class */ - wc.style = NULL; - wc.lpfnWndProc = (WNDPROC)MainWndProc; - wc.cbClsExtra = 0; - wc.cbWndExtra = 0; - wc.hInstance = hInstance; - wc.hIcon = LoadIcon(hInstance, "MyIcon"); - wc.hCursor = LoadCursor(NULL, IDC_ARROW); - wc.hbrBackground = GetStockObject(LTGRAY_BRUSH); - wc.lpszMenuName = NULL; - wc.lpszClassName = "GenericWClass"; - if (!RegisterClass(&wc)) return(FALSE); -} - - -BOOL InitInstance(hInstance, nCmdShow) -HANDLE hInstance; -int nCmdShow; -{ - HWND hWnd; - HMENU hSampleMenu; - - hInst = hInstance; - hSampleMenu = LoadMenu(hInstance, "U7120Menu"); - hWnd = CreateWindow("GenericWClass", - (LPCSTR)"PCI-9812 Double Buffered DMA with Delay Trigger Mode", - WS_OVERLAPPEDWINDOW, - CW_USEDEFAULT, - CW_USEDEFAULT, - 520, - 400, - NULL, - hSampleMenu, - hInstance, - NULL); - if (!hWnd) return(FALSE); - ShowWindow(hWnd, nCmdShow); - UpdateWindow(hWnd); - return(TRUE); -} - -BOOL PASCAL setup(HWND hWnd, unsigned message, WPARAM wParam, LPARAM lParam) -{ - int i; - char n[16]; - char s[50]; - switch (message) { - case WM_INITDIALOG: - wsprintf(n, "PCI9812"); - SendMessage(GetDlgItem(hWnd,IDC_COMBO1), CB_ADDSTRING, NULL, (LONG)(LPSTR) n); - sprintf(n, "PCI9810"); - SendMessage(GetDlgItem(hWnd,IDC_COMBO1), CB_ADDSTRING, NULL, (LONG)(LPSTR) n); - SendMessage(GetDlgItem(hWnd,IDC_COMBO1) , CB_SETCURSEL, 0, 0L); - for (i=0;i<16;i++) { - wsprintf(n, "%d", i); - _strupr(n); - SendMessage(GetDlgItem(hWnd,IDC_COMBO2), CB_ADDSTRING, NULL, (LONG)(LPSTR) n); - } - SendMessage(GetDlgItem(hWnd,IDC_COMBO2) , CB_SETCURSEL, 0, 0L); - break; - case WM_COMMAND: - switch(LOWORD(wParam)) { - - case IDC_COMBO1: - if (HIWORD(wParam) == CBN_CLOSEUP) { - i = (int)SendMessage(GetDlgItem(hWnd,IDC_COMBO1), CB_GETCURSEL, 0, 0L); - SendMessage(GetDlgItem(hWnd,IDC_COMBO1), CB_GETLBTEXT, i, (LPARAM)((LPCSTR)n)); - card_type = i; - } - return(TRUE); - case IDC_COMBO2: - if (HIWORD(wParam) == CBN_CLOSEUP) { - i = (int)SendMessage(GetDlgItem(hWnd,IDC_COMBO2), CB_GETCURSEL, 0, 0L); - SendMessage(GetDlgItem(hWnd,IDC_COMBO2), CB_GETLBTEXT, i, (LPARAM)((LPCSTR)n)); - card_number = i; - } - return(TRUE); - case IDOK: - if ((card=Register_Card(PCI_9812, card_number)) < 0) { - wsprintf(s, "Register_Card Error = %d\n", card); - MessageBox(hWnd, s, "Error", MB_OK); - SendMessage(hWnd, WM_CLOSE, 0, 0L); - break; - } - EndDialog(hWnd, TRUE); - InvalidateRect(hWnd, NULL, FALSE); - return (TRUE); - case IDCANCEL: - EndDialog(hWnd, TRUE); - return (TRUE); - } - break; - } - return (FALSE); -} - -long PASCAL MainWndProc(hWnd, message, wParam, lParam) -HWND hWnd; -UINT message; -WPARAM wParam; -LPARAM lParam; -{ - HDC hDC; - PAINTSTRUCT ps; - int i; - char n[6]; - static int pos=0; - I16 err; - char s[50]; - - switch(message) { - case WM_CREATE: - - DialogBox(hInst,IDD_DIALOG2, hWnd, setup); - if(card<0) { - SendMessage(hWnd, WM_CLOSE, 0, 0L); - break; - } - hEdit=CreateWindow("EDIT", NULL, - WS_CHILD | WS_VISIBLE | ES_LEFT, - output_pos[13].x-30, input_pos[15].y+20,40, 20, hWnd, IDC_EDIT, hInst, NULL); - - hEdit1=CreateWindow("EDIT", NULL, - WS_CHILD | WS_VISIBLE | ES_LEFT, - output_pos[13].x+90, input_pos[15].y+20,60, 20, hWnd, IDC_EDIT1, hInst, NULL); - - hEdit2=CreateWindow("EDIT", NULL, - WS_CHILD | WS_VISIBLE | ES_LEFT, - output_pos[13].x+90, input_pos[15].y-20,60, 20, hWnd, IDC_EDIT2, hInst, NULL); - - wsprintf(n,"%d",sample_rate/1000); - SetWindowText(hEdit,n); - - wsprintf(n,"%d",data_size); - SetWindowText(hEdit1,n); - - wsprintf(n,"%d",postCount); - SetWindowText(hEdit2,n); - - CreateWindow("SCROLLBAR", NULL, - WS_CHILD | WS_VISIBLE | SBS_VERT, - output_pos[13].x+10, input_pos[15].y+20,20, 20, hWnd, IDC_SCROLL, hInst, NULL); - - hStart = CreateWindow("BUTTON","Start" , - WS_CHILD | WS_VISIBLE , - output_pos[10].x+110, input_pos[10].y+10,50, 30, hWnd, IDC_START, hInst, NULL); - - hStop = CreateWindow("BUTTON","Stop" , - WS_CHILD | WS_VISIBLE , - output_pos[10].x+170, input_pos[10].y+10,50, 30, hWnd, IDC_STOP, hInst, NULL); - - CreateWindow("BUTTON","Data Value" , - WS_CHILD | WS_VISIBLE , - output_pos[10].x+230, input_pos[10].y+10,80, 30, hWnd, IDC_SHOW, hInst, NULL); - EnableWindow(hStop, FALSE); - - //default channel 0 - - hBlackBrush= CreateSolidBrush(RGB(0,0,0)); - hRedPen= CreatePen(PS_SOLID,1,RGB(255,0,0)); - hBlackPen= CreatePen(PS_SOLID,1,RGB(0,0,0)); - break; - - case WM_PAINT: - hDC = BeginPaint(hWnd, &ps); - - // DMA analog input box - SelectObject(hDC, GetStockObject(GRAY_BRUSH)); - Rectangle(hDC, output_pos[15].x-10, io_pos[15].y-24, output_pos[0].x+26, io_pos[0].y+195); - SetTextColor(hDC,RGB(255,0,0)); - TextOut(hDC, io_pos[15].x+105, io_pos[15].y-40, " Trigger Source : External Digital Trigger ", 43); - SetTextColor(hDC,RGB(255,255,0)); - SetBkColor(hDC, RGB(0, 0, 255)); - TextOut(hDC, io_pos[15].x, io_pos[15].y-35, "DMA Input", 9); - SelectObject(hDC, hBlackBrush); - Rectangle(hDC, output_pos[15].x+35, io_pos[15].y-2, output_pos[4].x+41, io_pos[0].y+172); - - SetBkMode(hDC,TRANSPARENT); - TextOut(hDC,output_pos[13].x+70, input_pos[10].y-40,"PostCount",9); - TextOut(hDC,output_pos[13].x-60, input_pos[10].y,"Samping Rate",12); - TextOut(hDC,output_pos[13].x+30, input_pos[15].y+20,"KHZ",3); - TextOut(hDC,output_pos[13].x+70, input_pos[10].y,"Buffer Size",11); - TextOut(hDC,input_pos[2].x-10, io_pos[15].y+118,"Range: +-1V",11); - TextOut(hDC,input_pos[15].x, io_pos[15].y-19,"Volt",4); - TextOut(hDC,input_pos[15].x, io_pos[15].y-5,"1.00",4); - TextOut(hDC,input_pos[15].x, io_pos[15].y+36,"0.50",4); - TextOut(hDC,input_pos[15].x, io_pos[15].y+77,"0.00",4); - TextOut(hDC,input_pos[15].x-3, io_pos[15].y+118,"-0.50",5); - TextOut(hDC,input_pos[15].x-3, io_pos[15].y+159,"-1.00",5); - TextOut(hDC,input_pos[10].x+10, io_pos[10].y-19,"Signals",7); - TextOut(hDC,output_pos[4].x+60, io_pos[0].y,"Channel 0",9); - EndPaint(hWnd, &ps); - break; - - // Sample Rate Spin Control - case WM_VSCROLL: - switch (LOWORD(wParam)) { - case SB_LINEUP : - sample_rate+=100000; // 100K hz - if (sample_rate > 5*1000000 ) sample_rate=5*1000000; - break; - case SB_LINEDOWN: - sample_rate-=100000; // 100K hz - if (sample_rate < 500 ) sample_rate=5000; - break; - } - wsprintf(n,"%d",sample_rate/1000); - SetWindowText(hEdit,n); - break; - case WM_COMMAND: - switch(LOWORD(wParam)) { - case IDM_EXIT: - SendMessage(hWnd, WM_CLOSE, 0, 0L); - break; - - case IDC_SHOW : - DialogBox(hInst, "DMABox", hWnd, ShowDMA); - break; - case IDC_START: - if (hMem != NULL) { - GlobalUnfix(hMem); - GlobalUnlock(hMem); - GlobalFree(hMem); - } - // allocate a memory for DMA - postCount = GetDlgItemInt(hWnd,IDC_EDIT2,NULL ,FALSE); - data_size=GetDlgItemInt(hWnd,IDC_EDIT1,NULL ,FALSE); - mem_size=data_size * 2; - hMem = GlobalAlloc(GMEM_FIXED | GMEM_ZEROINIT,mem_size); - - ai_buf = (U16 *)GlobalLock(hMem); - if (ai_buf == NULL ) { - MessageBox(hWnd,"DMA", "No Memory", MB_OK); - SendMessage(hWnd, WM_CLOSE, 0, 0L); - break; - } - - GlobalFix(hMem); - for (i=0;i= 0) Release_Card(card); - DeleteObject(hBlackBrush); - DeleteObject(hRedPen); - GlobalUnfix(hMem); - GlobalUnlock(hMem); - GlobalFree(hMem); - PostQuitMessage(0); - break; - default: - return(DefWindowProc(hWnd, message, wParam, lParam)); - } - return(NULL); -} - -BOOL PASCAL ShowDMA(hDlg, message, wParam, lParam) -HWND hDlg; -UINT message; -WPARAM wParam; -LPARAM lParam; -{ - int nTabs[2] = {32, 92}; - int i; - char cBuf[100]; - char string[10]=" "; - char data_str[3]=" "; - I16 *pp; - switch (message) { - case WM_INITDIALOG: - hListBox = CreateWindow("LISTBOX", "Index Data", - WS_CHILD | WS_VISIBLE | LBS_HASSTRINGS | LBS_STANDARD | LBS_USETABSTOPS |WS_CAPTION, - 50, 40, 240, 180, hDlg, 100, hInst, NULL); - SendMessage(hListBox, LB_RESETCONTENT, 0, 0L); - SendMessage(hListBox, LB_SETTABSTOPS, 2, (DWORD)(LPINT) nTabs); - SetDlgItemText(hDlg, DMA_DESCP, "This ListBox can show at most 4000 data"); - itoa( data_size, string, 10); - SetDlgItemText(hDlg, DMA_SPACE, string); - pp = (I16 *)ai_buf; - if (data_size >4000) data_size = 4000; - for(i=0;i>6); - else - wsprintf(cBuf, "%5d\t %5d", i, pp[i]>>4); - - SendMessage(hListBox, LB_INSERTSTRING, -1, (DWORD)(LPSTR)cBuf); - } - ShowWindow(hListBox, SW_SHOW); - return (TRUE); - case WM_COMMAND: - if (LOWORD(wParam) == ID_STOP) { - DestroyWindow(hListBox); - EndDialog(hDlg, TRUE); - return (TRUE); - } - break; - } - return (FALSE); -} - -void ProcessThread(void* pArg) -{ - BOOLEAN HalfReady; - HDC hDC; - int t =0; - I16 adinput, trg_en=0; - U32 i, oldx, oldy, newx, newy; - - hDC = GetDC(hMainWnd); - data_size /= 2; //Every time transfer half size of buffer - do { - do { - AI_AsyncDblBufferHalfReady(card, &HalfReady, &fstop); - } while (!HalfReady && !fstop); - - if (!fstop) { - AI_AsyncDblBufferTransfer(card, ai_buf); - SelectObject(hDC, hBlackBrush); - SelectObject(hDC, hBlackPen); - Rectangle(hDC, output_pos[15].x+35, io_pos[15].y-2, output_pos[4].x+41, io_pos[0].y+172); - SelectObject(hDC, hRedPen); - for (i=0; i>4; - newy = io_pos[0].y+86-(87*(long)adinput)/2048; - newx = i*336/data_size+output_pos[15].x+35; - if (i==0) - MoveToEx(hDC, newx, newy, NULL); - else - MoveToEx(hDC, oldx, oldy, NULL); - LineTo(hDC, newx, newy); - oldx = newx; - oldy = newy; - } - } - } while (!clear_op); - EnableWindow(hStart, TRUE); - EnableWindow(hStop, FALSE); - AI_AsyncClear(card, &count); - ReleaseDC(hMainWnd, hDC); - _endthread(); -} - - \ No newline at end of file diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9812/SDK9812DbfDelayTrg/9812DLTg.exe b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9812/SDK9812DbfDelayTrg/9812DLTg.exe deleted file mode 100644 index 0185689..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9812/SDK9812DbfDelayTrg/9812DLTg.exe and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9812/SDK9812DbfDelayTrg/9812DLTg.mak b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9812/SDK9812DbfDelayTrg/9812DLTg.mak deleted file mode 100644 index efb124e..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9812/SDK9812DbfDelayTrg/9812DLTg.mak +++ /dev/null @@ -1,219 +0,0 @@ -# Microsoft Developer Studio Generated NMAKE File, Format Version 4.00 -# ** DO NOT EDIT ** - -# TARGTYPE "Win32 (x86) Application" 0x0101 - -!IF "$(CFG)" == "" -CFG=9812DLTg - Win32 Debug -!MESSAGE No configuration specified. Defaulting to 9812DLTg - Win32 Debug. -!ENDIF - -!IF "$(CFG)" != "9812DLTg - Win32 Release" && "$(CFG)" !=\ - "9812DLTg - Win32 Debug" -!MESSAGE Invalid configuration "$(CFG)" specified. -!MESSAGE You can specify a configuration when running NMAKE on this makefile -!MESSAGE by defining the macro CFG on the command line. For example: -!MESSAGE -!MESSAGE NMAKE /f "9812DLTg.mak" CFG="9812DLTg - Win32 Debug" -!MESSAGE -!MESSAGE Possible choices for configuration are: -!MESSAGE -!MESSAGE "9812DLTg - Win32 Release" (based on "Win32 (x86) Application") -!MESSAGE "9812DLTg - Win32 Debug" (based on "Win32 (x86) Application") -!MESSAGE -!ERROR An invalid configuration is specified. -!ENDIF - -!IF "$(OS)" == "Windows_NT" -NULL= -!ELSE -NULL=nul -!ENDIF -################################################################################ -# Begin Project -# PROP Target_Last_Scanned "9812DLTg - Win32 Debug" -CPP=cl.exe -RSC=rc.exe -MTL=mktyplib.exe - -!IF "$(CFG)" == "9812DLTg - Win32 Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "Release" -# PROP BASE Intermediate_Dir "Release" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "" -# PROP Intermediate_Dir "Release" -# PROP Target_Dir "" -OUTDIR=. -INTDIR=.\Release - -ALL : "$(OUTDIR)\9812DLTg.exe" - -CLEAN : - -@erase ".\9812DLTg.exe" - -@erase ".\Release\9812DLTg.obj" - -@erase ".\Release\9812DLTg.res" - -"$(INTDIR)" : - if not exist "$(INTDIR)/$(NULL)" mkdir "$(INTDIR)" - -# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /YX /c -# ADD CPP /nologo /MTd /W3 /GX /Od /I "..\..\..\include" /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /c -# SUBTRACT CPP /YX -CPP_PROJ=/nologo /MTd /W3 /GX /Od /I "..\..\..\include" /D "WIN32" /D "NDEBUG"\ - /D "_WINDOWS" /Fo"$(INTDIR)/" /c -CPP_OBJS=.\Release/ -CPP_SBRS= -# ADD BASE MTL /nologo /D "NDEBUG" /win32 -# ADD MTL /nologo /D "NDEBUG" /win32 -MTL_PROJ=/nologo /D "NDEBUG" /win32 -# ADD BASE RSC /l 0x409 /d "NDEBUG" -# ADD RSC /l 0x409 /d "NDEBUG" -RSC_PROJ=/l 0x409 /fo"$(INTDIR)/9812DLTg.res" /d "NDEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -BSC32_FLAGS=/nologo /o"$(OUTDIR)/9812DLTg.bsc" -BSC32_SBRS= -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:windows /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ..\..\..\lib\pci-dask.lib /nologo /subsystem:windows /machine:I386 -LINK32_FLAGS=kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib\ - advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib\ - odbccp32.lib ..\..\..\lib\pci-dask.lib /nologo /subsystem:windows\ - /incremental:no /pdb:"$(OUTDIR)/9812DLTg.pdb" /machine:I386\ - /out:"$(OUTDIR)/9812DLTg.exe" -LINK32_OBJS= \ - ".\Release\9812DLTg.obj" \ - ".\Release\9812DLTg.res" - -"$(OUTDIR)\9812DLTg.exe" : "$(OUTDIR)" $(DEF_FILE) $(LINK32_OBJS) - $(LINK32) @<< - $(LINK32_FLAGS) $(LINK32_OBJS) -<< - -!ELSEIF "$(CFG)" == "9812DLTg - Win32 Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "Debug" -# PROP BASE Intermediate_Dir "Debug" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "Debug" -# PROP Intermediate_Dir "Debug" -# PROP Target_Dir "" -OUTDIR=.\Debug -INTDIR=.\Debug - -ALL : "$(OUTDIR)\9812DLTg.exe" - -CLEAN : - -@erase ".\Debug\vc40.pdb" - -@erase ".\Debug\vc40.idb" - -@erase ".\Debug\9812DLTg.exe" - -@erase ".\Debug\9812DLTg.obj" - -@erase ".\Debug\9812DLTg.res" - -@erase ".\Debug\9812DLTg.ilk" - -@erase ".\Debug\9812DLTg.pdb" - -"$(OUTDIR)" : - if not exist "$(OUTDIR)/$(NULL)" mkdir "$(OUTDIR)" - -# ADD BASE CPP /nologo /W3 /Gm /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /YX /c -# ADD CPP /nologo /MTd /W3 /Gm /GX /Zi /Od /I "..\..\..\include" /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /c -# SUBTRACT CPP /YX -CPP_PROJ=/nologo /MTd /W3 /Gm /GX /Zi /Od /I "..\..\..\include" /D "WIN32" /D\ - "_DEBUG" /D "_WINDOWS" /Fo"$(INTDIR)/" /Fd"$(INTDIR)/" /c -CPP_OBJS=.\Debug/ -CPP_SBRS= -# ADD BASE MTL /nologo /D "_DEBUG" /win32 -# ADD MTL /nologo /D "_DEBUG" /win32 -MTL_PROJ=/nologo /D "_DEBUG" /win32 -# ADD BASE RSC /l 0x409 /d "_DEBUG" -# ADD RSC /l 0x409 /d "_DEBUG" -RSC_PROJ=/l 0x409 /fo"$(INTDIR)/9812DLTg.res" /d "_DEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -BSC32_FLAGS=/nologo /o"$(OUTDIR)/9812DLTg.bsc" -BSC32_SBRS= -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:windows /debug /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ..\..\..\lib\pci-dask.lib /nologo /subsystem:windows /debug /machine:I386 -LINK32_FLAGS=kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib\ - advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib\ - odbccp32.lib ..\..\..\lib\pci-dask.lib /nologo /subsystem:windows\ - /incremental:yes /pdb:"$(OUTDIR)/9812DLTg.pdb" /debug /machine:I386\ - /out:"$(OUTDIR)/9812DLTg.exe" -LINK32_OBJS= \ - ".\Debug\9812DLTg.obj" \ - ".\Debug\9812DLTg.res" - -"$(OUTDIR)\9812DLTg.exe" : "$(OUTDIR)" $(DEF_FILE) $(LINK32_OBJS) - $(LINK32) @<< - $(LINK32_FLAGS) $(LINK32_OBJS) -<< - -!ENDIF - -.c{$(CPP_OBJS)}.obj: - $(CPP) $(CPP_PROJ) $< - -.cpp{$(CPP_OBJS)}.obj: - $(CPP) $(CPP_PROJ) $< - -.cxx{$(CPP_OBJS)}.obj: - $(CPP) $(CPP_PROJ) $< - -.c{$(CPP_SBRS)}.sbr: - $(CPP) $(CPP_PROJ) $< - -.cpp{$(CPP_SBRS)}.sbr: - $(CPP) $(CPP_PROJ) $< - -.cxx{$(CPP_SBRS)}.sbr: - $(CPP) $(CPP_PROJ) $< - -################################################################################ -# Begin Target - -# Name "9812DLTg - Win32 Release" -# Name "9812DLTg - Win32 Debug" - -!IF "$(CFG)" == "9812DLTg - Win32 Release" - -!ELSEIF "$(CFG)" == "9812DLTg - Win32 Debug" - -!ENDIF - -################################################################################ -# Begin Source File - -SOURCE=.\9812DLTg.rc - -"$(INTDIR)\9812DLTg.res" : $(SOURCE) "$(INTDIR)" - $(RSC) $(RSC_PROJ) $(SOURCE) - - -# End Source File -################################################################################ -# Begin Source File - -SOURCE=.\9812DLTg.c -DEP_CPP_9812D=\ - ".\..\..\..\include\Dask.h"\ - - -"$(INTDIR)\9812DLTg.obj" : $(SOURCE) $(DEP_CPP_9812D) "$(INTDIR)" - - -# End Source File -# End Target -# End Project -################################################################################ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9812/SDK9812DbfDelayTrg/9812DLTg.mdp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9812/SDK9812DbfDelayTrg/9812DLTg.mdp deleted file mode 100644 index 0e3a0e5..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9812/SDK9812DbfDelayTrg/9812DLTg.mdp and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9812/SDK9812DbfDelayTrg/9812DLTg.rc b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9812/SDK9812DbfDelayTrg/9812DLTg.rc deleted file mode 100644 index e22b1b2..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9812/SDK9812DbfDelayTrg/9812DLTg.rc +++ /dev/null @@ -1,128 +0,0 @@ -//Microsoft Developer Studio generated resource script. -// -#include "resource.h" - -#define APSTUDIO_READONLY_SYMBOLS -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 2 resource. -// -#define APSTUDIO_HIDDEN_SYMBOLS -#include "windows.h" -#undef APSTUDIO_HIDDEN_SYMBOLS - -///////////////////////////////////////////////////////////////////////////// -#undef APSTUDIO_READONLY_SYMBOLS - -///////////////////////////////////////////////////////////////////////////// -// English (U.S.) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -#ifdef _WIN32 -LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US -#pragma code_page(1252) -#endif //_WIN32 - -///////////////////////////////////////////////////////////////////////////// -// -// Menu -// - -U7120MENU MENU DISCARDABLE -BEGIN - MENUITEM "E&xit!", IDM_EXIT -END - - -#ifdef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// TEXTINCLUDE -// - -1 TEXTINCLUDE DISCARDABLE -BEGIN - "resource.h\0" -END - -2 TEXTINCLUDE DISCARDABLE -BEGIN - "#define APSTUDIO_HIDDEN_SYMBOLS\r\n" - "#include ""windows.h""\r\n" - "#undef APSTUDIO_HIDDEN_SYMBOLS\r\n" - "\0" -END - -3 TEXTINCLUDE DISCARDABLE -BEGIN - "\r\n" - "\0" -END - -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog -// - -DMABOX DIALOG DISCARDABLE 18, 10, 171, 169 -STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "Data Value (half of circular buffer)" -FONT 8, "System" -BEGIN - PUSHBUTTON "STOP",ID_STOP,82,147,24,14 - LTEXT "Data Transferred :",-1,39,119,64,8 - LTEXT "Text",DMA_SPACE,103,118,41,8 - LTEXT "Text",DMA_DESCP,16,6,158,8 -END - -IDD_DIALOG2 DIALOG DISCARDABLE 110, 10, 110, 76 -STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "Card Type" -FONT 10, "System" -BEGIN - DEFPUSHBUTTON "OK",IDOK,9,55,39,14 - PUSHBUTTON "Cancel",IDCANCEL,58,55,38,14 - COMBOBOX IDC_COMBO1,51,32,52,45,CBS_DROPDOWN | WS_VSCROLL | - WS_TABSTOP - LTEXT "Card Type",IDC_STATIC,3,33,46,13 - LTEXT "Card Number",IDC_CARDNUM,3,12,44,14 - COMBOBOX IDC_COMBO2,51,11,52,111,CBS_DROPDOWN | WS_VSCROLL | - WS_TABSTOP -END - - -///////////////////////////////////////////////////////////////////////////// -// -// DESIGNINFO -// - -#ifdef APSTUDIO_INVOKED -GUIDELINES DESIGNINFO DISCARDABLE -BEGIN - IDD_DIALOG2, DIALOG - BEGIN - LEFTMARGIN, 3 - RIGHTMARGIN, 103 - BOTTOMMARGIN, 69 - END -END -#endif // APSTUDIO_INVOKED - -#endif // English (U.S.) resources -///////////////////////////////////////////////////////////////////////////// - - - -#ifndef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 3 resource. -// - - -///////////////////////////////////////////////////////////////////////////// -#endif // not APSTUDIO_INVOKED - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9812/SDK9812DbfDelayTrg/Resource.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9812/SDK9812DbfDelayTrg/Resource.h deleted file mode 100644 index f1416ec..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9812/SDK9812DbfDelayTrg/Resource.h +++ /dev/null @@ -1,27 +0,0 @@ -//{{NO_DEPENDENCIES}} -// Microsoft Developer Studio generated include file. -// Used by 9812DLTg.rc -// -#define IDM_SETUP 101 -#define IDD_DIALOG1 101 -#define IDD_DIALOG2 104 -#define IDM_EXIT 110 -#define ID_CARDNUMBER 122 -#define ID_STOP 304 -#define DMA_SPACE 500 -#define DMA_DESCP 600 -#define IDC_COMBO1 1001 -#define IDC_CARDNUM 1002 -#define IDC_COMBO2 1003 -#define IDC_STATIC -1 - -// Next default values for new objects -// -#ifdef APSTUDIO_INVOKED -#ifndef APSTUDIO_READONLY_SYMBOLS -#define _APS_NEXT_RESOURCE_VALUE 105 -#define _APS_NEXT_COMMAND_VALUE 123 -#define _APS_NEXT_CONTROL_VALUE 1004 -#define _APS_NEXT_SYMED_VALUE 101 -#endif -#endif diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9812/SDK9812DbfMidTrg/9812MTrg.c b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9812/SDK9812DbfMidTrg/9812MTrg.c deleted file mode 100644 index ad070c1..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9812/SDK9812DbfMidTrg/9812MTrg.c +++ /dev/null @@ -1,501 +0,0 @@ -#include "windows.h" -#include -#include -#include -#include -#include -#include "resource.h" -#include "Dask.h" - -#define IDM_EXIT 110 -#define IDC_SCROLL 207 -#define IDC_SPIN 301 -#define IDC_START 208 -#define IDC_STOP 209 -#define IDC_EDIT 211 -#define IDC_EDIT1 214 -#define IDC_EDIT2 215 -#define IDC_SHOW 213 -#define IDC_CH 400 - -int PASCAL WinMain(HANDLE, HANDLE, LPSTR, int); -long PASCAL MainWndProc(HWND, UINT, WPARAM, LPARAM); -BOOL PASCAL ShowDMA(HWND, UINT, WPARAM, LPARAM); - -HANDLE hInst; -HWND hListBox; -HWND hEdit,hEdit1, hEdit2, hStart, hStop; -BOOL bCheck[8]; - -HBRUSH hBlackBrush; -HPEN hRedPen, hBlackPen; -HWND hMainWnd; - -//unsigned int sample_rate=10000; -long sample_rate=1000000; //1M Hz -U16 channel; -U32 data_size=1024, mem_size; -static HANDLE hMem=NULL; -HANDLE hThread1; -I16 *ai_buf; -I16 card=-1, card_number = 0; -U32 count, postCount=1024; -BOOLEAN clear_op; -I16 card_type=0; - - -POINT input_pos[16]= {{470, 280}, {440, 280}, - {410, 280}, {380, 280}, - {350, 280}, {320, 280}, - { 290, 280}, {260, 280}, - {230, 280}, {200, 280}, - {170, 280}, {140, 280}, - {110, 280}, {80, 280}, - { 50, 280}, { 20, 280}, - }; -POINT output_pos[16] ={ - {470, 340}, {440, 340}, - {410, 340}, {380, 340}, - {350, 340}, {320, 340}, - { 290, 340}, {260, 340}, - {230, 340}, {200, 340}, - {170, 340}, {140, 340}, - {110, 340}, {80, 340}, - { 50, 340}, { 20, 340}, - }; - -POINT io_pos[16] ={ - {395, 40}, {370, 40}, - {345, 40}, {320, 40}, - {295, 40}, {270, 40}, - { 245, 40}, {220, 40}, - {195, 40}, {170, 40}, - {145, 40}, {120, 40}, - {95, 40}, {70, 40}, - { 45, 40}, { 20, 40}, - }; - -BOOL InitApplication(HANDLE); -BOOL InitInstance(HANDLE, int); -void ProcessThread(void* pArg); - -int PASCAL WinMain(hInstance, hPrevInstance, lpCmdLine, nCmdShow) -HANDLE hInstance, hPrevInstance; -LPSTR lpCmdLine; -int nCmdShow; -{ - MSG msg; - - if (!hPrevInstance) - if (!InitApplication(hInstance)) return(FALSE); - if (!InitInstance(hInstance, nCmdShow)) return(FALSE); - while (GetMessage(&msg, NULL, NULL, NULL)) { - TranslateMessage(&msg); - DispatchMessage(&msg); - } - return(msg.wParam); -} - -BOOL InitApplication(hInstance) -HANDLE hInstance; -{ - WNDCLASS wc; - - /* Main Window Class */ - wc.style = NULL; - wc.lpfnWndProc = (WNDPROC)MainWndProc; - wc.cbClsExtra = 0; - wc.cbWndExtra = 0; - wc.hInstance = hInstance; - wc.hIcon = LoadIcon(hInstance, "MyIcon"); - wc.hCursor = LoadCursor(NULL, IDC_ARROW); - wc.hbrBackground = GetStockObject(LTGRAY_BRUSH); - wc.lpszMenuName = NULL; - wc.lpszClassName = "GenericWClass"; - if (!RegisterClass(&wc)) return(FALSE); -} - - -BOOL InitInstance(hInstance, nCmdShow) -HANDLE hInstance; -int nCmdShow; -{ - HWND hWnd; - HMENU hSampleMenu; - - hInst = hInstance; - hSampleMenu = LoadMenu(hInstance, "U7120Menu"); - hWnd = CreateWindow("GenericWClass", - (LPCSTR)"PCI-9812 Double Buffered DMA with Middle Trigger Mode", - WS_OVERLAPPEDWINDOW, - CW_USEDEFAULT, - CW_USEDEFAULT, - 520, - 400, - NULL, - hSampleMenu, - hInstance, - NULL); - if (!hWnd) return(FALSE); - ShowWindow(hWnd, nCmdShow); - UpdateWindow(hWnd); - return(TRUE); -} - -BOOL PASCAL setup(HWND hWnd, unsigned message, WPARAM wParam, LPARAM lParam) -{ - int i; - char n[16]; - char s[50]; - switch (message) { - case WM_INITDIALOG: - wsprintf(n, "PCI9812"); - SendMessage(GetDlgItem(hWnd,IDC_COMBO1), CB_ADDSTRING, NULL, (LONG)(LPSTR) n); - sprintf(n, "PCI9810"); - SendMessage(GetDlgItem(hWnd,IDC_COMBO1), CB_ADDSTRING, NULL, (LONG)(LPSTR) n); - SendMessage(GetDlgItem(hWnd,IDC_COMBO1) , CB_SETCURSEL, 0, 0L); - for (i=0;i<16;i++) { - wsprintf(n, "%d", i); - _strupr(n); - SendMessage(GetDlgItem(hWnd,IDC_COMBO2), CB_ADDSTRING, NULL, (LONG)(LPSTR) n); - } - SendMessage(GetDlgItem(hWnd,IDC_COMBO2) , CB_SETCURSEL, 0, 0L); - break; - case WM_COMMAND: - switch(LOWORD(wParam)) { - - case IDC_COMBO1: - if (HIWORD(wParam) == CBN_CLOSEUP) { - i = (int)SendMessage(GetDlgItem(hWnd,IDC_COMBO1), CB_GETCURSEL, 0, 0L); - SendMessage(GetDlgItem(hWnd,IDC_COMBO1), CB_GETLBTEXT, i, (LPARAM)((LPCSTR)n)); - card_type = i; - } - return(TRUE); - case IDC_COMBO2: - if (HIWORD(wParam) == CBN_CLOSEUP) { - i = (int)SendMessage(GetDlgItem(hWnd,IDC_COMBO2), CB_GETCURSEL, 0, 0L); - SendMessage(GetDlgItem(hWnd,IDC_COMBO2), CB_GETLBTEXT, i, (LPARAM)((LPCSTR)n)); - card_number = i; - } - return(TRUE); - case IDOK: - if ((card=Register_Card(PCI_9812, card_number)) < 0) { - wsprintf(s, "Register_Card Error = %d\n", card); - MessageBox(hWnd, s, "Error", MB_OK); - SendMessage(hWnd, WM_CLOSE, 0, 0L); - break; - } - EndDialog(hWnd, TRUE); - InvalidateRect(hWnd, NULL, FALSE); - return (TRUE); - case IDCANCEL: - EndDialog(hWnd, TRUE); - return (TRUE); - } - break; - } - return (FALSE); -} - -long PASCAL MainWndProc(hWnd, message, wParam, lParam) -HWND hWnd; -UINT message; -WPARAM wParam; -LPARAM lParam; -{ - HDC hDC; - PAINTSTRUCT ps; - char n[6]; - static int pos=0; - I16 err; - char s[50]; - - switch(message) { - case WM_CREATE: - - DialogBox(hInst,IDD_DIALOG2, hWnd, setup); - if(card<0) { - SendMessage(hWnd, WM_CLOSE, 0, 0L); - break; - } - hEdit=CreateWindow("EDIT", NULL, - WS_CHILD | WS_VISIBLE | ES_LEFT, - output_pos[13].x-30, input_pos[15].y+20,40, 20, hWnd, IDC_EDIT, hInst, NULL); - - hEdit1=CreateWindow("EDIT", NULL, - WS_CHILD | WS_VISIBLE | ES_LEFT, - output_pos[13].x+90, input_pos[15].y+20,60, 20, hWnd, IDC_EDIT1, hInst, NULL); - - hEdit2=CreateWindow("EDIT", NULL, - WS_CHILD | WS_VISIBLE | ES_LEFT, - output_pos[13].x+90, input_pos[15].y-20,60, 20, hWnd, IDC_EDIT2, hInst, NULL); - - wsprintf(n,"%d",sample_rate/1000); - SetWindowText(hEdit,n); - - wsprintf(n,"%d",data_size); - SetWindowText(hEdit1,n); - - wsprintf(n,"%d",postCount); - SetWindowText(hEdit2,n); - - CreateWindow("SCROLLBAR", NULL, - WS_CHILD | WS_VISIBLE | SBS_VERT, - output_pos[13].x+10, input_pos[15].y+20,20, 20, hWnd, IDC_SCROLL, hInst, NULL); - - hStart = CreateWindow("BUTTON","Start" , - WS_CHILD | WS_VISIBLE , - output_pos[10].x+110, input_pos[10].y+10,50, 30, hWnd, IDC_START, hInst, NULL); - - hStop = CreateWindow("BUTTON","Stop" , - WS_CHILD | WS_VISIBLE , - output_pos[10].x+170, input_pos[10].y+10,50, 30, hWnd, IDC_STOP, hInst, NULL); - - CreateWindow("BUTTON","Data Value" , - WS_CHILD | WS_VISIBLE , - output_pos[10].x+230, input_pos[10].y+10,80, 30, hWnd, IDC_SHOW, hInst, NULL); - EnableWindow(hStop, FALSE); - - //default channel 0 - channel = 0; - - hBlackBrush= CreateSolidBrush(RGB(0,0,0)); - hRedPen= CreatePen(PS_SOLID,1,RGB(255,0,0)); - hBlackPen= CreatePen(PS_SOLID,1,RGB(0,0,0)); - break; - - case WM_PAINT: - hDC = BeginPaint(hWnd, &ps); - - // DMA analog input box - SelectObject(hDC, GetStockObject(GRAY_BRUSH)); - Rectangle(hDC, output_pos[15].x-10, io_pos[15].y-24, output_pos[0].x+26, io_pos[0].y+195); - SetTextColor(hDC,RGB(255,0,0)); - TextOut(hDC, io_pos[15].x+105, io_pos[15].y-40, " Trigger Source : External Digital Trigger ", 43); - SetTextColor(hDC,RGB(255,255,0)); - SetBkColor(hDC, RGB(0, 0, 255)); - TextOut(hDC, io_pos[15].x, io_pos[15].y-35, "DMA Input", 9); - SelectObject(hDC, hBlackBrush); - Rectangle(hDC, output_pos[15].x+35, io_pos[15].y-2, output_pos[4].x+41, io_pos[0].y+172); - - SetBkMode(hDC,TRANSPARENT); - TextOut(hDC,output_pos[13].x+70, input_pos[10].y-40,"PostCount",9); - TextOut(hDC,output_pos[13].x-60, input_pos[10].y,"Samping Rate",12); - TextOut(hDC,output_pos[13].x+30, input_pos[15].y+20,"KHZ",3); - TextOut(hDC,output_pos[13].x+70, input_pos[10].y,"Buffer Size",11); - TextOut(hDC,input_pos[2].x-10, io_pos[15].y+118,"Range: +-1V",11); - TextOut(hDC,input_pos[15].x, io_pos[15].y-19,"Volt",4); - TextOut(hDC,input_pos[15].x, io_pos[15].y-5,"1.00",4); - TextOut(hDC,input_pos[15].x, io_pos[15].y+36,"0.50",4); - TextOut(hDC,input_pos[15].x, io_pos[15].y+77,"0.00",4); - TextOut(hDC,input_pos[15].x-3, io_pos[15].y+118,"-0.50",5); - TextOut(hDC,input_pos[15].x-3, io_pos[15].y+159,"-1.00",5); - TextOut(hDC,input_pos[10].x+10, io_pos[10].y-19,"Signals",7); - TextOut(hDC,output_pos[4].x+60, io_pos[0].y,"Channel 0",9); - EndPaint(hWnd, &ps); - break; - - // Sample Rate Spin Control - case WM_VSCROLL: - switch (LOWORD(wParam)) { - case SB_LINEUP : - sample_rate+=100000; // 100K Hz - if (sample_rate > 5*1000000 ) sample_rate=5*1000000; - break; - case SB_LINEDOWN: - sample_rate-=100000; // 100K Hz - if (sample_rate < 5000 ) sample_rate=5000; - break; - } - wsprintf(n,"%d",sample_rate/1000); - SetWindowText(hEdit,n); - break; - case WM_COMMAND: - switch(LOWORD(wParam)) { - case IDM_EXIT: - SendMessage(hWnd, WM_CLOSE, 0, 0L); - break; - - case IDC_SHOW : - DialogBox(hInst, "DMABox", hWnd, ShowDMA); - break; - case IDC_START: - if (hMem != NULL) { - GlobalUnfix(hMem); - GlobalUnlock(hMem); - GlobalFree(hMem); - } - // allocate a memory for DMA - postCount = GetDlgItemInt(hWnd,IDC_EDIT2,NULL ,FALSE); - data_size=GetDlgItemInt(hWnd,IDC_EDIT1,NULL ,FALSE); - mem_size=data_size * 2; - hMem = GlobalAlloc(GMEM_FIXED | GMEM_ZEROINIT,mem_size); - - ai_buf = (I16 *)GlobalLock(hMem); - if (ai_buf == NULL ) { - MessageBox(hWnd,"DMA", "No Memory", MB_OK); - SendMessage(hWnd, WM_CLOSE, 0, 0L); - break; - } - - GlobalFix(hMem); - - if ((err = AI_9812_Config(card,P9812_TRGMOD_MIDL, P9812_TRGSRC_EXT_DIG, P9812_TRGSLP_POS, P9812_AD2_GT_PCI|P9812_CLKSRC_INT,0,postCount))<0) { - wsprintf(s, "AI Config Error = %d\n", err); - MessageBox(hWnd, s, "Error", MB_OK); - SendMessage(hWnd, WM_CLOSE, 0, 0L); - break; - } - if ((err=AI_AsyncDblBufferMode (card, 1)) != NoError) { - wsprintf(s, "AI_AsyncDblBufferMode Error = %d\n", err); - MessageBox(hWnd, s, "Error", MB_OK); - SendMessage(hWnd, WM_CLOSE, 0, 0L); - break; - } - if ((err=AI_ContReadChannel(card, channel, AD_B_1_V, ai_buf, data_size, (F64)sample_rate, ASYNCH_OP)) != NoError) { - wsprintf(s, "AI_ContReadPort Error = %d\n", err); - MessageBox(hWnd, s, "Error", MB_OK); - SendMessage(hWnd, WM_CLOSE, 0, 0L); - break; - } - EnableWindow(hStart, FALSE); - EnableWindow(hStop, TRUE); - hMainWnd = hWnd; - clear_op = FALSE; - hThread1 = (HANDLE)_beginthread(ProcessThread, 0, 0); - - MessageBeep(0); - break; - case IDC_STOP: - clear_op = TRUE; - EnableWindow(hStart, TRUE); - EnableWindow(hStop, FALSE); - break; - default: - return(DefWindowProc(hWnd, message, wParam, lParam)); - } - break; - case WM_DESTROY: - if (card >= 0) Release_Card(card); - DeleteObject(hBlackBrush); - DeleteObject(hRedPen); - GlobalUnfix(hMem); - GlobalUnlock(hMem); - GlobalFree(hMem); - PostQuitMessage(0); - break; - default: - return(DefWindowProc(hWnd, message, wParam, lParam)); - } - return(NULL); -} - -BOOL PASCAL ShowDMA(hDlg, message, wParam, lParam) -HWND hDlg; -UINT message; -WPARAM wParam; -LPARAM lParam; -{ - int nTabs[2] = {32, 92}; - int i; - char cBuf[100]; - char string[10]=" "; - char data_str[3]=" "; - I16 *pp; - - switch (message) { - case WM_INITDIALOG: - hListBox = CreateWindow("LISTBOX", " Index Data", - WS_CHILD | WS_VISIBLE | LBS_HASSTRINGS | LBS_STANDARD | LBS_USETABSTOPS |WS_CAPTION, - 50, 40, 240, 180, hDlg, 100, hInst, NULL); - SendMessage(hListBox, LB_RESETCONTENT, 0, 0L); - SendMessage(hListBox, LB_SETTABSTOPS, 2, (DWORD)(LPINT) nTabs); - SetDlgItemText(hDlg, DMA_DESCP, "This ListBox can show at most 4000 data"); - itoa( data_size, string, 10); - SetDlgItemText(hDlg, DMA_SPACE, string); - pp = (I16 *)ai_buf; - if (count >4000) count = 4000; - for(i=0;i>6); - else - wsprintf(cBuf, "%5d\t %5d", i, pp[i]>>4); - SendMessage(hListBox, LB_INSERTSTRING, -1, (DWORD)(LPSTR)cBuf); - } - ShowWindow(hListBox, SW_SHOW); - return (TRUE); - case WM_COMMAND: - if (LOWORD(wParam) == ID_STOP) { - DestroyWindow(hListBox); - EndDialog(hDlg, TRUE); - return (TRUE); - } - break; - } - return (FALSE); -} - -void ProcessThread(void* pArg) -{ - BOOLEAN HalfReady, fstop; - HDC hDC; - int t =0; - I16 adinput, trg_en=0; - U32 i, oldx, oldy, newx, newy; - - hDC = GetDC(hMainWnd); - data_size /= 2; //Every time transfer half size of buffer - do { - do { - AI_AsyncDblBufferHalfReady(card, &HalfReady, &fstop); - } while (!HalfReady && !fstop); - - if (!fstop) { - AI_AsyncDblBufferTransfer(card, ai_buf); - SelectObject(hDC, hBlackBrush); - SelectObject(hDC, hBlackPen); - Rectangle(hDC, output_pos[15].x+35, io_pos[15].y-2, output_pos[4].x+41, io_pos[0].y+172); - SelectObject(hDC, hRedPen); - for (i=0; i>4; - newy = io_pos[0].y+86-(87*(long)adinput)/2048; - newx = i*336/data_size+output_pos[15].x+35; - if (i==0) - MoveToEx(hDC, newx, newy, NULL); - else - MoveToEx(hDC, oldx, oldy, NULL); - LineTo(hDC, newx, newy); - oldx = newx; - oldy = newy; - } - } - } while (!clear_op && !fstop); - EnableWindow(hStart, TRUE); - EnableWindow(hStop, FALSE); - AI_AsyncDblBufferHalfReady(card, &HalfReady, &fstop); //Get the index of working buffer of Double Buffer - AI_AsyncClear(card, &count); - if (!HalfReady && ((count == data_size)||(count == 0))) { - } else { - AI_AsyncDblBufferTransfer(card, ai_buf); - SelectObject(hDC, hBlackBrush); - SelectObject(hDC, hBlackPen); - Rectangle(hDC, output_pos[15].x+35, io_pos[15].y-2, output_pos[4].x+41, io_pos[0].y+172); - SelectObject(hDC, hRedPen); - if (count ==0) count = data_size; - for (i=0; i>4; - newy = io_pos[0].y+86-(87*(long)adinput)/2048; - newx = i*336/data_size+output_pos[15].x+35; - if (i==0) - MoveToEx(hDC, newx, newy, NULL); - else - MoveToEx(hDC, oldx, oldy, NULL); - LineTo(hDC, newx, newy); - oldx = newx; - oldy = newy; - } - } - ReleaseDC(hMainWnd, hDC); - _endthread(); -} - \ No newline at end of file diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9812/SDK9812DbfMidTrg/9812MTrg.exe b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9812/SDK9812DbfMidTrg/9812MTrg.exe deleted file mode 100644 index 02310d0..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9812/SDK9812DbfMidTrg/9812MTrg.exe and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9812/SDK9812DbfMidTrg/9812MTrg.mak b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9812/SDK9812DbfMidTrg/9812MTrg.mak deleted file mode 100644 index ed6810b..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9812/SDK9812DbfMidTrg/9812MTrg.mak +++ /dev/null @@ -1,219 +0,0 @@ -# Microsoft Developer Studio Generated NMAKE File, Format Version 4.00 -# ** DO NOT EDIT ** - -# TARGTYPE "Win32 (x86) Application" 0x0101 - -!IF "$(CFG)" == "" -CFG=9812MTrg - Win32 Debug -!MESSAGE No configuration specified. Defaulting to 9812MTrg - Win32 Debug. -!ENDIF - -!IF "$(CFG)" != "9812MTrg - Win32 Release" && "$(CFG)" !=\ - "9812MTrg - Win32 Debug" -!MESSAGE Invalid configuration "$(CFG)" specified. -!MESSAGE You can specify a configuration when running NMAKE on this makefile -!MESSAGE by defining the macro CFG on the command line. For example: -!MESSAGE -!MESSAGE NMAKE /f "9812MTrg.mak" CFG="9812MTrg - Win32 Debug" -!MESSAGE -!MESSAGE Possible choices for configuration are: -!MESSAGE -!MESSAGE "9812MTrg - Win32 Release" (based on "Win32 (x86) Application") -!MESSAGE "9812MTrg - Win32 Debug" (based on "Win32 (x86) Application") -!MESSAGE -!ERROR An invalid configuration is specified. -!ENDIF - -!IF "$(OS)" == "Windows_NT" -NULL= -!ELSE -NULL=nul -!ENDIF -################################################################################ -# Begin Project -# PROP Target_Last_Scanned "9812MTrg - Win32 Debug" -CPP=cl.exe -RSC=rc.exe -MTL=mktyplib.exe - -!IF "$(CFG)" == "9812MTrg - Win32 Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "Release" -# PROP BASE Intermediate_Dir "Release" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "" -# PROP Intermediate_Dir "Release" -# PROP Target_Dir "" -OUTDIR=. -INTDIR=.\Release - -ALL : "$(OUTDIR)\9812MTrg.exe" - -CLEAN : - -@erase ".\9812MTrg.exe" - -@erase ".\Release\9812MTrg.obj" - -@erase ".\Release\9812MTrg.res" - -"$(INTDIR)" : - if not exist "$(INTDIR)/$(NULL)" mkdir "$(INTDIR)" - -# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /YX /c -# ADD CPP /nologo /MT /W3 /GX /Od /I "..\..\..\include" /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /c -# SUBTRACT CPP /YX -CPP_PROJ=/nologo /MT /W3 /GX /Od /I "..\..\..\include" /D "WIN32" /D "NDEBUG"\ - /D "_WINDOWS" /Fo"$(INTDIR)/" /c -CPP_OBJS=.\Release/ -CPP_SBRS= -# ADD BASE MTL /nologo /D "NDEBUG" /win32 -# ADD MTL /nologo /D "NDEBUG" /win32 -MTL_PROJ=/nologo /D "NDEBUG" /win32 -# ADD BASE RSC /l 0x409 /d "NDEBUG" -# ADD RSC /l 0x409 /d "NDEBUG" -RSC_PROJ=/l 0x409 /fo"$(INTDIR)/9812MTrg.res" /d "NDEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -BSC32_FLAGS=/nologo /o"$(OUTDIR)/9812MTrg.bsc" -BSC32_SBRS= -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:windows /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ..\..\..\lib\pci-dask.lib /nologo /subsystem:windows /machine:I386 -LINK32_FLAGS=kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib\ - advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib\ - odbccp32.lib ..\..\..\lib\pci-dask.lib /nologo /subsystem:windows\ - /incremental:no /pdb:"$(OUTDIR)/9812MTrg.pdb" /machine:I386\ - /out:"$(OUTDIR)/9812MTrg.exe" -LINK32_OBJS= \ - ".\Release\9812MTrg.obj" \ - ".\Release\9812MTrg.res" - -"$(OUTDIR)\9812MTrg.exe" : "$(OUTDIR)" $(DEF_FILE) $(LINK32_OBJS) - $(LINK32) @<< - $(LINK32_FLAGS) $(LINK32_OBJS) -<< - -!ELSEIF "$(CFG)" == "9812MTrg - Win32 Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "Debug" -# PROP BASE Intermediate_Dir "Debug" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "Debug" -# PROP Intermediate_Dir "Debug" -# PROP Target_Dir "" -OUTDIR=.\Debug -INTDIR=.\Debug - -ALL : "$(OUTDIR)\9812MTrg.exe" - -CLEAN : - -@erase ".\Debug\vc40.pdb" - -@erase ".\Debug\vc40.idb" - -@erase ".\Debug\9812MTrg.exe" - -@erase ".\Debug\9812MTrg.obj" - -@erase ".\Debug\9812MTrg.res" - -@erase ".\Debug\9812MTrg.ilk" - -@erase ".\Debug\9812MTrg.pdb" - -"$(OUTDIR)" : - if not exist "$(OUTDIR)/$(NULL)" mkdir "$(OUTDIR)" - -# ADD BASE CPP /nologo /W3 /Gm /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /YX /c -# ADD CPP /nologo /MTd /W3 /Gm /GX /Zi /Od /I "..\..\..\include" /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /c -# SUBTRACT CPP /YX -CPP_PROJ=/nologo /MTd /W3 /Gm /GX /Zi /Od /I "..\..\..\include" /D "WIN32" /D\ - "_DEBUG" /D "_WINDOWS" /Fo"$(INTDIR)/" /Fd"$(INTDIR)/" /c -CPP_OBJS=.\Debug/ -CPP_SBRS= -# ADD BASE MTL /nologo /D "_DEBUG" /win32 -# ADD MTL /nologo /D "_DEBUG" /win32 -MTL_PROJ=/nologo /D "_DEBUG" /win32 -# ADD BASE RSC /l 0x409 /d "_DEBUG" -# ADD RSC /l 0x409 /d "_DEBUG" -RSC_PROJ=/l 0x409 /fo"$(INTDIR)/9812MTrg.res" /d "_DEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -BSC32_FLAGS=/nologo /o"$(OUTDIR)/9812MTrg.bsc" -BSC32_SBRS= -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:windows /debug /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ..\..\..\lib\pci-dask.lib /nologo /subsystem:windows /debug /machine:I386 -LINK32_FLAGS=kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib\ - advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib\ - odbccp32.lib ..\..\..\lib\pci-dask.lib /nologo /subsystem:windows\ - /incremental:yes /pdb:"$(OUTDIR)/9812MTrg.pdb" /debug /machine:I386\ - /out:"$(OUTDIR)/9812MTrg.exe" -LINK32_OBJS= \ - ".\Debug\9812MTrg.obj" \ - ".\Debug\9812MTrg.res" - -"$(OUTDIR)\9812MTrg.exe" : "$(OUTDIR)" $(DEF_FILE) $(LINK32_OBJS) - $(LINK32) @<< - $(LINK32_FLAGS) $(LINK32_OBJS) -<< - -!ENDIF - -.c{$(CPP_OBJS)}.obj: - $(CPP) $(CPP_PROJ) $< - -.cpp{$(CPP_OBJS)}.obj: - $(CPP) $(CPP_PROJ) $< - -.cxx{$(CPP_OBJS)}.obj: - $(CPP) $(CPP_PROJ) $< - -.c{$(CPP_SBRS)}.sbr: - $(CPP) $(CPP_PROJ) $< - -.cpp{$(CPP_SBRS)}.sbr: - $(CPP) $(CPP_PROJ) $< - -.cxx{$(CPP_SBRS)}.sbr: - $(CPP) $(CPP_PROJ) $< - -################################################################################ -# Begin Target - -# Name "9812MTrg - Win32 Release" -# Name "9812MTrg - Win32 Debug" - -!IF "$(CFG)" == "9812MTrg - Win32 Release" - -!ELSEIF "$(CFG)" == "9812MTrg - Win32 Debug" - -!ENDIF - -################################################################################ -# Begin Source File - -SOURCE=.\9812MTrg.rc - -"$(INTDIR)\9812MTrg.res" : $(SOURCE) "$(INTDIR)" - $(RSC) $(RSC_PROJ) $(SOURCE) - - -# End Source File -################################################################################ -# Begin Source File - -SOURCE=.\9812MTrg.c -DEP_CPP_9812M=\ - ".\..\..\..\include\Dask.h"\ - - -"$(INTDIR)\9812MTrg.obj" : $(SOURCE) $(DEP_CPP_9812M) "$(INTDIR)" - - -# End Source File -# End Target -# End Project -################################################################################ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9812/SDK9812DbfMidTrg/9812MTrg.mdp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9812/SDK9812DbfMidTrg/9812MTrg.mdp deleted file mode 100644 index 0d05a71..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9812/SDK9812DbfMidTrg/9812MTrg.mdp and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9812/SDK9812DbfMidTrg/9812MTrg.rc b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9812/SDK9812DbfMidTrg/9812MTrg.rc deleted file mode 100644 index a1f208a..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9812/SDK9812DbfMidTrg/9812MTrg.rc +++ /dev/null @@ -1,128 +0,0 @@ -//Microsoft Developer Studio generated resource script. -// -#include "resource.h" - -#define APSTUDIO_READONLY_SYMBOLS -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 2 resource. -// -#define APSTUDIO_HIDDEN_SYMBOLS -#include "windows.h" -#undef APSTUDIO_HIDDEN_SYMBOLS - -///////////////////////////////////////////////////////////////////////////// -#undef APSTUDIO_READONLY_SYMBOLS - -///////////////////////////////////////////////////////////////////////////// -// English (U.S.) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -#ifdef _WIN32 -LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US -#pragma code_page(1252) -#endif //_WIN32 - -///////////////////////////////////////////////////////////////////////////// -// -// Menu -// - -U7120MENU MENU DISCARDABLE -BEGIN - MENUITEM "E&xit!", IDM_EXIT -END - - -#ifdef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// TEXTINCLUDE -// - -1 TEXTINCLUDE DISCARDABLE -BEGIN - "resource.h\0" -END - -2 TEXTINCLUDE DISCARDABLE -BEGIN - "#define APSTUDIO_HIDDEN_SYMBOLS\r\n" - "#include ""windows.h""\r\n" - "#undef APSTUDIO_HIDDEN_SYMBOLS\r\n" - "\0" -END - -3 TEXTINCLUDE DISCARDABLE -BEGIN - "\r\n" - "\0" -END - -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog -// - -DMABOX DIALOG DISCARDABLE 18, 10, 171, 169 -STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "Data Value (half of circular buffer)" -FONT 8, "System" -BEGIN - PUSHBUTTON "STOP",ID_STOP,82,147,24,14 - LTEXT "Data Transferred :",-1,39,119,64,8 - LTEXT "Text",DMA_SPACE,103,118,41,8 - LTEXT "Text",DMA_DESCP,16,6,158,8 -END - -IDD_DIALOG2 DIALOG DISCARDABLE 110, 10, 110, 83 -STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "Card Number" -FONT 10, "System" -BEGIN - DEFPUSHBUTTON "OK",IDOK,9,62,39,14 - PUSHBUTTON "Cancel",IDCANCEL,56,62,38,14 - COMBOBOX IDC_COMBO1,52,33,51,45,CBS_DROPDOWN | WS_VSCROLL | - WS_TABSTOP - LTEXT "Card Type",IDC_STATIC,3,34,46,13 - LTEXT "Card Number",IDC_STATIC,3,13,44,10 - COMBOBOX IDC_COMBO2,51,11,52,94,CBS_DROPDOWN | WS_VSCROLL | - WS_TABSTOP -END - - -///////////////////////////////////////////////////////////////////////////// -// -// DESIGNINFO -// - -#ifdef APSTUDIO_INVOKED -GUIDELINES DESIGNINFO DISCARDABLE -BEGIN - IDD_DIALOG2, DIALOG - BEGIN - LEFTMARGIN, 3 - RIGHTMARGIN, 103 - BOTTOMMARGIN, 76 - END -END -#endif // APSTUDIO_INVOKED - -#endif // English (U.S.) resources -///////////////////////////////////////////////////////////////////////////// - - - -#ifndef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 3 resource. -// - - -///////////////////////////////////////////////////////////////////////////// -#endif // not APSTUDIO_INVOKED - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9812/SDK9812DbfMidTrg/Resource.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9812/SDK9812DbfMidTrg/Resource.h deleted file mode 100644 index 8d0babe..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9812/SDK9812DbfMidTrg/Resource.h +++ /dev/null @@ -1,26 +0,0 @@ -//{{NO_DEPENDENCIES}} -// Microsoft Developer Studio generated include file. -// Used by 9812MTrg.rc -// -#define IDM_SETUP 101 -#define IDD_DIALOG1 101 -#define IDD_DIALOG2 104 -#define IDM_EXIT 110 -#define ID_CARDNUMBER 122 -#define ID_STOP 304 -#define DMA_SPACE 500 -#define DMA_DESCP 600 -#define IDC_COMBO1 1001 -#define IDC_COMBO2 1003 -#define IDC_STATIC -1 - -// Next default values for new objects -// -#ifdef APSTUDIO_INVOKED -#ifndef APSTUDIO_READONLY_SYMBOLS -#define _APS_NEXT_RESOURCE_VALUE 105 -#define _APS_NEXT_COMMAND_VALUE 123 -#define _APS_NEXT_CONTROL_VALUE 1004 -#define _APS_NEXT_SYMED_VALUE 101 -#endif -#endif diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9812/SDK9812DbfPostTrg/9812PTrg.exe b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9812/SDK9812DbfPostTrg/9812PTrg.exe deleted file mode 100644 index 28d7c33..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9812/SDK9812DbfPostTrg/9812PTrg.exe and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9812/SDK9812DbfPostTrg/9812PTrg.mak b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9812/SDK9812DbfPostTrg/9812PTrg.mak deleted file mode 100644 index b4956d5..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9812/SDK9812DbfPostTrg/9812PTrg.mak +++ /dev/null @@ -1,219 +0,0 @@ -# Microsoft Developer Studio Generated NMAKE File, Format Version 4.00 -# ** DO NOT EDIT ** - -# TARGTYPE "Win32 (x86) Application" 0x0101 - -!IF "$(CFG)" == "" -CFG=9812PTrg - Win32 Debug -!MESSAGE No configuration specified. Defaulting to 9812PTrg - Win32 Debug. -!ENDIF - -!IF "$(CFG)" != "9812PTrg - Win32 Release" && "$(CFG)" !=\ - "9812PTrg - Win32 Debug" -!MESSAGE Invalid configuration "$(CFG)" specified. -!MESSAGE You can specify a configuration when running NMAKE on this makefile -!MESSAGE by defining the macro CFG on the command line. For example: -!MESSAGE -!MESSAGE NMAKE /f "9812PTrg.mak" CFG="9812PTrg - Win32 Debug" -!MESSAGE -!MESSAGE Possible choices for configuration are: -!MESSAGE -!MESSAGE "9812PTrg - Win32 Release" (based on "Win32 (x86) Application") -!MESSAGE "9812PTrg - Win32 Debug" (based on "Win32 (x86) Application") -!MESSAGE -!ERROR An invalid configuration is specified. -!ENDIF - -!IF "$(OS)" == "Windows_NT" -NULL= -!ELSE -NULL=nul -!ENDIF -################################################################################ -# Begin Project -# PROP Target_Last_Scanned "9812PTrg - Win32 Debug" -CPP=cl.exe -RSC=rc.exe -MTL=mktyplib.exe - -!IF "$(CFG)" == "9812PTrg - Win32 Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "Release" -# PROP BASE Intermediate_Dir "Release" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "" -# PROP Intermediate_Dir "Release" -# PROP Target_Dir "" -OUTDIR=. -INTDIR=.\Release - -ALL : "$(OUTDIR)\9812PTrg.exe" - -CLEAN : - -@erase ".\9812PTrg.exe" - -@erase ".\Release\9812Ptrg.obj" - -@erase ".\Release\9812PTrg.res" - -"$(INTDIR)" : - if not exist "$(INTDIR)/$(NULL)" mkdir "$(INTDIR)" - -# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /YX /c -# ADD CPP /nologo /MT /W3 /GX /Od /I "..\..\..\include" /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /c -# SUBTRACT CPP /YX -CPP_PROJ=/nologo /MT /W3 /GX /Od /I "..\..\..\include" /D "WIN32" /D "NDEBUG"\ - /D "_WINDOWS" /Fo"$(INTDIR)/" /c -CPP_OBJS=.\Release/ -CPP_SBRS= -# ADD BASE MTL /nologo /D "NDEBUG" /win32 -# ADD MTL /nologo /D "NDEBUG" /win32 -MTL_PROJ=/nologo /D "NDEBUG" /win32 -# ADD BASE RSC /l 0x409 /d "NDEBUG" -# ADD RSC /l 0x409 /d "NDEBUG" -RSC_PROJ=/l 0x409 /fo"$(INTDIR)/9812PTrg.res" /d "NDEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -BSC32_FLAGS=/nologo /o"$(OUTDIR)/9812PTrg.bsc" -BSC32_SBRS= -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:windows /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ..\..\..\lib\pci-dask.lib /nologo /subsystem:windows /machine:I386 -LINK32_FLAGS=kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib\ - advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib\ - odbccp32.lib ..\..\..\lib\pci-dask.lib /nologo /subsystem:windows\ - /incremental:no /pdb:"$(OUTDIR)/9812PTrg.pdb" /machine:I386\ - /out:"$(OUTDIR)/9812PTrg.exe" -LINK32_OBJS= \ - ".\Release\9812Ptrg.obj" \ - ".\Release\9812PTrg.res" - -"$(OUTDIR)\9812PTrg.exe" : "$(OUTDIR)" $(DEF_FILE) $(LINK32_OBJS) - $(LINK32) @<< - $(LINK32_FLAGS) $(LINK32_OBJS) -<< - -!ELSEIF "$(CFG)" == "9812PTrg - Win32 Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "Debug" -# PROP BASE Intermediate_Dir "Debug" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "Debug" -# PROP Intermediate_Dir "Debug" -# PROP Target_Dir "" -OUTDIR=.\Debug -INTDIR=.\Debug - -ALL : "$(OUTDIR)\9812PTrg.exe" - -CLEAN : - -@erase ".\Debug\vc40.pdb" - -@erase ".\Debug\vc40.idb" - -@erase ".\Debug\9812PTrg.exe" - -@erase ".\Debug\9812Ptrg.obj" - -@erase ".\Debug\9812PTrg.res" - -@erase ".\Debug\9812PTrg.ilk" - -@erase ".\Debug\9812PTrg.pdb" - -"$(OUTDIR)" : - if not exist "$(OUTDIR)/$(NULL)" mkdir "$(OUTDIR)" - -# ADD BASE CPP /nologo /W3 /Gm /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /YX /c -# ADD CPP /nologo /MTd /W3 /Gm /GX /Zi /Od /I "..\..\..\include" /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /c -# SUBTRACT CPP /YX -CPP_PROJ=/nologo /MTd /W3 /Gm /GX /Zi /Od /I "..\..\..\include" /D "WIN32" /D\ - "_DEBUG" /D "_WINDOWS" /Fo"$(INTDIR)/" /Fd"$(INTDIR)/" /c -CPP_OBJS=.\Debug/ -CPP_SBRS= -# ADD BASE MTL /nologo /D "_DEBUG" /win32 -# ADD MTL /nologo /D "_DEBUG" /win32 -MTL_PROJ=/nologo /D "_DEBUG" /win32 -# ADD BASE RSC /l 0x409 /d "_DEBUG" -# ADD RSC /l 0x409 /d "_DEBUG" -RSC_PROJ=/l 0x409 /fo"$(INTDIR)/9812PTrg.res" /d "_DEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -BSC32_FLAGS=/nologo /o"$(OUTDIR)/9812PTrg.bsc" -BSC32_SBRS= -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:windows /debug /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ..\..\..\lib\pci-dask.lib /nologo /subsystem:windows /debug /machine:I386 -LINK32_FLAGS=kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib\ - advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib\ - odbccp32.lib ..\..\..\lib\pci-dask.lib /nologo /subsystem:windows\ - /incremental:yes /pdb:"$(OUTDIR)/9812PTrg.pdb" /debug /machine:I386\ - /out:"$(OUTDIR)/9812PTrg.exe" -LINK32_OBJS= \ - ".\Debug\9812Ptrg.obj" \ - ".\Debug\9812PTrg.res" - -"$(OUTDIR)\9812PTrg.exe" : "$(OUTDIR)" $(DEF_FILE) $(LINK32_OBJS) - $(LINK32) @<< - $(LINK32_FLAGS) $(LINK32_OBJS) -<< - -!ENDIF - -.c{$(CPP_OBJS)}.obj: - $(CPP) $(CPP_PROJ) $< - -.cpp{$(CPP_OBJS)}.obj: - $(CPP) $(CPP_PROJ) $< - -.cxx{$(CPP_OBJS)}.obj: - $(CPP) $(CPP_PROJ) $< - -.c{$(CPP_SBRS)}.sbr: - $(CPP) $(CPP_PROJ) $< - -.cpp{$(CPP_SBRS)}.sbr: - $(CPP) $(CPP_PROJ) $< - -.cxx{$(CPP_SBRS)}.sbr: - $(CPP) $(CPP_PROJ) $< - -################################################################################ -# Begin Target - -# Name "9812PTrg - Win32 Release" -# Name "9812PTrg - Win32 Debug" - -!IF "$(CFG)" == "9812PTrg - Win32 Release" - -!ELSEIF "$(CFG)" == "9812PTrg - Win32 Debug" - -!ENDIF - -################################################################################ -# Begin Source File - -SOURCE=.\9812PTrg.rc - -"$(INTDIR)\9812PTrg.res" : $(SOURCE) "$(INTDIR)" - $(RSC) $(RSC_PROJ) $(SOURCE) - - -# End Source File -################################################################################ -# Begin Source File - -SOURCE=.\9812Ptrg.c -DEP_CPP_9812P=\ - ".\..\..\..\include\Dask.h"\ - - -"$(INTDIR)\9812Ptrg.obj" : $(SOURCE) $(DEP_CPP_9812P) "$(INTDIR)" - - -# End Source File -# End Target -# End Project -################################################################################ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9812/SDK9812DbfPostTrg/9812PTrg.mdp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9812/SDK9812DbfPostTrg/9812PTrg.mdp deleted file mode 100644 index 29c8149..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9812/SDK9812DbfPostTrg/9812PTrg.mdp and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9812/SDK9812DbfPostTrg/9812PTrg.rc b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9812/SDK9812DbfPostTrg/9812PTrg.rc deleted file mode 100644 index a97d2c6..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9812/SDK9812DbfPostTrg/9812PTrg.rc +++ /dev/null @@ -1,128 +0,0 @@ -//Microsoft Developer Studio generated resource script. -// -#include "resource.h" - -#define APSTUDIO_READONLY_SYMBOLS -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 2 resource. -// -#define APSTUDIO_HIDDEN_SYMBOLS -#include "windows.h" -#undef APSTUDIO_HIDDEN_SYMBOLS - -///////////////////////////////////////////////////////////////////////////// -#undef APSTUDIO_READONLY_SYMBOLS - -///////////////////////////////////////////////////////////////////////////// -// English (U.S.) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -#ifdef _WIN32 -LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US -#pragma code_page(1252) -#endif //_WIN32 - -///////////////////////////////////////////////////////////////////////////// -// -// Menu -// - -U7120MENU MENU DISCARDABLE -BEGIN - MENUITEM "E&xit!", IDM_EXIT -END - - -#ifdef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// TEXTINCLUDE -// - -1 TEXTINCLUDE DISCARDABLE -BEGIN - "resource.h\0" -END - -2 TEXTINCLUDE DISCARDABLE -BEGIN - "#define APSTUDIO_HIDDEN_SYMBOLS\r\n" - "#include ""windows.h""\r\n" - "#undef APSTUDIO_HIDDEN_SYMBOLS\r\n" - "\0" -END - -3 TEXTINCLUDE DISCARDABLE -BEGIN - "\r\n" - "\0" -END - -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog -// - -DMABOX DIALOG DISCARDABLE 18, 10, 171, 169 -STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "Data Value (half of circular buffer)" -FONT 8, "System" -BEGIN - PUSHBUTTON "STOP",ID_STOP,82,147,24,14 - LTEXT "Data Transferred :",-1,39,119,64,8 - LTEXT "Text",DMA_SPACE,103,118,41,8 - LTEXT "Text",DMA_DESCP,16,6,158,8 -END - -IDD_DIALOG2 DIALOG DISCARDABLE 110, 10, 110, 75 -STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "Card Type" -FONT 10, "System" -BEGIN - DEFPUSHBUTTON "OK",IDOK,9,54,39,14 - PUSHBUTTON "Cancel",IDCANCEL,59,54,38,14 - COMBOBOX IDC_COMBO1,52,31,51,45,CBS_DROPDOWN | WS_VSCROLL | - WS_TABSTOP - LTEXT "Card Type",IDC_STATIC,4,32,46,13 - LTEXT "Card Number",IDC_STATIC,4,10,43,14 - COMBOBOX IDC_COMBO2,51,9,52,79,CBS_DROPDOWN | WS_VSCROLL | - WS_TABSTOP -END - - -///////////////////////////////////////////////////////////////////////////// -// -// DESIGNINFO -// - -#ifdef APSTUDIO_INVOKED -GUIDELINES DESIGNINFO DISCARDABLE -BEGIN - IDD_DIALOG2, DIALOG - BEGIN - LEFTMARGIN, 4 - RIGHTMARGIN, 103 - BOTTOMMARGIN, 68 - END -END -#endif // APSTUDIO_INVOKED - -#endif // English (U.S.) resources -///////////////////////////////////////////////////////////////////////////// - - - -#ifndef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 3 resource. -// - - -///////////////////////////////////////////////////////////////////////////// -#endif // not APSTUDIO_INVOKED - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9812/SDK9812DbfPostTrg/9812Ptrg.c b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9812/SDK9812DbfPostTrg/9812Ptrg.c deleted file mode 100644 index 37709b0..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9812/SDK9812DbfPostTrg/9812Ptrg.c +++ /dev/null @@ -1,470 +0,0 @@ -#include "windows.h" -#include -#include -#include -#include -#include -#include "resource.h" -#include "Dask.h" - -#define IDM_EXIT 110 -#define IDC_SCROLL 207 -#define IDC_SPIN 301 -#define IDC_START 208 -#define IDC_STOP 209 -#define IDC_EDIT 211 -#define IDC_EDIT1 214 -#define IDC_SHOW 213 -#define IDC_EDIT2 215 -#define IDC_CH 400 - -int PASCAL WinMain(HANDLE, HANDLE, LPSTR, int); -long PASCAL MainWndProc(HWND, UINT, WPARAM, LPARAM); -BOOL PASCAL ShowDMA(HWND, UINT, WPARAM, LPARAM); - -HANDLE hInst; -HWND hListBox; -HWND hEdit,hEdit1, hStart, hStop; -BOOL bCheck[8]; - -HBRUSH hBlackBrush; -HPEN hRedPen, hBlackPen; -HWND hMainWnd; - -//unsigned int sample_rate=10000; -long sample_rate=1000000; //1M Hz -U16 channel; -U32 data_size=1024, mem_size; -static HANDLE hMem=NULL; -I16 *ai_buf; -I16 card=-1, card_number = 0; -U32 count; -BOOLEAN clear_op; -HANDLE hThread1; -U16 card_type = 0; - -POINT input_pos[16]= {{470, 280}, {440, 280}, - {410, 280}, {380, 280}, - {350, 280}, {320, 280}, - { 290, 280}, {260, 280}, - {230, 280}, {200, 280}, - {170, 280}, {140, 280}, - {110, 280}, {80, 280}, - { 50, 280}, { 20, 280}, - }; -POINT output_pos[16] ={ - {470, 340}, {440, 340}, - {410, 340}, {380, 340}, - {350, 340}, {320, 340}, - { 290, 340}, {260, 340}, - {230, 340}, {200, 340}, - {170, 340}, {140, 340}, - {110, 340}, {80, 340}, - { 50, 340}, { 20, 340}, - }; - -POINT io_pos[16] ={ - {395, 40}, {370, 40}, - {345, 40}, {320, 40}, - {295, 40}, {270, 40}, - { 245, 40}, {220, 40}, - {195, 40}, {170, 40}, - {145, 40}, {120, 40}, - {95, 40}, {70, 40}, - { 45, 40}, { 20, 40}, - }; - -BOOL InitApplication(HANDLE); -BOOL InitInstance(HANDLE, int); -void ProcessThread(void* pArg); - -int PASCAL WinMain(hInstance, hPrevInstance, lpCmdLine, nCmdShow) -HANDLE hInstance, hPrevInstance; -LPSTR lpCmdLine; -int nCmdShow; -{ - MSG msg; - - if (!hPrevInstance) - if (!InitApplication(hInstance)) return(FALSE); - if (!InitInstance(hInstance, nCmdShow)) return(FALSE); - while (GetMessage(&msg, NULL, NULL, NULL)) { - TranslateMessage(&msg); - DispatchMessage(&msg); - } - return(msg.wParam); -} - -BOOL InitApplication(hInstance) -HANDLE hInstance; -{ - WNDCLASS wc; - - /* Main Window Class */ - wc.style = NULL; - wc.lpfnWndProc = (WNDPROC)MainWndProc; - wc.cbClsExtra = 0; - wc.cbWndExtra = 0; - wc.hInstance = hInstance; - wc.hIcon = LoadIcon(hInstance, "MyIcon"); - wc.hCursor = LoadCursor(NULL, IDC_ARROW); - wc.hbrBackground = GetStockObject(LTGRAY_BRUSH); - wc.lpszMenuName = NULL; - wc.lpszClassName = "GenericWClass"; - if (!RegisterClass(&wc)) return(FALSE); -} - - -BOOL InitInstance(hInstance, nCmdShow) -HANDLE hInstance; -int nCmdShow; -{ - HWND hWnd; - HMENU hSampleMenu; - - hInst = hInstance; - hSampleMenu = LoadMenu(hInstance, "U7120Menu"); - hWnd = CreateWindow("GenericWClass", - (LPCSTR)"PCI-9812 Double Buffered DMA with Post Trigger Mode", - WS_OVERLAPPEDWINDOW, - CW_USEDEFAULT, - CW_USEDEFAULT, - 520, - 400, - NULL, - hSampleMenu, - hInstance, - NULL); - if (!hWnd) return(FALSE); - ShowWindow(hWnd, nCmdShow); - UpdateWindow(hWnd); - return(TRUE); -} - -BOOL PASCAL setup(HWND hWnd, unsigned message, WPARAM wParam, LPARAM lParam) -{ - int i; - char n[16]; - char s[50]; - switch (message) { - case WM_INITDIALOG: - wsprintf(n, "PCI9812"); - SendMessage(GetDlgItem(hWnd,IDC_COMBO1), CB_ADDSTRING, NULL, (LONG)(LPSTR) n); - sprintf(n, "PCI9810"); - SendMessage(GetDlgItem(hWnd,IDC_COMBO1), CB_ADDSTRING, NULL, (LONG)(LPSTR) n); - SendMessage(GetDlgItem(hWnd,IDC_COMBO1) , CB_SETCURSEL, 0, 0L); - for (i=0;i<16;i++) { - wsprintf(n, "%d", i); - _strupr(n); - SendMessage(GetDlgItem(hWnd,IDC_COMBO2), CB_ADDSTRING, NULL, (LONG)(LPSTR) n); - } - SendMessage(GetDlgItem(hWnd,IDC_COMBO2) , CB_SETCURSEL, 0, 0L); - break; - case WM_COMMAND: - switch(LOWORD(wParam)) { - - case IDC_COMBO1: - if (HIWORD(wParam) == CBN_CLOSEUP) { - i = (int)SendMessage(GetDlgItem(hWnd,IDC_COMBO1), CB_GETCURSEL, 0, 0L); - SendMessage(GetDlgItem(hWnd,IDC_COMBO1), CB_GETLBTEXT, i, (LPARAM)((LPCSTR)n)); - card_type = i; - } - return(TRUE); - case IDC_COMBO2: - if (HIWORD(wParam) == CBN_CLOSEUP) { - i = (int)SendMessage(GetDlgItem(hWnd,IDC_COMBO2), CB_GETCURSEL, 0, 0L); - SendMessage(GetDlgItem(hWnd,IDC_COMBO2), CB_GETLBTEXT, i, (LPARAM)((LPCSTR)n)); - card_number = i; - } - return(TRUE); - case IDOK: - if ((card=Register_Card(PCI_9812, card_number)) < 0) { - wsprintf(s, "Register_Card Error = %d\n", card); - MessageBox(hWnd, s, "Error", MB_OK); - SendMessage(hWnd, WM_CLOSE, 0, 0L); - break; - } - EndDialog(hWnd, TRUE); - InvalidateRect(hWnd, NULL, FALSE); - return (TRUE); - case IDCANCEL: - EndDialog(hWnd, TRUE); - return (TRUE); - } - break; - } - return (FALSE); -} - -long PASCAL MainWndProc(hWnd, message, wParam, lParam) -HWND hWnd; -UINT message; -WPARAM wParam; -LPARAM lParam; -{ - HDC hDC; - PAINTSTRUCT ps; - int i; - char n[6]; - static int pos=0; - I16 err; - char s[50]; - - switch(message) { - case WM_CREATE: - - DialogBox(hInst,IDD_DIALOG2, hWnd, setup); - if(card<0) { - SendMessage(hWnd, WM_CLOSE, 0, 0L); - break; - } - hEdit=CreateWindow("EDIT", NULL, - WS_CHILD | WS_VISIBLE | ES_LEFT, - output_pos[13].x-30, input_pos[15].y+20,40, 20, hWnd, IDC_EDIT, hInst, NULL); - - hEdit1=CreateWindow("EDIT", NULL, - WS_CHILD | WS_VISIBLE | ES_LEFT, - output_pos[13].x+90, input_pos[15].y+20,60, 20, hWnd, IDC_EDIT1, hInst, NULL); - - wsprintf(n,"%d",sample_rate/1000); - SetWindowText(hEdit,n); - - wsprintf(n,"%d",data_size); - SetWindowText(hEdit1,n); - - CreateWindow("SCROLLBAR", NULL, - WS_CHILD | WS_VISIBLE | SBS_VERT, - output_pos[13].x+10, input_pos[15].y+20,20, 20, hWnd, IDC_SCROLL, hInst, NULL); - - hStart = CreateWindow("BUTTON","Start" , - WS_CHILD | WS_VISIBLE , - output_pos[10].x+110, input_pos[10].y+10,50, 30, hWnd, IDC_START, hInst, NULL); - - hStop = CreateWindow("BUTTON","Stop" , - WS_CHILD | WS_VISIBLE , - output_pos[10].x+170, input_pos[10].y+10,50, 30, hWnd, IDC_STOP, hInst, NULL); - - CreateWindow("BUTTON","Data Value" , - WS_CHILD | WS_VISIBLE , - output_pos[10].x+230, input_pos[10].y+10,80, 30, hWnd, IDC_SHOW, hInst, NULL); - EnableWindow(hStop, FALSE); - - //default channel 0 - - hBlackBrush= CreateSolidBrush(RGB(0,0,0)); - hRedPen= CreatePen(PS_SOLID,1,RGB(255,0,0)); - hBlackPen= CreatePen(PS_SOLID,1,RGB(0,0,0)); - break; - - case WM_PAINT: - hDC = BeginPaint(hWnd, &ps); - - // DMA analog input box - SelectObject(hDC, GetStockObject(GRAY_BRUSH)); - Rectangle(hDC, output_pos[15].x-10, io_pos[15].y-24, output_pos[0].x+26, io_pos[0].y+195); - SetTextColor(hDC,RGB(255,0,0)); - TextOut(hDC, io_pos[15].x+105, io_pos[15].y-40, " Trigger Source : External Digital Trigger ", 43); - SetTextColor(hDC,RGB(255,255,0)); - SetBkColor(hDC, RGB(0, 0, 255)); - TextOut(hDC, io_pos[15].x, io_pos[15].y-35, "DMA Input", 9); - SelectObject(hDC, hBlackBrush); - Rectangle(hDC, output_pos[15].x+35, io_pos[15].y-2, output_pos[4].x+41, io_pos[0].y+172); - - SetBkMode(hDC,TRANSPARENT); - TextOut(hDC,output_pos[13].x-60, input_pos[10].y,"Samping Rate",12); - TextOut(hDC,output_pos[13].x+30, input_pos[15].y+20,"KHZ",3); - TextOut(hDC,output_pos[13].x+70, input_pos[10].y,"Buffer Size",11); - TextOut(hDC,input_pos[2].x-10, io_pos[15].y+118,"Range: +-1V",11); - TextOut(hDC,input_pos[15].x, io_pos[15].y-19,"Volt",4); - TextOut(hDC,input_pos[15].x, io_pos[15].y-5,"1.00",4); - TextOut(hDC,input_pos[15].x, io_pos[15].y+36,"0.50",4); - TextOut(hDC,input_pos[15].x, io_pos[15].y+77,"0.00",4); - TextOut(hDC,input_pos[15].x-3, io_pos[15].y+118,"-0.50",5); - TextOut(hDC,input_pos[15].x-3, io_pos[15].y+159,"-1.00",5); - TextOut(hDC,input_pos[10].x+10, io_pos[10].y-19,"Signals",7); - TextOut(hDC,output_pos[4].x+60, io_pos[0].y,"Channel 0",9); - EndPaint(hWnd, &ps); - break; - - // Sample Rate Spin Control - case WM_VSCROLL: - switch (LOWORD(wParam)) { - case SB_LINEUP : - sample_rate+=100000; //100K Hz - if (sample_rate > 5*1000000 ) sample_rate=5*1000000; - break; - case SB_LINEDOWN: - sample_rate-=100000; //100K Hz - if (sample_rate < 5000 ) sample_rate=5000; - break; - } - wsprintf(n,"%d",sample_rate/1000); - SetWindowText(hEdit,n); - break; - case WM_COMMAND: - switch(LOWORD(wParam)) { - case IDM_EXIT: - SendMessage(hWnd, WM_CLOSE, 0, 0L); - break; - - case IDC_SHOW : - DialogBox(hInst, "DMABox", hWnd, ShowDMA); - break; - case IDC_START: - if (hMem != NULL) { - GlobalUnfix(hMem); - GlobalUnlock(hMem); - GlobalFree(hMem); - } - // allocate a memory for DMA - data_size=GetDlgItemInt(hWnd,IDC_EDIT1,NULL ,FALSE); - mem_size=data_size * 2; - hMem = GlobalAlloc(GMEM_FIXED | GMEM_ZEROINIT,mem_size); - - ai_buf = (U16 *)GlobalLock(hMem); - if (ai_buf == NULL ) { - MessageBox(hWnd,"DMA", "No Memory", MB_OK); - SendMessage(hWnd, WM_CLOSE, 0, 0L); - break; - } - - GlobalFix(hMem); - for (i=0;i= 0) Release_Card(card); - DeleteObject(hBlackBrush); - DeleteObject(hRedPen); - GlobalUnfix(hMem); - GlobalUnlock(hMem); - GlobalFree(hMem); - PostQuitMessage(0); - break; - default: - return(DefWindowProc(hWnd, message, wParam, lParam)); - } - return(NULL); -} - -BOOL PASCAL ShowDMA(hDlg, message, wParam, lParam) -HWND hDlg; -UINT message; -WPARAM wParam; -LPARAM lParam; -{ - int nTabs[2] = {32, 92}; - int i; - char cBuf[100]; - char string[10]=" "; - char data_str[3]=" "; - I16 *pp; - switch (message) { - case WM_INITDIALOG: - hListBox = CreateWindow("LISTBOX", "Index Data", - WS_CHILD | WS_VISIBLE | LBS_HASSTRINGS | LBS_STANDARD | LBS_USETABSTOPS |WS_CAPTION, - 50, 40, 240, 180, hDlg, 100, hInst, NULL); - SendMessage(hListBox, LB_RESETCONTENT, 0, 0L); - SendMessage(hListBox, LB_SETTABSTOPS, 2, (DWORD)(LPINT) nTabs); - SetDlgItemText(hDlg, DMA_DESCP, "This ListBox can show at most 4000 data"); - itoa( data_size, string, 10); - SetDlgItemText(hDlg, DMA_SPACE, string); - pp = (I16 *)ai_buf; - if (data_size >4000) data_size = 4000; - for(i=0;i>6); - else - wsprintf(cBuf, "%5d\t %5d", i, pp[i]>>4); - SendMessage(hListBox, LB_INSERTSTRING, -1, (DWORD)(LPSTR)cBuf); - } - ShowWindow(hListBox, SW_SHOW); - return (TRUE); - case WM_COMMAND: - if (LOWORD(wParam) == ID_STOP) { - DestroyWindow(hListBox); - EndDialog(hDlg, TRUE); - return (TRUE); - } - break; - } - return (FALSE); -} - -void ProcessThread(void* pArg) -{ - BOOLEAN HalfReady, fstop; - HDC hDC; - int t =0; - I16 adinput, trg_en=0; - U32 i, oldx, oldy, newx, newy; - - hDC = GetDC(hMainWnd); - data_size /= 2; //Every time transfer half size of buffer - do { - do { - AI_AsyncDblBufferHalfReady(card, &HalfReady, &fstop); - } while (!HalfReady && !fstop); - - if (!fstop) { - AI_AsyncDblBufferTransfer(card, ai_buf); - SelectObject(hDC, hBlackBrush); - SelectObject(hDC, hBlackPen); - Rectangle(hDC, output_pos[15].x+35, io_pos[15].y-2, output_pos[4].x+41, io_pos[0].y+172); - SelectObject(hDC, hRedPen); - for (i=0; i>4; - newy = io_pos[0].y+87-(86*(long)adinput)/2048; - newx = i*336/data_size+output_pos[15].x+35; - if (i==0) - MoveToEx(hDC, newx, newy, NULL); - else - MoveToEx(hDC, oldx, oldy, NULL); - LineTo(hDC, newx, newy); - oldx = newx; - oldy = newy; - } - } - } while (!clear_op && !fstop); - EnableWindow(hStart, TRUE); - EnableWindow(hStop, FALSE); - AI_AsyncClear(card, &count); - - ReleaseDC(hMainWnd, hDC); - _endthread(); -} - \ No newline at end of file diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9812/SDK9812DbfPostTrg/Resource.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9812/SDK9812DbfPostTrg/Resource.h deleted file mode 100644 index 9db03fd..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9812/SDK9812DbfPostTrg/Resource.h +++ /dev/null @@ -1,26 +0,0 @@ -//{{NO_DEPENDENCIES}} -// Microsoft Developer Studio generated include file. -// Used by 9812PTrg.rc -// -#define IDM_SETUP 101 -#define IDD_DIALOG1 101 -#define IDD_DIALOG2 104 -#define IDM_EXIT 110 -#define ID_CARDNUMBER 122 -#define ID_STOP 304 -#define DMA_SPACE 500 -#define DMA_DESCP 600 -#define IDC_COMBO1 1001 -#define IDC_COMBO2 1002 -#define IDC_STATIC -1 - -// Next default values for new objects -// -#ifdef APSTUDIO_INVOKED -#ifndef APSTUDIO_READONLY_SYMBOLS -#define _APS_NEXT_RESOURCE_VALUE 105 -#define _APS_NEXT_COMMAND_VALUE 123 -#define _APS_NEXT_CONTROL_VALUE 1003 -#define _APS_NEXT_SYMED_VALUE 101 -#endif -#endif diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9812/SDK9812DbfPreTrg/9812PrTg.c b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9812/SDK9812DbfPreTrg/9812PrTg.c deleted file mode 100644 index 991d289..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9812/SDK9812DbfPreTrg/9812PrTg.c +++ /dev/null @@ -1,493 +0,0 @@ -#include "windows.h" -#include -#include -#include -#include -#include -#include "resource.h" -#include "Dask.h" - -#define IDM_EXIT 110 -#define IDC_SCROLL 207 -#define IDC_SPIN 301 -#define IDC_START 208 -#define IDC_STOP 209 -#define IDC_EDIT 211 -#define IDC_EDIT1 214 -#define IDC_SHOW 213 -#define IDC_CH 400 - -int PASCAL WinMain(HANDLE, HANDLE, LPSTR, int); -long PASCAL MainWndProc(HWND, UINT, WPARAM, LPARAM); -BOOL PASCAL ShowDMA(HWND, UINT, WPARAM, LPARAM); - -HANDLE hInst; -HWND hListBox; -HWND hEdit,hEdit1, hStart, hStop; -BOOL bCheck[8]; - -HBRUSH hBlackBrush; -HPEN hRedPen, hBlackPen; -HWND hMainWnd; - -//unsigned int sample_rate=10000; -long sample_rate=10000000; //1M hz -U16 channel; -U32 data_size=1024, mem_size; -static HANDLE hMem=NULL; -HANDLE hThread1; - -I16 *ai_buf; -I16 card=-1, card_number = 0; -U32 count; -BOOLEAN clear_op; -U16 card_type = 0; - -POINT input_pos[16]= {{470, 280}, {440, 280}, - {410, 280}, {380, 280}, - {350, 280}, {320, 280}, - { 290, 280}, {260, 280}, - {230, 280}, {200, 280}, - {170, 280}, {140, 280}, - {110, 280}, {80, 280}, - { 50, 280}, { 20, 280}, - }; -POINT output_pos[16] ={ - {470, 340}, {440, 340}, - {410, 340}, {380, 340}, - {350, 340}, {320, 340}, - { 290, 340}, {260, 340}, - {230, 340}, {200, 340}, - {170, 340}, {140, 340}, - {110, 340}, {80, 340}, - { 50, 340}, { 20, 340}, - }; - -POINT io_pos[16] ={ - {395, 40}, {370, 40}, - {345, 40}, {320, 40}, - {295, 40}, {270, 40}, - { 245, 40}, {220, 40}, - {195, 40}, {170, 40}, - {145, 40}, {120, 40}, - {95, 40}, {70, 40}, - { 45, 40}, { 20, 40}, - }; - -BOOL InitApplication(HANDLE); -BOOL InitInstance(HANDLE, int); -void ProcessThread(void* pArg); - -int PASCAL WinMain(hInstance, hPrevInstance, lpCmdLine, nCmdShow) -HANDLE hInstance, hPrevInstance; -LPSTR lpCmdLine; -int nCmdShow; -{ - MSG msg; - - if (!hPrevInstance) - if (!InitApplication(hInstance)) return(FALSE); - if (!InitInstance(hInstance, nCmdShow)) return(FALSE); - while (GetMessage(&msg, NULL, NULL, NULL)) { - TranslateMessage(&msg); - DispatchMessage(&msg); - } - return(msg.wParam); -} - -BOOL InitApplication(hInstance) -HANDLE hInstance; -{ - WNDCLASS wc; - - /* Main Window Class */ - wc.style = NULL; - wc.lpfnWndProc = (WNDPROC)MainWndProc; - wc.cbClsExtra = 0; - wc.cbWndExtra = 0; - wc.hInstance = hInstance; - wc.hIcon = LoadIcon(hInstance, "MyIcon"); - wc.hCursor = LoadCursor(NULL, IDC_ARROW); - wc.hbrBackground = GetStockObject(LTGRAY_BRUSH); - wc.lpszMenuName = NULL; - wc.lpszClassName = "GenericWClass"; - if (!RegisterClass(&wc)) return(FALSE); -} - - -BOOL InitInstance(hInstance, nCmdShow) -HANDLE hInstance; -int nCmdShow; -{ - HWND hWnd; - HMENU hSampleMenu; - - hInst = hInstance; - hSampleMenu = LoadMenu(hInstance, "U7120Menu"); - hWnd = CreateWindow("GenericWClass", - (LPCSTR)"PCI-9812 Double Buffered DMA with Pre-Trigger Mode", - WS_OVERLAPPEDWINDOW, - CW_USEDEFAULT, - CW_USEDEFAULT, - 520, - 400, - NULL, - hSampleMenu, - hInstance, - NULL); - if (!hWnd) return(FALSE); - ShowWindow(hWnd, nCmdShow); - UpdateWindow(hWnd); - return(TRUE); -} - -BOOL PASCAL setup(HWND hWnd, unsigned message, WPARAM wParam, LPARAM lParam) -{ - int i; - char n[16]; - char s[50]; - switch (message) { - case WM_INITDIALOG: - sprintf(n, "PCI9812"); - SendMessage(GetDlgItem(hWnd,IDC_COMBO1), CB_ADDSTRING, NULL, (LONG)(LPSTR) n); - sprintf(n, "PCI9810"); - SendMessage(GetDlgItem(hWnd,IDC_COMBO1), CB_ADDSTRING, NULL, (LONG)(LPSTR) n); - SendMessage(GetDlgItem(hWnd,IDC_COMBO1) , CB_SETCURSEL, 0, 0L); - for (i=0;i<16;i++) { - wsprintf(n, "%d", i); - _strupr(n); - SendMessage(GetDlgItem(hWnd,IDC_COMBO2), CB_ADDSTRING, NULL, (LONG)(LPSTR) n); - } - SendMessage(GetDlgItem(hWnd,IDC_COMBO2) , CB_SETCURSEL, 0, 0L); - break; - case WM_COMMAND: - switch(LOWORD(wParam)) { - - case IDC_COMBO1: - if (HIWORD(wParam) == CBN_CLOSEUP) { - i = (int)SendMessage(GetDlgItem(hWnd,IDC_COMBO1), CB_GETCURSEL, 0, 0L); - SendMessage(GetDlgItem(hWnd,IDC_COMBO1), CB_GETLBTEXT, i, (LPARAM)((LPCSTR)n)); - card_type= i; - } - return(TRUE); - case IDC_COMBO2: - if (HIWORD(wParam) == CBN_CLOSEUP) { - i = (int)SendMessage(GetDlgItem(hWnd,IDC_COMBO2), CB_GETCURSEL, 0, 0L); - SendMessage(GetDlgItem(hWnd,IDC_COMBO2), CB_GETLBTEXT, i, (LPARAM)((LPCSTR)n)); - card_number = i; - } - return(TRUE); - case IDOK: - if ((card=Register_Card(PCI_9812, card_number)) < 0) { - wsprintf(s, "Register_Card Error = %d\n", card); - MessageBox(hWnd, s, "Error", MB_OK); - SendMessage(hWnd, WM_CLOSE, 0, 0L); - break; - } - EndDialog(hWnd, TRUE); - InvalidateRect(hWnd, NULL, FALSE); - return (TRUE); - case IDCANCEL: - EndDialog(hWnd, TRUE); - return (TRUE); - } - break; - } - return (FALSE); -} - -long PASCAL MainWndProc(hWnd, message, wParam, lParam) -HWND hWnd; -UINT message; -WPARAM wParam; -LPARAM lParam; -{ - HDC hDC; - PAINTSTRUCT ps; - int i; - char n[6]; - static int pos=0; - I16 err; - char s[50]; - - switch(message) { - case WM_CREATE: - - DialogBox(hInst,IDD_DIALOG2, hWnd, setup); - if(card<0) { - SendMessage(hWnd, WM_CLOSE, 0, 0L); - break; - } - hEdit=CreateWindow("EDIT", NULL, - WS_CHILD | WS_VISIBLE | ES_LEFT, - output_pos[13].x-30, input_pos[15].y+20,40, 20, hWnd, IDC_EDIT, hInst, NULL); - - hEdit1=CreateWindow("EDIT", NULL, - WS_CHILD | WS_VISIBLE | ES_LEFT, - output_pos[13].x+90, input_pos[15].y+20,60, 20, hWnd, IDC_EDIT1, hInst, NULL); - - - wsprintf(n,"%d",sample_rate/1000); - SetWindowText(hEdit,n); - - wsprintf(n,"%d",data_size); - SetWindowText(hEdit1,n); - - - CreateWindow("SCROLLBAR", NULL, - WS_CHILD | WS_VISIBLE | SBS_VERT, - output_pos[13].x+10, input_pos[15].y+20,20, 20, hWnd, IDC_SCROLL, hInst, NULL); - - hStart = CreateWindow("BUTTON","Start" , - WS_CHILD | WS_VISIBLE , - output_pos[10].x+110, input_pos[10].y+10,50, 30, hWnd, IDC_START, hInst, NULL); - - hStop = CreateWindow("BUTTON","Stop" , - WS_CHILD | WS_VISIBLE , - output_pos[10].x+170, input_pos[10].y+10,50, 30, hWnd, IDC_STOP, hInst, NULL); - - CreateWindow("BUTTON","Data Value" , - WS_CHILD | WS_VISIBLE , - output_pos[10].x+230, input_pos[10].y+10,80, 30, hWnd, IDC_SHOW, hInst, NULL); - EnableWindow(hStop, FALSE); - - //default channel 0 - channel = 0; - - hBlackBrush= CreateSolidBrush(RGB(0,0,0)); - hRedPen= CreatePen(PS_SOLID,1,RGB(255,0,0)); - hBlackPen= CreatePen(PS_SOLID,1,RGB(0,0,0)); - break; - - case WM_PAINT: - hDC = BeginPaint(hWnd, &ps); - - // DMA analog input box - SelectObject(hDC, GetStockObject(GRAY_BRUSH)); - Rectangle(hDC, output_pos[15].x-10, io_pos[15].y-24, output_pos[0].x+26, io_pos[0].y+195); - SetTextColor(hDC,RGB(255,0,0)); - TextOut(hDC, io_pos[15].x+105, io_pos[15].y-40, " Trigger Source : External Digital Trigger ", 43); - SetTextColor(hDC,RGB(255,255,0)); - SetBkColor(hDC, RGB(0, 0, 255)); - TextOut(hDC, io_pos[15].x, io_pos[15].y-35, "DMA Input", 9); - SelectObject(hDC, hBlackBrush); - Rectangle(hDC, output_pos[15].x+35, io_pos[15].y-2, output_pos[4].x+41, io_pos[0].y+172); - - SetBkMode(hDC,TRANSPARENT); - TextOut(hDC,output_pos[13].x-60, input_pos[10].y,"Samping Rate",12); - TextOut(hDC,output_pos[13].x+30, input_pos[15].y+20,"KHZ",3); - TextOut(hDC,output_pos[13].x+70, input_pos[10].y,"Buffer Size",11); - TextOut(hDC,input_pos[2].x-10, io_pos[15].y+118,"Range: +-1V",11); - TextOut(hDC,input_pos[15].x, io_pos[15].y-19,"Volt",4); - TextOut(hDC,input_pos[15].x, io_pos[15].y-5,"1.00",4); - TextOut(hDC,input_pos[15].x, io_pos[15].y+36,"0.50",4); - TextOut(hDC,input_pos[15].x, io_pos[15].y+77,"0.00",4); - TextOut(hDC,input_pos[15].x-3, io_pos[15].y+118,"-0.50",5); - TextOut(hDC,input_pos[15].x-3, io_pos[15].y+159,"-1.00",5); - TextOut(hDC,input_pos[10].x+10, io_pos[10].y-19,"Signals",7); - TextOut(hDC,output_pos[4].x+60, io_pos[0].y,"Channel 0",9); - EndPaint(hWnd, &ps); - break; - - // Sample Rate Spin Control - case WM_VSCROLL: - switch (LOWORD(wParam)) { - case SB_LINEUP : - sample_rate+=100000; // 100K Hz - if (sample_rate > 5*1000000 ) sample_rate=5*1000000; - break; - case SB_LINEDOWN: - sample_rate-=100000; // 100K Hz - if (sample_rate < 5000 ) sample_rate=5000; - break; - } - wsprintf(n,"%d",sample_rate/1000); - SetWindowText(hEdit,n); - break; - case WM_COMMAND: - switch(LOWORD(wParam)) { - case IDM_EXIT: - SendMessage(hWnd, WM_CLOSE, 0, 0L); - break; - - case IDC_SHOW : - DialogBox(hInst, "DMABox", hWnd, ShowDMA); - break; - case IDC_START: - if (hMem != NULL) { - GlobalUnfix(hMem); - GlobalUnlock(hMem); - GlobalFree(hMem); - } - // allocate a memory for DMA - data_size=GetDlgItemInt(hWnd,IDC_EDIT1,NULL ,FALSE); - mem_size=data_size * 2; - hMem = GlobalAlloc(GMEM_FIXED | GMEM_ZEROINIT,mem_size); - - ai_buf = (I16 *)GlobalLock(hMem); - if (ai_buf == NULL ) { - MessageBox(hWnd,"DMA", "No Memory", MB_OK); - SendMessage(hWnd, WM_CLOSE, 0, 0L); - break; - } - - GlobalFix(hMem); - for (i=0;i= 0) Release_Card(card); - DeleteObject(hBlackBrush); - DeleteObject(hRedPen); - GlobalUnfix(hMem); - GlobalUnlock(hMem); - GlobalFree(hMem); - PostQuitMessage(0); - break; - default: - return(DefWindowProc(hWnd, message, wParam, lParam)); - } - return(NULL); -} - -BOOL PASCAL ShowDMA(hDlg, message, wParam, lParam) -HWND hDlg; -UINT message; -WPARAM wParam; -LPARAM lParam; -{ - int nTabs[2] = {32, 92}; - int i; - char cBuf[100]; - char string[10]=" "; - char data_str[3]=" "; - I16 *pp; - switch (message) { - case WM_INITDIALOG: - hListBox = CreateWindow("LISTBOX", "Index Data", - WS_CHILD | WS_VISIBLE | LBS_HASSTRINGS | LBS_STANDARD | LBS_USETABSTOPS |WS_CAPTION, - 50, 40, 240, 180, hDlg, 100, hInst, NULL); - SendMessage(hListBox, LB_RESETCONTENT, 0, 0L); - SendMessage(hListBox, LB_SETTABSTOPS, 2, (DWORD)(LPINT) nTabs); - SetDlgItemText(hDlg, DMA_DESCP, "This ListBox can show at most 4000 data"); - itoa( data_size, string, 10); - SetDlgItemText(hDlg, DMA_SPACE, string); - pp = (I16 *)ai_buf; - if (count >4000) count = 4000; - for(i=0;i>6); - else - wsprintf(cBuf, "%5d\t %5d", i, pp[i]>>4); - SendMessage(hListBox, LB_INSERTSTRING, -1, (DWORD)(LPSTR)cBuf); - } - ShowWindow(hListBox, SW_SHOW); - return (TRUE); - case WM_COMMAND: - if (LOWORD(wParam) == ID_STOP) { - DestroyWindow(hListBox); - EndDialog(hDlg, TRUE); - return (TRUE); - } - break; - } - return (FALSE); -} - -void ProcessThread(void* pArg) -{ - BOOLEAN HalfReady, fstop; - HDC hDC; - int t =0; - I16 adinput, trg_en=0; - U32 i, oldx, oldy, newx, newy; - - hDC = GetDC(hMainWnd); - data_size /= 2; //Every time transfer half size of buffer - do { - do { - AI_AsyncDblBufferHalfReady(card, &HalfReady, &fstop); - } while (!HalfReady && !fstop); - - if (!fstop) { - AI_AsyncDblBufferTransfer(card, ai_buf); - SelectObject(hDC, hBlackBrush); - SelectObject(hDC, hBlackPen); - Rectangle(hDC, output_pos[15].x+35, io_pos[15].y-2, output_pos[4].x+41, io_pos[0].y+172); - SelectObject(hDC, hRedPen); - for (i=0; i>4; - newy = io_pos[0].y+86-(87*(long)adinput)/2048; - newx = i*336/data_size+output_pos[15].x+35; - if (i==0) - MoveToEx(hDC, newx, newy, NULL); - else - MoveToEx(hDC, oldx, oldy, NULL); - LineTo(hDC, newx, newy); - oldx = newx; - oldy = newy; - } - } - } while (!clear_op && !fstop); - EnableWindow(hStart, TRUE); - EnableWindow(hStop, FALSE); - AI_AsyncDblBufferHalfReady(card, &HalfReady, &fstop); //Get the index of working buffer of Double Buffer - AI_AsyncClear(card, &count); - if (!HalfReady && ((count == data_size)||(count == 0))) { - } else { - AI_AsyncDblBufferTransfer(card, ai_buf); - SelectObject(hDC, hBlackBrush); - SelectObject(hDC, hBlackPen); - Rectangle(hDC, output_pos[15].x+35, io_pos[15].y-2, output_pos[4].x+41, io_pos[0].y+172); - SelectObject(hDC, hRedPen); - if (count ==0) count = data_size; - for (i=0; i>4; - newy = io_pos[0].y+86-(87*(long)adinput)/2048; - newx = i*336/data_size+output_pos[15].x+35; - if (i==0) - MoveToEx(hDC, newx, newy, NULL); - else - MoveToEx(hDC, oldx, oldy, NULL); - LineTo(hDC, newx, newy); - oldx = newx; - oldy = newy; - } - } - ReleaseDC(hMainWnd, hDC); - _endthread(); -} - \ No newline at end of file diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9812/SDK9812DbfPreTrg/9812PrTg.exe b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9812/SDK9812DbfPreTrg/9812PrTg.exe deleted file mode 100644 index 7b898fe..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9812/SDK9812DbfPreTrg/9812PrTg.exe and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9812/SDK9812DbfPreTrg/9812PrTg.mak b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9812/SDK9812DbfPreTrg/9812PrTg.mak deleted file mode 100644 index 1806dd2..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9812/SDK9812DbfPreTrg/9812PrTg.mak +++ /dev/null @@ -1,219 +0,0 @@ -# Microsoft Developer Studio Generated NMAKE File, Format Version 4.00 -# ** DO NOT EDIT ** - -# TARGTYPE "Win32 (x86) Application" 0x0101 - -!IF "$(CFG)" == "" -CFG=9812PrTg - Win32 Debug -!MESSAGE No configuration specified. Defaulting to 9812PrTg - Win32 Debug. -!ENDIF - -!IF "$(CFG)" != "9812PrTg - Win32 Release" && "$(CFG)" !=\ - "9812PrTg - Win32 Debug" -!MESSAGE Invalid configuration "$(CFG)" specified. -!MESSAGE You can specify a configuration when running NMAKE on this makefile -!MESSAGE by defining the macro CFG on the command line. For example: -!MESSAGE -!MESSAGE NMAKE /f "9812PrTg.mak" CFG="9812PrTg - Win32 Debug" -!MESSAGE -!MESSAGE Possible choices for configuration are: -!MESSAGE -!MESSAGE "9812PrTg - Win32 Release" (based on "Win32 (x86) Application") -!MESSAGE "9812PrTg - Win32 Debug" (based on "Win32 (x86) Application") -!MESSAGE -!ERROR An invalid configuration is specified. -!ENDIF - -!IF "$(OS)" == "Windows_NT" -NULL= -!ELSE -NULL=nul -!ENDIF -################################################################################ -# Begin Project -# PROP Target_Last_Scanned "9812PrTg - Win32 Debug" -CPP=cl.exe -RSC=rc.exe -MTL=mktyplib.exe - -!IF "$(CFG)" == "9812PrTg - Win32 Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "Release" -# PROP BASE Intermediate_Dir "Release" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "" -# PROP Intermediate_Dir "Release" -# PROP Target_Dir "" -OUTDIR=. -INTDIR=.\Release - -ALL : "$(OUTDIR)\9812PrTg.exe" - -CLEAN : - -@erase ".\9812PrTg.exe" - -@erase ".\Release\9812PrTg.obj" - -@erase ".\Release\9812PrTg.res" - -"$(INTDIR)" : - if not exist "$(INTDIR)/$(NULL)" mkdir "$(INTDIR)" - -# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /YX /c -# ADD CPP /nologo /MT /W3 /GX /Od /I "..\..\..\include" /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /c -# SUBTRACT CPP /YX -CPP_PROJ=/nologo /MT /W3 /GX /Od /I "..\..\..\include" /D "WIN32" /D "NDEBUG"\ - /D "_WINDOWS" /Fo"$(INTDIR)/" /c -CPP_OBJS=.\Release/ -CPP_SBRS= -# ADD BASE MTL /nologo /D "NDEBUG" /win32 -# ADD MTL /nologo /D "NDEBUG" /win32 -MTL_PROJ=/nologo /D "NDEBUG" /win32 -# ADD BASE RSC /l 0x409 /d "NDEBUG" -# ADD RSC /l 0x409 /d "NDEBUG" -RSC_PROJ=/l 0x409 /fo"$(INTDIR)/9812PrTg.res" /d "NDEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -BSC32_FLAGS=/nologo /o"$(OUTDIR)/9812PrTg.bsc" -BSC32_SBRS= -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:windows /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ..\..\..\lib\pci-dask.lib /nologo /subsystem:windows /machine:I386 -LINK32_FLAGS=kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib\ - advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib\ - odbccp32.lib ..\..\..\lib\pci-dask.lib /nologo /subsystem:windows\ - /incremental:no /pdb:"$(OUTDIR)/9812PrTg.pdb" /machine:I386\ - /out:"$(OUTDIR)/9812PrTg.exe" -LINK32_OBJS= \ - "$(INTDIR)/9812PrTg.obj" \ - "$(INTDIR)/9812PrTg.res" - -"$(OUTDIR)\9812PrTg.exe" : "$(OUTDIR)" $(DEF_FILE) $(LINK32_OBJS) - $(LINK32) @<< - $(LINK32_FLAGS) $(LINK32_OBJS) -<< - -!ELSEIF "$(CFG)" == "9812PrTg - Win32 Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "Debug" -# PROP BASE Intermediate_Dir "Debug" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "Debug" -# PROP Intermediate_Dir "Debug" -# PROP Target_Dir "" -OUTDIR=.\Debug -INTDIR=.\Debug - -ALL : "$(OUTDIR)\9812PrTg.exe" - -CLEAN : - -@erase ".\Debug\vc40.pdb" - -@erase ".\Debug\vc40.idb" - -@erase ".\Debug\9812PrTg.exe" - -@erase ".\Debug\9812PrTg.obj" - -@erase ".\Debug\9812PrTg.res" - -@erase ".\Debug\9812PrTg.ilk" - -@erase ".\Debug\9812PrTg.pdb" - -"$(OUTDIR)" : - if not exist "$(OUTDIR)/$(NULL)" mkdir "$(OUTDIR)" - -# ADD BASE CPP /nologo /W3 /Gm /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /YX /c -# ADD CPP /nologo /MTd /W3 /Gm /GX /Zi /Od /I "..\..\..\include" /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /c -# SUBTRACT CPP /YX -CPP_PROJ=/nologo /MTd /W3 /Gm /GX /Zi /Od /I "..\..\..\include" /D "WIN32" /D\ - "_DEBUG" /D "_WINDOWS" /Fo"$(INTDIR)/" /Fd"$(INTDIR)/" /c -CPP_OBJS=.\Debug/ -CPP_SBRS= -# ADD BASE MTL /nologo /D "_DEBUG" /win32 -# ADD MTL /nologo /D "_DEBUG" /win32 -MTL_PROJ=/nologo /D "_DEBUG" /win32 -# ADD BASE RSC /l 0x409 /d "_DEBUG" -# ADD RSC /l 0x409 /d "_DEBUG" -RSC_PROJ=/l 0x409 /fo"$(INTDIR)/9812PrTg.res" /d "_DEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -BSC32_FLAGS=/nologo /o"$(OUTDIR)/9812PrTg.bsc" -BSC32_SBRS= -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:windows /debug /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ..\..\..\lib\pci-dask.lib /nologo /subsystem:windows /debug /machine:I386 -LINK32_FLAGS=kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib\ - advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib\ - odbccp32.lib ..\..\..\lib\pci-dask.lib /nologo /subsystem:windows\ - /incremental:yes /pdb:"$(OUTDIR)/9812PrTg.pdb" /debug /machine:I386\ - /out:"$(OUTDIR)/9812PrTg.exe" -LINK32_OBJS= \ - "$(INTDIR)/9812PrTg.obj" \ - "$(INTDIR)/9812PrTg.res" - -"$(OUTDIR)\9812PrTg.exe" : "$(OUTDIR)" $(DEF_FILE) $(LINK32_OBJS) - $(LINK32) @<< - $(LINK32_FLAGS) $(LINK32_OBJS) -<< - -!ENDIF - -.c{$(CPP_OBJS)}.obj: - $(CPP) $(CPP_PROJ) $< - -.cpp{$(CPP_OBJS)}.obj: - $(CPP) $(CPP_PROJ) $< - -.cxx{$(CPP_OBJS)}.obj: - $(CPP) $(CPP_PROJ) $< - -.c{$(CPP_SBRS)}.sbr: - $(CPP) $(CPP_PROJ) $< - -.cpp{$(CPP_SBRS)}.sbr: - $(CPP) $(CPP_PROJ) $< - -.cxx{$(CPP_SBRS)}.sbr: - $(CPP) $(CPP_PROJ) $< - -################################################################################ -# Begin Target - -# Name "9812PrTg - Win32 Release" -# Name "9812PrTg - Win32 Debug" - -!IF "$(CFG)" == "9812PrTg - Win32 Release" - -!ELSEIF "$(CFG)" == "9812PrTg - Win32 Debug" - -!ENDIF - -################################################################################ -# Begin Source File - -SOURCE=.\9812PrTg.rc - -"$(INTDIR)\9812PrTg.res" : $(SOURCE) "$(INTDIR)" - $(RSC) $(RSC_PROJ) $(SOURCE) - - -# End Source File -################################################################################ -# Begin Source File - -SOURCE=.\9812PrTg.c -DEP_CPP_9812P=\ - ".\..\..\..\include\Dask.h"\ - - -"$(INTDIR)\9812PrTg.obj" : $(SOURCE) $(DEP_CPP_9812P) "$(INTDIR)" - - -# End Source File -# End Target -# End Project -################################################################################ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9812/SDK9812DbfPreTrg/9812PrTg.mdp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9812/SDK9812DbfPreTrg/9812PrTg.mdp deleted file mode 100644 index 1715c8d..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9812/SDK9812DbfPreTrg/9812PrTg.mdp and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9812/SDK9812DbfPreTrg/9812PrTg.rc b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9812/SDK9812DbfPreTrg/9812PrTg.rc deleted file mode 100644 index 86c5881..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9812/SDK9812DbfPreTrg/9812PrTg.rc +++ /dev/null @@ -1,128 +0,0 @@ -//Microsoft Developer Studio generated resource script. -// -#include "resource.h" - -#define APSTUDIO_READONLY_SYMBOLS -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 2 resource. -// -#define APSTUDIO_HIDDEN_SYMBOLS -#include "windows.h" -#undef APSTUDIO_HIDDEN_SYMBOLS - -///////////////////////////////////////////////////////////////////////////// -#undef APSTUDIO_READONLY_SYMBOLS - -///////////////////////////////////////////////////////////////////////////// -// English (U.S.) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -#ifdef _WIN32 -LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US -#pragma code_page(1252) -#endif //_WIN32 - -///////////////////////////////////////////////////////////////////////////// -// -// Menu -// - -U7120MENU MENU DISCARDABLE -BEGIN - MENUITEM "E&xit!", IDM_EXIT -END - - -#ifdef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// TEXTINCLUDE -// - -1 TEXTINCLUDE DISCARDABLE -BEGIN - "resource.h\0" -END - -2 TEXTINCLUDE DISCARDABLE -BEGIN - "#define APSTUDIO_HIDDEN_SYMBOLS\r\n" - "#include ""windows.h""\r\n" - "#undef APSTUDIO_HIDDEN_SYMBOLS\r\n" - "\0" -END - -3 TEXTINCLUDE DISCARDABLE -BEGIN - "\r\n" - "\0" -END - -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog -// - -DMABOX DIALOG DISCARDABLE 18, 10, 171, 169 -STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "Data Value (half of circular buffer)" -FONT 8, "System" -BEGIN - PUSHBUTTON "STOP",ID_STOP,82,147,24,14 - LTEXT "Data Transferred :",-1,39,119,64,8 - LTEXT "Text",DMA_SPACE,103,118,41,8 - LTEXT "Text",DMA_DESCP,16,6,158,8 -END - -IDD_DIALOG2 DIALOG DISCARDABLE 110, 10, 110, 79 -STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "Card Type" -FONT 10, "System" -BEGIN - DEFPUSHBUTTON "OK",IDOK,9,58,39,14 - PUSHBUTTON "Cancel",IDCANCEL,59,58,38,14 - COMBOBOX IDC_COMBO1,50,32,53,45,CBS_DROPDOWN | WS_VSCROLL | - WS_TABSTOP - LTEXT "Card Type",IDC_STATIC,2,33,46,13 - LTEXT "Card Number",IDC_STATIC,2,10,43,14 - COMBOBOX IDC_COMBO2,50,9,53,93,CBS_DROPDOWN | WS_VSCROLL | - WS_TABSTOP -END - - -///////////////////////////////////////////////////////////////////////////// -// -// DESIGNINFO -// - -#ifdef APSTUDIO_INVOKED -GUIDELINES DESIGNINFO DISCARDABLE -BEGIN - IDD_DIALOG2, DIALOG - BEGIN - LEFTMARGIN, 2 - RIGHTMARGIN, 103 - BOTTOMMARGIN, 72 - END -END -#endif // APSTUDIO_INVOKED - -#endif // English (U.S.) resources -///////////////////////////////////////////////////////////////////////////// - - - -#ifndef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 3 resource. -// - - -///////////////////////////////////////////////////////////////////////////// -#endif // not APSTUDIO_INVOKED - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9812/SDK9812DbfPreTrg/Resource.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9812/SDK9812DbfPreTrg/Resource.h deleted file mode 100644 index 4daf16a..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9812/SDK9812DbfPreTrg/Resource.h +++ /dev/null @@ -1,26 +0,0 @@ -//{{NO_DEPENDENCIES}} -// Microsoft Developer Studio generated include file. -// Used by 9812PrTg.rc -// -#define IDM_SETUP 101 -#define IDD_DIALOG1 101 -#define IDD_DIALOG2 104 -#define IDM_EXIT 110 -#define ID_CARDNUMBER 122 -#define ID_STOP 304 -#define DMA_SPACE 500 -#define DMA_DESCP 600 -#define IDC_COMBO1 1001 -#define IDC_COMBO2 1002 -#define IDC_STATIC -1 - -// Next default values for new objects -// -#ifdef APSTUDIO_INVOKED -#ifndef APSTUDIO_READONLY_SYMBOLS -#define _APS_NEXT_RESOURCE_VALUE 105 -#define _APS_NEXT_COMMAND_VALUE 123 -#define _APS_NEXT_CONTROL_VALUE 1003 -#define _APS_NEXT_SYMED_VALUE 101 -#endif -#endif diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9812/SDK9812DelayTrg/9812SDTg.exe b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9812/SDK9812DelayTrg/9812SDTg.exe deleted file mode 100644 index a13a4fc..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9812/SDK9812DelayTrg/9812SDTg.exe and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9812/SDK9812DelayTrg/9812SDTg.mak b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9812/SDK9812DelayTrg/9812SDTg.mak deleted file mode 100644 index 5ace406..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9812/SDK9812DelayTrg/9812SDTg.mak +++ /dev/null @@ -1,219 +0,0 @@ -# Microsoft Developer Studio Generated NMAKE File, Format Version 4.00 -# ** DO NOT EDIT ** - -# TARGTYPE "Win32 (x86) Application" 0x0101 - -!IF "$(CFG)" == "" -CFG=9812SDTg - Win32 Debug -!MESSAGE No configuration specified. Defaulting to 9812SDTg - Win32 Debug. -!ENDIF - -!IF "$(CFG)" != "9812SDTg - Win32 Release" && "$(CFG)" !=\ - "9812SDTg - Win32 Debug" -!MESSAGE Invalid configuration "$(CFG)" specified. -!MESSAGE You can specify a configuration when running NMAKE on this makefile -!MESSAGE by defining the macro CFG on the command line. For example: -!MESSAGE -!MESSAGE NMAKE /f "9812SDTg.mak" CFG="9812SDTg - Win32 Debug" -!MESSAGE -!MESSAGE Possible choices for configuration are: -!MESSAGE -!MESSAGE "9812SDTg - Win32 Release" (based on "Win32 (x86) Application") -!MESSAGE "9812SDTg - Win32 Debug" (based on "Win32 (x86) Application") -!MESSAGE -!ERROR An invalid configuration is specified. -!ENDIF - -!IF "$(OS)" == "Windows_NT" -NULL= -!ELSE -NULL=nul -!ENDIF -################################################################################ -# Begin Project -# PROP Target_Last_Scanned "9812SDTg - Win32 Debug" -CPP=cl.exe -RSC=rc.exe -MTL=mktyplib.exe - -!IF "$(CFG)" == "9812SDTg - Win32 Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "Release" -# PROP BASE Intermediate_Dir "Release" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "" -# PROP Intermediate_Dir "Release" -# PROP Target_Dir "" -OUTDIR=. -INTDIR=.\Release - -ALL : "$(OUTDIR)\9812SDTg.exe" - -CLEAN : - -@erase ".\9812SDTg.exe" - -@erase ".\Release\9812SDtg.obj" - -@erase ".\Release\9812SDTg.res" - -"$(INTDIR)" : - if not exist "$(INTDIR)/$(NULL)" mkdir "$(INTDIR)" - -# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /YX /c -# ADD CPP /nologo /MT /W3 /GX /Od /I "..\..\..\include" /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /c -# SUBTRACT CPP /YX -CPP_PROJ=/nologo /MT /W3 /GX /Od /I "..\..\..\include" /D "WIN32" /D "NDEBUG"\ - /D "_WINDOWS" /Fo"$(INTDIR)/" /c -CPP_OBJS=.\Release/ -CPP_SBRS= -# ADD BASE MTL /nologo /D "NDEBUG" /win32 -# ADD MTL /nologo /D "NDEBUG" /win32 -MTL_PROJ=/nologo /D "NDEBUG" /win32 -# ADD BASE RSC /l 0x409 /d "NDEBUG" -# ADD RSC /l 0x409 /d "NDEBUG" -RSC_PROJ=/l 0x409 /fo"$(INTDIR)/9812SDTg.res" /d "NDEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -BSC32_FLAGS=/nologo /o"$(OUTDIR)/9812SDTg.bsc" -BSC32_SBRS= -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:windows /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ..\..\..\lib\pci-dask.lib /nologo /subsystem:windows /machine:I386 -LINK32_FLAGS=kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib\ - advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib\ - odbccp32.lib ..\..\..\lib\pci-dask.lib /nologo /subsystem:windows\ - /incremental:no /pdb:"$(OUTDIR)/9812SDTg.pdb" /machine:I386\ - /out:"$(OUTDIR)/9812SDTg.exe" -LINK32_OBJS= \ - ".\Release\9812SDtg.obj" \ - ".\Release\9812SDTg.res" - -"$(OUTDIR)\9812SDTg.exe" : "$(OUTDIR)" $(DEF_FILE) $(LINK32_OBJS) - $(LINK32) @<< - $(LINK32_FLAGS) $(LINK32_OBJS) -<< - -!ELSEIF "$(CFG)" == "9812SDTg - Win32 Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "Debug" -# PROP BASE Intermediate_Dir "Debug" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "Debug" -# PROP Intermediate_Dir "Debug" -# PROP Target_Dir "" -OUTDIR=.\Debug -INTDIR=.\Debug - -ALL : "$(OUTDIR)\9812SDTg.exe" - -CLEAN : - -@erase ".\Debug\vc40.pdb" - -@erase ".\Debug\vc40.idb" - -@erase ".\Debug\9812SDTg.exe" - -@erase ".\Debug\9812SDtg.obj" - -@erase ".\Debug\9812SDTg.res" - -@erase ".\Debug\9812SDTg.ilk" - -@erase ".\Debug\9812SDTg.pdb" - -"$(OUTDIR)" : - if not exist "$(OUTDIR)/$(NULL)" mkdir "$(OUTDIR)" - -# ADD BASE CPP /nologo /W3 /Gm /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /YX /c -# ADD CPP /nologo /MTd /W3 /Gm /GX /Zi /Od /I "..\..\..\include" /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /c -# SUBTRACT CPP /YX -CPP_PROJ=/nologo /MTd /W3 /Gm /GX /Zi /Od /I "..\..\..\include" /D "WIN32" /D\ - "_DEBUG" /D "_WINDOWS" /Fo"$(INTDIR)/" /Fd"$(INTDIR)/" /c -CPP_OBJS=.\Debug/ -CPP_SBRS= -# ADD BASE MTL /nologo /D "_DEBUG" /win32 -# ADD MTL /nologo /D "_DEBUG" /win32 -MTL_PROJ=/nologo /D "_DEBUG" /win32 -# ADD BASE RSC /l 0x409 /d "_DEBUG" -# ADD RSC /l 0x409 /d "_DEBUG" -RSC_PROJ=/l 0x409 /fo"$(INTDIR)/9812SDTg.res" /d "_DEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -BSC32_FLAGS=/nologo /o"$(OUTDIR)/9812SDTg.bsc" -BSC32_SBRS= -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:windows /debug /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ..\..\..\lib\pci-dask.lib /nologo /subsystem:windows /debug /machine:I386 -LINK32_FLAGS=kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib\ - advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib\ - odbccp32.lib ..\..\..\lib\pci-dask.lib /nologo /subsystem:windows\ - /incremental:yes /pdb:"$(OUTDIR)/9812SDTg.pdb" /debug /machine:I386\ - /out:"$(OUTDIR)/9812SDTg.exe" -LINK32_OBJS= \ - ".\Debug\9812SDtg.obj" \ - ".\Debug\9812SDTg.res" - -"$(OUTDIR)\9812SDTg.exe" : "$(OUTDIR)" $(DEF_FILE) $(LINK32_OBJS) - $(LINK32) @<< - $(LINK32_FLAGS) $(LINK32_OBJS) -<< - -!ENDIF - -.c{$(CPP_OBJS)}.obj: - $(CPP) $(CPP_PROJ) $< - -.cpp{$(CPP_OBJS)}.obj: - $(CPP) $(CPP_PROJ) $< - -.cxx{$(CPP_OBJS)}.obj: - $(CPP) $(CPP_PROJ) $< - -.c{$(CPP_SBRS)}.sbr: - $(CPP) $(CPP_PROJ) $< - -.cpp{$(CPP_SBRS)}.sbr: - $(CPP) $(CPP_PROJ) $< - -.cxx{$(CPP_SBRS)}.sbr: - $(CPP) $(CPP_PROJ) $< - -################################################################################ -# Begin Target - -# Name "9812SDTg - Win32 Release" -# Name "9812SDTg - Win32 Debug" - -!IF "$(CFG)" == "9812SDTg - Win32 Release" - -!ELSEIF "$(CFG)" == "9812SDTg - Win32 Debug" - -!ENDIF - -################################################################################ -# Begin Source File - -SOURCE=.\9812SDTg.rc - -"$(INTDIR)\9812SDTg.res" : $(SOURCE) "$(INTDIR)" - $(RSC) $(RSC_PROJ) $(SOURCE) - - -# End Source File -################################################################################ -# Begin Source File - -SOURCE=.\9812SDtg.c -DEP_CPP_9812S=\ - ".\..\..\..\include\Dask.h"\ - - -"$(INTDIR)\9812SDtg.obj" : $(SOURCE) $(DEP_CPP_9812S) "$(INTDIR)" - - -# End Source File -# End Target -# End Project -################################################################################ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9812/SDK9812DelayTrg/9812SDTg.mdp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9812/SDK9812DelayTrg/9812SDTg.mdp deleted file mode 100644 index c3371a7..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9812/SDK9812DelayTrg/9812SDTg.mdp and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9812/SDK9812DelayTrg/9812SDTg.rc b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9812/SDK9812DelayTrg/9812SDTg.rc deleted file mode 100644 index 9be9860..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9812/SDK9812DelayTrg/9812SDTg.rc +++ /dev/null @@ -1,128 +0,0 @@ -//Microsoft Developer Studio generated resource script. -// -#include "resource.h" - -#define APSTUDIO_READONLY_SYMBOLS -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 2 resource. -// -#define APSTUDIO_HIDDEN_SYMBOLS -#include "windows.h" -#undef APSTUDIO_HIDDEN_SYMBOLS - -///////////////////////////////////////////////////////////////////////////// -#undef APSTUDIO_READONLY_SYMBOLS - -///////////////////////////////////////////////////////////////////////////// -// English (U.S.) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -#ifdef _WIN32 -LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US -#pragma code_page(1252) -#endif //_WIN32 - -///////////////////////////////////////////////////////////////////////////// -// -// Menu -// - -U7120MENU MENU DISCARDABLE -BEGIN - MENUITEM "E&xit!", IDM_EXIT -END - - -#ifdef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// TEXTINCLUDE -// - -1 TEXTINCLUDE DISCARDABLE -BEGIN - "resource.h\0" -END - -2 TEXTINCLUDE DISCARDABLE -BEGIN - "#define APSTUDIO_HIDDEN_SYMBOLS\r\n" - "#include ""windows.h""\r\n" - "#undef APSTUDIO_HIDDEN_SYMBOLS\r\n" - "\0" -END - -3 TEXTINCLUDE DISCARDABLE -BEGIN - "\r\n" - "\0" -END - -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog -// - -DMABOX DIALOG DISCARDABLE 18, 10, 171, 169 -STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "Data Value (half of circular buffer)" -FONT 8, "System" -BEGIN - PUSHBUTTON "STOP",ID_STOP,82,147,24,14 - LTEXT "Data Transferred :",-1,39,119,64,8 - LTEXT "Text",DMA_SPACE,103,118,41,8 - LTEXT "Text",DMA_DESCP,16,6,158,8 -END - -IDD_DIALOG2 DIALOG DISCARDABLE 110, 10, 110, 79 -STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "Card Type" -FONT 10, "System" -BEGIN - DEFPUSHBUTTON "OK",IDOK,9,58,39,14 - PUSHBUTTON "Cancel",IDCANCEL,56,58,38,14 - COMBOBOX IDC_COMBO1,51,33,52,45,CBS_DROPDOWN | WS_VSCROLL | - WS_TABSTOP - LTEXT "Card Type",IDC_STATIC,3,33,46,13 - LTEXT "Card Number",IDC_STATIC,3,9,43,12 - COMBOBOX IDC_COMBO2,51,8,52,97,CBS_DROPDOWN | WS_VSCROLL | - WS_TABSTOP -END - - -///////////////////////////////////////////////////////////////////////////// -// -// DESIGNINFO -// - -#ifdef APSTUDIO_INVOKED -GUIDELINES DESIGNINFO DISCARDABLE -BEGIN - IDD_DIALOG2, DIALOG - BEGIN - LEFTMARGIN, 3 - RIGHTMARGIN, 103 - BOTTOMMARGIN, 72 - END -END -#endif // APSTUDIO_INVOKED - -#endif // English (U.S.) resources -///////////////////////////////////////////////////////////////////////////// - - - -#ifndef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 3 resource. -// - - -///////////////////////////////////////////////////////////////////////////// -#endif // not APSTUDIO_INVOKED - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9812/SDK9812DelayTrg/9812SDtg.c b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9812/SDK9812DelayTrg/9812SDtg.c deleted file mode 100644 index ebb8ba7..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9812/SDK9812DelayTrg/9812SDtg.c +++ /dev/null @@ -1,502 +0,0 @@ -#include "windows.h" -#include -#include -#include -#include -#include -#include "resource.h" -#include "Dask.h" - -#define IDM_EXIT 110 -#define IDC_SCROLL 207 -#define IDC_SPIN 301 -#define IDC_START 208 -#define IDC_EDIT 211 -#define IDC_EDIT1 214 -#define IDC_SHOW 213 -#define IDC_EDIT2 215 -#define IDC_CH 400 - -int PASCAL WinMain(HANDLE, HANDLE, LPSTR, int); -long PASCAL MainWndProc(HWND, UINT, WPARAM, LPARAM); -BOOL PASCAL ShowDMA(HWND, UINT, WPARAM, LPARAM); - -HANDLE hInst; -HWND hListBox; -HWND hEdit,hEdit1, hEdit2, hStart; -BOOL bCheck[8]; - -HBRUSH hBlackBrush; -HPEN hRedPen, hBlackPen, hBluePen, hYellowPen, hGreenPen, hLTGreenPen; -HWND hMainWnd; - -//unsigned int sample_rate=10000; -long sample_rate=1000000; //1M hz -U16 channel=0, range = AD_B_1_V, ch_cnt; -BOOLEAN fstop =0; -U32 data_size=1024, mem_size; -static HANDLE hMem=NULL; -I16 *ai_buf; -I16 card=-1, card_number = 0; -U32 count, postCount = 1024; -U16 card_type = 0; - -POINT input_pos[16]= {{470, 280}, {440, 280}, - {410, 280}, {380, 280}, - {350, 280}, {320, 280}, - { 290, 280}, {260, 280}, - {230, 280}, {200, 280}, - {170, 280}, {140, 280}, - {110, 280}, {80, 280}, - { 50, 280}, { 20, 280}, - }; -POINT output_pos[16] ={ - {470, 340}, {440, 340}, - {410, 340}, {380, 340}, - {350, 340}, {320, 340}, - { 290, 340}, {260, 340}, - {230, 340}, {200, 340}, - {170, 340}, {140, 340}, - {110, 340}, {80, 340}, - { 50, 340}, { 20, 340}, - }; - -POINT io_pos[16] ={ - {395, 40}, {370, 40}, - {345, 40}, {320, 40}, - {295, 40}, {270, 40}, - { 245, 40}, {220, 40}, - {195, 40}, {170, 40}, - {145, 40}, {120, 40}, - {95, 40}, {70, 40}, - { 45, 40}, { 20, 40}, - }; - -BOOL InitApplication(HANDLE); -BOOL InitInstance(HANDLE, int); -void ProcessThread(); - -int PASCAL WinMain(hInstance, hPrevInstance, lpCmdLine, nCmdShow) -HANDLE hInstance, hPrevInstance; -LPSTR lpCmdLine; -int nCmdShow; -{ - MSG msg; - - if (!hPrevInstance) - if (!InitApplication(hInstance)) return(FALSE); - if (!InitInstance(hInstance, nCmdShow)) return(FALSE); - while (GetMessage(&msg, NULL, NULL, NULL)) { - TranslateMessage(&msg); - DispatchMessage(&msg); - } - return(msg.wParam); -} - -BOOL InitApplication(hInstance) -HANDLE hInstance; -{ - WNDCLASS wc; - - /* Main Window Class */ - wc.style = NULL; - wc.lpfnWndProc = (WNDPROC)MainWndProc; - wc.cbClsExtra = 0; - wc.cbWndExtra = 0; - wc.hInstance = hInstance; - wc.hIcon = LoadIcon(hInstance, "MyIcon"); - wc.hCursor = LoadCursor(NULL, IDC_ARROW); - wc.hbrBackground = GetStockObject(LTGRAY_BRUSH); - wc.lpszMenuName = NULL; - wc.lpszClassName = "GenericWClass"; - if (!RegisterClass(&wc)) return(FALSE); -} - - -BOOL InitInstance(hInstance, nCmdShow) -HANDLE hInstance; -int nCmdShow; -{ - HWND hWnd; - HMENU hSampleMenu; - - hInst = hInstance; - hSampleMenu = LoadMenu(hInstance, "U7120Menu"); - hWnd = CreateWindow("GenericWClass", - (LPCSTR)"PCI-9812 Single Buffered DMA with Delay Trigger Mode", - WS_OVERLAPPEDWINDOW, - CW_USEDEFAULT, - CW_USEDEFAULT, - 520, - 400, - NULL, - hSampleMenu, - hInstance, - NULL); - if (!hWnd) return(FALSE); - ShowWindow(hWnd, nCmdShow); - UpdateWindow(hWnd); - return(TRUE); -} - -BOOL PASCAL setup(HWND hWnd, unsigned message, WPARAM wParam, LPARAM lParam) -{ - int i; - char n[16]; - char s[50]; - switch (message) { - case WM_INITDIALOG: - wsprintf(n, "PCI9812"); - SendMessage(GetDlgItem(hWnd,IDC_COMBO1), CB_ADDSTRING, NULL, (LONG)(LPSTR) n); - sprintf(n, "PCI9810"); - SendMessage(GetDlgItem(hWnd,IDC_COMBO1), CB_ADDSTRING, NULL, (LONG)(LPSTR) n); - SendMessage(GetDlgItem(hWnd,IDC_COMBO1) , CB_SETCURSEL, 0, 0L); - for (i=0;i<16;i++) { - wsprintf(n, "%d", i); - _strupr(n); - SendMessage(GetDlgItem(hWnd,IDC_COMBO2), CB_ADDSTRING, NULL, (LONG)(LPSTR) n); - } - SendMessage(GetDlgItem(hWnd,IDC_COMBO2) , CB_SETCURSEL, 0, 0L); - break; - case WM_COMMAND: - switch(LOWORD(wParam)) { - - case IDC_COMBO1: - if (HIWORD(wParam) == CBN_CLOSEUP) { - i = (int)SendMessage(GetDlgItem(hWnd,IDC_COMBO1), CB_GETCURSEL, 0, 0L); - SendMessage(GetDlgItem(hWnd,IDC_COMBO1), CB_GETLBTEXT, i, (LPARAM)((LPCSTR)n)); - card_type = i; - } - return(TRUE); - case IDC_COMBO2: - if (HIWORD(wParam) == CBN_CLOSEUP) { - i = (int)SendMessage(GetDlgItem(hWnd,IDC_COMBO2), CB_GETCURSEL, 0, 0L); - SendMessage(GetDlgItem(hWnd,IDC_COMBO2), CB_GETLBTEXT, i, (LPARAM)((LPCSTR)n)); - card_number = i; - } - return(TRUE); - case IDOK: - if ((card=Register_Card(PCI_9812, card_number)) < 0) { - wsprintf(s, "Register_Card Error = %d\n", card); - MessageBox(hWnd, s, "Error", MB_OK); - SendMessage(hWnd, WM_CLOSE, 0, 0L); - break; - } - EndDialog(hWnd, TRUE); - InvalidateRect(hWnd, NULL, FALSE); - return (TRUE); - case IDCANCEL: - EndDialog(hWnd, TRUE); - return (TRUE); - } - break; - } - return (FALSE); -} - -long PASCAL MainWndProc(hWnd, message, wParam, lParam) -HWND hWnd; -UINT message; -WPARAM wParam; -LPARAM lParam; -{ - HDC hDC; - PAINTSTRUCT ps; - int i; - char n[6]; - static int pos=0; - I16 err; - char s[50]; - FARPROC lpProc; - - switch(message) { - case WM_CREATE: - - DialogBox(hInst,IDD_DIALOG2, hWnd, setup); - if(card<0) { - SendMessage(hWnd, WM_CLOSE, 0, 0L); - break; - } - hEdit=CreateWindow("EDIT", NULL, - WS_CHILD | WS_VISIBLE | ES_LEFT, - output_pos[13].x-60, input_pos[15].y+20,70, 20, hWnd, IDC_EDIT, hInst, NULL); - - hEdit1=CreateWindow("EDIT", NULL, - WS_CHILD | WS_VISIBLE | ES_LEFT, - output_pos[13].x+90, input_pos[15].y+20,60, 20, hWnd, IDC_EDIT1, hInst, NULL); - - hEdit2=CreateWindow("EDIT", NULL, - WS_CHILD | WS_VISIBLE | ES_LEFT, - output_pos[13].x+90, input_pos[15].y-20,60, 20, hWnd, IDC_EDIT2, hInst, NULL); - - wsprintf(n,"%d",sample_rate/1000); - SetWindowText(hEdit,n); - - wsprintf(n,"%d",data_size); - SetWindowText(hEdit1,n); - - wsprintf(n,"%d",postCount); - SetWindowText(hEdit2,n); - - CreateWindow("SCROLLBAR", NULL, - WS_CHILD | WS_VISIBLE | SBS_VERT, - output_pos[13].x+10, input_pos[15].y+20,20, 20, hWnd, IDC_SCROLL, hInst, NULL); - - hStart = CreateWindow("BUTTON","Start" , - WS_CHILD | WS_VISIBLE , - output_pos[10].x+130, input_pos[10].y+10,50, 30, hWnd, IDC_START, hInst, NULL); - - CreateWindow("BUTTON","Data Value" , - WS_CHILD | WS_VISIBLE , - output_pos[10].x+210, input_pos[10].y+10,80, 30, hWnd, IDC_SHOW, hInst, NULL); - - CreateWindow("BUTTON","1" , - WS_CHILD | WS_VISIBLE | BS_AUTORADIOBUTTON | BS_LEFTTEXT | WS_GROUP , - output_pos[4].x+80, io_pos[0].y-5+20,25,15, hWnd,IDC_CH, hInst, NULL); - - CreateWindow("BUTTON","2" , - WS_CHILD | WS_VISIBLE | BS_AUTORADIOBUTTON | BS_LEFTTEXT | WS_GROUP, - output_pos[4].x+80, io_pos[0].y+13+20,25,15, hWnd,IDC_CH+1, hInst, NULL); - - CreateWindow("BUTTON","4" , - WS_CHILD | WS_VISIBLE | BS_AUTORADIOBUTTON | BS_LEFTTEXT | WS_GROUP, - output_pos[4].x+80, io_pos[0].y+31+20,25,15, hWnd,IDC_CH+2, hInst, NULL); - - //default channel 0 - for (i=1;i<4;i++) bCheck[i]=FALSE; - bCheck[0] = TRUE; - channel = 0; - SendMessage(GetDlgItem(hWnd,IDC_CH), BM_SETCHECK, 1, 0); - - hBlackBrush= CreateSolidBrush(RGB(0,0,0)); - hRedPen= CreatePen(PS_SOLID,1,RGB(255,0,0)); - hBluePen= CreatePen(PS_SOLID,1,RGB(0,0,255)); - hGreenPen= CreatePen(PS_SOLID,1,RGB(0,255,0)); - hLTGreenPen= CreatePen(PS_SOLID,1,RGB(0,128,0)); - hYellowPen= CreatePen(PS_SOLID,1,RGB(255,255,0)); - hBlackPen= CreatePen(PS_SOLID,1,RGB(0,0,0)); - break; - - case WM_PAINT: - hDC = BeginPaint(hWnd, &ps); - - // DMA analog input box - SelectObject(hDC, GetStockObject(GRAY_BRUSH)); - Rectangle(hDC, output_pos[15].x-10, io_pos[15].y-24, output_pos[0].x+26, io_pos[0].y+195); - SetTextColor(hDC,RGB(255,0,0)); - TextOut(hDC, io_pos[15].x+105, io_pos[15].y-40, " Trigger Source : External Digital Trigger ", 43); - SetTextColor(hDC,RGB(255,255,0)); - SetBkColor(hDC, RGB(0, 0, 255)); - TextOut(hDC, io_pos[15].x, io_pos[15].y-35, "DMA Input", 9); - SelectObject(hDC, hBlackBrush); - Rectangle(hDC, output_pos[15].x+35, io_pos[15].y-2, output_pos[4].x+41, io_pos[0].y+172); - - SetBkMode(hDC,TRANSPARENT); - TextOut(hDC,output_pos[13].x+70, input_pos[10].y-40,"PostCount",9); - TextOut(hDC,output_pos[13].x-60, input_pos[10].y,"Samping Rate",12); - TextOut(hDC,output_pos[13].x+30, input_pos[15].y+20,"KHZ",3); - TextOut(hDC,output_pos[13].x+70, input_pos[10].y,"Buffer Size",11); - TextOut(hDC,input_pos[2].x-10, io_pos[15].y+118,"Range: +-1V",11); - TextOut(hDC,input_pos[15].x, io_pos[15].y-19,"Volt",4); - TextOut(hDC,input_pos[15].x, io_pos[15].y-5,"1.00",4); - TextOut(hDC,input_pos[15].x, io_pos[15].y+36,"0.50",4); - TextOut(hDC,input_pos[15].x, io_pos[15].y+77,"0.00",4); - TextOut(hDC,input_pos[15].x-3, io_pos[15].y+118,"-0.50",5); - TextOut(hDC,input_pos[15].x-3, io_pos[15].y+159,"-1.00",5); - TextOut(hDC,input_pos[10].x+10, io_pos[10].y-19,"Signals",7); - TextOut(hDC,output_pos[4].x+60, io_pos[0].y-15,"No. of CHs",10); - EndPaint(hWnd, &ps); - break; - - // Sample Rate Spin Control - case WM_VSCROLL: - switch (LOWORD(wParam)) { - case SB_LINEUP : - sample_rate+=100000; // 100K Hz - if (sample_rate > 20*1000000) sample_rate=20*1000000; - break; - case SB_LINEDOWN: - sample_rate-=100000; // 100K Hz - if (sample_rate < 5000 ) sample_rate=5000; - break; - } - wsprintf(n,"%d",sample_rate/1000); - SetWindowText(hEdit,n); - break; - case WM_COMMAND: - switch(LOWORD(wParam)) { - case IDM_EXIT: - SendMessage(hWnd, WM_CLOSE, 0, 0L); - break; - case IDC_CH: - case IDC_CH+1: - case IDC_CH+2: - if (!bCheck[wParam-IDC_CH]) { - SendMessage(GetDlgItem(hWnd,wParam), BM_SETCHECK, 1, 0); - SendMessage(GetDlgItem(hWnd,IDC_CH+channel), BM_SETCHECK, 0, 0); - bCheck[channel]=FALSE; - } - channel=wParam-IDC_CH; - bCheck[channel]=TRUE; - break; - case IDC_SHOW : - DialogBox(hInst, "DMABox", hWnd, ShowDMA); - break; - case IDC_START: - if (hMem != NULL) { - GlobalUnfix(hMem); - GlobalUnlock(hMem); - GlobalFree(hMem); - } - // allocate a memory for DMA - data_size=GetDlgItemInt(hWnd,IDC_EDIT1,NULL ,FALSE); - mem_size=data_size * 2; - hMem = GlobalAlloc(GMEM_FIXED | GMEM_ZEROINIT,mem_size); - ai_buf = (I16 *)GlobalLock(hMem); - if (ai_buf == NULL ) { - MessageBox(hWnd,"DMA", "No Memory", MB_OK); - SendMessage(hWnd, WM_CLOSE, 0, 0L); - break; - } - GlobalFix(hMem); - postCount = GetDlgItemInt(hWnd,IDC_EDIT2,NULL ,FALSE); - sample_rate = GetDlgItemInt(hWnd,IDC_EDIT,NULL ,FALSE)*1000; - if (sample_rate > 20*1000000 ) sample_rate=20*1000000; - else if (sample_rate < 5000 ) sample_rate=5000; - - ch_cnt = (U16) pow((double)2.0, (double) channel); - if ((err = AI_9812_Config(card,P9812_TRGMOD_DELAY, P9812_TRGSRC_EXT_DIG, P9812_TRGSLP_POS, P9812_AD2_GT_PCI|P9812_CLKSRC_INT,0x80,postCount))<0) { - wsprintf(s, "AI Config Error = %d\n", err); - MessageBox(hWnd, s, "Error", MB_OK); - SendMessage(hWnd, WM_CLOSE, 0, 0L); - break; - } - if ((err = AI_ContScanChannels (card, ch_cnt-1, range, ai_buf, data_size, (F64)sample_rate, ASYNCH_OP)) != NoError) { - wsprintf(s, "AI_ContScanChannels Error = %d\n", err); - MessageBox(hWnd, s, "Error", MB_OK); - SendMessage(hWnd, WM_CLOSE, 0, 0L); - break; - } - EnableWindow(hStart, FALSE); - hMainWnd = hWnd; - fstop = 0; - while (!fstop) - AI_AsyncCheck(card, &fstop, &count); - ProcessThread(); - MessageBeep(0); - break; - default: - return(DefWindowProc(hWnd, message, wParam, lParam)); - } - break; - case WM_DESTROY: - if (card >= 0) Release_Card(card); - DeleteObject(hBlackBrush); - DeleteObject(hRedPen); - DeleteObject(hBluePen); - DeleteObject(hLTGreenPen); - DeleteObject(hYellowPen); - GlobalUnfix(hMem); - GlobalUnlock(hMem); - GlobalFree(hMem); - PostQuitMessage(0); - break; - default: - return(DefWindowProc(hWnd, message, wParam, lParam)); - } - return(NULL); -} - -BOOL PASCAL ShowDMA(hDlg, message, wParam, lParam) -HWND hDlg; -UINT message; -WPARAM wParam; -LPARAM lParam; -{ - int nTabs[2] = {32, 92}; - int i; - char cBuf[100]; - char string[10]=" "; - char data_str[3]=" "; - I16 *pp; - U16 ch_no; - - switch (message) { - case WM_INITDIALOG: - hListBox = CreateWindow("LISTBOX", "Index Data CH#", - WS_CHILD | WS_VISIBLE | LBS_HASSTRINGS | LBS_STANDARD | LBS_USETABSTOPS |WS_CAPTION, - 50, 40, 240, 180, hDlg, 100, hInst, NULL); - SendMessage(hListBox, LB_RESETCONTENT, 0, 0L); - SendMessage(hListBox, LB_SETTABSTOPS, 2, (DWORD)(LPINT) nTabs); - SetDlgItemText(hDlg, DMA_DESCP, "This ListBox can show at most 4000 data"); - itoa( data_size, string, 10); - SetDlgItemText(hDlg, DMA_SPACE, string); - pp = (I16 *)ai_buf; - if (count >4000) count = 4000; - for(i=0;i>6, ch_no); - else - wsprintf(cBuf, "%5d\t %5d %2d", i, pp[i]>>4, ch_no); - SendMessage(hListBox, LB_INSERTSTRING, -1, (DWORD)(LPSTR)cBuf); - } - ShowWindow(hListBox, SW_SHOW); - return (TRUE); - case WM_COMMAND: - if (LOWORD(wParam) == ID_STOP) { - DestroyWindow(hListBox); - EndDialog(hDlg, TRUE); - return (TRUE); - } - break; - } - return (FALSE); -} - -void ProcessThread() -{ - HDC hDC; - I16 adinput, cur_channel; - U32 i, oldx[4], oldy[4], newx, newy; - - for (i=0; i<4; i++) { - oldx[i] = 0; - oldy[i] = 0; - } - hDC = GetDC(hMainWnd); - EnableWindow(hStart, TRUE); - AI_AsyncClear(card, &count); - SelectObject(hDC, hBlackBrush); - SelectObject(hDC, hBlackPen); - Rectangle(hDC, output_pos[15].x+35, io_pos[15].y-2, output_pos[4].x+41, io_pos[0].y+172); - for (i=0; i>4; - newy = io_pos[0].y+86-(87*(long)adinput)/2048; - newx = i*336/count+output_pos[15].x+35; - if (! oldx[cur_channel]) - MoveToEx(hDC, newx, newy, NULL); - else - MoveToEx(hDC, oldx[cur_channel], oldy[cur_channel], NULL); - LineTo(hDC, newx, newy); - oldx[cur_channel] = newx; - oldy[cur_channel] = newy; - } - ReleaseDC(hMainWnd, hDC); -} - \ No newline at end of file diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9812/SDK9812DelayTrg/Resource.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9812/SDK9812DelayTrg/Resource.h deleted file mode 100644 index 0059f7c..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9812/SDK9812DelayTrg/Resource.h +++ /dev/null @@ -1,26 +0,0 @@ -//{{NO_DEPENDENCIES}} -// Microsoft Developer Studio generated include file. -// Used by 9812SDTg.rc -// -#define IDM_SETUP 101 -#define IDD_DIALOG1 101 -#define IDD_DIALOG2 104 -#define IDM_EXIT 110 -#define ID_CARDNUMBER 122 -#define ID_STOP 304 -#define DMA_SPACE 500 -#define DMA_DESCP 600 -#define IDC_COMBO1 1001 -#define IDC_COMBO2 1002 -#define IDC_STATIC -1 - -// Next default values for new objects -// -#ifdef APSTUDIO_INVOKED -#ifndef APSTUDIO_READONLY_SYMBOLS -#define _APS_NEXT_RESOURCE_VALUE 105 -#define _APS_NEXT_COMMAND_VALUE 123 -#define _APS_NEXT_CONTROL_VALUE 1003 -#define _APS_NEXT_SYMED_VALUE 101 -#endif -#endif diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9812/SDK9812DmaCallBack/9812SMTg.c b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9812/SDK9812DmaCallBack/9812SMTg.c deleted file mode 100644 index e015f72..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9812/SDK9812DmaCallBack/9812SMTg.c +++ /dev/null @@ -1,517 +0,0 @@ -#include "windows.h" -#include -#include -#include -#include -#include -#include "resource.h" -#include "Dask.h" - -#define IDM_EXIT 110 -#define IDC_SCROLL 207 -#define IDC_SPIN 301 -#define IDC_START 208 -#define IDC_EDIT 211 -#define IDC_EDIT1 214 -#define IDC_EDIT2 215 -#define IDC_SHOW 213 -#define IDC_CH 400 - -int PASCAL WinMain(HANDLE, HANDLE, LPSTR, int); -long PASCAL MainWndProc(HWND, UINT, WPARAM, LPARAM); -BOOL PASCAL ShowDMA(HWND, UINT, WPARAM, LPARAM); - -HANDLE hInst; -HWND hListBox; -HWND hEdit,hEdit1, hEdit2, hStart; -BOOL bCheck[3]; - -HBRUSH hBlackBrush; -HPEN hRedPen, hBlackPen, hBluePen, hYellowPen, hGreenPen, hLTGreenPen; -HWND hMainWnd; - -//unsigned int sample_rate=10000; -long sample_rate=1000000; // 1M Hz -U16 channel=0, range = AD_B_1_V, ch_cnt; -U32 data_size=1024, mem_size; -static HANDLE hMem=NULL; -BOOLEAN fstop =0; -I16 *ai_buf; -I16 card=-1, card_number = 0; -U32 count, postCount= 1024; -U16 card_type = 0; -U16 midcheck =0; - -POINT input_pos[16]= {{470, 280}, {440, 280}, - {410, 280}, {380, 280}, - {350, 280}, {320, 280}, - { 290, 280}, {260, 280}, - {230, 280}, {200, 280}, - {170, 280}, {140, 280}, - {110, 280}, {80, 280}, - { 50, 280}, { 20, 280}, - }; -POINT output_pos[16] ={ - {470, 340}, {440, 340}, - {410, 340}, {380, 340}, - {350, 340}, {320, 340}, - { 290, 340}, {260, 340}, - {230, 340}, {200, 340}, - {170, 340}, {140, 340}, - {110, 340}, {80, 340}, - { 50, 340}, { 20, 340}, - }; - -POINT io_pos[16] ={ - {395, 40}, {370, 40}, - {345, 40}, {320, 40}, - {295, 40}, {270, 40}, - { 245, 40}, {220, 40}, - {195, 40}, {170, 40}, - {145, 40}, {120, 40}, - {95, 40}, {70, 40}, - { 45, 40}, { 20, 40}, - }; - -BOOL InitApplication(HANDLE); -BOOL InitInstance(HANDLE, int); -//void ProcessThread(); -void AI_CallBack(); - -int PASCAL WinMain(hInstance, hPrevInstance, lpCmdLine, nCmdShow) -HANDLE hInstance, hPrevInstance; -LPSTR lpCmdLine; -int nCmdShow; -{ - MSG msg; - - if (!hPrevInstance) - if (!InitApplication(hInstance)) return(FALSE); - if (!InitInstance(hInstance, nCmdShow)) return(FALSE); - while (GetMessage(&msg, NULL, NULL, NULL)) { - TranslateMessage(&msg); - DispatchMessage(&msg); - } - return(msg.wParam); -} - -BOOL InitApplication(hInstance) -HANDLE hInstance; -{ - WNDCLASS wc; - - /* Main Window Class */ - wc.style = NULL; - wc.lpfnWndProc = (WNDPROC)MainWndProc; - wc.cbClsExtra = 0; - wc.cbWndExtra = 0; - wc.hInstance = hInstance; - wc.hIcon = LoadIcon(hInstance, "MyIcon"); - wc.hCursor = LoadCursor(NULL, IDC_ARROW); - wc.hbrBackground = GetStockObject(LTGRAY_BRUSH); - wc.lpszMenuName = NULL; - wc.lpszClassName = "GenericWClass"; - if (!RegisterClass(&wc)) return(FALSE); -} - - -BOOL InitInstance(hInstance, nCmdShow) -HANDLE hInstance; -int nCmdShow; -{ - HWND hWnd; - HMENU hSampleMenu; - - hInst = hInstance; - hSampleMenu = LoadMenu(hInstance, "U7120Menu"); - hWnd = CreateWindow("GenericWClass", - (LPCSTR)"PCI-9812 Single Buffered DMA with Middle Trigger Mode", - WS_OVERLAPPEDWINDOW, - CW_USEDEFAULT, - CW_USEDEFAULT, - 520, - 400, - NULL, - hSampleMenu, - hInstance, - NULL); - if (!hWnd) return(FALSE); - ShowWindow(hWnd, nCmdShow); - UpdateWindow(hWnd); - return(TRUE); -} - -BOOL PASCAL setup(HWND hWnd, unsigned message, WPARAM wParam, LPARAM lParam) -{ - int i; - char n[16]; - char s[50]; - switch (message) { - case WM_INITDIALOG: - sprintf(n, "PCI9812"); - SendMessage(GetDlgItem(hWnd,IDC_COMBO1), CB_ADDSTRING, NULL, (LONG)(LPSTR) n); - sprintf(n, "PCI9810"); - SendMessage(GetDlgItem(hWnd,IDC_COMBO1), CB_ADDSTRING, NULL, (LONG)(LPSTR) n); - SendMessage(GetDlgItem(hWnd,IDC_COMBO1) , CB_SETCURSEL, 0, 0L); - for (i=0;i<16;i++) { - wsprintf(n, "%d", i); - _strupr(n); - SendMessage(GetDlgItem(hWnd,IDC_COMBO2), CB_ADDSTRING, NULL, (LONG)(LPSTR) n); - } - SendMessage(GetDlgItem(hWnd,IDC_COMBO2) , CB_SETCURSEL, 0, 0L); - break; - case WM_COMMAND: - switch(LOWORD(wParam)) { - - case IDC_COMBO1: - if (HIWORD(wParam) == CBN_CLOSEUP) { - i = (int)SendMessage(GetDlgItem(hWnd,IDC_COMBO1), CB_GETCURSEL, 0, 0L); - SendMessage(GetDlgItem(hWnd,IDC_COMBO1), CB_GETLBTEXT, i, (LPARAM)((LPCSTR)n)); - card_type= i; - } - return(TRUE); - case IDC_COMBO2: - if (HIWORD(wParam) == CBN_CLOSEUP) { - i = (int)SendMessage(GetDlgItem(hWnd,IDC_COMBO2), CB_GETCURSEL, 0, 0L); - SendMessage(GetDlgItem(hWnd,IDC_COMBO2), CB_GETLBTEXT, i, (LPARAM)((LPCSTR)n)); - card_number = i; - } - return(TRUE); - case IDC_CHECK1: - if (midcheck) { - SendMessage(GetDlgItem(hWnd,wParam), BM_SETCHECK, 0, 0); - midcheck=FALSE; - } - else { - SendMessage(GetDlgItem(hWnd,wParam), BM_SETCHECK, 1, 0); - midcheck=TRUE; - } - break; - case IDOK: - if ((card=Register_Card(PCI_9812, card_number)) < 0) { - wsprintf(s, "Register_Card Error = %d\n", card); - MessageBox(hWnd, s, "Error", MB_OK); - SendMessage(hWnd, WM_CLOSE, 0, 0L); - break; - } - EndDialog(hWnd, TRUE); - InvalidateRect(hWnd, NULL, FALSE); - return (TRUE); - case IDCANCEL: - EndDialog(hWnd, TRUE); - return (TRUE); - } - break; - } - return (FALSE); -} - -long PASCAL MainWndProc(hWnd, message, wParam, lParam) -HWND hWnd; -UINT message; -WPARAM wParam; -LPARAM lParam; -{ - HDC hDC; - PAINTSTRUCT ps; - int i; - char n[6]; - static int pos=0; - I16 err; - char s[50]; - - switch(message) { - case WM_CREATE: - - DialogBox(hInst,IDD_DIALOG2, hWnd, setup); - if(card<0) { - SendMessage(hWnd, WM_CLOSE, 0, 0L); - break; - } - hEdit=CreateWindow("EDIT", NULL, - WS_CHILD | WS_VISIBLE | ES_LEFT, - output_pos[13].x-60, input_pos[15].y+20,70, 20, hWnd, IDC_EDIT, hInst, NULL); - - hEdit1=CreateWindow("EDIT", NULL, - WS_CHILD | WS_VISIBLE | ES_LEFT, - output_pos[13].x+90, input_pos[15].y+20,60, 20, hWnd, IDC_EDIT1, hInst, NULL); - - if(midcheck) { - hEdit2=CreateWindow("EDIT", NULL, - WS_CHILD | WS_VISIBLE | ES_LEFT, - output_pos[13].x+90, input_pos[15].y-20,60, 20, hWnd, IDC_EDIT2, hInst, NULL); - } - - wsprintf(n,"%d",sample_rate/1000); - SetWindowText(hEdit,n); - - wsprintf(n,"%d",data_size); - SetWindowText(hEdit1,n); - - if(midcheck) { - wsprintf(n,"%d",postCount); - SetWindowText(hEdit2,n); - } - - CreateWindow("SCROLLBAR", NULL, - WS_CHILD | WS_VISIBLE | SBS_VERT, - output_pos[13].x+10, input_pos[15].y+20,20, 20, hWnd, IDC_SCROLL, hInst, NULL); - - hStart = CreateWindow("BUTTON","Start" , - WS_CHILD | WS_VISIBLE , - output_pos[10].x+130, input_pos[10].y+10,50, 30, hWnd, IDC_START, hInst, NULL); - - CreateWindow("BUTTON","Data Value" , - WS_CHILD | WS_VISIBLE , - output_pos[10].x+210, input_pos[10].y+10,80, 30, hWnd, IDC_SHOW, hInst, NULL); - - CreateWindow("BUTTON","1" , - WS_CHILD | WS_VISIBLE | BS_AUTORADIOBUTTON | BS_LEFTTEXT | WS_GROUP , - output_pos[4].x+80, io_pos[0].y-5+20,25,15, hWnd,IDC_CH, hInst, NULL); - - CreateWindow("BUTTON","2" , - WS_CHILD | WS_VISIBLE | BS_AUTORADIOBUTTON | BS_LEFTTEXT | WS_GROUP, - output_pos[4].x+80, io_pos[0].y+13+20,25,15, hWnd,IDC_CH+1, hInst, NULL); - - //default channel 0 - for (i=1;i<3;i++) bCheck[i]=FALSE; - bCheck[0] = TRUE; - channel = 0; - SendMessage(GetDlgItem(hWnd,IDC_CH), BM_SETCHECK, 1, 0); - - hBlackBrush= CreateSolidBrush(RGB(0,0,0)); - hRedPen= CreatePen(PS_SOLID,1,RGB(255,0,0)); - hBluePen= CreatePen(PS_SOLID,1,RGB(0,0,255)); - hGreenPen= CreatePen(PS_SOLID,1,RGB(0,255,0)); - hLTGreenPen= CreatePen(PS_SOLID,1,RGB(0,128,0)); - hYellowPen= CreatePen(PS_SOLID,1,RGB(255,255,0)); - hBlackPen= CreatePen(PS_SOLID,1,RGB(0,0,0)); - break; - - case WM_PAINT: - hDC = BeginPaint(hWnd, &ps); - - // DMA analog input box - SelectObject(hDC, GetStockObject(GRAY_BRUSH)); - Rectangle(hDC, output_pos[15].x-10, io_pos[15].y-24, output_pos[0].x+26, io_pos[0].y+195); - SetTextColor(hDC,RGB(255,0,0)); - TextOut(hDC, io_pos[15].x+105, io_pos[15].y-40, " Trigger Source : External Digital Trigger ", 43); - SetTextColor(hDC,RGB(255,255,0)); - SetBkColor(hDC, RGB(0, 0, 255)); - TextOut(hDC, io_pos[15].x, io_pos[15].y-35, "DMA Input", 9); - SelectObject(hDC, hBlackBrush); - Rectangle(hDC, output_pos[15].x+35, io_pos[15].y-2, output_pos[4].x+41, io_pos[0].y+172); - - SetBkMode(hDC,TRANSPARENT); - if(midcheck) - TextOut(hDC,output_pos[13].x+70, input_pos[10].y-40,"PostCount",9); - TextOut(hDC,output_pos[13].x-60, input_pos[10].y,"Samping Rate",12); - TextOut(hDC,output_pos[13].x+30, input_pos[15].y+20,"KHZ",3); - TextOut(hDC,output_pos[13].x+70, input_pos[10].y,"Buffer Size",11); - TextOut(hDC,input_pos[2].x-10, io_pos[15].y+118,"Range: +-1V",11); - TextOut(hDC,input_pos[15].x, io_pos[15].y-19,"Volt",4); - TextOut(hDC,input_pos[15].x, io_pos[15].y-5,"1.00",4); - TextOut(hDC,input_pos[15].x, io_pos[15].y+36,"0.50",4); - TextOut(hDC,input_pos[15].x, io_pos[15].y+77,"0.00",4); - TextOut(hDC,input_pos[15].x-3, io_pos[15].y+118,"-0.50",5); - TextOut(hDC,input_pos[15].x-3, io_pos[15].y+159,"-1.00",5); - TextOut(hDC,input_pos[10].x+10, io_pos[10].y-19,"Signals",7); - TextOut(hDC,output_pos[4].x+60, io_pos[0].y-15,"No. of CHs",10); - EndPaint(hWnd, &ps); - break; - - // Sample Rate Spin Control - case WM_VSCROLL: - switch (LOWORD(wParam)) { - case SB_LINEUP : - sample_rate+=100000; // 100K Hz - if (sample_rate > 20*1000000 ) sample_rate=20*1000000; - break; - case SB_LINEDOWN: - sample_rate-=100000; // 100K Hz - if (sample_rate < 5000 ) sample_rate=5000; - break; - } - wsprintf(n,"%d",sample_rate/1000); - SetWindowText(hEdit,n); - break; - case WM_COMMAND: - switch(LOWORD(wParam)) { - case IDM_EXIT: - SendMessage(hWnd, WM_CLOSE, 0, 0L); - break; - case IDC_CH: - case IDC_CH+1: - case IDC_CH+2: - if (!bCheck[wParam-IDC_CH]) { - SendMessage(GetDlgItem(hWnd,wParam), BM_SETCHECK, 1, 0); - SendMessage(GetDlgItem(hWnd,IDC_CH+channel), BM_SETCHECK, 0, 0); - bCheck[channel]=FALSE; - } - channel=wParam-IDC_CH; - bCheck[channel]=TRUE; - break; - case IDC_SHOW : - DialogBox(hInst, "DMABox", hWnd, ShowDMA); - break; - case IDC_START: - if (hMem != NULL) { - GlobalUnfix(hMem); - GlobalUnlock(hMem); - GlobalFree(hMem); - } - // allocate a memory for DMA - data_size=GetDlgItemInt(hWnd,IDC_EDIT1,NULL ,FALSE); - mem_size=data_size * 2; - hMem = GlobalAlloc(GMEM_FIXED | GMEM_ZEROINIT,mem_size); - ai_buf = (I16 *)GlobalLock(hMem); - if (ai_buf == NULL ) { - MessageBox(hWnd,"DMA", "No Memory", MB_OK); - SendMessage(hWnd, WM_CLOSE, 0, 0L); - break; - } - GlobalFix(hMem); - - sample_rate = GetDlgItemInt(hWnd,IDC_EDIT,NULL ,FALSE)*1000; - if (sample_rate > 20*1000000 ) sample_rate=20*1000000; - else if (sample_rate < 5000 ) sample_rate=5000; - postCount = GetDlgItemInt(hWnd,IDC_EDIT2,NULL ,FALSE); - ch_cnt = (U16) pow((double)2.0, (double) channel); - if ((err = AI_9812_Config(card, midcheck? P9812_TRGMOD_MIDL:P9812_TRGMOD_SOFT, midcheck?P9812_TRGSRC_CH0:0, P9812_TRGSLP_POS, P9812_AD2_GT_PCI|P9812_CLKSRC_INT,0x80,postCount))<0) { - //if ((err = AI_9812_Config(card,P9812_TRGMOD_MIDL, P9812_TRGSRC_EXT_DIG, P9812_TRGSLP_POS, P9812_AD2_GT_PCI|P9812_CLKSRC_INT,0x80,postCount))<0) { - wsprintf(s, "AI Config Error = %d\n", err); - MessageBox(hWnd, s, "Error", MB_OK); - SendMessage(hWnd, WM_CLOSE, 0, 0L); - break; - } - if((err= AI_EventCallBack (card, 1, AIEnd, (U32) AI_CallBack)) != NoError) { - wsprintf(s, "AI_EventCallBack Error = %d\n", err); - MessageBox(hWnd, s, "Error", MB_OK); - SendMessage(hWnd, WM_CLOSE, 0, 0L); - break; - } - if ((AI_ContScanChannels (card, ch_cnt-1, range, ai_buf, data_size, (F32)sample_rate, ASYNCH_OP)) != NoError) { - wsprintf(s, "AI_ContReadPort Error = %d\n", err); - MessageBox(hWnd, s, "Error", MB_OK); - SendMessage(hWnd, WM_CLOSE, 0, 0L); - break; - } - EnableWindow(hStart, FALSE); - hMainWnd = hWnd; - MessageBeep(0); - break; - default: - return(DefWindowProc(hWnd, message, wParam, lParam)); - } - break; - case WM_DESTROY: - if (card >= 0) Release_Card(card); - DeleteObject(hBlackBrush); - DeleteObject(hRedPen); - DeleteObject(hBluePen); - DeleteObject(hLTGreenPen); - DeleteObject(hYellowPen); - GlobalUnfix(hMem); - GlobalUnlock(hMem); - GlobalFree(hMem); - PostQuitMessage(0); - break; - default: - return(DefWindowProc(hWnd, message, wParam, lParam)); - } - return(NULL); -} - -BOOL PASCAL ShowDMA(hDlg, message, wParam, lParam) -HWND hDlg; -UINT message; -WPARAM wParam; -LPARAM lParam; -{ - int nTabs[2] = {32, 92}; - int i; - char cBuf[100]; - char string[10]=" "; - char data_str[3]=" "; - I16 *pp, ch_no; - - switch (message) { - case WM_INITDIALOG: - hListBox = CreateWindow("LISTBOX", "Index Data CH#", - WS_CHILD | WS_VISIBLE | LBS_HASSTRINGS | LBS_STANDARD | LBS_USETABSTOPS |WS_CAPTION, - 50, 40, 240, 180, hDlg, 100, hInst, NULL); - SendMessage(hListBox, LB_RESETCONTENT, 0, 0L); - SendMessage(hListBox, LB_SETTABSTOPS, 2, (DWORD)(LPINT) nTabs); - SetDlgItemText(hDlg, DMA_DESCP, "This ListBox can show at most 4000 data"); - itoa( data_size, string, 10); - SetDlgItemText(hDlg, DMA_SPACE, string); - pp = (I16 *)ai_buf; - if (count >4000) count = 4000; - for(i=0;i>6, ch_no); - else - wsprintf(cBuf, "%5d\t %5d %2d", i, pp[i]>>4, ch_no); - SendMessage(hListBox, LB_INSERTSTRING, -1, (DWORD)(LPSTR)cBuf); - } - ShowWindow(hListBox, SW_SHOW); - return (TRUE); - case WM_COMMAND: - if (LOWORD(wParam) == ID_STOP) { - DestroyWindow(hListBox); - EndDialog(hDlg, TRUE); - return (TRUE); - } - break; - } - return (FALSE); -} - -void AI_CallBack() -{ - HDC hDC; - I16 adinput, cur_channel; - U32 i, oldx[4], oldy[4], newx, newy; - - hDC = GetDC(hMainWnd); - for (i=0; i<4; i++) { - oldx[i] = 0; - oldy[i] = 0; - } - - EnableWindow(hStart, TRUE); - AI_AsyncClear(card, &count); - SelectObject(hDC, hBlackBrush); - SelectObject(hDC, hBlackPen); - Rectangle(hDC, output_pos[15].x+35, io_pos[15].y-2, output_pos[4].x+41, io_pos[0].y+172); - for (i=0; i>4; - newy = io_pos[0].y+86-(87*(long)adinput)/2048; - newx = i*336/data_size+output_pos[15].x+35; - if (! oldx[cur_channel]) - MoveToEx(hDC, newx, newy, NULL); - else - MoveToEx(hDC, oldx[cur_channel], oldy[cur_channel], NULL); - LineTo(hDC, newx, newy); - oldx[cur_channel] = newx; - oldy[cur_channel]= newy; - } - ReleaseDC(hMainWnd, hDC); -} - \ No newline at end of file diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9812/SDK9812DmaCallBack/9812SMTg.dsp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9812/SDK9812DmaCallBack/9812SMTg.dsp deleted file mode 100644 index 9a797c3..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9812/SDK9812DmaCallBack/9812SMTg.dsp +++ /dev/null @@ -1,110 +0,0 @@ -# Microsoft Developer Studio Project File - Name="9812SMTg" - Package Owner=<4> -# Microsoft Developer Studio Generated Build File, Format Version 5.00 -# ** DO NOT EDIT ** - -# TARGTYPE "Win32 (x86) Application" 0x0101 - -CFG=9812SMTg - Win32 Release -!MESSAGE This is not a valid makefile. To build this project using NMAKE, -!MESSAGE use the Export Makefile command and run -!MESSAGE -!MESSAGE NMAKE /f "9812SMTg.mak". -!MESSAGE -!MESSAGE You can specify a configuration when running NMAKE -!MESSAGE by defining the macro CFG on the command line. For example: -!MESSAGE -!MESSAGE NMAKE /f "9812SMTg.mak" CFG="9812SMTg - Win32 Release" -!MESSAGE -!MESSAGE Possible choices for configuration are: -!MESSAGE -!MESSAGE "9812SMTg - Win32 Release" (based on "Win32 (x86) Application") -!MESSAGE "9812SMTg - Win32 Debug" (based on "Win32 (x86) Application") -!MESSAGE - -# Begin Project -# PROP Scc_ProjName "" -# PROP Scc_LocalPath "" -CPP=cl.exe -MTL=midl.exe -RSC=rc.exe - -!IF "$(CFG)" == "9812SMTg - Win32 Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir ".\Release" -# PROP BASE Intermediate_Dir ".\Release" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "" -# PROP Intermediate_Dir ".\Release" -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /YX /c -# ADD CPP /nologo /MT /W3 /GX /Od /I "..\..\..\include" /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /FD /c -# SUBTRACT CPP /YX -# ADD BASE MTL /nologo /D "NDEBUG" /win32 -# ADD MTL /nologo /D "NDEBUG" /mktyplib203 /win32 -# ADD BASE RSC /l 0x409 /d "NDEBUG" -# ADD RSC /l 0x409 /d "NDEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:windows /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ..\..\..\lib\pci-dask.lib /nologo /subsystem:windows /machine:I386 - -!ELSEIF "$(CFG)" == "9812SMTg - Win32 Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir ".\Debug" -# PROP BASE Intermediate_Dir ".\Debug" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir ".\Debug" -# PROP Intermediate_Dir ".\Debug" -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /Gm /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /YX /c -# ADD CPP /nologo /MTd /W3 /Gm /GX /Zi /Od /I "..\..\..\include" /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /FD /c -# SUBTRACT CPP /YX -# ADD BASE MTL /nologo /D "_DEBUG" /win32 -# ADD MTL /nologo /D "_DEBUG" /mktyplib203 /win32 -# ADD BASE RSC /l 0x409 /d "_DEBUG" -# ADD RSC /l 0x409 /d "_DEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:windows /debug /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ..\..\..\lib\pci-dask.lib /nologo /subsystem:windows /debug /machine:I386 - -!ENDIF - -# Begin Target - -# Name "9812SMTg - Win32 Release" -# Name "9812SMTg - Win32 Debug" -# Begin Group "Source Files" - -# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;hpj;bat;for;f90" -# Begin Source File - -SOURCE=.\9812SMTg.c -# End Source File -# Begin Source File - -SOURCE=.\9812SMTg.rc -# End Source File -# End Group -# Begin Group "Header Files" - -# PROP Default_Filter "h;hpp;hxx;hm;inl;fi;fd" -# End Group -# Begin Group "Resource Files" - -# PROP Default_Filter "ico;cur;bmp;dlg;rc2;rct;bin;cnt;rtf;gif;jpg;jpeg;jpe" -# End Group -# End Target -# End Project diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9812/SDK9812DmaCallBack/9812SMTg.dsw b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9812/SDK9812DmaCallBack/9812SMTg.dsw deleted file mode 100644 index a6d4b68..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9812/SDK9812DmaCallBack/9812SMTg.dsw +++ /dev/null @@ -1,29 +0,0 @@ -Microsoft Developer Studio Workspace File, Format Version 5.00 -# WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE! - -############################################################################### - -Project: "9812SMTg"=.\9812SMTg.dsp - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ -}}} - -############################################################################### - -Global: - -Package=<5> -{{{ -}}} - -Package=<3> -{{{ -}}} - -############################################################################### - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9812/SDK9812DmaCallBack/9812SMTg.exe b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9812/SDK9812DmaCallBack/9812SMTg.exe deleted file mode 100644 index dac58b7..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9812/SDK9812DmaCallBack/9812SMTg.exe and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9812/SDK9812DmaCallBack/9812SMTg.rc b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9812/SDK9812DmaCallBack/9812SMTg.rc deleted file mode 100644 index fc2672d..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9812/SDK9812DmaCallBack/9812SMTg.rc +++ /dev/null @@ -1,130 +0,0 @@ -//Microsoft Developer Studio generated resource script. -// -#include "resource.h" - -#define APSTUDIO_READONLY_SYMBOLS -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 2 resource. -// -#define APSTUDIO_HIDDEN_SYMBOLS -#include "windows.h" -#undef APSTUDIO_HIDDEN_SYMBOLS - -///////////////////////////////////////////////////////////////////////////// -#undef APSTUDIO_READONLY_SYMBOLS - -///////////////////////////////////////////////////////////////////////////// -// English (U.S.) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -#ifdef _WIN32 -LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US -#pragma code_page(1252) -#endif //_WIN32 - -///////////////////////////////////////////////////////////////////////////// -// -// Menu -// - -U7120MENU MENU DISCARDABLE -BEGIN - MENUITEM "E&xit!", IDM_EXIT -END - - -#ifdef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// TEXTINCLUDE -// - -1 TEXTINCLUDE DISCARDABLE -BEGIN - "resource.h\0" -END - -2 TEXTINCLUDE DISCARDABLE -BEGIN - "#define APSTUDIO_HIDDEN_SYMBOLS\r\n" - "#include ""windows.h""\r\n" - "#undef APSTUDIO_HIDDEN_SYMBOLS\r\n" - "\0" -END - -3 TEXTINCLUDE DISCARDABLE -BEGIN - "\r\n" - "\0" -END - -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog -// - -DMABOX DIALOG DISCARDABLE 18, 10, 171, 169 -STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "Data Value (half of circular buffer)" -FONT 8, "System" -BEGIN - PUSHBUTTON "STOP",ID_STOP,82,147,24,14 - LTEXT "Data Transferred :",-1,39,119,64,8 - LTEXT "Text",DMA_SPACE,103,118,41,8 - LTEXT "Text",DMA_DESCP,16,6,158,8 -END - -IDD_DIALOG2 DIALOG DISCARDABLE 110, 10, 110, 94 -STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "Card Type" -FONT 10, "System" -BEGIN - DEFPUSHBUTTON "OK",IDOK,9,73,39,14 - PUSHBUTTON "Cancel",IDCANCEL,59,73,38,14 - COMBOBOX IDC_COMBO1,52,32,51,45,CBS_DROPDOWN | WS_VSCROLL | - WS_TABSTOP - LTEXT "Card Type",IDC_STATIC,3,33,46,13 - LTEXT "Card Number",IDC_STATIC,3,11,44,14 - COMBOBOX IDC_COMBO2,52,10,51,101,CBS_DROPDOWN | WS_VSCROLL | - WS_TABSTOP - CONTROL "About Trigger Enabled",IDC_CHECK1,"Button", - BS_AUTOCHECKBOX | WS_TABSTOP,3,52,93,13 -END - - -///////////////////////////////////////////////////////////////////////////// -// -// DESIGNINFO -// - -#ifdef APSTUDIO_INVOKED -GUIDELINES DESIGNINFO DISCARDABLE -BEGIN - IDD_DIALOG2, DIALOG - BEGIN - LEFTMARGIN, 3 - RIGHTMARGIN, 103 - BOTTOMMARGIN, 87 - END -END -#endif // APSTUDIO_INVOKED - -#endif // English (U.S.) resources -///////////////////////////////////////////////////////////////////////////// - - - -#ifndef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 3 resource. -// - - -///////////////////////////////////////////////////////////////////////////// -#endif // not APSTUDIO_INVOKED - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9812/SDK9812DmaCallBack/resource.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9812/SDK9812DmaCallBack/resource.h deleted file mode 100644 index 9fb3a09..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9812/SDK9812DmaCallBack/resource.h +++ /dev/null @@ -1,27 +0,0 @@ -//{{NO_DEPENDENCIES}} -// Microsoft Developer Studio generated include file. -// Used by 9812SMTg.rc -// -#define IDM_SETUP 101 -#define IDD_DIALOG1 101 -#define IDD_DIALOG2 104 -#define IDM_EXIT 110 -#define ID_CARDNUMBER 122 -#define ID_STOP 304 -#define DMA_SPACE 500 -#define DMA_DESCP 600 -#define IDC_COMBO1 1001 -#define IDC_COMBO2 1002 -#define IDC_CHECK1 1004 -#define IDC_STATIC -1 - -// Next default values for new objects -// -#ifdef APSTUDIO_INVOKED -#ifndef APSTUDIO_READONLY_SYMBOLS -#define _APS_NEXT_RESOURCE_VALUE 105 -#define _APS_NEXT_COMMAND_VALUE 123 -#define _APS_NEXT_CONTROL_VALUE 1003 -#define _APS_NEXT_SYMED_VALUE 101 -#endif -#endif diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9812/SDK9812MidTrg/9812SMTg.c b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9812/SDK9812MidTrg/9812SMTg.c deleted file mode 100644 index 16be1df..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9812/SDK9812MidTrg/9812SMTg.c +++ /dev/null @@ -1,499 +0,0 @@ -#include "windows.h" -#include -#include -#include -#include -#include -#include "resource.h" -#include "Dask.h" - -#define IDM_EXIT 110 -#define IDC_SCROLL 207 -#define IDC_SPIN 301 -#define IDC_START 208 -#define IDC_EDIT 211 -#define IDC_EDIT1 214 -#define IDC_EDIT2 215 -#define IDC_SHOW 213 -#define IDC_CH 400 - -int PASCAL WinMain(HANDLE, HANDLE, LPSTR, int); -long PASCAL MainWndProc(HWND, UINT, WPARAM, LPARAM); -BOOL PASCAL ShowDMA(HWND, UINT, WPARAM, LPARAM); - -HANDLE hInst; -HWND hListBox; -HWND hEdit,hEdit1, hEdit2, hStart; -BOOL bCheck[3]; - -HBRUSH hBlackBrush; -HPEN hRedPen, hBlackPen, hBluePen, hYellowPen, hGreenPen, hLTGreenPen; -HWND hMainWnd; - -//unsigned int sample_rate=10000; -long sample_rate=1000000; // 1M Hz -U16 channel=0, range = AD_B_1_V, ch_cnt; -U32 data_size=1024, mem_size; -static HANDLE hMem=NULL; -BOOLEAN fstop =0; -I16 *ai_buf; -I16 card=-1, card_number = 0; -U32 count, postCount= 1024; -U16 card_type = 0; - -POINT input_pos[16]= {{470, 280}, {440, 280}, - {410, 280}, {380, 280}, - {350, 280}, {320, 280}, - { 290, 280}, {260, 280}, - {230, 280}, {200, 280}, - {170, 280}, {140, 280}, - {110, 280}, {80, 280}, - { 50, 280}, { 20, 280}, - }; -POINT output_pos[16] ={ - {470, 340}, {440, 340}, - {410, 340}, {380, 340}, - {350, 340}, {320, 340}, - { 290, 340}, {260, 340}, - {230, 340}, {200, 340}, - {170, 340}, {140, 340}, - {110, 340}, {80, 340}, - { 50, 340}, { 20, 340}, - }; - -POINT io_pos[16] ={ - {395, 40}, {370, 40}, - {345, 40}, {320, 40}, - {295, 40}, {270, 40}, - { 245, 40}, {220, 40}, - {195, 40}, {170, 40}, - {145, 40}, {120, 40}, - {95, 40}, {70, 40}, - { 45, 40}, { 20, 40}, - }; - -BOOL InitApplication(HANDLE); -BOOL InitInstance(HANDLE, int); -//void ProcessThread(void* pArg); -void ProcessThread(); -//void AboutTrgThread(void* pArg); - -int PASCAL WinMain(hInstance, hPrevInstance, lpCmdLine, nCmdShow) -HANDLE hInstance, hPrevInstance; -LPSTR lpCmdLine; -int nCmdShow; -{ - MSG msg; - - if (!hPrevInstance) - if (!InitApplication(hInstance)) return(FALSE); - if (!InitInstance(hInstance, nCmdShow)) return(FALSE); - while (GetMessage(&msg, NULL, NULL, NULL)) { - TranslateMessage(&msg); - DispatchMessage(&msg); - } - return(msg.wParam); -} - -BOOL InitApplication(hInstance) -HANDLE hInstance; -{ - WNDCLASS wc; - - /* Main Window Class */ - wc.style = NULL; - wc.lpfnWndProc = (WNDPROC)MainWndProc; - wc.cbClsExtra = 0; - wc.cbWndExtra = 0; - wc.hInstance = hInstance; - wc.hIcon = LoadIcon(hInstance, "MyIcon"); - wc.hCursor = LoadCursor(NULL, IDC_ARROW); - wc.hbrBackground = GetStockObject(LTGRAY_BRUSH); - wc.lpszMenuName = NULL; - wc.lpszClassName = "GenericWClass"; - if (!RegisterClass(&wc)) return(FALSE); -} - - -BOOL InitInstance(hInstance, nCmdShow) -HANDLE hInstance; -int nCmdShow; -{ - HWND hWnd; - HMENU hSampleMenu; - - hInst = hInstance; - hSampleMenu = LoadMenu(hInstance, "U7120Menu"); - hWnd = CreateWindow("GenericWClass", - (LPCSTR)"PCI-9812 Single Buffered DMA with Middle Trigger Mode", - WS_OVERLAPPEDWINDOW, - CW_USEDEFAULT, - CW_USEDEFAULT, - 520, - 400, - NULL, - hSampleMenu, - hInstance, - NULL); - if (!hWnd) return(FALSE); - ShowWindow(hWnd, nCmdShow); - UpdateWindow(hWnd); - return(TRUE); -} - -BOOL PASCAL setup(HWND hWnd, unsigned message, WPARAM wParam, LPARAM lParam) -{ - int i; - char n[16]; - char s[50]; - switch (message) { - case WM_INITDIALOG: - sprintf(n, "PCI9812"); - SendMessage(GetDlgItem(hWnd,IDC_COMBO1), CB_ADDSTRING, NULL, (LONG)(LPSTR) n); - sprintf(n, "PCI9810"); - SendMessage(GetDlgItem(hWnd,IDC_COMBO1), CB_ADDSTRING, NULL, (LONG)(LPSTR) n); - SendMessage(GetDlgItem(hWnd,IDC_COMBO1) , CB_SETCURSEL, 0, 0L); - for (i=0;i<16;i++) { - wsprintf(n, "%d", i); - _strupr(n); - SendMessage(GetDlgItem(hWnd,IDC_COMBO2), CB_ADDSTRING, NULL, (LONG)(LPSTR) n); - } - SendMessage(GetDlgItem(hWnd,IDC_COMBO2) , CB_SETCURSEL, 0, 0L); - break; - case WM_COMMAND: - switch(LOWORD(wParam)) { - - case IDC_COMBO1: - if (HIWORD(wParam) == CBN_CLOSEUP) { - i = (int)SendMessage(GetDlgItem(hWnd,IDC_COMBO1), CB_GETCURSEL, 0, 0L); - SendMessage(GetDlgItem(hWnd,IDC_COMBO1), CB_GETLBTEXT, i, (LPARAM)((LPCSTR)n)); - card_type= i; - } - return(TRUE); - case IDC_COMBO2: - if (HIWORD(wParam) == CBN_CLOSEUP) { - i = (int)SendMessage(GetDlgItem(hWnd,IDC_COMBO2), CB_GETCURSEL, 0, 0L); - SendMessage(GetDlgItem(hWnd,IDC_COMBO2), CB_GETLBTEXT, i, (LPARAM)((LPCSTR)n)); - card_number = i; - } - return(TRUE); - case IDOK: - if ((card=Register_Card(PCI_9812, card_number)) < 0) { - wsprintf(s, "Register_Card Error = %d\n", card); - MessageBox(hWnd, s, "Error", MB_OK); - SendMessage(hWnd, WM_CLOSE, 0, 0L); - break; - } - EndDialog(hWnd, TRUE); - InvalidateRect(hWnd, NULL, FALSE); - return (TRUE); - case IDCANCEL: - EndDialog(hWnd, TRUE); - return (TRUE); - } - break; - } - return (FALSE); -} - -long PASCAL MainWndProc(hWnd, message, wParam, lParam) -HWND hWnd; -UINT message; -WPARAM wParam; -LPARAM lParam; -{ - HDC hDC; - PAINTSTRUCT ps; - int i; - char n[6]; - static int pos=0; - I16 err; - char s[50]; - - switch(message) { - case WM_CREATE: - - DialogBox(hInst,IDD_DIALOG2, hWnd, setup); - if(card<0) { - SendMessage(hWnd, WM_CLOSE, 0, 0L); - break; - } - hEdit=CreateWindow("EDIT", NULL, - WS_CHILD | WS_VISIBLE | ES_LEFT, - output_pos[13].x-60, input_pos[15].y+20,70, 20, hWnd, IDC_EDIT, hInst, NULL); - - hEdit1=CreateWindow("EDIT", NULL, - WS_CHILD | WS_VISIBLE | ES_LEFT, - output_pos[13].x+90, input_pos[15].y+20,60, 20, hWnd, IDC_EDIT1, hInst, NULL); - - hEdit2=CreateWindow("EDIT", NULL, - WS_CHILD | WS_VISIBLE | ES_LEFT, - output_pos[13].x+90, input_pos[15].y-20,60, 20, hWnd, IDC_EDIT2, hInst, NULL); - - wsprintf(n,"%d",sample_rate/1000); - SetWindowText(hEdit,n); - - wsprintf(n,"%d",data_size); - SetWindowText(hEdit1,n); - - wsprintf(n,"%d",postCount); - SetWindowText(hEdit2,n); - - CreateWindow("SCROLLBAR", NULL, - WS_CHILD | WS_VISIBLE | SBS_VERT, - output_pos[13].x+10, input_pos[15].y+20,20, 20, hWnd, IDC_SCROLL, hInst, NULL); - - hStart = CreateWindow("BUTTON","Start" , - WS_CHILD | WS_VISIBLE , - output_pos[10].x+130, input_pos[10].y+10,50, 30, hWnd, IDC_START, hInst, NULL); - - CreateWindow("BUTTON","Data Value" , - WS_CHILD | WS_VISIBLE , - output_pos[10].x+210, input_pos[10].y+10,80, 30, hWnd, IDC_SHOW, hInst, NULL); - - CreateWindow("BUTTON","1" , - WS_CHILD | WS_VISIBLE | BS_AUTORADIOBUTTON | BS_LEFTTEXT | WS_GROUP , - output_pos[4].x+80, io_pos[0].y-5+20,25,15, hWnd,IDC_CH, hInst, NULL); - - CreateWindow("BUTTON","2" , - WS_CHILD | WS_VISIBLE | BS_AUTORADIOBUTTON | BS_LEFTTEXT | WS_GROUP, - output_pos[4].x+80, io_pos[0].y+13+20,25,15, hWnd,IDC_CH+1, hInst, NULL); - - //default channel 0 - for (i=1;i<3;i++) bCheck[i]=FALSE; - bCheck[0] = TRUE; - channel = 0; - SendMessage(GetDlgItem(hWnd,IDC_CH), BM_SETCHECK, 1, 0); - - hBlackBrush= CreateSolidBrush(RGB(0,0,0)); - hRedPen= CreatePen(PS_SOLID,1,RGB(255,0,0)); - hBluePen= CreatePen(PS_SOLID,1,RGB(0,0,255)); - hGreenPen= CreatePen(PS_SOLID,1,RGB(0,255,0)); - hLTGreenPen= CreatePen(PS_SOLID,1,RGB(0,128,0)); - hYellowPen= CreatePen(PS_SOLID,1,RGB(255,255,0)); - hBlackPen= CreatePen(PS_SOLID,1,RGB(0,0,0)); - break; - - case WM_PAINT: - hDC = BeginPaint(hWnd, &ps); - - // DMA analog input box - SelectObject(hDC, GetStockObject(GRAY_BRUSH)); - Rectangle(hDC, output_pos[15].x-10, io_pos[15].y-24, output_pos[0].x+26, io_pos[0].y+195); - SetTextColor(hDC,RGB(255,0,0)); - TextOut(hDC, io_pos[15].x+105, io_pos[15].y-40, " Trigger Source : External Digital Trigger ", 43); - SetTextColor(hDC,RGB(255,255,0)); - SetBkColor(hDC, RGB(0, 0, 255)); - TextOut(hDC, io_pos[15].x, io_pos[15].y-35, "DMA Input", 9); - SelectObject(hDC, hBlackBrush); - Rectangle(hDC, output_pos[15].x+35, io_pos[15].y-2, output_pos[4].x+41, io_pos[0].y+172); - - SetBkMode(hDC,TRANSPARENT); - TextOut(hDC,output_pos[13].x+70, input_pos[10].y-40,"PostCount",9); - TextOut(hDC,output_pos[13].x-60, input_pos[10].y,"Samping Rate",12); - TextOut(hDC,output_pos[13].x+30, input_pos[15].y+20,"KHZ",3); - TextOut(hDC,output_pos[13].x+70, input_pos[10].y,"Buffer Size",11); - TextOut(hDC,input_pos[2].x-10, io_pos[15].y+118,"Range: +-1V",11); - TextOut(hDC,input_pos[15].x, io_pos[15].y-19,"Volt",4); - TextOut(hDC,input_pos[15].x, io_pos[15].y-5,"1.00",4); - TextOut(hDC,input_pos[15].x, io_pos[15].y+36,"0.50",4); - TextOut(hDC,input_pos[15].x, io_pos[15].y+77,"0.00",4); - TextOut(hDC,input_pos[15].x-3, io_pos[15].y+118,"-0.50",5); - TextOut(hDC,input_pos[15].x-3, io_pos[15].y+159,"-1.00",5); - TextOut(hDC,input_pos[10].x+10, io_pos[10].y-19,"Signals",7); - TextOut(hDC,output_pos[4].x+60, io_pos[0].y-15,"No. of CHs",10); - EndPaint(hWnd, &ps); - break; - - // Sample Rate Spin Control - case WM_VSCROLL: - switch (LOWORD(wParam)) { - case SB_LINEUP : - sample_rate+=100000; // 100K Hz - if (sample_rate > 20*1000000 ) sample_rate=20*1000000; - break; - case SB_LINEDOWN: - sample_rate-=100000; // 100K Hz - if (sample_rate < 5000 ) sample_rate=5000; - break; - } - wsprintf(n,"%d",sample_rate/1000); - SetWindowText(hEdit,n); - break; - case WM_COMMAND: - switch(LOWORD(wParam)) { - case IDM_EXIT: - SendMessage(hWnd, WM_CLOSE, 0, 0L); - break; - case IDC_CH: - case IDC_CH+1: - case IDC_CH+2: - if (!bCheck[wParam-IDC_CH]) { - SendMessage(GetDlgItem(hWnd,wParam), BM_SETCHECK, 1, 0); - SendMessage(GetDlgItem(hWnd,IDC_CH+channel), BM_SETCHECK, 0, 0); - bCheck[channel]=FALSE; - } - channel=wParam-IDC_CH; - bCheck[channel]=TRUE; - break; - case IDC_SHOW : - DialogBox(hInst, "DMABox", hWnd, ShowDMA); - break; - case IDC_START: - if (hMem != NULL) { - GlobalUnfix(hMem); - GlobalUnlock(hMem); - GlobalFree(hMem); - } - // allocate a memory for DMA - data_size=GetDlgItemInt(hWnd,IDC_EDIT1,NULL ,FALSE); - mem_size=data_size * 2; - hMem = GlobalAlloc(GMEM_FIXED | GMEM_ZEROINIT,mem_size); - ai_buf = (I16 *)GlobalLock(hMem); - if (ai_buf == NULL ) { - MessageBox(hWnd,"DMA", "No Memory", MB_OK); - SendMessage(hWnd, WM_CLOSE, 0, 0L); - break; - } - GlobalFix(hMem); - - sample_rate = GetDlgItemInt(hWnd,IDC_EDIT,NULL ,FALSE)*1000; - if (sample_rate > 20*1000000 ) sample_rate=20*1000000; - else if (sample_rate < 5000 ) sample_rate=5000; - postCount = GetDlgItemInt(hWnd,IDC_EDIT2,NULL ,FALSE); - ch_cnt = (U16) pow((double)2.0, (double) channel); - if ((err = AI_9812_Config(card,P9812_TRGMOD_MIDL, P9812_TRGSRC_EXT_DIG, P9812_TRGSLP_POS, P9812_AD2_GT_PCI|P9812_CLKSRC_INT,0x80,postCount))<0) { - wsprintf(s, "AI Config Error = %d\n", err); - MessageBox(hWnd, s, "Error", MB_OK); - SendMessage(hWnd, WM_CLOSE, 0, 0L); - break; - } - if ((AI_ContScanChannels (card, ch_cnt-1, range, ai_buf, data_size, (F32)sample_rate, ASYNCH_OP)) != NoError) { - wsprintf(s, "AI_ContReadPort Error = %d\n", err); - MessageBox(hWnd, s, "Error", MB_OK); - SendMessage(hWnd, WM_CLOSE, 0, 0L); - break; - } - EnableWindow(hStart, FALSE); - hMainWnd = hWnd; - fstop = 0; - while (!fstop) - AI_AsyncCheck(card, &fstop, &count); - ProcessThread(); - MessageBeep(0); - break; - default: - return(DefWindowProc(hWnd, message, wParam, lParam)); - } - break; - case WM_DESTROY: - if (card >= 0) Release_Card(card); - DeleteObject(hBlackBrush); - DeleteObject(hRedPen); - DeleteObject(hBluePen); - DeleteObject(hLTGreenPen); - DeleteObject(hYellowPen); - GlobalUnfix(hMem); - GlobalUnlock(hMem); - GlobalFree(hMem); - PostQuitMessage(0); - break; - default: - return(DefWindowProc(hWnd, message, wParam, lParam)); - } - return(NULL); -} - -BOOL PASCAL ShowDMA(hDlg, message, wParam, lParam) -HWND hDlg; -UINT message; -WPARAM wParam; -LPARAM lParam; -{ - int nTabs[2] = {32, 92}; - int i; - char cBuf[100]; - char string[10]=" "; - char data_str[3]=" "; - I16 *pp, ch_no; - - switch (message) { - case WM_INITDIALOG: - hListBox = CreateWindow("LISTBOX", "Index Data CH#", - WS_CHILD | WS_VISIBLE | LBS_HASSTRINGS | LBS_STANDARD | LBS_USETABSTOPS |WS_CAPTION, - 50, 40, 240, 180, hDlg, 100, hInst, NULL); - SendMessage(hListBox, LB_RESETCONTENT, 0, 0L); - SendMessage(hListBox, LB_SETTABSTOPS, 2, (DWORD)(LPINT) nTabs); - SetDlgItemText(hDlg, DMA_DESCP, "This ListBox can show at most 4000 data"); - itoa( data_size, string, 10); - SetDlgItemText(hDlg, DMA_SPACE, string); - pp = (I16 *)ai_buf; - if (count >4000) count = 4000; - for(i=0;i>6, ch_no); - else - wsprintf(cBuf, "%5d\t %5d %2d", i, pp[i]>>4, ch_no); - SendMessage(hListBox, LB_INSERTSTRING, -1, (DWORD)(LPSTR)cBuf); - } - ShowWindow(hListBox, SW_SHOW); - return (TRUE); - case WM_COMMAND: - if (LOWORD(wParam) == ID_STOP) { - DestroyWindow(hListBox); - EndDialog(hDlg, TRUE); - return (TRUE); - } - break; - } - return (FALSE); -} - -void ProcessThread() -{ - HDC hDC; - I16 adinput, cur_channel; - U32 i, oldx[4], oldy[4], newx, newy; - - hDC = GetDC(hMainWnd); - for (i=0; i<4; i++) { - oldx[i] = 0; - oldy[i] = 0; - } - - EnableWindow(hStart, TRUE); - AI_AsyncClear(card, &count); - SelectObject(hDC, hBlackBrush); - SelectObject(hDC, hBlackPen); - Rectangle(hDC, output_pos[15].x+35, io_pos[15].y-2, output_pos[4].x+41, io_pos[0].y+172); - for (i=0; i>4; - newy = io_pos[0].y+86-(87*(long)adinput)/2048; - newx = i*336/data_size+output_pos[15].x+35; - if (! oldx[cur_channel]) - MoveToEx(hDC, newx, newy, NULL); - else - MoveToEx(hDC, oldx[cur_channel], oldy[cur_channel], NULL); - LineTo(hDC, newx, newy); - oldx[cur_channel] = newx; - oldy[cur_channel]= newy; - } - ReleaseDC(hMainWnd, hDC); -} - \ No newline at end of file diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9812/SDK9812MidTrg/9812SMTg.exe b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9812/SDK9812MidTrg/9812SMTg.exe deleted file mode 100644 index acd24ce..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9812/SDK9812MidTrg/9812SMTg.exe and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9812/SDK9812MidTrg/9812SMTg.mak b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9812/SDK9812MidTrg/9812SMTg.mak deleted file mode 100644 index 0857165..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9812/SDK9812MidTrg/9812SMTg.mak +++ /dev/null @@ -1,219 +0,0 @@ -# Microsoft Developer Studio Generated NMAKE File, Format Version 4.00 -# ** DO NOT EDIT ** - -# TARGTYPE "Win32 (x86) Application" 0x0101 - -!IF "$(CFG)" == "" -CFG=9812SMTg - Win32 Debug -!MESSAGE No configuration specified. Defaulting to 9812SMTg - Win32 Debug. -!ENDIF - -!IF "$(CFG)" != "9812SMTg - Win32 Release" && "$(CFG)" !=\ - "9812SMTg - Win32 Debug" -!MESSAGE Invalid configuration "$(CFG)" specified. -!MESSAGE You can specify a configuration when running NMAKE on this makefile -!MESSAGE by defining the macro CFG on the command line. For example: -!MESSAGE -!MESSAGE NMAKE /f "9812SMTg.mak" CFG="9812SMTg - Win32 Debug" -!MESSAGE -!MESSAGE Possible choices for configuration are: -!MESSAGE -!MESSAGE "9812SMTg - Win32 Release" (based on "Win32 (x86) Application") -!MESSAGE "9812SMTg - Win32 Debug" (based on "Win32 (x86) Application") -!MESSAGE -!ERROR An invalid configuration is specified. -!ENDIF - -!IF "$(OS)" == "Windows_NT" -NULL= -!ELSE -NULL=nul -!ENDIF -################################################################################ -# Begin Project -# PROP Target_Last_Scanned "9812SMTg - Win32 Debug" -CPP=cl.exe -RSC=rc.exe -MTL=mktyplib.exe - -!IF "$(CFG)" == "9812SMTg - Win32 Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "Release" -# PROP BASE Intermediate_Dir "Release" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "" -# PROP Intermediate_Dir "Release" -# PROP Target_Dir "" -OUTDIR=. -INTDIR=.\Release - -ALL : "$(OUTDIR)\9812SMTg.exe" - -CLEAN : - -@erase ".\9812SMTg.exe" - -@erase ".\Release\9812SMTg.obj" - -@erase ".\Release\9812SMTg.res" - -"$(INTDIR)" : - if not exist "$(INTDIR)/$(NULL)" mkdir "$(INTDIR)" - -# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /YX /c -# ADD CPP /nologo /MT /W3 /GX /Od /I "..\..\..\include" /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /c -# SUBTRACT CPP /YX -CPP_PROJ=/nologo /MT /W3 /GX /Od /I "..\..\..\include" /D "WIN32" /D "NDEBUG"\ - /D "_WINDOWS" /Fo"$(INTDIR)/" /c -CPP_OBJS=.\Release/ -CPP_SBRS= -# ADD BASE MTL /nologo /D "NDEBUG" /win32 -# ADD MTL /nologo /D "NDEBUG" /win32 -MTL_PROJ=/nologo /D "NDEBUG" /win32 -# ADD BASE RSC /l 0x409 /d "NDEBUG" -# ADD RSC /l 0x409 /d "NDEBUG" -RSC_PROJ=/l 0x409 /fo"$(INTDIR)/9812SMTg.res" /d "NDEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -BSC32_FLAGS=/nologo /o"$(OUTDIR)/9812SMTg.bsc" -BSC32_SBRS= -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:windows /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ..\..\..\lib\pci-dask.lib /nologo /subsystem:windows /machine:I386 -LINK32_FLAGS=kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib\ - advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib\ - odbccp32.lib ..\..\..\lib\pci-dask.lib /nologo /subsystem:windows\ - /incremental:no /pdb:"$(OUTDIR)/9812SMTg.pdb" /machine:I386\ - /out:"$(OUTDIR)/9812SMTg.exe" -LINK32_OBJS= \ - "$(INTDIR)/9812SMTg.obj" \ - "$(INTDIR)/9812SMTg.res" - -"$(OUTDIR)\9812SMTg.exe" : "$(OUTDIR)" $(DEF_FILE) $(LINK32_OBJS) - $(LINK32) @<< - $(LINK32_FLAGS) $(LINK32_OBJS) -<< - -!ELSEIF "$(CFG)" == "9812SMTg - Win32 Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "Debug" -# PROP BASE Intermediate_Dir "Debug" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "Debug" -# PROP Intermediate_Dir "Debug" -# PROP Target_Dir "" -OUTDIR=.\Debug -INTDIR=.\Debug - -ALL : "$(OUTDIR)\9812SMTg.exe" - -CLEAN : - -@erase ".\Debug\vc40.pdb" - -@erase ".\Debug\vc40.idb" - -@erase ".\Debug\9812SMTg.exe" - -@erase ".\Debug\9812SMTg.obj" - -@erase ".\Debug\9812SMTg.res" - -@erase ".\Debug\9812SMTg.ilk" - -@erase ".\Debug\9812SMTg.pdb" - -"$(OUTDIR)" : - if not exist "$(OUTDIR)/$(NULL)" mkdir "$(OUTDIR)" - -# ADD BASE CPP /nologo /W3 /Gm /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /YX /c -# ADD CPP /nologo /MTd /W3 /Gm /GX /Zi /Od /I "..\..\..\include" /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /c -# SUBTRACT CPP /YX -CPP_PROJ=/nologo /MTd /W3 /Gm /GX /Zi /Od /I "..\..\..\include" /D "WIN32" /D\ - "_DEBUG" /D "_WINDOWS" /Fo"$(INTDIR)/" /Fd"$(INTDIR)/" /c -CPP_OBJS=.\Debug/ -CPP_SBRS= -# ADD BASE MTL /nologo /D "_DEBUG" /win32 -# ADD MTL /nologo /D "_DEBUG" /win32 -MTL_PROJ=/nologo /D "_DEBUG" /win32 -# ADD BASE RSC /l 0x409 /d "_DEBUG" -# ADD RSC /l 0x409 /d "_DEBUG" -RSC_PROJ=/l 0x409 /fo"$(INTDIR)/9812SMTg.res" /d "_DEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -BSC32_FLAGS=/nologo /o"$(OUTDIR)/9812SMTg.bsc" -BSC32_SBRS= -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:windows /debug /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ..\..\..\lib\pci-dask.lib /nologo /subsystem:windows /debug /machine:I386 -LINK32_FLAGS=kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib\ - advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib\ - odbccp32.lib ..\..\..\lib\pci-dask.lib /nologo /subsystem:windows\ - /incremental:yes /pdb:"$(OUTDIR)/9812SMTg.pdb" /debug /machine:I386\ - /out:"$(OUTDIR)/9812SMTg.exe" -LINK32_OBJS= \ - "$(INTDIR)/9812SMTg.obj" \ - "$(INTDIR)/9812SMTg.res" - -"$(OUTDIR)\9812SMTg.exe" : "$(OUTDIR)" $(DEF_FILE) $(LINK32_OBJS) - $(LINK32) @<< - $(LINK32_FLAGS) $(LINK32_OBJS) -<< - -!ENDIF - -.c{$(CPP_OBJS)}.obj: - $(CPP) $(CPP_PROJ) $< - -.cpp{$(CPP_OBJS)}.obj: - $(CPP) $(CPP_PROJ) $< - -.cxx{$(CPP_OBJS)}.obj: - $(CPP) $(CPP_PROJ) $< - -.c{$(CPP_SBRS)}.sbr: - $(CPP) $(CPP_PROJ) $< - -.cpp{$(CPP_SBRS)}.sbr: - $(CPP) $(CPP_PROJ) $< - -.cxx{$(CPP_SBRS)}.sbr: - $(CPP) $(CPP_PROJ) $< - -################################################################################ -# Begin Target - -# Name "9812SMTg - Win32 Release" -# Name "9812SMTg - Win32 Debug" - -!IF "$(CFG)" == "9812SMTg - Win32 Release" - -!ELSEIF "$(CFG)" == "9812SMTg - Win32 Debug" - -!ENDIF - -################################################################################ -# Begin Source File - -SOURCE=.\9812SMTg.rc - -"$(INTDIR)\9812SMTg.res" : $(SOURCE) "$(INTDIR)" - $(RSC) $(RSC_PROJ) $(SOURCE) - - -# End Source File -################################################################################ -# Begin Source File - -SOURCE=.\9812SMTg.c -DEP_CPP_9812S=\ - ".\..\..\..\include\Dask.h"\ - - -"$(INTDIR)\9812SMTg.obj" : $(SOURCE) $(DEP_CPP_9812S) "$(INTDIR)" - - -# End Source File -# End Target -# End Project -################################################################################ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9812/SDK9812MidTrg/9812SMTg.mdp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9812/SDK9812MidTrg/9812SMTg.mdp deleted file mode 100644 index 7e2c5cf..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9812/SDK9812MidTrg/9812SMTg.mdp and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9812/SDK9812MidTrg/9812SMTg.rc b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9812/SDK9812MidTrg/9812SMTg.rc deleted file mode 100644 index 1e38251..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9812/SDK9812MidTrg/9812SMTg.rc +++ /dev/null @@ -1,128 +0,0 @@ -//Microsoft Developer Studio generated resource script. -// -#include "resource.h" - -#define APSTUDIO_READONLY_SYMBOLS -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 2 resource. -// -#define APSTUDIO_HIDDEN_SYMBOLS -#include "windows.h" -#undef APSTUDIO_HIDDEN_SYMBOLS - -///////////////////////////////////////////////////////////////////////////// -#undef APSTUDIO_READONLY_SYMBOLS - -///////////////////////////////////////////////////////////////////////////// -// English (U.S.) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -#ifdef _WIN32 -LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US -#pragma code_page(1252) -#endif //_WIN32 - -///////////////////////////////////////////////////////////////////////////// -// -// Menu -// - -U7120MENU MENU DISCARDABLE -BEGIN - MENUITEM "E&xit!", IDM_EXIT -END - - -#ifdef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// TEXTINCLUDE -// - -1 TEXTINCLUDE DISCARDABLE -BEGIN - "resource.h\0" -END - -2 TEXTINCLUDE DISCARDABLE -BEGIN - "#define APSTUDIO_HIDDEN_SYMBOLS\r\n" - "#include ""windows.h""\r\n" - "#undef APSTUDIO_HIDDEN_SYMBOLS\r\n" - "\0" -END - -3 TEXTINCLUDE DISCARDABLE -BEGIN - "\r\n" - "\0" -END - -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog -// - -DMABOX DIALOG DISCARDABLE 18, 10, 171, 169 -STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "Data Value (half of circular buffer)" -FONT 8, "System" -BEGIN - PUSHBUTTON "STOP",ID_STOP,82,147,24,14 - LTEXT "Data Transferred :",-1,39,119,64,8 - LTEXT "Text",DMA_SPACE,103,118,41,8 - LTEXT "Text",DMA_DESCP,16,6,158,8 -END - -IDD_DIALOG2 DIALOG DISCARDABLE 110, 10, 110, 77 -STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "Card Type" -FONT 10, "System" -BEGIN - DEFPUSHBUTTON "OK",IDOK,9,56,39,14 - PUSHBUTTON "Cancel",IDCANCEL,59,56,38,14 - COMBOBOX IDC_COMBO1,52,32,51,45,CBS_DROPDOWN | WS_VSCROLL | - WS_TABSTOP - LTEXT "Card Type",IDC_STATIC,3,33,46,13 - LTEXT "Card Number",IDC_STATIC,3,11,44,14 - COMBOBOX IDC_COMBO2,52,10,51,101,CBS_DROPDOWN | WS_VSCROLL | - WS_TABSTOP -END - - -///////////////////////////////////////////////////////////////////////////// -// -// DESIGNINFO -// - -#ifdef APSTUDIO_INVOKED -GUIDELINES DESIGNINFO DISCARDABLE -BEGIN - IDD_DIALOG2, DIALOG - BEGIN - LEFTMARGIN, 3 - RIGHTMARGIN, 103 - BOTTOMMARGIN, 70 - END -END -#endif // APSTUDIO_INVOKED - -#endif // English (U.S.) resources -///////////////////////////////////////////////////////////////////////////// - - - -#ifndef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 3 resource. -// - - -///////////////////////////////////////////////////////////////////////////// -#endif // not APSTUDIO_INVOKED - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9812/SDK9812MidTrg/Resource.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9812/SDK9812MidTrg/Resource.h deleted file mode 100644 index b525e77..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9812/SDK9812MidTrg/Resource.h +++ /dev/null @@ -1,26 +0,0 @@ -//{{NO_DEPENDENCIES}} -// Microsoft Developer Studio generated include file. -// Used by 9812SMTg.rc -// -#define IDM_SETUP 101 -#define IDD_DIALOG1 101 -#define IDD_DIALOG2 104 -#define IDM_EXIT 110 -#define ID_CARDNUMBER 122 -#define ID_STOP 304 -#define DMA_SPACE 500 -#define DMA_DESCP 600 -#define IDC_COMBO1 1001 -#define IDC_COMBO2 1002 -#define IDC_STATIC -1 - -// Next default values for new objects -// -#ifdef APSTUDIO_INVOKED -#ifndef APSTUDIO_READONLY_SYMBOLS -#define _APS_NEXT_RESOURCE_VALUE 105 -#define _APS_NEXT_COMMAND_VALUE 123 -#define _APS_NEXT_CONTROL_VALUE 1003 -#define _APS_NEXT_SYMED_VALUE 101 -#endif -#endif diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9812/SDK9812PostTrg/9812SPTg.rc b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9812/SDK9812PostTrg/9812SPTg.rc deleted file mode 100644 index 358e326..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9812/SDK9812PostTrg/9812SPTg.rc +++ /dev/null @@ -1,128 +0,0 @@ -//Microsoft Developer Studio generated resource script. -// -#include "resource.h" - -#define APSTUDIO_READONLY_SYMBOLS -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 2 resource. -// -#define APSTUDIO_HIDDEN_SYMBOLS -#include "windows.h" -#undef APSTUDIO_HIDDEN_SYMBOLS - -///////////////////////////////////////////////////////////////////////////// -#undef APSTUDIO_READONLY_SYMBOLS - -///////////////////////////////////////////////////////////////////////////// -// English (U.S.) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -#ifdef _WIN32 -LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US -#pragma code_page(1252) -#endif //_WIN32 - -///////////////////////////////////////////////////////////////////////////// -// -// Menu -// - -U7120MENU MENU DISCARDABLE -BEGIN - MENUITEM "E&xit!", IDM_EXIT -END - - -#ifdef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// TEXTINCLUDE -// - -1 TEXTINCLUDE DISCARDABLE -BEGIN - "resource.h\0" -END - -2 TEXTINCLUDE DISCARDABLE -BEGIN - "#define APSTUDIO_HIDDEN_SYMBOLS\r\n" - "#include ""windows.h""\r\n" - "#undef APSTUDIO_HIDDEN_SYMBOLS\r\n" - "\0" -END - -3 TEXTINCLUDE DISCARDABLE -BEGIN - "\r\n" - "\0" -END - -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog -// - -DMABOX DIALOG DISCARDABLE 18, 10, 171, 169 -STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "Data Value (half of circular buffer)" -FONT 8, "System" -BEGIN - PUSHBUTTON "STOP",ID_STOP,82,147,24,14 - LTEXT "Data Transferred :",-1,39,119,64,8 - LTEXT "Text",DMA_SPACE,103,118,41,8 - LTEXT "Text",DMA_DESCP,16,6,158,8 -END - -IDD_DIALOG2 DIALOG DISCARDABLE 110, 10, 110, 77 -STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "Card Type" -FONT 10, "System" -BEGIN - DEFPUSHBUTTON "OK",IDOK,9,56,39,14 - PUSHBUTTON "Cancel",IDCANCEL,59,56,38,14 - COMBOBOX IDC_COMBO1,50,31,53,45,CBS_DROPDOWN | WS_VSCROLL | - WS_TABSTOP - LTEXT "Card Type",IDC_STATIC,3,32,46,13 - LTEXT "Card Number",IDC_STATIC,3,11,43,14 - COMBOBOX IDC_COMBO2,49,10,54,85,CBS_DROPDOWN | WS_VSCROLL | - WS_TABSTOP -END - - -///////////////////////////////////////////////////////////////////////////// -// -// DESIGNINFO -// - -#ifdef APSTUDIO_INVOKED -GUIDELINES DESIGNINFO DISCARDABLE -BEGIN - IDD_DIALOG2, DIALOG - BEGIN - LEFTMARGIN, 3 - RIGHTMARGIN, 103 - BOTTOMMARGIN, 70 - END -END -#endif // APSTUDIO_INVOKED - -#endif // English (U.S.) resources -///////////////////////////////////////////////////////////////////////////// - - - -#ifndef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 3 resource. -// - - -///////////////////////////////////////////////////////////////////////////// -#endif // not APSTUDIO_INVOKED - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9812/SDK9812PostTrg/9812SPtg.c b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9812/SDK9812PostTrg/9812SPtg.c deleted file mode 100644 index 60bd274..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9812/SDK9812PostTrg/9812SPtg.c +++ /dev/null @@ -1,493 +0,0 @@ -#include "windows.h" -#include -#include -#include -#include -#include -#include "resource.h" -#include "Dask.h" - -#define IDM_EXIT 110 -#define IDC_SCROLL 207 -#define IDC_SPIN 301 -#define IDC_START 208 -#define IDC_EDIT 211 -#define IDC_EDIT1 214 -#define IDC_SHOW 213 -#define IDC_EDIT2 215 -#define IDC_CH 400 - -int PASCAL WinMain(HANDLE, HANDLE, LPSTR, int); -long PASCAL MainWndProc(HWND, UINT, WPARAM, LPARAM); -BOOL PASCAL ShowDMA(HWND, UINT, WPARAM, LPARAM); - -HANDLE hInst; -HWND hListBox; -HWND hEdit,hEdit1, hStart; -BOOL bCheck[8]; - -HBRUSH hBlackBrush; -HPEN hRedPen, hBlackPen, hBluePen, hYellowPen, hGreenPen, hLTGreenPen; -HWND hMainWnd; - -//unsigned int sample_rate=10000; -long sample_rate=1000000; //1M -U16 channel=0, range = AD_B_1_V, ch_cnt; -BOOLEAN fstop =0; -U32 data_size=1000, mem_size; -static HANDLE hMem=NULL; -I16 *ai_buf; -I16 card=-1, card_number = 0; -U32 count; -U16 card_type = 0; - -POINT input_pos[16]= {{470, 280}, {440, 280}, - {410, 280}, {380, 280}, - {350, 280}, {320, 280}, - { 290, 280}, {260, 280}, - {230, 280}, {200, 280}, - {170, 280}, {140, 280}, - {110, 280}, {80, 280}, - { 50, 280}, { 20, 280}, - }; -POINT output_pos[16] ={ - {470, 340}, {440, 340}, - {410, 340}, {380, 340}, - {350, 340}, {320, 340}, - { 290, 340}, {260, 340}, - {230, 340}, {200, 340}, - {170, 340}, {140, 340}, - {110, 340}, {80, 340}, - { 50, 340}, { 20, 340}, - }; - -POINT io_pos[16] ={ - {395, 40}, {370, 40}, - {345, 40}, {320, 40}, - {295, 40}, {270, 40}, - { 245, 40}, {220, 40}, - {195, 40}, {170, 40}, - {145, 40}, {120, 40}, - {95, 40}, {70, 40}, - { 45, 40}, { 20, 40}, - }; - -BOOL InitApplication(HANDLE); -BOOL InitInstance(HANDLE, int); -void ProcessThread(); - -int PASCAL WinMain(hInstance, hPrevInstance, lpCmdLine, nCmdShow) -HANDLE hInstance, hPrevInstance; -LPSTR lpCmdLine; -int nCmdShow; -{ - MSG msg; - - if (!hPrevInstance) - if (!InitApplication(hInstance)) return(FALSE); - if (!InitInstance(hInstance, nCmdShow)) return(FALSE); - while (GetMessage(&msg, NULL, NULL, NULL)) { - TranslateMessage(&msg); - DispatchMessage(&msg); - } - return(msg.wParam); -} - -BOOL InitApplication(hInstance) -HANDLE hInstance; -{ - WNDCLASS wc; - - /* Main Window Class */ - wc.style = NULL; - wc.lpfnWndProc = (WNDPROC)MainWndProc; - wc.cbClsExtra = 0; - wc.cbWndExtra = 0; - wc.hInstance = hInstance; - wc.hIcon = LoadIcon(hInstance, "MyIcon"); - wc.hCursor = LoadCursor(NULL, IDC_ARROW); - wc.hbrBackground = GetStockObject(LTGRAY_BRUSH); - wc.lpszMenuName = NULL; - wc.lpszClassName = "GenericWClass"; - if (!RegisterClass(&wc)) return(FALSE); -} - - -BOOL InitInstance(hInstance, nCmdShow) -HANDLE hInstance; -int nCmdShow; -{ - HWND hWnd; - HMENU hSampleMenu; - - hInst = hInstance; - hSampleMenu = LoadMenu(hInstance, "U7120Menu"); - hWnd = CreateWindow("GenericWClass", - (LPCSTR)"PCI-9812 Single Buffered DMA with Post Trigger Mode", - WS_OVERLAPPEDWINDOW, - CW_USEDEFAULT, - CW_USEDEFAULT, - 520, - 400, - NULL, - hSampleMenu, - hInstance, - NULL); - if (!hWnd) return(FALSE); - ShowWindow(hWnd, nCmdShow); - UpdateWindow(hWnd); - return(TRUE); -} - -BOOL PASCAL setup(HWND hWnd, unsigned message, WPARAM wParam, LPARAM lParam) -{ - int i; - char n[16]; - char s[50]; - switch (message) { - case WM_INITDIALOG: - wsprintf(n, "PCI9812"); - SendMessage(GetDlgItem(hWnd,IDC_COMBO1), CB_ADDSTRING, NULL, (LONG)(LPSTR) n); - sprintf(n, "PCI9810"); - SendMessage(GetDlgItem(hWnd,IDC_COMBO1), CB_ADDSTRING, NULL, (LONG)(LPSTR) n); - SendMessage(GetDlgItem(hWnd,IDC_COMBO1) , CB_SETCURSEL, 0, 0L); - for (i=0;i<16;i++) { - wsprintf(n, "%d", i); - _strupr(n); - SendMessage(GetDlgItem(hWnd,IDC_COMBO2), CB_ADDSTRING, NULL, (LONG)(LPSTR) n); - } - SendMessage(GetDlgItem(hWnd,IDC_COMBO2) , CB_SETCURSEL, 0, 0L); - break; - case WM_COMMAND: - switch(LOWORD(wParam)) { - - case IDC_COMBO1: - if (HIWORD(wParam) == CBN_CLOSEUP) { - i = (int)SendMessage(GetDlgItem(hWnd,IDC_COMBO1), CB_GETCURSEL, 0, 0L); - SendMessage(GetDlgItem(hWnd,IDC_COMBO1), CB_GETLBTEXT, i, (LPARAM)((LPCSTR)n)); - card_type = i; - } - return(TRUE); - case IDC_COMBO2: - if (HIWORD(wParam) == CBN_CLOSEUP) { - i = (int)SendMessage(GetDlgItem(hWnd,IDC_COMBO2), CB_GETCURSEL, 0, 0L); - SendMessage(GetDlgItem(hWnd,IDC_COMBO2), CB_GETLBTEXT, i, (LPARAM)((LPCSTR)n)); - card_number = i; - } - return(TRUE); - case IDOK: - if ((card=Register_Card(PCI_9812, card_number)) < 0) { - wsprintf(s, "Register_Card Error = %d\n", card); - MessageBox(hWnd, s, "Error", MB_OK); - SendMessage(hWnd, WM_CLOSE, 0, 0L); - break; - } - EndDialog(hWnd, TRUE); - InvalidateRect(hWnd, NULL, FALSE); - return (TRUE); - case IDCANCEL: - EndDialog(hWnd, TRUE); - return (TRUE); - } - break; - } - return (FALSE); -} - -long PASCAL MainWndProc(hWnd, message, wParam, lParam) -HWND hWnd; -UINT message; -WPARAM wParam; -LPARAM lParam; -{ - HDC hDC; - PAINTSTRUCT ps; - int i; - char n[6]; - static int pos=0; - I16 err; - char s[50]; - - switch(message) { - case WM_CREATE: - - DialogBox(hInst,IDD_DIALOG2, hWnd, setup); - if(card<0) { - SendMessage(hWnd, WM_CLOSE, 0, 0L); - break; - } - hEdit=CreateWindow("EDIT", NULL, - WS_CHILD | WS_VISIBLE | ES_LEFT, - output_pos[13].x-60, input_pos[15].y+20,70, 20, hWnd, IDC_EDIT, hInst, NULL); - - hEdit1=CreateWindow("EDIT", NULL, - WS_CHILD | WS_VISIBLE | ES_LEFT, - output_pos[13].x+90, input_pos[15].y+20,60, 20, hWnd, IDC_EDIT1, hInst, NULL); - - wsprintf(n,"%d",sample_rate/1000); - SetWindowText(hEdit,n); - - wsprintf(n,"%d",data_size); - SetWindowText(hEdit1,n); - - CreateWindow("SCROLLBAR", NULL, - WS_CHILD | WS_VISIBLE | SBS_VERT, - output_pos[13].x+10, input_pos[15].y+20,20, 20, hWnd, IDC_SCROLL, hInst, NULL); - - hStart = CreateWindow("BUTTON","Start" , - WS_CHILD | WS_VISIBLE , - output_pos[10].x+130, input_pos[10].y+10,50, 30, hWnd, IDC_START, hInst, NULL); - - CreateWindow("BUTTON","Data Value" , - WS_CHILD | WS_VISIBLE , - output_pos[10].x+210, input_pos[10].y+10,80, 30, hWnd, IDC_SHOW, hInst, NULL); - - CreateWindow("BUTTON","1" , - WS_CHILD | WS_VISIBLE | BS_AUTORADIOBUTTON | BS_LEFTTEXT | WS_GROUP , - output_pos[4].x+80, io_pos[0].y-5+20,25,15, hWnd,IDC_CH, hInst, NULL); - - CreateWindow("BUTTON","2" , - WS_CHILD | WS_VISIBLE | BS_AUTORADIOBUTTON | BS_LEFTTEXT | WS_GROUP, - output_pos[4].x+80, io_pos[0].y+13+20,25,15, hWnd,IDC_CH+1, hInst, NULL); - - CreateWindow("BUTTON","4" , - WS_CHILD | WS_VISIBLE | BS_AUTORADIOBUTTON | BS_LEFTTEXT | WS_GROUP, - output_pos[4].x+80, io_pos[0].y+31+20,25,15, hWnd,IDC_CH+2, hInst, NULL); - - //default channel 0 - for (i=1;i<4;i++) bCheck[i]=FALSE; - bCheck[0] = TRUE; - channel = 0; - SendMessage(GetDlgItem(hWnd,IDC_CH), BM_SETCHECK, 1, 0); - - hBlackBrush= CreateSolidBrush(RGB(0,0,0)); - hRedPen= CreatePen(PS_SOLID,1,RGB(255,0,0)); - hBluePen= CreatePen(PS_SOLID,1,RGB(0,0,255)); - hGreenPen= CreatePen(PS_SOLID,1,RGB(0,255,0)); - hLTGreenPen= CreatePen(PS_SOLID,1,RGB(0,128,0)); - hYellowPen= CreatePen(PS_SOLID,1,RGB(255,255,0)); - hBlackPen= CreatePen(PS_SOLID,1,RGB(0,0,0)); - break; - - case WM_PAINT: - hDC = BeginPaint(hWnd, &ps); - - // DMA analog input box - SelectObject(hDC, GetStockObject(GRAY_BRUSH)); - Rectangle(hDC, output_pos[15].x-10, io_pos[15].y-24, output_pos[0].x+26, io_pos[0].y+195); - SetTextColor(hDC,RGB(255,0,0)); - TextOut(hDC, io_pos[15].x+105, io_pos[15].y-40, " Trigger Source : External Digital Trigger ", 43); - SetTextColor(hDC,RGB(255,255,0)); - SetBkColor(hDC, RGB(0, 0, 255)); - TextOut(hDC, io_pos[15].x, io_pos[15].y-35, "DMA Input", 9); - SelectObject(hDC, hBlackBrush); - Rectangle(hDC, output_pos[15].x+35, io_pos[15].y-2, output_pos[4].x+41, io_pos[0].y+172); - - SetBkMode(hDC,TRANSPARENT); - TextOut(hDC,output_pos[13].x-60, input_pos[10].y,"Samping Rate",12); - TextOut(hDC,output_pos[13].x+30, input_pos[15].y+20,"KHZ",3); - TextOut(hDC,output_pos[13].x+70, input_pos[10].y,"Buffer Size",11); - TextOut(hDC,input_pos[2].x-10, io_pos[15].y+118,"Range: +-1V",11); - TextOut(hDC,input_pos[15].x, io_pos[15].y-19,"Volt",4); - TextOut(hDC,input_pos[15].x, io_pos[15].y-5,"1.00",4); - TextOut(hDC,input_pos[15].x, io_pos[15].y+36,"0.50",4); - TextOut(hDC,input_pos[15].x, io_pos[15].y+77,"0.00",4); - TextOut(hDC,input_pos[15].x-3, io_pos[15].y+118,"-0.50",5); - TextOut(hDC,input_pos[15].x-3, io_pos[15].y+159,"-1.00",5); - TextOut(hDC,input_pos[10].x+10, io_pos[10].y-19,"Signals",7); - TextOut(hDC,output_pos[4].x+60, io_pos[0].y-15,"No. of CHs",10); - EndPaint(hWnd, &ps); - break; - - // Sample Rate Spin Control - case WM_VSCROLL: - switch (LOWORD(wParam)) { - case SB_LINEUP : - sample_rate+=100000; // 100K - if (sample_rate > 20*1000000) sample_rate=20*1000000; - break; - case SB_LINEDOWN: - sample_rate-=100000; // 100K - if (sample_rate < 5000 ) sample_rate=5000; - break; - } - wsprintf(n,"%d",sample_rate/1000); - SetWindowText(hEdit,n); - break; - case WM_COMMAND: - switch(LOWORD(wParam)) { - case IDM_EXIT: - SendMessage(hWnd, WM_CLOSE, 0, 0L); - break; - case IDC_CH: - case IDC_CH+1: - case IDC_CH+2: - if (!bCheck[wParam-IDC_CH]) { - SendMessage(GetDlgItem(hWnd,wParam), BM_SETCHECK, 1, 0); - SendMessage(GetDlgItem(hWnd,IDC_CH+channel), BM_SETCHECK, 0, 0); - bCheck[channel]=FALSE; - } - channel=wParam-IDC_CH; - bCheck[channel]=TRUE; - break; - case IDC_SHOW : - DialogBox(hInst, "DMABox", hWnd, ShowDMA); - break; - case IDC_START: - if (hMem != NULL) { - GlobalUnfix(hMem); - GlobalUnlock(hMem); - GlobalFree(hMem); - } - // allocate a memory for DMA - data_size=GetDlgItemInt(hWnd,IDC_EDIT1,NULL ,FALSE); - mem_size=data_size * 2; - hMem = GlobalAlloc(GMEM_FIXED | GMEM_ZEROINIT,mem_size); - ai_buf = (I16 *)GlobalLock(hMem); - if (ai_buf == NULL ) { - MessageBox(hWnd,"DMA", "No Memory", MB_OK); - SendMessage(hWnd, WM_CLOSE, 0, 0L); - break; - } - GlobalFix(hMem); - - sample_rate = GetDlgItemInt(hWnd,IDC_EDIT,NULL ,FALSE)*1000; - if (sample_rate > 20*1000000 ) sample_rate=20*1000000; - else if (sample_rate < 5000 ) sample_rate=5000; - - ch_cnt = (U16) pow((double)2.0, (double) channel); - if ((err = AI_9812_Config(card,P9812_TRGMOD_POST, P9812_TRGSRC_EXT_DIG, P9812_TRGSLP_POS, P9812_AD2_GT_PCI|P9812_CLKSRC_INT,0x80,0x10))<0) { - wsprintf(s, "AI Config Error = %d\n", err); - MessageBox(hWnd, s, "Error", MB_OK); - SendMessage(hWnd, WM_CLOSE, 0, 0L); - break; - } - if ((err = AI_ContScanChannels (card, ch_cnt-1, range, ai_buf, data_size, (F64)sample_rate, ASYNCH_OP)) != NoError) { - wsprintf(s, "AI_ContReadPort Error = %d\n", err); - MessageBox(hWnd, s, "Error", MB_OK); - SendMessage(hWnd, WM_CLOSE, 0, 0L); - break; - } - EnableWindow(hStart, FALSE); - hMainWnd = hWnd; - fstop = 0; - while (!fstop) - AI_AsyncCheck(card, &fstop, &count); - ProcessThread(); - MessageBeep(0); - break; - default: - return(DefWindowProc(hWnd, message, wParam, lParam)); - } - break; - case WM_DESTROY: - if (card >= 0) Release_Card(card); - DeleteObject(hBlackBrush); - DeleteObject(hRedPen); - DeleteObject(hBluePen); - DeleteObject(hLTGreenPen); - DeleteObject(hYellowPen); - GlobalUnfix(hMem); - GlobalUnlock(hMem); - GlobalFree(hMem); - PostQuitMessage(0); - break; - default: - return(DefWindowProc(hWnd, message, wParam, lParam)); - } - return(NULL); -} - -BOOL PASCAL ShowDMA(hDlg, message, wParam, lParam) -HWND hDlg; -UINT message; -WPARAM wParam; -LPARAM lParam; -{ - int nTabs[2] = {32, 92}; - int i; - char cBuf[100]; - char string[10]=" "; - char data_str[3]=" "; - I16 *pp; - U16 ch_no; - - switch (message) { - case WM_INITDIALOG: - hListBox = CreateWindow("LISTBOX", "Index Data CH#", - WS_CHILD | WS_VISIBLE | LBS_HASSTRINGS | LBS_STANDARD | LBS_USETABSTOPS |WS_CAPTION, - 50, 40, 240, 180, hDlg, 100, hInst, NULL); - SendMessage(hListBox, LB_RESETCONTENT, 0, 0L); - SendMessage(hListBox, LB_SETTABSTOPS, 2, (DWORD)(LPINT) nTabs); - SetDlgItemText(hDlg, DMA_DESCP, "This ListBox can show at most 4000 data"); - itoa( data_size, string, 10); - SetDlgItemText(hDlg, DMA_SPACE, string); - pp = (I16 *)ai_buf; - if (count >4000) count = 4000; - for(i=0;i>6, ch_no); - else - wsprintf(cBuf, "%5d\t %5d %3d", i, pp[i]>>4, ch_no); - SendMessage(hListBox, LB_INSERTSTRING, -1, (DWORD)(LPSTR)cBuf); - } - ShowWindow(hListBox, SW_SHOW); - return (TRUE); - case WM_COMMAND: - if (LOWORD(wParam) == ID_STOP) { - DestroyWindow(hListBox); - EndDialog(hDlg, TRUE); - return (TRUE); - } - break; - } - return (FALSE); -} - -void ProcessThread() -{ - HDC hDC; - I16 adinput, cur_channel; - U32 i, oldx[4], oldy[4], newx, newy; - - for (i=0; i<4; i++) { - oldx[i] = 0; - oldy[i] = 0; - } - hDC = GetDC(hMainWnd); - EnableWindow(hStart, TRUE); - AI_AsyncClear(card, &count); - SelectObject(hDC, hBlackBrush); - SelectObject(hDC, hBlackPen); - Rectangle(hDC, output_pos[15].x+35, io_pos[15].y-2, output_pos[4].x+41, io_pos[0].y+172); - for (i=0; i>4; - newy = io_pos[0].y+86-(87*(long)adinput)/2048; - newx = i*336/count+output_pos[15].x+35; - if (! oldx[cur_channel]) - MoveToEx(hDC, newx, newy, NULL); - else - MoveToEx(hDC, oldx[cur_channel], oldy[cur_channel], NULL); - LineTo(hDC, newx, newy); - oldx[cur_channel] = newx; - oldy[cur_channel] = newy; - } - ReleaseDC(hMainWnd, hDC); -} - \ No newline at end of file diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9812/SDK9812PostTrg/9812SPtg.exe b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9812/SDK9812PostTrg/9812SPtg.exe deleted file mode 100644 index 952921e..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9812/SDK9812PostTrg/9812SPtg.exe and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9812/SDK9812PostTrg/9812SPtg.mak b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9812/SDK9812PostTrg/9812SPtg.mak deleted file mode 100644 index d6aab6e..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9812/SDK9812PostTrg/9812SPtg.mak +++ /dev/null @@ -1,219 +0,0 @@ -# Microsoft Developer Studio Generated NMAKE File, Format Version 4.00 -# ** DO NOT EDIT ** - -# TARGTYPE "Win32 (x86) Application" 0x0101 - -!IF "$(CFG)" == "" -CFG=9812SPtg - Win32 Debug -!MESSAGE No configuration specified. Defaulting to 9812SPtg - Win32 Debug. -!ENDIF - -!IF "$(CFG)" != "9812SPtg - Win32 Release" && "$(CFG)" !=\ - "9812SPtg - Win32 Debug" -!MESSAGE Invalid configuration "$(CFG)" specified. -!MESSAGE You can specify a configuration when running NMAKE on this makefile -!MESSAGE by defining the macro CFG on the command line. For example: -!MESSAGE -!MESSAGE NMAKE /f "9812SPtg.mak" CFG="9812SPtg - Win32 Debug" -!MESSAGE -!MESSAGE Possible choices for configuration are: -!MESSAGE -!MESSAGE "9812SPtg - Win32 Release" (based on "Win32 (x86) Application") -!MESSAGE "9812SPtg - Win32 Debug" (based on "Win32 (x86) Application") -!MESSAGE -!ERROR An invalid configuration is specified. -!ENDIF - -!IF "$(OS)" == "Windows_NT" -NULL= -!ELSE -NULL=nul -!ENDIF -################################################################################ -# Begin Project -# PROP Target_Last_Scanned "9812SPtg - Win32 Debug" -CPP=cl.exe -RSC=rc.exe -MTL=mktyplib.exe - -!IF "$(CFG)" == "9812SPtg - Win32 Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "Release" -# PROP BASE Intermediate_Dir "Release" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "" -# PROP Intermediate_Dir "Release" -# PROP Target_Dir "" -OUTDIR=. -INTDIR=.\Release - -ALL : "$(OUTDIR)\9812SPtg.exe" - -CLEAN : - -@erase ".\9812SPtg.exe" - -@erase ".\Release\9812SPtg.obj" - -@erase ".\Release\9812SPTg.res" - -"$(INTDIR)" : - if not exist "$(INTDIR)/$(NULL)" mkdir "$(INTDIR)" - -# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /YX /c -# ADD CPP /nologo /MT /W3 /GX /Od /I "..\..\..\include" /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /c -# SUBTRACT CPP /YX -CPP_PROJ=/nologo /MT /W3 /GX /Od /I "..\..\..\include" /D "WIN32" /D "NDEBUG"\ - /D "_WINDOWS" /Fo"$(INTDIR)/" /c -CPP_OBJS=.\Release/ -CPP_SBRS= -# ADD BASE MTL /nologo /D "NDEBUG" /win32 -# ADD MTL /nologo /D "NDEBUG" /win32 -MTL_PROJ=/nologo /D "NDEBUG" /win32 -# ADD BASE RSC /l 0x409 /d "NDEBUG" -# ADD RSC /l 0x409 /d "NDEBUG" -RSC_PROJ=/l 0x409 /fo"$(INTDIR)/9812SPTg.res" /d "NDEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -BSC32_FLAGS=/nologo /o"$(OUTDIR)/9812SPtg.bsc" -BSC32_SBRS= -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:windows /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ..\..\..\lib\pci-dask.lib /nologo /subsystem:windows /machine:I386 -LINK32_FLAGS=kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib\ - advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib\ - odbccp32.lib ..\..\..\lib\pci-dask.lib /nologo /subsystem:windows\ - /incremental:no /pdb:"$(OUTDIR)/9812SPtg.pdb" /machine:I386\ - /out:"$(OUTDIR)/9812SPtg.exe" -LINK32_OBJS= \ - "$(INTDIR)/9812SPtg.obj" \ - "$(INTDIR)/9812SPTg.res" - -"$(OUTDIR)\9812SPtg.exe" : "$(OUTDIR)" $(DEF_FILE) $(LINK32_OBJS) - $(LINK32) @<< - $(LINK32_FLAGS) $(LINK32_OBJS) -<< - -!ELSEIF "$(CFG)" == "9812SPtg - Win32 Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "Debug" -# PROP BASE Intermediate_Dir "Debug" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "Debug" -# PROP Intermediate_Dir "Debug" -# PROP Target_Dir "" -OUTDIR=.\Debug -INTDIR=.\Debug - -ALL : "$(OUTDIR)\9812SPtg.exe" - -CLEAN : - -@erase ".\Debug\vc40.pdb" - -@erase ".\Debug\vc40.idb" - -@erase ".\Debug\9812SPtg.exe" - -@erase ".\Debug\9812SPtg.obj" - -@erase ".\Debug\9812SPTg.res" - -@erase ".\Debug\9812SPtg.ilk" - -@erase ".\Debug\9812SPtg.pdb" - -"$(OUTDIR)" : - if not exist "$(OUTDIR)/$(NULL)" mkdir "$(OUTDIR)" - -# ADD BASE CPP /nologo /W3 /Gm /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /YX /c -# ADD CPP /nologo /MTd /W3 /Gm /GX /Zi /Od /I "..\..\..\include" /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /c -# SUBTRACT CPP /YX -CPP_PROJ=/nologo /MTd /W3 /Gm /GX /Zi /Od /I "..\..\..\include" /D "WIN32" /D\ - "_DEBUG" /D "_WINDOWS" /Fo"$(INTDIR)/" /Fd"$(INTDIR)/" /c -CPP_OBJS=.\Debug/ -CPP_SBRS= -# ADD BASE MTL /nologo /D "_DEBUG" /win32 -# ADD MTL /nologo /D "_DEBUG" /win32 -MTL_PROJ=/nologo /D "_DEBUG" /win32 -# ADD BASE RSC /l 0x409 /d "_DEBUG" -# ADD RSC /l 0x409 /d "_DEBUG" -RSC_PROJ=/l 0x409 /fo"$(INTDIR)/9812SPTg.res" /d "_DEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -BSC32_FLAGS=/nologo /o"$(OUTDIR)/9812SPtg.bsc" -BSC32_SBRS= -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:windows /debug /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ..\..\..\lib\pci-dask.lib /nologo /subsystem:windows /debug /machine:I386 -LINK32_FLAGS=kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib\ - advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib\ - odbccp32.lib ..\..\..\lib\pci-dask.lib /nologo /subsystem:windows\ - /incremental:yes /pdb:"$(OUTDIR)/9812SPtg.pdb" /debug /machine:I386\ - /out:"$(OUTDIR)/9812SPtg.exe" -LINK32_OBJS= \ - "$(INTDIR)/9812SPtg.obj" \ - "$(INTDIR)/9812SPTg.res" - -"$(OUTDIR)\9812SPtg.exe" : "$(OUTDIR)" $(DEF_FILE) $(LINK32_OBJS) - $(LINK32) @<< - $(LINK32_FLAGS) $(LINK32_OBJS) -<< - -!ENDIF - -.c{$(CPP_OBJS)}.obj: - $(CPP) $(CPP_PROJ) $< - -.cpp{$(CPP_OBJS)}.obj: - $(CPP) $(CPP_PROJ) $< - -.cxx{$(CPP_OBJS)}.obj: - $(CPP) $(CPP_PROJ) $< - -.c{$(CPP_SBRS)}.sbr: - $(CPP) $(CPP_PROJ) $< - -.cpp{$(CPP_SBRS)}.sbr: - $(CPP) $(CPP_PROJ) $< - -.cxx{$(CPP_SBRS)}.sbr: - $(CPP) $(CPP_PROJ) $< - -################################################################################ -# Begin Target - -# Name "9812SPtg - Win32 Release" -# Name "9812SPtg - Win32 Debug" - -!IF "$(CFG)" == "9812SPtg - Win32 Release" - -!ELSEIF "$(CFG)" == "9812SPtg - Win32 Debug" - -!ENDIF - -################################################################################ -# Begin Source File - -SOURCE=.\9812SPTg.rc - -"$(INTDIR)\9812SPTg.res" : $(SOURCE) "$(INTDIR)" - $(RSC) $(RSC_PROJ) $(SOURCE) - - -# End Source File -################################################################################ -# Begin Source File - -SOURCE=.\9812SPtg.c -DEP_CPP_9812S=\ - ".\..\..\..\include\Dask.h"\ - - -"$(INTDIR)\9812SPtg.obj" : $(SOURCE) $(DEP_CPP_9812S) "$(INTDIR)" - - -# End Source File -# End Target -# End Project -################################################################################ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9812/SDK9812PostTrg/9812SPtg.mdp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9812/SDK9812PostTrg/9812SPtg.mdp deleted file mode 100644 index 576b9be..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9812/SDK9812PostTrg/9812SPtg.mdp and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9812/SDK9812PostTrg/Resource.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9812/SDK9812PostTrg/Resource.h deleted file mode 100644 index 964307d..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9812/SDK9812PostTrg/Resource.h +++ /dev/null @@ -1,26 +0,0 @@ -//{{NO_DEPENDENCIES}} -// Microsoft Developer Studio generated include file. -// Used by 9812SPTg.rc -// -#define IDM_SETUP 101 -#define IDD_DIALOG1 101 -#define IDD_DIALOG2 104 -#define IDM_EXIT 110 -#define ID_CARDNUMBER 122 -#define ID_STOP 304 -#define DMA_SPACE 500 -#define DMA_DESCP 600 -#define IDC_COMBO1 1001 -#define IDC_COMBO2 1002 -#define IDC_STATIC -1 - -// Next default values for new objects -// -#ifdef APSTUDIO_INVOKED -#ifndef APSTUDIO_READONLY_SYMBOLS -#define _APS_NEXT_RESOURCE_VALUE 105 -#define _APS_NEXT_COMMAND_VALUE 123 -#define _APS_NEXT_CONTROL_VALUE 1003 -#define _APS_NEXT_SYMED_VALUE 101 -#endif -#endif diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9812/SDK9812PreTrg/9812SPrg.c b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9812/SDK9812PreTrg/9812SPrg.c deleted file mode 100644 index 692331c..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9812/SDK9812PreTrg/9812SPrg.c +++ /dev/null @@ -1,501 +0,0 @@ -#include "windows.h" -#include -#include -#include -#include -#include -#include "resource.h" -#include "Dask.h" - -#define IDM_EXIT 110 -#define IDC_SCROLL 207 -#define IDC_SPIN 301 -#define IDC_START 208 -#define IDC_EDIT 211 -#define IDC_EDIT1 214 -#define IDC_SHOW 213 -#define IDC_CH 400 - -int PASCAL WinMain(HANDLE, HANDLE, LPSTR, int); -long PASCAL MainWndProc(HWND, UINT, WPARAM, LPARAM); -BOOL PASCAL ShowDMA(HWND, UINT, WPARAM, LPARAM); - -HANDLE hInst; -HWND hListBox; -HWND hEdit,hEdit1, hStart; -BOOL bCheck[3]; - -HBRUSH hBlackBrush; -HPEN hRedPen, hBlackPen, hBluePen, hYellowPen, hGreenPen, hLTGreenPen; -HWND hMainWnd; - -//unsigned int sample_rate=10000; -long sample_rate=1000000; -U16 channel=0, range = AD_B_1_V, ch_cnt; -U32 data_size=1024, mem_size; -static HANDLE hMem=NULL; -I16 *ai_buf; -I16 card=-1, card_number = 0; -U32 count; -BOOLEAN fstop =0; -BOOLEAN clear_op; -U16 card_type = 0; - -POINT input_pos[16]= {{470, 280}, {440, 280}, - {410, 280}, {380, 280}, - {350, 280}, {320, 280}, - { 290, 280}, {260, 280}, - {230, 280}, {200, 280}, - {170, 280}, {140, 280}, - {110, 280}, {80, 280}, - { 50, 280}, { 20, 280}, - }; -POINT output_pos[16] ={ - {470, 340}, {440, 340}, - {410, 340}, {380, 340}, - {350, 340}, {320, 340}, - { 290, 340}, {260, 340}, - {230, 340}, {200, 340}, - {170, 340}, {140, 340}, - {110, 340}, {80, 340}, - { 50, 340}, { 20, 340}, - }; - -POINT io_pos[16] ={ - {395, 40}, {370, 40}, - {345, 40}, {320, 40}, - {295, 40}, {270, 40}, - { 245, 40}, {220, 40}, - {195, 40}, {170, 40}, - {145, 40}, {120, 40}, - {95, 40}, {70, 40}, - { 45, 40}, { 20, 40}, - }; - -BOOL InitApplication(HANDLE); -BOOL InitInstance(HANDLE, int); -//void ProcessThread(void* pArg); -void ProcessThread(); - -int PASCAL WinMain(hInstance, hPrevInstance, lpCmdLine, nCmdShow) -HANDLE hInstance, hPrevInstance; -LPSTR lpCmdLine; -int nCmdShow; -{ - MSG msg; - - if (!hPrevInstance) - if (!InitApplication(hInstance)) return(FALSE); - if (!InitInstance(hInstance, nCmdShow)) return(FALSE); - while (GetMessage(&msg, NULL, NULL, NULL)) { - TranslateMessage(&msg); - DispatchMessage(&msg); - } - return(msg.wParam); -} - -BOOL InitApplication(hInstance) -HANDLE hInstance; -{ - WNDCLASS wc; - - /* Main Window Class */ - wc.style = NULL; - wc.lpfnWndProc = (WNDPROC)MainWndProc; - wc.cbClsExtra = 0; - wc.cbWndExtra = 0; - wc.hInstance = hInstance; - wc.hIcon = LoadIcon(hInstance, "MyIcon"); - wc.hCursor = LoadCursor(NULL, IDC_ARROW); - wc.hbrBackground = GetStockObject(LTGRAY_BRUSH); - wc.lpszMenuName = NULL; - wc.lpszClassName = "GenericWClass"; - if (!RegisterClass(&wc)) return(FALSE); -} - - -BOOL InitInstance(hInstance, nCmdShow) -HANDLE hInstance; -int nCmdShow; -{ - HWND hWnd; - HMENU hSampleMenu; - - hInst = hInstance; - hSampleMenu = LoadMenu(hInstance, "U7120Menu"); - hWnd = CreateWindow("GenericWClass", - (LPCSTR)"PCI-9812 Single Buffered DMA with Pre-Trigger Mode", - WS_OVERLAPPEDWINDOW, - CW_USEDEFAULT, - CW_USEDEFAULT, - 520, - 400, - NULL, - hSampleMenu, - hInstance, - NULL); - if (!hWnd) return(FALSE); - ShowWindow(hWnd, nCmdShow); - UpdateWindow(hWnd); - return(TRUE); -} - -BOOL PASCAL setup(HWND hWnd, unsigned message, WPARAM wParam, LPARAM lParam) -{ - int i; - char n[16]; - char s[50]; - switch (message) { - case WM_INITDIALOG: - sprintf(n, "PCI9812"); - SendMessage(GetDlgItem(hWnd,IDC_COMBO1), CB_ADDSTRING, NULL, (LONG)(LPSTR) n); - sprintf(n, "PCI9810"); - SendMessage(GetDlgItem(hWnd,IDC_COMBO1), CB_ADDSTRING, NULL, (LONG)(LPSTR) n); - SendMessage(GetDlgItem(hWnd,IDC_COMBO1) , CB_SETCURSEL, 0, 0L); - for (i=0;i<16;i++) { - wsprintf(n, "%d", i); - _strupr(n); - SendMessage(GetDlgItem(hWnd,IDC_COMBO2), CB_ADDSTRING, NULL, (LONG)(LPSTR) n); - } - SendMessage(GetDlgItem(hWnd,IDC_COMBO2) , CB_SETCURSEL, 0, 0L); - break; - case WM_COMMAND: - switch(LOWORD(wParam)) { - - case IDC_COMBO1: - if (HIWORD(wParam) == CBN_CLOSEUP) { - i = (int)SendMessage(GetDlgItem(hWnd,IDC_COMBO1), CB_GETCURSEL, 0, 0L); - SendMessage(GetDlgItem(hWnd,IDC_COMBO1), CB_GETLBTEXT, i, (LPARAM)((LPCSTR)n)); - card_type= i; - } - return(TRUE); - case IDC_COMBO2: - if (HIWORD(wParam) == CBN_CLOSEUP) { - i = (int)SendMessage(GetDlgItem(hWnd,IDC_COMBO2), CB_GETCURSEL, 0, 0L); - SendMessage(GetDlgItem(hWnd,IDC_COMBO2), CB_GETLBTEXT, i, (LPARAM)((LPCSTR)n)); - card_number = i; - } - return(TRUE); - case IDOK: - if ((card=Register_Card(PCI_9812, card_number)) < 0) { - wsprintf(s, "Register_Card Error = %d\n", card); - MessageBox(hWnd, s, "Error", MB_OK); - SendMessage(hWnd, WM_CLOSE, 0, 0L); - break; - } - EndDialog(hWnd, TRUE); - InvalidateRect(hWnd, NULL, FALSE); - return (TRUE); - case IDCANCEL: - EndDialog(hWnd, TRUE); - return (TRUE); - } - break; - } - return (FALSE); -} - -long PASCAL MainWndProc(hWnd, message, wParam, lParam) -HWND hWnd; -UINT message; -WPARAM wParam; -LPARAM lParam; -{ - HDC hDC; - PAINTSTRUCT ps; - int i; - char n[6]; - static int pos=0; - I16 err; - char s[50]; - U16 Status; - - switch(message) { - case WM_CREATE: - - DialogBox(hInst,IDD_DIALOG2, hWnd, setup); - if(card<0) { - SendMessage(hWnd, WM_CLOSE, 0, 0L); - break; - } - hEdit=CreateWindow("EDIT", NULL, - WS_CHILD | WS_VISIBLE | ES_LEFT, - output_pos[13].x-60, input_pos[15].y+20,70, 20, hWnd, IDC_EDIT, hInst, NULL); - - hEdit1=CreateWindow("EDIT", NULL, - WS_CHILD | WS_VISIBLE | ES_LEFT, - output_pos[13].x+90, input_pos[15].y+20,60, 20, hWnd, IDC_EDIT1, hInst, NULL); - - - wsprintf(n,"%d",sample_rate/1000); - SetWindowText(hEdit,n); - - wsprintf(n,"%d",data_size); - SetWindowText(hEdit1,n); - - - CreateWindow("SCROLLBAR", NULL, - WS_CHILD | WS_VISIBLE | SBS_VERT, - output_pos[13].x+10, input_pos[15].y+20,20, 20, hWnd, IDC_SCROLL, hInst, NULL); - - hStart = CreateWindow("BUTTON","Start" , - WS_CHILD | WS_VISIBLE , - output_pos[10].x+130, input_pos[10].y+10,50, 30, hWnd, IDC_START, hInst, NULL); - - CreateWindow("BUTTON","Data Value" , - WS_CHILD | WS_VISIBLE , - output_pos[10].x+210, input_pos[10].y+10,80, 30, hWnd, IDC_SHOW, hInst, NULL); - - CreateWindow("BUTTON","1" , - WS_CHILD | WS_VISIBLE | BS_AUTORADIOBUTTON | BS_LEFTTEXT | WS_GROUP , - output_pos[4].x+80, io_pos[0].y-5+20,25,15, hWnd,IDC_CH, hInst, NULL); - - CreateWindow("BUTTON","2" , - WS_CHILD | WS_VISIBLE | BS_AUTORADIOBUTTON | BS_LEFTTEXT | WS_GROUP, - output_pos[4].x+80, io_pos[0].y+13+20,25,15, hWnd,IDC_CH+1, hInst, NULL); - - //default channel 0 - for (i=1;i<3;i++) bCheck[i]=FALSE; - bCheck[0] = TRUE; - channel = 0; - SendMessage(GetDlgItem(hWnd,IDC_CH), BM_SETCHECK, 1, 0); - - hBlackBrush= CreateSolidBrush(RGB(0,0,0)); - hRedPen= CreatePen(PS_SOLID,1,RGB(255,0,0)); - hBluePen= CreatePen(PS_SOLID,1,RGB(0,0,255)); - hGreenPen= CreatePen(PS_SOLID,1,RGB(0,255,0)); - hLTGreenPen= CreatePen(PS_SOLID,1,RGB(0,128,0)); - hYellowPen= CreatePen(PS_SOLID,1,RGB(255,255,0)); - hBlackPen= CreatePen(PS_SOLID,1,RGB(0,0,0)); - break; - - case WM_PAINT: - hDC = BeginPaint(hWnd, &ps); - - // DMA analog input box - SelectObject(hDC, GetStockObject(GRAY_BRUSH)); - Rectangle(hDC, output_pos[15].x-10, io_pos[15].y-24, output_pos[0].x+26, io_pos[0].y+195); - SetTextColor(hDC,RGB(255,0,0)); - TextOut(hDC, io_pos[15].x+105, io_pos[15].y-40, " Trigger Source : External Digital Trigger ", 43); - SetTextColor(hDC,RGB(255,255,0)); - SetBkColor(hDC, RGB(0, 0, 255)); - TextOut(hDC, io_pos[15].x, io_pos[15].y-35, "DMA Input", 9); - SelectObject(hDC, hBlackBrush); - Rectangle(hDC, output_pos[15].x+35, io_pos[15].y-2, output_pos[4].x+41, io_pos[0].y+172); - - SetBkMode(hDC,TRANSPARENT); - TextOut(hDC,output_pos[13].x-60, input_pos[10].y,"Samping Rate",12); - TextOut(hDC,output_pos[13].x+30, input_pos[15].y+20,"KHZ",3); - TextOut(hDC,output_pos[13].x+70, input_pos[10].y,"Buffer Size",11); - TextOut(hDC,input_pos[2].x-10, io_pos[15].y+118,"Range: +-1V",11); - TextOut(hDC,input_pos[15].x, io_pos[15].y-19,"Volt",4); - TextOut(hDC,input_pos[15].x, io_pos[15].y-5,"1.00",4); - TextOut(hDC,input_pos[15].x, io_pos[15].y+36,"0.50",4); - TextOut(hDC,input_pos[15].x, io_pos[15].y+77,"0.00",4); - TextOut(hDC,input_pos[15].x-3, io_pos[15].y+118,"-0.50",5); - TextOut(hDC,input_pos[15].x-3, io_pos[15].y+159,"-1.00",5); - TextOut(hDC,input_pos[10].x+10, io_pos[10].y-19,"Signals",7); - TextOut(hDC,output_pos[4].x+60, io_pos[0].y-15,"No. of CHs",10); - EndPaint(hWnd, &ps); - break; - - // Sample Rate Spin Control - case WM_VSCROLL: - switch (LOWORD(wParam)) { - case SB_LINEUP : - sample_rate+=100000; // 100K every increase - if (sample_rate > 20*1000000 ) sample_rate=20*1000000; - break; - case SB_LINEDOWN: - sample_rate-=100000; // 100K every decrease - if (sample_rate < 5000 ) sample_rate=5000; - break; - } - wsprintf(n,"%d",sample_rate/1000); - SetWindowText(hEdit,n); - break; - case WM_COMMAND: - switch(LOWORD(wParam)) { - case IDM_EXIT: - SendMessage(hWnd, WM_CLOSE, 0, 0L); - break; - case IDC_CH: - case IDC_CH+1: - case IDC_CH+2: - if (!bCheck[wParam-IDC_CH]) { - SendMessage(GetDlgItem(hWnd,wParam), BM_SETCHECK, 1, 0); - SendMessage(GetDlgItem(hWnd,IDC_CH+channel), BM_SETCHECK, 0, 0); - bCheck[channel]=FALSE; - } - channel=wParam-IDC_CH; - bCheck[channel]=TRUE; - break; - case IDC_SHOW : - DialogBox(hInst, "DMABox", hWnd, ShowDMA); - break; - case IDC_START: - if (hMem != NULL) { - GlobalUnfix(hMem); - GlobalUnlock(hMem); - GlobalFree(hMem); - } - // allocate a memory for DMA - data_size=GetDlgItemInt(hWnd,IDC_EDIT1,NULL ,FALSE); - mem_size=data_size * 2; - hMem = GlobalAlloc(GMEM_FIXED | GMEM_ZEROINIT,mem_size); - ai_buf = (I16 *)GlobalLock(hMem); - if (ai_buf == NULL ) { - MessageBox(hWnd,"DMA", "No Memory", MB_OK); - SendMessage(hWnd, WM_CLOSE, 0, 0L); - break; - } - GlobalFix(hMem); - - sample_rate = GetDlgItemInt(hWnd,IDC_EDIT,NULL ,FALSE)*1000; - if (sample_rate > 20*1000000 ) sample_rate=20*1000000; - else if (sample_rate < 5000 ) sample_rate=5000; - - //ch_cnt = (U16) pow((double)2.0, (double) channel); -ch_cnt = 4; - if ((err = AI_9812_Config(card,P9812_TRGMOD_PRE, P9812_TRGSRC_EXT_DIG, P9812_TRGSLP_POS, P9812_AD2_GT_PCI|P9812_CLKSRC_INT,0,0x1))<0) { - wsprintf(s, "AI Config Error = %d\n", err); - MessageBox(hWnd, s, "Error", MB_OK); - SendMessage(hWnd, WM_CLOSE, 0, 0L); - break; - } - AI_ContStatus (card, &Status); - //if(!(Status & 0x01)) { - wsprintf(s, "FIFO Status before = %d\n", Status); - MessageBox(hWnd, s, "Error", MB_OK); - // } - if ((AI_ContScanChannels (card, ch_cnt-1, range, ai_buf, data_size, (F64)sample_rate, ASYNCH_OP)) != NoError) { - wsprintf(s, "AI_ContReadPort Error = %d\n", err); - MessageBox(hWnd, s, "Error", MB_OK); - SendMessage(hWnd, WM_CLOSE, 0, 0L); - break; - } - EnableWindow(hStart, FALSE); - hMainWnd = hWnd; - clear_op = FALSE; - fstop = 0; - while (!fstop) { - AI_AsyncCheck(card, &fstop, &count); - } - ProcessThread(); - MessageBeep(0); - break; - default: - return(DefWindowProc(hWnd, message, wParam, lParam)); - } - break; - case WM_DESTROY: - if (card >= 0) Release_Card(card); - DeleteObject(hBlackBrush); - DeleteObject(hRedPen); - DeleteObject(hBluePen); - DeleteObject(hLTGreenPen); - DeleteObject(hYellowPen); - GlobalUnfix(hMem); - GlobalUnlock(hMem); - GlobalFree(hMem); - PostQuitMessage(0); - break; - default: - return(DefWindowProc(hWnd, message, wParam, lParam)); - } - return(NULL); -} - -BOOL PASCAL ShowDMA(hDlg, message, wParam, lParam) -HWND hDlg; -UINT message; -WPARAM wParam; -LPARAM lParam; -{ - int nTabs[2] = {32, 92}; - int i; - char cBuf[100]; - char string[10]=" "; - char data_str[3]=" "; - I16 *pp, ch_no; - - switch (message) { - case WM_INITDIALOG: - hListBox = CreateWindow("LISTBOX", "Index Data CH#", - WS_CHILD | WS_VISIBLE | LBS_HASSTRINGS | LBS_STANDARD | LBS_USETABSTOPS |WS_CAPTION, - 50, 40, 240, 180, hDlg, 100, hInst, NULL); - SendMessage(hListBox, LB_RESETCONTENT, 0, 0L); - SendMessage(hListBox, LB_SETTABSTOPS, 2, (DWORD)(LPINT) nTabs); - SetDlgItemText(hDlg, DMA_DESCP, "This ListBox can show at most 4000 data"); - itoa( data_size, string, 10); - SetDlgItemText(hDlg, DMA_SPACE, string); - pp = (I16 *)ai_buf; - if (count >4000) count = 4000; - for(i=0;i>6, ch_no); - else - wsprintf(cBuf, "%5d\t %5d %2d", i, pp[i]>>4, ch_no); - SendMessage(hListBox, LB_INSERTSTRING, -1, (DWORD)(LPSTR)cBuf); - } - ShowWindow(hListBox, SW_SHOW); - return (TRUE); - case WM_COMMAND: - if (LOWORD(wParam) == ID_STOP) { - DestroyWindow(hListBox); - EndDialog(hDlg, TRUE); - return (TRUE); - } - break; - } - return (FALSE); -} - -void ProcessThread() -{ - HDC hDC; - I16 adinput, cur_channel; - U32 i, oldx[4], oldy[4], newx, newy; - - hDC = GetDC(hMainWnd); - for (i=0; i<4; i++) { - oldx[i] = 0; - oldy[i] = 0; - } - - EnableWindow(hStart, TRUE); - AI_AsyncClear(card, &count); - SelectObject(hDC, hBlackBrush); - SelectObject(hDC, hBlackPen); - Rectangle(hDC, output_pos[15].x+35, io_pos[15].y-2, output_pos[4].x+41, io_pos[0].y+172); - for (i=0; i>4; - newy = io_pos[0].y+86-(87*(long)adinput)/2048; - newx = i*336/data_size+output_pos[15].x+35; - if (! oldx[cur_channel]) - MoveToEx(hDC, newx, newy, NULL); - else - MoveToEx(hDC, oldx[cur_channel], oldy[cur_channel], NULL); - LineTo(hDC, newx, newy); - oldx[cur_channel] = newx; - oldy[cur_channel]= newy; - } - ReleaseDC(hMainWnd, hDC); -} - \ No newline at end of file diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9812/SDK9812PreTrg/9812SPrg.exe b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9812/SDK9812PreTrg/9812SPrg.exe deleted file mode 100644 index 35f5f58..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9812/SDK9812PreTrg/9812SPrg.exe and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9812/SDK9812PreTrg/9812SPrg.mak b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9812/SDK9812PreTrg/9812SPrg.mak deleted file mode 100644 index 385dbf4..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9812/SDK9812PreTrg/9812SPrg.mak +++ /dev/null @@ -1,219 +0,0 @@ -# Microsoft Developer Studio Generated NMAKE File, Format Version 4.00 -# ** DO NOT EDIT ** - -# TARGTYPE "Win32 (x86) Application" 0x0101 - -!IF "$(CFG)" == "" -CFG=9812SPrg - Win32 Debug -!MESSAGE No configuration specified. Defaulting to 9812SPrg - Win32 Debug. -!ENDIF - -!IF "$(CFG)" != "9812SPrg - Win32 Release" && "$(CFG)" !=\ - "9812SPrg - Win32 Debug" -!MESSAGE Invalid configuration "$(CFG)" specified. -!MESSAGE You can specify a configuration when running NMAKE on this makefile -!MESSAGE by defining the macro CFG on the command line. For example: -!MESSAGE -!MESSAGE NMAKE /f "9812SPrg.mak" CFG="9812SPrg - Win32 Debug" -!MESSAGE -!MESSAGE Possible choices for configuration are: -!MESSAGE -!MESSAGE "9812SPrg - Win32 Release" (based on "Win32 (x86) Application") -!MESSAGE "9812SPrg - Win32 Debug" (based on "Win32 (x86) Application") -!MESSAGE -!ERROR An invalid configuration is specified. -!ENDIF - -!IF "$(OS)" == "Windows_NT" -NULL= -!ELSE -NULL=nul -!ENDIF -################################################################################ -# Begin Project -# PROP Target_Last_Scanned "9812SPrg - Win32 Debug" -CPP=cl.exe -RSC=rc.exe -MTL=mktyplib.exe - -!IF "$(CFG)" == "9812SPrg - Win32 Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "Release" -# PROP BASE Intermediate_Dir "Release" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "" -# PROP Intermediate_Dir "Release" -# PROP Target_Dir "" -OUTDIR=. -INTDIR=.\Release - -ALL : "$(OUTDIR)\9812SPrg.exe" - -CLEAN : - -@erase ".\9812SPrg.exe" - -@erase ".\Release\9812SPrg.obj" - -@erase ".\Release\9812SPrg.res" - -"$(INTDIR)" : - if not exist "$(INTDIR)/$(NULL)" mkdir "$(INTDIR)" - -# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /YX /c -# ADD CPP /nologo /MT /W3 /GX /Od /I "..\..\..\include" /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /c -# SUBTRACT CPP /YX -CPP_PROJ=/nologo /MT /W3 /GX /Od /I "..\..\..\include" /D "WIN32" /D "NDEBUG"\ - /D "_WINDOWS" /Fo"$(INTDIR)/" /c -CPP_OBJS=.\Release/ -CPP_SBRS= -# ADD BASE MTL /nologo /D "NDEBUG" /win32 -# ADD MTL /nologo /D "NDEBUG" /win32 -MTL_PROJ=/nologo /D "NDEBUG" /win32 -# ADD BASE RSC /l 0x409 /d "NDEBUG" -# ADD RSC /l 0x409 /d "NDEBUG" -RSC_PROJ=/l 0x409 /fo"$(INTDIR)/9812SPrg.res" /d "NDEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -BSC32_FLAGS=/nologo /o"$(OUTDIR)/9812SPrg.bsc" -BSC32_SBRS= -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:windows /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ..\..\..\lib\pci-dask.lib /nologo /subsystem:windows /machine:I386 -LINK32_FLAGS=kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib\ - advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib\ - odbccp32.lib ..\..\..\lib\pci-dask.lib /nologo /subsystem:windows\ - /incremental:no /pdb:"$(OUTDIR)/9812SPrg.pdb" /machine:I386\ - /out:"$(OUTDIR)/9812SPrg.exe" -LINK32_OBJS= \ - ".\Release\9812SPrg.obj" \ - ".\Release\9812SPrg.res" - -"$(OUTDIR)\9812SPrg.exe" : "$(OUTDIR)" $(DEF_FILE) $(LINK32_OBJS) - $(LINK32) @<< - $(LINK32_FLAGS) $(LINK32_OBJS) -<< - -!ELSEIF "$(CFG)" == "9812SPrg - Win32 Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "Debug" -# PROP BASE Intermediate_Dir "Debug" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "Debug" -# PROP Intermediate_Dir "Debug" -# PROP Target_Dir "" -OUTDIR=.\Debug -INTDIR=.\Debug - -ALL : "$(OUTDIR)\9812SPrg.exe" - -CLEAN : - -@erase ".\Debug\vc40.pdb" - -@erase ".\Debug\vc40.idb" - -@erase ".\Debug\9812SPrg.exe" - -@erase ".\Debug\9812SPrg.obj" - -@erase ".\Debug\9812SPrg.res" - -@erase ".\Debug\9812SPrg.ilk" - -@erase ".\Debug\9812SPrg.pdb" - -"$(OUTDIR)" : - if not exist "$(OUTDIR)/$(NULL)" mkdir "$(OUTDIR)" - -# ADD BASE CPP /nologo /W3 /Gm /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /YX /c -# ADD CPP /nologo /MTd /W3 /Gm /GX /Zi /Od /I "..\..\..\include" /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /c -# SUBTRACT CPP /YX -CPP_PROJ=/nologo /MTd /W3 /Gm /GX /Zi /Od /I "..\..\..\include" /D "WIN32" /D\ - "_DEBUG" /D "_WINDOWS" /Fo"$(INTDIR)/" /Fd"$(INTDIR)/" /c -CPP_OBJS=.\Debug/ -CPP_SBRS= -# ADD BASE MTL /nologo /D "_DEBUG" /win32 -# ADD MTL /nologo /D "_DEBUG" /win32 -MTL_PROJ=/nologo /D "_DEBUG" /win32 -# ADD BASE RSC /l 0x409 /d "_DEBUG" -# ADD RSC /l 0x409 /d "_DEBUG" -RSC_PROJ=/l 0x409 /fo"$(INTDIR)/9812SPrg.res" /d "_DEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -BSC32_FLAGS=/nologo /o"$(OUTDIR)/9812SPrg.bsc" -BSC32_SBRS= -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:windows /debug /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ..\..\..\lib\pci-dask.lib /nologo /subsystem:windows /debug /machine:I386 -LINK32_FLAGS=kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib\ - advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib\ - odbccp32.lib ..\..\..\lib\pci-dask.lib /nologo /subsystem:windows\ - /incremental:yes /pdb:"$(OUTDIR)/9812SPrg.pdb" /debug /machine:I386\ - /out:"$(OUTDIR)/9812SPrg.exe" -LINK32_OBJS= \ - ".\Debug\9812SPrg.obj" \ - ".\Debug\9812SPrg.res" - -"$(OUTDIR)\9812SPrg.exe" : "$(OUTDIR)" $(DEF_FILE) $(LINK32_OBJS) - $(LINK32) @<< - $(LINK32_FLAGS) $(LINK32_OBJS) -<< - -!ENDIF - -.c{$(CPP_OBJS)}.obj: - $(CPP) $(CPP_PROJ) $< - -.cpp{$(CPP_OBJS)}.obj: - $(CPP) $(CPP_PROJ) $< - -.cxx{$(CPP_OBJS)}.obj: - $(CPP) $(CPP_PROJ) $< - -.c{$(CPP_SBRS)}.sbr: - $(CPP) $(CPP_PROJ) $< - -.cpp{$(CPP_SBRS)}.sbr: - $(CPP) $(CPP_PROJ) $< - -.cxx{$(CPP_SBRS)}.sbr: - $(CPP) $(CPP_PROJ) $< - -################################################################################ -# Begin Target - -# Name "9812SPrg - Win32 Release" -# Name "9812SPrg - Win32 Debug" - -!IF "$(CFG)" == "9812SPrg - Win32 Release" - -!ELSEIF "$(CFG)" == "9812SPrg - Win32 Debug" - -!ENDIF - -################################################################################ -# Begin Source File - -SOURCE=.\9812SPrg.rc - -"$(INTDIR)\9812SPrg.res" : $(SOURCE) "$(INTDIR)" - $(RSC) $(RSC_PROJ) $(SOURCE) - - -# End Source File -################################################################################ -# Begin Source File - -SOURCE=.\9812SPrg.c -DEP_CPP_9812S=\ - ".\..\..\..\include\Dask.h"\ - - -"$(INTDIR)\9812SPrg.obj" : $(SOURCE) $(DEP_CPP_9812S) "$(INTDIR)" - - -# End Source File -# End Target -# End Project -################################################################################ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9812/SDK9812PreTrg/9812SPrg.mdp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9812/SDK9812PreTrg/9812SPrg.mdp deleted file mode 100644 index 951ea5d..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9812/SDK9812PreTrg/9812SPrg.mdp and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9812/SDK9812PreTrg/9812SPrg.rc b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9812/SDK9812PreTrg/9812SPrg.rc deleted file mode 100644 index fd1108d..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9812/SDK9812PreTrg/9812SPrg.rc +++ /dev/null @@ -1,128 +0,0 @@ -//Microsoft Developer Studio generated resource script. -// -#include "resource.h" - -#define APSTUDIO_READONLY_SYMBOLS -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 2 resource. -// -#define APSTUDIO_HIDDEN_SYMBOLS -#include "windows.h" -#undef APSTUDIO_HIDDEN_SYMBOLS - -///////////////////////////////////////////////////////////////////////////// -#undef APSTUDIO_READONLY_SYMBOLS - -///////////////////////////////////////////////////////////////////////////// -// English (U.S.) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -#ifdef _WIN32 -LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US -#pragma code_page(1252) -#endif //_WIN32 - -///////////////////////////////////////////////////////////////////////////// -// -// Menu -// - -U7120MENU MENU DISCARDABLE -BEGIN - MENUITEM "E&xit!", IDM_EXIT -END - - -#ifdef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// TEXTINCLUDE -// - -1 TEXTINCLUDE DISCARDABLE -BEGIN - "resource.h\0" -END - -2 TEXTINCLUDE DISCARDABLE -BEGIN - "#define APSTUDIO_HIDDEN_SYMBOLS\r\n" - "#include ""windows.h""\r\n" - "#undef APSTUDIO_HIDDEN_SYMBOLS\r\n" - "\0" -END - -3 TEXTINCLUDE DISCARDABLE -BEGIN - "\r\n" - "\0" -END - -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog -// - -DMABOX DIALOG DISCARDABLE 18, 10, 171, 169 -STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "Data Value (half of circular buffer)" -FONT 8, "System" -BEGIN - PUSHBUTTON "STOP",ID_STOP,82,147,24,14 - LTEXT "Data Transferred :",-1,39,119,64,8 - LTEXT "Text",DMA_SPACE,103,118,41,8 - LTEXT "Text",DMA_DESCP,16,6,158,8 -END - -IDD_DIALOG2 DIALOG DISCARDABLE 110, 10, 110, 74 -STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "Card Type" -FONT 10, "System" -BEGIN - DEFPUSHBUTTON "OK",IDOK,9,53,39,14 - PUSHBUTTON "Cancel",IDCANCEL,59,53,38,14 - COMBOBOX IDC_COMBO1,52,29,51,45,CBS_DROPDOWN | WS_VSCROLL | - WS_TABSTOP - LTEXT "Card Type",IDC_STATIC,3,30,46,13 - LTEXT "Card Number",IDC_STATIC,3,10,45,12 - COMBOBOX IDC_COMBO2,51,10,52,69,CBS_DROPDOWN | WS_VSCROLL | - WS_TABSTOP -END - - -///////////////////////////////////////////////////////////////////////////// -// -// DESIGNINFO -// - -#ifdef APSTUDIO_INVOKED -GUIDELINES DESIGNINFO DISCARDABLE -BEGIN - IDD_DIALOG2, DIALOG - BEGIN - LEFTMARGIN, 3 - RIGHTMARGIN, 103 - BOTTOMMARGIN, 67 - END -END -#endif // APSTUDIO_INVOKED - -#endif // English (U.S.) resources -///////////////////////////////////////////////////////////////////////////// - - - -#ifndef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 3 resource. -// - - -///////////////////////////////////////////////////////////////////////////// -#endif // not APSTUDIO_INVOKED - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9812/SDK9812PreTrg/Resource.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9812/SDK9812PreTrg/Resource.h deleted file mode 100644 index 19823d6..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9812/SDK9812PreTrg/Resource.h +++ /dev/null @@ -1,26 +0,0 @@ -//{{NO_DEPENDENCIES}} -// Microsoft Developer Studio generated include file. -// Used by 9812SPrg.rc -// -#define IDM_SETUP 101 -#define IDD_DIALOG1 101 -#define IDD_DIALOG2 104 -#define IDM_EXIT 110 -#define ID_CARDNUMBER 122 -#define ID_STOP 304 -#define DMA_SPACE 500 -#define DMA_DESCP 600 -#define IDC_COMBO1 1001 -#define IDC_COMBO2 1002 -#define IDC_STATIC -1 - -// Next default values for new objects -// -#ifdef APSTUDIO_INVOKED -#ifndef APSTUDIO_READONLY_SYMBOLS -#define _APS_NEXT_RESOURCE_VALUE 105 -#define _APS_NEXT_COMMAND_VALUE 123 -#define _APS_NEXT_CONTROL_VALUE 1003 -#define _APS_NEXT_SYMED_VALUE 101 -#endif -#endif diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9812/SDK9812SoftTrg/9812DMA.C b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9812/SDK9812SoftTrg/9812DMA.C deleted file mode 100644 index a107e4c..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9812/SDK9812SoftTrg/9812DMA.C +++ /dev/null @@ -1,505 +0,0 @@ -#include "windows.h" -#include -#include -#include -#include -#include -#include "resource.h" -#include "dask.h" - -#define IDM_EXIT 110 -#define IDC_ADDR 200 -#define IDC_SCROLL 207 -#define IDC_START 208 -#define IDC_STOP 209 -#define IDC_PAUSE 210 -#define IDC_EDIT 211 -#define IDC_CHAN 214 -#define IDC_SHOW 213 -#define NONE 0 - -int PASCAL WinMain(HANDLE, HANDLE, LPSTR, int); -long PASCAL MainWndProc(HWND, UINT, WPARAM, LPARAM); -BOOL PASCAL ShowINT(HWND, UINT, WPARAM, LPARAM); - -HANDLE hInst; -HWND hListBox; -HWND hChanComboBox; -HWND hADScroll; -HWND hEdit,hEdit1,hData; -int input=0, output=0; -int oldinput[8], adinput; -//EventHandles hEnts; -U16 ch_cnt; - -HBRUSH hBlackBrush; -HPEN hRedPen; - -//long sample_rate=40000; -long sample_rate=1000000; -unsigned int base_addr=NONE,gain=1; -I16 card = -1, card_number = 0; -long data_size=5120; -U16 channel=0, range = AD_B_1_V; -U32 access_cnt; -DWORD mem_size = 0; -static HANDLE hMem=NULL; -I16 *ai_buf; -U16 card_type =0; - -POINT input_pos[16]= {{470, 280}, {440, 280}, - {410, 280}, {380, 280}, - {350, 280}, {320, 280}, - { 290, 280}, {260, 280}, - {230, 280}, {200, 280}, - {170, 280}, {140, 280}, - {110, 280}, {80, 280}, - { 50, 280}, { 20, 280}, - }; - -POINT output_pos[16] ={ - {470, 340}, {440, 340}, - {410, 340}, {380, 340}, - {350, 340}, {320, 340}, - { 290, 340}, {260, 340}, - {230, 340}, {200, 340}, - {170, 340}, {140, 340}, - {110, 340}, {80, 340}, - { 50, 340}, { 20, 340}, - }; - -POINT io_pos[16] ={ - {395, 40}, {370, 40}, - {345, 40}, {320, 40}, - {295, 40}, {270, 40}, - { 245, 40}, {220, 40}, - {195, 40}, {170, 40}, - {145, 40}, {120, 40}, - {95, 40}, {70, 40}, - { 45, 40}, { 20, 40}, - }; - -HBRUSH hLTGreenBrush,hGreenBrush,hBlueBrush,hYellowBrush,hRedBrush,hBlackBrush,hWhiteBrush - ,hLTRedBrush,hLTBlueBrush; -HPEN hRedPen,hYellowPen,hGreenPen,hBluePen,hLTBluePen,hLTRedPen,hLTGreenPen,hWhitePen; - -BOOL InitApplication(HANDLE); -BOOL InitInstance(HANDLE, int); - -int PASCAL WinMain(hInstance, hPrevInstance, lpCmdLine, nCmdShow) -HANDLE hInstance, hPrevInstance; -LPSTR lpCmdLine; -int nCmdShow; -{ - MSG msg; - - if (!hPrevInstance) - if (!InitApplication(hInstance)) return(FALSE); - if (!InitInstance(hInstance, nCmdShow)) return(FALSE); - while (GetMessage(&msg, NULL, NULL, NULL)) { - TranslateMessage(&msg); - DispatchMessage(&msg); - } - return(msg.wParam); -} - -BOOL InitApplication(hInstance) -HANDLE hInstance; -{ - WNDCLASS wc; - - /* Main Window Class */ - wc.style = NULL; - wc.lpfnWndProc = (WNDPROC)MainWndProc; - wc.cbClsExtra = 0; - wc.cbWndExtra = 0; - wc.hInstance = hInstance; - wc.hIcon = LoadIcon(hInstance, "MyIcon"); - wc.hCursor = LoadCursor(NULL, IDC_ARROW); - wc.hbrBackground = GetStockObject(LTGRAY_BRUSH); - wc.lpszMenuName = NULL; - wc.lpszClassName = "GenericWClass"; - if (!RegisterClass(&wc)) return(FALSE); -} - -BOOL InitInstance(hInstance, nCmdShow) -HANDLE hInstance; -int nCmdShow; -{ - HWND hWnd; - HMENU hSampleMenu; - - hInst = hInstance; - hSampleMenu = LoadMenu(hInstance, "U7120Menu"); - hWnd = CreateWindow("GenericWClass", - (LPCSTR)"9812 Autoscan DMA", - WS_OVERLAPPEDWINDOW, - CW_USEDEFAULT, - CW_USEDEFAULT, - 520, - 400, - NULL, - hSampleMenu, - hInstance, - NULL); - if (!hWnd) return(FALSE); - ShowWindow(hWnd, nCmdShow); - UpdateWindow(hWnd); - return(TRUE); -} - -BOOL PASCAL setup(HWND hWnd, unsigned message, WPARAM wParam, LPARAM lParam) -{ - int i; - char n[16]; - char s[50]; - switch (message) { - case WM_INITDIALOG: - wsprintf(n, "PCI9812"); - SendMessage(GetDlgItem(hWnd,IDC_COMBO1), CB_ADDSTRING, NULL, (LONG)(LPSTR) n); - sprintf(n, "PCI9810"); - SendMessage(GetDlgItem(hWnd,IDC_COMBO1), CB_ADDSTRING, NULL, (LONG)(LPSTR) n); - SendMessage(GetDlgItem(hWnd,IDC_COMBO1) , CB_SETCURSEL, 0, 0L); - for (i=0;i<16;i++) { - wsprintf(n, "%d", i); - _strupr(n); - SendMessage(GetDlgItem(hWnd,IDC_COMBO2), CB_ADDSTRING, NULL, (LONG)(LPSTR) n); - } - SendMessage(GetDlgItem(hWnd,IDC_COMBO2) , CB_SETCURSEL, 0, 0L); - break; - case WM_COMMAND: - switch(LOWORD(wParam)) { - case IDC_COMBO1: - if (HIWORD(wParam) == CBN_CLOSEUP) { - i = (int)SendMessage(GetDlgItem(hWnd,IDC_COMBO1), CB_GETCURSEL, 0, 0L); - SendMessage(GetDlgItem(hWnd,IDC_COMBO1), CB_GETLBTEXT, i, (LPARAM)((LPCSTR)n)); - card_type = i; - } - return(TRUE); - case IDC_COMBO2: - if (HIWORD(wParam) == CBN_CLOSEUP) { - i = (int)SendMessage(GetDlgItem(hWnd,IDC_COMBO2), CB_GETCURSEL, 0, 0L); - SendMessage(GetDlgItem(hWnd,IDC_COMBO2), CB_GETLBTEXT, i, (LPARAM)((LPCSTR)n)); - card_number = i; - } - return(TRUE); - case IDOK: - if ((card=Register_Card(PCI_9812, card_number)) < 0) { - wsprintf(s, "Register_Card Error = %d\n", card); - MessageBox(hWnd, s, "Error", MB_OK); - SendMessage(hWnd, WM_CLOSE, 0, 0L); - break; - } - EndDialog(hWnd, TRUE); - InvalidateRect(hWnd, NULL, FALSE); - return (TRUE); - case IDCANCEL: - EndDialog(hWnd, TRUE); - return (TRUE); - } - break; - } - return (FALSE); -} - -long PASCAL MainWndProc(hWnd, message, wParam, lParam) -HWND hWnd; -UINT message; -WPARAM wParam; -LPARAM lParam; -{ - HDC hDC; - PAINTSTRUCT ps; - int i; - int cur_channel; - char n[6]; - char s[50]; - static int pos=0; - static int count,status; - int err; - - switch(message) { - case WM_CREATE: - DialogBox(hInst,IDD_DIALOG2, hWnd, setup); - if(card<0) { - SendMessage(hWnd, WM_CLOSE, 0, 0L); - break; - } - hChanComboBox = CreateWindow("ComboBox", NULL, - CBS_DROPDOWNLIST | WS_CHILD | WS_VISIBLE | WS_VSCROLL, - input_pos[10].x, input_pos[15].y+18, 100, 160, hWnd, IDC_CHAN, hInst, NULL); - SendMessage(hChanComboBox, CB_ADDSTRING, NULL, (LONG)(LPSTR)"CH0"); - SendMessage(hChanComboBox, CB_ADDSTRING, NULL, (LONG)(LPSTR)"CH0 ~ CH1"); - SendMessage(hChanComboBox, CB_ADDSTRING, NULL, (LONG)(LPSTR)"CH0 ~ CH3"); - SendMessage(hChanComboBox ,CB_SETCURSEL, 0, 0L); - hEdit=CreateWindow("EDIT", NULL, - WS_CHILD | WS_VISIBLE | ES_LEFT, - output_pos[13].x-60, input_pos[15].y+20,70, 20, hWnd, IDC_EDIT, hInst, NULL); - - wsprintf(n,"%d",sample_rate/1000); - SetWindowText(hEdit,n); - - CreateWindow("SCROLLBAR", NULL, - WS_CHILD | WS_VISIBLE | SBS_VERT, - output_pos[13].x+10, input_pos[15].y+20,20, 20, hWnd, IDC_SCROLL, hInst, NULL); - - CreateWindow("BUTTON","Start" , - WS_CHILD | WS_VISIBLE , - output_pos[10].x+140, input_pos[10].y+10,70, 30, hWnd, IDC_START, hInst, NULL); - - hData=CreateWindow("BUTTON","Data Value" , - WS_CHILD | WS_VISIBLE , - output_pos[10].x+230, input_pos[10].y+10,80, 30, hWnd, IDC_SHOW, hInst, NULL); - - hLTGreenBrush = CreateSolidBrush(RGB(0, 255, 0)); - hGreenBrush = CreateSolidBrush(RGB(0, 128, 0)); - hBlueBrush = CreateSolidBrush(RGB(0, 0, 255)); - hRedBrush = CreateSolidBrush(RGB(255, 0, 0)); - hYellowBrush= CreateSolidBrush(RGB(255,255,0)); - hBlackBrush= CreateSolidBrush(RGB(0,0,0)); - hLTBlueBrush= CreateSolidBrush(RGB(0,255,255)); - hLTRedBrush= CreateSolidBrush(RGB(255,128,0)); - hWhiteBrush= CreateSolidBrush(RGB(255,255,255)); - hRedPen= CreatePen(PS_SOLID,1,RGB(255,0,0)); - hYellowPen= CreatePen(PS_SOLID,1,RGB(255,255,0)); - hBluePen= CreatePen(PS_SOLID,1,RGB(0,0,255)); - hGreenPen= CreatePen(PS_SOLID,1,RGB(0,255,0)); - hLTBluePen= CreatePen(PS_SOLID,1,RGB(0,128,255)); - hLTRedPen= CreatePen(PS_SOLID,1,RGB(128,128,0)); - hLTGreenPen= CreatePen(PS_SOLID,1,RGB(0,128,0)); - hWhitePen= CreatePen(PS_SOLID,1,RGB(255,255,255)); - break; - - case WM_PAINT: - hDC = BeginPaint(hWnd, &ps); - - // Analog Input Box - SelectObject(hDC, GetStockObject(GRAY_BRUSH)); - Rectangle(hDC, output_pos[15].x-10, io_pos[15].y-24, output_pos[0].x+26, io_pos[0].y+195); - SetTextColor(hDC,RGB(255,255,0)); - SetBkColor(hDC, RGB(0, 0, 255)); - TextOut(hDC, io_pos[15].x, io_pos[15].y-35, " DMA Input(A/D) ", 20); - - SelectObject(hDC, hBlackBrush); - Rectangle(hDC, output_pos[15].x+35, io_pos[15].y-2, output_pos[4].x+41, io_pos[0].y+172); - - SelectObject(hDC,hYellowBrush ); - Rectangle(hDC,output_pos[4].x+68, io_pos[0].y-5+18,output_pos[4].x+80, io_pos[0].y+10+18); - - SelectObject(hDC, hGreenBrush); - Rectangle(hDC,output_pos[4].x+68, io_pos[0].y+13+18,output_pos[4].x+80, io_pos[0].y+28+18); - - SelectObject(hDC, hBlueBrush); - Rectangle(hDC,output_pos[4].x+68, io_pos[0].y+31+18,output_pos[4].x+80, io_pos[0].y+46+18); - - SelectObject(hDC, hRedBrush); - Rectangle(hDC,output_pos[4].x+68, io_pos[0].y+49+18,output_pos[4].x+80, io_pos[0].y+64+18); - - SetBkMode(hDC,TRANSPARENT); - TextOut(hDC,output_pos[13].x-60, input_pos[10].y,"Samping Rate",12); - TextOut(hDC,output_pos[13].x+30, input_pos[15].y+20,"KHZ",3); - TextOut(hDC,output_pos[13].x+80, input_pos[10].y,"Channel",7); - TextOut(hDC,input_pos[2].x-10, io_pos[15].y+118,"Range: +-1V",11); - TextOut(hDC,input_pos[15].x, io_pos[15].y-19,"Volts",5); - TextOut(hDC,input_pos[15].x, io_pos[15].y-5,"1.00",4); - TextOut(hDC,input_pos[15].x, io_pos[15].y+36,"0.50",4); - TextOut(hDC,input_pos[15].x, io_pos[15].y+77,"0.00",4); - TextOut(hDC,input_pos[15].x-3, io_pos[15].y+118,"-0.50",5); - TextOut(hDC,input_pos[15].x-3, io_pos[15].y+159,"-1.00",5); - TextOut(hDC,input_pos[10].x+10, io_pos[10].y-19,"Signals",7); - - TextOut(hDC,output_pos[4].x+58, io_pos[0].y-5+18,"0",1); - TextOut(hDC,output_pos[4].x+58, io_pos[0].y+13+18,"1",1); - TextOut(hDC,output_pos[4].x+58, io_pos[0].y+31+18,"2",1); - TextOut(hDC,output_pos[4].x+58, io_pos[0].y+49+18,"3",1); - - EndPaint(hWnd, &ps); - break; - - // Sample Rate Spin Control - case WM_VSCROLL: - switch(LOWORD(wParam)){ - case SB_LINEUP : - sample_rate+=100000; // 100KHz - if (sample_rate > 20*1000000 ) sample_rate=20*1000000; - break; - case SB_LINEDOWN: - sample_rate-=100000; // 100KHz - if (sample_rate < 5000 ) sample_rate=5000; - break; - } - wsprintf(n,"%d",sample_rate/1000); - SetWindowText(hEdit,n); - break; - - case WM_COMMAND: - switch(LOWORD(wParam)) { - case IDM_EXIT: - SendMessage(hWnd, WM_CLOSE, 0, 0L); - break; - - case IDC_SHOW : - DialogBox(hInst, - "DMABox", - hWnd, - ShowINT); - break; - - case IDC_CHAN: - if (HIWORD(wParam) == CBN_CLOSEUP) { - if ((i=(int)SendMessage(GetDlgItem(hWnd,IDC_CHAN),CB_GETCURSEL, 0, 0L))>=0 ) { - channel=i; - } - } - break; - - case IDC_START: - EnableWindow (hData, FALSE); - if (hMem != NULL) - { - GlobalUnfix(hMem); - GlobalUnlock(hMem); - GlobalFree(hMem); - } - // allocate a memory for user DMA buffer - mem_size=data_size*2; - hMem = GlobalAlloc(GMEM_ZEROINIT,mem_size); - ai_buf = GlobalLock(hMem); - if (ai_buf == NULL ) - { - MessageBox(hWnd,"INT", - "No Memory", MB_OK); - } - GlobalFix(hMem); - sample_rate = GetDlgItemInt(hWnd,IDC_EDIT,NULL ,FALSE)*1000; - if (sample_rate > 20*1000000 ) sample_rate=20*1000000; - else if (sample_rate < 5000 ) sample_rate=5000; - ch_cnt = (U16) pow((double)2.0, (double) channel); - if ((err = AI_9812_Config(card,P9812_TRGMOD_SOFT, P9812_TRGSRC_CH0, P9812_TRGSLP_POS, P9812_AD2_GT_PCI|P9812_CLKSRC_INT,0x80,0))<0) { - wsprintf(s, "AI Config Error = %d\n", err); - MessageBox(hWnd, s, "Error", MB_OK); - SendMessage(hWnd, WM_CLOSE, 0, 0L); - break; - } - AI_AsyncDblBufferMode(card, 0); - AI_ContScanChannels (card, ch_cnt-1, range, ai_buf, data_size, (F64)sample_rate, SYNCH_OP); - EnableWindow (hData, TRUE); - - for (i=0;i<4;i++) oldinput[i]=-1; - hDC = GetDC(hWnd); - SelectObject(hDC, hBlackBrush); - Rectangle(hDC,output_pos[15].x+35,io_pos[0].y-3,output_pos[15].x+370,io_pos[0].y+175); - for (i=0;i> 4; - adinput=io_pos[0].y+86-(87*(int)adinput)/2048; - if (oldinput[cur_channel]!=-1) - MoveToEx(hDC,(i*334)/data_size+output_pos[15].x+35,oldinput[cur_channel],NULL); - else - MoveToEx(hDC,(i*334)/data_size+output_pos[15].x+35,adinput,NULL); - LineTo(hDC,(i*334)/data_size+output_pos[15].x+36,adinput); - oldinput[cur_channel]=adinput; - } // for - ReleaseDC(hWnd, hDC); - break; - - default: - return(DefWindowProc(hWnd, message, wParam, lParam)); - } - break; - - case WM_DESTROY: - if (card >= 0) Release_Card (card); - DeleteObject(hRedBrush); - DeleteObject(hGreenBrush); - DeleteObject(hLTGreenBrush); - DeleteObject(hYellowBrush); - DeleteObject(hBlueBrush) ; - DeleteObject(hBlackBrush); - DeleteObject(hRedPen); - DeleteObject(hYellowPen); - DeleteObject(hBluePen); - DeleteObject(hGreenPen); - DeleteObject(hLTBluePen); - DeleteObject(hLTRedPen); - DeleteObject(hLTGreenPen); - DeleteObject(hWhitePen); - GlobalUnfix(hMem); - GlobalUnlock(hMem); - GlobalFree(hMem); - PostQuitMessage(0); - break; - - default: - return(DefWindowProc(hWnd, message, wParam, lParam)); - } - return(NULL); -} - -BOOL PASCAL ShowINT(hDlg, message, wParam, lParam) -HWND hDlg; -UINT message; -WPARAM wParam; -LPARAM lParam; -{ - int nTabs[2] = {32, 92}; - long i; - char cBuf[100] = "\t131072 \tFF"; - char string[10]=" "; - char data_str[3]=" "; - I16 *pp; - U16 cur_channel; - - switch (message) - { - case WM_INITDIALOG: - hListBox = CreateWindow("LISTBOX", "Memory Count Data CH#",\ - WS_CHILD | WS_VISIBLE | LBS_HASSTRINGS\ - | LBS_STANDARD | LBS_USETABSTOPS |WS_CAPTION,\ - 50, 40, 240, 180, hDlg, 100, hInst, NULL); - - SendMessage(hListBox, LB_RESETCONTENT, 0, 0L); - SendMessage(hListBox, LB_SETTABSTOPS, 2, (DWORD)\ - (LPINT) nTabs); - pp=(I16 *) ai_buf; - for(i=0; i>6, cur_channel); - else - wsprintf(cBuf, "%5d\t %5x %2d", i, pp[i]>>4, cur_channel); - SendMessage(hListBox, LB_INSERTSTRING, -1, (DWORD)(LPSTR)cBuf); - } - itoa(data_size, string, 10); - SetDlgItemText(hDlg, DMA_SPACE, string); - ShowWindow(hListBox, SW_SHOW); - return (TRUE); - - case WM_COMMAND: - if (LOWORD(wParam) == ID_STOP) - { - DestroyWindow(hListBox); - EndDialog(hDlg, TRUE); - return (TRUE); - } - break; - } //switch - return (FALSE); -} - \ No newline at end of file diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9812/SDK9812SoftTrg/9812DMA.EXE b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9812/SDK9812SoftTrg/9812DMA.EXE deleted file mode 100644 index 6940a24..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9812/SDK9812SoftTrg/9812DMA.EXE and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9812/SDK9812SoftTrg/9812DMA.RC b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9812/SDK9812SoftTrg/9812DMA.RC deleted file mode 100644 index b660b7f..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9812/SDK9812SoftTrg/9812DMA.RC +++ /dev/null @@ -1,127 +0,0 @@ -//Microsoft Developer Studio generated resource script. -// -#include "resource.h" - -#define APSTUDIO_READONLY_SYMBOLS -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 2 resource. -// -#define APSTUDIO_HIDDEN_SYMBOLS -#include "windows.h" -#undef APSTUDIO_HIDDEN_SYMBOLS - -///////////////////////////////////////////////////////////////////////////// -#undef APSTUDIO_READONLY_SYMBOLS - -///////////////////////////////////////////////////////////////////////////// -// English (U.S.) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -#ifdef _WIN32 -LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US -#pragma code_page(1252) -#endif //_WIN32 - -///////////////////////////////////////////////////////////////////////////// -// -// Menu -// - -U7120MENU MENU DISCARDABLE -BEGIN - MENUITEM "E&xit!", IDM_EXIT -END - - -#ifdef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// TEXTINCLUDE -// - -1 TEXTINCLUDE DISCARDABLE -BEGIN - "resource.h\0" -END - -2 TEXTINCLUDE DISCARDABLE -BEGIN - "#define APSTUDIO_HIDDEN_SYMBOLS\r\n" - "#include ""windows.h""\r\n" - "#undef APSTUDIO_HIDDEN_SYMBOLS\r\n" - "\0" -END - -3 TEXTINCLUDE DISCARDABLE -BEGIN - "\r\n" - "\0" -END - -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog -// - -DMABOX DIALOG DISCARDABLE 18, 10, 171, 169 -STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "DMA TEST" -FONT 8, "System" -BEGIN - PUSHBUTTON "STOP",ID_STOP,82,147,24,14 - LTEXT "Data Transferred :",-1,39,118,60,8 - LTEXT "Text",DMA_SPACE,103,118,41,8 -END - -IDD_DIALOG2 DIALOG DISCARDABLE 110, 10, 119, 79 -STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "Card Type" -FONT 10, "System" -BEGIN - DEFPUSHBUTTON "OK",IDOK,9,58,39,14 - PUSHBUTTON "Cancel",IDCANCEL,67,58,38,14 - COMBOBOX IDC_COMBO1,51,31,60,45,CBS_DROPDOWN | WS_VSCROLL | - WS_TABSTOP - LTEXT "Card Type",IDC_STATIC,4,32,46,13 - LTEXT "Card Number",IDC_STATIC,4,10,47,12 - COMBOBOX IDC_COMBO2,51,8,60,78,CBS_DROPDOWN | WS_VSCROLL | - WS_TABSTOP -END - - -///////////////////////////////////////////////////////////////////////////// -// -// DESIGNINFO -// - -#ifdef APSTUDIO_INVOKED -GUIDELINES DESIGNINFO DISCARDABLE -BEGIN - IDD_DIALOG2, DIALOG - BEGIN - LEFTMARGIN, 4 - RIGHTMARGIN, 111 - BOTTOMMARGIN, 72 - END -END -#endif // APSTUDIO_INVOKED - -#endif // English (U.S.) resources -///////////////////////////////////////////////////////////////////////////// - - - -#ifndef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 3 resource. -// - - -///////////////////////////////////////////////////////////////////////////// -#endif // not APSTUDIO_INVOKED - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9812/SDK9812SoftTrg/9812dma.mak b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9812/SDK9812SoftTrg/9812dma.mak deleted file mode 100644 index 837a657..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9812/SDK9812SoftTrg/9812dma.mak +++ /dev/null @@ -1,231 +0,0 @@ -# Microsoft Developer Studio Generated NMAKE File, Format Version 4.00 -# ** DO NOT EDIT ** - -# TARGTYPE "Win32 (x86) Application" 0x0101 - -!IF "$(CFG)" == "" -CFG=9812DMA - Win32 Debug -!MESSAGE No configuration specified. Defaulting to 9812DMA - Win32 Debug. -!ENDIF - -!IF "$(CFG)" != "9812DMA - Win32 Release" && "$(CFG)" !=\ - "9812DMA - Win32 Debug" -!MESSAGE Invalid configuration "$(CFG)" specified. -!MESSAGE You can specify a configuration when running NMAKE on this makefile -!MESSAGE by defining the macro CFG on the command line. For example: -!MESSAGE -!MESSAGE NMAKE /f "9812dma.mak" CFG="9812DMA - Win32 Debug" -!MESSAGE -!MESSAGE Possible choices for configuration are: -!MESSAGE -!MESSAGE "9812DMA - Win32 Release" (based on "Win32 (x86) Application") -!MESSAGE "9812DMA - Win32 Debug" (based on "Win32 (x86) Application") -!MESSAGE -!ERROR An invalid configuration is specified. -!ENDIF - -!IF "$(OS)" == "Windows_NT" -NULL= -!ELSE -NULL=nul -!ENDIF -################################################################################ -# Begin Project -# PROP Target_Last_Scanned "9812DMA - Win32 Debug" -CPP=cl.exe -RSC=rc.exe -MTL=mktyplib.exe - -!IF "$(CFG)" == "9812DMA - Win32 Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "9812DMA_" -# PROP BASE Intermediate_Dir "9812DMA_" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "" -# PROP Intermediate_Dir "Release" -# PROP Target_Dir "" -OUTDIR=. -INTDIR=.\Release - -ALL : "$(OUTDIR)\9812dma.exe" - -CLEAN : - -@erase ".\9812dma.exe" - -@erase ".\Release\9812dma.obj" - -@erase ".\Release\9812DMA.res" - -"$(INTDIR)" : - if not exist "$(INTDIR)/$(NULL)" mkdir "$(INTDIR)" - -# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /YX /c -# ADD CPP /nologo /W3 /GX /Od /I "..\..\..\include" /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /c -# SUBTRACT CPP /YX -CPP_PROJ=/nologo /ML /W3 /GX /Od /I "..\..\..\include" /D "WIN32" /D "NDEBUG"\ - /D "_WINDOWS" /Fo"$(INTDIR)/" /c -CPP_OBJS=.\Release/ -CPP_SBRS= -# ADD BASE MTL /nologo /D "NDEBUG" /win32 -# ADD MTL /nologo /D "NDEBUG" /win32 -MTL_PROJ=/nologo /D "NDEBUG" /win32 -# ADD BASE RSC /l 0x409 /d "NDEBUG" -# ADD RSC /l 0x409 /d "NDEBUG" -RSC_PROJ=/l 0x409 /fo"$(INTDIR)/9812DMA.res" /d "NDEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -BSC32_FLAGS=/nologo /o"$(OUTDIR)/9812dma.bsc" -BSC32_SBRS= -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:windows /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ..\..\..\lib\pci-dask.lib /nologo /subsystem:windows /machine:I386 -LINK32_FLAGS=kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib\ - advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib\ - odbccp32.lib ..\..\..\lib\pci-dask.lib /nologo /subsystem:windows\ - /incremental:no /pdb:"$(OUTDIR)/9812dma.pdb" /machine:I386\ - /out:"$(OUTDIR)/9812dma.exe" -LINK32_OBJS= \ - "$(INTDIR)/9812dma.obj" \ - "$(INTDIR)/9812DMA.res" - -"$(OUTDIR)\9812dma.exe" : "$(OUTDIR)" $(DEF_FILE) $(LINK32_OBJS) - $(LINK32) @<< - $(LINK32_FLAGS) $(LINK32_OBJS) -<< - -!ELSEIF "$(CFG)" == "9812DMA - Win32 Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "9812DMA0" -# PROP BASE Intermediate_Dir "9812DMA0" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "9812DMA0" -# PROP Intermediate_Dir "9812DMA0" -# PROP Target_Dir "" -OUTDIR=.\9812DMA0 -INTDIR=.\9812DMA0 - -ALL : "$(OUTDIR)\9812dma.exe" - -CLEAN : - -@erase ".\9812DMA0\vc40.pdb" - -@erase ".\9812DMA0\vc40.idb" - -@erase ".\9812DMA0\9812dma.exe" - -@erase ".\9812DMA0\9812dma.obj" - -@erase ".\9812DMA0\9812DMA.res" - -@erase ".\9812DMA0\9812dma.ilk" - -@erase ".\9812DMA0\9812dma.pdb" - -"$(OUTDIR)" : - if not exist "$(OUTDIR)/$(NULL)" mkdir "$(OUTDIR)" - -# ADD BASE CPP /nologo /W3 /Gm /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /YX /c -# ADD CPP /nologo /W3 /Gm /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /YX /c -CPP_PROJ=/nologo /MLd /W3 /Gm /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS"\ - /Fp"$(INTDIR)/9812dma.pch" /YX /Fo"$(INTDIR)/" /Fd"$(INTDIR)/" /c -CPP_OBJS=.\9812DMA0/ -CPP_SBRS= -# ADD BASE MTL /nologo /D "_DEBUG" /win32 -# ADD MTL /nologo /D "_DEBUG" /win32 -MTL_PROJ=/nologo /D "_DEBUG" /win32 -# ADD BASE RSC /l 0x409 /d "_DEBUG" -# ADD RSC /l 0x409 /d "_DEBUG" -RSC_PROJ=/l 0x409 /fo"$(INTDIR)/9812DMA.res" /d "_DEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -BSC32_FLAGS=/nologo /o"$(OUTDIR)/9812dma.bsc" -BSC32_SBRS= -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:windows /debug /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:windows /debug /machine:I386 -LINK32_FLAGS=kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib\ - advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib\ - odbccp32.lib /nologo /subsystem:windows /incremental:yes\ - /pdb:"$(OUTDIR)/9812dma.pdb" /debug /machine:I386 /out:"$(OUTDIR)/9812dma.exe" -LINK32_OBJS= \ - "$(INTDIR)/9812dma.obj" \ - "$(INTDIR)/9812DMA.res" - -"$(OUTDIR)\9812dma.exe" : "$(OUTDIR)" $(DEF_FILE) $(LINK32_OBJS) - $(LINK32) @<< - $(LINK32_FLAGS) $(LINK32_OBJS) -<< - -!ENDIF - -.c{$(CPP_OBJS)}.obj: - $(CPP) $(CPP_PROJ) $< - -.cpp{$(CPP_OBJS)}.obj: - $(CPP) $(CPP_PROJ) $< - -.cxx{$(CPP_OBJS)}.obj: - $(CPP) $(CPP_PROJ) $< - -.c{$(CPP_SBRS)}.sbr: - $(CPP) $(CPP_PROJ) $< - -.cpp{$(CPP_SBRS)}.sbr: - $(CPP) $(CPP_PROJ) $< - -.cxx{$(CPP_SBRS)}.sbr: - $(CPP) $(CPP_PROJ) $< - -################################################################################ -# Begin Target - -# Name "9812DMA - Win32 Release" -# Name "9812DMA - Win32 Debug" - -!IF "$(CFG)" == "9812DMA - Win32 Release" - -!ELSEIF "$(CFG)" == "9812DMA - Win32 Debug" - -!ENDIF - -################################################################################ -# Begin Source File - -SOURCE=.\9812DMA.rc - -"$(INTDIR)\9812DMA.res" : $(SOURCE) "$(INTDIR)" - $(RSC) $(RSC_PROJ) $(SOURCE) - - -# End Source File -################################################################################ -# Begin Source File - -SOURCE=.\9812dma.c - -!IF "$(CFG)" == "9812DMA - Win32 Release" - -DEP_CPP_9812D=\ - ".\..\..\..\include\dask.h"\ - - -"$(INTDIR)\9812dma.obj" : $(SOURCE) $(DEP_CPP_9812D) "$(INTDIR)" - - -!ELSEIF "$(CFG)" == "9812DMA - Win32 Debug" - -NODEP_CPP_9812D=\ - ".\dask.h"\ - - -"$(INTDIR)\9812dma.obj" : $(SOURCE) "$(INTDIR)" - - -!ENDIF - -# End Source File -# End Target -# End Project -################################################################################ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9812/SDK9812SoftTrg/9812dma.mdp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9812/SDK9812SoftTrg/9812dma.mdp deleted file mode 100644 index 9cfee25..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9812/SDK9812SoftTrg/9812dma.mdp and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9812/SDK9812SoftTrg/Resource.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9812/SDK9812SoftTrg/Resource.h deleted file mode 100644 index 17a6af1..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9812/SDK9812SoftTrg/Resource.h +++ /dev/null @@ -1,26 +0,0 @@ -//{{NO_DEPENDENCIES}} -// Microsoft Developer Studio generated include file. -// Used by 9812dma.rc -// -#define IDM_SETUP 101 -#define IDD_DIALOG1 101 -#define IDD_DIALOG2 104 -#define IDM_EXIT 110 -#define ID_STOP 304 -#define DMA_SPACE 500 -#define IDC_COMBO2 1001 -#define IDC_COMBO3 1003 -#define IDC_COMBO1 1015 -#define IDC_COMBO4 1016 -#define IDC_STATIC -1 - -// Next default values for new objects -// -#ifdef APSTUDIO_INVOKED -#ifndef APSTUDIO_READONLY_SYMBOLS -#define _APS_NEXT_RESOURCE_VALUE 103 -#define _APS_NEXT_COMMAND_VALUE 102 -#define _APS_NEXT_CONTROL_VALUE 1002 -#define _APS_NEXT_SYMED_VALUE 101 -#endif -#endif diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9812/Sdk9812DbfCallBack/9812MTrg.c b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9812/Sdk9812DbfCallBack/9812MTrg.c deleted file mode 100644 index f2cbd30..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9812/Sdk9812DbfCallBack/9812MTrg.c +++ /dev/null @@ -1,530 +0,0 @@ -#include "windows.h" -#include -#include -#include -#include -#include -#include "resource.h" -#include "Dask.h" - -#define IDM_EXIT 110 -#define IDC_SCROLL 207 -#define IDC_SPIN 301 -#define IDC_START 208 -#define IDC_STOP 209 -#define IDC_EDIT 211 -#define IDC_EDIT1 214 -#define IDC_EDIT2 215 -#define IDC_SHOW 213 -#define IDC_CH 400 - -int PASCAL WinMain(HANDLE, HANDLE, LPSTR, int); -long PASCAL MainWndProc(HWND, UINT, WPARAM, LPARAM); -BOOL PASCAL ShowDMA(HWND, UINT, WPARAM, LPARAM); - -HANDLE hInst; -HWND hListBox; -HWND hEdit,hEdit1, hEdit2, hStart, hStop; -BOOL bCheck[8]; - -HBRUSH hBlackBrush; -HPEN hRedPen, hBlackPen; -HWND hMainWnd; - -//unsigned int sample_rate=10000; -long sample_rate=10000; //10 KHz -U16 channel; -U32 data_size=1024, mem_size; -static HANDLE hMem=NULL; -HANDLE hThread1; -I16 *ai_buf; -I16 card=-1, card_number = 0; -U32 count, postCount=1024; -BOOLEAN clear_op; -I16 card_type=0; -U16 midcheck =0; - -POINT input_pos[16]= {{470, 280}, {440, 280}, - {410, 280}, {380, 280}, - {350, 280}, {320, 280}, - { 290, 280}, {260, 280}, - {230, 280}, {200, 280}, - {170, 280}, {140, 280}, - {110, 280}, {80, 280}, - { 50, 280}, { 20, 280}, - }; -POINT output_pos[16] ={ - {470, 340}, {440, 340}, - {410, 340}, {380, 340}, - {350, 340}, {320, 340}, - { 290, 340}, {260, 340}, - {230, 340}, {200, 340}, - {170, 340}, {140, 340}, - {110, 340}, {80, 340}, - { 50, 340}, { 20, 340}, - }; - -POINT io_pos[16] ={ - {395, 40}, {370, 40}, - {345, 40}, {320, 40}, - {295, 40}, {270, 40}, - { 245, 40}, {220, 40}, - {195, 40}, {170, 40}, - {145, 40}, {120, 40}, - {95, 40}, {70, 40}, - { 45, 40}, { 20, 40}, - }; - -BOOL InitApplication(HANDLE); -BOOL InitInstance(HANDLE, int); -//void ProcessThread(void* pArg); -void AI_DBCallBack(); -void AI_CallBack(); - -int PASCAL WinMain(hInstance, hPrevInstance, lpCmdLine, nCmdShow) -HANDLE hInstance, hPrevInstance; -LPSTR lpCmdLine; -int nCmdShow; -{ - MSG msg; - - if (!hPrevInstance) - if (!InitApplication(hInstance)) return(FALSE); - if (!InitInstance(hInstance, nCmdShow)) return(FALSE); - while (GetMessage(&msg, NULL, NULL, NULL)) { - TranslateMessage(&msg); - DispatchMessage(&msg); - } - return(msg.wParam); -} - -BOOL InitApplication(hInstance) -HANDLE hInstance; -{ - WNDCLASS wc; - - /* Main Window Class */ - wc.style = NULL; - wc.lpfnWndProc = (WNDPROC)MainWndProc; - wc.cbClsExtra = 0; - wc.cbWndExtra = 0; - wc.hInstance = hInstance; - wc.hIcon = LoadIcon(hInstance, "MyIcon"); - wc.hCursor = LoadCursor(NULL, IDC_ARROW); - wc.hbrBackground = GetStockObject(LTGRAY_BRUSH); - wc.lpszMenuName = NULL; - wc.lpszClassName = "GenericWClass"; - if (!RegisterClass(&wc)) return(FALSE); -} - - -BOOL InitInstance(hInstance, nCmdShow) -HANDLE hInstance; -int nCmdShow; -{ - HWND hWnd; - HMENU hSampleMenu; - - hInst = hInstance; - hSampleMenu = LoadMenu(hInstance, "U7120Menu"); - hWnd = CreateWindow("GenericWClass", - (LPCSTR)"PCI-9812 Double Buffered DMA with Middle Trigger Mode", - WS_OVERLAPPEDWINDOW, - CW_USEDEFAULT, - CW_USEDEFAULT, - 520, - 400, - NULL, - hSampleMenu, - hInstance, - NULL); - if (!hWnd) return(FALSE); - ShowWindow(hWnd, nCmdShow); - UpdateWindow(hWnd); - return(TRUE); -} - -BOOL PASCAL setup(HWND hWnd, unsigned message, WPARAM wParam, LPARAM lParam) -{ - int i; - char n[16]; - char s[50]; - switch (message) { - case WM_INITDIALOG: - wsprintf(n, "PCI9812"); - SendMessage(GetDlgItem(hWnd,IDC_COMBO1), CB_ADDSTRING, NULL, (LONG)(LPSTR) n); - sprintf(n, "PCI9810"); - SendMessage(GetDlgItem(hWnd,IDC_COMBO1), CB_ADDSTRING, NULL, (LONG)(LPSTR) n); - SendMessage(GetDlgItem(hWnd,IDC_COMBO1) , CB_SETCURSEL, 0, 0L); - for (i=0;i<16;i++) { - wsprintf(n, "%d", i); - _strupr(n); - SendMessage(GetDlgItem(hWnd,IDC_COMBO2), CB_ADDSTRING, NULL, (LONG)(LPSTR) n); - } - SendMessage(GetDlgItem(hWnd,IDC_COMBO2) , CB_SETCURSEL, 0, 0L); - break; - case WM_COMMAND: - switch(LOWORD(wParam)) { - case IDC_COMBO1: - if (HIWORD(wParam) == CBN_CLOSEUP) { - i = (int)SendMessage(GetDlgItem(hWnd,IDC_COMBO1), CB_GETCURSEL, 0, 0L); - SendMessage(GetDlgItem(hWnd,IDC_COMBO1), CB_GETLBTEXT, i, (LPARAM)((LPCSTR)n)); - card_type = i; - } - return(TRUE); - case IDC_COMBO2: - if (HIWORD(wParam) == CBN_CLOSEUP) { - i = (int)SendMessage(GetDlgItem(hWnd,IDC_COMBO2), CB_GETCURSEL, 0, 0L); - SendMessage(GetDlgItem(hWnd,IDC_COMBO2), CB_GETLBTEXT, i, (LPARAM)((LPCSTR)n)); - card_number = i; - } - return(TRUE); - case IDC_CHECK1: - if (midcheck) { - SendMessage(GetDlgItem(hWnd,wParam), BM_SETCHECK, 0, 0); - midcheck=FALSE; - } - else { - SendMessage(GetDlgItem(hWnd,wParam), BM_SETCHECK, 1, 0); - midcheck=TRUE; - } - break; - case IDOK: - if ((card=Register_Card(PCI_9812, card_number)) < 0) { - wsprintf(s, "Register_Card Error = %d\n", card); - MessageBox(hWnd, s, "Error", MB_OK); - SendMessage(hWnd, WM_CLOSE, 0, 0L); - break; - } - EndDialog(hWnd, TRUE); - InvalidateRect(hWnd, NULL, FALSE); - return (TRUE); - case IDCANCEL: - EndDialog(hWnd, TRUE); - return (TRUE); - } - break; - } - return (FALSE); -} - -long PASCAL MainWndProc(hWnd, message, wParam, lParam) -HWND hWnd; -UINT message; -WPARAM wParam; -LPARAM lParam; -{ - HDC hDC; - PAINTSTRUCT ps; - char n[6]; - static int pos=0; - I16 err; - char s[50]; - - switch(message) { - case WM_CREATE: - - DialogBox(hInst,IDD_DIALOG2, hWnd, setup); - if(card<0) { - SendMessage(hWnd, WM_CLOSE, 0, 0L); - break; - } - hEdit=CreateWindow("EDIT", NULL, - WS_CHILD | WS_VISIBLE | ES_LEFT, - output_pos[13].x-30, input_pos[15].y+20,40, 20, hWnd, IDC_EDIT, hInst, NULL); - - hEdit1=CreateWindow("EDIT", NULL, - WS_CHILD | WS_VISIBLE | ES_LEFT, - output_pos[13].x+90, input_pos[15].y+20,60, 20, hWnd, IDC_EDIT1, hInst, NULL); - - if(midcheck) { - hEdit2=CreateWindow("EDIT", NULL, - WS_CHILD | WS_VISIBLE | ES_LEFT, - output_pos[13].x+90, input_pos[15].y-20,60, 20, hWnd, IDC_EDIT2, hInst, NULL); - } - - wsprintf(n,"%d",sample_rate/1000); - SetWindowText(hEdit,n); - - wsprintf(n,"%d",data_size); - SetWindowText(hEdit1,n); - - if(midcheck) { - wsprintf(n,"%d",postCount); - SetWindowText(hEdit2,n); - } - - CreateWindow("SCROLLBAR", NULL, - WS_CHILD | WS_VISIBLE | SBS_VERT, - output_pos[13].x+10, input_pos[15].y+20,20, 20, hWnd, IDC_SCROLL, hInst, NULL); - - hStart = CreateWindow("BUTTON","Start" , - WS_CHILD | WS_VISIBLE , - output_pos[10].x+110, input_pos[10].y+10,50, 30, hWnd, IDC_START, hInst, NULL); - - hStop = CreateWindow("BUTTON","Stop" , - WS_CHILD | WS_VISIBLE , - output_pos[10].x+170, input_pos[10].y+10,50, 30, hWnd, IDC_STOP, hInst, NULL); - - CreateWindow("BUTTON","Data Value" , - WS_CHILD | WS_VISIBLE , - output_pos[10].x+230, input_pos[10].y+10,80, 30, hWnd, IDC_SHOW, hInst, NULL); - EnableWindow(hStop, FALSE); - - //default channel 0 - channel = 0; - - hBlackBrush= CreateSolidBrush(RGB(0,0,0)); - hRedPen= CreatePen(PS_SOLID,1,RGB(255,0,0)); - hBlackPen= CreatePen(PS_SOLID,1,RGB(0,0,0)); - break; - - case WM_PAINT: - hDC = BeginPaint(hWnd, &ps); - - // DMA analog input box - SelectObject(hDC, GetStockObject(GRAY_BRUSH)); - Rectangle(hDC, output_pos[15].x-10, io_pos[15].y-24, output_pos[0].x+26, io_pos[0].y+195); - SetTextColor(hDC,RGB(255,0,0)); - TextOut(hDC, io_pos[15].x+105, io_pos[15].y-40, " Trigger Source : External Digital Trigger ", 43); - SetTextColor(hDC,RGB(255,255,0)); - SetBkColor(hDC, RGB(0, 0, 255)); - TextOut(hDC, io_pos[15].x, io_pos[15].y-35, "DMA Input", 9); - SelectObject(hDC, hBlackBrush); - Rectangle(hDC, output_pos[15].x+35, io_pos[15].y-2, output_pos[4].x+41, io_pos[0].y+172); - - SetBkMode(hDC,TRANSPARENT); - if(midcheck) - TextOut(hDC,output_pos[13].x+70, input_pos[10].y-40,"PostCount",9); - TextOut(hDC,output_pos[13].x-60, input_pos[10].y,"Samping Rate",12); - TextOut(hDC,output_pos[13].x+30, input_pos[15].y+20,"KHZ",3); - TextOut(hDC,output_pos[13].x+70, input_pos[10].y,"Buffer Size",11); - TextOut(hDC,input_pos[2].x-10, io_pos[15].y+118,"Range: +-1V",11); - TextOut(hDC,input_pos[15].x, io_pos[15].y-19,"Volt",4); - TextOut(hDC,input_pos[15].x, io_pos[15].y-5,"1.00",4); - TextOut(hDC,input_pos[15].x, io_pos[15].y+36,"0.50",4); - TextOut(hDC,input_pos[15].x, io_pos[15].y+77,"0.00",4); - TextOut(hDC,input_pos[15].x-3, io_pos[15].y+118,"-0.50",5); - TextOut(hDC,input_pos[15].x-3, io_pos[15].y+159,"-1.00",5); - TextOut(hDC,input_pos[10].x+10, io_pos[10].y-19,"Signals",7); - TextOut(hDC,output_pos[4].x+60, io_pos[0].y,"Channel 0",9); - EndPaint(hWnd, &ps); - break; - - // Sample Rate Spin Control - case WM_VSCROLL: - switch (LOWORD(wParam)) { - case SB_LINEUP : - sample_rate+=100000; // 100K Hz - if (sample_rate > 5*1000000 ) sample_rate=5*1000000; - break; - case SB_LINEDOWN: - sample_rate-=100000; // 100K Hz - if (sample_rate < 5000 ) sample_rate=5000; - break; - } - wsprintf(n,"%d",sample_rate/1000); - SetWindowText(hEdit,n); - break; - case WM_COMMAND: - switch(LOWORD(wParam)) { - case IDM_EXIT: - SendMessage(hWnd, WM_CLOSE, 0, 0L); - break; - - case IDC_SHOW : - DialogBox(hInst, "DMABox", hWnd, ShowDMA); - break; - case IDC_START: - if (hMem != NULL) { - GlobalUnfix(hMem); - GlobalUnlock(hMem); - GlobalFree(hMem); - } - // allocate a memory for DMA - postCount = GetDlgItemInt(hWnd,IDC_EDIT2,NULL ,FALSE); - data_size=GetDlgItemInt(hWnd,IDC_EDIT1,NULL ,FALSE); - mem_size=data_size * 2; - hMem = GlobalAlloc(GMEM_FIXED | GMEM_ZEROINIT,mem_size); - - ai_buf = (I16 *)GlobalLock(hMem); - if (ai_buf == NULL ) { - MessageBox(hWnd,"DMA", "No Memory", MB_OK); - SendMessage(hWnd, WM_CLOSE, 0, 0L); - break; - } - - GlobalFix(hMem); - - if ((err = AI_9812_Config(card, midcheck? P9812_TRGMOD_MIDL:P9812_TRGMOD_SOFT, midcheck?P9812_TRGSRC_EXT_DIG:0, P9812_TRGSLP_POS, P9812_AD2_GT_PCI|P9812_CLKSRC_INT,0,postCount))<0) { - wsprintf(s, "AI Config Error = %d\n", err); - MessageBox(hWnd, s, "Error", MB_OK); - SendMessage(hWnd, WM_CLOSE, 0, 0L); - break; - } - if ((err=AI_AsyncDblBufferMode (card, 1)) != NoError) { - wsprintf(s, "AI_AsyncDblBufferMode Error = %d\n", err); - MessageBox(hWnd, s, "Error", MB_OK); - SendMessage(hWnd, WM_CLOSE, 0, 0L); - break; - } - if((err= AI_EventCallBack (card, 1, DBEvent, (U32) AI_DBCallBack)) != NoError) { - wsprintf(s, "AI_EventCallBack Error = %d\n", err); - MessageBox(hWnd, s, "Error", MB_OK); - SendMessage(hWnd, WM_CLOSE, 0, 0L); - break; - } - if((err= AI_EventCallBack (card, 1, AIEnd, (U32) AI_CallBack)) != NoError) { - wsprintf(s, "AI_EventCallBack Error = %d\n", err); - MessageBox(hWnd, s, "Error", MB_OK); - SendMessage(hWnd, WM_CLOSE, 0, 0L); - break; - } - if ((err=AI_ContReadChannel(card, channel, AD_B_1_V, ai_buf, data_size, (F64)sample_rate, ASYNCH_OP)) != NoError) { - wsprintf(s, "AI_ContReadPort Error = %d\n", err); - MessageBox(hWnd, s, "Error", MB_OK); - SendMessage(hWnd, WM_CLOSE, 0, 0L); - break; - } - EnableWindow(hStart, FALSE); - EnableWindow(hStop, TRUE); - hMainWnd = hWnd; - clear_op = FALSE; - //hThread1 = (HANDLE)_beginthread(ProcessThread, 0, 0); - MessageBeep(0); - break; - case IDC_STOP: - clear_op = TRUE; - AI_AsyncClear(card, &count); - EnableWindow(hStart, TRUE); - EnableWindow(hStop, FALSE); - break; - default: - return(DefWindowProc(hWnd, message, wParam, lParam)); - } - break; - case WM_DESTROY: - if (card >= 0) Release_Card(card); - DeleteObject(hBlackBrush); - DeleteObject(hRedPen); - GlobalUnfix(hMem); - GlobalUnlock(hMem); - GlobalFree(hMem); - PostQuitMessage(0); - break; - default: - return(DefWindowProc(hWnd, message, wParam, lParam)); - } - return(NULL); -} - -BOOL PASCAL ShowDMA(hDlg, message, wParam, lParam) -HWND hDlg; -UINT message; -WPARAM wParam; -LPARAM lParam; -{ - int nTabs[2] = {32, 92}; - int i; - char cBuf[100]; - char string[10]=" "; - char data_str[3]=" "; - I16 *pp; - - switch (message) { - case WM_INITDIALOG: - hListBox = CreateWindow("LISTBOX", " Index Data", - WS_CHILD | WS_VISIBLE | LBS_HASSTRINGS | LBS_STANDARD | LBS_USETABSTOPS |WS_CAPTION, - 50, 40, 240, 180, hDlg, 100, hInst, NULL); - SendMessage(hListBox, LB_RESETCONTENT, 0, 0L); - SendMessage(hListBox, LB_SETTABSTOPS, 2, (DWORD)(LPINT) nTabs); - SetDlgItemText(hDlg, DMA_DESCP, "This ListBox can show at most 4000 data"); - itoa( data_size, string, 10); - SetDlgItemText(hDlg, DMA_SPACE, string); - pp = (I16 *)ai_buf; - if (count >4000) count = 4000; - for(i=0;i>6); - else - wsprintf(cBuf, "%5d\t %5d", i, pp[i]>>4); - SendMessage(hListBox, LB_INSERTSTRING, -1, (DWORD)(LPSTR)cBuf); - } - ShowWindow(hListBox, SW_SHOW); - return (TRUE); - case WM_COMMAND: - if (LOWORD(wParam) == ID_STOP) { - DestroyWindow(hListBox); - EndDialog(hDlg, TRUE); - return (TRUE); - } - break; - } - return (FALSE); -} - -void AI_DBCallBack() -{ - HDC hDC; - I16 adinput; - U32 i, oldx, oldy, newx, newy; - U32 tfer_size; - - hDC = GetDC(hMainWnd); - tfer_size = data_size/2; //Every time transfer half size of buffer - AI_AsyncDblBufferTransfer(card, ai_buf); - SelectObject(hDC, hBlackBrush); - SelectObject(hDC, hBlackPen); - Rectangle(hDC, output_pos[15].x+35, io_pos[15].y-2, output_pos[4].x+41, io_pos[0].y+172); - SelectObject(hDC, hRedPen); - for (i=0; i>4; - newy = io_pos[0].y+86-(87*(long)adinput)/2048; - newx = i*336/tfer_size+output_pos[15].x+35; - if (i==0) - MoveToEx(hDC, newx, newy, NULL); - else - MoveToEx(hDC, oldx, oldy, NULL); - LineTo(hDC, newx, newy); - oldx = newx; - oldy = newy; - } - ReleaseDC(hMainWnd, hDC); -} - -void AI_CallBack() -{ - HDC hDC; - I16 adinput; - U32 i, oldx, oldy, newx, newy; - U32 tfer_size; - - hDC = GetDC(hMainWnd); - tfer_size = data_size/2; //Every time transfer half size of buffer - if(!clear_op) - AI_AsyncClear(card, &count); - AI_AsyncDblBufferTransfer(card, ai_buf); - if(count>tfer_size) - AI_AsyncDblBufferTransfer(card, ai_buf+tfer_size); - - EnableWindow(hStart, TRUE); - EnableWindow(hStop, FALSE); - if (!count) count = tfer_size; - SelectObject(hDC, hBlackBrush); - SelectObject(hDC, hBlackPen); - Rectangle(hDC, output_pos[15].x+35, io_pos[15].y-2, output_pos[4].x+41, io_pos[0].y+172); - SelectObject(hDC, hRedPen); - for (i=0; i>4; - newy = io_pos[0].y+86-(87*(long)adinput)/2048; - newx = i*336/((count>tfer_size)?count:tfer_size)+output_pos[15].x+35; - if (i==0) - MoveToEx(hDC, newx, newy, NULL); - else - MoveToEx(hDC, oldx, oldy, NULL); - LineTo(hDC, newx, newy); - oldx = newx; - oldy = newy; - } - ReleaseDC(hMainWnd, hDC); -} diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9812/Sdk9812DbfCallBack/9812MTrg.dsp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9812/Sdk9812DbfCallBack/9812MTrg.dsp deleted file mode 100644 index 91d23e7..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9812/Sdk9812DbfCallBack/9812MTrg.dsp +++ /dev/null @@ -1,110 +0,0 @@ -# Microsoft Developer Studio Project File - Name="9812MTrg" - Package Owner=<4> -# Microsoft Developer Studio Generated Build File, Format Version 5.00 -# ** DO NOT EDIT ** - -# TARGTYPE "Win32 (x86) Application" 0x0101 - -CFG=9812MTrg - Win32 Release -!MESSAGE This is not a valid makefile. To build this project using NMAKE, -!MESSAGE use the Export Makefile command and run -!MESSAGE -!MESSAGE NMAKE /f "9812MTrg.mak". -!MESSAGE -!MESSAGE You can specify a configuration when running NMAKE -!MESSAGE by defining the macro CFG on the command line. For example: -!MESSAGE -!MESSAGE NMAKE /f "9812MTrg.mak" CFG="9812MTrg - Win32 Release" -!MESSAGE -!MESSAGE Possible choices for configuration are: -!MESSAGE -!MESSAGE "9812MTrg - Win32 Release" (based on "Win32 (x86) Application") -!MESSAGE "9812MTrg - Win32 Debug" (based on "Win32 (x86) Application") -!MESSAGE - -# Begin Project -# PROP Scc_ProjName "" -# PROP Scc_LocalPath "" -CPP=cl.exe -MTL=midl.exe -RSC=rc.exe - -!IF "$(CFG)" == "9812MTrg - Win32 Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir ".\Release" -# PROP BASE Intermediate_Dir ".\Release" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "" -# PROP Intermediate_Dir ".\Release" -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /YX /c -# ADD CPP /nologo /MT /W3 /GX /Od /I "..\..\..\include" /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /FD /c -# SUBTRACT CPP /YX -# ADD BASE MTL /nologo /D "NDEBUG" /win32 -# ADD MTL /nologo /D "NDEBUG" /mktyplib203 /win32 -# ADD BASE RSC /l 0x409 /d "NDEBUG" -# ADD RSC /l 0x409 /d "NDEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:windows /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ..\..\..\lib\pci-dask.lib /nologo /subsystem:windows /machine:I386 - -!ELSEIF "$(CFG)" == "9812MTrg - Win32 Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir ".\Debug" -# PROP BASE Intermediate_Dir ".\Debug" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir ".\Debug" -# PROP Intermediate_Dir ".\Debug" -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /Gm /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /YX /c -# ADD CPP /nologo /MTd /W3 /Gm /GX /Zi /Od /I "..\..\..\include" /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /FD /c -# SUBTRACT CPP /YX -# ADD BASE MTL /nologo /D "_DEBUG" /win32 -# ADD MTL /nologo /D "_DEBUG" /mktyplib203 /win32 -# ADD BASE RSC /l 0x409 /d "_DEBUG" -# ADD RSC /l 0x409 /d "_DEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:windows /debug /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ..\..\..\lib\pci-dask.lib /nologo /subsystem:windows /debug /machine:I386 - -!ENDIF - -# Begin Target - -# Name "9812MTrg - Win32 Release" -# Name "9812MTrg - Win32 Debug" -# Begin Group "Source Files" - -# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;hpj;bat;for;f90" -# Begin Source File - -SOURCE=.\9812MTrg.c -# End Source File -# Begin Source File - -SOURCE=.\9812MTrg.rc -# End Source File -# End Group -# Begin Group "Header Files" - -# PROP Default_Filter "h;hpp;hxx;hm;inl;fi;fd" -# End Group -# Begin Group "Resource Files" - -# PROP Default_Filter "ico;cur;bmp;dlg;rc2;rct;bin;cnt;rtf;gif;jpg;jpeg;jpe" -# End Group -# End Target -# End Project diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9812/Sdk9812DbfCallBack/9812MTrg.dsw b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9812/Sdk9812DbfCallBack/9812MTrg.dsw deleted file mode 100644 index b32210a..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9812/Sdk9812DbfCallBack/9812MTrg.dsw +++ /dev/null @@ -1,29 +0,0 @@ -Microsoft Developer Studio Workspace File, Format Version 5.00 -# WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE! - -############################################################################### - -Project: "9812MTrg"=.\9812MTrg.dsp - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ -}}} - -############################################################################### - -Global: - -Package=<5> -{{{ -}}} - -Package=<3> -{{{ -}}} - -############################################################################### - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9812/Sdk9812DbfCallBack/9812MTrg.exe b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9812/Sdk9812DbfCallBack/9812MTrg.exe deleted file mode 100644 index 72f5f4d..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9812/Sdk9812DbfCallBack/9812MTrg.exe and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9812/Sdk9812DbfCallBack/9812MTrg.rc b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9812/Sdk9812DbfCallBack/9812MTrg.rc deleted file mode 100644 index 5963b28..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9812/Sdk9812DbfCallBack/9812MTrg.rc +++ /dev/null @@ -1,130 +0,0 @@ -//Microsoft Developer Studio generated resource script. -// -#include "resource.h" - -#define APSTUDIO_READONLY_SYMBOLS -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 2 resource. -// -#define APSTUDIO_HIDDEN_SYMBOLS -#include "windows.h" -#undef APSTUDIO_HIDDEN_SYMBOLS - -///////////////////////////////////////////////////////////////////////////// -#undef APSTUDIO_READONLY_SYMBOLS - -///////////////////////////////////////////////////////////////////////////// -// English (U.S.) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -#ifdef _WIN32 -LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US -#pragma code_page(1252) -#endif //_WIN32 - -///////////////////////////////////////////////////////////////////////////// -// -// Menu -// - -U7120MENU MENU DISCARDABLE -BEGIN - MENUITEM "E&xit!", IDM_EXIT -END - - -#ifdef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// TEXTINCLUDE -// - -1 TEXTINCLUDE DISCARDABLE -BEGIN - "resource.h\0" -END - -2 TEXTINCLUDE DISCARDABLE -BEGIN - "#define APSTUDIO_HIDDEN_SYMBOLS\r\n" - "#include ""windows.h""\r\n" - "#undef APSTUDIO_HIDDEN_SYMBOLS\r\n" - "\0" -END - -3 TEXTINCLUDE DISCARDABLE -BEGIN - "\r\n" - "\0" -END - -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog -// - -DMABOX DIALOG DISCARDABLE 18, 10, 171, 169 -STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "Data Value (half of circular buffer)" -FONT 8, "System" -BEGIN - PUSHBUTTON "STOP",ID_STOP,82,147,24,14 - LTEXT "Data Transferred :",-1,39,119,64,8 - LTEXT "Text",DMA_SPACE,103,118,41,8 - LTEXT "Text",DMA_DESCP,16,6,158,8 -END - -IDD_DIALOG2 DIALOG DISCARDABLE 110, 10, 110, 99 -STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "Card Number" -FONT 10, "System" -BEGIN - DEFPUSHBUTTON "OK",IDOK,9,78,39,14 - PUSHBUTTON "Cancel",IDCANCEL,56,78,38,14 - COMBOBOX IDC_COMBO1,52,33,51,45,CBS_DROPDOWN | WS_VSCROLL | - WS_TABSTOP - LTEXT "Card Type",IDC_STATIC,3,34,46,13 - LTEXT "Card Number",IDC_STATIC,3,13,44,10 - COMBOBOX IDC_COMBO2,51,11,52,94,CBS_DROPDOWN | WS_VSCROLL | - WS_TABSTOP - CONTROL "About Trigger Enabled",IDC_CHECK1,"Button", - BS_AUTOCHECKBOX | WS_TABSTOP,3,52,93,13 -END - - -///////////////////////////////////////////////////////////////////////////// -// -// DESIGNINFO -// - -#ifdef APSTUDIO_INVOKED -GUIDELINES DESIGNINFO DISCARDABLE -BEGIN - IDD_DIALOG2, DIALOG - BEGIN - LEFTMARGIN, 3 - RIGHTMARGIN, 103 - BOTTOMMARGIN, 92 - END -END -#endif // APSTUDIO_INVOKED - -#endif // English (U.S.) resources -///////////////////////////////////////////////////////////////////////////// - - - -#ifndef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 3 resource. -// - - -///////////////////////////////////////////////////////////////////////////// -#endif // not APSTUDIO_INVOKED - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9812/Sdk9812DbfCallBack/resource.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9812/Sdk9812DbfCallBack/resource.h deleted file mode 100644 index 0ad23a9..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9812/Sdk9812DbfCallBack/resource.h +++ /dev/null @@ -1,27 +0,0 @@ -//{{NO_DEPENDENCIES}} -// Microsoft Developer Studio generated include file. -// Used by 9812MTrg.rc -// -#define IDM_SETUP 101 -#define IDD_DIALOG1 101 -#define IDD_DIALOG2 104 -#define IDM_EXIT 110 -#define ID_CARDNUMBER 122 -#define ID_STOP 304 -#define DMA_SPACE 500 -#define DMA_DESCP 600 -#define IDC_COMBO1 1001 -#define IDC_COMBO2 1003 -#define IDC_CHECK1 1004 -#define IDC_STATIC -1 - -// Next default values for new objects -// -#ifdef APSTUDIO_INVOKED -#ifndef APSTUDIO_READONLY_SYMBOLS -#define _APS_NEXT_RESOURCE_VALUE 105 -#define _APS_NEXT_COMMAND_VALUE 123 -#define _APS_NEXT_CONTROL_VALUE 1004 -#define _APS_NEXT_SYMED_VALUE 101 -#endif -#endif diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9812/VB9812/9812DMA.FRX b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9812/VB9812/9812DMA.FRX deleted file mode 100644 index 5302967..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9812/VB9812/9812DMA.FRX and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9812/VB9812/9812DMA.VBP b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9812/VB9812/9812DMA.VBP deleted file mode 100644 index f2cfc23..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9812/VB9812/9812DMA.VBP +++ /dev/null @@ -1,22 +0,0 @@ -Form=9812DMA.FRM -Module=DASK; ..\..\..\Include\Dask.bas -Module=Module1; 9812glbl.Bas -Form=Base9812.frm -Reference=*\G{00025E04-0000-0000-C000-000000000046}#2.5#0#D:\Program Files\Common Files\Microsoft Shared\DD:\Program Fil#Microsoft DAO 2.5/3.0 Compatibility Library -ProjWinSize=97,534,191,206 -ProjWinShow=2 -IconForm="dma9812" -Title="9812DMA" -ExeName32="9812dma.exe" -ExeName="9812DMA.EXE" -Name="vb49812dma" -HelpContextID="0" -StartMode=0 -VersionCompatible32="0" -VersionCompatible="0" -MajorVer=1 -MinorVer=0 -RevisionVer=0 -AutoIncrementVer=0 -ServerSupportFiles=0 -VersionCompanyName="ADLink" diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9812/VB9812/9812dma.Frm b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9812/VB9812/9812dma.Frm deleted file mode 100644 index 071db12..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9812/VB9812/9812dma.Frm +++ /dev/null @@ -1,698 +0,0 @@ -VERSION 4.00 -Begin VB.Form dma9812 - Appearance = 0 'Flat - AutoRedraw = -1 'True - BackColor = &H00C0C0C0& - Caption = "9812 DMA" - ClientHeight = 6390 - ClientLeft = 1020 - ClientTop = 1650 - ClientWidth = 7665 - BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851} - Name = "MS Sans Serif" - Size = 8.25 - Charset = 0 - Weight = 700 - Underline = 0 'False - Italic = 0 'False - Strikethrough = 0 'False - EndProperty - ForeColor = &H0000FFFF& - Height = 7080 - Left = 960 - LinkTopic = "Form1" - ScaleHeight = 6390 - ScaleWidth = 7665 - Top = 1020 - Width = 7785 - Begin VB.Frame Frame3 - Appearance = 0 'Flat - BackColor = &H00C0C0C0& - Caption = "Post Trigger Count" - ForeColor = &H00FF0000& - Height = 615 - Left = 120 - TabIndex = 28 - Top = 5160 - Width = 2055 - Begin VB.TextBox txtPostCount - Alignment = 1 'Right Justify - Height = 285 - Left = 180 - TabIndex = 29 - Text = "500" - Top = 240 - Width = 975 - End - End - Begin VB.Frame Frame2 - Appearance = 0 'Flat - BackColor = &H00C0C0C0& - Caption = "Channel Count" - ForeColor = &H00FF0000& - Height = 615 - Left = 120 - TabIndex = 25 - Top = 4500 - Width = 2055 - Begin VB.ComboBox cobChn - Appearance = 0 'Flat - Height = 315 - Left = 180 - Style = 2 'Dropdown List - TabIndex = 26 - Top = 240 - Width = 855 - End - Begin VB.Label Label8 - Appearance = 0 'Flat - BackColor = &H00C0C0C0& - Caption = "channels" - ForeColor = &H0000FFFF& - Height = 255 - Left = 1080 - TabIndex = 27 - Top = 300 - Width = 795 - End - End - Begin VB.Frame Frame1 - Appearance = 0 'Flat - BackColor = &H00C0C0C0& - Caption = "Trigger" - ForeColor = &H00FF0000& - Height = 1935 - Left = 2280 - TabIndex = 17 - Top = 3840 - Width = 2535 - Begin VB.ComboBox cobTrigLevel - Appearance = 0 'Flat - Height = 315 - Left = 900 - Style = 2 'Dropdown List - TabIndex = 36 - Top = 1500 - Width = 975 - End - Begin VB.ComboBox cobTrigPol - Appearance = 0 'Flat - Height = 315 - Left = 900 - Style = 2 'Dropdown List - TabIndex = 22 - Top = 1080 - Width = 1515 - End - Begin VB.ComboBox cobTrigSrc - Appearance = 0 'Flat - Height = 315 - Left = 900 - Style = 2 'Dropdown List - TabIndex = 19 - Top = 660 - Width = 1515 - End - Begin VB.ComboBox cobTrigMode - Appearance = 0 'Flat - Height = 315 - Left = 900 - Style = 2 'Dropdown List - TabIndex = 18 - Top = 240 - Width = 1515 - End - Begin VB.Label Label7 - Caption = "Level:" - Height = 195 - Left = 120 - TabIndex = 24 - Top = 1560 - Width = 735 - End - Begin VB.Label Label6 - Caption = "Polarity:" - Height = 195 - Left = 120 - TabIndex = 23 - Top = 1140 - Width = 735 - End - Begin VB.Label Label5 - Caption = "Source:" - Height = 195 - Left = 120 - TabIndex = 21 - Top = 720 - Width = 735 - End - Begin VB.Label Label4 - Caption = "Mode:" - Height = 195 - Left = 120 - TabIndex = 20 - Top = 300 - Width = 675 - End - End - Begin VB.CommandButton btnStart - Appearance = 0 'Flat - BackColor = &H80000005& - Caption = "Start" - Height = 375 - Left = 3240 - TabIndex = 3 - Top = 5940 - Width = 1005 - End - Begin VB.Frame frmData - Appearance = 0 'Flat - BackColor = &H00C0C0C0& - Caption = "Data Size (in samples)" - ForeColor = &H00FF0000& - Height = 615 - Left = 120 - TabIndex = 2 - Top = 3840 - Width = 2055 - Begin VB.ComboBox cobDataSize - Appearance = 0 'Flat - Height = 315 - Left = 180 - TabIndex = 12 - Text = "cobDataSize" - Top = 240 - Width = 1395 - End - End - Begin VB.Frame frmSample - Appearance = 0 'Flat - BackColor = &H00C0C0C0& - Caption = "Clock" - ForeColor = &H00FF0000& - Height = 1095 - Left = 4920 - TabIndex = 1 - Top = 3840 - Width = 2595 - Begin VB.ComboBox cobClkSrc - Appearance = 0 'Flat - Height = 315 - Left = 900 - Style = 2 'Dropdown List - TabIndex = 16 - Top = 240 - Width = 1515 - End - Begin VB.ComboBox cobRate - Appearance = 0 'Flat - Height = 315 - Left = 900 - Style = 2 'Dropdown List - TabIndex = 11 - Top = 660 - Width = 975 - End - Begin VB.Label Label3 - Caption = "Source:" - Height = 195 - Left = 180 - TabIndex = 15 - Top = 300 - Width = 675 - End - Begin VB.Label Label2 - Caption = "Rate:" - Height = 195 - Left = 180 - TabIndex = 14 - Top = 720 - Width = 495 - End - Begin VB.Label Label1 - Appearance = 0 'Flat - BackColor = &H00C0C0C0& - Caption = "MHz" - ForeColor = &H0000FFFF& - Height = 255 - Left = 1980 - TabIndex = 13 - Top = 735 - Width = 450 - End - End - Begin VB.Frame dmaFrame - Appearance = 0 'Flat - BackColor = &H00C0C0C0& - Caption = "DMA Input(A/D)" - ForeColor = &H00FF0000& - Height = 3735 - Left = 120 - TabIndex = 0 - Top = 60 - Width = 7395 - Begin VB.HScrollBar scrollView - Height = 255 - LargeChange = 10 - Left = 720 - TabIndex = 37 - Top = 3360 - Width = 5655 - End - Begin VB.PictureBox picScreen - Appearance = 0 'Flat - AutoRedraw = -1 'True - BackColor = &H00000000& - ForeColor = &H80000008& - Height = 2595 - Left = 720 - ScaleHeight = 171 - ScaleMode = 3 'Pixel - ScaleWidth = 375 - TabIndex = 4 - Top = 480 - Width = 5655 - End - Begin VB.Image TriggerPos - Height = 120 - Left = 6300 - Picture = "9812DMA.frx":0000 - Top = 330 - Visible = 0 'False - Width = 120 - End - Begin VB.Label Label10 - Caption = "3" - Height = 195 - Index = 3 - Left = 6840 - TabIndex = 35 - Top = 1800 - Width = 195 - End - Begin VB.Label Label10 - Caption = "2" - Height = 195 - Index = 2 - Left = 6840 - TabIndex = 34 - Top = 1380 - Width = 195 - End - Begin VB.Label Label10 - Caption = "1" - Height = 195 - Index = 1 - Left = 6840 - TabIndex = 33 - Top = 960 - Width = 195 - End - Begin VB.Label Label10 - Caption = "0" - Height = 195 - Index = 0 - Left = 6840 - TabIndex = 32 - Top = 540 - Width = 195 - End - Begin VB.Shape shpColor - BackColor = &H00008000& - BackStyle = 1 'Opaque - Height = 255 - Index = 3 - Left = 6600 - Top = 1740 - Width = 195 - End - Begin VB.Shape shpColor - BackColor = &H000000FF& - BackStyle = 1 'Opaque - Height = 255 - Index = 2 - Left = 6600 - Top = 1320 - Width = 195 - End - Begin VB.Shape shpColor - BackColor = &H00FF0000& - BackStyle = 1 'Opaque - Height = 255 - Index = 1 - Left = 6600 - Top = 900 - Width = 195 - End - Begin VB.Shape shpColor - BackColor = &H0000FFFF& - BackStyle = 1 'Opaque - BorderColor = &H00000000& - Height = 255 - Index = 0 - Left = 6600 - Top = 480 - Width = 195 - End - Begin VB.Label lblLeft - Caption = "0" - Height = 195 - Left = 660 - TabIndex = 31 - Top = 3120 - Width = 795 - End - Begin VB.Label lblRight - Alignment = 1 'Right Justify - Caption = "0" - Height = 195 - Left = 5520 - TabIndex = 30 - Top = 3120 - Width = 915 - End - Begin VB.Label labValue - Alignment = 1 'Right Justify - Appearance = 0 'Flat - BackColor = &H00C0C0C0& - Caption = "-1.00" - ForeColor = &H0000FFFF& - Height = 255 - Index = 4 - Left = 45 - TabIndex = 10 - Top = 2940 - Width = 600 - End - Begin VB.Label labValue - Alignment = 1 'Right Justify - Appearance = 0 'Flat - BackColor = &H00C0C0C0& - Caption = "-0.50" - ForeColor = &H0000FFFF& - Height = 255 - Index = 3 - Left = 45 - TabIndex = 9 - Top = 2280 - Width = 600 - End - Begin VB.Label labValue - Alignment = 1 'Right Justify - Appearance = 0 'Flat - BackColor = &H00C0C0C0& - Caption = "0.00" - ForeColor = &H0000FFFF& - Height = 255 - Index = 2 - Left = 45 - TabIndex = 8 - Top = 1680 - Width = 600 - End - Begin VB.Label labValue - Alignment = 1 'Right Justify - Appearance = 0 'Flat - BackColor = &H00C0C0C0& - Caption = "0.50" - ForeColor = &H0000FFFF& - Height = 255 - Index = 1 - Left = 45 - TabIndex = 7 - Top = 1020 - Width = 600 - End - Begin VB.Label labValue - Alignment = 1 'Right Justify - Appearance = 0 'Flat - BackColor = &H00C0C0C0& - Caption = "1.00" - ForeColor = &H0000FFFF& - Height = 255 - Index = 0 - Left = 45 - TabIndex = 6 - Top = 420 - Width = 600 - End - Begin VB.Label labVots - Appearance = 0 'Flat - BackColor = &H00C0C0C0& - Caption = "Volt" - ForeColor = &H0000FFFF& - Height = 255 - Left = 180 - TabIndex = 5 - Top = 195 - Width = 435 - End - End - Begin VB.Label txtXfer - Alignment = 1 'Right Justify - ForeColor = &H00C00000& - Height = 255 - Left = 4860 - TabIndex = 38 - Top = 6000 - Width = 2595 - End - Begin VB.Menu mnuExit - Caption = "E&xit!" - End -End -Attribute VB_Name = "dma9812" -Attribute VB_Creatable = False -Attribute VB_Exposed = False -Const DISP_COUNT = 1000 -Dim gnADChn As Long -Dim gnCount As Long -Dim gnClkDiv As Integer -Dim trigLevel As Integer -Dim count1 As Long -Dim ch_cnt As Integer -Dim gnBuffer(81920) As Integer -Dim dma_size As Long -Dim range As Integer - -Private Sub btnStart_Click() - Dim result As Long - Dim status As Byte - Dim i As Long, k As Long - - dma_size = CLng(cobDataSize.Text) - sample_rate = (40 * 1000000) / gnClkDiv - ch_cnt = CLng(cobChn.Text) - range = AD_B_1_V - btnStart.Enabled = False - result = AI_9812_Config(card, CLng(cobTrigMode.ListIndex), CLng(cobTrigSrc.ListIndex) * 8, CLng(cobTrigPol.ListIndex) * 64, P9812_AD2_GT_PCI Or (CLng(cobClkSrc.ListIndex) * 256), CLng(cobTrigLevel.Text), CInt(txtPostCount.Text)) - status = 0 - result = AI_ContScanChannels(card, ch_cnt - 1, range, gnBuffer(0), dma_size, sample_rate, ASYNCH_OP) - - While status = 0 - result = AI_AsyncCheck(card, status, count1) - Wend - result = AI_AsyncClear(card, count1) - txtXfer.Caption = "Total xfer: " & CStr(count1) - scrollView.Value = 0 - scrollView.Max = Fix((count1 - 1) / DISP_COUNT) - ShowData 0, Min(count1, DISP_COUNT) - btnStart.Enabled = True -End Sub - - - - - - - - - -Private Sub cobRate_Click() - gnClkDiv = CInt(CSng(40) / Val(cobRate.Text)) -End Sub - - -Private Sub cobTrigLevel_Click() - DrawTrigLevel trigLevel, CInt(cobTrigLevel.Text) - trigLevel = CInt(cobTrigLevel.Text) -End Sub - - -Private Sub Form_Load() - Dim result As Long - Dim i As Integer - - SettingForm.Show 1 - If card < 0 Then - MsgBox "Register card failed." - End - End If - - cobDataSize.AddItem "2000" - cobDataSize.AddItem "4000" - cobDataSize.AddItem "8000" - cobDataSize.AddItem "20000" - cobDataSize.AddItem "40000" - cobDataSize.AddItem "80000" - cobDataSize.ListIndex = 0 - - cobChn.AddItem "1" - cobChn.AddItem "2" - cobChn.AddItem "4" - cobChn.ListIndex = 0 - - txtPostCount.Text = 500 - - cobTrigMode.AddItem "Soft-Trigger" - cobTrigMode.AddItem "Post-Trigger" - cobTrigMode.AddItem "Pre-Trigger" - cobTrigMode.AddItem "Delay-Trigger" - cobTrigMode.AddItem "Middle-Trigger" - cobTrigMode.ListIndex = 0 - - cobTrigSrc.AddItem "Channel-0" - cobTrigSrc.AddItem "Channel-1" - cobTrigSrc.AddItem "Channel-2" - cobTrigSrc.AddItem "Channel-3" - cobTrigSrc.AddItem "Digital" - cobTrigSrc.ListIndex = 0 - - cobTrigPol.AddItem "Positive" - cobTrigPol.AddItem "Negative" - cobTrigPol.ListIndex = 0 - - For i = 0 To 31 - cobTrigLevel.AddItem i * 8 - Next - cobTrigLevel.AddItem 255 - trigLevel = -1 - cobTrigLevel.ListIndex = 16 '128, 0V - trigLevel = 128 - - cobClkSrc.AddItem "Internal" - cobClkSrc.AddItem "Ext Sin" - cobClkSrc.AddItem "Ext Square" - cobClkSrc.ListIndex = 0 - - cobRate.AddItem "0.5" - cobRate.AddItem "1" - cobRate.AddItem "2" - cobRate.AddItem "5" - cobRate.AddItem "10" - cobRate.AddItem "20" - cobRate.ListIndex = 5 - gnClkDiv = 2 - - dma_size = 0 -End Sub - - -Private Sub ShowData(ByVal startidx As Long, ByVal acq_count As Long) - Dim i As Long, k As Long, n As Long - Dim w As Long, h As Long - Dim X As Long, Y As Long - Dim last_x(3) As Long, last_y(3) As Long - Dim samp As Integer, trig_pos As Long - picScreen.Cls - DrawTrigLevel -1, trigLevel - lblLeft.Caption = CStr(CLng(scrollView.Value) * DISP_COUNT) - lblRight.Caption = CStr(CLng(lblLeft) + DISP_COUNT - 1) - w = picScreen.ScaleWidth - h = picScreen.ScaleHeight - - For i = 0 To 3 - last_x(i) = -1 - last_y(i) = -1 - Next - For i = 0 To acq_count - 1 - k = i Mod ch_cnt - n = (startidx + i) Mod count1 - X = (i * w) / (DISP_COUNT - 1) - samp = gnBuffer(n) - If card_type = PCI_9812 Then - samp = samp / 16 - Y = h * (2047 - samp) / 4096 - Else 'PCI9810 - samp = samp / 64 - Y = h * (511 - samp) / 1024 - End If - If last_y(k) <> -1 Then - picScreen.Line (last_x(k), last_y(k))-(X, Y), shpColor(k).BackColor - End If - last_x(k) = X - last_y(k) = Y - Next - 'Set trigger position - Select Case cobTrigMode.ListIndex - Case P9812_TRGMOD_POST - trig_pos = 0 - Case P9812_TRGMOD_PRE - trig_pos = count1 - 1 - Case P9812_TRGMOD_DELAY - trig_pos = -1 - Case P9812_TRGMOD_MIDL - trig_pos = count1 - CLng(txtPostCount.Text) * CLng(cobChn.Text) - End Select - If CLng(lblLeft) <= trig_pos And CLng(lblRight) >= trig_pos Then - TriggerPos.Visible = True - TriggerPos.Left = (picScreen.Left - 60) + ((trig_pos - CLng(lblLeft)) * w * Screen.TwipsPerPixelX) / (DISP_COUNT - 1) - Else - TriggerPos.Visible = False - End If -End Sub - -Private Sub Form_Unload(Cancel As Integer) - Dim result As Long - 'If memID >= 0 Then - ' result = W_9812_Free_DMA_Mem(memID) - If card >= 0 Then - Release_Card (card) - End If -End Sub - -Private Sub mnuExit_Click() - If card >= 0 Then Release_Card (card) - End -End Sub - -Private Sub scrollView_Change() - Dim idx As Long - idx = CLng(scrollView.Value) * DISP_COUNT - ShowData idx Mod count1, Min(count1 - idx, DISP_COUNT) -End Sub - - - - - - - - - - - - - -Private Sub DrawTrigLevel(ByVal old_level As Integer, ByVal level As Integer) - Dim w As Long, h As Long - Dim Y As Long - - w = picScreen.ScaleWidth - h = picScreen.ScaleHeight - If old_level <> -1 Then - Y = h * (255 - old_level) / 255 - picScreen.Line (0, Y)-(w, Y), &H0 - End If - Y = h * (255 - level) / 255 - picScreen.Line (0, Y)-(w, Y), &H909090 -End Sub - -Private Function Min(ByVal v1 As Long, ByVal v2 As Long) As Long - If v1 < v2 Then - Min = v1 - Else - Min = v2 - End If -End Function - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9812/VB9812/9812glbl.Bas b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9812/VB9812/9812glbl.Bas deleted file mode 100644 index 43d6596..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9812/VB9812/9812glbl.Bas +++ /dev/null @@ -1,10 +0,0 @@ -Attribute VB_Name = "Module1" -Option Explicit - -Declare Function BitBlt Lib "GDI32" (ByVal hDestDC As Long, ByVal X As Long, ByVal Y As Long, ByVal nWidth As Long, ByVal nHeight As Long, ByVal hSrcDC As Long, ByVal XSrc As Long, ByVal YSrc As Long, ByVal dwRop As Long) As Long - -Global Const SRCCOPY = &HCC0020 ' (DWORD) dest = source -Global card As Integer -Global card_number As Integer -Global card_type As Integer - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9812/VB9812/Base9812.frm b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9812/VB9812/Base9812.frm deleted file mode 100644 index 3dbcf6d..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9812/VB9812/Base9812.frm +++ /dev/null @@ -1,124 +0,0 @@ -VERSION 4.00 -Begin VB.Form SettingForm - Appearance = 0 'Flat - BackColor = &H00C0C0C0& - Caption = "Card Setting" - ClientHeight = 1770 - ClientLeft = 4590 - ClientTop = 3420 - ClientWidth = 2835 - BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851} - Name = "MS Sans Serif" - Size = 8.25 - Charset = 0 - Weight = 700 - Underline = 0 'False - Italic = 0 'False - Strikethrough = 0 'False - EndProperty - ForeColor = &H80000008& - Height = 2175 - Left = 4530 - LinkTopic = "Form2" - ScaleHeight = 1770 - ScaleWidth = 2835 - Top = 3075 - Width = 2955 - Begin VB.ComboBox CardType - Height = 315 - Left = 1440 - TabIndex = 5 - Text = "CardType" - Top = 720 - Width = 1215 - End - Begin VB.CommandButton OKBtn - Appearance = 0 'Flat - BackColor = &H80000005& - Caption = "OK" - Default = -1 'True - Height = 315 - Left = 240 - TabIndex = 0 - Top = 1320 - Width = 915 - End - Begin VB.CommandButton CancelBtn - Appearance = 0 'Flat - BackColor = &H80000005& - Cancel = -1 'True - Caption = "Cancel" - Height = 315 - Left = 1560 - TabIndex = 3 - Top = 1320 - Width = 915 - End - Begin VB.ComboBox CardNum - Appearance = 0 'Flat - Height = 315 - Left = 1440 - Style = 2 'Dropdown List - TabIndex = 2 - Top = 120 - Width = 1215 - End - Begin VB.Label Label1 - Caption = "Card Type" - Height = 255 - Left = 120 - TabIndex = 4 - Top = 720 - Width = 1095 - End - Begin VB.Label Label2 - Appearance = 0 'Flat - BackColor = &H00C0C0C0& - Caption = "Card Number:" - ForeColor = &H00000000& - Height = 195 - Index = 0 - Left = 120 - TabIndex = 1 - Top = 180 - Width = 1275 - End -End -Attribute VB_Name = "SettingForm" -Attribute VB_Creatable = False -Attribute VB_Exposed = False - - -Private Sub BaseAddr_Change() - -End Sub - - -Private Sub CancelBtn_Click() - Unload SettingForm -End Sub - -Private Sub Form_Load() - Dim i As Long - For i = 0 To 15 Step 1 - CardNum.AddItem i - Next - CardNum.ListIndex = 0 - CardType.AddItem "9812" - CardType.AddItem "9810" - CardType.ListIndex = 0 -End Sub - -Private Sub OKBtn_Click() - card = -1 - card_number = CardNum.ListIndex - Select Case CardType.ListIndex - Case 0 - card_type = PCI_9812 - Case 1 - card_type = PCI_9810 - End Select - card = Register_Card(card_type, card_number) - Unload SettingForm -End Sub - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9812/VB9812/TRIGGER.BMP b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9812/VB9812/TRIGGER.BMP deleted file mode 100644 index d71a062..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/9812/VB9812/TRIGGER.BMP and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/misc/CAIDbfOverrunCheck/AIDbfOverCheck.c b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/misc/CAIDbfOverrunCheck/AIDbfOverCheck.c deleted file mode 100644 index 498b076..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/misc/CAIDbfOverrunCheck/AIDbfOverCheck.c +++ /dev/null @@ -1,102 +0,0 @@ -#include -#include -#include -#include "dask.h" - -#define CardNum 12 -#define DataSize 2048 -#define sample_rate 100000 - -U16 channel=0; //1 channels -U16 range=AD_B_5_V; -U32 read_count = DataSize, count = 0, count1 = 0; -char *file_name="AIData"; - -U16 CardType[CardNum] = {PCI_9111DG, PCI_9111HR, PCI_9112, PCI_9113, PCI_9114DG, PCI_9114HG, PCI_9116, PCI_9118DG, PCI_9118HG, PCI_9118HR, PCI_9810, PCI_9812}; - -void exch_data(U16 *tbuf, U32 cnt); - -main() -{ - I16 card, err, card_num=0, card_type, i; - BOOLEAN halfReady, fStop; - U16 t=0; - U16 sts=0; - - printf("--------------------------------------------\n"); - printf("0. PCI_9111DG\n1. PCI_9111HR\n2. PCI_9112\n3. PCI_9113\n4. PCI_9114DG\n5. PCI_9114HG\n6. PCI_9116\n7. PCI_9118DG\n8. PCI_9118HG\n9. PCI_9118HR\n10. PCI_9810\n11. PCI_9812\n"); - printf("--------------------------------------------\n"); - printf("Please select a card type: "); - scanf(" %d", &card_type); - card_type = CardType[card_type]; - printf("Please input a card number: "); - scanf(" %d", &card_num); - if ((card=Register_Card (card_type, card_num)) <0 ) { - printf("Register_Card error=%d\n", card); - exit(1); - } - switch(card_type) { - case PCI_9111DG: - case PCI_9111HR: - err=AI_9111_Config(card,TRIG_INT_PACER, 0, 0); - break; - case PCI_9112: - err = AI_9112_Config(card, TRIG_INT_PACER); - break; - case PCI_9113: - err = AI_9113_Config(card, TRIG_INT_PACER); - break; - case PCI_9114DG: - case PCI_9114HG: - err = AI_9114_Config(card, TRIG_INT_PACER); - break; - case PCI_9116: - err = AI_9116_Config(card,0,P9116_AI_DMA,0,0,0); - break; - case PCI_9118DG: - case PCI_9118HG: - case PCI_9118HR: - err = AI_9118_Config(card,P9118_AI_BiPolar|P9118_AI_SingEnded,0,0,0); - break; - case PCI_9810: - case PCI_9812: - err = AI_9812_Config(card,P9812_TRGMOD_SOFT, P9812_TRGSRC_CH0, P9812_TRGSLP_POS, P9812_AD2_GT_PCI|P9812_CLKSRC_INT,0x80,0); - break; - } - if (err!=0) { - printf("AI_9xxx_Config error=%d", err); - exit(1); - } - err = AI_AsyncDblBufferMode(card, 1); - if (err!=0) { - printf("AI_DblBufferMode error=%d", err); - exit(1); - } - if(card_type == PCI_9116) - AI_9116_CounterInterval (card, 12000, 12000); - err = AI_ContScanChannelsToFile(card, channel, range, file_name, read_count, (F64) sample_rate, ASYNCH_OP); - if (err!=0) { - printf("AI_ContReadChannelToFile error=%d", err); - exit(1); - } - printf("\n\nPress any key to stop input operation.\n\n"); - do { - //use AI_AsyncDblBufferHalfReady - do { - AI_AsyncDblBufferHalfReady(card, &halfReady, &fStop); - } while (!halfReady); - AI_AsyncDblBufferTransfer(card, NULL); //transfer to file - count += (read_count / 2); - AI_AsyncDblBufferOverrun(card, 0, &sts); - if(sts) { - t++; - AI_AsyncDblBufferOverrun(card, 1, &sts); - } - printf("\roverrun:%d, count: %d", t, count); - } while(!kbhit()); - AI_AsyncClear(card, &count1); - count += count1; - Release_Card(card); - printf("\n\n%d input data are stored in file '%s.dat'.\n", count, file_name); - printf("\nPress ENTER to exit the program. "); getch(); -} diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/misc/CAIDbfOverrunCheck/CAIDbfOverrunCheck.dsp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/misc/CAIDbfOverrunCheck/CAIDbfOverrunCheck.dsp deleted file mode 100644 index 4199643..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/misc/CAIDbfOverrunCheck/CAIDbfOverrunCheck.dsp +++ /dev/null @@ -1,94 +0,0 @@ -# Microsoft Developer Studio Project File - Name="CAIDbfOverrunCheck" - Package Owner=<4> -# Microsoft Developer Studio Generated Build File, Format Version 5.00 -# ** DO NOT EDIT ** - -# TARGTYPE "Win32 (x86) Console Application" 0x0103 - -CFG=CAIDbfOverrunCheck - Win32 Debug -!MESSAGE This is not a valid makefile. To build this project using NMAKE, -!MESSAGE use the Export Makefile command and run -!MESSAGE -!MESSAGE NMAKE /f "CAIDbfOverrunCheck.mak". -!MESSAGE -!MESSAGE You can specify a configuration when running NMAKE -!MESSAGE by defining the macro CFG on the command line. For example: -!MESSAGE -!MESSAGE NMAKE /f "CAIDbfOverrunCheck.mak"\ - CFG="CAIDbfOverrunCheck - Win32 Debug" -!MESSAGE -!MESSAGE Possible choices for configuration are: -!MESSAGE -!MESSAGE "CAIDbfOverrunCheck - Win32 Release" (based on\ - "Win32 (x86) Console Application") -!MESSAGE "CAIDbfOverrunCheck - Win32 Debug" (based on\ - "Win32 (x86) Console Application") -!MESSAGE - -# Begin Project -# PROP Scc_ProjName "" -# PROP Scc_LocalPath "" -CPP=cl.exe -RSC=rc.exe - -!IF "$(CFG)" == "CAIDbfOverrunCheck - Win32 Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "Release" -# PROP BASE Intermediate_Dir "Release" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "" -# PROP Intermediate_Dir "Release" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c -# ADD CPP /nologo /W3 /GX /Od /I "..\..\..\include" /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /FD /c -# SUBTRACT CPP /YX -# ADD BASE RSC /l 0x404 /d "NDEBUG" -# ADD RSC /l 0x409 /d "NDEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ..\..\..\lib\pci-dask.lib /nologo /subsystem:console /machine:I386 - -!ELSEIF "$(CFG)" == "CAIDbfOverrunCheck - Win32 Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "Debug" -# PROP BASE Intermediate_Dir "Debug" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "Debug" -# PROP Intermediate_Dir "Debug" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /Gm /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c -# ADD CPP /nologo /W3 /Gm /GX /Zi /Od /I "..\..\..\include" /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /FD /c -# SUBTRACT CPP /YX -# ADD BASE RSC /l 0x404 /d "_DEBUG" -# ADD RSC /l 0x409 /d "_DEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ..\..\..\lib\pci-dask.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept - -!ENDIF - -# Begin Target - -# Name "CAIDbfOverrunCheck - Win32 Release" -# Name "CAIDbfOverrunCheck - Win32 Debug" -# Begin Source File - -SOURCE=.\AIDbfOverCheck.c -# End Source File -# End Target -# End Project diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/misc/CAIDbfOverrunCheck/CAIDbfOverrunCheck.dsw b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/misc/CAIDbfOverrunCheck/CAIDbfOverrunCheck.dsw deleted file mode 100644 index e175463..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/misc/CAIDbfOverrunCheck/CAIDbfOverrunCheck.dsw +++ /dev/null @@ -1,29 +0,0 @@ -Microsoft Developer Studio Workspace File, Format Version 5.00 -# WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE! - -############################################################################### - -Project: "CAIDbfOverrunCheck"=.\CAIDbfOverrunCheck.dsp - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ -}}} - -############################################################################### - -Global: - -Package=<5> -{{{ -}}} - -Package=<3> -{{{ -}}} - -############################################################################### - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/misc/CAIDbfOverrunCheck/CAIDbfOverrunCheck.exe b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/misc/CAIDbfOverrunCheck/CAIDbfOverrunCheck.exe deleted file mode 100644 index 9364a73..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/misc/CAIDbfOverrunCheck/CAIDbfOverrunCheck.exe and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/misc/CAIDbfView/CAIDbfView.dsp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/misc/CAIDbfView/CAIDbfView.dsp deleted file mode 100644 index c173aa6..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/misc/CAIDbfView/CAIDbfView.dsp +++ /dev/null @@ -1,92 +0,0 @@ -# Microsoft Developer Studio Project File - Name="CAIDbfView" - Package Owner=<4> -# Microsoft Developer Studio Generated Build File, Format Version 5.00 -# ** DO NOT EDIT ** - -# TARGTYPE "Win32 (x86) Console Application" 0x0103 - -CFG=CAIDbfView - Win32 Debug -!MESSAGE This is not a valid makefile. To build this project using NMAKE, -!MESSAGE use the Export Makefile command and run -!MESSAGE -!MESSAGE NMAKE /f "CAIDbfView.mak". -!MESSAGE -!MESSAGE You can specify a configuration when running NMAKE -!MESSAGE by defining the macro CFG on the command line. For example: -!MESSAGE -!MESSAGE NMAKE /f "CAIDbfView.mak" CFG="CAIDbfView - Win32 Debug" -!MESSAGE -!MESSAGE Possible choices for configuration are: -!MESSAGE -!MESSAGE "CAIDbfView - Win32 Release" (based on\ - "Win32 (x86) Console Application") -!MESSAGE "CAIDbfView - Win32 Debug" (based on\ - "Win32 (x86) Console Application") -!MESSAGE - -# Begin Project -# PROP Scc_ProjName "" -# PROP Scc_LocalPath "" -CPP=cl.exe -RSC=rc.exe - -!IF "$(CFG)" == "CAIDbfView - Win32 Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "Release" -# PROP BASE Intermediate_Dir "Release" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "" -# PROP Intermediate_Dir "Release" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c -# ADD CPP /nologo /W3 /GX /Od /I "..\..\..\include" /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /FD /c -# SUBTRACT CPP /YX -# ADD BASE RSC /l 0x404 /d "NDEBUG" -# ADD RSC /l 0x409 /d "NDEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ..\..\..\lib\pci-dask.lib /nologo /subsystem:console /machine:I386 - -!ELSEIF "$(CFG)" == "CAIDbfView - Win32 Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "Debug" -# PROP BASE Intermediate_Dir "Debug" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "Debug" -# PROP Intermediate_Dir "Debug" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /Gm /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c -# ADD CPP /nologo /W3 /Gm /GX /Zi /Od /I "..\..\..\include" /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c -# ADD BASE RSC /l 0x404 /d "_DEBUG" -# ADD RSC /l 0x404 /d "_DEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ..\..\..\lib\pci-dask.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept - -!ENDIF - -# Begin Target - -# Name "CAIDbfView - Win32 Release" -# Name "CAIDbfView - Win32 Debug" -# Begin Source File - -SOURCE=.\aiDbfview.c -# End Source File -# End Target -# End Project diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/misc/CAIDbfView/CAIDbfView.dsw b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/misc/CAIDbfView/CAIDbfView.dsw deleted file mode 100644 index 9b05786..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/misc/CAIDbfView/CAIDbfView.dsw +++ /dev/null @@ -1,29 +0,0 @@ -Microsoft Developer Studio Workspace File, Format Version 5.00 -# WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE! - -############################################################################### - -Project: "CAIDbfView"=.\CAIDbfView.dsp - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ -}}} - -############################################################################### - -Global: - -Package=<5> -{{{ -}}} - -Package=<3> -{{{ -}}} - -############################################################################### - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/misc/CAIDbfView/CAIDbfView.exe b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/misc/CAIDbfView/CAIDbfView.exe deleted file mode 100644 index 4af465b..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/misc/CAIDbfView/CAIDbfView.exe and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/misc/CAIDbfView/aiDbfview.c b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/misc/CAIDbfView/aiDbfview.c deleted file mode 100644 index 87a261b..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/misc/CAIDbfView/aiDbfview.c +++ /dev/null @@ -1,144 +0,0 @@ -#include -#include -#include -#include "dask.h" - -#define CardNum 12 -#define DataSize 2048 -#define sample_rate 2000 -#define ScaleSize 4 - -U16 channel=0; //1 channels -U16 range=AD_B_5_V; -U32 read_count = DataSize, count = 0; -U32 viewAddr, MemSize=0, Db_buf[2]; -F64 voltageArray[ScaleSize]; -U16 CardType[CardNum] = {PCI_9111DG, PCI_9111HR, PCI_9112, PCI_9113, PCI_9114DG, PCI_9114HG, PCI_9116, PCI_9118DG, PCI_9118HG, PCI_9118HR, PCI_9810, PCI_9812}; - -void exch_data(U16 *tbuf, U32 cnt); - -main() -{ - I16 card, err, card_num=0, card_type, k, i; - BOOLEAN halfReady, fStop; - U16 buffer_idx=0; - - printf("--------------------------------------------\n"); - printf("0. PCI_9111DG\n1. PCI_9111HR\n2. PCI_9112\n3. PCI_9113\n4. PCI_9114DG\n5. PCI_9114HG\n6. PCI_9116\n7. PCI_9118DG\n8. PCI_9118HG\n9. PCI_9118HR\n10. PCI_9810\n11. PCI_9812\n"); - printf("--------------------------------------------\n"); - printf("Please select a card type: "); - scanf(" %d", &card_type); - card_type = CardType[card_type]; - printf("Please input a card number: "); - scanf(" %d", &card_num); - if ((card=Register_Card (card_type, card_num)) <0 ) { - printf("Register_Card error=%d\n", card); - exit(1); - } - //here to get the starting addresses of two driver DB buffers - err = AI_GetView(card, &viewAddr); //viewAddr : driver buffer - if (err!=0) { - printf("AI_GetView error=%d", err); - exit(1); - } - err = AI_InitialMemoryAllocated (card, &MemSize);//get driver buffer size - if (err!=0) { - printf("AI_InitialMemoryAllocated error=%d", err); - exit(1); - } - Db_buf[0] = viewAddr; //1st DB buffer address - Db_buf[1] = viewAddr + (MemSize*1024/2); //2nd DB buffer address - - switch(card_type) { - case PCI_9111DG: - case PCI_9111HR: - err=AI_9111_Config(card,TRIG_INT_PACER, 0, 0); - break; - case PCI_9112: - err = AI_9112_Config(card, TRIG_INT_PACER); - break; - case PCI_9113: - err = AI_9113_Config(card, TRIG_INT_PACER); - break; - case PCI_9114DG: - case PCI_9114HG: - err = AI_9114_Config(card, TRIG_INT_PACER); - break; - case PCI_9116: - err = AI_9116_Config(card,0,P9116_AI_DMA,0,0,0); - break; - case PCI_9118DG: - case PCI_9118HG: - case PCI_9118HR: - err = AI_9118_Config(card,P9118_AI_BiPolar|P9118_AI_SingEnded,0,0,0); - break; - case PCI_9810: - case PCI_9812: - err = AI_9812_Config(card,P9812_TRGMOD_SOFT, P9812_TRGSRC_CH0, P9812_TRGSLP_POS, P9812_AD2_GT_PCI|P9812_CLKSRC_INT,0x80,0); - range = AD_B_1_V; - break; - } - if (err!=0) { - printf("AI_9xxx_Config error=%d", err); - exit(1); - } - err = AI_AsyncDblBufferMode(card, 1); - if (err!=0) { - printf("AI_DblBufferMode error=%d", err); - exit(1); - } - if(card_type == PCI_9116) - AI_9116_CounterInterval (card, 12000, 12000); - err = AI_ContReadChannel(card, channel, range, 0, read_count, (F64)sample_rate, ASYNCH_OP); - if (err!=0) { - printf("AI_ContReadChannel error=%d", err); - exit(1); - } - buffer_idx = 0; - printf("\n\nPress any key to stop input operation."); - printf("\n\nscale and print out the first 4 data\n"); - printf("-------------------------------------\n"); - do { - //use AI_AsyncDblBufferHalfReady - do { - AI_AsyncDblBufferHalfReady(card, &halfReady, &fStop); - } while (!halfReady); - //AI_AsyncDblBufferTransfer(card, ai_buf); //this function is not needed - //DB_buf[buffer_idx] : the ready buffer address - //fetch and handle the data - { - //e.g. scale and print out the first 4 data - if((card_type == PCI_9118DG) || (card_type == PCI_9118HG) ||(card_type == PCI_9118HR)) - exch_data(((U16 *) Db_buf[buffer_idx]), ScaleSize); - err = AI_ContVScale (card, range, (void *)Db_buf[buffer_idx], voltageArray, ScaleSize); - if (err!=0) { - printf("AI_ContVScale error=%d", err); - exit(1); - } - if(buffer_idx) - printf("2nd buffer ready\n"); - else - printf("1st buffer ready\n"); - for(i=0; i -#include -#include -#include "dask.h" - -#define CardNum 12 -#define DataSize 2048 -#define sample_rate 2000 - -U16 channel=0; //1 channels -U16 range=AD_B_5_V; -U32 read_count=DataSize; -U32 pView; -F64 voltageArray[DataSize]; -U16 CardType[CardNum] = {PCI_9111DG, PCI_9111HR, PCI_9112, PCI_9113, PCI_9114DG, PCI_9114HG, PCI_9116, PCI_9118DG, PCI_9118HG, PCI_9118HR, PCI_9810, PCI_9812}; - -void exch_data(U16 *tbuf, U32 cnt); - -main() -{ - I16 card, err, card_num=0, card_type, k, i; - - printf("--------------------------------------------\n"); - printf("0. PCI_9111DG\n1. PCI_9111HR\n2. PCI_9112\n3. PCI_9113\n4. PCI_9114DG\n5. PCI_9114HG\n6. PCI_9116\n7. PCI_9118DG\n8. PCI_9118HG\n9. PCI_9118HR\n10. PCI_9810\n11. PCI_9812\n"); - printf("--------------------------------------------\n"); - printf("Please select a card type: "); - scanf(" %d", &card_type); - card_type = CardType[card_type]; - printf("Please input a card number: "); - scanf(" %d", &card_num); - if ((card=Register_Card (card_type, card_num)) <0 ) { - printf("Register_Card error=%d\n", card); - exit(1); - } - switch(card_type) { - case PCI_9111DG: - case PCI_9111HR: - err=AI_9111_Config(card,TRIG_INT_PACER, 0, 0); - break; - case PCI_9112: - err = AI_9112_Config(card, TRIG_INT_PACER); - break; - case PCI_9113: - err = AI_9113_Config(card, TRIG_INT_PACER); - break; - case PCI_9114DG: - case PCI_9114HG: - err = AI_9114_Config(card, TRIG_INT_PACER); - break; - case PCI_9116: - err = AI_9116_Config(card,0,P9116_AI_DMA,0,0,0); - break; - case PCI_9118DG: - case PCI_9118HG: - case PCI_9118HR: - err = AI_9118_Config(card,P9118_AI_BiPolar|P9118_AI_SingEnded,0,0,0); - break; - case PCI_9810: - case PCI_9812: - err = AI_9812_Config(card,P9812_TRGMOD_SOFT, P9812_TRGSRC_CH0, P9812_TRGSLP_POS, P9812_AD2_GT_PCI|P9812_CLKSRC_INT,0x80,0); - range = AD_B_1_V; - break; - } - if (err!=0) { - printf("AI_9xxx_Config error=%d", err); - exit(1); - } - err = AI_AsyncDblBufferMode(card, 0); - if (err!=0) { - printf("AI_DblBufferMode error=%d", err); - exit(1); - } - err = AI_GetView(card, &pView); //pView : driver buffer - if (err!=0) { - printf("AI_GetView error=%d", err); - exit(1); - } - if(card_type == PCI_9116) - AI_9116_CounterInterval (card, 12000, 12000); - err = AI_ContReadChannel(card, channel, range, 0, read_count, (F64)sample_rate, SYNCH_OP); - if (err!=0) { - printf("AI_ContReadChannel error=%d", err); - exit(1); - } - if((card_type == PCI_9118DG) || (card_type == PCI_9118HG) ||(card_type == PCI_9118HR)) - exch_data(pView, read_count); - - err = AI_ContVScale (card, range, (void *)pView, voltageArray, read_count); - if (err!=0) { - printf("AI_ContVScale error=%d", err); - exit(1); - } - printf(" >>>>>>>>>>>>>>> the first 100 valid scans <<<<<<<<<<<<<<< \n"); - printf("CH0 :\n"); - for (k=0; k -# Microsoft Developer Studio Generated Build File, Format Version 5.00 -# ** DO NOT EDIT ** - -# TARGTYPE "Win32 (x86) Console Application" 0x0103 - -CFG=CAIView - Win32 Debug -!MESSAGE This is not a valid makefile. To build this project using NMAKE, -!MESSAGE use the Export Makefile command and run -!MESSAGE -!MESSAGE NMAKE /f "CAIView.mak". -!MESSAGE -!MESSAGE You can specify a configuration when running NMAKE -!MESSAGE by defining the macro CFG on the command line. For example: -!MESSAGE -!MESSAGE NMAKE /f "CAIView.mak" CFG="CAIView - Win32 Debug" -!MESSAGE -!MESSAGE Possible choices for configuration are: -!MESSAGE -!MESSAGE "CAIView - Win32 Release" (based on "Win32 (x86) Console Application") -!MESSAGE "CAIView - Win32 Debug" (based on "Win32 (x86) Console Application") -!MESSAGE - -# Begin Project -# PROP Scc_ProjName "" -# PROP Scc_LocalPath "" -CPP=cl.exe -RSC=rc.exe - -!IF "$(CFG)" == "CAIView - Win32 Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "Release" -# PROP BASE Intermediate_Dir "Release" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "" -# PROP Intermediate_Dir "Release" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c -# ADD CPP /nologo /W3 /GX /Od /I "..\..\..\include" /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /FD /c -# SUBTRACT CPP /YX -# ADD BASE RSC /l 0x404 /d "NDEBUG" -# ADD RSC /l 0x404 /d "NDEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ..\..\..\lib\pci-dask.lib /nologo /subsystem:console /machine:I386 - -!ELSEIF "$(CFG)" == "CAIView - Win32 Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "Debug" -# PROP BASE Intermediate_Dir "Debug" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "Debug" -# PROP Intermediate_Dir "Debug" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /Gm /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c -# ADD CPP /nologo /W3 /Gm /GX /Zi /Od /I "..\..\..\include" /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c -# ADD BASE RSC /l 0x404 /d "_DEBUG" -# ADD RSC /l 0x404 /d "_DEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ..\..\..\lib\pci-dask.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept - -!ENDIF - -# Begin Target - -# Name "CAIView - Win32 Release" -# Name "CAIView - Win32 Debug" -# Begin Source File - -SOURCE=.\AIView.c -# End Source File -# End Target -# End Project diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/misc/CAIView/CAIView.dsw b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/misc/CAIView/CAIView.dsw deleted file mode 100644 index 73d4e4f..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/misc/CAIView/CAIView.dsw +++ /dev/null @@ -1,29 +0,0 @@ -Microsoft Developer Studio Workspace File, Format Version 5.00 -# WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE! - -############################################################################### - -Project: "CAIView"=.\CAIView.dsp - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ -}}} - -############################################################################### - -Global: - -Package=<5> -{{{ -}}} - -Package=<3> -{{{ -}}} - -############################################################################### - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/misc/CAIView/CAIView.exe b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/misc/CAIView/CAIView.exe deleted file mode 100644 index b2f1341..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/misc/CAIView/CAIView.exe and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/misc/CDIDbfOverrunCheck/CDIDbfOverrunCheck.dsp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/misc/CDIDbfOverrunCheck/CDIDbfOverrunCheck.dsp deleted file mode 100644 index 00144b5..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/misc/CDIDbfOverrunCheck/CDIDbfOverrunCheck.dsp +++ /dev/null @@ -1,94 +0,0 @@ -# Microsoft Developer Studio Project File - Name="CDIDbfOverrunCheck" - Package Owner=<4> -# Microsoft Developer Studio Generated Build File, Format Version 5.00 -# ** DO NOT EDIT ** - -# TARGTYPE "Win32 (x86) Console Application" 0x0103 - -CFG=CDIDbfOverrunCheck - Win32 Debug -!MESSAGE This is not a valid makefile. To build this project using NMAKE, -!MESSAGE use the Export Makefile command and run -!MESSAGE -!MESSAGE NMAKE /f "CDIDbfOverrunCheck.mak". -!MESSAGE -!MESSAGE You can specify a configuration when running NMAKE -!MESSAGE by defining the macro CFG on the command line. For example: -!MESSAGE -!MESSAGE NMAKE /f "CDIDbfOverrunCheck.mak"\ - CFG="CDIDbfOverrunCheck - Win32 Debug" -!MESSAGE -!MESSAGE Possible choices for configuration are: -!MESSAGE -!MESSAGE "CDIDbfOverrunCheck - Win32 Release" (based on\ - "Win32 (x86) Console Application") -!MESSAGE "CDIDbfOverrunCheck - Win32 Debug" (based on\ - "Win32 (x86) Console Application") -!MESSAGE - -# Begin Project -# PROP Scc_ProjName "" -# PROP Scc_LocalPath "" -CPP=cl.exe -RSC=rc.exe - -!IF "$(CFG)" == "CDIDbfOverrunCheck - Win32 Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "Release" -# PROP BASE Intermediate_Dir "Release" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "" -# PROP Intermediate_Dir "Release" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c -# ADD CPP /nologo /W3 /GX /Od /I "..\..\..\include" /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /FD /c -# SUBTRACT CPP /YX -# ADD BASE RSC /l 0x404 /d "NDEBUG" -# ADD RSC /l 0x409 /d "NDEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ..\..\..\lib\pci-dask.lib /nologo /subsystem:console /machine:I386 - -!ELSEIF "$(CFG)" == "CDIDbfOverrunCheck - Win32 Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "Debug" -# PROP BASE Intermediate_Dir "Debug" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "Debug" -# PROP Intermediate_Dir "Debug" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /Gm /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c -# ADD CPP /nologo /W3 /Gm /GX /Zi /Od /I "..\..\..\include" /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /FD /c -# SUBTRACT CPP /YX -# ADD BASE RSC /l 0x404 /d "_DEBUG" -# ADD RSC /l 0x409 /d "_DEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ..\..\..\lib\pci-dask.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept - -!ENDIF - -# Begin Target - -# Name "CDIDbfOverrunCheck - Win32 Release" -# Name "CDIDbfOverrunCheck - Win32 Debug" -# Begin Source File - -SOURCE=.\DIDbfOverCheck.c -# End Source File -# End Target -# End Project diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/misc/CDIDbfOverrunCheck/CDIDbfOverrunCheck.dsw b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/misc/CDIDbfOverrunCheck/CDIDbfOverrunCheck.dsw deleted file mode 100644 index 532e0dd..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/misc/CDIDbfOverrunCheck/CDIDbfOverrunCheck.dsw +++ /dev/null @@ -1,29 +0,0 @@ -Microsoft Developer Studio Workspace File, Format Version 5.00 -# WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE! - -############################################################################### - -Project: "CDIDbfOverrunCheck"=.\CDIDbfOverrunCheck.dsp - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ -}}} - -############################################################################### - -Global: - -Package=<5> -{{{ -}}} - -Package=<3> -{{{ -}}} - -############################################################################### - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/misc/CDIDbfOverrunCheck/CDIDbfOverrunCheck.exe b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/misc/CDIDbfOverrunCheck/CDIDbfOverrunCheck.exe deleted file mode 100644 index 1c91d50..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/misc/CDIDbfOverrunCheck/CDIDbfOverrunCheck.exe and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/misc/CDIDbfOverrunCheck/DIDbfOverCheck.c b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/misc/CDIDbfOverrunCheck/DIDbfOverCheck.c deleted file mode 100644 index 3cd1c0c..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/misc/CDIDbfOverrunCheck/DIDbfOverCheck.c +++ /dev/null @@ -1,61 +0,0 @@ -#include -#include -#include -#include -#include "dask.h" - -char *file_name="7200d"; -U32 read_count=2000; -F64 sample_rate=10000; - -main() -{ - I16 card, err, card_num; - BOOLEAN halfReady, fStop; - U32 count=0, count1=0; - U32 i; - U32 t=0; - U16 sts=0; - - printf("Please input a card number: "); - scanf(" %d", &card_num); - //getch(); - if ((card=Register_Card (PCI_7200, card_num)) <0 ) { - printf("Register_Card error=%d\n", card); - exit(1); - } - err = DI_7200_Config(card, TRIG_INT_PACER, DI_NOWAITING, DI_TRIG_FALLING, IREQ_FALLING); - if (err!=0) { - printf("DI_7200_Config error=%d", err); - exit(1); - } - err = DI_AsyncDblBufferMode(card, 1); - if (err!=0) { - printf("DI_DblBufferMode error=%d", err); - exit(1); - } - err = DI_ContReadPortToFile(card, 0, file_name, read_count, sample_rate, ASYNCH_OP); - if (err!=0) { - printf("DI_ContReadPort error=%d", err); - exit(1); - } - printf("\n\nPress any key to stop input operation.\n\n"); - do { - do { - DI_AsyncDblBufferHalfReady(card, &halfReady); - } while (!halfReady); - DI_AsyncDblBufferTransfer(card, NULL); //transfer to file - count += (read_count / 2); - DI_AsyncDblBufferOverrun(card, 0, &sts); - if(sts) { - t++; - DI_AsyncDblBufferOverrun(card, 1, &sts); - } - printf("\roverrun:%d, count: %d", t, count); - } while(!kbhit()); - DI_AsyncClear(card, &count1); - count += count1; - Release_Card(card); - printf("\n\n%d input data are stored in file '%s.dat'.\n", count, file_name); - printf("\nPress ENTER to exit the program. "); getch(); -} diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/misc/CDIDbfView/CDIDbfView.dsp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/misc/CDIDbfView/CDIDbfView.dsp deleted file mode 100644 index 7fd3a35..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/misc/CDIDbfView/CDIDbfView.dsp +++ /dev/null @@ -1,92 +0,0 @@ -# Microsoft Developer Studio Project File - Name="CDIDbfView" - Package Owner=<4> -# Microsoft Developer Studio Generated Build File, Format Version 5.00 -# ** DO NOT EDIT ** - -# TARGTYPE "Win32 (x86) Console Application" 0x0103 - -CFG=CDIDbfView - Win32 Debug -!MESSAGE This is not a valid makefile. To build this project using NMAKE, -!MESSAGE use the Export Makefile command and run -!MESSAGE -!MESSAGE NMAKE /f "CDIDbfView.mak". -!MESSAGE -!MESSAGE You can specify a configuration when running NMAKE -!MESSAGE by defining the macro CFG on the command line. For example: -!MESSAGE -!MESSAGE NMAKE /f "CDIDbfView.mak" CFG="CDIDbfView - Win32 Debug" -!MESSAGE -!MESSAGE Possible choices for configuration are: -!MESSAGE -!MESSAGE "CDIDbfView - Win32 Release" (based on\ - "Win32 (x86) Console Application") -!MESSAGE "CDIDbfView - Win32 Debug" (based on\ - "Win32 (x86) Console Application") -!MESSAGE - -# Begin Project -# PROP Scc_ProjName "" -# PROP Scc_LocalPath "" -CPP=cl.exe -RSC=rc.exe - -!IF "$(CFG)" == "CDIDbfView - Win32 Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "Release" -# PROP BASE Intermediate_Dir "Release" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "" -# PROP Intermediate_Dir "Release" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c -# ADD CPP /nologo /W3 /GX /Od /I "..\..\..\include" /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /FD /c -# SUBTRACT CPP /YX -# ADD BASE RSC /l 0x404 /d "NDEBUG" -# ADD RSC /l 0x409 /d "NDEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ..\..\..\lib\pci-dask.lib /nologo /subsystem:console /machine:I386 - -!ELSEIF "$(CFG)" == "CDIDbfView - Win32 Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "Debug" -# PROP BASE Intermediate_Dir "Debug" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "Debug" -# PROP Intermediate_Dir "Debug" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /Gm /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c -# ADD CPP /nologo /W3 /Gm /GX /Zi /Od /I "..\..\..\include" /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c -# ADD BASE RSC /l 0x404 /d "_DEBUG" -# ADD RSC /l 0x404 /d "_DEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ..\..\..\lib\pci-dask.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept - -!ENDIF - -# Begin Target - -# Name "CDIDbfView - Win32 Release" -# Name "CDIDbfView - Win32 Debug" -# Begin Source File - -SOURCE=.\diDbfview.c -# End Source File -# End Target -# End Project diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/misc/CDIDbfView/CDIDbfView.dsw b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/misc/CDIDbfView/CDIDbfView.dsw deleted file mode 100644 index 3e05fa4..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/misc/CDIDbfView/CDIDbfView.dsw +++ /dev/null @@ -1,29 +0,0 @@ -Microsoft Developer Studio Workspace File, Format Version 5.00 -# WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE! - -############################################################################### - -Project: "CDIDbfView"=.\CDIDbfView.dsp - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ -}}} - -############################################################################### - -Global: - -Package=<5> -{{{ -}}} - -Package=<3> -{{{ -}}} - -############################################################################### - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/misc/CDIDbfView/CDIDbfView.exe b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/misc/CDIDbfView/CDIDbfView.exe deleted file mode 100644 index f8f47a8..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/misc/CDIDbfView/CDIDbfView.exe and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/misc/CDIDbfView/diDbfview.c b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/misc/CDIDbfView/diDbfview.c deleted file mode 100644 index 6411070..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/misc/CDIDbfView/diDbfview.c +++ /dev/null @@ -1,84 +0,0 @@ -#include -#include -#include -#include "dask.h" - -#define DataSize 2000 -#define sample_rate 10000 - -U32 read_count=DataSize; -U32 viewAddr, MemSize=0, Db_buf[2], *InBuf; - -main() -{ - I16 card, err, card_num; - U32 i; - BOOLEAN halfReady; - U32 count=0, count1; - U16 buffer_idx=0; - - printf("Please input a card number: "); - scanf(" %d", &card_num); - //getch(); - if ((card=Register_Card (PCI_7200, card_num)) <0 ) { - printf("Register_Card error=%d\n", card); - exit(1); - } - //here to get the starting addresses of two driver DB buffers - err = DI_GetView(card, &viewAddr); //viewAddr : driver buffer - if (err!=0) { - printf("DI_GetView error=%d", err); - exit(1); - } - err = DI_InitialMemoryAllocated (card, &MemSize);//get driver buffer size - if (err!=0) { - printf("DI_InitialMemoryAllocated error=%d", err); - exit(1); - } - - Db_buf[0] = viewAddr; //1st DB buffer address - Db_buf[1] = viewAddr + (MemSize*1024/2); //2nd DB buffer address - - err = DI_7200_Config(card, TRIG_INT_PACER, DI_NOWAITING, DI_TRIG_FALLING, IREQ_FALLING); - if (err!=0) { - printf("DI_7200_Config error=%d", err); - exit(1); - } - err = DI_AsyncDblBufferMode(card, 1); - if (err!=0) { - printf("DI_DblBufferMode error=%d", err); - exit(1); - } - err = DI_ContReadPort(card, 0, 0, read_count, (F64)sample_rate, ASYNCH_OP); - if (err!=0) { - printf("DI_ContReadPort error=%d", err); - exit(1); - } - printf("\n\nPress any key to stop input operation."); - buffer_idx = 0; - printf("\nscale and print out the first 4 data\n"); - printf("-------------------------------------\n"); - do { - do { - DI_AsyncDblBufferHalfReady(card, &halfReady); - } while (!halfReady); - //DI_AsyncDblBufferTransfer(card, NULL); //this function is not needed - //DB_buf[buffer_idx] : the ready buffer address - InBuf = (U32 *) Db_buf[buffer_idx]; - //fetch and handle the data - { - #define ShowSize 4 - if(buffer_idx) - printf("2nd buffer ready\n"); - else - printf("1st buffer ready\n"); - for(i=0; i -# Microsoft Developer Studio Generated Build File, Format Version 5.00 -# ** DO NOT EDIT ** - -# TARGTYPE "Win32 (x86) Console Application" 0x0103 - -CFG=CDIView - Win32 Debug -!MESSAGE This is not a valid makefile. To build this project using NMAKE, -!MESSAGE use the Export Makefile command and run -!MESSAGE -!MESSAGE NMAKE /f "CDIView.mak". -!MESSAGE -!MESSAGE You can specify a configuration when running NMAKE -!MESSAGE by defining the macro CFG on the command line. For example: -!MESSAGE -!MESSAGE NMAKE /f "CDIView.mak" CFG="CDIView - Win32 Debug" -!MESSAGE -!MESSAGE Possible choices for configuration are: -!MESSAGE -!MESSAGE "CDIView - Win32 Release" (based on "Win32 (x86) Console Application") -!MESSAGE "CDIView - Win32 Debug" (based on "Win32 (x86) Console Application") -!MESSAGE - -# Begin Project -# PROP Scc_ProjName "" -# PROP Scc_LocalPath "" -CPP=cl.exe -RSC=rc.exe - -!IF "$(CFG)" == "CDIView - Win32 Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "Release" -# PROP BASE Intermediate_Dir "Release" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "" -# PROP Intermediate_Dir "Release" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c -# ADD CPP /nologo /W3 /GX /Od /I "..\..\..\include" /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /FD /c -# SUBTRACT CPP /YX -# ADD BASE RSC /l 0x404 /d "NDEBUG" -# ADD RSC /l 0x409 /d "NDEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ..\..\..\lib\pci-dask.lib /nologo /subsystem:console /machine:I386 - -!ELSEIF "$(CFG)" == "CDIView - Win32 Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "Debug" -# PROP BASE Intermediate_Dir "Debug" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "Debug" -# PROP Intermediate_Dir "Debug" -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /Gm /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c -# ADD CPP /nologo /W3 /Gm /GX /Zi /Od /I "..\..\..\include" /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c -# ADD BASE RSC /l 0x404 /d "_DEBUG" -# ADD RSC /l 0x404 /d "_DEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept - -!ENDIF - -# Begin Target - -# Name "CDIView - Win32 Release" -# Name "CDIView - Win32 Debug" -# Begin Source File - -SOURCE=.\DIView.c -# End Source File -# End Target -# End Project diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/misc/CDIView/CDIView.dsw b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/misc/CDIView/CDIView.dsw deleted file mode 100644 index 9ec3b7f..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/misc/CDIView/CDIView.dsw +++ /dev/null @@ -1,29 +0,0 @@ -Microsoft Developer Studio Workspace File, Format Version 5.00 -# WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE! - -############################################################################### - -Project: "CDIView"=.\CDIView.dsp - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ -}}} - -############################################################################### - -Global: - -Package=<5> -{{{ -}}} - -Package=<3> -{{{ -}}} - -############################################################################### - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/misc/CDIView/CDIView.exe b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/misc/CDIView/CDIView.exe deleted file mode 100644 index 724b53e..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/misc/CDIView/CDIView.exe and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/misc/CDIView/DIView.c b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/misc/CDIView/DIView.c deleted file mode 100644 index 6b6cc16..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/misc/CDIView/DIView.c +++ /dev/null @@ -1,64 +0,0 @@ -#include -#include -#include -#include "dask.h" - -#define DataSize 2000 -#define sample_rate 10000 - -U32 read_count=DataSize; -U32 pView, *InBuf; - -main() -{ - I16 card, err, card_num; - BOOLEAN bStopped; - U32 count, i, k; - - printf("Please input a card number: "); - scanf(" %d", &card_num); - if ((card=Register_Card (PCI_7200, card_num)) <0 ) { - printf("Register_Card error=%d\n", card); - exit(1); - } - err = DI_7200_Config(card, TRIG_INT_PACER, DI_NOWAITING, DI_TRIG_FALLING, IREQ_FALLING); - if (err!=0) { - printf("DI_7200_Config error=%d", err); - exit(1); - } - err = DI_AsyncDblBufferMode(card, 0); - if (err!=0) { - printf("DI_DblBufferMode error=%d", err); - exit(1); - } - err = DI_GetView(card, &pView); //pView : driver buffer - if (err!=0) { - printf("DI_GetView error=%d", err); - exit(1); - } - InBuf = (U32 *)pView; - err = DI_ContReadPort(card, 0, 0, read_count, (F64)sample_rate, ASYNCH_OP); - if (err!=0) { - printf("DI_ContReadPort error=%d", err); - exit(1); - } - do { - DI_AsyncCheck(card, &bStopped, &count); - } while (!bStopped); - DI_AsyncClear(card, &count); - - printf(" >>>>>>>>>>>>>>> show data <<<<<<<<<<<<<<< \n"); - for (k=0; k -# Microsoft Developer Studio Generated Build File, Format Version 5.00 -# ** DO NOT EDIT ** - -# TARGTYPE "Win32 (x86) Console Application" 0x0103 - -CFG=CDOView - Win32 Debug -!MESSAGE This is not a valid makefile. To build this project using NMAKE, -!MESSAGE use the Export Makefile command and run -!MESSAGE -!MESSAGE NMAKE /f "CDOView.mak". -!MESSAGE -!MESSAGE You can specify a configuration when running NMAKE -!MESSAGE by defining the macro CFG on the command line. For example: -!MESSAGE -!MESSAGE NMAKE /f "CDOView.mak" CFG="CDOView - Win32 Debug" -!MESSAGE -!MESSAGE Possible choices for configuration are: -!MESSAGE -!MESSAGE "CDOView - Win32 Release" (based on "Win32 (x86) Console Application") -!MESSAGE "CDOView - Win32 Debug" (based on "Win32 (x86) Console Application") -!MESSAGE - -# Begin Project -# PROP Scc_ProjName "" -# PROP Scc_LocalPath "" -CPP=cl.exe -RSC=rc.exe - -!IF "$(CFG)" == "CDOView - Win32 Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "Release" -# PROP BASE Intermediate_Dir "Release" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "" -# PROP Intermediate_Dir "Release" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c -# ADD CPP /nologo /W3 /GX /Od /I "..\..\..\include" /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /FD /c -# SUBTRACT CPP /YX -# ADD BASE RSC /l 0x404 /d "NDEBUG" -# ADD RSC /l 0x409 /d "NDEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ..\..\..\lib\pci-dask.lib /nologo /subsystem:console /machine:I386 - -!ELSEIF "$(CFG)" == "CDOView - Win32 Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "Debug" -# PROP BASE Intermediate_Dir "Debug" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "Debug" -# PROP Intermediate_Dir "Debug" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /Gm /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c -# ADD CPP /nologo /W3 /Gm /GX /Zi /Od /I "..\..\..\include" /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /FD /c -# SUBTRACT CPP /YX -# ADD BASE RSC /l 0x404 /d "_DEBUG" -# ADD RSC /l 0x409 /d "_DEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ..\..\..\lib\pci-dask.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept - -!ENDIF - -# Begin Target - -# Name "CDOView - Win32 Release" -# Name "CDOView - Win32 Debug" -# Begin Source File - -SOURCE=.\DOView.c -# End Source File -# End Target -# End Project diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/misc/CDOView/CDOView.dsw b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/misc/CDOView/CDOView.dsw deleted file mode 100644 index 03bb72e..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/misc/CDOView/CDOView.dsw +++ /dev/null @@ -1,29 +0,0 @@ -Microsoft Developer Studio Workspace File, Format Version 5.00 -# WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE! - -############################################################################### - -Project: "CDOView"=.\CDOView.dsp - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ -}}} - -############################################################################### - -Global: - -Package=<5> -{{{ -}}} - -Package=<3> -{{{ -}}} - -############################################################################### - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/misc/CDOView/CDOView.exe b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/misc/CDOView/CDOView.exe deleted file mode 100644 index 22d9a88..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/misc/CDOView/CDOView.exe and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/misc/CDOView/DOView.c b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/misc/CDOView/DOView.c deleted file mode 100644 index 4564fda..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples/misc/CDOView/DOView.c +++ /dev/null @@ -1,55 +0,0 @@ -#include -#include -#include -#include -#include "dask.h" - -#define DataSize 2000 -#define sample_rate 10000 - -U32 out_count=DataSize; -U32 pView, *DoBuf; - -main() -{ - I16 card, err, card_num; - BOOLEAN bStopped; - U32 count, i, k; - LARGE_INTEGER freq, start_count, current_count; - double take_msec; - - printf("Please input a card number: "); - scanf(" %d", &card_num); - if ((card=Register_Card (PCI_7200, card_num)) <0 ) { - printf("Register_Card error=%d\n", card); - exit(1); - } - err = DO_7200_Config(card, TRIG_INT_PACER, OREQ_DISABLE, OTRIG_LOW); - if (err!=0) { - printf("DO_7200_Config error=%d", err); - exit(1); - } - err = DO_GetView(card, &pView); //pView : driver buffer - if (err!=0) { - printf("DO_GetView error=%d", err); - exit(1); - } - DoBuf = (U32 *)pView; - for (i=0; i 1000 -#pragma once -#endif // _MSC_VER > 1000 - -#ifndef __AFXWIN_H__ - #error include 'stdafx.h' before including this file for PCH -#endif - -#include "resource.h" // main symbols - -///////////////////////////////////////////////////////////////////////////// -// CC6202AODoubleBufferApp: -// See C6202AODoubleBuffer.cpp for the implementation of this class -// - -class CC6202AODoubleBufferApp : public CWinApp -{ -public: - CC6202AODoubleBufferApp(); - -// Overrides - // ClassWizard generated virtual function overrides - //{{AFX_VIRTUAL(CC6202AODoubleBufferApp) - public: - virtual BOOL InitInstance(); - //}}AFX_VIRTUAL - -// Implementation - - //{{AFX_MSG(CC6202AODoubleBufferApp) - // NOTE - the ClassWizard will add and remove member functions here. - // DO NOT EDIT what you see in these blocks of generated code ! - //}}AFX_MSG - DECLARE_MESSAGE_MAP() -}; - - -///////////////////////////////////////////////////////////////////////////// - -//{{AFX_INSERT_LOCATION}} -// Microsoft Visual C++ will insert additional declarations immediately before the previous line. - -#endif // !defined(AFX_C6202AODOUBLEBUFFER_H__24D00059_F4F8_4631_AE42_BF27FFA12009__INCLUDED_) diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/6202/C6202AODoubleBuffer/C6202AODoubleBuffer.rc b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/6202/C6202AODoubleBuffer/C6202AODoubleBuffer.rc deleted file mode 100644 index c4b2824..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/6202/C6202AODoubleBuffer/C6202AODoubleBuffer.rc +++ /dev/null @@ -1,212 +0,0 @@ -// Microsoft Visual C++ generated resource script. -// -#include "resource.h" - -#define APSTUDIO_READONLY_SYMBOLS -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 2 resource. -// -#include "afxres.h" - -///////////////////////////////////////////////////////////////////////////// -#undef APSTUDIO_READONLY_SYMBOLS - -///////////////////////////////////////////////////////////////////////////// -// Chinese (Taiwan) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_CHT) -#ifdef _WIN32 -LANGUAGE LANG_CHINESE, SUBLANG_CHINESE_TRADITIONAL -#pragma code_page(950) -#endif //_WIN32 - -#ifdef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// TEXTINCLUDE -// - -1 TEXTINCLUDE -BEGIN - "resource.h\0" -END - -2 TEXTINCLUDE -BEGIN - "#include ""afxres.h""\r\n" - "\0" -END - -3 TEXTINCLUDE -BEGIN - "#define _AFX_NO_SPLITTER_RESOURCES\r\n" - "#define _AFX_NO_OLE_RESOURCES\r\n" - "#define _AFX_NO_TRACKER_RESOURCES\r\n" - "#define _AFX_NO_PROPERTY_RESOURCES\r\n" - "\r\n" - "#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)\r\n" - "#ifdef _WIN32\r\n" - "LANGUAGE 9, 1\r\n" - "#pragma code_page(1252)\r\n" - "#endif //_WIN32\r\n" - "#include ""res\\C6202AODoubleBuffer.rc2"" // non-Microsoft Visual C++ edited resources\r\n" - "#include ""afxres.rc"" // Standard components\r\n" - "#endif\r\n" - "\0" -END - -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// Icon -// - -// Icon with lowest ID value placed first to ensure application icon -// remains consistent on all systems. -IDR_MAINFRAME ICON "res\\C6202AODoubleBuffer.ico" -#endif // Chinese (Taiwan) resources -///////////////////////////////////////////////////////////////////////////// - - -///////////////////////////////////////////////////////////////////////////// -// English (U.S.) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -#ifdef _WIN32 -LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US -#pragma code_page(1252) -#endif //_WIN32 - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog -// - -IDD_ABOUTBOX DIALOG 0, 0, 235, 55 -STYLE DS_SETFONT | DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "About C6202AODoubleBuffer" -FONT 8, "MS Shell Dlg" -BEGIN - ICON IDR_MAINFRAME,IDC_STATIC,11,17,20,20 - LTEXT "C6202AODoubleBuffer Version 1.0",IDC_STATIC,40,10,119,8,SS_NOPREFIX - LTEXT "Copyright (C) 2007",IDC_STATIC,40,25,119,8 - DEFPUSHBUTTON "OK",IDOK,178,7,50,14,WS_GROUP -END - -IDD_C6202AODOUBLEBUFFER_DIALOG DIALOGEX 0, 0, 155, 71 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU -EXSTYLE WS_EX_APPWINDOW -CAPTION "C6202AODoubleBuffer" -FONT 8, "MS Shell Dlg", 0, 0, 0x1 -BEGIN - DEFPUSHBUTTON "Exit",IDOK,98,50,50,14 - PUSHBUTTON "Start",IDC_BTN_START,23,14,50,14 - PUSHBUTTON "Stop",IDC_BTN_STOP,22,36,50,14 -END - - -///////////////////////////////////////////////////////////////////////////// -// -// Version -// - -VS_VERSION_INFO VERSIONINFO - FILEVERSION 1,0,0,1 - PRODUCTVERSION 1,0,0,1 - FILEFLAGSMASK 0x3fL -#ifdef _DEBUG - FILEFLAGS 0x1L -#else - FILEFLAGS 0x0L -#endif - FILEOS 0x4L - FILETYPE 0x1L - FILESUBTYPE 0x0L -BEGIN - BLOCK "StringFileInfo" - BEGIN - BLOCK "040904B0" - BEGIN - VALUE "FileDescription", "C6202AODoubleBuffer MFC Application" - VALUE "FileVersion", "1, 0, 0, 1" - VALUE "InternalName", "C6202AODoubleBuffer" - VALUE "LegalCopyright", "Copyright (C) 2007" - VALUE "OriginalFilename", "C6202AODoubleBuffer.EXE" - VALUE "ProductName", "C6202AODoubleBuffer Application" - VALUE "ProductVersion", "1, 0, 0, 1" - END - END - BLOCK "VarFileInfo" - BEGIN - VALUE "Translation", 0x409, 1200 - END -END - - -///////////////////////////////////////////////////////////////////////////// -// -// DESIGNINFO -// - -#ifdef APSTUDIO_INVOKED -GUIDELINES DESIGNINFO -BEGIN - IDD_ABOUTBOX, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 228 - TOPMARGIN, 7 - BOTTOMMARGIN, 48 - END - - IDD_C6202AODOUBLEBUFFER_DIALOG, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 148 - TOPMARGIN, 7 - BOTTOMMARGIN, 64 - END -END -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// String Table -// - -STRINGTABLE -BEGIN - IDS_ABOUTBOX "&About C6202AODoubleBuffer..." -END - -#endif // English (U.S.) resources -///////////////////////////////////////////////////////////////////////////// - - - -#ifndef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 3 resource. -// -#define _AFX_NO_SPLITTER_RESOURCES -#define _AFX_NO_OLE_RESOURCES -#define _AFX_NO_TRACKER_RESOURCES -#define _AFX_NO_PROPERTY_RESOURCES - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -#ifdef _WIN32 -LANGUAGE 9, 1 -#pragma code_page(1252) -#endif //_WIN32 -#include "res\C6202AODoubleBuffer.rc2" // non-Microsoft Visual C++ edited resources -#include "afxres.rc" // Standard components -#endif - -///////////////////////////////////////////////////////////////////////////// -#endif // not APSTUDIO_INVOKED - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/6202/C6202AODoubleBuffer/C6202AODoubleBuffer.sln b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/6202/C6202AODoubleBuffer/C6202AODoubleBuffer.sln deleted file mode 100644 index 60bf9b4..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/6202/C6202AODoubleBuffer/C6202AODoubleBuffer.sln +++ /dev/null @@ -1,20 +0,0 @@ - -Microsoft Visual Studio Solution File, Format Version 10.00 -# Visual Studio 2008 -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "C6202AODoubleBuffer", "C6202AODoubleBuffer.vcproj", "{91B2C712-044F-4834-9BB4-AFCC6615AC9E}" -EndProject -Global - GlobalSection(SolutionConfigurationPlatforms) = preSolution - Debug|x64 = Debug|x64 - Release|x64 = Release|x64 - EndGlobalSection - GlobalSection(ProjectConfigurationPlatforms) = postSolution - {91B2C712-044F-4834-9BB4-AFCC6615AC9E}.Debug|x64.ActiveCfg = Debug|x64 - {91B2C712-044F-4834-9BB4-AFCC6615AC9E}.Debug|x64.Build.0 = Debug|x64 - {91B2C712-044F-4834-9BB4-AFCC6615AC9E}.Release|x64.ActiveCfg = Release|x64 - {91B2C712-044F-4834-9BB4-AFCC6615AC9E}.Release|x64.Build.0 = Release|x64 - EndGlobalSection - GlobalSection(SolutionProperties) = preSolution - HideSolutionNode = FALSE - EndGlobalSection -EndGlobal diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/6202/C6202AODoubleBuffer/C6202AODoubleBuffer.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/6202/C6202AODoubleBuffer/C6202AODoubleBuffer.suo deleted file mode 100644 index 9dee727..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/6202/C6202AODoubleBuffer/C6202AODoubleBuffer.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/6202/C6202AODoubleBuffer/C6202AODoubleBuffer.vcproj b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/6202/C6202AODoubleBuffer/C6202AODoubleBuffer.vcproj deleted file mode 100644 index 535e34b..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/6202/C6202AODoubleBuffer/C6202AODoubleBuffer.vcproj +++ /dev/null @@ -1,354 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/6202/C6202AODoubleBuffer/C6202AODoubleBufferDlg.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/6202/C6202AODoubleBuffer/C6202AODoubleBufferDlg.cpp deleted file mode 100644 index d937161..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/6202/C6202AODoubleBuffer/C6202AODoubleBufferDlg.cpp +++ /dev/null @@ -1,271 +0,0 @@ -// C6202AODoubleBufferDlg.cpp : implementation file -// - -#include "stdafx.h" -#include "C6202AODoubleBuffer.h" -#include "C6202AODoubleBufferDlg.h" - -#ifdef _DEBUG -#define new DEBUG_NEW -#undef THIS_FILE -static char THIS_FILE[] = __FILE__; -#endif - -///////////////////////////////////////////////////////////////////////////// -// CAboutDlg dialog used for App About - -class CAboutDlg : public CDialog -{ -public: - CAboutDlg(); - -// Dialog Data - //{{AFX_DATA(CAboutDlg) - enum { IDD = IDD_ABOUTBOX }; - //}}AFX_DATA - - // ClassWizard generated virtual function overrides - //{{AFX_VIRTUAL(CAboutDlg) - protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - //}}AFX_VIRTUAL - -// Implementation -protected: - //{{AFX_MSG(CAboutDlg) - //}}AFX_MSG - DECLARE_MESSAGE_MAP() -}; - -CAboutDlg::CAboutDlg() : CDialog(CAboutDlg::IDD) -{ - //{{AFX_DATA_INIT(CAboutDlg) - //}}AFX_DATA_INIT -} - -void CAboutDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); - //{{AFX_DATA_MAP(CAboutDlg) - //}}AFX_DATA_MAP -} - -BEGIN_MESSAGE_MAP(CAboutDlg, CDialog) - //{{AFX_MSG_MAP(CAboutDlg) - // No message handlers - //}}AFX_MSG_MAP -END_MESSAGE_MAP() - -///////////////////////////////////////////////////////////////////////////// -// CC6202AODoubleBufferDlg dialog - -CC6202AODoubleBufferDlg::CC6202AODoubleBufferDlg(CWnd* pParent /*=NULL*/) - : CDialog(CC6202AODoubleBufferDlg::IDD, pParent) -{ - //{{AFX_DATA_INIT(CC6202AODoubleBufferDlg) - // NOTE: the ClassWizard will add member initialization here - //}}AFX_DATA_INIT - // Note that LoadIcon does not require a subsequent DestroyIcon in Win32 - m_hIcon = AfxGetApp()->LoadIcon(IDR_MAINFRAME); -} - -void CC6202AODoubleBufferDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); - //{{AFX_DATA_MAP(CC6202AODoubleBufferDlg) - // NOTE: the ClassWizard will add DDX and DDV calls here - //}}AFX_DATA_MAP -} - -BEGIN_MESSAGE_MAP(CC6202AODoubleBufferDlg, CDialog) - //{{AFX_MSG_MAP(CC6202AODoubleBufferDlg) - ON_WM_SYSCOMMAND() - ON_WM_PAINT() - ON_WM_QUERYDRAGICON() - ON_WM_CREATE() - ON_WM_CLOSE() - ON_BN_CLICKED(IDC_BTN_START, OnBtnStart) - ON_BN_CLICKED(IDC_BTN_STOP, OnBtnStop) - //}}AFX_MSG_MAP -END_MESSAGE_MAP() - -///////////////////////////////////////////////////////////////////////////// -// CC6202AODoubleBufferDlg message handlers - -BOOL CC6202AODoubleBufferDlg::OnInitDialog() -{ - CDialog::OnInitDialog(); - - // Add "About..." menu item to system menu. - - // IDM_ABOUTBOX must be in the system command range. - ASSERT((IDM_ABOUTBOX & 0xFFF0) == IDM_ABOUTBOX); - ASSERT(IDM_ABOUTBOX < 0xF000); - - CMenu* pSysMenu = GetSystemMenu(FALSE); - if (pSysMenu != NULL) - { - CString strAboutMenu; - strAboutMenu.LoadString(IDS_ABOUTBOX); - if (!strAboutMenu.IsEmpty()) - { - pSysMenu->AppendMenu(MF_SEPARATOR); - pSysMenu->AppendMenu(MF_STRING, IDM_ABOUTBOX, strAboutMenu); - } - } - - // Set the icon for this dialog. The framework does this automatically - // when the application's main window is not a dialog - SetIcon(m_hIcon, TRUE); // Set big icon - SetIcon(m_hIcon, FALSE); // Set small icon - - // TODO: Add extra initialization here - - return TRUE; // return TRUE unless you set the focus to a control -} - -void CC6202AODoubleBufferDlg::OnSysCommand(UINT nID, LPARAM lParam) -{ - if ((nID & 0xFFF0) == IDM_ABOUTBOX) - { - CAboutDlg dlgAbout; - dlgAbout.DoModal(); - } - else - { - CDialog::OnSysCommand(nID, lParam); - } -} - -// If you add a minimize button to your dialog, you will need the code below -// to draw the icon. For MFC applications using the document/view model, -// this is automatically done for you by the framework. - -void CC6202AODoubleBufferDlg::OnPaint() -{ - if (IsIconic()) - { - CPaintDC dc(this); // device context for painting - - SendMessage(WM_ICONERASEBKGND, (WPARAM) dc.GetSafeHdc(), 0); - - // Center icon in client rectangle - int cxIcon = GetSystemMetrics(SM_CXICON); - int cyIcon = GetSystemMetrics(SM_CYICON); - CRect rect; - GetClientRect(&rect); - int x = (rect.Width() - cxIcon + 1) / 2; - int y = (rect.Height() - cyIcon + 1) / 2; - - // Draw the icon - dc.DrawIcon(x, y, m_hIcon); - } - else - { - CDialog::OnPaint(); - } -} - -// The system calls this to obtain the cursor to display while the user drags -// the minimized window. -HCURSOR CC6202AODoubleBufferDlg::OnQueryDragIcon() -{ - return (HCURSOR) m_hIcon; -} - -int CC6202AODoubleBufferDlg::OnCreate(LPCREATESTRUCT lpCreateStruct) -{ - int i; - - if (CDialog::OnCreate(lpCreateStruct) == -1) - return -1; - - for(i = 0; i < DATA_CNT; i++) - { -// m_data_buffer[0][i] = i * (65536/DATA_CNT); -// m_data_buffer[1][i] = 65535 - i * (65536/DATA_CNT); -// m_data_buffer[2][i] = 32768 * (65536/DATA_CNT); - if(i%2) - { - m_data_buffer[0][i] = i * (65536/DATA_CNT); - m_data_buffer[1][i] = 65535 - i * (65536/DATA_CNT); - m_data_buffer[2][i] = 32768 * (65536/DATA_CNT); - } - else - { - m_data_buffer[0][i] = 65535 - i * (65536/DATA_CNT); - m_data_buffer[1][i] = i * (65536/DATA_CNT); - m_data_buffer[2][i] = 32768 * (65536/DATA_CNT); - } - } - m_dev = Register_Card(PCI_6202, 0); - if(m_dev < 0) - { - MessageBox("Register_Card Error!"); - } - - return 0; -} - -void CC6202AODoubleBufferDlg::OnClose() -{ - I16 err; - - if(m_dev >= 0) - { - err = Release_Card(m_dev); - } - - CDialog::OnClose(); -} - -void CC6202AODoubleBufferDlg::OnBtnStart() -{ - I16 err; - int i,j; - U16 BufId_0; - U16 BufId_1; - BOOLEAN Stopped, HalfReady; - U32 AccessCnt; - U16 chans[4]; - - err = AO_6202_Config(m_dev, P6202_DA_WRSRC_Int, - P6202_DA_TRGSRC_SOFT | P6202_DA_TRGMOD_POST , - 1,//ReTrg cont - 0,//delay1 - 0,//delay2 - true); - err = AO_ContBufferReset(m_dev); - err = AO_ContBufferSetup(m_dev, m_data_buffer[0], DATA_CNT, &BufId_0); - err = AO_ContBufferSetup(m_dev, m_data_buffer[1], DATA_CNT, &BufId_1); - err = AO_AsyncDblBufferMode(m_dev ,1 ); - chans[0]=0; - chans[1]=1; -/* err = AO_ContWriteChannel(m_dev, - 0,//channel - BufId_0, - DATA_CNT, - 0,//Iterations - 8000,//CHUI - 0,//definite - ASYNCH_OP);*/ - err = AO_ContWriteMultiChannels(m_dev, - 2, - chans, - BufId_0, - DATA_CNT, - 0,//Iterations - 800000,//CHUI - 0,//definite - ASYNCH_OP); - -} - -void CC6202AODoubleBufferDlg::OnBtnStop() -{ - I16 err; - U32 AccessCnt; - - err = AO_AsyncClear(m_dev , &AccessCnt, 0); - -} diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/6202/C6202AODoubleBuffer/C6202AODoubleBufferDlg.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/6202/C6202AODoubleBuffer/C6202AODoubleBufferDlg.h deleted file mode 100644 index 997c7ed..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/6202/C6202AODoubleBuffer/C6202AODoubleBufferDlg.h +++ /dev/null @@ -1,61 +0,0 @@ -// C6202AODoubleBufferDlg.h : header file -// - -#if !defined(AFX_C6202AODOUBLEBUFFERDLG_H__BEA45924_71F5_4B16_94C0_DA782FD85D61__INCLUDED_) -#define AFX_C6202AODOUBLEBUFFERDLG_H__BEA45924_71F5_4B16_94C0_DA782FD85D61__INCLUDED_ - -#if _MSC_VER > 1000 -#pragma once -#endif // _MSC_VER > 1000 - -#include "Dask64.h" - -#define DATA_CNT 1024 - -///////////////////////////////////////////////////////////////////////////// -// CC6202AODoubleBufferDlg dialog - -class CC6202AODoubleBufferDlg : public CDialog -{ -// Construction -public: - CC6202AODoubleBufferDlg(CWnd* pParent = NULL); // standard constructor - - I16 m_dev; - U32 m_data_buffer[3][DATA_CNT]; - U32 m_dev_buffer[2][DATA_CNT]; - -// Dialog Data - //{{AFX_DATA(CC6202AODoubleBufferDlg) - enum { IDD = IDD_C6202AODOUBLEBUFFER_DIALOG }; - // NOTE: the ClassWizard will add data members here - //}}AFX_DATA - - // ClassWizard generated virtual function overrides - //{{AFX_VIRTUAL(CC6202AODoubleBufferDlg) - protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - //}}AFX_VIRTUAL - -// Implementation -protected: - HICON m_hIcon; - - // Generated message map functions - //{{AFX_MSG(CC6202AODoubleBufferDlg) - virtual BOOL OnInitDialog(); - afx_msg void OnSysCommand(UINT nID, LPARAM lParam); - afx_msg void OnPaint(); - afx_msg HCURSOR OnQueryDragIcon(); - afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct); - afx_msg void OnClose(); - afx_msg void OnBtnStart(); - afx_msg void OnBtnStop(); - //}}AFX_MSG - DECLARE_MESSAGE_MAP() -}; - -//{{AFX_INSERT_LOCATION}} -// Microsoft Visual C++ will insert additional declarations immediately before the previous line. - -#endif // !defined(AFX_C6202AODOUBLEBUFFERDLG_H__BEA45924_71F5_4B16_94C0_DA782FD85D61__INCLUDED_) diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/6202/C6202AODoubleBuffer/ReadMe.txt b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/6202/C6202AODoubleBuffer/ReadMe.txt deleted file mode 100644 index 910b169..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/6202/C6202AODoubleBuffer/ReadMe.txt +++ /dev/null @@ -1,88 +0,0 @@ -======================================================================== - MICROSOFT FOUNDATION CLASS LIBRARY : C6202AODoubleBuffer -======================================================================== - - -AppWizard has created this C6202AODoubleBuffer application for you. This application -not only demonstrates the basics of using the Microsoft Foundation classes -but is also a starting point for writing your application. - -This file contains a summary of what you will find in each of the files that -make up your C6202AODoubleBuffer application. - -C6202AODoubleBuffer.dsp - This file (the project file) contains information at the project level and - is used to build a single project or subproject. Other users can share the - project (.dsp) file, but they should export the makefiles locally. - -C6202AODoubleBuffer.h - This is the main header file for the application. It includes other - project specific headers (including Resource.h) and declares the - CC6202AODoubleBufferApp application class. - -C6202AODoubleBuffer.cpp - This is the main application source file that contains the application - class CC6202AODoubleBufferApp. - -C6202AODoubleBuffer.rc - This is a listing of all of the Microsoft Windows resources that the - program uses. It includes the icons, bitmaps, and cursors that are stored - in the RES subdirectory. This file can be directly edited in Microsoft - Visual C++. - -C6202AODoubleBuffer.clw - This file contains information used by ClassWizard to edit existing - classes or add new classes. ClassWizard also uses this file to store - information needed to create and edit message maps and dialog data - maps and to create prototype member functions. - -res\C6202AODoubleBuffer.ico - This is an icon file, which is used as the application's icon. This - icon is included by the main resource file C6202AODoubleBuffer.rc. - -res\C6202AODoubleBuffer.rc2 - This file contains resources that are not edited by Microsoft - Visual C++. You should place all resources not editable by - the resource editor in this file. - - - - -///////////////////////////////////////////////////////////////////////////// - -AppWizard creates one dialog class: - -C6202AODoubleBufferDlg.h, C6202AODoubleBufferDlg.cpp - the dialog - These files contain your CC6202AODoubleBufferDlg class. This class defines - the behavior of your application's main dialog. The dialog's - template is in C6202AODoubleBuffer.rc, which can be edited in Microsoft - Visual C++. - - -///////////////////////////////////////////////////////////////////////////// -Other standard files: - -StdAfx.h, StdAfx.cpp - These files are used to build a precompiled header (PCH) file - named C6202AODoubleBuffer.pch and a precompiled types file named StdAfx.obj. - -Resource.h - This is the standard header file, which defines new resource IDs. - Microsoft Visual C++ reads and updates this file. - -///////////////////////////////////////////////////////////////////////////// -Other notes: - -AppWizard uses "TODO:" to indicate parts of the source code you -should add to or customize. - -If your application uses MFC in a shared DLL, and your application is -in a language other than the operating system's current language, you -will need to copy the corresponding localized resources MFC42XXX.DLL -from the Microsoft Visual C++ CD-ROM onto the system or system32 directory, -and rename it to be MFCLOC.DLL. ("XXX" stands for the language abbreviation. -For example, MFC42DEU.DLL contains resources translated to German.) If you -don't do this, some of the UI elements of your application will remain in the -language of the operating system. - -///////////////////////////////////////////////////////////////////////////// diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/6202/C6202AODoubleBuffer/Resource.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/6202/C6202AODoubleBuffer/Resource.h deleted file mode 100644 index 939f761..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/6202/C6202AODoubleBuffer/Resource.h +++ /dev/null @@ -1,22 +0,0 @@ -//{{NO_DEPENDENCIES}} -// Microsoft Developer Studio generated include file. -// Used by C6202AODoubleBuffer.rc -// -#define IDM_ABOUTBOX 0x0010 -#define IDD_ABOUTBOX 100 -#define IDS_ABOUTBOX 101 -#define IDD_C6202AODOUBLEBUFFER_DIALOG 102 -#define IDR_MAINFRAME 128 -#define IDC_BTN_START 1000 -#define IDC_BTN_STOP 1001 - -// Next default values for new objects -// -#ifdef APSTUDIO_INVOKED -#ifndef APSTUDIO_READONLY_SYMBOLS -#define _APS_NEXT_RESOURCE_VALUE 129 -#define _APS_NEXT_COMMAND_VALUE 32771 -#define _APS_NEXT_CONTROL_VALUE 1003 -#define _APS_NEXT_SYMED_VALUE 101 -#endif -#endif diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/6202/C6202AODoubleBuffer/StdAfx.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/6202/C6202AODoubleBuffer/StdAfx.cpp deleted file mode 100644 index 35e77ae..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/6202/C6202AODoubleBuffer/StdAfx.cpp +++ /dev/null @@ -1,8 +0,0 @@ -// stdafx.cpp : source file that includes just the standard includes -// C6202AODoubleBuffer.pch will be the pre-compiled header -// stdafx.obj will contain the pre-compiled type information - -#include "stdafx.h" - - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/6202/C6202AODoubleBuffer/StdAfx.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/6202/C6202AODoubleBuffer/StdAfx.h deleted file mode 100644 index e617459..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/6202/C6202AODoubleBuffer/StdAfx.h +++ /dev/null @@ -1,27 +0,0 @@ -// stdafx.h : include file for standard system include files, -// or project specific include files that are used frequently, but -// are changed infrequently -// - -#if !defined(AFX_STDAFX_H__D98C5CD8_E3DD_490F_A36D_89F01117B67E__INCLUDED_) -#define AFX_STDAFX_H__D98C5CD8_E3DD_490F_A36D_89F01117B67E__INCLUDED_ - -#if _MSC_VER > 1000 -#pragma once -#endif // _MSC_VER > 1000 - -#define VC_EXTRALEAN // Exclude rarely-used stuff from Windows headers - -#include // MFC core and standard components -#include // MFC extensions -#include // MFC Automation classes -#include // MFC support for Internet Explorer 4 Common Controls -#ifndef _AFX_NO_AFXCMN_SUPPORT -#include // MFC support for Windows Common Controls -#endif // _AFX_NO_AFXCMN_SUPPORT - - -//{{AFX_INSERT_LOCATION}} -// Microsoft Visual C++ will insert additional declarations immediately before the previous line. - -#endif // !defined(AFX_STDAFX_H__D98C5CD8_E3DD_490F_A36D_89F01117B67E__INCLUDED_) diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/6202/C6202AODoubleBuffer/res/C6202AODoubleBuffer.ico b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/6202/C6202AODoubleBuffer/res/C6202AODoubleBuffer.ico deleted file mode 100644 index 7eef0bc..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/6202/C6202AODoubleBuffer/res/C6202AODoubleBuffer.ico and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/6202/C6202AODoubleBuffer/res/C6202AODoubleBuffer.rc2 b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/6202/C6202AODoubleBuffer/res/C6202AODoubleBuffer.rc2 deleted file mode 100644 index 95d33a2..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/6202/C6202AODoubleBuffer/res/C6202AODoubleBuffer.rc2 +++ /dev/null @@ -1,13 +0,0 @@ -// -// C6202AODOUBLEBUFFER.RC2 - resources Microsoft Visual C++ does not edit directly -// - -#ifdef APSTUDIO_INVOKED - #error this file is not editable by Microsoft Visual C++ -#endif //APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// Add manually edited resources here... - -///////////////////////////////////////////////////////////////////////////// diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/6202/C6202AOSingleBuffer/C6202AOSingleBuffer.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/6202/C6202AOSingleBuffer/C6202AOSingleBuffer.cpp deleted file mode 100644 index cfc8535..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/6202/C6202AOSingleBuffer/C6202AOSingleBuffer.cpp +++ /dev/null @@ -1,68 +0,0 @@ -// C6202AOSingleBuffer.cpp : Defines the class behaviors for the application. -// - -#include "stdafx.h" -#include "C6202AOSingleBuffer.h" -#include "C6202AOSingleBufferDlg.h" - -#ifdef _DEBUG -#define new DEBUG_NEW -#undef THIS_FILE -static char THIS_FILE[] = __FILE__; -#endif - -///////////////////////////////////////////////////////////////////////////// -// CC6202AOSingleBufferApp - -BEGIN_MESSAGE_MAP(CC6202AOSingleBufferApp, CWinApp) - //{{AFX_MSG_MAP(CC6202AOSingleBufferApp) - // NOTE - the ClassWizard will add and remove mapping macros here. - // DO NOT EDIT what you see in these blocks of generated code! - //}}AFX_MSG - ON_COMMAND(ID_HELP, CWinApp::OnHelp) -END_MESSAGE_MAP() - -///////////////////////////////////////////////////////////////////////////// -// CC6202AOSingleBufferApp construction - -CC6202AOSingleBufferApp::CC6202AOSingleBufferApp() -{ - // TODO: add construction code here, - // Place all significant initialization in InitInstance -} - -///////////////////////////////////////////////////////////////////////////// -// The one and only CC6202AOSingleBufferApp object - -CC6202AOSingleBufferApp theApp; - -///////////////////////////////////////////////////////////////////////////// -// CC6202AOSingleBufferApp initialization - -BOOL CC6202AOSingleBufferApp::InitInstance() -{ - AfxEnableControlContainer(); - - // Standard initialization - // If you are not using these features and wish to reduce the size - // of your final executable, you should remove from the following - // the specific initialization routines you do not need. - - CC6202AOSingleBufferDlg dlg; - m_pMainWnd = &dlg; - INT_PTR nResponse = dlg.DoModal(); - if (nResponse == IDOK) - { - // TODO: Place code here to handle when the dialog is - // dismissed with OK - } - else if (nResponse == IDCANCEL) - { - // TODO: Place code here to handle when the dialog is - // dismissed with Cancel - } - - // Since the dialog has been closed, return FALSE so that we exit the - // application, rather than start the application's message pump. - return FALSE; -} diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/6202/C6202AOSingleBuffer/C6202AOSingleBuffer.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/6202/C6202AOSingleBuffer/C6202AOSingleBuffer.h deleted file mode 100644 index dbeea64..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/6202/C6202AOSingleBuffer/C6202AOSingleBuffer.h +++ /dev/null @@ -1,49 +0,0 @@ -// C6202AOSingleBuffer.h : main header file for the C6202AOSINGLEBUFFER application -// - -#if !defined(AFX_C6202AOSINGLEBUFFER_H__5F53D893_72E1_4142_A3C0_B4DDF9EE5740__INCLUDED_) -#define AFX_C6202AOSINGLEBUFFER_H__5F53D893_72E1_4142_A3C0_B4DDF9EE5740__INCLUDED_ - -#if _MSC_VER > 1000 -#pragma once -#endif // _MSC_VER > 1000 - -#ifndef __AFXWIN_H__ - #error include 'stdafx.h' before including this file for PCH -#endif - -#include "resource.h" // main symbols - -///////////////////////////////////////////////////////////////////////////// -// CC6202AOSingleBufferApp: -// See C6202AOSingleBuffer.cpp for the implementation of this class -// - -class CC6202AOSingleBufferApp : public CWinApp -{ -public: - CC6202AOSingleBufferApp(); - -// Overrides - // ClassWizard generated virtual function overrides - //{{AFX_VIRTUAL(CC6202AOSingleBufferApp) - public: - virtual BOOL InitInstance(); - //}}AFX_VIRTUAL - -// Implementation - - //{{AFX_MSG(CC6202AOSingleBufferApp) - // NOTE - the ClassWizard will add and remove member functions here. - // DO NOT EDIT what you see in these blocks of generated code ! - //}}AFX_MSG - DECLARE_MESSAGE_MAP() -}; - - -///////////////////////////////////////////////////////////////////////////// - -//{{AFX_INSERT_LOCATION}} -// Microsoft Visual C++ will insert additional declarations immediately before the previous line. - -#endif // !defined(AFX_C6202AOSINGLEBUFFER_H__5F53D893_72E1_4142_A3C0_B4DDF9EE5740__INCLUDED_) diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/6202/C6202AOSingleBuffer/C6202AOSingleBuffer.rc b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/6202/C6202AOSingleBuffer/C6202AOSingleBuffer.rc deleted file mode 100644 index 3216577..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/6202/C6202AOSingleBuffer/C6202AOSingleBuffer.rc +++ /dev/null @@ -1,247 +0,0 @@ -// Microsoft Visual C++ generated resource script. -// -#include "resource.h" - -#define APSTUDIO_READONLY_SYMBOLS -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 2 resource. -// -#include "afxres.h" - -///////////////////////////////////////////////////////////////////////////// -#undef APSTUDIO_READONLY_SYMBOLS - -///////////////////////////////////////////////////////////////////////////// -// Chinese (Taiwan) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_CHT) -#ifdef _WIN32 -LANGUAGE LANG_CHINESE, SUBLANG_CHINESE_TRADITIONAL -#pragma code_page(950) -#endif //_WIN32 - -#ifdef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// TEXTINCLUDE -// - -1 TEXTINCLUDE -BEGIN - "resource.h\0" -END - -2 TEXTINCLUDE -BEGIN - "#include ""afxres.h""\r\n" - "\0" -END - -3 TEXTINCLUDE -BEGIN - "#define _AFX_NO_SPLITTER_RESOURCES\r\n" - "#define _AFX_NO_OLE_RESOURCES\r\n" - "#define _AFX_NO_TRACKER_RESOURCES\r\n" - "#define _AFX_NO_PROPERTY_RESOURCES\r\n" - "\r\n" - "#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)\r\n" - "#ifdef _WIN32\r\n" - "LANGUAGE 9, 1\r\n" - "#pragma code_page(1252)\r\n" - "#endif //_WIN32\r\n" - "#include ""res\\C6202AOSingleBuffer.rc2"" // non-Microsoft Visual C++ edited resources\r\n" - "#include ""afxres.rc"" // Standard components\r\n" - "#endif\r\n" - "\0" -END - -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// Icon -// - -// Icon with lowest ID value placed first to ensure application icon -// remains consistent on all systems. -IDR_MAINFRAME ICON "res\\C6202AOSingleBuffer.ico" -#endif // Chinese (Taiwan) resources -///////////////////////////////////////////////////////////////////////////// - - -///////////////////////////////////////////////////////////////////////////// -// English (U.S.) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -#ifdef _WIN32 -LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US -#pragma code_page(1252) -#endif //_WIN32 - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog -// - -IDD_ABOUTBOX DIALOG 0, 0, 235, 55 -STYLE DS_SETFONT | DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "About C6202AOSingleBuffer" -FONT 8, "MS Shell Dlg" -BEGIN - ICON IDR_MAINFRAME,IDC_STATIC,11,17,20,20 - LTEXT "C6202AOSingleBuffer Version 1.0",IDC_STATIC,40,10,119,8,SS_NOPREFIX - LTEXT "Copyright (C) 2007",IDC_STATIC,40,25,119,8 - DEFPUSHBUTTON "OK",IDOK,178,7,50,14,WS_GROUP -END - -IDD_C6202AOSINGLEBUFFER_DIALOG DIALOGEX 0, 0, 167, 153 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU -EXSTYLE WS_EX_APPWINDOW -CAPTION "C6202AOSingleBuffer" -FONT 8, "MS Shell Dlg", 0, 0, 0x1 -BEGIN - DEFPUSHBUTTON "Exit",IDOK,95,121,50,14 - PUSHBUTTON "Start",IDC_BTN_START,25,121,50,14 - LTEXT "Iteration:",IDC_STATIC,20,41,45,8 - LTEXT "Delay1:",IDC_STATIC,20,66,23,8 - LTEXT "Delay2:",IDC_STATIC,20,91,23,8 - LTEXT "Trigger Source:",IDC_STATIC,20,16,51,8 - COMBOBOX IDC_COMBO_TRG_SRC,70,16,80,68,CBS_DROPDOWNLIST | WS_VSCROLL | WS_TABSTOP - COMBOBOX IDC_COMBO_ITERATION,70,41,80,75,CBS_DROPDOWNLIST | WS_VSCROLL | WS_TABSTOP - EDITTEXT IDC_EDIT_DELAY_1,70,66,50,14,ES_RIGHT | ES_AUTOHSCROLL - EDITTEXT IDC_EDIT_DELAY_2,70,91,50,14,ES_RIGHT | ES_AUTOHSCROLL -END - - -///////////////////////////////////////////////////////////////////////////// -// -// Version -// - -VS_VERSION_INFO VERSIONINFO - FILEVERSION 1,0,0,1 - PRODUCTVERSION 1,0,0,1 - FILEFLAGSMASK 0x3fL -#ifdef _DEBUG - FILEFLAGS 0x1L -#else - FILEFLAGS 0x0L -#endif - FILEOS 0x4L - FILETYPE 0x1L - FILESUBTYPE 0x0L -BEGIN - BLOCK "StringFileInfo" - BEGIN - BLOCK "040904B0" - BEGIN - VALUE "FileDescription", "C6202AOSingleBuffer MFC Application" - VALUE "FileVersion", "1, 0, 0, 1" - VALUE "InternalName", "C6202AOSingleBuffer" - VALUE "LegalCopyright", "Copyright (C) 2007" - VALUE "OriginalFilename", "C6202AOSingleBuffer.EXE" - VALUE "ProductName", "C6202AOSingleBuffer Application" - VALUE "ProductVersion", "1, 0, 0, 1" - END - END - BLOCK "VarFileInfo" - BEGIN - VALUE "Translation", 0x409, 1200 - END -END - - -///////////////////////////////////////////////////////////////////////////// -// -// DESIGNINFO -// - -#ifdef APSTUDIO_INVOKED -GUIDELINES DESIGNINFO -BEGIN - IDD_ABOUTBOX, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 228 - TOPMARGIN, 7 - BOTTOMMARGIN, 48 - END - - IDD_C6202AOSINGLEBUFFER_DIALOG, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 160 - TOPMARGIN, 7 - BOTTOMMARGIN, 146 - END -END -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog Info -// - -IDD_C6202AOSINGLEBUFFER_DIALOG DLGINIT -BEGIN - IDC_COMBO_TRG_SRC, 0x403, 13, 0 -0x6f53, 0x7466, 0x7420, 0x6972, 0x6767, 0x7265, "\000" - IDC_COMBO_TRG_SRC, 0x403, 18, 0 -0x7845, 0x2074, 0x7274, 0x6769, 0x6567, 0x2872, 0x4641, 0x3049, 0x0029, - - IDC_COMBO_ITERATION, 0x403, 2, 0 -0x0031, - IDC_COMBO_ITERATION, 0x403, 2, 0 -0x0032, - IDC_COMBO_ITERATION, 0x403, 2, 0 -0x0033, - IDC_COMBO_ITERATION, 0x403, 2, 0 -0x0034, - IDC_COMBO_ITERATION, 0x403, 2, 0 -0x0035, - IDC_COMBO_ITERATION, 0x403, 2, 0 -0x0036, - 0 -END - - -///////////////////////////////////////////////////////////////////////////// -// -// String Table -// - -STRINGTABLE -BEGIN - IDS_ABOUTBOX "&About C6202AOSingleBuffer..." -END - -#endif // English (U.S.) resources -///////////////////////////////////////////////////////////////////////////// - - - -#ifndef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 3 resource. -// -#define _AFX_NO_SPLITTER_RESOURCES -#define _AFX_NO_OLE_RESOURCES -#define _AFX_NO_TRACKER_RESOURCES -#define _AFX_NO_PROPERTY_RESOURCES - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -#ifdef _WIN32 -LANGUAGE 9, 1 -#pragma code_page(1252) -#endif //_WIN32 -#include "res\C6202AOSingleBuffer.rc2" // non-Microsoft Visual C++ edited resources -#include "afxres.rc" // Standard components -#endif - -///////////////////////////////////////////////////////////////////////////// -#endif // not APSTUDIO_INVOKED - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/6202/C6202AOSingleBuffer/C6202AOSingleBuffer.sln b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/6202/C6202AOSingleBuffer/C6202AOSingleBuffer.sln deleted file mode 100644 index fdb7791..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/6202/C6202AOSingleBuffer/C6202AOSingleBuffer.sln +++ /dev/null @@ -1,20 +0,0 @@ - -Microsoft Visual Studio Solution File, Format Version 10.00 -# Visual Studio 2008 -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "C6202AOSingleBuffer", "C6202AOSingleBuffer.vcproj", "{AAE003EC-E63F-48D0-B0F3-842A93D051DB}" -EndProject -Global - GlobalSection(SolutionConfigurationPlatforms) = preSolution - Debug|x64 = Debug|x64 - Release|x64 = Release|x64 - EndGlobalSection - GlobalSection(ProjectConfigurationPlatforms) = postSolution - {AAE003EC-E63F-48D0-B0F3-842A93D051DB}.Debug|x64.ActiveCfg = Debug|x64 - {AAE003EC-E63F-48D0-B0F3-842A93D051DB}.Debug|x64.Build.0 = Debug|x64 - {AAE003EC-E63F-48D0-B0F3-842A93D051DB}.Release|x64.ActiveCfg = Release|x64 - {AAE003EC-E63F-48D0-B0F3-842A93D051DB}.Release|x64.Build.0 = Release|x64 - EndGlobalSection - GlobalSection(SolutionProperties) = preSolution - HideSolutionNode = FALSE - EndGlobalSection -EndGlobal diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/6202/C6202AOSingleBuffer/C6202AOSingleBuffer.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/6202/C6202AOSingleBuffer/C6202AOSingleBuffer.suo deleted file mode 100644 index 1d1c077..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/6202/C6202AOSingleBuffer/C6202AOSingleBuffer.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/6202/C6202AOSingleBuffer/C6202AOSingleBuffer.vcproj b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/6202/C6202AOSingleBuffer/C6202AOSingleBuffer.vcproj deleted file mode 100644 index c310064..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/6202/C6202AOSingleBuffer/C6202AOSingleBuffer.vcproj +++ /dev/null @@ -1,358 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/6202/C6202AOSingleBuffer/C6202AOSingleBufferDlg.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/6202/C6202AOSingleBuffer/C6202AOSingleBufferDlg.cpp deleted file mode 100644 index 87e1ad1..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/6202/C6202AOSingleBuffer/C6202AOSingleBufferDlg.cpp +++ /dev/null @@ -1,256 +0,0 @@ -// C6202AOSingleBufferDlg.cpp : implementation file -// - -#include "stdafx.h" -#include "C6202AOSingleBuffer.h" -#include "C6202AOSingleBufferDlg.h" - -#ifdef _DEBUG -#define new DEBUG_NEW -#undef THIS_FILE -static char THIS_FILE[] = __FILE__; -#endif - -///////////////////////////////////////////////////////////////////////////// -// CAboutDlg dialog used for App About - -class CAboutDlg : public CDialog -{ -public: - CAboutDlg(); - -// Dialog Data - //{{AFX_DATA(CAboutDlg) - enum { IDD = IDD_ABOUTBOX }; - //}}AFX_DATA - - // ClassWizard generated virtual function overrides - //{{AFX_VIRTUAL(CAboutDlg) - protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - //}}AFX_VIRTUAL - -// Implementation -protected: - //{{AFX_MSG(CAboutDlg) - //}}AFX_MSG - DECLARE_MESSAGE_MAP() -}; - -CAboutDlg::CAboutDlg() : CDialog(CAboutDlg::IDD) -{ - //{{AFX_DATA_INIT(CAboutDlg) - //}}AFX_DATA_INIT -} - -void CAboutDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); - //{{AFX_DATA_MAP(CAboutDlg) - //}}AFX_DATA_MAP -} - -BEGIN_MESSAGE_MAP(CAboutDlg, CDialog) - //{{AFX_MSG_MAP(CAboutDlg) - // No message handlers - //}}AFX_MSG_MAP -END_MESSAGE_MAP() - -///////////////////////////////////////////////////////////////////////////// -// CC6202AOSingleBufferDlg dialog - -CC6202AOSingleBufferDlg::CC6202AOSingleBufferDlg(CWnd* pParent /*=NULL*/) - : CDialog(CC6202AOSingleBufferDlg::IDD, pParent) -{ - //{{AFX_DATA_INIT(CC6202AOSingleBufferDlg) - m_trg_src = 0; - m_delay_1 = 0; - m_delay_2 = 0; - m_iteration = 0; - //}}AFX_DATA_INIT - // Note that LoadIcon does not require a subsequent DestroyIcon in Win32 - m_hIcon = AfxGetApp()->LoadIcon(IDR_MAINFRAME); -} - -void CC6202AOSingleBufferDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); - //{{AFX_DATA_MAP(CC6202AOSingleBufferDlg) - DDX_CBIndex(pDX, IDC_COMBO_TRG_SRC, m_trg_src); - DDX_Text(pDX, IDC_EDIT_DELAY_1, m_delay_1); - DDX_Text(pDX, IDC_EDIT_DELAY_2, m_delay_2); - DDX_CBIndex(pDX, IDC_COMBO_ITERATION, m_iteration); - //}}AFX_DATA_MAP -} - -BEGIN_MESSAGE_MAP(CC6202AOSingleBufferDlg, CDialog) - //{{AFX_MSG_MAP(CC6202AOSingleBufferDlg) - ON_WM_SYSCOMMAND() - ON_WM_PAINT() - ON_WM_QUERYDRAGICON() - ON_WM_CREATE() - ON_WM_CLOSE() - ON_BN_CLICKED(IDC_BTN_START, OnBtnStart) - //}}AFX_MSG_MAP -END_MESSAGE_MAP() - -///////////////////////////////////////////////////////////////////////////// -// CC6202AOSingleBufferDlg message handlers - -BOOL CC6202AOSingleBufferDlg::OnInitDialog() -{ - CDialog::OnInitDialog(); - - // Add "About..." menu item to system menu. - - // IDM_ABOUTBOX must be in the system command range. - ASSERT((IDM_ABOUTBOX & 0xFFF0) == IDM_ABOUTBOX); - ASSERT(IDM_ABOUTBOX < 0xF000); - - CMenu* pSysMenu = GetSystemMenu(FALSE); - if (pSysMenu != NULL) - { - CString strAboutMenu; - strAboutMenu.LoadString(IDS_ABOUTBOX); - if (!strAboutMenu.IsEmpty()) - { - pSysMenu->AppendMenu(MF_SEPARATOR); - pSysMenu->AppendMenu(MF_STRING, IDM_ABOUTBOX, strAboutMenu); - } - } - - // Set the icon for this dialog. The framework does this automatically - // when the application's main window is not a dialog - SetIcon(m_hIcon, TRUE); // Set big icon - SetIcon(m_hIcon, FALSE); // Set small icon - - // TODO: Add extra initialization here - - return TRUE; // return TRUE unless you set the focus to a control -} - -void CC6202AOSingleBufferDlg::OnSysCommand(UINT nID, LPARAM lParam) -{ - if ((nID & 0xFFF0) == IDM_ABOUTBOX) - { - CAboutDlg dlgAbout; - dlgAbout.DoModal(); - } - else - { - CDialog::OnSysCommand(nID, lParam); - } -} - -// If you add a minimize button to your dialog, you will need the code below -// to draw the icon. For MFC applications using the document/view model, -// this is automatically done for you by the framework. - -void CC6202AOSingleBufferDlg::OnPaint() -{ - if (IsIconic()) - { - CPaintDC dc(this); // device context for painting - - SendMessage(WM_ICONERASEBKGND, (WPARAM) dc.GetSafeHdc(), 0); - - // Center icon in client rectangle - int cxIcon = GetSystemMetrics(SM_CXICON); - int cyIcon = GetSystemMetrics(SM_CYICON); - CRect rect; - GetClientRect(&rect); - int x = (rect.Width() - cxIcon + 1) / 2; - int y = (rect.Height() - cyIcon + 1) / 2; - - // Draw the icon - dc.DrawIcon(x, y, m_hIcon); - } - else - { - CDialog::OnPaint(); - } -} - -// The system calls this to obtain the cursor to display while the user drags -// the minimized window. -HCURSOR CC6202AOSingleBufferDlg::OnQueryDragIcon() -{ - return (HCURSOR) m_hIcon; -} - -int CC6202AOSingleBufferDlg::OnCreate(LPCREATESTRUCT lpCreateStruct) -{ - int i; - - if (CDialog::OnCreate(lpCreateStruct) == -1) - return -1; - - for(i = 0; i < DATA_CNT; i++) - { - m_buffer[i] = i * (65536/DATA_CNT); - } - - m_dev = Register_Card(PCI_6202, 0); - if(m_dev < 0) - { - MessageBox("Register_Card Error!"); - return 0; - } - - return 0; -} - -void CC6202AOSingleBufferDlg::OnClose() -{ - I16 err; - - if(m_dev >= 0) - { - err = Release_Card(m_dev); - } - - CDialog::OnClose(); -} - -void CC6202AOSingleBufferDlg::OnBtnStart() -{ - I16 err; - U16 trg_src; - U16 BufId_0; - BOOLEAN bStopFlag = FALSE; - DWORD dwWriteCnt = 0; - - UpdateData(); - switch(m_trg_src) - { - case 0: - trg_src = P6202_DA_TRGSRC_SOFT; - break; - case 1: - trg_src = P6202_DA_TRGSRC_AFI0; - break; - } - err = AO_6202_Config(m_dev, P6202_DA_WRSRC_Int, - trg_src | P6202_DA_TRGMOD_DELAY , - 0,//ReTrg cont - m_delay_1,//delay1 - m_delay_2,//delay2 - true); - err = AO_ContBufferReset(m_dev); - err = AO_ContBufferSetup(m_dev, m_buffer, DATA_CNT, &BufId_0); - err = AO_AsyncDblBufferMode(m_dev , 0); - err = AO_ContWriteChannel(m_dev, - 0,//ch - BufId_0, - DATA_CNT, - m_iteration+1,//Iterations - 80,//CHUI - 1,//definite - ASYNCH_OP); - while(!bStopFlag) - { - AO_AsyncCheck(m_dev, &bStopFlag, &dwWriteCnt); - } - AO_AsyncClear(m_dev, &dwWriteCnt, 0); - AfxMessageBox("ok"); -} diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/6202/C6202AOSingleBuffer/C6202AOSingleBufferDlg.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/6202/C6202AOSingleBuffer/C6202AOSingleBufferDlg.h deleted file mode 100644 index ef530a8..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/6202/C6202AOSingleBuffer/C6202AOSingleBufferDlg.h +++ /dev/null @@ -1,61 +0,0 @@ -// C6202AOSingleBufferDlg.h : header file -// - -#if !defined(AFX_C6202AOSINGLEBUFFERDLG_H__2C022A7A_DE70_468D_ADA8_A5DD90727C2A__INCLUDED_) -#define AFX_C6202AOSINGLEBUFFERDLG_H__2C022A7A_DE70_468D_ADA8_A5DD90727C2A__INCLUDED_ - -#if _MSC_VER > 1000 -#pragma once -#endif // _MSC_VER > 1000 - -#include "Dask64.h" - -#define DATA_CNT 1024 - -///////////////////////////////////////////////////////////////////////////// -// CC6202AOSingleBufferDlg dialog -class CC6202AOSingleBufferDlg : public CDialog -{ -// Construction -public: - CC6202AOSingleBufferDlg(CWnd* pParent = NULL); // standard constructor - - I16 m_dev; - U32 m_buffer[DATA_CNT]; - -// Dialog Data - //{{AFX_DATA(CC6202AOSingleBufferDlg) - enum { IDD = IDD_C6202AOSINGLEBUFFER_DIALOG }; - int m_trg_src; - DWORD m_delay_1; - DWORD m_delay_2; - int m_iteration; - //}}AFX_DATA - - // ClassWizard generated virtual function overrides - //{{AFX_VIRTUAL(CC6202AOSingleBufferDlg) - protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - //}}AFX_VIRTUAL - -// Implementation -protected: - HICON m_hIcon; - - // Generated message map functions - //{{AFX_MSG(CC6202AOSingleBufferDlg) - virtual BOOL OnInitDialog(); - afx_msg void OnSysCommand(UINT nID, LPARAM lParam); - afx_msg void OnPaint(); - afx_msg HCURSOR OnQueryDragIcon(); - afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct); - afx_msg void OnClose(); - afx_msg void OnBtnStart(); - //}}AFX_MSG - DECLARE_MESSAGE_MAP() -}; - -//{{AFX_INSERT_LOCATION}} -// Microsoft Visual C++ will insert additional declarations immediately before the previous line. - -#endif // !defined(AFX_C6202AOSINGLEBUFFERDLG_H__2C022A7A_DE70_468D_ADA8_A5DD90727C2A__INCLUDED_) diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/6202/C6202AOSingleBuffer/ReadMe.txt b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/6202/C6202AOSingleBuffer/ReadMe.txt deleted file mode 100644 index f7b3143..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/6202/C6202AOSingleBuffer/ReadMe.txt +++ /dev/null @@ -1,88 +0,0 @@ -======================================================================== - MICROSOFT FOUNDATION CLASS LIBRARY : C6202AOSingleBuffer -======================================================================== - - -AppWizard has created this C6202AOSingleBuffer application for you. This application -not only demonstrates the basics of using the Microsoft Foundation classes -but is also a starting point for writing your application. - -This file contains a summary of what you will find in each of the files that -make up your C6202AOSingleBuffer application. - -C6202AOSingleBuffer.dsp - This file (the project file) contains information at the project level and - is used to build a single project or subproject. Other users can share the - project (.dsp) file, but they should export the makefiles locally. - -C6202AOSingleBuffer.h - This is the main header file for the application. It includes other - project specific headers (including Resource.h) and declares the - CC6202AOSingleBufferApp application class. - -C6202AOSingleBuffer.cpp - This is the main application source file that contains the application - class CC6202AOSingleBufferApp. - -C6202AOSingleBuffer.rc - This is a listing of all of the Microsoft Windows resources that the - program uses. It includes the icons, bitmaps, and cursors that are stored - in the RES subdirectory. This file can be directly edited in Microsoft - Visual C++. - -C6202AOSingleBuffer.clw - This file contains information used by ClassWizard to edit existing - classes or add new classes. ClassWizard also uses this file to store - information needed to create and edit message maps and dialog data - maps and to create prototype member functions. - -res\C6202AOSingleBuffer.ico - This is an icon file, which is used as the application's icon. This - icon is included by the main resource file C6202AOSingleBuffer.rc. - -res\C6202AOSingleBuffer.rc2 - This file contains resources that are not edited by Microsoft - Visual C++. You should place all resources not editable by - the resource editor in this file. - - - - -///////////////////////////////////////////////////////////////////////////// - -AppWizard creates one dialog class: - -C6202AOSingleBufferDlg.h, C6202AOSingleBufferDlg.cpp - the dialog - These files contain your CC6202AOSingleBufferDlg class. This class defines - the behavior of your application's main dialog. The dialog's - template is in C6202AOSingleBuffer.rc, which can be edited in Microsoft - Visual C++. - - -///////////////////////////////////////////////////////////////////////////// -Other standard files: - -StdAfx.h, StdAfx.cpp - These files are used to build a precompiled header (PCH) file - named C6202AOSingleBuffer.pch and a precompiled types file named StdAfx.obj. - -Resource.h - This is the standard header file, which defines new resource IDs. - Microsoft Visual C++ reads and updates this file. - -///////////////////////////////////////////////////////////////////////////// -Other notes: - -AppWizard uses "TODO:" to indicate parts of the source code you -should add to or customize. - -If your application uses MFC in a shared DLL, and your application is -in a language other than the operating system's current language, you -will need to copy the corresponding localized resources MFC42XXX.DLL -from the Microsoft Visual C++ CD-ROM onto the system or system32 directory, -and rename it to be MFCLOC.DLL. ("XXX" stands for the language abbreviation. -For example, MFC42DEU.DLL contains resources translated to German.) If you -don't do this, some of the UI elements of your application will remain in the -language of the operating system. - -///////////////////////////////////////////////////////////////////////////// diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/6202/C6202AOSingleBuffer/Resource.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/6202/C6202AOSingleBuffer/Resource.h deleted file mode 100644 index e8f03d6..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/6202/C6202AOSingleBuffer/Resource.h +++ /dev/null @@ -1,25 +0,0 @@ -//{{NO_DEPENDENCIES}} -// Microsoft Developer Studio generated include file. -// Used by C6202AOSingleBuffer.rc -// -#define IDM_ABOUTBOX 0x0010 -#define IDD_ABOUTBOX 100 -#define IDS_ABOUTBOX 101 -#define IDD_C6202AOSINGLEBUFFER_DIALOG 102 -#define IDR_MAINFRAME 128 -#define IDC_BTN_START 1000 -#define IDC_COMBO_TRG_SRC 1001 -#define IDC_COMBO_ITERATION 1002 -#define IDC_EDIT_DELAY_1 1003 -#define IDC_EDIT_DELAY_2 1004 - -// Next default values for new objects -// -#ifdef APSTUDIO_INVOKED -#ifndef APSTUDIO_READONLY_SYMBOLS -#define _APS_NEXT_RESOURCE_VALUE 131 -#define _APS_NEXT_COMMAND_VALUE 32771 -#define _APS_NEXT_CONTROL_VALUE 1005 -#define _APS_NEXT_SYMED_VALUE 101 -#endif -#endif diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/6202/C6202AOSingleBuffer/StdAfx.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/6202/C6202AOSingleBuffer/StdAfx.cpp deleted file mode 100644 index b9195aa..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/6202/C6202AOSingleBuffer/StdAfx.cpp +++ /dev/null @@ -1,8 +0,0 @@ -// stdafx.cpp : source file that includes just the standard includes -// C6202AOSingleBuffer.pch will be the pre-compiled header -// stdafx.obj will contain the pre-compiled type information - -#include "stdafx.h" - - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/6202/C6202AOSingleBuffer/StdAfx.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/6202/C6202AOSingleBuffer/StdAfx.h deleted file mode 100644 index bfd8833..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/6202/C6202AOSingleBuffer/StdAfx.h +++ /dev/null @@ -1,27 +0,0 @@ -// stdafx.h : include file for standard system include files, -// or project specific include files that are used frequently, but -// are changed infrequently -// - -#if !defined(AFX_STDAFX_H__0CE30F42_618B_42FA_87D6_6CD2318E2EBE__INCLUDED_) -#define AFX_STDAFX_H__0CE30F42_618B_42FA_87D6_6CD2318E2EBE__INCLUDED_ - -#if _MSC_VER > 1000 -#pragma once -#endif // _MSC_VER > 1000 - -#define VC_EXTRALEAN // Exclude rarely-used stuff from Windows headers - -#include // MFC core and standard components -#include // MFC extensions -#include // MFC Automation classes -#include // MFC support for Internet Explorer 4 Common Controls -#ifndef _AFX_NO_AFXCMN_SUPPORT -#include // MFC support for Windows Common Controls -#endif // _AFX_NO_AFXCMN_SUPPORT - - -//{{AFX_INSERT_LOCATION}} -// Microsoft Visual C++ will insert additional declarations immediately before the previous line. - -#endif // !defined(AFX_STDAFX_H__0CE30F42_618B_42FA_87D6_6CD2318E2EBE__INCLUDED_) diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/6202/C6202AOSingleBuffer/res/C6202AOSingleBuffer.ico b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/6202/C6202AOSingleBuffer/res/C6202AOSingleBuffer.ico deleted file mode 100644 index 7eef0bc..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/6202/C6202AOSingleBuffer/res/C6202AOSingleBuffer.ico and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/6202/C6202AOSingleBuffer/res/C6202AOSingleBuffer.rc2 b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/6202/C6202AOSingleBuffer/res/C6202AOSingleBuffer.rc2 deleted file mode 100644 index d463580..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/6202/C6202AOSingleBuffer/res/C6202AOSingleBuffer.rc2 +++ /dev/null @@ -1,13 +0,0 @@ -// -// C6202AOSINGLEBUFFER.RC2 - resources Microsoft Visual C++ does not edit directly -// - -#ifdef APSTUDIO_INVOKED - #error this file is not editable by Microsoft Visual C++ -#endif //APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// Add manually edited resources here... - -///////////////////////////////////////////////////////////////////////////// diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/6202/C6202AOSingleBuffer/res/cursor1.cur b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/6202/C6202AOSingleBuffer/res/cursor1.cur deleted file mode 100644 index 048f06b..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/6202/C6202AOSingleBuffer/res/cursor1.cur and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/6202/C6202AO_SSI_Source/C6202AO_SSI_Source.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/6202/C6202AO_SSI_Source/C6202AO_SSI_Source.cpp deleted file mode 100644 index 78f035e..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/6202/C6202AO_SSI_Source/C6202AO_SSI_Source.cpp +++ /dev/null @@ -1,68 +0,0 @@ -// C6202AOSingleBuffer.cpp : Defines the class behaviors for the application. -// - -#include "stdafx.h" -#include "C6202AO_SSI_Source.h" -#include "C6202AO_SSI_SourceDlg.h" - -#ifdef _DEBUG -#define new DEBUG_NEW -#undef THIS_FILE -static char THIS_FILE[] = __FILE__; -#endif - -///////////////////////////////////////////////////////////////////////////// -// CC6202AOSingleBufferApp - -BEGIN_MESSAGE_MAP(CC6202AOSingleBufferApp, CWinApp) - //{{AFX_MSG_MAP(CC6202AOSingleBufferApp) - // NOTE - the ClassWizard will add and remove mapping macros here. - // DO NOT EDIT what you see in these blocks of generated code! - //}}AFX_MSG - ON_COMMAND(ID_HELP, CWinApp::OnHelp) -END_MESSAGE_MAP() - -///////////////////////////////////////////////////////////////////////////// -// CC6202AOSingleBufferApp construction - -CC6202AOSingleBufferApp::CC6202AOSingleBufferApp() -{ - // TODO: add construction code here, - // Place all significant initialization in InitInstance -} - -///////////////////////////////////////////////////////////////////////////// -// The one and only CC6202AOSingleBufferApp object - -CC6202AOSingleBufferApp theApp; - -///////////////////////////////////////////////////////////////////////////// -// CC6202AOSingleBufferApp initialization - -BOOL CC6202AOSingleBufferApp::InitInstance() -{ - AfxEnableControlContainer(); - - // Standard initialization - // If you are not using these features and wish to reduce the size - // of your final executable, you should remove from the following - // the specific initialization routines you do not need. - - CC6202AOSingleBufferDlg dlg; - m_pMainWnd = &dlg; - INT_PTR nResponse = dlg.DoModal(); - if (nResponse == IDOK) - { - // TODO: Place code here to handle when the dialog is - // dismissed with OK - } - else if (nResponse == IDCANCEL) - { - // TODO: Place code here to handle when the dialog is - // dismissed with Cancel - } - - // Since the dialog has been closed, return FALSE so that we exit the - // application, rather than start the application's message pump. - return FALSE; -} diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/6202/C6202AO_SSI_Source/C6202AO_SSI_Source.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/6202/C6202AO_SSI_Source/C6202AO_SSI_Source.h deleted file mode 100644 index dbeea64..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/6202/C6202AO_SSI_Source/C6202AO_SSI_Source.h +++ /dev/null @@ -1,49 +0,0 @@ -// C6202AOSingleBuffer.h : main header file for the C6202AOSINGLEBUFFER application -// - -#if !defined(AFX_C6202AOSINGLEBUFFER_H__5F53D893_72E1_4142_A3C0_B4DDF9EE5740__INCLUDED_) -#define AFX_C6202AOSINGLEBUFFER_H__5F53D893_72E1_4142_A3C0_B4DDF9EE5740__INCLUDED_ - -#if _MSC_VER > 1000 -#pragma once -#endif // _MSC_VER > 1000 - -#ifndef __AFXWIN_H__ - #error include 'stdafx.h' before including this file for PCH -#endif - -#include "resource.h" // main symbols - -///////////////////////////////////////////////////////////////////////////// -// CC6202AOSingleBufferApp: -// See C6202AOSingleBuffer.cpp for the implementation of this class -// - -class CC6202AOSingleBufferApp : public CWinApp -{ -public: - CC6202AOSingleBufferApp(); - -// Overrides - // ClassWizard generated virtual function overrides - //{{AFX_VIRTUAL(CC6202AOSingleBufferApp) - public: - virtual BOOL InitInstance(); - //}}AFX_VIRTUAL - -// Implementation - - //{{AFX_MSG(CC6202AOSingleBufferApp) - // NOTE - the ClassWizard will add and remove member functions here. - // DO NOT EDIT what you see in these blocks of generated code ! - //}}AFX_MSG - DECLARE_MESSAGE_MAP() -}; - - -///////////////////////////////////////////////////////////////////////////// - -//{{AFX_INSERT_LOCATION}} -// Microsoft Visual C++ will insert additional declarations immediately before the previous line. - -#endif // !defined(AFX_C6202AOSINGLEBUFFER_H__5F53D893_72E1_4142_A3C0_B4DDF9EE5740__INCLUDED_) diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/6202/C6202AO_SSI_Source/C6202AO_SSI_Source.rc b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/6202/C6202AO_SSI_Source/C6202AO_SSI_Source.rc deleted file mode 100644 index 6564b7b..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/6202/C6202AO_SSI_Source/C6202AO_SSI_Source.rc +++ /dev/null @@ -1,266 +0,0 @@ -//Microsoft Developer Studio generated resource script. -// -#include "resource.h" - -#define APSTUDIO_READONLY_SYMBOLS -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 2 resource. -// -#include "afxres.h" - -///////////////////////////////////////////////////////////////////////////// -#undef APSTUDIO_READONLY_SYMBOLS - -///////////////////////////////////////////////////////////////////////////// -// Chinese (Taiwan) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_CHT) -#ifdef _WIN32 -LANGUAGE LANG_CHINESE, SUBLANG_CHINESE_TRADITIONAL -#pragma code_page(950) -#endif //_WIN32 - -#ifdef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// TEXTINCLUDE -// - -1 TEXTINCLUDE DISCARDABLE -BEGIN - "resource.h\0" -END - -2 TEXTINCLUDE DISCARDABLE -BEGIN - "#include ""afxres.h""\r\n" - "\0" -END - -3 TEXTINCLUDE DISCARDABLE -BEGIN - "#define _AFX_NO_SPLITTER_RESOURCES\r\n" - "#define _AFX_NO_OLE_RESOURCES\r\n" - "#define _AFX_NO_TRACKER_RESOURCES\r\n" - "#define _AFX_NO_PROPERTY_RESOURCES\r\n" - "\r\n" - "#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)\r\n" - "#ifdef _WIN32\r\n" - "LANGUAGE 9, 1\r\n" - "#pragma code_page(1252)\r\n" - "#endif //_WIN32\r\n" - "#include ""res\\C6202AO_SSI_Source.rc2"" // non-Microsoft Visual C++ edited resources\r\n" - "#include ""afxres.rc"" // Standard components\r\n" - "#endif\r\n" - "\0" -END - -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// Icon -// - -// Icon with lowest ID value placed first to ensure application icon -// remains consistent on all systems. -IDR_MAINFRAME ICON DISCARDABLE "res\\C6202AO_SSI_Source.ico" -#endif // Chinese (Taiwan) resources -///////////////////////////////////////////////////////////////////////////// - - -///////////////////////////////////////////////////////////////////////////// -// English (U.S.) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -#ifdef _WIN32 -LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US -#pragma code_page(1252) -#endif //_WIN32 - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog -// - -IDD_ABOUTBOX DIALOG DISCARDABLE 0, 0, 235, 55 -STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "About C6202AO_SSI_Source" -FONT 8, "MS Shell Dlg" -BEGIN - ICON IDR_MAINFRAME,IDC_STATIC,11,17,20,20 - LTEXT "C6202AO_SSI_Source Version 2.0",IDC_STATIC,40,10,119,8, - SS_NOPREFIX - LTEXT "Copyright (C) 2010",IDC_STATIC,40,25,119,8 - DEFPUSHBUTTON "OK",IDOK,178,7,50,14,WS_GROUP -END - -IDD_C6202AOSINGLEBUFFER_DIALOG DIALOGEX 0, 0, 147, 132 -STYLE DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU -EXSTYLE WS_EX_APPWINDOW -CAPTION "C6202AO_SSI_Source" -FONT 8, "MS Shell Dlg" -BEGIN - DEFPUSHBUTTON "Exit",IDOK,80,110,50,14 - PUSHBUTTON "Start",IDC_BTN_START,14,110,50,14 - LTEXT "Iteration:",IDC_STATIC,7,47,45,8 - LTEXT "Delay1:",IDC_STATIC,7,67,23,8 - LTEXT "Delay2:",IDC_STATIC,7,87,23,8 - LTEXT "Trigger Source:",IDC_STATIC,7,27,51,8 - COMBOBOX IDC_COMBO_TRG_SRC,60,27,80,68,CBS_DROPDOWNLIST | - WS_VSCROLL | WS_TABSTOP - COMBOBOX IDC_COMBO_ITERATION,60,47,80,75,CBS_DROPDOWNLIST | - WS_VSCROLL | WS_TABSTOP - EDITTEXT IDC_EDIT_DELAY_1,60,67,80,14,ES_RIGHT | ES_AUTOHSCROLL - EDITTEXT IDC_EDIT_DELAY_2,60,87,80,14,ES_RIGHT | ES_AUTOHSCROLL - COMBOBOX IDC_COMBO_CARDNUM,60,7,80,73,CBS_DROPDOWN | WS_VSCROLL | - WS_TABSTOP - LTEXT "Card Number:",IDC_CARDNUM,7,7,40,8 -END - - -#ifndef _MAC -///////////////////////////////////////////////////////////////////////////// -// -// Version -// - -VS_VERSION_INFO VERSIONINFO - FILEVERSION 2,0,0,0 - PRODUCTVERSION 2,0,0,0 - FILEFLAGSMASK 0x3fL -#ifdef _DEBUG - FILEFLAGS 0x1L -#else - FILEFLAGS 0x0L -#endif - FILEOS 0x4L - FILETYPE 0x1L - FILESUBTYPE 0x0L -BEGIN - BLOCK "StringFileInfo" - BEGIN - BLOCK "040904b0" - BEGIN - VALUE "Comments", "\0" - VALUE "CompanyName", "ADLINK\0" - VALUE "FileDescription", "C6202AO_SSI_Source MFC Application\0" - VALUE "FileVersion", "2, 0, 0, 0\0" - VALUE "InternalName", "C6202AO_SSI_Source\0" - VALUE "LegalCopyright", "Copyright (C) 2010\0" - VALUE "LegalTrademarks", "\0" - VALUE "OriginalFilename", "C6202AO_SSI_Source.exe\0" - VALUE "PrivateBuild", "\0" - VALUE "ProductName", "C6202AO_SSI_Source Application\0" - VALUE "ProductVersion", "2, 0, 0, 0\0" - VALUE "SpecialBuild", "\0" - END - END - BLOCK "VarFileInfo" - BEGIN - VALUE "Translation", 0x409, 1200 - END -END - -#endif // !_MAC - - -///////////////////////////////////////////////////////////////////////////// -// -// DESIGNINFO -// - -#ifdef APSTUDIO_INVOKED -GUIDELINES DESIGNINFO DISCARDABLE -BEGIN - IDD_ABOUTBOX, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 228 - TOPMARGIN, 7 - BOTTOMMARGIN, 48 - END - - IDD_C6202AOSINGLEBUFFER_DIALOG, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 140 - TOPMARGIN, 7 - BOTTOMMARGIN, 125 - END -END -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog Info -// - -IDD_C6202AOSINGLEBUFFER_DIALOG DLGINIT -BEGIN - IDC_COMBO_TRG_SRC, 0x403, 13, 0 -0x6f53, 0x7466, 0x7420, 0x6972, 0x6767, 0x7265, "\000" - IDC_COMBO_ITERATION, 0x403, 2, 0 -0x0031, - IDC_COMBO_ITERATION, 0x403, 2, 0 -0x0032, - IDC_COMBO_ITERATION, 0x403, 2, 0 -0x0033, - IDC_COMBO_ITERATION, 0x403, 2, 0 -0x0034, - IDC_COMBO_ITERATION, 0x403, 2, 0 -0x0035, - IDC_COMBO_ITERATION, 0x403, 2, 0 -0x0036, - IDC_COMBO_CARDNUM, 0x403, 2, 0 -0x0030, - IDC_COMBO_CARDNUM, 0x403, 2, 0 -0x0031, - IDC_COMBO_CARDNUM, 0x403, 2, 0 -0x0032, - IDC_COMBO_CARDNUM, 0x403, 2, 0 -0x0033, - 0 -END - - -///////////////////////////////////////////////////////////////////////////// -// -// String Table -// - -STRINGTABLE DISCARDABLE -BEGIN - IDS_ABOUTBOX "&About C6202AO_SSI_Source..." -END - -#endif // English (U.S.) resources -///////////////////////////////////////////////////////////////////////////// - - - -#ifndef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 3 resource. -// -#define _AFX_NO_SPLITTER_RESOURCES -#define _AFX_NO_OLE_RESOURCES -#define _AFX_NO_TRACKER_RESOURCES -#define _AFX_NO_PROPERTY_RESOURCES - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -#ifdef _WIN32 -LANGUAGE 9, 1 -#pragma code_page(1252) -#endif //_WIN32 -#include "res\C6202AO_SSI_Source.rc2" // non-Microsoft Visual C++ edited resources -#include "afxres.rc" // Standard components -#endif - -///////////////////////////////////////////////////////////////////////////// -#endif // not APSTUDIO_INVOKED - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/6202/C6202AO_SSI_Source/C6202AO_SSI_Source.sln b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/6202/C6202AO_SSI_Source/C6202AO_SSI_Source.sln deleted file mode 100644 index 2c1ed76..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/6202/C6202AO_SSI_Source/C6202AO_SSI_Source.sln +++ /dev/null @@ -1,20 +0,0 @@ - -Microsoft Visual Studio Solution File, Format Version 10.00 -# Visual Studio 2008 -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "C6202AO_SSI_Source", "C6202AO_SSI_Source.vcproj", "{224C0451-C54A-4D39-B342-38F3C2D9B691}" -EndProject -Global - GlobalSection(SolutionConfigurationPlatforms) = preSolution - Debug|x64 = Debug|x64 - Release|x64 = Release|x64 - EndGlobalSection - GlobalSection(ProjectConfigurationPlatforms) = postSolution - {224C0451-C54A-4D39-B342-38F3C2D9B691}.Debug|x64.ActiveCfg = Debug|x64 - {224C0451-C54A-4D39-B342-38F3C2D9B691}.Debug|x64.Build.0 = Debug|x64 - {224C0451-C54A-4D39-B342-38F3C2D9B691}.Release|x64.ActiveCfg = Release|x64 - {224C0451-C54A-4D39-B342-38F3C2D9B691}.Release|x64.Build.0 = Release|x64 - EndGlobalSection - GlobalSection(SolutionProperties) = preSolution - HideSolutionNode = FALSE - EndGlobalSection -EndGlobal diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/6202/C6202AO_SSI_Source/C6202AO_SSI_Source.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/6202/C6202AO_SSI_Source/C6202AO_SSI_Source.suo deleted file mode 100644 index bc8515d..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/6202/C6202AO_SSI_Source/C6202AO_SSI_Source.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/6202/C6202AO_SSI_Source/C6202AO_SSI_Source.vcproj b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/6202/C6202AO_SSI_Source/C6202AO_SSI_Source.vcproj deleted file mode 100644 index 2fc2515..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/6202/C6202AO_SSI_Source/C6202AO_SSI_Source.vcproj +++ /dev/null @@ -1,358 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/6202/C6202AO_SSI_Source/C6202AO_SSI_SourceDlg.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/6202/C6202AO_SSI_Source/C6202AO_SSI_SourceDlg.cpp deleted file mode 100644 index b652f1c..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/6202/C6202AO_SSI_Source/C6202AO_SSI_SourceDlg.cpp +++ /dev/null @@ -1,256 +0,0 @@ -// C6202AOSingleBufferDlg.cpp : implementation file -// - -#include "stdafx.h" -#include "C6202AO_SSI_Source.h" -#include "C6202AO_SSI_SourceDlg.h" - -#ifdef _DEBUG -#define new DEBUG_NEW -#undef THIS_FILE -static char THIS_FILE[] = __FILE__; -#endif - -///////////////////////////////////////////////////////////////////////////// -// CAboutDlg dialog used for App About - -class CAboutDlg : public CDialog -{ -public: - CAboutDlg(); - -// Dialog Data - //{{AFX_DATA(CAboutDlg) - enum { IDD = IDD_ABOUTBOX }; - //}}AFX_DATA - - // ClassWizard generated virtual function overrides - //{{AFX_VIRTUAL(CAboutDlg) - protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - //}}AFX_VIRTUAL - -// Implementation -protected: - //{{AFX_MSG(CAboutDlg) - //}}AFX_MSG - DECLARE_MESSAGE_MAP() -}; - -CAboutDlg::CAboutDlg() : CDialog(CAboutDlg::IDD) -{ - //{{AFX_DATA_INIT(CAboutDlg) - //}}AFX_DATA_INIT -} - -void CAboutDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); - //{{AFX_DATA_MAP(CAboutDlg) - //}}AFX_DATA_MAP -} - -BEGIN_MESSAGE_MAP(CAboutDlg, CDialog) - //{{AFX_MSG_MAP(CAboutDlg) - // No message handlers - //}}AFX_MSG_MAP -END_MESSAGE_MAP() - -///////////////////////////////////////////////////////////////////////////// -// CC6202AOSingleBufferDlg dialog - -CC6202AOSingleBufferDlg::CC6202AOSingleBufferDlg(CWnd* pParent /*=NULL*/) - : CDialog(CC6202AOSingleBufferDlg::IDD, pParent) -{ - m_dev = -1; - //{{AFX_DATA_INIT(CC6202AOSingleBufferDlg) - m_trg_src = 0; - m_delay_1 = 0; - m_delay_2 = 0; - m_iteration = 0; - m_cardnum = 0; - //}}AFX_DATA_INIT - // Note that LoadIcon does not require a subsequent DestroyIcon in Win32 - m_hIcon = AfxGetApp()->LoadIcon(IDR_MAINFRAME); -} - -void CC6202AOSingleBufferDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); - //{{AFX_DATA_MAP(CC6202AOSingleBufferDlg) - DDX_CBIndex(pDX, IDC_COMBO_TRG_SRC, m_trg_src); - DDX_Text(pDX, IDC_EDIT_DELAY_1, m_delay_1); - DDX_Text(pDX, IDC_EDIT_DELAY_2, m_delay_2); - DDX_CBIndex(pDX, IDC_COMBO_ITERATION, m_iteration); - DDX_CBIndex(pDX, IDC_COMBO_CARDNUM, m_cardnum); - //}}AFX_DATA_MAP -} - -BEGIN_MESSAGE_MAP(CC6202AOSingleBufferDlg, CDialog) - //{{AFX_MSG_MAP(CC6202AOSingleBufferDlg) - ON_WM_SYSCOMMAND() - ON_WM_PAINT() - ON_WM_QUERYDRAGICON() - ON_WM_CREATE() - ON_WM_CLOSE() - ON_BN_CLICKED(IDC_BTN_START, OnBtnStart) - //}}AFX_MSG_MAP -END_MESSAGE_MAP() - -///////////////////////////////////////////////////////////////////////////// -// CC6202AOSingleBufferDlg message handlers - -BOOL CC6202AOSingleBufferDlg::OnInitDialog() -{ - CDialog::OnInitDialog(); - - // Add "About..." menu item to system menu. - - // IDM_ABOUTBOX must be in the system command range. - ASSERT((IDM_ABOUTBOX & 0xFFF0) == IDM_ABOUTBOX); - ASSERT(IDM_ABOUTBOX < 0xF000); - - CMenu* pSysMenu = GetSystemMenu(FALSE); - if (pSysMenu != NULL) - { - CString strAboutMenu; - strAboutMenu.LoadString(IDS_ABOUTBOX); - if (!strAboutMenu.IsEmpty()) - { - pSysMenu->AppendMenu(MF_SEPARATOR); - pSysMenu->AppendMenu(MF_STRING, IDM_ABOUTBOX, strAboutMenu); - } - } - - // Set the icon for this dialog. The framework does this automatically - // when the application's main window is not a dialog - SetIcon(m_hIcon, TRUE); // Set big icon - SetIcon(m_hIcon, FALSE); // Set small icon - - // TODO: Add extra initialization here - - return TRUE; // return TRUE unless you set the focus to a control -} - -void CC6202AOSingleBufferDlg::OnSysCommand(UINT nID, LPARAM lParam) -{ - if ((nID & 0xFFF0) == IDM_ABOUTBOX) - { - CAboutDlg dlgAbout; - dlgAbout.DoModal(); - } - else - { - CDialog::OnSysCommand(nID, lParam); - } -} - -// If you add a minimize button to your dialog, you will need the code below -// to draw the icon. For MFC applications using the document/view model, -// this is automatically done for you by the framework. - -void CC6202AOSingleBufferDlg::OnPaint() -{ - if (IsIconic()) - { - CPaintDC dc(this); // device context for painting - - SendMessage(WM_ICONERASEBKGND, (WPARAM) dc.GetSafeHdc(), 0); - - // Center icon in client rectangle - int cxIcon = GetSystemMetrics(SM_CXICON); - int cyIcon = GetSystemMetrics(SM_CYICON); - CRect rect; - GetClientRect(&rect); - int x = (rect.Width() - cxIcon + 1) / 2; - int y = (rect.Height() - cyIcon + 1) / 2; - - // Draw the icon - dc.DrawIcon(x, y, m_hIcon); - } - else - { - CDialog::OnPaint(); - } -} - -// The system calls this to obtain the cursor to display while the user drags -// the minimized window. -HCURSOR CC6202AOSingleBufferDlg::OnQueryDragIcon() -{ - return (HCURSOR) m_hIcon; -} - -int CC6202AOSingleBufferDlg::OnCreate(LPCREATESTRUCT lpCreateStruct) -{ - int i; - - if (CDialog::OnCreate(lpCreateStruct) == -1) - return -1; - - for(i = 0; i < DATA_CNT; i++) - { - m_buffer[i] = i * (65536/DATA_CNT); - } - - return 0; -} - -void CC6202AOSingleBufferDlg::OnClose() -{ - I16 err; - - if(m_dev >= 0) - { - err = Release_Card(m_dev); - } - - CDialog::OnClose(); -} - -void CC6202AOSingleBufferDlg::OnBtnStart() -{ - I16 err; - U16 trg_src; - U16 BufId_0; - BOOLEAN bStopFlag = FALSE; - DWORD dwWriteCnt = 0; - - UpdateData(); - m_dev = Register_Card(PCI_6202, m_cardnum); - if(m_dev < 0) - { - MessageBox("Register_Card Error!"); - return; - } - switch(m_trg_src) - { - case 0: - trg_src = P6202_DA_TRGSRC_SOFT; - break; - } - err = AO_6202_Config(m_dev, P6202_DA_WRSRC_Int, - trg_src | P6202_DA_TRGMOD_DELAY , - 0,//ReTrg cont - m_delay_1,//delay1 - m_delay_2,//delay2 - true); - err = SSI_SourceConn(m_dev, P6202_SSI_DA_TRIG); - err = AO_ContBufferReset(m_dev); - err = AO_ContBufferSetup(m_dev, m_buffer, DATA_CNT, &BufId_0); - err = AO_AsyncDblBufferMode(m_dev , 0); - err = AO_ContWriteChannel(m_dev, - 0,//ch - BufId_0, - DATA_CNT, - m_iteration+1,//Iterations - 80,//CHUI - 1,//definite - ASYNCH_OP); - while(!bStopFlag) - { - AO_AsyncCheck(m_dev, &bStopFlag, &dwWriteCnt); - } - AO_AsyncClear(m_dev, &dwWriteCnt, 0); - AfxMessageBox("ok"); -} diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/6202/C6202AO_SSI_Source/C6202AO_SSI_SourceDlg.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/6202/C6202AO_SSI_Source/C6202AO_SSI_SourceDlg.h deleted file mode 100644 index e4b4318..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/6202/C6202AO_SSI_Source/C6202AO_SSI_SourceDlg.h +++ /dev/null @@ -1,63 +0,0 @@ -// C6202AOSingleBufferDlg.h : header file -// - -#if !defined(AFX_C6202AOSINGLEBUFFERDLG_H__2C022A7A_DE70_468D_ADA8_A5DD90727C2A__INCLUDED_) -#define AFX_C6202AOSINGLEBUFFERDLG_H__2C022A7A_DE70_468D_ADA8_A5DD90727C2A__INCLUDED_ - -#if _MSC_VER > 1000 -#pragma once -#endif // _MSC_VER > 1000 - -#include "Dask64.h" - -#define DATA_CNT 1024 - -///////////////////////////////////////////////////////////////////////////// -// CC6202AOSingleBufferDlg dialog - -class CC6202AOSingleBufferDlg : public CDialog -{ -// Construction -public: - CC6202AOSingleBufferDlg(CWnd* pParent = NULL); // standard constructor - - I16 m_dev; - U32 m_buffer[DATA_CNT]; - -// Dialog Data - //{{AFX_DATA(CC6202AOSingleBufferDlg) - enum { IDD = IDD_C6202AOSINGLEBUFFER_DIALOG }; - int m_trg_src; - DWORD m_delay_1; - DWORD m_delay_2; - int m_iteration; - int m_cardnum; - //}}AFX_DATA - - // ClassWizard generated virtual function overrides - //{{AFX_VIRTUAL(CC6202AOSingleBufferDlg) - protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - //}}AFX_VIRTUAL - -// Implementation -protected: - HICON m_hIcon; - - // Generated message map functions - //{{AFX_MSG(CC6202AOSingleBufferDlg) - virtual BOOL OnInitDialog(); - afx_msg void OnSysCommand(UINT nID, LPARAM lParam); - afx_msg void OnPaint(); - afx_msg HCURSOR OnQueryDragIcon(); - afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct); - afx_msg void OnClose(); - afx_msg void OnBtnStart(); - //}}AFX_MSG - DECLARE_MESSAGE_MAP() -}; - -//{{AFX_INSERT_LOCATION}} -// Microsoft Visual C++ will insert additional declarations immediately before the previous line. - -#endif // !defined(AFX_C6202AOSINGLEBUFFERDLG_H__2C022A7A_DE70_468D_ADA8_A5DD90727C2A__INCLUDED_) diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/6202/C6202AO_SSI_Source/ReadMe.txt b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/6202/C6202AO_SSI_Source/ReadMe.txt deleted file mode 100644 index f7b3143..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/6202/C6202AO_SSI_Source/ReadMe.txt +++ /dev/null @@ -1,88 +0,0 @@ -======================================================================== - MICROSOFT FOUNDATION CLASS LIBRARY : C6202AOSingleBuffer -======================================================================== - - -AppWizard has created this C6202AOSingleBuffer application for you. This application -not only demonstrates the basics of using the Microsoft Foundation classes -but is also a starting point for writing your application. - -This file contains a summary of what you will find in each of the files that -make up your C6202AOSingleBuffer application. - -C6202AOSingleBuffer.dsp - This file (the project file) contains information at the project level and - is used to build a single project or subproject. Other users can share the - project (.dsp) file, but they should export the makefiles locally. - -C6202AOSingleBuffer.h - This is the main header file for the application. It includes other - project specific headers (including Resource.h) and declares the - CC6202AOSingleBufferApp application class. - -C6202AOSingleBuffer.cpp - This is the main application source file that contains the application - class CC6202AOSingleBufferApp. - -C6202AOSingleBuffer.rc - This is a listing of all of the Microsoft Windows resources that the - program uses. It includes the icons, bitmaps, and cursors that are stored - in the RES subdirectory. This file can be directly edited in Microsoft - Visual C++. - -C6202AOSingleBuffer.clw - This file contains information used by ClassWizard to edit existing - classes or add new classes. ClassWizard also uses this file to store - information needed to create and edit message maps and dialog data - maps and to create prototype member functions. - -res\C6202AOSingleBuffer.ico - This is an icon file, which is used as the application's icon. This - icon is included by the main resource file C6202AOSingleBuffer.rc. - -res\C6202AOSingleBuffer.rc2 - This file contains resources that are not edited by Microsoft - Visual C++. You should place all resources not editable by - the resource editor in this file. - - - - -///////////////////////////////////////////////////////////////////////////// - -AppWizard creates one dialog class: - -C6202AOSingleBufferDlg.h, C6202AOSingleBufferDlg.cpp - the dialog - These files contain your CC6202AOSingleBufferDlg class. This class defines - the behavior of your application's main dialog. The dialog's - template is in C6202AOSingleBuffer.rc, which can be edited in Microsoft - Visual C++. - - -///////////////////////////////////////////////////////////////////////////// -Other standard files: - -StdAfx.h, StdAfx.cpp - These files are used to build a precompiled header (PCH) file - named C6202AOSingleBuffer.pch and a precompiled types file named StdAfx.obj. - -Resource.h - This is the standard header file, which defines new resource IDs. - Microsoft Visual C++ reads and updates this file. - -///////////////////////////////////////////////////////////////////////////// -Other notes: - -AppWizard uses "TODO:" to indicate parts of the source code you -should add to or customize. - -If your application uses MFC in a shared DLL, and your application is -in a language other than the operating system's current language, you -will need to copy the corresponding localized resources MFC42XXX.DLL -from the Microsoft Visual C++ CD-ROM onto the system or system32 directory, -and rename it to be MFCLOC.DLL. ("XXX" stands for the language abbreviation. -For example, MFC42DEU.DLL contains resources translated to German.) If you -don't do this, some of the UI elements of your application will remain in the -language of the operating system. - -///////////////////////////////////////////////////////////////////////////// diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/6202/C6202AO_SSI_Source/StdAfx.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/6202/C6202AO_SSI_Source/StdAfx.cpp deleted file mode 100644 index b9195aa..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/6202/C6202AO_SSI_Source/StdAfx.cpp +++ /dev/null @@ -1,8 +0,0 @@ -// stdafx.cpp : source file that includes just the standard includes -// C6202AOSingleBuffer.pch will be the pre-compiled header -// stdafx.obj will contain the pre-compiled type information - -#include "stdafx.h" - - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/6202/C6202AO_SSI_Source/StdAfx.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/6202/C6202AO_SSI_Source/StdAfx.h deleted file mode 100644 index bfd8833..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/6202/C6202AO_SSI_Source/StdAfx.h +++ /dev/null @@ -1,27 +0,0 @@ -// stdafx.h : include file for standard system include files, -// or project specific include files that are used frequently, but -// are changed infrequently -// - -#if !defined(AFX_STDAFX_H__0CE30F42_618B_42FA_87D6_6CD2318E2EBE__INCLUDED_) -#define AFX_STDAFX_H__0CE30F42_618B_42FA_87D6_6CD2318E2EBE__INCLUDED_ - -#if _MSC_VER > 1000 -#pragma once -#endif // _MSC_VER > 1000 - -#define VC_EXTRALEAN // Exclude rarely-used stuff from Windows headers - -#include // MFC core and standard components -#include // MFC extensions -#include // MFC Automation classes -#include // MFC support for Internet Explorer 4 Common Controls -#ifndef _AFX_NO_AFXCMN_SUPPORT -#include // MFC support for Windows Common Controls -#endif // _AFX_NO_AFXCMN_SUPPORT - - -//{{AFX_INSERT_LOCATION}} -// Microsoft Visual C++ will insert additional declarations immediately before the previous line. - -#endif // !defined(AFX_STDAFX_H__0CE30F42_618B_42FA_87D6_6CD2318E2EBE__INCLUDED_) diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/6202/C6202AO_SSI_Source/res/C6202AO_SSI_Source.ico b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/6202/C6202AO_SSI_Source/res/C6202AO_SSI_Source.ico deleted file mode 100644 index 7eef0bc..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/6202/C6202AO_SSI_Source/res/C6202AO_SSI_Source.ico and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/6202/C6202AO_SSI_Source/res/C6202AO_SSI_Source.rc2 b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/6202/C6202AO_SSI_Source/res/C6202AO_SSI_Source.rc2 deleted file mode 100644 index d463580..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/6202/C6202AO_SSI_Source/res/C6202AO_SSI_Source.rc2 +++ /dev/null @@ -1,13 +0,0 @@ -// -// C6202AOSINGLEBUFFER.RC2 - resources Microsoft Visual C++ does not edit directly -// - -#ifdef APSTUDIO_INVOKED - #error this file is not editable by Microsoft Visual C++ -#endif //APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// Add manually edited resources here... - -///////////////////////////////////////////////////////////////////////////// diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/6202/C6202AO_SSI_Source/res/cursor1.cur b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/6202/C6202AO_SSI_Source/res/cursor1.cur deleted file mode 100644 index 048f06b..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/6202/C6202AO_SSI_Source/res/cursor1.cur and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/6202/C6202AO_SSI_Source/resource.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/6202/C6202AO_SSI_Source/resource.h deleted file mode 100644 index fc6253c..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/6202/C6202AO_SSI_Source/resource.h +++ /dev/null @@ -1,27 +0,0 @@ -//{{NO_DEPENDENCIES}} -// Microsoft Developer Studio generated include file. -// Used by C6202AO_SSI_Source.rc -// -#define IDM_ABOUTBOX 0x0010 -#define IDD_ABOUTBOX 100 -#define IDS_ABOUTBOX 101 -#define IDD_C6202AOSINGLEBUFFER_DIALOG 102 -#define IDR_MAINFRAME 128 -#define IDC_BTN_START 1000 -#define IDC_COMBO_TRG_SRC 1001 -#define IDC_COMBO_ITERATION 1002 -#define IDC_EDIT_DELAY_1 1003 -#define IDC_EDIT_DELAY_2 1004 -#define IDC_COMBO_CARDNUM 1005 -#define IDC_CARDNUM 1006 - -// Next default values for new objects -// -#ifdef APSTUDIO_INVOKED -#ifndef APSTUDIO_READONLY_SYMBOLS -#define _APS_NEXT_RESOURCE_VALUE 131 -#define _APS_NEXT_COMMAND_VALUE 32771 -#define _APS_NEXT_CONTROL_VALUE 1007 -#define _APS_NEXT_SYMED_VALUE 101 -#endif -#endif diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/6202/C6202AO_SSI_Target/C6202AO_SSI_Target.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/6202/C6202AO_SSI_Target/C6202AO_SSI_Target.cpp deleted file mode 100644 index ba1e1de..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/6202/C6202AO_SSI_Target/C6202AO_SSI_Target.cpp +++ /dev/null @@ -1,68 +0,0 @@ -// C6202AOSingleBuffer.cpp : Defines the class behaviors for the application. -// - -#include "stdafx.h" -#include "C6202AO_SSI_Target.h" -#include "C6202AO_SSI_TargetDlg.h" - -#ifdef _DEBUG -#define new DEBUG_NEW -#undef THIS_FILE -static char THIS_FILE[] = __FILE__; -#endif - -///////////////////////////////////////////////////////////////////////////// -// CC6202AOSingleBufferApp - -BEGIN_MESSAGE_MAP(CC6202AOSingleBufferApp, CWinApp) - //{{AFX_MSG_MAP(CC6202AOSingleBufferApp) - // NOTE - the ClassWizard will add and remove mapping macros here. - // DO NOT EDIT what you see in these blocks of generated code! - //}}AFX_MSG - ON_COMMAND(ID_HELP, CWinApp::OnHelp) -END_MESSAGE_MAP() - -///////////////////////////////////////////////////////////////////////////// -// CC6202AOSingleBufferApp construction - -CC6202AOSingleBufferApp::CC6202AOSingleBufferApp() -{ - // TODO: add construction code here, - // Place all significant initialization in InitInstance -} - -///////////////////////////////////////////////////////////////////////////// -// The one and only CC6202AOSingleBufferApp object - -CC6202AOSingleBufferApp theApp; - -///////////////////////////////////////////////////////////////////////////// -// CC6202AOSingleBufferApp initialization - -BOOL CC6202AOSingleBufferApp::InitInstance() -{ - AfxEnableControlContainer(); - - // Standard initialization - // If you are not using these features and wish to reduce the size - // of your final executable, you should remove from the following - // the specific initialization routines you do not need. - - CC6202AOSingleBufferDlg dlg; - m_pMainWnd = &dlg; - INT_PTR nResponse = dlg.DoModal(); - if (nResponse == IDOK) - { - // TODO: Place code here to handle when the dialog is - // dismissed with OK - } - else if (nResponse == IDCANCEL) - { - // TODO: Place code here to handle when the dialog is - // dismissed with Cancel - } - - // Since the dialog has been closed, return FALSE so that we exit the - // application, rather than start the application's message pump. - return FALSE; -} diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/6202/C6202AO_SSI_Target/C6202AO_SSI_Target.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/6202/C6202AO_SSI_Target/C6202AO_SSI_Target.h deleted file mode 100644 index dbeea64..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/6202/C6202AO_SSI_Target/C6202AO_SSI_Target.h +++ /dev/null @@ -1,49 +0,0 @@ -// C6202AOSingleBuffer.h : main header file for the C6202AOSINGLEBUFFER application -// - -#if !defined(AFX_C6202AOSINGLEBUFFER_H__5F53D893_72E1_4142_A3C0_B4DDF9EE5740__INCLUDED_) -#define AFX_C6202AOSINGLEBUFFER_H__5F53D893_72E1_4142_A3C0_B4DDF9EE5740__INCLUDED_ - -#if _MSC_VER > 1000 -#pragma once -#endif // _MSC_VER > 1000 - -#ifndef __AFXWIN_H__ - #error include 'stdafx.h' before including this file for PCH -#endif - -#include "resource.h" // main symbols - -///////////////////////////////////////////////////////////////////////////// -// CC6202AOSingleBufferApp: -// See C6202AOSingleBuffer.cpp for the implementation of this class -// - -class CC6202AOSingleBufferApp : public CWinApp -{ -public: - CC6202AOSingleBufferApp(); - -// Overrides - // ClassWizard generated virtual function overrides - //{{AFX_VIRTUAL(CC6202AOSingleBufferApp) - public: - virtual BOOL InitInstance(); - //}}AFX_VIRTUAL - -// Implementation - - //{{AFX_MSG(CC6202AOSingleBufferApp) - // NOTE - the ClassWizard will add and remove member functions here. - // DO NOT EDIT what you see in these blocks of generated code ! - //}}AFX_MSG - DECLARE_MESSAGE_MAP() -}; - - -///////////////////////////////////////////////////////////////////////////// - -//{{AFX_INSERT_LOCATION}} -// Microsoft Visual C++ will insert additional declarations immediately before the previous line. - -#endif // !defined(AFX_C6202AOSINGLEBUFFER_H__5F53D893_72E1_4142_A3C0_B4DDF9EE5740__INCLUDED_) diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/6202/C6202AO_SSI_Target/C6202AO_SSI_Target.rc b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/6202/C6202AO_SSI_Target/C6202AO_SSI_Target.rc deleted file mode 100644 index 92d37be..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/6202/C6202AO_SSI_Target/C6202AO_SSI_Target.rc +++ /dev/null @@ -1,255 +0,0 @@ -// Microsoft Visual C++ generated resource script. -// -#include "resource.h" - -#define APSTUDIO_READONLY_SYMBOLS -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 2 resource. -// -#include "afxres.h" - -///////////////////////////////////////////////////////////////////////////// -#undef APSTUDIO_READONLY_SYMBOLS - -///////////////////////////////////////////////////////////////////////////// -// Chinese (Taiwan) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_CHT) -#ifdef _WIN32 -LANGUAGE LANG_CHINESE, SUBLANG_CHINESE_TRADITIONAL -#pragma code_page(950) -#endif //_WIN32 - -#ifdef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// TEXTINCLUDE -// - -1 TEXTINCLUDE -BEGIN - "resource.h\0" -END - -2 TEXTINCLUDE -BEGIN - "#include ""afxres.h""\r\n" - "\0" -END - -3 TEXTINCLUDE -BEGIN - "#define _AFX_NO_SPLITTER_RESOURCES\r\n" - "#define _AFX_NO_OLE_RESOURCES\r\n" - "#define _AFX_NO_TRACKER_RESOURCES\r\n" - "#define _AFX_NO_PROPERTY_RESOURCES\r\n" - "\r\n" - "#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)\r\n" - "#ifdef _WIN32\r\n" - "LANGUAGE 9, 1\r\n" - "#pragma code_page(1252)\r\n" - "#endif //_WIN32\r\n" - "#include ""res\\C6202AO_SSI_Target.rc2"" // non-Microsoft Visual C++ edited resources\r\n" - "#include ""afxres.rc"" // Standard components\r\n" - "#endif\r\n" - "\0" -END - -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// Icon -// - -// Icon with lowest ID value placed first to ensure application icon -// remains consistent on all systems. -IDR_MAINFRAME ICON "res\\C6202AO_SSI_Target.ico" -#endif // Chinese (Taiwan) resources -///////////////////////////////////////////////////////////////////////////// - - -///////////////////////////////////////////////////////////////////////////// -// English (U.S.) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -#ifdef _WIN32 -LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US -#pragma code_page(1252) -#endif //_WIN32 - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog -// - -IDD_ABOUTBOX DIALOG 0, 0, 235, 55 -STYLE DS_SETFONT | DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "About C6202AO_SSI_Target" -FONT 8, "MS Shell Dlg" -BEGIN - ICON IDR_MAINFRAME,IDC_STATIC,11,17,20,20 - LTEXT "C6202AO_SSI_Target Version 2.0",IDC_STATIC,40,10,119,8,SS_NOPREFIX - LTEXT "Copyright (C) 2010",IDC_STATIC,40,25,119,8 - DEFPUSHBUTTON "OK",IDOK,178,7,50,14,WS_GROUP -END - -IDD_C6202AOSINGLEBUFFER_DIALOG DIALOGEX 0, 0, 154, 143 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU -EXSTYLE WS_EX_APPWINDOW -CAPTION "C6202AO_SSI_Target" -FONT 8, "MS Shell Dlg", 0, 0, 0x1 -BEGIN - DEFPUSHBUTTON "Exit",IDOK,80,110,50,14 - PUSHBUTTON "Start",IDC_BTN_START,14,110,50,14 - LTEXT "Iteration:",IDC_STATIC,7,47,45,8 - LTEXT "Delay1:",IDC_STATIC,7,67,23,8 - LTEXT "Delay2:",IDC_STATIC,7,87,23,8 - LTEXT "Trigger Source:",IDC_STATIC,7,27,51,8 - COMBOBOX IDC_COMBO_TRG_SRC,62,27,80,68,CBS_DROPDOWNLIST | WS_VSCROLL | WS_TABSTOP - COMBOBOX IDC_COMBO_ITERATION,62,47,80,75,CBS_DROPDOWNLIST | WS_VSCROLL | WS_TABSTOP - EDITTEXT IDC_EDIT_DELAY_1,62,67,80,14,ES_RIGHT | ES_AUTOHSCROLL - EDITTEXT IDC_EDIT_DELAY_2,62,87,80,14,ES_RIGHT | ES_AUTOHSCROLL - LTEXT "Card Number:",IDC_CARDNUM,7,7,40,8 - COMBOBOX IDC_COMBO_CARDNUM,62,7,80,65,CBS_DROPDOWN | WS_VSCROLL | WS_TABSTOP -END - - -///////////////////////////////////////////////////////////////////////////// -// -// Version -// - -VS_VERSION_INFO VERSIONINFO - FILEVERSION 2,0,0,0 - PRODUCTVERSION 2,0,0,0 - FILEFLAGSMASK 0x3fL -#ifdef _DEBUG - FILEFLAGS 0x1L -#else - FILEFLAGS 0x0L -#endif - FILEOS 0x4L - FILETYPE 0x1L - FILESUBTYPE 0x0L -BEGIN - BLOCK "StringFileInfo" - BEGIN - BLOCK "040904b0" - BEGIN - VALUE "CompanyName", "ADLINK" - VALUE "FileDescription", "C6202AO_SSI_Target MFC Application" - VALUE "FileVersion", "2, 0, 0, 0" - VALUE "InternalName", "C6202AO_SSI_Target" - VALUE "LegalCopyright", "Copyright (C) 2010" - VALUE "OriginalFilename", "C6202AO_SSI_Target.exe" - VALUE "ProductName", "C6202AO_SSI_Target Application" - VALUE "ProductVersion", "2, 0, 0, 0" - END - END - BLOCK "VarFileInfo" - BEGIN - VALUE "Translation", 0x409, 1200 - END -END - - -///////////////////////////////////////////////////////////////////////////// -// -// DESIGNINFO -// - -#ifdef APSTUDIO_INVOKED -GUIDELINES DESIGNINFO -BEGIN - IDD_ABOUTBOX, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 228 - TOPMARGIN, 7 - BOTTOMMARGIN, 48 - END - - IDD_C6202AOSINGLEBUFFER_DIALOG, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 147 - TOPMARGIN, 7 - BOTTOMMARGIN, 136 - END -END -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog Info -// - -IDD_C6202AOSINGLEBUFFER_DIALOG DLGINIT -BEGIN - IDC_COMBO_TRG_SRC, 0x403, 14, 0 -0x4144, 0x545f, 0x4752, 0x5253, 0x5f43, 0x5353, 0x0049, - IDC_COMBO_ITERATION, 0x403, 2, 0 -0x0031, - IDC_COMBO_ITERATION, 0x403, 2, 0 -0x0032, - IDC_COMBO_ITERATION, 0x403, 2, 0 -0x0033, - IDC_COMBO_ITERATION, 0x403, 2, 0 -0x0034, - IDC_COMBO_ITERATION, 0x403, 2, 0 -0x0035, - IDC_COMBO_ITERATION, 0x403, 2, 0 -0x0036, - IDC_COMBO_CARDNUM, 0x403, 2, 0 -0x0030, - IDC_COMBO_CARDNUM, 0x403, 2, 0 -0x0031, - IDC_COMBO_CARDNUM, 0x403, 2, 0 -0x0032, - IDC_COMBO_CARDNUM, 0x403, 2, 0 -0x0033, - 0 -END - - -///////////////////////////////////////////////////////////////////////////// -// -// String Table -// - -STRINGTABLE -BEGIN - IDS_ABOUTBOX "&About C6202AO_SSI_Target..." -END - -#endif // English (U.S.) resources -///////////////////////////////////////////////////////////////////////////// - - - -#ifndef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 3 resource. -// -#define _AFX_NO_SPLITTER_RESOURCES -#define _AFX_NO_OLE_RESOURCES -#define _AFX_NO_TRACKER_RESOURCES -#define _AFX_NO_PROPERTY_RESOURCES - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -#ifdef _WIN32 -LANGUAGE 9, 1 -#pragma code_page(1252) -#endif //_WIN32 -#include "res\C6202AO_SSI_Target.rc2" // non-Microsoft Visual C++ edited resources -#include "afxres.rc" // Standard components -#endif - -///////////////////////////////////////////////////////////////////////////// -#endif // not APSTUDIO_INVOKED - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/6202/C6202AO_SSI_Target/C6202AO_SSI_Target.sln b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/6202/C6202AO_SSI_Target/C6202AO_SSI_Target.sln deleted file mode 100644 index 29a3443..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/6202/C6202AO_SSI_Target/C6202AO_SSI_Target.sln +++ /dev/null @@ -1,20 +0,0 @@ - -Microsoft Visual Studio Solution File, Format Version 10.00 -# Visual Studio 2008 -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "C6202AO_SSI_Target", "C6202AO_SSI_Target.vcproj", "{B9F6B077-6F93-4640-B6C6-38E512A700AC}" -EndProject -Global - GlobalSection(SolutionConfigurationPlatforms) = preSolution - Debug|x64 = Debug|x64 - Release|x64 = Release|x64 - EndGlobalSection - GlobalSection(ProjectConfigurationPlatforms) = postSolution - {B9F6B077-6F93-4640-B6C6-38E512A700AC}.Debug|x64.ActiveCfg = Debug|x64 - {B9F6B077-6F93-4640-B6C6-38E512A700AC}.Debug|x64.Build.0 = Debug|x64 - {B9F6B077-6F93-4640-B6C6-38E512A700AC}.Release|x64.ActiveCfg = Release|x64 - {B9F6B077-6F93-4640-B6C6-38E512A700AC}.Release|x64.Build.0 = Release|x64 - EndGlobalSection - GlobalSection(SolutionProperties) = preSolution - HideSolutionNode = FALSE - EndGlobalSection -EndGlobal diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/6202/C6202AO_SSI_Target/C6202AO_SSI_Target.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/6202/C6202AO_SSI_Target/C6202AO_SSI_Target.suo deleted file mode 100644 index 9279361..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/6202/C6202AO_SSI_Target/C6202AO_SSI_Target.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/6202/C6202AO_SSI_Target/C6202AO_SSI_Target.vcproj b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/6202/C6202AO_SSI_Target/C6202AO_SSI_Target.vcproj deleted file mode 100644 index b6d217d..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/6202/C6202AO_SSI_Target/C6202AO_SSI_Target.vcproj +++ /dev/null @@ -1,358 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/6202/C6202AO_SSI_Target/C6202AO_SSI_TargetDlg.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/6202/C6202AO_SSI_Target/C6202AO_SSI_TargetDlg.cpp deleted file mode 100644 index 49f44a0..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/6202/C6202AO_SSI_Target/C6202AO_SSI_TargetDlg.cpp +++ /dev/null @@ -1,256 +0,0 @@ -// C6202AOSingleBufferDlg.cpp : implementation file -// - -#include "stdafx.h" -#include "C6202AO_SSI_Target.h" -#include "C6202AO_SSI_TargetDlg.h" - -#ifdef _DEBUG -#define new DEBUG_NEW -#undef THIS_FILE -static char THIS_FILE[] = __FILE__; -#endif - -///////////////////////////////////////////////////////////////////////////// -// CAboutDlg dialog used for App About - -class CAboutDlg : public CDialog -{ -public: - CAboutDlg(); - -// Dialog Data - //{{AFX_DATA(CAboutDlg) - enum { IDD = IDD_ABOUTBOX }; - //}}AFX_DATA - - // ClassWizard generated virtual function overrides - //{{AFX_VIRTUAL(CAboutDlg) - protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - //}}AFX_VIRTUAL - -// Implementation -protected: - //{{AFX_MSG(CAboutDlg) - //}}AFX_MSG - DECLARE_MESSAGE_MAP() -}; - -CAboutDlg::CAboutDlg() : CDialog(CAboutDlg::IDD) -{ - //{{AFX_DATA_INIT(CAboutDlg) - //}}AFX_DATA_INIT -} - -void CAboutDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); - //{{AFX_DATA_MAP(CAboutDlg) - //}}AFX_DATA_MAP -} - -BEGIN_MESSAGE_MAP(CAboutDlg, CDialog) - //{{AFX_MSG_MAP(CAboutDlg) - // No message handlers - //}}AFX_MSG_MAP -END_MESSAGE_MAP() - -///////////////////////////////////////////////////////////////////////////// -// CC6202AOSingleBufferDlg dialog - -CC6202AOSingleBufferDlg::CC6202AOSingleBufferDlg(CWnd* pParent /*=NULL*/) - : CDialog(CC6202AOSingleBufferDlg::IDD, pParent) -{ - m_dev = -1; - //{{AFX_DATA_INIT(CC6202AOSingleBufferDlg) - m_trg_src = 0; - m_delay_1 = 0; - m_delay_2 = 0; - m_iteration = 0; - m_cardnum = 0; - //}}AFX_DATA_INIT - // Note that LoadIcon does not require a subsequent DestroyIcon in Win32 - m_hIcon = AfxGetApp()->LoadIcon(IDR_MAINFRAME); -} - -void CC6202AOSingleBufferDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); - //{{AFX_DATA_MAP(CC6202AOSingleBufferDlg) - DDX_CBIndex(pDX, IDC_COMBO_TRG_SRC, m_trg_src); - DDX_Text(pDX, IDC_EDIT_DELAY_1, m_delay_1); - DDX_Text(pDX, IDC_EDIT_DELAY_2, m_delay_2); - DDX_CBIndex(pDX, IDC_COMBO_ITERATION, m_iteration); - DDX_CBIndex(pDX, IDC_COMBO_CARDNUM, m_cardnum); - //}}AFX_DATA_MAP -} - -BEGIN_MESSAGE_MAP(CC6202AOSingleBufferDlg, CDialog) - //{{AFX_MSG_MAP(CC6202AOSingleBufferDlg) - ON_WM_SYSCOMMAND() - ON_WM_PAINT() - ON_WM_QUERYDRAGICON() - ON_WM_CREATE() - ON_WM_CLOSE() - ON_BN_CLICKED(IDC_BTN_START, OnBtnStart) - //}}AFX_MSG_MAP -END_MESSAGE_MAP() - -///////////////////////////////////////////////////////////////////////////// -// CC6202AOSingleBufferDlg message handlers - -BOOL CC6202AOSingleBufferDlg::OnInitDialog() -{ - CDialog::OnInitDialog(); - - // Add "About..." menu item to system menu. - - // IDM_ABOUTBOX must be in the system command range. - ASSERT((IDM_ABOUTBOX & 0xFFF0) == IDM_ABOUTBOX); - ASSERT(IDM_ABOUTBOX < 0xF000); - - CMenu* pSysMenu = GetSystemMenu(FALSE); - if (pSysMenu != NULL) - { - CString strAboutMenu; - strAboutMenu.LoadString(IDS_ABOUTBOX); - if (!strAboutMenu.IsEmpty()) - { - pSysMenu->AppendMenu(MF_SEPARATOR); - pSysMenu->AppendMenu(MF_STRING, IDM_ABOUTBOX, strAboutMenu); - } - } - - // Set the icon for this dialog. The framework does this automatically - // when the application's main window is not a dialog - SetIcon(m_hIcon, TRUE); // Set big icon - SetIcon(m_hIcon, FALSE); // Set small icon - - // TODO: Add extra initialization here - - return TRUE; // return TRUE unless you set the focus to a control -} - -void CC6202AOSingleBufferDlg::OnSysCommand(UINT nID, LPARAM lParam) -{ - if ((nID & 0xFFF0) == IDM_ABOUTBOX) - { - CAboutDlg dlgAbout; - dlgAbout.DoModal(); - } - else - { - CDialog::OnSysCommand(nID, lParam); - } -} - -// If you add a minimize button to your dialog, you will need the code below -// to draw the icon. For MFC applications using the document/view model, -// this is automatically done for you by the framework. - -void CC6202AOSingleBufferDlg::OnPaint() -{ - if (IsIconic()) - { - CPaintDC dc(this); // device context for painting - - SendMessage(WM_ICONERASEBKGND, (WPARAM) dc.GetSafeHdc(), 0); - - // Center icon in client rectangle - int cxIcon = GetSystemMetrics(SM_CXICON); - int cyIcon = GetSystemMetrics(SM_CYICON); - CRect rect; - GetClientRect(&rect); - int x = (rect.Width() - cxIcon + 1) / 2; - int y = (rect.Height() - cyIcon + 1) / 2; - - // Draw the icon - dc.DrawIcon(x, y, m_hIcon); - } - else - { - CDialog::OnPaint(); - } -} - -// The system calls this to obtain the cursor to display while the user drags -// the minimized window. -HCURSOR CC6202AOSingleBufferDlg::OnQueryDragIcon() -{ - return (HCURSOR) m_hIcon; -} - -int CC6202AOSingleBufferDlg::OnCreate(LPCREATESTRUCT lpCreateStruct) -{ - int i; - - if (CDialog::OnCreate(lpCreateStruct) == -1) - return -1; - - for(i = 0; i < DATA_CNT; i++) - { - m_buffer[i] = i * (65536/DATA_CNT); - } - - return 0; -} - -void CC6202AOSingleBufferDlg::OnClose() -{ - I16 err; - - if(m_dev >= 0) - { - err = Release_Card(m_dev); - } - - CDialog::OnClose(); -} - -void CC6202AOSingleBufferDlg::OnBtnStart() -{ - I16 err; - U16 trg_src; - U16 BufId_0; - BOOLEAN bStopFlag = FALSE; - DWORD dwWriteCnt = 0; - - UpdateData(); - m_dev = Register_Card(PCI_6202, m_cardnum); - if(m_dev < 0) - { - MessageBox("Register_Card Error!"); - return; - } - switch(m_trg_src) - { - case 0: - trg_src = P6202_DA_TRGSRC_SSI; - break; - } - err = AO_6202_Config(m_dev, P6202_DA_WRSRC_Int, - trg_src | P6202_DA_TRGMOD_DELAY , - 0,//ReTrg cont - m_delay_1,//delay1 - m_delay_2,//delay2 - true); - err = AO_ContBufferReset(m_dev); - err = AO_ContBufferSetup(m_dev, m_buffer, DATA_CNT, &BufId_0); - err = AO_AsyncDblBufferMode(m_dev , 0); - err = AO_ContWriteChannel(m_dev, - 0,//ch - BufId_0, - DATA_CNT, - m_iteration+1,//Iterations - 80,//CHUI - 1,//definite - ASYNCH_OP); - while(!bStopFlag) - { - AO_AsyncCheck(m_dev, &bStopFlag, &dwWriteCnt); - } - AO_AsyncClear(m_dev, &dwWriteCnt, 0); - AfxMessageBox("ok"); -} - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/6202/C6202AO_SSI_Target/C6202AO_SSI_TargetDlg.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/6202/C6202AO_SSI_Target/C6202AO_SSI_TargetDlg.h deleted file mode 100644 index e4b4318..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/6202/C6202AO_SSI_Target/C6202AO_SSI_TargetDlg.h +++ /dev/null @@ -1,63 +0,0 @@ -// C6202AOSingleBufferDlg.h : header file -// - -#if !defined(AFX_C6202AOSINGLEBUFFERDLG_H__2C022A7A_DE70_468D_ADA8_A5DD90727C2A__INCLUDED_) -#define AFX_C6202AOSINGLEBUFFERDLG_H__2C022A7A_DE70_468D_ADA8_A5DD90727C2A__INCLUDED_ - -#if _MSC_VER > 1000 -#pragma once -#endif // _MSC_VER > 1000 - -#include "Dask64.h" - -#define DATA_CNT 1024 - -///////////////////////////////////////////////////////////////////////////// -// CC6202AOSingleBufferDlg dialog - -class CC6202AOSingleBufferDlg : public CDialog -{ -// Construction -public: - CC6202AOSingleBufferDlg(CWnd* pParent = NULL); // standard constructor - - I16 m_dev; - U32 m_buffer[DATA_CNT]; - -// Dialog Data - //{{AFX_DATA(CC6202AOSingleBufferDlg) - enum { IDD = IDD_C6202AOSINGLEBUFFER_DIALOG }; - int m_trg_src; - DWORD m_delay_1; - DWORD m_delay_2; - int m_iteration; - int m_cardnum; - //}}AFX_DATA - - // ClassWizard generated virtual function overrides - //{{AFX_VIRTUAL(CC6202AOSingleBufferDlg) - protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - //}}AFX_VIRTUAL - -// Implementation -protected: - HICON m_hIcon; - - // Generated message map functions - //{{AFX_MSG(CC6202AOSingleBufferDlg) - virtual BOOL OnInitDialog(); - afx_msg void OnSysCommand(UINT nID, LPARAM lParam); - afx_msg void OnPaint(); - afx_msg HCURSOR OnQueryDragIcon(); - afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct); - afx_msg void OnClose(); - afx_msg void OnBtnStart(); - //}}AFX_MSG - DECLARE_MESSAGE_MAP() -}; - -//{{AFX_INSERT_LOCATION}} -// Microsoft Visual C++ will insert additional declarations immediately before the previous line. - -#endif // !defined(AFX_C6202AOSINGLEBUFFERDLG_H__2C022A7A_DE70_468D_ADA8_A5DD90727C2A__INCLUDED_) diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/6202/C6202AO_SSI_Target/ReadMe.txt b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/6202/C6202AO_SSI_Target/ReadMe.txt deleted file mode 100644 index f7b3143..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/6202/C6202AO_SSI_Target/ReadMe.txt +++ /dev/null @@ -1,88 +0,0 @@ -======================================================================== - MICROSOFT FOUNDATION CLASS LIBRARY : C6202AOSingleBuffer -======================================================================== - - -AppWizard has created this C6202AOSingleBuffer application for you. This application -not only demonstrates the basics of using the Microsoft Foundation classes -but is also a starting point for writing your application. - -This file contains a summary of what you will find in each of the files that -make up your C6202AOSingleBuffer application. - -C6202AOSingleBuffer.dsp - This file (the project file) contains information at the project level and - is used to build a single project or subproject. Other users can share the - project (.dsp) file, but they should export the makefiles locally. - -C6202AOSingleBuffer.h - This is the main header file for the application. It includes other - project specific headers (including Resource.h) and declares the - CC6202AOSingleBufferApp application class. - -C6202AOSingleBuffer.cpp - This is the main application source file that contains the application - class CC6202AOSingleBufferApp. - -C6202AOSingleBuffer.rc - This is a listing of all of the Microsoft Windows resources that the - program uses. It includes the icons, bitmaps, and cursors that are stored - in the RES subdirectory. This file can be directly edited in Microsoft - Visual C++. - -C6202AOSingleBuffer.clw - This file contains information used by ClassWizard to edit existing - classes or add new classes. ClassWizard also uses this file to store - information needed to create and edit message maps and dialog data - maps and to create prototype member functions. - -res\C6202AOSingleBuffer.ico - This is an icon file, which is used as the application's icon. This - icon is included by the main resource file C6202AOSingleBuffer.rc. - -res\C6202AOSingleBuffer.rc2 - This file contains resources that are not edited by Microsoft - Visual C++. You should place all resources not editable by - the resource editor in this file. - - - - -///////////////////////////////////////////////////////////////////////////// - -AppWizard creates one dialog class: - -C6202AOSingleBufferDlg.h, C6202AOSingleBufferDlg.cpp - the dialog - These files contain your CC6202AOSingleBufferDlg class. This class defines - the behavior of your application's main dialog. The dialog's - template is in C6202AOSingleBuffer.rc, which can be edited in Microsoft - Visual C++. - - -///////////////////////////////////////////////////////////////////////////// -Other standard files: - -StdAfx.h, StdAfx.cpp - These files are used to build a precompiled header (PCH) file - named C6202AOSingleBuffer.pch and a precompiled types file named StdAfx.obj. - -Resource.h - This is the standard header file, which defines new resource IDs. - Microsoft Visual C++ reads and updates this file. - -///////////////////////////////////////////////////////////////////////////// -Other notes: - -AppWizard uses "TODO:" to indicate parts of the source code you -should add to or customize. - -If your application uses MFC in a shared DLL, and your application is -in a language other than the operating system's current language, you -will need to copy the corresponding localized resources MFC42XXX.DLL -from the Microsoft Visual C++ CD-ROM onto the system or system32 directory, -and rename it to be MFCLOC.DLL. ("XXX" stands for the language abbreviation. -For example, MFC42DEU.DLL contains resources translated to German.) If you -don't do this, some of the UI elements of your application will remain in the -language of the operating system. - -///////////////////////////////////////////////////////////////////////////// diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/6202/C6202AO_SSI_Target/StdAfx.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/6202/C6202AO_SSI_Target/StdAfx.cpp deleted file mode 100644 index b9195aa..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/6202/C6202AO_SSI_Target/StdAfx.cpp +++ /dev/null @@ -1,8 +0,0 @@ -// stdafx.cpp : source file that includes just the standard includes -// C6202AOSingleBuffer.pch will be the pre-compiled header -// stdafx.obj will contain the pre-compiled type information - -#include "stdafx.h" - - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/6202/C6202AO_SSI_Target/StdAfx.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/6202/C6202AO_SSI_Target/StdAfx.h deleted file mode 100644 index bfd8833..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/6202/C6202AO_SSI_Target/StdAfx.h +++ /dev/null @@ -1,27 +0,0 @@ -// stdafx.h : include file for standard system include files, -// or project specific include files that are used frequently, but -// are changed infrequently -// - -#if !defined(AFX_STDAFX_H__0CE30F42_618B_42FA_87D6_6CD2318E2EBE__INCLUDED_) -#define AFX_STDAFX_H__0CE30F42_618B_42FA_87D6_6CD2318E2EBE__INCLUDED_ - -#if _MSC_VER > 1000 -#pragma once -#endif // _MSC_VER > 1000 - -#define VC_EXTRALEAN // Exclude rarely-used stuff from Windows headers - -#include // MFC core and standard components -#include // MFC extensions -#include // MFC Automation classes -#include // MFC support for Internet Explorer 4 Common Controls -#ifndef _AFX_NO_AFXCMN_SUPPORT -#include // MFC support for Windows Common Controls -#endif // _AFX_NO_AFXCMN_SUPPORT - - -//{{AFX_INSERT_LOCATION}} -// Microsoft Visual C++ will insert additional declarations immediately before the previous line. - -#endif // !defined(AFX_STDAFX_H__0CE30F42_618B_42FA_87D6_6CD2318E2EBE__INCLUDED_) diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/6202/C6202AO_SSI_Target/res/C6202AO_SSI_Target.ico b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/6202/C6202AO_SSI_Target/res/C6202AO_SSI_Target.ico deleted file mode 100644 index 7eef0bc..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/6202/C6202AO_SSI_Target/res/C6202AO_SSI_Target.ico and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/6202/C6202AO_SSI_Target/res/C6202AO_SSI_Target.rc2 b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/6202/C6202AO_SSI_Target/res/C6202AO_SSI_Target.rc2 deleted file mode 100644 index d463580..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/6202/C6202AO_SSI_Target/res/C6202AO_SSI_Target.rc2 +++ /dev/null @@ -1,13 +0,0 @@ -// -// C6202AOSINGLEBUFFER.RC2 - resources Microsoft Visual C++ does not edit directly -// - -#ifdef APSTUDIO_INVOKED - #error this file is not editable by Microsoft Visual C++ -#endif //APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// Add manually edited resources here... - -///////////////////////////////////////////////////////////////////////////// diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/6202/C6202AO_SSI_Target/res/cursor1.cur b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/6202/C6202AO_SSI_Target/res/cursor1.cur deleted file mode 100644 index 048f06b..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/6202/C6202AO_SSI_Target/res/cursor1.cur and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/6202/C6202AO_SSI_Target/resource.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/6202/C6202AO_SSI_Target/resource.h deleted file mode 100644 index d39e295..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/6202/C6202AO_SSI_Target/resource.h +++ /dev/null @@ -1,28 +0,0 @@ -//{{NO_DEPENDENCIES}} -// Microsoft Developer Studio generated include file. -// Used by C6202AO_SSI_Target.rc -// -#define IDM_ABOUTBOX 0x0010 -#define IDD_ABOUTBOX 100 -#define IDS_ABOUTBOX 101 -#define IDD_C6202AOSINGLEBUFFER_DIALOG 102 -#define IDR_MAINFRAME 128 -#define IDC_BTN_START 1000 -#define IDC_COMBO_TRG_SRC 1001 -#define IDC_COMBO_ITERATION 1002 -#define IDC_EDIT_DELAY_1 1003 -#define IDC_EDIT_DELAY_2 1004 -#define IDC_BUTTON1 1005 -#define IDC_CARDNUM 1006 -#define IDC_COMBO_CARDNUM 1007 - -// Next default values for new objects -// -#ifdef APSTUDIO_INVOKED -#ifndef APSTUDIO_READONLY_SYMBOLS -#define _APS_NEXT_RESOURCE_VALUE 131 -#define _APS_NEXT_COMMAND_VALUE 32771 -#define _APS_NEXT_CONTROL_VALUE 1008 -#define _APS_NEXT_SYMED_VALUE 101 -#endif -#endif diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/6202/C6202DIO/C6202DIO.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/6202/C6202DIO/C6202DIO.cpp deleted file mode 100644 index 9a340b6..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/6202/C6202DIO/C6202DIO.cpp +++ /dev/null @@ -1,68 +0,0 @@ -// C6202DIO.cpp : Defines the class behaviors for the application. -// - -#include "stdafx.h" -#include "C6202DIO.h" -#include "C6202DIODlg.h" - -#ifdef _DEBUG -#define new DEBUG_NEW -#undef THIS_FILE -static char THIS_FILE[] = __FILE__; -#endif - -///////////////////////////////////////////////////////////////////////////// -// CC6202DIOApp - -BEGIN_MESSAGE_MAP(CC6202DIOApp, CWinApp) - //{{AFX_MSG_MAP(CC6202DIOApp) - // NOTE - the ClassWizard will add and remove mapping macros here. - // DO NOT EDIT what you see in these blocks of generated code! - //}}AFX_MSG - ON_COMMAND(ID_HELP, CWinApp::OnHelp) -END_MESSAGE_MAP() - -///////////////////////////////////////////////////////////////////////////// -// CC6202DIOApp construction - -CC6202DIOApp::CC6202DIOApp() -{ - // TODO: add construction code here, - // Place all significant initialization in InitInstance -} - -///////////////////////////////////////////////////////////////////////////// -// The one and only CC6202DIOApp object - -CC6202DIOApp theApp; - -///////////////////////////////////////////////////////////////////////////// -// CC6202DIOApp initialization - -BOOL CC6202DIOApp::InitInstance() -{ - AfxEnableControlContainer(); - - // Standard initialization - // If you are not using these features and wish to reduce the size - // of your final executable, you should remove from the following - // the specific initialization routines you do not need. - - CC6202DIODlg dlg; - m_pMainWnd = &dlg; - INT_PTR nResponse = dlg.DoModal(); - if (nResponse == IDOK) - { - // TODO: Place code here to handle when the dialog is - // dismissed with OK - } - else if (nResponse == IDCANCEL) - { - // TODO: Place code here to handle when the dialog is - // dismissed with Cancel - } - - // Since the dialog has been closed, return FALSE so that we exit the - // application, rather than start the application's message pump. - return FALSE; -} diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/6202/C6202DIO/C6202DIO.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/6202/C6202DIO/C6202DIO.h deleted file mode 100644 index 2897f11..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/6202/C6202DIO/C6202DIO.h +++ /dev/null @@ -1,49 +0,0 @@ -// C6202DIO.h : main header file for the C6202DIO application -// - -#if !defined(AFX_C6202DIO_H__74EFE087_B46F_4E7F_8218_F37BB2FBC0DA__INCLUDED_) -#define AFX_C6202DIO_H__74EFE087_B46F_4E7F_8218_F37BB2FBC0DA__INCLUDED_ - -#if _MSC_VER > 1000 -#pragma once -#endif // _MSC_VER > 1000 - -#ifndef __AFXWIN_H__ - #error include 'stdafx.h' before including this file for PCH -#endif - -#include "resource.h" // main symbols - -///////////////////////////////////////////////////////////////////////////// -// CC6202DIOApp: -// See C6202DIO.cpp for the implementation of this class -// - -class CC6202DIOApp : public CWinApp -{ -public: - CC6202DIOApp(); - -// Overrides - // ClassWizard generated virtual function overrides - //{{AFX_VIRTUAL(CC6202DIOApp) - public: - virtual BOOL InitInstance(); - //}}AFX_VIRTUAL - -// Implementation - - //{{AFX_MSG(CC6202DIOApp) - // NOTE - the ClassWizard will add and remove member functions here. - // DO NOT EDIT what you see in these blocks of generated code ! - //}}AFX_MSG - DECLARE_MESSAGE_MAP() -}; - - -///////////////////////////////////////////////////////////////////////////// - -//{{AFX_INSERT_LOCATION}} -// Microsoft Visual C++ will insert additional declarations immediately before the previous line. - -#endif // !defined(AFX_C6202DIO_H__74EFE087_B46F_4E7F_8218_F37BB2FBC0DA__INCLUDED_) diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/6202/C6202DIO/C6202DIO.rc b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/6202/C6202DIO/C6202DIO.rc deleted file mode 100644 index 19fa1c7..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/6202/C6202DIO/C6202DIO.rc +++ /dev/null @@ -1,224 +0,0 @@ -// Microsoft Visual C++ generated resource script. -// -#include "resource.h" - -#define APSTUDIO_READONLY_SYMBOLS -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 2 resource. -// -#include "afxres.h" - -///////////////////////////////////////////////////////////////////////////// -#undef APSTUDIO_READONLY_SYMBOLS - -///////////////////////////////////////////////////////////////////////////// -// Chinese (Taiwan) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_CHT) -#ifdef _WIN32 -LANGUAGE LANG_CHINESE, SUBLANG_CHINESE_TRADITIONAL -#pragma code_page(950) -#endif //_WIN32 - -#ifdef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// TEXTINCLUDE -// - -1 TEXTINCLUDE -BEGIN - "resource.h\0" -END - -2 TEXTINCLUDE -BEGIN - "#include ""afxres.h""\r\n" - "\0" -END - -3 TEXTINCLUDE -BEGIN - "#define _AFX_NO_SPLITTER_RESOURCES\r\n" - "#define _AFX_NO_OLE_RESOURCES\r\n" - "#define _AFX_NO_TRACKER_RESOURCES\r\n" - "#define _AFX_NO_PROPERTY_RESOURCES\r\n" - "\r\n" - "#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_CHT)\r\n" - "#ifdef _WIN32\r\n" - "LANGUAGE 4, 1\r\n" - "#pragma code_page(950)\r\n" - "#endif //_WIN32\r\n" - "#include ""res\\C6202DIO.rc2"" // non-Microsoft Visual C++ edited resources\r\n" - "#include ""l.cht\\afxres.rc"" // Standard components\r\n" - "#endif\r\n" - "\0" -END - -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// Icon -// - -// Icon with lowest ID value placed first to ensure application icon -// remains consistent on all systems. -IDR_MAINFRAME ICON "res\\C6202DIO.ico" - -///////////////////////////////////////////////////////////////////////////// -// -// Version -// - -VS_VERSION_INFO VERSIONINFO - FILEVERSION 1,0,0,1 - PRODUCTVERSION 1,0,0,1 - FILEFLAGSMASK 0x3fL -#ifdef _DEBUG - FILEFLAGS 0x1L -#else - FILEFLAGS 0x0L -#endif - FILEOS 0x4L - FILETYPE 0x1L - FILESUBTYPE 0x0L -BEGIN - BLOCK "StringFileInfo" - BEGIN - BLOCK "040404B0" - BEGIN - VALUE "FileDescription", "C6202DIO MFC Application" - VALUE "FileVersion", "1, 0, 0, 1" - VALUE "InternalName", "C6202DIO" - VALUE "LegalCopyright", "Copyright (C) 2007" - VALUE "OriginalFilename", "C6202DIO.EXE" - VALUE "ProductName", "C6202DIO Application" - VALUE "ProductVersion", "1, 0, 0, 1" - END - END - BLOCK "VarFileInfo" - BEGIN - VALUE "Translation", 0x404, 1200 - END -END - - -///////////////////////////////////////////////////////////////////////////// -// -// String Table -// - -STRINGTABLE -BEGIN - IDS_ABOUTBOX " C6202DIO(&A)..." -END - -#endif // Chinese (Taiwan) resources -///////////////////////////////////////////////////////////////////////////// - - -///////////////////////////////////////////////////////////////////////////// -// English (U.S.) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -#ifdef _WIN32 -LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US -#pragma code_page(1252) -#endif //_WIN32 - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog -// - -IDD_ABOUTBOX DIALOGEX 0, 0, 235, 55 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "About C6202DIO" -FONT 8, "MS Shell Dlg", 0, 0, 0x0 -BEGIN - ICON IDR_MAINFRAME,IDC_STATIC,11,17,20,20 - LTEXT "C6202DIO Version 1.0",IDC_STATIC,40,10,119,8,SS_NOPREFIX - LTEXT "Copyright (C) 2007",IDC_STATIC,40,25,119,8 - DEFPUSHBUTTON "OK",IDOK,178,7,50,14,WS_GROUP -END - -IDD_C6202DIO_DIALOG DIALOGEX 0, 0, 212, 185 -STYLE DS_SETFONT | DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU -EXSTYLE WS_EX_APPWINDOW -CAPTION "C6202DIO" -FONT 8, "MS Shell Dlg", 0, 0, 0x1 -BEGIN - DEFPUSHBUTTON "exit",IDOK,77,153,50,14 - GROUPBOX "DO",IDC_STATIC,7,78,198,66 - GROUPBOX "DI",IDC_STATIC,7,7,198,66 - LTEXT "Isolation DI Port:",IDC_STATIC,25,27,54,8 - LTEXT "Isolation DO Port:",IDC_STATIC,22,96,57,8 - LTEXT "TTL DI Port:",IDC_STATIC,25,45,42,8 - LTEXT "TTL DO Port:",IDC_STATIC,23,117,44,8 - EDITTEXT IDC_EDIT_DI_0,90,26,40,14,ES_RIGHT | ES_AUTOHSCROLL | ES_READONLY - EDITTEXT IDC_EDIT_DI_1,91,46,40,14,ES_RIGHT | ES_AUTOHSCROLL | ES_READONLY - EDITTEXT IDC_EDIT_DO_0,88,94,40,14,ES_RIGHT | ES_AUTOHSCROLL - EDITTEXT IDC_EDIT_DO_1,87,113,40,14,ES_RIGHT | ES_AUTOHSCROLL - PUSHBUTTON "Read",IDC_BUTTON_DI_0,140,27,50,14 - PUSHBUTTON "Read",IDC_BUTTON_DI_1,140,47,50,14 - PUSHBUTTON "Write",IDC_BUTTON_DO_0,141,91,50,14 - PUSHBUTTON "Write",IDC_BUTTON_DO_1,141,113,50,14 -END - - -///////////////////////////////////////////////////////////////////////////// -// -// DESIGNINFO -// - -#ifdef APSTUDIO_INVOKED -GUIDELINES DESIGNINFO -BEGIN - IDD_ABOUTBOX, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 228 - TOPMARGIN, 7 - BOTTOMMARGIN, 48 - END - - IDD_C6202DIO_DIALOG, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 205 - TOPMARGIN, 7 - BOTTOMMARGIN, 178 - END -END -#endif // APSTUDIO_INVOKED - -#endif // English (U.S.) resources -///////////////////////////////////////////////////////////////////////////// - - - -#ifndef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 3 resource. -// -#define _AFX_NO_SPLITTER_RESOURCES -#define _AFX_NO_OLE_RESOURCES -#define _AFX_NO_TRACKER_RESOURCES -#define _AFX_NO_PROPERTY_RESOURCES - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_CHT) -#ifdef _WIN32 -LANGUAGE 4, 1 -#pragma code_page(950) -#endif //_WIN32 -#include "res\C6202DIO.rc2" // non-Microsoft Visual C++ edited resources -#include "l.cht\afxres.rc" // Standard components -#endif - -///////////////////////////////////////////////////////////////////////////// -#endif // not APSTUDIO_INVOKED - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/6202/C6202DIO/C6202DIO.sln b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/6202/C6202DIO/C6202DIO.sln deleted file mode 100644 index 14cf0c5..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/6202/C6202DIO/C6202DIO.sln +++ /dev/null @@ -1,20 +0,0 @@ - -Microsoft Visual Studio Solution File, Format Version 10.00 -# Visual Studio 2008 -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "C6202DIO", "C6202DIO.vcproj", "{33A0C645-05A4-4DDD-AE31-9BB970E2F3B2}" -EndProject -Global - GlobalSection(SolutionConfigurationPlatforms) = preSolution - Debug|x64 = Debug|x64 - Release|x64 = Release|x64 - EndGlobalSection - GlobalSection(ProjectConfigurationPlatforms) = postSolution - {33A0C645-05A4-4DDD-AE31-9BB970E2F3B2}.Debug|x64.ActiveCfg = Debug|x64 - {33A0C645-05A4-4DDD-AE31-9BB970E2F3B2}.Debug|x64.Build.0 = Debug|x64 - {33A0C645-05A4-4DDD-AE31-9BB970E2F3B2}.Release|x64.ActiveCfg = Release|x64 - {33A0C645-05A4-4DDD-AE31-9BB970E2F3B2}.Release|x64.Build.0 = Release|x64 - EndGlobalSection - GlobalSection(SolutionProperties) = preSolution - HideSolutionNode = FALSE - EndGlobalSection -EndGlobal diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/6202/C6202DIO/C6202DIO.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/6202/C6202DIO/C6202DIO.suo deleted file mode 100644 index 1cfec35..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/6202/C6202DIO/C6202DIO.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/6202/C6202DIO/C6202DIO.vcproj b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/6202/C6202DIO/C6202DIO.vcproj deleted file mode 100644 index 4c8ac82..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/6202/C6202DIO/C6202DIO.vcproj +++ /dev/null @@ -1,354 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/6202/C6202DIO/C6202DIODlg.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/6202/C6202DIO/C6202DIODlg.cpp deleted file mode 100644 index 4b9e0db..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/6202/C6202DIO/C6202DIODlg.cpp +++ /dev/null @@ -1,246 +0,0 @@ -// C6202DIODlg.cpp : implementation file -// - -#include "stdafx.h" -#include "C6202DIO.h" -#include "C6202DIODlg.h" - -#ifdef _DEBUG -#define new DEBUG_NEW -#undef THIS_FILE -static char THIS_FILE[] = __FILE__; -#endif - -///////////////////////////////////////////////////////////////////////////// -// CAboutDlg dialog used for App About - -class CAboutDlg : public CDialog -{ -public: - CAboutDlg(); - -// Dialog Data - //{{AFX_DATA(CAboutDlg) - enum { IDD = IDD_ABOUTBOX }; - //}}AFX_DATA - - // ClassWizard generated virtual function overrides - //{{AFX_VIRTUAL(CAboutDlg) - protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - //}}AFX_VIRTUAL - -// Implementation -protected: - //{{AFX_MSG(CAboutDlg) - //}}AFX_MSG - DECLARE_MESSAGE_MAP() -}; - -CAboutDlg::CAboutDlg() : CDialog(CAboutDlg::IDD) -{ - //{{AFX_DATA_INIT(CAboutDlg) - //}}AFX_DATA_INIT -} - -void CAboutDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); - //{{AFX_DATA_MAP(CAboutDlg) - //}}AFX_DATA_MAP -} - -BEGIN_MESSAGE_MAP(CAboutDlg, CDialog) - //{{AFX_MSG_MAP(CAboutDlg) - // No message handlers - //}}AFX_MSG_MAP -END_MESSAGE_MAP() - -///////////////////////////////////////////////////////////////////////////// -// CC6202DIODlg dialog - -CC6202DIODlg::CC6202DIODlg(CWnd* pParent /*=NULL*/) - : CDialog(CC6202DIODlg::IDD, pParent) -{ - //{{AFX_DATA_INIT(CC6202DIODlg) - m_di_0 = 0; - m_di_1 = 0; - m_do_0 = 0; - m_do_1 = 0; - //}}AFX_DATA_INIT - // Note that LoadIcon does not require a subsequent DestroyIcon in Win32 - m_hIcon = AfxGetApp()->LoadIcon(IDR_MAINFRAME); -} - -void CC6202DIODlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); - //{{AFX_DATA_MAP(CC6202DIODlg) - DDX_Text(pDX, IDC_EDIT_DI_0, m_di_0); - DDV_MinMaxDWord(pDX, m_di_0, 0, 65536); - DDX_Text(pDX, IDC_EDIT_DI_1, m_di_1); - DDV_MinMaxDWord(pDX, m_di_1, 0, 255); - DDX_Text(pDX, IDC_EDIT_DO_0, m_do_0); - DDV_MinMaxDWord(pDX, m_do_0, 0, 65535); - DDX_Text(pDX, IDC_EDIT_DO_1, m_do_1); - DDV_MinMaxDWord(pDX, m_do_1, 0, 255); - //}}AFX_DATA_MAP -} - -BEGIN_MESSAGE_MAP(CC6202DIODlg, CDialog) - //{{AFX_MSG_MAP(CC6202DIODlg) - ON_WM_SYSCOMMAND() - ON_WM_PAINT() - ON_WM_QUERYDRAGICON() - ON_WM_CREATE() - ON_WM_CLOSE() - ON_BN_CLICKED(IDC_BUTTON_DI_0, OnButtonDi0) - ON_BN_CLICKED(IDC_BUTTON_DI_1, OnButtonDi1) - ON_BN_CLICKED(IDC_BUTTON_DO_0, OnButtonDo0) - ON_BN_CLICKED(IDC_BUTTON_DO_1, OnButtonDo1) - //}}AFX_MSG_MAP -END_MESSAGE_MAP() - -///////////////////////////////////////////////////////////////////////////// -// CC6202DIODlg message handlers - -BOOL CC6202DIODlg::OnInitDialog() -{ - CDialog::OnInitDialog(); - - // Add "About..." menu item to system menu. - - // IDM_ABOUTBOX must be in the system command range. - ASSERT((IDM_ABOUTBOX & 0xFFF0) == IDM_ABOUTBOX); - ASSERT(IDM_ABOUTBOX < 0xF000); - - CMenu* pSysMenu = GetSystemMenu(FALSE); - if (pSysMenu != NULL) - { - CString strAboutMenu; - strAboutMenu.LoadString(IDS_ABOUTBOX); - if (!strAboutMenu.IsEmpty()) - { - pSysMenu->AppendMenu(MF_SEPARATOR); - pSysMenu->AppendMenu(MF_STRING, IDM_ABOUTBOX, strAboutMenu); - } - } - - // Set the icon for this dialog. The framework does this automatically - // when the application's main window is not a dialog - SetIcon(m_hIcon, TRUE); // Set big icon - SetIcon(m_hIcon, FALSE); // Set small icon - - // TODO: Add extra initialization here - - return TRUE; // return TRUE unless you set the focus to a control -} - -void CC6202DIODlg::OnSysCommand(UINT nID, LPARAM lParam) -{ - if ((nID & 0xFFF0) == IDM_ABOUTBOX) - { - CAboutDlg dlgAbout; - dlgAbout.DoModal(); - } - else - { - CDialog::OnSysCommand(nID, lParam); - } -} - -// If you add a minimize button to your dialog, you will need the code below -// to draw the icon. For MFC applications using the document/view model, -// this is automatically done for you by the framework. - -void CC6202DIODlg::OnPaint() -{ - if (IsIconic()) - { - CPaintDC dc(this); // device context for painting - - SendMessage(WM_ICONERASEBKGND, (WPARAM) dc.GetSafeHdc(), 0); - - // Center icon in client rectangle - int cxIcon = GetSystemMetrics(SM_CXICON); - int cyIcon = GetSystemMetrics(SM_CYICON); - CRect rect; - GetClientRect(&rect); - int x = (rect.Width() - cxIcon + 1) / 2; - int y = (rect.Height() - cyIcon + 1) / 2; - - // Draw the icon - dc.DrawIcon(x, y, m_hIcon); - } - else - { - CDialog::OnPaint(); - } -} - -// The system calls this to obtain the cursor to display while the user drags -// the minimized window. -HCURSOR CC6202DIODlg::OnQueryDragIcon() -{ - return (HCURSOR) m_hIcon; -} - -int CC6202DIODlg::OnCreate(LPCREATESTRUCT lpCreateStruct) -{ - if (CDialog::OnCreate(lpCreateStruct) == -1) - return -1; - - // TODO: Add your specialized creation code here - m_dev = Register_Card(PCI_6202, 0); - if(m_dev < 0) - { - MessageBox("Register_Card Error!"); - } - - return 0; -} - -void CC6202DIODlg::OnClose() -{ - I16 err; - - // TODO: Add your message handler code here and/or call default - if(m_dev >= 0) - { - err = Release_Card(m_dev); - } - - CDialog::OnClose(); -} - -void CC6202DIODlg::OnButtonDi0() -{ - I16 err; - - err = DI_ReadPort(m_dev, P6202_ISO0, &m_di_0); - UpdateData(FALSE); -} - -void CC6202DIODlg::OnButtonDi1() -{ - I16 err; - - err = DI_ReadPort(m_dev, P6202_TTL0, &m_di_1); - UpdateData(FALSE); -} - -void CC6202DIODlg::OnButtonDo0() -{ - I16 err; - - UpdateData(TRUE); - err = DO_WritePort(m_dev, P6202_ISO0, m_do_0); -} - -void CC6202DIODlg::OnButtonDo1() -{ - I16 err; - - UpdateData(TRUE); - err = DO_WritePort(m_dev, P6202_TTL0, m_do_1); -} diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/6202/C6202DIO/C6202DIODlg.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/6202/C6202DIO/C6202DIODlg.h deleted file mode 100644 index 371cf2a..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/6202/C6202DIO/C6202DIODlg.h +++ /dev/null @@ -1,62 +0,0 @@ -// C6202DIODlg.h : header file -// - -#if !defined(AFX_C6202DIODLG_H__B502D023_5FD7_423E_8688_910E29AAE265__INCLUDED_) -#define AFX_C6202DIODLG_H__B502D023_5FD7_423E_8688_910E29AAE265__INCLUDED_ - -#if _MSC_VER > 1000 -#pragma once -#endif // _MSC_VER > 1000 - -#include "Dask64.h" - -///////////////////////////////////////////////////////////////////////////// -// CC6202DIODlg dialog - -class CC6202DIODlg : public CDialog -{ -// Construction -public: - CC6202DIODlg(CWnd* pParent = NULL); // standard constructor - - I16 m_dev; - -// Dialog Data - //{{AFX_DATA(CC6202DIODlg) - enum { IDD = IDD_C6202DIO_DIALOG }; - DWORD m_di_0; - DWORD m_di_1; - DWORD m_do_0; - DWORD m_do_1; - //}}AFX_DATA - - // ClassWizard generated virtual function overrides - //{{AFX_VIRTUAL(CC6202DIODlg) - protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - //}}AFX_VIRTUAL - -// Implementation -protected: - HICON m_hIcon; - - // Generated message map functions - //{{AFX_MSG(CC6202DIODlg) - virtual BOOL OnInitDialog(); - afx_msg void OnSysCommand(UINT nID, LPARAM lParam); - afx_msg void OnPaint(); - afx_msg HCURSOR OnQueryDragIcon(); - afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct); - afx_msg void OnClose(); - afx_msg void OnButtonDi0(); - afx_msg void OnButtonDi1(); - afx_msg void OnButtonDo0(); - afx_msg void OnButtonDo1(); - //}}AFX_MSG - DECLARE_MESSAGE_MAP() -}; - -//{{AFX_INSERT_LOCATION}} -// Microsoft Visual C++ will insert additional declarations immediately before the previous line. - -#endif // !defined(AFX_C6202DIODLG_H__B502D023_5FD7_423E_8688_910E29AAE265__INCLUDED_) diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/6202/C6202DIO/ReadMe.txt b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/6202/C6202DIO/ReadMe.txt deleted file mode 100644 index 9fe57c5..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/6202/C6202DIO/ReadMe.txt +++ /dev/null @@ -1,88 +0,0 @@ -======================================================================== - MICROSOFT FOUNDATION CLASS LIBRARY : C6202DIO -======================================================================== - - -AppWizard has created this C6202DIO application for you. This application -not only demonstrates the basics of using the Microsoft Foundation classes -but is also a starting point for writing your application. - -This file contains a summary of what you will find in each of the files that -make up your C6202DIO application. - -C6202DIO.dsp - This file (the project file) contains information at the project level and - is used to build a single project or subproject. Other users can share the - project (.dsp) file, but they should export the makefiles locally. - -C6202DIO.h - This is the main header file for the application. It includes other - project specific headers (including Resource.h) and declares the - CC6202DIOApp application class. - -C6202DIO.cpp - This is the main application source file that contains the application - class CC6202DIOApp. - -C6202DIO.rc - This is a listing of all of the Microsoft Windows resources that the - program uses. It includes the icons, bitmaps, and cursors that are stored - in the RES subdirectory. This file can be directly edited in Microsoft - Visual C++. - -C6202DIO.clw - This file contains information used by ClassWizard to edit existing - classes or add new classes. ClassWizard also uses this file to store - information needed to create and edit message maps and dialog data - maps and to create prototype member functions. - -res\C6202DIO.ico - This is an icon file, which is used as the application's icon. This - icon is included by the main resource file C6202DIO.rc. - -res\C6202DIO.rc2 - This file contains resources that are not edited by Microsoft - Visual C++. You should place all resources not editable by - the resource editor in this file. - - - - -///////////////////////////////////////////////////////////////////////////// - -AppWizard creates one dialog class: - -C6202DIODlg.h, C6202DIODlg.cpp - the dialog - These files contain your CC6202DIODlg class. This class defines - the behavior of your application's main dialog. The dialog's - template is in C6202DIO.rc, which can be edited in Microsoft - Visual C++. - - -///////////////////////////////////////////////////////////////////////////// -Other standard files: - -StdAfx.h, StdAfx.cpp - These files are used to build a precompiled header (PCH) file - named C6202DIO.pch and a precompiled types file named StdAfx.obj. - -Resource.h - This is the standard header file, which defines new resource IDs. - Microsoft Visual C++ reads and updates this file. - -///////////////////////////////////////////////////////////////////////////// -Other notes: - -AppWizard uses "TODO:" to indicate parts of the source code you -should add to or customize. - -If your application uses MFC in a shared DLL, and your application is -in a language other than the operating system's current language, you -will need to copy the corresponding localized resources MFC42XXX.DLL -from the Microsoft Visual C++ CD-ROM onto the system or system32 directory, -and rename it to be MFCLOC.DLL. ("XXX" stands for the language abbreviation. -For example, MFC42DEU.DLL contains resources translated to German.) If you -don't do this, some of the UI elements of your application will remain in the -language of the operating system. - -///////////////////////////////////////////////////////////////////////////// diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/6202/C6202DIO/Resource.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/6202/C6202DIO/Resource.h deleted file mode 100644 index efd2e62..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/6202/C6202DIO/Resource.h +++ /dev/null @@ -1,28 +0,0 @@ -//{{NO_DEPENDENCIES}} -// Microsoft Developer Studio generated include file. -// Used by C6202DIO.rc -// -#define IDM_ABOUTBOX 0x0010 -#define IDD_ABOUTBOX 100 -#define IDS_ABOUTBOX 101 -#define IDD_C6202DIO_DIALOG 102 -#define IDR_MAINFRAME 128 -#define IDC_EDIT_DI_0 1000 -#define IDC_EDIT_DI_1 1001 -#define IDC_EDIT_DO_0 1002 -#define IDC_EDIT_DO_1 1003 -#define IDC_BUTTON_DI_0 1004 -#define IDC_BUTTON_DI_1 1005 -#define IDC_BUTTON_DO_0 1006 -#define IDC_BUTTON_DO_1 1007 - -// Next default values for new objects -// -#ifdef APSTUDIO_INVOKED -#ifndef APSTUDIO_READONLY_SYMBOLS -#define _APS_NEXT_RESOURCE_VALUE 129 -#define _APS_NEXT_COMMAND_VALUE 32771 -#define _APS_NEXT_CONTROL_VALUE 1008 -#define _APS_NEXT_SYMED_VALUE 101 -#endif -#endif diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/6202/C6202DIO/StdAfx.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/6202/C6202DIO/StdAfx.cpp deleted file mode 100644 index 29c9091..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/6202/C6202DIO/StdAfx.cpp +++ /dev/null @@ -1,8 +0,0 @@ -// stdafx.cpp : source file that includes just the standard includes -// C6202DIO.pch will be the pre-compiled header -// stdafx.obj will contain the pre-compiled type information - -#include "stdafx.h" - - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/6202/C6202DIO/StdAfx.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/6202/C6202DIO/StdAfx.h deleted file mode 100644 index 49ca589..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/6202/C6202DIO/StdAfx.h +++ /dev/null @@ -1,27 +0,0 @@ -// stdafx.h : include file for standard system include files, -// or project specific include files that are used frequently, but -// are changed infrequently -// - -#if !defined(AFX_STDAFX_H__52B3B4F6_CEA5_4623_9C02_8FA9A0CA9813__INCLUDED_) -#define AFX_STDAFX_H__52B3B4F6_CEA5_4623_9C02_8FA9A0CA9813__INCLUDED_ - -#if _MSC_VER > 1000 -#pragma once -#endif // _MSC_VER > 1000 - -#define VC_EXTRALEAN // Exclude rarely-used stuff from Windows headers - -#include // MFC core and standard components -#include // MFC extensions -#include // MFC Automation classes -#include // MFC support for Internet Explorer 4 Common Controls -#ifndef _AFX_NO_AFXCMN_SUPPORT -#include // MFC support for Windows Common Controls -#endif // _AFX_NO_AFXCMN_SUPPORT - - -//{{AFX_INSERT_LOCATION}} -// Microsoft Visual C++ will insert additional declarations immediately before the previous line. - -#endif // !defined(AFX_STDAFX_H__52B3B4F6_CEA5_4623_9C02_8FA9A0CA9813__INCLUDED_) diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/6202/C6202DIO/res/C6202DIO.ico b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/6202/C6202DIO/res/C6202DIO.ico deleted file mode 100644 index 7eef0bc..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/6202/C6202DIO/res/C6202DIO.ico and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/6202/C6202DIO/res/C6202DIO.rc2 b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/6202/C6202DIO/res/C6202DIO.rc2 deleted file mode 100644 index 9a8a8b7..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/6202/C6202DIO/res/C6202DIO.rc2 +++ /dev/null @@ -1,13 +0,0 @@ -// -// C6202DIO.RC2 - resources Microsoft Visual C++ does not edit directly -// - -#ifdef APSTUDIO_INVOKED - #error this file is not editable by Microsoft Visual C++ -#endif //APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// Add manually edited resources here... - -///////////////////////////////////////////////////////////////////////////// diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/6202/C6202Encoder/C6202Encoder.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/6202/C6202Encoder/C6202Encoder.cpp deleted file mode 100644 index 0374ef4..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/6202/C6202Encoder/C6202Encoder.cpp +++ /dev/null @@ -1,68 +0,0 @@ -// C6202Encoder.cpp : Defines the class behaviors for the application. -// - -#include "stdafx.h" -#include "C6202Encoder.h" -#include "C6202EncoderDlg.h" - -#ifdef _DEBUG -#define new DEBUG_NEW -#undef THIS_FILE -static char THIS_FILE[] = __FILE__; -#endif - -///////////////////////////////////////////////////////////////////////////// -// CC6202EncoderApp - -BEGIN_MESSAGE_MAP(CC6202EncoderApp, CWinApp) - //{{AFX_MSG_MAP(CC6202EncoderApp) - // NOTE - the ClassWizard will add and remove mapping macros here. - // DO NOT EDIT what you see in these blocks of generated code! - //}}AFX_MSG - ON_COMMAND(ID_HELP, CWinApp::OnHelp) -END_MESSAGE_MAP() - -///////////////////////////////////////////////////////////////////////////// -// CC6202EncoderApp construction - -CC6202EncoderApp::CC6202EncoderApp() -{ - // TODO: add construction code here, - // Place all significant initialization in InitInstance -} - -///////////////////////////////////////////////////////////////////////////// -// The one and only CC6202EncoderApp object - -CC6202EncoderApp theApp; - -///////////////////////////////////////////////////////////////////////////// -// CC6202EncoderApp initialization - -BOOL CC6202EncoderApp::InitInstance() -{ - AfxEnableControlContainer(); - - // Standard initialization - // If you are not using these features and wish to reduce the size - // of your final executable, you should remove from the following - // the specific initialization routines you do not need. - - CC6202EncoderDlg dlg; - m_pMainWnd = &dlg; - INT_PTR nResponse = dlg.DoModal(); - if (nResponse == IDOK) - { - // TODO: Place code here to handle when the dialog is - // dismissed with OK - } - else if (nResponse == IDCANCEL) - { - // TODO: Place code here to handle when the dialog is - // dismissed with Cancel - } - - // Since the dialog has been closed, return FALSE so that we exit the - // application, rather than start the application's message pump. - return FALSE; -} diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/6202/C6202Encoder/C6202Encoder.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/6202/C6202Encoder/C6202Encoder.h deleted file mode 100644 index 6749ae7..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/6202/C6202Encoder/C6202Encoder.h +++ /dev/null @@ -1,49 +0,0 @@ -// C6202Encoder.h : main header file for the C6202ENCODER application -// - -#if !defined(AFX_C6202ENCODER_H__8A48C31B_1C80_4309_8B3A_9DEEB6E7963B__INCLUDED_) -#define AFX_C6202ENCODER_H__8A48C31B_1C80_4309_8B3A_9DEEB6E7963B__INCLUDED_ - -#if _MSC_VER > 1000 -#pragma once -#endif // _MSC_VER > 1000 - -#ifndef __AFXWIN_H__ - #error include 'stdafx.h' before including this file for PCH -#endif - -#include "resource.h" // main symbols - -///////////////////////////////////////////////////////////////////////////// -// CC6202EncoderApp: -// See C6202Encoder.cpp for the implementation of this class -// - -class CC6202EncoderApp : public CWinApp -{ -public: - CC6202EncoderApp(); - -// Overrides - // ClassWizard generated virtual function overrides - //{{AFX_VIRTUAL(CC6202EncoderApp) - public: - virtual BOOL InitInstance(); - //}}AFX_VIRTUAL - -// Implementation - - //{{AFX_MSG(CC6202EncoderApp) - // NOTE - the ClassWizard will add and remove member functions here. - // DO NOT EDIT what you see in these blocks of generated code ! - //}}AFX_MSG - DECLARE_MESSAGE_MAP() -}; - - -///////////////////////////////////////////////////////////////////////////// - -//{{AFX_INSERT_LOCATION}} -// Microsoft Visual C++ will insert additional declarations immediately before the previous line. - -#endif // !defined(AFX_C6202ENCODER_H__8A48C31B_1C80_4309_8B3A_9DEEB6E7963B__INCLUDED_) diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/6202/C6202Encoder/C6202Encoder.rc b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/6202/C6202Encoder/C6202Encoder.rc deleted file mode 100644 index 98b1bfd..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/6202/C6202Encoder/C6202Encoder.rc +++ /dev/null @@ -1,215 +0,0 @@ -// Microsoft Visual C++ generated resource script. -// -#include "resource.h" - -#define APSTUDIO_READONLY_SYMBOLS -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 2 resource. -// -#include "afxres.h" - -///////////////////////////////////////////////////////////////////////////// -#undef APSTUDIO_READONLY_SYMBOLS - -///////////////////////////////////////////////////////////////////////////// -// Chinese (Taiwan) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_CHT) -#ifdef _WIN32 -LANGUAGE LANG_CHINESE, SUBLANG_CHINESE_TRADITIONAL -#pragma code_page(950) -#endif //_WIN32 - -#ifdef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// TEXTINCLUDE -// - -1 TEXTINCLUDE -BEGIN - "resource.h\0" -END - -2 TEXTINCLUDE -BEGIN - "#include ""afxres.h""\r\n" - "\0" -END - -3 TEXTINCLUDE -BEGIN - "#define _AFX_NO_SPLITTER_RESOURCES\r\n" - "#define _AFX_NO_OLE_RESOURCES\r\n" - "#define _AFX_NO_TRACKER_RESOURCES\r\n" - "#define _AFX_NO_PROPERTY_RESOURCES\r\n" - "\r\n" - "#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)\r\n" - "#ifdef _WIN32\r\n" - "LANGUAGE 9, 1\r\n" - "#pragma code_page(1252)\r\n" - "#endif //_WIN32\r\n" - "#include ""res\\C6202Encoder.rc2"" // non-Microsoft Visual C++ edited resources\r\n" - "#include ""afxres.rc"" // Standard components\r\n" - "#endif\r\n" - "\0" -END - -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// Icon -// - -// Icon with lowest ID value placed first to ensure application icon -// remains consistent on all systems. -IDR_MAINFRAME ICON "res\\C6202Encoder.ico" -#endif // Chinese (Taiwan) resources -///////////////////////////////////////////////////////////////////////////// - - -///////////////////////////////////////////////////////////////////////////// -// English (U.S.) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -#ifdef _WIN32 -LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US -#pragma code_page(1252) -#endif //_WIN32 - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog -// - -IDD_ABOUTBOX DIALOG 0, 0, 235, 55 -STYLE DS_SETFONT | DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "About C6202Encoder" -FONT 8, "MS Shell Dlg" -BEGIN - ICON IDR_MAINFRAME,IDC_STATIC,11,17,20,20 - LTEXT "C6202Encoder Version 1.0",IDC_STATIC,40,10,119,8,SS_NOPREFIX - LTEXT "Copyright (C) 2008",IDC_STATIC,40,25,119,8 - DEFPUSHBUTTON "OK",IDOK,178,7,50,14,WS_GROUP -END - -IDD_C6202ENCODER_DIALOG DIALOGEX 0, 0, 234, 108 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU -EXSTYLE WS_EX_APPWINDOW -CAPTION "C6202Encoder" -FONT 8, "MS Shell Dlg", 0, 0, 0x1 -BEGIN - DEFPUSHBUTTON "Exit",IDOK,92,86,50,14 - PUSHBUTTON "Start",IDC_BTN_START,21,52,50,14 - PUSHBUTTON "Read",IDC_BTN_READ,92,52,50,14 - PUSHBUTTON "Stop",IDC_BTN_STOP,159,52,50,14 - EDITTEXT IDC_EDIT1,122,22,40,14,ES_AUTOHSCROLL | ES_READONLY - LTEXT "Encoder Data:",IDC_STATIC,57,22,41,8 -END - - -///////////////////////////////////////////////////////////////////////////// -// -// Version -// - -VS_VERSION_INFO VERSIONINFO - FILEVERSION 1,0,0,1 - PRODUCTVERSION 1,0,0,1 - FILEFLAGSMASK 0x3fL -#ifdef _DEBUG - FILEFLAGS 0x1L -#else - FILEFLAGS 0x0L -#endif - FILEOS 0x4L - FILETYPE 0x1L - FILESUBTYPE 0x0L -BEGIN - BLOCK "StringFileInfo" - BEGIN - BLOCK "040904B0" - BEGIN - VALUE "FileDescription", "C6202Encoder MFC Application" - VALUE "FileVersion", "1, 0, 0, 1" - VALUE "InternalName", "C6202Encoder" - VALUE "LegalCopyright", "Copyright (C) 2008" - VALUE "OriginalFilename", "C6202Encoder.EXE" - VALUE "ProductName", "C6202Encoder Application" - VALUE "ProductVersion", "1, 0, 0, 1" - END - END - BLOCK "VarFileInfo" - BEGIN - VALUE "Translation", 0x409, 1200 - END -END - - -///////////////////////////////////////////////////////////////////////////// -// -// DESIGNINFO -// - -#ifdef APSTUDIO_INVOKED -GUIDELINES DESIGNINFO -BEGIN - IDD_ABOUTBOX, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 228 - TOPMARGIN, 7 - BOTTOMMARGIN, 48 - END - - IDD_C6202ENCODER_DIALOG, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 227 - TOPMARGIN, 7 - BOTTOMMARGIN, 101 - END -END -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// String Table -// - -STRINGTABLE -BEGIN - IDS_ABOUTBOX "&About C6202Encoder..." -END - -#endif // English (U.S.) resources -///////////////////////////////////////////////////////////////////////////// - - - -#ifndef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 3 resource. -// -#define _AFX_NO_SPLITTER_RESOURCES -#define _AFX_NO_OLE_RESOURCES -#define _AFX_NO_TRACKER_RESOURCES -#define _AFX_NO_PROPERTY_RESOURCES - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -#ifdef _WIN32 -LANGUAGE 9, 1 -#pragma code_page(1252) -#endif //_WIN32 -#include "res\C6202Encoder.rc2" // non-Microsoft Visual C++ edited resources -#include "afxres.rc" // Standard components -#endif - -///////////////////////////////////////////////////////////////////////////// -#endif // not APSTUDIO_INVOKED - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/6202/C6202Encoder/C6202Encoder.sln b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/6202/C6202Encoder/C6202Encoder.sln deleted file mode 100644 index 8bb6ace..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/6202/C6202Encoder/C6202Encoder.sln +++ /dev/null @@ -1,20 +0,0 @@ - -Microsoft Visual Studio Solution File, Format Version 10.00 -# Visual Studio 2008 -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "C6202Encoder", "C6202Encoder.vcproj", "{117E89CA-C620-438E-B623-E7D6B8FAD98C}" -EndProject -Global - GlobalSection(SolutionConfigurationPlatforms) = preSolution - Debug|x64 = Debug|x64 - Release|x64 = Release|x64 - EndGlobalSection - GlobalSection(ProjectConfigurationPlatforms) = postSolution - {117E89CA-C620-438E-B623-E7D6B8FAD98C}.Debug|x64.ActiveCfg = Debug|x64 - {117E89CA-C620-438E-B623-E7D6B8FAD98C}.Debug|x64.Build.0 = Debug|x64 - {117E89CA-C620-438E-B623-E7D6B8FAD98C}.Release|x64.ActiveCfg = Release|x64 - {117E89CA-C620-438E-B623-E7D6B8FAD98C}.Release|x64.Build.0 = Release|x64 - EndGlobalSection - GlobalSection(SolutionProperties) = preSolution - HideSolutionNode = FALSE - EndGlobalSection -EndGlobal diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/6202/C6202Encoder/C6202Encoder.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/6202/C6202Encoder/C6202Encoder.suo deleted file mode 100644 index c7e1cb0..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/6202/C6202Encoder/C6202Encoder.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/6202/C6202Encoder/C6202Encoder.vcproj b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/6202/C6202Encoder/C6202Encoder.vcproj deleted file mode 100644 index 86589fc..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/6202/C6202Encoder/C6202Encoder.vcproj +++ /dev/null @@ -1,354 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/6202/C6202Encoder/C6202EncoderDlg.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/6202/C6202Encoder/C6202EncoderDlg.cpp deleted file mode 100644 index a0e6192..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/6202/C6202Encoder/C6202EncoderDlg.cpp +++ /dev/null @@ -1,246 +0,0 @@ -// C6202EncoderDlg.cpp : implementation file -// - -#include "stdafx.h" -#include "C6202Encoder.h" -#include "C6202EncoderDlg.h" - -#ifdef _DEBUG -#define new DEBUG_NEW -#undef THIS_FILE -static char THIS_FILE[] = __FILE__; -#endif - -//void EPT_CallBack(); - -///////////////////////////////////////////////////////////////////////////// -// CAboutDlg dialog used for App About - -class CAboutDlg : public CDialog -{ -public: - CAboutDlg(); - -// Dialog Data - //{{AFX_DATA(CAboutDlg) - enum { IDD = IDD_ABOUTBOX }; - //}}AFX_DATA - - // ClassWizard generated virtual function overrides - //{{AFX_VIRTUAL(CAboutDlg) - protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - //}}AFX_VIRTUAL - -// Implementation -protected: - //{{AFX_MSG(CAboutDlg) - //}}AFX_MSG - DECLARE_MESSAGE_MAP() -}; - -CAboutDlg::CAboutDlg() : CDialog(CAboutDlg::IDD) -{ - //{{AFX_DATA_INIT(CAboutDlg) - //}}AFX_DATA_INIT -} - -void CAboutDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); - //{{AFX_DATA_MAP(CAboutDlg) - //}}AFX_DATA_MAP -} - -BEGIN_MESSAGE_MAP(CAboutDlg, CDialog) - //{{AFX_MSG_MAP(CAboutDlg) - // No message handlers - //}}AFX_MSG_MAP -END_MESSAGE_MAP() - -///////////////////////////////////////////////////////////////////////////// -// CC6202EncoderDlg dialog - -CC6202EncoderDlg::CC6202EncoderDlg(CWnd* pParent /*=NULL*/) - : CDialog(CC6202EncoderDlg::IDD, pParent) -{ - //{{AFX_DATA_INIT(CC6202EncoderDlg) - m_data = 0; - //}}AFX_DATA_INIT - // Note that LoadIcon does not require a subsequent DestroyIcon in Win32 - m_hIcon = AfxGetApp()->LoadIcon(IDR_MAINFRAME); - g_tmp_value = 0; -} - -void CC6202EncoderDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); - //{{AFX_DATA_MAP(CC6202EncoderDlg) - DDX_Text(pDX, IDC_EDIT1, m_data); - //}}AFX_DATA_MAP -} - -BEGIN_MESSAGE_MAP(CC6202EncoderDlg, CDialog) - //{{AFX_MSG_MAP(CC6202EncoderDlg) - ON_WM_SYSCOMMAND() - ON_WM_PAINT() - ON_WM_QUERYDRAGICON() - ON_WM_CREATE() - ON_WM_CLOSE() - ON_BN_CLICKED(IDC_BTN_START, OnBtnStart) - ON_BN_CLICKED(IDC_BTN_READ, OnBtnRead) - ON_BN_CLICKED(IDC_BTN_STOP, OnBtnStop) - //}}AFX_MSG_MAP -END_MESSAGE_MAP() - -///////////////////////////////////////////////////////////////////////////// -// CC6202EncoderDlg message handlers - -BOOL CC6202EncoderDlg::OnInitDialog() -{ - CDialog::OnInitDialog(); - - // Add "About..." menu item to system menu. - - // IDM_ABOUTBOX must be in the system command range. - ASSERT((IDM_ABOUTBOX & 0xFFF0) == IDM_ABOUTBOX); - ASSERT(IDM_ABOUTBOX < 0xF000); - - CMenu* pSysMenu = GetSystemMenu(FALSE); - if (pSysMenu != NULL) - { - CString strAboutMenu; - strAboutMenu.LoadString(IDS_ABOUTBOX); - if (!strAboutMenu.IsEmpty()) - { - pSysMenu->AppendMenu(MF_SEPARATOR); - pSysMenu->AppendMenu(MF_STRING, IDM_ABOUTBOX, strAboutMenu); - } - } - - // Set the icon for this dialog. The framework does this automatically - // when the application's main window is not a dialog - SetIcon(m_hIcon, TRUE); // Set big icon - SetIcon(m_hIcon, FALSE); // Set small icon - - // TODO: Add extra initialization here - - return TRUE; // return TRUE unless you set the focus to a control -} - -void CC6202EncoderDlg::OnSysCommand(UINT nID, LPARAM lParam) -{ - if ((nID & 0xFFF0) == IDM_ABOUTBOX) - { - CAboutDlg dlgAbout; - dlgAbout.DoModal(); - } - else - { - CDialog::OnSysCommand(nID, lParam); - } -} - -// If you add a minimize button to your dialog, you will need the code below -// to draw the icon. For MFC applications using the document/view model, -// this is automatically done for you by the framework. - -void CC6202EncoderDlg::OnPaint() -{ - if (IsIconic()) - { - CPaintDC dc(this); // device context for painting - - SendMessage(WM_ICONERASEBKGND, (WPARAM) dc.GetSafeHdc(), 0); - - // Center icon in client rectangle - int cxIcon = GetSystemMetrics(SM_CXICON); - int cyIcon = GetSystemMetrics(SM_CYICON); - CRect rect; - GetClientRect(&rect); - int x = (rect.Width() - cxIcon + 1) / 2; - int y = (rect.Height() - cyIcon + 1) / 2; - - // Draw the icon - dc.DrawIcon(x, y, m_hIcon); - } - else - { - CDialog::OnPaint(); - } -} - -// The system calls this to obtain the cursor to display while the user drags -// the minimized window. -HCURSOR CC6202EncoderDlg::OnQueryDragIcon() -{ - return (HCURSOR) m_hIcon; -} - -int CC6202EncoderDlg::OnCreate(LPCREATESTRUCT lpCreateStruct) -{ - if (CDialog::OnCreate(lpCreateStruct) == -1) - return -1; - - g_dev = Register_Card(PCI_6202, 0); - if(g_dev < 0) - { - MessageBox("Register_Card Error!"); - return 0; - } - GPTC_EventCallBack(g_dev, 1, P6202_EVT_TYPE_EPT0, (U32)(EPT_CallBack)); - return 0; -} - -void CC6202EncoderDlg::OnClose() -{ - I16 err; - - if(g_dev >= 0) - { - GPTC_EventCallBack(g_dev, 0, P6202_EVT_TYPE_EPT0, NULL); - err = Release_Card(g_dev); - } - - CDialog::OnClose(); -} - -void CC6202EncoderDlg::OnBtnStart() -{ - // TODO: Add your control notification handler code here - I16 err; - - err = GPTC_Clear (g_dev, P6202_ENCODER0); - err = GPTC_EventSetup(g_dev, P6202_ENCODER0, P6202_EVT_MOD_EPT,P6202_EPT_PULWIDTH_200us | - P6202_EPT_TRGOUT_AFI | P6202_EPT_TRGOUT_CALLBACK, 100, 0); - err = GPTC_Setup(g_dev, P6202_ENCODER0, x4_AB_Phase_Encoder, 0, 0, 0, 0); - err = GPTC_Read (g_dev, P6202_ENCODER0, (U32*)&m_data); - UpdateData(FALSE); -} - -void CC6202EncoderDlg::OnBtnRead() -{ - // TODO: Add your control notification handler code here - I16 err; - - err = GPTC_Read (g_dev, P6202_ENCODER0, (U32*)&m_data); - UpdateData(FALSE); -} - -void CC6202EncoderDlg::OnBtnStop() -{ - // TODO: Add your control notification handler code here - I16 err; - - err = GPTC_Read (g_dev, P6202_ENCODER0, (U32*)&m_data); - err = GPTC_Clear (g_dev, P6202_ENCODER0); - UpdateData(FALSE); -} - -void CC6202EncoderDlg::EPT_CallBack() -{ - I16 err; - g_tmp_value = g_tmp_value ^ 0xff; - err = DO_WritePort(g_dev, P6202_TTL0, g_tmp_value); - return; -} diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/6202/C6202Encoder/C6202EncoderDlg.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/6202/C6202Encoder/C6202EncoderDlg.h deleted file mode 100644 index 2c88c7a..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/6202/C6202Encoder/C6202EncoderDlg.h +++ /dev/null @@ -1,60 +0,0 @@ -// C6202EncoderDlg.h : header file -// - -#if !defined(AFX_C6202ENCODERDLG_H__01E13B6E_EA35_4628_A5D5_1A2263FAF06B__INCLUDED_) -#define AFX_C6202ENCODERDLG_H__01E13B6E_EA35_4628_A5D5_1A2263FAF06B__INCLUDED_ - -#if _MSC_VER > 1000 -#pragma once -#endif // _MSC_VER > 1000 - -#include "Dask64.h" - -///////////////////////////////////////////////////////////////////////////// -// CC6202EncoderDlg dialog -static I16 g_dev; -static int g_tmp_value; - -class CC6202EncoderDlg : public CDialog -{ -// Construction -public: - CC6202EncoderDlg(CWnd* pParent = NULL); // standard constructor - static void EPT_CallBack(); - - -// Dialog Data - //{{AFX_DATA(CC6202EncoderDlg) - enum { IDD = IDD_C6202ENCODER_DIALOG }; - long m_data; - //}}AFX_DATA - - // ClassWizard generated virtual function overrides - //{{AFX_VIRTUAL(CC6202EncoderDlg) - protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - //}}AFX_VIRTUAL - -// Implementation -protected: - HICON m_hIcon; - - // Generated message map functions - //{{AFX_MSG(CC6202EncoderDlg) - virtual BOOL OnInitDialog(); - afx_msg void OnSysCommand(UINT nID, LPARAM lParam); - afx_msg void OnPaint(); - afx_msg HCURSOR OnQueryDragIcon(); - afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct); - afx_msg void OnClose(); - afx_msg void OnBtnStart(); - afx_msg void OnBtnRead(); - afx_msg void OnBtnStop(); - //}}AFX_MSG - DECLARE_MESSAGE_MAP() -}; - -//{{AFX_INSERT_LOCATION}} -// Microsoft Visual C++ will insert additional declarations immediately before the previous line. - -#endif // !defined(AFX_C6202ENCODERDLG_H__01E13B6E_EA35_4628_A5D5_1A2263FAF06B__INCLUDED_) diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/6202/C6202Encoder/ReadMe.txt b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/6202/C6202Encoder/ReadMe.txt deleted file mode 100644 index 52000ec..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/6202/C6202Encoder/ReadMe.txt +++ /dev/null @@ -1,88 +0,0 @@ -======================================================================== - MICROSOFT FOUNDATION CLASS LIBRARY : C6202Encoder -======================================================================== - - -AppWizard has created this C6202Encoder application for you. This application -not only demonstrates the basics of using the Microsoft Foundation classes -but is also a starting point for writing your application. - -This file contains a summary of what you will find in each of the files that -make up your C6202Encoder application. - -C6202Encoder.dsp - This file (the project file) contains information at the project level and - is used to build a single project or subproject. Other users can share the - project (.dsp) file, but they should export the makefiles locally. - -C6202Encoder.h - This is the main header file for the application. It includes other - project specific headers (including Resource.h) and declares the - CC6202EncoderApp application class. - -C6202Encoder.cpp - This is the main application source file that contains the application - class CC6202EncoderApp. - -C6202Encoder.rc - This is a listing of all of the Microsoft Windows resources that the - program uses. It includes the icons, bitmaps, and cursors that are stored - in the RES subdirectory. This file can be directly edited in Microsoft - Visual C++. - -C6202Encoder.clw - This file contains information used by ClassWizard to edit existing - classes or add new classes. ClassWizard also uses this file to store - information needed to create and edit message maps and dialog data - maps and to create prototype member functions. - -res\C6202Encoder.ico - This is an icon file, which is used as the application's icon. This - icon is included by the main resource file C6202Encoder.rc. - -res\C6202Encoder.rc2 - This file contains resources that are not edited by Microsoft - Visual C++. You should place all resources not editable by - the resource editor in this file. - - - - -///////////////////////////////////////////////////////////////////////////// - -AppWizard creates one dialog class: - -C6202EncoderDlg.h, C6202EncoderDlg.cpp - the dialog - These files contain your CC6202EncoderDlg class. This class defines - the behavior of your application's main dialog. The dialog's - template is in C6202Encoder.rc, which can be edited in Microsoft - Visual C++. - - -///////////////////////////////////////////////////////////////////////////// -Other standard files: - -StdAfx.h, StdAfx.cpp - These files are used to build a precompiled header (PCH) file - named C6202Encoder.pch and a precompiled types file named StdAfx.obj. - -Resource.h - This is the standard header file, which defines new resource IDs. - Microsoft Visual C++ reads and updates this file. - -///////////////////////////////////////////////////////////////////////////// -Other notes: - -AppWizard uses "TODO:" to indicate parts of the source code you -should add to or customize. - -If your application uses MFC in a shared DLL, and your application is -in a language other than the operating system's current language, you -will need to copy the corresponding localized resources MFC42XXX.DLL -from the Microsoft Visual C++ CD-ROM onto the system or system32 directory, -and rename it to be MFCLOC.DLL. ("XXX" stands for the language abbreviation. -For example, MFC42DEU.DLL contains resources translated to German.) If you -don't do this, some of the UI elements of your application will remain in the -language of the operating system. - -///////////////////////////////////////////////////////////////////////////// diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/6202/C6202Encoder/Resource.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/6202/C6202Encoder/Resource.h deleted file mode 100644 index a11b812..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/6202/C6202Encoder/Resource.h +++ /dev/null @@ -1,24 +0,0 @@ -//{{NO_DEPENDENCIES}} -// Microsoft Developer Studio generated include file. -// Used by C6202Encoder.rc -// -#define IDM_ABOUTBOX 0x0010 -#define IDD_ABOUTBOX 100 -#define IDS_ABOUTBOX 101 -#define IDD_C6202ENCODER_DIALOG 102 -#define IDR_MAINFRAME 128 -#define IDC_BTN_START 1000 -#define IDC_BTN_READ 1001 -#define IDC_BTN_STOP 1002 -#define IDC_EDIT1 1003 - -// Next default values for new objects -// -#ifdef APSTUDIO_INVOKED -#ifndef APSTUDIO_READONLY_SYMBOLS -#define _APS_NEXT_RESOURCE_VALUE 129 -#define _APS_NEXT_COMMAND_VALUE 32771 -#define _APS_NEXT_CONTROL_VALUE 1004 -#define _APS_NEXT_SYMED_VALUE 101 -#endif -#endif diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/6202/C6202Encoder/StdAfx.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/6202/C6202Encoder/StdAfx.cpp deleted file mode 100644 index 8fda1f7..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/6202/C6202Encoder/StdAfx.cpp +++ /dev/null @@ -1,8 +0,0 @@ -// stdafx.cpp : source file that includes just the standard includes -// C6202Encoder.pch will be the pre-compiled header -// stdafx.obj will contain the pre-compiled type information - -#include "stdafx.h" - - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/6202/C6202Encoder/StdAfx.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/6202/C6202Encoder/StdAfx.h deleted file mode 100644 index eece877..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/6202/C6202Encoder/StdAfx.h +++ /dev/null @@ -1,27 +0,0 @@ -// stdafx.h : include file for standard system include files, -// or project specific include files that are used frequently, but -// are changed infrequently -// - -#if !defined(AFX_STDAFX_H__A2461ECE_1FC6_4586_A8B7_BAB93FC55421__INCLUDED_) -#define AFX_STDAFX_H__A2461ECE_1FC6_4586_A8B7_BAB93FC55421__INCLUDED_ - -#if _MSC_VER > 1000 -#pragma once -#endif // _MSC_VER > 1000 - -#define VC_EXTRALEAN // Exclude rarely-used stuff from Windows headers - -#include // MFC core and standard components -#include // MFC extensions -#include // MFC Automation classes -#include // MFC support for Internet Explorer 4 Common Controls -#ifndef _AFX_NO_AFXCMN_SUPPORT -#include // MFC support for Windows Common Controls -#endif // _AFX_NO_AFXCMN_SUPPORT - - -//{{AFX_INSERT_LOCATION}} -// Microsoft Visual C++ will insert additional declarations immediately before the previous line. - -#endif // !defined(AFX_STDAFX_H__A2461ECE_1FC6_4586_A8B7_BAB93FC55421__INCLUDED_) diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/6202/C6202Encoder/res/C6202Encoder.ico b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/6202/C6202Encoder/res/C6202Encoder.ico deleted file mode 100644 index 7eef0bc..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/6202/C6202Encoder/res/C6202Encoder.ico and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/6202/C6202Encoder/res/C6202Encoder.rc2 b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/6202/C6202Encoder/res/C6202Encoder.rc2 deleted file mode 100644 index 0db02fe..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/6202/C6202Encoder/res/C6202Encoder.rc2 +++ /dev/null @@ -1,13 +0,0 @@ -// -// C6202ENCODER.RC2 - resources Microsoft Visual C++ does not edit directly -// - -#ifdef APSTUDIO_INVOKED - #error this file is not editable by Microsoft Visual C++ -#endif //APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// Add manually edited resources here... - -///////////////////////////////////////////////////////////////////////////// diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/6202/C6202GPTC/C6202GPTC.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/6202/C6202GPTC/C6202GPTC.cpp deleted file mode 100644 index 5af2b8e..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/6202/C6202GPTC/C6202GPTC.cpp +++ /dev/null @@ -1,68 +0,0 @@ -// C6202GPTC.cpp : Defines the class behaviors for the application. -// - -#include "stdafx.h" -#include "C6202GPTC.h" -#include "C6202GPTCDlg.h" - -#ifdef _DEBUG -#define new DEBUG_NEW -#undef THIS_FILE -static char THIS_FILE[] = __FILE__; -#endif - -///////////////////////////////////////////////////////////////////////////// -// CC6202GPTCApp - -BEGIN_MESSAGE_MAP(CC6202GPTCApp, CWinApp) - //{{AFX_MSG_MAP(CC6202GPTCApp) - // NOTE - the ClassWizard will add and remove mapping macros here. - // DO NOT EDIT what you see in these blocks of generated code! - //}}AFX_MSG - ON_COMMAND(ID_HELP, CWinApp::OnHelp) -END_MESSAGE_MAP() - -///////////////////////////////////////////////////////////////////////////// -// CC6202GPTCApp construction - -CC6202GPTCApp::CC6202GPTCApp() -{ - // TODO: add construction code here, - // Place all significant initialization in InitInstance -} - -///////////////////////////////////////////////////////////////////////////// -// The one and only CC6202GPTCApp object - -CC6202GPTCApp theApp; - -///////////////////////////////////////////////////////////////////////////// -// CC6202GPTCApp initialization - -BOOL CC6202GPTCApp::InitInstance() -{ - AfxEnableControlContainer(); - - // Standard initialization - // If you are not using these features and wish to reduce the size - // of your final executable, you should remove from the following - // the specific initialization routines you do not need. - - CC6202GPTCDlg dlg; - m_pMainWnd = &dlg; - INT_PTR nResponse = dlg.DoModal(); - if (nResponse == IDOK) - { - // TODO: Place code here to handle when the dialog is - // dismissed with OK - } - else if (nResponse == IDCANCEL) - { - // TODO: Place code here to handle when the dialog is - // dismissed with Cancel - } - - // Since the dialog has been closed, return FALSE so that we exit the - // application, rather than start the application's message pump. - return FALSE; -} diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/6202/C6202GPTC/C6202GPTC.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/6202/C6202GPTC/C6202GPTC.h deleted file mode 100644 index 5ebd78f..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/6202/C6202GPTC/C6202GPTC.h +++ /dev/null @@ -1,49 +0,0 @@ -// C6202GPTC.h : main header file for the C6202GPTC application -// - -#if !defined(AFX_C6202GPTC_H__5985750C_A487_4DA8_8C11_FD6E168F19A1__INCLUDED_) -#define AFX_C6202GPTC_H__5985750C_A487_4DA8_8C11_FD6E168F19A1__INCLUDED_ - -#if _MSC_VER > 1000 -#pragma once -#endif // _MSC_VER > 1000 - -#ifndef __AFXWIN_H__ - #error include 'stdafx.h' before including this file for PCH -#endif - -#include "resource.h" // main symbols - -///////////////////////////////////////////////////////////////////////////// -// CC6202GPTCApp: -// See C6202GPTC.cpp for the implementation of this class -// - -class CC6202GPTCApp : public CWinApp -{ -public: - CC6202GPTCApp(); - -// Overrides - // ClassWizard generated virtual function overrides - //{{AFX_VIRTUAL(CC6202GPTCApp) - public: - virtual BOOL InitInstance(); - //}}AFX_VIRTUAL - -// Implementation - - //{{AFX_MSG(CC6202GPTCApp) - // NOTE - the ClassWizard will add and remove member functions here. - // DO NOT EDIT what you see in these blocks of generated code ! - //}}AFX_MSG - DECLARE_MESSAGE_MAP() -}; - - -///////////////////////////////////////////////////////////////////////////// - -//{{AFX_INSERT_LOCATION}} -// Microsoft Visual C++ will insert additional declarations immediately before the previous line. - -#endif // !defined(AFX_C6202GPTC_H__5985750C_A487_4DA8_8C11_FD6E168F19A1__INCLUDED_) diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/6202/C6202GPTC/C6202GPTC.rc b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/6202/C6202GPTC/C6202GPTC.rc deleted file mode 100644 index c27c70d..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/6202/C6202GPTC/C6202GPTC.rc +++ /dev/null @@ -1,267 +0,0 @@ -// Microsoft Visual C++ generated resource script. -// -#include "resource.h" - -#define APSTUDIO_READONLY_SYMBOLS -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 2 resource. -// -#include "afxres.h" - -///////////////////////////////////////////////////////////////////////////// -#undef APSTUDIO_READONLY_SYMBOLS - -///////////////////////////////////////////////////////////////////////////// -// Chinese (Taiwan) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_CHT) -#ifdef _WIN32 -LANGUAGE LANG_CHINESE, SUBLANG_CHINESE_TRADITIONAL -#pragma code_page(950) -#endif //_WIN32 - -#ifdef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// TEXTINCLUDE -// - -1 TEXTINCLUDE -BEGIN - "resource.h\0" -END - -2 TEXTINCLUDE -BEGIN - "#include ""afxres.h""\r\n" - "\0" -END - -3 TEXTINCLUDE -BEGIN - "#define _AFX_NO_SPLITTER_RESOURCES\r\n" - "#define _AFX_NO_OLE_RESOURCES\r\n" - "#define _AFX_NO_TRACKER_RESOURCES\r\n" - "#define _AFX_NO_PROPERTY_RESOURCES\r\n" - "\r\n" - "#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)\r\n" - "#ifdef _WIN32\r\n" - "LANGUAGE 9, 1\r\n" - "#pragma code_page(1252)\r\n" - "#endif //_WIN32\r\n" - "#include ""res\\C6202GPTC.rc2"" // non-Microsoft Visual C++ edited resources\r\n" - "#include ""afxres.rc"" // Standard components\r\n" - "#endif\r\n" - "\0" -END - -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// Icon -// - -// Icon with lowest ID value placed first to ensure application icon -// remains consistent on all systems. -IDR_MAINFRAME ICON "res\\C6202GPTC.ico" -#endif // Chinese (Taiwan) resources -///////////////////////////////////////////////////////////////////////////// - - -///////////////////////////////////////////////////////////////////////////// -// English (U.S.) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -#ifdef _WIN32 -LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US -#pragma code_page(1252) -#endif //_WIN32 - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog -// - -IDD_ABOUTBOX DIALOG 0, 0, 235, 55 -STYLE DS_SETFONT | DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "About C6202GPTC" -FONT 8, "MS Shell Dlg" -BEGIN - ICON IDR_MAINFRAME,IDC_STATIC,11,17,20,20 - LTEXT "C6202GPTC Version 1.0",IDC_STATIC,40,10,119,8,SS_NOPREFIX - LTEXT "Copyright (C) 2007",IDC_STATIC,40,25,119,8 - DEFPUSHBUTTON "OK",IDOK,178,7,50,14,WS_GROUP -END - -IDD_C6202GPTC_DIALOG DIALOGEX 0, 0, 320, 200 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU -EXSTYLE WS_EX_APPWINDOW -CAPTION "C6202GPTC" -FONT 8, "MS Shell Dlg", 0, 0, 0x1 -BEGIN - DEFPUSHBUTTON "Exit",IDOK,123,179,50,14 - LTEXT "The timer/counter number:",IDC_STATIC,11,12,76,8 - LTEXT "The timer/counter mode.",IDC_STATIC,155,12,70,8 - COMBOBOX IDC_COMBO_MODE,203,25,100,120,CBS_DROPDOWNLIST | WS_VSCROLL | WS_TABSTOP - COMBOBOX IDC_COMBO_TC_NUM,65,27,48,30,CBS_DROPDOWNLIST | WS_VSCROLL | WS_TABSTOP - PUSHBUTTON "Setup T/C",IDC_BTN_SETUP,24,65,50,14 - PUSHBUTTON "Start T/C",IDC_BTN_START,23,92,50,14 - PUSHBUTTON "Stop T/C",IDC_BTN_STOP,24,118,50,14 - GROUPBOX "T/C Value",IDC_STATIC,231,71,70,74 - EDITTEXT IDC_EDIT_VALUE,241,84,40,14,ES_AUTOHSCROLL | ES_READONLY - PUSHBUTTON "Read",IDC_BTN_READ,238,109,50,14 - PUSHBUTTON "Set IntGate",IDC_BTN_SET_INT_GATE,119,75,50,14 - PUSHBUTTON "Reset IntGate",IDC_BTN_RESET_INT_GATE,120,102,50,14 -END - - -///////////////////////////////////////////////////////////////////////////// -// -// Version -// - -VS_VERSION_INFO VERSIONINFO - FILEVERSION 1,0,0,1 - PRODUCTVERSION 1,0,0,1 - FILEFLAGSMASK 0x3fL -#ifdef _DEBUG - FILEFLAGS 0x1L -#else - FILEFLAGS 0x0L -#endif - FILEOS 0x4L - FILETYPE 0x1L - FILESUBTYPE 0x0L -BEGIN - BLOCK "StringFileInfo" - BEGIN - BLOCK "040904B0" - BEGIN - VALUE "FileDescription", "C6202GPTC MFC Application" - VALUE "FileVersion", "1, 0, 0, 1" - VALUE "InternalName", "C6202GPTC" - VALUE "LegalCopyright", "Copyright (C) 2007" - VALUE "OriginalFilename", "C6202GPTC.EXE" - VALUE "ProductName", "C6202GPTC Application" - VALUE "ProductVersion", "1, 0, 0, 1" - END - END - BLOCK "VarFileInfo" - BEGIN - VALUE "Translation", 0x409, 1200 - END -END - - -///////////////////////////////////////////////////////////////////////////// -// -// DESIGNINFO -// - -#ifdef APSTUDIO_INVOKED -GUIDELINES DESIGNINFO -BEGIN - IDD_ABOUTBOX, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 228 - TOPMARGIN, 7 - BOTTOMMARGIN, 48 - END - - IDD_C6202GPTC_DIALOG, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 313 - TOPMARGIN, 7 - BOTTOMMARGIN, 193 - END -END -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog Info -// - -IDD_C6202GPTC_DIALOG DLGINIT -BEGIN - IDC_COMBO_MODE, 0x403, 20, 0 -0x6953, 0x706d, 0x656c, 0x6147, 0x6574, 0x4564, 0x6576, 0x746e, 0x4e43, -0x0054, - IDC_COMBO_MODE, 0x403, 16, 0 -0x6953, 0x676e, 0x656c, 0x6550, 0x6972, 0x646f, 0x534d, 0x0052, - IDC_COMBO_MODE, 0x403, 20, 0 -0x6953, 0x676e, 0x656c, 0x7550, 0x736c, 0x5765, 0x6469, 0x6874, 0x534d, -0x0052, - IDC_COMBO_MODE, 0x403, 20, 0 -0x6953, 0x676e, 0x656c, 0x6147, 0x6574, 0x5064, 0x6c75, 0x6573, 0x6547, -0x006e, - IDC_COMBO_MODE, 0x403, 19, 0 -0x6953, 0x676e, 0x656c, 0x7254, 0x6769, 0x7550, 0x736c, 0x4765, 0x6e65, -"\000" - IDC_COMBO_MODE, 0x403, 21, 0 -0x6552, 0x7274, 0x6769, 0x6953, 0x676e, 0x656c, 0x7550, 0x736c, 0x4765, -0x6e65, "\000" - IDC_COMBO_MODE, 0x403, 23, 0 -0x6953, 0x676e, 0x656c, 0x7254, 0x6769, 0x6f43, 0x746e, 0x7550, 0x736c, -0x4765, 0x6e65, "\000" - IDC_COMBO_MODE, 0x403, 13, 0 -0x6f43, 0x746e, 0x7550, 0x736c, 0x4765, 0x6e65, "\000" - IDC_COMBO_MODE, 0x403, 18, 0 -0x6445, 0x6567, 0x6553, 0x6170, 0x6172, 0x6974, 0x6e6f, 0x534d, 0x0052, - - IDC_COMBO_MODE, 0x403, 26, 0 -0x6953, 0x676e, 0x656c, 0x7254, 0x6769, 0x6f43, 0x746e, 0x7550, 0x736c, -0x4765, 0x6e65, 0x5750, 0x004d, - IDC_COMBO_MODE, 0x403, 16, 0 -0x6f43, 0x746e, 0x7550, 0x736c, 0x4765, 0x6e65, 0x5750, 0x004d, - IDC_COMBO_TC_NUM, 0x403, 6, 0 -0x2f54, 0x2043, 0x0030, - IDC_COMBO_TC_NUM, 0x403, 6, 0 -0x2f54, 0x2043, 0x0031, - 0 -END - - -///////////////////////////////////////////////////////////////////////////// -// -// String Table -// - -STRINGTABLE -BEGIN - IDS_ABOUTBOX "&About C6202GPTC..." -END - -#endif // English (U.S.) resources -///////////////////////////////////////////////////////////////////////////// - - - -#ifndef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 3 resource. -// -#define _AFX_NO_SPLITTER_RESOURCES -#define _AFX_NO_OLE_RESOURCES -#define _AFX_NO_TRACKER_RESOURCES -#define _AFX_NO_PROPERTY_RESOURCES - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -#ifdef _WIN32 -LANGUAGE 9, 1 -#pragma code_page(1252) -#endif //_WIN32 -#include "res\C6202GPTC.rc2" // non-Microsoft Visual C++ edited resources -#include "afxres.rc" // Standard components -#endif - -///////////////////////////////////////////////////////////////////////////// -#endif // not APSTUDIO_INVOKED - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/6202/C6202GPTC/C6202GPTC.sln b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/6202/C6202GPTC/C6202GPTC.sln deleted file mode 100644 index 821ff35..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/6202/C6202GPTC/C6202GPTC.sln +++ /dev/null @@ -1,20 +0,0 @@ - -Microsoft Visual Studio Solution File, Format Version 10.00 -# Visual Studio 2008 -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "C6202GPTC", "C6202GPTC.vcproj", "{E5080DA4-8F2C-401D-AA77-4DF7E2297ECC}" -EndProject -Global - GlobalSection(SolutionConfigurationPlatforms) = preSolution - Debug|x64 = Debug|x64 - Release|x64 = Release|x64 - EndGlobalSection - GlobalSection(ProjectConfigurationPlatforms) = postSolution - {E5080DA4-8F2C-401D-AA77-4DF7E2297ECC}.Debug|x64.ActiveCfg = Debug|x64 - {E5080DA4-8F2C-401D-AA77-4DF7E2297ECC}.Debug|x64.Build.0 = Debug|x64 - {E5080DA4-8F2C-401D-AA77-4DF7E2297ECC}.Release|x64.ActiveCfg = Release|x64 - {E5080DA4-8F2C-401D-AA77-4DF7E2297ECC}.Release|x64.Build.0 = Release|x64 - EndGlobalSection - GlobalSection(SolutionProperties) = preSolution - HideSolutionNode = FALSE - EndGlobalSection -EndGlobal diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/6202/C6202GPTC/C6202GPTC.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/6202/C6202GPTC/C6202GPTC.suo deleted file mode 100644 index b5bc86b..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/6202/C6202GPTC/C6202GPTC.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/6202/C6202GPTC/C6202GPTC.vcproj b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/6202/C6202GPTC/C6202GPTC.vcproj deleted file mode 100644 index 78504a1..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/6202/C6202GPTC/C6202GPTC.vcproj +++ /dev/null @@ -1,346 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/6202/C6202GPTC/C6202GPTCDlg.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/6202/C6202GPTC/C6202GPTCDlg.cpp deleted file mode 100644 index f79a649..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/6202/C6202GPTC/C6202GPTCDlg.cpp +++ /dev/null @@ -1,257 +0,0 @@ -// C6202GPTCDlg.cpp : implementation file -// - -#include "stdafx.h" -#include "C6202GPTC.h" -#include "C6202GPTCDlg.h" - -#ifdef _DEBUG -#define new DEBUG_NEW -#undef THIS_FILE -static char THIS_FILE[] = __FILE__; -#endif - -///////////////////////////////////////////////////////////////////////////// -// CAboutDlg dialog used for App About - -class CAboutDlg : public CDialog -{ -public: - CAboutDlg(); - -// Dialog Data - //{{AFX_DATA(CAboutDlg) - enum { IDD = IDD_ABOUTBOX }; - //}}AFX_DATA - - // ClassWizard generated virtual function overrides - //{{AFX_VIRTUAL(CAboutDlg) - protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - //}}AFX_VIRTUAL - -// Implementation -protected: - //{{AFX_MSG(CAboutDlg) - //}}AFX_MSG - DECLARE_MESSAGE_MAP() -}; - -CAboutDlg::CAboutDlg() : CDialog(CAboutDlg::IDD) -{ - //{{AFX_DATA_INIT(CAboutDlg) - //}}AFX_DATA_INIT -} - -void CAboutDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); - //{{AFX_DATA_MAP(CAboutDlg) - //}}AFX_DATA_MAP -} - -BEGIN_MESSAGE_MAP(CAboutDlg, CDialog) - //{{AFX_MSG_MAP(CAboutDlg) - // No message handlers - //}}AFX_MSG_MAP -END_MESSAGE_MAP() - -///////////////////////////////////////////////////////////////////////////// -// CC6202GPTCDlg dialog - -CC6202GPTCDlg::CC6202GPTCDlg(CWnd* pParent /*=NULL*/) - : CDialog(CC6202GPTCDlg::IDD, pParent) -{ - //{{AFX_DATA_INIT(CC6202GPTCDlg) - m_mode = 0; - m_tc_num = 0; - m_value = 0; - //}}AFX_DATA_INIT - // Note that LoadIcon does not require a subsequent DestroyIcon in Win32 - m_hIcon = AfxGetApp()->LoadIcon(IDR_MAINFRAME); -} - -void CC6202GPTCDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); - //{{AFX_DATA_MAP(CC6202GPTCDlg) - DDX_CBIndex(pDX, IDC_COMBO_MODE, m_mode); - DDX_CBIndex(pDX, IDC_COMBO_TC_NUM, m_tc_num); - DDX_Text(pDX, IDC_EDIT_VALUE, m_value); - //}}AFX_DATA_MAP -} - -BEGIN_MESSAGE_MAP(CC6202GPTCDlg, CDialog) - //{{AFX_MSG_MAP(CC6202GPTCDlg) - ON_WM_SYSCOMMAND() - ON_WM_PAINT() - ON_WM_QUERYDRAGICON() - ON_WM_CREATE() - ON_WM_CLOSE() - ON_BN_CLICKED(IDC_BTN_SETUP, OnBtnSetup) - ON_BN_CLICKED(IDC_BTN_START, OnBtnStart) - ON_BN_CLICKED(IDC_BTN_STOP, OnBtnStop) - ON_BN_CLICKED(IDC_BTN_SET_INT_GATE, OnBtnSetIntGate) - ON_BN_CLICKED(IDC_BTN_RESET_INT_GATE, OnBtnResetIntGate) - ON_BN_CLICKED(IDC_BTN_READ, OnBtnRead) - //}}AFX_MSG_MAP -END_MESSAGE_MAP() - -///////////////////////////////////////////////////////////////////////////// -// CC6202GPTCDlg message handlers - -BOOL CC6202GPTCDlg::OnInitDialog() -{ - CDialog::OnInitDialog(); - - // Add "About..." menu item to system menu. - - // IDM_ABOUTBOX must be in the system command range. - ASSERT((IDM_ABOUTBOX & 0xFFF0) == IDM_ABOUTBOX); - ASSERT(IDM_ABOUTBOX < 0xF000); - - CMenu* pSysMenu = GetSystemMenu(FALSE); - if (pSysMenu != NULL) - { - CString strAboutMenu; - strAboutMenu.LoadString(IDS_ABOUTBOX); - if (!strAboutMenu.IsEmpty()) - { - pSysMenu->AppendMenu(MF_SEPARATOR); - pSysMenu->AppendMenu(MF_STRING, IDM_ABOUTBOX, strAboutMenu); - } - } - - // Set the icon for this dialog. The framework does this automatically - // when the application's main window is not a dialog - SetIcon(m_hIcon, TRUE); // Set big icon - SetIcon(m_hIcon, FALSE); // Set small icon - - // TODO: Add extra initialization here - - return TRUE; // return TRUE unless you set the focus to a control -} - -void CC6202GPTCDlg::OnSysCommand(UINT nID, LPARAM lParam) -{ - if ((nID & 0xFFF0) == IDM_ABOUTBOX) - { - CAboutDlg dlgAbout; - dlgAbout.DoModal(); - } - else - { - CDialog::OnSysCommand(nID, lParam); - } -} - -// If you add a minimize button to your dialog, you will need the code below -// to draw the icon. For MFC applications using the document/view model, -// this is automatically done for you by the framework. - -void CC6202GPTCDlg::OnPaint() -{ - if (IsIconic()) - { - CPaintDC dc(this); // device context for painting - - SendMessage(WM_ICONERASEBKGND, (WPARAM) dc.GetSafeHdc(), 0); - - // Center icon in client rectangle - int cxIcon = GetSystemMetrics(SM_CXICON); - int cyIcon = GetSystemMetrics(SM_CYICON); - CRect rect; - GetClientRect(&rect); - int x = (rect.Width() - cxIcon + 1) / 2; - int y = (rect.Height() - cyIcon + 1) / 2; - - // Draw the icon - dc.DrawIcon(x, y, m_hIcon); - } - else - { - CDialog::OnPaint(); - } -} - -// The system calls this to obtain the cursor to display while the user drags -// the minimized window. -HCURSOR CC6202GPTCDlg::OnQueryDragIcon() -{ - return (HCURSOR) m_hIcon; -} - -int CC6202GPTCDlg::OnCreate(LPCREATESTRUCT lpCreateStruct) -{ - if (CDialog::OnCreate(lpCreateStruct) == -1) - return -1; - - // TODO: Add your specialized creation code here - m_dev = Register_Card(PCI_6202, 0); - if(m_dev < 0) - { - MessageBox("Register_Card Error!"); - } - - return 0; -} - -void CC6202GPTCDlg::OnClose() -{ - I16 err; - - if(m_dev >= 0) - { - err = Release_Card(m_dev); - } - - CDialog::OnClose(); -} - -void CC6202GPTCDlg::OnBtnSetup() -{ - I16 err; - - UpdateData(); - err = GPTC_Setup (m_dev, m_tc_num , m_mode+1, - GPTC_CLK_SRC_Int | GPTC_GATE_SRC_Int | GPTC_UPDOWN_Int, - GPTC_GATE_HACTIVE | GPTC_UPDOWN_HACTIVE | GPTC_CLKSRC_HACTIVE, - 80000000, 40000000); - -} - -void CC6202GPTCDlg::OnBtnStart() -{ - I16 err; - - err = GPTC_Control (m_dev, m_tc_num, IntENABLE, 1); -} - -void CC6202GPTCDlg::OnBtnStop() -{ - I16 err; - - err = GPTC_Control (m_dev, m_tc_num, IntENABLE, 0); -} - -void CC6202GPTCDlg::OnBtnSetIntGate() -{ - I16 err; - - err = GPTC_Control (m_dev, m_tc_num, IntGate, 1); -} - -void CC6202GPTCDlg::OnBtnResetIntGate() -{ - I16 err; - - err = GPTC_Control (m_dev, m_tc_num, IntGate, 0); -} - -void CC6202GPTCDlg::OnBtnRead() -{ - I16 err; - - err = GPTC_Read (m_dev, 0, &m_value); - UpdateData(FALSE); -} diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/6202/C6202GPTC/C6202GPTCDlg.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/6202/C6202GPTC/C6202GPTCDlg.h deleted file mode 100644 index 00c3e77..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/6202/C6202GPTC/C6202GPTCDlg.h +++ /dev/null @@ -1,63 +0,0 @@ -// C6202GPTCDlg.h : header file -// - -#if !defined(AFX_C6202GPTCDLG_H__ABB4F3EC_DEC9_4A39_8122_090E64978E01__INCLUDED_) -#define AFX_C6202GPTCDLG_H__ABB4F3EC_DEC9_4A39_8122_090E64978E01__INCLUDED_ - -#if _MSC_VER > 1000 -#pragma once -#endif // _MSC_VER > 1000 - -#include "Dask64.h" - -///////////////////////////////////////////////////////////////////////////// -// CC6202GPTCDlg dialog - -class CC6202GPTCDlg : public CDialog -{ -// Construction -public: - CC6202GPTCDlg(CWnd* pParent = NULL); // standard constructor - - I16 m_dev; - -// Dialog Data - //{{AFX_DATA(CC6202GPTCDlg) - enum { IDD = IDD_C6202GPTC_DIALOG }; - int m_mode; - int m_tc_num; - DWORD m_value; - //}}AFX_DATA - - // ClassWizard generated virtual function overrides - //{{AFX_VIRTUAL(CC6202GPTCDlg) - protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - //}}AFX_VIRTUAL - -// Implementation -protected: - HICON m_hIcon; - - // Generated message map functions - //{{AFX_MSG(CC6202GPTCDlg) - virtual BOOL OnInitDialog(); - afx_msg void OnSysCommand(UINT nID, LPARAM lParam); - afx_msg void OnPaint(); - afx_msg HCURSOR OnQueryDragIcon(); - afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct); - afx_msg void OnClose(); - afx_msg void OnBtnSetup(); - afx_msg void OnBtnStart(); - afx_msg void OnBtnStop(); - afx_msg void OnBtnSetIntGate(); - afx_msg void OnBtnResetIntGate(); - afx_msg void OnBtnRead(); - //}}AFX_MSG - DECLARE_MESSAGE_MAP() -}; - -//{{AFX_INSERT_LOCATION}} -// Microsoft Visual C++ will insert additional declarations immediately before the previous line. - -#endif // !defined(AFX_C6202GPTCDLG_H__ABB4F3EC_DEC9_4A39_8122_090E64978E01__INCLUDED_) diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/6202/C6202GPTC/ReadMe.txt b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/6202/C6202GPTC/ReadMe.txt deleted file mode 100644 index f9115be..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/6202/C6202GPTC/ReadMe.txt +++ /dev/null @@ -1,88 +0,0 @@ -======================================================================== - MICROSOFT FOUNDATION CLASS LIBRARY : C6202GPTC -======================================================================== - - -AppWizard has created this C6202GPTC application for you. This application -not only demonstrates the basics of using the Microsoft Foundation classes -but is also a starting point for writing your application. - -This file contains a summary of what you will find in each of the files that -make up your C6202GPTC application. - -C6202GPTC.dsp - This file (the project file) contains information at the project level and - is used to build a single project or subproject. Other users can share the - project (.dsp) file, but they should export the makefiles locally. - -C6202GPTC.h - This is the main header file for the application. It includes other - project specific headers (including Resource.h) and declares the - CC6202GPTCApp application class. - -C6202GPTC.cpp - This is the main application source file that contains the application - class CC6202GPTCApp. - -C6202GPTC.rc - This is a listing of all of the Microsoft Windows resources that the - program uses. It includes the icons, bitmaps, and cursors that are stored - in the RES subdirectory. This file can be directly edited in Microsoft - Visual C++. - -C6202GPTC.clw - This file contains information used by ClassWizard to edit existing - classes or add new classes. ClassWizard also uses this file to store - information needed to create and edit message maps and dialog data - maps and to create prototype member functions. - -res\C6202GPTC.ico - This is an icon file, which is used as the application's icon. This - icon is included by the main resource file C6202GPTC.rc. - -res\C6202GPTC.rc2 - This file contains resources that are not edited by Microsoft - Visual C++. You should place all resources not editable by - the resource editor in this file. - - - - -///////////////////////////////////////////////////////////////////////////// - -AppWizard creates one dialog class: - -C6202GPTCDlg.h, C6202GPTCDlg.cpp - the dialog - These files contain your CC6202GPTCDlg class. This class defines - the behavior of your application's main dialog. The dialog's - template is in C6202GPTC.rc, which can be edited in Microsoft - Visual C++. - - -///////////////////////////////////////////////////////////////////////////// -Other standard files: - -StdAfx.h, StdAfx.cpp - These files are used to build a precompiled header (PCH) file - named C6202GPTC.pch and a precompiled types file named StdAfx.obj. - -Resource.h - This is the standard header file, which defines new resource IDs. - Microsoft Visual C++ reads and updates this file. - -///////////////////////////////////////////////////////////////////////////// -Other notes: - -AppWizard uses "TODO:" to indicate parts of the source code you -should add to or customize. - -If your application uses MFC in a shared DLL, and your application is -in a language other than the operating system's current language, you -will need to copy the corresponding localized resources MFC42XXX.DLL -from the Microsoft Visual C++ CD-ROM onto the system or system32 directory, -and rename it to be MFCLOC.DLL. ("XXX" stands for the language abbreviation. -For example, MFC42DEU.DLL contains resources translated to German.) If you -don't do this, some of the UI elements of your application will remain in the -language of the operating system. - -///////////////////////////////////////////////////////////////////////////// diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/6202/C6202GPTC/Resource.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/6202/C6202GPTC/Resource.h deleted file mode 100644 index 328d1b1..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/6202/C6202GPTC/Resource.h +++ /dev/null @@ -1,29 +0,0 @@ -//{{NO_DEPENDENCIES}} -// Microsoft Developer Studio generated include file. -// Used by C6202GPTC.rc -// -#define IDM_ABOUTBOX 0x0010 -#define IDD_ABOUTBOX 100 -#define IDS_ABOUTBOX 101 -#define IDD_C6202GPTC_DIALOG 102 -#define IDR_MAINFRAME 128 -#define IDC_COMBO_MODE 1000 -#define IDC_COMBO_TC_NUM 1001 -#define IDC_BTN_SETUP 1002 -#define IDC_BTN_START 1003 -#define IDC_BTN_STOP 1004 -#define IDC_EDIT_VALUE 1006 -#define IDC_BTN_READ 1007 -#define IDC_BTN_SET_INT_GATE 1009 -#define IDC_BTN_RESET_INT_GATE 1010 - -// Next default values for new objects -// -#ifdef APSTUDIO_INVOKED -#ifndef APSTUDIO_READONLY_SYMBOLS -#define _APS_NEXT_RESOURCE_VALUE 130 -#define _APS_NEXT_COMMAND_VALUE 32771 -#define _APS_NEXT_CONTROL_VALUE 1011 -#define _APS_NEXT_SYMED_VALUE 101 -#endif -#endif diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/6202/C6202GPTC/StdAfx.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/6202/C6202GPTC/StdAfx.cpp deleted file mode 100644 index 04b4429..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/6202/C6202GPTC/StdAfx.cpp +++ /dev/null @@ -1,8 +0,0 @@ -// stdafx.cpp : source file that includes just the standard includes -// C6202GPTC.pch will be the pre-compiled header -// stdafx.obj will contain the pre-compiled type information - -#include "stdafx.h" - - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/6202/C6202GPTC/StdAfx.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/6202/C6202GPTC/StdAfx.h deleted file mode 100644 index f75266b..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/6202/C6202GPTC/StdAfx.h +++ /dev/null @@ -1,27 +0,0 @@ -// stdafx.h : include file for standard system include files, -// or project specific include files that are used frequently, but -// are changed infrequently -// - -#if !defined(AFX_STDAFX_H__917EA7F5_1351_401E_A2FA_7B2A7A9B5D1B__INCLUDED_) -#define AFX_STDAFX_H__917EA7F5_1351_401E_A2FA_7B2A7A9B5D1B__INCLUDED_ - -#if _MSC_VER > 1000 -#pragma once -#endif // _MSC_VER > 1000 - -#define VC_EXTRALEAN // Exclude rarely-used stuff from Windows headers - -#include // MFC core and standard components -#include // MFC extensions -#include // MFC Automation classes -#include // MFC support for Internet Explorer 4 Common Controls -#ifndef _AFX_NO_AFXCMN_SUPPORT -#include // MFC support for Windows Common Controls -#endif // _AFX_NO_AFXCMN_SUPPORT - - -//{{AFX_INSERT_LOCATION}} -// Microsoft Visual C++ will insert additional declarations immediately before the previous line. - -#endif // !defined(AFX_STDAFX_H__917EA7F5_1351_401E_A2FA_7B2A7A9B5D1B__INCLUDED_) diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/6202/C6202GPTC/res/C6202GPTC.ico b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/6202/C6202GPTC/res/C6202GPTC.ico deleted file mode 100644 index 7eef0bc..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/6202/C6202GPTC/res/C6202GPTC.ico and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/6202/C6202GPTC/res/C6202GPTC.rc2 b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/6202/C6202GPTC/res/C6202GPTC.rc2 deleted file mode 100644 index 19ae7cd..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/6202/C6202GPTC/res/C6202GPTC.rc2 +++ /dev/null @@ -1,13 +0,0 @@ -// -// C6202GPTC.RC2 - resources Microsoft Visual C++ does not edit directly -// - -#ifdef APSTUDIO_INVOKED - #error this file is not editable by Microsoft Visual C++ -#endif //APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// Add manually edited resources here... - -///////////////////////////////////////////////////////////////////////////// diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/6202/CAOOnePoint/CAOOnePoint.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/6202/CAOOnePoint/CAOOnePoint.cpp deleted file mode 100644 index ece0b9b..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/6202/CAOOnePoint/CAOOnePoint.cpp +++ /dev/null @@ -1,68 +0,0 @@ -// CAOOnePoint.cpp : Defines the class behaviors for the application. -// - -#include "stdafx.h" -#include "CAOOnePoint.h" -#include "CAOOnePointDlg.h" - -#ifdef _DEBUG -#define new DEBUG_NEW -#undef THIS_FILE -static char THIS_FILE[] = __FILE__; -#endif - -///////////////////////////////////////////////////////////////////////////// -// CCAOOnePointApp - -BEGIN_MESSAGE_MAP(CCAOOnePointApp, CWinApp) - //{{AFX_MSG_MAP(CCAOOnePointApp) - // NOTE - the ClassWizard will add and remove mapping macros here. - // DO NOT EDIT what you see in these blocks of generated code! - //}}AFX_MSG - ON_COMMAND(ID_HELP, CWinApp::OnHelp) -END_MESSAGE_MAP() - -///////////////////////////////////////////////////////////////////////////// -// CCAOOnePointApp construction - -CCAOOnePointApp::CCAOOnePointApp() -{ - // TODO: add construction code here, - // Place all significant initialization in InitInstance -} - -///////////////////////////////////////////////////////////////////////////// -// The one and only CCAOOnePointApp object - -CCAOOnePointApp theApp; - -///////////////////////////////////////////////////////////////////////////// -// CCAOOnePointApp initialization - -BOOL CCAOOnePointApp::InitInstance() -{ - AfxEnableControlContainer(); - - // Standard initialization - // If you are not using these features and wish to reduce the size - // of your final executable, you should remove from the following - // the specific initialization routines you do not need. - - CCAOOnePointDlg dlg; - m_pMainWnd = &dlg; - INT_PTR nResponse = dlg.DoModal(); - if (nResponse == IDOK) - { - // TODO: Place code here to handle when the dialog is - // dismissed with OK - } - else if (nResponse == IDCANCEL) - { - // TODO: Place code here to handle when the dialog is - // dismissed with Cancel - } - - // Since the dialog has been closed, return FALSE so that we exit the - // application, rather than start the application's message pump. - return FALSE; -} diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/6202/CAOOnePoint/CAOOnePoint.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/6202/CAOOnePoint/CAOOnePoint.h deleted file mode 100644 index c125089..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/6202/CAOOnePoint/CAOOnePoint.h +++ /dev/null @@ -1,49 +0,0 @@ -// CAOOnePoint.h : main header file for the CAOONEPOINT application -// - -#if !defined(AFX_CAOONEPOINT_H__19A9B244_4221_4E4E_9EED_D2C192BF5B0F__INCLUDED_) -#define AFX_CAOONEPOINT_H__19A9B244_4221_4E4E_9EED_D2C192BF5B0F__INCLUDED_ - -#if _MSC_VER > 1000 -#pragma once -#endif // _MSC_VER > 1000 - -#ifndef __AFXWIN_H__ - #error include 'stdafx.h' before including this file for PCH -#endif - -#include "resource.h" // main symbols - -///////////////////////////////////////////////////////////////////////////// -// CCAOOnePointApp: -// See CAOOnePoint.cpp for the implementation of this class -// - -class CCAOOnePointApp : public CWinApp -{ -public: - CCAOOnePointApp(); - -// Overrides - // ClassWizard generated virtual function overrides - //{{AFX_VIRTUAL(CCAOOnePointApp) - public: - virtual BOOL InitInstance(); - //}}AFX_VIRTUAL - -// Implementation - - //{{AFX_MSG(CCAOOnePointApp) - // NOTE - the ClassWizard will add and remove member functions here. - // DO NOT EDIT what you see in these blocks of generated code ! - //}}AFX_MSG - DECLARE_MESSAGE_MAP() -}; - - -///////////////////////////////////////////////////////////////////////////// - -//{{AFX_INSERT_LOCATION}} -// Microsoft Visual C++ will insert additional declarations immediately before the previous line. - -#endif // !defined(AFX_CAOONEPOINT_H__19A9B244_4221_4E4E_9EED_D2C192BF5B0F__INCLUDED_) diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/6202/CAOOnePoint/CAOOnePoint.rc b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/6202/CAOOnePoint/CAOOnePoint.rc deleted file mode 100644 index 057f769..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/6202/CAOOnePoint/CAOOnePoint.rc +++ /dev/null @@ -1,235 +0,0 @@ -// Microsoft Visual C++ generated resource script. -// -#include "resource.h" - -#define APSTUDIO_READONLY_SYMBOLS -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 2 resource. -// -#include "afxres.h" - -///////////////////////////////////////////////////////////////////////////// -#undef APSTUDIO_READONLY_SYMBOLS - -///////////////////////////////////////////////////////////////////////////// -// Chinese (Taiwan) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_CHT) -#ifdef _WIN32 -LANGUAGE LANG_CHINESE, SUBLANG_CHINESE_TRADITIONAL -#pragma code_page(950) -#endif //_WIN32 - -#ifdef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// TEXTINCLUDE -// - -1 TEXTINCLUDE -BEGIN - "resource.h\0" -END - -2 TEXTINCLUDE -BEGIN - "#include ""afxres.h""\r\n" - "\0" -END - -3 TEXTINCLUDE -BEGIN - "#define _AFX_NO_SPLITTER_RESOURCES\r\n" - "#define _AFX_NO_OLE_RESOURCES\r\n" - "#define _AFX_NO_TRACKER_RESOURCES\r\n" - "#define _AFX_NO_PROPERTY_RESOURCES\r\n" - "\r\n" - "#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)\r\n" - "#ifdef _WIN32\r\n" - "LANGUAGE 9, 1\r\n" - "#pragma code_page(1252)\r\n" - "#endif //_WIN32\r\n" - "#include ""res\\CAOOnePoint.rc2"" // non-Microsoft Visual C++ edited resources\r\n" - "#include ""afxres.rc"" // Standard components\r\n" - "#endif\r\n" - "\0" -END - -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// Icon -// - -// Icon with lowest ID value placed first to ensure application icon -// remains consistent on all systems. -IDR_MAINFRAME ICON "res\\CAOOnePoint.ico" -#endif // Chinese (Taiwan) resources -///////////////////////////////////////////////////////////////////////////// - - -///////////////////////////////////////////////////////////////////////////// -// English (U.S.) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -#ifdef _WIN32 -LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US -#pragma code_page(1252) -#endif //_WIN32 - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog -// - -IDD_ABOUTBOX DIALOG 0, 0, 235, 55 -STYLE DS_SETFONT | DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "About CAOOnePoint" -FONT 8, "MS Shell Dlg" -BEGIN - ICON IDR_MAINFRAME,IDC_STATIC,11,17,20,20 - LTEXT "CAOOnePoint Version 1.0",IDC_STATIC,40,10,119,8,SS_NOPREFIX - LTEXT "Copyright (C) 2007",IDC_STATIC,40,25,119,8 - DEFPUSHBUTTON "OK",IDOK,178,7,50,14,WS_GROUP -END - -IDD_CAOONEPOINT_DIALOG DIALOGEX 0, 0, 130, 119 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU -EXSTYLE WS_EX_APPWINDOW -CAPTION "CAOOnePoint" -FONT 8, "MS Shell Dlg", 0, 0, 0x1 -BEGIN - DEFPUSHBUTTON "Exit",IDOK,41,87,50,14 - LTEXT "AO Channel:",IDC_STATIC,7,10,38,8 - EDITTEXT IDC_EDIT_VOLTAGE,57,33,40,14,ES_AUTOHSCROLL - LTEXT "Ouutput Voltage:",IDC_STATIC,7,36,49,8 - COMBOBOX IDC_COMBO_CHANNEL,57,7,48,68,CBS_DROPDOWNLIST | CBS_SORT | WS_VSCROLL | WS_TABSTOP - LTEXT "V",IDC_STATIC,99,36,8,8 - PUSHBUTTON "Output",IDC_BTN_OUTPUT,41,60,50,14 -END - - -///////////////////////////////////////////////////////////////////////////// -// -// Version -// - -VS_VERSION_INFO VERSIONINFO - FILEVERSION 1,0,0,1 - PRODUCTVERSION 1,0,0,1 - FILEFLAGSMASK 0x3fL -#ifdef _DEBUG - FILEFLAGS 0x1L -#else - FILEFLAGS 0x0L -#endif - FILEOS 0x4L - FILETYPE 0x1L - FILESUBTYPE 0x0L -BEGIN - BLOCK "StringFileInfo" - BEGIN - BLOCK "040904B0" - BEGIN - VALUE "FileDescription", "CAOOnePoint MFC Application" - VALUE "FileVersion", "1, 0, 0, 1" - VALUE "InternalName", "CAOOnePoint" - VALUE "LegalCopyright", "Copyright (C) 2007" - VALUE "OriginalFilename", "CAOOnePoint.EXE" - VALUE "ProductName", "CAOOnePoint Application" - VALUE "ProductVersion", "1, 0, 0, 1" - END - END - BLOCK "VarFileInfo" - BEGIN - VALUE "Translation", 0x409, 1200 - END -END - - -///////////////////////////////////////////////////////////////////////////// -// -// DESIGNINFO -// - -#ifdef APSTUDIO_INVOKED -GUIDELINES DESIGNINFO -BEGIN - IDD_ABOUTBOX, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 228 - TOPMARGIN, 7 - BOTTOMMARGIN, 48 - END - - IDD_CAOONEPOINT_DIALOG, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 123 - TOPMARGIN, 7 - BOTTOMMARGIN, 112 - END -END -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog Info -// - -IDD_CAOONEPOINT_DIALOG DLGINIT -BEGIN - IDC_COMBO_CHANNEL, 0x403, 7, 0 -0x4f41, 0x435f, 0x3048, "\000" - IDC_COMBO_CHANNEL, 0x403, 7, 0 -0x4f41, 0x435f, 0x3148, "\000" - IDC_COMBO_CHANNEL, 0x403, 7, 0 -0x4f41, 0x435f, 0x3248, "\000" - IDC_COMBO_CHANNEL, 0x403, 7, 0 -0x4f41, 0x435f, 0x3348, "\000" - 0 -END - - -///////////////////////////////////////////////////////////////////////////// -// -// String Table -// - -STRINGTABLE -BEGIN - IDS_ABOUTBOX "&About CAOOnePoint..." -END - -#endif // English (U.S.) resources -///////////////////////////////////////////////////////////////////////////// - - - -#ifndef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 3 resource. -// -#define _AFX_NO_SPLITTER_RESOURCES -#define _AFX_NO_OLE_RESOURCES -#define _AFX_NO_TRACKER_RESOURCES -#define _AFX_NO_PROPERTY_RESOURCES - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -#ifdef _WIN32 -LANGUAGE 9, 1 -#pragma code_page(1252) -#endif //_WIN32 -#include "res\CAOOnePoint.rc2" // non-Microsoft Visual C++ edited resources -#include "afxres.rc" // Standard components -#endif - -///////////////////////////////////////////////////////////////////////////// -#endif // not APSTUDIO_INVOKED - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/6202/CAOOnePoint/CAOOnePoint.sln b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/6202/CAOOnePoint/CAOOnePoint.sln deleted file mode 100644 index c23d455..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/6202/CAOOnePoint/CAOOnePoint.sln +++ /dev/null @@ -1,20 +0,0 @@ - -Microsoft Visual Studio Solution File, Format Version 10.00 -# Visual Studio 2008 -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "CAOOnePoint", "CAOOnePoint.vcproj", "{976F2D32-8BD8-4173-8B8E-BA7DD6290F00}" -EndProject -Global - GlobalSection(SolutionConfigurationPlatforms) = preSolution - Debug|x64 = Debug|x64 - Release|x64 = Release|x64 - EndGlobalSection - GlobalSection(ProjectConfigurationPlatforms) = postSolution - {976F2D32-8BD8-4173-8B8E-BA7DD6290F00}.Debug|x64.ActiveCfg = Debug|x64 - {976F2D32-8BD8-4173-8B8E-BA7DD6290F00}.Debug|x64.Build.0 = Debug|x64 - {976F2D32-8BD8-4173-8B8E-BA7DD6290F00}.Release|x64.ActiveCfg = Release|x64 - {976F2D32-8BD8-4173-8B8E-BA7DD6290F00}.Release|x64.Build.0 = Release|x64 - EndGlobalSection - GlobalSection(SolutionProperties) = preSolution - HideSolutionNode = FALSE - EndGlobalSection -EndGlobal diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/6202/CAOOnePoint/CAOOnePoint.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/6202/CAOOnePoint/CAOOnePoint.suo deleted file mode 100644 index 0cd73a1..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/6202/CAOOnePoint/CAOOnePoint.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/6202/CAOOnePoint/CAOOnePoint.vcproj b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/6202/CAOOnePoint/CAOOnePoint.vcproj deleted file mode 100644 index eea015e..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/6202/CAOOnePoint/CAOOnePoint.vcproj +++ /dev/null @@ -1,351 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/6202/CAOOnePoint/CAOOnePointDlg.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/6202/CAOOnePoint/CAOOnePointDlg.cpp deleted file mode 100644 index 8138552..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/6202/CAOOnePoint/CAOOnePointDlg.cpp +++ /dev/null @@ -1,212 +0,0 @@ -// CAOOnePointDlg.cpp : implementation file -// - -#include "stdafx.h" -#include "CAOOnePoint.h" -#include "CAOOnePointDlg.h" - -#ifdef _DEBUG -#define new DEBUG_NEW -#undef THIS_FILE -static char THIS_FILE[] = __FILE__; -#endif - -///////////////////////////////////////////////////////////////////////////// -// CAboutDlg dialog used for App About - -class CAboutDlg : public CDialog -{ -public: - CAboutDlg(); - -// Dialog Data - //{{AFX_DATA(CAboutDlg) - enum { IDD = IDD_ABOUTBOX }; - //}}AFX_DATA - - // ClassWizard generated virtual function overrides - //{{AFX_VIRTUAL(CAboutDlg) - protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - //}}AFX_VIRTUAL - -// Implementation -protected: - //{{AFX_MSG(CAboutDlg) - //}}AFX_MSG - DECLARE_MESSAGE_MAP() -}; - -CAboutDlg::CAboutDlg() : CDialog(CAboutDlg::IDD) -{ - //{{AFX_DATA_INIT(CAboutDlg) - //}}AFX_DATA_INIT -} - -void CAboutDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); - //{{AFX_DATA_MAP(CAboutDlg) - //}}AFX_DATA_MAP -} - -BEGIN_MESSAGE_MAP(CAboutDlg, CDialog) - //{{AFX_MSG_MAP(CAboutDlg) - // No message handlers - //}}AFX_MSG_MAP -END_MESSAGE_MAP() - -///////////////////////////////////////////////////////////////////////////// -// CCAOOnePointDlg dialog - -CCAOOnePointDlg::CCAOOnePointDlg(CWnd* pParent /*=NULL*/) - : CDialog(CCAOOnePointDlg::IDD, pParent) -{ - //{{AFX_DATA_INIT(CCAOOnePointDlg) - m_ch = 0; - m_voltage = 0.0; - //}}AFX_DATA_INIT - // Note that LoadIcon does not require a subsequent DestroyIcon in Win32 - m_hIcon = AfxGetApp()->LoadIcon(IDR_MAINFRAME); -} - -void CCAOOnePointDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); - //{{AFX_DATA_MAP(CCAOOnePointDlg) - DDX_CBIndex(pDX, IDC_COMBO_CHANNEL, m_ch); - DDX_Text(pDX, IDC_EDIT_VOLTAGE, m_voltage); - DDV_MinMaxDouble(pDX, m_voltage, -10., 10.); - //}}AFX_DATA_MAP -} - -BEGIN_MESSAGE_MAP(CCAOOnePointDlg, CDialog) - //{{AFX_MSG_MAP(CCAOOnePointDlg) - ON_WM_SYSCOMMAND() - ON_WM_PAINT() - ON_WM_QUERYDRAGICON() - ON_WM_CREATE() - ON_WM_CLOSE() - ON_BN_CLICKED(IDC_BTN_OUTPUT, OnBtnOutput) - //}}AFX_MSG_MAP -END_MESSAGE_MAP() - -///////////////////////////////////////////////////////////////////////////// -// CCAOOnePointDlg message handlers - -BOOL CCAOOnePointDlg::OnInitDialog() -{ - CDialog::OnInitDialog(); - - // Add "About..." menu item to system menu. - - // IDM_ABOUTBOX must be in the system command range. - ASSERT((IDM_ABOUTBOX & 0xFFF0) == IDM_ABOUTBOX); - ASSERT(IDM_ABOUTBOX < 0xF000); - - CMenu* pSysMenu = GetSystemMenu(FALSE); - if (pSysMenu != NULL) - { - CString strAboutMenu; - strAboutMenu.LoadString(IDS_ABOUTBOX); - if (!strAboutMenu.IsEmpty()) - { - pSysMenu->AppendMenu(MF_SEPARATOR); - pSysMenu->AppendMenu(MF_STRING, IDM_ABOUTBOX, strAboutMenu); - } - } - - // Set the icon for this dialog. The framework does this automatically - // when the application's main window is not a dialog - SetIcon(m_hIcon, TRUE); // Set big icon - SetIcon(m_hIcon, FALSE); // Set small icon - - // TODO: Add extra initialization here - - return TRUE; // return TRUE unless you set the focus to a control -} - -void CCAOOnePointDlg::OnSysCommand(UINT nID, LPARAM lParam) -{ - if ((nID & 0xFFF0) == IDM_ABOUTBOX) - { - CAboutDlg dlgAbout; - dlgAbout.DoModal(); - } - else - { - CDialog::OnSysCommand(nID, lParam); - } -} - -// If you add a minimize button to your dialog, you will need the code below -// to draw the icon. For MFC applications using the document/view model, -// this is automatically done for you by the framework. - -void CCAOOnePointDlg::OnPaint() -{ - if (IsIconic()) - { - CPaintDC dc(this); // device context for painting - - SendMessage(WM_ICONERASEBKGND, (WPARAM) dc.GetSafeHdc(), 0); - - // Center icon in client rectangle - int cxIcon = GetSystemMetrics(SM_CXICON); - int cyIcon = GetSystemMetrics(SM_CYICON); - CRect rect; - GetClientRect(&rect); - int x = (rect.Width() - cxIcon + 1) / 2; - int y = (rect.Height() - cyIcon + 1) / 2; - - // Draw the icon - dc.DrawIcon(x, y, m_hIcon); - } - else - { - CDialog::OnPaint(); - } -} - -// The system calls this to obtain the cursor to display while the user drags -// the minimized window. -HCURSOR CCAOOnePointDlg::OnQueryDragIcon() -{ - return (HCURSOR) m_hIcon; -} - -int CCAOOnePointDlg::OnCreate(LPCREATESTRUCT lpCreateStruct) -{ - if (CDialog::OnCreate(lpCreateStruct) == -1) - return -1; - - // TODO: Add your specialized creation code here - m_dev = Register_Card(PCI_6202, 0); - if(m_dev < 0) - { - MessageBox("Register_Card Error!"); - } - - return 0; -} - -void CCAOOnePointDlg::OnClose() -{ - I16 err; - - if(m_dev >= 0) - { - err = Release_Card(m_dev); - } - - CDialog::OnClose(); -} - -void CCAOOnePointDlg::OnBtnOutput() -{ - I16 err; - - UpdateData(TRUE); - err = AO_VWriteChannel(m_dev, m_ch, m_voltage); - -} diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/6202/CAOOnePoint/CAOOnePointDlg.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/6202/CAOOnePoint/CAOOnePointDlg.h deleted file mode 100644 index 12ff3df..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/6202/CAOOnePoint/CAOOnePointDlg.h +++ /dev/null @@ -1,57 +0,0 @@ -// CAOOnePointDlg.h : header file -// - -#if !defined(AFX_CAOONEPOINTDLG_H__AF337BF6_3007_48DD_859D_A1036E368D0B__INCLUDED_) -#define AFX_CAOONEPOINTDLG_H__AF337BF6_3007_48DD_859D_A1036E368D0B__INCLUDED_ - -#if _MSC_VER > 1000 -#pragma once -#endif // _MSC_VER > 1000 - -#include "Dask64.h" - -///////////////////////////////////////////////////////////////////////////// -// CCAOOnePointDlg dialog - -class CCAOOnePointDlg : public CDialog -{ -// Construction -public: - CCAOOnePointDlg(CWnd* pParent = NULL); // standard constructor - - I16 m_dev; - -// Dialog Data - //{{AFX_DATA(CCAOOnePointDlg) - enum { IDD = IDD_CAOONEPOINT_DIALOG }; - int m_ch; - double m_voltage; - //}}AFX_DATA - - // ClassWizard generated virtual function overrides - //{{AFX_VIRTUAL(CCAOOnePointDlg) - protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - //}}AFX_VIRTUAL - -// Implementation -protected: - HICON m_hIcon; - - // Generated message map functions - //{{AFX_MSG(CCAOOnePointDlg) - virtual BOOL OnInitDialog(); - afx_msg void OnSysCommand(UINT nID, LPARAM lParam); - afx_msg void OnPaint(); - afx_msg HCURSOR OnQueryDragIcon(); - afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct); - afx_msg void OnClose(); - afx_msg void OnBtnOutput(); - //}}AFX_MSG - DECLARE_MESSAGE_MAP() -}; - -//{{AFX_INSERT_LOCATION}} -// Microsoft Visual C++ will insert additional declarations immediately before the previous line. - -#endif // !defined(AFX_CAOONEPOINTDLG_H__AF337BF6_3007_48DD_859D_A1036E368D0B__INCLUDED_) diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/6202/CAOOnePoint/ReadMe.txt b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/6202/CAOOnePoint/ReadMe.txt deleted file mode 100644 index c0db093..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/6202/CAOOnePoint/ReadMe.txt +++ /dev/null @@ -1,88 +0,0 @@ -======================================================================== - MICROSOFT FOUNDATION CLASS LIBRARY : CAOOnePoint -======================================================================== - - -AppWizard has created this CAOOnePoint application for you. This application -not only demonstrates the basics of using the Microsoft Foundation classes -but is also a starting point for writing your application. - -This file contains a summary of what you will find in each of the files that -make up your CAOOnePoint application. - -CAOOnePoint.dsp - This file (the project file) contains information at the project level and - is used to build a single project or subproject. Other users can share the - project (.dsp) file, but they should export the makefiles locally. - -CAOOnePoint.h - This is the main header file for the application. It includes other - project specific headers (including Resource.h) and declares the - CCAOOnePointApp application class. - -CAOOnePoint.cpp - This is the main application source file that contains the application - class CCAOOnePointApp. - -CAOOnePoint.rc - This is a listing of all of the Microsoft Windows resources that the - program uses. It includes the icons, bitmaps, and cursors that are stored - in the RES subdirectory. This file can be directly edited in Microsoft - Visual C++. - -CAOOnePoint.clw - This file contains information used by ClassWizard to edit existing - classes or add new classes. ClassWizard also uses this file to store - information needed to create and edit message maps and dialog data - maps and to create prototype member functions. - -res\CAOOnePoint.ico - This is an icon file, which is used as the application's icon. This - icon is included by the main resource file CAOOnePoint.rc. - -res\CAOOnePoint.rc2 - This file contains resources that are not edited by Microsoft - Visual C++. You should place all resources not editable by - the resource editor in this file. - - - - -///////////////////////////////////////////////////////////////////////////// - -AppWizard creates one dialog class: - -CAOOnePointDlg.h, CAOOnePointDlg.cpp - the dialog - These files contain your CCAOOnePointDlg class. This class defines - the behavior of your application's main dialog. The dialog's - template is in CAOOnePoint.rc, which can be edited in Microsoft - Visual C++. - - -///////////////////////////////////////////////////////////////////////////// -Other standard files: - -StdAfx.h, StdAfx.cpp - These files are used to build a precompiled header (PCH) file - named CAOOnePoint.pch and a precompiled types file named StdAfx.obj. - -Resource.h - This is the standard header file, which defines new resource IDs. - Microsoft Visual C++ reads and updates this file. - -///////////////////////////////////////////////////////////////////////////// -Other notes: - -AppWizard uses "TODO:" to indicate parts of the source code you -should add to or customize. - -If your application uses MFC in a shared DLL, and your application is -in a language other than the operating system's current language, you -will need to copy the corresponding localized resources MFC42XXX.DLL -from the Microsoft Visual C++ CD-ROM onto the system or system32 directory, -and rename it to be MFCLOC.DLL. ("XXX" stands for the language abbreviation. -For example, MFC42DEU.DLL contains resources translated to German.) If you -don't do this, some of the UI elements of your application will remain in the -language of the operating system. - -///////////////////////////////////////////////////////////////////////////// diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/6202/CAOOnePoint/Resource.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/6202/CAOOnePoint/Resource.h deleted file mode 100644 index 9b9d209..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/6202/CAOOnePoint/Resource.h +++ /dev/null @@ -1,23 +0,0 @@ -//{{NO_DEPENDENCIES}} -// Microsoft Developer Studio generated include file. -// Used by CAOOnePoint.rc -// -#define IDM_ABOUTBOX 0x0010 -#define IDD_ABOUTBOX 100 -#define IDS_ABOUTBOX 101 -#define IDD_CAOONEPOINT_DIALOG 102 -#define IDR_MAINFRAME 128 -#define IDC_EDIT_VOLTAGE 1000 -#define IDC_COMBO_CHANNEL 1001 -#define IDC_BTN_OUTPUT 1002 - -// Next default values for new objects -// -#ifdef APSTUDIO_INVOKED -#ifndef APSTUDIO_READONLY_SYMBOLS -#define _APS_NEXT_RESOURCE_VALUE 130 -#define _APS_NEXT_COMMAND_VALUE 32771 -#define _APS_NEXT_CONTROL_VALUE 1003 -#define _APS_NEXT_SYMED_VALUE 101 -#endif -#endif diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/6202/CAOOnePoint/StdAfx.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/6202/CAOOnePoint/StdAfx.cpp deleted file mode 100644 index 3a00ea6..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/6202/CAOOnePoint/StdAfx.cpp +++ /dev/null @@ -1,8 +0,0 @@ -// stdafx.cpp : source file that includes just the standard includes -// CAOOnePoint.pch will be the pre-compiled header -// stdafx.obj will contain the pre-compiled type information - -#include "stdafx.h" - - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/6202/CAOOnePoint/StdAfx.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/6202/CAOOnePoint/StdAfx.h deleted file mode 100644 index ca841cd..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/6202/CAOOnePoint/StdAfx.h +++ /dev/null @@ -1,27 +0,0 @@ -// stdafx.h : include file for standard system include files, -// or project specific include files that are used frequently, but -// are changed infrequently -// - -#if !defined(AFX_STDAFX_H__30A00164_37A2_471C_9D92_F95D0F13CD5C__INCLUDED_) -#define AFX_STDAFX_H__30A00164_37A2_471C_9D92_F95D0F13CD5C__INCLUDED_ - -#if _MSC_VER > 1000 -#pragma once -#endif // _MSC_VER > 1000 - -#define VC_EXTRALEAN // Exclude rarely-used stuff from Windows headers - -#include // MFC core and standard components -#include // MFC extensions -#include // MFC Automation classes -#include // MFC support for Internet Explorer 4 Common Controls -#ifndef _AFX_NO_AFXCMN_SUPPORT -#include // MFC support for Windows Common Controls -#endif // _AFX_NO_AFXCMN_SUPPORT - - -//{{AFX_INSERT_LOCATION}} -// Microsoft Visual C++ will insert additional declarations immediately before the previous line. - -#endif // !defined(AFX_STDAFX_H__30A00164_37A2_471C_9D92_F95D0F13CD5C__INCLUDED_) diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/6202/CAOOnePoint/res/CAOOnePoint.ico b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/6202/CAOOnePoint/res/CAOOnePoint.ico deleted file mode 100644 index 7eef0bc..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/6202/CAOOnePoint/res/CAOOnePoint.ico and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/6202/CAOOnePoint/res/CAOOnePoint.rc2 b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/6202/CAOOnePoint/res/CAOOnePoint.rc2 deleted file mode 100644 index 058f44d..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/6202/CAOOnePoint/res/CAOOnePoint.rc2 +++ /dev/null @@ -1,13 +0,0 @@ -// -// CAOONEPOINT.RC2 - resources Microsoft Visual C++ does not edit directly -// - -#ifdef APSTUDIO_INVOKED - #error this file is not editable by Microsoft Visual C++ -#endif //APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// Add manually edited resources here... - -///////////////////////////////////////////////////////////////////////////// diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/6208/SDK6208A/CardIDDlg.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/6208/SDK6208A/CardIDDlg.cpp deleted file mode 100644 index de74eef..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/6208/SDK6208A/CardIDDlg.cpp +++ /dev/null @@ -1,67 +0,0 @@ -// CardIDDlg.cpp : implementation file -// - -#include "stdafx.h" -#include "Util6208.h" -#include "CardIDDlg.h" - - -// CCardIDDlg dialog - -IMPLEMENT_DYNAMIC(CCardIDDlg, CDialog) - -CCardIDDlg::CCardIDDlg(int nCardIdx, CWnd* pParent /*=NULL*/) - : CDialog(CCardIDDlg::IDD, pParent) -{ - m_nCardIdx = nCardIdx; -} - -CCardIDDlg::~CCardIDDlg() -{ -} - -void CCardIDDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); - DDX_Control(pDX, IDC_COMBO_CARDID, m_cbCardID); -} - - -BEGIN_MESSAGE_MAP(CCardIDDlg, CDialog) -// ON_CBN_SELCHANGE(IDC_COMBO_CARDID, &CCardIDDlg::OnCbnSelchangeComboCardid) -ON_BN_CLICKED(IDOK, &CCardIDDlg::OnBnClickedOk) -//ON_WM_CTLCOLOR() -END_MESSAGE_MAP() - - -// CCardIDDlg message handlers - - -void CCardIDDlg::OnBnClickedOk() -{ - // TODO: Add your control notification handler code here - -// UpdateData(TRUE); - m_nCardIdx = m_cbCardID.GetCurSel(); - - OnOK(); -} - -BOOL CCardIDDlg::OnInitDialog() -{ - CDialog::OnInitDialog(); - - // TODO: Add extra initialization here - m_cbCardID.SetCurSel( m_nCardIdx ); - - return TRUE; // return TRUE unless you set the focus to a control - // EXCEPTION: OCX Property Pages should return FALSE -} - -// the function to get the selected CardID -int CCardIDDlg::GetCardID(void) -{ - return m_nCardIdx; -} - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/6208/SDK6208A/CardIDDlg.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/6208/SDK6208A/CardIDDlg.h deleted file mode 100644 index 54628ea..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/6208/SDK6208A/CardIDDlg.h +++ /dev/null @@ -1,33 +0,0 @@ -#pragma once -#include "afxwin.h" - - -// CCardIDDlg dialog - -class CCardIDDlg : public CDialog -{ - DECLARE_DYNAMIC(CCardIDDlg) - -public: - CCardIDDlg(int nCardIdx, CWnd* pParent = NULL); // standard constructor - virtual ~CCardIDDlg(); - -// Dialog Data - enum { IDD = IDD_CARDID_DIALOG }; - -protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - - DECLARE_MESSAGE_MAP() -public: -// afx_msg void OnCbnSelchangeComboCardid(); - afx_msg void OnBnClickedOk(); - // the setting of CardID ComboBox - int m_nCardIdx; - virtual BOOL OnInitDialog(); - // the control of CardID ComboBox - CComboBox m_cbCardID; - // the function to get the selected CardID - int GetCardID(void); -// afx_msg HBRUSH OnCtlColor(CDC* pDC, CWnd* pWnd, UINT nCtlColor); -}; diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/6208/SDK6208A/CardIDDlg.htm b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/6208/SDK6208A/CardIDDlg.htm deleted file mode 100644 index 90caca0..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/6208/SDK6208A/CardIDDlg.htm +++ /dev/null @@ -1,19 +0,0 @@ - - - - - - - - - - -
-
- -
-TODO: Place controls here. -
- - - \ No newline at end of file diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/6208/SDK6208A/ReadMe.txt b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/6208/SDK6208A/ReadMe.txt deleted file mode 100644 index a984479..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/6208/SDK6208A/ReadMe.txt +++ /dev/null @@ -1,93 +0,0 @@ -================================================================================ - MICROSOFT FOUNDATION CLASS LIBRARY : Util6208 Project Overview -=============================================================================== - -The application wizard has created this Util6208 application for -you. This application not only demonstrates the basics of using the Microsoft -Foundation Classes but is also a starting point for writing your application. - -This file contains a summary of what you will find in each of the files that -make up your Util6208 application. - -Util6208.vcproj - This is the main project file for VC++ projects generated using an application wizard. - It contains information about the version of Visual C++ that generated the file, and - information about the platforms, configurations, and project features selected with the - application wizard. - -Util6208.h - This is the main header file for the application. It includes other - project specific headers (including Resource.h) and declares the - CUtil6208App application class. - -Util6208.cpp - This is the main application source file that contains the application - class CUtil6208App. - -Util6208.rc - This is a listing of all of the Microsoft Windows resources that the - program uses. It includes the icons, bitmaps, and cursors that are stored - in the RES subdirectory. This file can be directly edited in Microsoft - Visual C++. Your project resources are in 1033. - -res\Util6208.ico - This is an icon file, which is used as the application's icon. This - icon is included by the main resource file Util6208.rc. - -res\Util6208.rc2 - This file contains resources that are not edited by Microsoft - Visual C++. You should place all resources not editable by - the resource editor in this file. - - -///////////////////////////////////////////////////////////////////////////// - -The application wizard creates one dialog class: - -Util6208Dlg.h, Util6208Dlg.cpp - the dialog - These files contain your CUtil6208Dlg class. This class defines - the behavior of your application's main dialog. The dialog's template is - in Util6208.rc, which can be edited in Microsoft Visual C++. - - -///////////////////////////////////////////////////////////////////////////// - -Other Features: - -ActiveX Controls - The application includes support to use ActiveX controls. - -///////////////////////////////////////////////////////////////////////////// - -Other standard files: - -StdAfx.h, StdAfx.cpp - These files are used to build a precompiled header (PCH) file - named Util6208.pch and a precompiled types file named StdAfx.obj. - -Resource.h - This is the standard header file, which defines new resource IDs. - Microsoft Visual C++ reads and updates this file. - -Util6208.manifest - Application manifest files are used by Windows XP to describe an applications - dependency on specific versions of Side-by-Side assemblies. The loader uses this - information to load the appropriate assembly from the assembly cache or private - from the application. The Application manifest maybe included for redistribution - as an external .manifest file that is installed in the same folder as the application - executable or it may be included in the executable in the form of a resource. -///////////////////////////////////////////////////////////////////////////// - -Other notes: - -The application wizard uses "TODO:" to indicate parts of the source code you -should add to or customize. - -If your application uses MFC in a shared DLL, you will need -to redistribute the MFC DLLs. If your application is in a language -other than the operating system's locale, you will also have to -redistribute the corresponding localized resources MFC90XXX.DLL. -For more information on both of these topics, please see the section on -redistributing Visual C++ applications in MSDN documentation. - -///////////////////////////////////////////////////////////////////////////// diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/6208/SDK6208A/Util6208.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/6208/SDK6208A/Util6208.cpp deleted file mode 100644 index 74f2fec..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/6208/SDK6208A/Util6208.cpp +++ /dev/null @@ -1,111 +0,0 @@ - -// Util6208.cpp : Defines the class behaviors for the application. -// - -#include "stdafx.h" -#include "Util6208.h" -#include "Util6208Dlg.h" -#include "CardIDDlg.h" - -#ifdef _DEBUG -#define new DEBUG_NEW -#endif - - -// CUtil6208App - -BEGIN_MESSAGE_MAP(CUtil6208App, CWinAppEx) - ON_COMMAND(ID_HELP, &CWinApp::OnHelp) -END_MESSAGE_MAP() - - -// CUtil6208App construction - -CUtil6208App::CUtil6208App() -{ - // TODO: add construction code here, - // Place all significant initialization in InitInstance -} - - -// The one and only CUtil6208App object - -CUtil6208App theApp; - - -// CUtil6208App initialization - -BOOL CUtil6208App::InitInstance() -{ - int nCardID = 0; - I16 hCard; - CString strTemp; - INT_PTR nResponse; - - // InitCommonControlsEx() is required on Windows XP if an application - // manifest specifies use of ComCtl32.dll version 6 or later to enable - // visual styles. Otherwise, any window creation will fail. - INITCOMMONCONTROLSEX InitCtrls; - InitCtrls.dwSize = sizeof(InitCtrls); - // Set this to include all the common control classes you want to use - // in your application. - InitCtrls.dwICC = ICC_WIN95_CLASSES; - InitCommonControlsEx(&InitCtrls); - - CWinAppEx::InitInstance(); - - AfxEnableControlContainer(); - - // Standard initialization - // If you are not using these features and wish to reduce the size - // of your final executable, you should remove from the following - // the specific initialization routines you do not need - // Change the registry key under which our settings are stored - // TODO: You should modify this string to be something appropriate - // such as the name of your company or organization - SetRegistryKey(_T("Local AppWizard-Generated Applications")); - - - CCardIDDlg CardDlg( nCardID ); - - nResponse = CardDlg.DoModal(); - if (nResponse == IDOK) - { - nCardID = CardDlg.GetCardID(); - - if ((hCard=Register_Card(PCI_6208A, nCardID)) < 0) - { - strTemp.Format( TEXT("Register_Card Error = %d"), hCard); - AfxMessageBox( strTemp ); - } - else - { - CUtil6208Dlg dlg(hCard); - m_pMainWnd = &dlg; - nResponse = dlg.DoModal(); - if (nResponse == IDOK) - { - // TODO: Place code here to handle when the dialog is - // dismissed with OK - } - else if (nResponse == IDCANCEL) - { - // TODO: Place code here to handle when the dialog is - // dismissed with Cancel - } - - if (hCard >= 0) Release_Card(hCard); - } - - } - else if (nResponse == IDCANCEL) - { - // TODO: Place code here to handle when the dialog is - // dismissed with Cancel - } - - - // Since the dialog has been closed, return FALSE so that we exit the - // application, rather than start the application's message pump. - return FALSE; -} diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/6208/SDK6208A/Util6208.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/6208/SDK6208A/Util6208.h deleted file mode 100644 index 3797fea..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/6208/SDK6208A/Util6208.h +++ /dev/null @@ -1,32 +0,0 @@ - -// Util6208.h : main header file for the PROJECT_NAME application -// - -#pragma once - -#ifndef __AFXWIN_H__ - #error "include 'stdafx.h' before including this file for PCH" -#endif - -#include "resource.h" // main symbols - - -// CUtil6208App: -// See Util6208.cpp for the implementation of this class -// - -class CUtil6208App : public CWinAppEx -{ -public: - CUtil6208App(); - -// Overrides - public: - virtual BOOL InitInstance(); - -// Implementation - - DECLARE_MESSAGE_MAP() -}; - -extern CUtil6208App theApp; \ No newline at end of file diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/6208/SDK6208A/Util6208.rc b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/6208/SDK6208A/Util6208.rc deleted file mode 100644 index 1c0e140..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/6208/SDK6208A/Util6208.rc +++ /dev/null @@ -1,313 +0,0 @@ -// Microsoft Visual C++ generated resource script. -// -#include "resource.h" - -#define APSTUDIO_READONLY_SYMBOLS -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 2 resource. -// -#ifndef APSTUDIO_INVOKED -#include "targetver.h" -#endif -#include "afxres.h" - -///////////////////////////////////////////////////////////////////////////// -#undef APSTUDIO_READONLY_SYMBOLS - -///////////////////////////////////////////////////////////////////////////// -// Chinese (Taiwan) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_CHT) -#ifdef _WIN32 -LANGUAGE LANG_CHINESE, SUBLANG_CHINESE_TRADITIONAL -#pragma code_page(950) -#endif //_WIN32 - -#ifdef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// TEXTINCLUDE -// - -1 TEXTINCLUDE -BEGIN - "resource.h\0" -END - -2 TEXTINCLUDE -BEGIN - "#ifndef APSTUDIO_INVOKED\r\n" - "#include ""targetver.h""\r\n" - "#endif\r\n" - "#include ""afxres.h""\r\n" - "\0" -END - -3 TEXTINCLUDE -BEGIN - "#define _AFX_NO_SPLITTER_RESOURCES\r\n" - "#define _AFX_NO_OLE_RESOURCES\r\n" - "#define _AFX_NO_TRACKER_RESOURCES\r\n" - "#define _AFX_NO_PROPERTY_RESOURCES\r\n" - "\r\n" - "#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)\r\n" - "LANGUAGE 9, 1\r\n" - "#pragma code_page(1252)\r\n" - "#include ""res\\Util6208.rc2"" // non-Microsoft Visual C++ edited resources\r\n" - "#include ""afxres.rc"" // Standard components\r\n" - "#endif\r\n" - "\0" -END - -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// Icon -// - -// Icon with lowest ID value placed first to ensure application icon -// remains consistent on all systems. -IDR_MAINFRAME ICON "res\\Util6208.ico" - -///////////////////////////////////////////////////////////////////////////// -// -// HTML -// - -IDR_HTML_CARDIDDLG HTML "CardIDDlg.htm" -#endif // Chinese (Taiwan) resources -///////////////////////////////////////////////////////////////////////////// - - -///////////////////////////////////////////////////////////////////////////// -// English (U.S.) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -#ifdef _WIN32 -LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US -#pragma code_page(1252) -#endif //_WIN32 - -///////////////////////////////////////////////////////////////////////////// -// -// Icon -// - -// Icon with lowest ID value placed first to ensure application icon -// remains consistent on all systems. -IDI_ICON_BLACK ICON "res\\black.ico" -IDI_ICON_GREEN ICON "res\\green.ico" -IDI_ICON_RED ICON "res\\red.ico" - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog -// - -IDD_ABOUTBOX DIALOGEX 0, 0, 170, 62 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "About Util6208" -FONT 8, "MS Shell Dlg", 0, 0, 0x1 -BEGIN - ICON IDR_MAINFRAME,IDC_STATIC,14,14,21,20 - LTEXT "Util6208, Version 1.0",IDC_STATIC,42,14,114,8,SS_NOPREFIX - LTEXT "Copyright (C) 2010",IDC_STATIC,42,26,114,8 - DEFPUSHBUTTON "OK",IDOK,113,41,50,14,WS_GROUP -END - -IDD_UTIL6208_DIALOG DIALOGEX 0, 0, 421, 113 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU -EXSTYLE WS_EX_APPWINDOW -CAPTION "PCI-6208A" -FONT 8, "MS Shell Dlg", 0, 0, 0x1 -BEGIN - GROUPBOX "Digital Input",IDC_STATIC,8,7,105,43 - GROUPBOX "Digital Output",IDC_STATIC,122,7,105,43 - GROUPBOX "Current Output",IDC_STATIC,7,55,407,49 - CONTROL "",IDC_SLIDER_V0,"msctls_trackbar32",TBS_AUTOTICKS | TBS_TOP | WS_TABSTOP,312,78,83,18 - CONTROL "",IDC_SLIDER_V1,"msctls_trackbar32",TBS_AUTOTICKS | TBS_TOP | WS_TABSTOP,209,78,83,18 - CONTROL "",IDC_SLIDER_V2,"msctls_trackbar32",TBS_AUTOTICKS | TBS_TOP | WS_TABSTOP,109,78,83,18 - CONTROL "",IDC_SLIDER_V3,"msctls_trackbar32",TBS_AUTOTICKS | TBS_TOP | WS_TABSTOP,10,78,83,18 - LTEXT "4 20",IDC_STATIC,319,71,78,8 - LTEXT "4 20",IDC_STATIC,215,71,72,8 - LTEXT "4 20",IDC_STATIC,115,71,78,8 - LTEXT "4 20",IDC_STATIC,15,71,78,8 - ICON IDI_ICON_BLACK,IDC_ICON_DI0,86,14,21,20 - ICON IDI_ICON_BLACK,IDC_ICON_DI1,62,14,21,20 - ICON IDI_ICON_BLACK,IDC_ICON_DI2,38,14,21,20 - ICON IDI_ICON_BLACK,IDC_ICON_DI3,14,14,21,20 - CONTROL "",IDC_CHECK_DO0,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE | WS_TABSTOP,203,16,18,19 - CONTROL "",IDC_CHECK_DO1,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE | WS_TABSTOP,179,16,18,19 - CONTROL "",IDC_CHECK_DO2,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE | WS_TABSTOP,155,16,18,19 - CONTROL "",IDC_CHECK_DO3,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE | WS_TABSTOP,131,16,18,19 - LTEXT "DO3 DO2 DO1 DO0",IDC_STATIC,133,38,89,9 - LTEXT "DI3 DI2 DI1 DI0",IDC_STATIC,25,38,84,9 -END - -IDD_CARDID_DIALOG DIALOGEX 0, 0, 184, 96 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "Card ID" -FONT 8, "MS Shell Dlg", 400, 0, 0x1 -BEGIN - COMBOBOX IDC_COMBO_CARDID,81,21,71,126,CBS_DROPDOWN | WS_VSCROLL | WS_TABSTOP - LTEXT "Card Number",IDC_STATIC_01,27,22,46,12 - PUSHBUTTON "OK",IDOK,28,54,58,19 - PUSHBUTTON "CANCEL",IDCANCEL,92,54,58,19 -END - - -///////////////////////////////////////////////////////////////////////////// -// -// Version -// - -VS_VERSION_INFO VERSIONINFO - FILEVERSION 1,0,0,1 - PRODUCTVERSION 1,0,0,1 - FILEFLAGSMASK 0x3fL -#ifdef _DEBUG - FILEFLAGS 0x1L -#else - FILEFLAGS 0x0L -#endif - FILEOS 0x4L - FILETYPE 0x1L - FILESUBTYPE 0x0L -BEGIN - BLOCK "StringFileInfo" - BEGIN - BLOCK "040904e4" - BEGIN - VALUE "CompanyName", "TODO: " - VALUE "FileDescription", "TODO: " - VALUE "FileVersion", "1.0.0.1" - VALUE "InternalName", "Util6208.exe" - VALUE "LegalCopyright", "TODO: (c) . All rights reserved." - VALUE "OriginalFilename", "Util6208.exe" - VALUE "ProductName", "TODO: " - VALUE "ProductVersion", "1.0.0.1" - END - END - BLOCK "VarFileInfo" - BEGIN - VALUE "Translation", 0x409, 1252 - END -END - - -///////////////////////////////////////////////////////////////////////////// -// -// DESIGNINFO -// - -#ifdef APSTUDIO_INVOKED -GUIDELINES DESIGNINFO -BEGIN - IDD_ABOUTBOX, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 163 - TOPMARGIN, 7 - BOTTOMMARGIN, 55 - END - - IDD_UTIL6208_DIALOG, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 414 - TOPMARGIN, 7 - BOTTOMMARGIN, 106 - END - - IDD_CARDID_DIALOG, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 177 - TOPMARGIN, 7 - BOTTOMMARGIN, 89 - END -END -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog Info -// - -IDD_CARDID_DIALOG DLGINIT -BEGIN - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0030, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0031, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0032, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0033, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0034, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0035, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0036, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0037, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0038, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0039, - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3031, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3131, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3231, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3331, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3431, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3531, "\000" - 0 -END - - -///////////////////////////////////////////////////////////////////////////// -// -// String Table -// - -STRINGTABLE -BEGIN - IDS_ABOUTBOX "&About Util6208..." -END - -#endif // English (U.S.) resources -///////////////////////////////////////////////////////////////////////////// - - - -#ifndef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 3 resource. -// -#define _AFX_NO_SPLITTER_RESOURCES -#define _AFX_NO_OLE_RESOURCES -#define _AFX_NO_TRACKER_RESOURCES -#define _AFX_NO_PROPERTY_RESOURCES - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -LANGUAGE 9, 1 -#pragma code_page(1252) -#include "res\Util6208.rc2" // non-Microsoft Visual C++ edited resources -#include "afxres.rc" // Standard components -#endif - -///////////////////////////////////////////////////////////////////////////// -#endif // not APSTUDIO_INVOKED - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/6208/SDK6208A/Util6208.sln b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/6208/SDK6208A/Util6208.sln deleted file mode 100644 index 7f034e0..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/6208/SDK6208A/Util6208.sln +++ /dev/null @@ -1,20 +0,0 @@ - -Microsoft Visual Studio Solution File, Format Version 10.00 -# Visual Studio 2008 -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "Util6208", "Util6208.vcproj", "{2FFCCECD-450F-491F-90C4-37AA2664BD85}" -EndProject -Global - GlobalSection(SolutionConfigurationPlatforms) = preSolution - Debug|x64 = Debug|x64 - Release|x64 = Release|x64 - EndGlobalSection - GlobalSection(ProjectConfigurationPlatforms) = postSolution - {2FFCCECD-450F-491F-90C4-37AA2664BD85}.Debug|x64.ActiveCfg = Debug|x64 - {2FFCCECD-450F-491F-90C4-37AA2664BD85}.Debug|x64.Build.0 = Debug|x64 - {2FFCCECD-450F-491F-90C4-37AA2664BD85}.Release|x64.ActiveCfg = Release|x64 - {2FFCCECD-450F-491F-90C4-37AA2664BD85}.Release|x64.Build.0 = Release|x64 - EndGlobalSection - GlobalSection(SolutionProperties) = preSolution - HideSolutionNode = FALSE - EndGlobalSection -EndGlobal diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/6208/SDK6208A/Util6208.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/6208/SDK6208A/Util6208.suo deleted file mode 100644 index b7d81a1..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/6208/SDK6208A/Util6208.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/6208/SDK6208A/Util6208.vcproj b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/6208/SDK6208A/Util6208.vcproj deleted file mode 100644 index 4cc5acc..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/6208/SDK6208A/Util6208.vcproj +++ /dev/null @@ -1,307 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/6208/SDK6208A/Util6208Dlg.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/6208/SDK6208A/Util6208Dlg.cpp deleted file mode 100644 index b223819..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/6208/SDK6208A/Util6208Dlg.cpp +++ /dev/null @@ -1,404 +0,0 @@ - -// Util6208Dlg.cpp : implementation file -// - -#include "stdafx.h" -#include "math.h" -#include "Util6208.h" -#include "Util6208Dlg.h" - -#ifdef _DEBUG -#define new DEBUG_NEW -#endif - - -// CAboutDlg dialog used for App About - -class CAboutDlg : public CDialog -{ -public: - CAboutDlg(); - -// Dialog Data - enum { IDD = IDD_ABOUTBOX }; - - protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - -// Implementation -protected: - DECLARE_MESSAGE_MAP() -}; - -CAboutDlg::CAboutDlg() : CDialog(CAboutDlg::IDD) -{ -} - -void CAboutDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); -} - -BEGIN_MESSAGE_MAP(CAboutDlg, CDialog) -END_MESSAGE_MAP() - - -// CUtil6208Dlg dialog - - - - -CUtil6208Dlg::CUtil6208Dlg(I16 hCard, CWnd* pParent /*=NULL*/) - : CDialog(CUtil6208Dlg::IDD, pParent) -{ - int i; - - m_hIcon = AfxGetApp()->LoadIcon(IDR_MAINFRAME); - m_hCard = hCard; - - - for( i=0; iAppendMenu(MF_SEPARATOR); - pSysMenu->AppendMenu(MF_STRING, IDM_ABOUTBOX, strAboutMenu); - } - } - - // Set the icon for this dialog. The framework does this automatically - // when the application's main window is not a dialog - SetIcon(m_hIcon, TRUE); // Set big icon - SetIcon(m_hIcon, FALSE); // Set small icon - - // TODO: Add extra initialization here - - m_sdAOLevel0.SetRange( 0, 32767, TRUE ); - m_sdAOLevel0.SetTicFreq( 5 ); - - m_sdAOLevel1.SetRange( 0, 32767, TRUE ); - m_sdAOLevel1.SetTicFreq( 5 ); - - m_sdAOLevel2.SetRange( 0, 32767, TRUE ); - m_sdAOLevel2.SetTicFreq( 5 ); - - m_sdAOLevel3.SetRange( 0, 32767, TRUE ); - m_sdAOLevel3.SetTicFreq( 5 ); - - m_nTimer = SetTimer( 1, 200, NULL ); - - return TRUE; // return TRUE unless you set the focus to a control -} - -void CUtil6208Dlg::OnSysCommand(UINT nID, LPARAM lParam) -{ - if ((nID & 0xFFF0) == IDM_ABOUTBOX) - { - CAboutDlg dlgAbout; - dlgAbout.DoModal(); - } - else - { - CDialog::OnSysCommand(nID, lParam); - } -} - -// If you add a minimize button to your dialog, you will need the code below -// to draw the icon. For MFC applications using the document/view model, -// this is automatically done for you by the framework. - -void CUtil6208Dlg::OnPaint() -{ - if (IsIconic()) - { - CPaintDC dc(this); // device context for painting - - SendMessage(WM_ICONERASEBKGND, reinterpret_cast(dc.GetSafeHdc()), 0); - - // Center icon in client rectangle - int cxIcon = GetSystemMetrics(SM_CXICON); - int cyIcon = GetSystemMetrics(SM_CYICON); - CRect rect; - GetClientRect(&rect); - int x = (rect.Width() - cxIcon + 1) / 2; - int y = (rect.Height() - cyIcon + 1) / 2; - - // Draw the icon - dc.DrawIcon(x, y, m_hIcon); - } - else - { - CDialog::OnPaint(); - } -} - -// The system calls this function to obtain the cursor to display while the user drags -// the minimized window. -HCURSOR CUtil6208Dlg::OnQueryDragIcon() -{ - return static_cast(m_hIcon); -} - - -void CUtil6208Dlg::OnDO0Clicked() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_DO0 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_bDOData |= 0x01; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_bDOData &= (~0x01); - } - - DO_WritePort( m_hCard, 0, m_bDOData ); -} - -void CUtil6208Dlg::OnDO1Clicked() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_DO1 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_bDOData |= 0x02; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_bDOData &= (~0x02); - } - - DO_WritePort( m_hCard, 0, m_bDOData ); -} - -void CUtil6208Dlg::OnDO2Clicked() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_DO2 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_bDOData |= 0x04; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_bDOData &= (~0x04); - } - - DO_WritePort( m_hCard, 0, m_bDOData ); -} - -void CUtil6208Dlg::OnDO3Clicked() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_DO3 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_bDOData |= 0x08; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_bDOData &= (~0x08); - } - - DO_WritePort( m_hCard, 0, m_bDOData ); -} - -void CUtil6208Dlg::OnTimer(UINT_PTR nIDEvent) -{ - // TODO: Add your message handler code here and/or call default - U32 dwPortData; - - DI_ReadPort( m_hCard, 0, &dwPortData); - - dwPortData = ( dwPortData & 0x0F ); - - if( dwPortData != m_bDIData ) - { - - m_bDIData = (U8)( dwPortData & 0xFF ); - - if( (dwPortData & 0x01) == 0x01 ) - { - m_DI0_ON.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_DI0_ON.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - - if( (dwPortData & 0x02) == 0x02 ) - { - m_DI1_ON.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_DI1_ON.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - - if( (dwPortData & 0x04) == 0x04 ) - { - m_DI2_ON.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_DI2_ON.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - - if( (dwPortData & 0x08) == 0x08 ) - { - m_DI3_ON.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_DI3_ON.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - CDialog::OnTimer(nIDEvent); -} - -void CUtil6208Dlg::OnDestroy() -{ - CDialog::OnDestroy(); - - // TODO: Add your message handler code here - if( m_nTimer != -1 ) - KillTimer( m_nTimer ); -} - - -void CUtil6208Dlg::OnSliderV0Changed(NMHDR *pNMHDR, LRESULT *pResult) -{ - // TODO: Add your control notification handler code here - int position; - - position = m_sdAOLevel0.GetPos(); - - m_AOValue[0] = m_AOValue[1] = position; - - AO_WriteChannel(m_hCard, 0, (I16)m_AOValue[0] ); - AO_WriteChannel(m_hCard, 1, (I16)m_AOValue[1] ); - - *pResult = 0; -} - - -void CUtil6208Dlg::OnSliderV1Changed(NMHDR *pNMHDR, LRESULT *pResult) -{ - // TODO: Add your control notification handler code here - int position; - - position = m_sdAOLevel1.GetPos(); - - m_AOValue[2] = m_AOValue[3] = position; - - AO_WriteChannel(m_hCard, 2, (I16)m_AOValue[2] ); - AO_WriteChannel(m_hCard, 3, (I16)m_AOValue[3] ); - - *pResult = 0; -} - - -void CUtil6208Dlg::OnSliderV2Changed(NMHDR *pNMHDR, LRESULT *pResult) -{ - // TODO: Add your control notification handler code here - int position; - - position = m_sdAOLevel2.GetPos(); - - m_AOValue[4] = m_AOValue[5] = position; - - AO_WriteChannel(m_hCard, 4, (I16)m_AOValue[4] ); - AO_WriteChannel(m_hCard, 5, (I16)m_AOValue[5] ); - - *pResult = 0; -} - -void CUtil6208Dlg::OnSliderV3Changed(NMHDR *pNMHDR, LRESULT *pResult) -{ - // TODO: Add your control notification handler code here - int position; - - position = m_sdAOLevel3.GetPos(); - - m_AOValue[6] = m_AOValue[7] = position; - - AO_WriteChannel(m_hCard, 6, (I16)m_AOValue[6] ); - AO_WriteChannel(m_hCard, 7, (I16)m_AOValue[7] ); - - *pResult = 0; -} - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/6208/SDK6208A/Util6208Dlg.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/6208/SDK6208A/Util6208Dlg.h deleted file mode 100644 index e25658f..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/6208/SDK6208A/Util6208Dlg.h +++ /dev/null @@ -1,60 +0,0 @@ - -// Util6208Dlg.h : header file -// -#include "Dask64.h" - -#pragma once - -#define MAX_AO_CHANNELS 8 - -// CUtil6208Dlg dialog -class CUtil6208Dlg : public CDialog -{ -// Construction -public: - CUtil6208Dlg(I16 hCard, CWnd* pParent = NULL); // standard constructor - -// Dialog Data - enum { IDD = IDD_UTIL6208_DIALOG }; - -protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - -public: - // the CardID of targer device - I16 m_hCard; - UINT_PTR m_nTimer; - U8 m_bDIData; - U8 m_bDOData; - int m_AOValue[MAX_AO_CHANNELS]; - -// Implementation -protected: - HICON m_hIcon; - - // Generated message map functions - virtual BOOL OnInitDialog(); - afx_msg void OnSysCommand(UINT nID, LPARAM lParam); - afx_msg void OnPaint(); - afx_msg HCURSOR OnQueryDragIcon(); - DECLARE_MESSAGE_MAP() -public: - CStatic m_DI0_ON; - CStatic m_DI1_ON; - CStatic m_DI2_ON; - CStatic m_DI3_ON; - CSliderCtrl m_sdAOLevel0; - CSliderCtrl m_sdAOLevel1; - CSliderCtrl m_sdAOLevel2; - CSliderCtrl m_sdAOLevel3; - afx_msg void OnDO0Clicked(); - afx_msg void OnDO1Clicked(); - afx_msg void OnDO2Clicked(); - afx_msg void OnDO3Clicked(); - afx_msg void OnTimer(UINT_PTR nIDEvent); - afx_msg void OnDestroy(); - afx_msg void OnSliderV3Changed(NMHDR *pNMHDR, LRESULT *pResult); - afx_msg void OnSliderV2Changed(NMHDR *pNMHDR, LRESULT *pResult); - afx_msg void OnSliderV1Changed(NMHDR *pNMHDR, LRESULT *pResult); - afx_msg void OnSliderV0Changed(NMHDR *pNMHDR, LRESULT *pResult); -}; diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/6208/SDK6208A/res/Util6208.ico b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/6208/SDK6208A/res/Util6208.ico deleted file mode 100644 index d56fbcd..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/6208/SDK6208A/res/Util6208.ico and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/6208/SDK6208A/res/Util6208.rc2 b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/6208/SDK6208A/res/Util6208.rc2 deleted file mode 100644 index b4824e7..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/6208/SDK6208A/res/Util6208.rc2 +++ /dev/null @@ -1,13 +0,0 @@ -// -// Util6208.RC2 - resources Microsoft Visual C++ does not edit directly -// - -#ifdef APSTUDIO_INVOKED -#error this file is not editable by Microsoft Visual C++ -#endif //APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// Add manually edited resources here... - -///////////////////////////////////////////////////////////////////////////// diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/6208/SDK6208A/res/black.ico b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/6208/SDK6208A/res/black.ico deleted file mode 100644 index b5c375f..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/6208/SDK6208A/res/black.ico and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/6208/SDK6208A/res/blue.ico b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/6208/SDK6208A/res/blue.ico deleted file mode 100644 index 1df4b39..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/6208/SDK6208A/res/blue.ico and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/6208/SDK6208A/res/green.ico b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/6208/SDK6208A/res/green.ico deleted file mode 100644 index d9a9fd3..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/6208/SDK6208A/res/green.ico and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/6208/SDK6208A/res/icon1.ico b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/6208/SDK6208A/res/icon1.ico deleted file mode 100644 index f1282c6..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/6208/SDK6208A/res/icon1.ico and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/6208/SDK6208A/res/pink.ico b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/6208/SDK6208A/res/pink.ico deleted file mode 100644 index 18bdaad..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/6208/SDK6208A/res/pink.ico and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/6208/SDK6208A/res/red.ico b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/6208/SDK6208A/res/red.ico deleted file mode 100644 index 7644596..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/6208/SDK6208A/res/red.ico and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/6208/SDK6208A/res/yellow.ico b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/6208/SDK6208A/res/yellow.ico deleted file mode 100644 index 3449de2..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/6208/SDK6208A/res/yellow.ico and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/6208/SDK6208A/resource.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/6208/SDK6208A/resource.h deleted file mode 100644 index 04055a1..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/6208/SDK6208A/resource.h +++ /dev/null @@ -1,39 +0,0 @@ -//{{NO_DEPENDENCIES}} -// Microsoft Visual C++ generated include file. -// Used by Util6208.rc -// -#define IDM_ABOUTBOX 0x0010 -#define IDD_ABOUTBOX 100 -#define IDS_ABOUTBOX 101 -#define IDD_UTIL6208_DIALOG 102 -#define IDR_HTML_CARDIDDLG 103 -#define IDR_MAINFRAME 128 -#define IDI_ICON_BLACK 131 -#define IDI_ICON_GREEN 132 -#define IDI_ICON_RED 133 -#define IDD_CARDID_DIALOG 134 -#define IDC_COMBO_CARDID 1000 -#define IDC_SLIDER_V0 1008 -#define IDC_SLIDER_V1 1009 -#define IDC_SLIDER_V2 1010 -#define IDC_SLIDER_V3 1011 -#define IDC_ICON_DI0 1012 -#define IDC_ICON_DI1 1013 -#define IDC_ICON_DI2 1014 -#define IDC_STATIC_01 1014 -#define IDC_ICON_DI3 1015 -#define IDC_CHECK_DO0 1016 -#define IDC_CHECK_DO1 1017 -#define IDC_CHECK_DO2 1018 -#define IDC_CHECK_DO3 1019 - -// Next default values for new objects -// -#ifdef APSTUDIO_INVOKED -#ifndef APSTUDIO_READONLY_SYMBOLS -#define _APS_NEXT_RESOURCE_VALUE 136 -#define _APS_NEXT_COMMAND_VALUE 32771 -#define _APS_NEXT_CONTROL_VALUE 1009 -#define _APS_NEXT_SYMED_VALUE 104 -#endif -#endif diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/6208/SDK6208A/stdafx.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/6208/SDK6208A/stdafx.cpp deleted file mode 100644 index 88d29f0..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/6208/SDK6208A/stdafx.cpp +++ /dev/null @@ -1,8 +0,0 @@ - -// stdafx.cpp : source file that includes just the standard includes -// Util6208.pch will be the pre-compiled header -// stdafx.obj will contain the pre-compiled type information - -#include "stdafx.h" - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/6208/SDK6208A/stdafx.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/6208/SDK6208A/stdafx.h deleted file mode 100644 index e0d8125..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/6208/SDK6208A/stdafx.h +++ /dev/null @@ -1,61 +0,0 @@ - -// stdafx.h : include file for standard system include files, -// or project specific include files that are used frequently, -// but are changed infrequently - -#pragma once - -#ifndef _SECURE_ATL -#define _SECURE_ATL 1 -#endif - -#ifndef VC_EXTRALEAN -#define VC_EXTRALEAN // Exclude rarely-used stuff from Windows headers -#endif - -#include "targetver.h" - -#define _ATL_CSTRING_EXPLICIT_CONSTRUCTORS // some CString constructors will be explicit - -// turns off MFC's hiding of some common and often safely ignored warning messages -#define _AFX_ALL_WARNINGS - -#include // MFC core and standard components -#include // MFC extensions - - -#include // MFC Automation classes - - - -#ifndef _AFX_NO_OLE_SUPPORT -#include // MFC support for Internet Explorer 4 Common Controls -#endif -#ifndef _AFX_NO_AFXCMN_SUPPORT -#include // MFC support for Windows Common Controls -#endif // _AFX_NO_AFXCMN_SUPPORT - -#include // MFC support for ribbons and control bars -#include - - - - - - - - - -#ifdef _UNICODE -#if defined _M_IX86 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='x86' publicKeyToken='6595b64144ccf1df' language='*'\"") -#elif defined _M_IA64 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='ia64' publicKeyToken='6595b64144ccf1df' language='*'\"") -#elif defined _M_X64 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='amd64' publicKeyToken='6595b64144ccf1df' language='*'\"") -#else -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='*' publicKeyToken='6595b64144ccf1df' language='*'\"") -#endif -#endif - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/6208/SDK6208A/targetver.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/6208/SDK6208A/targetver.h deleted file mode 100644 index 11730d5..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/6208/SDK6208A/targetver.h +++ /dev/null @@ -1,26 +0,0 @@ - -#pragma once - -// The following macros define the minimum required platform. The minimum required platform -// is the earliest version of Windows, Internet Explorer etc. that has the necessary features to run -// your application. The macros work by enabling all features available on platform versions up to and -// including the version specified. - -// Modify the following defines if you have to target a platform prior to the ones specified below. -// Refer to MSDN for the latest info on corresponding values for different platforms. -#ifndef WINVER // Specifies that the minimum required platform is Windows Vista. -#define WINVER 0x0600 // Change this to the appropriate value to target other versions of Windows. -#endif - -#ifndef _WIN32_WINNT // Specifies that the minimum required platform is Windows Vista. -#define _WIN32_WINNT 0x0600 // Change this to the appropriate value to target other versions of Windows. -#endif - -#ifndef _WIN32_WINDOWS // Specifies that the minimum required platform is Windows 98. -#define _WIN32_WINDOWS 0x0410 // Change this to the appropriate value to target Windows Me or later. -#endif - -#ifndef _WIN32_IE // Specifies that the minimum required platform is Internet Explorer 7.0. -#define _WIN32_IE 0x0700 // Change this to the appropriate value to target other versions of IE. -#endif - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/6208/SDK6208V/CardIDDlg.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/6208/SDK6208V/CardIDDlg.cpp deleted file mode 100644 index de74eef..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/6208/SDK6208V/CardIDDlg.cpp +++ /dev/null @@ -1,67 +0,0 @@ -// CardIDDlg.cpp : implementation file -// - -#include "stdafx.h" -#include "Util6208.h" -#include "CardIDDlg.h" - - -// CCardIDDlg dialog - -IMPLEMENT_DYNAMIC(CCardIDDlg, CDialog) - -CCardIDDlg::CCardIDDlg(int nCardIdx, CWnd* pParent /*=NULL*/) - : CDialog(CCardIDDlg::IDD, pParent) -{ - m_nCardIdx = nCardIdx; -} - -CCardIDDlg::~CCardIDDlg() -{ -} - -void CCardIDDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); - DDX_Control(pDX, IDC_COMBO_CARDID, m_cbCardID); -} - - -BEGIN_MESSAGE_MAP(CCardIDDlg, CDialog) -// ON_CBN_SELCHANGE(IDC_COMBO_CARDID, &CCardIDDlg::OnCbnSelchangeComboCardid) -ON_BN_CLICKED(IDOK, &CCardIDDlg::OnBnClickedOk) -//ON_WM_CTLCOLOR() -END_MESSAGE_MAP() - - -// CCardIDDlg message handlers - - -void CCardIDDlg::OnBnClickedOk() -{ - // TODO: Add your control notification handler code here - -// UpdateData(TRUE); - m_nCardIdx = m_cbCardID.GetCurSel(); - - OnOK(); -} - -BOOL CCardIDDlg::OnInitDialog() -{ - CDialog::OnInitDialog(); - - // TODO: Add extra initialization here - m_cbCardID.SetCurSel( m_nCardIdx ); - - return TRUE; // return TRUE unless you set the focus to a control - // EXCEPTION: OCX Property Pages should return FALSE -} - -// the function to get the selected CardID -int CCardIDDlg::GetCardID(void) -{ - return m_nCardIdx; -} - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/6208/SDK6208V/CardIDDlg.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/6208/SDK6208V/CardIDDlg.h deleted file mode 100644 index 54628ea..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/6208/SDK6208V/CardIDDlg.h +++ /dev/null @@ -1,33 +0,0 @@ -#pragma once -#include "afxwin.h" - - -// CCardIDDlg dialog - -class CCardIDDlg : public CDialog -{ - DECLARE_DYNAMIC(CCardIDDlg) - -public: - CCardIDDlg(int nCardIdx, CWnd* pParent = NULL); // standard constructor - virtual ~CCardIDDlg(); - -// Dialog Data - enum { IDD = IDD_CARDID_DIALOG }; - -protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - - DECLARE_MESSAGE_MAP() -public: -// afx_msg void OnCbnSelchangeComboCardid(); - afx_msg void OnBnClickedOk(); - // the setting of CardID ComboBox - int m_nCardIdx; - virtual BOOL OnInitDialog(); - // the control of CardID ComboBox - CComboBox m_cbCardID; - // the function to get the selected CardID - int GetCardID(void); -// afx_msg HBRUSH OnCtlColor(CDC* pDC, CWnd* pWnd, UINT nCtlColor); -}; diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/6208/SDK6208V/CardIDDlg.htm b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/6208/SDK6208V/CardIDDlg.htm deleted file mode 100644 index 90caca0..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/6208/SDK6208V/CardIDDlg.htm +++ /dev/null @@ -1,19 +0,0 @@ - - - - - - - - - - -
-
- -
-TODO: Place controls here. -
- - - \ No newline at end of file diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/6208/SDK6208V/ReadMe.txt b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/6208/SDK6208V/ReadMe.txt deleted file mode 100644 index a984479..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/6208/SDK6208V/ReadMe.txt +++ /dev/null @@ -1,93 +0,0 @@ -================================================================================ - MICROSOFT FOUNDATION CLASS LIBRARY : Util6208 Project Overview -=============================================================================== - -The application wizard has created this Util6208 application for -you. This application not only demonstrates the basics of using the Microsoft -Foundation Classes but is also a starting point for writing your application. - -This file contains a summary of what you will find in each of the files that -make up your Util6208 application. - -Util6208.vcproj - This is the main project file for VC++ projects generated using an application wizard. - It contains information about the version of Visual C++ that generated the file, and - information about the platforms, configurations, and project features selected with the - application wizard. - -Util6208.h - This is the main header file for the application. It includes other - project specific headers (including Resource.h) and declares the - CUtil6208App application class. - -Util6208.cpp - This is the main application source file that contains the application - class CUtil6208App. - -Util6208.rc - This is a listing of all of the Microsoft Windows resources that the - program uses. It includes the icons, bitmaps, and cursors that are stored - in the RES subdirectory. This file can be directly edited in Microsoft - Visual C++. Your project resources are in 1033. - -res\Util6208.ico - This is an icon file, which is used as the application's icon. This - icon is included by the main resource file Util6208.rc. - -res\Util6208.rc2 - This file contains resources that are not edited by Microsoft - Visual C++. You should place all resources not editable by - the resource editor in this file. - - -///////////////////////////////////////////////////////////////////////////// - -The application wizard creates one dialog class: - -Util6208Dlg.h, Util6208Dlg.cpp - the dialog - These files contain your CUtil6208Dlg class. This class defines - the behavior of your application's main dialog. The dialog's template is - in Util6208.rc, which can be edited in Microsoft Visual C++. - - -///////////////////////////////////////////////////////////////////////////// - -Other Features: - -ActiveX Controls - The application includes support to use ActiveX controls. - -///////////////////////////////////////////////////////////////////////////// - -Other standard files: - -StdAfx.h, StdAfx.cpp - These files are used to build a precompiled header (PCH) file - named Util6208.pch and a precompiled types file named StdAfx.obj. - -Resource.h - This is the standard header file, which defines new resource IDs. - Microsoft Visual C++ reads and updates this file. - -Util6208.manifest - Application manifest files are used by Windows XP to describe an applications - dependency on specific versions of Side-by-Side assemblies. The loader uses this - information to load the appropriate assembly from the assembly cache or private - from the application. The Application manifest maybe included for redistribution - as an external .manifest file that is installed in the same folder as the application - executable or it may be included in the executable in the form of a resource. -///////////////////////////////////////////////////////////////////////////// - -Other notes: - -The application wizard uses "TODO:" to indicate parts of the source code you -should add to or customize. - -If your application uses MFC in a shared DLL, you will need -to redistribute the MFC DLLs. If your application is in a language -other than the operating system's locale, you will also have to -redistribute the corresponding localized resources MFC90XXX.DLL. -For more information on both of these topics, please see the section on -redistributing Visual C++ applications in MSDN documentation. - -///////////////////////////////////////////////////////////////////////////// diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/6208/SDK6208V/Util6208.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/6208/SDK6208V/Util6208.cpp deleted file mode 100644 index e7cef79..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/6208/SDK6208V/Util6208.cpp +++ /dev/null @@ -1,111 +0,0 @@ - -// Util6208.cpp : Defines the class behaviors for the application. -// - -#include "stdafx.h" -#include "Util6208.h" -#include "Util6208Dlg.h" -#include "CardIDDlg.h" - -#ifdef _DEBUG -#define new DEBUG_NEW -#endif - - -// CUtil6208App - -BEGIN_MESSAGE_MAP(CUtil6208App, CWinAppEx) - ON_COMMAND(ID_HELP, &CWinApp::OnHelp) -END_MESSAGE_MAP() - - -// CUtil6208App construction - -CUtil6208App::CUtil6208App() -{ - // TODO: add construction code here, - // Place all significant initialization in InitInstance -} - - -// The one and only CUtil6208App object - -CUtil6208App theApp; - - -// CUtil6208App initialization - -BOOL CUtil6208App::InitInstance() -{ - int nCardID = 0; - I16 hCard; - CString strTemp; - INT_PTR nResponse; - - // InitCommonControlsEx() is required on Windows XP if an application - // manifest specifies use of ComCtl32.dll version 6 or later to enable - // visual styles. Otherwise, any window creation will fail. - INITCOMMONCONTROLSEX InitCtrls; - InitCtrls.dwSize = sizeof(InitCtrls); - // Set this to include all the common control classes you want to use - // in your application. - InitCtrls.dwICC = ICC_WIN95_CLASSES; - InitCommonControlsEx(&InitCtrls); - - CWinAppEx::InitInstance(); - - AfxEnableControlContainer(); - - // Standard initialization - // If you are not using these features and wish to reduce the size - // of your final executable, you should remove from the following - // the specific initialization routines you do not need - // Change the registry key under which our settings are stored - // TODO: You should modify this string to be something appropriate - // such as the name of your company or organization - SetRegistryKey(_T("Local AppWizard-Generated Applications")); - - - CCardIDDlg CardDlg( nCardID ); - - nResponse = CardDlg.DoModal(); - if (nResponse == IDOK) - { - nCardID = CardDlg.GetCardID(); - - if ((hCard=Register_Card(PCI_6208V, nCardID)) < 0) - { - strTemp.Format( TEXT("Register_Card Error = %d"), hCard); - AfxMessageBox( strTemp ); - } - else - { - CUtil6208Dlg dlg(hCard); - m_pMainWnd = &dlg; - nResponse = dlg.DoModal(); - if (nResponse == IDOK) - { - // TODO: Place code here to handle when the dialog is - // dismissed with OK - } - else if (nResponse == IDCANCEL) - { - // TODO: Place code here to handle when the dialog is - // dismissed with Cancel - } - - if (hCard >= 0) Release_Card(hCard); - } - - } - else if (nResponse == IDCANCEL) - { - // TODO: Place code here to handle when the dialog is - // dismissed with Cancel - } - - - // Since the dialog has been closed, return FALSE so that we exit the - // application, rather than start the application's message pump. - return FALSE; -} diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/6208/SDK6208V/Util6208.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/6208/SDK6208V/Util6208.h deleted file mode 100644 index 3797fea..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/6208/SDK6208V/Util6208.h +++ /dev/null @@ -1,32 +0,0 @@ - -// Util6208.h : main header file for the PROJECT_NAME application -// - -#pragma once - -#ifndef __AFXWIN_H__ - #error "include 'stdafx.h' before including this file for PCH" -#endif - -#include "resource.h" // main symbols - - -// CUtil6208App: -// See Util6208.cpp for the implementation of this class -// - -class CUtil6208App : public CWinAppEx -{ -public: - CUtil6208App(); - -// Overrides - public: - virtual BOOL InitInstance(); - -// Implementation - - DECLARE_MESSAGE_MAP() -}; - -extern CUtil6208App theApp; \ No newline at end of file diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/6208/SDK6208V/Util6208.rc b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/6208/SDK6208V/Util6208.rc deleted file mode 100644 index 108a6d6..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/6208/SDK6208V/Util6208.rc +++ /dev/null @@ -1,382 +0,0 @@ -// Microsoft Visual C++ generated resource script. -// -#include "resource.h" - -#define APSTUDIO_READONLY_SYMBOLS -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 2 resource. -// -#ifndef APSTUDIO_INVOKED -#include "targetver.h" -#endif -#include "afxres.h" - -///////////////////////////////////////////////////////////////////////////// -#undef APSTUDIO_READONLY_SYMBOLS - -///////////////////////////////////////////////////////////////////////////// -// Chinese (Taiwan) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_CHT) -#ifdef _WIN32 -LANGUAGE LANG_CHINESE, SUBLANG_CHINESE_TRADITIONAL -#pragma code_page(950) -#endif //_WIN32 - -#ifdef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// TEXTINCLUDE -// - -1 TEXTINCLUDE -BEGIN - "resource.h\0" -END - -2 TEXTINCLUDE -BEGIN - "#ifndef APSTUDIO_INVOKED\r\n" - "#include ""targetver.h""\r\n" - "#endif\r\n" - "#include ""afxres.h""\r\n" - "\0" -END - -3 TEXTINCLUDE -BEGIN - "#define _AFX_NO_SPLITTER_RESOURCES\r\n" - "#define _AFX_NO_OLE_RESOURCES\r\n" - "#define _AFX_NO_TRACKER_RESOURCES\r\n" - "#define _AFX_NO_PROPERTY_RESOURCES\r\n" - "\r\n" - "#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)\r\n" - "LANGUAGE 9, 1\r\n" - "#pragma code_page(1252)\r\n" - "#include ""res\\Util6208.rc2"" // non-Microsoft Visual C++ edited resources\r\n" - "#include ""afxres.rc"" // Standard components\r\n" - "#endif\r\n" - "\0" -END - -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// Icon -// - -// Icon with lowest ID value placed first to ensure application icon -// remains consistent on all systems. -IDR_MAINFRAME ICON "res\\Util6208.ico" - -///////////////////////////////////////////////////////////////////////////// -// -// HTML -// - -IDR_HTML_CARDIDDLG HTML "CardIDDlg.htm" -#endif // Chinese (Taiwan) resources -///////////////////////////////////////////////////////////////////////////// - - -///////////////////////////////////////////////////////////////////////////// -// English (U.S.) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -#ifdef _WIN32 -LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US -#pragma code_page(1252) -#endif //_WIN32 - -///////////////////////////////////////////////////////////////////////////// -// -// Icon -// - -// Icon with lowest ID value placed first to ensure application icon -// remains consistent on all systems. -IDI_ICON_BLACK ICON "res\\black.ico" -IDI_ICON_GREEN ICON "res\\green.ico" -IDI_ICON_RED ICON "res\\red.ico" - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog -// - -IDD_ABOUTBOX DIALOGEX 0, 0, 170, 62 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "About Util6208" -FONT 8, "MS Shell Dlg", 0, 0, 0x1 -BEGIN - ICON IDR_MAINFRAME,IDC_STATIC,14,14,21,20 - LTEXT "Util6208, Version 1.0",IDC_STATIC,42,14,114,8,SS_NOPREFIX - LTEXT "Copyright (C) 2010",IDC_STATIC,42,26,114,8 - DEFPUSHBUTTON "OK",IDOK,113,41,50,14,WS_GROUP -END - -IDD_UTIL6208_DIALOG DIALOGEX 0, 0, 421, 135 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU -EXSTYLE WS_EX_APPWINDOW -CAPTION "PCI-6208V" -FONT 8, "MS Shell Dlg", 0, 0, 0x1 -BEGIN - GROUPBOX "Digital Input",IDC_STATIC,8,7,105,43 - GROUPBOX "Digital Output",IDC_STATIC,122,7,105,43 - GROUPBOX "Analog Output",IDC_STATIC,13,55,407,73 - COMBOBOX IDC_COMBO_V0,357,81,39,17,CBS_DROPDOWN | WS_VSCROLL | WS_TABSTOP - COMBOBOX IDC_COMBO_V1,310,81,39,17,CBS_DROPDOWN | WS_VSCROLL | WS_TABSTOP - COMBOBOX IDC_COMBO_V2,254,81,39,17,CBS_DROPDOWN | WS_VSCROLL | WS_TABSTOP - COMBOBOX IDC_COMBO_V3,208,81,39,17,CBS_DROPDOWN | WS_VSCROLL | WS_TABSTOP - COMBOBOX IDC_COMBO_V4,156,81,39,17,CBS_DROPDOWN | WS_VSCROLL | WS_TABSTOP - COMBOBOX IDC_COMBO_V5,110,81,39,17,CBS_DROPDOWN | WS_VSCROLL | WS_TABSTOP - COMBOBOX IDC_COMBO_V6,58,81,39,17,CBS_DROPDOWN | WS_VSCROLL | WS_TABSTOP - COMBOBOX IDC_COMBO_V7,11,81,39,17,CBS_DROPDOWN | WS_VSCROLL | WS_TABSTOP - LTEXT "V0",IDC_STATIC,371,70,15,9 - LTEXT "V1",IDC_STATIC,325,70,15,9 - LTEXT "V3",IDC_STATIC,224,70,15,9 - LTEXT "V4",IDC_STATIC,171,70,15,9 - LTEXT "V5",IDC_STATIC,125,70,15,9 - LTEXT "V6",IDC_STATIC,71,71,15,9 - LTEXT "V7",IDC_STATIC,27,71,15,9 - LTEXT "V2",IDC_STATIC,268,70,15,9 - CONTROL "",IDC_SLIDER_V0,"msctls_trackbar32",TBS_AUTOTICKS | TBS_TOP | WS_TABSTOP,312,107,83,18 - CONTROL "",IDC_SLIDER_V1,"msctls_trackbar32",TBS_AUTOTICKS | TBS_TOP | WS_TABSTOP,209,107,83,18 - CONTROL "",IDC_SLIDER_V2,"msctls_trackbar32",TBS_AUTOTICKS | TBS_TOP | WS_TABSTOP,109,107,83,18 - CONTROL "",IDC_SLIDER_V3,"msctls_trackbar32",TBS_AUTOTICKS | TBS_TOP | WS_TABSTOP,10,107,83,18 - LTEXT "-10 0 10",IDC_STATIC,315,100,78,8 - LTEXT "-10 0 10",IDC_STATIC,211,100,78,8 - LTEXT "-10 0 10",IDC_STATIC,113,100,78,8 - LTEXT "-10 0 10",IDC_STATIC,15,100,78,8 - ICON IDI_ICON_BLACK,IDC_ICON_DI0,86,16,21,20 - ICON IDI_ICON_BLACK,IDC_ICON_DI1,62,16,21,20 - ICON IDI_ICON_BLACK,IDC_ICON_DI2,38,16,21,20 - ICON IDI_ICON_BLACK,IDC_ICON_DI3,14,16,21,20 - CONTROL "",IDC_CHECK_DO0,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE | WS_TABSTOP,203,17,18,19 - CONTROL "",IDC_CHECK_DO1,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE | WS_TABSTOP,179,17,18,19 - CONTROL "",IDC_CHECK_DO2,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE | WS_TABSTOP,155,17,18,19 - CONTROL "",IDC_CHECK_DO3,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE | WS_TABSTOP,131,17,18,19 - LTEXT "DO3 DO2 DO1 DO0",IDC_STATIC,134,38,88,10 - LTEXT "DI3 DI2 DI1 DI0",IDC_STATIC,21,36,84,10 -END - -IDD_CARDID_DIALOG DIALOGEX 0, 0, 184, 96 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "Card ID" -FONT 8, "MS Shell Dlg", 400, 0, 0x1 -BEGIN - COMBOBOX IDC_COMBO_CARDID,81,21,71,126,CBS_DROPDOWN | WS_VSCROLL | WS_TABSTOP - LTEXT "Card Number",IDC_STATIC_01,27,22,46,12 - PUSHBUTTON "OK",IDOK,28,54,58,19 - PUSHBUTTON "CANCEL",IDCANCEL,92,54,58,19 -END - - -///////////////////////////////////////////////////////////////////////////// -// -// Version -// - -VS_VERSION_INFO VERSIONINFO - FILEVERSION 1,0,0,1 - PRODUCTVERSION 1,0,0,1 - FILEFLAGSMASK 0x3fL -#ifdef _DEBUG - FILEFLAGS 0x1L -#else - FILEFLAGS 0x0L -#endif - FILEOS 0x4L - FILETYPE 0x1L - FILESUBTYPE 0x0L -BEGIN - BLOCK "StringFileInfo" - BEGIN - BLOCK "040904e4" - BEGIN - VALUE "CompanyName", "TODO: " - VALUE "FileDescription", "TODO: " - VALUE "FileVersion", "1.0.0.1" - VALUE "InternalName", "Util6208.exe" - VALUE "LegalCopyright", "TODO: (c) . All rights reserved." - VALUE "OriginalFilename", "Util6208.exe" - VALUE "ProductName", "TODO: " - VALUE "ProductVersion", "1.0.0.1" - END - END - BLOCK "VarFileInfo" - BEGIN - VALUE "Translation", 0x409, 1252 - END -END - - -///////////////////////////////////////////////////////////////////////////// -// -// DESIGNINFO -// - -#ifdef APSTUDIO_INVOKED -GUIDELINES DESIGNINFO -BEGIN - IDD_ABOUTBOX, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 163 - TOPMARGIN, 7 - BOTTOMMARGIN, 55 - END - - IDD_UTIL6208_DIALOG, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 414 - TOPMARGIN, 7 - BOTTOMMARGIN, 128 - END - - IDD_CARDID_DIALOG, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 177 - TOPMARGIN, 7 - BOTTOMMARGIN, 89 - END -END -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog Info -// - -IDD_UTIL6208_DIALOG DLGINIT -BEGIN - IDC_COMBO_V0, 0x403, 5, 0 -0x6f4e, 0x656e, "\000" - IDC_COMBO_V0, 0x403, 5, 0 -0x6953, 0x656e, "\000" - IDC_COMBO_V0, 0x403, 7, 0 -0x7153, 0x6175, 0x6572, "\000" - IDC_COMBO_V1, 0x403, 5, 0 -0x6f4e, 0x656e, "\000" - IDC_COMBO_V1, 0x403, 5, 0 -0x6953, 0x656e, "\000" - IDC_COMBO_V1, 0x403, 7, 0 -0x7153, 0x6175, 0x6572, "\000" - IDC_COMBO_V2, 0x403, 5, 0 -0x6f4e, 0x656e, "\000" - IDC_COMBO_V2, 0x403, 5, 0 -0x6953, 0x656e, "\000" - IDC_COMBO_V2, 0x403, 7, 0 -0x7153, 0x6175, 0x6572, "\000" - IDC_COMBO_V3, 0x403, 5, 0 -0x6f4e, 0x656e, "\000" - IDC_COMBO_V3, 0x403, 5, 0 -0x6953, 0x656e, "\000" - IDC_COMBO_V3, 0x403, 7, 0 -0x7153, 0x6175, 0x6572, "\000" - IDC_COMBO_V4, 0x403, 5, 0 -0x6f4e, 0x656e, "\000" - IDC_COMBO_V4, 0x403, 5, 0 -0x6953, 0x656e, "\000" - IDC_COMBO_V4, 0x403, 7, 0 -0x7153, 0x6175, 0x6572, "\000" - IDC_COMBO_V5, 0x403, 5, 0 -0x6f4e, 0x656e, "\000" - IDC_COMBO_V5, 0x403, 5, 0 -0x6953, 0x656e, "\000" - IDC_COMBO_V5, 0x403, 7, 0 -0x7153, 0x6175, 0x6572, "\000" - IDC_COMBO_V6, 0x403, 5, 0 -0x6f4e, 0x656e, "\000" - IDC_COMBO_V6, 0x403, 5, 0 -0x6953, 0x656e, "\000" - IDC_COMBO_V6, 0x403, 7, 0 -0x7153, 0x6175, 0x6572, "\000" - IDC_COMBO_V7, 0x403, 5, 0 -0x6f4e, 0x656e, "\000" - IDC_COMBO_V7, 0x403, 5, 0 -0x6953, 0x656e, "\000" - IDC_COMBO_V7, 0x403, 7, 0 -0x7153, 0x6175, 0x6572, "\000" - 0 -END - -IDD_CARDID_DIALOG DLGINIT -BEGIN - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0030, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0031, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0032, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0033, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0034, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0035, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0036, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0037, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0038, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0039, - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3031, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3131, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3231, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3331, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3431, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3531, "\000" - 0 -END - - -///////////////////////////////////////////////////////////////////////////// -// -// String Table -// - -STRINGTABLE -BEGIN - IDS_ABOUTBOX "&About Util6208..." -END - -#endif // English (U.S.) resources -///////////////////////////////////////////////////////////////////////////// - - - -#ifndef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 3 resource. -// -#define _AFX_NO_SPLITTER_RESOURCES -#define _AFX_NO_OLE_RESOURCES -#define _AFX_NO_TRACKER_RESOURCES -#define _AFX_NO_PROPERTY_RESOURCES - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -LANGUAGE 9, 1 -#pragma code_page(1252) -#include "res\Util6208.rc2" // non-Microsoft Visual C++ edited resources -#include "afxres.rc" // Standard components -#endif - -///////////////////////////////////////////////////////////////////////////// -#endif // not APSTUDIO_INVOKED - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/6208/SDK6208V/Util6208.sln b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/6208/SDK6208V/Util6208.sln deleted file mode 100644 index 7f034e0..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/6208/SDK6208V/Util6208.sln +++ /dev/null @@ -1,20 +0,0 @@ - -Microsoft Visual Studio Solution File, Format Version 10.00 -# Visual Studio 2008 -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "Util6208", "Util6208.vcproj", "{2FFCCECD-450F-491F-90C4-37AA2664BD85}" -EndProject -Global - GlobalSection(SolutionConfigurationPlatforms) = preSolution - Debug|x64 = Debug|x64 - Release|x64 = Release|x64 - EndGlobalSection - GlobalSection(ProjectConfigurationPlatforms) = postSolution - {2FFCCECD-450F-491F-90C4-37AA2664BD85}.Debug|x64.ActiveCfg = Debug|x64 - {2FFCCECD-450F-491F-90C4-37AA2664BD85}.Debug|x64.Build.0 = Debug|x64 - {2FFCCECD-450F-491F-90C4-37AA2664BD85}.Release|x64.ActiveCfg = Release|x64 - {2FFCCECD-450F-491F-90C4-37AA2664BD85}.Release|x64.Build.0 = Release|x64 - EndGlobalSection - GlobalSection(SolutionProperties) = preSolution - HideSolutionNode = FALSE - EndGlobalSection -EndGlobal diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/6208/SDK6208V/Util6208.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/6208/SDK6208V/Util6208.suo deleted file mode 100644 index 140b0e0..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/6208/SDK6208V/Util6208.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/6208/SDK6208V/Util6208.vcproj b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/6208/SDK6208V/Util6208.vcproj deleted file mode 100644 index cf0996b..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/6208/SDK6208V/Util6208.vcproj +++ /dev/null @@ -1,307 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/6208/SDK6208V/Util6208Dlg.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/6208/SDK6208V/Util6208Dlg.cpp deleted file mode 100644 index d4e0656..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/6208/SDK6208V/Util6208Dlg.cpp +++ /dev/null @@ -1,636 +0,0 @@ - -// Util6208Dlg.cpp : implementation file -// - -#include "stdafx.h" -#include "math.h" -#include "Util6208.h" -#include "Util6208Dlg.h" - -#ifdef _DEBUG -#define new DEBUG_NEW -#endif - - -#ifndef M_PI -#define M_PI 3.14159265359 -#endif - -// CAboutDlg dialog used for App About - -class CAboutDlg : public CDialog -{ -public: - CAboutDlg(); - -// Dialog Data - enum { IDD = IDD_ABOUTBOX }; - - protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - -// Implementation -protected: - DECLARE_MESSAGE_MAP() -}; - -CAboutDlg::CAboutDlg() : CDialog(CAboutDlg::IDD) -{ -} - -void CAboutDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); -} - -BEGIN_MESSAGE_MAP(CAboutDlg, CDialog) -END_MESSAGE_MAP() - - -// CUtil6208Dlg dialog - - - - -CUtil6208Dlg::CUtil6208Dlg(I16 hCard, CWnd* pParent /*=NULL*/) - : CDialog(CUtil6208Dlg::IDD, pParent) -{ - int i; - - m_hIcon = AfxGetApp()->LoadIcon(IDR_MAINFRAME); - m_hCard = hCard; - - - for( i=0; iAppendMenu(MF_SEPARATOR); - pSysMenu->AppendMenu(MF_STRING, IDM_ABOUTBOX, strAboutMenu); - } - } - - // Set the icon for this dialog. The framework does this automatically - // when the application's main window is not a dialog - SetIcon(m_hIcon, TRUE); // Set big icon - SetIcon(m_hIcon, FALSE); // Set small icon - - // TODO: Add extra initialization here - m_cbAOMode0.SetCurSel( m_DAMode[0] ); - m_cbAOMode1.SetCurSel( m_DAMode[1] ); - m_cbAOMode2.SetCurSel( m_DAMode[2] ); - m_cbAOMode3.SetCurSel( m_DAMode[3] ); - m_cbAOMode4.SetCurSel( m_DAMode[4] ); - m_cbAOMode5.SetCurSel( m_DAMode[5] ); - m_cbAOMode6.SetCurSel( m_DAMode[6] ); - m_cbAOMode7.SetCurSel( m_DAMode[7] ); - - m_sdAOLevel0.SetRange( -32768, 32767, TRUE ); - m_sdAOLevel0.SetTicFreq( 5 ); - - m_sdAOLevel1.SetRange( -32768, 32767, TRUE ); - m_sdAOLevel1.SetTicFreq( 5 ); - - m_sdAOLevel2.SetRange( -32768, 32767, TRUE ); - m_sdAOLevel2.SetTicFreq( 5 ); - - m_sdAOLevel3.SetRange( -32768, 32767, TRUE ); - m_sdAOLevel3.SetTicFreq( 5 ); - - m_nTimer = SetTimer( 1, 200, NULL ); - return TRUE; // return TRUE unless you set the focus to a control -} - -void CUtil6208Dlg::OnSysCommand(UINT nID, LPARAM lParam) -{ - if ((nID & 0xFFF0) == IDM_ABOUTBOX) - { - CAboutDlg dlgAbout; - dlgAbout.DoModal(); - } - else - { - CDialog::OnSysCommand(nID, lParam); - } -} - -// If you add a minimize button to your dialog, you will need the code below -// to draw the icon. For MFC applications using the document/view model, -// this is automatically done for you by the framework. - -void CUtil6208Dlg::OnPaint() -{ - if (IsIconic()) - { - CPaintDC dc(this); // device context for painting - - SendMessage(WM_ICONERASEBKGND, reinterpret_cast(dc.GetSafeHdc()), 0); - - // Center icon in client rectangle - int cxIcon = GetSystemMetrics(SM_CXICON); - int cyIcon = GetSystemMetrics(SM_CYICON); - CRect rect; - GetClientRect(&rect); - int x = (rect.Width() - cxIcon + 1) / 2; - int y = (rect.Height() - cyIcon + 1) / 2; - - // Draw the icon - dc.DrawIcon(x, y, m_hIcon); - } - else - { - CDialog::OnPaint(); - } -} - -// The system calls this function to obtain the cursor to display while the user drags -// the minimized window. -HCURSOR CUtil6208Dlg::OnQueryDragIcon() -{ - return static_cast(m_hIcon); -} - - -void CUtil6208Dlg::OnDO0Clicked() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_DO0 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_bDOData |= 0x01; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_bDOData &= (~0x01); - } - - DO_WritePort( m_hCard, 0, m_bDOData ); -} - -void CUtil6208Dlg::OnDO1Clicked() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_DO1 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_bDOData |= 0x02; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_bDOData &= (~0x02); - } - - DO_WritePort( m_hCard, 0, m_bDOData ); -} - -void CUtil6208Dlg::OnDO2Clicked() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_DO2 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_bDOData |= 0x04; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_bDOData &= (~0x04); - } - - DO_WritePort( m_hCard, 0, m_bDOData ); -} - -void CUtil6208Dlg::OnDO3Clicked() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_DO3 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_bDOData |= 0x08; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_bDOData &= (~0x08); - } - - DO_WritePort( m_hCard, 0, m_bDOData ); -} - -void CUtil6208Dlg::OnTimer(UINT_PTR nIDEvent) -{ - // TODO: Add your message handler code here and/or call default - U32 dwPortData; - int i; - I16 p; - double m; - - DI_ReadPort( m_hCard, 0, &dwPortData); - - dwPortData = ( dwPortData & 0x0F ); - - if( dwPortData != m_bDIData ) - { - - m_bDIData = (U8)( dwPortData & 0xFF ); - - if( (dwPortData & 0x01) == 0x01 ) - { - m_DI0_ON.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_DI0_ON.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - - if( (dwPortData & 0x02) == 0x02 ) - { - m_DI1_ON.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_DI1_ON.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - - if( (dwPortData & 0x04) == 0x04 ) - { - m_DI2_ON.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_DI2_ON.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - - if( (dwPortData & 0x08) == 0x08 ) - { - m_DI3_ON.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_DI3_ON.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - /* Analog Output */ - for (i=0; i // MFC core and standard components -#include // MFC extensions - - -#include // MFC Automation classes - - - -#ifndef _AFX_NO_OLE_SUPPORT -#include // MFC support for Internet Explorer 4 Common Controls -#endif -#ifndef _AFX_NO_AFXCMN_SUPPORT -#include // MFC support for Windows Common Controls -#endif // _AFX_NO_AFXCMN_SUPPORT - -#include // MFC support for ribbons and control bars -#include - - - - - - - - - -#ifdef _UNICODE -#if defined _M_IX86 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='x86' publicKeyToken='6595b64144ccf1df' language='*'\"") -#elif defined _M_IA64 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='ia64' publicKeyToken='6595b64144ccf1df' language='*'\"") -#elif defined _M_X64 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='amd64' publicKeyToken='6595b64144ccf1df' language='*'\"") -#else -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='*' publicKeyToken='6595b64144ccf1df' language='*'\"") -#endif -#endif - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/6208/SDK6208V/targetver.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/6208/SDK6208V/targetver.h deleted file mode 100644 index 11730d5..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/6208/SDK6208V/targetver.h +++ /dev/null @@ -1,26 +0,0 @@ - -#pragma once - -// The following macros define the minimum required platform. The minimum required platform -// is the earliest version of Windows, Internet Explorer etc. that has the necessary features to run -// your application. The macros work by enabling all features available on platform versions up to and -// including the version specified. - -// Modify the following defines if you have to target a platform prior to the ones specified below. -// Refer to MSDN for the latest info on corresponding values for different platforms. -#ifndef WINVER // Specifies that the minimum required platform is Windows Vista. -#define WINVER 0x0600 // Change this to the appropriate value to target other versions of Windows. -#endif - -#ifndef _WIN32_WINNT // Specifies that the minimum required platform is Windows Vista. -#define _WIN32_WINNT 0x0600 // Change this to the appropriate value to target other versions of Windows. -#endif - -#ifndef _WIN32_WINDOWS // Specifies that the minimum required platform is Windows 98. -#define _WIN32_WINDOWS 0x0410 // Change this to the appropriate value to target Windows Me or later. -#endif - -#ifndef _WIN32_IE // Specifies that the minimum required platform is Internet Explorer 7.0. -#define _WIN32_IE 0x0700 // Change this to the appropriate value to target other versions of IE. -#endif - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/6308/SDK6308A/CardIDDlg.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/6308/SDK6308A/CardIDDlg.cpp deleted file mode 100644 index 041cb1d..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/6308/SDK6308A/CardIDDlg.cpp +++ /dev/null @@ -1,67 +0,0 @@ -// CardIDDlg.cpp : implementation file -// - -#include "stdafx.h" -#include "Util6308.h" -#include "CardIDDlg.h" - - -// CCardIDDlg dialog - -IMPLEMENT_DYNAMIC(CCardIDDlg, CDialog) - -CCardIDDlg::CCardIDDlg(int nCardIdx, CWnd* pParent /*=NULL*/) - : CDialog(CCardIDDlg::IDD, pParent) -{ - m_nCardIdx = nCardIdx; -} - -CCardIDDlg::~CCardIDDlg() -{ -} - -void CCardIDDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); - DDX_Control(pDX, IDC_COMBO_CARDID, m_cbCardID); -} - - -BEGIN_MESSAGE_MAP(CCardIDDlg, CDialog) -// ON_CBN_SELCHANGE(IDC_COMBO_CARDID, &CCardIDDlg::OnCbnSelchangeComboCardid) -ON_BN_CLICKED(IDOK, &CCardIDDlg::OnBnClickedOk) -//ON_WM_CTLCOLOR() -END_MESSAGE_MAP() - - -// CCardIDDlg message handlers - - -void CCardIDDlg::OnBnClickedOk() -{ - // TODO: Add your control notification handler code here - -// UpdateData(TRUE); - m_nCardIdx = m_cbCardID.GetCurSel(); - - OnOK(); -} - -BOOL CCardIDDlg::OnInitDialog() -{ - CDialog::OnInitDialog(); - - // TODO: Add extra initialization here - m_cbCardID.SetCurSel( m_nCardIdx ); - - return TRUE; // return TRUE unless you set the focus to a control - // EXCEPTION: OCX Property Pages should return FALSE -} - -// the function to get the selected CardID -int CCardIDDlg::GetCardID(void) -{ - return m_nCardIdx; -} - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/6308/SDK6308A/CardIDDlg.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/6308/SDK6308A/CardIDDlg.h deleted file mode 100644 index 54628ea..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/6308/SDK6308A/CardIDDlg.h +++ /dev/null @@ -1,33 +0,0 @@ -#pragma once -#include "afxwin.h" - - -// CCardIDDlg dialog - -class CCardIDDlg : public CDialog -{ - DECLARE_DYNAMIC(CCardIDDlg) - -public: - CCardIDDlg(int nCardIdx, CWnd* pParent = NULL); // standard constructor - virtual ~CCardIDDlg(); - -// Dialog Data - enum { IDD = IDD_CARDID_DIALOG }; - -protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - - DECLARE_MESSAGE_MAP() -public: -// afx_msg void OnCbnSelchangeComboCardid(); - afx_msg void OnBnClickedOk(); - // the setting of CardID ComboBox - int m_nCardIdx; - virtual BOOL OnInitDialog(); - // the control of CardID ComboBox - CComboBox m_cbCardID; - // the function to get the selected CardID - int GetCardID(void); -// afx_msg HBRUSH OnCtlColor(CDC* pDC, CWnd* pWnd, UINT nCtlColor); -}; diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/6308/SDK6308A/CardIDDlg.htm b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/6308/SDK6308A/CardIDDlg.htm deleted file mode 100644 index 90caca0..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/6308/SDK6308A/CardIDDlg.htm +++ /dev/null @@ -1,19 +0,0 @@ - - - - - - - - - - -
-
- -
-TODO: Place controls here. -
- - - \ No newline at end of file diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/6308/SDK6308A/ReadMe.txt b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/6308/SDK6308A/ReadMe.txt deleted file mode 100644 index 82b6192..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/6308/SDK6308A/ReadMe.txt +++ /dev/null @@ -1,93 +0,0 @@ -================================================================================ - MICROSOFT FOUNDATION CLASS LIBRARY : Util6308 Project Overview -=============================================================================== - -The application wizard has created this Util6308 application for -you. This application not only demonstrates the basics of using the Microsoft -Foundation Classes but is also a starting point for writing your application. - -This file contains a summary of what you will find in each of the files that -make up your Util6308 application. - -Util6308.vcproj - This is the main project file for VC++ projects generated using an application wizard. - It contains information about the version of Visual C++ that generated the file, and - information about the platforms, configurations, and project features selected with the - application wizard. - -Util6308.h - This is the main header file for the application. It includes other - project specific headers (including Resource.h) and declares the - CUtil6308App application class. - -Util6308.cpp - This is the main application source file that contains the application - class CUtil6308App. - -Util6308.rc - This is a listing of all of the Microsoft Windows resources that the - program uses. It includes the icons, bitmaps, and cursors that are stored - in the RES subdirectory. This file can be directly edited in Microsoft - Visual C++. Your project resources are in 1033. - -res\Util6308.ico - This is an icon file, which is used as the application's icon. This - icon is included by the main resource file Util6308.rc. - -res\Util6308.rc2 - This file contains resources that are not edited by Microsoft - Visual C++. You should place all resources not editable by - the resource editor in this file. - - -///////////////////////////////////////////////////////////////////////////// - -The application wizard creates one dialog class: - -Util6308Dlg.h, Util6308Dlg.cpp - the dialog - These files contain your CUtil6308Dlg class. This class defines - the behavior of your application's main dialog. The dialog's template is - in Util6308.rc, which can be edited in Microsoft Visual C++. - - -///////////////////////////////////////////////////////////////////////////// - -Other Features: - -ActiveX Controls - The application includes support to use ActiveX controls. - -///////////////////////////////////////////////////////////////////////////// - -Other standard files: - -StdAfx.h, StdAfx.cpp - These files are used to build a precompiled header (PCH) file - named Util6308.pch and a precompiled types file named StdAfx.obj. - -Resource.h - This is the standard header file, which defines new resource IDs. - Microsoft Visual C++ reads and updates this file. - -Util6308.manifest - Application manifest files are used by Windows XP to describe an applications - dependency on specific versions of Side-by-Side assemblies. The loader uses this - information to load the appropriate assembly from the assembly cache or private - from the application. The Application manifest maybe included for redistribution - as an external .manifest file that is installed in the same folder as the application - executable or it may be included in the executable in the form of a resource. -///////////////////////////////////////////////////////////////////////////// - -Other notes: - -The application wizard uses "TODO:" to indicate parts of the source code you -should add to or customize. - -If your application uses MFC in a shared DLL, you will need -to redistribute the MFC DLLs. If your application is in a language -other than the operating system's locale, you will also have to -redistribute the corresponding localized resources MFC90XXX.DLL. -For more information on both of these topics, please see the section on -redistributing Visual C++ applications in MSDN documentation. - -///////////////////////////////////////////////////////////////////////////// diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/6308/SDK6308A/Util6208.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/6308/SDK6308A/Util6208.suo deleted file mode 100644 index 25e317c..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/6308/SDK6308A/Util6208.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/6308/SDK6308A/Util6308.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/6308/SDK6308A/Util6308.cpp deleted file mode 100644 index b27c8de..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/6308/SDK6308A/Util6308.cpp +++ /dev/null @@ -1,111 +0,0 @@ - -// Util6308.cpp : Defines the class behaviors for the application. -// - -#include "stdafx.h" -#include "Util6308.h" -#include "Util6308Dlg.h" -#include "CardIDDlg.h" - -#ifdef _DEBUG -#define new DEBUG_NEW -#endif - - -// CUtil6308App - -BEGIN_MESSAGE_MAP(CUtil6308App, CWinAppEx) - ON_COMMAND(ID_HELP, &CWinApp::OnHelp) -END_MESSAGE_MAP() - - -// CUtil6308App construction - -CUtil6308App::CUtil6308App() -{ - // TODO: add construction code here, - // Place all significant initialization in InitInstance -} - - -// The one and only CUtil6308App object - -CUtil6308App theApp; - - -// CUtil6308App initialization - -BOOL CUtil6308App::InitInstance() -{ - int nCardID = 0; - I16 hCard; - CString strTemp; - INT_PTR nResponse; - - // InitCommonControlsEx() is required on Windows XP if an application - // manifest specifies use of ComCtl32.dll version 6 or later to enable - // visual styles. Otherwise, any window creation will fail. - INITCOMMONCONTROLSEX InitCtrls; - InitCtrls.dwSize = sizeof(InitCtrls); - // Set this to include all the common control classes you want to use - // in your application. - InitCtrls.dwICC = ICC_WIN95_CLASSES; - InitCommonControlsEx(&InitCtrls); - - CWinAppEx::InitInstance(); - - AfxEnableControlContainer(); - - // Standard initialization - // If you are not using these features and wish to reduce the size - // of your final executable, you should remove from the following - // the specific initialization routines you do not need - // Change the registry key under which our settings are stored - // TODO: You should modify this string to be something appropriate - // such as the name of your company or organization - SetRegistryKey(_T("Local AppWizard-Generated Applications")); - - - CCardIDDlg CardDlg( nCardID ); - - nResponse = CardDlg.DoModal(); - if (nResponse == IDOK) - { - nCardID = CardDlg.GetCardID(); - - if ((hCard=Register_Card(PCI_6308A, nCardID)) < 0) - { - strTemp.Format( TEXT("Register_Card Error = %d"), hCard); - AfxMessageBox( strTemp ); - } - else - { - CUtil6308Dlg dlg(hCard); - m_pMainWnd = &dlg; - nResponse = dlg.DoModal(); - if (nResponse == IDOK) - { - // TODO: Place code here to handle when the dialog is - // dismissed with OK - } - else if (nResponse == IDCANCEL) - { - // TODO: Place code here to handle when the dialog is - // dismissed with Cancel - } - - if (hCard >= 0) Release_Card(hCard); - } - - } - else if (nResponse == IDCANCEL) - { - // TODO: Place code here to handle when the dialog is - // dismissed with Cancel - } - - - // Since the dialog has been closed, return FALSE so that we exit the - // application, rather than start the application's message pump. - return FALSE; -} diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/6308/SDK6308A/Util6308.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/6308/SDK6308A/Util6308.h deleted file mode 100644 index 183b09f..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/6308/SDK6308A/Util6308.h +++ /dev/null @@ -1,32 +0,0 @@ - -// Util6308.h : main header file for the PROJECT_NAME application -// - -#pragma once - -#ifndef __AFXWIN_H__ - #error "include 'stdafx.h' before including this file for PCH" -#endif - -#include "resource.h" // main symbols - - -// CUtil6308App: -// See Util6308.cpp for the implementation of this class -// - -class CUtil6308App : public CWinAppEx -{ -public: - CUtil6308App(); - -// Overrides - public: - virtual BOOL InitInstance(); - -// Implementation - - DECLARE_MESSAGE_MAP() -}; - -extern CUtil6308App theApp; \ No newline at end of file diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/6308/SDK6308A/Util6308.rc b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/6308/SDK6308A/Util6308.rc deleted file mode 100644 index ebc37e2..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/6308/SDK6308A/Util6308.rc +++ /dev/null @@ -1,313 +0,0 @@ -// Microsoft Visual C++ generated resource script. -// -#include "resource.h" - -#define APSTUDIO_READONLY_SYMBOLS -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 2 resource. -// -#ifndef APSTUDIO_INVOKED -#include "targetver.h" -#endif -#include "afxres.h" - -///////////////////////////////////////////////////////////////////////////// -#undef APSTUDIO_READONLY_SYMBOLS - -///////////////////////////////////////////////////////////////////////////// -// Chinese (Taiwan) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_CHT) -#ifdef _WIN32 -LANGUAGE LANG_CHINESE, SUBLANG_CHINESE_TRADITIONAL -#pragma code_page(950) -#endif //_WIN32 - -#ifdef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// TEXTINCLUDE -// - -1 TEXTINCLUDE -BEGIN - "resource.h\0" -END - -2 TEXTINCLUDE -BEGIN - "#ifndef APSTUDIO_INVOKED\r\n" - "#include ""targetver.h""\r\n" - "#endif\r\n" - "#include ""afxres.h""\r\n" - "\0" -END - -3 TEXTINCLUDE -BEGIN - "#define _AFX_NO_SPLITTER_RESOURCES\r\n" - "#define _AFX_NO_OLE_RESOURCES\r\n" - "#define _AFX_NO_TRACKER_RESOURCES\r\n" - "#define _AFX_NO_PROPERTY_RESOURCES\r\n" - "\r\n" - "#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)\r\n" - "LANGUAGE 9, 1\r\n" - "#pragma code_page(1252)\r\n" - "#include ""res\\Util6308.rc2"" // non-Microsoft Visual C++ edited resources\r\n" - "#include ""afxres.rc"" // Standard components\r\n" - "#endif\r\n" - "\0" -END - -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// Icon -// - -// Icon with lowest ID value placed first to ensure application icon -// remains consistent on all systems. -IDR_MAINFRAME ICON "res\\Util6308.ico" - -///////////////////////////////////////////////////////////////////////////// -// -// HTML -// - -IDR_HTML_CARDIDDLG HTML "CardIDDlg.htm" -#endif // Chinese (Taiwan) resources -///////////////////////////////////////////////////////////////////////////// - - -///////////////////////////////////////////////////////////////////////////// -// English (U.S.) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -#ifdef _WIN32 -LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US -#pragma code_page(1252) -#endif //_WIN32 - -///////////////////////////////////////////////////////////////////////////// -// -// Icon -// - -// Icon with lowest ID value placed first to ensure application icon -// remains consistent on all systems. -IDI_ICON_BLACK ICON "res\\black.ico" -IDI_ICON_GREEN ICON "res\\green.ico" -IDI_ICON_RED ICON "res\\red.ico" - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog -// - -IDD_ABOUTBOX DIALOGEX 0, 0, 170, 62 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "About Util6308" -FONT 8, "MS Shell Dlg", 0, 0, 0x1 -BEGIN - ICON IDR_MAINFRAME,IDC_STATIC,14,14,21,20 - LTEXT "Util6308, Version 1.0",IDC_STATIC,42,14,114,8,SS_NOPREFIX - LTEXT "Copyright (C) 2010",IDC_STATIC,42,26,114,8 - DEFPUSHBUTTON "OK",IDOK,113,41,50,14,WS_GROUP -END - -IDD_UTIL6308_DIALOG DIALOGEX 0, 0, 421, 113 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU -EXSTYLE WS_EX_APPWINDOW -CAPTION "PCI-6308A" -FONT 8, "MS Shell Dlg", 0, 0, 0x1 -BEGIN - GROUPBOX "Digital Input",IDC_STATIC,8,7,105,43 - GROUPBOX "Digital Output",IDC_STATIC,122,7,105,43 - GROUPBOX "Current Output",IDC_STATIC,7,55,407,49 - CONTROL "",IDC_SLIDER_V0,"msctls_trackbar32",TBS_AUTOTICKS | TBS_TOP | WS_TABSTOP,312,78,83,18 - CONTROL "",IDC_SLIDER_V1,"msctls_trackbar32",TBS_AUTOTICKS | TBS_TOP | WS_TABSTOP,209,78,83,18 - CONTROL "",IDC_SLIDER_V2,"msctls_trackbar32",TBS_AUTOTICKS | TBS_TOP | WS_TABSTOP,109,78,83,18 - CONTROL "",IDC_SLIDER_V3,"msctls_trackbar32",TBS_AUTOTICKS | TBS_TOP | WS_TABSTOP,10,78,83,18 - LTEXT "4 20 (mA)",IDC_STATIC,319,71,95,8 - LTEXT "4 20 (mA)",IDC_STATIC,215,71,92,8 - LTEXT "4 20 (mA)",IDC_STATIC,115,71,91,8 - LTEXT "4 20 (mA)",IDC_STATIC,15,71,92,8 - ICON IDI_ICON_BLACK,IDC_ICON_DI0,86,14,20,20 - ICON IDI_ICON_BLACK,IDC_ICON_DI1,62,14,20,20 - ICON IDI_ICON_BLACK,IDC_ICON_DI2,38,14,20,20 - ICON IDI_ICON_BLACK,IDC_ICON_DI3,14,14,20,20 - CONTROL "",IDC_CHECK_DO0,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE | WS_TABSTOP,203,16,18,19 - CONTROL "",IDC_CHECK_DO1,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE | WS_TABSTOP,179,16,18,19 - CONTROL "",IDC_CHECK_DO2,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE | WS_TABSTOP,155,16,18,19 - CONTROL "",IDC_CHECK_DO3,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE | WS_TABSTOP,131,16,18,19 - LTEXT "DO3 DO2 DO1 DO0",IDC_STATIC,133,37,89,10 - LTEXT "DI3 DI2 DI1 DI0",IDC_STATIC,21,35,83,10 -END - -IDD_CARDID_DIALOG DIALOGEX 0, 0, 184, 96 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "Card ID" -FONT 8, "MS Shell Dlg", 400, 0, 0x1 -BEGIN - COMBOBOX IDC_COMBO_CARDID,81,21,71,126,CBS_DROPDOWN | WS_VSCROLL | WS_TABSTOP - LTEXT "Card Number",IDC_STATIC_01,27,22,46,12 - PUSHBUTTON "OK",IDOK,28,54,58,19 - PUSHBUTTON "CANCEL",IDCANCEL,92,54,58,19 -END - - -///////////////////////////////////////////////////////////////////////////// -// -// Version -// - -VS_VERSION_INFO VERSIONINFO - FILEVERSION 1,0,0,1 - PRODUCTVERSION 1,0,0,1 - FILEFLAGSMASK 0x3fL -#ifdef _DEBUG - FILEFLAGS 0x1L -#else - FILEFLAGS 0x0L -#endif - FILEOS 0x4L - FILETYPE 0x1L - FILESUBTYPE 0x0L -BEGIN - BLOCK "StringFileInfo" - BEGIN - BLOCK "040904e4" - BEGIN - VALUE "CompanyName", "TODO: " - VALUE "FileDescription", "TODO: " - VALUE "FileVersion", "1.0.0.1" - VALUE "InternalName", "Util6308.exe" - VALUE "LegalCopyright", "TODO: (c) . All rights reserved." - VALUE "OriginalFilename", "Util6308.exe" - VALUE "ProductName", "TODO: " - VALUE "ProductVersion", "1.0.0.1" - END - END - BLOCK "VarFileInfo" - BEGIN - VALUE "Translation", 0x409, 1252 - END -END - - -///////////////////////////////////////////////////////////////////////////// -// -// DESIGNINFO -// - -#ifdef APSTUDIO_INVOKED -GUIDELINES DESIGNINFO -BEGIN - IDD_ABOUTBOX, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 163 - TOPMARGIN, 7 - BOTTOMMARGIN, 55 - END - - IDD_UTIL6308_DIALOG, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 414 - TOPMARGIN, 7 - BOTTOMMARGIN, 106 - END - - IDD_CARDID_DIALOG, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 177 - TOPMARGIN, 7 - BOTTOMMARGIN, 89 - END -END -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog Info -// - -IDD_CARDID_DIALOG DLGINIT -BEGIN - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0030, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0031, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0032, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0033, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0034, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0035, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0036, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0037, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0038, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0039, - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3031, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3131, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3231, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3331, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3431, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3531, "\000" - 0 -END - - -///////////////////////////////////////////////////////////////////////////// -// -// String Table -// - -STRINGTABLE -BEGIN - IDS_ABOUTBOX "&About Util6308..." -END - -#endif // English (U.S.) resources -///////////////////////////////////////////////////////////////////////////// - - - -#ifndef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 3 resource. -// -#define _AFX_NO_SPLITTER_RESOURCES -#define _AFX_NO_OLE_RESOURCES -#define _AFX_NO_TRACKER_RESOURCES -#define _AFX_NO_PROPERTY_RESOURCES - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -LANGUAGE 9, 1 -#pragma code_page(1252) -#include "res\Util6308.rc2" // non-Microsoft Visual C++ edited resources -#include "afxres.rc" // Standard components -#endif - -///////////////////////////////////////////////////////////////////////////// -#endif // not APSTUDIO_INVOKED - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/6308/SDK6308A/Util6308.sln b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/6308/SDK6308A/Util6308.sln deleted file mode 100644 index 8b75e07..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/6308/SDK6308A/Util6308.sln +++ /dev/null @@ -1,20 +0,0 @@ - -Microsoft Visual Studio Solution File, Format Version 10.00 -# Visual Studio 2008 -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "Util6308", "Util6308.vcproj", "{2FFCCECD-450F-491F-90C4-37AA2664BD85}" -EndProject -Global - GlobalSection(SolutionConfigurationPlatforms) = preSolution - Debug|x64 = Debug|x64 - Release|x64 = Release|x64 - EndGlobalSection - GlobalSection(ProjectConfigurationPlatforms) = postSolution - {2FFCCECD-450F-491F-90C4-37AA2664BD85}.Debug|x64.ActiveCfg = Debug|x64 - {2FFCCECD-450F-491F-90C4-37AA2664BD85}.Debug|x64.Build.0 = Debug|x64 - {2FFCCECD-450F-491F-90C4-37AA2664BD85}.Release|x64.ActiveCfg = Release|x64 - {2FFCCECD-450F-491F-90C4-37AA2664BD85}.Release|x64.Build.0 = Release|x64 - EndGlobalSection - GlobalSection(SolutionProperties) = preSolution - HideSolutionNode = FALSE - EndGlobalSection -EndGlobal diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/6308/SDK6308A/Util6308.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/6308/SDK6308A/Util6308.suo deleted file mode 100644 index 5c1b159..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/6308/SDK6308A/Util6308.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/6308/SDK6308A/Util6308.vcproj b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/6308/SDK6308A/Util6308.vcproj deleted file mode 100644 index 3fc5ec0..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/6308/SDK6308A/Util6308.vcproj +++ /dev/null @@ -1,307 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/6308/SDK6308A/Util6308Dlg.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/6308/SDK6308A/Util6308Dlg.cpp deleted file mode 100644 index e6480df..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/6308/SDK6308A/Util6308Dlg.cpp +++ /dev/null @@ -1,404 +0,0 @@ - -// Util6308Dlg.cpp : implementation file -// - -#include "stdafx.h" -#include "math.h" -#include "Util6308.h" -#include "Util6308Dlg.h" - -#ifdef _DEBUG -#define new DEBUG_NEW -#endif - - -// CAboutDlg dialog used for App About - -class CAboutDlg : public CDialog -{ -public: - CAboutDlg(); - -// Dialog Data - enum { IDD = IDD_ABOUTBOX }; - - protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - -// Implementation -protected: - DECLARE_MESSAGE_MAP() -}; - -CAboutDlg::CAboutDlg() : CDialog(CAboutDlg::IDD) -{ -} - -void CAboutDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); -} - -BEGIN_MESSAGE_MAP(CAboutDlg, CDialog) -END_MESSAGE_MAP() - - -// CUtil6308Dlg dialog - - - - -CUtil6308Dlg::CUtil6308Dlg(I16 hCard, CWnd* pParent /*=NULL*/) - : CDialog(CUtil6308Dlg::IDD, pParent) -{ - int i; - - m_hIcon = AfxGetApp()->LoadIcon(IDR_MAINFRAME); - m_hCard = hCard; - - - for( i=0; iAppendMenu(MF_SEPARATOR); - pSysMenu->AppendMenu(MF_STRING, IDM_ABOUTBOX, strAboutMenu); - } - } - - // Set the icon for this dialog. The framework does this automatically - // when the application's main window is not a dialog - SetIcon(m_hIcon, TRUE); // Set big icon - SetIcon(m_hIcon, FALSE); // Set small icon - - // TODO: Add extra initialization here - - m_sdAOLevel0.SetRange( 0, 4095, TRUE ); - m_sdAOLevel0.SetTicFreq( 5 ); - - m_sdAOLevel1.SetRange( 0, 4095, TRUE ); - m_sdAOLevel1.SetTicFreq( 5 ); - - m_sdAOLevel2.SetRange( 0, 4095, TRUE ); - m_sdAOLevel2.SetTicFreq( 5 ); - - m_sdAOLevel3.SetRange( 0, 4095, TRUE ); - m_sdAOLevel3.SetTicFreq( 5 ); - - m_nTimer = SetTimer( 1, 200, NULL ); - - return TRUE; // return TRUE unless you set the focus to a control -} - -void CUtil6308Dlg::OnSysCommand(UINT nID, LPARAM lParam) -{ - if ((nID & 0xFFF0) == IDM_ABOUTBOX) - { - CAboutDlg dlgAbout; - dlgAbout.DoModal(); - } - else - { - CDialog::OnSysCommand(nID, lParam); - } -} - -// If you add a minimize button to your dialog, you will need the code below -// to draw the icon. For MFC applications using the document/view model, -// this is automatically done for you by the framework. - -void CUtil6308Dlg::OnPaint() -{ - if (IsIconic()) - { - CPaintDC dc(this); // device context for painting - - SendMessage(WM_ICONERASEBKGND, reinterpret_cast(dc.GetSafeHdc()), 0); - - // Center icon in client rectangle - int cxIcon = GetSystemMetrics(SM_CXICON); - int cyIcon = GetSystemMetrics(SM_CYICON); - CRect rect; - GetClientRect(&rect); - int x = (rect.Width() - cxIcon + 1) / 2; - int y = (rect.Height() - cyIcon + 1) / 2; - - // Draw the icon - dc.DrawIcon(x, y, m_hIcon); - } - else - { - CDialog::OnPaint(); - } -} - -// The system calls this function to obtain the cursor to display while the user drags -// the minimized window. -HCURSOR CUtil6308Dlg::OnQueryDragIcon() -{ - return static_cast(m_hIcon); -} - - -void CUtil6308Dlg::OnDO0Clicked() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_DO0 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_bDOData |= 0x01; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_bDOData &= (~0x01); - } - - DO_WritePort( m_hCard, 0, m_bDOData ); -} - -void CUtil6308Dlg::OnDO1Clicked() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_DO1 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_bDOData |= 0x02; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_bDOData &= (~0x02); - } - - DO_WritePort( m_hCard, 0, m_bDOData ); -} - -void CUtil6308Dlg::OnDO2Clicked() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_DO2 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_bDOData |= 0x04; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_bDOData &= (~0x04); - } - - DO_WritePort( m_hCard, 0, m_bDOData ); -} - -void CUtil6308Dlg::OnDO3Clicked() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_DO3 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_bDOData |= 0x08; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_bDOData &= (~0x08); - } - - DO_WritePort( m_hCard, 0, m_bDOData ); -} - -void CUtil6308Dlg::OnTimer(UINT_PTR nIDEvent) -{ - // TODO: Add your message handler code here and/or call default - U32 dwPortData; - - DI_ReadPort( m_hCard, 0, &dwPortData); - - dwPortData = ( dwPortData & 0x0F ); - - if( dwPortData != m_bDIData ) - { - - m_bDIData = (U8)( dwPortData & 0xFF ); - - if( (dwPortData & 0x01) == 0x01 ) - { - m_DI0_ON.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_DI0_ON.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - - if( (dwPortData & 0x02) == 0x02 ) - { - m_DI1_ON.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_DI1_ON.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - - if( (dwPortData & 0x04) == 0x04 ) - { - m_DI2_ON.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_DI2_ON.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - - if( (dwPortData & 0x08) == 0x08 ) - { - m_DI3_ON.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_DI3_ON.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - CDialog::OnTimer(nIDEvent); -} - -void CUtil6308Dlg::OnDestroy() -{ - CDialog::OnDestroy(); - - // TODO: Add your message handler code here - if( m_nTimer != -1 ) - KillTimer( m_nTimer ); -} - - -void CUtil6308Dlg::OnSliderV0Changed(NMHDR *pNMHDR, LRESULT *pResult) -{ - // TODO: Add your control notification handler code here - int position; - - position = m_sdAOLevel0.GetPos(); - - m_AOValue[0] = m_AOValue[1] = position; - - AO_WriteChannel(m_hCard, 0, (I16)m_AOValue[0] ); - AO_WriteChannel(m_hCard, 1, (I16)m_AOValue[1] ); - - *pResult = 0; -} - - -void CUtil6308Dlg::OnSliderV1Changed(NMHDR *pNMHDR, LRESULT *pResult) -{ - // TODO: Add your control notification handler code here - int position; - - position = m_sdAOLevel1.GetPos(); - - m_AOValue[2] = m_AOValue[3] = position; - - AO_WriteChannel(m_hCard, 2, (I16)m_AOValue[2] ); - AO_WriteChannel(m_hCard, 3, (I16)m_AOValue[3] ); - - *pResult = 0; -} - - -void CUtil6308Dlg::OnSliderV2Changed(NMHDR *pNMHDR, LRESULT *pResult) -{ - // TODO: Add your control notification handler code here - int position; - - position = m_sdAOLevel2.GetPos(); - - m_AOValue[4] = m_AOValue[5] = position; - - AO_WriteChannel(m_hCard, 4, (I16)m_AOValue[4] ); - AO_WriteChannel(m_hCard, 5, (I16)m_AOValue[5] ); - - *pResult = 0; -} - -void CUtil6308Dlg::OnSliderV3Changed(NMHDR *pNMHDR, LRESULT *pResult) -{ - // TODO: Add your control notification handler code here - int position; - - position = m_sdAOLevel3.GetPos(); - - m_AOValue[6] = m_AOValue[7] = position; - - AO_WriteChannel(m_hCard, 6, (I16)m_AOValue[6] ); - AO_WriteChannel(m_hCard, 7, (I16)m_AOValue[7] ); - - *pResult = 0; -} - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/6308/SDK6308A/Util6308Dlg.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/6308/SDK6308A/Util6308Dlg.h deleted file mode 100644 index efb6134..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/6308/SDK6308A/Util6308Dlg.h +++ /dev/null @@ -1,60 +0,0 @@ - -// Util6308Dlg.h : header file -// -#include "Dask64.h" - -#pragma once - -#define MAX_AO_CHANNELS 8 - -// CUtil6308Dlg dialog -class CUtil6308Dlg : public CDialog -{ -// Construction -public: - CUtil6308Dlg(I16 hCard, CWnd* pParent = NULL); // standard constructor - -// Dialog Data - enum { IDD = IDD_UTIL6308_DIALOG }; - -protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - -public: - // the CardID of targer device - I16 m_hCard; - UINT_PTR m_nTimer; - U8 m_bDIData; - U8 m_bDOData; - int m_AOValue[MAX_AO_CHANNELS]; - -// Implementation -protected: - HICON m_hIcon; - - // Generated message map functions - virtual BOOL OnInitDialog(); - afx_msg void OnSysCommand(UINT nID, LPARAM lParam); - afx_msg void OnPaint(); - afx_msg HCURSOR OnQueryDragIcon(); - DECLARE_MESSAGE_MAP() -public: - CStatic m_DI0_ON; - CStatic m_DI1_ON; - CStatic m_DI2_ON; - CStatic m_DI3_ON; - CSliderCtrl m_sdAOLevel0; - CSliderCtrl m_sdAOLevel1; - CSliderCtrl m_sdAOLevel2; - CSliderCtrl m_sdAOLevel3; - afx_msg void OnDO0Clicked(); - afx_msg void OnDO1Clicked(); - afx_msg void OnDO2Clicked(); - afx_msg void OnDO3Clicked(); - afx_msg void OnTimer(UINT_PTR nIDEvent); - afx_msg void OnDestroy(); - afx_msg void OnSliderV3Changed(NMHDR *pNMHDR, LRESULT *pResult); - afx_msg void OnSliderV2Changed(NMHDR *pNMHDR, LRESULT *pResult); - afx_msg void OnSliderV1Changed(NMHDR *pNMHDR, LRESULT *pResult); - afx_msg void OnSliderV0Changed(NMHDR *pNMHDR, LRESULT *pResult); -}; diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/6308/SDK6308A/res/Util6308.ico b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/6308/SDK6308A/res/Util6308.ico deleted file mode 100644 index d56fbcd..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/6308/SDK6308A/res/Util6308.ico and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/6308/SDK6308A/res/Util6308.rc2 b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/6308/SDK6308A/res/Util6308.rc2 deleted file mode 100644 index b4824e7..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/6308/SDK6308A/res/Util6308.rc2 +++ /dev/null @@ -1,13 +0,0 @@ -// -// Util6208.RC2 - resources Microsoft Visual C++ does not edit directly -// - -#ifdef APSTUDIO_INVOKED -#error this file is not editable by Microsoft Visual C++ -#endif //APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// Add manually edited resources here... - -///////////////////////////////////////////////////////////////////////////// diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/6308/SDK6308A/res/black.ico b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/6308/SDK6308A/res/black.ico deleted file mode 100644 index b5c375f..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/6308/SDK6308A/res/black.ico and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/6308/SDK6308A/res/blue.ico b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/6308/SDK6308A/res/blue.ico deleted file mode 100644 index 1df4b39..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/6308/SDK6308A/res/blue.ico and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/6308/SDK6308A/res/green.ico b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/6308/SDK6308A/res/green.ico deleted file mode 100644 index d9a9fd3..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/6308/SDK6308A/res/green.ico and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/6308/SDK6308A/res/icon1.ico b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/6308/SDK6308A/res/icon1.ico deleted file mode 100644 index f1282c6..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/6308/SDK6308A/res/icon1.ico and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/6308/SDK6308A/res/pink.ico b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/6308/SDK6308A/res/pink.ico deleted file mode 100644 index 18bdaad..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/6308/SDK6308A/res/pink.ico and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/6308/SDK6308A/res/red.ico b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/6308/SDK6308A/res/red.ico deleted file mode 100644 index 7644596..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/6308/SDK6308A/res/red.ico and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/6308/SDK6308A/res/yellow.ico b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/6308/SDK6308A/res/yellow.ico deleted file mode 100644 index 3449de2..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/6308/SDK6308A/res/yellow.ico and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/6308/SDK6308A/resource.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/6308/SDK6308A/resource.h deleted file mode 100644 index 2c0f770..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/6308/SDK6308A/resource.h +++ /dev/null @@ -1,39 +0,0 @@ -//{{NO_DEPENDENCIES}} -// Microsoft Visual C++ generated include file. -// Used by Util6308.rc -// -#define IDM_ABOUTBOX 0x0010 -#define IDD_ABOUTBOX 100 -#define IDS_ABOUTBOX 101 -#define IDD_UTIL6308_DIALOG 102 -#define IDR_HTML_CARDIDDLG 103 -#define IDR_MAINFRAME 128 -#define IDI_ICON_BLACK 131 -#define IDI_ICON_GREEN 132 -#define IDI_ICON_RED 133 -#define IDD_CARDID_DIALOG 134 -#define IDC_COMBO_CARDID 1000 -#define IDC_SLIDER_V0 1008 -#define IDC_SLIDER_V1 1009 -#define IDC_SLIDER_V2 1010 -#define IDC_SLIDER_V3 1011 -#define IDC_ICON_DI0 1012 -#define IDC_ICON_DI1 1013 -#define IDC_ICON_DI2 1014 -#define IDC_STATIC_01 1014 -#define IDC_ICON_DI3 1015 -#define IDC_CHECK_DO0 1016 -#define IDC_CHECK_DO1 1017 -#define IDC_CHECK_DO2 1018 -#define IDC_CHECK_DO3 1019 - -// Next default values for new objects -// -#ifdef APSTUDIO_INVOKED -#ifndef APSTUDIO_READONLY_SYMBOLS -#define _APS_NEXT_RESOURCE_VALUE 136 -#define _APS_NEXT_COMMAND_VALUE 32771 -#define _APS_NEXT_CONTROL_VALUE 1009 -#define _APS_NEXT_SYMED_VALUE 104 -#endif -#endif diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/6308/SDK6308A/stdafx.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/6308/SDK6308A/stdafx.cpp deleted file mode 100644 index 88d29f0..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/6308/SDK6308A/stdafx.cpp +++ /dev/null @@ -1,8 +0,0 @@ - -// stdafx.cpp : source file that includes just the standard includes -// Util6208.pch will be the pre-compiled header -// stdafx.obj will contain the pre-compiled type information - -#include "stdafx.h" - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/6308/SDK6308A/stdafx.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/6308/SDK6308A/stdafx.h deleted file mode 100644 index e0d8125..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/6308/SDK6308A/stdafx.h +++ /dev/null @@ -1,61 +0,0 @@ - -// stdafx.h : include file for standard system include files, -// or project specific include files that are used frequently, -// but are changed infrequently - -#pragma once - -#ifndef _SECURE_ATL -#define _SECURE_ATL 1 -#endif - -#ifndef VC_EXTRALEAN -#define VC_EXTRALEAN // Exclude rarely-used stuff from Windows headers -#endif - -#include "targetver.h" - -#define _ATL_CSTRING_EXPLICIT_CONSTRUCTORS // some CString constructors will be explicit - -// turns off MFC's hiding of some common and often safely ignored warning messages -#define _AFX_ALL_WARNINGS - -#include // MFC core and standard components -#include // MFC extensions - - -#include // MFC Automation classes - - - -#ifndef _AFX_NO_OLE_SUPPORT -#include // MFC support for Internet Explorer 4 Common Controls -#endif -#ifndef _AFX_NO_AFXCMN_SUPPORT -#include // MFC support for Windows Common Controls -#endif // _AFX_NO_AFXCMN_SUPPORT - -#include // MFC support for ribbons and control bars -#include - - - - - - - - - -#ifdef _UNICODE -#if defined _M_IX86 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='x86' publicKeyToken='6595b64144ccf1df' language='*'\"") -#elif defined _M_IA64 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='ia64' publicKeyToken='6595b64144ccf1df' language='*'\"") -#elif defined _M_X64 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='amd64' publicKeyToken='6595b64144ccf1df' language='*'\"") -#else -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='*' publicKeyToken='6595b64144ccf1df' language='*'\"") -#endif -#endif - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/6308/SDK6308A/targetver.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/6308/SDK6308A/targetver.h deleted file mode 100644 index 11730d5..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/6308/SDK6308A/targetver.h +++ /dev/null @@ -1,26 +0,0 @@ - -#pragma once - -// The following macros define the minimum required platform. The minimum required platform -// is the earliest version of Windows, Internet Explorer etc. that has the necessary features to run -// your application. The macros work by enabling all features available on platform versions up to and -// including the version specified. - -// Modify the following defines if you have to target a platform prior to the ones specified below. -// Refer to MSDN for the latest info on corresponding values for different platforms. -#ifndef WINVER // Specifies that the minimum required platform is Windows Vista. -#define WINVER 0x0600 // Change this to the appropriate value to target other versions of Windows. -#endif - -#ifndef _WIN32_WINNT // Specifies that the minimum required platform is Windows Vista. -#define _WIN32_WINNT 0x0600 // Change this to the appropriate value to target other versions of Windows. -#endif - -#ifndef _WIN32_WINDOWS // Specifies that the minimum required platform is Windows 98. -#define _WIN32_WINDOWS 0x0410 // Change this to the appropriate value to target Windows Me or later. -#endif - -#ifndef _WIN32_IE // Specifies that the minimum required platform is Internet Explorer 7.0. -#define _WIN32_IE 0x0700 // Change this to the appropriate value to target other versions of IE. -#endif - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/6308/SDK6308V/CardIDDlg.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/6308/SDK6308V/CardIDDlg.cpp deleted file mode 100644 index 041cb1d..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/6308/SDK6308V/CardIDDlg.cpp +++ /dev/null @@ -1,67 +0,0 @@ -// CardIDDlg.cpp : implementation file -// - -#include "stdafx.h" -#include "Util6308.h" -#include "CardIDDlg.h" - - -// CCardIDDlg dialog - -IMPLEMENT_DYNAMIC(CCardIDDlg, CDialog) - -CCardIDDlg::CCardIDDlg(int nCardIdx, CWnd* pParent /*=NULL*/) - : CDialog(CCardIDDlg::IDD, pParent) -{ - m_nCardIdx = nCardIdx; -} - -CCardIDDlg::~CCardIDDlg() -{ -} - -void CCardIDDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); - DDX_Control(pDX, IDC_COMBO_CARDID, m_cbCardID); -} - - -BEGIN_MESSAGE_MAP(CCardIDDlg, CDialog) -// ON_CBN_SELCHANGE(IDC_COMBO_CARDID, &CCardIDDlg::OnCbnSelchangeComboCardid) -ON_BN_CLICKED(IDOK, &CCardIDDlg::OnBnClickedOk) -//ON_WM_CTLCOLOR() -END_MESSAGE_MAP() - - -// CCardIDDlg message handlers - - -void CCardIDDlg::OnBnClickedOk() -{ - // TODO: Add your control notification handler code here - -// UpdateData(TRUE); - m_nCardIdx = m_cbCardID.GetCurSel(); - - OnOK(); -} - -BOOL CCardIDDlg::OnInitDialog() -{ - CDialog::OnInitDialog(); - - // TODO: Add extra initialization here - m_cbCardID.SetCurSel( m_nCardIdx ); - - return TRUE; // return TRUE unless you set the focus to a control - // EXCEPTION: OCX Property Pages should return FALSE -} - -// the function to get the selected CardID -int CCardIDDlg::GetCardID(void) -{ - return m_nCardIdx; -} - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/6308/SDK6308V/CardIDDlg.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/6308/SDK6308V/CardIDDlg.h deleted file mode 100644 index 54628ea..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/6308/SDK6308V/CardIDDlg.h +++ /dev/null @@ -1,33 +0,0 @@ -#pragma once -#include "afxwin.h" - - -// CCardIDDlg dialog - -class CCardIDDlg : public CDialog -{ - DECLARE_DYNAMIC(CCardIDDlg) - -public: - CCardIDDlg(int nCardIdx, CWnd* pParent = NULL); // standard constructor - virtual ~CCardIDDlg(); - -// Dialog Data - enum { IDD = IDD_CARDID_DIALOG }; - -protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - - DECLARE_MESSAGE_MAP() -public: -// afx_msg void OnCbnSelchangeComboCardid(); - afx_msg void OnBnClickedOk(); - // the setting of CardID ComboBox - int m_nCardIdx; - virtual BOOL OnInitDialog(); - // the control of CardID ComboBox - CComboBox m_cbCardID; - // the function to get the selected CardID - int GetCardID(void); -// afx_msg HBRUSH OnCtlColor(CDC* pDC, CWnd* pWnd, UINT nCtlColor); -}; diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/6308/SDK6308V/CardIDDlg.htm b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/6308/SDK6308V/CardIDDlg.htm deleted file mode 100644 index 90caca0..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/6308/SDK6308V/CardIDDlg.htm +++ /dev/null @@ -1,19 +0,0 @@ - - - - - - - - - - -
-
- -
-TODO: Place controls here. -
- - - \ No newline at end of file diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/6308/SDK6308V/ReadMe.txt b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/6308/SDK6308V/ReadMe.txt deleted file mode 100644 index 82b6192..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/6308/SDK6308V/ReadMe.txt +++ /dev/null @@ -1,93 +0,0 @@ -================================================================================ - MICROSOFT FOUNDATION CLASS LIBRARY : Util6308 Project Overview -=============================================================================== - -The application wizard has created this Util6308 application for -you. This application not only demonstrates the basics of using the Microsoft -Foundation Classes but is also a starting point for writing your application. - -This file contains a summary of what you will find in each of the files that -make up your Util6308 application. - -Util6308.vcproj - This is the main project file for VC++ projects generated using an application wizard. - It contains information about the version of Visual C++ that generated the file, and - information about the platforms, configurations, and project features selected with the - application wizard. - -Util6308.h - This is the main header file for the application. It includes other - project specific headers (including Resource.h) and declares the - CUtil6308App application class. - -Util6308.cpp - This is the main application source file that contains the application - class CUtil6308App. - -Util6308.rc - This is a listing of all of the Microsoft Windows resources that the - program uses. It includes the icons, bitmaps, and cursors that are stored - in the RES subdirectory. This file can be directly edited in Microsoft - Visual C++. Your project resources are in 1033. - -res\Util6308.ico - This is an icon file, which is used as the application's icon. This - icon is included by the main resource file Util6308.rc. - -res\Util6308.rc2 - This file contains resources that are not edited by Microsoft - Visual C++. You should place all resources not editable by - the resource editor in this file. - - -///////////////////////////////////////////////////////////////////////////// - -The application wizard creates one dialog class: - -Util6308Dlg.h, Util6308Dlg.cpp - the dialog - These files contain your CUtil6308Dlg class. This class defines - the behavior of your application's main dialog. The dialog's template is - in Util6308.rc, which can be edited in Microsoft Visual C++. - - -///////////////////////////////////////////////////////////////////////////// - -Other Features: - -ActiveX Controls - The application includes support to use ActiveX controls. - -///////////////////////////////////////////////////////////////////////////// - -Other standard files: - -StdAfx.h, StdAfx.cpp - These files are used to build a precompiled header (PCH) file - named Util6308.pch and a precompiled types file named StdAfx.obj. - -Resource.h - This is the standard header file, which defines new resource IDs. - Microsoft Visual C++ reads and updates this file. - -Util6308.manifest - Application manifest files are used by Windows XP to describe an applications - dependency on specific versions of Side-by-Side assemblies. The loader uses this - information to load the appropriate assembly from the assembly cache or private - from the application. The Application manifest maybe included for redistribution - as an external .manifest file that is installed in the same folder as the application - executable or it may be included in the executable in the form of a resource. -///////////////////////////////////////////////////////////////////////////// - -Other notes: - -The application wizard uses "TODO:" to indicate parts of the source code you -should add to or customize. - -If your application uses MFC in a shared DLL, you will need -to redistribute the MFC DLLs. If your application is in a language -other than the operating system's locale, you will also have to -redistribute the corresponding localized resources MFC90XXX.DLL. -For more information on both of these topics, please see the section on -redistributing Visual C++ applications in MSDN documentation. - -///////////////////////////////////////////////////////////////////////////// diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/6308/SDK6308V/Util6208.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/6308/SDK6308V/Util6208.suo deleted file mode 100644 index 6daa9bc..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/6308/SDK6308V/Util6208.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/6308/SDK6308V/Util6308.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/6308/SDK6308V/Util6308.cpp deleted file mode 100644 index 98489a0..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/6308/SDK6308V/Util6308.cpp +++ /dev/null @@ -1,111 +0,0 @@ - -// Util6308.cpp : Defines the class behaviors for the application. -// - -#include "stdafx.h" -#include "Util6308.h" -#include "Util6308Dlg.h" -#include "CardIDDlg.h" - -#ifdef _DEBUG -#define new DEBUG_NEW -#endif - - -// CUtil6308App - -BEGIN_MESSAGE_MAP(CUtil6308App, CWinAppEx) - ON_COMMAND(ID_HELP, &CWinApp::OnHelp) -END_MESSAGE_MAP() - - -// CUtil6308App construction - -CUtil6308App::CUtil6308App() -{ - // TODO: add construction code here, - // Place all significant initialization in InitInstance -} - - -// The one and only CUtil6308App object - -CUtil6308App theApp; - - -// CUtil6308App initialization - -BOOL CUtil6308App::InitInstance() -{ - int nCardID = 0; - I16 hCard; - CString strTemp; - INT_PTR nResponse; - - // InitCommonControlsEx() is required on Windows XP if an application - // manifest specifies use of ComCtl32.dll version 6 or later to enable - // visual styles. Otherwise, any window creation will fail. - INITCOMMONCONTROLSEX InitCtrls; - InitCtrls.dwSize = sizeof(InitCtrls); - // Set this to include all the common control classes you want to use - // in your application. - InitCtrls.dwICC = ICC_WIN95_CLASSES; - InitCommonControlsEx(&InitCtrls); - - CWinAppEx::InitInstance(); - - AfxEnableControlContainer(); - - // Standard initialization - // If you are not using these features and wish to reduce the size - // of your final executable, you should remove from the following - // the specific initialization routines you do not need - // Change the registry key under which our settings are stored - // TODO: You should modify this string to be something appropriate - // such as the name of your company or organization - SetRegistryKey(_T("Local AppWizard-Generated Applications")); - - - CCardIDDlg CardDlg( nCardID ); - - nResponse = CardDlg.DoModal(); - if (nResponse == IDOK) - { - nCardID = CardDlg.GetCardID(); - - if ((hCard=Register_Card(PCI_6308V, nCardID)) < 0) - { - strTemp.Format( TEXT("Register_Card Error = %d"), hCard); - AfxMessageBox( strTemp ); - } - else - { - CUtil6308Dlg dlg(hCard); - m_pMainWnd = &dlg; - nResponse = dlg.DoModal(); - if (nResponse == IDOK) - { - // TODO: Place code here to handle when the dialog is - // dismissed with OK - } - else if (nResponse == IDCANCEL) - { - // TODO: Place code here to handle when the dialog is - // dismissed with Cancel - } - - if (hCard >= 0) Release_Card(hCard); - } - - } - else if (nResponse == IDCANCEL) - { - // TODO: Place code here to handle when the dialog is - // dismissed with Cancel - } - - - // Since the dialog has been closed, return FALSE so that we exit the - // application, rather than start the application's message pump. - return FALSE; -} diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/6308/SDK6308V/Util6308.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/6308/SDK6308V/Util6308.h deleted file mode 100644 index 183b09f..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/6308/SDK6308V/Util6308.h +++ /dev/null @@ -1,32 +0,0 @@ - -// Util6308.h : main header file for the PROJECT_NAME application -// - -#pragma once - -#ifndef __AFXWIN_H__ - #error "include 'stdafx.h' before including this file for PCH" -#endif - -#include "resource.h" // main symbols - - -// CUtil6308App: -// See Util6308.cpp for the implementation of this class -// - -class CUtil6308App : public CWinAppEx -{ -public: - CUtil6308App(); - -// Overrides - public: - virtual BOOL InitInstance(); - -// Implementation - - DECLARE_MESSAGE_MAP() -}; - -extern CUtil6308App theApp; \ No newline at end of file diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/6308/SDK6308V/Util6308.rc b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/6308/SDK6308V/Util6308.rc deleted file mode 100644 index b1f4837..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/6308/SDK6308V/Util6308.rc +++ /dev/null @@ -1,382 +0,0 @@ -// Microsoft Visual C++ generated resource script. -// -#include "resource.h" - -#define APSTUDIO_READONLY_SYMBOLS -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 2 resource. -// -#ifndef APSTUDIO_INVOKED -#include "targetver.h" -#endif -#include "afxres.h" - -///////////////////////////////////////////////////////////////////////////// -#undef APSTUDIO_READONLY_SYMBOLS - -///////////////////////////////////////////////////////////////////////////// -// Chinese (Taiwan) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_CHT) -#ifdef _WIN32 -LANGUAGE LANG_CHINESE, SUBLANG_CHINESE_TRADITIONAL -#pragma code_page(950) -#endif //_WIN32 - -#ifdef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// TEXTINCLUDE -// - -1 TEXTINCLUDE -BEGIN - "resource.h\0" -END - -2 TEXTINCLUDE -BEGIN - "#ifndef APSTUDIO_INVOKED\r\n" - "#include ""targetver.h""\r\n" - "#endif\r\n" - "#include ""afxres.h""\r\n" - "\0" -END - -3 TEXTINCLUDE -BEGIN - "#define _AFX_NO_SPLITTER_RESOURCES\r\n" - "#define _AFX_NO_OLE_RESOURCES\r\n" - "#define _AFX_NO_TRACKER_RESOURCES\r\n" - "#define _AFX_NO_PROPERTY_RESOURCES\r\n" - "\r\n" - "#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)\r\n" - "LANGUAGE 9, 1\r\n" - "#pragma code_page(1252)\r\n" - "#include ""res\\Util6308.rc2"" // non-Microsoft Visual C++ edited resources\r\n" - "#include ""afxres.rc"" // Standard components\r\n" - "#endif\r\n" - "\0" -END - -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// Icon -// - -// Icon with lowest ID value placed first to ensure application icon -// remains consistent on all systems. -IDR_MAINFRAME ICON "res\\Util6308.ico" - -///////////////////////////////////////////////////////////////////////////// -// -// HTML -// - -IDR_HTML_CARDIDDLG HTML "CardIDDlg.htm" -#endif // Chinese (Taiwan) resources -///////////////////////////////////////////////////////////////////////////// - - -///////////////////////////////////////////////////////////////////////////// -// English (U.S.) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -#ifdef _WIN32 -LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US -#pragma code_page(1252) -#endif //_WIN32 - -///////////////////////////////////////////////////////////////////////////// -// -// Icon -// - -// Icon with lowest ID value placed first to ensure application icon -// remains consistent on all systems. -IDI_ICON_BLACK ICON "res\\black.ico" -IDI_ICON_GREEN ICON "res\\green.ico" -IDI_ICON_RED ICON "res\\red.ico" - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog -// - -IDD_ABOUTBOX DIALOGEX 0, 0, 170, 62 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "About Util6308" -FONT 8, "MS Shell Dlg", 0, 0, 0x1 -BEGIN - ICON IDR_MAINFRAME,IDC_STATIC,14,14,21,20 - LTEXT "Util6308, Version 1.0",IDC_STATIC,42,14,114,8,SS_NOPREFIX - LTEXT "Copyright (C) 2010",IDC_STATIC,42,26,114,8 - DEFPUSHBUTTON "OK",IDOK,113,41,50,14,WS_GROUP -END - -IDD_UTIL6308_DIALOG DIALOGEX 0, 0, 421, 135 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU -EXSTYLE WS_EX_APPWINDOW -CAPTION "PCI-6308V (Bipolar output mode, please check the onboard jumpers)" -FONT 8, "MS Shell Dlg", 0, 0, 0x1 -BEGIN - GROUPBOX "Digital Input",IDC_STATIC,8,7,105,43 - GROUPBOX "Digital Output",IDC_STATIC,122,7,105,43 - GROUPBOX "Analog Output",IDC_STATIC,13,55,407,73 - COMBOBOX IDC_COMBO_V0,357,81,39,17,CBS_DROPDOWN | WS_VSCROLL | WS_TABSTOP - COMBOBOX IDC_COMBO_V1,310,81,39,17,CBS_DROPDOWN | WS_VSCROLL | WS_TABSTOP - COMBOBOX IDC_COMBO_V2,254,81,39,17,CBS_DROPDOWN | WS_VSCROLL | WS_TABSTOP - COMBOBOX IDC_COMBO_V3,208,81,39,17,CBS_DROPDOWN | WS_VSCROLL | WS_TABSTOP - COMBOBOX IDC_COMBO_V4,156,81,39,17,CBS_DROPDOWN | WS_VSCROLL | WS_TABSTOP - COMBOBOX IDC_COMBO_V5,110,81,39,17,CBS_DROPDOWN | WS_VSCROLL | WS_TABSTOP - COMBOBOX IDC_COMBO_V6,58,81,39,17,CBS_DROPDOWN | WS_VSCROLL | WS_TABSTOP - COMBOBOX IDC_COMBO_V7,11,81,39,17,CBS_DROPDOWN | WS_VSCROLL | WS_TABSTOP - LTEXT "V0",IDC_STATIC,371,70,15,9 - LTEXT "V1",IDC_STATIC,325,70,15,9 - LTEXT "V3",IDC_STATIC,224,70,15,9 - LTEXT "V4",IDC_STATIC,171,70,15,9 - LTEXT "V5",IDC_STATIC,125,70,15,9 - LTEXT "V6",IDC_STATIC,71,71,15,9 - LTEXT "V7",IDC_STATIC,27,71,15,9 - LTEXT "V2",IDC_STATIC,268,70,15,9 - CONTROL "",IDC_SLIDER_V0,"msctls_trackbar32",TBS_AUTOTICKS | TBS_TOP | WS_TABSTOP,312,107,83,18 - CONTROL "",IDC_SLIDER_V1,"msctls_trackbar32",TBS_AUTOTICKS | TBS_TOP | WS_TABSTOP,209,107,83,18 - CONTROL "",IDC_SLIDER_V2,"msctls_trackbar32",TBS_AUTOTICKS | TBS_TOP | WS_TABSTOP,109,107,83,18 - CONTROL "",IDC_SLIDER_V3,"msctls_trackbar32",TBS_AUTOTICKS | TBS_TOP | WS_TABSTOP,10,107,83,18 - LTEXT "-10 0 10",IDC_STATIC,315,100,78,8 - LTEXT "-10 0 10",IDC_STATIC,211,100,78,8 - LTEXT "-10 0 10",IDC_STATIC,113,100,78,8 - LTEXT "-10 0 10",IDC_STATIC,15,100,78,8 - ICON IDI_ICON_BLACK,IDC_ICON_DI0,86,16,21,20 - ICON IDI_ICON_BLACK,IDC_ICON_DI1,62,16,21,20 - ICON IDI_ICON_BLACK,IDC_ICON_DI2,38,16,21,20 - ICON IDI_ICON_BLACK,IDC_ICON_DI3,14,16,21,20 - CONTROL "",IDC_CHECK_DO0,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE | WS_TABSTOP,203,17,18,19 - CONTROL "",IDC_CHECK_DO1,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE | WS_TABSTOP,179,17,18,19 - CONTROL "",IDC_CHECK_DO2,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE | WS_TABSTOP,155,17,18,19 - CONTROL "",IDC_CHECK_DO3,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE | WS_TABSTOP,131,17,18,19 - LTEXT "DO3 DO2 DO1 DO0",IDC_STATIC,134,38,89,11 - LTEXT "DI3 DI2 DI1 DI0",IDC_STATIC,17,37,89,11 -END - -IDD_CARDID_DIALOG DIALOGEX 0, 0, 184, 96 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "Card ID" -FONT 8, "MS Shell Dlg", 400, 0, 0x1 -BEGIN - COMBOBOX IDC_COMBO_CARDID,81,21,71,126,CBS_DROPDOWN | WS_VSCROLL | WS_TABSTOP - LTEXT "Card Number",IDC_STATIC_01,27,22,46,12 - PUSHBUTTON "OK",IDOK,28,54,58,19 - PUSHBUTTON "CANCEL",IDCANCEL,92,54,58,19 -END - - -///////////////////////////////////////////////////////////////////////////// -// -// Version -// - -VS_VERSION_INFO VERSIONINFO - FILEVERSION 1,0,0,1 - PRODUCTVERSION 1,0,0,1 - FILEFLAGSMASK 0x3fL -#ifdef _DEBUG - FILEFLAGS 0x1L -#else - FILEFLAGS 0x0L -#endif - FILEOS 0x4L - FILETYPE 0x1L - FILESUBTYPE 0x0L -BEGIN - BLOCK "StringFileInfo" - BEGIN - BLOCK "040904e4" - BEGIN - VALUE "CompanyName", "TODO: " - VALUE "FileDescription", "TODO: " - VALUE "FileVersion", "1.0.0.1" - VALUE "InternalName", "Util6308.exe" - VALUE "LegalCopyright", "TODO: (c) . All rights reserved." - VALUE "OriginalFilename", "Util6308.exe" - VALUE "ProductName", "TODO: " - VALUE "ProductVersion", "1.0.0.1" - END - END - BLOCK "VarFileInfo" - BEGIN - VALUE "Translation", 0x409, 1252 - END -END - - -///////////////////////////////////////////////////////////////////////////// -// -// DESIGNINFO -// - -#ifdef APSTUDIO_INVOKED -GUIDELINES DESIGNINFO -BEGIN - IDD_ABOUTBOX, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 163 - TOPMARGIN, 7 - BOTTOMMARGIN, 55 - END - - IDD_UTIL6308_DIALOG, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 414 - TOPMARGIN, 7 - BOTTOMMARGIN, 128 - END - - IDD_CARDID_DIALOG, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 177 - TOPMARGIN, 7 - BOTTOMMARGIN, 89 - END -END -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog Info -// - -IDD_UTIL6308_DIALOG DLGINIT -BEGIN - IDC_COMBO_V0, 0x403, 5, 0 -0x6f4e, 0x656e, "\000" - IDC_COMBO_V0, 0x403, 5, 0 -0x6953, 0x656e, "\000" - IDC_COMBO_V0, 0x403, 7, 0 -0x7153, 0x6175, 0x6572, "\000" - IDC_COMBO_V1, 0x403, 5, 0 -0x6f4e, 0x656e, "\000" - IDC_COMBO_V1, 0x403, 5, 0 -0x6953, 0x656e, "\000" - IDC_COMBO_V1, 0x403, 7, 0 -0x7153, 0x6175, 0x6572, "\000" - IDC_COMBO_V2, 0x403, 5, 0 -0x6f4e, 0x656e, "\000" - IDC_COMBO_V2, 0x403, 5, 0 -0x6953, 0x656e, "\000" - IDC_COMBO_V2, 0x403, 7, 0 -0x7153, 0x6175, 0x6572, "\000" - IDC_COMBO_V3, 0x403, 5, 0 -0x6f4e, 0x656e, "\000" - IDC_COMBO_V3, 0x403, 5, 0 -0x6953, 0x656e, "\000" - IDC_COMBO_V3, 0x403, 7, 0 -0x7153, 0x6175, 0x6572, "\000" - IDC_COMBO_V4, 0x403, 5, 0 -0x6f4e, 0x656e, "\000" - IDC_COMBO_V4, 0x403, 5, 0 -0x6953, 0x656e, "\000" - IDC_COMBO_V4, 0x403, 7, 0 -0x7153, 0x6175, 0x6572, "\000" - IDC_COMBO_V5, 0x403, 5, 0 -0x6f4e, 0x656e, "\000" - IDC_COMBO_V5, 0x403, 5, 0 -0x6953, 0x656e, "\000" - IDC_COMBO_V5, 0x403, 7, 0 -0x7153, 0x6175, 0x6572, "\000" - IDC_COMBO_V6, 0x403, 5, 0 -0x6f4e, 0x656e, "\000" - IDC_COMBO_V6, 0x403, 5, 0 -0x6953, 0x656e, "\000" - IDC_COMBO_V6, 0x403, 7, 0 -0x7153, 0x6175, 0x6572, "\000" - IDC_COMBO_V7, 0x403, 5, 0 -0x6f4e, 0x656e, "\000" - IDC_COMBO_V7, 0x403, 5, 0 -0x6953, 0x656e, "\000" - IDC_COMBO_V7, 0x403, 7, 0 -0x7153, 0x6175, 0x6572, "\000" - 0 -END - -IDD_CARDID_DIALOG DLGINIT -BEGIN - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0030, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0031, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0032, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0033, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0034, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0035, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0036, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0037, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0038, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0039, - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3031, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3131, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3231, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3331, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3431, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3531, "\000" - 0 -END - - -///////////////////////////////////////////////////////////////////////////// -// -// String Table -// - -STRINGTABLE -BEGIN - IDS_ABOUTBOX "&About Util6308..." -END - -#endif // English (U.S.) resources -///////////////////////////////////////////////////////////////////////////// - - - -#ifndef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 3 resource. -// -#define _AFX_NO_SPLITTER_RESOURCES -#define _AFX_NO_OLE_RESOURCES -#define _AFX_NO_TRACKER_RESOURCES -#define _AFX_NO_PROPERTY_RESOURCES - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -LANGUAGE 9, 1 -#pragma code_page(1252) -#include "res\Util6308.rc2" // non-Microsoft Visual C++ edited resources -#include "afxres.rc" // Standard components -#endif - -///////////////////////////////////////////////////////////////////////////// -#endif // not APSTUDIO_INVOKED - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/6308/SDK6308V/Util6308.sln b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/6308/SDK6308V/Util6308.sln deleted file mode 100644 index 34fd42b..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/6308/SDK6308V/Util6308.sln +++ /dev/null @@ -1,26 +0,0 @@ - -Microsoft Visual Studio Solution File, Format Version 10.00 -# Visual Studio 2008 -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "Util6308", "Util6308.vcproj", "{2FFCCECD-450F-491F-90C4-37AA2664BD85}" -EndProject -Global - GlobalSection(SolutionConfigurationPlatforms) = preSolution - Debug|Win32 = Debug|Win32 - Debug|x64 = Debug|x64 - Release|Win32 = Release|Win32 - Release|x64 = Release|x64 - EndGlobalSection - GlobalSection(ProjectConfigurationPlatforms) = postSolution - {2FFCCECD-450F-491F-90C4-37AA2664BD85}.Debug|Win32.ActiveCfg = Debug|Win32 - {2FFCCECD-450F-491F-90C4-37AA2664BD85}.Debug|Win32.Build.0 = Debug|Win32 - {2FFCCECD-450F-491F-90C4-37AA2664BD85}.Debug|x64.ActiveCfg = Debug|x64 - {2FFCCECD-450F-491F-90C4-37AA2664BD85}.Debug|x64.Build.0 = Debug|x64 - {2FFCCECD-450F-491F-90C4-37AA2664BD85}.Release|Win32.ActiveCfg = Release|Win32 - {2FFCCECD-450F-491F-90C4-37AA2664BD85}.Release|Win32.Build.0 = Release|Win32 - {2FFCCECD-450F-491F-90C4-37AA2664BD85}.Release|x64.ActiveCfg = Release|x64 - {2FFCCECD-450F-491F-90C4-37AA2664BD85}.Release|x64.Build.0 = Release|x64 - EndGlobalSection - GlobalSection(SolutionProperties) = preSolution - HideSolutionNode = FALSE - EndGlobalSection -EndGlobal diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/6308/SDK6308V/Util6308.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/6308/SDK6308V/Util6308.suo deleted file mode 100644 index 044606d..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/6308/SDK6308V/Util6308.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/6308/SDK6308V/Util6308.vcproj b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/6308/SDK6308V/Util6308.vcproj deleted file mode 100644 index badc414..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/6308/SDK6308V/Util6308.vcproj +++ /dev/null @@ -1,487 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/6308/SDK6308V/Util6308Dlg.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/6308/SDK6308V/Util6308Dlg.cpp deleted file mode 100644 index 6fda500..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/6308/SDK6308V/Util6308Dlg.cpp +++ /dev/null @@ -1,640 +0,0 @@ - -// Util6308Dlg.cpp : implementation file -// - -#include "stdafx.h" -#include "math.h" -#include "Util6308.h" -#include "Util6308Dlg.h" - -#ifdef _DEBUG -#define new DEBUG_NEW -#endif - - -#ifndef M_PI -#define M_PI 3.14159265359 -#endif - -// CAboutDlg dialog used for App About - -class CAboutDlg : public CDialog -{ -public: - CAboutDlg(); - -// Dialog Data - enum { IDD = IDD_ABOUTBOX }; - - protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - -// Implementation -protected: - DECLARE_MESSAGE_MAP() -}; - -CAboutDlg::CAboutDlg() : CDialog(CAboutDlg::IDD) -{ -} - -void CAboutDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); -} - -BEGIN_MESSAGE_MAP(CAboutDlg, CDialog) -END_MESSAGE_MAP() - - -// CUtil6308Dlg dialog - - - - -CUtil6308Dlg::CUtil6308Dlg(I16 hCard, CWnd* pParent /*=NULL*/) - : CDialog(CUtil6308Dlg::IDD, pParent) -{ - int i; - - m_hIcon = AfxGetApp()->LoadIcon(IDR_MAINFRAME); - m_hCard = hCard; - - - for( i=0; iAppendMenu(MF_SEPARATOR); - pSysMenu->AppendMenu(MF_STRING, IDM_ABOUTBOX, strAboutMenu); - } - } - - // Set the icon for this dialog. The framework does this automatically - // when the application's main window is not a dialog - SetIcon(m_hIcon, TRUE); // Set big icon - SetIcon(m_hIcon, FALSE); // Set small icon - - // TODO: Add extra initialization here - m_cbAOMode0.SetCurSel( m_DAMode[0] ); - m_cbAOMode1.SetCurSel( m_DAMode[1] ); - m_cbAOMode2.SetCurSel( m_DAMode[2] ); - m_cbAOMode3.SetCurSel( m_DAMode[3] ); - m_cbAOMode4.SetCurSel( m_DAMode[4] ); - m_cbAOMode5.SetCurSel( m_DAMode[5] ); - m_cbAOMode6.SetCurSel( m_DAMode[6] ); - m_cbAOMode7.SetCurSel( m_DAMode[7] ); - - m_sdAOLevel0.SetRange( 0, 4095, TRUE ); - m_sdAOLevel0.SetTicFreq( 5 ); - - m_sdAOLevel1.SetRange( 0, 4095, TRUE ); - m_sdAOLevel1.SetTicFreq( 5 ); - - m_sdAOLevel2.SetRange( 0, 4095, TRUE ); - m_sdAOLevel2.SetTicFreq( 5 ); - - m_sdAOLevel3.SetRange( 0, 4095, TRUE ); - m_sdAOLevel3.SetTicFreq( 5 ); - - m_nTimer = SetTimer( 1, 200, NULL ); - - return TRUE; // return TRUE unless you set the focus to a control -} - -void CUtil6308Dlg::OnSysCommand(UINT nID, LPARAM lParam) -{ - if ((nID & 0xFFF0) == IDM_ABOUTBOX) - { - CAboutDlg dlgAbout; - dlgAbout.DoModal(); - } - else - { - CDialog::OnSysCommand(nID, lParam); - } -} - -// If you add a minimize button to your dialog, you will need the code below -// to draw the icon. For MFC applications using the document/view model, -// this is automatically done for you by the framework. - -void CUtil6308Dlg::OnPaint() -{ - if (IsIconic()) - { - CPaintDC dc(this); // device context for painting - - SendMessage(WM_ICONERASEBKGND, reinterpret_cast(dc.GetSafeHdc()), 0); - - // Center icon in client rectangle - int cxIcon = GetSystemMetrics(SM_CXICON); - int cyIcon = GetSystemMetrics(SM_CYICON); - CRect rect; - GetClientRect(&rect); - int x = (rect.Width() - cxIcon + 1) / 2; - int y = (rect.Height() - cyIcon + 1) / 2; - - // Draw the icon - dc.DrawIcon(x, y, m_hIcon); - } - else - { - CDialog::OnPaint(); - } -} - -// The system calls this function to obtain the cursor to display while the user drags -// the minimized window. -HCURSOR CUtil6308Dlg::OnQueryDragIcon() -{ - return static_cast(m_hIcon); -} - - -void CUtil6308Dlg::OnDO0Clicked() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_DO0 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_bDOData |= 0x01; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_bDOData &= (~0x01); - } - - DO_WritePort( m_hCard, 0, m_bDOData ); -} - -void CUtil6308Dlg::OnDO1Clicked() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_DO1 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_bDOData |= 0x02; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_bDOData &= (~0x02); - } - - DO_WritePort( m_hCard, 0, m_bDOData ); -} - -void CUtil6308Dlg::OnDO2Clicked() -{ - // TODO: Add your control notification handler code here - int CheckSts; - I16 nErr; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_DO2 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_bDOData |= 0x04; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_bDOData &= (~0x04); - } - - nErr = DO_WritePort( m_hCard, 0, m_bDOData ); -} - -void CUtil6308Dlg::OnDO3Clicked() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_DO3 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_bDOData |= 0x08; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_bDOData &= (~0x08); - } - - DO_WritePort( m_hCard, 0, m_bDOData ); -} - -void CUtil6308Dlg::OnTimer(UINT_PTR nIDEvent) -{ - // TODO: Add your message handler code here and/or call default - U32 dwPortData; - int i; - I16 p; - double m; - I16 nErr; - - nErr = DI_ReadPort( m_hCard, 0, &dwPortData); - - dwPortData = ( dwPortData & 0x0F ); - - if( dwPortData != m_bDIData ) - { - - m_bDIData = (U8)( dwPortData & 0xFF ); - - if( (dwPortData & 0x01) == 0x01 ) - { - m_DI0_ON.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_DI0_ON.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - - if( (dwPortData & 0x02) == 0x02 ) - { - m_DI1_ON.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_DI1_ON.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - - if( (dwPortData & 0x04) == 0x04 ) - { - m_DI2_ON.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_DI2_ON.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - - if( (dwPortData & 0x08) == 0x08 ) - { - m_DI3_ON.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_DI3_ON.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - /* Analog Output */ - for (i=0; i // MFC core and standard components -#include // MFC extensions - - -#include // MFC Automation classes - - - -#ifndef _AFX_NO_OLE_SUPPORT -#include // MFC support for Internet Explorer 4 Common Controls -#endif -#ifndef _AFX_NO_AFXCMN_SUPPORT -#include // MFC support for Windows Common Controls -#endif // _AFX_NO_AFXCMN_SUPPORT - -#include // MFC support for ribbons and control bars -#include - - - - - - - - - -#ifdef _UNICODE -#if defined _M_IX86 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='x86' publicKeyToken='6595b64144ccf1df' language='*'\"") -#elif defined _M_IA64 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='ia64' publicKeyToken='6595b64144ccf1df' language='*'\"") -#elif defined _M_X64 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='amd64' publicKeyToken='6595b64144ccf1df' language='*'\"") -#else -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='*' publicKeyToken='6595b64144ccf1df' language='*'\"") -#endif -#endif - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/6308/SDK6308V/targetver.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/6308/SDK6308V/targetver.h deleted file mode 100644 index 11730d5..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/6308/SDK6308V/targetver.h +++ /dev/null @@ -1,26 +0,0 @@ - -#pragma once - -// The following macros define the minimum required platform. The minimum required platform -// is the earliest version of Windows, Internet Explorer etc. that has the necessary features to run -// your application. The macros work by enabling all features available on platform versions up to and -// including the version specified. - -// Modify the following defines if you have to target a platform prior to the ones specified below. -// Refer to MSDN for the latest info on corresponding values for different platforms. -#ifndef WINVER // Specifies that the minimum required platform is Windows Vista. -#define WINVER 0x0600 // Change this to the appropriate value to target other versions of Windows. -#endif - -#ifndef _WIN32_WINNT // Specifies that the minimum required platform is Windows Vista. -#define _WIN32_WINNT 0x0600 // Change this to the appropriate value to target other versions of Windows. -#endif - -#ifndef _WIN32_WINDOWS // Specifies that the minimum required platform is Windows 98. -#define _WIN32_WINDOWS 0x0410 // Change this to the appropriate value to target Windows Me or later. -#endif - -#ifndef _WIN32_IE // Specifies that the minimum required platform is Internet Explorer 7.0. -#define _WIN32_IE 0x0700 // Change this to the appropriate value to target other versions of IE. -#endif - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7200/SDK7200/CardIDDlg.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7200/SDK7200/CardIDDlg.cpp deleted file mode 100644 index 3a1aeca..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7200/SDK7200/CardIDDlg.cpp +++ /dev/null @@ -1,67 +0,0 @@ -// CardIDDlg.cpp : implementation file -// - -#include "stdafx.h" -#include "Util7200.h" -#include "CardIDDlg.h" - - -// CCardIDDlg dialog - -IMPLEMENT_DYNAMIC(CCardIDDlg, CDialog) - -CCardIDDlg::CCardIDDlg(int nCardIdx, CWnd* pParent /*=NULL*/) - : CDialog(CCardIDDlg::IDD, pParent) -{ - m_nCardIdx = nCardIdx; -} - -CCardIDDlg::~CCardIDDlg() -{ -} - -void CCardIDDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); - DDX_Control(pDX, IDC_COMBO_CARDID, m_cbCardID); -} - - -BEGIN_MESSAGE_MAP(CCardIDDlg, CDialog) -// ON_CBN_SELCHANGE(IDC_COMBO_CARDID, &CCardIDDlg::OnCbnSelchangeComboCardid) -ON_BN_CLICKED(IDOK, &CCardIDDlg::OnBnClickedOk) -//ON_WM_CTLCOLOR() -END_MESSAGE_MAP() - - -// CCardIDDlg message handlers - - -void CCardIDDlg::OnBnClickedOk() -{ - // TODO: Add your control notification handler code here - -// UpdateData(TRUE); - m_nCardIdx = m_cbCardID.GetCurSel(); - - OnOK(); -} - -BOOL CCardIDDlg::OnInitDialog() -{ - CDialog::OnInitDialog(); - - // TODO: Add extra initialization here - m_cbCardID.SetCurSel( m_nCardIdx ); - - return TRUE; // return TRUE unless you set the focus to a control - // EXCEPTION: OCX Property Pages should return FALSE -} - -// the function to get the selected CardID -int CCardIDDlg::GetCardID(void) -{ - return m_nCardIdx; -} - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7200/SDK7200/CardIDDlg.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7200/SDK7200/CardIDDlg.h deleted file mode 100644 index 54628ea..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7200/SDK7200/CardIDDlg.h +++ /dev/null @@ -1,33 +0,0 @@ -#pragma once -#include "afxwin.h" - - -// CCardIDDlg dialog - -class CCardIDDlg : public CDialog -{ - DECLARE_DYNAMIC(CCardIDDlg) - -public: - CCardIDDlg(int nCardIdx, CWnd* pParent = NULL); // standard constructor - virtual ~CCardIDDlg(); - -// Dialog Data - enum { IDD = IDD_CARDID_DIALOG }; - -protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - - DECLARE_MESSAGE_MAP() -public: -// afx_msg void OnCbnSelchangeComboCardid(); - afx_msg void OnBnClickedOk(); - // the setting of CardID ComboBox - int m_nCardIdx; - virtual BOOL OnInitDialog(); - // the control of CardID ComboBox - CComboBox m_cbCardID; - // the function to get the selected CardID - int GetCardID(void); -// afx_msg HBRUSH OnCtlColor(CDC* pDC, CWnd* pWnd, UINT nCtlColor); -}; diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7200/SDK7200/ReadMe.txt b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7200/SDK7200/ReadMe.txt deleted file mode 100644 index 7b31039..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7200/SDK7200/ReadMe.txt +++ /dev/null @@ -1,93 +0,0 @@ -================================================================================ - MICROSOFT FOUNDATION CLASS LIBRARY : Util7200 Project Overview -=============================================================================== - -The application wizard has created this Util7200 application for -you. This application not only demonstrates the basics of using the Microsoft -Foundation Classes but is also a starting point for writing your application. - -This file contains a summary of what you will find in each of the files that -make up your Util7200 application. - -Util7200.vcproj - This is the main project file for VC++ projects generated using an application wizard. - It contains information about the version of Visual C++ that generated the file, and - information about the platforms, configurations, and project features selected with the - application wizard. - -Util7200.h - This is the main header file for the application. It includes other - project specific headers (including Resource.h) and declares the - CUtil7200App application class. - -Util7200.cpp - This is the main application source file that contains the application - class CUtil7200App. - -Util7200.rc - This is a listing of all of the Microsoft Windows resources that the - program uses. It includes the icons, bitmaps, and cursors that are stored - in the RES subdirectory. This file can be directly edited in Microsoft - Visual C++. Your project resources are in 1033. - -res\Util7200.ico - This is an icon file, which is used as the application's icon. This - icon is included by the main resource file Util7200.rc. - -res\Util7200.rc2 - This file contains resources that are not edited by Microsoft - Visual C++. You should place all resources not editable by - the resource editor in this file. - - -///////////////////////////////////////////////////////////////////////////// - -The application wizard creates one dialog class: - -Util7200Dlg.h, Util7200Dlg.cpp - the dialog - These files contain your CUtil7200Dlg class. This class defines - the behavior of your application's main dialog. The dialog's template is - in Util7200.rc, which can be edited in Microsoft Visual C++. - - -///////////////////////////////////////////////////////////////////////////// - -Other Features: - -ActiveX Controls - The application includes support to use ActiveX controls. - -///////////////////////////////////////////////////////////////////////////// - -Other standard files: - -StdAfx.h, StdAfx.cpp - These files are used to build a precompiled header (PCH) file - named Util7200.pch and a precompiled types file named StdAfx.obj. - -Resource.h - This is the standard header file, which defines new resource IDs. - Microsoft Visual C++ reads and updates this file. - -Util7200.manifest - Application manifest files are used by Windows XP to describe an applications - dependency on specific versions of Side-by-Side assemblies. The loader uses this - information to load the appropriate assembly from the assembly cache or private - from the application. The Application manifest maybe included for redistribution - as an external .manifest file that is installed in the same folder as the application - executable or it may be included in the executable in the form of a resource. -///////////////////////////////////////////////////////////////////////////// - -Other notes: - -The application wizard uses "TODO:" to indicate parts of the source code you -should add to or customize. - -If your application uses MFC in a shared DLL, you will need -to redistribute the MFC DLLs. If your application is in a language -other than the operating system's locale, you will also have to -redistribute the corresponding localized resources MFC90XXX.DLL. -For more information on both of these topics, please see the section on -redistributing Visual C++ applications in MSDN documentation. - -///////////////////////////////////////////////////////////////////////////// diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7200/SDK7200/Util7200.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7200/SDK7200/Util7200.cpp deleted file mode 100644 index ea25612..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7200/SDK7200/Util7200.cpp +++ /dev/null @@ -1,109 +0,0 @@ - -// Util7200.cpp : Defines the class behaviors for the application. -// - -#include "stdafx.h" -#include "Util7200.h" -#include "Util7200Dlg.h" -#include "CardIDDlg.h" - -#ifdef _DEBUG -#define new DEBUG_NEW -#endif - - -// CUtil7200App - -BEGIN_MESSAGE_MAP(CUtil7200App, CWinAppEx) - ON_COMMAND(ID_HELP, &CWinApp::OnHelp) -END_MESSAGE_MAP() - - -// CUtil7200App construction - -CUtil7200App::CUtil7200App() -{ - // TODO: add construction code here, - // Place all significant initialization in InitInstance -} - - -// The one and only CUtil7200App object - -CUtil7200App theApp; - - -// CUtil7200App initialization - -BOOL CUtil7200App::InitInstance() -{ - int nCardID = 0; - I16 hCard; - CString strTemp; - INT_PTR nResponse; - - // InitCommonControlsEx() is required on Windows XP if an application - // manifest specifies use of ComCtl32.dll version 6 or later to enable - // visual styles. Otherwise, any window creation will fail. - INITCOMMONCONTROLSEX InitCtrls; - InitCtrls.dwSize = sizeof(InitCtrls); - // Set this to include all the common control classes you want to use - // in your application. - InitCtrls.dwICC = ICC_WIN95_CLASSES; - InitCommonControlsEx(&InitCtrls); - - CWinAppEx::InitInstance(); - - AfxEnableControlContainer(); - - // Standard initialization - // If you are not using these features and wish to reduce the size - // of your final executable, you should remove from the following - // the specific initialization routines you do not need - // Change the registry key under which our settings are stored - // TODO: You should modify this string to be something appropriate - // such as the name of your company or organization - SetRegistryKey(_T("Local AppWizard-Generated Applications")); - - CCardIDDlg CardDlg( nCardID ); - - nResponse = CardDlg.DoModal(); - if (nResponse == IDOK) - { - nCardID = CardDlg.GetCardID(); - - if ((hCard=Register_Card(PCI_7200, nCardID)) < 0) - { - strTemp.Format( TEXT("Register_Card Error = %d"), hCard); - AfxMessageBox( strTemp ); - } - else - { - CUtil7200Dlg dlg(hCard); - m_pMainWnd = &dlg; - nResponse = dlg.DoModal(); - if (nResponse == IDOK) - { - // TODO: Place code here to handle when the dialog is - // dismissed with OK - } - else if (nResponse == IDCANCEL) - { - // TODO: Place code here to handle when the dialog is - // dismissed with Cancel - } - - if (hCard >= 0) Release_Card(hCard); - } - - } - else if (nResponse == IDCANCEL) - { - // TODO: Place code here to handle when the dialog is - // dismissed with Cancel - } - - // Since the dialog has been closed, return FALSE so that we exit the - // application, rather than start the application's message pump. - return FALSE; -} diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7200/SDK7200/Util7200.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7200/SDK7200/Util7200.h deleted file mode 100644 index ecfbf5b..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7200/SDK7200/Util7200.h +++ /dev/null @@ -1,32 +0,0 @@ - -// Util7200.h : main header file for the PROJECT_NAME application -// - -#pragma once - -#ifndef __AFXWIN_H__ - #error "include 'stdafx.h' before including this file for PCH" -#endif - -#include "resource.h" // main symbols - - -// CUtil7200App: -// See Util7200.cpp for the implementation of this class -// - -class CUtil7200App : public CWinAppEx -{ -public: - CUtil7200App(); - -// Overrides - public: - virtual BOOL InitInstance(); - -// Implementation - - DECLARE_MESSAGE_MAP() -}; - -extern CUtil7200App theApp; \ No newline at end of file diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7200/SDK7200/Util7200.rc b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7200/SDK7200/Util7200.rc deleted file mode 100644 index 1b3a250..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7200/SDK7200/Util7200.rc +++ /dev/null @@ -1,346 +0,0 @@ -// Microsoft Visual C++ generated resource script. -// -#include "resource.h" - -#define APSTUDIO_READONLY_SYMBOLS -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 2 resource. -// -#ifndef APSTUDIO_INVOKED -#include "targetver.h" -#endif -#include "afxres.h" - -///////////////////////////////////////////////////////////////////////////// -#undef APSTUDIO_READONLY_SYMBOLS - -///////////////////////////////////////////////////////////////////////////// -// Chinese (Taiwan) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_CHT) -#ifdef _WIN32 -LANGUAGE LANG_CHINESE, SUBLANG_CHINESE_TRADITIONAL -#pragma code_page(950) -#endif //_WIN32 - -#ifdef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// TEXTINCLUDE -// - -1 TEXTINCLUDE -BEGIN - "resource.h\0" -END - -2 TEXTINCLUDE -BEGIN - "#ifndef APSTUDIO_INVOKED\r\n" - "#include ""targetver.h""\r\n" - "#endif\r\n" - "#include ""afxres.h""\r\n" - "\0" -END - -3 TEXTINCLUDE -BEGIN - "#define _AFX_NO_SPLITTER_RESOURCES\r\n" - "#define _AFX_NO_OLE_RESOURCES\r\n" - "#define _AFX_NO_TRACKER_RESOURCES\r\n" - "#define _AFX_NO_PROPERTY_RESOURCES\r\n" - "\r\n" - "#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)\r\n" - "LANGUAGE 9, 1\r\n" - "#pragma code_page(1252)\r\n" - "#include ""res\\Util7200.rc2"" // non-Microsoft Visual C++ edited resources\r\n" - "#include ""afxres.rc"" // Standard components\r\n" - "#endif\r\n" - "\0" -END - -#endif // APSTUDIO_INVOKED - -#endif // Chinese (Taiwan) resources -///////////////////////////////////////////////////////////////////////////// - - -///////////////////////////////////////////////////////////////////////////// -// English (U.S.) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -#ifdef _WIN32 -LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US -#pragma code_page(1252) -#endif //_WIN32 - -///////////////////////////////////////////////////////////////////////////// -// -// Icon -// - -// Icon with lowest ID value placed first to ensure application icon -// remains consistent on all systems. -IDR_MAINFRAME ICON "res\\Util7200.ico" -IDI_ICON_BLACK ICON "res\\icon5.ico" -IDI_ICON_RED ICON "res\\rm2.ico" - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog -// - -IDD_ABOUTBOX DIALOGEX 0, 0, 170, 62 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "About Util7200" -FONT 8, "MS Shell Dlg", 0, 0, 0x1 -BEGIN - ICON IDR_MAINFRAME,IDC_STATIC,14,14,21,20 - LTEXT "Util7200, Version 1.0",IDC_STATIC,42,14,114,8,SS_NOPREFIX - LTEXT "Copyright (C) 2010",IDC_STATIC,42,26,114,8 - DEFPUSHBUTTON "OK",IDOK,113,41,50,14,WS_GROUP -END - -IDD_UTIL7200_DIALOG DIALOGEX 0, 0, 376, 201 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU -EXSTYLE WS_EX_APPWINDOW -CAPTION "Util7200" -FONT 8, "MS Shell Dlg", 0, 0, 0x1 -BEGIN - ICON IDI_ICON_BLACK,IDC_STATIC_DI00,15,27,21,20 - ICON IDI_ICON_BLACK,IDC_STATIC_DI01,37,27,21,20 - ICON IDI_ICON_BLACK,IDC_STATIC_DI02,59,27,21,20 - ICON IDI_ICON_BLACK,IDC_STATIC_DI03,81,27,21,20 - ICON IDI_ICON_BLACK,IDC_STATIC_DI04,103,27,21,20 - ICON IDI_ICON_BLACK,IDC_STATIC_DI05,125,27,21,20 - ICON IDI_ICON_BLACK,IDC_STATIC_DI06,147,27,21,20 - ICON IDI_ICON_BLACK,IDC_STATIC_DI07,169,27,21,20 - ICON IDI_ICON_BLACK,IDC_STATIC_DI08,191,27,21,20 - ICON IDI_ICON_BLACK,IDC_STATIC_DI09,213,27,21,20 - ICON IDI_ICON_BLACK,IDC_STATIC_DI10,235,27,21,20 - ICON IDI_ICON_BLACK,IDC_STATIC_DI11,257,27,21,20 - ICON IDI_ICON_BLACK,IDC_STATIC_DI12,279,27,21,20 - ICON IDI_ICON_BLACK,IDC_STATIC_DI13,301,27,21,20 - ICON IDI_ICON_BLACK,IDC_STATIC_DI14,323,27,21,20 - ICON IDI_ICON_BLACK,IDC_STATIC_DI15,344,27,21,20 - CONTROL "",IDC_CHECK_DO00,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,22,54,14,15 - CONTROL "",IDC_CHECK_DO01,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,44,54,14,15 - CONTROL "",IDC_CHECK_DO02,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,66,54,14,15 - CONTROL "",IDC_CHECK_DO03,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,88,54,14,15 - CONTROL "",IDC_CHECK_DO04,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,110,54,14,15 - CONTROL "",IDC_CHECK_DO05,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,132,54,14,15 - CONTROL "",IDC_CHECK_DO06,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,154,54,14,15 - CONTROL "",IDC_CHECK_DO07,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,176,54,14,15 - CONTROL "",IDC_CHECK_DO08,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,198,54,14,15 - CONTROL "",IDC_CHECK_DO09,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,220,54,14,15 - CONTROL "",IDC_CHECK_DO10,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,242,54,14,15 - CONTROL "",IDC_CHECK_DO11,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,264,54,14,15 - CONTROL "",IDC_CHECK_DO12,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,286,54,14,15 - CONTROL "",IDC_CHECK_DO13,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,308,54,14,15 - CONTROL "",IDC_CHECK_DO14,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,330,54,14,15 - CONTROL "",IDC_CHECK_DO15,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,351,54,14,15 - ICON IDI_ICON_BLACK,IDC_STATIC_DI16,16,94,21,20 - ICON IDI_ICON_BLACK,IDC_STATIC_DI17,38,94,21,20 - ICON IDI_ICON_BLACK,IDC_STATIC_DI18,60,94,21,20 - ICON IDI_ICON_BLACK,IDC_STATIC_DI19,82,94,21,20 - ICON IDI_ICON_BLACK,IDC_STATIC_DI20,104,94,21,20 - ICON IDI_ICON_BLACK,IDC_STATIC_DI21,126,94,21,20 - ICON IDI_ICON_BLACK,IDC_STATIC_DI22,148,94,21,20 - ICON IDI_ICON_BLACK,IDC_STATIC_DI23,170,94,21,20 - ICON IDI_ICON_BLACK,IDC_STATIC_DI24,192,94,21,20 - ICON IDI_ICON_BLACK,IDC_STATIC_DI25,214,94,21,20 - ICON IDI_ICON_BLACK,IDC_STATIC_DI26,236,94,21,20 - ICON IDI_ICON_BLACK,IDC_STATIC_DI27,258,94,21,20 - ICON IDI_ICON_BLACK,IDC_STATIC_DI28,280,94,21,20 - ICON IDI_ICON_BLACK,IDC_STATIC_DI29,302,94,21,20 - ICON IDI_ICON_BLACK,IDC_STATIC_DI30,324,94,21,20 - ICON IDI_ICON_BLACK,IDC_STATIC_DI31,344,94,21,20 - CONTROL "",IDC_CHECK_DO16,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,22,121,14,15 - CONTROL "",IDC_CHECK_DO17,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,44,121,14,15 - CONTROL "",IDC_CHECK_DO18,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,66,121,14,15 - CONTROL "",IDC_CHECK_DO19,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,88,121,14,15 - CONTROL "",IDC_CHECK_DO20,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,110,121,14,15 - CONTROL "",IDC_CHECK_DO21,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,132,121,14,15 - CONTROL "",IDC_CHECK_DO22,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,154,121,14,15 - CONTROL "",IDC_CHECK_DO23,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,176,121,14,15 - CONTROL "",IDC_CHECK_DO24,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,198,121,14,15 - CONTROL "",IDC_CHECK_DO25,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,220,121,14,15 - CONTROL "",IDC_CHECK_DO26,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,242,121,14,15 - CONTROL "",IDC_CHECK_DO27,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,264,121,14,15 - CONTROL "",IDC_CHECK_DO28,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,286,121,14,15 - CONTROL "",IDC_CHECK_DO29,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,308,121,14,15 - CONTROL "",IDC_CHECK_DO30,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,330,121,14,15 - CONTROL "",IDC_CHECK_DO31,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,352,121,14,15 - LTEXT "0 4 8 12 15",IDC_STATIC,24,18,340,10 - LTEXT "16 20 24 28 31",IDC_STATIC,23,83,338,10 - PUSHBUTTON "DO Output",IDC_BUTTON1,287,148,76,21 - CONTROL "enable readline / writeline at specific input/output lines",IDC_CHECK_LINE, - "Button",BS_AUTOCHECKBOX | WS_TABSTOP,87,153,192,12 - PUSHBUTTON "O-TRG ON",IDC_BT_O_TRG,287,171,76,21 -END - -IDD_CARDID_DIALOG DIALOGEX 0, 0, 166, 86 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "Card ID" -FONT 8, "MS Shell Dlg", 400, 0, 0x1 -BEGIN - COMBOBOX IDC_COMBO_CARDID,75,17,71,126,CBS_DROPDOWN | WS_VSCROLL | WS_TABSTOP - LTEXT "Card Number",IDC_STATIC_01,21,18,46,12 - PUSHBUTTON "OK",IDOK,22,50,58,19 - PUSHBUTTON "CANCEL",IDCANCEL,86,50,58,19 -END - - -///////////////////////////////////////////////////////////////////////////// -// -// Version -// - -VS_VERSION_INFO VERSIONINFO - FILEVERSION 1,0,0,1 - PRODUCTVERSION 1,0,0,1 - FILEFLAGSMASK 0x3fL -#ifdef _DEBUG - FILEFLAGS 0x1L -#else - FILEFLAGS 0x0L -#endif - FILEOS 0x4L - FILETYPE 0x1L - FILESUBTYPE 0x0L -BEGIN - BLOCK "StringFileInfo" - BEGIN - BLOCK "040904e4" - BEGIN - VALUE "CompanyName", "TODO: " - VALUE "FileDescription", "TODO: " - VALUE "FileVersion", "1.0.0.1" - VALUE "InternalName", "Util7200.exe" - VALUE "LegalCopyright", "TODO: (c) . All rights reserved." - VALUE "OriginalFilename", "Util7200.exe" - VALUE "ProductName", "TODO: " - VALUE "ProductVersion", "1.0.0.1" - END - END - BLOCK "VarFileInfo" - BEGIN - VALUE "Translation", 0x409, 1252 - END -END - - -///////////////////////////////////////////////////////////////////////////// -// -// DESIGNINFO -// - -#ifdef APSTUDIO_INVOKED -GUIDELINES DESIGNINFO -BEGIN - IDD_ABOUTBOX, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 163 - TOPMARGIN, 7 - BOTTOMMARGIN, 55 - END - - IDD_UTIL7200_DIALOG, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 369 - TOPMARGIN, 7 - BOTTOMMARGIN, 194 - END - - IDD_CARDID_DIALOG, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 159 - TOPMARGIN, 7 - BOTTOMMARGIN, 79 - END -END -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog Info -// - -IDD_CARDID_DIALOG DLGINIT -BEGIN - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0030, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0031, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0032, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0033, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0034, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0035, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0036, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0037, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0038, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0039, - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3031, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3131, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3231, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3331, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3431, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3531, "\000" - 0 -END - - -///////////////////////////////////////////////////////////////////////////// -// -// String Table -// - -STRINGTABLE -BEGIN - IDS_ABOUTBOX "&About Util7200..." -END - -#endif // English (U.S.) resources -///////////////////////////////////////////////////////////////////////////// - - - -#ifndef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 3 resource. -// -#define _AFX_NO_SPLITTER_RESOURCES -#define _AFX_NO_OLE_RESOURCES -#define _AFX_NO_TRACKER_RESOURCES -#define _AFX_NO_PROPERTY_RESOURCES - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -LANGUAGE 9, 1 -#pragma code_page(1252) -#include "res\Util7200.rc2" // non-Microsoft Visual C++ edited resources -#include "afxres.rc" // Standard components -#endif - -///////////////////////////////////////////////////////////////////////////// -#endif // not APSTUDIO_INVOKED - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7200/SDK7200/Util7200.sln b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7200/SDK7200/Util7200.sln deleted file mode 100644 index df8f6ae..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7200/SDK7200/Util7200.sln +++ /dev/null @@ -1,20 +0,0 @@ - -Microsoft Visual Studio Solution File, Format Version 10.00 -# Visual Studio 2008 -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "Util7200", "Util7200.vcproj", "{DF2BE408-6D88-4661-A878-E71D3DCA1F7D}" -EndProject -Global - GlobalSection(SolutionConfigurationPlatforms) = preSolution - Debug|x64 = Debug|x64 - Release|x64 = Release|x64 - EndGlobalSection - GlobalSection(ProjectConfigurationPlatforms) = postSolution - {DF2BE408-6D88-4661-A878-E71D3DCA1F7D}.Debug|x64.ActiveCfg = Debug|x64 - {DF2BE408-6D88-4661-A878-E71D3DCA1F7D}.Debug|x64.Build.0 = Debug|x64 - {DF2BE408-6D88-4661-A878-E71D3DCA1F7D}.Release|x64.ActiveCfg = Release|x64 - {DF2BE408-6D88-4661-A878-E71D3DCA1F7D}.Release|x64.Build.0 = Release|x64 - EndGlobalSection - GlobalSection(SolutionProperties) = preSolution - HideSolutionNode = FALSE - EndGlobalSection -EndGlobal diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7200/SDK7200/Util7200.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7200/SDK7200/Util7200.suo deleted file mode 100644 index 5270b8d..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7200/SDK7200/Util7200.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7200/SDK7200/Util7200.vcproj b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7200/SDK7200/Util7200.vcproj deleted file mode 100644 index 3f58a31..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7200/SDK7200/Util7200.vcproj +++ /dev/null @@ -1,294 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7200/SDK7200/Util7200Dlg.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7200/SDK7200/Util7200Dlg.cpp deleted file mode 100644 index a2820b8..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7200/SDK7200/Util7200Dlg.cpp +++ /dev/null @@ -1,880 +0,0 @@ - -// Util7200Dlg.cpp : implementation file -// - -#include "stdafx.h" -#include "Util7200.h" -#include "Util7200Dlg.h" - -#ifdef _DEBUG -#define new DEBUG_NEW -#endif - - -// CAboutDlg dialog used for App About - -class CAboutDlg : public CDialog -{ -public: - CAboutDlg(); - -// Dialog Data - enum { IDD = IDD_ABOUTBOX }; - - protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - -// Implementation -protected: - DECLARE_MESSAGE_MAP() -}; - -CAboutDlg::CAboutDlg() : CDialog(CAboutDlg::IDD) -{ -} - -void CAboutDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); -} - -BEGIN_MESSAGE_MAP(CAboutDlg, CDialog) -END_MESSAGE_MAP() - - -// CUtil7200Dlg dialog - - - - -CUtil7200Dlg::CUtil7200Dlg(I16 hCard, CWnd* pParent /*=NULL*/) - : CDialog(CUtil7200Dlg::IDD, pParent) - , m_bOTrig(false) -{ - m_hIcon = AfxGetApp()->LoadIcon(IDR_MAINFRAME); - - m_hCard = hCard; - m_nTimer = -1; - m_bOTrig = 0; -} - -void CUtil7200Dlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); - DDX_Control(pDX, IDC_STATIC_DI31, m_DI31); - DDX_Control(pDX, IDC_STATIC_DI30, m_DI30); - DDX_Control(pDX, IDC_STATIC_DI29, m_DI29); - DDX_Control(pDX, IDC_STATIC_DI28, m_DI28); - DDX_Control(pDX, IDC_STATIC_DI27, m_DI27); - DDX_Control(pDX, IDC_STATIC_DI26, m_DI26); - DDX_Control(pDX, IDC_STATIC_DI25, m_DI25); - DDX_Control(pDX, IDC_STATIC_DI24, m_DI24); - DDX_Control(pDX, IDC_STATIC_DI23, m_DI23); - DDX_Control(pDX, IDC_STATIC_DI22, m_DI22); - DDX_Control(pDX, IDC_STATIC_DI21, m_DI21); - DDX_Control(pDX, IDC_STATIC_DI20, m_DI20); - DDX_Control(pDX, IDC_STATIC_DI19, m_DI19); - DDX_Control(pDX, IDC_STATIC_DI18, m_DI18); - DDX_Control(pDX, IDC_STATIC_DI17, m_DI17); - DDX_Control(pDX, IDC_STATIC_DI16, m_DI16); - DDX_Control(pDX, IDC_STATIC_DI15, m_DI15); - DDX_Control(pDX, IDC_STATIC_DI14, m_DI14); - DDX_Control(pDX, IDC_STATIC_DI13, m_DI13); - DDX_Control(pDX, IDC_STATIC_DI12, m_DI12); - DDX_Control(pDX, IDC_STATIC_DI11, m_DI11); - DDX_Control(pDX, IDC_STATIC_DI10, m_DI10); - DDX_Control(pDX, IDC_STATIC_DI09, m_DI09); - DDX_Control(pDX, IDC_STATIC_DI08, m_DI08); - DDX_Control(pDX, IDC_STATIC_DI07, m_DI07); - DDX_Control(pDX, IDC_STATIC_DI06, m_DI06); - DDX_Control(pDX, IDC_STATIC_DI05, m_DI05); - DDX_Control(pDX, IDC_STATIC_DI04, m_DI04); - DDX_Control(pDX, IDC_STATIC_DI03, m_DI03); - DDX_Control(pDX, IDC_STATIC_DI02, m_DI02); - DDX_Control(pDX, IDC_STATIC_DI01, m_DI01); - DDX_Control(pDX, IDC_STATIC_DI00, m_DI00); - DDX_Check(pDX, IDC_CHECK_DO00, m_DO00); - DDX_Check(pDX, IDC_CHECK_DO01, m_DO01); - DDX_Check(pDX, IDC_CHECK_DO02, m_DO02); - DDX_Check(pDX, IDC_CHECK_DO03, m_DO03); - DDX_Check(pDX, IDC_CHECK_DO04, m_DO04); - DDX_Check(pDX, IDC_CHECK_DO05, m_DO05); - DDX_Check(pDX, IDC_CHECK_DO06, m_DO06); - DDX_Check(pDX, IDC_CHECK_DO07, m_DO07); - DDX_Check(pDX, IDC_CHECK_DO08, m_DO08); - DDX_Check(pDX, IDC_CHECK_DO09, m_DO09); - DDX_Check(pDX, IDC_CHECK_DO10, m_DO10); - DDX_Check(pDX, IDC_CHECK_DO11, m_DO11); - DDX_Check(pDX, IDC_CHECK_DO12, m_DO12); - DDX_Check(pDX, IDC_CHECK_DO13, m_DO13); - DDX_Check(pDX, IDC_CHECK_DO14, m_DO14); - DDX_Check(pDX, IDC_CHECK_DO15, m_DO15); - DDX_Check(pDX, IDC_CHECK_DO16, m_DO16); - DDX_Check(pDX, IDC_CHECK_DO17, m_DO17); - DDX_Check(pDX, IDC_CHECK_DO18, m_DO18); - DDX_Check(pDX, IDC_CHECK_DO19, m_DO19); - DDX_Check(pDX, IDC_CHECK_DO20, m_DO20); - DDX_Check(pDX, IDC_CHECK_DO21, m_DO21); - DDX_Check(pDX, IDC_CHECK_DO22, m_DO22); - DDX_Check(pDX, IDC_CHECK_DO23, m_DO23); - DDX_Check(pDX, IDC_CHECK_DO24, m_DO24); - DDX_Check(pDX, IDC_CHECK_DO25, m_DO25); - DDX_Check(pDX, IDC_CHECK_DO26, m_DO26); - DDX_Check(pDX, IDC_CHECK_DO27, m_DO27); - DDX_Check(pDX, IDC_CHECK_DO28, m_DO28); - DDX_Check(pDX, IDC_CHECK_DO29, m_DO29); - DDX_Check(pDX, IDC_CHECK_DO30, m_DO30); - DDX_Check(pDX, IDC_CHECK_DO31, m_DO31); - DDX_Check(pDX, IDC_CHECK_LINE, m_LineEnable); -} - -BEGIN_MESSAGE_MAP(CUtil7200Dlg, CDialog) - ON_WM_SYSCOMMAND() - ON_WM_PAINT() - ON_WM_QUERYDRAGICON() - //}}AFX_MSG_MAP - ON_WM_DESTROY() - ON_WM_TIMER() - ON_BN_CLICKED(IDC_BUTTON1, &CUtil7200Dlg::OnOutput) - ON_BN_CLICKED(IDC_CHECK_LINE, &CUtil7200Dlg::OnLineCheck) - ON_BN_CLICKED(IDC_CHECK_DO00, &CUtil7200Dlg::OnOutputDo00) - ON_BN_CLICKED(IDC_CHECK_DO04, &CUtil7200Dlg::OnOutputDo04) - ON_BN_CLICKED(IDC_CHECK_DO08, &CUtil7200Dlg::OnOutputDo08) - ON_BN_CLICKED(IDC_CHECK_DO12, &CUtil7200Dlg::OnOutputDo12) - ON_BN_CLICKED(IDC_CHECK_DO15, &CUtil7200Dlg::OnOutputDo15) - ON_BN_CLICKED(IDC_CHECK_DO16, &CUtil7200Dlg::OnOutputDo16) - ON_BN_CLICKED(IDC_CHECK_DO20, &CUtil7200Dlg::OnOutputDo20) - ON_BN_CLICKED(IDC_CHECK_DO24, &CUtil7200Dlg::OnOutputDo24) - ON_BN_CLICKED(IDC_CHECK_DO28, &CUtil7200Dlg::OnOutputDo28) - ON_BN_CLICKED(IDC_CHECK_DO31, &CUtil7200Dlg::OnOutputDo31) - ON_BN_CLICKED(IDC_BT_O_TRG, &CUtil7200Dlg::OnOTrg) -END_MESSAGE_MAP() - - -// CUtil7200Dlg message handlers - -BOOL CUtil7200Dlg::OnInitDialog() -{ - CDialog::OnInitDialog(); - - // Add "About..." menu item to system menu. - - // IDM_ABOUTBOX must be in the system command range. - ASSERT((IDM_ABOUTBOX & 0xFFF0) == IDM_ABOUTBOX); - ASSERT(IDM_ABOUTBOX < 0xF000); - - CMenu* pSysMenu = GetSystemMenu(FALSE); - if (pSysMenu != NULL) - { - BOOL bNameValid; - CString strAboutMenu; - bNameValid = strAboutMenu.LoadString(IDS_ABOUTBOX); - ASSERT(bNameValid); - if (!strAboutMenu.IsEmpty()) - { - pSysMenu->AppendMenu(MF_SEPARATOR); - pSysMenu->AppendMenu(MF_STRING, IDM_ABOUTBOX, strAboutMenu); - } - } - - // Set the icon for this dialog. The framework does this automatically - // when the application's main window is not a dialog - SetIcon(m_hIcon, TRUE); // Set big icon - SetIcon(m_hIcon, FALSE); // Set small icon - - // TODO: Add extra initialization here - DO_WritePort( m_hCard, 0, 0x00000000 ); - m_nTimer = SetTimer( 1, 100, NULL ); - - return TRUE; // return TRUE unless you set the focus to a control -} - -void CUtil7200Dlg::OnSysCommand(UINT nID, LPARAM lParam) -{ - if ((nID & 0xFFF0) == IDM_ABOUTBOX) - { - CAboutDlg dlgAbout; - dlgAbout.DoModal(); - } - else - { - CDialog::OnSysCommand(nID, lParam); - } -} - -// If you add a minimize button to your dialog, you will need the code below -// to draw the icon. For MFC applications using the document/view model, -// this is automatically done for you by the framework. - -void CUtil7200Dlg::OnPaint() -{ - if (IsIconic()) - { - CPaintDC dc(this); // device context for painting - - SendMessage(WM_ICONERASEBKGND, reinterpret_cast(dc.GetSafeHdc()), 0); - - // Center icon in client rectangle - int cxIcon = GetSystemMetrics(SM_CXICON); - int cyIcon = GetSystemMetrics(SM_CYICON); - CRect rect; - GetClientRect(&rect); - int x = (rect.Width() - cxIcon + 1) / 2; - int y = (rect.Height() - cyIcon + 1) / 2; - - // Draw the icon - dc.DrawIcon(x, y, m_hIcon); - } - else - { - CDialog::OnPaint(); - } -} - -// The system calls this function to obtain the cursor to display while the user drags -// the minimized window. -HCURSOR CUtil7200Dlg::OnQueryDragIcon() -{ - return static_cast(m_hIcon); -} - - -void CUtil7200Dlg::OnDestroy() -{ - CDialog::OnDestroy(); - - // TODO: Add your message handler code here - if( m_nTimer != -1 ) - KillTimer( m_nTimer ); -} - -void CUtil7200Dlg::OnTimer(UINT_PTR nIDEvent) -{ - // TODO: Add your message handler code here and/or call default - I16 err; - U32 dwDIStatus; - U16 wValue; - - if( m_LineEnable == TRUE ) - { - err = DI_ReadLine( m_hCard, 0, 0, &wValue ); - if( err == NoError ) - { - if( wValue != 0) m_DI00.SetIcon(AfxGetApp()->LoadIcon(IDI_ICON_RED)); - else m_DI00.SetIcon(AfxGetApp()->LoadIcon(IDI_ICON_BLACK)); - } - - err = DI_ReadLine( m_hCard, 0, 4, &wValue ); - if( err == NoError ) - { - if( wValue != 0) m_DI04.SetIcon(AfxGetApp()->LoadIcon(IDI_ICON_RED)); - else m_DI04.SetIcon(AfxGetApp()->LoadIcon(IDI_ICON_BLACK)); - } - - err = DI_ReadLine( m_hCard, 0, 8, &wValue ); - if( err == NoError ) - { - if( wValue != 0) m_DI08.SetIcon(AfxGetApp()->LoadIcon(IDI_ICON_RED)); - else m_DI08.SetIcon(AfxGetApp()->LoadIcon(IDI_ICON_BLACK)); - } - - err = DI_ReadLine( m_hCard, 0, 12, &wValue ); - if( err == NoError ) - { - if( wValue != 0) m_DI12.SetIcon(AfxGetApp()->LoadIcon(IDI_ICON_RED)); - else m_DI12.SetIcon(AfxGetApp()->LoadIcon(IDI_ICON_BLACK)); - } - - err = DI_ReadLine( m_hCard, 0, 15, &wValue ); - if( err == NoError ) - { - if( wValue != 0) m_DI15.SetIcon(AfxGetApp()->LoadIcon(IDI_ICON_RED)); - else m_DI15.SetIcon(AfxGetApp()->LoadIcon(IDI_ICON_BLACK)); - } - - err = DI_ReadLine( m_hCard, 0, 16, &wValue ); - if( err == NoError ) - { - if( wValue != 0) m_DI16.SetIcon(AfxGetApp()->LoadIcon(IDI_ICON_RED)); - else m_DI16.SetIcon(AfxGetApp()->LoadIcon(IDI_ICON_BLACK)); - } - - err = DI_ReadLine( m_hCard, 0, 20, &wValue ); - if( err == NoError ) - { - if( wValue != 0) m_DI20.SetIcon(AfxGetApp()->LoadIcon(IDI_ICON_RED)); - else m_DI20.SetIcon(AfxGetApp()->LoadIcon(IDI_ICON_BLACK)); - } - - err = DI_ReadLine( m_hCard, 0, 24, &wValue ); - if( err == NoError ) - { - if( wValue != 0) m_DI24.SetIcon(AfxGetApp()->LoadIcon(IDI_ICON_RED)); - else m_DI24.SetIcon(AfxGetApp()->LoadIcon(IDI_ICON_BLACK)); - } - - err = DI_ReadLine( m_hCard, 0, 28, &wValue ); - if( err == NoError ) - { - if( wValue != 0) m_DI28.SetIcon(AfxGetApp()->LoadIcon(IDI_ICON_RED)); - else m_DI28.SetIcon(AfxGetApp()->LoadIcon(IDI_ICON_BLACK)); - } - - err = DI_ReadLine( m_hCard, 0, 31, &wValue ); - if( err == NoError ) - { - if( wValue != 0) m_DI31.SetIcon(AfxGetApp()->LoadIcon(IDI_ICON_RED)); - else m_DI31.SetIcon(AfxGetApp()->LoadIcon(IDI_ICON_BLACK)); - } - } - else - { - err = DI_ReadPort( m_hCard, 0, &dwDIStatus ); - - if( err == NoError ) - { - if( (dwDIStatus & 0x00000001) != 0) m_DI00.SetIcon(AfxGetApp()->LoadIcon(IDI_ICON_RED)); - else m_DI00.SetIcon(AfxGetApp()->LoadIcon(IDI_ICON_BLACK)); - - if( (dwDIStatus & 0x00000002) != 0) m_DI01.SetIcon(AfxGetApp()->LoadIcon(IDI_ICON_RED)); - else m_DI01.SetIcon(AfxGetApp()->LoadIcon(IDI_ICON_BLACK)); - - if( (dwDIStatus & 0x00000004) != 0) m_DI02.SetIcon(AfxGetApp()->LoadIcon(IDI_ICON_RED)); - else m_DI02.SetIcon(AfxGetApp()->LoadIcon(IDI_ICON_BLACK)); - - if( (dwDIStatus & 0x00000008) != 0) m_DI03.SetIcon(AfxGetApp()->LoadIcon(IDI_ICON_RED)); - else m_DI03.SetIcon(AfxGetApp()->LoadIcon(IDI_ICON_BLACK)); - - if( (dwDIStatus & 0x00000010) != 0) m_DI04.SetIcon(AfxGetApp()->LoadIcon(IDI_ICON_RED)); - else m_DI04.SetIcon(AfxGetApp()->LoadIcon(IDI_ICON_BLACK)); - - if( (dwDIStatus & 0x00000020) != 0) m_DI05.SetIcon(AfxGetApp()->LoadIcon(IDI_ICON_RED)); - else m_DI05.SetIcon(AfxGetApp()->LoadIcon(IDI_ICON_BLACK)); - - if( (dwDIStatus & 0x00000040) != 0) m_DI06.SetIcon(AfxGetApp()->LoadIcon(IDI_ICON_RED)); - else m_DI06.SetIcon(AfxGetApp()->LoadIcon(IDI_ICON_BLACK)); - - if( (dwDIStatus & 0x000000080) != 0) m_DI07.SetIcon(AfxGetApp()->LoadIcon(IDI_ICON_RED)); - else m_DI07.SetIcon(AfxGetApp()->LoadIcon(IDI_ICON_BLACK)); - - if( (dwDIStatus & 0x00000100) != 0) m_DI08.SetIcon(AfxGetApp()->LoadIcon(IDI_ICON_RED)); - else m_DI08.SetIcon(AfxGetApp()->LoadIcon(IDI_ICON_BLACK)); - - if( (dwDIStatus & 0x00000200) != 0) m_DI09.SetIcon(AfxGetApp()->LoadIcon(IDI_ICON_RED)); - else m_DI09.SetIcon(AfxGetApp()->LoadIcon(IDI_ICON_BLACK)); - - if( (dwDIStatus & 0x00000400) != 0) m_DI10.SetIcon(AfxGetApp()->LoadIcon(IDI_ICON_RED)); - else m_DI10.SetIcon(AfxGetApp()->LoadIcon(IDI_ICON_BLACK)); - - if( (dwDIStatus & 0x00000800) != 0) m_DI11.SetIcon(AfxGetApp()->LoadIcon(IDI_ICON_RED)); - else m_DI11.SetIcon(AfxGetApp()->LoadIcon(IDI_ICON_BLACK)); - - if( (dwDIStatus & 0x00001000) != 0) m_DI12.SetIcon(AfxGetApp()->LoadIcon(IDI_ICON_RED)); - else m_DI12.SetIcon(AfxGetApp()->LoadIcon(IDI_ICON_BLACK)); - - if( (dwDIStatus & 0x00002000) != 0) m_DI13.SetIcon(AfxGetApp()->LoadIcon(IDI_ICON_RED)); - else m_DI13.SetIcon(AfxGetApp()->LoadIcon(IDI_ICON_BLACK)); - - if( (dwDIStatus & 0x00004000) != 0) m_DI14.SetIcon(AfxGetApp()->LoadIcon(IDI_ICON_RED)); - else m_DI14.SetIcon(AfxGetApp()->LoadIcon(IDI_ICON_BLACK)); - - if( (dwDIStatus & 0x00008000) != 0) m_DI15.SetIcon(AfxGetApp()->LoadIcon(IDI_ICON_RED)); - else m_DI15.SetIcon(AfxGetApp()->LoadIcon(IDI_ICON_BLACK)); - - if( (dwDIStatus & 0x00010000) != 0) m_DI16.SetIcon(AfxGetApp()->LoadIcon(IDI_ICON_RED)); - else m_DI16.SetIcon(AfxGetApp()->LoadIcon(IDI_ICON_BLACK)); - - if( (dwDIStatus & 0x00020000) != 0) m_DI17.SetIcon(AfxGetApp()->LoadIcon(IDI_ICON_RED)); - else m_DI17.SetIcon(AfxGetApp()->LoadIcon(IDI_ICON_BLACK)); - - if( (dwDIStatus & 0x00040000) != 0) m_DI18.SetIcon(AfxGetApp()->LoadIcon(IDI_ICON_RED)); - else m_DI18.SetIcon(AfxGetApp()->LoadIcon(IDI_ICON_BLACK)); - - if( (dwDIStatus & 0x00080000) != 0) m_DI19.SetIcon(AfxGetApp()->LoadIcon(IDI_ICON_RED)); - else m_DI19.SetIcon(AfxGetApp()->LoadIcon(IDI_ICON_BLACK)); - - if( (dwDIStatus & 0x00100000) != 0) m_DI20.SetIcon(AfxGetApp()->LoadIcon(IDI_ICON_RED)); - else m_DI20.SetIcon(AfxGetApp()->LoadIcon(IDI_ICON_BLACK)); - - if( (dwDIStatus & 0x00200000) != 0) m_DI21.SetIcon(AfxGetApp()->LoadIcon(IDI_ICON_RED)); - else m_DI21.SetIcon(AfxGetApp()->LoadIcon(IDI_ICON_BLACK)); - - if( (dwDIStatus & 0x00400000) != 0) m_DI22.SetIcon(AfxGetApp()->LoadIcon(IDI_ICON_RED)); - else m_DI22.SetIcon(AfxGetApp()->LoadIcon(IDI_ICON_BLACK)); - - if( (dwDIStatus & 0x00800000) != 0) m_DI23.SetIcon(AfxGetApp()->LoadIcon(IDI_ICON_RED)); - else m_DI23.SetIcon(AfxGetApp()->LoadIcon(IDI_ICON_BLACK)); - - if( (dwDIStatus & 0x01000000) != 0) m_DI24.SetIcon(AfxGetApp()->LoadIcon(IDI_ICON_RED)); - else m_DI24.SetIcon(AfxGetApp()->LoadIcon(IDI_ICON_BLACK)); - - if( (dwDIStatus & 0x02000000) != 0) m_DI25.SetIcon(AfxGetApp()->LoadIcon(IDI_ICON_RED)); - else m_DI25.SetIcon(AfxGetApp()->LoadIcon(IDI_ICON_BLACK)); - - if( (dwDIStatus & 0x04000000) != 0) m_DI26.SetIcon(AfxGetApp()->LoadIcon(IDI_ICON_RED)); - else m_DI26.SetIcon(AfxGetApp()->LoadIcon(IDI_ICON_BLACK)); - - if( (dwDIStatus & 0x08000000) != 0) m_DI27.SetIcon(AfxGetApp()->LoadIcon(IDI_ICON_RED)); - else m_DI27.SetIcon(AfxGetApp()->LoadIcon(IDI_ICON_BLACK)); - - if( (dwDIStatus & 0x10000000) != 0) m_DI28.SetIcon(AfxGetApp()->LoadIcon(IDI_ICON_RED)); - else m_DI28.SetIcon(AfxGetApp()->LoadIcon(IDI_ICON_BLACK)); - - if( (dwDIStatus & 0x20000000) != 0) m_DI29.SetIcon(AfxGetApp()->LoadIcon(IDI_ICON_RED)); - else m_DI29.SetIcon(AfxGetApp()->LoadIcon(IDI_ICON_BLACK)); - - if( (dwDIStatus & 0x40000000) != 0) m_DI30.SetIcon(AfxGetApp()->LoadIcon(IDI_ICON_RED)); - else m_DI30.SetIcon(AfxGetApp()->LoadIcon(IDI_ICON_BLACK)); - - if( (dwDIStatus & 0x80000000) != 0) m_DI31.SetIcon(AfxGetApp()->LoadIcon(IDI_ICON_RED)); - else m_DI31.SetIcon(AfxGetApp()->LoadIcon(IDI_ICON_BLACK)); - - } - } - - CDialog::OnTimer(nIDEvent); -} - -void CUtil7200Dlg::OnLineCheck() -{ - // TODO: Add your control notification handler code here - if( ( (CButton*)GetDlgItem(IDC_CHECK_LINE) )->GetCheck() == BST_CHECKED ) - { - m_LineEnable = TRUE; - - GetDlgItem( IDC_CHECK_DO01 )->EnableWindow( FALSE ); - GetDlgItem( IDC_CHECK_DO02 )->EnableWindow( FALSE ); - GetDlgItem( IDC_CHECK_DO03 )->EnableWindow( FALSE ); - - GetDlgItem( IDC_CHECK_DO05 )->EnableWindow( FALSE ); - GetDlgItem( IDC_CHECK_DO06 )->EnableWindow( FALSE ); - GetDlgItem( IDC_CHECK_DO07 )->EnableWindow( FALSE ); - - GetDlgItem( IDC_CHECK_DO09 )->EnableWindow( FALSE ); - GetDlgItem( IDC_CHECK_DO10 )->EnableWindow( FALSE ); - GetDlgItem( IDC_CHECK_DO11 )->EnableWindow( FALSE ); - - GetDlgItem( IDC_CHECK_DO13 )->EnableWindow( FALSE ); - GetDlgItem( IDC_CHECK_DO14 )->EnableWindow( FALSE ); - - GetDlgItem( IDC_CHECK_DO17 )->EnableWindow( FALSE ); - GetDlgItem( IDC_CHECK_DO18 )->EnableWindow( FALSE ); - GetDlgItem( IDC_CHECK_DO19 )->EnableWindow( FALSE ); - - GetDlgItem( IDC_CHECK_DO21 )->EnableWindow( FALSE ); - GetDlgItem( IDC_CHECK_DO22 )->EnableWindow( FALSE ); - GetDlgItem( IDC_CHECK_DO23 )->EnableWindow( FALSE ); - - GetDlgItem( IDC_CHECK_DO25 )->EnableWindow( FALSE ); - GetDlgItem( IDC_CHECK_DO26 )->EnableWindow( FALSE ); - GetDlgItem( IDC_CHECK_DO27 )->EnableWindow( FALSE ); - - GetDlgItem( IDC_CHECK_DO29 )->EnableWindow( FALSE ); - GetDlgItem( IDC_CHECK_DO30 )->EnableWindow( FALSE ); - - GetDlgItem( IDC_STATIC_DI01 )->ShowWindow( SW_HIDE ); - GetDlgItem( IDC_STATIC_DI02 )->ShowWindow( SW_HIDE ); - GetDlgItem( IDC_STATIC_DI03 )->ShowWindow( SW_HIDE ); - - GetDlgItem( IDC_STATIC_DI05 )->ShowWindow( SW_HIDE ); - GetDlgItem( IDC_STATIC_DI06 )->ShowWindow( SW_HIDE ); - GetDlgItem( IDC_STATIC_DI07 )->ShowWindow( SW_HIDE ); - - GetDlgItem( IDC_STATIC_DI09 )->ShowWindow( SW_HIDE ); - GetDlgItem( IDC_STATIC_DI10 )->ShowWindow( SW_HIDE ); - GetDlgItem( IDC_STATIC_DI11 )->ShowWindow( SW_HIDE ); - - GetDlgItem( IDC_STATIC_DI13 )->ShowWindow( SW_HIDE ); - GetDlgItem( IDC_STATIC_DI14 )->ShowWindow( SW_HIDE ); - - GetDlgItem( IDC_STATIC_DI17 )->ShowWindow( SW_HIDE ); - GetDlgItem( IDC_STATIC_DI18 )->ShowWindow( SW_HIDE ); - GetDlgItem( IDC_STATIC_DI19 )->ShowWindow( SW_HIDE ); - - GetDlgItem( IDC_STATIC_DI21 )->ShowWindow( SW_HIDE ); - GetDlgItem( IDC_STATIC_DI22 )->ShowWindow( SW_HIDE ); - GetDlgItem( IDC_STATIC_DI23 )->ShowWindow( SW_HIDE ); - - GetDlgItem( IDC_STATIC_DI25 )->ShowWindow( SW_HIDE ); - GetDlgItem( IDC_STATIC_DI26 )->ShowWindow( SW_HIDE ); - GetDlgItem( IDC_STATIC_DI27 )->ShowWindow( SW_HIDE ); - - GetDlgItem( IDC_STATIC_DI29 )->ShowWindow( SW_HIDE ); - GetDlgItem( IDC_STATIC_DI30 )->ShowWindow( SW_HIDE ); - - GetDlgItem( IDC_BUTTON1 )->EnableWindow( FALSE ); - - } - else if( ( (CButton*)GetDlgItem(IDC_CHECK_LINE) )->GetCheck() == BST_UNCHECKED ) - { - m_LineEnable = FALSE; - - GetDlgItem( IDC_CHECK_DO01 )->EnableWindow( TRUE ); - GetDlgItem( IDC_CHECK_DO02 )->EnableWindow( TRUE ); - GetDlgItem( IDC_CHECK_DO03 )->EnableWindow( TRUE ); - - GetDlgItem( IDC_CHECK_DO05 )->EnableWindow( TRUE ); - GetDlgItem( IDC_CHECK_DO06 )->EnableWindow( TRUE ); - GetDlgItem( IDC_CHECK_DO07 )->EnableWindow( TRUE ); - - GetDlgItem( IDC_CHECK_DO09 )->EnableWindow( TRUE ); - GetDlgItem( IDC_CHECK_DO10 )->EnableWindow( TRUE ); - GetDlgItem( IDC_CHECK_DO11 )->EnableWindow( TRUE ); - - GetDlgItem( IDC_CHECK_DO13 )->EnableWindow( TRUE ); - GetDlgItem( IDC_CHECK_DO14 )->EnableWindow( TRUE ); - - GetDlgItem( IDC_CHECK_DO17 )->EnableWindow( TRUE ); - GetDlgItem( IDC_CHECK_DO18 )->EnableWindow( TRUE ); - GetDlgItem( IDC_CHECK_DO19 )->EnableWindow( TRUE ); - - GetDlgItem( IDC_CHECK_DO21 )->EnableWindow( TRUE ); - GetDlgItem( IDC_CHECK_DO22 )->EnableWindow( TRUE ); - GetDlgItem( IDC_CHECK_DO23 )->EnableWindow( TRUE ); - - GetDlgItem( IDC_CHECK_DO25 )->EnableWindow( TRUE ); - GetDlgItem( IDC_CHECK_DO26 )->EnableWindow( TRUE ); - GetDlgItem( IDC_CHECK_DO27 )->EnableWindow( TRUE ); - - GetDlgItem( IDC_CHECK_DO29 )->EnableWindow( TRUE ); - GetDlgItem( IDC_CHECK_DO30 )->EnableWindow( TRUE ); - - GetDlgItem( IDC_STATIC_DI01 )->ShowWindow( SW_SHOW ); - GetDlgItem( IDC_STATIC_DI02 )->ShowWindow( SW_SHOW ); - GetDlgItem( IDC_STATIC_DI03 )->ShowWindow( SW_SHOW ); - - GetDlgItem( IDC_STATIC_DI05 )->ShowWindow( SW_SHOW ); - GetDlgItem( IDC_STATIC_DI06 )->ShowWindow( SW_SHOW ); - GetDlgItem( IDC_STATIC_DI07 )->ShowWindow( SW_SHOW ); - - GetDlgItem( IDC_STATIC_DI09 )->ShowWindow( SW_SHOW ); - GetDlgItem( IDC_STATIC_DI10 )->ShowWindow( SW_SHOW ); - GetDlgItem( IDC_STATIC_DI11 )->ShowWindow( SW_SHOW ); - - GetDlgItem( IDC_STATIC_DI13 )->ShowWindow( SW_SHOW ); - GetDlgItem( IDC_STATIC_DI14 )->ShowWindow( SW_SHOW ); - - GetDlgItem( IDC_STATIC_DI17 )->ShowWindow( SW_SHOW ); - GetDlgItem( IDC_STATIC_DI18 )->ShowWindow( SW_SHOW ); - GetDlgItem( IDC_STATIC_DI19 )->ShowWindow( SW_SHOW ); - - GetDlgItem( IDC_STATIC_DI21 )->ShowWindow( SW_SHOW ); - GetDlgItem( IDC_STATIC_DI22 )->ShowWindow( SW_SHOW ); - GetDlgItem( IDC_STATIC_DI23 )->ShowWindow( SW_SHOW ); - - GetDlgItem( IDC_STATIC_DI25 )->ShowWindow( SW_SHOW ); - GetDlgItem( IDC_STATIC_DI26 )->ShowWindow( SW_SHOW ); - GetDlgItem( IDC_STATIC_DI27 )->ShowWindow( SW_SHOW ); - - GetDlgItem( IDC_STATIC_DI29 )->ShowWindow( SW_SHOW ); - GetDlgItem( IDC_STATIC_DI30 )->ShowWindow( SW_SHOW ); - - GetDlgItem( IDC_BUTTON1 )->EnableWindow( TRUE ); - - } -} - -void CUtil7200Dlg::OnOutput() -{ - // TODO: Add your control notification handler code here - I16 err; - CString strErrMsg; - U32 dwDOData; - - UpdateData( TRUE ); - - - if( m_DO31 == TRUE ) - dwDOData = 0x80000000; - else - dwDOData = 0x00; - - if( m_DO30 == TRUE ) - dwDOData = (dwDOData | 0x40000000); - - if( m_DO29 == TRUE ) - dwDOData = (dwDOData | 0x20000000); - - if( m_DO28 == TRUE ) - dwDOData = (dwDOData | 0x10000000); - - if( m_DO27 == TRUE ) - dwDOData = (dwDOData | 0x08000000); - - if( m_DO26 == TRUE ) - dwDOData = (dwDOData | 0x04000000); - - if( m_DO25 == TRUE ) - dwDOData = (dwDOData | 0x02000000); - - if( m_DO24 == TRUE ) - dwDOData = (dwDOData | 0x01000000); - - if( m_DO23 == TRUE ) - dwDOData = (dwDOData | 0x00800000); - - if( m_DO22 == TRUE ) - dwDOData = (dwDOData | 0x00400000); - - if( m_DO21 == TRUE ) - dwDOData = (dwDOData | 0x00200000); - - if( m_DO20 == TRUE ) - dwDOData = (dwDOData | 0x00100000); - - if( m_DO19 == TRUE ) - dwDOData = (dwDOData | 0x00080000); - - if( m_DO18 == TRUE ) - dwDOData = (dwDOData | 0x00040000); - - if( m_DO17 == TRUE ) - dwDOData = (dwDOData | 0x00020000); - - if( m_DO16 == TRUE ) - dwDOData = (dwDOData | 0x00010000); - - if( m_DO15 == TRUE ) - dwDOData = (dwDOData | 0x00008000); - - if( m_DO14 == TRUE ) - dwDOData = (dwDOData | 0x00004000); - - if( m_DO13 == TRUE ) - dwDOData = (dwDOData | 0x00002000); - - if( m_DO12 == TRUE ) - dwDOData = (dwDOData | 0x00001000); - - if( m_DO11 == TRUE ) - dwDOData = (dwDOData | 0x00000800); - - if( m_DO10 == TRUE ) - dwDOData = (dwDOData | 0x00000400); - - if( m_DO09 == TRUE ) - dwDOData = (dwDOData | 0x00000200); - - if( m_DO08 == TRUE ) - dwDOData = (dwDOData | 0x00000100); - - if( m_DO07 == TRUE ) - dwDOData = (dwDOData | 0x00000080); - - if( m_DO06 == TRUE ) - dwDOData = (dwDOData | 0x00000040); - - if( m_DO05 == TRUE ) - dwDOData = (dwDOData | 0x00000020); - - if( m_DO04 == TRUE ) - dwDOData = (dwDOData | 0x00000010); - - if( m_DO03 == TRUE ) - dwDOData = (dwDOData | 0x00000008); - - if( m_DO02 == TRUE ) - dwDOData = (dwDOData | 0x00000004); - - if( m_DO01 == TRUE ) - dwDOData = (dwDOData | 0x00000002); - - if( m_DO00 == TRUE ) - dwDOData = (dwDOData | 0x00000001); - - if( (err = DO_WritePort( m_hCard, 0, dwDOData ) ) != NoError ) - { - strErrMsg.Format( TEXT("DO_WritePort() falied with error code : %d"), err ); - AfxMessageBox( strErrMsg ); - } - -} - -void CUtil7200Dlg::OnOutputDo00() -{ - // TODO: Add your control notification handler code here - I16 err; - U16 wChecked; - - if( m_LineEnable == TRUE ) - { - if( ( (CButton*)GetDlgItem(IDC_CHECK_DO00) )->GetCheck() == BST_CHECKED ) - wChecked = 0x01; - else if( ( (CButton*)GetDlgItem(IDC_CHECK_DO00) )->GetCheck() == BST_UNCHECKED ) - wChecked = 0x00; - - err = DO_WriteLine( m_hCard, 0, 0, wChecked ); - } -} - -void CUtil7200Dlg::OnOutputDo04() -{ - // TODO: Add your control notification handler code here - I16 err; - U16 wChecked; - - if( m_LineEnable == TRUE ) - { - if( ( (CButton*)GetDlgItem(IDC_CHECK_DO04) )->GetCheck() == BST_CHECKED ) - wChecked = 0x01; - else if( ( (CButton*)GetDlgItem(IDC_CHECK_DO04) )->GetCheck() == BST_UNCHECKED ) - wChecked = 0x00; - - err = DO_WriteLine( m_hCard, 0, 4, wChecked ); - } -} - -void CUtil7200Dlg::OnOutputDo08() -{ - // TODO: Add your control notification handler code here - I16 err; - U16 wChecked; - - if( m_LineEnable == TRUE ) - { - if( ( (CButton*)GetDlgItem(IDC_CHECK_DO08) )->GetCheck() == BST_CHECKED ) - wChecked = 0x01; - else if( ( (CButton*)GetDlgItem(IDC_CHECK_DO08) )->GetCheck() == BST_UNCHECKED ) - wChecked = 0x00; - - err = DO_WriteLine( m_hCard, 0, 8, wChecked ); - } -} - -void CUtil7200Dlg::OnOutputDo12() -{ - // TODO: Add your control notification handler code here - I16 err; - U16 wChecked; - - if( m_LineEnable == TRUE ) - { - if( ( (CButton*)GetDlgItem(IDC_CHECK_DO12) )->GetCheck() == BST_CHECKED ) - wChecked = 0x01; - else if( ( (CButton*)GetDlgItem(IDC_CHECK_DO12) )->GetCheck() == BST_UNCHECKED ) - wChecked = 0x00; - - err = DO_WriteLine( m_hCard, 0, 12, wChecked ); - } -} - -void CUtil7200Dlg::OnOutputDo15() -{ - // TODO: Add your control notification handler code here - I16 err; - U16 wChecked; - - if( m_LineEnable == TRUE ) - { - if( ( (CButton*)GetDlgItem(IDC_CHECK_DO15) )->GetCheck() == BST_CHECKED ) - wChecked = 0x01; - else if( ( (CButton*)GetDlgItem(IDC_CHECK_DO15) )->GetCheck() == BST_UNCHECKED ) - wChecked = 0x00; - - err = DO_WriteLine( m_hCard, 0, 15, wChecked ); - } -} - -void CUtil7200Dlg::OnOutputDo16() -{ - // TODO: Add your control notification handler code here - I16 err; - U16 wChecked; - - if( m_LineEnable == TRUE ) - { - if( ( (CButton*)GetDlgItem(IDC_CHECK_DO16) )->GetCheck() == BST_CHECKED ) - wChecked = 0x01; - else if( ( (CButton*)GetDlgItem(IDC_CHECK_DO16) )->GetCheck() == BST_UNCHECKED ) - wChecked = 0x00; - - err = DO_WriteLine( m_hCard, 0, 16, wChecked ); - } -} - -void CUtil7200Dlg::OnOutputDo20() -{ - // TODO: Add your control notification handler code here - I16 err; - U16 wChecked; - - if( m_LineEnable == TRUE ) - { - if( ( (CButton*)GetDlgItem(IDC_CHECK_DO20) )->GetCheck() == BST_CHECKED ) - wChecked = 0x01; - else if( ( (CButton*)GetDlgItem(IDC_CHECK_DO20) )->GetCheck() == BST_UNCHECKED ) - wChecked = 0x00; - - err = DO_WriteLine( m_hCard, 0, 20, wChecked ); - } -} - -void CUtil7200Dlg::OnOutputDo24() -{ - // TODO: Add your control notification handler code here - I16 err; - U16 wChecked; - - if( m_LineEnable == TRUE ) - { - if( ( (CButton*)GetDlgItem(IDC_CHECK_DO24) )->GetCheck() == BST_CHECKED ) - wChecked = 0x01; - else if( ( (CButton*)GetDlgItem(IDC_CHECK_DO24) )->GetCheck() == BST_UNCHECKED ) - wChecked = 0x00; - - err = DO_WriteLine( m_hCard, 0, 24, wChecked ); - } -} - -void CUtil7200Dlg::OnOutputDo28() -{ - // TODO: Add your control notification handler code here - I16 err; - U16 wChecked; - - if( m_LineEnable == TRUE ) - { - if( ( (CButton*)GetDlgItem(IDC_CHECK_DO28) )->GetCheck() == BST_CHECKED ) - wChecked = 0x01; - else if( ( (CButton*)GetDlgItem(IDC_CHECK_DO28) )->GetCheck() == BST_UNCHECKED ) - wChecked = 0x00; - - err = DO_WriteLine( m_hCard, 0, 28, wChecked ); - } -} - -void CUtil7200Dlg::OnOutputDo31() -{ - // TODO: Add your control notification handler code here - I16 err; - U16 wChecked; - - if( m_LineEnable == TRUE ) - { - if( ( (CButton*)GetDlgItem(IDC_CHECK_DO31) )->GetCheck() == BST_CHECKED ) - wChecked = 0x01; - else if( ( (CButton*)GetDlgItem(IDC_CHECK_DO31) )->GetCheck() == BST_UNCHECKED ) - wChecked = 0x00; - - err = DO_WriteLine( m_hCard, 0, 31, wChecked ); - } -} - -void CUtil7200Dlg::OnOTrg() -{ - // TODO: Add your control notification handler code here - - if( m_bOTrig == 0 ) - { - m_bOTrig = 1; - DO_WriteExtTrigLine (m_hCard, 1); - SetDlgItemText( IDC_BT_O_TRG, TEXT("O-TRG OFF") ); - - } - else - { - m_bOTrig = 0; - DO_WriteExtTrigLine (m_hCard, 0); - SetDlgItemText( IDC_BT_O_TRG, TEXT("O-TRG ON") ); - } -} diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7200/SDK7200/Util7200Dlg.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7200/SDK7200/Util7200Dlg.h deleted file mode 100644 index a441718..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7200/SDK7200/Util7200Dlg.h +++ /dev/null @@ -1,118 +0,0 @@ - -// Util7200Dlg.h : header file -// - -#include "Dask64.h" - -#pragma once - - -// CUtil7200Dlg dialog -class CUtil7200Dlg : public CDialog -{ -// Construction -public: - CUtil7200Dlg(I16 hCard, CWnd* pParent = NULL); // standard constructor - -// Dialog Data - enum { IDD = IDD_UTIL7200_DIALOG }; - CStatic m_DI31; - CStatic m_DI30; - CStatic m_DI29; - CStatic m_DI28; - CStatic m_DI27; - CStatic m_DI26; - CStatic m_DI25; - CStatic m_DI24; - CStatic m_DI23; - CStatic m_DI22; - CStatic m_DI21; - CStatic m_DI20; - CStatic m_DI19; - CStatic m_DI18; - CStatic m_DI17; - CStatic m_DI16; - CStatic m_DI15; - CStatic m_DI14; - CStatic m_DI13; - CStatic m_DI12; - CStatic m_DI11; - CStatic m_DI10; - CStatic m_DI09; - CStatic m_DI08; - CStatic m_DI07; - CStatic m_DI06; - CStatic m_DI05; - CStatic m_DI04; - CStatic m_DI03; - CStatic m_DI02; - CStatic m_DI01; - CStatic m_DI00; - BOOL m_DO00; - BOOL m_DO01; - BOOL m_DO02; - BOOL m_DO03; - BOOL m_DO04; - BOOL m_DO05; - BOOL m_DO06; - BOOL m_DO07; - BOOL m_DO08; - BOOL m_DO09; - BOOL m_DO10; - BOOL m_DO11; - BOOL m_DO12; - BOOL m_DO13; - BOOL m_DO14; - BOOL m_DO15; - BOOL m_DO16; - BOOL m_DO17; - BOOL m_DO18; - BOOL m_DO19; - BOOL m_DO20; - BOOL m_DO21; - BOOL m_DO22; - BOOL m_DO23; - BOOL m_DO24; - BOOL m_DO25; - BOOL m_DO26; - BOOL m_DO27; - BOOL m_DO28; - BOOL m_DO29; - BOOL m_DO30; - BOOL m_DO31; - BOOL m_LineEnable; - - protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - - -// Implementation -protected: - HICON m_hIcon; - I16 m_hCard; - UINT_PTR m_nTimer; - - // Generated message map functions - virtual BOOL OnInitDialog(); - afx_msg void OnSysCommand(UINT nID, LPARAM lParam); - afx_msg void OnPaint(); - afx_msg HCURSOR OnQueryDragIcon(); - DECLARE_MESSAGE_MAP() -public: - afx_msg void OnDestroy(); - afx_msg void OnTimer(UINT_PTR nIDEvent); - afx_msg void OnLineCheck(); - afx_msg void OnOutput(); - afx_msg void OnOutputDo00(); - afx_msg void OnOutputDo04(); - afx_msg void OnOutputDo08(); - afx_msg void OnOutputDo12(); - afx_msg void OnOutputDo15(); - afx_msg void OnOutputDo16(); - afx_msg void OnOutputDo20(); - afx_msg void OnOutputDo24(); - afx_msg void OnOutputDo28(); - afx_msg void OnOutputDo31(); - bool m_bOTrig; - afx_msg void OnOTrg(); -}; diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7200/SDK7200/res/Util7200.ico b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7200/SDK7200/res/Util7200.ico deleted file mode 100644 index d56fbcd..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7200/SDK7200/res/Util7200.ico and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7200/SDK7200/res/Util7200.rc2 b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7200/SDK7200/res/Util7200.rc2 deleted file mode 100644 index 39e31a6..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7200/SDK7200/res/Util7200.rc2 +++ /dev/null @@ -1,13 +0,0 @@ -// -// Util7200.RC2 - resources Microsoft Visual C++ does not edit directly -// - -#ifdef APSTUDIO_INVOKED -#error this file is not editable by Microsoft Visual C++ -#endif //APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// Add manually edited resources here... - -///////////////////////////////////////////////////////////////////////////// diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7200/SDK7200/res/icon5.ico b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7200/SDK7200/res/icon5.ico deleted file mode 100644 index eb08945..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7200/SDK7200/res/icon5.ico and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7200/SDK7200/res/rm2.ico b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7200/SDK7200/res/rm2.ico deleted file mode 100644 index d461b03..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7200/SDK7200/res/rm2.ico and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7200/SDK7200/resource.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7200/SDK7200/resource.h deleted file mode 100644 index 278a586..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7200/SDK7200/resource.h +++ /dev/null @@ -1,93 +0,0 @@ -//{{NO_DEPENDENCIES}} -// Microsoft Visual C++ generated include file. -// Used by Util7200.rc -// -#define IDM_ABOUTBOX 0x0010 -#define IDD_ABOUTBOX 100 -#define IDS_ABOUTBOX 101 -#define IDD_UTIL7200_DIALOG 102 -#define IDR_MAINFRAME 128 -#define IDI_ICON_BLACK 129 -#define IDI_ICON_RED 130 -#define IDD_CARDID_DIALOG 131 -#define IDC_BUTTON1 1000 -#define IDC_CHECK_LINE 1001 -#define IDC_BUTTON2 1002 -#define IDC_BT_O_TRG 1002 -#define IDC_STATIC_DI00 1004 -#define IDC_STATIC_DI01 1005 -#define IDC_STATIC_DI02 1006 -#define IDC_STATIC_DI03 1007 -#define IDC_COMBO_CARDID 1007 -#define IDC_STATIC_DI04 1008 -#define IDC_STATIC_DI05 1009 -#define IDC_STATIC_DI06 1010 -#define IDC_STATIC_DI07 1011 -#define IDC_STATIC_DI08 1012 -#define IDC_STATIC_DI09 1013 -#define IDC_STATIC_DI10 1014 -#define IDC_STATIC_01 1014 -#define IDC_STATIC_DI11 1015 -#define IDC_STATIC_DI12 1016 -#define IDC_STATIC_DI13 1017 -#define IDC_STATIC_DI14 1018 -#define IDC_STATIC_DI15 1019 -#define IDC_CHECK_DO00 1020 -#define IDC_STATIC_DI16 1021 -#define IDC_CHECK_DO01 1022 -#define IDC_CHECK_DO02 1023 -#define IDC_CHECK_DO03 1024 -#define IDC_CHECK_DO04 1025 -#define IDC_CHECK_DO05 1026 -#define IDC_CHECK_DO06 1027 -#define IDC_CHECK_DO07 1028 -#define IDC_CHECK_DO08 1029 -#define IDC_CHECK_DO09 1030 -#define IDC_CHECK_DO10 1031 -#define IDC_CHECK_DO11 1032 -#define IDC_CHECK_DO12 1033 -#define IDC_CHECK_DO13 1034 -#define IDC_CHECK_DO14 1035 -#define IDC_CHECK_DO15 1036 -#define IDC_STATIC_DI17 1037 -#define IDC_STATIC_DI18 1038 -#define IDC_STATIC_DI19 1039 -#define IDC_STATIC_DI20 1040 -#define IDC_STATIC_DI21 1041 -#define IDC_STATIC_DI22 1042 -#define IDC_STATIC_DI23 1043 -#define IDC_STATIC_DI24 1044 -#define IDC_STATIC_DI25 1045 -#define IDC_STATIC_DI26 1046 -#define IDC_STATIC_DI27 1047 -#define IDC_STATIC_DI28 1048 -#define IDC_STATIC_DI29 1049 -#define IDC_STATIC_DI30 1050 -#define IDC_STATIC_DI31 1051 -#define IDC_CHECK_DO16 1052 -#define IDC_CHECK_DO17 1053 -#define IDC_CHECK_DO18 1054 -#define IDC_CHECK_DO19 1055 -#define IDC_CHECK_DO20 1056 -#define IDC_CHECK_DO21 1057 -#define IDC_CHECK_DO22 1058 -#define IDC_CHECK_DO23 1059 -#define IDC_CHECK_DO24 1060 -#define IDC_CHECK_DO25 1061 -#define IDC_CHECK_DO26 1062 -#define IDC_CHECK_DO27 1063 -#define IDC_CHECK_DO28 1064 -#define IDC_CHECK_DO29 1065 -#define IDC_CHECK_DO30 1066 -#define IDC_CHECK_DO31 1067 - -// Next default values for new objects -// -#ifdef APSTUDIO_INVOKED -#ifndef APSTUDIO_READONLY_SYMBOLS -#define _APS_NEXT_RESOURCE_VALUE 133 -#define _APS_NEXT_COMMAND_VALUE 32771 -#define _APS_NEXT_CONTROL_VALUE 1003 -#define _APS_NEXT_SYMED_VALUE 101 -#endif -#endif diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7200/SDK7200/stdafx.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7200/SDK7200/stdafx.cpp deleted file mode 100644 index ae2a0cd..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7200/SDK7200/stdafx.cpp +++ /dev/null @@ -1,8 +0,0 @@ - -// stdafx.cpp : source file that includes just the standard includes -// Util7200.pch will be the pre-compiled header -// stdafx.obj will contain the pre-compiled type information - -#include "stdafx.h" - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7200/SDK7200/stdafx.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7200/SDK7200/stdafx.h deleted file mode 100644 index 12123e2..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7200/SDK7200/stdafx.h +++ /dev/null @@ -1,60 +0,0 @@ - -// stdafx.h : include file for standard system include files, -// or project specific include files that are used frequently, -// but are changed infrequently - -#pragma once - -#ifndef _SECURE_ATL -#define _SECURE_ATL 1 -#endif - -#ifndef VC_EXTRALEAN -#define VC_EXTRALEAN // Exclude rarely-used stuff from Windows headers -#endif - -#include "targetver.h" - -#define _ATL_CSTRING_EXPLICIT_CONSTRUCTORS // some CString constructors will be explicit - -// turns off MFC's hiding of some common and often safely ignored warning messages -#define _AFX_ALL_WARNINGS - -#include // MFC core and standard components -#include // MFC extensions - - -#include // MFC Automation classes - - - -#ifndef _AFX_NO_OLE_SUPPORT -#include // MFC support for Internet Explorer 4 Common Controls -#endif -#ifndef _AFX_NO_AFXCMN_SUPPORT -#include // MFC support for Windows Common Controls -#endif // _AFX_NO_AFXCMN_SUPPORT - -#include // MFC support for ribbons and control bars - - - - - - - - - -#ifdef _UNICODE -#if defined _M_IX86 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='x86' publicKeyToken='6595b64144ccf1df' language='*'\"") -#elif defined _M_IA64 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='ia64' publicKeyToken='6595b64144ccf1df' language='*'\"") -#elif defined _M_X64 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='amd64' publicKeyToken='6595b64144ccf1df' language='*'\"") -#else -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='*' publicKeyToken='6595b64144ccf1df' language='*'\"") -#endif -#endif - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7200/SDK7200/targetver.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7200/SDK7200/targetver.h deleted file mode 100644 index 11730d5..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7200/SDK7200/targetver.h +++ /dev/null @@ -1,26 +0,0 @@ - -#pragma once - -// The following macros define the minimum required platform. The minimum required platform -// is the earliest version of Windows, Internet Explorer etc. that has the necessary features to run -// your application. The macros work by enabling all features available on platform versions up to and -// including the version specified. - -// Modify the following defines if you have to target a platform prior to the ones specified below. -// Refer to MSDN for the latest info on corresponding values for different platforms. -#ifndef WINVER // Specifies that the minimum required platform is Windows Vista. -#define WINVER 0x0600 // Change this to the appropriate value to target other versions of Windows. -#endif - -#ifndef _WIN32_WINNT // Specifies that the minimum required platform is Windows Vista. -#define _WIN32_WINNT 0x0600 // Change this to the appropriate value to target other versions of Windows. -#endif - -#ifndef _WIN32_WINDOWS // Specifies that the minimum required platform is Windows 98. -#define _WIN32_WINDOWS 0x0410 // Change this to the appropriate value to target Windows Me or later. -#endif - -#ifndef _WIN32_IE // Specifies that the minimum required platform is Internet Explorer 7.0. -#define _WIN32_IE 0x0700 // Change this to the appropriate value to target other versions of IE. -#endif - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7200/SDK7200DbfWav/7200Cwav.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7200/SDK7200DbfWav/7200Cwav.cpp deleted file mode 100644 index 014aede..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7200/SDK7200DbfWav/7200Cwav.cpp +++ /dev/null @@ -1,110 +0,0 @@ - -// 7200Cwav.cpp : Defines the class behaviors for the application. -// - -#include "stdafx.h" -#include "7200Cwav.h" -#include "7200CwavDlg.h" -#include "CardIDDlg.h" - -#ifdef _DEBUG -#define new DEBUG_NEW -#endif - - -// C7200CwavApp - -BEGIN_MESSAGE_MAP(C7200CwavApp, CWinAppEx) - ON_COMMAND(ID_HELP, &CWinApp::OnHelp) -END_MESSAGE_MAP() - - -// C7200CwavApp construction - -C7200CwavApp::C7200CwavApp() -{ - // TODO: add construction code here, - // Place all significant initialization in InitInstance -} - - -// The one and only C7200CwavApp object - -C7200CwavApp theApp; - - -// C7200CwavApp initialization - -BOOL C7200CwavApp::InitInstance() -{ - int nCardID = 0; - I16 hCard; - CString strTemp; - INT_PTR nResponse; - - // InitCommonControlsEx() is required on Windows XP if an application - // manifest specifies use of ComCtl32.dll version 6 or later to enable - // visual styles. Otherwise, any window creation will fail. - INITCOMMONCONTROLSEX InitCtrls; - InitCtrls.dwSize = sizeof(InitCtrls); - // Set this to include all the common control classes you want to use - // in your application. - InitCtrls.dwICC = ICC_WIN95_CLASSES; - InitCommonControlsEx(&InitCtrls); - - CWinAppEx::InitInstance(); - - AfxEnableControlContainer(); - - // Standard initialization - // If you are not using these features and wish to reduce the size - // of your final executable, you should remove from the following - // the specific initialization routines you do not need - // Change the registry key under which our settings are stored - // TODO: You should modify this string to be something appropriate - // such as the name of your company or organization - SetRegistryKey(_T("Local AppWizard-Generated Applications")); - - CCardIDDlg CardDlg( nCardID ); - - nResponse = CardDlg.DoModal(); - if (nResponse == IDOK) - { - nCardID = CardDlg.GetCardID(); - - if ((hCard=Register_Card(PCI_7200, nCardID)) < 0) - { - strTemp.Format( TEXT("Register_Card Error = %d"), hCard); - AfxMessageBox( strTemp ); - } - else - { - C7200CwavDlg dlg(hCard); - m_pMainWnd = &dlg; - nResponse = dlg.DoModal(); - if (nResponse == IDOK) - { - // TODO: Place code here to handle when the dialog is - // dismissed with OK - } - else if (nResponse == IDCANCEL) - { - // TODO: Place code here to handle when the dialog is - // dismissed with Cancel - } - - if (hCard >= 0) Release_Card(hCard); - } - - } - else if (nResponse == IDCANCEL) - { - // TODO: Place code here to handle when the dialog is - // dismissed with Cancel - } - - - // Since the dialog has been closed, return FALSE so that we exit the - // application, rather than start the application's message pump. - return FALSE; -} diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7200/SDK7200DbfWav/7200Cwav.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7200/SDK7200DbfWav/7200Cwav.h deleted file mode 100644 index 39a18cc..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7200/SDK7200DbfWav/7200Cwav.h +++ /dev/null @@ -1,32 +0,0 @@ - -// 7200Cwav.h : main header file for the PROJECT_NAME application -// - -#pragma once - -#ifndef __AFXWIN_H__ - #error "include 'stdafx.h' before including this file for PCH" -#endif - -#include "resource.h" // main symbols - - -// C7200CwavApp: -// See 7200Cwav.cpp for the implementation of this class -// - -class C7200CwavApp : public CWinAppEx -{ -public: - C7200CwavApp(); - -// Overrides - public: - virtual BOOL InitInstance(); - -// Implementation - - DECLARE_MESSAGE_MAP() -}; - -extern C7200CwavApp theApp; \ No newline at end of file diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7200/SDK7200DbfWav/7200Cwav.rc b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7200/SDK7200DbfWav/7200Cwav.rc deleted file mode 100644 index a5f1221..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7200/SDK7200DbfWav/7200Cwav.rc +++ /dev/null @@ -1,283 +0,0 @@ -// Microsoft Visual C++ generated resource script. -// -#include "resource.h" - -#define APSTUDIO_READONLY_SYMBOLS -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 2 resource. -// -#ifndef APSTUDIO_INVOKED -#include "targetver.h" -#endif -#include "afxres.h" - -///////////////////////////////////////////////////////////////////////////// -#undef APSTUDIO_READONLY_SYMBOLS - -///////////////////////////////////////////////////////////////////////////// -// Chinese (Taiwan) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_CHT) -#ifdef _WIN32 -LANGUAGE LANG_CHINESE, SUBLANG_CHINESE_TRADITIONAL -#pragma code_page(950) -#endif //_WIN32 - -#ifdef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// TEXTINCLUDE -// - -1 TEXTINCLUDE -BEGIN - "resource.h\0" -END - -2 TEXTINCLUDE -BEGIN - "#ifndef APSTUDIO_INVOKED\r\n" - "#include ""targetver.h""\r\n" - "#endif\r\n" - "#include ""afxres.h""\r\n" - "\0" -END - -3 TEXTINCLUDE -BEGIN - "#define _AFX_NO_SPLITTER_RESOURCES\r\n" - "#define _AFX_NO_OLE_RESOURCES\r\n" - "#define _AFX_NO_TRACKER_RESOURCES\r\n" - "#define _AFX_NO_PROPERTY_RESOURCES\r\n" - "\r\n" - "#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)\r\n" - "LANGUAGE 9, 1\r\n" - "#pragma code_page(1252)\r\n" - "#include ""res\\My7200Cwav.rc2"" // non-Microsoft Visual C++ edited resources\r\n" - "#include ""afxres.rc"" // Standard components\r\n" - "#endif\r\n" - "\0" -END - -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// Icon -// - -// Icon with lowest ID value placed first to ensure application icon -// remains consistent on all systems. -IDR_MAINFRAME ICON "res\\7200Cwav.ico" -#endif // Chinese (Taiwan) resources -///////////////////////////////////////////////////////////////////////////// - - -///////////////////////////////////////////////////////////////////////////// -// English (U.S.) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -#ifdef _WIN32 -LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US -#pragma code_page(1252) -#endif //_WIN32 - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog -// - -IDD_ABOUTBOX DIALOGEX 0, 0, 170, 62 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "About 7200Cwav" -FONT 8, "MS Shell Dlg", 0, 0, 0x1 -BEGIN - ICON IDR_MAINFRAME,IDC_STATIC,14,14,21,20 - LTEXT "7200Cwav, Version 1.0",IDC_STATIC,42,14,114,8,SS_NOPREFIX - LTEXT "Copyright (C) 2010",IDC_STATIC,42,26,114,8 - DEFPUSHBUTTON "OK",IDOK,113,41,50,14,WS_GROUP -END - -IDD_MY7200CWAV_DIALOG DIALOGEX 0, 0, 378, 200 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU -EXSTYLE WS_EX_APPWINDOW -CAPTION "PCI-7200 Double Buffer DMA" -FONT 8, "MS Shell Dlg", 0, 0, 0x1 -BEGIN - GROUPBOX "",IDC_STATIC_DRAW,71,7,293,138,NOT WS_VISIBLE - EDITTEXT IDC_EDIT_SAMPLE,135,153,51,12,ES_AUTOHSCROLL - LTEXT "DI Samples :",IDC_STATIC,86,154,45,9 - EDITTEXT IDC_EDIT_SAMPLE_RATE,249,154,30,12,ES_AUTOHSCROLL | ES_READONLY - LTEXT "Sample Rate :",IDC_STATIC,196,154,49,9 - LTEXT "KHz",IDC_STATIC,292,156,15,9 - SCROLLBAR IDC_SCROLLBAR_RATE,280,154,9,11,SBS_VERT - PUSHBUTTON "Start",IDC_BT_START,315,151,48,17 - PUSHBUTTON "Stop",IDC_BT_STOP,315,170,48,17,WS_DISABLED -END - -IDD_CARDID_DIALOG DIALOGEX 0, 0, 170, 84 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "Card ID" -FONT 8, "MS Shell Dlg", 400, 0, 0x1 -BEGIN - COMBOBOX IDC_COMBO_CARDID,75,17,71,126,CBS_DROPDOWN | WS_VSCROLL | WS_TABSTOP - LTEXT "Card Number",IDC_STATIC_01,21,18,46,12 - PUSHBUTTON "OK",IDOK,22,50,58,19 - PUSHBUTTON "CANCEL",IDCANCEL,86,50,58,19 -END - - -///////////////////////////////////////////////////////////////////////////// -// -// Version -// - -VS_VERSION_INFO VERSIONINFO - FILEVERSION 1,0,0,1 - PRODUCTVERSION 1,0,0,1 - FILEFLAGSMASK 0x3fL -#ifdef _DEBUG - FILEFLAGS 0x1L -#else - FILEFLAGS 0x0L -#endif - FILEOS 0x4L - FILETYPE 0x1L - FILESUBTYPE 0x0L -BEGIN - BLOCK "StringFileInfo" - BEGIN - BLOCK "040904e4" - BEGIN - VALUE "CompanyName", "TODO: " - VALUE "FileDescription", "TODO: " - VALUE "FileVersion", "1.0.0.1" - VALUE "InternalName", "7200Cwav.exe" - VALUE "LegalCopyright", "TODO: (c) . All rights reserved." - VALUE "OriginalFilename", "7200Cwav.exe" - VALUE "ProductName", "TODO: " - VALUE "ProductVersion", "1.0.0.1" - END - END - BLOCK "VarFileInfo" - BEGIN - VALUE "Translation", 0x409, 1252 - END -END - - -///////////////////////////////////////////////////////////////////////////// -// -// DESIGNINFO -// - -#ifdef APSTUDIO_INVOKED -GUIDELINES DESIGNINFO -BEGIN - IDD_ABOUTBOX, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 163 - TOPMARGIN, 7 - BOTTOMMARGIN, 55 - END - - IDD_MY7200CWAV_DIALOG, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 371 - TOPMARGIN, 7 - BOTTOMMARGIN, 193 - END - - IDD_CARDID_DIALOG, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 163 - TOPMARGIN, 7 - BOTTOMMARGIN, 77 - END -END -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog Info -// - -IDD_CARDID_DIALOG DLGINIT -BEGIN - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0030, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0031, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0032, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0033, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0034, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0035, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0036, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0037, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0038, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0039, - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3031, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3131, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3231, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3331, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3431, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3531, "\000" - 0 -END - - -///////////////////////////////////////////////////////////////////////////// -// -// String Table -// - -STRINGTABLE -BEGIN - IDS_ABOUTBOX "&About 7200Cwav..." -END - -#endif // English (U.S.) resources -///////////////////////////////////////////////////////////////////////////// - - - -#ifndef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 3 resource. -// -#define _AFX_NO_SPLITTER_RESOURCES -#define _AFX_NO_OLE_RESOURCES -#define _AFX_NO_TRACKER_RESOURCES -#define _AFX_NO_PROPERTY_RESOURCES - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -LANGUAGE 9, 1 -#pragma code_page(1252) -#include "res\My7200Cwav.rc2" // non-Microsoft Visual C++ edited resources -#include "afxres.rc" // Standard components -#endif - -///////////////////////////////////////////////////////////////////////////// -#endif // not APSTUDIO_INVOKED - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7200/SDK7200DbfWav/7200Cwav.sln b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7200/SDK7200DbfWav/7200Cwav.sln deleted file mode 100644 index a5f4b20..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7200/SDK7200DbfWav/7200Cwav.sln +++ /dev/null @@ -1,20 +0,0 @@ - -Microsoft Visual Studio Solution File, Format Version 10.00 -# Visual Studio 2008 -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "7200Cwav", "7200Cwav.vcproj", "{268F1235-1696-46A0-AF19-03CA3312B5D0}" -EndProject -Global - GlobalSection(SolutionConfigurationPlatforms) = preSolution - Debug|x64 = Debug|x64 - Release|x64 = Release|x64 - EndGlobalSection - GlobalSection(ProjectConfigurationPlatforms) = postSolution - {268F1235-1696-46A0-AF19-03CA3312B5D0}.Debug|x64.ActiveCfg = Debug|x64 - {268F1235-1696-46A0-AF19-03CA3312B5D0}.Debug|x64.Build.0 = Debug|x64 - {268F1235-1696-46A0-AF19-03CA3312B5D0}.Release|x64.ActiveCfg = Release|x64 - {268F1235-1696-46A0-AF19-03CA3312B5D0}.Release|x64.Build.0 = Release|x64 - EndGlobalSection - GlobalSection(SolutionProperties) = preSolution - HideSolutionNode = FALSE - EndGlobalSection -EndGlobal diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7200/SDK7200DbfWav/7200Cwav.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7200/SDK7200DbfWav/7200Cwav.suo deleted file mode 100644 index f68b0da..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7200/SDK7200DbfWav/7200Cwav.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7200/SDK7200DbfWav/7200Cwav.vcproj b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7200/SDK7200DbfWav/7200Cwav.vcproj deleted file mode 100644 index 9a17907..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7200/SDK7200DbfWav/7200Cwav.vcproj +++ /dev/null @@ -1,286 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7200/SDK7200DbfWav/7200CwavDlg.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7200/SDK7200DbfWav/7200CwavDlg.cpp deleted file mode 100644 index 9d03889..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7200/SDK7200DbfWav/7200CwavDlg.cpp +++ /dev/null @@ -1,522 +0,0 @@ - -// 7200CwavDlg.cpp : implementation file -// - -#include "stdafx.h" -#include "math.h" -#include "7200Cwav.h" -#include "7200CwavDlg.h" - -#ifndef M_PI -#define M_PI 3.14159265359 -#endif - -#ifdef _DEBUG -#define new DEBUG_NEW -#endif - -CRect plotRect; - -#define PCI7200_HALF_BUFFER_CHECK_TIMER 1 - -#ifdef _SELF_OUTPUT_ -ULONG DoBuf[10240]; -BOOLEAN bOutStopped; -ULONG out_count; - -#endif - - -// CAboutDlg dialog used for App About - -class CAboutDlg : public CDialog -{ -public: - CAboutDlg(); - -// Dialog Data - enum { IDD = IDD_ABOUTBOX }; - - protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - -// Implementation -protected: - DECLARE_MESSAGE_MAP() -}; - -CAboutDlg::CAboutDlg() : CDialog(CAboutDlg::IDD) -{ -} - -void CAboutDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); -} - -BEGIN_MESSAGE_MAP(CAboutDlg, CDialog) -END_MESSAGE_MAP() - - -// C7200CwavDlg dialog - - - - -C7200CwavDlg::C7200CwavDlg(I16 hCard, CWnd* pParent /*=NULL*/) - : CDialog(C7200CwavDlg::IDD, pParent) -{ - m_hIcon = AfxGetApp()->LoadIcon(IDR_MAINFRAME); - - m_hCard = hCard; - - OnBrush = OffBrush = NULL; - - n_PlotWidth = -1; - n_PlotHeight = -1; - - min_val = 0x00; - max_val = 0xFFFFFFFF; - - m_fSampleRate = 10000.0; // 10KHz - m_dwDISamples = 1000; - m_pDIAddr = NULL; - - m_nTimer = -1; - -#ifdef _SELF_OUTPUT_ - for (int i=0; i<10240; i++) - { - DoBuf[i] = (U32)(sin((double)i/1024*M_PI)*0x7FFFFFFF)+0x80000000; - - } -#endif - -} - -void C7200CwavDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); -} - -BEGIN_MESSAGE_MAP(C7200CwavDlg, CDialog) - ON_WM_SYSCOMMAND() - ON_WM_PAINT() - ON_WM_QUERYDRAGICON() - //}}AFX_MSG_MAP - ON_WM_DESTROY() - ON_WM_TIMER() - ON_BN_CLICKED(IDC_BT_START, &C7200CwavDlg:: OnStart) - ON_BN_CLICKED(IDC_BT_STOP, &C7200CwavDlg::OnStop) - ON_WM_VSCROLL() -END_MESSAGE_MAP() - - -// C7200CwavDlg message handlers - -BOOL C7200CwavDlg::OnInitDialog() -{ - CDialog::OnInitDialog(); - - // Add "About..." menu item to system menu. - - // IDM_ABOUTBOX must be in the system command range. - ASSERT((IDM_ABOUTBOX & 0xFFF0) == IDM_ABOUTBOX); - ASSERT(IDM_ABOUTBOX < 0xF000); - - CMenu* pSysMenu = GetSystemMenu(FALSE); - if (pSysMenu != NULL) - { - BOOL bNameValid; - CString strAboutMenu; - bNameValid = strAboutMenu.LoadString(IDS_ABOUTBOX); - ASSERT(bNameValid); - if (!strAboutMenu.IsEmpty()) - { - pSysMenu->AppendMenu(MF_SEPARATOR); - pSysMenu->AppendMenu(MF_STRING, IDM_ABOUTBOX, strAboutMenu); - } - } - - // Set the icon for this dialog. The framework does this automatically - // when the application's main window is not a dialog - SetIcon(m_hIcon, TRUE); // Set big icon - SetIcon(m_hIcon, FALSE); // Set small icon - - // TODO: Add extra initialization here - x_divider = 5; y_divider = 2; - - OnBrush = CreateSolidBrush( RGB(255,0,0) ); - OffBrush = CreateSolidBrush( RGB(125,0,0) ); - - RedPen.CreatePen( PS_SOLID, 1, RGB(255,0,0)); - GreenPen.CreatePen( PS_SOLID, 1, RGB(0,255,0)); - - if( n_PlotWidth == -1 && n_PlotHeight == -1 ) - { - ((CWnd*)GetDlgItem(IDC_STATIC_DRAW))->GetWindowRect(&plotRect); - ScreenToClient(&plotRect); - - n_PlotWidth = min( plotRect.Width(), 512); - n_PlotHeight = plotRect.Height() - 10; - } - - // set the default SampleRate - SetDlgItemInt( IDC_EDIT_SAMPLE_RATE, (UINT)(m_fSampleRate/1000) ); - - // Set the default DI Sample - SetDlgItemInt( IDC_EDIT_SAMPLE, (UINT)(m_dwDISamples) ); - - return TRUE; // return TRUE unless you set the focus to a control -} - -void C7200CwavDlg::OnSysCommand(UINT nID, LPARAM lParam) -{ - if ((nID & 0xFFF0) == IDM_ABOUTBOX) - { - CAboutDlg dlgAbout; - dlgAbout.DoModal(); - } - else - { - CDialog::OnSysCommand(nID, lParam); - } -} - -// If you add a minimize button to your dialog, you will need the code below -// to draw the icon. For MFC applications using the document/view model, -// this is automatically done for you by the framework. - -void C7200CwavDlg::OnPaint() -{ - if (IsIconic()) - { - CPaintDC dc(this); // device context for painting - - SendMessage(WM_ICONERASEBKGND, reinterpret_cast(dc.GetSafeHdc()), 0); - - // Center icon in client rectangle - int cxIcon = GetSystemMetrics(SM_CXICON); - int cyIcon = GetSystemMetrics(SM_CYICON); - CRect rect; - GetClientRect(&rect); - int x = (rect.Width() - cxIcon + 1) / 2; - int y = (rect.Height() - cyIcon + 1) / 2; - - // Draw the icon - dc.DrawIcon(x, y, m_hIcon); - } - else - { - redraw_display_area(); - CDialog::OnPaint(); - } -} - -// The system calls this function to obtain the cursor to display while the user drags -// the minimized window. -HCURSOR C7200CwavDlg::OnQueryDragIcon() -{ - return static_cast(m_hIcon); -} - - -void C7200CwavDlg::OnDestroy() -{ - U32 count; - - CDialog::OnDestroy(); - - // TODO: Add your message handler code here - if( OnBrush != NULL ) - ::DeleteObject( OnBrush ); - - if( OffBrush != NULL ) - ::DeleteObject( OffBrush ); - - RedPen.DeleteObject(); - GreenPen.DeleteObject(); - - if( m_nTimer != -1 ) - { - KillTimer( m_nTimer ); - m_nTimer = -1; - } - - if( m_pDIAddr != NULL ) - { - free( m_pDIAddr ); - m_pDIAddr = NULL; - } - - DI_AsyncClear( m_hCard, &count ); - -#ifdef _SELF_OUTPUT_ - DO_AsyncClear( m_hCard, &count ); -#endif - - -} - -void C7200CwavDlg::OnTimer(UINT_PTR nIDEvent) -{ - // TODO: Add your message handler code here and/or call default - BOOLEAN bHalfReady; - I16 err; - - bHalfReady = FALSE; - err = DI_AsyncDblBufferHalfReady(m_hCard, &bHalfReady); - - if( bHalfReady == TRUE ) - { - err = DI_AsyncDblBufferTransfer(m_hCard, m_pDIAddr); - redraw_display_area(); - display_buffer_data( m_pDIAddr ); - } - - CDialog::OnTimer(nIDEvent); -} - -void C7200CwavDlg:: OnStart() -{ - // TODO: Add your control notification handler code here - U32 dwMemSize, dwDISamples; - void* pMem; - I16 err; - CString strMsg; - - dwDISamples = GetDlgItemInt( IDC_EDIT_SAMPLE ); - - if( dwDISamples != m_dwDISamples ) - { - if( m_pDIAddr != NULL ) - { - free( m_pDIAddr ); - m_pDIAddr = NULL; - } - m_dwDISamples = dwDISamples; - } - - - dwMemSize = (m_dwDISamples * 2); // (m_dwDISamples * sizeof(U32)/2 ) - pMem = malloc( dwMemSize ); - if( pMem == NULL ) - { - AfxMessageBox( TEXT("Memory allocated failed") ); - return; - } - else - { - m_pDIAddr = (U32*) pMem; - memset( m_pDIAddr, '\0', dwMemSize ); - } - - -#ifdef _SELF_OUTPUT_ - DO_7200_Config(m_hCard, TRIG_INT_PACER, OREQ_DISABLE, OTRIG_LOW); -#endif - if ((err=DI_7200_Config(m_hCard, TRIG_INT_PACER, DI_NOWAITING, DI_TRIG_FALLING, IREQ_FALLING)) != NoError) - { - strMsg.Format( TEXT("DI_Config Error = %d"), err); - AfxMessageBox( strMsg ); - return; - } - - if ((err=DI_AsyncDblBufferMode (m_hCard, 1)) != NoError) - { - strMsg.Format( TEXT("DI_AsyncDblBufferMode Error = %d"), err); - AfxMessageBox( strMsg ); - return; - } - -#ifdef _SELF_OUTPUT_ - DO_ContWritePort(m_hCard, 0, DoBuf, 10240, 0, m_fSampleRate, ASYNCH_OP); -#endif - - if ((err=DI_ContReadPort(m_hCard, 0, pMem, m_dwDISamples, m_fSampleRate, ASYNCH_OP)) != NoError) - { - strMsg.Format( TEXT("DI_ContReadPort Error = %d"), err); - AfxMessageBox( strMsg ); - return; - } - - // start timer - if( m_nTimer == -1 ) - { - m_nTimer = SetTimer( PCI7200_HALF_BUFFER_CHECK_TIMER, 5, NULL ); - } - - GetDlgItem( IDC_BT_START )->EnableWindow( FALSE ); - GetDlgItem( IDC_BT_STOP )->EnableWindow( TRUE ); -} - -void C7200CwavDlg::OnStop() -{ - // TODO: Add your control notification handler code here - U32 count; - - DI_AsyncClear(m_hCard, &count); - -#ifdef _SELF_OUTPUT_ - DO_AsyncClear(m_hCard, &out_count); -#endif - - // disable Timer - if( m_nTimer != -1 ) - { - KillTimer( m_nTimer ); - m_nTimer = -1; - } - - GetDlgItem( IDC_BT_START )->EnableWindow( TRUE ); - GetDlgItem( IDC_BT_STOP )->EnableWindow( TRUE ); -} - -void C7200CwavDlg::display_buffer_data(U32* pBuf) -{ - CClientDC dc_plot(this); - int nDraw_Bottom; - - int newY, oldY = -1; - int newX, oldX = -1; - U32 index, di_data; - U32 dwDISamples = (m_dwDISamples/2); - - nDraw_Bottom = ( plotRect.bottom - 5 ); - dc_plot.SelectObject( &GreenPen ); - - for( index=0; index 200000.0 ) - m_fSampleRate = 200000.0; - - break; - case SB_LINEDOWN: - m_fSampleRate -= 10000.0; - if (m_fSampleRate < 10000.0 ) - m_fSampleRate = 10000.0; - - break; - } - - SetDlgItemInt( IDC_EDIT_SAMPLE_RATE, (UINT)(m_fSampleRate/1000) ); - - CDialog::OnVScroll(nSBCode, nPos, pScrollBar); -} diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7200/SDK7200DbfWav/7200CwavDlg.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7200/SDK7200DbfWav/7200CwavDlg.h deleted file mode 100644 index d247d7e..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7200/SDK7200DbfWav/7200CwavDlg.h +++ /dev/null @@ -1,60 +0,0 @@ - -// 7200CwavDlg.h : header file -// - -#include "Dask64.h" - -#pragma once - - -// C7200CwavDlg dialog -class C7200CwavDlg : public CDialog -{ -// Construction -public: - C7200CwavDlg(I16 hCard, CWnd* pParent = NULL); // standard constructor - -// Dialog Data - enum { IDD = IDD_MY7200CWAV_DIALOG }; - - protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - - -// Implementation -protected: - HICON m_hIcon; - I16 m_hCard; - UINT_PTR m_nTimer; - U32* m_pDIAddr; - U32 m_dwDISamples; - HBRUSH OnBrush; - HBRUSH OffBrush; - CPen RedPen; - CPen GreenPen; - DWORD max_val; - DWORD min_val; - int y_divider; - int x_divider; - int m_DisplayScale; - double m_fSampleRate; - - // Generated message map functions - virtual BOOL OnInitDialog(); - afx_msg void OnSysCommand(UINT nID, LPARAM lParam); - afx_msg void OnPaint(); - afx_msg HCURSOR OnQueryDragIcon(); - DECLARE_MESSAGE_MAP() - -private: - int n_PlotHeight; - int n_PlotWidth; -public: - afx_msg void OnDestroy(); - afx_msg void OnTimer(UINT_PTR nIDEvent); - afx_msg void OnStart(); - afx_msg void OnStop(); - void display_buffer_data(U32* pBuf); - void redraw_display_area(void); - afx_msg void OnVScroll(UINT nSBCode, UINT nPos, CScrollBar* pScrollBar); -}; diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7200/SDK7200DbfWav/CardIDDlg.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7200/SDK7200DbfWav/CardIDDlg.cpp deleted file mode 100644 index fbe3210..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7200/SDK7200DbfWav/CardIDDlg.cpp +++ /dev/null @@ -1,67 +0,0 @@ -// CardIDDlg.cpp : implementation file -// - -#include "stdafx.h" -#include "7200Cwav.h" -#include "CardIDDlg.h" - - -// CCardIDDlg dialog - -IMPLEMENT_DYNAMIC(CCardIDDlg, CDialog) - -CCardIDDlg::CCardIDDlg(int nCardIdx, CWnd* pParent /*=NULL*/) - : CDialog(CCardIDDlg::IDD, pParent) -{ - m_nCardIdx = nCardIdx; -} - -CCardIDDlg::~CCardIDDlg() -{ -} - -void CCardIDDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); - DDX_Control(pDX, IDC_COMBO_CARDID, m_cbCardID); -} - - -BEGIN_MESSAGE_MAP(CCardIDDlg, CDialog) -// ON_CBN_SELCHANGE(IDC_COMBO_CARDID, &CCardIDDlg::OnCbnSelchangeComboCardid) -ON_BN_CLICKED(IDOK, &CCardIDDlg::OnBnClickedOk) -//ON_WM_CTLCOLOR() -END_MESSAGE_MAP() - - -// CCardIDDlg message handlers - - -void CCardIDDlg::OnBnClickedOk() -{ - // TODO: Add your control notification handler code here - -// UpdateData(TRUE); - m_nCardIdx = m_cbCardID.GetCurSel(); - - OnOK(); -} - -BOOL CCardIDDlg::OnInitDialog() -{ - CDialog::OnInitDialog(); - - // TODO: Add extra initialization here - m_cbCardID.SetCurSel( m_nCardIdx ); - - return TRUE; // return TRUE unless you set the focus to a control - // EXCEPTION: OCX Property Pages should return FALSE -} - -// the function to get the selected CardID -int CCardIDDlg::GetCardID(void) -{ - return m_nCardIdx; -} - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7200/SDK7200DbfWav/CardIDDlg.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7200/SDK7200DbfWav/CardIDDlg.h deleted file mode 100644 index 54628ea..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7200/SDK7200DbfWav/CardIDDlg.h +++ /dev/null @@ -1,33 +0,0 @@ -#pragma once -#include "afxwin.h" - - -// CCardIDDlg dialog - -class CCardIDDlg : public CDialog -{ - DECLARE_DYNAMIC(CCardIDDlg) - -public: - CCardIDDlg(int nCardIdx, CWnd* pParent = NULL); // standard constructor - virtual ~CCardIDDlg(); - -// Dialog Data - enum { IDD = IDD_CARDID_DIALOG }; - -protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - - DECLARE_MESSAGE_MAP() -public: -// afx_msg void OnCbnSelchangeComboCardid(); - afx_msg void OnBnClickedOk(); - // the setting of CardID ComboBox - int m_nCardIdx; - virtual BOOL OnInitDialog(); - // the control of CardID ComboBox - CComboBox m_cbCardID; - // the function to get the selected CardID - int GetCardID(void); -// afx_msg HBRUSH OnCtlColor(CDC* pDC, CWnd* pWnd, UINT nCtlColor); -}; diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7200/SDK7200DbfWav/ReadMe.txt b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7200/SDK7200DbfWav/ReadMe.txt deleted file mode 100644 index b31344c..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7200/SDK7200DbfWav/ReadMe.txt +++ /dev/null @@ -1,93 +0,0 @@ -================================================================================ - MICROSOFT FOUNDATION CLASS LIBRARY : 7200Cwav Project Overview -=============================================================================== - -The application wizard has created this 7200Cwav application for -you. This application not only demonstrates the basics of using the Microsoft -Foundation Classes but is also a starting point for writing your application. - -This file contains a summary of what you will find in each of the files that -make up your 7200Cwav application. - -7200Cwav.vcproj - This is the main project file for VC++ projects generated using an application wizard. - It contains information about the version of Visual C++ that generated the file, and - information about the platforms, configurations, and project features selected with the - application wizard. - -7200Cwav.h - This is the main header file for the application. It includes other - project specific headers (including Resource.h) and declares the - C7200CwavApp application class. - -7200Cwav.cpp - This is the main application source file that contains the application - class C7200CwavApp. - -7200Cwav.rc - This is a listing of all of the Microsoft Windows resources that the - program uses. It includes the icons, bitmaps, and cursors that are stored - in the RES subdirectory. This file can be directly edited in Microsoft - Visual C++. Your project resources are in 1033. - -res\7200Cwav.ico - This is an icon file, which is used as the application's icon. This - icon is included by the main resource file 7200Cwav.rc. - -res\My7200Cwav.rc2 - This file contains resources that are not edited by Microsoft - Visual C++. You should place all resources not editable by - the resource editor in this file. - - -///////////////////////////////////////////////////////////////////////////// - -The application wizard creates one dialog class: - -7200CwavDlg.h, 7200CwavDlg.cpp - the dialog - These files contain your C7200CwavDlg class. This class defines - the behavior of your application's main dialog. The dialog's template is - in 7200Cwav.rc, which can be edited in Microsoft Visual C++. - - -///////////////////////////////////////////////////////////////////////////// - -Other Features: - -ActiveX Controls - The application includes support to use ActiveX controls. - -///////////////////////////////////////////////////////////////////////////// - -Other standard files: - -StdAfx.h, StdAfx.cpp - These files are used to build a precompiled header (PCH) file - named 7200Cwav.pch and a precompiled types file named StdAfx.obj. - -Resource.h - This is the standard header file, which defines new resource IDs. - Microsoft Visual C++ reads and updates this file. - -7200Cwav.manifest - Application manifest files are used by Windows XP to describe an applications - dependency on specific versions of Side-by-Side assemblies. The loader uses this - information to load the appropriate assembly from the assembly cache or private - from the application. The Application manifest maybe included for redistribution - as an external .manifest file that is installed in the same folder as the application - executable or it may be included in the executable in the form of a resource. -///////////////////////////////////////////////////////////////////////////// - -Other notes: - -The application wizard uses "TODO:" to indicate parts of the source code you -should add to or customize. - -If your application uses MFC in a shared DLL, you will need -to redistribute the MFC DLLs. If your application is in a language -other than the operating system's locale, you will also have to -redistribute the corresponding localized resources MFC90XXX.DLL. -For more information on both of these topics, please see the section on -redistributing Visual C++ applications in MSDN documentation. - -///////////////////////////////////////////////////////////////////////////// diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7200/SDK7200DbfWav/res/7200Cwav.ico b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7200/SDK7200DbfWav/res/7200Cwav.ico deleted file mode 100644 index d56fbcd..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7200/SDK7200DbfWav/res/7200Cwav.ico and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7200/SDK7200DbfWav/res/My7200Cwav.rc2 b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7200/SDK7200DbfWav/res/My7200Cwav.rc2 deleted file mode 100644 index 9a31966..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7200/SDK7200DbfWav/res/My7200Cwav.rc2 +++ /dev/null @@ -1,13 +0,0 @@ -// -// My7200Cwav.RC2 - resources Microsoft Visual C++ does not edit directly -// - -#ifdef APSTUDIO_INVOKED -#error this file is not editable by Microsoft Visual C++ -#endif //APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// Add manually edited resources here... - -///////////////////////////////////////////////////////////////////////////// diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7200/SDK7200DbfWav/resource.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7200/SDK7200DbfWav/resource.h deleted file mode 100644 index 286492e..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7200/SDK7200DbfWav/resource.h +++ /dev/null @@ -1,29 +0,0 @@ -//{{NO_DEPENDENCIES}} -// Microsoft Visual C++ generated include file. -// Used by 7200Cwav.rc -// -#define IDM_ABOUTBOX 0x0010 -#define IDD_ABOUTBOX 100 -#define IDS_ABOUTBOX 101 -#define IDD_MY7200CWAV_DIALOG 102 -#define IDR_MAINFRAME 128 -#define IDD_CARDID_DIALOG 129 -#define IDC_STATIC_DRAW 1000 -#define IDC_EDIT_SAMPLE 1001 -#define IDC_EDIT_SAMPLE_RATE 1003 -#define IDC_SCROLLBAR_RATE 1006 -#define IDC_COMBO_CARDID 1007 -#define IDC_BT_START 1008 -#define IDC_BT_STOP 1009 -#define IDC_STATIC_01 1014 - -// Next default values for new objects -// -#ifdef APSTUDIO_INVOKED -#ifndef APSTUDIO_READONLY_SYMBOLS -#define _APS_NEXT_RESOURCE_VALUE 131 -#define _APS_NEXT_COMMAND_VALUE 32771 -#define _APS_NEXT_CONTROL_VALUE 1000 -#define _APS_NEXT_SYMED_VALUE 101 -#endif -#endif diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7200/SDK7200DbfWav/stdafx.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7200/SDK7200DbfWav/stdafx.cpp deleted file mode 100644 index 243c7ee..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7200/SDK7200DbfWav/stdafx.cpp +++ /dev/null @@ -1,8 +0,0 @@ - -// stdafx.cpp : source file that includes just the standard includes -// 7200Cwav.pch will be the pre-compiled header -// stdafx.obj will contain the pre-compiled type information - -#include "stdafx.h" - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7200/SDK7200DbfWav/stdafx.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7200/SDK7200DbfWav/stdafx.h deleted file mode 100644 index 12123e2..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7200/SDK7200DbfWav/stdafx.h +++ /dev/null @@ -1,60 +0,0 @@ - -// stdafx.h : include file for standard system include files, -// or project specific include files that are used frequently, -// but are changed infrequently - -#pragma once - -#ifndef _SECURE_ATL -#define _SECURE_ATL 1 -#endif - -#ifndef VC_EXTRALEAN -#define VC_EXTRALEAN // Exclude rarely-used stuff from Windows headers -#endif - -#include "targetver.h" - -#define _ATL_CSTRING_EXPLICIT_CONSTRUCTORS // some CString constructors will be explicit - -// turns off MFC's hiding of some common and often safely ignored warning messages -#define _AFX_ALL_WARNINGS - -#include // MFC core and standard components -#include // MFC extensions - - -#include // MFC Automation classes - - - -#ifndef _AFX_NO_OLE_SUPPORT -#include // MFC support for Internet Explorer 4 Common Controls -#endif -#ifndef _AFX_NO_AFXCMN_SUPPORT -#include // MFC support for Windows Common Controls -#endif // _AFX_NO_AFXCMN_SUPPORT - -#include // MFC support for ribbons and control bars - - - - - - - - - -#ifdef _UNICODE -#if defined _M_IX86 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='x86' publicKeyToken='6595b64144ccf1df' language='*'\"") -#elif defined _M_IA64 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='ia64' publicKeyToken='6595b64144ccf1df' language='*'\"") -#elif defined _M_X64 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='amd64' publicKeyToken='6595b64144ccf1df' language='*'\"") -#else -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='*' publicKeyToken='6595b64144ccf1df' language='*'\"") -#endif -#endif - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7200/SDK7200DbfWav/targetver.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7200/SDK7200DbfWav/targetver.h deleted file mode 100644 index 11730d5..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7200/SDK7200DbfWav/targetver.h +++ /dev/null @@ -1,26 +0,0 @@ - -#pragma once - -// The following macros define the minimum required platform. The minimum required platform -// is the earliest version of Windows, Internet Explorer etc. that has the necessary features to run -// your application. The macros work by enabling all features available on platform versions up to and -// including the version specified. - -// Modify the following defines if you have to target a platform prior to the ones specified below. -// Refer to MSDN for the latest info on corresponding values for different platforms. -#ifndef WINVER // Specifies that the minimum required platform is Windows Vista. -#define WINVER 0x0600 // Change this to the appropriate value to target other versions of Windows. -#endif - -#ifndef _WIN32_WINNT // Specifies that the minimum required platform is Windows Vista. -#define _WIN32_WINNT 0x0600 // Change this to the appropriate value to target other versions of Windows. -#endif - -#ifndef _WIN32_WINDOWS // Specifies that the minimum required platform is Windows 98. -#define _WIN32_WINDOWS 0x0410 // Change this to the appropriate value to target Windows Me or later. -#endif - -#ifndef _WIN32_IE // Specifies that the minimum required platform is Internet Explorer 7.0. -#define _WIN32_IE 0x0700 // Change this to the appropriate value to target other versions of IE. -#endif - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7200/SDK7200HdSk/7200Wav.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7200/SDK7200HdSk/7200Wav.cpp deleted file mode 100644 index 0637fbc..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7200/SDK7200HdSk/7200Wav.cpp +++ /dev/null @@ -1,110 +0,0 @@ - -// 7200Wav.cpp : Defines the class behaviors for the application. -// - -#include "stdafx.h" -#include "7200Wav.h" -#include "7200WavDlg.h" -#include "CardIDDlg.h" - -#ifdef _DEBUG -#define new DEBUG_NEW -#endif - - -// C7200WavApp - -BEGIN_MESSAGE_MAP(C7200WavApp, CWinAppEx) - ON_COMMAND(ID_HELP, &CWinApp::OnHelp) -END_MESSAGE_MAP() - - -// C7200WavApp construction - -C7200WavApp::C7200WavApp() -{ - // TODO: add construction code here, - // Place all significant initialization in InitInstance -} - - -// The one and only C7200WavApp object - -C7200WavApp theApp; - - -// C7200WavApp initialization - -BOOL C7200WavApp::InitInstance() -{ - int nCardID = 0; - I16 hCard; - CString strTemp; - INT_PTR nResponse; - - // InitCommonControlsEx() is required on Windows XP if an application - // manifest specifies use of ComCtl32.dll version 6 or later to enable - // visual styles. Otherwise, any window creation will fail. - INITCOMMONCONTROLSEX InitCtrls; - InitCtrls.dwSize = sizeof(InitCtrls); - // Set this to include all the common control classes you want to use - // in your application. - InitCtrls.dwICC = ICC_WIN95_CLASSES; - InitCommonControlsEx(&InitCtrls); - - CWinAppEx::InitInstance(); - - AfxEnableControlContainer(); - - // Standard initialization - // If you are not using these features and wish to reduce the size - // of your final executable, you should remove from the following - // the specific initialization routines you do not need - // Change the registry key under which our settings are stored - // TODO: You should modify this string to be something appropriate - // such as the name of your company or organization - SetRegistryKey(_T("Local AppWizard-Generated Applications")); - - CCardIDDlg CardDlg( nCardID ); - - nResponse = CardDlg.DoModal(); - if (nResponse == IDOK) - { - nCardID = CardDlg.GetCardID(); - - if ((hCard=Register_Card(PCI_7200, nCardID)) < 0) - { - strTemp.Format( TEXT("Register_Card Error = %d"), hCard); - AfxMessageBox( strTemp ); - } - else - { - C7200WavDlg dlg(hCard); - m_pMainWnd = &dlg; - nResponse = dlg.DoModal(); - if (nResponse == IDOK) - { - // TODO: Place code here to handle when the dialog is - // dismissed with OK - } - else if (nResponse == IDCANCEL) - { - // TODO: Place code here to handle when the dialog is - // dismissed with Cancel - } - - if (hCard >= 0) Release_Card(hCard); - } - - } - else if (nResponse == IDCANCEL) - { - // TODO: Place code here to handle when the dialog is - // dismissed with Cancel - } - - - // Since the dialog has been closed, return FALSE so that we exit the - // application, rather than start the application's message pump. - return FALSE; -} diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7200/SDK7200HdSk/7200Wav.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7200/SDK7200HdSk/7200Wav.h deleted file mode 100644 index dc9b226..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7200/SDK7200HdSk/7200Wav.h +++ /dev/null @@ -1,32 +0,0 @@ - -// 7200Wav.h : main header file for the PROJECT_NAME application -// - -#pragma once - -#ifndef __AFXWIN_H__ - #error "include 'stdafx.h' before including this file for PCH" -#endif - -#include "resource.h" // main symbols - - -// C7200WavApp: -// See 7200Wav.cpp for the implementation of this class -// - -class C7200WavApp : public CWinAppEx -{ -public: - C7200WavApp(); - -// Overrides - public: - virtual BOOL InitInstance(); - -// Implementation - - DECLARE_MESSAGE_MAP() -}; - -extern C7200WavApp theApp; \ No newline at end of file diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7200/SDK7200HdSk/7200Wav.rc b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7200/SDK7200HdSk/7200Wav.rc deleted file mode 100644 index bc9ec23..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7200/SDK7200HdSk/7200Wav.rc +++ /dev/null @@ -1,283 +0,0 @@ -// Microsoft Visual C++ generated resource script. -// -#include "resource.h" - -#define APSTUDIO_READONLY_SYMBOLS -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 2 resource. -// -#ifndef APSTUDIO_INVOKED -#include "targetver.h" -#endif -#include "afxres.h" - -///////////////////////////////////////////////////////////////////////////// -#undef APSTUDIO_READONLY_SYMBOLS - -///////////////////////////////////////////////////////////////////////////// -// Chinese (Taiwan) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_CHT) -#ifdef _WIN32 -LANGUAGE LANG_CHINESE, SUBLANG_CHINESE_TRADITIONAL -#pragma code_page(950) -#endif //_WIN32 - -#ifdef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// TEXTINCLUDE -// - -1 TEXTINCLUDE -BEGIN - "resource.h\0" -END - -2 TEXTINCLUDE -BEGIN - "#ifndef APSTUDIO_INVOKED\r\n" - "#include ""targetver.h""\r\n" - "#endif\r\n" - "#include ""afxres.h""\r\n" - "\0" -END - -3 TEXTINCLUDE -BEGIN - "#define _AFX_NO_SPLITTER_RESOURCES\r\n" - "#define _AFX_NO_OLE_RESOURCES\r\n" - "#define _AFX_NO_TRACKER_RESOURCES\r\n" - "#define _AFX_NO_PROPERTY_RESOURCES\r\n" - "\r\n" - "#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)\r\n" - "LANGUAGE 9, 1\r\n" - "#pragma code_page(1252)\r\n" - "#include ""res\\My7200Wav.rc2"" // non-Microsoft Visual C++ edited resources\r\n" - "#include ""afxres.rc"" // Standard components\r\n" - "#endif\r\n" - "\0" -END - -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// Icon -// - -// Icon with lowest ID value placed first to ensure application icon -// remains consistent on all systems. -IDR_MAINFRAME ICON "res\\7200Wav.ico" -#endif // Chinese (Taiwan) resources -///////////////////////////////////////////////////////////////////////////// - - -///////////////////////////////////////////////////////////////////////////// -// English (U.S.) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -#ifdef _WIN32 -LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US -#pragma code_page(1252) -#endif //_WIN32 - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog -// - -IDD_ABOUTBOX DIALOGEX 0, 0, 170, 62 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "About 7200Wav" -FONT 8, "MS Shell Dlg", 0, 0, 0x1 -BEGIN - ICON IDR_MAINFRAME,IDC_STATIC,14,14,21,20 - LTEXT "7200Wav, Version 1.0",IDC_STATIC,42,14,114,8,SS_NOPREFIX - LTEXT "Copyright (C) 2010",IDC_STATIC,42,26,114,8 - DEFPUSHBUTTON "OK",IDOK,113,41,50,14,WS_GROUP -END - -IDD_MY7200WAV_DIALOG DIALOGEX 0, 0, 376, 201 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU -EXSTYLE WS_EX_APPWINDOW -CAPTION "PCI-7200 DMA (Handshake)" -FONT 8, "MS Shell Dlg", 0, 0, 0x1 -BEGIN - GROUPBOX "",IDC_STATIC_DRAW,71,7,293,138,NOT WS_VISIBLE - EDITTEXT IDC_EDIT_SAMPLE,135,153,51,12,ES_AUTOHSCROLL - LTEXT "DI Samples :",IDC_STATIC,86,154,45,9 - EDITTEXT IDC_EDIT_SAMPLE_RATE,249,154,30,12,ES_AUTOHSCROLL | ES_READONLY - LTEXT "Sample Rate :",IDC_STATIC,196,154,49,9 - LTEXT "KHz",IDC_STATIC,292,156,15,9 - SCROLLBAR IDC_SCROLLBAR_RATE,280,154,9,11,SBS_VERT - PUSHBUTTON "Start",IDC_BT_START,315,151,48,17 - PUSHBUTTON "Stop",IDC_BT_STOP,315,170,48,17 -END - -IDD_CARDID_DIALOG DIALOGEX 0, 0, 170, 89 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "Card ID" -FONT 8, "MS Shell Dlg", 400, 0, 0x1 -BEGIN - COMBOBOX IDC_COMBO_CARDID,75,17,71,126,CBS_DROPDOWN | WS_VSCROLL | WS_TABSTOP - LTEXT "Card Number",IDC_STATIC_01,21,18,46,12 - PUSHBUTTON "OK",IDOK,22,50,58,19 - PUSHBUTTON "CANCEL",IDCANCEL,86,50,58,19 -END - - -///////////////////////////////////////////////////////////////////////////// -// -// Version -// - -VS_VERSION_INFO VERSIONINFO - FILEVERSION 1,0,0,1 - PRODUCTVERSION 1,0,0,1 - FILEFLAGSMASK 0x3fL -#ifdef _DEBUG - FILEFLAGS 0x1L -#else - FILEFLAGS 0x0L -#endif - FILEOS 0x4L - FILETYPE 0x1L - FILESUBTYPE 0x0L -BEGIN - BLOCK "StringFileInfo" - BEGIN - BLOCK "040904e4" - BEGIN - VALUE "CompanyName", "TODO: " - VALUE "FileDescription", "TODO: " - VALUE "FileVersion", "1.0.0.1" - VALUE "InternalName", "7200Wav.exe" - VALUE "LegalCopyright", "TODO: (c) . All rights reserved." - VALUE "OriginalFilename", "7200Wav.exe" - VALUE "ProductName", "TODO: " - VALUE "ProductVersion", "1.0.0.1" - END - END - BLOCK "VarFileInfo" - BEGIN - VALUE "Translation", 0x409, 1252 - END -END - - -///////////////////////////////////////////////////////////////////////////// -// -// DESIGNINFO -// - -#ifdef APSTUDIO_INVOKED -GUIDELINES DESIGNINFO -BEGIN - IDD_ABOUTBOX, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 163 - TOPMARGIN, 7 - BOTTOMMARGIN, 55 - END - - IDD_MY7200WAV_DIALOG, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 369 - TOPMARGIN, 7 - BOTTOMMARGIN, 194 - END - - IDD_CARDID_DIALOG, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 163 - TOPMARGIN, 7 - BOTTOMMARGIN, 82 - END -END -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog Info -// - -IDD_CARDID_DIALOG DLGINIT -BEGIN - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0030, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0031, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0032, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0033, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0034, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0035, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0036, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0037, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0038, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0039, - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3031, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3131, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3231, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3331, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3431, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3531, "\000" - 0 -END - - -///////////////////////////////////////////////////////////////////////////// -// -// String Table -// - -STRINGTABLE -BEGIN - IDS_ABOUTBOX "&About 7200Wav..." -END - -#endif // English (U.S.) resources -///////////////////////////////////////////////////////////////////////////// - - - -#ifndef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 3 resource. -// -#define _AFX_NO_SPLITTER_RESOURCES -#define _AFX_NO_OLE_RESOURCES -#define _AFX_NO_TRACKER_RESOURCES -#define _AFX_NO_PROPERTY_RESOURCES - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -LANGUAGE 9, 1 -#pragma code_page(1252) -#include "res\My7200Wav.rc2" // non-Microsoft Visual C++ edited resources -#include "afxres.rc" // Standard components -#endif - -///////////////////////////////////////////////////////////////////////////// -#endif // not APSTUDIO_INVOKED - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7200/SDK7200HdSk/7200Wav.sln b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7200/SDK7200HdSk/7200Wav.sln deleted file mode 100644 index 6347527..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7200/SDK7200HdSk/7200Wav.sln +++ /dev/null @@ -1,20 +0,0 @@ - -Microsoft Visual Studio Solution File, Format Version 10.00 -# Visual Studio 2008 -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "7200Wav", "7200Wav.vcproj", "{EBDB6610-7CE5-413C-A150-121068BFDB22}" -EndProject -Global - GlobalSection(SolutionConfigurationPlatforms) = preSolution - Debug|x64 = Debug|x64 - Release|x64 = Release|x64 - EndGlobalSection - GlobalSection(ProjectConfigurationPlatforms) = postSolution - {EBDB6610-7CE5-413C-A150-121068BFDB22}.Debug|x64.ActiveCfg = Debug|x64 - {EBDB6610-7CE5-413C-A150-121068BFDB22}.Debug|x64.Build.0 = Debug|x64 - {EBDB6610-7CE5-413C-A150-121068BFDB22}.Release|x64.ActiveCfg = Release|x64 - {EBDB6610-7CE5-413C-A150-121068BFDB22}.Release|x64.Build.0 = Release|x64 - EndGlobalSection - GlobalSection(SolutionProperties) = preSolution - HideSolutionNode = FALSE - EndGlobalSection -EndGlobal diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7200/SDK7200HdSk/7200Wav.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7200/SDK7200HdSk/7200Wav.suo deleted file mode 100644 index 62867e2..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7200/SDK7200HdSk/7200Wav.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7200/SDK7200HdSk/7200Wav.vcproj b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7200/SDK7200HdSk/7200Wav.vcproj deleted file mode 100644 index a9959a8..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7200/SDK7200HdSk/7200Wav.vcproj +++ /dev/null @@ -1,286 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7200/SDK7200HdSk/7200WavDlg.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7200/SDK7200HdSk/7200WavDlg.cpp deleted file mode 100644 index cef7eb0..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7200/SDK7200HdSk/7200WavDlg.cpp +++ /dev/null @@ -1,533 +0,0 @@ - -// 7200WavDlg.cpp : implementation file -// - -#include "stdafx.h" -#include "7200Wav.h" -#include "7200WavDlg.h" -#include "math.h" - -#define fifo_loop_count 2048 - -#ifndef M_PI -#define M_PI 3.14159265359 -#endif - -#ifdef _DEBUG -#define new DEBUG_NEW -#endif - -CRect plotRect; - -#define PCI7200_DIO_STATUS_TIMER 1 - -#ifdef _SELF_OUTPUT_ -ULONG DoBuf[10240]; -BOOLEAN bOutStopped; -ULONG out_count; -#endif - -// CAboutDlg dialog used for App About - -class CAboutDlg : public CDialog -{ -public: - CAboutDlg(); - -// Dialog Data - enum { IDD = IDD_ABOUTBOX }; - - protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - -// Implementation -protected: - DECLARE_MESSAGE_MAP() -}; - -CAboutDlg::CAboutDlg() : CDialog(CAboutDlg::IDD) -{ -} - -void CAboutDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); -} - -BEGIN_MESSAGE_MAP(CAboutDlg, CDialog) -END_MESSAGE_MAP() - - -// C7200WavDlg dialog - - - - -C7200WavDlg::C7200WavDlg(I16 hCard, CWnd* pParent /*=NULL*/) - : CDialog(C7200WavDlg::IDD, pParent) -{ - m_hIcon = AfxGetApp()->LoadIcon(IDR_MAINFRAME); - - m_hCard = hCard; - - OnBrush = OffBrush = NULL; - - n_PlotWidth = -1; - n_PlotHeight = -1; - - min_val = 0x00; - max_val = 0xFFFFFFFF; - - m_fSampleRate = 100000.0; // 100KHz - m_dwDISamples = 10240; - m_pDIAddr = NULL; - - m_nTimer = -1; - -#ifdef _SELF_OUTPUT_ - for (int i=0; i<10240; i++) - DoBuf[i] = (U32)(sin((double)i/1024*M_PI)*0x7FFFFFFF)+0x80000000; -#endif - -} - -void C7200WavDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); -} - -BEGIN_MESSAGE_MAP(C7200WavDlg, CDialog) - ON_WM_SYSCOMMAND() - ON_WM_PAINT() - ON_WM_QUERYDRAGICON() - //}}AFX_MSG_MAP - ON_WM_DESTROY() - ON_BN_CLICKED(IDC_BT_START, &C7200WavDlg::OnStart) - ON_BN_CLICKED(IDC_BT_STOP, &C7200WavDlg::OnStop) - ON_WM_TIMER() - ON_WM_VSCROLL() -END_MESSAGE_MAP() - - -// C7200WavDlg message handlers - -BOOL C7200WavDlg::OnInitDialog() -{ - CString strTemp; - - CDialog::OnInitDialog(); - - // Add "About..." menu item to system menu. - - // IDM_ABOUTBOX must be in the system command range. - ASSERT((IDM_ABOUTBOX & 0xFFF0) == IDM_ABOUTBOX); - ASSERT(IDM_ABOUTBOX < 0xF000); - - CMenu* pSysMenu = GetSystemMenu(FALSE); - if (pSysMenu != NULL) - { - BOOL bNameValid; - CString strAboutMenu; - bNameValid = strAboutMenu.LoadString(IDS_ABOUTBOX); - ASSERT(bNameValid); - if (!strAboutMenu.IsEmpty()) - { - pSysMenu->AppendMenu(MF_SEPARATOR); - pSysMenu->AppendMenu(MF_STRING, IDM_ABOUTBOX, strAboutMenu); - } - } - - // Set the icon for this dialog. The framework does this automatically - // when the application's main window is not a dialog - SetIcon(m_hIcon, TRUE); // Set big icon - SetIcon(m_hIcon, FALSE); // Set small icon - - // TODO: Add extra initialization here - x_divider = 5; y_divider = 2; - - OnBrush = CreateSolidBrush( RGB(255,0,0) ); - OffBrush = CreateSolidBrush( RGB(125,0,0) ); - - RedPen.CreatePen( PS_SOLID, 1, RGB(255,0,0)); - GreenPen.CreatePen( PS_SOLID, 1, RGB(0,255,0)); - - if( n_PlotWidth == -1 && n_PlotHeight == -1 ) - { - ((CWnd*)GetDlgItem(IDC_STATIC_DRAW))->GetWindowRect(&plotRect); - ScreenToClient(&plotRect); - - n_PlotWidth = min( plotRect.Width(), 512); - n_PlotHeight = plotRect.Height() - 10; - } - - // set the default SampleRate - SetDlgItemInt( IDC_EDIT_SAMPLE_RATE, (UINT)(m_fSampleRate/1000) ); - - // Set the default DI Sample - SetDlgItemInt( IDC_EDIT_SAMPLE, (UINT)(m_dwDISamples) ); - - - return TRUE; // return TRUE unless you set the focus to a control -} - -void C7200WavDlg::OnSysCommand(UINT nID, LPARAM lParam) -{ - if ((nID & 0xFFF0) == IDM_ABOUTBOX) - { - CAboutDlg dlgAbout; - dlgAbout.DoModal(); - } - else - { - CDialog::OnSysCommand(nID, lParam); - } -} - -// If you add a minimize button to your dialog, you will need the code below -// to draw the icon. For MFC applications using the document/view model, -// this is automatically done for you by the framework. - -void C7200WavDlg::OnPaint() -{ - if (IsIconic()) - { - CPaintDC dc(this); // device context for painting - - SendMessage(WM_ICONERASEBKGND, reinterpret_cast(dc.GetSafeHdc()), 0); - - // Center icon in client rectangle - int cxIcon = GetSystemMetrics(SM_CXICON); - int cyIcon = GetSystemMetrics(SM_CYICON); - CRect rect; - GetClientRect(&rect); - int x = (rect.Width() - cxIcon + 1) / 2; - int y = (rect.Height() - cyIcon + 1) / 2; - - // Draw the icon - dc.DrawIcon(x, y, m_hIcon); - } - else - { - redraw_display_area(); - CDialog::OnPaint(); - } -} - -// The system calls this function to obtain the cursor to display while the user drags -// the minimized window. -HCURSOR C7200WavDlg::OnQueryDragIcon() -{ - return static_cast(m_hIcon); -} - - -void C7200WavDlg::OnDestroy() -{ - U32 count; - - CDialog::OnDestroy(); - - // TODO: Add your message handler code here - if( OnBrush != NULL ) - ::DeleteObject( OnBrush ); - - if( OffBrush != NULL ) - ::DeleteObject( OffBrush ); - - RedPen.DeleteObject(); - GreenPen.DeleteObject(); - - if( m_nTimer != -1 ) - { - KillTimer( m_nTimer ); - m_nTimer = -1; - } - - DI_AsyncClear( m_hCard, &count ); - -#ifdef _SELF_OUTPUT_ - DO_AsyncClear( m_hCard, &count ); -#endif - - if( m_pDIAddr != NULL ) - { - free( m_pDIAddr ); - m_pDIAddr = NULL; - } - -} - -void C7200WavDlg::OnStart() -{ - // TODO: Add your control notification handler code here - U32 dwMemSize, dwDISamples; - void* pMem; - I16 err; - CString strMsg; - - dwDISamples = GetDlgItemInt( IDC_EDIT_SAMPLE ); - - if( dwDISamples != m_dwDISamples ) - { - if( m_pDIAddr != NULL ) - { - free( m_pDIAddr ); - m_pDIAddr = NULL; - } - m_dwDISamples = dwDISamples; - } - - - if( m_pDIAddr == NULL ) - { - dwMemSize = m_dwDISamples * 4; - pMem = malloc( dwMemSize ); - if( pMem == NULL ) - { - AfxMessageBox( TEXT("Memory allocated failed") ); - return; - } - else - { - m_pDIAddr = (U32*) pMem; - memset( m_pDIAddr, '\0', dwMemSize ); - } - } - else - { - pMem = (void*)m_pDIAddr; - } - - if ((err=DI_7200_Config(m_hCard, TRIG_HANDSHAKE, DI_NOWAITING, DI_TRIG_FALLING, IREQ_RISING)) != NoError) - { - strMsg.Format( TEXT("DI_Config Error = %d") ,err ); - AfxMessageBox( strMsg ); - return; - } - - if ((err=DI_AsyncDblBufferMode (m_hCard, 0)) != NoError) - { - strMsg.Format( TEXT("DI_AsyncDblBufferMode Error = %d\n"), err ); - AfxMessageBox( strMsg ); - return; - } - -#ifdef _SELF_OUTPUT_ - DO_7200_Config(m_hCard, TRIG_HANDSHAKE, OREQ_ENABLE, OTRIG_LOW); - //DO_AsyncDblBufferMode( m_hCard, 0 ); -#endif - - // clear display area - redraw_display_area(); - - if ((err=DI_ContReadPort(m_hCard, 0, pMem, m_dwDISamples, m_fSampleRate, ASYNCH_OP)) != NoError) - { - strMsg.Format( TEXT("DI_ContReadPort Error = %d\n"), err); - AfxMessageBox( strMsg ); - return; - } - -#ifdef _SELF_OUTPUT_ - DO_ContWritePort(m_hCard, 0, DoBuf, m_dwDISamples+2, 1, (F64)100, ASYNCH_OP); -#endif - - - - if( m_nTimer == -1 ) - { - m_nTimer = SetTimer( PCI7200_DIO_STATUS_TIMER, 50, NULL ); - } - - GetDlgItem( IDC_BT_START )->EnableWindow( FALSE ); - GetDlgItem( IDC_BT_STOP )->EnableWindow( TRUE ); - -} - -void C7200WavDlg::OnStop() -{ - // TODO: Add your control notification handler code here - U32 count; - - DI_AsyncClear(m_hCard, &count); -#ifdef _SELF_OUTPUT_ - DO_AsyncClear(m_hCard, &count); -#endif - - GetDlgItem( IDC_BT_START )->EnableWindow( TRUE ); - GetDlgItem( IDC_BT_STOP )->EnableWindow( FALSE); -} - -void C7200WavDlg::OnTimer(UINT_PTR nIDEvent) -{ - // TODO: Add your message handler code here and/or call default - BOOLEAN bStopped; - U32 count; - I16 err; - - err = DI_AsyncCheck( m_hCard, &bStopped, &count ); - - if( bStopped ) - { - // stop timer - KillTimer( m_nTimer ); - m_nTimer = -1; - - // reset the Button status - GetDlgItem( IDC_BT_START )->EnableWindow( TRUE ); - GetDlgItem( IDC_BT_STOP )->EnableWindow( TRUE); - - err = DI_AsyncClear( m_hCard, &count ); -#ifdef _SELF_OUTPUT_ - err = DO_AsyncClear( m_hCard, &count ); -#endif - - display_buffer_data(m_pDIAddr); - } - - CDialog::OnTimer(nIDEvent); -} - - -void C7200WavDlg::display_buffer_data(unsigned long* pBuf) -{ - CClientDC dc_plot(this); - int nDraw_Bottom; - - int newY, oldY = -1; - int newX, oldX = -1; - U32 index, di_data; - - nDraw_Bottom = ( plotRect.bottom - 5 ); - dc_plot.SelectObject( &GreenPen ); - - for( index=0; index 1000000.0 ) m_fSampleRate = 1000000.0; - break; - case SB_LINEDOWN: - m_fSampleRate -= 50000; - if (m_fSampleRate < 50000 ) m_fSampleRate = 50000; - break; - } - - SetDlgItemInt( IDC_EDIT_SAMPLE_RATE, (UINT)(m_fSampleRate/1000) ); - - CDialog::OnVScroll(nSBCode, nPos, pScrollBar); -} diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7200/SDK7200HdSk/7200WavDlg.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7200/SDK7200HdSk/7200WavDlg.h deleted file mode 100644 index 38ba0c5..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7200/SDK7200HdSk/7200WavDlg.h +++ /dev/null @@ -1,59 +0,0 @@ - -// 7200WavDlg.h : header file -// -#include "Dask64.h" - -#pragma once - - -// C7200WavDlg dialog -class C7200WavDlg : public CDialog -{ -// Construction -public: - C7200WavDlg(I16 hCard, CWnd* pParent = NULL); // standard constructor - -// Dialog Data - enum { IDD = IDD_MY7200WAV_DIALOG }; - - protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - - -// Implementation -protected: - HICON m_hIcon; - I16 m_hCard; - UINT_PTR m_nTimer; - U32* m_pDIAddr; - U32 m_dwDISamples; - HBRUSH OnBrush; - HBRUSH OffBrush; - CPen RedPen; - CPen GreenPen; - DWORD max_val; - DWORD min_val; - int y_divider; - int x_divider; - int m_DisplayScale; - double m_fSampleRate; - - // Generated message map functions - virtual BOOL OnInitDialog(); - afx_msg void OnSysCommand(UINT nID, LPARAM lParam); - afx_msg void OnPaint(); - afx_msg HCURSOR OnQueryDragIcon(); - DECLARE_MESSAGE_MAP() -public: - afx_msg void OnDestroy(); - afx_msg void OnStart(); - afx_msg void OnStop(); - afx_msg void OnTimer(UINT_PTR nIDEvent); - void display_buffer_data(unsigned long* pBuf); - void redraw_display_area(void); - afx_msg void OnVScroll(UINT nSBCode, UINT nPos, CScrollBar* pScrollBar); - -private: - int n_PlotHeight; - int n_PlotWidth; -}; diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7200/SDK7200HdSk/CardIDDlg.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7200/SDK7200HdSk/CardIDDlg.cpp deleted file mode 100644 index 9916778..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7200/SDK7200HdSk/CardIDDlg.cpp +++ /dev/null @@ -1,67 +0,0 @@ -// CardIDDlg.cpp : implementation file -// - -#include "stdafx.h" -#include "7200Wav.h" -#include "CardIDDlg.h" - - -// CCardIDDlg dialog - -IMPLEMENT_DYNAMIC(CCardIDDlg, CDialog) - -CCardIDDlg::CCardIDDlg(int nCardIdx, CWnd* pParent /*=NULL*/) - : CDialog(CCardIDDlg::IDD, pParent) -{ - m_nCardIdx = nCardIdx; -} - -CCardIDDlg::~CCardIDDlg() -{ -} - -void CCardIDDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); - DDX_Control(pDX, IDC_COMBO_CARDID, m_cbCardID); -} - - -BEGIN_MESSAGE_MAP(CCardIDDlg, CDialog) -// ON_CBN_SELCHANGE(IDC_COMBO_CARDID, &CCardIDDlg::OnCbnSelchangeComboCardid) -ON_BN_CLICKED(IDOK, &CCardIDDlg::OnBnClickedOk) -//ON_WM_CTLCOLOR() -END_MESSAGE_MAP() - - -// CCardIDDlg message handlers - - -void CCardIDDlg::OnBnClickedOk() -{ - // TODO: Add your control notification handler code here - -// UpdateData(TRUE); - m_nCardIdx = m_cbCardID.GetCurSel(); - - OnOK(); -} - -BOOL CCardIDDlg::OnInitDialog() -{ - CDialog::OnInitDialog(); - - // TODO: Add extra initialization here - m_cbCardID.SetCurSel( m_nCardIdx ); - - return TRUE; // return TRUE unless you set the focus to a control - // EXCEPTION: OCX Property Pages should return FALSE -} - -// the function to get the selected CardID -int CCardIDDlg::GetCardID(void) -{ - return m_nCardIdx; -} - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7200/SDK7200HdSk/CardIDDlg.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7200/SDK7200HdSk/CardIDDlg.h deleted file mode 100644 index 54628ea..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7200/SDK7200HdSk/CardIDDlg.h +++ /dev/null @@ -1,33 +0,0 @@ -#pragma once -#include "afxwin.h" - - -// CCardIDDlg dialog - -class CCardIDDlg : public CDialog -{ - DECLARE_DYNAMIC(CCardIDDlg) - -public: - CCardIDDlg(int nCardIdx, CWnd* pParent = NULL); // standard constructor - virtual ~CCardIDDlg(); - -// Dialog Data - enum { IDD = IDD_CARDID_DIALOG }; - -protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - - DECLARE_MESSAGE_MAP() -public: -// afx_msg void OnCbnSelchangeComboCardid(); - afx_msg void OnBnClickedOk(); - // the setting of CardID ComboBox - int m_nCardIdx; - virtual BOOL OnInitDialog(); - // the control of CardID ComboBox - CComboBox m_cbCardID; - // the function to get the selected CardID - int GetCardID(void); -// afx_msg HBRUSH OnCtlColor(CDC* pDC, CWnd* pWnd, UINT nCtlColor); -}; diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7200/SDK7200HdSk/ReadMe.txt b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7200/SDK7200HdSk/ReadMe.txt deleted file mode 100644 index 85d013f..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7200/SDK7200HdSk/ReadMe.txt +++ /dev/null @@ -1,93 +0,0 @@ -================================================================================ - MICROSOFT FOUNDATION CLASS LIBRARY : 7200Wav Project Overview -=============================================================================== - -The application wizard has created this 7200Wav application for -you. This application not only demonstrates the basics of using the Microsoft -Foundation Classes but is also a starting point for writing your application. - -This file contains a summary of what you will find in each of the files that -make up your 7200Wav application. - -7200Wav.vcproj - This is the main project file for VC++ projects generated using an application wizard. - It contains information about the version of Visual C++ that generated the file, and - information about the platforms, configurations, and project features selected with the - application wizard. - -7200Wav.h - This is the main header file for the application. It includes other - project specific headers (including Resource.h) and declares the - C7200WavApp application class. - -7200Wav.cpp - This is the main application source file that contains the application - class C7200WavApp. - -7200Wav.rc - This is a listing of all of the Microsoft Windows resources that the - program uses. It includes the icons, bitmaps, and cursors that are stored - in the RES subdirectory. This file can be directly edited in Microsoft - Visual C++. Your project resources are in 1033. - -res\7200Wav.ico - This is an icon file, which is used as the application's icon. This - icon is included by the main resource file 7200Wav.rc. - -res\My7200Wav.rc2 - This file contains resources that are not edited by Microsoft - Visual C++. You should place all resources not editable by - the resource editor in this file. - - -///////////////////////////////////////////////////////////////////////////// - -The application wizard creates one dialog class: - -7200WavDlg.h, 7200WavDlg.cpp - the dialog - These files contain your C7200WavDlg class. This class defines - the behavior of your application's main dialog. The dialog's template is - in 7200Wav.rc, which can be edited in Microsoft Visual C++. - - -///////////////////////////////////////////////////////////////////////////// - -Other Features: - -ActiveX Controls - The application includes support to use ActiveX controls. - -///////////////////////////////////////////////////////////////////////////// - -Other standard files: - -StdAfx.h, StdAfx.cpp - These files are used to build a precompiled header (PCH) file - named 7200Wav.pch and a precompiled types file named StdAfx.obj. - -Resource.h - This is the standard header file, which defines new resource IDs. - Microsoft Visual C++ reads and updates this file. - -7200Wav.manifest - Application manifest files are used by Windows XP to describe an applications - dependency on specific versions of Side-by-Side assemblies. The loader uses this - information to load the appropriate assembly from the assembly cache or private - from the application. The Application manifest maybe included for redistribution - as an external .manifest file that is installed in the same folder as the application - executable or it may be included in the executable in the form of a resource. -///////////////////////////////////////////////////////////////////////////// - -Other notes: - -The application wizard uses "TODO:" to indicate parts of the source code you -should add to or customize. - -If your application uses MFC in a shared DLL, you will need -to redistribute the MFC DLLs. If your application is in a language -other than the operating system's locale, you will also have to -redistribute the corresponding localized resources MFC90XXX.DLL. -For more information on both of these topics, please see the section on -redistributing Visual C++ applications in MSDN documentation. - -///////////////////////////////////////////////////////////////////////////// diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7200/SDK7200HdSk/res/7200Wav.ico b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7200/SDK7200HdSk/res/7200Wav.ico deleted file mode 100644 index d56fbcd..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7200/SDK7200HdSk/res/7200Wav.ico and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7200/SDK7200HdSk/res/My7200Wav.rc2 b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7200/SDK7200HdSk/res/My7200Wav.rc2 deleted file mode 100644 index 440d4a5..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7200/SDK7200HdSk/res/My7200Wav.rc2 +++ /dev/null @@ -1,13 +0,0 @@ -// -// My7200Wav.RC2 - resources Microsoft Visual C++ does not edit directly -// - -#ifdef APSTUDIO_INVOKED -#error this file is not editable by Microsoft Visual C++ -#endif //APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// Add manually edited resources here... - -///////////////////////////////////////////////////////////////////////////// diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7200/SDK7200HdSk/resource.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7200/SDK7200HdSk/resource.h deleted file mode 100644 index 69bd550..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7200/SDK7200HdSk/resource.h +++ /dev/null @@ -1,29 +0,0 @@ -//{{NO_DEPENDENCIES}} -// Microsoft Visual C++ generated include file. -// Used by 7200Wav.rc -// -#define IDM_ABOUTBOX 0x0010 -#define IDD_ABOUTBOX 100 -#define IDS_ABOUTBOX 101 -#define IDD_MY7200WAV_DIALOG 102 -#define IDR_MAINFRAME 128 -#define IDD_CARDID_DIALOG 129 -#define IDC_STATIC_DRAW 1000 -#define IDC_EDIT_SAMPLE 1001 -#define IDC_EDIT_SAMPLE_RATE 1003 -#define IDC_SCROLLBAR_RATE 1006 -#define IDC_COMBO_CARDID 1007 -#define IDC_BT_START 1008 -#define IDC_BT_STOP 1009 -#define IDC_STATIC_01 1014 - -// Next default values for new objects -// -#ifdef APSTUDIO_INVOKED -#ifndef APSTUDIO_READONLY_SYMBOLS -#define _APS_NEXT_RESOURCE_VALUE 131 -#define _APS_NEXT_COMMAND_VALUE 32771 -#define _APS_NEXT_CONTROL_VALUE 1000 -#define _APS_NEXT_SYMED_VALUE 101 -#endif -#endif diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7200/SDK7200HdSk/stdafx.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7200/SDK7200HdSk/stdafx.cpp deleted file mode 100644 index b5184d9..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7200/SDK7200HdSk/stdafx.cpp +++ /dev/null @@ -1,8 +0,0 @@ - -// stdafx.cpp : source file that includes just the standard includes -// 7200Wav.pch will be the pre-compiled header -// stdafx.obj will contain the pre-compiled type information - -#include "stdafx.h" - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7200/SDK7200HdSk/stdafx.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7200/SDK7200HdSk/stdafx.h deleted file mode 100644 index 12123e2..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7200/SDK7200HdSk/stdafx.h +++ /dev/null @@ -1,60 +0,0 @@ - -// stdafx.h : include file for standard system include files, -// or project specific include files that are used frequently, -// but are changed infrequently - -#pragma once - -#ifndef _SECURE_ATL -#define _SECURE_ATL 1 -#endif - -#ifndef VC_EXTRALEAN -#define VC_EXTRALEAN // Exclude rarely-used stuff from Windows headers -#endif - -#include "targetver.h" - -#define _ATL_CSTRING_EXPLICIT_CONSTRUCTORS // some CString constructors will be explicit - -// turns off MFC's hiding of some common and often safely ignored warning messages -#define _AFX_ALL_WARNINGS - -#include // MFC core and standard components -#include // MFC extensions - - -#include // MFC Automation classes - - - -#ifndef _AFX_NO_OLE_SUPPORT -#include // MFC support for Internet Explorer 4 Common Controls -#endif -#ifndef _AFX_NO_AFXCMN_SUPPORT -#include // MFC support for Windows Common Controls -#endif // _AFX_NO_AFXCMN_SUPPORT - -#include // MFC support for ribbons and control bars - - - - - - - - - -#ifdef _UNICODE -#if defined _M_IX86 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='x86' publicKeyToken='6595b64144ccf1df' language='*'\"") -#elif defined _M_IA64 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='ia64' publicKeyToken='6595b64144ccf1df' language='*'\"") -#elif defined _M_X64 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='amd64' publicKeyToken='6595b64144ccf1df' language='*'\"") -#else -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='*' publicKeyToken='6595b64144ccf1df' language='*'\"") -#endif -#endif - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7200/SDK7200HdSk/targetver.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7200/SDK7200HdSk/targetver.h deleted file mode 100644 index 11730d5..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7200/SDK7200HdSk/targetver.h +++ /dev/null @@ -1,26 +0,0 @@ - -#pragma once - -// The following macros define the minimum required platform. The minimum required platform -// is the earliest version of Windows, Internet Explorer etc. that has the necessary features to run -// your application. The macros work by enabling all features available on platform versions up to and -// including the version specified. - -// Modify the following defines if you have to target a platform prior to the ones specified below. -// Refer to MSDN for the latest info on corresponding values for different platforms. -#ifndef WINVER // Specifies that the minimum required platform is Windows Vista. -#define WINVER 0x0600 // Change this to the appropriate value to target other versions of Windows. -#endif - -#ifndef _WIN32_WINNT // Specifies that the minimum required platform is Windows Vista. -#define _WIN32_WINNT 0x0600 // Change this to the appropriate value to target other versions of Windows. -#endif - -#ifndef _WIN32_WINDOWS // Specifies that the minimum required platform is Windows 98. -#define _WIN32_WINDOWS 0x0410 // Change this to the appropriate value to target Windows Me or later. -#endif - -#ifndef _WIN32_IE // Specifies that the minimum required platform is Internet Explorer 7.0. -#define _WIN32_IE 0x0700 // Change this to the appropriate value to target other versions of IE. -#endif - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7200/SDK7200Wave/7200Wav.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7200/SDK7200Wave/7200Wav.cpp deleted file mode 100644 index 0637fbc..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7200/SDK7200Wave/7200Wav.cpp +++ /dev/null @@ -1,110 +0,0 @@ - -// 7200Wav.cpp : Defines the class behaviors for the application. -// - -#include "stdafx.h" -#include "7200Wav.h" -#include "7200WavDlg.h" -#include "CardIDDlg.h" - -#ifdef _DEBUG -#define new DEBUG_NEW -#endif - - -// C7200WavApp - -BEGIN_MESSAGE_MAP(C7200WavApp, CWinAppEx) - ON_COMMAND(ID_HELP, &CWinApp::OnHelp) -END_MESSAGE_MAP() - - -// C7200WavApp construction - -C7200WavApp::C7200WavApp() -{ - // TODO: add construction code here, - // Place all significant initialization in InitInstance -} - - -// The one and only C7200WavApp object - -C7200WavApp theApp; - - -// C7200WavApp initialization - -BOOL C7200WavApp::InitInstance() -{ - int nCardID = 0; - I16 hCard; - CString strTemp; - INT_PTR nResponse; - - // InitCommonControlsEx() is required on Windows XP if an application - // manifest specifies use of ComCtl32.dll version 6 or later to enable - // visual styles. Otherwise, any window creation will fail. - INITCOMMONCONTROLSEX InitCtrls; - InitCtrls.dwSize = sizeof(InitCtrls); - // Set this to include all the common control classes you want to use - // in your application. - InitCtrls.dwICC = ICC_WIN95_CLASSES; - InitCommonControlsEx(&InitCtrls); - - CWinAppEx::InitInstance(); - - AfxEnableControlContainer(); - - // Standard initialization - // If you are not using these features and wish to reduce the size - // of your final executable, you should remove from the following - // the specific initialization routines you do not need - // Change the registry key under which our settings are stored - // TODO: You should modify this string to be something appropriate - // such as the name of your company or organization - SetRegistryKey(_T("Local AppWizard-Generated Applications")); - - CCardIDDlg CardDlg( nCardID ); - - nResponse = CardDlg.DoModal(); - if (nResponse == IDOK) - { - nCardID = CardDlg.GetCardID(); - - if ((hCard=Register_Card(PCI_7200, nCardID)) < 0) - { - strTemp.Format( TEXT("Register_Card Error = %d"), hCard); - AfxMessageBox( strTemp ); - } - else - { - C7200WavDlg dlg(hCard); - m_pMainWnd = &dlg; - nResponse = dlg.DoModal(); - if (nResponse == IDOK) - { - // TODO: Place code here to handle when the dialog is - // dismissed with OK - } - else if (nResponse == IDCANCEL) - { - // TODO: Place code here to handle when the dialog is - // dismissed with Cancel - } - - if (hCard >= 0) Release_Card(hCard); - } - - } - else if (nResponse == IDCANCEL) - { - // TODO: Place code here to handle when the dialog is - // dismissed with Cancel - } - - - // Since the dialog has been closed, return FALSE so that we exit the - // application, rather than start the application's message pump. - return FALSE; -} diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7200/SDK7200Wave/7200Wav.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7200/SDK7200Wave/7200Wav.h deleted file mode 100644 index dc9b226..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7200/SDK7200Wave/7200Wav.h +++ /dev/null @@ -1,32 +0,0 @@ - -// 7200Wav.h : main header file for the PROJECT_NAME application -// - -#pragma once - -#ifndef __AFXWIN_H__ - #error "include 'stdafx.h' before including this file for PCH" -#endif - -#include "resource.h" // main symbols - - -// C7200WavApp: -// See 7200Wav.cpp for the implementation of this class -// - -class C7200WavApp : public CWinAppEx -{ -public: - C7200WavApp(); - -// Overrides - public: - virtual BOOL InitInstance(); - -// Implementation - - DECLARE_MESSAGE_MAP() -}; - -extern C7200WavApp theApp; \ No newline at end of file diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7200/SDK7200Wave/7200Wav.rc b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7200/SDK7200Wave/7200Wav.rc deleted file mode 100644 index a7c3f5a..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7200/SDK7200Wave/7200Wav.rc +++ /dev/null @@ -1,283 +0,0 @@ -// Microsoft Visual C++ generated resource script. -// -#include "resource.h" - -#define APSTUDIO_READONLY_SYMBOLS -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 2 resource. -// -#ifndef APSTUDIO_INVOKED -#include "targetver.h" -#endif -#include "afxres.h" - -///////////////////////////////////////////////////////////////////////////// -#undef APSTUDIO_READONLY_SYMBOLS - -///////////////////////////////////////////////////////////////////////////// -// Chinese (Taiwan) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_CHT) -#ifdef _WIN32 -LANGUAGE LANG_CHINESE, SUBLANG_CHINESE_TRADITIONAL -#pragma code_page(950) -#endif //_WIN32 - -#ifdef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// TEXTINCLUDE -// - -1 TEXTINCLUDE -BEGIN - "resource.h\0" -END - -2 TEXTINCLUDE -BEGIN - "#ifndef APSTUDIO_INVOKED\r\n" - "#include ""targetver.h""\r\n" - "#endif\r\n" - "#include ""afxres.h""\r\n" - "\0" -END - -3 TEXTINCLUDE -BEGIN - "#define _AFX_NO_SPLITTER_RESOURCES\r\n" - "#define _AFX_NO_OLE_RESOURCES\r\n" - "#define _AFX_NO_TRACKER_RESOURCES\r\n" - "#define _AFX_NO_PROPERTY_RESOURCES\r\n" - "\r\n" - "#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)\r\n" - "LANGUAGE 9, 1\r\n" - "#pragma code_page(1252)\r\n" - "#include ""res\\My7200Wav.rc2"" // non-Microsoft Visual C++ edited resources\r\n" - "#include ""afxres.rc"" // Standard components\r\n" - "#endif\r\n" - "\0" -END - -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// Icon -// - -// Icon with lowest ID value placed first to ensure application icon -// remains consistent on all systems. -IDR_MAINFRAME ICON "res\\7200Wav.ico" -#endif // Chinese (Taiwan) resources -///////////////////////////////////////////////////////////////////////////// - - -///////////////////////////////////////////////////////////////////////////// -// English (U.S.) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -#ifdef _WIN32 -LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US -#pragma code_page(1252) -#endif //_WIN32 - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog -// - -IDD_ABOUTBOX DIALOGEX 0, 0, 170, 62 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "About 7200Wav" -FONT 8, "MS Shell Dlg", 0, 0, 0x1 -BEGIN - ICON IDR_MAINFRAME,IDC_STATIC,14,14,21,20 - LTEXT "7200Wav, Version 1.0",IDC_STATIC,42,14,114,8,SS_NOPREFIX - LTEXT "Copyright (C) 2010",IDC_STATIC,42,26,114,8 - DEFPUSHBUTTON "OK",IDOK,113,41,50,14,WS_GROUP -END - -IDD_MY7200WAV_DIALOG DIALOGEX 0, 0, 376, 201 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU -EXSTYLE WS_EX_APPWINDOW -CAPTION "PCI-7200 DMA" -FONT 8, "MS Shell Dlg", 0, 0, 0x1 -BEGIN - GROUPBOX "",IDC_STATIC_DRAW,71,7,293,138,NOT WS_VISIBLE - EDITTEXT IDC_EDIT_SAMPLE,135,153,51,12,ES_AUTOHSCROLL - LTEXT "DI Samples :",IDC_STATIC,86,154,45,9 - EDITTEXT IDC_EDIT_SAMPLE_RATE,249,154,30,12,ES_AUTOHSCROLL | ES_READONLY - LTEXT "Sample Rate :",IDC_STATIC,196,154,49,9 - LTEXT "KHz",IDC_STATIC,292,156,15,9 - SCROLLBAR IDC_SCROLLBAR_RATE,280,154,9,11,SBS_VERT - PUSHBUTTON "Start",IDC_BT_START,315,151,48,17 - PUSHBUTTON "Stop",IDC_BT_STOP,315,170,48,17 -END - -IDD_CARDID_DIALOG DIALOGEX 0, 0, 170, 89 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "Card ID" -FONT 8, "MS Shell Dlg", 400, 0, 0x1 -BEGIN - COMBOBOX IDC_COMBO_CARDID,75,17,71,126,CBS_DROPDOWN | WS_VSCROLL | WS_TABSTOP - LTEXT "Card Number",IDC_STATIC_01,21,18,46,12 - PUSHBUTTON "OK",IDOK,22,50,58,19 - PUSHBUTTON "CANCEL",IDCANCEL,86,50,58,19 -END - - -///////////////////////////////////////////////////////////////////////////// -// -// Version -// - -VS_VERSION_INFO VERSIONINFO - FILEVERSION 1,0,0,1 - PRODUCTVERSION 1,0,0,1 - FILEFLAGSMASK 0x3fL -#ifdef _DEBUG - FILEFLAGS 0x1L -#else - FILEFLAGS 0x0L -#endif - FILEOS 0x4L - FILETYPE 0x1L - FILESUBTYPE 0x0L -BEGIN - BLOCK "StringFileInfo" - BEGIN - BLOCK "040904e4" - BEGIN - VALUE "CompanyName", "TODO: " - VALUE "FileDescription", "TODO: " - VALUE "FileVersion", "1.0.0.1" - VALUE "InternalName", "7200Wav.exe" - VALUE "LegalCopyright", "TODO: (c) . All rights reserved." - VALUE "OriginalFilename", "7200Wav.exe" - VALUE "ProductName", "TODO: " - VALUE "ProductVersion", "1.0.0.1" - END - END - BLOCK "VarFileInfo" - BEGIN - VALUE "Translation", 0x409, 1252 - END -END - - -///////////////////////////////////////////////////////////////////////////// -// -// DESIGNINFO -// - -#ifdef APSTUDIO_INVOKED -GUIDELINES DESIGNINFO -BEGIN - IDD_ABOUTBOX, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 163 - TOPMARGIN, 7 - BOTTOMMARGIN, 55 - END - - IDD_MY7200WAV_DIALOG, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 369 - TOPMARGIN, 7 - BOTTOMMARGIN, 194 - END - - IDD_CARDID_DIALOG, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 163 - TOPMARGIN, 7 - BOTTOMMARGIN, 82 - END -END -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog Info -// - -IDD_CARDID_DIALOG DLGINIT -BEGIN - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0030, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0031, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0032, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0033, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0034, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0035, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0036, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0037, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0038, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0039, - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3031, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3131, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3231, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3331, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3431, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3531, "\000" - 0 -END - - -///////////////////////////////////////////////////////////////////////////// -// -// String Table -// - -STRINGTABLE -BEGIN - IDS_ABOUTBOX "&About 7200Wav..." -END - -#endif // English (U.S.) resources -///////////////////////////////////////////////////////////////////////////// - - - -#ifndef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 3 resource. -// -#define _AFX_NO_SPLITTER_RESOURCES -#define _AFX_NO_OLE_RESOURCES -#define _AFX_NO_TRACKER_RESOURCES -#define _AFX_NO_PROPERTY_RESOURCES - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -LANGUAGE 9, 1 -#pragma code_page(1252) -#include "res\My7200Wav.rc2" // non-Microsoft Visual C++ edited resources -#include "afxres.rc" // Standard components -#endif - -///////////////////////////////////////////////////////////////////////////// -#endif // not APSTUDIO_INVOKED - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7200/SDK7200Wave/7200Wav.sln b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7200/SDK7200Wave/7200Wav.sln deleted file mode 100644 index 6347527..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7200/SDK7200Wave/7200Wav.sln +++ /dev/null @@ -1,20 +0,0 @@ - -Microsoft Visual Studio Solution File, Format Version 10.00 -# Visual Studio 2008 -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "7200Wav", "7200Wav.vcproj", "{EBDB6610-7CE5-413C-A150-121068BFDB22}" -EndProject -Global - GlobalSection(SolutionConfigurationPlatforms) = preSolution - Debug|x64 = Debug|x64 - Release|x64 = Release|x64 - EndGlobalSection - GlobalSection(ProjectConfigurationPlatforms) = postSolution - {EBDB6610-7CE5-413C-A150-121068BFDB22}.Debug|x64.ActiveCfg = Debug|x64 - {EBDB6610-7CE5-413C-A150-121068BFDB22}.Debug|x64.Build.0 = Debug|x64 - {EBDB6610-7CE5-413C-A150-121068BFDB22}.Release|x64.ActiveCfg = Release|x64 - {EBDB6610-7CE5-413C-A150-121068BFDB22}.Release|x64.Build.0 = Release|x64 - EndGlobalSection - GlobalSection(SolutionProperties) = preSolution - HideSolutionNode = FALSE - EndGlobalSection -EndGlobal diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7200/SDK7200Wave/7200Wav.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7200/SDK7200Wave/7200Wav.suo deleted file mode 100644 index 505dcd1..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7200/SDK7200Wave/7200Wav.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7200/SDK7200Wave/7200Wav.vcproj b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7200/SDK7200Wave/7200Wav.vcproj deleted file mode 100644 index a9959a8..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7200/SDK7200Wave/7200Wav.vcproj +++ /dev/null @@ -1,286 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7200/SDK7200Wave/7200WavDlg.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7200/SDK7200Wave/7200WavDlg.cpp deleted file mode 100644 index e0edb48..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7200/SDK7200Wave/7200WavDlg.cpp +++ /dev/null @@ -1,528 +0,0 @@ - -// 7200WavDlg.cpp : implementation file -// - -#include "stdafx.h" -#include "7200Wav.h" -#include "7200WavDlg.h" -#include "math.h" - -#define fifo_loop_count 2048 - -#ifndef M_PI -#define M_PI 3.14159265359 -#endif - -#ifdef _DEBUG -#define new DEBUG_NEW -#endif - -CRect plotRect; - -#define PCI7200_DIO_STATUS_TIMER 1 - -#ifdef _SELF_OUTPUT_ -ULONG DoBuf[10240]; -BOOLEAN bOutStopped; -ULONG out_count; -#endif - -// CAboutDlg dialog used for App About - -class CAboutDlg : public CDialog -{ -public: - CAboutDlg(); - -// Dialog Data - enum { IDD = IDD_ABOUTBOX }; - - protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - -// Implementation -protected: - DECLARE_MESSAGE_MAP() -}; - -CAboutDlg::CAboutDlg() : CDialog(CAboutDlg::IDD) -{ -} - -void CAboutDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); -} - -BEGIN_MESSAGE_MAP(CAboutDlg, CDialog) -END_MESSAGE_MAP() - - -// C7200WavDlg dialog - - - - -C7200WavDlg::C7200WavDlg(I16 hCard, CWnd* pParent /*=NULL*/) - : CDialog(C7200WavDlg::IDD, pParent) -{ - m_hIcon = AfxGetApp()->LoadIcon(IDR_MAINFRAME); - - m_hCard = hCard; - - OnBrush = OffBrush = NULL; - - n_PlotWidth = -1; - n_PlotHeight = -1; - - min_val = 0x00; - max_val = 0xFFFFFFFF; - - m_fSampleRate = 100000.0; // 100KHz - m_dwDISamples = 10240; - m_pDIAddr = NULL; - - m_nTimer = -1; - -#ifdef _SELF_OUTPUT_ - for (int i=0; i<10240; i++) -// DoBuf[i] = (U32)(sin((double)i/128)*0x7fffffff)+0x80000000; - DoBuf[i] = (U32)(sin((double)i/1024*M_PI)*0x7FFFFFFF)+0x80000000; -#endif - -} - -void C7200WavDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); -} - -BEGIN_MESSAGE_MAP(C7200WavDlg, CDialog) - ON_WM_SYSCOMMAND() - ON_WM_PAINT() - ON_WM_QUERYDRAGICON() - //}}AFX_MSG_MAP - ON_WM_DESTROY() - ON_BN_CLICKED(IDC_BT_START, &C7200WavDlg::OnStart) - ON_BN_CLICKED(IDC_BT_STOP, &C7200WavDlg::OnStop) - ON_WM_TIMER() - ON_WM_VSCROLL() -END_MESSAGE_MAP() - - -// C7200WavDlg message handlers - -BOOL C7200WavDlg::OnInitDialog() -{ - CString strTemp; - - CDialog::OnInitDialog(); - - // Add "About..." menu item to system menu. - - // IDM_ABOUTBOX must be in the system command range. - ASSERT((IDM_ABOUTBOX & 0xFFF0) == IDM_ABOUTBOX); - ASSERT(IDM_ABOUTBOX < 0xF000); - - CMenu* pSysMenu = GetSystemMenu(FALSE); - if (pSysMenu != NULL) - { - BOOL bNameValid; - CString strAboutMenu; - bNameValid = strAboutMenu.LoadString(IDS_ABOUTBOX); - ASSERT(bNameValid); - if (!strAboutMenu.IsEmpty()) - { - pSysMenu->AppendMenu(MF_SEPARATOR); - pSysMenu->AppendMenu(MF_STRING, IDM_ABOUTBOX, strAboutMenu); - } - } - - // Set the icon for this dialog. The framework does this automatically - // when the application's main window is not a dialog - SetIcon(m_hIcon, TRUE); // Set big icon - SetIcon(m_hIcon, FALSE); // Set small icon - - // TODO: Add extra initialization here - x_divider = 5; y_divider = 2; - - OnBrush = CreateSolidBrush( RGB(255,0,0) ); - OffBrush = CreateSolidBrush( RGB(125,0,0) ); - - RedPen.CreatePen( PS_SOLID, 1, RGB(255,0,0)); - GreenPen.CreatePen( PS_SOLID, 1, RGB(0,255,0)); - - if( n_PlotWidth == -1 && n_PlotHeight == -1 ) - { - ((CWnd*)GetDlgItem(IDC_STATIC_DRAW))->GetWindowRect(&plotRect); - ScreenToClient(&plotRect); - - n_PlotWidth = min( plotRect.Width(), 512); - n_PlotHeight = plotRect.Height() - 10; - } - - // set the default SampleRate - SetDlgItemInt( IDC_EDIT_SAMPLE_RATE, (UINT)(m_fSampleRate/1000) ); - - // Set the default DI Sample - SetDlgItemInt( IDC_EDIT_SAMPLE, (UINT)(m_dwDISamples) ); - - - return TRUE; // return TRUE unless you set the focus to a control -} - -void C7200WavDlg::OnSysCommand(UINT nID, LPARAM lParam) -{ - if ((nID & 0xFFF0) == IDM_ABOUTBOX) - { - CAboutDlg dlgAbout; - dlgAbout.DoModal(); - } - else - { - CDialog::OnSysCommand(nID, lParam); - } -} - -// If you add a minimize button to your dialog, you will need the code below -// to draw the icon. For MFC applications using the document/view model, -// this is automatically done for you by the framework. - -void C7200WavDlg::OnPaint() -{ - if (IsIconic()) - { - CPaintDC dc(this); // device context for painting - - SendMessage(WM_ICONERASEBKGND, reinterpret_cast(dc.GetSafeHdc()), 0); - - // Center icon in client rectangle - int cxIcon = GetSystemMetrics(SM_CXICON); - int cyIcon = GetSystemMetrics(SM_CYICON); - CRect rect; - GetClientRect(&rect); - int x = (rect.Width() - cxIcon + 1) / 2; - int y = (rect.Height() - cyIcon + 1) / 2; - - // Draw the icon - dc.DrawIcon(x, y, m_hIcon); - } - else - { - redraw_display_area(); - CDialog::OnPaint(); - } -} - -// The system calls this function to obtain the cursor to display while the user drags -// the minimized window. -HCURSOR C7200WavDlg::OnQueryDragIcon() -{ - return static_cast(m_hIcon); -} - - -void C7200WavDlg::OnDestroy() -{ - U32 count; - - CDialog::OnDestroy(); - - // TODO: Add your message handler code here - if( OnBrush != NULL ) - ::DeleteObject( OnBrush ); - - if( OffBrush != NULL ) - ::DeleteObject( OffBrush ); - - RedPen.DeleteObject(); - GreenPen.DeleteObject(); - - if( m_nTimer != -1 ) - { - KillTimer( m_nTimer ); - m_nTimer = -1; - } - - if( m_pDIAddr != NULL ) - { - free( m_pDIAddr ); - m_pDIAddr = NULL; - } - - DI_AsyncClear( m_hCard, &count ); - -#ifdef _SELF_OUTPUT_ - DO_AsyncClear( m_hCard, &count ); -#endif - - -} - -void C7200WavDlg::OnStart() -{ - // TODO: Add your control notification handler code here - U32 dwMemSize, dwDISamples; - void* pMem; - I16 err; - CString strMsg; - - dwDISamples = GetDlgItemInt( IDC_EDIT_SAMPLE ); - - if( dwDISamples != m_dwDISamples ) - { - if( m_pDIAddr != NULL ) - { - free( m_pDIAddr ); - m_pDIAddr = NULL; - } - m_dwDISamples = dwDISamples; - } - - - dwMemSize = m_dwDISamples * 4; - pMem = malloc( dwMemSize ); - if( pMem == NULL ) - { - AfxMessageBox( TEXT("Memory allocated failed") ); - return; - } - else - { - m_pDIAddr = (U32*) pMem; - memset( m_pDIAddr, '\0', dwMemSize ); - } - - -#ifdef _SELF_OUTPUT_ - DO_7200_Config(m_hCard, TRIG_INT_PACER, OREQ_DISABLE, OTRIG_LOW); - //DO_AsyncDblBufferMode( m_hCard, 0 ); -#endif - - if ((err=DI_7200_Config(m_hCard, TRIG_INT_PACER, DI_NOWAITING, DI_TRIG_FALLING, IREQ_FALLING)) != NoError) - { - strMsg.Format( TEXT("DI_Config Error = %d") ,err ); - AfxMessageBox( strMsg ); - return; - } - - if ((err=DI_AsyncDblBufferMode (m_hCard, 0)) != NoError) - { - strMsg.Format( TEXT("DI_AsyncDblBufferMode Error = %d\n"), err ); - AfxMessageBox( strMsg ); - return; - } - - - // clear display area - redraw_display_area(); - -#ifdef _SELF_OUTPUT_ - DO_ContWritePort(m_hCard, 0, DoBuf, 10240, 0, m_fSampleRate, ASYNCH_OP); -#endif - - if ((err=DI_ContReadPort(m_hCard, 0, pMem, m_dwDISamples, m_fSampleRate, ASYNCH_OP)) != NoError) - { - strMsg.Format( TEXT("DI_ContReadPort Error = %d\n"), err); - AfxMessageBox( strMsg ); - return; - } - - if( m_nTimer == -1 ) - { - m_nTimer = SetTimer( PCI7200_DIO_STATUS_TIMER, 50, NULL ); - } - - GetDlgItem( IDC_BT_START )->EnableWindow( FALSE ); - GetDlgItem( IDC_BT_STOP )->EnableWindow( TRUE ); - -} - -void C7200WavDlg::OnStop() -{ - // TODO: Add your control notification handler code here - U32 count; - - DI_AsyncClear(m_hCard, &count); -#ifdef _SELF_OUTPUT_ - DO_AsyncClear(m_hCard, &count); -#endif - - GetDlgItem( IDC_BT_START )->EnableWindow( TRUE ); - GetDlgItem( IDC_BT_STOP )->EnableWindow( FALSE); -} - -void C7200WavDlg::OnTimer(UINT_PTR nIDEvent) -{ - // TODO: Add your message handler code here and/or call default - BOOLEAN bStopped; - U32 count; - I16 err; - - err = DI_AsyncCheck( m_hCard, &bStopped, &count ); - - if( bStopped ) - { - // stop timer - KillTimer( m_nTimer ); - m_nTimer = -1; - - // reset the Button status - GetDlgItem( IDC_BT_START )->EnableWindow( TRUE ); - GetDlgItem( IDC_BT_STOP )->EnableWindow( TRUE); - - err = DI_AsyncClear( m_hCard, &count ); -#ifdef _SELF_OUTPUT_ - err = DO_AsyncClear( m_hCard, &count ); -#endif - - display_buffer_data(m_pDIAddr); - } - - CDialog::OnTimer(nIDEvent); -} - - -void C7200WavDlg::display_buffer_data(unsigned long* pBuf) -{ - CClientDC dc_plot(this); - int nDraw_Bottom; - - int newY, oldY = -1; - int newX, oldX = -1; - U32 index, di_data; - - nDraw_Bottom = ( plotRect.bottom - 5 ); - dc_plot.SelectObject( &GreenPen ); - - for( index=0; index 1000000.0 ) m_fSampleRate = 1000000.0; - break; - case SB_LINEDOWN: - m_fSampleRate -= 50000; - if (m_fSampleRate < 50000 ) m_fSampleRate = 50000; - break; - } - - SetDlgItemInt( IDC_EDIT_SAMPLE_RATE, (UINT)(m_fSampleRate/1000) ); - - CDialog::OnVScroll(nSBCode, nPos, pScrollBar); -} diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7200/SDK7200Wave/7200WavDlg.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7200/SDK7200Wave/7200WavDlg.h deleted file mode 100644 index 38ba0c5..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7200/SDK7200Wave/7200WavDlg.h +++ /dev/null @@ -1,59 +0,0 @@ - -// 7200WavDlg.h : header file -// -#include "Dask64.h" - -#pragma once - - -// C7200WavDlg dialog -class C7200WavDlg : public CDialog -{ -// Construction -public: - C7200WavDlg(I16 hCard, CWnd* pParent = NULL); // standard constructor - -// Dialog Data - enum { IDD = IDD_MY7200WAV_DIALOG }; - - protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - - -// Implementation -protected: - HICON m_hIcon; - I16 m_hCard; - UINT_PTR m_nTimer; - U32* m_pDIAddr; - U32 m_dwDISamples; - HBRUSH OnBrush; - HBRUSH OffBrush; - CPen RedPen; - CPen GreenPen; - DWORD max_val; - DWORD min_val; - int y_divider; - int x_divider; - int m_DisplayScale; - double m_fSampleRate; - - // Generated message map functions - virtual BOOL OnInitDialog(); - afx_msg void OnSysCommand(UINT nID, LPARAM lParam); - afx_msg void OnPaint(); - afx_msg HCURSOR OnQueryDragIcon(); - DECLARE_MESSAGE_MAP() -public: - afx_msg void OnDestroy(); - afx_msg void OnStart(); - afx_msg void OnStop(); - afx_msg void OnTimer(UINT_PTR nIDEvent); - void display_buffer_data(unsigned long* pBuf); - void redraw_display_area(void); - afx_msg void OnVScroll(UINT nSBCode, UINT nPos, CScrollBar* pScrollBar); - -private: - int n_PlotHeight; - int n_PlotWidth; -}; diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7200/SDK7200Wave/CardIDDlg.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7200/SDK7200Wave/CardIDDlg.cpp deleted file mode 100644 index 9916778..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7200/SDK7200Wave/CardIDDlg.cpp +++ /dev/null @@ -1,67 +0,0 @@ -// CardIDDlg.cpp : implementation file -// - -#include "stdafx.h" -#include "7200Wav.h" -#include "CardIDDlg.h" - - -// CCardIDDlg dialog - -IMPLEMENT_DYNAMIC(CCardIDDlg, CDialog) - -CCardIDDlg::CCardIDDlg(int nCardIdx, CWnd* pParent /*=NULL*/) - : CDialog(CCardIDDlg::IDD, pParent) -{ - m_nCardIdx = nCardIdx; -} - -CCardIDDlg::~CCardIDDlg() -{ -} - -void CCardIDDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); - DDX_Control(pDX, IDC_COMBO_CARDID, m_cbCardID); -} - - -BEGIN_MESSAGE_MAP(CCardIDDlg, CDialog) -// ON_CBN_SELCHANGE(IDC_COMBO_CARDID, &CCardIDDlg::OnCbnSelchangeComboCardid) -ON_BN_CLICKED(IDOK, &CCardIDDlg::OnBnClickedOk) -//ON_WM_CTLCOLOR() -END_MESSAGE_MAP() - - -// CCardIDDlg message handlers - - -void CCardIDDlg::OnBnClickedOk() -{ - // TODO: Add your control notification handler code here - -// UpdateData(TRUE); - m_nCardIdx = m_cbCardID.GetCurSel(); - - OnOK(); -} - -BOOL CCardIDDlg::OnInitDialog() -{ - CDialog::OnInitDialog(); - - // TODO: Add extra initialization here - m_cbCardID.SetCurSel( m_nCardIdx ); - - return TRUE; // return TRUE unless you set the focus to a control - // EXCEPTION: OCX Property Pages should return FALSE -} - -// the function to get the selected CardID -int CCardIDDlg::GetCardID(void) -{ - return m_nCardIdx; -} - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7200/SDK7200Wave/CardIDDlg.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7200/SDK7200Wave/CardIDDlg.h deleted file mode 100644 index 54628ea..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7200/SDK7200Wave/CardIDDlg.h +++ /dev/null @@ -1,33 +0,0 @@ -#pragma once -#include "afxwin.h" - - -// CCardIDDlg dialog - -class CCardIDDlg : public CDialog -{ - DECLARE_DYNAMIC(CCardIDDlg) - -public: - CCardIDDlg(int nCardIdx, CWnd* pParent = NULL); // standard constructor - virtual ~CCardIDDlg(); - -// Dialog Data - enum { IDD = IDD_CARDID_DIALOG }; - -protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - - DECLARE_MESSAGE_MAP() -public: -// afx_msg void OnCbnSelchangeComboCardid(); - afx_msg void OnBnClickedOk(); - // the setting of CardID ComboBox - int m_nCardIdx; - virtual BOOL OnInitDialog(); - // the control of CardID ComboBox - CComboBox m_cbCardID; - // the function to get the selected CardID - int GetCardID(void); -// afx_msg HBRUSH OnCtlColor(CDC* pDC, CWnd* pWnd, UINT nCtlColor); -}; diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7200/SDK7200Wave/ReadMe.txt b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7200/SDK7200Wave/ReadMe.txt deleted file mode 100644 index 85d013f..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7200/SDK7200Wave/ReadMe.txt +++ /dev/null @@ -1,93 +0,0 @@ -================================================================================ - MICROSOFT FOUNDATION CLASS LIBRARY : 7200Wav Project Overview -=============================================================================== - -The application wizard has created this 7200Wav application for -you. This application not only demonstrates the basics of using the Microsoft -Foundation Classes but is also a starting point for writing your application. - -This file contains a summary of what you will find in each of the files that -make up your 7200Wav application. - -7200Wav.vcproj - This is the main project file for VC++ projects generated using an application wizard. - It contains information about the version of Visual C++ that generated the file, and - information about the platforms, configurations, and project features selected with the - application wizard. - -7200Wav.h - This is the main header file for the application. It includes other - project specific headers (including Resource.h) and declares the - C7200WavApp application class. - -7200Wav.cpp - This is the main application source file that contains the application - class C7200WavApp. - -7200Wav.rc - This is a listing of all of the Microsoft Windows resources that the - program uses. It includes the icons, bitmaps, and cursors that are stored - in the RES subdirectory. This file can be directly edited in Microsoft - Visual C++. Your project resources are in 1033. - -res\7200Wav.ico - This is an icon file, which is used as the application's icon. This - icon is included by the main resource file 7200Wav.rc. - -res\My7200Wav.rc2 - This file contains resources that are not edited by Microsoft - Visual C++. You should place all resources not editable by - the resource editor in this file. - - -///////////////////////////////////////////////////////////////////////////// - -The application wizard creates one dialog class: - -7200WavDlg.h, 7200WavDlg.cpp - the dialog - These files contain your C7200WavDlg class. This class defines - the behavior of your application's main dialog. The dialog's template is - in 7200Wav.rc, which can be edited in Microsoft Visual C++. - - -///////////////////////////////////////////////////////////////////////////// - -Other Features: - -ActiveX Controls - The application includes support to use ActiveX controls. - -///////////////////////////////////////////////////////////////////////////// - -Other standard files: - -StdAfx.h, StdAfx.cpp - These files are used to build a precompiled header (PCH) file - named 7200Wav.pch and a precompiled types file named StdAfx.obj. - -Resource.h - This is the standard header file, which defines new resource IDs. - Microsoft Visual C++ reads and updates this file. - -7200Wav.manifest - Application manifest files are used by Windows XP to describe an applications - dependency on specific versions of Side-by-Side assemblies. The loader uses this - information to load the appropriate assembly from the assembly cache or private - from the application. The Application manifest maybe included for redistribution - as an external .manifest file that is installed in the same folder as the application - executable or it may be included in the executable in the form of a resource. -///////////////////////////////////////////////////////////////////////////// - -Other notes: - -The application wizard uses "TODO:" to indicate parts of the source code you -should add to or customize. - -If your application uses MFC in a shared DLL, you will need -to redistribute the MFC DLLs. If your application is in a language -other than the operating system's locale, you will also have to -redistribute the corresponding localized resources MFC90XXX.DLL. -For more information on both of these topics, please see the section on -redistributing Visual C++ applications in MSDN documentation. - -///////////////////////////////////////////////////////////////////////////// diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7200/SDK7200Wave/res/7200Wav.ico b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7200/SDK7200Wave/res/7200Wav.ico deleted file mode 100644 index d56fbcd..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7200/SDK7200Wave/res/7200Wav.ico and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7200/SDK7200Wave/res/My7200Wav.rc2 b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7200/SDK7200Wave/res/My7200Wav.rc2 deleted file mode 100644 index 440d4a5..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7200/SDK7200Wave/res/My7200Wav.rc2 +++ /dev/null @@ -1,13 +0,0 @@ -// -// My7200Wav.RC2 - resources Microsoft Visual C++ does not edit directly -// - -#ifdef APSTUDIO_INVOKED -#error this file is not editable by Microsoft Visual C++ -#endif //APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// Add manually edited resources here... - -///////////////////////////////////////////////////////////////////////////// diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7200/SDK7200Wave/resource.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7200/SDK7200Wave/resource.h deleted file mode 100644 index 69bd550..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7200/SDK7200Wave/resource.h +++ /dev/null @@ -1,29 +0,0 @@ -//{{NO_DEPENDENCIES}} -// Microsoft Visual C++ generated include file. -// Used by 7200Wav.rc -// -#define IDM_ABOUTBOX 0x0010 -#define IDD_ABOUTBOX 100 -#define IDS_ABOUTBOX 101 -#define IDD_MY7200WAV_DIALOG 102 -#define IDR_MAINFRAME 128 -#define IDD_CARDID_DIALOG 129 -#define IDC_STATIC_DRAW 1000 -#define IDC_EDIT_SAMPLE 1001 -#define IDC_EDIT_SAMPLE_RATE 1003 -#define IDC_SCROLLBAR_RATE 1006 -#define IDC_COMBO_CARDID 1007 -#define IDC_BT_START 1008 -#define IDC_BT_STOP 1009 -#define IDC_STATIC_01 1014 - -// Next default values for new objects -// -#ifdef APSTUDIO_INVOKED -#ifndef APSTUDIO_READONLY_SYMBOLS -#define _APS_NEXT_RESOURCE_VALUE 131 -#define _APS_NEXT_COMMAND_VALUE 32771 -#define _APS_NEXT_CONTROL_VALUE 1000 -#define _APS_NEXT_SYMED_VALUE 101 -#endif -#endif diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7200/SDK7200Wave/stdafx.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7200/SDK7200Wave/stdafx.cpp deleted file mode 100644 index b5184d9..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7200/SDK7200Wave/stdafx.cpp +++ /dev/null @@ -1,8 +0,0 @@ - -// stdafx.cpp : source file that includes just the standard includes -// 7200Wav.pch will be the pre-compiled header -// stdafx.obj will contain the pre-compiled type information - -#include "stdafx.h" - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7200/SDK7200Wave/stdafx.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7200/SDK7200Wave/stdafx.h deleted file mode 100644 index 12123e2..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7200/SDK7200Wave/stdafx.h +++ /dev/null @@ -1,60 +0,0 @@ - -// stdafx.h : include file for standard system include files, -// or project specific include files that are used frequently, -// but are changed infrequently - -#pragma once - -#ifndef _SECURE_ATL -#define _SECURE_ATL 1 -#endif - -#ifndef VC_EXTRALEAN -#define VC_EXTRALEAN // Exclude rarely-used stuff from Windows headers -#endif - -#include "targetver.h" - -#define _ATL_CSTRING_EXPLICIT_CONSTRUCTORS // some CString constructors will be explicit - -// turns off MFC's hiding of some common and often safely ignored warning messages -#define _AFX_ALL_WARNINGS - -#include // MFC core and standard components -#include // MFC extensions - - -#include // MFC Automation classes - - - -#ifndef _AFX_NO_OLE_SUPPORT -#include // MFC support for Internet Explorer 4 Common Controls -#endif -#ifndef _AFX_NO_AFXCMN_SUPPORT -#include // MFC support for Windows Common Controls -#endif // _AFX_NO_AFXCMN_SUPPORT - -#include // MFC support for ribbons and control bars - - - - - - - - - -#ifdef _UNICODE -#if defined _M_IX86 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='x86' publicKeyToken='6595b64144ccf1df' language='*'\"") -#elif defined _M_IA64 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='ia64' publicKeyToken='6595b64144ccf1df' language='*'\"") -#elif defined _M_X64 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='amd64' publicKeyToken='6595b64144ccf1df' language='*'\"") -#else -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='*' publicKeyToken='6595b64144ccf1df' language='*'\"") -#endif -#endif - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7200/SDK7200Wave/targetver.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7200/SDK7200Wave/targetver.h deleted file mode 100644 index 11730d5..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7200/SDK7200Wave/targetver.h +++ /dev/null @@ -1,26 +0,0 @@ - -#pragma once - -// The following macros define the minimum required platform. The minimum required platform -// is the earliest version of Windows, Internet Explorer etc. that has the necessary features to run -// your application. The macros work by enabling all features available on platform versions up to and -// including the version specified. - -// Modify the following defines if you have to target a platform prior to the ones specified below. -// Refer to MSDN for the latest info on corresponding values for different platforms. -#ifndef WINVER // Specifies that the minimum required platform is Windows Vista. -#define WINVER 0x0600 // Change this to the appropriate value to target other versions of Windows. -#endif - -#ifndef _WIN32_WINNT // Specifies that the minimum required platform is Windows Vista. -#define _WIN32_WINNT 0x0600 // Change this to the appropriate value to target other versions of Windows. -#endif - -#ifndef _WIN32_WINDOWS // Specifies that the minimum required platform is Windows 98. -#define _WIN32_WINDOWS 0x0410 // Change this to the appropriate value to target Windows Me or later. -#endif - -#ifndef _WIN32_IE // Specifies that the minimum required platform is Internet Explorer 7.0. -#define _WIN32_IE 0x0700 // Change this to the appropriate value to target other versions of IE. -#endif - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7200/SDK7200WaveTrig/7200Wav.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7200/SDK7200WaveTrig/7200Wav.cpp deleted file mode 100644 index 0637fbc..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7200/SDK7200WaveTrig/7200Wav.cpp +++ /dev/null @@ -1,110 +0,0 @@ - -// 7200Wav.cpp : Defines the class behaviors for the application. -// - -#include "stdafx.h" -#include "7200Wav.h" -#include "7200WavDlg.h" -#include "CardIDDlg.h" - -#ifdef _DEBUG -#define new DEBUG_NEW -#endif - - -// C7200WavApp - -BEGIN_MESSAGE_MAP(C7200WavApp, CWinAppEx) - ON_COMMAND(ID_HELP, &CWinApp::OnHelp) -END_MESSAGE_MAP() - - -// C7200WavApp construction - -C7200WavApp::C7200WavApp() -{ - // TODO: add construction code here, - // Place all significant initialization in InitInstance -} - - -// The one and only C7200WavApp object - -C7200WavApp theApp; - - -// C7200WavApp initialization - -BOOL C7200WavApp::InitInstance() -{ - int nCardID = 0; - I16 hCard; - CString strTemp; - INT_PTR nResponse; - - // InitCommonControlsEx() is required on Windows XP if an application - // manifest specifies use of ComCtl32.dll version 6 or later to enable - // visual styles. Otherwise, any window creation will fail. - INITCOMMONCONTROLSEX InitCtrls; - InitCtrls.dwSize = sizeof(InitCtrls); - // Set this to include all the common control classes you want to use - // in your application. - InitCtrls.dwICC = ICC_WIN95_CLASSES; - InitCommonControlsEx(&InitCtrls); - - CWinAppEx::InitInstance(); - - AfxEnableControlContainer(); - - // Standard initialization - // If you are not using these features and wish to reduce the size - // of your final executable, you should remove from the following - // the specific initialization routines you do not need - // Change the registry key under which our settings are stored - // TODO: You should modify this string to be something appropriate - // such as the name of your company or organization - SetRegistryKey(_T("Local AppWizard-Generated Applications")); - - CCardIDDlg CardDlg( nCardID ); - - nResponse = CardDlg.DoModal(); - if (nResponse == IDOK) - { - nCardID = CardDlg.GetCardID(); - - if ((hCard=Register_Card(PCI_7200, nCardID)) < 0) - { - strTemp.Format( TEXT("Register_Card Error = %d"), hCard); - AfxMessageBox( strTemp ); - } - else - { - C7200WavDlg dlg(hCard); - m_pMainWnd = &dlg; - nResponse = dlg.DoModal(); - if (nResponse == IDOK) - { - // TODO: Place code here to handle when the dialog is - // dismissed with OK - } - else if (nResponse == IDCANCEL) - { - // TODO: Place code here to handle when the dialog is - // dismissed with Cancel - } - - if (hCard >= 0) Release_Card(hCard); - } - - } - else if (nResponse == IDCANCEL) - { - // TODO: Place code here to handle when the dialog is - // dismissed with Cancel - } - - - // Since the dialog has been closed, return FALSE so that we exit the - // application, rather than start the application's message pump. - return FALSE; -} diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7200/SDK7200WaveTrig/7200Wav.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7200/SDK7200WaveTrig/7200Wav.h deleted file mode 100644 index dc9b226..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7200/SDK7200WaveTrig/7200Wav.h +++ /dev/null @@ -1,32 +0,0 @@ - -// 7200Wav.h : main header file for the PROJECT_NAME application -// - -#pragma once - -#ifndef __AFXWIN_H__ - #error "include 'stdafx.h' before including this file for PCH" -#endif - -#include "resource.h" // main symbols - - -// C7200WavApp: -// See 7200Wav.cpp for the implementation of this class -// - -class C7200WavApp : public CWinAppEx -{ -public: - C7200WavApp(); - -// Overrides - public: - virtual BOOL InitInstance(); - -// Implementation - - DECLARE_MESSAGE_MAP() -}; - -extern C7200WavApp theApp; \ No newline at end of file diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7200/SDK7200WaveTrig/7200Wav.rc b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7200/SDK7200WaveTrig/7200Wav.rc deleted file mode 100644 index a7c3f5a..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7200/SDK7200WaveTrig/7200Wav.rc +++ /dev/null @@ -1,283 +0,0 @@ -// Microsoft Visual C++ generated resource script. -// -#include "resource.h" - -#define APSTUDIO_READONLY_SYMBOLS -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 2 resource. -// -#ifndef APSTUDIO_INVOKED -#include "targetver.h" -#endif -#include "afxres.h" - -///////////////////////////////////////////////////////////////////////////// -#undef APSTUDIO_READONLY_SYMBOLS - -///////////////////////////////////////////////////////////////////////////// -// Chinese (Taiwan) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_CHT) -#ifdef _WIN32 -LANGUAGE LANG_CHINESE, SUBLANG_CHINESE_TRADITIONAL -#pragma code_page(950) -#endif //_WIN32 - -#ifdef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// TEXTINCLUDE -// - -1 TEXTINCLUDE -BEGIN - "resource.h\0" -END - -2 TEXTINCLUDE -BEGIN - "#ifndef APSTUDIO_INVOKED\r\n" - "#include ""targetver.h""\r\n" - "#endif\r\n" - "#include ""afxres.h""\r\n" - "\0" -END - -3 TEXTINCLUDE -BEGIN - "#define _AFX_NO_SPLITTER_RESOURCES\r\n" - "#define _AFX_NO_OLE_RESOURCES\r\n" - "#define _AFX_NO_TRACKER_RESOURCES\r\n" - "#define _AFX_NO_PROPERTY_RESOURCES\r\n" - "\r\n" - "#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)\r\n" - "LANGUAGE 9, 1\r\n" - "#pragma code_page(1252)\r\n" - "#include ""res\\My7200Wav.rc2"" // non-Microsoft Visual C++ edited resources\r\n" - "#include ""afxres.rc"" // Standard components\r\n" - "#endif\r\n" - "\0" -END - -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// Icon -// - -// Icon with lowest ID value placed first to ensure application icon -// remains consistent on all systems. -IDR_MAINFRAME ICON "res\\7200Wav.ico" -#endif // Chinese (Taiwan) resources -///////////////////////////////////////////////////////////////////////////// - - -///////////////////////////////////////////////////////////////////////////// -// English (U.S.) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -#ifdef _WIN32 -LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US -#pragma code_page(1252) -#endif //_WIN32 - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog -// - -IDD_ABOUTBOX DIALOGEX 0, 0, 170, 62 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "About 7200Wav" -FONT 8, "MS Shell Dlg", 0, 0, 0x1 -BEGIN - ICON IDR_MAINFRAME,IDC_STATIC,14,14,21,20 - LTEXT "7200Wav, Version 1.0",IDC_STATIC,42,14,114,8,SS_NOPREFIX - LTEXT "Copyright (C) 2010",IDC_STATIC,42,26,114,8 - DEFPUSHBUTTON "OK",IDOK,113,41,50,14,WS_GROUP -END - -IDD_MY7200WAV_DIALOG DIALOGEX 0, 0, 376, 201 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU -EXSTYLE WS_EX_APPWINDOW -CAPTION "PCI-7200 DMA" -FONT 8, "MS Shell Dlg", 0, 0, 0x1 -BEGIN - GROUPBOX "",IDC_STATIC_DRAW,71,7,293,138,NOT WS_VISIBLE - EDITTEXT IDC_EDIT_SAMPLE,135,153,51,12,ES_AUTOHSCROLL - LTEXT "DI Samples :",IDC_STATIC,86,154,45,9 - EDITTEXT IDC_EDIT_SAMPLE_RATE,249,154,30,12,ES_AUTOHSCROLL | ES_READONLY - LTEXT "Sample Rate :",IDC_STATIC,196,154,49,9 - LTEXT "KHz",IDC_STATIC,292,156,15,9 - SCROLLBAR IDC_SCROLLBAR_RATE,280,154,9,11,SBS_VERT - PUSHBUTTON "Start",IDC_BT_START,315,151,48,17 - PUSHBUTTON "Stop",IDC_BT_STOP,315,170,48,17 -END - -IDD_CARDID_DIALOG DIALOGEX 0, 0, 170, 89 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "Card ID" -FONT 8, "MS Shell Dlg", 400, 0, 0x1 -BEGIN - COMBOBOX IDC_COMBO_CARDID,75,17,71,126,CBS_DROPDOWN | WS_VSCROLL | WS_TABSTOP - LTEXT "Card Number",IDC_STATIC_01,21,18,46,12 - PUSHBUTTON "OK",IDOK,22,50,58,19 - PUSHBUTTON "CANCEL",IDCANCEL,86,50,58,19 -END - - -///////////////////////////////////////////////////////////////////////////// -// -// Version -// - -VS_VERSION_INFO VERSIONINFO - FILEVERSION 1,0,0,1 - PRODUCTVERSION 1,0,0,1 - FILEFLAGSMASK 0x3fL -#ifdef _DEBUG - FILEFLAGS 0x1L -#else - FILEFLAGS 0x0L -#endif - FILEOS 0x4L - FILETYPE 0x1L - FILESUBTYPE 0x0L -BEGIN - BLOCK "StringFileInfo" - BEGIN - BLOCK "040904e4" - BEGIN - VALUE "CompanyName", "TODO: " - VALUE "FileDescription", "TODO: " - VALUE "FileVersion", "1.0.0.1" - VALUE "InternalName", "7200Wav.exe" - VALUE "LegalCopyright", "TODO: (c) . All rights reserved." - VALUE "OriginalFilename", "7200Wav.exe" - VALUE "ProductName", "TODO: " - VALUE "ProductVersion", "1.0.0.1" - END - END - BLOCK "VarFileInfo" - BEGIN - VALUE "Translation", 0x409, 1252 - END -END - - -///////////////////////////////////////////////////////////////////////////// -// -// DESIGNINFO -// - -#ifdef APSTUDIO_INVOKED -GUIDELINES DESIGNINFO -BEGIN - IDD_ABOUTBOX, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 163 - TOPMARGIN, 7 - BOTTOMMARGIN, 55 - END - - IDD_MY7200WAV_DIALOG, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 369 - TOPMARGIN, 7 - BOTTOMMARGIN, 194 - END - - IDD_CARDID_DIALOG, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 163 - TOPMARGIN, 7 - BOTTOMMARGIN, 82 - END -END -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog Info -// - -IDD_CARDID_DIALOG DLGINIT -BEGIN - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0030, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0031, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0032, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0033, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0034, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0035, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0036, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0037, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0038, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0039, - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3031, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3131, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3231, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3331, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3431, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3531, "\000" - 0 -END - - -///////////////////////////////////////////////////////////////////////////// -// -// String Table -// - -STRINGTABLE -BEGIN - IDS_ABOUTBOX "&About 7200Wav..." -END - -#endif // English (U.S.) resources -///////////////////////////////////////////////////////////////////////////// - - - -#ifndef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 3 resource. -// -#define _AFX_NO_SPLITTER_RESOURCES -#define _AFX_NO_OLE_RESOURCES -#define _AFX_NO_TRACKER_RESOURCES -#define _AFX_NO_PROPERTY_RESOURCES - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -LANGUAGE 9, 1 -#pragma code_page(1252) -#include "res\My7200Wav.rc2" // non-Microsoft Visual C++ edited resources -#include "afxres.rc" // Standard components -#endif - -///////////////////////////////////////////////////////////////////////////// -#endif // not APSTUDIO_INVOKED - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7200/SDK7200WaveTrig/7200Wav.sln b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7200/SDK7200WaveTrig/7200Wav.sln deleted file mode 100644 index 6347527..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7200/SDK7200WaveTrig/7200Wav.sln +++ /dev/null @@ -1,20 +0,0 @@ - -Microsoft Visual Studio Solution File, Format Version 10.00 -# Visual Studio 2008 -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "7200Wav", "7200Wav.vcproj", "{EBDB6610-7CE5-413C-A150-121068BFDB22}" -EndProject -Global - GlobalSection(SolutionConfigurationPlatforms) = preSolution - Debug|x64 = Debug|x64 - Release|x64 = Release|x64 - EndGlobalSection - GlobalSection(ProjectConfigurationPlatforms) = postSolution - {EBDB6610-7CE5-413C-A150-121068BFDB22}.Debug|x64.ActiveCfg = Debug|x64 - {EBDB6610-7CE5-413C-A150-121068BFDB22}.Debug|x64.Build.0 = Debug|x64 - {EBDB6610-7CE5-413C-A150-121068BFDB22}.Release|x64.ActiveCfg = Release|x64 - {EBDB6610-7CE5-413C-A150-121068BFDB22}.Release|x64.Build.0 = Release|x64 - EndGlobalSection - GlobalSection(SolutionProperties) = preSolution - HideSolutionNode = FALSE - EndGlobalSection -EndGlobal diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7200/SDK7200WaveTrig/7200Wav.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7200/SDK7200WaveTrig/7200Wav.suo deleted file mode 100644 index 6adc112..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7200/SDK7200WaveTrig/7200Wav.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7200/SDK7200WaveTrig/7200Wav.vcproj b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7200/SDK7200WaveTrig/7200Wav.vcproj deleted file mode 100644 index a9959a8..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7200/SDK7200WaveTrig/7200Wav.vcproj +++ /dev/null @@ -1,286 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7200/SDK7200WaveTrig/7200WavDlg.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7200/SDK7200WaveTrig/7200WavDlg.cpp deleted file mode 100644 index 704a786..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7200/SDK7200WaveTrig/7200WavDlg.cpp +++ /dev/null @@ -1,534 +0,0 @@ - -// 7200WavDlg.cpp : implementation file -// - -#include "stdafx.h" -#include "7200Wav.h" -#include "7200WavDlg.h" -#include "math.h" - -#define fifo_loop_count 2048 - -#ifndef M_PI -#define M_PI 3.14159265359 -#endif - -#ifdef _DEBUG -#define new DEBUG_NEW -#endif - -CRect plotRect; - -#define PCI7200_DIO_STATUS_TIMER 1 - -#ifdef _SELF_OUTPUT_ -ULONG DoBuf[10240]; -BOOLEAN bOutStopped; -ULONG out_count; -#endif - -// CAboutDlg dialog used for App About - -class CAboutDlg : public CDialog -{ -public: - CAboutDlg(); - -// Dialog Data - enum { IDD = IDD_ABOUTBOX }; - - protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - -// Implementation -protected: - DECLARE_MESSAGE_MAP() -}; - -CAboutDlg::CAboutDlg() : CDialog(CAboutDlg::IDD) -{ -} - -void CAboutDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); -} - -BEGIN_MESSAGE_MAP(CAboutDlg, CDialog) -END_MESSAGE_MAP() - - -// C7200WavDlg dialog - - - - -C7200WavDlg::C7200WavDlg(I16 hCard, CWnd* pParent /*=NULL*/) - : CDialog(C7200WavDlg::IDD, pParent) -{ - m_hIcon = AfxGetApp()->LoadIcon(IDR_MAINFRAME); - - m_hCard = hCard; - - OnBrush = OffBrush = NULL; - - n_PlotWidth = -1; - n_PlotHeight = -1; - - min_val = 0x00; - max_val = 0xFFFFFFFF; - - m_fSampleRate = 100000.0; // 100KHz - m_dwDISamples = 10240; - m_pDIAddr = NULL; - - m_nTimer = -1; - -#ifdef _SELF_OUTPUT_ - for (int i=0; i<10240; i++) -// DoBuf[i] = (U32)(sin((double)i/128)*0x7fffffff)+0x80000000; - DoBuf[i] = (U32)(sin((double)i/1024*M_PI)*0x7FFFFFFF)+0x80000000; -#endif - -} - -void C7200WavDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); -} - -BEGIN_MESSAGE_MAP(C7200WavDlg, CDialog) - ON_WM_SYSCOMMAND() - ON_WM_PAINT() - ON_WM_QUERYDRAGICON() - //}}AFX_MSG_MAP - ON_WM_DESTROY() - ON_BN_CLICKED(IDC_BT_START, &C7200WavDlg::OnStart) - ON_BN_CLICKED(IDC_BT_STOP, &C7200WavDlg::OnStop) - ON_WM_TIMER() - ON_WM_VSCROLL() -END_MESSAGE_MAP() - - -// C7200WavDlg message handlers - -BOOL C7200WavDlg::OnInitDialog() -{ - CString strTemp; - - CDialog::OnInitDialog(); - - // Add "About..." menu item to system menu. - - // IDM_ABOUTBOX must be in the system command range. - ASSERT((IDM_ABOUTBOX & 0xFFF0) == IDM_ABOUTBOX); - ASSERT(IDM_ABOUTBOX < 0xF000); - - CMenu* pSysMenu = GetSystemMenu(FALSE); - if (pSysMenu != NULL) - { - BOOL bNameValid; - CString strAboutMenu; - bNameValid = strAboutMenu.LoadString(IDS_ABOUTBOX); - ASSERT(bNameValid); - if (!strAboutMenu.IsEmpty()) - { - pSysMenu->AppendMenu(MF_SEPARATOR); - pSysMenu->AppendMenu(MF_STRING, IDM_ABOUTBOX, strAboutMenu); - } - } - - // Set the icon for this dialog. The framework does this automatically - // when the application's main window is not a dialog - SetIcon(m_hIcon, TRUE); // Set big icon - SetIcon(m_hIcon, FALSE); // Set small icon - - // TODO: Add extra initialization here - x_divider = 5; y_divider = 2; - - OnBrush = CreateSolidBrush( RGB(255,0,0) ); - OffBrush = CreateSolidBrush( RGB(125,0,0) ); - - RedPen.CreatePen( PS_SOLID, 1, RGB(255,0,0)); - GreenPen.CreatePen( PS_SOLID, 1, RGB(0,255,0)); - - if( n_PlotWidth == -1 && n_PlotHeight == -1 ) - { - ((CWnd*)GetDlgItem(IDC_STATIC_DRAW))->GetWindowRect(&plotRect); - ScreenToClient(&plotRect); - - n_PlotWidth = min( plotRect.Width(), 512); - n_PlotHeight = plotRect.Height() - 10; - } - - // set the default SampleRate - SetDlgItemInt( IDC_EDIT_SAMPLE_RATE, (UINT)(m_fSampleRate/1000) ); - - // Set the default DI Sample - SetDlgItemInt( IDC_EDIT_SAMPLE, (UINT)(m_dwDISamples) ); - - - return TRUE; // return TRUE unless you set the focus to a control -} - -void C7200WavDlg::OnSysCommand(UINT nID, LPARAM lParam) -{ - if ((nID & 0xFFF0) == IDM_ABOUTBOX) - { - CAboutDlg dlgAbout; - dlgAbout.DoModal(); - } - else - { - CDialog::OnSysCommand(nID, lParam); - } -} - -// If you add a minimize button to your dialog, you will need the code below -// to draw the icon. For MFC applications using the document/view model, -// this is automatically done for you by the framework. - -void C7200WavDlg::OnPaint() -{ - if (IsIconic()) - { - CPaintDC dc(this); // device context for painting - - SendMessage(WM_ICONERASEBKGND, reinterpret_cast(dc.GetSafeHdc()), 0); - - // Center icon in client rectangle - int cxIcon = GetSystemMetrics(SM_CXICON); - int cyIcon = GetSystemMetrics(SM_CYICON); - CRect rect; - GetClientRect(&rect); - int x = (rect.Width() - cxIcon + 1) / 2; - int y = (rect.Height() - cyIcon + 1) / 2; - - // Draw the icon - dc.DrawIcon(x, y, m_hIcon); - } - else - { - redraw_display_area(); - CDialog::OnPaint(); - } -} - -// The system calls this function to obtain the cursor to display while the user drags -// the minimized window. -HCURSOR C7200WavDlg::OnQueryDragIcon() -{ - return static_cast(m_hIcon); -} - - -void C7200WavDlg::OnDestroy() -{ - U32 count; - - CDialog::OnDestroy(); - - // TODO: Add your message handler code here - if( OnBrush != NULL ) - ::DeleteObject( OnBrush ); - - if( OffBrush != NULL ) - ::DeleteObject( OffBrush ); - - RedPen.DeleteObject(); - GreenPen.DeleteObject(); - - if( m_nTimer != -1 ) - { - KillTimer( m_nTimer ); - m_nTimer = -1; - } - - DI_AsyncClear( m_hCard, &count ); - -#ifdef _SELF_OUTPUT_ - DO_AsyncClear( m_hCard, &count ); -#endif - - if( m_pDIAddr != NULL ) - { - free( m_pDIAddr ); - m_pDIAddr = NULL; - } - -} - -void C7200WavDlg::OnStart() -{ - // TODO: Add your control notification handler code here - U32 dwMemSize, dwDISamples; - void* pMem; - I16 err; - CString strMsg; - - dwDISamples = GetDlgItemInt( IDC_EDIT_SAMPLE ); - - if( dwDISamples != m_dwDISamples ) - { - if( m_pDIAddr != NULL ) - { - free( m_pDIAddr ); - m_pDIAddr = NULL; - } - m_dwDISamples = dwDISamples; - } - - if( m_pDIAddr == NULL ) - { - dwMemSize = m_dwDISamples * 4; - pMem = malloc( dwMemSize ); - if( pMem == NULL ) - { - AfxMessageBox( TEXT("Memory allocated failed") ); - return; - } - else - { - m_pDIAddr = (U32*) pMem; - memset( m_pDIAddr, '\0', dwMemSize ); - } - } - else - { - pMem = (void*)m_pDIAddr; - } - -#ifdef _SELF_OUTPUT_ - DO_WriteExtTrigLine (m_hCard, 1); - DO_7200_Config(m_hCard, TRIG_INT_PACER, OREQ_DISABLE, OTRIG_LOW); - //DO_AsyncDblBufferMode( m_hCard, 0 ); -#endif - - if ((err=DI_7200_Config(m_hCard, TRIG_INT_PACER, DI_WAITING, DI_TRIG_FALLING, IREQ_FALLING)) != NoError) - { - strMsg.Format( TEXT("DI_Config Error = %d") ,err ); - AfxMessageBox( strMsg ); - return; - } - - if ((err=DI_AsyncDblBufferMode (m_hCard, 0)) != NoError) - { - strMsg.Format( TEXT("DI_AsyncDblBufferMode Error = %d\n"), err ); - AfxMessageBox( strMsg ); - return; - } - - - // clear display area - redraw_display_area(); - - if ((err=DI_ContReadPort(m_hCard, 0, pMem, m_dwDISamples, m_fSampleRate, ASYNCH_OP)) != NoError) - { - strMsg.Format( TEXT("DI_ContReadPort Error = %d\n"), err); - AfxMessageBox( strMsg ); - return; - } - -#ifdef _SELF_OUTPUT_ - DO_ContWritePort(m_hCard, 0, DoBuf, 10240, 0, m_fSampleRate, ASYNCH_OP); -#endif - - - if( m_nTimer == -1 ) - { - m_nTimer = SetTimer( PCI7200_DIO_STATUS_TIMER, 50, NULL ); - } - - GetDlgItem( IDC_BT_START )->EnableWindow( FALSE ); - GetDlgItem( IDC_BT_STOP )->EnableWindow( TRUE ); - -} - -void C7200WavDlg::OnStop() -{ - // TODO: Add your control notification handler code here - U32 count; - - DI_AsyncClear(m_hCard, &count); -#ifdef _SELF_OUTPUT_ - DO_AsyncClear(m_hCard, &count); -#endif - - GetDlgItem( IDC_BT_START )->EnableWindow( TRUE ); - GetDlgItem( IDC_BT_STOP )->EnableWindow( FALSE); -} - -void C7200WavDlg::OnTimer(UINT_PTR nIDEvent) -{ - // TODO: Add your message handler code here and/or call default - BOOLEAN bStopped; - U32 count; - I16 err; - - err = DI_AsyncCheck( m_hCard, &bStopped, &count ); - - if( bStopped ) - { - // stop timer - KillTimer( m_nTimer ); - m_nTimer = -1; - - // reset the Button status - GetDlgItem( IDC_BT_START )->EnableWindow( TRUE ); - GetDlgItem( IDC_BT_STOP )->EnableWindow( TRUE); - - err = DI_AsyncClear( m_hCard, &count ); -#ifdef _SELF_OUTPUT_ - err = DO_AsyncClear( m_hCard, &count ); -#endif - - display_buffer_data(m_pDIAddr); - } - - CDialog::OnTimer(nIDEvent); -} - - -void C7200WavDlg::display_buffer_data(unsigned long* pBuf) -{ - CClientDC dc_plot(this); - int nDraw_Bottom; - - int newY, oldY = -1; - int newX, oldX = -1; - U32 index, di_data; - - nDraw_Bottom = ( plotRect.bottom - 5 ); - dc_plot.SelectObject( &GreenPen ); - - for( index=0; index 1000000.0 ) m_fSampleRate = 1000000.0; - break; - case SB_LINEDOWN: - m_fSampleRate -= 50000; - if (m_fSampleRate < 50000 ) m_fSampleRate = 50000; - break; - } - - SetDlgItemInt( IDC_EDIT_SAMPLE_RATE, (UINT)(m_fSampleRate/1000) ); - - CDialog::OnVScroll(nSBCode, nPos, pScrollBar); -} diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7200/SDK7200WaveTrig/7200WavDlg.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7200/SDK7200WaveTrig/7200WavDlg.h deleted file mode 100644 index 38ba0c5..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7200/SDK7200WaveTrig/7200WavDlg.h +++ /dev/null @@ -1,59 +0,0 @@ - -// 7200WavDlg.h : header file -// -#include "Dask64.h" - -#pragma once - - -// C7200WavDlg dialog -class C7200WavDlg : public CDialog -{ -// Construction -public: - C7200WavDlg(I16 hCard, CWnd* pParent = NULL); // standard constructor - -// Dialog Data - enum { IDD = IDD_MY7200WAV_DIALOG }; - - protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - - -// Implementation -protected: - HICON m_hIcon; - I16 m_hCard; - UINT_PTR m_nTimer; - U32* m_pDIAddr; - U32 m_dwDISamples; - HBRUSH OnBrush; - HBRUSH OffBrush; - CPen RedPen; - CPen GreenPen; - DWORD max_val; - DWORD min_val; - int y_divider; - int x_divider; - int m_DisplayScale; - double m_fSampleRate; - - // Generated message map functions - virtual BOOL OnInitDialog(); - afx_msg void OnSysCommand(UINT nID, LPARAM lParam); - afx_msg void OnPaint(); - afx_msg HCURSOR OnQueryDragIcon(); - DECLARE_MESSAGE_MAP() -public: - afx_msg void OnDestroy(); - afx_msg void OnStart(); - afx_msg void OnStop(); - afx_msg void OnTimer(UINT_PTR nIDEvent); - void display_buffer_data(unsigned long* pBuf); - void redraw_display_area(void); - afx_msg void OnVScroll(UINT nSBCode, UINT nPos, CScrollBar* pScrollBar); - -private: - int n_PlotHeight; - int n_PlotWidth; -}; diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7200/SDK7200WaveTrig/CardIDDlg.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7200/SDK7200WaveTrig/CardIDDlg.cpp deleted file mode 100644 index 9916778..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7200/SDK7200WaveTrig/CardIDDlg.cpp +++ /dev/null @@ -1,67 +0,0 @@ -// CardIDDlg.cpp : implementation file -// - -#include "stdafx.h" -#include "7200Wav.h" -#include "CardIDDlg.h" - - -// CCardIDDlg dialog - -IMPLEMENT_DYNAMIC(CCardIDDlg, CDialog) - -CCardIDDlg::CCardIDDlg(int nCardIdx, CWnd* pParent /*=NULL*/) - : CDialog(CCardIDDlg::IDD, pParent) -{ - m_nCardIdx = nCardIdx; -} - -CCardIDDlg::~CCardIDDlg() -{ -} - -void CCardIDDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); - DDX_Control(pDX, IDC_COMBO_CARDID, m_cbCardID); -} - - -BEGIN_MESSAGE_MAP(CCardIDDlg, CDialog) -// ON_CBN_SELCHANGE(IDC_COMBO_CARDID, &CCardIDDlg::OnCbnSelchangeComboCardid) -ON_BN_CLICKED(IDOK, &CCardIDDlg::OnBnClickedOk) -//ON_WM_CTLCOLOR() -END_MESSAGE_MAP() - - -// CCardIDDlg message handlers - - -void CCardIDDlg::OnBnClickedOk() -{ - // TODO: Add your control notification handler code here - -// UpdateData(TRUE); - m_nCardIdx = m_cbCardID.GetCurSel(); - - OnOK(); -} - -BOOL CCardIDDlg::OnInitDialog() -{ - CDialog::OnInitDialog(); - - // TODO: Add extra initialization here - m_cbCardID.SetCurSel( m_nCardIdx ); - - return TRUE; // return TRUE unless you set the focus to a control - // EXCEPTION: OCX Property Pages should return FALSE -} - -// the function to get the selected CardID -int CCardIDDlg::GetCardID(void) -{ - return m_nCardIdx; -} - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7200/SDK7200WaveTrig/CardIDDlg.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7200/SDK7200WaveTrig/CardIDDlg.h deleted file mode 100644 index 54628ea..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7200/SDK7200WaveTrig/CardIDDlg.h +++ /dev/null @@ -1,33 +0,0 @@ -#pragma once -#include "afxwin.h" - - -// CCardIDDlg dialog - -class CCardIDDlg : public CDialog -{ - DECLARE_DYNAMIC(CCardIDDlg) - -public: - CCardIDDlg(int nCardIdx, CWnd* pParent = NULL); // standard constructor - virtual ~CCardIDDlg(); - -// Dialog Data - enum { IDD = IDD_CARDID_DIALOG }; - -protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - - DECLARE_MESSAGE_MAP() -public: -// afx_msg void OnCbnSelchangeComboCardid(); - afx_msg void OnBnClickedOk(); - // the setting of CardID ComboBox - int m_nCardIdx; - virtual BOOL OnInitDialog(); - // the control of CardID ComboBox - CComboBox m_cbCardID; - // the function to get the selected CardID - int GetCardID(void); -// afx_msg HBRUSH OnCtlColor(CDC* pDC, CWnd* pWnd, UINT nCtlColor); -}; diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7200/SDK7200WaveTrig/ReadMe.txt b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7200/SDK7200WaveTrig/ReadMe.txt deleted file mode 100644 index 85d013f..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7200/SDK7200WaveTrig/ReadMe.txt +++ /dev/null @@ -1,93 +0,0 @@ -================================================================================ - MICROSOFT FOUNDATION CLASS LIBRARY : 7200Wav Project Overview -=============================================================================== - -The application wizard has created this 7200Wav application for -you. This application not only demonstrates the basics of using the Microsoft -Foundation Classes but is also a starting point for writing your application. - -This file contains a summary of what you will find in each of the files that -make up your 7200Wav application. - -7200Wav.vcproj - This is the main project file for VC++ projects generated using an application wizard. - It contains information about the version of Visual C++ that generated the file, and - information about the platforms, configurations, and project features selected with the - application wizard. - -7200Wav.h - This is the main header file for the application. It includes other - project specific headers (including Resource.h) and declares the - C7200WavApp application class. - -7200Wav.cpp - This is the main application source file that contains the application - class C7200WavApp. - -7200Wav.rc - This is a listing of all of the Microsoft Windows resources that the - program uses. It includes the icons, bitmaps, and cursors that are stored - in the RES subdirectory. This file can be directly edited in Microsoft - Visual C++. Your project resources are in 1033. - -res\7200Wav.ico - This is an icon file, which is used as the application's icon. This - icon is included by the main resource file 7200Wav.rc. - -res\My7200Wav.rc2 - This file contains resources that are not edited by Microsoft - Visual C++. You should place all resources not editable by - the resource editor in this file. - - -///////////////////////////////////////////////////////////////////////////// - -The application wizard creates one dialog class: - -7200WavDlg.h, 7200WavDlg.cpp - the dialog - These files contain your C7200WavDlg class. This class defines - the behavior of your application's main dialog. The dialog's template is - in 7200Wav.rc, which can be edited in Microsoft Visual C++. - - -///////////////////////////////////////////////////////////////////////////// - -Other Features: - -ActiveX Controls - The application includes support to use ActiveX controls. - -///////////////////////////////////////////////////////////////////////////// - -Other standard files: - -StdAfx.h, StdAfx.cpp - These files are used to build a precompiled header (PCH) file - named 7200Wav.pch and a precompiled types file named StdAfx.obj. - -Resource.h - This is the standard header file, which defines new resource IDs. - Microsoft Visual C++ reads and updates this file. - -7200Wav.manifest - Application manifest files are used by Windows XP to describe an applications - dependency on specific versions of Side-by-Side assemblies. The loader uses this - information to load the appropriate assembly from the assembly cache or private - from the application. The Application manifest maybe included for redistribution - as an external .manifest file that is installed in the same folder as the application - executable or it may be included in the executable in the form of a resource. -///////////////////////////////////////////////////////////////////////////// - -Other notes: - -The application wizard uses "TODO:" to indicate parts of the source code you -should add to or customize. - -If your application uses MFC in a shared DLL, you will need -to redistribute the MFC DLLs. If your application is in a language -other than the operating system's locale, you will also have to -redistribute the corresponding localized resources MFC90XXX.DLL. -For more information on both of these topics, please see the section on -redistributing Visual C++ applications in MSDN documentation. - -///////////////////////////////////////////////////////////////////////////// diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7200/SDK7200WaveTrig/res/7200Wav.ico b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7200/SDK7200WaveTrig/res/7200Wav.ico deleted file mode 100644 index d56fbcd..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7200/SDK7200WaveTrig/res/7200Wav.ico and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7200/SDK7200WaveTrig/res/My7200Wav.rc2 b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7200/SDK7200WaveTrig/res/My7200Wav.rc2 deleted file mode 100644 index 440d4a5..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7200/SDK7200WaveTrig/res/My7200Wav.rc2 +++ /dev/null @@ -1,13 +0,0 @@ -// -// My7200Wav.RC2 - resources Microsoft Visual C++ does not edit directly -// - -#ifdef APSTUDIO_INVOKED -#error this file is not editable by Microsoft Visual C++ -#endif //APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// Add manually edited resources here... - -///////////////////////////////////////////////////////////////////////////// diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7200/SDK7200WaveTrig/resource.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7200/SDK7200WaveTrig/resource.h deleted file mode 100644 index 69bd550..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7200/SDK7200WaveTrig/resource.h +++ /dev/null @@ -1,29 +0,0 @@ -//{{NO_DEPENDENCIES}} -// Microsoft Visual C++ generated include file. -// Used by 7200Wav.rc -// -#define IDM_ABOUTBOX 0x0010 -#define IDD_ABOUTBOX 100 -#define IDS_ABOUTBOX 101 -#define IDD_MY7200WAV_DIALOG 102 -#define IDR_MAINFRAME 128 -#define IDD_CARDID_DIALOG 129 -#define IDC_STATIC_DRAW 1000 -#define IDC_EDIT_SAMPLE 1001 -#define IDC_EDIT_SAMPLE_RATE 1003 -#define IDC_SCROLLBAR_RATE 1006 -#define IDC_COMBO_CARDID 1007 -#define IDC_BT_START 1008 -#define IDC_BT_STOP 1009 -#define IDC_STATIC_01 1014 - -// Next default values for new objects -// -#ifdef APSTUDIO_INVOKED -#ifndef APSTUDIO_READONLY_SYMBOLS -#define _APS_NEXT_RESOURCE_VALUE 131 -#define _APS_NEXT_COMMAND_VALUE 32771 -#define _APS_NEXT_CONTROL_VALUE 1000 -#define _APS_NEXT_SYMED_VALUE 101 -#endif -#endif diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7200/SDK7200WaveTrig/stdafx.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7200/SDK7200WaveTrig/stdafx.cpp deleted file mode 100644 index b5184d9..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7200/SDK7200WaveTrig/stdafx.cpp +++ /dev/null @@ -1,8 +0,0 @@ - -// stdafx.cpp : source file that includes just the standard includes -// 7200Wav.pch will be the pre-compiled header -// stdafx.obj will contain the pre-compiled type information - -#include "stdafx.h" - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7200/SDK7200WaveTrig/stdafx.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7200/SDK7200WaveTrig/stdafx.h deleted file mode 100644 index 12123e2..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7200/SDK7200WaveTrig/stdafx.h +++ /dev/null @@ -1,60 +0,0 @@ - -// stdafx.h : include file for standard system include files, -// or project specific include files that are used frequently, -// but are changed infrequently - -#pragma once - -#ifndef _SECURE_ATL -#define _SECURE_ATL 1 -#endif - -#ifndef VC_EXTRALEAN -#define VC_EXTRALEAN // Exclude rarely-used stuff from Windows headers -#endif - -#include "targetver.h" - -#define _ATL_CSTRING_EXPLICIT_CONSTRUCTORS // some CString constructors will be explicit - -// turns off MFC's hiding of some common and often safely ignored warning messages -#define _AFX_ALL_WARNINGS - -#include // MFC core and standard components -#include // MFC extensions - - -#include // MFC Automation classes - - - -#ifndef _AFX_NO_OLE_SUPPORT -#include // MFC support for Internet Explorer 4 Common Controls -#endif -#ifndef _AFX_NO_AFXCMN_SUPPORT -#include // MFC support for Windows Common Controls -#endif // _AFX_NO_AFXCMN_SUPPORT - -#include // MFC support for ribbons and control bars - - - - - - - - - -#ifdef _UNICODE -#if defined _M_IX86 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='x86' publicKeyToken='6595b64144ccf1df' language='*'\"") -#elif defined _M_IA64 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='ia64' publicKeyToken='6595b64144ccf1df' language='*'\"") -#elif defined _M_X64 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='amd64' publicKeyToken='6595b64144ccf1df' language='*'\"") -#else -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='*' publicKeyToken='6595b64144ccf1df' language='*'\"") -#endif -#endif - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7200/SDK7200WaveTrig/targetver.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7200/SDK7200WaveTrig/targetver.h deleted file mode 100644 index 11730d5..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7200/SDK7200WaveTrig/targetver.h +++ /dev/null @@ -1,26 +0,0 @@ - -#pragma once - -// The following macros define the minimum required platform. The minimum required platform -// is the earliest version of Windows, Internet Explorer etc. that has the necessary features to run -// your application. The macros work by enabling all features available on platform versions up to and -// including the version specified. - -// Modify the following defines if you have to target a platform prior to the ones specified below. -// Refer to MSDN for the latest info on corresponding values for different platforms. -#ifndef WINVER // Specifies that the minimum required platform is Windows Vista. -#define WINVER 0x0600 // Change this to the appropriate value to target other versions of Windows. -#endif - -#ifndef _WIN32_WINNT // Specifies that the minimum required platform is Windows Vista. -#define _WIN32_WINNT 0x0600 // Change this to the appropriate value to target other versions of Windows. -#endif - -#ifndef _WIN32_WINDOWS // Specifies that the minimum required platform is Windows 98. -#define _WIN32_WINDOWS 0x0410 // Change this to the appropriate value to target Windows Me or later. -#endif - -#ifndef _WIN32_IE // Specifies that the minimum required platform is Internet Explorer 7.0. -#define _WIN32_IE 0x0700 // Change this to the appropriate value to target other versions of IE. -#endif - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7200/Sdk7200DbfCallBack/7200Cwav.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7200/Sdk7200DbfCallBack/7200Cwav.cpp deleted file mode 100644 index 014aede..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7200/Sdk7200DbfCallBack/7200Cwav.cpp +++ /dev/null @@ -1,110 +0,0 @@ - -// 7200Cwav.cpp : Defines the class behaviors for the application. -// - -#include "stdafx.h" -#include "7200Cwav.h" -#include "7200CwavDlg.h" -#include "CardIDDlg.h" - -#ifdef _DEBUG -#define new DEBUG_NEW -#endif - - -// C7200CwavApp - -BEGIN_MESSAGE_MAP(C7200CwavApp, CWinAppEx) - ON_COMMAND(ID_HELP, &CWinApp::OnHelp) -END_MESSAGE_MAP() - - -// C7200CwavApp construction - -C7200CwavApp::C7200CwavApp() -{ - // TODO: add construction code here, - // Place all significant initialization in InitInstance -} - - -// The one and only C7200CwavApp object - -C7200CwavApp theApp; - - -// C7200CwavApp initialization - -BOOL C7200CwavApp::InitInstance() -{ - int nCardID = 0; - I16 hCard; - CString strTemp; - INT_PTR nResponse; - - // InitCommonControlsEx() is required on Windows XP if an application - // manifest specifies use of ComCtl32.dll version 6 or later to enable - // visual styles. Otherwise, any window creation will fail. - INITCOMMONCONTROLSEX InitCtrls; - InitCtrls.dwSize = sizeof(InitCtrls); - // Set this to include all the common control classes you want to use - // in your application. - InitCtrls.dwICC = ICC_WIN95_CLASSES; - InitCommonControlsEx(&InitCtrls); - - CWinAppEx::InitInstance(); - - AfxEnableControlContainer(); - - // Standard initialization - // If you are not using these features and wish to reduce the size - // of your final executable, you should remove from the following - // the specific initialization routines you do not need - // Change the registry key under which our settings are stored - // TODO: You should modify this string to be something appropriate - // such as the name of your company or organization - SetRegistryKey(_T("Local AppWizard-Generated Applications")); - - CCardIDDlg CardDlg( nCardID ); - - nResponse = CardDlg.DoModal(); - if (nResponse == IDOK) - { - nCardID = CardDlg.GetCardID(); - - if ((hCard=Register_Card(PCI_7200, nCardID)) < 0) - { - strTemp.Format( TEXT("Register_Card Error = %d"), hCard); - AfxMessageBox( strTemp ); - } - else - { - C7200CwavDlg dlg(hCard); - m_pMainWnd = &dlg; - nResponse = dlg.DoModal(); - if (nResponse == IDOK) - { - // TODO: Place code here to handle when the dialog is - // dismissed with OK - } - else if (nResponse == IDCANCEL) - { - // TODO: Place code here to handle when the dialog is - // dismissed with Cancel - } - - if (hCard >= 0) Release_Card(hCard); - } - - } - else if (nResponse == IDCANCEL) - { - // TODO: Place code here to handle when the dialog is - // dismissed with Cancel - } - - - // Since the dialog has been closed, return FALSE so that we exit the - // application, rather than start the application's message pump. - return FALSE; -} diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7200/Sdk7200DbfCallBack/7200Cwav.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7200/Sdk7200DbfCallBack/7200Cwav.h deleted file mode 100644 index 39a18cc..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7200/Sdk7200DbfCallBack/7200Cwav.h +++ /dev/null @@ -1,32 +0,0 @@ - -// 7200Cwav.h : main header file for the PROJECT_NAME application -// - -#pragma once - -#ifndef __AFXWIN_H__ - #error "include 'stdafx.h' before including this file for PCH" -#endif - -#include "resource.h" // main symbols - - -// C7200CwavApp: -// See 7200Cwav.cpp for the implementation of this class -// - -class C7200CwavApp : public CWinAppEx -{ -public: - C7200CwavApp(); - -// Overrides - public: - virtual BOOL InitInstance(); - -// Implementation - - DECLARE_MESSAGE_MAP() -}; - -extern C7200CwavApp theApp; \ No newline at end of file diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7200/Sdk7200DbfCallBack/7200Cwav.rc b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7200/Sdk7200DbfCallBack/7200Cwav.rc deleted file mode 100644 index a5f1221..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7200/Sdk7200DbfCallBack/7200Cwav.rc +++ /dev/null @@ -1,283 +0,0 @@ -// Microsoft Visual C++ generated resource script. -// -#include "resource.h" - -#define APSTUDIO_READONLY_SYMBOLS -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 2 resource. -// -#ifndef APSTUDIO_INVOKED -#include "targetver.h" -#endif -#include "afxres.h" - -///////////////////////////////////////////////////////////////////////////// -#undef APSTUDIO_READONLY_SYMBOLS - -///////////////////////////////////////////////////////////////////////////// -// Chinese (Taiwan) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_CHT) -#ifdef _WIN32 -LANGUAGE LANG_CHINESE, SUBLANG_CHINESE_TRADITIONAL -#pragma code_page(950) -#endif //_WIN32 - -#ifdef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// TEXTINCLUDE -// - -1 TEXTINCLUDE -BEGIN - "resource.h\0" -END - -2 TEXTINCLUDE -BEGIN - "#ifndef APSTUDIO_INVOKED\r\n" - "#include ""targetver.h""\r\n" - "#endif\r\n" - "#include ""afxres.h""\r\n" - "\0" -END - -3 TEXTINCLUDE -BEGIN - "#define _AFX_NO_SPLITTER_RESOURCES\r\n" - "#define _AFX_NO_OLE_RESOURCES\r\n" - "#define _AFX_NO_TRACKER_RESOURCES\r\n" - "#define _AFX_NO_PROPERTY_RESOURCES\r\n" - "\r\n" - "#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)\r\n" - "LANGUAGE 9, 1\r\n" - "#pragma code_page(1252)\r\n" - "#include ""res\\My7200Cwav.rc2"" // non-Microsoft Visual C++ edited resources\r\n" - "#include ""afxres.rc"" // Standard components\r\n" - "#endif\r\n" - "\0" -END - -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// Icon -// - -// Icon with lowest ID value placed first to ensure application icon -// remains consistent on all systems. -IDR_MAINFRAME ICON "res\\7200Cwav.ico" -#endif // Chinese (Taiwan) resources -///////////////////////////////////////////////////////////////////////////// - - -///////////////////////////////////////////////////////////////////////////// -// English (U.S.) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -#ifdef _WIN32 -LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US -#pragma code_page(1252) -#endif //_WIN32 - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog -// - -IDD_ABOUTBOX DIALOGEX 0, 0, 170, 62 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "About 7200Cwav" -FONT 8, "MS Shell Dlg", 0, 0, 0x1 -BEGIN - ICON IDR_MAINFRAME,IDC_STATIC,14,14,21,20 - LTEXT "7200Cwav, Version 1.0",IDC_STATIC,42,14,114,8,SS_NOPREFIX - LTEXT "Copyright (C) 2010",IDC_STATIC,42,26,114,8 - DEFPUSHBUTTON "OK",IDOK,113,41,50,14,WS_GROUP -END - -IDD_MY7200CWAV_DIALOG DIALOGEX 0, 0, 378, 200 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU -EXSTYLE WS_EX_APPWINDOW -CAPTION "PCI-7200 Double Buffer DMA" -FONT 8, "MS Shell Dlg", 0, 0, 0x1 -BEGIN - GROUPBOX "",IDC_STATIC_DRAW,71,7,293,138,NOT WS_VISIBLE - EDITTEXT IDC_EDIT_SAMPLE,135,153,51,12,ES_AUTOHSCROLL - LTEXT "DI Samples :",IDC_STATIC,86,154,45,9 - EDITTEXT IDC_EDIT_SAMPLE_RATE,249,154,30,12,ES_AUTOHSCROLL | ES_READONLY - LTEXT "Sample Rate :",IDC_STATIC,196,154,49,9 - LTEXT "KHz",IDC_STATIC,292,156,15,9 - SCROLLBAR IDC_SCROLLBAR_RATE,280,154,9,11,SBS_VERT - PUSHBUTTON "Start",IDC_BT_START,315,151,48,17 - PUSHBUTTON "Stop",IDC_BT_STOP,315,170,48,17,WS_DISABLED -END - -IDD_CARDID_DIALOG DIALOGEX 0, 0, 170, 84 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "Card ID" -FONT 8, "MS Shell Dlg", 400, 0, 0x1 -BEGIN - COMBOBOX IDC_COMBO_CARDID,75,17,71,126,CBS_DROPDOWN | WS_VSCROLL | WS_TABSTOP - LTEXT "Card Number",IDC_STATIC_01,21,18,46,12 - PUSHBUTTON "OK",IDOK,22,50,58,19 - PUSHBUTTON "CANCEL",IDCANCEL,86,50,58,19 -END - - -///////////////////////////////////////////////////////////////////////////// -// -// Version -// - -VS_VERSION_INFO VERSIONINFO - FILEVERSION 1,0,0,1 - PRODUCTVERSION 1,0,0,1 - FILEFLAGSMASK 0x3fL -#ifdef _DEBUG - FILEFLAGS 0x1L -#else - FILEFLAGS 0x0L -#endif - FILEOS 0x4L - FILETYPE 0x1L - FILESUBTYPE 0x0L -BEGIN - BLOCK "StringFileInfo" - BEGIN - BLOCK "040904e4" - BEGIN - VALUE "CompanyName", "TODO: " - VALUE "FileDescription", "TODO: " - VALUE "FileVersion", "1.0.0.1" - VALUE "InternalName", "7200Cwav.exe" - VALUE "LegalCopyright", "TODO: (c) . All rights reserved." - VALUE "OriginalFilename", "7200Cwav.exe" - VALUE "ProductName", "TODO: " - VALUE "ProductVersion", "1.0.0.1" - END - END - BLOCK "VarFileInfo" - BEGIN - VALUE "Translation", 0x409, 1252 - END -END - - -///////////////////////////////////////////////////////////////////////////// -// -// DESIGNINFO -// - -#ifdef APSTUDIO_INVOKED -GUIDELINES DESIGNINFO -BEGIN - IDD_ABOUTBOX, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 163 - TOPMARGIN, 7 - BOTTOMMARGIN, 55 - END - - IDD_MY7200CWAV_DIALOG, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 371 - TOPMARGIN, 7 - BOTTOMMARGIN, 193 - END - - IDD_CARDID_DIALOG, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 163 - TOPMARGIN, 7 - BOTTOMMARGIN, 77 - END -END -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog Info -// - -IDD_CARDID_DIALOG DLGINIT -BEGIN - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0030, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0031, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0032, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0033, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0034, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0035, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0036, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0037, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0038, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0039, - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3031, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3131, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3231, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3331, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3431, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3531, "\000" - 0 -END - - -///////////////////////////////////////////////////////////////////////////// -// -// String Table -// - -STRINGTABLE -BEGIN - IDS_ABOUTBOX "&About 7200Cwav..." -END - -#endif // English (U.S.) resources -///////////////////////////////////////////////////////////////////////////// - - - -#ifndef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 3 resource. -// -#define _AFX_NO_SPLITTER_RESOURCES -#define _AFX_NO_OLE_RESOURCES -#define _AFX_NO_TRACKER_RESOURCES -#define _AFX_NO_PROPERTY_RESOURCES - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -LANGUAGE 9, 1 -#pragma code_page(1252) -#include "res\My7200Cwav.rc2" // non-Microsoft Visual C++ edited resources -#include "afxres.rc" // Standard components -#endif - -///////////////////////////////////////////////////////////////////////////// -#endif // not APSTUDIO_INVOKED - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7200/Sdk7200DbfCallBack/7200Cwav.sln b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7200/Sdk7200DbfCallBack/7200Cwav.sln deleted file mode 100644 index a5f4b20..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7200/Sdk7200DbfCallBack/7200Cwav.sln +++ /dev/null @@ -1,20 +0,0 @@ - -Microsoft Visual Studio Solution File, Format Version 10.00 -# Visual Studio 2008 -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "7200Cwav", "7200Cwav.vcproj", "{268F1235-1696-46A0-AF19-03CA3312B5D0}" -EndProject -Global - GlobalSection(SolutionConfigurationPlatforms) = preSolution - Debug|x64 = Debug|x64 - Release|x64 = Release|x64 - EndGlobalSection - GlobalSection(ProjectConfigurationPlatforms) = postSolution - {268F1235-1696-46A0-AF19-03CA3312B5D0}.Debug|x64.ActiveCfg = Debug|x64 - {268F1235-1696-46A0-AF19-03CA3312B5D0}.Debug|x64.Build.0 = Debug|x64 - {268F1235-1696-46A0-AF19-03CA3312B5D0}.Release|x64.ActiveCfg = Release|x64 - {268F1235-1696-46A0-AF19-03CA3312B5D0}.Release|x64.Build.0 = Release|x64 - EndGlobalSection - GlobalSection(SolutionProperties) = preSolution - HideSolutionNode = FALSE - EndGlobalSection -EndGlobal diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7200/Sdk7200DbfCallBack/7200Cwav.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7200/Sdk7200DbfCallBack/7200Cwav.suo deleted file mode 100644 index 3594881..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7200/Sdk7200DbfCallBack/7200Cwav.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7200/Sdk7200DbfCallBack/7200Cwav.vcproj b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7200/Sdk7200DbfCallBack/7200Cwav.vcproj deleted file mode 100644 index 9a17907..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7200/Sdk7200DbfCallBack/7200Cwav.vcproj +++ /dev/null @@ -1,286 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7200/Sdk7200DbfCallBack/7200CwavDlg.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7200/Sdk7200DbfCallBack/7200CwavDlg.cpp deleted file mode 100644 index 8596bd4..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7200/Sdk7200DbfCallBack/7200CwavDlg.cpp +++ /dev/null @@ -1,517 +0,0 @@ - -// 7200CwavDlg.cpp : implementation file -// - -#include "stdafx.h" -#include "math.h" -#include "7200Cwav.h" -#include "7200CwavDlg.h" - -#ifndef M_PI -#define M_PI 3.14159265359 -#endif - -#ifdef _DEBUG -#define new DEBUG_NEW -#endif - -CRect plotRect; - -I16 g_hCard; -U32* g_pDIAddr; - -#ifdef _SELF_OUTPUT_ -ULONG DoBuf[10240]; -BOOLEAN bOutStopped; -ULONG out_count; -#endif - -void DI_DBCallBack() -{ - I16 err; - C7200CwavApp* pMyApp; - C7200CwavDlg* pMyDlg; - - err =DI_AsyncDblBufferTransfer( g_hCard, g_pDIAddr ); - - pMyApp = (C7200CwavApp*)AfxGetApp(); - pMyDlg = (C7200CwavDlg*)(pMyApp->m_pMainWnd); - - pMyDlg->redraw_display_area(); - pMyDlg->display_buffer_data( g_pDIAddr ); - -} - -void DI_EndCallBack() -{ - I16 err; - U32 count; - - err = DI_AsyncClear(g_hCard, &count); - -#ifdef _SELF_OUTPUT_ - err = DO_AsyncClear(g_hCard, &out_count); -#endif -} - - -// CAboutDlg dialog used for App About - -class CAboutDlg : public CDialog -{ -public: - CAboutDlg(); - -// Dialog Data - enum { IDD = IDD_ABOUTBOX }; - - protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - -// Implementation -protected: - DECLARE_MESSAGE_MAP() -}; - -CAboutDlg::CAboutDlg() : CDialog(CAboutDlg::IDD) -{ -} - -void CAboutDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); -} - -BEGIN_MESSAGE_MAP(CAboutDlg, CDialog) -END_MESSAGE_MAP() - - -// C7200CwavDlg dialog - - - - -C7200CwavDlg::C7200CwavDlg(I16 hCard, CWnd* pParent /*=NULL*/) - : CDialog(C7200CwavDlg::IDD, pParent) -{ - m_hIcon = AfxGetApp()->LoadIcon(IDR_MAINFRAME); - - g_hCard = hCard; - - OnBrush = OffBrush = NULL; - - n_PlotWidth = -1; - n_PlotHeight = -1; - - min_val = 0x00; - max_val = 0xFFFFFFFF; - - m_fSampleRate = 100000.0; // 100KHz - m_dwDISamples = 40960; - g_pDIAddr = NULL; - -#ifdef _SELF_OUTPUT_ - for (int i=0; i<10240; i++) - { - DoBuf[i] = (U32)(sin((double)i/1024*M_PI)*0x7FFFFFFF)+0x80000000; - } -#endif - -} - -void C7200CwavDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); -} - -BEGIN_MESSAGE_MAP(C7200CwavDlg, CDialog) - ON_WM_SYSCOMMAND() - ON_WM_PAINT() - ON_WM_QUERYDRAGICON() - //}}AFX_MSG_MAP - ON_WM_DESTROY() -// ON_WM_TIMER() - ON_BN_CLICKED(IDC_BT_START, &C7200CwavDlg:: OnStart) - ON_BN_CLICKED(IDC_BT_STOP, &C7200CwavDlg::OnStop) - ON_WM_VSCROLL() -END_MESSAGE_MAP() - - -// C7200CwavDlg message handlers - -BOOL C7200CwavDlg::OnInitDialog() -{ - CDialog::OnInitDialog(); - - // Add "About..." menu item to system menu. - - // IDM_ABOUTBOX must be in the system command range. - ASSERT((IDM_ABOUTBOX & 0xFFF0) == IDM_ABOUTBOX); - ASSERT(IDM_ABOUTBOX < 0xF000); - - CMenu* pSysMenu = GetSystemMenu(FALSE); - if (pSysMenu != NULL) - { - BOOL bNameValid; - CString strAboutMenu; - bNameValid = strAboutMenu.LoadString(IDS_ABOUTBOX); - ASSERT(bNameValid); - if (!strAboutMenu.IsEmpty()) - { - pSysMenu->AppendMenu(MF_SEPARATOR); - pSysMenu->AppendMenu(MF_STRING, IDM_ABOUTBOX, strAboutMenu); - } - } - - // Set the icon for this dialog. The framework does this automatically - // when the application's main window is not a dialog - SetIcon(m_hIcon, TRUE); // Set big icon - SetIcon(m_hIcon, FALSE); // Set small icon - - // TODO: Add extra initialization here - x_divider = 5; y_divider = 2; - - OnBrush = CreateSolidBrush( RGB(255,0,0) ); - OffBrush = CreateSolidBrush( RGB(125,0,0) ); - - RedPen.CreatePen( PS_SOLID, 1, RGB(255,0,0)); - GreenPen.CreatePen( PS_SOLID, 1, RGB(0,255,0)); - - if( n_PlotWidth == -1 && n_PlotHeight == -1 ) - { - ((CWnd*)GetDlgItem(IDC_STATIC_DRAW))->GetWindowRect(&plotRect); - ScreenToClient(&plotRect); - - n_PlotWidth = min( plotRect.Width(), 512); - n_PlotHeight = plotRect.Height() - 10; - } - - // set the default SampleRate - SetDlgItemInt( IDC_EDIT_SAMPLE_RATE, (UINT)(m_fSampleRate/1000) ); - - // Set the default DI Sample - SetDlgItemInt( IDC_EDIT_SAMPLE, (UINT)(m_dwDISamples) ); - - return TRUE; // return TRUE unless you set the focus to a control -} - -void C7200CwavDlg::OnSysCommand(UINT nID, LPARAM lParam) -{ - if ((nID & 0xFFF0) == IDM_ABOUTBOX) - { - CAboutDlg dlgAbout; - dlgAbout.DoModal(); - } - else - { - CDialog::OnSysCommand(nID, lParam); - } -} - -// If you add a minimize button to your dialog, you will need the code below -// to draw the icon. For MFC applications using the document/view model, -// this is automatically done for you by the framework. - -void C7200CwavDlg::OnPaint() -{ - if (IsIconic()) - { - CPaintDC dc(this); // device context for painting - - SendMessage(WM_ICONERASEBKGND, reinterpret_cast(dc.GetSafeHdc()), 0); - - // Center icon in client rectangle - int cxIcon = GetSystemMetrics(SM_CXICON); - int cyIcon = GetSystemMetrics(SM_CYICON); - CRect rect; - GetClientRect(&rect); - int x = (rect.Width() - cxIcon + 1) / 2; - int y = (rect.Height() - cyIcon + 1) / 2; - - // Draw the icon - dc.DrawIcon(x, y, m_hIcon); - } - else - { - redraw_display_area(); - CDialog::OnPaint(); - } -} - -// The system calls this function to obtain the cursor to display while the user drags -// the minimized window. -HCURSOR C7200CwavDlg::OnQueryDragIcon() -{ - return static_cast(m_hIcon); -} - - -void C7200CwavDlg::OnDestroy() -{ - U32 count; - - CDialog::OnDestroy(); - - // TODO: Add your message handler code here - if( OnBrush != NULL ) - ::DeleteObject( OnBrush ); - - if( OffBrush != NULL ) - ::DeleteObject( OffBrush ); - - RedPen.DeleteObject(); - GreenPen.DeleteObject(); - - if( g_pDIAddr != NULL ) - { - free( g_pDIAddr ); - g_pDIAddr = NULL; - } - - DI_AsyncClear( g_hCard, &count ); - - DI_EventCallBack_x64( g_hCard, 0, DIEnd, (ULONG_PTR)DI_EndCallBack ); - DI_EventCallBack_x64( g_hCard, 0, DBEvent, (ULONG_PTR)DI_DBCallBack ); - -#ifdef _SELF_OUTPUT_ - DO_AsyncClear( g_hCard, &out_count ); -#endif - - -} - - -void C7200CwavDlg:: OnStart() -{ - // TODO: Add your control notification handler code here - U32 dwMemSize, dwDISamples; - void* pMem; - I16 err; - CString strMsg; - - dwDISamples = GetDlgItemInt( IDC_EDIT_SAMPLE ); - - if( dwDISamples != m_dwDISamples ) - { - if( g_pDIAddr != NULL ) - { - free( g_pDIAddr ); - g_pDIAddr = NULL; - } - m_dwDISamples = dwDISamples; - } - - - dwMemSize = (m_dwDISamples * 2); // (m_dwDISamples * sizeof(U32)/2 ) - pMem = malloc( dwMemSize ); - if( pMem == NULL ) - { - AfxMessageBox( TEXT("Memory allocated failed") ); - return; - } - else - { - g_pDIAddr = (U32*) pMem; - memset( g_pDIAddr, '\0', dwMemSize ); - } - - -#ifdef _SELF_OUTPUT_ - DO_7200_Config(g_hCard, TRIG_INT_PACER, OREQ_DISABLE, OTRIG_LOW); - //DO_AsyncDblBufferMode(g_hCard, 0); -#endif - if ((err=DI_7200_Config(g_hCard, TRIG_INT_PACER, DI_NOWAITING, DI_TRIG_FALLING, IREQ_FALLING)) != NoError) - { - strMsg.Format( TEXT("DI_Config Error = %d"), err); - AfxMessageBox( strMsg ); - return; - } - - if ((err=DI_AsyncDblBufferMode (g_hCard, 1)) != NoError) - { - strMsg.Format( TEXT("DI_AsyncDblBufferMode Error = %d"), err); - AfxMessageBox( strMsg ); - return; - } - -#ifdef _SELF_OUTPUT_ - DO_ContWritePort(g_hCard, 0, DoBuf, 10240, 0, m_fSampleRate, ASYNCH_OP); -#endif - - DI_EventCallBack_x64 (g_hCard, 1, DIEnd, (ULONG_PTR) DI_EndCallBack ); - DI_EventCallBack_x64 (g_hCard, 1, DBEvent, (ULONG_PTR) DI_DBCallBack ); - - if ((err=DI_ContReadPort(g_hCard, 0, pMem, m_dwDISamples, m_fSampleRate, ASYNCH_OP)) != NoError) - { - strMsg.Format( TEXT("DI_ContReadPort Error = %d"), err); - AfxMessageBox( strMsg ); - return; - } - - GetDlgItem( IDC_BT_START )->EnableWindow( FALSE ); - GetDlgItem( IDC_BT_STOP )->EnableWindow( TRUE ); -} - -void C7200CwavDlg::OnStop() -{ - // TODO: Add your control notification handler code here - U32 count; - - DI_AsyncClear(g_hCard, &count); - -#ifdef _SELF_OUTPUT_ - DO_AsyncClear(g_hCard, &out_count); -#endif - - GetDlgItem( IDC_BT_START )->EnableWindow( TRUE ); - GetDlgItem( IDC_BT_STOP )->EnableWindow( TRUE ); -} - -void C7200CwavDlg::display_buffer_data(U32* pBuf) -{ - CClientDC dc_plot(this); - int nDraw_Bottom; - - int newY, oldY = -1; - int newX, oldX = -1; - U32 index, di_data; - U32 dwDISamples = (m_dwDISamples/2); - - nDraw_Bottom = ( plotRect.bottom - 5 ); - dc_plot.SelectObject( &GreenPen ); - - for( index=0; index 1000000.0 ) - m_fSampleRate = 1000000.0; - - break; - case SB_LINEDOWN: - m_fSampleRate -= 50000; - if (m_fSampleRate < 50000 ) - m_fSampleRate = 50000; - - break; - } - - SetDlgItemInt( IDC_EDIT_SAMPLE_RATE, (UINT)(m_fSampleRate/1000) ); - - CDialog::OnVScroll(nSBCode, nPos, pScrollBar); -} diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7200/Sdk7200DbfCallBack/7200CwavDlg.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7200/Sdk7200DbfCallBack/7200CwavDlg.h deleted file mode 100644 index e9ea604..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7200/Sdk7200DbfCallBack/7200CwavDlg.h +++ /dev/null @@ -1,56 +0,0 @@ - -// 7200CwavDlg.h : header file -// - -#include "Dask64.h" - -#pragma once - - -// C7200CwavDlg dialog -class C7200CwavDlg : public CDialog -{ -// Construction -public: - C7200CwavDlg(I16 hCard, CWnd* pParent = NULL); // standard constructor - -// Dialog Data - enum { IDD = IDD_MY7200CWAV_DIALOG }; - - protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - - -// Implementation -protected: - HICON m_hIcon; - U32 m_dwDISamples; - HBRUSH OnBrush; - HBRUSH OffBrush; - CPen RedPen; - CPen GreenPen; - DWORD max_val; - DWORD min_val; - int y_divider; - int x_divider; - int m_DisplayScale; - double m_fSampleRate; - - // Generated message map functions - virtual BOOL OnInitDialog(); - afx_msg void OnSysCommand(UINT nID, LPARAM lParam); - afx_msg void OnPaint(); - afx_msg HCURSOR OnQueryDragIcon(); - DECLARE_MESSAGE_MAP() - -private: - int n_PlotHeight; - int n_PlotWidth; -public: - afx_msg void OnDestroy(); - afx_msg void OnStart(); - afx_msg void OnStop(); - void display_buffer_data(U32* pBuf); - void redraw_display_area(void); - afx_msg void OnVScroll(UINT nSBCode, UINT nPos, CScrollBar* pScrollBar); -}; diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7200/Sdk7200DbfCallBack/CardIDDlg.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7200/Sdk7200DbfCallBack/CardIDDlg.cpp deleted file mode 100644 index fbe3210..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7200/Sdk7200DbfCallBack/CardIDDlg.cpp +++ /dev/null @@ -1,67 +0,0 @@ -// CardIDDlg.cpp : implementation file -// - -#include "stdafx.h" -#include "7200Cwav.h" -#include "CardIDDlg.h" - - -// CCardIDDlg dialog - -IMPLEMENT_DYNAMIC(CCardIDDlg, CDialog) - -CCardIDDlg::CCardIDDlg(int nCardIdx, CWnd* pParent /*=NULL*/) - : CDialog(CCardIDDlg::IDD, pParent) -{ - m_nCardIdx = nCardIdx; -} - -CCardIDDlg::~CCardIDDlg() -{ -} - -void CCardIDDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); - DDX_Control(pDX, IDC_COMBO_CARDID, m_cbCardID); -} - - -BEGIN_MESSAGE_MAP(CCardIDDlg, CDialog) -// ON_CBN_SELCHANGE(IDC_COMBO_CARDID, &CCardIDDlg::OnCbnSelchangeComboCardid) -ON_BN_CLICKED(IDOK, &CCardIDDlg::OnBnClickedOk) -//ON_WM_CTLCOLOR() -END_MESSAGE_MAP() - - -// CCardIDDlg message handlers - - -void CCardIDDlg::OnBnClickedOk() -{ - // TODO: Add your control notification handler code here - -// UpdateData(TRUE); - m_nCardIdx = m_cbCardID.GetCurSel(); - - OnOK(); -} - -BOOL CCardIDDlg::OnInitDialog() -{ - CDialog::OnInitDialog(); - - // TODO: Add extra initialization here - m_cbCardID.SetCurSel( m_nCardIdx ); - - return TRUE; // return TRUE unless you set the focus to a control - // EXCEPTION: OCX Property Pages should return FALSE -} - -// the function to get the selected CardID -int CCardIDDlg::GetCardID(void) -{ - return m_nCardIdx; -} - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7200/Sdk7200DbfCallBack/CardIDDlg.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7200/Sdk7200DbfCallBack/CardIDDlg.h deleted file mode 100644 index 54628ea..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7200/Sdk7200DbfCallBack/CardIDDlg.h +++ /dev/null @@ -1,33 +0,0 @@ -#pragma once -#include "afxwin.h" - - -// CCardIDDlg dialog - -class CCardIDDlg : public CDialog -{ - DECLARE_DYNAMIC(CCardIDDlg) - -public: - CCardIDDlg(int nCardIdx, CWnd* pParent = NULL); // standard constructor - virtual ~CCardIDDlg(); - -// Dialog Data - enum { IDD = IDD_CARDID_DIALOG }; - -protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - - DECLARE_MESSAGE_MAP() -public: -// afx_msg void OnCbnSelchangeComboCardid(); - afx_msg void OnBnClickedOk(); - // the setting of CardID ComboBox - int m_nCardIdx; - virtual BOOL OnInitDialog(); - // the control of CardID ComboBox - CComboBox m_cbCardID; - // the function to get the selected CardID - int GetCardID(void); -// afx_msg HBRUSH OnCtlColor(CDC* pDC, CWnd* pWnd, UINT nCtlColor); -}; diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7200/Sdk7200DbfCallBack/ReadMe.txt b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7200/Sdk7200DbfCallBack/ReadMe.txt deleted file mode 100644 index b31344c..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7200/Sdk7200DbfCallBack/ReadMe.txt +++ /dev/null @@ -1,93 +0,0 @@ -================================================================================ - MICROSOFT FOUNDATION CLASS LIBRARY : 7200Cwav Project Overview -=============================================================================== - -The application wizard has created this 7200Cwav application for -you. This application not only demonstrates the basics of using the Microsoft -Foundation Classes but is also a starting point for writing your application. - -This file contains a summary of what you will find in each of the files that -make up your 7200Cwav application. - -7200Cwav.vcproj - This is the main project file for VC++ projects generated using an application wizard. - It contains information about the version of Visual C++ that generated the file, and - information about the platforms, configurations, and project features selected with the - application wizard. - -7200Cwav.h - This is the main header file for the application. It includes other - project specific headers (including Resource.h) and declares the - C7200CwavApp application class. - -7200Cwav.cpp - This is the main application source file that contains the application - class C7200CwavApp. - -7200Cwav.rc - This is a listing of all of the Microsoft Windows resources that the - program uses. It includes the icons, bitmaps, and cursors that are stored - in the RES subdirectory. This file can be directly edited in Microsoft - Visual C++. Your project resources are in 1033. - -res\7200Cwav.ico - This is an icon file, which is used as the application's icon. This - icon is included by the main resource file 7200Cwav.rc. - -res\My7200Cwav.rc2 - This file contains resources that are not edited by Microsoft - Visual C++. You should place all resources not editable by - the resource editor in this file. - - -///////////////////////////////////////////////////////////////////////////// - -The application wizard creates one dialog class: - -7200CwavDlg.h, 7200CwavDlg.cpp - the dialog - These files contain your C7200CwavDlg class. This class defines - the behavior of your application's main dialog. The dialog's template is - in 7200Cwav.rc, which can be edited in Microsoft Visual C++. - - -///////////////////////////////////////////////////////////////////////////// - -Other Features: - -ActiveX Controls - The application includes support to use ActiveX controls. - -///////////////////////////////////////////////////////////////////////////// - -Other standard files: - -StdAfx.h, StdAfx.cpp - These files are used to build a precompiled header (PCH) file - named 7200Cwav.pch and a precompiled types file named StdAfx.obj. - -Resource.h - This is the standard header file, which defines new resource IDs. - Microsoft Visual C++ reads and updates this file. - -7200Cwav.manifest - Application manifest files are used by Windows XP to describe an applications - dependency on specific versions of Side-by-Side assemblies. The loader uses this - information to load the appropriate assembly from the assembly cache or private - from the application. The Application manifest maybe included for redistribution - as an external .manifest file that is installed in the same folder as the application - executable or it may be included in the executable in the form of a resource. -///////////////////////////////////////////////////////////////////////////// - -Other notes: - -The application wizard uses "TODO:" to indicate parts of the source code you -should add to or customize. - -If your application uses MFC in a shared DLL, you will need -to redistribute the MFC DLLs. If your application is in a language -other than the operating system's locale, you will also have to -redistribute the corresponding localized resources MFC90XXX.DLL. -For more information on both of these topics, please see the section on -redistributing Visual C++ applications in MSDN documentation. - -///////////////////////////////////////////////////////////////////////////// diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7200/Sdk7200DbfCallBack/res/7200Cwav.ico b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7200/Sdk7200DbfCallBack/res/7200Cwav.ico deleted file mode 100644 index d56fbcd..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7200/Sdk7200DbfCallBack/res/7200Cwav.ico and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7200/Sdk7200DbfCallBack/res/My7200Cwav.rc2 b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7200/Sdk7200DbfCallBack/res/My7200Cwav.rc2 deleted file mode 100644 index 9a31966..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7200/Sdk7200DbfCallBack/res/My7200Cwav.rc2 +++ /dev/null @@ -1,13 +0,0 @@ -// -// My7200Cwav.RC2 - resources Microsoft Visual C++ does not edit directly -// - -#ifdef APSTUDIO_INVOKED -#error this file is not editable by Microsoft Visual C++ -#endif //APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// Add manually edited resources here... - -///////////////////////////////////////////////////////////////////////////// diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7200/Sdk7200DbfCallBack/resource.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7200/Sdk7200DbfCallBack/resource.h deleted file mode 100644 index 286492e..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7200/Sdk7200DbfCallBack/resource.h +++ /dev/null @@ -1,29 +0,0 @@ -//{{NO_DEPENDENCIES}} -// Microsoft Visual C++ generated include file. -// Used by 7200Cwav.rc -// -#define IDM_ABOUTBOX 0x0010 -#define IDD_ABOUTBOX 100 -#define IDS_ABOUTBOX 101 -#define IDD_MY7200CWAV_DIALOG 102 -#define IDR_MAINFRAME 128 -#define IDD_CARDID_DIALOG 129 -#define IDC_STATIC_DRAW 1000 -#define IDC_EDIT_SAMPLE 1001 -#define IDC_EDIT_SAMPLE_RATE 1003 -#define IDC_SCROLLBAR_RATE 1006 -#define IDC_COMBO_CARDID 1007 -#define IDC_BT_START 1008 -#define IDC_BT_STOP 1009 -#define IDC_STATIC_01 1014 - -// Next default values for new objects -// -#ifdef APSTUDIO_INVOKED -#ifndef APSTUDIO_READONLY_SYMBOLS -#define _APS_NEXT_RESOURCE_VALUE 131 -#define _APS_NEXT_COMMAND_VALUE 32771 -#define _APS_NEXT_CONTROL_VALUE 1000 -#define _APS_NEXT_SYMED_VALUE 101 -#endif -#endif diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7200/Sdk7200DbfCallBack/stdafx.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7200/Sdk7200DbfCallBack/stdafx.cpp deleted file mode 100644 index 243c7ee..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7200/Sdk7200DbfCallBack/stdafx.cpp +++ /dev/null @@ -1,8 +0,0 @@ - -// stdafx.cpp : source file that includes just the standard includes -// 7200Cwav.pch will be the pre-compiled header -// stdafx.obj will contain the pre-compiled type information - -#include "stdafx.h" - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7200/Sdk7200DbfCallBack/stdafx.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7200/Sdk7200DbfCallBack/stdafx.h deleted file mode 100644 index 12123e2..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7200/Sdk7200DbfCallBack/stdafx.h +++ /dev/null @@ -1,60 +0,0 @@ - -// stdafx.h : include file for standard system include files, -// or project specific include files that are used frequently, -// but are changed infrequently - -#pragma once - -#ifndef _SECURE_ATL -#define _SECURE_ATL 1 -#endif - -#ifndef VC_EXTRALEAN -#define VC_EXTRALEAN // Exclude rarely-used stuff from Windows headers -#endif - -#include "targetver.h" - -#define _ATL_CSTRING_EXPLICIT_CONSTRUCTORS // some CString constructors will be explicit - -// turns off MFC's hiding of some common and often safely ignored warning messages -#define _AFX_ALL_WARNINGS - -#include // MFC core and standard components -#include // MFC extensions - - -#include // MFC Automation classes - - - -#ifndef _AFX_NO_OLE_SUPPORT -#include // MFC support for Internet Explorer 4 Common Controls -#endif -#ifndef _AFX_NO_AFXCMN_SUPPORT -#include // MFC support for Windows Common Controls -#endif // _AFX_NO_AFXCMN_SUPPORT - -#include // MFC support for ribbons and control bars - - - - - - - - - -#ifdef _UNICODE -#if defined _M_IX86 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='x86' publicKeyToken='6595b64144ccf1df' language='*'\"") -#elif defined _M_IA64 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='ia64' publicKeyToken='6595b64144ccf1df' language='*'\"") -#elif defined _M_X64 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='amd64' publicKeyToken='6595b64144ccf1df' language='*'\"") -#else -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='*' publicKeyToken='6595b64144ccf1df' language='*'\"") -#endif -#endif - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7200/Sdk7200DbfCallBack/targetver.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7200/Sdk7200DbfCallBack/targetver.h deleted file mode 100644 index 11730d5..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7200/Sdk7200DbfCallBack/targetver.h +++ /dev/null @@ -1,26 +0,0 @@ - -#pragma once - -// The following macros define the minimum required platform. The minimum required platform -// is the earliest version of Windows, Internet Explorer etc. that has the necessary features to run -// your application. The macros work by enabling all features available on platform versions up to and -// including the version specified. - -// Modify the following defines if you have to target a platform prior to the ones specified below. -// Refer to MSDN for the latest info on corresponding values for different platforms. -#ifndef WINVER // Specifies that the minimum required platform is Windows Vista. -#define WINVER 0x0600 // Change this to the appropriate value to target other versions of Windows. -#endif - -#ifndef _WIN32_WINNT // Specifies that the minimum required platform is Windows Vista. -#define _WIN32_WINNT 0x0600 // Change this to the appropriate value to target other versions of Windows. -#endif - -#ifndef _WIN32_WINDOWS // Specifies that the minimum required platform is Windows 98. -#define _WIN32_WINDOWS 0x0410 // Change this to the appropriate value to target Windows Me or later. -#endif - -#ifndef _WIN32_IE // Specifies that the minimum required platform is Internet Explorer 7.0. -#define _WIN32_IE 0x0700 // Change this to the appropriate value to target other versions of IE. -#endif - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7230/SDK7230DbEvt/7230int.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7230/SDK7230DbEvt/7230int.cpp deleted file mode 100644 index 765dba5..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7230/SDK7230DbEvt/7230int.cpp +++ /dev/null @@ -1,110 +0,0 @@ - -// 7230int.cpp : Defines the class behaviors for the application. -// - -#include "stdafx.h" -#include "7230int.h" -#include "7230intDlg.h" -#include "CardIDDlg.h" - -#ifdef _DEBUG -#define new DEBUG_NEW -#endif - - -// C7230intApp - -BEGIN_MESSAGE_MAP(C7230intApp, CWinAppEx) - ON_COMMAND(ID_HELP, &CWinApp::OnHelp) -END_MESSAGE_MAP() - - -// C7230intApp construction - -C7230intApp::C7230intApp() -{ - // TODO: add construction code here, - // Place all significant initialization in InitInstance -} - - -// The one and only C7230intApp object - -C7230intApp theApp; - - -// C7230intApp initialization - -BOOL C7230intApp::InitInstance() -{ - int nCardID = 0; - I16 hCard; - CString strTemp; - INT_PTR nResponse; - - // InitCommonControlsEx() is required on Windows XP if an application - // manifest specifies use of ComCtl32.dll version 6 or later to enable - // visual styles. Otherwise, any window creation will fail. - INITCOMMONCONTROLSEX InitCtrls; - InitCtrls.dwSize = sizeof(InitCtrls); - // Set this to include all the common control classes you want to use - // in your application. - InitCtrls.dwICC = ICC_WIN95_CLASSES; - InitCommonControlsEx(&InitCtrls); - - CWinAppEx::InitInstance(); - - AfxEnableControlContainer(); - - // Standard initialization - // If you are not using these features and wish to reduce the size - // of your final executable, you should remove from the following - // the specific initialization routines you do not need - // Change the registry key under which our settings are stored - // TODO: You should modify this string to be something appropriate - // such as the name of your company or organization - SetRegistryKey(_T("Local AppWizard-Generated Applications")); - - CCardIDDlg CardDlg( nCardID ); - - nResponse = CardDlg.DoModal(); - if (nResponse == IDOK) - { - nCardID = CardDlg.GetCardID(); - - if ((hCard=Register_Card(PCI_7230, nCardID)) < 0) - { - strTemp.Format( TEXT("Register_Card Error = %d"), hCard); - AfxMessageBox( strTemp ); - } - else - { - C7230intDlg dlg(hCard); - m_pMainWnd = &dlg; - nResponse = dlg.DoModal(); - if (nResponse == IDOK) - { - // TODO: Place code here to handle when the dialog is - // dismissed with OK - } - else if (nResponse == IDCANCEL) - { - // TODO: Place code here to handle when the dialog is - // dismissed with Cancel - } - - if (hCard >= 0) Release_Card(hCard); - } - - } - else if (nResponse == IDCANCEL) - { - // TODO: Place code here to handle when the dialog is - // dismissed with Cancel - } - - - // Since the dialog has been closed, return FALSE so that we exit the - // application, rather than start the application's message pump. - return FALSE; -} diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7230/SDK7230DbEvt/7230int.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7230/SDK7230DbEvt/7230int.h deleted file mode 100644 index 7846db6..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7230/SDK7230DbEvt/7230int.h +++ /dev/null @@ -1,32 +0,0 @@ - -// 7230int.h : main header file for the PROJECT_NAME application -// - -#pragma once - -#ifndef __AFXWIN_H__ - #error "include 'stdafx.h' before including this file for PCH" -#endif - -#include "resource.h" // main symbols - - -// C7230intApp: -// See 7230int.cpp for the implementation of this class -// - -class C7230intApp : public CWinAppEx -{ -public: - C7230intApp(); - -// Overrides - public: - virtual BOOL InitInstance(); - -// Implementation - - DECLARE_MESSAGE_MAP() -}; - -extern C7230intApp theApp; \ No newline at end of file diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7230/SDK7230DbEvt/7230int.rc b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7230/SDK7230DbEvt/7230int.rc deleted file mode 100644 index ad35c57..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7230/SDK7230DbEvt/7230int.rc +++ /dev/null @@ -1,260 +0,0 @@ -// Microsoft Visual C++ generated resource script. -// -#include "resource.h" - -#define APSTUDIO_READONLY_SYMBOLS -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 2 resource. -// -#ifndef APSTUDIO_INVOKED -#include "targetver.h" -#endif -#include "afxres.h" - -///////////////////////////////////////////////////////////////////////////// -#undef APSTUDIO_READONLY_SYMBOLS - -///////////////////////////////////////////////////////////////////////////// -// Chinese (Taiwan) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_CHT) -#ifdef _WIN32 -LANGUAGE LANG_CHINESE, SUBLANG_CHINESE_TRADITIONAL -#pragma code_page(950) -#endif //_WIN32 - -#ifdef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// TEXTINCLUDE -// - -1 TEXTINCLUDE -BEGIN - "resource.h\0" -END - -2 TEXTINCLUDE -BEGIN - "#ifndef APSTUDIO_INVOKED\r\n" - "#include ""targetver.h""\r\n" - "#endif\r\n" - "#include ""afxres.h""\r\n" - "\0" -END - -3 TEXTINCLUDE -BEGIN - "#define _AFX_NO_SPLITTER_RESOURCES\r\n" - "#define _AFX_NO_OLE_RESOURCES\r\n" - "#define _AFX_NO_TRACKER_RESOURCES\r\n" - "#define _AFX_NO_PROPERTY_RESOURCES\r\n" - "\r\n" - "#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)\r\n" - "LANGUAGE 9, 1\r\n" - "#pragma code_page(1252)\r\n" - "#include ""res\\My7230int.rc2"" // non-Microsoft Visual C++ edited resources\r\n" - "#include ""afxres.rc"" // Standard components\r\n" - "#endif\r\n" - "\0" -END - -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// Icon -// - -// Icon with lowest ID value placed first to ensure application icon -// remains consistent on all systems. -IDR_MAINFRAME ICON "res\\7230int.ico" -#endif // Chinese (Taiwan) resources -///////////////////////////////////////////////////////////////////////////// - - -///////////////////////////////////////////////////////////////////////////// -// English (U.S.) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -#ifdef _WIN32 -LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US -#pragma code_page(1252) -#endif //_WIN32 - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog -// - -IDD_ABOUTBOX DIALOGEX 0, 0, 170, 62 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "About 7230int" -FONT 8, "MS Shell Dlg", 0, 0, 0x1 -BEGIN - ICON IDR_MAINFRAME,IDC_STATIC,14,14,21,20 - LTEXT "7230int, Version 1.0",IDC_STATIC,42,14,114,8,SS_NOPREFIX - LTEXT "Copyright (C) 2010",IDC_STATIC,42,26,114,8 - DEFPUSHBUTTON "OK",IDOK,113,41,50,14,WS_GROUP -END - -IDD_MY7230INT_DIALOG DIALOGEX 0, 0, 228, 138 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU -EXSTYLE WS_EX_APPWINDOW -CAPTION "PCI-7230 Dual Interrupt Sample" -FONT 8, "MS Shell Dlg", 0, 0, 0x1 -BEGIN - LTEXT "This program shows the number of occurrence of interrupt for Dual interrupt lines.\nINT1 interrupt is generated by external signal from DI bit-0.\nINT2 interrupt is generated by external signal from DI bit-1.",IDC_STATIC,9,6,207,34 - LTEXT "INT1 Count =",IDC_STATIC_05,54,75,85,13 - PUSHBUTTON "Output",IDC_BT_OUTPUT,76,113,84,18 - LTEXT "INT2 Count =",IDC_STATIC_06,54,94,85,13 - LTEXT "If you connect DO bit-0 to DI-bit-0 and DO bit-1 to DI-bit-1, click 'Output' button can generate two interrupts.\nOne for INT1 and the other for INT2.",IDC_STATIC,9,41,207,23 -END - -IDD_CARDID_DIALOG DIALOGEX 0, 0, 163, 88 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "Card ID" -FONT 8, "MS Shell Dlg", 400, 0, 0x1 -BEGIN - COMBOBOX IDC_COMBO_CARDID,73,17,71,126,CBS_DROPDOWN | WS_VSCROLL | WS_TABSTOP - LTEXT "Card Number",IDC_STATIC_01,19,18,46,12 - PUSHBUTTON "OK",IDOK,20,50,58,19 - PUSHBUTTON "CANCEL",IDCANCEL,84,50,58,19 -END - - -///////////////////////////////////////////////////////////////////////////// -// -// Version -// - -VS_VERSION_INFO VERSIONINFO - FILEVERSION 1,0,0,1 - PRODUCTVERSION 1,0,0,1 - FILEFLAGSMASK 0x3fL -#ifdef _DEBUG - FILEFLAGS 0x1L -#else - FILEFLAGS 0x0L -#endif - FILEOS 0x4L - FILETYPE 0x1L - FILESUBTYPE 0x0L -BEGIN - BLOCK "StringFileInfo" - BEGIN - BLOCK "040904e4" - BEGIN - VALUE "CompanyName", "TODO: " - VALUE "FileDescription", "TODO: " - VALUE "FileVersion", "1.0.0.1" - VALUE "InternalName", "7230int.exe" - VALUE "LegalCopyright", "TODO: (c) . All rights reserved." - VALUE "OriginalFilename", "7230int.exe" - VALUE "ProductName", "TODO: " - VALUE "ProductVersion", "1.0.0.1" - END - END - BLOCK "VarFileInfo" - BEGIN - VALUE "Translation", 0x409, 1252 - END -END - - -///////////////////////////////////////////////////////////////////////////// -// -// DESIGNINFO -// - -#ifdef APSTUDIO_INVOKED -GUIDELINES DESIGNINFO -BEGIN - IDD_MY7230INT_DIALOG, DIALOG - BEGIN - RIGHTMARGIN, 216 - END -END -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog Info -// - -IDD_CARDID_DIALOG DLGINIT -BEGIN - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0030, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0031, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0032, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0033, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0034, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0035, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0036, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0037, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0038, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0039, - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3031, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3131, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3231, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3331, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3431, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3531, "\000" - 0 -END - - -///////////////////////////////////////////////////////////////////////////// -// -// String Table -// - -STRINGTABLE -BEGIN - IDS_ABOUTBOX "&About 7230int..." -END - -#endif // English (U.S.) resources -///////////////////////////////////////////////////////////////////////////// - - - -#ifndef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 3 resource. -// -#define _AFX_NO_SPLITTER_RESOURCES -#define _AFX_NO_OLE_RESOURCES -#define _AFX_NO_TRACKER_RESOURCES -#define _AFX_NO_PROPERTY_RESOURCES - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -LANGUAGE 9, 1 -#pragma code_page(1252) -#include "res\My7230int.rc2" // non-Microsoft Visual C++ edited resources -#include "afxres.rc" // Standard components -#endif - -///////////////////////////////////////////////////////////////////////////// -#endif // not APSTUDIO_INVOKED - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7230/SDK7230DbEvt/7230int.sln b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7230/SDK7230DbEvt/7230int.sln deleted file mode 100644 index 9efd97c..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7230/SDK7230DbEvt/7230int.sln +++ /dev/null @@ -1,26 +0,0 @@ - -Microsoft Visual Studio Solution File, Format Version 10.00 -# Visual Studio 2008 -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "7230int", "7230int.vcproj", "{7D5D9EC5-ED97-47EE-B6F4-ACCD71069808}" -EndProject -Global - GlobalSection(SolutionConfigurationPlatforms) = preSolution - Debug|Win32 = Debug|Win32 - Debug|x64 = Debug|x64 - Release|Win32 = Release|Win32 - Release|x64 = Release|x64 - EndGlobalSection - GlobalSection(ProjectConfigurationPlatforms) = postSolution - {7D5D9EC5-ED97-47EE-B6F4-ACCD71069808}.Debug|Win32.ActiveCfg = Debug|Win32 - {7D5D9EC5-ED97-47EE-B6F4-ACCD71069808}.Debug|Win32.Build.0 = Debug|Win32 - {7D5D9EC5-ED97-47EE-B6F4-ACCD71069808}.Debug|x64.ActiveCfg = Debug|x64 - {7D5D9EC5-ED97-47EE-B6F4-ACCD71069808}.Debug|x64.Build.0 = Debug|x64 - {7D5D9EC5-ED97-47EE-B6F4-ACCD71069808}.Release|Win32.ActiveCfg = Release|Win32 - {7D5D9EC5-ED97-47EE-B6F4-ACCD71069808}.Release|Win32.Build.0 = Release|Win32 - {7D5D9EC5-ED97-47EE-B6F4-ACCD71069808}.Release|x64.ActiveCfg = Release|x64 - {7D5D9EC5-ED97-47EE-B6F4-ACCD71069808}.Release|x64.Build.0 = Release|x64 - EndGlobalSection - GlobalSection(SolutionProperties) = preSolution - HideSolutionNode = FALSE - EndGlobalSection -EndGlobal diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7230/SDK7230DbEvt/7230int.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7230/SDK7230DbEvt/7230int.suo deleted file mode 100644 index 31fa51b..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7230/SDK7230DbEvt/7230int.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7230/SDK7230DbEvt/7230int.vcproj b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7230/SDK7230DbEvt/7230int.vcproj deleted file mode 100644 index 10d75f4..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7230/SDK7230DbEvt/7230int.vcproj +++ /dev/null @@ -1,471 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7230/SDK7230DbEvt/7230intDlg.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7230/SDK7230DbEvt/7230intDlg.cpp deleted file mode 100644 index d6f9f86..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7230/SDK7230DbEvt/7230intDlg.cpp +++ /dev/null @@ -1,282 +0,0 @@ - -// 7230intDlg.cpp : implementation file -// - -#include "stdafx.h" -#include "7230int.h" -#include "7230intDlg.h" - -#ifdef _DEBUG -#define new DEBUG_NEW -#endif - -int gIntCount, gIntCount2; -HANDLE ghIntEvent[2]; - -BOOLEAN gbExitThread, gbExitThread2; - - - -DWORD WINAPI IntThread( LPVOID lpParam ) -{ - - while ( gbExitThread == FALSE ) - { - if ( WaitForSingleObject(ghIntEvent[0], INFINITE) == WAIT_OBJECT_0 ) - { - gIntCount++; - ResetEvent(ghIntEvent[0]); - } - } - - return (DWORD) 0; -} - -DWORD WINAPI IntThread2( LPVOID lpParam ) -{ - - while ( gbExitThread2 == FALSE ) - { - if ( WaitForSingleObject(ghIntEvent[1], INFINITE) == WAIT_OBJECT_0 ) - { - gIntCount2++; - ResetEvent(ghIntEvent[1]); - } - } - - return (DWORD) 0; -} - -// CAboutDlg dialog used for App About - -class CAboutDlg : public CDialog -{ -public: - CAboutDlg(); - -// Dialog Data - enum { IDD = IDD_ABOUTBOX }; - - protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - -// Implementation -protected: - DECLARE_MESSAGE_MAP() -}; - -CAboutDlg::CAboutDlg() : CDialog(CAboutDlg::IDD) -{ -} - -void CAboutDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); -} - -BEGIN_MESSAGE_MAP(CAboutDlg, CDialog) -END_MESSAGE_MAP() - - -// C7230intDlg dialog - - - - -C7230intDlg::C7230intDlg(I16 hCard, CWnd* pParent /*=NULL*/) - : CDialog(C7230intDlg::IDD, pParent) -{ - m_hIcon = AfxGetApp()->LoadIcon(IDR_MAINFRAME); - - m_hCard = hCard; - m_hThread = m_hThread2 = NULL; - m_nTimer = -1; - m_dwOutVal = 0x00000000; -} - -void C7230intDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); -} - -BEGIN_MESSAGE_MAP(C7230intDlg, CDialog) - ON_WM_SYSCOMMAND() - ON_WM_PAINT() - ON_WM_QUERYDRAGICON() - //}}AFX_MSG_MAP - ON_WM_DESTROY() - ON_WM_TIMER() - ON_BN_CLICKED(IDC_BT_OUTPUT, &C7230intDlg::OnOutput) -END_MESSAGE_MAP() - - -// C7230intDlg message handlers - -BOOL C7230intDlg::OnInitDialog() -{ - CDialog::OnInitDialog(); - - // Add "About..." menu item to system menu. - - // IDM_ABOUTBOX must be in the system command range. - ASSERT((IDM_ABOUTBOX & 0xFFF0) == IDM_ABOUTBOX); - ASSERT(IDM_ABOUTBOX < 0xF000); - - CMenu* pSysMenu = GetSystemMenu(FALSE); - if (pSysMenu != NULL) - { - BOOL bNameValid; - CString strAboutMenu; - bNameValid = strAboutMenu.LoadString(IDS_ABOUTBOX); - ASSERT(bNameValid); - if (!strAboutMenu.IsEmpty()) - { - pSysMenu->AppendMenu(MF_SEPARATOR); - pSysMenu->AppendMenu(MF_STRING, IDM_ABOUTBOX, strAboutMenu); - } - } - - // Set the icon for this dialog. The framework does this automatically - // when the application's main window is not a dialog - SetIcon(m_hIcon, TRUE); // Set big icon - SetIcon(m_hIcon, FALSE); // Set small icon - - // TODO: Add extra initialization here - I16 err; - - err = DIO_SetDualInterrupt(m_hCard, INT1_EXT_SIGNAL, INT2_EXT_SIGNAL, ghIntEvent); - DO_WritePort(m_hCard, 0, m_dwOutVal); - - gIntCount = gIntCount2 = 0; - gbExitThread = FALSE; - m_hThread = CreateThread( NULL, // default security attributes - 0, // use default stack size - IntThread, // thread function name - NULL, // argument to thread function - 0, // use default creation flags - NULL); // returns the thread identifier - - gIntCount2 = 0; - gbExitThread = FALSE; - m_hThread2 = CreateThread( NULL, // default security attributes - 0, // use default stack size - IntThread2, // thread function name - NULL, // argument to thread function - 0, // use default creation flags - NULL); // returns the thread identifier - - m_nTimer = SetTimer( 1, 250, NULL ); - - return TRUE; // return TRUE unless you set the focus to a control -} - -void C7230intDlg::OnSysCommand(UINT nID, LPARAM lParam) -{ - if ((nID & 0xFFF0) == IDM_ABOUTBOX) - { - CAboutDlg dlgAbout; - dlgAbout.DoModal(); - } - else - { - CDialog::OnSysCommand(nID, lParam); - } -} - -// If you add a minimize button to your dialog, you will need the code below -// to draw the icon. For MFC applications using the document/view model, -// this is automatically done for you by the framework. - -void C7230intDlg::OnPaint() -{ - if (IsIconic()) - { - CPaintDC dc(this); // device context for painting - - SendMessage(WM_ICONERASEBKGND, reinterpret_cast(dc.GetSafeHdc()), 0); - - // Center icon in client rectangle - int cxIcon = GetSystemMetrics(SM_CXICON); - int cyIcon = GetSystemMetrics(SM_CYICON); - CRect rect; - GetClientRect(&rect); - int x = (rect.Width() - cxIcon + 1) / 2; - int y = (rect.Height() - cyIcon + 1) / 2; - - // Draw the icon - dc.DrawIcon(x, y, m_hIcon); - } - else - { - CDialog::OnPaint(); - } -} - -// The system calls this function to obtain the cursor to display while the user drags -// the minimized window. -HCURSOR C7230intDlg::OnQueryDragIcon() -{ - return static_cast(m_hIcon); -} - - -void C7230intDlg::OnDestroy() -{ - CDialog::OnDestroy(); - - // TODO: Add your message handler code here - DIO_SetDualInterrupt(m_hCard, INT1_DISABLE, INT2_DISABLE, ghIntEvent); - - if( m_nTimer != -1 ) - { - KillTimer( m_nTimer ); - m_nTimer = -1; - } - - - if( m_hThread != NULL ) - { - gbExitThread = TRUE; // termnate the IntThread - SetEvent( ghIntEvent[0] ); - - if (WaitForSingleObject(m_hThread, 5000) == WAIT_OBJECT_0) - { - CloseHandle( m_hThread ); - m_hThread = NULL; - } - } - - if( m_hThread2 != NULL ) - { - gbExitThread2 = TRUE; // termnate the IntThread - SetEvent( ghIntEvent[1] ); - - if (WaitForSingleObject(m_hThread2, 5000) == WAIT_OBJECT_0) - { - CloseHandle( m_hThread2 ); - m_hThread2 = NULL; - } - } - -} - -void C7230intDlg::OnTimer(UINT_PTR nIDEvent) -{ - // TODO: Add your message handler code here and/or call default - CString strTemp; - - strTemp.Format( TEXT("INT1 Count = %d"), gIntCount ); - SetDlgItemText( IDC_STATIC_05, strTemp ); - - strTemp.Format( TEXT("INT2 Count = %d"), gIntCount2 ); - SetDlgItemText( IDC_STATIC_06, strTemp ); - - CDialog::OnTimer(nIDEvent); -} - -void C7230intDlg::OnOutput() -{ - // TODO: Add your control notification handler code here - DO_WritePort(m_hCard, 0, 0x3); - DO_WritePort(m_hCard, 0, 0x0); -} diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7230/SDK7230DbEvt/7230intDlg.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7230/SDK7230DbEvt/7230intDlg.h deleted file mode 100644 index 772e46c..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7230/SDK7230DbEvt/7230intDlg.h +++ /dev/null @@ -1,41 +0,0 @@ - -// 7230intDlg.h : header file -// -#include "Dask64.h" - -#pragma once - - -// C7230intDlg dialog -class C7230intDlg : public CDialog -{ -// Construction -public: - C7230intDlg(I16 hCard, CWnd* pParent = NULL); // standard constructor - -// Dialog Data - enum { IDD = IDD_MY7230INT_DIALOG }; - - protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - - -// Implementation -protected: - HICON m_hIcon; - UINT_PTR m_nTimer; - HANDLE m_hThread, m_hThread2; - I16 m_hCard; - U32 m_dwOutVal; - - // Generated message map functions - virtual BOOL OnInitDialog(); - afx_msg void OnSysCommand(UINT nID, LPARAM lParam); - afx_msg void OnPaint(); - afx_msg HCURSOR OnQueryDragIcon(); - DECLARE_MESSAGE_MAP() -public: - afx_msg void OnDestroy(); - afx_msg void OnTimer(UINT_PTR nIDEvent); - afx_msg void OnOutput(); -}; diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7230/SDK7230DbEvt/7256int.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7230/SDK7230DbEvt/7256int.suo deleted file mode 100644 index 494d925..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7230/SDK7230DbEvt/7256int.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7230/SDK7230DbEvt/7258int.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7230/SDK7230DbEvt/7258int.suo deleted file mode 100644 index ea9e48d..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7230/SDK7230DbEvt/7258int.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7230/SDK7230DbEvt/CardIDDlg.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7230/SDK7230DbEvt/CardIDDlg.cpp deleted file mode 100644 index 36fbb08..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7230/SDK7230DbEvt/CardIDDlg.cpp +++ /dev/null @@ -1,67 +0,0 @@ -// CardIDDlg.cpp : implementation file -// - -#include "stdafx.h" -#include "7230int.h" -#include "CardIDDlg.h" - - -// CCardIDDlg dialog - -IMPLEMENT_DYNAMIC(CCardIDDlg, CDialog) - -CCardIDDlg::CCardIDDlg(int nCardIdx, CWnd* pParent /*=NULL*/) - : CDialog(CCardIDDlg::IDD, pParent) -{ - m_nCardIdx = nCardIdx; -} - -CCardIDDlg::~CCardIDDlg() -{ -} - -void CCardIDDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); - DDX_Control(pDX, IDC_COMBO_CARDID, m_cbCardID); -} - - -BEGIN_MESSAGE_MAP(CCardIDDlg, CDialog) -// ON_CBN_SELCHANGE(IDC_COMBO_CARDID, &CCardIDDlg::OnCbnSelchangeComboCardid) -ON_BN_CLICKED(IDOK, &CCardIDDlg::OnBnClickedOk) -//ON_WM_CTLCOLOR() -END_MESSAGE_MAP() - - -// CCardIDDlg message handlers - - -void CCardIDDlg::OnBnClickedOk() -{ - // TODO: Add your control notification handler code here - -// UpdateData(TRUE); - m_nCardIdx = m_cbCardID.GetCurSel(); - - OnOK(); -} - -BOOL CCardIDDlg::OnInitDialog() -{ - CDialog::OnInitDialog(); - - // TODO: Add extra initialization here - m_cbCardID.SetCurSel( m_nCardIdx ); - - return TRUE; // return TRUE unless you set the focus to a control - // EXCEPTION: OCX Property Pages should return FALSE -} - -// the function to get the selected CardID -int CCardIDDlg::GetCardID(void) -{ - return m_nCardIdx; -} - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7230/SDK7230DbEvt/CardIDDlg.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7230/SDK7230DbEvt/CardIDDlg.h deleted file mode 100644 index 54628ea..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7230/SDK7230DbEvt/CardIDDlg.h +++ /dev/null @@ -1,33 +0,0 @@ -#pragma once -#include "afxwin.h" - - -// CCardIDDlg dialog - -class CCardIDDlg : public CDialog -{ - DECLARE_DYNAMIC(CCardIDDlg) - -public: - CCardIDDlg(int nCardIdx, CWnd* pParent = NULL); // standard constructor - virtual ~CCardIDDlg(); - -// Dialog Data - enum { IDD = IDD_CARDID_DIALOG }; - -protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - - DECLARE_MESSAGE_MAP() -public: -// afx_msg void OnCbnSelchangeComboCardid(); - afx_msg void OnBnClickedOk(); - // the setting of CardID ComboBox - int m_nCardIdx; - virtual BOOL OnInitDialog(); - // the control of CardID ComboBox - CComboBox m_cbCardID; - // the function to get the selected CardID - int GetCardID(void); -// afx_msg HBRUSH OnCtlColor(CDC* pDC, CWnd* pWnd, UINT nCtlColor); -}; diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7230/SDK7230DbEvt/ReadMe.txt b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7230/SDK7230DbEvt/ReadMe.txt deleted file mode 100644 index 2d07819..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7230/SDK7230DbEvt/ReadMe.txt +++ /dev/null @@ -1,93 +0,0 @@ -================================================================================ - MICROSOFT FOUNDATION CLASS LIBRARY : 7256int Project Overview -=============================================================================== - -The application wizard has created this 7256int application for -you. This application not only demonstrates the basics of using the Microsoft -Foundation Classes but is also a starting point for writing your application. - -This file contains a summary of what you will find in each of the files that -make up your 7256int application. - -7256int.vcproj - This is the main project file for VC++ projects generated using an application wizard. - It contains information about the version of Visual C++ that generated the file, and - information about the platforms, configurations, and project features selected with the - application wizard. - -7256int.h - This is the main header file for the application. It includes other - project specific headers (including Resource.h) and declares the - C7256intApp application class. - -7256int.cpp - This is the main application source file that contains the application - class C7256intApp. - -7256int.rc - This is a listing of all of the Microsoft Windows resources that the - program uses. It includes the icons, bitmaps, and cursors that are stored - in the RES subdirectory. This file can be directly edited in Microsoft - Visual C++. Your project resources are in 1033. - -res\7256int.ico - This is an icon file, which is used as the application's icon. This - icon is included by the main resource file 7256int.rc. - -res\My7256int.rc2 - This file contains resources that are not edited by Microsoft - Visual C++. You should place all resources not editable by - the resource editor in this file. - - -///////////////////////////////////////////////////////////////////////////// - -The application wizard creates one dialog class: - -7256intDlg.h, 7256intDlg.cpp - the dialog - These files contain your C7256intDlg class. This class defines - the behavior of your application's main dialog. The dialog's template is - in 7256int.rc, which can be edited in Microsoft Visual C++. - - -///////////////////////////////////////////////////////////////////////////// - -Other Features: - -ActiveX Controls - The application includes support to use ActiveX controls. - -///////////////////////////////////////////////////////////////////////////// - -Other standard files: - -StdAfx.h, StdAfx.cpp - These files are used to build a precompiled header (PCH) file - named 7256int.pch and a precompiled types file named StdAfx.obj. - -Resource.h - This is the standard header file, which defines new resource IDs. - Microsoft Visual C++ reads and updates this file. - -7256int.manifest - Application manifest files are used by Windows XP to describe an applications - dependency on specific versions of Side-by-Side assemblies. The loader uses this - information to load the appropriate assembly from the assembly cache or private - from the application. The Application manifest maybe included for redistribution - as an external .manifest file that is installed in the same folder as the application - executable or it may be included in the executable in the form of a resource. -///////////////////////////////////////////////////////////////////////////// - -Other notes: - -The application wizard uses "TODO:" to indicate parts of the source code you -should add to or customize. - -If your application uses MFC in a shared DLL, you will need -to redistribute the MFC DLLs. If your application is in a language -other than the operating system's locale, you will also have to -redistribute the corresponding localized resources MFC90XXX.DLL. -For more information on both of these topics, please see the section on -redistributing Visual C++ applications in MSDN documentation. - -///////////////////////////////////////////////////////////////////////////// diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7230/SDK7230DbEvt/res/7230int.ico b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7230/SDK7230DbEvt/res/7230int.ico deleted file mode 100644 index d56fbcd..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7230/SDK7230DbEvt/res/7230int.ico and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7230/SDK7230DbEvt/res/My7230int.rc2 b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7230/SDK7230DbEvt/res/My7230int.rc2 deleted file mode 100644 index 7bd3593..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7230/SDK7230DbEvt/res/My7230int.rc2 +++ /dev/null @@ -1,13 +0,0 @@ -// -// My7256int.RC2 - resources Microsoft Visual C++ does not edit directly -// - -#ifdef APSTUDIO_INVOKED -#error this file is not editable by Microsoft Visual C++ -#endif //APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// Add manually edited resources here... - -///////////////////////////////////////////////////////////////////////////// diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7230/SDK7230DbEvt/resource.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7230/SDK7230DbEvt/resource.h deleted file mode 100644 index 8b27ef9..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7230/SDK7230DbEvt/resource.h +++ /dev/null @@ -1,28 +0,0 @@ -//{{NO_DEPENDENCIES}} -// Microsoft Visual C++ generated include file. -// Used by 7230int.rc -// -#define IDM_ABOUTBOX 0x0010 -#define IDD_ABOUTBOX 100 -#define IDS_ABOUTBOX 101 -#define IDD_MY7230INT_DIALOG 102 -#define IDR_MAINFRAME 128 -#define IDD_CARDID_DIALOG 129 -#define IDC_COMBO_CARDID 1000 -#define IDC_BUTTON1 1000 -#define IDC_BT_OUTPUT 1000 -#define IDC_STATIC_05 1007 -#define IDC_STATIC_06 1008 -#define IDC_STATIC_6 1008 -#define IDC_STATIC_01 1014 - -// Next default values for new objects -// -#ifdef APSTUDIO_INVOKED -#ifndef APSTUDIO_READONLY_SYMBOLS -#define _APS_NEXT_RESOURCE_VALUE 131 -#define _APS_NEXT_COMMAND_VALUE 32771 -#define _APS_NEXT_CONTROL_VALUE 1001 -#define _APS_NEXT_SYMED_VALUE 101 -#endif -#endif diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7230/SDK7230DbEvt/stdafx.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7230/SDK7230DbEvt/stdafx.cpp deleted file mode 100644 index 335cdd7..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7230/SDK7230DbEvt/stdafx.cpp +++ /dev/null @@ -1,8 +0,0 @@ - -// stdafx.cpp : source file that includes just the standard includes -// 7230int.pch will be the pre-compiled header -// stdafx.obj will contain the pre-compiled type information - -#include "stdafx.h" - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7230/SDK7230DbEvt/stdafx.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7230/SDK7230DbEvt/stdafx.h deleted file mode 100644 index 12123e2..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7230/SDK7230DbEvt/stdafx.h +++ /dev/null @@ -1,60 +0,0 @@ - -// stdafx.h : include file for standard system include files, -// or project specific include files that are used frequently, -// but are changed infrequently - -#pragma once - -#ifndef _SECURE_ATL -#define _SECURE_ATL 1 -#endif - -#ifndef VC_EXTRALEAN -#define VC_EXTRALEAN // Exclude rarely-used stuff from Windows headers -#endif - -#include "targetver.h" - -#define _ATL_CSTRING_EXPLICIT_CONSTRUCTORS // some CString constructors will be explicit - -// turns off MFC's hiding of some common and often safely ignored warning messages -#define _AFX_ALL_WARNINGS - -#include // MFC core and standard components -#include // MFC extensions - - -#include // MFC Automation classes - - - -#ifndef _AFX_NO_OLE_SUPPORT -#include // MFC support for Internet Explorer 4 Common Controls -#endif -#ifndef _AFX_NO_AFXCMN_SUPPORT -#include // MFC support for Windows Common Controls -#endif // _AFX_NO_AFXCMN_SUPPORT - -#include // MFC support for ribbons and control bars - - - - - - - - - -#ifdef _UNICODE -#if defined _M_IX86 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='x86' publicKeyToken='6595b64144ccf1df' language='*'\"") -#elif defined _M_IA64 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='ia64' publicKeyToken='6595b64144ccf1df' language='*'\"") -#elif defined _M_X64 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='amd64' publicKeyToken='6595b64144ccf1df' language='*'\"") -#else -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='*' publicKeyToken='6595b64144ccf1df' language='*'\"") -#endif -#endif - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7230/SDK7230DbEvt/targetver.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7230/SDK7230DbEvt/targetver.h deleted file mode 100644 index 11730d5..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7230/SDK7230DbEvt/targetver.h +++ /dev/null @@ -1,26 +0,0 @@ - -#pragma once - -// The following macros define the minimum required platform. The minimum required platform -// is the earliest version of Windows, Internet Explorer etc. that has the necessary features to run -// your application. The macros work by enabling all features available on platform versions up to and -// including the version specified. - -// Modify the following defines if you have to target a platform prior to the ones specified below. -// Refer to MSDN for the latest info on corresponding values for different platforms. -#ifndef WINVER // Specifies that the minimum required platform is Windows Vista. -#define WINVER 0x0600 // Change this to the appropriate value to target other versions of Windows. -#endif - -#ifndef _WIN32_WINNT // Specifies that the minimum required platform is Windows Vista. -#define _WIN32_WINNT 0x0600 // Change this to the appropriate value to target other versions of Windows. -#endif - -#ifndef _WIN32_WINDOWS // Specifies that the minimum required platform is Windows 98. -#define _WIN32_WINDOWS 0x0410 // Change this to the appropriate value to target Windows Me or later. -#endif - -#ifndef _WIN32_IE // Specifies that the minimum required platform is Internet Explorer 7.0. -#define _WIN32_IE 0x0700 // Change this to the appropriate value to target other versions of IE. -#endif - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7230/SDK7230DbEvtMsg/7230int.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7230/SDK7230DbEvtMsg/7230int.cpp deleted file mode 100644 index 765dba5..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7230/SDK7230DbEvtMsg/7230int.cpp +++ /dev/null @@ -1,110 +0,0 @@ - -// 7230int.cpp : Defines the class behaviors for the application. -// - -#include "stdafx.h" -#include "7230int.h" -#include "7230intDlg.h" -#include "CardIDDlg.h" - -#ifdef _DEBUG -#define new DEBUG_NEW -#endif - - -// C7230intApp - -BEGIN_MESSAGE_MAP(C7230intApp, CWinAppEx) - ON_COMMAND(ID_HELP, &CWinApp::OnHelp) -END_MESSAGE_MAP() - - -// C7230intApp construction - -C7230intApp::C7230intApp() -{ - // TODO: add construction code here, - // Place all significant initialization in InitInstance -} - - -// The one and only C7230intApp object - -C7230intApp theApp; - - -// C7230intApp initialization - -BOOL C7230intApp::InitInstance() -{ - int nCardID = 0; - I16 hCard; - CString strTemp; - INT_PTR nResponse; - - // InitCommonControlsEx() is required on Windows XP if an application - // manifest specifies use of ComCtl32.dll version 6 or later to enable - // visual styles. Otherwise, any window creation will fail. - INITCOMMONCONTROLSEX InitCtrls; - InitCtrls.dwSize = sizeof(InitCtrls); - // Set this to include all the common control classes you want to use - // in your application. - InitCtrls.dwICC = ICC_WIN95_CLASSES; - InitCommonControlsEx(&InitCtrls); - - CWinAppEx::InitInstance(); - - AfxEnableControlContainer(); - - // Standard initialization - // If you are not using these features and wish to reduce the size - // of your final executable, you should remove from the following - // the specific initialization routines you do not need - // Change the registry key under which our settings are stored - // TODO: You should modify this string to be something appropriate - // such as the name of your company or organization - SetRegistryKey(_T("Local AppWizard-Generated Applications")); - - CCardIDDlg CardDlg( nCardID ); - - nResponse = CardDlg.DoModal(); - if (nResponse == IDOK) - { - nCardID = CardDlg.GetCardID(); - - if ((hCard=Register_Card(PCI_7230, nCardID)) < 0) - { - strTemp.Format( TEXT("Register_Card Error = %d"), hCard); - AfxMessageBox( strTemp ); - } - else - { - C7230intDlg dlg(hCard); - m_pMainWnd = &dlg; - nResponse = dlg.DoModal(); - if (nResponse == IDOK) - { - // TODO: Place code here to handle when the dialog is - // dismissed with OK - } - else if (nResponse == IDCANCEL) - { - // TODO: Place code here to handle when the dialog is - // dismissed with Cancel - } - - if (hCard >= 0) Release_Card(hCard); - } - - } - else if (nResponse == IDCANCEL) - { - // TODO: Place code here to handle when the dialog is - // dismissed with Cancel - } - - - // Since the dialog has been closed, return FALSE so that we exit the - // application, rather than start the application's message pump. - return FALSE; -} diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7230/SDK7230DbEvtMsg/7230int.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7230/SDK7230DbEvtMsg/7230int.h deleted file mode 100644 index 7846db6..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7230/SDK7230DbEvtMsg/7230int.h +++ /dev/null @@ -1,32 +0,0 @@ - -// 7230int.h : main header file for the PROJECT_NAME application -// - -#pragma once - -#ifndef __AFXWIN_H__ - #error "include 'stdafx.h' before including this file for PCH" -#endif - -#include "resource.h" // main symbols - - -// C7230intApp: -// See 7230int.cpp for the implementation of this class -// - -class C7230intApp : public CWinAppEx -{ -public: - C7230intApp(); - -// Overrides - public: - virtual BOOL InitInstance(); - -// Implementation - - DECLARE_MESSAGE_MAP() -}; - -extern C7230intApp theApp; \ No newline at end of file diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7230/SDK7230DbEvtMsg/7230int.rc b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7230/SDK7230DbEvtMsg/7230int.rc deleted file mode 100644 index f3193cd..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7230/SDK7230DbEvtMsg/7230int.rc +++ /dev/null @@ -1,271 +0,0 @@ -// Microsoft Visual C++ generated resource script. -// -#include "resource.h" - -#define APSTUDIO_READONLY_SYMBOLS -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 2 resource. -// -#ifndef APSTUDIO_INVOKED -#include "targetver.h" -#endif -#include "afxres.h" - -///////////////////////////////////////////////////////////////////////////// -#undef APSTUDIO_READONLY_SYMBOLS - -///////////////////////////////////////////////////////////////////////////// -// Chinese (Taiwan) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_CHT) -#ifdef _WIN32 -LANGUAGE LANG_CHINESE, SUBLANG_CHINESE_TRADITIONAL -#pragma code_page(950) -#endif //_WIN32 - -#ifdef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// TEXTINCLUDE -// - -1 TEXTINCLUDE -BEGIN - "resource.h\0" -END - -2 TEXTINCLUDE -BEGIN - "#ifndef APSTUDIO_INVOKED\r\n" - "#include ""targetver.h""\r\n" - "#endif\r\n" - "#include ""afxres.h""\r\n" - "\0" -END - -3 TEXTINCLUDE -BEGIN - "#define _AFX_NO_SPLITTER_RESOURCES\r\n" - "#define _AFX_NO_OLE_RESOURCES\r\n" - "#define _AFX_NO_TRACKER_RESOURCES\r\n" - "#define _AFX_NO_PROPERTY_RESOURCES\r\n" - "\r\n" - "#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)\r\n" - "LANGUAGE 9, 1\r\n" - "#pragma code_page(1252)\r\n" - "#include ""res\\My7230int.rc2"" // non-Microsoft Visual C++ edited resources\r\n" - "#include ""afxres.rc"" // Standard components\r\n" - "#endif\r\n" - "\0" -END - -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// Icon -// - -// Icon with lowest ID value placed first to ensure application icon -// remains consistent on all systems. -IDR_MAINFRAME ICON "res\\7230int.ico" -#endif // Chinese (Taiwan) resources -///////////////////////////////////////////////////////////////////////////// - - -///////////////////////////////////////////////////////////////////////////// -// English (U.S.) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -#ifdef _WIN32 -LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US -#pragma code_page(1252) -#endif //_WIN32 - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog -// - -IDD_ABOUTBOX DIALOGEX 0, 0, 170, 62 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "About 7230int" -FONT 8, "MS Shell Dlg", 0, 0, 0x1 -BEGIN - ICON IDR_MAINFRAME,IDC_STATIC,14,14,21,20 - LTEXT "7230int, Version 1.0",IDC_STATIC,42,14,114,8,SS_NOPREFIX - LTEXT "Copyright (C) 2010",IDC_STATIC,42,26,114,8 - DEFPUSHBUTTON "OK",IDOK,113,41,50,14,WS_GROUP -END - -IDD_MY7230INT_DIALOG DIALOGEX 0, 0, 223, 140 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU -EXSTYLE WS_EX_APPWINDOW -CAPTION "PCI-7230 Dual Interrupt Sample" -FONT 8, "MS Shell Dlg", 0, 0, 0x1 -BEGIN - LTEXT "This program shows the number of occurrence of interrupt for Dual interrupt lines.\nINT1 interrupt is generated by external signal from DI bit-0.\nINT2 interrupt is generated by external signal from DI bit-1.",IDC_STATIC,7,6,200,34 - LTEXT "INT1 Count =",IDC_STATIC_05,59,76,85,13 - PUSHBUTTON "Output",IDC_BT_OUTPUT,71,108,84,18 - LTEXT "INT2 Count =",IDC_STATIC_06,59,92,85,13 - LTEXT "If you connect DO bit-0 to DI-bit-0 and DO bit-1 to DI-bit-1, click 'Output' button can generate two interrupts.\nOne for INT1 and the other for INT2.",IDC_STATIC,7,44,200,30 -END - -IDD_CARDID_DIALOG DIALOGEX 0, 0, 163, 88 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "Card ID" -FONT 8, "MS Shell Dlg", 400, 0, 0x1 -BEGIN - COMBOBOX IDC_COMBO_CARDID,73,17,71,126,CBS_DROPDOWN | WS_VSCROLL | WS_TABSTOP - LTEXT "Card Number",IDC_STATIC_01,19,18,46,12 - PUSHBUTTON "OK",IDOK,20,50,58,19 - PUSHBUTTON "CANCEL",IDCANCEL,84,50,58,19 -END - - -///////////////////////////////////////////////////////////////////////////// -// -// Version -// - -VS_VERSION_INFO VERSIONINFO - FILEVERSION 1,0,0,1 - PRODUCTVERSION 1,0,0,1 - FILEFLAGSMASK 0x3fL -#ifdef _DEBUG - FILEFLAGS 0x1L -#else - FILEFLAGS 0x0L -#endif - FILEOS 0x4L - FILETYPE 0x1L - FILESUBTYPE 0x0L -BEGIN - BLOCK "StringFileInfo" - BEGIN - BLOCK "040904e4" - BEGIN - VALUE "CompanyName", "TODO: " - VALUE "FileDescription", "TODO: " - VALUE "FileVersion", "1.0.0.1" - VALUE "InternalName", "7230int.exe" - VALUE "LegalCopyright", "TODO: (c) . All rights reserved." - VALUE "OriginalFilename", "7230int.exe" - VALUE "ProductName", "TODO: " - VALUE "ProductVersion", "1.0.0.1" - END - END - BLOCK "VarFileInfo" - BEGIN - VALUE "Translation", 0x409, 1252 - END -END - - -///////////////////////////////////////////////////////////////////////////// -// -// DESIGNINFO -// - -#ifdef APSTUDIO_INVOKED -GUIDELINES DESIGNINFO -BEGIN - IDD_ABOUTBOX, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 163 - TOPMARGIN, 7 - BOTTOMMARGIN, 55 - END - - IDD_CARDID_DIALOG, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 156 - TOPMARGIN, 7 - BOTTOMMARGIN, 81 - END -END -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog Info -// - -IDD_CARDID_DIALOG DLGINIT -BEGIN - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0030, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0031, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0032, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0033, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0034, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0035, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0036, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0037, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0038, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0039, - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3031, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3131, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3231, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3331, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3431, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3531, "\000" - 0 -END - - -///////////////////////////////////////////////////////////////////////////// -// -// String Table -// - -STRINGTABLE -BEGIN - IDS_ABOUTBOX "&About 7230int..." -END - -#endif // English (U.S.) resources -///////////////////////////////////////////////////////////////////////////// - - - -#ifndef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 3 resource. -// -#define _AFX_NO_SPLITTER_RESOURCES -#define _AFX_NO_OLE_RESOURCES -#define _AFX_NO_TRACKER_RESOURCES -#define _AFX_NO_PROPERTY_RESOURCES - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -LANGUAGE 9, 1 -#pragma code_page(1252) -#include "res\My7230int.rc2" // non-Microsoft Visual C++ edited resources -#include "afxres.rc" // Standard components -#endif - -///////////////////////////////////////////////////////////////////////////// -#endif // not APSTUDIO_INVOKED - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7230/SDK7230DbEvtMsg/7230int.sln b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7230/SDK7230DbEvtMsg/7230int.sln deleted file mode 100644 index 9efd97c..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7230/SDK7230DbEvtMsg/7230int.sln +++ /dev/null @@ -1,26 +0,0 @@ - -Microsoft Visual Studio Solution File, Format Version 10.00 -# Visual Studio 2008 -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "7230int", "7230int.vcproj", "{7D5D9EC5-ED97-47EE-B6F4-ACCD71069808}" -EndProject -Global - GlobalSection(SolutionConfigurationPlatforms) = preSolution - Debug|Win32 = Debug|Win32 - Debug|x64 = Debug|x64 - Release|Win32 = Release|Win32 - Release|x64 = Release|x64 - EndGlobalSection - GlobalSection(ProjectConfigurationPlatforms) = postSolution - {7D5D9EC5-ED97-47EE-B6F4-ACCD71069808}.Debug|Win32.ActiveCfg = Debug|Win32 - {7D5D9EC5-ED97-47EE-B6F4-ACCD71069808}.Debug|Win32.Build.0 = Debug|Win32 - {7D5D9EC5-ED97-47EE-B6F4-ACCD71069808}.Debug|x64.ActiveCfg = Debug|x64 - {7D5D9EC5-ED97-47EE-B6F4-ACCD71069808}.Debug|x64.Build.0 = Debug|x64 - {7D5D9EC5-ED97-47EE-B6F4-ACCD71069808}.Release|Win32.ActiveCfg = Release|Win32 - {7D5D9EC5-ED97-47EE-B6F4-ACCD71069808}.Release|Win32.Build.0 = Release|Win32 - {7D5D9EC5-ED97-47EE-B6F4-ACCD71069808}.Release|x64.ActiveCfg = Release|x64 - {7D5D9EC5-ED97-47EE-B6F4-ACCD71069808}.Release|x64.Build.0 = Release|x64 - EndGlobalSection - GlobalSection(SolutionProperties) = preSolution - HideSolutionNode = FALSE - EndGlobalSection -EndGlobal diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7230/SDK7230DbEvtMsg/7230int.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7230/SDK7230DbEvtMsg/7230int.suo deleted file mode 100644 index 9aeb247..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7230/SDK7230DbEvtMsg/7230int.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7230/SDK7230DbEvtMsg/7230int.vcproj b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7230/SDK7230DbEvtMsg/7230int.vcproj deleted file mode 100644 index 10d75f4..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7230/SDK7230DbEvtMsg/7230int.vcproj +++ /dev/null @@ -1,471 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7230/SDK7230DbEvtMsg/7230intDlg.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7230/SDK7230DbEvtMsg/7230intDlg.cpp deleted file mode 100644 index ffd2c77..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7230/SDK7230DbEvtMsg/7230intDlg.cpp +++ /dev/null @@ -1,220 +0,0 @@ - -// 7230intDlg.cpp : implementation file -// - -#include "stdafx.h" -#include "7230int.h" -#include "7230intDlg.h" - -#ifdef _DEBUG -#define new DEBUG_NEW -#endif - - -#define EXT_SIGNAL1_MESSAGE _T("EXT_SIG1") -#define EXT_SIGNAL2_MESSAGE _T("EXT_SIG2") - -UINT WM_INT0 = ::RegisterWindowMessage(EXT_SIGNAL1_MESSAGE); -UINT WM_INT1 = ::RegisterWindowMessage(EXT_SIGNAL2_MESSAGE); - -// CAboutDlg dialog used for App About - -class CAboutDlg : public CDialog -{ -public: - CAboutDlg(); - -// Dialog Data - enum { IDD = IDD_ABOUTBOX }; - - protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - -// Implementation -protected: - DECLARE_MESSAGE_MAP() -}; - -CAboutDlg::CAboutDlg() : CDialog(CAboutDlg::IDD) -{ -} - -void CAboutDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); -} - -BEGIN_MESSAGE_MAP(CAboutDlg, CDialog) -END_MESSAGE_MAP() - - -// C7230intDlg dialog - - - - -C7230intDlg::C7230intDlg(I16 hCard, CWnd* pParent /*=NULL*/) - : CDialog(C7230intDlg::IDD, pParent) -{ - m_hIcon = AfxGetApp()->LoadIcon(IDR_MAINFRAME); - - m_hCard = hCard; - m_dwOutVal = 0x00000000; - - m_IntCount = m_IntCount2 = 0; -} - -void C7230intDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); -} - -BEGIN_MESSAGE_MAP(C7230intDlg, CDialog) - ON_WM_SYSCOMMAND() - ON_WM_PAINT() - ON_WM_QUERYDRAGICON() - ON_REGISTERED_MESSAGE(WM_INT0, OnExtSIGInterrupt1) - ON_REGISTERED_MESSAGE(WM_INT1, OnExtSIGInterrupt2) - //}}AFX_MSG_MAP - ON_WM_DESTROY() - ON_BN_CLICKED(IDC_BT_OUTPUT, &C7230intDlg::OnOutput) -END_MESSAGE_MAP() - - -// C7230intDlg message handlers - -BOOL C7230intDlg::OnInitDialog() -{ - CDialog::OnInitDialog(); - - // Add "About..." menu item to system menu. - - // IDM_ABOUTBOX must be in the system command range. - ASSERT((IDM_ABOUTBOX & 0xFFF0) == IDM_ABOUTBOX); - ASSERT(IDM_ABOUTBOX < 0xF000); - - CMenu* pSysMenu = GetSystemMenu(FALSE); - if (pSysMenu != NULL) - { - BOOL bNameValid; - CString strAboutMenu; - bNameValid = strAboutMenu.LoadString(IDS_ABOUTBOX); - ASSERT(bNameValid); - if (!strAboutMenu.IsEmpty()) - { - pSysMenu->AppendMenu(MF_SEPARATOR); - pSysMenu->AppendMenu(MF_STRING, IDM_ABOUTBOX, strAboutMenu); - } - } - - // Set the icon for this dialog. The framework does this automatically - // when the application's main window is not a dialog - SetIcon(m_hIcon, TRUE); // Set big icon - SetIcon(m_hIcon, FALSE); // Set small icon - - // TODO: Add extra initialization here - m_IntCount = m_IntCount2 = 0; - - DIO_INT1_EventMessage (m_hCard, INT1_EXT_SIGNAL, this->m_hWnd, WM_INT0, NULL); - DIO_INT2_EventMessage (m_hCard, INT2_EXT_SIGNAL, this->m_hWnd, WM_INT1, NULL); - - DO_WritePort(m_hCard, 0, m_dwOutVal); - - - - return TRUE; // return TRUE unless you set the focus to a control -} - -void C7230intDlg::OnSysCommand(UINT nID, LPARAM lParam) -{ - if ((nID & 0xFFF0) == IDM_ABOUTBOX) - { - CAboutDlg dlgAbout; - dlgAbout.DoModal(); - } - else - { - CDialog::OnSysCommand(nID, lParam); - } -} - -// If you add a minimize button to your dialog, you will need the code below -// to draw the icon. For MFC applications using the document/view model, -// this is automatically done for you by the framework. - -void C7230intDlg::OnPaint() -{ - if (IsIconic()) - { - CPaintDC dc(this); // device context for painting - - SendMessage(WM_ICONERASEBKGND, reinterpret_cast(dc.GetSafeHdc()), 0); - - // Center icon in client rectangle - int cxIcon = GetSystemMetrics(SM_CXICON); - int cyIcon = GetSystemMetrics(SM_CYICON); - CRect rect; - GetClientRect(&rect); - int x = (rect.Width() - cxIcon + 1) / 2; - int y = (rect.Height() - cyIcon + 1) / 2; - - // Draw the icon - dc.DrawIcon(x, y, m_hIcon); - } - else - { - CDialog::OnPaint(); - } -} - -// The system calls this function to obtain the cursor to display while the user drags -// the minimized window. -HCURSOR C7230intDlg::OnQueryDragIcon() -{ - return static_cast(m_hIcon); -} - - -void C7230intDlg::OnDestroy() -{ - CDialog::OnDestroy(); - - // TODO: Add your message handler code here - DIO_INT1_EventMessage (m_hCard, INT1_DISABLE, this->m_hWnd, NULL, NULL); - DIO_INT2_EventMessage (m_hCard, INT2_DISABLE, this->m_hWnd, NULL, NULL); - DO_WritePort(m_hCard, 0, 0x0); -} - - -void C7230intDlg::OnOutput() -{ - // TODO: Add your control notification handler code here - DO_WritePort(m_hCard, 0, 0x3); - DO_WritePort(m_hCard, 0, 0x0); -} - -LRESULT C7230intDlg::OnExtSIGInterrupt1(WPARAM wParam, LPARAM lParam) -{ - // do something useful - CString strTemp; - - m_IntCount ++; - - strTemp.Format( TEXT("INT1 Count = %d"), m_IntCount ); - SetDlgItemText( IDC_STATIC_05, strTemp ); - - return (LRESULT) 0; -} - -LRESULT C7230intDlg::OnExtSIGInterrupt2(WPARAM wParam, LPARAM lParam) -{ - // do something useful - CString strTemp; - - m_IntCount2 ++; - - strTemp.Format( TEXT("INT2 Count = %d"), m_IntCount2 ); - SetDlgItemText( IDC_STATIC_06, strTemp ); - - return (LRESULT) 0; -} diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7230/SDK7230DbEvtMsg/7230intDlg.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7230/SDK7230DbEvtMsg/7230intDlg.h deleted file mode 100644 index 5635ce6..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7230/SDK7230DbEvtMsg/7230intDlg.h +++ /dev/null @@ -1,43 +0,0 @@ - -// 7230intDlg.h : header file -// -#include "Dask64.h" - -#pragma once - - -// C7230intDlg dialog -class C7230intDlg : public CDialog -{ -// Construction -public: - C7230intDlg(I16 hCard, CWnd* pParent = NULL); // standard constructor - -// Dialog Data - enum { IDD = IDD_MY7230INT_DIALOG }; - - protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - - -// Implementation -protected: - HICON m_hIcon; - I16 m_hCard; - U32 m_dwOutVal; - int m_IntCount; - int m_IntCount2; - HANDLE m_hIntEvent[2]; - - // Generated message map functions - virtual BOOL OnInitDialog(); - afx_msg void OnSysCommand(UINT nID, LPARAM lParam); - afx_msg void OnPaint(); - afx_msg HCURSOR OnQueryDragIcon(); - afx_msg LRESULT OnExtSIGInterrupt1(WPARAM wParam, LPARAM lParam); - afx_msg LRESULT OnExtSIGInterrupt2(WPARAM wParam, LPARAM lParam); - DECLARE_MESSAGE_MAP() -public: - afx_msg void OnDestroy(); - afx_msg void OnOutput(); -}; diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7230/SDK7230DbEvtMsg/7256int.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7230/SDK7230DbEvtMsg/7256int.suo deleted file mode 100644 index 01299a3..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7230/SDK7230DbEvtMsg/7256int.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7230/SDK7230DbEvtMsg/7258int.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7230/SDK7230DbEvtMsg/7258int.suo deleted file mode 100644 index b00e489..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7230/SDK7230DbEvtMsg/7258int.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7230/SDK7230DbEvtMsg/CardIDDlg.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7230/SDK7230DbEvtMsg/CardIDDlg.cpp deleted file mode 100644 index 36fbb08..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7230/SDK7230DbEvtMsg/CardIDDlg.cpp +++ /dev/null @@ -1,67 +0,0 @@ -// CardIDDlg.cpp : implementation file -// - -#include "stdafx.h" -#include "7230int.h" -#include "CardIDDlg.h" - - -// CCardIDDlg dialog - -IMPLEMENT_DYNAMIC(CCardIDDlg, CDialog) - -CCardIDDlg::CCardIDDlg(int nCardIdx, CWnd* pParent /*=NULL*/) - : CDialog(CCardIDDlg::IDD, pParent) -{ - m_nCardIdx = nCardIdx; -} - -CCardIDDlg::~CCardIDDlg() -{ -} - -void CCardIDDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); - DDX_Control(pDX, IDC_COMBO_CARDID, m_cbCardID); -} - - -BEGIN_MESSAGE_MAP(CCardIDDlg, CDialog) -// ON_CBN_SELCHANGE(IDC_COMBO_CARDID, &CCardIDDlg::OnCbnSelchangeComboCardid) -ON_BN_CLICKED(IDOK, &CCardIDDlg::OnBnClickedOk) -//ON_WM_CTLCOLOR() -END_MESSAGE_MAP() - - -// CCardIDDlg message handlers - - -void CCardIDDlg::OnBnClickedOk() -{ - // TODO: Add your control notification handler code here - -// UpdateData(TRUE); - m_nCardIdx = m_cbCardID.GetCurSel(); - - OnOK(); -} - -BOOL CCardIDDlg::OnInitDialog() -{ - CDialog::OnInitDialog(); - - // TODO: Add extra initialization here - m_cbCardID.SetCurSel( m_nCardIdx ); - - return TRUE; // return TRUE unless you set the focus to a control - // EXCEPTION: OCX Property Pages should return FALSE -} - -// the function to get the selected CardID -int CCardIDDlg::GetCardID(void) -{ - return m_nCardIdx; -} - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7230/SDK7230DbEvtMsg/CardIDDlg.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7230/SDK7230DbEvtMsg/CardIDDlg.h deleted file mode 100644 index 54628ea..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7230/SDK7230DbEvtMsg/CardIDDlg.h +++ /dev/null @@ -1,33 +0,0 @@ -#pragma once -#include "afxwin.h" - - -// CCardIDDlg dialog - -class CCardIDDlg : public CDialog -{ - DECLARE_DYNAMIC(CCardIDDlg) - -public: - CCardIDDlg(int nCardIdx, CWnd* pParent = NULL); // standard constructor - virtual ~CCardIDDlg(); - -// Dialog Data - enum { IDD = IDD_CARDID_DIALOG }; - -protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - - DECLARE_MESSAGE_MAP() -public: -// afx_msg void OnCbnSelchangeComboCardid(); - afx_msg void OnBnClickedOk(); - // the setting of CardID ComboBox - int m_nCardIdx; - virtual BOOL OnInitDialog(); - // the control of CardID ComboBox - CComboBox m_cbCardID; - // the function to get the selected CardID - int GetCardID(void); -// afx_msg HBRUSH OnCtlColor(CDC* pDC, CWnd* pWnd, UINT nCtlColor); -}; diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7230/SDK7230DbEvtMsg/ReadMe.txt b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7230/SDK7230DbEvtMsg/ReadMe.txt deleted file mode 100644 index 2d07819..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7230/SDK7230DbEvtMsg/ReadMe.txt +++ /dev/null @@ -1,93 +0,0 @@ -================================================================================ - MICROSOFT FOUNDATION CLASS LIBRARY : 7256int Project Overview -=============================================================================== - -The application wizard has created this 7256int application for -you. This application not only demonstrates the basics of using the Microsoft -Foundation Classes but is also a starting point for writing your application. - -This file contains a summary of what you will find in each of the files that -make up your 7256int application. - -7256int.vcproj - This is the main project file for VC++ projects generated using an application wizard. - It contains information about the version of Visual C++ that generated the file, and - information about the platforms, configurations, and project features selected with the - application wizard. - -7256int.h - This is the main header file for the application. It includes other - project specific headers (including Resource.h) and declares the - C7256intApp application class. - -7256int.cpp - This is the main application source file that contains the application - class C7256intApp. - -7256int.rc - This is a listing of all of the Microsoft Windows resources that the - program uses. It includes the icons, bitmaps, and cursors that are stored - in the RES subdirectory. This file can be directly edited in Microsoft - Visual C++. Your project resources are in 1033. - -res\7256int.ico - This is an icon file, which is used as the application's icon. This - icon is included by the main resource file 7256int.rc. - -res\My7256int.rc2 - This file contains resources that are not edited by Microsoft - Visual C++. You should place all resources not editable by - the resource editor in this file. - - -///////////////////////////////////////////////////////////////////////////// - -The application wizard creates one dialog class: - -7256intDlg.h, 7256intDlg.cpp - the dialog - These files contain your C7256intDlg class. This class defines - the behavior of your application's main dialog. The dialog's template is - in 7256int.rc, which can be edited in Microsoft Visual C++. - - -///////////////////////////////////////////////////////////////////////////// - -Other Features: - -ActiveX Controls - The application includes support to use ActiveX controls. - -///////////////////////////////////////////////////////////////////////////// - -Other standard files: - -StdAfx.h, StdAfx.cpp - These files are used to build a precompiled header (PCH) file - named 7256int.pch and a precompiled types file named StdAfx.obj. - -Resource.h - This is the standard header file, which defines new resource IDs. - Microsoft Visual C++ reads and updates this file. - -7256int.manifest - Application manifest files are used by Windows XP to describe an applications - dependency on specific versions of Side-by-Side assemblies. The loader uses this - information to load the appropriate assembly from the assembly cache or private - from the application. The Application manifest maybe included for redistribution - as an external .manifest file that is installed in the same folder as the application - executable or it may be included in the executable in the form of a resource. -///////////////////////////////////////////////////////////////////////////// - -Other notes: - -The application wizard uses "TODO:" to indicate parts of the source code you -should add to or customize. - -If your application uses MFC in a shared DLL, you will need -to redistribute the MFC DLLs. If your application is in a language -other than the operating system's locale, you will also have to -redistribute the corresponding localized resources MFC90XXX.DLL. -For more information on both of these topics, please see the section on -redistributing Visual C++ applications in MSDN documentation. - -///////////////////////////////////////////////////////////////////////////// diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7230/SDK7230DbEvtMsg/res/7230int.ico b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7230/SDK7230DbEvtMsg/res/7230int.ico deleted file mode 100644 index d56fbcd..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7230/SDK7230DbEvtMsg/res/7230int.ico and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7230/SDK7230DbEvtMsg/res/My7230int.rc2 b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7230/SDK7230DbEvtMsg/res/My7230int.rc2 deleted file mode 100644 index 7bd3593..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7230/SDK7230DbEvtMsg/res/My7230int.rc2 +++ /dev/null @@ -1,13 +0,0 @@ -// -// My7256int.RC2 - resources Microsoft Visual C++ does not edit directly -// - -#ifdef APSTUDIO_INVOKED -#error this file is not editable by Microsoft Visual C++ -#endif //APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// Add manually edited resources here... - -///////////////////////////////////////////////////////////////////////////// diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7230/SDK7230DbEvtMsg/resource.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7230/SDK7230DbEvtMsg/resource.h deleted file mode 100644 index 8b27ef9..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7230/SDK7230DbEvtMsg/resource.h +++ /dev/null @@ -1,28 +0,0 @@ -//{{NO_DEPENDENCIES}} -// Microsoft Visual C++ generated include file. -// Used by 7230int.rc -// -#define IDM_ABOUTBOX 0x0010 -#define IDD_ABOUTBOX 100 -#define IDS_ABOUTBOX 101 -#define IDD_MY7230INT_DIALOG 102 -#define IDR_MAINFRAME 128 -#define IDD_CARDID_DIALOG 129 -#define IDC_COMBO_CARDID 1000 -#define IDC_BUTTON1 1000 -#define IDC_BT_OUTPUT 1000 -#define IDC_STATIC_05 1007 -#define IDC_STATIC_06 1008 -#define IDC_STATIC_6 1008 -#define IDC_STATIC_01 1014 - -// Next default values for new objects -// -#ifdef APSTUDIO_INVOKED -#ifndef APSTUDIO_READONLY_SYMBOLS -#define _APS_NEXT_RESOURCE_VALUE 131 -#define _APS_NEXT_COMMAND_VALUE 32771 -#define _APS_NEXT_CONTROL_VALUE 1001 -#define _APS_NEXT_SYMED_VALUE 101 -#endif -#endif diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7230/SDK7230DbEvtMsg/stdafx.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7230/SDK7230DbEvtMsg/stdafx.cpp deleted file mode 100644 index 335cdd7..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7230/SDK7230DbEvtMsg/stdafx.cpp +++ /dev/null @@ -1,8 +0,0 @@ - -// stdafx.cpp : source file that includes just the standard includes -// 7230int.pch will be the pre-compiled header -// stdafx.obj will contain the pre-compiled type information - -#include "stdafx.h" - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7230/SDK7230DbEvtMsg/stdafx.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7230/SDK7230DbEvtMsg/stdafx.h deleted file mode 100644 index 12123e2..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7230/SDK7230DbEvtMsg/stdafx.h +++ /dev/null @@ -1,60 +0,0 @@ - -// stdafx.h : include file for standard system include files, -// or project specific include files that are used frequently, -// but are changed infrequently - -#pragma once - -#ifndef _SECURE_ATL -#define _SECURE_ATL 1 -#endif - -#ifndef VC_EXTRALEAN -#define VC_EXTRALEAN // Exclude rarely-used stuff from Windows headers -#endif - -#include "targetver.h" - -#define _ATL_CSTRING_EXPLICIT_CONSTRUCTORS // some CString constructors will be explicit - -// turns off MFC's hiding of some common and often safely ignored warning messages -#define _AFX_ALL_WARNINGS - -#include // MFC core and standard components -#include // MFC extensions - - -#include // MFC Automation classes - - - -#ifndef _AFX_NO_OLE_SUPPORT -#include // MFC support for Internet Explorer 4 Common Controls -#endif -#ifndef _AFX_NO_AFXCMN_SUPPORT -#include // MFC support for Windows Common Controls -#endif // _AFX_NO_AFXCMN_SUPPORT - -#include // MFC support for ribbons and control bars - - - - - - - - - -#ifdef _UNICODE -#if defined _M_IX86 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='x86' publicKeyToken='6595b64144ccf1df' language='*'\"") -#elif defined _M_IA64 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='ia64' publicKeyToken='6595b64144ccf1df' language='*'\"") -#elif defined _M_X64 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='amd64' publicKeyToken='6595b64144ccf1df' language='*'\"") -#else -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='*' publicKeyToken='6595b64144ccf1df' language='*'\"") -#endif -#endif - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7230/SDK7230DbEvtMsg/targetver.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7230/SDK7230DbEvtMsg/targetver.h deleted file mode 100644 index 11730d5..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7230/SDK7230DbEvtMsg/targetver.h +++ /dev/null @@ -1,26 +0,0 @@ - -#pragma once - -// The following macros define the minimum required platform. The minimum required platform -// is the earliest version of Windows, Internet Explorer etc. that has the necessary features to run -// your application. The macros work by enabling all features available on platform versions up to and -// including the version specified. - -// Modify the following defines if you have to target a platform prior to the ones specified below. -// Refer to MSDN for the latest info on corresponding values for different platforms. -#ifndef WINVER // Specifies that the minimum required platform is Windows Vista. -#define WINVER 0x0600 // Change this to the appropriate value to target other versions of Windows. -#endif - -#ifndef _WIN32_WINNT // Specifies that the minimum required platform is Windows Vista. -#define _WIN32_WINNT 0x0600 // Change this to the appropriate value to target other versions of Windows. -#endif - -#ifndef _WIN32_WINDOWS // Specifies that the minimum required platform is Windows 98. -#define _WIN32_WINDOWS 0x0410 // Change this to the appropriate value to target Windows Me or later. -#endif - -#ifndef _WIN32_IE // Specifies that the minimum required platform is Internet Explorer 7.0. -#define _WIN32_IE 0x0700 // Change this to the appropriate value to target other versions of IE. -#endif - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7230/SDK7230int/7230int.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7230/SDK7230int/7230int.cpp deleted file mode 100644 index 765dba5..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7230/SDK7230int/7230int.cpp +++ /dev/null @@ -1,110 +0,0 @@ - -// 7230int.cpp : Defines the class behaviors for the application. -// - -#include "stdafx.h" -#include "7230int.h" -#include "7230intDlg.h" -#include "CardIDDlg.h" - -#ifdef _DEBUG -#define new DEBUG_NEW -#endif - - -// C7230intApp - -BEGIN_MESSAGE_MAP(C7230intApp, CWinAppEx) - ON_COMMAND(ID_HELP, &CWinApp::OnHelp) -END_MESSAGE_MAP() - - -// C7230intApp construction - -C7230intApp::C7230intApp() -{ - // TODO: add construction code here, - // Place all significant initialization in InitInstance -} - - -// The one and only C7230intApp object - -C7230intApp theApp; - - -// C7230intApp initialization - -BOOL C7230intApp::InitInstance() -{ - int nCardID = 0; - I16 hCard; - CString strTemp; - INT_PTR nResponse; - - // InitCommonControlsEx() is required on Windows XP if an application - // manifest specifies use of ComCtl32.dll version 6 or later to enable - // visual styles. Otherwise, any window creation will fail. - INITCOMMONCONTROLSEX InitCtrls; - InitCtrls.dwSize = sizeof(InitCtrls); - // Set this to include all the common control classes you want to use - // in your application. - InitCtrls.dwICC = ICC_WIN95_CLASSES; - InitCommonControlsEx(&InitCtrls); - - CWinAppEx::InitInstance(); - - AfxEnableControlContainer(); - - // Standard initialization - // If you are not using these features and wish to reduce the size - // of your final executable, you should remove from the following - // the specific initialization routines you do not need - // Change the registry key under which our settings are stored - // TODO: You should modify this string to be something appropriate - // such as the name of your company or organization - SetRegistryKey(_T("Local AppWizard-Generated Applications")); - - CCardIDDlg CardDlg( nCardID ); - - nResponse = CardDlg.DoModal(); - if (nResponse == IDOK) - { - nCardID = CardDlg.GetCardID(); - - if ((hCard=Register_Card(PCI_7230, nCardID)) < 0) - { - strTemp.Format( TEXT("Register_Card Error = %d"), hCard); - AfxMessageBox( strTemp ); - } - else - { - C7230intDlg dlg(hCard); - m_pMainWnd = &dlg; - nResponse = dlg.DoModal(); - if (nResponse == IDOK) - { - // TODO: Place code here to handle when the dialog is - // dismissed with OK - } - else if (nResponse == IDCANCEL) - { - // TODO: Place code here to handle when the dialog is - // dismissed with Cancel - } - - if (hCard >= 0) Release_Card(hCard); - } - - } - else if (nResponse == IDCANCEL) - { - // TODO: Place code here to handle when the dialog is - // dismissed with Cancel - } - - - // Since the dialog has been closed, return FALSE so that we exit the - // application, rather than start the application's message pump. - return FALSE; -} diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7230/SDK7230int/7230int.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7230/SDK7230int/7230int.h deleted file mode 100644 index 7846db6..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7230/SDK7230int/7230int.h +++ /dev/null @@ -1,32 +0,0 @@ - -// 7230int.h : main header file for the PROJECT_NAME application -// - -#pragma once - -#ifndef __AFXWIN_H__ - #error "include 'stdafx.h' before including this file for PCH" -#endif - -#include "resource.h" // main symbols - - -// C7230intApp: -// See 7230int.cpp for the implementation of this class -// - -class C7230intApp : public CWinAppEx -{ -public: - C7230intApp(); - -// Overrides - public: - virtual BOOL InitInstance(); - -// Implementation - - DECLARE_MESSAGE_MAP() -}; - -extern C7230intApp theApp; \ No newline at end of file diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7230/SDK7230int/7230int.rc b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7230/SDK7230int/7230int.rc deleted file mode 100644 index 5d50641..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7230/SDK7230int/7230int.rc +++ /dev/null @@ -1,261 +0,0 @@ -// Microsoft Visual C++ generated resource script. -// -#include "resource.h" - -#define APSTUDIO_READONLY_SYMBOLS -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 2 resource. -// -#ifndef APSTUDIO_INVOKED -#include "targetver.h" -#endif -#include "afxres.h" - -///////////////////////////////////////////////////////////////////////////// -#undef APSTUDIO_READONLY_SYMBOLS - -///////////////////////////////////////////////////////////////////////////// -// Chinese (Taiwan) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_CHT) -#ifdef _WIN32 -LANGUAGE LANG_CHINESE, SUBLANG_CHINESE_TRADITIONAL -#pragma code_page(950) -#endif //_WIN32 - -#ifdef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// TEXTINCLUDE -// - -1 TEXTINCLUDE -BEGIN - "resource.h\0" -END - -2 TEXTINCLUDE -BEGIN - "#ifndef APSTUDIO_INVOKED\r\n" - "#include ""targetver.h""\r\n" - "#endif\r\n" - "#include ""afxres.h""\r\n" - "\0" -END - -3 TEXTINCLUDE -BEGIN - "#define _AFX_NO_SPLITTER_RESOURCES\r\n" - "#define _AFX_NO_OLE_RESOURCES\r\n" - "#define _AFX_NO_TRACKER_RESOURCES\r\n" - "#define _AFX_NO_PROPERTY_RESOURCES\r\n" - "\r\n" - "#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)\r\n" - "LANGUAGE 9, 1\r\n" - "#pragma code_page(1252)\r\n" - "#include ""res\\My7230int.rc2"" // non-Microsoft Visual C++ edited resources\r\n" - "#include ""afxres.rc"" // Standard components\r\n" - "#endif\r\n" - "\0" -END - -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// Icon -// - -// Icon with lowest ID value placed first to ensure application icon -// remains consistent on all systems. -IDR_MAINFRAME ICON "res\\7230int.ico" -#endif // Chinese (Taiwan) resources -///////////////////////////////////////////////////////////////////////////// - - -///////////////////////////////////////////////////////////////////////////// -// English (U.S.) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -#ifdef _WIN32 -LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US -#pragma code_page(1252) -#endif //_WIN32 - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog -// - -IDD_ABOUTBOX DIALOGEX 0, 0, 170, 62 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "About 7230int" -FONT 8, "MS Shell Dlg", 0, 0, 0x1 -BEGIN - ICON IDR_MAINFRAME,IDC_STATIC,14,14,21,20 - LTEXT "7230int, Version 1.0",IDC_STATIC,42,14,114,8,SS_NOPREFIX - LTEXT "Copyright (C) 2010",IDC_STATIC,42,26,114,8 - DEFPUSHBUTTON "OK",IDOK,113,41,50,14,WS_GROUP -END - -IDD_MY7230INT_DIALOG DIALOGEX 0, 0, 195, 138 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU -EXSTYLE WS_EX_APPWINDOW -CAPTION "PCI-7230 Interrupt Sample (INT1)" -FONT 8, "MS Shell Dlg", 0, 0, 0x1 -BEGIN - LTEXT "This program shows the number of occurrence of INT1 interrupt. INT1 interrupt is generated by external signal from DI bit-0. If you connect DO bit-0 to DI bit-0, press 'Output' button can generate an interrupt.",IDC_STATIC,25,24,151,42 - LTEXT "INT Count =",IDC_STATIC_05,54,83,85,13 - PUSHBUTTON "Output",IDC_BT_OUTPUT,46,103,84,18 -END - -IDD_CARDID_DIALOG DIALOGEX 0, 0, 163, 88 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "Card ID" -FONT 8, "MS Shell Dlg", 400, 0, 0x1 -BEGIN - COMBOBOX IDC_COMBO_CARDID,73,17,71,126,CBS_DROPDOWN | WS_VSCROLL | WS_TABSTOP - LTEXT "Card Number",IDC_STATIC_01,19,18,46,12 - PUSHBUTTON "OK",IDOK,20,50,58,19 - PUSHBUTTON "CANCEL",IDCANCEL,84,50,58,19 -END - - -///////////////////////////////////////////////////////////////////////////// -// -// Version -// - -VS_VERSION_INFO VERSIONINFO - FILEVERSION 1,0,0,1 - PRODUCTVERSION 1,0,0,1 - FILEFLAGSMASK 0x3fL -#ifdef _DEBUG - FILEFLAGS 0x1L -#else - FILEFLAGS 0x0L -#endif - FILEOS 0x4L - FILETYPE 0x1L - FILESUBTYPE 0x0L -BEGIN - BLOCK "StringFileInfo" - BEGIN - BLOCK "040904e4" - BEGIN - VALUE "CompanyName", "TODO: " - VALUE "FileDescription", "TODO: " - VALUE "FileVersion", "1.0.0.1" - VALUE "InternalName", "7230int.exe" - VALUE "LegalCopyright", "TODO: (c) . All rights reserved." - VALUE "OriginalFilename", "7230int.exe" - VALUE "ProductName", "TODO: " - VALUE "ProductVersion", "1.0.0.1" - END - END - BLOCK "VarFileInfo" - BEGIN - VALUE "Translation", 0x409, 1252 - END -END - - -///////////////////////////////////////////////////////////////////////////// -// -// DESIGNINFO -// - -#ifdef APSTUDIO_INVOKED -GUIDELINES DESIGNINFO -BEGIN - IDD_ABOUTBOX, DIALOG - BEGIN - END - - IDD_CARDID_DIALOG, DIALOG - BEGIN - END -END -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog Info -// - -IDD_CARDID_DIALOG DLGINIT -BEGIN - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0030, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0031, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0032, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0033, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0034, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0035, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0036, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0037, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0038, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0039, - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3031, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3131, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3231, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3331, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3431, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3531, "\000" - 0 -END - - -///////////////////////////////////////////////////////////////////////////// -// -// String Table -// - -STRINGTABLE -BEGIN - IDS_ABOUTBOX "&About 7230int..." -END - -#endif // English (U.S.) resources -///////////////////////////////////////////////////////////////////////////// - - - -#ifndef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 3 resource. -// -#define _AFX_NO_SPLITTER_RESOURCES -#define _AFX_NO_OLE_RESOURCES -#define _AFX_NO_TRACKER_RESOURCES -#define _AFX_NO_PROPERTY_RESOURCES - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -LANGUAGE 9, 1 -#pragma code_page(1252) -#include "res\My7230int.rc2" // non-Microsoft Visual C++ edited resources -#include "afxres.rc" // Standard components -#endif - -///////////////////////////////////////////////////////////////////////////// -#endif // not APSTUDIO_INVOKED - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7230/SDK7230int/7230int.sln b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7230/SDK7230int/7230int.sln deleted file mode 100644 index 9efd97c..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7230/SDK7230int/7230int.sln +++ /dev/null @@ -1,26 +0,0 @@ - -Microsoft Visual Studio Solution File, Format Version 10.00 -# Visual Studio 2008 -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "7230int", "7230int.vcproj", "{7D5D9EC5-ED97-47EE-B6F4-ACCD71069808}" -EndProject -Global - GlobalSection(SolutionConfigurationPlatforms) = preSolution - Debug|Win32 = Debug|Win32 - Debug|x64 = Debug|x64 - Release|Win32 = Release|Win32 - Release|x64 = Release|x64 - EndGlobalSection - GlobalSection(ProjectConfigurationPlatforms) = postSolution - {7D5D9EC5-ED97-47EE-B6F4-ACCD71069808}.Debug|Win32.ActiveCfg = Debug|Win32 - {7D5D9EC5-ED97-47EE-B6F4-ACCD71069808}.Debug|Win32.Build.0 = Debug|Win32 - {7D5D9EC5-ED97-47EE-B6F4-ACCD71069808}.Debug|x64.ActiveCfg = Debug|x64 - {7D5D9EC5-ED97-47EE-B6F4-ACCD71069808}.Debug|x64.Build.0 = Debug|x64 - {7D5D9EC5-ED97-47EE-B6F4-ACCD71069808}.Release|Win32.ActiveCfg = Release|Win32 - {7D5D9EC5-ED97-47EE-B6F4-ACCD71069808}.Release|Win32.Build.0 = Release|Win32 - {7D5D9EC5-ED97-47EE-B6F4-ACCD71069808}.Release|x64.ActiveCfg = Release|x64 - {7D5D9EC5-ED97-47EE-B6F4-ACCD71069808}.Release|x64.Build.0 = Release|x64 - EndGlobalSection - GlobalSection(SolutionProperties) = preSolution - HideSolutionNode = FALSE - EndGlobalSection -EndGlobal diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7230/SDK7230int/7230int.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7230/SDK7230int/7230int.suo deleted file mode 100644 index d84cc52..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7230/SDK7230int/7230int.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7230/SDK7230int/7230int.vcproj b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7230/SDK7230int/7230int.vcproj deleted file mode 100644 index 10d75f4..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7230/SDK7230int/7230int.vcproj +++ /dev/null @@ -1,471 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7230/SDK7230int/7230intDlg.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7230/SDK7230int/7230intDlg.cpp deleted file mode 100644 index f777634..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7230/SDK7230int/7230intDlg.cpp +++ /dev/null @@ -1,242 +0,0 @@ - -// 7230intDlg.cpp : implementation file -// - -#include "stdafx.h" -#include "7230int.h" -#include "7230intDlg.h" - -#ifdef _DEBUG -#define new DEBUG_NEW -#endif - -int gIntCount; -HANDLE ghIntEvent[2]; - -BOOLEAN gbExitThread; - - - -DWORD WINAPI IntThread( LPVOID lpParam ) -{ - - while ( gbExitThread == FALSE ) - { - if ( WaitForSingleObject(ghIntEvent[0], INFINITE) == WAIT_OBJECT_0 ) - { - gIntCount++; - ResetEvent(ghIntEvent[0]); - } - } - - return (DWORD) 0; -} - -// CAboutDlg dialog used for App About - -class CAboutDlg : public CDialog -{ -public: - CAboutDlg(); - -// Dialog Data - enum { IDD = IDD_ABOUTBOX }; - - protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - -// Implementation -protected: - DECLARE_MESSAGE_MAP() -}; - -CAboutDlg::CAboutDlg() : CDialog(CAboutDlg::IDD) -{ -} - -void CAboutDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); -} - -BEGIN_MESSAGE_MAP(CAboutDlg, CDialog) -END_MESSAGE_MAP() - - -// C7230intDlg dialog - - - - -C7230intDlg::C7230intDlg(I16 hCard, CWnd* pParent /*=NULL*/) - : CDialog(C7230intDlg::IDD, pParent) -{ - m_hIcon = AfxGetApp()->LoadIcon(IDR_MAINFRAME); - - m_hCard = hCard; - m_hThread = NULL; - m_nTimer = -1; - m_dwOutVal = 0x00000000; -} - -void C7230intDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); -} - -BEGIN_MESSAGE_MAP(C7230intDlg, CDialog) - ON_WM_SYSCOMMAND() - ON_WM_PAINT() - ON_WM_QUERYDRAGICON() - //}}AFX_MSG_MAP - ON_WM_DESTROY() - ON_WM_TIMER() - ON_BN_CLICKED(IDC_BT_OUTPUT, &C7230intDlg::OnOutput) -END_MESSAGE_MAP() - - -// C7230intDlg message handlers - -BOOL C7230intDlg::OnInitDialog() -{ - CDialog::OnInitDialog(); - - // Add "About..." menu item to system menu. - - // IDM_ABOUTBOX must be in the system command range. - ASSERT((IDM_ABOUTBOX & 0xFFF0) == IDM_ABOUTBOX); - ASSERT(IDM_ABOUTBOX < 0xF000); - - CMenu* pSysMenu = GetSystemMenu(FALSE); - if (pSysMenu != NULL) - { - BOOL bNameValid; - CString strAboutMenu; - bNameValid = strAboutMenu.LoadString(IDS_ABOUTBOX); - ASSERT(bNameValid); - if (!strAboutMenu.IsEmpty()) - { - pSysMenu->AppendMenu(MF_SEPARATOR); - pSysMenu->AppendMenu(MF_STRING, IDM_ABOUTBOX, strAboutMenu); - } - } - - // Set the icon for this dialog. The framework does this automatically - // when the application's main window is not a dialog - SetIcon(m_hIcon, TRUE); // Set big icon - SetIcon(m_hIcon, FALSE); // Set small icon - - // TODO: Add extra initialization here - I16 err; - - err = DIO_SetDualInterrupt(m_hCard, INT1_EXT_SIGNAL, INT2_DISABLE, ghIntEvent); - DO_WritePort(m_hCard, 0, m_dwOutVal); - - gbExitThread = FALSE; - m_hThread = CreateThread( NULL, // default security attributes - 0, // use default stack size - IntThread, // thread function name - NULL, // argument to thread function - 0, // use default creation flags - NULL); // returns the thread identifier - - m_nTimer = SetTimer( 1, 250, NULL ); - - return TRUE; // return TRUE unless you set the focus to a control -} - -void C7230intDlg::OnSysCommand(UINT nID, LPARAM lParam) -{ - if ((nID & 0xFFF0) == IDM_ABOUTBOX) - { - CAboutDlg dlgAbout; - dlgAbout.DoModal(); - } - else - { - CDialog::OnSysCommand(nID, lParam); - } -} - -// If you add a minimize button to your dialog, you will need the code below -// to draw the icon. For MFC applications using the document/view model, -// this is automatically done for you by the framework. - -void C7230intDlg::OnPaint() -{ - if (IsIconic()) - { - CPaintDC dc(this); // device context for painting - - SendMessage(WM_ICONERASEBKGND, reinterpret_cast(dc.GetSafeHdc()), 0); - - // Center icon in client rectangle - int cxIcon = GetSystemMetrics(SM_CXICON); - int cyIcon = GetSystemMetrics(SM_CYICON); - CRect rect; - GetClientRect(&rect); - int x = (rect.Width() - cxIcon + 1) / 2; - int y = (rect.Height() - cyIcon + 1) / 2; - - // Draw the icon - dc.DrawIcon(x, y, m_hIcon); - } - else - { - CDialog::OnPaint(); - } -} - -// The system calls this function to obtain the cursor to display while the user drags -// the minimized window. -HCURSOR C7230intDlg::OnQueryDragIcon() -{ - return static_cast(m_hIcon); -} - - -void C7230intDlg::OnDestroy() -{ - CDialog::OnDestroy(); - - // TODO: Add your message handler code here - DIO_SetDualInterrupt(m_hCard, INT1_DISABLE, INT2_DISABLE, ghIntEvent); - - if( m_nTimer != -1 ) - { - KillTimer( m_nTimer ); - m_nTimer = -1; - } - - - if( m_hThread != NULL ) - { - gbExitThread = TRUE; // termnate the IntThread - SetEvent( ghIntEvent[0] ); - - if (WaitForSingleObject(m_hThread, 5000) == WAIT_OBJECT_0) - { - CloseHandle( m_hThread ); - m_hThread = NULL; - } - } -} - -void C7230intDlg::OnTimer(UINT_PTR nIDEvent) -{ - // TODO: Add your message handler code here and/or call default - CString strTemp; - - strTemp.Format( TEXT("INT Count = %d"), gIntCount ); - SetDlgItemText( IDC_STATIC_05, strTemp ); - - CDialog::OnTimer(nIDEvent); -} - -void C7230intDlg::OnOutput() -{ - // TODO: Add your control notification handler code here - DO_WritePort(m_hCard,0, 0x1); - Sleep(1); - DO_WritePort(m_hCard,0, 0x0); -} diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7230/SDK7230int/7230intDlg.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7230/SDK7230int/7230intDlg.h deleted file mode 100644 index 43c88c5..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7230/SDK7230int/7230intDlg.h +++ /dev/null @@ -1,41 +0,0 @@ - -// 7230intDlg.h : header file -// -#include "Dask64.h" - -#pragma once - - -// C7230intDlg dialog -class C7230intDlg : public CDialog -{ -// Construction -public: - C7230intDlg(I16 hCard, CWnd* pParent = NULL); // standard constructor - -// Dialog Data - enum { IDD = IDD_MY7230INT_DIALOG }; - - protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - - -// Implementation -protected: - HICON m_hIcon; - UINT_PTR m_nTimer; - HANDLE m_hThread; - I16 m_hCard; - U32 m_dwOutVal; - - // Generated message map functions - virtual BOOL OnInitDialog(); - afx_msg void OnSysCommand(UINT nID, LPARAM lParam); - afx_msg void OnPaint(); - afx_msg HCURSOR OnQueryDragIcon(); - DECLARE_MESSAGE_MAP() -public: - afx_msg void OnDestroy(); - afx_msg void OnTimer(UINT_PTR nIDEvent); - afx_msg void OnOutput(); -}; diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7230/SDK7230int/7256int.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7230/SDK7230int/7256int.suo deleted file mode 100644 index 494d925..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7230/SDK7230int/7256int.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7230/SDK7230int/7258int.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7230/SDK7230int/7258int.suo deleted file mode 100644 index ea9e48d..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7230/SDK7230int/7258int.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7230/SDK7230int/CardIDDlg.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7230/SDK7230int/CardIDDlg.cpp deleted file mode 100644 index 36fbb08..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7230/SDK7230int/CardIDDlg.cpp +++ /dev/null @@ -1,67 +0,0 @@ -// CardIDDlg.cpp : implementation file -// - -#include "stdafx.h" -#include "7230int.h" -#include "CardIDDlg.h" - - -// CCardIDDlg dialog - -IMPLEMENT_DYNAMIC(CCardIDDlg, CDialog) - -CCardIDDlg::CCardIDDlg(int nCardIdx, CWnd* pParent /*=NULL*/) - : CDialog(CCardIDDlg::IDD, pParent) -{ - m_nCardIdx = nCardIdx; -} - -CCardIDDlg::~CCardIDDlg() -{ -} - -void CCardIDDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); - DDX_Control(pDX, IDC_COMBO_CARDID, m_cbCardID); -} - - -BEGIN_MESSAGE_MAP(CCardIDDlg, CDialog) -// ON_CBN_SELCHANGE(IDC_COMBO_CARDID, &CCardIDDlg::OnCbnSelchangeComboCardid) -ON_BN_CLICKED(IDOK, &CCardIDDlg::OnBnClickedOk) -//ON_WM_CTLCOLOR() -END_MESSAGE_MAP() - - -// CCardIDDlg message handlers - - -void CCardIDDlg::OnBnClickedOk() -{ - // TODO: Add your control notification handler code here - -// UpdateData(TRUE); - m_nCardIdx = m_cbCardID.GetCurSel(); - - OnOK(); -} - -BOOL CCardIDDlg::OnInitDialog() -{ - CDialog::OnInitDialog(); - - // TODO: Add extra initialization here - m_cbCardID.SetCurSel( m_nCardIdx ); - - return TRUE; // return TRUE unless you set the focus to a control - // EXCEPTION: OCX Property Pages should return FALSE -} - -// the function to get the selected CardID -int CCardIDDlg::GetCardID(void) -{ - return m_nCardIdx; -} - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7230/SDK7230int/CardIDDlg.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7230/SDK7230int/CardIDDlg.h deleted file mode 100644 index 54628ea..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7230/SDK7230int/CardIDDlg.h +++ /dev/null @@ -1,33 +0,0 @@ -#pragma once -#include "afxwin.h" - - -// CCardIDDlg dialog - -class CCardIDDlg : public CDialog -{ - DECLARE_DYNAMIC(CCardIDDlg) - -public: - CCardIDDlg(int nCardIdx, CWnd* pParent = NULL); // standard constructor - virtual ~CCardIDDlg(); - -// Dialog Data - enum { IDD = IDD_CARDID_DIALOG }; - -protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - - DECLARE_MESSAGE_MAP() -public: -// afx_msg void OnCbnSelchangeComboCardid(); - afx_msg void OnBnClickedOk(); - // the setting of CardID ComboBox - int m_nCardIdx; - virtual BOOL OnInitDialog(); - // the control of CardID ComboBox - CComboBox m_cbCardID; - // the function to get the selected CardID - int GetCardID(void); -// afx_msg HBRUSH OnCtlColor(CDC* pDC, CWnd* pWnd, UINT nCtlColor); -}; diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7230/SDK7230int/ReadMe.txt b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7230/SDK7230int/ReadMe.txt deleted file mode 100644 index 2d07819..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7230/SDK7230int/ReadMe.txt +++ /dev/null @@ -1,93 +0,0 @@ -================================================================================ - MICROSOFT FOUNDATION CLASS LIBRARY : 7256int Project Overview -=============================================================================== - -The application wizard has created this 7256int application for -you. This application not only demonstrates the basics of using the Microsoft -Foundation Classes but is also a starting point for writing your application. - -This file contains a summary of what you will find in each of the files that -make up your 7256int application. - -7256int.vcproj - This is the main project file for VC++ projects generated using an application wizard. - It contains information about the version of Visual C++ that generated the file, and - information about the platforms, configurations, and project features selected with the - application wizard. - -7256int.h - This is the main header file for the application. It includes other - project specific headers (including Resource.h) and declares the - C7256intApp application class. - -7256int.cpp - This is the main application source file that contains the application - class C7256intApp. - -7256int.rc - This is a listing of all of the Microsoft Windows resources that the - program uses. It includes the icons, bitmaps, and cursors that are stored - in the RES subdirectory. This file can be directly edited in Microsoft - Visual C++. Your project resources are in 1033. - -res\7256int.ico - This is an icon file, which is used as the application's icon. This - icon is included by the main resource file 7256int.rc. - -res\My7256int.rc2 - This file contains resources that are not edited by Microsoft - Visual C++. You should place all resources not editable by - the resource editor in this file. - - -///////////////////////////////////////////////////////////////////////////// - -The application wizard creates one dialog class: - -7256intDlg.h, 7256intDlg.cpp - the dialog - These files contain your C7256intDlg class. This class defines - the behavior of your application's main dialog. The dialog's template is - in 7256int.rc, which can be edited in Microsoft Visual C++. - - -///////////////////////////////////////////////////////////////////////////// - -Other Features: - -ActiveX Controls - The application includes support to use ActiveX controls. - -///////////////////////////////////////////////////////////////////////////// - -Other standard files: - -StdAfx.h, StdAfx.cpp - These files are used to build a precompiled header (PCH) file - named 7256int.pch and a precompiled types file named StdAfx.obj. - -Resource.h - This is the standard header file, which defines new resource IDs. - Microsoft Visual C++ reads and updates this file. - -7256int.manifest - Application manifest files are used by Windows XP to describe an applications - dependency on specific versions of Side-by-Side assemblies. The loader uses this - information to load the appropriate assembly from the assembly cache or private - from the application. The Application manifest maybe included for redistribution - as an external .manifest file that is installed in the same folder as the application - executable or it may be included in the executable in the form of a resource. -///////////////////////////////////////////////////////////////////////////// - -Other notes: - -The application wizard uses "TODO:" to indicate parts of the source code you -should add to or customize. - -If your application uses MFC in a shared DLL, you will need -to redistribute the MFC DLLs. If your application is in a language -other than the operating system's locale, you will also have to -redistribute the corresponding localized resources MFC90XXX.DLL. -For more information on both of these topics, please see the section on -redistributing Visual C++ applications in MSDN documentation. - -///////////////////////////////////////////////////////////////////////////// diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7230/SDK7230int/res/7230int.ico b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7230/SDK7230int/res/7230int.ico deleted file mode 100644 index d56fbcd..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7230/SDK7230int/res/7230int.ico and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7230/SDK7230int/res/My7230int.rc2 b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7230/SDK7230int/res/My7230int.rc2 deleted file mode 100644 index 7bd3593..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7230/SDK7230int/res/My7230int.rc2 +++ /dev/null @@ -1,13 +0,0 @@ -// -// My7256int.RC2 - resources Microsoft Visual C++ does not edit directly -// - -#ifdef APSTUDIO_INVOKED -#error this file is not editable by Microsoft Visual C++ -#endif //APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// Add manually edited resources here... - -///////////////////////////////////////////////////////////////////////////// diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7230/SDK7230int/resource.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7230/SDK7230int/resource.h deleted file mode 100644 index 2fbcab0..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7230/SDK7230int/resource.h +++ /dev/null @@ -1,27 +0,0 @@ -//{{NO_DEPENDENCIES}} -// Microsoft Visual C++ generated include file. -// Used by 7230int.rc -// -#define IDM_ABOUTBOX 0x0010 -#define IDD_ABOUTBOX 100 -#define IDS_ABOUTBOX 101 -#define IDD_MY7230INT_DIALOG 102 -#define IDR_MAINFRAME 128 -#define IDD_CARDID_DIALOG 129 -#define IDC_COMBO_CARDID 1000 -#define IDC_BUTTON1 1000 -#define IDC_BT_OUTPUT 1000 -#define IDC_STATIC_05 1007 -#define IDC_STATIC_06 1008 -#define IDC_STATIC_01 1014 - -// Next default values for new objects -// -#ifdef APSTUDIO_INVOKED -#ifndef APSTUDIO_READONLY_SYMBOLS -#define _APS_NEXT_RESOURCE_VALUE 131 -#define _APS_NEXT_COMMAND_VALUE 32771 -#define _APS_NEXT_CONTROL_VALUE 1001 -#define _APS_NEXT_SYMED_VALUE 101 -#endif -#endif diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7230/SDK7230int/stdafx.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7230/SDK7230int/stdafx.cpp deleted file mode 100644 index 335cdd7..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7230/SDK7230int/stdafx.cpp +++ /dev/null @@ -1,8 +0,0 @@ - -// stdafx.cpp : source file that includes just the standard includes -// 7230int.pch will be the pre-compiled header -// stdafx.obj will contain the pre-compiled type information - -#include "stdafx.h" - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7230/SDK7230int/stdafx.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7230/SDK7230int/stdafx.h deleted file mode 100644 index 12123e2..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7230/SDK7230int/stdafx.h +++ /dev/null @@ -1,60 +0,0 @@ - -// stdafx.h : include file for standard system include files, -// or project specific include files that are used frequently, -// but are changed infrequently - -#pragma once - -#ifndef _SECURE_ATL -#define _SECURE_ATL 1 -#endif - -#ifndef VC_EXTRALEAN -#define VC_EXTRALEAN // Exclude rarely-used stuff from Windows headers -#endif - -#include "targetver.h" - -#define _ATL_CSTRING_EXPLICIT_CONSTRUCTORS // some CString constructors will be explicit - -// turns off MFC's hiding of some common and often safely ignored warning messages -#define _AFX_ALL_WARNINGS - -#include // MFC core and standard components -#include // MFC extensions - - -#include // MFC Automation classes - - - -#ifndef _AFX_NO_OLE_SUPPORT -#include // MFC support for Internet Explorer 4 Common Controls -#endif -#ifndef _AFX_NO_AFXCMN_SUPPORT -#include // MFC support for Windows Common Controls -#endif // _AFX_NO_AFXCMN_SUPPORT - -#include // MFC support for ribbons and control bars - - - - - - - - - -#ifdef _UNICODE -#if defined _M_IX86 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='x86' publicKeyToken='6595b64144ccf1df' language='*'\"") -#elif defined _M_IA64 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='ia64' publicKeyToken='6595b64144ccf1df' language='*'\"") -#elif defined _M_X64 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='amd64' publicKeyToken='6595b64144ccf1df' language='*'\"") -#else -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='*' publicKeyToken='6595b64144ccf1df' language='*'\"") -#endif -#endif - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7230/SDK7230int/targetver.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7230/SDK7230int/targetver.h deleted file mode 100644 index 11730d5..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7230/SDK7230int/targetver.h +++ /dev/null @@ -1,26 +0,0 @@ - -#pragma once - -// The following macros define the minimum required platform. The minimum required platform -// is the earliest version of Windows, Internet Explorer etc. that has the necessary features to run -// your application. The macros work by enabling all features available on platform versions up to and -// including the version specified. - -// Modify the following defines if you have to target a platform prior to the ones specified below. -// Refer to MSDN for the latest info on corresponding values for different platforms. -#ifndef WINVER // Specifies that the minimum required platform is Windows Vista. -#define WINVER 0x0600 // Change this to the appropriate value to target other versions of Windows. -#endif - -#ifndef _WIN32_WINNT // Specifies that the minimum required platform is Windows Vista. -#define _WIN32_WINNT 0x0600 // Change this to the appropriate value to target other versions of Windows. -#endif - -#ifndef _WIN32_WINDOWS // Specifies that the minimum required platform is Windows 98. -#define _WIN32_WINDOWS 0x0410 // Change this to the appropriate value to target Windows Me or later. -#endif - -#ifndef _WIN32_IE // Specifies that the minimum required platform is Internet Explorer 7.0. -#define _WIN32_IE 0x0700 // Change this to the appropriate value to target other versions of IE. -#endif - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7230/SDK7230intMsg/7230int.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7230/SDK7230intMsg/7230int.cpp deleted file mode 100644 index 765dba5..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7230/SDK7230intMsg/7230int.cpp +++ /dev/null @@ -1,110 +0,0 @@ - -// 7230int.cpp : Defines the class behaviors for the application. -// - -#include "stdafx.h" -#include "7230int.h" -#include "7230intDlg.h" -#include "CardIDDlg.h" - -#ifdef _DEBUG -#define new DEBUG_NEW -#endif - - -// C7230intApp - -BEGIN_MESSAGE_MAP(C7230intApp, CWinAppEx) - ON_COMMAND(ID_HELP, &CWinApp::OnHelp) -END_MESSAGE_MAP() - - -// C7230intApp construction - -C7230intApp::C7230intApp() -{ - // TODO: add construction code here, - // Place all significant initialization in InitInstance -} - - -// The one and only C7230intApp object - -C7230intApp theApp; - - -// C7230intApp initialization - -BOOL C7230intApp::InitInstance() -{ - int nCardID = 0; - I16 hCard; - CString strTemp; - INT_PTR nResponse; - - // InitCommonControlsEx() is required on Windows XP if an application - // manifest specifies use of ComCtl32.dll version 6 or later to enable - // visual styles. Otherwise, any window creation will fail. - INITCOMMONCONTROLSEX InitCtrls; - InitCtrls.dwSize = sizeof(InitCtrls); - // Set this to include all the common control classes you want to use - // in your application. - InitCtrls.dwICC = ICC_WIN95_CLASSES; - InitCommonControlsEx(&InitCtrls); - - CWinAppEx::InitInstance(); - - AfxEnableControlContainer(); - - // Standard initialization - // If you are not using these features and wish to reduce the size - // of your final executable, you should remove from the following - // the specific initialization routines you do not need - // Change the registry key under which our settings are stored - // TODO: You should modify this string to be something appropriate - // such as the name of your company or organization - SetRegistryKey(_T("Local AppWizard-Generated Applications")); - - CCardIDDlg CardDlg( nCardID ); - - nResponse = CardDlg.DoModal(); - if (nResponse == IDOK) - { - nCardID = CardDlg.GetCardID(); - - if ((hCard=Register_Card(PCI_7230, nCardID)) < 0) - { - strTemp.Format( TEXT("Register_Card Error = %d"), hCard); - AfxMessageBox( strTemp ); - } - else - { - C7230intDlg dlg(hCard); - m_pMainWnd = &dlg; - nResponse = dlg.DoModal(); - if (nResponse == IDOK) - { - // TODO: Place code here to handle when the dialog is - // dismissed with OK - } - else if (nResponse == IDCANCEL) - { - // TODO: Place code here to handle when the dialog is - // dismissed with Cancel - } - - if (hCard >= 0) Release_Card(hCard); - } - - } - else if (nResponse == IDCANCEL) - { - // TODO: Place code here to handle when the dialog is - // dismissed with Cancel - } - - - // Since the dialog has been closed, return FALSE so that we exit the - // application, rather than start the application's message pump. - return FALSE; -} diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7230/SDK7230intMsg/7230int.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7230/SDK7230intMsg/7230int.h deleted file mode 100644 index 7846db6..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7230/SDK7230intMsg/7230int.h +++ /dev/null @@ -1,32 +0,0 @@ - -// 7230int.h : main header file for the PROJECT_NAME application -// - -#pragma once - -#ifndef __AFXWIN_H__ - #error "include 'stdafx.h' before including this file for PCH" -#endif - -#include "resource.h" // main symbols - - -// C7230intApp: -// See 7230int.cpp for the implementation of this class -// - -class C7230intApp : public CWinAppEx -{ -public: - C7230intApp(); - -// Overrides - public: - virtual BOOL InitInstance(); - -// Implementation - - DECLARE_MESSAGE_MAP() -}; - -extern C7230intApp theApp; \ No newline at end of file diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7230/SDK7230intMsg/7230int.rc b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7230/SDK7230intMsg/7230int.rc deleted file mode 100644 index d8183d8..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7230/SDK7230intMsg/7230int.rc +++ /dev/null @@ -1,269 +0,0 @@ -// Microsoft Visual C++ generated resource script. -// -#include "resource.h" - -#define APSTUDIO_READONLY_SYMBOLS -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 2 resource. -// -#ifndef APSTUDIO_INVOKED -#include "targetver.h" -#endif -#include "afxres.h" - -///////////////////////////////////////////////////////////////////////////// -#undef APSTUDIO_READONLY_SYMBOLS - -///////////////////////////////////////////////////////////////////////////// -// Chinese (Taiwan) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_CHT) -#ifdef _WIN32 -LANGUAGE LANG_CHINESE, SUBLANG_CHINESE_TRADITIONAL -#pragma code_page(950) -#endif //_WIN32 - -#ifdef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// TEXTINCLUDE -// - -1 TEXTINCLUDE -BEGIN - "resource.h\0" -END - -2 TEXTINCLUDE -BEGIN - "#ifndef APSTUDIO_INVOKED\r\n" - "#include ""targetver.h""\r\n" - "#endif\r\n" - "#include ""afxres.h""\r\n" - "\0" -END - -3 TEXTINCLUDE -BEGIN - "#define _AFX_NO_SPLITTER_RESOURCES\r\n" - "#define _AFX_NO_OLE_RESOURCES\r\n" - "#define _AFX_NO_TRACKER_RESOURCES\r\n" - "#define _AFX_NO_PROPERTY_RESOURCES\r\n" - "\r\n" - "#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)\r\n" - "LANGUAGE 9, 1\r\n" - "#pragma code_page(1252)\r\n" - "#include ""res\\My7230int.rc2"" // non-Microsoft Visual C++ edited resources\r\n" - "#include ""afxres.rc"" // Standard components\r\n" - "#endif\r\n" - "\0" -END - -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// Icon -// - -// Icon with lowest ID value placed first to ensure application icon -// remains consistent on all systems. -IDR_MAINFRAME ICON "res\\7230int.ico" -#endif // Chinese (Taiwan) resources -///////////////////////////////////////////////////////////////////////////// - - -///////////////////////////////////////////////////////////////////////////// -// English (U.S.) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -#ifdef _WIN32 -LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US -#pragma code_page(1252) -#endif //_WIN32 - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog -// - -IDD_ABOUTBOX DIALOGEX 0, 0, 170, 62 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "About 7230int" -FONT 8, "MS Shell Dlg", 0, 0, 0x1 -BEGIN - ICON IDR_MAINFRAME,IDC_STATIC,14,14,21,20 - LTEXT "7230int, Version 1.0",IDC_STATIC,42,14,114,8,SS_NOPREFIX - LTEXT "Copyright (C) 2010",IDC_STATIC,42,26,114,8 - DEFPUSHBUTTON "OK",IDOK,113,41,50,14,WS_GROUP -END - -IDD_MY7230INT_DIALOG DIALOGEX 0, 0, 195, 126 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU -EXSTYLE WS_EX_APPWINDOW -CAPTION "PCI-7230 Interrupt Sample (INT2)" -FONT 8, "MS Shell Dlg", 0, 0, 0x1 -BEGIN - LTEXT "This program shows the number of occurrence of INT2 interrupt. INT2 interrupt is generated by external signal from DI bit-1. If you connect DO bit-1 to DI bit-1, press 'Output' button can generate an interrupt.",IDC_STATIC,22,12,151,42 - LTEXT "INT2 Count =",IDC_STATIC_05,54,65,85,13 - PUSHBUTTON "Output",IDC_BT_OUTPUT,49,89,84,18 -END - -IDD_CARDID_DIALOG DIALOGEX 0, 0, 163, 88 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "Card ID" -FONT 8, "MS Shell Dlg", 400, 0, 0x1 -BEGIN - COMBOBOX IDC_COMBO_CARDID,73,17,71,126,CBS_DROPDOWN | WS_VSCROLL | WS_TABSTOP - LTEXT "Card Number",IDC_STATIC_01,19,18,46,12 - PUSHBUTTON "OK",IDOK,20,50,58,19 - PUSHBUTTON "CANCEL",IDCANCEL,84,50,58,19 -END - - -///////////////////////////////////////////////////////////////////////////// -// -// Version -// - -VS_VERSION_INFO VERSIONINFO - FILEVERSION 1,0,0,1 - PRODUCTVERSION 1,0,0,1 - FILEFLAGSMASK 0x3fL -#ifdef _DEBUG - FILEFLAGS 0x1L -#else - FILEFLAGS 0x0L -#endif - FILEOS 0x4L - FILETYPE 0x1L - FILESUBTYPE 0x0L -BEGIN - BLOCK "StringFileInfo" - BEGIN - BLOCK "040904e4" - BEGIN - VALUE "CompanyName", "TODO: " - VALUE "FileDescription", "TODO: " - VALUE "FileVersion", "1.0.0.1" - VALUE "InternalName", "7230int.exe" - VALUE "LegalCopyright", "TODO: (c) . All rights reserved." - VALUE "OriginalFilename", "7230int.exe" - VALUE "ProductName", "TODO: " - VALUE "ProductVersion", "1.0.0.1" - END - END - BLOCK "VarFileInfo" - BEGIN - VALUE "Translation", 0x409, 1252 - END -END - - -///////////////////////////////////////////////////////////////////////////// -// -// DESIGNINFO -// - -#ifdef APSTUDIO_INVOKED -GUIDELINES DESIGNINFO -BEGIN - IDD_ABOUTBOX, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 163 - TOPMARGIN, 7 - BOTTOMMARGIN, 55 - END - - IDD_CARDID_DIALOG, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 156 - TOPMARGIN, 7 - BOTTOMMARGIN, 81 - END -END -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog Info -// - -IDD_CARDID_DIALOG DLGINIT -BEGIN - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0030, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0031, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0032, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0033, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0034, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0035, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0036, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0037, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0038, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0039, - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3031, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3131, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3231, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3331, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3431, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3531, "\000" - 0 -END - - -///////////////////////////////////////////////////////////////////////////// -// -// String Table -// - -STRINGTABLE -BEGIN - IDS_ABOUTBOX "&About 7230int..." -END - -#endif // English (U.S.) resources -///////////////////////////////////////////////////////////////////////////// - - - -#ifndef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 3 resource. -// -#define _AFX_NO_SPLITTER_RESOURCES -#define _AFX_NO_OLE_RESOURCES -#define _AFX_NO_TRACKER_RESOURCES -#define _AFX_NO_PROPERTY_RESOURCES - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -LANGUAGE 9, 1 -#pragma code_page(1252) -#include "res\My7230int.rc2" // non-Microsoft Visual C++ edited resources -#include "afxres.rc" // Standard components -#endif - -///////////////////////////////////////////////////////////////////////////// -#endif // not APSTUDIO_INVOKED - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7230/SDK7230intMsg/7230int.sln b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7230/SDK7230intMsg/7230int.sln deleted file mode 100644 index 9efd97c..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7230/SDK7230intMsg/7230int.sln +++ /dev/null @@ -1,26 +0,0 @@ - -Microsoft Visual Studio Solution File, Format Version 10.00 -# Visual Studio 2008 -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "7230int", "7230int.vcproj", "{7D5D9EC5-ED97-47EE-B6F4-ACCD71069808}" -EndProject -Global - GlobalSection(SolutionConfigurationPlatforms) = preSolution - Debug|Win32 = Debug|Win32 - Debug|x64 = Debug|x64 - Release|Win32 = Release|Win32 - Release|x64 = Release|x64 - EndGlobalSection - GlobalSection(ProjectConfigurationPlatforms) = postSolution - {7D5D9EC5-ED97-47EE-B6F4-ACCD71069808}.Debug|Win32.ActiveCfg = Debug|Win32 - {7D5D9EC5-ED97-47EE-B6F4-ACCD71069808}.Debug|Win32.Build.0 = Debug|Win32 - {7D5D9EC5-ED97-47EE-B6F4-ACCD71069808}.Debug|x64.ActiveCfg = Debug|x64 - {7D5D9EC5-ED97-47EE-B6F4-ACCD71069808}.Debug|x64.Build.0 = Debug|x64 - {7D5D9EC5-ED97-47EE-B6F4-ACCD71069808}.Release|Win32.ActiveCfg = Release|Win32 - {7D5D9EC5-ED97-47EE-B6F4-ACCD71069808}.Release|Win32.Build.0 = Release|Win32 - {7D5D9EC5-ED97-47EE-B6F4-ACCD71069808}.Release|x64.ActiveCfg = Release|x64 - {7D5D9EC5-ED97-47EE-B6F4-ACCD71069808}.Release|x64.Build.0 = Release|x64 - EndGlobalSection - GlobalSection(SolutionProperties) = preSolution - HideSolutionNode = FALSE - EndGlobalSection -EndGlobal diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7230/SDK7230intMsg/7230int.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7230/SDK7230intMsg/7230int.suo deleted file mode 100644 index c40f3e0..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7230/SDK7230intMsg/7230int.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7230/SDK7230intMsg/7230int.vcproj b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7230/SDK7230intMsg/7230int.vcproj deleted file mode 100644 index 10d75f4..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7230/SDK7230intMsg/7230int.vcproj +++ /dev/null @@ -1,471 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7230/SDK7230intMsg/7230intDlg.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7230/SDK7230intMsg/7230intDlg.cpp deleted file mode 100644 index bf586eb..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7230/SDK7230intMsg/7230intDlg.cpp +++ /dev/null @@ -1,199 +0,0 @@ - -// 7230intDlg.cpp : implementation file -// - -#include "stdafx.h" -#include "7230int.h" -#include "7230intDlg.h" - -#ifdef _DEBUG -#define new DEBUG_NEW -#endif - - -#define EXT_SIGNAL_MESSAGE _T("EXT_SIG") -UINT WM_INT = ::RegisterWindowMessage(EXT_SIGNAL_MESSAGE); - -// CAboutDlg dialog used for App About - -class CAboutDlg : public CDialog -{ -public: - CAboutDlg(); - -// Dialog Data - enum { IDD = IDD_ABOUTBOX }; - - protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - -// Implementation -protected: - DECLARE_MESSAGE_MAP() -}; - -CAboutDlg::CAboutDlg() : CDialog(CAboutDlg::IDD) -{ -} - -void CAboutDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); -} - -BEGIN_MESSAGE_MAP(CAboutDlg, CDialog) -END_MESSAGE_MAP() - - -// C7230intDlg dialog - - - - -C7230intDlg::C7230intDlg(I16 hCard, CWnd* pParent /*=NULL*/) - : CDialog(C7230intDlg::IDD, pParent) -{ - m_hIcon = AfxGetApp()->LoadIcon(IDR_MAINFRAME); - - m_hCard = hCard; - m_dwOutVal = 0x00000000; - m_IntCount = 0; -} - -void C7230intDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); -} - -BEGIN_MESSAGE_MAP(C7230intDlg, CDialog) - ON_WM_SYSCOMMAND() - ON_WM_PAINT() - ON_WM_QUERYDRAGICON() - ON_REGISTERED_MESSAGE(WM_INT, OnExtSIGInterrupt) - //}}AFX_MSG_MAP - ON_WM_DESTROY() - ON_BN_CLICKED(IDC_BT_OUTPUT, &C7230intDlg::OnOutput) -END_MESSAGE_MAP() - - -// C7230intDlg message handlers - -BOOL C7230intDlg::OnInitDialog() -{ - CDialog::OnInitDialog(); - - // Add "About..." menu item to system menu. - - // IDM_ABOUTBOX must be in the system command range. - ASSERT((IDM_ABOUTBOX & 0xFFF0) == IDM_ABOUTBOX); - ASSERT(IDM_ABOUTBOX < 0xF000); - - CMenu* pSysMenu = GetSystemMenu(FALSE); - if (pSysMenu != NULL) - { - BOOL bNameValid; - CString strAboutMenu; - bNameValid = strAboutMenu.LoadString(IDS_ABOUTBOX); - ASSERT(bNameValid); - if (!strAboutMenu.IsEmpty()) - { - pSysMenu->AppendMenu(MF_SEPARATOR); - pSysMenu->AppendMenu(MF_STRING, IDM_ABOUTBOX, strAboutMenu); - } - } - - // Set the icon for this dialog. The framework does this automatically - // when the application's main window is not a dialog - SetIcon(m_hIcon, TRUE); // Set big icon - SetIcon(m_hIcon, FALSE); // Set small icon - - // TODO: Add extra initialization here - DIO_INT2_EventMessage (m_hCard, INT2_EXT_SIGNAL, this->m_hWnd, WM_INT, NULL); - - DIO_SetCOSInterrupt(m_hCard, 0, 0x0001, 0, 0); - DO_WritePort(m_hCard, 0, m_dwOutVal); - - - - return TRUE; // return TRUE unless you set the focus to a control -} - -void C7230intDlg::OnSysCommand(UINT nID, LPARAM lParam) -{ - if ((nID & 0xFFF0) == IDM_ABOUTBOX) - { - CAboutDlg dlgAbout; - dlgAbout.DoModal(); - } - else - { - CDialog::OnSysCommand(nID, lParam); - } -} - -// If you add a minimize button to your dialog, you will need the code below -// to draw the icon. For MFC applications using the document/view model, -// this is automatically done for you by the framework. - -void C7230intDlg::OnPaint() -{ - if (IsIconic()) - { - CPaintDC dc(this); // device context for painting - - SendMessage(WM_ICONERASEBKGND, reinterpret_cast(dc.GetSafeHdc()), 0); - - // Center icon in client rectangle - int cxIcon = GetSystemMetrics(SM_CXICON); - int cyIcon = GetSystemMetrics(SM_CYICON); - CRect rect; - GetClientRect(&rect); - int x = (rect.Width() - cxIcon + 1) / 2; - int y = (rect.Height() - cyIcon + 1) / 2; - - // Draw the icon - dc.DrawIcon(x, y, m_hIcon); - } - else - { - CDialog::OnPaint(); - } -} - -// The system calls this function to obtain the cursor to display while the user drags -// the minimized window. -HCURSOR C7230intDlg::OnQueryDragIcon() -{ - return static_cast(m_hIcon); -} - - -void C7230intDlg::OnDestroy() -{ - CDialog::OnDestroy(); - - // TODO: Add your message handler code here - DIO_INT2_EventMessage (m_hCard, INT2_DISABLE, this->m_hWnd, NULL, NULL); - DO_WritePort(m_hCard, 0, 0x0); -} - - -void C7230intDlg::OnOutput() -{ - // TODO: Add your control notification handler code here - DO_WritePort(m_hCard, 0, 0x2); - DO_WritePort(m_hCard, 0, 0x0); -} - -LRESULT C7230intDlg::OnExtSIGInterrupt(WPARAM wParam, LPARAM lParam) -{ - // do something useful - CString strTemp; - - m_IntCount ++; - - strTemp.Format( TEXT("INT2 Count = %d"), m_IntCount ); - SetDlgItemText( IDC_STATIC_05, strTemp ); - - return (LRESULT) 0; -} diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7230/SDK7230intMsg/7230intDlg.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7230/SDK7230intMsg/7230intDlg.h deleted file mode 100644 index c39b076..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7230/SDK7230intMsg/7230intDlg.h +++ /dev/null @@ -1,41 +0,0 @@ - -// 7230intDlg.h : header file -// -#include "Dask64.h" - -#pragma once - - -// C7230intDlg dialog -class C7230intDlg : public CDialog -{ -// Construction -public: - C7230intDlg(I16 hCard, CWnd* pParent = NULL); // standard constructor - -// Dialog Data - enum { IDD = IDD_MY7230INT_DIALOG }; - - protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - - -// Implementation -protected: - HICON m_hIcon; - I16 m_hCard; - U32 m_dwOutVal; - int m_IntCount; - HANDLE m_hIntEvent[2]; - - // Generated message map functions - virtual BOOL OnInitDialog(); - afx_msg void OnSysCommand(UINT nID, LPARAM lParam); - afx_msg void OnPaint(); - afx_msg HCURSOR OnQueryDragIcon(); - afx_msg LRESULT OnExtSIGInterrupt(WPARAM wParam, LPARAM lParam); - DECLARE_MESSAGE_MAP() -public: - afx_msg void OnDestroy(); - afx_msg void OnOutput(); -}; diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7230/SDK7230intMsg/7256int.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7230/SDK7230intMsg/7256int.suo deleted file mode 100644 index 01299a3..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7230/SDK7230intMsg/7256int.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7230/SDK7230intMsg/7258int.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7230/SDK7230intMsg/7258int.suo deleted file mode 100644 index b00e489..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7230/SDK7230intMsg/7258int.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7230/SDK7230intMsg/CardIDDlg.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7230/SDK7230intMsg/CardIDDlg.cpp deleted file mode 100644 index 36fbb08..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7230/SDK7230intMsg/CardIDDlg.cpp +++ /dev/null @@ -1,67 +0,0 @@ -// CardIDDlg.cpp : implementation file -// - -#include "stdafx.h" -#include "7230int.h" -#include "CardIDDlg.h" - - -// CCardIDDlg dialog - -IMPLEMENT_DYNAMIC(CCardIDDlg, CDialog) - -CCardIDDlg::CCardIDDlg(int nCardIdx, CWnd* pParent /*=NULL*/) - : CDialog(CCardIDDlg::IDD, pParent) -{ - m_nCardIdx = nCardIdx; -} - -CCardIDDlg::~CCardIDDlg() -{ -} - -void CCardIDDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); - DDX_Control(pDX, IDC_COMBO_CARDID, m_cbCardID); -} - - -BEGIN_MESSAGE_MAP(CCardIDDlg, CDialog) -// ON_CBN_SELCHANGE(IDC_COMBO_CARDID, &CCardIDDlg::OnCbnSelchangeComboCardid) -ON_BN_CLICKED(IDOK, &CCardIDDlg::OnBnClickedOk) -//ON_WM_CTLCOLOR() -END_MESSAGE_MAP() - - -// CCardIDDlg message handlers - - -void CCardIDDlg::OnBnClickedOk() -{ - // TODO: Add your control notification handler code here - -// UpdateData(TRUE); - m_nCardIdx = m_cbCardID.GetCurSel(); - - OnOK(); -} - -BOOL CCardIDDlg::OnInitDialog() -{ - CDialog::OnInitDialog(); - - // TODO: Add extra initialization here - m_cbCardID.SetCurSel( m_nCardIdx ); - - return TRUE; // return TRUE unless you set the focus to a control - // EXCEPTION: OCX Property Pages should return FALSE -} - -// the function to get the selected CardID -int CCardIDDlg::GetCardID(void) -{ - return m_nCardIdx; -} - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7230/SDK7230intMsg/CardIDDlg.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7230/SDK7230intMsg/CardIDDlg.h deleted file mode 100644 index 54628ea..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7230/SDK7230intMsg/CardIDDlg.h +++ /dev/null @@ -1,33 +0,0 @@ -#pragma once -#include "afxwin.h" - - -// CCardIDDlg dialog - -class CCardIDDlg : public CDialog -{ - DECLARE_DYNAMIC(CCardIDDlg) - -public: - CCardIDDlg(int nCardIdx, CWnd* pParent = NULL); // standard constructor - virtual ~CCardIDDlg(); - -// Dialog Data - enum { IDD = IDD_CARDID_DIALOG }; - -protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - - DECLARE_MESSAGE_MAP() -public: -// afx_msg void OnCbnSelchangeComboCardid(); - afx_msg void OnBnClickedOk(); - // the setting of CardID ComboBox - int m_nCardIdx; - virtual BOOL OnInitDialog(); - // the control of CardID ComboBox - CComboBox m_cbCardID; - // the function to get the selected CardID - int GetCardID(void); -// afx_msg HBRUSH OnCtlColor(CDC* pDC, CWnd* pWnd, UINT nCtlColor); -}; diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7230/SDK7230intMsg/ReadMe.txt b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7230/SDK7230intMsg/ReadMe.txt deleted file mode 100644 index 2d07819..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7230/SDK7230intMsg/ReadMe.txt +++ /dev/null @@ -1,93 +0,0 @@ -================================================================================ - MICROSOFT FOUNDATION CLASS LIBRARY : 7256int Project Overview -=============================================================================== - -The application wizard has created this 7256int application for -you. This application not only demonstrates the basics of using the Microsoft -Foundation Classes but is also a starting point for writing your application. - -This file contains a summary of what you will find in each of the files that -make up your 7256int application. - -7256int.vcproj - This is the main project file for VC++ projects generated using an application wizard. - It contains information about the version of Visual C++ that generated the file, and - information about the platforms, configurations, and project features selected with the - application wizard. - -7256int.h - This is the main header file for the application. It includes other - project specific headers (including Resource.h) and declares the - C7256intApp application class. - -7256int.cpp - This is the main application source file that contains the application - class C7256intApp. - -7256int.rc - This is a listing of all of the Microsoft Windows resources that the - program uses. It includes the icons, bitmaps, and cursors that are stored - in the RES subdirectory. This file can be directly edited in Microsoft - Visual C++. Your project resources are in 1033. - -res\7256int.ico - This is an icon file, which is used as the application's icon. This - icon is included by the main resource file 7256int.rc. - -res\My7256int.rc2 - This file contains resources that are not edited by Microsoft - Visual C++. You should place all resources not editable by - the resource editor in this file. - - -///////////////////////////////////////////////////////////////////////////// - -The application wizard creates one dialog class: - -7256intDlg.h, 7256intDlg.cpp - the dialog - These files contain your C7256intDlg class. This class defines - the behavior of your application's main dialog. The dialog's template is - in 7256int.rc, which can be edited in Microsoft Visual C++. - - -///////////////////////////////////////////////////////////////////////////// - -Other Features: - -ActiveX Controls - The application includes support to use ActiveX controls. - -///////////////////////////////////////////////////////////////////////////// - -Other standard files: - -StdAfx.h, StdAfx.cpp - These files are used to build a precompiled header (PCH) file - named 7256int.pch and a precompiled types file named StdAfx.obj. - -Resource.h - This is the standard header file, which defines new resource IDs. - Microsoft Visual C++ reads and updates this file. - -7256int.manifest - Application manifest files are used by Windows XP to describe an applications - dependency on specific versions of Side-by-Side assemblies. The loader uses this - information to load the appropriate assembly from the assembly cache or private - from the application. The Application manifest maybe included for redistribution - as an external .manifest file that is installed in the same folder as the application - executable or it may be included in the executable in the form of a resource. -///////////////////////////////////////////////////////////////////////////// - -Other notes: - -The application wizard uses "TODO:" to indicate parts of the source code you -should add to or customize. - -If your application uses MFC in a shared DLL, you will need -to redistribute the MFC DLLs. If your application is in a language -other than the operating system's locale, you will also have to -redistribute the corresponding localized resources MFC90XXX.DLL. -For more information on both of these topics, please see the section on -redistributing Visual C++ applications in MSDN documentation. - -///////////////////////////////////////////////////////////////////////////// diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7230/SDK7230intMsg/res/7230int.ico b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7230/SDK7230intMsg/res/7230int.ico deleted file mode 100644 index d56fbcd..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7230/SDK7230intMsg/res/7230int.ico and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7230/SDK7230intMsg/res/My7230int.rc2 b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7230/SDK7230intMsg/res/My7230int.rc2 deleted file mode 100644 index 7bd3593..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7230/SDK7230intMsg/res/My7230int.rc2 +++ /dev/null @@ -1,13 +0,0 @@ -// -// My7256int.RC2 - resources Microsoft Visual C++ does not edit directly -// - -#ifdef APSTUDIO_INVOKED -#error this file is not editable by Microsoft Visual C++ -#endif //APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// Add manually edited resources here... - -///////////////////////////////////////////////////////////////////////////// diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7230/SDK7230intMsg/resource.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7230/SDK7230intMsg/resource.h deleted file mode 100644 index 2fbcab0..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7230/SDK7230intMsg/resource.h +++ /dev/null @@ -1,27 +0,0 @@ -//{{NO_DEPENDENCIES}} -// Microsoft Visual C++ generated include file. -// Used by 7230int.rc -// -#define IDM_ABOUTBOX 0x0010 -#define IDD_ABOUTBOX 100 -#define IDS_ABOUTBOX 101 -#define IDD_MY7230INT_DIALOG 102 -#define IDR_MAINFRAME 128 -#define IDD_CARDID_DIALOG 129 -#define IDC_COMBO_CARDID 1000 -#define IDC_BUTTON1 1000 -#define IDC_BT_OUTPUT 1000 -#define IDC_STATIC_05 1007 -#define IDC_STATIC_06 1008 -#define IDC_STATIC_01 1014 - -// Next default values for new objects -// -#ifdef APSTUDIO_INVOKED -#ifndef APSTUDIO_READONLY_SYMBOLS -#define _APS_NEXT_RESOURCE_VALUE 131 -#define _APS_NEXT_COMMAND_VALUE 32771 -#define _APS_NEXT_CONTROL_VALUE 1001 -#define _APS_NEXT_SYMED_VALUE 101 -#endif -#endif diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7230/SDK7230intMsg/stdafx.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7230/SDK7230intMsg/stdafx.cpp deleted file mode 100644 index 335cdd7..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7230/SDK7230intMsg/stdafx.cpp +++ /dev/null @@ -1,8 +0,0 @@ - -// stdafx.cpp : source file that includes just the standard includes -// 7230int.pch will be the pre-compiled header -// stdafx.obj will contain the pre-compiled type information - -#include "stdafx.h" - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7230/SDK7230intMsg/stdafx.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7230/SDK7230intMsg/stdafx.h deleted file mode 100644 index 12123e2..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7230/SDK7230intMsg/stdafx.h +++ /dev/null @@ -1,60 +0,0 @@ - -// stdafx.h : include file for standard system include files, -// or project specific include files that are used frequently, -// but are changed infrequently - -#pragma once - -#ifndef _SECURE_ATL -#define _SECURE_ATL 1 -#endif - -#ifndef VC_EXTRALEAN -#define VC_EXTRALEAN // Exclude rarely-used stuff from Windows headers -#endif - -#include "targetver.h" - -#define _ATL_CSTRING_EXPLICIT_CONSTRUCTORS // some CString constructors will be explicit - -// turns off MFC's hiding of some common and often safely ignored warning messages -#define _AFX_ALL_WARNINGS - -#include // MFC core and standard components -#include // MFC extensions - - -#include // MFC Automation classes - - - -#ifndef _AFX_NO_OLE_SUPPORT -#include // MFC support for Internet Explorer 4 Common Controls -#endif -#ifndef _AFX_NO_AFXCMN_SUPPORT -#include // MFC support for Windows Common Controls -#endif // _AFX_NO_AFXCMN_SUPPORT - -#include // MFC support for ribbons and control bars - - - - - - - - - -#ifdef _UNICODE -#if defined _M_IX86 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='x86' publicKeyToken='6595b64144ccf1df' language='*'\"") -#elif defined _M_IA64 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='ia64' publicKeyToken='6595b64144ccf1df' language='*'\"") -#elif defined _M_X64 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='amd64' publicKeyToken='6595b64144ccf1df' language='*'\"") -#else -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='*' publicKeyToken='6595b64144ccf1df' language='*'\"") -#endif -#endif - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7230/SDK7230intMsg/targetver.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7230/SDK7230intMsg/targetver.h deleted file mode 100644 index 11730d5..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7230/SDK7230intMsg/targetver.h +++ /dev/null @@ -1,26 +0,0 @@ - -#pragma once - -// The following macros define the minimum required platform. The minimum required platform -// is the earliest version of Windows, Internet Explorer etc. that has the necessary features to run -// your application. The macros work by enabling all features available on platform versions up to and -// including the version specified. - -// Modify the following defines if you have to target a platform prior to the ones specified below. -// Refer to MSDN for the latest info on corresponding values for different platforms. -#ifndef WINVER // Specifies that the minimum required platform is Windows Vista. -#define WINVER 0x0600 // Change this to the appropriate value to target other versions of Windows. -#endif - -#ifndef _WIN32_WINNT // Specifies that the minimum required platform is Windows Vista. -#define _WIN32_WINNT 0x0600 // Change this to the appropriate value to target other versions of Windows. -#endif - -#ifndef _WIN32_WINDOWS // Specifies that the minimum required platform is Windows 98. -#define _WIN32_WINDOWS 0x0410 // Change this to the appropriate value to target Windows Me or later. -#endif - -#ifndef _WIN32_IE // Specifies that the minimum required platform is Internet Explorer 7.0. -#define _WIN32_IE 0x0700 // Change this to the appropriate value to target other versions of IE. -#endif - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7230/Sdk7230/CardIDDlg.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7230/Sdk7230/CardIDDlg.cpp deleted file mode 100644 index a287a24..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7230/Sdk7230/CardIDDlg.cpp +++ /dev/null @@ -1,67 +0,0 @@ -// CardIDDlg.cpp : implementation file -// - -#include "stdafx.h" -#include "Util7230.h" -#include "CardIDDlg.h" - - -// CCardIDDlg dialog - -IMPLEMENT_DYNAMIC(CCardIDDlg, CDialog) - -CCardIDDlg::CCardIDDlg(int nCardIdx, CWnd* pParent /*=NULL*/) - : CDialog(CCardIDDlg::IDD, pParent) -{ - m_nCardIdx = nCardIdx; -} - -CCardIDDlg::~CCardIDDlg() -{ -} - -void CCardIDDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); - DDX_Control(pDX, IDC_COMBO_CARDID, m_cbCardID); -} - - -BEGIN_MESSAGE_MAP(CCardIDDlg, CDialog) -// ON_CBN_SELCHANGE(IDC_COMBO_CARDID, &CCardIDDlg::OnCbnSelchangeComboCardid) -ON_BN_CLICKED(IDOK, &CCardIDDlg::OnBnClickedOk) -//ON_WM_CTLCOLOR() -END_MESSAGE_MAP() - - -// CCardIDDlg message handlers - - -void CCardIDDlg::OnBnClickedOk() -{ - // TODO: Add your control notification handler code here - -// UpdateData(TRUE); - m_nCardIdx = m_cbCardID.GetCurSel(); - - OnOK(); -} - -BOOL CCardIDDlg::OnInitDialog() -{ - CDialog::OnInitDialog(); - - // TODO: Add extra initialization here - m_cbCardID.SetCurSel( m_nCardIdx ); - - return TRUE; // return TRUE unless you set the focus to a control - // EXCEPTION: OCX Property Pages should return FALSE -} - -// the function to get the selected CardID -int CCardIDDlg::GetCardID(void) -{ - return m_nCardIdx; -} - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7230/Sdk7230/CardIDDlg.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7230/Sdk7230/CardIDDlg.h deleted file mode 100644 index 54628ea..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7230/Sdk7230/CardIDDlg.h +++ /dev/null @@ -1,33 +0,0 @@ -#pragma once -#include "afxwin.h" - - -// CCardIDDlg dialog - -class CCardIDDlg : public CDialog -{ - DECLARE_DYNAMIC(CCardIDDlg) - -public: - CCardIDDlg(int nCardIdx, CWnd* pParent = NULL); // standard constructor - virtual ~CCardIDDlg(); - -// Dialog Data - enum { IDD = IDD_CARDID_DIALOG }; - -protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - - DECLARE_MESSAGE_MAP() -public: -// afx_msg void OnCbnSelchangeComboCardid(); - afx_msg void OnBnClickedOk(); - // the setting of CardID ComboBox - int m_nCardIdx; - virtual BOOL OnInitDialog(); - // the control of CardID ComboBox - CComboBox m_cbCardID; - // the function to get the selected CardID - int GetCardID(void); -// afx_msg HBRUSH OnCtlColor(CDC* pDC, CWnd* pWnd, UINT nCtlColor); -}; diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7230/Sdk7230/ReadMe.txt b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7230/Sdk7230/ReadMe.txt deleted file mode 100644 index 41250db..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7230/Sdk7230/ReadMe.txt +++ /dev/null @@ -1,93 +0,0 @@ -================================================================================ - MICROSOFT FOUNDATION CLASS LIBRARY : Util7230 Project Overview -=============================================================================== - -The application wizard has created this Util7230 application for -you. This application not only demonstrates the basics of using the Microsoft -Foundation Classes but is also a starting point for writing your application. - -This file contains a summary of what you will find in each of the files that -make up your Util7230 application. - -Util7230.vcproj - This is the main project file for VC++ projects generated using an application wizard. - It contains information about the version of Visual C++ that generated the file, and - information about the platforms, configurations, and project features selected with the - application wizard. - -Util7230.h - This is the main header file for the application. It includes other - project specific headers (including Resource.h) and declares the - CUtil7230App application class. - -Util7230.cpp - This is the main application source file that contains the application - class CUtil7230App. - -Util7230.rc - This is a listing of all of the Microsoft Windows resources that the - program uses. It includes the icons, bitmaps, and cursors that are stored - in the RES subdirectory. This file can be directly edited in Microsoft - Visual C++. Your project resources are in 1033. - -res\Util7230.ico - This is an icon file, which is used as the application's icon. This - icon is included by the main resource file Util7230.rc. - -res\Util7230.rc2 - This file contains resources that are not edited by Microsoft - Visual C++. You should place all resources not editable by - the resource editor in this file. - - -///////////////////////////////////////////////////////////////////////////// - -The application wizard creates one dialog class: - -Util7230Dlg.h, Util7230Dlg.cpp - the dialog - These files contain your CUtil7230Dlg class. This class defines - the behavior of your application's main dialog. The dialog's template is - in Util7230.rc, which can be edited in Microsoft Visual C++. - - -///////////////////////////////////////////////////////////////////////////// - -Other Features: - -ActiveX Controls - The application includes support to use ActiveX controls. - -///////////////////////////////////////////////////////////////////////////// - -Other standard files: - -StdAfx.h, StdAfx.cpp - These files are used to build a precompiled header (PCH) file - named Util7230.pch and a precompiled types file named StdAfx.obj. - -Resource.h - This is the standard header file, which defines new resource IDs. - Microsoft Visual C++ reads and updates this file. - -Util7230.manifest - Application manifest files are used by Windows XP to describe an applications - dependency on specific versions of Side-by-Side assemblies. The loader uses this - information to load the appropriate assembly from the assembly cache or private - from the application. The Application manifest maybe included for redistribution - as an external .manifest file that is installed in the same folder as the application - executable or it may be included in the executable in the form of a resource. -///////////////////////////////////////////////////////////////////////////// - -Other notes: - -The application wizard uses "TODO:" to indicate parts of the source code you -should add to or customize. - -If your application uses MFC in a shared DLL, you will need -to redistribute the MFC DLLs. If your application is in a language -other than the operating system's locale, you will also have to -redistribute the corresponding localized resources MFC90XXX.DLL. -For more information on both of these topics, please see the section on -redistributing Visual C++ applications in MSDN documentation. - -///////////////////////////////////////////////////////////////////////////// diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7230/Sdk7230/Util7230.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7230/Sdk7230/Util7230.cpp deleted file mode 100644 index f928cd7..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7230/Sdk7230/Util7230.cpp +++ /dev/null @@ -1,110 +0,0 @@ - -// Util7230.cpp : Defines the class behaviors for the application. -// - -#include "stdafx.h" -#include "Util7230.h" -#include "Util7230Dlg.h" -#include "CardIDDlg.h" - -#ifdef _DEBUG -#define new DEBUG_NEW -#endif - - -// CUtil7230App - -BEGIN_MESSAGE_MAP(CUtil7230App, CWinAppEx) - ON_COMMAND(ID_HELP, &CWinApp::OnHelp) -END_MESSAGE_MAP() - - -// CUtil7230App construction - -CUtil7230App::CUtil7230App() -{ - // TODO: add construction code here, - // Place all significant initialization in InitInstance -} - - -// The one and only CUtil7230App object - -CUtil7230App theApp; - - -// CUtil7230App initialization - -BOOL CUtil7230App::InitInstance() -{ - int nCardID = 0; - I16 hCard; - CString strTemp; - INT_PTR nResponse; - - // InitCommonControlsEx() is required on Windows XP if an application - // manifest specifies use of ComCtl32.dll version 6 or later to enable - // visual styles. Otherwise, any window creation will fail. - INITCOMMONCONTROLSEX InitCtrls; - InitCtrls.dwSize = sizeof(InitCtrls); - // Set this to include all the common control classes you want to use - // in your application. - InitCtrls.dwICC = ICC_WIN95_CLASSES; - InitCommonControlsEx(&InitCtrls); - - CWinAppEx::InitInstance(); - - AfxEnableControlContainer(); - - // Standard initialization - // If you are not using these features and wish to reduce the size - // of your final executable, you should remove from the following - // the specific initialization routines you do not need - // Change the registry key under which our settings are stored - // TODO: You should modify this string to be something appropriate - // such as the name of your company or organization - SetRegistryKey(_T("Local AppWizard-Generated Applications")); - - CCardIDDlg CardDlg( nCardID ); - - nResponse = CardDlg.DoModal(); - if (nResponse == IDOK) - { - nCardID = CardDlg.GetCardID(); - - if ((hCard=Register_Card(PCI_7230, nCardID)) < 0) - { - strTemp.Format( TEXT("Register_Card Error = %d"), hCard); - AfxMessageBox( strTemp ); - } - else - { - CUtil7230Dlg dlg(hCard); - m_pMainWnd = &dlg; - nResponse = dlg.DoModal(); - if (nResponse == IDOK) - { - // TODO: Place code here to handle when the dialog is - // dismissed with OK - } - else if (nResponse == IDCANCEL) - { - // TODO: Place code here to handle when the dialog is - // dismissed with Cancel - } - - if (hCard >= 0) Release_Card(hCard); - } - - } - else if (nResponse == IDCANCEL) - { - // TODO: Place code here to handle when the dialog is - // dismissed with Cancel - } - - - // Since the dialog has been closed, return FALSE so that we exit the - // application, rather than start the application's message pump. - return FALSE; -} diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7230/Sdk7230/Util7230.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7230/Sdk7230/Util7230.h deleted file mode 100644 index 169418d..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7230/Sdk7230/Util7230.h +++ /dev/null @@ -1,32 +0,0 @@ - -// Util7230.h : main header file for the PROJECT_NAME application -// - -#pragma once - -#ifndef __AFXWIN_H__ - #error "include 'stdafx.h' before including this file for PCH" -#endif - -#include "resource.h" // main symbols - - -// CUtil7230App: -// See Util7230.cpp for the implementation of this class -// - -class CUtil7230App : public CWinAppEx -{ -public: - CUtil7230App(); - -// Overrides - public: - virtual BOOL InitInstance(); - -// Implementation - - DECLARE_MESSAGE_MAP() -}; - -extern CUtil7230App theApp; \ No newline at end of file diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7230/Sdk7230/Util7230.rc b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7230/Sdk7230/Util7230.rc deleted file mode 100644 index b396e96..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7230/Sdk7230/Util7230.rc +++ /dev/null @@ -1,305 +0,0 @@ -// Microsoft Visual C++ generated resource script. -// -#include "resource.h" - -#define APSTUDIO_READONLY_SYMBOLS -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 2 resource. -// -#ifndef APSTUDIO_INVOKED -#include "targetver.h" -#endif -#include "afxres.h" - -///////////////////////////////////////////////////////////////////////////// -#undef APSTUDIO_READONLY_SYMBOLS - -///////////////////////////////////////////////////////////////////////////// -// Chinese (Taiwan) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_CHT) -#ifdef _WIN32 -LANGUAGE LANG_CHINESE, SUBLANG_CHINESE_TRADITIONAL -#pragma code_page(950) -#endif //_WIN32 - -#ifdef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// TEXTINCLUDE -// - -1 TEXTINCLUDE -BEGIN - "resource.h\0" -END - -2 TEXTINCLUDE -BEGIN - "#ifndef APSTUDIO_INVOKED\r\n" - "#include ""targetver.h""\r\n" - "#endif\r\n" - "#include ""afxres.h""\r\n" - "\0" -END - -3 TEXTINCLUDE -BEGIN - "#define _AFX_NO_SPLITTER_RESOURCES\r\n" - "#define _AFX_NO_OLE_RESOURCES\r\n" - "#define _AFX_NO_TRACKER_RESOURCES\r\n" - "#define _AFX_NO_PROPERTY_RESOURCES\r\n" - "\r\n" - "#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)\r\n" - "LANGUAGE 9, 1\r\n" - "#pragma code_page(1252)\r\n" - "#include ""res\\Util7230.rc2"" // non-Microsoft Visual C++ edited resources\r\n" - "#include ""afxres.rc"" // Standard components\r\n" - "#endif\r\n" - "\0" -END - -#endif // APSTUDIO_INVOKED - -#endif // Chinese (Taiwan) resources -///////////////////////////////////////////////////////////////////////////// - - -///////////////////////////////////////////////////////////////////////////// -// English (U.S.) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -#ifdef _WIN32 -LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US -#pragma code_page(1252) -#endif //_WIN32 - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog -// - -IDD_CARDID_DIALOG DIALOGEX 0, 0, 172, 89 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "Card ID" -FONT 8, "MS Shell Dlg", 400, 0, 0x1 -BEGIN - COMBOBOX IDC_COMBO_CARDID,75,17,71,126,CBS_DROPDOWN | WS_VSCROLL | WS_TABSTOP - LTEXT "Card Number",IDC_STATIC_01,21,18,46,12 - PUSHBUTTON "OK",IDOK,22,50,58,19 - PUSHBUTTON "CANCEL",IDCANCEL,86,50,58,19 -END - -IDD_ABOUTBOX DIALOGEX 0, 0, 170, 62 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "About Util7230" -FONT 8, "MS Shell Dlg", 0, 0, 0x1 -BEGIN - ICON IDR_MAINFRAME,IDC_STATIC,14,14,21,20 - LTEXT "Util7230, Version 1.0",IDC_STATIC,42,14,114,8,SS_NOPREFIX - LTEXT "Copyright (C) 2010",IDC_STATIC,42,26,114,8 - DEFPUSHBUTTON "OK",IDOK,113,41,50,14,WS_GROUP -END - -IDD_UTIL7230_DIALOG DIALOGEX 0, 0, 320, 98 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU -EXSTYLE WS_EX_APPWINDOW -CAPTION "PCI-7230" -FONT 8, "MS Shell Dlg", 0, 0, 0x1 -BEGIN - ICON IDI_ICON_BLACK,IDC_ICON_DI00,284,11,20,20 - ICON IDI_ICON_BLACK,IDC_ICON_DI01,266,11,20,20 - GROUPBOX "Digital Input",IDC_STATIC,7,3,304,42 - CONTROL "",IDC_CHECK_DO00,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,290,63,12,12 - CONTROL "",IDC_CHECK_DO01,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,272,63,12,12 - CONTROL "",IDC_CHECK_DO02,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,254,63,12,12 - CONTROL "",IDC_CHECK_DO03,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,236,63,12,12 - CONTROL "",IDC_CHECK_DO04,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,218,63,12,12 - CONTROL "",IDC_CHECK_DO05,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,200,63,12,12 - CONTROL "",IDC_CHECK_DO06,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,182,63,12,12 - CONTROL "",IDC_CHECK_DO07,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,164,63,12,12 - CONTROL "",IDC_CHECK_DO08,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,146,63,12,12 - CONTROL "",IDC_CHECK_DO09,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,128,63,12,12 - CONTROL "",IDC_CHECK_DO10,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,110,63,12,12 - CONTROL "",IDC_CHECK_DO11,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,92,63,12,12 - CONTROL "",IDC_CHECK_DO12,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,74,63,12,12 - CONTROL "",IDC_CHECK_DO13,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,56,63,12,12 - CONTROL "",IDC_CHECK_DO14,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,38,63,12,12 - CONTROL "",IDC_CHECK_DO15,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,20,63,12,12 - LTEXT " 15 0",IDC_STATIC,14,76,289,13 - GROUPBOX "Digital Output",IDC_STATIC,7,49,304,41 - ICON IDI_ICON_BLACK,IDC_ICON_DI02,247,11,20,20 - ICON IDI_ICON_BLACK,IDC_ICON_DI03,229,11,20,20 - ICON IDI_ICON_BLACK,IDC_ICON_DI04,211,11,20,20 - ICON IDI_ICON_BLACK,IDC_ICON_DI05,193,11,20,20 - ICON IDI_ICON_BLACK,IDC_ICON_DI06,175,11,20,20 - ICON IDI_ICON_BLACK,IDC_ICON_DI07,157,11,20,20 - ICON IDI_ICON_BLACK,IDC_ICON_DI08,139,11,20,20 - ICON IDI_ICON_BLACK,IDC_ICON_DI09,121,11,20,20 - ICON IDI_ICON_BLACK,IDC_ICON_DI10,103,11,20,20 - ICON IDI_ICON_BLACK,IDC_ICON_DI11,85,11,20,20 - ICON IDI_ICON_BLACK,IDC_ICON_DI12,67,11,20,20 - ICON IDI_ICON_BLACK,IDC_ICON_DI13,49,11,20,20 - ICON IDI_ICON_BLACK,IDC_ICON_DI14,31,11,20,20 - ICON IDI_ICON_BLACK,IDC_ICON_DI15,13,11,20,20 - LTEXT " 15 0",IDC_STATIC,18,30,283,13 -END - - -///////////////////////////////////////////////////////////////////////////// -// -// DESIGNINFO -// - -#ifdef APSTUDIO_INVOKED -GUIDELINES DESIGNINFO -BEGIN - IDD_CARDID_DIALOG, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 165 - TOPMARGIN, 7 - BOTTOMMARGIN, 82 - END - - IDD_ABOUTBOX, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 163 - TOPMARGIN, 7 - BOTTOMMARGIN, 55 - END -END -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog Info -// - -IDD_CARDID_DIALOG DLGINIT -BEGIN - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0030, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0031, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0032, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0033, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0034, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0035, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0036, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0037, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0038, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0039, - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3031, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3131, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3231, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3331, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3431, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3531, "\000" - 0 -END - - -///////////////////////////////////////////////////////////////////////////// -// -// Icon -// - -// Icon with lowest ID value placed first to ensure application icon -// remains consistent on all systems. -IDR_MAINFRAME ICON "res\\Util7230.ico" -IDI_ICON_BLACK ICON "res\\black.ico" -IDI_ICON_GREEN ICON "res\\green.ico" -IDI_ICON_RED ICON "res\\red.ico" - -///////////////////////////////////////////////////////////////////////////// -// -// Version -// - -VS_VERSION_INFO VERSIONINFO - FILEVERSION 1,0,0,1 - PRODUCTVERSION 1,0,0,1 - FILEFLAGSMASK 0x3fL -#ifdef _DEBUG - FILEFLAGS 0x1L -#else - FILEFLAGS 0x0L -#endif - FILEOS 0x4L - FILETYPE 0x1L - FILESUBTYPE 0x0L -BEGIN - BLOCK "StringFileInfo" - BEGIN - BLOCK "040904e4" - BEGIN - VALUE "CompanyName", "TODO: " - VALUE "FileDescription", "TODO: " - VALUE "FileVersion", "1.0.0.1" - VALUE "InternalName", "Util7230.exe" - VALUE "LegalCopyright", "TODO: (c) . All rights reserved." - VALUE "OriginalFilename", "Util7230.exe" - VALUE "ProductName", "TODO: " - VALUE "ProductVersion", "1.0.0.1" - END - END - BLOCK "VarFileInfo" - BEGIN - VALUE "Translation", 0x409, 1252 - END -END - - -///////////////////////////////////////////////////////////////////////////// -// -// String Table -// - -STRINGTABLE -BEGIN - IDS_ABOUTBOX "&About Util7230..." -END - -#endif // English (U.S.) resources -///////////////////////////////////////////////////////////////////////////// - - - -#ifndef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 3 resource. -// -#define _AFX_NO_SPLITTER_RESOURCES -#define _AFX_NO_OLE_RESOURCES -#define _AFX_NO_TRACKER_RESOURCES -#define _AFX_NO_PROPERTY_RESOURCES - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -LANGUAGE 9, 1 -#pragma code_page(1252) -#include "res\Util7230.rc2" // non-Microsoft Visual C++ edited resources -#include "afxres.rc" // Standard components -#endif - -///////////////////////////////////////////////////////////////////////////// -#endif // not APSTUDIO_INVOKED - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7230/Sdk7230/Util7230.sln b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7230/Sdk7230/Util7230.sln deleted file mode 100644 index 066edf0..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7230/Sdk7230/Util7230.sln +++ /dev/null @@ -1,26 +0,0 @@ - -Microsoft Visual Studio Solution File, Format Version 10.00 -# Visual Studio 2008 -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "Util7230", "Util7230.vcproj", "{D447B277-14C9-4FDE-93B9-A3D23FBB378D}" -EndProject -Global - GlobalSection(SolutionConfigurationPlatforms) = preSolution - Debug|Win32 = Debug|Win32 - Debug|x64 = Debug|x64 - Release|Win32 = Release|Win32 - Release|x64 = Release|x64 - EndGlobalSection - GlobalSection(ProjectConfigurationPlatforms) = postSolution - {D447B277-14C9-4FDE-93B9-A3D23FBB378D}.Debug|Win32.ActiveCfg = Debug|Win32 - {D447B277-14C9-4FDE-93B9-A3D23FBB378D}.Debug|Win32.Build.0 = Debug|Win32 - {D447B277-14C9-4FDE-93B9-A3D23FBB378D}.Debug|x64.ActiveCfg = Debug|x64 - {D447B277-14C9-4FDE-93B9-A3D23FBB378D}.Debug|x64.Build.0 = Debug|x64 - {D447B277-14C9-4FDE-93B9-A3D23FBB378D}.Release|Win32.ActiveCfg = Release|Win32 - {D447B277-14C9-4FDE-93B9-A3D23FBB378D}.Release|Win32.Build.0 = Release|Win32 - {D447B277-14C9-4FDE-93B9-A3D23FBB378D}.Release|x64.ActiveCfg = Release|x64 - {D447B277-14C9-4FDE-93B9-A3D23FBB378D}.Release|x64.Build.0 = Release|x64 - EndGlobalSection - GlobalSection(SolutionProperties) = preSolution - HideSolutionNode = FALSE - EndGlobalSection -EndGlobal diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7230/Sdk7230/Util7230.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7230/Sdk7230/Util7230.suo deleted file mode 100644 index 7c72cbe..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7230/Sdk7230/Util7230.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7230/Sdk7230/Util7230.vcproj b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7230/Sdk7230/Util7230.vcproj deleted file mode 100644 index fd189d6..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7230/Sdk7230/Util7230.vcproj +++ /dev/null @@ -1,483 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7230/Sdk7230/Util7230Dlg.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7230/Sdk7230/Util7230Dlg.cpp deleted file mode 100644 index 8c3be41..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7230/Sdk7230/Util7230Dlg.cpp +++ /dev/null @@ -1,720 +0,0 @@ - -// Util7230Dlg.cpp : implementation file -// - -#include "stdafx.h" -#include "Util7230.h" -#include "Util7230Dlg.h" - -#ifdef _DEBUG -#define new DEBUG_NEW -#endif - - -// CAboutDlg dialog used for App About - -class CAboutDlg : public CDialog -{ -public: - CAboutDlg(); - -// Dialog Data - enum { IDD = IDD_ABOUTBOX }; - - protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - -// Implementation -protected: - DECLARE_MESSAGE_MAP() -}; - -CAboutDlg::CAboutDlg() : CDialog(CAboutDlg::IDD) -{ -} - -void CAboutDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); -} - -BEGIN_MESSAGE_MAP(CAboutDlg, CDialog) -END_MESSAGE_MAP() - - -// CUtil7230Dlg dialog - - - - -CUtil7230Dlg::CUtil7230Dlg(I16 hCard, CWnd* pParent /*=NULL*/) - : CDialog(CUtil7230Dlg::IDD, pParent) -{ - m_hIcon = AfxGetApp()->LoadIcon(IDR_MAINFRAME); - m_nTimer = -1; - m_hCard = hCard; - - m_dwInData = 0x00000000; - m_dwOutData0 = m_dwOutData1 = 0x00000000; -} - -void CUtil7230Dlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); - DDX_Control(pDX, IDC_ICON_DI00, m_Icon_DI00); - DDX_Control(pDX, IDC_ICON_DI01, m_Icon_DI01); - DDX_Control(pDX, IDC_ICON_DI02, m_Icon_DI02); - DDX_Control(pDX, IDC_ICON_DI03, m_Icon_DI03); - DDX_Control(pDX, IDC_ICON_DI04, m_Icon_DI04); - DDX_Control(pDX, IDC_ICON_DI05, m_Icon_DI05); - DDX_Control(pDX, IDC_ICON_DI06, m_Icon_DI06); - DDX_Control(pDX, IDC_ICON_DI07, m_Icon_DI07); - DDX_Control(pDX, IDC_ICON_DI08, m_Icon_DI08); - DDX_Control(pDX, IDC_ICON_DI09, m_Icon_DI09); - DDX_Control(pDX, IDC_ICON_DI10, m_Icon_DI10); - DDX_Control(pDX, IDC_ICON_DI11, m_Icon_DI11); - DDX_Control(pDX, IDC_ICON_DI12, m_Icon_DI12); - DDX_Control(pDX, IDC_ICON_DI13, m_Icon_DI13); - DDX_Control(pDX, IDC_ICON_DI14, m_Icon_DI14); - DDX_Control(pDX, IDC_ICON_DI15, m_Icon_DI15); -} - -BEGIN_MESSAGE_MAP(CUtil7230Dlg, CDialog) - ON_WM_SYSCOMMAND() - ON_WM_PAINT() - ON_WM_QUERYDRAGICON() - //}}AFX_MSG_MAP - ON_BN_CLICKED(IDC_CHECK_DO00, &CUtil7230Dlg::OnOut00) - ON_BN_CLICKED(IDC_CHECK_DO01, &CUtil7230Dlg::OnOut01) - ON_BN_CLICKED(IDC_CHECK_DO02, &CUtil7230Dlg::OnOut02) - ON_BN_CLICKED(IDC_CHECK_DO03, &CUtil7230Dlg::OnOut03) - ON_BN_CLICKED(IDC_CHECK_DO04, &CUtil7230Dlg::OnOut04) - ON_BN_CLICKED(IDC_CHECK_DO05, &CUtil7230Dlg::OnOut05) - ON_BN_CLICKED(IDC_CHECK_DO06, &CUtil7230Dlg::OnOut06) - ON_BN_CLICKED(IDC_CHECK_DO07, &CUtil7230Dlg::OnOut07) - ON_BN_CLICKED(IDC_CHECK_DO08, &CUtil7230Dlg::OnOut08) - ON_BN_CLICKED(IDC_CHECK_DO09, &CUtil7230Dlg::OnOut09) - ON_BN_CLICKED(IDC_CHECK_DO10, &CUtil7230Dlg::OnOut10) - ON_BN_CLICKED(IDC_CHECK_DO11, &CUtil7230Dlg::OnOut11) - ON_BN_CLICKED(IDC_CHECK_DO12, &CUtil7230Dlg::OnOut12) - ON_BN_CLICKED(IDC_CHECK_DO13, &CUtil7230Dlg::OnOut13) - ON_BN_CLICKED(IDC_CHECK_DO14, &CUtil7230Dlg::OnOut14) - ON_BN_CLICKED(IDC_CHECK_DO15, &CUtil7230Dlg::OnOut15) - ON_WM_DESTROY() - ON_WM_TIMER() -END_MESSAGE_MAP() - - -// CUtil7230Dlg message handlers - -BOOL CUtil7230Dlg::OnInitDialog() -{ - CDialog::OnInitDialog(); - - // Add "About..." menu item to system menu. - - // IDM_ABOUTBOX must be in the system command range. - ASSERT((IDM_ABOUTBOX & 0xFFF0) == IDM_ABOUTBOX); - ASSERT(IDM_ABOUTBOX < 0xF000); - - CMenu* pSysMenu = GetSystemMenu(FALSE); - if (pSysMenu != NULL) - { - BOOL bNameValid; - CString strAboutMenu; - bNameValid = strAboutMenu.LoadString(IDS_ABOUTBOX); - ASSERT(bNameValid); - if (!strAboutMenu.IsEmpty()) - { - pSysMenu->AppendMenu(MF_SEPARATOR); - pSysMenu->AppendMenu(MF_STRING, IDM_ABOUTBOX, strAboutMenu); - } - } - - // Set the icon for this dialog. The framework does this automatically - // when the application's main window is not a dialog - SetIcon(m_hIcon, TRUE); // Set big icon - SetIcon(m_hIcon, FALSE); // Set small icon - - // TODO: Add extra initialization here - m_nTimer = SetTimer( 1, 50, NULL ); - - return TRUE; // return TRUE unless you set the focus to a control -} - -void CUtil7230Dlg::OnSysCommand(UINT nID, LPARAM lParam) -{ - if ((nID & 0xFFF0) == IDM_ABOUTBOX) - { - CAboutDlg dlgAbout; - dlgAbout.DoModal(); - } - else - { - CDialog::OnSysCommand(nID, lParam); - } -} - -// If you add a minimize button to your dialog, you will need the code below -// to draw the icon. For MFC applications using the document/view model, -// this is automatically done for you by the framework. - -void CUtil7230Dlg::OnPaint() -{ - if (IsIconic()) - { - CPaintDC dc(this); // device context for painting - - SendMessage(WM_ICONERASEBKGND, reinterpret_cast(dc.GetSafeHdc()), 0); - - // Center icon in client rectangle - int cxIcon = GetSystemMetrics(SM_CXICON); - int cyIcon = GetSystemMetrics(SM_CYICON); - CRect rect; - GetClientRect(&rect); - int x = (rect.Width() - cxIcon + 1) / 2; - int y = (rect.Height() - cyIcon + 1) / 2; - - // Draw the icon - dc.DrawIcon(x, y, m_hIcon); - } - else - { - CDialog::OnPaint(); - } -} - -// The system calls this function to obtain the cursor to display while the user drags -// the minimized window. -HCURSOR CUtil7230Dlg::OnQueryDragIcon() -{ - return static_cast(m_hIcon); -} - - -void CUtil7230Dlg::OnDestroy() -{ - CDialog::OnDestroy(); - - // TODO: Add your message handler code here - if( m_nTimer != -1 ) - KillTimer( m_nTimer ); -} - -void CUtil7230Dlg::OnTimer(UINT_PTR nIDEvent) -{ - // TODO: Add your message handler code here and/or call default - U32 dwPortData, dwChangeMask; - - DI_ReadPort(m_hCard, 0 ,&dwPortData); - dwChangeMask = dwPortData ^ m_dwInData; - - if( dwChangeMask != 0x00 ) // Input had been changed - { - m_dwInData = dwPortData; // update the DI data - - if( (dwChangeMask & 0x01) == 0x01 ) // if the target bit is changed - { - if( (dwPortData & 0x01) == 0x01 ) - { - m_Icon_DI00.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_DI00.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - - if( (dwChangeMask & 0x02) == 0x02 ) // if the target bit is changed - { - if( (dwPortData & 0x02) == 0x02 ) - { - m_Icon_DI01.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_DI01.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - if( (dwChangeMask & 0x04) == 0x04 ) // if the target bit is changed - { - if( (dwPortData & 0x04) == 0x04 ) - { - m_Icon_DI02.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_DI02.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - if( (dwChangeMask & 0x08) == 0x08 ) // if the target bit is changed - { - if( (dwPortData & 0x08) == 0x08 ) - { - m_Icon_DI03.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_DI03.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - if( (dwChangeMask & 0x10) == 0x10 ) // if the target bit is changed - { - if( (dwPortData & 0x10) == 0x10 ) - { - m_Icon_DI04.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_DI04.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - if( (dwChangeMask & 0x20) == 0x20 ) // if the target bit is changed - { - if( (dwPortData & 0x20) == 0x20 ) - { - m_Icon_DI05.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_DI05.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - if( (dwChangeMask & 0x40) == 0x40 ) // if the target bit is changed - { - if( (dwPortData & 0x40) == 0x40 ) - { - m_Icon_DI06.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_DI06.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - if( (dwChangeMask & 0x80) == 0x80 ) // if the target bit is changed - { - if( (dwPortData & 0x80) == 0x80 ) - { - m_Icon_DI07.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_DI07.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - - if( (dwChangeMask & 0x100) == 0x100 ) // if the target bit is changed - { - if( (dwPortData & 0x100) == 0x100 ) - { - m_Icon_DI08.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_DI08.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - - if( (dwChangeMask & 0x200) == 0x200 ) // if the target bit is changed - { - if( (dwPortData & 0x200) == 0x200 ) - { - m_Icon_DI09.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_DI09.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - if( (dwChangeMask & 0x400) == 0x400 ) // if the target bit is changed - { - if( (dwPortData & 0x400) == 0x400 ) - { - m_Icon_DI10.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_DI10.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - if( (dwChangeMask & 0x800) == 0x800 ) // if the target bit is changed - { - if( (dwPortData & 0x800) == 0x800 ) - { - m_Icon_DI11.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_DI11.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - if( (dwChangeMask & 0x1000) == 0x1000 ) // if the target bit is changed - { - if( (dwPortData & 0x1000) == 0x1000 ) - { - m_Icon_DI12.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_DI12.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - if( (dwChangeMask & 0x2000) == 0x2000 ) // if the target bit is changed - { - if( (dwPortData & 0x2000) == 0x2000 ) - { - m_Icon_DI13.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_DI13.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - if( (dwChangeMask & 0x4000) == 0x4000 ) // if the target bit is changed - { - if( (dwPortData & 0x4000) == 0x4000 ) - { - m_Icon_DI14.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_DI14.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - if( (dwChangeMask & 0x8000) == 0x8000 ) // if the target bit is changed - { - if( (dwPortData & 0x8000) == 0x8000 ) - { - m_Icon_DI15.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_DI15.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - - } - - CDialog::OnTimer(nIDEvent); -} - -void CUtil7230Dlg::OnOut00() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_DO00 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_dwOutData0 |= 0x01; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_dwOutData0 &= (~0x01); - } - - DO_WritePort( m_hCard, 0, m_dwOutData0 ); - -} - -void CUtil7230Dlg::OnOut01() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_DO01 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_dwOutData0 |= 0x02; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_dwOutData0 &= (~0x02); - } - - DO_WritePort( m_hCard, 0, m_dwOutData0 ); -} - -void CUtil7230Dlg::OnOut02() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_DO02 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_dwOutData0 |= 0x04; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_dwOutData0 &= (~0x04); - } - - DO_WritePort( m_hCard, 0, m_dwOutData0 ); -} - -void CUtil7230Dlg::OnOut03() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_DO03 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_dwOutData0 |= 0x08; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_dwOutData0 &= (~0x08); - } - - DO_WritePort( m_hCard, 0, m_dwOutData0 ); -} - -void CUtil7230Dlg::OnOut04() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_DO04 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_dwOutData0 |= 0x10; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_dwOutData0 &= (~0x10); - } - - DO_WritePort( m_hCard, 0, m_dwOutData0 ); -} - -void CUtil7230Dlg::OnOut05() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_DO05 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_dwOutData0 |= 0x20; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_dwOutData0 &= (~0x20); - } - - DO_WritePort( m_hCard, 0, m_dwOutData0 ); -} - -void CUtil7230Dlg::OnOut06() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_DO06 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_dwOutData0 |= 0x40; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_dwOutData0 &= (~0x40); - } - - DO_WritePort( m_hCard, 0, m_dwOutData0 ); -} - -void CUtil7230Dlg::OnOut07() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_DO07 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_dwOutData0 |= 0x80; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_dwOutData0 &= (~0x80); - } - - DO_WritePort( m_hCard, 0, m_dwOutData0 ); -} - -void CUtil7230Dlg::OnOut08() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_DO08 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_dwOutData0 |= 0x100; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_dwOutData0 &= (~0x100); - } - - DO_WritePort( m_hCard, 0, m_dwOutData0 ); -} - -void CUtil7230Dlg::OnOut09() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_DO09 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_dwOutData0 |= 0x200; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_dwOutData0 &= (~0x200); - } - - DO_WritePort( m_hCard, 0, m_dwOutData0 ); -} - -void CUtil7230Dlg::OnOut10() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_DO10 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_dwOutData0 |= 0x400; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_dwOutData0 &= (~0x400); - } - - DO_WritePort( m_hCard, 0, m_dwOutData0 ); -} - -void CUtil7230Dlg::OnOut11() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_DO11 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_dwOutData0 |= 0x800; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_dwOutData0 &= (~0x800); - } - - DO_WritePort( m_hCard, 0, m_dwOutData0 ); -} - -void CUtil7230Dlg::OnOut12() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_DO12 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_dwOutData0 |= 0x1000; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_dwOutData0 &= (~0x1000); - } - - DO_WritePort( m_hCard, 0, m_dwOutData0 ); -} - -void CUtil7230Dlg::OnOut13() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_DO13 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_dwOutData0 |= 0x2000; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_dwOutData0 &= (~0x2000); - } - - DO_WritePort( m_hCard, 0, m_dwOutData0 ); -} - -void CUtil7230Dlg::OnOut14() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_DO14 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_dwOutData0 |= 0x4000; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_dwOutData0 &= (~0x4000); - } - - DO_WritePort( m_hCard, 0, m_dwOutData0 ); -} - -void CUtil7230Dlg::OnOut15() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_DO15 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_dwOutData0 |= 0x8000; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_dwOutData0 &= (~0x8000); - } - - DO_WritePort( m_hCard, 0, m_dwOutData0 ); -} diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7230/Sdk7230/Util7230Dlg.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7230/Sdk7230/Util7230Dlg.h deleted file mode 100644 index dbca4e4..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7230/Sdk7230/Util7230Dlg.h +++ /dev/null @@ -1,74 +0,0 @@ - -// Util7230Dlg.h : header file -// -#include "Dask64.h" - -#pragma once - - -// CUtil7230Dlg dialog -class CUtil7230Dlg : public CDialog -{ -// Construction -public: - CUtil7230Dlg(I16 hCard, CWnd* pParent = NULL); // standard constructor - -// Dialog Data - enum { IDD = IDD_UTIL7230_DIALOG }; - - protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - - -// Implementation -protected: - HICON m_hIcon; - I16 m_hCard; - UINT_PTR m_nTimer; - U32 m_dwInData; - U32 m_dwOutData0; - U32 m_dwOutData1; - - // Generated message map functions - virtual BOOL OnInitDialog(); - afx_msg void OnSysCommand(UINT nID, LPARAM lParam); - afx_msg void OnPaint(); - afx_msg HCURSOR OnQueryDragIcon(); - DECLARE_MESSAGE_MAP() - -public: - CStatic m_Icon_DI00; - CStatic m_Icon_DI01; - CStatic m_Icon_DI02; - CStatic m_Icon_DI03; - CStatic m_Icon_DI04; - CStatic m_Icon_DI05; - CStatic m_Icon_DI06; - CStatic m_Icon_DI07; - CStatic m_Icon_DI08; - CStatic m_Icon_DI09; - CStatic m_Icon_DI10; - CStatic m_Icon_DI11; - CStatic m_Icon_DI12; - CStatic m_Icon_DI13; - CStatic m_Icon_DI14; - CStatic m_Icon_DI15; - afx_msg void OnDestroy(); - afx_msg void OnTimer(UINT_PTR nIDEvent); - afx_msg void OnOut00(); - afx_msg void OnOut01(); - afx_msg void OnOut02(); - afx_msg void OnOut03(); - afx_msg void OnOut04(); - afx_msg void OnOut05(); - afx_msg void OnOut06(); - afx_msg void OnOut07(); - afx_msg void OnOut08(); - afx_msg void OnOut09(); - afx_msg void OnOut10(); - afx_msg void OnOut11(); - afx_msg void OnOut12(); - afx_msg void OnOut13(); - afx_msg void OnOut14(); - afx_msg void OnOut15(); -}; diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7230/Sdk7230/Util7258.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7230/Sdk7230/Util7258.suo deleted file mode 100644 index 18b59ff..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7230/Sdk7230/Util7258.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7230/Sdk7230/res/Util7230.ico b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7230/Sdk7230/res/Util7230.ico deleted file mode 100644 index d56fbcd..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7230/Sdk7230/res/Util7230.ico and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7230/Sdk7230/res/Util7230.rc2 b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7230/Sdk7230/res/Util7230.rc2 deleted file mode 100644 index cffc198..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7230/Sdk7230/res/Util7230.rc2 +++ /dev/null @@ -1,13 +0,0 @@ -// -// Util7258.RC2 - resources Microsoft Visual C++ does not edit directly -// - -#ifdef APSTUDIO_INVOKED -#error this file is not editable by Microsoft Visual C++ -#endif //APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// Add manually edited resources here... - -///////////////////////////////////////////////////////////////////////////// diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7230/Sdk7230/res/black.ico b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7230/Sdk7230/res/black.ico deleted file mode 100644 index b5c375f..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7230/Sdk7230/res/black.ico and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7230/Sdk7230/res/green.ico b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7230/Sdk7230/res/green.ico deleted file mode 100644 index d9a9fd3..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7230/Sdk7230/res/green.ico and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7230/Sdk7230/res/red.ico b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7230/Sdk7230/res/red.ico deleted file mode 100644 index 7644596..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7230/Sdk7230/res/red.ico and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7230/Sdk7230/resource.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7230/Sdk7230/resource.h deleted file mode 100644 index ff36e3c..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7230/Sdk7230/resource.h +++ /dev/null @@ -1,74 +0,0 @@ -//{{NO_DEPENDENCIES}} -// Microsoft Visual C++ generated include file. -// Used by Util7230.rc -// -#define IDM_ABOUTBOX 0x0010 -#define IDD_ABOUTBOX 100 -#define IDS_ABOUTBOX 101 -#define IDD_UTIL7230_DIALOG 102 -#define IDR_MAINFRAME 128 -#define IDI_ICON_BLACK 129 -#define IDI_ICON_GREEN 130 -#define IDI_ICON_RED 131 -#define IDD_CARDID_DIALOG 132 -#define IDC_COMBO_CARDID 1000 -#define IDC_CHECK_DO00 1003 -#define IDC_CHECK_DO01 1004 -#define IDC_STATIC_01 1005 -#define IDC_ICON_DI00 1006 -#define IDC_ICON_DI01 1007 -#define IDC_ICON_DI02 1008 -#define IDC_ICON_DI03 1009 -#define IDC_ICON_DI04 1010 -#define IDC_ICON_DI05 1011 -#define IDC_ICON_DI06 1012 -#define IDC_ICON_DI07 1013 -#define IDC_ICON_DI08 1014 -#define IDC_ICON_DI09 1015 -#define IDC_ICON_DI10 1016 -#define IDC_ICON_DI11 1017 -#define IDC_ICON_DI12 1018 -#define IDC_ICON_DI13 1019 -#define IDC_ICON_DI14 1020 -#define IDC_ICON_DI15 1021 -#define IDC_CHECK_DO02 1022 -#define IDC_CHECK_DO03 1023 -#define IDC_CHECK_DO04 1024 -#define IDC_CHECK_DO05 1025 -#define IDC_CHECK_DO06 1026 -#define IDC_CHECK_DO07 1027 -#define IDC_CHECK_DO08 1028 -#define IDC_CHECK_DO09 1029 -#define IDC_CHECK_DO10 1030 -#define IDC_CHECK_DO11 1031 -#define IDC_CHECK_DO12 1032 -#define IDC_CHECK_DO13 1033 -#define IDC_CHECK_DO14 1034 -#define IDC_CHECK_DO15 1035 -#define IDC_CHECK_DO16 1036 -#define IDC_CHECK_DO17 1037 -#define IDC_CHECK_DO18 1038 -#define IDC_CHECK_DO19 1039 -#define IDC_CHECK_DO20 1040 -#define IDC_CHECK_DO21 1041 -#define IDC_CHECK_DO22 1042 -#define IDC_CHECK_DO23 1043 -#define IDC_CHECK_DO24 1044 -#define IDC_CHECK_DO25 1045 -#define IDC_CHECK_DO26 1046 -#define IDC_CHECK_DO27 1047 -#define IDC_CHECK_DO28 1048 -#define IDC_CHECK_DO29 1049 -#define IDC_CHECK_DO30 1050 -#define IDC_CHECK_DO31 1051 - -// Next default values for new objects -// -#ifdef APSTUDIO_INVOKED -#ifndef APSTUDIO_READONLY_SYMBOLS -#define _APS_NEXT_RESOURCE_VALUE 134 -#define _APS_NEXT_COMMAND_VALUE 32771 -#define _APS_NEXT_CONTROL_VALUE 1000 -#define _APS_NEXT_SYMED_VALUE 101 -#endif -#endif diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7230/Sdk7230/stdafx.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7230/Sdk7230/stdafx.cpp deleted file mode 100644 index 6bceecf..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7230/Sdk7230/stdafx.cpp +++ /dev/null @@ -1,8 +0,0 @@ - -// stdafx.cpp : source file that includes just the standard includes -// Util7230.pch will be the pre-compiled header -// stdafx.obj will contain the pre-compiled type information - -#include "stdafx.h" - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7230/Sdk7230/stdafx.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7230/Sdk7230/stdafx.h deleted file mode 100644 index 12123e2..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7230/Sdk7230/stdafx.h +++ /dev/null @@ -1,60 +0,0 @@ - -// stdafx.h : include file for standard system include files, -// or project specific include files that are used frequently, -// but are changed infrequently - -#pragma once - -#ifndef _SECURE_ATL -#define _SECURE_ATL 1 -#endif - -#ifndef VC_EXTRALEAN -#define VC_EXTRALEAN // Exclude rarely-used stuff from Windows headers -#endif - -#include "targetver.h" - -#define _ATL_CSTRING_EXPLICIT_CONSTRUCTORS // some CString constructors will be explicit - -// turns off MFC's hiding of some common and often safely ignored warning messages -#define _AFX_ALL_WARNINGS - -#include // MFC core and standard components -#include // MFC extensions - - -#include // MFC Automation classes - - - -#ifndef _AFX_NO_OLE_SUPPORT -#include // MFC support for Internet Explorer 4 Common Controls -#endif -#ifndef _AFX_NO_AFXCMN_SUPPORT -#include // MFC support for Windows Common Controls -#endif // _AFX_NO_AFXCMN_SUPPORT - -#include // MFC support for ribbons and control bars - - - - - - - - - -#ifdef _UNICODE -#if defined _M_IX86 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='x86' publicKeyToken='6595b64144ccf1df' language='*'\"") -#elif defined _M_IA64 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='ia64' publicKeyToken='6595b64144ccf1df' language='*'\"") -#elif defined _M_X64 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='amd64' publicKeyToken='6595b64144ccf1df' language='*'\"") -#else -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='*' publicKeyToken='6595b64144ccf1df' language='*'\"") -#endif -#endif - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7230/Sdk7230/targetver.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7230/Sdk7230/targetver.h deleted file mode 100644 index 11730d5..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7230/Sdk7230/targetver.h +++ /dev/null @@ -1,26 +0,0 @@ - -#pragma once - -// The following macros define the minimum required platform. The minimum required platform -// is the earliest version of Windows, Internet Explorer etc. that has the necessary features to run -// your application. The macros work by enabling all features available on platform versions up to and -// including the version specified. - -// Modify the following defines if you have to target a platform prior to the ones specified below. -// Refer to MSDN for the latest info on corresponding values for different platforms. -#ifndef WINVER // Specifies that the minimum required platform is Windows Vista. -#define WINVER 0x0600 // Change this to the appropriate value to target other versions of Windows. -#endif - -#ifndef _WIN32_WINNT // Specifies that the minimum required platform is Windows Vista. -#define _WIN32_WINNT 0x0600 // Change this to the appropriate value to target other versions of Windows. -#endif - -#ifndef _WIN32_WINDOWS // Specifies that the minimum required platform is Windows 98. -#define _WIN32_WINDOWS 0x0410 // Change this to the appropriate value to target Windows Me or later. -#endif - -#ifndef _WIN32_IE // Specifies that the minimum required platform is Internet Explorer 7.0. -#define _WIN32_IE 0x0700 // Change this to the appropriate value to target other versions of IE. -#endif - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7233/SDK7233DbEvt/7233int.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7233/SDK7233DbEvt/7233int.cpp deleted file mode 100644 index 682719b..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7233/SDK7233DbEvt/7233int.cpp +++ /dev/null @@ -1,110 +0,0 @@ - -// 7233int.cpp : Defines the class behaviors for the application. -// - -#include "stdafx.h" -#include "7233int.h" -#include "7233intDlg.h" -#include "CardIDDlg.h" - -#ifdef _DEBUG -#define new DEBUG_NEW -#endif - - -// C7233intApp - -BEGIN_MESSAGE_MAP(C7233intApp, CWinAppEx) - ON_COMMAND(ID_HELP, &CWinApp::OnHelp) -END_MESSAGE_MAP() - - -// C7233intApp construction - -C7233intApp::C7233intApp() -{ - // TODO: add construction code here, - // Place all significant initialization in InitInstance -} - - -// The one and only C7233intApp object - -C7233intApp theApp; - - -// C7233intApp initialization - -BOOL C7233intApp::InitInstance() -{ - int nCardID = 0; - I16 hCard; - CString strTemp; - INT_PTR nResponse; - - // InitCommonControlsEx() is required on Windows XP if an application - // manifest specifies use of ComCtl32.dll version 6 or later to enable - // visual styles. Otherwise, any window creation will fail. - INITCOMMONCONTROLSEX InitCtrls; - InitCtrls.dwSize = sizeof(InitCtrls); - // Set this to include all the common control classes you want to use - // in your application. - InitCtrls.dwICC = ICC_WIN95_CLASSES; - InitCommonControlsEx(&InitCtrls); - - CWinAppEx::InitInstance(); - - AfxEnableControlContainer(); - - // Standard initialization - // If you are not using these features and wish to reduce the size - // of your final executable, you should remove from the following - // the specific initialization routines you do not need - // Change the registry key under which our settings are stored - // TODO: You should modify this string to be something appropriate - // such as the name of your company or organization - SetRegistryKey(_T("Local AppWizard-Generated Applications")); - - CCardIDDlg CardDlg( nCardID ); - - nResponse = CardDlg.DoModal(); - if (nResponse == IDOK) - { - nCardID = CardDlg.GetCardID(); - - if ((hCard=Register_Card(PCI_7233, nCardID)) < 0) - { - strTemp.Format( TEXT("Register_Card Error = %d"), hCard); - AfxMessageBox( strTemp ); - } - else - { - C7233intDlg dlg(hCard); - m_pMainWnd = &dlg; - nResponse = dlg.DoModal(); - if (nResponse == IDOK) - { - // TODO: Place code here to handle when the dialog is - // dismissed with OK - } - else if (nResponse == IDCANCEL) - { - // TODO: Place code here to handle when the dialog is - // dismissed with Cancel - } - - if (hCard >= 0) Release_Card(hCard); - } - - } - else if (nResponse == IDCANCEL) - { - // TODO: Place code here to handle when the dialog is - // dismissed with Cancel - } - - - // Since the dialog has been closed, return FALSE so that we exit the - // application, rather than start the application's message pump. - return FALSE; -} diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7233/SDK7233DbEvt/7233int.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7233/SDK7233DbEvt/7233int.h deleted file mode 100644 index 72045f2..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7233/SDK7233DbEvt/7233int.h +++ /dev/null @@ -1,32 +0,0 @@ - -// 7233int.h : main header file for the PROJECT_NAME application -// - -#pragma once - -#ifndef __AFXWIN_H__ - #error "include 'stdafx.h' before including this file for PCH" -#endif - -#include "resource.h" // main symbols - - -// C7233intApp: -// See 7233int.cpp for the implementation of this class -// - -class C7233intApp : public CWinAppEx -{ -public: - C7233intApp(); - -// Overrides - public: - virtual BOOL InitInstance(); - -// Implementation - - DECLARE_MESSAGE_MAP() -}; - -extern C7233intApp theApp; \ No newline at end of file diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7233/SDK7233DbEvt/7233int.rc b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7233/SDK7233DbEvt/7233int.rc deleted file mode 100644 index fbb98c7..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7233/SDK7233DbEvt/7233int.rc +++ /dev/null @@ -1,277 +0,0 @@ -// Microsoft Visual C++ generated resource script. -// -#include "resource.h" - -#define APSTUDIO_READONLY_SYMBOLS -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 2 resource. -// -#ifndef APSTUDIO_INVOKED -#include "targetver.h" -#endif -#include "afxres.h" - -///////////////////////////////////////////////////////////////////////////// -#undef APSTUDIO_READONLY_SYMBOLS - -///////////////////////////////////////////////////////////////////////////// -// Chinese (Taiwan) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_CHT) -#ifdef _WIN32 -LANGUAGE LANG_CHINESE, SUBLANG_CHINESE_TRADITIONAL -#pragma code_page(950) -#endif //_WIN32 - -#ifdef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// TEXTINCLUDE -// - -1 TEXTINCLUDE -BEGIN - "resource.h\0" -END - -2 TEXTINCLUDE -BEGIN - "#ifndef APSTUDIO_INVOKED\r\n" - "#include ""targetver.h""\r\n" - "#endif\r\n" - "#include ""afxres.h""\r\n" - "\0" -END - -3 TEXTINCLUDE -BEGIN - "#define _AFX_NO_SPLITTER_RESOURCES\r\n" - "#define _AFX_NO_OLE_RESOURCES\r\n" - "#define _AFX_NO_TRACKER_RESOURCES\r\n" - "#define _AFX_NO_PROPERTY_RESOURCES\r\n" - "\r\n" - "#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)\r\n" - "LANGUAGE 9, 1\r\n" - "#pragma code_page(1252)\r\n" - "#include ""res\\My7233int.rc2"" // non-Microsoft Visual C++ edited resources\r\n" - "#include ""afxres.rc"" // Standard components\r\n" - "#endif\r\n" - "\0" -END - -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// Icon -// - -// Icon with lowest ID value placed first to ensure application icon -// remains consistent on all systems. -IDR_MAINFRAME ICON "res\\7233int.ico" -#endif // Chinese (Taiwan) resources -///////////////////////////////////////////////////////////////////////////// - - -///////////////////////////////////////////////////////////////////////////// -// English (U.S.) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -#ifdef _WIN32 -LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US -#pragma code_page(1252) -#endif //_WIN32 - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog -// - -IDD_ABOUTBOX DIALOGEX 0, 0, 170, 62 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "About 7233int" -FONT 8, "MS Shell Dlg", 0, 0, 0x1 -BEGIN - ICON IDR_MAINFRAME,IDC_STATIC,14,14,21,20 - LTEXT "7233int, Version 1.0",IDC_STATIC,42,14,114,8,SS_NOPREFIX - LTEXT "Copyright (C) 2010",IDC_STATIC,42,26,114,8 - DEFPUSHBUTTON "OK",IDOK,113,41,50,14,WS_GROUP -END - -IDD_MY7233INT_DIALOG DIALOGEX 0, 0, 282, 115 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU -EXSTYLE WS_EX_APPWINDOW -CAPTION "PCI-7233 Dual Interrupt Sample" -FONT 8, "MS Shell Dlg", 0, 0, 0x1 -BEGIN - LTEXT "This program shows the number of occurrence for Dual interrupt lines.\nINT1 interrupt is generated by changing the state of DI bit 0-15.\nINT2 interrupt is generated by changing the state of DI bit 16-31.",IDC_STATIC,25,24,231,27 - LTEXT "INT1 Count =",IDC_STATIC_05,63,62,85,13 - LTEXT "INT2 Count =",IDC_STATIC_06,63,76,85,13 -END - -IDD_CARDID_DIALOG DIALOGEX 0, 0, 165, 88 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "Card ID" -FONT 8, "MS Shell Dlg", 400, 0, 0x1 -BEGIN - COMBOBOX IDC_COMBO_CARDID,73,17,71,126,CBS_DROPDOWN | WS_VSCROLL | WS_TABSTOP - LTEXT "Card Number",IDC_STATIC_01,19,18,46,12 - PUSHBUTTON "OK",IDOK,20,50,58,19 - PUSHBUTTON "CANCEL",IDCANCEL,84,50,58,19 -END - - -///////////////////////////////////////////////////////////////////////////// -// -// Version -// - -VS_VERSION_INFO VERSIONINFO - FILEVERSION 1,0,0,1 - PRODUCTVERSION 1,0,0,1 - FILEFLAGSMASK 0x3fL -#ifdef _DEBUG - FILEFLAGS 0x1L -#else - FILEFLAGS 0x0L -#endif - FILEOS 0x4L - FILETYPE 0x1L - FILESUBTYPE 0x0L -BEGIN - BLOCK "StringFileInfo" - BEGIN - BLOCK "040904e4" - BEGIN - VALUE "CompanyName", "TODO: " - VALUE "FileDescription", "TODO: " - VALUE "FileVersion", "1.0.0.1" - VALUE "InternalName", "7233int.exe" - VALUE "LegalCopyright", "TODO: (c) . All rights reserved." - VALUE "OriginalFilename", "7233int.exe" - VALUE "ProductName", "TODO: " - VALUE "ProductVersion", "1.0.0.1" - END - END - BLOCK "VarFileInfo" - BEGIN - VALUE "Translation", 0x409, 1252 - END -END - - -///////////////////////////////////////////////////////////////////////////// -// -// DESIGNINFO -// - -#ifdef APSTUDIO_INVOKED -GUIDELINES DESIGNINFO -BEGIN - IDD_ABOUTBOX, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 163 - TOPMARGIN, 7 - BOTTOMMARGIN, 55 - END - - IDD_MY7233INT_DIALOG, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 275 - TOPMARGIN, 7 - BOTTOMMARGIN, 108 - END - - IDD_CARDID_DIALOG, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 158 - TOPMARGIN, 7 - BOTTOMMARGIN, 81 - END -END -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog Info -// - -IDD_CARDID_DIALOG DLGINIT -BEGIN - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0030, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0031, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0032, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0033, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0034, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0035, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0036, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0037, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0038, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0039, - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3031, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3131, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3231, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3331, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3431, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3531, "\000" - 0 -END - - -///////////////////////////////////////////////////////////////////////////// -// -// String Table -// - -STRINGTABLE -BEGIN - IDS_ABOUTBOX "&About 7233int..." -END - -#endif // English (U.S.) resources -///////////////////////////////////////////////////////////////////////////// - - - -#ifndef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 3 resource. -// -#define _AFX_NO_SPLITTER_RESOURCES -#define _AFX_NO_OLE_RESOURCES -#define _AFX_NO_TRACKER_RESOURCES -#define _AFX_NO_PROPERTY_RESOURCES - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -LANGUAGE 9, 1 -#pragma code_page(1252) -#include "res\My7233int.rc2" // non-Microsoft Visual C++ edited resources -#include "afxres.rc" // Standard components -#endif - -///////////////////////////////////////////////////////////////////////////// -#endif // not APSTUDIO_INVOKED - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7233/SDK7233DbEvt/7233int.sln b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7233/SDK7233DbEvt/7233int.sln deleted file mode 100644 index 4f9aa29..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7233/SDK7233DbEvt/7233int.sln +++ /dev/null @@ -1,26 +0,0 @@ - -Microsoft Visual Studio Solution File, Format Version 10.00 -# Visual Studio 2008 -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "7233int", "7233int.vcproj", "{F7F89283-2FCE-4FDC-90DC-CE16A59E03A8}" -EndProject -Global - GlobalSection(SolutionConfigurationPlatforms) = preSolution - Debug|Win32 = Debug|Win32 - Debug|x64 = Debug|x64 - Release|Win32 = Release|Win32 - Release|x64 = Release|x64 - EndGlobalSection - GlobalSection(ProjectConfigurationPlatforms) = postSolution - {F7F89283-2FCE-4FDC-90DC-CE16A59E03A8}.Debug|Win32.ActiveCfg = Debug|Win32 - {F7F89283-2FCE-4FDC-90DC-CE16A59E03A8}.Debug|Win32.Build.0 = Debug|Win32 - {F7F89283-2FCE-4FDC-90DC-CE16A59E03A8}.Debug|x64.ActiveCfg = Debug|x64 - {F7F89283-2FCE-4FDC-90DC-CE16A59E03A8}.Debug|x64.Build.0 = Debug|x64 - {F7F89283-2FCE-4FDC-90DC-CE16A59E03A8}.Release|Win32.ActiveCfg = Release|Win32 - {F7F89283-2FCE-4FDC-90DC-CE16A59E03A8}.Release|Win32.Build.0 = Release|Win32 - {F7F89283-2FCE-4FDC-90DC-CE16A59E03A8}.Release|x64.ActiveCfg = Release|x64 - {F7F89283-2FCE-4FDC-90DC-CE16A59E03A8}.Release|x64.Build.0 = Release|x64 - EndGlobalSection - GlobalSection(SolutionProperties) = preSolution - HideSolutionNode = FALSE - EndGlobalSection -EndGlobal diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7233/SDK7233DbEvt/7233int.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7233/SDK7233DbEvt/7233int.suo deleted file mode 100644 index cf3142c..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7233/SDK7233DbEvt/7233int.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7233/SDK7233DbEvt/7233int.vcproj b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7233/SDK7233DbEvt/7233int.vcproj deleted file mode 100644 index a633056..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7233/SDK7233DbEvt/7233int.vcproj +++ /dev/null @@ -1,467 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7233/SDK7233DbEvt/7233intDlg.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7233/SDK7233DbEvt/7233intDlg.cpp deleted file mode 100644 index 5faaddf..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7233/SDK7233DbEvt/7233intDlg.cpp +++ /dev/null @@ -1,201 +0,0 @@ - -// 7233intDlg.cpp : implementation file -// - -#include "stdafx.h" -#include "7233int.h" -#include "7233intDlg.h" - -#ifdef _DEBUG -#define new DEBUG_NEW -#endif - -#define COS0_INTERRUPT_MESSAGE _T("COS0_INT") -#define COS1_INTERRUPT_MESSAGE _T("COS1_INT") - -UINT WM_INT0 = ::RegisterWindowMessage(COS0_INTERRUPT_MESSAGE); -UINT WM_INT1 = ::RegisterWindowMessage(COS1_INTERRUPT_MESSAGE); - - -// CAboutDlg dialog used for App About - -class CAboutDlg : public CDialog -{ -public: - CAboutDlg(); - -// Dialog Data - enum { IDD = IDD_ABOUTBOX }; - - protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - -// Implementation -protected: - DECLARE_MESSAGE_MAP() -}; - -CAboutDlg::CAboutDlg() : CDialog(CAboutDlg::IDD) -{ -} - -void CAboutDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); -} - -BEGIN_MESSAGE_MAP(CAboutDlg, CDialog) -END_MESSAGE_MAP() - - -// C7233intDlg dialog - - - - -C7233intDlg::C7233intDlg(I16 hCard, CWnd* pParent /*=NULL*/) - : CDialog(C7233intDlg::IDD, pParent) -{ - m_hIcon = AfxGetApp()->LoadIcon(IDR_MAINFRAME); - - m_hCard = hCard; - m_COS0Count = 0; - m_COS1Count = 0; -} - -void C7233intDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); -} - -BEGIN_MESSAGE_MAP(C7233intDlg, CDialog) - ON_WM_SYSCOMMAND() - ON_WM_PAINT() - ON_WM_QUERYDRAGICON() - ON_REGISTERED_MESSAGE(WM_INT0, OnCOS0Interrupt) - ON_REGISTERED_MESSAGE(WM_INT1, OnCOS1Interrupt) - //}}AFX_MSG_MAP - ON_WM_DESTROY() -END_MESSAGE_MAP() - - -// C7233intDlg message handlers - -BOOL C7233intDlg::OnInitDialog() -{ - CDialog::OnInitDialog(); - - // Add "About..." menu item to system menu. - - // IDM_ABOUTBOX must be in the system command range. - ASSERT((IDM_ABOUTBOX & 0xFFF0) == IDM_ABOUTBOX); - ASSERT(IDM_ABOUTBOX < 0xF000); - - CMenu* pSysMenu = GetSystemMenu(FALSE); - if (pSysMenu != NULL) - { - BOOL bNameValid; - CString strAboutMenu; - bNameValid = strAboutMenu.LoadString(IDS_ABOUTBOX); - ASSERT(bNameValid); - if (!strAboutMenu.IsEmpty()) - { - pSysMenu->AppendMenu(MF_SEPARATOR); - pSysMenu->AppendMenu(MF_STRING, IDM_ABOUTBOX, strAboutMenu); - } - } - - // Set the icon for this dialog. The framework does this automatically - // when the application's main window is not a dialog - SetIcon(m_hIcon, TRUE); // Set big icon - SetIcon(m_hIcon, FALSE); // Set small icon - - // TODO: Add extra initialization here - DIO_INT1_EventMessage( m_hCard, INT1_EXT_SIGNAL, this->m_hWnd, WM_INT0, NULL ); - DIO_INT2_EventMessage( m_hCard, INT2_EXT_SIGNAL, this->m_hWnd, WM_INT1, NULL ); - - return TRUE; // return TRUE unless you set the focus to a control -} - -void C7233intDlg::OnSysCommand(UINT nID, LPARAM lParam) -{ - if ((nID & 0xFFF0) == IDM_ABOUTBOX) - { - CAboutDlg dlgAbout; - dlgAbout.DoModal(); - } - else - { - CDialog::OnSysCommand(nID, lParam); - } -} - -// If you add a minimize button to your dialog, you will need the code below -// to draw the icon. For MFC applications using the document/view model, -// this is automatically done for you by the framework. - -void C7233intDlg::OnPaint() -{ - if (IsIconic()) - { - CPaintDC dc(this); // device context for painting - - SendMessage(WM_ICONERASEBKGND, reinterpret_cast(dc.GetSafeHdc()), 0); - - // Center icon in client rectangle - int cxIcon = GetSystemMetrics(SM_CXICON); - int cyIcon = GetSystemMetrics(SM_CYICON); - CRect rect; - GetClientRect(&rect); - int x = (rect.Width() - cxIcon + 1) / 2; - int y = (rect.Height() - cyIcon + 1) / 2; - - // Draw the icon - dc.DrawIcon(x, y, m_hIcon); - } - else - { - CDialog::OnPaint(); - } -} - -// The system calls this function to obtain the cursor to display while the user drags -// the minimized window. -HCURSOR C7233intDlg::OnQueryDragIcon() -{ - return static_cast(m_hIcon); -} - - -void C7233intDlg::OnDestroy() -{ - CDialog::OnDestroy(); - - // TODO: Add your message handler code here - DIO_INT1_EventMessage (m_hCard, INT1_DISABLE, this->m_hWnd, NULL, NULL); - DIO_INT2_EventMessage (m_hCard, INT2_DISABLE, this->m_hWnd, NULL, NULL); -} - -LRESULT C7233intDlg::OnCOS0Interrupt(WPARAM wParam, LPARAM lParam) -{ - // do something useful - CString strTemp; - - m_COS0Count ++; - strTemp.Format( TEXT("INT1 Count = %d "), m_COS0Count); - SetDlgItemText( IDC_STATIC_05, strTemp ); - - return (LRESULT) 0; -} - -LRESULT C7233intDlg::OnCOS1Interrupt(WPARAM wParam, LPARAM lParam) -{ - // do something useful - CString strTemp; - - m_COS1Count ++; - strTemp.Format( TEXT("INT2 Count = %d "), m_COS1Count); - SetDlgItemText( IDC_STATIC_06, strTemp ); - - return (LRESULT) 0; -} \ No newline at end of file diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7233/SDK7233DbEvt/7233intDlg.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7233/SDK7233DbEvt/7233intDlg.h deleted file mode 100644 index fd27f6f..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7233/SDK7233DbEvt/7233intDlg.h +++ /dev/null @@ -1,40 +0,0 @@ - -// 7233intDlg.h : header file -// -#include "Dask64.h" - -#pragma once - - -// C7233intDlg dialog -class C7233intDlg : public CDialog -{ -// Construction -public: - C7233intDlg(I16 hCard, CWnd* pParent = NULL); // standard constructor - -// Dialog Data - enum { IDD = IDD_MY7233INT_DIALOG }; - - protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - - -// Implementation -protected: - HICON m_hIcon; - I16 m_hCard; - int m_COS0Count; - int m_COS1Count; - - // Generated message map functions - virtual BOOL OnInitDialog(); - afx_msg void OnSysCommand(UINT nID, LPARAM lParam); - afx_msg void OnPaint(); - afx_msg LRESULT OnCOS0Interrupt(WPARAM wParam, LPARAM lParam); - afx_msg LRESULT OnCOS1Interrupt(WPARAM wParam, LPARAM lParam); - afx_msg HCURSOR OnQueryDragIcon(); - DECLARE_MESSAGE_MAP() -public: - afx_msg void OnDestroy(); -}; diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7233/SDK7233DbEvt/CardIDDlg.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7233/SDK7233DbEvt/CardIDDlg.cpp deleted file mode 100644 index c9beb19..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7233/SDK7233DbEvt/CardIDDlg.cpp +++ /dev/null @@ -1,67 +0,0 @@ -// CardIDDlg.cpp : implementation file -// - -#include "stdafx.h" -#include "7233int.h" -#include "CardIDDlg.h" - - -// CCardIDDlg dialog - -IMPLEMENT_DYNAMIC(CCardIDDlg, CDialog) - -CCardIDDlg::CCardIDDlg(int nCardIdx, CWnd* pParent /*=NULL*/) - : CDialog(CCardIDDlg::IDD, pParent) -{ - m_nCardIdx = nCardIdx; -} - -CCardIDDlg::~CCardIDDlg() -{ -} - -void CCardIDDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); - DDX_Control(pDX, IDC_COMBO_CARDID, m_cbCardID); -} - - -BEGIN_MESSAGE_MAP(CCardIDDlg, CDialog) -// ON_CBN_SELCHANGE(IDC_COMBO_CARDID, &CCardIDDlg::OnCbnSelchangeComboCardid) -ON_BN_CLICKED(IDOK, &CCardIDDlg::OnBnClickedOk) -//ON_WM_CTLCOLOR() -END_MESSAGE_MAP() - - -// CCardIDDlg message handlers - - -void CCardIDDlg::OnBnClickedOk() -{ - // TODO: Add your control notification handler code here - -// UpdateData(TRUE); - m_nCardIdx = m_cbCardID.GetCurSel(); - - OnOK(); -} - -BOOL CCardIDDlg::OnInitDialog() -{ - CDialog::OnInitDialog(); - - // TODO: Add extra initialization here - m_cbCardID.SetCurSel( m_nCardIdx ); - - return TRUE; // return TRUE unless you set the focus to a control - // EXCEPTION: OCX Property Pages should return FALSE -} - -// the function to get the selected CardID -int CCardIDDlg::GetCardID(void) -{ - return m_nCardIdx; -} - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7233/SDK7233DbEvt/CardIDDlg.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7233/SDK7233DbEvt/CardIDDlg.h deleted file mode 100644 index 54628ea..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7233/SDK7233DbEvt/CardIDDlg.h +++ /dev/null @@ -1,33 +0,0 @@ -#pragma once -#include "afxwin.h" - - -// CCardIDDlg dialog - -class CCardIDDlg : public CDialog -{ - DECLARE_DYNAMIC(CCardIDDlg) - -public: - CCardIDDlg(int nCardIdx, CWnd* pParent = NULL); // standard constructor - virtual ~CCardIDDlg(); - -// Dialog Data - enum { IDD = IDD_CARDID_DIALOG }; - -protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - - DECLARE_MESSAGE_MAP() -public: -// afx_msg void OnCbnSelchangeComboCardid(); - afx_msg void OnBnClickedOk(); - // the setting of CardID ComboBox - int m_nCardIdx; - virtual BOOL OnInitDialog(); - // the control of CardID ComboBox - CComboBox m_cbCardID; - // the function to get the selected CardID - int GetCardID(void); -// afx_msg HBRUSH OnCtlColor(CDC* pDC, CWnd* pWnd, UINT nCtlColor); -}; diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7233/SDK7233DbEvt/ReadMe.txt b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7233/SDK7233DbEvt/ReadMe.txt deleted file mode 100644 index 26923c8..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7233/SDK7233DbEvt/ReadMe.txt +++ /dev/null @@ -1,93 +0,0 @@ -================================================================================ - MICROSOFT FOUNDATION CLASS LIBRARY : 7233int Project Overview -=============================================================================== - -The application wizard has created this 7233int application for -you. This application not only demonstrates the basics of using the Microsoft -Foundation Classes but is also a starting point for writing your application. - -This file contains a summary of what you will find in each of the files that -make up your 7233int application. - -7233int.vcproj - This is the main project file for VC++ projects generated using an application wizard. - It contains information about the version of Visual C++ that generated the file, and - information about the platforms, configurations, and project features selected with the - application wizard. - -7233int.h - This is the main header file for the application. It includes other - project specific headers (including Resource.h) and declares the - C7233intApp application class. - -7233int.cpp - This is the main application source file that contains the application - class C7233intApp. - -7233int.rc - This is a listing of all of the Microsoft Windows resources that the - program uses. It includes the icons, bitmaps, and cursors that are stored - in the RES subdirectory. This file can be directly edited in Microsoft - Visual C++. Your project resources are in 1033. - -res\7233int.ico - This is an icon file, which is used as the application's icon. This - icon is included by the main resource file 7233int.rc. - -res\My7233int.rc2 - This file contains resources that are not edited by Microsoft - Visual C++. You should place all resources not editable by - the resource editor in this file. - - -///////////////////////////////////////////////////////////////////////////// - -The application wizard creates one dialog class: - -7233intDlg.h, 7233intDlg.cpp - the dialog - These files contain your C7233intDlg class. This class defines - the behavior of your application's main dialog. The dialog's template is - in 7233int.rc, which can be edited in Microsoft Visual C++. - - -///////////////////////////////////////////////////////////////////////////// - -Other Features: - -ActiveX Controls - The application includes support to use ActiveX controls. - -///////////////////////////////////////////////////////////////////////////// - -Other standard files: - -StdAfx.h, StdAfx.cpp - These files are used to build a precompiled header (PCH) file - named 7233int.pch and a precompiled types file named StdAfx.obj. - -Resource.h - This is the standard header file, which defines new resource IDs. - Microsoft Visual C++ reads and updates this file. - -7233int.manifest - Application manifest files are used by Windows XP to describe an applications - dependency on specific versions of Side-by-Side assemblies. The loader uses this - information to load the appropriate assembly from the assembly cache or private - from the application. The Application manifest maybe included for redistribution - as an external .manifest file that is installed in the same folder as the application - executable or it may be included in the executable in the form of a resource. -///////////////////////////////////////////////////////////////////////////// - -Other notes: - -The application wizard uses "TODO:" to indicate parts of the source code you -should add to or customize. - -If your application uses MFC in a shared DLL, you will need -to redistribute the MFC DLLs. If your application is in a language -other than the operating system's locale, you will also have to -redistribute the corresponding localized resources MFC90XXX.DLL. -For more information on both of these topics, please see the section on -redistributing Visual C++ applications in MSDN documentation. - -///////////////////////////////////////////////////////////////////////////// diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7233/SDK7233DbEvt/res/7233int.ico b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7233/SDK7233DbEvt/res/7233int.ico deleted file mode 100644 index d56fbcd..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7233/SDK7233DbEvt/res/7233int.ico and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7233/SDK7233DbEvt/res/My7233int.rc2 b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7233/SDK7233DbEvt/res/My7233int.rc2 deleted file mode 100644 index 4206bcb..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7233/SDK7233DbEvt/res/My7233int.rc2 +++ /dev/null @@ -1,13 +0,0 @@ -// -// My7233int.RC2 - resources Microsoft Visual C++ does not edit directly -// - -#ifdef APSTUDIO_INVOKED -#error this file is not editable by Microsoft Visual C++ -#endif //APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// Add manually edited resources here... - -///////////////////////////////////////////////////////////////////////////// diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7233/SDK7233DbEvt/resource.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7233/SDK7233DbEvt/resource.h deleted file mode 100644 index f0395fd..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7233/SDK7233DbEvt/resource.h +++ /dev/null @@ -1,26 +0,0 @@ -//{{NO_DEPENDENCIES}} -// Microsoft Visual C++ generated include file. -// Used by 7233int.rc -// -#define IDM_ABOUTBOX 0x0010 -#define IDD_ABOUTBOX 100 -#define IDS_ABOUTBOX 101 -#define IDD_MY7233INT_DIALOG 102 -#define IDR_MAINFRAME 128 -#define IDD_CARDID_DIALOG 129 -#define IDC_COMBO_CARDID 1000 -#define IDC_STATIC_05 1007 -#define IDC_STATIC_06 1008 -#define IDC_STATIC_7 1009 -#define IDC_STATIC_01 1014 - -// Next default values for new objects -// -#ifdef APSTUDIO_INVOKED -#ifndef APSTUDIO_READONLY_SYMBOLS -#define _APS_NEXT_RESOURCE_VALUE 131 -#define _APS_NEXT_COMMAND_VALUE 32771 -#define _APS_NEXT_CONTROL_VALUE 1000 -#define _APS_NEXT_SYMED_VALUE 101 -#endif -#endif diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7233/SDK7233DbEvt/stdafx.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7233/SDK7233DbEvt/stdafx.cpp deleted file mode 100644 index 1cbe64b..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7233/SDK7233DbEvt/stdafx.cpp +++ /dev/null @@ -1,8 +0,0 @@ - -// stdafx.cpp : source file that includes just the standard includes -// 7233int.pch will be the pre-compiled header -// stdafx.obj will contain the pre-compiled type information - -#include "stdafx.h" - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7233/SDK7233DbEvt/stdafx.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7233/SDK7233DbEvt/stdafx.h deleted file mode 100644 index 12123e2..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7233/SDK7233DbEvt/stdafx.h +++ /dev/null @@ -1,60 +0,0 @@ - -// stdafx.h : include file for standard system include files, -// or project specific include files that are used frequently, -// but are changed infrequently - -#pragma once - -#ifndef _SECURE_ATL -#define _SECURE_ATL 1 -#endif - -#ifndef VC_EXTRALEAN -#define VC_EXTRALEAN // Exclude rarely-used stuff from Windows headers -#endif - -#include "targetver.h" - -#define _ATL_CSTRING_EXPLICIT_CONSTRUCTORS // some CString constructors will be explicit - -// turns off MFC's hiding of some common and often safely ignored warning messages -#define _AFX_ALL_WARNINGS - -#include // MFC core and standard components -#include // MFC extensions - - -#include // MFC Automation classes - - - -#ifndef _AFX_NO_OLE_SUPPORT -#include // MFC support for Internet Explorer 4 Common Controls -#endif -#ifndef _AFX_NO_AFXCMN_SUPPORT -#include // MFC support for Windows Common Controls -#endif // _AFX_NO_AFXCMN_SUPPORT - -#include // MFC support for ribbons and control bars - - - - - - - - - -#ifdef _UNICODE -#if defined _M_IX86 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='x86' publicKeyToken='6595b64144ccf1df' language='*'\"") -#elif defined _M_IA64 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='ia64' publicKeyToken='6595b64144ccf1df' language='*'\"") -#elif defined _M_X64 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='amd64' publicKeyToken='6595b64144ccf1df' language='*'\"") -#else -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='*' publicKeyToken='6595b64144ccf1df' language='*'\"") -#endif -#endif - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7233/SDK7233DbEvt/targetver.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7233/SDK7233DbEvt/targetver.h deleted file mode 100644 index 11730d5..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7233/SDK7233DbEvt/targetver.h +++ /dev/null @@ -1,26 +0,0 @@ - -#pragma once - -// The following macros define the minimum required platform. The minimum required platform -// is the earliest version of Windows, Internet Explorer etc. that has the necessary features to run -// your application. The macros work by enabling all features available on platform versions up to and -// including the version specified. - -// Modify the following defines if you have to target a platform prior to the ones specified below. -// Refer to MSDN for the latest info on corresponding values for different platforms. -#ifndef WINVER // Specifies that the minimum required platform is Windows Vista. -#define WINVER 0x0600 // Change this to the appropriate value to target other versions of Windows. -#endif - -#ifndef _WIN32_WINNT // Specifies that the minimum required platform is Windows Vista. -#define _WIN32_WINNT 0x0600 // Change this to the appropriate value to target other versions of Windows. -#endif - -#ifndef _WIN32_WINDOWS // Specifies that the minimum required platform is Windows 98. -#define _WIN32_WINDOWS 0x0410 // Change this to the appropriate value to target Windows Me or later. -#endif - -#ifndef _WIN32_IE // Specifies that the minimum required platform is Internet Explorer 7.0. -#define _WIN32_IE 0x0700 // Change this to the appropriate value to target other versions of IE. -#endif - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7233/SDK7233int/7233int.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7233/SDK7233int/7233int.cpp deleted file mode 100644 index 682719b..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7233/SDK7233int/7233int.cpp +++ /dev/null @@ -1,110 +0,0 @@ - -// 7233int.cpp : Defines the class behaviors for the application. -// - -#include "stdafx.h" -#include "7233int.h" -#include "7233intDlg.h" -#include "CardIDDlg.h" - -#ifdef _DEBUG -#define new DEBUG_NEW -#endif - - -// C7233intApp - -BEGIN_MESSAGE_MAP(C7233intApp, CWinAppEx) - ON_COMMAND(ID_HELP, &CWinApp::OnHelp) -END_MESSAGE_MAP() - - -// C7233intApp construction - -C7233intApp::C7233intApp() -{ - // TODO: add construction code here, - // Place all significant initialization in InitInstance -} - - -// The one and only C7233intApp object - -C7233intApp theApp; - - -// C7233intApp initialization - -BOOL C7233intApp::InitInstance() -{ - int nCardID = 0; - I16 hCard; - CString strTemp; - INT_PTR nResponse; - - // InitCommonControlsEx() is required on Windows XP if an application - // manifest specifies use of ComCtl32.dll version 6 or later to enable - // visual styles. Otherwise, any window creation will fail. - INITCOMMONCONTROLSEX InitCtrls; - InitCtrls.dwSize = sizeof(InitCtrls); - // Set this to include all the common control classes you want to use - // in your application. - InitCtrls.dwICC = ICC_WIN95_CLASSES; - InitCommonControlsEx(&InitCtrls); - - CWinAppEx::InitInstance(); - - AfxEnableControlContainer(); - - // Standard initialization - // If you are not using these features and wish to reduce the size - // of your final executable, you should remove from the following - // the specific initialization routines you do not need - // Change the registry key under which our settings are stored - // TODO: You should modify this string to be something appropriate - // such as the name of your company or organization - SetRegistryKey(_T("Local AppWizard-Generated Applications")); - - CCardIDDlg CardDlg( nCardID ); - - nResponse = CardDlg.DoModal(); - if (nResponse == IDOK) - { - nCardID = CardDlg.GetCardID(); - - if ((hCard=Register_Card(PCI_7233, nCardID)) < 0) - { - strTemp.Format( TEXT("Register_Card Error = %d"), hCard); - AfxMessageBox( strTemp ); - } - else - { - C7233intDlg dlg(hCard); - m_pMainWnd = &dlg; - nResponse = dlg.DoModal(); - if (nResponse == IDOK) - { - // TODO: Place code here to handle when the dialog is - // dismissed with OK - } - else if (nResponse == IDCANCEL) - { - // TODO: Place code here to handle when the dialog is - // dismissed with Cancel - } - - if (hCard >= 0) Release_Card(hCard); - } - - } - else if (nResponse == IDCANCEL) - { - // TODO: Place code here to handle when the dialog is - // dismissed with Cancel - } - - - // Since the dialog has been closed, return FALSE so that we exit the - // application, rather than start the application's message pump. - return FALSE; -} diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7233/SDK7233int/7233int.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7233/SDK7233int/7233int.h deleted file mode 100644 index 72045f2..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7233/SDK7233int/7233int.h +++ /dev/null @@ -1,32 +0,0 @@ - -// 7233int.h : main header file for the PROJECT_NAME application -// - -#pragma once - -#ifndef __AFXWIN_H__ - #error "include 'stdafx.h' before including this file for PCH" -#endif - -#include "resource.h" // main symbols - - -// C7233intApp: -// See 7233int.cpp for the implementation of this class -// - -class C7233intApp : public CWinAppEx -{ -public: - C7233intApp(); - -// Overrides - public: - virtual BOOL InitInstance(); - -// Implementation - - DECLARE_MESSAGE_MAP() -}; - -extern C7233intApp theApp; \ No newline at end of file diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7233/SDK7233int/7233int.rc b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7233/SDK7233int/7233int.rc deleted file mode 100644 index 05b7484..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7233/SDK7233int/7233int.rc +++ /dev/null @@ -1,276 +0,0 @@ -// Microsoft Visual C++ generated resource script. -// -#include "resource.h" - -#define APSTUDIO_READONLY_SYMBOLS -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 2 resource. -// -#ifndef APSTUDIO_INVOKED -#include "targetver.h" -#endif -#include "afxres.h" - -///////////////////////////////////////////////////////////////////////////// -#undef APSTUDIO_READONLY_SYMBOLS - -///////////////////////////////////////////////////////////////////////////// -// Chinese (Taiwan) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_CHT) -#ifdef _WIN32 -LANGUAGE LANG_CHINESE, SUBLANG_CHINESE_TRADITIONAL -#pragma code_page(950) -#endif //_WIN32 - -#ifdef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// TEXTINCLUDE -// - -1 TEXTINCLUDE -BEGIN - "resource.h\0" -END - -2 TEXTINCLUDE -BEGIN - "#ifndef APSTUDIO_INVOKED\r\n" - "#include ""targetver.h""\r\n" - "#endif\r\n" - "#include ""afxres.h""\r\n" - "\0" -END - -3 TEXTINCLUDE -BEGIN - "#define _AFX_NO_SPLITTER_RESOURCES\r\n" - "#define _AFX_NO_OLE_RESOURCES\r\n" - "#define _AFX_NO_TRACKER_RESOURCES\r\n" - "#define _AFX_NO_PROPERTY_RESOURCES\r\n" - "\r\n" - "#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)\r\n" - "LANGUAGE 9, 1\r\n" - "#pragma code_page(1252)\r\n" - "#include ""res\\My7233int.rc2"" // non-Microsoft Visual C++ edited resources\r\n" - "#include ""afxres.rc"" // Standard components\r\n" - "#endif\r\n" - "\0" -END - -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// Icon -// - -// Icon with lowest ID value placed first to ensure application icon -// remains consistent on all systems. -IDR_MAINFRAME ICON "res\\7233int.ico" -#endif // Chinese (Taiwan) resources -///////////////////////////////////////////////////////////////////////////// - - -///////////////////////////////////////////////////////////////////////////// -// English (U.S.) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -#ifdef _WIN32 -LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US -#pragma code_page(1252) -#endif //_WIN32 - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog -// - -IDD_ABOUTBOX DIALOGEX 0, 0, 170, 62 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "About 7233int" -FONT 8, "MS Shell Dlg", 0, 0, 0x1 -BEGIN - ICON IDR_MAINFRAME,IDC_STATIC,14,14,21,20 - LTEXT "7233int, Version 1.0",IDC_STATIC,42,14,114,8,SS_NOPREFIX - LTEXT "Copyright (C) 2010",IDC_STATIC,42,26,114,8 - DEFPUSHBUTTON "OK",IDOK,113,41,50,14,WS_GROUP -END - -IDD_MY7233INT_DIALOG DIALOGEX 0, 0, 223, 115 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU -EXSTYLE WS_EX_APPWINDOW -CAPTION "PCI-7233 Interrupt Sample (INT1)" -FONT 8, "MS Shell Dlg", 0, 0, 0x1 -BEGIN - LTEXT "This program shows the number of occurrence of INT1 interrupt. INT1 interrupt is generated by changing the state of DI bit 0-15.",IDC_STATIC,25,24,153,31 - LTEXT "INT1 Count =",IDC_STATIC_06,57,66,85,13 -END - -IDD_CARDID_DIALOG DIALOGEX 0, 0, 165, 88 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "Card ID" -FONT 8, "MS Shell Dlg", 400, 0, 0x1 -BEGIN - COMBOBOX IDC_COMBO_CARDID,73,17,71,126,CBS_DROPDOWN | WS_VSCROLL | WS_TABSTOP - LTEXT "Card Number",IDC_STATIC_01,19,18,46,12 - PUSHBUTTON "OK",IDOK,20,50,58,19 - PUSHBUTTON "CANCEL",IDCANCEL,84,50,58,19 -END - - -///////////////////////////////////////////////////////////////////////////// -// -// Version -// - -VS_VERSION_INFO VERSIONINFO - FILEVERSION 1,0,0,1 - PRODUCTVERSION 1,0,0,1 - FILEFLAGSMASK 0x3fL -#ifdef _DEBUG - FILEFLAGS 0x1L -#else - FILEFLAGS 0x0L -#endif - FILEOS 0x4L - FILETYPE 0x1L - FILESUBTYPE 0x0L -BEGIN - BLOCK "StringFileInfo" - BEGIN - BLOCK "040904e4" - BEGIN - VALUE "CompanyName", "TODO: " - VALUE "FileDescription", "TODO: " - VALUE "FileVersion", "1.0.0.1" - VALUE "InternalName", "7233int.exe" - VALUE "LegalCopyright", "TODO: (c) . All rights reserved." - VALUE "OriginalFilename", "7233int.exe" - VALUE "ProductName", "TODO: " - VALUE "ProductVersion", "1.0.0.1" - END - END - BLOCK "VarFileInfo" - BEGIN - VALUE "Translation", 0x409, 1252 - END -END - - -///////////////////////////////////////////////////////////////////////////// -// -// DESIGNINFO -// - -#ifdef APSTUDIO_INVOKED -GUIDELINES DESIGNINFO -BEGIN - IDD_ABOUTBOX, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 163 - TOPMARGIN, 7 - BOTTOMMARGIN, 55 - END - - IDD_MY7233INT_DIALOG, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 216 - TOPMARGIN, 7 - BOTTOMMARGIN, 108 - END - - IDD_CARDID_DIALOG, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 158 - TOPMARGIN, 7 - BOTTOMMARGIN, 81 - END -END -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog Info -// - -IDD_CARDID_DIALOG DLGINIT -BEGIN - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0030, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0031, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0032, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0033, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0034, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0035, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0036, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0037, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0038, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0039, - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3031, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3131, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3231, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3331, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3431, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3531, "\000" - 0 -END - - -///////////////////////////////////////////////////////////////////////////// -// -// String Table -// - -STRINGTABLE -BEGIN - IDS_ABOUTBOX "&About 7233int..." -END - -#endif // English (U.S.) resources -///////////////////////////////////////////////////////////////////////////// - - - -#ifndef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 3 resource. -// -#define _AFX_NO_SPLITTER_RESOURCES -#define _AFX_NO_OLE_RESOURCES -#define _AFX_NO_TRACKER_RESOURCES -#define _AFX_NO_PROPERTY_RESOURCES - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -LANGUAGE 9, 1 -#pragma code_page(1252) -#include "res\My7233int.rc2" // non-Microsoft Visual C++ edited resources -#include "afxres.rc" // Standard components -#endif - -///////////////////////////////////////////////////////////////////////////// -#endif // not APSTUDIO_INVOKED - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7233/SDK7233int/7233int.sln b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7233/SDK7233int/7233int.sln deleted file mode 100644 index 4f9aa29..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7233/SDK7233int/7233int.sln +++ /dev/null @@ -1,26 +0,0 @@ - -Microsoft Visual Studio Solution File, Format Version 10.00 -# Visual Studio 2008 -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "7233int", "7233int.vcproj", "{F7F89283-2FCE-4FDC-90DC-CE16A59E03A8}" -EndProject -Global - GlobalSection(SolutionConfigurationPlatforms) = preSolution - Debug|Win32 = Debug|Win32 - Debug|x64 = Debug|x64 - Release|Win32 = Release|Win32 - Release|x64 = Release|x64 - EndGlobalSection - GlobalSection(ProjectConfigurationPlatforms) = postSolution - {F7F89283-2FCE-4FDC-90DC-CE16A59E03A8}.Debug|Win32.ActiveCfg = Debug|Win32 - {F7F89283-2FCE-4FDC-90DC-CE16A59E03A8}.Debug|Win32.Build.0 = Debug|Win32 - {F7F89283-2FCE-4FDC-90DC-CE16A59E03A8}.Debug|x64.ActiveCfg = Debug|x64 - {F7F89283-2FCE-4FDC-90DC-CE16A59E03A8}.Debug|x64.Build.0 = Debug|x64 - {F7F89283-2FCE-4FDC-90DC-CE16A59E03A8}.Release|Win32.ActiveCfg = Release|Win32 - {F7F89283-2FCE-4FDC-90DC-CE16A59E03A8}.Release|Win32.Build.0 = Release|Win32 - {F7F89283-2FCE-4FDC-90DC-CE16A59E03A8}.Release|x64.ActiveCfg = Release|x64 - {F7F89283-2FCE-4FDC-90DC-CE16A59E03A8}.Release|x64.Build.0 = Release|x64 - EndGlobalSection - GlobalSection(SolutionProperties) = preSolution - HideSolutionNode = FALSE - EndGlobalSection -EndGlobal diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7233/SDK7233int/7233int.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7233/SDK7233int/7233int.suo deleted file mode 100644 index 866d20e..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7233/SDK7233int/7233int.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7233/SDK7233int/7233int.vcproj b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7233/SDK7233int/7233int.vcproj deleted file mode 100644 index a633056..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7233/SDK7233int/7233int.vcproj +++ /dev/null @@ -1,467 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7233/SDK7233int/7233intDlg.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7233/SDK7233int/7233intDlg.cpp deleted file mode 100644 index 0d514db..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7233/SDK7233int/7233intDlg.cpp +++ /dev/null @@ -1,185 +0,0 @@ - -// 7233intDlg.cpp : implementation file -// - -#include "stdafx.h" -#include "7233int.h" -#include "7233intDlg.h" - -#ifdef _DEBUG -#define new DEBUG_NEW -#endif - -#define COS_INTERRUPT_MESSAGE _T("COS_INT") - -UINT WM_INT = ::RegisterWindowMessage(COS_INTERRUPT_MESSAGE); - - -// CAboutDlg dialog used for App About - -class CAboutDlg : public CDialog -{ -public: - CAboutDlg(); - -// Dialog Data - enum { IDD = IDD_ABOUTBOX }; - - protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - -// Implementation -protected: - DECLARE_MESSAGE_MAP() -}; - -CAboutDlg::CAboutDlg() : CDialog(CAboutDlg::IDD) -{ -} - -void CAboutDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); -} - -BEGIN_MESSAGE_MAP(CAboutDlg, CDialog) -END_MESSAGE_MAP() - - -// C7233intDlg dialog - - - - -C7233intDlg::C7233intDlg(I16 hCard, CWnd* pParent /*=NULL*/) - : CDialog(C7233intDlg::IDD, pParent) -{ - m_hIcon = AfxGetApp()->LoadIcon(IDR_MAINFRAME); - - m_hCard = hCard; - m_COSCount = 0; -} - -void C7233intDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); -} - -BEGIN_MESSAGE_MAP(C7233intDlg, CDialog) - ON_WM_SYSCOMMAND() - ON_WM_PAINT() - ON_WM_QUERYDRAGICON() - ON_REGISTERED_MESSAGE(WM_INT, OnCOSInterrupt) - //}}AFX_MSG_MAP - ON_WM_DESTROY() -END_MESSAGE_MAP() - - -// C7233intDlg message handlers - -BOOL C7233intDlg::OnInitDialog() -{ - short err; - - CDialog::OnInitDialog(); - - // Add "About..." menu item to system menu. - - // IDM_ABOUTBOX must be in the system command range. - ASSERT((IDM_ABOUTBOX & 0xFFF0) == IDM_ABOUTBOX); - ASSERT(IDM_ABOUTBOX < 0xF000); - - CMenu* pSysMenu = GetSystemMenu(FALSE); - if (pSysMenu != NULL) - { - BOOL bNameValid; - CString strAboutMenu; - bNameValid = strAboutMenu.LoadString(IDS_ABOUTBOX); - ASSERT(bNameValid); - if (!strAboutMenu.IsEmpty()) - { - pSysMenu->AppendMenu(MF_SEPARATOR); - pSysMenu->AppendMenu(MF_STRING, IDM_ABOUTBOX, strAboutMenu); - } - } - - // Set the icon for this dialog. The framework does this automatically - // when the application's main window is not a dialog - SetIcon(m_hIcon, TRUE); // Set big icon - SetIcon(m_hIcon, FALSE); // Set small icon - - // TODO: Add extra initialization here - err = DIO_INT1_EventMessage (m_hCard, INT1_EXT_SIGNAL, this->m_hWnd, WM_INT, NULL); - - return TRUE; // return TRUE unless you set the focus to a control -} - -void C7233intDlg::OnSysCommand(UINT nID, LPARAM lParam) -{ - if ((nID & 0xFFF0) == IDM_ABOUTBOX) - { - CAboutDlg dlgAbout; - dlgAbout.DoModal(); - } - else - { - CDialog::OnSysCommand(nID, lParam); - } -} - -// If you add a minimize button to your dialog, you will need the code below -// to draw the icon. For MFC applications using the document/view model, -// this is automatically done for you by the framework. - -void C7233intDlg::OnPaint() -{ - if (IsIconic()) - { - CPaintDC dc(this); // device context for painting - - SendMessage(WM_ICONERASEBKGND, reinterpret_cast(dc.GetSafeHdc()), 0); - - // Center icon in client rectangle - int cxIcon = GetSystemMetrics(SM_CXICON); - int cyIcon = GetSystemMetrics(SM_CYICON); - CRect rect; - GetClientRect(&rect); - int x = (rect.Width() - cxIcon + 1) / 2; - int y = (rect.Height() - cyIcon + 1) / 2; - - // Draw the icon - dc.DrawIcon(x, y, m_hIcon); - } - else - { - CDialog::OnPaint(); - } -} - -// The system calls this function to obtain the cursor to display while the user drags -// the minimized window. -HCURSOR C7233intDlg::OnQueryDragIcon() -{ - return static_cast(m_hIcon); -} - - -void C7233intDlg::OnDestroy() -{ - CDialog::OnDestroy(); - - // TODO: Add your message handler code here - DIO_INT1_EventMessage (m_hCard, INT1_DISABLE, this->m_hWnd, NULL, NULL); -} - -LRESULT C7233intDlg::OnCOSInterrupt(WPARAM wParam, LPARAM lParam) -{ - // do something useful - CString strTemp; - - m_COSCount ++; - strTemp.Format( TEXT("INT1 Count = %d "), m_COSCount); - SetDlgItemText( IDC_STATIC_06, strTemp ); - - return (LRESULT) 0; -} \ No newline at end of file diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7233/SDK7233int/7233intDlg.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7233/SDK7233int/7233intDlg.h deleted file mode 100644 index 15ea272..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7233/SDK7233int/7233intDlg.h +++ /dev/null @@ -1,38 +0,0 @@ - -// 7233intDlg.h : header file -// -#include "Dask64.h" - -#pragma once - - -// C7233intDlg dialog -class C7233intDlg : public CDialog -{ -// Construction -public: - C7233intDlg(I16 hCard, CWnd* pParent = NULL); // standard constructor - -// Dialog Data - enum { IDD = IDD_MY7233INT_DIALOG }; - - protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - - -// Implementation -protected: - HICON m_hIcon; - I16 m_hCard; - int m_COSCount; - - // Generated message map functions - virtual BOOL OnInitDialog(); - afx_msg void OnSysCommand(UINT nID, LPARAM lParam); - afx_msg void OnPaint(); - afx_msg LRESULT OnCOSInterrupt(WPARAM wParam, LPARAM lParam); - afx_msg HCURSOR OnQueryDragIcon(); - DECLARE_MESSAGE_MAP() -public: - afx_msg void OnDestroy(); -}; diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7233/SDK7233int/CardIDDlg.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7233/SDK7233int/CardIDDlg.cpp deleted file mode 100644 index c9beb19..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7233/SDK7233int/CardIDDlg.cpp +++ /dev/null @@ -1,67 +0,0 @@ -// CardIDDlg.cpp : implementation file -// - -#include "stdafx.h" -#include "7233int.h" -#include "CardIDDlg.h" - - -// CCardIDDlg dialog - -IMPLEMENT_DYNAMIC(CCardIDDlg, CDialog) - -CCardIDDlg::CCardIDDlg(int nCardIdx, CWnd* pParent /*=NULL*/) - : CDialog(CCardIDDlg::IDD, pParent) -{ - m_nCardIdx = nCardIdx; -} - -CCardIDDlg::~CCardIDDlg() -{ -} - -void CCardIDDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); - DDX_Control(pDX, IDC_COMBO_CARDID, m_cbCardID); -} - - -BEGIN_MESSAGE_MAP(CCardIDDlg, CDialog) -// ON_CBN_SELCHANGE(IDC_COMBO_CARDID, &CCardIDDlg::OnCbnSelchangeComboCardid) -ON_BN_CLICKED(IDOK, &CCardIDDlg::OnBnClickedOk) -//ON_WM_CTLCOLOR() -END_MESSAGE_MAP() - - -// CCardIDDlg message handlers - - -void CCardIDDlg::OnBnClickedOk() -{ - // TODO: Add your control notification handler code here - -// UpdateData(TRUE); - m_nCardIdx = m_cbCardID.GetCurSel(); - - OnOK(); -} - -BOOL CCardIDDlg::OnInitDialog() -{ - CDialog::OnInitDialog(); - - // TODO: Add extra initialization here - m_cbCardID.SetCurSel( m_nCardIdx ); - - return TRUE; // return TRUE unless you set the focus to a control - // EXCEPTION: OCX Property Pages should return FALSE -} - -// the function to get the selected CardID -int CCardIDDlg::GetCardID(void) -{ - return m_nCardIdx; -} - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7233/SDK7233int/CardIDDlg.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7233/SDK7233int/CardIDDlg.h deleted file mode 100644 index 54628ea..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7233/SDK7233int/CardIDDlg.h +++ /dev/null @@ -1,33 +0,0 @@ -#pragma once -#include "afxwin.h" - - -// CCardIDDlg dialog - -class CCardIDDlg : public CDialog -{ - DECLARE_DYNAMIC(CCardIDDlg) - -public: - CCardIDDlg(int nCardIdx, CWnd* pParent = NULL); // standard constructor - virtual ~CCardIDDlg(); - -// Dialog Data - enum { IDD = IDD_CARDID_DIALOG }; - -protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - - DECLARE_MESSAGE_MAP() -public: -// afx_msg void OnCbnSelchangeComboCardid(); - afx_msg void OnBnClickedOk(); - // the setting of CardID ComboBox - int m_nCardIdx; - virtual BOOL OnInitDialog(); - // the control of CardID ComboBox - CComboBox m_cbCardID; - // the function to get the selected CardID - int GetCardID(void); -// afx_msg HBRUSH OnCtlColor(CDC* pDC, CWnd* pWnd, UINT nCtlColor); -}; diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7233/SDK7233int/ReadMe.txt b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7233/SDK7233int/ReadMe.txt deleted file mode 100644 index 26923c8..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7233/SDK7233int/ReadMe.txt +++ /dev/null @@ -1,93 +0,0 @@ -================================================================================ - MICROSOFT FOUNDATION CLASS LIBRARY : 7233int Project Overview -=============================================================================== - -The application wizard has created this 7233int application for -you. This application not only demonstrates the basics of using the Microsoft -Foundation Classes but is also a starting point for writing your application. - -This file contains a summary of what you will find in each of the files that -make up your 7233int application. - -7233int.vcproj - This is the main project file for VC++ projects generated using an application wizard. - It contains information about the version of Visual C++ that generated the file, and - information about the platforms, configurations, and project features selected with the - application wizard. - -7233int.h - This is the main header file for the application. It includes other - project specific headers (including Resource.h) and declares the - C7233intApp application class. - -7233int.cpp - This is the main application source file that contains the application - class C7233intApp. - -7233int.rc - This is a listing of all of the Microsoft Windows resources that the - program uses. It includes the icons, bitmaps, and cursors that are stored - in the RES subdirectory. This file can be directly edited in Microsoft - Visual C++. Your project resources are in 1033. - -res\7233int.ico - This is an icon file, which is used as the application's icon. This - icon is included by the main resource file 7233int.rc. - -res\My7233int.rc2 - This file contains resources that are not edited by Microsoft - Visual C++. You should place all resources not editable by - the resource editor in this file. - - -///////////////////////////////////////////////////////////////////////////// - -The application wizard creates one dialog class: - -7233intDlg.h, 7233intDlg.cpp - the dialog - These files contain your C7233intDlg class. This class defines - the behavior of your application's main dialog. The dialog's template is - in 7233int.rc, which can be edited in Microsoft Visual C++. - - -///////////////////////////////////////////////////////////////////////////// - -Other Features: - -ActiveX Controls - The application includes support to use ActiveX controls. - -///////////////////////////////////////////////////////////////////////////// - -Other standard files: - -StdAfx.h, StdAfx.cpp - These files are used to build a precompiled header (PCH) file - named 7233int.pch and a precompiled types file named StdAfx.obj. - -Resource.h - This is the standard header file, which defines new resource IDs. - Microsoft Visual C++ reads and updates this file. - -7233int.manifest - Application manifest files are used by Windows XP to describe an applications - dependency on specific versions of Side-by-Side assemblies. The loader uses this - information to load the appropriate assembly from the assembly cache or private - from the application. The Application manifest maybe included for redistribution - as an external .manifest file that is installed in the same folder as the application - executable or it may be included in the executable in the form of a resource. -///////////////////////////////////////////////////////////////////////////// - -Other notes: - -The application wizard uses "TODO:" to indicate parts of the source code you -should add to or customize. - -If your application uses MFC in a shared DLL, you will need -to redistribute the MFC DLLs. If your application is in a language -other than the operating system's locale, you will also have to -redistribute the corresponding localized resources MFC90XXX.DLL. -For more information on both of these topics, please see the section on -redistributing Visual C++ applications in MSDN documentation. - -///////////////////////////////////////////////////////////////////////////// diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7233/SDK7233int/res/7233int.ico b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7233/SDK7233int/res/7233int.ico deleted file mode 100644 index d56fbcd..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7233/SDK7233int/res/7233int.ico and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7233/SDK7233int/res/My7233int.rc2 b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7233/SDK7233int/res/My7233int.rc2 deleted file mode 100644 index 4206bcb..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7233/SDK7233int/res/My7233int.rc2 +++ /dev/null @@ -1,13 +0,0 @@ -// -// My7233int.RC2 - resources Microsoft Visual C++ does not edit directly -// - -#ifdef APSTUDIO_INVOKED -#error this file is not editable by Microsoft Visual C++ -#endif //APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// Add manually edited resources here... - -///////////////////////////////////////////////////////////////////////////// diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7233/SDK7233int/resource.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7233/SDK7233int/resource.h deleted file mode 100644 index 9abdb04..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7233/SDK7233int/resource.h +++ /dev/null @@ -1,24 +0,0 @@ -//{{NO_DEPENDENCIES}} -// Microsoft Visual C++ generated include file. -// Used by 7233int.rc -// -#define IDM_ABOUTBOX 0x0010 -#define IDD_ABOUTBOX 100 -#define IDS_ABOUTBOX 101 -#define IDD_MY7233INT_DIALOG 102 -#define IDR_MAINFRAME 128 -#define IDD_CARDID_DIALOG 129 -#define IDC_COMBO_CARDID 1000 -#define IDC_STATIC_06 1007 -#define IDC_STATIC_01 1014 - -// Next default values for new objects -// -#ifdef APSTUDIO_INVOKED -#ifndef APSTUDIO_READONLY_SYMBOLS -#define _APS_NEXT_RESOURCE_VALUE 131 -#define _APS_NEXT_COMMAND_VALUE 32771 -#define _APS_NEXT_CONTROL_VALUE 1000 -#define _APS_NEXT_SYMED_VALUE 101 -#endif -#endif diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7233/SDK7233int/stdafx.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7233/SDK7233int/stdafx.cpp deleted file mode 100644 index 1cbe64b..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7233/SDK7233int/stdafx.cpp +++ /dev/null @@ -1,8 +0,0 @@ - -// stdafx.cpp : source file that includes just the standard includes -// 7233int.pch will be the pre-compiled header -// stdafx.obj will contain the pre-compiled type information - -#include "stdafx.h" - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7233/SDK7233int/stdafx.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7233/SDK7233int/stdafx.h deleted file mode 100644 index 12123e2..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7233/SDK7233int/stdafx.h +++ /dev/null @@ -1,60 +0,0 @@ - -// stdafx.h : include file for standard system include files, -// or project specific include files that are used frequently, -// but are changed infrequently - -#pragma once - -#ifndef _SECURE_ATL -#define _SECURE_ATL 1 -#endif - -#ifndef VC_EXTRALEAN -#define VC_EXTRALEAN // Exclude rarely-used stuff from Windows headers -#endif - -#include "targetver.h" - -#define _ATL_CSTRING_EXPLICIT_CONSTRUCTORS // some CString constructors will be explicit - -// turns off MFC's hiding of some common and often safely ignored warning messages -#define _AFX_ALL_WARNINGS - -#include // MFC core and standard components -#include // MFC extensions - - -#include // MFC Automation classes - - - -#ifndef _AFX_NO_OLE_SUPPORT -#include // MFC support for Internet Explorer 4 Common Controls -#endif -#ifndef _AFX_NO_AFXCMN_SUPPORT -#include // MFC support for Windows Common Controls -#endif // _AFX_NO_AFXCMN_SUPPORT - -#include // MFC support for ribbons and control bars - - - - - - - - - -#ifdef _UNICODE -#if defined _M_IX86 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='x86' publicKeyToken='6595b64144ccf1df' language='*'\"") -#elif defined _M_IA64 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='ia64' publicKeyToken='6595b64144ccf1df' language='*'\"") -#elif defined _M_X64 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='amd64' publicKeyToken='6595b64144ccf1df' language='*'\"") -#else -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='*' publicKeyToken='6595b64144ccf1df' language='*'\"") -#endif -#endif - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7233/SDK7233int/targetver.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7233/SDK7233int/targetver.h deleted file mode 100644 index 11730d5..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7233/SDK7233int/targetver.h +++ /dev/null @@ -1,26 +0,0 @@ - -#pragma once - -// The following macros define the minimum required platform. The minimum required platform -// is the earliest version of Windows, Internet Explorer etc. that has the necessary features to run -// your application. The macros work by enabling all features available on platform versions up to and -// including the version specified. - -// Modify the following defines if you have to target a platform prior to the ones specified below. -// Refer to MSDN for the latest info on corresponding values for different platforms. -#ifndef WINVER // Specifies that the minimum required platform is Windows Vista. -#define WINVER 0x0600 // Change this to the appropriate value to target other versions of Windows. -#endif - -#ifndef _WIN32_WINNT // Specifies that the minimum required platform is Windows Vista. -#define _WIN32_WINNT 0x0600 // Change this to the appropriate value to target other versions of Windows. -#endif - -#ifndef _WIN32_WINDOWS // Specifies that the minimum required platform is Windows 98. -#define _WIN32_WINDOWS 0x0410 // Change this to the appropriate value to target Windows Me or later. -#endif - -#ifndef _WIN32_IE // Specifies that the minimum required platform is Internet Explorer 7.0. -#define _WIN32_IE 0x0700 // Change this to the appropriate value to target other versions of IE. -#endif - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7233/Sdk7233/CardIDDlg.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7233/Sdk7233/CardIDDlg.cpp deleted file mode 100644 index 0ca611d..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7233/Sdk7233/CardIDDlg.cpp +++ /dev/null @@ -1,67 +0,0 @@ -// CardIDDlg.cpp : implementation file -// - -#include "stdafx.h" -#include "Util7233.h" -#include "CardIDDlg.h" - - -// CCardIDDlg dialog - -IMPLEMENT_DYNAMIC(CCardIDDlg, CDialog) - -CCardIDDlg::CCardIDDlg(int nCardIdx, CWnd* pParent /*=NULL*/) - : CDialog(CCardIDDlg::IDD, pParent) -{ - m_nCardIdx = nCardIdx; -} - -CCardIDDlg::~CCardIDDlg() -{ -} - -void CCardIDDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); - DDX_Control(pDX, IDC_COMBO_CARDID, m_cbCardID); -} - - -BEGIN_MESSAGE_MAP(CCardIDDlg, CDialog) -// ON_CBN_SELCHANGE(IDC_COMBO_CARDID, &CCardIDDlg::OnCbnSelchangeComboCardid) -ON_BN_CLICKED(IDOK, &CCardIDDlg::OnBnClickedOk) -//ON_WM_CTLCOLOR() -END_MESSAGE_MAP() - - -// CCardIDDlg message handlers - - -void CCardIDDlg::OnBnClickedOk() -{ - // TODO: Add your control notification handler code here - -// UpdateData(TRUE); - m_nCardIdx = m_cbCardID.GetCurSel(); - - OnOK(); -} - -BOOL CCardIDDlg::OnInitDialog() -{ - CDialog::OnInitDialog(); - - // TODO: Add extra initialization here - m_cbCardID.SetCurSel( m_nCardIdx ); - - return TRUE; // return TRUE unless you set the focus to a control - // EXCEPTION: OCX Property Pages should return FALSE -} - -// the function to get the selected CardID -int CCardIDDlg::GetCardID(void) -{ - return m_nCardIdx; -} - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7233/Sdk7233/CardIDDlg.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7233/Sdk7233/CardIDDlg.h deleted file mode 100644 index 54628ea..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7233/Sdk7233/CardIDDlg.h +++ /dev/null @@ -1,33 +0,0 @@ -#pragma once -#include "afxwin.h" - - -// CCardIDDlg dialog - -class CCardIDDlg : public CDialog -{ - DECLARE_DYNAMIC(CCardIDDlg) - -public: - CCardIDDlg(int nCardIdx, CWnd* pParent = NULL); // standard constructor - virtual ~CCardIDDlg(); - -// Dialog Data - enum { IDD = IDD_CARDID_DIALOG }; - -protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - - DECLARE_MESSAGE_MAP() -public: -// afx_msg void OnCbnSelchangeComboCardid(); - afx_msg void OnBnClickedOk(); - // the setting of CardID ComboBox - int m_nCardIdx; - virtual BOOL OnInitDialog(); - // the control of CardID ComboBox - CComboBox m_cbCardID; - // the function to get the selected CardID - int GetCardID(void); -// afx_msg HBRUSH OnCtlColor(CDC* pDC, CWnd* pWnd, UINT nCtlColor); -}; diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7233/Sdk7233/ReadMe.txt b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7233/Sdk7233/ReadMe.txt deleted file mode 100644 index 27d23f7..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7233/Sdk7233/ReadMe.txt +++ /dev/null @@ -1,93 +0,0 @@ -================================================================================ - MICROSOFT FOUNDATION CLASS LIBRARY : Util7233 Project Overview -=============================================================================== - -The application wizard has created this Util7233 application for -you. This application not only demonstrates the basics of using the Microsoft -Foundation Classes but is also a starting point for writing your application. - -This file contains a summary of what you will find in each of the files that -make up your Util7233 application. - -Util7233.vcproj - This is the main project file for VC++ projects generated using an application wizard. - It contains information about the version of Visual C++ that generated the file, and - information about the platforms, configurations, and project features selected with the - application wizard. - -Util7233.h - This is the main header file for the application. It includes other - project specific headers (including Resource.h) and declares the - CUtil7233App application class. - -Util7233.cpp - This is the main application source file that contains the application - class CUtil7233App. - -Util7233.rc - This is a listing of all of the Microsoft Windows resources that the - program uses. It includes the icons, bitmaps, and cursors that are stored - in the RES subdirectory. This file can be directly edited in Microsoft - Visual C++. Your project resources are in 1033. - -res\Util7233.ico - This is an icon file, which is used as the application's icon. This - icon is included by the main resource file Util7233.rc. - -res\Util7233.rc2 - This file contains resources that are not edited by Microsoft - Visual C++. You should place all resources not editable by - the resource editor in this file. - - -///////////////////////////////////////////////////////////////////////////// - -The application wizard creates one dialog class: - -Util7233Dlg.h, Util7233Dlg.cpp - the dialog - These files contain your CUtil7233Dlg class. This class defines - the behavior of your application's main dialog. The dialog's template is - in Util7233.rc, which can be edited in Microsoft Visual C++. - - -///////////////////////////////////////////////////////////////////////////// - -Other Features: - -ActiveX Controls - The application includes support to use ActiveX controls. - -///////////////////////////////////////////////////////////////////////////// - -Other standard files: - -StdAfx.h, StdAfx.cpp - These files are used to build a precompiled header (PCH) file - named Util7233.pch and a precompiled types file named StdAfx.obj. - -Resource.h - This is the standard header file, which defines new resource IDs. - Microsoft Visual C++ reads and updates this file. - -Util7233.manifest - Application manifest files are used by Windows XP to describe an applications - dependency on specific versions of Side-by-Side assemblies. The loader uses this - information to load the appropriate assembly from the assembly cache or private - from the application. The Application manifest maybe included for redistribution - as an external .manifest file that is installed in the same folder as the application - executable or it may be included in the executable in the form of a resource. -///////////////////////////////////////////////////////////////////////////// - -Other notes: - -The application wizard uses "TODO:" to indicate parts of the source code you -should add to or customize. - -If your application uses MFC in a shared DLL, you will need -to redistribute the MFC DLLs. If your application is in a language -other than the operating system's locale, you will also have to -redistribute the corresponding localized resources MFC90XXX.DLL. -For more information on both of these topics, please see the section on -redistributing Visual C++ applications in MSDN documentation. - -///////////////////////////////////////////////////////////////////////////// diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7233/Sdk7233/Util7233.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7233/Sdk7233/Util7233.cpp deleted file mode 100644 index eab2757..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7233/Sdk7233/Util7233.cpp +++ /dev/null @@ -1,111 +0,0 @@ - -// Util7233.cpp : Defines the class behaviors for the application. -// - -#include "stdafx.h" -#include "Util7233.h" -#include "Util7233Dlg.h" -#include "CardIDDlg.h" - - -#ifdef _DEBUG -#define new DEBUG_NEW -#endif - - -// CUtil7233App - -BEGIN_MESSAGE_MAP(CUtil7233App, CWinAppEx) - ON_COMMAND(ID_HELP, &CWinApp::OnHelp) -END_MESSAGE_MAP() - - -// CUtil7233App construction - -CUtil7233App::CUtil7233App() -{ - // TODO: add construction code here, - // Place all significant initialization in InitInstance -} - - -// The one and only CUtil7233App object - -CUtil7233App theApp; - - -// CUtil7233App initialization - -BOOL CUtil7233App::InitInstance() -{ - int nCardID = 0; - I16 hCard; - CString strTemp; - INT_PTR nResponse; - - // InitCommonControlsEx() is required on Windows XP if an application - // manifest specifies use of ComCtl32.dll version 6 or later to enable - // visual styles. Otherwise, any window creation will fail. - INITCOMMONCONTROLSEX InitCtrls; - InitCtrls.dwSize = sizeof(InitCtrls); - // Set this to include all the common control classes you want to use - // in your application. - InitCtrls.dwICC = ICC_WIN95_CLASSES; - InitCommonControlsEx(&InitCtrls); - - CWinAppEx::InitInstance(); - - AfxEnableControlContainer(); - - // Standard initialization - // If you are not using these features and wish to reduce the size - // of your final executable, you should remove from the following - // the specific initialization routines you do not need - // Change the registry key under which our settings are stored - // TODO: You should modify this string to be something appropriate - // such as the name of your company or organization - SetRegistryKey(_T("Local AppWizard-Generated Applications")); - - CCardIDDlg CardDlg( nCardID ); - - nResponse = CardDlg.DoModal(); - if (nResponse == IDOK) - { - nCardID = CardDlg.GetCardID(); - - if ((hCard=Register_Card(PCI_7233, nCardID)) < 0) - { - strTemp.Format( TEXT("Register_Card Error = %d"), hCard); - AfxMessageBox( strTemp ); - } - else - { - CUtil7233Dlg dlg(hCard); - m_pMainWnd = &dlg; - nResponse = dlg.DoModal(); - if (nResponse == IDOK) - { - // TODO: Place code here to handle when the dialog is - // dismissed with OK - } - else if (nResponse == IDCANCEL) - { - // TODO: Place code here to handle when the dialog is - // dismissed with Cancel - } - - if (hCard >= 0) Release_Card(hCard); - } - - } - else if (nResponse == IDCANCEL) - { - // TODO: Place code here to handle when the dialog is - // dismissed with Cancel - } - - - // Since the dialog has been closed, return FALSE so that we exit the - // application, rather than start the application's message pump. - return FALSE; -} diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7233/Sdk7233/Util7233.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7233/Sdk7233/Util7233.h deleted file mode 100644 index 3201ef9..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7233/Sdk7233/Util7233.h +++ /dev/null @@ -1,32 +0,0 @@ - -// Util7233.h : main header file for the PROJECT_NAME application -// - -#pragma once - -#ifndef __AFXWIN_H__ - #error "include 'stdafx.h' before including this file for PCH" -#endif - -#include "resource.h" // main symbols - - -// CUtil7233App: -// See Util7233.cpp for the implementation of this class -// - -class CUtil7233App : public CWinAppEx -{ -public: - CUtil7233App(); - -// Overrides - public: - virtual BOOL InitInstance(); - -// Implementation - - DECLARE_MESSAGE_MAP() -}; - -extern CUtil7233App theApp; \ No newline at end of file diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7233/Sdk7233/Util7233.rc b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7233/Sdk7233/Util7233.rc deleted file mode 100644 index fb6db0a..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7233/Sdk7233/Util7233.rc +++ /dev/null @@ -1,312 +0,0 @@ -// Microsoft Visual C++ generated resource script. -// -#include "resource.h" - -#define APSTUDIO_READONLY_SYMBOLS -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 2 resource. -// -#ifndef APSTUDIO_INVOKED -#include "targetver.h" -#endif -#include "afxres.h" - -///////////////////////////////////////////////////////////////////////////// -#undef APSTUDIO_READONLY_SYMBOLS - -///////////////////////////////////////////////////////////////////////////// -// Chinese (Taiwan) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_CHT) -#ifdef _WIN32 -LANGUAGE LANG_CHINESE, SUBLANG_CHINESE_TRADITIONAL -#pragma code_page(950) -#endif //_WIN32 - -#ifdef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// TEXTINCLUDE -// - -1 TEXTINCLUDE -BEGIN - "resource.h\0" -END - -2 TEXTINCLUDE -BEGIN - "#ifndef APSTUDIO_INVOKED\r\n" - "#include ""targetver.h""\r\n" - "#endif\r\n" - "#include ""afxres.h""\r\n" - "\0" -END - -3 TEXTINCLUDE -BEGIN - "#define _AFX_NO_SPLITTER_RESOURCES\r\n" - "#define _AFX_NO_OLE_RESOURCES\r\n" - "#define _AFX_NO_TRACKER_RESOURCES\r\n" - "#define _AFX_NO_PROPERTY_RESOURCES\r\n" - "\r\n" - "#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)\r\n" - "LANGUAGE 9, 1\r\n" - "#pragma code_page(1252)\r\n" - "#include ""res\\Util7233.rc2"" // non-Microsoft Visual C++ edited resources\r\n" - "#include ""afxres.rc"" // Standard components\r\n" - "#endif\r\n" - "\0" -END - -#endif // APSTUDIO_INVOKED - -#endif // Chinese (Taiwan) resources -///////////////////////////////////////////////////////////////////////////// - - -///////////////////////////////////////////////////////////////////////////// -// English (U.S.) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -#ifdef _WIN32 -LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US -#pragma code_page(1252) -#endif //_WIN32 - -///////////////////////////////////////////////////////////////////////////// -// -// Icon -// - -// Icon with lowest ID value placed first to ensure application icon -// remains consistent on all systems. -IDR_MAINFRAME ICON "res\\Util7233.ico" -IDI_ICON_BLACK ICON "res\\black.ico" -IDI_ICON_GREEN ICON "res\\green.ico" -IDI_ICON_RED ICON "res\\red.ico" - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog -// - -IDD_ABOUTBOX DIALOGEX 0, 0, 170, 62 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "About Util7233" -FONT 8, "MS Shell Dlg", 0, 0, 0x1 -BEGIN - ICON IDR_MAINFRAME,IDC_STATIC,14,14,21,20 - LTEXT "Util7233, Version 1.0",IDC_STATIC,42,14,114,8,SS_NOPREFIX - LTEXT "Copyright (C) 2010",IDC_STATIC,42,26,114,8 - DEFPUSHBUTTON "OK",IDOK,113,41,50,14,WS_GROUP -END - -IDD_UTIL7233_DIALOG DIALOGEX 0, 0, 329, 111 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU -EXSTYLE WS_EX_APPWINDOW -CAPTION "PCI-7233" -FONT 8, "MS Shell Dlg", 0, 0, 0x1 -BEGIN - ICON IDI_ICON_BLACK,IDC_ICON_DI00,288,62,21,20 - ICON IDI_ICON_BLACK,IDC_ICON_DI01,270,62,21,20 - ICON IDI_ICON_BLACK,IDC_ICON_DI02,252,62,21,20 - ICON IDI_ICON_BLACK,IDC_ICON_DI03,234,62,21,20 - ICON IDI_ICON_BLACK,IDC_ICON_DI04,216,62,21,20 - ICON IDI_ICON_BLACK,IDC_ICON_DI05,198,62,21,20 - ICON IDI_ICON_BLACK,IDC_ICON_DI06,180,62,21,20 - ICON IDI_ICON_BLACK,IDC_ICON_DI07,162,62,21,20 - ICON IDI_ICON_BLACK,IDC_ICON_DI08,144,62,21,20 - ICON IDI_ICON_BLACK,IDC_ICON_DI09,126,62,21,20 - ICON IDI_ICON_BLACK,IDC_ICON_DI10,108,62,21,20 - ICON IDI_ICON_BLACK,IDC_ICON_DI11,90,62,21,20 - ICON IDI_ICON_BLACK,IDC_ICON_DI12,72,62,21,20 - ICON IDI_ICON_BLACK,IDC_ICON_DI13,54,62,21,20 - ICON IDI_ICON_BLACK,IDC_ICON_DI14,36,62,21,20 - ICON IDI_ICON_BLACK,IDC_ICON_DI15,18,62,21,20 - LTEXT " 15 0",IDC_STATIC,18,78,289,13 - ICON IDI_ICON_BLACK,IDC_ICON_DI16,288,25,21,20 - ICON IDI_ICON_BLACK,IDC_ICON_DI17,270,25,21,20 - ICON IDI_ICON_BLACK,IDC_ICON_DI18,252,25,21,20 - ICON IDI_ICON_BLACK,IDC_ICON_DI19,234,25,21,20 - ICON IDI_ICON_BLACK,IDC_ICON_DI20,216,25,21,20 - ICON IDI_ICON_BLACK,IDC_ICON_DI21,198,25,21,20 - ICON IDI_ICON_BLACK,IDC_ICON_DI22,180,25,21,20 - ICON IDI_ICON_BLACK,IDC_ICON_DI23,162,25,21,20 - ICON IDI_ICON_BLACK,IDC_ICON_DI24,144,25,21,20 - ICON IDI_ICON_BLACK,IDC_ICON_DI25,126,25,21,20 - ICON IDI_ICON_BLACK,IDC_ICON_DI26,108,25,21,20 - ICON IDI_ICON_BLACK,IDC_ICON_DI27,90,25,21,20 - ICON IDI_ICON_BLACK,IDC_ICON_DI28,72,25,21,20 - ICON IDI_ICON_BLACK,IDC_ICON_DI29,54,25,21,20 - ICON IDI_ICON_BLACK,IDC_ICON_DI30,36,25,21,20 - ICON IDI_ICON_BLACK,IDC_ICON_DI31,18,25,21,20 - LTEXT " 31 16",IDC_STATIC,18,44,289,13 - GROUPBOX "Digital Input",IDC_STATIC,15,14,295,81 -END - -IDD_CARDID_DIALOG DIALOGEX 0, 0, 163, 87 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "Card ID" -FONT 8, "MS Shell Dlg", 400, 0, 0x1 -BEGIN - COMBOBOX IDC_COMBO_CARDID,73,17,71,126,CBS_DROPDOWN | WS_VSCROLL | WS_TABSTOP - LTEXT "Card Number",IDC_STATIC_01,19,18,46,12 - PUSHBUTTON "OK",IDOK,20,50,58,19 - PUSHBUTTON "CANCEL",IDCANCEL,84,50,58,19 -END - - -///////////////////////////////////////////////////////////////////////////// -// -// Version -// - -VS_VERSION_INFO VERSIONINFO - FILEVERSION 1,0,0,1 - PRODUCTVERSION 1,0,0,1 - FILEFLAGSMASK 0x3fL -#ifdef _DEBUG - FILEFLAGS 0x1L -#else - FILEFLAGS 0x0L -#endif - FILEOS 0x4L - FILETYPE 0x1L - FILESUBTYPE 0x0L -BEGIN - BLOCK "StringFileInfo" - BEGIN - BLOCK "040904e4" - BEGIN - VALUE "CompanyName", "TODO: " - VALUE "FileDescription", "TODO: " - VALUE "FileVersion", "1.0.0.1" - VALUE "InternalName", "Util7233.exe" - VALUE "LegalCopyright", "TODO: (c) . All rights reserved." - VALUE "OriginalFilename", "Util7233.exe" - VALUE "ProductName", "TODO: " - VALUE "ProductVersion", "1.0.0.1" - END - END - BLOCK "VarFileInfo" - BEGIN - VALUE "Translation", 0x409, 1252 - END -END - - -///////////////////////////////////////////////////////////////////////////// -// -// DESIGNINFO -// - -#ifdef APSTUDIO_INVOKED -GUIDELINES DESIGNINFO -BEGIN - IDD_ABOUTBOX, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 163 - TOPMARGIN, 7 - BOTTOMMARGIN, 55 - END - - IDD_UTIL7233_DIALOG, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 322 - TOPMARGIN, 7 - BOTTOMMARGIN, 104 - END - - IDD_CARDID_DIALOG, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 156 - TOPMARGIN, 7 - BOTTOMMARGIN, 80 - END -END -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog Info -// - -IDD_CARDID_DIALOG DLGINIT -BEGIN - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0030, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0031, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0032, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0033, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0034, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0035, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0036, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0037, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0038, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0039, - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3031, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3131, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3231, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3331, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3431, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3531, "\000" - 0 -END - - -///////////////////////////////////////////////////////////////////////////// -// -// String Table -// - -STRINGTABLE -BEGIN - IDS_ABOUTBOX "&About Util7233..." -END - -#endif // English (U.S.) resources -///////////////////////////////////////////////////////////////////////////// - - - -#ifndef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 3 resource. -// -#define _AFX_NO_SPLITTER_RESOURCES -#define _AFX_NO_OLE_RESOURCES -#define _AFX_NO_TRACKER_RESOURCES -#define _AFX_NO_PROPERTY_RESOURCES - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -LANGUAGE 9, 1 -#pragma code_page(1252) -#include "res\Util7233.rc2" // non-Microsoft Visual C++ edited resources -#include "afxres.rc" // Standard components -#endif - -///////////////////////////////////////////////////////////////////////////// -#endif // not APSTUDIO_INVOKED - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7233/Sdk7233/Util7233.sln b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7233/Sdk7233/Util7233.sln deleted file mode 100644 index 769472a..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7233/Sdk7233/Util7233.sln +++ /dev/null @@ -1,26 +0,0 @@ - -Microsoft Visual Studio Solution File, Format Version 10.00 -# Visual Studio 2008 -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "Util7233", "Util7233.vcproj", "{C7FD46C6-5640-46BB-9CDF-718DC4621FFD}" -EndProject -Global - GlobalSection(SolutionConfigurationPlatforms) = preSolution - Debug|Win32 = Debug|Win32 - Debug|x64 = Debug|x64 - Release|Win32 = Release|Win32 - Release|x64 = Release|x64 - EndGlobalSection - GlobalSection(ProjectConfigurationPlatforms) = postSolution - {C7FD46C6-5640-46BB-9CDF-718DC4621FFD}.Debug|Win32.ActiveCfg = Debug|Win32 - {C7FD46C6-5640-46BB-9CDF-718DC4621FFD}.Debug|Win32.Build.0 = Debug|Win32 - {C7FD46C6-5640-46BB-9CDF-718DC4621FFD}.Debug|x64.ActiveCfg = Debug|x64 - {C7FD46C6-5640-46BB-9CDF-718DC4621FFD}.Debug|x64.Build.0 = Debug|x64 - {C7FD46C6-5640-46BB-9CDF-718DC4621FFD}.Release|Win32.ActiveCfg = Release|Win32 - {C7FD46C6-5640-46BB-9CDF-718DC4621FFD}.Release|Win32.Build.0 = Release|Win32 - {C7FD46C6-5640-46BB-9CDF-718DC4621FFD}.Release|x64.ActiveCfg = Release|x64 - {C7FD46C6-5640-46BB-9CDF-718DC4621FFD}.Release|x64.Build.0 = Release|x64 - EndGlobalSection - GlobalSection(SolutionProperties) = preSolution - HideSolutionNode = FALSE - EndGlobalSection -EndGlobal diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7233/Sdk7233/Util7233.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7233/Sdk7233/Util7233.suo deleted file mode 100644 index 5b7af6a..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7233/Sdk7233/Util7233.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7233/Sdk7233/Util7233.vcproj b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7233/Sdk7233/Util7233.vcproj deleted file mode 100644 index 075fc7b..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7233/Sdk7233/Util7233.vcproj +++ /dev/null @@ -1,479 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7233/Sdk7233/Util7233Dlg.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7233/Sdk7233/Util7233Dlg.cpp deleted file mode 100644 index 2ab2da4..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7233/Sdk7233/Util7233Dlg.cpp +++ /dev/null @@ -1,617 +0,0 @@ - -// Util7233Dlg.cpp : implementation file -// - -#include "stdafx.h" -#include "Util7233.h" -#include "Util7233Dlg.h" - -#ifdef _DEBUG -#define new DEBUG_NEW -#endif - - -// CAboutDlg dialog used for App About - -class CAboutDlg : public CDialog -{ -public: - CAboutDlg(); - -// Dialog Data - enum { IDD = IDD_ABOUTBOX }; - - protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - -// Implementation -protected: - DECLARE_MESSAGE_MAP() -}; - -CAboutDlg::CAboutDlg() : CDialog(CAboutDlg::IDD) -{ -} - -void CAboutDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); -} - -BEGIN_MESSAGE_MAP(CAboutDlg, CDialog) -END_MESSAGE_MAP() - - -// CUtil7233Dlg dialog - - - - -CUtil7233Dlg::CUtil7233Dlg(I16 hCard, CWnd* pParent /*=NULL*/) - : CDialog(CUtil7233Dlg::IDD, pParent) -{ - m_hIcon = AfxGetApp()->LoadIcon(IDR_MAINFRAME); - - m_hCard = hCard; - m_nTimer = -1; - m_dwInData = 0x00000000; - -} - -void CUtil7233Dlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); - DDX_Control(pDX, IDC_ICON_DI00, m_Icon_DI00); - DDX_Control(pDX, IDC_ICON_DI01, m_Icon_DI01); - DDX_Control(pDX, IDC_ICON_DI02, m_Icon_DI02); - DDX_Control(pDX, IDC_ICON_DI03, m_Icon_DI03); - DDX_Control(pDX, IDC_ICON_DI04, m_Icon_DI04); - DDX_Control(pDX, IDC_ICON_DI05, m_Icon_DI05); - DDX_Control(pDX, IDC_ICON_DI06, m_Icon_DI06); - DDX_Control(pDX, IDC_ICON_DI07, m_Icon_DI07); - DDX_Control(pDX, IDC_ICON_DI08, m_Icon_DI08); - DDX_Control(pDX, IDC_ICON_DI09, m_Icon_DI09); - DDX_Control(pDX, IDC_ICON_DI10, m_Icon_DI10); - DDX_Control(pDX, IDC_ICON_DI11, m_Icon_DI11); - DDX_Control(pDX, IDC_ICON_DI12, m_Icon_DI12); - DDX_Control(pDX, IDC_ICON_DI13, m_Icon_DI13); - DDX_Control(pDX, IDC_ICON_DI14, m_Icon_DI14); - DDX_Control(pDX, IDC_ICON_DI15, m_Icon_DI15); - DDX_Control(pDX, IDC_ICON_DI16, m_Icon_DI16); - DDX_Control(pDX, IDC_ICON_DI17, m_Icon_DI17); - DDX_Control(pDX, IDC_ICON_DI18, m_Icon_DI18); - DDX_Control(pDX, IDC_ICON_DI19, m_Icon_DI19); - DDX_Control(pDX, IDC_ICON_DI20, m_Icon_DI20); - DDX_Control(pDX, IDC_ICON_DI21, m_Icon_DI21); - DDX_Control(pDX, IDC_ICON_DI22, m_Icon_DI22); - DDX_Control(pDX, IDC_ICON_DI23, m_Icon_DI23); - DDX_Control(pDX, IDC_ICON_DI24, m_Icon_DI24); - DDX_Control(pDX, IDC_ICON_DI25, m_Icon_DI25); - DDX_Control(pDX, IDC_ICON_DI26, m_Icon_DI26); - DDX_Control(pDX, IDC_ICON_DI27, m_Icon_DI27); - DDX_Control(pDX, IDC_ICON_DI28, m_Icon_DI28); - DDX_Control(pDX, IDC_ICON_DI29, m_Icon_DI29); - DDX_Control(pDX, IDC_ICON_DI30, m_Icon_DI30); - DDX_Control(pDX, IDC_ICON_DI31, m_Icon_DI31); -} - -BEGIN_MESSAGE_MAP(CUtil7233Dlg, CDialog) - ON_WM_SYSCOMMAND() - ON_WM_PAINT() - ON_WM_QUERYDRAGICON() - //}}AFX_MSG_MAP - ON_WM_DESTROY() - ON_WM_TIMER() -END_MESSAGE_MAP() - - -// CUtil7233Dlg message handlers - -BOOL CUtil7233Dlg::OnInitDialog() -{ - CDialog::OnInitDialog(); - - // Add "About..." menu item to system menu. - - // IDM_ABOUTBOX must be in the system command range. - ASSERT((IDM_ABOUTBOX & 0xFFF0) == IDM_ABOUTBOX); - ASSERT(IDM_ABOUTBOX < 0xF000); - - CMenu* pSysMenu = GetSystemMenu(FALSE); - if (pSysMenu != NULL) - { - BOOL bNameValid; - CString strAboutMenu; - bNameValid = strAboutMenu.LoadString(IDS_ABOUTBOX); - ASSERT(bNameValid); - if (!strAboutMenu.IsEmpty()) - { - pSysMenu->AppendMenu(MF_SEPARATOR); - pSysMenu->AppendMenu(MF_STRING, IDM_ABOUTBOX, strAboutMenu); - } - } - - // Set the icon for this dialog. The framework does this automatically - // when the application's main window is not a dialog - SetIcon(m_hIcon, TRUE); // Set big icon - SetIcon(m_hIcon, FALSE); // Set small icon - - // TODO: Add extra initialization here - - m_nTimer = SetTimer( 1, 250, NULL ); - - return TRUE; // return TRUE unless you set the focus to a control -} - -void CUtil7233Dlg::OnSysCommand(UINT nID, LPARAM lParam) -{ - if ((nID & 0xFFF0) == IDM_ABOUTBOX) - { - CAboutDlg dlgAbout; - dlgAbout.DoModal(); - } - else - { - CDialog::OnSysCommand(nID, lParam); - } -} - -// If you add a minimize button to your dialog, you will need the code below -// to draw the icon. For MFC applications using the document/view model, -// this is automatically done for you by the framework. - -void CUtil7233Dlg::OnPaint() -{ - if (IsIconic()) - { - CPaintDC dc(this); // device context for painting - - SendMessage(WM_ICONERASEBKGND, reinterpret_cast(dc.GetSafeHdc()), 0); - - // Center icon in client rectangle - int cxIcon = GetSystemMetrics(SM_CXICON); - int cyIcon = GetSystemMetrics(SM_CYICON); - CRect rect; - GetClientRect(&rect); - int x = (rect.Width() - cxIcon + 1) / 2; - int y = (rect.Height() - cyIcon + 1) / 2; - - // Draw the icon - dc.DrawIcon(x, y, m_hIcon); - } - else - { - CDialog::OnPaint(); - } -} - -// The system calls this function to obtain the cursor to display while the user drags -// the minimized window. -HCURSOR CUtil7233Dlg::OnQueryDragIcon() -{ - return static_cast(m_hIcon); -} - - -void CUtil7233Dlg::OnDestroy() -{ - CDialog::OnDestroy(); - - // TODO: Add your message handler code here - if( m_nTimer != -1 ) - KillTimer( m_nTimer ); -} - -void CUtil7233Dlg::OnTimer(UINT_PTR nIDEvent) -{ - // TODO: Add your message handler code here and/or call default - U32 dwPortData, dwChangeMask; - short err; - - err = DI_ReadPort(m_hCard, PORT_DI_LOW, &dwPortData); - - dwChangeMask = dwPortData ^ m_dwInData; - - if( dwChangeMask != 0x00 ) // Input had been changed - { - m_dwInData = dwPortData; // update the DI data - - if( (dwChangeMask & 0x01) == 0x01 ) // if the target bit is changed - { - if( (dwPortData & 0x01) == 0x01 ) - { - m_Icon_DI00.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_DI00.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - - if( (dwChangeMask & 0x02) == 0x02 ) // if the target bit is changed - { - if( (dwPortData & 0x02) == 0x02 ) - { - m_Icon_DI01.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_DI01.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - if( (dwChangeMask & 0x04) == 0x04 ) // if the target bit is changed - { - if( (dwPortData & 0x04) == 0x04 ) - { - m_Icon_DI02.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_DI02.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - - if( (dwChangeMask & 0x08) == 0x08 ) // if the target bit is changed - { - if( (dwPortData & 0x08) == 0x08 ) - { - m_Icon_DI03.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_DI03.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - if( (dwChangeMask & 0x10) == 0x10 ) // if the target bit is changed - { - if( (dwPortData & 0x10) == 0x10 ) - { - m_Icon_DI04.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_DI04.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - if( (dwChangeMask & 0x20) == 0x20 ) // if the target bit is changed - { - if( (dwPortData & 0x20) == 0x20 ) - { - m_Icon_DI05.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_DI05.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - - if( (dwChangeMask & 0x40) == 0x40 ) // if the target bit is changed - { - if( (dwPortData & 0x40) == 0x40 ) - { - m_Icon_DI06.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_DI06.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - - if( (dwChangeMask & 0x80) == 0x80 ) // if the target bit is changed - { - if( (dwPortData & 0x80) == 0x80 ) - { - m_Icon_DI07.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_DI07.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - - if( (dwChangeMask & 0x100) == 0x100 ) // if the target bit is changed - { - if( (dwPortData & 0x100) == 0x100 ) - { - m_Icon_DI08.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_DI08.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - if( (dwChangeMask & 0x200) == 0x200 ) // if the target bit is changed - { - if( (dwPortData & 0x200) == 0x200 ) - { - m_Icon_DI09.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_DI09.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - if( (dwChangeMask & 0x400) == 0x400 ) // if the target bit is changed - { - if( (dwPortData & 0x400) == 0x400 ) - { - m_Icon_DI10.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_DI10.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - if( (dwChangeMask & 0x800) == 0x800 ) // if the target bit is changed - { - if( (dwPortData & 0x800) == 0x800 ) - { - m_Icon_DI11.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_DI11.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - if( (dwChangeMask & 0x1000) == 0x1000 ) // if the target bit is changed - { - if( (dwPortData & 0x1000) == 0x1000 ) - { - m_Icon_DI12.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_DI12.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - if( (dwChangeMask & 0x2000) == 0x2000 ) // if the target bit is changed - { - if( (dwPortData & 0x2000) == 0x2000 ) - { - m_Icon_DI13.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_DI13.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - if( (dwChangeMask & 0x4000) == 0x4000 ) // if the target bit is changed - { - if( (dwPortData & 0x4000) == 0x4000 ) - { - m_Icon_DI14.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_DI14.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - if( (dwChangeMask & 0x8000) == 0x8000 ) // if the target bit is changed - { - if( (dwPortData & 0x8000) == 0x8000 ) - { - m_Icon_DI15.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_DI15.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - - if( (dwChangeMask & 0x10000) == 0x10000 ) // if the target bit is changed - { - if( (dwPortData & 0x10000) == 0x10000 ) - { - m_Icon_DI16.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_DI16.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - - if( (dwChangeMask & 0x20000) == 0x20000 ) // if the target bit is changed - { - if( (dwPortData & 0x20000) == 0x20000 ) - { - m_Icon_DI17.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_DI17.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - if( (dwChangeMask & 0x40000) == 0x40000 ) // if the target bit is changed - { - if( (dwPortData & 0x40000) == 0x40000 ) - { - m_Icon_DI18.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_DI18.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - - if( (dwChangeMask & 0x80000) == 0x80000 ) // if the target bit is changed - { - if( (dwPortData & 0x80000) == 0x80000 ) - { - m_Icon_DI19.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_DI19.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - if( (dwChangeMask & 0x100000) == 0x100000 ) // if the target bit is changed - { - if( (dwPortData & 0x100000) == 0x100000 ) - { - m_Icon_DI20.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_DI20.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - if( (dwChangeMask & 0x200000) == 0x200000 ) // if the target bit is changed - { - if( (dwPortData & 0x200000) == 0x200000 ) - { - m_Icon_DI21.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_DI21.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - - if( (dwChangeMask & 0x400000) == 0x400000 ) // if the target bit is changed - { - if( (dwPortData & 0x400000) == 0x400000 ) - { - m_Icon_DI22.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_DI22.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - - if( (dwChangeMask & 0x800000) == 0x800000 ) // if the target bit is changed - { - if( (dwPortData & 0x800000) == 0x800000 ) - { - m_Icon_DI23.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_DI23.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - - if( (dwChangeMask & 0x1000000) == 0x1000000 ) // if the target bit is changed - { - if( (dwPortData & 0x1000000) == 0x1000000 ) - { - m_Icon_DI24.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_DI24.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - if( (dwChangeMask & 0x2000000) == 0x2000000 ) // if the target bit is changed - { - if( (dwPortData & 0x2000000) == 0x2000000 ) - { - m_Icon_DI25.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_DI25.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - if( (dwChangeMask & 0x4000000) == 0x4000000 ) // if the target bit is changed - { - if( (dwPortData & 0x4000000) == 0x4000000 ) - { - m_Icon_DI26.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_DI26.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - if( (dwChangeMask & 0x8000000) == 0x8000000 ) // if the target bit is changed - { - if( (dwPortData & 0x8000000) == 0x8000000 ) - { - m_Icon_DI27.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_DI27.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - if( (dwChangeMask & 0x10000000) == 0x10000000 ) // if the target bit is changed - { - if( (dwPortData & 0x10000000) == 0x10000000 ) - { - m_Icon_DI28.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_DI28.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - if( (dwChangeMask & 0x20000000) == 0x20000000 ) // if the target bit is changed - { - if( (dwPortData & 0x20000000) == 0x20000000 ) - { - m_Icon_DI29.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_DI29.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - if( (dwChangeMask & 0x40000000) == 0x40000000 ) // if the target bit is changed - { - if( (dwPortData & 0x40000000) == 0x40000000 ) - { - m_Icon_DI30.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_DI30.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - if( (dwChangeMask & 0x80000000) == 0x80000000 ) // if the target bit is changed - { - if( (dwPortData & 0x80000000) == 0x80000000 ) - { - m_Icon_DI31.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_DI31.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - } - - CDialog::OnTimer(nIDEvent); -} diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7233/Sdk7233/Util7233Dlg.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7233/Sdk7233/Util7233Dlg.h deleted file mode 100644 index 9d93487..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7233/Sdk7233/Util7233Dlg.h +++ /dev/null @@ -1,72 +0,0 @@ - -// Util7233Dlg.h : header file -// - -#include "Dask64.h" - -#pragma once - - -// CUtil7233Dlg dialog -class CUtil7233Dlg : public CDialog -{ -// Construction -public: - CUtil7233Dlg(I16 hCard, CWnd* pParent = NULL); // standard constructor - -// Dialog Data - enum { IDD = IDD_UTIL7233_DIALOG }; - - protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - - -// Implementation -protected: - HICON m_hIcon; - UINT_PTR m_nTimer; - I16 m_hCard; - U32 m_dwInData; - - // Generated message map functions - virtual BOOL OnInitDialog(); - afx_msg void OnSysCommand(UINT nID, LPARAM lParam); - afx_msg void OnPaint(); - afx_msg HCURSOR OnQueryDragIcon(); - DECLARE_MESSAGE_MAP() -public: - CStatic m_Icon_DI00; - CStatic m_Icon_DI01; - CStatic m_Icon_DI02; - CStatic m_Icon_DI03; - CStatic m_Icon_DI04; - CStatic m_Icon_DI05; - CStatic m_Icon_DI06; - CStatic m_Icon_DI07; - CStatic m_Icon_DI08; - CStatic m_Icon_DI09; - CStatic m_Icon_DI10; - CStatic m_Icon_DI11; - CStatic m_Icon_DI12; - CStatic m_Icon_DI13; - CStatic m_Icon_DI14; - CStatic m_Icon_DI15; - CStatic m_Icon_DI16; - CStatic m_Icon_DI17; - CStatic m_Icon_DI18; - CStatic m_Icon_DI19; - CStatic m_Icon_DI20; - CStatic m_Icon_DI21; - CStatic m_Icon_DI22; - CStatic m_Icon_DI23; - CStatic m_Icon_DI24; - CStatic m_Icon_DI25; - CStatic m_Icon_DI26; - CStatic m_Icon_DI27; - CStatic m_Icon_DI28; - CStatic m_Icon_DI29; - CStatic m_Icon_DI30; - CStatic m_Icon_DI31; - afx_msg void OnDestroy(); - afx_msg void OnTimer(UINT_PTR nIDEvent); -}; diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7233/Sdk7233/res/Util7233.ico b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7233/Sdk7233/res/Util7233.ico deleted file mode 100644 index d56fbcd..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7233/Sdk7233/res/Util7233.ico and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7233/Sdk7233/res/Util7233.rc2 b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7233/Sdk7233/res/Util7233.rc2 deleted file mode 100644 index 1a1be94..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7233/Sdk7233/res/Util7233.rc2 +++ /dev/null @@ -1,13 +0,0 @@ -// -// Util7233.RC2 - resources Microsoft Visual C++ does not edit directly -// - -#ifdef APSTUDIO_INVOKED -#error this file is not editable by Microsoft Visual C++ -#endif //APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// Add manually edited resources here... - -///////////////////////////////////////////////////////////////////////////// diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7233/Sdk7233/res/black.ico b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7233/Sdk7233/res/black.ico deleted file mode 100644 index b5c375f..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7233/Sdk7233/res/black.ico and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7233/Sdk7233/res/green.ico b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7233/Sdk7233/res/green.ico deleted file mode 100644 index d9a9fd3..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7233/Sdk7233/res/green.ico and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7233/Sdk7233/res/red.ico b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7233/Sdk7233/res/red.ico deleted file mode 100644 index 7644596..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7233/Sdk7233/res/red.ico and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7233/Sdk7233/resource.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7233/Sdk7233/resource.h deleted file mode 100644 index 0847a85..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7233/Sdk7233/resource.h +++ /dev/null @@ -1,58 +0,0 @@ -//{{NO_DEPENDENCIES}} -// Microsoft Visual C++ generated include file. -// Used by Util7233.rc -// -#define IDM_ABOUTBOX 0x0010 -#define IDD_ABOUTBOX 100 -#define IDS_ABOUTBOX 101 -#define IDD_UTIL7233_DIALOG 102 -#define IDR_MAINFRAME 128 -#define IDI_ICON_BLACK 129 -#define IDI_ICON_GREEN 130 -#define IDI_ICON_RED 131 -#define IDD_CARDID_DIALOG 132 -#define IDC_COMBO_CARDID 1000 -#define IDC_ICON_DI00 1005 -#define IDC_ICON_DI01 1006 -#define IDC_ICON_DI02 1007 -#define IDC_ICON_DI03 1008 -#define IDC_ICON_DI04 1009 -#define IDC_ICON_DI05 1010 -#define IDC_ICON_DI06 1011 -#define IDC_ICON_DI07 1012 -#define IDC_ICON_DI08 1013 -#define IDC_ICON_DI09 1014 -#define IDC_STATIC_01 1014 -#define IDC_ICON_DI10 1015 -#define IDC_ICON_DI11 1016 -#define IDC_ICON_DI12 1017 -#define IDC_ICON_DI13 1018 -#define IDC_ICON_DI14 1019 -#define IDC_ICON_DI15 1020 -#define IDC_ICON_DI16 1021 -#define IDC_ICON_DI17 1022 -#define IDC_ICON_DI18 1023 -#define IDC_ICON_DI19 1024 -#define IDC_ICON_DI20 1025 -#define IDC_ICON_DI21 1026 -#define IDC_ICON_DI22 1027 -#define IDC_ICON_DI23 1028 -#define IDC_ICON_DI24 1029 -#define IDC_ICON_DI25 1030 -#define IDC_ICON_DI26 1031 -#define IDC_ICON_DI27 1032 -#define IDC_ICON_DI28 1033 -#define IDC_ICON_DI29 1034 -#define IDC_ICON_DI30 1035 -#define IDC_ICON_DI31 1036 - -// Next default values for new objects -// -#ifdef APSTUDIO_INVOKED -#ifndef APSTUDIO_READONLY_SYMBOLS -#define _APS_NEXT_RESOURCE_VALUE 134 -#define _APS_NEXT_COMMAND_VALUE 32771 -#define _APS_NEXT_CONTROL_VALUE 1001 -#define _APS_NEXT_SYMED_VALUE 101 -#endif -#endif diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7233/Sdk7233/stdafx.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7233/Sdk7233/stdafx.cpp deleted file mode 100644 index 215aa22..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7233/Sdk7233/stdafx.cpp +++ /dev/null @@ -1,8 +0,0 @@ - -// stdafx.cpp : source file that includes just the standard includes -// Util7233.pch will be the pre-compiled header -// stdafx.obj will contain the pre-compiled type information - -#include "stdafx.h" - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7233/Sdk7233/stdafx.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7233/Sdk7233/stdafx.h deleted file mode 100644 index 12123e2..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7233/Sdk7233/stdafx.h +++ /dev/null @@ -1,60 +0,0 @@ - -// stdafx.h : include file for standard system include files, -// or project specific include files that are used frequently, -// but are changed infrequently - -#pragma once - -#ifndef _SECURE_ATL -#define _SECURE_ATL 1 -#endif - -#ifndef VC_EXTRALEAN -#define VC_EXTRALEAN // Exclude rarely-used stuff from Windows headers -#endif - -#include "targetver.h" - -#define _ATL_CSTRING_EXPLICIT_CONSTRUCTORS // some CString constructors will be explicit - -// turns off MFC's hiding of some common and often safely ignored warning messages -#define _AFX_ALL_WARNINGS - -#include // MFC core and standard components -#include // MFC extensions - - -#include // MFC Automation classes - - - -#ifndef _AFX_NO_OLE_SUPPORT -#include // MFC support for Internet Explorer 4 Common Controls -#endif -#ifndef _AFX_NO_AFXCMN_SUPPORT -#include // MFC support for Windows Common Controls -#endif // _AFX_NO_AFXCMN_SUPPORT - -#include // MFC support for ribbons and control bars - - - - - - - - - -#ifdef _UNICODE -#if defined _M_IX86 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='x86' publicKeyToken='6595b64144ccf1df' language='*'\"") -#elif defined _M_IA64 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='ia64' publicKeyToken='6595b64144ccf1df' language='*'\"") -#elif defined _M_X64 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='amd64' publicKeyToken='6595b64144ccf1df' language='*'\"") -#else -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='*' publicKeyToken='6595b64144ccf1df' language='*'\"") -#endif -#endif - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7233/Sdk7233/targetver.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7233/Sdk7233/targetver.h deleted file mode 100644 index 11730d5..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7233/Sdk7233/targetver.h +++ /dev/null @@ -1,26 +0,0 @@ - -#pragma once - -// The following macros define the minimum required platform. The minimum required platform -// is the earliest version of Windows, Internet Explorer etc. that has the necessary features to run -// your application. The macros work by enabling all features available on platform versions up to and -// including the version specified. - -// Modify the following defines if you have to target a platform prior to the ones specified below. -// Refer to MSDN for the latest info on corresponding values for different platforms. -#ifndef WINVER // Specifies that the minimum required platform is Windows Vista. -#define WINVER 0x0600 // Change this to the appropriate value to target other versions of Windows. -#endif - -#ifndef _WIN32_WINNT // Specifies that the minimum required platform is Windows Vista. -#define _WIN32_WINNT 0x0600 // Change this to the appropriate value to target other versions of Windows. -#endif - -#ifndef _WIN32_WINDOWS // Specifies that the minimum required platform is Windows 98. -#define _WIN32_WINDOWS 0x0410 // Change this to the appropriate value to target Windows Me or later. -#endif - -#ifndef _WIN32_IE // Specifies that the minimum required platform is Internet Explorer 7.0. -#define _WIN32_IE 0x0700 // Change this to the appropriate value to target other versions of IE. -#endif - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7234/Sdk7234/CardIDDlg.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7234/Sdk7234/CardIDDlg.cpp deleted file mode 100644 index b3a8531..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7234/Sdk7234/CardIDDlg.cpp +++ /dev/null @@ -1,67 +0,0 @@ -// CardIDDlg.cpp : implementation file -// - -#include "stdafx.h" -#include "Util7234.h" -#include "CardIDDlg.h" - - -// CCardIDDlg dialog - -IMPLEMENT_DYNAMIC(CCardIDDlg, CDialog) - -CCardIDDlg::CCardIDDlg(int nCardIdx, CWnd* pParent /*=NULL*/) - : CDialog(CCardIDDlg::IDD, pParent) -{ - m_nCardIdx = nCardIdx; -} - -CCardIDDlg::~CCardIDDlg() -{ -} - -void CCardIDDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); - DDX_Control(pDX, IDC_COMBO_CARDID, m_cbCardID); -} - - -BEGIN_MESSAGE_MAP(CCardIDDlg, CDialog) -// ON_CBN_SELCHANGE(IDC_COMBO_CARDID, &CCardIDDlg::OnCbnSelchangeComboCardid) -ON_BN_CLICKED(IDOK, &CCardIDDlg::OnBnClickedOk) -//ON_WM_CTLCOLOR() -END_MESSAGE_MAP() - - -// CCardIDDlg message handlers - - -void CCardIDDlg::OnBnClickedOk() -{ - // TODO: Add your control notification handler code here - -// UpdateData(TRUE); - m_nCardIdx = m_cbCardID.GetCurSel(); - - OnOK(); -} - -BOOL CCardIDDlg::OnInitDialog() -{ - CDialog::OnInitDialog(); - - // TODO: Add extra initialization here - m_cbCardID.SetCurSel( m_nCardIdx ); - - return TRUE; // return TRUE unless you set the focus to a control - // EXCEPTION: OCX Property Pages should return FALSE -} - -// the function to get the selected CardID -int CCardIDDlg::GetCardID(void) -{ - return m_nCardIdx; -} - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7234/Sdk7234/CardIDDlg.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7234/Sdk7234/CardIDDlg.h deleted file mode 100644 index 54628ea..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7234/Sdk7234/CardIDDlg.h +++ /dev/null @@ -1,33 +0,0 @@ -#pragma once -#include "afxwin.h" - - -// CCardIDDlg dialog - -class CCardIDDlg : public CDialog -{ - DECLARE_DYNAMIC(CCardIDDlg) - -public: - CCardIDDlg(int nCardIdx, CWnd* pParent = NULL); // standard constructor - virtual ~CCardIDDlg(); - -// Dialog Data - enum { IDD = IDD_CARDID_DIALOG }; - -protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - - DECLARE_MESSAGE_MAP() -public: -// afx_msg void OnCbnSelchangeComboCardid(); - afx_msg void OnBnClickedOk(); - // the setting of CardID ComboBox - int m_nCardIdx; - virtual BOOL OnInitDialog(); - // the control of CardID ComboBox - CComboBox m_cbCardID; - // the function to get the selected CardID - int GetCardID(void); -// afx_msg HBRUSH OnCtlColor(CDC* pDC, CWnd* pWnd, UINT nCtlColor); -}; diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7234/Sdk7234/ReadMe.txt b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7234/Sdk7234/ReadMe.txt deleted file mode 100644 index 6ec05d6..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7234/Sdk7234/ReadMe.txt +++ /dev/null @@ -1,93 +0,0 @@ -================================================================================ - MICROSOFT FOUNDATION CLASS LIBRARY : Util7234 Project Overview -=============================================================================== - -The application wizard has created this Util7234 application for -you. This application not only demonstrates the basics of using the Microsoft -Foundation Classes but is also a starting point for writing your application. - -This file contains a summary of what you will find in each of the files that -make up your Util7234 application. - -Util7234.vcproj - This is the main project file for VC++ projects generated using an application wizard. - It contains information about the version of Visual C++ that generated the file, and - information about the platforms, configurations, and project features selected with the - application wizard. - -Util7234.h - This is the main header file for the application. It includes other - project specific headers (including Resource.h) and declares the - CUtil7234App application class. - -Util7234.cpp - This is the main application source file that contains the application - class CUtil7234App. - -Util7234.rc - This is a listing of all of the Microsoft Windows resources that the - program uses. It includes the icons, bitmaps, and cursors that are stored - in the RES subdirectory. This file can be directly edited in Microsoft - Visual C++. Your project resources are in 1033. - -res\Util7234.ico - This is an icon file, which is used as the application's icon. This - icon is included by the main resource file Util7234.rc. - -res\Util7234.rc2 - This file contains resources that are not edited by Microsoft - Visual C++. You should place all resources not editable by - the resource editor in this file. - - -///////////////////////////////////////////////////////////////////////////// - -The application wizard creates one dialog class: - -Util7234Dlg.h, Util7234Dlg.cpp - the dialog - These files contain your CUtil7234Dlg class. This class defines - the behavior of your application's main dialog. The dialog's template is - in Util7234.rc, which can be edited in Microsoft Visual C++. - - -///////////////////////////////////////////////////////////////////////////// - -Other Features: - -ActiveX Controls - The application includes support to use ActiveX controls. - -///////////////////////////////////////////////////////////////////////////// - -Other standard files: - -StdAfx.h, StdAfx.cpp - These files are used to build a precompiled header (PCH) file - named Util7234.pch and a precompiled types file named StdAfx.obj. - -Resource.h - This is the standard header file, which defines new resource IDs. - Microsoft Visual C++ reads and updates this file. - -Util7234.manifest - Application manifest files are used by Windows XP to describe an applications - dependency on specific versions of Side-by-Side assemblies. The loader uses this - information to load the appropriate assembly from the assembly cache or private - from the application. The Application manifest maybe included for redistribution - as an external .manifest file that is installed in the same folder as the application - executable or it may be included in the executable in the form of a resource. -///////////////////////////////////////////////////////////////////////////// - -Other notes: - -The application wizard uses "TODO:" to indicate parts of the source code you -should add to or customize. - -If your application uses MFC in a shared DLL, you will need -to redistribute the MFC DLLs. If your application is in a language -other than the operating system's locale, you will also have to -redistribute the corresponding localized resources MFC90XXX.DLL. -For more information on both of these topics, please see the section on -redistributing Visual C++ applications in MSDN documentation. - -///////////////////////////////////////////////////////////////////////////// diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7234/Sdk7234/Util7234.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7234/Sdk7234/Util7234.cpp deleted file mode 100644 index 470b6d1..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7234/Sdk7234/Util7234.cpp +++ /dev/null @@ -1,110 +0,0 @@ - -// Util7234.cpp : Defines the class behaviors for the application. -// - -#include "stdafx.h" -#include "Util7234.h" -#include "Util7234Dlg.h" -#include "CardIDDlg.h" - -#ifdef _DEBUG -#define new DEBUG_NEW -#endif - - -// CUtil7234App - -BEGIN_MESSAGE_MAP(CUtil7234App, CWinAppEx) - ON_COMMAND(ID_HELP, &CWinApp::OnHelp) -END_MESSAGE_MAP() - - -// CUtil7234App construction - -CUtil7234App::CUtil7234App() -{ - // TODO: add construction code here, - // Place all significant initialization in InitInstance -} - - -// The one and only CUtil7234App object - -CUtil7234App theApp; - - -// CUtil7234App initialization - -BOOL CUtil7234App::InitInstance() -{ - int nCardID = 0; - I16 hCard; - CString strTemp; - INT_PTR nResponse; - - // InitCommonControlsEx() is required on Windows XP if an application - // manifest specifies use of ComCtl32.dll version 6 or later to enable - // visual styles. Otherwise, any window creation will fail. - INITCOMMONCONTROLSEX InitCtrls; - InitCtrls.dwSize = sizeof(InitCtrls); - // Set this to include all the common control classes you want to use - // in your application. - InitCtrls.dwICC = ICC_WIN95_CLASSES; - InitCommonControlsEx(&InitCtrls); - - CWinAppEx::InitInstance(); - - AfxEnableControlContainer(); - - // Standard initialization - // If you are not using these features and wish to reduce the size - // of your final executable, you should remove from the following - // the specific initialization routines you do not need - // Change the registry key under which our settings are stored - // TODO: You should modify this string to be something appropriate - // such as the name of your company or organization - SetRegistryKey(_T("Local AppWizard-Generated Applications")); - - CCardIDDlg CardDlg( nCardID ); - - nResponse = CardDlg.DoModal(); - if (nResponse == IDOK) - { - nCardID = CardDlg.GetCardID(); - - if ((hCard=Register_Card(PCI_7234, nCardID)) < 0) - { - strTemp.Format( TEXT("Register_Card Error = %d"), hCard); - AfxMessageBox( strTemp ); - } - else - { - CUtil7234Dlg dlg(hCard); - m_pMainWnd = &dlg; - nResponse = dlg.DoModal(); - if (nResponse == IDOK) - { - // TODO: Place code here to handle when the dialog is - // dismissed with OK - } - else if (nResponse == IDCANCEL) - { - // TODO: Place code here to handle when the dialog is - // dismissed with Cancel - } - - if (hCard >= 0) Release_Card(hCard); - } - - } - else if (nResponse == IDCANCEL) - { - // TODO: Place code here to handle when the dialog is - // dismissed with Cancel - } - - - // Since the dialog has been closed, return FALSE so that we exit the - // application, rather than start the application's message pump. - return FALSE; -} diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7234/Sdk7234/Util7234.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7234/Sdk7234/Util7234.h deleted file mode 100644 index 48165c8..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7234/Sdk7234/Util7234.h +++ /dev/null @@ -1,32 +0,0 @@ - -// Util7234.h : main header file for the PROJECT_NAME application -// - -#pragma once - -#ifndef __AFXWIN_H__ - #error "include 'stdafx.h' before including this file for PCH" -#endif - -#include "resource.h" // main symbols - - -// CUtil7234App: -// See Util7234.cpp for the implementation of this class -// - -class CUtil7234App : public CWinAppEx -{ -public: - CUtil7234App(); - -// Overrides - public: - virtual BOOL InitInstance(); - -// Implementation - - DECLARE_MESSAGE_MAP() -}; - -extern CUtil7234App theApp; \ No newline at end of file diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7234/Sdk7234/Util7234.rc b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7234/Sdk7234/Util7234.rc deleted file mode 100644 index bbe495a..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7234/Sdk7234/Util7234.rc +++ /dev/null @@ -1,309 +0,0 @@ -// Microsoft Visual C++ generated resource script. -// -#include "resource.h" - -#define APSTUDIO_READONLY_SYMBOLS -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 2 resource. -// -#ifndef APSTUDIO_INVOKED -#include "targetver.h" -#endif -#include "afxres.h" - -///////////////////////////////////////////////////////////////////////////// -#undef APSTUDIO_READONLY_SYMBOLS - -///////////////////////////////////////////////////////////////////////////// -// Chinese (Taiwan) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_CHT) -#ifdef _WIN32 -LANGUAGE LANG_CHINESE, SUBLANG_CHINESE_TRADITIONAL -#pragma code_page(950) -#endif //_WIN32 - -#ifdef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// TEXTINCLUDE -// - -1 TEXTINCLUDE -BEGIN - "resource.h\0" -END - -2 TEXTINCLUDE -BEGIN - "#ifndef APSTUDIO_INVOKED\r\n" - "#include ""targetver.h""\r\n" - "#endif\r\n" - "#include ""afxres.h""\r\n" - "\0" -END - -3 TEXTINCLUDE -BEGIN - "#define _AFX_NO_SPLITTER_RESOURCES\r\n" - "#define _AFX_NO_OLE_RESOURCES\r\n" - "#define _AFX_NO_TRACKER_RESOURCES\r\n" - "#define _AFX_NO_PROPERTY_RESOURCES\r\n" - "\r\n" - "#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)\r\n" - "LANGUAGE 9, 1\r\n" - "#pragma code_page(1252)\r\n" - "#include ""res\\Util7234.rc2"" // non-Microsoft Visual C++ edited resources\r\n" - "#include ""afxres.rc"" // Standard components\r\n" - "#endif\r\n" - "\0" -END - -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// Icon -// - -// Icon with lowest ID value placed first to ensure application icon -// remains consistent on all systems. -IDR_MAINFRAME ICON "res\\Util7234.ico" -#endif // Chinese (Taiwan) resources -///////////////////////////////////////////////////////////////////////////// - - -///////////////////////////////////////////////////////////////////////////// -// English (U.S.) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -#ifdef _WIN32 -LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US -#pragma code_page(1252) -#endif //_WIN32 - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog -// - -IDD_ABOUTBOX DIALOGEX 0, 0, 170, 62 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "About Util7234" -FONT 8, "MS Shell Dlg", 0, 0, 0x1 -BEGIN - ICON IDR_MAINFRAME,IDC_STATIC,14,14,21,20 - LTEXT "Util7234, Version 1.0",IDC_STATIC,42,14,114,8,SS_NOPREFIX - LTEXT "Copyright (C) 2010",IDC_STATIC,42,26,114,8 - DEFPUSHBUTTON "OK",IDOK,113,41,50,14,WS_GROUP -END - -IDD_UTIL7234_DIALOG DIALOGEX 0, 0, 314, 92 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU -EXSTYLE WS_EX_APPWINDOW -CAPTION "PCI-7234" -FONT 8, "MS Shell Dlg", 0, 0, 0x1 -BEGIN - CONTROL "",IDC_CHECK_DO00,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,287,22,12,12 - CONTROL "",IDC_CHECK_DO01,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,269,22,12,12 - CONTROL "",IDC_CHECK_DO02,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,251,22,12,12 - CONTROL "",IDC_CHECK_DO03,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,233,22,12,12 - CONTROL "",IDC_CHECK_DO04,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,215,22,12,12 - CONTROL "",IDC_CHECK_DO05,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,197,22,12,12 - CONTROL "",IDC_CHECK_DO06,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,179,22,12,12 - CONTROL "",IDC_CHECK_DO07,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,161,22,12,12 - CONTROL "",IDC_CHECK_DO08,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,143,22,12,12 - CONTROL "",IDC_CHECK_DO09,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,125,22,12,12 - CONTROL "",IDC_CHECK_DO10,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,107,22,12,12 - CONTROL "",IDC_CHECK_DO11,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,89,22,12,12 - CONTROL "",IDC_CHECK_DO12,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,71,22,12,12 - CONTROL "",IDC_CHECK_DO13,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,53,22,12,12 - CONTROL "",IDC_CHECK_DO14,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,35,22,12,12 - CONTROL "",IDC_CHECK_DO15,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,17,22,12,12 - LTEXT " 15 0",IDC_STATIC,11,34,289,13 - CONTROL "",IDC_CHECK_DO16,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,287,51,12,12 - CONTROL "",IDC_CHECK_DO17,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,269,51,12,12 - CONTROL "",IDC_CHECK_DO18,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,251,51,12,12 - CONTROL "",IDC_CHECK_DO19,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,233,51,12,12 - CONTROL "",IDC_CHECK_DO20,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,215,51,12,12 - CONTROL "",IDC_CHECK_DO21,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,197,51,12,12 - CONTROL "",IDC_CHECK_DO22,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,179,51,12,12 - CONTROL "",IDC_CHECK_DO23,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,161,51,12,12 - CONTROL "",IDC_CHECK_DO24,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,143,51,12,12 - CONTROL "",IDC_CHECK_DO25,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,125,51,12,12 - CONTROL "",IDC_CHECK_DO26,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,107,51,12,12 - CONTROL "",IDC_CHECK_DO27,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,89,51,12,12 - CONTROL "",IDC_CHECK_DO28,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,71,51,12,12 - CONTROL "",IDC_CHECK_DO29,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,53,51,12,12 - CONTROL "",IDC_CHECK_DO30,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,35,51,12,12 - CONTROL "",IDC_CHECK_DO31,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,17,51,12,12 - LTEXT " 31 16",IDC_STATIC,11,63,289,13 - GROUPBOX "Digital Output",IDC_STATIC,7,7,297,74 -END - -IDD_CARDID_DIALOG DIALOGEX 0, 0, 165, 88 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "Card ID" -FONT 8, "MS Shell Dlg", 400, 0, 0x1 -BEGIN - COMBOBOX IDC_COMBO_CARDID,75,17,71,126,CBS_DROPDOWN | WS_VSCROLL | WS_TABSTOP - LTEXT "Card Number",IDC_STATIC_01,21,18,46,12 - PUSHBUTTON "OK",IDOK,22,50,58,19 - PUSHBUTTON "CANCEL",IDCANCEL,86,50,58,19 -END - - -///////////////////////////////////////////////////////////////////////////// -// -// Version -// - -VS_VERSION_INFO VERSIONINFO - FILEVERSION 1,0,0,1 - PRODUCTVERSION 1,0,0,1 - FILEFLAGSMASK 0x3fL -#ifdef _DEBUG - FILEFLAGS 0x1L -#else - FILEFLAGS 0x0L -#endif - FILEOS 0x4L - FILETYPE 0x1L - FILESUBTYPE 0x0L -BEGIN - BLOCK "StringFileInfo" - BEGIN - BLOCK "040904e4" - BEGIN - VALUE "CompanyName", "TODO: " - VALUE "FileDescription", "TODO: " - VALUE "FileVersion", "1.0.0.1" - VALUE "InternalName", "Util7234.exe" - VALUE "LegalCopyright", "TODO: (c) . All rights reserved." - VALUE "OriginalFilename", "Util7234.exe" - VALUE "ProductName", "TODO: " - VALUE "ProductVersion", "1.0.0.1" - END - END - BLOCK "VarFileInfo" - BEGIN - VALUE "Translation", 0x409, 1252 - END -END - - -///////////////////////////////////////////////////////////////////////////// -// -// DESIGNINFO -// - -#ifdef APSTUDIO_INVOKED -GUIDELINES DESIGNINFO -BEGIN - IDD_ABOUTBOX, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 163 - TOPMARGIN, 7 - BOTTOMMARGIN, 55 - END - - IDD_UTIL7234_DIALOG, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 307 - TOPMARGIN, 7 - BOTTOMMARGIN, 85 - END - - IDD_CARDID_DIALOG, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 158 - TOPMARGIN, 7 - BOTTOMMARGIN, 81 - END -END -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog Info -// - -IDD_CARDID_DIALOG DLGINIT -BEGIN - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0030, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0031, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0032, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0033, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0034, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0035, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0036, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0037, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0038, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0039, - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3031, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3131, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3231, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3331, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3431, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3531, "\000" - 0 -END - - -///////////////////////////////////////////////////////////////////////////// -// -// String Table -// - -STRINGTABLE -BEGIN - IDS_ABOUTBOX "&About Util7234..." -END - -#endif // English (U.S.) resources -///////////////////////////////////////////////////////////////////////////// - - - -#ifndef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 3 resource. -// -#define _AFX_NO_SPLITTER_RESOURCES -#define _AFX_NO_OLE_RESOURCES -#define _AFX_NO_TRACKER_RESOURCES -#define _AFX_NO_PROPERTY_RESOURCES - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -LANGUAGE 9, 1 -#pragma code_page(1252) -#include "res\Util7234.rc2" // non-Microsoft Visual C++ edited resources -#include "afxres.rc" // Standard components -#endif - -///////////////////////////////////////////////////////////////////////////// -#endif // not APSTUDIO_INVOKED - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7234/Sdk7234/Util7234.sln b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7234/Sdk7234/Util7234.sln deleted file mode 100644 index 2f7594b..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7234/Sdk7234/Util7234.sln +++ /dev/null @@ -1,26 +0,0 @@ - -Microsoft Visual Studio Solution File, Format Version 10.00 -# Visual Studio 2008 -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "Util7234", "Util7234.vcproj", "{698ED213-147E-4FB5-A7B6-ADD9B5B3939B}" -EndProject -Global - GlobalSection(SolutionConfigurationPlatforms) = preSolution - Debug|Win32 = Debug|Win32 - Debug|x64 = Debug|x64 - Release|Win32 = Release|Win32 - Release|x64 = Release|x64 - EndGlobalSection - GlobalSection(ProjectConfigurationPlatforms) = postSolution - {698ED213-147E-4FB5-A7B6-ADD9B5B3939B}.Debug|Win32.ActiveCfg = Debug|Win32 - {698ED213-147E-4FB5-A7B6-ADD9B5B3939B}.Debug|Win32.Build.0 = Debug|Win32 - {698ED213-147E-4FB5-A7B6-ADD9B5B3939B}.Debug|x64.ActiveCfg = Debug|x64 - {698ED213-147E-4FB5-A7B6-ADD9B5B3939B}.Debug|x64.Build.0 = Debug|x64 - {698ED213-147E-4FB5-A7B6-ADD9B5B3939B}.Release|Win32.ActiveCfg = Release|Win32 - {698ED213-147E-4FB5-A7B6-ADD9B5B3939B}.Release|Win32.Build.0 = Release|Win32 - {698ED213-147E-4FB5-A7B6-ADD9B5B3939B}.Release|x64.ActiveCfg = Release|x64 - {698ED213-147E-4FB5-A7B6-ADD9B5B3939B}.Release|x64.Build.0 = Release|x64 - EndGlobalSection - GlobalSection(SolutionProperties) = preSolution - HideSolutionNode = FALSE - EndGlobalSection -EndGlobal diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7234/Sdk7234/Util7234.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7234/Sdk7234/Util7234.suo deleted file mode 100644 index 0408078..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7234/Sdk7234/Util7234.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7234/Sdk7234/Util7234.vcproj b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7234/Sdk7234/Util7234.vcproj deleted file mode 100644 index 1bc0c3a..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7234/Sdk7234/Util7234.vcproj +++ /dev/null @@ -1,471 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7234/Sdk7234/Util7234Dlg.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7234/Sdk7234/Util7234Dlg.cpp deleted file mode 100644 index 7318078..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7234/Sdk7234/Util7234Dlg.cpp +++ /dev/null @@ -1,800 +0,0 @@ - -// Util7234Dlg.cpp : implementation file -// - -#include "stdafx.h" -#include "Util7234.h" -#include "Util7234Dlg.h" - -#ifdef _DEBUG -#define new DEBUG_NEW -#endif - - -// CAboutDlg dialog used for App About - -class CAboutDlg : public CDialog -{ -public: - CAboutDlg(); - -// Dialog Data - enum { IDD = IDD_ABOUTBOX }; - - protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - -// Implementation -protected: - DECLARE_MESSAGE_MAP() -}; - -CAboutDlg::CAboutDlg() : CDialog(CAboutDlg::IDD) -{ -} - -void CAboutDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); -} - -BEGIN_MESSAGE_MAP(CAboutDlg, CDialog) -END_MESSAGE_MAP() - - -// CUtil7234Dlg dialog - - - - -CUtil7234Dlg::CUtil7234Dlg(I16 hCard, CWnd* pParent /*=NULL*/) - : CDialog(CUtil7234Dlg::IDD, pParent) -{ - m_hIcon = AfxGetApp()->LoadIcon(IDR_MAINFRAME); - - m_hCard = hCard; - m_dwOutData = 0x00000000; -} - -void CUtil7234Dlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); -} - -BEGIN_MESSAGE_MAP(CUtil7234Dlg, CDialog) - ON_WM_SYSCOMMAND() - ON_WM_PAINT() - ON_WM_QUERYDRAGICON() - //}}AFX_MSG_MAP - ON_BN_CLICKED(IDC_CHECK_DO00, &CUtil7234Dlg::OnOut00) - ON_BN_CLICKED(IDC_CHECK_DO01, &CUtil7234Dlg::OnOut01) - ON_BN_CLICKED(IDC_CHECK_DO02, &CUtil7234Dlg::OnOut02) - ON_BN_CLICKED(IDC_CHECK_DO03, &CUtil7234Dlg::OnOut03) - ON_BN_CLICKED(IDC_CHECK_DO04, &CUtil7234Dlg::OnOut04) - ON_BN_CLICKED(IDC_CHECK_DO05, &CUtil7234Dlg::OnOut05) - ON_BN_CLICKED(IDC_CHECK_DO06, &CUtil7234Dlg::OnOut06) - ON_BN_CLICKED(IDC_CHECK_DO07, &CUtil7234Dlg::OnOut07) - ON_BN_CLICKED(IDC_CHECK_DO08, &CUtil7234Dlg::OnOut08) - ON_BN_CLICKED(IDC_CHECK_DO09, &CUtil7234Dlg::OnOut09) - ON_BN_CLICKED(IDC_CHECK_DO10, &CUtil7234Dlg::OnOut10) - ON_BN_CLICKED(IDC_CHECK_DO11, &CUtil7234Dlg::OnOut11) - ON_BN_CLICKED(IDC_CHECK_DO12, &CUtil7234Dlg::OnOut12) - ON_BN_CLICKED(IDC_CHECK_DO13, &CUtil7234Dlg::OnOut13) - ON_BN_CLICKED(IDC_CHECK_DO14, &CUtil7234Dlg::OnOut14) - ON_BN_CLICKED(IDC_CHECK_DO15, &CUtil7234Dlg::OnOut15) - ON_BN_CLICKED(IDC_CHECK_DO16, &CUtil7234Dlg::OnOut16) - ON_BN_CLICKED(IDC_CHECK_DO17, &CUtil7234Dlg::OnOut17) - ON_BN_CLICKED(IDC_CHECK_DO18, &CUtil7234Dlg::OnOut18) - ON_BN_CLICKED(IDC_CHECK_DO19, &CUtil7234Dlg::OnOut19) - ON_BN_CLICKED(IDC_CHECK_DO20, &CUtil7234Dlg::OnOut20) - ON_BN_CLICKED(IDC_CHECK_DO21, &CUtil7234Dlg::OnOut21) - ON_BN_CLICKED(IDC_CHECK_DO22, &CUtil7234Dlg::OnOut22) - ON_BN_CLICKED(IDC_CHECK_DO23, &CUtil7234Dlg::OnOut23) - ON_BN_CLICKED(IDC_CHECK_DO24, &CUtil7234Dlg::OnOut24) - ON_BN_CLICKED(IDC_CHECK_DO25, &CUtil7234Dlg::OnOut25) - ON_BN_CLICKED(IDC_CHECK_DO26, &CUtil7234Dlg::OnOut26) - ON_BN_CLICKED(IDC_CHECK_DO27, &CUtil7234Dlg::OnOut27) - ON_BN_CLICKED(IDC_CHECK_DO28, &CUtil7234Dlg::OnOut28) - ON_BN_CLICKED(IDC_CHECK_DO29, &CUtil7234Dlg::OnOut29) - ON_BN_CLICKED(IDC_CHECK_DO30, &CUtil7234Dlg::OnOut30) - ON_BN_CLICKED(IDC_CHECK_DO31, &CUtil7234Dlg::OnOut31) -END_MESSAGE_MAP() - - -// CUtil7234Dlg message handlers - -BOOL CUtil7234Dlg::OnInitDialog() -{ - CDialog::OnInitDialog(); - - // Add "About..." menu item to system menu. - - // IDM_ABOUTBOX must be in the system command range. - ASSERT((IDM_ABOUTBOX & 0xFFF0) == IDM_ABOUTBOX); - ASSERT(IDM_ABOUTBOX < 0xF000); - - CMenu* pSysMenu = GetSystemMenu(FALSE); - if (pSysMenu != NULL) - { - BOOL bNameValid; - CString strAboutMenu; - bNameValid = strAboutMenu.LoadString(IDS_ABOUTBOX); - ASSERT(bNameValid); - if (!strAboutMenu.IsEmpty()) - { - pSysMenu->AppendMenu(MF_SEPARATOR); - pSysMenu->AppendMenu(MF_STRING, IDM_ABOUTBOX, strAboutMenu); - } - } - - // Set the icon for this dialog. The framework does this automatically - // when the application's main window is not a dialog - SetIcon(m_hIcon, TRUE); // Set big icon - SetIcon(m_hIcon, FALSE); // Set small icon - - // TODO: Add extra initialization here - DO_WritePort( m_hCard, 0, m_dwOutData ); - - return TRUE; // return TRUE unless you set the focus to a control -} - -void CUtil7234Dlg::OnSysCommand(UINT nID, LPARAM lParam) -{ - if ((nID & 0xFFF0) == IDM_ABOUTBOX) - { - CAboutDlg dlgAbout; - dlgAbout.DoModal(); - } - else - { - CDialog::OnSysCommand(nID, lParam); - } -} - -// If you add a minimize button to your dialog, you will need the code below -// to draw the icon. For MFC applications using the document/view model, -// this is automatically done for you by the framework. - -void CUtil7234Dlg::OnPaint() -{ - if (IsIconic()) - { - CPaintDC dc(this); // device context for painting - - SendMessage(WM_ICONERASEBKGND, reinterpret_cast(dc.GetSafeHdc()), 0); - - // Center icon in client rectangle - int cxIcon = GetSystemMetrics(SM_CXICON); - int cyIcon = GetSystemMetrics(SM_CYICON); - CRect rect; - GetClientRect(&rect); - int x = (rect.Width() - cxIcon + 1) / 2; - int y = (rect.Height() - cyIcon + 1) / 2; - - // Draw the icon - dc.DrawIcon(x, y, m_hIcon); - } - else - { - CDialog::OnPaint(); - } -} - -// The system calls this function to obtain the cursor to display while the user drags -// the minimized window. -HCURSOR CUtil7234Dlg::OnQueryDragIcon() -{ - return static_cast(m_hIcon); -} - -void CUtil7234Dlg::OnOut00() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_DO00 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_dwOutData |= 0x01; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_dwOutData &= (~0x01); - } - - DO_WritePort( m_hCard, 0, m_dwOutData ); - -} - -void CUtil7234Dlg::OnOut01() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_DO01 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_dwOutData |= 0x02; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_dwOutData &= (~0x02); - } - - DO_WritePort( m_hCard, 0, m_dwOutData ); -} - -void CUtil7234Dlg::OnOut02() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_DO02 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_dwOutData |= 0x04; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_dwOutData &= (~0x04); - } - - DO_WritePort( m_hCard, 0, m_dwOutData ); -} - -void CUtil7234Dlg::OnOut03() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_DO03 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_dwOutData |= 0x08; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_dwOutData &= (~0x08); - } - - DO_WritePort( m_hCard, 0, m_dwOutData ); -} - -void CUtil7234Dlg::OnOut04() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_DO04 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_dwOutData |= 0x10; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_dwOutData &= (~0x10); - } - - DO_WritePort( m_hCard, 0, m_dwOutData ); -} - -void CUtil7234Dlg::OnOut05() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_DO05 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_dwOutData |= 0x20; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_dwOutData &= (~0x20); - } - - DO_WritePort( m_hCard, 0, m_dwOutData ); -} - -void CUtil7234Dlg::OnOut06() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_DO06 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_dwOutData |= 0x40; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_dwOutData &= (~0x40); - } - - DO_WritePort( m_hCard, 0, m_dwOutData ); -} - -void CUtil7234Dlg::OnOut07() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_DO07 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_dwOutData |= 0x80; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_dwOutData &= (~0x80); - } - - DO_WritePort( m_hCard, 0, m_dwOutData ); -} - -void CUtil7234Dlg::OnOut08() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_DO08 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_dwOutData |= 0x100; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_dwOutData &= (~0x100); - } - - DO_WritePort( m_hCard, 0, m_dwOutData ); -} - -void CUtil7234Dlg::OnOut09() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_DO09 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_dwOutData |= 0x200; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_dwOutData &= (~0x200); - } - - DO_WritePort( m_hCard, 0, m_dwOutData ); -} - -void CUtil7234Dlg::OnOut10() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_DO10 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_dwOutData |= 0x400; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_dwOutData &= (~0x400); - } - - DO_WritePort( m_hCard, 0, m_dwOutData ); -} - -void CUtil7234Dlg::OnOut11() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_DO11 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_dwOutData |= 0x800; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_dwOutData &= (~0x800); - } - - DO_WritePort( m_hCard, 0, m_dwOutData ); -} - -void CUtil7234Dlg::OnOut12() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_DO12 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_dwOutData |= 0x1000; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_dwOutData &= (~0x1000); - } - - DO_WritePort( m_hCard, 0, m_dwOutData ); -} - -void CUtil7234Dlg::OnOut13() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_DO13 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_dwOutData |= 0x2000; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_dwOutData &= (~0x2000); - } - - DO_WritePort( m_hCard, 0, m_dwOutData ); -} - -void CUtil7234Dlg::OnOut14() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_DO14 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_dwOutData |= 0x4000; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_dwOutData &= (~0x4000); - } - - DO_WritePort( m_hCard, 0, m_dwOutData ); -} - -void CUtil7234Dlg::OnOut15() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_DO15 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_dwOutData |= 0x8000; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_dwOutData &= (~0x8000); - } - - DO_WritePort( m_hCard, 0, m_dwOutData ); -} - - -void CUtil7234Dlg::OnOut16() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_DO16 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_dwOutData |= 0x10000; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_dwOutData &= (~0x10000); - } - - DO_WritePort( m_hCard, 0, m_dwOutData ); -} - -void CUtil7234Dlg::OnOut17() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_DO17 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_dwOutData |= 0x20000; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_dwOutData &= (~0x20000); - } - - DO_WritePort( m_hCard, 0, m_dwOutData ); -} - -void CUtil7234Dlg::OnOut18() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_DO18 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_dwOutData |= 0x40000; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_dwOutData &= (~0x40000); - } - - DO_WritePort( m_hCard, 0, m_dwOutData ); -} - -void CUtil7234Dlg::OnOut19() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_DO19 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_dwOutData |= 0x80000; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_dwOutData &= (~0x80000); - } - - DO_WritePort( m_hCard, 0, m_dwOutData ); -} - - -void CUtil7234Dlg::OnOut20() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_DO20 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_dwOutData |= 0x100000; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_dwOutData &= (~0x100000); - } - - DO_WritePort( m_hCard, 0, m_dwOutData ); -} - -void CUtil7234Dlg::OnOut21() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_DO21 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_dwOutData |= 0x200000; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_dwOutData &= (~0x200000); - } - - DO_WritePort( m_hCard, 0, m_dwOutData ); -} - -void CUtil7234Dlg::OnOut22() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_DO22 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_dwOutData |= 0x400000; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_dwOutData &= (~0x400000); - } - - DO_WritePort( m_hCard, 0, m_dwOutData ); -} - -void CUtil7234Dlg::OnOut23() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_DO23 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_dwOutData |= 0x800000; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_dwOutData &= (~0x80000); - } - - DO_WritePort( m_hCard, 0, m_dwOutData ); -} - -void CUtil7234Dlg::OnOut24() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_DO24 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_dwOutData |= 0x1000000; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_dwOutData &= (~0x1000000); - } - - DO_WritePort( m_hCard, 0, m_dwOutData ); -} - -void CUtil7234Dlg::OnOut25() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_DO25 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_dwOutData |= 0x2000000; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_dwOutData &= (~0x2000000); - } - - DO_WritePort( m_hCard, 0, m_dwOutData ); -} - - -void CUtil7234Dlg::OnOut26() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_DO26 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_dwOutData |= 0x4000000; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_dwOutData &= (~0x4000000); - } - - DO_WritePort( m_hCard, 0, m_dwOutData ); -} - -void CUtil7234Dlg::OnOut27() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_DO27 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_dwOutData |= 0x8000000; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_dwOutData &= (~0x8000000); - } - - DO_WritePort( m_hCard, 0, m_dwOutData ); -} - -void CUtil7234Dlg::OnOut28() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_DO28 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_dwOutData |= 0x10000000; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_dwOutData &= (~0x10000000); - } - - DO_WritePort( m_hCard, 0, m_dwOutData ); -} - -void CUtil7234Dlg::OnOut29() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_DO29 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_dwOutData |= 0x20000000; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_dwOutData &= (~0x20000000); - } - - DO_WritePort( m_hCard, 0, m_dwOutData ); -} - -void CUtil7234Dlg::OnOut30() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_DO30 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_dwOutData |= 0x40000000; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_dwOutData &= (~0x40000000); - } - - DO_WritePort( m_hCard, 0, m_dwOutData ); -} - -void CUtil7234Dlg::OnOut31() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_DO31 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_dwOutData |= 0x80000000; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_dwOutData &= (~0x80000000); - } - - DO_WritePort( m_hCard, 0, m_dwOutData ); -} diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7234/Sdk7234/Util7234Dlg.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7234/Sdk7234/Util7234Dlg.h deleted file mode 100644 index 5471050..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7234/Sdk7234/Util7234Dlg.h +++ /dev/null @@ -1,70 +0,0 @@ - -// Util7234Dlg.h : header file -// - -#include "Dask64.h" - -#pragma once - - -// CUtil7234Dlg dialog -class CUtil7234Dlg : public CDialog -{ -// Construction -public: - CUtil7234Dlg(I16 hCard, CWnd* pParent = NULL); // standard constructor - -// Dialog Data - enum { IDD = IDD_UTIL7234_DIALOG }; - - protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - - -// Implementation -protected: - HICON m_hIcon; - I16 m_hCard; - U32 m_dwOutData; - - // Generated message map functions - virtual BOOL OnInitDialog(); - afx_msg void OnSysCommand(UINT nID, LPARAM lParam); - afx_msg void OnPaint(); - afx_msg HCURSOR OnQueryDragIcon(); - DECLARE_MESSAGE_MAP() - -public: - afx_msg void OnOut00(); - afx_msg void OnOut01(); - afx_msg void OnOut02(); - afx_msg void OnOut03(); - afx_msg void OnOut04(); - afx_msg void OnOut05(); - afx_msg void OnOut06(); - afx_msg void OnOut07(); - afx_msg void OnOut08(); - afx_msg void OnOut09(); - afx_msg void OnOut10(); - afx_msg void OnOut11(); - afx_msg void OnOut12(); - afx_msg void OnOut13(); - afx_msg void OnOut14(); - afx_msg void OnOut15(); - afx_msg void OnOut16(); - afx_msg void OnOut17(); - afx_msg void OnOut18(); - afx_msg void OnOut19(); - afx_msg void OnOut20(); - afx_msg void OnOut21(); - afx_msg void OnOut22(); - afx_msg void OnOut23(); - afx_msg void OnOut24(); - afx_msg void OnOut25(); - afx_msg void OnOut26(); - afx_msg void OnOut27(); - afx_msg void OnOut28(); - afx_msg void OnOut29(); - afx_msg void OnOut30(); - afx_msg void OnOut31(); -}; diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7234/Sdk7234/res/Util7234.ico b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7234/Sdk7234/res/Util7234.ico deleted file mode 100644 index d56fbcd..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7234/Sdk7234/res/Util7234.ico and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7234/Sdk7234/res/Util7234.rc2 b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7234/Sdk7234/res/Util7234.rc2 deleted file mode 100644 index 9d672e4..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7234/Sdk7234/res/Util7234.rc2 +++ /dev/null @@ -1,13 +0,0 @@ -// -// Util7234.RC2 - resources Microsoft Visual C++ does not edit directly -// - -#ifdef APSTUDIO_INVOKED -#error this file is not editable by Microsoft Visual C++ -#endif //APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// Add manually edited resources here... - -///////////////////////////////////////////////////////////////////////////// diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7234/Sdk7234/resource.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7234/Sdk7234/resource.h deleted file mode 100644 index 45038f1..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7234/Sdk7234/resource.h +++ /dev/null @@ -1,55 +0,0 @@ -//{{NO_DEPENDENCIES}} -// Microsoft Visual C++ generated include file. -// Used by Util7234.rc -// -#define IDM_ABOUTBOX 0x0010 -#define IDD_ABOUTBOX 100 -#define IDS_ABOUTBOX 101 -#define IDD_UTIL7234_DIALOG 102 -#define IDR_MAINFRAME 128 -#define IDD_CARDID_DIALOG 129 -#define IDC_COMBO_CARDID 1000 -#define IDC_CHECK_DO00 1003 -#define IDC_CHECK_DO01 1004 -#define IDC_CHECK_DO16 1005 -#define IDC_CHECK_DO17 1006 -#define IDC_STATIC_01 1014 -#define IDC_CHECK_DO02 1021 -#define IDC_CHECK_DO03 1022 -#define IDC_CHECK_DO04 1023 -#define IDC_CHECK_DO05 1024 -#define IDC_CHECK_DO06 1025 -#define IDC_CHECK_DO07 1026 -#define IDC_CHECK_DO08 1027 -#define IDC_CHECK_DO09 1028 -#define IDC_CHECK_DO10 1029 -#define IDC_CHECK_DO11 1030 -#define IDC_CHECK_DO12 1031 -#define IDC_CHECK_DO13 1032 -#define IDC_CHECK_DO14 1033 -#define IDC_CHECK_DO15 1034 -#define IDC_CHECK_DO18 1035 -#define IDC_CHECK_DO19 1036 -#define IDC_CHECK_DO20 1037 -#define IDC_CHECK_DO21 1038 -#define IDC_CHECK_DO22 1039 -#define IDC_CHECK_DO23 1040 -#define IDC_CHECK_DO24 1041 -#define IDC_CHECK_DO25 1042 -#define IDC_CHECK_DO26 1043 -#define IDC_CHECK_DO27 1044 -#define IDC_CHECK_DO28 1045 -#define IDC_CHECK_DO29 1046 -#define IDC_CHECK_DO30 1047 -#define IDC_CHECK_DO31 1048 - -// Next default values for new objects -// -#ifdef APSTUDIO_INVOKED -#ifndef APSTUDIO_READONLY_SYMBOLS -#define _APS_NEXT_RESOURCE_VALUE 131 -#define _APS_NEXT_COMMAND_VALUE 32771 -#define _APS_NEXT_CONTROL_VALUE 1000 -#define _APS_NEXT_SYMED_VALUE 101 -#endif -#endif diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7234/Sdk7234/stdafx.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7234/Sdk7234/stdafx.cpp deleted file mode 100644 index 2237aa3..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7234/Sdk7234/stdafx.cpp +++ /dev/null @@ -1,8 +0,0 @@ - -// stdafx.cpp : source file that includes just the standard includes -// Util7234.pch will be the pre-compiled header -// stdafx.obj will contain the pre-compiled type information - -#include "stdafx.h" - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7234/Sdk7234/stdafx.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7234/Sdk7234/stdafx.h deleted file mode 100644 index 12123e2..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7234/Sdk7234/stdafx.h +++ /dev/null @@ -1,60 +0,0 @@ - -// stdafx.h : include file for standard system include files, -// or project specific include files that are used frequently, -// but are changed infrequently - -#pragma once - -#ifndef _SECURE_ATL -#define _SECURE_ATL 1 -#endif - -#ifndef VC_EXTRALEAN -#define VC_EXTRALEAN // Exclude rarely-used stuff from Windows headers -#endif - -#include "targetver.h" - -#define _ATL_CSTRING_EXPLICIT_CONSTRUCTORS // some CString constructors will be explicit - -// turns off MFC's hiding of some common and often safely ignored warning messages -#define _AFX_ALL_WARNINGS - -#include // MFC core and standard components -#include // MFC extensions - - -#include // MFC Automation classes - - - -#ifndef _AFX_NO_OLE_SUPPORT -#include // MFC support for Internet Explorer 4 Common Controls -#endif -#ifndef _AFX_NO_AFXCMN_SUPPORT -#include // MFC support for Windows Common Controls -#endif // _AFX_NO_AFXCMN_SUPPORT - -#include // MFC support for ribbons and control bars - - - - - - - - - -#ifdef _UNICODE -#if defined _M_IX86 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='x86' publicKeyToken='6595b64144ccf1df' language='*'\"") -#elif defined _M_IA64 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='ia64' publicKeyToken='6595b64144ccf1df' language='*'\"") -#elif defined _M_X64 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='amd64' publicKeyToken='6595b64144ccf1df' language='*'\"") -#else -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='*' publicKeyToken='6595b64144ccf1df' language='*'\"") -#endif -#endif - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7234/Sdk7234/targetver.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7234/Sdk7234/targetver.h deleted file mode 100644 index 11730d5..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7234/Sdk7234/targetver.h +++ /dev/null @@ -1,26 +0,0 @@ - -#pragma once - -// The following macros define the minimum required platform. The minimum required platform -// is the earliest version of Windows, Internet Explorer etc. that has the necessary features to run -// your application. The macros work by enabling all features available on platform versions up to and -// including the version specified. - -// Modify the following defines if you have to target a platform prior to the ones specified below. -// Refer to MSDN for the latest info on corresponding values for different platforms. -#ifndef WINVER // Specifies that the minimum required platform is Windows Vista. -#define WINVER 0x0600 // Change this to the appropriate value to target other versions of Windows. -#endif - -#ifndef _WIN32_WINNT // Specifies that the minimum required platform is Windows Vista. -#define _WIN32_WINNT 0x0600 // Change this to the appropriate value to target other versions of Windows. -#endif - -#ifndef _WIN32_WINDOWS // Specifies that the minimum required platform is Windows 98. -#define _WIN32_WINDOWS 0x0410 // Change this to the appropriate value to target Windows Me or later. -#endif - -#ifndef _WIN32_IE // Specifies that the minimum required platform is Internet Explorer 7.0. -#define _WIN32_IE 0x0700 // Change this to the appropriate value to target other versions of IE. -#endif - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7248/SDK7248/CardIDDlg.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7248/SDK7248/CardIDDlg.cpp deleted file mode 100644 index 62fb772..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7248/SDK7248/CardIDDlg.cpp +++ /dev/null @@ -1,67 +0,0 @@ -// CardIDDlg.cpp : implementation file -// - -#include "stdafx.h" -#include "Util7248.h" -#include "CardIDDlg.h" - - -// CCardIDDlg dialog - -IMPLEMENT_DYNAMIC(CCardIDDlg, CDialog) - -CCardIDDlg::CCardIDDlg(int nCardIdx, CWnd* pParent /*=NULL*/) - : CDialog(CCardIDDlg::IDD, pParent) -{ - m_nCardIdx = nCardIdx; -} - -CCardIDDlg::~CCardIDDlg() -{ -} - -void CCardIDDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); - DDX_Control(pDX, IDC_COMBO_CARDID, m_cbCardID); -} - - -BEGIN_MESSAGE_MAP(CCardIDDlg, CDialog) -// ON_CBN_SELCHANGE(IDC_COMBO_CARDID, &CCardIDDlg::OnCbnSelchangeComboCardid) -ON_BN_CLICKED(IDOK, &CCardIDDlg::OnBnClickedOk) -//ON_WM_CTLCOLOR() -END_MESSAGE_MAP() - - -// CCardIDDlg message handlers - - -void CCardIDDlg::OnBnClickedOk() -{ - // TODO: Add your control notification handler code here - -// UpdateData(TRUE); - m_nCardIdx = m_cbCardID.GetCurSel(); - - OnOK(); -} - -BOOL CCardIDDlg::OnInitDialog() -{ - CDialog::OnInitDialog(); - - // TODO: Add extra initialization here - m_cbCardID.SetCurSel( m_nCardIdx ); - - return TRUE; // return TRUE unless you set the focus to a control - // EXCEPTION: OCX Property Pages should return FALSE -} - -// the function to get the selected CardID -int CCardIDDlg::GetCardID(void) -{ - return m_nCardIdx; -} - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7248/SDK7248/CardIDDlg.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7248/SDK7248/CardIDDlg.h deleted file mode 100644 index 54628ea..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7248/SDK7248/CardIDDlg.h +++ /dev/null @@ -1,33 +0,0 @@ -#pragma once -#include "afxwin.h" - - -// CCardIDDlg dialog - -class CCardIDDlg : public CDialog -{ - DECLARE_DYNAMIC(CCardIDDlg) - -public: - CCardIDDlg(int nCardIdx, CWnd* pParent = NULL); // standard constructor - virtual ~CCardIDDlg(); - -// Dialog Data - enum { IDD = IDD_CARDID_DIALOG }; - -protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - - DECLARE_MESSAGE_MAP() -public: -// afx_msg void OnCbnSelchangeComboCardid(); - afx_msg void OnBnClickedOk(); - // the setting of CardID ComboBox - int m_nCardIdx; - virtual BOOL OnInitDialog(); - // the control of CardID ComboBox - CComboBox m_cbCardID; - // the function to get the selected CardID - int GetCardID(void); -// afx_msg HBRUSH OnCtlColor(CDC* pDC, CWnd* pWnd, UINT nCtlColor); -}; diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7248/SDK7248/ReadMe.txt b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7248/SDK7248/ReadMe.txt deleted file mode 100644 index 672c990..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7248/SDK7248/ReadMe.txt +++ /dev/null @@ -1,93 +0,0 @@ -================================================================================ - MICROSOFT FOUNDATION CLASS LIBRARY : Util7248 Project Overview -=============================================================================== - -The application wizard has created this Util7248 application for -you. This application not only demonstrates the basics of using the Microsoft -Foundation Classes but is also a starting point for writing your application. - -This file contains a summary of what you will find in each of the files that -make up your Util7248 application. - -Util7248.vcproj - This is the main project file for VC++ projects generated using an application wizard. - It contains information about the version of Visual C++ that generated the file, and - information about the platforms, configurations, and project features selected with the - application wizard. - -Util7248.h - This is the main header file for the application. It includes other - project specific headers (including Resource.h) and declares the - CUtil7248App application class. - -Util7248.cpp - This is the main application source file that contains the application - class CUtil7248App. - -Util7248.rc - This is a listing of all of the Microsoft Windows resources that the - program uses. It includes the icons, bitmaps, and cursors that are stored - in the RES subdirectory. This file can be directly edited in Microsoft - Visual C++. Your project resources are in 1033. - -res\Util7248.ico - This is an icon file, which is used as the application's icon. This - icon is included by the main resource file Util7248.rc. - -res\Util7248.rc2 - This file contains resources that are not edited by Microsoft - Visual C++. You should place all resources not editable by - the resource editor in this file. - - -///////////////////////////////////////////////////////////////////////////// - -The application wizard creates one dialog class: - -Util7248Dlg.h, Util7248Dlg.cpp - the dialog - These files contain your CUtil7248Dlg class. This class defines - the behavior of your application's main dialog. The dialog's template is - in Util7248.rc, which can be edited in Microsoft Visual C++. - - -///////////////////////////////////////////////////////////////////////////// - -Other Features: - -ActiveX Controls - The application includes support to use ActiveX controls. - -///////////////////////////////////////////////////////////////////////////// - -Other standard files: - -StdAfx.h, StdAfx.cpp - These files are used to build a precompiled header (PCH) file - named Util7248.pch and a precompiled types file named StdAfx.obj. - -Resource.h - This is the standard header file, which defines new resource IDs. - Microsoft Visual C++ reads and updates this file. - -Util7248.manifest - Application manifest files are used by Windows XP to describe an applications - dependency on specific versions of Side-by-Side assemblies. The loader uses this - information to load the appropriate assembly from the assembly cache or private - from the application. The Application manifest maybe included for redistribution - as an external .manifest file that is installed in the same folder as the application - executable or it may be included in the executable in the form of a resource. -///////////////////////////////////////////////////////////////////////////// - -Other notes: - -The application wizard uses "TODO:" to indicate parts of the source code you -should add to or customize. - -If your application uses MFC in a shared DLL, you will need -to redistribute the MFC DLLs. If your application is in a language -other than the operating system's locale, you will also have to -redistribute the corresponding localized resources MFC90XXX.DLL. -For more information on both of these topics, please see the section on -redistributing Visual C++ applications in MSDN documentation. - -///////////////////////////////////////////////////////////////////////////// diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7248/SDK7248/Util7248.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7248/SDK7248/Util7248.cpp deleted file mode 100644 index 1e86b2f..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7248/SDK7248/Util7248.cpp +++ /dev/null @@ -1,110 +0,0 @@ - -// Util7248.cpp : Defines the class behaviors for the application. -// - -#include "stdafx.h" -#include "Util7248.h" -#include "Util7248Dlg.h" -#include "CardIDDlg.h" - -#ifdef _DEBUG -#define new DEBUG_NEW -#endif - - -// CUtil7248App - -BEGIN_MESSAGE_MAP(CUtil7248App, CWinAppEx) - ON_COMMAND(ID_HELP, &CWinApp::OnHelp) -END_MESSAGE_MAP() - - -// CUtil7248App construction - -CUtil7248App::CUtil7248App() -{ - // TODO: add construction code here, - // Place all significant initialization in InitInstance -} - - -// The one and only CUtil7248App object - -CUtil7248App theApp; - - -// CUtil7248App initialization - -BOOL CUtil7248App::InitInstance() -{ - int nCardID = 0; - I16 hCard; - CString strTemp; - INT_PTR nResponse; - - // InitCommonControlsEx() is required on Windows XP if an application - // manifest specifies use of ComCtl32.dll version 6 or later to enable - // visual styles. Otherwise, any window creation will fail. - INITCOMMONCONTROLSEX InitCtrls; - InitCtrls.dwSize = sizeof(InitCtrls); - // Set this to include all the common control classes you want to use - // in your application. - InitCtrls.dwICC = ICC_WIN95_CLASSES; - InitCommonControlsEx(&InitCtrls); - - CWinAppEx::InitInstance(); - - AfxEnableControlContainer(); - - // Standard initialization - // If you are not using these features and wish to reduce the size - // of your final executable, you should remove from the following - // the specific initialization routines you do not need - // Change the registry key under which our settings are stored - // TODO: You should modify this string to be something appropriate - // such as the name of your company or organization - SetRegistryKey(_T("Local AppWizard-Generated Applications")); - - CCardIDDlg CardDlg( nCardID ); - - nResponse = CardDlg.DoModal(); - if (nResponse == IDOK) - { - nCardID = CardDlg.GetCardID(); - - if ((hCard=Register_Card(PCI_7248, nCardID)) < 0) - { - strTemp.Format( TEXT("Register_Card Error = %d"), hCard); - AfxMessageBox( strTemp ); - } - else - { - CUtil7248Dlg dlg(hCard); - m_pMainWnd = &dlg; - nResponse = dlg.DoModal(); - if (nResponse == IDOK) - { - // TODO: Place code here to handle when the dialog is - // dismissed with OK - } - else if (nResponse == IDCANCEL) - { - // TODO: Place code here to handle when the dialog is - // dismissed with Cancel - } - - if (hCard >= 0) Release_Card(hCard); - } - - } - else if (nResponse == IDCANCEL) - { - // TODO: Place code here to handle when the dialog is - // dismissed with Cancel - } - - - // Since the dialog has been closed, return FALSE so that we exit the - // application, rather than start the application's message pump. - return FALSE; -} diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7248/SDK7248/Util7248.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7248/SDK7248/Util7248.h deleted file mode 100644 index 316e8ac..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7248/SDK7248/Util7248.h +++ /dev/null @@ -1,32 +0,0 @@ - -// Util7248.h : main header file for the PROJECT_NAME application -// - -#pragma once - -#ifndef __AFXWIN_H__ - #error "include 'stdafx.h' before including this file for PCH" -#endif - -#include "resource.h" // main symbols - - -// CUtil7248App: -// See Util7248.cpp for the implementation of this class -// - -class CUtil7248App : public CWinAppEx -{ -public: - CUtil7248App(); - -// Overrides - public: - virtual BOOL InitInstance(); - -// Implementation - - DECLARE_MESSAGE_MAP() -}; - -extern CUtil7248App theApp; \ No newline at end of file diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7248/SDK7248/Util7248.rc b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7248/SDK7248/Util7248.rc deleted file mode 100644 index a54c503..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7248/SDK7248/Util7248.rc +++ /dev/null @@ -1,449 +0,0 @@ -// Microsoft Visual C++ generated resource script. -// -#include "resource.h" - -#define APSTUDIO_READONLY_SYMBOLS -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 2 resource. -// -#ifndef APSTUDIO_INVOKED -#include "targetver.h" -#endif -#include "afxres.h" - -///////////////////////////////////////////////////////////////////////////// -#undef APSTUDIO_READONLY_SYMBOLS - -///////////////////////////////////////////////////////////////////////////// -// Chinese (Taiwan) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_CHT) -#ifdef _WIN32 -LANGUAGE LANG_CHINESE, SUBLANG_CHINESE_TRADITIONAL -#pragma code_page(950) -#endif //_WIN32 - -#ifdef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// TEXTINCLUDE -// - -1 TEXTINCLUDE -BEGIN - "resource.h\0" -END - -2 TEXTINCLUDE -BEGIN - "#ifndef APSTUDIO_INVOKED\r\n" - "#include ""targetver.h""\r\n" - "#endif\r\n" - "#include ""afxres.h""\r\n" - "\0" -END - -3 TEXTINCLUDE -BEGIN - "#define _AFX_NO_SPLITTER_RESOURCES\r\n" - "#define _AFX_NO_OLE_RESOURCES\r\n" - "#define _AFX_NO_TRACKER_RESOURCES\r\n" - "#define _AFX_NO_PROPERTY_RESOURCES\r\n" - "\r\n" - "#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)\r\n" - "LANGUAGE 9, 1\r\n" - "#pragma code_page(1252)\r\n" - "#include ""res\\Util7248.rc2"" // non-Microsoft Visual C++ edited resources\r\n" - "#include ""afxres.rc"" // Standard components\r\n" - "#endif\r\n" - "\0" -END - -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// Icon -// - -// Icon with lowest ID value placed first to ensure application icon -// remains consistent on all systems. -IDR_MAINFRAME ICON "res\\Util7248.ico" -#endif // Chinese (Taiwan) resources -///////////////////////////////////////////////////////////////////////////// - - -///////////////////////////////////////////////////////////////////////////// -// English (U.S.) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -#ifdef _WIN32 -LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US -#pragma code_page(1252) -#endif //_WIN32 - -///////////////////////////////////////////////////////////////////////////// -// -// Icon -// - -// Icon with lowest ID value placed first to ensure application icon -// remains consistent on all systems. -IDI_ICON_BLACK ICON "res\\black.ico" -IDI_ICON_RED ICON "res\\red.ico" -IDI_ICON_GREEN ICON "res\\green.ico" - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog -// - -IDD_ABOUTBOX DIALOGEX 0, 0, 170, 62 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "About Util7248" -FONT 8, "MS Shell Dlg", 0, 0, 0x1 -BEGIN - ICON IDR_MAINFRAME,IDC_STATIC,14,14,21,20 - LTEXT "Util7248, Version 1.0",IDC_STATIC,42,14,114,8,SS_NOPREFIX - LTEXT "Copyright (C) 2010",IDC_STATIC,42,26,114,8 - DEFPUSHBUTTON "OK",IDOK,113,41,50,14,WS_GROUP -END - -IDD_UTIL7248_DIALOG DIALOGEX 0, 0, 673, 229 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU -EXSTYLE WS_EX_APPWINDOW -CAPTION " PCI-7248" -FONT 8, "MS Shell Dlg", 0, 0, 0x1 -BEGIN - ICON IDI_ICON_BLACK,IDC_ICON_PC0,617,44,20,20 - ICON IDI_ICON_BLACK,IDC_ICON_PC1,593,44,20,20 - ICON IDI_ICON_BLACK,IDC_ICON_PC2,569,44,20,20 - ICON IDI_ICON_BLACK,IDC_ICON_PC3,545,44,20,20 - ICON IDI_ICON_BLACK,IDC_ICON_PC4,305,44,20,20 - ICON IDI_ICON_BLACK,IDC_ICON_PC5,281,44,20,20 - ICON IDI_ICON_BLACK,IDC_ICON_PC6,257,44,20,20 - ICON IDI_ICON_BLACK,IDC_ICON_PC7,233,44,20,20 - ICON IDI_ICON_BLACK,IDC_ICON_PB0,509,44,20,20 - ICON IDI_ICON_BLACK,IDC_ICON_PB1,485,44,20,20 - ICON IDI_ICON_BLACK,IDC_ICON_PB2,461,44,20,20 - ICON IDI_ICON_BLACK,IDC_ICON_PB3,437,44,20,20 - ICON IDI_ICON_BLACK,IDC_ICON_PB4,413,44,20,20 - ICON IDI_ICON_BLACK,IDC_ICON_PB5,389,44,20,20 - ICON IDI_ICON_BLACK,IDC_ICON_PB6,365,44,20,20 - ICON IDI_ICON_BLACK,IDC_ICON_PB7,341,44,20,20 - ICON IDI_ICON_BLACK,IDC_ICON_PA0,197,44,20,20 - ICON IDI_ICON_BLACK,IDC_ICON_PA1,173,44,20,20 - ICON IDI_ICON_BLACK,IDC_ICON_PA2,149,44,20,20 - ICON IDI_ICON_BLACK,IDC_ICON_PA3,125,44,20,20 - ICON IDI_ICON_BLACK,IDC_ICON_PA4,101,44,20,20 - ICON IDI_ICON_BLACK,IDC_ICON_PA5,77,44,20,20 - ICON IDI_ICON_BLACK,IDC_ICON_PA6,53,44,20,20 - GROUPBOX "Port C (Lower)",IDC_STATIC,539,32,108,36 - GROUPBOX "Port C (Upper)",IDC_STATIC,227,32,108,36 - GROUPBOX "Port B",IDC_STATIC,335,32,204,36 - GROUPBOX "Port A",IDC_STATIC,23,32,204,36 - ICON IDI_ICON_BLACK,IDC_ICON_PA7,29,44,20,20 - CONTROL "",IDC_CHECK_PC0,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,630,156,21,20 - CONTROL "",IDC_CHECK_PC1,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,606,156,21,20 - CONTROL "",IDC_CHECK_PC2,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,582,156,21,20 - CONTROL "",IDC_CHECK_PC3,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,558,156,21,20 - CONTROL "",IDC_CHECK_PC4,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,312,156,21,20 - CONTROL "",IDC_CHECK_PC5,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,288,156,21,20 - CONTROL "",IDC_CHECK_PC6,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,264,156,21,20 - CONTROL "",IDC_CHECK_PC7,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,240,156,21,20 - CONTROL "",IDC_CHECK_PB0,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,516,156,21,20 - CONTROL "",IDC_CHECK_PB1,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,492,156,21,20 - CONTROL "",IDC_CHECK_PB2,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,468,156,21,20 - CONTROL "",IDC_CHECK_PB3,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,444,156,21,20 - CONTROL "",IDC_CHECK_PB4,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,420,156,21,20 - CONTROL "",IDC_CHECK_PB5,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,396,156,21,20 - CONTROL "",IDC_CHECK_PB6,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,372,156,21,20 - CONTROL "",IDC_CHECK_PB7,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,348,156,21,20 - CONTROL "",IDC_CHECK_PA0,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,204,156,21,20 - CONTROL "",IDC_CHECK_PA1,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,180,156,21,20 - CONTROL "",IDC_CHECK_PA2,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,156,156,21,20 - CONTROL "",IDC_CHECK_PA3,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,132,156,21,20 - CONTROL "",IDC_CHECK_PA4,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,108,156,21,20 - CONTROL "",IDC_CHECK_PA5,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,84,156,21,20 - CONTROL "",IDC_CHECK_PA6,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,60,156,21,20 - CONTROL "",IDC_CHECK_PA7,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,36,156,21,20 - GROUPBOX "Port A",IDC_STATIC,24,144,204,36 - GROUPBOX "Port C (Upper)",IDC_STATIC,228,144,108,36 - GROUPBOX "Port B",IDC_STATIC,336,144,204,36 - GROUPBOX "Port C (Lower)",IDC_STATIC,540,144,108,36 - COMBOBOX IDC_COMBO_IN_PA,113,76,108,18,CBS_DROPDOWN | WS_VSCROLL | WS_TABSTOP - COMBOBOX IDC_COMBO_OUT_PA,114,187,108,18,CBS_DROPDOWN | WS_VSCROLL | WS_TABSTOP - COMBOBOX IDC_COMBO_IN_PCH,227,76,108,18,CBS_DROPDOWN | WS_VSCROLL | WS_TABSTOP - COMBOBOX IDC_COMBO_OUT_PCH,228,187,108,18,CBS_DROPDOWN | WS_VSCROLL | WS_TABSTOP - COMBOBOX IDC_COMBO_IN_PB,425,76,108,18,CBS_DROPDOWN | WS_VSCROLL | WS_TABSTOP - COMBOBOX IDC_COMBO_OUT_PB,426,187,108,18,CBS_DROPDOWN | WS_VSCROLL | WS_TABSTOP - COMBOBOX IDC_COMBO_IN_PCL,539,76,108,18,CBS_DROPDOWN | WS_VSCROLL | WS_TABSTOP - COMBOBOX IDC_COMBO_OUT_PCL,540,187,108,18,CBS_DROPDOWN | WS_VSCROLL | WS_TABSTOP - LTEXT "OUTPUT PORTS:",IDC_LABEL_OUTPUT,18,132,57,13 - LTEXT "INPUT PORTS:",IDC_LABEL_INPUT2,15,21,57,13 -END - -IDD_CARDID_DIALOG DIALOGEX 0, 0, 187, 99 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "Card ID" -FONT 8, "MS Shell Dlg", 400, 0, 0x1 -BEGIN - COMBOBOX IDC_COMBO_CARDID,83,24,71,126,CBS_DROPDOWN | WS_VSCROLL | WS_TABSTOP - LTEXT "Card Number",IDC_STATIC_01,29,25,46,12 - PUSHBUTTON "OK",IDOK,30,57,58,19 - PUSHBUTTON "CANCEL",IDCANCEL,94,57,58,19 -END - - -///////////////////////////////////////////////////////////////////////////// -// -// Version -// - -VS_VERSION_INFO VERSIONINFO - FILEVERSION 1,0,0,1 - PRODUCTVERSION 1,0,0,1 - FILEFLAGSMASK 0x3fL -#ifdef _DEBUG - FILEFLAGS 0x1L -#else - FILEFLAGS 0x0L -#endif - FILEOS 0x4L - FILETYPE 0x1L - FILESUBTYPE 0x0L -BEGIN - BLOCK "StringFileInfo" - BEGIN - BLOCK "040904e4" - BEGIN - VALUE "CompanyName", "TODO: " - VALUE "FileDescription", "TODO: " - VALUE "FileVersion", "1.0.0.1" - VALUE "InternalName", "Util7248.exe" - VALUE "LegalCopyright", "TODO: (c) . All rights reserved." - VALUE "OriginalFilename", "Util7248.exe" - VALUE "ProductName", "TODO: " - VALUE "ProductVersion", "1.0.0.1" - END - END - BLOCK "VarFileInfo" - BEGIN - VALUE "Translation", 0x409, 1252 - END -END - - -///////////////////////////////////////////////////////////////////////////// -// -// DESIGNINFO -// - -#ifdef APSTUDIO_INVOKED -GUIDELINES DESIGNINFO -BEGIN - IDD_ABOUTBOX, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 163 - TOPMARGIN, 7 - BOTTOMMARGIN, 55 - END - - IDD_CARDID_DIALOG, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 180 - TOPMARGIN, 7 - BOTTOMMARGIN, 92 - END -END -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog Info -// - -IDD_CARDID_DIALOG DLGINIT -BEGIN - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0030, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0031, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0032, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0033, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0034, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0035, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0036, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0037, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0038, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0039, - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3031, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3131, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3231, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3331, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3431, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3531, "\000" - 0 -END - -IDD_UTIL7296_DIALOG DLGINIT -BEGIN - IDC_COMBO_IN_PA, 0x403, 12, 0 -0x6843, 0x6e61, 0x656e, 0x5f6c, 0x3150, 0x0041, - IDC_COMBO_IN_PA, 0x403, 12, 0 -0x6843, 0x6e61, 0x656e, 0x5f6c, 0x3250, 0x0041, - IDC_COMBO_IN_PA, 0x403, 12, 0 -0x6843, 0x6e61, 0x656e, 0x5f6c, 0x3350, 0x0041, - IDC_COMBO_IN_PA, 0x403, 12, 0 -0x6843, 0x6e61, 0x656e, 0x5f6c, 0x3450, 0x0041, - IDC_COMBO_OUT_PA, 0x403, 12, 0 -0x6843, 0x6e61, 0x656e, 0x5f6c, 0x3150, 0x0041, - IDC_COMBO_OUT_PA, 0x403, 12, 0 -0x6843, 0x6e61, 0x656e, 0x5f6c, 0x3250, 0x0041, - IDC_COMBO_OUT_PA, 0x403, 12, 0 -0x6843, 0x6e61, 0x656e, 0x5f6c, 0x3350, 0x0041, - IDC_COMBO_OUT_PA, 0x403, 12, 0 -0x6843, 0x6e61, 0x656e, 0x5f6c, 0x3450, 0x0041, - IDC_COMBO_IN_PCH, 0x403, 13, 0 -0x6843, 0x6e61, 0x656e, 0x5f6c, 0x3150, 0x4843, "\000" - IDC_COMBO_IN_PCH, 0x403, 13, 0 -0x6843, 0x6e61, 0x656e, 0x5f6c, 0x3250, 0x4843, "\000" - IDC_COMBO_IN_PCH, 0x403, 13, 0 -0x6843, 0x6e61, 0x656e, 0x5f6c, 0x3350, 0x4843, "\000" - IDC_COMBO_IN_PCH, 0x403, 13, 0 -0x6843, 0x6e61, 0x656e, 0x5f6c, 0x3450, 0x4843, "\000" - IDC_COMBO_OUT_PCH, 0x403, 13, 0 -0x6843, 0x6e61, 0x656e, 0x5f6c, 0x3150, 0x4843, "\000" - IDC_COMBO_OUT_PCH, 0x403, 13, 0 -0x6843, 0x6e61, 0x656e, 0x5f6c, 0x3250, 0x4843, "\000" - IDC_COMBO_OUT_PCH, 0x403, 13, 0 -0x6843, 0x6e61, 0x656e, 0x5f6c, 0x3350, 0x4843, "\000" - IDC_COMBO_OUT_PCH, 0x403, 13, 0 -0x6843, 0x6e61, 0x656e, 0x5f6c, 0x3450, 0x4843, "\000" - IDC_COMBO_IN_PB, 0x403, 12, 0 -0x6843, 0x6e61, 0x656e, 0x5f6c, 0x3150, 0x0042, - IDC_COMBO_IN_PB, 0x403, 12, 0 -0x6843, 0x6e61, 0x656e, 0x5f6c, 0x3250, 0x0042, - IDC_COMBO_IN_PB, 0x403, 12, 0 -0x6843, 0x6e61, 0x656e, 0x5f6c, 0x3350, 0x0042, - IDC_COMBO_IN_PB, 0x403, 12, 0 -0x6843, 0x6e61, 0x656e, 0x5f6c, 0x3450, 0x0042, - IDC_COMBO_OUT_PB, 0x403, 12, 0 -0x6843, 0x6e61, 0x656e, 0x5f6c, 0x3150, 0x0042, - IDC_COMBO_OUT_PB, 0x403, 12, 0 -0x6843, 0x6e61, 0x656e, 0x5f6c, 0x3250, 0x0042, - IDC_COMBO_OUT_PB, 0x403, 12, 0 -0x6843, 0x6e61, 0x656e, 0x5f6c, 0x3350, 0x0042, - IDC_COMBO_OUT_PB, 0x403, 12, 0 -0x6843, 0x6e61, 0x656e, 0x5f6c, 0x3450, 0x0042, - IDC_COMBO_IN_PCL, 0x403, 13, 0 -0x6843, 0x6e61, 0x656e, 0x5f6c, 0x3150, 0x4c43, "\000" - IDC_COMBO_IN_PCL, 0x403, 13, 0 -0x6843, 0x6e61, 0x656e, 0x5f6c, 0x3250, 0x4c43, "\000" - IDC_COMBO_IN_PCL, 0x403, 13, 0 -0x6843, 0x6e61, 0x656e, 0x5f6c, 0x3350, 0x4c43, "\000" - IDC_COMBO_IN_PCL, 0x403, 13, 0 -0x6843, 0x6e61, 0x656e, 0x5f6c, 0x3450, 0x4c43, "\000" - IDC_COMBO_OUT_PCL, 0x403, 13, 0 -0x6843, 0x6e61, 0x656e, 0x5f6c, 0x3150, 0x4c43, "\000" - IDC_COMBO_OUT_PCL, 0x403, 13, 0 -0x6843, 0x6e61, 0x656e, 0x5f6c, 0x3250, 0x4c43, "\000" - IDC_COMBO_OUT_PCL, 0x403, 13, 0 -0x6843, 0x6e61, 0x656e, 0x5f6c, 0x3350, 0x4c43, "\000" - IDC_COMBO_OUT_PCL, 0x403, 13, 0 -0x6843, 0x6e61, 0x656e, 0x5f6c, 0x3450, 0x4c43, "\000" - 0 -END - -IDD_UTIL7248_DIALOG DLGINIT -BEGIN - IDC_COMBO_IN_PA, 0x403, 12, 0 -0x6843, 0x6e61, 0x656e, 0x5f6c, 0x3150, 0x0041, - IDC_COMBO_IN_PA, 0x403, 12, 0 -0x6843, 0x6e61, 0x656e, 0x5f6c, 0x3250, 0x0041, - IDC_COMBO_OUT_PA, 0x403, 12, 0 -0x6843, 0x6e61, 0x656e, 0x5f6c, 0x3150, 0x0041, - IDC_COMBO_OUT_PA, 0x403, 12, 0 -0x6843, 0x6e61, 0x656e, 0x5f6c, 0x3250, 0x0041, - IDC_COMBO_IN_PCH, 0x403, 13, 0 -0x6843, 0x6e61, 0x656e, 0x5f6c, 0x3150, 0x4843, "\000" - IDC_COMBO_IN_PCH, 0x403, 13, 0 -0x6843, 0x6e61, 0x656e, 0x5f6c, 0x3250, 0x4843, "\000" - IDC_COMBO_OUT_PCH, 0x403, 13, 0 -0x6843, 0x6e61, 0x656e, 0x5f6c, 0x3150, 0x4843, "\000" - IDC_COMBO_OUT_PCH, 0x403, 13, 0 -0x6843, 0x6e61, 0x656e, 0x5f6c, 0x3250, 0x4843, "\000" - IDC_COMBO_IN_PB, 0x403, 12, 0 -0x6843, 0x6e61, 0x656e, 0x5f6c, 0x3150, 0x0042, - IDC_COMBO_IN_PB, 0x403, 12, 0 -0x6843, 0x6e61, 0x656e, 0x5f6c, 0x3250, 0x0042, - IDC_COMBO_OUT_PB, 0x403, 12, 0 -0x6843, 0x6e61, 0x656e, 0x5f6c, 0x3150, 0x0042, - IDC_COMBO_OUT_PB, 0x403, 12, 0 -0x6843, 0x6e61, 0x656e, 0x5f6c, 0x3250, 0x0042, - IDC_COMBO_IN_PCL, 0x403, 13, 0 -0x6843, 0x6e61, 0x656e, 0x5f6c, 0x3150, 0x4843, "\000" - IDC_COMBO_IN_PCL, 0x403, 13, 0 -0x6843, 0x6e61, 0x656e, 0x5f6c, 0x3250, 0x4843, "\000" - IDC_COMBO_OUT_PCL, 0x403, 13, 0 -0x6843, 0x6e61, 0x656e, 0x5f6c, 0x3150, 0x4843, "\000" - IDC_COMBO_OUT_PCL, 0x403, 13, 0 -0x6843, 0x6e61, 0x656e, 0x5f6c, 0x3250, 0x4843, "\000" - 0 -END - - -///////////////////////////////////////////////////////////////////////////// -// -// String Table -// - -STRINGTABLE -BEGIN - IDS_ABOUTBOX "&About Util7248..." -END - -#endif // English (U.S.) resources -///////////////////////////////////////////////////////////////////////////// - - - -#ifndef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 3 resource. -// -#define _AFX_NO_SPLITTER_RESOURCES -#define _AFX_NO_OLE_RESOURCES -#define _AFX_NO_TRACKER_RESOURCES -#define _AFX_NO_PROPERTY_RESOURCES - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -LANGUAGE 9, 1 -#pragma code_page(1252) -#include "res\Util7248.rc2" // non-Microsoft Visual C++ edited resources -#include "afxres.rc" // Standard components -#endif - -///////////////////////////////////////////////////////////////////////////// -#endif // not APSTUDIO_INVOKED - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7248/SDK7248/Util7248.sln b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7248/SDK7248/Util7248.sln deleted file mode 100644 index 1a0753b..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7248/SDK7248/Util7248.sln +++ /dev/null @@ -1,26 +0,0 @@ - -Microsoft Visual Studio Solution File, Format Version 10.00 -# Visual Studio 2008 -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "Util7248", "Util7248.vcproj", "{11C93783-381B-4560-B7FD-30502B5982B5}" -EndProject -Global - GlobalSection(SolutionConfigurationPlatforms) = preSolution - Debug|Win32 = Debug|Win32 - Debug|x64 = Debug|x64 - Release|Win32 = Release|Win32 - Release|x64 = Release|x64 - EndGlobalSection - GlobalSection(ProjectConfigurationPlatforms) = postSolution - {11C93783-381B-4560-B7FD-30502B5982B5}.Debug|Win32.ActiveCfg = Debug|Win32 - {11C93783-381B-4560-B7FD-30502B5982B5}.Debug|Win32.Build.0 = Debug|Win32 - {11C93783-381B-4560-B7FD-30502B5982B5}.Debug|x64.ActiveCfg = Debug|x64 - {11C93783-381B-4560-B7FD-30502B5982B5}.Debug|x64.Build.0 = Debug|x64 - {11C93783-381B-4560-B7FD-30502B5982B5}.Release|Win32.ActiveCfg = Release|Win32 - {11C93783-381B-4560-B7FD-30502B5982B5}.Release|Win32.Build.0 = Release|Win32 - {11C93783-381B-4560-B7FD-30502B5982B5}.Release|x64.ActiveCfg = Release|x64 - {11C93783-381B-4560-B7FD-30502B5982B5}.Release|x64.Build.0 = Release|x64 - EndGlobalSection - GlobalSection(SolutionProperties) = preSolution - HideSolutionNode = FALSE - EndGlobalSection -EndGlobal diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7248/SDK7248/Util7248.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7248/SDK7248/Util7248.suo deleted file mode 100644 index 94704a9..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7248/SDK7248/Util7248.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7248/SDK7248/Util7248.vcproj b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7248/SDK7248/Util7248.vcproj deleted file mode 100644 index 272f757..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7248/SDK7248/Util7248.vcproj +++ /dev/null @@ -1,487 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7248/SDK7248/Util7248Dlg.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7248/SDK7248/Util7248Dlg.cpp deleted file mode 100644 index 3f0a8cd..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7248/SDK7248/Util7248Dlg.cpp +++ /dev/null @@ -1,1337 +0,0 @@ - -// Util7248Dlg.cpp : implementation file -// - -#include "stdafx.h" -#include "Util7248.h" -#include "Util7248Dlg.h" - -#ifdef _DEBUG -#define new DEBUG_NEW -#endif - - -// CAboutDlg dialog used for App About - -class CAboutDlg : public CDialog -{ -public: - CAboutDlg(); - -// Dialog Data - enum { IDD = IDD_ABOUTBOX }; - - protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - -// Implementation -protected: - DECLARE_MESSAGE_MAP() -}; - -CAboutDlg::CAboutDlg() : CDialog(CAboutDlg::IDD) -{ -} - -void CAboutDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); -} - -BEGIN_MESSAGE_MAP(CAboutDlg, CDialog) -END_MESSAGE_MAP() - - -// CUtil7248Dlg dialog - - - - -CUtil7248Dlg::CUtil7248Dlg(I16 hCard, CWnd* pParent /*=NULL*/) - : CDialog(CUtil7248Dlg::IDD, pParent) -{ - m_hIcon = AfxGetApp()->LoadIcon(IDR_MAINFRAME); - - m_InPortA = Channel_P1A; - m_OutPortA = Channel_P2A; - m_InPortB = Channel_P1B; - m_OutPortB = Channel_P2B; - m_InPortCL = Channel_P1CL; - m_OutPortCL = Channel_P2CL; - m_InPortCH = Channel_P1CH; - m_OutPortCH = Channel_P2CH; - - m_InDataPortA = 0x00; - m_OutDataPortA = 0x00; - m_InDataPortB = 0x00; - m_OutDataPortB = 0x00; - m_InDataPortCL = 0x00; - m_OutDataPortCL = 0x00; - m_InDataPortCH = 0x00; - m_OutDataPortCH = 0x00; - - m_hCard = hCard; - m_nTimer = -1; -} - -void CUtil7248Dlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); - DDX_Control(pDX, IDC_ICON_PC0, m_Icon_PC0); - DDX_Control(pDX, IDC_ICON_PC1, m_Icon_PC1); - DDX_Control(pDX, IDC_ICON_PC2, m_Icon_PC2); - DDX_Control(pDX, IDC_ICON_PC3, m_Icon_PC3); - DDX_Control(pDX, IDC_ICON_PC4, m_Icon_PC4); - DDX_Control(pDX, IDC_ICON_PC5, m_Icon_PC5); - DDX_Control(pDX, IDC_ICON_PC6, m_Icon_PC6); - DDX_Control(pDX, IDC_ICON_PC7, m_Icon_PC7); - DDX_Control(pDX, IDC_ICON_PB0, m_Icon_PB0); - DDX_Control(pDX, IDC_ICON_PB1, m_Icon_PB1); - DDX_Control(pDX, IDC_ICON_PB2, m_Icon_PB2); - DDX_Control(pDX, IDC_ICON_PB3, m_Icon_PB3); - DDX_Control(pDX, IDC_ICON_PB4, m_Icon_PB4); - DDX_Control(pDX, IDC_ICON_PB5, m_Icon_PB5); - DDX_Control(pDX, IDC_ICON_PB6, m_Icon_PB6); - DDX_Control(pDX, IDC_ICON_PB7, m_Icon_PB7); - DDX_Control(pDX, IDC_ICON_PA0, m_Icon_PA0); - DDX_Control(pDX, IDC_ICON_PA1, m_Icon_PA1); - DDX_Control(pDX, IDC_ICON_PA2, m_Icon_PA2); - DDX_Control(pDX, IDC_ICON_PA3, m_Icon_PA3); - DDX_Control(pDX, IDC_ICON_PA4, m_Icon_PA4); - DDX_Control(pDX, IDC_ICON_PA5, m_Icon_PA5); - DDX_Control(pDX, IDC_ICON_PA6, m_Icon_PA6); - DDX_Control(pDX, IDC_ICON_PA7, m_Icon_PA7); - DDX_Control(pDX, IDC_COMBO_IN_PA, m_cbPortAIn); - DDX_Control(pDX, IDC_COMBO_IN_PB, m_cbPortBIn); - DDX_Control(pDX, IDC_COMBO_IN_PCL, m_cbPortCLIn); - DDX_Control(pDX, IDC_COMBO_IN_PCH, m_cbPortCHIn); - DDX_Control(pDX, IDC_COMBO_OUT_PA, m_cbPortAOut); - DDX_Control(pDX, IDC_COMBO_OUT_PB, m_cbPortBOut); - DDX_Control(pDX, IDC_COMBO_OUT_PCL, m_cbPortCLOut); - DDX_Control(pDX, IDC_COMBO_OUT_PCH, m_cbPortCHOut); -} - -BEGIN_MESSAGE_MAP(CUtil7248Dlg, CDialog) - ON_WM_SYSCOMMAND() - ON_WM_PAINT() - ON_WM_QUERYDRAGICON() - //}}AFX_MSG_MAP - ON_CBN_SELCHANGE(IDC_COMBO_IN_PA, &CUtil7248Dlg::OnInPASelchange) - ON_CBN_SELCHANGE(IDC_COMBO_OUT_PA, &CUtil7248Dlg::OnOutPASelchange) - ON_CBN_SELCHANGE(IDC_COMBO_IN_PB, &CUtil7248Dlg::OnInPBSelchange) - ON_CBN_SELCHANGE(IDC_COMBO_OUT_PB, &CUtil7248Dlg::OnOutPBSelchange) - ON_CBN_SELCHANGE(IDC_COMBO_IN_PCH, &CUtil7248Dlg::OnInPCHSelchange) - ON_CBN_SELCHANGE(IDC_COMBO_OUT_PCH, &CUtil7248Dlg::OnOutPCHSelchange) - ON_CBN_SELCHANGE(IDC_COMBO_IN_PCL, &CUtil7248Dlg::OnInPCLSelchange) - ON_CBN_SELCHANGE(IDC_COMBO_OUT_PCL, &CUtil7248Dlg::OnOutPCLSelchange) - ON_WM_DESTROY() - ON_WM_TIMER() - ON_BN_CLICKED(IDC_CHECK_PC0, &CUtil7248Dlg::OnOutputPC0) - ON_BN_CLICKED(IDC_CHECK_PC1, &CUtil7248Dlg::OnOutputPC1) - ON_BN_CLICKED(IDC_CHECK_PC2, &CUtil7248Dlg::OnOutputPC2) - ON_BN_CLICKED(IDC_CHECK_PC3, &CUtil7248Dlg::OnOutputPC3) - ON_BN_CLICKED(IDC_CHECK_PC4, &CUtil7248Dlg::OnOutputPC4) - ON_BN_CLICKED(IDC_CHECK_PC5, &CUtil7248Dlg::OnOutputPC5) - ON_BN_CLICKED(IDC_CHECK_PC6, &CUtil7248Dlg::OnOutputPC6) - ON_BN_CLICKED(IDC_CHECK_PC7, &CUtil7248Dlg::OnOutputPC7) - ON_BN_CLICKED(IDC_CHECK_PB0, &CUtil7248Dlg::OnOutputPB0) - ON_BN_CLICKED(IDC_CHECK_PB1, &CUtil7248Dlg::OnOutputPB1) - ON_BN_CLICKED(IDC_CHECK_PB2, &CUtil7248Dlg::OnOutputPB2) - ON_BN_CLICKED(IDC_CHECK_PB3, &CUtil7248Dlg::OnOutputPB3) - ON_BN_CLICKED(IDC_CHECK_PB4, &CUtil7248Dlg::OnOutputPB4) - ON_BN_CLICKED(IDC_CHECK_PB5, &CUtil7248Dlg::OnOutputPB5) - ON_BN_CLICKED(IDC_CHECK_PB6, &CUtil7248Dlg::OnOutputPB6) - ON_BN_CLICKED(IDC_CHECK_PB7, &CUtil7248Dlg::OnOutputPB7) - ON_BN_CLICKED(IDC_CHECK_PA0, &CUtil7248Dlg::OnOutputPA0) - ON_BN_CLICKED(IDC_CHECK_PA1, &CUtil7248Dlg::OnOutputPA1) - ON_BN_CLICKED(IDC_CHECK_PA2, &CUtil7248Dlg::OnOutputPA2) - ON_BN_CLICKED(IDC_CHECK_PA3, &CUtil7248Dlg::OnOutputPA3) - ON_BN_CLICKED(IDC_CHECK_PA4, &CUtil7248Dlg::OnOutputPA4) - ON_BN_CLICKED(IDC_CHECK_PA5, &CUtil7248Dlg::OnOutputPA5) - ON_BN_CLICKED(IDC_CHECK_PA6, &CUtil7248Dlg::OnOutputPA6) - ON_BN_CLICKED(IDC_CHECK_PA7, &CUtil7248Dlg::OnOutputPA7) - ON_WM_CTLCOLOR() -END_MESSAGE_MAP() - - -// CUtil7248Dlg message handlers - -BOOL CUtil7248Dlg::OnInitDialog() -{ - CDialog::OnInitDialog(); - - // Add "About..." menu item to system menu. - - // IDM_ABOUTBOX must be in the system command range. - ASSERT((IDM_ABOUTBOX & 0xFFF0) == IDM_ABOUTBOX); - ASSERT(IDM_ABOUTBOX < 0xF000); - - CMenu* pSysMenu = GetSystemMenu(FALSE); - if (pSysMenu != NULL) - { - BOOL bNameValid; - CString strAboutMenu; - bNameValid = strAboutMenu.LoadString(IDS_ABOUTBOX); - ASSERT(bNameValid); - if (!strAboutMenu.IsEmpty()) - { - pSysMenu->AppendMenu(MF_SEPARATOR); - pSysMenu->AppendMenu(MF_STRING, IDM_ABOUTBOX, strAboutMenu); - } - } - - // Set the icon for this dialog. The framework does this automatically - // when the application's main window is not a dialog - SetIcon(m_hIcon, TRUE); // Set big icon - SetIcon(m_hIcon, FALSE); // Set small icon - - // TODO: Add extra initialization here - m_cbPortAIn.SetCurSel(0); - m_cbPortBIn.SetCurSel(0); - m_cbPortCLIn.SetCurSel(0); - m_cbPortCHIn.SetCurSel(0); - - m_cbPortAOut.SetCurSel(1); - m_cbPortBOut.SetCurSel(1); - m_cbPortCLOut.SetCurSel(1); - m_cbPortCHOut.SetCurSel(1); - - // Port Configuration - DIO_PortConfig(m_hCard, m_InPortA, INPUT_PORT); - DIO_PortConfig(m_hCard, m_OutPortA, OUTPUT_PORT); - DIO_PortConfig(m_hCard, m_InPortB, INPUT_PORT); - DIO_PortConfig(m_hCard, m_OutPortB, OUTPUT_PORT); - DIO_PortConfig(m_hCard, m_InPortCH, INPUT_PORT); - DIO_PortConfig(m_hCard, m_OutPortCH, OUTPUT_PORT); - DIO_PortConfig(m_hCard, m_InPortCL, INPUT_PORT); - DIO_PortConfig(m_hCard, m_OutPortCL, OUTPUT_PORT); - - DO_WritePort( m_hCard, m_OutPortA, m_OutDataPortA ); - DO_WritePort( m_hCard, m_OutPortB, m_OutDataPortB ); - DO_WritePort( m_hCard, m_OutPortCL, m_OutDataPortCL ); - DO_WritePort( m_hCard, m_OutPortCH, m_OutDataPortCH ); - - m_nTimer = SetTimer( 1, 50, NULL ); - - return TRUE; // return TRUE unless you set the focus to a control -} - -void CUtil7248Dlg::OnSysCommand(UINT nID, LPARAM lParam) -{ - if ((nID & 0xFFF0) == IDM_ABOUTBOX) - { - CAboutDlg dlgAbout; - dlgAbout.DoModal(); - } - else - { - CDialog::OnSysCommand(nID, lParam); - } -} - -// If you add a minimize button to your dialog, you will need the code below -// to draw the icon. For MFC applications using the document/view model, -// this is automatically done for you by the framework. - -void CUtil7248Dlg::OnPaint() -{ - if (IsIconic()) - { - CPaintDC dc(this); // device context for painting - - SendMessage(WM_ICONERASEBKGND, reinterpret_cast(dc.GetSafeHdc()), 0); - - // Center icon in client rectangle - int cxIcon = GetSystemMetrics(SM_CXICON); - int cyIcon = GetSystemMetrics(SM_CYICON); - CRect rect; - GetClientRect(&rect); - int x = (rect.Width() - cxIcon + 1) / 2; - int y = (rect.Height() - cyIcon + 1) / 2; - - // Draw the icon - dc.DrawIcon(x, y, m_hIcon); - } - else - { - CDialog::OnPaint(); - } -} - -// The system calls this function to obtain the cursor to display while the user drags -// the minimized window. -HCURSOR CUtil7248Dlg::OnQueryDragIcon() -{ - return static_cast(m_hIcon); -} - - -void CUtil7248Dlg::OnInPASelchange() -{ - // TODO: Add your control notification handler code here - U16 tmpInPA; - int nIndex; - - nIndex = m_cbPortAIn.GetCurSel(); - switch( nIndex ) - { - case 0: - tmpInPA = Channel_P1A; - break; - case 1: - tmpInPA = Channel_P2A; - break; - } - - - { - if( tmpInPA != m_InPortA ) - { // update m_InPortA and configure the target Port - m_InPortA = tmpInPA; - - DIO_PortConfig(m_hCard, m_InPortA, INPUT_PORT); - } - } - - -} - -void CUtil7248Dlg::OnOutPASelchange() -{ - // TODO: Add your control notification handler code here - U16 tmpOutPA; - int nIndex; - - nIndex = m_cbPortAOut.GetCurSel(); - switch( nIndex ) - { - case 0: - tmpOutPA = Channel_P1A; - break; - case 1: - tmpOutPA = Channel_P2A; - break; - - } - - - { - if( tmpOutPA != m_OutPortA ) - { // update m_InPortA and configure the target Port - m_OutPortA = tmpOutPA; - - DIO_PortConfig(m_hCard, m_OutPortA, OUTPUT_PORT); - // reset Output data - m_OutDataPortA = 0x00; - } - } - -} - -void CUtil7248Dlg::OnInPBSelchange() -{ - // TODO: Add your control notification handler code here - U16 tmpInPB; - int nIndex; - - nIndex = m_cbPortBIn.GetCurSel(); - switch( nIndex ) - { - case 0: - tmpInPB = Channel_P1B; - break; - case 1: - tmpInPB = Channel_P2B; - break; - } - - { - if( tmpInPB != m_InPortB ) - { // update m_InPortA and configure the target Port - m_InPortB = tmpInPB; - - DIO_PortConfig(m_hCard, m_InPortB, INPUT_PORT); - } - } -} - -void CUtil7248Dlg::OnOutPBSelchange() -{ - // TODO: Add your control notification handler code here - U16 tmpOutPB; - int nIndex; - - nIndex = m_cbPortBOut.GetCurSel(); - switch( nIndex ) - { - case 0: - tmpOutPB = Channel_P1B; - break; - case 1: - tmpOutPB = Channel_P2B; - break; - } - - { - if( tmpOutPB != m_OutPortB ) - { // update m_InPortA and configure the target Port - m_OutPortB = tmpOutPB; - - DIO_PortConfig(m_hCard, m_OutPortB, OUTPUT_PORT); - // reset Output data - m_OutDataPortB = 0x00; - - } - } -} - -void CUtil7248Dlg::OnInPCHSelchange() -{ - // TODO: Add your control notification handler code here - U16 tmpInPCH; - int nIndex; - - nIndex = m_cbPortCHIn.GetCurSel(); - switch( nIndex ) - { - case 0: - tmpInPCH = Channel_P1CH; - break; - case 1: - tmpInPCH = Channel_P2CH; - break; - } - - { - if( tmpInPCH != m_InPortCH ) - { // update m_InPortA and configure the target Port - m_InPortCH = tmpInPCH; - - DIO_PortConfig(m_hCard, m_InPortCH, INPUT_PORT); - } - } -} - -void CUtil7248Dlg::OnOutPCHSelchange() -{ - // TODO: Add your control notification handler code here - U16 tmpOutPCH; - int nIndex; - - nIndex = m_cbPortCHOut.GetCurSel(); - switch( nIndex ) - { - case 0: - tmpOutPCH = Channel_P1CH; - break; - case 1: - tmpOutPCH = Channel_P2CH; - break; - } - - { - if( tmpOutPCH != m_OutPortCH ) - { // update m_InPortA and configure the target Port - m_OutPortCH = tmpOutPCH; - - DIO_PortConfig(m_hCard, m_OutPortCH, OUTPUT_PORT); - // reset Output data - m_OutDataPortCH = 0x00; - - } - } -} - -void CUtil7248Dlg::OnInPCLSelchange() -{ - // TODO: Add your control notification handler code here - U16 tmpInPCL; - int nIndex; - - nIndex = m_cbPortCLIn.GetCurSel(); - switch( nIndex ) - { - case 0: - tmpInPCL = Channel_P1CL; - break; - case 1: - tmpInPCL = Channel_P2CL; - break; - } - - { - if( tmpInPCL != m_InPortCL ) - { // update m_InPortA and configure the target Port - m_InPortCL = tmpInPCL; - - DIO_PortConfig(m_hCard, m_InPortCL, INPUT_PORT); - } - } -} - -void CUtil7248Dlg::OnOutPCLSelchange() -{ - // TODO: Add your control notification handler code here - U16 tmpOutPCL; - int nIndex; - - nIndex = m_cbPortCLOut.GetCurSel(); - switch( nIndex ) - { - case 0: - tmpOutPCL = Channel_P1CL; - break; - case 1: - tmpOutPCL = Channel_P2CL; - break; - } - - { - if( tmpOutPCL != m_OutPortCL ) - { // update m_InPortA and configure the target Port - m_OutPortCL = tmpOutPCL; - - DIO_PortConfig(m_hCard, m_OutPortCL, OUTPUT_PORT); - // reset Output data - m_OutDataPortCL = 0x00; - } - } -} - -void CUtil7248Dlg::OnDestroy() -{ - CDialog::OnDestroy(); - - // TODO: Add your message handler code here - if( m_nTimer != -1 ) - { - KillTimer( m_nTimer ); - m_nTimer = -1; - } -} - -void CUtil7248Dlg::OnTimer(UINT_PTR nIDEvent) -{ - // TODO: Add your message handler code here and/or call default - - U32 dwPortData,dwChangeMask; - - - // process the InData of PortA - DI_ReadPort( m_hCard, m_InPortA, &dwPortData); - dwChangeMask = dwPortData ^ m_InDataPortA; - - if( dwChangeMask != 0x00 ) // Input had been changed - { - - m_InDataPortA = dwPortData; - - if( (dwChangeMask & 0x01) == 0x01 ) // if the target bit is changed - { - if( (dwPortData & 0x01) == 0x01 ) - { - m_Icon_PA0.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_PA0.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - - if( (dwChangeMask & 0x02) == 0x02 ) // if the target bit is changed - { - if( (dwPortData & 0x02) == 0x02 ) - { - m_Icon_PA1.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_PA1.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - if( (dwChangeMask & 0x04) == 0x04 ) // if the target bit is changed - { - if( (dwPortData & 0x04) == 0x04 ) - { - m_Icon_PA2.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_PA2.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - if( (dwChangeMask & 0x08) == 0x08 ) // if the target bit is changed - { - if( (dwPortData & 0x08) == 0x08 ) - { - m_Icon_PA3.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_PA3.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - if( (dwChangeMask & 0x10) == 0x10 ) // if the target bit is changed - { - if( (dwPortData & 0x10) == 0x10 ) - { - m_Icon_PA4.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_PA4.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - if( (dwChangeMask & 0x20) == 0x20 ) // if the target bit is changed - { - if( (dwPortData & 0x20) == 0x20 ) - { - m_Icon_PA5.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_PA5.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - if( (dwChangeMask & 0x40) == 0x40 ) // if the target bit is changed - { - if( (dwPortData & 0x40) == 0x40 ) - { - m_Icon_PA6.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_PA6.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - if( (dwChangeMask & 0x80) == 0x80 ) // if the target bit is changed - { - if( (dwPortData & 0x80) == 0x80 ) - { - m_Icon_PA7.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_PA7.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - - } - - - - // process the InData of PortB - DI_ReadPort( m_hCard, m_InPortB, &dwPortData); - dwChangeMask = dwPortData ^ m_InDataPortB; - - if( dwChangeMask != 0x00 ) // Input had been changed - { - - m_InDataPortB = dwPortData; - - if( (dwChangeMask & 0x01) == 0x01 ) // if the target bit is changed - { - if( (dwPortData & 0x01) == 0x01 ) - { - m_Icon_PB0.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_PB0.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - - if( (dwChangeMask & 0x02) == 0x02 ) // if the target bit is changed - { - if( (dwPortData & 0x02) == 0x02 ) - { - m_Icon_PB1.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_PB1.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - if( (dwChangeMask & 0x04) == 0x04 ) // if the target bit is changed - { - if( (dwPortData & 0x04) == 0x04 ) - { - m_Icon_PB2.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_PB2.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - if( (dwChangeMask & 0x08) == 0x08 ) // if the target bit is changed - { - if( (dwPortData & 0x08) == 0x08 ) - { - m_Icon_PB3.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_PB3.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - if( (dwChangeMask & 0x10) == 0x10 ) // if the target bit is changed - { - if( (dwPortData & 0x10) == 0x10 ) - { - m_Icon_PB4.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_PB4.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - if( (dwChangeMask & 0x20) == 0x20 ) // if the target bit is changed - { - if( (dwPortData & 0x20) == 0x20 ) - { - m_Icon_PB5.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_PB5.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - if( (dwChangeMask & 0x40) == 0x40 ) // if the target bit is changed - { - if( (dwPortData & 0x40) == 0x40 ) - { - m_Icon_PB6.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_PB6.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - if( (dwChangeMask & 0x80) == 0x80 ) // if the target bit is changed - { - if( (dwPortData & 0x80) == 0x80 ) - { - m_Icon_PB7.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_PB7.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - } - - - - // process the InData of PortC Lower - DI_ReadPort( m_hCard, m_InPortCL, &dwPortData); - dwChangeMask = dwPortData ^ m_InDataPortCL; - - if( dwChangeMask != 0x00 ) // Input had been changed - { - - m_InDataPortCL = dwPortData; - - if( (dwChangeMask & 0x01) == 0x01 ) // if the target bit is changed - { - if( (dwPortData & 0x01) == 0x01 ) - { - m_Icon_PC0.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_PC0.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - - if( (dwChangeMask & 0x02) == 0x02 ) // if the target bit is changed - { - if( (dwPortData & 0x02) == 0x02 ) - { - m_Icon_PC1.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_PC1.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - if( (dwChangeMask & 0x04) == 0x04 ) // if the target bit is changed - { - if( (dwPortData & 0x04) == 0x04 ) - { - m_Icon_PC2.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_PC2.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - if( (dwChangeMask & 0x08) == 0x08 ) // if the target bit is changed - { - if( (dwPortData & 0x08) == 0x08 ) - { - m_Icon_PC3.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_PC3.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - } - - - // process the InData of PortC Upper - DI_ReadPort( m_hCard, m_InPortCH, &dwPortData); - dwChangeMask = dwPortData ^ m_InDataPortCH; - - if( dwChangeMask != 0x00 ) // Input had been changed - { - - m_InDataPortCH = dwPortData; - - if( (dwChangeMask & 0x01) == 0x01 ) // if the target bit is changed - { - if( (dwPortData & 0x01) == 0x01 ) - { - m_Icon_PC4.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_PC4.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - if( (dwChangeMask & 0x02) == 0x02 ) // if the target bit is changed - { - if( (dwPortData & 0x02) == 0x02 ) - { - m_Icon_PC5.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_PC5.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - if( (dwChangeMask & 0x04) == 0x04 ) // if the target bit is changed - { - if( (dwPortData & 0x04) == 0x04 ) - { - m_Icon_PC6.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_PC6.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - if( (dwChangeMask & 0x08) == 0x08 ) // if the target bit is changed - { - if( (dwPortData & 0x08) == 0x08 ) - { - m_Icon_PC7.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_PC7.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - } - - - CDialog::OnTimer(nIDEvent); -} - -void CUtil7248Dlg::OnOutputPC0() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_PC0 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_OutDataPortCL |= 0x01; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_OutDataPortCL &= (~0x01); - } - - DO_WritePort( m_hCard, m_OutPortCL, m_OutDataPortCL ); - -} - -void CUtil7248Dlg::OnOutputPC1() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_PC1 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_OutDataPortCL |= 0x02; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_OutDataPortCL &= (~0x02); - } - - DO_WritePort( m_hCard, m_OutPortCL, m_OutDataPortCL ); -} - -void CUtil7248Dlg::OnOutputPC2() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_PC2 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_OutDataPortCL |= 0x04; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_OutDataPortCL &= (~0x04); - } - - DO_WritePort( m_hCard, m_OutPortCL, m_OutDataPortCL ); - -} - -void CUtil7248Dlg::OnOutputPC3() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_PC3 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_OutDataPortCL |= 0x08; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_OutDataPortCL &= (~0x08); - } - - DO_WritePort( m_hCard, m_OutPortCL, m_OutDataPortCL ); -} - -void CUtil7248Dlg::OnOutputPC4() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_PC4 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_OutDataPortCH |= 0x01; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_OutDataPortCH &= (~0x01); - } - - DO_WritePort( m_hCard, m_OutPortCH, m_OutDataPortCH ); - -} - -void CUtil7248Dlg::OnOutputPC5() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_PC5 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_OutDataPortCH |= 0x02; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_OutDataPortCH &= (~0x02); - } - - DO_WritePort( m_hCard, m_OutPortCH, m_OutDataPortCH ); -} - -void CUtil7248Dlg::OnOutputPC6() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_PC6 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_OutDataPortCH |= 0x04; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_OutDataPortCH &= (~0x04); - } - - DO_WritePort( m_hCard, m_OutPortCH, m_OutDataPortCH ); -} - -void CUtil7248Dlg::OnOutputPC7() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_PC7 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_OutDataPortCH |= 0x08; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_OutDataPortCH &= (~0x08); - } - - DO_WritePort( m_hCard, m_OutPortCH, m_OutDataPortCH ); -} - -void CUtil7248Dlg::OnOutputPB0() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_PB0 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_OutDataPortB |= 0x01; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_OutDataPortB &= (~0x01); - } - - DO_WritePort( m_hCard, m_OutPortB, m_OutDataPortB ); - -} - -void CUtil7248Dlg::OnOutputPB1() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_PB1 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_OutDataPortB |= 0x02; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_OutDataPortB &= (~0x02); - } - - DO_WritePort( m_hCard, m_OutPortB, m_OutDataPortB ); -} - -void CUtil7248Dlg::OnOutputPB2() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_PB2 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_OutDataPortB |= 0x04; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_OutDataPortB &= (~0x04); - } - - DO_WritePort( m_hCard, m_OutPortB, m_OutDataPortB ); -} - -void CUtil7248Dlg::OnOutputPB3() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_PB3 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_OutDataPortB |= 0x08; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_OutDataPortB &= (~0x08); - } - - DO_WritePort( m_hCard, m_OutPortB, m_OutDataPortB ); -} - -void CUtil7248Dlg::OnOutputPB4() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_PB4 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_OutDataPortB |= 0x10; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_OutDataPortB &= (~0x10); - } - - DO_WritePort( m_hCard, m_OutPortB, m_OutDataPortB ); -} - -void CUtil7248Dlg::OnOutputPB5() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_PB5 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_OutDataPortB |= 0x20; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_OutDataPortB &= (~0x20); - } - - DO_WritePort( m_hCard, m_OutPortB, m_OutDataPortB ); -} - -void CUtil7248Dlg::OnOutputPB6() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_PB6 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_OutDataPortB |= 0x40; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_OutDataPortB &= (~0x40); - } - - DO_WritePort( m_hCard, m_OutPortB, m_OutDataPortB ); -} - -void CUtil7248Dlg::OnOutputPB7() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_PB7 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_OutDataPortB |= 0x80; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_OutDataPortB &= (~0x80); - } - - DO_WritePort( m_hCard, m_OutPortB, m_OutDataPortB ); -} - -void CUtil7248Dlg::OnOutputPA0() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_PA0 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_OutDataPortA |= 0x01; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_OutDataPortA &= (~0x01); - } - - DO_WritePort( m_hCard, m_OutPortA, m_OutDataPortA ); -} - -void CUtil7248Dlg::OnOutputPA1() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_PA1 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_OutDataPortA |= 0x02; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_OutDataPortA &= (~0x02); - } - - DO_WritePort( m_hCard, m_OutPortA, m_OutDataPortA ); -} - -void CUtil7248Dlg::OnOutputPA2() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_PA2 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_OutDataPortA |= 0x04; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_OutDataPortA &= (~0x04); - } - - DO_WritePort( m_hCard, m_OutPortA, m_OutDataPortA ); -} - -void CUtil7248Dlg::OnOutputPA3() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_PA3 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_OutDataPortA |= 0x08; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_OutDataPortA &= (~0x08); - } - - DO_WritePort( m_hCard, m_OutPortA, m_OutDataPortA ); -} - -void CUtil7248Dlg::OnOutputPA4() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_PA4 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_OutDataPortA |= 0x10; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_OutDataPortA &= (~0x10); - } - - DO_WritePort( m_hCard, m_OutPortA, m_OutDataPortA ); -} - -void CUtil7248Dlg::OnOutputPA5() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_PA5 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_OutDataPortA |= 0x20; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_OutDataPortA &= (~0x20); - } - - DO_WritePort( m_hCard, m_OutPortA, m_OutDataPortA ); -} - -void CUtil7248Dlg::OnOutputPA6() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_PA6 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_OutDataPortA |= 0x40; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_OutDataPortA &= (~0x40); - } - - DO_WritePort( m_hCard, m_OutPortA, m_OutDataPortA ); -} - -void CUtil7248Dlg::OnOutputPA7() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_PA7 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_OutDataPortA |= 0x80; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_OutDataPortA &= (~0x80); - } - - DO_WritePort( m_hCard, m_OutPortA, m_OutDataPortA ); -} - -HBRUSH CUtil7248Dlg::OnCtlColor(CDC* pDC, CWnd* pWnd, UINT nCtlColor) -{ - HBRUSH hbr = CDialog::OnCtlColor(pDC, pWnd, nCtlColor); - - // TODO: Change any attributes of the DC here - if ( pWnd->GetDlgCtrlID() == IDC_LABEL_INPUT2 ) - pDC->SetTextColor(RGB(255,0,0)); - - if ( pWnd->GetDlgCtrlID() == IDC_LABEL_OUTPUT ) - pDC->SetTextColor(RGB(255,0,0)); - - // TODO: Return a different brush if the default is not desired - return hbr; -} diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7248/SDK7248/Util7248Dlg.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7248/SDK7248/Util7248Dlg.h deleted file mode 100644 index 970d95c..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7248/SDK7248/Util7248Dlg.h +++ /dev/null @@ -1,121 +0,0 @@ - -// Util7248Dlg.h : header file -// - -#include "Dask64.h" - -#pragma once - - -// CUtil7248Dlg dialog -class CUtil7248Dlg : public CDialog -{ -// Construction -public: - CUtil7248Dlg(I16 hCard, CWnd* pParent = NULL); // standard constructor - -// Dialog Data - enum { IDD = IDD_UTIL7248_DIALOG }; - - protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - - -// Implementation -protected: - HICON m_hIcon; - UINT_PTR m_nTimer; - I16 m_hCard; - U16 m_InPortA; - U16 m_OutPortA; - U16 m_InPortB; - U16 m_OutPortB; - U16 m_InPortCL; - U16 m_OutPortCL; - U16 m_InPortCH; - U16 m_OutPortCH; - U32 m_InDataPortA; - U32 m_OutDataPortA; - U32 m_InDataPortB; - U32 m_OutDataPortB; - U32 m_InDataPortCL; - U32 m_OutDataPortCL; - U32 m_InDataPortCH; - U32 m_OutDataPortCH; - -public: - CStatic m_Icon_PC0; - CStatic m_Icon_PC1; - CStatic m_Icon_PC2; - CStatic m_Icon_PC3; - CStatic m_Icon_PC4; - CStatic m_Icon_PC5; - CStatic m_Icon_PC6; - CStatic m_Icon_PC7; - CStatic m_Icon_PB0; - CStatic m_Icon_PB1; - CStatic m_Icon_PB2; - CStatic m_Icon_PB3; - CStatic m_Icon_PB4; - CStatic m_Icon_PB5; - CStatic m_Icon_PB6; - CStatic m_Icon_PB7; - CStatic m_Icon_PA0; - CStatic m_Icon_PA1; - CStatic m_Icon_PA2; - CStatic m_Icon_PA3; - CStatic m_Icon_PA4; - CStatic m_Icon_PA5; - CStatic m_Icon_PA6; - CStatic m_Icon_PA7; - CComboBox m_cbPortAIn; - CComboBox m_cbPortBIn; - CComboBox m_cbPortCLIn; - CComboBox m_cbPortCHIn; - CComboBox m_cbPortAOut; - CComboBox m_cbPortBOut; - CComboBox m_cbPortCLOut; - CComboBox m_cbPortCHOut; - - // Generated message map functions - virtual BOOL OnInitDialog(); - afx_msg void OnSysCommand(UINT nID, LPARAM lParam); - afx_msg void OnPaint(); - afx_msg HCURSOR OnQueryDragIcon(); - DECLARE_MESSAGE_MAP() - afx_msg void OnInPASelchange(); - afx_msg void OnOutPASelchange(); - afx_msg void OnInPBSelchange(); - afx_msg void OnOutPBSelchange(); - afx_msg void OnInPCHSelchange(); - afx_msg void OnOutPCHSelchange(); - afx_msg void OnInPCLSelchange(); - afx_msg void OnOutPCLSelchange(); - afx_msg void OnDestroy(); - afx_msg void OnTimer(UINT_PTR nIDEvent); - afx_msg void OnOutputPC0(); - afx_msg void OnOutputPC1(); - afx_msg void OnOutputPC2(); - afx_msg void OnOutputPC3(); - afx_msg void OnOutputPC4(); - afx_msg void OnOutputPC5(); - afx_msg void OnOutputPC6(); - afx_msg void OnOutputPC7(); - afx_msg void OnOutputPB0(); - afx_msg void OnOutputPB1(); - afx_msg void OnOutputPB2(); - afx_msg void OnOutputPB3(); - afx_msg void OnOutputPB4(); - afx_msg void OnOutputPB5(); - afx_msg void OnOutputPB6(); - afx_msg void OnOutputPB7(); - afx_msg void OnOutputPA0(); - afx_msg void OnOutputPA1(); - afx_msg void OnOutputPA2(); - afx_msg void OnOutputPA3(); - afx_msg void OnOutputPA4(); - afx_msg void OnOutputPA5(); - afx_msg void OnOutputPA6(); - afx_msg void OnOutputPA7(); - afx_msg HBRUSH OnCtlColor(CDC* pDC, CWnd* pWnd, UINT nCtlColor); -}; diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7248/SDK7248/Util7296.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7248/SDK7248/Util7296.suo deleted file mode 100644 index fd63af2..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7248/SDK7248/Util7296.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7248/SDK7248/res/Util7248.ico b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7248/SDK7248/res/Util7248.ico deleted file mode 100644 index d56fbcd..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7248/SDK7248/res/Util7248.ico and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7248/SDK7248/res/Util7248.rc2 b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7248/SDK7248/res/Util7248.rc2 deleted file mode 100644 index 22f3a20..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7248/SDK7248/res/Util7248.rc2 +++ /dev/null @@ -1,13 +0,0 @@ -// -// Util7296.RC2 - resources Microsoft Visual C++ does not edit directly -// - -#ifdef APSTUDIO_INVOKED -#error this file is not editable by Microsoft Visual C++ -#endif //APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// Add manually edited resources here... - -///////////////////////////////////////////////////////////////////////////// diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7248/SDK7248/res/black.ico b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7248/SDK7248/res/black.ico deleted file mode 100644 index b5c375f..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7248/SDK7248/res/black.ico and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7248/SDK7248/res/blue.ico b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7248/SDK7248/res/blue.ico deleted file mode 100644 index 1df4b39..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7248/SDK7248/res/blue.ico and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7248/SDK7248/res/green.ico b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7248/SDK7248/res/green.ico deleted file mode 100644 index d9a9fd3..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7248/SDK7248/res/green.ico and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7248/SDK7248/res/pink.ico b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7248/SDK7248/res/pink.ico deleted file mode 100644 index 18bdaad..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7248/SDK7248/res/pink.ico and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7248/SDK7248/res/red.ico b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7248/SDK7248/res/red.ico deleted file mode 100644 index 7644596..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7248/SDK7248/res/red.ico and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7248/SDK7248/res/yellow.ico b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7248/SDK7248/res/yellow.ico deleted file mode 100644 index 3449de2..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7248/SDK7248/res/yellow.ico and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7248/SDK7248/resource.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7248/SDK7248/resource.h deleted file mode 100644 index d760bb9..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7248/SDK7248/resource.h +++ /dev/null @@ -1,85 +0,0 @@ -//{{NO_DEPENDENCIES}} -// Microsoft Visual C++ generated include file. -// Used by Util7248.rc -// -#define IDM_ABOUTBOX 0x0010 -#define IDD_ABOUTBOX 100 -#define IDS_ABOUTBOX 101 -#define IDD_UTIL7248_DIALOG 102 -#define IDR_MAINFRAME 128 -#define IDI_ICON_BLACK 130 -#define IDI_ICON_RED 131 -#define IDI_ICON_GREEN 132 -#define IDD_CARDID_DIALOG 133 -#define IDC_COMBO_CARDID 1000 -#define IDC_CHECK_PC0 1002 -#define IDC_CHECK_PC1 1003 -#define IDC_CHECK_PC2 1004 -#define IDC_ICON_PC0 1005 -#define IDC_ICON_PC1 1006 -#define IDC_ICON_PC2 1007 -#define IDC_ICON_PC3 1008 -#define IDC_ICON_PC4 1009 -#define IDC_ICON_PC5 1010 -#define IDC_ICON_PC6 1011 -#define IDC_ICON_PC7 1012 -#define IDC_ICON_PB0 1013 -#define IDC_STATIC_01 1014 -#define IDC_ICON_PB1 1014 -#define IDC_ICON_PB2 1015 -#define IDC_ICON_PB3 1016 -#define IDC_ICON_PB4 1017 -#define IDC_ICON_PB5 1018 -#define IDC_ICON_PB6 1019 -#define IDC_ICON_PB7 1020 -#define IDC_ICON_PA0 1021 -#define IDC_ICON_PA1 1022 -#define IDC_ICON_PA2 1023 -#define IDC_ICON_PA3 1024 -#define IDC_ICON_PA4 1025 -#define IDC_ICON_PA5 1026 -#define IDC_ICON_PA6 1027 -#define IDC_ICON_PA7 1028 -#define IDC_CHECK_PC3 1029 -#define IDC_CHECK_PC4 1030 -#define IDC_CHECK_PC5 1031 -#define IDC_CHECK_PC6 1032 -#define IDC_CHECK_PC7 1033 -#define IDC_CHECK_PB0 1034 -#define IDC_CHECK_PB1 1035 -#define IDC_CHECK_PB2 1036 -#define IDC_CHECK_PB3 1037 -#define IDC_CHECK_PB4 1038 -#define IDC_CHECK_PB5 1039 -#define IDC_CHECK_PB6 1040 -#define IDC_CHECK_PB7 1041 -#define IDC_CHECK_PA0 1042 -#define IDC_CHECK_PA1 1043 -#define IDC_CHECK_PA2 1044 -#define IDC_CHECK_PA3 1045 -#define IDC_CHECK_PA4 1046 -#define IDC_CHECK_PA5 1047 -#define IDC_CHECK_PA6 1048 -#define IDC_CHECK_PA7 1049 -#define IDC_COMBO_IN_PA 1050 -#define IDC_COMBO_OUT_PA 1051 -#define IDC_COMBO_IN_PCH 1052 -#define IDC_COMBO_OUT_PCH 1053 -#define IDC_COMBO_IN_PB 1054 -#define IDC_COMBO_OUT_PB 1055 -#define IDC_COMBO_IN_PCL 1056 -#define IDC_COMBO_OUT_PCL 1057 -#define IDC_LABEL_INPUT 1058 -#define IDC_LABEL_OUTPUT 1058 -#define IDC_LABEL_INPUT2 1059 - -// Next default values for new objects -// -#ifdef APSTUDIO_INVOKED -#ifndef APSTUDIO_READONLY_SYMBOLS -#define _APS_NEXT_RESOURCE_VALUE 136 -#define _APS_NEXT_COMMAND_VALUE 32771 -#define _APS_NEXT_CONTROL_VALUE 1059 -#define _APS_NEXT_SYMED_VALUE 101 -#endif -#endif diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7248/SDK7248/stdafx.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7248/SDK7248/stdafx.cpp deleted file mode 100644 index a1687c7..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7248/SDK7248/stdafx.cpp +++ /dev/null @@ -1,8 +0,0 @@ - -// stdafx.cpp : source file that includes just the standard includes -// Util7248.pch will be the pre-compiled header -// stdafx.obj will contain the pre-compiled type information - -#include "stdafx.h" - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7248/SDK7248/stdafx.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7248/SDK7248/stdafx.h deleted file mode 100644 index 12123e2..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7248/SDK7248/stdafx.h +++ /dev/null @@ -1,60 +0,0 @@ - -// stdafx.h : include file for standard system include files, -// or project specific include files that are used frequently, -// but are changed infrequently - -#pragma once - -#ifndef _SECURE_ATL -#define _SECURE_ATL 1 -#endif - -#ifndef VC_EXTRALEAN -#define VC_EXTRALEAN // Exclude rarely-used stuff from Windows headers -#endif - -#include "targetver.h" - -#define _ATL_CSTRING_EXPLICIT_CONSTRUCTORS // some CString constructors will be explicit - -// turns off MFC's hiding of some common and often safely ignored warning messages -#define _AFX_ALL_WARNINGS - -#include // MFC core and standard components -#include // MFC extensions - - -#include // MFC Automation classes - - - -#ifndef _AFX_NO_OLE_SUPPORT -#include // MFC support for Internet Explorer 4 Common Controls -#endif -#ifndef _AFX_NO_AFXCMN_SUPPORT -#include // MFC support for Windows Common Controls -#endif // _AFX_NO_AFXCMN_SUPPORT - -#include // MFC support for ribbons and control bars - - - - - - - - - -#ifdef _UNICODE -#if defined _M_IX86 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='x86' publicKeyToken='6595b64144ccf1df' language='*'\"") -#elif defined _M_IA64 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='ia64' publicKeyToken='6595b64144ccf1df' language='*'\"") -#elif defined _M_X64 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='amd64' publicKeyToken='6595b64144ccf1df' language='*'\"") -#else -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='*' publicKeyToken='6595b64144ccf1df' language='*'\"") -#endif -#endif - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7248/SDK7248/targetver.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7248/SDK7248/targetver.h deleted file mode 100644 index 11730d5..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7248/SDK7248/targetver.h +++ /dev/null @@ -1,26 +0,0 @@ - -#pragma once - -// The following macros define the minimum required platform. The minimum required platform -// is the earliest version of Windows, Internet Explorer etc. that has the necessary features to run -// your application. The macros work by enabling all features available on platform versions up to and -// including the version specified. - -// Modify the following defines if you have to target a platform prior to the ones specified below. -// Refer to MSDN for the latest info on corresponding values for different platforms. -#ifndef WINVER // Specifies that the minimum required platform is Windows Vista. -#define WINVER 0x0600 // Change this to the appropriate value to target other versions of Windows. -#endif - -#ifndef _WIN32_WINNT // Specifies that the minimum required platform is Windows Vista. -#define _WIN32_WINNT 0x0600 // Change this to the appropriate value to target other versions of Windows. -#endif - -#ifndef _WIN32_WINDOWS // Specifies that the minimum required platform is Windows 98. -#define _WIN32_WINDOWS 0x0410 // Change this to the appropriate value to target Windows Me or later. -#endif - -#ifndef _WIN32_IE // Specifies that the minimum required platform is Internet Explorer 7.0. -#define _WIN32_IE 0x0700 // Change this to the appropriate value to target other versions of IE. -#endif - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7248/SDK7248DbEvt/7248int2.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7248/SDK7248DbEvt/7248int2.cpp deleted file mode 100644 index 8055894..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7248/SDK7248DbEvt/7248int2.cpp +++ /dev/null @@ -1,79 +0,0 @@ - -// 7248int2.cpp : Defines the class behaviors for the application. -// - -#include "stdafx.h" -#include "7248int2.h" -#include "7248int2Dlg.h" - -#ifdef _DEBUG -#define new DEBUG_NEW -#endif - - -// CMy7248int2App - -BEGIN_MESSAGE_MAP(CMy7248int2App, CWinAppEx) - ON_COMMAND(ID_HELP, &CWinApp::OnHelp) -END_MESSAGE_MAP() - - -// CMy7248int2App construction - -CMy7248int2App::CMy7248int2App() -{ - // TODO: add construction code here, - // Place all significant initialization in InitInstance -} - - -// The one and only CMy7248int2App object - -CMy7248int2App theApp; - - -// CMy7248int2App initialization - -BOOL CMy7248int2App::InitInstance() -{ - // InitCommonControlsEx() is required on Windows XP if an application - // manifest specifies use of ComCtl32.dll version 6 or later to enable - // visual styles. Otherwise, any window creation will fail. - INITCOMMONCONTROLSEX InitCtrls; - InitCtrls.dwSize = sizeof(InitCtrls); - // Set this to include all the common control classes you want to use - // in your application. - InitCtrls.dwICC = ICC_WIN95_CLASSES; - InitCommonControlsEx(&InitCtrls); - - CWinAppEx::InitInstance(); - - AfxEnableControlContainer(); - - // Standard initialization - // If you are not using these features and wish to reduce the size - // of your final executable, you should remove from the following - // the specific initialization routines you do not need - // Change the registry key under which our settings are stored - // TODO: You should modify this string to be something appropriate - // such as the name of your company or organization - SetRegistryKey(_T("Local AppWizard-Generated Applications")); - - CMy7248int2Dlg dlg; - m_pMainWnd = &dlg; - INT_PTR nResponse = dlg.DoModal(); - if (nResponse == IDOK) - { - // TODO: Place code here to handle when the dialog is - // dismissed with OK - } - else if (nResponse == IDCANCEL) - { - // TODO: Place code here to handle when the dialog is - // dismissed with Cancel - } - - // Since the dialog has been closed, return FALSE so that we exit the - // application, rather than start the application's message pump. - return FALSE; -} diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7248/SDK7248DbEvt/7248int2.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7248/SDK7248DbEvt/7248int2.h deleted file mode 100644 index 6d6f640..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7248/SDK7248DbEvt/7248int2.h +++ /dev/null @@ -1,32 +0,0 @@ - -// 7248int2.h : main header file for the PROJECT_NAME application -// - -#pragma once - -#ifndef __AFXWIN_H__ - #error "include 'stdafx.h' before including this file for PCH" -#endif - -#include "resource.h" // main symbols - - -// CMy7248int2App: -// See 7248int2.cpp for the implementation of this class -// - -class CMy7248int2App : public CWinAppEx -{ -public: - CMy7248int2App(); - -// Overrides - public: - virtual BOOL InitInstance(); - -// Implementation - - DECLARE_MESSAGE_MAP() -}; - -extern CMy7248int2App theApp; \ No newline at end of file diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7248/SDK7248DbEvt/7248int2.rc b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7248/SDK7248DbEvt/7248int2.rc deleted file mode 100644 index 586339d..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7248/SDK7248DbEvt/7248int2.rc +++ /dev/null @@ -1,285 +0,0 @@ -// Microsoft Visual C++ generated resource script. -// -#include "resource.h" - -#define APSTUDIO_READONLY_SYMBOLS -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 2 resource. -// -#ifndef APSTUDIO_INVOKED -#include "targetver.h" -#endif -#include "afxres.h" - -///////////////////////////////////////////////////////////////////////////// -#undef APSTUDIO_READONLY_SYMBOLS - -///////////////////////////////////////////////////////////////////////////// -// Chinese (Taiwan) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_CHT) -#ifdef _WIN32 -LANGUAGE LANG_CHINESE, SUBLANG_CHINESE_TRADITIONAL -#pragma code_page(950) -#endif //_WIN32 - -#ifdef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// TEXTINCLUDE -// - -1 TEXTINCLUDE -BEGIN - "resource.h\0" -END - -2 TEXTINCLUDE -BEGIN - "#ifndef APSTUDIO_INVOKED\r\n" - "#include ""targetver.h""\r\n" - "#endif\r\n" - "#include ""afxres.h""\r\n" - "\0" -END - -3 TEXTINCLUDE -BEGIN - "#define _AFX_NO_SPLITTER_RESOURCES\r\n" - "#define _AFX_NO_OLE_RESOURCES\r\n" - "#define _AFX_NO_TRACKER_RESOURCES\r\n" - "#define _AFX_NO_PROPERTY_RESOURCES\r\n" - "\r\n" - "#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)\r\n" - "LANGUAGE 9, 1\r\n" - "#pragma code_page(1252)\r\n" - "#include ""res\\My7248int2.rc2"" // non-Microsoft Visual C++ edited resources\r\n" - "#include ""afxres.rc"" // Standard components\r\n" - "#endif\r\n" - "\0" -END - -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// Icon -// - -// Icon with lowest ID value placed first to ensure application icon -// remains consistent on all systems. -IDR_MAINFRAME ICON "res\\7248int2.ico" -#endif // Chinese (Taiwan) resources -///////////////////////////////////////////////////////////////////////////// - - -///////////////////////////////////////////////////////////////////////////// -// English (U.S.) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -#ifdef _WIN32 -LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US -#pragma code_page(1252) -#endif //_WIN32 - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog -// - -IDD_DIALOG_SETUP DIALOGEX 0, 0, 188, 112 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION -CAPTION "Setup Dialog" -FONT 8, "MS Shell Dlg", 400, 0, 0x1 -BEGIN - DEFPUSHBUTTON "OK",IDOK,48,84,50,14 - PUSHBUTTON "Cancel",IDCANCEL,105,84,50,14 - LTEXT "Card Number : ",IDC_STATIC,19,19,53,14 - LTEXT "Total Count : ",IDC_STATIC,19,39,53,14 - LTEXT "Sampling Rate : ",IDC_STATIC,19,57,53,14 - COMBOBOX IDC_COMBO_CARDNO,79,17,86,13,CBS_DROPDOWN | WS_VSCROLL | WS_TABSTOP - EDITTEXT IDC_EDIT_COUNT,79,36,85,14,ES_AUTOHSCROLL | ES_NUMBER - EDITTEXT IDC_EDIT_RATE,79,55,85,14,ES_AUTOHSCROLL | ES_NUMBER -END - -IDD_ABOUTBOX DIALOGEX 0, 0, 170, 62 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "About 7248int2" -FONT 8, "MS Shell Dlg", 0, 0, 0x1 -BEGIN - ICON IDR_MAINFRAME,IDC_STATIC,14,14,21,20 - LTEXT "7248int2, Version 1.0",IDC_STATIC,42,14,114,8,SS_NOPREFIX - LTEXT "Copyright (C) 2010",IDC_STATIC,42,26,114,8 - DEFPUSHBUTTON "OK",IDOK,113,41,50,14,WS_GROUP -END - -IDD_MY7248INT2_DIALOG DIALOGEX 0, 0, 273, 193 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_VISIBLE | WS_CAPTION -EXSTYLE WS_EX_APPWINDOW -CAPTION "7248 Dual Interrupt Sample" -FONT 8, "MS Shell Dlg", 0, 0, 0x1 -BEGIN - PUSHBUTTON "Exit",IDCANCEL,163,7,50,14 - PUSHBUTTON "Setup",IDC_BT_SETUP,7,7,53,14 - PUSHBUTTON "Interrupt Trigger",IDC_BT_TRIGGER,61,7,102,14,WS_DISABLED - LTEXT "This sample demonstrates how to use dual-interrupt lines.",IDC_STATIC,7,23,190,13 - LTEXT "The IRQ source of INT1 is P1C0.",IDC_STATIC,7,31,190,13 - LTEXT "The IRQ source of INT2 is internal Timer-output.",IDC_STATIC,7,39,190,13 - LTEXT "Using cable to connect CN1 and CN2\nClick 'Setup' button first ...",IDC_STATIC_04,7,50,125,22 - LTEXT "Data from Input port: \n** only shows at most 50 data **",IDC_STATIC_07,7,97,113,19,NOT WS_VISIBLE - LTEXT "INT1 Count =",IDC_STATIC_05,7,72,85,13 - LTEXT "INT2 Count =",IDC_STATIC_06,7,83,85,13 - LTEXT "",IDC_STATIC_LINE1,7,116,247,11 - LTEXT "",IDC_STATIC_LINE2,7,130,247,11 - LTEXT "",IDC_STATIC_LINE3,7,143,247,11 - LTEXT "",IDC_STATIC_LINE4,7,156,247,11 - LTEXT "",IDC_STATIC_LINE5,7,170,247,11 -END - - -///////////////////////////////////////////////////////////////////////////// -// -// DESIGNINFO -// - -#ifdef APSTUDIO_INVOKED -GUIDELINES DESIGNINFO -BEGIN - IDD_DIALOG_SETUP, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 181 - TOPMARGIN, 7 - BOTTOMMARGIN, 105 - END - - IDD_ABOUTBOX, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 163 - TOPMARGIN, 7 - BOTTOMMARGIN, 55 - END -END -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog Info -// - -IDD_DIALOG_SETUP DLGINIT -BEGIN - IDC_COMBO_CARDNO, 0x403, 2, 0 -0x0030, - IDC_COMBO_CARDNO, 0x403, 2, 0 -0x0031, - IDC_COMBO_CARDNO, 0x403, 2, 0 -0x0032, - IDC_COMBO_CARDNO, 0x403, 2, 0 -0x0033, - IDC_COMBO_CARDNO, 0x403, 2, 0 -0x0034, - IDC_COMBO_CARDNO, 0x403, 2, 0 -0x0035, - IDC_COMBO_CARDNO, 0x403, 2, 0 -0x0036, - IDC_COMBO_CARDNO, 0x403, 2, 0 -0x0037, - IDC_COMBO_CARDNO, 0x403, 2, 0 -0x0038, - IDC_COMBO_CARDNO, 0x403, 2, 0 -0x0039, - IDC_COMBO_CARDNO, 0x403, 3, 0 -0x3031, "\000" - IDC_COMBO_CARDNO, 0x403, 3, 0 -0x3131, "\000" - IDC_COMBO_CARDNO, 0x403, 3, 0 -0x3231, "\000" - IDC_COMBO_CARDNO, 0x403, 3, 0 -0x3331, "\000" - IDC_COMBO_CARDNO, 0x403, 3, 0 -0x3431, "\000" - IDC_COMBO_CARDNO, 0x403, 3, 0 -0x3531, "\000" - 0 -END - - -///////////////////////////////////////////////////////////////////////////// -// -// Version -// - -VS_VERSION_INFO VERSIONINFO - FILEVERSION 1,0,0,1 - PRODUCTVERSION 1,0,0,1 - FILEFLAGSMASK 0x3fL -#ifdef _DEBUG - FILEFLAGS 0x1L -#else - FILEFLAGS 0x0L -#endif - FILEOS 0x4L - FILETYPE 0x1L - FILESUBTYPE 0x0L -BEGIN - BLOCK "StringFileInfo" - BEGIN - BLOCK "040904e4" - BEGIN - VALUE "CompanyName", "TODO: " - VALUE "FileDescription", "TODO: " - VALUE "FileVersion", "1.0.0.1" - VALUE "InternalName", "7248int2.exe" - VALUE "LegalCopyright", "TODO: (c) . All rights reserved." - VALUE "OriginalFilename", "7248int2.exe" - VALUE "ProductName", "TODO: " - VALUE "ProductVersion", "1.0.0.1" - END - END - BLOCK "VarFileInfo" - BEGIN - VALUE "Translation", 0x409, 1252 - END -END - - -///////////////////////////////////////////////////////////////////////////// -// -// String Table -// - -STRINGTABLE -BEGIN - IDS_ABOUTBOX "&About 7248int2..." -END - -#endif // English (U.S.) resources -///////////////////////////////////////////////////////////////////////////// - - - -#ifndef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 3 resource. -// -#define _AFX_NO_SPLITTER_RESOURCES -#define _AFX_NO_OLE_RESOURCES -#define _AFX_NO_TRACKER_RESOURCES -#define _AFX_NO_PROPERTY_RESOURCES - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -LANGUAGE 9, 1 -#pragma code_page(1252) -#include "res\My7248int2.rc2" // non-Microsoft Visual C++ edited resources -#include "afxres.rc" // Standard components -#endif - -///////////////////////////////////////////////////////////////////////////// -#endif // not APSTUDIO_INVOKED - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7248/SDK7248DbEvt/7248int2.sln b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7248/SDK7248DbEvt/7248int2.sln deleted file mode 100644 index 850621b..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7248/SDK7248DbEvt/7248int2.sln +++ /dev/null @@ -1,26 +0,0 @@ - -Microsoft Visual Studio Solution File, Format Version 10.00 -# Visual Studio 2008 -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "7248int2", "7248int2.vcproj", "{36D327EC-F369-4F7C-BF2A-C66603E84831}" -EndProject -Global - GlobalSection(SolutionConfigurationPlatforms) = preSolution - Debug|Win32 = Debug|Win32 - Debug|x64 = Debug|x64 - Release|Win32 = Release|Win32 - Release|x64 = Release|x64 - EndGlobalSection - GlobalSection(ProjectConfigurationPlatforms) = postSolution - {36D327EC-F369-4F7C-BF2A-C66603E84831}.Debug|Win32.ActiveCfg = Debug|Win32 - {36D327EC-F369-4F7C-BF2A-C66603E84831}.Debug|Win32.Build.0 = Debug|Win32 - {36D327EC-F369-4F7C-BF2A-C66603E84831}.Debug|x64.ActiveCfg = Debug|x64 - {36D327EC-F369-4F7C-BF2A-C66603E84831}.Debug|x64.Build.0 = Debug|x64 - {36D327EC-F369-4F7C-BF2A-C66603E84831}.Release|Win32.ActiveCfg = Release|Win32 - {36D327EC-F369-4F7C-BF2A-C66603E84831}.Release|Win32.Build.0 = Release|Win32 - {36D327EC-F369-4F7C-BF2A-C66603E84831}.Release|x64.ActiveCfg = Release|x64 - {36D327EC-F369-4F7C-BF2A-C66603E84831}.Release|x64.Build.0 = Release|x64 - EndGlobalSection - GlobalSection(SolutionProperties) = preSolution - HideSolutionNode = FALSE - EndGlobalSection -EndGlobal diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7248/SDK7248DbEvt/7248int2.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7248/SDK7248DbEvt/7248int2.suo deleted file mode 100644 index 094e74f..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7248/SDK7248DbEvt/7248int2.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7248/SDK7248DbEvt/7248int2.vcproj b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7248/SDK7248DbEvt/7248int2.vcproj deleted file mode 100644 index 20f456f..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7248/SDK7248DbEvt/7248int2.vcproj +++ /dev/null @@ -1,469 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7248/SDK7248DbEvt/7248int2Dlg.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7248/SDK7248DbEvt/7248int2Dlg.cpp deleted file mode 100644 index 6ad325c..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7248/SDK7248DbEvt/7248int2Dlg.cpp +++ /dev/null @@ -1,403 +0,0 @@ - -// 7248int2Dlg.cpp : implementation file -// - -#include "stdafx.h" -#include "7248int2.h" -#include "7248int2Dlg.h" -#include "SetupDlg.h" - -#ifdef _DEBUG -#define new DEBUG_NEW -#endif - - -U32 gInBuffer[32768], gOutBuffer[32768]; -int gIntCount; -HANDLE ghIntEvent[2]; - -BOOLEAN gbExitThread; - -DWORD WINAPI IntThread( LPVOID lpParam ) -{ - while (gbExitThread == FALSE) - { - if (WaitForSingleObject(ghIntEvent[0], INFINITE) == WAIT_OBJECT_0) - { - gIntCount++; - ResetEvent(ghIntEvent[0]); - } - } - - return (DWORD) 0; -} - - -// CAboutDlg dialog used for App About - -class CAboutDlg : public CDialog -{ -public: - CAboutDlg(); - -// Dialog Data - enum { IDD = IDD_ABOUTBOX }; - - protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - -// Implementation -protected: - DECLARE_MESSAGE_MAP() -}; - -CAboutDlg::CAboutDlg() : CDialog(CAboutDlg::IDD) -{ -} - -void CAboutDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); -} - -BEGIN_MESSAGE_MAP(CAboutDlg, CDialog) -END_MESSAGE_MAP() - - -// CMy7248int2Dlg dialog - - - - -CMy7248int2Dlg::CMy7248int2Dlg(CWnd* pParent /*=NULL*/) - : CDialog(CMy7248int2Dlg::IDD, pParent) - , m_nCardIdx(-1) - , m_nSampleCount(-1) - , m_nSampleRate(-1) - , m_hCard(-1) - , m_hThread(NULL) -{ - m_hIcon = AfxGetApp()->LoadIcon(IDR_MAINFRAME); - m_nC1=10; m_nC2=10; - - ghIntEvent[0] = ghIntEvent[1] = NULL; - -} - -void CMy7248int2Dlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); -} - -BEGIN_MESSAGE_MAP(CMy7248int2Dlg, CDialog) - ON_WM_SYSCOMMAND() - ON_WM_PAINT() - ON_WM_QUERYDRAGICON() - //}}AFX_MSG_MAP - ON_WM_CTLCOLOR() - ON_BN_CLICKED(IDC_BT_SETUP, &CMy7248int2Dlg::OnBnClickedBtSetup) - ON_WM_DESTROY() - ON_BN_CLICKED(IDC_BT_TRIGGER, &CMy7248int2Dlg::OnBnClickedBtTrigger) -END_MESSAGE_MAP() - - -// CMy7248int2Dlg message handlers - -BOOL CMy7248int2Dlg::OnInitDialog() -{ - CDialog::OnInitDialog(); - - // Add "About..." menu item to system menu. - - // IDM_ABOUTBOX must be in the system command range. - ASSERT((IDM_ABOUTBOX & 0xFFF0) == IDM_ABOUTBOX); - ASSERT(IDM_ABOUTBOX < 0xF000); - - CMenu* pSysMenu = GetSystemMenu(FALSE); - if (pSysMenu != NULL) - { - BOOL bNameValid; - CString strAboutMenu; - bNameValid = strAboutMenu.LoadString(IDS_ABOUTBOX); - ASSERT(bNameValid); - if (!strAboutMenu.IsEmpty()) - { - pSysMenu->AppendMenu(MF_SEPARATOR); - pSysMenu->AppendMenu(MF_STRING, IDM_ABOUTBOX, strAboutMenu); - } - } - - // Set the icon for this dialog. The framework does this automatically - // when the application's main window is not a dialog - SetIcon(m_hIcon, TRUE); // Set big icon - SetIcon(m_hIcon, FALSE); // Set small icon - - // TODO: Add extra initialization here - - return TRUE; // return TRUE unless you set the focus to a control -} - -void CMy7248int2Dlg::OnSysCommand(UINT nID, LPARAM lParam) -{ - if ((nID & 0xFFF0) == IDM_ABOUTBOX) - { - CAboutDlg dlgAbout; - dlgAbout.DoModal(); - } - else - { - CDialog::OnSysCommand(nID, lParam); - } -} - -// If you add a minimize button to your dialog, you will need the code below -// to draw the icon. For MFC applications using the document/view model, -// this is automatically done for you by the framework. - -void CMy7248int2Dlg::OnPaint() -{ - if (IsIconic()) - { - CPaintDC dc(this); // device context for painting - - SendMessage(WM_ICONERASEBKGND, reinterpret_cast(dc.GetSafeHdc()), 0); - - // Center icon in client rectangle - int cxIcon = GetSystemMetrics(SM_CXICON); - int cyIcon = GetSystemMetrics(SM_CYICON); - CRect rect; - GetClientRect(&rect); - int x = (rect.Width() - cxIcon + 1) / 2; - int y = (rect.Height() - cyIcon + 1) / 2; - - // Draw the icon - dc.DrawIcon(x, y, m_hIcon); - } - else - { - CDialog::OnPaint(); - } -} - -// The system calls this function to obtain the cursor to display while the user drags -// the minimized window. -HCURSOR CMy7248int2Dlg::OnQueryDragIcon() -{ - return static_cast(m_hIcon); -} - - -HBRUSH CMy7248int2Dlg::OnCtlColor(CDC* pDC, CWnd* pWnd, UINT nCtlColor) -{ - HBRUSH hbr = CDialog::OnCtlColor(pDC, pWnd, nCtlColor); - - // TODO: Change any attributes of the DC here - if ( pWnd->GetDlgCtrlID() == IDC_STATIC_04 ) - pDC->SetTextColor(RGB(255,0,0)); - - // TODO: Return a different brush if the default is not desired - return hbr; -} - -void CMy7248int2Dlg::OnBnClickedBtSetup() -{ - // TODO: Add your control notification handler code here - CSetupDlg setupDlg; - INT_PTR nResponse; - CString strTemp; - int i, k; - - nResponse = setupDlg.DoModal(); - if (nResponse == IDOK) - { - if( m_nCardIdx != setupDlg.m_nCardIdx ) - { - if( m_hCard != -1 ) - { - Release_Card( m_hCard ); - m_hCard = -1; - } - - m_nCardIdx = setupDlg.m_nCardIdx; - } - - - if( m_hCard == -1 ) - { - if ((m_hCard = Register_Card(PCI_7248, m_nCardIdx)) < 0) - { - strTemp.Format( TEXT("Register_Card Error = %d"), m_hCard); - AfxMessageBox( strTemp ); - - EndDialog(IDCANCEL); - return; - } - } - - m_nSampleCount = setupDlg.m_nSampleCount; - m_nSampleRate = setupDlg.m_nSampleRate; - - for ( i=0, k=0; i255) k=0; - - gInBuffer[i]=0; - } - gIntCount = 0; - - - DIO_PortConfig(m_hCard, Channel_P1A, INPUT_PORT); - DIO_PortConfig(m_hCard, Channel_P2A, OUTPUT_PORT); - DIO_PortConfig(m_hCard, Channel_P1C, INPUT_PORT); - DIO_PortConfig(m_hCard, Channel_P2C, OUTPUT_PORT); - - DIO_SetDualInterrupt(m_hCard, INT1_FP1C0, INT2_TIMER_COUNTER, ghIntEvent); - m_nC2 = 2000000/(m_nSampleRate*m_nC1); - - if(m_hThread == NULL ) - { - gbExitThread = FALSE; - m_hThread = CreateThread( NULL, // default security attributes - 0, // use default stack size - IntThread, // thread function name - NULL, // argument to thread function - 0, // use default creation flags - NULL); // returns the thread identifier - } - - GetDlgItem(IDC_BT_TRIGGER)->EnableWindow( TRUE ); - - - - } - else if (nResponse == IDCANCEL) - { - // TODO: Place code here to handle when the dialog is - // dismissed with Cancel - } -} - -void CMy7248int2Dlg::OnDestroy() -{ - CDialog::OnDestroy(); - - // TODO: Add your message handler code here - int i; - - - if( m_hThread != NULL ) - { - gbExitThread = TRUE; // termnate the IntThread - SetEvent( ghIntEvent[0] ); - - if (WaitForSingleObject(m_hThread, 5000) == WAIT_OBJECT_0) - { - CloseHandle( m_hThread ); - m_hThread = NULL; - } - } - - - if( m_hCard >= 0 ) - { - DIO_SetDualInterrupt(m_hCard, INT1_DISABLE, INT2_DISABLE, ghIntEvent); - - for (i=0; i<2; i++) - { - if(ghIntEvent[i]) - ResetEvent(ghIntEvent[i]); - } - - - Release_Card( m_hCard ); m_hCard = -1; - } - -} - -void CMy7248int2Dlg::OnBnClickedBtTrigger() -{ - // TODO: Add your control notification handler code here - int i, k; - CString strTemp; - CString strLine1, strLine2, strLine3, strLine4, strLine5; - - CTR_Setup(m_hCard, 1, RATE_GENERATOR, m_nC1, BIN); - CTR_Setup(m_hCard, 2, RATE_GENERATOR, m_nC2, BIN); - - k=0; i=0; - gIntCount = 0; - - while ( k < m_nSampleCount ) - { - if (WaitForSingleObject(ghIntEvent[1], 10000)== WAIT_OBJECT_0) - { - DO_WritePort( m_hCard, Channel_P2C, 1 ); - DO_WritePort (m_hCard, Channel_P2C, 0 ); - - strTemp.Format( TEXT("INT2 Count = %d "), k+1); - SetDlgItemText( IDC_STATIC_06, strTemp ); - - DO_WritePort( m_hCard, Channel_P2A, gOutBuffer[k]); - DI_ReadPort( m_hCard, Channel_P1A, &(gInBuffer[k]) ); - - //generate INT1 interrupt signal - strTemp.Format( TEXT("INT1 Count = %d "), gIntCount ); - SetDlgItemText( IDC_STATIC_05, strTemp ); - k++; - } - } - - CTR_Setup( m_hCard, 1, RATE_GENERATOR, 0, BIN); - CTR_Setup( m_hCard, 2, RATE_GENERATOR, 0, BIN); - - GetDlgItem(IDC_STATIC_07)->ShowWindow( SW_SHOW ); - - strLine1.Empty(); /// clear strLine1 - strLine2.Empty(); /// clear strLine2 - strLine3.Empty(); /// clear strLine3 - strLine4.Empty(); /// clear strLine4 - strLine5.Empty(); /// clear strLine5 - - for ( i=0; i=10 && i<20) - { - strLine2 += strTemp; - } - if(i>=20 && i<30) - { - strLine3 += strTemp; - } - if (i>=30 && i<40) - { - strLine4 += strTemp; - } - if (i>=40 && i<50) - { - strLine5 += strTemp; - } - } - - if( !strLine1.IsEmpty() ) - SetDlgItemText( IDC_STATIC_LINE1, strLine1 ); - - if( !strLine2.IsEmpty() ) - SetDlgItemText( IDC_STATIC_LINE2, strLine2 ); - - if( !strLine3.IsEmpty() ) - SetDlgItemText( IDC_STATIC_LINE3, strLine3 ); - - if( !strLine4.IsEmpty() ) - SetDlgItemText( IDC_STATIC_LINE4, strLine4 ); - - if( !strLine5.IsEmpty() ) - SetDlgItemText( IDC_STATIC_LINE5, strLine5 ); -} diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7248/SDK7248DbEvt/7248int2Dlg.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7248/SDK7248DbEvt/7248int2Dlg.h deleted file mode 100644 index a497812..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7248/SDK7248DbEvt/7248int2Dlg.h +++ /dev/null @@ -1,46 +0,0 @@ - -// 7248int2Dlg.h : header file -// -#include "Dask64.h" - -#pragma once - - -// CMy7248int2Dlg dialog -class CMy7248int2Dlg : public CDialog -{ -// Construction -public: - CMy7248int2Dlg(CWnd* pParent = NULL); // standard constructor - -// Dialog Data - enum { IDD = IDD_MY7248INT2_DIALOG }; - - protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - - -// Implementation -protected: - HICON m_hIcon; - int m_nCardIdx; - long m_nSampleCount; - long m_nSampleRate; - - I16 m_hCard; - int m_nC1; - int m_nC2; - HANDLE m_hThread; - - // Generated message map functions - virtual BOOL OnInitDialog(); - afx_msg void OnSysCommand(UINT nID, LPARAM lParam); - afx_msg void OnPaint(); - afx_msg HCURSOR OnQueryDragIcon(); - DECLARE_MESSAGE_MAP() -public: - afx_msg HBRUSH OnCtlColor(CDC* pDC, CWnd* pWnd, UINT nCtlColor); - afx_msg void OnBnClickedBtSetup(); - afx_msg void OnDestroy(); - afx_msg void OnBnClickedBtTrigger(); -}; diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7248/SDK7248DbEvt/7296int2.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7248/SDK7248DbEvt/7296int2.suo deleted file mode 100644 index 8411883..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7248/SDK7248DbEvt/7296int2.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7248/SDK7248DbEvt/ReadMe.txt b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7248/SDK7248DbEvt/ReadMe.txt deleted file mode 100644 index 971c152..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7248/SDK7248DbEvt/ReadMe.txt +++ /dev/null @@ -1,93 +0,0 @@ -================================================================================ - MICROSOFT FOUNDATION CLASS LIBRARY : 7248int2 Project Overview -=============================================================================== - -The application wizard has created this 7248int2 application for -you. This application not only demonstrates the basics of using the Microsoft -Foundation Classes but is also a starting point for writing your application. - -This file contains a summary of what you will find in each of the files that -make up your 7248int2 application. - -7248int2.vcproj - This is the main project file for VC++ projects generated using an application wizard. - It contains information about the version of Visual C++ that generated the file, and - information about the platforms, configurations, and project features selected with the - application wizard. - -7248int2.h - This is the main header file for the application. It includes other - project specific headers (including Resource.h) and declares the - CMy7248int2App application class. - -7248int2.cpp - This is the main application source file that contains the application - class CMy7248int2App. - -7248int2.rc - This is a listing of all of the Microsoft Windows resources that the - program uses. It includes the icons, bitmaps, and cursors that are stored - in the RES subdirectory. This file can be directly edited in Microsoft - Visual C++. Your project resources are in 1033. - -res\7248int2.ico - This is an icon file, which is used as the application's icon. This - icon is included by the main resource file 7248int2.rc. - -res\My7248int2.rc2 - This file contains resources that are not edited by Microsoft - Visual C++. You should place all resources not editable by - the resource editor in this file. - - -///////////////////////////////////////////////////////////////////////////// - -The application wizard creates one dialog class: - -7248int2Dlg.h, 7248int2Dlg.cpp - the dialog - These files contain your CMy7248int2Dlg class. This class defines - the behavior of your application's main dialog. The dialog's template is - in 7248int2.rc, which can be edited in Microsoft Visual C++. - - -///////////////////////////////////////////////////////////////////////////// - -Other Features: - -ActiveX Controls - The application includes support to use ActiveX controls. - -///////////////////////////////////////////////////////////////////////////// - -Other standard files: - -StdAfx.h, StdAfx.cpp - These files are used to build a precompiled header (PCH) file - named 7248int2.pch and a precompiled types file named StdAfx.obj. - -Resource.h - This is the standard header file, which defines new resource IDs. - Microsoft Visual C++ reads and updates this file. - -7248int2.manifest - Application manifest files are used by Windows XP to describe an applications - dependency on specific versions of Side-by-Side assemblies. The loader uses this - information to load the appropriate assembly from the assembly cache or private - from the application. The Application manifest maybe included for redistribution - as an external .manifest file that is installed in the same folder as the application - executable or it may be included in the executable in the form of a resource. -///////////////////////////////////////////////////////////////////////////// - -Other notes: - -The application wizard uses "TODO:" to indicate parts of the source code you -should add to or customize. - -If your application uses MFC in a shared DLL, you will need -to redistribute the MFC DLLs. If your application is in a language -other than the operating system's locale, you will also have to -redistribute the corresponding localized resources MFC90XXX.DLL. -For more information on both of these topics, please see the section on -redistributing Visual C++ applications in MSDN documentation. - -///////////////////////////////////////////////////////////////////////////// diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7248/SDK7248DbEvt/SetupDlg.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7248/SDK7248DbEvt/SetupDlg.cpp deleted file mode 100644 index 97e58f8..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7248/SDK7248DbEvt/SetupDlg.cpp +++ /dev/null @@ -1,63 +0,0 @@ -// SetupDlg.cpp : implementation file -// - -#include "stdafx.h" -#include "7248int2.h" -#include "SetupDlg.h" - - -// CSetupDlg dialog - -IMPLEMENT_DYNAMIC(CSetupDlg, CDialog) - -CSetupDlg::CSetupDlg(CWnd* pParent /*=NULL*/) - : CDialog(CSetupDlg::IDD, pParent) - , m_nSampleCount(40) - , m_nSampleRate(10000) -{ - -} - -CSetupDlg::~CSetupDlg() -{ -} - -void CSetupDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); - DDX_Control(pDX, IDC_COMBO_CARDNO, m_cbCardID); - DDX_Text(pDX, IDC_EDIT_COUNT, m_nSampleCount); - DDX_Text(pDX, IDC_EDIT_RATE, m_nSampleRate); - DDV_MinMaxLong(pDX, m_nSampleCount, 0, 32768); - DDV_MinMaxLong(pDX, m_nSampleRate, 0, 15000); -} - - -BEGIN_MESSAGE_MAP(CSetupDlg, CDialog) - ON_CBN_SELCHANGE(IDC_COMBO_CARDNO, &CSetupDlg::OnCardNoSelchange) -// ON_EN_CHANGE(IDC_EDIT_COUNT, &CSetupDlg::OnEnChangeEditCount) -END_MESSAGE_MAP() - - -// CSetupDlg message handlers - -BOOL CSetupDlg::OnInitDialog() -{ - CDialog::OnInitDialog(); - - // TODO: Add extra initialization here - m_cbCardID.SetCurSel(0); - m_nCardIdx = 0; - - - return TRUE; // return TRUE unless you set the focus to a control - // EXCEPTION: OCX Property Pages should return FALSE -} - -void CSetupDlg::OnCardNoSelchange() -{ - // TODO: Add your control notification handler code here - m_nCardIdx = m_cbCardID.GetCurSel(); - -} - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7248/SDK7248DbEvt/SetupDlg.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7248/SDK7248DbEvt/SetupDlg.h deleted file mode 100644 index 7b42abf..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7248/SDK7248DbEvt/SetupDlg.h +++ /dev/null @@ -1,30 +0,0 @@ -#pragma once -#include "afxwin.h" - - -// CSetupDlg dialog - -class CSetupDlg : public CDialog -{ - DECLARE_DYNAMIC(CSetupDlg) - -public: - CSetupDlg(CWnd* pParent = NULL); // standard constructor - virtual ~CSetupDlg(); - -// Dialog Data - enum { IDD = IDD_DIALOG_SETUP }; - -protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - - DECLARE_MESSAGE_MAP() -public: - CComboBox m_cbCardID; - virtual BOOL OnInitDialog(); - long m_nSampleCount; - long m_nSampleRate; - int m_nCardIdx; - afx_msg void OnCardNoSelchange(); -// afx_msg void OnEnChangeEditCount(); -}; diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7248/SDK7248DbEvt/res/7248int2.ico b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7248/SDK7248DbEvt/res/7248int2.ico deleted file mode 100644 index d56fbcd..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7248/SDK7248DbEvt/res/7248int2.ico and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7248/SDK7248DbEvt/res/My7248int2.rc2 b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7248/SDK7248DbEvt/res/My7248int2.rc2 deleted file mode 100644 index 1b53e51..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7248/SDK7248DbEvt/res/My7248int2.rc2 +++ /dev/null @@ -1,13 +0,0 @@ -// -// My7296int2.RC2 - resources Microsoft Visual C++ does not edit directly -// - -#ifdef APSTUDIO_INVOKED -#error this file is not editable by Microsoft Visual C++ -#endif //APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// Add manually edited resources here... - -///////////////////////////////////////////////////////////////////////////// diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7248/SDK7248DbEvt/resource.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7248/SDK7248DbEvt/resource.h deleted file mode 100644 index de2e2bb..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7248/SDK7248DbEvt/resource.h +++ /dev/null @@ -1,35 +0,0 @@ -//{{NO_DEPENDENCIES}} -// Microsoft Visual C++ generated include file. -// Used by 7248int2.rc -// -#define IDM_ABOUTBOX 0x0010 -#define IDD_ABOUTBOX 100 -#define IDS_ABOUTBOX 101 -#define IDD_MY7248INT2_DIALOG 102 -#define IDR_MAINFRAME 128 -#define IDD_DIALOG_SETUP 129 -#define IDC_BT_SETUP 1000 -#define IDC_BT_TRIGGER 1001 -#define IDC_STATIC_04 1002 -#define IDC_COMBO_CARDNO 1003 -#define IDC_EDIT_COUNT 1004 -#define IDC_EDIT_RATE 1005 -#define IDC_STATIC_07 1005 -#define IDC_STATIC_05 1006 -#define IDC_STATIC_06 1007 -#define IDC_STATIC_LINE1 1008 -#define IDC_STATIC_LINE2 1009 -#define IDC_STATIC_LINE3 1010 -#define IDC_STATIC_LINE4 1011 -#define IDC_STATIC_LINE5 1012 - -// Next default values for new objects -// -#ifdef APSTUDIO_INVOKED -#ifndef APSTUDIO_READONLY_SYMBOLS -#define _APS_NEXT_RESOURCE_VALUE 131 -#define _APS_NEXT_COMMAND_VALUE 32771 -#define _APS_NEXT_CONTROL_VALUE 1009 -#define _APS_NEXT_SYMED_VALUE 101 -#endif -#endif diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7248/SDK7248DbEvt/stdafx.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7248/SDK7248DbEvt/stdafx.cpp deleted file mode 100644 index 7562ac6..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7248/SDK7248DbEvt/stdafx.cpp +++ /dev/null @@ -1,8 +0,0 @@ - -// stdafx.cpp : source file that includes just the standard includes -// 7248int2.pch will be the pre-compiled header -// stdafx.obj will contain the pre-compiled type information - -#include "stdafx.h" - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7248/SDK7248DbEvt/stdafx.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7248/SDK7248DbEvt/stdafx.h deleted file mode 100644 index 12123e2..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7248/SDK7248DbEvt/stdafx.h +++ /dev/null @@ -1,60 +0,0 @@ - -// stdafx.h : include file for standard system include files, -// or project specific include files that are used frequently, -// but are changed infrequently - -#pragma once - -#ifndef _SECURE_ATL -#define _SECURE_ATL 1 -#endif - -#ifndef VC_EXTRALEAN -#define VC_EXTRALEAN // Exclude rarely-used stuff from Windows headers -#endif - -#include "targetver.h" - -#define _ATL_CSTRING_EXPLICIT_CONSTRUCTORS // some CString constructors will be explicit - -// turns off MFC's hiding of some common and often safely ignored warning messages -#define _AFX_ALL_WARNINGS - -#include // MFC core and standard components -#include // MFC extensions - - -#include // MFC Automation classes - - - -#ifndef _AFX_NO_OLE_SUPPORT -#include // MFC support for Internet Explorer 4 Common Controls -#endif -#ifndef _AFX_NO_AFXCMN_SUPPORT -#include // MFC support for Windows Common Controls -#endif // _AFX_NO_AFXCMN_SUPPORT - -#include // MFC support for ribbons and control bars - - - - - - - - - -#ifdef _UNICODE -#if defined _M_IX86 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='x86' publicKeyToken='6595b64144ccf1df' language='*'\"") -#elif defined _M_IA64 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='ia64' publicKeyToken='6595b64144ccf1df' language='*'\"") -#elif defined _M_X64 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='amd64' publicKeyToken='6595b64144ccf1df' language='*'\"") -#else -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='*' publicKeyToken='6595b64144ccf1df' language='*'\"") -#endif -#endif - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7248/SDK7248DbEvt/targetver.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7248/SDK7248DbEvt/targetver.h deleted file mode 100644 index 11730d5..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7248/SDK7248DbEvt/targetver.h +++ /dev/null @@ -1,26 +0,0 @@ - -#pragma once - -// The following macros define the minimum required platform. The minimum required platform -// is the earliest version of Windows, Internet Explorer etc. that has the necessary features to run -// your application. The macros work by enabling all features available on platform versions up to and -// including the version specified. - -// Modify the following defines if you have to target a platform prior to the ones specified below. -// Refer to MSDN for the latest info on corresponding values for different platforms. -#ifndef WINVER // Specifies that the minimum required platform is Windows Vista. -#define WINVER 0x0600 // Change this to the appropriate value to target other versions of Windows. -#endif - -#ifndef _WIN32_WINNT // Specifies that the minimum required platform is Windows Vista. -#define _WIN32_WINNT 0x0600 // Change this to the appropriate value to target other versions of Windows. -#endif - -#ifndef _WIN32_WINDOWS // Specifies that the minimum required platform is Windows 98. -#define _WIN32_WINDOWS 0x0410 // Change this to the appropriate value to target Windows Me or later. -#endif - -#ifndef _WIN32_IE // Specifies that the minimum required platform is Internet Explorer 7.0. -#define _WIN32_IE 0x0700 // Change this to the appropriate value to target other versions of IE. -#endif - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7248/SDK7248DbEvtMsg/7248int2.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7248/SDK7248DbEvtMsg/7248int2.cpp deleted file mode 100644 index 8055894..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7248/SDK7248DbEvtMsg/7248int2.cpp +++ /dev/null @@ -1,79 +0,0 @@ - -// 7248int2.cpp : Defines the class behaviors for the application. -// - -#include "stdafx.h" -#include "7248int2.h" -#include "7248int2Dlg.h" - -#ifdef _DEBUG -#define new DEBUG_NEW -#endif - - -// CMy7248int2App - -BEGIN_MESSAGE_MAP(CMy7248int2App, CWinAppEx) - ON_COMMAND(ID_HELP, &CWinApp::OnHelp) -END_MESSAGE_MAP() - - -// CMy7248int2App construction - -CMy7248int2App::CMy7248int2App() -{ - // TODO: add construction code here, - // Place all significant initialization in InitInstance -} - - -// The one and only CMy7248int2App object - -CMy7248int2App theApp; - - -// CMy7248int2App initialization - -BOOL CMy7248int2App::InitInstance() -{ - // InitCommonControlsEx() is required on Windows XP if an application - // manifest specifies use of ComCtl32.dll version 6 or later to enable - // visual styles. Otherwise, any window creation will fail. - INITCOMMONCONTROLSEX InitCtrls; - InitCtrls.dwSize = sizeof(InitCtrls); - // Set this to include all the common control classes you want to use - // in your application. - InitCtrls.dwICC = ICC_WIN95_CLASSES; - InitCommonControlsEx(&InitCtrls); - - CWinAppEx::InitInstance(); - - AfxEnableControlContainer(); - - // Standard initialization - // If you are not using these features and wish to reduce the size - // of your final executable, you should remove from the following - // the specific initialization routines you do not need - // Change the registry key under which our settings are stored - // TODO: You should modify this string to be something appropriate - // such as the name of your company or organization - SetRegistryKey(_T("Local AppWizard-Generated Applications")); - - CMy7248int2Dlg dlg; - m_pMainWnd = &dlg; - INT_PTR nResponse = dlg.DoModal(); - if (nResponse == IDOK) - { - // TODO: Place code here to handle when the dialog is - // dismissed with OK - } - else if (nResponse == IDCANCEL) - { - // TODO: Place code here to handle when the dialog is - // dismissed with Cancel - } - - // Since the dialog has been closed, return FALSE so that we exit the - // application, rather than start the application's message pump. - return FALSE; -} diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7248/SDK7248DbEvtMsg/7248int2.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7248/SDK7248DbEvtMsg/7248int2.h deleted file mode 100644 index 6d6f640..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7248/SDK7248DbEvtMsg/7248int2.h +++ /dev/null @@ -1,32 +0,0 @@ - -// 7248int2.h : main header file for the PROJECT_NAME application -// - -#pragma once - -#ifndef __AFXWIN_H__ - #error "include 'stdafx.h' before including this file for PCH" -#endif - -#include "resource.h" // main symbols - - -// CMy7248int2App: -// See 7248int2.cpp for the implementation of this class -// - -class CMy7248int2App : public CWinAppEx -{ -public: - CMy7248int2App(); - -// Overrides - public: - virtual BOOL InitInstance(); - -// Implementation - - DECLARE_MESSAGE_MAP() -}; - -extern CMy7248int2App theApp; \ No newline at end of file diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7248/SDK7248DbEvtMsg/7248int2.rc b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7248/SDK7248DbEvtMsg/7248int2.rc deleted file mode 100644 index 586339d..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7248/SDK7248DbEvtMsg/7248int2.rc +++ /dev/null @@ -1,285 +0,0 @@ -// Microsoft Visual C++ generated resource script. -// -#include "resource.h" - -#define APSTUDIO_READONLY_SYMBOLS -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 2 resource. -// -#ifndef APSTUDIO_INVOKED -#include "targetver.h" -#endif -#include "afxres.h" - -///////////////////////////////////////////////////////////////////////////// -#undef APSTUDIO_READONLY_SYMBOLS - -///////////////////////////////////////////////////////////////////////////// -// Chinese (Taiwan) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_CHT) -#ifdef _WIN32 -LANGUAGE LANG_CHINESE, SUBLANG_CHINESE_TRADITIONAL -#pragma code_page(950) -#endif //_WIN32 - -#ifdef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// TEXTINCLUDE -// - -1 TEXTINCLUDE -BEGIN - "resource.h\0" -END - -2 TEXTINCLUDE -BEGIN - "#ifndef APSTUDIO_INVOKED\r\n" - "#include ""targetver.h""\r\n" - "#endif\r\n" - "#include ""afxres.h""\r\n" - "\0" -END - -3 TEXTINCLUDE -BEGIN - "#define _AFX_NO_SPLITTER_RESOURCES\r\n" - "#define _AFX_NO_OLE_RESOURCES\r\n" - "#define _AFX_NO_TRACKER_RESOURCES\r\n" - "#define _AFX_NO_PROPERTY_RESOURCES\r\n" - "\r\n" - "#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)\r\n" - "LANGUAGE 9, 1\r\n" - "#pragma code_page(1252)\r\n" - "#include ""res\\My7248int2.rc2"" // non-Microsoft Visual C++ edited resources\r\n" - "#include ""afxres.rc"" // Standard components\r\n" - "#endif\r\n" - "\0" -END - -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// Icon -// - -// Icon with lowest ID value placed first to ensure application icon -// remains consistent on all systems. -IDR_MAINFRAME ICON "res\\7248int2.ico" -#endif // Chinese (Taiwan) resources -///////////////////////////////////////////////////////////////////////////// - - -///////////////////////////////////////////////////////////////////////////// -// English (U.S.) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -#ifdef _WIN32 -LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US -#pragma code_page(1252) -#endif //_WIN32 - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog -// - -IDD_DIALOG_SETUP DIALOGEX 0, 0, 188, 112 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION -CAPTION "Setup Dialog" -FONT 8, "MS Shell Dlg", 400, 0, 0x1 -BEGIN - DEFPUSHBUTTON "OK",IDOK,48,84,50,14 - PUSHBUTTON "Cancel",IDCANCEL,105,84,50,14 - LTEXT "Card Number : ",IDC_STATIC,19,19,53,14 - LTEXT "Total Count : ",IDC_STATIC,19,39,53,14 - LTEXT "Sampling Rate : ",IDC_STATIC,19,57,53,14 - COMBOBOX IDC_COMBO_CARDNO,79,17,86,13,CBS_DROPDOWN | WS_VSCROLL | WS_TABSTOP - EDITTEXT IDC_EDIT_COUNT,79,36,85,14,ES_AUTOHSCROLL | ES_NUMBER - EDITTEXT IDC_EDIT_RATE,79,55,85,14,ES_AUTOHSCROLL | ES_NUMBER -END - -IDD_ABOUTBOX DIALOGEX 0, 0, 170, 62 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "About 7248int2" -FONT 8, "MS Shell Dlg", 0, 0, 0x1 -BEGIN - ICON IDR_MAINFRAME,IDC_STATIC,14,14,21,20 - LTEXT "7248int2, Version 1.0",IDC_STATIC,42,14,114,8,SS_NOPREFIX - LTEXT "Copyright (C) 2010",IDC_STATIC,42,26,114,8 - DEFPUSHBUTTON "OK",IDOK,113,41,50,14,WS_GROUP -END - -IDD_MY7248INT2_DIALOG DIALOGEX 0, 0, 273, 193 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_VISIBLE | WS_CAPTION -EXSTYLE WS_EX_APPWINDOW -CAPTION "7248 Dual Interrupt Sample" -FONT 8, "MS Shell Dlg", 0, 0, 0x1 -BEGIN - PUSHBUTTON "Exit",IDCANCEL,163,7,50,14 - PUSHBUTTON "Setup",IDC_BT_SETUP,7,7,53,14 - PUSHBUTTON "Interrupt Trigger",IDC_BT_TRIGGER,61,7,102,14,WS_DISABLED - LTEXT "This sample demonstrates how to use dual-interrupt lines.",IDC_STATIC,7,23,190,13 - LTEXT "The IRQ source of INT1 is P1C0.",IDC_STATIC,7,31,190,13 - LTEXT "The IRQ source of INT2 is internal Timer-output.",IDC_STATIC,7,39,190,13 - LTEXT "Using cable to connect CN1 and CN2\nClick 'Setup' button first ...",IDC_STATIC_04,7,50,125,22 - LTEXT "Data from Input port: \n** only shows at most 50 data **",IDC_STATIC_07,7,97,113,19,NOT WS_VISIBLE - LTEXT "INT1 Count =",IDC_STATIC_05,7,72,85,13 - LTEXT "INT2 Count =",IDC_STATIC_06,7,83,85,13 - LTEXT "",IDC_STATIC_LINE1,7,116,247,11 - LTEXT "",IDC_STATIC_LINE2,7,130,247,11 - LTEXT "",IDC_STATIC_LINE3,7,143,247,11 - LTEXT "",IDC_STATIC_LINE4,7,156,247,11 - LTEXT "",IDC_STATIC_LINE5,7,170,247,11 -END - - -///////////////////////////////////////////////////////////////////////////// -// -// DESIGNINFO -// - -#ifdef APSTUDIO_INVOKED -GUIDELINES DESIGNINFO -BEGIN - IDD_DIALOG_SETUP, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 181 - TOPMARGIN, 7 - BOTTOMMARGIN, 105 - END - - IDD_ABOUTBOX, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 163 - TOPMARGIN, 7 - BOTTOMMARGIN, 55 - END -END -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog Info -// - -IDD_DIALOG_SETUP DLGINIT -BEGIN - IDC_COMBO_CARDNO, 0x403, 2, 0 -0x0030, - IDC_COMBO_CARDNO, 0x403, 2, 0 -0x0031, - IDC_COMBO_CARDNO, 0x403, 2, 0 -0x0032, - IDC_COMBO_CARDNO, 0x403, 2, 0 -0x0033, - IDC_COMBO_CARDNO, 0x403, 2, 0 -0x0034, - IDC_COMBO_CARDNO, 0x403, 2, 0 -0x0035, - IDC_COMBO_CARDNO, 0x403, 2, 0 -0x0036, - IDC_COMBO_CARDNO, 0x403, 2, 0 -0x0037, - IDC_COMBO_CARDNO, 0x403, 2, 0 -0x0038, - IDC_COMBO_CARDNO, 0x403, 2, 0 -0x0039, - IDC_COMBO_CARDNO, 0x403, 3, 0 -0x3031, "\000" - IDC_COMBO_CARDNO, 0x403, 3, 0 -0x3131, "\000" - IDC_COMBO_CARDNO, 0x403, 3, 0 -0x3231, "\000" - IDC_COMBO_CARDNO, 0x403, 3, 0 -0x3331, "\000" - IDC_COMBO_CARDNO, 0x403, 3, 0 -0x3431, "\000" - IDC_COMBO_CARDNO, 0x403, 3, 0 -0x3531, "\000" - 0 -END - - -///////////////////////////////////////////////////////////////////////////// -// -// Version -// - -VS_VERSION_INFO VERSIONINFO - FILEVERSION 1,0,0,1 - PRODUCTVERSION 1,0,0,1 - FILEFLAGSMASK 0x3fL -#ifdef _DEBUG - FILEFLAGS 0x1L -#else - FILEFLAGS 0x0L -#endif - FILEOS 0x4L - FILETYPE 0x1L - FILESUBTYPE 0x0L -BEGIN - BLOCK "StringFileInfo" - BEGIN - BLOCK "040904e4" - BEGIN - VALUE "CompanyName", "TODO: " - VALUE "FileDescription", "TODO: " - VALUE "FileVersion", "1.0.0.1" - VALUE "InternalName", "7248int2.exe" - VALUE "LegalCopyright", "TODO: (c) . All rights reserved." - VALUE "OriginalFilename", "7248int2.exe" - VALUE "ProductName", "TODO: " - VALUE "ProductVersion", "1.0.0.1" - END - END - BLOCK "VarFileInfo" - BEGIN - VALUE "Translation", 0x409, 1252 - END -END - - -///////////////////////////////////////////////////////////////////////////// -// -// String Table -// - -STRINGTABLE -BEGIN - IDS_ABOUTBOX "&About 7248int2..." -END - -#endif // English (U.S.) resources -///////////////////////////////////////////////////////////////////////////// - - - -#ifndef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 3 resource. -// -#define _AFX_NO_SPLITTER_RESOURCES -#define _AFX_NO_OLE_RESOURCES -#define _AFX_NO_TRACKER_RESOURCES -#define _AFX_NO_PROPERTY_RESOURCES - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -LANGUAGE 9, 1 -#pragma code_page(1252) -#include "res\My7248int2.rc2" // non-Microsoft Visual C++ edited resources -#include "afxres.rc" // Standard components -#endif - -///////////////////////////////////////////////////////////////////////////// -#endif // not APSTUDIO_INVOKED - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7248/SDK7248DbEvtMsg/7248int2.sln b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7248/SDK7248DbEvtMsg/7248int2.sln deleted file mode 100644 index 850621b..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7248/SDK7248DbEvtMsg/7248int2.sln +++ /dev/null @@ -1,26 +0,0 @@ - -Microsoft Visual Studio Solution File, Format Version 10.00 -# Visual Studio 2008 -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "7248int2", "7248int2.vcproj", "{36D327EC-F369-4F7C-BF2A-C66603E84831}" -EndProject -Global - GlobalSection(SolutionConfigurationPlatforms) = preSolution - Debug|Win32 = Debug|Win32 - Debug|x64 = Debug|x64 - Release|Win32 = Release|Win32 - Release|x64 = Release|x64 - EndGlobalSection - GlobalSection(ProjectConfigurationPlatforms) = postSolution - {36D327EC-F369-4F7C-BF2A-C66603E84831}.Debug|Win32.ActiveCfg = Debug|Win32 - {36D327EC-F369-4F7C-BF2A-C66603E84831}.Debug|Win32.Build.0 = Debug|Win32 - {36D327EC-F369-4F7C-BF2A-C66603E84831}.Debug|x64.ActiveCfg = Debug|x64 - {36D327EC-F369-4F7C-BF2A-C66603E84831}.Debug|x64.Build.0 = Debug|x64 - {36D327EC-F369-4F7C-BF2A-C66603E84831}.Release|Win32.ActiveCfg = Release|Win32 - {36D327EC-F369-4F7C-BF2A-C66603E84831}.Release|Win32.Build.0 = Release|Win32 - {36D327EC-F369-4F7C-BF2A-C66603E84831}.Release|x64.ActiveCfg = Release|x64 - {36D327EC-F369-4F7C-BF2A-C66603E84831}.Release|x64.Build.0 = Release|x64 - EndGlobalSection - GlobalSection(SolutionProperties) = preSolution - HideSolutionNode = FALSE - EndGlobalSection -EndGlobal diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7248/SDK7248DbEvtMsg/7248int2.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7248/SDK7248DbEvtMsg/7248int2.suo deleted file mode 100644 index c3159b4..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7248/SDK7248DbEvtMsg/7248int2.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7248/SDK7248DbEvtMsg/7248int2.vcproj b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7248/SDK7248DbEvtMsg/7248int2.vcproj deleted file mode 100644 index 20f456f..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7248/SDK7248DbEvtMsg/7248int2.vcproj +++ /dev/null @@ -1,469 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7248/SDK7248DbEvtMsg/7248int2Dlg.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7248/SDK7248DbEvtMsg/7248int2Dlg.cpp deleted file mode 100644 index de2e191..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7248/SDK7248DbEvtMsg/7248int2Dlg.cpp +++ /dev/null @@ -1,398 +0,0 @@ - -// 7248int2Dlg.cpp : implementation file -// - -#include "stdafx.h" -#include "7248int2.h" -#include "7248int2Dlg.h" -#include "SetupDlg.h" - -#ifdef _DEBUG -#define new DEBUG_NEW -#endif - -#define COS_INTERRUPT_MESSAGE _T("COS_INT") -#define TIMER_INTERRUPT_MESSAGE _T("TIMER_INT") - -UINT WM_INT0 = ::RegisterWindowMessage(COS_INTERRUPT_MESSAGE); -UINT WM_INT1 = ::RegisterWindowMessage(TIMER_INTERRUPT_MESSAGE); - - -U32 gInBuffer[32768], gOutBuffer[32768]; -int gIntCount; -HANDLE ghIntEvent[2]; - - -// CAboutDlg dialog used for App About - -class CAboutDlg : public CDialog -{ -public: - CAboutDlg(); - -// Dialog Data - enum { IDD = IDD_ABOUTBOX }; - - protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - -// Implementation -protected: - DECLARE_MESSAGE_MAP() -}; - -CAboutDlg::CAboutDlg() : CDialog(CAboutDlg::IDD) -{ -} - -void CAboutDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); -} - -BEGIN_MESSAGE_MAP(CAboutDlg, CDialog) -END_MESSAGE_MAP() - - -// CMy7248int2Dlg dialog - - - - -CMy7248int2Dlg::CMy7248int2Dlg(CWnd* pParent /*=NULL*/) - : CDialog(CMy7248int2Dlg::IDD, pParent) - , m_nCardIdx(-1) - , m_nSampleCount(-1) - , m_nSampleRate(-1) - , m_hCard(-1) - , m_hThread(NULL) -{ - m_hIcon = AfxGetApp()->LoadIcon(IDR_MAINFRAME); - m_nC1=10; m_nC2=10; - - m_TimerCount = 0; - m_COSCount = 0; - -} - -void CMy7248int2Dlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); -} - -BEGIN_MESSAGE_MAP(CMy7248int2Dlg, CDialog) - ON_WM_SYSCOMMAND() - ON_WM_PAINT() - ON_WM_QUERYDRAGICON() - ON_REGISTERED_MESSAGE(WM_INT0, OnCOS0Interrupt) - ON_REGISTERED_MESSAGE(WM_INT1, OnTimerInterrupt) - //}}AFX_MSG_MAP - ON_WM_CTLCOLOR() - ON_BN_CLICKED(IDC_BT_SETUP, &CMy7248int2Dlg::OnBnClickedBtSetup) - ON_WM_DESTROY() - ON_BN_CLICKED(IDC_BT_TRIGGER, &CMy7248int2Dlg::OnBnClickedBtTrigger) -END_MESSAGE_MAP() - - -// CMy7248int2Dlg message handlers - -BOOL CMy7248int2Dlg::OnInitDialog() -{ - CDialog::OnInitDialog(); - - // Add "About..." menu item to system menu. - - // IDM_ABOUTBOX must be in the system command range. - ASSERT((IDM_ABOUTBOX & 0xFFF0) == IDM_ABOUTBOX); - ASSERT(IDM_ABOUTBOX < 0xF000); - - CMenu* pSysMenu = GetSystemMenu(FALSE); - if (pSysMenu != NULL) - { - BOOL bNameValid; - CString strAboutMenu; - bNameValid = strAboutMenu.LoadString(IDS_ABOUTBOX); - ASSERT(bNameValid); - if (!strAboutMenu.IsEmpty()) - { - pSysMenu->AppendMenu(MF_SEPARATOR); - pSysMenu->AppendMenu(MF_STRING, IDM_ABOUTBOX, strAboutMenu); - } - } - - // Set the icon for this dialog. The framework does this automatically - // when the application's main window is not a dialog - SetIcon(m_hIcon, TRUE); // Set big icon - SetIcon(m_hIcon, FALSE); // Set small icon - - // TODO: Add extra initialization here - - return TRUE; // return TRUE unless you set the focus to a control -} - -void CMy7248int2Dlg::OnSysCommand(UINT nID, LPARAM lParam) -{ - if ((nID & 0xFFF0) == IDM_ABOUTBOX) - { - CAboutDlg dlgAbout; - dlgAbout.DoModal(); - } - else - { - CDialog::OnSysCommand(nID, lParam); - } -} - -// If you add a minimize button to your dialog, you will need the code below -// to draw the icon. For MFC applications using the document/view model, -// this is automatically done for you by the framework. - -void CMy7248int2Dlg::OnPaint() -{ - if (IsIconic()) - { - CPaintDC dc(this); // device context for painting - - SendMessage(WM_ICONERASEBKGND, reinterpret_cast(dc.GetSafeHdc()), 0); - - // Center icon in client rectangle - int cxIcon = GetSystemMetrics(SM_CXICON); - int cyIcon = GetSystemMetrics(SM_CYICON); - CRect rect; - GetClientRect(&rect); - int x = (rect.Width() - cxIcon + 1) / 2; - int y = (rect.Height() - cyIcon + 1) / 2; - - // Draw the icon - dc.DrawIcon(x, y, m_hIcon); - } - else - { - CDialog::OnPaint(); - } -} - -// The system calls this function to obtain the cursor to display while the user drags -// the minimized window. -HCURSOR CMy7248int2Dlg::OnQueryDragIcon() -{ - return static_cast(m_hIcon); -} - - -HBRUSH CMy7248int2Dlg::OnCtlColor(CDC* pDC, CWnd* pWnd, UINT nCtlColor) -{ - HBRUSH hbr = CDialog::OnCtlColor(pDC, pWnd, nCtlColor); - - // TODO: Change any attributes of the DC here - if ( pWnd->GetDlgCtrlID() == IDC_STATIC_04 ) - pDC->SetTextColor(RGB(255,0,0)); - - // TODO: Return a different brush if the default is not desired - return hbr; -} - -void CMy7248int2Dlg::OnBnClickedBtSetup() -{ - // TODO: Add your control notification handler code here - CSetupDlg setupDlg; - INT_PTR nResponse; - CString strTemp; - int i, k; - - nResponse = setupDlg.DoModal(); - if (nResponse == IDOK) - { - if( m_nCardIdx != setupDlg.m_nCardIdx ) - { - if( m_hCard != -1 ) - { - Release_Card( m_hCard ); - m_hCard = -1; - } - - m_nCardIdx = setupDlg.m_nCardIdx; - } - - - if( m_hCard == -1 ) - { - if ((m_hCard = Register_Card(PCI_7248, m_nCardIdx)) < 0) - { - strTemp.Format( TEXT("Register_Card Error = %d"), m_hCard); - AfxMessageBox( strTemp ); - - EndDialog(IDCANCEL); - return; - } - } - - m_nSampleCount = setupDlg.m_nSampleCount; - m_nSampleRate = setupDlg.m_nSampleRate; - - for ( i=0, k=0; i255) k=0; - - gInBuffer[i]=0; - } - gIntCount = 0; - - DIO_PortConfig(m_hCard, Channel_P1A, INPUT_PORT); - DIO_PortConfig(m_hCard, Channel_P2A, OUTPUT_PORT); - DIO_PortConfig(m_hCard, Channel_P1C, INPUT_PORT); - DIO_PortConfig(m_hCard, Channel_P2C, OUTPUT_PORT); - - GetDlgItem(IDC_BT_TRIGGER)->EnableWindow( TRUE ); - - } - else if (nResponse == IDCANCEL) - { - // TODO: Place code here to handle when the dialog is - // dismissed with Cancel - } -} - -void CMy7248int2Dlg::OnDestroy() -{ - CDialog::OnDestroy(); - - // TODO: Add your message handler code here - int i; - - if( m_hCard >= 0 ) - { - DIO_SetDualInterrupt(m_hCard, INT1_DISABLE, INT2_DISABLE, ghIntEvent); - - for (i=0; i<2; i++) - { - if(ghIntEvent[i]) - ResetEvent(ghIntEvent[i]); - } - - - Release_Card( m_hCard ); m_hCard = -1; - } - -} - -void CMy7248int2Dlg::OnBnClickedBtTrigger() -{ - // TODO: Add your control notification handler code here - - DIO_INT1_EventMessage (m_hCard, INT1_FP1C0, this->m_hWnd, WM_INT0, NULL); - DIO_INT2_EventMessage (m_hCard, INT2_TIMER_COUNTER, this->m_hWnd, WM_INT1, NULL); - - m_nC2 = 2000000/(m_nSampleRate*m_nC1); - - CTR_Setup(m_hCard, 1, RATE_GENERATOR, m_nC1, BIN); - CTR_Setup(m_hCard, 2, RATE_GENERATOR, m_nC2, BIN); - - m_TimerCount = 0; - m_COSCount = 0; - - -} - -LRESULT CMy7248int2Dlg::OnCOS0Interrupt(WPARAM wParam, LPARAM lParam) -{ - // do something useful - CString strTemp; - - m_COSCount ++; - strTemp.Format( TEXT("INT1 Count = %d "), m_COSCount); - SetDlgItemText( IDC_STATIC_05, strTemp ); - - - return (LRESULT) 0; -} - - -LRESULT CMy7248int2Dlg::OnTimerInterrupt(WPARAM wParam, LPARAM lParam) -{ - int i; - CString strTemp; - CString strLine1, strLine2, strLine3, strLine4, strLine5; - - i=0; - // do something useful - if( m_TimerCount < m_nSampleCount ) - { - DO_WritePort( m_hCard, Channel_P2C, 1 ); - DO_WritePort (m_hCard, Channel_P2C, 0 ); - - strTemp.Format( TEXT("INT2 Count = %d "), m_TimerCount); - SetDlgItemText( IDC_STATIC_06, strTemp ); - - DO_WritePort( m_hCard, Channel_P2A, gOutBuffer[m_TimerCount]); - DI_ReadPort( m_hCard, Channel_P1A, &(gInBuffer[m_TimerCount]) ); - - //generate INT1 interrupt signal - m_TimerCount++; - } - else - { - DIO_INT2_EventMessage ( m_hCard, INT2_DISABLE, this->m_hWnd, NULL, NULL); - DIO_INT1_EventMessage ( m_hCard, INT1_DISABLE, this->m_hWnd, NULL, NULL); - CTR_Setup( m_hCard, 1, RATE_GENERATOR, 0, BIN); - CTR_Setup( m_hCard, 2, RATE_GENERATOR, 0, BIN); - - GetDlgItem(IDC_STATIC_07)->ShowWindow( SW_SHOW ); - - strLine1.Empty(); /// clear strLine1 - strLine2.Empty(); /// clear strLine2 - strLine3.Empty(); /// clear strLine3 - strLine4.Empty(); /// clear strLine4 - strLine5.Empty(); /// clear strLine5 - - for ( i=0; i<50 /*m_nSampleCount*/; i++) - { - strTemp.Format( TEXT("%d, "), gInBuffer[i] ); - - if(i<10) - { - strLine1 += strTemp; - } - - if(i>=10 && i<20) - { - strLine2 += strTemp; - } - - if(i>=20 && i<30) - { - strLine3 += strTemp; - } - - if (i>=30 && i<40) - { - strLine4 += strTemp; - } - - if (i>=40 && i<50) - { - strLine5 += strTemp; - } - } - - if( !strLine1.IsEmpty() ) - SetDlgItemText( IDC_STATIC_LINE1, strLine1 ); - - if( !strLine2.IsEmpty() ) - SetDlgItemText( IDC_STATIC_LINE2, strLine2 ); - - if( !strLine3.IsEmpty() ) - SetDlgItemText( IDC_STATIC_LINE3, strLine3 ); - - if( !strLine4.IsEmpty() ) - SetDlgItemText( IDC_STATIC_LINE4, strLine4 ); - - if( !strLine5.IsEmpty() ) - SetDlgItemText( IDC_STATIC_LINE5, strLine5 ); - } - - - return (LRESULT) 0; -} \ No newline at end of file diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7248/SDK7248DbEvtMsg/7248int2Dlg.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7248/SDK7248DbEvtMsg/7248int2Dlg.h deleted file mode 100644 index 0825009..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7248/SDK7248DbEvtMsg/7248int2Dlg.h +++ /dev/null @@ -1,50 +0,0 @@ - -// 7248int2Dlg.h : header file -// -#include "Dask64.h" - -#pragma once - - -// CMy7248int2Dlg dialog -class CMy7248int2Dlg : public CDialog -{ -// Construction -public: - CMy7248int2Dlg(CWnd* pParent = NULL); // standard constructor - -// Dialog Data - enum { IDD = IDD_MY7248INT2_DIALOG }; - - protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - - -// Implementation -protected: - HICON m_hIcon; - int m_nCardIdx; - long m_nSampleCount; - long m_nSampleRate; - int m_COSCount; - int m_TimerCount; - - I16 m_hCard; - int m_nC1; - int m_nC2; - HANDLE m_hThread; - - // Generated message map functions - virtual BOOL OnInitDialog(); - afx_msg void OnSysCommand(UINT nID, LPARAM lParam); - afx_msg LRESULT OnCOS0Interrupt(WPARAM wParam, LPARAM lParam); - afx_msg LRESULT OnTimerInterrupt(WPARAM wParam, LPARAM lParam); - afx_msg void OnPaint(); - afx_msg HCURSOR OnQueryDragIcon(); - DECLARE_MESSAGE_MAP() -public: - afx_msg HBRUSH OnCtlColor(CDC* pDC, CWnd* pWnd, UINT nCtlColor); - afx_msg void OnBnClickedBtSetup(); - afx_msg void OnDestroy(); - afx_msg void OnBnClickedBtTrigger(); -}; diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7248/SDK7248DbEvtMsg/7296int2.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7248/SDK7248DbEvtMsg/7296int2.suo deleted file mode 100644 index a078130..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7248/SDK7248DbEvtMsg/7296int2.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7248/SDK7248DbEvtMsg/ReadMe.txt b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7248/SDK7248DbEvtMsg/ReadMe.txt deleted file mode 100644 index 971c152..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7248/SDK7248DbEvtMsg/ReadMe.txt +++ /dev/null @@ -1,93 +0,0 @@ -================================================================================ - MICROSOFT FOUNDATION CLASS LIBRARY : 7248int2 Project Overview -=============================================================================== - -The application wizard has created this 7248int2 application for -you. This application not only demonstrates the basics of using the Microsoft -Foundation Classes but is also a starting point for writing your application. - -This file contains a summary of what you will find in each of the files that -make up your 7248int2 application. - -7248int2.vcproj - This is the main project file for VC++ projects generated using an application wizard. - It contains information about the version of Visual C++ that generated the file, and - information about the platforms, configurations, and project features selected with the - application wizard. - -7248int2.h - This is the main header file for the application. It includes other - project specific headers (including Resource.h) and declares the - CMy7248int2App application class. - -7248int2.cpp - This is the main application source file that contains the application - class CMy7248int2App. - -7248int2.rc - This is a listing of all of the Microsoft Windows resources that the - program uses. It includes the icons, bitmaps, and cursors that are stored - in the RES subdirectory. This file can be directly edited in Microsoft - Visual C++. Your project resources are in 1033. - -res\7248int2.ico - This is an icon file, which is used as the application's icon. This - icon is included by the main resource file 7248int2.rc. - -res\My7248int2.rc2 - This file contains resources that are not edited by Microsoft - Visual C++. You should place all resources not editable by - the resource editor in this file. - - -///////////////////////////////////////////////////////////////////////////// - -The application wizard creates one dialog class: - -7248int2Dlg.h, 7248int2Dlg.cpp - the dialog - These files contain your CMy7248int2Dlg class. This class defines - the behavior of your application's main dialog. The dialog's template is - in 7248int2.rc, which can be edited in Microsoft Visual C++. - - -///////////////////////////////////////////////////////////////////////////// - -Other Features: - -ActiveX Controls - The application includes support to use ActiveX controls. - -///////////////////////////////////////////////////////////////////////////// - -Other standard files: - -StdAfx.h, StdAfx.cpp - These files are used to build a precompiled header (PCH) file - named 7248int2.pch and a precompiled types file named StdAfx.obj. - -Resource.h - This is the standard header file, which defines new resource IDs. - Microsoft Visual C++ reads and updates this file. - -7248int2.manifest - Application manifest files are used by Windows XP to describe an applications - dependency on specific versions of Side-by-Side assemblies. The loader uses this - information to load the appropriate assembly from the assembly cache or private - from the application. The Application manifest maybe included for redistribution - as an external .manifest file that is installed in the same folder as the application - executable or it may be included in the executable in the form of a resource. -///////////////////////////////////////////////////////////////////////////// - -Other notes: - -The application wizard uses "TODO:" to indicate parts of the source code you -should add to or customize. - -If your application uses MFC in a shared DLL, you will need -to redistribute the MFC DLLs. If your application is in a language -other than the operating system's locale, you will also have to -redistribute the corresponding localized resources MFC90XXX.DLL. -For more information on both of these topics, please see the section on -redistributing Visual C++ applications in MSDN documentation. - -///////////////////////////////////////////////////////////////////////////// diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7248/SDK7248DbEvtMsg/SetupDlg.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7248/SDK7248DbEvtMsg/SetupDlg.cpp deleted file mode 100644 index 97e58f8..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7248/SDK7248DbEvtMsg/SetupDlg.cpp +++ /dev/null @@ -1,63 +0,0 @@ -// SetupDlg.cpp : implementation file -// - -#include "stdafx.h" -#include "7248int2.h" -#include "SetupDlg.h" - - -// CSetupDlg dialog - -IMPLEMENT_DYNAMIC(CSetupDlg, CDialog) - -CSetupDlg::CSetupDlg(CWnd* pParent /*=NULL*/) - : CDialog(CSetupDlg::IDD, pParent) - , m_nSampleCount(40) - , m_nSampleRate(10000) -{ - -} - -CSetupDlg::~CSetupDlg() -{ -} - -void CSetupDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); - DDX_Control(pDX, IDC_COMBO_CARDNO, m_cbCardID); - DDX_Text(pDX, IDC_EDIT_COUNT, m_nSampleCount); - DDX_Text(pDX, IDC_EDIT_RATE, m_nSampleRate); - DDV_MinMaxLong(pDX, m_nSampleCount, 0, 32768); - DDV_MinMaxLong(pDX, m_nSampleRate, 0, 15000); -} - - -BEGIN_MESSAGE_MAP(CSetupDlg, CDialog) - ON_CBN_SELCHANGE(IDC_COMBO_CARDNO, &CSetupDlg::OnCardNoSelchange) -// ON_EN_CHANGE(IDC_EDIT_COUNT, &CSetupDlg::OnEnChangeEditCount) -END_MESSAGE_MAP() - - -// CSetupDlg message handlers - -BOOL CSetupDlg::OnInitDialog() -{ - CDialog::OnInitDialog(); - - // TODO: Add extra initialization here - m_cbCardID.SetCurSel(0); - m_nCardIdx = 0; - - - return TRUE; // return TRUE unless you set the focus to a control - // EXCEPTION: OCX Property Pages should return FALSE -} - -void CSetupDlg::OnCardNoSelchange() -{ - // TODO: Add your control notification handler code here - m_nCardIdx = m_cbCardID.GetCurSel(); - -} - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7248/SDK7248DbEvtMsg/SetupDlg.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7248/SDK7248DbEvtMsg/SetupDlg.h deleted file mode 100644 index 7b42abf..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7248/SDK7248DbEvtMsg/SetupDlg.h +++ /dev/null @@ -1,30 +0,0 @@ -#pragma once -#include "afxwin.h" - - -// CSetupDlg dialog - -class CSetupDlg : public CDialog -{ - DECLARE_DYNAMIC(CSetupDlg) - -public: - CSetupDlg(CWnd* pParent = NULL); // standard constructor - virtual ~CSetupDlg(); - -// Dialog Data - enum { IDD = IDD_DIALOG_SETUP }; - -protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - - DECLARE_MESSAGE_MAP() -public: - CComboBox m_cbCardID; - virtual BOOL OnInitDialog(); - long m_nSampleCount; - long m_nSampleRate; - int m_nCardIdx; - afx_msg void OnCardNoSelchange(); -// afx_msg void OnEnChangeEditCount(); -}; diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7248/SDK7248DbEvtMsg/res/7248int2.ico b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7248/SDK7248DbEvtMsg/res/7248int2.ico deleted file mode 100644 index d56fbcd..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7248/SDK7248DbEvtMsg/res/7248int2.ico and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7248/SDK7248DbEvtMsg/res/My7248int2.rc2 b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7248/SDK7248DbEvtMsg/res/My7248int2.rc2 deleted file mode 100644 index 1b53e51..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7248/SDK7248DbEvtMsg/res/My7248int2.rc2 +++ /dev/null @@ -1,13 +0,0 @@ -// -// My7296int2.RC2 - resources Microsoft Visual C++ does not edit directly -// - -#ifdef APSTUDIO_INVOKED -#error this file is not editable by Microsoft Visual C++ -#endif //APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// Add manually edited resources here... - -///////////////////////////////////////////////////////////////////////////// diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7248/SDK7248DbEvtMsg/resource.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7248/SDK7248DbEvtMsg/resource.h deleted file mode 100644 index de2e2bb..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7248/SDK7248DbEvtMsg/resource.h +++ /dev/null @@ -1,35 +0,0 @@ -//{{NO_DEPENDENCIES}} -// Microsoft Visual C++ generated include file. -// Used by 7248int2.rc -// -#define IDM_ABOUTBOX 0x0010 -#define IDD_ABOUTBOX 100 -#define IDS_ABOUTBOX 101 -#define IDD_MY7248INT2_DIALOG 102 -#define IDR_MAINFRAME 128 -#define IDD_DIALOG_SETUP 129 -#define IDC_BT_SETUP 1000 -#define IDC_BT_TRIGGER 1001 -#define IDC_STATIC_04 1002 -#define IDC_COMBO_CARDNO 1003 -#define IDC_EDIT_COUNT 1004 -#define IDC_EDIT_RATE 1005 -#define IDC_STATIC_07 1005 -#define IDC_STATIC_05 1006 -#define IDC_STATIC_06 1007 -#define IDC_STATIC_LINE1 1008 -#define IDC_STATIC_LINE2 1009 -#define IDC_STATIC_LINE3 1010 -#define IDC_STATIC_LINE4 1011 -#define IDC_STATIC_LINE5 1012 - -// Next default values for new objects -// -#ifdef APSTUDIO_INVOKED -#ifndef APSTUDIO_READONLY_SYMBOLS -#define _APS_NEXT_RESOURCE_VALUE 131 -#define _APS_NEXT_COMMAND_VALUE 32771 -#define _APS_NEXT_CONTROL_VALUE 1009 -#define _APS_NEXT_SYMED_VALUE 101 -#endif -#endif diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7248/SDK7248DbEvtMsg/stdafx.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7248/SDK7248DbEvtMsg/stdafx.cpp deleted file mode 100644 index 7562ac6..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7248/SDK7248DbEvtMsg/stdafx.cpp +++ /dev/null @@ -1,8 +0,0 @@ - -// stdafx.cpp : source file that includes just the standard includes -// 7248int2.pch will be the pre-compiled header -// stdafx.obj will contain the pre-compiled type information - -#include "stdafx.h" - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7248/SDK7248DbEvtMsg/stdafx.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7248/SDK7248DbEvtMsg/stdafx.h deleted file mode 100644 index 12123e2..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7248/SDK7248DbEvtMsg/stdafx.h +++ /dev/null @@ -1,60 +0,0 @@ - -// stdafx.h : include file for standard system include files, -// or project specific include files that are used frequently, -// but are changed infrequently - -#pragma once - -#ifndef _SECURE_ATL -#define _SECURE_ATL 1 -#endif - -#ifndef VC_EXTRALEAN -#define VC_EXTRALEAN // Exclude rarely-used stuff from Windows headers -#endif - -#include "targetver.h" - -#define _ATL_CSTRING_EXPLICIT_CONSTRUCTORS // some CString constructors will be explicit - -// turns off MFC's hiding of some common and often safely ignored warning messages -#define _AFX_ALL_WARNINGS - -#include // MFC core and standard components -#include // MFC extensions - - -#include // MFC Automation classes - - - -#ifndef _AFX_NO_OLE_SUPPORT -#include // MFC support for Internet Explorer 4 Common Controls -#endif -#ifndef _AFX_NO_AFXCMN_SUPPORT -#include // MFC support for Windows Common Controls -#endif // _AFX_NO_AFXCMN_SUPPORT - -#include // MFC support for ribbons and control bars - - - - - - - - - -#ifdef _UNICODE -#if defined _M_IX86 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='x86' publicKeyToken='6595b64144ccf1df' language='*'\"") -#elif defined _M_IA64 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='ia64' publicKeyToken='6595b64144ccf1df' language='*'\"") -#elif defined _M_X64 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='amd64' publicKeyToken='6595b64144ccf1df' language='*'\"") -#else -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='*' publicKeyToken='6595b64144ccf1df' language='*'\"") -#endif -#endif - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7248/SDK7248DbEvtMsg/targetver.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7248/SDK7248DbEvtMsg/targetver.h deleted file mode 100644 index 11730d5..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7248/SDK7248DbEvtMsg/targetver.h +++ /dev/null @@ -1,26 +0,0 @@ - -#pragma once - -// The following macros define the minimum required platform. The minimum required platform -// is the earliest version of Windows, Internet Explorer etc. that has the necessary features to run -// your application. The macros work by enabling all features available on platform versions up to and -// including the version specified. - -// Modify the following defines if you have to target a platform prior to the ones specified below. -// Refer to MSDN for the latest info on corresponding values for different platforms. -#ifndef WINVER // Specifies that the minimum required platform is Windows Vista. -#define WINVER 0x0600 // Change this to the appropriate value to target other versions of Windows. -#endif - -#ifndef _WIN32_WINNT // Specifies that the minimum required platform is Windows Vista. -#define _WIN32_WINNT 0x0600 // Change this to the appropriate value to target other versions of Windows. -#endif - -#ifndef _WIN32_WINDOWS // Specifies that the minimum required platform is Windows 98. -#define _WIN32_WINDOWS 0x0410 // Change this to the appropriate value to target Windows Me or later. -#endif - -#ifndef _WIN32_IE // Specifies that the minimum required platform is Internet Explorer 7.0. -#define _WIN32_IE 0x0700 // Change this to the appropriate value to target other versions of IE. -#endif - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7248/SDK7248Int/7248Int.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7248/SDK7248Int/7248Int.cpp deleted file mode 100644 index 5825e0d..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7248/SDK7248Int/7248Int.cpp +++ /dev/null @@ -1,79 +0,0 @@ - -// 7248Int.cpp : Defines the class behaviors for the application. -// - -#include "stdafx.h" -#include "7248Int.h" -#include "7248IntDlg.h" - -#ifdef _DEBUG -#define new DEBUG_NEW -#endif - - -// C7248IntApp - -BEGIN_MESSAGE_MAP(C7248IntApp, CWinAppEx) - ON_COMMAND(ID_HELP, &CWinApp::OnHelp) -END_MESSAGE_MAP() - - -// C7248IntApp construction - -C7248IntApp::C7248IntApp() -{ - // TODO: add construction code here, - // Place all significant initialization in InitInstance -} - - -// The one and only C7248IntApp object - -C7248IntApp theApp; - - -// C7248IntApp initialization - -BOOL C7248IntApp::InitInstance() -{ - // InitCommonControlsEx() is required on Windows XP if an application - // manifest specifies use of ComCtl32.dll version 6 or later to enable - // visual styles. Otherwise, any window creation will fail. - INITCOMMONCONTROLSEX InitCtrls; - InitCtrls.dwSize = sizeof(InitCtrls); - // Set this to include all the common control classes you want to use - // in your application. - InitCtrls.dwICC = ICC_WIN95_CLASSES; - InitCommonControlsEx(&InitCtrls); - - CWinAppEx::InitInstance(); - - AfxEnableControlContainer(); - - // Standard initialization - // If you are not using these features and wish to reduce the size - // of your final executable, you should remove from the following - // the specific initialization routines you do not need - // Change the registry key under which our settings are stored - // TODO: You should modify this string to be something appropriate - // such as the name of your company or organization - SetRegistryKey(_T("Local AppWizard-Generated Applications")); - - C7248IntDlg dlg; - m_pMainWnd = &dlg; - INT_PTR nResponse = dlg.DoModal(); - if (nResponse == IDOK) - { - // TODO: Place code here to handle when the dialog is - // dismissed with OK - } - else if (nResponse == IDCANCEL) - { - // TODO: Place code here to handle when the dialog is - // dismissed with Cancel - } - - // Since the dialog has been closed, return FALSE so that we exit the - // application, rather than start the application's message pump. - return FALSE; -} diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7248/SDK7248Int/7248Int.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7248/SDK7248Int/7248Int.h deleted file mode 100644 index 0510533..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7248/SDK7248Int/7248Int.h +++ /dev/null @@ -1,32 +0,0 @@ - -// 7248Int.h : main header file for the PROJECT_NAME application -// - -#pragma once - -#ifndef __AFXWIN_H__ - #error "include 'stdafx.h' before including this file for PCH" -#endif - -#include "resource.h" // main symbols - - -// C7248IntApp: -// See 7248Int.cpp for the implementation of this class -// - -class C7248IntApp : public CWinAppEx -{ -public: - C7248IntApp(); - -// Overrides - public: - virtual BOOL InitInstance(); - -// Implementation - - DECLARE_MESSAGE_MAP() -}; - -extern C7248IntApp theApp; \ No newline at end of file diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7248/SDK7248Int/7248Int.rc b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7248/SDK7248Int/7248Int.rc deleted file mode 100644 index 95081c1..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7248/SDK7248Int/7248Int.rc +++ /dev/null @@ -1,255 +0,0 @@ -// Microsoft Visual C++ generated resource script. -// -#include "resource.h" - -#define APSTUDIO_READONLY_SYMBOLS -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 2 resource. -// -#ifndef APSTUDIO_INVOKED -#include "targetver.h" -#endif -#include "afxres.h" - -///////////////////////////////////////////////////////////////////////////// -#undef APSTUDIO_READONLY_SYMBOLS - -///////////////////////////////////////////////////////////////////////////// -// Chinese (Taiwan) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_CHT) -#ifdef _WIN32 -LANGUAGE LANG_CHINESE, SUBLANG_CHINESE_TRADITIONAL -#pragma code_page(950) -#endif //_WIN32 - -#ifdef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// TEXTINCLUDE -// - -1 TEXTINCLUDE -BEGIN - "resource.h\0" -END - -2 TEXTINCLUDE -BEGIN - "#ifndef APSTUDIO_INVOKED\r\n" - "#include ""targetver.h""\r\n" - "#endif\r\n" - "#include ""afxres.h""\r\n" - "\0" -END - -3 TEXTINCLUDE -BEGIN - "#define _AFX_NO_SPLITTER_RESOURCES\r\n" - "#define _AFX_NO_OLE_RESOURCES\r\n" - "#define _AFX_NO_TRACKER_RESOURCES\r\n" - "#define _AFX_NO_PROPERTY_RESOURCES\r\n" - "\r\n" - "#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)\r\n" - "LANGUAGE 9, 1\r\n" - "#pragma code_page(1252)\r\n" - "#include ""res\\My7248Int.rc2"" // non-Microsoft Visual C++ edited resources\r\n" - "#include ""afxres.rc"" // Standard components\r\n" - "#endif\r\n" - "\0" -END - -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// Icon -// - -// Icon with lowest ID value placed first to ensure application icon -// remains consistent on all systems. -IDR_MAINFRAME ICON "res\\7248Int.ico" -#endif // Chinese (Taiwan) resources -///////////////////////////////////////////////////////////////////////////// - - -///////////////////////////////////////////////////////////////////////////// -// English (U.S.) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -#ifdef _WIN32 -LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US -#pragma code_page(1252) -#endif //_WIN32 - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog -// - -IDD_ABOUTBOX DIALOGEX 0, 0, 170, 62 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "About 7248Int" -FONT 8, "MS Shell Dlg", 0, 0, 0x1 -BEGIN - ICON IDR_MAINFRAME,IDC_STATIC,14,14,21,20 - LTEXT "7248Int, Version 1.0",IDC_STATIC,42,14,114,8,SS_NOPREFIX - LTEXT "Copyright (C) 2010",IDC_STATIC,42,26,114,8 - DEFPUSHBUTTON "OK",IDOK,113,41,50,14,WS_GROUP -END - -IDD_MY7248INT_DIALOG DIALOGEX 0, 0, 271, 207 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU -EXSTYLE WS_EX_APPWINDOW -CAPTION "7248 Interrupt Sample" -FONT 8, "MS Shell Dlg", 0, 0, 0x1 -BEGIN - PUSHBUTTON "Exit",IDCANCEL,163,7,50,14 - PUSHBUTTON "Setup",IDC_BT_SETUP,7,7,53,14 - PUSHBUTTON "Interrupt Trigger",IDC_BT_TRIGGER,61,7,102,14,WS_DISABLED - LTEXT "This sample performs digital output on PortA of\nCN2 and digital input on PortA of CN1 when an\ninterrupt happens. The INT2 is used, and inetrrupt signals are generated by internal Timer-output.",IDC_STATIC,7,26,206,33 - LTEXT "Using cable to connect CN1 and CN2\nClick 'Setup' button first ...",IDC_STATIC_04,7,62,125,17 - LTEXT "Data from Input port: \n** only shows at most 50 data **",IDC_STATIC_07,7,97,113,19,NOT WS_VISIBLE - LTEXT "INT2 Count =",IDC_STATIC_06,7,83,85,13 - LTEXT "",IDC_STATIC_LINE1,7,116,247,11 - LTEXT "",IDC_STATIC_LINE2,7,130,247,11 - LTEXT "",IDC_STATIC_LINE3,7,143,247,11 - LTEXT "",IDC_STATIC_LINE4,7,156,247,11 - LTEXT "",IDC_STATIC_LINE5,7,170,247,11 -END - -IDD_DIALOG_SETUP DIALOGEX 0, 0, 201, 114 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "Setup Dialog" -FONT 8, "MS Shell Dlg", 400, 0, 0x1 -BEGIN - DEFPUSHBUTTON "OK",IDOK,48,84,50,14 - PUSHBUTTON "Cancel",IDCANCEL,105,84,50,14 - LTEXT "Card Number : ",IDC_STATIC,19,19,53,14 - LTEXT "Total Count : ",IDC_STATIC,19,39,53,14 - LTEXT "Sampling Rate : ",IDC_STATIC,19,57,53,14 - COMBOBOX IDC_COMBO_CARDNO,79,17,86,13,CBS_DROPDOWN | WS_VSCROLL | WS_TABSTOP - EDITTEXT IDC_EDIT_COUNT,79,36,85,14,ES_AUTOHSCROLL | ES_NUMBER - EDITTEXT IDC_EDIT_RATE,79,55,85,14,ES_AUTOHSCROLL | ES_NUMBER -END - - -///////////////////////////////////////////////////////////////////////////// -// -// Version -// - -VS_VERSION_INFO VERSIONINFO - FILEVERSION 1,0,0,1 - PRODUCTVERSION 1,0,0,1 - FILEFLAGSMASK 0x3fL -#ifdef _DEBUG - FILEFLAGS 0x1L -#else - FILEFLAGS 0x0L -#endif - FILEOS 0x4L - FILETYPE 0x1L - FILESUBTYPE 0x0L -BEGIN - BLOCK "StringFileInfo" - BEGIN - BLOCK "040904e4" - BEGIN - VALUE "CompanyName", "TODO: " - VALUE "FileDescription", "TODO: " - VALUE "FileVersion", "1.0.0.1" - VALUE "InternalName", "7248Int.exe" - VALUE "LegalCopyright", "TODO: (c) . All rights reserved." - VALUE "OriginalFilename", "7248Int.exe" - VALUE "ProductName", "TODO: " - VALUE "ProductVersion", "1.0.0.1" - END - END - BLOCK "VarFileInfo" - BEGIN - VALUE "Translation", 0x409, 1252 - END -END - - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog Info -// - -IDD_DIALOG_SETUP DLGINIT -BEGIN - IDC_COMBO_CARDNO, 0x403, 2, 0 -0x0030, - IDC_COMBO_CARDNO, 0x403, 2, 0 -0x0031, - IDC_COMBO_CARDNO, 0x403, 2, 0 -0x0032, - IDC_COMBO_CARDNO, 0x403, 2, 0 -0x0033, - IDC_COMBO_CARDNO, 0x403, 2, 0 -0x0034, - IDC_COMBO_CARDNO, 0x403, 2, 0 -0x0035, - IDC_COMBO_CARDNO, 0x403, 2, 0 -0x0036, - IDC_COMBO_CARDNO, 0x403, 2, 0 -0x0037, - IDC_COMBO_CARDNO, 0x403, 2, 0 -0x0038, - IDC_COMBO_CARDNO, 0x403, 2, 0 -0x0039, - IDC_COMBO_CARDNO, 0x403, 3, 0 -0x3031, "\000" - IDC_COMBO_CARDNO, 0x403, 3, 0 -0x3131, "\000" - IDC_COMBO_CARDNO, 0x403, 3, 0 -0x3231, "\000" - IDC_COMBO_CARDNO, 0x403, 3, 0 -0x3331, "\000" - IDC_COMBO_CARDNO, 0x403, 3, 0 -0x3431, "\000" - IDC_COMBO_CARDNO, 0x403, 3, 0 -0x3531, "\000" - 0 -END - - -///////////////////////////////////////////////////////////////////////////// -// -// String Table -// - -STRINGTABLE -BEGIN - IDS_ABOUTBOX "&About 7248Int..." -END - -#endif // English (U.S.) resources -///////////////////////////////////////////////////////////////////////////// - - - -#ifndef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 3 resource. -// -#define _AFX_NO_SPLITTER_RESOURCES -#define _AFX_NO_OLE_RESOURCES -#define _AFX_NO_TRACKER_RESOURCES -#define _AFX_NO_PROPERTY_RESOURCES - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -LANGUAGE 9, 1 -#pragma code_page(1252) -#include "res\My7248Int.rc2" // non-Microsoft Visual C++ edited resources -#include "afxres.rc" // Standard components -#endif - -///////////////////////////////////////////////////////////////////////////// -#endif // not APSTUDIO_INVOKED - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7248/SDK7248Int/7248Int.sln b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7248/SDK7248Int/7248Int.sln deleted file mode 100644 index cb6f144..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7248/SDK7248Int/7248Int.sln +++ /dev/null @@ -1,26 +0,0 @@ - -Microsoft Visual Studio Solution File, Format Version 10.00 -# Visual Studio 2008 -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "7248Int", "7248Int.vcproj", "{03CC0712-9928-4AC4-9A68-06B8B735AB32}" -EndProject -Global - GlobalSection(SolutionConfigurationPlatforms) = preSolution - Debug|Win32 = Debug|Win32 - Debug|x64 = Debug|x64 - Release|Win32 = Release|Win32 - Release|x64 = Release|x64 - EndGlobalSection - GlobalSection(ProjectConfigurationPlatforms) = postSolution - {03CC0712-9928-4AC4-9A68-06B8B735AB32}.Debug|Win32.ActiveCfg = Debug|Win32 - {03CC0712-9928-4AC4-9A68-06B8B735AB32}.Debug|Win32.Build.0 = Debug|Win32 - {03CC0712-9928-4AC4-9A68-06B8B735AB32}.Debug|x64.ActiveCfg = Debug|x64 - {03CC0712-9928-4AC4-9A68-06B8B735AB32}.Debug|x64.Build.0 = Debug|x64 - {03CC0712-9928-4AC4-9A68-06B8B735AB32}.Release|Win32.ActiveCfg = Release|Win32 - {03CC0712-9928-4AC4-9A68-06B8B735AB32}.Release|Win32.Build.0 = Release|Win32 - {03CC0712-9928-4AC4-9A68-06B8B735AB32}.Release|x64.ActiveCfg = Release|x64 - {03CC0712-9928-4AC4-9A68-06B8B735AB32}.Release|x64.Build.0 = Release|x64 - EndGlobalSection - GlobalSection(SolutionProperties) = preSolution - HideSolutionNode = FALSE - EndGlobalSection -EndGlobal diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7248/SDK7248Int/7248Int.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7248/SDK7248Int/7248Int.suo deleted file mode 100644 index 9ae87bf..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7248/SDK7248Int/7248Int.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7248/SDK7248Int/7248Int.vcproj b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7248/SDK7248Int/7248Int.vcproj deleted file mode 100644 index 9375bbe..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7248/SDK7248Int/7248Int.vcproj +++ /dev/null @@ -1,470 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7248/SDK7248Int/7248IntDlg.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7248/SDK7248Int/7248IntDlg.cpp deleted file mode 100644 index ecd8137..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7248/SDK7248Int/7248IntDlg.cpp +++ /dev/null @@ -1,347 +0,0 @@ - -// 7248IntDlg.cpp : implementation file -// - -#include "stdafx.h" -#include "7248Int.h" -#include "7248IntDlg.h" -#include "SetupDlg.h" - - -#ifdef _DEBUG -#define new DEBUG_NEW -#endif - -U32 gInBuffer[32768], gOutBuffer[32768]; -HANDLE ghIntEvent[2]; - -// CAboutDlg dialog used for App About - -class CAboutDlg : public CDialog -{ -public: - CAboutDlg(); - -// Dialog Data - enum { IDD = IDD_ABOUTBOX }; - - protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - -// Implementation -protected: - DECLARE_MESSAGE_MAP() -}; - -CAboutDlg::CAboutDlg() : CDialog(CAboutDlg::IDD) -{ -} - -void CAboutDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); -} - -BEGIN_MESSAGE_MAP(CAboutDlg, CDialog) -END_MESSAGE_MAP() - - -// C7248IntDlg dialog - - - - -C7248IntDlg::C7248IntDlg(CWnd* pParent /*=NULL*/) - : CDialog(C7248IntDlg::IDD, pParent) - , m_nCardIdx(-1) - , m_nSampleCount(-1) - , m_nSampleRate(-1) - , m_hCard(-1) -{ - m_hIcon = AfxGetApp()->LoadIcon(IDR_MAINFRAME); - m_nC1=10; m_nC2=10; -} - -void C7248IntDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); -} - -BEGIN_MESSAGE_MAP(C7248IntDlg, CDialog) - ON_WM_SYSCOMMAND() - ON_WM_PAINT() - ON_WM_QUERYDRAGICON() - //}}AFX_MSG_MAP -// ON_STN_CLICKED(IDC_STATIC_07, &C7248IntDlg::OnStnClickedStatic07) -ON_WM_DESTROY() -ON_BN_CLICKED(IDC_BT_SETUP, &C7248IntDlg::OnSetup) -ON_BN_CLICKED(IDC_BT_TRIGGER, &C7248IntDlg::OnTrigger) -ON_WM_CTLCOLOR() -END_MESSAGE_MAP() - - -// C7248IntDlg message handlers - -BOOL C7248IntDlg::OnInitDialog() -{ - CDialog::OnInitDialog(); - - // Add "About..." menu item to system menu. - - // IDM_ABOUTBOX must be in the system command range. - ASSERT((IDM_ABOUTBOX & 0xFFF0) == IDM_ABOUTBOX); - ASSERT(IDM_ABOUTBOX < 0xF000); - - CMenu* pSysMenu = GetSystemMenu(FALSE); - if (pSysMenu != NULL) - { - BOOL bNameValid; - CString strAboutMenu; - bNameValid = strAboutMenu.LoadString(IDS_ABOUTBOX); - ASSERT(bNameValid); - if (!strAboutMenu.IsEmpty()) - { - pSysMenu->AppendMenu(MF_SEPARATOR); - pSysMenu->AppendMenu(MF_STRING, IDM_ABOUTBOX, strAboutMenu); - } - } - - // Set the icon for this dialog. The framework does this automatically - // when the application's main window is not a dialog - SetIcon(m_hIcon, TRUE); // Set big icon - SetIcon(m_hIcon, FALSE); // Set small icon - - // TODO: Add extra initialization here - - return TRUE; // return TRUE unless you set the focus to a control -} - -void C7248IntDlg::OnSysCommand(UINT nID, LPARAM lParam) -{ - if ((nID & 0xFFF0) == IDM_ABOUTBOX) - { - CAboutDlg dlgAbout; - dlgAbout.DoModal(); - } - else - { - CDialog::OnSysCommand(nID, lParam); - } -} - -// If you add a minimize button to your dialog, you will need the code below -// to draw the icon. For MFC applications using the document/view model, -// this is automatically done for you by the framework. - -void C7248IntDlg::OnPaint() -{ - if (IsIconic()) - { - CPaintDC dc(this); // device context for painting - - SendMessage(WM_ICONERASEBKGND, reinterpret_cast(dc.GetSafeHdc()), 0); - - // Center icon in client rectangle - int cxIcon = GetSystemMetrics(SM_CXICON); - int cyIcon = GetSystemMetrics(SM_CYICON); - CRect rect; - GetClientRect(&rect); - int x = (rect.Width() - cxIcon + 1) / 2; - int y = (rect.Height() - cyIcon + 1) / 2; - - // Draw the icon - dc.DrawIcon(x, y, m_hIcon); - } - else - { - CDialog::OnPaint(); - } -} - -// The system calls this function to obtain the cursor to display while the user drags -// the minimized window. -HCURSOR C7248IntDlg::OnQueryDragIcon() -{ - return static_cast(m_hIcon); -} - -void C7248IntDlg::OnDestroy() -{ - CDialog::OnDestroy(); - - // TODO: Add your message handler code here - int i; - - if( m_hCard >= 0 ) - { - DIO_SetDualInterrupt(m_hCard, INT1_DISABLE, INT2_DISABLE, ghIntEvent); - - for (i=0; i<2; i++) - { - if(ghIntEvent[i]) - ResetEvent(ghIntEvent[i]); - } - - - Release_Card( m_hCard ); m_hCard = -1; - } -} - -void C7248IntDlg::OnSetup() -{ - // TODO: Add your control notification handler code here - CSetupDlg setupDlg; - INT_PTR nResponse; - CString strTemp; - int i, k; - - nResponse = setupDlg.DoModal(); - if (nResponse == IDOK) - { - if( m_nCardIdx != setupDlg.m_nCardIdx ) - { - if( m_hCard != -1 ) - { - Release_Card( m_hCard ); - m_hCard = -1; - } - - m_nCardIdx = setupDlg.m_nCardIdx; - } - - - if( m_hCard == -1 ) - { - if ((m_hCard = Register_Card(PCI_7248, m_nCardIdx)) < 0) - { - strTemp.Format( TEXT("Register_Card Error = %d"), m_hCard); - AfxMessageBox( strTemp ); - - EndDialog(IDCANCEL); - return; - } - } - - m_nSampleCount = setupDlg.m_nSampleCount; - m_nSampleRate = setupDlg.m_nSampleRate; - - for ( i=0, k=0; i255) k=0; - - gInBuffer[i]=0; - } - - DIO_PortConfig(m_hCard, Channel_P1A, INPUT_PORT); - DIO_PortConfig(m_hCard, Channel_P2A, OUTPUT_PORT); - - DIO_SetDualInterrupt(m_hCard, INT1_DISABLE, INT2_TIMER_COUNTER, ghIntEvent); - m_nC2 = 2000000/(m_nSampleRate*m_nC1); - - GetDlgItem(IDC_BT_TRIGGER)->EnableWindow( TRUE ); - - } - else if (nResponse == IDCANCEL) - { - // TODO: Place code here to handle when the dialog is - // dismissed with Cancel - } -} - -void C7248IntDlg::OnTrigger() -{ - // TODO: Add your control notification handler code here - int i, k; - CString strTemp; - CString strLine1, strLine2, strLine3, strLine4, strLine5; - - CTR_Setup(m_hCard, 1, RATE_GENERATOR, m_nC1, BIN); - CTR_Setup(m_hCard, 2, RATE_GENERATOR, m_nC2, BIN); - - k=0; i=0; - - while ( k < m_nSampleCount ) - { - if (WaitForSingleObject(ghIntEvent[1], 4000) == WAIT_OBJECT_0) - { - strTemp.Format( TEXT("INT2 Count = %d "), k+1); - SetDlgItemText( IDC_STATIC_06, strTemp ); - - DO_WritePort( m_hCard, Channel_P2A, gOutBuffer[k]); - DI_ReadPort( m_hCard, Channel_P1A, &(gInBuffer[k]) ); - - k++; - } - else - { - AfxMessageBox( TEXT("****** It is too long to wait Interrupt Event *****") ); - break; - } - } - - CTR_Setup( m_hCard, 1, RATE_GENERATOR, 0, BIN); - CTR_Setup( m_hCard, 2, RATE_GENERATOR, 0, BIN); - - GetDlgItem(IDC_STATIC_07)->ShowWindow( SW_SHOW ); - - strLine1.Empty(); /// clear strLine1 - strLine2.Empty(); /// clear strLine2 - strLine3.Empty(); /// clear strLine3 - strLine4.Empty(); /// clear strLine4 - strLine5.Empty(); /// clear strLine5 - - for ( i=0; i=10 && i<20) - { - strLine2 += strTemp; - } - if(i>=20 && i<30) - { - strLine3 += strTemp; - } - if (i>=30 && i<40) - { - strLine4 += strTemp; - } - if (i>=40 && i<50) - { - strLine5 += strTemp; - } - } - - if( !strLine1.IsEmpty() ) - SetDlgItemText( IDC_STATIC_LINE1, strLine1 ); - - if( !strLine2.IsEmpty() ) - SetDlgItemText( IDC_STATIC_LINE2, strLine2 ); - - if( !strLine3.IsEmpty() ) - SetDlgItemText( IDC_STATIC_LINE3, strLine3 ); - - if( !strLine4.IsEmpty() ) - SetDlgItemText( IDC_STATIC_LINE4, strLine4 ); - - if( !strLine5.IsEmpty() ) - SetDlgItemText( IDC_STATIC_LINE5, strLine5 ); -} - -HBRUSH C7248IntDlg::OnCtlColor(CDC* pDC, CWnd* pWnd, UINT nCtlColor) -{ - HBRUSH hbr = CDialog::OnCtlColor(pDC, pWnd, nCtlColor); - - // TODO: Change any attributes of the DC here - if ( pWnd->GetDlgCtrlID() == IDC_STATIC_04 ) - pDC->SetTextColor(RGB(255,0,0)); - - // TODO: Return a different brush if the default is not desired - return hbr; -} diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7248/SDK7248Int/7248IntDlg.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7248/SDK7248Int/7248IntDlg.h deleted file mode 100644 index 0584d2f..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7248/SDK7248Int/7248IntDlg.h +++ /dev/null @@ -1,47 +0,0 @@ - -// 7248IntDlg.h : header file -// - -#include "Dask64.h" - -#pragma once - - -// C7248IntDlg dialog -class C7248IntDlg : public CDialog -{ -// Construction -public: - C7248IntDlg(CWnd* pParent = NULL); // standard constructor - -// Dialog Data - enum { IDD = IDD_MY7248INT_DIALOG }; - - protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - - -// Implementation -protected: - HICON m_hIcon; - int m_nCardIdx; - long m_nSampleCount; - long m_nSampleRate; - - I16 m_hCard; - int m_nC1; - int m_nC2; - - // Generated message map functions - virtual BOOL OnInitDialog(); - afx_msg void OnSysCommand(UINT nID, LPARAM lParam); - afx_msg void OnPaint(); - afx_msg HCURSOR OnQueryDragIcon(); - DECLARE_MESSAGE_MAP() -public: -// afx_msg void OnStnClickedStatic07(); - afx_msg void OnDestroy(); - afx_msg void OnSetup(); - afx_msg void OnTrigger(); - afx_msg HBRUSH OnCtlColor(CDC* pDC, CWnd* pWnd, UINT nCtlColor); -}; diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7248/SDK7248Int/7296Int.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7248/SDK7248Int/7296Int.suo deleted file mode 100644 index ca544ed..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7248/SDK7248Int/7296Int.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7248/SDK7248Int/ReadMe.txt b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7248/SDK7248Int/ReadMe.txt deleted file mode 100644 index 1d8b877..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7248/SDK7248Int/ReadMe.txt +++ /dev/null @@ -1,93 +0,0 @@ -================================================================================ - MICROSOFT FOUNDATION CLASS LIBRARY : 7248Int Project Overview -=============================================================================== - -The application wizard has created this 7248Int application for -you. This application not only demonstrates the basics of using the Microsoft -Foundation Classes but is also a starting point for writing your application. - -This file contains a summary of what you will find in each of the files that -make up your 7248Int application. - -7248Int.vcproj - This is the main project file for VC++ projects generated using an application wizard. - It contains information about the version of Visual C++ that generated the file, and - information about the platforms, configurations, and project features selected with the - application wizard. - -7248Int.h - This is the main header file for the application. It includes other - project specific headers (including Resource.h) and declares the - C7248IntApp application class. - -7248Int.cpp - This is the main application source file that contains the application - class C7248IntApp. - -7248Int.rc - This is a listing of all of the Microsoft Windows resources that the - program uses. It includes the icons, bitmaps, and cursors that are stored - in the RES subdirectory. This file can be directly edited in Microsoft - Visual C++. Your project resources are in 1033. - -res\7248Int.ico - This is an icon file, which is used as the application's icon. This - icon is included by the main resource file 7248Int.rc. - -res\My7248Int.rc2 - This file contains resources that are not edited by Microsoft - Visual C++. You should place all resources not editable by - the resource editor in this file. - - -///////////////////////////////////////////////////////////////////////////// - -The application wizard creates one dialog class: - -7248IntDlg.h, 7248IntDlg.cpp - the dialog - These files contain your C7248IntDlg class. This class defines - the behavior of your application's main dialog. The dialog's template is - in 7248Int.rc, which can be edited in Microsoft Visual C++. - - -///////////////////////////////////////////////////////////////////////////// - -Other Features: - -ActiveX Controls - The application includes support to use ActiveX controls. - -///////////////////////////////////////////////////////////////////////////// - -Other standard files: - -StdAfx.h, StdAfx.cpp - These files are used to build a precompiled header (PCH) file - named 7248Int.pch and a precompiled types file named StdAfx.obj. - -Resource.h - This is the standard header file, which defines new resource IDs. - Microsoft Visual C++ reads and updates this file. - -7248Int.manifest - Application manifest files are used by Windows XP to describe an applications - dependency on specific versions of Side-by-Side assemblies. The loader uses this - information to load the appropriate assembly from the assembly cache or private - from the application. The Application manifest maybe included for redistribution - as an external .manifest file that is installed in the same folder as the application - executable or it may be included in the executable in the form of a resource. -///////////////////////////////////////////////////////////////////////////// - -Other notes: - -The application wizard uses "TODO:" to indicate parts of the source code you -should add to or customize. - -If your application uses MFC in a shared DLL, you will need -to redistribute the MFC DLLs. If your application is in a language -other than the operating system's locale, you will also have to -redistribute the corresponding localized resources MFC90XXX.DLL. -For more information on both of these topics, please see the section on -redistributing Visual C++ applications in MSDN documentation. - -///////////////////////////////////////////////////////////////////////////// diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7248/SDK7248Int/SetupDlg.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7248/SDK7248Int/SetupDlg.cpp deleted file mode 100644 index 8b74f77..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7248/SDK7248Int/SetupDlg.cpp +++ /dev/null @@ -1,63 +0,0 @@ -// SetupDlg.cpp : implementation file -// - -#include "stdafx.h" -#include "7248int.h" -#include "SetupDlg.h" - - -// CSetupDlg dialog - -IMPLEMENT_DYNAMIC(CSetupDlg, CDialog) - -CSetupDlg::CSetupDlg(CWnd* pParent /*=NULL*/) - : CDialog(CSetupDlg::IDD, pParent) - , m_nSampleCount(40) - , m_nSampleRate(5000) -{ - -} - -CSetupDlg::~CSetupDlg() -{ -} - -void CSetupDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); - DDX_Control(pDX, IDC_COMBO_CARDNO, m_cbCardID); - DDX_Text(pDX, IDC_EDIT_COUNT, m_nSampleCount); - DDX_Text(pDX, IDC_EDIT_RATE, m_nSampleRate); - DDV_MinMaxLong(pDX, m_nSampleCount, 0, 32768); - DDV_MinMaxLong(pDX, m_nSampleRate, 0, 15000); -} - - -BEGIN_MESSAGE_MAP(CSetupDlg, CDialog) - ON_CBN_SELCHANGE(IDC_COMBO_CARDNO, &CSetupDlg::OnCardNoSelchange) -// ON_EN_CHANGE(IDC_EDIT_COUNT, &CSetupDlg::OnEnChangeEditCount) -END_MESSAGE_MAP() - - -// CSetupDlg message handlers - -BOOL CSetupDlg::OnInitDialog() -{ - CDialog::OnInitDialog(); - - // TODO: Add extra initialization here - m_cbCardID.SetCurSel(0); - m_nCardIdx = 0; - - - return TRUE; // return TRUE unless you set the focus to a control - // EXCEPTION: OCX Property Pages should return FALSE -} - -void CSetupDlg::OnCardNoSelchange() -{ - // TODO: Add your control notification handler code here - m_nCardIdx = m_cbCardID.GetCurSel(); - -} - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7248/SDK7248Int/SetupDlg.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7248/SDK7248Int/SetupDlg.h deleted file mode 100644 index 7b42abf..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7248/SDK7248Int/SetupDlg.h +++ /dev/null @@ -1,30 +0,0 @@ -#pragma once -#include "afxwin.h" - - -// CSetupDlg dialog - -class CSetupDlg : public CDialog -{ - DECLARE_DYNAMIC(CSetupDlg) - -public: - CSetupDlg(CWnd* pParent = NULL); // standard constructor - virtual ~CSetupDlg(); - -// Dialog Data - enum { IDD = IDD_DIALOG_SETUP }; - -protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - - DECLARE_MESSAGE_MAP() -public: - CComboBox m_cbCardID; - virtual BOOL OnInitDialog(); - long m_nSampleCount; - long m_nSampleRate; - int m_nCardIdx; - afx_msg void OnCardNoSelchange(); -// afx_msg void OnEnChangeEditCount(); -}; diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7248/SDK7248Int/res/7248Int.ico b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7248/SDK7248Int/res/7248Int.ico deleted file mode 100644 index d56fbcd..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7248/SDK7248Int/res/7248Int.ico and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7248/SDK7248Int/res/My7248Int.rc2 b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7248/SDK7248Int/res/My7248Int.rc2 deleted file mode 100644 index 4edfe6a..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7248/SDK7248Int/res/My7248Int.rc2 +++ /dev/null @@ -1,13 +0,0 @@ -// -// My7296Int.RC2 - resources Microsoft Visual C++ does not edit directly -// - -#ifdef APSTUDIO_INVOKED -#error this file is not editable by Microsoft Visual C++ -#endif //APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// Add manually edited resources here... - -///////////////////////////////////////////////////////////////////////////// diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7248/SDK7248Int/resource.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7248/SDK7248Int/resource.h deleted file mode 100644 index 683856a..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7248/SDK7248Int/resource.h +++ /dev/null @@ -1,35 +0,0 @@ -//{{NO_DEPENDENCIES}} -// Microsoft Visual C++ generated include file. -// Used by 7248Int.rc -// -#define IDM_ABOUTBOX 0x0010 -#define IDD_ABOUTBOX 100 -#define IDS_ABOUTBOX 101 -#define IDD_MY7248INT_DIALOG 102 -#define IDR_MAINFRAME 128 -#define IDD_DIALOG_SETUP 129 -#define IDC_BT_SETUP 1000 -#define IDC_BT_TRIGGER 1001 -#define IDC_STATIC_04 1002 -#define IDC_COMBO_CARDNO 1003 -#define IDC_EDIT_COUNT 1004 -#define IDC_STATIC_07 1005 -#define IDC_EDIT_RATE 1005 -#define IDC_STATIC_05 1006 -#define IDC_STATIC_06 1007 -#define IDC_STATIC_LINE1 1008 -#define IDC_STATIC_LINE2 1009 -#define IDC_STATIC_LINE3 1010 -#define IDC_STATIC_LINE4 1011 -#define IDC_STATIC_LINE5 1012 - -// Next default values for new objects -// -#ifdef APSTUDIO_INVOKED -#ifndef APSTUDIO_READONLY_SYMBOLS -#define _APS_NEXT_RESOURCE_VALUE 131 -#define _APS_NEXT_COMMAND_VALUE 32771 -#define _APS_NEXT_CONTROL_VALUE 1000 -#define _APS_NEXT_SYMED_VALUE 101 -#endif -#endif diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7248/SDK7248Int/stdafx.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7248/SDK7248Int/stdafx.cpp deleted file mode 100644 index acd9c41..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7248/SDK7248Int/stdafx.cpp +++ /dev/null @@ -1,8 +0,0 @@ - -// stdafx.cpp : source file that includes just the standard includes -// 7248Int.pch will be the pre-compiled header -// stdafx.obj will contain the pre-compiled type information - -#include "stdafx.h" - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7248/SDK7248Int/stdafx.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7248/SDK7248Int/stdafx.h deleted file mode 100644 index 12123e2..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7248/SDK7248Int/stdafx.h +++ /dev/null @@ -1,60 +0,0 @@ - -// stdafx.h : include file for standard system include files, -// or project specific include files that are used frequently, -// but are changed infrequently - -#pragma once - -#ifndef _SECURE_ATL -#define _SECURE_ATL 1 -#endif - -#ifndef VC_EXTRALEAN -#define VC_EXTRALEAN // Exclude rarely-used stuff from Windows headers -#endif - -#include "targetver.h" - -#define _ATL_CSTRING_EXPLICIT_CONSTRUCTORS // some CString constructors will be explicit - -// turns off MFC's hiding of some common and often safely ignored warning messages -#define _AFX_ALL_WARNINGS - -#include // MFC core and standard components -#include // MFC extensions - - -#include // MFC Automation classes - - - -#ifndef _AFX_NO_OLE_SUPPORT -#include // MFC support for Internet Explorer 4 Common Controls -#endif -#ifndef _AFX_NO_AFXCMN_SUPPORT -#include // MFC support for Windows Common Controls -#endif // _AFX_NO_AFXCMN_SUPPORT - -#include // MFC support for ribbons and control bars - - - - - - - - - -#ifdef _UNICODE -#if defined _M_IX86 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='x86' publicKeyToken='6595b64144ccf1df' language='*'\"") -#elif defined _M_IA64 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='ia64' publicKeyToken='6595b64144ccf1df' language='*'\"") -#elif defined _M_X64 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='amd64' publicKeyToken='6595b64144ccf1df' language='*'\"") -#else -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='*' publicKeyToken='6595b64144ccf1df' language='*'\"") -#endif -#endif - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7248/SDK7248Int/targetver.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7248/SDK7248Int/targetver.h deleted file mode 100644 index 11730d5..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7248/SDK7248Int/targetver.h +++ /dev/null @@ -1,26 +0,0 @@ - -#pragma once - -// The following macros define the minimum required platform. The minimum required platform -// is the earliest version of Windows, Internet Explorer etc. that has the necessary features to run -// your application. The macros work by enabling all features available on platform versions up to and -// including the version specified. - -// Modify the following defines if you have to target a platform prior to the ones specified below. -// Refer to MSDN for the latest info on corresponding values for different platforms. -#ifndef WINVER // Specifies that the minimum required platform is Windows Vista. -#define WINVER 0x0600 // Change this to the appropriate value to target other versions of Windows. -#endif - -#ifndef _WIN32_WINNT // Specifies that the minimum required platform is Windows Vista. -#define _WIN32_WINNT 0x0600 // Change this to the appropriate value to target other versions of Windows. -#endif - -#ifndef _WIN32_WINDOWS // Specifies that the minimum required platform is Windows 98. -#define _WIN32_WINDOWS 0x0410 // Change this to the appropriate value to target Windows Me or later. -#endif - -#ifndef _WIN32_IE // Specifies that the minimum required platform is Internet Explorer 7.0. -#define _WIN32_IE 0x0700 // Change this to the appropriate value to target other versions of IE. -#endif - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7248/SDK7248IntMsg/7248Int.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7248/SDK7248IntMsg/7248Int.cpp deleted file mode 100644 index 5825e0d..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7248/SDK7248IntMsg/7248Int.cpp +++ /dev/null @@ -1,79 +0,0 @@ - -// 7248Int.cpp : Defines the class behaviors for the application. -// - -#include "stdafx.h" -#include "7248Int.h" -#include "7248IntDlg.h" - -#ifdef _DEBUG -#define new DEBUG_NEW -#endif - - -// C7248IntApp - -BEGIN_MESSAGE_MAP(C7248IntApp, CWinAppEx) - ON_COMMAND(ID_HELP, &CWinApp::OnHelp) -END_MESSAGE_MAP() - - -// C7248IntApp construction - -C7248IntApp::C7248IntApp() -{ - // TODO: add construction code here, - // Place all significant initialization in InitInstance -} - - -// The one and only C7248IntApp object - -C7248IntApp theApp; - - -// C7248IntApp initialization - -BOOL C7248IntApp::InitInstance() -{ - // InitCommonControlsEx() is required on Windows XP if an application - // manifest specifies use of ComCtl32.dll version 6 or later to enable - // visual styles. Otherwise, any window creation will fail. - INITCOMMONCONTROLSEX InitCtrls; - InitCtrls.dwSize = sizeof(InitCtrls); - // Set this to include all the common control classes you want to use - // in your application. - InitCtrls.dwICC = ICC_WIN95_CLASSES; - InitCommonControlsEx(&InitCtrls); - - CWinAppEx::InitInstance(); - - AfxEnableControlContainer(); - - // Standard initialization - // If you are not using these features and wish to reduce the size - // of your final executable, you should remove from the following - // the specific initialization routines you do not need - // Change the registry key under which our settings are stored - // TODO: You should modify this string to be something appropriate - // such as the name of your company or organization - SetRegistryKey(_T("Local AppWizard-Generated Applications")); - - C7248IntDlg dlg; - m_pMainWnd = &dlg; - INT_PTR nResponse = dlg.DoModal(); - if (nResponse == IDOK) - { - // TODO: Place code here to handle when the dialog is - // dismissed with OK - } - else if (nResponse == IDCANCEL) - { - // TODO: Place code here to handle when the dialog is - // dismissed with Cancel - } - - // Since the dialog has been closed, return FALSE so that we exit the - // application, rather than start the application's message pump. - return FALSE; -} diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7248/SDK7248IntMsg/7248Int.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7248/SDK7248IntMsg/7248Int.h deleted file mode 100644 index 0510533..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7248/SDK7248IntMsg/7248Int.h +++ /dev/null @@ -1,32 +0,0 @@ - -// 7248Int.h : main header file for the PROJECT_NAME application -// - -#pragma once - -#ifndef __AFXWIN_H__ - #error "include 'stdafx.h' before including this file for PCH" -#endif - -#include "resource.h" // main symbols - - -// C7248IntApp: -// See 7248Int.cpp for the implementation of this class -// - -class C7248IntApp : public CWinAppEx -{ -public: - C7248IntApp(); - -// Overrides - public: - virtual BOOL InitInstance(); - -// Implementation - - DECLARE_MESSAGE_MAP() -}; - -extern C7248IntApp theApp; \ No newline at end of file diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7248/SDK7248IntMsg/7248Int.rc b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7248/SDK7248IntMsg/7248Int.rc deleted file mode 100644 index 86eaf96..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7248/SDK7248IntMsg/7248Int.rc +++ /dev/null @@ -1,274 +0,0 @@ -// Microsoft Visual C++ generated resource script. -// -#include "resource.h" - -#define APSTUDIO_READONLY_SYMBOLS -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 2 resource. -// -#ifndef APSTUDIO_INVOKED -#include "targetver.h" -#endif -#include "afxres.h" - -///////////////////////////////////////////////////////////////////////////// -#undef APSTUDIO_READONLY_SYMBOLS - -///////////////////////////////////////////////////////////////////////////// -// Chinese (Taiwan) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_CHT) -#ifdef _WIN32 -LANGUAGE LANG_CHINESE, SUBLANG_CHINESE_TRADITIONAL -#pragma code_page(950) -#endif //_WIN32 - -#ifdef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// TEXTINCLUDE -// - -1 TEXTINCLUDE -BEGIN - "resource.h\0" -END - -2 TEXTINCLUDE -BEGIN - "#ifndef APSTUDIO_INVOKED\r\n" - "#include ""targetver.h""\r\n" - "#endif\r\n" - "#include ""afxres.h""\r\n" - "\0" -END - -3 TEXTINCLUDE -BEGIN - "#define _AFX_NO_SPLITTER_RESOURCES\r\n" - "#define _AFX_NO_OLE_RESOURCES\r\n" - "#define _AFX_NO_TRACKER_RESOURCES\r\n" - "#define _AFX_NO_PROPERTY_RESOURCES\r\n" - "\r\n" - "#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)\r\n" - "LANGUAGE 9, 1\r\n" - "#pragma code_page(1252)\r\n" - "#include ""res\\My7248Int.rc2"" // non-Microsoft Visual C++ edited resources\r\n" - "#include ""afxres.rc"" // Standard components\r\n" - "#endif\r\n" - "\0" -END - -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// Icon -// - -// Icon with lowest ID value placed first to ensure application icon -// remains consistent on all systems. -IDR_MAINFRAME ICON "res\\7248Int.ico" -#endif // Chinese (Taiwan) resources -///////////////////////////////////////////////////////////////////////////// - - -///////////////////////////////////////////////////////////////////////////// -// English (U.S.) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -#ifdef _WIN32 -LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US -#pragma code_page(1252) -#endif //_WIN32 - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog -// - -IDD_ABOUTBOX DIALOGEX 0, 0, 170, 62 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "About 7248Int" -FONT 8, "MS Shell Dlg", 0, 0, 0x1 -BEGIN - ICON IDR_MAINFRAME,IDC_STATIC,14,14,21,20 - LTEXT "7248Int, Version 1.0",IDC_STATIC,42,14,114,8,SS_NOPREFIX - LTEXT "Copyright (C) 2010",IDC_STATIC,42,26,114,8 - DEFPUSHBUTTON "OK",IDOK,113,41,50,14,WS_GROUP -END - -IDD_MY7248INT_DIALOG DIALOGEX 0, 0, 271, 207 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU -EXSTYLE WS_EX_APPWINDOW -CAPTION "7248 Interrupt Sample" -FONT 8, "MS Shell Dlg", 0, 0, 0x1 -BEGIN - PUSHBUTTON "Exit",IDCANCEL,163,7,50,14 - PUSHBUTTON "Setup",IDC_BT_SETUP,7,7,53,14 - PUSHBUTTON "Interrupt Trigger",IDC_BT_TRIGGER,61,7,102,14,WS_DISABLED - LTEXT "This sample performs digital output on PortA of\nCN2 and digital input on PortA of CN1 when an\ninterrupt happens. The INT2 is used, and inetrrupt signals are generated by internal Timer-output.",IDC_STATIC,7,26,206,33 - LTEXT "Using cable to connect CN1 and CN2\nClick 'Setup' button first ...",IDC_STATIC_04,7,62,125,17 - LTEXT "Data from Input port: \n** only shows at most 50 data **",IDC_STATIC_07,7,97,113,19,NOT WS_VISIBLE - LTEXT "INT2 Count =",IDC_STATIC_06,7,83,85,13 - LTEXT "",IDC_STATIC_LINE1,7,116,247,11 - LTEXT "",IDC_STATIC_LINE2,7,130,247,11 - LTEXT "",IDC_STATIC_LINE3,7,143,247,11 - LTEXT "",IDC_STATIC_LINE4,7,156,247,11 - LTEXT "",IDC_STATIC_LINE5,7,170,247,11 -END - -IDD_DIALOG_SETUP DIALOGEX 0, 0, 201, 114 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "Setup Dialog" -FONT 8, "MS Shell Dlg", 400, 0, 0x1 -BEGIN - DEFPUSHBUTTON "OK",IDOK,48,84,50,14 - PUSHBUTTON "Cancel",IDCANCEL,105,84,50,14 - LTEXT "Card Number : ",IDC_STATIC,19,19,53,14 - LTEXT "Total Count : ",IDC_STATIC,19,39,53,14 - LTEXT "Sampling Rate : ",IDC_STATIC,19,57,53,14 - COMBOBOX IDC_COMBO_CARDNO,79,17,86,13,CBS_DROPDOWN | WS_VSCROLL | WS_TABSTOP - EDITTEXT IDC_EDIT_COUNT,79,36,85,14,ES_AUTOHSCROLL | ES_NUMBER - EDITTEXT IDC_EDIT_RATE,79,55,85,14,ES_AUTOHSCROLL | ES_NUMBER -END - - -///////////////////////////////////////////////////////////////////////////// -// -// Version -// - -VS_VERSION_INFO VERSIONINFO - FILEVERSION 1,0,0,1 - PRODUCTVERSION 1,0,0,1 - FILEFLAGSMASK 0x3fL -#ifdef _DEBUG - FILEFLAGS 0x1L -#else - FILEFLAGS 0x0L -#endif - FILEOS 0x4L - FILETYPE 0x1L - FILESUBTYPE 0x0L -BEGIN - BLOCK "StringFileInfo" - BEGIN - BLOCK "040904e4" - BEGIN - VALUE "CompanyName", "TODO: " - VALUE "FileDescription", "TODO: " - VALUE "FileVersion", "1.0.0.1" - VALUE "InternalName", "7248Int.exe" - VALUE "LegalCopyright", "TODO: (c) . All rights reserved." - VALUE "OriginalFilename", "7248Int.exe" - VALUE "ProductName", "TODO: " - VALUE "ProductVersion", "1.0.0.1" - END - END - BLOCK "VarFileInfo" - BEGIN - VALUE "Translation", 0x409, 1252 - END -END - - -///////////////////////////////////////////////////////////////////////////// -// -// DESIGNINFO -// - -#ifdef APSTUDIO_INVOKED -GUIDELINES DESIGNINFO -BEGIN - IDD_ABOUTBOX, DIALOG - BEGIN - END - - IDD_DIALOG_SETUP, DIALOG - BEGIN - END -END -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog Info -// - -IDD_DIALOG_SETUP DLGINIT -BEGIN - IDC_COMBO_CARDNO, 0x403, 2, 0 -0x0030, - IDC_COMBO_CARDNO, 0x403, 2, 0 -0x0031, - IDC_COMBO_CARDNO, 0x403, 2, 0 -0x0032, - IDC_COMBO_CARDNO, 0x403, 2, 0 -0x0033, - IDC_COMBO_CARDNO, 0x403, 2, 0 -0x0034, - IDC_COMBO_CARDNO, 0x403, 2, 0 -0x0035, - IDC_COMBO_CARDNO, 0x403, 2, 0 -0x0036, - IDC_COMBO_CARDNO, 0x403, 2, 0 -0x0037, - IDC_COMBO_CARDNO, 0x403, 2, 0 -0x0038, - IDC_COMBO_CARDNO, 0x403, 2, 0 -0x0039, - IDC_COMBO_CARDNO, 0x403, 3, 0 -0x3031, "\000" - IDC_COMBO_CARDNO, 0x403, 3, 0 -0x3131, "\000" - IDC_COMBO_CARDNO, 0x403, 3, 0 -0x3231, "\000" - IDC_COMBO_CARDNO, 0x403, 3, 0 -0x3331, "\000" - IDC_COMBO_CARDNO, 0x403, 3, 0 -0x3431, "\000" - IDC_COMBO_CARDNO, 0x403, 3, 0 -0x3531, "\000" - 0 -END - - -///////////////////////////////////////////////////////////////////////////// -// -// String Table -// - -STRINGTABLE -BEGIN - IDS_ABOUTBOX "&About 7248Int..." -END - -#endif // English (U.S.) resources -///////////////////////////////////////////////////////////////////////////// - - - -#ifndef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 3 resource. -// -#define _AFX_NO_SPLITTER_RESOURCES -#define _AFX_NO_OLE_RESOURCES -#define _AFX_NO_TRACKER_RESOURCES -#define _AFX_NO_PROPERTY_RESOURCES - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -LANGUAGE 9, 1 -#pragma code_page(1252) -#include "res\My7248Int.rc2" // non-Microsoft Visual C++ edited resources -#include "afxres.rc" // Standard components -#endif - -///////////////////////////////////////////////////////////////////////////// -#endif // not APSTUDIO_INVOKED - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7248/SDK7248IntMsg/7248Int.sln b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7248/SDK7248IntMsg/7248Int.sln deleted file mode 100644 index cb6f144..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7248/SDK7248IntMsg/7248Int.sln +++ /dev/null @@ -1,26 +0,0 @@ - -Microsoft Visual Studio Solution File, Format Version 10.00 -# Visual Studio 2008 -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "7248Int", "7248Int.vcproj", "{03CC0712-9928-4AC4-9A68-06B8B735AB32}" -EndProject -Global - GlobalSection(SolutionConfigurationPlatforms) = preSolution - Debug|Win32 = Debug|Win32 - Debug|x64 = Debug|x64 - Release|Win32 = Release|Win32 - Release|x64 = Release|x64 - EndGlobalSection - GlobalSection(ProjectConfigurationPlatforms) = postSolution - {03CC0712-9928-4AC4-9A68-06B8B735AB32}.Debug|Win32.ActiveCfg = Debug|Win32 - {03CC0712-9928-4AC4-9A68-06B8B735AB32}.Debug|Win32.Build.0 = Debug|Win32 - {03CC0712-9928-4AC4-9A68-06B8B735AB32}.Debug|x64.ActiveCfg = Debug|x64 - {03CC0712-9928-4AC4-9A68-06B8B735AB32}.Debug|x64.Build.0 = Debug|x64 - {03CC0712-9928-4AC4-9A68-06B8B735AB32}.Release|Win32.ActiveCfg = Release|Win32 - {03CC0712-9928-4AC4-9A68-06B8B735AB32}.Release|Win32.Build.0 = Release|Win32 - {03CC0712-9928-4AC4-9A68-06B8B735AB32}.Release|x64.ActiveCfg = Release|x64 - {03CC0712-9928-4AC4-9A68-06B8B735AB32}.Release|x64.Build.0 = Release|x64 - EndGlobalSection - GlobalSection(SolutionProperties) = preSolution - HideSolutionNode = FALSE - EndGlobalSection -EndGlobal diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7248/SDK7248IntMsg/7248Int.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7248/SDK7248IntMsg/7248Int.suo deleted file mode 100644 index 6a4963c..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7248/SDK7248IntMsg/7248Int.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7248/SDK7248IntMsg/7248Int.vcproj b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7248/SDK7248IntMsg/7248Int.vcproj deleted file mode 100644 index 9375bbe..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7248/SDK7248IntMsg/7248Int.vcproj +++ /dev/null @@ -1,470 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7248/SDK7248IntMsg/7248IntDlg.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7248/SDK7248IntMsg/7248IntDlg.cpp deleted file mode 100644 index b051024..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7248/SDK7248IntMsg/7248IntDlg.cpp +++ /dev/null @@ -1,364 +0,0 @@ - -// 7248IntDlg.cpp : implementation file -// - -#include "stdafx.h" -#include "7248Int.h" -#include "7248IntDlg.h" -#include "SetupDlg.h" - -#define TIMER_INTERRUPT_MESSAGE _T("TIMER_INT") -UINT WM_INT = ::RegisterWindowMessage(TIMER_INTERRUPT_MESSAGE); - - -#ifdef _DEBUG -#define new DEBUG_NEW -#endif - -U32 gInBuffer[32768], gOutBuffer[32768]; -HANDLE ghIntEvent[2]; - -// CAboutDlg dialog used for App About - -class CAboutDlg : public CDialog -{ -public: - CAboutDlg(); - -// Dialog Data - enum { IDD = IDD_ABOUTBOX }; - - protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - -// Implementation -protected: - DECLARE_MESSAGE_MAP() -}; - -CAboutDlg::CAboutDlg() : CDialog(CAboutDlg::IDD) -{ -} - -void CAboutDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); -} - -BEGIN_MESSAGE_MAP(CAboutDlg, CDialog) -END_MESSAGE_MAP() - - -// C7248IntDlg dialog - - - - -C7248IntDlg::C7248IntDlg(CWnd* pParent /*=NULL*/) - : CDialog(C7248IntDlg::IDD, pParent) - , m_nCardIdx(-1) - , m_nSampleCount(-1) - , m_nSampleRate(-1) - , m_hCard(-1) -{ - m_hIcon = AfxGetApp()->LoadIcon(IDR_MAINFRAME); - m_nC1=10; m_nC2=10; - m_IntCount = 0; -} - -void C7248IntDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); -} - -BEGIN_MESSAGE_MAP(C7248IntDlg, CDialog) - ON_WM_SYSCOMMAND() - ON_WM_PAINT() - ON_WM_QUERYDRAGICON() - ON_REGISTERED_MESSAGE(WM_INT, OnTimerInterrupt) - //}}AFX_MSG_MAP - ON_WM_DESTROY() - ON_BN_CLICKED(IDC_BT_SETUP, &C7248IntDlg::OnSetup) - ON_BN_CLICKED(IDC_BT_TRIGGER, &C7248IntDlg::OnTrigger) - ON_WM_CTLCOLOR() -END_MESSAGE_MAP() - - -// C7248IntDlg message handlers - -BOOL C7248IntDlg::OnInitDialog() -{ - CDialog::OnInitDialog(); - - // Add "About..." menu item to system menu. - - // IDM_ABOUTBOX must be in the system command range. - ASSERT((IDM_ABOUTBOX & 0xFFF0) == IDM_ABOUTBOX); - ASSERT(IDM_ABOUTBOX < 0xF000); - - CMenu* pSysMenu = GetSystemMenu(FALSE); - if (pSysMenu != NULL) - { - BOOL bNameValid; - CString strAboutMenu; - bNameValid = strAboutMenu.LoadString(IDS_ABOUTBOX); - ASSERT(bNameValid); - if (!strAboutMenu.IsEmpty()) - { - pSysMenu->AppendMenu(MF_SEPARATOR); - pSysMenu->AppendMenu(MF_STRING, IDM_ABOUTBOX, strAboutMenu); - } - } - - // Set the icon for this dialog. The framework does this automatically - // when the application's main window is not a dialog - SetIcon(m_hIcon, TRUE); // Set big icon - SetIcon(m_hIcon, FALSE); // Set small icon - - // TODO: Add extra initialization here - - return TRUE; // return TRUE unless you set the focus to a control -} - -void C7248IntDlg::OnSysCommand(UINT nID, LPARAM lParam) -{ - if ((nID & 0xFFF0) == IDM_ABOUTBOX) - { - CAboutDlg dlgAbout; - dlgAbout.DoModal(); - } - else - { - CDialog::OnSysCommand(nID, lParam); - } -} - -// If you add a minimize button to your dialog, you will need the code below -// to draw the icon. For MFC applications using the document/view model, -// this is automatically done for you by the framework. - -void C7248IntDlg::OnPaint() -{ - if (IsIconic()) - { - CPaintDC dc(this); // device context for painting - - SendMessage(WM_ICONERASEBKGND, reinterpret_cast(dc.GetSafeHdc()), 0); - - // Center icon in client rectangle - int cxIcon = GetSystemMetrics(SM_CXICON); - int cyIcon = GetSystemMetrics(SM_CYICON); - CRect rect; - GetClientRect(&rect); - int x = (rect.Width() - cxIcon + 1) / 2; - int y = (rect.Height() - cyIcon + 1) / 2; - - // Draw the icon - dc.DrawIcon(x, y, m_hIcon); - } - else - { - CDialog::OnPaint(); - } -} - -// The system calls this function to obtain the cursor to display while the user drags -// the minimized window. -HCURSOR C7248IntDlg::OnQueryDragIcon() -{ - return static_cast(m_hIcon); -} - -void C7248IntDlg::OnDestroy() -{ - CDialog::OnDestroy(); - - // TODO: Add your message handler code here - int i; - - if( m_hCard >= 0 ) - { - DIO_SetDualInterrupt(m_hCard, INT1_DISABLE, INT2_DISABLE, ghIntEvent); - - for (i=0; i<2; i++) - { - if(ghIntEvent[i]) - ResetEvent(ghIntEvent[i]); - } - - - Release_Card( m_hCard ); m_hCard = -1; - } -} - -void C7248IntDlg::OnSetup() -{ - // TODO: Add your control notification handler code here - CSetupDlg setupDlg; - INT_PTR nResponse; - CString strTemp; - int i, k; - - nResponse = setupDlg.DoModal(); - if (nResponse == IDOK) - { - if( m_nCardIdx != setupDlg.m_nCardIdx ) - { - if( m_hCard != -1 ) - { - Release_Card( m_hCard ); - m_hCard = -1; - } - - m_nCardIdx = setupDlg.m_nCardIdx; - } - - - if( m_hCard == -1 ) - { - if ((m_hCard = Register_Card(PCI_7248, m_nCardIdx)) < 0) - { - strTemp.Format( TEXT("Register_Card Error = %d"), m_hCard); - AfxMessageBox( strTemp ); - - EndDialog(IDCANCEL); - return; - } - } - - m_nSampleCount = setupDlg.m_nSampleCount; - m_nSampleRate = setupDlg.m_nSampleRate; - if (m_nSampleRate > 15000 ) m_nSampleRate=15000; - - - for ( i=0, k=0; i255) k=0; - - gInBuffer[i]=0; - } - - - DIO_PortConfig(m_hCard, Channel_P1A, INPUT_PORT); - DIO_PortConfig(m_hCard, Channel_P2A, OUTPUT_PORT); - - DIO_SetDualInterrupt(m_hCard, INT1_DISABLE, INT2_TIMER_COUNTER, ghIntEvent); - m_nC2 = 2000000/(m_nSampleRate*m_nC1); - m_IntCount = 0; - - GetDlgItem(IDC_BT_TRIGGER)->EnableWindow( TRUE ); - - } - else if (nResponse == IDCANCEL) - { - // TODO: Place code here to handle when the dialog is - // dismissed with Cancel - } -} - -void C7248IntDlg::OnTrigger() -{ - // TODO: Add your control notification handler code here - - CTR_Setup(m_hCard, 1, RATE_GENERATOR, m_nC1, BIN); - CTR_Setup(m_hCard, 2, RATE_GENERATOR, m_nC2, BIN); - - DIO_INT2_EventMessage (m_hCard, INT2_TIMER_COUNTER, this->m_hWnd, WM_INT, NULL); - -} - -HBRUSH C7248IntDlg::OnCtlColor(CDC* pDC, CWnd* pWnd, UINT nCtlColor) -{ - HBRUSH hbr = CDialog::OnCtlColor(pDC, pWnd, nCtlColor); - - // TODO: Change any attributes of the DC here - if ( pWnd->GetDlgCtrlID() == IDC_STATIC_04 ) - pDC->SetTextColor(RGB(255,0,0)); - - // TODO: Return a different brush if the default is not desired - return hbr; -} - -LRESULT C7248IntDlg::OnTimerInterrupt(WPARAM wParam, LPARAM lParam) -{ - // do something useful - int i; - CString strTemp; - CString strLine1, strLine2, strLine3, strLine4, strLine5; - - if(m_IntCount m_hWnd, NULL, NULL); - DIO_INT1_EventMessage (m_hCard, INT1_DISABLE, this->m_hWnd, NULL, NULL); - - CTR_Setup( m_hCard, 1, RATE_GENERATOR, 0, BIN); - CTR_Setup( m_hCard, 2, RATE_GENERATOR, 0, BIN); - - GetDlgItem(IDC_STATIC_07)->ShowWindow( SW_SHOW ); - - strLine1.Empty(); /// clear strLine1 - strLine2.Empty(); /// clear strLine2 - strLine3.Empty(); /// clear strLine3 - strLine4.Empty(); /// clear strLine - strLine5.Empty(); /// clear strLine5 - - for ( i=0; i<50 /*m_nSampleCount*/; i++) - { - strTemp.Format( TEXT("%d, "), gInBuffer[i] ); - - if(i<10) - { - strLine1 += strTemp; - } - - if(i>=10 && i<20) - { - strLine2 += strTemp; - } - - if(i>=20 && i<30) - { - strLine3 += strTemp; - } - - if (i>=30 && i<40) - { - strLine4 += strTemp; - } - - if (i>=40 && i<50) - { - strLine5 += strTemp; - } - } - - if( !strLine1.IsEmpty() ) - SetDlgItemText( IDC_STATIC_LINE1, strLine1 ); - - if( !strLine2.IsEmpty() ) - SetDlgItemText( IDC_STATIC_LINE2, strLine2 ); - - if( !strLine3.IsEmpty() ) - SetDlgItemText( IDC_STATIC_LINE3, strLine3 ); - - if( !strLine4.IsEmpty() ) - SetDlgItemText( IDC_STATIC_LINE4, strLine4 ); - - if( !strLine5.IsEmpty() ) - SetDlgItemText( IDC_STATIC_LINE5, strLine5 ); - } - - return (LRESULT) 0; -} diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7248/SDK7248IntMsg/7248IntDlg.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7248/SDK7248IntMsg/7248IntDlg.h deleted file mode 100644 index d3eab9b..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7248/SDK7248IntMsg/7248IntDlg.h +++ /dev/null @@ -1,49 +0,0 @@ - -// 7248IntDlg.h : header file -// - -#include "Dask64.h" - -#pragma once - - -// C7248IntDlg dialog -class C7248IntDlg : public CDialog -{ -// Construction -public: - C7248IntDlg(CWnd* pParent = NULL); // standard constructor - -// Dialog Data - enum { IDD = IDD_MY7248INT_DIALOG }; - - protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - - -// Implementation -protected: - HICON m_hIcon; - int m_nCardIdx; - long m_nSampleCount; - long m_nSampleRate; - int m_IntCount; - - I16 m_hCard; - int m_nC1; - int m_nC2; - - // Generated message map functions - virtual BOOL OnInitDialog(); - afx_msg void OnSysCommand(UINT nID, LPARAM lParam); - afx_msg void OnPaint(); - afx_msg LRESULT OnTimerInterrupt(WPARAM wParam, LPARAM lParam); - afx_msg HCURSOR OnQueryDragIcon(); - DECLARE_MESSAGE_MAP() -public: -// afx_msg void OnStnClickedStatic07(); - afx_msg void OnDestroy(); - afx_msg void OnSetup(); - afx_msg void OnTrigger(); - afx_msg HBRUSH OnCtlColor(CDC* pDC, CWnd* pWnd, UINT nCtlColor); -}; diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7248/SDK7248IntMsg/7296Int.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7248/SDK7248IntMsg/7296Int.suo deleted file mode 100644 index 8d56f7c..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7248/SDK7248IntMsg/7296Int.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7248/SDK7248IntMsg/ReadMe.txt b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7248/SDK7248IntMsg/ReadMe.txt deleted file mode 100644 index 1d8b877..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7248/SDK7248IntMsg/ReadMe.txt +++ /dev/null @@ -1,93 +0,0 @@ -================================================================================ - MICROSOFT FOUNDATION CLASS LIBRARY : 7248Int Project Overview -=============================================================================== - -The application wizard has created this 7248Int application for -you. This application not only demonstrates the basics of using the Microsoft -Foundation Classes but is also a starting point for writing your application. - -This file contains a summary of what you will find in each of the files that -make up your 7248Int application. - -7248Int.vcproj - This is the main project file for VC++ projects generated using an application wizard. - It contains information about the version of Visual C++ that generated the file, and - information about the platforms, configurations, and project features selected with the - application wizard. - -7248Int.h - This is the main header file for the application. It includes other - project specific headers (including Resource.h) and declares the - C7248IntApp application class. - -7248Int.cpp - This is the main application source file that contains the application - class C7248IntApp. - -7248Int.rc - This is a listing of all of the Microsoft Windows resources that the - program uses. It includes the icons, bitmaps, and cursors that are stored - in the RES subdirectory. This file can be directly edited in Microsoft - Visual C++. Your project resources are in 1033. - -res\7248Int.ico - This is an icon file, which is used as the application's icon. This - icon is included by the main resource file 7248Int.rc. - -res\My7248Int.rc2 - This file contains resources that are not edited by Microsoft - Visual C++. You should place all resources not editable by - the resource editor in this file. - - -///////////////////////////////////////////////////////////////////////////// - -The application wizard creates one dialog class: - -7248IntDlg.h, 7248IntDlg.cpp - the dialog - These files contain your C7248IntDlg class. This class defines - the behavior of your application's main dialog. The dialog's template is - in 7248Int.rc, which can be edited in Microsoft Visual C++. - - -///////////////////////////////////////////////////////////////////////////// - -Other Features: - -ActiveX Controls - The application includes support to use ActiveX controls. - -///////////////////////////////////////////////////////////////////////////// - -Other standard files: - -StdAfx.h, StdAfx.cpp - These files are used to build a precompiled header (PCH) file - named 7248Int.pch and a precompiled types file named StdAfx.obj. - -Resource.h - This is the standard header file, which defines new resource IDs. - Microsoft Visual C++ reads and updates this file. - -7248Int.manifest - Application manifest files are used by Windows XP to describe an applications - dependency on specific versions of Side-by-Side assemblies. The loader uses this - information to load the appropriate assembly from the assembly cache or private - from the application. The Application manifest maybe included for redistribution - as an external .manifest file that is installed in the same folder as the application - executable or it may be included in the executable in the form of a resource. -///////////////////////////////////////////////////////////////////////////// - -Other notes: - -The application wizard uses "TODO:" to indicate parts of the source code you -should add to or customize. - -If your application uses MFC in a shared DLL, you will need -to redistribute the MFC DLLs. If your application is in a language -other than the operating system's locale, you will also have to -redistribute the corresponding localized resources MFC90XXX.DLL. -For more information on both of these topics, please see the section on -redistributing Visual C++ applications in MSDN documentation. - -///////////////////////////////////////////////////////////////////////////// diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7248/SDK7248IntMsg/SetupDlg.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7248/SDK7248IntMsg/SetupDlg.cpp deleted file mode 100644 index 95da469..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7248/SDK7248IntMsg/SetupDlg.cpp +++ /dev/null @@ -1,63 +0,0 @@ -// SetupDlg.cpp : implementation file -// - -#include "stdafx.h" -#include "7248Int.h" -#include "SetupDlg.h" - - -// CSetupDlg dialog - -IMPLEMENT_DYNAMIC(CSetupDlg, CDialog) - -CSetupDlg::CSetupDlg(CWnd* pParent /*=NULL*/) - : CDialog(CSetupDlg::IDD, pParent) - , m_nSampleCount(40) - , m_nSampleRate(5000) -{ - -} - -CSetupDlg::~CSetupDlg() -{ -} - -void CSetupDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); - DDX_Control(pDX, IDC_COMBO_CARDNO, m_cbCardID); - DDX_Text(pDX, IDC_EDIT_COUNT, m_nSampleCount); - DDX_Text(pDX, IDC_EDIT_RATE, m_nSampleRate); - DDV_MinMaxLong(pDX, m_nSampleCount, 0, 32768); - DDV_MinMaxLong(pDX, m_nSampleRate, 0, 15000); -} - - -BEGIN_MESSAGE_MAP(CSetupDlg, CDialog) - ON_CBN_SELCHANGE(IDC_COMBO_CARDNO, &CSetupDlg::OnCardNoSelchange) -// ON_EN_CHANGE(IDC_EDIT_COUNT, &CSetupDlg::OnEnChangeEditCount) -END_MESSAGE_MAP() - - -// CSetupDlg message handlers - -BOOL CSetupDlg::OnInitDialog() -{ - CDialog::OnInitDialog(); - - // TODO: Add extra initialization here - m_cbCardID.SetCurSel(0); - m_nCardIdx = 0; - - - return TRUE; // return TRUE unless you set the focus to a control - // EXCEPTION: OCX Property Pages should return FALSE -} - -void CSetupDlg::OnCardNoSelchange() -{ - // TODO: Add your control notification handler code here - m_nCardIdx = m_cbCardID.GetCurSel(); - -} - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7248/SDK7248IntMsg/SetupDlg.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7248/SDK7248IntMsg/SetupDlg.h deleted file mode 100644 index 7b42abf..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7248/SDK7248IntMsg/SetupDlg.h +++ /dev/null @@ -1,30 +0,0 @@ -#pragma once -#include "afxwin.h" - - -// CSetupDlg dialog - -class CSetupDlg : public CDialog -{ - DECLARE_DYNAMIC(CSetupDlg) - -public: - CSetupDlg(CWnd* pParent = NULL); // standard constructor - virtual ~CSetupDlg(); - -// Dialog Data - enum { IDD = IDD_DIALOG_SETUP }; - -protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - - DECLARE_MESSAGE_MAP() -public: - CComboBox m_cbCardID; - virtual BOOL OnInitDialog(); - long m_nSampleCount; - long m_nSampleRate; - int m_nCardIdx; - afx_msg void OnCardNoSelchange(); -// afx_msg void OnEnChangeEditCount(); -}; diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7248/SDK7248IntMsg/res/7248Int.ico b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7248/SDK7248IntMsg/res/7248Int.ico deleted file mode 100644 index d56fbcd..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7248/SDK7248IntMsg/res/7248Int.ico and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7248/SDK7248IntMsg/res/My7248Int.rc2 b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7248/SDK7248IntMsg/res/My7248Int.rc2 deleted file mode 100644 index 4edfe6a..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7248/SDK7248IntMsg/res/My7248Int.rc2 +++ /dev/null @@ -1,13 +0,0 @@ -// -// My7296Int.RC2 - resources Microsoft Visual C++ does not edit directly -// - -#ifdef APSTUDIO_INVOKED -#error this file is not editable by Microsoft Visual C++ -#endif //APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// Add manually edited resources here... - -///////////////////////////////////////////////////////////////////////////// diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7248/SDK7248IntMsg/resource.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7248/SDK7248IntMsg/resource.h deleted file mode 100644 index 683856a..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7248/SDK7248IntMsg/resource.h +++ /dev/null @@ -1,35 +0,0 @@ -//{{NO_DEPENDENCIES}} -// Microsoft Visual C++ generated include file. -// Used by 7248Int.rc -// -#define IDM_ABOUTBOX 0x0010 -#define IDD_ABOUTBOX 100 -#define IDS_ABOUTBOX 101 -#define IDD_MY7248INT_DIALOG 102 -#define IDR_MAINFRAME 128 -#define IDD_DIALOG_SETUP 129 -#define IDC_BT_SETUP 1000 -#define IDC_BT_TRIGGER 1001 -#define IDC_STATIC_04 1002 -#define IDC_COMBO_CARDNO 1003 -#define IDC_EDIT_COUNT 1004 -#define IDC_STATIC_07 1005 -#define IDC_EDIT_RATE 1005 -#define IDC_STATIC_05 1006 -#define IDC_STATIC_06 1007 -#define IDC_STATIC_LINE1 1008 -#define IDC_STATIC_LINE2 1009 -#define IDC_STATIC_LINE3 1010 -#define IDC_STATIC_LINE4 1011 -#define IDC_STATIC_LINE5 1012 - -// Next default values for new objects -// -#ifdef APSTUDIO_INVOKED -#ifndef APSTUDIO_READONLY_SYMBOLS -#define _APS_NEXT_RESOURCE_VALUE 131 -#define _APS_NEXT_COMMAND_VALUE 32771 -#define _APS_NEXT_CONTROL_VALUE 1000 -#define _APS_NEXT_SYMED_VALUE 101 -#endif -#endif diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7248/SDK7248IntMsg/stdafx.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7248/SDK7248IntMsg/stdafx.cpp deleted file mode 100644 index acd9c41..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7248/SDK7248IntMsg/stdafx.cpp +++ /dev/null @@ -1,8 +0,0 @@ - -// stdafx.cpp : source file that includes just the standard includes -// 7248Int.pch will be the pre-compiled header -// stdafx.obj will contain the pre-compiled type information - -#include "stdafx.h" - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7248/SDK7248IntMsg/stdafx.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7248/SDK7248IntMsg/stdafx.h deleted file mode 100644 index 12123e2..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7248/SDK7248IntMsg/stdafx.h +++ /dev/null @@ -1,60 +0,0 @@ - -// stdafx.h : include file for standard system include files, -// or project specific include files that are used frequently, -// but are changed infrequently - -#pragma once - -#ifndef _SECURE_ATL -#define _SECURE_ATL 1 -#endif - -#ifndef VC_EXTRALEAN -#define VC_EXTRALEAN // Exclude rarely-used stuff from Windows headers -#endif - -#include "targetver.h" - -#define _ATL_CSTRING_EXPLICIT_CONSTRUCTORS // some CString constructors will be explicit - -// turns off MFC's hiding of some common and often safely ignored warning messages -#define _AFX_ALL_WARNINGS - -#include // MFC core and standard components -#include // MFC extensions - - -#include // MFC Automation classes - - - -#ifndef _AFX_NO_OLE_SUPPORT -#include // MFC support for Internet Explorer 4 Common Controls -#endif -#ifndef _AFX_NO_AFXCMN_SUPPORT -#include // MFC support for Windows Common Controls -#endif // _AFX_NO_AFXCMN_SUPPORT - -#include // MFC support for ribbons and control bars - - - - - - - - - -#ifdef _UNICODE -#if defined _M_IX86 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='x86' publicKeyToken='6595b64144ccf1df' language='*'\"") -#elif defined _M_IA64 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='ia64' publicKeyToken='6595b64144ccf1df' language='*'\"") -#elif defined _M_X64 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='amd64' publicKeyToken='6595b64144ccf1df' language='*'\"") -#else -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='*' publicKeyToken='6595b64144ccf1df' language='*'\"") -#endif -#endif - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7248/SDK7248IntMsg/targetver.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7248/SDK7248IntMsg/targetver.h deleted file mode 100644 index 11730d5..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7248/SDK7248IntMsg/targetver.h +++ /dev/null @@ -1,26 +0,0 @@ - -#pragma once - -// The following macros define the minimum required platform. The minimum required platform -// is the earliest version of Windows, Internet Explorer etc. that has the necessary features to run -// your application. The macros work by enabling all features available on platform versions up to and -// including the version specified. - -// Modify the following defines if you have to target a platform prior to the ones specified below. -// Refer to MSDN for the latest info on corresponding values for different platforms. -#ifndef WINVER // Specifies that the minimum required platform is Windows Vista. -#define WINVER 0x0600 // Change this to the appropriate value to target other versions of Windows. -#endif - -#ifndef _WIN32_WINNT // Specifies that the minimum required platform is Windows Vista. -#define _WIN32_WINNT 0x0600 // Change this to the appropriate value to target other versions of Windows. -#endif - -#ifndef _WIN32_WINDOWS // Specifies that the minimum required platform is Windows 98. -#define _WIN32_WINDOWS 0x0410 // Change this to the appropriate value to target Windows Me or later. -#endif - -#ifndef _WIN32_IE // Specifies that the minimum required platform is Internet Explorer 7.0. -#define _WIN32_IE 0x0700 // Change this to the appropriate value to target other versions of IE. -#endif - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7249/SDK7249/CardIDDlg.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7249/SDK7249/CardIDDlg.cpp deleted file mode 100644 index 48c6aba..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7249/SDK7249/CardIDDlg.cpp +++ /dev/null @@ -1,67 +0,0 @@ -// CardIDDlg.cpp : implementation file -// - -#include "stdafx.h" -#include "Util7249.h" -#include "CardIDDlg.h" - - -// CCardIDDlg dialog - -IMPLEMENT_DYNAMIC(CCardIDDlg, CDialog) - -CCardIDDlg::CCardIDDlg(int nCardIdx, CWnd* pParent /*=NULL*/) - : CDialog(CCardIDDlg::IDD, pParent) -{ - m_nCardIdx = nCardIdx; -} - -CCardIDDlg::~CCardIDDlg() -{ -} - -void CCardIDDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); - DDX_Control(pDX, IDC_COMBO_CARDID, m_cbCardID); -} - - -BEGIN_MESSAGE_MAP(CCardIDDlg, CDialog) -// ON_CBN_SELCHANGE(IDC_COMBO_CARDID, &CCardIDDlg::OnCbnSelchangeComboCardid) -ON_BN_CLICKED(IDOK, &CCardIDDlg::OnBnClickedOk) -//ON_WM_CTLCOLOR() -END_MESSAGE_MAP() - - -// CCardIDDlg message handlers - - -void CCardIDDlg::OnBnClickedOk() -{ - // TODO: Add your control notification handler code here - -// UpdateData(TRUE); - m_nCardIdx = m_cbCardID.GetCurSel(); - - OnOK(); -} - -BOOL CCardIDDlg::OnInitDialog() -{ - CDialog::OnInitDialog(); - - // TODO: Add extra initialization here - m_cbCardID.SetCurSel( m_nCardIdx ); - - return TRUE; // return TRUE unless you set the focus to a control - // EXCEPTION: OCX Property Pages should return FALSE -} - -// the function to get the selected CardID -int CCardIDDlg::GetCardID(void) -{ - return m_nCardIdx; -} - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7249/SDK7249/CardIDDlg.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7249/SDK7249/CardIDDlg.h deleted file mode 100644 index 54628ea..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7249/SDK7249/CardIDDlg.h +++ /dev/null @@ -1,33 +0,0 @@ -#pragma once -#include "afxwin.h" - - -// CCardIDDlg dialog - -class CCardIDDlg : public CDialog -{ - DECLARE_DYNAMIC(CCardIDDlg) - -public: - CCardIDDlg(int nCardIdx, CWnd* pParent = NULL); // standard constructor - virtual ~CCardIDDlg(); - -// Dialog Data - enum { IDD = IDD_CARDID_DIALOG }; - -protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - - DECLARE_MESSAGE_MAP() -public: -// afx_msg void OnCbnSelchangeComboCardid(); - afx_msg void OnBnClickedOk(); - // the setting of CardID ComboBox - int m_nCardIdx; - virtual BOOL OnInitDialog(); - // the control of CardID ComboBox - CComboBox m_cbCardID; - // the function to get the selected CardID - int GetCardID(void); -// afx_msg HBRUSH OnCtlColor(CDC* pDC, CWnd* pWnd, UINT nCtlColor); -}; diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7249/SDK7249/ReadMe.txt b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7249/SDK7249/ReadMe.txt deleted file mode 100644 index afe5a5a..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7249/SDK7249/ReadMe.txt +++ /dev/null @@ -1,93 +0,0 @@ -================================================================================ - MICROSOFT FOUNDATION CLASS LIBRARY : Util7249 Project Overview -=============================================================================== - -The application wizard has created this Util7249 application for -you. This application not only demonstrates the basics of using the Microsoft -Foundation Classes but is also a starting point for writing your application. - -This file contains a summary of what you will find in each of the files that -make up your Util7249 application. - -Util7249.vcproj - This is the main project file for VC++ projects generated using an application wizard. - It contains information about the version of Visual C++ that generated the file, and - information about the platforms, configurations, and project features selected with the - application wizard. - -Util7249.h - This is the main header file for the application. It includes other - project specific headers (including Resource.h) and declares the - CUtil7249App application class. - -Util7249.cpp - This is the main application source file that contains the application - class CUtil7249App. - -Util7249.rc - This is a listing of all of the Microsoft Windows resources that the - program uses. It includes the icons, bitmaps, and cursors that are stored - in the RES subdirectory. This file can be directly edited in Microsoft - Visual C++. Your project resources are in 1033. - -res\Util7249.ico - This is an icon file, which is used as the application's icon. This - icon is included by the main resource file Util7249.rc. - -res\Util7249.rc2 - This file contains resources that are not edited by Microsoft - Visual C++. You should place all resources not editable by - the resource editor in this file. - - -///////////////////////////////////////////////////////////////////////////// - -The application wizard creates one dialog class: - -Util7249Dlg.h, Util7249Dlg.cpp - the dialog - These files contain your CUtil7249Dlg class. This class defines - the behavior of your application's main dialog. The dialog's template is - in Util7249.rc, which can be edited in Microsoft Visual C++. - - -///////////////////////////////////////////////////////////////////////////// - -Other Features: - -ActiveX Controls - The application includes support to use ActiveX controls. - -///////////////////////////////////////////////////////////////////////////// - -Other standard files: - -StdAfx.h, StdAfx.cpp - These files are used to build a precompiled header (PCH) file - named Util7249.pch and a precompiled types file named StdAfx.obj. - -Resource.h - This is the standard header file, which defines new resource IDs. - Microsoft Visual C++ reads and updates this file. - -Util7249.manifest - Application manifest files are used by Windows XP to describe an applications - dependency on specific versions of Side-by-Side assemblies. The loader uses this - information to load the appropriate assembly from the assembly cache or private - from the application. The Application manifest maybe included for redistribution - as an external .manifest file that is installed in the same folder as the application - executable or it may be included in the executable in the form of a resource. -///////////////////////////////////////////////////////////////////////////// - -Other notes: - -The application wizard uses "TODO:" to indicate parts of the source code you -should add to or customize. - -If your application uses MFC in a shared DLL, you will need -to redistribute the MFC DLLs. If your application is in a language -other than the operating system's locale, you will also have to -redistribute the corresponding localized resources MFC90XXX.DLL. -For more information on both of these topics, please see the section on -redistributing Visual C++ applications in MSDN documentation. - -///////////////////////////////////////////////////////////////////////////// diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7249/SDK7249/Util7248.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7249/SDK7249/Util7248.suo deleted file mode 100644 index 3fe9e14..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7249/SDK7249/Util7248.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7249/SDK7249/Util7249.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7249/SDK7249/Util7249.cpp deleted file mode 100644 index 3e8d4fc..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7249/SDK7249/Util7249.cpp +++ /dev/null @@ -1,110 +0,0 @@ - -// Util7249.cpp : Defines the class behaviors for the application. -// - -#include "stdafx.h" -#include "Util7249.h" -#include "Util7249Dlg.h" -#include "CardIDDlg.h" - -#ifdef _DEBUG -#define new DEBUG_NEW -#endif - - -// CUtil7249App - -BEGIN_MESSAGE_MAP(CUtil7249App, CWinAppEx) - ON_COMMAND(ID_HELP, &CWinApp::OnHelp) -END_MESSAGE_MAP() - - -// CUtil7249App construction - -CUtil7249App::CUtil7249App() -{ - // TODO: add construction code here, - // Place all significant initialization in InitInstance -} - - -// The one and only CUtil7249App object - -CUtil7249App theApp; - - -// CUtil7249App initialization - -BOOL CUtil7249App::InitInstance() -{ - int nCardID = 0; - I16 hCard; - CString strTemp; - INT_PTR nResponse; - - // InitCommonControlsEx() is required on Windows XP if an application - // manifest specifies use of ComCtl32.dll version 6 or later to enable - // visual styles. Otherwise, any window creation will fail. - INITCOMMONCONTROLSEX InitCtrls; - InitCtrls.dwSize = sizeof(InitCtrls); - // Set this to include all the common control classes you want to use - // in your application. - InitCtrls.dwICC = ICC_WIN95_CLASSES; - InitCommonControlsEx(&InitCtrls); - - CWinAppEx::InitInstance(); - - AfxEnableControlContainer(); - - // Standard initialization - // If you are not using these features and wish to reduce the size - // of your final executable, you should remove from the following - // the specific initialization routines you do not need - // Change the registry key under which our settings are stored - // TODO: You should modify this string to be something appropriate - // such as the name of your company or organization - SetRegistryKey(_T("Local AppWizard-Generated Applications")); - - CCardIDDlg CardDlg( nCardID ); - - nResponse = CardDlg.DoModal(); - if (nResponse == IDOK) - { - nCardID = CardDlg.GetCardID(); - - if ((hCard=Register_Card(PCI_7249, nCardID)) < 0) - { - strTemp.Format( TEXT("Register_Card Error = %d"), hCard); - AfxMessageBox( strTemp ); - } - else - { - CUtil7249Dlg dlg(hCard); - m_pMainWnd = &dlg; - nResponse = dlg.DoModal(); - if (nResponse == IDOK) - { - // TODO: Place code here to handle when the dialog is - // dismissed with OK - } - else if (nResponse == IDCANCEL) - { - // TODO: Place code here to handle when the dialog is - // dismissed with Cancel - } - - if (hCard >= 0) Release_Card(hCard); - } - - } - else if (nResponse == IDCANCEL) - { - // TODO: Place code here to handle when the dialog is - // dismissed with Cancel - } - - - // Since the dialog has been closed, return FALSE so that we exit the - // application, rather than start the application's message pump. - return FALSE; -} diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7249/SDK7249/Util7249.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7249/SDK7249/Util7249.h deleted file mode 100644 index 0572d70..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7249/SDK7249/Util7249.h +++ /dev/null @@ -1,32 +0,0 @@ - -// Util7249.h : main header file for the PROJECT_NAME application -// - -#pragma once - -#ifndef __AFXWIN_H__ - #error "include 'stdafx.h' before including this file for PCH" -#endif - -#include "resource.h" // main symbols - - -// CUtil7249App: -// See Util7249.cpp for the implementation of this class -// - -class CUtil7249App : public CWinAppEx -{ -public: - CUtil7249App(); - -// Overrides - public: - virtual BOOL InitInstance(); - -// Implementation - - DECLARE_MESSAGE_MAP() -}; - -extern CUtil7249App theApp; \ No newline at end of file diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7249/SDK7249/Util7249.rc b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7249/SDK7249/Util7249.rc deleted file mode 100644 index de1a8de..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7249/SDK7249/Util7249.rc +++ /dev/null @@ -1,534 +0,0 @@ -// Microsoft Visual C++ generated resource script. -// -#include "resource.h" - -#define APSTUDIO_READONLY_SYMBOLS -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 2 resource. -// -#ifndef APSTUDIO_INVOKED -#include "targetver.h" -#endif -#include "afxres.h" - -///////////////////////////////////////////////////////////////////////////// -#undef APSTUDIO_READONLY_SYMBOLS - -///////////////////////////////////////////////////////////////////////////// -// Chinese (Taiwan) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_CHT) -#ifdef _WIN32 -LANGUAGE LANG_CHINESE, SUBLANG_CHINESE_TRADITIONAL -#pragma code_page(950) -#endif //_WIN32 - -#ifdef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// TEXTINCLUDE -// - -1 TEXTINCLUDE -BEGIN - "resource.h\0" -END - -2 TEXTINCLUDE -BEGIN - "#ifndef APSTUDIO_INVOKED\r\n" - "#include ""targetver.h""\r\n" - "#endif\r\n" - "#include ""afxres.h""\r\n" - "\0" -END - -3 TEXTINCLUDE -BEGIN - "#define _AFX_NO_SPLITTER_RESOURCES\r\n" - "#define _AFX_NO_OLE_RESOURCES\r\n" - "#define _AFX_NO_TRACKER_RESOURCES\r\n" - "#define _AFX_NO_PROPERTY_RESOURCES\r\n" - "\r\n" - "#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)\r\n" - "LANGUAGE 9, 1\r\n" - "#pragma code_page(1252)\r\n" - "#include ""res\\Util7249.rc2"" // non-Microsoft Visual C++ edited resources\r\n" - "#include ""afxres.rc"" // Standard components\r\n" - "#endif\r\n" - "\0" -END - -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// Icon -// - -// Icon with lowest ID value placed first to ensure application icon -// remains consistent on all systems. -IDR_MAINFRAME ICON "res\\Util7249.ico" -#endif // Chinese (Taiwan) resources -///////////////////////////////////////////////////////////////////////////// - - -///////////////////////////////////////////////////////////////////////////// -// English (U.S.) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -#ifdef _WIN32 -LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US -#pragma code_page(1252) -#endif //_WIN32 - -///////////////////////////////////////////////////////////////////////////// -// -// Icon -// - -// Icon with lowest ID value placed first to ensure application icon -// remains consistent on all systems. -IDI_ICON_BLACK ICON "res\\black.ico" -IDI_ICON_RED ICON "res\\red.ico" -IDI_ICON_GREEN ICON "res\\green.ico" - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog -// - -IDD_ABOUTBOX DIALOGEX 0, 0, 170, 62 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "About Util7249" -FONT 8, "MS Shell Dlg", 0, 0, 0x1 -BEGIN - ICON IDR_MAINFRAME,IDC_STATIC,14,14,21,20 - LTEXT "Util7249, Version 1.0",IDC_STATIC,42,14,114,8,SS_NOPREFIX - LTEXT "Copyright (C) 2010",IDC_STATIC,42,26,114,8 - DEFPUSHBUTTON "OK",IDOK,113,41,50,14,WS_GROUP -END - -IDD_UTIL7249_DIALOG DIALOGEX 0, 0, 673, 264 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU -EXSTYLE WS_EX_APPWINDOW -CAPTION " PCI-7248" -FONT 8, "MS Shell Dlg", 0, 0, 0x1 -BEGIN - ICON IDI_ICON_BLACK,IDC_ICON_PC0,617,44,20,20 - ICON IDI_ICON_BLACK,IDC_ICON_PC1,593,44,20,20 - ICON IDI_ICON_BLACK,IDC_ICON_PC2,569,44,20,20 - ICON IDI_ICON_BLACK,IDC_ICON_PC3,545,44,20,20 - ICON IDI_ICON_BLACK,IDC_ICON_PC4,305,44,20,20 - ICON IDI_ICON_BLACK,IDC_ICON_PC5,281,44,20,20 - ICON IDI_ICON_BLACK,IDC_ICON_PC6,257,44,20,20 - ICON IDI_ICON_BLACK,IDC_ICON_PC7,233,44,20,20 - ICON IDI_ICON_BLACK,IDC_ICON_PB0,509,44,20,20 - ICON IDI_ICON_BLACK,IDC_ICON_PB1,485,44,20,20 - ICON IDI_ICON_BLACK,IDC_ICON_PB2,461,44,20,20 - ICON IDI_ICON_BLACK,IDC_ICON_PB3,437,44,20,20 - ICON IDI_ICON_BLACK,IDC_ICON_PB4,413,44,20,20 - ICON IDI_ICON_BLACK,IDC_ICON_PB5,389,44,20,20 - ICON IDI_ICON_BLACK,IDC_ICON_PB6,365,44,20,20 - ICON IDI_ICON_BLACK,IDC_ICON_PB7,341,44,20,20 - ICON IDI_ICON_BLACK,IDC_ICON_PA0,197,44,20,20 - ICON IDI_ICON_BLACK,IDC_ICON_PA1,173,44,20,20 - ICON IDI_ICON_BLACK,IDC_ICON_PA2,149,44,20,20 - ICON IDI_ICON_BLACK,IDC_ICON_PA3,125,44,20,20 - ICON IDI_ICON_BLACK,IDC_ICON_PA4,101,44,20,20 - ICON IDI_ICON_BLACK,IDC_ICON_PA5,77,44,20,20 - ICON IDI_ICON_BLACK,IDC_ICON_PA6,53,44,20,20 - GROUPBOX "Port C (Lower)",IDC_STATIC,539,32,108,36 - GROUPBOX "Port C (Upper)",IDC_STATIC,227,32,108,36 - GROUPBOX "Port B",IDC_STATIC,335,32,204,36 - GROUPBOX "Port A",IDC_STATIC,23,32,204,36 - ICON IDI_ICON_BLACK,IDC_ICON_PA7,29,44,20,20 - CONTROL "",IDC_CHECK_PC0,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE | WS_TABSTOP,619,121,21,20 - CONTROL "",IDC_CHECK_PC1,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE | WS_TABSTOP,595,121,21,20 - CONTROL "",IDC_CHECK_PC2,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE | WS_TABSTOP,571,121,21,20 - CONTROL "",IDC_CHECK_PC3,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE | WS_TABSTOP,547,121,21,20 - CONTROL "",IDC_CHECK_PC4,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE | WS_TABSTOP,312,121,21,20 - CONTROL "",IDC_CHECK_PC5,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE | WS_TABSTOP,288,121,21,20 - CONTROL "",IDC_CHECK_PC6,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE | WS_TABSTOP,264,121,21,20 - CONTROL "",IDC_CHECK_PC7,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE | WS_TABSTOP,240,121,21,20 - CONTROL "",IDC_CHECK_PB0,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE | WS_TABSTOP,516,121,21,20 - CONTROL "",IDC_CHECK_PB1,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE | WS_TABSTOP,492,121,21,20 - CONTROL "",IDC_CHECK_PB2,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE | WS_TABSTOP,468,121,21,20 - CONTROL "",IDC_CHECK_PB3,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE | WS_TABSTOP,444,121,21,20 - CONTROL "",IDC_CHECK_PB4,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE | WS_TABSTOP,420,121,21,20 - CONTROL "",IDC_CHECK_PB5,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE | WS_TABSTOP,396,121,21,20 - CONTROL "",IDC_CHECK_PB6,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE | WS_TABSTOP,372,121,21,20 - CONTROL "",IDC_CHECK_PB7,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE | WS_TABSTOP,348,121,21,20 - CONTROL "",IDC_CHECK_PA0,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE | WS_TABSTOP,204,121,21,20 - CONTROL "",IDC_CHECK_PA1,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE | WS_TABSTOP,180,121,21,20 - CONTROL "",IDC_CHECK_PA2,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE | WS_TABSTOP,156,121,21,20 - CONTROL "",IDC_CHECK_PA3,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE | WS_TABSTOP,132,121,21,20 - CONTROL "",IDC_CHECK_PA4,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE | WS_TABSTOP,108,121,21,20 - CONTROL "",IDC_CHECK_PA5,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE | WS_TABSTOP,84,121,21,20 - CONTROL "",IDC_CHECK_PA6,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE | WS_TABSTOP,60,121,21,20 - CONTROL "",IDC_CHECK_PA7,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE | WS_TABSTOP,36,121,21,20 - GROUPBOX "Port A",IDC_STATIC,24,109,204,36 - GROUPBOX "Port C (Upper)",IDC_STATIC,228,109,108,36 - GROUPBOX "Port B",IDC_STATIC,336,109,204,36 - GROUPBOX "Port C (Lower)",IDC_STATIC,540,109,108,36 - COMBOBOX IDC_COMBO_IN_PA,113,76,108,18,CBS_DROPDOWN | WS_VSCROLL | WS_TABSTOP - COMBOBOX IDC_COMBO_OUT_PA,114,152,108,18,CBS_DROPDOWN | WS_VSCROLL | WS_TABSTOP - COMBOBOX IDC_COMBO_IN_PCH,227,76,108,18,CBS_DROPDOWN | WS_VSCROLL | WS_TABSTOP - COMBOBOX IDC_COMBO_OUT_PCH,228,152,108,18,CBS_DROPDOWN | WS_VSCROLL | WS_TABSTOP - COMBOBOX IDC_COMBO_IN_PB,425,76,108,18,CBS_DROPDOWN | WS_VSCROLL | WS_TABSTOP - COMBOBOX IDC_COMBO_OUT_PB,426,152,108,18,CBS_DROPDOWN | WS_VSCROLL | WS_TABSTOP - COMBOBOX IDC_COMBO_IN_PCL,539,76,108,18,CBS_DROPDOWN | WS_VSCROLL | WS_TABSTOP - COMBOBOX IDC_COMBO_OUT_PCL,540,152,108,18,CBS_DROPDOWN | WS_VSCROLL | WS_TABSTOP - LTEXT "OUTPUT PORTS:",IDC_LABEL_OUTPUT,18,97,57,13 - LTEXT "INPUT PORTS:",IDC_LABEL_INPUT2,15,21,57,13 - ICON IDI_ICON_BLACK,IDC_ICON_PAE0,196,201,20,20 - ICON IDI_ICON_BLACK,IDC_ICON_PAE1,172,201,20,20 - ICON IDI_ICON_BLACK,IDC_ICON_PAE2,148,201,20,20 - ICON IDI_ICON_BLACK,IDC_ICON_PAE3,124,201,20,20 - ICON IDI_ICON_BLACK,IDC_ICON_PAE4,100,201,20,20 - ICON IDI_ICON_BLACK,IDC_ICON_PAE5,76,201,20,20 - ICON IDI_ICON_BLACK,IDC_ICON_PAE6,52,201,20,20 - GROUPBOX "Port A",IDC_STATIC,22,188,204,36 - ICON IDI_ICON_BLACK,IDC_ICON_PAE7,28,201,20,20 - LTEXT "LATCHED PORTS:",IDC_LABEL_INPUT3,14,177,57,13 - ICON IDI_ICON_BLACK,IDC_ICON_PBE0,401,201,20,20 - ICON IDI_ICON_BLACK,IDC_ICON_PBE1,377,201,20,20 - ICON IDI_ICON_BLACK,IDC_ICON_PBE2,353,201,20,20 - ICON IDI_ICON_BLACK,IDC_ICON_PBE3,329,201,20,20 - ICON IDI_ICON_BLACK,IDC_ICON_PBE4,305,201,20,20 - ICON IDI_ICON_BLACK,IDC_ICON_PBE5,281,201,20,20 - ICON IDI_ICON_BLACK,IDC_ICON_PBE6,257,201,20,20 - ICON IDI_ICON_BLACK,IDC_ICON_PBE7,233,201,20,20 - GROUPBOX "Port B",IDC_STATIC,227,188,204,36 - COMBOBOX IDC_COMBO_IN_PBE,317,233,108,18,CBS_DROPDOWN | WS_VSCROLL | WS_TABSTOP - COMBOBOX IDC_COMBO_IN_PAE,110,232,108,18,CBS_DROPDOWN | WS_VSCROLL | WS_TABSTOP - ICON IDI_ICON_BLACK,IDC_ICON_PCE0,606,200,20,20 - ICON IDI_ICON_BLACK,IDC_ICON_PCE1,582,200,20,20 - ICON IDI_ICON_BLACK,IDC_ICON_PCE2,558,200,20,20 - ICON IDI_ICON_BLACK,IDC_ICON_PCE3,534,200,20,20 - GROUPBOX "Port C",IDC_STATIC,432,188,199,36 - COMBOBOX IDC_COMBO_IN_PCE,517,231,108,18,CBS_DROPDOWN | WS_VSCROLL | WS_TABSTOP - ICON IDI_ICON_BLACK,IDC_ICON_PCE4,509,200,20,20 - ICON IDI_ICON_BLACK,IDC_ICON_PCE5,485,200,20,20 - ICON IDI_ICON_BLACK,IDC_ICON_PCE6,461,200,20,20 - ICON IDI_ICON_BLACK,IDC_ICON_PCE7,437,200,20,20 -END - -IDD_CARDID_DIALOG DIALOGEX 0, 0, 187, 99 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "Card ID" -FONT 8, "MS Shell Dlg", 400, 0, 0x1 -BEGIN - COMBOBOX IDC_COMBO_CARDID,83,24,71,126,CBS_DROPDOWN | WS_VSCROLL | WS_TABSTOP - LTEXT "Card Number",IDC_STATIC_01,29,25,46,12 - PUSHBUTTON "OK",IDOK,30,57,58,19 - PUSHBUTTON "CANCEL",IDCANCEL,94,57,58,19 -END - - -///////////////////////////////////////////////////////////////////////////// -// -// Version -// - -VS_VERSION_INFO VERSIONINFO - FILEVERSION 1,0,0,1 - PRODUCTVERSION 1,0,0,1 - FILEFLAGSMASK 0x3fL -#ifdef _DEBUG - FILEFLAGS 0x1L -#else - FILEFLAGS 0x0L -#endif - FILEOS 0x4L - FILETYPE 0x1L - FILESUBTYPE 0x0L -BEGIN - BLOCK "StringFileInfo" - BEGIN - BLOCK "040904e4" - BEGIN - VALUE "CompanyName", "TODO: " - VALUE "FileDescription", "TODO: " - VALUE "FileVersion", "1.0.0.1" - VALUE "InternalName", "Util7249.exe" - VALUE "LegalCopyright", "TODO: (c) . All rights reserved." - VALUE "OriginalFilename", "Util7249.exe" - VALUE "ProductName", "TODO: " - VALUE "ProductVersion", "1.0.0.1" - END - END - BLOCK "VarFileInfo" - BEGIN - VALUE "Translation", 0x409, 1252 - END -END - - -///////////////////////////////////////////////////////////////////////////// -// -// DESIGNINFO -// - -#ifdef APSTUDIO_INVOKED -GUIDELINES DESIGNINFO -BEGIN - IDD_ABOUTBOX, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 163 - TOPMARGIN, 7 - BOTTOMMARGIN, 55 - END - - IDD_UTIL7249_DIALOG, DIALOG - BEGIN - BOTTOMMARGIN, 263 - END - - IDD_CARDID_DIALOG, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 180 - TOPMARGIN, 7 - BOTTOMMARGIN, 92 - END -END -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog Info -// - -IDD_CARDID_DIALOG DLGINIT -BEGIN - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0030, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0031, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0032, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0033, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0034, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0035, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0036, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0037, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0038, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0039, - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3031, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3131, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3231, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3331, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3431, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3531, "\000" - 0 -END - -IDD_UTIL7296_DIALOG DLGINIT -BEGIN - IDC_COMBO_IN_PA, 0x403, 12, 0 -0x6843, 0x6e61, 0x656e, 0x5f6c, 0x3150, 0x0041, - IDC_COMBO_IN_PA, 0x403, 12, 0 -0x6843, 0x6e61, 0x656e, 0x5f6c, 0x3250, 0x0041, - IDC_COMBO_IN_PA, 0x403, 12, 0 -0x6843, 0x6e61, 0x656e, 0x5f6c, 0x3350, 0x0041, - IDC_COMBO_IN_PA, 0x403, 12, 0 -0x6843, 0x6e61, 0x656e, 0x5f6c, 0x3450, 0x0041, - IDC_COMBO_OUT_PA, 0x403, 12, 0 -0x6843, 0x6e61, 0x656e, 0x5f6c, 0x3150, 0x0041, - IDC_COMBO_OUT_PA, 0x403, 12, 0 -0x6843, 0x6e61, 0x656e, 0x5f6c, 0x3250, 0x0041, - IDC_COMBO_OUT_PA, 0x403, 12, 0 -0x6843, 0x6e61, 0x656e, 0x5f6c, 0x3350, 0x0041, - IDC_COMBO_OUT_PA, 0x403, 12, 0 -0x6843, 0x6e61, 0x656e, 0x5f6c, 0x3450, 0x0041, - IDC_COMBO_IN_PCH, 0x403, 13, 0 -0x6843, 0x6e61, 0x656e, 0x5f6c, 0x3150, 0x4843, "\000" - IDC_COMBO_IN_PCH, 0x403, 13, 0 -0x6843, 0x6e61, 0x656e, 0x5f6c, 0x3250, 0x4843, "\000" - IDC_COMBO_IN_PCH, 0x403, 13, 0 -0x6843, 0x6e61, 0x656e, 0x5f6c, 0x3350, 0x4843, "\000" - IDC_COMBO_IN_PCH, 0x403, 13, 0 -0x6843, 0x6e61, 0x656e, 0x5f6c, 0x3450, 0x4843, "\000" - IDC_COMBO_OUT_PCH, 0x403, 13, 0 -0x6843, 0x6e61, 0x656e, 0x5f6c, 0x3150, 0x4843, "\000" - IDC_COMBO_OUT_PCH, 0x403, 13, 0 -0x6843, 0x6e61, 0x656e, 0x5f6c, 0x3250, 0x4843, "\000" - IDC_COMBO_OUT_PCH, 0x403, 13, 0 -0x6843, 0x6e61, 0x656e, 0x5f6c, 0x3350, 0x4843, "\000" - IDC_COMBO_OUT_PCH, 0x403, 13, 0 -0x6843, 0x6e61, 0x656e, 0x5f6c, 0x3450, 0x4843, "\000" - IDC_COMBO_IN_PB, 0x403, 12, 0 -0x6843, 0x6e61, 0x656e, 0x5f6c, 0x3150, 0x0042, - IDC_COMBO_IN_PB, 0x403, 12, 0 -0x6843, 0x6e61, 0x656e, 0x5f6c, 0x3250, 0x0042, - IDC_COMBO_IN_PB, 0x403, 12, 0 -0x6843, 0x6e61, 0x656e, 0x5f6c, 0x3350, 0x0042, - IDC_COMBO_IN_PB, 0x403, 12, 0 -0x6843, 0x6e61, 0x656e, 0x5f6c, 0x3450, 0x0042, - IDC_COMBO_OUT_PB, 0x403, 12, 0 -0x6843, 0x6e61, 0x656e, 0x5f6c, 0x3150, 0x0042, - IDC_COMBO_OUT_PB, 0x403, 12, 0 -0x6843, 0x6e61, 0x656e, 0x5f6c, 0x3250, 0x0042, - IDC_COMBO_OUT_PB, 0x403, 12, 0 -0x6843, 0x6e61, 0x656e, 0x5f6c, 0x3350, 0x0042, - IDC_COMBO_OUT_PB, 0x403, 12, 0 -0x6843, 0x6e61, 0x656e, 0x5f6c, 0x3450, 0x0042, - IDC_COMBO_IN_PCL, 0x403, 13, 0 -0x6843, 0x6e61, 0x656e, 0x5f6c, 0x3150, 0x4c43, "\000" - IDC_COMBO_IN_PCL, 0x403, 13, 0 -0x6843, 0x6e61, 0x656e, 0x5f6c, 0x3250, 0x4c43, "\000" - IDC_COMBO_IN_PCL, 0x403, 13, 0 -0x6843, 0x6e61, 0x656e, 0x5f6c, 0x3350, 0x4c43, "\000" - IDC_COMBO_IN_PCL, 0x403, 13, 0 -0x6843, 0x6e61, 0x656e, 0x5f6c, 0x3450, 0x4c43, "\000" - IDC_COMBO_OUT_PCL, 0x403, 13, 0 -0x6843, 0x6e61, 0x656e, 0x5f6c, 0x3150, 0x4c43, "\000" - IDC_COMBO_OUT_PCL, 0x403, 13, 0 -0x6843, 0x6e61, 0x656e, 0x5f6c, 0x3250, 0x4c43, "\000" - IDC_COMBO_OUT_PCL, 0x403, 13, 0 -0x6843, 0x6e61, 0x656e, 0x5f6c, 0x3350, 0x4c43, "\000" - IDC_COMBO_OUT_PCL, 0x403, 13, 0 -0x6843, 0x6e61, 0x656e, 0x5f6c, 0x3450, 0x4c43, "\000" - 0 -END - -IDD_UTIL7248_DIALOG DLGINIT -BEGIN - IDC_COMBO_IN_PA, 0x403, 12, 0 -0x6843, 0x6e61, 0x656e, 0x5f6c, 0x3150, 0x0041, - IDC_COMBO_IN_PA, 0x403, 12, 0 -0x6843, 0x6e61, 0x656e, 0x5f6c, 0x3250, 0x0041, - IDC_COMBO_OUT_PA, 0x403, 12, 0 -0x6843, 0x6e61, 0x656e, 0x5f6c, 0x3150, 0x0041, - IDC_COMBO_OUT_PA, 0x403, 12, 0 -0x6843, 0x6e61, 0x656e, 0x5f6c, 0x3250, 0x0041, - IDC_COMBO_IN_PCH, 0x403, 13, 0 -0x6843, 0x6e61, 0x656e, 0x5f6c, 0x3150, 0x4843, "\000" - IDC_COMBO_IN_PCH, 0x403, 13, 0 -0x6843, 0x6e61, 0x656e, 0x5f6c, 0x3250, 0x4843, "\000" - IDC_COMBO_OUT_PCH, 0x403, 13, 0 -0x6843, 0x6e61, 0x656e, 0x5f6c, 0x3150, 0x4843, "\000" - IDC_COMBO_OUT_PCH, 0x403, 13, 0 -0x6843, 0x6e61, 0x656e, 0x5f6c, 0x3250, 0x4843, "\000" - IDC_COMBO_IN_PB, 0x403, 12, 0 -0x6843, 0x6e61, 0x656e, 0x5f6c, 0x3150, 0x0042, - IDC_COMBO_IN_PB, 0x403, 12, 0 -0x6843, 0x6e61, 0x656e, 0x5f6c, 0x3250, 0x0042, - IDC_COMBO_OUT_PB, 0x403, 12, 0 -0x6843, 0x6e61, 0x656e, 0x5f6c, 0x3150, 0x0042, - IDC_COMBO_OUT_PB, 0x403, 12, 0 -0x6843, 0x6e61, 0x656e, 0x5f6c, 0x3250, 0x0042, - IDC_COMBO_IN_PCL, 0x403, 13, 0 -0x6843, 0x6e61, 0x656e, 0x5f6c, 0x3150, 0x4843, "\000" - IDC_COMBO_IN_PCL, 0x403, 13, 0 -0x6843, 0x6e61, 0x656e, 0x5f6c, 0x3250, 0x4843, "\000" - IDC_COMBO_OUT_PCL, 0x403, 13, 0 -0x6843, 0x6e61, 0x656e, 0x5f6c, 0x3150, 0x4843, "\000" - IDC_COMBO_OUT_PCL, 0x403, 13, 0 -0x6843, 0x6e61, 0x656e, 0x5f6c, 0x3250, 0x4843, "\000" - 0 -END - -IDD_UTIL7249_DIALOG DLGINIT -BEGIN - IDC_COMBO_IN_PA, 0x403, 12, 0 -0x6843, 0x6e61, 0x656e, 0x5f6c, 0x3150, 0x0041, - IDC_COMBO_IN_PA, 0x403, 12, 0 -0x6843, 0x6e61, 0x656e, 0x5f6c, 0x3250, 0x0041, - IDC_COMBO_OUT_PA, 0x403, 12, 0 -0x6843, 0x6e61, 0x656e, 0x5f6c, 0x3150, 0x0041, - IDC_COMBO_OUT_PA, 0x403, 12, 0 -0x6843, 0x6e61, 0x656e, 0x5f6c, 0x3250, 0x0041, - IDC_COMBO_IN_PCH, 0x403, 13, 0 -0x6843, 0x6e61, 0x656e, 0x5f6c, 0x3150, 0x4843, "\000" - IDC_COMBO_IN_PCH, 0x403, 13, 0 -0x6843, 0x6e61, 0x656e, 0x5f6c, 0x3250, 0x4843, "\000" - IDC_COMBO_OUT_PCH, 0x403, 13, 0 -0x6843, 0x6e61, 0x656e, 0x5f6c, 0x3150, 0x4843, "\000" - IDC_COMBO_OUT_PCH, 0x403, 13, 0 -0x6843, 0x6e61, 0x656e, 0x5f6c, 0x3250, 0x4843, "\000" - IDC_COMBO_IN_PB, 0x403, 12, 0 -0x6843, 0x6e61, 0x656e, 0x5f6c, 0x3150, 0x0042, - IDC_COMBO_IN_PB, 0x403, 12, 0 -0x6843, 0x6e61, 0x656e, 0x5f6c, 0x3250, 0x0042, - IDC_COMBO_OUT_PB, 0x403, 12, 0 -0x6843, 0x6e61, 0x656e, 0x5f6c, 0x3150, 0x0042, - IDC_COMBO_OUT_PB, 0x403, 12, 0 -0x6843, 0x6e61, 0x656e, 0x5f6c, 0x3250, 0x0042, - IDC_COMBO_IN_PCL, 0x403, 13, 0 -0x6843, 0x6e61, 0x656e, 0x5f6c, 0x3150, 0x4843, "\000" - IDC_COMBO_IN_PCL, 0x403, 13, 0 -0x6843, 0x6e61, 0x656e, 0x5f6c, 0x3250, 0x4843, "\000" - IDC_COMBO_OUT_PCL, 0x403, 13, 0 -0x6843, 0x6e61, 0x656e, 0x5f6c, 0x3150, 0x4843, "\000" - IDC_COMBO_OUT_PCL, 0x403, 13, 0 -0x6843, 0x6e61, 0x656e, 0x5f6c, 0x3250, 0x4843, "\000" - IDC_COMBO_IN_PBE, 0x403, 13, 0 -0x6843, 0x6e61, 0x656e, 0x5f6c, 0x3150, 0x4542, "\000" - IDC_COMBO_IN_PBE, 0x403, 13, 0 -0x6843, 0x6e61, 0x656e, 0x5f6c, 0x3250, 0x4542, "\000" - IDC_COMBO_IN_PAE, 0x403, 13, 0 -0x6843, 0x6e61, 0x656e, 0x5f6c, 0x3150, 0x4541, "\000" - IDC_COMBO_IN_PAE, 0x403, 13, 0 -0x6843, 0x6e61, 0x656e, 0x5f6c, 0x3250, 0x4541, "\000" - IDC_COMBO_IN_PCE, 0x403, 13, 0 -0x6843, 0x6e61, 0x656e, 0x5f6c, 0x3150, 0x4543, "\000" - IDC_COMBO_IN_PCE, 0x403, 13, 0 -0x6843, 0x6e61, 0x656e, 0x5f6c, 0x3250, 0x4543, "\000" - 0 -END - - -///////////////////////////////////////////////////////////////////////////// -// -// String Table -// - -STRINGTABLE -BEGIN - IDS_ABOUTBOX "&About Util7249..." -END - -#endif // English (U.S.) resources -///////////////////////////////////////////////////////////////////////////// - - - -#ifndef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 3 resource. -// -#define _AFX_NO_SPLITTER_RESOURCES -#define _AFX_NO_OLE_RESOURCES -#define _AFX_NO_TRACKER_RESOURCES -#define _AFX_NO_PROPERTY_RESOURCES - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -LANGUAGE 9, 1 -#pragma code_page(1252) -#include "res\Util7249.rc2" // non-Microsoft Visual C++ edited resources -#include "afxres.rc" // Standard components -#endif - -///////////////////////////////////////////////////////////////////////////// -#endif // not APSTUDIO_INVOKED - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7249/SDK7249/Util7249.sln b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7249/SDK7249/Util7249.sln deleted file mode 100644 index 4c33eb9..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7249/SDK7249/Util7249.sln +++ /dev/null @@ -1,26 +0,0 @@ - -Microsoft Visual Studio Solution File, Format Version 10.00 -# Visual Studio 2008 -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "Util7249", "Util7249.vcproj", "{11C93783-381B-4560-B7FD-30502B5982B5}" -EndProject -Global - GlobalSection(SolutionConfigurationPlatforms) = preSolution - Debug|Win32 = Debug|Win32 - Debug|x64 = Debug|x64 - Release|Win32 = Release|Win32 - Release|x64 = Release|x64 - EndGlobalSection - GlobalSection(ProjectConfigurationPlatforms) = postSolution - {11C93783-381B-4560-B7FD-30502B5982B5}.Debug|Win32.ActiveCfg = Debug|Win32 - {11C93783-381B-4560-B7FD-30502B5982B5}.Debug|Win32.Build.0 = Debug|Win32 - {11C93783-381B-4560-B7FD-30502B5982B5}.Debug|x64.ActiveCfg = Debug|x64 - {11C93783-381B-4560-B7FD-30502B5982B5}.Debug|x64.Build.0 = Debug|x64 - {11C93783-381B-4560-B7FD-30502B5982B5}.Release|Win32.ActiveCfg = Release|Win32 - {11C93783-381B-4560-B7FD-30502B5982B5}.Release|Win32.Build.0 = Release|Win32 - {11C93783-381B-4560-B7FD-30502B5982B5}.Release|x64.ActiveCfg = Release|x64 - {11C93783-381B-4560-B7FD-30502B5982B5}.Release|x64.Build.0 = Release|x64 - EndGlobalSection - GlobalSection(SolutionProperties) = preSolution - HideSolutionNode = FALSE - EndGlobalSection -EndGlobal diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7249/SDK7249/Util7249.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7249/SDK7249/Util7249.suo deleted file mode 100644 index 28a3396..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7249/SDK7249/Util7249.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7249/SDK7249/Util7249.vcproj b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7249/SDK7249/Util7249.vcproj deleted file mode 100644 index be8bfbc..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7249/SDK7249/Util7249.vcproj +++ /dev/null @@ -1,487 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7249/SDK7249/Util7249Dlg.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7249/SDK7249/Util7249Dlg.cpp deleted file mode 100644 index e7f6693..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7249/SDK7249/Util7249Dlg.cpp +++ /dev/null @@ -1,1789 +0,0 @@ - -// Util7249Dlg.cpp : implementation file -// - -#include "stdafx.h" -#include "Util7249.h" -#include "Util7249Dlg.h" - -#ifdef _DEBUG -#define new DEBUG_NEW -#endif - - -// CAboutDlg dialog used for App About - -class CAboutDlg : public CDialog -{ -public: - CAboutDlg(); - -// Dialog Data - enum { IDD = IDD_ABOUTBOX }; - - protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - -// Implementation -protected: - DECLARE_MESSAGE_MAP() -}; - -CAboutDlg::CAboutDlg() : CDialog(CAboutDlg::IDD) -{ -} - -void CAboutDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); -} - -BEGIN_MESSAGE_MAP(CAboutDlg, CDialog) -END_MESSAGE_MAP() - - -// CUtil7249Dlg dialog - - - - -CUtil7249Dlg::CUtil7249Dlg(I16 hCard, CWnd* pParent /*=NULL*/) - : CDialog(CUtil7249Dlg::IDD, pParent) -{ - m_hIcon = AfxGetApp()->LoadIcon(IDR_MAINFRAME); - - m_InPortA = Channel_P1A; - m_OutPortA = Channel_P2A; - m_InPortB = Channel_P1B; - m_OutPortB = Channel_P2B; - m_InPortCL = Channel_P1CL; - m_OutPortCL = Channel_P2CL; - m_InPortCH = Channel_P1CH; - m_OutPortCH = Channel_P2CH; - m_PortAE = Channel_P1AE; - m_PortBE = Channel_P1BE; - m_PortCE = Channel_P1CE; - - m_InDataPortA = 0x00; - m_OutDataPortA = 0x00; - m_InDataPortB = 0x00; - m_OutDataPortB = 0x00; - m_InDataPortCL = 0x00; - m_OutDataPortCL = 0x00; - m_InDataPortCH = 0x00; - m_OutDataPortCH = 0x00; - - m_InDataPortAE = 0x00; - m_InDataPortBE = 0x00; - m_InDataPortCE = 0x00; - - m_hCard = hCard; - m_nTimer = -1; -} - -void CUtil7249Dlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); - DDX_Control(pDX, IDC_ICON_PC0, m_Icon_PC0); - DDX_Control(pDX, IDC_ICON_PC1, m_Icon_PC1); - DDX_Control(pDX, IDC_ICON_PC2, m_Icon_PC2); - DDX_Control(pDX, IDC_ICON_PC3, m_Icon_PC3); - DDX_Control(pDX, IDC_ICON_PC4, m_Icon_PC4); - DDX_Control(pDX, IDC_ICON_PC5, m_Icon_PC5); - DDX_Control(pDX, IDC_ICON_PC6, m_Icon_PC6); - DDX_Control(pDX, IDC_ICON_PC7, m_Icon_PC7); - DDX_Control(pDX, IDC_ICON_PB0, m_Icon_PB0); - DDX_Control(pDX, IDC_ICON_PB1, m_Icon_PB1); - DDX_Control(pDX, IDC_ICON_PB2, m_Icon_PB2); - DDX_Control(pDX, IDC_ICON_PB3, m_Icon_PB3); - DDX_Control(pDX, IDC_ICON_PB4, m_Icon_PB4); - DDX_Control(pDX, IDC_ICON_PB5, m_Icon_PB5); - DDX_Control(pDX, IDC_ICON_PB6, m_Icon_PB6); - DDX_Control(pDX, IDC_ICON_PB7, m_Icon_PB7); - DDX_Control(pDX, IDC_ICON_PA0, m_Icon_PA0); - DDX_Control(pDX, IDC_ICON_PA1, m_Icon_PA1); - DDX_Control(pDX, IDC_ICON_PA2, m_Icon_PA2); - DDX_Control(pDX, IDC_ICON_PA3, m_Icon_PA3); - DDX_Control(pDX, IDC_ICON_PA4, m_Icon_PA4); - DDX_Control(pDX, IDC_ICON_PA5, m_Icon_PA5); - DDX_Control(pDX, IDC_ICON_PA6, m_Icon_PA6); - DDX_Control(pDX, IDC_ICON_PA7, m_Icon_PA7); - DDX_Control(pDX, IDC_ICON_PCE0, m_Icon_PCE0); - DDX_Control(pDX, IDC_ICON_PCE1, m_Icon_PCE1); - DDX_Control(pDX, IDC_ICON_PCE2, m_Icon_PCE2); - DDX_Control(pDX, IDC_ICON_PCE3, m_Icon_PCE3); - DDX_Control(pDX, IDC_ICON_PCE4, m_Icon_PCE4); - DDX_Control(pDX, IDC_ICON_PCE5, m_Icon_PCE5); - DDX_Control(pDX, IDC_ICON_PCE6, m_Icon_PCE6); - DDX_Control(pDX, IDC_ICON_PCE7, m_Icon_PCE7); - DDX_Control(pDX, IDC_ICON_PBE0, m_Icon_PBE0); - DDX_Control(pDX, IDC_ICON_PBE1, m_Icon_PBE1); - DDX_Control(pDX, IDC_ICON_PBE2, m_Icon_PBE2); - DDX_Control(pDX, IDC_ICON_PBE3, m_Icon_PBE3); - DDX_Control(pDX, IDC_ICON_PBE4, m_Icon_PBE4); - DDX_Control(pDX, IDC_ICON_PBE5, m_Icon_PBE5); - DDX_Control(pDX, IDC_ICON_PBE6, m_Icon_PBE6); - DDX_Control(pDX, IDC_ICON_PBE7, m_Icon_PBE7); - DDX_Control(pDX, IDC_ICON_PAE0, m_Icon_PAE0); - DDX_Control(pDX, IDC_ICON_PAE1, m_Icon_PAE1); - DDX_Control(pDX, IDC_ICON_PAE2, m_Icon_PAE2); - DDX_Control(pDX, IDC_ICON_PAE3, m_Icon_PAE3); - DDX_Control(pDX, IDC_ICON_PAE4, m_Icon_PAE4); - DDX_Control(pDX, IDC_ICON_PAE5, m_Icon_PAE5); - DDX_Control(pDX, IDC_ICON_PAE6, m_Icon_PAE6); - DDX_Control(pDX, IDC_ICON_PAE7, m_Icon_PAE7); - DDX_Control(pDX, IDC_COMBO_IN_PA, m_cbPortAIn); - DDX_Control(pDX, IDC_COMBO_IN_PB, m_cbPortBIn); - DDX_Control(pDX, IDC_COMBO_IN_PCL, m_cbPortCLIn); - DDX_Control(pDX, IDC_COMBO_IN_PCH, m_cbPortCHIn); - DDX_Control(pDX, IDC_COMBO_OUT_PA, m_cbPortAOut); - DDX_Control(pDX, IDC_COMBO_OUT_PB, m_cbPortBOut); - DDX_Control(pDX, IDC_COMBO_OUT_PCL, m_cbPortCLOut); - DDX_Control(pDX, IDC_COMBO_OUT_PCH, m_cbPortCHOut); - DDX_Control(pDX, IDC_COMBO_IN_PAE, m_cbPortAE); - DDX_Control(pDX, IDC_COMBO_IN_PBE, m_cbPortBE); - DDX_Control(pDX, IDC_COMBO_IN_PCE, m_cbPortCE); -} - -BEGIN_MESSAGE_MAP(CUtil7249Dlg, CDialog) - ON_WM_SYSCOMMAND() - ON_WM_PAINT() - ON_WM_QUERYDRAGICON() - //}}AFX_MSG_MAP - ON_CBN_SELCHANGE(IDC_COMBO_IN_PA, &CUtil7249Dlg::OnInPASelchange) - ON_CBN_SELCHANGE(IDC_COMBO_OUT_PA, &CUtil7249Dlg::OnOutPASelchange) - ON_CBN_SELCHANGE(IDC_COMBO_IN_PB, &CUtil7249Dlg::OnInPBSelchange) - ON_CBN_SELCHANGE(IDC_COMBO_OUT_PB, &CUtil7249Dlg::OnOutPBSelchange) - ON_CBN_SELCHANGE(IDC_COMBO_IN_PCH, &CUtil7249Dlg::OnInPCHSelchange) - ON_CBN_SELCHANGE(IDC_COMBO_OUT_PCH, &CUtil7249Dlg::OnOutPCHSelchange) - ON_CBN_SELCHANGE(IDC_COMBO_IN_PCL, &CUtil7249Dlg::OnInPCLSelchange) - ON_CBN_SELCHANGE(IDC_COMBO_OUT_PCL, &CUtil7249Dlg::OnOutPCLSelchange) - ON_CBN_SELCHANGE(IDC_COMBO_IN_PAE, &CUtil7249Dlg::OnInPAESelchange) - ON_CBN_SELCHANGE(IDC_COMBO_IN_PBE, &CUtil7249Dlg::OnInPBESelchange) - ON_CBN_SELCHANGE(IDC_COMBO_IN_PCE, &CUtil7249Dlg::OnInPCESelchange) - ON_WM_DESTROY() - ON_WM_TIMER() - ON_BN_CLICKED(IDC_CHECK_PC0, &CUtil7249Dlg::OnOutputPC0) - ON_BN_CLICKED(IDC_CHECK_PC1, &CUtil7249Dlg::OnOutputPC1) - ON_BN_CLICKED(IDC_CHECK_PC2, &CUtil7249Dlg::OnOutputPC2) - ON_BN_CLICKED(IDC_CHECK_PC3, &CUtil7249Dlg::OnOutputPC3) - ON_BN_CLICKED(IDC_CHECK_PC4, &CUtil7249Dlg::OnOutputPC4) - ON_BN_CLICKED(IDC_CHECK_PC5, &CUtil7249Dlg::OnOutputPC5) - ON_BN_CLICKED(IDC_CHECK_PC6, &CUtil7249Dlg::OnOutputPC6) - ON_BN_CLICKED(IDC_CHECK_PC7, &CUtil7249Dlg::OnOutputPC7) - ON_BN_CLICKED(IDC_CHECK_PB0, &CUtil7249Dlg::OnOutputPB0) - ON_BN_CLICKED(IDC_CHECK_PB1, &CUtil7249Dlg::OnOutputPB1) - ON_BN_CLICKED(IDC_CHECK_PB2, &CUtil7249Dlg::OnOutputPB2) - ON_BN_CLICKED(IDC_CHECK_PB3, &CUtil7249Dlg::OnOutputPB3) - ON_BN_CLICKED(IDC_CHECK_PB4, &CUtil7249Dlg::OnOutputPB4) - ON_BN_CLICKED(IDC_CHECK_PB5, &CUtil7249Dlg::OnOutputPB5) - ON_BN_CLICKED(IDC_CHECK_PB6, &CUtil7249Dlg::OnOutputPB6) - ON_BN_CLICKED(IDC_CHECK_PB7, &CUtil7249Dlg::OnOutputPB7) - ON_BN_CLICKED(IDC_CHECK_PA0, &CUtil7249Dlg::OnOutputPA0) - ON_BN_CLICKED(IDC_CHECK_PA1, &CUtil7249Dlg::OnOutputPA1) - ON_BN_CLICKED(IDC_CHECK_PA2, &CUtil7249Dlg::OnOutputPA2) - ON_BN_CLICKED(IDC_CHECK_PA3, &CUtil7249Dlg::OnOutputPA3) - ON_BN_CLICKED(IDC_CHECK_PA4, &CUtil7249Dlg::OnOutputPA4) - ON_BN_CLICKED(IDC_CHECK_PA5, &CUtil7249Dlg::OnOutputPA5) - ON_BN_CLICKED(IDC_CHECK_PA6, &CUtil7249Dlg::OnOutputPA6) - ON_BN_CLICKED(IDC_CHECK_PA7, &CUtil7249Dlg::OnOutputPA7) - ON_WM_CTLCOLOR() -END_MESSAGE_MAP() - - -// CUtil7249Dlg message handlers - -BOOL CUtil7249Dlg::OnInitDialog() -{ - CDialog::OnInitDialog(); - - // Add "About..." menu item to system menu. - - // IDM_ABOUTBOX must be in the system command range. - ASSERT((IDM_ABOUTBOX & 0xFFF0) == IDM_ABOUTBOX); - ASSERT(IDM_ABOUTBOX < 0xF000); - - CMenu* pSysMenu = GetSystemMenu(FALSE); - if (pSysMenu != NULL) - { - BOOL bNameValid; - CString strAboutMenu; - bNameValid = strAboutMenu.LoadString(IDS_ABOUTBOX); - ASSERT(bNameValid); - if (!strAboutMenu.IsEmpty()) - { - pSysMenu->AppendMenu(MF_SEPARATOR); - pSysMenu->AppendMenu(MF_STRING, IDM_ABOUTBOX, strAboutMenu); - } - } - - // Set the icon for this dialog. The framework does this automatically - // when the application's main window is not a dialog - SetIcon(m_hIcon, TRUE); // Set big icon - SetIcon(m_hIcon, FALSE); // Set small icon - - // TODO: Add extra initialization here - m_cbPortAIn.SetCurSel(0); - m_cbPortBIn.SetCurSel(0); - m_cbPortCLIn.SetCurSel(0); - m_cbPortCHIn.SetCurSel(0); - - m_cbPortAOut.SetCurSel(1); - m_cbPortBOut.SetCurSel(1); - m_cbPortCLOut.SetCurSel(1); - m_cbPortCHOut.SetCurSel(1); - - m_cbPortAE.SetCurSel(0); - m_cbPortBE.SetCurSel(0); - m_cbPortCE.SetCurSel(0); - - // Port Configuration - DIO_PortConfig(m_hCard, m_InPortA, INPUT_PORT); - DIO_PortConfig(m_hCard, m_OutPortA, OUTPUT_PORT); - DIO_PortConfig(m_hCard, m_InPortB, INPUT_PORT); - DIO_PortConfig(m_hCard, m_OutPortB, OUTPUT_PORT); - DIO_PortConfig(m_hCard, m_InPortCH, INPUT_PORT); - DIO_PortConfig(m_hCard, m_OutPortCH, OUTPUT_PORT); - DIO_PortConfig(m_hCard, m_InPortCL, INPUT_PORT); - DIO_PortConfig(m_hCard, m_OutPortCL, OUTPUT_PORT); - - DO_WritePort( m_hCard, m_OutPortA, m_OutDataPortA ); - DO_WritePort( m_hCard, m_OutPortB, m_OutDataPortB ); - DO_WritePort( m_hCard, m_OutPortCL, m_OutDataPortCL ); - DO_WritePort( m_hCard, m_OutPortCH, m_OutDataPortCH ); - - m_nTimer = SetTimer( 1, 50, NULL ); - - return TRUE; // return TRUE unless you set the focus to a control -} - -void CUtil7249Dlg::OnSysCommand(UINT nID, LPARAM lParam) -{ - if ((nID & 0xFFF0) == IDM_ABOUTBOX) - { - CAboutDlg dlgAbout; - dlgAbout.DoModal(); - } - else - { - CDialog::OnSysCommand(nID, lParam); - } -} - -// If you add a minimize button to your dialog, you will need the code below -// to draw the icon. For MFC applications using the document/view model, -// this is automatically done for you by the framework. - -void CUtil7249Dlg::OnPaint() -{ - if (IsIconic()) - { - CPaintDC dc(this); // device context for painting - - SendMessage(WM_ICONERASEBKGND, reinterpret_cast(dc.GetSafeHdc()), 0); - - // Center icon in client rectangle - int cxIcon = GetSystemMetrics(SM_CXICON); - int cyIcon = GetSystemMetrics(SM_CYICON); - CRect rect; - GetClientRect(&rect); - int x = (rect.Width() - cxIcon + 1) / 2; - int y = (rect.Height() - cyIcon + 1) / 2; - - // Draw the icon - dc.DrawIcon(x, y, m_hIcon); - } - else - { - CDialog::OnPaint(); - } -} - -// The system calls this function to obtain the cursor to display while the user drags -// the minimized window. -HCURSOR CUtil7249Dlg::OnQueryDragIcon() -{ - return static_cast(m_hIcon); -} - - - -void CUtil7249Dlg::OnInPAESelchange() -{ - // TODO: Add your control notification handler code here - U16 tmpInPAE; - int nIndex; - - nIndex = m_cbPortAE.GetCurSel(); - switch( nIndex ) - { - case 0: - tmpInPAE = Channel_P1AE; - break; - case 1: - tmpInPAE = Channel_P2AE; - break; - } - - if( tmpInPAE != m_PortAE ) - { // update m_InPortA and configure the target Port - m_PortAE = tmpInPAE; - } - - -} - -void CUtil7249Dlg::OnInPBESelchange() -{ - // TODO: Add your control notification handler code here - U16 tmpInPBE; - int nIndex; - - nIndex = m_cbPortBE.GetCurSel(); - switch( nIndex ) - { - case 0: - tmpInPBE = Channel_P1BE; - break; - case 1: - tmpInPBE = Channel_P2BE; - break; - } - - if( tmpInPBE != m_PortBE ) - { // update m_InPortA and configure the target Port - m_PortBE = tmpInPBE; - } - - -} - -void CUtil7249Dlg::OnInPCESelchange() -{ - // TODO: Add your control notification handler code here - U16 tmpInPCE; - int nIndex; - - nIndex = m_cbPortBE.GetCurSel(); - switch( nIndex ) - { - case 0: - tmpInPCE = Channel_P1CE; - break; - case 1: - tmpInPCE = Channel_P2CE; - break; - } - - if( tmpInPCE != m_PortCE ) - { // update m_InPortA and configure the target Port - m_PortCE = tmpInPCE; - } - - -} - -void CUtil7249Dlg::OnInPASelchange() -{ - // TODO: Add your control notification handler code here - U16 tmpInPA; - int nIndex; - - nIndex = m_cbPortAIn.GetCurSel(); - switch( nIndex ) - { - case 0: - tmpInPA = Channel_P1A; - break; - case 1: - tmpInPA = Channel_P2A; - break; - } - - - { - if( tmpInPA != m_InPortA ) - { // update m_InPortA and configure the target Port - m_InPortA = tmpInPA; - - DIO_PortConfig(m_hCard, m_InPortA, INPUT_PORT); - } - } - - -} - -void CUtil7249Dlg::OnOutPASelchange() -{ - // TODO: Add your control notification handler code here - U16 tmpOutPA; - int nIndex; - - nIndex = m_cbPortAOut.GetCurSel(); - switch( nIndex ) - { - case 0: - tmpOutPA = Channel_P1A; - break; - case 1: - tmpOutPA = Channel_P2A; - break; - - } - - - { - if( tmpOutPA != m_OutPortA ) - { // update m_InPortA and configure the target Port - m_OutPortA = tmpOutPA; - - DIO_PortConfig(m_hCard, m_OutPortA, OUTPUT_PORT); - // reset Output data - m_OutDataPortA = 0x00; - } - } - -} - -void CUtil7249Dlg::OnInPBSelchange() -{ - // TODO: Add your control notification handler code here - U16 tmpInPB; - int nIndex; - - nIndex = m_cbPortBIn.GetCurSel(); - switch( nIndex ) - { - case 0: - tmpInPB = Channel_P1B; - break; - case 1: - tmpInPB = Channel_P2B; - break; - } - - - { - if( tmpInPB != m_InPortB ) - { // update m_InPortA and configure the target Port - m_InPortB = tmpInPB; - - DIO_PortConfig(m_hCard, m_InPortB, INPUT_PORT); - } - } -} - -void CUtil7249Dlg::OnOutPBSelchange() -{ - // TODO: Add your control notification handler code here - U16 tmpOutPB; - int nIndex; - - nIndex = m_cbPortBOut.GetCurSel(); - switch( nIndex ) - { - case 0: - tmpOutPB = Channel_P1B; - break; - case 1: - tmpOutPB = Channel_P2B; - break; - } - - - { - if( tmpOutPB != m_OutPortB ) - { // update m_InPortA and configure the target Port - m_OutPortB = tmpOutPB; - - DIO_PortConfig(m_hCard, m_OutPortB, OUTPUT_PORT); - // reset Output data - m_OutDataPortB = 0x00; - - } - } -} - -void CUtil7249Dlg::OnInPCHSelchange() -{ - // TODO: Add your control notification handler code here - U16 tmpInPCH; - int nIndex; - - nIndex = m_cbPortCHIn.GetCurSel(); - switch( nIndex ) - { - case 0: - tmpInPCH = Channel_P1CH; - break; - case 1: - tmpInPCH = Channel_P2CH; - break; - } - - - { - if( tmpInPCH != m_InPortCH ) - { // update m_InPortA and configure the target Port - m_InPortCH = tmpInPCH; - - DIO_PortConfig(m_hCard, m_InPortCH, INPUT_PORT); - } - } -} - -void CUtil7249Dlg::OnOutPCHSelchange() -{ - // TODO: Add your control notification handler code here - U16 tmpOutPCH; - int nIndex; - - nIndex = m_cbPortCHOut.GetCurSel(); - switch( nIndex ) - { - case 0: - tmpOutPCH = Channel_P1CH; - break; - case 1: - tmpOutPCH = Channel_P2CH; - break; - } - - - { - if( tmpOutPCH != m_OutPortCH ) - { // update m_InPortA and configure the target Port - m_OutPortCH = tmpOutPCH; - - DIO_PortConfig(m_hCard, m_OutPortCH, OUTPUT_PORT); - // reset Output data - m_OutDataPortCH = 0x00; - - } - } -} - -void CUtil7249Dlg::OnInPCLSelchange() -{ - // TODO: Add your control notification handler code here - U16 tmpInPCL; - int nIndex; - - nIndex = m_cbPortCLIn.GetCurSel(); - switch( nIndex ) - { - case 0: - tmpInPCL = Channel_P1CL; - break; - case 1: - tmpInPCL = Channel_P2CL; - break; - } - - - { - if( tmpInPCL != m_InPortCL ) - { // update m_InPortA and configure the target Port - m_InPortCL = tmpInPCL; - - DIO_PortConfig(m_hCard, m_InPortCL, INPUT_PORT); - } - } -} - -void CUtil7249Dlg::OnOutPCLSelchange() -{ - // TODO: Add your control notification handler code here - U16 tmpOutPCL; - int nIndex; - - nIndex = m_cbPortCLOut.GetCurSel(); - switch( nIndex ) - { - case 0: - tmpOutPCL = Channel_P1CL; - break; - case 1: - tmpOutPCL = Channel_P2CL; - break; - } - - - { - if( tmpOutPCL != m_OutPortCL ) - { // update m_InPortA and configure the target Port - m_OutPortCL = tmpOutPCL; - - DIO_PortConfig(m_hCard, m_OutPortCL, OUTPUT_PORT); - // reset Output data - m_OutDataPortCL = 0x00; - } - } -} - -void CUtil7249Dlg::OnDestroy() -{ - CDialog::OnDestroy(); - - // TODO: Add your message handler code here - if( m_nTimer != -1 ) - { - KillTimer( m_nTimer ); - m_nTimer = -1; - } -} - -void CUtil7249Dlg::OnTimer(UINT_PTR nIDEvent) -{ - // TODO: Add your message handler code here and/or call default - - U32 dwPortData,dwChangeMask; - - - // process the InData of PortA - DI_ReadPort( m_hCard, m_InPortA, &dwPortData); - dwChangeMask = dwPortData ^ m_InDataPortA; - - if( dwChangeMask != 0x00 ) // Input had been changed - { - - m_InDataPortA = dwPortData; - - if( (dwChangeMask & 0x01) == 0x01 ) // if the target bit is changed - { - if( (dwPortData & 0x01) == 0x01 ) - { - m_Icon_PA0.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_PA0.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - - if( (dwChangeMask & 0x02) == 0x02 ) // if the target bit is changed - { - if( (dwPortData & 0x02) == 0x02 ) - { - m_Icon_PA1.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_PA1.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - if( (dwChangeMask & 0x04) == 0x04 ) // if the target bit is changed - { - if( (dwPortData & 0x04) == 0x04 ) - { - m_Icon_PA2.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_PA2.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - if( (dwChangeMask & 0x08) == 0x08 ) // if the target bit is changed - { - if( (dwPortData & 0x08) == 0x08 ) - { - m_Icon_PA3.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_PA3.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - if( (dwChangeMask & 0x10) == 0x10 ) // if the target bit is changed - { - if( (dwPortData & 0x10) == 0x10 ) - { - m_Icon_PA4.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_PA4.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - if( (dwChangeMask & 0x20) == 0x20 ) // if the target bit is changed - { - if( (dwPortData & 0x20) == 0x20 ) - { - m_Icon_PA5.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_PA5.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - if( (dwChangeMask & 0x40) == 0x40 ) // if the target bit is changed - { - if( (dwPortData & 0x40) == 0x40 ) - { - m_Icon_PA6.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_PA6.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - if( (dwChangeMask & 0x80) == 0x80 ) // if the target bit is changed - { - if( (dwPortData & 0x80) == 0x80 ) - { - m_Icon_PA7.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_PA7.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - - } - - - - // process the InData of PortB - DI_ReadPort( m_hCard, m_InPortB, &dwPortData); - dwChangeMask = dwPortData ^ m_InDataPortB; - - if( dwChangeMask != 0x00 ) // Input had been changed - { - - m_InDataPortB = dwPortData; - - if( (dwChangeMask & 0x01) == 0x01 ) // if the target bit is changed - { - if( (dwPortData & 0x01) == 0x01 ) - { - m_Icon_PB0.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_PB0.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - - if( (dwChangeMask & 0x02) == 0x02 ) // if the target bit is changed - { - if( (dwPortData & 0x02) == 0x02 ) - { - m_Icon_PB1.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_PB1.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - if( (dwChangeMask & 0x04) == 0x04 ) // if the target bit is changed - { - if( (dwPortData & 0x04) == 0x04 ) - { - m_Icon_PB2.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_PB2.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - if( (dwChangeMask & 0x08) == 0x08 ) // if the target bit is changed - { - if( (dwPortData & 0x08) == 0x08 ) - { - m_Icon_PB3.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_PB3.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - if( (dwChangeMask & 0x10) == 0x10 ) // if the target bit is changed - { - if( (dwPortData & 0x10) == 0x10 ) - { - m_Icon_PB4.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_PB4.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - if( (dwChangeMask & 0x20) == 0x20 ) // if the target bit is changed - { - if( (dwPortData & 0x20) == 0x20 ) - { - m_Icon_PB5.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_PB5.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - if( (dwChangeMask & 0x40) == 0x40 ) // if the target bit is changed - { - if( (dwPortData & 0x40) == 0x40 ) - { - m_Icon_PB6.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_PB6.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - if( (dwChangeMask & 0x80) == 0x80 ) // if the target bit is changed - { - if( (dwPortData & 0x80) == 0x80 ) - { - m_Icon_PB7.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_PB7.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - } - - - - // process the InData of PortC Lower - DI_ReadPort( m_hCard, m_InPortCL, &dwPortData); - dwChangeMask = dwPortData ^ m_InDataPortCL; - - if( dwChangeMask != 0x00 ) // Input had been changed - { - - m_InDataPortCL = dwPortData; - - if( (dwChangeMask & 0x01) == 0x01 ) // if the target bit is changed - { - if( (dwPortData & 0x01) == 0x01 ) - { - m_Icon_PC0.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_PC0.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - - if( (dwChangeMask & 0x02) == 0x02 ) // if the target bit is changed - { - if( (dwPortData & 0x02) == 0x02 ) - { - m_Icon_PC1.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_PC1.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - if( (dwChangeMask & 0x04) == 0x04 ) // if the target bit is changed - { - if( (dwPortData & 0x04) == 0x04 ) - { - m_Icon_PC2.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_PC2.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - if( (dwChangeMask & 0x08) == 0x08 ) // if the target bit is changed - { - if( (dwPortData & 0x08) == 0x08 ) - { - m_Icon_PC3.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_PC3.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - } - - - // process the InData of PortC Upper - DI_ReadPort( m_hCard, m_InPortCH, &dwPortData); - dwChangeMask = dwPortData ^ m_InDataPortCH; - - if( dwChangeMask != 0x00 ) // Input had been changed - { - - m_InDataPortCH = dwPortData; - - if( (dwChangeMask & 0x01) == 0x01 ) // if the target bit is changed - { - if( (dwPortData & 0x01) == 0x01 ) - { - m_Icon_PC4.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_PC4.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - if( (dwChangeMask & 0x02) == 0x02 ) // if the target bit is changed - { - if( (dwPortData & 0x02) == 0x02 ) - { - m_Icon_PC5.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_PC5.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - if( (dwChangeMask & 0x04) == 0x04 ) // if the target bit is changed - { - if( (dwPortData & 0x04) == 0x04 ) - { - m_Icon_PC6.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_PC6.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - if( (dwChangeMask & 0x08) == 0x08 ) // if the target bit is changed - { - if( (dwPortData & 0x08) == 0x08 ) - { - m_Icon_PC7.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_PC7.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - } - - // process the InData of Latched PortA - DI_ReadPort( m_hCard, m_PortAE, &dwPortData); - dwChangeMask = dwPortData ^ m_InDataPortAE; - - if( dwChangeMask != 0x00 ) // Input had been changed - { - - m_InDataPortAE = dwPortData; - - if( (dwChangeMask & 0x01) == 0x01 ) // if the target bit is changed - { - if( (dwPortData & 0x01) == 0x01 ) - { - m_Icon_PAE0.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_PAE0.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - - if( (dwChangeMask & 0x02) == 0x02 ) // if the target bit is changed - { - if( (dwPortData & 0x02) == 0x02 ) - { - m_Icon_PAE1.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_PAE1.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - if( (dwChangeMask & 0x04) == 0x04 ) // if the target bit is changed - { - if( (dwPortData & 0x04) == 0x04 ) - { - m_Icon_PAE2.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_PAE2.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - if( (dwChangeMask & 0x08) == 0x08 ) // if the target bit is changed - { - if( (dwPortData & 0x08) == 0x08 ) - { - m_Icon_PAE3.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_PAE3.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - if( (dwChangeMask & 0x10) == 0x10 ) // if the target bit is changed - { - if( (dwPortData & 0x10) == 0x10 ) - { - m_Icon_PAE4.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_PAE4.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - if( (dwChangeMask & 0x20) == 0x20 ) // if the target bit is changed - { - if( (dwPortData & 0x20) == 0x20 ) - { - m_Icon_PAE5.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_PAE5.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - if( (dwChangeMask & 0x40) == 0x40 ) // if the target bit is changed - { - if( (dwPortData & 0x40) == 0x40 ) - { - m_Icon_PAE6.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_PAE6.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - if( (dwChangeMask & 0x80) == 0x80 ) // if the target bit is changed - { - if( (dwPortData & 0x80) == 0x80 ) - { - m_Icon_PAE7.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_PAE7.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - - } - - - // process the InData of Latched PortB - DI_ReadPort( m_hCard, m_PortBE, &dwPortData); - dwChangeMask = dwPortData ^ m_InDataPortBE; - - if( dwChangeMask != 0x00 ) // Input had been changed - { - - m_InDataPortBE = dwPortData; - - if( (dwChangeMask & 0x01) == 0x01 ) // if the target bit is changed - { - if( (dwPortData & 0x01) == 0x01 ) - { - m_Icon_PBE0.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_PBE0.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - - if( (dwChangeMask & 0x02) == 0x02 ) // if the target bit is changed - { - if( (dwPortData & 0x02) == 0x02 ) - { - m_Icon_PBE1.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_PBE1.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - if( (dwChangeMask & 0x04) == 0x04 ) // if the target bit is changed - { - if( (dwPortData & 0x04) == 0x04 ) - { - m_Icon_PBE2.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_PBE2.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - if( (dwChangeMask & 0x08) == 0x08 ) // if the target bit is changed - { - if( (dwPortData & 0x08) == 0x08 ) - { - m_Icon_PBE3.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_PBE3.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - if( (dwChangeMask & 0x10) == 0x10 ) // if the target bit is changed - { - if( (dwPortData & 0x10) == 0x10 ) - { - m_Icon_PBE4.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_PBE4.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - if( (dwChangeMask & 0x20) == 0x20 ) // if the target bit is changed - { - if( (dwPortData & 0x20) == 0x20 ) - { - m_Icon_PBE5.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_PBE5.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - if( (dwChangeMask & 0x40) == 0x40 ) // if the target bit is changed - { - if( (dwPortData & 0x40) == 0x40 ) - { - m_Icon_PBE6.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_PBE6.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - if( (dwChangeMask & 0x80) == 0x80 ) // if the target bit is changed - { - if( (dwPortData & 0x80) == 0x80 ) - { - m_Icon_PBE7.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_PBE7.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - } - - - // process the InData of Latched PortC - DI_ReadPort( m_hCard, m_PortCE, &dwPortData); - dwChangeMask = dwPortData ^ m_InDataPortCE; - - if( dwChangeMask != 0x00 ) // Input had been changed - { - - m_InDataPortCE = dwPortData; - - if( (dwChangeMask & 0x01) == 0x01 ) // if the target bit is changed - { - if( (dwPortData & 0x01) == 0x01 ) - { - m_Icon_PCE0.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_PCE0.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - - if( (dwChangeMask & 0x02) == 0x02 ) // if the target bit is changed - { - if( (dwPortData & 0x02) == 0x02 ) - { - m_Icon_PCE1.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_PCE1.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - if( (dwChangeMask & 0x04) == 0x04 ) // if the target bit is changed - { - if( (dwPortData & 0x04) == 0x04 ) - { - m_Icon_PCE2.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_PCE2.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - if( (dwChangeMask & 0x08) == 0x08 ) // if the target bit is changed - { - if( (dwPortData & 0x08) == 0x08 ) - { - m_Icon_PCE3.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_PCE3.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - if( (dwChangeMask & 0x10) == 0x10 ) // if the target bit is changed - { - if( (dwPortData & 0x10) == 0x10 ) - { - m_Icon_PCE4.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_PCE4.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - if( (dwChangeMask & 0x20) == 0x20 ) // if the target bit is changed - { - if( (dwPortData & 0x20) == 0x20 ) - { - m_Icon_PCE5.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_PCE5.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - if( (dwChangeMask & 0x40) == 0x40 ) // if the target bit is changed - { - if( (dwPortData & 0x40) == 0x40 ) - { - m_Icon_PCE6.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_PCE6.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - if( (dwChangeMask & 0x80) == 0x80 ) // if the target bit is changed - { - if( (dwPortData & 0x80) == 0x80 ) - { - m_Icon_PCE7.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_PCE7.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - } - - - - CDialog::OnTimer(nIDEvent); -} - -void CUtil7249Dlg::OnOutputPC0() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_PC0 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_OutDataPortCL |= 0x01; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_OutDataPortCL &= (~0x01); - } - - DO_WritePort( m_hCard, m_OutPortCL, m_OutDataPortCL ); - -} - -void CUtil7249Dlg::OnOutputPC1() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_PC1 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_OutDataPortCL |= 0x02; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_OutDataPortCL &= (~0x02); - } - - DO_WritePort( m_hCard, m_OutPortCL, m_OutDataPortCL ); -} - -void CUtil7249Dlg::OnOutputPC2() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_PC2 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_OutDataPortCL |= 0x04; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_OutDataPortCL &= (~0x04); - } - - DO_WritePort( m_hCard, m_OutPortCL, m_OutDataPortCL ); - -} - -void CUtil7249Dlg::OnOutputPC3() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_PC3 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_OutDataPortCL |= 0x08; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_OutDataPortCL &= (~0x08); - } - - DO_WritePort( m_hCard, m_OutPortCL, m_OutDataPortCL ); -} - -void CUtil7249Dlg::OnOutputPC4() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_PC4 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_OutDataPortCH |= 0x01; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_OutDataPortCH &= (~0x01); - } - - DO_WritePort( m_hCard, m_OutPortCH, m_OutDataPortCH ); - -} - -void CUtil7249Dlg::OnOutputPC5() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_PC5 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_OutDataPortCH |= 0x02; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_OutDataPortCH &= (~0x02); - } - - DO_WritePort( m_hCard, m_OutPortCH, m_OutDataPortCH ); -} - -void CUtil7249Dlg::OnOutputPC6() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_PC6 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_OutDataPortCH |= 0x04; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_OutDataPortCH &= (~0x04); - } - - DO_WritePort( m_hCard, m_OutPortCH, m_OutDataPortCH ); -} - -void CUtil7249Dlg::OnOutputPC7() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_PC7 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_OutDataPortCH |= 0x08; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_OutDataPortCH &= (~0x08); - } - - DO_WritePort( m_hCard, m_OutPortCH, m_OutDataPortCH ); -} - -void CUtil7249Dlg::OnOutputPB0() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_PB0 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_OutDataPortB |= 0x01; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_OutDataPortB &= (~0x01); - } - - DO_WritePort( m_hCard, m_OutPortB, m_OutDataPortB ); - -} - -void CUtil7249Dlg::OnOutputPB1() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_PB1 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_OutDataPortB |= 0x02; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_OutDataPortB &= (~0x02); - } - - DO_WritePort( m_hCard, m_OutPortB, m_OutDataPortB ); -} - -void CUtil7249Dlg::OnOutputPB2() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_PB2 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_OutDataPortB |= 0x04; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_OutDataPortB &= (~0x04); - } - - DO_WritePort( m_hCard, m_OutPortB, m_OutDataPortB ); -} - -void CUtil7249Dlg::OnOutputPB3() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_PB3 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_OutDataPortB |= 0x08; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_OutDataPortB &= (~0x08); - } - - DO_WritePort( m_hCard, m_OutPortB, m_OutDataPortB ); -} - -void CUtil7249Dlg::OnOutputPB4() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_PB4 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_OutDataPortB |= 0x10; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_OutDataPortB &= (~0x10); - } - - DO_WritePort( m_hCard, m_OutPortB, m_OutDataPortB ); -} - -void CUtil7249Dlg::OnOutputPB5() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_PB5 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_OutDataPortB |= 0x20; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_OutDataPortB &= (~0x20); - } - - DO_WritePort( m_hCard, m_OutPortB, m_OutDataPortB ); -} - -void CUtil7249Dlg::OnOutputPB6() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_PB6 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_OutDataPortB |= 0x40; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_OutDataPortB &= (~0x40); - } - - DO_WritePort( m_hCard, m_OutPortB, m_OutDataPortB ); -} - -void CUtil7249Dlg::OnOutputPB7() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_PB7 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_OutDataPortB |= 0x80; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_OutDataPortB &= (~0x80); - } - - DO_WritePort( m_hCard, m_OutPortB, m_OutDataPortB ); -} - -void CUtil7249Dlg::OnOutputPA0() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_PA0 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_OutDataPortA |= 0x01; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_OutDataPortA &= (~0x01); - } - - DO_WritePort( m_hCard, m_OutPortA, m_OutDataPortA ); -} - -void CUtil7249Dlg::OnOutputPA1() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_PA1 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_OutDataPortA |= 0x02; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_OutDataPortA &= (~0x02); - } - - DO_WritePort( m_hCard, m_OutPortA, m_OutDataPortA ); -} - -void CUtil7249Dlg::OnOutputPA2() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_PA2 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_OutDataPortA |= 0x04; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_OutDataPortA &= (~0x04); - } - - DO_WritePort( m_hCard, m_OutPortA, m_OutDataPortA ); -} - -void CUtil7249Dlg::OnOutputPA3() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_PA3 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_OutDataPortA |= 0x08; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_OutDataPortA &= (~0x08); - } - - DO_WritePort( m_hCard, m_OutPortA, m_OutDataPortA ); -} - -void CUtil7249Dlg::OnOutputPA4() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_PA4 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_OutDataPortA |= 0x10; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_OutDataPortA &= (~0x10); - } - - DO_WritePort( m_hCard, m_OutPortA, m_OutDataPortA ); -} - -void CUtil7249Dlg::OnOutputPA5() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_PA5 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_OutDataPortA |= 0x20; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_OutDataPortA &= (~0x20); - } - - DO_WritePort( m_hCard, m_OutPortA, m_OutDataPortA ); -} - -void CUtil7249Dlg::OnOutputPA6() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_PA6 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_OutDataPortA |= 0x40; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_OutDataPortA &= (~0x40); - } - - DO_WritePort( m_hCard, m_OutPortA, m_OutDataPortA ); -} - -void CUtil7249Dlg::OnOutputPA7() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_PA7 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_OutDataPortA |= 0x80; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_OutDataPortA &= (~0x80); - } - - DO_WritePort( m_hCard, m_OutPortA, m_OutDataPortA ); -} - -HBRUSH CUtil7249Dlg::OnCtlColor(CDC* pDC, CWnd* pWnd, UINT nCtlColor) -{ - HBRUSH hbr = CDialog::OnCtlColor(pDC, pWnd, nCtlColor); - - // TODO: Change any attributes of the DC here - if ( pWnd->GetDlgCtrlID() == IDC_LABEL_INPUT2 ) - pDC->SetTextColor(RGB(255,0,0)); - - if ( pWnd->GetDlgCtrlID() == IDC_LABEL_OUTPUT ) - pDC->SetTextColor(RGB(255,0,0)); - - // TODO: Return a different brush if the default is not desired - return hbr; -} - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7249/SDK7249/Util7249Dlg.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7249/SDK7249/Util7249Dlg.h deleted file mode 100644 index 98dab04..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7249/SDK7249/Util7249Dlg.h +++ /dev/null @@ -1,155 +0,0 @@ - -// Util7249Dlg.h : header file -// - -#include "Dask64.h" - -#pragma once - - -// CUtil7249Dlg dialog -class CUtil7249Dlg : public CDialog -{ -// Construction -public: - CUtil7249Dlg(I16 hCard, CWnd* pParent = NULL); // standard constructor - -// Dialog Data - enum { IDD = IDD_UTIL7249_DIALOG }; - - protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - - -// Implementation -protected: - HICON m_hIcon; - UINT_PTR m_nTimer; - I16 m_hCard; - U16 m_InPortA; - U16 m_OutPortA; - U16 m_InPortB; - U16 m_OutPortB; - U16 m_InPortCL; - U16 m_OutPortCL; - U16 m_InPortCH; - U16 m_OutPortCH; - U16 m_PortAE; - U16 m_PortBE; - U16 m_PortCE; - U32 m_InDataPortA; - U32 m_OutDataPortA; - U32 m_InDataPortB; - U32 m_OutDataPortB; - U32 m_InDataPortCL; - U32 m_OutDataPortCL; - U32 m_InDataPortCH; - U32 m_OutDataPortCH; - U32 m_InDataPortAE; - U32 m_InDataPortBE; - U32 m_InDataPortCE; -public: - CStatic m_Icon_PC0; - CStatic m_Icon_PC1; - CStatic m_Icon_PC2; - CStatic m_Icon_PC3; - CStatic m_Icon_PC4; - CStatic m_Icon_PC5; - CStatic m_Icon_PC6; - CStatic m_Icon_PC7; - CStatic m_Icon_PB0; - CStatic m_Icon_PB1; - CStatic m_Icon_PB2; - CStatic m_Icon_PB3; - CStatic m_Icon_PB4; - CStatic m_Icon_PB5; - CStatic m_Icon_PB6; - CStatic m_Icon_PB7; - CStatic m_Icon_PA0; - CStatic m_Icon_PA1; - CStatic m_Icon_PA2; - CStatic m_Icon_PA3; - CStatic m_Icon_PA4; - CStatic m_Icon_PA5; - CStatic m_Icon_PA6; - CStatic m_Icon_PA7; - CStatic m_Icon_PCE0; - CStatic m_Icon_PCE1; - CStatic m_Icon_PCE2; - CStatic m_Icon_PCE3; - CStatic m_Icon_PCE4; - CStatic m_Icon_PCE5; - CStatic m_Icon_PCE6; - CStatic m_Icon_PCE7; - CStatic m_Icon_PBE0; - CStatic m_Icon_PBE1; - CStatic m_Icon_PBE2; - CStatic m_Icon_PBE3; - CStatic m_Icon_PBE4; - CStatic m_Icon_PBE5; - CStatic m_Icon_PBE6; - CStatic m_Icon_PBE7; - CStatic m_Icon_PAE0; - CStatic m_Icon_PAE1; - CStatic m_Icon_PAE2; - CStatic m_Icon_PAE3; - CStatic m_Icon_PAE4; - CStatic m_Icon_PAE5; - CStatic m_Icon_PAE6; - CStatic m_Icon_PAE7; - CComboBox m_cbPortAIn; - CComboBox m_cbPortBIn; - CComboBox m_cbPortCLIn; - CComboBox m_cbPortCHIn; - CComboBox m_cbPortAOut; - CComboBox m_cbPortBOut; - CComboBox m_cbPortCLOut; - CComboBox m_cbPortCHOut; - CComboBox m_cbPortAE; - CComboBox m_cbPortBE; - CComboBox m_cbPortCE; - // Generated message map functions - virtual BOOL OnInitDialog(); - afx_msg void OnSysCommand(UINT nID, LPARAM lParam); - afx_msg void OnPaint(); - afx_msg HCURSOR OnQueryDragIcon(); - DECLARE_MESSAGE_MAP() - afx_msg void OnInPASelchange(); - afx_msg void OnOutPASelchange(); - afx_msg void OnInPBSelchange(); - afx_msg void OnOutPBSelchange(); - afx_msg void OnInPCHSelchange(); - afx_msg void OnOutPCHSelchange(); - afx_msg void OnInPCLSelchange(); - afx_msg void OnOutPCLSelchange(); - afx_msg void OnInPAESelchange(); - afx_msg void OnInPBESelchange(); - afx_msg void OnInPCESelchange(); - afx_msg void OnDestroy(); - afx_msg void OnTimer(UINT_PTR nIDEvent); - afx_msg void OnOutputPC0(); - afx_msg void OnOutputPC1(); - afx_msg void OnOutputPC2(); - afx_msg void OnOutputPC3(); - afx_msg void OnOutputPC4(); - afx_msg void OnOutputPC5(); - afx_msg void OnOutputPC6(); - afx_msg void OnOutputPC7(); - afx_msg void OnOutputPB0(); - afx_msg void OnOutputPB1(); - afx_msg void OnOutputPB2(); - afx_msg void OnOutputPB3(); - afx_msg void OnOutputPB4(); - afx_msg void OnOutputPB5(); - afx_msg void OnOutputPB6(); - afx_msg void OnOutputPB7(); - afx_msg void OnOutputPA0(); - afx_msg void OnOutputPA1(); - afx_msg void OnOutputPA2(); - afx_msg void OnOutputPA3(); - afx_msg void OnOutputPA4(); - afx_msg void OnOutputPA5(); - afx_msg void OnOutputPA6(); - afx_msg void OnOutputPA7(); - afx_msg HBRUSH OnCtlColor(CDC* pDC, CWnd* pWnd, UINT nCtlColor); -}; diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7249/SDK7249/Util7296.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7249/SDK7249/Util7296.suo deleted file mode 100644 index fd63af2..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7249/SDK7249/Util7296.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7249/SDK7249/res/Util7249.ico b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7249/SDK7249/res/Util7249.ico deleted file mode 100644 index d56fbcd..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7249/SDK7249/res/Util7249.ico and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7249/SDK7249/res/Util7249.rc2 b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7249/SDK7249/res/Util7249.rc2 deleted file mode 100644 index 22f3a20..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7249/SDK7249/res/Util7249.rc2 +++ /dev/null @@ -1,13 +0,0 @@ -// -// Util7296.RC2 - resources Microsoft Visual C++ does not edit directly -// - -#ifdef APSTUDIO_INVOKED -#error this file is not editable by Microsoft Visual C++ -#endif //APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// Add manually edited resources here... - -///////////////////////////////////////////////////////////////////////////// diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7249/SDK7249/res/black.ico b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7249/SDK7249/res/black.ico deleted file mode 100644 index b5c375f..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7249/SDK7249/res/black.ico and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7249/SDK7249/res/blue.ico b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7249/SDK7249/res/blue.ico deleted file mode 100644 index 1df4b39..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7249/SDK7249/res/blue.ico and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7249/SDK7249/res/green.ico b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7249/SDK7249/res/green.ico deleted file mode 100644 index d9a9fd3..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7249/SDK7249/res/green.ico and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7249/SDK7249/res/pink.ico b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7249/SDK7249/res/pink.ico deleted file mode 100644 index 18bdaad..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7249/SDK7249/res/pink.ico and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7249/SDK7249/res/red.ico b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7249/SDK7249/res/red.ico deleted file mode 100644 index 7644596..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7249/SDK7249/res/red.ico and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7249/SDK7249/res/yellow.ico b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7249/SDK7249/res/yellow.ico deleted file mode 100644 index 3449de2..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7249/SDK7249/res/yellow.ico and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7249/SDK7249/resource.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7249/SDK7249/resource.h deleted file mode 100644 index d5f31eb..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7249/SDK7249/resource.h +++ /dev/null @@ -1,114 +0,0 @@ -//{{NO_DEPENDENCIES}} -// Microsoft Visual C++ generated include file. -// Used by Util7249.rc -// -#define IDM_ABOUTBOX 0x0010 -#define IDD_ABOUTBOX 100 -#define IDS_ABOUTBOX 101 -#define IDD_UTIL7249_DIALOG 102 -#define IDR_MAINFRAME 128 -#define IDI_ICON_BLACK 130 -#define IDI_ICON_RED 131 -#define IDI_ICON_GREEN 132 -#define IDD_CARDID_DIALOG 133 -#define IDC_COMBO_CARDID 1000 -#define IDC_CHECK_PC0 1002 -#define IDC_CHECK_PC1 1003 -#define IDC_CHECK_PC2 1004 -#define IDC_ICON_PC0 1005 -#define IDC_ICON_PC1 1006 -#define IDC_ICON_PC2 1007 -#define IDC_ICON_PC3 1008 -#define IDC_ICON_PC4 1009 -#define IDC_ICON_PC5 1010 -#define IDC_ICON_PC6 1011 -#define IDC_ICON_PC7 1012 -#define IDC_ICON_PB0 1013 -#define IDC_STATIC_01 1014 -#define IDC_ICON_PB1 1014 -#define IDC_ICON_PB2 1015 -#define IDC_ICON_PB3 1016 -#define IDC_ICON_PB4 1017 -#define IDC_ICON_PB5 1018 -#define IDC_ICON_PB6 1019 -#define IDC_ICON_PB7 1020 -#define IDC_ICON_PA0 1021 -#define IDC_ICON_PA1 1022 -#define IDC_ICON_PA2 1023 -#define IDC_ICON_PA3 1024 -#define IDC_ICON_PA4 1025 -#define IDC_ICON_PA5 1026 -#define IDC_ICON_PA6 1027 -#define IDC_ICON_PA7 1028 -#define IDC_CHECK_PC3 1029 -#define IDC_CHECK_PC4 1030 -#define IDC_CHECK_PC5 1031 -#define IDC_CHECK_PC6 1032 -#define IDC_CHECK_PC7 1033 -#define IDC_CHECK_PB0 1034 -#define IDC_CHECK_PB1 1035 -#define IDC_CHECK_PB2 1036 -#define IDC_CHECK_PB3 1037 -#define IDC_CHECK_PB4 1038 -#define IDC_CHECK_PB5 1039 -#define IDC_CHECK_PB6 1040 -#define IDC_CHECK_PB7 1041 -#define IDC_CHECK_PA0 1042 -#define IDC_CHECK_PA1 1043 -#define IDC_CHECK_PA2 1044 -#define IDC_CHECK_PA3 1045 -#define IDC_CHECK_PA4 1046 -#define IDC_CHECK_PA5 1047 -#define IDC_CHECK_PA6 1048 -#define IDC_CHECK_PA7 1049 -#define IDC_COMBO_IN_PA 1050 -#define IDC_COMBO_OUT_PA 1051 -#define IDC_COMBO_IN_PCH 1052 -#define IDC_COMBO_OUT_PCH 1053 -#define IDC_COMBO_IN_PB 1054 -#define IDC_COMBO_OUT_PB 1055 -#define IDC_COMBO_IN_PCL 1056 -#define IDC_COMBO_OUT_PCL 1057 -#define IDC_LABEL_INPUT 1058 -#define IDC_LABEL_OUTPUT 1058 -#define IDC_LABEL_INPUT2 1059 -#define IDC_ICON_PAE0 1060 -#define IDC_ICON_PAE1 1061 -#define IDC_ICON_PAE2 1062 -#define IDC_ICON_PAE3 1063 -#define IDC_ICON_PAE4 1064 -#define IDC_ICON_PAE5 1065 -#define IDC_ICON_PAE6 1066 -#define IDC_ICON_PAE7 1067 -#define IDC_LABEL_INPUT3 1068 -#define IDC_ICON_PBE0 1069 -#define IDC_ICON_PBE1 1070 -#define IDC_ICON_PBE2 1071 -#define IDC_ICON_PBE3 1072 -#define IDC_ICON_PBE4 1073 -#define IDC_ICON_PBE5 1074 -#define IDC_ICON_PBE6 1075 -#define IDC_ICON_PBE7 1076 -#define IDC_COMBO_IN_PBE 1077 -#define IDC_COMBO_IN_PAE 1078 -#define IDC_ICON_PCE0 1079 -#define IDC_ICON_PCE1 1080 -#define IDC_ICON_PCE2 1081 -#define IDC_ICON_PCE3 1082 -#define IDC_COMBO_IN_PCE 1083 -#define IDC_ICON_PCE4 1084 -#define IDC_ICON_PCE5 1085 -#define IDC_ICON_PCE6 1086 -#define IDC_ICON_PC15 1087 -#define IDC_ICON_PCE7 1087 - -// Next default values for new objects -// -#ifdef APSTUDIO_INVOKED -#ifndef APSTUDIO_READONLY_SYMBOLS -#define _APS_NEXT_RESOURCE_VALUE 137 -#define _APS_NEXT_COMMAND_VALUE 32771 -#define _APS_NEXT_CONTROL_VALUE 1059 -#define _APS_NEXT_SYMED_VALUE 101 -#endif -#endif diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7249/SDK7249/stdafx.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7249/SDK7249/stdafx.cpp deleted file mode 100644 index 6735a4f..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7249/SDK7249/stdafx.cpp +++ /dev/null @@ -1,8 +0,0 @@ - -// stdafx.cpp : source file that includes just the standard includes -// Util7249.pch will be the pre-compiled header -// stdafx.obj will contain the pre-compiled type information - -#include "stdafx.h" - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7249/SDK7249/stdafx.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7249/SDK7249/stdafx.h deleted file mode 100644 index 12123e2..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7249/SDK7249/stdafx.h +++ /dev/null @@ -1,60 +0,0 @@ - -// stdafx.h : include file for standard system include files, -// or project specific include files that are used frequently, -// but are changed infrequently - -#pragma once - -#ifndef _SECURE_ATL -#define _SECURE_ATL 1 -#endif - -#ifndef VC_EXTRALEAN -#define VC_EXTRALEAN // Exclude rarely-used stuff from Windows headers -#endif - -#include "targetver.h" - -#define _ATL_CSTRING_EXPLICIT_CONSTRUCTORS // some CString constructors will be explicit - -// turns off MFC's hiding of some common and often safely ignored warning messages -#define _AFX_ALL_WARNINGS - -#include // MFC core and standard components -#include // MFC extensions - - -#include // MFC Automation classes - - - -#ifndef _AFX_NO_OLE_SUPPORT -#include // MFC support for Internet Explorer 4 Common Controls -#endif -#ifndef _AFX_NO_AFXCMN_SUPPORT -#include // MFC support for Windows Common Controls -#endif // _AFX_NO_AFXCMN_SUPPORT - -#include // MFC support for ribbons and control bars - - - - - - - - - -#ifdef _UNICODE -#if defined _M_IX86 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='x86' publicKeyToken='6595b64144ccf1df' language='*'\"") -#elif defined _M_IA64 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='ia64' publicKeyToken='6595b64144ccf1df' language='*'\"") -#elif defined _M_X64 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='amd64' publicKeyToken='6595b64144ccf1df' language='*'\"") -#else -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='*' publicKeyToken='6595b64144ccf1df' language='*'\"") -#endif -#endif - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7249/SDK7249/targetver.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7249/SDK7249/targetver.h deleted file mode 100644 index 11730d5..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7249/SDK7249/targetver.h +++ /dev/null @@ -1,26 +0,0 @@ - -#pragma once - -// The following macros define the minimum required platform. The minimum required platform -// is the earliest version of Windows, Internet Explorer etc. that has the necessary features to run -// your application. The macros work by enabling all features available on platform versions up to and -// including the version specified. - -// Modify the following defines if you have to target a platform prior to the ones specified below. -// Refer to MSDN for the latest info on corresponding values for different platforms. -#ifndef WINVER // Specifies that the minimum required platform is Windows Vista. -#define WINVER 0x0600 // Change this to the appropriate value to target other versions of Windows. -#endif - -#ifndef _WIN32_WINNT // Specifies that the minimum required platform is Windows Vista. -#define _WIN32_WINNT 0x0600 // Change this to the appropriate value to target other versions of Windows. -#endif - -#ifndef _WIN32_WINDOWS // Specifies that the minimum required platform is Windows 98. -#define _WIN32_WINDOWS 0x0410 // Change this to the appropriate value to target Windows Me or later. -#endif - -#ifndef _WIN32_IE // Specifies that the minimum required platform is Internet Explorer 7.0. -#define _WIN32_IE 0x0700 // Change this to the appropriate value to target other versions of IE. -#endif - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7249/SDK7249DbEvtMsg/7248int2.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7249/SDK7249DbEvtMsg/7248int2.suo deleted file mode 100644 index 472a4cb..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7249/SDK7249DbEvtMsg/7248int2.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7249/SDK7249DbEvtMsg/7249int2.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7249/SDK7249DbEvtMsg/7249int2.cpp deleted file mode 100644 index 7ad0abc..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7249/SDK7249DbEvtMsg/7249int2.cpp +++ /dev/null @@ -1,79 +0,0 @@ - -// 7249int2.cpp : Defines the class behaviors for the application. -// - -#include "stdafx.h" -#include "7249int2.h" -#include "7249int2Dlg.h" - -#ifdef _DEBUG -#define new DEBUG_NEW -#endif - - -// CMy7249int2App - -BEGIN_MESSAGE_MAP(CMy7249int2App, CWinAppEx) - ON_COMMAND(ID_HELP, &CWinApp::OnHelp) -END_MESSAGE_MAP() - - -// CMy7249int2App construction - -CMy7249int2App::CMy7249int2App() -{ - // TODO: add construction code here, - // Place all significant initialization in InitInstance -} - - -// The one and only CMy7249int2App object - -CMy7249int2App theApp; - - -// CMy7249int2App initialization - -BOOL CMy7249int2App::InitInstance() -{ - // InitCommonControlsEx() is required on Windows XP if an application - // manifest specifies use of ComCtl32.dll version 6 or later to enable - // visual styles. Otherwise, any window creation will fail. - INITCOMMONCONTROLSEX InitCtrls; - InitCtrls.dwSize = sizeof(InitCtrls); - // Set this to include all the common control classes you want to use - // in your application. - InitCtrls.dwICC = ICC_WIN95_CLASSES; - InitCommonControlsEx(&InitCtrls); - - CWinAppEx::InitInstance(); - - AfxEnableControlContainer(); - - // Standard initialization - // If you are not using these features and wish to reduce the size - // of your final executable, you should remove from the following - // the specific initialization routines you do not need - // Change the registry key under which our settings are stored - // TODO: You should modify this string to be something appropriate - // such as the name of your company or organization - SetRegistryKey(_T("Local AppWizard-Generated Applications")); - - CMy7249int2Dlg dlg; - m_pMainWnd = &dlg; - INT_PTR nResponse = dlg.DoModal(); - if (nResponse == IDOK) - { - // TODO: Place code here to handle when the dialog is - // dismissed with OK - } - else if (nResponse == IDCANCEL) - { - // TODO: Place code here to handle when the dialog is - // dismissed with Cancel - } - - // Since the dialog has been closed, return FALSE so that we exit the - // application, rather than start the application's message pump. - return FALSE; -} diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7249/SDK7249DbEvtMsg/7249int2.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7249/SDK7249DbEvtMsg/7249int2.h deleted file mode 100644 index 9e3163e..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7249/SDK7249DbEvtMsg/7249int2.h +++ /dev/null @@ -1,32 +0,0 @@ - -// 7249int2.h : main header file for the PROJECT_NAME application -// - -#pragma once - -#ifndef __AFXWIN_H__ - #error "include 'stdafx.h' before including this file for PCH" -#endif - -#include "resource.h" // main symbols - - -// CMy7249int2App: -// See 7249int2.cpp for the implementation of this class -// - -class CMy7249int2App : public CWinAppEx -{ -public: - CMy7249int2App(); - -// Overrides - public: - virtual BOOL InitInstance(); - -// Implementation - - DECLARE_MESSAGE_MAP() -}; - -extern CMy7249int2App theApp; \ No newline at end of file diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7249/SDK7249DbEvtMsg/7249int2.rc b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7249/SDK7249DbEvtMsg/7249int2.rc deleted file mode 100644 index a9ddb53..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7249/SDK7249DbEvtMsg/7249int2.rc +++ /dev/null @@ -1,285 +0,0 @@ -// Microsoft Visual C++ generated resource script. -// -#include "resource.h" - -#define APSTUDIO_READONLY_SYMBOLS -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 2 resource. -// -#ifndef APSTUDIO_INVOKED -#include "targetver.h" -#endif -#include "afxres.h" - -///////////////////////////////////////////////////////////////////////////// -#undef APSTUDIO_READONLY_SYMBOLS - -///////////////////////////////////////////////////////////////////////////// -// Chinese (Taiwan) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_CHT) -#ifdef _WIN32 -LANGUAGE LANG_CHINESE, SUBLANG_CHINESE_TRADITIONAL -#pragma code_page(950) -#endif //_WIN32 - -#ifdef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// TEXTINCLUDE -// - -1 TEXTINCLUDE -BEGIN - "resource.h\0" -END - -2 TEXTINCLUDE -BEGIN - "#ifndef APSTUDIO_INVOKED\r\n" - "#include ""targetver.h""\r\n" - "#endif\r\n" - "#include ""afxres.h""\r\n" - "\0" -END - -3 TEXTINCLUDE -BEGIN - "#define _AFX_NO_SPLITTER_RESOURCES\r\n" - "#define _AFX_NO_OLE_RESOURCES\r\n" - "#define _AFX_NO_TRACKER_RESOURCES\r\n" - "#define _AFX_NO_PROPERTY_RESOURCES\r\n" - "\r\n" - "#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)\r\n" - "LANGUAGE 9, 1\r\n" - "#pragma code_page(1252)\r\n" - "#include ""res\\My7249int2.rc2"" // non-Microsoft Visual C++ edited resources\r\n" - "#include ""afxres.rc"" // Standard components\r\n" - "#endif\r\n" - "\0" -END - -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// Icon -// - -// Icon with lowest ID value placed first to ensure application icon -// remains consistent on all systems. -IDR_MAINFRAME ICON "res\\7249int2.ico" -#endif // Chinese (Taiwan) resources -///////////////////////////////////////////////////////////////////////////// - - -///////////////////////////////////////////////////////////////////////////// -// English (U.S.) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -#ifdef _WIN32 -LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US -#pragma code_page(1252) -#endif //_WIN32 - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog -// - -IDD_DIALOG_SETUP DIALOGEX 0, 0, 188, 112 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION -CAPTION "Setup Dialog" -FONT 8, "MS Shell Dlg", 400, 0, 0x1 -BEGIN - DEFPUSHBUTTON "OK",IDOK,48,84,50,14 - PUSHBUTTON "Cancel",IDCANCEL,105,84,50,14 - LTEXT "Card Number : ",IDC_STATIC,19,19,53,14 - LTEXT "Total Count : ",IDC_STATIC,19,39,53,14 - LTEXT "Sampling Rate : ",IDC_STATIC,19,57,53,14 - COMBOBOX IDC_COMBO_CARDNO,79,17,86,13,CBS_DROPDOWN | WS_VSCROLL | WS_TABSTOP - EDITTEXT IDC_EDIT_COUNT,79,36,85,14,ES_AUTOHSCROLL | ES_NUMBER - EDITTEXT IDC_EDIT_RATE,79,55,85,14,ES_AUTOHSCROLL | ES_NUMBER -END - -IDD_ABOUTBOX DIALOGEX 0, 0, 170, 62 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "About 7249int2" -FONT 8, "MS Shell Dlg", 0, 0, 0x1 -BEGIN - ICON IDR_MAINFRAME,IDC_STATIC,14,14,21,20 - LTEXT "7249int2, Version 1.0",IDC_STATIC,42,14,114,8,SS_NOPREFIX - LTEXT "Copyright (C) 2010",IDC_STATIC,42,26,114,8 - DEFPUSHBUTTON "OK",IDOK,113,41,50,14,WS_GROUP -END - -IDD_MY7249INT2_DIALOG DIALOGEX 0, 0, 273, 193 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_VISIBLE | WS_CAPTION -EXSTYLE WS_EX_APPWINDOW -CAPTION "7249 Dual Interrupt Sample" -FONT 8, "MS Shell Dlg", 0, 0, 0x1 -BEGIN - PUSHBUTTON "Exit",IDCANCEL,163,7,50,14 - PUSHBUTTON "Setup",IDC_BT_SETUP,7,7,53,14 - PUSHBUTTON "Interrupt Trigger",IDC_BT_TRIGGER,61,7,102,14,WS_DISABLED - LTEXT "This sample demonstrates how to use dual-interrupt lines.",IDC_STATIC,7,23,190,13 - LTEXT "The IRQ source of INT1 is P1C0.",IDC_STATIC,7,31,190,13 - LTEXT "The IRQ source of INT2 is internal Timer-output.",IDC_STATIC,7,39,190,13 - LTEXT "Using cable to connect CN1 and CN2\nClick 'Setup' button first ...",IDC_STATIC_04,7,50,125,22 - LTEXT "Data from Input port: \n** only shows at most 50 data **",IDC_STATIC_07,7,97,113,19,NOT WS_VISIBLE - LTEXT "INT1 Count =",IDC_STATIC_05,7,72,85,13 - LTEXT "INT2 Count =",IDC_STATIC_06,7,83,85,13 - LTEXT "",IDC_STATIC_LINE1,7,116,247,11 - LTEXT "",IDC_STATIC_LINE2,7,130,247,11 - LTEXT "",IDC_STATIC_LINE3,7,143,247,11 - LTEXT "",IDC_STATIC_LINE4,7,156,247,11 - LTEXT "",IDC_STATIC_LINE5,7,170,247,11 -END - - -///////////////////////////////////////////////////////////////////////////// -// -// DESIGNINFO -// - -#ifdef APSTUDIO_INVOKED -GUIDELINES DESIGNINFO -BEGIN - IDD_DIALOG_SETUP, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 181 - TOPMARGIN, 7 - BOTTOMMARGIN, 105 - END - - IDD_ABOUTBOX, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 163 - TOPMARGIN, 7 - BOTTOMMARGIN, 55 - END -END -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog Info -// - -IDD_DIALOG_SETUP DLGINIT -BEGIN - IDC_COMBO_CARDNO, 0x403, 2, 0 -0x0030, - IDC_COMBO_CARDNO, 0x403, 2, 0 -0x0031, - IDC_COMBO_CARDNO, 0x403, 2, 0 -0x0032, - IDC_COMBO_CARDNO, 0x403, 2, 0 -0x0033, - IDC_COMBO_CARDNO, 0x403, 2, 0 -0x0034, - IDC_COMBO_CARDNO, 0x403, 2, 0 -0x0035, - IDC_COMBO_CARDNO, 0x403, 2, 0 -0x0036, - IDC_COMBO_CARDNO, 0x403, 2, 0 -0x0037, - IDC_COMBO_CARDNO, 0x403, 2, 0 -0x0038, - IDC_COMBO_CARDNO, 0x403, 2, 0 -0x0039, - IDC_COMBO_CARDNO, 0x403, 3, 0 -0x3031, "\000" - IDC_COMBO_CARDNO, 0x403, 3, 0 -0x3131, "\000" - IDC_COMBO_CARDNO, 0x403, 3, 0 -0x3231, "\000" - IDC_COMBO_CARDNO, 0x403, 3, 0 -0x3331, "\000" - IDC_COMBO_CARDNO, 0x403, 3, 0 -0x3431, "\000" - IDC_COMBO_CARDNO, 0x403, 3, 0 -0x3531, "\000" - 0 -END - - -///////////////////////////////////////////////////////////////////////////// -// -// Version -// - -VS_VERSION_INFO VERSIONINFO - FILEVERSION 1,0,0,1 - PRODUCTVERSION 1,0,0,1 - FILEFLAGSMASK 0x3fL -#ifdef _DEBUG - FILEFLAGS 0x1L -#else - FILEFLAGS 0x0L -#endif - FILEOS 0x4L - FILETYPE 0x1L - FILESUBTYPE 0x0L -BEGIN - BLOCK "StringFileInfo" - BEGIN - BLOCK "040904e4" - BEGIN - VALUE "CompanyName", "TODO: " - VALUE "FileDescription", "TODO: " - VALUE "FileVersion", "1.0.0.1" - VALUE "InternalName", "7249int2.exe" - VALUE "LegalCopyright", "TODO: (c) . All rights reserved." - VALUE "OriginalFilename", "7249int2.exe" - VALUE "ProductName", "TODO: " - VALUE "ProductVersion", "1.0.0.1" - END - END - BLOCK "VarFileInfo" - BEGIN - VALUE "Translation", 0x409, 1252 - END -END - - -///////////////////////////////////////////////////////////////////////////// -// -// String Table -// - -STRINGTABLE -BEGIN - IDS_ABOUTBOX "&About 7249int2..." -END - -#endif // English (U.S.) resources -///////////////////////////////////////////////////////////////////////////// - - - -#ifndef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 3 resource. -// -#define _AFX_NO_SPLITTER_RESOURCES -#define _AFX_NO_OLE_RESOURCES -#define _AFX_NO_TRACKER_RESOURCES -#define _AFX_NO_PROPERTY_RESOURCES - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -LANGUAGE 9, 1 -#pragma code_page(1252) -#include "res\My7249int2.rc2" // non-Microsoft Visual C++ edited resources -#include "afxres.rc" // Standard components -#endif - -///////////////////////////////////////////////////////////////////////////// -#endif // not APSTUDIO_INVOKED - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7249/SDK7249DbEvtMsg/7249int2.sln b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7249/SDK7249DbEvtMsg/7249int2.sln deleted file mode 100644 index db73d3d..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7249/SDK7249DbEvtMsg/7249int2.sln +++ /dev/null @@ -1,26 +0,0 @@ - -Microsoft Visual Studio Solution File, Format Version 10.00 -# Visual Studio 2008 -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "7249int2", "7249int2.vcproj", "{36D327EC-F369-4F7C-BF2A-C66603E84831}" -EndProject -Global - GlobalSection(SolutionConfigurationPlatforms) = preSolution - Debug|Win32 = Debug|Win32 - Debug|x64 = Debug|x64 - Release|Win32 = Release|Win32 - Release|x64 = Release|x64 - EndGlobalSection - GlobalSection(ProjectConfigurationPlatforms) = postSolution - {36D327EC-F369-4F7C-BF2A-C66603E84831}.Debug|Win32.ActiveCfg = Debug|Win32 - {36D327EC-F369-4F7C-BF2A-C66603E84831}.Debug|Win32.Build.0 = Debug|Win32 - {36D327EC-F369-4F7C-BF2A-C66603E84831}.Debug|x64.ActiveCfg = Debug|x64 - {36D327EC-F369-4F7C-BF2A-C66603E84831}.Debug|x64.Build.0 = Debug|x64 - {36D327EC-F369-4F7C-BF2A-C66603E84831}.Release|Win32.ActiveCfg = Release|Win32 - {36D327EC-F369-4F7C-BF2A-C66603E84831}.Release|Win32.Build.0 = Release|Win32 - {36D327EC-F369-4F7C-BF2A-C66603E84831}.Release|x64.ActiveCfg = Release|x64 - {36D327EC-F369-4F7C-BF2A-C66603E84831}.Release|x64.Build.0 = Release|x64 - EndGlobalSection - GlobalSection(SolutionProperties) = preSolution - HideSolutionNode = FALSE - EndGlobalSection -EndGlobal diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7249/SDK7249DbEvtMsg/7249int2.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7249/SDK7249DbEvtMsg/7249int2.suo deleted file mode 100644 index 52c7847..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7249/SDK7249DbEvtMsg/7249int2.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7249/SDK7249DbEvtMsg/7249int2.vcproj b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7249/SDK7249DbEvtMsg/7249int2.vcproj deleted file mode 100644 index d8a6461..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7249/SDK7249DbEvtMsg/7249int2.vcproj +++ /dev/null @@ -1,469 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7249/SDK7249DbEvtMsg/7249int2Dlg.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7249/SDK7249DbEvtMsg/7249int2Dlg.cpp deleted file mode 100644 index 13eee35..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7249/SDK7249DbEvtMsg/7249int2Dlg.cpp +++ /dev/null @@ -1,398 +0,0 @@ - -// 7249int2Dlg.cpp : implementation file -// - -#include "stdafx.h" -#include "7249int2.h" -#include "7249int2Dlg.h" -#include "SetupDlg.h" - -#ifdef _DEBUG -#define new DEBUG_NEW -#endif - -#define COS_INTERRUPT_MESSAGE _T("COS_INT") -#define TIMER_INTERRUPT_MESSAGE _T("TIMER_INT") - -UINT WM_INT0 = ::RegisterWindowMessage(COS_INTERRUPT_MESSAGE); -UINT WM_INT1 = ::RegisterWindowMessage(TIMER_INTERRUPT_MESSAGE); - - -U32 gInBuffer[32768], gOutBuffer[32768]; -int gIntCount; -HANDLE ghIntEvent[2]; - - -// CAboutDlg dialog used for App About - -class CAboutDlg : public CDialog -{ -public: - CAboutDlg(); - -// Dialog Data - enum { IDD = IDD_ABOUTBOX }; - - protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - -// Implementation -protected: - DECLARE_MESSAGE_MAP() -}; - -CAboutDlg::CAboutDlg() : CDialog(CAboutDlg::IDD) -{ -} - -void CAboutDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); -} - -BEGIN_MESSAGE_MAP(CAboutDlg, CDialog) -END_MESSAGE_MAP() - - -// CMy7249int2Dlg dialog - - - - -CMy7249int2Dlg::CMy7249int2Dlg(CWnd* pParent /*=NULL*/) - : CDialog(CMy7249int2Dlg::IDD, pParent) - , m_nCardIdx(-1) - , m_nSampleCount(-1) - , m_nSampleRate(-1) - , m_hCard(-1) - , m_hThread(NULL) -{ - m_hIcon = AfxGetApp()->LoadIcon(IDR_MAINFRAME); - m_nC1=10; m_nC2=10; - - m_TimerCount = 0; - m_COSCount = 0; - -} - -void CMy7249int2Dlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); -} - -BEGIN_MESSAGE_MAP(CMy7249int2Dlg, CDialog) - ON_WM_SYSCOMMAND() - ON_WM_PAINT() - ON_WM_QUERYDRAGICON() - ON_REGISTERED_MESSAGE(WM_INT0, OnCOS0Interrupt) - ON_REGISTERED_MESSAGE(WM_INT1, OnTimerInterrupt) - //}}AFX_MSG_MAP - ON_WM_CTLCOLOR() - ON_BN_CLICKED(IDC_BT_SETUP, &CMy7249int2Dlg::OnBnClickedBtSetup) - ON_WM_DESTROY() - ON_BN_CLICKED(IDC_BT_TRIGGER, &CMy7249int2Dlg::OnBnClickedBtTrigger) -END_MESSAGE_MAP() - - -// CMy7249int2Dlg message handlers - -BOOL CMy7249int2Dlg::OnInitDialog() -{ - CDialog::OnInitDialog(); - - // Add "About..." menu item to system menu. - - // IDM_ABOUTBOX must be in the system command range. - ASSERT((IDM_ABOUTBOX & 0xFFF0) == IDM_ABOUTBOX); - ASSERT(IDM_ABOUTBOX < 0xF000); - - CMenu* pSysMenu = GetSystemMenu(FALSE); - if (pSysMenu != NULL) - { - BOOL bNameValid; - CString strAboutMenu; - bNameValid = strAboutMenu.LoadString(IDS_ABOUTBOX); - ASSERT(bNameValid); - if (!strAboutMenu.IsEmpty()) - { - pSysMenu->AppendMenu(MF_SEPARATOR); - pSysMenu->AppendMenu(MF_STRING, IDM_ABOUTBOX, strAboutMenu); - } - } - - // Set the icon for this dialog. The framework does this automatically - // when the application's main window is not a dialog - SetIcon(m_hIcon, TRUE); // Set big icon - SetIcon(m_hIcon, FALSE); // Set small icon - - // TODO: Add extra initialization here - - return TRUE; // return TRUE unless you set the focus to a control -} - -void CMy7249int2Dlg::OnSysCommand(UINT nID, LPARAM lParam) -{ - if ((nID & 0xFFF0) == IDM_ABOUTBOX) - { - CAboutDlg dlgAbout; - dlgAbout.DoModal(); - } - else - { - CDialog::OnSysCommand(nID, lParam); - } -} - -// If you add a minimize button to your dialog, you will need the code below -// to draw the icon. For MFC applications using the document/view model, -// this is automatically done for you by the framework. - -void CMy7249int2Dlg::OnPaint() -{ - if (IsIconic()) - { - CPaintDC dc(this); // device context for painting - - SendMessage(WM_ICONERASEBKGND, reinterpret_cast(dc.GetSafeHdc()), 0); - - // Center icon in client rectangle - int cxIcon = GetSystemMetrics(SM_CXICON); - int cyIcon = GetSystemMetrics(SM_CYICON); - CRect rect; - GetClientRect(&rect); - int x = (rect.Width() - cxIcon + 1) / 2; - int y = (rect.Height() - cyIcon + 1) / 2; - - // Draw the icon - dc.DrawIcon(x, y, m_hIcon); - } - else - { - CDialog::OnPaint(); - } -} - -// The system calls this function to obtain the cursor to display while the user drags -// the minimized window. -HCURSOR CMy7249int2Dlg::OnQueryDragIcon() -{ - return static_cast(m_hIcon); -} - - -HBRUSH CMy7249int2Dlg::OnCtlColor(CDC* pDC, CWnd* pWnd, UINT nCtlColor) -{ - HBRUSH hbr = CDialog::OnCtlColor(pDC, pWnd, nCtlColor); - - // TODO: Change any attributes of the DC here - if ( pWnd->GetDlgCtrlID() == IDC_STATIC_04 ) - pDC->SetTextColor(RGB(255,0,0)); - - // TODO: Return a different brush if the default is not desired - return hbr; -} - -void CMy7249int2Dlg::OnBnClickedBtSetup() -{ - // TODO: Add your control notification handler code here - CSetupDlg setupDlg; - INT_PTR nResponse; - CString strTemp; - int i, k; - - nResponse = setupDlg.DoModal(); - if (nResponse == IDOK) - { - if( m_nCardIdx != setupDlg.m_nCardIdx ) - { - if( m_hCard != -1 ) - { - Release_Card( m_hCard ); - m_hCard = -1; - } - - m_nCardIdx = setupDlg.m_nCardIdx; - } - - - if( m_hCard == -1 ) - { - if ((m_hCard = Register_Card(PCI_7249, m_nCardIdx)) < 0) - { - strTemp.Format( TEXT("Register_Card Error = %d"), m_hCard); - AfxMessageBox( strTemp ); - - EndDialog(IDCANCEL); - return; - } - } - - m_nSampleCount = setupDlg.m_nSampleCount; - m_nSampleRate = setupDlg.m_nSampleRate; - - for ( i=0, k=0; i255) k=0; - - gInBuffer[i]=0; - } - gIntCount = 0; - - DIO_PortConfig(m_hCard, Channel_P1A, INPUT_PORT); - DIO_PortConfig(m_hCard, Channel_P2A, OUTPUT_PORT); - DIO_PortConfig(m_hCard, Channel_P1C, INPUT_PORT); - DIO_PortConfig(m_hCard, Channel_P2C, OUTPUT_PORT); - - GetDlgItem(IDC_BT_TRIGGER)->EnableWindow( TRUE ); - - } - else if (nResponse == IDCANCEL) - { - // TODO: Place code here to handle when the dialog is - // dismissed with Cancel - } -} - -void CMy7249int2Dlg::OnDestroy() -{ - CDialog::OnDestroy(); - - // TODO: Add your message handler code here - int i; - - if( m_hCard >= 0 ) - { - DIO_SetDualInterrupt(m_hCard, INT1_DISABLE, INT2_DISABLE, ghIntEvent); - - for (i=0; i<2; i++) - { - if(ghIntEvent[i]) - ResetEvent(ghIntEvent[i]); - } - - - Release_Card( m_hCard ); m_hCard = -1; - } - -} - -void CMy7249int2Dlg::OnBnClickedBtTrigger() -{ - // TODO: Add your control notification handler code here - - DIO_INT1_EventMessage (m_hCard, INT1_FP1C0, this->m_hWnd, WM_INT0, NULL); - DIO_INT2_EventMessage (m_hCard, INT2_TIMER_COUNTER, this->m_hWnd, WM_INT1, NULL); - - m_nC2 = 2000000/(m_nSampleRate*m_nC1); - - CTR_Setup(m_hCard, 1, RATE_GENERATOR, m_nC1, BIN); - CTR_Setup(m_hCard, 2, RATE_GENERATOR, m_nC2, BIN); - - m_TimerCount = 0; - m_COSCount = 0; - - -} - -LRESULT CMy7249int2Dlg::OnCOS0Interrupt(WPARAM wParam, LPARAM lParam) -{ - // do something useful - CString strTemp; - - m_COSCount ++; - strTemp.Format( TEXT("INT1 Count = %d "), m_COSCount); - SetDlgItemText( IDC_STATIC_05, strTemp ); - - - return (LRESULT) 0; -} - - -LRESULT CMy7249int2Dlg::OnTimerInterrupt(WPARAM wParam, LPARAM lParam) -{ - int i; - CString strTemp; - CString strLine1, strLine2, strLine3, strLine4, strLine5; - - i=0; - // do something useful - if( m_TimerCount < m_nSampleCount ) - { - DO_WritePort( m_hCard, Channel_P2C, 1 ); - DO_WritePort (m_hCard, Channel_P2C, 0 ); - - strTemp.Format( TEXT("INT2 Count = %d "), m_TimerCount); - SetDlgItemText( IDC_STATIC_06, strTemp ); - - DO_WritePort( m_hCard, Channel_P2A, gOutBuffer[m_TimerCount]); - DI_ReadPort( m_hCard, Channel_P1A, &(gInBuffer[m_TimerCount]) ); - - //generate INT1 interrupt signal - m_TimerCount++; - } - else - { - DIO_INT2_EventMessage ( m_hCard, INT2_DISABLE, this->m_hWnd, NULL, NULL); - DIO_INT1_EventMessage ( m_hCard, INT1_DISABLE, this->m_hWnd, NULL, NULL); - CTR_Setup( m_hCard, 1, RATE_GENERATOR, 0, BIN); - CTR_Setup( m_hCard, 2, RATE_GENERATOR, 0, BIN); - - GetDlgItem(IDC_STATIC_07)->ShowWindow( SW_SHOW ); - - strLine1.Empty(); /// clear strLine1 - strLine2.Empty(); /// clear strLine2 - strLine3.Empty(); /// clear strLine3 - strLine4.Empty(); /// clear strLine4 - strLine5.Empty(); /// clear strLine5 - - for ( i=0; i<50 /*m_nSampleCount*/; i++) - { - strTemp.Format( TEXT("%d, "), gInBuffer[i] ); - - if(i<10) - { - strLine1 += strTemp; - } - - if(i>=10 && i<20) - { - strLine2 += strTemp; - } - - if(i>=20 && i<30) - { - strLine3 += strTemp; - } - - if (i>=30 && i<40) - { - strLine4 += strTemp; - } - - if (i>=40 && i<50) - { - strLine5 += strTemp; - } - } - - if( !strLine1.IsEmpty() ) - SetDlgItemText( IDC_STATIC_LINE1, strLine1 ); - - if( !strLine2.IsEmpty() ) - SetDlgItemText( IDC_STATIC_LINE2, strLine2 ); - - if( !strLine3.IsEmpty() ) - SetDlgItemText( IDC_STATIC_LINE3, strLine3 ); - - if( !strLine4.IsEmpty() ) - SetDlgItemText( IDC_STATIC_LINE4, strLine4 ); - - if( !strLine5.IsEmpty() ) - SetDlgItemText( IDC_STATIC_LINE5, strLine5 ); - } - - - return (LRESULT) 0; -} \ No newline at end of file diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7249/SDK7249DbEvtMsg/7249int2Dlg.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7249/SDK7249DbEvtMsg/7249int2Dlg.h deleted file mode 100644 index 5652303..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7249/SDK7249DbEvtMsg/7249int2Dlg.h +++ /dev/null @@ -1,50 +0,0 @@ - -// 7249int2Dlg.h : header file -// -#include "Dask64.h" - -#pragma once - - -// CMy7249int2Dlg dialog -class CMy7249int2Dlg : public CDialog -{ -// Construction -public: - CMy7249int2Dlg(CWnd* pParent = NULL); // standard constructor - -// Dialog Data - enum { IDD = IDD_MY7249INT2_DIALOG }; - - protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - - -// Implementation -protected: - HICON m_hIcon; - int m_nCardIdx; - long m_nSampleCount; - long m_nSampleRate; - int m_COSCount; - int m_TimerCount; - - I16 m_hCard; - int m_nC1; - int m_nC2; - HANDLE m_hThread; - - // Generated message map functions - virtual BOOL OnInitDialog(); - afx_msg void OnSysCommand(UINT nID, LPARAM lParam); - afx_msg LRESULT OnCOS0Interrupt(WPARAM wParam, LPARAM lParam); - afx_msg LRESULT OnTimerInterrupt(WPARAM wParam, LPARAM lParam); - afx_msg void OnPaint(); - afx_msg HCURSOR OnQueryDragIcon(); - DECLARE_MESSAGE_MAP() -public: - afx_msg HBRUSH OnCtlColor(CDC* pDC, CWnd* pWnd, UINT nCtlColor); - afx_msg void OnBnClickedBtSetup(); - afx_msg void OnDestroy(); - afx_msg void OnBnClickedBtTrigger(); -}; diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7249/SDK7249DbEvtMsg/7296int2.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7249/SDK7249DbEvtMsg/7296int2.suo deleted file mode 100644 index a078130..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7249/SDK7249DbEvtMsg/7296int2.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7249/SDK7249DbEvtMsg/ReadMe.txt b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7249/SDK7249DbEvtMsg/ReadMe.txt deleted file mode 100644 index aacdfd1..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7249/SDK7249DbEvtMsg/ReadMe.txt +++ /dev/null @@ -1,93 +0,0 @@ -================================================================================ - MICROSOFT FOUNDATION CLASS LIBRARY : 7249int2 Project Overview -=============================================================================== - -The application wizard has created this 7249int2 application for -you. This application not only demonstrates the basics of using the Microsoft -Foundation Classes but is also a starting point for writing your application. - -This file contains a summary of what you will find in each of the files that -make up your 7249int2 application. - -7249int2.vcproj - This is the main project file for VC++ projects generated using an application wizard. - It contains information about the version of Visual C++ that generated the file, and - information about the platforms, configurations, and project features selected with the - application wizard. - -7249int2.h - This is the main header file for the application. It includes other - project specific headers (including Resource.h) and declares the - CMy7249int2App application class. - -7249int2.cpp - This is the main application source file that contains the application - class CMy7249int2App. - -7249int2.rc - This is a listing of all of the Microsoft Windows resources that the - program uses. It includes the icons, bitmaps, and cursors that are stored - in the RES subdirectory. This file can be directly edited in Microsoft - Visual C++. Your project resources are in 1033. - -res\7249int2.ico - This is an icon file, which is used as the application's icon. This - icon is included by the main resource file 7249int2.rc. - -res\My7249int2.rc2 - This file contains resources that are not edited by Microsoft - Visual C++. You should place all resources not editable by - the resource editor in this file. - - -///////////////////////////////////////////////////////////////////////////// - -The application wizard creates one dialog class: - -7249int2Dlg.h, 7249int2Dlg.cpp - the dialog - These files contain your CMy7249int2Dlg class. This class defines - the behavior of your application's main dialog. The dialog's template is - in 7249int2.rc, which can be edited in Microsoft Visual C++. - - -///////////////////////////////////////////////////////////////////////////// - -Other Features: - -ActiveX Controls - The application includes support to use ActiveX controls. - -///////////////////////////////////////////////////////////////////////////// - -Other standard files: - -StdAfx.h, StdAfx.cpp - These files are used to build a precompiled header (PCH) file - named 7249int2.pch and a precompiled types file named StdAfx.obj. - -Resource.h - This is the standard header file, which defines new resource IDs. - Microsoft Visual C++ reads and updates this file. - -7249int2.manifest - Application manifest files are used by Windows XP to describe an applications - dependency on specific versions of Side-by-Side assemblies. The loader uses this - information to load the appropriate assembly from the assembly cache or private - from the application. The Application manifest maybe included for redistribution - as an external .manifest file that is installed in the same folder as the application - executable or it may be included in the executable in the form of a resource. -///////////////////////////////////////////////////////////////////////////// - -Other notes: - -The application wizard uses "TODO:" to indicate parts of the source code you -should add to or customize. - -If your application uses MFC in a shared DLL, you will need -to redistribute the MFC DLLs. If your application is in a language -other than the operating system's locale, you will also have to -redistribute the corresponding localized resources MFC90XXX.DLL. -For more information on both of these topics, please see the section on -redistributing Visual C++ applications in MSDN documentation. - -///////////////////////////////////////////////////////////////////////////// diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7249/SDK7249DbEvtMsg/SetupDlg.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7249/SDK7249DbEvtMsg/SetupDlg.cpp deleted file mode 100644 index a252413..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7249/SDK7249DbEvtMsg/SetupDlg.cpp +++ /dev/null @@ -1,63 +0,0 @@ -// SetupDlg.cpp : implementation file -// - -#include "stdafx.h" -#include "7249int2.h" -#include "SetupDlg.h" - - -// CSetupDlg dialog - -IMPLEMENT_DYNAMIC(CSetupDlg, CDialog) - -CSetupDlg::CSetupDlg(CWnd* pParent /*=NULL*/) - : CDialog(CSetupDlg::IDD, pParent) - , m_nSampleCount(40) - , m_nSampleRate(10000) -{ - -} - -CSetupDlg::~CSetupDlg() -{ -} - -void CSetupDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); - DDX_Control(pDX, IDC_COMBO_CARDNO, m_cbCardID); - DDX_Text(pDX, IDC_EDIT_COUNT, m_nSampleCount); - DDX_Text(pDX, IDC_EDIT_RATE, m_nSampleRate); - DDV_MinMaxLong(pDX, m_nSampleCount, 0, 32768); - DDV_MinMaxLong(pDX, m_nSampleRate, 0, 15000); -} - - -BEGIN_MESSAGE_MAP(CSetupDlg, CDialog) - ON_CBN_SELCHANGE(IDC_COMBO_CARDNO, &CSetupDlg::OnCardNoSelchange) -// ON_EN_CHANGE(IDC_EDIT_COUNT, &CSetupDlg::OnEnChangeEditCount) -END_MESSAGE_MAP() - - -// CSetupDlg message handlers - -BOOL CSetupDlg::OnInitDialog() -{ - CDialog::OnInitDialog(); - - // TODO: Add extra initialization here - m_cbCardID.SetCurSel(0); - m_nCardIdx = 0; - - - return TRUE; // return TRUE unless you set the focus to a control - // EXCEPTION: OCX Property Pages should return FALSE -} - -void CSetupDlg::OnCardNoSelchange() -{ - // TODO: Add your control notification handler code here - m_nCardIdx = m_cbCardID.GetCurSel(); - -} - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7249/SDK7249DbEvtMsg/SetupDlg.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7249/SDK7249DbEvtMsg/SetupDlg.h deleted file mode 100644 index 7b42abf..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7249/SDK7249DbEvtMsg/SetupDlg.h +++ /dev/null @@ -1,30 +0,0 @@ -#pragma once -#include "afxwin.h" - - -// CSetupDlg dialog - -class CSetupDlg : public CDialog -{ - DECLARE_DYNAMIC(CSetupDlg) - -public: - CSetupDlg(CWnd* pParent = NULL); // standard constructor - virtual ~CSetupDlg(); - -// Dialog Data - enum { IDD = IDD_DIALOG_SETUP }; - -protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - - DECLARE_MESSAGE_MAP() -public: - CComboBox m_cbCardID; - virtual BOOL OnInitDialog(); - long m_nSampleCount; - long m_nSampleRate; - int m_nCardIdx; - afx_msg void OnCardNoSelchange(); -// afx_msg void OnEnChangeEditCount(); -}; diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7249/SDK7249DbEvtMsg/res/7249int2.ico b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7249/SDK7249DbEvtMsg/res/7249int2.ico deleted file mode 100644 index d56fbcd..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7249/SDK7249DbEvtMsg/res/7249int2.ico and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7249/SDK7249DbEvtMsg/res/My7249int2.rc2 b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7249/SDK7249DbEvtMsg/res/My7249int2.rc2 deleted file mode 100644 index 1b53e51..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7249/SDK7249DbEvtMsg/res/My7249int2.rc2 +++ /dev/null @@ -1,13 +0,0 @@ -// -// My7296int2.RC2 - resources Microsoft Visual C++ does not edit directly -// - -#ifdef APSTUDIO_INVOKED -#error this file is not editable by Microsoft Visual C++ -#endif //APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// Add manually edited resources here... - -///////////////////////////////////////////////////////////////////////////// diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7249/SDK7249DbEvtMsg/resource.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7249/SDK7249DbEvtMsg/resource.h deleted file mode 100644 index 08af4cf..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7249/SDK7249DbEvtMsg/resource.h +++ /dev/null @@ -1,35 +0,0 @@ -//{{NO_DEPENDENCIES}} -// Microsoft Visual C++ generated include file. -// Used by 7249int2.rc -// -#define IDM_ABOUTBOX 0x0010 -#define IDD_ABOUTBOX 100 -#define IDS_ABOUTBOX 101 -#define IDD_MY7249INT2_DIALOG 102 -#define IDR_MAINFRAME 128 -#define IDD_DIALOG_SETUP 129 -#define IDC_BT_SETUP 1000 -#define IDC_BT_TRIGGER 1001 -#define IDC_STATIC_04 1002 -#define IDC_COMBO_CARDNO 1003 -#define IDC_EDIT_COUNT 1004 -#define IDC_EDIT_RATE 1005 -#define IDC_STATIC_07 1005 -#define IDC_STATIC_05 1006 -#define IDC_STATIC_06 1007 -#define IDC_STATIC_LINE1 1008 -#define IDC_STATIC_LINE2 1009 -#define IDC_STATIC_LINE3 1010 -#define IDC_STATIC_LINE4 1011 -#define IDC_STATIC_LINE5 1012 - -// Next default values for new objects -// -#ifdef APSTUDIO_INVOKED -#ifndef APSTUDIO_READONLY_SYMBOLS -#define _APS_NEXT_RESOURCE_VALUE 131 -#define _APS_NEXT_COMMAND_VALUE 32771 -#define _APS_NEXT_CONTROL_VALUE 1009 -#define _APS_NEXT_SYMED_VALUE 101 -#endif -#endif diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7249/SDK7249DbEvtMsg/stdafx.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7249/SDK7249DbEvtMsg/stdafx.cpp deleted file mode 100644 index ea4eef9..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7249/SDK7249DbEvtMsg/stdafx.cpp +++ /dev/null @@ -1,8 +0,0 @@ - -// stdafx.cpp : source file that includes just the standard includes -// 7249int2.pch will be the pre-compiled header -// stdafx.obj will contain the pre-compiled type information - -#include "stdafx.h" - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7249/SDK7249DbEvtMsg/stdafx.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7249/SDK7249DbEvtMsg/stdafx.h deleted file mode 100644 index 12123e2..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7249/SDK7249DbEvtMsg/stdafx.h +++ /dev/null @@ -1,60 +0,0 @@ - -// stdafx.h : include file for standard system include files, -// or project specific include files that are used frequently, -// but are changed infrequently - -#pragma once - -#ifndef _SECURE_ATL -#define _SECURE_ATL 1 -#endif - -#ifndef VC_EXTRALEAN -#define VC_EXTRALEAN // Exclude rarely-used stuff from Windows headers -#endif - -#include "targetver.h" - -#define _ATL_CSTRING_EXPLICIT_CONSTRUCTORS // some CString constructors will be explicit - -// turns off MFC's hiding of some common and often safely ignored warning messages -#define _AFX_ALL_WARNINGS - -#include // MFC core and standard components -#include // MFC extensions - - -#include // MFC Automation classes - - - -#ifndef _AFX_NO_OLE_SUPPORT -#include // MFC support for Internet Explorer 4 Common Controls -#endif -#ifndef _AFX_NO_AFXCMN_SUPPORT -#include // MFC support for Windows Common Controls -#endif // _AFX_NO_AFXCMN_SUPPORT - -#include // MFC support for ribbons and control bars - - - - - - - - - -#ifdef _UNICODE -#if defined _M_IX86 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='x86' publicKeyToken='6595b64144ccf1df' language='*'\"") -#elif defined _M_IA64 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='ia64' publicKeyToken='6595b64144ccf1df' language='*'\"") -#elif defined _M_X64 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='amd64' publicKeyToken='6595b64144ccf1df' language='*'\"") -#else -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='*' publicKeyToken='6595b64144ccf1df' language='*'\"") -#endif -#endif - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7249/SDK7249DbEvtMsg/targetver.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7249/SDK7249DbEvtMsg/targetver.h deleted file mode 100644 index 11730d5..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7249/SDK7249DbEvtMsg/targetver.h +++ /dev/null @@ -1,26 +0,0 @@ - -#pragma once - -// The following macros define the minimum required platform. The minimum required platform -// is the earliest version of Windows, Internet Explorer etc. that has the necessary features to run -// your application. The macros work by enabling all features available on platform versions up to and -// including the version specified. - -// Modify the following defines if you have to target a platform prior to the ones specified below. -// Refer to MSDN for the latest info on corresponding values for different platforms. -#ifndef WINVER // Specifies that the minimum required platform is Windows Vista. -#define WINVER 0x0600 // Change this to the appropriate value to target other versions of Windows. -#endif - -#ifndef _WIN32_WINNT // Specifies that the minimum required platform is Windows Vista. -#define _WIN32_WINNT 0x0600 // Change this to the appropriate value to target other versions of Windows. -#endif - -#ifndef _WIN32_WINDOWS // Specifies that the minimum required platform is Windows 98. -#define _WIN32_WINDOWS 0x0410 // Change this to the appropriate value to target Windows Me or later. -#endif - -#ifndef _WIN32_IE // Specifies that the minimum required platform is Internet Explorer 7.0. -#define _WIN32_IE 0x0700 // Change this to the appropriate value to target other versions of IE. -#endif - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7249/SDK7249IntMsg/7248Int.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7249/SDK7249IntMsg/7248Int.suo deleted file mode 100644 index dd2e916..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7249/SDK7249IntMsg/7248Int.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7249/SDK7249IntMsg/7249Int.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7249/SDK7249IntMsg/7249Int.cpp deleted file mode 100644 index 4441df9..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7249/SDK7249IntMsg/7249Int.cpp +++ /dev/null @@ -1,79 +0,0 @@ - -// 7249Int.cpp : Defines the class behaviors for the application. -// - -#include "stdafx.h" -#include "7249Int.h" -#include "7249IntDlg.h" - -#ifdef _DEBUG -#define new DEBUG_NEW -#endif - - -// C7249IntApp - -BEGIN_MESSAGE_MAP(C7249IntApp, CWinAppEx) - ON_COMMAND(ID_HELP, &CWinApp::OnHelp) -END_MESSAGE_MAP() - - -// C7249IntApp construction - -C7249IntApp::C7249IntApp() -{ - // TODO: add construction code here, - // Place all significant initialization in InitInstance -} - - -// The one and only C7249IntApp object - -C7249IntApp theApp; - - -// C7249IntApp initialization - -BOOL C7249IntApp::InitInstance() -{ - // InitCommonControlsEx() is required on Windows XP if an application - // manifest specifies use of ComCtl32.dll version 6 or later to enable - // visual styles. Otherwise, any window creation will fail. - INITCOMMONCONTROLSEX InitCtrls; - InitCtrls.dwSize = sizeof(InitCtrls); - // Set this to include all the common control classes you want to use - // in your application. - InitCtrls.dwICC = ICC_WIN95_CLASSES; - InitCommonControlsEx(&InitCtrls); - - CWinAppEx::InitInstance(); - - AfxEnableControlContainer(); - - // Standard initialization - // If you are not using these features and wish to reduce the size - // of your final executable, you should remove from the following - // the specific initialization routines you do not need - // Change the registry key under which our settings are stored - // TODO: You should modify this string to be something appropriate - // such as the name of your company or organization - SetRegistryKey(_T("Local AppWizard-Generated Applications")); - - C7249IntDlg dlg; - m_pMainWnd = &dlg; - INT_PTR nResponse = dlg.DoModal(); - if (nResponse == IDOK) - { - // TODO: Place code here to handle when the dialog is - // dismissed with OK - } - else if (nResponse == IDCANCEL) - { - // TODO: Place code here to handle when the dialog is - // dismissed with Cancel - } - - // Since the dialog has been closed, return FALSE so that we exit the - // application, rather than start the application's message pump. - return FALSE; -} diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7249/SDK7249IntMsg/7249Int.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7249/SDK7249IntMsg/7249Int.h deleted file mode 100644 index d823fa8..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7249/SDK7249IntMsg/7249Int.h +++ /dev/null @@ -1,32 +0,0 @@ - -// 7249Int.h : main header file for the PROJECT_NAME application -// - -#pragma once - -#ifndef __AFXWIN_H__ - #error "include 'stdafx.h' before including this file for PCH" -#endif - -#include "resource.h" // main symbols - - -// C7249IntApp: -// See 7249Int.cpp for the implementation of this class -// - -class C7249IntApp : public CWinAppEx -{ -public: - C7249IntApp(); - -// Overrides - public: - virtual BOOL InitInstance(); - -// Implementation - - DECLARE_MESSAGE_MAP() -}; - -extern C7249IntApp theApp; \ No newline at end of file diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7249/SDK7249IntMsg/7249Int.rc b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7249/SDK7249IntMsg/7249Int.rc deleted file mode 100644 index 1061b01..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7249/SDK7249IntMsg/7249Int.rc +++ /dev/null @@ -1,255 +0,0 @@ -// Microsoft Visual C++ generated resource script. -// -#include "resource.h" - -#define APSTUDIO_READONLY_SYMBOLS -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 2 resource. -// -#ifndef APSTUDIO_INVOKED -#include "targetver.h" -#endif -#include "afxres.h" - -///////////////////////////////////////////////////////////////////////////// -#undef APSTUDIO_READONLY_SYMBOLS - -///////////////////////////////////////////////////////////////////////////// -// Chinese (Taiwan) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_CHT) -#ifdef _WIN32 -LANGUAGE LANG_CHINESE, SUBLANG_CHINESE_TRADITIONAL -#pragma code_page(950) -#endif //_WIN32 - -#ifdef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// TEXTINCLUDE -// - -1 TEXTINCLUDE -BEGIN - "resource.h\0" -END - -2 TEXTINCLUDE -BEGIN - "#ifndef APSTUDIO_INVOKED\r\n" - "#include ""targetver.h""\r\n" - "#endif\r\n" - "#include ""afxres.h""\r\n" - "\0" -END - -3 TEXTINCLUDE -BEGIN - "#define _AFX_NO_SPLITTER_RESOURCES\r\n" - "#define _AFX_NO_OLE_RESOURCES\r\n" - "#define _AFX_NO_TRACKER_RESOURCES\r\n" - "#define _AFX_NO_PROPERTY_RESOURCES\r\n" - "\r\n" - "#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)\r\n" - "LANGUAGE 9, 1\r\n" - "#pragma code_page(1252)\r\n" - "#include ""res\\My7249Int.rc2"" // non-Microsoft Visual C++ edited resources\r\n" - "#include ""afxres.rc"" // Standard components\r\n" - "#endif\r\n" - "\0" -END - -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// Icon -// - -// Icon with lowest ID value placed first to ensure application icon -// remains consistent on all systems. -IDR_MAINFRAME ICON "res\\7249Int.ico" -#endif // Chinese (Taiwan) resources -///////////////////////////////////////////////////////////////////////////// - - -///////////////////////////////////////////////////////////////////////////// -// English (U.S.) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -#ifdef _WIN32 -LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US -#pragma code_page(1252) -#endif //_WIN32 - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog -// - -IDD_ABOUTBOX DIALOGEX 0, 0, 170, 62 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "About 7249Int" -FONT 8, "MS Shell Dlg", 0, 0, 0x1 -BEGIN - ICON IDR_MAINFRAME,IDC_STATIC,14,14,21,20 - LTEXT "7249Int, Version 1.0",IDC_STATIC,42,14,114,8,SS_NOPREFIX - LTEXT "Copyright (C) 2010",IDC_STATIC,42,26,114,8 - DEFPUSHBUTTON "OK",IDOK,113,41,50,14,WS_GROUP -END - -IDD_MY7249INT_DIALOG DIALOGEX 0, 0, 271, 207 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU -EXSTYLE WS_EX_APPWINDOW -CAPTION "7249 Interrupt Sample" -FONT 8, "MS Shell Dlg", 0, 0, 0x1 -BEGIN - PUSHBUTTON "Exit",IDCANCEL,163,7,50,14 - PUSHBUTTON "Setup",IDC_BT_SETUP,7,7,53,14 - PUSHBUTTON "Interrupt Trigger",IDC_BT_TRIGGER,61,7,102,14,WS_DISABLED - LTEXT "This sample performs digital output on PortA of\nCN2 and digital input on PortA of CN1 when an\ninterrupt happens. The INT2 is used, and inetrrupt signals are generated by internal Timer-output.",IDC_STATIC,7,26,206,33 - LTEXT "Using cable to connect CN1 and CN2\nClick 'Setup' button first ...",IDC_STATIC_04,7,62,125,17 - LTEXT "Data from Input port: \n** only shows at most 50 data **",IDC_STATIC_07,7,97,113,19,NOT WS_VISIBLE - LTEXT "INT2 Count =",IDC_STATIC_06,7,83,85,13 - LTEXT "",IDC_STATIC_LINE1,7,116,247,11 - LTEXT "",IDC_STATIC_LINE2,7,130,247,11 - LTEXT "",IDC_STATIC_LINE3,7,143,247,11 - LTEXT "",IDC_STATIC_LINE4,7,156,247,11 - LTEXT "",IDC_STATIC_LINE5,7,170,247,11 -END - -IDD_DIALOG_SETUP DIALOGEX 0, 0, 201, 114 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "Setup Dialog" -FONT 8, "MS Shell Dlg", 400, 0, 0x1 -BEGIN - DEFPUSHBUTTON "OK",IDOK,48,84,50,14 - PUSHBUTTON "Cancel",IDCANCEL,105,84,50,14 - LTEXT "Card Number : ",IDC_STATIC,19,19,53,14 - LTEXT "Total Count : ",IDC_STATIC,19,39,53,14 - LTEXT "Sampling Rate : ",IDC_STATIC,19,57,53,14 - COMBOBOX IDC_COMBO_CARDNO,79,17,86,13,CBS_DROPDOWN | WS_VSCROLL | WS_TABSTOP - EDITTEXT IDC_EDIT_COUNT,79,36,85,14,ES_AUTOHSCROLL | ES_NUMBER - EDITTEXT IDC_EDIT_RATE,79,55,85,14,ES_AUTOHSCROLL | ES_NUMBER -END - - -///////////////////////////////////////////////////////////////////////////// -// -// Version -// - -VS_VERSION_INFO VERSIONINFO - FILEVERSION 1,0,0,1 - PRODUCTVERSION 1,0,0,1 - FILEFLAGSMASK 0x3fL -#ifdef _DEBUG - FILEFLAGS 0x1L -#else - FILEFLAGS 0x0L -#endif - FILEOS 0x4L - FILETYPE 0x1L - FILESUBTYPE 0x0L -BEGIN - BLOCK "StringFileInfo" - BEGIN - BLOCK "040904e4" - BEGIN - VALUE "CompanyName", "TODO: " - VALUE "FileDescription", "TODO: " - VALUE "FileVersion", "1.0.0.1" - VALUE "InternalName", "7249Int.exe" - VALUE "LegalCopyright", "TODO: (c) . All rights reserved." - VALUE "OriginalFilename", "7249Int.exe" - VALUE "ProductName", "TODO: " - VALUE "ProductVersion", "1.0.0.1" - END - END - BLOCK "VarFileInfo" - BEGIN - VALUE "Translation", 0x409, 1252 - END -END - - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog Info -// - -IDD_DIALOG_SETUP DLGINIT -BEGIN - IDC_COMBO_CARDNO, 0x403, 2, 0 -0x0030, - IDC_COMBO_CARDNO, 0x403, 2, 0 -0x0031, - IDC_COMBO_CARDNO, 0x403, 2, 0 -0x0032, - IDC_COMBO_CARDNO, 0x403, 2, 0 -0x0033, - IDC_COMBO_CARDNO, 0x403, 2, 0 -0x0034, - IDC_COMBO_CARDNO, 0x403, 2, 0 -0x0035, - IDC_COMBO_CARDNO, 0x403, 2, 0 -0x0036, - IDC_COMBO_CARDNO, 0x403, 2, 0 -0x0037, - IDC_COMBO_CARDNO, 0x403, 2, 0 -0x0038, - IDC_COMBO_CARDNO, 0x403, 2, 0 -0x0039, - IDC_COMBO_CARDNO, 0x403, 3, 0 -0x3031, "\000" - IDC_COMBO_CARDNO, 0x403, 3, 0 -0x3131, "\000" - IDC_COMBO_CARDNO, 0x403, 3, 0 -0x3231, "\000" - IDC_COMBO_CARDNO, 0x403, 3, 0 -0x3331, "\000" - IDC_COMBO_CARDNO, 0x403, 3, 0 -0x3431, "\000" - IDC_COMBO_CARDNO, 0x403, 3, 0 -0x3531, "\000" - 0 -END - - -///////////////////////////////////////////////////////////////////////////// -// -// String Table -// - -STRINGTABLE -BEGIN - IDS_ABOUTBOX "&About 7249Int..." -END - -#endif // English (U.S.) resources -///////////////////////////////////////////////////////////////////////////// - - - -#ifndef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 3 resource. -// -#define _AFX_NO_SPLITTER_RESOURCES -#define _AFX_NO_OLE_RESOURCES -#define _AFX_NO_TRACKER_RESOURCES -#define _AFX_NO_PROPERTY_RESOURCES - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -LANGUAGE 9, 1 -#pragma code_page(1252) -#include "res\My7249Int.rc2" // non-Microsoft Visual C++ edited resources -#include "afxres.rc" // Standard components -#endif - -///////////////////////////////////////////////////////////////////////////// -#endif // not APSTUDIO_INVOKED - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7249/SDK7249IntMsg/7249Int.sln b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7249/SDK7249IntMsg/7249Int.sln deleted file mode 100644 index a106897..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7249/SDK7249IntMsg/7249Int.sln +++ /dev/null @@ -1,26 +0,0 @@ - -Microsoft Visual Studio Solution File, Format Version 10.00 -# Visual Studio 2008 -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "7249Int", "7249Int.vcproj", "{03CC0712-9928-4AC4-9A68-06B8B735AB32}" -EndProject -Global - GlobalSection(SolutionConfigurationPlatforms) = preSolution - Debug|Win32 = Debug|Win32 - Debug|x64 = Debug|x64 - Release|Win32 = Release|Win32 - Release|x64 = Release|x64 - EndGlobalSection - GlobalSection(ProjectConfigurationPlatforms) = postSolution - {03CC0712-9928-4AC4-9A68-06B8B735AB32}.Debug|Win32.ActiveCfg = Debug|Win32 - {03CC0712-9928-4AC4-9A68-06B8B735AB32}.Debug|Win32.Build.0 = Debug|Win32 - {03CC0712-9928-4AC4-9A68-06B8B735AB32}.Debug|x64.ActiveCfg = Debug|x64 - {03CC0712-9928-4AC4-9A68-06B8B735AB32}.Debug|x64.Build.0 = Debug|x64 - {03CC0712-9928-4AC4-9A68-06B8B735AB32}.Release|Win32.ActiveCfg = Release|Win32 - {03CC0712-9928-4AC4-9A68-06B8B735AB32}.Release|Win32.Build.0 = Release|Win32 - {03CC0712-9928-4AC4-9A68-06B8B735AB32}.Release|x64.ActiveCfg = Release|x64 - {03CC0712-9928-4AC4-9A68-06B8B735AB32}.Release|x64.Build.0 = Release|x64 - EndGlobalSection - GlobalSection(SolutionProperties) = preSolution - HideSolutionNode = FALSE - EndGlobalSection -EndGlobal diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7249/SDK7249IntMsg/7249Int.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7249/SDK7249IntMsg/7249Int.suo deleted file mode 100644 index 28b6a32..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7249/SDK7249IntMsg/7249Int.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7249/SDK7249IntMsg/7249Int.vcproj b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7249/SDK7249IntMsg/7249Int.vcproj deleted file mode 100644 index a6d297f..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7249/SDK7249IntMsg/7249Int.vcproj +++ /dev/null @@ -1,470 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7249/SDK7249IntMsg/7249IntDlg.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7249/SDK7249IntMsg/7249IntDlg.cpp deleted file mode 100644 index 050606a..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7249/SDK7249IntMsg/7249IntDlg.cpp +++ /dev/null @@ -1,358 +0,0 @@ - -// 7249IntDlg.cpp : implementation file -// - -#include "stdafx.h" -#include "7249Int.h" -#include "7249IntDlg.h" -#include "SetupDlg.h" - -#define TIMER_INTERRUPT_MESSAGE _T("TIMER_INT") -UINT WM_INT = ::RegisterWindowMessage(TIMER_INTERRUPT_MESSAGE); - -#ifdef _DEBUG -#define new DEBUG_NEW -#endif - -U32 gInBuffer[32768], gOutBuffer[32768]; -HANDLE ghIntEvent[2]; - -// CAboutDlg dialog used for App About - -class CAboutDlg : public CDialog -{ -public: - CAboutDlg(); - -// Dialog Data - enum { IDD = IDD_ABOUTBOX }; - - protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - -// Implementation -protected: - DECLARE_MESSAGE_MAP() -}; - -CAboutDlg::CAboutDlg() : CDialog(CAboutDlg::IDD) -{ -} - -void CAboutDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); -} - -BEGIN_MESSAGE_MAP(CAboutDlg, CDialog) -END_MESSAGE_MAP() - - -// C7249IntDlg dialog - - - - -C7249IntDlg::C7249IntDlg(CWnd* pParent /*=NULL*/) - : CDialog(C7249IntDlg::IDD, pParent) - , m_nCardIdx(-1) - , m_nSampleCount(-1) - , m_nSampleRate(-1) - , m_hCard(-1) -{ - m_hIcon = AfxGetApp()->LoadIcon(IDR_MAINFRAME); - m_nC1=10; m_nC2=10; - m_IntCount = 0; -} - -void C7249IntDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); -} - -BEGIN_MESSAGE_MAP(C7249IntDlg, CDialog) - ON_WM_SYSCOMMAND() - ON_WM_PAINT() - ON_WM_QUERYDRAGICON() - ON_REGISTERED_MESSAGE(WM_INT, OnTimerInterrupt) - //}}AFX_MSG_MAP -// ON_STN_CLICKED(IDC_STATIC_07, &C7249IntDlg::OnStnClickedStatic07) -ON_WM_DESTROY() -ON_BN_CLICKED(IDC_BT_SETUP, &C7249IntDlg::OnSetup) -ON_BN_CLICKED(IDC_BT_TRIGGER, &C7249IntDlg::OnTrigger) -ON_WM_CTLCOLOR() -END_MESSAGE_MAP() - - -// C7249IntDlg message handlers - -BOOL C7249IntDlg::OnInitDialog() -{ - CDialog::OnInitDialog(); - - // Add "About..." menu item to system menu. - - // IDM_ABOUTBOX must be in the system command range. - ASSERT((IDM_ABOUTBOX & 0xFFF0) == IDM_ABOUTBOX); - ASSERT(IDM_ABOUTBOX < 0xF000); - - CMenu* pSysMenu = GetSystemMenu(FALSE); - if (pSysMenu != NULL) - { - BOOL bNameValid; - CString strAboutMenu; - bNameValid = strAboutMenu.LoadString(IDS_ABOUTBOX); - ASSERT(bNameValid); - if (!strAboutMenu.IsEmpty()) - { - pSysMenu->AppendMenu(MF_SEPARATOR); - pSysMenu->AppendMenu(MF_STRING, IDM_ABOUTBOX, strAboutMenu); - } - } - - // Set the icon for this dialog. The framework does this automatically - // when the application's main window is not a dialog - SetIcon(m_hIcon, TRUE); // Set big icon - SetIcon(m_hIcon, FALSE); // Set small icon - - // TODO: Add extra initialization here - - return TRUE; // return TRUE unless you set the focus to a control -} - -void C7249IntDlg::OnSysCommand(UINT nID, LPARAM lParam) -{ - if ((nID & 0xFFF0) == IDM_ABOUTBOX) - { - CAboutDlg dlgAbout; - dlgAbout.DoModal(); - } - else - { - CDialog::OnSysCommand(nID, lParam); - } -} - -// If you add a minimize button to your dialog, you will need the code below -// to draw the icon. For MFC applications using the document/view model, -// this is automatically done for you by the framework. - -void C7249IntDlg::OnPaint() -{ - if (IsIconic()) - { - CPaintDC dc(this); // device context for painting - - SendMessage(WM_ICONERASEBKGND, reinterpret_cast(dc.GetSafeHdc()), 0); - - // Center icon in client rectangle - int cxIcon = GetSystemMetrics(SM_CXICON); - int cyIcon = GetSystemMetrics(SM_CYICON); - CRect rect; - GetClientRect(&rect); - int x = (rect.Width() - cxIcon + 1) / 2; - int y = (rect.Height() - cyIcon + 1) / 2; - - // Draw the icon - dc.DrawIcon(x, y, m_hIcon); - } - else - { - CDialog::OnPaint(); - } -} - -// The system calls this function to obtain the cursor to display while the user drags -// the minimized window. -HCURSOR C7249IntDlg::OnQueryDragIcon() -{ - return static_cast(m_hIcon); -} - -void C7249IntDlg::OnDestroy() -{ - CDialog::OnDestroy(); - - // TODO: Add your message handler code here - int i; - - if( m_hCard >= 0 ) - { - DIO_SetDualInterrupt(m_hCard, INT1_DISABLE, INT2_DISABLE, ghIntEvent); - - for (i=0; i<2; i++) - { - if(ghIntEvent[i]) - ResetEvent(ghIntEvent[i]); - } - - - Release_Card( m_hCard ); m_hCard = -1; - } -} - -void C7249IntDlg::OnSetup() -{ - // TODO: Add your control notification handler code here - CSetupDlg setupDlg; - INT_PTR nResponse; - CString strTemp; - int i, k; - - nResponse = setupDlg.DoModal(); - if (nResponse == IDOK) - { - if( m_nCardIdx != setupDlg.m_nCardIdx ) - { - if( m_hCard != -1 ) - { - Release_Card( m_hCard ); - m_hCard = -1; - } - - m_nCardIdx = setupDlg.m_nCardIdx; - } - - - if( m_hCard == -1 ) - { - if ((m_hCard = Register_Card(PCI_7249, m_nCardIdx)) < 0) - { - strTemp.Format( TEXT("Register_Card Error = %d"), m_hCard); - AfxMessageBox( strTemp ); - - EndDialog(IDCANCEL); - return; - } - } - - m_nSampleCount = setupDlg.m_nSampleCount; - m_nSampleRate = setupDlg.m_nSampleRate; - - for ( i=0, k=0; i255) k=0; - - gInBuffer[i]=0; - } - - DIO_PortConfig(m_hCard, Channel_P1A, INPUT_PORT); - DIO_PortConfig(m_hCard, Channel_P2A, OUTPUT_PORT); - - DIO_SetDualInterrupt(m_hCard, INT1_DISABLE, INT2_TIMER_COUNTER, ghIntEvent); - m_nC2 = 2000000/(m_nSampleRate*m_nC1); - - GetDlgItem(IDC_BT_TRIGGER)->EnableWindow( TRUE ); - - } - else if (nResponse == IDCANCEL) - { - // TODO: Place code here to handle when the dialog is - // dismissed with Cancel - } -} - -void C7249IntDlg::OnTrigger() -{ - // TODO: Add your control notification handler code here - CTR_Setup(m_hCard, 1, RATE_GENERATOR, m_nC1, BIN); - CTR_Setup(m_hCard, 2, RATE_GENERATOR, m_nC2, BIN); - - DIO_INT2_EventMessage (m_hCard, INT2_TIMER_COUNTER, this->m_hWnd, WM_INT, NULL); -} - -HBRUSH C7249IntDlg::OnCtlColor(CDC* pDC, CWnd* pWnd, UINT nCtlColor) -{ - HBRUSH hbr = CDialog::OnCtlColor(pDC, pWnd, nCtlColor); - - // TODO: Change any attributes of the DC here - if ( pWnd->GetDlgCtrlID() == IDC_STATIC_04 ) - pDC->SetTextColor(RGB(255,0,0)); - - // TODO: Return a different brush if the default is not desired - return hbr; -} - -LRESULT C7249IntDlg::OnTimerInterrupt(WPARAM wParam, LPARAM lParam) -{ - // do something useful - int i; - CString strTemp; - CString strLine1, strLine2, strLine3, strLine4, strLine5; - - if(m_IntCount m_hWnd, NULL, NULL); - DIO_INT1_EventMessage (m_hCard, INT1_DISABLE, this->m_hWnd, NULL, NULL); - - CTR_Setup( m_hCard, 1, RATE_GENERATOR, 0, BIN); - CTR_Setup( m_hCard, 2, RATE_GENERATOR, 0, BIN); - - GetDlgItem(IDC_STATIC_07)->ShowWindow( SW_SHOW ); - - strLine1.Empty(); /// clear strLine1 - strLine2.Empty(); /// clear strLine2 - strLine3.Empty(); /// clear strLine3 - strLine4.Empty(); /// clear strLine - strLine5.Empty(); /// clear strLine5 - - for ( i=0; i<50 /*m_nSampleCount*/; i++) - { - strTemp.Format( TEXT("%d, "), gInBuffer[i] ); - - if(i<10) - { - strLine1 += strTemp; - } - - if(i>=10 && i<20) - { - strLine2 += strTemp; - } - - if(i>=20 && i<30) - { - strLine3 += strTemp; - } - - if (i>=30 && i<40) - { - strLine4 += strTemp; - } - - if (i>=40 && i<50) - { - strLine5 += strTemp; - } - } - - if( !strLine1.IsEmpty() ) - SetDlgItemText( IDC_STATIC_LINE1, strLine1 ); - - if( !strLine2.IsEmpty() ) - SetDlgItemText( IDC_STATIC_LINE2, strLine2 ); - - if( !strLine3.IsEmpty() ) - SetDlgItemText( IDC_STATIC_LINE3, strLine3 ); - - if( !strLine4.IsEmpty() ) - SetDlgItemText( IDC_STATIC_LINE4, strLine4 ); - - if( !strLine5.IsEmpty() ) - SetDlgItemText( IDC_STATIC_LINE5, strLine5 ); - } - - return (LRESULT) 0; -} diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7249/SDK7249IntMsg/7249IntDlg.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7249/SDK7249IntMsg/7249IntDlg.h deleted file mode 100644 index fa90a19..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7249/SDK7249IntMsg/7249IntDlg.h +++ /dev/null @@ -1,49 +0,0 @@ - -// 7249IntDlg.h : header file -// - -#include "Dask64.h" - -#pragma once - - -// C7249IntDlg dialog -class C7249IntDlg : public CDialog -{ -// Construction -public: - C7249IntDlg(CWnd* pParent = NULL); // standard constructor - -// Dialog Data - enum { IDD = IDD_MY7249INT_DIALOG }; - - protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - - -// Implementation -protected: - HICON m_hIcon; - int m_nCardIdx; - long m_nSampleCount; - long m_nSampleRate; - int m_IntCount; - - I16 m_hCard; - int m_nC1; - int m_nC2; - - // Generated message map functions - virtual BOOL OnInitDialog(); - afx_msg void OnSysCommand(UINT nID, LPARAM lParam); - afx_msg void OnPaint(); - afx_msg LRESULT OnTimerInterrupt(WPARAM wParam, LPARAM lParam); - afx_msg HCURSOR OnQueryDragIcon(); - DECLARE_MESSAGE_MAP() -public: -// afx_msg void OnStnClickedStatic07(); - afx_msg void OnDestroy(); - afx_msg void OnSetup(); - afx_msg void OnTrigger(); - afx_msg HBRUSH OnCtlColor(CDC* pDC, CWnd* pWnd, UINT nCtlColor); -}; diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7249/SDK7249IntMsg/7296Int.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7249/SDK7249IntMsg/7296Int.suo deleted file mode 100644 index ca544ed..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7249/SDK7249IntMsg/7296Int.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7249/SDK7249IntMsg/ReadMe.txt b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7249/SDK7249IntMsg/ReadMe.txt deleted file mode 100644 index 1d8b877..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7249/SDK7249IntMsg/ReadMe.txt +++ /dev/null @@ -1,93 +0,0 @@ -================================================================================ - MICROSOFT FOUNDATION CLASS LIBRARY : 7248Int Project Overview -=============================================================================== - -The application wizard has created this 7248Int application for -you. This application not only demonstrates the basics of using the Microsoft -Foundation Classes but is also a starting point for writing your application. - -This file contains a summary of what you will find in each of the files that -make up your 7248Int application. - -7248Int.vcproj - This is the main project file for VC++ projects generated using an application wizard. - It contains information about the version of Visual C++ that generated the file, and - information about the platforms, configurations, and project features selected with the - application wizard. - -7248Int.h - This is the main header file for the application. It includes other - project specific headers (including Resource.h) and declares the - C7248IntApp application class. - -7248Int.cpp - This is the main application source file that contains the application - class C7248IntApp. - -7248Int.rc - This is a listing of all of the Microsoft Windows resources that the - program uses. It includes the icons, bitmaps, and cursors that are stored - in the RES subdirectory. This file can be directly edited in Microsoft - Visual C++. Your project resources are in 1033. - -res\7248Int.ico - This is an icon file, which is used as the application's icon. This - icon is included by the main resource file 7248Int.rc. - -res\My7248Int.rc2 - This file contains resources that are not edited by Microsoft - Visual C++. You should place all resources not editable by - the resource editor in this file. - - -///////////////////////////////////////////////////////////////////////////// - -The application wizard creates one dialog class: - -7248IntDlg.h, 7248IntDlg.cpp - the dialog - These files contain your C7248IntDlg class. This class defines - the behavior of your application's main dialog. The dialog's template is - in 7248Int.rc, which can be edited in Microsoft Visual C++. - - -///////////////////////////////////////////////////////////////////////////// - -Other Features: - -ActiveX Controls - The application includes support to use ActiveX controls. - -///////////////////////////////////////////////////////////////////////////// - -Other standard files: - -StdAfx.h, StdAfx.cpp - These files are used to build a precompiled header (PCH) file - named 7248Int.pch and a precompiled types file named StdAfx.obj. - -Resource.h - This is the standard header file, which defines new resource IDs. - Microsoft Visual C++ reads and updates this file. - -7248Int.manifest - Application manifest files are used by Windows XP to describe an applications - dependency on specific versions of Side-by-Side assemblies. The loader uses this - information to load the appropriate assembly from the assembly cache or private - from the application. The Application manifest maybe included for redistribution - as an external .manifest file that is installed in the same folder as the application - executable or it may be included in the executable in the form of a resource. -///////////////////////////////////////////////////////////////////////////// - -Other notes: - -The application wizard uses "TODO:" to indicate parts of the source code you -should add to or customize. - -If your application uses MFC in a shared DLL, you will need -to redistribute the MFC DLLs. If your application is in a language -other than the operating system's locale, you will also have to -redistribute the corresponding localized resources MFC90XXX.DLL. -For more information on both of these topics, please see the section on -redistributing Visual C++ applications in MSDN documentation. - -///////////////////////////////////////////////////////////////////////////// diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7249/SDK7249IntMsg/SetupDlg.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7249/SDK7249IntMsg/SetupDlg.cpp deleted file mode 100644 index 1d3c158..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7249/SDK7249IntMsg/SetupDlg.cpp +++ /dev/null @@ -1,63 +0,0 @@ -// SetupDlg.cpp : implementation file -// - -#include "stdafx.h" -#include "7249Int.h" -#include "SetupDlg.h" - - -// CSetupDlg dialog - -IMPLEMENT_DYNAMIC(CSetupDlg, CDialog) - -CSetupDlg::CSetupDlg(CWnd* pParent /*=NULL*/) - : CDialog(CSetupDlg::IDD, pParent) - , m_nSampleCount(40) - , m_nSampleRate(5000) -{ - -} - -CSetupDlg::~CSetupDlg() -{ -} - -void CSetupDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); - DDX_Control(pDX, IDC_COMBO_CARDNO, m_cbCardID); - DDX_Text(pDX, IDC_EDIT_COUNT, m_nSampleCount); - DDX_Text(pDX, IDC_EDIT_RATE, m_nSampleRate); - DDV_MinMaxLong(pDX, m_nSampleCount, 0, 32768); - DDV_MinMaxLong(pDX, m_nSampleRate, 0, 15000); -} - - -BEGIN_MESSAGE_MAP(CSetupDlg, CDialog) - ON_CBN_SELCHANGE(IDC_COMBO_CARDNO, &CSetupDlg::OnCardNoSelchange) -// ON_EN_CHANGE(IDC_EDIT_COUNT, &CSetupDlg::OnEnChangeEditCount) -END_MESSAGE_MAP() - - -// CSetupDlg message handlers - -BOOL CSetupDlg::OnInitDialog() -{ - CDialog::OnInitDialog(); - - // TODO: Add extra initialization here - m_cbCardID.SetCurSel(0); - m_nCardIdx = 0; - - - return TRUE; // return TRUE unless you set the focus to a control - // EXCEPTION: OCX Property Pages should return FALSE -} - -void CSetupDlg::OnCardNoSelchange() -{ - // TODO: Add your control notification handler code here - m_nCardIdx = m_cbCardID.GetCurSel(); - -} - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7249/SDK7249IntMsg/SetupDlg.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7249/SDK7249IntMsg/SetupDlg.h deleted file mode 100644 index 7b42abf..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7249/SDK7249IntMsg/SetupDlg.h +++ /dev/null @@ -1,30 +0,0 @@ -#pragma once -#include "afxwin.h" - - -// CSetupDlg dialog - -class CSetupDlg : public CDialog -{ - DECLARE_DYNAMIC(CSetupDlg) - -public: - CSetupDlg(CWnd* pParent = NULL); // standard constructor - virtual ~CSetupDlg(); - -// Dialog Data - enum { IDD = IDD_DIALOG_SETUP }; - -protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - - DECLARE_MESSAGE_MAP() -public: - CComboBox m_cbCardID; - virtual BOOL OnInitDialog(); - long m_nSampleCount; - long m_nSampleRate; - int m_nCardIdx; - afx_msg void OnCardNoSelchange(); -// afx_msg void OnEnChangeEditCount(); -}; diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7249/SDK7249IntMsg/res/7249Int.ico b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7249/SDK7249IntMsg/res/7249Int.ico deleted file mode 100644 index d56fbcd..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7249/SDK7249IntMsg/res/7249Int.ico and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7249/SDK7249IntMsg/res/My7249Int.rc2 b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7249/SDK7249IntMsg/res/My7249Int.rc2 deleted file mode 100644 index 4edfe6a..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7249/SDK7249IntMsg/res/My7249Int.rc2 +++ /dev/null @@ -1,13 +0,0 @@ -// -// My7296Int.RC2 - resources Microsoft Visual C++ does not edit directly -// - -#ifdef APSTUDIO_INVOKED -#error this file is not editable by Microsoft Visual C++ -#endif //APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// Add manually edited resources here... - -///////////////////////////////////////////////////////////////////////////// diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7249/SDK7249IntMsg/resource.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7249/SDK7249IntMsg/resource.h deleted file mode 100644 index 110bea5..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7249/SDK7249IntMsg/resource.h +++ /dev/null @@ -1,35 +0,0 @@ -//{{NO_DEPENDENCIES}} -// Microsoft Visual C++ generated include file. -// Used by 7249Int.rc -// -#define IDM_ABOUTBOX 0x0010 -#define IDD_ABOUTBOX 100 -#define IDS_ABOUTBOX 101 -#define IDD_MY7249INT_DIALOG 102 -#define IDR_MAINFRAME 128 -#define IDD_DIALOG_SETUP 129 -#define IDC_BT_SETUP 1000 -#define IDC_BT_TRIGGER 1001 -#define IDC_STATIC_04 1002 -#define IDC_COMBO_CARDNO 1003 -#define IDC_EDIT_COUNT 1004 -#define IDC_STATIC_07 1005 -#define IDC_EDIT_RATE 1005 -#define IDC_STATIC_05 1006 -#define IDC_STATIC_06 1007 -#define IDC_STATIC_LINE1 1008 -#define IDC_STATIC_LINE2 1009 -#define IDC_STATIC_LINE3 1010 -#define IDC_STATIC_LINE4 1011 -#define IDC_STATIC_LINE5 1012 - -// Next default values for new objects -// -#ifdef APSTUDIO_INVOKED -#ifndef APSTUDIO_READONLY_SYMBOLS -#define _APS_NEXT_RESOURCE_VALUE 131 -#define _APS_NEXT_COMMAND_VALUE 32771 -#define _APS_NEXT_CONTROL_VALUE 1000 -#define _APS_NEXT_SYMED_VALUE 101 -#endif -#endif diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7249/SDK7249IntMsg/stdafx.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7249/SDK7249IntMsg/stdafx.cpp deleted file mode 100644 index 4060cbe..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7249/SDK7249IntMsg/stdafx.cpp +++ /dev/null @@ -1,8 +0,0 @@ - -// stdafx.cpp : source file that includes just the standard includes -// 7249Int.pch will be the pre-compiled header -// stdafx.obj will contain the pre-compiled type information - -#include "stdafx.h" - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7249/SDK7249IntMsg/stdafx.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7249/SDK7249IntMsg/stdafx.h deleted file mode 100644 index 12123e2..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7249/SDK7249IntMsg/stdafx.h +++ /dev/null @@ -1,60 +0,0 @@ - -// stdafx.h : include file for standard system include files, -// or project specific include files that are used frequently, -// but are changed infrequently - -#pragma once - -#ifndef _SECURE_ATL -#define _SECURE_ATL 1 -#endif - -#ifndef VC_EXTRALEAN -#define VC_EXTRALEAN // Exclude rarely-used stuff from Windows headers -#endif - -#include "targetver.h" - -#define _ATL_CSTRING_EXPLICIT_CONSTRUCTORS // some CString constructors will be explicit - -// turns off MFC's hiding of some common and often safely ignored warning messages -#define _AFX_ALL_WARNINGS - -#include // MFC core and standard components -#include // MFC extensions - - -#include // MFC Automation classes - - - -#ifndef _AFX_NO_OLE_SUPPORT -#include // MFC support for Internet Explorer 4 Common Controls -#endif -#ifndef _AFX_NO_AFXCMN_SUPPORT -#include // MFC support for Windows Common Controls -#endif // _AFX_NO_AFXCMN_SUPPORT - -#include // MFC support for ribbons and control bars - - - - - - - - - -#ifdef _UNICODE -#if defined _M_IX86 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='x86' publicKeyToken='6595b64144ccf1df' language='*'\"") -#elif defined _M_IA64 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='ia64' publicKeyToken='6595b64144ccf1df' language='*'\"") -#elif defined _M_X64 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='amd64' publicKeyToken='6595b64144ccf1df' language='*'\"") -#else -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='*' publicKeyToken='6595b64144ccf1df' language='*'\"") -#endif -#endif - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7249/SDK7249IntMsg/targetver.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7249/SDK7249IntMsg/targetver.h deleted file mode 100644 index 11730d5..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7249/SDK7249IntMsg/targetver.h +++ /dev/null @@ -1,26 +0,0 @@ - -#pragma once - -// The following macros define the minimum required platform. The minimum required platform -// is the earliest version of Windows, Internet Explorer etc. that has the necessary features to run -// your application. The macros work by enabling all features available on platform versions up to and -// including the version specified. - -// Modify the following defines if you have to target a platform prior to the ones specified below. -// Refer to MSDN for the latest info on corresponding values for different platforms. -#ifndef WINVER // Specifies that the minimum required platform is Windows Vista. -#define WINVER 0x0600 // Change this to the appropriate value to target other versions of Windows. -#endif - -#ifndef _WIN32_WINNT // Specifies that the minimum required platform is Windows Vista. -#define _WIN32_WINNT 0x0600 // Change this to the appropriate value to target other versions of Windows. -#endif - -#ifndef _WIN32_WINDOWS // Specifies that the minimum required platform is Windows 98. -#define _WIN32_WINDOWS 0x0410 // Change this to the appropriate value to target Windows Me or later. -#endif - -#ifndef _WIN32_IE // Specifies that the minimum required platform is Internet Explorer 7.0. -#define _WIN32_IE 0x0700 // Change this to the appropriate value to target other versions of IE. -#endif - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7250/SDK7250/CardIDDlg.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7250/SDK7250/CardIDDlg.cpp deleted file mode 100644 index f9ebe84..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7250/SDK7250/CardIDDlg.cpp +++ /dev/null @@ -1,67 +0,0 @@ -// CardIDDlg.cpp : implementation file -// - -#include "stdafx.h" -#include "pci7250.h" -#include "CardIDDlg.h" - - -// CCardIDDlg dialog - -IMPLEMENT_DYNAMIC(CCardIDDlg, CDialog) - -CCardIDDlg::CCardIDDlg(int nCardIdx, CWnd* pParent /*=NULL*/) - : CDialog(CCardIDDlg::IDD, pParent) -{ - m_nCardIdx = nCardIdx; -} - -CCardIDDlg::~CCardIDDlg() -{ -} - -void CCardIDDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); - DDX_Control(pDX, IDC_COMBO_CARDID, m_cbCardID); -} - - -BEGIN_MESSAGE_MAP(CCardIDDlg, CDialog) -// ON_CBN_SELCHANGE(IDC_COMBO_CARDID, &CCardIDDlg::OnCbnSelchangeComboCardid) -ON_BN_CLICKED(IDOK, &CCardIDDlg::OnBnClickedOk) -//ON_WM_CTLCOLOR() -END_MESSAGE_MAP() - - -// CCardIDDlg message handlers - - -void CCardIDDlg::OnBnClickedOk() -{ - // TODO: Add your control notification handler code here - -// UpdateData(TRUE); - m_nCardIdx = m_cbCardID.GetCurSel(); - - OnOK(); -} - -BOOL CCardIDDlg::OnInitDialog() -{ - CDialog::OnInitDialog(); - - // TODO: Add extra initialization here - m_cbCardID.SetCurSel( m_nCardIdx ); - - return TRUE; // return TRUE unless you set the focus to a control - // EXCEPTION: OCX Property Pages should return FALSE -} - -// the function to get the selected CardID -int CCardIDDlg::GetCardID(void) -{ - return m_nCardIdx; -} - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7250/SDK7250/CardIDDlg.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7250/SDK7250/CardIDDlg.h deleted file mode 100644 index 54628ea..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7250/SDK7250/CardIDDlg.h +++ /dev/null @@ -1,33 +0,0 @@ -#pragma once -#include "afxwin.h" - - -// CCardIDDlg dialog - -class CCardIDDlg : public CDialog -{ - DECLARE_DYNAMIC(CCardIDDlg) - -public: - CCardIDDlg(int nCardIdx, CWnd* pParent = NULL); // standard constructor - virtual ~CCardIDDlg(); - -// Dialog Data - enum { IDD = IDD_CARDID_DIALOG }; - -protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - - DECLARE_MESSAGE_MAP() -public: -// afx_msg void OnCbnSelchangeComboCardid(); - afx_msg void OnBnClickedOk(); - // the setting of CardID ComboBox - int m_nCardIdx; - virtual BOOL OnInitDialog(); - // the control of CardID ComboBox - CComboBox m_cbCardID; - // the function to get the selected CardID - int GetCardID(void); -// afx_msg HBRUSH OnCtlColor(CDC* pDC, CWnd* pWnd, UINT nCtlColor); -}; diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7250/SDK7250/ReadMe.txt b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7250/SDK7250/ReadMe.txt deleted file mode 100644 index cc219a3..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7250/SDK7250/ReadMe.txt +++ /dev/null @@ -1,93 +0,0 @@ -================================================================================ - MICROSOFT FOUNDATION CLASS LIBRARY : pci7250 Project Overview -=============================================================================== - -The application wizard has created this pci7250 application for -you. This application not only demonstrates the basics of using the Microsoft -Foundation Classes but is also a starting point for writing your application. - -This file contains a summary of what you will find in each of the files that -make up your pci7250 application. - -pci7250.vcproj - This is the main project file for VC++ projects generated using an application wizard. - It contains information about the version of Visual C++ that generated the file, and - information about the platforms, configurations, and project features selected with the - application wizard. - -pci7250.h - This is the main header file for the application. It includes other - project specific headers (including Resource.h) and declares the - Cpci7250App application class. - -pci7250.cpp - This is the main application source file that contains the application - class Cpci7250App. - -pci7250.rc - This is a listing of all of the Microsoft Windows resources that the - program uses. It includes the icons, bitmaps, and cursors that are stored - in the RES subdirectory. This file can be directly edited in Microsoft - Visual C++. Your project resources are in 1033. - -res\pci7250.ico - This is an icon file, which is used as the application's icon. This - icon is included by the main resource file pci7250.rc. - -res\pci7250.rc2 - This file contains resources that are not edited by Microsoft - Visual C++. You should place all resources not editable by - the resource editor in this file. - - -///////////////////////////////////////////////////////////////////////////// - -The application wizard creates one dialog class: - -pci7250Dlg.h, pci7250Dlg.cpp - the dialog - These files contain your Cpci7250Dlg class. This class defines - the behavior of your application's main dialog. The dialog's template is - in pci7250.rc, which can be edited in Microsoft Visual C++. - - -///////////////////////////////////////////////////////////////////////////// - -Other Features: - -ActiveX Controls - The application includes support to use ActiveX controls. - -///////////////////////////////////////////////////////////////////////////// - -Other standard files: - -StdAfx.h, StdAfx.cpp - These files are used to build a precompiled header (PCH) file - named pci7250.pch and a precompiled types file named StdAfx.obj. - -Resource.h - This is the standard header file, which defines new resource IDs. - Microsoft Visual C++ reads and updates this file. - -pci7250.manifest - Application manifest files are used by Windows XP to describe an applications - dependency on specific versions of Side-by-Side assemblies. The loader uses this - information to load the appropriate assembly from the assembly cache or private - from the application. The Application manifest maybe included for redistribution - as an external .manifest file that is installed in the same folder as the application - executable or it may be included in the executable in the form of a resource. -///////////////////////////////////////////////////////////////////////////// - -Other notes: - -The application wizard uses "TODO:" to indicate parts of the source code you -should add to or customize. - -If your application uses MFC in a shared DLL, you will need -to redistribute the MFC DLLs. If your application is in a language -other than the operating system's locale, you will also have to -redistribute the corresponding localized resources MFC90XXX.DLL. -For more information on both of these topics, please see the section on -redistributing Visual C++ applications in MSDN documentation. - -///////////////////////////////////////////////////////////////////////////// diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7250/SDK7250/pci7250.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7250/SDK7250/pci7250.cpp deleted file mode 100644 index 1926e76..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7250/SDK7250/pci7250.cpp +++ /dev/null @@ -1,115 +0,0 @@ - -// pci7250.cpp : Defines the class behaviors for the application. -// - -#include "stdafx.h" -#include "pci7250.h" -#include "pci7250Dlg.h" -#include "CardIDDlg.h" - -#include "Dask64.h" - -#ifdef _DEBUG -#define new DEBUG_NEW -#endif - - -// Cpci7250App - -BEGIN_MESSAGE_MAP(Cpci7250App, CWinAppEx) - ON_COMMAND(ID_HELP, &CWinApp::OnHelp) -END_MESSAGE_MAP() - - -// Cpci7250App construction - -Cpci7250App::Cpci7250App() -{ - // TODO: add construction code here, - // Place all significant initialization in InitInstance -} - - -// The one and only Cpci7250App object - -Cpci7250App theApp; - - -// Cpci7250App initialization - -BOOL Cpci7250App::InitInstance() -{ - int nCardID = 0; - I16 hCard; - CString strTemp; - INT_PTR nResponse; - // InitCommonControlsEx() is required on Windows XP if an application - // manifest specifies use of ComCtl32.dll version 6 or later to enable - // visual styles. Otherwise, any window creation will fail. - INITCOMMONCONTROLSEX InitCtrls; - InitCtrls.dwSize = sizeof(InitCtrls); - // Set this to include all the common control classes you want to use - // in your application. - InitCtrls.dwICC = ICC_WIN95_CLASSES; - InitCommonControlsEx(&InitCtrls); - - CWinAppEx::InitInstance(); - - AfxEnableControlContainer(); - - // Standard initialization - // If you are not using these features and wish to reduce the size - // of your final executable, you should remove from the following - // the specific initialization routines you do not need - // Change the registry key under which our settings are stored - // TODO: You should modify this string to be something appropriate - // such as the name of your company or organization - SetRegistryKey(_T("Local AppWizard-Generated Applications")); - - - // TODO: Add extra initialization here - CCardIDDlg CardDlg( nCardID ); - - nResponse = CardDlg.DoModal(); - if (nResponse == IDOK) - { - nCardID = CardDlg.GetCardID(); - - if ((hCard=Register_Card(PCI_7250, nCardID)) < 0) - { - strTemp.Format( TEXT("Register_Card Error = %d"), hCard); - AfxMessageBox( strTemp ); - } - else - { - Cpci7250Dlg dlg(hCard); - m_pMainWnd = &dlg; - nResponse = dlg.DoModal(); - if (nResponse == IDOK) - { - // TODO: Place code here to handle when the dialog is - // dismissed with OK - } - else if (nResponse == IDCANCEL) - { - // TODO: Place code here to handle when the dialog is - // dismissed with Cancel - } - - if (hCard >= 0) Release_Card(hCard); - } - - } - else if (nResponse == IDCANCEL) - { - // TODO: Place code here to handle when the dialog is - // dismissed with Cancel - } - - - - - // Since the dialog has been closed, return FALSE so that we exit the - // application, rather than start the application's message pump. - return FALSE; -} diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7250/SDK7250/pci7250.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7250/SDK7250/pci7250.h deleted file mode 100644 index f726650..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7250/SDK7250/pci7250.h +++ /dev/null @@ -1,32 +0,0 @@ - -// pci7250.h : main header file for the PROJECT_NAME application -// - -#pragma once - -#ifndef __AFXWIN_H__ - #error "include 'stdafx.h' before including this file for PCH" -#endif - -#include "resource.h" // main symbols - - -// Cpci7250App: -// See pci7250.cpp for the implementation of this class -// - -class Cpci7250App : public CWinAppEx -{ -public: - Cpci7250App(); - -// Overrides - public: - virtual BOOL InitInstance(); - -// Implementation - - DECLARE_MESSAGE_MAP() -}; - -extern Cpci7250App theApp; \ No newline at end of file diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7250/SDK7250/pci7250.rc b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7250/SDK7250/pci7250.rc deleted file mode 100644 index ab370b5..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7250/SDK7250/pci7250.rc +++ /dev/null @@ -1,303 +0,0 @@ -// Microsoft Visual C++ generated resource script. -// -#include "resource.h" - -#define APSTUDIO_READONLY_SYMBOLS -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 2 resource. -// -#ifndef APSTUDIO_INVOKED -#include "targetver.h" -#endif -#include "afxres.h" - -///////////////////////////////////////////////////////////////////////////// -#undef APSTUDIO_READONLY_SYMBOLS - -///////////////////////////////////////////////////////////////////////////// -// Chinese (Taiwan) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_CHT) -#ifdef _WIN32 -LANGUAGE LANG_CHINESE, SUBLANG_CHINESE_TRADITIONAL -#pragma code_page(950) -#endif //_WIN32 - -#ifdef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// TEXTINCLUDE -// - -1 TEXTINCLUDE -BEGIN - "resource.h\0" -END - -2 TEXTINCLUDE -BEGIN - "#ifndef APSTUDIO_INVOKED\r\n" - "#include ""targetver.h""\r\n" - "#endif\r\n" - "#include ""afxres.h""\r\n" - "\0" -END - -3 TEXTINCLUDE -BEGIN - "#define _AFX_NO_SPLITTER_RESOURCES\r\n" - "#define _AFX_NO_OLE_RESOURCES\r\n" - "#define _AFX_NO_TRACKER_RESOURCES\r\n" - "#define _AFX_NO_PROPERTY_RESOURCES\r\n" - "\r\n" - "#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)\r\n" - "LANGUAGE 9, 1\r\n" - "#pragma code_page(1252)\r\n" - "#include ""res\\pci7250.rc2"" // non-Microsoft Visual C++ edited resources\r\n" - "#include ""afxres.rc"" // Standard components\r\n" - "#endif\r\n" - "\0" -END - -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// Icon -// - -// Icon with lowest ID value placed first to ensure application icon -// remains consistent on all systems. -IDR_MAINFRAME ICON "res\\pci7250.ico" -#endif // Chinese (Taiwan) resources -///////////////////////////////////////////////////////////////////////////// - - -///////////////////////////////////////////////////////////////////////////// -// English (U.S.) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -#ifdef _WIN32 -LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US -#pragma code_page(1252) -#endif //_WIN32 - -///////////////////////////////////////////////////////////////////////////// -// -// Icon -// - -// Icon with lowest ID value placed first to ensure application icon -// remains consistent on all systems. -IDI_ICON_BLACK ICON "res\\black.ico" -IDI_ICON_RED ICON "res\\red.ico" -IDI_ICON_GREEN ICON "res\\green.ico" - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog -// - -IDD_ABOUTBOX DIALOGEX 0, 0, 170, 62 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "About pci7250" -FONT 8, "MS Shell Dlg", 0, 0, 0x1 -BEGIN - ICON IDR_MAINFRAME,IDC_STATIC,14,14,21,20 - LTEXT "pci7250, Version 1.0",IDC_STATIC,42,14,114,8,SS_NOPREFIX - LTEXT "Copyright (C) 2010",IDC_STATIC,42,26,114,8 - DEFPUSHBUTTON "OK",IDOK,113,41,50,14,WS_GROUP -END - -IDD_PCI7250_DIALOG DIALOGEX 0, 0, 320, 105 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU -EXSTYLE WS_EX_APPWINDOW -CAPTION "pci7250" -FONT 8, "MS Shell Dlg", 0, 0, 0x1 -BEGIN - DEFPUSHBUTTON "OK",IDOK,258,78,50,14 - ICON IDI_ICON_GREEN,IDC_ICON_DI0,263,18,21,20 - ICON IDI_ICON_GREEN,IDC_ICON_DI1,228,18,20,20 - ICON IDI_ICON_GREEN,IDC_ICON_DI2,193,18,20,20 - ICON IDI_ICON_GREEN,IDC_ICON_DI3,158,18,20,20 - ICON IDI_ICON_GREEN,IDC_ICON_DI4,123,18,20,20 - ICON IDI_ICON_GREEN,IDC_ICON_DI5,88,18,20,20 - ICON IDI_ICON_GREEN,IDC_ICON_DI6,53,18,20,20 - ICON IDI_ICON_GREEN,IDC_ICON_DI7,18,18,20,20 - CONTROL "",IDC_CHECK_DO0,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,271,47,18,19 - CONTROL "",IDC_CHECK_DO1,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,235,47,18,19 - CONTROL "",IDC_CHECK_DO2,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,202,47,18,19 - CONTROL "",IDC_CHECK_DO3,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,166,47,18,19 - CONTROL "",IDC_CHECK_DO4,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,131,47,18,19 - CONTROL "",IDC_CHECK_DO5,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,96,47,18,19 - CONTROL "",IDC_CHECK_DO6,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,60,47,18,19 - CONTROL "",IDC_CHECK_DO7,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,26,47,18,19 -END - -IDD_CARDID_DIALOG DIALOGEX 0, 0, 185, 93 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU -EXSTYLE WS_EX_APPWINDOW -CAPTION "Card ID" -FONT 8, "MS Shell Dlg", 400, 0, 0x0 -BEGIN - COMBOBOX IDC_COMBO_CARDID,83,24,71,126,CBS_DROPDOWN | WS_VSCROLL | WS_TABSTOP - LTEXT "Card Number",IDC_STATIC_01,29,25,46,12 - PUSHBUTTON "OK",IDOK,30,57,58,19 - PUSHBUTTON "CANCEL",IDCANCEL,94,57,58,19 -END - - -///////////////////////////////////////////////////////////////////////////// -// -// Version -// - -VS_VERSION_INFO VERSIONINFO - FILEVERSION 1,0,0,1 - PRODUCTVERSION 1,0,0,1 - FILEFLAGSMASK 0x3fL -#ifdef _DEBUG - FILEFLAGS 0x1L -#else - FILEFLAGS 0x0L -#endif - FILEOS 0x4L - FILETYPE 0x1L - FILESUBTYPE 0x0L -BEGIN - BLOCK "StringFileInfo" - BEGIN - BLOCK "040904e4" - BEGIN - VALUE "CompanyName", "TODO: " - VALUE "FileDescription", "TODO: " - VALUE "FileVersion", "1.0.0.1" - VALUE "InternalName", "pci7250.exe" - VALUE "LegalCopyright", "TODO: (c) . All rights reserved." - VALUE "OriginalFilename", "pci7250.exe" - VALUE "ProductName", "TODO: " - VALUE "ProductVersion", "1.0.0.1" - END - END - BLOCK "VarFileInfo" - BEGIN - VALUE "Translation", 0x409, 1252 - END -END - - -///////////////////////////////////////////////////////////////////////////// -// -// DESIGNINFO -// - -#ifdef APSTUDIO_INVOKED -GUIDELINES DESIGNINFO -BEGIN - IDD_ABOUTBOX, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 163 - TOPMARGIN, 7 - BOTTOMMARGIN, 55 - END - - IDD_PCI7250_DIALOG, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 313 - TOPMARGIN, 7 - BOTTOMMARGIN, 98 - END - - IDD_CARDID_DIALOG, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 178 - TOPMARGIN, 7 - BOTTOMMARGIN, 86 - END -END -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog Info -// - -IDD_CARDID_DIALOG DLGINIT -BEGIN - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0030, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0031, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0032, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0033, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0034, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0035, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0036, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0037, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0038, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0039, - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3031, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3131, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3231, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3331, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3431, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3531, "\000" - 0 -END - - -///////////////////////////////////////////////////////////////////////////// -// -// String Table -// - -STRINGTABLE -BEGIN - IDS_ABOUTBOX "&About pci7250..." -END - -#endif // English (U.S.) resources -///////////////////////////////////////////////////////////////////////////// - - - -#ifndef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 3 resource. -// -#define _AFX_NO_SPLITTER_RESOURCES -#define _AFX_NO_OLE_RESOURCES -#define _AFX_NO_TRACKER_RESOURCES -#define _AFX_NO_PROPERTY_RESOURCES - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -LANGUAGE 9, 1 -#pragma code_page(1252) -#include "res\pci7250.rc2" // non-Microsoft Visual C++ edited resources -#include "afxres.rc" // Standard components -#endif - -///////////////////////////////////////////////////////////////////////////// -#endif // not APSTUDIO_INVOKED - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7250/SDK7250/pci7250.sln b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7250/SDK7250/pci7250.sln deleted file mode 100644 index f61d8f7..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7250/SDK7250/pci7250.sln +++ /dev/null @@ -1,20 +0,0 @@ - -Microsoft Visual Studio Solution File, Format Version 10.00 -# Visual Studio 2008 -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "pci7250", "pci7250.vcproj", "{8C2C396A-F3FC-491F-BEE7-8A6F10254B8D}" -EndProject -Global - GlobalSection(SolutionConfigurationPlatforms) = preSolution - Debug|x64 = Debug|x64 - Release|x64 = Release|x64 - EndGlobalSection - GlobalSection(ProjectConfigurationPlatforms) = postSolution - {8C2C396A-F3FC-491F-BEE7-8A6F10254B8D}.Debug|x64.ActiveCfg = Debug|x64 - {8C2C396A-F3FC-491F-BEE7-8A6F10254B8D}.Debug|x64.Build.0 = Debug|x64 - {8C2C396A-F3FC-491F-BEE7-8A6F10254B8D}.Release|x64.ActiveCfg = Release|x64 - {8C2C396A-F3FC-491F-BEE7-8A6F10254B8D}.Release|x64.Build.0 = Release|x64 - EndGlobalSection - GlobalSection(SolutionProperties) = preSolution - HideSolutionNode = FALSE - EndGlobalSection -EndGlobal diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7250/SDK7250/pci7250.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7250/SDK7250/pci7250.suo deleted file mode 100644 index 48b803c..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7250/SDK7250/pci7250.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7250/SDK7250/pci7250.vcproj b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7250/SDK7250/pci7250.vcproj deleted file mode 100644 index 9b351a7..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7250/SDK7250/pci7250.vcproj +++ /dev/null @@ -1,310 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7250/SDK7250/pci7250Dlg.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7250/SDK7250/pci7250Dlg.cpp deleted file mode 100644 index d1f62c1..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7250/SDK7250/pci7250Dlg.cpp +++ /dev/null @@ -1,424 +0,0 @@ - -// pci7250Dlg.cpp : implementation file -// - -#include "stdafx.h" -#include "pci7250.h" -#include "pci7250Dlg.h" - -#ifdef _DEBUG -#define new DEBUG_NEW -#endif - - -// CAboutDlg dialog used for App About - -class CAboutDlg : public CDialog -{ -public: - CAboutDlg(); - -// Dialog Data - enum { IDD = IDD_ABOUTBOX }; - - protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - -// Implementation -protected: - DECLARE_MESSAGE_MAP() -}; - -CAboutDlg::CAboutDlg() : CDialog(CAboutDlg::IDD) -{ -} - -void CAboutDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); -} - -BEGIN_MESSAGE_MAP(CAboutDlg, CDialog) -END_MESSAGE_MAP() - - -// Cpci7250Dlg dialog - - - - -Cpci7250Dlg::Cpci7250Dlg(I16 hCard, CWnd* pParent /*=NULL*/) - : CDialog(Cpci7250Dlg::IDD, pParent) -{ - m_hIcon = AfxGetApp()->LoadIcon(IDR_MAINFRAME); - m_hCard = hCard; - m_dwOutData = 0x00; - m_nTimer = -1; -} - -void Cpci7250Dlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); - DDX_Control(pDX, IDC_ICON_DI0, m_DI0_ON); - DDX_Control(pDX, IDC_ICON_DI1, m_DI1_ON); - DDX_Control(pDX, IDC_ICON_DI2, m_DI2_ON); - DDX_Control(pDX, IDC_ICON_DI3, m_DI3_ON); - DDX_Control(pDX, IDC_ICON_DI4, m_DI4_ON); - DDX_Control(pDX, IDC_ICON_DI5, m_DI5_ON); - DDX_Control(pDX, IDC_ICON_DI6, m_DI6_ON); - DDX_Control(pDX, IDC_ICON_DI7, m_DI7_ON); -} - -BEGIN_MESSAGE_MAP(Cpci7250Dlg, CDialog) - ON_WM_SYSCOMMAND() - ON_WM_PAINT() - ON_WM_QUERYDRAGICON() - //}}AFX_MSG_MAP - ON_WM_TIMER() - ON_BN_CLICKED(IDC_CHECK_DO0, &Cpci7250Dlg::OnDO0Clicked) - ON_BN_CLICKED(IDC_CHECK_DO1, &Cpci7250Dlg::OnDO1Clicked) - ON_BN_CLICKED(IDC_CHECK_DO2, &Cpci7250Dlg::OnDO2Clicked) - ON_BN_CLICKED(IDC_CHECK_DO3, &Cpci7250Dlg::OnDO3Clicked) - ON_BN_CLICKED(IDC_CHECK_DO4, &Cpci7250Dlg::OnDO4Clicked) - ON_BN_CLICKED(IDC_CHECK_DO5, &Cpci7250Dlg::OnDO5Clicked) - ON_BN_CLICKED(IDC_CHECK_DO6, &Cpci7250Dlg::OnDO6Clicked) - ON_BN_CLICKED(IDC_CHECK_DO7, &Cpci7250Dlg::OnDO7Clicked) - ON_WM_DESTROY() -END_MESSAGE_MAP() - - -// Cpci7250Dlg message handlers - -BOOL Cpci7250Dlg::OnInitDialog() -{ - CDialog::OnInitDialog(); - - // Add "About..." menu item to system menu. - - // IDM_ABOUTBOX must be in the system command range. - ASSERT((IDM_ABOUTBOX & 0xFFF0) == IDM_ABOUTBOX); - ASSERT(IDM_ABOUTBOX < 0xF000); - - CMenu* pSysMenu = GetSystemMenu(FALSE); - if (pSysMenu != NULL) - { - BOOL bNameValid; - CString strAboutMenu; - bNameValid = strAboutMenu.LoadString(IDS_ABOUTBOX); - ASSERT(bNameValid); - if (!strAboutMenu.IsEmpty()) - { - pSysMenu->AppendMenu(MF_SEPARATOR); - pSysMenu->AppendMenu(MF_STRING, IDM_ABOUTBOX, strAboutMenu); - } - } - - // Set the icon for this dialog. The framework does this automatically - // when the application's main window is not a dialog - SetIcon(m_hIcon, TRUE); // Set big icon - SetIcon(m_hIcon, FALSE); // Set small icon - - - m_nTimer = SetTimer( 1, 1000, NULL ); - - return TRUE; // return TRUE unless you set the focus to a control -} - -void Cpci7250Dlg::OnSysCommand(UINT nID, LPARAM lParam) -{ - if ((nID & 0xFFF0) == IDM_ABOUTBOX) - { - CAboutDlg dlgAbout; - dlgAbout.DoModal(); - } - else - { - CDialog::OnSysCommand(nID, lParam); - } -} - -// If you add a minimize button to your dialog, you will need the code below -// to draw the icon. For MFC applications using the document/view model, -// this is automatically done for you by the framework. - -void Cpci7250Dlg::OnPaint() -{ - if (IsIconic()) - { - CPaintDC dc(this); // device context for painting - - SendMessage(WM_ICONERASEBKGND, reinterpret_cast(dc.GetSafeHdc()), 0); - - // Center icon in client rectangle - int cxIcon = GetSystemMetrics(SM_CXICON); - int cyIcon = GetSystemMetrics(SM_CYICON); - CRect rect; - GetClientRect(&rect); - int x = (rect.Width() - cxIcon + 1) / 2; - int y = (rect.Height() - cyIcon + 1) / 2; - - // Draw the icon - dc.DrawIcon(x, y, m_hIcon); - } - else - { - CDialog::OnPaint(); - } -} - -// The system calls this function to obtain the cursor to display while the user drags -// the minimized window. -HCURSOR Cpci7250Dlg::OnQueryDragIcon() -{ - return static_cast(m_hIcon); -} - - -void Cpci7250Dlg::OnTimer(UINT_PTR nIDEvent) -{ - // TODO: Add your message handler code here and/or call default - U32 dwPortData; - - DI_ReadPort( m_hCard, 0, &dwPortData); - - if( (dwPortData & 0x01) == 0x01 ) - { - m_DI0_ON.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_DI0_ON.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - - - if( (dwPortData & 0x02) == 0x02 ) - { - m_DI1_ON.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_DI1_ON.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - - if( (dwPortData & 0x04) == 0x04 ) - { - m_DI2_ON.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_DI2_ON.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - - if( (dwPortData & 0x08) == 0x08 ) - { - m_DI3_ON.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - - } - else - { - m_DI3_ON.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - - } - - if( (dwPortData & 0x10) == 0x10 ) - { - m_DI4_ON.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_DI4_ON.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - - - if( (dwPortData & 0x20) == 0x20 ) - { - m_DI5_ON.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_DI5_ON.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - - if( (dwPortData & 0x40) == 0x40 ) - { - m_DI6_ON.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_DI6_ON.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - - if( (dwPortData & 0x80) == 0x80 ) - { - m_DI7_ON.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_DI7_ON.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - - CDialog::OnTimer(nIDEvent); -} - -void Cpci7250Dlg::OnDO0Clicked() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_DO0 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_dwOutData |= 0x01; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_dwOutData &= (~0x01); - } - - DO_WritePort( m_hCard, 0, m_dwOutData ); - -} - -void Cpci7250Dlg::OnDO1Clicked() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_DO1 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_dwOutData |= 0x02; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_dwOutData &= (~0x02); - } - - DO_WritePort( m_hCard, 0, m_dwOutData ); -} - -void Cpci7250Dlg::OnDO2Clicked() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_DO2 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_dwOutData |= 0x04; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_dwOutData &= (~0x04); - } - - DO_WritePort( m_hCard, 0, m_dwOutData ); -} - -void Cpci7250Dlg::OnDO3Clicked() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_DO3 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_dwOutData |= 0x08; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_dwOutData &= (~0x08); - } - - DO_WritePort( m_hCard, 0, m_dwOutData ); -} - -void Cpci7250Dlg::OnDO4Clicked() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_DO4 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_dwOutData |= 0x10; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_dwOutData &= (~0x10); - } - - DO_WritePort( m_hCard, 0, m_dwOutData ); -} - -void Cpci7250Dlg::OnDO5Clicked() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_DO5 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_dwOutData |= 0x20; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_dwOutData &= (~0x20); - } - - DO_WritePort( m_hCard, 0, m_dwOutData ); -} - -void Cpci7250Dlg::OnDO6Clicked() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_DO6 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_dwOutData |= 0x40; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_dwOutData &= (~0x40); - } - - DO_WritePort( m_hCard, 0, m_dwOutData ); -} - -void Cpci7250Dlg::OnDO7Clicked() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_DO7 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_dwOutData |= 0x80; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_dwOutData &= (~0x80); - } - - DO_WritePort( m_hCard, 0, m_dwOutData ); -} - -void Cpci7250Dlg::OnDestroy() -{ - CDialog::OnDestroy(); - - if( m_nTimer != -1 ) - KillTimer( m_nTimer ); - - // TODO: Add your message handler code here -} diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7250/SDK7250/pci7250Dlg.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7250/SDK7250/pci7250Dlg.h deleted file mode 100644 index 3e90c68..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7250/SDK7250/pci7250Dlg.h +++ /dev/null @@ -1,59 +0,0 @@ - -// pci7250Dlg.h : header file -// -#include "Dask64.h" - -#pragma once - - -// Cpci7250Dlg dialog -class Cpci7250Dlg : public CDialog -{ -// Construction -public: - Cpci7250Dlg(I16 nCard, CWnd* pParent = NULL); // standard constructor - -// Dialog Data - enum { IDD = IDD_PCI7250_DIALOG }; - - protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - - -// Implementation -protected: - HICON m_hIcon; - UINT_PTR m_nTimer; - U32 m_dwOutData; - - // Generated message map functions - virtual BOOL OnInitDialog(); - afx_msg void OnSysCommand(UINT nID, LPARAM lParam); - afx_msg void OnPaint(); - afx_msg HCURSOR OnQueryDragIcon(); - DECLARE_MESSAGE_MAP() -public: - CStatic m_DI0_ON; - CStatic m_DI1_ON; - CStatic m_DI2_ON; - CStatic m_DI3_ON; - CStatic m_DI4_ON; - CStatic m_DI5_ON; - CStatic m_DI6_ON; - CStatic m_DI7_ON; - - -public: - // the CardID of targer device - I16 m_hCard; - afx_msg void OnTimer(UINT_PTR nIDEvent); - afx_msg void OnDO0Clicked(); - afx_msg void OnDO1Clicked(); - afx_msg void OnDO2Clicked(); - afx_msg void OnDO3Clicked(); - afx_msg void OnDO4Clicked(); - afx_msg void OnDO5Clicked(); - afx_msg void OnDO6Clicked(); - afx_msg void OnDO7Clicked(); - afx_msg void OnDestroy(); -}; diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7250/SDK7250/res/black.ico b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7250/SDK7250/res/black.ico deleted file mode 100644 index b5c375f..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7250/SDK7250/res/black.ico and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7250/SDK7250/res/blue.ico b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7250/SDK7250/res/blue.ico deleted file mode 100644 index 1df4b39..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7250/SDK7250/res/blue.ico and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7250/SDK7250/res/green.ico b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7250/SDK7250/res/green.ico deleted file mode 100644 index d9a9fd3..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7250/SDK7250/res/green.ico and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7250/SDK7250/res/pci7250.ico b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7250/SDK7250/res/pci7250.ico deleted file mode 100644 index d56fbcd..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7250/SDK7250/res/pci7250.ico and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7250/SDK7250/res/pci7250.rc2 b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7250/SDK7250/res/pci7250.rc2 deleted file mode 100644 index a19944b..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7250/SDK7250/res/pci7250.rc2 +++ /dev/null @@ -1,13 +0,0 @@ -// -// pci7250.RC2 - resources Microsoft Visual C++ does not edit directly -// - -#ifdef APSTUDIO_INVOKED -#error this file is not editable by Microsoft Visual C++ -#endif //APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// Add manually edited resources here... - -///////////////////////////////////////////////////////////////////////////// diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7250/SDK7250/res/pink.ico b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7250/SDK7250/res/pink.ico deleted file mode 100644 index 18bdaad..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7250/SDK7250/res/pink.ico and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7250/SDK7250/res/red.ico b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7250/SDK7250/res/red.ico deleted file mode 100644 index 7644596..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7250/SDK7250/res/red.ico and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7250/SDK7250/res/yellow.ico b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7250/SDK7250/res/yellow.ico deleted file mode 100644 index 3449de2..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7250/SDK7250/res/yellow.ico and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7250/SDK7250/resource.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7250/SDK7250/resource.h deleted file mode 100644 index 3c609a6..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7250/SDK7250/resource.h +++ /dev/null @@ -1,56 +0,0 @@ -//{{NO_DEPENDENCIES}} -// Microsoft Visual C++ generated include file. -// Used by pci7250.rc -// -#define IDM_ABOUTBOX 0x0010 -#define IDD_ABOUTBOX 100 -#define IDS_ABOUTBOX 101 -#define IDD_PCI7250_DIALOG 102 -#define IDD_CARDID_DIALOG 105 -#define IDR_MAINFRAME 128 -#define IDI_ICON1 130 -#define IDI_ICON2 132 -#define IDI_ICON3 133 -#define IDI_ICON4 134 -#define IDI_ICON_BLACK 142 -#define IDI_ICON_RED 143 -#define IDI_ICON_GREEN 144 -#define IDC_COMBO_CARDID 1000 -#define IDC_BUTTON1 1003 -#define IDC_BT_BIT0 1003 -#define IDC_ICON_DI0 1005 -#define IDC_ICON_DI1 1006 -#define IDC_ICON_DI2 1007 -#define IDC_ICON_DI3 1008 -#define IDC_ICON_DI4 1009 -#define IDC_ICON_DI5 1010 -#define IDC_ICON_DI6 1011 -#define IDC_ICON_DI7 1012 -#define IDC_CHECK_DO0 1013 -#define IDC_CHECK_DO1 1014 -#define IDC_STATIC_01 1014 -#define IDC_CHECK_DO2 1015 -#define IDC_CHECK_DO3 1016 -#define IDC_CHECK_DO4 1017 -#define IDC_CHECK_DO5 1018 -#define IDC_CHECK_DO6 1019 -#define IDC_CHECK_DO7 1020 -#define IDC_ICON_DI0_OFF 1021 -#define IDC_ICON_DI1_OFF 1022 -#define IDC_ICON_DI2_OFF 1023 -#define IDC_ICON_DI3_OFF 1024 -#define IDC_ICON_DI4_OFF 1025 -#define IDC_ICON_DI5_OFF 1026 -#define IDC_ICON_DI6_OFF 1027 -#define IDC_ICON_DI7_OFF 1028 - -// Next default values for new objects -// -#ifdef APSTUDIO_INVOKED -#ifndef APSTUDIO_READONLY_SYMBOLS -#define _APS_NEXT_RESOURCE_VALUE 145 -#define _APS_NEXT_COMMAND_VALUE 32771 -#define _APS_NEXT_CONTROL_VALUE 1015 -#define _APS_NEXT_SYMED_VALUE 101 -#endif -#endif diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7250/SDK7250/stdafx.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7250/SDK7250/stdafx.cpp deleted file mode 100644 index e2a008f..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7250/SDK7250/stdafx.cpp +++ /dev/null @@ -1,8 +0,0 @@ - -// stdafx.cpp : source file that includes just the standard includes -// pci7250.pch will be the pre-compiled header -// stdafx.obj will contain the pre-compiled type information - -#include "stdafx.h" - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7250/SDK7250/stdafx.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7250/SDK7250/stdafx.h deleted file mode 100644 index 12123e2..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7250/SDK7250/stdafx.h +++ /dev/null @@ -1,60 +0,0 @@ - -// stdafx.h : include file for standard system include files, -// or project specific include files that are used frequently, -// but are changed infrequently - -#pragma once - -#ifndef _SECURE_ATL -#define _SECURE_ATL 1 -#endif - -#ifndef VC_EXTRALEAN -#define VC_EXTRALEAN // Exclude rarely-used stuff from Windows headers -#endif - -#include "targetver.h" - -#define _ATL_CSTRING_EXPLICIT_CONSTRUCTORS // some CString constructors will be explicit - -// turns off MFC's hiding of some common and often safely ignored warning messages -#define _AFX_ALL_WARNINGS - -#include // MFC core and standard components -#include // MFC extensions - - -#include // MFC Automation classes - - - -#ifndef _AFX_NO_OLE_SUPPORT -#include // MFC support for Internet Explorer 4 Common Controls -#endif -#ifndef _AFX_NO_AFXCMN_SUPPORT -#include // MFC support for Windows Common Controls -#endif // _AFX_NO_AFXCMN_SUPPORT - -#include // MFC support for ribbons and control bars - - - - - - - - - -#ifdef _UNICODE -#if defined _M_IX86 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='x86' publicKeyToken='6595b64144ccf1df' language='*'\"") -#elif defined _M_IA64 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='ia64' publicKeyToken='6595b64144ccf1df' language='*'\"") -#elif defined _M_X64 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='amd64' publicKeyToken='6595b64144ccf1df' language='*'\"") -#else -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='*' publicKeyToken='6595b64144ccf1df' language='*'\"") -#endif -#endif - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7250/SDK7250/targetver.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7250/SDK7250/targetver.h deleted file mode 100644 index 11730d5..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7250/SDK7250/targetver.h +++ /dev/null @@ -1,26 +0,0 @@ - -#pragma once - -// The following macros define the minimum required platform. The minimum required platform -// is the earliest version of Windows, Internet Explorer etc. that has the necessary features to run -// your application. The macros work by enabling all features available on platform versions up to and -// including the version specified. - -// Modify the following defines if you have to target a platform prior to the ones specified below. -// Refer to MSDN for the latest info on corresponding values for different platforms. -#ifndef WINVER // Specifies that the minimum required platform is Windows Vista. -#define WINVER 0x0600 // Change this to the appropriate value to target other versions of Windows. -#endif - -#ifndef _WIN32_WINNT // Specifies that the minimum required platform is Windows Vista. -#define _WIN32_WINNT 0x0600 // Change this to the appropriate value to target other versions of Windows. -#endif - -#ifndef _WIN32_WINDOWS // Specifies that the minimum required platform is Windows 98. -#define _WIN32_WINDOWS 0x0410 // Change this to the appropriate value to target Windows Me or later. -#endif - -#ifndef _WIN32_IE // Specifies that the minimum required platform is Internet Explorer 7.0. -#define _WIN32_IE 0x0700 // Change this to the appropriate value to target other versions of IE. -#endif - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7250/pci7250.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7250/pci7250.suo deleted file mode 100644 index 2d072c1..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7250/pci7250.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7252/Sdk7252/CardIDDlg.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7252/Sdk7252/CardIDDlg.cpp deleted file mode 100644 index bedbcad..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7252/Sdk7252/CardIDDlg.cpp +++ /dev/null @@ -1,67 +0,0 @@ -// CardIDDlg.cpp : implementation file -// - -#include "stdafx.h" -#include "Util7252.h" -#include "CardIDDlg.h" - - -// CCardIDDlg dialog - -IMPLEMENT_DYNAMIC(CCardIDDlg, CDialog) - -CCardIDDlg::CCardIDDlg(int nCardIdx, CWnd* pParent /*=NULL*/) - : CDialog(CCardIDDlg::IDD, pParent) -{ - m_nCardIdx = nCardIdx; -} - -CCardIDDlg::~CCardIDDlg() -{ -} - -void CCardIDDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); - DDX_Control(pDX, IDC_COMBO_CARDID, m_cbCardID); -} - - -BEGIN_MESSAGE_MAP(CCardIDDlg, CDialog) -// ON_CBN_SELCHANGE(IDC_COMBO_CARDID, &CCardIDDlg::OnCbnSelchangeComboCardid) -ON_BN_CLICKED(IDOK, &CCardIDDlg::OnBnClickedOk) -//ON_WM_CTLCOLOR() -END_MESSAGE_MAP() - - -// CCardIDDlg message handlers - - -void CCardIDDlg::OnBnClickedOk() -{ - // TODO: Add your control notification handler code here - -// UpdateData(TRUE); - m_nCardIdx = m_cbCardID.GetCurSel(); - - OnOK(); -} - -BOOL CCardIDDlg::OnInitDialog() -{ - CDialog::OnInitDialog(); - - // TODO: Add extra initialization here - m_cbCardID.SetCurSel( m_nCardIdx ); - - return TRUE; // return TRUE unless you set the focus to a control - // EXCEPTION: OCX Property Pages should return FALSE -} - -// the function to get the selected CardID -int CCardIDDlg::GetCardID(void) -{ - return m_nCardIdx; -} - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7252/Sdk7252/CardIDDlg.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7252/Sdk7252/CardIDDlg.h deleted file mode 100644 index 54628ea..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7252/Sdk7252/CardIDDlg.h +++ /dev/null @@ -1,33 +0,0 @@ -#pragma once -#include "afxwin.h" - - -// CCardIDDlg dialog - -class CCardIDDlg : public CDialog -{ - DECLARE_DYNAMIC(CCardIDDlg) - -public: - CCardIDDlg(int nCardIdx, CWnd* pParent = NULL); // standard constructor - virtual ~CCardIDDlg(); - -// Dialog Data - enum { IDD = IDD_CARDID_DIALOG }; - -protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - - DECLARE_MESSAGE_MAP() -public: -// afx_msg void OnCbnSelchangeComboCardid(); - afx_msg void OnBnClickedOk(); - // the setting of CardID ComboBox - int m_nCardIdx; - virtual BOOL OnInitDialog(); - // the control of CardID ComboBox - CComboBox m_cbCardID; - // the function to get the selected CardID - int GetCardID(void); -// afx_msg HBRUSH OnCtlColor(CDC* pDC, CWnd* pWnd, UINT nCtlColor); -}; diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7252/Sdk7252/ReadMe.txt b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7252/Sdk7252/ReadMe.txt deleted file mode 100644 index e9b7303..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7252/Sdk7252/ReadMe.txt +++ /dev/null @@ -1,93 +0,0 @@ -================================================================================ - MICROSOFT FOUNDATION CLASS LIBRARY : Util7252 Project Overview -=============================================================================== - -The application wizard has created this Util7252 application for -you. This application not only demonstrates the basics of using the Microsoft -Foundation Classes but is also a starting point for writing your application. - -This file contains a summary of what you will find in each of the files that -make up your Util7252 application. - -Util7252.vcproj - This is the main project file for VC++ projects generated using an application wizard. - It contains information about the version of Visual C++ that generated the file, and - information about the platforms, configurations, and project features selected with the - application wizard. - -Util7252.h - This is the main header file for the application. It includes other - project specific headers (including Resource.h) and declares the - CUtil7252App application class. - -Util7252.cpp - This is the main application source file that contains the application - class CUtil7252App. - -Util7252.rc - This is a listing of all of the Microsoft Windows resources that the - program uses. It includes the icons, bitmaps, and cursors that are stored - in the RES subdirectory. This file can be directly edited in Microsoft - Visual C++. Your project resources are in 1033. - -res\Util7252.ico - This is an icon file, which is used as the application's icon. This - icon is included by the main resource file Util7252.rc. - -res\Util7252.rc2 - This file contains resources that are not edited by Microsoft - Visual C++. You should place all resources not editable by - the resource editor in this file. - - -///////////////////////////////////////////////////////////////////////////// - -The application wizard creates one dialog class: - -Util7252Dlg.h, Util7252Dlg.cpp - the dialog - These files contain your CUtil7252Dlg class. This class defines - the behavior of your application's main dialog. The dialog's template is - in Util7252.rc, which can be edited in Microsoft Visual C++. - - -///////////////////////////////////////////////////////////////////////////// - -Other Features: - -ActiveX Controls - The application includes support to use ActiveX controls. - -///////////////////////////////////////////////////////////////////////////// - -Other standard files: - -StdAfx.h, StdAfx.cpp - These files are used to build a precompiled header (PCH) file - named Util7252.pch and a precompiled types file named StdAfx.obj. - -Resource.h - This is the standard header file, which defines new resource IDs. - Microsoft Visual C++ reads and updates this file. - -Util7252.manifest - Application manifest files are used by Windows XP to describe an applications - dependency on specific versions of Side-by-Side assemblies. The loader uses this - information to load the appropriate assembly from the assembly cache or private - from the application. The Application manifest maybe included for redistribution - as an external .manifest file that is installed in the same folder as the application - executable or it may be included in the executable in the form of a resource. -///////////////////////////////////////////////////////////////////////////// - -Other notes: - -The application wizard uses "TODO:" to indicate parts of the source code you -should add to or customize. - -If your application uses MFC in a shared DLL, you will need -to redistribute the MFC DLLs. If your application is in a language -other than the operating system's locale, you will also have to -redistribute the corresponding localized resources MFC90XXX.DLL. -For more information on both of these topics, please see the section on -redistributing Visual C++ applications in MSDN documentation. - -///////////////////////////////////////////////////////////////////////////// diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7252/Sdk7252/Util7230.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7252/Sdk7252/Util7230.suo deleted file mode 100644 index 54810b3..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7252/Sdk7252/Util7230.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7252/Sdk7252/Util7252.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7252/Sdk7252/Util7252.cpp deleted file mode 100644 index beb1aeb..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7252/Sdk7252/Util7252.cpp +++ /dev/null @@ -1,110 +0,0 @@ - -// Util7252.cpp : Defines the class behaviors for the application. -// - -#include "stdafx.h" -#include "Util7252.h" -#include "Util7252Dlg.h" -#include "CardIDDlg.h" - -#ifdef _DEBUG -#define new DEBUG_NEW -#endif - - -// CUtil7252App - -BEGIN_MESSAGE_MAP(CUtil7252App, CWinAppEx) - ON_COMMAND(ID_HELP, &CWinApp::OnHelp) -END_MESSAGE_MAP() - - -// CUtil7252App construction - -CUtil7252App::CUtil7252App() -{ - // TODO: add construction code here, - // Place all significant initialization in InitInstance -} - - -// The one and only CUtil7252App object - -CUtil7252App theApp; - - -// CUtil7252App initialization - -BOOL CUtil7252App::InitInstance() -{ - int nCardID = 0; - I16 hCard; - CString strTemp; - INT_PTR nResponse; - - // InitCommonControlsEx() is required on Windows XP if an application - // manifest specifies use of ComCtl32.dll version 6 or later to enable - // visual styles. Otherwise, any window creation will fail. - INITCOMMONCONTROLSEX InitCtrls; - InitCtrls.dwSize = sizeof(InitCtrls); - // Set this to include all the common control classes you want to use - // in your application. - InitCtrls.dwICC = ICC_WIN95_CLASSES; - InitCommonControlsEx(&InitCtrls); - - CWinAppEx::InitInstance(); - - AfxEnableControlContainer(); - - // Standard initialization - // If you are not using these features and wish to reduce the size - // of your final executable, you should remove from the following - // the specific initialization routines you do not need - // Change the registry key under which our settings are stored - // TODO: You should modify this string to be something appropriate - // such as the name of your company or organization - SetRegistryKey(_T("Local AppWizard-Generated Applications")); - - CCardIDDlg CardDlg( nCardID ); - - nResponse = CardDlg.DoModal(); - if (nResponse == IDOK) - { - nCardID = CardDlg.GetCardID(); - - if ((hCard=Register_Card(PCI_7252, nCardID)) < 0) - { - strTemp.Format( TEXT("Register_Card Error = %d"), hCard); - AfxMessageBox( strTemp ); - } - else - { - CUtil7252Dlg dlg(hCard); - m_pMainWnd = &dlg; - nResponse = dlg.DoModal(); - if (nResponse == IDOK) - { - // TODO: Place code here to handle when the dialog is - // dismissed with OK - } - else if (nResponse == IDCANCEL) - { - // TODO: Place code here to handle when the dialog is - // dismissed with Cancel - } - - if (hCard >= 0) Release_Card(hCard); - } - - } - else if (nResponse == IDCANCEL) - { - // TODO: Place code here to handle when the dialog is - // dismissed with Cancel - } - - - // Since the dialog has been closed, return FALSE so that we exit the - // application, rather than start the application's message pump. - return FALSE; -} diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7252/Sdk7252/Util7252.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7252/Sdk7252/Util7252.h deleted file mode 100644 index 62b1a7c..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7252/Sdk7252/Util7252.h +++ /dev/null @@ -1,32 +0,0 @@ - -// Util7252.h : main header file for the PROJECT_NAME application -// - -#pragma once - -#ifndef __AFXWIN_H__ - #error "include 'stdafx.h' before including this file for PCH" -#endif - -#include "resource.h" // main symbols - - -// CUtil7252App: -// See Util7252.cpp for the implementation of this class -// - -class CUtil7252App : public CWinAppEx -{ -public: - CUtil7252App(); - -// Overrides - public: - virtual BOOL InitInstance(); - -// Implementation - - DECLARE_MESSAGE_MAP() -}; - -extern CUtil7252App theApp; \ No newline at end of file diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7252/Sdk7252/Util7252.rc b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7252/Sdk7252/Util7252.rc deleted file mode 100644 index 788a083..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7252/Sdk7252/Util7252.rc +++ /dev/null @@ -1,326 +0,0 @@ -// Microsoft Visual C++ generated resource script. -// -#include "resource.h" - -#define APSTUDIO_READONLY_SYMBOLS -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 2 resource. -// -#ifndef APSTUDIO_INVOKED -#include "targetver.h" -#endif -#include "afxres.h" - -///////////////////////////////////////////////////////////////////////////// -#undef APSTUDIO_READONLY_SYMBOLS - -///////////////////////////////////////////////////////////////////////////// -// Chinese (Taiwan) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_CHT) -#ifdef _WIN32 -LANGUAGE LANG_CHINESE, SUBLANG_CHINESE_TRADITIONAL -#pragma code_page(950) -#endif //_WIN32 - -#ifdef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// TEXTINCLUDE -// - -1 TEXTINCLUDE -BEGIN - "resource.h\0" -END - -2 TEXTINCLUDE -BEGIN - "#ifndef APSTUDIO_INVOKED\r\n" - "#include ""targetver.h""\r\n" - "#endif\r\n" - "#include ""afxres.h""\r\n" - "\0" -END - -3 TEXTINCLUDE -BEGIN - "#define _AFX_NO_SPLITTER_RESOURCES\r\n" - "#define _AFX_NO_OLE_RESOURCES\r\n" - "#define _AFX_NO_TRACKER_RESOURCES\r\n" - "#define _AFX_NO_PROPERTY_RESOURCES\r\n" - "\r\n" - "#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)\r\n" - "LANGUAGE 9, 1\r\n" - "#pragma code_page(1252)\r\n" - "#include ""res\\Util7252.rc2"" // non-Microsoft Visual C++ edited resources\r\n" - "#include ""afxres.rc"" // Standard components\r\n" - "#endif\r\n" - "\0" -END - -#endif // APSTUDIO_INVOKED - -#endif // Chinese (Taiwan) resources -///////////////////////////////////////////////////////////////////////////// - - -///////////////////////////////////////////////////////////////////////////// -// English (U.S.) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -#ifdef _WIN32 -LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US -#pragma code_page(1252) -#endif //_WIN32 - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog -// - -IDD_ABOUTBOX DIALOGEX 0, 0, 170, 62 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "About Util7252" -FONT 8, "MS Shell Dlg", 0, 0, 0x1 -BEGIN - ICON IDR_MAINFRAME,IDC_STATIC,14,14,21,20 - LTEXT "Util7252, Version 1.0",IDC_STATIC,42,14,114,8,SS_NOPREFIX - LTEXT "Copyright (C) 2010",IDC_STATIC,42,26,114,8 - DEFPUSHBUTTON "OK",IDOK,113,41,50,14,WS_GROUP -END - -IDD_UTIL7252_DIALOG DIALOGEX 0, 0, 320, 98 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU -EXSTYLE WS_EX_APPWINDOW -CAPTION "PCI-7252" -FONT 8, "MS Shell Dlg", 0, 0, 0x1 -BEGIN - ICON IDI_ICON_BLACK,IDC_ICON_DI00,284,11,20,20 - ICON IDI_ICON_BLACK,IDC_ICON_DI01,266,11,20,20 - GROUPBOX "Digital Input",IDC_STATIC,7,3,304,42 - CONTROL "",IDC_CHECK_DO00,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,290,63,12,12 - CONTROL "",IDC_CHECK_DO01,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,272,63,12,12 - CONTROL "",IDC_CHECK_DO02,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,254,63,12,12 - CONTROL "",IDC_CHECK_DO03,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,236,63,12,12 - CONTROL "",IDC_CHECK_DO04,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,218,63,12,12 - CONTROL "",IDC_CHECK_DO05,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,200,63,12,12 - CONTROL "",IDC_CHECK_DO06,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,182,63,12,12 - CONTROL "",IDC_CHECK_DO07,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,164,63,12,12 - LTEXT " 7 0",IDC_STATIC,159,76,140,13 - GROUPBOX "Digital Output",IDC_STATIC,7,49,304,41 - ICON IDI_ICON_BLACK,IDC_ICON_DI02,247,11,20,20 - ICON IDI_ICON_BLACK,IDC_ICON_DI03,229,11,20,20 - ICON IDI_ICON_BLACK,IDC_ICON_DI04,211,11,20,20 - ICON IDI_ICON_BLACK,IDC_ICON_DI05,193,11,20,20 - ICON IDI_ICON_BLACK,IDC_ICON_DI06,175,11,20,20 - ICON IDI_ICON_BLACK,IDC_ICON_DI07,157,11,20,20 - ICON IDI_ICON_BLACK,IDC_ICON_DI08,139,11,20,20 - ICON IDI_ICON_BLACK,IDC_ICON_DI09,121,11,20,20 - ICON IDI_ICON_BLACK,IDC_ICON_DI10,103,11,20,20 - ICON IDI_ICON_BLACK,IDC_ICON_DI11,85,11,20,20 - ICON IDI_ICON_BLACK,IDC_ICON_DI12,67,11,20,20 - ICON IDI_ICON_BLACK,IDC_ICON_DI13,49,11,20,20 - ICON IDI_ICON_BLACK,IDC_ICON_DI14,31,11,20,20 - ICON IDI_ICON_BLACK,IDC_ICON_DI15,13,11,20,20 - LTEXT " 15 0",IDC_STATIC,18,30,283,13 -END - - -///////////////////////////////////////////////////////////////////////////// -// -// DESIGNINFO -// - -#ifdef APSTUDIO_INVOKED -GUIDELINES DESIGNINFO -BEGIN - IDD_ABOUTBOX, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 163 - TOPMARGIN, 7 - BOTTOMMARGIN, 55 - END -END -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// Icon -// - -// Icon with lowest ID value placed first to ensure application icon -// remains consistent on all systems. -IDR_MAINFRAME ICON "res\\Util7252.ico" -IDI_ICON_BLACK ICON "res\\black.ico" -IDI_ICON_GREEN ICON "res\\green.ico" -IDI_ICON_RED ICON "res\\red.ico" - -///////////////////////////////////////////////////////////////////////////// -// -// Version -// - -VS_VERSION_INFO VERSIONINFO - FILEVERSION 1,0,0,1 - PRODUCTVERSION 1,0,0,1 - FILEFLAGSMASK 0x3fL -#ifdef _DEBUG - FILEFLAGS 0x1L -#else - FILEFLAGS 0x0L -#endif - FILEOS 0x4L - FILETYPE 0x1L - FILESUBTYPE 0x0L -BEGIN - BLOCK "StringFileInfo" - BEGIN - BLOCK "040904e4" - BEGIN - VALUE "CompanyName", "TODO: " - VALUE "FileDescription", "TODO: " - VALUE "FileVersion", "1.0.0.1" - VALUE "InternalName", "Util7252.exe" - VALUE "LegalCopyright", "TODO: (c) . All rights reserved." - VALUE "OriginalFilename", "Util7252.exe" - VALUE "ProductName", "TODO: " - VALUE "ProductVersion", "1.0.0.1" - END - END - BLOCK "VarFileInfo" - BEGIN - VALUE "Translation", 0x409, 1252 - END -END - - -///////////////////////////////////////////////////////////////////////////// -// -// String Table -// - -STRINGTABLE -BEGIN - IDS_ABOUTBOX "&About Util7252..." -END - -#endif // English (U.S.) resources -///////////////////////////////////////////////////////////////////////////// - - -///////////////////////////////////////////////////////////////////////////// -// English (U.K.) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENG) -#ifdef _WIN32 -LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_UK -#pragma code_page(1252) -#endif //_WIN32 - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog -// - -IDD_CARDID_DIALOG DIALOGEX 0, 0, 172, 89 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "Card ID" -FONT 8, "MS Shell Dlg", 400, 0, 0x1 -BEGIN - COMBOBOX IDC_COMBO_CARDID,75,17,71,126,CBS_DROPDOWN | WS_VSCROLL | WS_TABSTOP - LTEXT "Card Number",IDC_STATIC_01,21,18,46,12 - PUSHBUTTON "OK",IDOK,22,50,58,19 - PUSHBUTTON "CANCEL",IDCANCEL,86,50,58,19 -END - - -///////////////////////////////////////////////////////////////////////////// -// -// DESIGNINFO -// - -#ifdef APSTUDIO_INVOKED -GUIDELINES DESIGNINFO -BEGIN - IDD_CARDID_DIALOG, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 165 - TOPMARGIN, 7 - BOTTOMMARGIN, 82 - END -END -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog Info -// - -IDD_CARDID_DIALOG DLGINIT -BEGIN - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0030, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0031, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0032, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0033, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0034, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0035, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0036, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0037, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0038, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0039, - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3031, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3131, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3231, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3331, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3431, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3531, "\000" - 0 -END - -#endif // English (U.K.) resources -///////////////////////////////////////////////////////////////////////////// - - - -#ifndef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 3 resource. -// -#define _AFX_NO_SPLITTER_RESOURCES -#define _AFX_NO_OLE_RESOURCES -#define _AFX_NO_TRACKER_RESOURCES -#define _AFX_NO_PROPERTY_RESOURCES - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -LANGUAGE 9, 1 -#pragma code_page(1252) -#include "res\Util7252.rc2" // non-Microsoft Visual C++ edited resources -#include "afxres.rc" // Standard components -#endif - -///////////////////////////////////////////////////////////////////////////// -#endif // not APSTUDIO_INVOKED - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7252/Sdk7252/Util7252.sln b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7252/Sdk7252/Util7252.sln deleted file mode 100644 index f82292b..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7252/Sdk7252/Util7252.sln +++ /dev/null @@ -1,26 +0,0 @@ - -Microsoft Visual Studio Solution File, Format Version 10.00 -# Visual Studio 2008 -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "Util7252", "Util7252.vcproj", "{D447B277-14C9-4FDE-93B9-A3D23FBB378D}" -EndProject -Global - GlobalSection(SolutionConfigurationPlatforms) = preSolution - Debug|Win32 = Debug|Win32 - Debug|x64 = Debug|x64 - Release|Win32 = Release|Win32 - Release|x64 = Release|x64 - EndGlobalSection - GlobalSection(ProjectConfigurationPlatforms) = postSolution - {D447B277-14C9-4FDE-93B9-A3D23FBB378D}.Debug|Win32.ActiveCfg = Debug|Win32 - {D447B277-14C9-4FDE-93B9-A3D23FBB378D}.Debug|Win32.Build.0 = Debug|Win32 - {D447B277-14C9-4FDE-93B9-A3D23FBB378D}.Debug|x64.ActiveCfg = Debug|x64 - {D447B277-14C9-4FDE-93B9-A3D23FBB378D}.Debug|x64.Build.0 = Debug|x64 - {D447B277-14C9-4FDE-93B9-A3D23FBB378D}.Release|Win32.ActiveCfg = Release|Win32 - {D447B277-14C9-4FDE-93B9-A3D23FBB378D}.Release|Win32.Build.0 = Release|Win32 - {D447B277-14C9-4FDE-93B9-A3D23FBB378D}.Release|x64.ActiveCfg = Release|x64 - {D447B277-14C9-4FDE-93B9-A3D23FBB378D}.Release|x64.Build.0 = Release|x64 - EndGlobalSection - GlobalSection(SolutionProperties) = preSolution - HideSolutionNode = FALSE - EndGlobalSection -EndGlobal diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7252/Sdk7252/Util7252.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7252/Sdk7252/Util7252.suo deleted file mode 100644 index 5b00709..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7252/Sdk7252/Util7252.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7252/Sdk7252/Util7252.vcproj b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7252/Sdk7252/Util7252.vcproj deleted file mode 100644 index 730ff56..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7252/Sdk7252/Util7252.vcproj +++ /dev/null @@ -1,483 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7252/Sdk7252/Util7252Dlg.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7252/Sdk7252/Util7252Dlg.cpp deleted file mode 100644 index 01fe6a2..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7252/Sdk7252/Util7252Dlg.cpp +++ /dev/null @@ -1,561 +0,0 @@ - -// Util7252Dlg.cpp : implementation file -// - -#include "stdafx.h" -#include "Util7252.h" -#include "Util7252Dlg.h" - -#ifdef _DEBUG -#define new DEBUG_NEW -#endif - - -// CAboutDlg dialog used for App About - -class CAboutDlg : public CDialog -{ -public: - CAboutDlg(); - -// Dialog Data - enum { IDD = IDD_ABOUTBOX }; - - protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - -// Implementation -protected: - DECLARE_MESSAGE_MAP() -}; - -CAboutDlg::CAboutDlg() : CDialog(CAboutDlg::IDD) -{ -} - -void CAboutDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); -} - -BEGIN_MESSAGE_MAP(CAboutDlg, CDialog) -END_MESSAGE_MAP() - - -// CUtil7252Dlg dialog - - - - -CUtil7252Dlg::CUtil7252Dlg(I16 hCard, CWnd* pParent /*=NULL*/) - : CDialog(CUtil7252Dlg::IDD, pParent) -{ - m_hIcon = AfxGetApp()->LoadIcon(IDR_MAINFRAME); - m_nTimer = -1; - m_hCard = hCard; - - m_dwInData = 0x00000000; - m_dwOutData0 = m_dwOutData1 = 0x00000000; -} - -void CUtil7252Dlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); - DDX_Control(pDX, IDC_ICON_DI00, m_Icon_DI00); - DDX_Control(pDX, IDC_ICON_DI01, m_Icon_DI01); - DDX_Control(pDX, IDC_ICON_DI02, m_Icon_DI02); - DDX_Control(pDX, IDC_ICON_DI03, m_Icon_DI03); - DDX_Control(pDX, IDC_ICON_DI04, m_Icon_DI04); - DDX_Control(pDX, IDC_ICON_DI05, m_Icon_DI05); - DDX_Control(pDX, IDC_ICON_DI06, m_Icon_DI06); - DDX_Control(pDX, IDC_ICON_DI07, m_Icon_DI07); - DDX_Control(pDX, IDC_ICON_DI08, m_Icon_DI08); - DDX_Control(pDX, IDC_ICON_DI09, m_Icon_DI09); - DDX_Control(pDX, IDC_ICON_DI10, m_Icon_DI10); - DDX_Control(pDX, IDC_ICON_DI11, m_Icon_DI11); - DDX_Control(pDX, IDC_ICON_DI12, m_Icon_DI12); - DDX_Control(pDX, IDC_ICON_DI13, m_Icon_DI13); - DDX_Control(pDX, IDC_ICON_DI14, m_Icon_DI14); - DDX_Control(pDX, IDC_ICON_DI15, m_Icon_DI15); -} - -BEGIN_MESSAGE_MAP(CUtil7252Dlg, CDialog) - ON_WM_SYSCOMMAND() - ON_WM_PAINT() - ON_WM_QUERYDRAGICON() - //}}AFX_MSG_MAP - ON_BN_CLICKED(IDC_CHECK_DO00, &CUtil7252Dlg::OnOut00) - ON_BN_CLICKED(IDC_CHECK_DO01, &CUtil7252Dlg::OnOut01) - ON_BN_CLICKED(IDC_CHECK_DO02, &CUtil7252Dlg::OnOut02) - ON_BN_CLICKED(IDC_CHECK_DO03, &CUtil7252Dlg::OnOut03) - ON_BN_CLICKED(IDC_CHECK_DO04, &CUtil7252Dlg::OnOut04) - ON_BN_CLICKED(IDC_CHECK_DO05, &CUtil7252Dlg::OnOut05) - ON_BN_CLICKED(IDC_CHECK_DO06, &CUtil7252Dlg::OnOut06) - ON_BN_CLICKED(IDC_CHECK_DO07, &CUtil7252Dlg::OnOut07) - ON_WM_DESTROY() - ON_WM_TIMER() -END_MESSAGE_MAP() - - -// CUtil7252Dlg message handlers - -BOOL CUtil7252Dlg::OnInitDialog() -{ - CDialog::OnInitDialog(); - - // Add "About..." menu item to system menu. - - // IDM_ABOUTBOX must be in the system command range. - ASSERT((IDM_ABOUTBOX & 0xFFF0) == IDM_ABOUTBOX); - ASSERT(IDM_ABOUTBOX < 0xF000); - - CMenu* pSysMenu = GetSystemMenu(FALSE); - if (pSysMenu != NULL) - { - BOOL bNameValid; - CString strAboutMenu; - bNameValid = strAboutMenu.LoadString(IDS_ABOUTBOX); - ASSERT(bNameValid); - if (!strAboutMenu.IsEmpty()) - { - pSysMenu->AppendMenu(MF_SEPARATOR); - pSysMenu->AppendMenu(MF_STRING, IDM_ABOUTBOX, strAboutMenu); - } - } - - // Set the icon for this dialog. The framework does this automatically - // when the application's main window is not a dialog - SetIcon(m_hIcon, TRUE); // Set big icon - SetIcon(m_hIcon, FALSE); // Set small icon - - // TODO: Add extra initialization here - m_nTimer = SetTimer( 1, 50, NULL ); - - return TRUE; // return TRUE unless you set the focus to a control -} - -void CUtil7252Dlg::OnSysCommand(UINT nID, LPARAM lParam) -{ - if ((nID & 0xFFF0) == IDM_ABOUTBOX) - { - CAboutDlg dlgAbout; - dlgAbout.DoModal(); - } - else - { - CDialog::OnSysCommand(nID, lParam); - } -} - -// If you add a minimize button to your dialog, you will need the code below -// to draw the icon. For MFC applications using the document/view model, -// this is automatically done for you by the framework. - -void CUtil7252Dlg::OnPaint() -{ - if (IsIconic()) - { - CPaintDC dc(this); // device context for painting - - SendMessage(WM_ICONERASEBKGND, reinterpret_cast(dc.GetSafeHdc()), 0); - - // Center icon in client rectangle - int cxIcon = GetSystemMetrics(SM_CXICON); - int cyIcon = GetSystemMetrics(SM_CYICON); - CRect rect; - GetClientRect(&rect); - int x = (rect.Width() - cxIcon + 1) / 2; - int y = (rect.Height() - cyIcon + 1) / 2; - - // Draw the icon - dc.DrawIcon(x, y, m_hIcon); - } - else - { - CDialog::OnPaint(); - } -} - -// The system calls this function to obtain the cursor to display while the user drags -// the minimized window. -HCURSOR CUtil7252Dlg::OnQueryDragIcon() -{ - return static_cast(m_hIcon); -} - - -void CUtil7252Dlg::OnDestroy() -{ - CDialog::OnDestroy(); - - // TODO: Add your message handler code here - if( m_nTimer != -1 ) - KillTimer( m_nTimer ); -} - -void CUtil7252Dlg::OnTimer(UINT_PTR nIDEvent) -{ - // TODO: Add your message handler code here and/or call default - U32 dwPortData, dwChangeMask; - - DI_ReadPort(m_hCard, 0 ,&dwPortData); - dwChangeMask = dwPortData ^ m_dwInData; - - if( dwChangeMask != 0x00 ) // Input had been changed - { - m_dwInData = dwPortData; // update the DI data - - if( (dwChangeMask & 0x01) == 0x01 ) // if the target bit is changed - { - if( (dwPortData & 0x01) == 0x01 ) - { - m_Icon_DI00.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_DI00.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - - if( (dwChangeMask & 0x02) == 0x02 ) // if the target bit is changed - { - if( (dwPortData & 0x02) == 0x02 ) - { - m_Icon_DI01.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_DI01.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - if( (dwChangeMask & 0x04) == 0x04 ) // if the target bit is changed - { - if( (dwPortData & 0x04) == 0x04 ) - { - m_Icon_DI02.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_DI02.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - if( (dwChangeMask & 0x08) == 0x08 ) // if the target bit is changed - { - if( (dwPortData & 0x08) == 0x08 ) - { - m_Icon_DI03.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_DI03.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - if( (dwChangeMask & 0x10) == 0x10 ) // if the target bit is changed - { - if( (dwPortData & 0x10) == 0x10 ) - { - m_Icon_DI04.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_DI04.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - if( (dwChangeMask & 0x20) == 0x20 ) // if the target bit is changed - { - if( (dwPortData & 0x20) == 0x20 ) - { - m_Icon_DI05.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_DI05.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - if( (dwChangeMask & 0x40) == 0x40 ) // if the target bit is changed - { - if( (dwPortData & 0x40) == 0x40 ) - { - m_Icon_DI06.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_DI06.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - if( (dwChangeMask & 0x80) == 0x80 ) // if the target bit is changed - { - if( (dwPortData & 0x80) == 0x80 ) - { - m_Icon_DI07.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_DI07.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - - if( (dwChangeMask & 0x100) == 0x100 ) // if the target bit is changed - { - if( (dwPortData & 0x100) == 0x100 ) - { - m_Icon_DI08.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_DI08.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - - if( (dwChangeMask & 0x200) == 0x200 ) // if the target bit is changed - { - if( (dwPortData & 0x200) == 0x200 ) - { - m_Icon_DI09.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_DI09.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - if( (dwChangeMask & 0x400) == 0x400 ) // if the target bit is changed - { - if( (dwPortData & 0x400) == 0x400 ) - { - m_Icon_DI10.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_DI10.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - if( (dwChangeMask & 0x800) == 0x800 ) // if the target bit is changed - { - if( (dwPortData & 0x800) == 0x800 ) - { - m_Icon_DI11.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_DI11.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - if( (dwChangeMask & 0x1000) == 0x1000 ) // if the target bit is changed - { - if( (dwPortData & 0x1000) == 0x1000 ) - { - m_Icon_DI12.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_DI12.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - if( (dwChangeMask & 0x2000) == 0x2000 ) // if the target bit is changed - { - if( (dwPortData & 0x2000) == 0x2000 ) - { - m_Icon_DI13.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_DI13.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - if( (dwChangeMask & 0x4000) == 0x4000 ) // if the target bit is changed - { - if( (dwPortData & 0x4000) == 0x4000 ) - { - m_Icon_DI14.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_DI14.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - if( (dwChangeMask & 0x8000) == 0x8000 ) // if the target bit is changed - { - if( (dwPortData & 0x8000) == 0x8000 ) - { - m_Icon_DI15.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_DI15.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - - } - - CDialog::OnTimer(nIDEvent); -} - -void CUtil7252Dlg::OnOut00() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_DO00 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_dwOutData0 |= 0x01; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_dwOutData0 &= (~0x01); - } - - DO_WritePort( m_hCard, 0, m_dwOutData0 ); - -} - -void CUtil7252Dlg::OnOut01() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_DO01 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_dwOutData0 |= 0x02; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_dwOutData0 &= (~0x02); - } - - DO_WritePort( m_hCard, 0, m_dwOutData0 ); -} - -void CUtil7252Dlg::OnOut02() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_DO02 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_dwOutData0 |= 0x04; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_dwOutData0 &= (~0x04); - } - - DO_WritePort( m_hCard, 0, m_dwOutData0 ); -} - -void CUtil7252Dlg::OnOut03() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_DO03 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_dwOutData0 |= 0x08; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_dwOutData0 &= (~0x08); - } - - DO_WritePort( m_hCard, 0, m_dwOutData0 ); -} - -void CUtil7252Dlg::OnOut04() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_DO04 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_dwOutData0 |= 0x10; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_dwOutData0 &= (~0x10); - } - - DO_WritePort( m_hCard, 0, m_dwOutData0 ); -} - -void CUtil7252Dlg::OnOut05() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_DO05 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_dwOutData0 |= 0x20; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_dwOutData0 &= (~0x20); - } - - DO_WritePort( m_hCard, 0, m_dwOutData0 ); -} - -void CUtil7252Dlg::OnOut06() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_DO06 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_dwOutData0 |= 0x40; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_dwOutData0 &= (~0x40); - } - - DO_WritePort( m_hCard, 0, m_dwOutData0 ); -} - -void CUtil7252Dlg::OnOut07() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_DO07 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_dwOutData0 |= 0x80; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_dwOutData0 &= (~0x80); - } - - DO_WritePort( m_hCard, 0, m_dwOutData0 ); -} - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7252/Sdk7252/Util7252Dlg.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7252/Sdk7252/Util7252Dlg.h deleted file mode 100644 index 5bbcef2..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7252/Sdk7252/Util7252Dlg.h +++ /dev/null @@ -1,66 +0,0 @@ - -// Util7252Dlg.h : header file -// -#include "Dask64.h" - -#pragma once - - -// CUtil7252Dlg dialog -class CUtil7252Dlg : public CDialog -{ -// Construction -public: - CUtil7252Dlg(I16 hCard, CWnd* pParent = NULL); // standard constructor - -// Dialog Data - enum { IDD = IDD_UTIL7252_DIALOG }; - - protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - - -// Implementation -protected: - HICON m_hIcon; - I16 m_hCard; - UINT_PTR m_nTimer; - U32 m_dwInData; - U32 m_dwOutData0; - U32 m_dwOutData1; - - // Generated message map functions - virtual BOOL OnInitDialog(); - afx_msg void OnSysCommand(UINT nID, LPARAM lParam); - afx_msg void OnPaint(); - afx_msg HCURSOR OnQueryDragIcon(); - DECLARE_MESSAGE_MAP() - -public: - CStatic m_Icon_DI00; - CStatic m_Icon_DI01; - CStatic m_Icon_DI02; - CStatic m_Icon_DI03; - CStatic m_Icon_DI04; - CStatic m_Icon_DI05; - CStatic m_Icon_DI06; - CStatic m_Icon_DI07; - CStatic m_Icon_DI08; - CStatic m_Icon_DI09; - CStatic m_Icon_DI10; - CStatic m_Icon_DI11; - CStatic m_Icon_DI12; - CStatic m_Icon_DI13; - CStatic m_Icon_DI14; - CStatic m_Icon_DI15; - afx_msg void OnDestroy(); - afx_msg void OnTimer(UINT_PTR nIDEvent); - afx_msg void OnOut00(); - afx_msg void OnOut01(); - afx_msg void OnOut02(); - afx_msg void OnOut03(); - afx_msg void OnOut04(); - afx_msg void OnOut05(); - afx_msg void OnOut06(); - afx_msg void OnOut07(); -}; diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7252/Sdk7252/Util7258.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7252/Sdk7252/Util7258.suo deleted file mode 100644 index 18b59ff..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7252/Sdk7252/Util7258.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7252/Sdk7252/res/Util7252.ico b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7252/Sdk7252/res/Util7252.ico deleted file mode 100644 index d56fbcd..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7252/Sdk7252/res/Util7252.ico and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7252/Sdk7252/res/Util7252.rc2 b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7252/Sdk7252/res/Util7252.rc2 deleted file mode 100644 index cffc198..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7252/Sdk7252/res/Util7252.rc2 +++ /dev/null @@ -1,13 +0,0 @@ -// -// Util7258.RC2 - resources Microsoft Visual C++ does not edit directly -// - -#ifdef APSTUDIO_INVOKED -#error this file is not editable by Microsoft Visual C++ -#endif //APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// Add manually edited resources here... - -///////////////////////////////////////////////////////////////////////////// diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7252/Sdk7252/res/black.ico b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7252/Sdk7252/res/black.ico deleted file mode 100644 index b5c375f..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7252/Sdk7252/res/black.ico and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7252/Sdk7252/res/green.ico b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7252/Sdk7252/res/green.ico deleted file mode 100644 index d9a9fd3..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7252/Sdk7252/res/green.ico and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7252/Sdk7252/res/red.ico b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7252/Sdk7252/res/red.ico deleted file mode 100644 index 7644596..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7252/Sdk7252/res/red.ico and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7252/Sdk7252/resource.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7252/Sdk7252/resource.h deleted file mode 100644 index 1600b4c..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7252/Sdk7252/resource.h +++ /dev/null @@ -1,51 +0,0 @@ -//{{NO_DEPENDENCIES}} -// Microsoft Visual C++ generated include file. -// Used by Util7252.rc -// -#define IDM_ABOUTBOX 0x0010 -#define IDD_ABOUTBOX 100 -#define IDS_ABOUTBOX 101 -#define IDD_UTIL7252_DIALOG 102 -#define IDR_MAINFRAME 128 -#define IDI_ICON_BLACK 129 -#define IDI_ICON_GREEN 130 -#define IDI_ICON_RED 131 -#define IDD_CARDID_DIALOG 132 -#define IDC_COMBO_CARDID 1000 -#define IDC_STATIC_01 1003 -#define IDC_ICON_DI00 1004 -#define IDC_ICON_DI01 1005 -#define IDC_ICON_DI02 1006 -#define IDC_ICON_DI03 1007 -#define IDC_ICON_DI04 1008 -#define IDC_ICON_DI05 1009 -#define IDC_ICON_DI06 1010 -#define IDC_ICON_DI07 1011 -#define IDC_ICON_DI08 1012 -#define IDC_ICON_DI09 1013 -#define IDC_ICON_DI10 1014 -#define IDC_ICON_DI11 1015 -#define IDC_ICON_DI12 1016 -#define IDC_ICON_DI13 1017 -#define IDC_ICON_DI14 1018 -#define IDC_ICON_DI15 1019 -#define IDC_CHECK_DO00 1020 -#define IDC_CHECK_DO01 1021 -#define IDC_CHECK_DO02 1022 -#define IDC_CHECK_DO03 1023 -#define IDC_CHECK_DO04 1024 -#define IDC_CHECK_DO05 1025 -#define IDC_CHECK_DO06 1026 -#define IDC_CHECK_DO07 1027 - - -// Next default values for new objects -// -#ifdef APSTUDIO_INVOKED -#ifndef APSTUDIO_READONLY_SYMBOLS -#define _APS_NEXT_RESOURCE_VALUE 134 -#define _APS_NEXT_COMMAND_VALUE 32771 -#define _APS_NEXT_CONTROL_VALUE 1000 -#define _APS_NEXT_SYMED_VALUE 101 -#endif -#endif diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7252/Sdk7252/stdafx.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7252/Sdk7252/stdafx.cpp deleted file mode 100644 index 0771d8c..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7252/Sdk7252/stdafx.cpp +++ /dev/null @@ -1,8 +0,0 @@ - -// stdafx.cpp : source file that includes just the standard includes -// Util7252.pch will be the pre-compiled header -// stdafx.obj will contain the pre-compiled type information - -#include "stdafx.h" - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7252/Sdk7252/stdafx.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7252/Sdk7252/stdafx.h deleted file mode 100644 index 12123e2..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7252/Sdk7252/stdafx.h +++ /dev/null @@ -1,60 +0,0 @@ - -// stdafx.h : include file for standard system include files, -// or project specific include files that are used frequently, -// but are changed infrequently - -#pragma once - -#ifndef _SECURE_ATL -#define _SECURE_ATL 1 -#endif - -#ifndef VC_EXTRALEAN -#define VC_EXTRALEAN // Exclude rarely-used stuff from Windows headers -#endif - -#include "targetver.h" - -#define _ATL_CSTRING_EXPLICIT_CONSTRUCTORS // some CString constructors will be explicit - -// turns off MFC's hiding of some common and often safely ignored warning messages -#define _AFX_ALL_WARNINGS - -#include // MFC core and standard components -#include // MFC extensions - - -#include // MFC Automation classes - - - -#ifndef _AFX_NO_OLE_SUPPORT -#include // MFC support for Internet Explorer 4 Common Controls -#endif -#ifndef _AFX_NO_AFXCMN_SUPPORT -#include // MFC support for Windows Common Controls -#endif // _AFX_NO_AFXCMN_SUPPORT - -#include // MFC support for ribbons and control bars - - - - - - - - - -#ifdef _UNICODE -#if defined _M_IX86 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='x86' publicKeyToken='6595b64144ccf1df' language='*'\"") -#elif defined _M_IA64 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='ia64' publicKeyToken='6595b64144ccf1df' language='*'\"") -#elif defined _M_X64 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='amd64' publicKeyToken='6595b64144ccf1df' language='*'\"") -#else -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='*' publicKeyToken='6595b64144ccf1df' language='*'\"") -#endif -#endif - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7252/Sdk7252/targetver.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7252/Sdk7252/targetver.h deleted file mode 100644 index 11730d5..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7252/Sdk7252/targetver.h +++ /dev/null @@ -1,26 +0,0 @@ - -#pragma once - -// The following macros define the minimum required platform. The minimum required platform -// is the earliest version of Windows, Internet Explorer etc. that has the necessary features to run -// your application. The macros work by enabling all features available on platform versions up to and -// including the version specified. - -// Modify the following defines if you have to target a platform prior to the ones specified below. -// Refer to MSDN for the latest info on corresponding values for different platforms. -#ifndef WINVER // Specifies that the minimum required platform is Windows Vista. -#define WINVER 0x0600 // Change this to the appropriate value to target other versions of Windows. -#endif - -#ifndef _WIN32_WINNT // Specifies that the minimum required platform is Windows Vista. -#define _WIN32_WINNT 0x0600 // Change this to the appropriate value to target other versions of Windows. -#endif - -#ifndef _WIN32_WINDOWS // Specifies that the minimum required platform is Windows 98. -#define _WIN32_WINDOWS 0x0410 // Change this to the appropriate value to target Windows Me or later. -#endif - -#ifndef _WIN32_IE // Specifies that the minimum required platform is Internet Explorer 7.0. -#define _WIN32_IE 0x0700 // Change this to the appropriate value to target other versions of IE. -#endif - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7256/SDK7256int/7256int.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7256/SDK7256int/7256int.cpp deleted file mode 100644 index 41b5359..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7256/SDK7256int/7256int.cpp +++ /dev/null @@ -1,110 +0,0 @@ - -// 7256int.cpp : Defines the class behaviors for the application. -// - -#include "stdafx.h" -#include "7256int.h" -#include "7256intDlg.h" -#include "CardIDDlg.h" - -#ifdef _DEBUG -#define new DEBUG_NEW -#endif - - -// C7256intApp - -BEGIN_MESSAGE_MAP(C7256intApp, CWinAppEx) - ON_COMMAND(ID_HELP, &CWinApp::OnHelp) -END_MESSAGE_MAP() - - -// C7256intApp construction - -C7256intApp::C7256intApp() -{ - // TODO: add construction code here, - // Place all significant initialization in InitInstance -} - - -// The one and only C7256intApp object - -C7256intApp theApp; - - -// C7256intApp initialization - -BOOL C7256intApp::InitInstance() -{ - int nCardID = 0; - I16 hCard; - CString strTemp; - INT_PTR nResponse; - - // InitCommonControlsEx() is required on Windows XP if an application - // manifest specifies use of ComCtl32.dll version 6 or later to enable - // visual styles. Otherwise, any window creation will fail. - INITCOMMONCONTROLSEX InitCtrls; - InitCtrls.dwSize = sizeof(InitCtrls); - // Set this to include all the common control classes you want to use - // in your application. - InitCtrls.dwICC = ICC_WIN95_CLASSES; - InitCommonControlsEx(&InitCtrls); - - CWinAppEx::InitInstance(); - - AfxEnableControlContainer(); - - // Standard initialization - // If you are not using these features and wish to reduce the size - // of your final executable, you should remove from the following - // the specific initialization routines you do not need - // Change the registry key under which our settings are stored - // TODO: You should modify this string to be something appropriate - // such as the name of your company or organization - SetRegistryKey(_T("Local AppWizard-Generated Applications")); - - CCardIDDlg CardDlg( nCardID ); - - nResponse = CardDlg.DoModal(); - if (nResponse == IDOK) - { - nCardID = CardDlg.GetCardID(); - - if ((hCard=Register_Card(PCI_7256, nCardID)) < 0) - { - strTemp.Format( TEXT("Register_Card Error = %d"), hCard); - AfxMessageBox( strTemp ); - } - else - { - C7256intDlg dlg(hCard); - m_pMainWnd = &dlg; - nResponse = dlg.DoModal(); - if (nResponse == IDOK) - { - // TODO: Place code here to handle when the dialog is - // dismissed with OK - } - else if (nResponse == IDCANCEL) - { - // TODO: Place code here to handle when the dialog is - // dismissed with Cancel - } - - if (hCard >= 0) Release_Card(hCard); - } - - } - else if (nResponse == IDCANCEL) - { - // TODO: Place code here to handle when the dialog is - // dismissed with Cancel - } - - - // Since the dialog has been closed, return FALSE so that we exit the - // application, rather than start the application's message pump. - return FALSE; -} diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7256/SDK7256int/7256int.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7256/SDK7256int/7256int.h deleted file mode 100644 index f180fb8..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7256/SDK7256int/7256int.h +++ /dev/null @@ -1,32 +0,0 @@ - -// 7256int.h : main header file for the PROJECT_NAME application -// - -#pragma once - -#ifndef __AFXWIN_H__ - #error "include 'stdafx.h' before including this file for PCH" -#endif - -#include "resource.h" // main symbols - - -// C7256intApp: -// See 7256int.cpp for the implementation of this class -// - -class C7256intApp : public CWinAppEx -{ -public: - C7256intApp(); - -// Overrides - public: - virtual BOOL InitInstance(); - -// Implementation - - DECLARE_MESSAGE_MAP() -}; - -extern C7256intApp theApp; \ No newline at end of file diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7256/SDK7256int/7256int.rc b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7256/SDK7256int/7256int.rc deleted file mode 100644 index 926a0c5..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7256/SDK7256int/7256int.rc +++ /dev/null @@ -1,278 +0,0 @@ -// Microsoft Visual C++ generated resource script. -// -#include "resource.h" - -#define APSTUDIO_READONLY_SYMBOLS -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 2 resource. -// -#ifndef APSTUDIO_INVOKED -#include "targetver.h" -#endif -#include "afxres.h" - -///////////////////////////////////////////////////////////////////////////// -#undef APSTUDIO_READONLY_SYMBOLS - -///////////////////////////////////////////////////////////////////////////// -// Chinese (Taiwan) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_CHT) -#ifdef _WIN32 -LANGUAGE LANG_CHINESE, SUBLANG_CHINESE_TRADITIONAL -#pragma code_page(950) -#endif //_WIN32 - -#ifdef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// TEXTINCLUDE -// - -1 TEXTINCLUDE -BEGIN - "resource.h\0" -END - -2 TEXTINCLUDE -BEGIN - "#ifndef APSTUDIO_INVOKED\r\n" - "#include ""targetver.h""\r\n" - "#endif\r\n" - "#include ""afxres.h""\r\n" - "\0" -END - -3 TEXTINCLUDE -BEGIN - "#define _AFX_NO_SPLITTER_RESOURCES\r\n" - "#define _AFX_NO_OLE_RESOURCES\r\n" - "#define _AFX_NO_TRACKER_RESOURCES\r\n" - "#define _AFX_NO_PROPERTY_RESOURCES\r\n" - "\r\n" - "#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)\r\n" - "LANGUAGE 9, 1\r\n" - "#pragma code_page(1252)\r\n" - "#include ""res\\My7256int.rc2"" // non-Microsoft Visual C++ edited resources\r\n" - "#include ""afxres.rc"" // Standard components\r\n" - "#endif\r\n" - "\0" -END - -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// Icon -// - -// Icon with lowest ID value placed first to ensure application icon -// remains consistent on all systems. -IDR_MAINFRAME ICON "res\\7256int.ico" -#endif // Chinese (Taiwan) resources -///////////////////////////////////////////////////////////////////////////// - - -///////////////////////////////////////////////////////////////////////////// -// English (U.S.) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -#ifdef _WIN32 -LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US -#pragma code_page(1252) -#endif //_WIN32 - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog -// - -IDD_ABOUTBOX DIALOGEX 0, 0, 170, 62 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "About 7256int" -FONT 8, "MS Shell Dlg", 0, 0, 0x1 -BEGIN - ICON IDR_MAINFRAME,IDC_STATIC,14,14,21,20 - LTEXT "7256int, Version 1.0",IDC_STATIC,42,14,114,8,SS_NOPREFIX - LTEXT "Copyright (C) 2010",IDC_STATIC,42,26,114,8 - DEFPUSHBUTTON "OK",IDOK,113,41,50,14,WS_GROUP -END - -IDD_MY7256INT_DIALOG DIALOGEX 0, 0, 195, 161 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU -EXSTYLE WS_EX_APPWINDOW -CAPTION "PCI-7256 Interrupt Sample (INT1)" -FONT 8, "MS Shell Dlg", 0, 0, 0x1 -BEGIN - LTEXT "This program shows the number of occurrence of INT1 interrupt. INT1 interrupt is generated by external signal from DI bit-0. If you connect DO bit-0 to DI bit-0, press 'Output' button can generate an interrupt.",IDC_STATIC,25,24,151,42 - LTEXT "INT Count =",IDC_STATIC_05,54,83,85,13 - LTEXT "COS Latch Data =",IDC_STATIC_06,53,99,122,13 - PUSHBUTTON "Output",IDC_BT_OUTPUT,46,120,84,18 -END - -IDD_CARDID_DIALOG DIALOGEX 0, 0, 163, 88 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "Card ID" -FONT 8, "MS Shell Dlg", 400, 0, 0x1 -BEGIN - COMBOBOX IDC_COMBO_CARDID,73,17,71,126,CBS_DROPDOWN | WS_VSCROLL | WS_TABSTOP - LTEXT "Card Number",IDC_STATIC_01,19,18,46,12 - PUSHBUTTON "OK",IDOK,20,50,58,19 - PUSHBUTTON "CANCEL",IDCANCEL,84,50,58,19 -END - - -///////////////////////////////////////////////////////////////////////////// -// -// Version -// - -VS_VERSION_INFO VERSIONINFO - FILEVERSION 1,0,0,1 - PRODUCTVERSION 1,0,0,1 - FILEFLAGSMASK 0x3fL -#ifdef _DEBUG - FILEFLAGS 0x1L -#else - FILEFLAGS 0x0L -#endif - FILEOS 0x4L - FILETYPE 0x1L - FILESUBTYPE 0x0L -BEGIN - BLOCK "StringFileInfo" - BEGIN - BLOCK "040904e4" - BEGIN - VALUE "CompanyName", "TODO: " - VALUE "FileDescription", "TODO: " - VALUE "FileVersion", "1.0.0.1" - VALUE "InternalName", "7256int.exe" - VALUE "LegalCopyright", "TODO: (c) . All rights reserved." - VALUE "OriginalFilename", "7256int.exe" - VALUE "ProductName", "TODO: " - VALUE "ProductVersion", "1.0.0.1" - END - END - BLOCK "VarFileInfo" - BEGIN - VALUE "Translation", 0x409, 1252 - END -END - - -///////////////////////////////////////////////////////////////////////////// -// -// DESIGNINFO -// - -#ifdef APSTUDIO_INVOKED -GUIDELINES DESIGNINFO -BEGIN - IDD_ABOUTBOX, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 163 - TOPMARGIN, 7 - BOTTOMMARGIN, 55 - END - - IDD_MY7256INT_DIALOG, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 188 - TOPMARGIN, 7 - BOTTOMMARGIN, 154 - END - - IDD_CARDID_DIALOG, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 156 - TOPMARGIN, 7 - BOTTOMMARGIN, 81 - END -END -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog Info -// - -IDD_CARDID_DIALOG DLGINIT -BEGIN - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0030, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0031, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0032, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0033, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0034, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0035, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0036, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0037, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0038, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0039, - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3031, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3131, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3231, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3331, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3431, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3531, "\000" - 0 -END - - -///////////////////////////////////////////////////////////////////////////// -// -// String Table -// - -STRINGTABLE -BEGIN - IDS_ABOUTBOX "&About 7256int..." -END - -#endif // English (U.S.) resources -///////////////////////////////////////////////////////////////////////////// - - - -#ifndef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 3 resource. -// -#define _AFX_NO_SPLITTER_RESOURCES -#define _AFX_NO_OLE_RESOURCES -#define _AFX_NO_TRACKER_RESOURCES -#define _AFX_NO_PROPERTY_RESOURCES - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -LANGUAGE 9, 1 -#pragma code_page(1252) -#include "res\My7256int.rc2" // non-Microsoft Visual C++ edited resources -#include "afxres.rc" // Standard components -#endif - -///////////////////////////////////////////////////////////////////////////// -#endif // not APSTUDIO_INVOKED - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7256/SDK7256int/7256int.sln b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7256/SDK7256int/7256int.sln deleted file mode 100644 index 5dfaacc..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7256/SDK7256int/7256int.sln +++ /dev/null @@ -1,26 +0,0 @@ - -Microsoft Visual Studio Solution File, Format Version 10.00 -# Visual Studio 2008 -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "7256int", "7256int.vcproj", "{7D5D9EC5-ED97-47EE-B6F4-ACCD71069808}" -EndProject -Global - GlobalSection(SolutionConfigurationPlatforms) = preSolution - Debug|Win32 = Debug|Win32 - Debug|x64 = Debug|x64 - Release|Win32 = Release|Win32 - Release|x64 = Release|x64 - EndGlobalSection - GlobalSection(ProjectConfigurationPlatforms) = postSolution - {7D5D9EC5-ED97-47EE-B6F4-ACCD71069808}.Debug|Win32.ActiveCfg = Debug|Win32 - {7D5D9EC5-ED97-47EE-B6F4-ACCD71069808}.Debug|Win32.Build.0 = Debug|Win32 - {7D5D9EC5-ED97-47EE-B6F4-ACCD71069808}.Debug|x64.ActiveCfg = Debug|x64 - {7D5D9EC5-ED97-47EE-B6F4-ACCD71069808}.Debug|x64.Build.0 = Debug|x64 - {7D5D9EC5-ED97-47EE-B6F4-ACCD71069808}.Release|Win32.ActiveCfg = Release|Win32 - {7D5D9EC5-ED97-47EE-B6F4-ACCD71069808}.Release|Win32.Build.0 = Release|Win32 - {7D5D9EC5-ED97-47EE-B6F4-ACCD71069808}.Release|x64.ActiveCfg = Release|x64 - {7D5D9EC5-ED97-47EE-B6F4-ACCD71069808}.Release|x64.Build.0 = Release|x64 - EndGlobalSection - GlobalSection(SolutionProperties) = preSolution - HideSolutionNode = FALSE - EndGlobalSection -EndGlobal diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7256/SDK7256int/7256int.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7256/SDK7256int/7256int.suo deleted file mode 100644 index 565422b..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7256/SDK7256int/7256int.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7256/SDK7256int/7256int.vcproj b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7256/SDK7256int/7256int.vcproj deleted file mode 100644 index 208d9a2..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7256/SDK7256int/7256int.vcproj +++ /dev/null @@ -1,471 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7256/SDK7256int/7256intDlg.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7256/SDK7256int/7256intDlg.cpp deleted file mode 100644 index 6775a46..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7256/SDK7256int/7256intDlg.cpp +++ /dev/null @@ -1,251 +0,0 @@ - -// 7256intDlg.cpp : implementation file -// - -#include "stdafx.h" -#include "7256int.h" -#include "7256intDlg.h" - -#ifdef _DEBUG -#define new DEBUG_NEW -#endif - -int gIntCount; -U16 g_wCOSLData; -HANDLE ghIntEvent[2]; - -BOOLEAN gbExitThread; -I16 g_hCard; - - -DWORD WINAPI IntThread( LPVOID lpParam ) -{ - I16 err; - - while ( gbExitThread == FALSE ) - { - if ( WaitForSingleObject(ghIntEvent[0], INFINITE) == WAIT_OBJECT_0 ) - { - gIntCount++; - err = DIO_GetCOSLatchData(g_hCard, &g_wCOSLData); - ResetEvent(ghIntEvent[0]); - } - } - - return (DWORD) 0; -} - -// CAboutDlg dialog used for App About - -class CAboutDlg : public CDialog -{ -public: - CAboutDlg(); - -// Dialog Data - enum { IDD = IDD_ABOUTBOX }; - - protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - -// Implementation -protected: - DECLARE_MESSAGE_MAP() -}; - -CAboutDlg::CAboutDlg() : CDialog(CAboutDlg::IDD) -{ -} - -void CAboutDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); -} - -BEGIN_MESSAGE_MAP(CAboutDlg, CDialog) -END_MESSAGE_MAP() - - -// C7256intDlg dialog - - - - -C7256intDlg::C7256intDlg(I16 hCard, CWnd* pParent /*=NULL*/) - : CDialog(C7256intDlg::IDD, pParent) -{ - m_hIcon = AfxGetApp()->LoadIcon(IDR_MAINFRAME); - - g_hCard = hCard; - m_hThread = NULL; - m_nTimer = -1; - m_dwOutVal = 0x00000000; - g_wCOSLData = 0x0000; -} - -void C7256intDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); -} - -BEGIN_MESSAGE_MAP(C7256intDlg, CDialog) - ON_WM_SYSCOMMAND() - ON_WM_PAINT() - ON_WM_QUERYDRAGICON() - //}}AFX_MSG_MAP - ON_WM_DESTROY() - ON_WM_TIMER() - ON_BN_CLICKED(IDC_BT_OUTPUT, &C7256intDlg::OnOutput) -END_MESSAGE_MAP() - - -// C7256intDlg message handlers - -BOOL C7256intDlg::OnInitDialog() -{ - CDialog::OnInitDialog(); - - // Add "About..." menu item to system menu. - - // IDM_ABOUTBOX must be in the system command range. - ASSERT((IDM_ABOUTBOX & 0xFFF0) == IDM_ABOUTBOX); - ASSERT(IDM_ABOUTBOX < 0xF000); - - CMenu* pSysMenu = GetSystemMenu(FALSE); - if (pSysMenu != NULL) - { - BOOL bNameValid; - CString strAboutMenu; - bNameValid = strAboutMenu.LoadString(IDS_ABOUTBOX); - ASSERT(bNameValid); - if (!strAboutMenu.IsEmpty()) - { - pSysMenu->AppendMenu(MF_SEPARATOR); - pSysMenu->AppendMenu(MF_STRING, IDM_ABOUTBOX, strAboutMenu); - } - } - - // Set the icon for this dialog. The framework does this automatically - // when the application's main window is not a dialog - SetIcon(m_hIcon, TRUE); // Set big icon - SetIcon(m_hIcon, FALSE); // Set small icon - - // TODO: Add extra initialization here - I16 err; - - err = DIO_SetDualInterrupt(g_hCard, INT1_COS, INT2_DISABLE, ghIntEvent); - err = DIO_SetCOSInterrupt(g_hCard, 0, 0x0001, 0, 0); - DO_WritePort(g_hCard, 0, m_dwOutVal); - - gbExitThread = FALSE; - m_hThread = CreateThread( NULL, // default security attributes - 0, // use default stack size - IntThread, // thread function name - NULL, // argument to thread function - 0, // use default creation flags - NULL); // returns the thread identifier - - m_nTimer = SetTimer( 1, 250, NULL ); - - return TRUE; // return TRUE unless you set the focus to a control -} - -void C7256intDlg::OnSysCommand(UINT nID, LPARAM lParam) -{ - if ((nID & 0xFFF0) == IDM_ABOUTBOX) - { - CAboutDlg dlgAbout; - dlgAbout.DoModal(); - } - else - { - CDialog::OnSysCommand(nID, lParam); - } -} - -// If you add a minimize button to your dialog, you will need the code below -// to draw the icon. For MFC applications using the document/view model, -// this is automatically done for you by the framework. - -void C7256intDlg::OnPaint() -{ - if (IsIconic()) - { - CPaintDC dc(this); // device context for painting - - SendMessage(WM_ICONERASEBKGND, reinterpret_cast(dc.GetSafeHdc()), 0); - - // Center icon in client rectangle - int cxIcon = GetSystemMetrics(SM_CXICON); - int cyIcon = GetSystemMetrics(SM_CYICON); - CRect rect; - GetClientRect(&rect); - int x = (rect.Width() - cxIcon + 1) / 2; - int y = (rect.Height() - cyIcon + 1) / 2; - - // Draw the icon - dc.DrawIcon(x, y, m_hIcon); - } - else - { - CDialog::OnPaint(); - } -} - -// The system calls this function to obtain the cursor to display while the user drags -// the minimized window. -HCURSOR C7256intDlg::OnQueryDragIcon() -{ - return static_cast(m_hIcon); -} - - -void C7256intDlg::OnDestroy() -{ - CDialog::OnDestroy(); - - // TODO: Add your message handler code here - DIO_SetDualInterrupt(g_hCard, INT1_DISABLE, INT2_DISABLE, ghIntEvent); - DIO_SetCOSInterrupt(g_hCard, 0, 0, 0, 0); - DO_WritePort(g_hCard,0 , 0x0); - - if( m_nTimer != -1 ) - { - KillTimer( m_nTimer ); - m_nTimer = -1; - } - - - if( m_hThread != NULL ) - { - gbExitThread = TRUE; // termnate the IntThread - SetEvent( ghIntEvent[0] ); - - if (WaitForSingleObject(m_hThread, 5000) == WAIT_OBJECT_0) - { - CloseHandle( m_hThread ); - m_hThread = NULL; - } - } -} - -void C7256intDlg::OnTimer(UINT_PTR nIDEvent) -{ - // TODO: Add your message handler code here and/or call default - CString strTemp; - - strTemp.Format( TEXT("INT Count = %d"), gIntCount ); - SetDlgItemText( IDC_STATIC_05, strTemp ); - - strTemp.Format( TEXT("COS Latch Data = 0x%04X"), g_wCOSLData ); - SetDlgItemText( IDC_STATIC_06, strTemp ); - - CDialog::OnTimer(nIDEvent); -} - -void C7256intDlg::OnOutput() -{ - // TODO: Add your control notification handler code here - m_dwOutVal = (m_dwOutVal+1) % 2; - DO_WritePort(g_hCard, 0, m_dwOutVal); -} diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7256/SDK7256int/7256intDlg.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7256/SDK7256int/7256intDlg.h deleted file mode 100644 index c80e249..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7256/SDK7256int/7256intDlg.h +++ /dev/null @@ -1,40 +0,0 @@ - -// 7256intDlg.h : header file -// -#include "Dask64.h" - -#pragma once - - -// C7256intDlg dialog -class C7256intDlg : public CDialog -{ -// Construction -public: - C7256intDlg(I16 hCard, CWnd* pParent = NULL); // standard constructor - -// Dialog Data - enum { IDD = IDD_MY7256INT_DIALOG }; - - protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - - -// Implementation -protected: - HICON m_hIcon; - UINT_PTR m_nTimer; - HANDLE m_hThread; - U32 m_dwOutVal; - - // Generated message map functions - virtual BOOL OnInitDialog(); - afx_msg void OnSysCommand(UINT nID, LPARAM lParam); - afx_msg void OnPaint(); - afx_msg HCURSOR OnQueryDragIcon(); - DECLARE_MESSAGE_MAP() -public: - afx_msg void OnDestroy(); - afx_msg void OnTimer(UINT_PTR nIDEvent); - afx_msg void OnOutput(); -}; diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7256/SDK7256int/CardIDDlg.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7256/SDK7256int/CardIDDlg.cpp deleted file mode 100644 index c260afc..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7256/SDK7256int/CardIDDlg.cpp +++ /dev/null @@ -1,67 +0,0 @@ -// CardIDDlg.cpp : implementation file -// - -#include "stdafx.h" -#include "7256int.h" -#include "CardIDDlg.h" - - -// CCardIDDlg dialog - -IMPLEMENT_DYNAMIC(CCardIDDlg, CDialog) - -CCardIDDlg::CCardIDDlg(int nCardIdx, CWnd* pParent /*=NULL*/) - : CDialog(CCardIDDlg::IDD, pParent) -{ - m_nCardIdx = nCardIdx; -} - -CCardIDDlg::~CCardIDDlg() -{ -} - -void CCardIDDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); - DDX_Control(pDX, IDC_COMBO_CARDID, m_cbCardID); -} - - -BEGIN_MESSAGE_MAP(CCardIDDlg, CDialog) -// ON_CBN_SELCHANGE(IDC_COMBO_CARDID, &CCardIDDlg::OnCbnSelchangeComboCardid) -ON_BN_CLICKED(IDOK, &CCardIDDlg::OnBnClickedOk) -//ON_WM_CTLCOLOR() -END_MESSAGE_MAP() - - -// CCardIDDlg message handlers - - -void CCardIDDlg::OnBnClickedOk() -{ - // TODO: Add your control notification handler code here - -// UpdateData(TRUE); - m_nCardIdx = m_cbCardID.GetCurSel(); - - OnOK(); -} - -BOOL CCardIDDlg::OnInitDialog() -{ - CDialog::OnInitDialog(); - - // TODO: Add extra initialization here - m_cbCardID.SetCurSel( m_nCardIdx ); - - return TRUE; // return TRUE unless you set the focus to a control - // EXCEPTION: OCX Property Pages should return FALSE -} - -// the function to get the selected CardID -int CCardIDDlg::GetCardID(void) -{ - return m_nCardIdx; -} - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7256/SDK7256int/CardIDDlg.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7256/SDK7256int/CardIDDlg.h deleted file mode 100644 index 54628ea..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7256/SDK7256int/CardIDDlg.h +++ /dev/null @@ -1,33 +0,0 @@ -#pragma once -#include "afxwin.h" - - -// CCardIDDlg dialog - -class CCardIDDlg : public CDialog -{ - DECLARE_DYNAMIC(CCardIDDlg) - -public: - CCardIDDlg(int nCardIdx, CWnd* pParent = NULL); // standard constructor - virtual ~CCardIDDlg(); - -// Dialog Data - enum { IDD = IDD_CARDID_DIALOG }; - -protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - - DECLARE_MESSAGE_MAP() -public: -// afx_msg void OnCbnSelchangeComboCardid(); - afx_msg void OnBnClickedOk(); - // the setting of CardID ComboBox - int m_nCardIdx; - virtual BOOL OnInitDialog(); - // the control of CardID ComboBox - CComboBox m_cbCardID; - // the function to get the selected CardID - int GetCardID(void); -// afx_msg HBRUSH OnCtlColor(CDC* pDC, CWnd* pWnd, UINT nCtlColor); -}; diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7256/SDK7256int/ReadMe.txt b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7256/SDK7256int/ReadMe.txt deleted file mode 100644 index 2d07819..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7256/SDK7256int/ReadMe.txt +++ /dev/null @@ -1,93 +0,0 @@ -================================================================================ - MICROSOFT FOUNDATION CLASS LIBRARY : 7256int Project Overview -=============================================================================== - -The application wizard has created this 7256int application for -you. This application not only demonstrates the basics of using the Microsoft -Foundation Classes but is also a starting point for writing your application. - -This file contains a summary of what you will find in each of the files that -make up your 7256int application. - -7256int.vcproj - This is the main project file for VC++ projects generated using an application wizard. - It contains information about the version of Visual C++ that generated the file, and - information about the platforms, configurations, and project features selected with the - application wizard. - -7256int.h - This is the main header file for the application. It includes other - project specific headers (including Resource.h) and declares the - C7256intApp application class. - -7256int.cpp - This is the main application source file that contains the application - class C7256intApp. - -7256int.rc - This is a listing of all of the Microsoft Windows resources that the - program uses. It includes the icons, bitmaps, and cursors that are stored - in the RES subdirectory. This file can be directly edited in Microsoft - Visual C++. Your project resources are in 1033. - -res\7256int.ico - This is an icon file, which is used as the application's icon. This - icon is included by the main resource file 7256int.rc. - -res\My7256int.rc2 - This file contains resources that are not edited by Microsoft - Visual C++. You should place all resources not editable by - the resource editor in this file. - - -///////////////////////////////////////////////////////////////////////////// - -The application wizard creates one dialog class: - -7256intDlg.h, 7256intDlg.cpp - the dialog - These files contain your C7256intDlg class. This class defines - the behavior of your application's main dialog. The dialog's template is - in 7256int.rc, which can be edited in Microsoft Visual C++. - - -///////////////////////////////////////////////////////////////////////////// - -Other Features: - -ActiveX Controls - The application includes support to use ActiveX controls. - -///////////////////////////////////////////////////////////////////////////// - -Other standard files: - -StdAfx.h, StdAfx.cpp - These files are used to build a precompiled header (PCH) file - named 7256int.pch and a precompiled types file named StdAfx.obj. - -Resource.h - This is the standard header file, which defines new resource IDs. - Microsoft Visual C++ reads and updates this file. - -7256int.manifest - Application manifest files are used by Windows XP to describe an applications - dependency on specific versions of Side-by-Side assemblies. The loader uses this - information to load the appropriate assembly from the assembly cache or private - from the application. The Application manifest maybe included for redistribution - as an external .manifest file that is installed in the same folder as the application - executable or it may be included in the executable in the form of a resource. -///////////////////////////////////////////////////////////////////////////// - -Other notes: - -The application wizard uses "TODO:" to indicate parts of the source code you -should add to or customize. - -If your application uses MFC in a shared DLL, you will need -to redistribute the MFC DLLs. If your application is in a language -other than the operating system's locale, you will also have to -redistribute the corresponding localized resources MFC90XXX.DLL. -For more information on both of these topics, please see the section on -redistributing Visual C++ applications in MSDN documentation. - -///////////////////////////////////////////////////////////////////////////// diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7256/SDK7256int/res/7256int.ico b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7256/SDK7256int/res/7256int.ico deleted file mode 100644 index d56fbcd..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7256/SDK7256int/res/7256int.ico and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7256/SDK7256int/res/My7256int.rc2 b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7256/SDK7256int/res/My7256int.rc2 deleted file mode 100644 index 7bd3593..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7256/SDK7256int/res/My7256int.rc2 +++ /dev/null @@ -1,13 +0,0 @@ -// -// My7256int.RC2 - resources Microsoft Visual C++ does not edit directly -// - -#ifdef APSTUDIO_INVOKED -#error this file is not editable by Microsoft Visual C++ -#endif //APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// Add manually edited resources here... - -///////////////////////////////////////////////////////////////////////////// diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7256/SDK7256int/resource.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7256/SDK7256int/resource.h deleted file mode 100644 index 67f1538..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7256/SDK7256int/resource.h +++ /dev/null @@ -1,27 +0,0 @@ -//{{NO_DEPENDENCIES}} -// Microsoft Visual C++ generated include file. -// Used by 7256int.rc -// -#define IDM_ABOUTBOX 0x0010 -#define IDD_ABOUTBOX 100 -#define IDS_ABOUTBOX 101 -#define IDD_MY7256INT_DIALOG 102 -#define IDR_MAINFRAME 128 -#define IDD_CARDID_DIALOG 129 -#define IDC_COMBO_CARDID 1000 -#define IDC_BUTTON1 1000 -#define IDC_BT_OUTPUT 1000 -#define IDC_STATIC_05 1007 -#define IDC_STATIC_06 1008 -#define IDC_STATIC_01 1014 - -// Next default values for new objects -// -#ifdef APSTUDIO_INVOKED -#ifndef APSTUDIO_READONLY_SYMBOLS -#define _APS_NEXT_RESOURCE_VALUE 131 -#define _APS_NEXT_COMMAND_VALUE 32771 -#define _APS_NEXT_CONTROL_VALUE 1001 -#define _APS_NEXT_SYMED_VALUE 101 -#endif -#endif diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7256/SDK7256int/stdafx.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7256/SDK7256int/stdafx.cpp deleted file mode 100644 index a1affbe..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7256/SDK7256int/stdafx.cpp +++ /dev/null @@ -1,8 +0,0 @@ - -// stdafx.cpp : source file that includes just the standard includes -// 7256int.pch will be the pre-compiled header -// stdafx.obj will contain the pre-compiled type information - -#include "stdafx.h" - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7256/SDK7256int/stdafx.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7256/SDK7256int/stdafx.h deleted file mode 100644 index 12123e2..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7256/SDK7256int/stdafx.h +++ /dev/null @@ -1,60 +0,0 @@ - -// stdafx.h : include file for standard system include files, -// or project specific include files that are used frequently, -// but are changed infrequently - -#pragma once - -#ifndef _SECURE_ATL -#define _SECURE_ATL 1 -#endif - -#ifndef VC_EXTRALEAN -#define VC_EXTRALEAN // Exclude rarely-used stuff from Windows headers -#endif - -#include "targetver.h" - -#define _ATL_CSTRING_EXPLICIT_CONSTRUCTORS // some CString constructors will be explicit - -// turns off MFC's hiding of some common and often safely ignored warning messages -#define _AFX_ALL_WARNINGS - -#include // MFC core and standard components -#include // MFC extensions - - -#include // MFC Automation classes - - - -#ifndef _AFX_NO_OLE_SUPPORT -#include // MFC support for Internet Explorer 4 Common Controls -#endif -#ifndef _AFX_NO_AFXCMN_SUPPORT -#include // MFC support for Windows Common Controls -#endif // _AFX_NO_AFXCMN_SUPPORT - -#include // MFC support for ribbons and control bars - - - - - - - - - -#ifdef _UNICODE -#if defined _M_IX86 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='x86' publicKeyToken='6595b64144ccf1df' language='*'\"") -#elif defined _M_IA64 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='ia64' publicKeyToken='6595b64144ccf1df' language='*'\"") -#elif defined _M_X64 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='amd64' publicKeyToken='6595b64144ccf1df' language='*'\"") -#else -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='*' publicKeyToken='6595b64144ccf1df' language='*'\"") -#endif -#endif - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7256/SDK7256int/targetver.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7256/SDK7256int/targetver.h deleted file mode 100644 index 11730d5..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7256/SDK7256int/targetver.h +++ /dev/null @@ -1,26 +0,0 @@ - -#pragma once - -// The following macros define the minimum required platform. The minimum required platform -// is the earliest version of Windows, Internet Explorer etc. that has the necessary features to run -// your application. The macros work by enabling all features available on platform versions up to and -// including the version specified. - -// Modify the following defines if you have to target a platform prior to the ones specified below. -// Refer to MSDN for the latest info on corresponding values for different platforms. -#ifndef WINVER // Specifies that the minimum required platform is Windows Vista. -#define WINVER 0x0600 // Change this to the appropriate value to target other versions of Windows. -#endif - -#ifndef _WIN32_WINNT // Specifies that the minimum required platform is Windows Vista. -#define _WIN32_WINNT 0x0600 // Change this to the appropriate value to target other versions of Windows. -#endif - -#ifndef _WIN32_WINDOWS // Specifies that the minimum required platform is Windows 98. -#define _WIN32_WINDOWS 0x0410 // Change this to the appropriate value to target Windows Me or later. -#endif - -#ifndef _WIN32_IE // Specifies that the minimum required platform is Internet Explorer 7.0. -#define _WIN32_IE 0x0700 // Change this to the appropriate value to target other versions of IE. -#endif - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7256/SDK7256intMsg/7256int.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7256/SDK7256intMsg/7256int.cpp deleted file mode 100644 index 41b5359..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7256/SDK7256intMsg/7256int.cpp +++ /dev/null @@ -1,110 +0,0 @@ - -// 7256int.cpp : Defines the class behaviors for the application. -// - -#include "stdafx.h" -#include "7256int.h" -#include "7256intDlg.h" -#include "CardIDDlg.h" - -#ifdef _DEBUG -#define new DEBUG_NEW -#endif - - -// C7256intApp - -BEGIN_MESSAGE_MAP(C7256intApp, CWinAppEx) - ON_COMMAND(ID_HELP, &CWinApp::OnHelp) -END_MESSAGE_MAP() - - -// C7256intApp construction - -C7256intApp::C7256intApp() -{ - // TODO: add construction code here, - // Place all significant initialization in InitInstance -} - - -// The one and only C7256intApp object - -C7256intApp theApp; - - -// C7256intApp initialization - -BOOL C7256intApp::InitInstance() -{ - int nCardID = 0; - I16 hCard; - CString strTemp; - INT_PTR nResponse; - - // InitCommonControlsEx() is required on Windows XP if an application - // manifest specifies use of ComCtl32.dll version 6 or later to enable - // visual styles. Otherwise, any window creation will fail. - INITCOMMONCONTROLSEX InitCtrls; - InitCtrls.dwSize = sizeof(InitCtrls); - // Set this to include all the common control classes you want to use - // in your application. - InitCtrls.dwICC = ICC_WIN95_CLASSES; - InitCommonControlsEx(&InitCtrls); - - CWinAppEx::InitInstance(); - - AfxEnableControlContainer(); - - // Standard initialization - // If you are not using these features and wish to reduce the size - // of your final executable, you should remove from the following - // the specific initialization routines you do not need - // Change the registry key under which our settings are stored - // TODO: You should modify this string to be something appropriate - // such as the name of your company or organization - SetRegistryKey(_T("Local AppWizard-Generated Applications")); - - CCardIDDlg CardDlg( nCardID ); - - nResponse = CardDlg.DoModal(); - if (nResponse == IDOK) - { - nCardID = CardDlg.GetCardID(); - - if ((hCard=Register_Card(PCI_7256, nCardID)) < 0) - { - strTemp.Format( TEXT("Register_Card Error = %d"), hCard); - AfxMessageBox( strTemp ); - } - else - { - C7256intDlg dlg(hCard); - m_pMainWnd = &dlg; - nResponse = dlg.DoModal(); - if (nResponse == IDOK) - { - // TODO: Place code here to handle when the dialog is - // dismissed with OK - } - else if (nResponse == IDCANCEL) - { - // TODO: Place code here to handle when the dialog is - // dismissed with Cancel - } - - if (hCard >= 0) Release_Card(hCard); - } - - } - else if (nResponse == IDCANCEL) - { - // TODO: Place code here to handle when the dialog is - // dismissed with Cancel - } - - - // Since the dialog has been closed, return FALSE so that we exit the - // application, rather than start the application's message pump. - return FALSE; -} diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7256/SDK7256intMsg/7256int.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7256/SDK7256intMsg/7256int.h deleted file mode 100644 index f180fb8..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7256/SDK7256intMsg/7256int.h +++ /dev/null @@ -1,32 +0,0 @@ - -// 7256int.h : main header file for the PROJECT_NAME application -// - -#pragma once - -#ifndef __AFXWIN_H__ - #error "include 'stdafx.h' before including this file for PCH" -#endif - -#include "resource.h" // main symbols - - -// C7256intApp: -// See 7256int.cpp for the implementation of this class -// - -class C7256intApp : public CWinAppEx -{ -public: - C7256intApp(); - -// Overrides - public: - virtual BOOL InitInstance(); - -// Implementation - - DECLARE_MESSAGE_MAP() -}; - -extern C7256intApp theApp; \ No newline at end of file diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7256/SDK7256intMsg/7256int.rc b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7256/SDK7256intMsg/7256int.rc deleted file mode 100644 index 926a0c5..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7256/SDK7256intMsg/7256int.rc +++ /dev/null @@ -1,278 +0,0 @@ -// Microsoft Visual C++ generated resource script. -// -#include "resource.h" - -#define APSTUDIO_READONLY_SYMBOLS -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 2 resource. -// -#ifndef APSTUDIO_INVOKED -#include "targetver.h" -#endif -#include "afxres.h" - -///////////////////////////////////////////////////////////////////////////// -#undef APSTUDIO_READONLY_SYMBOLS - -///////////////////////////////////////////////////////////////////////////// -// Chinese (Taiwan) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_CHT) -#ifdef _WIN32 -LANGUAGE LANG_CHINESE, SUBLANG_CHINESE_TRADITIONAL -#pragma code_page(950) -#endif //_WIN32 - -#ifdef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// TEXTINCLUDE -// - -1 TEXTINCLUDE -BEGIN - "resource.h\0" -END - -2 TEXTINCLUDE -BEGIN - "#ifndef APSTUDIO_INVOKED\r\n" - "#include ""targetver.h""\r\n" - "#endif\r\n" - "#include ""afxres.h""\r\n" - "\0" -END - -3 TEXTINCLUDE -BEGIN - "#define _AFX_NO_SPLITTER_RESOURCES\r\n" - "#define _AFX_NO_OLE_RESOURCES\r\n" - "#define _AFX_NO_TRACKER_RESOURCES\r\n" - "#define _AFX_NO_PROPERTY_RESOURCES\r\n" - "\r\n" - "#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)\r\n" - "LANGUAGE 9, 1\r\n" - "#pragma code_page(1252)\r\n" - "#include ""res\\My7256int.rc2"" // non-Microsoft Visual C++ edited resources\r\n" - "#include ""afxres.rc"" // Standard components\r\n" - "#endif\r\n" - "\0" -END - -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// Icon -// - -// Icon with lowest ID value placed first to ensure application icon -// remains consistent on all systems. -IDR_MAINFRAME ICON "res\\7256int.ico" -#endif // Chinese (Taiwan) resources -///////////////////////////////////////////////////////////////////////////// - - -///////////////////////////////////////////////////////////////////////////// -// English (U.S.) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -#ifdef _WIN32 -LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US -#pragma code_page(1252) -#endif //_WIN32 - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog -// - -IDD_ABOUTBOX DIALOGEX 0, 0, 170, 62 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "About 7256int" -FONT 8, "MS Shell Dlg", 0, 0, 0x1 -BEGIN - ICON IDR_MAINFRAME,IDC_STATIC,14,14,21,20 - LTEXT "7256int, Version 1.0",IDC_STATIC,42,14,114,8,SS_NOPREFIX - LTEXT "Copyright (C) 2010",IDC_STATIC,42,26,114,8 - DEFPUSHBUTTON "OK",IDOK,113,41,50,14,WS_GROUP -END - -IDD_MY7256INT_DIALOG DIALOGEX 0, 0, 195, 161 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU -EXSTYLE WS_EX_APPWINDOW -CAPTION "PCI-7256 Interrupt Sample (INT1)" -FONT 8, "MS Shell Dlg", 0, 0, 0x1 -BEGIN - LTEXT "This program shows the number of occurrence of INT1 interrupt. INT1 interrupt is generated by external signal from DI bit-0. If you connect DO bit-0 to DI bit-0, press 'Output' button can generate an interrupt.",IDC_STATIC,25,24,151,42 - LTEXT "INT Count =",IDC_STATIC_05,54,83,85,13 - LTEXT "COS Latch Data =",IDC_STATIC_06,53,99,122,13 - PUSHBUTTON "Output",IDC_BT_OUTPUT,46,120,84,18 -END - -IDD_CARDID_DIALOG DIALOGEX 0, 0, 163, 88 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "Card ID" -FONT 8, "MS Shell Dlg", 400, 0, 0x1 -BEGIN - COMBOBOX IDC_COMBO_CARDID,73,17,71,126,CBS_DROPDOWN | WS_VSCROLL | WS_TABSTOP - LTEXT "Card Number",IDC_STATIC_01,19,18,46,12 - PUSHBUTTON "OK",IDOK,20,50,58,19 - PUSHBUTTON "CANCEL",IDCANCEL,84,50,58,19 -END - - -///////////////////////////////////////////////////////////////////////////// -// -// Version -// - -VS_VERSION_INFO VERSIONINFO - FILEVERSION 1,0,0,1 - PRODUCTVERSION 1,0,0,1 - FILEFLAGSMASK 0x3fL -#ifdef _DEBUG - FILEFLAGS 0x1L -#else - FILEFLAGS 0x0L -#endif - FILEOS 0x4L - FILETYPE 0x1L - FILESUBTYPE 0x0L -BEGIN - BLOCK "StringFileInfo" - BEGIN - BLOCK "040904e4" - BEGIN - VALUE "CompanyName", "TODO: " - VALUE "FileDescription", "TODO: " - VALUE "FileVersion", "1.0.0.1" - VALUE "InternalName", "7256int.exe" - VALUE "LegalCopyright", "TODO: (c) . All rights reserved." - VALUE "OriginalFilename", "7256int.exe" - VALUE "ProductName", "TODO: " - VALUE "ProductVersion", "1.0.0.1" - END - END - BLOCK "VarFileInfo" - BEGIN - VALUE "Translation", 0x409, 1252 - END -END - - -///////////////////////////////////////////////////////////////////////////// -// -// DESIGNINFO -// - -#ifdef APSTUDIO_INVOKED -GUIDELINES DESIGNINFO -BEGIN - IDD_ABOUTBOX, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 163 - TOPMARGIN, 7 - BOTTOMMARGIN, 55 - END - - IDD_MY7256INT_DIALOG, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 188 - TOPMARGIN, 7 - BOTTOMMARGIN, 154 - END - - IDD_CARDID_DIALOG, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 156 - TOPMARGIN, 7 - BOTTOMMARGIN, 81 - END -END -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog Info -// - -IDD_CARDID_DIALOG DLGINIT -BEGIN - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0030, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0031, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0032, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0033, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0034, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0035, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0036, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0037, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0038, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0039, - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3031, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3131, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3231, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3331, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3431, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3531, "\000" - 0 -END - - -///////////////////////////////////////////////////////////////////////////// -// -// String Table -// - -STRINGTABLE -BEGIN - IDS_ABOUTBOX "&About 7256int..." -END - -#endif // English (U.S.) resources -///////////////////////////////////////////////////////////////////////////// - - - -#ifndef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 3 resource. -// -#define _AFX_NO_SPLITTER_RESOURCES -#define _AFX_NO_OLE_RESOURCES -#define _AFX_NO_TRACKER_RESOURCES -#define _AFX_NO_PROPERTY_RESOURCES - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -LANGUAGE 9, 1 -#pragma code_page(1252) -#include "res\My7256int.rc2" // non-Microsoft Visual C++ edited resources -#include "afxres.rc" // Standard components -#endif - -///////////////////////////////////////////////////////////////////////////// -#endif // not APSTUDIO_INVOKED - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7256/SDK7256intMsg/7256int.sln b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7256/SDK7256intMsg/7256int.sln deleted file mode 100644 index 5dfaacc..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7256/SDK7256intMsg/7256int.sln +++ /dev/null @@ -1,26 +0,0 @@ - -Microsoft Visual Studio Solution File, Format Version 10.00 -# Visual Studio 2008 -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "7256int", "7256int.vcproj", "{7D5D9EC5-ED97-47EE-B6F4-ACCD71069808}" -EndProject -Global - GlobalSection(SolutionConfigurationPlatforms) = preSolution - Debug|Win32 = Debug|Win32 - Debug|x64 = Debug|x64 - Release|Win32 = Release|Win32 - Release|x64 = Release|x64 - EndGlobalSection - GlobalSection(ProjectConfigurationPlatforms) = postSolution - {7D5D9EC5-ED97-47EE-B6F4-ACCD71069808}.Debug|Win32.ActiveCfg = Debug|Win32 - {7D5D9EC5-ED97-47EE-B6F4-ACCD71069808}.Debug|Win32.Build.0 = Debug|Win32 - {7D5D9EC5-ED97-47EE-B6F4-ACCD71069808}.Debug|x64.ActiveCfg = Debug|x64 - {7D5D9EC5-ED97-47EE-B6F4-ACCD71069808}.Debug|x64.Build.0 = Debug|x64 - {7D5D9EC5-ED97-47EE-B6F4-ACCD71069808}.Release|Win32.ActiveCfg = Release|Win32 - {7D5D9EC5-ED97-47EE-B6F4-ACCD71069808}.Release|Win32.Build.0 = Release|Win32 - {7D5D9EC5-ED97-47EE-B6F4-ACCD71069808}.Release|x64.ActiveCfg = Release|x64 - {7D5D9EC5-ED97-47EE-B6F4-ACCD71069808}.Release|x64.Build.0 = Release|x64 - EndGlobalSection - GlobalSection(SolutionProperties) = preSolution - HideSolutionNode = FALSE - EndGlobalSection -EndGlobal diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7256/SDK7256intMsg/7256int.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7256/SDK7256intMsg/7256int.suo deleted file mode 100644 index 89dc113..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7256/SDK7256intMsg/7256int.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7256/SDK7256intMsg/7256int.vcproj b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7256/SDK7256intMsg/7256int.vcproj deleted file mode 100644 index 208d9a2..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7256/SDK7256intMsg/7256int.vcproj +++ /dev/null @@ -1,471 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7256/SDK7256intMsg/7256intDlg.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7256/SDK7256intMsg/7256intDlg.cpp deleted file mode 100644 index a6dd464..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7256/SDK7256intMsg/7256intDlg.cpp +++ /dev/null @@ -1,205 +0,0 @@ - -// 7256intDlg.cpp : implementation file -// - -#include "stdafx.h" -#include "7256int.h" -#include "7256intDlg.h" - -#ifdef _DEBUG -#define new DEBUG_NEW -#endif - - -#define COS_INTERRUPT_MESSAGE _T("COS_INT") -UINT WM_INT = ::RegisterWindowMessage(COS_INTERRUPT_MESSAGE); - -// CAboutDlg dialog used for App About - -class CAboutDlg : public CDialog -{ -public: - CAboutDlg(); - -// Dialog Data - enum { IDD = IDD_ABOUTBOX }; - - protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - -// Implementation -protected: - DECLARE_MESSAGE_MAP() -}; - -CAboutDlg::CAboutDlg() : CDialog(CAboutDlg::IDD) -{ -} - -void CAboutDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); -} - -BEGIN_MESSAGE_MAP(CAboutDlg, CDialog) -END_MESSAGE_MAP() - - -// C7256intDlg dialog - - - - -C7256intDlg::C7256intDlg(I16 hCard, CWnd* pParent /*=NULL*/) - : CDialog(C7256intDlg::IDD, pParent) -{ - m_hIcon = AfxGetApp()->LoadIcon(IDR_MAINFRAME); - - m_hCard = hCard; - m_dwOutVal = 0x00000000; - m_wCOSLData = 0x0000; -} - -void C7256intDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); -} - -BEGIN_MESSAGE_MAP(C7256intDlg, CDialog) - ON_WM_SYSCOMMAND() - ON_WM_PAINT() - ON_WM_QUERYDRAGICON() - ON_REGISTERED_MESSAGE(WM_INT, OnCOSInterrupt) - //}}AFX_MSG_MAP - ON_WM_DESTROY() - ON_BN_CLICKED(IDC_BT_OUTPUT, &C7256intDlg::OnOutput) -END_MESSAGE_MAP() - - -// C7256intDlg message handlers - -BOOL C7256intDlg::OnInitDialog() -{ - CDialog::OnInitDialog(); - - // Add "About..." menu item to system menu. - - // IDM_ABOUTBOX must be in the system command range. - ASSERT((IDM_ABOUTBOX & 0xFFF0) == IDM_ABOUTBOX); - ASSERT(IDM_ABOUTBOX < 0xF000); - - CMenu* pSysMenu = GetSystemMenu(FALSE); - if (pSysMenu != NULL) - { - BOOL bNameValid; - CString strAboutMenu; - bNameValid = strAboutMenu.LoadString(IDS_ABOUTBOX); - ASSERT(bNameValid); - if (!strAboutMenu.IsEmpty()) - { - pSysMenu->AppendMenu(MF_SEPARATOR); - pSysMenu->AppendMenu(MF_STRING, IDM_ABOUTBOX, strAboutMenu); - } - } - - // Set the icon for this dialog. The framework does this automatically - // when the application's main window is not a dialog - SetIcon(m_hIcon, TRUE); // Set big icon - SetIcon(m_hIcon, FALSE); // Set small icon - - // TODO: Add extra initialization here - - DIO_INT1_EventMessage (m_hCard, INT1_COS, this->m_hWnd, WM_INT, NULL); - DIO_SetCOSInterrupt(m_hCard, 0, 0x0001, 0, 0); - DO_WritePort(m_hCard, 0, m_dwOutVal); - - - - return TRUE; // return TRUE unless you set the focus to a control -} - -void C7256intDlg::OnSysCommand(UINT nID, LPARAM lParam) -{ - if ((nID & 0xFFF0) == IDM_ABOUTBOX) - { - CAboutDlg dlgAbout; - dlgAbout.DoModal(); - } - else - { - CDialog::OnSysCommand(nID, lParam); - } -} - -// If you add a minimize button to your dialog, you will need the code below -// to draw the icon. For MFC applications using the document/view model, -// this is automatically done for you by the framework. - -void C7256intDlg::OnPaint() -{ - if (IsIconic()) - { - CPaintDC dc(this); // device context for painting - - SendMessage(WM_ICONERASEBKGND, reinterpret_cast(dc.GetSafeHdc()), 0); - - // Center icon in client rectangle - int cxIcon = GetSystemMetrics(SM_CXICON); - int cyIcon = GetSystemMetrics(SM_CYICON); - CRect rect; - GetClientRect(&rect); - int x = (rect.Width() - cxIcon + 1) / 2; - int y = (rect.Height() - cyIcon + 1) / 2; - - // Draw the icon - dc.DrawIcon(x, y, m_hIcon); - } - else - { - CDialog::OnPaint(); - } -} - -// The system calls this function to obtain the cursor to display while the user drags -// the minimized window. -HCURSOR C7256intDlg::OnQueryDragIcon() -{ - return static_cast(m_hIcon); -} - - -void C7256intDlg::OnDestroy() -{ - CDialog::OnDestroy(); - - // TODO: Add your message handler code here - DIO_SetCOSInterrupt(m_hCard, 0, 0, 0, 0); - DIO_INT1_EventMessage (m_hCard, INT1_DISABLE, this->m_hWnd, NULL, NULL); - DO_WritePort(m_hCard, 0, 0x0); -} - - -void C7256intDlg::OnOutput() -{ - // TODO: Add your control notification handler code here - m_dwOutVal = (m_dwOutVal+1) % 2; - DO_WritePort(m_hCard, 0, m_dwOutVal); -} - -LRESULT C7256intDlg::OnCOSInterrupt(WPARAM wParam, LPARAM lParam) -{ - // do something useful - CString strTemp; - - m_IntCount ++; - - DIO_GetCOSLatchData(m_hCard, &m_wCOSLData); - - strTemp.Format( TEXT("INT Count = %d"), m_IntCount ); - SetDlgItemText( IDC_STATIC_05, strTemp ); - - strTemp.Format( TEXT("COS Latch Data = 0x%04X"), m_wCOSLData ); - SetDlgItemText( IDC_STATIC_06, strTemp ); - - return (LRESULT) 0; -} diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7256/SDK7256intMsg/7256intDlg.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7256/SDK7256intMsg/7256intDlg.h deleted file mode 100644 index 5756368..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7256/SDK7256intMsg/7256intDlg.h +++ /dev/null @@ -1,42 +0,0 @@ - -// 7256intDlg.h : header file -// -#include "Dask64.h" - -#pragma once - - -// C7256intDlg dialog -class C7256intDlg : public CDialog -{ -// Construction -public: - C7256intDlg(I16 hCard, CWnd* pParent = NULL); // standard constructor - -// Dialog Data - enum { IDD = IDD_MY7256INT_DIALOG }; - - protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - - -// Implementation -protected: - HICON m_hIcon; - I16 m_hCard; - U32 m_dwOutVal; - int m_IntCount; - U16 m_wCOSLData; - HANDLE m_hIntEvent[2]; - - // Generated message map functions - virtual BOOL OnInitDialog(); - afx_msg void OnSysCommand(UINT nID, LPARAM lParam); - afx_msg void OnPaint(); - afx_msg HCURSOR OnQueryDragIcon(); - afx_msg LRESULT OnCOSInterrupt(WPARAM wParam, LPARAM lParam); - DECLARE_MESSAGE_MAP() -public: - afx_msg void OnDestroy(); - afx_msg void OnOutput(); -}; diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7256/SDK7256intMsg/CardIDDlg.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7256/SDK7256intMsg/CardIDDlg.cpp deleted file mode 100644 index c260afc..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7256/SDK7256intMsg/CardIDDlg.cpp +++ /dev/null @@ -1,67 +0,0 @@ -// CardIDDlg.cpp : implementation file -// - -#include "stdafx.h" -#include "7256int.h" -#include "CardIDDlg.h" - - -// CCardIDDlg dialog - -IMPLEMENT_DYNAMIC(CCardIDDlg, CDialog) - -CCardIDDlg::CCardIDDlg(int nCardIdx, CWnd* pParent /*=NULL*/) - : CDialog(CCardIDDlg::IDD, pParent) -{ - m_nCardIdx = nCardIdx; -} - -CCardIDDlg::~CCardIDDlg() -{ -} - -void CCardIDDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); - DDX_Control(pDX, IDC_COMBO_CARDID, m_cbCardID); -} - - -BEGIN_MESSAGE_MAP(CCardIDDlg, CDialog) -// ON_CBN_SELCHANGE(IDC_COMBO_CARDID, &CCardIDDlg::OnCbnSelchangeComboCardid) -ON_BN_CLICKED(IDOK, &CCardIDDlg::OnBnClickedOk) -//ON_WM_CTLCOLOR() -END_MESSAGE_MAP() - - -// CCardIDDlg message handlers - - -void CCardIDDlg::OnBnClickedOk() -{ - // TODO: Add your control notification handler code here - -// UpdateData(TRUE); - m_nCardIdx = m_cbCardID.GetCurSel(); - - OnOK(); -} - -BOOL CCardIDDlg::OnInitDialog() -{ - CDialog::OnInitDialog(); - - // TODO: Add extra initialization here - m_cbCardID.SetCurSel( m_nCardIdx ); - - return TRUE; // return TRUE unless you set the focus to a control - // EXCEPTION: OCX Property Pages should return FALSE -} - -// the function to get the selected CardID -int CCardIDDlg::GetCardID(void) -{ - return m_nCardIdx; -} - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7256/SDK7256intMsg/CardIDDlg.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7256/SDK7256intMsg/CardIDDlg.h deleted file mode 100644 index 54628ea..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7256/SDK7256intMsg/CardIDDlg.h +++ /dev/null @@ -1,33 +0,0 @@ -#pragma once -#include "afxwin.h" - - -// CCardIDDlg dialog - -class CCardIDDlg : public CDialog -{ - DECLARE_DYNAMIC(CCardIDDlg) - -public: - CCardIDDlg(int nCardIdx, CWnd* pParent = NULL); // standard constructor - virtual ~CCardIDDlg(); - -// Dialog Data - enum { IDD = IDD_CARDID_DIALOG }; - -protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - - DECLARE_MESSAGE_MAP() -public: -// afx_msg void OnCbnSelchangeComboCardid(); - afx_msg void OnBnClickedOk(); - // the setting of CardID ComboBox - int m_nCardIdx; - virtual BOOL OnInitDialog(); - // the control of CardID ComboBox - CComboBox m_cbCardID; - // the function to get the selected CardID - int GetCardID(void); -// afx_msg HBRUSH OnCtlColor(CDC* pDC, CWnd* pWnd, UINT nCtlColor); -}; diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7256/SDK7256intMsg/ReadMe.txt b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7256/SDK7256intMsg/ReadMe.txt deleted file mode 100644 index 2d07819..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7256/SDK7256intMsg/ReadMe.txt +++ /dev/null @@ -1,93 +0,0 @@ -================================================================================ - MICROSOFT FOUNDATION CLASS LIBRARY : 7256int Project Overview -=============================================================================== - -The application wizard has created this 7256int application for -you. This application not only demonstrates the basics of using the Microsoft -Foundation Classes but is also a starting point for writing your application. - -This file contains a summary of what you will find in each of the files that -make up your 7256int application. - -7256int.vcproj - This is the main project file for VC++ projects generated using an application wizard. - It contains information about the version of Visual C++ that generated the file, and - information about the platforms, configurations, and project features selected with the - application wizard. - -7256int.h - This is the main header file for the application. It includes other - project specific headers (including Resource.h) and declares the - C7256intApp application class. - -7256int.cpp - This is the main application source file that contains the application - class C7256intApp. - -7256int.rc - This is a listing of all of the Microsoft Windows resources that the - program uses. It includes the icons, bitmaps, and cursors that are stored - in the RES subdirectory. This file can be directly edited in Microsoft - Visual C++. Your project resources are in 1033. - -res\7256int.ico - This is an icon file, which is used as the application's icon. This - icon is included by the main resource file 7256int.rc. - -res\My7256int.rc2 - This file contains resources that are not edited by Microsoft - Visual C++. You should place all resources not editable by - the resource editor in this file. - - -///////////////////////////////////////////////////////////////////////////// - -The application wizard creates one dialog class: - -7256intDlg.h, 7256intDlg.cpp - the dialog - These files contain your C7256intDlg class. This class defines - the behavior of your application's main dialog. The dialog's template is - in 7256int.rc, which can be edited in Microsoft Visual C++. - - -///////////////////////////////////////////////////////////////////////////// - -Other Features: - -ActiveX Controls - The application includes support to use ActiveX controls. - -///////////////////////////////////////////////////////////////////////////// - -Other standard files: - -StdAfx.h, StdAfx.cpp - These files are used to build a precompiled header (PCH) file - named 7256int.pch and a precompiled types file named StdAfx.obj. - -Resource.h - This is the standard header file, which defines new resource IDs. - Microsoft Visual C++ reads and updates this file. - -7256int.manifest - Application manifest files are used by Windows XP to describe an applications - dependency on specific versions of Side-by-Side assemblies. The loader uses this - information to load the appropriate assembly from the assembly cache or private - from the application. The Application manifest maybe included for redistribution - as an external .manifest file that is installed in the same folder as the application - executable or it may be included in the executable in the form of a resource. -///////////////////////////////////////////////////////////////////////////// - -Other notes: - -The application wizard uses "TODO:" to indicate parts of the source code you -should add to or customize. - -If your application uses MFC in a shared DLL, you will need -to redistribute the MFC DLLs. If your application is in a language -other than the operating system's locale, you will also have to -redistribute the corresponding localized resources MFC90XXX.DLL. -For more information on both of these topics, please see the section on -redistributing Visual C++ applications in MSDN documentation. - -///////////////////////////////////////////////////////////////////////////// diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7256/SDK7256intMsg/res/7256int.ico b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7256/SDK7256intMsg/res/7256int.ico deleted file mode 100644 index d56fbcd..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7256/SDK7256intMsg/res/7256int.ico and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7256/SDK7256intMsg/res/My7256int.rc2 b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7256/SDK7256intMsg/res/My7256int.rc2 deleted file mode 100644 index 7bd3593..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7256/SDK7256intMsg/res/My7256int.rc2 +++ /dev/null @@ -1,13 +0,0 @@ -// -// My7256int.RC2 - resources Microsoft Visual C++ does not edit directly -// - -#ifdef APSTUDIO_INVOKED -#error this file is not editable by Microsoft Visual C++ -#endif //APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// Add manually edited resources here... - -///////////////////////////////////////////////////////////////////////////// diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7256/SDK7256intMsg/resource.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7256/SDK7256intMsg/resource.h deleted file mode 100644 index 67f1538..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7256/SDK7256intMsg/resource.h +++ /dev/null @@ -1,27 +0,0 @@ -//{{NO_DEPENDENCIES}} -// Microsoft Visual C++ generated include file. -// Used by 7256int.rc -// -#define IDM_ABOUTBOX 0x0010 -#define IDD_ABOUTBOX 100 -#define IDS_ABOUTBOX 101 -#define IDD_MY7256INT_DIALOG 102 -#define IDR_MAINFRAME 128 -#define IDD_CARDID_DIALOG 129 -#define IDC_COMBO_CARDID 1000 -#define IDC_BUTTON1 1000 -#define IDC_BT_OUTPUT 1000 -#define IDC_STATIC_05 1007 -#define IDC_STATIC_06 1008 -#define IDC_STATIC_01 1014 - -// Next default values for new objects -// -#ifdef APSTUDIO_INVOKED -#ifndef APSTUDIO_READONLY_SYMBOLS -#define _APS_NEXT_RESOURCE_VALUE 131 -#define _APS_NEXT_COMMAND_VALUE 32771 -#define _APS_NEXT_CONTROL_VALUE 1001 -#define _APS_NEXT_SYMED_VALUE 101 -#endif -#endif diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7256/SDK7256intMsg/stdafx.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7256/SDK7256intMsg/stdafx.cpp deleted file mode 100644 index a1affbe..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7256/SDK7256intMsg/stdafx.cpp +++ /dev/null @@ -1,8 +0,0 @@ - -// stdafx.cpp : source file that includes just the standard includes -// 7256int.pch will be the pre-compiled header -// stdafx.obj will contain the pre-compiled type information - -#include "stdafx.h" - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7256/SDK7256intMsg/stdafx.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7256/SDK7256intMsg/stdafx.h deleted file mode 100644 index 12123e2..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7256/SDK7256intMsg/stdafx.h +++ /dev/null @@ -1,60 +0,0 @@ - -// stdafx.h : include file for standard system include files, -// or project specific include files that are used frequently, -// but are changed infrequently - -#pragma once - -#ifndef _SECURE_ATL -#define _SECURE_ATL 1 -#endif - -#ifndef VC_EXTRALEAN -#define VC_EXTRALEAN // Exclude rarely-used stuff from Windows headers -#endif - -#include "targetver.h" - -#define _ATL_CSTRING_EXPLICIT_CONSTRUCTORS // some CString constructors will be explicit - -// turns off MFC's hiding of some common and often safely ignored warning messages -#define _AFX_ALL_WARNINGS - -#include // MFC core and standard components -#include // MFC extensions - - -#include // MFC Automation classes - - - -#ifndef _AFX_NO_OLE_SUPPORT -#include // MFC support for Internet Explorer 4 Common Controls -#endif -#ifndef _AFX_NO_AFXCMN_SUPPORT -#include // MFC support for Windows Common Controls -#endif // _AFX_NO_AFXCMN_SUPPORT - -#include // MFC support for ribbons and control bars - - - - - - - - - -#ifdef _UNICODE -#if defined _M_IX86 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='x86' publicKeyToken='6595b64144ccf1df' language='*'\"") -#elif defined _M_IA64 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='ia64' publicKeyToken='6595b64144ccf1df' language='*'\"") -#elif defined _M_X64 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='amd64' publicKeyToken='6595b64144ccf1df' language='*'\"") -#else -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='*' publicKeyToken='6595b64144ccf1df' language='*'\"") -#endif -#endif - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7256/SDK7256intMsg/targetver.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7256/SDK7256intMsg/targetver.h deleted file mode 100644 index 11730d5..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7256/SDK7256intMsg/targetver.h +++ /dev/null @@ -1,26 +0,0 @@ - -#pragma once - -// The following macros define the minimum required platform. The minimum required platform -// is the earliest version of Windows, Internet Explorer etc. that has the necessary features to run -// your application. The macros work by enabling all features available on platform versions up to and -// including the version specified. - -// Modify the following defines if you have to target a platform prior to the ones specified below. -// Refer to MSDN for the latest info on corresponding values for different platforms. -#ifndef WINVER // Specifies that the minimum required platform is Windows Vista. -#define WINVER 0x0600 // Change this to the appropriate value to target other versions of Windows. -#endif - -#ifndef _WIN32_WINNT // Specifies that the minimum required platform is Windows Vista. -#define _WIN32_WINNT 0x0600 // Change this to the appropriate value to target other versions of Windows. -#endif - -#ifndef _WIN32_WINDOWS // Specifies that the minimum required platform is Windows 98. -#define _WIN32_WINDOWS 0x0410 // Change this to the appropriate value to target Windows Me or later. -#endif - -#ifndef _WIN32_IE // Specifies that the minimum required platform is Internet Explorer 7.0. -#define _WIN32_IE 0x0700 // Change this to the appropriate value to target other versions of IE. -#endif - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7256/Sdk7256/CardIDDlg.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7256/Sdk7256/CardIDDlg.cpp deleted file mode 100644 index cce05f6..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7256/Sdk7256/CardIDDlg.cpp +++ /dev/null @@ -1,67 +0,0 @@ -// CardIDDlg.cpp : implementation file -// - -#include "stdafx.h" -#include "Util7256.h" -#include "CardIDDlg.h" - - -// CCardIDDlg dialog - -IMPLEMENT_DYNAMIC(CCardIDDlg, CDialog) - -CCardIDDlg::CCardIDDlg(int nCardIdx, CWnd* pParent /*=NULL*/) - : CDialog(CCardIDDlg::IDD, pParent) -{ - m_nCardIdx = nCardIdx; -} - -CCardIDDlg::~CCardIDDlg() -{ -} - -void CCardIDDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); - DDX_Control(pDX, IDC_COMBO_CARDID, m_cbCardID); -} - - -BEGIN_MESSAGE_MAP(CCardIDDlg, CDialog) -// ON_CBN_SELCHANGE(IDC_COMBO_CARDID, &CCardIDDlg::OnCbnSelchangeComboCardid) -ON_BN_CLICKED(IDOK, &CCardIDDlg::OnBnClickedOk) -//ON_WM_CTLCOLOR() -END_MESSAGE_MAP() - - -// CCardIDDlg message handlers - - -void CCardIDDlg::OnBnClickedOk() -{ - // TODO: Add your control notification handler code here - -// UpdateData(TRUE); - m_nCardIdx = m_cbCardID.GetCurSel(); - - OnOK(); -} - -BOOL CCardIDDlg::OnInitDialog() -{ - CDialog::OnInitDialog(); - - // TODO: Add extra initialization here - m_cbCardID.SetCurSel( m_nCardIdx ); - - return TRUE; // return TRUE unless you set the focus to a control - // EXCEPTION: OCX Property Pages should return FALSE -} - -// the function to get the selected CardID -int CCardIDDlg::GetCardID(void) -{ - return m_nCardIdx; -} - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7256/Sdk7256/CardIDDlg.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7256/Sdk7256/CardIDDlg.h deleted file mode 100644 index 54628ea..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7256/Sdk7256/CardIDDlg.h +++ /dev/null @@ -1,33 +0,0 @@ -#pragma once -#include "afxwin.h" - - -// CCardIDDlg dialog - -class CCardIDDlg : public CDialog -{ - DECLARE_DYNAMIC(CCardIDDlg) - -public: - CCardIDDlg(int nCardIdx, CWnd* pParent = NULL); // standard constructor - virtual ~CCardIDDlg(); - -// Dialog Data - enum { IDD = IDD_CARDID_DIALOG }; - -protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - - DECLARE_MESSAGE_MAP() -public: -// afx_msg void OnCbnSelchangeComboCardid(); - afx_msg void OnBnClickedOk(); - // the setting of CardID ComboBox - int m_nCardIdx; - virtual BOOL OnInitDialog(); - // the control of CardID ComboBox - CComboBox m_cbCardID; - // the function to get the selected CardID - int GetCardID(void); -// afx_msg HBRUSH OnCtlColor(CDC* pDC, CWnd* pWnd, UINT nCtlColor); -}; diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7256/Sdk7256/ReadMe.txt b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7256/Sdk7256/ReadMe.txt deleted file mode 100644 index 1490741..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7256/Sdk7256/ReadMe.txt +++ /dev/null @@ -1,93 +0,0 @@ -================================================================================ - MICROSOFT FOUNDATION CLASS LIBRARY : Util7256 Project Overview -=============================================================================== - -The application wizard has created this Util7256 application for -you. This application not only demonstrates the basics of using the Microsoft -Foundation Classes but is also a starting point for writing your application. - -This file contains a summary of what you will find in each of the files that -make up your Util7256 application. - -Util7256.vcproj - This is the main project file for VC++ projects generated using an application wizard. - It contains information about the version of Visual C++ that generated the file, and - information about the platforms, configurations, and project features selected with the - application wizard. - -Util7256.h - This is the main header file for the application. It includes other - project specific headers (including Resource.h) and declares the - CUtil7256App application class. - -Util7256.cpp - This is the main application source file that contains the application - class CUtil7256App. - -Util7256.rc - This is a listing of all of the Microsoft Windows resources that the - program uses. It includes the icons, bitmaps, and cursors that are stored - in the RES subdirectory. This file can be directly edited in Microsoft - Visual C++. Your project resources are in 1033. - -res\Util7256.ico - This is an icon file, which is used as the application's icon. This - icon is included by the main resource file Util7256.rc. - -res\Util7256.rc2 - This file contains resources that are not edited by Microsoft - Visual C++. You should place all resources not editable by - the resource editor in this file. - - -///////////////////////////////////////////////////////////////////////////// - -The application wizard creates one dialog class: - -Util7256Dlg.h, Util7256Dlg.cpp - the dialog - These files contain your CUtil7256Dlg class. This class defines - the behavior of your application's main dialog. The dialog's template is - in Util7256.rc, which can be edited in Microsoft Visual C++. - - -///////////////////////////////////////////////////////////////////////////// - -Other Features: - -ActiveX Controls - The application includes support to use ActiveX controls. - -///////////////////////////////////////////////////////////////////////////// - -Other standard files: - -StdAfx.h, StdAfx.cpp - These files are used to build a precompiled header (PCH) file - named Util7256.pch and a precompiled types file named StdAfx.obj. - -Resource.h - This is the standard header file, which defines new resource IDs. - Microsoft Visual C++ reads and updates this file. - -Util7256.manifest - Application manifest files are used by Windows XP to describe an applications - dependency on specific versions of Side-by-Side assemblies. The loader uses this - information to load the appropriate assembly from the assembly cache or private - from the application. The Application manifest maybe included for redistribution - as an external .manifest file that is installed in the same folder as the application - executable or it may be included in the executable in the form of a resource. -///////////////////////////////////////////////////////////////////////////// - -Other notes: - -The application wizard uses "TODO:" to indicate parts of the source code you -should add to or customize. - -If your application uses MFC in a shared DLL, you will need -to redistribute the MFC DLLs. If your application is in a language -other than the operating system's locale, you will also have to -redistribute the corresponding localized resources MFC90XXX.DLL. -For more information on both of these topics, please see the section on -redistributing Visual C++ applications in MSDN documentation. - -///////////////////////////////////////////////////////////////////////////// diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7256/Sdk7256/Util7256.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7256/Sdk7256/Util7256.cpp deleted file mode 100644 index 505392b..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7256/Sdk7256/Util7256.cpp +++ /dev/null @@ -1,110 +0,0 @@ - -// Util7256.cpp : Defines the class behaviors for the application. -// - -#include "stdafx.h" -#include "Util7256.h" -#include "Util7256Dlg.h" -#include "CardIDDlg.h" - -#ifdef _DEBUG -#define new DEBUG_NEW -#endif - - -// CUtil7256App - -BEGIN_MESSAGE_MAP(CUtil7256App, CWinAppEx) - ON_COMMAND(ID_HELP, &CWinApp::OnHelp) -END_MESSAGE_MAP() - - -// CUtil7256App construction - -CUtil7256App::CUtil7256App() -{ - // TODO: add construction code here, - // Place all significant initialization in InitInstance -} - - -// The one and only CUtil7256App object - -CUtil7256App theApp; - - -// CUtil7256App initialization - -BOOL CUtil7256App::InitInstance() -{ - int nCardID = 0; - I16 hCard; - CString strTemp; - INT_PTR nResponse; - - // InitCommonControlsEx() is required on Windows XP if an application - // manifest specifies use of ComCtl32.dll version 6 or later to enable - // visual styles. Otherwise, any window creation will fail. - INITCOMMONCONTROLSEX InitCtrls; - InitCtrls.dwSize = sizeof(InitCtrls); - // Set this to include all the common control classes you want to use - // in your application. - InitCtrls.dwICC = ICC_WIN95_CLASSES; - InitCommonControlsEx(&InitCtrls); - - CWinAppEx::InitInstance(); - - AfxEnableControlContainer(); - - // Standard initialization - // If you are not using these features and wish to reduce the size - // of your final executable, you should remove from the following - // the specific initialization routines you do not need - // Change the registry key under which our settings are stored - // TODO: You should modify this string to be something appropriate - // such as the name of your company or organization - SetRegistryKey(_T("Local AppWizard-Generated Applications")); - - CCardIDDlg CardDlg( nCardID ); - - nResponse = CardDlg.DoModal(); - if (nResponse == IDOK) - { - nCardID = CardDlg.GetCardID(); - - if ((hCard=Register_Card(PCI_7256, nCardID)) < 0) - { - strTemp.Format( TEXT("Register_Card Error = %d"), hCard); - AfxMessageBox( strTemp ); - } - else - { - CUtil7256Dlg dlg(hCard); - m_pMainWnd = &dlg; - nResponse = dlg.DoModal(); - if (nResponse == IDOK) - { - // TODO: Place code here to handle when the dialog is - // dismissed with OK - } - else if (nResponse == IDCANCEL) - { - // TODO: Place code here to handle when the dialog is - // dismissed with Cancel - } - - if (hCard >= 0) Release_Card(hCard); - } - - } - else if (nResponse == IDCANCEL) - { - // TODO: Place code here to handle when the dialog is - // dismissed with Cancel - } - - - // Since the dialog has been closed, return FALSE so that we exit the - // application, rather than start the application's message pump. - return FALSE; -} diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7256/Sdk7256/Util7256.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7256/Sdk7256/Util7256.h deleted file mode 100644 index f056f29..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7256/Sdk7256/Util7256.h +++ /dev/null @@ -1,32 +0,0 @@ - -// Util7256.h : main header file for the PROJECT_NAME application -// - -#pragma once - -#ifndef __AFXWIN_H__ - #error "include 'stdafx.h' before including this file for PCH" -#endif - -#include "resource.h" // main symbols - - -// CUtil7256App: -// See Util7256.cpp for the implementation of this class -// - -class CUtil7256App : public CWinAppEx -{ -public: - CUtil7256App(); - -// Overrides - public: - virtual BOOL InitInstance(); - -// Implementation - - DECLARE_MESSAGE_MAP() -}; - -extern CUtil7256App theApp; \ No newline at end of file diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7256/Sdk7256/Util7256.rc b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7256/Sdk7256/Util7256.rc deleted file mode 100644 index c605f77..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7256/Sdk7256/Util7256.rc +++ /dev/null @@ -1,330 +0,0 @@ -// Microsoft Visual C++ generated resource script. -// -#include "resource.h" - -#define APSTUDIO_READONLY_SYMBOLS -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 2 resource. -// -#ifndef APSTUDIO_INVOKED -#include "targetver.h" -#endif -#include "afxres.h" - -///////////////////////////////////////////////////////////////////////////// -#undef APSTUDIO_READONLY_SYMBOLS - -///////////////////////////////////////////////////////////////////////////// -// Chinese (Taiwan) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_CHT) -#ifdef _WIN32 -LANGUAGE LANG_CHINESE, SUBLANG_CHINESE_TRADITIONAL -#pragma code_page(950) -#endif //_WIN32 - -#ifdef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// TEXTINCLUDE -// - -1 TEXTINCLUDE -BEGIN - "resource.h\0" -END - -2 TEXTINCLUDE -BEGIN - "#ifndef APSTUDIO_INVOKED\r\n" - "#include ""targetver.h""\r\n" - "#endif\r\n" - "#include ""afxres.h""\r\n" - "\0" -END - -3 TEXTINCLUDE -BEGIN - "#define _AFX_NO_SPLITTER_RESOURCES\r\n" - "#define _AFX_NO_OLE_RESOURCES\r\n" - "#define _AFX_NO_TRACKER_RESOURCES\r\n" - "#define _AFX_NO_PROPERTY_RESOURCES\r\n" - "\r\n" - "#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)\r\n" - "LANGUAGE 9, 1\r\n" - "#pragma code_page(1252)\r\n" - "#include ""res\\Util7256.rc2"" // non-Microsoft Visual C++ edited resources\r\n" - "#include ""afxres.rc"" // Standard components\r\n" - "#endif\r\n" - "\0" -END - -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog -// - -IDD_CARDID_DIALOG DIALOGEX 0, 0, 168, 84 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "Card ID" -FONT 8, "MS Shell Dlg", 400, 0, 0x1 -BEGIN - COMBOBOX IDC_COMBO_CARDID,75,17,71,126,CBS_DROPDOWN | WS_VSCROLL | WS_TABSTOP - LTEXT "Card Number",IDC_STATIC_01,21,18,46,12 - PUSHBUTTON "OK",IDOK,22,50,58,19 - PUSHBUTTON "CANCEL",IDCANCEL,86,50,58,19 -END - - -///////////////////////////////////////////////////////////////////////////// -// -// DESIGNINFO -// - -#ifdef APSTUDIO_INVOKED -GUIDELINES DESIGNINFO -BEGIN - IDD_CARDID_DIALOG, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 161 - TOPMARGIN, 7 - BOTTOMMARGIN, 77 - END -END -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog Info -// - -IDD_CARDID_DIALOG DLGINIT -BEGIN - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0030, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0031, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0032, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0033, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0034, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0035, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0036, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0037, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0038, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0039, - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3031, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3131, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3231, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3331, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3431, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3531, "\000" - 0 -END - -#endif // Chinese (Taiwan) resources -///////////////////////////////////////////////////////////////////////////// - - -///////////////////////////////////////////////////////////////////////////// -// English (U.S.) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -#ifdef _WIN32 -LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US -#pragma code_page(1252) -#endif //_WIN32 - -///////////////////////////////////////////////////////////////////////////// -// -// Icon -// - -// Icon with lowest ID value placed first to ensure application icon -// remains consistent on all systems. -IDR_MAINFRAME ICON "res\\Util7256.ico" -IDI_ICON_BLACK ICON "res\\black.ico" -IDI_ICON_GREEN ICON "res\\green.ico" -IDI_ICON_RED ICON "res\\red.ico" - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog -// - -IDD_ABOUTBOX DIALOGEX 0, 0, 170, 62 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "About Util7256" -FONT 8, "MS Shell Dlg", 0, 0, 0x1 -BEGIN - ICON IDR_MAINFRAME,IDC_STATIC,14,14,21,20 - LTEXT "Util7256, Version 1.0",IDC_STATIC,42,14,114,8,SS_NOPREFIX - LTEXT "Copyright (C) 2010",IDC_STATIC,42,26,114,8 - DEFPUSHBUTTON "OK",IDOK,113,41,50,14,WS_GROUP -END - -IDD_UTIL7256_DIALOG DIALOGEX 0, 0, 318, 106 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU -EXSTYLE WS_EX_APPWINDOW -CAPTION "PCI-7256" -FONT 8, "MS Shell Dlg", 0, 0, 0x1 -BEGIN - ICON IDI_ICON_BLACK,IDC_ICON_DI00,284,11,21,20 - ICON IDI_ICON_BLACK,IDC_ICON_DI01,266,11,21,20 - ICON IDI_ICON_BLACK,IDC_ICON_DI02,248,11,21,20 - ICON IDI_ICON_BLACK,IDC_ICON_DI03,230,11,21,20 - ICON IDI_ICON_BLACK,IDC_ICON_DI04,212,11,21,20 - ICON IDI_ICON_BLACK,IDC_ICON_DI05,194,11,21,20 - ICON IDI_ICON_BLACK,IDC_ICON_DI06,176,11,21,20 - ICON IDI_ICON_BLACK,IDC_ICON_DI07,158,11,21,20 - ICON IDI_ICON_BLACK,IDC_ICON_DI08,140,11,21,20 - ICON IDI_ICON_BLACK,IDC_ICON_DI09,122,11,21,20 - ICON IDI_ICON_BLACK,IDC_ICON_DI10,104,11,21,20 - ICON IDI_ICON_BLACK,IDC_ICON_DI11,86,11,21,20 - ICON IDI_ICON_BLACK,IDC_ICON_DI12,68,11,21,20 - ICON IDI_ICON_BLACK,IDC_ICON_DI13,50,11,21,20 - ICON IDI_ICON_BLACK,IDC_ICON_DI14,32,11,21,20 - ICON IDI_ICON_BLACK,IDC_ICON_DI15,14,11,21,20 - LTEXT " 15 0",IDC_STATIC,14,30,289,13 - GROUPBOX "Digital Input",IDC_STATIC,7,3,304,42 - CONTROL "",IDC_CHECK_DO00,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,290,61,12,12 - CONTROL "",IDC_CHECK_DO01,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,272,61,12,12 - CONTROL "",IDC_CHECK_DO02,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,254,61,12,12 - CONTROL "",IDC_CHECK_DO03,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,236,61,12,12 - CONTROL "",IDC_CHECK_DO04,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,218,61,12,12 - CONTROL "",IDC_CHECK_DO05,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,200,61,12,12 - CONTROL "",IDC_CHECK_DO06,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,182,61,12,12 - CONTROL "",IDC_CHECK_DO07,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,164,61,12,12 - CONTROL "",IDC_CHECK_DO08,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,146,61,12,12 - CONTROL "",IDC_CHECK_DO09,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,128,61,12,12 - CONTROL "",IDC_CHECK_DO10,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,110,61,12,12 - CONTROL "",IDC_CHECK_DO11,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,92,61,12,12 - CONTROL "",IDC_CHECK_DO12,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,74,61,12,12 - CONTROL "",IDC_CHECK_DO13,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,56,61,12,12 - CONTROL "",IDC_CHECK_DO14,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,38,61,12,12 - CONTROL "",IDC_CHECK_DO15,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,20,61,12,12 - LTEXT " 15 0",IDC_STATIC,14,73,289,13 - GROUPBOX "Digital Output",IDC_STATIC,7,47,304,41 -END - - -///////////////////////////////////////////////////////////////////////////// -// -// Version -// - -VS_VERSION_INFO VERSIONINFO - FILEVERSION 1,0,0,1 - PRODUCTVERSION 1,0,0,1 - FILEFLAGSMASK 0x3fL -#ifdef _DEBUG - FILEFLAGS 0x1L -#else - FILEFLAGS 0x0L -#endif - FILEOS 0x4L - FILETYPE 0x1L - FILESUBTYPE 0x0L -BEGIN - BLOCK "StringFileInfo" - BEGIN - BLOCK "040904e4" - BEGIN - VALUE "CompanyName", "TODO: " - VALUE "FileDescription", "TODO: " - VALUE "FileVersion", "1.0.0.1" - VALUE "InternalName", "Util7256.exe" - VALUE "LegalCopyright", "TODO: (c) . All rights reserved." - VALUE "OriginalFilename", "Util7256.exe" - VALUE "ProductName", "TODO: " - VALUE "ProductVersion", "1.0.0.1" - END - END - BLOCK "VarFileInfo" - BEGIN - VALUE "Translation", 0x409, 1252 - END -END - - -///////////////////////////////////////////////////////////////////////////// -// -// DESIGNINFO -// - -#ifdef APSTUDIO_INVOKED -GUIDELINES DESIGNINFO -BEGIN - IDD_ABOUTBOX, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 163 - TOPMARGIN, 7 - BOTTOMMARGIN, 55 - END - - IDD_UTIL7256_DIALOG, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 311 - TOPMARGIN, 7 - BOTTOMMARGIN, 99 - END -END -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// String Table -// - -STRINGTABLE -BEGIN - IDS_ABOUTBOX "&About Util7256..." -END - -#endif // English (U.S.) resources -///////////////////////////////////////////////////////////////////////////// - - - -#ifndef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 3 resource. -// -#define _AFX_NO_SPLITTER_RESOURCES -#define _AFX_NO_OLE_RESOURCES -#define _AFX_NO_TRACKER_RESOURCES -#define _AFX_NO_PROPERTY_RESOURCES - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -LANGUAGE 9, 1 -#pragma code_page(1252) -#include "res\Util7256.rc2" // non-Microsoft Visual C++ edited resources -#include "afxres.rc" // Standard components -#endif - -///////////////////////////////////////////////////////////////////////////// -#endif // not APSTUDIO_INVOKED - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7256/Sdk7256/Util7256.sln b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7256/Sdk7256/Util7256.sln deleted file mode 100644 index 297dad3..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7256/Sdk7256/Util7256.sln +++ /dev/null @@ -1,26 +0,0 @@ - -Microsoft Visual Studio Solution File, Format Version 10.00 -# Visual Studio 2008 -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "Util7256", "Util7256.vcproj", "{551E76C2-6010-4F6A-B4CC-E9A9E54F3D41}" -EndProject -Global - GlobalSection(SolutionConfigurationPlatforms) = preSolution - Debug|Win32 = Debug|Win32 - Debug|x64 = Debug|x64 - Release|Win32 = Release|Win32 - Release|x64 = Release|x64 - EndGlobalSection - GlobalSection(ProjectConfigurationPlatforms) = postSolution - {551E76C2-6010-4F6A-B4CC-E9A9E54F3D41}.Debug|Win32.ActiveCfg = Debug|Win32 - {551E76C2-6010-4F6A-B4CC-E9A9E54F3D41}.Debug|Win32.Build.0 = Debug|Win32 - {551E76C2-6010-4F6A-B4CC-E9A9E54F3D41}.Debug|x64.ActiveCfg = Debug|x64 - {551E76C2-6010-4F6A-B4CC-E9A9E54F3D41}.Debug|x64.Build.0 = Debug|x64 - {551E76C2-6010-4F6A-B4CC-E9A9E54F3D41}.Release|Win32.ActiveCfg = Release|Win32 - {551E76C2-6010-4F6A-B4CC-E9A9E54F3D41}.Release|Win32.Build.0 = Release|Win32 - {551E76C2-6010-4F6A-B4CC-E9A9E54F3D41}.Release|x64.ActiveCfg = Release|x64 - {551E76C2-6010-4F6A-B4CC-E9A9E54F3D41}.Release|x64.Build.0 = Release|x64 - EndGlobalSection - GlobalSection(SolutionProperties) = preSolution - HideSolutionNode = FALSE - EndGlobalSection -EndGlobal diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7256/Sdk7256/Util7256.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7256/Sdk7256/Util7256.suo deleted file mode 100644 index 46df934..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7256/Sdk7256/Util7256.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7256/Sdk7256/Util7256.vcproj b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7256/Sdk7256/Util7256.vcproj deleted file mode 100644 index f0c3b23..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7256/Sdk7256/Util7256.vcproj +++ /dev/null @@ -1,479 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7256/Sdk7256/Util7256Dlg.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7256/Sdk7256/Util7256Dlg.cpp deleted file mode 100644 index 3c7ec0e..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7256/Sdk7256/Util7256Dlg.cpp +++ /dev/null @@ -1,722 +0,0 @@ - -// Util7256Dlg.cpp : implementation file -// - -#include "stdafx.h" -#include "Util7256.h" -#include "Util7256Dlg.h" - -#ifdef _DEBUG -#define new DEBUG_NEW -#endif - - -// CAboutDlg dialog used for App About - -class CAboutDlg : public CDialog -{ -public: - CAboutDlg(); - -// Dialog Data - enum { IDD = IDD_ABOUTBOX }; - - protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - -// Implementation -protected: - DECLARE_MESSAGE_MAP() -}; - -CAboutDlg::CAboutDlg() : CDialog(CAboutDlg::IDD) -{ -} - -void CAboutDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); -} - -BEGIN_MESSAGE_MAP(CAboutDlg, CDialog) -END_MESSAGE_MAP() - - -// CUtil7256Dlg dialog - - - - -CUtil7256Dlg::CUtil7256Dlg(I16 hCard, CWnd* pParent /*=NULL*/) - : CDialog(CUtil7256Dlg::IDD, pParent) -{ - m_hIcon = AfxGetApp()->LoadIcon(IDR_MAINFRAME); - m_nTimer = -1; - m_hCard = hCard; - - m_dwInData = 0x00000000; - m_dwOutData = 0x00000000; - -} - -void CUtil7256Dlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); - DDX_Control(pDX, IDC_ICON_DI00, m_Icon_DI00); - DDX_Control(pDX, IDC_ICON_DI01, m_Icon_DI01); - DDX_Control(pDX, IDC_ICON_DI02, m_Icon_DI02); - DDX_Control(pDX, IDC_ICON_DI03, m_Icon_DI03); - DDX_Control(pDX, IDC_ICON_DI04, m_Icon_DI04); - DDX_Control(pDX, IDC_ICON_DI05, m_Icon_DI05); - DDX_Control(pDX, IDC_ICON_DI06, m_Icon_DI06); - DDX_Control(pDX, IDC_ICON_DI07, m_Icon_DI07); - DDX_Control(pDX, IDC_ICON_DI08, m_Icon_DI08); - DDX_Control(pDX, IDC_ICON_DI09, m_Icon_DI09); - DDX_Control(pDX, IDC_ICON_DI10, m_Icon_DI10); - DDX_Control(pDX, IDC_ICON_DI11, m_Icon_DI11); - DDX_Control(pDX, IDC_ICON_DI12, m_Icon_DI12); - DDX_Control(pDX, IDC_ICON_DI13, m_Icon_DI13); - DDX_Control(pDX, IDC_ICON_DI14, m_Icon_DI14); - DDX_Control(pDX, IDC_ICON_DI15, m_Icon_DI15); -} - -BEGIN_MESSAGE_MAP(CUtil7256Dlg, CDialog) - ON_WM_SYSCOMMAND() - ON_WM_PAINT() - ON_WM_QUERYDRAGICON() - //}}AFX_MSG_MAP - ON_BN_CLICKED(IDC_CHECK_DO00, &CUtil7256Dlg::OnOut00) - ON_BN_CLICKED(IDC_CHECK_DO01, &CUtil7256Dlg::OnOut01) - ON_BN_CLICKED(IDC_CHECK_DO02, &CUtil7256Dlg::OnOut02) - ON_BN_CLICKED(IDC_CHECK_DO03, &CUtil7256Dlg::OnOut03) - ON_BN_CLICKED(IDC_CHECK_DO04, &CUtil7256Dlg::OnOut04) - ON_BN_CLICKED(IDC_CHECK_DO05, &CUtil7256Dlg::OnOut05) - ON_BN_CLICKED(IDC_CHECK_DO06, &CUtil7256Dlg::OnOut06) - ON_BN_CLICKED(IDC_CHECK_DO07, &CUtil7256Dlg::OnOut07) - ON_BN_CLICKED(IDC_CHECK_DO08, &CUtil7256Dlg::OnOut08) - ON_BN_CLICKED(IDC_CHECK_DO09, &CUtil7256Dlg::OnOut09) - ON_BN_CLICKED(IDC_CHECK_DO10, &CUtil7256Dlg::OnOut10) - ON_BN_CLICKED(IDC_CHECK_DO11, &CUtil7256Dlg::OnOut11) - ON_BN_CLICKED(IDC_CHECK_DO12, &CUtil7256Dlg::OnOut12) - ON_BN_CLICKED(IDC_CHECK_DO13, &CUtil7256Dlg::OnOut13) - ON_BN_CLICKED(IDC_CHECK_DO14, &CUtil7256Dlg::OnOut14) - ON_BN_CLICKED(IDC_CHECK_DO15, &CUtil7256Dlg::OnOut15) - ON_WM_DESTROY() - ON_WM_TIMER() -END_MESSAGE_MAP() - - -// CUtil7256Dlg message handlers - -BOOL CUtil7256Dlg::OnInitDialog() -{ - CDialog::OnInitDialog(); - - // Add "About..." menu item to system menu. - - // IDM_ABOUTBOX must be in the system command range. - ASSERT((IDM_ABOUTBOX & 0xFFF0) == IDM_ABOUTBOX); - ASSERT(IDM_ABOUTBOX < 0xF000); - - CMenu* pSysMenu = GetSystemMenu(FALSE); - if (pSysMenu != NULL) - { - BOOL bNameValid; - CString strAboutMenu; - bNameValid = strAboutMenu.LoadString(IDS_ABOUTBOX); - ASSERT(bNameValid); - if (!strAboutMenu.IsEmpty()) - { - pSysMenu->AppendMenu(MF_SEPARATOR); - pSysMenu->AppendMenu(MF_STRING, IDM_ABOUTBOX, strAboutMenu); - } - } - - // Set the icon for this dialog. The framework does this automatically - // when the application's main window is not a dialog - SetIcon(m_hIcon, TRUE); // Set big icon - SetIcon(m_hIcon, FALSE); // Set small icon - - // TODO: Add extra initialization here - DO_WritePort( m_hCard, 0, m_dwOutData ); - m_nTimer = SetTimer( 1, 250, NULL ); - - return TRUE; // return TRUE unless you set the focus to a control -} - -void CUtil7256Dlg::OnSysCommand(UINT nID, LPARAM lParam) -{ - if ((nID & 0xFFF0) == IDM_ABOUTBOX) - { - CAboutDlg dlgAbout; - dlgAbout.DoModal(); - } - else - { - CDialog::OnSysCommand(nID, lParam); - } -} - -// If you add a minimize button to your dialog, you will need the code below -// to draw the icon. For MFC applications using the document/view model, -// this is automatically done for you by the framework. - -void CUtil7256Dlg::OnPaint() -{ - if (IsIconic()) - { - CPaintDC dc(this); // device context for painting - - SendMessage(WM_ICONERASEBKGND, reinterpret_cast(dc.GetSafeHdc()), 0); - - // Center icon in client rectangle - int cxIcon = GetSystemMetrics(SM_CXICON); - int cyIcon = GetSystemMetrics(SM_CYICON); - CRect rect; - GetClientRect(&rect); - int x = (rect.Width() - cxIcon + 1) / 2; - int y = (rect.Height() - cyIcon + 1) / 2; - - // Draw the icon - dc.DrawIcon(x, y, m_hIcon); - } - else - { - CDialog::OnPaint(); - } -} - -// The system calls this function to obtain the cursor to display while the user drags -// the minimized window. -HCURSOR CUtil7256Dlg::OnQueryDragIcon() -{ - return static_cast(m_hIcon); -} - - -void CUtil7256Dlg::OnDestroy() -{ - CDialog::OnDestroy(); - - // TODO: Add your message handler code here - if( m_nTimer != -1 ) - KillTimer( m_nTimer ); -} - -void CUtil7256Dlg::OnTimer(UINT_PTR nIDEvent) -{ - // TODO: Add your message handler code here and/or call default - U32 dwPortData, dwChangeMask; - - DI_ReadPort(m_hCard, 0 ,&dwPortData); - dwChangeMask = dwPortData ^ m_dwInData; - - if( dwChangeMask != 0x00 ) // Input had been changed - { - m_dwInData = dwPortData; // update the DI data - - if( (dwChangeMask & 0x01) == 0x01 ) // if the target bit is changed - { - if( (dwPortData & 0x01) == 0x01 ) - { - m_Icon_DI00.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_DI00.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - - if( (dwChangeMask & 0x02) == 0x02 ) // if the target bit is changed - { - if( (dwPortData & 0x02) == 0x02 ) - { - m_Icon_DI01.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_DI01.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - if( (dwChangeMask & 0x04) == 0x04 ) // if the target bit is changed - { - if( (dwPortData & 0x04) == 0x04 ) - { - m_Icon_DI02.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_DI02.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - - if( (dwChangeMask & 0x08) == 0x08 ) // if the target bit is changed - { - if( (dwPortData & 0x08) == 0x08 ) - { - m_Icon_DI03.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_DI03.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - if( (dwChangeMask & 0x10) == 0x10 ) // if the target bit is changed - { - if( (dwPortData & 0x10) == 0x10 ) - { - m_Icon_DI04.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_DI04.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - if( (dwChangeMask & 0x20) == 0x20 ) // if the target bit is changed - { - if( (dwPortData & 0x20) == 0x20 ) - { - m_Icon_DI05.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_DI05.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - - if( (dwChangeMask & 0x40) == 0x40 ) // if the target bit is changed - { - if( (dwPortData & 0x40) == 0x40 ) - { - m_Icon_DI06.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_DI06.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - - if( (dwChangeMask & 0x80) == 0x80 ) // if the target bit is changed - { - if( (dwPortData & 0x80) == 0x80 ) - { - m_Icon_DI07.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_DI07.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - - if( (dwChangeMask & 0x100) == 0x100 ) // if the target bit is changed - { - if( (dwPortData & 0x100) == 0x100 ) - { - m_Icon_DI08.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_DI08.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - if( (dwChangeMask & 0x200) == 0x200 ) // if the target bit is changed - { - if( (dwPortData & 0x200) == 0x200 ) - { - m_Icon_DI09.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_DI09.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - if( (dwChangeMask & 0x400) == 0x400 ) // if the target bit is changed - { - if( (dwPortData & 0x400) == 0x400 ) - { - m_Icon_DI10.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_DI10.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - if( (dwChangeMask & 0x800) == 0x800 ) // if the target bit is changed - { - if( (dwPortData & 0x800) == 0x800 ) - { - m_Icon_DI11.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_DI11.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - if( (dwChangeMask & 0x1000) == 0x1000 ) // if the target bit is changed - { - if( (dwPortData & 0x1000) == 0x1000 ) - { - m_Icon_DI12.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_DI12.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - if( (dwChangeMask & 0x2000) == 0x2000 ) // if the target bit is changed - { - if( (dwPortData & 0x2000) == 0x2000 ) - { - m_Icon_DI13.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_DI13.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - if( (dwChangeMask & 0x4000) == 0x4000 ) // if the target bit is changed - { - if( (dwPortData & 0x4000) == 0x4000 ) - { - m_Icon_DI14.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_DI14.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - if( (dwChangeMask & 0x8000) == 0x8000 ) // if the target bit is changed - { - if( (dwPortData & 0x8000) == 0x8000 ) - { - m_Icon_DI15.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_DI15.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - } - - CDialog::OnTimer(nIDEvent); -} - -void CUtil7256Dlg::OnOut00() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_DO00 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_dwOutData |= 0x01; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_dwOutData &= (~0x01); - } - - DO_WritePort( m_hCard, 0, m_dwOutData ); - -} - -void CUtil7256Dlg::OnOut01() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_DO01 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_dwOutData |= 0x02; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_dwOutData &= (~0x02); - } - - DO_WritePort( m_hCard, 0, m_dwOutData ); -} - -void CUtil7256Dlg::OnOut02() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_DO02 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_dwOutData |= 0x04; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_dwOutData &= (~0x04); - } - - DO_WritePort( m_hCard, 0, m_dwOutData ); -} - -void CUtil7256Dlg::OnOut03() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_DO03 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_dwOutData |= 0x08; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_dwOutData &= (~0x08); - } - - DO_WritePort( m_hCard, 0, m_dwOutData ); -} - -void CUtil7256Dlg::OnOut04() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_DO04 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_dwOutData |= 0x10; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_dwOutData &= (~0x10); - } - - DO_WritePort( m_hCard, 0, m_dwOutData ); -} - -void CUtil7256Dlg::OnOut05() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_DO05 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_dwOutData |= 0x20; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_dwOutData &= (~0x20); - } - - DO_WritePort( m_hCard, 0, m_dwOutData ); -} - -void CUtil7256Dlg::OnOut06() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_DO06 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_dwOutData |= 0x40; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_dwOutData &= (~0x40); - } - - DO_WritePort( m_hCard, 0, m_dwOutData ); -} - -void CUtil7256Dlg::OnOut07() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_DO07 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_dwOutData |= 0x80; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_dwOutData &= (~0x80); - } - - DO_WritePort( m_hCard, 0, m_dwOutData ); -} - -void CUtil7256Dlg::OnOut08() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_DO08 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_dwOutData |= 0x100; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_dwOutData &= (~0x100); - } - - DO_WritePort( m_hCard, 0, m_dwOutData ); -} - -void CUtil7256Dlg::OnOut09() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_DO09 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_dwOutData |= 0x200; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_dwOutData &= (~0x200); - } - - DO_WritePort( m_hCard, 0, m_dwOutData ); -} - -void CUtil7256Dlg::OnOut10() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_DO10 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_dwOutData |= 0x400; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_dwOutData &= (~0x400); - } - - DO_WritePort( m_hCard, 0, m_dwOutData ); -} - -void CUtil7256Dlg::OnOut11() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_DO11 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_dwOutData |= 0x800; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_dwOutData &= (~0x800); - } - - DO_WritePort( m_hCard, 0, m_dwOutData ); -} - -void CUtil7256Dlg::OnOut12() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_DO12 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_dwOutData |= 0x1000; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_dwOutData &= (~0x1000); - } - - DO_WritePort( m_hCard, 0, m_dwOutData ); -} - -void CUtil7256Dlg::OnOut13() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_DO13 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_dwOutData |= 0x2000; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_dwOutData &= (~0x2000); - } - - DO_WritePort( m_hCard, 0, m_dwOutData ); -} - -void CUtil7256Dlg::OnOut14() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_DO14 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_dwOutData |= 0x4000; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_dwOutData &= (~0x4000); - } - - DO_WritePort( m_hCard, 0, m_dwOutData ); -} - -void CUtil7256Dlg::OnOut15() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_DO15 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_dwOutData |= 0x8000; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_dwOutData &= (~0x8000); - } - - DO_WritePort( m_hCard, 0, m_dwOutData ); -} diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7256/Sdk7256/Util7256Dlg.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7256/Sdk7256/Util7256Dlg.h deleted file mode 100644 index 2715127..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7256/Sdk7256/Util7256Dlg.h +++ /dev/null @@ -1,72 +0,0 @@ - -// Util7256Dlg.h : header file -// -#include "Dask64.h" - -#pragma once - - -// CUtil7256Dlg dialog -class CUtil7256Dlg : public CDialog -{ -// Construction -public: - CUtil7256Dlg(I16 hCard, CWnd* pParent = NULL); // standard constructor - -// Dialog Data - enum { IDD = IDD_UTIL7256_DIALOG }; - - protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - - -// Implementation -protected: - HICON m_hIcon; - I16 m_hCard; - UINT_PTR m_nTimer; - U32 m_dwInData; - U32 m_dwOutData; - - // Generated message map functions - virtual BOOL OnInitDialog(); - afx_msg void OnSysCommand(UINT nID, LPARAM lParam); - afx_msg void OnPaint(); - afx_msg HCURSOR OnQueryDragIcon(); - DECLARE_MESSAGE_MAP() -public: - CStatic m_Icon_DI00; - CStatic m_Icon_DI01; - CStatic m_Icon_DI02; - CStatic m_Icon_DI03; - CStatic m_Icon_DI04; - CStatic m_Icon_DI05; - CStatic m_Icon_DI06; - CStatic m_Icon_DI07; - CStatic m_Icon_DI08; - CStatic m_Icon_DI09; - CStatic m_Icon_DI10; - CStatic m_Icon_DI11; - CStatic m_Icon_DI12; - CStatic m_Icon_DI13; - CStatic m_Icon_DI14; - CStatic m_Icon_DI15; - afx_msg void OnDestroy(); - afx_msg void OnTimer(UINT_PTR nIDEvent); - afx_msg void OnOut00(); - afx_msg void OnOut01(); - afx_msg void OnOut02(); - afx_msg void OnOut03(); - afx_msg void OnOut04(); - afx_msg void OnOut05(); - afx_msg void OnOut06(); - afx_msg void OnOut07(); - afx_msg void OnOut08(); - afx_msg void OnOut09(); - afx_msg void OnOut10(); - afx_msg void OnOut11(); - afx_msg void OnOut12(); - afx_msg void OnOut13(); - afx_msg void OnOut14(); - afx_msg void OnOut15(); -}; diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7256/Sdk7256/res/Util7256.ico b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7256/Sdk7256/res/Util7256.ico deleted file mode 100644 index d56fbcd..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7256/Sdk7256/res/Util7256.ico and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7256/Sdk7256/res/Util7256.rc2 b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7256/Sdk7256/res/Util7256.rc2 deleted file mode 100644 index 8818c91..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7256/Sdk7256/res/Util7256.rc2 +++ /dev/null @@ -1,13 +0,0 @@ -// -// Util7256.RC2 - resources Microsoft Visual C++ does not edit directly -// - -#ifdef APSTUDIO_INVOKED -#error this file is not editable by Microsoft Visual C++ -#endif //APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// Add manually edited resources here... - -///////////////////////////////////////////////////////////////////////////// diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7256/Sdk7256/res/black.ico b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7256/Sdk7256/res/black.ico deleted file mode 100644 index b5c375f..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7256/Sdk7256/res/black.ico and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7256/Sdk7256/res/green.ico b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7256/Sdk7256/res/green.ico deleted file mode 100644 index d9a9fd3..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7256/Sdk7256/res/green.ico and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7256/Sdk7256/res/red.ico b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7256/Sdk7256/res/red.ico deleted file mode 100644 index 7644596..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7256/Sdk7256/res/red.ico and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7256/Sdk7256/resource.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7256/Sdk7256/resource.h deleted file mode 100644 index 4e1d092..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7256/Sdk7256/resource.h +++ /dev/null @@ -1,58 +0,0 @@ -//{{NO_DEPENDENCIES}} -// Microsoft Visual C++ generated include file. -// Used by Util7256.rc -// -#define IDM_ABOUTBOX 0x0010 -#define IDD_ABOUTBOX 100 -#define IDS_ABOUTBOX 101 -#define IDD_UTIL7256_DIALOG 102 -#define IDR_MAINFRAME 128 -#define IDI_ICON_BLACK 129 -#define IDI_ICON_GREEN 130 -#define IDI_ICON_RED 131 -#define IDD_CARDID_DIALOG 132 -#define IDC_COMBO_CARDID 1000 -#define IDC_CHECK_DO00 1003 -#define IDC_CHECK_DO01 1004 -#define IDC_ICON_DI00 1005 -#define IDC_ICON_DI01 1006 -#define IDC_ICON_DI02 1007 -#define IDC_ICON_DI03 1008 -#define IDC_ICON_DI04 1009 -#define IDC_ICON_DI05 1010 -#define IDC_ICON_DI06 1011 -#define IDC_ICON_DI07 1012 -#define IDC_ICON_DI08 1013 -#define IDC_ICON_DI09 1014 -#define IDC_STATIC_01 1014 -#define IDC_ICON_DI10 1015 -#define IDC_ICON_DI11 1016 -#define IDC_ICON_DI12 1017 -#define IDC_ICON_DI13 1018 -#define IDC_ICON_DI14 1019 -#define IDC_ICON_DI15 1020 -#define IDC_CHECK_DO02 1021 -#define IDC_CHECK_DO03 1022 -#define IDC_CHECK_DO04 1023 -#define IDC_CHECK_DO05 1024 -#define IDC_CHECK_DO06 1025 -#define IDC_CHECK_DO07 1026 -#define IDC_CHECK_DO08 1027 -#define IDC_CHECK_DO09 1028 -#define IDC_CHECK_DO10 1029 -#define IDC_CHECK_DO11 1030 -#define IDC_CHECK_DO12 1031 -#define IDC_CHECK_DO13 1032 -#define IDC_CHECK_DO14 1033 -#define IDC_CHECK_DO15 1034 - -// Next default values for new objects -// -#ifdef APSTUDIO_INVOKED -#ifndef APSTUDIO_READONLY_SYMBOLS -#define _APS_NEXT_RESOURCE_VALUE 134 -#define _APS_NEXT_COMMAND_VALUE 32771 -#define _APS_NEXT_CONTROL_VALUE 1000 -#define _APS_NEXT_SYMED_VALUE 101 -#endif -#endif diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7256/Sdk7256/stdafx.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7256/Sdk7256/stdafx.cpp deleted file mode 100644 index a8fef25..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7256/Sdk7256/stdafx.cpp +++ /dev/null @@ -1,8 +0,0 @@ - -// stdafx.cpp : source file that includes just the standard includes -// Util7256.pch will be the pre-compiled header -// stdafx.obj will contain the pre-compiled type information - -#include "stdafx.h" - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7256/Sdk7256/stdafx.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7256/Sdk7256/stdafx.h deleted file mode 100644 index 12123e2..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7256/Sdk7256/stdafx.h +++ /dev/null @@ -1,60 +0,0 @@ - -// stdafx.h : include file for standard system include files, -// or project specific include files that are used frequently, -// but are changed infrequently - -#pragma once - -#ifndef _SECURE_ATL -#define _SECURE_ATL 1 -#endif - -#ifndef VC_EXTRALEAN -#define VC_EXTRALEAN // Exclude rarely-used stuff from Windows headers -#endif - -#include "targetver.h" - -#define _ATL_CSTRING_EXPLICIT_CONSTRUCTORS // some CString constructors will be explicit - -// turns off MFC's hiding of some common and often safely ignored warning messages -#define _AFX_ALL_WARNINGS - -#include // MFC core and standard components -#include // MFC extensions - - -#include // MFC Automation classes - - - -#ifndef _AFX_NO_OLE_SUPPORT -#include // MFC support for Internet Explorer 4 Common Controls -#endif -#ifndef _AFX_NO_AFXCMN_SUPPORT -#include // MFC support for Windows Common Controls -#endif // _AFX_NO_AFXCMN_SUPPORT - -#include // MFC support for ribbons and control bars - - - - - - - - - -#ifdef _UNICODE -#if defined _M_IX86 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='x86' publicKeyToken='6595b64144ccf1df' language='*'\"") -#elif defined _M_IA64 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='ia64' publicKeyToken='6595b64144ccf1df' language='*'\"") -#elif defined _M_X64 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='amd64' publicKeyToken='6595b64144ccf1df' language='*'\"") -#else -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='*' publicKeyToken='6595b64144ccf1df' language='*'\"") -#endif -#endif - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7256/Sdk7256/targetver.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7256/Sdk7256/targetver.h deleted file mode 100644 index 11730d5..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7256/Sdk7256/targetver.h +++ /dev/null @@ -1,26 +0,0 @@ - -#pragma once - -// The following macros define the minimum required platform. The minimum required platform -// is the earliest version of Windows, Internet Explorer etc. that has the necessary features to run -// your application. The macros work by enabling all features available on platform versions up to and -// including the version specified. - -// Modify the following defines if you have to target a platform prior to the ones specified below. -// Refer to MSDN for the latest info on corresponding values for different platforms. -#ifndef WINVER // Specifies that the minimum required platform is Windows Vista. -#define WINVER 0x0600 // Change this to the appropriate value to target other versions of Windows. -#endif - -#ifndef _WIN32_WINNT // Specifies that the minimum required platform is Windows Vista. -#define _WIN32_WINNT 0x0600 // Change this to the appropriate value to target other versions of Windows. -#endif - -#ifndef _WIN32_WINDOWS // Specifies that the minimum required platform is Windows 98. -#define _WIN32_WINDOWS 0x0410 // Change this to the appropriate value to target Windows Me or later. -#endif - -#ifndef _WIN32_IE // Specifies that the minimum required platform is Internet Explorer 7.0. -#define _WIN32_IE 0x0700 // Change this to the appropriate value to target other versions of IE. -#endif - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7258/SDK7258int/7256int.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7258/SDK7258int/7256int.suo deleted file mode 100644 index 494d925..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7258/SDK7258int/7256int.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7258/SDK7258int/7258int.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7258/SDK7258int/7258int.cpp deleted file mode 100644 index 90a4385..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7258/SDK7258int/7258int.cpp +++ /dev/null @@ -1,110 +0,0 @@ - -// 7258int.cpp : Defines the class behaviors for the application. -// - -#include "stdafx.h" -#include "7258int.h" -#include "7258intDlg.h" -#include "CardIDDlg.h" - -#ifdef _DEBUG -#define new DEBUG_NEW -#endif - - -// C7258intApp - -BEGIN_MESSAGE_MAP(C7258intApp, CWinAppEx) - ON_COMMAND(ID_HELP, &CWinApp::OnHelp) -END_MESSAGE_MAP() - - -// C7258intApp construction - -C7258intApp::C7258intApp() -{ - // TODO: add construction code here, - // Place all significant initialization in InitInstance -} - - -// The one and only C7258intApp object - -C7258intApp theApp; - - -// C7258intApp initialization - -BOOL C7258intApp::InitInstance() -{ - int nCardID = 0; - I16 hCard; - CString strTemp; - INT_PTR nResponse; - - // InitCommonControlsEx() is required on Windows XP if an application - // manifest specifies use of ComCtl32.dll version 6 or later to enable - // visual styles. Otherwise, any window creation will fail. - INITCOMMONCONTROLSEX InitCtrls; - InitCtrls.dwSize = sizeof(InitCtrls); - // Set this to include all the common control classes you want to use - // in your application. - InitCtrls.dwICC = ICC_WIN95_CLASSES; - InitCommonControlsEx(&InitCtrls); - - CWinAppEx::InitInstance(); - - AfxEnableControlContainer(); - - // Standard initialization - // If you are not using these features and wish to reduce the size - // of your final executable, you should remove from the following - // the specific initialization routines you do not need - // Change the registry key under which our settings are stored - // TODO: You should modify this string to be something appropriate - // such as the name of your company or organization - SetRegistryKey(_T("Local AppWizard-Generated Applications")); - - CCardIDDlg CardDlg( nCardID ); - - nResponse = CardDlg.DoModal(); - if (nResponse == IDOK) - { - nCardID = CardDlg.GetCardID(); - - if ((hCard=Register_Card(PCI_7258, nCardID)) < 0) - { - strTemp.Format( TEXT("Register_Card Error = %d"), hCard); - AfxMessageBox( strTemp ); - } - else - { - C7258intDlg dlg(hCard); - m_pMainWnd = &dlg; - nResponse = dlg.DoModal(); - if (nResponse == IDOK) - { - // TODO: Place code here to handle when the dialog is - // dismissed with OK - } - else if (nResponse == IDCANCEL) - { - // TODO: Place code here to handle when the dialog is - // dismissed with Cancel - } - - if (hCard >= 0) Release_Card(hCard); - } - - } - else if (nResponse == IDCANCEL) - { - // TODO: Place code here to handle when the dialog is - // dismissed with Cancel - } - - - // Since the dialog has been closed, return FALSE so that we exit the - // application, rather than start the application's message pump. - return FALSE; -} diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7258/SDK7258int/7258int.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7258/SDK7258int/7258int.h deleted file mode 100644 index 5f84516..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7258/SDK7258int/7258int.h +++ /dev/null @@ -1,32 +0,0 @@ - -// 7258int.h : main header file for the PROJECT_NAME application -// - -#pragma once - -#ifndef __AFXWIN_H__ - #error "include 'stdafx.h' before including this file for PCH" -#endif - -#include "resource.h" // main symbols - - -// C7258intApp: -// See 7258int.cpp for the implementation of this class -// - -class C7258intApp : public CWinAppEx -{ -public: - C7258intApp(); - -// Overrides - public: - virtual BOOL InitInstance(); - -// Implementation - - DECLARE_MESSAGE_MAP() -}; - -extern C7258intApp theApp; \ No newline at end of file diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7258/SDK7258int/7258int.rc b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7258/SDK7258int/7258int.rc deleted file mode 100644 index 7ee2557..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7258/SDK7258int/7258int.rc +++ /dev/null @@ -1,277 +0,0 @@ -// Microsoft Visual C++ generated resource script. -// -#include "resource.h" - -#define APSTUDIO_READONLY_SYMBOLS -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 2 resource. -// -#ifndef APSTUDIO_INVOKED -#include "targetver.h" -#endif -#include "afxres.h" - -///////////////////////////////////////////////////////////////////////////// -#undef APSTUDIO_READONLY_SYMBOLS - -///////////////////////////////////////////////////////////////////////////// -// Chinese (Taiwan) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_CHT) -#ifdef _WIN32 -LANGUAGE LANG_CHINESE, SUBLANG_CHINESE_TRADITIONAL -#pragma code_page(950) -#endif //_WIN32 - -#ifdef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// TEXTINCLUDE -// - -1 TEXTINCLUDE -BEGIN - "resource.h\0" -END - -2 TEXTINCLUDE -BEGIN - "#ifndef APSTUDIO_INVOKED\r\n" - "#include ""targetver.h""\r\n" - "#endif\r\n" - "#include ""afxres.h""\r\n" - "\0" -END - -3 TEXTINCLUDE -BEGIN - "#define _AFX_NO_SPLITTER_RESOURCES\r\n" - "#define _AFX_NO_OLE_RESOURCES\r\n" - "#define _AFX_NO_TRACKER_RESOURCES\r\n" - "#define _AFX_NO_PROPERTY_RESOURCES\r\n" - "\r\n" - "#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)\r\n" - "LANGUAGE 9, 1\r\n" - "#pragma code_page(1252)\r\n" - "#include ""res\\My7258int.rc2"" // non-Microsoft Visual C++ edited resources\r\n" - "#include ""afxres.rc"" // Standard components\r\n" - "#endif\r\n" - "\0" -END - -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// Icon -// - -// Icon with lowest ID value placed first to ensure application icon -// remains consistent on all systems. -IDR_MAINFRAME ICON "res\\7258int.ico" -#endif // Chinese (Taiwan) resources -///////////////////////////////////////////////////////////////////////////// - - -///////////////////////////////////////////////////////////////////////////// -// English (U.S.) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -#ifdef _WIN32 -LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US -#pragma code_page(1252) -#endif //_WIN32 - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog -// - -IDD_ABOUTBOX DIALOGEX 0, 0, 170, 62 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "About 7258int" -FONT 8, "MS Shell Dlg", 0, 0, 0x1 -BEGIN - ICON IDR_MAINFRAME,IDC_STATIC,14,14,21,20 - LTEXT "7258int, Version 1.0",IDC_STATIC,42,14,114,8,SS_NOPREFIX - LTEXT "Copyright (C) 2010",IDC_STATIC,42,26,114,8 - DEFPUSHBUTTON "OK",IDOK,113,41,50,14,WS_GROUP -END - -IDD_MY7258INT_DIALOG DIALOGEX 0, 0, 195, 138 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU -EXSTYLE WS_EX_APPWINDOW -CAPTION "PCI-7258 Interrupt Sample (INT1)" -FONT 8, "MS Shell Dlg", 0, 0, 0x1 -BEGIN - LTEXT "This program shows the number of occurrence of INT1 interrupt. INT1 interrupt is generated by external signal from DI bit-0. If you connect DO bit-0 to DI bit-0, press 'Output' button can generate an interrupt.",IDC_STATIC,25,24,151,42 - LTEXT "INT Count =",IDC_STATIC_05,54,83,85,13 - PUSHBUTTON "Output",IDC_BT_OUTPUT,46,103,84,18 -END - -IDD_CARDID_DIALOG DIALOGEX 0, 0, 163, 88 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "Card ID" -FONT 8, "MS Shell Dlg", 400, 0, 0x1 -BEGIN - COMBOBOX IDC_COMBO_CARDID,73,17,71,126,CBS_DROPDOWN | WS_VSCROLL | WS_TABSTOP - LTEXT "Card Number",IDC_STATIC_01,19,18,46,12 - PUSHBUTTON "OK",IDOK,20,50,58,19 - PUSHBUTTON "CANCEL",IDCANCEL,84,50,58,19 -END - - -///////////////////////////////////////////////////////////////////////////// -// -// Version -// - -VS_VERSION_INFO VERSIONINFO - FILEVERSION 1,0,0,1 - PRODUCTVERSION 1,0,0,1 - FILEFLAGSMASK 0x3fL -#ifdef _DEBUG - FILEFLAGS 0x1L -#else - FILEFLAGS 0x0L -#endif - FILEOS 0x4L - FILETYPE 0x1L - FILESUBTYPE 0x0L -BEGIN - BLOCK "StringFileInfo" - BEGIN - BLOCK "040904e4" - BEGIN - VALUE "CompanyName", "TODO: " - VALUE "FileDescription", "TODO: " - VALUE "FileVersion", "1.0.0.1" - VALUE "InternalName", "7258int.exe" - VALUE "LegalCopyright", "TODO: (c) . All rights reserved." - VALUE "OriginalFilename", "7258int.exe" - VALUE "ProductName", "TODO: " - VALUE "ProductVersion", "1.0.0.1" - END - END - BLOCK "VarFileInfo" - BEGIN - VALUE "Translation", 0x409, 1252 - END -END - - -///////////////////////////////////////////////////////////////////////////// -// -// DESIGNINFO -// - -#ifdef APSTUDIO_INVOKED -GUIDELINES DESIGNINFO -BEGIN - IDD_ABOUTBOX, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 163 - TOPMARGIN, 7 - BOTTOMMARGIN, 55 - END - - IDD_MY7258INT_DIALOG, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 188 - TOPMARGIN, 7 - BOTTOMMARGIN, 131 - END - - IDD_CARDID_DIALOG, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 156 - TOPMARGIN, 7 - BOTTOMMARGIN, 81 - END -END -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog Info -// - -IDD_CARDID_DIALOG DLGINIT -BEGIN - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0030, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0031, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0032, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0033, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0034, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0035, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0036, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0037, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0038, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0039, - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3031, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3131, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3231, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3331, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3431, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3531, "\000" - 0 -END - - -///////////////////////////////////////////////////////////////////////////// -// -// String Table -// - -STRINGTABLE -BEGIN - IDS_ABOUTBOX "&About 7258int..." -END - -#endif // English (U.S.) resources -///////////////////////////////////////////////////////////////////////////// - - - -#ifndef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 3 resource. -// -#define _AFX_NO_SPLITTER_RESOURCES -#define _AFX_NO_OLE_RESOURCES -#define _AFX_NO_TRACKER_RESOURCES -#define _AFX_NO_PROPERTY_RESOURCES - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -LANGUAGE 9, 1 -#pragma code_page(1252) -#include "res\My7258int.rc2" // non-Microsoft Visual C++ edited resources -#include "afxres.rc" // Standard components -#endif - -///////////////////////////////////////////////////////////////////////////// -#endif // not APSTUDIO_INVOKED - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7258/SDK7258int/7258int.sln b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7258/SDK7258int/7258int.sln deleted file mode 100644 index 7eb8df7..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7258/SDK7258int/7258int.sln +++ /dev/null @@ -1,26 +0,0 @@ - -Microsoft Visual Studio Solution File, Format Version 10.00 -# Visual Studio 2008 -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "7258int", "7258int.vcproj", "{7D5D9EC5-ED97-47EE-B6F4-ACCD71069808}" -EndProject -Global - GlobalSection(SolutionConfigurationPlatforms) = preSolution - Debug|Win32 = Debug|Win32 - Debug|x64 = Debug|x64 - Release|Win32 = Release|Win32 - Release|x64 = Release|x64 - EndGlobalSection - GlobalSection(ProjectConfigurationPlatforms) = postSolution - {7D5D9EC5-ED97-47EE-B6F4-ACCD71069808}.Debug|Win32.ActiveCfg = Debug|Win32 - {7D5D9EC5-ED97-47EE-B6F4-ACCD71069808}.Debug|Win32.Build.0 = Debug|Win32 - {7D5D9EC5-ED97-47EE-B6F4-ACCD71069808}.Debug|x64.ActiveCfg = Debug|x64 - {7D5D9EC5-ED97-47EE-B6F4-ACCD71069808}.Debug|x64.Build.0 = Debug|x64 - {7D5D9EC5-ED97-47EE-B6F4-ACCD71069808}.Release|Win32.ActiveCfg = Release|Win32 - {7D5D9EC5-ED97-47EE-B6F4-ACCD71069808}.Release|Win32.Build.0 = Release|Win32 - {7D5D9EC5-ED97-47EE-B6F4-ACCD71069808}.Release|x64.ActiveCfg = Release|x64 - {7D5D9EC5-ED97-47EE-B6F4-ACCD71069808}.Release|x64.Build.0 = Release|x64 - EndGlobalSection - GlobalSection(SolutionProperties) = preSolution - HideSolutionNode = FALSE - EndGlobalSection -EndGlobal diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7258/SDK7258int/7258int.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7258/SDK7258int/7258int.suo deleted file mode 100644 index 05b9cb1..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7258/SDK7258int/7258int.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7258/SDK7258int/7258int.vcproj b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7258/SDK7258int/7258int.vcproj deleted file mode 100644 index 0658aa1..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7258/SDK7258int/7258int.vcproj +++ /dev/null @@ -1,471 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7258/SDK7258int/7258intDlg.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7258/SDK7258int/7258intDlg.cpp deleted file mode 100644 index c97a054..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7258/SDK7258int/7258intDlg.cpp +++ /dev/null @@ -1,242 +0,0 @@ - -// 7258intDlg.cpp : implementation file -// - -#include "stdafx.h" -#include "7258int.h" -#include "7258intDlg.h" - -#ifdef _DEBUG -#define new DEBUG_NEW -#endif - -int gIntCount; -HANDLE ghIntEvent[2]; - -BOOLEAN gbExitThread; - - - -DWORD WINAPI IntThread( LPVOID lpParam ) -{ - - while ( gbExitThread == FALSE ) - { - if ( WaitForSingleObject(ghIntEvent[0], INFINITE) == WAIT_OBJECT_0 ) - { - gIntCount++; - ResetEvent(ghIntEvent[0]); - } - } - - return (DWORD) 0; -} - -// CAboutDlg dialog used for App About - -class CAboutDlg : public CDialog -{ -public: - CAboutDlg(); - -// Dialog Data - enum { IDD = IDD_ABOUTBOX }; - - protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - -// Implementation -protected: - DECLARE_MESSAGE_MAP() -}; - -CAboutDlg::CAboutDlg() : CDialog(CAboutDlg::IDD) -{ -} - -void CAboutDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); -} - -BEGIN_MESSAGE_MAP(CAboutDlg, CDialog) -END_MESSAGE_MAP() - - -// C7258intDlg dialog - - - - -C7258intDlg::C7258intDlg(I16 hCard, CWnd* pParent /*=NULL*/) - : CDialog(C7258intDlg::IDD, pParent) -{ - m_hIcon = AfxGetApp()->LoadIcon(IDR_MAINFRAME); - - m_hCard = hCard; - m_hThread = NULL; - m_nTimer = -1; - m_dwOutVal = 0x00000000; -} - -void C7258intDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); -} - -BEGIN_MESSAGE_MAP(C7258intDlg, CDialog) - ON_WM_SYSCOMMAND() - ON_WM_PAINT() - ON_WM_QUERYDRAGICON() - //}}AFX_MSG_MAP - ON_WM_DESTROY() - ON_WM_TIMER() - ON_BN_CLICKED(IDC_BT_OUTPUT, &C7258intDlg::OnOutput) -END_MESSAGE_MAP() - - -// C7258intDlg message handlers - -BOOL C7258intDlg::OnInitDialog() -{ - CDialog::OnInitDialog(); - - // Add "About..." menu item to system menu. - - // IDM_ABOUTBOX must be in the system command range. - ASSERT((IDM_ABOUTBOX & 0xFFF0) == IDM_ABOUTBOX); - ASSERT(IDM_ABOUTBOX < 0xF000); - - CMenu* pSysMenu = GetSystemMenu(FALSE); - if (pSysMenu != NULL) - { - BOOL bNameValid; - CString strAboutMenu; - bNameValid = strAboutMenu.LoadString(IDS_ABOUTBOX); - ASSERT(bNameValid); - if (!strAboutMenu.IsEmpty()) - { - pSysMenu->AppendMenu(MF_SEPARATOR); - pSysMenu->AppendMenu(MF_STRING, IDM_ABOUTBOX, strAboutMenu); - } - } - - // Set the icon for this dialog. The framework does this automatically - // when the application's main window is not a dialog - SetIcon(m_hIcon, TRUE); // Set big icon - SetIcon(m_hIcon, FALSE); // Set small icon - - // TODO: Add extra initialization here - I16 err; - - err = DIO_SetDualInterrupt(m_hCard, INT1_EXT_SIGNAL, INT2_DISABLE, ghIntEvent); - DO_WritePort(m_hCard, 0, m_dwOutVal); - - gbExitThread = FALSE; - m_hThread = CreateThread( NULL, // default security attributes - 0, // use default stack size - IntThread, // thread function name - NULL, // argument to thread function - 0, // use default creation flags - NULL); // returns the thread identifier - - m_nTimer = SetTimer( 1, 250, NULL ); - - return TRUE; // return TRUE unless you set the focus to a control -} - -void C7258intDlg::OnSysCommand(UINT nID, LPARAM lParam) -{ - if ((nID & 0xFFF0) == IDM_ABOUTBOX) - { - CAboutDlg dlgAbout; - dlgAbout.DoModal(); - } - else - { - CDialog::OnSysCommand(nID, lParam); - } -} - -// If you add a minimize button to your dialog, you will need the code below -// to draw the icon. For MFC applications using the document/view model, -// this is automatically done for you by the framework. - -void C7258intDlg::OnPaint() -{ - if (IsIconic()) - { - CPaintDC dc(this); // device context for painting - - SendMessage(WM_ICONERASEBKGND, reinterpret_cast(dc.GetSafeHdc()), 0); - - // Center icon in client rectangle - int cxIcon = GetSystemMetrics(SM_CXICON); - int cyIcon = GetSystemMetrics(SM_CYICON); - CRect rect; - GetClientRect(&rect); - int x = (rect.Width() - cxIcon + 1) / 2; - int y = (rect.Height() - cyIcon + 1) / 2; - - // Draw the icon - dc.DrawIcon(x, y, m_hIcon); - } - else - { - CDialog::OnPaint(); - } -} - -// The system calls this function to obtain the cursor to display while the user drags -// the minimized window. -HCURSOR C7258intDlg::OnQueryDragIcon() -{ - return static_cast(m_hIcon); -} - - -void C7258intDlg::OnDestroy() -{ - CDialog::OnDestroy(); - - // TODO: Add your message handler code here - DIO_SetDualInterrupt(m_hCard, INT1_DISABLE, INT2_DISABLE, ghIntEvent); - DIO_SetCOSInterrupt(m_hCard, 0, 0, 0, 0); - - if( m_nTimer != -1 ) - { - KillTimer( m_nTimer ); - m_nTimer = -1; - } - - - if( m_hThread != NULL ) - { - gbExitThread = TRUE; // termnate the IntThread - SetEvent( ghIntEvent[0] ); - - if (WaitForSingleObject(m_hThread, 5000) == WAIT_OBJECT_0) - { - CloseHandle( m_hThread ); - m_hThread = NULL; - } - } -} - -void C7258intDlg::OnTimer(UINT_PTR nIDEvent) -{ - // TODO: Add your message handler code here and/or call default - CString strTemp; - - strTemp.Format( TEXT("INT Count = %d"), gIntCount ); - SetDlgItemText( IDC_STATIC_05, strTemp ); - - CDialog::OnTimer(nIDEvent); -} - -void C7258intDlg::OnOutput() -{ - // TODO: Add your control notification handler code here - m_dwOutVal = (m_dwOutVal+1) % 2; - DO_WritePort(m_hCard, 0, m_dwOutVal); -} diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7258/SDK7258int/7258intDlg.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7258/SDK7258int/7258intDlg.h deleted file mode 100644 index 2c60374..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7258/SDK7258int/7258intDlg.h +++ /dev/null @@ -1,41 +0,0 @@ - -// 7258intDlg.h : header file -// -#include "Dask64.h" - -#pragma once - - -// C7258intDlg dialog -class C7258intDlg : public CDialog -{ -// Construction -public: - C7258intDlg(I16 hCard, CWnd* pParent = NULL); // standard constructor - -// Dialog Data - enum { IDD = IDD_MY7258INT_DIALOG }; - - protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - - -// Implementation -protected: - HICON m_hIcon; - UINT_PTR m_nTimer; - HANDLE m_hThread; - I16 m_hCard; - U32 m_dwOutVal; - - // Generated message map functions - virtual BOOL OnInitDialog(); - afx_msg void OnSysCommand(UINT nID, LPARAM lParam); - afx_msg void OnPaint(); - afx_msg HCURSOR OnQueryDragIcon(); - DECLARE_MESSAGE_MAP() -public: - afx_msg void OnDestroy(); - afx_msg void OnTimer(UINT_PTR nIDEvent); - afx_msg void OnOutput(); -}; diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7258/SDK7258int/CardIDDlg.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7258/SDK7258int/CardIDDlg.cpp deleted file mode 100644 index f9251da..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7258/SDK7258int/CardIDDlg.cpp +++ /dev/null @@ -1,67 +0,0 @@ -// CardIDDlg.cpp : implementation file -// - -#include "stdafx.h" -#include "7258int.h" -#include "CardIDDlg.h" - - -// CCardIDDlg dialog - -IMPLEMENT_DYNAMIC(CCardIDDlg, CDialog) - -CCardIDDlg::CCardIDDlg(int nCardIdx, CWnd* pParent /*=NULL*/) - : CDialog(CCardIDDlg::IDD, pParent) -{ - m_nCardIdx = nCardIdx; -} - -CCardIDDlg::~CCardIDDlg() -{ -} - -void CCardIDDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); - DDX_Control(pDX, IDC_COMBO_CARDID, m_cbCardID); -} - - -BEGIN_MESSAGE_MAP(CCardIDDlg, CDialog) -// ON_CBN_SELCHANGE(IDC_COMBO_CARDID, &CCardIDDlg::OnCbnSelchangeComboCardid) -ON_BN_CLICKED(IDOK, &CCardIDDlg::OnBnClickedOk) -//ON_WM_CTLCOLOR() -END_MESSAGE_MAP() - - -// CCardIDDlg message handlers - - -void CCardIDDlg::OnBnClickedOk() -{ - // TODO: Add your control notification handler code here - -// UpdateData(TRUE); - m_nCardIdx = m_cbCardID.GetCurSel(); - - OnOK(); -} - -BOOL CCardIDDlg::OnInitDialog() -{ - CDialog::OnInitDialog(); - - // TODO: Add extra initialization here - m_cbCardID.SetCurSel( m_nCardIdx ); - - return TRUE; // return TRUE unless you set the focus to a control - // EXCEPTION: OCX Property Pages should return FALSE -} - -// the function to get the selected CardID -int CCardIDDlg::GetCardID(void) -{ - return m_nCardIdx; -} - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7258/SDK7258int/CardIDDlg.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7258/SDK7258int/CardIDDlg.h deleted file mode 100644 index 54628ea..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7258/SDK7258int/CardIDDlg.h +++ /dev/null @@ -1,33 +0,0 @@ -#pragma once -#include "afxwin.h" - - -// CCardIDDlg dialog - -class CCardIDDlg : public CDialog -{ - DECLARE_DYNAMIC(CCardIDDlg) - -public: - CCardIDDlg(int nCardIdx, CWnd* pParent = NULL); // standard constructor - virtual ~CCardIDDlg(); - -// Dialog Data - enum { IDD = IDD_CARDID_DIALOG }; - -protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - - DECLARE_MESSAGE_MAP() -public: -// afx_msg void OnCbnSelchangeComboCardid(); - afx_msg void OnBnClickedOk(); - // the setting of CardID ComboBox - int m_nCardIdx; - virtual BOOL OnInitDialog(); - // the control of CardID ComboBox - CComboBox m_cbCardID; - // the function to get the selected CardID - int GetCardID(void); -// afx_msg HBRUSH OnCtlColor(CDC* pDC, CWnd* pWnd, UINT nCtlColor); -}; diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7258/SDK7258int/ReadMe.txt b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7258/SDK7258int/ReadMe.txt deleted file mode 100644 index 2d07819..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7258/SDK7258int/ReadMe.txt +++ /dev/null @@ -1,93 +0,0 @@ -================================================================================ - MICROSOFT FOUNDATION CLASS LIBRARY : 7256int Project Overview -=============================================================================== - -The application wizard has created this 7256int application for -you. This application not only demonstrates the basics of using the Microsoft -Foundation Classes but is also a starting point for writing your application. - -This file contains a summary of what you will find in each of the files that -make up your 7256int application. - -7256int.vcproj - This is the main project file for VC++ projects generated using an application wizard. - It contains information about the version of Visual C++ that generated the file, and - information about the platforms, configurations, and project features selected with the - application wizard. - -7256int.h - This is the main header file for the application. It includes other - project specific headers (including Resource.h) and declares the - C7256intApp application class. - -7256int.cpp - This is the main application source file that contains the application - class C7256intApp. - -7256int.rc - This is a listing of all of the Microsoft Windows resources that the - program uses. It includes the icons, bitmaps, and cursors that are stored - in the RES subdirectory. This file can be directly edited in Microsoft - Visual C++. Your project resources are in 1033. - -res\7256int.ico - This is an icon file, which is used as the application's icon. This - icon is included by the main resource file 7256int.rc. - -res\My7256int.rc2 - This file contains resources that are not edited by Microsoft - Visual C++. You should place all resources not editable by - the resource editor in this file. - - -///////////////////////////////////////////////////////////////////////////// - -The application wizard creates one dialog class: - -7256intDlg.h, 7256intDlg.cpp - the dialog - These files contain your C7256intDlg class. This class defines - the behavior of your application's main dialog. The dialog's template is - in 7256int.rc, which can be edited in Microsoft Visual C++. - - -///////////////////////////////////////////////////////////////////////////// - -Other Features: - -ActiveX Controls - The application includes support to use ActiveX controls. - -///////////////////////////////////////////////////////////////////////////// - -Other standard files: - -StdAfx.h, StdAfx.cpp - These files are used to build a precompiled header (PCH) file - named 7256int.pch and a precompiled types file named StdAfx.obj. - -Resource.h - This is the standard header file, which defines new resource IDs. - Microsoft Visual C++ reads and updates this file. - -7256int.manifest - Application manifest files are used by Windows XP to describe an applications - dependency on specific versions of Side-by-Side assemblies. The loader uses this - information to load the appropriate assembly from the assembly cache or private - from the application. The Application manifest maybe included for redistribution - as an external .manifest file that is installed in the same folder as the application - executable or it may be included in the executable in the form of a resource. -///////////////////////////////////////////////////////////////////////////// - -Other notes: - -The application wizard uses "TODO:" to indicate parts of the source code you -should add to or customize. - -If your application uses MFC in a shared DLL, you will need -to redistribute the MFC DLLs. If your application is in a language -other than the operating system's locale, you will also have to -redistribute the corresponding localized resources MFC90XXX.DLL. -For more information on both of these topics, please see the section on -redistributing Visual C++ applications in MSDN documentation. - -///////////////////////////////////////////////////////////////////////////// diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7258/SDK7258int/res/7258int.ico b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7258/SDK7258int/res/7258int.ico deleted file mode 100644 index d56fbcd..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7258/SDK7258int/res/7258int.ico and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7258/SDK7258int/res/My7258int.rc2 b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7258/SDK7258int/res/My7258int.rc2 deleted file mode 100644 index 7bd3593..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7258/SDK7258int/res/My7258int.rc2 +++ /dev/null @@ -1,13 +0,0 @@ -// -// My7256int.RC2 - resources Microsoft Visual C++ does not edit directly -// - -#ifdef APSTUDIO_INVOKED -#error this file is not editable by Microsoft Visual C++ -#endif //APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// Add manually edited resources here... - -///////////////////////////////////////////////////////////////////////////// diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7258/SDK7258int/resource.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7258/SDK7258int/resource.h deleted file mode 100644 index 2f6431f..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7258/SDK7258int/resource.h +++ /dev/null @@ -1,27 +0,0 @@ -//{{NO_DEPENDENCIES}} -// Microsoft Visual C++ generated include file. -// Used by 7258int.rc -// -#define IDM_ABOUTBOX 0x0010 -#define IDD_ABOUTBOX 100 -#define IDS_ABOUTBOX 101 -#define IDD_MY7258INT_DIALOG 102 -#define IDR_MAINFRAME 128 -#define IDD_CARDID_DIALOG 129 -#define IDC_COMBO_CARDID 1000 -#define IDC_BUTTON1 1000 -#define IDC_BT_OUTPUT 1000 -#define IDC_STATIC_05 1007 -#define IDC_STATIC_06 1008 -#define IDC_STATIC_01 1014 - -// Next default values for new objects -// -#ifdef APSTUDIO_INVOKED -#ifndef APSTUDIO_READONLY_SYMBOLS -#define _APS_NEXT_RESOURCE_VALUE 131 -#define _APS_NEXT_COMMAND_VALUE 32771 -#define _APS_NEXT_CONTROL_VALUE 1001 -#define _APS_NEXT_SYMED_VALUE 101 -#endif -#endif diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7258/SDK7258int/stdafx.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7258/SDK7258int/stdafx.cpp deleted file mode 100644 index a81ddd0..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7258/SDK7258int/stdafx.cpp +++ /dev/null @@ -1,8 +0,0 @@ - -// stdafx.cpp : source file that includes just the standard includes -// 7258int.pch will be the pre-compiled header -// stdafx.obj will contain the pre-compiled type information - -#include "stdafx.h" - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7258/SDK7258int/stdafx.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7258/SDK7258int/stdafx.h deleted file mode 100644 index 12123e2..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7258/SDK7258int/stdafx.h +++ /dev/null @@ -1,60 +0,0 @@ - -// stdafx.h : include file for standard system include files, -// or project specific include files that are used frequently, -// but are changed infrequently - -#pragma once - -#ifndef _SECURE_ATL -#define _SECURE_ATL 1 -#endif - -#ifndef VC_EXTRALEAN -#define VC_EXTRALEAN // Exclude rarely-used stuff from Windows headers -#endif - -#include "targetver.h" - -#define _ATL_CSTRING_EXPLICIT_CONSTRUCTORS // some CString constructors will be explicit - -// turns off MFC's hiding of some common and often safely ignored warning messages -#define _AFX_ALL_WARNINGS - -#include // MFC core and standard components -#include // MFC extensions - - -#include // MFC Automation classes - - - -#ifndef _AFX_NO_OLE_SUPPORT -#include // MFC support for Internet Explorer 4 Common Controls -#endif -#ifndef _AFX_NO_AFXCMN_SUPPORT -#include // MFC support for Windows Common Controls -#endif // _AFX_NO_AFXCMN_SUPPORT - -#include // MFC support for ribbons and control bars - - - - - - - - - -#ifdef _UNICODE -#if defined _M_IX86 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='x86' publicKeyToken='6595b64144ccf1df' language='*'\"") -#elif defined _M_IA64 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='ia64' publicKeyToken='6595b64144ccf1df' language='*'\"") -#elif defined _M_X64 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='amd64' publicKeyToken='6595b64144ccf1df' language='*'\"") -#else -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='*' publicKeyToken='6595b64144ccf1df' language='*'\"") -#endif -#endif - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7258/SDK7258int/targetver.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7258/SDK7258int/targetver.h deleted file mode 100644 index 11730d5..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7258/SDK7258int/targetver.h +++ /dev/null @@ -1,26 +0,0 @@ - -#pragma once - -// The following macros define the minimum required platform. The minimum required platform -// is the earliest version of Windows, Internet Explorer etc. that has the necessary features to run -// your application. The macros work by enabling all features available on platform versions up to and -// including the version specified. - -// Modify the following defines if you have to target a platform prior to the ones specified below. -// Refer to MSDN for the latest info on corresponding values for different platforms. -#ifndef WINVER // Specifies that the minimum required platform is Windows Vista. -#define WINVER 0x0600 // Change this to the appropriate value to target other versions of Windows. -#endif - -#ifndef _WIN32_WINNT // Specifies that the minimum required platform is Windows Vista. -#define _WIN32_WINNT 0x0600 // Change this to the appropriate value to target other versions of Windows. -#endif - -#ifndef _WIN32_WINDOWS // Specifies that the minimum required platform is Windows 98. -#define _WIN32_WINDOWS 0x0410 // Change this to the appropriate value to target Windows Me or later. -#endif - -#ifndef _WIN32_IE // Specifies that the minimum required platform is Internet Explorer 7.0. -#define _WIN32_IE 0x0700 // Change this to the appropriate value to target other versions of IE. -#endif - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7258/SDK7258intMsg/7256int.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7258/SDK7258intMsg/7256int.suo deleted file mode 100644 index 01299a3..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7258/SDK7258intMsg/7256int.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7258/SDK7258intMsg/7258int.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7258/SDK7258intMsg/7258int.cpp deleted file mode 100644 index 90a4385..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7258/SDK7258intMsg/7258int.cpp +++ /dev/null @@ -1,110 +0,0 @@ - -// 7258int.cpp : Defines the class behaviors for the application. -// - -#include "stdafx.h" -#include "7258int.h" -#include "7258intDlg.h" -#include "CardIDDlg.h" - -#ifdef _DEBUG -#define new DEBUG_NEW -#endif - - -// C7258intApp - -BEGIN_MESSAGE_MAP(C7258intApp, CWinAppEx) - ON_COMMAND(ID_HELP, &CWinApp::OnHelp) -END_MESSAGE_MAP() - - -// C7258intApp construction - -C7258intApp::C7258intApp() -{ - // TODO: add construction code here, - // Place all significant initialization in InitInstance -} - - -// The one and only C7258intApp object - -C7258intApp theApp; - - -// C7258intApp initialization - -BOOL C7258intApp::InitInstance() -{ - int nCardID = 0; - I16 hCard; - CString strTemp; - INT_PTR nResponse; - - // InitCommonControlsEx() is required on Windows XP if an application - // manifest specifies use of ComCtl32.dll version 6 or later to enable - // visual styles. Otherwise, any window creation will fail. - INITCOMMONCONTROLSEX InitCtrls; - InitCtrls.dwSize = sizeof(InitCtrls); - // Set this to include all the common control classes you want to use - // in your application. - InitCtrls.dwICC = ICC_WIN95_CLASSES; - InitCommonControlsEx(&InitCtrls); - - CWinAppEx::InitInstance(); - - AfxEnableControlContainer(); - - // Standard initialization - // If you are not using these features and wish to reduce the size - // of your final executable, you should remove from the following - // the specific initialization routines you do not need - // Change the registry key under which our settings are stored - // TODO: You should modify this string to be something appropriate - // such as the name of your company or organization - SetRegistryKey(_T("Local AppWizard-Generated Applications")); - - CCardIDDlg CardDlg( nCardID ); - - nResponse = CardDlg.DoModal(); - if (nResponse == IDOK) - { - nCardID = CardDlg.GetCardID(); - - if ((hCard=Register_Card(PCI_7258, nCardID)) < 0) - { - strTemp.Format( TEXT("Register_Card Error = %d"), hCard); - AfxMessageBox( strTemp ); - } - else - { - C7258intDlg dlg(hCard); - m_pMainWnd = &dlg; - nResponse = dlg.DoModal(); - if (nResponse == IDOK) - { - // TODO: Place code here to handle when the dialog is - // dismissed with OK - } - else if (nResponse == IDCANCEL) - { - // TODO: Place code here to handle when the dialog is - // dismissed with Cancel - } - - if (hCard >= 0) Release_Card(hCard); - } - - } - else if (nResponse == IDCANCEL) - { - // TODO: Place code here to handle when the dialog is - // dismissed with Cancel - } - - - // Since the dialog has been closed, return FALSE so that we exit the - // application, rather than start the application's message pump. - return FALSE; -} diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7258/SDK7258intMsg/7258int.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7258/SDK7258intMsg/7258int.h deleted file mode 100644 index 5f84516..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7258/SDK7258intMsg/7258int.h +++ /dev/null @@ -1,32 +0,0 @@ - -// 7258int.h : main header file for the PROJECT_NAME application -// - -#pragma once - -#ifndef __AFXWIN_H__ - #error "include 'stdafx.h' before including this file for PCH" -#endif - -#include "resource.h" // main symbols - - -// C7258intApp: -// See 7258int.cpp for the implementation of this class -// - -class C7258intApp : public CWinAppEx -{ -public: - C7258intApp(); - -// Overrides - public: - virtual BOOL InitInstance(); - -// Implementation - - DECLARE_MESSAGE_MAP() -}; - -extern C7258intApp theApp; \ No newline at end of file diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7258/SDK7258intMsg/7258int.rc b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7258/SDK7258intMsg/7258int.rc deleted file mode 100644 index ba93428..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7258/SDK7258intMsg/7258int.rc +++ /dev/null @@ -1,277 +0,0 @@ -// Microsoft Visual C++ generated resource script. -// -#include "resource.h" - -#define APSTUDIO_READONLY_SYMBOLS -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 2 resource. -// -#ifndef APSTUDIO_INVOKED -#include "targetver.h" -#endif -#include "afxres.h" - -///////////////////////////////////////////////////////////////////////////// -#undef APSTUDIO_READONLY_SYMBOLS - -///////////////////////////////////////////////////////////////////////////// -// Chinese (Taiwan) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_CHT) -#ifdef _WIN32 -LANGUAGE LANG_CHINESE, SUBLANG_CHINESE_TRADITIONAL -#pragma code_page(950) -#endif //_WIN32 - -#ifdef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// TEXTINCLUDE -// - -1 TEXTINCLUDE -BEGIN - "resource.h\0" -END - -2 TEXTINCLUDE -BEGIN - "#ifndef APSTUDIO_INVOKED\r\n" - "#include ""targetver.h""\r\n" - "#endif\r\n" - "#include ""afxres.h""\r\n" - "\0" -END - -3 TEXTINCLUDE -BEGIN - "#define _AFX_NO_SPLITTER_RESOURCES\r\n" - "#define _AFX_NO_OLE_RESOURCES\r\n" - "#define _AFX_NO_TRACKER_RESOURCES\r\n" - "#define _AFX_NO_PROPERTY_RESOURCES\r\n" - "\r\n" - "#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)\r\n" - "LANGUAGE 9, 1\r\n" - "#pragma code_page(1252)\r\n" - "#include ""res\\My7258int.rc2"" // non-Microsoft Visual C++ edited resources\r\n" - "#include ""afxres.rc"" // Standard components\r\n" - "#endif\r\n" - "\0" -END - -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// Icon -// - -// Icon with lowest ID value placed first to ensure application icon -// remains consistent on all systems. -IDR_MAINFRAME ICON "res\\7258int.ico" -#endif // Chinese (Taiwan) resources -///////////////////////////////////////////////////////////////////////////// - - -///////////////////////////////////////////////////////////////////////////// -// English (U.S.) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -#ifdef _WIN32 -LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US -#pragma code_page(1252) -#endif //_WIN32 - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog -// - -IDD_ABOUTBOX DIALOGEX 0, 0, 170, 62 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "About 7258int" -FONT 8, "MS Shell Dlg", 0, 0, 0x1 -BEGIN - ICON IDR_MAINFRAME,IDC_STATIC,14,14,21,20 - LTEXT "7258int, Version 1.0",IDC_STATIC,42,14,114,8,SS_NOPREFIX - LTEXT "Copyright (C) 2010",IDC_STATIC,42,26,114,8 - DEFPUSHBUTTON "OK",IDOK,113,41,50,14,WS_GROUP -END - -IDD_MY7258INT_DIALOG DIALOGEX 0, 0, 195, 126 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU -EXSTYLE WS_EX_APPWINDOW -CAPTION "PCI-7258 Interrupt Sample (INT1)" -FONT 8, "MS Shell Dlg", 0, 0, 0x1 -BEGIN - LTEXT "This program shows the number of occurrence of INT1 interrupt. INT1 interrupt is generated by external signal from DI bit-0. If you connect DO bit-0 to DI bit-0, press 'Output' button can generate an interrupt.",IDC_STATIC,22,12,151,42 - LTEXT "INT Count =",IDC_STATIC_05,54,65,85,13 - PUSHBUTTON "Output",IDC_BT_OUTPUT,49,89,84,18 -END - -IDD_CARDID_DIALOG DIALOGEX 0, 0, 163, 88 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "Card ID" -FONT 8, "MS Shell Dlg", 400, 0, 0x1 -BEGIN - COMBOBOX IDC_COMBO_CARDID,73,17,71,126,CBS_DROPDOWN | WS_VSCROLL | WS_TABSTOP - LTEXT "Card Number",IDC_STATIC_01,19,18,46,12 - PUSHBUTTON "OK",IDOK,20,50,58,19 - PUSHBUTTON "CANCEL",IDCANCEL,84,50,58,19 -END - - -///////////////////////////////////////////////////////////////////////////// -// -// Version -// - -VS_VERSION_INFO VERSIONINFO - FILEVERSION 1,0,0,1 - PRODUCTVERSION 1,0,0,1 - FILEFLAGSMASK 0x3fL -#ifdef _DEBUG - FILEFLAGS 0x1L -#else - FILEFLAGS 0x0L -#endif - FILEOS 0x4L - FILETYPE 0x1L - FILESUBTYPE 0x0L -BEGIN - BLOCK "StringFileInfo" - BEGIN - BLOCK "040904e4" - BEGIN - VALUE "CompanyName", "TODO: " - VALUE "FileDescription", "TODO: " - VALUE "FileVersion", "1.0.0.1" - VALUE "InternalName", "7258int.exe" - VALUE "LegalCopyright", "TODO: (c) . All rights reserved." - VALUE "OriginalFilename", "7258int.exe" - VALUE "ProductName", "TODO: " - VALUE "ProductVersion", "1.0.0.1" - END - END - BLOCK "VarFileInfo" - BEGIN - VALUE "Translation", 0x409, 1252 - END -END - - -///////////////////////////////////////////////////////////////////////////// -// -// DESIGNINFO -// - -#ifdef APSTUDIO_INVOKED -GUIDELINES DESIGNINFO -BEGIN - IDD_ABOUTBOX, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 163 - TOPMARGIN, 7 - BOTTOMMARGIN, 55 - END - - IDD_MY7258INT_DIALOG, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 188 - TOPMARGIN, 7 - BOTTOMMARGIN, 119 - END - - IDD_CARDID_DIALOG, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 156 - TOPMARGIN, 7 - BOTTOMMARGIN, 81 - END -END -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog Info -// - -IDD_CARDID_DIALOG DLGINIT -BEGIN - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0030, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0031, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0032, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0033, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0034, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0035, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0036, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0037, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0038, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0039, - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3031, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3131, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3231, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3331, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3431, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3531, "\000" - 0 -END - - -///////////////////////////////////////////////////////////////////////////// -// -// String Table -// - -STRINGTABLE -BEGIN - IDS_ABOUTBOX "&About 7258int..." -END - -#endif // English (U.S.) resources -///////////////////////////////////////////////////////////////////////////// - - - -#ifndef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 3 resource. -// -#define _AFX_NO_SPLITTER_RESOURCES -#define _AFX_NO_OLE_RESOURCES -#define _AFX_NO_TRACKER_RESOURCES -#define _AFX_NO_PROPERTY_RESOURCES - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -LANGUAGE 9, 1 -#pragma code_page(1252) -#include "res\My7258int.rc2" // non-Microsoft Visual C++ edited resources -#include "afxres.rc" // Standard components -#endif - -///////////////////////////////////////////////////////////////////////////// -#endif // not APSTUDIO_INVOKED - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7258/SDK7258intMsg/7258int.sln b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7258/SDK7258intMsg/7258int.sln deleted file mode 100644 index 7eb8df7..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7258/SDK7258intMsg/7258int.sln +++ /dev/null @@ -1,26 +0,0 @@ - -Microsoft Visual Studio Solution File, Format Version 10.00 -# Visual Studio 2008 -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "7258int", "7258int.vcproj", "{7D5D9EC5-ED97-47EE-B6F4-ACCD71069808}" -EndProject -Global - GlobalSection(SolutionConfigurationPlatforms) = preSolution - Debug|Win32 = Debug|Win32 - Debug|x64 = Debug|x64 - Release|Win32 = Release|Win32 - Release|x64 = Release|x64 - EndGlobalSection - GlobalSection(ProjectConfigurationPlatforms) = postSolution - {7D5D9EC5-ED97-47EE-B6F4-ACCD71069808}.Debug|Win32.ActiveCfg = Debug|Win32 - {7D5D9EC5-ED97-47EE-B6F4-ACCD71069808}.Debug|Win32.Build.0 = Debug|Win32 - {7D5D9EC5-ED97-47EE-B6F4-ACCD71069808}.Debug|x64.ActiveCfg = Debug|x64 - {7D5D9EC5-ED97-47EE-B6F4-ACCD71069808}.Debug|x64.Build.0 = Debug|x64 - {7D5D9EC5-ED97-47EE-B6F4-ACCD71069808}.Release|Win32.ActiveCfg = Release|Win32 - {7D5D9EC5-ED97-47EE-B6F4-ACCD71069808}.Release|Win32.Build.0 = Release|Win32 - {7D5D9EC5-ED97-47EE-B6F4-ACCD71069808}.Release|x64.ActiveCfg = Release|x64 - {7D5D9EC5-ED97-47EE-B6F4-ACCD71069808}.Release|x64.Build.0 = Release|x64 - EndGlobalSection - GlobalSection(SolutionProperties) = preSolution - HideSolutionNode = FALSE - EndGlobalSection -EndGlobal diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7258/SDK7258intMsg/7258int.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7258/SDK7258intMsg/7258int.suo deleted file mode 100644 index 4aa2b2e..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7258/SDK7258intMsg/7258int.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7258/SDK7258intMsg/7258int.vcproj b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7258/SDK7258intMsg/7258int.vcproj deleted file mode 100644 index 0658aa1..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7258/SDK7258intMsg/7258int.vcproj +++ /dev/null @@ -1,471 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7258/SDK7258intMsg/7258intDlg.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7258/SDK7258intMsg/7258intDlg.cpp deleted file mode 100644 index cdc427b..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7258/SDK7258intMsg/7258intDlg.cpp +++ /dev/null @@ -1,199 +0,0 @@ - -// 7258intDlg.cpp : implementation file -// - -#include "stdafx.h" -#include "7258int.h" -#include "7258intDlg.h" - -#ifdef _DEBUG -#define new DEBUG_NEW -#endif - - -#define COS_INTERRUPT_MESSAGE _T("COS_INT") -UINT WM_INT = ::RegisterWindowMessage(COS_INTERRUPT_MESSAGE); - -// CAboutDlg dialog used for App About - -class CAboutDlg : public CDialog -{ -public: - CAboutDlg(); - -// Dialog Data - enum { IDD = IDD_ABOUTBOX }; - - protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - -// Implementation -protected: - DECLARE_MESSAGE_MAP() -}; - -CAboutDlg::CAboutDlg() : CDialog(CAboutDlg::IDD) -{ -} - -void CAboutDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); -} - -BEGIN_MESSAGE_MAP(CAboutDlg, CDialog) -END_MESSAGE_MAP() - - -// C7258intDlg dialog - - - - -C7258intDlg::C7258intDlg(I16 hCard, CWnd* pParent /*=NULL*/) - : CDialog(C7258intDlg::IDD, pParent) -{ - m_hIcon = AfxGetApp()->LoadIcon(IDR_MAINFRAME); - - m_hCard = hCard; - m_dwOutVal = 0x00000000; -} - -void C7258intDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); -} - -BEGIN_MESSAGE_MAP(C7258intDlg, CDialog) - ON_WM_SYSCOMMAND() - ON_WM_PAINT() - ON_WM_QUERYDRAGICON() - ON_REGISTERED_MESSAGE(WM_INT, OnCOSInterrupt) - //}}AFX_MSG_MAP - ON_WM_DESTROY() - ON_BN_CLICKED(IDC_BT_OUTPUT, &C7258intDlg::OnOutput) -END_MESSAGE_MAP() - - -// C7258intDlg message handlers - -BOOL C7258intDlg::OnInitDialog() -{ - CDialog::OnInitDialog(); - - // Add "About..." menu item to system menu. - - // IDM_ABOUTBOX must be in the system command range. - ASSERT((IDM_ABOUTBOX & 0xFFF0) == IDM_ABOUTBOX); - ASSERT(IDM_ABOUTBOX < 0xF000); - - CMenu* pSysMenu = GetSystemMenu(FALSE); - if (pSysMenu != NULL) - { - BOOL bNameValid; - CString strAboutMenu; - bNameValid = strAboutMenu.LoadString(IDS_ABOUTBOX); - ASSERT(bNameValid); - if (!strAboutMenu.IsEmpty()) - { - pSysMenu->AppendMenu(MF_SEPARATOR); - pSysMenu->AppendMenu(MF_STRING, IDM_ABOUTBOX, strAboutMenu); - } - } - - // Set the icon for this dialog. The framework does this automatically - // when the application's main window is not a dialog - SetIcon(m_hIcon, TRUE); // Set big icon - SetIcon(m_hIcon, FALSE); // Set small icon - - // TODO: Add extra initialization here - - DIO_INT1_EventMessage (m_hCard, INT1_COS, this->m_hWnd, WM_INT, NULL); - DIO_SetCOSInterrupt(m_hCard, 0, 0x0001, 0, 0); - DO_WritePort(m_hCard, 0, m_dwOutVal); - - - - return TRUE; // return TRUE unless you set the focus to a control -} - -void C7258intDlg::OnSysCommand(UINT nID, LPARAM lParam) -{ - if ((nID & 0xFFF0) == IDM_ABOUTBOX) - { - CAboutDlg dlgAbout; - dlgAbout.DoModal(); - } - else - { - CDialog::OnSysCommand(nID, lParam); - } -} - -// If you add a minimize button to your dialog, you will need the code below -// to draw the icon. For MFC applications using the document/view model, -// this is automatically done for you by the framework. - -void C7258intDlg::OnPaint() -{ - if (IsIconic()) - { - CPaintDC dc(this); // device context for painting - - SendMessage(WM_ICONERASEBKGND, reinterpret_cast(dc.GetSafeHdc()), 0); - - // Center icon in client rectangle - int cxIcon = GetSystemMetrics(SM_CXICON); - int cyIcon = GetSystemMetrics(SM_CYICON); - CRect rect; - GetClientRect(&rect); - int x = (rect.Width() - cxIcon + 1) / 2; - int y = (rect.Height() - cyIcon + 1) / 2; - - // Draw the icon - dc.DrawIcon(x, y, m_hIcon); - } - else - { - CDialog::OnPaint(); - } -} - -// The system calls this function to obtain the cursor to display while the user drags -// the minimized window. -HCURSOR C7258intDlg::OnQueryDragIcon() -{ - return static_cast(m_hIcon); -} - - -void C7258intDlg::OnDestroy() -{ - CDialog::OnDestroy(); - - // TODO: Add your message handler code here - DIO_SetCOSInterrupt(m_hCard, 0, 0, 0, 0); - DIO_INT1_EventMessage (m_hCard, INT1_DISABLE, this->m_hWnd, NULL, NULL); - DO_WritePort(m_hCard, 0, 0x0); -} - - -void C7258intDlg::OnOutput() -{ - // TODO: Add your control notification handler code here - m_dwOutVal = (m_dwOutVal+1) % 2; - DO_WritePort(m_hCard, 0, m_dwOutVal); -} - -LRESULT C7258intDlg::OnCOSInterrupt(WPARAM wParam, LPARAM lParam) -{ - // do something useful - CString strTemp; - - m_IntCount ++; - - strTemp.Format( TEXT("INT Count = %d"), m_IntCount ); - SetDlgItemText( IDC_STATIC_05, strTemp ); - - return (LRESULT) 0; -} diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7258/SDK7258intMsg/7258intDlg.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7258/SDK7258intMsg/7258intDlg.h deleted file mode 100644 index 96847b0..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7258/SDK7258intMsg/7258intDlg.h +++ /dev/null @@ -1,41 +0,0 @@ - -// 7258intDlg.h : header file -// -#include "Dask64.h" - -#pragma once - - -// C7258intDlg dialog -class C7258intDlg : public CDialog -{ -// Construction -public: - C7258intDlg(I16 hCard, CWnd* pParent = NULL); // standard constructor - -// Dialog Data - enum { IDD = IDD_MY7258INT_DIALOG }; - - protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - - -// Implementation -protected: - HICON m_hIcon; - I16 m_hCard; - U32 m_dwOutVal; - int m_IntCount; - HANDLE m_hIntEvent[2]; - - // Generated message map functions - virtual BOOL OnInitDialog(); - afx_msg void OnSysCommand(UINT nID, LPARAM lParam); - afx_msg void OnPaint(); - afx_msg HCURSOR OnQueryDragIcon(); - afx_msg LRESULT OnCOSInterrupt(WPARAM wParam, LPARAM lParam); - DECLARE_MESSAGE_MAP() -public: - afx_msg void OnDestroy(); - afx_msg void OnOutput(); -}; diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7258/SDK7258intMsg/CardIDDlg.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7258/SDK7258intMsg/CardIDDlg.cpp deleted file mode 100644 index f9251da..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7258/SDK7258intMsg/CardIDDlg.cpp +++ /dev/null @@ -1,67 +0,0 @@ -// CardIDDlg.cpp : implementation file -// - -#include "stdafx.h" -#include "7258int.h" -#include "CardIDDlg.h" - - -// CCardIDDlg dialog - -IMPLEMENT_DYNAMIC(CCardIDDlg, CDialog) - -CCardIDDlg::CCardIDDlg(int nCardIdx, CWnd* pParent /*=NULL*/) - : CDialog(CCardIDDlg::IDD, pParent) -{ - m_nCardIdx = nCardIdx; -} - -CCardIDDlg::~CCardIDDlg() -{ -} - -void CCardIDDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); - DDX_Control(pDX, IDC_COMBO_CARDID, m_cbCardID); -} - - -BEGIN_MESSAGE_MAP(CCardIDDlg, CDialog) -// ON_CBN_SELCHANGE(IDC_COMBO_CARDID, &CCardIDDlg::OnCbnSelchangeComboCardid) -ON_BN_CLICKED(IDOK, &CCardIDDlg::OnBnClickedOk) -//ON_WM_CTLCOLOR() -END_MESSAGE_MAP() - - -// CCardIDDlg message handlers - - -void CCardIDDlg::OnBnClickedOk() -{ - // TODO: Add your control notification handler code here - -// UpdateData(TRUE); - m_nCardIdx = m_cbCardID.GetCurSel(); - - OnOK(); -} - -BOOL CCardIDDlg::OnInitDialog() -{ - CDialog::OnInitDialog(); - - // TODO: Add extra initialization here - m_cbCardID.SetCurSel( m_nCardIdx ); - - return TRUE; // return TRUE unless you set the focus to a control - // EXCEPTION: OCX Property Pages should return FALSE -} - -// the function to get the selected CardID -int CCardIDDlg::GetCardID(void) -{ - return m_nCardIdx; -} - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7258/SDK7258intMsg/CardIDDlg.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7258/SDK7258intMsg/CardIDDlg.h deleted file mode 100644 index 54628ea..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7258/SDK7258intMsg/CardIDDlg.h +++ /dev/null @@ -1,33 +0,0 @@ -#pragma once -#include "afxwin.h" - - -// CCardIDDlg dialog - -class CCardIDDlg : public CDialog -{ - DECLARE_DYNAMIC(CCardIDDlg) - -public: - CCardIDDlg(int nCardIdx, CWnd* pParent = NULL); // standard constructor - virtual ~CCardIDDlg(); - -// Dialog Data - enum { IDD = IDD_CARDID_DIALOG }; - -protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - - DECLARE_MESSAGE_MAP() -public: -// afx_msg void OnCbnSelchangeComboCardid(); - afx_msg void OnBnClickedOk(); - // the setting of CardID ComboBox - int m_nCardIdx; - virtual BOOL OnInitDialog(); - // the control of CardID ComboBox - CComboBox m_cbCardID; - // the function to get the selected CardID - int GetCardID(void); -// afx_msg HBRUSH OnCtlColor(CDC* pDC, CWnd* pWnd, UINT nCtlColor); -}; diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7258/SDK7258intMsg/ReadMe.txt b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7258/SDK7258intMsg/ReadMe.txt deleted file mode 100644 index 2d07819..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7258/SDK7258intMsg/ReadMe.txt +++ /dev/null @@ -1,93 +0,0 @@ -================================================================================ - MICROSOFT FOUNDATION CLASS LIBRARY : 7256int Project Overview -=============================================================================== - -The application wizard has created this 7256int application for -you. This application not only demonstrates the basics of using the Microsoft -Foundation Classes but is also a starting point for writing your application. - -This file contains a summary of what you will find in each of the files that -make up your 7256int application. - -7256int.vcproj - This is the main project file for VC++ projects generated using an application wizard. - It contains information about the version of Visual C++ that generated the file, and - information about the platforms, configurations, and project features selected with the - application wizard. - -7256int.h - This is the main header file for the application. It includes other - project specific headers (including Resource.h) and declares the - C7256intApp application class. - -7256int.cpp - This is the main application source file that contains the application - class C7256intApp. - -7256int.rc - This is a listing of all of the Microsoft Windows resources that the - program uses. It includes the icons, bitmaps, and cursors that are stored - in the RES subdirectory. This file can be directly edited in Microsoft - Visual C++. Your project resources are in 1033. - -res\7256int.ico - This is an icon file, which is used as the application's icon. This - icon is included by the main resource file 7256int.rc. - -res\My7256int.rc2 - This file contains resources that are not edited by Microsoft - Visual C++. You should place all resources not editable by - the resource editor in this file. - - -///////////////////////////////////////////////////////////////////////////// - -The application wizard creates one dialog class: - -7256intDlg.h, 7256intDlg.cpp - the dialog - These files contain your C7256intDlg class. This class defines - the behavior of your application's main dialog. The dialog's template is - in 7256int.rc, which can be edited in Microsoft Visual C++. - - -///////////////////////////////////////////////////////////////////////////// - -Other Features: - -ActiveX Controls - The application includes support to use ActiveX controls. - -///////////////////////////////////////////////////////////////////////////// - -Other standard files: - -StdAfx.h, StdAfx.cpp - These files are used to build a precompiled header (PCH) file - named 7256int.pch and a precompiled types file named StdAfx.obj. - -Resource.h - This is the standard header file, which defines new resource IDs. - Microsoft Visual C++ reads and updates this file. - -7256int.manifest - Application manifest files are used by Windows XP to describe an applications - dependency on specific versions of Side-by-Side assemblies. The loader uses this - information to load the appropriate assembly from the assembly cache or private - from the application. The Application manifest maybe included for redistribution - as an external .manifest file that is installed in the same folder as the application - executable or it may be included in the executable in the form of a resource. -///////////////////////////////////////////////////////////////////////////// - -Other notes: - -The application wizard uses "TODO:" to indicate parts of the source code you -should add to or customize. - -If your application uses MFC in a shared DLL, you will need -to redistribute the MFC DLLs. If your application is in a language -other than the operating system's locale, you will also have to -redistribute the corresponding localized resources MFC90XXX.DLL. -For more information on both of these topics, please see the section on -redistributing Visual C++ applications in MSDN documentation. - -///////////////////////////////////////////////////////////////////////////// diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7258/SDK7258intMsg/res/7258int.ico b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7258/SDK7258intMsg/res/7258int.ico deleted file mode 100644 index d56fbcd..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7258/SDK7258intMsg/res/7258int.ico and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7258/SDK7258intMsg/res/My7258int.rc2 b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7258/SDK7258intMsg/res/My7258int.rc2 deleted file mode 100644 index 7bd3593..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7258/SDK7258intMsg/res/My7258int.rc2 +++ /dev/null @@ -1,13 +0,0 @@ -// -// My7256int.RC2 - resources Microsoft Visual C++ does not edit directly -// - -#ifdef APSTUDIO_INVOKED -#error this file is not editable by Microsoft Visual C++ -#endif //APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// Add manually edited resources here... - -///////////////////////////////////////////////////////////////////////////// diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7258/SDK7258intMsg/resource.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7258/SDK7258intMsg/resource.h deleted file mode 100644 index 2f6431f..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7258/SDK7258intMsg/resource.h +++ /dev/null @@ -1,27 +0,0 @@ -//{{NO_DEPENDENCIES}} -// Microsoft Visual C++ generated include file. -// Used by 7258int.rc -// -#define IDM_ABOUTBOX 0x0010 -#define IDD_ABOUTBOX 100 -#define IDS_ABOUTBOX 101 -#define IDD_MY7258INT_DIALOG 102 -#define IDR_MAINFRAME 128 -#define IDD_CARDID_DIALOG 129 -#define IDC_COMBO_CARDID 1000 -#define IDC_BUTTON1 1000 -#define IDC_BT_OUTPUT 1000 -#define IDC_STATIC_05 1007 -#define IDC_STATIC_06 1008 -#define IDC_STATIC_01 1014 - -// Next default values for new objects -// -#ifdef APSTUDIO_INVOKED -#ifndef APSTUDIO_READONLY_SYMBOLS -#define _APS_NEXT_RESOURCE_VALUE 131 -#define _APS_NEXT_COMMAND_VALUE 32771 -#define _APS_NEXT_CONTROL_VALUE 1001 -#define _APS_NEXT_SYMED_VALUE 101 -#endif -#endif diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7258/SDK7258intMsg/stdafx.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7258/SDK7258intMsg/stdafx.cpp deleted file mode 100644 index a81ddd0..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7258/SDK7258intMsg/stdafx.cpp +++ /dev/null @@ -1,8 +0,0 @@ - -// stdafx.cpp : source file that includes just the standard includes -// 7258int.pch will be the pre-compiled header -// stdafx.obj will contain the pre-compiled type information - -#include "stdafx.h" - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7258/SDK7258intMsg/stdafx.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7258/SDK7258intMsg/stdafx.h deleted file mode 100644 index 12123e2..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7258/SDK7258intMsg/stdafx.h +++ /dev/null @@ -1,60 +0,0 @@ - -// stdafx.h : include file for standard system include files, -// or project specific include files that are used frequently, -// but are changed infrequently - -#pragma once - -#ifndef _SECURE_ATL -#define _SECURE_ATL 1 -#endif - -#ifndef VC_EXTRALEAN -#define VC_EXTRALEAN // Exclude rarely-used stuff from Windows headers -#endif - -#include "targetver.h" - -#define _ATL_CSTRING_EXPLICIT_CONSTRUCTORS // some CString constructors will be explicit - -// turns off MFC's hiding of some common and often safely ignored warning messages -#define _AFX_ALL_WARNINGS - -#include // MFC core and standard components -#include // MFC extensions - - -#include // MFC Automation classes - - - -#ifndef _AFX_NO_OLE_SUPPORT -#include // MFC support for Internet Explorer 4 Common Controls -#endif -#ifndef _AFX_NO_AFXCMN_SUPPORT -#include // MFC support for Windows Common Controls -#endif // _AFX_NO_AFXCMN_SUPPORT - -#include // MFC support for ribbons and control bars - - - - - - - - - -#ifdef _UNICODE -#if defined _M_IX86 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='x86' publicKeyToken='6595b64144ccf1df' language='*'\"") -#elif defined _M_IA64 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='ia64' publicKeyToken='6595b64144ccf1df' language='*'\"") -#elif defined _M_X64 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='amd64' publicKeyToken='6595b64144ccf1df' language='*'\"") -#else -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='*' publicKeyToken='6595b64144ccf1df' language='*'\"") -#endif -#endif - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7258/SDK7258intMsg/targetver.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7258/SDK7258intMsg/targetver.h deleted file mode 100644 index 11730d5..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7258/SDK7258intMsg/targetver.h +++ /dev/null @@ -1,26 +0,0 @@ - -#pragma once - -// The following macros define the minimum required platform. The minimum required platform -// is the earliest version of Windows, Internet Explorer etc. that has the necessary features to run -// your application. The macros work by enabling all features available on platform versions up to and -// including the version specified. - -// Modify the following defines if you have to target a platform prior to the ones specified below. -// Refer to MSDN for the latest info on corresponding values for different platforms. -#ifndef WINVER // Specifies that the minimum required platform is Windows Vista. -#define WINVER 0x0600 // Change this to the appropriate value to target other versions of Windows. -#endif - -#ifndef _WIN32_WINNT // Specifies that the minimum required platform is Windows Vista. -#define _WIN32_WINNT 0x0600 // Change this to the appropriate value to target other versions of Windows. -#endif - -#ifndef _WIN32_WINDOWS // Specifies that the minimum required platform is Windows 98. -#define _WIN32_WINDOWS 0x0410 // Change this to the appropriate value to target Windows Me or later. -#endif - -#ifndef _WIN32_IE // Specifies that the minimum required platform is Internet Explorer 7.0. -#define _WIN32_IE 0x0700 // Change this to the appropriate value to target other versions of IE. -#endif - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7258/Sdk7258/CardIDDlg.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7258/Sdk7258/CardIDDlg.cpp deleted file mode 100644 index fce92d0..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7258/Sdk7258/CardIDDlg.cpp +++ /dev/null @@ -1,67 +0,0 @@ -// CardIDDlg.cpp : implementation file -// - -#include "stdafx.h" -#include "Util7258.h" -#include "CardIDDlg.h" - - -// CCardIDDlg dialog - -IMPLEMENT_DYNAMIC(CCardIDDlg, CDialog) - -CCardIDDlg::CCardIDDlg(int nCardIdx, CWnd* pParent /*=NULL*/) - : CDialog(CCardIDDlg::IDD, pParent) -{ - m_nCardIdx = nCardIdx; -} - -CCardIDDlg::~CCardIDDlg() -{ -} - -void CCardIDDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); - DDX_Control(pDX, IDC_COMBO_CARDID, m_cbCardID); -} - - -BEGIN_MESSAGE_MAP(CCardIDDlg, CDialog) -// ON_CBN_SELCHANGE(IDC_COMBO_CARDID, &CCardIDDlg::OnCbnSelchangeComboCardid) -ON_BN_CLICKED(IDOK, &CCardIDDlg::OnBnClickedOk) -//ON_WM_CTLCOLOR() -END_MESSAGE_MAP() - - -// CCardIDDlg message handlers - - -void CCardIDDlg::OnBnClickedOk() -{ - // TODO: Add your control notification handler code here - -// UpdateData(TRUE); - m_nCardIdx = m_cbCardID.GetCurSel(); - - OnOK(); -} - -BOOL CCardIDDlg::OnInitDialog() -{ - CDialog::OnInitDialog(); - - // TODO: Add extra initialization here - m_cbCardID.SetCurSel( m_nCardIdx ); - - return TRUE; // return TRUE unless you set the focus to a control - // EXCEPTION: OCX Property Pages should return FALSE -} - -// the function to get the selected CardID -int CCardIDDlg::GetCardID(void) -{ - return m_nCardIdx; -} - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7258/Sdk7258/CardIDDlg.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7258/Sdk7258/CardIDDlg.h deleted file mode 100644 index 54628ea..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7258/Sdk7258/CardIDDlg.h +++ /dev/null @@ -1,33 +0,0 @@ -#pragma once -#include "afxwin.h" - - -// CCardIDDlg dialog - -class CCardIDDlg : public CDialog -{ - DECLARE_DYNAMIC(CCardIDDlg) - -public: - CCardIDDlg(int nCardIdx, CWnd* pParent = NULL); // standard constructor - virtual ~CCardIDDlg(); - -// Dialog Data - enum { IDD = IDD_CARDID_DIALOG }; - -protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - - DECLARE_MESSAGE_MAP() -public: -// afx_msg void OnCbnSelchangeComboCardid(); - afx_msg void OnBnClickedOk(); - // the setting of CardID ComboBox - int m_nCardIdx; - virtual BOOL OnInitDialog(); - // the control of CardID ComboBox - CComboBox m_cbCardID; - // the function to get the selected CardID - int GetCardID(void); -// afx_msg HBRUSH OnCtlColor(CDC* pDC, CWnd* pWnd, UINT nCtlColor); -}; diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7258/Sdk7258/ReadMe.txt b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7258/Sdk7258/ReadMe.txt deleted file mode 100644 index 1b4b159..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7258/Sdk7258/ReadMe.txt +++ /dev/null @@ -1,93 +0,0 @@ -================================================================================ - MICROSOFT FOUNDATION CLASS LIBRARY : Util7258 Project Overview -=============================================================================== - -The application wizard has created this Util7258 application for -you. This application not only demonstrates the basics of using the Microsoft -Foundation Classes but is also a starting point for writing your application. - -This file contains a summary of what you will find in each of the files that -make up your Util7258 application. - -Util7258.vcproj - This is the main project file for VC++ projects generated using an application wizard. - It contains information about the version of Visual C++ that generated the file, and - information about the platforms, configurations, and project features selected with the - application wizard. - -Util7258.h - This is the main header file for the application. It includes other - project specific headers (including Resource.h) and declares the - CUtil7258App application class. - -Util7258.cpp - This is the main application source file that contains the application - class CUtil7258App. - -Util7258.rc - This is a listing of all of the Microsoft Windows resources that the - program uses. It includes the icons, bitmaps, and cursors that are stored - in the RES subdirectory. This file can be directly edited in Microsoft - Visual C++. Your project resources are in 1033. - -res\Util7258.ico - This is an icon file, which is used as the application's icon. This - icon is included by the main resource file Util7258.rc. - -res\Util7258.rc2 - This file contains resources that are not edited by Microsoft - Visual C++. You should place all resources not editable by - the resource editor in this file. - - -///////////////////////////////////////////////////////////////////////////// - -The application wizard creates one dialog class: - -Util7258Dlg.h, Util7258Dlg.cpp - the dialog - These files contain your CUtil7258Dlg class. This class defines - the behavior of your application's main dialog. The dialog's template is - in Util7258.rc, which can be edited in Microsoft Visual C++. - - -///////////////////////////////////////////////////////////////////////////// - -Other Features: - -ActiveX Controls - The application includes support to use ActiveX controls. - -///////////////////////////////////////////////////////////////////////////// - -Other standard files: - -StdAfx.h, StdAfx.cpp - These files are used to build a precompiled header (PCH) file - named Util7258.pch and a precompiled types file named StdAfx.obj. - -Resource.h - This is the standard header file, which defines new resource IDs. - Microsoft Visual C++ reads and updates this file. - -Util7258.manifest - Application manifest files are used by Windows XP to describe an applications - dependency on specific versions of Side-by-Side assemblies. The loader uses this - information to load the appropriate assembly from the assembly cache or private - from the application. The Application manifest maybe included for redistribution - as an external .manifest file that is installed in the same folder as the application - executable or it may be included in the executable in the form of a resource. -///////////////////////////////////////////////////////////////////////////// - -Other notes: - -The application wizard uses "TODO:" to indicate parts of the source code you -should add to or customize. - -If your application uses MFC in a shared DLL, you will need -to redistribute the MFC DLLs. If your application is in a language -other than the operating system's locale, you will also have to -redistribute the corresponding localized resources MFC90XXX.DLL. -For more information on both of these topics, please see the section on -redistributing Visual C++ applications in MSDN documentation. - -///////////////////////////////////////////////////////////////////////////// diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7258/Sdk7258/Util7258.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7258/Sdk7258/Util7258.cpp deleted file mode 100644 index 177b3a7..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7258/Sdk7258/Util7258.cpp +++ /dev/null @@ -1,110 +0,0 @@ - -// Util7258.cpp : Defines the class behaviors for the application. -// - -#include "stdafx.h" -#include "Util7258.h" -#include "Util7258Dlg.h" -#include "CardIDDlg.h" - -#ifdef _DEBUG -#define new DEBUG_NEW -#endif - - -// CUtil7258App - -BEGIN_MESSAGE_MAP(CUtil7258App, CWinAppEx) - ON_COMMAND(ID_HELP, &CWinApp::OnHelp) -END_MESSAGE_MAP() - - -// CUtil7258App construction - -CUtil7258App::CUtil7258App() -{ - // TODO: add construction code here, - // Place all significant initialization in InitInstance -} - - -// The one and only CUtil7258App object - -CUtil7258App theApp; - - -// CUtil7258App initialization - -BOOL CUtil7258App::InitInstance() -{ - int nCardID = 0; - I16 hCard; - CString strTemp; - INT_PTR nResponse; - - // InitCommonControlsEx() is required on Windows XP if an application - // manifest specifies use of ComCtl32.dll version 6 or later to enable - // visual styles. Otherwise, any window creation will fail. - INITCOMMONCONTROLSEX InitCtrls; - InitCtrls.dwSize = sizeof(InitCtrls); - // Set this to include all the common control classes you want to use - // in your application. - InitCtrls.dwICC = ICC_WIN95_CLASSES; - InitCommonControlsEx(&InitCtrls); - - CWinAppEx::InitInstance(); - - AfxEnableControlContainer(); - - // Standard initialization - // If you are not using these features and wish to reduce the size - // of your final executable, you should remove from the following - // the specific initialization routines you do not need - // Change the registry key under which our settings are stored - // TODO: You should modify this string to be something appropriate - // such as the name of your company or organization - SetRegistryKey(_T("Local AppWizard-Generated Applications")); - - CCardIDDlg CardDlg( nCardID ); - - nResponse = CardDlg.DoModal(); - if (nResponse == IDOK) - { - nCardID = CardDlg.GetCardID(); - - if ((hCard=Register_Card(PCI_7258, nCardID)) < 0) - { - strTemp.Format( TEXT("Register_Card Error = %d"), hCard); - AfxMessageBox( strTemp ); - } - else - { - CUtil7258Dlg dlg(hCard); - m_pMainWnd = &dlg; - nResponse = dlg.DoModal(); - if (nResponse == IDOK) - { - // TODO: Place code here to handle when the dialog is - // dismissed with OK - } - else if (nResponse == IDCANCEL) - { - // TODO: Place code here to handle when the dialog is - // dismissed with Cancel - } - - if (hCard >= 0) Release_Card(hCard); - } - - } - else if (nResponse == IDCANCEL) - { - // TODO: Place code here to handle when the dialog is - // dismissed with Cancel - } - - - // Since the dialog has been closed, return FALSE so that we exit the - // application, rather than start the application's message pump. - return FALSE; -} diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7258/Sdk7258/Util7258.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7258/Sdk7258/Util7258.h deleted file mode 100644 index e9d0e60..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7258/Sdk7258/Util7258.h +++ /dev/null @@ -1,32 +0,0 @@ - -// Util7258.h : main header file for the PROJECT_NAME application -// - -#pragma once - -#ifndef __AFXWIN_H__ - #error "include 'stdafx.h' before including this file for PCH" -#endif - -#include "resource.h" // main symbols - - -// CUtil7258App: -// See Util7258.cpp for the implementation of this class -// - -class CUtil7258App : public CWinAppEx -{ -public: - CUtil7258App(); - -// Overrides - public: - virtual BOOL InitInstance(); - -// Implementation - - DECLARE_MESSAGE_MAP() -}; - -extern CUtil7258App theApp; \ No newline at end of file diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7258/Sdk7258/Util7258.rc b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7258/Sdk7258/Util7258.rc deleted file mode 100644 index ecede4d..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7258/Sdk7258/Util7258.rc +++ /dev/null @@ -1,334 +0,0 @@ -// Microsoft Visual C++ generated resource script. -// -#include "resource.h" - -#define APSTUDIO_READONLY_SYMBOLS -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 2 resource. -// -#ifndef APSTUDIO_INVOKED -#include "targetver.h" -#endif -#include "afxres.h" - -///////////////////////////////////////////////////////////////////////////// -#undef APSTUDIO_READONLY_SYMBOLS - -///////////////////////////////////////////////////////////////////////////// -// Chinese (Taiwan) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_CHT) -#ifdef _WIN32 -LANGUAGE LANG_CHINESE, SUBLANG_CHINESE_TRADITIONAL -#pragma code_page(950) -#endif //_WIN32 - -#ifdef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// TEXTINCLUDE -// - -1 TEXTINCLUDE -BEGIN - "resource.h\0" -END - -2 TEXTINCLUDE -BEGIN - "#ifndef APSTUDIO_INVOKED\r\n" - "#include ""targetver.h""\r\n" - "#endif\r\n" - "#include ""afxres.h""\r\n" - "\0" -END - -3 TEXTINCLUDE -BEGIN - "#define _AFX_NO_SPLITTER_RESOURCES\r\n" - "#define _AFX_NO_OLE_RESOURCES\r\n" - "#define _AFX_NO_TRACKER_RESOURCES\r\n" - "#define _AFX_NO_PROPERTY_RESOURCES\r\n" - "\r\n" - "#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)\r\n" - "LANGUAGE 9, 1\r\n" - "#pragma code_page(1252)\r\n" - "#include ""res\\Util7258.rc2"" // non-Microsoft Visual C++ edited resources\r\n" - "#include ""afxres.rc"" // Standard components\r\n" - "#endif\r\n" - "\0" -END - -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog -// - -IDD_CARDID_DIALOG DIALOGEX 0, 0, 172, 89 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "Card ID" -FONT 8, "MS Shell Dlg", 400, 0, 0x1 -BEGIN - COMBOBOX IDC_COMBO_CARDID,75,17,71,126,CBS_DROPDOWN | WS_VSCROLL | WS_TABSTOP - LTEXT "Card Number",IDC_STATIC_01,21,18,46,12 - PUSHBUTTON "OK",IDOK,22,50,58,19 - PUSHBUTTON "CANCEL",IDCANCEL,86,50,58,19 -END - - -///////////////////////////////////////////////////////////////////////////// -// -// DESIGNINFO -// - -#ifdef APSTUDIO_INVOKED -GUIDELINES DESIGNINFO -BEGIN - IDD_CARDID_DIALOG, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 165 - TOPMARGIN, 7 - BOTTOMMARGIN, 82 - END -END -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog Info -// - -IDD_CARDID_DIALOG DLGINIT -BEGIN - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0030, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0031, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0032, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0033, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0034, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0035, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0036, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0037, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0038, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0039, - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3031, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3131, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3231, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3331, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3431, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3531, "\000" - 0 -END - -#endif // Chinese (Taiwan) resources -///////////////////////////////////////////////////////////////////////////// - - -///////////////////////////////////////////////////////////////////////////// -// English (U.S.) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -#ifdef _WIN32 -LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US -#pragma code_page(1252) -#endif //_WIN32 - -///////////////////////////////////////////////////////////////////////////// -// -// Icon -// - -// Icon with lowest ID value placed first to ensure application icon -// remains consistent on all systems. -IDR_MAINFRAME ICON "res\\Util7258.ico" -IDI_ICON_BLACK ICON "res\\black.ico" -IDI_ICON_GREEN ICON "res\\green.ico" -IDI_ICON_RED ICON "res\\red.ico" - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog -// - -IDD_ABOUTBOX DIALOGEX 0, 0, 170, 62 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "About Util7258" -FONT 8, "MS Shell Dlg", 0, 0, 0x1 -BEGIN - ICON IDR_MAINFRAME,IDC_STATIC,14,14,21,20 - LTEXT "Util7258, Version 1.0",IDC_STATIC,42,14,114,8,SS_NOPREFIX - LTEXT "Copyright (C) 2010",IDC_STATIC,42,26,114,8 - DEFPUSHBUTTON "OK",IDOK,113,41,50,14,WS_GROUP -END - -IDD_UTIL7258_DIALOG DIALOGEX 0, 0, 320, 173 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU -EXSTYLE WS_EX_APPWINDOW -CAPTION "PCI-7258" -FONT 8, "MS Shell Dlg", 0, 0, 0x1 -BEGIN - ICON IDI_ICON_BLACK,IDC_ICON_DI00,284,11,21,20 - ICON IDI_ICON_BLACK,IDC_ICON_DI01,266,11,21,20 - LTEXT " 1 0",IDC_STATIC,272,31,31,13 - GROUPBOX "Digital Input",IDC_STATIC,7,3,304,42 - CONTROL "",IDC_CHECK_DO00,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,290,124,12,12 - CONTROL "",IDC_CHECK_DO01,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,272,124,12,12 - CONTROL "",IDC_CHECK_DO02,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,254,124,12,12 - CONTROL "",IDC_CHECK_DO03,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,236,124,12,12 - CONTROL "",IDC_CHECK_DO04,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,218,124,12,12 - CONTROL "",IDC_CHECK_DO05,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,200,124,12,12 - CONTROL "",IDC_CHECK_DO06,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,182,124,12,12 - CONTROL "",IDC_CHECK_DO07,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,164,124,12,12 - CONTROL "",IDC_CHECK_DO08,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,146,124,12,12 - CONTROL "",IDC_CHECK_DO09,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,128,124,12,12 - CONTROL "",IDC_CHECK_DO10,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,110,124,12,12 - CONTROL "",IDC_CHECK_DO11,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,92,124,12,12 - CONTROL "",IDC_CHECK_DO12,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,74,124,12,12 - CONTROL "",IDC_CHECK_DO13,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,56,124,12,12 - CONTROL "",IDC_CHECK_DO14,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,38,124,12,12 - CONTROL "",IDC_CHECK_DO15,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,20,124,12,12 - LTEXT " 15 0",IDC_STATIC,14,137,289,13 - GROUPBOX "Digital Output CH#0",IDC_STATIC,7,110,304,41 - CONTROL "",IDC_CHECK_DO16,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,290,70,12,12 - CONTROL "",IDC_CHECK_DO17,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,272,70,12,12 - CONTROL "",IDC_CHECK_DO18,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,254,70,12,12 - CONTROL "",IDC_CHECK_DO19,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,236,70,12,12 - CONTROL "",IDC_CHECK_DO20,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,218,70,12,12 - CONTROL "",IDC_CHECK_DO21,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,200,70,12,12 - CONTROL "",IDC_CHECK_DO22,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,182,70,12,12 - CONTROL "",IDC_CHECK_DO23,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,164,70,12,12 - CONTROL "",IDC_CHECK_DO24,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,146,70,12,12 - CONTROL "",IDC_CHECK_DO25,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,128,70,12,12 - CONTROL "",IDC_CHECK_DO26,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,110,70,12,12 - CONTROL "",IDC_CHECK_DO27,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,92,70,12,12 - CONTROL "",IDC_CHECK_DO28,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,74,70,12,12 - CONTROL "",IDC_CHECK_DO29,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,56,70,12,12 - CONTROL "",IDC_CHECK_DO30,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,38,70,12,12 - CONTROL "",IDC_CHECK_DO31,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,20,70,12,12 - LTEXT " 15 0",IDC_STATIC,14,83,289,13 - GROUPBOX "Digital Output CH#1",IDC_STATIC,9,58,304,41 -END - - -///////////////////////////////////////////////////////////////////////////// -// -// Version -// - -VS_VERSION_INFO VERSIONINFO - FILEVERSION 1,0,0,1 - PRODUCTVERSION 1,0,0,1 - FILEFLAGSMASK 0x3fL -#ifdef _DEBUG - FILEFLAGS 0x1L -#else - FILEFLAGS 0x0L -#endif - FILEOS 0x4L - FILETYPE 0x1L - FILESUBTYPE 0x0L -BEGIN - BLOCK "StringFileInfo" - BEGIN - BLOCK "040904e4" - BEGIN - VALUE "CompanyName", "TODO: " - VALUE "FileDescription", "TODO: " - VALUE "FileVersion", "1.0.0.1" - VALUE "InternalName", "Util7258.exe" - VALUE "LegalCopyright", "TODO: (c) . All rights reserved." - VALUE "OriginalFilename", "Util7258.exe" - VALUE "ProductName", "TODO: " - VALUE "ProductVersion", "1.0.0.1" - END - END - BLOCK "VarFileInfo" - BEGIN - VALUE "Translation", 0x409, 1252 - END -END - - -///////////////////////////////////////////////////////////////////////////// -// -// DESIGNINFO -// - -#ifdef APSTUDIO_INVOKED -GUIDELINES DESIGNINFO -BEGIN - IDD_ABOUTBOX, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 163 - TOPMARGIN, 7 - BOTTOMMARGIN, 55 - END - - IDD_UTIL7258_DIALOG, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 313 - TOPMARGIN, 7 - BOTTOMMARGIN, 166 - END -END -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// String Table -// - -STRINGTABLE -BEGIN - IDS_ABOUTBOX "&About Util7258..." -END - -#endif // English (U.S.) resources -///////////////////////////////////////////////////////////////////////////// - - - -#ifndef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 3 resource. -// -#define _AFX_NO_SPLITTER_RESOURCES -#define _AFX_NO_OLE_RESOURCES -#define _AFX_NO_TRACKER_RESOURCES -#define _AFX_NO_PROPERTY_RESOURCES - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -LANGUAGE 9, 1 -#pragma code_page(1252) -#include "res\Util7258.rc2" // non-Microsoft Visual C++ edited resources -#include "afxres.rc" // Standard components -#endif - -///////////////////////////////////////////////////////////////////////////// -#endif // not APSTUDIO_INVOKED - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7258/Sdk7258/Util7258.sln b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7258/Sdk7258/Util7258.sln deleted file mode 100644 index f2ea9a0..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7258/Sdk7258/Util7258.sln +++ /dev/null @@ -1,26 +0,0 @@ - -Microsoft Visual Studio Solution File, Format Version 10.00 -# Visual Studio 2008 -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "Util7258", "Util7258.vcproj", "{D447B277-14C9-4FDE-93B9-A3D23FBB378D}" -EndProject -Global - GlobalSection(SolutionConfigurationPlatforms) = preSolution - Debug|Win32 = Debug|Win32 - Debug|x64 = Debug|x64 - Release|Win32 = Release|Win32 - Release|x64 = Release|x64 - EndGlobalSection - GlobalSection(ProjectConfigurationPlatforms) = postSolution - {D447B277-14C9-4FDE-93B9-A3D23FBB378D}.Debug|Win32.ActiveCfg = Debug|Win32 - {D447B277-14C9-4FDE-93B9-A3D23FBB378D}.Debug|Win32.Build.0 = Debug|Win32 - {D447B277-14C9-4FDE-93B9-A3D23FBB378D}.Debug|x64.ActiveCfg = Debug|x64 - {D447B277-14C9-4FDE-93B9-A3D23FBB378D}.Debug|x64.Build.0 = Debug|x64 - {D447B277-14C9-4FDE-93B9-A3D23FBB378D}.Release|Win32.ActiveCfg = Release|Win32 - {D447B277-14C9-4FDE-93B9-A3D23FBB378D}.Release|Win32.Build.0 = Release|Win32 - {D447B277-14C9-4FDE-93B9-A3D23FBB378D}.Release|x64.ActiveCfg = Release|x64 - {D447B277-14C9-4FDE-93B9-A3D23FBB378D}.Release|x64.Build.0 = Release|x64 - EndGlobalSection - GlobalSection(SolutionProperties) = preSolution - HideSolutionNode = FALSE - EndGlobalSection -EndGlobal diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7258/Sdk7258/Util7258.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7258/Sdk7258/Util7258.suo deleted file mode 100644 index 680103d..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7258/Sdk7258/Util7258.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7258/Sdk7258/Util7258.vcproj b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7258/Sdk7258/Util7258.vcproj deleted file mode 100644 index cb7a37e..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7258/Sdk7258/Util7258.vcproj +++ /dev/null @@ -1,483 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7258/Sdk7258/Util7258Dlg.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7258/Sdk7258/Util7258Dlg.cpp deleted file mode 100644 index c334b35..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7258/Sdk7258/Util7258Dlg.cpp +++ /dev/null @@ -1,856 +0,0 @@ - -// Util7258Dlg.cpp : implementation file -// - -#include "stdafx.h" -#include "Util7258.h" -#include "Util7258Dlg.h" - -#ifdef _DEBUG -#define new DEBUG_NEW -#endif - - -// CAboutDlg dialog used for App About - -class CAboutDlg : public CDialog -{ -public: - CAboutDlg(); - -// Dialog Data - enum { IDD = IDD_ABOUTBOX }; - - protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - -// Implementation -protected: - DECLARE_MESSAGE_MAP() -}; - -CAboutDlg::CAboutDlg() : CDialog(CAboutDlg::IDD) -{ -} - -void CAboutDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); -} - -BEGIN_MESSAGE_MAP(CAboutDlg, CDialog) -END_MESSAGE_MAP() - - -// CUtil7258Dlg dialog - - - - -CUtil7258Dlg::CUtil7258Dlg(I16 hCard, CWnd* pParent /*=NULL*/) - : CDialog(CUtil7258Dlg::IDD, pParent) -{ - m_hIcon = AfxGetApp()->LoadIcon(IDR_MAINFRAME); - m_nTimer = -1; - m_hCard = hCard; - - m_dwInData = 0x00000000; - m_dwOutData0 = m_dwOutData1 = 0x00000000; -} - -void CUtil7258Dlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); - DDX_Control(pDX, IDC_ICON_DI00, m_Icon_DI00); - DDX_Control(pDX, IDC_ICON_DI01, m_Icon_DI01); -} - -BEGIN_MESSAGE_MAP(CUtil7258Dlg, CDialog) - ON_WM_SYSCOMMAND() - ON_WM_PAINT() - ON_WM_QUERYDRAGICON() - //}}AFX_MSG_MAP - ON_BN_CLICKED(IDC_CHECK_DO00, &CUtil7258Dlg::OnOut00) - ON_BN_CLICKED(IDC_CHECK_DO01, &CUtil7258Dlg::OnOut01) - ON_BN_CLICKED(IDC_CHECK_DO02, &CUtil7258Dlg::OnOut02) - ON_BN_CLICKED(IDC_CHECK_DO03, &CUtil7258Dlg::OnOut03) - ON_BN_CLICKED(IDC_CHECK_DO04, &CUtil7258Dlg::OnOut04) - ON_BN_CLICKED(IDC_CHECK_DO05, &CUtil7258Dlg::OnOut05) - ON_BN_CLICKED(IDC_CHECK_DO06, &CUtil7258Dlg::OnOut06) - ON_BN_CLICKED(IDC_CHECK_DO07, &CUtil7258Dlg::OnOut07) - ON_BN_CLICKED(IDC_CHECK_DO08, &CUtil7258Dlg::OnOut08) - ON_BN_CLICKED(IDC_CHECK_DO09, &CUtil7258Dlg::OnOut09) - ON_BN_CLICKED(IDC_CHECK_DO10, &CUtil7258Dlg::OnOut10) - ON_BN_CLICKED(IDC_CHECK_DO11, &CUtil7258Dlg::OnOut11) - ON_BN_CLICKED(IDC_CHECK_DO12, &CUtil7258Dlg::OnOut12) - ON_BN_CLICKED(IDC_CHECK_DO13, &CUtil7258Dlg::OnOut13) - ON_BN_CLICKED(IDC_CHECK_DO14, &CUtil7258Dlg::OnOut14) - ON_BN_CLICKED(IDC_CHECK_DO15, &CUtil7258Dlg::OnOut15) - ON_BN_CLICKED(IDC_CHECK_DO16, &CUtil7258Dlg::OnOut16) - ON_BN_CLICKED(IDC_CHECK_DO17, &CUtil7258Dlg::OnOut17) - ON_BN_CLICKED(IDC_CHECK_DO18, &CUtil7258Dlg::OnOut18) - ON_BN_CLICKED(IDC_CHECK_DO19, &CUtil7258Dlg::OnOut19) - ON_BN_CLICKED(IDC_CHECK_DO20, &CUtil7258Dlg::OnOut20) - ON_BN_CLICKED(IDC_CHECK_DO21, &CUtil7258Dlg::OnOut21) - ON_BN_CLICKED(IDC_CHECK_DO22, &CUtil7258Dlg::OnOut22) - ON_BN_CLICKED(IDC_CHECK_DO23, &CUtil7258Dlg::OnOut23) - ON_BN_CLICKED(IDC_CHECK_DO24, &CUtil7258Dlg::OnOut24) - ON_BN_CLICKED(IDC_CHECK_DO25, &CUtil7258Dlg::OnOut25) - ON_BN_CLICKED(IDC_CHECK_DO26, &CUtil7258Dlg::OnOut26) - ON_BN_CLICKED(IDC_CHECK_DO27, &CUtil7258Dlg::OnOut27) - ON_BN_CLICKED(IDC_CHECK_DO28, &CUtil7258Dlg::OnOut28) - ON_BN_CLICKED(IDC_CHECK_DO29, &CUtil7258Dlg::OnOut29) - ON_BN_CLICKED(IDC_CHECK_DO30, &CUtil7258Dlg::OnOut30) - ON_BN_CLICKED(IDC_CHECK_DO31, &CUtil7258Dlg::OnOut31) - ON_WM_DESTROY() - ON_WM_TIMER() -END_MESSAGE_MAP() - - -// CUtil7258Dlg message handlers - -BOOL CUtil7258Dlg::OnInitDialog() -{ - CDialog::OnInitDialog(); - - // Add "About..." menu item to system menu. - - // IDM_ABOUTBOX must be in the system command range. - ASSERT((IDM_ABOUTBOX & 0xFFF0) == IDM_ABOUTBOX); - ASSERT(IDM_ABOUTBOX < 0xF000); - - CMenu* pSysMenu = GetSystemMenu(FALSE); - if (pSysMenu != NULL) - { - BOOL bNameValid; - CString strAboutMenu; - bNameValid = strAboutMenu.LoadString(IDS_ABOUTBOX); - ASSERT(bNameValid); - if (!strAboutMenu.IsEmpty()) - { - pSysMenu->AppendMenu(MF_SEPARATOR); - pSysMenu->AppendMenu(MF_STRING, IDM_ABOUTBOX, strAboutMenu); - } - } - - // Set the icon for this dialog. The framework does this automatically - // when the application's main window is not a dialog - SetIcon(m_hIcon, TRUE); // Set big icon - SetIcon(m_hIcon, FALSE); // Set small icon - - // TODO: Add extra initialization here - m_nTimer = SetTimer( 1, 50, NULL ); - - return TRUE; // return TRUE unless you set the focus to a control -} - -void CUtil7258Dlg::OnSysCommand(UINT nID, LPARAM lParam) -{ - if ((nID & 0xFFF0) == IDM_ABOUTBOX) - { - CAboutDlg dlgAbout; - dlgAbout.DoModal(); - } - else - { - CDialog::OnSysCommand(nID, lParam); - } -} - -// If you add a minimize button to your dialog, you will need the code below -// to draw the icon. For MFC applications using the document/view model, -// this is automatically done for you by the framework. - -void CUtil7258Dlg::OnPaint() -{ - if (IsIconic()) - { - CPaintDC dc(this); // device context for painting - - SendMessage(WM_ICONERASEBKGND, reinterpret_cast(dc.GetSafeHdc()), 0); - - // Center icon in client rectangle - int cxIcon = GetSystemMetrics(SM_CXICON); - int cyIcon = GetSystemMetrics(SM_CYICON); - CRect rect; - GetClientRect(&rect); - int x = (rect.Width() - cxIcon + 1) / 2; - int y = (rect.Height() - cyIcon + 1) / 2; - - // Draw the icon - dc.DrawIcon(x, y, m_hIcon); - } - else - { - CDialog::OnPaint(); - } -} - -// The system calls this function to obtain the cursor to display while the user drags -// the minimized window. -HCURSOR CUtil7258Dlg::OnQueryDragIcon() -{ - return static_cast(m_hIcon); -} - - -void CUtil7258Dlg::OnDestroy() -{ - CDialog::OnDestroy(); - - // TODO: Add your message handler code here - if( m_nTimer != -1 ) - KillTimer( m_nTimer ); -} - -void CUtil7258Dlg::OnTimer(UINT_PTR nIDEvent) -{ - // TODO: Add your message handler code here and/or call default - U32 dwPortData, dwChangeMask; - - DI_ReadPort(m_hCard, 0 ,&dwPortData); - dwChangeMask = dwPortData ^ m_dwInData; - - if( dwChangeMask != 0x00 ) // Input had been changed - { - m_dwInData = dwPortData; // update the DI data - - if( (dwChangeMask & 0x01) == 0x01 ) // if the target bit is changed - { - if( (dwPortData & 0x01) == 0x01 ) - { - m_Icon_DI00.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_DI00.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - - if( (dwChangeMask & 0x02) == 0x02 ) // if the target bit is changed - { - if( (dwPortData & 0x02) == 0x02 ) - { - m_Icon_DI01.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_DI01.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - } - - CDialog::OnTimer(nIDEvent); -} - -void CUtil7258Dlg::OnOut00() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_DO00 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_dwOutData0 |= 0x01; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_dwOutData0 &= (~0x01); - } - - DO_WritePort( m_hCard, 0, m_dwOutData0 ); - -} - -void CUtil7258Dlg::OnOut01() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_DO01 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_dwOutData0 |= 0x02; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_dwOutData0 &= (~0x02); - } - - DO_WritePort( m_hCard, 0, m_dwOutData0 ); -} - -void CUtil7258Dlg::OnOut02() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_DO02 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_dwOutData0 |= 0x04; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_dwOutData0 &= (~0x04); - } - - DO_WritePort( m_hCard, 0, m_dwOutData0 ); -} - -void CUtil7258Dlg::OnOut03() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_DO03 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_dwOutData0 |= 0x08; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_dwOutData0 &= (~0x08); - } - - DO_WritePort( m_hCard, 0, m_dwOutData0 ); -} - -void CUtil7258Dlg::OnOut04() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_DO04 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_dwOutData0 |= 0x10; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_dwOutData0 &= (~0x10); - } - - DO_WritePort( m_hCard, 0, m_dwOutData0 ); -} - -void CUtil7258Dlg::OnOut05() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_DO05 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_dwOutData0 |= 0x20; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_dwOutData0 &= (~0x20); - } - - DO_WritePort( m_hCard, 0, m_dwOutData0 ); -} - -void CUtil7258Dlg::OnOut06() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_DO06 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_dwOutData0 |= 0x40; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_dwOutData0 &= (~0x40); - } - - DO_WritePort( m_hCard, 0, m_dwOutData0 ); -} - -void CUtil7258Dlg::OnOut07() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_DO07 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_dwOutData0 |= 0x80; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_dwOutData0 &= (~0x80); - } - - DO_WritePort( m_hCard, 0, m_dwOutData0 ); -} - -void CUtil7258Dlg::OnOut08() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_DO08 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_dwOutData0 |= 0x100; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_dwOutData0 &= (~0x100); - } - - DO_WritePort( m_hCard, 0, m_dwOutData0 ); -} - -void CUtil7258Dlg::OnOut09() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_DO09 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_dwOutData0 |= 0x200; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_dwOutData0 &= (~0x200); - } - - DO_WritePort( m_hCard, 0, m_dwOutData0 ); -} - -void CUtil7258Dlg::OnOut10() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_DO10 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_dwOutData0 |= 0x400; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_dwOutData0 &= (~0x400); - } - - DO_WritePort( m_hCard, 0, m_dwOutData0 ); -} - -void CUtil7258Dlg::OnOut11() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_DO11 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_dwOutData0 |= 0x800; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_dwOutData0 &= (~0x800); - } - - DO_WritePort( m_hCard, 0, m_dwOutData0 ); -} - -void CUtil7258Dlg::OnOut12() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_DO12 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_dwOutData0 |= 0x1000; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_dwOutData0 &= (~0x1000); - } - - DO_WritePort( m_hCard, 0, m_dwOutData0 ); -} - -void CUtil7258Dlg::OnOut13() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_DO13 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_dwOutData0 |= 0x2000; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_dwOutData0 &= (~0x2000); - } - - DO_WritePort( m_hCard, 0, m_dwOutData0 ); -} - -void CUtil7258Dlg::OnOut14() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_DO14 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_dwOutData0 |= 0x4000; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_dwOutData0 &= (~0x4000); - } - - DO_WritePort( m_hCard, 0, m_dwOutData0 ); -} - -void CUtil7258Dlg::OnOut15() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_DO15 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_dwOutData0 |= 0x8000; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_dwOutData0 &= (~0x8000); - } - - DO_WritePort( m_hCard, 0, m_dwOutData0 ); -} - -void CUtil7258Dlg::OnOut16() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_DO16 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_dwOutData1 |= 0x01; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_dwOutData1 &= (~0x01); - } - - DO_WritePort( m_hCard, 1, m_dwOutData1 ); - -} - -void CUtil7258Dlg::OnOut17() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_DO17 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_dwOutData1 |= 0x02; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_dwOutData1 &= (~0x02); - } - - DO_WritePort( m_hCard, 1, m_dwOutData1 ); -} - -void CUtil7258Dlg::OnOut18() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_DO18 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_dwOutData1 |= 0x04; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_dwOutData1 &= (~0x04); - } - - DO_WritePort( m_hCard, 1, m_dwOutData1 ); -} - -void CUtil7258Dlg::OnOut19() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_DO19 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_dwOutData1 |= 0x08; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_dwOutData1 &= (~0x08); - } - - DO_WritePort( m_hCard, 1, m_dwOutData1 ); -} - -void CUtil7258Dlg::OnOut20() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_DO20 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_dwOutData1 |= 0x10; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_dwOutData1 &= (~0x10); - } - - DO_WritePort( m_hCard, 1, m_dwOutData1 ); -} - -void CUtil7258Dlg::OnOut21() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_DO21 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_dwOutData1 |= 0x20; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_dwOutData1 &= (~0x20); - } - - DO_WritePort( m_hCard, 1, m_dwOutData1 ); -} - -void CUtil7258Dlg::OnOut22() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_DO22 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_dwOutData1 |= 0x40; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_dwOutData1 &= (~0x40); - } - - DO_WritePort( m_hCard, 1, m_dwOutData1 ); -} - -void CUtil7258Dlg::OnOut23() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_DO23 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_dwOutData1 |= 0x80; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_dwOutData1 &= (~0x80); - } - - DO_WritePort( m_hCard, 1, m_dwOutData1 ); -} - -void CUtil7258Dlg::OnOut24() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_DO24 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_dwOutData1 |= 0x100; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_dwOutData1 &= (~0x100); - } - - DO_WritePort( m_hCard, 1, m_dwOutData1 ); -} - -void CUtil7258Dlg::OnOut25() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_DO25 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_dwOutData1 |= 0x200; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_dwOutData1 &= (~0x200); - } - - DO_WritePort( m_hCard, 1, m_dwOutData1 ); -} - -void CUtil7258Dlg::OnOut26() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_DO26 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_dwOutData1 |= 0x400; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_dwOutData1 &= (~0x400); - } - - DO_WritePort( m_hCard, 1, m_dwOutData1 ); -} - -void CUtil7258Dlg::OnOut27() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_DO27 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_dwOutData1 |= 0x800; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_dwOutData1 &= (~0x800); - } - - DO_WritePort( m_hCard, 1, m_dwOutData1 ); -} - -void CUtil7258Dlg::OnOut28() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_DO28 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_dwOutData1 |= 0x1000; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_dwOutData1 &= (~0x1000); - } - - DO_WritePort( m_hCard, 1, m_dwOutData1 ); -} - -void CUtil7258Dlg::OnOut29() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_DO29 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_dwOutData1 |= 0x2000; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_dwOutData1 &= (~0x2000); - } - - DO_WritePort( m_hCard, 1, m_dwOutData1 ); -} - -void CUtil7258Dlg::OnOut30() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_DO30 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_dwOutData1 |= 0x4000; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_dwOutData1 &= (~0x4000); - } - - DO_WritePort( m_hCard, 1, m_dwOutData1 ); -} - -void CUtil7258Dlg::OnOut31() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_DO31 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_dwOutData1 |= 0x8000; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_dwOutData1 &= (~0x8000); - } - - DO_WritePort( m_hCard, 1, m_dwOutData1 ); -} diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7258/Sdk7258/Util7258Dlg.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7258/Sdk7258/Util7258Dlg.h deleted file mode 100644 index 7a4518e..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7258/Sdk7258/Util7258Dlg.h +++ /dev/null @@ -1,76 +0,0 @@ - -// Util7258Dlg.h : header file -// -#include "Dask64.h" - -#pragma once - - -// CUtil7258Dlg dialog -class CUtil7258Dlg : public CDialog -{ -// Construction -public: - CUtil7258Dlg(I16 hCard, CWnd* pParent = NULL); // standard constructor - -// Dialog Data - enum { IDD = IDD_UTIL7258_DIALOG }; - - protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - - -// Implementation -protected: - HICON m_hIcon; - I16 m_hCard; - UINT_PTR m_nTimer; - U32 m_dwInData; - U32 m_dwOutData0; - U32 m_dwOutData1; - - // Generated message map functions - virtual BOOL OnInitDialog(); - afx_msg void OnSysCommand(UINT nID, LPARAM lParam); - afx_msg void OnPaint(); - afx_msg HCURSOR OnQueryDragIcon(); - DECLARE_MESSAGE_MAP() - -public: - CStatic m_Icon_DI00; - CStatic m_Icon_DI01; - afx_msg void OnDestroy(); - afx_msg void OnTimer(UINT_PTR nIDEvent); - afx_msg void OnOut00(); - afx_msg void OnOut01(); - afx_msg void OnOut02(); - afx_msg void OnOut03(); - afx_msg void OnOut04(); - afx_msg void OnOut05(); - afx_msg void OnOut06(); - afx_msg void OnOut07(); - afx_msg void OnOut08(); - afx_msg void OnOut09(); - afx_msg void OnOut10(); - afx_msg void OnOut11(); - afx_msg void OnOut12(); - afx_msg void OnOut13(); - afx_msg void OnOut14(); - afx_msg void OnOut15(); - afx_msg void OnOut16(); - afx_msg void OnOut17(); - afx_msg void OnOut18(); - afx_msg void OnOut19(); - afx_msg void OnOut20(); - afx_msg void OnOut21(); - afx_msg void OnOut22(); - afx_msg void OnOut23(); - afx_msg void OnOut24(); - afx_msg void OnOut25(); - afx_msg void OnOut26(); - afx_msg void OnOut27(); - afx_msg void OnOut28(); - afx_msg void OnOut29(); - afx_msg void OnOut30(); - afx_msg void OnOut31(); -}; diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7258/Sdk7258/res/Util7258.ico b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7258/Sdk7258/res/Util7258.ico deleted file mode 100644 index d56fbcd..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7258/Sdk7258/res/Util7258.ico and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7258/Sdk7258/res/Util7258.rc2 b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7258/Sdk7258/res/Util7258.rc2 deleted file mode 100644 index cffc198..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7258/Sdk7258/res/Util7258.rc2 +++ /dev/null @@ -1,13 +0,0 @@ -// -// Util7258.RC2 - resources Microsoft Visual C++ does not edit directly -// - -#ifdef APSTUDIO_INVOKED -#error this file is not editable by Microsoft Visual C++ -#endif //APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// Add manually edited resources here... - -///////////////////////////////////////////////////////////////////////////// diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7258/Sdk7258/res/black.ico b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7258/Sdk7258/res/black.ico deleted file mode 100644 index b5c375f..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7258/Sdk7258/res/black.ico and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7258/Sdk7258/res/green.ico b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7258/Sdk7258/res/green.ico deleted file mode 100644 index d9a9fd3..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7258/Sdk7258/res/green.ico and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7258/Sdk7258/res/red.ico b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7258/Sdk7258/res/red.ico deleted file mode 100644 index 7644596..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7258/Sdk7258/res/red.ico and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7258/Sdk7258/resource.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7258/Sdk7258/resource.h deleted file mode 100644 index d1898f6..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7258/Sdk7258/resource.h +++ /dev/null @@ -1,60 +0,0 @@ -//{{NO_DEPENDENCIES}} -// Microsoft Visual C++ generated include file. -// Used by Util7258.rc -// -#define IDM_ABOUTBOX 0x0010 -#define IDD_ABOUTBOX 100 -#define IDS_ABOUTBOX 101 -#define IDD_UTIL7258_DIALOG 102 -#define IDR_MAINFRAME 128 -#define IDI_ICON_BLACK 129 -#define IDI_ICON_GREEN 130 -#define IDI_ICON_RED 131 -#define IDD_CARDID_DIALOG 132 -#define IDC_COMBO_CARDID 1000 -#define IDC_CHECK_DO00 1003 -#define IDC_CHECK_DO01 1004 -#define IDC_ICON_DI00 1005 -#define IDC_ICON_DI01 1006 -#define IDC_CHECK_DO16 1007 -#define IDC_CHECK_DO17 1008 -#define IDC_STATIC_01 1014 -#define IDC_CHECK_DO02 1021 -#define IDC_CHECK_DO03 1022 -#define IDC_CHECK_DO04 1023 -#define IDC_CHECK_DO05 1024 -#define IDC_CHECK_DO06 1025 -#define IDC_CHECK_DO07 1026 -#define IDC_CHECK_DO08 1027 -#define IDC_CHECK_DO09 1028 -#define IDC_CHECK_DO10 1029 -#define IDC_CHECK_DO11 1030 -#define IDC_CHECK_DO12 1031 -#define IDC_CHECK_DO13 1032 -#define IDC_CHECK_DO14 1033 -#define IDC_CHECK_DO15 1034 -#define IDC_CHECK_DO18 1035 -#define IDC_CHECK_DO19 1036 -#define IDC_CHECK_DO20 1037 -#define IDC_CHECK_DO21 1038 -#define IDC_CHECK_DO22 1039 -#define IDC_CHECK_DO23 1040 -#define IDC_CHECK_DO24 1041 -#define IDC_CHECK_DO25 1042 -#define IDC_CHECK_DO26 1043 -#define IDC_CHECK_DO27 1044 -#define IDC_CHECK_DO28 1045 -#define IDC_CHECK_DO29 1046 -#define IDC_CHECK_DO30 1047 -#define IDC_CHECK_DO31 1048 - -// Next default values for new objects -// -#ifdef APSTUDIO_INVOKED -#ifndef APSTUDIO_READONLY_SYMBOLS -#define _APS_NEXT_RESOURCE_VALUE 134 -#define _APS_NEXT_COMMAND_VALUE 32771 -#define _APS_NEXT_CONTROL_VALUE 1000 -#define _APS_NEXT_SYMED_VALUE 101 -#endif -#endif diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7258/Sdk7258/stdafx.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7258/Sdk7258/stdafx.cpp deleted file mode 100644 index c4cc5f7..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7258/Sdk7258/stdafx.cpp +++ /dev/null @@ -1,8 +0,0 @@ - -// stdafx.cpp : source file that includes just the standard includes -// Util7258.pch will be the pre-compiled header -// stdafx.obj will contain the pre-compiled type information - -#include "stdafx.h" - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7258/Sdk7258/stdafx.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7258/Sdk7258/stdafx.h deleted file mode 100644 index 12123e2..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7258/Sdk7258/stdafx.h +++ /dev/null @@ -1,60 +0,0 @@ - -// stdafx.h : include file for standard system include files, -// or project specific include files that are used frequently, -// but are changed infrequently - -#pragma once - -#ifndef _SECURE_ATL -#define _SECURE_ATL 1 -#endif - -#ifndef VC_EXTRALEAN -#define VC_EXTRALEAN // Exclude rarely-used stuff from Windows headers -#endif - -#include "targetver.h" - -#define _ATL_CSTRING_EXPLICIT_CONSTRUCTORS // some CString constructors will be explicit - -// turns off MFC's hiding of some common and often safely ignored warning messages -#define _AFX_ALL_WARNINGS - -#include // MFC core and standard components -#include // MFC extensions - - -#include // MFC Automation classes - - - -#ifndef _AFX_NO_OLE_SUPPORT -#include // MFC support for Internet Explorer 4 Common Controls -#endif -#ifndef _AFX_NO_AFXCMN_SUPPORT -#include // MFC support for Windows Common Controls -#endif // _AFX_NO_AFXCMN_SUPPORT - -#include // MFC support for ribbons and control bars - - - - - - - - - -#ifdef _UNICODE -#if defined _M_IX86 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='x86' publicKeyToken='6595b64144ccf1df' language='*'\"") -#elif defined _M_IA64 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='ia64' publicKeyToken='6595b64144ccf1df' language='*'\"") -#elif defined _M_X64 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='amd64' publicKeyToken='6595b64144ccf1df' language='*'\"") -#else -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='*' publicKeyToken='6595b64144ccf1df' language='*'\"") -#endif -#endif - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7258/Sdk7258/targetver.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7258/Sdk7258/targetver.h deleted file mode 100644 index 11730d5..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7258/Sdk7258/targetver.h +++ /dev/null @@ -1,26 +0,0 @@ - -#pragma once - -// The following macros define the minimum required platform. The minimum required platform -// is the earliest version of Windows, Internet Explorer etc. that has the necessary features to run -// your application. The macros work by enabling all features available on platform versions up to and -// including the version specified. - -// Modify the following defines if you have to target a platform prior to the ones specified below. -// Refer to MSDN for the latest info on corresponding values for different platforms. -#ifndef WINVER // Specifies that the minimum required platform is Windows Vista. -#define WINVER 0x0600 // Change this to the appropriate value to target other versions of Windows. -#endif - -#ifndef _WIN32_WINNT // Specifies that the minimum required platform is Windows Vista. -#define _WIN32_WINNT 0x0600 // Change this to the appropriate value to target other versions of Windows. -#endif - -#ifndef _WIN32_WINDOWS // Specifies that the minimum required platform is Windows 98. -#define _WIN32_WINDOWS 0x0410 // Change this to the appropriate value to target Windows Me or later. -#endif - -#ifndef _WIN32_IE // Specifies that the minimum required platform is Internet Explorer 7.0. -#define _WIN32_IE 0x0700 // Change this to the appropriate value to target other versions of IE. -#endif - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7260/SDK7260int/7256int.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7260/SDK7260int/7256int.suo deleted file mode 100644 index 494d925..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7260/SDK7260int/7256int.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7260/SDK7260int/7260int.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7260/SDK7260int/7260int.cpp deleted file mode 100644 index 19fe5d4..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7260/SDK7260int/7260int.cpp +++ /dev/null @@ -1,110 +0,0 @@ - -// 7260int.cpp : Defines the class behaviors for the application. -// - -#include "stdafx.h" -#include "7260int.h" -#include "7260intDlg.h" -#include "CardIDDlg.h" - -#ifdef _DEBUG -#define new DEBUG_NEW -#endif - - -// C7260intApp - -BEGIN_MESSAGE_MAP(C7260intApp, CWinAppEx) - ON_COMMAND(ID_HELP, &CWinApp::OnHelp) -END_MESSAGE_MAP() - - -// C7260intApp construction - -C7260intApp::C7260intApp() -{ - // TODO: add construction code here, - // Place all significant initialization in InitInstance -} - - -// The one and only C7260intApp object - -C7260intApp theApp; - - -// C7260intApp initialization - -BOOL C7260intApp::InitInstance() -{ - int nCardID = 0; - I16 hCard; - CString strTemp; - INT_PTR nResponse; - - // InitCommonControlsEx() is required on Windows XP if an application - // manifest specifies use of ComCtl32.dll version 6 or later to enable - // visual styles. Otherwise, any window creation will fail. - INITCOMMONCONTROLSEX InitCtrls; - InitCtrls.dwSize = sizeof(InitCtrls); - // Set this to include all the common control classes you want to use - // in your application. - InitCtrls.dwICC = ICC_WIN95_CLASSES; - InitCommonControlsEx(&InitCtrls); - - CWinAppEx::InitInstance(); - - AfxEnableControlContainer(); - - // Standard initialization - // If you are not using these features and wish to reduce the size - // of your final executable, you should remove from the following - // the specific initialization routines you do not need - // Change the registry key under which our settings are stored - // TODO: You should modify this string to be something appropriate - // such as the name of your company or organization - SetRegistryKey(_T("Local AppWizard-Generated Applications")); - - CCardIDDlg CardDlg( nCardID ); - - nResponse = CardDlg.DoModal(); - if (nResponse == IDOK) - { - nCardID = CardDlg.GetCardID(); - - if ((hCard=Register_Card(PCI_7260, nCardID)) < 0) - { - strTemp.Format( TEXT("Register_Card Error = %d"), hCard); - AfxMessageBox( strTemp ); - } - else - { - C7260intDlg dlg(hCard); - m_pMainWnd = &dlg; - nResponse = dlg.DoModal(); - if (nResponse == IDOK) - { - // TODO: Place code here to handle when the dialog is - // dismissed with OK - } - else if (nResponse == IDCANCEL) - { - // TODO: Place code here to handle when the dialog is - // dismissed with Cancel - } - - if (hCard >= 0) Release_Card(hCard); - } - - } - else if (nResponse == IDCANCEL) - { - // TODO: Place code here to handle when the dialog is - // dismissed with Cancel - } - - - // Since the dialog has been closed, return FALSE so that we exit the - // application, rather than start the application's message pump. - return FALSE; -} diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7260/SDK7260int/7260int.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7260/SDK7260int/7260int.h deleted file mode 100644 index 32cbf15..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7260/SDK7260int/7260int.h +++ /dev/null @@ -1,32 +0,0 @@ - -// 7260int.h : main header file for the PROJECT_NAME application -// - -#pragma once - -#ifndef __AFXWIN_H__ - #error "include 'stdafx.h' before including this file for PCH" -#endif - -#include "resource.h" // main symbols - - -// C7260intApp: -// See 7260int.cpp for the implementation of this class -// - -class C7260intApp : public CWinAppEx -{ -public: - C7260intApp(); - -// Overrides - public: - virtual BOOL InitInstance(); - -// Implementation - - DECLARE_MESSAGE_MAP() -}; - -extern C7260intApp theApp; \ No newline at end of file diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7260/SDK7260int/7260int.rc b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7260/SDK7260int/7260int.rc deleted file mode 100644 index 5e82a7b..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7260/SDK7260int/7260int.rc +++ /dev/null @@ -1,278 +0,0 @@ -// Microsoft Visual C++ generated resource script. -// -#include "resource.h" - -#define APSTUDIO_READONLY_SYMBOLS -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 2 resource. -// -#ifndef APSTUDIO_INVOKED -#include "targetver.h" -#endif -#include "afxres.h" - -///////////////////////////////////////////////////////////////////////////// -#undef APSTUDIO_READONLY_SYMBOLS - -///////////////////////////////////////////////////////////////////////////// -// Chinese (Taiwan) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_CHT) -#ifdef _WIN32 -LANGUAGE LANG_CHINESE, SUBLANG_CHINESE_TRADITIONAL -#pragma code_page(950) -#endif //_WIN32 - -#ifdef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// TEXTINCLUDE -// - -1 TEXTINCLUDE -BEGIN - "resource.h\0" -END - -2 TEXTINCLUDE -BEGIN - "#ifndef APSTUDIO_INVOKED\r\n" - "#include ""targetver.h""\r\n" - "#endif\r\n" - "#include ""afxres.h""\r\n" - "\0" -END - -3 TEXTINCLUDE -BEGIN - "#define _AFX_NO_SPLITTER_RESOURCES\r\n" - "#define _AFX_NO_OLE_RESOURCES\r\n" - "#define _AFX_NO_TRACKER_RESOURCES\r\n" - "#define _AFX_NO_PROPERTY_RESOURCES\r\n" - "\r\n" - "#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)\r\n" - "LANGUAGE 9, 1\r\n" - "#pragma code_page(1252)\r\n" - "#include ""res\\My7260int.rc2"" // non-Microsoft Visual C++ edited resources\r\n" - "#include ""afxres.rc"" // Standard components\r\n" - "#endif\r\n" - "\0" -END - -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// Icon -// - -// Icon with lowest ID value placed first to ensure application icon -// remains consistent on all systems. -IDR_MAINFRAME ICON "res\\7260int.ico" -#endif // Chinese (Taiwan) resources -///////////////////////////////////////////////////////////////////////////// - - -///////////////////////////////////////////////////////////////////////////// -// English (U.S.) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -#ifdef _WIN32 -LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US -#pragma code_page(1252) -#endif //_WIN32 - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog -// - -IDD_ABOUTBOX DIALOGEX 0, 0, 170, 62 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "About 7260int" -FONT 8, "MS Shell Dlg", 0, 0, 0x1 -BEGIN - ICON IDR_MAINFRAME,IDC_STATIC,14,14,21,20 - LTEXT "7260int, Version 1.0",IDC_STATIC,42,14,114,8,SS_NOPREFIX - LTEXT "Copyright (C) 2010",IDC_STATIC,42,26,114,8 - DEFPUSHBUTTON "OK",IDOK,113,41,50,14,WS_GROUP -END - -IDD_MY7260INT_DIALOG DIALOGEX 0, 0, 195, 161 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU -EXSTYLE WS_EX_APPWINDOW -CAPTION "PCI-7260 Interrupt Sample (COS INT)" -FONT 8, "MS Shell Dlg", 0, 0, 0x1 -BEGIN - LTEXT "This program shows the number of occurrence of INT1 interrupt. INT1 interrupt is generated by external signal from DI bit-0. If you connect DO bit-0 to DI bit-0, press 'Output' button can generate an interrupt.",IDC_STATIC,25,24,151,42 - LTEXT "INT Count =",IDC_STATIC_05,54,83,85,13 - LTEXT "COS Latch Data =",IDC_STATIC_06,53,99,122,13 - PUSHBUTTON "Output",IDC_BT_OUTPUT,46,120,84,18 -END - -IDD_CARDID_DIALOG DIALOGEX 0, 0, 163, 88 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "Card ID" -FONT 8, "MS Shell Dlg", 400, 0, 0x1 -BEGIN - COMBOBOX IDC_COMBO_CARDID,73,17,71,126,CBS_DROPDOWN | WS_VSCROLL | WS_TABSTOP - LTEXT "Card Number",IDC_STATIC_01,19,18,46,12 - PUSHBUTTON "OK",IDOK,20,50,58,19 - PUSHBUTTON "CANCEL",IDCANCEL,84,50,58,19 -END - - -///////////////////////////////////////////////////////////////////////////// -// -// Version -// - -VS_VERSION_INFO VERSIONINFO - FILEVERSION 1,0,0,1 - PRODUCTVERSION 1,0,0,1 - FILEFLAGSMASK 0x3fL -#ifdef _DEBUG - FILEFLAGS 0x1L -#else - FILEFLAGS 0x0L -#endif - FILEOS 0x4L - FILETYPE 0x1L - FILESUBTYPE 0x0L -BEGIN - BLOCK "StringFileInfo" - BEGIN - BLOCK "040904e4" - BEGIN - VALUE "CompanyName", "TODO: " - VALUE "FileDescription", "TODO: " - VALUE "FileVersion", "1.0.0.1" - VALUE "InternalName", "7260int.exe" - VALUE "LegalCopyright", "TODO: (c) . All rights reserved." - VALUE "OriginalFilename", "7260int.exe" - VALUE "ProductName", "TODO: " - VALUE "ProductVersion", "1.0.0.1" - END - END - BLOCK "VarFileInfo" - BEGIN - VALUE "Translation", 0x409, 1252 - END -END - - -///////////////////////////////////////////////////////////////////////////// -// -// DESIGNINFO -// - -#ifdef APSTUDIO_INVOKED -GUIDELINES DESIGNINFO -BEGIN - IDD_ABOUTBOX, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 163 - TOPMARGIN, 7 - BOTTOMMARGIN, 55 - END - - IDD_MY7260INT_DIALOG, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 188 - TOPMARGIN, 7 - BOTTOMMARGIN, 154 - END - - IDD_CARDID_DIALOG, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 156 - TOPMARGIN, 7 - BOTTOMMARGIN, 81 - END -END -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog Info -// - -IDD_CARDID_DIALOG DLGINIT -BEGIN - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0030, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0031, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0032, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0033, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0034, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0035, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0036, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0037, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0038, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0039, - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3031, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3131, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3231, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3331, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3431, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3531, "\000" - 0 -END - - -///////////////////////////////////////////////////////////////////////////// -// -// String Table -// - -STRINGTABLE -BEGIN - IDS_ABOUTBOX "&About 7260int..." -END - -#endif // English (U.S.) resources -///////////////////////////////////////////////////////////////////////////// - - - -#ifndef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 3 resource. -// -#define _AFX_NO_SPLITTER_RESOURCES -#define _AFX_NO_OLE_RESOURCES -#define _AFX_NO_TRACKER_RESOURCES -#define _AFX_NO_PROPERTY_RESOURCES - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -LANGUAGE 9, 1 -#pragma code_page(1252) -#include "res\My7260int.rc2" // non-Microsoft Visual C++ edited resources -#include "afxres.rc" // Standard components -#endif - -///////////////////////////////////////////////////////////////////////////// -#endif // not APSTUDIO_INVOKED - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7260/SDK7260int/7260int.sln b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7260/SDK7260int/7260int.sln deleted file mode 100644 index c13e45b..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7260/SDK7260int/7260int.sln +++ /dev/null @@ -1,26 +0,0 @@ - -Microsoft Visual Studio Solution File, Format Version 10.00 -# Visual Studio 2008 -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "7260int", "7260int.vcproj", "{7D5D9EC5-ED97-47EE-B6F4-ACCD71069808}" -EndProject -Global - GlobalSection(SolutionConfigurationPlatforms) = preSolution - Debug|Win32 = Debug|Win32 - Debug|x64 = Debug|x64 - Release|Win32 = Release|Win32 - Release|x64 = Release|x64 - EndGlobalSection - GlobalSection(ProjectConfigurationPlatforms) = postSolution - {7D5D9EC5-ED97-47EE-B6F4-ACCD71069808}.Debug|Win32.ActiveCfg = Debug|Win32 - {7D5D9EC5-ED97-47EE-B6F4-ACCD71069808}.Debug|Win32.Build.0 = Debug|Win32 - {7D5D9EC5-ED97-47EE-B6F4-ACCD71069808}.Debug|x64.ActiveCfg = Debug|x64 - {7D5D9EC5-ED97-47EE-B6F4-ACCD71069808}.Debug|x64.Build.0 = Debug|x64 - {7D5D9EC5-ED97-47EE-B6F4-ACCD71069808}.Release|Win32.ActiveCfg = Release|Win32 - {7D5D9EC5-ED97-47EE-B6F4-ACCD71069808}.Release|Win32.Build.0 = Release|Win32 - {7D5D9EC5-ED97-47EE-B6F4-ACCD71069808}.Release|x64.ActiveCfg = Release|x64 - {7D5D9EC5-ED97-47EE-B6F4-ACCD71069808}.Release|x64.Build.0 = Release|x64 - EndGlobalSection - GlobalSection(SolutionProperties) = preSolution - HideSolutionNode = FALSE - EndGlobalSection -EndGlobal diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7260/SDK7260int/7260int.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7260/SDK7260int/7260int.suo deleted file mode 100644 index d3058e0..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7260/SDK7260int/7260int.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7260/SDK7260int/7260int.vcproj b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7260/SDK7260int/7260int.vcproj deleted file mode 100644 index 2ee0c58..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7260/SDK7260int/7260int.vcproj +++ /dev/null @@ -1,471 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7260/SDK7260int/7260intDlg.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7260/SDK7260int/7260intDlg.cpp deleted file mode 100644 index 07db25c..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7260/SDK7260int/7260intDlg.cpp +++ /dev/null @@ -1,251 +0,0 @@ - -// 7260intDlg.cpp : implementation file -// - -#include "stdafx.h" -#include "7260int.h" -#include "7260intDlg.h" - -#ifdef _DEBUG -#define new DEBUG_NEW -#endif - -int gIntCount; -U16 g_wCOSLData; -HANDLE ghIntEvent[2]; - -BOOLEAN gbExitThread; -I16 g_hCard; - - -DWORD WINAPI IntThread( LPVOID lpParam ) -{ - I16 err; - - while ( gbExitThread == FALSE ) - { - if ( WaitForSingleObject(ghIntEvent[0], INFINITE) == WAIT_OBJECT_0 ) - { - gIntCount++; - err = DIO_GetCOSLatchData(g_hCard, &g_wCOSLData); - ResetEvent(ghIntEvent[0]); - } - } - - return (DWORD) 0; -} - -// CAboutDlg dialog used for App About - -class CAboutDlg : public CDialog -{ -public: - CAboutDlg(); - -// Dialog Data - enum { IDD = IDD_ABOUTBOX }; - - protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - -// Implementation -protected: - DECLARE_MESSAGE_MAP() -}; - -CAboutDlg::CAboutDlg() : CDialog(CAboutDlg::IDD) -{ -} - -void CAboutDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); -} - -BEGIN_MESSAGE_MAP(CAboutDlg, CDialog) -END_MESSAGE_MAP() - - -// C7260intDlg dialog - - - - -C7260intDlg::C7260intDlg(I16 hCard, CWnd* pParent /*=NULL*/) - : CDialog(C7260intDlg::IDD, pParent) -{ - m_hIcon = AfxGetApp()->LoadIcon(IDR_MAINFRAME); - - g_hCard = hCard; - m_hThread = NULL; - m_nTimer = -1; - m_dwOutVal = 0x00000000; - g_wCOSLData = 0x0000; -} - -void C7260intDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); -} - -BEGIN_MESSAGE_MAP(C7260intDlg, CDialog) - ON_WM_SYSCOMMAND() - ON_WM_PAINT() - ON_WM_QUERYDRAGICON() - //}}AFX_MSG_MAP - ON_WM_DESTROY() - ON_WM_TIMER() - ON_BN_CLICKED(IDC_BT_OUTPUT, &C7260intDlg::OnOutput) -END_MESSAGE_MAP() - - -// C7260intDlg message handlers - -BOOL C7260intDlg::OnInitDialog() -{ - CDialog::OnInitDialog(); - - // Add "About..." menu item to system menu. - - // IDM_ABOUTBOX must be in the system command range. - ASSERT((IDM_ABOUTBOX & 0xFFF0) == IDM_ABOUTBOX); - ASSERT(IDM_ABOUTBOX < 0xF000); - - CMenu* pSysMenu = GetSystemMenu(FALSE); - if (pSysMenu != NULL) - { - BOOL bNameValid; - CString strAboutMenu; - bNameValid = strAboutMenu.LoadString(IDS_ABOUTBOX); - ASSERT(bNameValid); - if (!strAboutMenu.IsEmpty()) - { - pSysMenu->AppendMenu(MF_SEPARATOR); - pSysMenu->AppendMenu(MF_STRING, IDM_ABOUTBOX, strAboutMenu); - } - } - - // Set the icon for this dialog. The framework does this automatically - // when the application's main window is not a dialog - SetIcon(m_hIcon, TRUE); // Set big icon - SetIcon(m_hIcon, FALSE); // Set small icon - - // TODO: Add extra initialization here - I16 err; - - err = DIO_SetDualInterrupt(g_hCard, INT1_COS, INT2_DISABLE, ghIntEvent); - err = DIO_SetCOSInterrupt(g_hCard, 0, 0x0001, 0, 0); - DO_WritePort(g_hCard, 0, m_dwOutVal); - - gbExitThread = FALSE; - m_hThread = CreateThread( NULL, // default security attributes - 0, // use default stack size - IntThread, // thread function name - NULL, // argument to thread function - 0, // use default creation flags - NULL); // returns the thread identifier - - m_nTimer = SetTimer( 1, 250, NULL ); - - return TRUE; // return TRUE unless you set the focus to a control -} - -void C7260intDlg::OnSysCommand(UINT nID, LPARAM lParam) -{ - if ((nID & 0xFFF0) == IDM_ABOUTBOX) - { - CAboutDlg dlgAbout; - dlgAbout.DoModal(); - } - else - { - CDialog::OnSysCommand(nID, lParam); - } -} - -// If you add a minimize button to your dialog, you will need the code below -// to draw the icon. For MFC applications using the document/view model, -// this is automatically done for you by the framework. - -void C7260intDlg::OnPaint() -{ - if (IsIconic()) - { - CPaintDC dc(this); // device context for painting - - SendMessage(WM_ICONERASEBKGND, reinterpret_cast(dc.GetSafeHdc()), 0); - - // Center icon in client rectangle - int cxIcon = GetSystemMetrics(SM_CXICON); - int cyIcon = GetSystemMetrics(SM_CYICON); - CRect rect; - GetClientRect(&rect); - int x = (rect.Width() - cxIcon + 1) / 2; - int y = (rect.Height() - cyIcon + 1) / 2; - - // Draw the icon - dc.DrawIcon(x, y, m_hIcon); - } - else - { - CDialog::OnPaint(); - } -} - -// The system calls this function to obtain the cursor to display while the user drags -// the minimized window. -HCURSOR C7260intDlg::OnQueryDragIcon() -{ - return static_cast(m_hIcon); -} - - -void C7260intDlg::OnDestroy() -{ - CDialog::OnDestroy(); - - // TODO: Add your message handler code here - DIO_SetDualInterrupt(g_hCard, INT1_DISABLE, INT2_DISABLE, ghIntEvent); - DIO_SetCOSInterrupt(g_hCard, 0, 0, 0, 0); - DO_WritePort(g_hCard,0 , 0x0); - - if( m_nTimer != -1 ) - { - KillTimer( m_nTimer ); - m_nTimer = -1; - } - - - if( m_hThread != NULL ) - { - gbExitThread = TRUE; // termnate the IntThread - SetEvent( ghIntEvent[0] ); - - if (WaitForSingleObject(m_hThread, 5000) == WAIT_OBJECT_0) - { - CloseHandle( m_hThread ); - m_hThread = NULL; - } - } -} - -void C7260intDlg::OnTimer(UINT_PTR nIDEvent) -{ - // TODO: Add your message handler code here and/or call default - CString strTemp; - - strTemp.Format( TEXT("INT Count = %d"), gIntCount ); - SetDlgItemText( IDC_STATIC_05, strTemp ); - - strTemp.Format( TEXT("COS Latch Data = 0x%04X"), g_wCOSLData ); - SetDlgItemText( IDC_STATIC_06, strTemp ); - - CDialog::OnTimer(nIDEvent); -} - -void C7260intDlg::OnOutput() -{ - // TODO: Add your control notification handler code here - m_dwOutVal = (m_dwOutVal+1) % 2; - DO_WritePort(g_hCard, 0, m_dwOutVal); -} diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7260/SDK7260int/7260intDlg.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7260/SDK7260int/7260intDlg.h deleted file mode 100644 index 24266a4..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7260/SDK7260int/7260intDlg.h +++ /dev/null @@ -1,40 +0,0 @@ - -// 7260intDlg.h : header file -// -#include "Dask64.h" - -#pragma once - - -// C7260intDlg dialog -class C7260intDlg : public CDialog -{ -// Construction -public: - C7260intDlg(I16 hCard, CWnd* pParent = NULL); // standard constructor - -// Dialog Data - enum { IDD = IDD_MY7260INT_DIALOG }; - - protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - - -// Implementation -protected: - HICON m_hIcon; - UINT_PTR m_nTimer; - HANDLE m_hThread; - U32 m_dwOutVal; - - // Generated message map functions - virtual BOOL OnInitDialog(); - afx_msg void OnSysCommand(UINT nID, LPARAM lParam); - afx_msg void OnPaint(); - afx_msg HCURSOR OnQueryDragIcon(); - DECLARE_MESSAGE_MAP() -public: - afx_msg void OnDestroy(); - afx_msg void OnTimer(UINT_PTR nIDEvent); - afx_msg void OnOutput(); -}; diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7260/SDK7260int/CardIDDlg.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7260/SDK7260int/CardIDDlg.cpp deleted file mode 100644 index 42f1d27..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7260/SDK7260int/CardIDDlg.cpp +++ /dev/null @@ -1,67 +0,0 @@ -// CardIDDlg.cpp : implementation file -// - -#include "stdafx.h" -#include "7260int.h" -#include "CardIDDlg.h" - - -// CCardIDDlg dialog - -IMPLEMENT_DYNAMIC(CCardIDDlg, CDialog) - -CCardIDDlg::CCardIDDlg(int nCardIdx, CWnd* pParent /*=NULL*/) - : CDialog(CCardIDDlg::IDD, pParent) -{ - m_nCardIdx = nCardIdx; -} - -CCardIDDlg::~CCardIDDlg() -{ -} - -void CCardIDDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); - DDX_Control(pDX, IDC_COMBO_CARDID, m_cbCardID); -} - - -BEGIN_MESSAGE_MAP(CCardIDDlg, CDialog) -// ON_CBN_SELCHANGE(IDC_COMBO_CARDID, &CCardIDDlg::OnCbnSelchangeComboCardid) -ON_BN_CLICKED(IDOK, &CCardIDDlg::OnBnClickedOk) -//ON_WM_CTLCOLOR() -END_MESSAGE_MAP() - - -// CCardIDDlg message handlers - - -void CCardIDDlg::OnBnClickedOk() -{ - // TODO: Add your control notification handler code here - -// UpdateData(TRUE); - m_nCardIdx = m_cbCardID.GetCurSel(); - - OnOK(); -} - -BOOL CCardIDDlg::OnInitDialog() -{ - CDialog::OnInitDialog(); - - // TODO: Add extra initialization here - m_cbCardID.SetCurSel( m_nCardIdx ); - - return TRUE; // return TRUE unless you set the focus to a control - // EXCEPTION: OCX Property Pages should return FALSE -} - -// the function to get the selected CardID -int CCardIDDlg::GetCardID(void) -{ - return m_nCardIdx; -} - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7260/SDK7260int/CardIDDlg.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7260/SDK7260int/CardIDDlg.h deleted file mode 100644 index 54628ea..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7260/SDK7260int/CardIDDlg.h +++ /dev/null @@ -1,33 +0,0 @@ -#pragma once -#include "afxwin.h" - - -// CCardIDDlg dialog - -class CCardIDDlg : public CDialog -{ - DECLARE_DYNAMIC(CCardIDDlg) - -public: - CCardIDDlg(int nCardIdx, CWnd* pParent = NULL); // standard constructor - virtual ~CCardIDDlg(); - -// Dialog Data - enum { IDD = IDD_CARDID_DIALOG }; - -protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - - DECLARE_MESSAGE_MAP() -public: -// afx_msg void OnCbnSelchangeComboCardid(); - afx_msg void OnBnClickedOk(); - // the setting of CardID ComboBox - int m_nCardIdx; - virtual BOOL OnInitDialog(); - // the control of CardID ComboBox - CComboBox m_cbCardID; - // the function to get the selected CardID - int GetCardID(void); -// afx_msg HBRUSH OnCtlColor(CDC* pDC, CWnd* pWnd, UINT nCtlColor); -}; diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7260/SDK7260int/ReadMe.txt b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7260/SDK7260int/ReadMe.txt deleted file mode 100644 index 2d07819..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7260/SDK7260int/ReadMe.txt +++ /dev/null @@ -1,93 +0,0 @@ -================================================================================ - MICROSOFT FOUNDATION CLASS LIBRARY : 7256int Project Overview -=============================================================================== - -The application wizard has created this 7256int application for -you. This application not only demonstrates the basics of using the Microsoft -Foundation Classes but is also a starting point for writing your application. - -This file contains a summary of what you will find in each of the files that -make up your 7256int application. - -7256int.vcproj - This is the main project file for VC++ projects generated using an application wizard. - It contains information about the version of Visual C++ that generated the file, and - information about the platforms, configurations, and project features selected with the - application wizard. - -7256int.h - This is the main header file for the application. It includes other - project specific headers (including Resource.h) and declares the - C7256intApp application class. - -7256int.cpp - This is the main application source file that contains the application - class C7256intApp. - -7256int.rc - This is a listing of all of the Microsoft Windows resources that the - program uses. It includes the icons, bitmaps, and cursors that are stored - in the RES subdirectory. This file can be directly edited in Microsoft - Visual C++. Your project resources are in 1033. - -res\7256int.ico - This is an icon file, which is used as the application's icon. This - icon is included by the main resource file 7256int.rc. - -res\My7256int.rc2 - This file contains resources that are not edited by Microsoft - Visual C++. You should place all resources not editable by - the resource editor in this file. - - -///////////////////////////////////////////////////////////////////////////// - -The application wizard creates one dialog class: - -7256intDlg.h, 7256intDlg.cpp - the dialog - These files contain your C7256intDlg class. This class defines - the behavior of your application's main dialog. The dialog's template is - in 7256int.rc, which can be edited in Microsoft Visual C++. - - -///////////////////////////////////////////////////////////////////////////// - -Other Features: - -ActiveX Controls - The application includes support to use ActiveX controls. - -///////////////////////////////////////////////////////////////////////////// - -Other standard files: - -StdAfx.h, StdAfx.cpp - These files are used to build a precompiled header (PCH) file - named 7256int.pch and a precompiled types file named StdAfx.obj. - -Resource.h - This is the standard header file, which defines new resource IDs. - Microsoft Visual C++ reads and updates this file. - -7256int.manifest - Application manifest files are used by Windows XP to describe an applications - dependency on specific versions of Side-by-Side assemblies. The loader uses this - information to load the appropriate assembly from the assembly cache or private - from the application. The Application manifest maybe included for redistribution - as an external .manifest file that is installed in the same folder as the application - executable or it may be included in the executable in the form of a resource. -///////////////////////////////////////////////////////////////////////////// - -Other notes: - -The application wizard uses "TODO:" to indicate parts of the source code you -should add to or customize. - -If your application uses MFC in a shared DLL, you will need -to redistribute the MFC DLLs. If your application is in a language -other than the operating system's locale, you will also have to -redistribute the corresponding localized resources MFC90XXX.DLL. -For more information on both of these topics, please see the section on -redistributing Visual C++ applications in MSDN documentation. - -///////////////////////////////////////////////////////////////////////////// diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7260/SDK7260int/res/7260int.ico b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7260/SDK7260int/res/7260int.ico deleted file mode 100644 index d56fbcd..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7260/SDK7260int/res/7260int.ico and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7260/SDK7260int/res/My7260int.rc2 b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7260/SDK7260int/res/My7260int.rc2 deleted file mode 100644 index 7bd3593..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7260/SDK7260int/res/My7260int.rc2 +++ /dev/null @@ -1,13 +0,0 @@ -// -// My7256int.RC2 - resources Microsoft Visual C++ does not edit directly -// - -#ifdef APSTUDIO_INVOKED -#error this file is not editable by Microsoft Visual C++ -#endif //APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// Add manually edited resources here... - -///////////////////////////////////////////////////////////////////////////// diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7260/SDK7260int/resource.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7260/SDK7260int/resource.h deleted file mode 100644 index f23b41f..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7260/SDK7260int/resource.h +++ /dev/null @@ -1,27 +0,0 @@ -//{{NO_DEPENDENCIES}} -// Microsoft Visual C++ generated include file. -// Used by 7260int.rc -// -#define IDM_ABOUTBOX 0x0010 -#define IDD_ABOUTBOX 100 -#define IDS_ABOUTBOX 101 -#define IDD_MY7260INT_DIALOG 102 -#define IDR_MAINFRAME 128 -#define IDD_CARDID_DIALOG 129 -#define IDC_COMBO_CARDID 1000 -#define IDC_BUTTON1 1000 -#define IDC_BT_OUTPUT 1000 -#define IDC_STATIC_05 1007 -#define IDC_STATIC_06 1008 -#define IDC_STATIC_01 1014 - -// Next default values for new objects -// -#ifdef APSTUDIO_INVOKED -#ifndef APSTUDIO_READONLY_SYMBOLS -#define _APS_NEXT_RESOURCE_VALUE 131 -#define _APS_NEXT_COMMAND_VALUE 32771 -#define _APS_NEXT_CONTROL_VALUE 1001 -#define _APS_NEXT_SYMED_VALUE 101 -#endif -#endif diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7260/SDK7260int/stdafx.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7260/SDK7260int/stdafx.cpp deleted file mode 100644 index 5bfac2e..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7260/SDK7260int/stdafx.cpp +++ /dev/null @@ -1,8 +0,0 @@ - -// stdafx.cpp : source file that includes just the standard includes -// 7260int.pch will be the pre-compiled header -// stdafx.obj will contain the pre-compiled type information - -#include "stdafx.h" - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7260/SDK7260int/stdafx.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7260/SDK7260int/stdafx.h deleted file mode 100644 index 12123e2..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7260/SDK7260int/stdafx.h +++ /dev/null @@ -1,60 +0,0 @@ - -// stdafx.h : include file for standard system include files, -// or project specific include files that are used frequently, -// but are changed infrequently - -#pragma once - -#ifndef _SECURE_ATL -#define _SECURE_ATL 1 -#endif - -#ifndef VC_EXTRALEAN -#define VC_EXTRALEAN // Exclude rarely-used stuff from Windows headers -#endif - -#include "targetver.h" - -#define _ATL_CSTRING_EXPLICIT_CONSTRUCTORS // some CString constructors will be explicit - -// turns off MFC's hiding of some common and often safely ignored warning messages -#define _AFX_ALL_WARNINGS - -#include // MFC core and standard components -#include // MFC extensions - - -#include // MFC Automation classes - - - -#ifndef _AFX_NO_OLE_SUPPORT -#include // MFC support for Internet Explorer 4 Common Controls -#endif -#ifndef _AFX_NO_AFXCMN_SUPPORT -#include // MFC support for Windows Common Controls -#endif // _AFX_NO_AFXCMN_SUPPORT - -#include // MFC support for ribbons and control bars - - - - - - - - - -#ifdef _UNICODE -#if defined _M_IX86 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='x86' publicKeyToken='6595b64144ccf1df' language='*'\"") -#elif defined _M_IA64 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='ia64' publicKeyToken='6595b64144ccf1df' language='*'\"") -#elif defined _M_X64 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='amd64' publicKeyToken='6595b64144ccf1df' language='*'\"") -#else -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='*' publicKeyToken='6595b64144ccf1df' language='*'\"") -#endif -#endif - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7260/SDK7260int/targetver.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7260/SDK7260int/targetver.h deleted file mode 100644 index 11730d5..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7260/SDK7260int/targetver.h +++ /dev/null @@ -1,26 +0,0 @@ - -#pragma once - -// The following macros define the minimum required platform. The minimum required platform -// is the earliest version of Windows, Internet Explorer etc. that has the necessary features to run -// your application. The macros work by enabling all features available on platform versions up to and -// including the version specified. - -// Modify the following defines if you have to target a platform prior to the ones specified below. -// Refer to MSDN for the latest info on corresponding values for different platforms. -#ifndef WINVER // Specifies that the minimum required platform is Windows Vista. -#define WINVER 0x0600 // Change this to the appropriate value to target other versions of Windows. -#endif - -#ifndef _WIN32_WINNT // Specifies that the minimum required platform is Windows Vista. -#define _WIN32_WINNT 0x0600 // Change this to the appropriate value to target other versions of Windows. -#endif - -#ifndef _WIN32_WINDOWS // Specifies that the minimum required platform is Windows 98. -#define _WIN32_WINDOWS 0x0410 // Change this to the appropriate value to target Windows Me or later. -#endif - -#ifndef _WIN32_IE // Specifies that the minimum required platform is Internet Explorer 7.0. -#define _WIN32_IE 0x0700 // Change this to the appropriate value to target other versions of IE. -#endif - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7260/SDK7260intMsg/7256int.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7260/SDK7260intMsg/7256int.suo deleted file mode 100644 index 01299a3..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7260/SDK7260intMsg/7256int.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7260/SDK7260intMsg/7260int.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7260/SDK7260intMsg/7260int.cpp deleted file mode 100644 index 19fe5d4..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7260/SDK7260intMsg/7260int.cpp +++ /dev/null @@ -1,110 +0,0 @@ - -// 7260int.cpp : Defines the class behaviors for the application. -// - -#include "stdafx.h" -#include "7260int.h" -#include "7260intDlg.h" -#include "CardIDDlg.h" - -#ifdef _DEBUG -#define new DEBUG_NEW -#endif - - -// C7260intApp - -BEGIN_MESSAGE_MAP(C7260intApp, CWinAppEx) - ON_COMMAND(ID_HELP, &CWinApp::OnHelp) -END_MESSAGE_MAP() - - -// C7260intApp construction - -C7260intApp::C7260intApp() -{ - // TODO: add construction code here, - // Place all significant initialization in InitInstance -} - - -// The one and only C7260intApp object - -C7260intApp theApp; - - -// C7260intApp initialization - -BOOL C7260intApp::InitInstance() -{ - int nCardID = 0; - I16 hCard; - CString strTemp; - INT_PTR nResponse; - - // InitCommonControlsEx() is required on Windows XP if an application - // manifest specifies use of ComCtl32.dll version 6 or later to enable - // visual styles. Otherwise, any window creation will fail. - INITCOMMONCONTROLSEX InitCtrls; - InitCtrls.dwSize = sizeof(InitCtrls); - // Set this to include all the common control classes you want to use - // in your application. - InitCtrls.dwICC = ICC_WIN95_CLASSES; - InitCommonControlsEx(&InitCtrls); - - CWinAppEx::InitInstance(); - - AfxEnableControlContainer(); - - // Standard initialization - // If you are not using these features and wish to reduce the size - // of your final executable, you should remove from the following - // the specific initialization routines you do not need - // Change the registry key under which our settings are stored - // TODO: You should modify this string to be something appropriate - // such as the name of your company or organization - SetRegistryKey(_T("Local AppWizard-Generated Applications")); - - CCardIDDlg CardDlg( nCardID ); - - nResponse = CardDlg.DoModal(); - if (nResponse == IDOK) - { - nCardID = CardDlg.GetCardID(); - - if ((hCard=Register_Card(PCI_7260, nCardID)) < 0) - { - strTemp.Format( TEXT("Register_Card Error = %d"), hCard); - AfxMessageBox( strTemp ); - } - else - { - C7260intDlg dlg(hCard); - m_pMainWnd = &dlg; - nResponse = dlg.DoModal(); - if (nResponse == IDOK) - { - // TODO: Place code here to handle when the dialog is - // dismissed with OK - } - else if (nResponse == IDCANCEL) - { - // TODO: Place code here to handle when the dialog is - // dismissed with Cancel - } - - if (hCard >= 0) Release_Card(hCard); - } - - } - else if (nResponse == IDCANCEL) - { - // TODO: Place code here to handle when the dialog is - // dismissed with Cancel - } - - - // Since the dialog has been closed, return FALSE so that we exit the - // application, rather than start the application's message pump. - return FALSE; -} diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7260/SDK7260intMsg/7260int.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7260/SDK7260intMsg/7260int.h deleted file mode 100644 index 32cbf15..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7260/SDK7260intMsg/7260int.h +++ /dev/null @@ -1,32 +0,0 @@ - -// 7260int.h : main header file for the PROJECT_NAME application -// - -#pragma once - -#ifndef __AFXWIN_H__ - #error "include 'stdafx.h' before including this file for PCH" -#endif - -#include "resource.h" // main symbols - - -// C7260intApp: -// See 7260int.cpp for the implementation of this class -// - -class C7260intApp : public CWinAppEx -{ -public: - C7260intApp(); - -// Overrides - public: - virtual BOOL InitInstance(); - -// Implementation - - DECLARE_MESSAGE_MAP() -}; - -extern C7260intApp theApp; \ No newline at end of file diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7260/SDK7260intMsg/7260int.rc b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7260/SDK7260intMsg/7260int.rc deleted file mode 100644 index 5e82a7b..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7260/SDK7260intMsg/7260int.rc +++ /dev/null @@ -1,278 +0,0 @@ -// Microsoft Visual C++ generated resource script. -// -#include "resource.h" - -#define APSTUDIO_READONLY_SYMBOLS -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 2 resource. -// -#ifndef APSTUDIO_INVOKED -#include "targetver.h" -#endif -#include "afxres.h" - -///////////////////////////////////////////////////////////////////////////// -#undef APSTUDIO_READONLY_SYMBOLS - -///////////////////////////////////////////////////////////////////////////// -// Chinese (Taiwan) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_CHT) -#ifdef _WIN32 -LANGUAGE LANG_CHINESE, SUBLANG_CHINESE_TRADITIONAL -#pragma code_page(950) -#endif //_WIN32 - -#ifdef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// TEXTINCLUDE -// - -1 TEXTINCLUDE -BEGIN - "resource.h\0" -END - -2 TEXTINCLUDE -BEGIN - "#ifndef APSTUDIO_INVOKED\r\n" - "#include ""targetver.h""\r\n" - "#endif\r\n" - "#include ""afxres.h""\r\n" - "\0" -END - -3 TEXTINCLUDE -BEGIN - "#define _AFX_NO_SPLITTER_RESOURCES\r\n" - "#define _AFX_NO_OLE_RESOURCES\r\n" - "#define _AFX_NO_TRACKER_RESOURCES\r\n" - "#define _AFX_NO_PROPERTY_RESOURCES\r\n" - "\r\n" - "#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)\r\n" - "LANGUAGE 9, 1\r\n" - "#pragma code_page(1252)\r\n" - "#include ""res\\My7260int.rc2"" // non-Microsoft Visual C++ edited resources\r\n" - "#include ""afxres.rc"" // Standard components\r\n" - "#endif\r\n" - "\0" -END - -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// Icon -// - -// Icon with lowest ID value placed first to ensure application icon -// remains consistent on all systems. -IDR_MAINFRAME ICON "res\\7260int.ico" -#endif // Chinese (Taiwan) resources -///////////////////////////////////////////////////////////////////////////// - - -///////////////////////////////////////////////////////////////////////////// -// English (U.S.) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -#ifdef _WIN32 -LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US -#pragma code_page(1252) -#endif //_WIN32 - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog -// - -IDD_ABOUTBOX DIALOGEX 0, 0, 170, 62 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "About 7260int" -FONT 8, "MS Shell Dlg", 0, 0, 0x1 -BEGIN - ICON IDR_MAINFRAME,IDC_STATIC,14,14,21,20 - LTEXT "7260int, Version 1.0",IDC_STATIC,42,14,114,8,SS_NOPREFIX - LTEXT "Copyright (C) 2010",IDC_STATIC,42,26,114,8 - DEFPUSHBUTTON "OK",IDOK,113,41,50,14,WS_GROUP -END - -IDD_MY7260INT_DIALOG DIALOGEX 0, 0, 195, 161 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU -EXSTYLE WS_EX_APPWINDOW -CAPTION "PCI-7260 Interrupt Sample (COS INT)" -FONT 8, "MS Shell Dlg", 0, 0, 0x1 -BEGIN - LTEXT "This program shows the number of occurrence of INT1 interrupt. INT1 interrupt is generated by external signal from DI bit-0. If you connect DO bit-0 to DI bit-0, press 'Output' button can generate an interrupt.",IDC_STATIC,25,24,151,42 - LTEXT "INT Count =",IDC_STATIC_05,54,83,85,13 - LTEXT "COS Latch Data =",IDC_STATIC_06,53,99,122,13 - PUSHBUTTON "Output",IDC_BT_OUTPUT,46,120,84,18 -END - -IDD_CARDID_DIALOG DIALOGEX 0, 0, 163, 88 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "Card ID" -FONT 8, "MS Shell Dlg", 400, 0, 0x1 -BEGIN - COMBOBOX IDC_COMBO_CARDID,73,17,71,126,CBS_DROPDOWN | WS_VSCROLL | WS_TABSTOP - LTEXT "Card Number",IDC_STATIC_01,19,18,46,12 - PUSHBUTTON "OK",IDOK,20,50,58,19 - PUSHBUTTON "CANCEL",IDCANCEL,84,50,58,19 -END - - -///////////////////////////////////////////////////////////////////////////// -// -// Version -// - -VS_VERSION_INFO VERSIONINFO - FILEVERSION 1,0,0,1 - PRODUCTVERSION 1,0,0,1 - FILEFLAGSMASK 0x3fL -#ifdef _DEBUG - FILEFLAGS 0x1L -#else - FILEFLAGS 0x0L -#endif - FILEOS 0x4L - FILETYPE 0x1L - FILESUBTYPE 0x0L -BEGIN - BLOCK "StringFileInfo" - BEGIN - BLOCK "040904e4" - BEGIN - VALUE "CompanyName", "TODO: " - VALUE "FileDescription", "TODO: " - VALUE "FileVersion", "1.0.0.1" - VALUE "InternalName", "7260int.exe" - VALUE "LegalCopyright", "TODO: (c) . All rights reserved." - VALUE "OriginalFilename", "7260int.exe" - VALUE "ProductName", "TODO: " - VALUE "ProductVersion", "1.0.0.1" - END - END - BLOCK "VarFileInfo" - BEGIN - VALUE "Translation", 0x409, 1252 - END -END - - -///////////////////////////////////////////////////////////////////////////// -// -// DESIGNINFO -// - -#ifdef APSTUDIO_INVOKED -GUIDELINES DESIGNINFO -BEGIN - IDD_ABOUTBOX, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 163 - TOPMARGIN, 7 - BOTTOMMARGIN, 55 - END - - IDD_MY7260INT_DIALOG, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 188 - TOPMARGIN, 7 - BOTTOMMARGIN, 154 - END - - IDD_CARDID_DIALOG, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 156 - TOPMARGIN, 7 - BOTTOMMARGIN, 81 - END -END -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog Info -// - -IDD_CARDID_DIALOG DLGINIT -BEGIN - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0030, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0031, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0032, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0033, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0034, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0035, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0036, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0037, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0038, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0039, - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3031, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3131, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3231, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3331, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3431, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3531, "\000" - 0 -END - - -///////////////////////////////////////////////////////////////////////////// -// -// String Table -// - -STRINGTABLE -BEGIN - IDS_ABOUTBOX "&About 7260int..." -END - -#endif // English (U.S.) resources -///////////////////////////////////////////////////////////////////////////// - - - -#ifndef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 3 resource. -// -#define _AFX_NO_SPLITTER_RESOURCES -#define _AFX_NO_OLE_RESOURCES -#define _AFX_NO_TRACKER_RESOURCES -#define _AFX_NO_PROPERTY_RESOURCES - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -LANGUAGE 9, 1 -#pragma code_page(1252) -#include "res\My7260int.rc2" // non-Microsoft Visual C++ edited resources -#include "afxres.rc" // Standard components -#endif - -///////////////////////////////////////////////////////////////////////////// -#endif // not APSTUDIO_INVOKED - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7260/SDK7260intMsg/7260int.sln b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7260/SDK7260intMsg/7260int.sln deleted file mode 100644 index c13e45b..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7260/SDK7260intMsg/7260int.sln +++ /dev/null @@ -1,26 +0,0 @@ - -Microsoft Visual Studio Solution File, Format Version 10.00 -# Visual Studio 2008 -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "7260int", "7260int.vcproj", "{7D5D9EC5-ED97-47EE-B6F4-ACCD71069808}" -EndProject -Global - GlobalSection(SolutionConfigurationPlatforms) = preSolution - Debug|Win32 = Debug|Win32 - Debug|x64 = Debug|x64 - Release|Win32 = Release|Win32 - Release|x64 = Release|x64 - EndGlobalSection - GlobalSection(ProjectConfigurationPlatforms) = postSolution - {7D5D9EC5-ED97-47EE-B6F4-ACCD71069808}.Debug|Win32.ActiveCfg = Debug|Win32 - {7D5D9EC5-ED97-47EE-B6F4-ACCD71069808}.Debug|Win32.Build.0 = Debug|Win32 - {7D5D9EC5-ED97-47EE-B6F4-ACCD71069808}.Debug|x64.ActiveCfg = Debug|x64 - {7D5D9EC5-ED97-47EE-B6F4-ACCD71069808}.Debug|x64.Build.0 = Debug|x64 - {7D5D9EC5-ED97-47EE-B6F4-ACCD71069808}.Release|Win32.ActiveCfg = Release|Win32 - {7D5D9EC5-ED97-47EE-B6F4-ACCD71069808}.Release|Win32.Build.0 = Release|Win32 - {7D5D9EC5-ED97-47EE-B6F4-ACCD71069808}.Release|x64.ActiveCfg = Release|x64 - {7D5D9EC5-ED97-47EE-B6F4-ACCD71069808}.Release|x64.Build.0 = Release|x64 - EndGlobalSection - GlobalSection(SolutionProperties) = preSolution - HideSolutionNode = FALSE - EndGlobalSection -EndGlobal diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7260/SDK7260intMsg/7260int.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7260/SDK7260intMsg/7260int.suo deleted file mode 100644 index 63aa99a..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7260/SDK7260intMsg/7260int.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7260/SDK7260intMsg/7260int.vcproj b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7260/SDK7260intMsg/7260int.vcproj deleted file mode 100644 index 2ee0c58..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7260/SDK7260intMsg/7260int.vcproj +++ /dev/null @@ -1,471 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7260/SDK7260intMsg/7260intDlg.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7260/SDK7260intMsg/7260intDlg.cpp deleted file mode 100644 index a11b32a..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7260/SDK7260intMsg/7260intDlg.cpp +++ /dev/null @@ -1,205 +0,0 @@ - -// 7260intDlg.cpp : implementation file -// - -#include "stdafx.h" -#include "7260int.h" -#include "7260intDlg.h" - -#ifdef _DEBUG -#define new DEBUG_NEW -#endif - - -#define COS_INTERRUPT_MESSAGE _T("COS_INT") -UINT WM_INT = ::RegisterWindowMessage(COS_INTERRUPT_MESSAGE); - -// CAboutDlg dialog used for App About - -class CAboutDlg : public CDialog -{ -public: - CAboutDlg(); - -// Dialog Data - enum { IDD = IDD_ABOUTBOX }; - - protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - -// Implementation -protected: - DECLARE_MESSAGE_MAP() -}; - -CAboutDlg::CAboutDlg() : CDialog(CAboutDlg::IDD) -{ -} - -void CAboutDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); -} - -BEGIN_MESSAGE_MAP(CAboutDlg, CDialog) -END_MESSAGE_MAP() - - -// C7260intDlg dialog - - - - -C7260intDlg::C7260intDlg(I16 hCard, CWnd* pParent /*=NULL*/) - : CDialog(C7260intDlg::IDD, pParent) -{ - m_hIcon = AfxGetApp()->LoadIcon(IDR_MAINFRAME); - - m_hCard = hCard; - m_dwOutVal = 0x00000000; - m_wCOSLData = 0x0000; -} - -void C7260intDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); -} - -BEGIN_MESSAGE_MAP(C7260intDlg, CDialog) - ON_WM_SYSCOMMAND() - ON_WM_PAINT() - ON_WM_QUERYDRAGICON() - ON_REGISTERED_MESSAGE(WM_INT, OnCOSInterrupt) - //}}AFX_MSG_MAP - ON_WM_DESTROY() - ON_BN_CLICKED(IDC_BT_OUTPUT, &C7260intDlg::OnOutput) -END_MESSAGE_MAP() - - -// C7260intDlg message handlers - -BOOL C7260intDlg::OnInitDialog() -{ - CDialog::OnInitDialog(); - - // Add "About..." menu item to system menu. - - // IDM_ABOUTBOX must be in the system command range. - ASSERT((IDM_ABOUTBOX & 0xFFF0) == IDM_ABOUTBOX); - ASSERT(IDM_ABOUTBOX < 0xF000); - - CMenu* pSysMenu = GetSystemMenu(FALSE); - if (pSysMenu != NULL) - { - BOOL bNameValid; - CString strAboutMenu; - bNameValid = strAboutMenu.LoadString(IDS_ABOUTBOX); - ASSERT(bNameValid); - if (!strAboutMenu.IsEmpty()) - { - pSysMenu->AppendMenu(MF_SEPARATOR); - pSysMenu->AppendMenu(MF_STRING, IDM_ABOUTBOX, strAboutMenu); - } - } - - // Set the icon for this dialog. The framework does this automatically - // when the application's main window is not a dialog - SetIcon(m_hIcon, TRUE); // Set big icon - SetIcon(m_hIcon, FALSE); // Set small icon - - // TODO: Add extra initialization here - - DIO_INT1_EventMessage (m_hCard, INT1_COS, this->m_hWnd, WM_INT, NULL); - DIO_SetCOSInterrupt(m_hCard, 0, 0x0001, 0, 0); - DO_WritePort(m_hCard, 0, m_dwOutVal); - - - - return TRUE; // return TRUE unless you set the focus to a control -} - -void C7260intDlg::OnSysCommand(UINT nID, LPARAM lParam) -{ - if ((nID & 0xFFF0) == IDM_ABOUTBOX) - { - CAboutDlg dlgAbout; - dlgAbout.DoModal(); - } - else - { - CDialog::OnSysCommand(nID, lParam); - } -} - -// If you add a minimize button to your dialog, you will need the code below -// to draw the icon. For MFC applications using the document/view model, -// this is automatically done for you by the framework. - -void C7260intDlg::OnPaint() -{ - if (IsIconic()) - { - CPaintDC dc(this); // device context for painting - - SendMessage(WM_ICONERASEBKGND, reinterpret_cast(dc.GetSafeHdc()), 0); - - // Center icon in client rectangle - int cxIcon = GetSystemMetrics(SM_CXICON); - int cyIcon = GetSystemMetrics(SM_CYICON); - CRect rect; - GetClientRect(&rect); - int x = (rect.Width() - cxIcon + 1) / 2; - int y = (rect.Height() - cyIcon + 1) / 2; - - // Draw the icon - dc.DrawIcon(x, y, m_hIcon); - } - else - { - CDialog::OnPaint(); - } -} - -// The system calls this function to obtain the cursor to display while the user drags -// the minimized window. -HCURSOR C7260intDlg::OnQueryDragIcon() -{ - return static_cast(m_hIcon); -} - - -void C7260intDlg::OnDestroy() -{ - CDialog::OnDestroy(); - - // TODO: Add your message handler code here - DIO_SetCOSInterrupt(m_hCard, 0, 0, 0, 0); - DIO_INT1_EventMessage (m_hCard, INT1_DISABLE, this->m_hWnd, NULL, NULL); - DO_WritePort(m_hCard, 0, 0x0); -} - - -void C7260intDlg::OnOutput() -{ - // TODO: Add your control notification handler code here - m_dwOutVal = (m_dwOutVal+1) % 2; - DO_WritePort(m_hCard, 0, m_dwOutVal); -} - -LRESULT C7260intDlg::OnCOSInterrupt(WPARAM wParam, LPARAM lParam) -{ - // do something useful - CString strTemp; - - m_IntCount ++; - - DIO_GetCOSLatchData(m_hCard, &m_wCOSLData); - - strTemp.Format( TEXT("INT Count = %d"), m_IntCount ); - SetDlgItemText( IDC_STATIC_05, strTemp ); - - strTemp.Format( TEXT("COS Latch Data = 0x%04X"), m_wCOSLData ); - SetDlgItemText( IDC_STATIC_06, strTemp ); - - return (LRESULT) 0; -} diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7260/SDK7260intMsg/7260intDlg.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7260/SDK7260intMsg/7260intDlg.h deleted file mode 100644 index 8414a8d..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7260/SDK7260intMsg/7260intDlg.h +++ /dev/null @@ -1,42 +0,0 @@ - -// 7260intDlg.h : header file -// -#include "Dask64.h" - -#pragma once - - -// C7260intDlg dialog -class C7260intDlg : public CDialog -{ -// Construction -public: - C7260intDlg(I16 hCard, CWnd* pParent = NULL); // standard constructor - -// Dialog Data - enum { IDD = IDD_MY7260INT_DIALOG }; - - protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - - -// Implementation -protected: - HICON m_hIcon; - I16 m_hCard; - U32 m_dwOutVal; - int m_IntCount; - U16 m_wCOSLData; - HANDLE m_hIntEvent[2]; - - // Generated message map functions - virtual BOOL OnInitDialog(); - afx_msg void OnSysCommand(UINT nID, LPARAM lParam); - afx_msg void OnPaint(); - afx_msg HCURSOR OnQueryDragIcon(); - afx_msg LRESULT OnCOSInterrupt(WPARAM wParam, LPARAM lParam); - DECLARE_MESSAGE_MAP() -public: - afx_msg void OnDestroy(); - afx_msg void OnOutput(); -}; diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7260/SDK7260intMsg/CardIDDlg.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7260/SDK7260intMsg/CardIDDlg.cpp deleted file mode 100644 index 42f1d27..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7260/SDK7260intMsg/CardIDDlg.cpp +++ /dev/null @@ -1,67 +0,0 @@ -// CardIDDlg.cpp : implementation file -// - -#include "stdafx.h" -#include "7260int.h" -#include "CardIDDlg.h" - - -// CCardIDDlg dialog - -IMPLEMENT_DYNAMIC(CCardIDDlg, CDialog) - -CCardIDDlg::CCardIDDlg(int nCardIdx, CWnd* pParent /*=NULL*/) - : CDialog(CCardIDDlg::IDD, pParent) -{ - m_nCardIdx = nCardIdx; -} - -CCardIDDlg::~CCardIDDlg() -{ -} - -void CCardIDDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); - DDX_Control(pDX, IDC_COMBO_CARDID, m_cbCardID); -} - - -BEGIN_MESSAGE_MAP(CCardIDDlg, CDialog) -// ON_CBN_SELCHANGE(IDC_COMBO_CARDID, &CCardIDDlg::OnCbnSelchangeComboCardid) -ON_BN_CLICKED(IDOK, &CCardIDDlg::OnBnClickedOk) -//ON_WM_CTLCOLOR() -END_MESSAGE_MAP() - - -// CCardIDDlg message handlers - - -void CCardIDDlg::OnBnClickedOk() -{ - // TODO: Add your control notification handler code here - -// UpdateData(TRUE); - m_nCardIdx = m_cbCardID.GetCurSel(); - - OnOK(); -} - -BOOL CCardIDDlg::OnInitDialog() -{ - CDialog::OnInitDialog(); - - // TODO: Add extra initialization here - m_cbCardID.SetCurSel( m_nCardIdx ); - - return TRUE; // return TRUE unless you set the focus to a control - // EXCEPTION: OCX Property Pages should return FALSE -} - -// the function to get the selected CardID -int CCardIDDlg::GetCardID(void) -{ - return m_nCardIdx; -} - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7260/SDK7260intMsg/CardIDDlg.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7260/SDK7260intMsg/CardIDDlg.h deleted file mode 100644 index 54628ea..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7260/SDK7260intMsg/CardIDDlg.h +++ /dev/null @@ -1,33 +0,0 @@ -#pragma once -#include "afxwin.h" - - -// CCardIDDlg dialog - -class CCardIDDlg : public CDialog -{ - DECLARE_DYNAMIC(CCardIDDlg) - -public: - CCardIDDlg(int nCardIdx, CWnd* pParent = NULL); // standard constructor - virtual ~CCardIDDlg(); - -// Dialog Data - enum { IDD = IDD_CARDID_DIALOG }; - -protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - - DECLARE_MESSAGE_MAP() -public: -// afx_msg void OnCbnSelchangeComboCardid(); - afx_msg void OnBnClickedOk(); - // the setting of CardID ComboBox - int m_nCardIdx; - virtual BOOL OnInitDialog(); - // the control of CardID ComboBox - CComboBox m_cbCardID; - // the function to get the selected CardID - int GetCardID(void); -// afx_msg HBRUSH OnCtlColor(CDC* pDC, CWnd* pWnd, UINT nCtlColor); -}; diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7260/SDK7260intMsg/ReadMe.txt b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7260/SDK7260intMsg/ReadMe.txt deleted file mode 100644 index 2d07819..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7260/SDK7260intMsg/ReadMe.txt +++ /dev/null @@ -1,93 +0,0 @@ -================================================================================ - MICROSOFT FOUNDATION CLASS LIBRARY : 7256int Project Overview -=============================================================================== - -The application wizard has created this 7256int application for -you. This application not only demonstrates the basics of using the Microsoft -Foundation Classes but is also a starting point for writing your application. - -This file contains a summary of what you will find in each of the files that -make up your 7256int application. - -7256int.vcproj - This is the main project file for VC++ projects generated using an application wizard. - It contains information about the version of Visual C++ that generated the file, and - information about the platforms, configurations, and project features selected with the - application wizard. - -7256int.h - This is the main header file for the application. It includes other - project specific headers (including Resource.h) and declares the - C7256intApp application class. - -7256int.cpp - This is the main application source file that contains the application - class C7256intApp. - -7256int.rc - This is a listing of all of the Microsoft Windows resources that the - program uses. It includes the icons, bitmaps, and cursors that are stored - in the RES subdirectory. This file can be directly edited in Microsoft - Visual C++. Your project resources are in 1033. - -res\7256int.ico - This is an icon file, which is used as the application's icon. This - icon is included by the main resource file 7256int.rc. - -res\My7256int.rc2 - This file contains resources that are not edited by Microsoft - Visual C++. You should place all resources not editable by - the resource editor in this file. - - -///////////////////////////////////////////////////////////////////////////// - -The application wizard creates one dialog class: - -7256intDlg.h, 7256intDlg.cpp - the dialog - These files contain your C7256intDlg class. This class defines - the behavior of your application's main dialog. The dialog's template is - in 7256int.rc, which can be edited in Microsoft Visual C++. - - -///////////////////////////////////////////////////////////////////////////// - -Other Features: - -ActiveX Controls - The application includes support to use ActiveX controls. - -///////////////////////////////////////////////////////////////////////////// - -Other standard files: - -StdAfx.h, StdAfx.cpp - These files are used to build a precompiled header (PCH) file - named 7256int.pch and a precompiled types file named StdAfx.obj. - -Resource.h - This is the standard header file, which defines new resource IDs. - Microsoft Visual C++ reads and updates this file. - -7256int.manifest - Application manifest files are used by Windows XP to describe an applications - dependency on specific versions of Side-by-Side assemblies. The loader uses this - information to load the appropriate assembly from the assembly cache or private - from the application. The Application manifest maybe included for redistribution - as an external .manifest file that is installed in the same folder as the application - executable or it may be included in the executable in the form of a resource. -///////////////////////////////////////////////////////////////////////////// - -Other notes: - -The application wizard uses "TODO:" to indicate parts of the source code you -should add to or customize. - -If your application uses MFC in a shared DLL, you will need -to redistribute the MFC DLLs. If your application is in a language -other than the operating system's locale, you will also have to -redistribute the corresponding localized resources MFC90XXX.DLL. -For more information on both of these topics, please see the section on -redistributing Visual C++ applications in MSDN documentation. - -///////////////////////////////////////////////////////////////////////////// diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7260/SDK7260intMsg/res/7260int.ico b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7260/SDK7260intMsg/res/7260int.ico deleted file mode 100644 index d56fbcd..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7260/SDK7260intMsg/res/7260int.ico and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7260/SDK7260intMsg/res/My7260int.rc2 b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7260/SDK7260intMsg/res/My7260int.rc2 deleted file mode 100644 index 7bd3593..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7260/SDK7260intMsg/res/My7260int.rc2 +++ /dev/null @@ -1,13 +0,0 @@ -// -// My7256int.RC2 - resources Microsoft Visual C++ does not edit directly -// - -#ifdef APSTUDIO_INVOKED -#error this file is not editable by Microsoft Visual C++ -#endif //APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// Add manually edited resources here... - -///////////////////////////////////////////////////////////////////////////// diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7260/SDK7260intMsg/resource.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7260/SDK7260intMsg/resource.h deleted file mode 100644 index f23b41f..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7260/SDK7260intMsg/resource.h +++ /dev/null @@ -1,27 +0,0 @@ -//{{NO_DEPENDENCIES}} -// Microsoft Visual C++ generated include file. -// Used by 7260int.rc -// -#define IDM_ABOUTBOX 0x0010 -#define IDD_ABOUTBOX 100 -#define IDS_ABOUTBOX 101 -#define IDD_MY7260INT_DIALOG 102 -#define IDR_MAINFRAME 128 -#define IDD_CARDID_DIALOG 129 -#define IDC_COMBO_CARDID 1000 -#define IDC_BUTTON1 1000 -#define IDC_BT_OUTPUT 1000 -#define IDC_STATIC_05 1007 -#define IDC_STATIC_06 1008 -#define IDC_STATIC_01 1014 - -// Next default values for new objects -// -#ifdef APSTUDIO_INVOKED -#ifndef APSTUDIO_READONLY_SYMBOLS -#define _APS_NEXT_RESOURCE_VALUE 131 -#define _APS_NEXT_COMMAND_VALUE 32771 -#define _APS_NEXT_CONTROL_VALUE 1001 -#define _APS_NEXT_SYMED_VALUE 101 -#endif -#endif diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7260/SDK7260intMsg/stdafx.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7260/SDK7260intMsg/stdafx.cpp deleted file mode 100644 index 5bfac2e..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7260/SDK7260intMsg/stdafx.cpp +++ /dev/null @@ -1,8 +0,0 @@ - -// stdafx.cpp : source file that includes just the standard includes -// 7260int.pch will be the pre-compiled header -// stdafx.obj will contain the pre-compiled type information - -#include "stdafx.h" - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7260/SDK7260intMsg/stdafx.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7260/SDK7260intMsg/stdafx.h deleted file mode 100644 index 12123e2..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7260/SDK7260intMsg/stdafx.h +++ /dev/null @@ -1,60 +0,0 @@ - -// stdafx.h : include file for standard system include files, -// or project specific include files that are used frequently, -// but are changed infrequently - -#pragma once - -#ifndef _SECURE_ATL -#define _SECURE_ATL 1 -#endif - -#ifndef VC_EXTRALEAN -#define VC_EXTRALEAN // Exclude rarely-used stuff from Windows headers -#endif - -#include "targetver.h" - -#define _ATL_CSTRING_EXPLICIT_CONSTRUCTORS // some CString constructors will be explicit - -// turns off MFC's hiding of some common and often safely ignored warning messages -#define _AFX_ALL_WARNINGS - -#include // MFC core and standard components -#include // MFC extensions - - -#include // MFC Automation classes - - - -#ifndef _AFX_NO_OLE_SUPPORT -#include // MFC support for Internet Explorer 4 Common Controls -#endif -#ifndef _AFX_NO_AFXCMN_SUPPORT -#include // MFC support for Windows Common Controls -#endif // _AFX_NO_AFXCMN_SUPPORT - -#include // MFC support for ribbons and control bars - - - - - - - - - -#ifdef _UNICODE -#if defined _M_IX86 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='x86' publicKeyToken='6595b64144ccf1df' language='*'\"") -#elif defined _M_IA64 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='ia64' publicKeyToken='6595b64144ccf1df' language='*'\"") -#elif defined _M_X64 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='amd64' publicKeyToken='6595b64144ccf1df' language='*'\"") -#else -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='*' publicKeyToken='6595b64144ccf1df' language='*'\"") -#endif -#endif - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7260/SDK7260intMsg/targetver.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7260/SDK7260intMsg/targetver.h deleted file mode 100644 index 11730d5..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7260/SDK7260intMsg/targetver.h +++ /dev/null @@ -1,26 +0,0 @@ - -#pragma once - -// The following macros define the minimum required platform. The minimum required platform -// is the earliest version of Windows, Internet Explorer etc. that has the necessary features to run -// your application. The macros work by enabling all features available on platform versions up to and -// including the version specified. - -// Modify the following defines if you have to target a platform prior to the ones specified below. -// Refer to MSDN for the latest info on corresponding values for different platforms. -#ifndef WINVER // Specifies that the minimum required platform is Windows Vista. -#define WINVER 0x0600 // Change this to the appropriate value to target other versions of Windows. -#endif - -#ifndef _WIN32_WINNT // Specifies that the minimum required platform is Windows Vista. -#define _WIN32_WINNT 0x0600 // Change this to the appropriate value to target other versions of Windows. -#endif - -#ifndef _WIN32_WINDOWS // Specifies that the minimum required platform is Windows 98. -#define _WIN32_WINDOWS 0x0410 // Change this to the appropriate value to target Windows Me or later. -#endif - -#ifndef _WIN32_IE // Specifies that the minimum required platform is Internet Explorer 7.0. -#define _WIN32_IE 0x0700 // Change this to the appropriate value to target other versions of IE. -#endif - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7260/Sdk7260/CardIDDlg.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7260/Sdk7260/CardIDDlg.cpp deleted file mode 100644 index 0fff34c..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7260/Sdk7260/CardIDDlg.cpp +++ /dev/null @@ -1,88 +0,0 @@ -// CardIDDlg.cpp : implementation file -// - -#include "stdafx.h" -#include "Util7260.h" -#include "CardIDDlg.h" - - -// CCardIDDlg dialog - -IMPLEMENT_DYNAMIC(CCardIDDlg, CDialog) - -CCardIDDlg::CCardIDDlg(int nCardIdx, CWnd* pParent /*=NULL*/) - : CDialog(CCardIDDlg::IDD, pParent) -{ - m_nCardIdx = nCardIdx; - m_bChecked = 0; -} - -CCardIDDlg::~CCardIDDlg() -{ -} - -void CCardIDDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); - DDX_Control(pDX, IDC_COMBO_CARDID, m_cbCardID); - DDX_Control(pDX, IDC_EMGSHDN_CHECK, m_EMGCheck); -} - - -BEGIN_MESSAGE_MAP(CCardIDDlg, CDialog) -// ON_CBN_SELCHANGE(IDC_COMBO_CARDID, &CCardIDDlg::OnCbnSelchangeComboCardid) -ON_BN_CLICKED(IDOK, &CCardIDDlg::OnBnClickedOk) -//ON_WM_CTLCOLOR() -ON_BN_CLICKED(IDC_EMGSHDN_CHECK, &CCardIDDlg::OnEMGSHDNCheck) -END_MESSAGE_MAP() - - -// CCardIDDlg message handlers - - -void CCardIDDlg::OnBnClickedOk() -{ - // TODO: Add your control notification handler code here - -// UpdateData(TRUE); - m_nCardIdx = m_cbCardID.GetCurSel(); - - OnOK(); -} - -BOOL CCardIDDlg::OnInitDialog() -{ - CDialog::OnInitDialog(); - - // TODO: Add extra initialization here - m_cbCardID.SetCurSel( m_nCardIdx ); - m_EMGCheck.SetCheck( BST_CHECKED ); - - return TRUE; // return TRUE unless you set the focus to a control - // EXCEPTION: OCX Property Pages should return FALSE -} - -// the function to get the selected CardID -int CCardIDDlg::GetCardID(void) -{ - return m_nCardIdx; -} - - - -void CCardIDDlg::OnEMGSHDNCheck() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_EMGSHDN_CHECK ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_bChecked = 0x01; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_bChecked = 0x00; - } -} diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7260/Sdk7260/CardIDDlg.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7260/Sdk7260/CardIDDlg.h deleted file mode 100644 index d73906d..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7260/Sdk7260/CardIDDlg.h +++ /dev/null @@ -1,36 +0,0 @@ -#pragma once -#include "afxwin.h" - - -// CCardIDDlg dialog - -class CCardIDDlg : public CDialog -{ - DECLARE_DYNAMIC(CCardIDDlg) - -public: - CCardIDDlg(int nCardIdx, CWnd* pParent = NULL); // standard constructor - virtual ~CCardIDDlg(); - -// Dialog Data - enum { IDD = IDD_CARDID_DIALOG }; - -protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - - DECLARE_MESSAGE_MAP() -public: -// afx_msg void OnCbnSelchangeComboCardid(); - afx_msg void OnBnClickedOk(); - // the setting of CardID ComboBox - int m_nCardIdx; - bool m_bChecked; - virtual BOOL OnInitDialog(); - // the control of CardID ComboBox - CComboBox m_cbCardID; - // the function to get the selected CardID - int GetCardID(void); -// afx_msg HBRUSH OnCtlColor(CDC* pDC, CWnd* pWnd, UINT nCtlColor); - CButton m_EMGCheck; - afx_msg void OnEMGSHDNCheck(); -}; diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7260/Sdk7260/ReadMe.txt b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7260/Sdk7260/ReadMe.txt deleted file mode 100644 index 1490741..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7260/Sdk7260/ReadMe.txt +++ /dev/null @@ -1,93 +0,0 @@ -================================================================================ - MICROSOFT FOUNDATION CLASS LIBRARY : Util7256 Project Overview -=============================================================================== - -The application wizard has created this Util7256 application for -you. This application not only demonstrates the basics of using the Microsoft -Foundation Classes but is also a starting point for writing your application. - -This file contains a summary of what you will find in each of the files that -make up your Util7256 application. - -Util7256.vcproj - This is the main project file for VC++ projects generated using an application wizard. - It contains information about the version of Visual C++ that generated the file, and - information about the platforms, configurations, and project features selected with the - application wizard. - -Util7256.h - This is the main header file for the application. It includes other - project specific headers (including Resource.h) and declares the - CUtil7256App application class. - -Util7256.cpp - This is the main application source file that contains the application - class CUtil7256App. - -Util7256.rc - This is a listing of all of the Microsoft Windows resources that the - program uses. It includes the icons, bitmaps, and cursors that are stored - in the RES subdirectory. This file can be directly edited in Microsoft - Visual C++. Your project resources are in 1033. - -res\Util7256.ico - This is an icon file, which is used as the application's icon. This - icon is included by the main resource file Util7256.rc. - -res\Util7256.rc2 - This file contains resources that are not edited by Microsoft - Visual C++. You should place all resources not editable by - the resource editor in this file. - - -///////////////////////////////////////////////////////////////////////////// - -The application wizard creates one dialog class: - -Util7256Dlg.h, Util7256Dlg.cpp - the dialog - These files contain your CUtil7256Dlg class. This class defines - the behavior of your application's main dialog. The dialog's template is - in Util7256.rc, which can be edited in Microsoft Visual C++. - - -///////////////////////////////////////////////////////////////////////////// - -Other Features: - -ActiveX Controls - The application includes support to use ActiveX controls. - -///////////////////////////////////////////////////////////////////////////// - -Other standard files: - -StdAfx.h, StdAfx.cpp - These files are used to build a precompiled header (PCH) file - named Util7256.pch and a precompiled types file named StdAfx.obj. - -Resource.h - This is the standard header file, which defines new resource IDs. - Microsoft Visual C++ reads and updates this file. - -Util7256.manifest - Application manifest files are used by Windows XP to describe an applications - dependency on specific versions of Side-by-Side assemblies. The loader uses this - information to load the appropriate assembly from the assembly cache or private - from the application. The Application manifest maybe included for redistribution - as an external .manifest file that is installed in the same folder as the application - executable or it may be included in the executable in the form of a resource. -///////////////////////////////////////////////////////////////////////////// - -Other notes: - -The application wizard uses "TODO:" to indicate parts of the source code you -should add to or customize. - -If your application uses MFC in a shared DLL, you will need -to redistribute the MFC DLLs. If your application is in a language -other than the operating system's locale, you will also have to -redistribute the corresponding localized resources MFC90XXX.DLL. -For more information on both of these topics, please see the section on -redistributing Visual C++ applications in MSDN documentation. - -///////////////////////////////////////////////////////////////////////////// diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7260/Sdk7260/Util7256.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7260/Sdk7260/Util7256.suo deleted file mode 100644 index 6068c4a..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7260/Sdk7260/Util7256.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7260/Sdk7260/Util7260.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7260/Sdk7260/Util7260.cpp deleted file mode 100644 index 4ff90f6..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7260/Sdk7260/Util7260.cpp +++ /dev/null @@ -1,112 +0,0 @@ - -// Util7260.cpp : Defines the class behaviors for the application. -// - -#include "stdafx.h" -#include "Util7260.h" -#include "Util7260Dlg.h" -#include "CardIDDlg.h" - -#ifdef _DEBUG -#define new DEBUG_NEW -#endif - - -// CUtil7260App - -BEGIN_MESSAGE_MAP(CUtil7260App, CWinAppEx) - ON_COMMAND(ID_HELP, &CWinApp::OnHelp) -END_MESSAGE_MAP() - - -// CUtil7260App construction - -CUtil7260App::CUtil7260App() -{ - // TODO: add construction code here, - // Place all significant initialization in InitInstance -} - - -// The one and only CUtil7260App object - -CUtil7260App theApp; - - -// CUtil7260App initialization - -BOOL CUtil7260App::InitInstance() -{ - int nCardID = 0; - I16 hCard; - CString strTemp; - INT_PTR nResponse; - bool bEMGChecked; - - // InitCommonControlsEx() is required on Windows XP if an application - // manifest specifies use of ComCtl32.dll version 6 or later to enable - // visual styles. Otherwise, any window creation will fail. - INITCOMMONCONTROLSEX InitCtrls; - InitCtrls.dwSize = sizeof(InitCtrls); - // Set this to include all the common control classes you want to use - // in your application. - InitCtrls.dwICC = ICC_WIN95_CLASSES; - InitCommonControlsEx(&InitCtrls); - - CWinAppEx::InitInstance(); - - AfxEnableControlContainer(); - - // Standard initialization - // If you are not using these features and wish to reduce the size - // of your final executable, you should remove from the following - // the specific initialization routines you do not need - // Change the registry key under which our settings are stored - // TODO: You should modify this string to be something appropriate - // such as the name of your company or organization - SetRegistryKey(_T("Local AppWizard-Generated Applications")); - - CCardIDDlg CardDlg( nCardID ); - - nResponse = CardDlg.DoModal(); - if (nResponse == IDOK) - { - nCardID = CardDlg.GetCardID(); - bEMGChecked = CardDlg.m_bChecked; - - if ((hCard=Register_Card(PCI_7260, nCardID)) < 0) - { - strTemp.Format( TEXT("Register_Card Error = %d"), hCard); - AfxMessageBox( strTemp ); - } - else - { - CUtil7260Dlg dlg(hCard, bEMGChecked); - m_pMainWnd = &dlg; - nResponse = dlg.DoModal(); - if (nResponse == IDOK) - { - // TODO: Place code here to handle when the dialog is - // dismissed with OK - } - else if (nResponse == IDCANCEL) - { - // TODO: Place code here to handle when the dialog is - // dismissed with Cancel - } - - if (hCard >= 0) Release_Card(hCard); - } - - } - else if (nResponse == IDCANCEL) - { - // TODO: Place code here to handle when the dialog is - // dismissed with Cancel - } - - - // Since the dialog has been closed, return FALSE so that we exit the - // application, rather than start the application's message pump. - return FALSE; -} diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7260/Sdk7260/Util7260.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7260/Sdk7260/Util7260.h deleted file mode 100644 index 496c050..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7260/Sdk7260/Util7260.h +++ /dev/null @@ -1,32 +0,0 @@ - -// Util7260.h : main header file for the PROJECT_NAME application -// - -#pragma once - -#ifndef __AFXWIN_H__ - #error "include 'stdafx.h' before including this file for PCH" -#endif - -#include "resource.h" // main symbols - - -// CUtil7260App: -// See Util7260.cpp for the implementation of this class -// - -class CUtil7260App : public CWinAppEx -{ -public: - CUtil7260App(); - -// Overrides - public: - virtual BOOL InitInstance(); - -// Implementation - - DECLARE_MESSAGE_MAP() -}; - -extern CUtil7260App theApp; \ No newline at end of file diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7260/Sdk7260/Util7260.rc b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7260/Sdk7260/Util7260.rc deleted file mode 100644 index c74eb8c..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7260/Sdk7260/Util7260.rc +++ /dev/null @@ -1,299 +0,0 @@ -// Microsoft Visual C++ generated resource script. -// -#include "resource.h" - -#define APSTUDIO_READONLY_SYMBOLS -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 2 resource. -// -#ifndef APSTUDIO_INVOKED -#include "targetver.h" -#endif -#include "afxres.h" - -///////////////////////////////////////////////////////////////////////////// -#undef APSTUDIO_READONLY_SYMBOLS - -///////////////////////////////////////////////////////////////////////////// -// Chinese (Taiwan) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_CHT) -#ifdef _WIN32 -LANGUAGE LANG_CHINESE, SUBLANG_CHINESE_TRADITIONAL -#pragma code_page(950) -#endif //_WIN32 - -#ifdef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// TEXTINCLUDE -// - -1 TEXTINCLUDE -BEGIN - "resource.h\0" -END - -2 TEXTINCLUDE -BEGIN - "#ifndef APSTUDIO_INVOKED\r\n" - "#include ""targetver.h""\r\n" - "#endif\r\n" - "#include ""afxres.h""\r\n" - "\0" -END - -3 TEXTINCLUDE -BEGIN - "#define _AFX_NO_SPLITTER_RESOURCES\r\n" - "#define _AFX_NO_OLE_RESOURCES\r\n" - "#define _AFX_NO_TRACKER_RESOURCES\r\n" - "#define _AFX_NO_PROPERTY_RESOURCES\r\n" - "\r\n" - "#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)\r\n" - "LANGUAGE 9, 1\r\n" - "#pragma code_page(1252)\r\n" - "#include ""res\\Util7260.rc2"" // non-Microsoft Visual C++ edited resources\r\n" - "#include ""afxres.rc"" // Standard components\r\n" - "#endif\r\n" - "\0" -END - -#endif // APSTUDIO_INVOKED - -#endif // Chinese (Taiwan) resources -///////////////////////////////////////////////////////////////////////////// - - -///////////////////////////////////////////////////////////////////////////// -// English (U.S.) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -#ifdef _WIN32 -LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US -#pragma code_page(1252) -#endif //_WIN32 - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog -// - -IDD_CARDID_DIALOG DIALOGEX 0, 0, 168, 105 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "Card ID" -FONT 8, "MS Shell Dlg", 400, 0, 0x1 -BEGIN - COMBOBOX IDC_COMBO_CARDID,75,17,71,126,CBS_DROPDOWN | WS_VSCROLL | WS_TABSTOP - LTEXT "Card Number",IDC_STATIC_01,21,18,46,12 - PUSHBUTTON "OK",IDOK,22,69,58,19 - PUSHBUTTON "CANCEL",IDCANCEL,86,69,58,19 - CONTROL "EMG shutdown enable",IDC_EMGSHDN_CHECK,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,25,42,89,16 -END - -IDD_ABOUTBOX DIALOGEX 0, 0, 170, 62 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "About Util7260" -FONT 8, "MS Shell Dlg", 0, 0, 0x1 -BEGIN - ICON IDR_MAINFRAME,IDC_STATIC,14,14,21,20 - LTEXT "Util7260, Version 1.0",IDC_STATIC,42,14,114,8,SS_NOPREFIX - LTEXT "Copyright (C) 2010",IDC_STATIC,42,26,114,8 - DEFPUSHBUTTON "OK",IDOK,113,41,50,14,WS_GROUP -END - -IDD_UTIL7260_DIALOG DIALOGEX 0, 0, 192, 129 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU -EXSTYLE WS_EX_APPWINDOW -CAPTION "PCI-7260" -FONT 8, "MS Shell Dlg", 0, 0, 0x1 -BEGIN - ICON IDI_ICON_BLACK,IDC_ICON_DI00,151,15,21,20 - ICON IDI_ICON_BLACK,IDC_ICON_DI01,133,15,21,20 - ICON IDI_ICON_BLACK,IDC_ICON_DI02,115,15,21,20 - ICON IDI_ICON_BLACK,IDC_ICON_DI03,97,15,21,20 - ICON IDI_ICON_BLACK,IDC_ICON_DI04,79,15,21,20 - ICON IDI_ICON_BLACK,IDC_ICON_DI05,61,15,21,20 - ICON IDI_ICON_BLACK,IDC_ICON_DI06,43,15,21,20 - ICON IDI_ICON_BLACK,IDC_ICON_DI07,25,15,21,20 - LTEXT " 7 0",IDC_STATIC,29,34,142,13 - GROUPBOX "Digital Input",IDC_STATIC,19,7,159,42 - CONTROL "",IDC_CHECK_DO00,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,157,65,12,12 - CONTROL "",IDC_CHECK_DO01,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,139,65,12,12 - CONTROL "",IDC_CHECK_DO02,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,121,65,12,12 - CONTROL "",IDC_CHECK_DO03,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,103,65,12,12 - CONTROL "",IDC_CHECK_DO04,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,85,65,12,12 - CONTROL "",IDC_CHECK_DO05,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,67,65,12,12 - CONTROL "",IDC_CHECK_DO06,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,49,65,12,12 - CONTROL "",IDC_CHECK_DO07,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,31,65,12,12 - GROUPBOX "Digital Output",IDC_STATIC,19,50,159,41 - LTEXT " 7 0",IDC_STATIC,27,77,142,13 - PUSHBUTTON "EMG_SHDN CLR",IDC_BT_EMG,33,97,114,23,NOT WS_VISIBLE | WS_DISABLED -END - - -///////////////////////////////////////////////////////////////////////////// -// -// DESIGNINFO -// - -#ifdef APSTUDIO_INVOKED -GUIDELINES DESIGNINFO -BEGIN - IDD_CARDID_DIALOG, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 161 - TOPMARGIN, 7 - BOTTOMMARGIN, 98 - END - - IDD_ABOUTBOX, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 163 - TOPMARGIN, 7 - BOTTOMMARGIN, 55 - END - - IDD_UTIL7260_DIALOG, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 185 - TOPMARGIN, 7 - BOTTOMMARGIN, 122 - END -END -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog Info -// - -IDD_CARDID_DIALOG DLGINIT -BEGIN - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0030, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0031, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0032, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0033, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0034, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0035, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0036, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0037, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0038, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0039, - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3031, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3131, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3231, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3331, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3431, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3531, "\000" - 0 -END - - -///////////////////////////////////////////////////////////////////////////// -// -// Icon -// - -// Icon with lowest ID value placed first to ensure application icon -// remains consistent on all systems. -IDR_MAINFRAME ICON "res\\Util7260.ico" -IDI_ICON_BLACK ICON "res\\black.ico" -IDI_ICON_GREEN ICON "res\\green.ico" -IDI_ICON_RED ICON "res\\red.ico" - -///////////////////////////////////////////////////////////////////////////// -// -// Version -// - -VS_VERSION_INFO VERSIONINFO - FILEVERSION 1,0,0,1 - PRODUCTVERSION 1,0,0,1 - FILEFLAGSMASK 0x3fL -#ifdef _DEBUG - FILEFLAGS 0x1L -#else - FILEFLAGS 0x0L -#endif - FILEOS 0x4L - FILETYPE 0x1L - FILESUBTYPE 0x0L -BEGIN - BLOCK "StringFileInfo" - BEGIN - BLOCK "040904e4" - BEGIN - VALUE "CompanyName", "TODO: " - VALUE "FileDescription", "TODO: " - VALUE "FileVersion", "1.0.0.1" - VALUE "InternalName", "Util7260.exe" - VALUE "LegalCopyright", "TODO: (c) . All rights reserved." - VALUE "OriginalFilename", "Util7260.exe" - VALUE "ProductName", "TODO: " - VALUE "ProductVersion", "1.0.0.1" - END - END - BLOCK "VarFileInfo" - BEGIN - VALUE "Translation", 0x409, 1252 - END -END - - -///////////////////////////////////////////////////////////////////////////// -// -// String Table -// - -STRINGTABLE -BEGIN - IDS_ABOUTBOX "&About Util7260..." -END - -#endif // English (U.S.) resources -///////////////////////////////////////////////////////////////////////////// - - - -#ifndef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 3 resource. -// -#define _AFX_NO_SPLITTER_RESOURCES -#define _AFX_NO_OLE_RESOURCES -#define _AFX_NO_TRACKER_RESOURCES -#define _AFX_NO_PROPERTY_RESOURCES - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -LANGUAGE 9, 1 -#pragma code_page(1252) -#include "res\Util7260.rc2" // non-Microsoft Visual C++ edited resources -#include "afxres.rc" // Standard components -#endif - -///////////////////////////////////////////////////////////////////////////// -#endif // not APSTUDIO_INVOKED - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7260/Sdk7260/Util7260.sln b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7260/Sdk7260/Util7260.sln deleted file mode 100644 index 06ceef0..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7260/Sdk7260/Util7260.sln +++ /dev/null @@ -1,26 +0,0 @@ - -Microsoft Visual Studio Solution File, Format Version 10.00 -# Visual Studio 2008 -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "Util7260", "Util7260.vcproj", "{551E76C2-6010-4F6A-B4CC-E9A9E54F3D41}" -EndProject -Global - GlobalSection(SolutionConfigurationPlatforms) = preSolution - Debug|Win32 = Debug|Win32 - Debug|x64 = Debug|x64 - Release|Win32 = Release|Win32 - Release|x64 = Release|x64 - EndGlobalSection - GlobalSection(ProjectConfigurationPlatforms) = postSolution - {551E76C2-6010-4F6A-B4CC-E9A9E54F3D41}.Debug|Win32.ActiveCfg = Debug|Win32 - {551E76C2-6010-4F6A-B4CC-E9A9E54F3D41}.Debug|Win32.Build.0 = Debug|Win32 - {551E76C2-6010-4F6A-B4CC-E9A9E54F3D41}.Debug|x64.ActiveCfg = Debug|x64 - {551E76C2-6010-4F6A-B4CC-E9A9E54F3D41}.Debug|x64.Build.0 = Debug|x64 - {551E76C2-6010-4F6A-B4CC-E9A9E54F3D41}.Release|Win32.ActiveCfg = Release|Win32 - {551E76C2-6010-4F6A-B4CC-E9A9E54F3D41}.Release|Win32.Build.0 = Release|Win32 - {551E76C2-6010-4F6A-B4CC-E9A9E54F3D41}.Release|x64.ActiveCfg = Release|x64 - {551E76C2-6010-4F6A-B4CC-E9A9E54F3D41}.Release|x64.Build.0 = Release|x64 - EndGlobalSection - GlobalSection(SolutionProperties) = preSolution - HideSolutionNode = FALSE - EndGlobalSection -EndGlobal diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7260/Sdk7260/Util7260.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7260/Sdk7260/Util7260.suo deleted file mode 100644 index 97fb2ba..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7260/Sdk7260/Util7260.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7260/Sdk7260/Util7260.vcproj b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7260/Sdk7260/Util7260.vcproj deleted file mode 100644 index 58d1e7d..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7260/Sdk7260/Util7260.vcproj +++ /dev/null @@ -1,483 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7260/Sdk7260/Util7260Dlg.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7260/Sdk7260/Util7260Dlg.cpp deleted file mode 100644 index 51004e2..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7260/Sdk7260/Util7260Dlg.cpp +++ /dev/null @@ -1,471 +0,0 @@ - -// Util7260Dlg.cpp : implementation file -// - -#include "stdafx.h" -#include "Util7260.h" -#include "Util7260Dlg.h" - -#ifdef _DEBUG -#define new DEBUG_NEW -#endif - - -// CAboutDlg dialog used for App About - -class CAboutDlg : public CDialog -{ -public: - CAboutDlg(); - -// Dialog Data - enum { IDD = IDD_ABOUTBOX }; - - protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - -// Implementation -protected: - DECLARE_MESSAGE_MAP() -}; - -CAboutDlg::CAboutDlg() : CDialog(CAboutDlg::IDD) -{ -} - -void CAboutDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); -} - -BEGIN_MESSAGE_MAP(CAboutDlg, CDialog) -END_MESSAGE_MAP() - - -// CUtil7260Dlg dialog - - -CUtil7260Dlg::CUtil7260Dlg(I16 hCard, bool bEMGCheck, CWnd* pParent /*=NULL*/) - : CDialog(CUtil7260Dlg::IDD, pParent) -{ - m_hIcon = AfxGetApp()->LoadIcon(IDR_MAINFRAME); - m_nTimer = -1; - m_hCard = hCard; - - m_dwInData = 0x00000000; - m_dwOutData = 0x00000000; - m_bEMGChecked = bEMGCheck; - -} - -void CUtil7260Dlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); - DDX_Control(pDX, IDC_ICON_DI00, m_Icon_DI00); - DDX_Control(pDX, IDC_ICON_DI01, m_Icon_DI01); - DDX_Control(pDX, IDC_ICON_DI02, m_Icon_DI02); - DDX_Control(pDX, IDC_ICON_DI03, m_Icon_DI03); - DDX_Control(pDX, IDC_ICON_DI04, m_Icon_DI04); - DDX_Control(pDX, IDC_ICON_DI05, m_Icon_DI05); - DDX_Control(pDX, IDC_ICON_DI06, m_Icon_DI06); - DDX_Control(pDX, IDC_ICON_DI07, m_Icon_DI07); -} - -BEGIN_MESSAGE_MAP(CUtil7260Dlg, CDialog) - ON_WM_SYSCOMMAND() - ON_WM_PAINT() - ON_WM_QUERYDRAGICON() - //}}AFX_MSG_MAP - ON_BN_CLICKED(IDC_CHECK_DO00, &CUtil7260Dlg::OnOut00) - ON_BN_CLICKED(IDC_CHECK_DO01, &CUtil7260Dlg::OnOut01) - ON_BN_CLICKED(IDC_CHECK_DO02, &CUtil7260Dlg::OnOut02) - ON_BN_CLICKED(IDC_CHECK_DO03, &CUtil7260Dlg::OnOut03) - ON_BN_CLICKED(IDC_CHECK_DO04, &CUtil7260Dlg::OnOut04) - ON_BN_CLICKED(IDC_CHECK_DO05, &CUtil7260Dlg::OnOut05) - ON_BN_CLICKED(IDC_CHECK_DO06, &CUtil7260Dlg::OnOut06) - ON_BN_CLICKED(IDC_CHECK_DO07, &CUtil7260Dlg::OnOut07) - ON_WM_DESTROY() - ON_WM_TIMER() - ON_BN_CLICKED(IDC_BT_EMG, &CUtil7260Dlg::OnEMGShutdown) -END_MESSAGE_MAP() - - -// CUtil7260Dlg message handlers - -BOOL CUtil7260Dlg::OnInitDialog() -{ - CDialog::OnInitDialog(); - - // Add "About..." menu item to system menu. - - // IDM_ABOUTBOX must be in the system command range. - ASSERT((IDM_ABOUTBOX & 0xFFF0) == IDM_ABOUTBOX); - ASSERT(IDM_ABOUTBOX < 0xF000); - - CMenu* pSysMenu = GetSystemMenu(FALSE); - if (pSysMenu != NULL) - { - BOOL bNameValid; - CString strAboutMenu; - bNameValid = strAboutMenu.LoadString(IDS_ABOUTBOX); - ASSERT(bNameValid); - if (!strAboutMenu.IsEmpty()) - { - pSysMenu->AppendMenu(MF_SEPARATOR); - pSysMenu->AppendMenu(MF_STRING, IDM_ABOUTBOX, strAboutMenu); - } - } - - // Set the icon for this dialog. The framework does this automatically - // when the application's main window is not a dialog - SetIcon(m_hIcon, TRUE); // Set big icon - SetIcon(m_hIcon, FALSE); // Set small icon - - // TODO: Add extra initialization here - DO_WritePort( m_hCard, 0, m_dwOutData ); - m_nTimer = SetTimer( 1, 250, NULL ); - - if( m_bEMGChecked == 1 ) - { - GetDlgItem(IDC_BT_EMG)->ShowWindow( SW_SHOW ); - GetDlgItem(IDC_BT_EMG)->EnableWindow( TRUE ); - } - - return TRUE; // return TRUE unless you set the focus to a control -} - -void CUtil7260Dlg::OnSysCommand(UINT nID, LPARAM lParam) -{ - if ((nID & 0xFFF0) == IDM_ABOUTBOX) - { - CAboutDlg dlgAbout; - dlgAbout.DoModal(); - } - else - { - CDialog::OnSysCommand(nID, lParam); - } -} - -// If you add a minimize button to your dialog, you will need the code below -// to draw the icon. For MFC applications using the document/view model, -// this is automatically done for you by the framework. - -void CUtil7260Dlg::OnPaint() -{ - if (IsIconic()) - { - CPaintDC dc(this); // device context for painting - - SendMessage(WM_ICONERASEBKGND, reinterpret_cast(dc.GetSafeHdc()), 0); - - // Center icon in client rectangle - int cxIcon = GetSystemMetrics(SM_CXICON); - int cyIcon = GetSystemMetrics(SM_CYICON); - CRect rect; - GetClientRect(&rect); - int x = (rect.Width() - cxIcon + 1) / 2; - int y = (rect.Height() - cyIcon + 1) / 2; - - // Draw the icon - dc.DrawIcon(x, y, m_hIcon); - } - else - { - CDialog::OnPaint(); - } -} - -// The system calls this function to obtain the cursor to display while the user drags -// the minimized window. -HCURSOR CUtil7260Dlg::OnQueryDragIcon() -{ - return static_cast(m_hIcon); -} - - -void CUtil7260Dlg::OnDestroy() -{ - CDialog::OnDestroy(); - - // TODO: Add your message handler code here - if( m_nTimer != -1 ) - KillTimer( m_nTimer ); -} - -void CUtil7260Dlg::OnTimer(UINT_PTR nIDEvent) -{ - // TODO: Add your message handler code here and/or call default - U32 dwPortData, dwChangeMask; - - DI_ReadPort(m_hCard, 0 ,&dwPortData); - dwChangeMask = dwPortData ^ m_dwInData; - - if( dwChangeMask != 0x00 ) // Input had been changed - { - m_dwInData = dwPortData; // update the DI data - - if( (dwChangeMask & 0x01) == 0x01 ) // if the target bit is changed - { - if( (dwPortData & 0x01) == 0x01 ) - { - m_Icon_DI00.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_DI00.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - - if( (dwChangeMask & 0x02) == 0x02 ) // if the target bit is changed - { - if( (dwPortData & 0x02) == 0x02 ) - { - m_Icon_DI01.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_DI01.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - if( (dwChangeMask & 0x04) == 0x04 ) // if the target bit is changed - { - if( (dwPortData & 0x04) == 0x04 ) - { - m_Icon_DI02.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_DI02.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - - if( (dwChangeMask & 0x08) == 0x08 ) // if the target bit is changed - { - if( (dwPortData & 0x08) == 0x08 ) - { - m_Icon_DI03.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_DI03.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - if( (dwChangeMask & 0x10) == 0x10 ) // if the target bit is changed - { - if( (dwPortData & 0x10) == 0x10 ) - { - m_Icon_DI04.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_DI04.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - if( (dwChangeMask & 0x20) == 0x20 ) // if the target bit is changed - { - if( (dwPortData & 0x20) == 0x20 ) - { - m_Icon_DI05.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_DI05.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - - if( (dwChangeMask & 0x40) == 0x40 ) // if the target bit is changed - { - if( (dwPortData & 0x40) == 0x40 ) - { - m_Icon_DI06.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_DI06.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - - if( (dwChangeMask & 0x80) == 0x80 ) // if the target bit is changed - { - if( (dwPortData & 0x80) == 0x80 ) - { - m_Icon_DI07.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_DI07.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - } - - CDialog::OnTimer(nIDEvent); -} - -void CUtil7260Dlg::OnOut00() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_DO00 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_dwOutData |= 0x01; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_dwOutData &= (~0x01); - } - - DO_WritePort( m_hCard, 0, m_dwOutData ); - -} - -void CUtil7260Dlg::OnOut01() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_DO01 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_dwOutData |= 0x02; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_dwOutData &= (~0x02); - } - - DO_WritePort( m_hCard, 0, m_dwOutData ); -} - -void CUtil7260Dlg::OnOut02() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_DO02 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_dwOutData |= 0x04; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_dwOutData &= (~0x04); - } - - DO_WritePort( m_hCard, 0, m_dwOutData ); -} - -void CUtil7260Dlg::OnOut03() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_DO03 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_dwOutData |= 0x08; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_dwOutData &= (~0x08); - } - - DO_WritePort( m_hCard, 0, m_dwOutData ); -} - -void CUtil7260Dlg::OnOut04() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_DO04 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_dwOutData |= 0x10; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_dwOutData &= (~0x10); - } - - DO_WritePort( m_hCard, 0, m_dwOutData ); -} - -void CUtil7260Dlg::OnOut05() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_DO05 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_dwOutData |= 0x20; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_dwOutData &= (~0x20); - } - - DO_WritePort( m_hCard, 0, m_dwOutData ); -} - -void CUtil7260Dlg::OnOut06() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_DO06 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_dwOutData |= 0x40; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_dwOutData &= (~0x40); - } - - DO_WritePort( m_hCard, 0, m_dwOutData ); -} - -void CUtil7260Dlg::OnOut07() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_DO07 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_dwOutData |= 0x80; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_dwOutData &= (~0x80); - } - - DO_WritePort( m_hCard, 0, m_dwOutData ); -} - - -void CUtil7260Dlg::OnEMGShutdown() -{ - // TODO: Add your control notification handler code here - EMGShutDownControl(m_hCard, EMGSHDN_RECOVERY); -} diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7260/Sdk7260/Util7260Dlg.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7260/Sdk7260/Util7260Dlg.h deleted file mode 100644 index f4a9c75..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7260/Sdk7260/Util7260Dlg.h +++ /dev/null @@ -1,58 +0,0 @@ - -// Util7260Dlg.h : header file -// -#include "Dask64.h" - -#pragma once - - -// CUtil7260Dlg dialog -class CUtil7260Dlg : public CDialog -{ -// Construction -public: - CUtil7260Dlg(I16 hCard, bool bEMGCheck, CWnd* pParent = NULL); // standard constructor - -// Dialog Data - enum { IDD = IDD_UTIL7260_DIALOG }; - - protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - - -// Implementation -protected: - HICON m_hIcon; - I16 m_hCard; - UINT_PTR m_nTimer; - U32 m_dwInData; - U32 m_dwOutData; - bool m_bEMGChecked; - - // Generated message map functions - virtual BOOL OnInitDialog(); - afx_msg void OnSysCommand(UINT nID, LPARAM lParam); - afx_msg void OnPaint(); - afx_msg HCURSOR OnQueryDragIcon(); - DECLARE_MESSAGE_MAP() -public: - CStatic m_Icon_DI00; - CStatic m_Icon_DI01; - CStatic m_Icon_DI02; - CStatic m_Icon_DI03; - CStatic m_Icon_DI04; - CStatic m_Icon_DI05; - CStatic m_Icon_DI06; - CStatic m_Icon_DI07; - afx_msg void OnDestroy(); - afx_msg void OnTimer(UINT_PTR nIDEvent); - afx_msg void OnOut00(); - afx_msg void OnOut01(); - afx_msg void OnOut02(); - afx_msg void OnOut03(); - afx_msg void OnOut04(); - afx_msg void OnOut05(); - afx_msg void OnOut06(); - afx_msg void OnOut07(); - afx_msg void OnEMGShutdown(); -}; diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7260/Sdk7260/res/Util7260.ico b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7260/Sdk7260/res/Util7260.ico deleted file mode 100644 index d56fbcd..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7260/Sdk7260/res/Util7260.ico and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7260/Sdk7260/res/Util7260.rc2 b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7260/Sdk7260/res/Util7260.rc2 deleted file mode 100644 index 8818c91..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7260/Sdk7260/res/Util7260.rc2 +++ /dev/null @@ -1,13 +0,0 @@ -// -// Util7256.RC2 - resources Microsoft Visual C++ does not edit directly -// - -#ifdef APSTUDIO_INVOKED -#error this file is not editable by Microsoft Visual C++ -#endif //APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// Add manually edited resources here... - -///////////////////////////////////////////////////////////////////////////// diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7260/Sdk7260/res/black.ico b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7260/Sdk7260/res/black.ico deleted file mode 100644 index b5c375f..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7260/Sdk7260/res/black.ico and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7260/Sdk7260/res/green.ico b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7260/Sdk7260/res/green.ico deleted file mode 100644 index d9a9fd3..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7260/Sdk7260/res/green.ico and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7260/Sdk7260/res/red.ico b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7260/Sdk7260/res/red.ico deleted file mode 100644 index 7644596..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7260/Sdk7260/res/red.ico and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7260/Sdk7260/resource.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7260/Sdk7260/resource.h deleted file mode 100644 index 1ab63cf..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7260/Sdk7260/resource.h +++ /dev/null @@ -1,60 +0,0 @@ -//{{NO_DEPENDENCIES}} -// Microsoft Visual C++ generated include file. -// Used by Util7260.rc -// -#define IDM_ABOUTBOX 0x0010 -#define IDD_ABOUTBOX 100 -#define IDS_ABOUTBOX 101 -#define IDD_UTIL7260_DIALOG 102 -#define IDR_MAINFRAME 128 -#define IDI_ICON_BLACK 129 -#define IDI_ICON_GREEN 130 -#define IDI_ICON_RED 131 -#define IDD_CARDID_DIALOG 132 -#define IDC_COMBO_CARDID 1000 -#define IDC_BT_EMG 1000 -#define IDC_EMGSHDN_CHECK 1001 -#define IDC_CHECK_DO00 1003 -#define IDC_CHECK_DO01 1004 -#define IDC_ICON_DI00 1005 -#define IDC_ICON_DI01 1006 -#define IDC_ICON_DI02 1007 -#define IDC_ICON_DI03 1008 -#define IDC_ICON_DI04 1009 -#define IDC_ICON_DI05 1010 -#define IDC_ICON_DI06 1011 -#define IDC_ICON_DI07 1012 -#define IDC_ICON_DI08 1013 -#define IDC_ICON_DI09 1014 -#define IDC_STATIC_01 1014 -#define IDC_ICON_DI10 1015 -#define IDC_ICON_DI11 1016 -#define IDC_ICON_DI12 1017 -#define IDC_ICON_DI13 1018 -#define IDC_ICON_DI14 1019 -#define IDC_ICON_DI15 1020 -#define IDC_CHECK_DO02 1021 -#define IDC_CHECK_DO03 1022 -#define IDC_CHECK_DO04 1023 -#define IDC_CHECK_DO05 1024 -#define IDC_CHECK_DO06 1025 -#define IDC_CHECK_DO07 1026 -#define IDC_CHECK_DO08 1027 -#define IDC_CHECK_DO09 1028 -#define IDC_CHECK_DO10 1029 -#define IDC_CHECK_DO11 1030 -#define IDC_CHECK_DO12 1031 -#define IDC_CHECK_DO13 1032 -#define IDC_CHECK_DO14 1033 -#define IDC_CHECK_DO15 1034 - -// Next default values for new objects -// -#ifdef APSTUDIO_INVOKED -#ifndef APSTUDIO_READONLY_SYMBOLS -#define _APS_NEXT_RESOURCE_VALUE 134 -#define _APS_NEXT_COMMAND_VALUE 32771 -#define _APS_NEXT_CONTROL_VALUE 1002 -#define _APS_NEXT_SYMED_VALUE 101 -#endif -#endif diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7260/Sdk7260/stdafx.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7260/Sdk7260/stdafx.cpp deleted file mode 100644 index ee74771..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7260/Sdk7260/stdafx.cpp +++ /dev/null @@ -1,8 +0,0 @@ - -// stdafx.cpp : source file that includes just the standard includes -// Util7260.pch will be the pre-compiled header -// stdafx.obj will contain the pre-compiled type information - -#include "stdafx.h" - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7260/Sdk7260/stdafx.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7260/Sdk7260/stdafx.h deleted file mode 100644 index 12123e2..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7260/Sdk7260/stdafx.h +++ /dev/null @@ -1,60 +0,0 @@ - -// stdafx.h : include file for standard system include files, -// or project specific include files that are used frequently, -// but are changed infrequently - -#pragma once - -#ifndef _SECURE_ATL -#define _SECURE_ATL 1 -#endif - -#ifndef VC_EXTRALEAN -#define VC_EXTRALEAN // Exclude rarely-used stuff from Windows headers -#endif - -#include "targetver.h" - -#define _ATL_CSTRING_EXPLICIT_CONSTRUCTORS // some CString constructors will be explicit - -// turns off MFC's hiding of some common and often safely ignored warning messages -#define _AFX_ALL_WARNINGS - -#include // MFC core and standard components -#include // MFC extensions - - -#include // MFC Automation classes - - - -#ifndef _AFX_NO_OLE_SUPPORT -#include // MFC support for Internet Explorer 4 Common Controls -#endif -#ifndef _AFX_NO_AFXCMN_SUPPORT -#include // MFC support for Windows Common Controls -#endif // _AFX_NO_AFXCMN_SUPPORT - -#include // MFC support for ribbons and control bars - - - - - - - - - -#ifdef _UNICODE -#if defined _M_IX86 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='x86' publicKeyToken='6595b64144ccf1df' language='*'\"") -#elif defined _M_IA64 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='ia64' publicKeyToken='6595b64144ccf1df' language='*'\"") -#elif defined _M_X64 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='amd64' publicKeyToken='6595b64144ccf1df' language='*'\"") -#else -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='*' publicKeyToken='6595b64144ccf1df' language='*'\"") -#endif -#endif - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7260/Sdk7260/targetver.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7260/Sdk7260/targetver.h deleted file mode 100644 index 11730d5..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7260/Sdk7260/targetver.h +++ /dev/null @@ -1,26 +0,0 @@ - -#pragma once - -// The following macros define the minimum required platform. The minimum required platform -// is the earliest version of Windows, Internet Explorer etc. that has the necessary features to run -// your application. The macros work by enabling all features available on platform versions up to and -// including the version specified. - -// Modify the following defines if you have to target a platform prior to the ones specified below. -// Refer to MSDN for the latest info on corresponding values for different platforms. -#ifndef WINVER // Specifies that the minimum required platform is Windows Vista. -#define WINVER 0x0600 // Change this to the appropriate value to target other versions of Windows. -#endif - -#ifndef _WIN32_WINNT // Specifies that the minimum required platform is Windows Vista. -#define _WIN32_WINNT 0x0600 // Change this to the appropriate value to target other versions of Windows. -#endif - -#ifndef _WIN32_WINDOWS // Specifies that the minimum required platform is Windows 98. -#define _WIN32_WINDOWS 0x0410 // Change this to the appropriate value to target Windows Me or later. -#endif - -#ifndef _WIN32_IE // Specifies that the minimum required platform is Internet Explorer 7.0. -#define _WIN32_IE 0x0700 // Change this to the appropriate value to target other versions of IE. -#endif - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7260/WdtOvflow/WdtOvflow.c b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7260/WdtOvflow/WdtOvflow.c deleted file mode 100644 index 5aab38a..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7260/WdtOvflow/WdtOvflow.c +++ /dev/null @@ -1,71 +0,0 @@ -#include -#include -#include "dask64.h" - -void main() -{ - I16 card=-1, err=0, card_num; - U32 pattern= 0, waitMS=0, result=0; - F32 rt = 0.0; - U8 sts = 0; - HANDLE hWDTEvent = NULL; - U16 cardType=0, cardIndex=0; - - printf("Please input a card number: "); - scanf(" %d", &card_num); - //getch(); - if ((card=Register_Card (PCI_7260, card_num)) <0 ) - { - printf("Register_Card error=%d\n", card); - exit(1); - } - - err = IdentifyLED_Control (card, 1); - //return 0; - GetInitPattern (card, INIT_PTN, &pattern); - printf("Init Pattern: %x\n", pattern); - - GetInitPattern (card, EMGSHDN_PTN, &pattern); - printf("EMG Shutdown Pattern: %x\n", pattern); - - err = WDT_Setup (card, 0, 5.0, &rt, &hWDTEvent); - if(err != NoError) - { - printf("WDT_Setup err %d!", err); - Release_Card(card); - exit(1); - } - - err = WDT_Control (card, 0, WDT_ARM); - if(err != NoError) - { - printf("WDT_Control err %d!", err); - Release_Card(card); - exit(1); - } - - printf("\nWDT will overflow after %.4f seconds ...\n", rt); - waitMS = (U32) rt*1000*2; - result = WaitForSingleObject(hWDTEvent, waitMS); - if (result == WAIT_OBJECT_0) - { - printf("\nWDT is overflowed !!\n"); - EMGShutDownStatus (card, &sts); - if(sts) - EMGShutDownControl (card, EMGSHDN_RECOVERY); - Sleep(10); - DO_ReadPort (card, 0, &result); - printf("\nThe current pattern is : %x\n", result); - printf("\nPress any key to continue ...\n"); - err = IdentifyLED_Control (card, 0); - getch(); - } - else if(result == WAIT_TIMEOUT) - { - printf("\nWait Failed ...\n"); - } else - printf("\nWaitForSingleObject error %d ...\n", GetLastError()); - - WDT_Control (card, 0, WDT_DISARM); - Release_Card(card); -} \ No newline at end of file diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7260/WdtOvflow/WdtOvflow.sln b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7260/WdtOvflow/WdtOvflow.sln deleted file mode 100644 index e928898..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7260/WdtOvflow/WdtOvflow.sln +++ /dev/null @@ -1,20 +0,0 @@ - -Microsoft Visual Studio Solution File, Format Version 10.00 -# Visual Studio 2008 -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "WdtOvflow", "WdtOvflow.vcproj", "{E282F5C9-F537-46E5-B90B-0B1FD21078C8}" -EndProject -Global - GlobalSection(SolutionConfigurationPlatforms) = preSolution - Debug|x64 = Debug|x64 - Release|x64 = Release|x64 - EndGlobalSection - GlobalSection(ProjectConfigurationPlatforms) = postSolution - {E282F5C9-F537-46E5-B90B-0B1FD21078C8}.Debug|x64.ActiveCfg = Debug|x64 - {E282F5C9-F537-46E5-B90B-0B1FD21078C8}.Debug|x64.Build.0 = Debug|x64 - {E282F5C9-F537-46E5-B90B-0B1FD21078C8}.Release|x64.ActiveCfg = Release|x64 - {E282F5C9-F537-46E5-B90B-0B1FD21078C8}.Release|x64.Build.0 = Release|x64 - EndGlobalSection - GlobalSection(SolutionProperties) = preSolution - HideSolutionNode = FALSE - EndGlobalSection -EndGlobal diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7260/WdtOvflow/WdtOvflow.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7260/WdtOvflow/WdtOvflow.suo deleted file mode 100644 index 64c8de8..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7260/WdtOvflow/WdtOvflow.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7260/WdtOvflow/WdtOvflow.vcproj b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7260/WdtOvflow/WdtOvflow.vcproj deleted file mode 100644 index 2a98b1c..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7260/WdtOvflow/WdtOvflow.vcproj +++ /dev/null @@ -1,231 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7296/SDK7296/CardIDDlg.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7296/SDK7296/CardIDDlg.cpp deleted file mode 100644 index 826591c..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7296/SDK7296/CardIDDlg.cpp +++ /dev/null @@ -1,67 +0,0 @@ -// CardIDDlg.cpp : implementation file -// - -#include "stdafx.h" -#include "Util7296.h" -#include "CardIDDlg.h" - - -// CCardIDDlg dialog - -IMPLEMENT_DYNAMIC(CCardIDDlg, CDialog) - -CCardIDDlg::CCardIDDlg(int nCardIdx, CWnd* pParent /*=NULL*/) - : CDialog(CCardIDDlg::IDD, pParent) -{ - m_nCardIdx = nCardIdx; -} - -CCardIDDlg::~CCardIDDlg() -{ -} - -void CCardIDDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); - DDX_Control(pDX, IDC_COMBO_CARDID, m_cbCardID); -} - - -BEGIN_MESSAGE_MAP(CCardIDDlg, CDialog) -// ON_CBN_SELCHANGE(IDC_COMBO_CARDID, &CCardIDDlg::OnCbnSelchangeComboCardid) -ON_BN_CLICKED(IDOK, &CCardIDDlg::OnBnClickedOk) -//ON_WM_CTLCOLOR() -END_MESSAGE_MAP() - - -// CCardIDDlg message handlers - - -void CCardIDDlg::OnBnClickedOk() -{ - // TODO: Add your control notification handler code here - -// UpdateData(TRUE); - m_nCardIdx = m_cbCardID.GetCurSel(); - - OnOK(); -} - -BOOL CCardIDDlg::OnInitDialog() -{ - CDialog::OnInitDialog(); - - // TODO: Add extra initialization here - m_cbCardID.SetCurSel( m_nCardIdx ); - - return TRUE; // return TRUE unless you set the focus to a control - // EXCEPTION: OCX Property Pages should return FALSE -} - -// the function to get the selected CardID -int CCardIDDlg::GetCardID(void) -{ - return m_nCardIdx; -} - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7296/SDK7296/CardIDDlg.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7296/SDK7296/CardIDDlg.h deleted file mode 100644 index 54628ea..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7296/SDK7296/CardIDDlg.h +++ /dev/null @@ -1,33 +0,0 @@ -#pragma once -#include "afxwin.h" - - -// CCardIDDlg dialog - -class CCardIDDlg : public CDialog -{ - DECLARE_DYNAMIC(CCardIDDlg) - -public: - CCardIDDlg(int nCardIdx, CWnd* pParent = NULL); // standard constructor - virtual ~CCardIDDlg(); - -// Dialog Data - enum { IDD = IDD_CARDID_DIALOG }; - -protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - - DECLARE_MESSAGE_MAP() -public: -// afx_msg void OnCbnSelchangeComboCardid(); - afx_msg void OnBnClickedOk(); - // the setting of CardID ComboBox - int m_nCardIdx; - virtual BOOL OnInitDialog(); - // the control of CardID ComboBox - CComboBox m_cbCardID; - // the function to get the selected CardID - int GetCardID(void); -// afx_msg HBRUSH OnCtlColor(CDC* pDC, CWnd* pWnd, UINT nCtlColor); -}; diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7296/SDK7296/ReadMe.txt b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7296/SDK7296/ReadMe.txt deleted file mode 100644 index c0716d6..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7296/SDK7296/ReadMe.txt +++ /dev/null @@ -1,93 +0,0 @@ -================================================================================ - MICROSOFT FOUNDATION CLASS LIBRARY : Util7296 Project Overview -=============================================================================== - -The application wizard has created this Util7296 application for -you. This application not only demonstrates the basics of using the Microsoft -Foundation Classes but is also a starting point for writing your application. - -This file contains a summary of what you will find in each of the files that -make up your Util7296 application. - -Util7296.vcproj - This is the main project file for VC++ projects generated using an application wizard. - It contains information about the version of Visual C++ that generated the file, and - information about the platforms, configurations, and project features selected with the - application wizard. - -Util7296.h - This is the main header file for the application. It includes other - project specific headers (including Resource.h) and declares the - CUtil7296App application class. - -Util7296.cpp - This is the main application source file that contains the application - class CUtil7296App. - -Util7296.rc - This is a listing of all of the Microsoft Windows resources that the - program uses. It includes the icons, bitmaps, and cursors that are stored - in the RES subdirectory. This file can be directly edited in Microsoft - Visual C++. Your project resources are in 1033. - -res\Util7296.ico - This is an icon file, which is used as the application's icon. This - icon is included by the main resource file Util7296.rc. - -res\Util7296.rc2 - This file contains resources that are not edited by Microsoft - Visual C++. You should place all resources not editable by - the resource editor in this file. - - -///////////////////////////////////////////////////////////////////////////// - -The application wizard creates one dialog class: - -Util7296Dlg.h, Util7296Dlg.cpp - the dialog - These files contain your CUtil7296Dlg class. This class defines - the behavior of your application's main dialog. The dialog's template is - in Util7296.rc, which can be edited in Microsoft Visual C++. - - -///////////////////////////////////////////////////////////////////////////// - -Other Features: - -ActiveX Controls - The application includes support to use ActiveX controls. - -///////////////////////////////////////////////////////////////////////////// - -Other standard files: - -StdAfx.h, StdAfx.cpp - These files are used to build a precompiled header (PCH) file - named Util7296.pch and a precompiled types file named StdAfx.obj. - -Resource.h - This is the standard header file, which defines new resource IDs. - Microsoft Visual C++ reads and updates this file. - -Util7296.manifest - Application manifest files are used by Windows XP to describe an applications - dependency on specific versions of Side-by-Side assemblies. The loader uses this - information to load the appropriate assembly from the assembly cache or private - from the application. The Application manifest maybe included for redistribution - as an external .manifest file that is installed in the same folder as the application - executable or it may be included in the executable in the form of a resource. -///////////////////////////////////////////////////////////////////////////// - -Other notes: - -The application wizard uses "TODO:" to indicate parts of the source code you -should add to or customize. - -If your application uses MFC in a shared DLL, you will need -to redistribute the MFC DLLs. If your application is in a language -other than the operating system's locale, you will also have to -redistribute the corresponding localized resources MFC90XXX.DLL. -For more information on both of these topics, please see the section on -redistributing Visual C++ applications in MSDN documentation. - -///////////////////////////////////////////////////////////////////////////// diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7296/SDK7296/Util7296.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7296/SDK7296/Util7296.cpp deleted file mode 100644 index 7f2a30b..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7296/SDK7296/Util7296.cpp +++ /dev/null @@ -1,110 +0,0 @@ - -// Util7296.cpp : Defines the class behaviors for the application. -// - -#include "stdafx.h" -#include "Util7296.h" -#include "Util7296Dlg.h" -#include "CardIDDlg.h" - -#ifdef _DEBUG -#define new DEBUG_NEW -#endif - - -// CUtil7296App - -BEGIN_MESSAGE_MAP(CUtil7296App, CWinAppEx) - ON_COMMAND(ID_HELP, &CWinApp::OnHelp) -END_MESSAGE_MAP() - - -// CUtil7296App construction - -CUtil7296App::CUtil7296App() -{ - // TODO: add construction code here, - // Place all significant initialization in InitInstance -} - - -// The one and only CUtil7296App object - -CUtil7296App theApp; - - -// CUtil7296App initialization - -BOOL CUtil7296App::InitInstance() -{ - int nCardID = 0; - I16 hCard; - CString strTemp; - INT_PTR nResponse; - - // InitCommonControlsEx() is required on Windows XP if an application - // manifest specifies use of ComCtl32.dll version 6 or later to enable - // visual styles. Otherwise, any window creation will fail. - INITCOMMONCONTROLSEX InitCtrls; - InitCtrls.dwSize = sizeof(InitCtrls); - // Set this to include all the common control classes you want to use - // in your application. - InitCtrls.dwICC = ICC_WIN95_CLASSES; - InitCommonControlsEx(&InitCtrls); - - CWinAppEx::InitInstance(); - - AfxEnableControlContainer(); - - // Standard initialization - // If you are not using these features and wish to reduce the size - // of your final executable, you should remove from the following - // the specific initialization routines you do not need - // Change the registry key under which our settings are stored - // TODO: You should modify this string to be something appropriate - // such as the name of your company or organization - SetRegistryKey(_T("Local AppWizard-Generated Applications")); - - CCardIDDlg CardDlg( nCardID ); - - nResponse = CardDlg.DoModal(); - if (nResponse == IDOK) - { - nCardID = CardDlg.GetCardID(); - - if ((hCard=Register_Card(PCI_7296, nCardID)) < 0) - { - strTemp.Format( TEXT("Register_Card Error = %d"), hCard); - AfxMessageBox( strTemp ); - } - else - { - CUtil7296Dlg dlg(hCard); - m_pMainWnd = &dlg; - nResponse = dlg.DoModal(); - if (nResponse == IDOK) - { - // TODO: Place code here to handle when the dialog is - // dismissed with OK - } - else if (nResponse == IDCANCEL) - { - // TODO: Place code here to handle when the dialog is - // dismissed with Cancel - } - - if (hCard >= 0) Release_Card(hCard); - } - - } - else if (nResponse == IDCANCEL) - { - // TODO: Place code here to handle when the dialog is - // dismissed with Cancel - } - - - // Since the dialog has been closed, return FALSE so that we exit the - // application, rather than start the application's message pump. - return FALSE; -} diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7296/SDK7296/Util7296.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7296/SDK7296/Util7296.h deleted file mode 100644 index 4bb5353..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7296/SDK7296/Util7296.h +++ /dev/null @@ -1,32 +0,0 @@ - -// Util7296.h : main header file for the PROJECT_NAME application -// - -#pragma once - -#ifndef __AFXWIN_H__ - #error "include 'stdafx.h' before including this file for PCH" -#endif - -#include "resource.h" // main symbols - - -// CUtil7296App: -// See Util7296.cpp for the implementation of this class -// - -class CUtil7296App : public CWinAppEx -{ -public: - CUtil7296App(); - -// Overrides - public: - virtual BOOL InitInstance(); - -// Implementation - - DECLARE_MESSAGE_MAP() -}; - -extern CUtil7296App theApp; \ No newline at end of file diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7296/SDK7296/Util7296.rc b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7296/SDK7296/Util7296.rc deleted file mode 100644 index ce756a3..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7296/SDK7296/Util7296.rc +++ /dev/null @@ -1,420 +0,0 @@ -// Microsoft Visual C++ generated resource script. -// -#include "resource.h" - -#define APSTUDIO_READONLY_SYMBOLS -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 2 resource. -// -#ifndef APSTUDIO_INVOKED -#include "targetver.h" -#endif -#include "afxres.h" - -///////////////////////////////////////////////////////////////////////////// -#undef APSTUDIO_READONLY_SYMBOLS - -///////////////////////////////////////////////////////////////////////////// -// Chinese (Taiwan) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_CHT) -#ifdef _WIN32 -LANGUAGE LANG_CHINESE, SUBLANG_CHINESE_TRADITIONAL -#pragma code_page(950) -#endif //_WIN32 - -#ifdef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// TEXTINCLUDE -// - -1 TEXTINCLUDE -BEGIN - "resource.h\0" -END - -2 TEXTINCLUDE -BEGIN - "#ifndef APSTUDIO_INVOKED\r\n" - "#include ""targetver.h""\r\n" - "#endif\r\n" - "#include ""afxres.h""\r\n" - "\0" -END - -3 TEXTINCLUDE -BEGIN - "#define _AFX_NO_SPLITTER_RESOURCES\r\n" - "#define _AFX_NO_OLE_RESOURCES\r\n" - "#define _AFX_NO_TRACKER_RESOURCES\r\n" - "#define _AFX_NO_PROPERTY_RESOURCES\r\n" - "\r\n" - "#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)\r\n" - "LANGUAGE 9, 1\r\n" - "#pragma code_page(1252)\r\n" - "#include ""res\\Util7296.rc2"" // non-Microsoft Visual C++ edited resources\r\n" - "#include ""afxres.rc"" // Standard components\r\n" - "#endif\r\n" - "\0" -END - -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// Icon -// - -// Icon with lowest ID value placed first to ensure application icon -// remains consistent on all systems. -IDR_MAINFRAME ICON "res\\Util7296.ico" -#endif // Chinese (Taiwan) resources -///////////////////////////////////////////////////////////////////////////// - - -///////////////////////////////////////////////////////////////////////////// -// English (U.S.) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -#ifdef _WIN32 -LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US -#pragma code_page(1252) -#endif //_WIN32 - -///////////////////////////////////////////////////////////////////////////// -// -// Icon -// - -// Icon with lowest ID value placed first to ensure application icon -// remains consistent on all systems. -IDI_ICON_BLACK ICON "res\\black.ico" -IDI_ICON_RED ICON "res\\red.ico" -IDI_ICON_GREEN ICON "res\\green.ico" - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog -// - -IDD_ABOUTBOX DIALOGEX 0, 0, 170, 62 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "About Util7296" -FONT 8, "MS Shell Dlg", 0, 0, 0x1 -BEGIN - ICON IDR_MAINFRAME,IDC_STATIC,14,14,21,20 - LTEXT "Util7296, Version 1.0",IDC_STATIC,42,14,114,8,SS_NOPREFIX - LTEXT "Copyright (C) 2010",IDC_STATIC,42,26,114,8 - DEFPUSHBUTTON "OK",IDOK,113,41,50,14,WS_GROUP -END - -IDD_UTIL7296_DIALOG DIALOGEX 0, 0, 673, 229 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU -EXSTYLE WS_EX_APPWINDOW -CAPTION " PCI-7296" -FONT 8, "MS Shell Dlg", 0, 0, 0x1 -BEGIN - ICON IDI_ICON_BLACK,IDC_ICON_PC0,617,44,21,20 - ICON IDI_ICON_BLACK,IDC_ICON_PC1,593,44,21,20 - ICON IDI_ICON_BLACK,IDC_ICON_PC2,569,44,21,20 - ICON IDI_ICON_BLACK,IDC_ICON_PC3,545,44,21,20 - ICON IDI_ICON_BLACK,IDC_ICON_PC4,305,44,21,20 - ICON IDI_ICON_BLACK,IDC_ICON_PC5,281,44,21,20 - ICON IDI_ICON_BLACK,IDC_ICON_PC6,257,44,21,20 - ICON IDI_ICON_BLACK,IDC_ICON_PC7,233,44,21,20 - ICON IDI_ICON_BLACK,IDC_ICON_PB0,509,44,21,20 - ICON IDI_ICON_BLACK,IDC_ICON_PB1,485,44,21,20 - ICON IDI_ICON_BLACK,IDC_ICON_PB2,461,44,21,20 - ICON IDI_ICON_BLACK,IDC_ICON_PB3,437,44,21,20 - ICON IDI_ICON_BLACK,IDC_ICON_PB4,413,44,21,20 - ICON IDI_ICON_BLACK,IDC_ICON_PB5,389,44,21,20 - ICON IDI_ICON_BLACK,IDC_ICON_PB6,365,44,21,20 - ICON IDI_ICON_BLACK,IDC_ICON_PB7,341,44,21,20 - ICON IDI_ICON_BLACK,IDC_ICON_PA0,197,44,21,20 - ICON IDI_ICON_BLACK,IDC_ICON_PA1,173,44,21,20 - ICON IDI_ICON_BLACK,IDC_ICON_PA2,149,44,21,20 - ICON IDI_ICON_BLACK,IDC_ICON_PA3,125,44,21,20 - ICON IDI_ICON_BLACK,IDC_ICON_PA4,101,44,21,20 - ICON IDI_ICON_BLACK,IDC_ICON_PA5,77,44,21,20 - ICON IDI_ICON_BLACK,IDC_ICON_PA6,53,44,21,20 - GROUPBOX "Port C (Lower)",IDC_STATIC,539,32,108,36 - GROUPBOX "Port C (Upper)",IDC_STATIC,227,32,108,36 - GROUPBOX "Port B",IDC_STATIC,335,32,204,36 - GROUPBOX "Port A",IDC_STATIC,23,32,204,36 - ICON IDI_ICON_BLACK,IDC_ICON_PA7,29,44,21,20 - CONTROL "",IDC_CHECK_PC0,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,630,156,21,20 - CONTROL "",IDC_CHECK_PC1,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,606,156,21,20 - CONTROL "",IDC_CHECK_PC2,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,582,156,21,20 - CONTROL "",IDC_CHECK_PC3,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,558,156,21,20 - CONTROL "",IDC_CHECK_PC4,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,312,156,21,20 - CONTROL "",IDC_CHECK_PC5,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,288,156,21,20 - CONTROL "",IDC_CHECK_PC6,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,264,156,21,20 - CONTROL "",IDC_CHECK_PC7,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,240,156,21,20 - CONTROL "",IDC_CHECK_PB0,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,516,156,21,20 - CONTROL "",IDC_CHECK_PB1,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,492,156,21,20 - CONTROL "",IDC_CHECK_PB2,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,468,156,21,20 - CONTROL "",IDC_CHECK_PB3,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,444,156,21,20 - CONTROL "",IDC_CHECK_PB4,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,420,156,21,20 - CONTROL "",IDC_CHECK_PB5,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,396,156,21,20 - CONTROL "",IDC_CHECK_PB6,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,372,156,21,20 - CONTROL "",IDC_CHECK_PB7,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,348,156,21,20 - CONTROL "",IDC_CHECK_PA0,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,204,156,21,20 - CONTROL "",IDC_CHECK_PA1,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,180,156,21,20 - CONTROL "",IDC_CHECK_PA2,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,156,156,21,20 - CONTROL "",IDC_CHECK_PA3,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,132,156,21,20 - CONTROL "",IDC_CHECK_PA4,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,108,156,21,20 - CONTROL "",IDC_CHECK_PA5,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,84,156,21,20 - CONTROL "",IDC_CHECK_PA6,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,60,156,21,20 - CONTROL "",IDC_CHECK_PA7,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,36,156,21,20 - GROUPBOX "Port A",IDC_STATIC,24,144,204,36 - GROUPBOX "Port C (Upper)",IDC_STATIC,228,144,108,36 - GROUPBOX "Port B",IDC_STATIC,336,144,204,36 - GROUPBOX "Port C (Lower)",IDC_STATIC,540,144,108,36 - COMBOBOX IDC_COMBO_IN_PA,113,76,108,18,CBS_DROPDOWN | WS_VSCROLL | WS_TABSTOP - COMBOBOX IDC_COMBO_OUT_PA,114,187,108,18,CBS_DROPDOWN | WS_VSCROLL | WS_TABSTOP - COMBOBOX IDC_COMBO_IN_PCH,227,76,108,18,CBS_DROPDOWN | WS_VSCROLL | WS_TABSTOP - COMBOBOX IDC_COMBO_OUT_PCH,228,187,108,18,CBS_DROPDOWN | WS_VSCROLL | WS_TABSTOP - COMBOBOX IDC_COMBO_IN_PB,425,76,108,18,CBS_DROPDOWN | WS_VSCROLL | WS_TABSTOP - COMBOBOX IDC_COMBO_OUT_PB,426,187,108,18,CBS_DROPDOWN | WS_VSCROLL | WS_TABSTOP - COMBOBOX IDC_COMBO_IN_PCL,539,76,108,18,CBS_DROPDOWN | WS_VSCROLL | WS_TABSTOP - COMBOBOX IDC_COMBO_OUT_PCL,540,187,108,18,CBS_DROPDOWN | WS_VSCROLL | WS_TABSTOP - LTEXT "OUTPUT PORTS:",IDC_LABEL_OUTPUT,18,132,57,13 - LTEXT "INPUT PORTS:",IDC_LABEL_INPUT2,15,21,57,13 -END - -IDD_CARDID_DIALOG DIALOGEX 0, 0, 187, 99 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "Card ID" -FONT 8, "MS Shell Dlg", 400, 0, 0x1 -BEGIN - COMBOBOX IDC_COMBO_CARDID,83,24,71,126,CBS_DROPDOWN | WS_VSCROLL | WS_TABSTOP - LTEXT "Card Number",IDC_STATIC_01,29,25,46,12 - PUSHBUTTON "OK",IDOK,30,57,58,19 - PUSHBUTTON "CANCEL",IDCANCEL,94,57,58,19 -END - - -///////////////////////////////////////////////////////////////////////////// -// -// Version -// - -VS_VERSION_INFO VERSIONINFO - FILEVERSION 1,0,0,1 - PRODUCTVERSION 1,0,0,1 - FILEFLAGSMASK 0x3fL -#ifdef _DEBUG - FILEFLAGS 0x1L -#else - FILEFLAGS 0x0L -#endif - FILEOS 0x4L - FILETYPE 0x1L - FILESUBTYPE 0x0L -BEGIN - BLOCK "StringFileInfo" - BEGIN - BLOCK "040904e4" - BEGIN - VALUE "CompanyName", "TODO: " - VALUE "FileDescription", "TODO: " - VALUE "FileVersion", "1.0.0.1" - VALUE "InternalName", "Util7296.exe" - VALUE "LegalCopyright", "TODO: (c) . All rights reserved." - VALUE "OriginalFilename", "Util7296.exe" - VALUE "ProductName", "TODO: " - VALUE "ProductVersion", "1.0.0.1" - END - END - BLOCK "VarFileInfo" - BEGIN - VALUE "Translation", 0x409, 1252 - END -END - - -///////////////////////////////////////////////////////////////////////////// -// -// DESIGNINFO -// - -#ifdef APSTUDIO_INVOKED -GUIDELINES DESIGNINFO -BEGIN - IDD_ABOUTBOX, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 163 - TOPMARGIN, 7 - BOTTOMMARGIN, 55 - END - - IDD_UTIL7296_DIALOG, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 666 - TOPMARGIN, 7 - BOTTOMMARGIN, 222 - END - - IDD_CARDID_DIALOG, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 180 - TOPMARGIN, 7 - BOTTOMMARGIN, 92 - END -END -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog Info -// - -IDD_CARDID_DIALOG DLGINIT -BEGIN - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0030, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0031, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0032, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0033, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0034, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0035, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0036, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0037, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0038, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0039, - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3031, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3131, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3231, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3331, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3431, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3531, "\000" - 0 -END - -IDD_UTIL7296_DIALOG DLGINIT -BEGIN - IDC_COMBO_IN_PA, 0x403, 12, 0 -0x6843, 0x6e61, 0x656e, 0x5f6c, 0x3150, 0x0041, - IDC_COMBO_IN_PA, 0x403, 12, 0 -0x6843, 0x6e61, 0x656e, 0x5f6c, 0x3250, 0x0041, - IDC_COMBO_IN_PA, 0x403, 12, 0 -0x6843, 0x6e61, 0x656e, 0x5f6c, 0x3350, 0x0041, - IDC_COMBO_IN_PA, 0x403, 12, 0 -0x6843, 0x6e61, 0x656e, 0x5f6c, 0x3450, 0x0041, - IDC_COMBO_OUT_PA, 0x403, 12, 0 -0x6843, 0x6e61, 0x656e, 0x5f6c, 0x3150, 0x0041, - IDC_COMBO_OUT_PA, 0x403, 12, 0 -0x6843, 0x6e61, 0x656e, 0x5f6c, 0x3250, 0x0041, - IDC_COMBO_OUT_PA, 0x403, 12, 0 -0x6843, 0x6e61, 0x656e, 0x5f6c, 0x3350, 0x0041, - IDC_COMBO_OUT_PA, 0x403, 12, 0 -0x6843, 0x6e61, 0x656e, 0x5f6c, 0x3450, 0x0041, - IDC_COMBO_IN_PCH, 0x403, 13, 0 -0x6843, 0x6e61, 0x656e, 0x5f6c, 0x3150, 0x4843, "\000" - IDC_COMBO_IN_PCH, 0x403, 13, 0 -0x6843, 0x6e61, 0x656e, 0x5f6c, 0x3250, 0x4843, "\000" - IDC_COMBO_IN_PCH, 0x403, 13, 0 -0x6843, 0x6e61, 0x656e, 0x5f6c, 0x3350, 0x4843, "\000" - IDC_COMBO_IN_PCH, 0x403, 13, 0 -0x6843, 0x6e61, 0x656e, 0x5f6c, 0x3450, 0x4843, "\000" - IDC_COMBO_OUT_PCH, 0x403, 13, 0 -0x6843, 0x6e61, 0x656e, 0x5f6c, 0x3150, 0x4843, "\000" - IDC_COMBO_OUT_PCH, 0x403, 13, 0 -0x6843, 0x6e61, 0x656e, 0x5f6c, 0x3250, 0x4843, "\000" - IDC_COMBO_OUT_PCH, 0x403, 13, 0 -0x6843, 0x6e61, 0x656e, 0x5f6c, 0x3350, 0x4843, "\000" - IDC_COMBO_OUT_PCH, 0x403, 13, 0 -0x6843, 0x6e61, 0x656e, 0x5f6c, 0x3450, 0x4843, "\000" - IDC_COMBO_IN_PB, 0x403, 12, 0 -0x6843, 0x6e61, 0x656e, 0x5f6c, 0x3150, 0x0042, - IDC_COMBO_IN_PB, 0x403, 12, 0 -0x6843, 0x6e61, 0x656e, 0x5f6c, 0x3250, 0x0042, - IDC_COMBO_IN_PB, 0x403, 12, 0 -0x6843, 0x6e61, 0x656e, 0x5f6c, 0x3350, 0x0042, - IDC_COMBO_IN_PB, 0x403, 12, 0 -0x6843, 0x6e61, 0x656e, 0x5f6c, 0x3450, 0x0042, - IDC_COMBO_OUT_PB, 0x403, 12, 0 -0x6843, 0x6e61, 0x656e, 0x5f6c, 0x3150, 0x0042, - IDC_COMBO_OUT_PB, 0x403, 12, 0 -0x6843, 0x6e61, 0x656e, 0x5f6c, 0x3250, 0x0042, - IDC_COMBO_OUT_PB, 0x403, 12, 0 -0x6843, 0x6e61, 0x656e, 0x5f6c, 0x3350, 0x0042, - IDC_COMBO_OUT_PB, 0x403, 12, 0 -0x6843, 0x6e61, 0x656e, 0x5f6c, 0x3450, 0x0042, - IDC_COMBO_IN_PCL, 0x403, 13, 0 -0x6843, 0x6e61, 0x656e, 0x5f6c, 0x3150, 0x4c43, "\000" - IDC_COMBO_IN_PCL, 0x403, 13, 0 -0x6843, 0x6e61, 0x656e, 0x5f6c, 0x3250, 0x4c43, "\000" - IDC_COMBO_IN_PCL, 0x403, 13, 0 -0x6843, 0x6e61, 0x656e, 0x5f6c, 0x3350, 0x4c43, "\000" - IDC_COMBO_IN_PCL, 0x403, 13, 0 -0x6843, 0x6e61, 0x656e, 0x5f6c, 0x3450, 0x4c43, "\000" - IDC_COMBO_OUT_PCL, 0x403, 13, 0 -0x6843, 0x6e61, 0x656e, 0x5f6c, 0x3150, 0x4c43, "\000" - IDC_COMBO_OUT_PCL, 0x403, 13, 0 -0x6843, 0x6e61, 0x656e, 0x5f6c, 0x3250, 0x4c43, "\000" - IDC_COMBO_OUT_PCL, 0x403, 13, 0 -0x6843, 0x6e61, 0x656e, 0x5f6c, 0x3350, 0x4c43, "\000" - IDC_COMBO_OUT_PCL, 0x403, 13, 0 -0x6843, 0x6e61, 0x656e, 0x5f6c, 0x3450, 0x4c43, "\000" - 0 -END - - -///////////////////////////////////////////////////////////////////////////// -// -// String Table -// - -STRINGTABLE -BEGIN - IDS_ABOUTBOX "&About Util7296..." -END - -#endif // English (U.S.) resources -///////////////////////////////////////////////////////////////////////////// - - - -#ifndef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 3 resource. -// -#define _AFX_NO_SPLITTER_RESOURCES -#define _AFX_NO_OLE_RESOURCES -#define _AFX_NO_TRACKER_RESOURCES -#define _AFX_NO_PROPERTY_RESOURCES - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -LANGUAGE 9, 1 -#pragma code_page(1252) -#include "res\Util7296.rc2" // non-Microsoft Visual C++ edited resources -#include "afxres.rc" // Standard components -#endif - -///////////////////////////////////////////////////////////////////////////// -#endif // not APSTUDIO_INVOKED - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7296/SDK7296/Util7296.sln b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7296/SDK7296/Util7296.sln deleted file mode 100644 index 3f258fc..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7296/SDK7296/Util7296.sln +++ /dev/null @@ -1,26 +0,0 @@ - -Microsoft Visual Studio Solution File, Format Version 10.00 -# Visual Studio 2008 -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "Util7296", "Util7296.vcproj", "{11C93783-381B-4560-B7FD-30502B5982B5}" -EndProject -Global - GlobalSection(SolutionConfigurationPlatforms) = preSolution - Debug|Win32 = Debug|Win32 - Debug|x64 = Debug|x64 - Release|Win32 = Release|Win32 - Release|x64 = Release|x64 - EndGlobalSection - GlobalSection(ProjectConfigurationPlatforms) = postSolution - {11C93783-381B-4560-B7FD-30502B5982B5}.Debug|Win32.ActiveCfg = Debug|Win32 - {11C93783-381B-4560-B7FD-30502B5982B5}.Debug|Win32.Build.0 = Debug|Win32 - {11C93783-381B-4560-B7FD-30502B5982B5}.Debug|x64.ActiveCfg = Debug|x64 - {11C93783-381B-4560-B7FD-30502B5982B5}.Debug|x64.Build.0 = Debug|x64 - {11C93783-381B-4560-B7FD-30502B5982B5}.Release|Win32.ActiveCfg = Release|Win32 - {11C93783-381B-4560-B7FD-30502B5982B5}.Release|Win32.Build.0 = Release|Win32 - {11C93783-381B-4560-B7FD-30502B5982B5}.Release|x64.ActiveCfg = Release|x64 - {11C93783-381B-4560-B7FD-30502B5982B5}.Release|x64.Build.0 = Release|x64 - EndGlobalSection - GlobalSection(SolutionProperties) = preSolution - HideSolutionNode = FALSE - EndGlobalSection -EndGlobal diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7296/SDK7296/Util7296.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7296/SDK7296/Util7296.suo deleted file mode 100644 index 5ff6e2e..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7296/SDK7296/Util7296.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7296/SDK7296/Util7296.vcproj b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7296/SDK7296/Util7296.vcproj deleted file mode 100644 index 8e76651..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7296/SDK7296/Util7296.vcproj +++ /dev/null @@ -1,487 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7296/SDK7296/Util7296Dlg.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7296/SDK7296/Util7296Dlg.cpp deleted file mode 100644 index 4cd7811..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7296/SDK7296/Util7296Dlg.cpp +++ /dev/null @@ -1,1582 +0,0 @@ - -// Util7296Dlg.cpp : implementation file -// - -#include "stdafx.h" -#include "Util7296.h" -#include "Util7296Dlg.h" - -#ifdef _DEBUG -#define new DEBUG_NEW -#endif - - -// CAboutDlg dialog used for App About - -class CAboutDlg : public CDialog -{ -public: - CAboutDlg(); - -// Dialog Data - enum { IDD = IDD_ABOUTBOX }; - - protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - -// Implementation -protected: - DECLARE_MESSAGE_MAP() -}; - -CAboutDlg::CAboutDlg() : CDialog(CAboutDlg::IDD) -{ -} - -void CAboutDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); -} - -BEGIN_MESSAGE_MAP(CAboutDlg, CDialog) -END_MESSAGE_MAP() - - -// CUtil7296Dlg dialog - - - - -CUtil7296Dlg::CUtil7296Dlg(I16 hCard, CWnd* pParent /*=NULL*/) - : CDialog(CUtil7296Dlg::IDD, pParent) -{ - m_hIcon = AfxGetApp()->LoadIcon(IDR_MAINFRAME); - - m_InPortA = Channel_P1A; - m_OutPortA = Channel_P2A; - m_InPortB = Channel_P1B; - m_OutPortB = Channel_P2B; - m_InPortCL = Channel_P1CL; - m_OutPortCL = Channel_P2CL; - m_InPortCH = Channel_P1CH; - m_OutPortCH = Channel_P2CH; - - m_InDataPortA = 0x00; - m_OutDataPortA = 0x00; - m_InDataPortB = 0x00; - m_OutDataPortB = 0x00; - m_InDataPortCL = 0x00; - m_OutDataPortCL = 0x00; - m_InDataPortCH = 0x00; - m_OutDataPortCH = 0x00; - - m_hCard = hCard; - m_nTimer = -1; -} - -void CUtil7296Dlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); - DDX_Control(pDX, IDC_ICON_PC0, m_Icon_PC0); - DDX_Control(pDX, IDC_ICON_PC1, m_Icon_PC1); - DDX_Control(pDX, IDC_ICON_PC2, m_Icon_PC2); - DDX_Control(pDX, IDC_ICON_PC3, m_Icon_PC3); - DDX_Control(pDX, IDC_ICON_PC4, m_Icon_PC4); - DDX_Control(pDX, IDC_ICON_PC5, m_Icon_PC5); - DDX_Control(pDX, IDC_ICON_PC6, m_Icon_PC6); - DDX_Control(pDX, IDC_ICON_PC7, m_Icon_PC7); - DDX_Control(pDX, IDC_ICON_PB0, m_Icon_PB0); - DDX_Control(pDX, IDC_ICON_PB1, m_Icon_PB1); - DDX_Control(pDX, IDC_ICON_PB2, m_Icon_PB2); - DDX_Control(pDX, IDC_ICON_PB3, m_Icon_PB3); - DDX_Control(pDX, IDC_ICON_PB4, m_Icon_PB4); - DDX_Control(pDX, IDC_ICON_PB5, m_Icon_PB5); - DDX_Control(pDX, IDC_ICON_PB6, m_Icon_PB6); - DDX_Control(pDX, IDC_ICON_PB7, m_Icon_PB7); - DDX_Control(pDX, IDC_ICON_PA0, m_Icon_PA0); - DDX_Control(pDX, IDC_ICON_PA1, m_Icon_PA1); - DDX_Control(pDX, IDC_ICON_PA2, m_Icon_PA2); - DDX_Control(pDX, IDC_ICON_PA3, m_Icon_PA3); - DDX_Control(pDX, IDC_ICON_PA4, m_Icon_PA4); - DDX_Control(pDX, IDC_ICON_PA5, m_Icon_PA5); - DDX_Control(pDX, IDC_ICON_PA6, m_Icon_PA6); - DDX_Control(pDX, IDC_ICON_PA7, m_Icon_PA7); - DDX_Control(pDX, IDC_COMBO_IN_PA, m_cbPortAIn); - DDX_Control(pDX, IDC_COMBO_IN_PB, m_cbPortBIn); - DDX_Control(pDX, IDC_COMBO_IN_PCL, m_cbPortCLIn); - DDX_Control(pDX, IDC_COMBO_IN_PCH, m_cbPortCHIn); - DDX_Control(pDX, IDC_COMBO_OUT_PA, m_cbPortAOut); - DDX_Control(pDX, IDC_COMBO_OUT_PB, m_cbPortBOut); - DDX_Control(pDX, IDC_COMBO_OUT_PCL, m_cbPortCLOut); - DDX_Control(pDX, IDC_COMBO_OUT_PCH, m_cbPortCHOut); -} - -BEGIN_MESSAGE_MAP(CUtil7296Dlg, CDialog) - ON_WM_SYSCOMMAND() - ON_WM_PAINT() - ON_WM_QUERYDRAGICON() - //}}AFX_MSG_MAP - ON_CBN_SELCHANGE(IDC_COMBO_IN_PA, &CUtil7296Dlg::OnInPASelchange) - ON_CBN_SELCHANGE(IDC_COMBO_OUT_PA, &CUtil7296Dlg::OnOutPASelchange) - ON_CBN_SELCHANGE(IDC_COMBO_IN_PB, &CUtil7296Dlg::OnInPBSelchange) - ON_CBN_SELCHANGE(IDC_COMBO_OUT_PB, &CUtil7296Dlg::OnOutPBSelchange) - ON_CBN_SELCHANGE(IDC_COMBO_IN_PCH, &CUtil7296Dlg::OnInPCHSelchange) - ON_CBN_SELCHANGE(IDC_COMBO_OUT_PCH, &CUtil7296Dlg::OnOutPCHSelchange) - ON_CBN_SELCHANGE(IDC_COMBO_IN_PCL, &CUtil7296Dlg::OnInPCLSelchange) - ON_CBN_SELCHANGE(IDC_COMBO_OUT_PCL, &CUtil7296Dlg::OnOutPCLSelchange) - ON_WM_DESTROY() - ON_WM_TIMER() - ON_BN_CLICKED(IDC_CHECK_PC0, &CUtil7296Dlg::OnOutputPC0) - ON_BN_CLICKED(IDC_CHECK_PC1, &CUtil7296Dlg::OnOutputPC1) - ON_BN_CLICKED(IDC_CHECK_PC2, &CUtil7296Dlg::OnOutputPC2) - ON_BN_CLICKED(IDC_CHECK_PC3, &CUtil7296Dlg::OnOutputPC3) - ON_BN_CLICKED(IDC_CHECK_PC4, &CUtil7296Dlg::OnOutputPC4) - ON_BN_CLICKED(IDC_CHECK_PC5, &CUtil7296Dlg::OnOutputPC5) - ON_BN_CLICKED(IDC_CHECK_PC6, &CUtil7296Dlg::OnOutputPC6) - ON_BN_CLICKED(IDC_CHECK_PC7, &CUtil7296Dlg::OnOutputPC7) - ON_BN_CLICKED(IDC_CHECK_PB0, &CUtil7296Dlg::OnOutputPB0) - ON_BN_CLICKED(IDC_CHECK_PB1, &CUtil7296Dlg::OnOutputPB1) - ON_BN_CLICKED(IDC_CHECK_PB2, &CUtil7296Dlg::OnOutputPB2) - ON_BN_CLICKED(IDC_CHECK_PB3, &CUtil7296Dlg::OnOutputPB3) - ON_BN_CLICKED(IDC_CHECK_PB4, &CUtil7296Dlg::OnOutputPB4) - ON_BN_CLICKED(IDC_CHECK_PB5, &CUtil7296Dlg::OnOutputPB5) - ON_BN_CLICKED(IDC_CHECK_PB6, &CUtil7296Dlg::OnOutputPB6) - ON_BN_CLICKED(IDC_CHECK_PB7, &CUtil7296Dlg::OnOutputPB7) - ON_BN_CLICKED(IDC_CHECK_PA0, &CUtil7296Dlg::OnOutputPA0) - ON_BN_CLICKED(IDC_CHECK_PA1, &CUtil7296Dlg::OnOutputPA1) - ON_BN_CLICKED(IDC_CHECK_PA2, &CUtil7296Dlg::OnOutputPA2) - ON_BN_CLICKED(IDC_CHECK_PA3, &CUtil7296Dlg::OnOutputPA3) - ON_BN_CLICKED(IDC_CHECK_PA4, &CUtil7296Dlg::OnOutputPA4) - ON_BN_CLICKED(IDC_CHECK_PA5, &CUtil7296Dlg::OnOutputPA5) - ON_BN_CLICKED(IDC_CHECK_PA6, &CUtil7296Dlg::OnOutputPA6) - ON_BN_CLICKED(IDC_CHECK_PA7, &CUtil7296Dlg::OnOutputPA7) - ON_WM_CTLCOLOR() -END_MESSAGE_MAP() - - -// CUtil7296Dlg message handlers - -BOOL CUtil7296Dlg::OnInitDialog() -{ - CDialog::OnInitDialog(); - - // Add "About..." menu item to system menu. - - // IDM_ABOUTBOX must be in the system command range. - ASSERT((IDM_ABOUTBOX & 0xFFF0) == IDM_ABOUTBOX); - ASSERT(IDM_ABOUTBOX < 0xF000); - - CMenu* pSysMenu = GetSystemMenu(FALSE); - if (pSysMenu != NULL) - { - BOOL bNameValid; - CString strAboutMenu; - bNameValid = strAboutMenu.LoadString(IDS_ABOUTBOX); - ASSERT(bNameValid); - if (!strAboutMenu.IsEmpty()) - { - pSysMenu->AppendMenu(MF_SEPARATOR); - pSysMenu->AppendMenu(MF_STRING, IDM_ABOUTBOX, strAboutMenu); - } - } - - // Set the icon for this dialog. The framework does this automatically - // when the application's main window is not a dialog - SetIcon(m_hIcon, TRUE); // Set big icon - SetIcon(m_hIcon, FALSE); // Set small icon - - // TODO: Add extra initialization here - m_cbPortAIn.SetCurSel(0); - m_cbPortBIn.SetCurSel(0); - m_cbPortCLIn.SetCurSel(0); - m_cbPortCHIn.SetCurSel(0); - - m_cbPortAOut.SetCurSel(1); - m_cbPortBOut.SetCurSel(1); - m_cbPortCLOut.SetCurSel(1); - m_cbPortCHOut.SetCurSel(1); - - // Port Configuration - DIO_PortConfig(m_hCard, m_InPortA, INPUT_PORT); - DIO_PortConfig(m_hCard, m_OutPortA, OUTPUT_PORT); - DIO_PortConfig(m_hCard, m_InPortB, INPUT_PORT); - DIO_PortConfig(m_hCard, m_OutPortB, OUTPUT_PORT); - DIO_PortConfig(m_hCard, m_InPortCH, INPUT_PORT); - DIO_PortConfig(m_hCard, m_OutPortCH, OUTPUT_PORT); - DIO_PortConfig(m_hCard, m_InPortCL, INPUT_PORT); - DIO_PortConfig(m_hCard, m_OutPortCL, OUTPUT_PORT); - - DO_WritePort( m_hCard, m_OutPortA, m_OutDataPortA ); - DO_WritePort( m_hCard, m_OutPortB, m_OutDataPortB ); - DO_WritePort( m_hCard, m_OutPortCL, m_OutDataPortCL ); - DO_WritePort( m_hCard, m_OutPortCH, m_OutDataPortCH ); - - m_nTimer = SetTimer( 1, 250, NULL ); - - return TRUE; // return TRUE unless you set the focus to a control -} - -void CUtil7296Dlg::OnSysCommand(UINT nID, LPARAM lParam) -{ - if ((nID & 0xFFF0) == IDM_ABOUTBOX) - { - CAboutDlg dlgAbout; - dlgAbout.DoModal(); - } - else - { - CDialog::OnSysCommand(nID, lParam); - } -} - -// If you add a minimize button to your dialog, you will need the code below -// to draw the icon. For MFC applications using the document/view model, -// this is automatically done for you by the framework. - -void CUtil7296Dlg::OnPaint() -{ - if (IsIconic()) - { - CPaintDC dc(this); // device context for painting - - SendMessage(WM_ICONERASEBKGND, reinterpret_cast(dc.GetSafeHdc()), 0); - - // Center icon in client rectangle - int cxIcon = GetSystemMetrics(SM_CXICON); - int cyIcon = GetSystemMetrics(SM_CYICON); - CRect rect; - GetClientRect(&rect); - int x = (rect.Width() - cxIcon + 1) / 2; - int y = (rect.Height() - cyIcon + 1) / 2; - - // Draw the icon - dc.DrawIcon(x, y, m_hIcon); - } - else - { - CDialog::OnPaint(); - } -} - -// The system calls this function to obtain the cursor to display while the user drags -// the minimized window. -HCURSOR CUtil7296Dlg::OnQueryDragIcon() -{ - return static_cast(m_hIcon); -} - - -void CUtil7296Dlg::OnInPASelchange() -{ - // TODO: Add your control notification handler code here - U16 tmpInPA; - int nIndex; - - nIndex = m_cbPortAIn.GetCurSel(); - switch( nIndex ) - { - case 0: - tmpInPA = Channel_P1A; - break; - case 1: - tmpInPA = Channel_P2A; - break; - case 2: - tmpInPA = Channel_P3A; - break; - case 3: - tmpInPA = Channel_P4A; - break; - } - - if( tmpInPA == m_OutPortA ) - { - - AfxMessageBox( TEXT(" The Port had been configured as Output-Mode ") ); - // restore the sellection of ComboBox - switch( m_InPortA ) - { - case Channel_P1A: - nIndex = 0; - break; - case Channel_P2A: - nIndex = 1; - break; - case Channel_P3A: - nIndex = 2; - break; - case Channel_P4A: - nIndex = 3; - break; - } - - m_cbPortAIn.SetCurSel( nIndex ); - - } - else - { - if( tmpInPA != m_InPortA ) - { // update m_InPortA and configure the target Port - m_InPortA = tmpInPA; - - DIO_PortConfig(m_hCard, m_InPortA, INPUT_PORT); - } - } - - -} - -void CUtil7296Dlg::OnOutPASelchange() -{ - // TODO: Add your control notification handler code here - U16 tmpOutPA; - int nIndex; - - nIndex = m_cbPortAOut.GetCurSel(); - switch( nIndex ) - { - case 0: - tmpOutPA = Channel_P1A; - break; - case 1: - tmpOutPA = Channel_P2A; - break; - case 2: - tmpOutPA = Channel_P3A; - break; - case 3: - tmpOutPA = Channel_P4A; - break; - } - - if( tmpOutPA == m_InPortA ) - { - - AfxMessageBox( TEXT(" The Port had been configured as Input-Mode ") ); - // restore the sellection of ComboBox - switch( m_OutPortA ) - { - case Channel_P1A: - nIndex = 0; - break; - case Channel_P2A: - nIndex = 1; - break; - case Channel_P3A: - nIndex = 2; - break; - case Channel_P4A: - nIndex = 3; - break; - } - - m_cbPortAOut.SetCurSel( nIndex ); - - } - else - { - if( tmpOutPA != m_OutPortA ) - { // update m_InPortA and configure the target Port - m_OutPortA = tmpOutPA; - - DIO_PortConfig(m_hCard, m_OutPortA, OUTPUT_PORT); - // reset Output data - m_OutDataPortA = 0x00; - } - } - -} - -void CUtil7296Dlg::OnInPBSelchange() -{ - // TODO: Add your control notification handler code here - U16 tmpInPB; - int nIndex; - - nIndex = m_cbPortBIn.GetCurSel(); - switch( nIndex ) - { - case 0: - tmpInPB = Channel_P1B; - break; - case 1: - tmpInPB = Channel_P2B; - break; - case 2: - tmpInPB = Channel_P3B; - break; - case 3: - tmpInPB = Channel_P4B; - break; - } - - if( tmpInPB == m_OutPortB ) - { - - AfxMessageBox( TEXT(" The Port had been configured as Output-Mode ") ); - // restore the sellection of ComboBox - switch( m_InPortB ) - { - case Channel_P1B: - nIndex = 0; - break; - case Channel_P2B: - nIndex = 1; - break; - case Channel_P3B: - nIndex = 2; - break; - case Channel_P4B: - nIndex = 3; - break; - } - - m_cbPortBIn.SetCurSel( nIndex ); - - } - else - { - if( tmpInPB != m_InPortB ) - { // update m_InPortA and configure the target Port - m_InPortB = tmpInPB; - - DIO_PortConfig(m_hCard, m_InPortB, INPUT_PORT); - } - } -} - -void CUtil7296Dlg::OnOutPBSelchange() -{ - // TODO: Add your control notification handler code here - U16 tmpOutPB; - int nIndex; - - nIndex = m_cbPortBOut.GetCurSel(); - switch( nIndex ) - { - case 0: - tmpOutPB = Channel_P1B; - break; - case 1: - tmpOutPB = Channel_P2B; - break; - case 2: - tmpOutPB = Channel_P3B; - break; - case 3: - tmpOutPB = Channel_P4B; - break; - } - - if( tmpOutPB == m_InPortB ) - { - - AfxMessageBox( TEXT(" The Port had been configured as Input-Mode ") ); - // restore the sellection of ComboBox - switch( m_OutPortB ) - { - case Channel_P1B: - nIndex = 0; - break; - case Channel_P2B: - nIndex = 1; - break; - case Channel_P3B: - nIndex = 2; - break; - case Channel_P4B: - nIndex = 3; - break; - } - - m_cbPortBOut.SetCurSel( nIndex ); - - } - else - { - if( tmpOutPB != m_OutPortB ) - { // update m_InPortA and configure the target Port - m_OutPortB = tmpOutPB; - - DIO_PortConfig(m_hCard, m_OutPortB, OUTPUT_PORT); - // reset Output data - m_OutDataPortB = 0x00; - - } - } -} - -void CUtil7296Dlg::OnInPCHSelchange() -{ - // TODO: Add your control notification handler code here - U16 tmpInPCH; - int nIndex; - - nIndex = m_cbPortCHIn.GetCurSel(); - switch( nIndex ) - { - case 0: - tmpInPCH = Channel_P1CH; - break; - case 1: - tmpInPCH = Channel_P2CH; - break; - case 2: - tmpInPCH = Channel_P3CH; - break; - case 3: - tmpInPCH = Channel_P4CH; - break; - } - - if( tmpInPCH == m_OutPortCH ) - { - - AfxMessageBox( TEXT(" The Port had been configured as Output-Mode ") ); - // restore the sellection of ComboBox - switch( m_InPortCH ) - { - case Channel_P1CH: - nIndex = 0; - break; - case Channel_P2CH: - nIndex = 1; - break; - case Channel_P3CH: - nIndex = 2; - break; - case Channel_P4CH: - nIndex = 3; - break; - } - - m_cbPortCHIn.SetCurSel( nIndex ); - - } - else - { - if( tmpInPCH != m_InPortCH ) - { // update m_InPortA and configure the target Port - m_InPortCH = tmpInPCH; - - DIO_PortConfig(m_hCard, m_InPortCH, INPUT_PORT); - } - } -} - -void CUtil7296Dlg::OnOutPCHSelchange() -{ - // TODO: Add your control notification handler code here - U16 tmpOutPCH; - int nIndex; - - nIndex = m_cbPortCHOut.GetCurSel(); - switch( nIndex ) - { - case 0: - tmpOutPCH = Channel_P1CH; - break; - case 1: - tmpOutPCH = Channel_P2CH; - break; - case 2: - tmpOutPCH = Channel_P3CH; - break; - case 3: - tmpOutPCH = Channel_P4CH; - break; - } - - if( tmpOutPCH == m_InPortCH ) - { - - AfxMessageBox( TEXT(" The Port had been configured as Input-Mode ") ); - // restore the sellection of ComboBox - switch( m_OutPortCH ) - { - case Channel_P1CH: - nIndex = 0; - break; - case Channel_P2CH: - nIndex = 1; - break; - case Channel_P3CH: - nIndex = 2; - break; - case Channel_P4CH: - nIndex = 3; - break; - } - - m_cbPortCHOut.SetCurSel( nIndex ); - - } - else - { - if( tmpOutPCH != m_OutPortCH ) - { // update m_InPortA and configure the target Port - m_OutPortCH = tmpOutPCH; - - DIO_PortConfig(m_hCard, m_OutPortCH, OUTPUT_PORT); - // reset Output data - m_OutDataPortCH = 0x00; - - } - } -} - -void CUtil7296Dlg::OnInPCLSelchange() -{ - // TODO: Add your control notification handler code here - U16 tmpInPCL; - int nIndex; - - nIndex = m_cbPortCLIn.GetCurSel(); - switch( nIndex ) - { - case 0: - tmpInPCL = Channel_P1CL; - break; - case 1: - tmpInPCL = Channel_P2CL; - break; - case 2: - tmpInPCL = Channel_P3CL; - break; - case 3: - tmpInPCL = Channel_P4CL; - break; - } - - if( tmpInPCL == m_OutPortCL ) - { - - AfxMessageBox( TEXT(" The Port had been configured as Output-Mode ") ); - // restore the sellection of ComboBox - switch( m_InPortCL ) - { - case Channel_P1CL: - nIndex = 0; - break; - case Channel_P2CL: - nIndex = 1; - break; - case Channel_P3CL: - nIndex = 2; - break; - case Channel_P4CL: - nIndex = 3; - break; - } - - m_cbPortCLIn.SetCurSel( nIndex ); - - } - else - { - if( tmpInPCL != m_InPortCL ) - { // update m_InPortA and configure the target Port - m_InPortCL = tmpInPCL; - - DIO_PortConfig(m_hCard, m_InPortCL, INPUT_PORT); - } - } -} - -void CUtil7296Dlg::OnOutPCLSelchange() -{ - // TODO: Add your control notification handler code here - U16 tmpOutPCL; - int nIndex; - - nIndex = m_cbPortCLOut.GetCurSel(); - switch( nIndex ) - { - case 0: - tmpOutPCL = Channel_P1CL; - break; - case 1: - tmpOutPCL = Channel_P2CL; - break; - case 2: - tmpOutPCL = Channel_P3CL; - break; - case 3: - tmpOutPCL = Channel_P4CL; - break; - } - - if( tmpOutPCL == m_InPortCL ) - { - - AfxMessageBox( TEXT(" The Port had been configured as Input-Mode ") ); - // restore the sellection of ComboBox - switch( m_OutPortCL ) - { - case Channel_P1CL: - nIndex = 0; - break; - case Channel_P2CL: - nIndex = 1; - break; - case Channel_P3CL: - nIndex = 2; - break; - case Channel_P4CL: - nIndex = 3; - break; - } - - m_cbPortCLOut.SetCurSel( nIndex ); - - } - else - { - if( tmpOutPCL != m_OutPortCL ) - { // update m_InPortA and configure the target Port - m_OutPortCL = tmpOutPCL; - - DIO_PortConfig(m_hCard, m_OutPortCL, OUTPUT_PORT); - // reset Output data - m_OutDataPortCL = 0x00; - } - } -} - -void CUtil7296Dlg::OnDestroy() -{ - CDialog::OnDestroy(); - - // TODO: Add your message handler code here - if( m_nTimer != -1 ) - { - KillTimer( m_nTimer ); - m_nTimer = -1; - } -} - -void CUtil7296Dlg::OnTimer(UINT_PTR nIDEvent) -{ - // TODO: Add your message handler code here and/or call default - - U32 dwPortData,dwChangeMask; - - - // process the InData of PortA - DI_ReadPort( m_hCard, m_InPortA, &dwPortData); - dwChangeMask = dwPortData ^ m_InDataPortA; - - if( dwChangeMask != 0x00 ) // Input had been changed - { - - m_InDataPortA = dwPortData; - - if( (dwChangeMask & 0x01) == 0x01 ) // if the target bit is changed - { - if( (dwPortData & 0x01) == 0x01 ) - { - m_Icon_PA0.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_PA0.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - - if( (dwChangeMask & 0x02) == 0x02 ) // if the target bit is changed - { - if( (dwPortData & 0x02) == 0x02 ) - { - m_Icon_PA1.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_PA1.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - if( (dwChangeMask & 0x04) == 0x04 ) // if the target bit is changed - { - if( (dwPortData & 0x04) == 0x04 ) - { - m_Icon_PA2.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_PA2.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - if( (dwChangeMask & 0x08) == 0x08 ) // if the target bit is changed - { - if( (dwPortData & 0x08) == 0x08 ) - { - m_Icon_PA3.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_PA3.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - if( (dwChangeMask & 0x10) == 0x10 ) // if the target bit is changed - { - if( (dwPortData & 0x10) == 0x10 ) - { - m_Icon_PA4.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_PA4.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - if( (dwChangeMask & 0x20) == 0x20 ) // if the target bit is changed - { - if( (dwPortData & 0x20) == 0x20 ) - { - m_Icon_PA5.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_PA5.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - if( (dwChangeMask & 0x40) == 0x40 ) // if the target bit is changed - { - if( (dwPortData & 0x40) == 0x40 ) - { - m_Icon_PA6.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_PA6.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - if( (dwChangeMask & 0x80) == 0x80 ) // if the target bit is changed - { - if( (dwPortData & 0x80) == 0x80 ) - { - m_Icon_PA7.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_PA7.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - - } - - - - // process the InData of PortB - DI_ReadPort( m_hCard, m_InPortB, &dwPortData); - dwChangeMask = dwPortData ^ m_InDataPortB; - - if( dwChangeMask != 0x00 ) // Input had been changed - { - - m_InDataPortB = dwPortData; - - if( (dwChangeMask & 0x01) == 0x01 ) // if the target bit is changed - { - if( (dwPortData & 0x01) == 0x01 ) - { - m_Icon_PB0.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_PB0.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - - if( (dwChangeMask & 0x02) == 0x02 ) // if the target bit is changed - { - if( (dwPortData & 0x02) == 0x02 ) - { - m_Icon_PB1.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_PB1.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - if( (dwChangeMask & 0x04) == 0x04 ) // if the target bit is changed - { - if( (dwPortData & 0x04) == 0x04 ) - { - m_Icon_PB2.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_PB2.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - if( (dwChangeMask & 0x08) == 0x08 ) // if the target bit is changed - { - if( (dwPortData & 0x08) == 0x08 ) - { - m_Icon_PB3.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_PB3.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - if( (dwChangeMask & 0x10) == 0x10 ) // if the target bit is changed - { - if( (dwPortData & 0x10) == 0x10 ) - { - m_Icon_PB4.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_PB4.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - if( (dwChangeMask & 0x20) == 0x20 ) // if the target bit is changed - { - if( (dwPortData & 0x20) == 0x20 ) - { - m_Icon_PB5.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_PB5.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - if( (dwChangeMask & 0x40) == 0x40 ) // if the target bit is changed - { - if( (dwPortData & 0x40) == 0x40 ) - { - m_Icon_PB6.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_PB6.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - if( (dwChangeMask & 0x80) == 0x80 ) // if the target bit is changed - { - if( (dwPortData & 0x80) == 0x80 ) - { - m_Icon_PB7.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_PB7.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - } - - - - // process the InData of PortC Lower - DI_ReadPort( m_hCard, m_InPortCL, &dwPortData); - dwChangeMask = dwPortData ^ m_InDataPortCL; - - if( dwChangeMask != 0x00 ) // Input had been changed - { - - m_InDataPortCL = dwPortData; - - if( (dwChangeMask & 0x01) == 0x01 ) // if the target bit is changed - { - if( (dwPortData & 0x01) == 0x01 ) - { - m_Icon_PC0.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_PC0.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - - if( (dwChangeMask & 0x02) == 0x02 ) // if the target bit is changed - { - if( (dwPortData & 0x02) == 0x02 ) - { - m_Icon_PC1.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_PC1.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - if( (dwChangeMask & 0x04) == 0x04 ) // if the target bit is changed - { - if( (dwPortData & 0x04) == 0x04 ) - { - m_Icon_PC2.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_PC2.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - if( (dwChangeMask & 0x08) == 0x08 ) // if the target bit is changed - { - if( (dwPortData & 0x08) == 0x08 ) - { - m_Icon_PC3.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_PC3.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - } - - - // process the InData of PortC Upper - DI_ReadPort( m_hCard, m_InPortCH, &dwPortData); - dwChangeMask = dwPortData ^ m_InDataPortCH; - - if( dwChangeMask != 0x00 ) // Input had been changed - { - - m_InDataPortCH = dwPortData; - - if( (dwChangeMask & 0x01) == 0x01 ) // if the target bit is changed - { - if( (dwPortData & 0x01) == 0x01 ) - { - m_Icon_PC4.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_PC4.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - if( (dwChangeMask & 0x02) == 0x02 ) // if the target bit is changed - { - if( (dwPortData & 0x02) == 0x02 ) - { - m_Icon_PC5.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_PC5.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - if( (dwChangeMask & 0x04) == 0x04 ) // if the target bit is changed - { - if( (dwPortData & 0x04) == 0x04 ) - { - m_Icon_PC6.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_PC6.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - if( (dwChangeMask & 0x08) == 0x08 ) // if the target bit is changed - { - if( (dwPortData & 0x08) == 0x08 ) - { - m_Icon_PC7.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_PC7.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - } - - - CDialog::OnTimer(nIDEvent); -} - -void CUtil7296Dlg::OnOutputPC0() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_PC0 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_OutDataPortCL |= 0x01; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_OutDataPortCL &= (~0x01); - } - - DO_WritePort( m_hCard, m_OutPortCL, m_OutDataPortCL ); - -} - -void CUtil7296Dlg::OnOutputPC1() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_PC1 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_OutDataPortCL |= 0x02; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_OutDataPortCL &= (~0x02); - } - - DO_WritePort( m_hCard, m_OutPortCL, m_OutDataPortCL ); -} - -void CUtil7296Dlg::OnOutputPC2() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_PC2 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_OutDataPortCL |= 0x04; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_OutDataPortCL &= (~0x04); - } - - DO_WritePort( m_hCard, m_OutPortCL, m_OutDataPortCL ); - -} - -void CUtil7296Dlg::OnOutputPC3() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_PC3 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_OutDataPortCL |= 0x08; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_OutDataPortCL &= (~0x08); - } - - DO_WritePort( m_hCard, m_OutPortCL, m_OutDataPortCL ); -} - -void CUtil7296Dlg::OnOutputPC4() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_PC4 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_OutDataPortCH |= 0x01; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_OutDataPortCH &= (~0x01); - } - - DO_WritePort( m_hCard, m_OutPortCH, m_OutDataPortCH ); - -} - -void CUtil7296Dlg::OnOutputPC5() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_PC5 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_OutDataPortCH |= 0x02; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_OutDataPortCH &= (~0x02); - } - - DO_WritePort( m_hCard, m_OutPortCH, m_OutDataPortCH ); -} - -void CUtil7296Dlg::OnOutputPC6() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_PC6 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_OutDataPortCH |= 0x04; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_OutDataPortCH &= (~0x04); - } - - DO_WritePort( m_hCard, m_OutPortCH, m_OutDataPortCH ); -} - -void CUtil7296Dlg::OnOutputPC7() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_PC7 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_OutDataPortCH |= 0x08; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_OutDataPortCH &= (~0x08); - } - - DO_WritePort( m_hCard, m_OutPortCH, m_OutDataPortCH ); -} - -void CUtil7296Dlg::OnOutputPB0() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_PB0 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_OutDataPortB |= 0x01; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_OutDataPortB &= (~0x01); - } - - DO_WritePort( m_hCard, m_OutPortB, m_OutDataPortB ); - -} - -void CUtil7296Dlg::OnOutputPB1() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_PB1 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_OutDataPortB |= 0x02; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_OutDataPortB &= (~0x02); - } - - DO_WritePort( m_hCard, m_OutPortB, m_OutDataPortB ); -} - -void CUtil7296Dlg::OnOutputPB2() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_PB2 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_OutDataPortB |= 0x04; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_OutDataPortB &= (~0x04); - } - - DO_WritePort( m_hCard, m_OutPortB, m_OutDataPortB ); -} - -void CUtil7296Dlg::OnOutputPB3() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_PB3 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_OutDataPortB |= 0x08; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_OutDataPortB &= (~0x08); - } - - DO_WritePort( m_hCard, m_OutPortB, m_OutDataPortB ); -} - -void CUtil7296Dlg::OnOutputPB4() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_PB4 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_OutDataPortB |= 0x10; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_OutDataPortB &= (~0x10); - } - - DO_WritePort( m_hCard, m_OutPortB, m_OutDataPortB ); -} - -void CUtil7296Dlg::OnOutputPB5() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_PB5 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_OutDataPortB |= 0x20; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_OutDataPortB &= (~0x20); - } - - DO_WritePort( m_hCard, m_OutPortB, m_OutDataPortB ); -} - -void CUtil7296Dlg::OnOutputPB6() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_PB6 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_OutDataPortB |= 0x40; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_OutDataPortB &= (~0x40); - } - - DO_WritePort( m_hCard, m_OutPortB, m_OutDataPortB ); -} - -void CUtil7296Dlg::OnOutputPB7() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_PB7 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_OutDataPortB |= 0x80; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_OutDataPortB &= (~0x80); - } - - DO_WritePort( m_hCard, m_OutPortB, m_OutDataPortB ); -} - -void CUtil7296Dlg::OnOutputPA0() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_PA0 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_OutDataPortA |= 0x01; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_OutDataPortA &= (~0x01); - } - - DO_WritePort( m_hCard, m_OutPortA, m_OutDataPortA ); -} - -void CUtil7296Dlg::OnOutputPA1() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_PA1 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_OutDataPortA |= 0x02; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_OutDataPortA &= (~0x02); - } - - DO_WritePort( m_hCard, m_OutPortA, m_OutDataPortA ); -} - -void CUtil7296Dlg::OnOutputPA2() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_PA2 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_OutDataPortA |= 0x04; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_OutDataPortA &= (~0x04); - } - - DO_WritePort( m_hCard, m_OutPortA, m_OutDataPortA ); -} - -void CUtil7296Dlg::OnOutputPA3() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_PA3 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_OutDataPortA |= 0x08; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_OutDataPortA &= (~0x08); - } - - DO_WritePort( m_hCard, m_OutPortA, m_OutDataPortA ); -} - -void CUtil7296Dlg::OnOutputPA4() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_PA4 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_OutDataPortA |= 0x10; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_OutDataPortA &= (~0x10); - } - - DO_WritePort( m_hCard, m_OutPortA, m_OutDataPortA ); -} - -void CUtil7296Dlg::OnOutputPA5() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_PA5 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_OutDataPortA |= 0x20; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_OutDataPortA &= (~0x20); - } - - DO_WritePort( m_hCard, m_OutPortA, m_OutDataPortA ); -} - -void CUtil7296Dlg::OnOutputPA6() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_PA6 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_OutDataPortA |= 0x40; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_OutDataPortA &= (~0x40); - } - - DO_WritePort( m_hCard, m_OutPortA, m_OutDataPortA ); -} - -void CUtil7296Dlg::OnOutputPA7() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_PA7 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_OutDataPortA |= 0x80; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_OutDataPortA &= (~0x80); - } - - DO_WritePort( m_hCard, m_OutPortA, m_OutDataPortA ); -} - -HBRUSH CUtil7296Dlg::OnCtlColor(CDC* pDC, CWnd* pWnd, UINT nCtlColor) -{ - HBRUSH hbr = CDialog::OnCtlColor(pDC, pWnd, nCtlColor); - - // TODO: Change any attributes of the DC here - if ( pWnd->GetDlgCtrlID() == IDC_LABEL_INPUT2 ) - pDC->SetTextColor(RGB(255,0,0)); - - if ( pWnd->GetDlgCtrlID() == IDC_LABEL_OUTPUT ) - pDC->SetTextColor(RGB(255,0,0)); - - // TODO: Return a different brush if the default is not desired - return hbr; -} diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7296/SDK7296/Util7296Dlg.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7296/SDK7296/Util7296Dlg.h deleted file mode 100644 index b499b1e..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7296/SDK7296/Util7296Dlg.h +++ /dev/null @@ -1,121 +0,0 @@ - -// Util7296Dlg.h : header file -// - -#include "Dask64.h" - -#pragma once - - -// CUtil7296Dlg dialog -class CUtil7296Dlg : public CDialog -{ -// Construction -public: - CUtil7296Dlg(I16 hCard, CWnd* pParent = NULL); // standard constructor - -// Dialog Data - enum { IDD = IDD_UTIL7296_DIALOG }; - - protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - - -// Implementation -protected: - HICON m_hIcon; - UINT_PTR m_nTimer; - I16 m_hCard; - U16 m_InPortA; - U16 m_OutPortA; - U16 m_InPortB; - U16 m_OutPortB; - U16 m_InPortCL; - U16 m_OutPortCL; - U16 m_InPortCH; - U16 m_OutPortCH; - U32 m_InDataPortA; - U32 m_OutDataPortA; - U32 m_InDataPortB; - U32 m_OutDataPortB; - U32 m_InDataPortCL; - U32 m_OutDataPortCL; - U32 m_InDataPortCH; - U32 m_OutDataPortCH; - -public: - CStatic m_Icon_PC0; - CStatic m_Icon_PC1; - CStatic m_Icon_PC2; - CStatic m_Icon_PC3; - CStatic m_Icon_PC4; - CStatic m_Icon_PC5; - CStatic m_Icon_PC6; - CStatic m_Icon_PC7; - CStatic m_Icon_PB0; - CStatic m_Icon_PB1; - CStatic m_Icon_PB2; - CStatic m_Icon_PB3; - CStatic m_Icon_PB4; - CStatic m_Icon_PB5; - CStatic m_Icon_PB6; - CStatic m_Icon_PB7; - CStatic m_Icon_PA0; - CStatic m_Icon_PA1; - CStatic m_Icon_PA2; - CStatic m_Icon_PA3; - CStatic m_Icon_PA4; - CStatic m_Icon_PA5; - CStatic m_Icon_PA6; - CStatic m_Icon_PA7; - CComboBox m_cbPortAIn; - CComboBox m_cbPortBIn; - CComboBox m_cbPortCLIn; - CComboBox m_cbPortCHIn; - CComboBox m_cbPortAOut; - CComboBox m_cbPortBOut; - CComboBox m_cbPortCLOut; - CComboBox m_cbPortCHOut; - - // Generated message map functions - virtual BOOL OnInitDialog(); - afx_msg void OnSysCommand(UINT nID, LPARAM lParam); - afx_msg void OnPaint(); - afx_msg HCURSOR OnQueryDragIcon(); - DECLARE_MESSAGE_MAP() - afx_msg void OnInPASelchange(); - afx_msg void OnOutPASelchange(); - afx_msg void OnInPBSelchange(); - afx_msg void OnOutPBSelchange(); - afx_msg void OnInPCHSelchange(); - afx_msg void OnOutPCHSelchange(); - afx_msg void OnInPCLSelchange(); - afx_msg void OnOutPCLSelchange(); - afx_msg void OnDestroy(); - afx_msg void OnTimer(UINT_PTR nIDEvent); - afx_msg void OnOutputPC0(); - afx_msg void OnOutputPC1(); - afx_msg void OnOutputPC2(); - afx_msg void OnOutputPC3(); - afx_msg void OnOutputPC4(); - afx_msg void OnOutputPC5(); - afx_msg void OnOutputPC6(); - afx_msg void OnOutputPC7(); - afx_msg void OnOutputPB0(); - afx_msg void OnOutputPB1(); - afx_msg void OnOutputPB2(); - afx_msg void OnOutputPB3(); - afx_msg void OnOutputPB4(); - afx_msg void OnOutputPB5(); - afx_msg void OnOutputPB6(); - afx_msg void OnOutputPB7(); - afx_msg void OnOutputPA0(); - afx_msg void OnOutputPA1(); - afx_msg void OnOutputPA2(); - afx_msg void OnOutputPA3(); - afx_msg void OnOutputPA4(); - afx_msg void OnOutputPA5(); - afx_msg void OnOutputPA6(); - afx_msg void OnOutputPA7(); - afx_msg HBRUSH OnCtlColor(CDC* pDC, CWnd* pWnd, UINT nCtlColor); -}; diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7296/SDK7296/res/Util7296.ico b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7296/SDK7296/res/Util7296.ico deleted file mode 100644 index d56fbcd..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7296/SDK7296/res/Util7296.ico and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7296/SDK7296/res/Util7296.rc2 b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7296/SDK7296/res/Util7296.rc2 deleted file mode 100644 index 22f3a20..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7296/SDK7296/res/Util7296.rc2 +++ /dev/null @@ -1,13 +0,0 @@ -// -// Util7296.RC2 - resources Microsoft Visual C++ does not edit directly -// - -#ifdef APSTUDIO_INVOKED -#error this file is not editable by Microsoft Visual C++ -#endif //APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// Add manually edited resources here... - -///////////////////////////////////////////////////////////////////////////// diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7296/SDK7296/res/black.ico b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7296/SDK7296/res/black.ico deleted file mode 100644 index b5c375f..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7296/SDK7296/res/black.ico and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7296/SDK7296/res/blue.ico b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7296/SDK7296/res/blue.ico deleted file mode 100644 index 1df4b39..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7296/SDK7296/res/blue.ico and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7296/SDK7296/res/green.ico b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7296/SDK7296/res/green.ico deleted file mode 100644 index d9a9fd3..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7296/SDK7296/res/green.ico and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7296/SDK7296/res/icon1.ico b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7296/SDK7296/res/icon1.ico deleted file mode 100644 index f1282c6..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7296/SDK7296/res/icon1.ico and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7296/SDK7296/res/pink.ico b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7296/SDK7296/res/pink.ico deleted file mode 100644 index 18bdaad..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7296/SDK7296/res/pink.ico and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7296/SDK7296/res/red.ico b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7296/SDK7296/res/red.ico deleted file mode 100644 index 7644596..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7296/SDK7296/res/red.ico and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7296/SDK7296/res/yellow.ico b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7296/SDK7296/res/yellow.ico deleted file mode 100644 index 3449de2..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7296/SDK7296/res/yellow.ico and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7296/SDK7296/resource.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7296/SDK7296/resource.h deleted file mode 100644 index 7445cdc..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7296/SDK7296/resource.h +++ /dev/null @@ -1,85 +0,0 @@ -//{{NO_DEPENDENCIES}} -// Microsoft Visual C++ generated include file. -// Used by Util7296.rc -// -#define IDM_ABOUTBOX 0x0010 -#define IDD_ABOUTBOX 100 -#define IDS_ABOUTBOX 101 -#define IDD_UTIL7296_DIALOG 102 -#define IDR_MAINFRAME 128 -#define IDI_ICON_BLACK 130 -#define IDI_ICON_RED 131 -#define IDI_ICON_GREEN 132 -#define IDD_CARDID_DIALOG 133 -#define IDC_COMBO_CARDID 1000 -#define IDC_CHECK_PC0 1002 -#define IDC_CHECK_PC1 1003 -#define IDC_CHECK_PC2 1004 -#define IDC_ICON_PC0 1005 -#define IDC_ICON_PC1 1006 -#define IDC_ICON_PC2 1007 -#define IDC_ICON_PC3 1008 -#define IDC_ICON_PC4 1009 -#define IDC_ICON_PC5 1010 -#define IDC_ICON_PC6 1011 -#define IDC_ICON_PC7 1012 -#define IDC_ICON_PB0 1013 -#define IDC_STATIC_01 1014 -#define IDC_ICON_PB1 1014 -#define IDC_ICON_PB2 1015 -#define IDC_ICON_PB3 1016 -#define IDC_ICON_PB4 1017 -#define IDC_ICON_PB5 1018 -#define IDC_ICON_PB6 1019 -#define IDC_ICON_PB7 1020 -#define IDC_ICON_PA0 1021 -#define IDC_ICON_PA1 1022 -#define IDC_ICON_PA2 1023 -#define IDC_ICON_PA3 1024 -#define IDC_ICON_PA4 1025 -#define IDC_ICON_PA5 1026 -#define IDC_ICON_PA6 1027 -#define IDC_ICON_PA7 1028 -#define IDC_CHECK_PC3 1029 -#define IDC_CHECK_PC4 1030 -#define IDC_CHECK_PC5 1031 -#define IDC_CHECK_PC6 1032 -#define IDC_CHECK_PC7 1033 -#define IDC_CHECK_PB0 1034 -#define IDC_CHECK_PB1 1035 -#define IDC_CHECK_PB2 1036 -#define IDC_CHECK_PB3 1037 -#define IDC_CHECK_PB4 1038 -#define IDC_CHECK_PB5 1039 -#define IDC_CHECK_PB6 1040 -#define IDC_CHECK_PB7 1041 -#define IDC_CHECK_PA0 1042 -#define IDC_CHECK_PA1 1043 -#define IDC_CHECK_PA2 1044 -#define IDC_CHECK_PA3 1045 -#define IDC_CHECK_PA4 1046 -#define IDC_CHECK_PA5 1047 -#define IDC_CHECK_PA6 1048 -#define IDC_CHECK_PA7 1049 -#define IDC_COMBO_IN_PA 1050 -#define IDC_COMBO_OUT_PA 1051 -#define IDC_COMBO_IN_PCH 1052 -#define IDC_COMBO_OUT_PCH 1053 -#define IDC_COMBO_IN_PB 1054 -#define IDC_COMBO_OUT_PB 1055 -#define IDC_COMBO_IN_PCL 1056 -#define IDC_COMBO_OUT_PCL 1057 -#define IDC_LABEL_INPUT 1058 -#define IDC_LABEL_OUTPUT 1058 -#define IDC_LABEL_INPUT2 1059 - -// Next default values for new objects -// -#ifdef APSTUDIO_INVOKED -#ifndef APSTUDIO_READONLY_SYMBOLS -#define _APS_NEXT_RESOURCE_VALUE 136 -#define _APS_NEXT_COMMAND_VALUE 32771 -#define _APS_NEXT_CONTROL_VALUE 1059 -#define _APS_NEXT_SYMED_VALUE 101 -#endif -#endif diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7296/SDK7296/stdafx.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7296/SDK7296/stdafx.cpp deleted file mode 100644 index 7fce12f..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7296/SDK7296/stdafx.cpp +++ /dev/null @@ -1,8 +0,0 @@ - -// stdafx.cpp : source file that includes just the standard includes -// Util7296.pch will be the pre-compiled header -// stdafx.obj will contain the pre-compiled type information - -#include "stdafx.h" - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7296/SDK7296/stdafx.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7296/SDK7296/stdafx.h deleted file mode 100644 index 12123e2..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7296/SDK7296/stdafx.h +++ /dev/null @@ -1,60 +0,0 @@ - -// stdafx.h : include file for standard system include files, -// or project specific include files that are used frequently, -// but are changed infrequently - -#pragma once - -#ifndef _SECURE_ATL -#define _SECURE_ATL 1 -#endif - -#ifndef VC_EXTRALEAN -#define VC_EXTRALEAN // Exclude rarely-used stuff from Windows headers -#endif - -#include "targetver.h" - -#define _ATL_CSTRING_EXPLICIT_CONSTRUCTORS // some CString constructors will be explicit - -// turns off MFC's hiding of some common and often safely ignored warning messages -#define _AFX_ALL_WARNINGS - -#include // MFC core and standard components -#include // MFC extensions - - -#include // MFC Automation classes - - - -#ifndef _AFX_NO_OLE_SUPPORT -#include // MFC support for Internet Explorer 4 Common Controls -#endif -#ifndef _AFX_NO_AFXCMN_SUPPORT -#include // MFC support for Windows Common Controls -#endif // _AFX_NO_AFXCMN_SUPPORT - -#include // MFC support for ribbons and control bars - - - - - - - - - -#ifdef _UNICODE -#if defined _M_IX86 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='x86' publicKeyToken='6595b64144ccf1df' language='*'\"") -#elif defined _M_IA64 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='ia64' publicKeyToken='6595b64144ccf1df' language='*'\"") -#elif defined _M_X64 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='amd64' publicKeyToken='6595b64144ccf1df' language='*'\"") -#else -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='*' publicKeyToken='6595b64144ccf1df' language='*'\"") -#endif -#endif - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7296/SDK7296/targetver.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7296/SDK7296/targetver.h deleted file mode 100644 index 11730d5..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7296/SDK7296/targetver.h +++ /dev/null @@ -1,26 +0,0 @@ - -#pragma once - -// The following macros define the minimum required platform. The minimum required platform -// is the earliest version of Windows, Internet Explorer etc. that has the necessary features to run -// your application. The macros work by enabling all features available on platform versions up to and -// including the version specified. - -// Modify the following defines if you have to target a platform prior to the ones specified below. -// Refer to MSDN for the latest info on corresponding values for different platforms. -#ifndef WINVER // Specifies that the minimum required platform is Windows Vista. -#define WINVER 0x0600 // Change this to the appropriate value to target other versions of Windows. -#endif - -#ifndef _WIN32_WINNT // Specifies that the minimum required platform is Windows Vista. -#define _WIN32_WINNT 0x0600 // Change this to the appropriate value to target other versions of Windows. -#endif - -#ifndef _WIN32_WINDOWS // Specifies that the minimum required platform is Windows 98. -#define _WIN32_WINDOWS 0x0410 // Change this to the appropriate value to target Windows Me or later. -#endif - -#ifndef _WIN32_IE // Specifies that the minimum required platform is Internet Explorer 7.0. -#define _WIN32_IE 0x0700 // Change this to the appropriate value to target other versions of IE. -#endif - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7296/SDK7296DbEvt/7296int2.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7296/SDK7296DbEvt/7296int2.cpp deleted file mode 100644 index 4f4a975..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7296/SDK7296DbEvt/7296int2.cpp +++ /dev/null @@ -1,79 +0,0 @@ - -// 7296int2.cpp : Defines the class behaviors for the application. -// - -#include "stdafx.h" -#include "7296int2.h" -#include "7296int2Dlg.h" - -#ifdef _DEBUG -#define new DEBUG_NEW -#endif - - -// CMy7296int2App - -BEGIN_MESSAGE_MAP(CMy7296int2App, CWinAppEx) - ON_COMMAND(ID_HELP, &CWinApp::OnHelp) -END_MESSAGE_MAP() - - -// CMy7296int2App construction - -CMy7296int2App::CMy7296int2App() -{ - // TODO: add construction code here, - // Place all significant initialization in InitInstance -} - - -// The one and only CMy7296int2App object - -CMy7296int2App theApp; - - -// CMy7296int2App initialization - -BOOL CMy7296int2App::InitInstance() -{ - // InitCommonControlsEx() is required on Windows XP if an application - // manifest specifies use of ComCtl32.dll version 6 or later to enable - // visual styles. Otherwise, any window creation will fail. - INITCOMMONCONTROLSEX InitCtrls; - InitCtrls.dwSize = sizeof(InitCtrls); - // Set this to include all the common control classes you want to use - // in your application. - InitCtrls.dwICC = ICC_WIN95_CLASSES; - InitCommonControlsEx(&InitCtrls); - - CWinAppEx::InitInstance(); - - AfxEnableControlContainer(); - - // Standard initialization - // If you are not using these features and wish to reduce the size - // of your final executable, you should remove from the following - // the specific initialization routines you do not need - // Change the registry key under which our settings are stored - // TODO: You should modify this string to be something appropriate - // such as the name of your company or organization - SetRegistryKey(_T("Local AppWizard-Generated Applications")); - - CMy7296int2Dlg dlg; - m_pMainWnd = &dlg; - INT_PTR nResponse = dlg.DoModal(); - if (nResponse == IDOK) - { - // TODO: Place code here to handle when the dialog is - // dismissed with OK - } - else if (nResponse == IDCANCEL) - { - // TODO: Place code here to handle when the dialog is - // dismissed with Cancel - } - - // Since the dialog has been closed, return FALSE so that we exit the - // application, rather than start the application's message pump. - return FALSE; -} diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7296/SDK7296DbEvt/7296int2.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7296/SDK7296DbEvt/7296int2.h deleted file mode 100644 index e317e5d..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7296/SDK7296DbEvt/7296int2.h +++ /dev/null @@ -1,32 +0,0 @@ - -// 7296int2.h : main header file for the PROJECT_NAME application -// - -#pragma once - -#ifndef __AFXWIN_H__ - #error "include 'stdafx.h' before including this file for PCH" -#endif - -#include "resource.h" // main symbols - - -// CMy7296int2App: -// See 7296int2.cpp for the implementation of this class -// - -class CMy7296int2App : public CWinAppEx -{ -public: - CMy7296int2App(); - -// Overrides - public: - virtual BOOL InitInstance(); - -// Implementation - - DECLARE_MESSAGE_MAP() -}; - -extern CMy7296int2App theApp; \ No newline at end of file diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7296/SDK7296DbEvt/7296int2.rc b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7296/SDK7296DbEvt/7296int2.rc deleted file mode 100644 index 54360e1..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7296/SDK7296DbEvt/7296int2.rc +++ /dev/null @@ -1,310 +0,0 @@ -// Microsoft Visual C++ generated resource script. -// -#include "resource.h" - -#define APSTUDIO_READONLY_SYMBOLS -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 2 resource. -// -#ifndef APSTUDIO_INVOKED -#include "targetver.h" -#endif -#include "afxres.h" - -///////////////////////////////////////////////////////////////////////////// -#undef APSTUDIO_READONLY_SYMBOLS - -///////////////////////////////////////////////////////////////////////////// -// Chinese (Taiwan) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_CHT) -#ifdef _WIN32 -LANGUAGE LANG_CHINESE, SUBLANG_CHINESE_TRADITIONAL -#pragma code_page(950) -#endif //_WIN32 - -#ifdef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// TEXTINCLUDE -// - -1 TEXTINCLUDE -BEGIN - "resource.h\0" -END - -2 TEXTINCLUDE -BEGIN - "#ifndef APSTUDIO_INVOKED\r\n" - "#include ""targetver.h""\r\n" - "#endif\r\n" - "#include ""afxres.h""\r\n" - "\0" -END - -3 TEXTINCLUDE -BEGIN - "#define _AFX_NO_SPLITTER_RESOURCES\r\n" - "#define _AFX_NO_OLE_RESOURCES\r\n" - "#define _AFX_NO_TRACKER_RESOURCES\r\n" - "#define _AFX_NO_PROPERTY_RESOURCES\r\n" - "\r\n" - "#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)\r\n" - "LANGUAGE 9, 1\r\n" - "#pragma code_page(1252)\r\n" - "#include ""res\\My7296int2.rc2"" // non-Microsoft Visual C++ edited resources\r\n" - "#include ""afxres.rc"" // Standard components\r\n" - "#endif\r\n" - "\0" -END - -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// Icon -// - -// Icon with lowest ID value placed first to ensure application icon -// remains consistent on all systems. -IDR_MAINFRAME ICON "res\\7296int2.ico" - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog -// - -IDD_DIALOG_SETUP DIALOGEX 0, 0, 188, 112 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION -CAPTION "Setup Dialog" -FONT 8, "MS Shell Dlg", 400, 0, 0x1 -BEGIN - DEFPUSHBUTTON "OK",IDOK,48,84,50,14 - PUSHBUTTON "Cancel",IDCANCEL,105,84,50,14 - LTEXT "Card Number : ",IDC_STATIC,19,19,53,14 - LTEXT "Total Count : ",IDC_STATIC,19,39,53,14 - LTEXT "Sampling Rate : ",IDC_STATIC,19,57,53,14 - COMBOBOX IDC_COMBO_CARDNO,79,17,86,13,CBS_DROPDOWN | WS_VSCROLL | WS_TABSTOP - EDITTEXT IDC_EDIT_COUNT,79,36,85,14,ES_AUTOHSCROLL | ES_NUMBER - EDITTEXT IDC_EDIT_RATE,79,55,85,14,ES_AUTOHSCROLL | ES_NUMBER -END - - -///////////////////////////////////////////////////////////////////////////// -// -// DESIGNINFO -// - -#ifdef APSTUDIO_INVOKED -GUIDELINES DESIGNINFO -BEGIN - IDD_DIALOG_SETUP, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 181 - TOPMARGIN, 7 - BOTTOMMARGIN, 105 - END -END -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog Info -// - -IDD_DIALOG_SETUP DLGINIT -BEGIN - IDC_COMBO_CARDNO, 0x403, 2, 0 -0x0030, - IDC_COMBO_CARDNO, 0x403, 2, 0 -0x0031, - IDC_COMBO_CARDNO, 0x403, 2, 0 -0x0032, - IDC_COMBO_CARDNO, 0x403, 2, 0 -0x0033, - IDC_COMBO_CARDNO, 0x403, 2, 0 -0x0034, - IDC_COMBO_CARDNO, 0x403, 2, 0 -0x0035, - IDC_COMBO_CARDNO, 0x403, 2, 0 -0x0036, - IDC_COMBO_CARDNO, 0x403, 2, 0 -0x0037, - IDC_COMBO_CARDNO, 0x403, 2, 0 -0x0038, - IDC_COMBO_CARDNO, 0x403, 2, 0 -0x0039, - IDC_COMBO_CARDNO, 0x403, 3, 0 -0x3031, "\000" - IDC_COMBO_CARDNO, 0x403, 3, 0 -0x3131, "\000" - IDC_COMBO_CARDNO, 0x403, 3, 0 -0x3231, "\000" - IDC_COMBO_CARDNO, 0x403, 3, 0 -0x3331, "\000" - IDC_COMBO_CARDNO, 0x403, 3, 0 -0x3431, "\000" - IDC_COMBO_CARDNO, 0x403, 3, 0 -0x3531, "\000" - 0 -END - -#endif // Chinese (Taiwan) resources -///////////////////////////////////////////////////////////////////////////// - - -///////////////////////////////////////////////////////////////////////////// -// English (U.S.) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -#ifdef _WIN32 -LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US -#pragma code_page(1252) -#endif //_WIN32 - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog -// - -IDD_ABOUTBOX DIALOGEX 0, 0, 170, 62 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "About 7296int2" -FONT 8, "MS Shell Dlg", 0, 0, 0x1 -BEGIN - ICON IDR_MAINFRAME,IDC_STATIC,14,14,21,20 - LTEXT "7296int2, Version 1.0",IDC_STATIC,42,14,114,8,SS_NOPREFIX - LTEXT "Copyright (C) 2010",IDC_STATIC,42,26,114,8 - DEFPUSHBUTTON "OK",IDOK,113,41,50,14,WS_GROUP -END - -IDD_MY7296INT2_DIALOG DIALOGEX 0, 0, 273, 193 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_VISIBLE | WS_CAPTION -EXSTYLE WS_EX_APPWINDOW -CAPTION "7296 Dual Interrupt Sample" -FONT 8, "MS Shell Dlg", 0, 0, 0x1 -BEGIN - PUSHBUTTON "Exit",IDCANCEL,163,7,50,14 - PUSHBUTTON "Setup",IDC_BT_SETUP,7,7,53,14 - PUSHBUTTON "Interrupt Trigger",IDC_BT_TRIGGER,61,7,102,14,WS_DISABLED - LTEXT "This sample demonstrates how to use dual-interrupt lines.",IDC_STATIC,7,23,190,13 - LTEXT "The IRQ source of INT1 is P1C0.",IDC_STATIC,7,31,190,13 - LTEXT "The IRQ source of INT2 is internal Timer-output.",IDC_STATIC,7,39,190,13 - LTEXT "Using cable to connect CN1 and CN2\nClick 'Setup' button first ...",IDC_STATIC_04,7,50,125,22 - LTEXT "Data from Input port: \n** only shows at most 50 data **",IDC_STATIC_07,7,97,113,19,NOT WS_VISIBLE - LTEXT "INT1 Count =",IDC_STATIC_05,7,72,85,13 - LTEXT "INT2 Count =",IDC_STATIC_06,7,83,85,13 - LTEXT "",IDC_STATIC_LINE1,7,116,247,11 - LTEXT "",IDC_STATIC_LINE2,7,130,247,11 - LTEXT "",IDC_STATIC_LINE3,7,143,247,11 - LTEXT "",IDC_STATIC_LINE4,7,156,247,11 - LTEXT "",IDC_STATIC_LINE5,7,170,247,11 -END - - -///////////////////////////////////////////////////////////////////////////// -// -// Version -// - -VS_VERSION_INFO VERSIONINFO - FILEVERSION 1,0,0,1 - PRODUCTVERSION 1,0,0,1 - FILEFLAGSMASK 0x3fL -#ifdef _DEBUG - FILEFLAGS 0x1L -#else - FILEFLAGS 0x0L -#endif - FILEOS 0x4L - FILETYPE 0x1L - FILESUBTYPE 0x0L -BEGIN - BLOCK "StringFileInfo" - BEGIN - BLOCK "040904e4" - BEGIN - VALUE "CompanyName", "TODO: " - VALUE "FileDescription", "TODO: " - VALUE "FileVersion", "1.0.0.1" - VALUE "InternalName", "7296int2.exe" - VALUE "LegalCopyright", "TODO: (c) . All rights reserved." - VALUE "OriginalFilename", "7296int2.exe" - VALUE "ProductName", "TODO: " - VALUE "ProductVersion", "1.0.0.1" - END - END - BLOCK "VarFileInfo" - BEGIN - VALUE "Translation", 0x409, 1252 - END -END - - -///////////////////////////////////////////////////////////////////////////// -// -// DESIGNINFO -// - -#ifdef APSTUDIO_INVOKED -GUIDELINES DESIGNINFO -BEGIN - IDD_ABOUTBOX, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 163 - TOPMARGIN, 7 - BOTTOMMARGIN, 55 - END - - IDD_MY7296INT2_DIALOG, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 266 - TOPMARGIN, 7 - BOTTOMMARGIN, 186 - END -END -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// String Table -// - -STRINGTABLE -BEGIN - IDS_ABOUTBOX "&About 7296int2..." -END - -#endif // English (U.S.) resources -///////////////////////////////////////////////////////////////////////////// - - - -#ifndef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 3 resource. -// -#define _AFX_NO_SPLITTER_RESOURCES -#define _AFX_NO_OLE_RESOURCES -#define _AFX_NO_TRACKER_RESOURCES -#define _AFX_NO_PROPERTY_RESOURCES - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -LANGUAGE 9, 1 -#pragma code_page(1252) -#include "res\My7296int2.rc2" // non-Microsoft Visual C++ edited resources -#include "afxres.rc" // Standard components -#endif - -///////////////////////////////////////////////////////////////////////////// -#endif // not APSTUDIO_INVOKED - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7296/SDK7296DbEvt/7296int2.sln b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7296/SDK7296DbEvt/7296int2.sln deleted file mode 100644 index 6751278..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7296/SDK7296DbEvt/7296int2.sln +++ /dev/null @@ -1,20 +0,0 @@ - -Microsoft Visual Studio Solution File, Format Version 10.00 -# Visual Studio 2008 -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "7296int2", "7296int2.vcproj", "{36D327EC-F369-4F7C-BF2A-C66603E84831}" -EndProject -Global - GlobalSection(SolutionConfigurationPlatforms) = preSolution - Debug|x64 = Debug|x64 - Release|x64 = Release|x64 - EndGlobalSection - GlobalSection(ProjectConfigurationPlatforms) = postSolution - {36D327EC-F369-4F7C-BF2A-C66603E84831}.Debug|x64.ActiveCfg = Debug|x64 - {36D327EC-F369-4F7C-BF2A-C66603E84831}.Debug|x64.Build.0 = Debug|x64 - {36D327EC-F369-4F7C-BF2A-C66603E84831}.Release|x64.ActiveCfg = Release|x64 - {36D327EC-F369-4F7C-BF2A-C66603E84831}.Release|x64.Build.0 = Release|x64 - EndGlobalSection - GlobalSection(SolutionProperties) = preSolution - HideSolutionNode = FALSE - EndGlobalSection -EndGlobal diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7296/SDK7296DbEvt/7296int2.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7296/SDK7296DbEvt/7296int2.suo deleted file mode 100644 index a7c2812..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7296/SDK7296DbEvt/7296int2.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7296/SDK7296DbEvt/7296int2.vcproj b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7296/SDK7296DbEvt/7296int2.vcproj deleted file mode 100644 index be0b053..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7296/SDK7296DbEvt/7296int2.vcproj +++ /dev/null @@ -1,286 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7296/SDK7296DbEvt/7296int2Dlg.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7296/SDK7296DbEvt/7296int2Dlg.cpp deleted file mode 100644 index ef1e0c4..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7296/SDK7296DbEvt/7296int2Dlg.cpp +++ /dev/null @@ -1,403 +0,0 @@ - -// 7296int2Dlg.cpp : implementation file -// - -#include "stdafx.h" -#include "7296int2.h" -#include "7296int2Dlg.h" -#include "SetupDlg.h" - -#ifdef _DEBUG -#define new DEBUG_NEW -#endif - - -U32 gInBuffer[32768], gOutBuffer[32768]; -int gIntCount; -HANDLE ghIntEvent[2]; - -BOOLEAN gbExitThread; - -DWORD WINAPI IntThread( LPVOID lpParam ) -{ - while (gbExitThread == FALSE) - { - if (WaitForSingleObject(ghIntEvent[0], INFINITE) == WAIT_OBJECT_0) - { - gIntCount++; - ResetEvent(ghIntEvent[0]); - } - } - - return (DWORD) 0; -} - - -// CAboutDlg dialog used for App About - -class CAboutDlg : public CDialog -{ -public: - CAboutDlg(); - -// Dialog Data - enum { IDD = IDD_ABOUTBOX }; - - protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - -// Implementation -protected: - DECLARE_MESSAGE_MAP() -}; - -CAboutDlg::CAboutDlg() : CDialog(CAboutDlg::IDD) -{ -} - -void CAboutDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); -} - -BEGIN_MESSAGE_MAP(CAboutDlg, CDialog) -END_MESSAGE_MAP() - - -// CMy7296int2Dlg dialog - - - - -CMy7296int2Dlg::CMy7296int2Dlg(CWnd* pParent /*=NULL*/) - : CDialog(CMy7296int2Dlg::IDD, pParent) - , m_nCardIdx(-1) - , m_nSampleCount(-1) - , m_nSampleRate(-1) - , m_hCard(-1) - , m_hThread(NULL) -{ - m_hIcon = AfxGetApp()->LoadIcon(IDR_MAINFRAME); - m_nC1=10; m_nC2=10; - - ghIntEvent[0] = ghIntEvent[1] = NULL; - -} - -void CMy7296int2Dlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); -} - -BEGIN_MESSAGE_MAP(CMy7296int2Dlg, CDialog) - ON_WM_SYSCOMMAND() - ON_WM_PAINT() - ON_WM_QUERYDRAGICON() - //}}AFX_MSG_MAP - ON_WM_CTLCOLOR() - ON_BN_CLICKED(IDC_BT_SETUP, &CMy7296int2Dlg::OnBnClickedBtSetup) - ON_WM_DESTROY() - ON_BN_CLICKED(IDC_BT_TRIGGER, &CMy7296int2Dlg::OnBnClickedBtTrigger) -END_MESSAGE_MAP() - - -// CMy7296int2Dlg message handlers - -BOOL CMy7296int2Dlg::OnInitDialog() -{ - CDialog::OnInitDialog(); - - // Add "About..." menu item to system menu. - - // IDM_ABOUTBOX must be in the system command range. - ASSERT((IDM_ABOUTBOX & 0xFFF0) == IDM_ABOUTBOX); - ASSERT(IDM_ABOUTBOX < 0xF000); - - CMenu* pSysMenu = GetSystemMenu(FALSE); - if (pSysMenu != NULL) - { - BOOL bNameValid; - CString strAboutMenu; - bNameValid = strAboutMenu.LoadString(IDS_ABOUTBOX); - ASSERT(bNameValid); - if (!strAboutMenu.IsEmpty()) - { - pSysMenu->AppendMenu(MF_SEPARATOR); - pSysMenu->AppendMenu(MF_STRING, IDM_ABOUTBOX, strAboutMenu); - } - } - - // Set the icon for this dialog. The framework does this automatically - // when the application's main window is not a dialog - SetIcon(m_hIcon, TRUE); // Set big icon - SetIcon(m_hIcon, FALSE); // Set small icon - - // TODO: Add extra initialization here - - return TRUE; // return TRUE unless you set the focus to a control -} - -void CMy7296int2Dlg::OnSysCommand(UINT nID, LPARAM lParam) -{ - if ((nID & 0xFFF0) == IDM_ABOUTBOX) - { - CAboutDlg dlgAbout; - dlgAbout.DoModal(); - } - else - { - CDialog::OnSysCommand(nID, lParam); - } -} - -// If you add a minimize button to your dialog, you will need the code below -// to draw the icon. For MFC applications using the document/view model, -// this is automatically done for you by the framework. - -void CMy7296int2Dlg::OnPaint() -{ - if (IsIconic()) - { - CPaintDC dc(this); // device context for painting - - SendMessage(WM_ICONERASEBKGND, reinterpret_cast(dc.GetSafeHdc()), 0); - - // Center icon in client rectangle - int cxIcon = GetSystemMetrics(SM_CXICON); - int cyIcon = GetSystemMetrics(SM_CYICON); - CRect rect; - GetClientRect(&rect); - int x = (rect.Width() - cxIcon + 1) / 2; - int y = (rect.Height() - cyIcon + 1) / 2; - - // Draw the icon - dc.DrawIcon(x, y, m_hIcon); - } - else - { - CDialog::OnPaint(); - } -} - -// The system calls this function to obtain the cursor to display while the user drags -// the minimized window. -HCURSOR CMy7296int2Dlg::OnQueryDragIcon() -{ - return static_cast(m_hIcon); -} - - -HBRUSH CMy7296int2Dlg::OnCtlColor(CDC* pDC, CWnd* pWnd, UINT nCtlColor) -{ - HBRUSH hbr = CDialog::OnCtlColor(pDC, pWnd, nCtlColor); - - // TODO: Change any attributes of the DC here - if ( pWnd->GetDlgCtrlID() == IDC_STATIC_04 ) - pDC->SetTextColor(RGB(255,0,0)); - - // TODO: Return a different brush if the default is not desired - return hbr; -} - -void CMy7296int2Dlg::OnBnClickedBtSetup() -{ - // TODO: Add your control notification handler code here - CSetupDlg setupDlg; - INT_PTR nResponse; - CString strTemp; - int i, k; - - nResponse = setupDlg.DoModal(); - if (nResponse == IDOK) - { - if( m_nCardIdx != setupDlg.m_nCardIdx ) - { - if( m_hCard != -1 ) - { - Release_Card( m_hCard ); - m_hCard = -1; - } - - m_nCardIdx = setupDlg.m_nCardIdx; - } - - - if( m_hCard == -1 ) - { - if ((m_hCard = Register_Card(PCI_7296, m_nCardIdx)) < 0) - { - strTemp.Format( TEXT("Register_Card Error = %d"), m_hCard); - AfxMessageBox( strTemp ); - - EndDialog(IDCANCEL); - return; - } - } - - m_nSampleCount = setupDlg.m_nSampleCount; - m_nSampleRate = setupDlg.m_nSampleRate; - - for ( i=0, k=0; i255) k=0; - - gInBuffer[i]=0; - } - gIntCount = 0; - - - DIO_PortConfig(m_hCard, Channel_P1A, INPUT_PORT); - DIO_PortConfig(m_hCard, Channel_P2A, OUTPUT_PORT); - DIO_PortConfig(m_hCard, Channel_P1C, INPUT_PORT); - DIO_PortConfig(m_hCard, Channel_P2C, OUTPUT_PORT); - - DIO_SetDualInterrupt(m_hCard, INT1_FP1C0, INT2_TIMER_COUNTER, ghIntEvent); - m_nC2 = 2000000/(m_nSampleRate*m_nC1); - - if(m_hThread == NULL ) - { - gbExitThread = FALSE; - m_hThread = CreateThread( NULL, // default security attributes - 0, // use default stack size - IntThread, // thread function name - NULL, // argument to thread function - 0, // use default creation flags - NULL); // returns the thread identifier - } - - GetDlgItem(IDC_BT_TRIGGER)->EnableWindow( TRUE ); - - - - } - else if (nResponse == IDCANCEL) - { - // TODO: Place code here to handle when the dialog is - // dismissed with Cancel - } -} - -void CMy7296int2Dlg::OnDestroy() -{ - CDialog::OnDestroy(); - - // TODO: Add your message handler code here - int i; - - - if( m_hThread != NULL ) - { - gbExitThread = TRUE; // termnate the IntThread - SetEvent( ghIntEvent[0] ); - - if (WaitForSingleObject(m_hThread, 5000) == WAIT_OBJECT_0) - { - CloseHandle( m_hThread ); - m_hThread = NULL; - } - } - - - if( m_hCard >= 0 ) - { - DIO_SetDualInterrupt(m_hCard, INT1_DISABLE, INT2_DISABLE, ghIntEvent); - - for (i=0; i<2; i++) - { - if(ghIntEvent[i]) - ResetEvent(ghIntEvent[i]); - } - - - Release_Card( m_hCard ); m_hCard = -1; - } - -} - -void CMy7296int2Dlg::OnBnClickedBtTrigger() -{ - // TODO: Add your control notification handler code here - int i, k; - CString strTemp; - CString strLine1, strLine2, strLine3, strLine4, strLine5; - - CTR_Setup(m_hCard, 1, RATE_GENERATOR, m_nC1, BIN); - CTR_Setup(m_hCard, 2, RATE_GENERATOR, m_nC2, BIN); - - k=0; i=0; - gIntCount = 0; - - while ( k < m_nSampleCount ) - { - if (WaitForSingleObject(ghIntEvent[1], 10000)== WAIT_OBJECT_0) - { - DO_WritePort( m_hCard, Channel_P2C, 1 ); - DO_WritePort (m_hCard, Channel_P2C, 0 ); - - strTemp.Format( TEXT("INT2 Count = %d "), k+1); - SetDlgItemText( IDC_STATIC_06, strTemp ); - - DO_WritePort( m_hCard, Channel_P2A, gOutBuffer[k]); - DI_ReadPort( m_hCard, Channel_P1A, &(gInBuffer[k]) ); - - //generate INT1 interrupt signal - strTemp.Format( TEXT("INT1 Count = %d "), gIntCount ); - SetDlgItemText( IDC_STATIC_05, strTemp ); - k++; - } - } - - CTR_Setup( m_hCard, 1, RATE_GENERATOR, 0, BIN); - CTR_Setup( m_hCard, 2, RATE_GENERATOR, 0, BIN); - - GetDlgItem(IDC_STATIC_07)->ShowWindow( SW_SHOW ); - - strLine1.Empty(); /// clear strLine1 - strLine2.Empty(); /// clear strLine2 - strLine3.Empty(); /// clear strLine3 - strLine4.Empty(); /// clear strLine4 - strLine5.Empty(); /// clear strLine5 - - for ( i=0; i=10 && i<20) - { - strLine2 += strTemp; - } - if(i>=20 && i<30) - { - strLine3 += strTemp; - } - if (i>=30 && i<40) - { - strLine4 += strTemp; - } - if (i>=40 && i<50) - { - strLine5 += strTemp; - } - } - - if( !strLine1.IsEmpty() ) - SetDlgItemText( IDC_STATIC_LINE1, strLine1 ); - - if( !strLine2.IsEmpty() ) - SetDlgItemText( IDC_STATIC_LINE2, strLine2 ); - - if( !strLine3.IsEmpty() ) - SetDlgItemText( IDC_STATIC_LINE3, strLine3 ); - - if( !strLine4.IsEmpty() ) - SetDlgItemText( IDC_STATIC_LINE4, strLine4 ); - - if( !strLine5.IsEmpty() ) - SetDlgItemText( IDC_STATIC_LINE5, strLine5 ); -} diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7296/SDK7296DbEvt/7296int2Dlg.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7296/SDK7296DbEvt/7296int2Dlg.h deleted file mode 100644 index e2547ae..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7296/SDK7296DbEvt/7296int2Dlg.h +++ /dev/null @@ -1,46 +0,0 @@ - -// 7296int2Dlg.h : header file -// -#include "Dask64.h" - -#pragma once - - -// CMy7296int2Dlg dialog -class CMy7296int2Dlg : public CDialog -{ -// Construction -public: - CMy7296int2Dlg(CWnd* pParent = NULL); // standard constructor - -// Dialog Data - enum { IDD = IDD_MY7296INT2_DIALOG }; - - protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - - -// Implementation -protected: - HICON m_hIcon; - int m_nCardIdx; - long m_nSampleCount; - long m_nSampleRate; - - I16 m_hCard; - int m_nC1; - int m_nC2; - HANDLE m_hThread; - - // Generated message map functions - virtual BOOL OnInitDialog(); - afx_msg void OnSysCommand(UINT nID, LPARAM lParam); - afx_msg void OnPaint(); - afx_msg HCURSOR OnQueryDragIcon(); - DECLARE_MESSAGE_MAP() -public: - afx_msg HBRUSH OnCtlColor(CDC* pDC, CWnd* pWnd, UINT nCtlColor); - afx_msg void OnBnClickedBtSetup(); - afx_msg void OnDestroy(); - afx_msg void OnBnClickedBtTrigger(); -}; diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7296/SDK7296DbEvt/ReadMe.txt b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7296/SDK7296DbEvt/ReadMe.txt deleted file mode 100644 index 6af73ce..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7296/SDK7296DbEvt/ReadMe.txt +++ /dev/null @@ -1,93 +0,0 @@ -================================================================================ - MICROSOFT FOUNDATION CLASS LIBRARY : 7296int2 Project Overview -=============================================================================== - -The application wizard has created this 7296int2 application for -you. This application not only demonstrates the basics of using the Microsoft -Foundation Classes but is also a starting point for writing your application. - -This file contains a summary of what you will find in each of the files that -make up your 7296int2 application. - -7296int2.vcproj - This is the main project file for VC++ projects generated using an application wizard. - It contains information about the version of Visual C++ that generated the file, and - information about the platforms, configurations, and project features selected with the - application wizard. - -7296int2.h - This is the main header file for the application. It includes other - project specific headers (including Resource.h) and declares the - CMy7296int2App application class. - -7296int2.cpp - This is the main application source file that contains the application - class CMy7296int2App. - -7296int2.rc - This is a listing of all of the Microsoft Windows resources that the - program uses. It includes the icons, bitmaps, and cursors that are stored - in the RES subdirectory. This file can be directly edited in Microsoft - Visual C++. Your project resources are in 1033. - -res\7296int2.ico - This is an icon file, which is used as the application's icon. This - icon is included by the main resource file 7296int2.rc. - -res\My7296int2.rc2 - This file contains resources that are not edited by Microsoft - Visual C++. You should place all resources not editable by - the resource editor in this file. - - -///////////////////////////////////////////////////////////////////////////// - -The application wizard creates one dialog class: - -7296int2Dlg.h, 7296int2Dlg.cpp - the dialog - These files contain your CMy7296int2Dlg class. This class defines - the behavior of your application's main dialog. The dialog's template is - in 7296int2.rc, which can be edited in Microsoft Visual C++. - - -///////////////////////////////////////////////////////////////////////////// - -Other Features: - -ActiveX Controls - The application includes support to use ActiveX controls. - -///////////////////////////////////////////////////////////////////////////// - -Other standard files: - -StdAfx.h, StdAfx.cpp - These files are used to build a precompiled header (PCH) file - named 7296int2.pch and a precompiled types file named StdAfx.obj. - -Resource.h - This is the standard header file, which defines new resource IDs. - Microsoft Visual C++ reads and updates this file. - -7296int2.manifest - Application manifest files are used by Windows XP to describe an applications - dependency on specific versions of Side-by-Side assemblies. The loader uses this - information to load the appropriate assembly from the assembly cache or private - from the application. The Application manifest maybe included for redistribution - as an external .manifest file that is installed in the same folder as the application - executable or it may be included in the executable in the form of a resource. -///////////////////////////////////////////////////////////////////////////// - -Other notes: - -The application wizard uses "TODO:" to indicate parts of the source code you -should add to or customize. - -If your application uses MFC in a shared DLL, you will need -to redistribute the MFC DLLs. If your application is in a language -other than the operating system's locale, you will also have to -redistribute the corresponding localized resources MFC90XXX.DLL. -For more information on both of these topics, please see the section on -redistributing Visual C++ applications in MSDN documentation. - -///////////////////////////////////////////////////////////////////////////// diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7296/SDK7296DbEvt/SetupDlg.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7296/SDK7296DbEvt/SetupDlg.cpp deleted file mode 100644 index 3bd29c3..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7296/SDK7296DbEvt/SetupDlg.cpp +++ /dev/null @@ -1,63 +0,0 @@ -// SetupDlg.cpp : implementation file -// - -#include "stdafx.h" -#include "7296int2.h" -#include "SetupDlg.h" - - -// CSetupDlg dialog - -IMPLEMENT_DYNAMIC(CSetupDlg, CDialog) - -CSetupDlg::CSetupDlg(CWnd* pParent /*=NULL*/) - : CDialog(CSetupDlg::IDD, pParent) - , m_nSampleCount(40) - , m_nSampleRate(10000) -{ - -} - -CSetupDlg::~CSetupDlg() -{ -} - -void CSetupDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); - DDX_Control(pDX, IDC_COMBO_CARDNO, m_cbCardID); - DDX_Text(pDX, IDC_EDIT_COUNT, m_nSampleCount); - DDX_Text(pDX, IDC_EDIT_RATE, m_nSampleRate); - DDV_MinMaxLong(pDX, m_nSampleCount, 0, 32768); - DDV_MinMaxLong(pDX, m_nSampleRate, 0, 15000); -} - - -BEGIN_MESSAGE_MAP(CSetupDlg, CDialog) - ON_CBN_SELCHANGE(IDC_COMBO_CARDNO, &CSetupDlg::OnCardNoSelchange) -// ON_EN_CHANGE(IDC_EDIT_COUNT, &CSetupDlg::OnEnChangeEditCount) -END_MESSAGE_MAP() - - -// CSetupDlg message handlers - -BOOL CSetupDlg::OnInitDialog() -{ - CDialog::OnInitDialog(); - - // TODO: Add extra initialization here - m_cbCardID.SetCurSel(0); - m_nCardIdx = 0; - - - return TRUE; // return TRUE unless you set the focus to a control - // EXCEPTION: OCX Property Pages should return FALSE -} - -void CSetupDlg::OnCardNoSelchange() -{ - // TODO: Add your control notification handler code here - m_nCardIdx = m_cbCardID.GetCurSel(); - -} - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7296/SDK7296DbEvt/SetupDlg.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7296/SDK7296DbEvt/SetupDlg.h deleted file mode 100644 index 7b42abf..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7296/SDK7296DbEvt/SetupDlg.h +++ /dev/null @@ -1,30 +0,0 @@ -#pragma once -#include "afxwin.h" - - -// CSetupDlg dialog - -class CSetupDlg : public CDialog -{ - DECLARE_DYNAMIC(CSetupDlg) - -public: - CSetupDlg(CWnd* pParent = NULL); // standard constructor - virtual ~CSetupDlg(); - -// Dialog Data - enum { IDD = IDD_DIALOG_SETUP }; - -protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - - DECLARE_MESSAGE_MAP() -public: - CComboBox m_cbCardID; - virtual BOOL OnInitDialog(); - long m_nSampleCount; - long m_nSampleRate; - int m_nCardIdx; - afx_msg void OnCardNoSelchange(); -// afx_msg void OnEnChangeEditCount(); -}; diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7296/SDK7296DbEvt/res/7296int2.ico b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7296/SDK7296DbEvt/res/7296int2.ico deleted file mode 100644 index d56fbcd..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7296/SDK7296DbEvt/res/7296int2.ico and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7296/SDK7296DbEvt/res/My7296int2.rc2 b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7296/SDK7296DbEvt/res/My7296int2.rc2 deleted file mode 100644 index 1b53e51..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7296/SDK7296DbEvt/res/My7296int2.rc2 +++ /dev/null @@ -1,13 +0,0 @@ -// -// My7296int2.RC2 - resources Microsoft Visual C++ does not edit directly -// - -#ifdef APSTUDIO_INVOKED -#error this file is not editable by Microsoft Visual C++ -#endif //APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// Add manually edited resources here... - -///////////////////////////////////////////////////////////////////////////// diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7296/SDK7296DbEvt/resource.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7296/SDK7296DbEvt/resource.h deleted file mode 100644 index 0f6273a..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7296/SDK7296DbEvt/resource.h +++ /dev/null @@ -1,35 +0,0 @@ -//{{NO_DEPENDENCIES}} -// Microsoft Visual C++ generated include file. -// Used by 7296int2.rc -// -#define IDM_ABOUTBOX 0x0010 -#define IDD_ABOUTBOX 100 -#define IDS_ABOUTBOX 101 -#define IDD_MY7296INT2_DIALOG 102 -#define IDR_MAINFRAME 128 -#define IDD_DIALOG_SETUP 129 -#define IDC_BT_SETUP 1000 -#define IDC_BT_TRIGGER 1001 -#define IDC_STATIC_04 1002 -#define IDC_COMBO_CARDNO 1003 -#define IDC_EDIT_COUNT 1004 -#define IDC_EDIT_RATE 1005 -#define IDC_STATIC_07 1005 -#define IDC_STATIC_05 1006 -#define IDC_STATIC_06 1007 -#define IDC_STATIC_LINE1 1008 -#define IDC_STATIC_LINE2 1009 -#define IDC_STATIC_LINE3 1010 -#define IDC_STATIC_LINE4 1011 -#define IDC_STATIC_LINE5 1012 - -// Next default values for new objects -// -#ifdef APSTUDIO_INVOKED -#ifndef APSTUDIO_READONLY_SYMBOLS -#define _APS_NEXT_RESOURCE_VALUE 131 -#define _APS_NEXT_COMMAND_VALUE 32771 -#define _APS_NEXT_CONTROL_VALUE 1009 -#define _APS_NEXT_SYMED_VALUE 101 -#endif -#endif diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7296/SDK7296DbEvt/stdafx.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7296/SDK7296DbEvt/stdafx.cpp deleted file mode 100644 index 85d2109..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7296/SDK7296DbEvt/stdafx.cpp +++ /dev/null @@ -1,8 +0,0 @@ - -// stdafx.cpp : source file that includes just the standard includes -// 7296int2.pch will be the pre-compiled header -// stdafx.obj will contain the pre-compiled type information - -#include "stdafx.h" - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7296/SDK7296DbEvt/stdafx.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7296/SDK7296DbEvt/stdafx.h deleted file mode 100644 index 12123e2..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7296/SDK7296DbEvt/stdafx.h +++ /dev/null @@ -1,60 +0,0 @@ - -// stdafx.h : include file for standard system include files, -// or project specific include files that are used frequently, -// but are changed infrequently - -#pragma once - -#ifndef _SECURE_ATL -#define _SECURE_ATL 1 -#endif - -#ifndef VC_EXTRALEAN -#define VC_EXTRALEAN // Exclude rarely-used stuff from Windows headers -#endif - -#include "targetver.h" - -#define _ATL_CSTRING_EXPLICIT_CONSTRUCTORS // some CString constructors will be explicit - -// turns off MFC's hiding of some common and often safely ignored warning messages -#define _AFX_ALL_WARNINGS - -#include // MFC core and standard components -#include // MFC extensions - - -#include // MFC Automation classes - - - -#ifndef _AFX_NO_OLE_SUPPORT -#include // MFC support for Internet Explorer 4 Common Controls -#endif -#ifndef _AFX_NO_AFXCMN_SUPPORT -#include // MFC support for Windows Common Controls -#endif // _AFX_NO_AFXCMN_SUPPORT - -#include // MFC support for ribbons and control bars - - - - - - - - - -#ifdef _UNICODE -#if defined _M_IX86 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='x86' publicKeyToken='6595b64144ccf1df' language='*'\"") -#elif defined _M_IA64 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='ia64' publicKeyToken='6595b64144ccf1df' language='*'\"") -#elif defined _M_X64 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='amd64' publicKeyToken='6595b64144ccf1df' language='*'\"") -#else -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='*' publicKeyToken='6595b64144ccf1df' language='*'\"") -#endif -#endif - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7296/SDK7296DbEvt/targetver.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7296/SDK7296DbEvt/targetver.h deleted file mode 100644 index 11730d5..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7296/SDK7296DbEvt/targetver.h +++ /dev/null @@ -1,26 +0,0 @@ - -#pragma once - -// The following macros define the minimum required platform. The minimum required platform -// is the earliest version of Windows, Internet Explorer etc. that has the necessary features to run -// your application. The macros work by enabling all features available on platform versions up to and -// including the version specified. - -// Modify the following defines if you have to target a platform prior to the ones specified below. -// Refer to MSDN for the latest info on corresponding values for different platforms. -#ifndef WINVER // Specifies that the minimum required platform is Windows Vista. -#define WINVER 0x0600 // Change this to the appropriate value to target other versions of Windows. -#endif - -#ifndef _WIN32_WINNT // Specifies that the minimum required platform is Windows Vista. -#define _WIN32_WINNT 0x0600 // Change this to the appropriate value to target other versions of Windows. -#endif - -#ifndef _WIN32_WINDOWS // Specifies that the minimum required platform is Windows 98. -#define _WIN32_WINDOWS 0x0410 // Change this to the appropriate value to target Windows Me or later. -#endif - -#ifndef _WIN32_IE // Specifies that the minimum required platform is Internet Explorer 7.0. -#define _WIN32_IE 0x0700 // Change this to the appropriate value to target other versions of IE. -#endif - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7296/SDK7296DbEvtMsg/7296int2.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7296/SDK7296DbEvtMsg/7296int2.cpp deleted file mode 100644 index 4f4a975..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7296/SDK7296DbEvtMsg/7296int2.cpp +++ /dev/null @@ -1,79 +0,0 @@ - -// 7296int2.cpp : Defines the class behaviors for the application. -// - -#include "stdafx.h" -#include "7296int2.h" -#include "7296int2Dlg.h" - -#ifdef _DEBUG -#define new DEBUG_NEW -#endif - - -// CMy7296int2App - -BEGIN_MESSAGE_MAP(CMy7296int2App, CWinAppEx) - ON_COMMAND(ID_HELP, &CWinApp::OnHelp) -END_MESSAGE_MAP() - - -// CMy7296int2App construction - -CMy7296int2App::CMy7296int2App() -{ - // TODO: add construction code here, - // Place all significant initialization in InitInstance -} - - -// The one and only CMy7296int2App object - -CMy7296int2App theApp; - - -// CMy7296int2App initialization - -BOOL CMy7296int2App::InitInstance() -{ - // InitCommonControlsEx() is required on Windows XP if an application - // manifest specifies use of ComCtl32.dll version 6 or later to enable - // visual styles. Otherwise, any window creation will fail. - INITCOMMONCONTROLSEX InitCtrls; - InitCtrls.dwSize = sizeof(InitCtrls); - // Set this to include all the common control classes you want to use - // in your application. - InitCtrls.dwICC = ICC_WIN95_CLASSES; - InitCommonControlsEx(&InitCtrls); - - CWinAppEx::InitInstance(); - - AfxEnableControlContainer(); - - // Standard initialization - // If you are not using these features and wish to reduce the size - // of your final executable, you should remove from the following - // the specific initialization routines you do not need - // Change the registry key under which our settings are stored - // TODO: You should modify this string to be something appropriate - // such as the name of your company or organization - SetRegistryKey(_T("Local AppWizard-Generated Applications")); - - CMy7296int2Dlg dlg; - m_pMainWnd = &dlg; - INT_PTR nResponse = dlg.DoModal(); - if (nResponse == IDOK) - { - // TODO: Place code here to handle when the dialog is - // dismissed with OK - } - else if (nResponse == IDCANCEL) - { - // TODO: Place code here to handle when the dialog is - // dismissed with Cancel - } - - // Since the dialog has been closed, return FALSE so that we exit the - // application, rather than start the application's message pump. - return FALSE; -} diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7296/SDK7296DbEvtMsg/7296int2.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7296/SDK7296DbEvtMsg/7296int2.h deleted file mode 100644 index e317e5d..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7296/SDK7296DbEvtMsg/7296int2.h +++ /dev/null @@ -1,32 +0,0 @@ - -// 7296int2.h : main header file for the PROJECT_NAME application -// - -#pragma once - -#ifndef __AFXWIN_H__ - #error "include 'stdafx.h' before including this file for PCH" -#endif - -#include "resource.h" // main symbols - - -// CMy7296int2App: -// See 7296int2.cpp for the implementation of this class -// - -class CMy7296int2App : public CWinAppEx -{ -public: - CMy7296int2App(); - -// Overrides - public: - virtual BOOL InitInstance(); - -// Implementation - - DECLARE_MESSAGE_MAP() -}; - -extern CMy7296int2App theApp; \ No newline at end of file diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7296/SDK7296DbEvtMsg/7296int2.rc b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7296/SDK7296DbEvtMsg/7296int2.rc deleted file mode 100644 index 54360e1..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7296/SDK7296DbEvtMsg/7296int2.rc +++ /dev/null @@ -1,310 +0,0 @@ -// Microsoft Visual C++ generated resource script. -// -#include "resource.h" - -#define APSTUDIO_READONLY_SYMBOLS -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 2 resource. -// -#ifndef APSTUDIO_INVOKED -#include "targetver.h" -#endif -#include "afxres.h" - -///////////////////////////////////////////////////////////////////////////// -#undef APSTUDIO_READONLY_SYMBOLS - -///////////////////////////////////////////////////////////////////////////// -// Chinese (Taiwan) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_CHT) -#ifdef _WIN32 -LANGUAGE LANG_CHINESE, SUBLANG_CHINESE_TRADITIONAL -#pragma code_page(950) -#endif //_WIN32 - -#ifdef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// TEXTINCLUDE -// - -1 TEXTINCLUDE -BEGIN - "resource.h\0" -END - -2 TEXTINCLUDE -BEGIN - "#ifndef APSTUDIO_INVOKED\r\n" - "#include ""targetver.h""\r\n" - "#endif\r\n" - "#include ""afxres.h""\r\n" - "\0" -END - -3 TEXTINCLUDE -BEGIN - "#define _AFX_NO_SPLITTER_RESOURCES\r\n" - "#define _AFX_NO_OLE_RESOURCES\r\n" - "#define _AFX_NO_TRACKER_RESOURCES\r\n" - "#define _AFX_NO_PROPERTY_RESOURCES\r\n" - "\r\n" - "#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)\r\n" - "LANGUAGE 9, 1\r\n" - "#pragma code_page(1252)\r\n" - "#include ""res\\My7296int2.rc2"" // non-Microsoft Visual C++ edited resources\r\n" - "#include ""afxres.rc"" // Standard components\r\n" - "#endif\r\n" - "\0" -END - -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// Icon -// - -// Icon with lowest ID value placed first to ensure application icon -// remains consistent on all systems. -IDR_MAINFRAME ICON "res\\7296int2.ico" - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog -// - -IDD_DIALOG_SETUP DIALOGEX 0, 0, 188, 112 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION -CAPTION "Setup Dialog" -FONT 8, "MS Shell Dlg", 400, 0, 0x1 -BEGIN - DEFPUSHBUTTON "OK",IDOK,48,84,50,14 - PUSHBUTTON "Cancel",IDCANCEL,105,84,50,14 - LTEXT "Card Number : ",IDC_STATIC,19,19,53,14 - LTEXT "Total Count : ",IDC_STATIC,19,39,53,14 - LTEXT "Sampling Rate : ",IDC_STATIC,19,57,53,14 - COMBOBOX IDC_COMBO_CARDNO,79,17,86,13,CBS_DROPDOWN | WS_VSCROLL | WS_TABSTOP - EDITTEXT IDC_EDIT_COUNT,79,36,85,14,ES_AUTOHSCROLL | ES_NUMBER - EDITTEXT IDC_EDIT_RATE,79,55,85,14,ES_AUTOHSCROLL | ES_NUMBER -END - - -///////////////////////////////////////////////////////////////////////////// -// -// DESIGNINFO -// - -#ifdef APSTUDIO_INVOKED -GUIDELINES DESIGNINFO -BEGIN - IDD_DIALOG_SETUP, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 181 - TOPMARGIN, 7 - BOTTOMMARGIN, 105 - END -END -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog Info -// - -IDD_DIALOG_SETUP DLGINIT -BEGIN - IDC_COMBO_CARDNO, 0x403, 2, 0 -0x0030, - IDC_COMBO_CARDNO, 0x403, 2, 0 -0x0031, - IDC_COMBO_CARDNO, 0x403, 2, 0 -0x0032, - IDC_COMBO_CARDNO, 0x403, 2, 0 -0x0033, - IDC_COMBO_CARDNO, 0x403, 2, 0 -0x0034, - IDC_COMBO_CARDNO, 0x403, 2, 0 -0x0035, - IDC_COMBO_CARDNO, 0x403, 2, 0 -0x0036, - IDC_COMBO_CARDNO, 0x403, 2, 0 -0x0037, - IDC_COMBO_CARDNO, 0x403, 2, 0 -0x0038, - IDC_COMBO_CARDNO, 0x403, 2, 0 -0x0039, - IDC_COMBO_CARDNO, 0x403, 3, 0 -0x3031, "\000" - IDC_COMBO_CARDNO, 0x403, 3, 0 -0x3131, "\000" - IDC_COMBO_CARDNO, 0x403, 3, 0 -0x3231, "\000" - IDC_COMBO_CARDNO, 0x403, 3, 0 -0x3331, "\000" - IDC_COMBO_CARDNO, 0x403, 3, 0 -0x3431, "\000" - IDC_COMBO_CARDNO, 0x403, 3, 0 -0x3531, "\000" - 0 -END - -#endif // Chinese (Taiwan) resources -///////////////////////////////////////////////////////////////////////////// - - -///////////////////////////////////////////////////////////////////////////// -// English (U.S.) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -#ifdef _WIN32 -LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US -#pragma code_page(1252) -#endif //_WIN32 - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog -// - -IDD_ABOUTBOX DIALOGEX 0, 0, 170, 62 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "About 7296int2" -FONT 8, "MS Shell Dlg", 0, 0, 0x1 -BEGIN - ICON IDR_MAINFRAME,IDC_STATIC,14,14,21,20 - LTEXT "7296int2, Version 1.0",IDC_STATIC,42,14,114,8,SS_NOPREFIX - LTEXT "Copyright (C) 2010",IDC_STATIC,42,26,114,8 - DEFPUSHBUTTON "OK",IDOK,113,41,50,14,WS_GROUP -END - -IDD_MY7296INT2_DIALOG DIALOGEX 0, 0, 273, 193 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_VISIBLE | WS_CAPTION -EXSTYLE WS_EX_APPWINDOW -CAPTION "7296 Dual Interrupt Sample" -FONT 8, "MS Shell Dlg", 0, 0, 0x1 -BEGIN - PUSHBUTTON "Exit",IDCANCEL,163,7,50,14 - PUSHBUTTON "Setup",IDC_BT_SETUP,7,7,53,14 - PUSHBUTTON "Interrupt Trigger",IDC_BT_TRIGGER,61,7,102,14,WS_DISABLED - LTEXT "This sample demonstrates how to use dual-interrupt lines.",IDC_STATIC,7,23,190,13 - LTEXT "The IRQ source of INT1 is P1C0.",IDC_STATIC,7,31,190,13 - LTEXT "The IRQ source of INT2 is internal Timer-output.",IDC_STATIC,7,39,190,13 - LTEXT "Using cable to connect CN1 and CN2\nClick 'Setup' button first ...",IDC_STATIC_04,7,50,125,22 - LTEXT "Data from Input port: \n** only shows at most 50 data **",IDC_STATIC_07,7,97,113,19,NOT WS_VISIBLE - LTEXT "INT1 Count =",IDC_STATIC_05,7,72,85,13 - LTEXT "INT2 Count =",IDC_STATIC_06,7,83,85,13 - LTEXT "",IDC_STATIC_LINE1,7,116,247,11 - LTEXT "",IDC_STATIC_LINE2,7,130,247,11 - LTEXT "",IDC_STATIC_LINE3,7,143,247,11 - LTEXT "",IDC_STATIC_LINE4,7,156,247,11 - LTEXT "",IDC_STATIC_LINE5,7,170,247,11 -END - - -///////////////////////////////////////////////////////////////////////////// -// -// Version -// - -VS_VERSION_INFO VERSIONINFO - FILEVERSION 1,0,0,1 - PRODUCTVERSION 1,0,0,1 - FILEFLAGSMASK 0x3fL -#ifdef _DEBUG - FILEFLAGS 0x1L -#else - FILEFLAGS 0x0L -#endif - FILEOS 0x4L - FILETYPE 0x1L - FILESUBTYPE 0x0L -BEGIN - BLOCK "StringFileInfo" - BEGIN - BLOCK "040904e4" - BEGIN - VALUE "CompanyName", "TODO: " - VALUE "FileDescription", "TODO: " - VALUE "FileVersion", "1.0.0.1" - VALUE "InternalName", "7296int2.exe" - VALUE "LegalCopyright", "TODO: (c) . All rights reserved." - VALUE "OriginalFilename", "7296int2.exe" - VALUE "ProductName", "TODO: " - VALUE "ProductVersion", "1.0.0.1" - END - END - BLOCK "VarFileInfo" - BEGIN - VALUE "Translation", 0x409, 1252 - END -END - - -///////////////////////////////////////////////////////////////////////////// -// -// DESIGNINFO -// - -#ifdef APSTUDIO_INVOKED -GUIDELINES DESIGNINFO -BEGIN - IDD_ABOUTBOX, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 163 - TOPMARGIN, 7 - BOTTOMMARGIN, 55 - END - - IDD_MY7296INT2_DIALOG, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 266 - TOPMARGIN, 7 - BOTTOMMARGIN, 186 - END -END -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// String Table -// - -STRINGTABLE -BEGIN - IDS_ABOUTBOX "&About 7296int2..." -END - -#endif // English (U.S.) resources -///////////////////////////////////////////////////////////////////////////// - - - -#ifndef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 3 resource. -// -#define _AFX_NO_SPLITTER_RESOURCES -#define _AFX_NO_OLE_RESOURCES -#define _AFX_NO_TRACKER_RESOURCES -#define _AFX_NO_PROPERTY_RESOURCES - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -LANGUAGE 9, 1 -#pragma code_page(1252) -#include "res\My7296int2.rc2" // non-Microsoft Visual C++ edited resources -#include "afxres.rc" // Standard components -#endif - -///////////////////////////////////////////////////////////////////////////// -#endif // not APSTUDIO_INVOKED - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7296/SDK7296DbEvtMsg/7296int2.sln b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7296/SDK7296DbEvtMsg/7296int2.sln deleted file mode 100644 index 6751278..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7296/SDK7296DbEvtMsg/7296int2.sln +++ /dev/null @@ -1,20 +0,0 @@ - -Microsoft Visual Studio Solution File, Format Version 10.00 -# Visual Studio 2008 -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "7296int2", "7296int2.vcproj", "{36D327EC-F369-4F7C-BF2A-C66603E84831}" -EndProject -Global - GlobalSection(SolutionConfigurationPlatforms) = preSolution - Debug|x64 = Debug|x64 - Release|x64 = Release|x64 - EndGlobalSection - GlobalSection(ProjectConfigurationPlatforms) = postSolution - {36D327EC-F369-4F7C-BF2A-C66603E84831}.Debug|x64.ActiveCfg = Debug|x64 - {36D327EC-F369-4F7C-BF2A-C66603E84831}.Debug|x64.Build.0 = Debug|x64 - {36D327EC-F369-4F7C-BF2A-C66603E84831}.Release|x64.ActiveCfg = Release|x64 - {36D327EC-F369-4F7C-BF2A-C66603E84831}.Release|x64.Build.0 = Release|x64 - EndGlobalSection - GlobalSection(SolutionProperties) = preSolution - HideSolutionNode = FALSE - EndGlobalSection -EndGlobal diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7296/SDK7296DbEvtMsg/7296int2.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7296/SDK7296DbEvtMsg/7296int2.suo deleted file mode 100644 index 9fdbb6c..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7296/SDK7296DbEvtMsg/7296int2.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7296/SDK7296DbEvtMsg/7296int2.vcproj b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7296/SDK7296DbEvtMsg/7296int2.vcproj deleted file mode 100644 index be0b053..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7296/SDK7296DbEvtMsg/7296int2.vcproj +++ /dev/null @@ -1,286 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7296/SDK7296DbEvtMsg/7296int2Dlg.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7296/SDK7296DbEvtMsg/7296int2Dlg.cpp deleted file mode 100644 index 4898324..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7296/SDK7296DbEvtMsg/7296int2Dlg.cpp +++ /dev/null @@ -1,398 +0,0 @@ - -// 7296int2Dlg.cpp : implementation file -// - -#include "stdafx.h" -#include "7296int2.h" -#include "7296int2Dlg.h" -#include "SetupDlg.h" - -#ifdef _DEBUG -#define new DEBUG_NEW -#endif - -#define COS_INTERRUPT_MESSAGE _T("COS_INT") -#define TIMER_INTERRUPT_MESSAGE _T("TIMER_INT") - -UINT WM_INT0 = ::RegisterWindowMessage(COS_INTERRUPT_MESSAGE); -UINT WM_INT1 = ::RegisterWindowMessage(TIMER_INTERRUPT_MESSAGE); - - -U32 gInBuffer[32768], gOutBuffer[32768]; -int gIntCount; -HANDLE ghIntEvent[2]; - - -// CAboutDlg dialog used for App About - -class CAboutDlg : public CDialog -{ -public: - CAboutDlg(); - -// Dialog Data - enum { IDD = IDD_ABOUTBOX }; - - protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - -// Implementation -protected: - DECLARE_MESSAGE_MAP() -}; - -CAboutDlg::CAboutDlg() : CDialog(CAboutDlg::IDD) -{ -} - -void CAboutDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); -} - -BEGIN_MESSAGE_MAP(CAboutDlg, CDialog) -END_MESSAGE_MAP() - - -// CMy7296int2Dlg dialog - - - - -CMy7296int2Dlg::CMy7296int2Dlg(CWnd* pParent /*=NULL*/) - : CDialog(CMy7296int2Dlg::IDD, pParent) - , m_nCardIdx(-1) - , m_nSampleCount(-1) - , m_nSampleRate(-1) - , m_hCard(-1) - , m_hThread(NULL) -{ - m_hIcon = AfxGetApp()->LoadIcon(IDR_MAINFRAME); - m_nC1=10; m_nC2=10; - - m_TimerCount = 0; - m_COSCount = 0; - -} - -void CMy7296int2Dlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); -} - -BEGIN_MESSAGE_MAP(CMy7296int2Dlg, CDialog) - ON_WM_SYSCOMMAND() - ON_WM_PAINT() - ON_WM_QUERYDRAGICON() - ON_REGISTERED_MESSAGE(WM_INT0, OnCOS0Interrupt) - ON_REGISTERED_MESSAGE(WM_INT1, OnTimerInterrupt) - //}}AFX_MSG_MAP - ON_WM_CTLCOLOR() - ON_BN_CLICKED(IDC_BT_SETUP, &CMy7296int2Dlg::OnBnClickedBtSetup) - ON_WM_DESTROY() - ON_BN_CLICKED(IDC_BT_TRIGGER, &CMy7296int2Dlg::OnBnClickedBtTrigger) -END_MESSAGE_MAP() - - -// CMy7296int2Dlg message handlers - -BOOL CMy7296int2Dlg::OnInitDialog() -{ - CDialog::OnInitDialog(); - - // Add "About..." menu item to system menu. - - // IDM_ABOUTBOX must be in the system command range. - ASSERT((IDM_ABOUTBOX & 0xFFF0) == IDM_ABOUTBOX); - ASSERT(IDM_ABOUTBOX < 0xF000); - - CMenu* pSysMenu = GetSystemMenu(FALSE); - if (pSysMenu != NULL) - { - BOOL bNameValid; - CString strAboutMenu; - bNameValid = strAboutMenu.LoadString(IDS_ABOUTBOX); - ASSERT(bNameValid); - if (!strAboutMenu.IsEmpty()) - { - pSysMenu->AppendMenu(MF_SEPARATOR); - pSysMenu->AppendMenu(MF_STRING, IDM_ABOUTBOX, strAboutMenu); - } - } - - // Set the icon for this dialog. The framework does this automatically - // when the application's main window is not a dialog - SetIcon(m_hIcon, TRUE); // Set big icon - SetIcon(m_hIcon, FALSE); // Set small icon - - // TODO: Add extra initialization here - - return TRUE; // return TRUE unless you set the focus to a control -} - -void CMy7296int2Dlg::OnSysCommand(UINT nID, LPARAM lParam) -{ - if ((nID & 0xFFF0) == IDM_ABOUTBOX) - { - CAboutDlg dlgAbout; - dlgAbout.DoModal(); - } - else - { - CDialog::OnSysCommand(nID, lParam); - } -} - -// If you add a minimize button to your dialog, you will need the code below -// to draw the icon. For MFC applications using the document/view model, -// this is automatically done for you by the framework. - -void CMy7296int2Dlg::OnPaint() -{ - if (IsIconic()) - { - CPaintDC dc(this); // device context for painting - - SendMessage(WM_ICONERASEBKGND, reinterpret_cast(dc.GetSafeHdc()), 0); - - // Center icon in client rectangle - int cxIcon = GetSystemMetrics(SM_CXICON); - int cyIcon = GetSystemMetrics(SM_CYICON); - CRect rect; - GetClientRect(&rect); - int x = (rect.Width() - cxIcon + 1) / 2; - int y = (rect.Height() - cyIcon + 1) / 2; - - // Draw the icon - dc.DrawIcon(x, y, m_hIcon); - } - else - { - CDialog::OnPaint(); - } -} - -// The system calls this function to obtain the cursor to display while the user drags -// the minimized window. -HCURSOR CMy7296int2Dlg::OnQueryDragIcon() -{ - return static_cast(m_hIcon); -} - - -HBRUSH CMy7296int2Dlg::OnCtlColor(CDC* pDC, CWnd* pWnd, UINT nCtlColor) -{ - HBRUSH hbr = CDialog::OnCtlColor(pDC, pWnd, nCtlColor); - - // TODO: Change any attributes of the DC here - if ( pWnd->GetDlgCtrlID() == IDC_STATIC_04 ) - pDC->SetTextColor(RGB(255,0,0)); - - // TODO: Return a different brush if the default is not desired - return hbr; -} - -void CMy7296int2Dlg::OnBnClickedBtSetup() -{ - // TODO: Add your control notification handler code here - CSetupDlg setupDlg; - INT_PTR nResponse; - CString strTemp; - int i, k; - - nResponse = setupDlg.DoModal(); - if (nResponse == IDOK) - { - if( m_nCardIdx != setupDlg.m_nCardIdx ) - { - if( m_hCard != -1 ) - { - Release_Card( m_hCard ); - m_hCard = -1; - } - - m_nCardIdx = setupDlg.m_nCardIdx; - } - - - if( m_hCard == -1 ) - { - if ((m_hCard = Register_Card(PCI_7296, m_nCardIdx)) < 0) - { - strTemp.Format( TEXT("Register_Card Error = %d"), m_hCard); - AfxMessageBox( strTemp ); - - EndDialog(IDCANCEL); - return; - } - } - - m_nSampleCount = setupDlg.m_nSampleCount; - m_nSampleRate = setupDlg.m_nSampleRate; - - for ( i=0, k=0; i255) k=0; - - gInBuffer[i]=0; - } - gIntCount = 0; - - DIO_PortConfig(m_hCard, Channel_P1A, INPUT_PORT); - DIO_PortConfig(m_hCard, Channel_P2A, OUTPUT_PORT); - DIO_PortConfig(m_hCard, Channel_P1C, INPUT_PORT); - DIO_PortConfig(m_hCard, Channel_P2C, OUTPUT_PORT); - - GetDlgItem(IDC_BT_TRIGGER)->EnableWindow( TRUE ); - - } - else if (nResponse == IDCANCEL) - { - // TODO: Place code here to handle when the dialog is - // dismissed with Cancel - } -} - -void CMy7296int2Dlg::OnDestroy() -{ - CDialog::OnDestroy(); - - // TODO: Add your message handler code here - int i; - - if( m_hCard >= 0 ) - { - DIO_SetDualInterrupt(m_hCard, INT1_DISABLE, INT2_DISABLE, ghIntEvent); - - for (i=0; i<2; i++) - { - if(ghIntEvent[i]) - ResetEvent(ghIntEvent[i]); - } - - - Release_Card( m_hCard ); m_hCard = -1; - } - -} - -void CMy7296int2Dlg::OnBnClickedBtTrigger() -{ - // TODO: Add your control notification handler code here - - DIO_INT1_EventMessage (m_hCard, INT1_FP1C0, this->m_hWnd, WM_INT0, NULL); - DIO_INT2_EventMessage (m_hCard, INT2_TIMER_COUNTER, this->m_hWnd, WM_INT1, NULL); - - m_nC2 = 2000000/(m_nSampleRate*m_nC1); - - CTR_Setup(m_hCard, 1, RATE_GENERATOR, m_nC1, BIN); - CTR_Setup(m_hCard, 2, RATE_GENERATOR, m_nC2, BIN); - - m_TimerCount = 0; - m_COSCount = 0; - - -} - -LRESULT CMy7296int2Dlg::OnCOS0Interrupt(WPARAM wParam, LPARAM lParam) -{ - // do something useful - CString strTemp; - - m_COSCount ++; - strTemp.Format( TEXT("INT1 Count = %d "), m_COSCount); - SetDlgItemText( IDC_STATIC_05, strTemp ); - - - return (LRESULT) 0; -} - - -LRESULT CMy7296int2Dlg::OnTimerInterrupt(WPARAM wParam, LPARAM lParam) -{ - int i; - CString strTemp; - CString strLine1, strLine2, strLine3, strLine4, strLine5; - - i=0; - // do something useful - if( m_TimerCount < m_nSampleCount ) - { - DO_WritePort( m_hCard, Channel_P2C, 1 ); - DO_WritePort (m_hCard, Channel_P2C, 0 ); - - strTemp.Format( TEXT("INT2 Count = %d "), m_TimerCount); - SetDlgItemText( IDC_STATIC_06, strTemp ); - - DO_WritePort( m_hCard, Channel_P2A, gOutBuffer[m_TimerCount]); - DI_ReadPort( m_hCard, Channel_P1A, &(gInBuffer[m_TimerCount]) ); - - //generate INT1 interrupt signal - m_TimerCount++; - } - else - { - DIO_INT2_EventMessage ( m_hCard, INT2_DISABLE, this->m_hWnd, NULL, NULL); - DIO_INT1_EventMessage ( m_hCard, INT1_DISABLE, this->m_hWnd, NULL, NULL); - CTR_Setup( m_hCard, 1, RATE_GENERATOR, 0, BIN); - CTR_Setup( m_hCard, 2, RATE_GENERATOR, 0, BIN); - - GetDlgItem(IDC_STATIC_07)->ShowWindow( SW_SHOW ); - - strLine1.Empty(); /// clear strLine1 - strLine2.Empty(); /// clear strLine2 - strLine3.Empty(); /// clear strLine3 - strLine4.Empty(); /// clear strLine4 - strLine5.Empty(); /// clear strLine5 - - for ( i=0; i<50 /*m_nSampleCount*/; i++) - { - strTemp.Format( TEXT("%d, "), gInBuffer[i] ); - - if(i<10) - { - strLine1 += strTemp; - } - - if(i>=10 && i<20) - { - strLine2 += strTemp; - } - - if(i>=20 && i<30) - { - strLine3 += strTemp; - } - - if (i>=30 && i<40) - { - strLine4 += strTemp; - } - - if (i>=40 && i<50) - { - strLine5 += strTemp; - } - } - - if( !strLine1.IsEmpty() ) - SetDlgItemText( IDC_STATIC_LINE1, strLine1 ); - - if( !strLine2.IsEmpty() ) - SetDlgItemText( IDC_STATIC_LINE2, strLine2 ); - - if( !strLine3.IsEmpty() ) - SetDlgItemText( IDC_STATIC_LINE3, strLine3 ); - - if( !strLine4.IsEmpty() ) - SetDlgItemText( IDC_STATIC_LINE4, strLine4 ); - - if( !strLine5.IsEmpty() ) - SetDlgItemText( IDC_STATIC_LINE5, strLine5 ); - } - - - return (LRESULT) 0; -} \ No newline at end of file diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7296/SDK7296DbEvtMsg/7296int2Dlg.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7296/SDK7296DbEvtMsg/7296int2Dlg.h deleted file mode 100644 index f82bc4f..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7296/SDK7296DbEvtMsg/7296int2Dlg.h +++ /dev/null @@ -1,50 +0,0 @@ - -// 7296int2Dlg.h : header file -// -#include "Dask64.h" - -#pragma once - - -// CMy7296int2Dlg dialog -class CMy7296int2Dlg : public CDialog -{ -// Construction -public: - CMy7296int2Dlg(CWnd* pParent = NULL); // standard constructor - -// Dialog Data - enum { IDD = IDD_MY7296INT2_DIALOG }; - - protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - - -// Implementation -protected: - HICON m_hIcon; - int m_nCardIdx; - long m_nSampleCount; - long m_nSampleRate; - int m_COSCount; - int m_TimerCount; - - I16 m_hCard; - int m_nC1; - int m_nC2; - HANDLE m_hThread; - - // Generated message map functions - virtual BOOL OnInitDialog(); - afx_msg void OnSysCommand(UINT nID, LPARAM lParam); - afx_msg LRESULT OnCOS0Interrupt(WPARAM wParam, LPARAM lParam); - afx_msg LRESULT OnTimerInterrupt(WPARAM wParam, LPARAM lParam); - afx_msg void OnPaint(); - afx_msg HCURSOR OnQueryDragIcon(); - DECLARE_MESSAGE_MAP() -public: - afx_msg HBRUSH OnCtlColor(CDC* pDC, CWnd* pWnd, UINT nCtlColor); - afx_msg void OnBnClickedBtSetup(); - afx_msg void OnDestroy(); - afx_msg void OnBnClickedBtTrigger(); -}; diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7296/SDK7296DbEvtMsg/ReadMe.txt b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7296/SDK7296DbEvtMsg/ReadMe.txt deleted file mode 100644 index 6af73ce..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7296/SDK7296DbEvtMsg/ReadMe.txt +++ /dev/null @@ -1,93 +0,0 @@ -================================================================================ - MICROSOFT FOUNDATION CLASS LIBRARY : 7296int2 Project Overview -=============================================================================== - -The application wizard has created this 7296int2 application for -you. This application not only demonstrates the basics of using the Microsoft -Foundation Classes but is also a starting point for writing your application. - -This file contains a summary of what you will find in each of the files that -make up your 7296int2 application. - -7296int2.vcproj - This is the main project file for VC++ projects generated using an application wizard. - It contains information about the version of Visual C++ that generated the file, and - information about the platforms, configurations, and project features selected with the - application wizard. - -7296int2.h - This is the main header file for the application. It includes other - project specific headers (including Resource.h) and declares the - CMy7296int2App application class. - -7296int2.cpp - This is the main application source file that contains the application - class CMy7296int2App. - -7296int2.rc - This is a listing of all of the Microsoft Windows resources that the - program uses. It includes the icons, bitmaps, and cursors that are stored - in the RES subdirectory. This file can be directly edited in Microsoft - Visual C++. Your project resources are in 1033. - -res\7296int2.ico - This is an icon file, which is used as the application's icon. This - icon is included by the main resource file 7296int2.rc. - -res\My7296int2.rc2 - This file contains resources that are not edited by Microsoft - Visual C++. You should place all resources not editable by - the resource editor in this file. - - -///////////////////////////////////////////////////////////////////////////// - -The application wizard creates one dialog class: - -7296int2Dlg.h, 7296int2Dlg.cpp - the dialog - These files contain your CMy7296int2Dlg class. This class defines - the behavior of your application's main dialog. The dialog's template is - in 7296int2.rc, which can be edited in Microsoft Visual C++. - - -///////////////////////////////////////////////////////////////////////////// - -Other Features: - -ActiveX Controls - The application includes support to use ActiveX controls. - -///////////////////////////////////////////////////////////////////////////// - -Other standard files: - -StdAfx.h, StdAfx.cpp - These files are used to build a precompiled header (PCH) file - named 7296int2.pch and a precompiled types file named StdAfx.obj. - -Resource.h - This is the standard header file, which defines new resource IDs. - Microsoft Visual C++ reads and updates this file. - -7296int2.manifest - Application manifest files are used by Windows XP to describe an applications - dependency on specific versions of Side-by-Side assemblies. The loader uses this - information to load the appropriate assembly from the assembly cache or private - from the application. The Application manifest maybe included for redistribution - as an external .manifest file that is installed in the same folder as the application - executable or it may be included in the executable in the form of a resource. -///////////////////////////////////////////////////////////////////////////// - -Other notes: - -The application wizard uses "TODO:" to indicate parts of the source code you -should add to or customize. - -If your application uses MFC in a shared DLL, you will need -to redistribute the MFC DLLs. If your application is in a language -other than the operating system's locale, you will also have to -redistribute the corresponding localized resources MFC90XXX.DLL. -For more information on both of these topics, please see the section on -redistributing Visual C++ applications in MSDN documentation. - -///////////////////////////////////////////////////////////////////////////// diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7296/SDK7296DbEvtMsg/SetupDlg.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7296/SDK7296DbEvtMsg/SetupDlg.cpp deleted file mode 100644 index 3bd29c3..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7296/SDK7296DbEvtMsg/SetupDlg.cpp +++ /dev/null @@ -1,63 +0,0 @@ -// SetupDlg.cpp : implementation file -// - -#include "stdafx.h" -#include "7296int2.h" -#include "SetupDlg.h" - - -// CSetupDlg dialog - -IMPLEMENT_DYNAMIC(CSetupDlg, CDialog) - -CSetupDlg::CSetupDlg(CWnd* pParent /*=NULL*/) - : CDialog(CSetupDlg::IDD, pParent) - , m_nSampleCount(40) - , m_nSampleRate(10000) -{ - -} - -CSetupDlg::~CSetupDlg() -{ -} - -void CSetupDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); - DDX_Control(pDX, IDC_COMBO_CARDNO, m_cbCardID); - DDX_Text(pDX, IDC_EDIT_COUNT, m_nSampleCount); - DDX_Text(pDX, IDC_EDIT_RATE, m_nSampleRate); - DDV_MinMaxLong(pDX, m_nSampleCount, 0, 32768); - DDV_MinMaxLong(pDX, m_nSampleRate, 0, 15000); -} - - -BEGIN_MESSAGE_MAP(CSetupDlg, CDialog) - ON_CBN_SELCHANGE(IDC_COMBO_CARDNO, &CSetupDlg::OnCardNoSelchange) -// ON_EN_CHANGE(IDC_EDIT_COUNT, &CSetupDlg::OnEnChangeEditCount) -END_MESSAGE_MAP() - - -// CSetupDlg message handlers - -BOOL CSetupDlg::OnInitDialog() -{ - CDialog::OnInitDialog(); - - // TODO: Add extra initialization here - m_cbCardID.SetCurSel(0); - m_nCardIdx = 0; - - - return TRUE; // return TRUE unless you set the focus to a control - // EXCEPTION: OCX Property Pages should return FALSE -} - -void CSetupDlg::OnCardNoSelchange() -{ - // TODO: Add your control notification handler code here - m_nCardIdx = m_cbCardID.GetCurSel(); - -} - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7296/SDK7296DbEvtMsg/SetupDlg.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7296/SDK7296DbEvtMsg/SetupDlg.h deleted file mode 100644 index 7b42abf..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7296/SDK7296DbEvtMsg/SetupDlg.h +++ /dev/null @@ -1,30 +0,0 @@ -#pragma once -#include "afxwin.h" - - -// CSetupDlg dialog - -class CSetupDlg : public CDialog -{ - DECLARE_DYNAMIC(CSetupDlg) - -public: - CSetupDlg(CWnd* pParent = NULL); // standard constructor - virtual ~CSetupDlg(); - -// Dialog Data - enum { IDD = IDD_DIALOG_SETUP }; - -protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - - DECLARE_MESSAGE_MAP() -public: - CComboBox m_cbCardID; - virtual BOOL OnInitDialog(); - long m_nSampleCount; - long m_nSampleRate; - int m_nCardIdx; - afx_msg void OnCardNoSelchange(); -// afx_msg void OnEnChangeEditCount(); -}; diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7296/SDK7296DbEvtMsg/res/7296int2.ico b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7296/SDK7296DbEvtMsg/res/7296int2.ico deleted file mode 100644 index d56fbcd..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7296/SDK7296DbEvtMsg/res/7296int2.ico and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7296/SDK7296DbEvtMsg/res/My7296int2.rc2 b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7296/SDK7296DbEvtMsg/res/My7296int2.rc2 deleted file mode 100644 index 1b53e51..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7296/SDK7296DbEvtMsg/res/My7296int2.rc2 +++ /dev/null @@ -1,13 +0,0 @@ -// -// My7296int2.RC2 - resources Microsoft Visual C++ does not edit directly -// - -#ifdef APSTUDIO_INVOKED -#error this file is not editable by Microsoft Visual C++ -#endif //APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// Add manually edited resources here... - -///////////////////////////////////////////////////////////////////////////// diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7296/SDK7296DbEvtMsg/resource.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7296/SDK7296DbEvtMsg/resource.h deleted file mode 100644 index 0f6273a..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7296/SDK7296DbEvtMsg/resource.h +++ /dev/null @@ -1,35 +0,0 @@ -//{{NO_DEPENDENCIES}} -// Microsoft Visual C++ generated include file. -// Used by 7296int2.rc -// -#define IDM_ABOUTBOX 0x0010 -#define IDD_ABOUTBOX 100 -#define IDS_ABOUTBOX 101 -#define IDD_MY7296INT2_DIALOG 102 -#define IDR_MAINFRAME 128 -#define IDD_DIALOG_SETUP 129 -#define IDC_BT_SETUP 1000 -#define IDC_BT_TRIGGER 1001 -#define IDC_STATIC_04 1002 -#define IDC_COMBO_CARDNO 1003 -#define IDC_EDIT_COUNT 1004 -#define IDC_EDIT_RATE 1005 -#define IDC_STATIC_07 1005 -#define IDC_STATIC_05 1006 -#define IDC_STATIC_06 1007 -#define IDC_STATIC_LINE1 1008 -#define IDC_STATIC_LINE2 1009 -#define IDC_STATIC_LINE3 1010 -#define IDC_STATIC_LINE4 1011 -#define IDC_STATIC_LINE5 1012 - -// Next default values for new objects -// -#ifdef APSTUDIO_INVOKED -#ifndef APSTUDIO_READONLY_SYMBOLS -#define _APS_NEXT_RESOURCE_VALUE 131 -#define _APS_NEXT_COMMAND_VALUE 32771 -#define _APS_NEXT_CONTROL_VALUE 1009 -#define _APS_NEXT_SYMED_VALUE 101 -#endif -#endif diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7296/SDK7296DbEvtMsg/stdafx.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7296/SDK7296DbEvtMsg/stdafx.cpp deleted file mode 100644 index 85d2109..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7296/SDK7296DbEvtMsg/stdafx.cpp +++ /dev/null @@ -1,8 +0,0 @@ - -// stdafx.cpp : source file that includes just the standard includes -// 7296int2.pch will be the pre-compiled header -// stdafx.obj will contain the pre-compiled type information - -#include "stdafx.h" - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7296/SDK7296DbEvtMsg/stdafx.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7296/SDK7296DbEvtMsg/stdafx.h deleted file mode 100644 index 12123e2..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7296/SDK7296DbEvtMsg/stdafx.h +++ /dev/null @@ -1,60 +0,0 @@ - -// stdafx.h : include file for standard system include files, -// or project specific include files that are used frequently, -// but are changed infrequently - -#pragma once - -#ifndef _SECURE_ATL -#define _SECURE_ATL 1 -#endif - -#ifndef VC_EXTRALEAN -#define VC_EXTRALEAN // Exclude rarely-used stuff from Windows headers -#endif - -#include "targetver.h" - -#define _ATL_CSTRING_EXPLICIT_CONSTRUCTORS // some CString constructors will be explicit - -// turns off MFC's hiding of some common and often safely ignored warning messages -#define _AFX_ALL_WARNINGS - -#include // MFC core and standard components -#include // MFC extensions - - -#include // MFC Automation classes - - - -#ifndef _AFX_NO_OLE_SUPPORT -#include // MFC support for Internet Explorer 4 Common Controls -#endif -#ifndef _AFX_NO_AFXCMN_SUPPORT -#include // MFC support for Windows Common Controls -#endif // _AFX_NO_AFXCMN_SUPPORT - -#include // MFC support for ribbons and control bars - - - - - - - - - -#ifdef _UNICODE -#if defined _M_IX86 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='x86' publicKeyToken='6595b64144ccf1df' language='*'\"") -#elif defined _M_IA64 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='ia64' publicKeyToken='6595b64144ccf1df' language='*'\"") -#elif defined _M_X64 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='amd64' publicKeyToken='6595b64144ccf1df' language='*'\"") -#else -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='*' publicKeyToken='6595b64144ccf1df' language='*'\"") -#endif -#endif - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7296/SDK7296DbEvtMsg/targetver.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7296/SDK7296DbEvtMsg/targetver.h deleted file mode 100644 index 11730d5..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7296/SDK7296DbEvtMsg/targetver.h +++ /dev/null @@ -1,26 +0,0 @@ - -#pragma once - -// The following macros define the minimum required platform. The minimum required platform -// is the earliest version of Windows, Internet Explorer etc. that has the necessary features to run -// your application. The macros work by enabling all features available on platform versions up to and -// including the version specified. - -// Modify the following defines if you have to target a platform prior to the ones specified below. -// Refer to MSDN for the latest info on corresponding values for different platforms. -#ifndef WINVER // Specifies that the minimum required platform is Windows Vista. -#define WINVER 0x0600 // Change this to the appropriate value to target other versions of Windows. -#endif - -#ifndef _WIN32_WINNT // Specifies that the minimum required platform is Windows Vista. -#define _WIN32_WINNT 0x0600 // Change this to the appropriate value to target other versions of Windows. -#endif - -#ifndef _WIN32_WINDOWS // Specifies that the minimum required platform is Windows 98. -#define _WIN32_WINDOWS 0x0410 // Change this to the appropriate value to target Windows Me or later. -#endif - -#ifndef _WIN32_IE // Specifies that the minimum required platform is Internet Explorer 7.0. -#define _WIN32_IE 0x0700 // Change this to the appropriate value to target other versions of IE. -#endif - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7296/SDK7296Int/7296Int.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7296/SDK7296Int/7296Int.cpp deleted file mode 100644 index 201b645..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7296/SDK7296Int/7296Int.cpp +++ /dev/null @@ -1,79 +0,0 @@ - -// 7296Int.cpp : Defines the class behaviors for the application. -// - -#include "stdafx.h" -#include "7296Int.h" -#include "7296IntDlg.h" - -#ifdef _DEBUG -#define new DEBUG_NEW -#endif - - -// C7296IntApp - -BEGIN_MESSAGE_MAP(C7296IntApp, CWinAppEx) - ON_COMMAND(ID_HELP, &CWinApp::OnHelp) -END_MESSAGE_MAP() - - -// C7296IntApp construction - -C7296IntApp::C7296IntApp() -{ - // TODO: add construction code here, - // Place all significant initialization in InitInstance -} - - -// The one and only C7296IntApp object - -C7296IntApp theApp; - - -// C7296IntApp initialization - -BOOL C7296IntApp::InitInstance() -{ - // InitCommonControlsEx() is required on Windows XP if an application - // manifest specifies use of ComCtl32.dll version 6 or later to enable - // visual styles. Otherwise, any window creation will fail. - INITCOMMONCONTROLSEX InitCtrls; - InitCtrls.dwSize = sizeof(InitCtrls); - // Set this to include all the common control classes you want to use - // in your application. - InitCtrls.dwICC = ICC_WIN95_CLASSES; - InitCommonControlsEx(&InitCtrls); - - CWinAppEx::InitInstance(); - - AfxEnableControlContainer(); - - // Standard initialization - // If you are not using these features and wish to reduce the size - // of your final executable, you should remove from the following - // the specific initialization routines you do not need - // Change the registry key under which our settings are stored - // TODO: You should modify this string to be something appropriate - // such as the name of your company or organization - SetRegistryKey(_T("Local AppWizard-Generated Applications")); - - C7296IntDlg dlg; - m_pMainWnd = &dlg; - INT_PTR nResponse = dlg.DoModal(); - if (nResponse == IDOK) - { - // TODO: Place code here to handle when the dialog is - // dismissed with OK - } - else if (nResponse == IDCANCEL) - { - // TODO: Place code here to handle when the dialog is - // dismissed with Cancel - } - - // Since the dialog has been closed, return FALSE so that we exit the - // application, rather than start the application's message pump. - return FALSE; -} diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7296/SDK7296Int/7296Int.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7296/SDK7296Int/7296Int.h deleted file mode 100644 index ceda3c1..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7296/SDK7296Int/7296Int.h +++ /dev/null @@ -1,32 +0,0 @@ - -// 7296Int.h : main header file for the PROJECT_NAME application -// - -#pragma once - -#ifndef __AFXWIN_H__ - #error "include 'stdafx.h' before including this file for PCH" -#endif - -#include "resource.h" // main symbols - - -// C7296IntApp: -// See 7296Int.cpp for the implementation of this class -// - -class C7296IntApp : public CWinAppEx -{ -public: - C7296IntApp(); - -// Overrides - public: - virtual BOOL InitInstance(); - -// Implementation - - DECLARE_MESSAGE_MAP() -}; - -extern C7296IntApp theApp; \ No newline at end of file diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7296/SDK7296Int/7296Int.rc b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7296/SDK7296Int/7296Int.rc deleted file mode 100644 index 4676cfd..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7296/SDK7296Int/7296Int.rc +++ /dev/null @@ -1,290 +0,0 @@ -// Microsoft Visual C++ generated resource script. -// -#include "resource.h" - -#define APSTUDIO_READONLY_SYMBOLS -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 2 resource. -// -#ifndef APSTUDIO_INVOKED -#include "targetver.h" -#endif -#include "afxres.h" - -///////////////////////////////////////////////////////////////////////////// -#undef APSTUDIO_READONLY_SYMBOLS - -///////////////////////////////////////////////////////////////////////////// -// Chinese (Taiwan) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_CHT) -#ifdef _WIN32 -LANGUAGE LANG_CHINESE, SUBLANG_CHINESE_TRADITIONAL -#pragma code_page(950) -#endif //_WIN32 - -#ifdef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// TEXTINCLUDE -// - -1 TEXTINCLUDE -BEGIN - "resource.h\0" -END - -2 TEXTINCLUDE -BEGIN - "#ifndef APSTUDIO_INVOKED\r\n" - "#include ""targetver.h""\r\n" - "#endif\r\n" - "#include ""afxres.h""\r\n" - "\0" -END - -3 TEXTINCLUDE -BEGIN - "#define _AFX_NO_SPLITTER_RESOURCES\r\n" - "#define _AFX_NO_OLE_RESOURCES\r\n" - "#define _AFX_NO_TRACKER_RESOURCES\r\n" - "#define _AFX_NO_PROPERTY_RESOURCES\r\n" - "\r\n" - "#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)\r\n" - "LANGUAGE 9, 1\r\n" - "#pragma code_page(1252)\r\n" - "#include ""res\\My7296Int.rc2"" // non-Microsoft Visual C++ edited resources\r\n" - "#include ""afxres.rc"" // Standard components\r\n" - "#endif\r\n" - "\0" -END - -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// Icon -// - -// Icon with lowest ID value placed first to ensure application icon -// remains consistent on all systems. -IDR_MAINFRAME ICON "res\\7296Int.ico" -#endif // Chinese (Taiwan) resources -///////////////////////////////////////////////////////////////////////////// - - -///////////////////////////////////////////////////////////////////////////// -// English (U.S.) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -#ifdef _WIN32 -LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US -#pragma code_page(1252) -#endif //_WIN32 - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog -// - -IDD_ABOUTBOX DIALOGEX 0, 0, 170, 62 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "About 7296Int" -FONT 8, "MS Shell Dlg", 0, 0, 0x1 -BEGIN - ICON IDR_MAINFRAME,IDC_STATIC,14,14,21,20 - LTEXT "7296Int, Version 1.0",IDC_STATIC,42,14,114,8,SS_NOPREFIX - LTEXT "Copyright (C) 2010",IDC_STATIC,42,26,114,8 - DEFPUSHBUTTON "OK",IDOK,113,41,50,14,WS_GROUP -END - -IDD_MY7296INT_DIALOG DIALOGEX 0, 0, 271, 207 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU -EXSTYLE WS_EX_APPWINDOW -CAPTION "7296 Interrupt Sample" -FONT 8, "MS Shell Dlg", 0, 0, 0x1 -BEGIN - PUSHBUTTON "Exit",IDCANCEL,163,7,50,14 - PUSHBUTTON "Setup",IDC_BT_SETUP,7,7,53,14 - PUSHBUTTON "Interrupt Trigger",IDC_BT_TRIGGER,61,7,102,14,WS_DISABLED - LTEXT "This sample performs digital output on PortA of\nCN2 and digital input on PortA of CN1 when an\ninterrupt happens. The INT2 is used, and inetrrupt signals are generated by internal Timer-output.",IDC_STATIC,7,26,206,33 - LTEXT "Using cable to connect CN1 and CN2\nClick 'Setup' button first ...",IDC_STATIC_04,7,62,125,17 - LTEXT "Data from Input port: \n** only shows at most 50 data **",IDC_STATIC_07,7,97,113,19,NOT WS_VISIBLE - LTEXT "INT2 Count =",IDC_STATIC_06,7,83,85,13 - LTEXT "",IDC_STATIC_LINE1,7,116,247,11 - LTEXT "",IDC_STATIC_LINE2,7,130,247,11 - LTEXT "",IDC_STATIC_LINE3,7,143,247,11 - LTEXT "",IDC_STATIC_LINE4,7,156,247,11 - LTEXT "",IDC_STATIC_LINE5,7,170,247,11 -END - -IDD_DIALOG_SETUP DIALOGEX 0, 0, 201, 114 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "Setup Dialog" -FONT 8, "MS Shell Dlg", 400, 0, 0x1 -BEGIN - DEFPUSHBUTTON "OK",IDOK,48,84,50,14 - PUSHBUTTON "Cancel",IDCANCEL,105,84,50,14 - LTEXT "Card Number : ",IDC_STATIC,19,19,53,14 - LTEXT "Total Count : ",IDC_STATIC,19,39,53,14 - LTEXT "Sampling Rate : ",IDC_STATIC,19,57,53,14 - COMBOBOX IDC_COMBO_CARDNO,79,17,86,13,CBS_DROPDOWN | WS_VSCROLL | WS_TABSTOP - EDITTEXT IDC_EDIT_COUNT,79,36,85,14,ES_AUTOHSCROLL | ES_NUMBER - EDITTEXT IDC_EDIT_RATE,79,55,85,14,ES_AUTOHSCROLL | ES_NUMBER -END - - -///////////////////////////////////////////////////////////////////////////// -// -// Version -// - -VS_VERSION_INFO VERSIONINFO - FILEVERSION 1,0,0,1 - PRODUCTVERSION 1,0,0,1 - FILEFLAGSMASK 0x3fL -#ifdef _DEBUG - FILEFLAGS 0x1L -#else - FILEFLAGS 0x0L -#endif - FILEOS 0x4L - FILETYPE 0x1L - FILESUBTYPE 0x0L -BEGIN - BLOCK "StringFileInfo" - BEGIN - BLOCK "040904e4" - BEGIN - VALUE "CompanyName", "TODO: " - VALUE "FileDescription", "TODO: " - VALUE "FileVersion", "1.0.0.1" - VALUE "InternalName", "7296Int.exe" - VALUE "LegalCopyright", "TODO: (c) . All rights reserved." - VALUE "OriginalFilename", "7296Int.exe" - VALUE "ProductName", "TODO: " - VALUE "ProductVersion", "1.0.0.1" - END - END - BLOCK "VarFileInfo" - BEGIN - VALUE "Translation", 0x409, 1252 - END -END - - -///////////////////////////////////////////////////////////////////////////// -// -// DESIGNINFO -// - -#ifdef APSTUDIO_INVOKED -GUIDELINES DESIGNINFO -BEGIN - IDD_ABOUTBOX, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 163 - TOPMARGIN, 7 - BOTTOMMARGIN, 55 - END - - IDD_MY7296INT_DIALOG, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 264 - TOPMARGIN, 7 - BOTTOMMARGIN, 200 - END - - IDD_DIALOG_SETUP, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 194 - TOPMARGIN, 7 - BOTTOMMARGIN, 107 - END -END -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog Info -// - -IDD_DIALOG_SETUP DLGINIT -BEGIN - IDC_COMBO_CARDNO, 0x403, 2, 0 -0x0030, - IDC_COMBO_CARDNO, 0x403, 2, 0 -0x0031, - IDC_COMBO_CARDNO, 0x403, 2, 0 -0x0032, - IDC_COMBO_CARDNO, 0x403, 2, 0 -0x0033, - IDC_COMBO_CARDNO, 0x403, 2, 0 -0x0034, - IDC_COMBO_CARDNO, 0x403, 2, 0 -0x0035, - IDC_COMBO_CARDNO, 0x403, 2, 0 -0x0036, - IDC_COMBO_CARDNO, 0x403, 2, 0 -0x0037, - IDC_COMBO_CARDNO, 0x403, 2, 0 -0x0038, - IDC_COMBO_CARDNO, 0x403, 2, 0 -0x0039, - IDC_COMBO_CARDNO, 0x403, 3, 0 -0x3031, "\000" - IDC_COMBO_CARDNO, 0x403, 3, 0 -0x3131, "\000" - IDC_COMBO_CARDNO, 0x403, 3, 0 -0x3231, "\000" - IDC_COMBO_CARDNO, 0x403, 3, 0 -0x3331, "\000" - IDC_COMBO_CARDNO, 0x403, 3, 0 -0x3431, "\000" - IDC_COMBO_CARDNO, 0x403, 3, 0 -0x3531, "\000" - 0 -END - - -///////////////////////////////////////////////////////////////////////////// -// -// String Table -// - -STRINGTABLE -BEGIN - IDS_ABOUTBOX "&About 7296Int..." -END - -#endif // English (U.S.) resources -///////////////////////////////////////////////////////////////////////////// - - - -#ifndef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 3 resource. -// -#define _AFX_NO_SPLITTER_RESOURCES -#define _AFX_NO_OLE_RESOURCES -#define _AFX_NO_TRACKER_RESOURCES -#define _AFX_NO_PROPERTY_RESOURCES - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -LANGUAGE 9, 1 -#pragma code_page(1252) -#include "res\My7296Int.rc2" // non-Microsoft Visual C++ edited resources -#include "afxres.rc" // Standard components -#endif - -///////////////////////////////////////////////////////////////////////////// -#endif // not APSTUDIO_INVOKED - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7296/SDK7296Int/7296Int.sln b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7296/SDK7296Int/7296Int.sln deleted file mode 100644 index e90b2d8..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7296/SDK7296Int/7296Int.sln +++ /dev/null @@ -1,20 +0,0 @@ - -Microsoft Visual Studio Solution File, Format Version 10.00 -# Visual Studio 2008 -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "7296Int", "7296Int.vcproj", "{03CC0712-9928-4AC4-9A68-06B8B735AB32}" -EndProject -Global - GlobalSection(SolutionConfigurationPlatforms) = preSolution - Debug|x64 = Debug|x64 - Release|x64 = Release|x64 - EndGlobalSection - GlobalSection(ProjectConfigurationPlatforms) = postSolution - {03CC0712-9928-4AC4-9A68-06B8B735AB32}.Debug|x64.ActiveCfg = Debug|x64 - {03CC0712-9928-4AC4-9A68-06B8B735AB32}.Debug|x64.Build.0 = Debug|x64 - {03CC0712-9928-4AC4-9A68-06B8B735AB32}.Release|x64.ActiveCfg = Release|x64 - {03CC0712-9928-4AC4-9A68-06B8B735AB32}.Release|x64.Build.0 = Release|x64 - EndGlobalSection - GlobalSection(SolutionProperties) = preSolution - HideSolutionNode = FALSE - EndGlobalSection -EndGlobal diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7296/SDK7296Int/7296Int.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7296/SDK7296Int/7296Int.suo deleted file mode 100644 index deb5686..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7296/SDK7296Int/7296Int.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7296/SDK7296Int/7296Int.vcproj b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7296/SDK7296Int/7296Int.vcproj deleted file mode 100644 index 4e07b7e..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7296/SDK7296Int/7296Int.vcproj +++ /dev/null @@ -1,286 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7296/SDK7296Int/7296IntDlg.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7296/SDK7296Int/7296IntDlg.cpp deleted file mode 100644 index 27b846f..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7296/SDK7296Int/7296IntDlg.cpp +++ /dev/null @@ -1,343 +0,0 @@ - -// 7296IntDlg.cpp : implementation file -// - -#include "stdafx.h" -#include "7296Int.h" -#include "7296IntDlg.h" -#include "SetupDlg.h" - - -#ifdef _DEBUG -#define new DEBUG_NEW -#endif - -U32 gInBuffer[32768], gOutBuffer[32768]; -HANDLE ghIntEvent[2]; - -// CAboutDlg dialog used for App About - -class CAboutDlg : public CDialog -{ -public: - CAboutDlg(); - -// Dialog Data - enum { IDD = IDD_ABOUTBOX }; - - protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - -// Implementation -protected: - DECLARE_MESSAGE_MAP() -}; - -CAboutDlg::CAboutDlg() : CDialog(CAboutDlg::IDD) -{ -} - -void CAboutDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); -} - -BEGIN_MESSAGE_MAP(CAboutDlg, CDialog) -END_MESSAGE_MAP() - - -// C7296IntDlg dialog - - - - -C7296IntDlg::C7296IntDlg(CWnd* pParent /*=NULL*/) - : CDialog(C7296IntDlg::IDD, pParent) - , m_nCardIdx(-1) - , m_nSampleCount(-1) - , m_nSampleRate(-1) - , m_hCard(-1) -{ - m_hIcon = AfxGetApp()->LoadIcon(IDR_MAINFRAME); - m_nC1=10; m_nC2=10; -} - -void C7296IntDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); -} - -BEGIN_MESSAGE_MAP(C7296IntDlg, CDialog) - ON_WM_SYSCOMMAND() - ON_WM_PAINT() - ON_WM_QUERYDRAGICON() - //}}AFX_MSG_MAP -// ON_STN_CLICKED(IDC_STATIC_07, &C7296IntDlg::OnStnClickedStatic07) -ON_WM_DESTROY() -ON_BN_CLICKED(IDC_BT_SETUP, &C7296IntDlg::OnSetup) -ON_BN_CLICKED(IDC_BT_TRIGGER, &C7296IntDlg::OnTrigger) -ON_WM_CTLCOLOR() -END_MESSAGE_MAP() - - -// C7296IntDlg message handlers - -BOOL C7296IntDlg::OnInitDialog() -{ - CDialog::OnInitDialog(); - - // Add "About..." menu item to system menu. - - // IDM_ABOUTBOX must be in the system command range. - ASSERT((IDM_ABOUTBOX & 0xFFF0) == IDM_ABOUTBOX); - ASSERT(IDM_ABOUTBOX < 0xF000); - - CMenu* pSysMenu = GetSystemMenu(FALSE); - if (pSysMenu != NULL) - { - BOOL bNameValid; - CString strAboutMenu; - bNameValid = strAboutMenu.LoadString(IDS_ABOUTBOX); - ASSERT(bNameValid); - if (!strAboutMenu.IsEmpty()) - { - pSysMenu->AppendMenu(MF_SEPARATOR); - pSysMenu->AppendMenu(MF_STRING, IDM_ABOUTBOX, strAboutMenu); - } - } - - // Set the icon for this dialog. The framework does this automatically - // when the application's main window is not a dialog - SetIcon(m_hIcon, TRUE); // Set big icon - SetIcon(m_hIcon, FALSE); // Set small icon - - // TODO: Add extra initialization here - - return TRUE; // return TRUE unless you set the focus to a control -} - -void C7296IntDlg::OnSysCommand(UINT nID, LPARAM lParam) -{ - if ((nID & 0xFFF0) == IDM_ABOUTBOX) - { - CAboutDlg dlgAbout; - dlgAbout.DoModal(); - } - else - { - CDialog::OnSysCommand(nID, lParam); - } -} - -// If you add a minimize button to your dialog, you will need the code below -// to draw the icon. For MFC applications using the document/view model, -// this is automatically done for you by the framework. - -void C7296IntDlg::OnPaint() -{ - if (IsIconic()) - { - CPaintDC dc(this); // device context for painting - - SendMessage(WM_ICONERASEBKGND, reinterpret_cast(dc.GetSafeHdc()), 0); - - // Center icon in client rectangle - int cxIcon = GetSystemMetrics(SM_CXICON); - int cyIcon = GetSystemMetrics(SM_CYICON); - CRect rect; - GetClientRect(&rect); - int x = (rect.Width() - cxIcon + 1) / 2; - int y = (rect.Height() - cyIcon + 1) / 2; - - // Draw the icon - dc.DrawIcon(x, y, m_hIcon); - } - else - { - CDialog::OnPaint(); - } -} - -// The system calls this function to obtain the cursor to display while the user drags -// the minimized window. -HCURSOR C7296IntDlg::OnQueryDragIcon() -{ - return static_cast(m_hIcon); -} - -void C7296IntDlg::OnDestroy() -{ - CDialog::OnDestroy(); - - // TODO: Add your message handler code here - int i; - - if( m_hCard >= 0 ) - { - DIO_SetDualInterrupt(m_hCard, INT1_DISABLE, INT2_DISABLE, ghIntEvent); - - for (i=0; i<2; i++) - { - if(ghIntEvent[i]) - ResetEvent(ghIntEvent[i]); - } - - - Release_Card( m_hCard ); m_hCard = -1; - } -} - -void C7296IntDlg::OnSetup() -{ - // TODO: Add your control notification handler code here - CSetupDlg setupDlg; - INT_PTR nResponse; - CString strTemp; - int i, k; - - nResponse = setupDlg.DoModal(); - if (nResponse == IDOK) - { - if( m_nCardIdx != setupDlg.m_nCardIdx ) - { - if( m_hCard != -1 ) - { - Release_Card( m_hCard ); - m_hCard = -1; - } - - m_nCardIdx = setupDlg.m_nCardIdx; - } - - - if( m_hCard == -1 ) - { - if ((m_hCard = Register_Card(PCI_7296, m_nCardIdx)) < 0) - { - strTemp.Format( TEXT("Register_Card Error = %d"), m_hCard); - AfxMessageBox( strTemp ); - - EndDialog(IDCANCEL); - return; - } - } - - m_nSampleCount = setupDlg.m_nSampleCount; - m_nSampleRate = setupDlg.m_nSampleRate; - - for ( i=0, k=0; i255) k=0; - - gInBuffer[i]=0; - } - - - DIO_PortConfig(m_hCard, Channel_P1A, INPUT_PORT); - DIO_PortConfig(m_hCard, Channel_P2A, OUTPUT_PORT); - - DIO_SetDualInterrupt(m_hCard, INT1_DISABLE, INT2_TIMER_COUNTER, ghIntEvent); - m_nC2 = 2000000/(m_nSampleRate*m_nC1); - - GetDlgItem(IDC_BT_TRIGGER)->EnableWindow( TRUE ); - - } - else if (nResponse == IDCANCEL) - { - // TODO: Place code here to handle when the dialog is - // dismissed with Cancel - } -} - -void C7296IntDlg::OnTrigger() -{ - // TODO: Add your control notification handler code here - int i, k; - CString strTemp; - CString strLine1, strLine2, strLine3, strLine4, strLine5; - - CTR_Setup(m_hCard, 1, RATE_GENERATOR, m_nC1, BIN); - CTR_Setup(m_hCard, 2, RATE_GENERATOR, m_nC2, BIN); - - k=0; i=0; - - while ( k < m_nSampleCount ) - { - if (WaitForSingleObject(ghIntEvent[1], 4000) == WAIT_OBJECT_0) - { - strTemp.Format( TEXT("INT2 Count = %d "), k+1); - SetDlgItemText( IDC_STATIC_06, strTemp ); - - DO_WritePort( m_hCard, Channel_P2A, gOutBuffer[k]); - DI_ReadPort( m_hCard, Channel_P1A, &(gInBuffer[k]) ); - - k++; - } - } - - CTR_Setup( m_hCard, 1, RATE_GENERATOR, 0, BIN); - CTR_Setup( m_hCard, 2, RATE_GENERATOR, 0, BIN); - - GetDlgItem(IDC_STATIC_07)->ShowWindow( SW_SHOW ); - - strLine1.Empty(); /// clear strLine1 - strLine2.Empty(); /// clear strLine2 - strLine3.Empty(); /// clear strLine3 - strLine4.Empty(); /// clear strLine4 - strLine5.Empty(); /// clear strLine5 - - for ( i=0; i=10 && i<20) - { - strLine2 += strTemp; - } - if(i>=20 && i<30) - { - strLine3 += strTemp; - } - if (i>=30 && i<40) - { - strLine4 += strTemp; - } - if (i>=40 && i<50) - { - strLine5 += strTemp; - } - } - - if( !strLine1.IsEmpty() ) - SetDlgItemText( IDC_STATIC_LINE1, strLine1 ); - - if( !strLine2.IsEmpty() ) - SetDlgItemText( IDC_STATIC_LINE2, strLine2 ); - - if( !strLine3.IsEmpty() ) - SetDlgItemText( IDC_STATIC_LINE3, strLine3 ); - - if( !strLine4.IsEmpty() ) - SetDlgItemText( IDC_STATIC_LINE4, strLine4 ); - - if( !strLine5.IsEmpty() ) - SetDlgItemText( IDC_STATIC_LINE5, strLine5 ); -} - -HBRUSH C7296IntDlg::OnCtlColor(CDC* pDC, CWnd* pWnd, UINT nCtlColor) -{ - HBRUSH hbr = CDialog::OnCtlColor(pDC, pWnd, nCtlColor); - - // TODO: Change any attributes of the DC here - if ( pWnd->GetDlgCtrlID() == IDC_STATIC_04 ) - pDC->SetTextColor(RGB(255,0,0)); - - // TODO: Return a different brush if the default is not desired - return hbr; -} diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7296/SDK7296Int/7296IntDlg.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7296/SDK7296Int/7296IntDlg.h deleted file mode 100644 index 3fb27c8..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7296/SDK7296Int/7296IntDlg.h +++ /dev/null @@ -1,47 +0,0 @@ - -// 7296IntDlg.h : header file -// - -#include "Dask64.h" - -#pragma once - - -// C7296IntDlg dialog -class C7296IntDlg : public CDialog -{ -// Construction -public: - C7296IntDlg(CWnd* pParent = NULL); // standard constructor - -// Dialog Data - enum { IDD = IDD_MY7296INT_DIALOG }; - - protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - - -// Implementation -protected: - HICON m_hIcon; - int m_nCardIdx; - long m_nSampleCount; - long m_nSampleRate; - - I16 m_hCard; - int m_nC1; - int m_nC2; - - // Generated message map functions - virtual BOOL OnInitDialog(); - afx_msg void OnSysCommand(UINT nID, LPARAM lParam); - afx_msg void OnPaint(); - afx_msg HCURSOR OnQueryDragIcon(); - DECLARE_MESSAGE_MAP() -public: -// afx_msg void OnStnClickedStatic07(); - afx_msg void OnDestroy(); - afx_msg void OnSetup(); - afx_msg void OnTrigger(); - afx_msg HBRUSH OnCtlColor(CDC* pDC, CWnd* pWnd, UINT nCtlColor); -}; diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7296/SDK7296Int/ReadMe.txt b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7296/SDK7296Int/ReadMe.txt deleted file mode 100644 index 7d743b1..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7296/SDK7296Int/ReadMe.txt +++ /dev/null @@ -1,93 +0,0 @@ -================================================================================ - MICROSOFT FOUNDATION CLASS LIBRARY : 7296Int Project Overview -=============================================================================== - -The application wizard has created this 7296Int application for -you. This application not only demonstrates the basics of using the Microsoft -Foundation Classes but is also a starting point for writing your application. - -This file contains a summary of what you will find in each of the files that -make up your 7296Int application. - -7296Int.vcproj - This is the main project file for VC++ projects generated using an application wizard. - It contains information about the version of Visual C++ that generated the file, and - information about the platforms, configurations, and project features selected with the - application wizard. - -7296Int.h - This is the main header file for the application. It includes other - project specific headers (including Resource.h) and declares the - C7296IntApp application class. - -7296Int.cpp - This is the main application source file that contains the application - class C7296IntApp. - -7296Int.rc - This is a listing of all of the Microsoft Windows resources that the - program uses. It includes the icons, bitmaps, and cursors that are stored - in the RES subdirectory. This file can be directly edited in Microsoft - Visual C++. Your project resources are in 1033. - -res\7296Int.ico - This is an icon file, which is used as the application's icon. This - icon is included by the main resource file 7296Int.rc. - -res\My7296Int.rc2 - This file contains resources that are not edited by Microsoft - Visual C++. You should place all resources not editable by - the resource editor in this file. - - -///////////////////////////////////////////////////////////////////////////// - -The application wizard creates one dialog class: - -7296IntDlg.h, 7296IntDlg.cpp - the dialog - These files contain your C7296IntDlg class. This class defines - the behavior of your application's main dialog. The dialog's template is - in 7296Int.rc, which can be edited in Microsoft Visual C++. - - -///////////////////////////////////////////////////////////////////////////// - -Other Features: - -ActiveX Controls - The application includes support to use ActiveX controls. - -///////////////////////////////////////////////////////////////////////////// - -Other standard files: - -StdAfx.h, StdAfx.cpp - These files are used to build a precompiled header (PCH) file - named 7296Int.pch and a precompiled types file named StdAfx.obj. - -Resource.h - This is the standard header file, which defines new resource IDs. - Microsoft Visual C++ reads and updates this file. - -7296Int.manifest - Application manifest files are used by Windows XP to describe an applications - dependency on specific versions of Side-by-Side assemblies. The loader uses this - information to load the appropriate assembly from the assembly cache or private - from the application. The Application manifest maybe included for redistribution - as an external .manifest file that is installed in the same folder as the application - executable or it may be included in the executable in the form of a resource. -///////////////////////////////////////////////////////////////////////////// - -Other notes: - -The application wizard uses "TODO:" to indicate parts of the source code you -should add to or customize. - -If your application uses MFC in a shared DLL, you will need -to redistribute the MFC DLLs. If your application is in a language -other than the operating system's locale, you will also have to -redistribute the corresponding localized resources MFC90XXX.DLL. -For more information on both of these topics, please see the section on -redistributing Visual C++ applications in MSDN documentation. - -///////////////////////////////////////////////////////////////////////////// diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7296/SDK7296Int/SetupDlg.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7296/SDK7296Int/SetupDlg.cpp deleted file mode 100644 index 31d034a..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7296/SDK7296Int/SetupDlg.cpp +++ /dev/null @@ -1,63 +0,0 @@ -// SetupDlg.cpp : implementation file -// - -#include "stdafx.h" -#include "7296int.h" -#include "SetupDlg.h" - - -// CSetupDlg dialog - -IMPLEMENT_DYNAMIC(CSetupDlg, CDialog) - -CSetupDlg::CSetupDlg(CWnd* pParent /*=NULL*/) - : CDialog(CSetupDlg::IDD, pParent) - , m_nSampleCount(40) - , m_nSampleRate(5000) -{ - -} - -CSetupDlg::~CSetupDlg() -{ -} - -void CSetupDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); - DDX_Control(pDX, IDC_COMBO_CARDNO, m_cbCardID); - DDX_Text(pDX, IDC_EDIT_COUNT, m_nSampleCount); - DDX_Text(pDX, IDC_EDIT_RATE, m_nSampleRate); - DDV_MinMaxLong(pDX, m_nSampleCount, 0, 32768); - DDV_MinMaxLong(pDX, m_nSampleRate, 0, 15000); -} - - -BEGIN_MESSAGE_MAP(CSetupDlg, CDialog) - ON_CBN_SELCHANGE(IDC_COMBO_CARDNO, &CSetupDlg::OnCardNoSelchange) -// ON_EN_CHANGE(IDC_EDIT_COUNT, &CSetupDlg::OnEnChangeEditCount) -END_MESSAGE_MAP() - - -// CSetupDlg message handlers - -BOOL CSetupDlg::OnInitDialog() -{ - CDialog::OnInitDialog(); - - // TODO: Add extra initialization here - m_cbCardID.SetCurSel(0); - m_nCardIdx = 0; - - - return TRUE; // return TRUE unless you set the focus to a control - // EXCEPTION: OCX Property Pages should return FALSE -} - -void CSetupDlg::OnCardNoSelchange() -{ - // TODO: Add your control notification handler code here - m_nCardIdx = m_cbCardID.GetCurSel(); - -} - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7296/SDK7296Int/SetupDlg.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7296/SDK7296Int/SetupDlg.h deleted file mode 100644 index 7b42abf..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7296/SDK7296Int/SetupDlg.h +++ /dev/null @@ -1,30 +0,0 @@ -#pragma once -#include "afxwin.h" - - -// CSetupDlg dialog - -class CSetupDlg : public CDialog -{ - DECLARE_DYNAMIC(CSetupDlg) - -public: - CSetupDlg(CWnd* pParent = NULL); // standard constructor - virtual ~CSetupDlg(); - -// Dialog Data - enum { IDD = IDD_DIALOG_SETUP }; - -protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - - DECLARE_MESSAGE_MAP() -public: - CComboBox m_cbCardID; - virtual BOOL OnInitDialog(); - long m_nSampleCount; - long m_nSampleRate; - int m_nCardIdx; - afx_msg void OnCardNoSelchange(); -// afx_msg void OnEnChangeEditCount(); -}; diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7296/SDK7296Int/res/7296Int.ico b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7296/SDK7296Int/res/7296Int.ico deleted file mode 100644 index d56fbcd..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7296/SDK7296Int/res/7296Int.ico and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7296/SDK7296Int/res/My7296Int.rc2 b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7296/SDK7296Int/res/My7296Int.rc2 deleted file mode 100644 index 4edfe6a..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7296/SDK7296Int/res/My7296Int.rc2 +++ /dev/null @@ -1,13 +0,0 @@ -// -// My7296Int.RC2 - resources Microsoft Visual C++ does not edit directly -// - -#ifdef APSTUDIO_INVOKED -#error this file is not editable by Microsoft Visual C++ -#endif //APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// Add manually edited resources here... - -///////////////////////////////////////////////////////////////////////////// diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7296/SDK7296Int/resource.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7296/SDK7296Int/resource.h deleted file mode 100644 index f8714bf..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7296/SDK7296Int/resource.h +++ /dev/null @@ -1,35 +0,0 @@ -//{{NO_DEPENDENCIES}} -// Microsoft Visual C++ generated include file. -// Used by 7296Int.rc -// -#define IDM_ABOUTBOX 0x0010 -#define IDD_ABOUTBOX 100 -#define IDS_ABOUTBOX 101 -#define IDD_MY7296INT_DIALOG 102 -#define IDR_MAINFRAME 128 -#define IDD_DIALOG_SETUP 129 -#define IDC_BT_SETUP 1000 -#define IDC_BT_TRIGGER 1001 -#define IDC_STATIC_04 1002 -#define IDC_COMBO_CARDNO 1003 -#define IDC_EDIT_COUNT 1004 -#define IDC_STATIC_07 1005 -#define IDC_EDIT_RATE 1005 -#define IDC_STATIC_05 1006 -#define IDC_STATIC_06 1007 -#define IDC_STATIC_LINE1 1008 -#define IDC_STATIC_LINE2 1009 -#define IDC_STATIC_LINE3 1010 -#define IDC_STATIC_LINE4 1011 -#define IDC_STATIC_LINE5 1012 - -// Next default values for new objects -// -#ifdef APSTUDIO_INVOKED -#ifndef APSTUDIO_READONLY_SYMBOLS -#define _APS_NEXT_RESOURCE_VALUE 131 -#define _APS_NEXT_COMMAND_VALUE 32771 -#define _APS_NEXT_CONTROL_VALUE 1000 -#define _APS_NEXT_SYMED_VALUE 101 -#endif -#endif diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7296/SDK7296Int/stdafx.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7296/SDK7296Int/stdafx.cpp deleted file mode 100644 index 98df44a..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7296/SDK7296Int/stdafx.cpp +++ /dev/null @@ -1,8 +0,0 @@ - -// stdafx.cpp : source file that includes just the standard includes -// 7296Int.pch will be the pre-compiled header -// stdafx.obj will contain the pre-compiled type information - -#include "stdafx.h" - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7296/SDK7296Int/stdafx.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7296/SDK7296Int/stdafx.h deleted file mode 100644 index 12123e2..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7296/SDK7296Int/stdafx.h +++ /dev/null @@ -1,60 +0,0 @@ - -// stdafx.h : include file for standard system include files, -// or project specific include files that are used frequently, -// but are changed infrequently - -#pragma once - -#ifndef _SECURE_ATL -#define _SECURE_ATL 1 -#endif - -#ifndef VC_EXTRALEAN -#define VC_EXTRALEAN // Exclude rarely-used stuff from Windows headers -#endif - -#include "targetver.h" - -#define _ATL_CSTRING_EXPLICIT_CONSTRUCTORS // some CString constructors will be explicit - -// turns off MFC's hiding of some common and often safely ignored warning messages -#define _AFX_ALL_WARNINGS - -#include // MFC core and standard components -#include // MFC extensions - - -#include // MFC Automation classes - - - -#ifndef _AFX_NO_OLE_SUPPORT -#include // MFC support for Internet Explorer 4 Common Controls -#endif -#ifndef _AFX_NO_AFXCMN_SUPPORT -#include // MFC support for Windows Common Controls -#endif // _AFX_NO_AFXCMN_SUPPORT - -#include // MFC support for ribbons and control bars - - - - - - - - - -#ifdef _UNICODE -#if defined _M_IX86 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='x86' publicKeyToken='6595b64144ccf1df' language='*'\"") -#elif defined _M_IA64 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='ia64' publicKeyToken='6595b64144ccf1df' language='*'\"") -#elif defined _M_X64 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='amd64' publicKeyToken='6595b64144ccf1df' language='*'\"") -#else -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='*' publicKeyToken='6595b64144ccf1df' language='*'\"") -#endif -#endif - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7296/SDK7296Int/targetver.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7296/SDK7296Int/targetver.h deleted file mode 100644 index 11730d5..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7296/SDK7296Int/targetver.h +++ /dev/null @@ -1,26 +0,0 @@ - -#pragma once - -// The following macros define the minimum required platform. The minimum required platform -// is the earliest version of Windows, Internet Explorer etc. that has the necessary features to run -// your application. The macros work by enabling all features available on platform versions up to and -// including the version specified. - -// Modify the following defines if you have to target a platform prior to the ones specified below. -// Refer to MSDN for the latest info on corresponding values for different platforms. -#ifndef WINVER // Specifies that the minimum required platform is Windows Vista. -#define WINVER 0x0600 // Change this to the appropriate value to target other versions of Windows. -#endif - -#ifndef _WIN32_WINNT // Specifies that the minimum required platform is Windows Vista. -#define _WIN32_WINNT 0x0600 // Change this to the appropriate value to target other versions of Windows. -#endif - -#ifndef _WIN32_WINDOWS // Specifies that the minimum required platform is Windows 98. -#define _WIN32_WINDOWS 0x0410 // Change this to the appropriate value to target Windows Me or later. -#endif - -#ifndef _WIN32_IE // Specifies that the minimum required platform is Internet Explorer 7.0. -#define _WIN32_IE 0x0700 // Change this to the appropriate value to target other versions of IE. -#endif - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7296/SDK7296IntMsg/7296Int.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7296/SDK7296IntMsg/7296Int.cpp deleted file mode 100644 index 201b645..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7296/SDK7296IntMsg/7296Int.cpp +++ /dev/null @@ -1,79 +0,0 @@ - -// 7296Int.cpp : Defines the class behaviors for the application. -// - -#include "stdafx.h" -#include "7296Int.h" -#include "7296IntDlg.h" - -#ifdef _DEBUG -#define new DEBUG_NEW -#endif - - -// C7296IntApp - -BEGIN_MESSAGE_MAP(C7296IntApp, CWinAppEx) - ON_COMMAND(ID_HELP, &CWinApp::OnHelp) -END_MESSAGE_MAP() - - -// C7296IntApp construction - -C7296IntApp::C7296IntApp() -{ - // TODO: add construction code here, - // Place all significant initialization in InitInstance -} - - -// The one and only C7296IntApp object - -C7296IntApp theApp; - - -// C7296IntApp initialization - -BOOL C7296IntApp::InitInstance() -{ - // InitCommonControlsEx() is required on Windows XP if an application - // manifest specifies use of ComCtl32.dll version 6 or later to enable - // visual styles. Otherwise, any window creation will fail. - INITCOMMONCONTROLSEX InitCtrls; - InitCtrls.dwSize = sizeof(InitCtrls); - // Set this to include all the common control classes you want to use - // in your application. - InitCtrls.dwICC = ICC_WIN95_CLASSES; - InitCommonControlsEx(&InitCtrls); - - CWinAppEx::InitInstance(); - - AfxEnableControlContainer(); - - // Standard initialization - // If you are not using these features and wish to reduce the size - // of your final executable, you should remove from the following - // the specific initialization routines you do not need - // Change the registry key under which our settings are stored - // TODO: You should modify this string to be something appropriate - // such as the name of your company or organization - SetRegistryKey(_T("Local AppWizard-Generated Applications")); - - C7296IntDlg dlg; - m_pMainWnd = &dlg; - INT_PTR nResponse = dlg.DoModal(); - if (nResponse == IDOK) - { - // TODO: Place code here to handle when the dialog is - // dismissed with OK - } - else if (nResponse == IDCANCEL) - { - // TODO: Place code here to handle when the dialog is - // dismissed with Cancel - } - - // Since the dialog has been closed, return FALSE so that we exit the - // application, rather than start the application's message pump. - return FALSE; -} diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7296/SDK7296IntMsg/7296Int.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7296/SDK7296IntMsg/7296Int.h deleted file mode 100644 index ceda3c1..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7296/SDK7296IntMsg/7296Int.h +++ /dev/null @@ -1,32 +0,0 @@ - -// 7296Int.h : main header file for the PROJECT_NAME application -// - -#pragma once - -#ifndef __AFXWIN_H__ - #error "include 'stdafx.h' before including this file for PCH" -#endif - -#include "resource.h" // main symbols - - -// C7296IntApp: -// See 7296Int.cpp for the implementation of this class -// - -class C7296IntApp : public CWinAppEx -{ -public: - C7296IntApp(); - -// Overrides - public: - virtual BOOL InitInstance(); - -// Implementation - - DECLARE_MESSAGE_MAP() -}; - -extern C7296IntApp theApp; \ No newline at end of file diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7296/SDK7296IntMsg/7296Int.rc b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7296/SDK7296IntMsg/7296Int.rc deleted file mode 100644 index 4676cfd..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7296/SDK7296IntMsg/7296Int.rc +++ /dev/null @@ -1,290 +0,0 @@ -// Microsoft Visual C++ generated resource script. -// -#include "resource.h" - -#define APSTUDIO_READONLY_SYMBOLS -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 2 resource. -// -#ifndef APSTUDIO_INVOKED -#include "targetver.h" -#endif -#include "afxres.h" - -///////////////////////////////////////////////////////////////////////////// -#undef APSTUDIO_READONLY_SYMBOLS - -///////////////////////////////////////////////////////////////////////////// -// Chinese (Taiwan) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_CHT) -#ifdef _WIN32 -LANGUAGE LANG_CHINESE, SUBLANG_CHINESE_TRADITIONAL -#pragma code_page(950) -#endif //_WIN32 - -#ifdef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// TEXTINCLUDE -// - -1 TEXTINCLUDE -BEGIN - "resource.h\0" -END - -2 TEXTINCLUDE -BEGIN - "#ifndef APSTUDIO_INVOKED\r\n" - "#include ""targetver.h""\r\n" - "#endif\r\n" - "#include ""afxres.h""\r\n" - "\0" -END - -3 TEXTINCLUDE -BEGIN - "#define _AFX_NO_SPLITTER_RESOURCES\r\n" - "#define _AFX_NO_OLE_RESOURCES\r\n" - "#define _AFX_NO_TRACKER_RESOURCES\r\n" - "#define _AFX_NO_PROPERTY_RESOURCES\r\n" - "\r\n" - "#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)\r\n" - "LANGUAGE 9, 1\r\n" - "#pragma code_page(1252)\r\n" - "#include ""res\\My7296Int.rc2"" // non-Microsoft Visual C++ edited resources\r\n" - "#include ""afxres.rc"" // Standard components\r\n" - "#endif\r\n" - "\0" -END - -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// Icon -// - -// Icon with lowest ID value placed first to ensure application icon -// remains consistent on all systems. -IDR_MAINFRAME ICON "res\\7296Int.ico" -#endif // Chinese (Taiwan) resources -///////////////////////////////////////////////////////////////////////////// - - -///////////////////////////////////////////////////////////////////////////// -// English (U.S.) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -#ifdef _WIN32 -LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US -#pragma code_page(1252) -#endif //_WIN32 - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog -// - -IDD_ABOUTBOX DIALOGEX 0, 0, 170, 62 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "About 7296Int" -FONT 8, "MS Shell Dlg", 0, 0, 0x1 -BEGIN - ICON IDR_MAINFRAME,IDC_STATIC,14,14,21,20 - LTEXT "7296Int, Version 1.0",IDC_STATIC,42,14,114,8,SS_NOPREFIX - LTEXT "Copyright (C) 2010",IDC_STATIC,42,26,114,8 - DEFPUSHBUTTON "OK",IDOK,113,41,50,14,WS_GROUP -END - -IDD_MY7296INT_DIALOG DIALOGEX 0, 0, 271, 207 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU -EXSTYLE WS_EX_APPWINDOW -CAPTION "7296 Interrupt Sample" -FONT 8, "MS Shell Dlg", 0, 0, 0x1 -BEGIN - PUSHBUTTON "Exit",IDCANCEL,163,7,50,14 - PUSHBUTTON "Setup",IDC_BT_SETUP,7,7,53,14 - PUSHBUTTON "Interrupt Trigger",IDC_BT_TRIGGER,61,7,102,14,WS_DISABLED - LTEXT "This sample performs digital output on PortA of\nCN2 and digital input on PortA of CN1 when an\ninterrupt happens. The INT2 is used, and inetrrupt signals are generated by internal Timer-output.",IDC_STATIC,7,26,206,33 - LTEXT "Using cable to connect CN1 and CN2\nClick 'Setup' button first ...",IDC_STATIC_04,7,62,125,17 - LTEXT "Data from Input port: \n** only shows at most 50 data **",IDC_STATIC_07,7,97,113,19,NOT WS_VISIBLE - LTEXT "INT2 Count =",IDC_STATIC_06,7,83,85,13 - LTEXT "",IDC_STATIC_LINE1,7,116,247,11 - LTEXT "",IDC_STATIC_LINE2,7,130,247,11 - LTEXT "",IDC_STATIC_LINE3,7,143,247,11 - LTEXT "",IDC_STATIC_LINE4,7,156,247,11 - LTEXT "",IDC_STATIC_LINE5,7,170,247,11 -END - -IDD_DIALOG_SETUP DIALOGEX 0, 0, 201, 114 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "Setup Dialog" -FONT 8, "MS Shell Dlg", 400, 0, 0x1 -BEGIN - DEFPUSHBUTTON "OK",IDOK,48,84,50,14 - PUSHBUTTON "Cancel",IDCANCEL,105,84,50,14 - LTEXT "Card Number : ",IDC_STATIC,19,19,53,14 - LTEXT "Total Count : ",IDC_STATIC,19,39,53,14 - LTEXT "Sampling Rate : ",IDC_STATIC,19,57,53,14 - COMBOBOX IDC_COMBO_CARDNO,79,17,86,13,CBS_DROPDOWN | WS_VSCROLL | WS_TABSTOP - EDITTEXT IDC_EDIT_COUNT,79,36,85,14,ES_AUTOHSCROLL | ES_NUMBER - EDITTEXT IDC_EDIT_RATE,79,55,85,14,ES_AUTOHSCROLL | ES_NUMBER -END - - -///////////////////////////////////////////////////////////////////////////// -// -// Version -// - -VS_VERSION_INFO VERSIONINFO - FILEVERSION 1,0,0,1 - PRODUCTVERSION 1,0,0,1 - FILEFLAGSMASK 0x3fL -#ifdef _DEBUG - FILEFLAGS 0x1L -#else - FILEFLAGS 0x0L -#endif - FILEOS 0x4L - FILETYPE 0x1L - FILESUBTYPE 0x0L -BEGIN - BLOCK "StringFileInfo" - BEGIN - BLOCK "040904e4" - BEGIN - VALUE "CompanyName", "TODO: " - VALUE "FileDescription", "TODO: " - VALUE "FileVersion", "1.0.0.1" - VALUE "InternalName", "7296Int.exe" - VALUE "LegalCopyright", "TODO: (c) . All rights reserved." - VALUE "OriginalFilename", "7296Int.exe" - VALUE "ProductName", "TODO: " - VALUE "ProductVersion", "1.0.0.1" - END - END - BLOCK "VarFileInfo" - BEGIN - VALUE "Translation", 0x409, 1252 - END -END - - -///////////////////////////////////////////////////////////////////////////// -// -// DESIGNINFO -// - -#ifdef APSTUDIO_INVOKED -GUIDELINES DESIGNINFO -BEGIN - IDD_ABOUTBOX, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 163 - TOPMARGIN, 7 - BOTTOMMARGIN, 55 - END - - IDD_MY7296INT_DIALOG, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 264 - TOPMARGIN, 7 - BOTTOMMARGIN, 200 - END - - IDD_DIALOG_SETUP, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 194 - TOPMARGIN, 7 - BOTTOMMARGIN, 107 - END -END -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog Info -// - -IDD_DIALOG_SETUP DLGINIT -BEGIN - IDC_COMBO_CARDNO, 0x403, 2, 0 -0x0030, - IDC_COMBO_CARDNO, 0x403, 2, 0 -0x0031, - IDC_COMBO_CARDNO, 0x403, 2, 0 -0x0032, - IDC_COMBO_CARDNO, 0x403, 2, 0 -0x0033, - IDC_COMBO_CARDNO, 0x403, 2, 0 -0x0034, - IDC_COMBO_CARDNO, 0x403, 2, 0 -0x0035, - IDC_COMBO_CARDNO, 0x403, 2, 0 -0x0036, - IDC_COMBO_CARDNO, 0x403, 2, 0 -0x0037, - IDC_COMBO_CARDNO, 0x403, 2, 0 -0x0038, - IDC_COMBO_CARDNO, 0x403, 2, 0 -0x0039, - IDC_COMBO_CARDNO, 0x403, 3, 0 -0x3031, "\000" - IDC_COMBO_CARDNO, 0x403, 3, 0 -0x3131, "\000" - IDC_COMBO_CARDNO, 0x403, 3, 0 -0x3231, "\000" - IDC_COMBO_CARDNO, 0x403, 3, 0 -0x3331, "\000" - IDC_COMBO_CARDNO, 0x403, 3, 0 -0x3431, "\000" - IDC_COMBO_CARDNO, 0x403, 3, 0 -0x3531, "\000" - 0 -END - - -///////////////////////////////////////////////////////////////////////////// -// -// String Table -// - -STRINGTABLE -BEGIN - IDS_ABOUTBOX "&About 7296Int..." -END - -#endif // English (U.S.) resources -///////////////////////////////////////////////////////////////////////////// - - - -#ifndef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 3 resource. -// -#define _AFX_NO_SPLITTER_RESOURCES -#define _AFX_NO_OLE_RESOURCES -#define _AFX_NO_TRACKER_RESOURCES -#define _AFX_NO_PROPERTY_RESOURCES - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -LANGUAGE 9, 1 -#pragma code_page(1252) -#include "res\My7296Int.rc2" // non-Microsoft Visual C++ edited resources -#include "afxres.rc" // Standard components -#endif - -///////////////////////////////////////////////////////////////////////////// -#endif // not APSTUDIO_INVOKED - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7296/SDK7296IntMsg/7296Int.sln b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7296/SDK7296IntMsg/7296Int.sln deleted file mode 100644 index e90b2d8..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7296/SDK7296IntMsg/7296Int.sln +++ /dev/null @@ -1,20 +0,0 @@ - -Microsoft Visual Studio Solution File, Format Version 10.00 -# Visual Studio 2008 -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "7296Int", "7296Int.vcproj", "{03CC0712-9928-4AC4-9A68-06B8B735AB32}" -EndProject -Global - GlobalSection(SolutionConfigurationPlatforms) = preSolution - Debug|x64 = Debug|x64 - Release|x64 = Release|x64 - EndGlobalSection - GlobalSection(ProjectConfigurationPlatforms) = postSolution - {03CC0712-9928-4AC4-9A68-06B8B735AB32}.Debug|x64.ActiveCfg = Debug|x64 - {03CC0712-9928-4AC4-9A68-06B8B735AB32}.Debug|x64.Build.0 = Debug|x64 - {03CC0712-9928-4AC4-9A68-06B8B735AB32}.Release|x64.ActiveCfg = Release|x64 - {03CC0712-9928-4AC4-9A68-06B8B735AB32}.Release|x64.Build.0 = Release|x64 - EndGlobalSection - GlobalSection(SolutionProperties) = preSolution - HideSolutionNode = FALSE - EndGlobalSection -EndGlobal diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7296/SDK7296IntMsg/7296Int.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7296/SDK7296IntMsg/7296Int.suo deleted file mode 100644 index 179a6c2..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7296/SDK7296IntMsg/7296Int.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7296/SDK7296IntMsg/7296Int.vcproj b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7296/SDK7296IntMsg/7296Int.vcproj deleted file mode 100644 index 4e07b7e..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7296/SDK7296IntMsg/7296Int.vcproj +++ /dev/null @@ -1,286 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7296/SDK7296IntMsg/7296IntDlg.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7296/SDK7296IntMsg/7296IntDlg.cpp deleted file mode 100644 index 2ad2943..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7296/SDK7296IntMsg/7296IntDlg.cpp +++ /dev/null @@ -1,372 +0,0 @@ - -// 7296IntDlg.cpp : implementation file -// - -#include "stdafx.h" -#include "7296Int.h" -#include "7296IntDlg.h" -#include "SetupDlg.h" - -#define TIMER_INTERRUPT_MESSAGE _T("TIMER_INT") -UINT WM_INT = ::RegisterWindowMessage(TIMER_INTERRUPT_MESSAGE); - - -#ifdef _DEBUG -#define new DEBUG_NEW -#endif - -U32 gInBuffer[32768], gOutBuffer[32768]; -HANDLE ghIntEvent[2]; - -// CAboutDlg dialog used for App About - -class CAboutDlg : public CDialog -{ -public: - CAboutDlg(); - -// Dialog Data - enum { IDD = IDD_ABOUTBOX }; - - protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - -// Implementation -protected: - DECLARE_MESSAGE_MAP() -}; - -CAboutDlg::CAboutDlg() : CDialog(CAboutDlg::IDD) -{ -} - -void CAboutDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); -} - -BEGIN_MESSAGE_MAP(CAboutDlg, CDialog) -END_MESSAGE_MAP() - - -// C7296IntDlg dialog - - - - -C7296IntDlg::C7296IntDlg(CWnd* pParent /*=NULL*/) - : CDialog(C7296IntDlg::IDD, pParent) - , m_nCardIdx(-1) - , m_nSampleCount(-1) - , m_nSampleRate(-1) - , m_hCard(-1) -{ - m_hIcon = AfxGetApp()->LoadIcon(IDR_MAINFRAME); - m_nC1=10; m_nC2=10; - m_IntCount = 0; -} - -void C7296IntDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); -} - -BEGIN_MESSAGE_MAP(C7296IntDlg, CDialog) - ON_WM_SYSCOMMAND() - ON_WM_PAINT() - ON_WM_QUERYDRAGICON() - ON_REGISTERED_MESSAGE(WM_INT, OnTimerInterrupt) - //}}AFX_MSG_MAP - ON_WM_DESTROY() - ON_BN_CLICKED(IDC_BT_SETUP, &C7296IntDlg::OnSetup) - ON_BN_CLICKED(IDC_BT_TRIGGER, &C7296IntDlg::OnTrigger) - ON_WM_CTLCOLOR() -END_MESSAGE_MAP() - - -// C7296IntDlg message handlers - -BOOL C7296IntDlg::OnInitDialog() -{ - CDialog::OnInitDialog(); - - // Add "About..." menu item to system menu. - - // IDM_ABOUTBOX must be in the system command range. - ASSERT((IDM_ABOUTBOX & 0xFFF0) == IDM_ABOUTBOX); - ASSERT(IDM_ABOUTBOX < 0xF000); - - CMenu* pSysMenu = GetSystemMenu(FALSE); - if (pSysMenu != NULL) - { - BOOL bNameValid; - CString strAboutMenu; - bNameValid = strAboutMenu.LoadString(IDS_ABOUTBOX); - ASSERT(bNameValid); - if (!strAboutMenu.IsEmpty()) - { - pSysMenu->AppendMenu(MF_SEPARATOR); - pSysMenu->AppendMenu(MF_STRING, IDM_ABOUTBOX, strAboutMenu); - } - } - - // Set the icon for this dialog. The framework does this automatically - // when the application's main window is not a dialog - SetIcon(m_hIcon, TRUE); // Set big icon - SetIcon(m_hIcon, FALSE); // Set small icon - - // TODO: Add extra initialization here - - return TRUE; // return TRUE unless you set the focus to a control -} - -void C7296IntDlg::OnSysCommand(UINT nID, LPARAM lParam) -{ - if ((nID & 0xFFF0) == IDM_ABOUTBOX) - { - CAboutDlg dlgAbout; - dlgAbout.DoModal(); - } - else - { - CDialog::OnSysCommand(nID, lParam); - } -} - -// If you add a minimize button to your dialog, you will need the code below -// to draw the icon. For MFC applications using the document/view model, -// this is automatically done for you by the framework. - -void C7296IntDlg::OnPaint() -{ - if (IsIconic()) - { - CPaintDC dc(this); // device context for painting - - SendMessage(WM_ICONERASEBKGND, reinterpret_cast(dc.GetSafeHdc()), 0); - - // Center icon in client rectangle - int cxIcon = GetSystemMetrics(SM_CXICON); - int cyIcon = GetSystemMetrics(SM_CYICON); - CRect rect; - GetClientRect(&rect); - int x = (rect.Width() - cxIcon + 1) / 2; - int y = (rect.Height() - cyIcon + 1) / 2; - - // Draw the icon - dc.DrawIcon(x, y, m_hIcon); - } - else - { - CDialog::OnPaint(); - } -} - -// The system calls this function to obtain the cursor to display while the user drags -// the minimized window. -HCURSOR C7296IntDlg::OnQueryDragIcon() -{ - return static_cast(m_hIcon); -} - -void C7296IntDlg::OnDestroy() -{ - CDialog::OnDestroy(); - - // TODO: Add your message handler code here - int i; - - if( m_hCard >= 0 ) - { - DIO_SetDualInterrupt(m_hCard, INT1_DISABLE, INT2_DISABLE, ghIntEvent); - - for (i=0; i<2; i++) - { - if(ghIntEvent[i]) - ResetEvent(ghIntEvent[i]); - } - - - Release_Card( m_hCard ); m_hCard = -1; - } -} - -void C7296IntDlg::OnSetup() -{ - // TODO: Add your control notification handler code here - CSetupDlg setupDlg; - INT_PTR nResponse; - CString strTemp; - long nTmpCount; - int i, k; - - nResponse = setupDlg.DoModal(); - if (nResponse == IDOK) - { - if( m_nCardIdx != setupDlg.m_nCardIdx ) - { - if( m_hCard != -1 ) - { - Release_Card( m_hCard ); - m_hCard = -1; - } - - m_nCardIdx = setupDlg.m_nCardIdx; - } - - - if( m_hCard == -1 ) - { - if ((m_hCard = Register_Card(PCI_7296, m_nCardIdx)) < 0) - { - strTemp.Format( TEXT("Register_Card Error = %d"), m_hCard); - AfxMessageBox( strTemp ); - - EndDialog(IDCANCEL); - return; - } - } - - nTmpCount = setupDlg.m_nSampleCount; - if (nTmpCount > 32768) - { - AfxMessageBox( TEXT("Count can be assigned at most 32768") ); - return; - } - - m_nSampleCount = nTmpCount; - m_nSampleRate = setupDlg.m_nSampleRate; - if (m_nSampleRate > 15000 ) m_nSampleRate=15000; - - - for ( i=0, k=0; i255) k=0; - - gInBuffer[i]=0; - } - - - DIO_PortConfig(m_hCard, Channel_P1A, INPUT_PORT); - DIO_PortConfig(m_hCard, Channel_P2A, OUTPUT_PORT); - - DIO_SetDualInterrupt(m_hCard, INT1_DISABLE, INT2_TIMER_COUNTER, ghIntEvent); - m_nC2 = 2000000/(m_nSampleRate*m_nC1); - m_IntCount = 0; - - GetDlgItem(IDC_BT_TRIGGER)->EnableWindow( TRUE ); - - } - else if (nResponse == IDCANCEL) - { - // TODO: Place code here to handle when the dialog is - // dismissed with Cancel - } -} - -void C7296IntDlg::OnTrigger() -{ - // TODO: Add your control notification handler code here - - CTR_Setup(m_hCard, 1, RATE_GENERATOR, m_nC1, BIN); - CTR_Setup(m_hCard, 2, RATE_GENERATOR, m_nC2, BIN); - - DIO_INT2_EventMessage (m_hCard, INT2_TIMER_COUNTER, this->m_hWnd, WM_INT, NULL); - -} - -HBRUSH C7296IntDlg::OnCtlColor(CDC* pDC, CWnd* pWnd, UINT nCtlColor) -{ - HBRUSH hbr = CDialog::OnCtlColor(pDC, pWnd, nCtlColor); - - // TODO: Change any attributes of the DC here - if ( pWnd->GetDlgCtrlID() == IDC_STATIC_04 ) - pDC->SetTextColor(RGB(255,0,0)); - - // TODO: Return a different brush if the default is not desired - return hbr; -} - -LRESULT C7296IntDlg::OnTimerInterrupt(WPARAM wParam, LPARAM lParam) -{ - // do something useful - int i; - CString strTemp; - CString strLine1, strLine2, strLine3, strLine4, strLine5; - - if(m_IntCount m_hWnd, NULL, NULL); - DIO_INT1_EventMessage (m_hCard, INT1_DISABLE, this->m_hWnd, NULL, NULL); - - CTR_Setup( m_hCard, 1, RATE_GENERATOR, 0, BIN); - CTR_Setup( m_hCard, 2, RATE_GENERATOR, 0, BIN); - - GetDlgItem(IDC_STATIC_07)->ShowWindow( SW_SHOW ); - - strLine1.Empty(); /// clear strLine1 - strLine2.Empty(); /// clear strLine2 - strLine3.Empty(); /// clear strLine3 - strLine4.Empty(); /// clear strLine - strLine5.Empty(); /// clear strLine5 - - for ( i=0; i<50 /*m_nSampleCount*/; i++) - { - strTemp.Format( TEXT("%d, "), gInBuffer[i] ); - - if(i<10) - { - strLine1 += strTemp; - } - - if(i>=10 && i<20) - { - strLine2 += strTemp; - } - - if(i>=20 && i<30) - { - strLine3 += strTemp; - } - - if (i>=30 && i<40) - { - strLine4 += strTemp; - } - - if (i>=40 && i<50) - { - strLine5 += strTemp; - } - } - - if( !strLine1.IsEmpty() ) - SetDlgItemText( IDC_STATIC_LINE1, strLine1 ); - - if( !strLine2.IsEmpty() ) - SetDlgItemText( IDC_STATIC_LINE2, strLine2 ); - - if( !strLine3.IsEmpty() ) - SetDlgItemText( IDC_STATIC_LINE3, strLine3 ); - - if( !strLine4.IsEmpty() ) - SetDlgItemText( IDC_STATIC_LINE4, strLine4 ); - - if( !strLine5.IsEmpty() ) - SetDlgItemText( IDC_STATIC_LINE5, strLine5 ); - } - - return (LRESULT) 0; -} diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7296/SDK7296IntMsg/7296IntDlg.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7296/SDK7296IntMsg/7296IntDlg.h deleted file mode 100644 index 656eeae..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7296/SDK7296IntMsg/7296IntDlg.h +++ /dev/null @@ -1,49 +0,0 @@ - -// 7296IntDlg.h : header file -// - -#include "Dask64.h" - -#pragma once - - -// C7296IntDlg dialog -class C7296IntDlg : public CDialog -{ -// Construction -public: - C7296IntDlg(CWnd* pParent = NULL); // standard constructor - -// Dialog Data - enum { IDD = IDD_MY7296INT_DIALOG }; - - protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - - -// Implementation -protected: - HICON m_hIcon; - int m_nCardIdx; - long m_nSampleCount; - long m_nSampleRate; - int m_IntCount; - - I16 m_hCard; - int m_nC1; - int m_nC2; - - // Generated message map functions - virtual BOOL OnInitDialog(); - afx_msg void OnSysCommand(UINT nID, LPARAM lParam); - afx_msg void OnPaint(); - afx_msg LRESULT OnTimerInterrupt(WPARAM wParam, LPARAM lParam); - afx_msg HCURSOR OnQueryDragIcon(); - DECLARE_MESSAGE_MAP() -public: -// afx_msg void OnStnClickedStatic07(); - afx_msg void OnDestroy(); - afx_msg void OnSetup(); - afx_msg void OnTrigger(); - afx_msg HBRUSH OnCtlColor(CDC* pDC, CWnd* pWnd, UINT nCtlColor); -}; diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7296/SDK7296IntMsg/ReadMe.txt b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7296/SDK7296IntMsg/ReadMe.txt deleted file mode 100644 index 7d743b1..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7296/SDK7296IntMsg/ReadMe.txt +++ /dev/null @@ -1,93 +0,0 @@ -================================================================================ - MICROSOFT FOUNDATION CLASS LIBRARY : 7296Int Project Overview -=============================================================================== - -The application wizard has created this 7296Int application for -you. This application not only demonstrates the basics of using the Microsoft -Foundation Classes but is also a starting point for writing your application. - -This file contains a summary of what you will find in each of the files that -make up your 7296Int application. - -7296Int.vcproj - This is the main project file for VC++ projects generated using an application wizard. - It contains information about the version of Visual C++ that generated the file, and - information about the platforms, configurations, and project features selected with the - application wizard. - -7296Int.h - This is the main header file for the application. It includes other - project specific headers (including Resource.h) and declares the - C7296IntApp application class. - -7296Int.cpp - This is the main application source file that contains the application - class C7296IntApp. - -7296Int.rc - This is a listing of all of the Microsoft Windows resources that the - program uses. It includes the icons, bitmaps, and cursors that are stored - in the RES subdirectory. This file can be directly edited in Microsoft - Visual C++. Your project resources are in 1033. - -res\7296Int.ico - This is an icon file, which is used as the application's icon. This - icon is included by the main resource file 7296Int.rc. - -res\My7296Int.rc2 - This file contains resources that are not edited by Microsoft - Visual C++. You should place all resources not editable by - the resource editor in this file. - - -///////////////////////////////////////////////////////////////////////////// - -The application wizard creates one dialog class: - -7296IntDlg.h, 7296IntDlg.cpp - the dialog - These files contain your C7296IntDlg class. This class defines - the behavior of your application's main dialog. The dialog's template is - in 7296Int.rc, which can be edited in Microsoft Visual C++. - - -///////////////////////////////////////////////////////////////////////////// - -Other Features: - -ActiveX Controls - The application includes support to use ActiveX controls. - -///////////////////////////////////////////////////////////////////////////// - -Other standard files: - -StdAfx.h, StdAfx.cpp - These files are used to build a precompiled header (PCH) file - named 7296Int.pch and a precompiled types file named StdAfx.obj. - -Resource.h - This is the standard header file, which defines new resource IDs. - Microsoft Visual C++ reads and updates this file. - -7296Int.manifest - Application manifest files are used by Windows XP to describe an applications - dependency on specific versions of Side-by-Side assemblies. The loader uses this - information to load the appropriate assembly from the assembly cache or private - from the application. The Application manifest maybe included for redistribution - as an external .manifest file that is installed in the same folder as the application - executable or it may be included in the executable in the form of a resource. -///////////////////////////////////////////////////////////////////////////// - -Other notes: - -The application wizard uses "TODO:" to indicate parts of the source code you -should add to or customize. - -If your application uses MFC in a shared DLL, you will need -to redistribute the MFC DLLs. If your application is in a language -other than the operating system's locale, you will also have to -redistribute the corresponding localized resources MFC90XXX.DLL. -For more information on both of these topics, please see the section on -redistributing Visual C++ applications in MSDN documentation. - -///////////////////////////////////////////////////////////////////////////// diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7296/SDK7296IntMsg/SetupDlg.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7296/SDK7296IntMsg/SetupDlg.cpp deleted file mode 100644 index 31d034a..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7296/SDK7296IntMsg/SetupDlg.cpp +++ /dev/null @@ -1,63 +0,0 @@ -// SetupDlg.cpp : implementation file -// - -#include "stdafx.h" -#include "7296int.h" -#include "SetupDlg.h" - - -// CSetupDlg dialog - -IMPLEMENT_DYNAMIC(CSetupDlg, CDialog) - -CSetupDlg::CSetupDlg(CWnd* pParent /*=NULL*/) - : CDialog(CSetupDlg::IDD, pParent) - , m_nSampleCount(40) - , m_nSampleRate(5000) -{ - -} - -CSetupDlg::~CSetupDlg() -{ -} - -void CSetupDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); - DDX_Control(pDX, IDC_COMBO_CARDNO, m_cbCardID); - DDX_Text(pDX, IDC_EDIT_COUNT, m_nSampleCount); - DDX_Text(pDX, IDC_EDIT_RATE, m_nSampleRate); - DDV_MinMaxLong(pDX, m_nSampleCount, 0, 32768); - DDV_MinMaxLong(pDX, m_nSampleRate, 0, 15000); -} - - -BEGIN_MESSAGE_MAP(CSetupDlg, CDialog) - ON_CBN_SELCHANGE(IDC_COMBO_CARDNO, &CSetupDlg::OnCardNoSelchange) -// ON_EN_CHANGE(IDC_EDIT_COUNT, &CSetupDlg::OnEnChangeEditCount) -END_MESSAGE_MAP() - - -// CSetupDlg message handlers - -BOOL CSetupDlg::OnInitDialog() -{ - CDialog::OnInitDialog(); - - // TODO: Add extra initialization here - m_cbCardID.SetCurSel(0); - m_nCardIdx = 0; - - - return TRUE; // return TRUE unless you set the focus to a control - // EXCEPTION: OCX Property Pages should return FALSE -} - -void CSetupDlg::OnCardNoSelchange() -{ - // TODO: Add your control notification handler code here - m_nCardIdx = m_cbCardID.GetCurSel(); - -} - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7296/SDK7296IntMsg/SetupDlg.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7296/SDK7296IntMsg/SetupDlg.h deleted file mode 100644 index 7b42abf..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7296/SDK7296IntMsg/SetupDlg.h +++ /dev/null @@ -1,30 +0,0 @@ -#pragma once -#include "afxwin.h" - - -// CSetupDlg dialog - -class CSetupDlg : public CDialog -{ - DECLARE_DYNAMIC(CSetupDlg) - -public: - CSetupDlg(CWnd* pParent = NULL); // standard constructor - virtual ~CSetupDlg(); - -// Dialog Data - enum { IDD = IDD_DIALOG_SETUP }; - -protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - - DECLARE_MESSAGE_MAP() -public: - CComboBox m_cbCardID; - virtual BOOL OnInitDialog(); - long m_nSampleCount; - long m_nSampleRate; - int m_nCardIdx; - afx_msg void OnCardNoSelchange(); -// afx_msg void OnEnChangeEditCount(); -}; diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7296/SDK7296IntMsg/res/7296Int.ico b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7296/SDK7296IntMsg/res/7296Int.ico deleted file mode 100644 index d56fbcd..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7296/SDK7296IntMsg/res/7296Int.ico and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7296/SDK7296IntMsg/res/My7296Int.rc2 b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7296/SDK7296IntMsg/res/My7296Int.rc2 deleted file mode 100644 index 4edfe6a..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7296/SDK7296IntMsg/res/My7296Int.rc2 +++ /dev/null @@ -1,13 +0,0 @@ -// -// My7296Int.RC2 - resources Microsoft Visual C++ does not edit directly -// - -#ifdef APSTUDIO_INVOKED -#error this file is not editable by Microsoft Visual C++ -#endif //APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// Add manually edited resources here... - -///////////////////////////////////////////////////////////////////////////// diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7296/SDK7296IntMsg/resource.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7296/SDK7296IntMsg/resource.h deleted file mode 100644 index f8714bf..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7296/SDK7296IntMsg/resource.h +++ /dev/null @@ -1,35 +0,0 @@ -//{{NO_DEPENDENCIES}} -// Microsoft Visual C++ generated include file. -// Used by 7296Int.rc -// -#define IDM_ABOUTBOX 0x0010 -#define IDD_ABOUTBOX 100 -#define IDS_ABOUTBOX 101 -#define IDD_MY7296INT_DIALOG 102 -#define IDR_MAINFRAME 128 -#define IDD_DIALOG_SETUP 129 -#define IDC_BT_SETUP 1000 -#define IDC_BT_TRIGGER 1001 -#define IDC_STATIC_04 1002 -#define IDC_COMBO_CARDNO 1003 -#define IDC_EDIT_COUNT 1004 -#define IDC_STATIC_07 1005 -#define IDC_EDIT_RATE 1005 -#define IDC_STATIC_05 1006 -#define IDC_STATIC_06 1007 -#define IDC_STATIC_LINE1 1008 -#define IDC_STATIC_LINE2 1009 -#define IDC_STATIC_LINE3 1010 -#define IDC_STATIC_LINE4 1011 -#define IDC_STATIC_LINE5 1012 - -// Next default values for new objects -// -#ifdef APSTUDIO_INVOKED -#ifndef APSTUDIO_READONLY_SYMBOLS -#define _APS_NEXT_RESOURCE_VALUE 131 -#define _APS_NEXT_COMMAND_VALUE 32771 -#define _APS_NEXT_CONTROL_VALUE 1000 -#define _APS_NEXT_SYMED_VALUE 101 -#endif -#endif diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7296/SDK7296IntMsg/stdafx.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7296/SDK7296IntMsg/stdafx.cpp deleted file mode 100644 index 98df44a..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7296/SDK7296IntMsg/stdafx.cpp +++ /dev/null @@ -1,8 +0,0 @@ - -// stdafx.cpp : source file that includes just the standard includes -// 7296Int.pch will be the pre-compiled header -// stdafx.obj will contain the pre-compiled type information - -#include "stdafx.h" - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7296/SDK7296IntMsg/stdafx.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7296/SDK7296IntMsg/stdafx.h deleted file mode 100644 index 12123e2..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7296/SDK7296IntMsg/stdafx.h +++ /dev/null @@ -1,60 +0,0 @@ - -// stdafx.h : include file for standard system include files, -// or project specific include files that are used frequently, -// but are changed infrequently - -#pragma once - -#ifndef _SECURE_ATL -#define _SECURE_ATL 1 -#endif - -#ifndef VC_EXTRALEAN -#define VC_EXTRALEAN // Exclude rarely-used stuff from Windows headers -#endif - -#include "targetver.h" - -#define _ATL_CSTRING_EXPLICIT_CONSTRUCTORS // some CString constructors will be explicit - -// turns off MFC's hiding of some common and often safely ignored warning messages -#define _AFX_ALL_WARNINGS - -#include // MFC core and standard components -#include // MFC extensions - - -#include // MFC Automation classes - - - -#ifndef _AFX_NO_OLE_SUPPORT -#include // MFC support for Internet Explorer 4 Common Controls -#endif -#ifndef _AFX_NO_AFXCMN_SUPPORT -#include // MFC support for Windows Common Controls -#endif // _AFX_NO_AFXCMN_SUPPORT - -#include // MFC support for ribbons and control bars - - - - - - - - - -#ifdef _UNICODE -#if defined _M_IX86 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='x86' publicKeyToken='6595b64144ccf1df' language='*'\"") -#elif defined _M_IA64 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='ia64' publicKeyToken='6595b64144ccf1df' language='*'\"") -#elif defined _M_X64 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='amd64' publicKeyToken='6595b64144ccf1df' language='*'\"") -#else -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='*' publicKeyToken='6595b64144ccf1df' language='*'\"") -#endif -#endif - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7296/SDK7296IntMsg/targetver.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7296/SDK7296IntMsg/targetver.h deleted file mode 100644 index 11730d5..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7296/SDK7296IntMsg/targetver.h +++ /dev/null @@ -1,26 +0,0 @@ - -#pragma once - -// The following macros define the minimum required platform. The minimum required platform -// is the earliest version of Windows, Internet Explorer etc. that has the necessary features to run -// your application. The macros work by enabling all features available on platform versions up to and -// including the version specified. - -// Modify the following defines if you have to target a platform prior to the ones specified below. -// Refer to MSDN for the latest info on corresponding values for different platforms. -#ifndef WINVER // Specifies that the minimum required platform is Windows Vista. -#define WINVER 0x0600 // Change this to the appropriate value to target other versions of Windows. -#endif - -#ifndef _WIN32_WINNT // Specifies that the minimum required platform is Windows Vista. -#define _WIN32_WINNT 0x0600 // Change this to the appropriate value to target other versions of Windows. -#endif - -#ifndef _WIN32_WINDOWS // Specifies that the minimum required platform is Windows 98. -#define _WIN32_WINDOWS 0x0410 // Change this to the appropriate value to target Windows Me or later. -#endif - -#ifndef _WIN32_IE // Specifies that the minimum required platform is Internet Explorer 7.0. -#define _WIN32_IE 0x0700 // Change this to the appropriate value to target other versions of IE. -#endif - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7300B/SDK7300bDIDbfOverrunCheck/7300bDbF.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7300B/SDK7300bDIDbfOverrunCheck/7300bDbF.cpp deleted file mode 100644 index c66ab3d..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7300B/SDK7300bDIDbfOverrunCheck/7300bDbF.cpp +++ /dev/null @@ -1,110 +0,0 @@ - -// 7300bDbF.cpp : Defines the class behaviors for the application. -// - -#include "stdafx.h" -#include "7300bDbF.h" -#include "7300bDbFDlg.h" -#include "CardIDDlg.h" - -#ifdef _DEBUG -#define new DEBUG_NEW -#endif - - -// C7300bDbFApp - -BEGIN_MESSAGE_MAP(C7300bDbFApp, CWinAppEx) - ON_COMMAND(ID_HELP, &CWinApp::OnHelp) -END_MESSAGE_MAP() - - -// C7300bDbFApp construction - -C7300bDbFApp::C7300bDbFApp() -{ - // TODO: add construction code here, - // Place all significant initialization in InitInstance -} - - -// The one and only C7300bDbFApp object - -C7300bDbFApp theApp; - - -// C7300bDbFApp initialization - -BOOL C7300bDbFApp::InitInstance() -{ - int nCardID = 0; - I16 hCard; - CString strTemp; - INT_PTR nResponse; - - // InitCommonControlsEx() is required on Windows XP if an application - // manifest specifies use of ComCtl32.dll version 6 or later to enable - // visual styles. Otherwise, any window creation will fail. - INITCOMMONCONTROLSEX InitCtrls; - InitCtrls.dwSize = sizeof(InitCtrls); - // Set this to include all the common control classes you want to use - // in your application. - InitCtrls.dwICC = ICC_WIN95_CLASSES; - InitCommonControlsEx(&InitCtrls); - - CWinAppEx::InitInstance(); - - AfxEnableControlContainer(); - - // Standard initialization - // If you are not using these features and wish to reduce the size - // of your final executable, you should remove from the following - // the specific initialization routines you do not need - // Change the registry key under which our settings are stored - // TODO: You should modify this string to be something appropriate - // such as the name of your company or organization - SetRegistryKey(_T("Local AppWizard-Generated Applications")); - - CCardIDDlg CardDlg( nCardID ); - - nResponse = CardDlg.DoModal(); - if (nResponse == IDOK) - { - nCardID = CardDlg.GetCardID(); - - if ((hCard=Register_Card(PCI_7300A_RevB, nCardID)) < 0) - { - strTemp.Format( TEXT("Register_Card Error = %d"), hCard); - AfxMessageBox( strTemp ); - } - else - { - C7300bDbFDlg dlg(hCard); - m_pMainWnd = &dlg; - nResponse = dlg.DoModal(); - if (nResponse == IDOK) - { - // TODO: Place code here to handle when the dialog is - // dismissed with OK - } - else if (nResponse == IDCANCEL) - { - // TODO: Place code here to handle when the dialog is - // dismissed with Cancel - } - - if (hCard >= 0) Release_Card(hCard); - } - - } - else if (nResponse == IDCANCEL) - { - // TODO: Place code here to handle when the dialog is - // dismissed with Cancel - } - - - // Since the dialog has been closed, return FALSE so that we exit the - // application, rather than start the application's message pump. - return FALSE; -} diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7300B/SDK7300bDIDbfOverrunCheck/7300bDbF.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7300B/SDK7300bDIDbfOverrunCheck/7300bDbF.h deleted file mode 100644 index 0b7aef6..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7300B/SDK7300bDIDbfOverrunCheck/7300bDbF.h +++ /dev/null @@ -1,32 +0,0 @@ - -// 7300bDbF.h : main header file for the PROJECT_NAME application -// - -#pragma once - -#ifndef __AFXWIN_H__ - #error "include 'stdafx.h' before including this file for PCH" -#endif - -#include "resource.h" // main symbols - - -// C7300bDbFApp: -// See 7300bDbF.cpp for the implementation of this class -// - -class C7300bDbFApp : public CWinAppEx -{ -public: - C7300bDbFApp(); - -// Overrides - public: - virtual BOOL InitInstance(); - -// Implementation - - DECLARE_MESSAGE_MAP() -}; - -extern C7300bDbFApp theApp; \ No newline at end of file diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7300B/SDK7300bDIDbfOverrunCheck/7300bDbF.rc b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7300B/SDK7300bDIDbfOverrunCheck/7300bDbF.rc deleted file mode 100644 index beedc24..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7300B/SDK7300bDIDbfOverrunCheck/7300bDbF.rc +++ /dev/null @@ -1,282 +0,0 @@ -// Microsoft Visual C++ generated resource script. -// -#include "resource.h" - -#define APSTUDIO_READONLY_SYMBOLS -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 2 resource. -// -#ifndef APSTUDIO_INVOKED -#include "targetver.h" -#endif -#include "afxres.h" - -///////////////////////////////////////////////////////////////////////////// -#undef APSTUDIO_READONLY_SYMBOLS - -///////////////////////////////////////////////////////////////////////////// -// Chinese (Taiwan) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_CHT) -#ifdef _WIN32 -LANGUAGE LANG_CHINESE, SUBLANG_CHINESE_TRADITIONAL -#pragma code_page(950) -#endif //_WIN32 - -#ifdef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// TEXTINCLUDE -// - -1 TEXTINCLUDE -BEGIN - "resource.h\0" -END - -2 TEXTINCLUDE -BEGIN - "#ifndef APSTUDIO_INVOKED\r\n" - "#include ""targetver.h""\r\n" - "#endif\r\n" - "#include ""afxres.h""\r\n" - "\0" -END - -3 TEXTINCLUDE -BEGIN - "#define _AFX_NO_SPLITTER_RESOURCES\r\n" - "#define _AFX_NO_OLE_RESOURCES\r\n" - "#define _AFX_NO_TRACKER_RESOURCES\r\n" - "#define _AFX_NO_PROPERTY_RESOURCES\r\n" - "\r\n" - "#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)\r\n" - "LANGUAGE 9, 1\r\n" - "#pragma code_page(1252)\r\n" - "#include ""res\\My7300bDbF.rc2"" // non-Microsoft Visual C++ edited resources\r\n" - "#include ""afxres.rc"" // Standard components\r\n" - "#endif\r\n" - "\0" -END - -#endif // APSTUDIO_INVOKED - -#endif // Chinese (Taiwan) resources -///////////////////////////////////////////////////////////////////////////// - - -///////////////////////////////////////////////////////////////////////////// -// English (U.S.) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -#ifdef _WIN32 -LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US -#pragma code_page(1252) -#endif //_WIN32 - -///////////////////////////////////////////////////////////////////////////// -// -// Icon -// - -// Icon with lowest ID value placed first to ensure application icon -// remains consistent on all systems. -IDR_MAINFRAME ICON "res\\7300bDbF.ico" -IDI_ICON_RED ICON "res\\red.ico" -IDI_ICON_BLACK ICON "res\\black.ico" - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog -// - -IDD_ABOUTBOX DIALOGEX 0, 0, 170, 62 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "About 7300bDbF" -FONT 8, "MS Shell Dlg", 0, 0, 0x1 -BEGIN - ICON IDR_MAINFRAME,IDC_STATIC,14,14,21,20 - LTEXT "7300bDbF, Version 1.0",IDC_STATIC,42,14,114,8,SS_NOPREFIX - LTEXT "Copyright (C) 2010",IDC_STATIC,42,26,114,8 - DEFPUSHBUTTON "OK",IDOK,113,41,50,14,WS_GROUP -END - -IDD_MY7300BDBF_DIALOG DIALOGEX 0, 0, 265, 96 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU -EXSTYLE WS_EX_APPWINDOW -CAPTION "PCI-7300b DI Double Buffer Overrun checking" -FONT 8, "MS Shell Dlg", 0, 0, 0x1 -BEGIN - EDITTEXT IDC_EDIT_OVERRUN,65,30,59,17,ES_READONLY - LTEXT "Overrun :",IDC_STATIC,26,34,35,13 - EDITTEXT IDC_EDIT_CALLBACK,65,58,59,17,ES_READONLY - LTEXT "CB :",IDC_STATIC,43,60,17,13 - PUSHBUTTON "Start",IDC_BT_START,177,28,68,20 - PUSHBUTTON "Stop",IDC_BT_STOP,178,53,68,20 -END - -IDD_CARDID_DIALOG DIALOGEX 0, 0, 169, 88 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "Card ID" -FONT 8, "MS Shell Dlg", 400, 0, 0x1 -BEGIN - COMBOBOX IDC_COMBO_CARDID,75,17,71,126,CBS_DROPDOWN | WS_VSCROLL | WS_TABSTOP - LTEXT "Card Number",IDC_STATIC_01,21,18,46,12 - PUSHBUTTON "OK",IDOK,22,50,58,19 - PUSHBUTTON "CANCEL",IDCANCEL,86,50,58,19 -END - - -///////////////////////////////////////////////////////////////////////////// -// -// Version -// - -VS_VERSION_INFO VERSIONINFO - FILEVERSION 1,0,0,1 - PRODUCTVERSION 1,0,0,1 - FILEFLAGSMASK 0x3fL -#ifdef _DEBUG - FILEFLAGS 0x1L -#else - FILEFLAGS 0x0L -#endif - FILEOS 0x4L - FILETYPE 0x1L - FILESUBTYPE 0x0L -BEGIN - BLOCK "StringFileInfo" - BEGIN - BLOCK "040904e4" - BEGIN - VALUE "CompanyName", "TODO: " - VALUE "FileDescription", "TODO: " - VALUE "FileVersion", "1.0.0.1" - VALUE "InternalName", "7300bDbF.exe" - VALUE "LegalCopyright", "TODO: (c) . All rights reserved." - VALUE "OriginalFilename", "7300bDbF.exe" - VALUE "ProductName", "TODO: " - VALUE "ProductVersion", "1.0.0.1" - END - END - BLOCK "VarFileInfo" - BEGIN - VALUE "Translation", 0x409, 1252 - END -END - - -///////////////////////////////////////////////////////////////////////////// -// -// DESIGNINFO -// - -#ifdef APSTUDIO_INVOKED -GUIDELINES DESIGNINFO -BEGIN - IDD_ABOUTBOX, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 163 - TOPMARGIN, 7 - BOTTOMMARGIN, 55 - END - - IDD_MY7300BDBF_DIALOG, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 258 - TOPMARGIN, 7 - BOTTOMMARGIN, 89 - END - - IDD_CARDID_DIALOG, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 162 - TOPMARGIN, 7 - BOTTOMMARGIN, 81 - END -END -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog Info -// - -IDD_CARDID_DIALOG DLGINIT -BEGIN - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0030, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0031, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0032, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0033, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0034, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0035, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0036, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0037, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0038, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0039, - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3031, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3131, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3231, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3331, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3431, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3531, "\000" - 0 -END - - -///////////////////////////////////////////////////////////////////////////// -// -// String Table -// - -STRINGTABLE -BEGIN - IDS_ABOUTBOX "&About 7300bDbF..." -END - -#endif // English (U.S.) resources -///////////////////////////////////////////////////////////////////////////// - - - -#ifndef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 3 resource. -// -#define _AFX_NO_SPLITTER_RESOURCES -#define _AFX_NO_OLE_RESOURCES -#define _AFX_NO_TRACKER_RESOURCES -#define _AFX_NO_PROPERTY_RESOURCES - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -LANGUAGE 9, 1 -#pragma code_page(1252) -#include "res\My7300bDbF.rc2" // non-Microsoft Visual C++ edited resources -#include "afxres.rc" // Standard components -#endif - -///////////////////////////////////////////////////////////////////////////// -#endif // not APSTUDIO_INVOKED - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7300B/SDK7300bDIDbfOverrunCheck/7300bDbF.sln b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7300B/SDK7300bDIDbfOverrunCheck/7300bDbF.sln deleted file mode 100644 index 21d930f..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7300B/SDK7300bDIDbfOverrunCheck/7300bDbF.sln +++ /dev/null @@ -1,20 +0,0 @@ - -Microsoft Visual Studio Solution File, Format Version 10.00 -# Visual Studio 2008 -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "7300bDbF", "7300bDbF.vcproj", "{9F3506DE-8BBC-43F0-BAC1-6A5D11A1AEE8}" -EndProject -Global - GlobalSection(SolutionConfigurationPlatforms) = preSolution - Debug|x64 = Debug|x64 - Release|x64 = Release|x64 - EndGlobalSection - GlobalSection(ProjectConfigurationPlatforms) = postSolution - {9F3506DE-8BBC-43F0-BAC1-6A5D11A1AEE8}.Debug|x64.ActiveCfg = Debug|x64 - {9F3506DE-8BBC-43F0-BAC1-6A5D11A1AEE8}.Debug|x64.Build.0 = Debug|x64 - {9F3506DE-8BBC-43F0-BAC1-6A5D11A1AEE8}.Release|x64.ActiveCfg = Release|x64 - {9F3506DE-8BBC-43F0-BAC1-6A5D11A1AEE8}.Release|x64.Build.0 = Release|x64 - EndGlobalSection - GlobalSection(SolutionProperties) = preSolution - HideSolutionNode = FALSE - EndGlobalSection -EndGlobal diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7300B/SDK7300bDIDbfOverrunCheck/7300bDbF.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7300B/SDK7300bDIDbfOverrunCheck/7300bDbF.suo deleted file mode 100644 index cd1fb73..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7300B/SDK7300bDIDbfOverrunCheck/7300bDbF.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7300B/SDK7300bDIDbfOverrunCheck/7300bDbF.vcproj b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7300B/SDK7300bDIDbfOverrunCheck/7300bDbF.vcproj deleted file mode 100644 index df46874..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7300B/SDK7300bDIDbfOverrunCheck/7300bDbF.vcproj +++ /dev/null @@ -1,294 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7300B/SDK7300bDIDbfOverrunCheck/7300bDbFDlg.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7300B/SDK7300bDIDbfOverrunCheck/7300bDbFDlg.cpp deleted file mode 100644 index b220476..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7300B/SDK7300bDIDbfOverrunCheck/7300bDbFDlg.cpp +++ /dev/null @@ -1,262 +0,0 @@ - -// 7300bDbFDlg.cpp : implementation file -// - -#include "stdafx.h" -#include "7300bDbF.h" -#include "7300bDbFDlg.h" - -#ifdef _DEBUG -#define new DEBUG_NEW -#endif - -I16 ghCard; -U16 channel=0; -U32 out_count=10000; -U16 ao_buf[10000]; -U16 ao_buf2[10000]; -U32 cb=0, t=0; -U16 viewidx[10000]; - -C7300bDbFApp* pMyApp; -C7300bDbFDlg* pMyDlg; - -void cbAddr() -{ - BOOLEAN halfReady = 0; - U16 sts=0; - - DI_AsyncMultiBufferNextReady(ghCard, &halfReady, &viewidx[(cb%10000)]); - //TODO: here to handle data - DI_AsyncDblBufferTransfer(ghCard, NULL); //notify driver the data have been handled - DI_AsyncDblBufferOverrun(ghCard, 0, &sts); - - if(sts) - { - t++; - DI_AsyncDblBufferOverrun(ghCard, 1, &sts); - } - - pMyDlg->SetDlgItemInt(IDC_EDIT_CALLBACK, cb); - pMyDlg->SetDlgItemInt(IDC_EDIT_OVERRUN, t); - - cb++; -} - -void cbAddr0() -{ - pMyDlg->SetWindowText( TEXT("PCI-7300b DI Double Buffer Overrun - Completed!!!") ); -} - - -// CAboutDlg dialog used for App About - -class CAboutDlg : public CDialog -{ -public: - CAboutDlg(); - -// Dialog Data - enum { IDD = IDD_ABOUTBOX }; - - protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - -// Implementation -protected: - DECLARE_MESSAGE_MAP() -}; - -CAboutDlg::CAboutDlg() : CDialog(CAboutDlg::IDD) -{ -} - -void CAboutDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); -} - -BEGIN_MESSAGE_MAP(CAboutDlg, CDialog) -END_MESSAGE_MAP() - - -// C7300bDbFDlg dialog - - - - -C7300bDbFDlg::C7300bDbFDlg(I16 hCard, CWnd* pParent /*=NULL*/) - : CDialog(C7300bDbFDlg::IDD, pParent) -{ - m_hIcon = AfxGetApp()->LoadIcon(IDR_MAINFRAME); - - ghCard = hCard; -} - -void C7300bDbFDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); -} - -BEGIN_MESSAGE_MAP(C7300bDbFDlg, CDialog) - ON_WM_SYSCOMMAND() - ON_WM_PAINT() - ON_WM_QUERYDRAGICON() - //}}AFX_MSG_MAP - ON_BN_CLICKED(IDC_BT_START, &C7300bDbFDlg::OnStart) - ON_WM_DESTROY() - ON_BN_CLICKED(IDC_BT_STOP, &C7300bDbFDlg::OnStop) -END_MESSAGE_MAP() - - -// C7300bDbFDlg message handlers - -BOOL C7300bDbFDlg::OnInitDialog() -{ - I16 err; - CString strTemp; - - CDialog::OnInitDialog(); - - // Add "About..." menu item to system menu. - - // IDM_ABOUTBOX must be in the system command range. - ASSERT((IDM_ABOUTBOX & 0xFFF0) == IDM_ABOUTBOX); - ASSERT(IDM_ABOUTBOX < 0xF000); - - CMenu* pSysMenu = GetSystemMenu(FALSE); - if (pSysMenu != NULL) - { - BOOL bNameValid; - CString strAboutMenu; - bNameValid = strAboutMenu.LoadString(IDS_ABOUTBOX); - ASSERT(bNameValid); - if (!strAboutMenu.IsEmpty()) - { - pSysMenu->AppendMenu(MF_SEPARATOR); - pSysMenu->AppendMenu(MF_STRING, IDM_ABOUTBOX, strAboutMenu); - } - } - - // Set the icon for this dialog. The framework does this automatically - // when the application's main window is not a dialog - SetIcon(m_hIcon, TRUE); // Set big icon - SetIcon(m_hIcon, FALSE); // Set small icon - - // TODO: Add extra initialization here - pMyApp = (C7300bDbFApp*)AfxGetApp(); - pMyDlg = (C7300bDbFDlg*)(pMyApp->m_pMainWnd); - - err = DI_7300B_Config(ghCard, 16, TRIG_CLK_10MHZ, P7300_WAIT_NO, P7300_TERM_ON, 0, 1, 1); - if (err != 0) - { - strTemp.Format( TEXT("DI_7300B_Config Error = %d, card=%d"), err, ghCard); - AfxMessageBox( strTemp ); - return TRUE; - } - - return TRUE; // return TRUE unless you set the focus to a control -} - -void C7300bDbFDlg::OnSysCommand(UINT nID, LPARAM lParam) -{ - if ((nID & 0xFFF0) == IDM_ABOUTBOX) - { - CAboutDlg dlgAbout; - dlgAbout.DoModal(); - } - else - { - CDialog::OnSysCommand(nID, lParam); - } -} - -// If you add a minimize button to your dialog, you will need the code below -// to draw the icon. For MFC applications using the document/view model, -// this is automatically done for you by the framework. - -void C7300bDbFDlg::OnPaint() -{ - if (IsIconic()) - { - CPaintDC dc(this); // device context for painting - - SendMessage(WM_ICONERASEBKGND, reinterpret_cast(dc.GetSafeHdc()), 0); - - // Center icon in client rectangle - int cxIcon = GetSystemMetrics(SM_CXICON); - int cyIcon = GetSystemMetrics(SM_CYICON); - CRect rect; - GetClientRect(&rect); - int x = (rect.Width() - cxIcon + 1) / 2; - int y = (rect.Height() - cyIcon + 1) / 2; - - // Draw the icon - dc.DrawIcon(x, y, m_hIcon); - } - else - { - CDialog::OnPaint(); - } -} - -// The system calls this function to obtain the cursor to display while the user drags -// the minimized window. -HCURSOR C7300bDbFDlg::OnQueryDragIcon() -{ - return static_cast(m_hIcon); -} - - -void C7300bDbFDlg::OnStart() -{ - // TODO: Add your control notification handler code here - U16 BufferId; - I16 err; - U32 out_count=10000; - CString strMsg; - - err = DI_ContMultiBufferSetup (ghCard, ao_buf, out_count, &BufferId); - if (err < 0) - { - strMsg.Format(TEXT("DI_ContMultiBufferSetup Error = %d"), err); - AfxMessageBox( strMsg ); - return; - } - - err = DI_ContMultiBufferSetup (ghCard, ao_buf2, out_count, &BufferId); - if (err < 0) - { - strMsg.Format(TEXT("DI_ContMultiBufferSetup Error = %d"), err); - AfxMessageBox( strMsg ); - return; - } - - DI_EventCallBack_x64 (ghCard, 1, 1, (ULONG_PTR) cbAddr ); - DI_EventCallBack_x64 (ghCard, 1, 0, (ULONG_PTR) cbAddr0 ); - - err = DI_ContMultiBufferStart (ghCard, 0, 1); - if (err < 0) - { - strMsg.Format(TEXT("DI_ContMultiBufferStart Error = %d"), err); - AfxMessageBox( strMsg ); - return; - } - -} - -void C7300bDbFDlg::OnDestroy() -{ - - CDialog::OnDestroy(); - // TODO: Add your message handler code here - -} - -void C7300bDbFDlg::OnStop() -{ - // TODO: Add your control notification handler code here - U32 count; - - DI_AsyncClear(ghCard, &count); -} diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7300B/SDK7300bDIDbfOverrunCheck/7300bDbFDlg.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7300B/SDK7300bDIDbfOverrunCheck/7300bDbFDlg.h deleted file mode 100644 index 1226b0c..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7300B/SDK7300bDIDbfOverrunCheck/7300bDbFDlg.h +++ /dev/null @@ -1,38 +0,0 @@ - -// 7300bDbFDlg.h : header file -// - -#include "Dask64.h" - -#pragma once - - -// C7300bDbFDlg dialog -class C7300bDbFDlg : public CDialog -{ -// Construction -public: - C7300bDbFDlg(I16 hCard, CWnd* pParent = NULL); // standard constructor - -// Dialog Data - enum { IDD = IDD_MY7300BDBF_DIALOG }; - - protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - - -// Implementation -protected: - HICON m_hIcon; - - // Generated message map functions - virtual BOOL OnInitDialog(); - afx_msg void OnSysCommand(UINT nID, LPARAM lParam); - afx_msg void OnPaint(); - afx_msg HCURSOR OnQueryDragIcon(); - DECLARE_MESSAGE_MAP() -public: - afx_msg void OnStart(); - afx_msg void OnDestroy(); - afx_msg void OnStop(); -}; diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7300B/SDK7300bDIDbfOverrunCheck/CardIDDlg.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7300B/SDK7300bDIDbfOverrunCheck/CardIDDlg.cpp deleted file mode 100644 index db8a392..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7300B/SDK7300bDIDbfOverrunCheck/CardIDDlg.cpp +++ /dev/null @@ -1,65 +0,0 @@ -// CardIDDlg.cpp : implementation file -// - -#include "stdafx.h" -#include "7300bDbF.h" -#include "CardIDDlg.h" - - -// CCardIDDlg dialog - -IMPLEMENT_DYNAMIC(CCardIDDlg, CDialog) - -CCardIDDlg::CCardIDDlg(int nCardIdx, CWnd* pParent /*=NULL*/) - : CDialog(CCardIDDlg::IDD, pParent) -{ - m_nCardIdx = nCardIdx; -} - -CCardIDDlg::~CCardIDDlg() -{ -} - -void CCardIDDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); - DDX_Control(pDX, IDC_COMBO_CARDID, m_cbCardID); -} - - -BEGIN_MESSAGE_MAP(CCardIDDlg, CDialog) -// ON_CBN_SELCHANGE(IDC_COMBO_CARDID, &CCardIDDlg::OnCbnSelchangeComboCardid) -ON_BN_CLICKED(IDOK, &CCardIDDlg::OnBnClickedOk) -//ON_WM_CTLCOLOR() -END_MESSAGE_MAP() - - -// CCardIDDlg message handlers - - -void CCardIDDlg::OnBnClickedOk() -{ - // TODO: Add your control notification handler code here - -// UpdateData(TRUE); - m_nCardIdx = m_cbCardID.GetCurSel(); - - OnOK(); -} - -BOOL CCardIDDlg::OnInitDialog() -{ - CDialog::OnInitDialog(); - - // TODO: Add extra initialization here - m_cbCardID.SetCurSel( m_nCardIdx ); - - return TRUE; // return TRUE unless you set the focus to a control - // EXCEPTION: OCX Property Pages should return FALSE -} - -// the function to get the selected CardID -int CCardIDDlg::GetCardID(void) -{ - return m_nCardIdx; -} diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7300B/SDK7300bDIDbfOverrunCheck/CardIDDlg.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7300B/SDK7300bDIDbfOverrunCheck/CardIDDlg.h deleted file mode 100644 index 54628ea..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7300B/SDK7300bDIDbfOverrunCheck/CardIDDlg.h +++ /dev/null @@ -1,33 +0,0 @@ -#pragma once -#include "afxwin.h" - - -// CCardIDDlg dialog - -class CCardIDDlg : public CDialog -{ - DECLARE_DYNAMIC(CCardIDDlg) - -public: - CCardIDDlg(int nCardIdx, CWnd* pParent = NULL); // standard constructor - virtual ~CCardIDDlg(); - -// Dialog Data - enum { IDD = IDD_CARDID_DIALOG }; - -protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - - DECLARE_MESSAGE_MAP() -public: -// afx_msg void OnCbnSelchangeComboCardid(); - afx_msg void OnBnClickedOk(); - // the setting of CardID ComboBox - int m_nCardIdx; - virtual BOOL OnInitDialog(); - // the control of CardID ComboBox - CComboBox m_cbCardID; - // the function to get the selected CardID - int GetCardID(void); -// afx_msg HBRUSH OnCtlColor(CDC* pDC, CWnd* pWnd, UINT nCtlColor); -}; diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7300B/SDK7300bDIDbfOverrunCheck/ReadMe.txt b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7300B/SDK7300bDIDbfOverrunCheck/ReadMe.txt deleted file mode 100644 index 6648531..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7300B/SDK7300bDIDbfOverrunCheck/ReadMe.txt +++ /dev/null @@ -1,93 +0,0 @@ -================================================================================ - MICROSOFT FOUNDATION CLASS LIBRARY : 7300bDbF Project Overview -=============================================================================== - -The application wizard has created this 7300bDbF application for -you. This application not only demonstrates the basics of using the Microsoft -Foundation Classes but is also a starting point for writing your application. - -This file contains a summary of what you will find in each of the files that -make up your 7300bDbF application. - -7300bDbF.vcproj - This is the main project file for VC++ projects generated using an application wizard. - It contains information about the version of Visual C++ that generated the file, and - information about the platforms, configurations, and project features selected with the - application wizard. - -7300bDbF.h - This is the main header file for the application. It includes other - project specific headers (including Resource.h) and declares the - C7300bDbFApp application class. - -7300bDbF.cpp - This is the main application source file that contains the application - class C7300bDbFApp. - -7300bDbF.rc - This is a listing of all of the Microsoft Windows resources that the - program uses. It includes the icons, bitmaps, and cursors that are stored - in the RES subdirectory. This file can be directly edited in Microsoft - Visual C++. Your project resources are in 1033. - -res\7300bDbF.ico - This is an icon file, which is used as the application's icon. This - icon is included by the main resource file 7300bDbF.rc. - -res\My7300bDbF.rc2 - This file contains resources that are not edited by Microsoft - Visual C++. You should place all resources not editable by - the resource editor in this file. - - -///////////////////////////////////////////////////////////////////////////// - -The application wizard creates one dialog class: - -7300bDbFDlg.h, 7300bDbFDlg.cpp - the dialog - These files contain your C7300bDbFDlg class. This class defines - the behavior of your application's main dialog. The dialog's template is - in 7300bDbF.rc, which can be edited in Microsoft Visual C++. - - -///////////////////////////////////////////////////////////////////////////// - -Other Features: - -ActiveX Controls - The application includes support to use ActiveX controls. - -///////////////////////////////////////////////////////////////////////////// - -Other standard files: - -StdAfx.h, StdAfx.cpp - These files are used to build a precompiled header (PCH) file - named 7300bDbF.pch and a precompiled types file named StdAfx.obj. - -Resource.h - This is the standard header file, which defines new resource IDs. - Microsoft Visual C++ reads and updates this file. - -7300bDbF.manifest - Application manifest files are used by Windows XP to describe an applications - dependency on specific versions of Side-by-Side assemblies. The loader uses this - information to load the appropriate assembly from the assembly cache or private - from the application. The Application manifest maybe included for redistribution - as an external .manifest file that is installed in the same folder as the application - executable or it may be included in the executable in the form of a resource. -///////////////////////////////////////////////////////////////////////////// - -Other notes: - -The application wizard uses "TODO:" to indicate parts of the source code you -should add to or customize. - -If your application uses MFC in a shared DLL, you will need -to redistribute the MFC DLLs. If your application is in a language -other than the operating system's locale, you will also have to -redistribute the corresponding localized resources MFC90XXX.DLL. -For more information on both of these topics, please see the section on -redistributing Visual C++ applications in MSDN documentation. - -///////////////////////////////////////////////////////////////////////////// diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7300B/SDK7300bDIDbfOverrunCheck/res/7300bDbF.ico b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7300B/SDK7300bDIDbfOverrunCheck/res/7300bDbF.ico deleted file mode 100644 index d56fbcd..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7300B/SDK7300bDIDbfOverrunCheck/res/7300bDbF.ico and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7300B/SDK7300bDIDbfOverrunCheck/res/My7300bDbF.rc2 b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7300B/SDK7300bDIDbfOverrunCheck/res/My7300bDbF.rc2 deleted file mode 100644 index f5a6382..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7300B/SDK7300bDIDbfOverrunCheck/res/My7300bDbF.rc2 +++ /dev/null @@ -1,13 +0,0 @@ -// -// My7300bDbF.RC2 - resources Microsoft Visual C++ does not edit directly -// - -#ifdef APSTUDIO_INVOKED -#error this file is not editable by Microsoft Visual C++ -#endif //APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// Add manually edited resources here... - -///////////////////////////////////////////////////////////////////////////// diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7300B/SDK7300bDIDbfOverrunCheck/res/black.ico b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7300B/SDK7300bDIDbfOverrunCheck/res/black.ico deleted file mode 100644 index b5c375f..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7300B/SDK7300bDIDbfOverrunCheck/res/black.ico and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7300B/SDK7300bDIDbfOverrunCheck/res/red.ico b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7300B/SDK7300bDIDbfOverrunCheck/res/red.ico deleted file mode 100644 index 7644596..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7300B/SDK7300bDIDbfOverrunCheck/res/red.ico and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7300B/SDK7300bDIDbfOverrunCheck/resource.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7300B/SDK7300bDIDbfOverrunCheck/resource.h deleted file mode 100644 index 2a0a3f6..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7300B/SDK7300bDIDbfOverrunCheck/resource.h +++ /dev/null @@ -1,30 +0,0 @@ -//{{NO_DEPENDENCIES}} -// Microsoft Visual C++ generated include file. -// Used by 7300bDbF.rc -// -#define IDCANCEL2 4 -#define IDM_ABOUTBOX 0x0010 -#define IDD_ABOUTBOX 100 -#define IDS_ABOUTBOX 101 -#define IDD_MY7300BDBF_DIALOG 102 -#define IDR_MAINFRAME 128 -#define IDI_ICON_RED 129 -#define IDI_ICON_BLACK 130 -#define IDD_CARDID_DIALOG 131 -#define IDC_EDIT_OVERRUN 1000 -#define IDC_EDIT_CALLBACK 1001 -#define IDC_BT_START 1002 -#define IDC_BT_STOP 1003 -#define IDC_COMBO_CARDID 1007 -#define IDC_STATIC_01 1014 - -// Next default values for new objects -// -#ifdef APSTUDIO_INVOKED -#ifndef APSTUDIO_READONLY_SYMBOLS -#define _APS_NEXT_RESOURCE_VALUE 133 -#define _APS_NEXT_COMMAND_VALUE 32771 -#define _APS_NEXT_CONTROL_VALUE 1003 -#define _APS_NEXT_SYMED_VALUE 101 -#endif -#endif diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7300B/SDK7300bDIDbfOverrunCheck/stdafx.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7300B/SDK7300bDIDbfOverrunCheck/stdafx.cpp deleted file mode 100644 index 837a219..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7300B/SDK7300bDIDbfOverrunCheck/stdafx.cpp +++ /dev/null @@ -1,8 +0,0 @@ - -// stdafx.cpp : source file that includes just the standard includes -// 7300bDbF.pch will be the pre-compiled header -// stdafx.obj will contain the pre-compiled type information - -#include "stdafx.h" - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7300B/SDK7300bDIDbfOverrunCheck/stdafx.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7300B/SDK7300bDIDbfOverrunCheck/stdafx.h deleted file mode 100644 index 12123e2..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7300B/SDK7300bDIDbfOverrunCheck/stdafx.h +++ /dev/null @@ -1,60 +0,0 @@ - -// stdafx.h : include file for standard system include files, -// or project specific include files that are used frequently, -// but are changed infrequently - -#pragma once - -#ifndef _SECURE_ATL -#define _SECURE_ATL 1 -#endif - -#ifndef VC_EXTRALEAN -#define VC_EXTRALEAN // Exclude rarely-used stuff from Windows headers -#endif - -#include "targetver.h" - -#define _ATL_CSTRING_EXPLICIT_CONSTRUCTORS // some CString constructors will be explicit - -// turns off MFC's hiding of some common and often safely ignored warning messages -#define _AFX_ALL_WARNINGS - -#include // MFC core and standard components -#include // MFC extensions - - -#include // MFC Automation classes - - - -#ifndef _AFX_NO_OLE_SUPPORT -#include // MFC support for Internet Explorer 4 Common Controls -#endif -#ifndef _AFX_NO_AFXCMN_SUPPORT -#include // MFC support for Windows Common Controls -#endif // _AFX_NO_AFXCMN_SUPPORT - -#include // MFC support for ribbons and control bars - - - - - - - - - -#ifdef _UNICODE -#if defined _M_IX86 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='x86' publicKeyToken='6595b64144ccf1df' language='*'\"") -#elif defined _M_IA64 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='ia64' publicKeyToken='6595b64144ccf1df' language='*'\"") -#elif defined _M_X64 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='amd64' publicKeyToken='6595b64144ccf1df' language='*'\"") -#else -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='*' publicKeyToken='6595b64144ccf1df' language='*'\"") -#endif -#endif - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7300B/SDK7300bDIDbfOverrunCheck/targetver.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7300B/SDK7300bDIDbfOverrunCheck/targetver.h deleted file mode 100644 index 11730d5..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7300B/SDK7300bDIDbfOverrunCheck/targetver.h +++ /dev/null @@ -1,26 +0,0 @@ - -#pragma once - -// The following macros define the minimum required platform. The minimum required platform -// is the earliest version of Windows, Internet Explorer etc. that has the necessary features to run -// your application. The macros work by enabling all features available on platform versions up to and -// including the version specified. - -// Modify the following defines if you have to target a platform prior to the ones specified below. -// Refer to MSDN for the latest info on corresponding values for different platforms. -#ifndef WINVER // Specifies that the minimum required platform is Windows Vista. -#define WINVER 0x0600 // Change this to the appropriate value to target other versions of Windows. -#endif - -#ifndef _WIN32_WINNT // Specifies that the minimum required platform is Windows Vista. -#define _WIN32_WINNT 0x0600 // Change this to the appropriate value to target other versions of Windows. -#endif - -#ifndef _WIN32_WINDOWS // Specifies that the minimum required platform is Windows 98. -#define _WIN32_WINDOWS 0x0410 // Change this to the appropriate value to target Windows Me or later. -#endif - -#ifndef _WIN32_IE // Specifies that the minimum required platform is Internet Explorer 7.0. -#define _WIN32_IE 0x0700 // Change this to the appropriate value to target other versions of IE. -#endif - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7300B/SDK7300bDbEvt/7296int2.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7300B/SDK7300bDbEvt/7296int2.suo deleted file mode 100644 index ad48725..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7300B/SDK7300bDbEvt/7296int2.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7300B/SDK7300bDbEvt/7300bint2.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7300B/SDK7300bDbEvt/7300bint2.cpp deleted file mode 100644 index ef06974..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7300B/SDK7300bDbEvt/7300bint2.cpp +++ /dev/null @@ -1,79 +0,0 @@ - -// 7300bint2.cpp : Defines the class behaviors for the application. -// - -#include "stdafx.h" -#include "7300bint2.h" -#include "7300bint2Dlg.h" - -#ifdef _DEBUG -#define new DEBUG_NEW -#endif - - -// CMy7300bint2App - -BEGIN_MESSAGE_MAP(CMy7300bint2App, CWinAppEx) - ON_COMMAND(ID_HELP, &CWinApp::OnHelp) -END_MESSAGE_MAP() - - -// CMy7300bint2App construction - -CMy7300bint2App::CMy7300bint2App() -{ - // TODO: add construction code here, - // Place all significant initialization in InitInstance -} - - -// The one and only CMy7300bint2App object - -CMy7300bint2App theApp; - - -// CMy7300bint2App initialization - -BOOL CMy7300bint2App::InitInstance() -{ - // InitCommonControlsEx() is required on Windows XP if an application - // manifest specifies use of ComCtl32.dll version 6 or later to enable - // visual styles. Otherwise, any window creation will fail. - INITCOMMONCONTROLSEX InitCtrls; - InitCtrls.dwSize = sizeof(InitCtrls); - // Set this to include all the common control classes you want to use - // in your application. - InitCtrls.dwICC = ICC_WIN95_CLASSES; - InitCommonControlsEx(&InitCtrls); - - CWinAppEx::InitInstance(); - - AfxEnableControlContainer(); - - // Standard initialization - // If you are not using these features and wish to reduce the size - // of your final executable, you should remove from the following - // the specific initialization routines you do not need - // Change the registry key under which our settings are stored - // TODO: You should modify this string to be something appropriate - // such as the name of your company or organization - SetRegistryKey(_T("Local AppWizard-Generated Applications")); - - CMy7300bint2Dlg dlg; - m_pMainWnd = &dlg; - INT_PTR nResponse = dlg.DoModal(); - if (nResponse == IDOK) - { - // TODO: Place code here to handle when the dialog is - // dismissed with OK - } - else if (nResponse == IDCANCEL) - { - // TODO: Place code here to handle when the dialog is - // dismissed with Cancel - } - - // Since the dialog has been closed, return FALSE so that we exit the - // application, rather than start the application's message pump. - return FALSE; -} diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7300B/SDK7300bDbEvt/7300bint2.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7300B/SDK7300bDbEvt/7300bint2.h deleted file mode 100644 index 0d8a6b2..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7300B/SDK7300bDbEvt/7300bint2.h +++ /dev/null @@ -1,32 +0,0 @@ - -// 7300bint2.h : main header file for the PROJECT_NAME application -// - -#pragma once - -#ifndef __AFXWIN_H__ - #error "include 'stdafx.h' before including this file for PCH" -#endif - -#include "resource.h" // main symbols - - -// CMy7300bint2App: -// See 7300bint2.cpp for the implementation of this class -// - -class CMy7300bint2App : public CWinAppEx -{ -public: - CMy7300bint2App(); - -// Overrides - public: - virtual BOOL InitInstance(); - -// Implementation - - DECLARE_MESSAGE_MAP() -}; - -extern CMy7300bint2App theApp; \ No newline at end of file diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7300B/SDK7300bDbEvt/7300bint2.rc b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7300B/SDK7300bDbEvt/7300bint2.rc deleted file mode 100644 index 6ddfec9..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7300B/SDK7300bDbEvt/7300bint2.rc +++ /dev/null @@ -1,252 +0,0 @@ -// Microsoft Visual C++ generated resource script. -// -#include "resource.h" - -#define APSTUDIO_READONLY_SYMBOLS -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 2 resource. -// -#ifndef APSTUDIO_INVOKED -#include "targetver.h" -#endif -#include "afxres.h" - -///////////////////////////////////////////////////////////////////////////// -#undef APSTUDIO_READONLY_SYMBOLS - -///////////////////////////////////////////////////////////////////////////// -// Chinese (Taiwan) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_CHT) -#ifdef _WIN32 -LANGUAGE LANG_CHINESE, SUBLANG_CHINESE_TRADITIONAL -#pragma code_page(950) -#endif //_WIN32 - -#ifdef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// TEXTINCLUDE -// - -1 TEXTINCLUDE -BEGIN - "resource.h\0" -END - -2 TEXTINCLUDE -BEGIN - "#ifndef APSTUDIO_INVOKED\r\n" - "#include ""targetver.h""\r\n" - "#endif\r\n" - "#include ""afxres.h""\r\n" - "\0" -END - -3 TEXTINCLUDE -BEGIN - "#define _AFX_NO_SPLITTER_RESOURCES\r\n" - "#define _AFX_NO_OLE_RESOURCES\r\n" - "#define _AFX_NO_TRACKER_RESOURCES\r\n" - "#define _AFX_NO_PROPERTY_RESOURCES\r\n" - "\r\n" - "#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)\r\n" - "LANGUAGE 9, 1\r\n" - "#pragma code_page(1252)\r\n" - "#include ""res\\My7300bint2.rc2"" // non-Microsoft Visual C++ edited resources\r\n" - "#include ""afxres.rc"" // Standard components\r\n" - "#endif\r\n" - "\0" -END - -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// Icon -// - -// Icon with lowest ID value placed first to ensure application icon -// remains consistent on all systems. -IDR_MAINFRAME ICON "res\\7300bint2.ico" -#endif // Chinese (Taiwan) resources -///////////////////////////////////////////////////////////////////////////// - - -///////////////////////////////////////////////////////////////////////////// -// English (U.S.) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -#ifdef _WIN32 -LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US -#pragma code_page(1252) -#endif //_WIN32 - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog -// - -IDD_DIALOG_SETUP DIALOGEX 0, 0, 188, 112 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION -CAPTION "Setup Dialog" -FONT 8, "MS Shell Dlg", 400, 0, 0x1 -BEGIN - DEFPUSHBUTTON "OK",IDOK,48,84,50,14 - PUSHBUTTON "Cancel",IDCANCEL,105,84,50,14 - LTEXT "Card Number : ",IDC_STATIC,19,19,53,14 - LTEXT "Total Count : ",IDC_STATIC,19,39,53,14 - LTEXT "Sampling Rate : ",IDC_STATIC,19,57,53,14 - COMBOBOX IDC_COMBO_CARDNO,79,17,86,13,CBS_DROPDOWN | WS_VSCROLL | WS_TABSTOP - EDITTEXT IDC_EDIT_COUNT,79,36,85,14,ES_AUTOHSCROLL | ES_NUMBER - EDITTEXT IDC_EDIT_RATE,79,55,85,14,ES_AUTOHSCROLL | ES_NUMBER -END - -IDD_ABOUTBOX DIALOGEX 0, 0, 170, 62 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "About 7300bint2" -FONT 8, "MS Shell Dlg", 0, 0, 0x1 -BEGIN - ICON IDR_MAINFRAME,IDC_STATIC,14,14,21,20 - LTEXT "7300bint2, Version 1.0",IDC_STATIC,42,14,114,8,SS_NOPREFIX - LTEXT "Copyright (C) 2010",IDC_STATIC,42,26,114,8 - DEFPUSHBUTTON "OK",IDOK,113,41,50,14,WS_GROUP -END - -IDD_MY7300BINT2_DIALOG DIALOGEX 0, 0, 273, 112 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_VISIBLE | WS_CAPTION -EXSTYLE WS_EX_APPWINDOW -CAPTION "7300b Dual Interrupt Sample" -FONT 8, "MS Shell Dlg", 0, 0, 0x1 -BEGIN - PUSHBUTTON "Exit",IDCANCEL,163,7,50,14 - PUSHBUTTON "Setup",IDC_BT_SETUP,7,7,53,14 - PUSHBUTTON "Interrupt Trigger",IDC_BT_TRIGGER,61,7,102,14,WS_DISABLED - LTEXT "This program demonstrates how to use local interrupt line.",IDC_STATIC,7,23,190,13 - LTEXT "The IRQ source of INT1 is AUXDI0",IDC_STATIC,7,31,190,13 - LTEXT "The IRQ source of INT2 is internal Timer2 Output",IDC_STATIC,7,39,190,13 - LTEXT "Click 'Setup' button first ...",IDC_STATIC_04,7,50,125,13 - LTEXT "INT1 Count =",IDC_STATIC_05,7,72,85,13 - LTEXT "INT2 Count =",IDC_STATIC_06,7,83,85,13 -END - - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog Info -// - -IDD_DIALOG_SETUP DLGINIT -BEGIN - IDC_COMBO_CARDNO, 0x403, 2, 0 -0x0030, - IDC_COMBO_CARDNO, 0x403, 2, 0 -0x0031, - IDC_COMBO_CARDNO, 0x403, 2, 0 -0x0032, - IDC_COMBO_CARDNO, 0x403, 2, 0 -0x0033, - IDC_COMBO_CARDNO, 0x403, 2, 0 -0x0034, - IDC_COMBO_CARDNO, 0x403, 2, 0 -0x0035, - IDC_COMBO_CARDNO, 0x403, 2, 0 -0x0036, - IDC_COMBO_CARDNO, 0x403, 2, 0 -0x0037, - IDC_COMBO_CARDNO, 0x403, 2, 0 -0x0038, - IDC_COMBO_CARDNO, 0x403, 2, 0 -0x0039, - IDC_COMBO_CARDNO, 0x403, 3, 0 -0x3031, "\000" - IDC_COMBO_CARDNO, 0x403, 3, 0 -0x3131, "\000" - IDC_COMBO_CARDNO, 0x403, 3, 0 -0x3231, "\000" - IDC_COMBO_CARDNO, 0x403, 3, 0 -0x3331, "\000" - IDC_COMBO_CARDNO, 0x403, 3, 0 -0x3431, "\000" - IDC_COMBO_CARDNO, 0x403, 3, 0 -0x3531, "\000" - 0 -END - - -///////////////////////////////////////////////////////////////////////////// -// -// Version -// - -VS_VERSION_INFO VERSIONINFO - FILEVERSION 1,0,0,1 - PRODUCTVERSION 1,0,0,1 - FILEFLAGSMASK 0x3fL -#ifdef _DEBUG - FILEFLAGS 0x1L -#else - FILEFLAGS 0x0L -#endif - FILEOS 0x4L - FILETYPE 0x1L - FILESUBTYPE 0x0L -BEGIN - BLOCK "StringFileInfo" - BEGIN - BLOCK "040904e4" - BEGIN - VALUE "CompanyName", "TODO: " - VALUE "FileDescription", "TODO: " - VALUE "FileVersion", "1.0.0.1" - VALUE "InternalName", "7300bint2.exe" - VALUE "LegalCopyright", "TODO: (c) . All rights reserved." - VALUE "OriginalFilename", "7300bint2.exe" - VALUE "ProductName", "TODO: " - VALUE "ProductVersion", "1.0.0.1" - END - END - BLOCK "VarFileInfo" - BEGIN - VALUE "Translation", 0x409, 1252 - END -END - - -///////////////////////////////////////////////////////////////////////////// -// -// String Table -// - -STRINGTABLE -BEGIN - IDS_ABOUTBOX "&About 7300bint2..." -END - -#endif // English (U.S.) resources -///////////////////////////////////////////////////////////////////////////// - - - -#ifndef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 3 resource. -// -#define _AFX_NO_SPLITTER_RESOURCES -#define _AFX_NO_OLE_RESOURCES -#define _AFX_NO_TRACKER_RESOURCES -#define _AFX_NO_PROPERTY_RESOURCES - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -LANGUAGE 9, 1 -#pragma code_page(1252) -#include "res\My7300bint2.rc2" // non-Microsoft Visual C++ edited resources -#include "afxres.rc" // Standard components -#endif - -///////////////////////////////////////////////////////////////////////////// -#endif // not APSTUDIO_INVOKED - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7300B/SDK7300bDbEvt/7300bint2.sln b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7300B/SDK7300bDbEvt/7300bint2.sln deleted file mode 100644 index f65315a..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7300B/SDK7300bDbEvt/7300bint2.sln +++ /dev/null @@ -1,20 +0,0 @@ - -Microsoft Visual Studio Solution File, Format Version 10.00 -# Visual Studio 2008 -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "7300bint2", "7300bint2.vcproj", "{36D327EC-F369-4F7C-BF2A-C66603E84831}" -EndProject -Global - GlobalSection(SolutionConfigurationPlatforms) = preSolution - Debug|x64 = Debug|x64 - Release|x64 = Release|x64 - EndGlobalSection - GlobalSection(ProjectConfigurationPlatforms) = postSolution - {36D327EC-F369-4F7C-BF2A-C66603E84831}.Debug|x64.ActiveCfg = Debug|x64 - {36D327EC-F369-4F7C-BF2A-C66603E84831}.Debug|x64.Build.0 = Debug|x64 - {36D327EC-F369-4F7C-BF2A-C66603E84831}.Release|x64.ActiveCfg = Release|x64 - {36D327EC-F369-4F7C-BF2A-C66603E84831}.Release|x64.Build.0 = Release|x64 - EndGlobalSection - GlobalSection(SolutionProperties) = preSolution - HideSolutionNode = FALSE - EndGlobalSection -EndGlobal diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7300B/SDK7300bDbEvt/7300bint2.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7300B/SDK7300bDbEvt/7300bint2.suo deleted file mode 100644 index 2fd5ac1..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7300B/SDK7300bDbEvt/7300bint2.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7300B/SDK7300bDbEvt/7300bint2.vcproj b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7300B/SDK7300bDbEvt/7300bint2.vcproj deleted file mode 100644 index 2bdd80d..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7300B/SDK7300bDbEvt/7300bint2.vcproj +++ /dev/null @@ -1,286 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7300B/SDK7300bDbEvt/7300bint2Dlg.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7300B/SDK7300bDbEvt/7300bint2Dlg.cpp deleted file mode 100644 index bb42d59..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7300B/SDK7300bDbEvt/7300bint2Dlg.cpp +++ /dev/null @@ -1,343 +0,0 @@ - -// 7300bint2Dlg.cpp : implementation file -// - -#include "stdafx.h" -#include "7300bint2.h" -#include "7300bint2Dlg.h" -#include "SetupDlg.h" - -#ifdef _DEBUG -#define new DEBUG_NEW -#endif - -int gIntCount; -HANDLE ghIntEvent[2]; - -BOOLEAN gbExitThread; - -DWORD WINAPI IntThread( LPVOID lpParam ) -{ - while (gbExitThread == FALSE) - { - if (WaitForSingleObject(ghIntEvent[0], INFINITE) == WAIT_OBJECT_0) - { - gIntCount++; - } - } - - return (DWORD) 0; -} - - -// CAboutDlg dialog used for App About - -class CAboutDlg : public CDialog -{ -public: - CAboutDlg(); - -// Dialog Data - enum { IDD = IDD_ABOUTBOX }; - - protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - -// Implementation -protected: - DECLARE_MESSAGE_MAP() -}; - -CAboutDlg::CAboutDlg() : CDialog(CAboutDlg::IDD) -{ -} - -void CAboutDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); -} - -BEGIN_MESSAGE_MAP(CAboutDlg, CDialog) -END_MESSAGE_MAP() - - -// CMy7300bint2Dlg dialog - - - - -CMy7300bint2Dlg::CMy7300bint2Dlg(CWnd* pParent /*=NULL*/) - : CDialog(CMy7300bint2Dlg::IDD, pParent) - , m_nCardIdx(-1) - , m_nSampleCount(-1) - , m_nSampleRate(-1) - , m_hCard(-1) - , m_hThread(NULL) -{ - m_hIcon = AfxGetApp()->LoadIcon(IDR_MAINFRAME); - m_nC1=10; m_nC2=10; - - ghIntEvent[0] = ghIntEvent[1] = NULL; - -} - -void CMy7300bint2Dlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); -} - -BEGIN_MESSAGE_MAP(CMy7300bint2Dlg, CDialog) - ON_WM_SYSCOMMAND() - ON_WM_PAINT() - ON_WM_QUERYDRAGICON() - //}}AFX_MSG_MAP - ON_WM_CTLCOLOR() - ON_BN_CLICKED(IDC_BT_SETUP, &CMy7300bint2Dlg::OnBnClickedBtSetup) - ON_WM_DESTROY() - ON_BN_CLICKED(IDC_BT_TRIGGER, &CMy7300bint2Dlg::OnBnClickedBtTrigger) -END_MESSAGE_MAP() - - -// CMy7300bint2Dlg message handlers - -BOOL CMy7300bint2Dlg::OnInitDialog() -{ - CDialog::OnInitDialog(); - - // Add "About..." menu item to system menu. - - // IDM_ABOUTBOX must be in the system command range. - ASSERT((IDM_ABOUTBOX & 0xFFF0) == IDM_ABOUTBOX); - ASSERT(IDM_ABOUTBOX < 0xF000); - - CMenu* pSysMenu = GetSystemMenu(FALSE); - if (pSysMenu != NULL) - { - BOOL bNameValid; - CString strAboutMenu; - bNameValid = strAboutMenu.LoadString(IDS_ABOUTBOX); - ASSERT(bNameValid); - if (!strAboutMenu.IsEmpty()) - { - pSysMenu->AppendMenu(MF_SEPARATOR); - pSysMenu->AppendMenu(MF_STRING, IDM_ABOUTBOX, strAboutMenu); - } - } - - // Set the icon for this dialog. The framework does this automatically - // when the application's main window is not a dialog - SetIcon(m_hIcon, TRUE); // Set big icon - SetIcon(m_hIcon, FALSE); // Set small icon - - // TODO: Add extra initialization here - - return TRUE; // return TRUE unless you set the focus to a control -} - -void CMy7300bint2Dlg::OnSysCommand(UINT nID, LPARAM lParam) -{ - if ((nID & 0xFFF0) == IDM_ABOUTBOX) - { - CAboutDlg dlgAbout; - dlgAbout.DoModal(); - } - else - { - CDialog::OnSysCommand(nID, lParam); - } -} - -// If you add a minimize button to your dialog, you will need the code below -// to draw the icon. For MFC applications using the document/view model, -// this is automatically done for you by the framework. - -void CMy7300bint2Dlg::OnPaint() -{ - if (IsIconic()) - { - CPaintDC dc(this); // device context for painting - - SendMessage(WM_ICONERASEBKGND, reinterpret_cast(dc.GetSafeHdc()), 0); - - // Center icon in client rectangle - int cxIcon = GetSystemMetrics(SM_CXICON); - int cyIcon = GetSystemMetrics(SM_CYICON); - CRect rect; - GetClientRect(&rect); - int x = (rect.Width() - cxIcon + 1) / 2; - int y = (rect.Height() - cyIcon + 1) / 2; - - // Draw the icon - dc.DrawIcon(x, y, m_hIcon); - } - else - { - CDialog::OnPaint(); - } -} - -// The system calls this function to obtain the cursor to display while the user drags -// the minimized window. -HCURSOR CMy7300bint2Dlg::OnQueryDragIcon() -{ - return static_cast(m_hIcon); -} - - -HBRUSH CMy7300bint2Dlg::OnCtlColor(CDC* pDC, CWnd* pWnd, UINT nCtlColor) -{ - HBRUSH hbr = CDialog::OnCtlColor(pDC, pWnd, nCtlColor); - - // TODO: Change any attributes of the DC here - if ( pWnd->GetDlgCtrlID() == IDC_STATIC_04 ) - pDC->SetTextColor(RGB(255,0,0)); - - // TODO: Return a different brush if the default is not desired - return hbr; -} - -void CMy7300bint2Dlg::OnBnClickedBtSetup() -{ - // TODO: Add your control notification handler code here - CSetupDlg setupDlg; - INT_PTR nResponse; - CString strTemp; - - nResponse = setupDlg.DoModal(); - if (nResponse == IDOK) - { - if( m_nCardIdx != setupDlg.m_nCardIdx ) - { - if( m_hCard != -1 ) - { - Release_Card( m_hCard ); - m_hCard = -1; - } - - m_nCardIdx = setupDlg.m_nCardIdx; - } - - - if( m_hCard == -1 ) - { - if ((m_hCard = Register_Card(PCI_7300A_RevB, m_nCardIdx)) < 0) - { - strTemp.Format( TEXT("Register_Card Error = %d"), m_hCard); - AfxMessageBox( strTemp ); - - EndDialog(IDCANCEL); - return; - } - } - - m_nSampleCount = setupDlg.m_nSampleCount; - m_nSampleRate = setupDlg.m_nSampleRate; - - if(m_nSampleCount > 32768) - { - AfxMessageBox( TEXT("Count can be assigned at most 32768") ); - return; - } - - if (m_nSampleRate > 15000 ) m_nSampleRate=15000; - m_nC2=10000000/(m_nSampleRate); - - DIO_7300SetInterrupt(m_hCard, 1, 1, ghIntEvent); - - - - if(m_hThread == NULL ) - { - gbExitThread = FALSE; - m_hThread = CreateThread( NULL, // default security attributes - 0, // use default stack size - IntThread, // thread function name - NULL, // argument to thread function - 0, // use default creation flags - NULL); // returns the thread identifier - } - - GetDlgItem(IDC_BT_TRIGGER)->EnableWindow( TRUE ); - - - - } - else if (nResponse == IDCANCEL) - { - // TODO: Place code here to handle when the dialog is - // dismissed with Cancel - } -} - -void CMy7300bint2Dlg::OnDestroy() -{ - CDialog::OnDestroy(); - - // TODO: Add your message handler code here - int i; - - if( m_hThread != NULL ) - { - gbExitThread = TRUE; // termnate the IntThread - SetEvent( ghIntEvent[0] ); - - if (WaitForSingleObject(m_hThread, 5000) == WAIT_OBJECT_0) - { - CloseHandle( m_hThread ); - m_hThread = NULL; - } - } - - - if( m_hCard >= 0 ) - { - DIO_7300SetInterrupt(m_hCard, 0, 0, ghIntEvent); - - for (i=0; i<2; i++) - { - if(ghIntEvent[i]) - ResetEvent(ghIntEvent[i]); - } - - - Release_Card( m_hCard ); m_hCard = -1; - } - -} - -void CMy7300bint2Dlg::OnBnClickedBtTrigger() -{ - // TODO: Add your control notification handler code here - int i, k; - CString strTemp; - CString strLine1, strLine2, strLine3, strLine4, strLine5; - - CTR_Setup(m_hCard, 2, 2, m_nC2, BIN); - - k=0; i=0; - gIntCount = 0; - - while ( k < m_nSampleCount ) - { - if (WaitForSingleObject(ghIntEvent[1], 10000)== WAIT_OBJECT_0) - { - strTemp.Format( TEXT("INT2 Count = %d "), k+1); - SetDlgItemText( IDC_STATIC_06, strTemp ); - - //generate INT1 interrupt signal - strTemp.Format( TEXT("INT1 Count = %d "), gIntCount ); - SetDlgItemText( IDC_STATIC_05, strTemp ); - - k++; - } - else - { - AfxMessageBox( TEXT("****** It is too long to wait INT2 Event *****") ); - break; - } - - } - - CTR_Setup( m_hCard, 2, RATE_GENERATOR, 0, BIN); - -} diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7300B/SDK7300bDbEvt/7300bint2Dlg.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7300B/SDK7300bDbEvt/7300bint2Dlg.h deleted file mode 100644 index 77b06cc..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7300B/SDK7300bDbEvt/7300bint2Dlg.h +++ /dev/null @@ -1,46 +0,0 @@ - -// 7300bint2Dlg.h : header file -// -#include "Dask64.h" - -#pragma once - - -// CMy7300bint2Dlg dialog -class CMy7300bint2Dlg : public CDialog -{ -// Construction -public: - CMy7300bint2Dlg(CWnd* pParent = NULL); // standard constructor - -// Dialog Data - enum { IDD = IDD_MY7300BINT2_DIALOG }; - - protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - - -// Implementation -protected: - HICON m_hIcon; - int m_nCardIdx; - long m_nSampleCount; - long m_nSampleRate; - - I16 m_hCard; - int m_nC1; - int m_nC2; - HANDLE m_hThread; - - // Generated message map functions - virtual BOOL OnInitDialog(); - afx_msg void OnSysCommand(UINT nID, LPARAM lParam); - afx_msg void OnPaint(); - afx_msg HCURSOR OnQueryDragIcon(); - DECLARE_MESSAGE_MAP() -public: - afx_msg HBRUSH OnCtlColor(CDC* pDC, CWnd* pWnd, UINT nCtlColor); - afx_msg void OnBnClickedBtSetup(); - afx_msg void OnDestroy(); - afx_msg void OnBnClickedBtTrigger(); -}; diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7300B/SDK7300bDbEvt/7396int2.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7300B/SDK7300bDbEvt/7396int2.suo deleted file mode 100644 index c4036f2..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7300B/SDK7300bDbEvt/7396int2.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7300B/SDK7300bDbEvt/ReadMe.txt b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7300B/SDK7300bDbEvt/ReadMe.txt deleted file mode 100644 index 6af73ce..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7300B/SDK7300bDbEvt/ReadMe.txt +++ /dev/null @@ -1,93 +0,0 @@ -================================================================================ - MICROSOFT FOUNDATION CLASS LIBRARY : 7296int2 Project Overview -=============================================================================== - -The application wizard has created this 7296int2 application for -you. This application not only demonstrates the basics of using the Microsoft -Foundation Classes but is also a starting point for writing your application. - -This file contains a summary of what you will find in each of the files that -make up your 7296int2 application. - -7296int2.vcproj - This is the main project file for VC++ projects generated using an application wizard. - It contains information about the version of Visual C++ that generated the file, and - information about the platforms, configurations, and project features selected with the - application wizard. - -7296int2.h - This is the main header file for the application. It includes other - project specific headers (including Resource.h) and declares the - CMy7296int2App application class. - -7296int2.cpp - This is the main application source file that contains the application - class CMy7296int2App. - -7296int2.rc - This is a listing of all of the Microsoft Windows resources that the - program uses. It includes the icons, bitmaps, and cursors that are stored - in the RES subdirectory. This file can be directly edited in Microsoft - Visual C++. Your project resources are in 1033. - -res\7296int2.ico - This is an icon file, which is used as the application's icon. This - icon is included by the main resource file 7296int2.rc. - -res\My7296int2.rc2 - This file contains resources that are not edited by Microsoft - Visual C++. You should place all resources not editable by - the resource editor in this file. - - -///////////////////////////////////////////////////////////////////////////// - -The application wizard creates one dialog class: - -7296int2Dlg.h, 7296int2Dlg.cpp - the dialog - These files contain your CMy7296int2Dlg class. This class defines - the behavior of your application's main dialog. The dialog's template is - in 7296int2.rc, which can be edited in Microsoft Visual C++. - - -///////////////////////////////////////////////////////////////////////////// - -Other Features: - -ActiveX Controls - The application includes support to use ActiveX controls. - -///////////////////////////////////////////////////////////////////////////// - -Other standard files: - -StdAfx.h, StdAfx.cpp - These files are used to build a precompiled header (PCH) file - named 7296int2.pch and a precompiled types file named StdAfx.obj. - -Resource.h - This is the standard header file, which defines new resource IDs. - Microsoft Visual C++ reads and updates this file. - -7296int2.manifest - Application manifest files are used by Windows XP to describe an applications - dependency on specific versions of Side-by-Side assemblies. The loader uses this - information to load the appropriate assembly from the assembly cache or private - from the application. The Application manifest maybe included for redistribution - as an external .manifest file that is installed in the same folder as the application - executable or it may be included in the executable in the form of a resource. -///////////////////////////////////////////////////////////////////////////// - -Other notes: - -The application wizard uses "TODO:" to indicate parts of the source code you -should add to or customize. - -If your application uses MFC in a shared DLL, you will need -to redistribute the MFC DLLs. If your application is in a language -other than the operating system's locale, you will also have to -redistribute the corresponding localized resources MFC90XXX.DLL. -For more information on both of these topics, please see the section on -redistributing Visual C++ applications in MSDN documentation. - -///////////////////////////////////////////////////////////////////////////// diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7300B/SDK7300bDbEvt/SetupDlg.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7300B/SDK7300bDbEvt/SetupDlg.cpp deleted file mode 100644 index 9030148..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7300B/SDK7300bDbEvt/SetupDlg.cpp +++ /dev/null @@ -1,63 +0,0 @@ -// SetupDlg.cpp : implementation file -// - -#include "stdafx.h" -#include "7300bint2.h" -#include "SetupDlg.h" - - -// CSetupDlg dialog - -IMPLEMENT_DYNAMIC(CSetupDlg, CDialog) - -CSetupDlg::CSetupDlg(CWnd* pParent /*=NULL*/) - : CDialog(CSetupDlg::IDD, pParent) - , m_nSampleCount(40) - , m_nSampleRate(10000) -{ - -} - -CSetupDlg::~CSetupDlg() -{ -} - -void CSetupDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); - DDX_Control(pDX, IDC_COMBO_CARDNO, m_cbCardID); - DDX_Text(pDX, IDC_EDIT_COUNT, m_nSampleCount); - DDX_Text(pDX, IDC_EDIT_RATE, m_nSampleRate); - DDV_MinMaxLong(pDX, m_nSampleCount, 0, 32768); - DDV_MinMaxLong(pDX, m_nSampleRate, 0, 15000); -} - - -BEGIN_MESSAGE_MAP(CSetupDlg, CDialog) - ON_CBN_SELCHANGE(IDC_COMBO_CARDNO, &CSetupDlg::OnCardNoSelchange) -// ON_EN_CHANGE(IDC_EDIT_COUNT, &CSetupDlg::OnEnChangeEditCount) -END_MESSAGE_MAP() - - -// CSetupDlg message handlers - -BOOL CSetupDlg::OnInitDialog() -{ - CDialog::OnInitDialog(); - - // TODO: Add extra initialization here - m_cbCardID.SetCurSel(0); - m_nCardIdx = 0; - - - return TRUE; // return TRUE unless you set the focus to a control - // EXCEPTION: OCX Property Pages should return FALSE -} - -void CSetupDlg::OnCardNoSelchange() -{ - // TODO: Add your control notification handler code here - m_nCardIdx = m_cbCardID.GetCurSel(); - -} - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7300B/SDK7300bDbEvt/SetupDlg.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7300B/SDK7300bDbEvt/SetupDlg.h deleted file mode 100644 index 7b42abf..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7300B/SDK7300bDbEvt/SetupDlg.h +++ /dev/null @@ -1,30 +0,0 @@ -#pragma once -#include "afxwin.h" - - -// CSetupDlg dialog - -class CSetupDlg : public CDialog -{ - DECLARE_DYNAMIC(CSetupDlg) - -public: - CSetupDlg(CWnd* pParent = NULL); // standard constructor - virtual ~CSetupDlg(); - -// Dialog Data - enum { IDD = IDD_DIALOG_SETUP }; - -protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - - DECLARE_MESSAGE_MAP() -public: - CComboBox m_cbCardID; - virtual BOOL OnInitDialog(); - long m_nSampleCount; - long m_nSampleRate; - int m_nCardIdx; - afx_msg void OnCardNoSelchange(); -// afx_msg void OnEnChangeEditCount(); -}; diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7300B/SDK7300bDbEvt/res/7300bint2.ico b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7300B/SDK7300bDbEvt/res/7300bint2.ico deleted file mode 100644 index d56fbcd..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7300B/SDK7300bDbEvt/res/7300bint2.ico and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7300B/SDK7300bDbEvt/res/My7300bint2.rc2 b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7300B/SDK7300bDbEvt/res/My7300bint2.rc2 deleted file mode 100644 index 1b53e51..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7300B/SDK7300bDbEvt/res/My7300bint2.rc2 +++ /dev/null @@ -1,13 +0,0 @@ -// -// My7296int2.RC2 - resources Microsoft Visual C++ does not edit directly -// - -#ifdef APSTUDIO_INVOKED -#error this file is not editable by Microsoft Visual C++ -#endif //APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// Add manually edited resources here... - -///////////////////////////////////////////////////////////////////////////// diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7300B/SDK7300bDbEvt/resource.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7300B/SDK7300bDbEvt/resource.h deleted file mode 100644 index d1edacc..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7300B/SDK7300bDbEvt/resource.h +++ /dev/null @@ -1,35 +0,0 @@ -//{{NO_DEPENDENCIES}} -// Microsoft Visual C++ generated include file. -// Used by 7300bint2.rc -// -#define IDM_ABOUTBOX 0x0010 -#define IDD_ABOUTBOX 100 -#define IDS_ABOUTBOX 101 -#define IDD_MY7300BINT2_DIALOG 102 -#define IDR_MAINFRAME 128 -#define IDD_DIALOG_SETUP 129 -#define IDC_BT_SETUP 1000 -#define IDC_BT_TRIGGER 1001 -#define IDC_STATIC_04 1002 -#define IDC_COMBO_CARDNO 1003 -#define IDC_EDIT_COUNT 1004 -#define IDC_EDIT_RATE 1005 -#define IDC_STATIC_07 1005 -#define IDC_STATIC_05 1006 -#define IDC_STATIC_06 1007 -#define IDC_STATIC_LINE1 1008 -#define IDC_STATIC_LINE2 1009 -#define IDC_STATIC_LINE3 1010 -#define IDC_STATIC_LINE4 1011 -#define IDC_STATIC_LINE5 1012 - -// Next default values for new objects -// -#ifdef APSTUDIO_INVOKED -#ifndef APSTUDIO_READONLY_SYMBOLS -#define _APS_NEXT_RESOURCE_VALUE 131 -#define _APS_NEXT_COMMAND_VALUE 32771 -#define _APS_NEXT_CONTROL_VALUE 1009 -#define _APS_NEXT_SYMED_VALUE 101 -#endif -#endif diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7300B/SDK7300bDbEvt/stdafx.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7300B/SDK7300bDbEvt/stdafx.cpp deleted file mode 100644 index 69e1884..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7300B/SDK7300bDbEvt/stdafx.cpp +++ /dev/null @@ -1,8 +0,0 @@ - -// stdafx.cpp : source file that includes just the standard includes -// 7300bint2.pch will be the pre-compiled header -// stdafx.obj will contain the pre-compiled type information - -#include "stdafx.h" - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7300B/SDK7300bDbEvt/stdafx.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7300B/SDK7300bDbEvt/stdafx.h deleted file mode 100644 index 12123e2..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7300B/SDK7300bDbEvt/stdafx.h +++ /dev/null @@ -1,60 +0,0 @@ - -// stdafx.h : include file for standard system include files, -// or project specific include files that are used frequently, -// but are changed infrequently - -#pragma once - -#ifndef _SECURE_ATL -#define _SECURE_ATL 1 -#endif - -#ifndef VC_EXTRALEAN -#define VC_EXTRALEAN // Exclude rarely-used stuff from Windows headers -#endif - -#include "targetver.h" - -#define _ATL_CSTRING_EXPLICIT_CONSTRUCTORS // some CString constructors will be explicit - -// turns off MFC's hiding of some common and often safely ignored warning messages -#define _AFX_ALL_WARNINGS - -#include // MFC core and standard components -#include // MFC extensions - - -#include // MFC Automation classes - - - -#ifndef _AFX_NO_OLE_SUPPORT -#include // MFC support for Internet Explorer 4 Common Controls -#endif -#ifndef _AFX_NO_AFXCMN_SUPPORT -#include // MFC support for Windows Common Controls -#endif // _AFX_NO_AFXCMN_SUPPORT - -#include // MFC support for ribbons and control bars - - - - - - - - - -#ifdef _UNICODE -#if defined _M_IX86 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='x86' publicKeyToken='6595b64144ccf1df' language='*'\"") -#elif defined _M_IA64 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='ia64' publicKeyToken='6595b64144ccf1df' language='*'\"") -#elif defined _M_X64 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='amd64' publicKeyToken='6595b64144ccf1df' language='*'\"") -#else -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='*' publicKeyToken='6595b64144ccf1df' language='*'\"") -#endif -#endif - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7300B/SDK7300bDbEvt/targetver.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7300B/SDK7300bDbEvt/targetver.h deleted file mode 100644 index 11730d5..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7300B/SDK7300bDbEvt/targetver.h +++ /dev/null @@ -1,26 +0,0 @@ - -#pragma once - -// The following macros define the minimum required platform. The minimum required platform -// is the earliest version of Windows, Internet Explorer etc. that has the necessary features to run -// your application. The macros work by enabling all features available on platform versions up to and -// including the version specified. - -// Modify the following defines if you have to target a platform prior to the ones specified below. -// Refer to MSDN for the latest info on corresponding values for different platforms. -#ifndef WINVER // Specifies that the minimum required platform is Windows Vista. -#define WINVER 0x0600 // Change this to the appropriate value to target other versions of Windows. -#endif - -#ifndef _WIN32_WINNT // Specifies that the minimum required platform is Windows Vista. -#define _WIN32_WINNT 0x0600 // Change this to the appropriate value to target other versions of Windows. -#endif - -#ifndef _WIN32_WINDOWS // Specifies that the minimum required platform is Windows 98. -#define _WIN32_WINDOWS 0x0410 // Change this to the appropriate value to target Windows Me or later. -#endif - -#ifndef _WIN32_IE // Specifies that the minimum required platform is Internet Explorer 7.0. -#define _WIN32_IE 0x0700 // Change this to the appropriate value to target other versions of IE. -#endif - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7300B/SDK7300bDmaCallBack/7200Wav.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7300B/SDK7300bDmaCallBack/7200Wav.suo deleted file mode 100644 index bc032e1..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7300B/SDK7300bDmaCallBack/7200Wav.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7300B/SDK7300bDmaCallBack/7300bWav.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7300B/SDK7300bDmaCallBack/7300bWav.cpp deleted file mode 100644 index fe8c9ef..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7300B/SDK7300bDmaCallBack/7300bWav.cpp +++ /dev/null @@ -1,110 +0,0 @@ - -// 7300bWav.cpp : Defines the class behaviors for the application. -// - -#include "stdafx.h" -#include "7300bWav.h" -#include "7300bWavDlg.h" -#include "CardIDDlg.h" - -#ifdef _DEBUG -#define new DEBUG_NEW -#endif - - -// C7300bWavApp - -BEGIN_MESSAGE_MAP(C7300bWavApp, CWinAppEx) - ON_COMMAND(ID_HELP, &CWinApp::OnHelp) -END_MESSAGE_MAP() - - -// C7300bWavApp construction - -C7300bWavApp::C7300bWavApp() -{ - // TODO: add construction code here, - // Place all significant initialization in InitInstance -} - - -// The one and only C7300bWavApp object - -C7300bWavApp theApp; - - -// C7300bWavApp initialization - -BOOL C7300bWavApp::InitInstance() -{ - int nCardID = 0; - I16 hCard; - CString strTemp; - INT_PTR nResponse; - - // InitCommonControlsEx() is required on Windows XP if an application - // manifest specifies use of ComCtl32.dll version 6 or later to enable - // visual styles. Otherwise, any window creation will fail. - INITCOMMONCONTROLSEX InitCtrls; - InitCtrls.dwSize = sizeof(InitCtrls); - // Set this to include all the common control classes you want to use - // in your application. - InitCtrls.dwICC = ICC_WIN95_CLASSES; - InitCommonControlsEx(&InitCtrls); - - CWinAppEx::InitInstance(); - - AfxEnableControlContainer(); - - // Standard initialization - // If you are not using these features and wish to reduce the size - // of your final executable, you should remove from the following - // the specific initialization routines you do not need - // Change the registry key under which our settings are stored - // TODO: You should modify this string to be something appropriate - // such as the name of your company or organization - SetRegistryKey(_T("Local AppWizard-Generated Applications")); - - CCardIDDlg CardDlg( nCardID ); - - nResponse = CardDlg.DoModal(); - if (nResponse == IDOK) - { - nCardID = CardDlg.GetCardID(); - - if ((hCard=Register_Card(PCI_7300A_RevB, nCardID)) < 0) - { - strTemp.Format( TEXT("Register_Card Error = %d"), hCard); - AfxMessageBox( strTemp ); - } - else - { - C7300bWavDlg dlg(hCard); - m_pMainWnd = &dlg; - nResponse = dlg.DoModal(); - if (nResponse == IDOK) - { - // TODO: Place code here to handle when the dialog is - // dismissed with OK - } - else if (nResponse == IDCANCEL) - { - // TODO: Place code here to handle when the dialog is - // dismissed with Cancel - } - - if (hCard >= 0) Release_Card(hCard); - } - - } - else if (nResponse == IDCANCEL) - { - // TODO: Place code here to handle when the dialog is - // dismissed with Cancel - } - - - // Since the dialog has been closed, return FALSE so that we exit the - // application, rather than start the application's message pump. - return FALSE; -} diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7300B/SDK7300bDmaCallBack/7300bWav.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7300B/SDK7300bDmaCallBack/7300bWav.h deleted file mode 100644 index 4fe0c56..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7300B/SDK7300bDmaCallBack/7300bWav.h +++ /dev/null @@ -1,32 +0,0 @@ - -// 7300bWav.h : main header file for the PROJECT_NAME application -// - -#pragma once - -#ifndef __AFXWIN_H__ - #error "include 'stdafx.h' before including this file for PCH" -#endif - -#include "resource.h" // main symbols - - -// C7300bWavApp: -// See 7300bWav.cpp for the implementation of this class -// - -class C7300bWavApp : public CWinAppEx -{ -public: - C7300bWavApp(); - -// Overrides - public: - virtual BOOL InitInstance(); - -// Implementation - - DECLARE_MESSAGE_MAP() -}; - -extern C7300bWavApp theApp; \ No newline at end of file diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7300B/SDK7300bDmaCallBack/7300bWav.rc b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7300B/SDK7300bDmaCallBack/7300bWav.rc deleted file mode 100644 index ae48faa..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7300B/SDK7300bDmaCallBack/7300bWav.rc +++ /dev/null @@ -1,279 +0,0 @@ -// Microsoft Visual C++ generated resource script. -// -#include "resource.h" - -#define APSTUDIO_READONLY_SYMBOLS -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 2 resource. -// -#ifndef APSTUDIO_INVOKED -#include "targetver.h" -#endif -#include "afxres.h" - -///////////////////////////////////////////////////////////////////////////// -#undef APSTUDIO_READONLY_SYMBOLS - -///////////////////////////////////////////////////////////////////////////// -// Chinese (Taiwan) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_CHT) -#ifdef _WIN32 -LANGUAGE LANG_CHINESE, SUBLANG_CHINESE_TRADITIONAL -#pragma code_page(950) -#endif //_WIN32 - -#ifdef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// TEXTINCLUDE -// - -1 TEXTINCLUDE -BEGIN - "resource.h\0" -END - -2 TEXTINCLUDE -BEGIN - "#ifndef APSTUDIO_INVOKED\r\n" - "#include ""targetver.h""\r\n" - "#endif\r\n" - "#include ""afxres.h""\r\n" - "\0" -END - -3 TEXTINCLUDE -BEGIN - "#define _AFX_NO_SPLITTER_RESOURCES\r\n" - "#define _AFX_NO_OLE_RESOURCES\r\n" - "#define _AFX_NO_TRACKER_RESOURCES\r\n" - "#define _AFX_NO_PROPERTY_RESOURCES\r\n" - "\r\n" - "#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)\r\n" - "LANGUAGE 9, 1\r\n" - "#pragma code_page(1252)\r\n" - "#include ""res\\My7300bWav.rc2"" // non-Microsoft Visual C++ edited resources\r\n" - "#include ""afxres.rc"" // Standard components\r\n" - "#endif\r\n" - "\0" -END - -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// Icon -// - -// Icon with lowest ID value placed first to ensure application icon -// remains consistent on all systems. -IDR_MAINFRAME ICON "res\\7300bWav.ico" -#endif // Chinese (Taiwan) resources -///////////////////////////////////////////////////////////////////////////// - - -///////////////////////////////////////////////////////////////////////////// -// English (U.S.) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -#ifdef _WIN32 -LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US -#pragma code_page(1252) -#endif //_WIN32 - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog -// - -IDD_ABOUTBOX DIALOGEX 0, 0, 170, 62 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "About 7300bWav" -FONT 8, "MS Shell Dlg", 0, 0, 0x1 -BEGIN - ICON IDR_MAINFRAME,IDC_STATIC,14,14,21,20 - LTEXT "7300bWav, Version 1.0",IDC_STATIC,42,14,114,8,SS_NOPREFIX - LTEXT "Copyright (C) 2010",IDC_STATIC,42,26,114,8 - DEFPUSHBUTTON "OK",IDOK,113,41,50,14,WS_GROUP -END - -IDD_MY7300bWav_DIALOG DIALOGEX 0, 0, 376, 199 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU -EXSTYLE WS_EX_APPWINDOW -CAPTION "PCI-7300A Rev.B DMA" -FONT 8, "MS Shell Dlg", 0, 0, 0x1 -BEGIN - GROUPBOX "",IDC_STATIC_DRAW,71,30,293,138,NOT WS_VISIBLE - EDITTEXT IDC_EDIT_SAMPLE,230,176,51,12,ES_AUTOHSCROLL - LTEXT "DI Samples :",IDC_STATIC,181,177,45,9 - PUSHBUTTON "Start",IDC_BT_START,315,174,48,17 - LTEXT "The configuration is set as DI16DO16. This sample performs DMA DI is 10MHz and DMA DO in 5MHz rate simultaneously. The output data is a sine wave. The input data is shown in panel below.",IDC_STATIC,13,9,343,20 -END - -IDD_CARDID_DIALOG DIALOGEX 0, 0, 170, 89 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "Card ID" -FONT 8, "MS Shell Dlg", 400, 0, 0x1 -BEGIN - COMBOBOX IDC_COMBO_CARDID,75,17,71,126,CBS_DROPDOWN | WS_VSCROLL | WS_TABSTOP - LTEXT "Card Number",IDC_STATIC_01,21,18,46,12 - PUSHBUTTON "OK",IDOK,22,50,58,19 - PUSHBUTTON "CANCEL",IDCANCEL,86,50,58,19 -END - - -///////////////////////////////////////////////////////////////////////////// -// -// Version -// - -VS_VERSION_INFO VERSIONINFO - FILEVERSION 1,0,0,1 - PRODUCTVERSION 1,0,0,1 - FILEFLAGSMASK 0x3fL -#ifdef _DEBUG - FILEFLAGS 0x1L -#else - FILEFLAGS 0x0L -#endif - FILEOS 0x4L - FILETYPE 0x1L - FILESUBTYPE 0x0L -BEGIN - BLOCK "StringFileInfo" - BEGIN - BLOCK "040904e4" - BEGIN - VALUE "CompanyName", "TODO: " - VALUE "FileDescription", "TODO: " - VALUE "FileVersion", "1.0.0.1" - VALUE "InternalName", "7300bWav.exe" - VALUE "LegalCopyright", "TODO: (c) . All rights reserved." - VALUE "OriginalFilename", "7300bWav.exe" - VALUE "ProductName", "TODO: " - VALUE "ProductVersion", "1.0.0.1" - END - END - BLOCK "VarFileInfo" - BEGIN - VALUE "Translation", 0x409, 1252 - END -END - - -///////////////////////////////////////////////////////////////////////////// -// -// DESIGNINFO -// - -#ifdef APSTUDIO_INVOKED -GUIDELINES DESIGNINFO -BEGIN - IDD_ABOUTBOX, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 163 - TOPMARGIN, 7 - BOTTOMMARGIN, 55 - END - - IDD_MY7300bWav_DIALOG, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 369 - TOPMARGIN, 7 - BOTTOMMARGIN, 192 - END - - IDD_CARDID_DIALOG, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 163 - TOPMARGIN, 7 - BOTTOMMARGIN, 82 - END -END -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog Info -// - -IDD_CARDID_DIALOG DLGINIT -BEGIN - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0030, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0031, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0032, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0033, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0034, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0035, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0036, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0037, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0038, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0039, - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3031, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3131, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3231, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3331, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3431, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3531, "\000" - 0 -END - - -///////////////////////////////////////////////////////////////////////////// -// -// String Table -// - -STRINGTABLE -BEGIN - IDS_ABOUTBOX "&About 7300bWav..." -END - -#endif // English (U.S.) resources -///////////////////////////////////////////////////////////////////////////// - - - -#ifndef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 3 resource. -// -#define _AFX_NO_SPLITTER_RESOURCES -#define _AFX_NO_OLE_RESOURCES -#define _AFX_NO_TRACKER_RESOURCES -#define _AFX_NO_PROPERTY_RESOURCES - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -LANGUAGE 9, 1 -#pragma code_page(1252) -#include "res\My7300bWav.rc2" // non-Microsoft Visual C++ edited resources -#include "afxres.rc" // Standard components -#endif - -///////////////////////////////////////////////////////////////////////////// -#endif // not APSTUDIO_INVOKED - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7300B/SDK7300bDmaCallBack/7300bWav.sln b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7300B/SDK7300bDmaCallBack/7300bWav.sln deleted file mode 100644 index 839b04c..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7300B/SDK7300bDmaCallBack/7300bWav.sln +++ /dev/null @@ -1,20 +0,0 @@ - -Microsoft Visual Studio Solution File, Format Version 10.00 -# Visual Studio 2008 -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "7300bWav", "7300bWav.vcproj", "{EBDB6610-7CE5-413C-A150-121068BFDB22}" -EndProject -Global - GlobalSection(SolutionConfigurationPlatforms) = preSolution - Debug|x64 = Debug|x64 - Release|x64 = Release|x64 - EndGlobalSection - GlobalSection(ProjectConfigurationPlatforms) = postSolution - {EBDB6610-7CE5-413C-A150-121068BFDB22}.Debug|x64.ActiveCfg = Debug|x64 - {EBDB6610-7CE5-413C-A150-121068BFDB22}.Debug|x64.Build.0 = Debug|x64 - {EBDB6610-7CE5-413C-A150-121068BFDB22}.Release|x64.ActiveCfg = Release|x64 - {EBDB6610-7CE5-413C-A150-121068BFDB22}.Release|x64.Build.0 = Release|x64 - EndGlobalSection - GlobalSection(SolutionProperties) = preSolution - HideSolutionNode = FALSE - EndGlobalSection -EndGlobal diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7300B/SDK7300bDmaCallBack/7300bWav.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7300B/SDK7300bDmaCallBack/7300bWav.suo deleted file mode 100644 index 3db6fb9..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7300B/SDK7300bDmaCallBack/7300bWav.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7300B/SDK7300bDmaCallBack/7300bWav.vcproj b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7300B/SDK7300bDmaCallBack/7300bWav.vcproj deleted file mode 100644 index 28502ba..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7300B/SDK7300bDmaCallBack/7300bWav.vcproj +++ /dev/null @@ -1,286 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7300B/SDK7300bDmaCallBack/7300bWavDlg.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7300B/SDK7300bDmaCallBack/7300bWavDlg.cpp deleted file mode 100644 index 868affe..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7300B/SDK7300bDmaCallBack/7300bWavDlg.cpp +++ /dev/null @@ -1,444 +0,0 @@ - -// 7300bWavDlg.cpp : implementation file -// - -#include "stdafx.h" -#include "7300bWav.h" -#include "7300bWavDlg.h" -#include "math.h" - -#ifndef M_PI -#define M_PI 3.14159265359 -#endif - -#define MAX_SIZE 1024000 //in words - -#ifdef _DEBUG -#define new DEBUG_NEW -#endif - -CRect plotRect; -I16 g_hCard; - -U16 gInBuf[MAX_SIZE], gOutBuf[MAX_SIZE]; - -void DI_CallBack() -{ - U32 access_cnt; - C7300bWavApp* pMyApp; - C7300bWavDlg* pMyDlg; - - DI_AsyncClear(g_hCard, &access_cnt); - - pMyApp = (C7300bWavApp*)AfxGetApp(); - pMyDlg = (C7300bWavDlg*)(pMyApp->m_pMainWnd); - - pMyDlg->display_buffer_data( gInBuf ); - pMyDlg->GetDlgItem(IDC_BT_START)->EnableWindow( TRUE ); - -} - -void DO_CallBack() -{ - U32 access_cnt; - - DO_AsyncClear(g_hCard, &access_cnt); - -} - - - -// CAboutDlg dialog used for App About - -class CAboutDlg : public CDialog -{ -public: - CAboutDlg(); - -// Dialog Data - enum { IDD = IDD_ABOUTBOX }; - - protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - -// Implementation -protected: - DECLARE_MESSAGE_MAP() -}; - -CAboutDlg::CAboutDlg() : CDialog(CAboutDlg::IDD) -{ -} - -void CAboutDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); -} - -BEGIN_MESSAGE_MAP(CAboutDlg, CDialog) -END_MESSAGE_MAP() - - -// C7300bWavDlg dialog - - - - -C7300bWavDlg::C7300bWavDlg(I16 hCard, CWnd* pParent /*=NULL*/) - : CDialog(C7300bWavDlg::IDD, pParent) -{ - m_hIcon = AfxGetApp()->LoadIcon(IDR_MAINFRAME); - - g_hCard = hCard; - - OnBrush = OffBrush = NULL; - - n_PlotWidth = -1; - n_PlotHeight = -1; - - min_val = 0x00; - max_val = 0xFFFF; - - m_dwDISamples = 100000; - -} - -void C7300bWavDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); -} - -BEGIN_MESSAGE_MAP(C7300bWavDlg, CDialog) - ON_WM_SYSCOMMAND() - ON_WM_PAINT() - ON_WM_QUERYDRAGICON() - //}}AFX_MSG_MAP - ON_WM_DESTROY() - ON_BN_CLICKED(IDC_BT_START, &C7300bWavDlg::OnStart) -END_MESSAGE_MAP() - - -// C7300bWavDlg message handlers - -BOOL C7300bWavDlg::OnInitDialog() -{ - I16 err; - int i; - CString strTemp; - - CDialog::OnInitDialog(); - - // Add "About..." menu item to system menu. - - // IDM_ABOUTBOX must be in the system command range. - ASSERT((IDM_ABOUTBOX & 0xFFF0) == IDM_ABOUTBOX); - ASSERT(IDM_ABOUTBOX < 0xF000); - - CMenu* pSysMenu = GetSystemMenu(FALSE); - if (pSysMenu != NULL) - { - BOOL bNameValid; - CString strAboutMenu; - bNameValid = strAboutMenu.LoadString(IDS_ABOUTBOX); - ASSERT(bNameValid); - if (!strAboutMenu.IsEmpty()) - { - pSysMenu->AppendMenu(MF_SEPARATOR); - pSysMenu->AppendMenu(MF_STRING, IDM_ABOUTBOX, strAboutMenu); - } - } - - // Set the icon for this dialog. The framework does this automatically - // when the application's main window is not a dialog - SetIcon(m_hIcon, TRUE); // Set big icon - SetIcon(m_hIcon, FALSE); // Set small icon - - // TODO: Add extra initialization here - x_divider = 5; y_divider = 2; - - OnBrush = CreateSolidBrush( RGB(255,0,0) ); - OffBrush = CreateSolidBrush( RGB(125,0,0) ); - - RedPen.CreatePen( PS_SOLID, 1, RGB(255,0,0)); - GreenPen.CreatePen( PS_SOLID, 1, RGB(0,255,0)); - - if( n_PlotWidth == -1 && n_PlotHeight == -1 ) - { - ((CWnd*)GetDlgItem(IDC_STATIC_DRAW))->GetWindowRect(&plotRect); - ScreenToClient(&plotRect); - - n_PlotWidth = min( plotRect.Width(), 512); - n_PlotHeight = plotRect.Height() - 10; - } - - - // Set the default DI Sample - SetDlgItemInt( IDC_EDIT_SAMPLE, (UINT)(m_dwDISamples) ); - - err = DI_7300B_Config(g_hCard, 16, TRIG_CLK_10MHZ, P7300_WAIT_NO, P7300_TERM_ON, 0, 1, 1); - if (err != 0) - { - strTemp.Format( TEXT("DI_7300B_Config Error = %d, card=%d"), err, g_hCard); - AfxMessageBox( strTemp ); - return TRUE; - } - - err = DO_7300B_Config (g_hCard, 16, TRIG_INT_PACER, P7300_WAIT_NO, P7300_TERM_ON, 0, 0x40004000); - if (err != 0) - { - strTemp.Format( TEXT("DO_7300B_Config Error = %d, card=%d"), err, g_hCard); - AfxMessageBox( strTemp ); - return TRUE; - } - - for (i=0; i(dc.GetSafeHdc()), 0); - - // Center icon in client rectangle - int cxIcon = GetSystemMetrics(SM_CXICON); - int cyIcon = GetSystemMetrics(SM_CYICON); - CRect rect; - GetClientRect(&rect); - int x = (rect.Width() - cxIcon + 1) / 2; - int y = (rect.Height() - cyIcon + 1) / 2; - - // Draw the icon - dc.DrawIcon(x, y, m_hIcon); - } - else - { - redraw_display_area(); - CDialog::OnPaint(); - } -} - -// The system calls this function to obtain the cursor to display while the user drags -// the minimized window. -HCURSOR C7300bWavDlg::OnQueryDragIcon() -{ - return static_cast(m_hIcon); -} - - -void C7300bWavDlg::OnDestroy() -{ - U32 count; - - CDialog::OnDestroy(); - - // TODO: Add your message handler code here - if( OnBrush != NULL ) - ::DeleteObject( OnBrush ); - - if( OffBrush != NULL ) - ::DeleteObject( OffBrush ); - - RedPen.DeleteObject(); - GreenPen.DeleteObject(); - - DI_EventCallBack_x64 (g_hCard, 0, DIEnd, (ULONG_PTR) 0 ); - DO_EventCallBack_x64 (g_hCard, 0, DOEnd, (ULONG_PTR) 0 ); - - DI_AsyncClear( g_hCard, &count ); - DO_AsyncClear( g_hCard, &count ); -} - -void C7300bWavDlg::OnStart() -{ - // TODO: Add your control notification handler code here - U32 dwDISamples; - I16 err; - CString strMsg; - - dwDISamples = GetDlgItemInt( IDC_EDIT_SAMPLE ); - - if( dwDISamples > MAX_SIZE) - { - m_dwDISamples = MAX_SIZE; //at most 1000K samples DMA - AfxMessageBox(TEXT("This sample supports at most 1000K words DMA transfer\nOnly perform 100K words DMA transfer.")); - } - else - m_dwDISamples = dwDISamples; - - DI_EventCallBack_x64 (g_hCard, 1, DIEnd, (ULONG_PTR) DI_CallBack ); - DO_EventCallBack_x64 (g_hCard, 1, DOEnd, (ULONG_PTR) DO_CallBack ); - - err = DI_ContReadPort (g_hCard, 0, gInBuf, m_dwDISamples, 1, ASYNCH_OP); - if (err < 0) - { - strMsg.Format(TEXT("DI_ContReadPort Error = %d"), err); - AfxMessageBox( strMsg ); - return; - } - - err = DO_ContWritePort (g_hCard, 0, gOutBuf, m_dwDISamples, 1, 5000000, ASYNCH_OP); - if (err < 0) - { - strMsg.Format(TEXT("DO_ContWritePort Error = %d"), err); - AfxMessageBox( strMsg ); - return; - } - - // clear display area - redraw_display_area(); - - GetDlgItem( IDC_BT_START )->EnableWindow( FALSE ); - -} - - -void C7300bWavDlg::display_buffer_data(U16* pBuf) -{ - CClientDC dc_plot(this); - int nDraw_Bottom; - - int newY, oldY = -1; - int newX, oldX = -1; - U32 index, di_data; - - nDraw_Bottom = ( plotRect.bottom - 5 ); - dc_plot.SelectObject( &GreenPen ); - - for( index=0; index // MFC core and standard components -#include // MFC extensions - - -#include // MFC Automation classes - - - -#ifndef _AFX_NO_OLE_SUPPORT -#include // MFC support for Internet Explorer 4 Common Controls -#endif -#ifndef _AFX_NO_AFXCMN_SUPPORT -#include // MFC support for Windows Common Controls -#endif // _AFX_NO_AFXCMN_SUPPORT - -#include // MFC support for ribbons and control bars - - - - - - - - - -#ifdef _UNICODE -#if defined _M_IX86 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='x86' publicKeyToken='6595b64144ccf1df' language='*'\"") -#elif defined _M_IA64 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='ia64' publicKeyToken='6595b64144ccf1df' language='*'\"") -#elif defined _M_X64 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='amd64' publicKeyToken='6595b64144ccf1df' language='*'\"") -#else -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='*' publicKeyToken='6595b64144ccf1df' language='*'\"") -#endif -#endif - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7300B/SDK7300bDmaCallBack/targetver.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7300B/SDK7300bDmaCallBack/targetver.h deleted file mode 100644 index 11730d5..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7300B/SDK7300bDmaCallBack/targetver.h +++ /dev/null @@ -1,26 +0,0 @@ - -#pragma once - -// The following macros define the minimum required platform. The minimum required platform -// is the earliest version of Windows, Internet Explorer etc. that has the necessary features to run -// your application. The macros work by enabling all features available on platform versions up to and -// including the version specified. - -// Modify the following defines if you have to target a platform prior to the ones specified below. -// Refer to MSDN for the latest info on corresponding values for different platforms. -#ifndef WINVER // Specifies that the minimum required platform is Windows Vista. -#define WINVER 0x0600 // Change this to the appropriate value to target other versions of Windows. -#endif - -#ifndef _WIN32_WINNT // Specifies that the minimum required platform is Windows Vista. -#define _WIN32_WINNT 0x0600 // Change this to the appropriate value to target other versions of Windows. -#endif - -#ifndef _WIN32_WINDOWS // Specifies that the minimum required platform is Windows 98. -#define _WIN32_WINDOWS 0x0410 // Change this to the appropriate value to target Windows Me or later. -#endif - -#ifndef _WIN32_IE // Specifies that the minimum required platform is Internet Explorer 7.0. -#define _WIN32_IE 0x0700 // Change this to the appropriate value to target other versions of IE. -#endif - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7300B/SDK7300bInt/7296Int.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7300B/SDK7300bInt/7296Int.suo deleted file mode 100644 index ca544ed..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7300B/SDK7300bInt/7296Int.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7300B/SDK7300bInt/7300bInt.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7300B/SDK7300bInt/7300bInt.cpp deleted file mode 100644 index 6ed230b..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7300B/SDK7300bInt/7300bInt.cpp +++ /dev/null @@ -1,79 +0,0 @@ - -// 7300bInt.cpp : Defines the class behaviors for the application. -// - -#include "stdafx.h" -#include "7300bInt.h" -#include "7300bIntDlg.h" - -#ifdef _DEBUG -#define new DEBUG_NEW -#endif - - -// C7300bIntApp - -BEGIN_MESSAGE_MAP(C7300bIntApp, CWinAppEx) - ON_COMMAND(ID_HELP, &CWinApp::OnHelp) -END_MESSAGE_MAP() - - -// C7300bIntApp construction - -C7300bIntApp::C7300bIntApp() -{ - // TODO: add construction code here, - // Place all significant initialization in InitInstance -} - - -// The one and only C7300bIntApp object - -C7300bIntApp theApp; - - -// C7300bIntApp initialization - -BOOL C7300bIntApp::InitInstance() -{ - // InitCommonControlsEx() is required on Windows XP if an application - // manifest specifies use of ComCtl32.dll version 6 or later to enable - // visual styles. Otherwise, any window creation will fail. - INITCOMMONCONTROLSEX InitCtrls; - InitCtrls.dwSize = sizeof(InitCtrls); - // Set this to include all the common control classes you want to use - // in your application. - InitCtrls.dwICC = ICC_WIN95_CLASSES; - InitCommonControlsEx(&InitCtrls); - - CWinAppEx::InitInstance(); - - AfxEnableControlContainer(); - - // Standard initialization - // If you are not using these features and wish to reduce the size - // of your final executable, you should remove from the following - // the specific initialization routines you do not need - // Change the registry key under which our settings are stored - // TODO: You should modify this string to be something appropriate - // such as the name of your company or organization - SetRegistryKey(_T("Local AppWizard-Generated Applications")); - - C7300bIntDlg dlg; - m_pMainWnd = &dlg; - INT_PTR nResponse = dlg.DoModal(); - if (nResponse == IDOK) - { - // TODO: Place code here to handle when the dialog is - // dismissed with OK - } - else if (nResponse == IDCANCEL) - { - // TODO: Place code here to handle when the dialog is - // dismissed with Cancel - } - - // Since the dialog has been closed, return FALSE so that we exit the - // application, rather than start the application's message pump. - return FALSE; -} diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7300B/SDK7300bInt/7300bInt.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7300B/SDK7300bInt/7300bInt.h deleted file mode 100644 index 334a79a..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7300B/SDK7300bInt/7300bInt.h +++ /dev/null @@ -1,32 +0,0 @@ - -// 7300bInt.h : main header file for the PROJECT_NAME application -// - -#pragma once - -#ifndef __AFXWIN_H__ - #error "include 'stdafx.h' before including this file for PCH" -#endif - -#include "resource.h" // main symbols - - -// C7300bIntApp: -// See 7300bInt.cpp for the implementation of this class -// - -class C7300bIntApp : public CWinAppEx -{ -public: - C7300bIntApp(); - -// Overrides - public: - virtual BOOL InitInstance(); - -// Implementation - - DECLARE_MESSAGE_MAP() -}; - -extern C7300bIntApp theApp; \ No newline at end of file diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7300B/SDK7300bInt/7300bInt.rc b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7300B/SDK7300bInt/7300bInt.rc deleted file mode 100644 index 1cb79ad..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7300B/SDK7300bInt/7300bInt.rc +++ /dev/null @@ -1,276 +0,0 @@ -// Microsoft Visual C++ generated resource script. -// -#include "resource.h" - -#define APSTUDIO_READONLY_SYMBOLS -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 2 resource. -// -#ifndef APSTUDIO_INVOKED -#include "targetver.h" -#endif -#include "afxres.h" - -///////////////////////////////////////////////////////////////////////////// -#undef APSTUDIO_READONLY_SYMBOLS - -///////////////////////////////////////////////////////////////////////////// -// Chinese (Taiwan) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_CHT) -#ifdef _WIN32 -LANGUAGE LANG_CHINESE, SUBLANG_CHINESE_TRADITIONAL -#pragma code_page(950) -#endif //_WIN32 - -#ifdef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// TEXTINCLUDE -// - -1 TEXTINCLUDE -BEGIN - "resource.h\0" -END - -2 TEXTINCLUDE -BEGIN - "#ifndef APSTUDIO_INVOKED\r\n" - "#include ""targetver.h""\r\n" - "#endif\r\n" - "#include ""afxres.h""\r\n" - "\0" -END - -3 TEXTINCLUDE -BEGIN - "#define _AFX_NO_SPLITTER_RESOURCES\r\n" - "#define _AFX_NO_OLE_RESOURCES\r\n" - "#define _AFX_NO_TRACKER_RESOURCES\r\n" - "#define _AFX_NO_PROPERTY_RESOURCES\r\n" - "\r\n" - "#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)\r\n" - "LANGUAGE 9, 1\r\n" - "#pragma code_page(1252)\r\n" - "#include ""res\\My7300bInt.rc2"" // non-Microsoft Visual C++ edited resources\r\n" - "#include ""afxres.rc"" // Standard components\r\n" - "#endif\r\n" - "\0" -END - -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// Icon -// - -// Icon with lowest ID value placed first to ensure application icon -// remains consistent on all systems. -IDR_MAINFRAME ICON "res\\7300bInt.ico" -#endif // Chinese (Taiwan) resources -///////////////////////////////////////////////////////////////////////////// - - -///////////////////////////////////////////////////////////////////////////// -// English (U.S.) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -#ifdef _WIN32 -LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US -#pragma code_page(1252) -#endif //_WIN32 - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog -// - -IDD_ABOUTBOX DIALOGEX 0, 0, 170, 62 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "About 7300bInt" -FONT 8, "MS Shell Dlg", 0, 0, 0x1 -BEGIN - ICON IDR_MAINFRAME,IDC_STATIC,14,14,21,20 - LTEXT "7300bInt, Version 1.0",IDC_STATIC,42,14,114,8,SS_NOPREFIX - LTEXT "Copyright (C) 2010",IDC_STATIC,42,26,114,8 - DEFPUSHBUTTON "OK",IDOK,113,41,50,14,WS_GROUP -END - -IDD_MY7300BINT_DIALOG DIALOGEX 0, 0, 271, 89 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU -EXSTYLE WS_EX_APPWINDOW -CAPTION "7396 Interrupt Sample" -FONT 8, "MS Shell Dlg", 0, 0, 0x1 -BEGIN - PUSHBUTTON "Exit",IDCANCEL,163,7,50,14 - PUSHBUTTON "Setup",IDC_BT_SETUP,7,7,53,14 - PUSHBUTTON "Interrupt Trigger",IDC_BT_TRIGGER,61,7,102,14,WS_DISABLED - LTEXT "The interrupt signals are generated by internal Timer2 Output.",IDC_STATIC,7,26,206,9 - LTEXT "Click 'Setup' button first ...",IDC_STATIC_04,7,39,125,11 - LTEXT "Count = ",IDC_STATIC_06,6,63,85,10 -END - -IDD_DIALOG_SETUP DIALOGEX 0, 0, 201, 114 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "Setup Dialog" -FONT 8, "MS Shell Dlg", 400, 0, 0x1 -BEGIN - DEFPUSHBUTTON "OK",IDOK,48,84,50,14 - PUSHBUTTON "Cancel",IDCANCEL,105,84,50,14 - LTEXT "Card Number : ",IDC_STATIC,19,19,53,14 - LTEXT "Total Count : ",IDC_STATIC,19,39,53,14 - LTEXT "Sampling Rate : ",IDC_STATIC,19,57,53,14 - COMBOBOX IDC_COMBO_CARDNO,79,17,86,13,CBS_DROPDOWN | WS_VSCROLL | WS_TABSTOP - EDITTEXT IDC_EDIT_COUNT,79,36,85,14,ES_AUTOHSCROLL | ES_NUMBER - EDITTEXT IDC_EDIT_RATE,79,55,85,14,ES_AUTOHSCROLL | ES_NUMBER -END - - -///////////////////////////////////////////////////////////////////////////// -// -// Version -// - -VS_VERSION_INFO VERSIONINFO - FILEVERSION 1,0,0,1 - PRODUCTVERSION 1,0,0,1 - FILEFLAGSMASK 0x3fL -#ifdef _DEBUG - FILEFLAGS 0x1L -#else - FILEFLAGS 0x0L -#endif - FILEOS 0x4L - FILETYPE 0x1L - FILESUBTYPE 0x0L -BEGIN - BLOCK "StringFileInfo" - BEGIN - BLOCK "040904e4" - BEGIN - VALUE "CompanyName", "TODO: " - VALUE "FileDescription", "TODO: " - VALUE "FileVersion", "1.0.0.1" - VALUE "InternalName", "7300bInt.exe" - VALUE "LegalCopyright", "TODO: (c) . All rights reserved." - VALUE "OriginalFilename", "7300bInt.exe" - VALUE "ProductName", "TODO: " - VALUE "ProductVersion", "1.0.0.1" - END - END - BLOCK "VarFileInfo" - BEGIN - VALUE "Translation", 0x409, 1252 - END -END - - -///////////////////////////////////////////////////////////////////////////// -// -// DESIGNINFO -// - -#ifdef APSTUDIO_INVOKED -GUIDELINES DESIGNINFO -BEGIN - IDD_ABOUTBOX, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 163 - TOPMARGIN, 7 - BOTTOMMARGIN, 55 - END - - IDD_DIALOG_SETUP, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 194 - TOPMARGIN, 7 - BOTTOMMARGIN, 107 - END -END -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog Info -// - -IDD_DIALOG_SETUP DLGINIT -BEGIN - IDC_COMBO_CARDNO, 0x403, 2, 0 -0x0030, - IDC_COMBO_CARDNO, 0x403, 2, 0 -0x0031, - IDC_COMBO_CARDNO, 0x403, 2, 0 -0x0032, - IDC_COMBO_CARDNO, 0x403, 2, 0 -0x0033, - IDC_COMBO_CARDNO, 0x403, 2, 0 -0x0034, - IDC_COMBO_CARDNO, 0x403, 2, 0 -0x0035, - IDC_COMBO_CARDNO, 0x403, 2, 0 -0x0036, - IDC_COMBO_CARDNO, 0x403, 2, 0 -0x0037, - IDC_COMBO_CARDNO, 0x403, 2, 0 -0x0038, - IDC_COMBO_CARDNO, 0x403, 2, 0 -0x0039, - IDC_COMBO_CARDNO, 0x403, 3, 0 -0x3031, "\000" - IDC_COMBO_CARDNO, 0x403, 3, 0 -0x3131, "\000" - IDC_COMBO_CARDNO, 0x403, 3, 0 -0x3231, "\000" - IDC_COMBO_CARDNO, 0x403, 3, 0 -0x3331, "\000" - IDC_COMBO_CARDNO, 0x403, 3, 0 -0x3431, "\000" - IDC_COMBO_CARDNO, 0x403, 3, 0 -0x3531, "\000" - 0 -END - - -///////////////////////////////////////////////////////////////////////////// -// -// String Table -// - -STRINGTABLE -BEGIN - IDS_ABOUTBOX "&About 7300bInt..." -END - -#endif // English (U.S.) resources -///////////////////////////////////////////////////////////////////////////// - - - -#ifndef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 3 resource. -// -#define _AFX_NO_SPLITTER_RESOURCES -#define _AFX_NO_OLE_RESOURCES -#define _AFX_NO_TRACKER_RESOURCES -#define _AFX_NO_PROPERTY_RESOURCES - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -LANGUAGE 9, 1 -#pragma code_page(1252) -#include "res\My7300bInt.rc2" // non-Microsoft Visual C++ edited resources -#include "afxres.rc" // Standard components -#endif - -///////////////////////////////////////////////////////////////////////////// -#endif // not APSTUDIO_INVOKED - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7300B/SDK7300bInt/7300bInt.sln b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7300B/SDK7300bInt/7300bInt.sln deleted file mode 100644 index 7fa101e..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7300B/SDK7300bInt/7300bInt.sln +++ /dev/null @@ -1,20 +0,0 @@ - -Microsoft Visual Studio Solution File, Format Version 10.00 -# Visual Studio 2008 -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "7300bInt", "7300bInt.vcproj", "{03CC0712-9928-4AC4-9A68-06B8B735AB32}" -EndProject -Global - GlobalSection(SolutionConfigurationPlatforms) = preSolution - Debug|x64 = Debug|x64 - Release|x64 = Release|x64 - EndGlobalSection - GlobalSection(ProjectConfigurationPlatforms) = postSolution - {03CC0712-9928-4AC4-9A68-06B8B735AB32}.Debug|x64.ActiveCfg = Debug|x64 - {03CC0712-9928-4AC4-9A68-06B8B735AB32}.Debug|x64.Build.0 = Debug|x64 - {03CC0712-9928-4AC4-9A68-06B8B735AB32}.Release|x64.ActiveCfg = Release|x64 - {03CC0712-9928-4AC4-9A68-06B8B735AB32}.Release|x64.Build.0 = Release|x64 - EndGlobalSection - GlobalSection(SolutionProperties) = preSolution - HideSolutionNode = FALSE - EndGlobalSection -EndGlobal diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7300B/SDK7300bInt/7300bInt.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7300B/SDK7300bInt/7300bInt.suo deleted file mode 100644 index 90fb343..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7300B/SDK7300bInt/7300bInt.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7300B/SDK7300bInt/7300bInt.vcproj b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7300B/SDK7300bInt/7300bInt.vcproj deleted file mode 100644 index ac5bc24..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7300B/SDK7300bInt/7300bInt.vcproj +++ /dev/null @@ -1,287 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7300B/SDK7300bInt/7300bIntDlg.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7300B/SDK7300bInt/7300bIntDlg.cpp deleted file mode 100644 index 3c68bca..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7300B/SDK7300bInt/7300bIntDlg.cpp +++ /dev/null @@ -1,285 +0,0 @@ - -// 7300bIntDlg.cpp : implementation file -// - -#include "stdafx.h" -#include "7300bInt.h" -#include "7300bIntDlg.h" -#include "SetupDlg.h" - - -#ifdef _DEBUG -#define new DEBUG_NEW -#endif - -HANDLE ghIntEvent[2]; - -// CAboutDlg dialog used for App About - -class CAboutDlg : public CDialog -{ -public: - CAboutDlg(); - -// Dialog Data - enum { IDD = IDD_ABOUTBOX }; - - protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - -// Implementation -protected: - DECLARE_MESSAGE_MAP() -}; - -CAboutDlg::CAboutDlg() : CDialog(CAboutDlg::IDD) -{ -} - -void CAboutDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); -} - -BEGIN_MESSAGE_MAP(CAboutDlg, CDialog) -END_MESSAGE_MAP() - - -// C7300bIntDlg dialog - - - - -C7300bIntDlg::C7300bIntDlg(CWnd* pParent /*=NULL*/) - : CDialog(C7300bIntDlg::IDD, pParent) - , m_nCardIdx(-1) - , m_nSampleCount(-1) - , m_nSampleRate(-1) - , m_hCard(-1) -{ - m_hIcon = AfxGetApp()->LoadIcon(IDR_MAINFRAME); - m_nC1=10; m_nC2=10; -} - -void C7300bIntDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); -} - -BEGIN_MESSAGE_MAP(C7300bIntDlg, CDialog) - ON_WM_SYSCOMMAND() - ON_WM_PAINT() - ON_WM_QUERYDRAGICON() - //}}AFX_MSG_MAP -// ON_STN_CLICKED(IDC_STATIC_07, &C7300bIntDlg::OnStnClickedStatic07) -ON_WM_DESTROY() -ON_BN_CLICKED(IDC_BT_SETUP, &C7300bIntDlg::OnSetup) -ON_BN_CLICKED(IDC_BT_TRIGGER, &C7300bIntDlg::OnTrigger) -ON_WM_CTLCOLOR() -END_MESSAGE_MAP() - - -// C7300bIntDlg message handlers - -BOOL C7300bIntDlg::OnInitDialog() -{ - CDialog::OnInitDialog(); - - // Add "About..." menu item to system menu. - - // IDM_ABOUTBOX must be in the system command range. - ASSERT((IDM_ABOUTBOX & 0xFFF0) == IDM_ABOUTBOX); - ASSERT(IDM_ABOUTBOX < 0xF000); - - CMenu* pSysMenu = GetSystemMenu(FALSE); - if (pSysMenu != NULL) - { - BOOL bNameValid; - CString strAboutMenu; - bNameValid = strAboutMenu.LoadString(IDS_ABOUTBOX); - ASSERT(bNameValid); - if (!strAboutMenu.IsEmpty()) - { - pSysMenu->AppendMenu(MF_SEPARATOR); - pSysMenu->AppendMenu(MF_STRING, IDM_ABOUTBOX, strAboutMenu); - } - } - - // Set the icon for this dialog. The framework does this automatically - // when the application's main window is not a dialog - SetIcon(m_hIcon, TRUE); // Set big icon - SetIcon(m_hIcon, FALSE); // Set small icon - - // TODO: Add extra initialization here - - return TRUE; // return TRUE unless you set the focus to a control -} - -void C7300bIntDlg::OnSysCommand(UINT nID, LPARAM lParam) -{ - if ((nID & 0xFFF0) == IDM_ABOUTBOX) - { - CAboutDlg dlgAbout; - dlgAbout.DoModal(); - } - else - { - CDialog::OnSysCommand(nID, lParam); - } -} - -// If you add a minimize button to your dialog, you will need the code below -// to draw the icon. For MFC applications using the document/view model, -// this is automatically done for you by the framework. - -void C7300bIntDlg::OnPaint() -{ - if (IsIconic()) - { - CPaintDC dc(this); // device context for painting - - SendMessage(WM_ICONERASEBKGND, reinterpret_cast(dc.GetSafeHdc()), 0); - - // Center icon in client rectangle - int cxIcon = GetSystemMetrics(SM_CXICON); - int cyIcon = GetSystemMetrics(SM_CYICON); - CRect rect; - GetClientRect(&rect); - int x = (rect.Width() - cxIcon + 1) / 2; - int y = (rect.Height() - cyIcon + 1) / 2; - - // Draw the icon - dc.DrawIcon(x, y, m_hIcon); - } - else - { - CDialog::OnPaint(); - } -} - -// The system calls this function to obtain the cursor to display while the user drags -// the minimized window. -HCURSOR C7300bIntDlg::OnQueryDragIcon() -{ - return static_cast(m_hIcon); -} - -void C7300bIntDlg::OnDestroy() -{ - CDialog::OnDestroy(); - - // TODO: Add your message handler code here - int i; - - if( m_hCard >= 0 ) - { - DIO_SetDualInterrupt(m_hCard, INT1_DISABLE, INT2_DISABLE, ghIntEvent); - - for (i=0; i<2; i++) - { - if(ghIntEvent[i]) - ResetEvent(ghIntEvent[i]); - } - - - Release_Card( m_hCard ); m_hCard = -1; - } -} - -void C7300bIntDlg::OnSetup() -{ - // TODO: Add your control notification handler code here - CSetupDlg setupDlg; - INT_PTR nResponse; - CString strTemp; - - nResponse = setupDlg.DoModal(); - if (nResponse == IDOK) - { - if( m_nCardIdx != setupDlg.m_nCardIdx ) - { - if( m_hCard != -1 ) - { - Release_Card( m_hCard ); - m_hCard = -1; - } - - m_nCardIdx = setupDlg.m_nCardIdx; - } - - - if( m_hCard == -1 ) - { - if ((m_hCard = Register_Card(PCI_7300A_RevB, m_nCardIdx)) < 0) - { - strTemp.Format( TEXT("Register_Card Error = %d"), m_hCard); - AfxMessageBox( strTemp ); - - EndDialog(IDCANCEL); - return; - } - } - - m_nSampleCount = setupDlg.m_nSampleCount; - m_nSampleRate = setupDlg.m_nSampleRate; - - if (m_nSampleCount > 32768) - { - AfxMessageBox( TEXT("Count can be assigned at most 32768") ); - return; - } - - if (m_nSampleRate > 15000 ) m_nSampleRate=15000; - m_nC2 = 10000000/(m_nSampleRate); - - DIO_7300SetInterrupt (m_hCard, 0, 1, ghIntEvent); - CTR_Setup (m_hCard, 2, 2, m_nC2, BIN); - - GetDlgItem(IDC_BT_TRIGGER)->EnableWindow( TRUE ); - - } - else if (nResponse == IDCANCEL) - { - // TODO: Place code here to handle when the dialog is - // dismissed with Cancel - } -} - -void C7300bIntDlg::OnTrigger() -{ - // TODO: Add your control notification handler code here - int i, k; - CString strTemp; - CString strLine1, strLine2, strLine3, strLine4, strLine5; - - CTR_Setup(m_hCard, 1, RATE_GENERATOR, m_nC1, BIN); - CTR_Setup(m_hCard, 2, RATE_GENERATOR, m_nC2, BIN); - - k=0; i=0; - - while ( k < m_nSampleCount ) - { - if (WaitForSingleObject(ghIntEvent[1], 4000) == WAIT_OBJECT_0) - { - strTemp.Format( TEXT("Count = %d "), k+1); - SetDlgItemText( IDC_STATIC_06, strTemp ); - k++; - } - } - - DIO_SetDualInterrupt( m_hCard, 0, 0, ghIntEvent); - CTR_Setup ( m_hCard, 2, RATE_GENERATOR, 0, BIN); - -} - -HBRUSH C7300bIntDlg::OnCtlColor(CDC* pDC, CWnd* pWnd, UINT nCtlColor) -{ - HBRUSH hbr = CDialog::OnCtlColor(pDC, pWnd, nCtlColor); - - // TODO: Change any attributes of the DC here - if ( pWnd->GetDlgCtrlID() == IDC_STATIC_04 ) - pDC->SetTextColor(RGB(255,0,0)); - - // TODO: Return a different brush if the default is not desired - return hbr; -} diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7300B/SDK7300bInt/7300bIntDlg.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7300B/SDK7300bInt/7300bIntDlg.h deleted file mode 100644 index 1d2d88a..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7300B/SDK7300bInt/7300bIntDlg.h +++ /dev/null @@ -1,47 +0,0 @@ - -// 7300bIntDlg.h : header file -// - -#include "Dask64.h" - -#pragma once - - -// C7300bIntDlg dialog -class C7300bIntDlg : public CDialog -{ -// Construction -public: - C7300bIntDlg(CWnd* pParent = NULL); // standard constructor - -// Dialog Data - enum { IDD = IDD_MY7300BINT_DIALOG }; - - protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - - -// Implementation -protected: - HICON m_hIcon; - int m_nCardIdx; - long m_nSampleCount; - long m_nSampleRate; - - I16 m_hCard; - int m_nC1; - int m_nC2; - - // Generated message map functions - virtual BOOL OnInitDialog(); - afx_msg void OnSysCommand(UINT nID, LPARAM lParam); - afx_msg void OnPaint(); - afx_msg HCURSOR OnQueryDragIcon(); - DECLARE_MESSAGE_MAP() -public: -// afx_msg void OnStnClickedStatic07(); - afx_msg void OnDestroy(); - afx_msg void OnSetup(); - afx_msg void OnTrigger(); - afx_msg HBRUSH OnCtlColor(CDC* pDC, CWnd* pWnd, UINT nCtlColor); -}; diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7300B/SDK7300bInt/7396Int.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7300B/SDK7300bInt/7396Int.suo deleted file mode 100644 index 854d31c..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7300B/SDK7300bInt/7396Int.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7300B/SDK7300bInt/ReadMe.txt b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7300B/SDK7300bInt/ReadMe.txt deleted file mode 100644 index 7d743b1..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7300B/SDK7300bInt/ReadMe.txt +++ /dev/null @@ -1,93 +0,0 @@ -================================================================================ - MICROSOFT FOUNDATION CLASS LIBRARY : 7296Int Project Overview -=============================================================================== - -The application wizard has created this 7296Int application for -you. This application not only demonstrates the basics of using the Microsoft -Foundation Classes but is also a starting point for writing your application. - -This file contains a summary of what you will find in each of the files that -make up your 7296Int application. - -7296Int.vcproj - This is the main project file for VC++ projects generated using an application wizard. - It contains information about the version of Visual C++ that generated the file, and - information about the platforms, configurations, and project features selected with the - application wizard. - -7296Int.h - This is the main header file for the application. It includes other - project specific headers (including Resource.h) and declares the - C7296IntApp application class. - -7296Int.cpp - This is the main application source file that contains the application - class C7296IntApp. - -7296Int.rc - This is a listing of all of the Microsoft Windows resources that the - program uses. It includes the icons, bitmaps, and cursors that are stored - in the RES subdirectory. This file can be directly edited in Microsoft - Visual C++. Your project resources are in 1033. - -res\7296Int.ico - This is an icon file, which is used as the application's icon. This - icon is included by the main resource file 7296Int.rc. - -res\My7296Int.rc2 - This file contains resources that are not edited by Microsoft - Visual C++. You should place all resources not editable by - the resource editor in this file. - - -///////////////////////////////////////////////////////////////////////////// - -The application wizard creates one dialog class: - -7296IntDlg.h, 7296IntDlg.cpp - the dialog - These files contain your C7296IntDlg class. This class defines - the behavior of your application's main dialog. The dialog's template is - in 7296Int.rc, which can be edited in Microsoft Visual C++. - - -///////////////////////////////////////////////////////////////////////////// - -Other Features: - -ActiveX Controls - The application includes support to use ActiveX controls. - -///////////////////////////////////////////////////////////////////////////// - -Other standard files: - -StdAfx.h, StdAfx.cpp - These files are used to build a precompiled header (PCH) file - named 7296Int.pch and a precompiled types file named StdAfx.obj. - -Resource.h - This is the standard header file, which defines new resource IDs. - Microsoft Visual C++ reads and updates this file. - -7296Int.manifest - Application manifest files are used by Windows XP to describe an applications - dependency on specific versions of Side-by-Side assemblies. The loader uses this - information to load the appropriate assembly from the assembly cache or private - from the application. The Application manifest maybe included for redistribution - as an external .manifest file that is installed in the same folder as the application - executable or it may be included in the executable in the form of a resource. -///////////////////////////////////////////////////////////////////////////// - -Other notes: - -The application wizard uses "TODO:" to indicate parts of the source code you -should add to or customize. - -If your application uses MFC in a shared DLL, you will need -to redistribute the MFC DLLs. If your application is in a language -other than the operating system's locale, you will also have to -redistribute the corresponding localized resources MFC90XXX.DLL. -For more information on both of these topics, please see the section on -redistributing Visual C++ applications in MSDN documentation. - -///////////////////////////////////////////////////////////////////////////// diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7300B/SDK7300bInt/SetupDlg.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7300B/SDK7300bInt/SetupDlg.cpp deleted file mode 100644 index ab0abfa..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7300B/SDK7300bInt/SetupDlg.cpp +++ /dev/null @@ -1,63 +0,0 @@ -// SetupDlg.cpp : implementation file -// - -#include "stdafx.h" -#include "7300bInt.h" -#include "SetupDlg.h" - - -// CSetupDlg dialog - -IMPLEMENT_DYNAMIC(CSetupDlg, CDialog) - -CSetupDlg::CSetupDlg(CWnd* pParent /*=NULL*/) - : CDialog(CSetupDlg::IDD, pParent) - , m_nSampleCount(40) - , m_nSampleRate(5000) -{ - -} - -CSetupDlg::~CSetupDlg() -{ -} - -void CSetupDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); - DDX_Control(pDX, IDC_COMBO_CARDNO, m_cbCardID); - DDX_Text(pDX, IDC_EDIT_COUNT, m_nSampleCount); - DDX_Text(pDX, IDC_EDIT_RATE, m_nSampleRate); - DDV_MinMaxLong(pDX, m_nSampleCount, 0, 32768); - DDV_MinMaxLong(pDX, m_nSampleRate, 0, 15000); -} - - -BEGIN_MESSAGE_MAP(CSetupDlg, CDialog) - ON_CBN_SELCHANGE(IDC_COMBO_CARDNO, &CSetupDlg::OnCardNoSelchange) -// ON_EN_CHANGE(IDC_EDIT_COUNT, &CSetupDlg::OnEnChangeEditCount) -END_MESSAGE_MAP() - - -// CSetupDlg message handlers - -BOOL CSetupDlg::OnInitDialog() -{ - CDialog::OnInitDialog(); - - // TODO: Add extra initialization here - m_cbCardID.SetCurSel(0); - m_nCardIdx = 0; - - - return TRUE; // return TRUE unless you set the focus to a control - // EXCEPTION: OCX Property Pages should return FALSE -} - -void CSetupDlg::OnCardNoSelchange() -{ - // TODO: Add your control notification handler code here - m_nCardIdx = m_cbCardID.GetCurSel(); - -} - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7300B/SDK7300bInt/SetupDlg.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7300B/SDK7300bInt/SetupDlg.h deleted file mode 100644 index 7b42abf..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7300B/SDK7300bInt/SetupDlg.h +++ /dev/null @@ -1,30 +0,0 @@ -#pragma once -#include "afxwin.h" - - -// CSetupDlg dialog - -class CSetupDlg : public CDialog -{ - DECLARE_DYNAMIC(CSetupDlg) - -public: - CSetupDlg(CWnd* pParent = NULL); // standard constructor - virtual ~CSetupDlg(); - -// Dialog Data - enum { IDD = IDD_DIALOG_SETUP }; - -protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - - DECLARE_MESSAGE_MAP() -public: - CComboBox m_cbCardID; - virtual BOOL OnInitDialog(); - long m_nSampleCount; - long m_nSampleRate; - int m_nCardIdx; - afx_msg void OnCardNoSelchange(); -// afx_msg void OnEnChangeEditCount(); -}; diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7300B/SDK7300bInt/res/7300bInt.ico b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7300B/SDK7300bInt/res/7300bInt.ico deleted file mode 100644 index d56fbcd..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7300B/SDK7300bInt/res/7300bInt.ico and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7300B/SDK7300bInt/res/My7300bInt.rc2 b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7300B/SDK7300bInt/res/My7300bInt.rc2 deleted file mode 100644 index 4edfe6a..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7300B/SDK7300bInt/res/My7300bInt.rc2 +++ /dev/null @@ -1,13 +0,0 @@ -// -// My7296Int.RC2 - resources Microsoft Visual C++ does not edit directly -// - -#ifdef APSTUDIO_INVOKED -#error this file is not editable by Microsoft Visual C++ -#endif //APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// Add manually edited resources here... - -///////////////////////////////////////////////////////////////////////////// diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7300B/SDK7300bInt/resource.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7300B/SDK7300bInt/resource.h deleted file mode 100644 index a8e008c..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7300B/SDK7300bInt/resource.h +++ /dev/null @@ -1,35 +0,0 @@ -//{{NO_DEPENDENCIES}} -// Microsoft Visual C++ generated include file. -// Used by 7300bInt.rc -// -#define IDM_ABOUTBOX 0x0010 -#define IDD_ABOUTBOX 100 -#define IDS_ABOUTBOX 101 -#define IDD_MY7300BINT_DIALOG 102 -#define IDR_MAINFRAME 128 -#define IDD_DIALOG_SETUP 129 -#define IDC_BT_SETUP 1000 -#define IDC_BT_TRIGGER 1001 -#define IDC_STATIC_04 1002 -#define IDC_COMBO_CARDNO 1003 -#define IDC_EDIT_COUNT 1004 -#define IDC_STATIC_07 1005 -#define IDC_EDIT_RATE 1005 -#define IDC_STATIC_05 1006 -#define IDC_STATIC_06 1007 -#define IDC_STATIC_LINE1 1008 -#define IDC_STATIC_LINE2 1009 -#define IDC_STATIC_LINE3 1010 -#define IDC_STATIC_LINE4 1011 -#define IDC_STATIC_LINE5 1012 - -// Next default values for new objects -// -#ifdef APSTUDIO_INVOKED -#ifndef APSTUDIO_READONLY_SYMBOLS -#define _APS_NEXT_RESOURCE_VALUE 131 -#define _APS_NEXT_COMMAND_VALUE 32771 -#define _APS_NEXT_CONTROL_VALUE 1000 -#define _APS_NEXT_SYMED_VALUE 101 -#endif -#endif diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7300B/SDK7300bInt/stdafx.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7300B/SDK7300bInt/stdafx.cpp deleted file mode 100644 index 156b0ec..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7300B/SDK7300bInt/stdafx.cpp +++ /dev/null @@ -1,8 +0,0 @@ - -// stdafx.cpp : source file that includes just the standard includes -// 7300bInt.pch will be the pre-compiled header -// stdafx.obj will contain the pre-compiled type information - -#include "stdafx.h" - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7300B/SDK7300bInt/stdafx.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7300B/SDK7300bInt/stdafx.h deleted file mode 100644 index 12123e2..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7300B/SDK7300bInt/stdafx.h +++ /dev/null @@ -1,60 +0,0 @@ - -// stdafx.h : include file for standard system include files, -// or project specific include files that are used frequently, -// but are changed infrequently - -#pragma once - -#ifndef _SECURE_ATL -#define _SECURE_ATL 1 -#endif - -#ifndef VC_EXTRALEAN -#define VC_EXTRALEAN // Exclude rarely-used stuff from Windows headers -#endif - -#include "targetver.h" - -#define _ATL_CSTRING_EXPLICIT_CONSTRUCTORS // some CString constructors will be explicit - -// turns off MFC's hiding of some common and often safely ignored warning messages -#define _AFX_ALL_WARNINGS - -#include // MFC core and standard components -#include // MFC extensions - - -#include // MFC Automation classes - - - -#ifndef _AFX_NO_OLE_SUPPORT -#include // MFC support for Internet Explorer 4 Common Controls -#endif -#ifndef _AFX_NO_AFXCMN_SUPPORT -#include // MFC support for Windows Common Controls -#endif // _AFX_NO_AFXCMN_SUPPORT - -#include // MFC support for ribbons and control bars - - - - - - - - - -#ifdef _UNICODE -#if defined _M_IX86 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='x86' publicKeyToken='6595b64144ccf1df' language='*'\"") -#elif defined _M_IA64 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='ia64' publicKeyToken='6595b64144ccf1df' language='*'\"") -#elif defined _M_X64 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='amd64' publicKeyToken='6595b64144ccf1df' language='*'\"") -#else -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='*' publicKeyToken='6595b64144ccf1df' language='*'\"") -#endif -#endif - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7300B/SDK7300bInt/targetver.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7300B/SDK7300bInt/targetver.h deleted file mode 100644 index 11730d5..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7300B/SDK7300bInt/targetver.h +++ /dev/null @@ -1,26 +0,0 @@ - -#pragma once - -// The following macros define the minimum required platform. The minimum required platform -// is the earliest version of Windows, Internet Explorer etc. that has the necessary features to run -// your application. The macros work by enabling all features available on platform versions up to and -// including the version specified. - -// Modify the following defines if you have to target a platform prior to the ones specified below. -// Refer to MSDN for the latest info on corresponding values for different platforms. -#ifndef WINVER // Specifies that the minimum required platform is Windows Vista. -#define WINVER 0x0600 // Change this to the appropriate value to target other versions of Windows. -#endif - -#ifndef _WIN32_WINNT // Specifies that the minimum required platform is Windows Vista. -#define _WIN32_WINNT 0x0600 // Change this to the appropriate value to target other versions of Windows. -#endif - -#ifndef _WIN32_WINDOWS // Specifies that the minimum required platform is Windows 98. -#define _WIN32_WINDOWS 0x0410 // Change this to the appropriate value to target Windows Me or later. -#endif - -#ifndef _WIN32_IE // Specifies that the minimum required platform is Internet Explorer 7.0. -#define _WIN32_IE 0x0700 // Change this to the appropriate value to target other versions of IE. -#endif - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7300B/SDK7300bIntMsg/7296Int.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7300B/SDK7300bIntMsg/7296Int.suo deleted file mode 100644 index ca544ed..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7300B/SDK7300bIntMsg/7296Int.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7300B/SDK7300bIntMsg/7300bInt.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7300B/SDK7300bIntMsg/7300bInt.cpp deleted file mode 100644 index 6ed230b..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7300B/SDK7300bIntMsg/7300bInt.cpp +++ /dev/null @@ -1,79 +0,0 @@ - -// 7300bInt.cpp : Defines the class behaviors for the application. -// - -#include "stdafx.h" -#include "7300bInt.h" -#include "7300bIntDlg.h" - -#ifdef _DEBUG -#define new DEBUG_NEW -#endif - - -// C7300bIntApp - -BEGIN_MESSAGE_MAP(C7300bIntApp, CWinAppEx) - ON_COMMAND(ID_HELP, &CWinApp::OnHelp) -END_MESSAGE_MAP() - - -// C7300bIntApp construction - -C7300bIntApp::C7300bIntApp() -{ - // TODO: add construction code here, - // Place all significant initialization in InitInstance -} - - -// The one and only C7300bIntApp object - -C7300bIntApp theApp; - - -// C7300bIntApp initialization - -BOOL C7300bIntApp::InitInstance() -{ - // InitCommonControlsEx() is required on Windows XP if an application - // manifest specifies use of ComCtl32.dll version 6 or later to enable - // visual styles. Otherwise, any window creation will fail. - INITCOMMONCONTROLSEX InitCtrls; - InitCtrls.dwSize = sizeof(InitCtrls); - // Set this to include all the common control classes you want to use - // in your application. - InitCtrls.dwICC = ICC_WIN95_CLASSES; - InitCommonControlsEx(&InitCtrls); - - CWinAppEx::InitInstance(); - - AfxEnableControlContainer(); - - // Standard initialization - // If you are not using these features and wish to reduce the size - // of your final executable, you should remove from the following - // the specific initialization routines you do not need - // Change the registry key under which our settings are stored - // TODO: You should modify this string to be something appropriate - // such as the name of your company or organization - SetRegistryKey(_T("Local AppWizard-Generated Applications")); - - C7300bIntDlg dlg; - m_pMainWnd = &dlg; - INT_PTR nResponse = dlg.DoModal(); - if (nResponse == IDOK) - { - // TODO: Place code here to handle when the dialog is - // dismissed with OK - } - else if (nResponse == IDCANCEL) - { - // TODO: Place code here to handle when the dialog is - // dismissed with Cancel - } - - // Since the dialog has been closed, return FALSE so that we exit the - // application, rather than start the application's message pump. - return FALSE; -} diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7300B/SDK7300bIntMsg/7300bInt.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7300B/SDK7300bIntMsg/7300bInt.h deleted file mode 100644 index 334a79a..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7300B/SDK7300bIntMsg/7300bInt.h +++ /dev/null @@ -1,32 +0,0 @@ - -// 7300bInt.h : main header file for the PROJECT_NAME application -// - -#pragma once - -#ifndef __AFXWIN_H__ - #error "include 'stdafx.h' before including this file for PCH" -#endif - -#include "resource.h" // main symbols - - -// C7300bIntApp: -// See 7300bInt.cpp for the implementation of this class -// - -class C7300bIntApp : public CWinAppEx -{ -public: - C7300bIntApp(); - -// Overrides - public: - virtual BOOL InitInstance(); - -// Implementation - - DECLARE_MESSAGE_MAP() -}; - -extern C7300bIntApp theApp; \ No newline at end of file diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7300B/SDK7300bIntMsg/7300bInt.rc b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7300B/SDK7300bIntMsg/7300bInt.rc deleted file mode 100644 index 1cb79ad..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7300B/SDK7300bIntMsg/7300bInt.rc +++ /dev/null @@ -1,276 +0,0 @@ -// Microsoft Visual C++ generated resource script. -// -#include "resource.h" - -#define APSTUDIO_READONLY_SYMBOLS -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 2 resource. -// -#ifndef APSTUDIO_INVOKED -#include "targetver.h" -#endif -#include "afxres.h" - -///////////////////////////////////////////////////////////////////////////// -#undef APSTUDIO_READONLY_SYMBOLS - -///////////////////////////////////////////////////////////////////////////// -// Chinese (Taiwan) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_CHT) -#ifdef _WIN32 -LANGUAGE LANG_CHINESE, SUBLANG_CHINESE_TRADITIONAL -#pragma code_page(950) -#endif //_WIN32 - -#ifdef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// TEXTINCLUDE -// - -1 TEXTINCLUDE -BEGIN - "resource.h\0" -END - -2 TEXTINCLUDE -BEGIN - "#ifndef APSTUDIO_INVOKED\r\n" - "#include ""targetver.h""\r\n" - "#endif\r\n" - "#include ""afxres.h""\r\n" - "\0" -END - -3 TEXTINCLUDE -BEGIN - "#define _AFX_NO_SPLITTER_RESOURCES\r\n" - "#define _AFX_NO_OLE_RESOURCES\r\n" - "#define _AFX_NO_TRACKER_RESOURCES\r\n" - "#define _AFX_NO_PROPERTY_RESOURCES\r\n" - "\r\n" - "#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)\r\n" - "LANGUAGE 9, 1\r\n" - "#pragma code_page(1252)\r\n" - "#include ""res\\My7300bInt.rc2"" // non-Microsoft Visual C++ edited resources\r\n" - "#include ""afxres.rc"" // Standard components\r\n" - "#endif\r\n" - "\0" -END - -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// Icon -// - -// Icon with lowest ID value placed first to ensure application icon -// remains consistent on all systems. -IDR_MAINFRAME ICON "res\\7300bInt.ico" -#endif // Chinese (Taiwan) resources -///////////////////////////////////////////////////////////////////////////// - - -///////////////////////////////////////////////////////////////////////////// -// English (U.S.) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -#ifdef _WIN32 -LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US -#pragma code_page(1252) -#endif //_WIN32 - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog -// - -IDD_ABOUTBOX DIALOGEX 0, 0, 170, 62 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "About 7300bInt" -FONT 8, "MS Shell Dlg", 0, 0, 0x1 -BEGIN - ICON IDR_MAINFRAME,IDC_STATIC,14,14,21,20 - LTEXT "7300bInt, Version 1.0",IDC_STATIC,42,14,114,8,SS_NOPREFIX - LTEXT "Copyright (C) 2010",IDC_STATIC,42,26,114,8 - DEFPUSHBUTTON "OK",IDOK,113,41,50,14,WS_GROUP -END - -IDD_MY7300BINT_DIALOG DIALOGEX 0, 0, 271, 89 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU -EXSTYLE WS_EX_APPWINDOW -CAPTION "7396 Interrupt Sample" -FONT 8, "MS Shell Dlg", 0, 0, 0x1 -BEGIN - PUSHBUTTON "Exit",IDCANCEL,163,7,50,14 - PUSHBUTTON "Setup",IDC_BT_SETUP,7,7,53,14 - PUSHBUTTON "Interrupt Trigger",IDC_BT_TRIGGER,61,7,102,14,WS_DISABLED - LTEXT "The interrupt signals are generated by internal Timer2 Output.",IDC_STATIC,7,26,206,9 - LTEXT "Click 'Setup' button first ...",IDC_STATIC_04,7,39,125,11 - LTEXT "Count = ",IDC_STATIC_06,6,63,85,10 -END - -IDD_DIALOG_SETUP DIALOGEX 0, 0, 201, 114 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "Setup Dialog" -FONT 8, "MS Shell Dlg", 400, 0, 0x1 -BEGIN - DEFPUSHBUTTON "OK",IDOK,48,84,50,14 - PUSHBUTTON "Cancel",IDCANCEL,105,84,50,14 - LTEXT "Card Number : ",IDC_STATIC,19,19,53,14 - LTEXT "Total Count : ",IDC_STATIC,19,39,53,14 - LTEXT "Sampling Rate : ",IDC_STATIC,19,57,53,14 - COMBOBOX IDC_COMBO_CARDNO,79,17,86,13,CBS_DROPDOWN | WS_VSCROLL | WS_TABSTOP - EDITTEXT IDC_EDIT_COUNT,79,36,85,14,ES_AUTOHSCROLL | ES_NUMBER - EDITTEXT IDC_EDIT_RATE,79,55,85,14,ES_AUTOHSCROLL | ES_NUMBER -END - - -///////////////////////////////////////////////////////////////////////////// -// -// Version -// - -VS_VERSION_INFO VERSIONINFO - FILEVERSION 1,0,0,1 - PRODUCTVERSION 1,0,0,1 - FILEFLAGSMASK 0x3fL -#ifdef _DEBUG - FILEFLAGS 0x1L -#else - FILEFLAGS 0x0L -#endif - FILEOS 0x4L - FILETYPE 0x1L - FILESUBTYPE 0x0L -BEGIN - BLOCK "StringFileInfo" - BEGIN - BLOCK "040904e4" - BEGIN - VALUE "CompanyName", "TODO: " - VALUE "FileDescription", "TODO: " - VALUE "FileVersion", "1.0.0.1" - VALUE "InternalName", "7300bInt.exe" - VALUE "LegalCopyright", "TODO: (c) . All rights reserved." - VALUE "OriginalFilename", "7300bInt.exe" - VALUE "ProductName", "TODO: " - VALUE "ProductVersion", "1.0.0.1" - END - END - BLOCK "VarFileInfo" - BEGIN - VALUE "Translation", 0x409, 1252 - END -END - - -///////////////////////////////////////////////////////////////////////////// -// -// DESIGNINFO -// - -#ifdef APSTUDIO_INVOKED -GUIDELINES DESIGNINFO -BEGIN - IDD_ABOUTBOX, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 163 - TOPMARGIN, 7 - BOTTOMMARGIN, 55 - END - - IDD_DIALOG_SETUP, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 194 - TOPMARGIN, 7 - BOTTOMMARGIN, 107 - END -END -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog Info -// - -IDD_DIALOG_SETUP DLGINIT -BEGIN - IDC_COMBO_CARDNO, 0x403, 2, 0 -0x0030, - IDC_COMBO_CARDNO, 0x403, 2, 0 -0x0031, - IDC_COMBO_CARDNO, 0x403, 2, 0 -0x0032, - IDC_COMBO_CARDNO, 0x403, 2, 0 -0x0033, - IDC_COMBO_CARDNO, 0x403, 2, 0 -0x0034, - IDC_COMBO_CARDNO, 0x403, 2, 0 -0x0035, - IDC_COMBO_CARDNO, 0x403, 2, 0 -0x0036, - IDC_COMBO_CARDNO, 0x403, 2, 0 -0x0037, - IDC_COMBO_CARDNO, 0x403, 2, 0 -0x0038, - IDC_COMBO_CARDNO, 0x403, 2, 0 -0x0039, - IDC_COMBO_CARDNO, 0x403, 3, 0 -0x3031, "\000" - IDC_COMBO_CARDNO, 0x403, 3, 0 -0x3131, "\000" - IDC_COMBO_CARDNO, 0x403, 3, 0 -0x3231, "\000" - IDC_COMBO_CARDNO, 0x403, 3, 0 -0x3331, "\000" - IDC_COMBO_CARDNO, 0x403, 3, 0 -0x3431, "\000" - IDC_COMBO_CARDNO, 0x403, 3, 0 -0x3531, "\000" - 0 -END - - -///////////////////////////////////////////////////////////////////////////// -// -// String Table -// - -STRINGTABLE -BEGIN - IDS_ABOUTBOX "&About 7300bInt..." -END - -#endif // English (U.S.) resources -///////////////////////////////////////////////////////////////////////////// - - - -#ifndef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 3 resource. -// -#define _AFX_NO_SPLITTER_RESOURCES -#define _AFX_NO_OLE_RESOURCES -#define _AFX_NO_TRACKER_RESOURCES -#define _AFX_NO_PROPERTY_RESOURCES - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -LANGUAGE 9, 1 -#pragma code_page(1252) -#include "res\My7300bInt.rc2" // non-Microsoft Visual C++ edited resources -#include "afxres.rc" // Standard components -#endif - -///////////////////////////////////////////////////////////////////////////// -#endif // not APSTUDIO_INVOKED - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7300B/SDK7300bIntMsg/7300bInt.sln b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7300B/SDK7300bIntMsg/7300bInt.sln deleted file mode 100644 index 7fa101e..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7300B/SDK7300bIntMsg/7300bInt.sln +++ /dev/null @@ -1,20 +0,0 @@ - -Microsoft Visual Studio Solution File, Format Version 10.00 -# Visual Studio 2008 -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "7300bInt", "7300bInt.vcproj", "{03CC0712-9928-4AC4-9A68-06B8B735AB32}" -EndProject -Global - GlobalSection(SolutionConfigurationPlatforms) = preSolution - Debug|x64 = Debug|x64 - Release|x64 = Release|x64 - EndGlobalSection - GlobalSection(ProjectConfigurationPlatforms) = postSolution - {03CC0712-9928-4AC4-9A68-06B8B735AB32}.Debug|x64.ActiveCfg = Debug|x64 - {03CC0712-9928-4AC4-9A68-06B8B735AB32}.Debug|x64.Build.0 = Debug|x64 - {03CC0712-9928-4AC4-9A68-06B8B735AB32}.Release|x64.ActiveCfg = Release|x64 - {03CC0712-9928-4AC4-9A68-06B8B735AB32}.Release|x64.Build.0 = Release|x64 - EndGlobalSection - GlobalSection(SolutionProperties) = preSolution - HideSolutionNode = FALSE - EndGlobalSection -EndGlobal diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7300B/SDK7300bIntMsg/7300bInt.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7300B/SDK7300bIntMsg/7300bInt.suo deleted file mode 100644 index ed48263..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7300B/SDK7300bIntMsg/7300bInt.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7300B/SDK7300bIntMsg/7300bInt.vcproj b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7300B/SDK7300bIntMsg/7300bInt.vcproj deleted file mode 100644 index ac5bc24..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7300B/SDK7300bIntMsg/7300bInt.vcproj +++ /dev/null @@ -1,287 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7300B/SDK7300bIntMsg/7300bIntDlg.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7300B/SDK7300bIntMsg/7300bIntDlg.cpp deleted file mode 100644 index 6303204..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7300B/SDK7300bIntMsg/7300bIntDlg.cpp +++ /dev/null @@ -1,280 +0,0 @@ - -// 7300bIntDlg.cpp : implementation file -// - -#include "stdafx.h" -#include "7300bInt.h" -#include "7300bIntDlg.h" -#include "SetupDlg.h" - -#define T2_INTERRUPT_MESSAGE _T("T2_INT") -UINT WM_INT = ::RegisterWindowMessage(T2_INTERRUPT_MESSAGE); - -#ifdef _DEBUG -#define new DEBUG_NEW -#endif - -// CAboutDlg dialog used for App About - -class CAboutDlg : public CDialog -{ -public: - CAboutDlg(); - -// Dialog Data - enum { IDD = IDD_ABOUTBOX }; - - protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - -// Implementation -protected: - DECLARE_MESSAGE_MAP() -}; - -CAboutDlg::CAboutDlg() : CDialog(CAboutDlg::IDD) -{ -} - -void CAboutDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); -} - -BEGIN_MESSAGE_MAP(CAboutDlg, CDialog) -END_MESSAGE_MAP() - - -// C7300bIntDlg dialog - - - - -C7300bIntDlg::C7300bIntDlg(CWnd* pParent /*=NULL*/) - : CDialog(C7300bIntDlg::IDD, pParent) - , m_nCardIdx(-1) - , m_nSampleCount(-1) - , m_nSampleRate(-1) - , m_hCard(-1) -{ - m_hIcon = AfxGetApp()->LoadIcon(IDR_MAINFRAME); - m_nC1=10; m_nC2=10; - m_IntCount = 0; -} - -void C7300bIntDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); -} - -BEGIN_MESSAGE_MAP(C7300bIntDlg, CDialog) - ON_WM_SYSCOMMAND() - ON_WM_PAINT() - ON_WM_QUERYDRAGICON() - ON_REGISTERED_MESSAGE(WM_INT, OnT2Interrupt) - //}}AFX_MSG_MAP -// ON_STN_CLICKED(IDC_STATIC_07, &C7300bIntDlg::OnStnClickedStatic07) -ON_WM_DESTROY() -ON_BN_CLICKED(IDC_BT_SETUP, &C7300bIntDlg::OnSetup) -ON_BN_CLICKED(IDC_BT_TRIGGER, &C7300bIntDlg::OnTrigger) -ON_WM_CTLCOLOR() -END_MESSAGE_MAP() - - -// C7300bIntDlg message handlers - -BOOL C7300bIntDlg::OnInitDialog() -{ - CDialog::OnInitDialog(); - - // Add "About..." menu item to system menu. - - // IDM_ABOUTBOX must be in the system command range. - ASSERT((IDM_ABOUTBOX & 0xFFF0) == IDM_ABOUTBOX); - ASSERT(IDM_ABOUTBOX < 0xF000); - - CMenu* pSysMenu = GetSystemMenu(FALSE); - if (pSysMenu != NULL) - { - BOOL bNameValid; - CString strAboutMenu; - bNameValid = strAboutMenu.LoadString(IDS_ABOUTBOX); - ASSERT(bNameValid); - if (!strAboutMenu.IsEmpty()) - { - pSysMenu->AppendMenu(MF_SEPARATOR); - pSysMenu->AppendMenu(MF_STRING, IDM_ABOUTBOX, strAboutMenu); - } - } - - // Set the icon for this dialog. The framework does this automatically - // when the application's main window is not a dialog - SetIcon(m_hIcon, TRUE); // Set big icon - SetIcon(m_hIcon, FALSE); // Set small icon - - // TODO: Add extra initialization here - - return TRUE; // return TRUE unless you set the focus to a control -} - -void C7300bIntDlg::OnSysCommand(UINT nID, LPARAM lParam) -{ - if ((nID & 0xFFF0) == IDM_ABOUTBOX) - { - CAboutDlg dlgAbout; - dlgAbout.DoModal(); - } - else - { - CDialog::OnSysCommand(nID, lParam); - } -} - -// If you add a minimize button to your dialog, you will need the code below -// to draw the icon. For MFC applications using the document/view model, -// this is automatically done for you by the framework. - -void C7300bIntDlg::OnPaint() -{ - if (IsIconic()) - { - CPaintDC dc(this); // device context for painting - - SendMessage(WM_ICONERASEBKGND, reinterpret_cast(dc.GetSafeHdc()), 0); - - // Center icon in client rectangle - int cxIcon = GetSystemMetrics(SM_CXICON); - int cyIcon = GetSystemMetrics(SM_CYICON); - CRect rect; - GetClientRect(&rect); - int x = (rect.Width() - cxIcon + 1) / 2; - int y = (rect.Height() - cyIcon + 1) / 2; - - // Draw the icon - dc.DrawIcon(x, y, m_hIcon); - } - else - { - CDialog::OnPaint(); - } -} - -// The system calls this function to obtain the cursor to display while the user drags -// the minimized window. -HCURSOR C7300bIntDlg::OnQueryDragIcon() -{ - return static_cast(m_hIcon); -} - -void C7300bIntDlg::OnDestroy() -{ - CDialog::OnDestroy(); - - // TODO: Add your message handler code here - - if( m_hCard >= 0 ) - { - Release_Card( m_hCard ); m_hCard = -1; - } -} - -void C7300bIntDlg::OnSetup() -{ - // TODO: Add your control notification handler code here - CSetupDlg setupDlg; - INT_PTR nResponse; - CString strTemp; - - nResponse = setupDlg.DoModal(); - if (nResponse == IDOK) - { - if( m_nCardIdx != setupDlg.m_nCardIdx ) - { - if( m_hCard != -1 ) - { - Release_Card( m_hCard ); - m_hCard = -1; - } - - m_nCardIdx = setupDlg.m_nCardIdx; - } - - - if( m_hCard == -1 ) - { - if ((m_hCard = Register_Card(PCI_7300A_RevB, m_nCardIdx)) < 0) - { - strTemp.Format( TEXT("Register_Card Error = %d"), m_hCard); - AfxMessageBox( strTemp ); - - EndDialog(IDCANCEL); - return; - } - } - - m_nSampleCount = setupDlg.m_nSampleCount; - m_nSampleRate = setupDlg.m_nSampleRate; - - if (m_nSampleCount > 32768) - { - AfxMessageBox( TEXT("Count can be assigned at most 32768") ); - return; - } - - if (m_nSampleRate > 15000 ) m_nSampleRate=15000; - m_nC2 = 10000000/(m_nSampleRate); - - GetDlgItem(IDC_BT_TRIGGER)->EnableWindow( TRUE ); - - } - else if (nResponse == IDCANCEL) - { - // TODO: Place code here to handle when the dialog is - // dismissed with Cancel - } -} - -void C7300bIntDlg::OnTrigger() -{ - // TODO: Add your control notification handler code here - DIO_T2_EventMessage (m_hCard, 0, this->m_hWnd, NULL, NULL); - CTR_Setup (m_hCard, 2, RATE_GENERATOR, 0, BIN); - m_IntCount = 0; - DIO_T2_EventMessage (m_hCard, 1, this->m_hWnd, WM_INT, NULL); - CTR_Setup(m_hCard, 2, 2, m_nC2, BIN); - -} - -HBRUSH C7300bIntDlg::OnCtlColor(CDC* pDC, CWnd* pWnd, UINT nCtlColor) -{ - HBRUSH hbr = CDialog::OnCtlColor(pDC, pWnd, nCtlColor); - - // TODO: Change any attributes of the DC here - if ( pWnd->GetDlgCtrlID() == IDC_STATIC_04 ) - pDC->SetTextColor(RGB(255,0,0)); - - // TODO: Return a different brush if the default is not desired - return hbr; -} - -LRESULT C7300bIntDlg::OnT2Interrupt(WPARAM wParam, LPARAM lParam) -{ - // do something useful - CString strTemp; - CString strLine1, strLine2, strLine3, strLine4, strLine5; - - if(m_IntCount m_hWnd, NULL, NULL); - CTR_Setup( m_hCard, 2, RATE_GENERATOR, 0, BIN); - } - - return (LRESULT) 0; -} \ No newline at end of file diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7300B/SDK7300bIntMsg/7300bIntDlg.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7300B/SDK7300bIntMsg/7300bIntDlg.h deleted file mode 100644 index 1717599..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7300B/SDK7300bIntMsg/7300bIntDlg.h +++ /dev/null @@ -1,49 +0,0 @@ - -// 7300bIntDlg.h : header file -// - -#include "Dask64.h" - -#pragma once - - -// C7300bIntDlg dialog -class C7300bIntDlg : public CDialog -{ -// Construction -public: - C7300bIntDlg(CWnd* pParent = NULL); // standard constructor - -// Dialog Data - enum { IDD = IDD_MY7300BINT_DIALOG }; - - protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - - -// Implementation -protected: - HICON m_hIcon; - int m_nCardIdx; - long m_nSampleCount; - long m_nSampleRate; - int m_IntCount; - - I16 m_hCard; - int m_nC1; - int m_nC2; - - // Generated message map functions - virtual BOOL OnInitDialog(); - afx_msg void OnSysCommand(UINT nID, LPARAM lParam); - afx_msg void OnPaint(); - afx_msg HCURSOR OnQueryDragIcon(); - afx_msg LRESULT OnT2Interrupt(WPARAM wParam, LPARAM lParam); - DECLARE_MESSAGE_MAP() -public: -// afx_msg void OnStnClickedStatic07(); - afx_msg void OnDestroy(); - afx_msg void OnSetup(); - afx_msg void OnTrigger(); - afx_msg HBRUSH OnCtlColor(CDC* pDC, CWnd* pWnd, UINT nCtlColor); -}; diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7300B/SDK7300bIntMsg/7396Int.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7300B/SDK7300bIntMsg/7396Int.suo deleted file mode 100644 index 854d31c..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7300B/SDK7300bIntMsg/7396Int.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7300B/SDK7300bIntMsg/ReadMe.txt b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7300B/SDK7300bIntMsg/ReadMe.txt deleted file mode 100644 index 7d743b1..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7300B/SDK7300bIntMsg/ReadMe.txt +++ /dev/null @@ -1,93 +0,0 @@ -================================================================================ - MICROSOFT FOUNDATION CLASS LIBRARY : 7296Int Project Overview -=============================================================================== - -The application wizard has created this 7296Int application for -you. This application not only demonstrates the basics of using the Microsoft -Foundation Classes but is also a starting point for writing your application. - -This file contains a summary of what you will find in each of the files that -make up your 7296Int application. - -7296Int.vcproj - This is the main project file for VC++ projects generated using an application wizard. - It contains information about the version of Visual C++ that generated the file, and - information about the platforms, configurations, and project features selected with the - application wizard. - -7296Int.h - This is the main header file for the application. It includes other - project specific headers (including Resource.h) and declares the - C7296IntApp application class. - -7296Int.cpp - This is the main application source file that contains the application - class C7296IntApp. - -7296Int.rc - This is a listing of all of the Microsoft Windows resources that the - program uses. It includes the icons, bitmaps, and cursors that are stored - in the RES subdirectory. This file can be directly edited in Microsoft - Visual C++. Your project resources are in 1033. - -res\7296Int.ico - This is an icon file, which is used as the application's icon. This - icon is included by the main resource file 7296Int.rc. - -res\My7296Int.rc2 - This file contains resources that are not edited by Microsoft - Visual C++. You should place all resources not editable by - the resource editor in this file. - - -///////////////////////////////////////////////////////////////////////////// - -The application wizard creates one dialog class: - -7296IntDlg.h, 7296IntDlg.cpp - the dialog - These files contain your C7296IntDlg class. This class defines - the behavior of your application's main dialog. The dialog's template is - in 7296Int.rc, which can be edited in Microsoft Visual C++. - - -///////////////////////////////////////////////////////////////////////////// - -Other Features: - -ActiveX Controls - The application includes support to use ActiveX controls. - -///////////////////////////////////////////////////////////////////////////// - -Other standard files: - -StdAfx.h, StdAfx.cpp - These files are used to build a precompiled header (PCH) file - named 7296Int.pch and a precompiled types file named StdAfx.obj. - -Resource.h - This is the standard header file, which defines new resource IDs. - Microsoft Visual C++ reads and updates this file. - -7296Int.manifest - Application manifest files are used by Windows XP to describe an applications - dependency on specific versions of Side-by-Side assemblies. The loader uses this - information to load the appropriate assembly from the assembly cache or private - from the application. The Application manifest maybe included for redistribution - as an external .manifest file that is installed in the same folder as the application - executable or it may be included in the executable in the form of a resource. -///////////////////////////////////////////////////////////////////////////// - -Other notes: - -The application wizard uses "TODO:" to indicate parts of the source code you -should add to or customize. - -If your application uses MFC in a shared DLL, you will need -to redistribute the MFC DLLs. If your application is in a language -other than the operating system's locale, you will also have to -redistribute the corresponding localized resources MFC90XXX.DLL. -For more information on both of these topics, please see the section on -redistributing Visual C++ applications in MSDN documentation. - -///////////////////////////////////////////////////////////////////////////// diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7300B/SDK7300bIntMsg/SetupDlg.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7300B/SDK7300bIntMsg/SetupDlg.cpp deleted file mode 100644 index ab0abfa..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7300B/SDK7300bIntMsg/SetupDlg.cpp +++ /dev/null @@ -1,63 +0,0 @@ -// SetupDlg.cpp : implementation file -// - -#include "stdafx.h" -#include "7300bInt.h" -#include "SetupDlg.h" - - -// CSetupDlg dialog - -IMPLEMENT_DYNAMIC(CSetupDlg, CDialog) - -CSetupDlg::CSetupDlg(CWnd* pParent /*=NULL*/) - : CDialog(CSetupDlg::IDD, pParent) - , m_nSampleCount(40) - , m_nSampleRate(5000) -{ - -} - -CSetupDlg::~CSetupDlg() -{ -} - -void CSetupDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); - DDX_Control(pDX, IDC_COMBO_CARDNO, m_cbCardID); - DDX_Text(pDX, IDC_EDIT_COUNT, m_nSampleCount); - DDX_Text(pDX, IDC_EDIT_RATE, m_nSampleRate); - DDV_MinMaxLong(pDX, m_nSampleCount, 0, 32768); - DDV_MinMaxLong(pDX, m_nSampleRate, 0, 15000); -} - - -BEGIN_MESSAGE_MAP(CSetupDlg, CDialog) - ON_CBN_SELCHANGE(IDC_COMBO_CARDNO, &CSetupDlg::OnCardNoSelchange) -// ON_EN_CHANGE(IDC_EDIT_COUNT, &CSetupDlg::OnEnChangeEditCount) -END_MESSAGE_MAP() - - -// CSetupDlg message handlers - -BOOL CSetupDlg::OnInitDialog() -{ - CDialog::OnInitDialog(); - - // TODO: Add extra initialization here - m_cbCardID.SetCurSel(0); - m_nCardIdx = 0; - - - return TRUE; // return TRUE unless you set the focus to a control - // EXCEPTION: OCX Property Pages should return FALSE -} - -void CSetupDlg::OnCardNoSelchange() -{ - // TODO: Add your control notification handler code here - m_nCardIdx = m_cbCardID.GetCurSel(); - -} - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7300B/SDK7300bIntMsg/SetupDlg.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7300B/SDK7300bIntMsg/SetupDlg.h deleted file mode 100644 index 7b42abf..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7300B/SDK7300bIntMsg/SetupDlg.h +++ /dev/null @@ -1,30 +0,0 @@ -#pragma once -#include "afxwin.h" - - -// CSetupDlg dialog - -class CSetupDlg : public CDialog -{ - DECLARE_DYNAMIC(CSetupDlg) - -public: - CSetupDlg(CWnd* pParent = NULL); // standard constructor - virtual ~CSetupDlg(); - -// Dialog Data - enum { IDD = IDD_DIALOG_SETUP }; - -protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - - DECLARE_MESSAGE_MAP() -public: - CComboBox m_cbCardID; - virtual BOOL OnInitDialog(); - long m_nSampleCount; - long m_nSampleRate; - int m_nCardIdx; - afx_msg void OnCardNoSelchange(); -// afx_msg void OnEnChangeEditCount(); -}; diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7300B/SDK7300bIntMsg/res/7300bInt.ico b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7300B/SDK7300bIntMsg/res/7300bInt.ico deleted file mode 100644 index d56fbcd..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7300B/SDK7300bIntMsg/res/7300bInt.ico and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7300B/SDK7300bIntMsg/res/My7300bInt.rc2 b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7300B/SDK7300bIntMsg/res/My7300bInt.rc2 deleted file mode 100644 index 4edfe6a..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7300B/SDK7300bIntMsg/res/My7300bInt.rc2 +++ /dev/null @@ -1,13 +0,0 @@ -// -// My7296Int.RC2 - resources Microsoft Visual C++ does not edit directly -// - -#ifdef APSTUDIO_INVOKED -#error this file is not editable by Microsoft Visual C++ -#endif //APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// Add manually edited resources here... - -///////////////////////////////////////////////////////////////////////////// diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7300B/SDK7300bIntMsg/resource.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7300B/SDK7300bIntMsg/resource.h deleted file mode 100644 index a8e008c..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7300B/SDK7300bIntMsg/resource.h +++ /dev/null @@ -1,35 +0,0 @@ -//{{NO_DEPENDENCIES}} -// Microsoft Visual C++ generated include file. -// Used by 7300bInt.rc -// -#define IDM_ABOUTBOX 0x0010 -#define IDD_ABOUTBOX 100 -#define IDS_ABOUTBOX 101 -#define IDD_MY7300BINT_DIALOG 102 -#define IDR_MAINFRAME 128 -#define IDD_DIALOG_SETUP 129 -#define IDC_BT_SETUP 1000 -#define IDC_BT_TRIGGER 1001 -#define IDC_STATIC_04 1002 -#define IDC_COMBO_CARDNO 1003 -#define IDC_EDIT_COUNT 1004 -#define IDC_STATIC_07 1005 -#define IDC_EDIT_RATE 1005 -#define IDC_STATIC_05 1006 -#define IDC_STATIC_06 1007 -#define IDC_STATIC_LINE1 1008 -#define IDC_STATIC_LINE2 1009 -#define IDC_STATIC_LINE3 1010 -#define IDC_STATIC_LINE4 1011 -#define IDC_STATIC_LINE5 1012 - -// Next default values for new objects -// -#ifdef APSTUDIO_INVOKED -#ifndef APSTUDIO_READONLY_SYMBOLS -#define _APS_NEXT_RESOURCE_VALUE 131 -#define _APS_NEXT_COMMAND_VALUE 32771 -#define _APS_NEXT_CONTROL_VALUE 1000 -#define _APS_NEXT_SYMED_VALUE 101 -#endif -#endif diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7300B/SDK7300bIntMsg/stdafx.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7300B/SDK7300bIntMsg/stdafx.cpp deleted file mode 100644 index 156b0ec..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7300B/SDK7300bIntMsg/stdafx.cpp +++ /dev/null @@ -1,8 +0,0 @@ - -// stdafx.cpp : source file that includes just the standard includes -// 7300bInt.pch will be the pre-compiled header -// stdafx.obj will contain the pre-compiled type information - -#include "stdafx.h" - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7300B/SDK7300bIntMsg/stdafx.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7300B/SDK7300bIntMsg/stdafx.h deleted file mode 100644 index 12123e2..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7300B/SDK7300bIntMsg/stdafx.h +++ /dev/null @@ -1,60 +0,0 @@ - -// stdafx.h : include file for standard system include files, -// or project specific include files that are used frequently, -// but are changed infrequently - -#pragma once - -#ifndef _SECURE_ATL -#define _SECURE_ATL 1 -#endif - -#ifndef VC_EXTRALEAN -#define VC_EXTRALEAN // Exclude rarely-used stuff from Windows headers -#endif - -#include "targetver.h" - -#define _ATL_CSTRING_EXPLICIT_CONSTRUCTORS // some CString constructors will be explicit - -// turns off MFC's hiding of some common and often safely ignored warning messages -#define _AFX_ALL_WARNINGS - -#include // MFC core and standard components -#include // MFC extensions - - -#include // MFC Automation classes - - - -#ifndef _AFX_NO_OLE_SUPPORT -#include // MFC support for Internet Explorer 4 Common Controls -#endif -#ifndef _AFX_NO_AFXCMN_SUPPORT -#include // MFC support for Windows Common Controls -#endif // _AFX_NO_AFXCMN_SUPPORT - -#include // MFC support for ribbons and control bars - - - - - - - - - -#ifdef _UNICODE -#if defined _M_IX86 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='x86' publicKeyToken='6595b64144ccf1df' language='*'\"") -#elif defined _M_IA64 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='ia64' publicKeyToken='6595b64144ccf1df' language='*'\"") -#elif defined _M_X64 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='amd64' publicKeyToken='6595b64144ccf1df' language='*'\"") -#else -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='*' publicKeyToken='6595b64144ccf1df' language='*'\"") -#endif -#endif - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7300B/SDK7300bIntMsg/targetver.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7300B/SDK7300bIntMsg/targetver.h deleted file mode 100644 index 11730d5..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7300B/SDK7300bIntMsg/targetver.h +++ /dev/null @@ -1,26 +0,0 @@ - -#pragma once - -// The following macros define the minimum required platform. The minimum required platform -// is the earliest version of Windows, Internet Explorer etc. that has the necessary features to run -// your application. The macros work by enabling all features available on platform versions up to and -// including the version specified. - -// Modify the following defines if you have to target a platform prior to the ones specified below. -// Refer to MSDN for the latest info on corresponding values for different platforms. -#ifndef WINVER // Specifies that the minimum required platform is Windows Vista. -#define WINVER 0x0600 // Change this to the appropriate value to target other versions of Windows. -#endif - -#ifndef _WIN32_WINNT // Specifies that the minimum required platform is Windows Vista. -#define _WIN32_WINNT 0x0600 // Change this to the appropriate value to target other versions of Windows. -#endif - -#ifndef _WIN32_WINDOWS // Specifies that the minimum required platform is Windows 98. -#define _WIN32_WINDOWS 0x0410 // Change this to the appropriate value to target Windows Me or later. -#endif - -#ifndef _WIN32_IE // Specifies that the minimum required platform is Internet Explorer 7.0. -#define _WIN32_IE 0x0700 // Change this to the appropriate value to target other versions of IE. -#endif - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7300B/SDK7300bMBufWav/7200Wav.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7300B/SDK7300bMBufWav/7200Wav.suo deleted file mode 100644 index bc032e1..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7300B/SDK7300bMBufWav/7200Wav.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7300B/SDK7300bMBufWav/7300bWav.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7300B/SDK7300bMBufWav/7300bWav.cpp deleted file mode 100644 index fe8c9ef..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7300B/SDK7300bMBufWav/7300bWav.cpp +++ /dev/null @@ -1,110 +0,0 @@ - -// 7300bWav.cpp : Defines the class behaviors for the application. -// - -#include "stdafx.h" -#include "7300bWav.h" -#include "7300bWavDlg.h" -#include "CardIDDlg.h" - -#ifdef _DEBUG -#define new DEBUG_NEW -#endif - - -// C7300bWavApp - -BEGIN_MESSAGE_MAP(C7300bWavApp, CWinAppEx) - ON_COMMAND(ID_HELP, &CWinApp::OnHelp) -END_MESSAGE_MAP() - - -// C7300bWavApp construction - -C7300bWavApp::C7300bWavApp() -{ - // TODO: add construction code here, - // Place all significant initialization in InitInstance -} - - -// The one and only C7300bWavApp object - -C7300bWavApp theApp; - - -// C7300bWavApp initialization - -BOOL C7300bWavApp::InitInstance() -{ - int nCardID = 0; - I16 hCard; - CString strTemp; - INT_PTR nResponse; - - // InitCommonControlsEx() is required on Windows XP if an application - // manifest specifies use of ComCtl32.dll version 6 or later to enable - // visual styles. Otherwise, any window creation will fail. - INITCOMMONCONTROLSEX InitCtrls; - InitCtrls.dwSize = sizeof(InitCtrls); - // Set this to include all the common control classes you want to use - // in your application. - InitCtrls.dwICC = ICC_WIN95_CLASSES; - InitCommonControlsEx(&InitCtrls); - - CWinAppEx::InitInstance(); - - AfxEnableControlContainer(); - - // Standard initialization - // If you are not using these features and wish to reduce the size - // of your final executable, you should remove from the following - // the specific initialization routines you do not need - // Change the registry key under which our settings are stored - // TODO: You should modify this string to be something appropriate - // such as the name of your company or organization - SetRegistryKey(_T("Local AppWizard-Generated Applications")); - - CCardIDDlg CardDlg( nCardID ); - - nResponse = CardDlg.DoModal(); - if (nResponse == IDOK) - { - nCardID = CardDlg.GetCardID(); - - if ((hCard=Register_Card(PCI_7300A_RevB, nCardID)) < 0) - { - strTemp.Format( TEXT("Register_Card Error = %d"), hCard); - AfxMessageBox( strTemp ); - } - else - { - C7300bWavDlg dlg(hCard); - m_pMainWnd = &dlg; - nResponse = dlg.DoModal(); - if (nResponse == IDOK) - { - // TODO: Place code here to handle when the dialog is - // dismissed with OK - } - else if (nResponse == IDCANCEL) - { - // TODO: Place code here to handle when the dialog is - // dismissed with Cancel - } - - if (hCard >= 0) Release_Card(hCard); - } - - } - else if (nResponse == IDCANCEL) - { - // TODO: Place code here to handle when the dialog is - // dismissed with Cancel - } - - - // Since the dialog has been closed, return FALSE so that we exit the - // application, rather than start the application's message pump. - return FALSE; -} diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7300B/SDK7300bMBufWav/7300bWav.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7300B/SDK7300bMBufWav/7300bWav.h deleted file mode 100644 index 4fe0c56..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7300B/SDK7300bMBufWav/7300bWav.h +++ /dev/null @@ -1,32 +0,0 @@ - -// 7300bWav.h : main header file for the PROJECT_NAME application -// - -#pragma once - -#ifndef __AFXWIN_H__ - #error "include 'stdafx.h' before including this file for PCH" -#endif - -#include "resource.h" // main symbols - - -// C7300bWavApp: -// See 7300bWav.cpp for the implementation of this class -// - -class C7300bWavApp : public CWinAppEx -{ -public: - C7300bWavApp(); - -// Overrides - public: - virtual BOOL InitInstance(); - -// Implementation - - DECLARE_MESSAGE_MAP() -}; - -extern C7300bWavApp theApp; \ No newline at end of file diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7300B/SDK7300bMBufWav/7300bWav.rc b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7300B/SDK7300bMBufWav/7300bWav.rc deleted file mode 100644 index e170e8c..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7300B/SDK7300bMBufWav/7300bWav.rc +++ /dev/null @@ -1,285 +0,0 @@ -// Microsoft Visual C++ generated resource script. -// -#include "resource.h" - -#define APSTUDIO_READONLY_SYMBOLS -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 2 resource. -// -#ifndef APSTUDIO_INVOKED -#include "targetver.h" -#endif -#include "afxres.h" - -///////////////////////////////////////////////////////////////////////////// -#undef APSTUDIO_READONLY_SYMBOLS - -///////////////////////////////////////////////////////////////////////////// -// Chinese (Taiwan) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_CHT) -#ifdef _WIN32 -LANGUAGE LANG_CHINESE, SUBLANG_CHINESE_TRADITIONAL -#pragma code_page(950) -#endif //_WIN32 - -#ifdef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// TEXTINCLUDE -// - -1 TEXTINCLUDE -BEGIN - "resource.h\0" -END - -2 TEXTINCLUDE -BEGIN - "#ifndef APSTUDIO_INVOKED\r\n" - "#include ""targetver.h""\r\n" - "#endif\r\n" - "#include ""afxres.h""\r\n" - "\0" -END - -3 TEXTINCLUDE -BEGIN - "#define _AFX_NO_SPLITTER_RESOURCES\r\n" - "#define _AFX_NO_OLE_RESOURCES\r\n" - "#define _AFX_NO_TRACKER_RESOURCES\r\n" - "#define _AFX_NO_PROPERTY_RESOURCES\r\n" - "\r\n" - "#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)\r\n" - "LANGUAGE 9, 1\r\n" - "#pragma code_page(1252)\r\n" - "#include ""res\\My7300bWav.rc2"" // non-Microsoft Visual C++ edited resources\r\n" - "#include ""afxres.rc"" // Standard components\r\n" - "#endif\r\n" - "\0" -END - -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// Icon -// - -// Icon with lowest ID value placed first to ensure application icon -// remains consistent on all systems. -IDR_MAINFRAME ICON "res\\7300bWav.ico" -#endif // Chinese (Taiwan) resources -///////////////////////////////////////////////////////////////////////////// - - -///////////////////////////////////////////////////////////////////////////// -// English (U.S.) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -#ifdef _WIN32 -LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US -#pragma code_page(1252) -#endif //_WIN32 - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog -// - -IDD_ABOUTBOX DIALOGEX 0, 0, 170, 62 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "About 7300bWav" -FONT 8, "MS Shell Dlg", 0, 0, 0x1 -BEGIN - ICON IDR_MAINFRAME,IDC_STATIC,14,14,21,20 - LTEXT "7300bWav, Version 1.0",IDC_STATIC,42,14,114,8,SS_NOPREFIX - LTEXT "Copyright (C) 2010",IDC_STATIC,42,26,114,8 - DEFPUSHBUTTON "OK",IDOK,113,41,50,14,WS_GROUP -END - -IDD_MY7300bWav_DIALOG DIALOGEX 0, 0, 376, 239 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU -EXSTYLE WS_EX_APPWINDOW -CAPTION "PCI-7300A Rev.B DMA" -FONT 8, "MS Shell Dlg", 0, 0, 0x1 -BEGIN - GROUPBOX "",IDC_STATIC_DRAW,71,45,293,138,NOT WS_VISIBLE - EDITTEXT IDC_EDIT_SAMPLE,247,194,51,12,ES_AUTOHSCROLL - LTEXT "Buffer Size :",IDC_STATIC,199,196,45,9 - EDITTEXT IDC_EDIT_SAMPLE_RATE,115,194,32,12,ES_AUTOHSCROLL | ES_READONLY - LTEXT "Output Rate :",IDC_STATIC,63,196,49,9 - LTEXT "KHz",IDC_STATIC,159,196,15,9 - SCROLLBAR IDC_SCROLLBAR_RATE,147,194,9,11,SBS_VERT - PUSHBUTTON "Start",IDC_BT_START,315,189,48,17 - PUSHBUTTON "Stop",IDC_BT_STOP,315,208,48,17 - LTEXT "The configuration is set as DI16DO16. This sample performs DMA DI is 10MHz with 4 buffers, and DMA DO simultaneously. The output data is a sine wave. The input data is shown in panel below.",IDC_STATIC,13,9,343,20 - LTEXT "Please click ""Start"" and then click ""Stop"" to display the acquisition data ",IDC_STATIC,13,30,343,17 -END - -IDD_CARDID_DIALOG DIALOGEX 0, 0, 170, 89 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "Card ID" -FONT 8, "MS Shell Dlg", 400, 0, 0x1 -BEGIN - COMBOBOX IDC_COMBO_CARDID,75,17,71,126,CBS_DROPDOWN | WS_VSCROLL | WS_TABSTOP - LTEXT "Card Number",IDC_STATIC_01,21,18,46,12 - PUSHBUTTON "OK",IDOK,22,50,58,19 - PUSHBUTTON "CANCEL",IDCANCEL,86,50,58,19 -END - - -///////////////////////////////////////////////////////////////////////////// -// -// Version -// - -VS_VERSION_INFO VERSIONINFO - FILEVERSION 1,0,0,1 - PRODUCTVERSION 1,0,0,1 - FILEFLAGSMASK 0x3fL -#ifdef _DEBUG - FILEFLAGS 0x1L -#else - FILEFLAGS 0x0L -#endif - FILEOS 0x4L - FILETYPE 0x1L - FILESUBTYPE 0x0L -BEGIN - BLOCK "StringFileInfo" - BEGIN - BLOCK "040904e4" - BEGIN - VALUE "CompanyName", "TODO: " - VALUE "FileDescription", "TODO: " - VALUE "FileVersion", "1.0.0.1" - VALUE "InternalName", "7300bWav.exe" - VALUE "LegalCopyright", "TODO: (c) . All rights reserved." - VALUE "OriginalFilename", "7300bWav.exe" - VALUE "ProductName", "TODO: " - VALUE "ProductVersion", "1.0.0.1" - END - END - BLOCK "VarFileInfo" - BEGIN - VALUE "Translation", 0x409, 1252 - END -END - - -///////////////////////////////////////////////////////////////////////////// -// -// DESIGNINFO -// - -#ifdef APSTUDIO_INVOKED -GUIDELINES DESIGNINFO -BEGIN - IDD_ABOUTBOX, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 163 - TOPMARGIN, 7 - BOTTOMMARGIN, 55 - END - - IDD_MY7300bWav_DIALOG, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 369 - TOPMARGIN, 7 - BOTTOMMARGIN, 232 - END - - IDD_CARDID_DIALOG, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 163 - TOPMARGIN, 7 - BOTTOMMARGIN, 82 - END -END -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog Info -// - -IDD_CARDID_DIALOG DLGINIT -BEGIN - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0030, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0031, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0032, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0033, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0034, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0035, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0036, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0037, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0038, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0039, - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3031, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3131, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3231, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3331, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3431, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3531, "\000" - 0 -END - - -///////////////////////////////////////////////////////////////////////////// -// -// String Table -// - -STRINGTABLE -BEGIN - IDS_ABOUTBOX "&About 7300bWav..." -END - -#endif // English (U.S.) resources -///////////////////////////////////////////////////////////////////////////// - - - -#ifndef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 3 resource. -// -#define _AFX_NO_SPLITTER_RESOURCES -#define _AFX_NO_OLE_RESOURCES -#define _AFX_NO_TRACKER_RESOURCES -#define _AFX_NO_PROPERTY_RESOURCES - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -LANGUAGE 9, 1 -#pragma code_page(1252) -#include "res\My7300bWav.rc2" // non-Microsoft Visual C++ edited resources -#include "afxres.rc" // Standard components -#endif - -///////////////////////////////////////////////////////////////////////////// -#endif // not APSTUDIO_INVOKED - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7300B/SDK7300bMBufWav/7300bWav.sln b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7300B/SDK7300bMBufWav/7300bWav.sln deleted file mode 100644 index 839b04c..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7300B/SDK7300bMBufWav/7300bWav.sln +++ /dev/null @@ -1,20 +0,0 @@ - -Microsoft Visual Studio Solution File, Format Version 10.00 -# Visual Studio 2008 -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "7300bWav", "7300bWav.vcproj", "{EBDB6610-7CE5-413C-A150-121068BFDB22}" -EndProject -Global - GlobalSection(SolutionConfigurationPlatforms) = preSolution - Debug|x64 = Debug|x64 - Release|x64 = Release|x64 - EndGlobalSection - GlobalSection(ProjectConfigurationPlatforms) = postSolution - {EBDB6610-7CE5-413C-A150-121068BFDB22}.Debug|x64.ActiveCfg = Debug|x64 - {EBDB6610-7CE5-413C-A150-121068BFDB22}.Debug|x64.Build.0 = Debug|x64 - {EBDB6610-7CE5-413C-A150-121068BFDB22}.Release|x64.ActiveCfg = Release|x64 - {EBDB6610-7CE5-413C-A150-121068BFDB22}.Release|x64.Build.0 = Release|x64 - EndGlobalSection - GlobalSection(SolutionProperties) = preSolution - HideSolutionNode = FALSE - EndGlobalSection -EndGlobal diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7300B/SDK7300bMBufWav/7300bWav.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7300B/SDK7300bMBufWav/7300bWav.suo deleted file mode 100644 index 049f808..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7300B/SDK7300bMBufWav/7300bWav.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7300B/SDK7300bMBufWav/7300bWav.vcproj b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7300B/SDK7300bMBufWav/7300bWav.vcproj deleted file mode 100644 index 28502ba..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7300B/SDK7300bMBufWav/7300bWav.vcproj +++ /dev/null @@ -1,286 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7300B/SDK7300bMBufWav/7300bWavDlg.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7300B/SDK7300bMBufWav/7300bWavDlg.cpp deleted file mode 100644 index 071f5cd..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7300B/SDK7300bMBufWav/7300bWavDlg.cpp +++ /dev/null @@ -1,577 +0,0 @@ - -// 7300bWavDlg.cpp : implementation file -// - -#include "stdafx.h" -#include "7300bWav.h" -#include "7300bWavDlg.h" -#include "math.h" - -#ifndef M_PI -#define M_PI 3.14159265359 -#endif - -#define MAX_SIZE 1024000 //in words - -#ifdef _DEBUG -#define new DEBUG_NEW -#endif - -CRect plotRect; - -#define PCI7300_DIO_STATUS_TIMER 1 - -U16 out_buf[MAX_SIZE]; -U16 in_buf[MAX_SIZE], in_buf2[MAX_SIZE], in_buf3[MAX_SIZE], in_buf4[MAX_SIZE]; - -BOOLEAN gbClearOp; -I16 ghCard; -U16 gViewIdx; -BOOLEAN gHalfReady; - -DWORD WINAPI MBufThread( LPVOID lpParam ) -{ - - BOOLEAN stopped=0; - int j; - U32 count; - - //data_size /= 2; - j = 0; - - do - { - gHalfReady = 0; - - do - { - DI_AsyncMultiBufferNextReady(ghCard, &gHalfReady, &gViewIdx); - } while (!gHalfReady); - - j = (j+1)%4; - - } while ( gbClearOp == FALSE ); - - DI_AsyncClear(ghCard, &count); - DO_AsyncClear(ghCard, &count); - - return (DWORD) 0; -} - - -// CAboutDlg dialog used for App About - -class CAboutDlg : public CDialog -{ -public: - CAboutDlg(); - -// Dialog Data - enum { IDD = IDD_ABOUTBOX }; - - protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - -// Implementation -protected: - DECLARE_MESSAGE_MAP() -}; - -CAboutDlg::CAboutDlg() : CDialog(CAboutDlg::IDD) -{ -} - -void CAboutDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); -} - -BEGIN_MESSAGE_MAP(CAboutDlg, CDialog) -END_MESSAGE_MAP() - - -// C7300bWavDlg dialog - - - - -C7300bWavDlg::C7300bWavDlg(I16 hCard, CWnd* pParent /*=NULL*/) - : CDialog(C7300bWavDlg::IDD, pParent) -{ - m_hIcon = AfxGetApp()->LoadIcon(IDR_MAINFRAME); - - ghCard = hCard; - - OnBrush = OffBrush = NULL; - - n_PlotWidth = -1; - n_PlotHeight = -1; - - min_val = 0x00; - max_val = 0x0000FFFF; - - m_fSampleRate = 10000.0; // 10KHz - m_dwDISamples = 100000; - - m_hThread = NULL; - -} - -void C7300bWavDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); -} - -BEGIN_MESSAGE_MAP(C7300bWavDlg, CDialog) - ON_WM_SYSCOMMAND() - ON_WM_PAINT() - ON_WM_QUERYDRAGICON() - //}}AFX_MSG_MAP - ON_WM_DESTROY() - ON_BN_CLICKED(IDC_BT_START, &C7300bWavDlg::OnStart) - ON_BN_CLICKED(IDC_BT_STOP, &C7300bWavDlg::OnStop) -// ON_WM_TIMER() - ON_WM_VSCROLL() -END_MESSAGE_MAP() - - -// C7300bWavDlg message handlers - -BOOL C7300bWavDlg::OnInitDialog() -{ - int i; - I16 err; - - CString strTemp; - - CDialog::OnInitDialog(); - - // Add "About..." menu item to system menu. - - // IDM_ABOUTBOX must be in the system command range. - ASSERT((IDM_ABOUTBOX & 0xFFF0) == IDM_ABOUTBOX); - ASSERT(IDM_ABOUTBOX < 0xF000); - - CMenu* pSysMenu = GetSystemMenu(FALSE); - if (pSysMenu != NULL) - { - BOOL bNameValid; - CString strAboutMenu; - bNameValid = strAboutMenu.LoadString(IDS_ABOUTBOX); - ASSERT(bNameValid); - if (!strAboutMenu.IsEmpty()) - { - pSysMenu->AppendMenu(MF_SEPARATOR); - pSysMenu->AppendMenu(MF_STRING, IDM_ABOUTBOX, strAboutMenu); - } - } - - // Set the icon for this dialog. The framework does this automatically - // when the application's main window is not a dialog - SetIcon(m_hIcon, TRUE); // Set big icon - SetIcon(m_hIcon, FALSE); // Set small icon - - // TODO: Add extra initialization here - x_divider = 5; y_divider = 2; - - OnBrush = CreateSolidBrush( RGB(255,0,0) ); - OffBrush = CreateSolidBrush( RGB(125,0,0) ); - - RedPen.CreatePen( PS_SOLID, 1, RGB(255,0,0)); - GreenPen.CreatePen( PS_SOLID, 1, RGB(0,255,0)); - - if( n_PlotWidth == -1 && n_PlotHeight == -1 ) - { - ((CWnd*)GetDlgItem(IDC_STATIC_DRAW))->GetWindowRect(&plotRect); - ScreenToClient(&plotRect); - - n_PlotWidth = min( plotRect.Width(), 512); - n_PlotHeight = plotRect.Height() - 10; - } - - // set the default SampleRate - SetDlgItemInt( IDC_EDIT_SAMPLE_RATE, (UINT)(m_fSampleRate/1000) ); - - // Set the default DI Sample - SetDlgItemInt( IDC_EDIT_SAMPLE, (UINT)(m_dwDISamples) ); - - for (i=0; i(dc.GetSafeHdc()), 0); - - // Center icon in client rectangle - int cxIcon = GetSystemMetrics(SM_CXICON); - int cyIcon = GetSystemMetrics(SM_CYICON); - CRect rect; - GetClientRect(&rect); - int x = (rect.Width() - cxIcon + 1) / 2; - int y = (rect.Height() - cyIcon + 1) / 2; - - // Draw the icon - dc.DrawIcon(x, y, m_hIcon); - } - else - { - redraw_display_area(); - CDialog::OnPaint(); - } -} - -// The system calls this function to obtain the cursor to display while the user drags -// the minimized window. -HCURSOR C7300bWavDlg::OnQueryDragIcon() -{ - return static_cast(m_hIcon); -} - - -void C7300bWavDlg::OnDestroy() -{ - - CDialog::OnDestroy(); - - // TODO: Add your message handler code here - if( OnBrush != NULL ) - ::DeleteObject( OnBrush ); - - if( OffBrush != NULL ) - ::DeleteObject( OffBrush ); - - RedPen.DeleteObject(); - GreenPen.DeleteObject(); - - if( m_hThread != NULL ) - { - gHalfReady = TRUE; // terminate the DI_AsyncMultiBufferNextReady() - gbClearOp = TRUE; // termnate the MBufThread - - if (WaitForSingleObject(m_hThread, 5000) == WAIT_OBJECT_0) - { - CloseHandle( m_hThread ); - m_hThread = NULL; - } - } - - DI_ContMultiBufferReset( ghCard ); - -} - -void C7300bWavDlg::OnStart() -{ - // TODO: Add your control notification handler code here - U32 dwDISamples; - U16 BufferId; - I16 err; - CString strMsg, strTemp; - int i; - - dwDISamples = GetDlgItemInt( IDC_EDIT_SAMPLE ); - if( (dwDISamples*2) > MAX_SIZE) - { - m_dwDISamples = (MAX_SIZE/2); - AfxMessageBox(TEXT("This sample supports at most 512K words DMA transfer\nOnly perform 100K words DMA transfer.")); - } - else - m_dwDISamples = dwDISamples; - - for (i=0; iEnableWindow( FALSE ); - GetDlgItem( IDC_BT_STOP )->EnableWindow( TRUE ); - -} - -void C7300bWavDlg::OnStop() -{ - // TODO: Add your control notification handler code here - gbClearOp = TRUE; - - display_buffer_data(); - - GetDlgItem( IDC_BT_START )->EnableWindow( TRUE ); - GetDlgItem( IDC_BT_STOP )->EnableWindow( FALSE); -} - - -void C7300bWavDlg::display_buffer_data(void) -{ - CClientDC dc_plot(this); - int nDraw_Bottom, j; - - int newY, oldY = -1; - int newX, oldX = -1; - U32 index, di_data; - - nDraw_Bottom = ( plotRect.bottom - 5 ); - dc_plot.SelectObject( &GreenPen ); - - for(j=0; j<4; j++) - { - for (index=0; index 200000.0 ) m_fSampleRate = 200000.0; - break; - case SB_LINEDOWN: - m_fSampleRate -= 10000; - if (m_fSampleRate < 10000.0 ) m_fSampleRate = 10000.0; - break; - } - - - SetDlgItemInt( IDC_EDIT_SAMPLE_RATE, (UINT)(m_fSampleRate/1000) ); - - CDialog::OnVScroll(nSBCode, nPos, pScrollBar); -} diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7300B/SDK7300bMBufWav/7300bWavDlg.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7300B/SDK7300bMBufWav/7300bWavDlg.h deleted file mode 100644 index b3b7366..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7300B/SDK7300bMBufWav/7300bWavDlg.h +++ /dev/null @@ -1,67 +0,0 @@ - -// 7300bWavDlg.h : header file -// -#include "Dask64.h" - -#ifdef __cplusplus -extern "C" { -#endif - -SHORT __stdcall DI_ContMultiBufferReset(USHORT wCardNumber); - -#ifdef __cplusplus -} -#endif - -#pragma once - - -// C7300bWavDlg dialog -class C7300bWavDlg : public CDialog -{ -// Construction -public: - C7300bWavDlg(I16 hCard, CWnd* pParent = NULL); // standard constructor - -// Dialog Data - enum { IDD = IDD_MY7300bWav_DIALOG }; - - protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - - -// Implementation -protected: - HICON m_hIcon; - HANDLE m_hThread; - U32 m_dwDISamples; - HBRUSH OnBrush; - HBRUSH OffBrush; - CPen RedPen; - CPen GreenPen; - DWORD max_val; - DWORD min_val; - int y_divider; - int x_divider; - int m_DisplayScale; - double m_fSampleRate; - - // Generated message map functions - virtual BOOL OnInitDialog(); - afx_msg void OnSysCommand(UINT nID, LPARAM lParam); - afx_msg void OnPaint(); - afx_msg HCURSOR OnQueryDragIcon(); - DECLARE_MESSAGE_MAP() -public: - afx_msg void OnDestroy(); - afx_msg void OnStart(); - afx_msg void OnStop(); -// afx_msg void OnTimer(UINT_PTR nIDEvent); - void display_buffer_data(void); - void redraw_display_area(void); - afx_msg void OnVScroll(UINT nSBCode, UINT nPos, CScrollBar* pScrollBar); - -private: - int n_PlotHeight; - int n_PlotWidth; -}; diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7300B/SDK7300bMBufWav/CardIDDlg.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7300B/SDK7300bMBufWav/CardIDDlg.cpp deleted file mode 100644 index ce7145c..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7300B/SDK7300bMBufWav/CardIDDlg.cpp +++ /dev/null @@ -1,67 +0,0 @@ -// CardIDDlg.cpp : implementation file -// - -#include "stdafx.h" -#include "7300bWav.h" -#include "CardIDDlg.h" - - -// CCardIDDlg dialog - -IMPLEMENT_DYNAMIC(CCardIDDlg, CDialog) - -CCardIDDlg::CCardIDDlg(int nCardIdx, CWnd* pParent /*=NULL*/) - : CDialog(CCardIDDlg::IDD, pParent) -{ - m_nCardIdx = nCardIdx; -} - -CCardIDDlg::~CCardIDDlg() -{ -} - -void CCardIDDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); - DDX_Control(pDX, IDC_COMBO_CARDID, m_cbCardID); -} - - -BEGIN_MESSAGE_MAP(CCardIDDlg, CDialog) -// ON_CBN_SELCHANGE(IDC_COMBO_CARDID, &CCardIDDlg::OnCbnSelchangeComboCardid) -ON_BN_CLICKED(IDOK, &CCardIDDlg::OnBnClickedOk) -//ON_WM_CTLCOLOR() -END_MESSAGE_MAP() - - -// CCardIDDlg message handlers - - -void CCardIDDlg::OnBnClickedOk() -{ - // TODO: Add your control notification handler code here - -// UpdateData(TRUE); - m_nCardIdx = m_cbCardID.GetCurSel(); - - OnOK(); -} - -BOOL CCardIDDlg::OnInitDialog() -{ - CDialog::OnInitDialog(); - - // TODO: Add extra initialization here - m_cbCardID.SetCurSel( m_nCardIdx ); - - return TRUE; // return TRUE unless you set the focus to a control - // EXCEPTION: OCX Property Pages should return FALSE -} - -// the function to get the selected CardID -int CCardIDDlg::GetCardID(void) -{ - return m_nCardIdx; -} - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7300B/SDK7300bMBufWav/CardIDDlg.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7300B/SDK7300bMBufWav/CardIDDlg.h deleted file mode 100644 index 54628ea..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7300B/SDK7300bMBufWav/CardIDDlg.h +++ /dev/null @@ -1,33 +0,0 @@ -#pragma once -#include "afxwin.h" - - -// CCardIDDlg dialog - -class CCardIDDlg : public CDialog -{ - DECLARE_DYNAMIC(CCardIDDlg) - -public: - CCardIDDlg(int nCardIdx, CWnd* pParent = NULL); // standard constructor - virtual ~CCardIDDlg(); - -// Dialog Data - enum { IDD = IDD_CARDID_DIALOG }; - -protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - - DECLARE_MESSAGE_MAP() -public: -// afx_msg void OnCbnSelchangeComboCardid(); - afx_msg void OnBnClickedOk(); - // the setting of CardID ComboBox - int m_nCardIdx; - virtual BOOL OnInitDialog(); - // the control of CardID ComboBox - CComboBox m_cbCardID; - // the function to get the selected CardID - int GetCardID(void); -// afx_msg HBRUSH OnCtlColor(CDC* pDC, CWnd* pWnd, UINT nCtlColor); -}; diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7300B/SDK7300bMBufWav/ReadMe.txt b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7300B/SDK7300bMBufWav/ReadMe.txt deleted file mode 100644 index 11ab98b..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7300B/SDK7300bMBufWav/ReadMe.txt +++ /dev/null @@ -1,93 +0,0 @@ -================================================================================ - MICROSOFT FOUNDATION CLASS LIBRARY : 7300bWav Project Overview -=============================================================================== - -The application wizard has created this 7300bWav application for -you. This application not only demonstrates the basics of using the Microsoft -Foundation Classes but is also a starting point for writing your application. - -This file contains a summary of what you will find in each of the files that -make up your 7300bWav application. - -7300bWav.vcproj - This is the main project file for VC++ projects generated using an application wizard. - It contains information about the version of Visual C++ that generated the file, and - information about the platforms, configurations, and project features selected with the - application wizard. - -7300bWav.h - This is the main header file for the application. It includes other - project specific headers (including Resource.h) and declares the - C7300bWavApp application class. - -7300bWav.cpp - This is the main application source file that contains the application - class C7300bWavApp. - -7300bWav.rc - This is a listing of all of the Microsoft Windows resources that the - program uses. It includes the icons, bitmaps, and cursors that are stored - in the RES subdirectory. This file can be directly edited in Microsoft - Visual C++. Your project resources are in 1033. - -res\7300bWav.ico - This is an icon file, which is used as the application's icon. This - icon is included by the main resource file 7300bWav.rc. - -res\My7300bWav.rc2 - This file contains resources that are not edited by Microsoft - Visual C++. You should place all resources not editable by - the resource editor in this file. - - -///////////////////////////////////////////////////////////////////////////// - -The application wizard creates one dialog class: - -7300bWavDlg.h, 7300bWavDlg.cpp - the dialog - These files contain your C7300bWavDlg class. This class defines - the behavior of your application's main dialog. The dialog's template is - in 7300bWav.rc, which can be edited in Microsoft Visual C++. - - -///////////////////////////////////////////////////////////////////////////// - -Other Features: - -ActiveX Controls - The application includes support to use ActiveX controls. - -///////////////////////////////////////////////////////////////////////////// - -Other standard files: - -StdAfx.h, StdAfx.cpp - These files are used to build a precompiled header (PCH) file - named 7300bWav.pch and a precompiled types file named StdAfx.obj. - -Resource.h - This is the standard header file, which defines new resource IDs. - Microsoft Visual C++ reads and updates this file. - -7300bWav.manifest - Application manifest files are used by Windows XP to describe an applications - dependency on specific versions of Side-by-Side assemblies. The loader uses this - information to load the appropriate assembly from the assembly cache or private - from the application. The Application manifest maybe included for redistribution - as an external .manifest file that is installed in the same folder as the application - executable or it may be included in the executable in the form of a resource. -///////////////////////////////////////////////////////////////////////////// - -Other notes: - -The application wizard uses "TODO:" to indicate parts of the source code you -should add to or customize. - -If your application uses MFC in a shared DLL, you will need -to redistribute the MFC DLLs. If your application is in a language -other than the operating system's locale, you will also have to -redistribute the corresponding localized resources MFC90XXX.DLL. -For more information on both of these topics, please see the section on -redistributing Visual C++ applications in MSDN documentation. - -///////////////////////////////////////////////////////////////////////////// diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7300B/SDK7300bMBufWav/res/7300bWav.ico b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7300B/SDK7300bMBufWav/res/7300bWav.ico deleted file mode 100644 index d56fbcd..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7300B/SDK7300bMBufWav/res/7300bWav.ico and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7300B/SDK7300bMBufWav/res/My7300bWav.rc2 b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7300B/SDK7300bMBufWav/res/My7300bWav.rc2 deleted file mode 100644 index 440d4a5..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7300B/SDK7300bMBufWav/res/My7300bWav.rc2 +++ /dev/null @@ -1,13 +0,0 @@ -// -// My7200Wav.RC2 - resources Microsoft Visual C++ does not edit directly -// - -#ifdef APSTUDIO_INVOKED -#error this file is not editable by Microsoft Visual C++ -#endif //APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// Add manually edited resources here... - -///////////////////////////////////////////////////////////////////////////// diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7300B/SDK7300bMBufWav/resource.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7300B/SDK7300bMBufWav/resource.h deleted file mode 100644 index b308a5f..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7300B/SDK7300bMBufWav/resource.h +++ /dev/null @@ -1,29 +0,0 @@ -//{{NO_DEPENDENCIES}} -// Microsoft Visual C++ generated include file. -// Used by 7300bWav.rc -// -#define IDM_ABOUTBOX 0x0010 -#define IDD_ABOUTBOX 100 -#define IDS_ABOUTBOX 101 -#define IDD_MY7300bWav_DIALOG 102 -#define IDR_MAINFRAME 128 -#define IDD_CARDID_DIALOG 129 -#define IDC_STATIC_DRAW 1000 -#define IDC_EDIT_SAMPLE 1001 -#define IDC_EDIT_SAMPLE_RATE 1003 -#define IDC_SCROLLBAR_RATE 1006 -#define IDC_COMBO_CARDID 1007 -#define IDC_BT_START 1008 -#define IDC_BT_STOP 1009 -#define IDC_STATIC_01 1014 - -// Next default values for new objects -// -#ifdef APSTUDIO_INVOKED -#ifndef APSTUDIO_READONLY_SYMBOLS -#define _APS_NEXT_RESOURCE_VALUE 131 -#define _APS_NEXT_COMMAND_VALUE 32771 -#define _APS_NEXT_CONTROL_VALUE 1000 -#define _APS_NEXT_SYMED_VALUE 101 -#endif -#endif diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7300B/SDK7300bMBufWav/stdafx.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7300B/SDK7300bMBufWav/stdafx.cpp deleted file mode 100644 index 096af95..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7300B/SDK7300bMBufWav/stdafx.cpp +++ /dev/null @@ -1,8 +0,0 @@ - -// stdafx.cpp : source file that includes just the standard includes -// 7300bWav.pch will be the pre-compiled header -// stdafx.obj will contain the pre-compiled type information - -#include "stdafx.h" - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7300B/SDK7300bMBufWav/stdafx.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7300B/SDK7300bMBufWav/stdafx.h deleted file mode 100644 index 12123e2..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7300B/SDK7300bMBufWav/stdafx.h +++ /dev/null @@ -1,60 +0,0 @@ - -// stdafx.h : include file for standard system include files, -// or project specific include files that are used frequently, -// but are changed infrequently - -#pragma once - -#ifndef _SECURE_ATL -#define _SECURE_ATL 1 -#endif - -#ifndef VC_EXTRALEAN -#define VC_EXTRALEAN // Exclude rarely-used stuff from Windows headers -#endif - -#include "targetver.h" - -#define _ATL_CSTRING_EXPLICIT_CONSTRUCTORS // some CString constructors will be explicit - -// turns off MFC's hiding of some common and often safely ignored warning messages -#define _AFX_ALL_WARNINGS - -#include // MFC core and standard components -#include // MFC extensions - - -#include // MFC Automation classes - - - -#ifndef _AFX_NO_OLE_SUPPORT -#include // MFC support for Internet Explorer 4 Common Controls -#endif -#ifndef _AFX_NO_AFXCMN_SUPPORT -#include // MFC support for Windows Common Controls -#endif // _AFX_NO_AFXCMN_SUPPORT - -#include // MFC support for ribbons and control bars - - - - - - - - - -#ifdef _UNICODE -#if defined _M_IX86 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='x86' publicKeyToken='6595b64144ccf1df' language='*'\"") -#elif defined _M_IA64 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='ia64' publicKeyToken='6595b64144ccf1df' language='*'\"") -#elif defined _M_X64 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='amd64' publicKeyToken='6595b64144ccf1df' language='*'\"") -#else -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='*' publicKeyToken='6595b64144ccf1df' language='*'\"") -#endif -#endif - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7300B/SDK7300bMBufWav/targetver.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7300B/SDK7300bMBufWav/targetver.h deleted file mode 100644 index 11730d5..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7300B/SDK7300bMBufWav/targetver.h +++ /dev/null @@ -1,26 +0,0 @@ - -#pragma once - -// The following macros define the minimum required platform. The minimum required platform -// is the earliest version of Windows, Internet Explorer etc. that has the necessary features to run -// your application. The macros work by enabling all features available on platform versions up to and -// including the version specified. - -// Modify the following defines if you have to target a platform prior to the ones specified below. -// Refer to MSDN for the latest info on corresponding values for different platforms. -#ifndef WINVER // Specifies that the minimum required platform is Windows Vista. -#define WINVER 0x0600 // Change this to the appropriate value to target other versions of Windows. -#endif - -#ifndef _WIN32_WINNT // Specifies that the minimum required platform is Windows Vista. -#define _WIN32_WINNT 0x0600 // Change this to the appropriate value to target other versions of Windows. -#endif - -#ifndef _WIN32_WINDOWS // Specifies that the minimum required platform is Windows 98. -#define _WIN32_WINDOWS 0x0410 // Change this to the appropriate value to target Windows Me or later. -#endif - -#ifndef _WIN32_IE // Specifies that the minimum required platform is Internet Explorer 7.0. -#define _WIN32_IE 0x0700 // Change this to the appropriate value to target other versions of IE. -#endif - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7300B/SDK7300bPGWav/7200Wav.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7300B/SDK7300bPGWav/7200Wav.suo deleted file mode 100644 index bc032e1..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7300B/SDK7300bPGWav/7200Wav.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7300B/SDK7300bPGWav/7300bWav.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7300B/SDK7300bPGWav/7300bWav.cpp deleted file mode 100644 index fe8c9ef..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7300B/SDK7300bPGWav/7300bWav.cpp +++ /dev/null @@ -1,110 +0,0 @@ - -// 7300bWav.cpp : Defines the class behaviors for the application. -// - -#include "stdafx.h" -#include "7300bWav.h" -#include "7300bWavDlg.h" -#include "CardIDDlg.h" - -#ifdef _DEBUG -#define new DEBUG_NEW -#endif - - -// C7300bWavApp - -BEGIN_MESSAGE_MAP(C7300bWavApp, CWinAppEx) - ON_COMMAND(ID_HELP, &CWinApp::OnHelp) -END_MESSAGE_MAP() - - -// C7300bWavApp construction - -C7300bWavApp::C7300bWavApp() -{ - // TODO: add construction code here, - // Place all significant initialization in InitInstance -} - - -// The one and only C7300bWavApp object - -C7300bWavApp theApp; - - -// C7300bWavApp initialization - -BOOL C7300bWavApp::InitInstance() -{ - int nCardID = 0; - I16 hCard; - CString strTemp; - INT_PTR nResponse; - - // InitCommonControlsEx() is required on Windows XP if an application - // manifest specifies use of ComCtl32.dll version 6 or later to enable - // visual styles. Otherwise, any window creation will fail. - INITCOMMONCONTROLSEX InitCtrls; - InitCtrls.dwSize = sizeof(InitCtrls); - // Set this to include all the common control classes you want to use - // in your application. - InitCtrls.dwICC = ICC_WIN95_CLASSES; - InitCommonControlsEx(&InitCtrls); - - CWinAppEx::InitInstance(); - - AfxEnableControlContainer(); - - // Standard initialization - // If you are not using these features and wish to reduce the size - // of your final executable, you should remove from the following - // the specific initialization routines you do not need - // Change the registry key under which our settings are stored - // TODO: You should modify this string to be something appropriate - // such as the name of your company or organization - SetRegistryKey(_T("Local AppWizard-Generated Applications")); - - CCardIDDlg CardDlg( nCardID ); - - nResponse = CardDlg.DoModal(); - if (nResponse == IDOK) - { - nCardID = CardDlg.GetCardID(); - - if ((hCard=Register_Card(PCI_7300A_RevB, nCardID)) < 0) - { - strTemp.Format( TEXT("Register_Card Error = %d"), hCard); - AfxMessageBox( strTemp ); - } - else - { - C7300bWavDlg dlg(hCard); - m_pMainWnd = &dlg; - nResponse = dlg.DoModal(); - if (nResponse == IDOK) - { - // TODO: Place code here to handle when the dialog is - // dismissed with OK - } - else if (nResponse == IDCANCEL) - { - // TODO: Place code here to handle when the dialog is - // dismissed with Cancel - } - - if (hCard >= 0) Release_Card(hCard); - } - - } - else if (nResponse == IDCANCEL) - { - // TODO: Place code here to handle when the dialog is - // dismissed with Cancel - } - - - // Since the dialog has been closed, return FALSE so that we exit the - // application, rather than start the application's message pump. - return FALSE; -} diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7300B/SDK7300bPGWav/7300bWav.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7300B/SDK7300bPGWav/7300bWav.h deleted file mode 100644 index 4fe0c56..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7300B/SDK7300bPGWav/7300bWav.h +++ /dev/null @@ -1,32 +0,0 @@ - -// 7300bWav.h : main header file for the PROJECT_NAME application -// - -#pragma once - -#ifndef __AFXWIN_H__ - #error "include 'stdafx.h' before including this file for PCH" -#endif - -#include "resource.h" // main symbols - - -// C7300bWavApp: -// See 7300bWav.cpp for the implementation of this class -// - -class C7300bWavApp : public CWinAppEx -{ -public: - C7300bWavApp(); - -// Overrides - public: - virtual BOOL InitInstance(); - -// Implementation - - DECLARE_MESSAGE_MAP() -}; - -extern C7300bWavApp theApp; \ No newline at end of file diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7300B/SDK7300bPGWav/7300bWav.rc b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7300B/SDK7300bPGWav/7300bWav.rc deleted file mode 100644 index 91f4a52..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7300B/SDK7300bPGWav/7300bWav.rc +++ /dev/null @@ -1,280 +0,0 @@ -// Microsoft Visual C++ generated resource script. -// -#include "resource.h" - -#define APSTUDIO_READONLY_SYMBOLS -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 2 resource. -// -#ifndef APSTUDIO_INVOKED -#include "targetver.h" -#endif -#include "afxres.h" - -///////////////////////////////////////////////////////////////////////////// -#undef APSTUDIO_READONLY_SYMBOLS - -///////////////////////////////////////////////////////////////////////////// -// Chinese (Taiwan) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_CHT) -#ifdef _WIN32 -LANGUAGE LANG_CHINESE, SUBLANG_CHINESE_TRADITIONAL -#pragma code_page(950) -#endif //_WIN32 - -#ifdef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// TEXTINCLUDE -// - -1 TEXTINCLUDE -BEGIN - "resource.h\0" -END - -2 TEXTINCLUDE -BEGIN - "#ifndef APSTUDIO_INVOKED\r\n" - "#include ""targetver.h""\r\n" - "#endif\r\n" - "#include ""afxres.h""\r\n" - "\0" -END - -3 TEXTINCLUDE -BEGIN - "#define _AFX_NO_SPLITTER_RESOURCES\r\n" - "#define _AFX_NO_OLE_RESOURCES\r\n" - "#define _AFX_NO_TRACKER_RESOURCES\r\n" - "#define _AFX_NO_PROPERTY_RESOURCES\r\n" - "\r\n" - "#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)\r\n" - "LANGUAGE 9, 1\r\n" - "#pragma code_page(1252)\r\n" - "#include ""res\\My7300bWav.rc2"" // non-Microsoft Visual C++ edited resources\r\n" - "#include ""afxres.rc"" // Standard components\r\n" - "#endif\r\n" - "\0" -END - -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// Icon -// - -// Icon with lowest ID value placed first to ensure application icon -// remains consistent on all systems. -IDR_MAINFRAME ICON "res\\7300bWav.ico" -#endif // Chinese (Taiwan) resources -///////////////////////////////////////////////////////////////////////////// - - -///////////////////////////////////////////////////////////////////////////// -// English (U.S.) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -#ifdef _WIN32 -LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US -#pragma code_page(1252) -#endif //_WIN32 - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog -// - -IDD_ABOUTBOX DIALOGEX 0, 0, 170, 62 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "About 7300bWav" -FONT 8, "MS Shell Dlg", 0, 0, 0x1 -BEGIN - ICON IDR_MAINFRAME,IDC_STATIC,14,14,21,20 - LTEXT "7300bWav, Version 1.0",IDC_STATIC,42,14,114,8,SS_NOPREFIX - LTEXT "Copyright (C) 2010",IDC_STATIC,42,26,114,8 - DEFPUSHBUTTON "OK",IDOK,113,41,50,14,WS_GROUP -END - -IDD_MY7300bWav_DIALOG DIALOGEX 0, 0, 376, 218 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU -EXSTYLE WS_EX_APPWINDOW -CAPTION "PCI-7300A Rev.B DMA" -FONT 8, "MS Shell Dlg", 0, 0, 0x1 -BEGIN - GROUPBOX "",IDC_STATIC_DRAW,71,30,293,138,NOT WS_VISIBLE - EDITTEXT IDC_EDIT_SAMPLE,230,176,51,12,ES_AUTOHSCROLL - LTEXT "DI Samples :",IDC_STATIC,181,177,45,9 - PUSHBUTTON "Start",IDC_BT_START,315,174,48,17 - PUSHBUTTON "Stop",IDC_BT_STOP,315,193,48,17 - LTEXT "The configuration is set as DI16DO16. This sample performs DMA DI is 10MHz and DMA DO in 5MHz rate simultaneously. The output data is a sine wave. The input data is shown in panel below.",IDC_STATIC,13,9,343,20 -END - -IDD_CARDID_DIALOG DIALOGEX 0, 0, 170, 89 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "Card ID" -FONT 8, "MS Shell Dlg", 400, 0, 0x1 -BEGIN - COMBOBOX IDC_COMBO_CARDID,75,17,71,126,CBS_DROPDOWN | WS_VSCROLL | WS_TABSTOP - LTEXT "Card Number",IDC_STATIC_01,21,18,46,12 - PUSHBUTTON "OK",IDOK,22,50,58,19 - PUSHBUTTON "CANCEL",IDCANCEL,86,50,58,19 -END - - -///////////////////////////////////////////////////////////////////////////// -// -// Version -// - -VS_VERSION_INFO VERSIONINFO - FILEVERSION 1,0,0,1 - PRODUCTVERSION 1,0,0,1 - FILEFLAGSMASK 0x3fL -#ifdef _DEBUG - FILEFLAGS 0x1L -#else - FILEFLAGS 0x0L -#endif - FILEOS 0x4L - FILETYPE 0x1L - FILESUBTYPE 0x0L -BEGIN - BLOCK "StringFileInfo" - BEGIN - BLOCK "040904e4" - BEGIN - VALUE "CompanyName", "TODO: " - VALUE "FileDescription", "TODO: " - VALUE "FileVersion", "1.0.0.1" - VALUE "InternalName", "7300bWav.exe" - VALUE "LegalCopyright", "TODO: (c) . All rights reserved." - VALUE "OriginalFilename", "7300bWav.exe" - VALUE "ProductName", "TODO: " - VALUE "ProductVersion", "1.0.0.1" - END - END - BLOCK "VarFileInfo" - BEGIN - VALUE "Translation", 0x409, 1252 - END -END - - -///////////////////////////////////////////////////////////////////////////// -// -// DESIGNINFO -// - -#ifdef APSTUDIO_INVOKED -GUIDELINES DESIGNINFO -BEGIN - IDD_ABOUTBOX, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 163 - TOPMARGIN, 7 - BOTTOMMARGIN, 55 - END - - IDD_MY7300bWav_DIALOG, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 369 - TOPMARGIN, 7 - BOTTOMMARGIN, 211 - END - - IDD_CARDID_DIALOG, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 163 - TOPMARGIN, 7 - BOTTOMMARGIN, 82 - END -END -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog Info -// - -IDD_CARDID_DIALOG DLGINIT -BEGIN - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0030, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0031, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0032, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0033, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0034, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0035, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0036, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0037, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0038, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0039, - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3031, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3131, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3231, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3331, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3431, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3531, "\000" - 0 -END - - -///////////////////////////////////////////////////////////////////////////// -// -// String Table -// - -STRINGTABLE -BEGIN - IDS_ABOUTBOX "&About 7300bWav..." -END - -#endif // English (U.S.) resources -///////////////////////////////////////////////////////////////////////////// - - - -#ifndef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 3 resource. -// -#define _AFX_NO_SPLITTER_RESOURCES -#define _AFX_NO_OLE_RESOURCES -#define _AFX_NO_TRACKER_RESOURCES -#define _AFX_NO_PROPERTY_RESOURCES - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -LANGUAGE 9, 1 -#pragma code_page(1252) -#include "res\My7300bWav.rc2" // non-Microsoft Visual C++ edited resources -#include "afxres.rc" // Standard components -#endif - -///////////////////////////////////////////////////////////////////////////// -#endif // not APSTUDIO_INVOKED - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7300B/SDK7300bPGWav/7300bWav.sln b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7300B/SDK7300bPGWav/7300bWav.sln deleted file mode 100644 index 839b04c..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7300B/SDK7300bPGWav/7300bWav.sln +++ /dev/null @@ -1,20 +0,0 @@ - -Microsoft Visual Studio Solution File, Format Version 10.00 -# Visual Studio 2008 -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "7300bWav", "7300bWav.vcproj", "{EBDB6610-7CE5-413C-A150-121068BFDB22}" -EndProject -Global - GlobalSection(SolutionConfigurationPlatforms) = preSolution - Debug|x64 = Debug|x64 - Release|x64 = Release|x64 - EndGlobalSection - GlobalSection(ProjectConfigurationPlatforms) = postSolution - {EBDB6610-7CE5-413C-A150-121068BFDB22}.Debug|x64.ActiveCfg = Debug|x64 - {EBDB6610-7CE5-413C-A150-121068BFDB22}.Debug|x64.Build.0 = Debug|x64 - {EBDB6610-7CE5-413C-A150-121068BFDB22}.Release|x64.ActiveCfg = Release|x64 - {EBDB6610-7CE5-413C-A150-121068BFDB22}.Release|x64.Build.0 = Release|x64 - EndGlobalSection - GlobalSection(SolutionProperties) = preSolution - HideSolutionNode = FALSE - EndGlobalSection -EndGlobal diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7300B/SDK7300bPGWav/7300bWav.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7300B/SDK7300bPGWav/7300bWav.suo deleted file mode 100644 index 086093f..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7300B/SDK7300bPGWav/7300bWav.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7300B/SDK7300bPGWav/7300bWav.vcproj b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7300B/SDK7300bPGWav/7300bWav.vcproj deleted file mode 100644 index 28502ba..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7300B/SDK7300bPGWav/7300bWav.vcproj +++ /dev/null @@ -1,286 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7300B/SDK7300bPGWav/7300bWavDlg.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7300B/SDK7300bPGWav/7300bWavDlg.cpp deleted file mode 100644 index b50b477..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7300B/SDK7300bPGWav/7300bWavDlg.cpp +++ /dev/null @@ -1,464 +0,0 @@ - -// 7300bWavDlg.cpp : implementation file -// - -#include "stdafx.h" -#include "7300bWav.h" -#include "7300bWavDlg.h" -#include "math.h" - -#ifndef M_PI -#define M_PI 3.14159265359 -#endif - -#define MAX_SIZE 1000000 //in words - -#ifdef _DEBUG -#define new DEBUG_NEW -#endif - -CRect plotRect; - -#define PCI7300_DIO_STATUS_TIMER 1 - -U16 gInBuf[MAX_SIZE], gOutBuf[MAX_SIZE]; - -// CAboutDlg dialog used for App About - -class CAboutDlg : public CDialog -{ -public: - CAboutDlg(); - -// Dialog Data - enum { IDD = IDD_ABOUTBOX }; - - protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - -// Implementation -protected: - DECLARE_MESSAGE_MAP() -}; - -CAboutDlg::CAboutDlg() : CDialog(CAboutDlg::IDD) -{ -} - -void CAboutDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); -} - -BEGIN_MESSAGE_MAP(CAboutDlg, CDialog) -END_MESSAGE_MAP() - - -// C7300bWavDlg dialog - - - - -C7300bWavDlg::C7300bWavDlg(I16 hCard, CWnd* pParent /*=NULL*/) - : CDialog(C7300bWavDlg::IDD, pParent) -{ - m_hIcon = AfxGetApp()->LoadIcon(IDR_MAINFRAME); - - m_hCard = hCard; - - OnBrush = OffBrush = NULL; - - n_PlotWidth = -1; - n_PlotHeight = -1; - - min_val = 0x00; - max_val = 0xFFFF; - - m_dwDISamples = 100000; - - m_nTimer = -1; - -} - -void C7300bWavDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); -} - -BEGIN_MESSAGE_MAP(C7300bWavDlg, CDialog) - ON_WM_SYSCOMMAND() - ON_WM_PAINT() - ON_WM_QUERYDRAGICON() - //}}AFX_MSG_MAP - ON_WM_DESTROY() - ON_BN_CLICKED(IDC_BT_START, &C7300bWavDlg::OnStart) - ON_BN_CLICKED(IDC_BT_STOP, &C7300bWavDlg::OnStop) - ON_WM_TIMER() -// ON_WM_VSCROLL() -END_MESSAGE_MAP() - - -// C7300bWavDlg message handlers - -BOOL C7300bWavDlg::OnInitDialog() -{ - I16 err; - int i; - CString strTemp; - - CDialog::OnInitDialog(); - - // Add "About..." menu item to system menu. - - // IDM_ABOUTBOX must be in the system command range. - ASSERT((IDM_ABOUTBOX & 0xFFF0) == IDM_ABOUTBOX); - ASSERT(IDM_ABOUTBOX < 0xF000); - - CMenu* pSysMenu = GetSystemMenu(FALSE); - if (pSysMenu != NULL) - { - BOOL bNameValid; - CString strAboutMenu; - bNameValid = strAboutMenu.LoadString(IDS_ABOUTBOX); - ASSERT(bNameValid); - if (!strAboutMenu.IsEmpty()) - { - pSysMenu->AppendMenu(MF_SEPARATOR); - pSysMenu->AppendMenu(MF_STRING, IDM_ABOUTBOX, strAboutMenu); - } - } - - // Set the icon for this dialog. The framework does this automatically - // when the application's main window is not a dialog - SetIcon(m_hIcon, TRUE); // Set big icon - SetIcon(m_hIcon, FALSE); // Set small icon - - // TODO: Add extra initialization here - x_divider = 5; y_divider = 2; - - OnBrush = CreateSolidBrush( RGB(255,0,0) ); - OffBrush = CreateSolidBrush( RGB(125,0,0) ); - - RedPen.CreatePen( PS_SOLID, 1, RGB(255,0,0)); - GreenPen.CreatePen( PS_SOLID, 1, RGB(0,255,0)); - - if( n_PlotWidth == -1 && n_PlotHeight == -1 ) - { - ((CWnd*)GetDlgItem(IDC_STATIC_DRAW))->GetWindowRect(&plotRect); - ScreenToClient(&plotRect); - - n_PlotWidth = min( plotRect.Width(), 512); - n_PlotHeight = plotRect.Height() - 10; - } - - - // Set the default DI Sample - SetDlgItemInt( IDC_EDIT_SAMPLE, (UINT)(m_dwDISamples) ); - - err = DI_7300B_Config(m_hCard, 16, TRIG_CLK_10MHZ, P7300_WAIT_NO, P7300_TERM_ON, 0, 0, 1); - if (err != 0) - { - strTemp.Format( TEXT("DI_7300B_Config Error = %d, card=%d"), err, m_hCard); - AfxMessageBox( strTemp ); - return TRUE; - } - - err = DO_7300B_Config (m_hCard, 16, TRIG_INT_PACER, P7300_WAIT_NO, P7300_TERM_ON, 0, 0x40004000); - if (err != 0) - { - strTemp.Format( TEXT("DO_7300B_Config Error = %d, card=%d"), err, m_hCard); - AfxMessageBox( strTemp ); - return TRUE; - } - - for (i=0; i<10000; i++) - gOutBuf[i] = (U16)(sin((double)i/5000*M_PI)*0x7fff)+0x8000; - for (i=0; i(dc.GetSafeHdc()), 0); - - // Center icon in client rectangle - int cxIcon = GetSystemMetrics(SM_CXICON); - int cyIcon = GetSystemMetrics(SM_CYICON); - CRect rect; - GetClientRect(&rect); - int x = (rect.Width() - cxIcon + 1) / 2; - int y = (rect.Height() - cyIcon + 1) / 2; - - // Draw the icon - dc.DrawIcon(x, y, m_hIcon); - } - else - { - redraw_display_area(); - CDialog::OnPaint(); - } -} - -// The system calls this function to obtain the cursor to display while the user drags -// the minimized window. -HCURSOR C7300bWavDlg::OnQueryDragIcon() -{ - return static_cast(m_hIcon); -} - - -void C7300bWavDlg::OnDestroy() -{ - U32 count; - - CDialog::OnDestroy(); - - // TODO: Add your message handler code here - if( OnBrush != NULL ) - ::DeleteObject( OnBrush ); - - if( OffBrush != NULL ) - ::DeleteObject( OffBrush ); - - RedPen.DeleteObject(); - GreenPen.DeleteObject(); - - if( m_nTimer != -1 ) - { - KillTimer( m_nTimer ); - m_nTimer = -1; - } - - DI_AsyncClear( m_hCard, &count ); - DO_PGStop (m_hCard);; - - -} - -void C7300bWavDlg::OnStart() -{ - // TODO: Add your control notification handler code here - U32 dwDISamples; - I16 err; - CString strMsg; - - dwDISamples = GetDlgItemInt( IDC_EDIT_SAMPLE ); - - if( dwDISamples > MAX_SIZE) - { - m_dwDISamples = MAX_SIZE; //at most 1000K samples DMA - AfxMessageBox(TEXT("This sample supports at most 1000K words DMA transfer\nOnly perform 100K words DMA transfer.")); - } - else - m_dwDISamples = dwDISamples; - - err = DI_ContReadPort (m_hCard, 0, gInBuf, m_dwDISamples, 1, ASYNCH_OP); - if (err < 0) - { - strMsg.Format(TEXT("DI_ContReadPort Error = %d"), err); - AfxMessageBox( strMsg ); - return; - } - - // clear display area - redraw_display_area(); - - if( m_nTimer == -1 ) - { - m_nTimer = SetTimer( PCI7300_DIO_STATUS_TIMER, 50, NULL ); - } - - GetDlgItem( IDC_BT_START )->EnableWindow( FALSE ); - GetDlgItem( IDC_BT_STOP )->EnableWindow( TRUE ); - -} - -void C7300bWavDlg::OnStop() -{ - // TODO: Add your control notification handler code here - U32 count; - - DI_AsyncClear(m_hCard, &count); - - GetDlgItem( IDC_BT_START )->EnableWindow( TRUE ); - GetDlgItem( IDC_BT_STOP )->EnableWindow( FALSE); -} - -void C7300bWavDlg::OnTimer(UINT_PTR nIDEvent) -{ - // TODO: Add your message handler code here and/or call default - BOOLEAN bStopped; - U32 count; - I16 err; - - err = DI_AsyncCheck( m_hCard, &bStopped, &count ); - - if( bStopped ) - { - // stop timer - KillTimer( m_nTimer ); - m_nTimer = -1; - - // reset the Button status - GetDlgItem( IDC_BT_START )->EnableWindow( TRUE ); - GetDlgItem( IDC_BT_STOP )->EnableWindow( TRUE); - - err = DI_AsyncClear( m_hCard, &count ); - - display_buffer_data(gInBuf); - } - - CDialog::OnTimer(nIDEvent); -} - - -void C7300bWavDlg::display_buffer_data(U16* pBuf) -{ - CClientDC dc_plot(this); - int nDraw_Bottom; - - int newY, oldY = -1; - int newX, oldX = -1; - U32 index, di_data; - - nDraw_Bottom = ( plotRect.bottom - 5 ); - dc_plot.SelectObject( &GreenPen ); - - for( index=0; index // MFC core and standard components -#include // MFC extensions - - -#include // MFC Automation classes - - - -#ifndef _AFX_NO_OLE_SUPPORT -#include // MFC support for Internet Explorer 4 Common Controls -#endif -#ifndef _AFX_NO_AFXCMN_SUPPORT -#include // MFC support for Windows Common Controls -#endif // _AFX_NO_AFXCMN_SUPPORT - -#include // MFC support for ribbons and control bars - - - - - - - - - -#ifdef _UNICODE -#if defined _M_IX86 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='x86' publicKeyToken='6595b64144ccf1df' language='*'\"") -#elif defined _M_IA64 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='ia64' publicKeyToken='6595b64144ccf1df' language='*'\"") -#elif defined _M_X64 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='amd64' publicKeyToken='6595b64144ccf1df' language='*'\"") -#else -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='*' publicKeyToken='6595b64144ccf1df' language='*'\"") -#endif -#endif - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7300B/SDK7300bPGWav/targetver.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7300B/SDK7300bPGWav/targetver.h deleted file mode 100644 index 11730d5..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7300B/SDK7300bPGWav/targetver.h +++ /dev/null @@ -1,26 +0,0 @@ - -#pragma once - -// The following macros define the minimum required platform. The minimum required platform -// is the earliest version of Windows, Internet Explorer etc. that has the necessary features to run -// your application. The macros work by enabling all features available on platform versions up to and -// including the version specified. - -// Modify the following defines if you have to target a platform prior to the ones specified below. -// Refer to MSDN for the latest info on corresponding values for different platforms. -#ifndef WINVER // Specifies that the minimum required platform is Windows Vista. -#define WINVER 0x0600 // Change this to the appropriate value to target other versions of Windows. -#endif - -#ifndef _WIN32_WINNT // Specifies that the minimum required platform is Windows Vista. -#define _WIN32_WINNT 0x0600 // Change this to the appropriate value to target other versions of Windows. -#endif - -#ifndef _WIN32_WINDOWS // Specifies that the minimum required platform is Windows 98. -#define _WIN32_WINDOWS 0x0410 // Change this to the appropriate value to target Windows Me or later. -#endif - -#ifndef _WIN32_IE // Specifies that the minimum required platform is Internet Explorer 7.0. -#define _WIN32_IE 0x0700 // Change this to the appropriate value to target other versions of IE. -#endif - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7300B/SDK7300bWave/7200Wav.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7300B/SDK7300bWave/7200Wav.suo deleted file mode 100644 index bc032e1..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7300B/SDK7300bWave/7200Wav.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7300B/SDK7300bWave/7300bWav.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7300B/SDK7300bWave/7300bWav.cpp deleted file mode 100644 index fe8c9ef..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7300B/SDK7300bWave/7300bWav.cpp +++ /dev/null @@ -1,110 +0,0 @@ - -// 7300bWav.cpp : Defines the class behaviors for the application. -// - -#include "stdafx.h" -#include "7300bWav.h" -#include "7300bWavDlg.h" -#include "CardIDDlg.h" - -#ifdef _DEBUG -#define new DEBUG_NEW -#endif - - -// C7300bWavApp - -BEGIN_MESSAGE_MAP(C7300bWavApp, CWinAppEx) - ON_COMMAND(ID_HELP, &CWinApp::OnHelp) -END_MESSAGE_MAP() - - -// C7300bWavApp construction - -C7300bWavApp::C7300bWavApp() -{ - // TODO: add construction code here, - // Place all significant initialization in InitInstance -} - - -// The one and only C7300bWavApp object - -C7300bWavApp theApp; - - -// C7300bWavApp initialization - -BOOL C7300bWavApp::InitInstance() -{ - int nCardID = 0; - I16 hCard; - CString strTemp; - INT_PTR nResponse; - - // InitCommonControlsEx() is required on Windows XP if an application - // manifest specifies use of ComCtl32.dll version 6 or later to enable - // visual styles. Otherwise, any window creation will fail. - INITCOMMONCONTROLSEX InitCtrls; - InitCtrls.dwSize = sizeof(InitCtrls); - // Set this to include all the common control classes you want to use - // in your application. - InitCtrls.dwICC = ICC_WIN95_CLASSES; - InitCommonControlsEx(&InitCtrls); - - CWinAppEx::InitInstance(); - - AfxEnableControlContainer(); - - // Standard initialization - // If you are not using these features and wish to reduce the size - // of your final executable, you should remove from the following - // the specific initialization routines you do not need - // Change the registry key under which our settings are stored - // TODO: You should modify this string to be something appropriate - // such as the name of your company or organization - SetRegistryKey(_T("Local AppWizard-Generated Applications")); - - CCardIDDlg CardDlg( nCardID ); - - nResponse = CardDlg.DoModal(); - if (nResponse == IDOK) - { - nCardID = CardDlg.GetCardID(); - - if ((hCard=Register_Card(PCI_7300A_RevB, nCardID)) < 0) - { - strTemp.Format( TEXT("Register_Card Error = %d"), hCard); - AfxMessageBox( strTemp ); - } - else - { - C7300bWavDlg dlg(hCard); - m_pMainWnd = &dlg; - nResponse = dlg.DoModal(); - if (nResponse == IDOK) - { - // TODO: Place code here to handle when the dialog is - // dismissed with OK - } - else if (nResponse == IDCANCEL) - { - // TODO: Place code here to handle when the dialog is - // dismissed with Cancel - } - - if (hCard >= 0) Release_Card(hCard); - } - - } - else if (nResponse == IDCANCEL) - { - // TODO: Place code here to handle when the dialog is - // dismissed with Cancel - } - - - // Since the dialog has been closed, return FALSE so that we exit the - // application, rather than start the application's message pump. - return FALSE; -} diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7300B/SDK7300bWave/7300bWav.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7300B/SDK7300bWave/7300bWav.h deleted file mode 100644 index 4fe0c56..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7300B/SDK7300bWave/7300bWav.h +++ /dev/null @@ -1,32 +0,0 @@ - -// 7300bWav.h : main header file for the PROJECT_NAME application -// - -#pragma once - -#ifndef __AFXWIN_H__ - #error "include 'stdafx.h' before including this file for PCH" -#endif - -#include "resource.h" // main symbols - - -// C7300bWavApp: -// See 7300bWav.cpp for the implementation of this class -// - -class C7300bWavApp : public CWinAppEx -{ -public: - C7300bWavApp(); - -// Overrides - public: - virtual BOOL InitInstance(); - -// Implementation - - DECLARE_MESSAGE_MAP() -}; - -extern C7300bWavApp theApp; \ No newline at end of file diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7300B/SDK7300bWave/7300bWav.rc b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7300B/SDK7300bWave/7300bWav.rc deleted file mode 100644 index 91f4a52..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7300B/SDK7300bWave/7300bWav.rc +++ /dev/null @@ -1,280 +0,0 @@ -// Microsoft Visual C++ generated resource script. -// -#include "resource.h" - -#define APSTUDIO_READONLY_SYMBOLS -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 2 resource. -// -#ifndef APSTUDIO_INVOKED -#include "targetver.h" -#endif -#include "afxres.h" - -///////////////////////////////////////////////////////////////////////////// -#undef APSTUDIO_READONLY_SYMBOLS - -///////////////////////////////////////////////////////////////////////////// -// Chinese (Taiwan) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_CHT) -#ifdef _WIN32 -LANGUAGE LANG_CHINESE, SUBLANG_CHINESE_TRADITIONAL -#pragma code_page(950) -#endif //_WIN32 - -#ifdef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// TEXTINCLUDE -// - -1 TEXTINCLUDE -BEGIN - "resource.h\0" -END - -2 TEXTINCLUDE -BEGIN - "#ifndef APSTUDIO_INVOKED\r\n" - "#include ""targetver.h""\r\n" - "#endif\r\n" - "#include ""afxres.h""\r\n" - "\0" -END - -3 TEXTINCLUDE -BEGIN - "#define _AFX_NO_SPLITTER_RESOURCES\r\n" - "#define _AFX_NO_OLE_RESOURCES\r\n" - "#define _AFX_NO_TRACKER_RESOURCES\r\n" - "#define _AFX_NO_PROPERTY_RESOURCES\r\n" - "\r\n" - "#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)\r\n" - "LANGUAGE 9, 1\r\n" - "#pragma code_page(1252)\r\n" - "#include ""res\\My7300bWav.rc2"" // non-Microsoft Visual C++ edited resources\r\n" - "#include ""afxres.rc"" // Standard components\r\n" - "#endif\r\n" - "\0" -END - -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// Icon -// - -// Icon with lowest ID value placed first to ensure application icon -// remains consistent on all systems. -IDR_MAINFRAME ICON "res\\7300bWav.ico" -#endif // Chinese (Taiwan) resources -///////////////////////////////////////////////////////////////////////////// - - -///////////////////////////////////////////////////////////////////////////// -// English (U.S.) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -#ifdef _WIN32 -LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US -#pragma code_page(1252) -#endif //_WIN32 - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog -// - -IDD_ABOUTBOX DIALOGEX 0, 0, 170, 62 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "About 7300bWav" -FONT 8, "MS Shell Dlg", 0, 0, 0x1 -BEGIN - ICON IDR_MAINFRAME,IDC_STATIC,14,14,21,20 - LTEXT "7300bWav, Version 1.0",IDC_STATIC,42,14,114,8,SS_NOPREFIX - LTEXT "Copyright (C) 2010",IDC_STATIC,42,26,114,8 - DEFPUSHBUTTON "OK",IDOK,113,41,50,14,WS_GROUP -END - -IDD_MY7300bWav_DIALOG DIALOGEX 0, 0, 376, 218 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU -EXSTYLE WS_EX_APPWINDOW -CAPTION "PCI-7300A Rev.B DMA" -FONT 8, "MS Shell Dlg", 0, 0, 0x1 -BEGIN - GROUPBOX "",IDC_STATIC_DRAW,71,30,293,138,NOT WS_VISIBLE - EDITTEXT IDC_EDIT_SAMPLE,230,176,51,12,ES_AUTOHSCROLL - LTEXT "DI Samples :",IDC_STATIC,181,177,45,9 - PUSHBUTTON "Start",IDC_BT_START,315,174,48,17 - PUSHBUTTON "Stop",IDC_BT_STOP,315,193,48,17 - LTEXT "The configuration is set as DI16DO16. This sample performs DMA DI is 10MHz and DMA DO in 5MHz rate simultaneously. The output data is a sine wave. The input data is shown in panel below.",IDC_STATIC,13,9,343,20 -END - -IDD_CARDID_DIALOG DIALOGEX 0, 0, 170, 89 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "Card ID" -FONT 8, "MS Shell Dlg", 400, 0, 0x1 -BEGIN - COMBOBOX IDC_COMBO_CARDID,75,17,71,126,CBS_DROPDOWN | WS_VSCROLL | WS_TABSTOP - LTEXT "Card Number",IDC_STATIC_01,21,18,46,12 - PUSHBUTTON "OK",IDOK,22,50,58,19 - PUSHBUTTON "CANCEL",IDCANCEL,86,50,58,19 -END - - -///////////////////////////////////////////////////////////////////////////// -// -// Version -// - -VS_VERSION_INFO VERSIONINFO - FILEVERSION 1,0,0,1 - PRODUCTVERSION 1,0,0,1 - FILEFLAGSMASK 0x3fL -#ifdef _DEBUG - FILEFLAGS 0x1L -#else - FILEFLAGS 0x0L -#endif - FILEOS 0x4L - FILETYPE 0x1L - FILESUBTYPE 0x0L -BEGIN - BLOCK "StringFileInfo" - BEGIN - BLOCK "040904e4" - BEGIN - VALUE "CompanyName", "TODO: " - VALUE "FileDescription", "TODO: " - VALUE "FileVersion", "1.0.0.1" - VALUE "InternalName", "7300bWav.exe" - VALUE "LegalCopyright", "TODO: (c) . All rights reserved." - VALUE "OriginalFilename", "7300bWav.exe" - VALUE "ProductName", "TODO: " - VALUE "ProductVersion", "1.0.0.1" - END - END - BLOCK "VarFileInfo" - BEGIN - VALUE "Translation", 0x409, 1252 - END -END - - -///////////////////////////////////////////////////////////////////////////// -// -// DESIGNINFO -// - -#ifdef APSTUDIO_INVOKED -GUIDELINES DESIGNINFO -BEGIN - IDD_ABOUTBOX, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 163 - TOPMARGIN, 7 - BOTTOMMARGIN, 55 - END - - IDD_MY7300bWav_DIALOG, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 369 - TOPMARGIN, 7 - BOTTOMMARGIN, 211 - END - - IDD_CARDID_DIALOG, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 163 - TOPMARGIN, 7 - BOTTOMMARGIN, 82 - END -END -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog Info -// - -IDD_CARDID_DIALOG DLGINIT -BEGIN - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0030, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0031, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0032, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0033, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0034, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0035, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0036, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0037, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0038, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0039, - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3031, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3131, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3231, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3331, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3431, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3531, "\000" - 0 -END - - -///////////////////////////////////////////////////////////////////////////// -// -// String Table -// - -STRINGTABLE -BEGIN - IDS_ABOUTBOX "&About 7300bWav..." -END - -#endif // English (U.S.) resources -///////////////////////////////////////////////////////////////////////////// - - - -#ifndef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 3 resource. -// -#define _AFX_NO_SPLITTER_RESOURCES -#define _AFX_NO_OLE_RESOURCES -#define _AFX_NO_TRACKER_RESOURCES -#define _AFX_NO_PROPERTY_RESOURCES - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -LANGUAGE 9, 1 -#pragma code_page(1252) -#include "res\My7300bWav.rc2" // non-Microsoft Visual C++ edited resources -#include "afxres.rc" // Standard components -#endif - -///////////////////////////////////////////////////////////////////////////// -#endif // not APSTUDIO_INVOKED - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7300B/SDK7300bWave/7300bWav.sln b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7300B/SDK7300bWave/7300bWav.sln deleted file mode 100644 index 839b04c..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7300B/SDK7300bWave/7300bWav.sln +++ /dev/null @@ -1,20 +0,0 @@ - -Microsoft Visual Studio Solution File, Format Version 10.00 -# Visual Studio 2008 -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "7300bWav", "7300bWav.vcproj", "{EBDB6610-7CE5-413C-A150-121068BFDB22}" -EndProject -Global - GlobalSection(SolutionConfigurationPlatforms) = preSolution - Debug|x64 = Debug|x64 - Release|x64 = Release|x64 - EndGlobalSection - GlobalSection(ProjectConfigurationPlatforms) = postSolution - {EBDB6610-7CE5-413C-A150-121068BFDB22}.Debug|x64.ActiveCfg = Debug|x64 - {EBDB6610-7CE5-413C-A150-121068BFDB22}.Debug|x64.Build.0 = Debug|x64 - {EBDB6610-7CE5-413C-A150-121068BFDB22}.Release|x64.ActiveCfg = Release|x64 - {EBDB6610-7CE5-413C-A150-121068BFDB22}.Release|x64.Build.0 = Release|x64 - EndGlobalSection - GlobalSection(SolutionProperties) = preSolution - HideSolutionNode = FALSE - EndGlobalSection -EndGlobal diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7300B/SDK7300bWave/7300bWav.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7300B/SDK7300bWave/7300bWav.suo deleted file mode 100644 index b6ba398..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7300B/SDK7300bWave/7300bWav.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7300B/SDK7300bWave/7300bWav.vcproj b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7300B/SDK7300bWave/7300bWav.vcproj deleted file mode 100644 index 28502ba..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7300B/SDK7300bWave/7300bWav.vcproj +++ /dev/null @@ -1,286 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7300B/SDK7300bWave/7300bWavDlg.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7300B/SDK7300bWave/7300bWavDlg.cpp deleted file mode 100644 index b403e04..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7300B/SDK7300bWave/7300bWavDlg.cpp +++ /dev/null @@ -1,474 +0,0 @@ - -// 7300bWavDlg.cpp : implementation file -// - -#include "stdafx.h" -#include "7300bWav.h" -#include "7300bWavDlg.h" -#include "math.h" - -#ifndef M_PI -#define M_PI 3.14159265359 -#endif - -#define MAX_SIZE 1024000 //in words - -#ifdef _DEBUG -#define new DEBUG_NEW -#endif - -CRect plotRect; - -#define PCI7300_DIO_STATUS_TIMER 1 - -U16 gInBuf[MAX_SIZE], gOutBuf[MAX_SIZE]; - -// CAboutDlg dialog used for App About - -class CAboutDlg : public CDialog -{ -public: - CAboutDlg(); - -// Dialog Data - enum { IDD = IDD_ABOUTBOX }; - - protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - -// Implementation -protected: - DECLARE_MESSAGE_MAP() -}; - -CAboutDlg::CAboutDlg() : CDialog(CAboutDlg::IDD) -{ -} - -void CAboutDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); -} - -BEGIN_MESSAGE_MAP(CAboutDlg, CDialog) -END_MESSAGE_MAP() - - -// C7300bWavDlg dialog - - - - -C7300bWavDlg::C7300bWavDlg(I16 hCard, CWnd* pParent /*=NULL*/) - : CDialog(C7300bWavDlg::IDD, pParent) -{ - m_hIcon = AfxGetApp()->LoadIcon(IDR_MAINFRAME); - - m_hCard = hCard; - - OnBrush = OffBrush = NULL; - - n_PlotWidth = -1; - n_PlotHeight = -1; - - min_val = 0x00; - max_val = 0xFFFF; - - m_dwDISamples = 100000; - - m_nTimer = -1; - -} - -void C7300bWavDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); -} - -BEGIN_MESSAGE_MAP(C7300bWavDlg, CDialog) - ON_WM_SYSCOMMAND() - ON_WM_PAINT() - ON_WM_QUERYDRAGICON() - //}}AFX_MSG_MAP - ON_WM_DESTROY() - ON_BN_CLICKED(IDC_BT_START, &C7300bWavDlg::OnStart) - ON_BN_CLICKED(IDC_BT_STOP, &C7300bWavDlg::OnStop) - ON_WM_TIMER() -// ON_WM_VSCROLL() -END_MESSAGE_MAP() - - -// C7300bWavDlg message handlers - -BOOL C7300bWavDlg::OnInitDialog() -{ - I16 err; - int i; - CString strTemp; - - CDialog::OnInitDialog(); - - // Add "About..." menu item to system menu. - - // IDM_ABOUTBOX must be in the system command range. - ASSERT((IDM_ABOUTBOX & 0xFFF0) == IDM_ABOUTBOX); - ASSERT(IDM_ABOUTBOX < 0xF000); - - CMenu* pSysMenu = GetSystemMenu(FALSE); - if (pSysMenu != NULL) - { - BOOL bNameValid; - CString strAboutMenu; - bNameValid = strAboutMenu.LoadString(IDS_ABOUTBOX); - ASSERT(bNameValid); - if (!strAboutMenu.IsEmpty()) - { - pSysMenu->AppendMenu(MF_SEPARATOR); - pSysMenu->AppendMenu(MF_STRING, IDM_ABOUTBOX, strAboutMenu); - } - } - - // Set the icon for this dialog. The framework does this automatically - // when the application's main window is not a dialog - SetIcon(m_hIcon, TRUE); // Set big icon - SetIcon(m_hIcon, FALSE); // Set small icon - - // TODO: Add extra initialization here - x_divider = 5; y_divider = 2; - - OnBrush = CreateSolidBrush( RGB(255,0,0) ); - OffBrush = CreateSolidBrush( RGB(125,0,0) ); - - RedPen.CreatePen( PS_SOLID, 1, RGB(255,0,0)); - GreenPen.CreatePen( PS_SOLID, 1, RGB(0,255,0)); - - if( n_PlotWidth == -1 && n_PlotHeight == -1 ) - { - ((CWnd*)GetDlgItem(IDC_STATIC_DRAW))->GetWindowRect(&plotRect); - ScreenToClient(&plotRect); - - n_PlotWidth = min( plotRect.Width(), 512); - n_PlotHeight = plotRect.Height() - 10; - } - - - // Set the default DI Sample - SetDlgItemInt( IDC_EDIT_SAMPLE, (UINT)(m_dwDISamples) ); - - err = DI_7300B_Config(m_hCard, 16, TRIG_CLK_10MHZ, P7300_WAIT_NO, P7300_TERM_ON, 0, 1, 1); - if (err != 0) - { - strTemp.Format( TEXT("DI_7300B_Config Error = %d, card=%d"), err, m_hCard); - AfxMessageBox( strTemp ); - return TRUE; - } - - err = DO_7300B_Config (m_hCard, 16, TRIG_INT_PACER, P7300_WAIT_NO, P7300_TERM_ON, 0, 0x40004000); - if (err != 0) - { - strTemp.Format( TEXT("DO_7300B_Config Error = %d, card=%d"), err, m_hCard); - AfxMessageBox( strTemp ); - return TRUE; - } - - for (i=0; i(dc.GetSafeHdc()), 0); - - // Center icon in client rectangle - int cxIcon = GetSystemMetrics(SM_CXICON); - int cyIcon = GetSystemMetrics(SM_CYICON); - CRect rect; - GetClientRect(&rect); - int x = (rect.Width() - cxIcon + 1) / 2; - int y = (rect.Height() - cyIcon + 1) / 2; - - // Draw the icon - dc.DrawIcon(x, y, m_hIcon); - } - else - { - redraw_display_area(); - CDialog::OnPaint(); - } -} - -// The system calls this function to obtain the cursor to display while the user drags -// the minimized window. -HCURSOR C7300bWavDlg::OnQueryDragIcon() -{ - return static_cast(m_hIcon); -} - - -void C7300bWavDlg::OnDestroy() -{ - U32 count; - - CDialog::OnDestroy(); - - // TODO: Add your message handler code here - if( OnBrush != NULL ) - ::DeleteObject( OnBrush ); - - if( OffBrush != NULL ) - ::DeleteObject( OffBrush ); - - RedPen.DeleteObject(); - GreenPen.DeleteObject(); - - if( m_nTimer != -1 ) - { - KillTimer( m_nTimer ); - m_nTimer = -1; - } - - DI_AsyncClear( m_hCard, &count ); -} - -void C7300bWavDlg::OnStart() -{ - // TODO: Add your control notification handler code here - U32 dwDISamples; - I16 err; - CString strMsg; - - dwDISamples = GetDlgItemInt( IDC_EDIT_SAMPLE ); - - if( dwDISamples > MAX_SIZE) - { - m_dwDISamples = MAX_SIZE; //at most 1000K samples DMA - AfxMessageBox(TEXT("This sample supports at most 1000K words DMA transfer\nOnly perform 100K words DMA transfer.")); - } - else - m_dwDISamples = dwDISamples; - - err = DI_ContReadPort (m_hCard, 0, gInBuf, m_dwDISamples, 1, ASYNCH_OP); - if (err < 0) - { - strMsg.Format(TEXT("DI_ContReadPort Error = %d"), err); - AfxMessageBox( strMsg ); - return; - } - - err = DO_ContWritePort (m_hCard, 0, gOutBuf, m_dwDISamples, 1, 5000000, ASYNCH_OP); - if (err < 0) - { - strMsg.Format(TEXT("DO_ContWritePort Error = %d"), err); - AfxMessageBox( strMsg ); - return; - } - - // clear display area - redraw_display_area(); - - if( m_nTimer == -1 ) - { - m_nTimer = SetTimer( PCI7300_DIO_STATUS_TIMER, 50, NULL ); - } - - GetDlgItem( IDC_BT_START )->EnableWindow( FALSE ); - GetDlgItem( IDC_BT_STOP )->EnableWindow( TRUE ); - -} - -void C7300bWavDlg::OnStop() -{ - // TODO: Add your control notification handler code here - U32 count; - - DI_AsyncClear(m_hCard, &count); - - GetDlgItem( IDC_BT_START )->EnableWindow( TRUE ); - GetDlgItem( IDC_BT_STOP )->EnableWindow( FALSE); -} - -void C7300bWavDlg::OnTimer(UINT_PTR nIDEvent) -{ - // TODO: Add your message handler code here and/or call default - BOOLEAN bDIStopped, bDOStopped; - U32 count; - I16 err; - - - err = DO_AsyncCheck( m_hCard, &bDOStopped, &count ); - if( bDOStopped ) - { - // reset the Button status - err = DO_AsyncClear( m_hCard, &count ); - } - - err = DI_AsyncCheck( m_hCard, &bDIStopped, &count ); - if( bDIStopped ) - { - // stop timer - KillTimer( m_nTimer ); - m_nTimer = -1; - - // reset the Button status - GetDlgItem( IDC_BT_START )->EnableWindow( TRUE ); - GetDlgItem( IDC_BT_STOP )->EnableWindow( TRUE); - - err = DI_AsyncClear( m_hCard, &count ); - - display_buffer_data(gInBuf); - } - - CDialog::OnTimer(nIDEvent); -} - - -void C7300bWavDlg::display_buffer_data(U16* pBuf) -{ - CClientDC dc_plot(this); - int nDraw_Bottom; - - int newY, oldY = -1; - int newX, oldX = -1; - U32 index, di_data; - - nDraw_Bottom = ( plotRect.bottom - 5 ); - dc_plot.SelectObject( &GreenPen ); - - for( index=0; index // MFC core and standard components -#include // MFC extensions - - -#include // MFC Automation classes - - - -#ifndef _AFX_NO_OLE_SUPPORT -#include // MFC support for Internet Explorer 4 Common Controls -#endif -#ifndef _AFX_NO_AFXCMN_SUPPORT -#include // MFC support for Windows Common Controls -#endif // _AFX_NO_AFXCMN_SUPPORT - -#include // MFC support for ribbons and control bars - - - - - - - - - -#ifdef _UNICODE -#if defined _M_IX86 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='x86' publicKeyToken='6595b64144ccf1df' language='*'\"") -#elif defined _M_IA64 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='ia64' publicKeyToken='6595b64144ccf1df' language='*'\"") -#elif defined _M_X64 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='amd64' publicKeyToken='6595b64144ccf1df' language='*'\"") -#else -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='*' publicKeyToken='6595b64144ccf1df' language='*'\"") -#endif -#endif - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7300B/SDK7300bWave/targetver.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7300B/SDK7300bWave/targetver.h deleted file mode 100644 index 11730d5..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7300B/SDK7300bWave/targetver.h +++ /dev/null @@ -1,26 +0,0 @@ - -#pragma once - -// The following macros define the minimum required platform. The minimum required platform -// is the earliest version of Windows, Internet Explorer etc. that has the necessary features to run -// your application. The macros work by enabling all features available on platform versions up to and -// including the version specified. - -// Modify the following defines if you have to target a platform prior to the ones specified below. -// Refer to MSDN for the latest info on corresponding values for different platforms. -#ifndef WINVER // Specifies that the minimum required platform is Windows Vista. -#define WINVER 0x0600 // Change this to the appropriate value to target other versions of Windows. -#endif - -#ifndef _WIN32_WINNT // Specifies that the minimum required platform is Windows Vista. -#define _WIN32_WINNT 0x0600 // Change this to the appropriate value to target other versions of Windows. -#endif - -#ifndef _WIN32_WINDOWS // Specifies that the minimum required platform is Windows 98. -#define _WIN32_WINDOWS 0x0410 // Change this to the appropriate value to target Windows Me or later. -#endif - -#ifndef _WIN32_IE // Specifies that the minimum required platform is Internet Explorer 7.0. -#define _WIN32_IE 0x0700 // Change this to the appropriate value to target other versions of IE. -#endif - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7300B/Sdk7300bMBufCallBack/7200Wav.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7300B/Sdk7300bMBufCallBack/7200Wav.suo deleted file mode 100644 index bc032e1..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7300B/Sdk7300bMBufCallBack/7200Wav.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7300B/Sdk7300bMBufCallBack/7300bWav.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7300B/Sdk7300bMBufCallBack/7300bWav.cpp deleted file mode 100644 index fe8c9ef..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7300B/Sdk7300bMBufCallBack/7300bWav.cpp +++ /dev/null @@ -1,110 +0,0 @@ - -// 7300bWav.cpp : Defines the class behaviors for the application. -// - -#include "stdafx.h" -#include "7300bWav.h" -#include "7300bWavDlg.h" -#include "CardIDDlg.h" - -#ifdef _DEBUG -#define new DEBUG_NEW -#endif - - -// C7300bWavApp - -BEGIN_MESSAGE_MAP(C7300bWavApp, CWinAppEx) - ON_COMMAND(ID_HELP, &CWinApp::OnHelp) -END_MESSAGE_MAP() - - -// C7300bWavApp construction - -C7300bWavApp::C7300bWavApp() -{ - // TODO: add construction code here, - // Place all significant initialization in InitInstance -} - - -// The one and only C7300bWavApp object - -C7300bWavApp theApp; - - -// C7300bWavApp initialization - -BOOL C7300bWavApp::InitInstance() -{ - int nCardID = 0; - I16 hCard; - CString strTemp; - INT_PTR nResponse; - - // InitCommonControlsEx() is required on Windows XP if an application - // manifest specifies use of ComCtl32.dll version 6 or later to enable - // visual styles. Otherwise, any window creation will fail. - INITCOMMONCONTROLSEX InitCtrls; - InitCtrls.dwSize = sizeof(InitCtrls); - // Set this to include all the common control classes you want to use - // in your application. - InitCtrls.dwICC = ICC_WIN95_CLASSES; - InitCommonControlsEx(&InitCtrls); - - CWinAppEx::InitInstance(); - - AfxEnableControlContainer(); - - // Standard initialization - // If you are not using these features and wish to reduce the size - // of your final executable, you should remove from the following - // the specific initialization routines you do not need - // Change the registry key under which our settings are stored - // TODO: You should modify this string to be something appropriate - // such as the name of your company or organization - SetRegistryKey(_T("Local AppWizard-Generated Applications")); - - CCardIDDlg CardDlg( nCardID ); - - nResponse = CardDlg.DoModal(); - if (nResponse == IDOK) - { - nCardID = CardDlg.GetCardID(); - - if ((hCard=Register_Card(PCI_7300A_RevB, nCardID)) < 0) - { - strTemp.Format( TEXT("Register_Card Error = %d"), hCard); - AfxMessageBox( strTemp ); - } - else - { - C7300bWavDlg dlg(hCard); - m_pMainWnd = &dlg; - nResponse = dlg.DoModal(); - if (nResponse == IDOK) - { - // TODO: Place code here to handle when the dialog is - // dismissed with OK - } - else if (nResponse == IDCANCEL) - { - // TODO: Place code here to handle when the dialog is - // dismissed with Cancel - } - - if (hCard >= 0) Release_Card(hCard); - } - - } - else if (nResponse == IDCANCEL) - { - // TODO: Place code here to handle when the dialog is - // dismissed with Cancel - } - - - // Since the dialog has been closed, return FALSE so that we exit the - // application, rather than start the application's message pump. - return FALSE; -} diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7300B/Sdk7300bMBufCallBack/7300bWav.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7300B/Sdk7300bMBufCallBack/7300bWav.h deleted file mode 100644 index 4fe0c56..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7300B/Sdk7300bMBufCallBack/7300bWav.h +++ /dev/null @@ -1,32 +0,0 @@ - -// 7300bWav.h : main header file for the PROJECT_NAME application -// - -#pragma once - -#ifndef __AFXWIN_H__ - #error "include 'stdafx.h' before including this file for PCH" -#endif - -#include "resource.h" // main symbols - - -// C7300bWavApp: -// See 7300bWav.cpp for the implementation of this class -// - -class C7300bWavApp : public CWinAppEx -{ -public: - C7300bWavApp(); - -// Overrides - public: - virtual BOOL InitInstance(); - -// Implementation - - DECLARE_MESSAGE_MAP() -}; - -extern C7300bWavApp theApp; \ No newline at end of file diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7300B/Sdk7300bMBufCallBack/7300bWav.rc b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7300B/Sdk7300bMBufCallBack/7300bWav.rc deleted file mode 100644 index e170e8c..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7300B/Sdk7300bMBufCallBack/7300bWav.rc +++ /dev/null @@ -1,285 +0,0 @@ -// Microsoft Visual C++ generated resource script. -// -#include "resource.h" - -#define APSTUDIO_READONLY_SYMBOLS -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 2 resource. -// -#ifndef APSTUDIO_INVOKED -#include "targetver.h" -#endif -#include "afxres.h" - -///////////////////////////////////////////////////////////////////////////// -#undef APSTUDIO_READONLY_SYMBOLS - -///////////////////////////////////////////////////////////////////////////// -// Chinese (Taiwan) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_CHT) -#ifdef _WIN32 -LANGUAGE LANG_CHINESE, SUBLANG_CHINESE_TRADITIONAL -#pragma code_page(950) -#endif //_WIN32 - -#ifdef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// TEXTINCLUDE -// - -1 TEXTINCLUDE -BEGIN - "resource.h\0" -END - -2 TEXTINCLUDE -BEGIN - "#ifndef APSTUDIO_INVOKED\r\n" - "#include ""targetver.h""\r\n" - "#endif\r\n" - "#include ""afxres.h""\r\n" - "\0" -END - -3 TEXTINCLUDE -BEGIN - "#define _AFX_NO_SPLITTER_RESOURCES\r\n" - "#define _AFX_NO_OLE_RESOURCES\r\n" - "#define _AFX_NO_TRACKER_RESOURCES\r\n" - "#define _AFX_NO_PROPERTY_RESOURCES\r\n" - "\r\n" - "#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)\r\n" - "LANGUAGE 9, 1\r\n" - "#pragma code_page(1252)\r\n" - "#include ""res\\My7300bWav.rc2"" // non-Microsoft Visual C++ edited resources\r\n" - "#include ""afxres.rc"" // Standard components\r\n" - "#endif\r\n" - "\0" -END - -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// Icon -// - -// Icon with lowest ID value placed first to ensure application icon -// remains consistent on all systems. -IDR_MAINFRAME ICON "res\\7300bWav.ico" -#endif // Chinese (Taiwan) resources -///////////////////////////////////////////////////////////////////////////// - - -///////////////////////////////////////////////////////////////////////////// -// English (U.S.) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -#ifdef _WIN32 -LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US -#pragma code_page(1252) -#endif //_WIN32 - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog -// - -IDD_ABOUTBOX DIALOGEX 0, 0, 170, 62 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "About 7300bWav" -FONT 8, "MS Shell Dlg", 0, 0, 0x1 -BEGIN - ICON IDR_MAINFRAME,IDC_STATIC,14,14,21,20 - LTEXT "7300bWav, Version 1.0",IDC_STATIC,42,14,114,8,SS_NOPREFIX - LTEXT "Copyright (C) 2010",IDC_STATIC,42,26,114,8 - DEFPUSHBUTTON "OK",IDOK,113,41,50,14,WS_GROUP -END - -IDD_MY7300bWav_DIALOG DIALOGEX 0, 0, 376, 239 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU -EXSTYLE WS_EX_APPWINDOW -CAPTION "PCI-7300A Rev.B DMA" -FONT 8, "MS Shell Dlg", 0, 0, 0x1 -BEGIN - GROUPBOX "",IDC_STATIC_DRAW,71,45,293,138,NOT WS_VISIBLE - EDITTEXT IDC_EDIT_SAMPLE,247,194,51,12,ES_AUTOHSCROLL - LTEXT "Buffer Size :",IDC_STATIC,199,196,45,9 - EDITTEXT IDC_EDIT_SAMPLE_RATE,115,194,32,12,ES_AUTOHSCROLL | ES_READONLY - LTEXT "Output Rate :",IDC_STATIC,63,196,49,9 - LTEXT "KHz",IDC_STATIC,159,196,15,9 - SCROLLBAR IDC_SCROLLBAR_RATE,147,194,9,11,SBS_VERT - PUSHBUTTON "Start",IDC_BT_START,315,189,48,17 - PUSHBUTTON "Stop",IDC_BT_STOP,315,208,48,17 - LTEXT "The configuration is set as DI16DO16. This sample performs DMA DI is 10MHz with 4 buffers, and DMA DO simultaneously. The output data is a sine wave. The input data is shown in panel below.",IDC_STATIC,13,9,343,20 - LTEXT "Please click ""Start"" and then click ""Stop"" to display the acquisition data ",IDC_STATIC,13,30,343,17 -END - -IDD_CARDID_DIALOG DIALOGEX 0, 0, 170, 89 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "Card ID" -FONT 8, "MS Shell Dlg", 400, 0, 0x1 -BEGIN - COMBOBOX IDC_COMBO_CARDID,75,17,71,126,CBS_DROPDOWN | WS_VSCROLL | WS_TABSTOP - LTEXT "Card Number",IDC_STATIC_01,21,18,46,12 - PUSHBUTTON "OK",IDOK,22,50,58,19 - PUSHBUTTON "CANCEL",IDCANCEL,86,50,58,19 -END - - -///////////////////////////////////////////////////////////////////////////// -// -// Version -// - -VS_VERSION_INFO VERSIONINFO - FILEVERSION 1,0,0,1 - PRODUCTVERSION 1,0,0,1 - FILEFLAGSMASK 0x3fL -#ifdef _DEBUG - FILEFLAGS 0x1L -#else - FILEFLAGS 0x0L -#endif - FILEOS 0x4L - FILETYPE 0x1L - FILESUBTYPE 0x0L -BEGIN - BLOCK "StringFileInfo" - BEGIN - BLOCK "040904e4" - BEGIN - VALUE "CompanyName", "TODO: " - VALUE "FileDescription", "TODO: " - VALUE "FileVersion", "1.0.0.1" - VALUE "InternalName", "7300bWav.exe" - VALUE "LegalCopyright", "TODO: (c) . All rights reserved." - VALUE "OriginalFilename", "7300bWav.exe" - VALUE "ProductName", "TODO: " - VALUE "ProductVersion", "1.0.0.1" - END - END - BLOCK "VarFileInfo" - BEGIN - VALUE "Translation", 0x409, 1252 - END -END - - -///////////////////////////////////////////////////////////////////////////// -// -// DESIGNINFO -// - -#ifdef APSTUDIO_INVOKED -GUIDELINES DESIGNINFO -BEGIN - IDD_ABOUTBOX, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 163 - TOPMARGIN, 7 - BOTTOMMARGIN, 55 - END - - IDD_MY7300bWav_DIALOG, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 369 - TOPMARGIN, 7 - BOTTOMMARGIN, 232 - END - - IDD_CARDID_DIALOG, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 163 - TOPMARGIN, 7 - BOTTOMMARGIN, 82 - END -END -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog Info -// - -IDD_CARDID_DIALOG DLGINIT -BEGIN - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0030, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0031, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0032, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0033, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0034, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0035, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0036, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0037, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0038, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0039, - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3031, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3131, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3231, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3331, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3431, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3531, "\000" - 0 -END - - -///////////////////////////////////////////////////////////////////////////// -// -// String Table -// - -STRINGTABLE -BEGIN - IDS_ABOUTBOX "&About 7300bWav..." -END - -#endif // English (U.S.) resources -///////////////////////////////////////////////////////////////////////////// - - - -#ifndef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 3 resource. -// -#define _AFX_NO_SPLITTER_RESOURCES -#define _AFX_NO_OLE_RESOURCES -#define _AFX_NO_TRACKER_RESOURCES -#define _AFX_NO_PROPERTY_RESOURCES - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -LANGUAGE 9, 1 -#pragma code_page(1252) -#include "res\My7300bWav.rc2" // non-Microsoft Visual C++ edited resources -#include "afxres.rc" // Standard components -#endif - -///////////////////////////////////////////////////////////////////////////// -#endif // not APSTUDIO_INVOKED - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7300B/Sdk7300bMBufCallBack/7300bWav.sln b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7300B/Sdk7300bMBufCallBack/7300bWav.sln deleted file mode 100644 index 839b04c..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7300B/Sdk7300bMBufCallBack/7300bWav.sln +++ /dev/null @@ -1,20 +0,0 @@ - -Microsoft Visual Studio Solution File, Format Version 10.00 -# Visual Studio 2008 -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "7300bWav", "7300bWav.vcproj", "{EBDB6610-7CE5-413C-A150-121068BFDB22}" -EndProject -Global - GlobalSection(SolutionConfigurationPlatforms) = preSolution - Debug|x64 = Debug|x64 - Release|x64 = Release|x64 - EndGlobalSection - GlobalSection(ProjectConfigurationPlatforms) = postSolution - {EBDB6610-7CE5-413C-A150-121068BFDB22}.Debug|x64.ActiveCfg = Debug|x64 - {EBDB6610-7CE5-413C-A150-121068BFDB22}.Debug|x64.Build.0 = Debug|x64 - {EBDB6610-7CE5-413C-A150-121068BFDB22}.Release|x64.ActiveCfg = Release|x64 - {EBDB6610-7CE5-413C-A150-121068BFDB22}.Release|x64.Build.0 = Release|x64 - EndGlobalSection - GlobalSection(SolutionProperties) = preSolution - HideSolutionNode = FALSE - EndGlobalSection -EndGlobal diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7300B/Sdk7300bMBufCallBack/7300bWav.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7300B/Sdk7300bMBufCallBack/7300bWav.suo deleted file mode 100644 index 05c31d8..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7300B/Sdk7300bMBufCallBack/7300bWav.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7300B/Sdk7300bMBufCallBack/7300bWav.vcproj b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7300B/Sdk7300bMBufCallBack/7300bWav.vcproj deleted file mode 100644 index 28502ba..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7300B/Sdk7300bMBufCallBack/7300bWav.vcproj +++ /dev/null @@ -1,286 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7300B/Sdk7300bMBufCallBack/7300bWavDlg.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7300B/Sdk7300bMBufCallBack/7300bWavDlg.cpp deleted file mode 100644 index b975e9d..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7300B/Sdk7300bMBufCallBack/7300bWavDlg.cpp +++ /dev/null @@ -1,543 +0,0 @@ - -// 7300bWavDlg.cpp : implementation file -// - -#include "stdafx.h" -#include "7300bWav.h" -#include "7300bWavDlg.h" -#include "math.h" - -#ifndef M_PI -#define M_PI 3.14159265359 -#endif - -#define MAX_SIZE 1024000 //in words - -#ifdef _DEBUG -#define new DEBUG_NEW -#endif - -CRect plotRect; - -U16 out_buf[MAX_SIZE]; -U16 in_buf[MAX_SIZE], in_buf2[MAX_SIZE], in_buf3[MAX_SIZE], in_buf4[MAX_SIZE]; - -I16 ghCard; -U16 gViewIdx; -BOOLEAN gHalfReady; -U16 db_times = 0; - - -void DI_DBCallBack() -{ - BOOLEAN HalfReady=0; - DI_AsyncMultiBufferNextReady(ghCard, &HalfReady, &gViewIdx); - - db_times = (db_times+1)%4; -} - -void DI_CallBack() -{ - U32 access_cnt; - C7300bWavApp* pMyApp; - C7300bWavDlg* pMyDlg; - - pMyApp = (C7300bWavApp*)AfxGetApp(); - pMyDlg = (C7300bWavDlg*)(pMyApp->m_pMainWnd); - - pMyDlg->display_buffer_data(); - - DO_AsyncClear(ghCard, &access_cnt); - pMyDlg->GetDlgItem(IDC_BT_START)->EnableWindow( TRUE ); - pMyDlg->GetDlgItem( IDC_BT_STOP )->EnableWindow( FALSE); -} - - - -// CAboutDlg dialog used for App About - -class CAboutDlg : public CDialog -{ -public: - CAboutDlg(); - -// Dialog Data - enum { IDD = IDD_ABOUTBOX }; - - protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - -// Implementation -protected: - DECLARE_MESSAGE_MAP() -}; - -CAboutDlg::CAboutDlg() : CDialog(CAboutDlg::IDD) -{ -} - -void CAboutDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); -} - -BEGIN_MESSAGE_MAP(CAboutDlg, CDialog) -END_MESSAGE_MAP() - - -// C7300bWavDlg dialog - - - - -C7300bWavDlg::C7300bWavDlg(I16 hCard, CWnd* pParent /*=NULL*/) - : CDialog(C7300bWavDlg::IDD, pParent) -{ - m_hIcon = AfxGetApp()->LoadIcon(IDR_MAINFRAME); - - ghCard = hCard; - - OnBrush = OffBrush = NULL; - - n_PlotWidth = -1; - n_PlotHeight = -1; - - min_val = 0x00; - max_val = 0x0000FFFF; - - m_fSampleRate = 10000.0; // 10KHz - m_dwDISamples = 100000; - -} - -void C7300bWavDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); -} - -BEGIN_MESSAGE_MAP(C7300bWavDlg, CDialog) - ON_WM_SYSCOMMAND() - ON_WM_PAINT() - ON_WM_QUERYDRAGICON() - //}}AFX_MSG_MAP - ON_WM_DESTROY() - ON_BN_CLICKED(IDC_BT_START, &C7300bWavDlg::OnStart) - ON_BN_CLICKED(IDC_BT_STOP, &C7300bWavDlg::OnStop) -// ON_WM_TIMER() - ON_WM_VSCROLL() -END_MESSAGE_MAP() - - -// C7300bWavDlg message handlers - -BOOL C7300bWavDlg::OnInitDialog() -{ - I16 err; - int i; - CString strTemp; - - CDialog::OnInitDialog(); - - // Add "About..." menu item to system menu. - - // IDM_ABOUTBOX must be in the system command range. - ASSERT((IDM_ABOUTBOX & 0xFFF0) == IDM_ABOUTBOX); - ASSERT(IDM_ABOUTBOX < 0xF000); - - CMenu* pSysMenu = GetSystemMenu(FALSE); - if (pSysMenu != NULL) - { - BOOL bNameValid; - CString strAboutMenu; - bNameValid = strAboutMenu.LoadString(IDS_ABOUTBOX); - ASSERT(bNameValid); - if (!strAboutMenu.IsEmpty()) - { - pSysMenu->AppendMenu(MF_SEPARATOR); - pSysMenu->AppendMenu(MF_STRING, IDM_ABOUTBOX, strAboutMenu); - } - } - - // Set the icon for this dialog. The framework does this automatically - // when the application's main window is not a dialog - SetIcon(m_hIcon, TRUE); // Set big icon - SetIcon(m_hIcon, FALSE); // Set small icon - - // TODO: Add extra initialization here - x_divider = 5; y_divider = 2; - - OnBrush = CreateSolidBrush( RGB(255,0,0) ); - OffBrush = CreateSolidBrush( RGB(125,0,0) ); - - RedPen.CreatePen( PS_SOLID, 1, RGB(255,0,0)); - GreenPen.CreatePen( PS_SOLID, 1, RGB(0,255,0)); - - if( n_PlotWidth == -1 && n_PlotHeight == -1 ) - { - ((CWnd*)GetDlgItem(IDC_STATIC_DRAW))->GetWindowRect(&plotRect); - ScreenToClient(&plotRect); - - n_PlotWidth = min( plotRect.Width(), 512); - n_PlotHeight = plotRect.Height() - 10; - } - - // set the default SampleRate - SetDlgItemInt( IDC_EDIT_SAMPLE_RATE, (UINT)(m_fSampleRate/1000) ); - - // Set the default DI Sample - SetDlgItemInt( IDC_EDIT_SAMPLE, (UINT)(m_dwDISamples) ); - - err = DI_7300B_Config(ghCard, 16, TRIG_CLK_10MHZ, P7300_WAIT_NO, P7300_TERM_ON, 0, 0, 0); - if (err != 0) - { - strTemp.Format( TEXT("DI_7300B_Config Error = %d, card=%d"), err, ghCard); - AfxMessageBox( strTemp ); - return TRUE; - } - - err = DO_7300B_Config (ghCard, 16, TRIG_INT_PACER, P7300_WAIT_NO, P7300_TERM_ON, 0, 0x00040004); - if (err != 0) - { - strTemp.Format( TEXT("DO_7300B_Config Error = %d, card=%d"), err, ghCard); - AfxMessageBox( strTemp ); - return TRUE; - } - - for (i=0; i(dc.GetSafeHdc()), 0); - - // Center icon in client rectangle - int cxIcon = GetSystemMetrics(SM_CXICON); - int cyIcon = GetSystemMetrics(SM_CYICON); - CRect rect; - GetClientRect(&rect); - int x = (rect.Width() - cxIcon + 1) / 2; - int y = (rect.Height() - cyIcon + 1) / 2; - - // Draw the icon - dc.DrawIcon(x, y, m_hIcon); - } - else - { - redraw_display_area(); - CDialog::OnPaint(); - } -} - -// The system calls this function to obtain the cursor to display while the user drags -// the minimized window. -HCURSOR C7300bWavDlg::OnQueryDragIcon() -{ - return static_cast(m_hIcon); -} - - -void C7300bWavDlg::OnDestroy() -{ - CDialog::OnDestroy(); - - // TODO: Add your message handler code here - if( OnBrush != NULL ) - ::DeleteObject( OnBrush ); - - if( OffBrush != NULL ) - ::DeleteObject( OffBrush ); - - RedPen.DeleteObject(); - GreenPen.DeleteObject(); - - DI_ContMultiBufferReset( ghCard ); - -} - -void C7300bWavDlg::OnStart() -{ - // TODO: Add your control notification handler code here - U32 dwDISamples; - U16 BufferId; - I16 err; - CString strMsg; - - dwDISamples = GetDlgItemInt( IDC_EDIT_SAMPLE ); - if( (dwDISamples*2) > MAX_SIZE) - { - m_dwDISamples = (MAX_SIZE/2); - AfxMessageBox(TEXT("This sample supports at most 512K words DMA transfer\nOnly perform 100K words DMA transfer.")); - } - else - m_dwDISamples = dwDISamples; - - //setting the DMA buffers - err = DI_ContMultiBufferSetup (ghCard, in_buf, m_dwDISamples, &BufferId); - if (err < 0) - { - strMsg.Format(TEXT("DI_ContMultiBufferSetup Error = %d"), err); - AfxMessageBox( strMsg ); - return; - } - - err = DI_ContMultiBufferSetup (ghCard, in_buf2, m_dwDISamples, &BufferId); - if (err < 0) - { - strMsg.Format(TEXT("DI_ContMultiBufferSetup Error = %d"), err); - AfxMessageBox( strMsg ); - return; - } - - err = DI_ContMultiBufferSetup (ghCard, in_buf3, m_dwDISamples, &BufferId); - if (err < 0) - { - strMsg.Format(TEXT("DI_ContMultiBufferSetup Error = %d"), err); - AfxMessageBox( strMsg ); - return; - } - - err = DI_ContMultiBufferSetup (ghCard, in_buf4, m_dwDISamples, &BufferId); - if (err < 0) - { - strMsg.Format(TEXT("DI_ContMultiBufferSetup Error = %d"), err); - AfxMessageBox( strMsg ); - return; - } - - DI_EventCallBack_x64 (ghCard, 1, DIEnd, (ULONG_PTR) DI_CallBack ); - DI_EventCallBack_x64 (ghCard, 1, DBEvent, (ULONG_PTR) DI_DBCallBack ); - - db_times = 0; - err = DO_ContWritePort (ghCard, 0, out_buf, 2*m_dwDISamples, 0, 5000000, ASYNCH_OP); - if (err < 0) - { - strMsg.Format(TEXT("DO_ContWritePort Error = %d"), err); - AfxMessageBox( strMsg ); - return; - } - - - // start multi-buffered DI - err = DI_ContMultiBufferStart (ghCard, 0, 1); - if (err < 0) - { - strMsg.Format(TEXT("DI_ContMultiBufferStart Error = %d"), err); - AfxMessageBox( strMsg ); - return; - } - - // clear display area - redraw_display_area(); - - GetDlgItem( IDC_BT_START )->EnableWindow( FALSE ); - GetDlgItem( IDC_BT_STOP )->EnableWindow( TRUE ); - -} - -void C7300bWavDlg::OnStop() -{ - // TODO: Add your control notification handler code here - U32 count; - - DI_AsyncClear(ghCard, &count); - - GetDlgItem( IDC_BT_START )->EnableWindow( TRUE ); - GetDlgItem( IDC_BT_STOP )->EnableWindow( FALSE); - -} - - -void C7300bWavDlg::display_buffer_data(void) -{ - CClientDC dc_plot(this); - int nDraw_Bottom, j; - - int newY, oldY = -1; - int newX, oldX = -1; - U32 index, di_data; - - nDraw_Bottom = ( plotRect.bottom - 5 ); - dc_plot.SelectObject( &GreenPen ); - - for(j=0; j<4; j++) - { - - for (index=0; index 200000.0 ) m_fSampleRate = 200000.0; - break; - case SB_LINEDOWN: - m_fSampleRate -= 10000; - if (m_fSampleRate < 10000.0 ) m_fSampleRate = 10000.0; - break; - } - - - SetDlgItemInt( IDC_EDIT_SAMPLE_RATE, (UINT)(m_fSampleRate/1000) ); - - CDialog::OnVScroll(nSBCode, nPos, pScrollBar); -} diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7300B/Sdk7300bMBufCallBack/7300bWavDlg.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7300B/Sdk7300bMBufCallBack/7300bWavDlg.h deleted file mode 100644 index 979041c..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7300B/Sdk7300bMBufCallBack/7300bWavDlg.h +++ /dev/null @@ -1,66 +0,0 @@ - -// 7300bWavDlg.h : header file -// -#include "Dask64.h" - -#ifdef __cplusplus -extern "C" { -#endif - -SHORT __stdcall DI_ContMultiBufferReset(USHORT wCardNumber); - -#ifdef __cplusplus -} -#endif - -#pragma once - - -// C7300bWavDlg dialog -class C7300bWavDlg : public CDialog -{ -// Construction -public: - C7300bWavDlg(I16 hCard, CWnd* pParent = NULL); // standard constructor - -// Dialog Data - enum { IDD = IDD_MY7300bWav_DIALOG }; - - protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - - -// Implementation -protected: - HICON m_hIcon; - U32 m_dwDISamples; - HBRUSH OnBrush; - HBRUSH OffBrush; - CPen RedPen; - CPen GreenPen; - DWORD max_val; - DWORD min_val; - int y_divider; - int x_divider; - int m_DisplayScale; - double m_fSampleRate; - - // Generated message map functions - virtual BOOL OnInitDialog(); - afx_msg void OnSysCommand(UINT nID, LPARAM lParam); - afx_msg void OnPaint(); - afx_msg HCURSOR OnQueryDragIcon(); - DECLARE_MESSAGE_MAP() -public: - afx_msg void OnDestroy(); - afx_msg void OnStart(); - afx_msg void OnStop(); -// afx_msg void OnTimer(UINT_PTR nIDEvent); - void display_buffer_data(void); - void redraw_display_area(void); - afx_msg void OnVScroll(UINT nSBCode, UINT nPos, CScrollBar* pScrollBar); - -private: - int n_PlotHeight; - int n_PlotWidth; -}; diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7300B/Sdk7300bMBufCallBack/CardIDDlg.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7300B/Sdk7300bMBufCallBack/CardIDDlg.cpp deleted file mode 100644 index ce7145c..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7300B/Sdk7300bMBufCallBack/CardIDDlg.cpp +++ /dev/null @@ -1,67 +0,0 @@ -// CardIDDlg.cpp : implementation file -// - -#include "stdafx.h" -#include "7300bWav.h" -#include "CardIDDlg.h" - - -// CCardIDDlg dialog - -IMPLEMENT_DYNAMIC(CCardIDDlg, CDialog) - -CCardIDDlg::CCardIDDlg(int nCardIdx, CWnd* pParent /*=NULL*/) - : CDialog(CCardIDDlg::IDD, pParent) -{ - m_nCardIdx = nCardIdx; -} - -CCardIDDlg::~CCardIDDlg() -{ -} - -void CCardIDDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); - DDX_Control(pDX, IDC_COMBO_CARDID, m_cbCardID); -} - - -BEGIN_MESSAGE_MAP(CCardIDDlg, CDialog) -// ON_CBN_SELCHANGE(IDC_COMBO_CARDID, &CCardIDDlg::OnCbnSelchangeComboCardid) -ON_BN_CLICKED(IDOK, &CCardIDDlg::OnBnClickedOk) -//ON_WM_CTLCOLOR() -END_MESSAGE_MAP() - - -// CCardIDDlg message handlers - - -void CCardIDDlg::OnBnClickedOk() -{ - // TODO: Add your control notification handler code here - -// UpdateData(TRUE); - m_nCardIdx = m_cbCardID.GetCurSel(); - - OnOK(); -} - -BOOL CCardIDDlg::OnInitDialog() -{ - CDialog::OnInitDialog(); - - // TODO: Add extra initialization here - m_cbCardID.SetCurSel( m_nCardIdx ); - - return TRUE; // return TRUE unless you set the focus to a control - // EXCEPTION: OCX Property Pages should return FALSE -} - -// the function to get the selected CardID -int CCardIDDlg::GetCardID(void) -{ - return m_nCardIdx; -} - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7300B/Sdk7300bMBufCallBack/CardIDDlg.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7300B/Sdk7300bMBufCallBack/CardIDDlg.h deleted file mode 100644 index 54628ea..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7300B/Sdk7300bMBufCallBack/CardIDDlg.h +++ /dev/null @@ -1,33 +0,0 @@ -#pragma once -#include "afxwin.h" - - -// CCardIDDlg dialog - -class CCardIDDlg : public CDialog -{ - DECLARE_DYNAMIC(CCardIDDlg) - -public: - CCardIDDlg(int nCardIdx, CWnd* pParent = NULL); // standard constructor - virtual ~CCardIDDlg(); - -// Dialog Data - enum { IDD = IDD_CARDID_DIALOG }; - -protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - - DECLARE_MESSAGE_MAP() -public: -// afx_msg void OnCbnSelchangeComboCardid(); - afx_msg void OnBnClickedOk(); - // the setting of CardID ComboBox - int m_nCardIdx; - virtual BOOL OnInitDialog(); - // the control of CardID ComboBox - CComboBox m_cbCardID; - // the function to get the selected CardID - int GetCardID(void); -// afx_msg HBRUSH OnCtlColor(CDC* pDC, CWnd* pWnd, UINT nCtlColor); -}; diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7300B/Sdk7300bMBufCallBack/ReadMe.txt b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7300B/Sdk7300bMBufCallBack/ReadMe.txt deleted file mode 100644 index 11ab98b..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7300B/Sdk7300bMBufCallBack/ReadMe.txt +++ /dev/null @@ -1,93 +0,0 @@ -================================================================================ - MICROSOFT FOUNDATION CLASS LIBRARY : 7300bWav Project Overview -=============================================================================== - -The application wizard has created this 7300bWav application for -you. This application not only demonstrates the basics of using the Microsoft -Foundation Classes but is also a starting point for writing your application. - -This file contains a summary of what you will find in each of the files that -make up your 7300bWav application. - -7300bWav.vcproj - This is the main project file for VC++ projects generated using an application wizard. - It contains information about the version of Visual C++ that generated the file, and - information about the platforms, configurations, and project features selected with the - application wizard. - -7300bWav.h - This is the main header file for the application. It includes other - project specific headers (including Resource.h) and declares the - C7300bWavApp application class. - -7300bWav.cpp - This is the main application source file that contains the application - class C7300bWavApp. - -7300bWav.rc - This is a listing of all of the Microsoft Windows resources that the - program uses. It includes the icons, bitmaps, and cursors that are stored - in the RES subdirectory. This file can be directly edited in Microsoft - Visual C++. Your project resources are in 1033. - -res\7300bWav.ico - This is an icon file, which is used as the application's icon. This - icon is included by the main resource file 7300bWav.rc. - -res\My7300bWav.rc2 - This file contains resources that are not edited by Microsoft - Visual C++. You should place all resources not editable by - the resource editor in this file. - - -///////////////////////////////////////////////////////////////////////////// - -The application wizard creates one dialog class: - -7300bWavDlg.h, 7300bWavDlg.cpp - the dialog - These files contain your C7300bWavDlg class. This class defines - the behavior of your application's main dialog. The dialog's template is - in 7300bWav.rc, which can be edited in Microsoft Visual C++. - - -///////////////////////////////////////////////////////////////////////////// - -Other Features: - -ActiveX Controls - The application includes support to use ActiveX controls. - -///////////////////////////////////////////////////////////////////////////// - -Other standard files: - -StdAfx.h, StdAfx.cpp - These files are used to build a precompiled header (PCH) file - named 7300bWav.pch and a precompiled types file named StdAfx.obj. - -Resource.h - This is the standard header file, which defines new resource IDs. - Microsoft Visual C++ reads and updates this file. - -7300bWav.manifest - Application manifest files are used by Windows XP to describe an applications - dependency on specific versions of Side-by-Side assemblies. The loader uses this - information to load the appropriate assembly from the assembly cache or private - from the application. The Application manifest maybe included for redistribution - as an external .manifest file that is installed in the same folder as the application - executable or it may be included in the executable in the form of a resource. -///////////////////////////////////////////////////////////////////////////// - -Other notes: - -The application wizard uses "TODO:" to indicate parts of the source code you -should add to or customize. - -If your application uses MFC in a shared DLL, you will need -to redistribute the MFC DLLs. If your application is in a language -other than the operating system's locale, you will also have to -redistribute the corresponding localized resources MFC90XXX.DLL. -For more information on both of these topics, please see the section on -redistributing Visual C++ applications in MSDN documentation. - -///////////////////////////////////////////////////////////////////////////// diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7300B/Sdk7300bMBufCallBack/res/7300bWav.ico b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7300B/Sdk7300bMBufCallBack/res/7300bWav.ico deleted file mode 100644 index d56fbcd..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7300B/Sdk7300bMBufCallBack/res/7300bWav.ico and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7300B/Sdk7300bMBufCallBack/res/My7300bWav.rc2 b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7300B/Sdk7300bMBufCallBack/res/My7300bWav.rc2 deleted file mode 100644 index 440d4a5..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7300B/Sdk7300bMBufCallBack/res/My7300bWav.rc2 +++ /dev/null @@ -1,13 +0,0 @@ -// -// My7200Wav.RC2 - resources Microsoft Visual C++ does not edit directly -// - -#ifdef APSTUDIO_INVOKED -#error this file is not editable by Microsoft Visual C++ -#endif //APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// Add manually edited resources here... - -///////////////////////////////////////////////////////////////////////////// diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7300B/Sdk7300bMBufCallBack/resource.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7300B/Sdk7300bMBufCallBack/resource.h deleted file mode 100644 index b308a5f..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7300B/Sdk7300bMBufCallBack/resource.h +++ /dev/null @@ -1,29 +0,0 @@ -//{{NO_DEPENDENCIES}} -// Microsoft Visual C++ generated include file. -// Used by 7300bWav.rc -// -#define IDM_ABOUTBOX 0x0010 -#define IDD_ABOUTBOX 100 -#define IDS_ABOUTBOX 101 -#define IDD_MY7300bWav_DIALOG 102 -#define IDR_MAINFRAME 128 -#define IDD_CARDID_DIALOG 129 -#define IDC_STATIC_DRAW 1000 -#define IDC_EDIT_SAMPLE 1001 -#define IDC_EDIT_SAMPLE_RATE 1003 -#define IDC_SCROLLBAR_RATE 1006 -#define IDC_COMBO_CARDID 1007 -#define IDC_BT_START 1008 -#define IDC_BT_STOP 1009 -#define IDC_STATIC_01 1014 - -// Next default values for new objects -// -#ifdef APSTUDIO_INVOKED -#ifndef APSTUDIO_READONLY_SYMBOLS -#define _APS_NEXT_RESOURCE_VALUE 131 -#define _APS_NEXT_COMMAND_VALUE 32771 -#define _APS_NEXT_CONTROL_VALUE 1000 -#define _APS_NEXT_SYMED_VALUE 101 -#endif -#endif diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7300B/Sdk7300bMBufCallBack/stdafx.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7300B/Sdk7300bMBufCallBack/stdafx.cpp deleted file mode 100644 index 096af95..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7300B/Sdk7300bMBufCallBack/stdafx.cpp +++ /dev/null @@ -1,8 +0,0 @@ - -// stdafx.cpp : source file that includes just the standard includes -// 7300bWav.pch will be the pre-compiled header -// stdafx.obj will contain the pre-compiled type information - -#include "stdafx.h" - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7300B/Sdk7300bMBufCallBack/stdafx.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7300B/Sdk7300bMBufCallBack/stdafx.h deleted file mode 100644 index 12123e2..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7300B/Sdk7300bMBufCallBack/stdafx.h +++ /dev/null @@ -1,60 +0,0 @@ - -// stdafx.h : include file for standard system include files, -// or project specific include files that are used frequently, -// but are changed infrequently - -#pragma once - -#ifndef _SECURE_ATL -#define _SECURE_ATL 1 -#endif - -#ifndef VC_EXTRALEAN -#define VC_EXTRALEAN // Exclude rarely-used stuff from Windows headers -#endif - -#include "targetver.h" - -#define _ATL_CSTRING_EXPLICIT_CONSTRUCTORS // some CString constructors will be explicit - -// turns off MFC's hiding of some common and often safely ignored warning messages -#define _AFX_ALL_WARNINGS - -#include // MFC core and standard components -#include // MFC extensions - - -#include // MFC Automation classes - - - -#ifndef _AFX_NO_OLE_SUPPORT -#include // MFC support for Internet Explorer 4 Common Controls -#endif -#ifndef _AFX_NO_AFXCMN_SUPPORT -#include // MFC support for Windows Common Controls -#endif // _AFX_NO_AFXCMN_SUPPORT - -#include // MFC support for ribbons and control bars - - - - - - - - - -#ifdef _UNICODE -#if defined _M_IX86 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='x86' publicKeyToken='6595b64144ccf1df' language='*'\"") -#elif defined _M_IA64 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='ia64' publicKeyToken='6595b64144ccf1df' language='*'\"") -#elif defined _M_X64 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='amd64' publicKeyToken='6595b64144ccf1df' language='*'\"") -#else -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='*' publicKeyToken='6595b64144ccf1df' language='*'\"") -#endif -#endif - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7300B/Sdk7300bMBufCallBack/targetver.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7300B/Sdk7300bMBufCallBack/targetver.h deleted file mode 100644 index 11730d5..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7300B/Sdk7300bMBufCallBack/targetver.h +++ /dev/null @@ -1,26 +0,0 @@ - -#pragma once - -// The following macros define the minimum required platform. The minimum required platform -// is the earliest version of Windows, Internet Explorer etc. that has the necessary features to run -// your application. The macros work by enabling all features available on platform versions up to and -// including the version specified. - -// Modify the following defines if you have to target a platform prior to the ones specified below. -// Refer to MSDN for the latest info on corresponding values for different platforms. -#ifndef WINVER // Specifies that the minimum required platform is Windows Vista. -#define WINVER 0x0600 // Change this to the appropriate value to target other versions of Windows. -#endif - -#ifndef _WIN32_WINNT // Specifies that the minimum required platform is Windows Vista. -#define _WIN32_WINNT 0x0600 // Change this to the appropriate value to target other versions of Windows. -#endif - -#ifndef _WIN32_WINDOWS // Specifies that the minimum required platform is Windows 98. -#define _WIN32_WINDOWS 0x0410 // Change this to the appropriate value to target Windows Me or later. -#endif - -#ifndef _WIN32_IE // Specifies that the minimum required platform is Internet Explorer 7.0. -#define _WIN32_IE 0x0700 // Change this to the appropriate value to target other versions of IE. -#endif - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7300B/Sdk7300bMBufDO/7200Wav.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7300B/Sdk7300bMBufDO/7200Wav.suo deleted file mode 100644 index bc032e1..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7300B/Sdk7300bMBufDO/7200Wav.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7300B/Sdk7300bMBufDO/7300bWav.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7300B/Sdk7300bMBufDO/7300bWav.cpp deleted file mode 100644 index fe8c9ef..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7300B/Sdk7300bMBufDO/7300bWav.cpp +++ /dev/null @@ -1,110 +0,0 @@ - -// 7300bWav.cpp : Defines the class behaviors for the application. -// - -#include "stdafx.h" -#include "7300bWav.h" -#include "7300bWavDlg.h" -#include "CardIDDlg.h" - -#ifdef _DEBUG -#define new DEBUG_NEW -#endif - - -// C7300bWavApp - -BEGIN_MESSAGE_MAP(C7300bWavApp, CWinAppEx) - ON_COMMAND(ID_HELP, &CWinApp::OnHelp) -END_MESSAGE_MAP() - - -// C7300bWavApp construction - -C7300bWavApp::C7300bWavApp() -{ - // TODO: add construction code here, - // Place all significant initialization in InitInstance -} - - -// The one and only C7300bWavApp object - -C7300bWavApp theApp; - - -// C7300bWavApp initialization - -BOOL C7300bWavApp::InitInstance() -{ - int nCardID = 0; - I16 hCard; - CString strTemp; - INT_PTR nResponse; - - // InitCommonControlsEx() is required on Windows XP if an application - // manifest specifies use of ComCtl32.dll version 6 or later to enable - // visual styles. Otherwise, any window creation will fail. - INITCOMMONCONTROLSEX InitCtrls; - InitCtrls.dwSize = sizeof(InitCtrls); - // Set this to include all the common control classes you want to use - // in your application. - InitCtrls.dwICC = ICC_WIN95_CLASSES; - InitCommonControlsEx(&InitCtrls); - - CWinAppEx::InitInstance(); - - AfxEnableControlContainer(); - - // Standard initialization - // If you are not using these features and wish to reduce the size - // of your final executable, you should remove from the following - // the specific initialization routines you do not need - // Change the registry key under which our settings are stored - // TODO: You should modify this string to be something appropriate - // such as the name of your company or organization - SetRegistryKey(_T("Local AppWizard-Generated Applications")); - - CCardIDDlg CardDlg( nCardID ); - - nResponse = CardDlg.DoModal(); - if (nResponse == IDOK) - { - nCardID = CardDlg.GetCardID(); - - if ((hCard=Register_Card(PCI_7300A_RevB, nCardID)) < 0) - { - strTemp.Format( TEXT("Register_Card Error = %d"), hCard); - AfxMessageBox( strTemp ); - } - else - { - C7300bWavDlg dlg(hCard); - m_pMainWnd = &dlg; - nResponse = dlg.DoModal(); - if (nResponse == IDOK) - { - // TODO: Place code here to handle when the dialog is - // dismissed with OK - } - else if (nResponse == IDCANCEL) - { - // TODO: Place code here to handle when the dialog is - // dismissed with Cancel - } - - if (hCard >= 0) Release_Card(hCard); - } - - } - else if (nResponse == IDCANCEL) - { - // TODO: Place code here to handle when the dialog is - // dismissed with Cancel - } - - - // Since the dialog has been closed, return FALSE so that we exit the - // application, rather than start the application's message pump. - return FALSE; -} diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7300B/Sdk7300bMBufDO/7300bWav.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7300B/Sdk7300bMBufDO/7300bWav.h deleted file mode 100644 index 4fe0c56..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7300B/Sdk7300bMBufDO/7300bWav.h +++ /dev/null @@ -1,32 +0,0 @@ - -// 7300bWav.h : main header file for the PROJECT_NAME application -// - -#pragma once - -#ifndef __AFXWIN_H__ - #error "include 'stdafx.h' before including this file for PCH" -#endif - -#include "resource.h" // main symbols - - -// C7300bWavApp: -// See 7300bWav.cpp for the implementation of this class -// - -class C7300bWavApp : public CWinAppEx -{ -public: - C7300bWavApp(); - -// Overrides - public: - virtual BOOL InitInstance(); - -// Implementation - - DECLARE_MESSAGE_MAP() -}; - -extern C7300bWavApp theApp; \ No newline at end of file diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7300B/Sdk7300bMBufDO/7300bWav.rc b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7300B/Sdk7300bMBufDO/7300bWav.rc deleted file mode 100644 index e170e8c..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7300B/Sdk7300bMBufDO/7300bWav.rc +++ /dev/null @@ -1,285 +0,0 @@ -// Microsoft Visual C++ generated resource script. -// -#include "resource.h" - -#define APSTUDIO_READONLY_SYMBOLS -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 2 resource. -// -#ifndef APSTUDIO_INVOKED -#include "targetver.h" -#endif -#include "afxres.h" - -///////////////////////////////////////////////////////////////////////////// -#undef APSTUDIO_READONLY_SYMBOLS - -///////////////////////////////////////////////////////////////////////////// -// Chinese (Taiwan) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_CHT) -#ifdef _WIN32 -LANGUAGE LANG_CHINESE, SUBLANG_CHINESE_TRADITIONAL -#pragma code_page(950) -#endif //_WIN32 - -#ifdef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// TEXTINCLUDE -// - -1 TEXTINCLUDE -BEGIN - "resource.h\0" -END - -2 TEXTINCLUDE -BEGIN - "#ifndef APSTUDIO_INVOKED\r\n" - "#include ""targetver.h""\r\n" - "#endif\r\n" - "#include ""afxres.h""\r\n" - "\0" -END - -3 TEXTINCLUDE -BEGIN - "#define _AFX_NO_SPLITTER_RESOURCES\r\n" - "#define _AFX_NO_OLE_RESOURCES\r\n" - "#define _AFX_NO_TRACKER_RESOURCES\r\n" - "#define _AFX_NO_PROPERTY_RESOURCES\r\n" - "\r\n" - "#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)\r\n" - "LANGUAGE 9, 1\r\n" - "#pragma code_page(1252)\r\n" - "#include ""res\\My7300bWav.rc2"" // non-Microsoft Visual C++ edited resources\r\n" - "#include ""afxres.rc"" // Standard components\r\n" - "#endif\r\n" - "\0" -END - -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// Icon -// - -// Icon with lowest ID value placed first to ensure application icon -// remains consistent on all systems. -IDR_MAINFRAME ICON "res\\7300bWav.ico" -#endif // Chinese (Taiwan) resources -///////////////////////////////////////////////////////////////////////////// - - -///////////////////////////////////////////////////////////////////////////// -// English (U.S.) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -#ifdef _WIN32 -LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US -#pragma code_page(1252) -#endif //_WIN32 - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog -// - -IDD_ABOUTBOX DIALOGEX 0, 0, 170, 62 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "About 7300bWav" -FONT 8, "MS Shell Dlg", 0, 0, 0x1 -BEGIN - ICON IDR_MAINFRAME,IDC_STATIC,14,14,21,20 - LTEXT "7300bWav, Version 1.0",IDC_STATIC,42,14,114,8,SS_NOPREFIX - LTEXT "Copyright (C) 2010",IDC_STATIC,42,26,114,8 - DEFPUSHBUTTON "OK",IDOK,113,41,50,14,WS_GROUP -END - -IDD_MY7300bWav_DIALOG DIALOGEX 0, 0, 376, 239 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU -EXSTYLE WS_EX_APPWINDOW -CAPTION "PCI-7300A Rev.B DMA" -FONT 8, "MS Shell Dlg", 0, 0, 0x1 -BEGIN - GROUPBOX "",IDC_STATIC_DRAW,71,45,293,138,NOT WS_VISIBLE - EDITTEXT IDC_EDIT_SAMPLE,247,194,51,12,ES_AUTOHSCROLL - LTEXT "Buffer Size :",IDC_STATIC,199,196,45,9 - EDITTEXT IDC_EDIT_SAMPLE_RATE,115,194,32,12,ES_AUTOHSCROLL | ES_READONLY - LTEXT "Output Rate :",IDC_STATIC,63,196,49,9 - LTEXT "KHz",IDC_STATIC,159,196,15,9 - SCROLLBAR IDC_SCROLLBAR_RATE,147,194,9,11,SBS_VERT - PUSHBUTTON "Start",IDC_BT_START,315,189,48,17 - PUSHBUTTON "Stop",IDC_BT_STOP,315,208,48,17 - LTEXT "The configuration is set as DI16DO16. This sample performs DMA DI is 10MHz with 4 buffers, and DMA DO simultaneously. The output data is a sine wave. The input data is shown in panel below.",IDC_STATIC,13,9,343,20 - LTEXT "Please click ""Start"" and then click ""Stop"" to display the acquisition data ",IDC_STATIC,13,30,343,17 -END - -IDD_CARDID_DIALOG DIALOGEX 0, 0, 170, 89 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "Card ID" -FONT 8, "MS Shell Dlg", 400, 0, 0x1 -BEGIN - COMBOBOX IDC_COMBO_CARDID,75,17,71,126,CBS_DROPDOWN | WS_VSCROLL | WS_TABSTOP - LTEXT "Card Number",IDC_STATIC_01,21,18,46,12 - PUSHBUTTON "OK",IDOK,22,50,58,19 - PUSHBUTTON "CANCEL",IDCANCEL,86,50,58,19 -END - - -///////////////////////////////////////////////////////////////////////////// -// -// Version -// - -VS_VERSION_INFO VERSIONINFO - FILEVERSION 1,0,0,1 - PRODUCTVERSION 1,0,0,1 - FILEFLAGSMASK 0x3fL -#ifdef _DEBUG - FILEFLAGS 0x1L -#else - FILEFLAGS 0x0L -#endif - FILEOS 0x4L - FILETYPE 0x1L - FILESUBTYPE 0x0L -BEGIN - BLOCK "StringFileInfo" - BEGIN - BLOCK "040904e4" - BEGIN - VALUE "CompanyName", "TODO: " - VALUE "FileDescription", "TODO: " - VALUE "FileVersion", "1.0.0.1" - VALUE "InternalName", "7300bWav.exe" - VALUE "LegalCopyright", "TODO: (c) . All rights reserved." - VALUE "OriginalFilename", "7300bWav.exe" - VALUE "ProductName", "TODO: " - VALUE "ProductVersion", "1.0.0.1" - END - END - BLOCK "VarFileInfo" - BEGIN - VALUE "Translation", 0x409, 1252 - END -END - - -///////////////////////////////////////////////////////////////////////////// -// -// DESIGNINFO -// - -#ifdef APSTUDIO_INVOKED -GUIDELINES DESIGNINFO -BEGIN - IDD_ABOUTBOX, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 163 - TOPMARGIN, 7 - BOTTOMMARGIN, 55 - END - - IDD_MY7300bWav_DIALOG, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 369 - TOPMARGIN, 7 - BOTTOMMARGIN, 232 - END - - IDD_CARDID_DIALOG, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 163 - TOPMARGIN, 7 - BOTTOMMARGIN, 82 - END -END -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog Info -// - -IDD_CARDID_DIALOG DLGINIT -BEGIN - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0030, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0031, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0032, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0033, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0034, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0035, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0036, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0037, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0038, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0039, - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3031, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3131, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3231, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3331, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3431, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3531, "\000" - 0 -END - - -///////////////////////////////////////////////////////////////////////////// -// -// String Table -// - -STRINGTABLE -BEGIN - IDS_ABOUTBOX "&About 7300bWav..." -END - -#endif // English (U.S.) resources -///////////////////////////////////////////////////////////////////////////// - - - -#ifndef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 3 resource. -// -#define _AFX_NO_SPLITTER_RESOURCES -#define _AFX_NO_OLE_RESOURCES -#define _AFX_NO_TRACKER_RESOURCES -#define _AFX_NO_PROPERTY_RESOURCES - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -LANGUAGE 9, 1 -#pragma code_page(1252) -#include "res\My7300bWav.rc2" // non-Microsoft Visual C++ edited resources -#include "afxres.rc" // Standard components -#endif - -///////////////////////////////////////////////////////////////////////////// -#endif // not APSTUDIO_INVOKED - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7300B/Sdk7300bMBufDO/7300bWav.sln b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7300B/Sdk7300bMBufDO/7300bWav.sln deleted file mode 100644 index 839b04c..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7300B/Sdk7300bMBufDO/7300bWav.sln +++ /dev/null @@ -1,20 +0,0 @@ - -Microsoft Visual Studio Solution File, Format Version 10.00 -# Visual Studio 2008 -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "7300bWav", "7300bWav.vcproj", "{EBDB6610-7CE5-413C-A150-121068BFDB22}" -EndProject -Global - GlobalSection(SolutionConfigurationPlatforms) = preSolution - Debug|x64 = Debug|x64 - Release|x64 = Release|x64 - EndGlobalSection - GlobalSection(ProjectConfigurationPlatforms) = postSolution - {EBDB6610-7CE5-413C-A150-121068BFDB22}.Debug|x64.ActiveCfg = Debug|x64 - {EBDB6610-7CE5-413C-A150-121068BFDB22}.Debug|x64.Build.0 = Debug|x64 - {EBDB6610-7CE5-413C-A150-121068BFDB22}.Release|x64.ActiveCfg = Release|x64 - {EBDB6610-7CE5-413C-A150-121068BFDB22}.Release|x64.Build.0 = Release|x64 - EndGlobalSection - GlobalSection(SolutionProperties) = preSolution - HideSolutionNode = FALSE - EndGlobalSection -EndGlobal diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7300B/Sdk7300bMBufDO/7300bWav.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7300B/Sdk7300bMBufDO/7300bWav.suo deleted file mode 100644 index c51b653..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7300B/Sdk7300bMBufDO/7300bWav.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7300B/Sdk7300bMBufDO/7300bWav.vcproj b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7300B/Sdk7300bMBufDO/7300bWav.vcproj deleted file mode 100644 index 28502ba..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7300B/Sdk7300bMBufDO/7300bWav.vcproj +++ /dev/null @@ -1,286 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7300B/Sdk7300bMBufDO/7300bWavDlg.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7300B/Sdk7300bMBufDO/7300bWavDlg.cpp deleted file mode 100644 index fb1cc71..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7300B/Sdk7300bMBufDO/7300bWavDlg.cpp +++ /dev/null @@ -1,587 +0,0 @@ - -// 7300bWavDlg.cpp : implementation file -// - -#include "stdafx.h" -#include "7300bWav.h" -#include "7300bWavDlg.h" -#include "math.h" - -#ifndef M_PI -#define M_PI 3.14159265359 -#endif - -#define MAX_SIZE 1024000 //in words - -#ifdef _DEBUG -#define new DEBUG_NEW -#endif - -CRect plotRect; - -#define PCI7300_DIO_STATUS_TIMER 1 - -U16 out_buf[MAX_SIZE], out_buf2[MAX_SIZE]; -U16 in_buf[MAX_SIZE], in_buf2[MAX_SIZE], in_buf3[MAX_SIZE], in_buf4[MAX_SIZE]; - -BOOLEAN gbClearOp; -I16 ghCard; -U16 gViewIdx; -BOOLEAN gHalfReady; - -DWORD WINAPI MBufThread( LPVOID lpParam ) -{ - - BOOLEAN stopped=0; - int j; - U32 count, out_count; - - //data_size /= 2; - j = 0; - - do - { - gHalfReady = 0; - - do - { - DI_AsyncMultiBufferNextReady(ghCard, &gHalfReady, &gViewIdx); - } while (!gHalfReady); - - j = (j+1)%4; - - } while ( gbClearOp == FALSE ); - - DI_AsyncClear(ghCard, &count); - DO_AsyncClear(ghCard, &out_count); - - return (DWORD) 0; -} - - -// CAboutDlg dialog used for App About - -class CAboutDlg : public CDialog -{ -public: - CAboutDlg(); - -// Dialog Data - enum { IDD = IDD_ABOUTBOX }; - - protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - -// Implementation -protected: - DECLARE_MESSAGE_MAP() -}; - -CAboutDlg::CAboutDlg() : CDialog(CAboutDlg::IDD) -{ -} - -void CAboutDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); -} - -BEGIN_MESSAGE_MAP(CAboutDlg, CDialog) -END_MESSAGE_MAP() - - -// C7300bWavDlg dialog - - - - -C7300bWavDlg::C7300bWavDlg(I16 hCard, CWnd* pParent /*=NULL*/) - : CDialog(C7300bWavDlg::IDD, pParent) -{ - m_hIcon = AfxGetApp()->LoadIcon(IDR_MAINFRAME); - - ghCard = hCard; - - OnBrush = OffBrush = NULL; - - n_PlotWidth = -1; - n_PlotHeight = -1; - - min_val = 0x00; - max_val = 0x0000FFFF; - - m_fSampleRate = 10000.0; // 10KHz - m_dwDISamples = 100000; - - m_hThread = NULL; - -} - -void C7300bWavDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); -} - -BEGIN_MESSAGE_MAP(C7300bWavDlg, CDialog) - ON_WM_SYSCOMMAND() - ON_WM_PAINT() - ON_WM_QUERYDRAGICON() - //}}AFX_MSG_MAP - ON_WM_DESTROY() - ON_BN_CLICKED(IDC_BT_START, &C7300bWavDlg::OnStart) - ON_BN_CLICKED(IDC_BT_STOP, &C7300bWavDlg::OnStop) -// ON_WM_TIMER() - ON_WM_VSCROLL() -END_MESSAGE_MAP() - - -// C7300bWavDlg message handlers - -BOOL C7300bWavDlg::OnInitDialog() -{ - I16 err; - int i; - CString strTemp; - - CDialog::OnInitDialog(); - - // Add "About..." menu item to system menu. - - // IDM_ABOUTBOX must be in the system command range. - ASSERT((IDM_ABOUTBOX & 0xFFF0) == IDM_ABOUTBOX); - ASSERT(IDM_ABOUTBOX < 0xF000); - - CMenu* pSysMenu = GetSystemMenu(FALSE); - if (pSysMenu != NULL) - { - BOOL bNameValid; - CString strAboutMenu; - bNameValid = strAboutMenu.LoadString(IDS_ABOUTBOX); - ASSERT(bNameValid); - if (!strAboutMenu.IsEmpty()) - { - pSysMenu->AppendMenu(MF_SEPARATOR); - pSysMenu->AppendMenu(MF_STRING, IDM_ABOUTBOX, strAboutMenu); - } - } - - // Set the icon for this dialog. The framework does this automatically - // when the application's main window is not a dialog - SetIcon(m_hIcon, TRUE); // Set big icon - SetIcon(m_hIcon, FALSE); // Set small icon - - // TODO: Add extra initialization here - x_divider = 5; y_divider = 2; - - OnBrush = CreateSolidBrush( RGB(255,0,0) ); - OffBrush = CreateSolidBrush( RGB(125,0,0) ); - - RedPen.CreatePen( PS_SOLID, 1, RGB(255,0,0)); - GreenPen.CreatePen( PS_SOLID, 1, RGB(0,255,0)); - - if( n_PlotWidth == -1 && n_PlotHeight == -1 ) - { - ((CWnd*)GetDlgItem(IDC_STATIC_DRAW))->GetWindowRect(&plotRect); - ScreenToClient(&plotRect); - - n_PlotWidth = min( plotRect.Width(), 512); - n_PlotHeight = plotRect.Height() - 10; - } - - // set the default SampleRate - SetDlgItemInt( IDC_EDIT_SAMPLE_RATE, (UINT)(m_fSampleRate/1000) ); - - // Set the default DI Sample - SetDlgItemInt( IDC_EDIT_SAMPLE, (UINT)(m_dwDISamples) ); - - err = DI_7300B_Config(ghCard, 16, TRIG_CLK_10MHZ, P7300_WAIT_NO, P7300_TERM_ON, 0, 0, 0); - if (err != 0) - { - strTemp.Format( TEXT("DI_7300B_Config Error = %d, card=%d"), err, ghCard); - AfxMessageBox( strTemp ); - return TRUE; - } - - err = DO_7300B_Config (ghCard, 16, /*TRIG_INT_PACER*/TRIG_CLK_10MHZ, P7300_WAIT_NO, P7300_TERM_ON, 0, 0x00040004); - if (err != 0) - { - strTemp.Format( TEXT("DO_7300B_Config Error = %d, card=%d"), err, ghCard); - AfxMessageBox( strTemp ); - return TRUE; - } - - - for (i=0; i(dc.GetSafeHdc()), 0); - - // Center icon in client rectangle - int cxIcon = GetSystemMetrics(SM_CXICON); - int cyIcon = GetSystemMetrics(SM_CYICON); - CRect rect; - GetClientRect(&rect); - int x = (rect.Width() - cxIcon + 1) / 2; - int y = (rect.Height() - cyIcon + 1) / 2; - - // Draw the icon - dc.DrawIcon(x, y, m_hIcon); - } - else - { - redraw_display_area(); - CDialog::OnPaint(); - } -} - -// The system calls this function to obtain the cursor to display while the user drags -// the minimized window. -HCURSOR C7300bWavDlg::OnQueryDragIcon() -{ - return static_cast(m_hIcon); -} - - -void C7300bWavDlg::OnDestroy() -{ - CDialog::OnDestroy(); - - // TODO: Add your message handler code here - if( OnBrush != NULL ) - ::DeleteObject( OnBrush ); - - if( OffBrush != NULL ) - ::DeleteObject( OffBrush ); - - RedPen.DeleteObject(); - GreenPen.DeleteObject(); - - if( m_hThread != NULL ) - { - gHalfReady = TRUE; // terminate the DI_AsyncMultiBufferNextReady() - gbClearOp = TRUE; // termnate the MBufThread - - if (WaitForSingleObject(m_hThread, 5000) == WAIT_OBJECT_0) - { - CloseHandle( m_hThread ); - m_hThread = NULL; - } - } - -} - -void C7300bWavDlg::OnStart() -{ - // TODO: Add your control notification handler code here - U32 dwDISamples; - U16 BufferId; - I16 err; - CString strMsg; - - dwDISamples = GetDlgItemInt( IDC_EDIT_SAMPLE ); - if( (dwDISamples*2) > MAX_SIZE) - { - m_dwDISamples = (MAX_SIZE/2); - AfxMessageBox(TEXT("This sample supports at most 512K words DMA transfer\nOnly perform 100K words DMA transfer.")); - } - else - m_dwDISamples = dwDISamples; - - //setting the DMA buffers - err = DI_ContMultiBufferSetup (ghCard, in_buf, m_dwDISamples, &BufferId); - if (err < 0) - { - strMsg.Format(TEXT("DI_ContMultiBufferSetup Error = %d"), err); - AfxMessageBox( strMsg ); - return; - } - - err = DI_ContMultiBufferSetup (ghCard, in_buf2, m_dwDISamples, &BufferId); - if (err < 0) - { - strMsg.Format(TEXT("DI_ContMultiBufferSetup Error = %d"), err); - AfxMessageBox( strMsg ); - return; - } - - err = DI_ContMultiBufferSetup (ghCard, in_buf3, m_dwDISamples, &BufferId); - if (err < 0) - { - strMsg.Format(TEXT("DI_ContMultiBufferSetup Error = %d"), err); - AfxMessageBox( strMsg ); - return; - } - - err = DI_ContMultiBufferSetup (ghCard, in_buf4, m_dwDISamples, &BufferId); - if (err < 0) - { - strMsg.Format(TEXT("DI_ContMultiBufferSetup Error = %d"), err); - AfxMessageBox( strMsg ); - return; - } - - err = DO_ContMultiBufferSetup (ghCard, out_buf, m_dwDISamples, &BufferId); - if (err < 0) - { - strMsg.Format(TEXT("DO_ContMultiBufferSetup Error = %d"), err); - AfxMessageBox( strMsg ); - return; - } - - err = DO_ContMultiBufferSetup (ghCard, out_buf2, m_dwDISamples, &BufferId); - if (err < 0) - { - strMsg.Format(TEXT("DO_ContMultiBufferSetup Error = %d"), err); - AfxMessageBox( strMsg ); - return; - } - - //start multi-buffered DO - err = DO_ContMultiBufferStart (ghCard, 0, /*5000000*/1); - if (err < 0) - { - strMsg.Format(TEXT("DO_ContMultiBufferStart Error = %d"), err); - AfxMessageBox( strMsg ); - return; - } - - //start multi-buffered DI - err = DI_ContMultiBufferStart (ghCard, 0, 1); - if (err < 0) - { - strMsg.Format(TEXT("DI_ContMultiBufferStart Error = %d"), err); - AfxMessageBox( strMsg ); - return; - } - - m_hThread = CreateThread( NULL, // default security attributes - 0, // use default stack size - MBufThread, // thread function name - NULL, // argument to thread function - 0, // use default creation flags - NULL); // returns the thread identifier - - // clear display area - redraw_display_area(); - - GetDlgItem( IDC_BT_START )->EnableWindow( FALSE ); - GetDlgItem( IDC_BT_STOP )->EnableWindow( TRUE ); - -} - -void C7300bWavDlg::OnStop() -{ - // TODO: Add your control notification handler code here - - gbClearOp = TRUE; - - display_buffer_data(); - - DI_ContMultiBufferReset( ghCard ); - DO_ContMultiBufferReset( ghCard ); - - GetDlgItem( IDC_BT_START )->EnableWindow( TRUE ); - GetDlgItem( IDC_BT_STOP )->EnableWindow( FALSE); -} - - -void C7300bWavDlg::display_buffer_data(void) -{ - CClientDC dc_plot(this); - int nDraw_Bottom, j; - - int newY, oldY = -1; - int newX, oldX = -1; - U32 index, di_data; - - nDraw_Bottom = ( plotRect.bottom - 5 ); - dc_plot.SelectObject( &GreenPen ); - - for(j=0; j<4; j++) - { - - for (index=0; index 200000.0 ) m_fSampleRate = 200000.0; - break; - case SB_LINEDOWN: - m_fSampleRate -= 10000; - if (m_fSampleRate < 10000.0 ) m_fSampleRate = 10000.0; - break; - } - - - SetDlgItemInt( IDC_EDIT_SAMPLE_RATE, (UINT)(m_fSampleRate/1000) ); - - CDialog::OnVScroll(nSBCode, nPos, pScrollBar); -} diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7300B/Sdk7300bMBufDO/7300bWavDlg.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7300B/Sdk7300bMBufDO/7300bWavDlg.h deleted file mode 100644 index 225d581..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7300B/Sdk7300bMBufDO/7300bWavDlg.h +++ /dev/null @@ -1,68 +0,0 @@ - -// 7300bWavDlg.h : header file -// -#include "Dask64.h" - -#ifdef __cplusplus -extern "C" { -#endif - -SHORT __stdcall DI_ContMultiBufferReset(USHORT wCardNumber); -SHORT __stdcall DO_ContMultiBufferReset(USHORT wCardNumber); - -#ifdef __cplusplus -} -#endif - -#pragma once - - -// C7300bWavDlg dialog -class C7300bWavDlg : public CDialog -{ -// Construction -public: - C7300bWavDlg(I16 hCard, CWnd* pParent = NULL); // standard constructor - -// Dialog Data - enum { IDD = IDD_MY7300bWav_DIALOG }; - - protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - - -// Implementation -protected: - HICON m_hIcon; - HANDLE m_hThread; - U32 m_dwDISamples; - HBRUSH OnBrush; - HBRUSH OffBrush; - CPen RedPen; - CPen GreenPen; - DWORD max_val; - DWORD min_val; - int y_divider; - int x_divider; - int m_DisplayScale; - double m_fSampleRate; - - // Generated message map functions - virtual BOOL OnInitDialog(); - afx_msg void OnSysCommand(UINT nID, LPARAM lParam); - afx_msg void OnPaint(); - afx_msg HCURSOR OnQueryDragIcon(); - DECLARE_MESSAGE_MAP() -public: - afx_msg void OnDestroy(); - afx_msg void OnStart(); - afx_msg void OnStop(); -// afx_msg void OnTimer(UINT_PTR nIDEvent); - void display_buffer_data(void); - void redraw_display_area(void); - afx_msg void OnVScroll(UINT nSBCode, UINT nPos, CScrollBar* pScrollBar); - -private: - int n_PlotHeight; - int n_PlotWidth; -}; diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7300B/Sdk7300bMBufDO/CardIDDlg.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7300B/Sdk7300bMBufDO/CardIDDlg.cpp deleted file mode 100644 index ce7145c..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7300B/Sdk7300bMBufDO/CardIDDlg.cpp +++ /dev/null @@ -1,67 +0,0 @@ -// CardIDDlg.cpp : implementation file -// - -#include "stdafx.h" -#include "7300bWav.h" -#include "CardIDDlg.h" - - -// CCardIDDlg dialog - -IMPLEMENT_DYNAMIC(CCardIDDlg, CDialog) - -CCardIDDlg::CCardIDDlg(int nCardIdx, CWnd* pParent /*=NULL*/) - : CDialog(CCardIDDlg::IDD, pParent) -{ - m_nCardIdx = nCardIdx; -} - -CCardIDDlg::~CCardIDDlg() -{ -} - -void CCardIDDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); - DDX_Control(pDX, IDC_COMBO_CARDID, m_cbCardID); -} - - -BEGIN_MESSAGE_MAP(CCardIDDlg, CDialog) -// ON_CBN_SELCHANGE(IDC_COMBO_CARDID, &CCardIDDlg::OnCbnSelchangeComboCardid) -ON_BN_CLICKED(IDOK, &CCardIDDlg::OnBnClickedOk) -//ON_WM_CTLCOLOR() -END_MESSAGE_MAP() - - -// CCardIDDlg message handlers - - -void CCardIDDlg::OnBnClickedOk() -{ - // TODO: Add your control notification handler code here - -// UpdateData(TRUE); - m_nCardIdx = m_cbCardID.GetCurSel(); - - OnOK(); -} - -BOOL CCardIDDlg::OnInitDialog() -{ - CDialog::OnInitDialog(); - - // TODO: Add extra initialization here - m_cbCardID.SetCurSel( m_nCardIdx ); - - return TRUE; // return TRUE unless you set the focus to a control - // EXCEPTION: OCX Property Pages should return FALSE -} - -// the function to get the selected CardID -int CCardIDDlg::GetCardID(void) -{ - return m_nCardIdx; -} - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7300B/Sdk7300bMBufDO/CardIDDlg.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7300B/Sdk7300bMBufDO/CardIDDlg.h deleted file mode 100644 index 54628ea..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7300B/Sdk7300bMBufDO/CardIDDlg.h +++ /dev/null @@ -1,33 +0,0 @@ -#pragma once -#include "afxwin.h" - - -// CCardIDDlg dialog - -class CCardIDDlg : public CDialog -{ - DECLARE_DYNAMIC(CCardIDDlg) - -public: - CCardIDDlg(int nCardIdx, CWnd* pParent = NULL); // standard constructor - virtual ~CCardIDDlg(); - -// Dialog Data - enum { IDD = IDD_CARDID_DIALOG }; - -protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - - DECLARE_MESSAGE_MAP() -public: -// afx_msg void OnCbnSelchangeComboCardid(); - afx_msg void OnBnClickedOk(); - // the setting of CardID ComboBox - int m_nCardIdx; - virtual BOOL OnInitDialog(); - // the control of CardID ComboBox - CComboBox m_cbCardID; - // the function to get the selected CardID - int GetCardID(void); -// afx_msg HBRUSH OnCtlColor(CDC* pDC, CWnd* pWnd, UINT nCtlColor); -}; diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7300B/Sdk7300bMBufDO/ReadMe.txt b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7300B/Sdk7300bMBufDO/ReadMe.txt deleted file mode 100644 index 11ab98b..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7300B/Sdk7300bMBufDO/ReadMe.txt +++ /dev/null @@ -1,93 +0,0 @@ -================================================================================ - MICROSOFT FOUNDATION CLASS LIBRARY : 7300bWav Project Overview -=============================================================================== - -The application wizard has created this 7300bWav application for -you. This application not only demonstrates the basics of using the Microsoft -Foundation Classes but is also a starting point for writing your application. - -This file contains a summary of what you will find in each of the files that -make up your 7300bWav application. - -7300bWav.vcproj - This is the main project file for VC++ projects generated using an application wizard. - It contains information about the version of Visual C++ that generated the file, and - information about the platforms, configurations, and project features selected with the - application wizard. - -7300bWav.h - This is the main header file for the application. It includes other - project specific headers (including Resource.h) and declares the - C7300bWavApp application class. - -7300bWav.cpp - This is the main application source file that contains the application - class C7300bWavApp. - -7300bWav.rc - This is a listing of all of the Microsoft Windows resources that the - program uses. It includes the icons, bitmaps, and cursors that are stored - in the RES subdirectory. This file can be directly edited in Microsoft - Visual C++. Your project resources are in 1033. - -res\7300bWav.ico - This is an icon file, which is used as the application's icon. This - icon is included by the main resource file 7300bWav.rc. - -res\My7300bWav.rc2 - This file contains resources that are not edited by Microsoft - Visual C++. You should place all resources not editable by - the resource editor in this file. - - -///////////////////////////////////////////////////////////////////////////// - -The application wizard creates one dialog class: - -7300bWavDlg.h, 7300bWavDlg.cpp - the dialog - These files contain your C7300bWavDlg class. This class defines - the behavior of your application's main dialog. The dialog's template is - in 7300bWav.rc, which can be edited in Microsoft Visual C++. - - -///////////////////////////////////////////////////////////////////////////// - -Other Features: - -ActiveX Controls - The application includes support to use ActiveX controls. - -///////////////////////////////////////////////////////////////////////////// - -Other standard files: - -StdAfx.h, StdAfx.cpp - These files are used to build a precompiled header (PCH) file - named 7300bWav.pch and a precompiled types file named StdAfx.obj. - -Resource.h - This is the standard header file, which defines new resource IDs. - Microsoft Visual C++ reads and updates this file. - -7300bWav.manifest - Application manifest files are used by Windows XP to describe an applications - dependency on specific versions of Side-by-Side assemblies. The loader uses this - information to load the appropriate assembly from the assembly cache or private - from the application. The Application manifest maybe included for redistribution - as an external .manifest file that is installed in the same folder as the application - executable or it may be included in the executable in the form of a resource. -///////////////////////////////////////////////////////////////////////////// - -Other notes: - -The application wizard uses "TODO:" to indicate parts of the source code you -should add to or customize. - -If your application uses MFC in a shared DLL, you will need -to redistribute the MFC DLLs. If your application is in a language -other than the operating system's locale, you will also have to -redistribute the corresponding localized resources MFC90XXX.DLL. -For more information on both of these topics, please see the section on -redistributing Visual C++ applications in MSDN documentation. - -///////////////////////////////////////////////////////////////////////////// diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7300B/Sdk7300bMBufDO/res/7300bWav.ico b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7300B/Sdk7300bMBufDO/res/7300bWav.ico deleted file mode 100644 index d56fbcd..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7300B/Sdk7300bMBufDO/res/7300bWav.ico and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7300B/Sdk7300bMBufDO/res/My7300bWav.rc2 b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7300B/Sdk7300bMBufDO/res/My7300bWav.rc2 deleted file mode 100644 index 440d4a5..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7300B/Sdk7300bMBufDO/res/My7300bWav.rc2 +++ /dev/null @@ -1,13 +0,0 @@ -// -// My7200Wav.RC2 - resources Microsoft Visual C++ does not edit directly -// - -#ifdef APSTUDIO_INVOKED -#error this file is not editable by Microsoft Visual C++ -#endif //APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// Add manually edited resources here... - -///////////////////////////////////////////////////////////////////////////// diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7300B/Sdk7300bMBufDO/resource.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7300B/Sdk7300bMBufDO/resource.h deleted file mode 100644 index b308a5f..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7300B/Sdk7300bMBufDO/resource.h +++ /dev/null @@ -1,29 +0,0 @@ -//{{NO_DEPENDENCIES}} -// Microsoft Visual C++ generated include file. -// Used by 7300bWav.rc -// -#define IDM_ABOUTBOX 0x0010 -#define IDD_ABOUTBOX 100 -#define IDS_ABOUTBOX 101 -#define IDD_MY7300bWav_DIALOG 102 -#define IDR_MAINFRAME 128 -#define IDD_CARDID_DIALOG 129 -#define IDC_STATIC_DRAW 1000 -#define IDC_EDIT_SAMPLE 1001 -#define IDC_EDIT_SAMPLE_RATE 1003 -#define IDC_SCROLLBAR_RATE 1006 -#define IDC_COMBO_CARDID 1007 -#define IDC_BT_START 1008 -#define IDC_BT_STOP 1009 -#define IDC_STATIC_01 1014 - -// Next default values for new objects -// -#ifdef APSTUDIO_INVOKED -#ifndef APSTUDIO_READONLY_SYMBOLS -#define _APS_NEXT_RESOURCE_VALUE 131 -#define _APS_NEXT_COMMAND_VALUE 32771 -#define _APS_NEXT_CONTROL_VALUE 1000 -#define _APS_NEXT_SYMED_VALUE 101 -#endif -#endif diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7300B/Sdk7300bMBufDO/stdafx.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7300B/Sdk7300bMBufDO/stdafx.cpp deleted file mode 100644 index 096af95..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7300B/Sdk7300bMBufDO/stdafx.cpp +++ /dev/null @@ -1,8 +0,0 @@ - -// stdafx.cpp : source file that includes just the standard includes -// 7300bWav.pch will be the pre-compiled header -// stdafx.obj will contain the pre-compiled type information - -#include "stdafx.h" - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7300B/Sdk7300bMBufDO/stdafx.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7300B/Sdk7300bMBufDO/stdafx.h deleted file mode 100644 index 12123e2..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7300B/Sdk7300bMBufDO/stdafx.h +++ /dev/null @@ -1,60 +0,0 @@ - -// stdafx.h : include file for standard system include files, -// or project specific include files that are used frequently, -// but are changed infrequently - -#pragma once - -#ifndef _SECURE_ATL -#define _SECURE_ATL 1 -#endif - -#ifndef VC_EXTRALEAN -#define VC_EXTRALEAN // Exclude rarely-used stuff from Windows headers -#endif - -#include "targetver.h" - -#define _ATL_CSTRING_EXPLICIT_CONSTRUCTORS // some CString constructors will be explicit - -// turns off MFC's hiding of some common and often safely ignored warning messages -#define _AFX_ALL_WARNINGS - -#include // MFC core and standard components -#include // MFC extensions - - -#include // MFC Automation classes - - - -#ifndef _AFX_NO_OLE_SUPPORT -#include // MFC support for Internet Explorer 4 Common Controls -#endif -#ifndef _AFX_NO_AFXCMN_SUPPORT -#include // MFC support for Windows Common Controls -#endif // _AFX_NO_AFXCMN_SUPPORT - -#include // MFC support for ribbons and control bars - - - - - - - - - -#ifdef _UNICODE -#if defined _M_IX86 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='x86' publicKeyToken='6595b64144ccf1df' language='*'\"") -#elif defined _M_IA64 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='ia64' publicKeyToken='6595b64144ccf1df' language='*'\"") -#elif defined _M_X64 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='amd64' publicKeyToken='6595b64144ccf1df' language='*'\"") -#else -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='*' publicKeyToken='6595b64144ccf1df' language='*'\"") -#endif -#endif - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7300B/Sdk7300bMBufDO/targetver.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7300B/Sdk7300bMBufDO/targetver.h deleted file mode 100644 index 11730d5..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7300B/Sdk7300bMBufDO/targetver.h +++ /dev/null @@ -1,26 +0,0 @@ - -#pragma once - -// The following macros define the minimum required platform. The minimum required platform -// is the earliest version of Windows, Internet Explorer etc. that has the necessary features to run -// your application. The macros work by enabling all features available on platform versions up to and -// including the version specified. - -// Modify the following defines if you have to target a platform prior to the ones specified below. -// Refer to MSDN for the latest info on corresponding values for different platforms. -#ifndef WINVER // Specifies that the minimum required platform is Windows Vista. -#define WINVER 0x0600 // Change this to the appropriate value to target other versions of Windows. -#endif - -#ifndef _WIN32_WINNT // Specifies that the minimum required platform is Windows Vista. -#define _WIN32_WINNT 0x0600 // Change this to the appropriate value to target other versions of Windows. -#endif - -#ifndef _WIN32_WINDOWS // Specifies that the minimum required platform is Windows 98. -#define _WIN32_WINDOWS 0x0410 // Change this to the appropriate value to target Windows Me or later. -#endif - -#ifndef _WIN32_IE // Specifies that the minimum required platform is Internet Explorer 7.0. -#define _WIN32_IE 0x0700 // Change this to the appropriate value to target other versions of IE. -#endif - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7348/SDK7348COSi/7348int.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7348/SDK7348COSi/7348int.cpp deleted file mode 100644 index 7072d97..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7348/SDK7348COSi/7348int.cpp +++ /dev/null @@ -1,110 +0,0 @@ - -// 7348int.cpp : Defines the class behaviors for the application. -// - -#include "stdafx.h" -#include "7348int.h" -#include "7348intDlg.h" -#include "CardIDDlg.h" - -#ifdef _DEBUG -#define new DEBUG_NEW -#endif - - -// C7348intApp - -BEGIN_MESSAGE_MAP(C7348intApp, CWinAppEx) - ON_COMMAND(ID_HELP, &CWinApp::OnHelp) -END_MESSAGE_MAP() - - -// C7348intApp construction - -C7348intApp::C7348intApp() -{ - // TODO: add construction code here, - // Place all significant initialization in InitInstance -} - - -// The one and only C7348intApp object - -C7348intApp theApp; - - -// C7348intApp initialization - -BOOL C7348intApp::InitInstance() -{ - int nCardID = 0; - I16 hCard; - CString strTemp; - INT_PTR nResponse; - - // InitCommonControlsEx() is required on Windows XP if an application - // manifest specifies use of ComCtl32.dll version 6 or later to enable - // visual styles. Otherwise, any window creation will fail. - INITCOMMONCONTROLSEX InitCtrls; - InitCtrls.dwSize = sizeof(InitCtrls); - // Set this to include all the common control classes you want to use - // in your application. - InitCtrls.dwICC = ICC_WIN95_CLASSES; - InitCommonControlsEx(&InitCtrls); - - CWinAppEx::InitInstance(); - - AfxEnableControlContainer(); - - // Standard initialization - // If you are not using these features and wish to reduce the size - // of your final executable, you should remove from the following - // the specific initialization routines you do not need - // Change the registry key under which our settings are stored - // TODO: You should modify this string to be something appropriate - // such as the name of your company or organization - SetRegistryKey(_T("Local AppWizard-Generated Applications")); - - CCardIDDlg CardDlg( nCardID ); - - nResponse = CardDlg.DoModal(); - if (nResponse == IDOK) - { - nCardID = CardDlg.GetCardID(); - - if ((hCard=Register_Card(PCI_7396, nCardID)) < 0) - { - strTemp.Format( TEXT("Register_Card Error = %d"), hCard); - AfxMessageBox( strTemp ); - } - else - { - C7348intDlg dlg(hCard); - m_pMainWnd = &dlg; - nResponse = dlg.DoModal(); - if (nResponse == IDOK) - { - // TODO: Place code here to handle when the dialog is - // dismissed with OK - } - else if (nResponse == IDCANCEL) - { - // TODO: Place code here to handle when the dialog is - // dismissed with Cancel - } - - if (hCard >= 0) Release_Card(hCard); - } - - } - else if (nResponse == IDCANCEL) - { - // TODO: Place code here to handle when the dialog is - // dismissed with Cancel - } - - - // Since the dialog has been closed, return FALSE so that we exit the - // application, rather than start the application's message pump. - return FALSE; -} diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7348/SDK7348COSi/7348int.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7348/SDK7348COSi/7348int.h deleted file mode 100644 index feb4b69..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7348/SDK7348COSi/7348int.h +++ /dev/null @@ -1,32 +0,0 @@ - -// 7348int.h : main header file for the PROJECT_NAME application -// - -#pragma once - -#ifndef __AFXWIN_H__ - #error "include 'stdafx.h' before including this file for PCH" -#endif - -#include "resource.h" // main symbols - - -// C7348intApp: -// See 7348int.cpp for the implementation of this class -// - -class C7348intApp : public CWinAppEx -{ -public: - C7348intApp(); - -// Overrides - public: - virtual BOOL InitInstance(); - -// Implementation - - DECLARE_MESSAGE_MAP() -}; - -extern C7348intApp theApp; \ No newline at end of file diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7348/SDK7348COSi/7348int.rc b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7348/SDK7348COSi/7348int.rc deleted file mode 100644 index 49e4f37..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7348/SDK7348COSi/7348int.rc +++ /dev/null @@ -1,261 +0,0 @@ -// Microsoft Visual C++ generated resource script. -// -#include "resource.h" - -#define APSTUDIO_READONLY_SYMBOLS -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 2 resource. -// -#ifndef APSTUDIO_INVOKED -#include "targetver.h" -#endif -#include "afxres.h" - -///////////////////////////////////////////////////////////////////////////// -#undef APSTUDIO_READONLY_SYMBOLS - -///////////////////////////////////////////////////////////////////////////// -// Chinese (Taiwan) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_CHT) -#ifdef _WIN32 -LANGUAGE LANG_CHINESE, SUBLANG_CHINESE_TRADITIONAL -#pragma code_page(950) -#endif //_WIN32 - -#ifdef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// TEXTINCLUDE -// - -1 TEXTINCLUDE -BEGIN - "resource.h\0" -END - -2 TEXTINCLUDE -BEGIN - "#ifndef APSTUDIO_INVOKED\r\n" - "#include ""targetver.h""\r\n" - "#endif\r\n" - "#include ""afxres.h""\r\n" - "\0" -END - -3 TEXTINCLUDE -BEGIN - "#define _AFX_NO_SPLITTER_RESOURCES\r\n" - "#define _AFX_NO_OLE_RESOURCES\r\n" - "#define _AFX_NO_TRACKER_RESOURCES\r\n" - "#define _AFX_NO_PROPERTY_RESOURCES\r\n" - "\r\n" - "#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)\r\n" - "LANGUAGE 9, 1\r\n" - "#pragma code_page(1252)\r\n" - "#include ""res\\My7348int.rc2"" // non-Microsoft Visual C++ edited resources\r\n" - "#include ""afxres.rc"" // Standard components\r\n" - "#endif\r\n" - "\0" -END - -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// Icon -// - -// Icon with lowest ID value placed first to ensure application icon -// remains consistent on all systems. -IDR_MAINFRAME ICON "res\\7348int.ico" -#endif // Chinese (Taiwan) resources -///////////////////////////////////////////////////////////////////////////// - - -///////////////////////////////////////////////////////////////////////////// -// English (U.S.) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -#ifdef _WIN32 -LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US -#pragma code_page(1252) -#endif //_WIN32 - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog -// - -IDD_ABOUTBOX DIALOGEX 0, 0, 170, 62 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "About 7348int" -FONT 8, "MS Shell Dlg", 0, 0, 0x1 -BEGIN - ICON IDR_MAINFRAME,IDC_STATIC,14,14,21,20 - LTEXT "7348int, Version 1.0",IDC_STATIC,42,14,114,8,SS_NOPREFIX - LTEXT "Copyright (C) 2010",IDC_STATIC,42,26,114,8 - DEFPUSHBUTTON "OK",IDOK,113,41,50,14,WS_GROUP -END - -IDD_MY7348INT_DIALOG DIALOGEX 0, 0, 237, 144 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU -EXSTYLE WS_EX_APPWINDOW -CAPTION "PCI-7348 Interrupt Sample (INT1)" -FONT 8, "MS Shell Dlg", 0, 0, 0x1 -BEGIN - LTEXT "This program shows the number of occurrence of COS INT1 interrupt, COS INT1 inetrrupt is generated by external signal from DI Port 1. If you connect P1 to P2, press 'Output' button can generate an interrupt.",IDC_STATIC,33,14,155,43 - LTEXT "INT1 Count =",IDC_STATIC_COS_COUNT,59,72,85,13 - PUSHBUTTON "Output",IDC_BT_OUTPUT,76,97,84,20,WS_DISABLED -END - -IDD_CARDID_DIALOG DIALOGEX 0, 0, 202, 101 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "Card ID" -FONT 8, "MS Shell Dlg", 400, 0, 0x1 -BEGIN - COMBOBOX IDC_COMBO_CARDID,83,24,71,126,CBS_DROPDOWN | WS_VSCROLL | WS_TABSTOP - LTEXT "Card Number",IDC_STATIC_01,29,25,46,12 - PUSHBUTTON "OK",IDOK,30,57,58,19 - PUSHBUTTON "CANCEL",IDCANCEL,94,57,58,19 -END - - -///////////////////////////////////////////////////////////////////////////// -// -// Version -// - -VS_VERSION_INFO VERSIONINFO - FILEVERSION 1,0,0,1 - PRODUCTVERSION 1,0,0,1 - FILEFLAGSMASK 0x3fL -#ifdef _DEBUG - FILEFLAGS 0x1L -#else - FILEFLAGS 0x0L -#endif - FILEOS 0x4L - FILETYPE 0x1L - FILESUBTYPE 0x0L -BEGIN - BLOCK "StringFileInfo" - BEGIN - BLOCK "040904e4" - BEGIN - VALUE "CompanyName", "TODO: " - VALUE "FileDescription", "TODO: " - VALUE "FileVersion", "1.0.0.1" - VALUE "InternalName", "7348int.exe" - VALUE "LegalCopyright", "TODO: (c) . All rights reserved." - VALUE "OriginalFilename", "7348int.exe" - VALUE "ProductName", "TODO: " - VALUE "ProductVersion", "1.0.0.1" - END - END - BLOCK "VarFileInfo" - BEGIN - VALUE "Translation", 0x409, 1252 - END -END - - -///////////////////////////////////////////////////////////////////////////// -// -// DESIGNINFO -// - -#ifdef APSTUDIO_INVOKED -GUIDELINES DESIGNINFO -BEGIN - IDD_ABOUTBOX, DIALOG - BEGIN - END - - IDD_CARDID_DIALOG, DIALOG - BEGIN - END -END -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog Info -// - -IDD_CARDID_DIALOG DLGINIT -BEGIN - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0030, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0031, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0032, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0033, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0034, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0035, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0036, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0037, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0038, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0039, - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3031, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3131, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3231, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3331, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3431, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3531, "\000" - 0 -END - - -///////////////////////////////////////////////////////////////////////////// -// -// String Table -// - -STRINGTABLE -BEGIN - IDS_ABOUTBOX "&About 7348int..." -END - -#endif // English (U.S.) resources -///////////////////////////////////////////////////////////////////////////// - - - -#ifndef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 3 resource. -// -#define _AFX_NO_SPLITTER_RESOURCES -#define _AFX_NO_OLE_RESOURCES -#define _AFX_NO_TRACKER_RESOURCES -#define _AFX_NO_PROPERTY_RESOURCES - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -LANGUAGE 9, 1 -#pragma code_page(1252) -#include "res\My7348int.rc2" // non-Microsoft Visual C++ edited resources -#include "afxres.rc" // Standard components -#endif - -///////////////////////////////////////////////////////////////////////////// -#endif // not APSTUDIO_INVOKED - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7348/SDK7348COSi/7348int.sln b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7348/SDK7348COSi/7348int.sln deleted file mode 100644 index 1e0155e..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7348/SDK7348COSi/7348int.sln +++ /dev/null @@ -1,20 +0,0 @@ - -Microsoft Visual Studio Solution File, Format Version 10.00 -# Visual Studio 2008 -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "7348int", "7348int.vcproj", "{D1AAE855-2447-4B7C-9F6B-8FB0B29868DA}" -EndProject -Global - GlobalSection(SolutionConfigurationPlatforms) = preSolution - Debug|x64 = Debug|x64 - Release|x64 = Release|x64 - EndGlobalSection - GlobalSection(ProjectConfigurationPlatforms) = postSolution - {D1AAE855-2447-4B7C-9F6B-8FB0B29868DA}.Debug|x64.ActiveCfg = Debug|x64 - {D1AAE855-2447-4B7C-9F6B-8FB0B29868DA}.Debug|x64.Build.0 = Debug|x64 - {D1AAE855-2447-4B7C-9F6B-8FB0B29868DA}.Release|x64.ActiveCfg = Release|x64 - {D1AAE855-2447-4B7C-9F6B-8FB0B29868DA}.Release|x64.Build.0 = Release|x64 - EndGlobalSection - GlobalSection(SolutionProperties) = preSolution - HideSolutionNode = FALSE - EndGlobalSection -EndGlobal diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7348/SDK7348COSi/7348int.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7348/SDK7348COSi/7348int.suo deleted file mode 100644 index 75bfae6..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7348/SDK7348COSi/7348int.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7348/SDK7348COSi/7348int.vcproj b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7348/SDK7348COSi/7348int.vcproj deleted file mode 100644 index 67d68d2..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7348/SDK7348COSi/7348int.vcproj +++ /dev/null @@ -1,286 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7348/SDK7348COSi/7348intDlg.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7348/SDK7348COSi/7348intDlg.cpp deleted file mode 100644 index 3ccf365..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7348/SDK7348COSi/7348intDlg.cpp +++ /dev/null @@ -1,260 +0,0 @@ - -// 7348intDlg.cpp : implementation file -// - -#include "stdafx.h" -#include "7348int.h" -#include "7348intDlg.h" - - -#ifdef _DEBUG -#define new DEBUG_NEW -#endif - -int gIntCount; -HANDLE ghIntEvent[2]; - -BOOLEAN gbExitThread; - -DWORD WINAPI IntThread( LPVOID lpParam ) -{ - while (gbExitThread == FALSE) - { - if (WaitForSingleObject(ghIntEvent[0], INFINITE) == WAIT_OBJECT_0) - { - gIntCount++; - ResetEvent(ghIntEvent[0]); - } - } - - return (DWORD) 0; -} - -// CAboutDlg dialog used for App About - -class CAboutDlg : public CDialog -{ -public: - CAboutDlg(); - -// Dialog Data - enum { IDD = IDD_ABOUTBOX }; - - protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - -// Implementation -protected: - DECLARE_MESSAGE_MAP() -}; - -CAboutDlg::CAboutDlg() : CDialog(CAboutDlg::IDD) -{ -} - -void CAboutDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); -} - -BEGIN_MESSAGE_MAP(CAboutDlg, CDialog) -END_MESSAGE_MAP() - - -// C7348intDlg dialog - - - - -C7348intDlg::C7348intDlg(I16 hCard, CWnd* pParent /*=NULL*/) - : CDialog(C7348intDlg::IDD, pParent) -{ - m_hIcon = AfxGetApp()->LoadIcon(IDR_MAINFRAME); - - m_hThread = NULL; - m_hCard = hCard; - m_nTimer = -1; -} - -void C7348intDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); -} - -BEGIN_MESSAGE_MAP(C7348intDlg, CDialog) - ON_WM_SYSCOMMAND() - ON_WM_PAINT() - ON_WM_QUERYDRAGICON() - //}}AFX_MSG_MAP - ON_WM_DESTROY() - ON_BN_CLICKED(IDC_BT_OUTPUT, &C7348intDlg::OnBnClickedBtOutput) - ON_WM_TIMER() -END_MESSAGE_MAP() - - -// C7348intDlg message handlers - -BOOL C7348intDlg::OnInitDialog() -{ - CDialog::OnInitDialog(); - - // Add "About..." menu item to system menu. - - // IDM_ABOUTBOX must be in the system command range. - ASSERT((IDM_ABOUTBOX & 0xFFF0) == IDM_ABOUTBOX); - ASSERT(IDM_ABOUTBOX < 0xF000); - - CMenu* pSysMenu = GetSystemMenu(FALSE); - if (pSysMenu != NULL) - { - BOOL bNameValid; - CString strAboutMenu; - bNameValid = strAboutMenu.LoadString(IDS_ABOUTBOX); - ASSERT(bNameValid); - if (!strAboutMenu.IsEmpty()) - { - pSysMenu->AppendMenu(MF_SEPARATOR); - pSysMenu->AppendMenu(MF_STRING, IDM_ABOUTBOX, strAboutMenu); - } - } - - // Set the icon for this dialog. The framework does this automatically - // when the application's main window is not a dialog - SetIcon(m_hIcon, TRUE); // Set big icon - SetIcon(m_hIcon, FALSE); // Set small icon - - // TODO: Add extra initialization here - DIO_PortConfig(m_hCard, Channel_P1, INPUT_PORT); - DIO_PortConfig(m_hCard, Channel_P2, OUTPUT_PORT); - DIO_SetCOSInterrupt(m_hCard, Channel_P1, 1, 1, 1); - DIO_SetCOSInterrupt(m_hCard, Channel_P2, 0, 0, 0); - DIO_SetCOSInterrupt(m_hCard, Channel_P3, 0, 0, 0); - DIO_SetCOSInterrupt(m_hCard, Channel_P4, 0, 0, 0); - DIO_SetDualInterrupt(m_hCard, INT1_COS, INT2_DISABLE, ghIntEvent); - - gIntCount = 0; - - if(m_hThread == NULL ) - { - gbExitThread = FALSE; - m_hThread = CreateThread( NULL, // default security attributes - 0, // use default stack size - IntThread, // thread function name - NULL, // argument to thread function - 0, // use default creation flags - NULL); // returns the thread identifier - } - - GetDlgItem(IDC_BT_OUTPUT)->EnableWindow( TRUE ); - - m_nTimer = SetTimer( 1, 50, NULL ); - - return TRUE; // return TRUE unless you set the focus to a control -} - -void C7348intDlg::OnSysCommand(UINT nID, LPARAM lParam) -{ - if ((nID & 0xFFF0) == IDM_ABOUTBOX) - { - CAboutDlg dlgAbout; - dlgAbout.DoModal(); - } - else - { - CDialog::OnSysCommand(nID, lParam); - } -} - -// If you add a minimize button to your dialog, you will need the code below -// to draw the icon. For MFC applications using the document/view model, -// this is automatically done for you by the framework. - -void C7348intDlg::OnPaint() -{ - if (IsIconic()) - { - CPaintDC dc(this); // device context for painting - - SendMessage(WM_ICONERASEBKGND, reinterpret_cast(dc.GetSafeHdc()), 0); - - // Center icon in client rectangle - int cxIcon = GetSystemMetrics(SM_CXICON); - int cyIcon = GetSystemMetrics(SM_CYICON); - CRect rect; - GetClientRect(&rect); - int x = (rect.Width() - cxIcon + 1) / 2; - int y = (rect.Height() - cyIcon + 1) / 2; - - // Draw the icon - dc.DrawIcon(x, y, m_hIcon); - } - else - { - CDialog::OnPaint(); - } -} - -// The system calls this function to obtain the cursor to display while the user drags -// the minimized window. -HCURSOR C7348intDlg::OnQueryDragIcon() -{ - return static_cast(m_hIcon); -} - - -void C7348intDlg::OnDestroy() -{ - CDialog::OnDestroy(); - - // TODO: Add your message handler code here - int i; - - if( m_hThread != NULL ) - { - gbExitThread = TRUE; // termnate the IntThread - SetEvent( ghIntEvent[0] ); - - if (WaitForSingleObject(m_hThread, 5000) == WAIT_OBJECT_0) - { - CloseHandle( m_hThread ); - m_hThread = NULL; - } - } - - if( m_hCard >= 0 ) - { - DIO_SetDualInterrupt(m_hCard, INT1_DISABLE, INT2_DISABLE, ghIntEvent); - - for (i=0; i<2; i++) - { - if(ghIntEvent[i]) - ResetEvent(ghIntEvent[i]); - } - - - Release_Card( m_hCard ); m_hCard = -1; - } - - if( m_nTimer != -1 ) - KillTimer ( m_nTimer ); -} - -void C7348intDlg::OnBnClickedBtOutput() -{ - // TODO: Add your control notification handler code here - DO_WritePort(m_hCard, Channel_P2, 0x2); - Sleep(1); - DO_WritePort(m_hCard, Channel_P2, 0x0); -} - -void C7348intDlg::OnTimer(UINT_PTR nIDEvent) -{ - // TODO: Add your message handler code here and/or call default - CString strTemp; - - strTemp.Format( TEXT("INT1 Count =%d"), gIntCount ); - SetDlgItemText( IDC_STATIC_COS_COUNT, strTemp ); - - - CDialog::OnTimer(nIDEvent); -} diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7348/SDK7348COSi/7348intDlg.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7348/SDK7348COSi/7348intDlg.h deleted file mode 100644 index 520c0f8..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7348/SDK7348COSi/7348intDlg.h +++ /dev/null @@ -1,40 +0,0 @@ - -// 7348intDlg.h : header file -// -#include "Dask64.h" - -#pragma once - - -// C7348intDlg dialog -class C7348intDlg : public CDialog -{ -// Construction -public: - C7348intDlg(I16 hCard, CWnd* pParent = NULL); // standard constructor - -// Dialog Data - enum { IDD = IDD_MY7348INT_DIALOG }; - - protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - - -// Implementation -protected: - HICON m_hIcon; - I16 m_hCard; - HANDLE m_hThread; - UINT_PTR m_nTimer; - - // Generated message map functions - virtual BOOL OnInitDialog(); - afx_msg void OnSysCommand(UINT nID, LPARAM lParam); - afx_msg void OnPaint(); - afx_msg HCURSOR OnQueryDragIcon(); - DECLARE_MESSAGE_MAP() -public: - afx_msg void OnDestroy(); - afx_msg void OnBnClickedBtOutput(); - afx_msg void OnTimer(UINT_PTR nIDEvent); -}; diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7348/SDK7348COSi/7396int.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7348/SDK7348COSi/7396int.suo deleted file mode 100644 index d77ade9..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7348/SDK7348COSi/7396int.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7348/SDK7348COSi/CardIDDlg.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7348/SDK7348COSi/CardIDDlg.cpp deleted file mode 100644 index c923e98..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7348/SDK7348COSi/CardIDDlg.cpp +++ /dev/null @@ -1,67 +0,0 @@ -// CardIDDlg.cpp : implementation file -// - -#include "stdafx.h" -#include "7348int.h" -#include "CardIDDlg.h" - - -// CCardIDDlg dialog - -IMPLEMENT_DYNAMIC(CCardIDDlg, CDialog) - -CCardIDDlg::CCardIDDlg(int nCardIdx, CWnd* pParent /*=NULL*/) - : CDialog(CCardIDDlg::IDD, pParent) -{ - m_nCardIdx = nCardIdx; -} - -CCardIDDlg::~CCardIDDlg() -{ -} - -void CCardIDDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); - DDX_Control(pDX, IDC_COMBO_CARDID, m_cbCardID); -} - - -BEGIN_MESSAGE_MAP(CCardIDDlg, CDialog) -// ON_CBN_SELCHANGE(IDC_COMBO_CARDID, &CCardIDDlg::OnCbnSelchangeComboCardid) -ON_BN_CLICKED(IDOK, &CCardIDDlg::OnBnClickedOk) -//ON_WM_CTLCOLOR() -END_MESSAGE_MAP() - - -// CCardIDDlg message handlers - - -void CCardIDDlg::OnBnClickedOk() -{ - // TODO: Add your control notification handler code here - -// UpdateData(TRUE); - m_nCardIdx = m_cbCardID.GetCurSel(); - - OnOK(); -} - -BOOL CCardIDDlg::OnInitDialog() -{ - CDialog::OnInitDialog(); - - // TODO: Add extra initialization here - m_cbCardID.SetCurSel( m_nCardIdx ); - - return TRUE; // return TRUE unless you set the focus to a control - // EXCEPTION: OCX Property Pages should return FALSE -} - -// the function to get the selected CardID -int CCardIDDlg::GetCardID(void) -{ - return m_nCardIdx; -} - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7348/SDK7348COSi/CardIDDlg.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7348/SDK7348COSi/CardIDDlg.h deleted file mode 100644 index 54628ea..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7348/SDK7348COSi/CardIDDlg.h +++ /dev/null @@ -1,33 +0,0 @@ -#pragma once -#include "afxwin.h" - - -// CCardIDDlg dialog - -class CCardIDDlg : public CDialog -{ - DECLARE_DYNAMIC(CCardIDDlg) - -public: - CCardIDDlg(int nCardIdx, CWnd* pParent = NULL); // standard constructor - virtual ~CCardIDDlg(); - -// Dialog Data - enum { IDD = IDD_CARDID_DIALOG }; - -protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - - DECLARE_MESSAGE_MAP() -public: -// afx_msg void OnCbnSelchangeComboCardid(); - afx_msg void OnBnClickedOk(); - // the setting of CardID ComboBox - int m_nCardIdx; - virtual BOOL OnInitDialog(); - // the control of CardID ComboBox - CComboBox m_cbCardID; - // the function to get the selected CardID - int GetCardID(void); -// afx_msg HBRUSH OnCtlColor(CDC* pDC, CWnd* pWnd, UINT nCtlColor); -}; diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7348/SDK7348COSi/ReadMe.txt b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7348/SDK7348COSi/ReadMe.txt deleted file mode 100644 index 452582b..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7348/SDK7348COSi/ReadMe.txt +++ /dev/null @@ -1,93 +0,0 @@ -================================================================================ - MICROSOFT FOUNDATION CLASS LIBRARY : 7348int Project Overview -=============================================================================== - -The application wizard has created this 7348int application for -you. This application not only demonstrates the basics of using the Microsoft -Foundation Classes but is also a starting point for writing your application. - -This file contains a summary of what you will find in each of the files that -make up your 7348int application. - -7348int.vcproj - This is the main project file for VC++ projects generated using an application wizard. - It contains information about the version of Visual C++ that generated the file, and - information about the platforms, configurations, and project features selected with the - application wizard. - -7348int.h - This is the main header file for the application. It includes other - project specific headers (including Resource.h) and declares the - C7348intApp application class. - -7348int.cpp - This is the main application source file that contains the application - class C7348intApp. - -7348int.rc - This is a listing of all of the Microsoft Windows resources that the - program uses. It includes the icons, bitmaps, and cursors that are stored - in the RES subdirectory. This file can be directly edited in Microsoft - Visual C++. Your project resources are in 1033. - -res\7348int.ico - This is an icon file, which is used as the application's icon. This - icon is included by the main resource file 7348int.rc. - -res\My7348int.rc2 - This file contains resources that are not edited by Microsoft - Visual C++. You should place all resources not editable by - the resource editor in this file. - - -///////////////////////////////////////////////////////////////////////////// - -The application wizard creates one dialog class: - -7348intDlg.h, 7348intDlg.cpp - the dialog - These files contain your C7348intDlg class. This class defines - the behavior of your application's main dialog. The dialog's template is - in 7348int.rc, which can be edited in Microsoft Visual C++. - - -///////////////////////////////////////////////////////////////////////////// - -Other Features: - -ActiveX Controls - The application includes support to use ActiveX controls. - -///////////////////////////////////////////////////////////////////////////// - -Other standard files: - -StdAfx.h, StdAfx.cpp - These files are used to build a precompiled header (PCH) file - named 7348int.pch and a precompiled types file named StdAfx.obj. - -Resource.h - This is the standard header file, which defines new resource IDs. - Microsoft Visual C++ reads and updates this file. - -7348int.manifest - Application manifest files are used by Windows XP to describe an applications - dependency on specific versions of Side-by-Side assemblies. The loader uses this - information to load the appropriate assembly from the assembly cache or private - from the application. The Application manifest maybe included for redistribution - as an external .manifest file that is installed in the same folder as the application - executable or it may be included in the executable in the form of a resource. -///////////////////////////////////////////////////////////////////////////// - -Other notes: - -The application wizard uses "TODO:" to indicate parts of the source code you -should add to or customize. - -If your application uses MFC in a shared DLL, you will need -to redistribute the MFC DLLs. If your application is in a language -other than the operating system's locale, you will also have to -redistribute the corresponding localized resources MFC90XXX.DLL. -For more information on both of these topics, please see the section on -redistributing Visual C++ applications in MSDN documentation. - -///////////////////////////////////////////////////////////////////////////// diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7348/SDK7348COSi/res/7348int.ico b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7348/SDK7348COSi/res/7348int.ico deleted file mode 100644 index d56fbcd..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7348/SDK7348COSi/res/7348int.ico and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7348/SDK7348COSi/res/My7348int.rc2 b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7348/SDK7348COSi/res/My7348int.rc2 deleted file mode 100644 index 299aaea..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7348/SDK7348COSi/res/My7348int.rc2 +++ /dev/null @@ -1,13 +0,0 @@ -// -// My7396int.RC2 - resources Microsoft Visual C++ does not edit directly -// - -#ifdef APSTUDIO_INVOKED -#error this file is not editable by Microsoft Visual C++ -#endif //APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// Add manually edited resources here... - -///////////////////////////////////////////////////////////////////////////// diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7348/SDK7348COSi/resource.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7348/SDK7348COSi/resource.h deleted file mode 100644 index ca35380..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7348/SDK7348COSi/resource.h +++ /dev/null @@ -1,25 +0,0 @@ -//{{NO_DEPENDENCIES}} -// Microsoft Visual C++ generated include file. -// Used by 7348int.rc -// -#define IDM_ABOUTBOX 0x0010 -#define IDD_ABOUTBOX 100 -#define IDS_ABOUTBOX 101 -#define IDD_MY7348INT_DIALOG 102 -#define IDR_MAINFRAME 128 -#define IDD_CARDID_DIALOG 129 -#define IDC_STATIC_COS_COUNT 1000 -#define IDC_COMBO_CARDID 1000 -#define IDC_BT_OUTPUT 1001 -#define IDC_STATIC_01 1014 - -// Next default values for new objects -// -#ifdef APSTUDIO_INVOKED -#ifndef APSTUDIO_READONLY_SYMBOLS -#define _APS_NEXT_RESOURCE_VALUE 131 -#define _APS_NEXT_COMMAND_VALUE 32771 -#define _APS_NEXT_CONTROL_VALUE 1002 -#define _APS_NEXT_SYMED_VALUE 101 -#endif -#endif diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7348/SDK7348COSi/stdafx.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7348/SDK7348COSi/stdafx.cpp deleted file mode 100644 index c041379..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7348/SDK7348COSi/stdafx.cpp +++ /dev/null @@ -1,8 +0,0 @@ - -// stdafx.cpp : source file that includes just the standard includes -// 7348int.pch will be the pre-compiled header -// stdafx.obj will contain the pre-compiled type information - -#include "stdafx.h" - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7348/SDK7348COSi/stdafx.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7348/SDK7348COSi/stdafx.h deleted file mode 100644 index 12123e2..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7348/SDK7348COSi/stdafx.h +++ /dev/null @@ -1,60 +0,0 @@ - -// stdafx.h : include file for standard system include files, -// or project specific include files that are used frequently, -// but are changed infrequently - -#pragma once - -#ifndef _SECURE_ATL -#define _SECURE_ATL 1 -#endif - -#ifndef VC_EXTRALEAN -#define VC_EXTRALEAN // Exclude rarely-used stuff from Windows headers -#endif - -#include "targetver.h" - -#define _ATL_CSTRING_EXPLICIT_CONSTRUCTORS // some CString constructors will be explicit - -// turns off MFC's hiding of some common and often safely ignored warning messages -#define _AFX_ALL_WARNINGS - -#include // MFC core and standard components -#include // MFC extensions - - -#include // MFC Automation classes - - - -#ifndef _AFX_NO_OLE_SUPPORT -#include // MFC support for Internet Explorer 4 Common Controls -#endif -#ifndef _AFX_NO_AFXCMN_SUPPORT -#include // MFC support for Windows Common Controls -#endif // _AFX_NO_AFXCMN_SUPPORT - -#include // MFC support for ribbons and control bars - - - - - - - - - -#ifdef _UNICODE -#if defined _M_IX86 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='x86' publicKeyToken='6595b64144ccf1df' language='*'\"") -#elif defined _M_IA64 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='ia64' publicKeyToken='6595b64144ccf1df' language='*'\"") -#elif defined _M_X64 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='amd64' publicKeyToken='6595b64144ccf1df' language='*'\"") -#else -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='*' publicKeyToken='6595b64144ccf1df' language='*'\"") -#endif -#endif - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7348/SDK7348COSi/targetver.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7348/SDK7348COSi/targetver.h deleted file mode 100644 index 11730d5..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7348/SDK7348COSi/targetver.h +++ /dev/null @@ -1,26 +0,0 @@ - -#pragma once - -// The following macros define the minimum required platform. The minimum required platform -// is the earliest version of Windows, Internet Explorer etc. that has the necessary features to run -// your application. The macros work by enabling all features available on platform versions up to and -// including the version specified. - -// Modify the following defines if you have to target a platform prior to the ones specified below. -// Refer to MSDN for the latest info on corresponding values for different platforms. -#ifndef WINVER // Specifies that the minimum required platform is Windows Vista. -#define WINVER 0x0600 // Change this to the appropriate value to target other versions of Windows. -#endif - -#ifndef _WIN32_WINNT // Specifies that the minimum required platform is Windows Vista. -#define _WIN32_WINNT 0x0600 // Change this to the appropriate value to target other versions of Windows. -#endif - -#ifndef _WIN32_WINDOWS // Specifies that the minimum required platform is Windows 98. -#define _WIN32_WINDOWS 0x0410 // Change this to the appropriate value to target Windows Me or later. -#endif - -#ifndef _WIN32_IE // Specifies that the minimum required platform is Internet Explorer 7.0. -#define _WIN32_IE 0x0700 // Change this to the appropriate value to target other versions of IE. -#endif - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7348/SDK7348DbEvt/7296int2.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7348/SDK7348DbEvt/7296int2.suo deleted file mode 100644 index ad48725..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7348/SDK7348DbEvt/7296int2.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7348/SDK7348DbEvt/7348int2.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7348/SDK7348DbEvt/7348int2.cpp deleted file mode 100644 index f13fcf8..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7348/SDK7348DbEvt/7348int2.cpp +++ /dev/null @@ -1,79 +0,0 @@ - -// 7348int2.cpp : Defines the class behaviors for the application. -// - -#include "stdafx.h" -#include "7348int2.h" -#include "7348int2Dlg.h" - -#ifdef _DEBUG -#define new DEBUG_NEW -#endif - - -// CMy7348int2App - -BEGIN_MESSAGE_MAP(CMy7348int2App, CWinAppEx) - ON_COMMAND(ID_HELP, &CWinApp::OnHelp) -END_MESSAGE_MAP() - - -// CMy7348int2App construction - -CMy7348int2App::CMy7348int2App() -{ - // TODO: add construction code here, - // Place all significant initialization in InitInstance -} - - -// The one and only CMy7348int2App object - -CMy7348int2App theApp; - - -// CMy7348int2App initialization - -BOOL CMy7348int2App::InitInstance() -{ - // InitCommonControlsEx() is required on Windows XP if an application - // manifest specifies use of ComCtl32.dll version 6 or later to enable - // visual styles. Otherwise, any window creation will fail. - INITCOMMONCONTROLSEX InitCtrls; - InitCtrls.dwSize = sizeof(InitCtrls); - // Set this to include all the common control classes you want to use - // in your application. - InitCtrls.dwICC = ICC_WIN95_CLASSES; - InitCommonControlsEx(&InitCtrls); - - CWinAppEx::InitInstance(); - - AfxEnableControlContainer(); - - // Standard initialization - // If you are not using these features and wish to reduce the size - // of your final executable, you should remove from the following - // the specific initialization routines you do not need - // Change the registry key under which our settings are stored - // TODO: You should modify this string to be something appropriate - // such as the name of your company or organization - SetRegistryKey(_T("Local AppWizard-Generated Applications")); - - CMy7348int2Dlg dlg; - m_pMainWnd = &dlg; - INT_PTR nResponse = dlg.DoModal(); - if (nResponse == IDOK) - { - // TODO: Place code here to handle when the dialog is - // dismissed with OK - } - else if (nResponse == IDCANCEL) - { - // TODO: Place code here to handle when the dialog is - // dismissed with Cancel - } - - // Since the dialog has been closed, return FALSE so that we exit the - // application, rather than start the application's message pump. - return FALSE; -} diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7348/SDK7348DbEvt/7348int2.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7348/SDK7348DbEvt/7348int2.h deleted file mode 100644 index 6abffa7..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7348/SDK7348DbEvt/7348int2.h +++ /dev/null @@ -1,32 +0,0 @@ - -// 7348int2.h : main header file for the PROJECT_NAME application -// - -#pragma once - -#ifndef __AFXWIN_H__ - #error "include 'stdafx.h' before including this file for PCH" -#endif - -#include "resource.h" // main symbols - - -// CMy7348int2App: -// See 7348int2.cpp for the implementation of this class -// - -class CMy7348int2App : public CWinAppEx -{ -public: - CMy7348int2App(); - -// Overrides - public: - virtual BOOL InitInstance(); - -// Implementation - - DECLARE_MESSAGE_MAP() -}; - -extern CMy7348int2App theApp; \ No newline at end of file diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7348/SDK7348DbEvt/7348int2.rc b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7348/SDK7348DbEvt/7348int2.rc deleted file mode 100644 index 068c321..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7348/SDK7348DbEvt/7348int2.rc +++ /dev/null @@ -1,285 +0,0 @@ -// Microsoft Visual C++ generated resource script. -// -#include "resource.h" - -#define APSTUDIO_READONLY_SYMBOLS -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 2 resource. -// -#ifndef APSTUDIO_INVOKED -#include "targetver.h" -#endif -#include "afxres.h" - -///////////////////////////////////////////////////////////////////////////// -#undef APSTUDIO_READONLY_SYMBOLS - -///////////////////////////////////////////////////////////////////////////// -// Chinese (Taiwan) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_CHT) -#ifdef _WIN32 -LANGUAGE LANG_CHINESE, SUBLANG_CHINESE_TRADITIONAL -#pragma code_page(950) -#endif //_WIN32 - -#ifdef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// TEXTINCLUDE -// - -1 TEXTINCLUDE -BEGIN - "resource.h\0" -END - -2 TEXTINCLUDE -BEGIN - "#ifndef APSTUDIO_INVOKED\r\n" - "#include ""targetver.h""\r\n" - "#endif\r\n" - "#include ""afxres.h""\r\n" - "\0" -END - -3 TEXTINCLUDE -BEGIN - "#define _AFX_NO_SPLITTER_RESOURCES\r\n" - "#define _AFX_NO_OLE_RESOURCES\r\n" - "#define _AFX_NO_TRACKER_RESOURCES\r\n" - "#define _AFX_NO_PROPERTY_RESOURCES\r\n" - "\r\n" - "#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)\r\n" - "LANGUAGE 9, 1\r\n" - "#pragma code_page(1252)\r\n" - "#include ""res\\My7348int2.rc2"" // non-Microsoft Visual C++ edited resources\r\n" - "#include ""afxres.rc"" // Standard components\r\n" - "#endif\r\n" - "\0" -END - -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// Icon -// - -// Icon with lowest ID value placed first to ensure application icon -// remains consistent on all systems. -IDR_MAINFRAME ICON "res\\7348int2.ico" -#endif // Chinese (Taiwan) resources -///////////////////////////////////////////////////////////////////////////// - - -///////////////////////////////////////////////////////////////////////////// -// English (U.S.) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -#ifdef _WIN32 -LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US -#pragma code_page(1252) -#endif //_WIN32 - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog -// - -IDD_DIALOG_SETUP DIALOGEX 0, 0, 188, 112 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION -CAPTION "Setup Dialog" -FONT 8, "MS Shell Dlg", 400, 0, 0x1 -BEGIN - DEFPUSHBUTTON "OK",IDOK,48,84,50,14 - PUSHBUTTON "Cancel",IDCANCEL,105,84,50,14 - LTEXT "Card Number : ",IDC_STATIC,19,19,53,14 - LTEXT "Total Count : ",IDC_STATIC,19,39,53,14 - LTEXT "Sampling Rate : ",IDC_STATIC,19,57,53,14 - COMBOBOX IDC_COMBO_CARDNO,79,17,86,13,CBS_DROPDOWN | WS_VSCROLL | WS_TABSTOP - EDITTEXT IDC_EDIT_COUNT,79,36,85,14,ES_AUTOHSCROLL | ES_NUMBER - EDITTEXT IDC_EDIT_RATE,79,55,85,14,ES_AUTOHSCROLL | ES_NUMBER -END - -IDD_ABOUTBOX DIALOGEX 0, 0, 170, 62 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "About 7348int2" -FONT 8, "MS Shell Dlg", 0, 0, 0x1 -BEGIN - ICON IDR_MAINFRAME,IDC_STATIC,14,14,21,20 - LTEXT "7348int2, Version 1.0",IDC_STATIC,42,14,114,8,SS_NOPREFIX - LTEXT "Copyright (C) 2010",IDC_STATIC,42,26,114,8 - DEFPUSHBUTTON "OK",IDOK,113,41,50,14,WS_GROUP -END - -IDD_MY7348INT2_DIALOG DIALOGEX 0, 0, 273, 193 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_VISIBLE | WS_CAPTION -EXSTYLE WS_EX_APPWINDOW -CAPTION "7348 Dual Interrupt Sample" -FONT 8, "MS Shell Dlg", 0, 0, 0x1 -BEGIN - PUSHBUTTON "Exit",IDCANCEL,163,7,50,14 - PUSHBUTTON "Setup",IDC_BT_SETUP,7,7,53,14 - PUSHBUTTON "Interrupt Trigger",IDC_BT_TRIGGER,61,7,102,14,WS_DISABLED - LTEXT "This sample demonstrates how to use dual-interrupt lines.",IDC_STATIC,7,23,190,13 - LTEXT "The IRQ source of INT1 is P1C0.",IDC_STATIC,7,31,190,13 - LTEXT "The IRQ source of INT2 is internal Timer-output.",IDC_STATIC,7,39,190,13 - LTEXT "Using cable to connect CN1 and CN2\nClick 'Setup' button first ...",IDC_STATIC_04,7,50,125,22 - LTEXT "Data from Input port: \n** only shows at most 50 data **",IDC_STATIC_07,7,97,113,19,NOT WS_VISIBLE - LTEXT "INT1 Count =",IDC_STATIC_05,7,72,85,13 - LTEXT "INT2 Count =",IDC_STATIC_06,7,83,85,13 - LTEXT "",IDC_STATIC_LINE1,7,116,247,11 - LTEXT "",IDC_STATIC_LINE2,7,130,247,11 - LTEXT "",IDC_STATIC_LINE3,7,143,247,11 - LTEXT "",IDC_STATIC_LINE4,7,156,247,11 - LTEXT "",IDC_STATIC_LINE5,7,170,247,11 -END - - -///////////////////////////////////////////////////////////////////////////// -// -// DESIGNINFO -// - -#ifdef APSTUDIO_INVOKED -GUIDELINES DESIGNINFO -BEGIN - IDD_DIALOG_SETUP, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 181 - TOPMARGIN, 7 - BOTTOMMARGIN, 105 - END - - IDD_ABOUTBOX, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 163 - TOPMARGIN, 7 - BOTTOMMARGIN, 55 - END -END -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog Info -// - -IDD_DIALOG_SETUP DLGINIT -BEGIN - IDC_COMBO_CARDNO, 0x403, 2, 0 -0x0030, - IDC_COMBO_CARDNO, 0x403, 2, 0 -0x0031, - IDC_COMBO_CARDNO, 0x403, 2, 0 -0x0032, - IDC_COMBO_CARDNO, 0x403, 2, 0 -0x0033, - IDC_COMBO_CARDNO, 0x403, 2, 0 -0x0034, - IDC_COMBO_CARDNO, 0x403, 2, 0 -0x0035, - IDC_COMBO_CARDNO, 0x403, 2, 0 -0x0036, - IDC_COMBO_CARDNO, 0x403, 2, 0 -0x0037, - IDC_COMBO_CARDNO, 0x403, 2, 0 -0x0038, - IDC_COMBO_CARDNO, 0x403, 2, 0 -0x0039, - IDC_COMBO_CARDNO, 0x403, 3, 0 -0x3031, "\000" - IDC_COMBO_CARDNO, 0x403, 3, 0 -0x3131, "\000" - IDC_COMBO_CARDNO, 0x403, 3, 0 -0x3231, "\000" - IDC_COMBO_CARDNO, 0x403, 3, 0 -0x3331, "\000" - IDC_COMBO_CARDNO, 0x403, 3, 0 -0x3431, "\000" - IDC_COMBO_CARDNO, 0x403, 3, 0 -0x3531, "\000" - 0 -END - - -///////////////////////////////////////////////////////////////////////////// -// -// Version -// - -VS_VERSION_INFO VERSIONINFO - FILEVERSION 1,0,0,1 - PRODUCTVERSION 1,0,0,1 - FILEFLAGSMASK 0x3fL -#ifdef _DEBUG - FILEFLAGS 0x1L -#else - FILEFLAGS 0x0L -#endif - FILEOS 0x4L - FILETYPE 0x1L - FILESUBTYPE 0x0L -BEGIN - BLOCK "StringFileInfo" - BEGIN - BLOCK "040904e4" - BEGIN - VALUE "CompanyName", "TODO: " - VALUE "FileDescription", "TODO: " - VALUE "FileVersion", "1.0.0.1" - VALUE "InternalName", "7348int2.exe" - VALUE "LegalCopyright", "TODO: (c) . All rights reserved." - VALUE "OriginalFilename", "7348int2.exe" - VALUE "ProductName", "TODO: " - VALUE "ProductVersion", "1.0.0.1" - END - END - BLOCK "VarFileInfo" - BEGIN - VALUE "Translation", 0x409, 1252 - END -END - - -///////////////////////////////////////////////////////////////////////////// -// -// String Table -// - -STRINGTABLE -BEGIN - IDS_ABOUTBOX "&About 7348int2..." -END - -#endif // English (U.S.) resources -///////////////////////////////////////////////////////////////////////////// - - - -#ifndef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 3 resource. -// -#define _AFX_NO_SPLITTER_RESOURCES -#define _AFX_NO_OLE_RESOURCES -#define _AFX_NO_TRACKER_RESOURCES -#define _AFX_NO_PROPERTY_RESOURCES - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -LANGUAGE 9, 1 -#pragma code_page(1252) -#include "res\My7348int2.rc2" // non-Microsoft Visual C++ edited resources -#include "afxres.rc" // Standard components -#endif - -///////////////////////////////////////////////////////////////////////////// -#endif // not APSTUDIO_INVOKED - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7348/SDK7348DbEvt/7348int2.sln b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7348/SDK7348DbEvt/7348int2.sln deleted file mode 100644 index d96e48c..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7348/SDK7348DbEvt/7348int2.sln +++ /dev/null @@ -1,20 +0,0 @@ - -Microsoft Visual Studio Solution File, Format Version 10.00 -# Visual Studio 2008 -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "7348int2", "7348int2.vcproj", "{36D327EC-F369-4F7C-BF2A-C66603E84831}" -EndProject -Global - GlobalSection(SolutionConfigurationPlatforms) = preSolution - Debug|x64 = Debug|x64 - Release|x64 = Release|x64 - EndGlobalSection - GlobalSection(ProjectConfigurationPlatforms) = postSolution - {36D327EC-F369-4F7C-BF2A-C66603E84831}.Debug|x64.ActiveCfg = Debug|x64 - {36D327EC-F369-4F7C-BF2A-C66603E84831}.Debug|x64.Build.0 = Debug|x64 - {36D327EC-F369-4F7C-BF2A-C66603E84831}.Release|x64.ActiveCfg = Release|x64 - {36D327EC-F369-4F7C-BF2A-C66603E84831}.Release|x64.Build.0 = Release|x64 - EndGlobalSection - GlobalSection(SolutionProperties) = preSolution - HideSolutionNode = FALSE - EndGlobalSection -EndGlobal diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7348/SDK7348DbEvt/7348int2.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7348/SDK7348DbEvt/7348int2.suo deleted file mode 100644 index d1174be..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7348/SDK7348DbEvt/7348int2.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7348/SDK7348DbEvt/7348int2.vcproj b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7348/SDK7348DbEvt/7348int2.vcproj deleted file mode 100644 index c91ae23..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7348/SDK7348DbEvt/7348int2.vcproj +++ /dev/null @@ -1,286 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7348/SDK7348DbEvt/7348int2Dlg.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7348/SDK7348DbEvt/7348int2Dlg.cpp deleted file mode 100644 index d5c740e..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7348/SDK7348DbEvt/7348int2Dlg.cpp +++ /dev/null @@ -1,404 +0,0 @@ - -// 7348int2Dlg.cpp : implementation file -// - -#include "stdafx.h" -#include "7348int2.h" -#include "7348int2Dlg.h" -#include "SetupDlg.h" - -#ifdef _DEBUG -#define new DEBUG_NEW -#endif - - -U32 gInBuffer[32768], gOutBuffer[32768]; -int gIntCount; -HANDLE ghIntEvent[2]; - -BOOLEAN gbExitThread; - -DWORD WINAPI IntThread( LPVOID lpParam ) -{ - while (gbExitThread == FALSE) - { - if (WaitForSingleObject(ghIntEvent[0], INFINITE) == WAIT_OBJECT_0) - { - gIntCount++; - ResetEvent(ghIntEvent[0]); - } - } - - return (DWORD) 0; -} - - -// CAboutDlg dialog used for App About - -class CAboutDlg : public CDialog -{ -public: - CAboutDlg(); - -// Dialog Data - enum { IDD = IDD_ABOUTBOX }; - - protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - -// Implementation -protected: - DECLARE_MESSAGE_MAP() -}; - -CAboutDlg::CAboutDlg() : CDialog(CAboutDlg::IDD) -{ -} - -void CAboutDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); -} - -BEGIN_MESSAGE_MAP(CAboutDlg, CDialog) -END_MESSAGE_MAP() - - -// CMy7348int2Dlg dialog - - - - -CMy7348int2Dlg::CMy7348int2Dlg(CWnd* pParent /*=NULL*/) - : CDialog(CMy7348int2Dlg::IDD, pParent) - , m_nCardIdx(-1) - , m_nSampleCount(-1) - , m_nSampleRate(-1) - , m_hCard(-1) - , m_hThread(NULL) -{ - m_hIcon = AfxGetApp()->LoadIcon(IDR_MAINFRAME); - m_nC1=10; m_nC2=10; - - ghIntEvent[0] = ghIntEvent[1] = NULL; - -} - -void CMy7348int2Dlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); -} - -BEGIN_MESSAGE_MAP(CMy7348int2Dlg, CDialog) - ON_WM_SYSCOMMAND() - ON_WM_PAINT() - ON_WM_QUERYDRAGICON() - //}}AFX_MSG_MAP - ON_WM_CTLCOLOR() - ON_BN_CLICKED(IDC_BT_SETUP, &CMy7348int2Dlg::OnBnClickedBtSetup) - ON_WM_DESTROY() - ON_BN_CLICKED(IDC_BT_TRIGGER, &CMy7348int2Dlg::OnBnClickedBtTrigger) -END_MESSAGE_MAP() - - -// CMy7348int2Dlg message handlers - -BOOL CMy7348int2Dlg::OnInitDialog() -{ - CDialog::OnInitDialog(); - - // Add "About..." menu item to system menu. - - // IDM_ABOUTBOX must be in the system command range. - ASSERT((IDM_ABOUTBOX & 0xFFF0) == IDM_ABOUTBOX); - ASSERT(IDM_ABOUTBOX < 0xF000); - - CMenu* pSysMenu = GetSystemMenu(FALSE); - if (pSysMenu != NULL) - { - BOOL bNameValid; - CString strAboutMenu; - bNameValid = strAboutMenu.LoadString(IDS_ABOUTBOX); - ASSERT(bNameValid); - if (!strAboutMenu.IsEmpty()) - { - pSysMenu->AppendMenu(MF_SEPARATOR); - pSysMenu->AppendMenu(MF_STRING, IDM_ABOUTBOX, strAboutMenu); - } - } - - // Set the icon for this dialog. The framework does this automatically - // when the application's main window is not a dialog - SetIcon(m_hIcon, TRUE); // Set big icon - SetIcon(m_hIcon, FALSE); // Set small icon - - // TODO: Add extra initialization here - - return TRUE; // return TRUE unless you set the focus to a control -} - -void CMy7348int2Dlg::OnSysCommand(UINT nID, LPARAM lParam) -{ - if ((nID & 0xFFF0) == IDM_ABOUTBOX) - { - CAboutDlg dlgAbout; - dlgAbout.DoModal(); - } - else - { - CDialog::OnSysCommand(nID, lParam); - } -} - -// If you add a minimize button to your dialog, you will need the code below -// to draw the icon. For MFC applications using the document/view model, -// this is automatically done for you by the framework. - -void CMy7348int2Dlg::OnPaint() -{ - if (IsIconic()) - { - CPaintDC dc(this); // device context for painting - - SendMessage(WM_ICONERASEBKGND, reinterpret_cast(dc.GetSafeHdc()), 0); - - // Center icon in client rectangle - int cxIcon = GetSystemMetrics(SM_CXICON); - int cyIcon = GetSystemMetrics(SM_CYICON); - CRect rect; - GetClientRect(&rect); - int x = (rect.Width() - cxIcon + 1) / 2; - int y = (rect.Height() - cyIcon + 1) / 2; - - // Draw the icon - dc.DrawIcon(x, y, m_hIcon); - } - else - { - CDialog::OnPaint(); - } -} - -// The system calls this function to obtain the cursor to display while the user drags -// the minimized window. -HCURSOR CMy7348int2Dlg::OnQueryDragIcon() -{ - return static_cast(m_hIcon); -} - - -HBRUSH CMy7348int2Dlg::OnCtlColor(CDC* pDC, CWnd* pWnd, UINT nCtlColor) -{ - HBRUSH hbr = CDialog::OnCtlColor(pDC, pWnd, nCtlColor); - - // TODO: Change any attributes of the DC here - if ( pWnd->GetDlgCtrlID() == IDC_STATIC_04 ) - pDC->SetTextColor(RGB(255,0,0)); - - // TODO: Return a different brush if the default is not desired - return hbr; -} - -void CMy7348int2Dlg::OnBnClickedBtSetup() -{ - // TODO: Add your control notification handler code here - CSetupDlg setupDlg; - INT_PTR nResponse; - CString strTemp; - int i, k; - - nResponse = setupDlg.DoModal(); - if (nResponse == IDOK) - { - if( m_nCardIdx != setupDlg.m_nCardIdx ) - { - if( m_hCard != -1 ) - { - Release_Card( m_hCard ); - m_hCard = -1; - } - - m_nCardIdx = setupDlg.m_nCardIdx; - } - - - if( m_hCard == -1 ) - { - if ((m_hCard = Register_Card(PCI_7396, m_nCardIdx)) < 0) - { - strTemp.Format( TEXT("Register_Card Error = %d"), m_hCard); - AfxMessageBox( strTemp ); - - EndDialog(IDCANCEL); - return; - } - } - - m_nSampleCount = setupDlg.m_nSampleCount; - m_nSampleRate = setupDlg.m_nSampleRate; - - for ( i=0, k=0; i255) k=0; - - gInBuffer[i]=0; - } - gIntCount = 0; - - - DIO_PortConfig(m_hCard, Channel_P1A, INPUT_PORT); - DIO_PortConfig(m_hCard, Channel_P2A, OUTPUT_PORT); - DIO_PortConfig(m_hCard, Channel_P1C, INPUT_PORT); - DIO_PortConfig(m_hCard, Channel_P2C, OUTPUT_PORT); - - DIO_SetDualInterrupt(m_hCard, INT1_FP1C0, INT2_TIMER_COUNTER, ghIntEvent); - m_nC2 = 2000000/(m_nSampleRate*m_nC1); - - if(m_hThread == NULL ) - { - gbExitThread = FALSE; - m_hThread = CreateThread( NULL, // default security attributes - 0, // use default stack size - IntThread, // thread function name - NULL, // argument to thread function - 0, // use default creation flags - NULL); // returns the thread identifier - } - - GetDlgItem(IDC_BT_TRIGGER)->EnableWindow( TRUE ); - - - - } - else if (nResponse == IDCANCEL) - { - // TODO: Place code here to handle when the dialog is - // dismissed with Cancel - } -} - -void CMy7348int2Dlg::OnDestroy() -{ - CDialog::OnDestroy(); - - // TODO: Add your message handler code here - int i; - - - if( m_hThread != NULL ) - { - gbExitThread = TRUE; // termnate the IntThread - SetEvent( ghIntEvent[0] ); - - if (WaitForSingleObject(m_hThread, 5000) == WAIT_OBJECT_0) - { - CloseHandle( m_hThread ); - m_hThread = NULL; - } - } - - - if( m_hCard >= 0 ) - { - DIO_SetDualInterrupt(m_hCard, INT1_DISABLE, INT2_DISABLE, ghIntEvent); - - for (i=0; i<2; i++) - { - if(ghIntEvent[i]) - ResetEvent(ghIntEvent[i]); - } - - - Release_Card( m_hCard ); m_hCard = -1; - } - -} - -void CMy7348int2Dlg::OnBnClickedBtTrigger() -{ - // TODO: Add your control notification handler code here - int i, k; - CString strTemp; - CString strLine1, strLine2, strLine3, strLine4, strLine5; - - CTR_Setup(m_hCard, 1, RATE_GENERATOR, m_nC1, BIN); - CTR_Setup(m_hCard, 2, RATE_GENERATOR, m_nC2, BIN); - - k=0; i=0; - gIntCount = 0; - - while ( k < m_nSampleCount ) - { - if (WaitForSingleObject(ghIntEvent[1], 10000)== WAIT_OBJECT_0) - { - DO_WritePort( m_hCard, Channel_P2C, 1 ); - Sleep(1); - DO_WritePort (m_hCard, Channel_P2C, 0 ); - - strTemp.Format( TEXT("INT2 Count = %d "), k+1); - SetDlgItemText( IDC_STATIC_06, strTemp ); - - DO_WritePort( m_hCard, Channel_P2A, gOutBuffer[k]); - DI_ReadPort( m_hCard, Channel_P1A, &(gInBuffer[k]) ); - - //generate INT1 interrupt signal - strTemp.Format( TEXT("INT1 Count = %d "), gIntCount ); - SetDlgItemText( IDC_STATIC_05, strTemp ); - k++; - } - } - - CTR_Setup( m_hCard, 1, RATE_GENERATOR, 0, BIN); - CTR_Setup( m_hCard, 2, RATE_GENERATOR, 0, BIN); - - GetDlgItem(IDC_STATIC_07)->ShowWindow( SW_SHOW ); - - strLine1.Empty(); /// clear strLine1 - strLine2.Empty(); /// clear strLine2 - strLine3.Empty(); /// clear strLine3 - strLine4.Empty(); /// clear strLine4 - strLine5.Empty(); /// clear strLine5 - - for ( i=0; i=10 && i<20) - { - strLine2 += strTemp; - } - if(i>=20 && i<30) - { - strLine3 += strTemp; - } - if (i>=30 && i<40) - { - strLine4 += strTemp; - } - if (i>=40 && i<50) - { - strLine5 += strTemp; - } - } - - if( !strLine1.IsEmpty() ) - SetDlgItemText( IDC_STATIC_LINE1, strLine1 ); - - if( !strLine2.IsEmpty() ) - SetDlgItemText( IDC_STATIC_LINE2, strLine2 ); - - if( !strLine3.IsEmpty() ) - SetDlgItemText( IDC_STATIC_LINE3, strLine3 ); - - if( !strLine4.IsEmpty() ) - SetDlgItemText( IDC_STATIC_LINE4, strLine4 ); - - if( !strLine5.IsEmpty() ) - SetDlgItemText( IDC_STATIC_LINE5, strLine5 ); -} diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7348/SDK7348DbEvt/7348int2Dlg.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7348/SDK7348DbEvt/7348int2Dlg.h deleted file mode 100644 index 45f34a8..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7348/SDK7348DbEvt/7348int2Dlg.h +++ /dev/null @@ -1,46 +0,0 @@ - -// 7348int2Dlg.h : header file -// -#include "Dask64.h" - -#pragma once - - -// CMy7348int2Dlg dialog -class CMy7348int2Dlg : public CDialog -{ -// Construction -public: - CMy7348int2Dlg(CWnd* pParent = NULL); // standard constructor - -// Dialog Data - enum { IDD = IDD_MY7348INT2_DIALOG }; - - protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - - -// Implementation -protected: - HICON m_hIcon; - int m_nCardIdx; - long m_nSampleCount; - long m_nSampleRate; - - I16 m_hCard; - int m_nC1; - int m_nC2; - HANDLE m_hThread; - - // Generated message map functions - virtual BOOL OnInitDialog(); - afx_msg void OnSysCommand(UINT nID, LPARAM lParam); - afx_msg void OnPaint(); - afx_msg HCURSOR OnQueryDragIcon(); - DECLARE_MESSAGE_MAP() -public: - afx_msg HBRUSH OnCtlColor(CDC* pDC, CWnd* pWnd, UINT nCtlColor); - afx_msg void OnBnClickedBtSetup(); - afx_msg void OnDestroy(); - afx_msg void OnBnClickedBtTrigger(); -}; diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7348/SDK7348DbEvt/7396int2.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7348/SDK7348DbEvt/7396int2.suo deleted file mode 100644 index c4036f2..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7348/SDK7348DbEvt/7396int2.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7348/SDK7348DbEvt/ReadMe.txt b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7348/SDK7348DbEvt/ReadMe.txt deleted file mode 100644 index 2285fd1..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7348/SDK7348DbEvt/ReadMe.txt +++ /dev/null @@ -1,93 +0,0 @@ -================================================================================ - MICROSOFT FOUNDATION CLASS LIBRARY : 7348int2 Project Overview -=============================================================================== - -The application wizard has created this 7348int2 application for -you. This application not only demonstrates the basics of using the Microsoft -Foundation Classes but is also a starting point for writing your application. - -This file contains a summary of what you will find in each of the files that -make up your 7348int2 application. - -7348int2.vcproj - This is the main project file for VC++ projects generated using an application wizard. - It contains information about the version of Visual C++ that generated the file, and - information about the platforms, configurations, and project features selected with the - application wizard. - -7348int2.h - This is the main header file for the application. It includes other - project specific headers (including Resource.h) and declares the - CMy7348int2App application class. - -7348int2.cpp - This is the main application source file that contains the application - class CMy7348int2App. - -7348int2.rc - This is a listing of all of the Microsoft Windows resources that the - program uses. It includes the icons, bitmaps, and cursors that are stored - in the RES subdirectory. This file can be directly edited in Microsoft - Visual C++. Your project resources are in 1033. - -res\7348int2.ico - This is an icon file, which is used as the application's icon. This - icon is included by the main resource file 7348int2.rc. - -res\My7348int2.rc2 - This file contains resources that are not edited by Microsoft - Visual C++. You should place all resources not editable by - the resource editor in this file. - - -///////////////////////////////////////////////////////////////////////////// - -The application wizard creates one dialog class: - -7348int2Dlg.h, 7348int2Dlg.cpp - the dialog - These files contain your CMy7348int2Dlg class. This class defines - the behavior of your application's main dialog. The dialog's template is - in 7348int2.rc, which can be edited in Microsoft Visual C++. - - -///////////////////////////////////////////////////////////////////////////// - -Other Features: - -ActiveX Controls - The application includes support to use ActiveX controls. - -///////////////////////////////////////////////////////////////////////////// - -Other standard files: - -StdAfx.h, StdAfx.cpp - These files are used to build a precompiled header (PCH) file - named 7348int2.pch and a precompiled types file named StdAfx.obj. - -Resource.h - This is the standard header file, which defines new resource IDs. - Microsoft Visual C++ reads and updates this file. - -7348int2.manifest - Application manifest files are used by Windows XP to describe an applications - dependency on specific versions of Side-by-Side assemblies. The loader uses this - information to load the appropriate assembly from the assembly cache or private - from the application. The Application manifest maybe included for redistribution - as an external .manifest file that is installed in the same folder as the application - executable or it may be included in the executable in the form of a resource. -///////////////////////////////////////////////////////////////////////////// - -Other notes: - -The application wizard uses "TODO:" to indicate parts of the source code you -should add to or customize. - -If your application uses MFC in a shared DLL, you will need -to redistribute the MFC DLLs. If your application is in a language -other than the operating system's locale, you will also have to -redistribute the corresponding localized resources MFC90XXX.DLL. -For more information on both of these topics, please see the section on -redistributing Visual C++ applications in MSDN documentation. - -///////////////////////////////////////////////////////////////////////////// diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7348/SDK7348DbEvt/SetupDlg.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7348/SDK7348DbEvt/SetupDlg.cpp deleted file mode 100644 index 42059c5..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7348/SDK7348DbEvt/SetupDlg.cpp +++ /dev/null @@ -1,63 +0,0 @@ -// SetupDlg.cpp : implementation file -// - -#include "stdafx.h" -#include "7348int2.h" -#include "SetupDlg.h" - - -// CSetupDlg dialog - -IMPLEMENT_DYNAMIC(CSetupDlg, CDialog) - -CSetupDlg::CSetupDlg(CWnd* pParent /*=NULL*/) - : CDialog(CSetupDlg::IDD, pParent) - , m_nSampleCount(40) - , m_nSampleRate(10000) -{ - -} - -CSetupDlg::~CSetupDlg() -{ -} - -void CSetupDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); - DDX_Control(pDX, IDC_COMBO_CARDNO, m_cbCardID); - DDX_Text(pDX, IDC_EDIT_COUNT, m_nSampleCount); - DDX_Text(pDX, IDC_EDIT_RATE, m_nSampleRate); - DDV_MinMaxLong(pDX, m_nSampleCount, 0, 32768); - DDV_MinMaxLong(pDX, m_nSampleRate, 0, 15000); -} - - -BEGIN_MESSAGE_MAP(CSetupDlg, CDialog) - ON_CBN_SELCHANGE(IDC_COMBO_CARDNO, &CSetupDlg::OnCardNoSelchange) -// ON_EN_CHANGE(IDC_EDIT_COUNT, &CSetupDlg::OnEnChangeEditCount) -END_MESSAGE_MAP() - - -// CSetupDlg message handlers - -BOOL CSetupDlg::OnInitDialog() -{ - CDialog::OnInitDialog(); - - // TODO: Add extra initialization here - m_cbCardID.SetCurSel(0); - m_nCardIdx = 0; - - - return TRUE; // return TRUE unless you set the focus to a control - // EXCEPTION: OCX Property Pages should return FALSE -} - -void CSetupDlg::OnCardNoSelchange() -{ - // TODO: Add your control notification handler code here - m_nCardIdx = m_cbCardID.GetCurSel(); - -} - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7348/SDK7348DbEvt/SetupDlg.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7348/SDK7348DbEvt/SetupDlg.h deleted file mode 100644 index 7b42abf..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7348/SDK7348DbEvt/SetupDlg.h +++ /dev/null @@ -1,30 +0,0 @@ -#pragma once -#include "afxwin.h" - - -// CSetupDlg dialog - -class CSetupDlg : public CDialog -{ - DECLARE_DYNAMIC(CSetupDlg) - -public: - CSetupDlg(CWnd* pParent = NULL); // standard constructor - virtual ~CSetupDlg(); - -// Dialog Data - enum { IDD = IDD_DIALOG_SETUP }; - -protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - - DECLARE_MESSAGE_MAP() -public: - CComboBox m_cbCardID; - virtual BOOL OnInitDialog(); - long m_nSampleCount; - long m_nSampleRate; - int m_nCardIdx; - afx_msg void OnCardNoSelchange(); -// afx_msg void OnEnChangeEditCount(); -}; diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7348/SDK7348DbEvt/res/7348int2.ico b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7348/SDK7348DbEvt/res/7348int2.ico deleted file mode 100644 index d56fbcd..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7348/SDK7348DbEvt/res/7348int2.ico and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7348/SDK7348DbEvt/res/My7348int2.rc2 b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7348/SDK7348DbEvt/res/My7348int2.rc2 deleted file mode 100644 index 1b53e51..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7348/SDK7348DbEvt/res/My7348int2.rc2 +++ /dev/null @@ -1,13 +0,0 @@ -// -// My7296int2.RC2 - resources Microsoft Visual C++ does not edit directly -// - -#ifdef APSTUDIO_INVOKED -#error this file is not editable by Microsoft Visual C++ -#endif //APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// Add manually edited resources here... - -///////////////////////////////////////////////////////////////////////////// diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7348/SDK7348DbEvt/resource.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7348/SDK7348DbEvt/resource.h deleted file mode 100644 index 823ba09..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7348/SDK7348DbEvt/resource.h +++ /dev/null @@ -1,35 +0,0 @@ -//{{NO_DEPENDENCIES}} -// Microsoft Visual C++ generated include file. -// Used by 7348int2.rc -// -#define IDM_ABOUTBOX 0x0010 -#define IDD_ABOUTBOX 100 -#define IDS_ABOUTBOX 101 -#define IDD_MY7348INT2_DIALOG 102 -#define IDR_MAINFRAME 128 -#define IDD_DIALOG_SETUP 129 -#define IDC_BT_SETUP 1000 -#define IDC_BT_TRIGGER 1001 -#define IDC_STATIC_04 1002 -#define IDC_COMBO_CARDNO 1003 -#define IDC_EDIT_COUNT 1004 -#define IDC_EDIT_RATE 1005 -#define IDC_STATIC_07 1005 -#define IDC_STATIC_05 1006 -#define IDC_STATIC_06 1007 -#define IDC_STATIC_LINE1 1008 -#define IDC_STATIC_LINE2 1009 -#define IDC_STATIC_LINE3 1010 -#define IDC_STATIC_LINE4 1011 -#define IDC_STATIC_LINE5 1012 - -// Next default values for new objects -// -#ifdef APSTUDIO_INVOKED -#ifndef APSTUDIO_READONLY_SYMBOLS -#define _APS_NEXT_RESOURCE_VALUE 131 -#define _APS_NEXT_COMMAND_VALUE 32771 -#define _APS_NEXT_CONTROL_VALUE 1009 -#define _APS_NEXT_SYMED_VALUE 101 -#endif -#endif diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7348/SDK7348DbEvt/stdafx.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7348/SDK7348DbEvt/stdafx.cpp deleted file mode 100644 index 8f9ab83..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7348/SDK7348DbEvt/stdafx.cpp +++ /dev/null @@ -1,8 +0,0 @@ - -// stdafx.cpp : source file that includes just the standard includes -// 7348int2.pch will be the pre-compiled header -// stdafx.obj will contain the pre-compiled type information - -#include "stdafx.h" - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7348/SDK7348DbEvt/stdafx.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7348/SDK7348DbEvt/stdafx.h deleted file mode 100644 index 12123e2..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7348/SDK7348DbEvt/stdafx.h +++ /dev/null @@ -1,60 +0,0 @@ - -// stdafx.h : include file for standard system include files, -// or project specific include files that are used frequently, -// but are changed infrequently - -#pragma once - -#ifndef _SECURE_ATL -#define _SECURE_ATL 1 -#endif - -#ifndef VC_EXTRALEAN -#define VC_EXTRALEAN // Exclude rarely-used stuff from Windows headers -#endif - -#include "targetver.h" - -#define _ATL_CSTRING_EXPLICIT_CONSTRUCTORS // some CString constructors will be explicit - -// turns off MFC's hiding of some common and often safely ignored warning messages -#define _AFX_ALL_WARNINGS - -#include // MFC core and standard components -#include // MFC extensions - - -#include // MFC Automation classes - - - -#ifndef _AFX_NO_OLE_SUPPORT -#include // MFC support for Internet Explorer 4 Common Controls -#endif -#ifndef _AFX_NO_AFXCMN_SUPPORT -#include // MFC support for Windows Common Controls -#endif // _AFX_NO_AFXCMN_SUPPORT - -#include // MFC support for ribbons and control bars - - - - - - - - - -#ifdef _UNICODE -#if defined _M_IX86 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='x86' publicKeyToken='6595b64144ccf1df' language='*'\"") -#elif defined _M_IA64 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='ia64' publicKeyToken='6595b64144ccf1df' language='*'\"") -#elif defined _M_X64 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='amd64' publicKeyToken='6595b64144ccf1df' language='*'\"") -#else -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='*' publicKeyToken='6595b64144ccf1df' language='*'\"") -#endif -#endif - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7348/SDK7348DbEvt/targetver.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7348/SDK7348DbEvt/targetver.h deleted file mode 100644 index 11730d5..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7348/SDK7348DbEvt/targetver.h +++ /dev/null @@ -1,26 +0,0 @@ - -#pragma once - -// The following macros define the minimum required platform. The minimum required platform -// is the earliest version of Windows, Internet Explorer etc. that has the necessary features to run -// your application. The macros work by enabling all features available on platform versions up to and -// including the version specified. - -// Modify the following defines if you have to target a platform prior to the ones specified below. -// Refer to MSDN for the latest info on corresponding values for different platforms. -#ifndef WINVER // Specifies that the minimum required platform is Windows Vista. -#define WINVER 0x0600 // Change this to the appropriate value to target other versions of Windows. -#endif - -#ifndef _WIN32_WINNT // Specifies that the minimum required platform is Windows Vista. -#define _WIN32_WINNT 0x0600 // Change this to the appropriate value to target other versions of Windows. -#endif - -#ifndef _WIN32_WINDOWS // Specifies that the minimum required platform is Windows 98. -#define _WIN32_WINDOWS 0x0410 // Change this to the appropriate value to target Windows Me or later. -#endif - -#ifndef _WIN32_IE // Specifies that the minimum required platform is Internet Explorer 7.0. -#define _WIN32_IE 0x0700 // Change this to the appropriate value to target other versions of IE. -#endif - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7348/SDK7348DbEvtMsg/7296int2.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7348/SDK7348DbEvtMsg/7296int2.suo deleted file mode 100644 index 50e1ddb..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7348/SDK7348DbEvtMsg/7296int2.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7348/SDK7348DbEvtMsg/7348int2.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7348/SDK7348DbEvtMsg/7348int2.cpp deleted file mode 100644 index f13fcf8..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7348/SDK7348DbEvtMsg/7348int2.cpp +++ /dev/null @@ -1,79 +0,0 @@ - -// 7348int2.cpp : Defines the class behaviors for the application. -// - -#include "stdafx.h" -#include "7348int2.h" -#include "7348int2Dlg.h" - -#ifdef _DEBUG -#define new DEBUG_NEW -#endif - - -// CMy7348int2App - -BEGIN_MESSAGE_MAP(CMy7348int2App, CWinAppEx) - ON_COMMAND(ID_HELP, &CWinApp::OnHelp) -END_MESSAGE_MAP() - - -// CMy7348int2App construction - -CMy7348int2App::CMy7348int2App() -{ - // TODO: add construction code here, - // Place all significant initialization in InitInstance -} - - -// The one and only CMy7348int2App object - -CMy7348int2App theApp; - - -// CMy7348int2App initialization - -BOOL CMy7348int2App::InitInstance() -{ - // InitCommonControlsEx() is required on Windows XP if an application - // manifest specifies use of ComCtl32.dll version 6 or later to enable - // visual styles. Otherwise, any window creation will fail. - INITCOMMONCONTROLSEX InitCtrls; - InitCtrls.dwSize = sizeof(InitCtrls); - // Set this to include all the common control classes you want to use - // in your application. - InitCtrls.dwICC = ICC_WIN95_CLASSES; - InitCommonControlsEx(&InitCtrls); - - CWinAppEx::InitInstance(); - - AfxEnableControlContainer(); - - // Standard initialization - // If you are not using these features and wish to reduce the size - // of your final executable, you should remove from the following - // the specific initialization routines you do not need - // Change the registry key under which our settings are stored - // TODO: You should modify this string to be something appropriate - // such as the name of your company or organization - SetRegistryKey(_T("Local AppWizard-Generated Applications")); - - CMy7348int2Dlg dlg; - m_pMainWnd = &dlg; - INT_PTR nResponse = dlg.DoModal(); - if (nResponse == IDOK) - { - // TODO: Place code here to handle when the dialog is - // dismissed with OK - } - else if (nResponse == IDCANCEL) - { - // TODO: Place code here to handle when the dialog is - // dismissed with Cancel - } - - // Since the dialog has been closed, return FALSE so that we exit the - // application, rather than start the application's message pump. - return FALSE; -} diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7348/SDK7348DbEvtMsg/7348int2.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7348/SDK7348DbEvtMsg/7348int2.h deleted file mode 100644 index 6abffa7..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7348/SDK7348DbEvtMsg/7348int2.h +++ /dev/null @@ -1,32 +0,0 @@ - -// 7348int2.h : main header file for the PROJECT_NAME application -// - -#pragma once - -#ifndef __AFXWIN_H__ - #error "include 'stdafx.h' before including this file for PCH" -#endif - -#include "resource.h" // main symbols - - -// CMy7348int2App: -// See 7348int2.cpp for the implementation of this class -// - -class CMy7348int2App : public CWinAppEx -{ -public: - CMy7348int2App(); - -// Overrides - public: - virtual BOOL InitInstance(); - -// Implementation - - DECLARE_MESSAGE_MAP() -}; - -extern CMy7348int2App theApp; \ No newline at end of file diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7348/SDK7348DbEvtMsg/7348int2.rc b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7348/SDK7348DbEvtMsg/7348int2.rc deleted file mode 100644 index 616799d..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7348/SDK7348DbEvtMsg/7348int2.rc +++ /dev/null @@ -1,302 +0,0 @@ -// Microsoft Visual C++ generated resource script. -// -#include "resource.h" - -#define APSTUDIO_READONLY_SYMBOLS -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 2 resource. -// -#ifndef APSTUDIO_INVOKED -#include "targetver.h" -#endif -#include "afxres.h" - -///////////////////////////////////////////////////////////////////////////// -#undef APSTUDIO_READONLY_SYMBOLS - -///////////////////////////////////////////////////////////////////////////// -// Chinese (Taiwan) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_CHT) -#ifdef _WIN32 -LANGUAGE LANG_CHINESE, SUBLANG_CHINESE_TRADITIONAL -#pragma code_page(950) -#endif //_WIN32 - -#ifdef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// TEXTINCLUDE -// - -1 TEXTINCLUDE -BEGIN - "resource.h\0" -END - -2 TEXTINCLUDE -BEGIN - "#ifndef APSTUDIO_INVOKED\r\n" - "#include ""targetver.h""\r\n" - "#endif\r\n" - "#include ""afxres.h""\r\n" - "\0" -END - -3 TEXTINCLUDE -BEGIN - "#define _AFX_NO_SPLITTER_RESOURCES\r\n" - "#define _AFX_NO_OLE_RESOURCES\r\n" - "#define _AFX_NO_TRACKER_RESOURCES\r\n" - "#define _AFX_NO_PROPERTY_RESOURCES\r\n" - "\r\n" - "#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)\r\n" - "LANGUAGE 9, 1\r\n" - "#pragma code_page(1252)\r\n" - "#include ""res\\My7348int2.rc2"" // non-Microsoft Visual C++ edited resources\r\n" - "#include ""afxres.rc"" // Standard components\r\n" - "#endif\r\n" - "\0" -END - -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// Icon -// - -// Icon with lowest ID value placed first to ensure application icon -// remains consistent on all systems. -IDR_MAINFRAME ICON "res\\7348int2.ico" - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog -// - -IDD_DIALOG_SETUP DIALOGEX 0, 0, 188, 112 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION -CAPTION "Setup Dialog" -FONT 8, "MS Shell Dlg", 400, 0, 0x1 -BEGIN - DEFPUSHBUTTON "OK",IDOK,48,84,50,14 - PUSHBUTTON "Cancel",IDCANCEL,105,84,50,14 - LTEXT "Card Number : ",IDC_STATIC,19,19,53,14 - LTEXT "Total Count : ",IDC_STATIC,19,39,53,14 - LTEXT "Sampling Rate : ",IDC_STATIC,19,57,53,14 - COMBOBOX IDC_COMBO_CARDNO,79,17,86,13,CBS_DROPDOWN | WS_VSCROLL | WS_TABSTOP - EDITTEXT IDC_EDIT_COUNT,79,36,85,14,ES_AUTOHSCROLL | ES_NUMBER - EDITTEXT IDC_EDIT_RATE,79,55,85,14,ES_AUTOHSCROLL | ES_NUMBER -END - - -///////////////////////////////////////////////////////////////////////////// -// -// DESIGNINFO -// - -#ifdef APSTUDIO_INVOKED -GUIDELINES DESIGNINFO -BEGIN - IDD_DIALOG_SETUP, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 181 - TOPMARGIN, 7 - BOTTOMMARGIN, 105 - END -END -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog Info -// - -IDD_DIALOG_SETUP DLGINIT -BEGIN - IDC_COMBO_CARDNO, 0x403, 2, 0 -0x0030, - IDC_COMBO_CARDNO, 0x403, 2, 0 -0x0031, - IDC_COMBO_CARDNO, 0x403, 2, 0 -0x0032, - IDC_COMBO_CARDNO, 0x403, 2, 0 -0x0033, - IDC_COMBO_CARDNO, 0x403, 2, 0 -0x0034, - IDC_COMBO_CARDNO, 0x403, 2, 0 -0x0035, - IDC_COMBO_CARDNO, 0x403, 2, 0 -0x0036, - IDC_COMBO_CARDNO, 0x403, 2, 0 -0x0037, - IDC_COMBO_CARDNO, 0x403, 2, 0 -0x0038, - IDC_COMBO_CARDNO, 0x403, 2, 0 -0x0039, - IDC_COMBO_CARDNO, 0x403, 3, 0 -0x3031, "\000" - IDC_COMBO_CARDNO, 0x403, 3, 0 -0x3131, "\000" - IDC_COMBO_CARDNO, 0x403, 3, 0 -0x3231, "\000" - IDC_COMBO_CARDNO, 0x403, 3, 0 -0x3331, "\000" - IDC_COMBO_CARDNO, 0x403, 3, 0 -0x3431, "\000" - IDC_COMBO_CARDNO, 0x403, 3, 0 -0x3531, "\000" - 0 -END - -#endif // Chinese (Taiwan) resources -///////////////////////////////////////////////////////////////////////////// - - -///////////////////////////////////////////////////////////////////////////// -// English (U.S.) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -#ifdef _WIN32 -LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US -#pragma code_page(1252) -#endif //_WIN32 - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog -// - -IDD_ABOUTBOX DIALOGEX 0, 0, 170, 62 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "About 7348int2" -FONT 8, "MS Shell Dlg", 0, 0, 0x1 -BEGIN - ICON IDR_MAINFRAME,IDC_STATIC,14,14,21,20 - LTEXT "7348int2, Version 1.0",IDC_STATIC,42,14,114,8,SS_NOPREFIX - LTEXT "Copyright (C) 2010",IDC_STATIC,42,26,114,8 - DEFPUSHBUTTON "OK",IDOK,113,41,50,14,WS_GROUP -END - -IDD_MY7348INT2_DIALOG DIALOGEX 0, 0, 273, 193 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_VISIBLE | WS_CAPTION -EXSTYLE WS_EX_APPWINDOW -CAPTION "7348 Dual Interrupt Sample" -FONT 8, "MS Shell Dlg", 0, 0, 0x1 -BEGIN - PUSHBUTTON "Exit",IDCANCEL,163,7,50,14 - PUSHBUTTON "Setup",IDC_BT_SETUP,7,7,53,14 - PUSHBUTTON "Interrupt Trigger",IDC_BT_TRIGGER,61,7,102,14,WS_DISABLED - LTEXT "This sample demonstrates how to use dual-interrupt lines.",IDC_STATIC,7,23,190,13 - LTEXT "The IRQ source of INT1 is P1C0.",IDC_STATIC,7,31,190,13 - LTEXT "The IRQ source of INT2 is internal Timer-output.",IDC_STATIC,7,39,190,13 - LTEXT "Using cable to connect CN1 and CN2\nClick 'Setup' button first ...",IDC_STATIC_04,7,50,125,22 - LTEXT "Data from Input port: \n** only shows at most 50 data **",IDC_STATIC_07,7,97,113,19,NOT WS_VISIBLE - LTEXT "INT1 Count =",IDC_STATIC_05,7,72,85,13 - LTEXT "INT2 Count =",IDC_STATIC_06,7,83,85,13 - LTEXT "",IDC_STATIC_LINE1,7,116,247,11 - LTEXT "",IDC_STATIC_LINE2,7,130,247,11 - LTEXT "",IDC_STATIC_LINE3,7,143,247,11 - LTEXT "",IDC_STATIC_LINE4,7,156,247,11 - LTEXT "",IDC_STATIC_LINE5,7,170,247,11 -END - - -///////////////////////////////////////////////////////////////////////////// -// -// DESIGNINFO -// - -#ifdef APSTUDIO_INVOKED -GUIDELINES DESIGNINFO -BEGIN - IDD_ABOUTBOX, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 163 - TOPMARGIN, 7 - BOTTOMMARGIN, 55 - END -END -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// Version -// - -VS_VERSION_INFO VERSIONINFO - FILEVERSION 1,0,0,1 - PRODUCTVERSION 1,0,0,1 - FILEFLAGSMASK 0x3fL -#ifdef _DEBUG - FILEFLAGS 0x1L -#else - FILEFLAGS 0x0L -#endif - FILEOS 0x4L - FILETYPE 0x1L - FILESUBTYPE 0x0L -BEGIN - BLOCK "StringFileInfo" - BEGIN - BLOCK "040904e4" - BEGIN - VALUE "CompanyName", "TODO: " - VALUE "FileDescription", "TODO: " - VALUE "FileVersion", "1.0.0.1" - VALUE "InternalName", "7348int2.exe" - VALUE "LegalCopyright", "TODO: (c) . All rights reserved." - VALUE "OriginalFilename", "7348int2.exe" - VALUE "ProductName", "TODO: " - VALUE "ProductVersion", "1.0.0.1" - END - END - BLOCK "VarFileInfo" - BEGIN - VALUE "Translation", 0x409, 1252 - END -END - - -///////////////////////////////////////////////////////////////////////////// -// -// String Table -// - -STRINGTABLE -BEGIN - IDS_ABOUTBOX "&About 7348int2..." -END - -#endif // English (U.S.) resources -///////////////////////////////////////////////////////////////////////////// - - - -#ifndef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 3 resource. -// -#define _AFX_NO_SPLITTER_RESOURCES -#define _AFX_NO_OLE_RESOURCES -#define _AFX_NO_TRACKER_RESOURCES -#define _AFX_NO_PROPERTY_RESOURCES - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -LANGUAGE 9, 1 -#pragma code_page(1252) -#include "res\My7348int2.rc2" // non-Microsoft Visual C++ edited resources -#include "afxres.rc" // Standard components -#endif - -///////////////////////////////////////////////////////////////////////////// -#endif // not APSTUDIO_INVOKED - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7348/SDK7348DbEvtMsg/7348int2.sln b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7348/SDK7348DbEvtMsg/7348int2.sln deleted file mode 100644 index d96e48c..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7348/SDK7348DbEvtMsg/7348int2.sln +++ /dev/null @@ -1,20 +0,0 @@ - -Microsoft Visual Studio Solution File, Format Version 10.00 -# Visual Studio 2008 -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "7348int2", "7348int2.vcproj", "{36D327EC-F369-4F7C-BF2A-C66603E84831}" -EndProject -Global - GlobalSection(SolutionConfigurationPlatforms) = preSolution - Debug|x64 = Debug|x64 - Release|x64 = Release|x64 - EndGlobalSection - GlobalSection(ProjectConfigurationPlatforms) = postSolution - {36D327EC-F369-4F7C-BF2A-C66603E84831}.Debug|x64.ActiveCfg = Debug|x64 - {36D327EC-F369-4F7C-BF2A-C66603E84831}.Debug|x64.Build.0 = Debug|x64 - {36D327EC-F369-4F7C-BF2A-C66603E84831}.Release|x64.ActiveCfg = Release|x64 - {36D327EC-F369-4F7C-BF2A-C66603E84831}.Release|x64.Build.0 = Release|x64 - EndGlobalSection - GlobalSection(SolutionProperties) = preSolution - HideSolutionNode = FALSE - EndGlobalSection -EndGlobal diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7348/SDK7348DbEvtMsg/7348int2.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7348/SDK7348DbEvtMsg/7348int2.suo deleted file mode 100644 index c4f5329..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7348/SDK7348DbEvtMsg/7348int2.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7348/SDK7348DbEvtMsg/7348int2.vcproj b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7348/SDK7348DbEvtMsg/7348int2.vcproj deleted file mode 100644 index 18254c6..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7348/SDK7348DbEvtMsg/7348int2.vcproj +++ /dev/null @@ -1,286 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7348/SDK7348DbEvtMsg/7348int2Dlg.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7348/SDK7348DbEvtMsg/7348int2Dlg.cpp deleted file mode 100644 index 2a3bcd1..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7348/SDK7348DbEvtMsg/7348int2Dlg.cpp +++ /dev/null @@ -1,398 +0,0 @@ - -// 7348int2Dlg.cpp : implementation file -// - -#include "stdafx.h" -#include "7348int2.h" -#include "7348int2Dlg.h" -#include "SetupDlg.h" - -#ifdef _DEBUG -#define new DEBUG_NEW -#endif - -#define COS_INTERRUPT_MESSAGE _T("COS_INT") -#define TIMER_INTERRUPT_MESSAGE _T("TIMER_INT") - -UINT WM_INT0 = ::RegisterWindowMessage(COS_INTERRUPT_MESSAGE); -UINT WM_INT1 = ::RegisterWindowMessage(TIMER_INTERRUPT_MESSAGE); - - -U32 gInBuffer[32768], gOutBuffer[32768]; -int gIntCount; -HANDLE ghIntEvent[2]; - - -// CAboutDlg dialog used for App About - -class CAboutDlg : public CDialog -{ -public: - CAboutDlg(); - -// Dialog Data - enum { IDD = IDD_ABOUTBOX }; - - protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - -// Implementation -protected: - DECLARE_MESSAGE_MAP() -}; - -CAboutDlg::CAboutDlg() : CDialog(CAboutDlg::IDD) -{ -} - -void CAboutDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); -} - -BEGIN_MESSAGE_MAP(CAboutDlg, CDialog) -END_MESSAGE_MAP() - - -// CMy7348int2Dlg dialog - - - - -CMy7348int2Dlg::CMy7348int2Dlg(CWnd* pParent /*=NULL*/) - : CDialog(CMy7348int2Dlg::IDD, pParent) - , m_nCardIdx(-1) - , m_nSampleCount(-1) - , m_nSampleRate(-1) - , m_hCard(-1) - , m_hThread(NULL) -{ - m_hIcon = AfxGetApp()->LoadIcon(IDR_MAINFRAME); - m_nC1=10; m_nC2=10; - - m_TimerCount = 0; - m_COSCount = 0; - -} - -void CMy7348int2Dlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); -} - -BEGIN_MESSAGE_MAP(CMy7348int2Dlg, CDialog) - ON_WM_SYSCOMMAND() - ON_WM_PAINT() - ON_WM_QUERYDRAGICON() - ON_REGISTERED_MESSAGE(WM_INT0, OnCOS0Interrupt) - ON_REGISTERED_MESSAGE(WM_INT1, OnTimerInterrupt) - //}}AFX_MSG_MAP - ON_WM_CTLCOLOR() - ON_BN_CLICKED(IDC_BT_SETUP, &CMy7348int2Dlg::OnBnClickedBtSetup) - ON_WM_DESTROY() - ON_BN_CLICKED(IDC_BT_TRIGGER, &CMy7348int2Dlg::OnBnClickedBtTrigger) -END_MESSAGE_MAP() - - -// CMy7348int2Dlg message handlers - -BOOL CMy7348int2Dlg::OnInitDialog() -{ - CDialog::OnInitDialog(); - - // Add "About..." menu item to system menu. - - // IDM_ABOUTBOX must be in the system command range. - ASSERT((IDM_ABOUTBOX & 0xFFF0) == IDM_ABOUTBOX); - ASSERT(IDM_ABOUTBOX < 0xF000); - - CMenu* pSysMenu = GetSystemMenu(FALSE); - if (pSysMenu != NULL) - { - BOOL bNameValid; - CString strAboutMenu; - bNameValid = strAboutMenu.LoadString(IDS_ABOUTBOX); - ASSERT(bNameValid); - if (!strAboutMenu.IsEmpty()) - { - pSysMenu->AppendMenu(MF_SEPARATOR); - pSysMenu->AppendMenu(MF_STRING, IDM_ABOUTBOX, strAboutMenu); - } - } - - // Set the icon for this dialog. The framework does this automatically - // when the application's main window is not a dialog - SetIcon(m_hIcon, TRUE); // Set big icon - SetIcon(m_hIcon, FALSE); // Set small icon - - // TODO: Add extra initialization here - - return TRUE; // return TRUE unless you set the focus to a control -} - -void CMy7348int2Dlg::OnSysCommand(UINT nID, LPARAM lParam) -{ - if ((nID & 0xFFF0) == IDM_ABOUTBOX) - { - CAboutDlg dlgAbout; - dlgAbout.DoModal(); - } - else - { - CDialog::OnSysCommand(nID, lParam); - } -} - -// If you add a minimize button to your dialog, you will need the code below -// to draw the icon. For MFC applications using the document/view model, -// this is automatically done for you by the framework. - -void CMy7348int2Dlg::OnPaint() -{ - if (IsIconic()) - { - CPaintDC dc(this); // device context for painting - - SendMessage(WM_ICONERASEBKGND, reinterpret_cast(dc.GetSafeHdc()), 0); - - // Center icon in client rectangle - int cxIcon = GetSystemMetrics(SM_CXICON); - int cyIcon = GetSystemMetrics(SM_CYICON); - CRect rect; - GetClientRect(&rect); - int x = (rect.Width() - cxIcon + 1) / 2; - int y = (rect.Height() - cyIcon + 1) / 2; - - // Draw the icon - dc.DrawIcon(x, y, m_hIcon); - } - else - { - CDialog::OnPaint(); - } -} - -// The system calls this function to obtain the cursor to display while the user drags -// the minimized window. -HCURSOR CMy7348int2Dlg::OnQueryDragIcon() -{ - return static_cast(m_hIcon); -} - - -HBRUSH CMy7348int2Dlg::OnCtlColor(CDC* pDC, CWnd* pWnd, UINT nCtlColor) -{ - HBRUSH hbr = CDialog::OnCtlColor(pDC, pWnd, nCtlColor); - - // TODO: Change any attributes of the DC here - if ( pWnd->GetDlgCtrlID() == IDC_STATIC_04 ) - pDC->SetTextColor(RGB(255,0,0)); - - // TODO: Return a different brush if the default is not desired - return hbr; -} - -void CMy7348int2Dlg::OnBnClickedBtSetup() -{ - // TODO: Add your control notification handler code here - CSetupDlg setupDlg; - INT_PTR nResponse; - CString strTemp; - int i, k; - - nResponse = setupDlg.DoModal(); - if (nResponse == IDOK) - { - if( m_nCardIdx != setupDlg.m_nCardIdx ) - { - if( m_hCard != -1 ) - { - Release_Card( m_hCard ); - m_hCard = -1; - } - - m_nCardIdx = setupDlg.m_nCardIdx; - } - - - if( m_hCard == -1 ) - { - if ((m_hCard = Register_Card(PCI_7396, m_nCardIdx)) < 0) - { - strTemp.Format( TEXT("Register_Card Error = %d"), m_hCard); - AfxMessageBox( strTemp ); - - EndDialog(IDCANCEL); - return; - } - } - - m_nSampleCount = setupDlg.m_nSampleCount; - m_nSampleRate = setupDlg.m_nSampleRate; - - for ( i=0, k=0; i255) k=0; - - gInBuffer[i]=0; - } - gIntCount = 0; - - DIO_PortConfig(m_hCard, Channel_P1A, INPUT_PORT); - DIO_PortConfig(m_hCard, Channel_P2A, OUTPUT_PORT); - DIO_PortConfig(m_hCard, Channel_P1C, INPUT_PORT); - DIO_PortConfig(m_hCard, Channel_P2C, OUTPUT_PORT); - - GetDlgItem(IDC_BT_TRIGGER)->EnableWindow( TRUE ); - - } - else if (nResponse == IDCANCEL) - { - // TODO: Place code here to handle when the dialog is - // dismissed with Cancel - } -} - -void CMy7348int2Dlg::OnDestroy() -{ - CDialog::OnDestroy(); - - // TODO: Add your message handler code here - int i; - - if( m_hCard >= 0 ) - { - DIO_SetDualInterrupt(m_hCard, INT1_DISABLE, INT2_DISABLE, ghIntEvent); - - for (i=0; i<2; i++) - { - if(ghIntEvent[i]) - ResetEvent(ghIntEvent[i]); - } - - - Release_Card( m_hCard ); m_hCard = -1; - } - -} - -void CMy7348int2Dlg::OnBnClickedBtTrigger() -{ - // TODO: Add your control notification handler code here - - DIO_INT1_EventMessage (m_hCard, INT1_FP1C0, this->m_hWnd, WM_INT0, NULL); - DIO_INT2_EventMessage (m_hCard, INT2_TIMER_COUNTER, this->m_hWnd, WM_INT1, NULL); - - m_nC2 = 2000000/(m_nSampleRate*m_nC1); - - CTR_Setup(m_hCard, 1, RATE_GENERATOR, m_nC1, BIN); - CTR_Setup(m_hCard, 2, RATE_GENERATOR, m_nC2, BIN); - - m_TimerCount = 0; - m_COSCount = 0; - - -} - -LRESULT CMy7348int2Dlg::OnCOS0Interrupt(WPARAM wParam, LPARAM lParam) -{ - // do something useful - CString strTemp; - - m_COSCount ++; - strTemp.Format( TEXT("INT1 Count = %d "), m_COSCount); - SetDlgItemText( IDC_STATIC_05, strTemp ); - - - return (LRESULT) 0; -} - - -LRESULT CMy7348int2Dlg::OnTimerInterrupt(WPARAM wParam, LPARAM lParam) -{ - int i; - CString strTemp; - CString strLine1, strLine2, strLine3, strLine4, strLine5; - - i=0; - // do something useful - if( m_TimerCount < m_nSampleCount ) - { - DO_WritePort( m_hCard, Channel_P2C, 1 ); - DO_WritePort (m_hCard, Channel_P2C, 0 ); - - strTemp.Format( TEXT("INT2 Count = %d "), m_TimerCount); - SetDlgItemText( IDC_STATIC_06, strTemp ); - - DO_WritePort( m_hCard, Channel_P2A, gOutBuffer[m_TimerCount]); - DI_ReadPort( m_hCard, Channel_P1A, &(gInBuffer[m_TimerCount]) ); - - //generate INT1 interrupt signal - m_TimerCount++; - } - else - { - DIO_INT2_EventMessage ( m_hCard, INT2_DISABLE, this->m_hWnd, NULL, NULL); - DIO_INT1_EventMessage ( m_hCard, INT1_DISABLE, this->m_hWnd, NULL, NULL); - CTR_Setup( m_hCard, 1, RATE_GENERATOR, 0, BIN); - CTR_Setup( m_hCard, 2, RATE_GENERATOR, 0, BIN); - - GetDlgItem(IDC_STATIC_07)->ShowWindow( SW_SHOW ); - - strLine1.Empty(); /// clear strLine1 - strLine2.Empty(); /// clear strLine2 - strLine3.Empty(); /// clear strLine3 - strLine4.Empty(); /// clear strLine4 - strLine5.Empty(); /// clear strLine5 - - for ( i=0; i<50 /*m_nSampleCount*/; i++) - { - strTemp.Format( TEXT("%d, "), gInBuffer[i] ); - - if(i<10) - { - strLine1 += strTemp; - } - - if(i>=10 && i<20) - { - strLine2 += strTemp; - } - - if(i>=20 && i<30) - { - strLine3 += strTemp; - } - - if (i>=30 && i<40) - { - strLine4 += strTemp; - } - - if (i>=40 && i<50) - { - strLine5 += strTemp; - } - } - - if( !strLine1.IsEmpty() ) - SetDlgItemText( IDC_STATIC_LINE1, strLine1 ); - - if( !strLine2.IsEmpty() ) - SetDlgItemText( IDC_STATIC_LINE2, strLine2 ); - - if( !strLine3.IsEmpty() ) - SetDlgItemText( IDC_STATIC_LINE3, strLine3 ); - - if( !strLine4.IsEmpty() ) - SetDlgItemText( IDC_STATIC_LINE4, strLine4 ); - - if( !strLine5.IsEmpty() ) - SetDlgItemText( IDC_STATIC_LINE5, strLine5 ); - } - - - return (LRESULT) 0; -} \ No newline at end of file diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7348/SDK7348DbEvtMsg/7348int2Dlg.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7348/SDK7348DbEvtMsg/7348int2Dlg.h deleted file mode 100644 index 6528cba..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7348/SDK7348DbEvtMsg/7348int2Dlg.h +++ /dev/null @@ -1,50 +0,0 @@ - -// 7348int2Dlg.h : header file -// -#include "Dask64.h" - -#pragma once - - -// CMy7348int2Dlg dialog -class CMy7348int2Dlg : public CDialog -{ -// Construction -public: - CMy7348int2Dlg(CWnd* pParent = NULL); // standard constructor - -// Dialog Data - enum { IDD = IDD_MY7348INT2_DIALOG }; - - protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - - -// Implementation -protected: - HICON m_hIcon; - int m_nCardIdx; - long m_nSampleCount; - long m_nSampleRate; - int m_COSCount; - int m_TimerCount; - - I16 m_hCard; - int m_nC1; - int m_nC2; - HANDLE m_hThread; - - // Generated message map functions - virtual BOOL OnInitDialog(); - afx_msg void OnSysCommand(UINT nID, LPARAM lParam); - afx_msg LRESULT OnCOS0Interrupt(WPARAM wParam, LPARAM lParam); - afx_msg LRESULT OnTimerInterrupt(WPARAM wParam, LPARAM lParam); - afx_msg void OnPaint(); - afx_msg HCURSOR OnQueryDragIcon(); - DECLARE_MESSAGE_MAP() -public: - afx_msg HBRUSH OnCtlColor(CDC* pDC, CWnd* pWnd, UINT nCtlColor); - afx_msg void OnBnClickedBtSetup(); - afx_msg void OnDestroy(); - afx_msg void OnBnClickedBtTrigger(); -}; diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7348/SDK7348DbEvtMsg/7396int2.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7348/SDK7348DbEvtMsg/7396int2.suo deleted file mode 100644 index 04eec4e..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7348/SDK7348DbEvtMsg/7396int2.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7348/SDK7348DbEvtMsg/ReadMe.txt b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7348/SDK7348DbEvtMsg/ReadMe.txt deleted file mode 100644 index 2285fd1..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7348/SDK7348DbEvtMsg/ReadMe.txt +++ /dev/null @@ -1,93 +0,0 @@ -================================================================================ - MICROSOFT FOUNDATION CLASS LIBRARY : 7348int2 Project Overview -=============================================================================== - -The application wizard has created this 7348int2 application for -you. This application not only demonstrates the basics of using the Microsoft -Foundation Classes but is also a starting point for writing your application. - -This file contains a summary of what you will find in each of the files that -make up your 7348int2 application. - -7348int2.vcproj - This is the main project file for VC++ projects generated using an application wizard. - It contains information about the version of Visual C++ that generated the file, and - information about the platforms, configurations, and project features selected with the - application wizard. - -7348int2.h - This is the main header file for the application. It includes other - project specific headers (including Resource.h) and declares the - CMy7348int2App application class. - -7348int2.cpp - This is the main application source file that contains the application - class CMy7348int2App. - -7348int2.rc - This is a listing of all of the Microsoft Windows resources that the - program uses. It includes the icons, bitmaps, and cursors that are stored - in the RES subdirectory. This file can be directly edited in Microsoft - Visual C++. Your project resources are in 1033. - -res\7348int2.ico - This is an icon file, which is used as the application's icon. This - icon is included by the main resource file 7348int2.rc. - -res\My7348int2.rc2 - This file contains resources that are not edited by Microsoft - Visual C++. You should place all resources not editable by - the resource editor in this file. - - -///////////////////////////////////////////////////////////////////////////// - -The application wizard creates one dialog class: - -7348int2Dlg.h, 7348int2Dlg.cpp - the dialog - These files contain your CMy7348int2Dlg class. This class defines - the behavior of your application's main dialog. The dialog's template is - in 7348int2.rc, which can be edited in Microsoft Visual C++. - - -///////////////////////////////////////////////////////////////////////////// - -Other Features: - -ActiveX Controls - The application includes support to use ActiveX controls. - -///////////////////////////////////////////////////////////////////////////// - -Other standard files: - -StdAfx.h, StdAfx.cpp - These files are used to build a precompiled header (PCH) file - named 7348int2.pch and a precompiled types file named StdAfx.obj. - -Resource.h - This is the standard header file, which defines new resource IDs. - Microsoft Visual C++ reads and updates this file. - -7348int2.manifest - Application manifest files are used by Windows XP to describe an applications - dependency on specific versions of Side-by-Side assemblies. The loader uses this - information to load the appropriate assembly from the assembly cache or private - from the application. The Application manifest maybe included for redistribution - as an external .manifest file that is installed in the same folder as the application - executable or it may be included in the executable in the form of a resource. -///////////////////////////////////////////////////////////////////////////// - -Other notes: - -The application wizard uses "TODO:" to indicate parts of the source code you -should add to or customize. - -If your application uses MFC in a shared DLL, you will need -to redistribute the MFC DLLs. If your application is in a language -other than the operating system's locale, you will also have to -redistribute the corresponding localized resources MFC90XXX.DLL. -For more information on both of these topics, please see the section on -redistributing Visual C++ applications in MSDN documentation. - -///////////////////////////////////////////////////////////////////////////// diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7348/SDK7348DbEvtMsg/SetupDlg.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7348/SDK7348DbEvtMsg/SetupDlg.cpp deleted file mode 100644 index 967ea27..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7348/SDK7348DbEvtMsg/SetupDlg.cpp +++ /dev/null @@ -1,63 +0,0 @@ -// SetupDlg.cpp : implementation file -// - -#include "stdafx.h" -#include "7348int2.h" -#include "SetupDlg.h" - - -// CSetupDlg dialog - -IMPLEMENT_DYNAMIC(CSetupDlg, CDialog) - -CSetupDlg::CSetupDlg(CWnd* pParent /*=NULL*/) - : CDialog(CSetupDlg::IDD, pParent) - , m_nSampleCount(40) - , m_nSampleRate(500) -{ - -} - -CSetupDlg::~CSetupDlg() -{ -} - -void CSetupDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); - DDX_Control(pDX, IDC_COMBO_CARDNO, m_cbCardID); - DDX_Text(pDX, IDC_EDIT_COUNT, m_nSampleCount); - DDX_Text(pDX, IDC_EDIT_RATE, m_nSampleRate); - DDV_MinMaxLong(pDX, m_nSampleCount, 0, 32768); - DDV_MinMaxLong(pDX, m_nSampleRate, 0, 15000); -} - - -BEGIN_MESSAGE_MAP(CSetupDlg, CDialog) - ON_CBN_SELCHANGE(IDC_COMBO_CARDNO, &CSetupDlg::OnCardNoSelchange) -// ON_EN_CHANGE(IDC_EDIT_COUNT, &CSetupDlg::OnEnChangeEditCount) -END_MESSAGE_MAP() - - -// CSetupDlg message handlers - -BOOL CSetupDlg::OnInitDialog() -{ - CDialog::OnInitDialog(); - - // TODO: Add extra initialization here - m_cbCardID.SetCurSel(0); - m_nCardIdx = 0; - - - return TRUE; // return TRUE unless you set the focus to a control - // EXCEPTION: OCX Property Pages should return FALSE -} - -void CSetupDlg::OnCardNoSelchange() -{ - // TODO: Add your control notification handler code here - m_nCardIdx = m_cbCardID.GetCurSel(); - -} - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7348/SDK7348DbEvtMsg/SetupDlg.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7348/SDK7348DbEvtMsg/SetupDlg.h deleted file mode 100644 index 7b42abf..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7348/SDK7348DbEvtMsg/SetupDlg.h +++ /dev/null @@ -1,30 +0,0 @@ -#pragma once -#include "afxwin.h" - - -// CSetupDlg dialog - -class CSetupDlg : public CDialog -{ - DECLARE_DYNAMIC(CSetupDlg) - -public: - CSetupDlg(CWnd* pParent = NULL); // standard constructor - virtual ~CSetupDlg(); - -// Dialog Data - enum { IDD = IDD_DIALOG_SETUP }; - -protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - - DECLARE_MESSAGE_MAP() -public: - CComboBox m_cbCardID; - virtual BOOL OnInitDialog(); - long m_nSampleCount; - long m_nSampleRate; - int m_nCardIdx; - afx_msg void OnCardNoSelchange(); -// afx_msg void OnEnChangeEditCount(); -}; diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7348/SDK7348DbEvtMsg/res/7348int2.ico b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7348/SDK7348DbEvtMsg/res/7348int2.ico deleted file mode 100644 index d56fbcd..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7348/SDK7348DbEvtMsg/res/7348int2.ico and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7348/SDK7348DbEvtMsg/res/My7348int2.rc2 b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7348/SDK7348DbEvtMsg/res/My7348int2.rc2 deleted file mode 100644 index 463823b..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7348/SDK7348DbEvtMsg/res/My7348int2.rc2 +++ /dev/null @@ -1,13 +0,0 @@ -// -// My7396int2.RC2 - resources Microsoft Visual C++ does not edit directly -// - -#ifdef APSTUDIO_INVOKED -#error this file is not editable by Microsoft Visual C++ -#endif //APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// Add manually edited resources here... - -///////////////////////////////////////////////////////////////////////////// diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7348/SDK7348DbEvtMsg/resource.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7348/SDK7348DbEvtMsg/resource.h deleted file mode 100644 index 823ba09..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7348/SDK7348DbEvtMsg/resource.h +++ /dev/null @@ -1,35 +0,0 @@ -//{{NO_DEPENDENCIES}} -// Microsoft Visual C++ generated include file. -// Used by 7348int2.rc -// -#define IDM_ABOUTBOX 0x0010 -#define IDD_ABOUTBOX 100 -#define IDS_ABOUTBOX 101 -#define IDD_MY7348INT2_DIALOG 102 -#define IDR_MAINFRAME 128 -#define IDD_DIALOG_SETUP 129 -#define IDC_BT_SETUP 1000 -#define IDC_BT_TRIGGER 1001 -#define IDC_STATIC_04 1002 -#define IDC_COMBO_CARDNO 1003 -#define IDC_EDIT_COUNT 1004 -#define IDC_EDIT_RATE 1005 -#define IDC_STATIC_07 1005 -#define IDC_STATIC_05 1006 -#define IDC_STATIC_06 1007 -#define IDC_STATIC_LINE1 1008 -#define IDC_STATIC_LINE2 1009 -#define IDC_STATIC_LINE3 1010 -#define IDC_STATIC_LINE4 1011 -#define IDC_STATIC_LINE5 1012 - -// Next default values for new objects -// -#ifdef APSTUDIO_INVOKED -#ifndef APSTUDIO_READONLY_SYMBOLS -#define _APS_NEXT_RESOURCE_VALUE 131 -#define _APS_NEXT_COMMAND_VALUE 32771 -#define _APS_NEXT_CONTROL_VALUE 1009 -#define _APS_NEXT_SYMED_VALUE 101 -#endif -#endif diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7348/SDK7348DbEvtMsg/stdafx.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7348/SDK7348DbEvtMsg/stdafx.cpp deleted file mode 100644 index 8f9ab83..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7348/SDK7348DbEvtMsg/stdafx.cpp +++ /dev/null @@ -1,8 +0,0 @@ - -// stdafx.cpp : source file that includes just the standard includes -// 7348int2.pch will be the pre-compiled header -// stdafx.obj will contain the pre-compiled type information - -#include "stdafx.h" - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7348/SDK7348DbEvtMsg/stdafx.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7348/SDK7348DbEvtMsg/stdafx.h deleted file mode 100644 index 12123e2..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7348/SDK7348DbEvtMsg/stdafx.h +++ /dev/null @@ -1,60 +0,0 @@ - -// stdafx.h : include file for standard system include files, -// or project specific include files that are used frequently, -// but are changed infrequently - -#pragma once - -#ifndef _SECURE_ATL -#define _SECURE_ATL 1 -#endif - -#ifndef VC_EXTRALEAN -#define VC_EXTRALEAN // Exclude rarely-used stuff from Windows headers -#endif - -#include "targetver.h" - -#define _ATL_CSTRING_EXPLICIT_CONSTRUCTORS // some CString constructors will be explicit - -// turns off MFC's hiding of some common and often safely ignored warning messages -#define _AFX_ALL_WARNINGS - -#include // MFC core and standard components -#include // MFC extensions - - -#include // MFC Automation classes - - - -#ifndef _AFX_NO_OLE_SUPPORT -#include // MFC support for Internet Explorer 4 Common Controls -#endif -#ifndef _AFX_NO_AFXCMN_SUPPORT -#include // MFC support for Windows Common Controls -#endif // _AFX_NO_AFXCMN_SUPPORT - -#include // MFC support for ribbons and control bars - - - - - - - - - -#ifdef _UNICODE -#if defined _M_IX86 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='x86' publicKeyToken='6595b64144ccf1df' language='*'\"") -#elif defined _M_IA64 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='ia64' publicKeyToken='6595b64144ccf1df' language='*'\"") -#elif defined _M_X64 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='amd64' publicKeyToken='6595b64144ccf1df' language='*'\"") -#else -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='*' publicKeyToken='6595b64144ccf1df' language='*'\"") -#endif -#endif - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7348/SDK7348DbEvtMsg/targetver.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7348/SDK7348DbEvtMsg/targetver.h deleted file mode 100644 index 11730d5..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7348/SDK7348DbEvtMsg/targetver.h +++ /dev/null @@ -1,26 +0,0 @@ - -#pragma once - -// The following macros define the minimum required platform. The minimum required platform -// is the earliest version of Windows, Internet Explorer etc. that has the necessary features to run -// your application. The macros work by enabling all features available on platform versions up to and -// including the version specified. - -// Modify the following defines if you have to target a platform prior to the ones specified below. -// Refer to MSDN for the latest info on corresponding values for different platforms. -#ifndef WINVER // Specifies that the minimum required platform is Windows Vista. -#define WINVER 0x0600 // Change this to the appropriate value to target other versions of Windows. -#endif - -#ifndef _WIN32_WINNT // Specifies that the minimum required platform is Windows Vista. -#define _WIN32_WINNT 0x0600 // Change this to the appropriate value to target other versions of Windows. -#endif - -#ifndef _WIN32_WINDOWS // Specifies that the minimum required platform is Windows 98. -#define _WIN32_WINDOWS 0x0410 // Change this to the appropriate value to target Windows Me or later. -#endif - -#ifndef _WIN32_IE // Specifies that the minimum required platform is Internet Explorer 7.0. -#define _WIN32_IE 0x0700 // Change this to the appropriate value to target other versions of IE. -#endif - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7348/SDK7348Int/7296Int.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7348/SDK7348Int/7296Int.suo deleted file mode 100644 index ca544ed..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7348/SDK7348Int/7296Int.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7348/SDK7348Int/7348Int.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7348/SDK7348Int/7348Int.cpp deleted file mode 100644 index 2f31fa0..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7348/SDK7348Int/7348Int.cpp +++ /dev/null @@ -1,79 +0,0 @@ - -// 7348Int.cpp : Defines the class behaviors for the application. -// - -#include "stdafx.h" -#include "7348Int.h" -#include "7348IntDlg.h" - -#ifdef _DEBUG -#define new DEBUG_NEW -#endif - - -// C7348IntApp - -BEGIN_MESSAGE_MAP(C7348IntApp, CWinAppEx) - ON_COMMAND(ID_HELP, &CWinApp::OnHelp) -END_MESSAGE_MAP() - - -// C7348IntApp construction - -C7348IntApp::C7348IntApp() -{ - // TODO: add construction code here, - // Place all significant initialization in InitInstance -} - - -// The one and only C7348IntApp object - -C7348IntApp theApp; - - -// C7348IntApp initialization - -BOOL C7348IntApp::InitInstance() -{ - // InitCommonControlsEx() is required on Windows XP if an application - // manifest specifies use of ComCtl32.dll version 6 or later to enable - // visual styles. Otherwise, any window creation will fail. - INITCOMMONCONTROLSEX InitCtrls; - InitCtrls.dwSize = sizeof(InitCtrls); - // Set this to include all the common control classes you want to use - // in your application. - InitCtrls.dwICC = ICC_WIN95_CLASSES; - InitCommonControlsEx(&InitCtrls); - - CWinAppEx::InitInstance(); - - AfxEnableControlContainer(); - - // Standard initialization - // If you are not using these features and wish to reduce the size - // of your final executable, you should remove from the following - // the specific initialization routines you do not need - // Change the registry key under which our settings are stored - // TODO: You should modify this string to be something appropriate - // such as the name of your company or organization - SetRegistryKey(_T("Local AppWizard-Generated Applications")); - - C7348IntDlg dlg; - m_pMainWnd = &dlg; - INT_PTR nResponse = dlg.DoModal(); - if (nResponse == IDOK) - { - // TODO: Place code here to handle when the dialog is - // dismissed with OK - } - else if (nResponse == IDCANCEL) - { - // TODO: Place code here to handle when the dialog is - // dismissed with Cancel - } - - // Since the dialog has been closed, return FALSE so that we exit the - // application, rather than start the application's message pump. - return FALSE; -} diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7348/SDK7348Int/7348Int.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7348/SDK7348Int/7348Int.h deleted file mode 100644 index 7109e9f..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7348/SDK7348Int/7348Int.h +++ /dev/null @@ -1,32 +0,0 @@ - -// 7348Int.h : main header file for the PROJECT_NAME application -// - -#pragma once - -#ifndef __AFXWIN_H__ - #error "include 'stdafx.h' before including this file for PCH" -#endif - -#include "resource.h" // main symbols - - -// C7348IntApp: -// See 7348Int.cpp for the implementation of this class -// - -class C7348IntApp : public CWinAppEx -{ -public: - C7348IntApp(); - -// Overrides - public: - virtual BOOL InitInstance(); - -// Implementation - - DECLARE_MESSAGE_MAP() -}; - -extern C7348IntApp theApp; \ No newline at end of file diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7348/SDK7348Int/7348Int.rc b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7348/SDK7348Int/7348Int.rc deleted file mode 100644 index d821a15..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7348/SDK7348Int/7348Int.rc +++ /dev/null @@ -1,274 +0,0 @@ -// Microsoft Visual C++ generated resource script. -// -#include "resource.h" - -#define APSTUDIO_READONLY_SYMBOLS -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 2 resource. -// -#ifndef APSTUDIO_INVOKED -#include "targetver.h" -#endif -#include "afxres.h" - -///////////////////////////////////////////////////////////////////////////// -#undef APSTUDIO_READONLY_SYMBOLS - -///////////////////////////////////////////////////////////////////////////// -// Chinese (Taiwan) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_CHT) -#ifdef _WIN32 -LANGUAGE LANG_CHINESE, SUBLANG_CHINESE_TRADITIONAL -#pragma code_page(950) -#endif //_WIN32 - -#ifdef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// TEXTINCLUDE -// - -1 TEXTINCLUDE -BEGIN - "resource.h\0" -END - -2 TEXTINCLUDE -BEGIN - "#ifndef APSTUDIO_INVOKED\r\n" - "#include ""targetver.h""\r\n" - "#endif\r\n" - "#include ""afxres.h""\r\n" - "\0" -END - -3 TEXTINCLUDE -BEGIN - "#define _AFX_NO_SPLITTER_RESOURCES\r\n" - "#define _AFX_NO_OLE_RESOURCES\r\n" - "#define _AFX_NO_TRACKER_RESOURCES\r\n" - "#define _AFX_NO_PROPERTY_RESOURCES\r\n" - "\r\n" - "#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)\r\n" - "LANGUAGE 9, 1\r\n" - "#pragma code_page(1252)\r\n" - "#include ""res\\My7348Int.rc2"" // non-Microsoft Visual C++ edited resources\r\n" - "#include ""afxres.rc"" // Standard components\r\n" - "#endif\r\n" - "\0" -END - -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// Icon -// - -// Icon with lowest ID value placed first to ensure application icon -// remains consistent on all systems. -IDR_MAINFRAME ICON "res\\7348Int.ico" -#endif // Chinese (Taiwan) resources -///////////////////////////////////////////////////////////////////////////// - - -///////////////////////////////////////////////////////////////////////////// -// English (U.S.) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -#ifdef _WIN32 -LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US -#pragma code_page(1252) -#endif //_WIN32 - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog -// - -IDD_ABOUTBOX DIALOGEX 0, 0, 170, 62 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "About 7348Int" -FONT 8, "MS Shell Dlg", 0, 0, 0x1 -BEGIN - ICON IDR_MAINFRAME,IDC_STATIC,14,14,21,20 - LTEXT "7348Int, Version 1.0",IDC_STATIC,42,14,114,8,SS_NOPREFIX - LTEXT "Copyright (C) 2010",IDC_STATIC,42,26,114,8 - DEFPUSHBUTTON "OK",IDOK,113,41,50,14,WS_GROUP -END - -IDD_MY7348INT_DIALOG DIALOGEX 0, 0, 271, 207 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU -EXSTYLE WS_EX_APPWINDOW -CAPTION "7348 Interrupt Sample" -FONT 8, "MS Shell Dlg", 0, 0, 0x1 -BEGIN - PUSHBUTTON "Exit",IDCANCEL,163,7,50,14 - PUSHBUTTON "Setup",IDC_BT_SETUP,7,7,53,14 - PUSHBUTTON "Interrupt Trigger",IDC_BT_TRIGGER,61,7,102,14,WS_DISABLED - LTEXT "This sample performs digital output on PortA of\nCN2 and digital input on PortA of CN1 when an\ninterrupt happens. The INT2 is used, and inetrrupt signals are generated by internal Timer-output.",IDC_STATIC,7,26,206,33 - LTEXT "Using cable to connect CN1 and CN2\nClick 'Setup' button first ...",IDC_STATIC_04,7,62,125,17 - LTEXT "Data from Input port: \n** only shows at most 50 data **",IDC_STATIC_07,7,97,113,19,NOT WS_VISIBLE - LTEXT "INT2 Count =",IDC_STATIC_06,7,83,85,13 - LTEXT "",IDC_STATIC_LINE1,7,116,247,11 - LTEXT "",IDC_STATIC_LINE2,7,130,247,11 - LTEXT "",IDC_STATIC_LINE3,7,143,247,11 - LTEXT "",IDC_STATIC_LINE4,7,156,247,11 - LTEXT "",IDC_STATIC_LINE5,7,170,247,11 -END - -IDD_DIALOG_SETUP DIALOGEX 0, 0, 201, 114 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "Setup Dialog" -FONT 8, "MS Shell Dlg", 400, 0, 0x1 -BEGIN - DEFPUSHBUTTON "OK",IDOK,48,84,50,14 - PUSHBUTTON "Cancel",IDCANCEL,105,84,50,14 - LTEXT "Card Number : ",IDC_STATIC,19,19,53,14 - LTEXT "Total Count : ",IDC_STATIC,19,39,53,14 - LTEXT "Sampling Rate : ",IDC_STATIC,19,57,53,14 - COMBOBOX IDC_COMBO_CARDNO,79,17,86,13,CBS_DROPDOWN | WS_VSCROLL | WS_TABSTOP - EDITTEXT IDC_EDIT_COUNT,79,36,85,14,ES_AUTOHSCROLL | ES_NUMBER - EDITTEXT IDC_EDIT_RATE,79,55,85,14,ES_AUTOHSCROLL | ES_NUMBER -END - - -///////////////////////////////////////////////////////////////////////////// -// -// Version -// - -VS_VERSION_INFO VERSIONINFO - FILEVERSION 1,0,0,1 - PRODUCTVERSION 1,0,0,1 - FILEFLAGSMASK 0x3fL -#ifdef _DEBUG - FILEFLAGS 0x1L -#else - FILEFLAGS 0x0L -#endif - FILEOS 0x4L - FILETYPE 0x1L - FILESUBTYPE 0x0L -BEGIN - BLOCK "StringFileInfo" - BEGIN - BLOCK "040904e4" - BEGIN - VALUE "CompanyName", "TODO: " - VALUE "FileDescription", "TODO: " - VALUE "FileVersion", "1.0.0.1" - VALUE "InternalName", "7348Int.exe" - VALUE "LegalCopyright", "TODO: (c) . All rights reserved." - VALUE "OriginalFilename", "7348Int.exe" - VALUE "ProductName", "TODO: " - VALUE "ProductVersion", "1.0.0.1" - END - END - BLOCK "VarFileInfo" - BEGIN - VALUE "Translation", 0x409, 1252 - END -END - - -///////////////////////////////////////////////////////////////////////////// -// -// DESIGNINFO -// - -#ifdef APSTUDIO_INVOKED -GUIDELINES DESIGNINFO -BEGIN - IDD_ABOUTBOX, DIALOG - BEGIN - END - - IDD_DIALOG_SETUP, DIALOG - BEGIN - END -END -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog Info -// - -IDD_DIALOG_SETUP DLGINIT -BEGIN - IDC_COMBO_CARDNO, 0x403, 2, 0 -0x0030, - IDC_COMBO_CARDNO, 0x403, 2, 0 -0x0031, - IDC_COMBO_CARDNO, 0x403, 2, 0 -0x0032, - IDC_COMBO_CARDNO, 0x403, 2, 0 -0x0033, - IDC_COMBO_CARDNO, 0x403, 2, 0 -0x0034, - IDC_COMBO_CARDNO, 0x403, 2, 0 -0x0035, - IDC_COMBO_CARDNO, 0x403, 2, 0 -0x0036, - IDC_COMBO_CARDNO, 0x403, 2, 0 -0x0037, - IDC_COMBO_CARDNO, 0x403, 2, 0 -0x0038, - IDC_COMBO_CARDNO, 0x403, 2, 0 -0x0039, - IDC_COMBO_CARDNO, 0x403, 3, 0 -0x3031, "\000" - IDC_COMBO_CARDNO, 0x403, 3, 0 -0x3131, "\000" - IDC_COMBO_CARDNO, 0x403, 3, 0 -0x3231, "\000" - IDC_COMBO_CARDNO, 0x403, 3, 0 -0x3331, "\000" - IDC_COMBO_CARDNO, 0x403, 3, 0 -0x3431, "\000" - IDC_COMBO_CARDNO, 0x403, 3, 0 -0x3531, "\000" - 0 -END - - -///////////////////////////////////////////////////////////////////////////// -// -// String Table -// - -STRINGTABLE -BEGIN - IDS_ABOUTBOX "&About 7348Int..." -END - -#endif // English (U.S.) resources -///////////////////////////////////////////////////////////////////////////// - - - -#ifndef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 3 resource. -// -#define _AFX_NO_SPLITTER_RESOURCES -#define _AFX_NO_OLE_RESOURCES -#define _AFX_NO_TRACKER_RESOURCES -#define _AFX_NO_PROPERTY_RESOURCES - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -LANGUAGE 9, 1 -#pragma code_page(1252) -#include "res\My7348Int.rc2" // non-Microsoft Visual C++ edited resources -#include "afxres.rc" // Standard components -#endif - -///////////////////////////////////////////////////////////////////////////// -#endif // not APSTUDIO_INVOKED - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7348/SDK7348Int/7348Int.sln b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7348/SDK7348Int/7348Int.sln deleted file mode 100644 index dc353a2..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7348/SDK7348Int/7348Int.sln +++ /dev/null @@ -1,20 +0,0 @@ - -Microsoft Visual Studio Solution File, Format Version 10.00 -# Visual Studio 2008 -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "7348Int", "7348Int.vcproj", "{03CC0712-9928-4AC4-9A68-06B8B735AB32}" -EndProject -Global - GlobalSection(SolutionConfigurationPlatforms) = preSolution - Debug|x64 = Debug|x64 - Release|x64 = Release|x64 - EndGlobalSection - GlobalSection(ProjectConfigurationPlatforms) = postSolution - {03CC0712-9928-4AC4-9A68-06B8B735AB32}.Debug|x64.ActiveCfg = Debug|x64 - {03CC0712-9928-4AC4-9A68-06B8B735AB32}.Debug|x64.Build.0 = Debug|x64 - {03CC0712-9928-4AC4-9A68-06B8B735AB32}.Release|x64.ActiveCfg = Release|x64 - {03CC0712-9928-4AC4-9A68-06B8B735AB32}.Release|x64.Build.0 = Release|x64 - EndGlobalSection - GlobalSection(SolutionProperties) = preSolution - HideSolutionNode = FALSE - EndGlobalSection -EndGlobal diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7348/SDK7348Int/7348Int.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7348/SDK7348Int/7348Int.suo deleted file mode 100644 index 4ff8614..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7348/SDK7348Int/7348Int.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7348/SDK7348Int/7348Int.vcproj b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7348/SDK7348Int/7348Int.vcproj deleted file mode 100644 index 37d7093..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7348/SDK7348Int/7348Int.vcproj +++ /dev/null @@ -1,287 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7348/SDK7348Int/7348IntDlg.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7348/SDK7348Int/7348IntDlg.cpp deleted file mode 100644 index cddb93a..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7348/SDK7348Int/7348IntDlg.cpp +++ /dev/null @@ -1,343 +0,0 @@ - -// 7348IntDlg.cpp : implementation file -// - -#include "stdafx.h" -#include "7348Int.h" -#include "7348IntDlg.h" -#include "SetupDlg.h" - - -#ifdef _DEBUG -#define new DEBUG_NEW -#endif - -U32 gInBuffer[32768], gOutBuffer[32768]; -HANDLE ghIntEvent[2]; - -// CAboutDlg dialog used for App About - -class CAboutDlg : public CDialog -{ -public: - CAboutDlg(); - -// Dialog Data - enum { IDD = IDD_ABOUTBOX }; - - protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - -// Implementation -protected: - DECLARE_MESSAGE_MAP() -}; - -CAboutDlg::CAboutDlg() : CDialog(CAboutDlg::IDD) -{ -} - -void CAboutDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); -} - -BEGIN_MESSAGE_MAP(CAboutDlg, CDialog) -END_MESSAGE_MAP() - - -// C7348IntDlg dialog - - - - -C7348IntDlg::C7348IntDlg(CWnd* pParent /*=NULL*/) - : CDialog(C7348IntDlg::IDD, pParent) - , m_nCardIdx(-1) - , m_nSampleCount(-1) - , m_nSampleRate(-1) - , m_hCard(-1) -{ - m_hIcon = AfxGetApp()->LoadIcon(IDR_MAINFRAME); - m_nC1=10; m_nC2=10; -} - -void C7348IntDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); -} - -BEGIN_MESSAGE_MAP(C7348IntDlg, CDialog) - ON_WM_SYSCOMMAND() - ON_WM_PAINT() - ON_WM_QUERYDRAGICON() - //}}AFX_MSG_MAP -// ON_STN_CLICKED(IDC_STATIC_07, &C7348IntDlg::OnStnClickedStatic07) -ON_WM_DESTROY() -ON_BN_CLICKED(IDC_BT_SETUP, &C7348IntDlg::OnSetup) -ON_BN_CLICKED(IDC_BT_TRIGGER, &C7348IntDlg::OnTrigger) -ON_WM_CTLCOLOR() -END_MESSAGE_MAP() - - -// C7348IntDlg message handlers - -BOOL C7348IntDlg::OnInitDialog() -{ - CDialog::OnInitDialog(); - - // Add "About..." menu item to system menu. - - // IDM_ABOUTBOX must be in the system command range. - ASSERT((IDM_ABOUTBOX & 0xFFF0) == IDM_ABOUTBOX); - ASSERT(IDM_ABOUTBOX < 0xF000); - - CMenu* pSysMenu = GetSystemMenu(FALSE); - if (pSysMenu != NULL) - { - BOOL bNameValid; - CString strAboutMenu; - bNameValid = strAboutMenu.LoadString(IDS_ABOUTBOX); - ASSERT(bNameValid); - if (!strAboutMenu.IsEmpty()) - { - pSysMenu->AppendMenu(MF_SEPARATOR); - pSysMenu->AppendMenu(MF_STRING, IDM_ABOUTBOX, strAboutMenu); - } - } - - // Set the icon for this dialog. The framework does this automatically - // when the application's main window is not a dialog - SetIcon(m_hIcon, TRUE); // Set big icon - SetIcon(m_hIcon, FALSE); // Set small icon - - // TODO: Add extra initialization here - - return TRUE; // return TRUE unless you set the focus to a control -} - -void C7348IntDlg::OnSysCommand(UINT nID, LPARAM lParam) -{ - if ((nID & 0xFFF0) == IDM_ABOUTBOX) - { - CAboutDlg dlgAbout; - dlgAbout.DoModal(); - } - else - { - CDialog::OnSysCommand(nID, lParam); - } -} - -// If you add a minimize button to your dialog, you will need the code below -// to draw the icon. For MFC applications using the document/view model, -// this is automatically done for you by the framework. - -void C7348IntDlg::OnPaint() -{ - if (IsIconic()) - { - CPaintDC dc(this); // device context for painting - - SendMessage(WM_ICONERASEBKGND, reinterpret_cast(dc.GetSafeHdc()), 0); - - // Center icon in client rectangle - int cxIcon = GetSystemMetrics(SM_CXICON); - int cyIcon = GetSystemMetrics(SM_CYICON); - CRect rect; - GetClientRect(&rect); - int x = (rect.Width() - cxIcon + 1) / 2; - int y = (rect.Height() - cyIcon + 1) / 2; - - // Draw the icon - dc.DrawIcon(x, y, m_hIcon); - } - else - { - CDialog::OnPaint(); - } -} - -// The system calls this function to obtain the cursor to display while the user drags -// the minimized window. -HCURSOR C7348IntDlg::OnQueryDragIcon() -{ - return static_cast(m_hIcon); -} - -void C7348IntDlg::OnDestroy() -{ - CDialog::OnDestroy(); - - // TODO: Add your message handler code here - int i; - - if( m_hCard >= 0 ) - { - DIO_SetDualInterrupt(m_hCard, INT1_DISABLE, INT2_DISABLE, ghIntEvent); - - for (i=0; i<2; i++) - { - if(ghIntEvent[i]) - ResetEvent(ghIntEvent[i]); - } - - - Release_Card( m_hCard ); m_hCard = -1; - } -} - -void C7348IntDlg::OnSetup() -{ - // TODO: Add your control notification handler code here - CSetupDlg setupDlg; - INT_PTR nResponse; - CString strTemp; - int i, k; - - nResponse = setupDlg.DoModal(); - if (nResponse == IDOK) - { - if( m_nCardIdx != setupDlg.m_nCardIdx ) - { - if( m_hCard != -1 ) - { - Release_Card( m_hCard ); - m_hCard = -1; - } - - m_nCardIdx = setupDlg.m_nCardIdx; - } - - - if( m_hCard == -1 ) - { - if ((m_hCard = Register_Card(PCI_7396, m_nCardIdx)) < 0) - { - strTemp.Format( TEXT("Register_Card Error = %d"), m_hCard); - AfxMessageBox( strTemp ); - - EndDialog(IDCANCEL); - return; - } - } - - m_nSampleCount = setupDlg.m_nSampleCount; - m_nSampleRate = setupDlg.m_nSampleRate; - - for ( i=0, k=0; i255) k=0; - - gInBuffer[i]=0; - } - - - DIO_PortConfig(m_hCard, Channel_P1A, INPUT_PORT); - DIO_PortConfig(m_hCard, Channel_P2A, OUTPUT_PORT); - - DIO_SetDualInterrupt(m_hCard, INT1_DISABLE, INT2_TIMER_COUNTER, ghIntEvent); - m_nC2 = 2000000/(m_nSampleRate*m_nC1); - - GetDlgItem(IDC_BT_TRIGGER)->EnableWindow( TRUE ); - - } - else if (nResponse == IDCANCEL) - { - // TODO: Place code here to handle when the dialog is - // dismissed with Cancel - } -} - -void C7348IntDlg::OnTrigger() -{ - // TODO: Add your control notification handler code here - int i, k; - CString strTemp; - CString strLine1, strLine2, strLine3, strLine4, strLine5; - - CTR_Setup(m_hCard, 1, RATE_GENERATOR, m_nC1, BIN); - CTR_Setup(m_hCard, 2, RATE_GENERATOR, m_nC2, BIN); - - k=0; i=0; - - while ( k < m_nSampleCount ) - { - if (WaitForSingleObject(ghIntEvent[1], 4000) == WAIT_OBJECT_0) - { - strTemp.Format( TEXT("INT2 Count = %d "), k+1); - SetDlgItemText( IDC_STATIC_06, strTemp ); - - DO_WritePort( m_hCard, Channel_P2A, gOutBuffer[k]); - DI_ReadPort( m_hCard, Channel_P1A, &(gInBuffer[k]) ); - - k++; - } - } - - CTR_Setup( m_hCard, 1, RATE_GENERATOR, 0, BIN); - CTR_Setup( m_hCard, 2, RATE_GENERATOR, 0, BIN); - - GetDlgItem(IDC_STATIC_07)->ShowWindow( SW_SHOW ); - - strLine1.Empty(); /// clear strLine1 - strLine2.Empty(); /// clear strLine2 - strLine3.Empty(); /// clear strLine3 - strLine4.Empty(); /// clear strLine4 - strLine5.Empty(); /// clear strLine5 - - for ( i=0; i=10 && i<20) - { - strLine2 += strTemp; - } - if(i>=20 && i<30) - { - strLine3 += strTemp; - } - if (i>=30 && i<40) - { - strLine4 += strTemp; - } - if (i>=40 && i<50) - { - strLine5 += strTemp; - } - } - - if( !strLine1.IsEmpty() ) - SetDlgItemText( IDC_STATIC_LINE1, strLine1 ); - - if( !strLine2.IsEmpty() ) - SetDlgItemText( IDC_STATIC_LINE2, strLine2 ); - - if( !strLine3.IsEmpty() ) - SetDlgItemText( IDC_STATIC_LINE3, strLine3 ); - - if( !strLine4.IsEmpty() ) - SetDlgItemText( IDC_STATIC_LINE4, strLine4 ); - - if( !strLine5.IsEmpty() ) - SetDlgItemText( IDC_STATIC_LINE5, strLine5 ); -} - -HBRUSH C7348IntDlg::OnCtlColor(CDC* pDC, CWnd* pWnd, UINT nCtlColor) -{ - HBRUSH hbr = CDialog::OnCtlColor(pDC, pWnd, nCtlColor); - - // TODO: Change any attributes of the DC here - if ( pWnd->GetDlgCtrlID() == IDC_STATIC_04 ) - pDC->SetTextColor(RGB(255,0,0)); - - // TODO: Return a different brush if the default is not desired - return hbr; -} diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7348/SDK7348Int/7348IntDlg.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7348/SDK7348Int/7348IntDlg.h deleted file mode 100644 index 116f938..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7348/SDK7348Int/7348IntDlg.h +++ /dev/null @@ -1,47 +0,0 @@ - -// 7348IntDlg.h : header file -// - -#include "Dask64.h" - -#pragma once - - -// C7348IntDlg dialog -class C7348IntDlg : public CDialog -{ -// Construction -public: - C7348IntDlg(CWnd* pParent = NULL); // standard constructor - -// Dialog Data - enum { IDD = IDD_MY7348INT_DIALOG }; - - protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - - -// Implementation -protected: - HICON m_hIcon; - int m_nCardIdx; - long m_nSampleCount; - long m_nSampleRate; - - I16 m_hCard; - int m_nC1; - int m_nC2; - - // Generated message map functions - virtual BOOL OnInitDialog(); - afx_msg void OnSysCommand(UINT nID, LPARAM lParam); - afx_msg void OnPaint(); - afx_msg HCURSOR OnQueryDragIcon(); - DECLARE_MESSAGE_MAP() -public: -// afx_msg void OnStnClickedStatic07(); - afx_msg void OnDestroy(); - afx_msg void OnSetup(); - afx_msg void OnTrigger(); - afx_msg HBRUSH OnCtlColor(CDC* pDC, CWnd* pWnd, UINT nCtlColor); -}; diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7348/SDK7348Int/7396Int.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7348/SDK7348Int/7396Int.suo deleted file mode 100644 index ec7882e..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7348/SDK7348Int/7396Int.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7348/SDK7348Int/ReadMe.txt b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7348/SDK7348Int/ReadMe.txt deleted file mode 100644 index abaae38..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7348/SDK7348Int/ReadMe.txt +++ /dev/null @@ -1,93 +0,0 @@ -================================================================================ - MICROSOFT FOUNDATION CLASS LIBRARY : 7348Int Project Overview -=============================================================================== - -The application wizard has created this 7348Int application for -you. This application not only demonstrates the basics of using the Microsoft -Foundation Classes but is also a starting point for writing your application. - -This file contains a summary of what you will find in each of the files that -make up your 7348Int application. - -7348Int.vcproj - This is the main project file for VC++ projects generated using an application wizard. - It contains information about the version of Visual C++ that generated the file, and - information about the platforms, configurations, and project features selected with the - application wizard. - -7348Int.h - This is the main header file for the application. It includes other - project specific headers (including Resource.h) and declares the - C7348IntApp application class. - -7348Int.cpp - This is the main application source file that contains the application - class C7348IntApp. - -7348Int.rc - This is a listing of all of the Microsoft Windows resources that the - program uses. It includes the icons, bitmaps, and cursors that are stored - in the RES subdirectory. This file can be directly edited in Microsoft - Visual C++. Your project resources are in 1033. - -res\7348Int.ico - This is an icon file, which is used as the application's icon. This - icon is included by the main resource file 7348Int.rc. - -res\My7348Int.rc2 - This file contains resources that are not edited by Microsoft - Visual C++. You should place all resources not editable by - the resource editor in this file. - - -///////////////////////////////////////////////////////////////////////////// - -The application wizard creates one dialog class: - -7348IntDlg.h, 7348IntDlg.cpp - the dialog - These files contain your C7348IntDlg class. This class defines - the behavior of your application's main dialog. The dialog's template is - in 7348Int.rc, which can be edited in Microsoft Visual C++. - - -///////////////////////////////////////////////////////////////////////////// - -Other Features: - -ActiveX Controls - The application includes support to use ActiveX controls. - -///////////////////////////////////////////////////////////////////////////// - -Other standard files: - -StdAfx.h, StdAfx.cpp - These files are used to build a precompiled header (PCH) file - named 7348Int.pch and a precompiled types file named StdAfx.obj. - -Resource.h - This is the standard header file, which defines new resource IDs. - Microsoft Visual C++ reads and updates this file. - -7348Int.manifest - Application manifest files are used by Windows XP to describe an applications - dependency on specific versions of Side-by-Side assemblies. The loader uses this - information to load the appropriate assembly from the assembly cache or private - from the application. The Application manifest maybe included for redistribution - as an external .manifest file that is installed in the same folder as the application - executable or it may be included in the executable in the form of a resource. -///////////////////////////////////////////////////////////////////////////// - -Other notes: - -The application wizard uses "TODO:" to indicate parts of the source code you -should add to or customize. - -If your application uses MFC in a shared DLL, you will need -to redistribute the MFC DLLs. If your application is in a language -other than the operating system's locale, you will also have to -redistribute the corresponding localized resources MFC90XXX.DLL. -For more information on both of these topics, please see the section on -redistributing Visual C++ applications in MSDN documentation. - -///////////////////////////////////////////////////////////////////////////// diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7348/SDK7348Int/SetupDlg.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7348/SDK7348Int/SetupDlg.cpp deleted file mode 100644 index 1c07b56..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7348/SDK7348Int/SetupDlg.cpp +++ /dev/null @@ -1,63 +0,0 @@ -// SetupDlg.cpp : implementation file -// - -#include "stdafx.h" -#include "7348Int.h" -#include "SetupDlg.h" - - -// CSetupDlg dialog - -IMPLEMENT_DYNAMIC(CSetupDlg, CDialog) - -CSetupDlg::CSetupDlg(CWnd* pParent /*=NULL*/) - : CDialog(CSetupDlg::IDD, pParent) - , m_nSampleCount(40) - , m_nSampleRate(5000) -{ - -} - -CSetupDlg::~CSetupDlg() -{ -} - -void CSetupDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); - DDX_Control(pDX, IDC_COMBO_CARDNO, m_cbCardID); - DDX_Text(pDX, IDC_EDIT_COUNT, m_nSampleCount); - DDX_Text(pDX, IDC_EDIT_RATE, m_nSampleRate); - DDV_MinMaxLong(pDX, m_nSampleCount, 0, 32768); - DDV_MinMaxLong(pDX, m_nSampleRate, 0, 15000); -} - - -BEGIN_MESSAGE_MAP(CSetupDlg, CDialog) - ON_CBN_SELCHANGE(IDC_COMBO_CARDNO, &CSetupDlg::OnCardNoSelchange) -// ON_EN_CHANGE(IDC_EDIT_COUNT, &CSetupDlg::OnEnChangeEditCount) -END_MESSAGE_MAP() - - -// CSetupDlg message handlers - -BOOL CSetupDlg::OnInitDialog() -{ - CDialog::OnInitDialog(); - - // TODO: Add extra initialization here - m_cbCardID.SetCurSel(0); - m_nCardIdx = 0; - - - return TRUE; // return TRUE unless you set the focus to a control - // EXCEPTION: OCX Property Pages should return FALSE -} - -void CSetupDlg::OnCardNoSelchange() -{ - // TODO: Add your control notification handler code here - m_nCardIdx = m_cbCardID.GetCurSel(); - -} - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7348/SDK7348Int/SetupDlg.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7348/SDK7348Int/SetupDlg.h deleted file mode 100644 index 7b42abf..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7348/SDK7348Int/SetupDlg.h +++ /dev/null @@ -1,30 +0,0 @@ -#pragma once -#include "afxwin.h" - - -// CSetupDlg dialog - -class CSetupDlg : public CDialog -{ - DECLARE_DYNAMIC(CSetupDlg) - -public: - CSetupDlg(CWnd* pParent = NULL); // standard constructor - virtual ~CSetupDlg(); - -// Dialog Data - enum { IDD = IDD_DIALOG_SETUP }; - -protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - - DECLARE_MESSAGE_MAP() -public: - CComboBox m_cbCardID; - virtual BOOL OnInitDialog(); - long m_nSampleCount; - long m_nSampleRate; - int m_nCardIdx; - afx_msg void OnCardNoSelchange(); -// afx_msg void OnEnChangeEditCount(); -}; diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7348/SDK7348Int/res/7348Int.ico b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7348/SDK7348Int/res/7348Int.ico deleted file mode 100644 index d56fbcd..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7348/SDK7348Int/res/7348Int.ico and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7348/SDK7348Int/res/My7348Int.rc2 b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7348/SDK7348Int/res/My7348Int.rc2 deleted file mode 100644 index 4edfe6a..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7348/SDK7348Int/res/My7348Int.rc2 +++ /dev/null @@ -1,13 +0,0 @@ -// -// My7296Int.RC2 - resources Microsoft Visual C++ does not edit directly -// - -#ifdef APSTUDIO_INVOKED -#error this file is not editable by Microsoft Visual C++ -#endif //APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// Add manually edited resources here... - -///////////////////////////////////////////////////////////////////////////// diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7348/SDK7348Int/resource.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7348/SDK7348Int/resource.h deleted file mode 100644 index 435f205..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7348/SDK7348Int/resource.h +++ /dev/null @@ -1,35 +0,0 @@ -//{{NO_DEPENDENCIES}} -// Microsoft Visual C++ generated include file. -// Used by 7348Int.rc -// -#define IDM_ABOUTBOX 0x0010 -#define IDD_ABOUTBOX 100 -#define IDS_ABOUTBOX 101 -#define IDD_MY7348INT_DIALOG 102 -#define IDR_MAINFRAME 128 -#define IDD_DIALOG_SETUP 129 -#define IDC_BT_SETUP 1000 -#define IDC_BT_TRIGGER 1001 -#define IDC_STATIC_04 1002 -#define IDC_COMBO_CARDNO 1003 -#define IDC_EDIT_COUNT 1004 -#define IDC_STATIC_07 1005 -#define IDC_EDIT_RATE 1005 -#define IDC_STATIC_05 1006 -#define IDC_STATIC_06 1007 -#define IDC_STATIC_LINE1 1008 -#define IDC_STATIC_LINE2 1009 -#define IDC_STATIC_LINE3 1010 -#define IDC_STATIC_LINE4 1011 -#define IDC_STATIC_LINE5 1012 - -// Next default values for new objects -// -#ifdef APSTUDIO_INVOKED -#ifndef APSTUDIO_READONLY_SYMBOLS -#define _APS_NEXT_RESOURCE_VALUE 131 -#define _APS_NEXT_COMMAND_VALUE 32771 -#define _APS_NEXT_CONTROL_VALUE 1000 -#define _APS_NEXT_SYMED_VALUE 101 -#endif -#endif diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7348/SDK7348Int/stdafx.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7348/SDK7348Int/stdafx.cpp deleted file mode 100644 index 845f825..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7348/SDK7348Int/stdafx.cpp +++ /dev/null @@ -1,8 +0,0 @@ - -// stdafx.cpp : source file that includes just the standard includes -// 7348Int.pch will be the pre-compiled header -// stdafx.obj will contain the pre-compiled type information - -#include "stdafx.h" - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7348/SDK7348Int/stdafx.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7348/SDK7348Int/stdafx.h deleted file mode 100644 index 12123e2..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7348/SDK7348Int/stdafx.h +++ /dev/null @@ -1,60 +0,0 @@ - -// stdafx.h : include file for standard system include files, -// or project specific include files that are used frequently, -// but are changed infrequently - -#pragma once - -#ifndef _SECURE_ATL -#define _SECURE_ATL 1 -#endif - -#ifndef VC_EXTRALEAN -#define VC_EXTRALEAN // Exclude rarely-used stuff from Windows headers -#endif - -#include "targetver.h" - -#define _ATL_CSTRING_EXPLICIT_CONSTRUCTORS // some CString constructors will be explicit - -// turns off MFC's hiding of some common and often safely ignored warning messages -#define _AFX_ALL_WARNINGS - -#include // MFC core and standard components -#include // MFC extensions - - -#include // MFC Automation classes - - - -#ifndef _AFX_NO_OLE_SUPPORT -#include // MFC support for Internet Explorer 4 Common Controls -#endif -#ifndef _AFX_NO_AFXCMN_SUPPORT -#include // MFC support for Windows Common Controls -#endif // _AFX_NO_AFXCMN_SUPPORT - -#include // MFC support for ribbons and control bars - - - - - - - - - -#ifdef _UNICODE -#if defined _M_IX86 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='x86' publicKeyToken='6595b64144ccf1df' language='*'\"") -#elif defined _M_IA64 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='ia64' publicKeyToken='6595b64144ccf1df' language='*'\"") -#elif defined _M_X64 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='amd64' publicKeyToken='6595b64144ccf1df' language='*'\"") -#else -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='*' publicKeyToken='6595b64144ccf1df' language='*'\"") -#endif -#endif - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7348/SDK7348Int/targetver.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7348/SDK7348Int/targetver.h deleted file mode 100644 index 11730d5..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7348/SDK7348Int/targetver.h +++ /dev/null @@ -1,26 +0,0 @@ - -#pragma once - -// The following macros define the minimum required platform. The minimum required platform -// is the earliest version of Windows, Internet Explorer etc. that has the necessary features to run -// your application. The macros work by enabling all features available on platform versions up to and -// including the version specified. - -// Modify the following defines if you have to target a platform prior to the ones specified below. -// Refer to MSDN for the latest info on corresponding values for different platforms. -#ifndef WINVER // Specifies that the minimum required platform is Windows Vista. -#define WINVER 0x0600 // Change this to the appropriate value to target other versions of Windows. -#endif - -#ifndef _WIN32_WINNT // Specifies that the minimum required platform is Windows Vista. -#define _WIN32_WINNT 0x0600 // Change this to the appropriate value to target other versions of Windows. -#endif - -#ifndef _WIN32_WINDOWS // Specifies that the minimum required platform is Windows 98. -#define _WIN32_WINDOWS 0x0410 // Change this to the appropriate value to target Windows Me or later. -#endif - -#ifndef _WIN32_IE // Specifies that the minimum required platform is Internet Explorer 7.0. -#define _WIN32_IE 0x0700 // Change this to the appropriate value to target other versions of IE. -#endif - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7348/SDK7348IntMsg/7296Int.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7348/SDK7348IntMsg/7296Int.suo deleted file mode 100644 index 8d56f7c..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7348/SDK7348IntMsg/7296Int.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7348/SDK7348IntMsg/7348Int.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7348/SDK7348IntMsg/7348Int.cpp deleted file mode 100644 index 2f31fa0..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7348/SDK7348IntMsg/7348Int.cpp +++ /dev/null @@ -1,79 +0,0 @@ - -// 7348Int.cpp : Defines the class behaviors for the application. -// - -#include "stdafx.h" -#include "7348Int.h" -#include "7348IntDlg.h" - -#ifdef _DEBUG -#define new DEBUG_NEW -#endif - - -// C7348IntApp - -BEGIN_MESSAGE_MAP(C7348IntApp, CWinAppEx) - ON_COMMAND(ID_HELP, &CWinApp::OnHelp) -END_MESSAGE_MAP() - - -// C7348IntApp construction - -C7348IntApp::C7348IntApp() -{ - // TODO: add construction code here, - // Place all significant initialization in InitInstance -} - - -// The one and only C7348IntApp object - -C7348IntApp theApp; - - -// C7348IntApp initialization - -BOOL C7348IntApp::InitInstance() -{ - // InitCommonControlsEx() is required on Windows XP if an application - // manifest specifies use of ComCtl32.dll version 6 or later to enable - // visual styles. Otherwise, any window creation will fail. - INITCOMMONCONTROLSEX InitCtrls; - InitCtrls.dwSize = sizeof(InitCtrls); - // Set this to include all the common control classes you want to use - // in your application. - InitCtrls.dwICC = ICC_WIN95_CLASSES; - InitCommonControlsEx(&InitCtrls); - - CWinAppEx::InitInstance(); - - AfxEnableControlContainer(); - - // Standard initialization - // If you are not using these features and wish to reduce the size - // of your final executable, you should remove from the following - // the specific initialization routines you do not need - // Change the registry key under which our settings are stored - // TODO: You should modify this string to be something appropriate - // such as the name of your company or organization - SetRegistryKey(_T("Local AppWizard-Generated Applications")); - - C7348IntDlg dlg; - m_pMainWnd = &dlg; - INT_PTR nResponse = dlg.DoModal(); - if (nResponse == IDOK) - { - // TODO: Place code here to handle when the dialog is - // dismissed with OK - } - else if (nResponse == IDCANCEL) - { - // TODO: Place code here to handle when the dialog is - // dismissed with Cancel - } - - // Since the dialog has been closed, return FALSE so that we exit the - // application, rather than start the application's message pump. - return FALSE; -} diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7348/SDK7348IntMsg/7348Int.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7348/SDK7348IntMsg/7348Int.h deleted file mode 100644 index 7109e9f..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7348/SDK7348IntMsg/7348Int.h +++ /dev/null @@ -1,32 +0,0 @@ - -// 7348Int.h : main header file for the PROJECT_NAME application -// - -#pragma once - -#ifndef __AFXWIN_H__ - #error "include 'stdafx.h' before including this file for PCH" -#endif - -#include "resource.h" // main symbols - - -// C7348IntApp: -// See 7348Int.cpp for the implementation of this class -// - -class C7348IntApp : public CWinAppEx -{ -public: - C7348IntApp(); - -// Overrides - public: - virtual BOOL InitInstance(); - -// Implementation - - DECLARE_MESSAGE_MAP() -}; - -extern C7348IntApp theApp; \ No newline at end of file diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7348/SDK7348IntMsg/7348Int.rc b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7348/SDK7348IntMsg/7348Int.rc deleted file mode 100644 index d821a15..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7348/SDK7348IntMsg/7348Int.rc +++ /dev/null @@ -1,274 +0,0 @@ -// Microsoft Visual C++ generated resource script. -// -#include "resource.h" - -#define APSTUDIO_READONLY_SYMBOLS -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 2 resource. -// -#ifndef APSTUDIO_INVOKED -#include "targetver.h" -#endif -#include "afxres.h" - -///////////////////////////////////////////////////////////////////////////// -#undef APSTUDIO_READONLY_SYMBOLS - -///////////////////////////////////////////////////////////////////////////// -// Chinese (Taiwan) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_CHT) -#ifdef _WIN32 -LANGUAGE LANG_CHINESE, SUBLANG_CHINESE_TRADITIONAL -#pragma code_page(950) -#endif //_WIN32 - -#ifdef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// TEXTINCLUDE -// - -1 TEXTINCLUDE -BEGIN - "resource.h\0" -END - -2 TEXTINCLUDE -BEGIN - "#ifndef APSTUDIO_INVOKED\r\n" - "#include ""targetver.h""\r\n" - "#endif\r\n" - "#include ""afxres.h""\r\n" - "\0" -END - -3 TEXTINCLUDE -BEGIN - "#define _AFX_NO_SPLITTER_RESOURCES\r\n" - "#define _AFX_NO_OLE_RESOURCES\r\n" - "#define _AFX_NO_TRACKER_RESOURCES\r\n" - "#define _AFX_NO_PROPERTY_RESOURCES\r\n" - "\r\n" - "#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)\r\n" - "LANGUAGE 9, 1\r\n" - "#pragma code_page(1252)\r\n" - "#include ""res\\My7348Int.rc2"" // non-Microsoft Visual C++ edited resources\r\n" - "#include ""afxres.rc"" // Standard components\r\n" - "#endif\r\n" - "\0" -END - -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// Icon -// - -// Icon with lowest ID value placed first to ensure application icon -// remains consistent on all systems. -IDR_MAINFRAME ICON "res\\7348Int.ico" -#endif // Chinese (Taiwan) resources -///////////////////////////////////////////////////////////////////////////// - - -///////////////////////////////////////////////////////////////////////////// -// English (U.S.) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -#ifdef _WIN32 -LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US -#pragma code_page(1252) -#endif //_WIN32 - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog -// - -IDD_ABOUTBOX DIALOGEX 0, 0, 170, 62 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "About 7348Int" -FONT 8, "MS Shell Dlg", 0, 0, 0x1 -BEGIN - ICON IDR_MAINFRAME,IDC_STATIC,14,14,21,20 - LTEXT "7348Int, Version 1.0",IDC_STATIC,42,14,114,8,SS_NOPREFIX - LTEXT "Copyright (C) 2010",IDC_STATIC,42,26,114,8 - DEFPUSHBUTTON "OK",IDOK,113,41,50,14,WS_GROUP -END - -IDD_MY7348INT_DIALOG DIALOGEX 0, 0, 271, 207 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU -EXSTYLE WS_EX_APPWINDOW -CAPTION "7348 Interrupt Sample" -FONT 8, "MS Shell Dlg", 0, 0, 0x1 -BEGIN - PUSHBUTTON "Exit",IDCANCEL,163,7,50,14 - PUSHBUTTON "Setup",IDC_BT_SETUP,7,7,53,14 - PUSHBUTTON "Interrupt Trigger",IDC_BT_TRIGGER,61,7,102,14,WS_DISABLED - LTEXT "This sample performs digital output on PortA of\nCN2 and digital input on PortA of CN1 when an\ninterrupt happens. The INT2 is used, and inetrrupt signals are generated by internal Timer-output.",IDC_STATIC,7,26,206,33 - LTEXT "Using cable to connect CN1 and CN2\nClick 'Setup' button first ...",IDC_STATIC_04,7,62,125,17 - LTEXT "Data from Input port: \n** only shows at most 50 data **",IDC_STATIC_07,7,97,113,19,NOT WS_VISIBLE - LTEXT "INT2 Count =",IDC_STATIC_06,7,83,85,13 - LTEXT "",IDC_STATIC_LINE1,7,116,247,11 - LTEXT "",IDC_STATIC_LINE2,7,130,247,11 - LTEXT "",IDC_STATIC_LINE3,7,143,247,11 - LTEXT "",IDC_STATIC_LINE4,7,156,247,11 - LTEXT "",IDC_STATIC_LINE5,7,170,247,11 -END - -IDD_DIALOG_SETUP DIALOGEX 0, 0, 201, 114 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "Setup Dialog" -FONT 8, "MS Shell Dlg", 400, 0, 0x1 -BEGIN - DEFPUSHBUTTON "OK",IDOK,48,84,50,14 - PUSHBUTTON "Cancel",IDCANCEL,105,84,50,14 - LTEXT "Card Number : ",IDC_STATIC,19,19,53,14 - LTEXT "Total Count : ",IDC_STATIC,19,39,53,14 - LTEXT "Sampling Rate : ",IDC_STATIC,19,57,53,14 - COMBOBOX IDC_COMBO_CARDNO,79,17,86,13,CBS_DROPDOWN | WS_VSCROLL | WS_TABSTOP - EDITTEXT IDC_EDIT_COUNT,79,36,85,14,ES_AUTOHSCROLL | ES_NUMBER - EDITTEXT IDC_EDIT_RATE,79,55,85,14,ES_AUTOHSCROLL | ES_NUMBER -END - - -///////////////////////////////////////////////////////////////////////////// -// -// Version -// - -VS_VERSION_INFO VERSIONINFO - FILEVERSION 1,0,0,1 - PRODUCTVERSION 1,0,0,1 - FILEFLAGSMASK 0x3fL -#ifdef _DEBUG - FILEFLAGS 0x1L -#else - FILEFLAGS 0x0L -#endif - FILEOS 0x4L - FILETYPE 0x1L - FILESUBTYPE 0x0L -BEGIN - BLOCK "StringFileInfo" - BEGIN - BLOCK "040904e4" - BEGIN - VALUE "CompanyName", "TODO: " - VALUE "FileDescription", "TODO: " - VALUE "FileVersion", "1.0.0.1" - VALUE "InternalName", "7348Int.exe" - VALUE "LegalCopyright", "TODO: (c) . All rights reserved." - VALUE "OriginalFilename", "7348Int.exe" - VALUE "ProductName", "TODO: " - VALUE "ProductVersion", "1.0.0.1" - END - END - BLOCK "VarFileInfo" - BEGIN - VALUE "Translation", 0x409, 1252 - END -END - - -///////////////////////////////////////////////////////////////////////////// -// -// DESIGNINFO -// - -#ifdef APSTUDIO_INVOKED -GUIDELINES DESIGNINFO -BEGIN - IDD_ABOUTBOX, DIALOG - BEGIN - END - - IDD_DIALOG_SETUP, DIALOG - BEGIN - END -END -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog Info -// - -IDD_DIALOG_SETUP DLGINIT -BEGIN - IDC_COMBO_CARDNO, 0x403, 2, 0 -0x0030, - IDC_COMBO_CARDNO, 0x403, 2, 0 -0x0031, - IDC_COMBO_CARDNO, 0x403, 2, 0 -0x0032, - IDC_COMBO_CARDNO, 0x403, 2, 0 -0x0033, - IDC_COMBO_CARDNO, 0x403, 2, 0 -0x0034, - IDC_COMBO_CARDNO, 0x403, 2, 0 -0x0035, - IDC_COMBO_CARDNO, 0x403, 2, 0 -0x0036, - IDC_COMBO_CARDNO, 0x403, 2, 0 -0x0037, - IDC_COMBO_CARDNO, 0x403, 2, 0 -0x0038, - IDC_COMBO_CARDNO, 0x403, 2, 0 -0x0039, - IDC_COMBO_CARDNO, 0x403, 3, 0 -0x3031, "\000" - IDC_COMBO_CARDNO, 0x403, 3, 0 -0x3131, "\000" - IDC_COMBO_CARDNO, 0x403, 3, 0 -0x3231, "\000" - IDC_COMBO_CARDNO, 0x403, 3, 0 -0x3331, "\000" - IDC_COMBO_CARDNO, 0x403, 3, 0 -0x3431, "\000" - IDC_COMBO_CARDNO, 0x403, 3, 0 -0x3531, "\000" - 0 -END - - -///////////////////////////////////////////////////////////////////////////// -// -// String Table -// - -STRINGTABLE -BEGIN - IDS_ABOUTBOX "&About 7348Int..." -END - -#endif // English (U.S.) resources -///////////////////////////////////////////////////////////////////////////// - - - -#ifndef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 3 resource. -// -#define _AFX_NO_SPLITTER_RESOURCES -#define _AFX_NO_OLE_RESOURCES -#define _AFX_NO_TRACKER_RESOURCES -#define _AFX_NO_PROPERTY_RESOURCES - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -LANGUAGE 9, 1 -#pragma code_page(1252) -#include "res\My7348Int.rc2" // non-Microsoft Visual C++ edited resources -#include "afxres.rc" // Standard components -#endif - -///////////////////////////////////////////////////////////////////////////// -#endif // not APSTUDIO_INVOKED - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7348/SDK7348IntMsg/7348Int.sln b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7348/SDK7348IntMsg/7348Int.sln deleted file mode 100644 index dc353a2..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7348/SDK7348IntMsg/7348Int.sln +++ /dev/null @@ -1,20 +0,0 @@ - -Microsoft Visual Studio Solution File, Format Version 10.00 -# Visual Studio 2008 -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "7348Int", "7348Int.vcproj", "{03CC0712-9928-4AC4-9A68-06B8B735AB32}" -EndProject -Global - GlobalSection(SolutionConfigurationPlatforms) = preSolution - Debug|x64 = Debug|x64 - Release|x64 = Release|x64 - EndGlobalSection - GlobalSection(ProjectConfigurationPlatforms) = postSolution - {03CC0712-9928-4AC4-9A68-06B8B735AB32}.Debug|x64.ActiveCfg = Debug|x64 - {03CC0712-9928-4AC4-9A68-06B8B735AB32}.Debug|x64.Build.0 = Debug|x64 - {03CC0712-9928-4AC4-9A68-06B8B735AB32}.Release|x64.ActiveCfg = Release|x64 - {03CC0712-9928-4AC4-9A68-06B8B735AB32}.Release|x64.Build.0 = Release|x64 - EndGlobalSection - GlobalSection(SolutionProperties) = preSolution - HideSolutionNode = FALSE - EndGlobalSection -EndGlobal diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7348/SDK7348IntMsg/7348Int.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7348/SDK7348IntMsg/7348Int.suo deleted file mode 100644 index 8834d87..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7348/SDK7348IntMsg/7348Int.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7348/SDK7348IntMsg/7348Int.vcproj b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7348/SDK7348IntMsg/7348Int.vcproj deleted file mode 100644 index 37d7093..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7348/SDK7348IntMsg/7348Int.vcproj +++ /dev/null @@ -1,287 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7348/SDK7348IntMsg/7348IntDlg.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7348/SDK7348IntMsg/7348IntDlg.cpp deleted file mode 100644 index ce108a6..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7348/SDK7348IntMsg/7348IntDlg.cpp +++ /dev/null @@ -1,372 +0,0 @@ - -// 7348IntDlg.cpp : implementation file -// - -#include "stdafx.h" -#include "7348Int.h" -#include "7348IntDlg.h" -#include "SetupDlg.h" - -#define COS_INTERRUPT_MESSAGE _T("COS_INT") -UINT WM_INT = ::RegisterWindowMessage(COS_INTERRUPT_MESSAGE); - - -#ifdef _DEBUG -#define new DEBUG_NEW -#endif - -U32 gInBuffer[32768], gOutBuffer[32768]; -HANDLE ghIntEvent[2]; - -// CAboutDlg dialog used for App About - -class CAboutDlg : public CDialog -{ -public: - CAboutDlg(); - -// Dialog Data - enum { IDD = IDD_ABOUTBOX }; - - protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - -// Implementation -protected: - DECLARE_MESSAGE_MAP() -}; - -CAboutDlg::CAboutDlg() : CDialog(CAboutDlg::IDD) -{ -} - -void CAboutDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); -} - -BEGIN_MESSAGE_MAP(CAboutDlg, CDialog) -END_MESSAGE_MAP() - - -// C7348IntDlg dialog - - - - -C7348IntDlg::C7348IntDlg(CWnd* pParent /*=NULL*/) - : CDialog(C7348IntDlg::IDD, pParent) - , m_nCardIdx(-1) - , m_nSampleCount(-1) - , m_nSampleRate(-1) - , m_hCard(-1) -{ - m_hIcon = AfxGetApp()->LoadIcon(IDR_MAINFRAME); - m_nC1=10; m_nC2=10; - m_IntCount = 0; -} - -void C7348IntDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); -} - -BEGIN_MESSAGE_MAP(C7348IntDlg, CDialog) - ON_WM_SYSCOMMAND() - ON_WM_PAINT() - ON_WM_QUERYDRAGICON() - ON_REGISTERED_MESSAGE(WM_INT, OnCOSInterrupt) - //}}AFX_MSG_MAP - ON_WM_DESTROY() - ON_BN_CLICKED(IDC_BT_SETUP, &C7348IntDlg::OnSetup) - ON_BN_CLICKED(IDC_BT_TRIGGER, &C7348IntDlg::OnTrigger) - ON_WM_CTLCOLOR() -END_MESSAGE_MAP() - - -// C7348IntDlg message handlers - -BOOL C7348IntDlg::OnInitDialog() -{ - CDialog::OnInitDialog(); - - // Add "About..." menu item to system menu. - - // IDM_ABOUTBOX must be in the system command range. - ASSERT((IDM_ABOUTBOX & 0xFFF0) == IDM_ABOUTBOX); - ASSERT(IDM_ABOUTBOX < 0xF000); - - CMenu* pSysMenu = GetSystemMenu(FALSE); - if (pSysMenu != NULL) - { - BOOL bNameValid; - CString strAboutMenu; - bNameValid = strAboutMenu.LoadString(IDS_ABOUTBOX); - ASSERT(bNameValid); - if (!strAboutMenu.IsEmpty()) - { - pSysMenu->AppendMenu(MF_SEPARATOR); - pSysMenu->AppendMenu(MF_STRING, IDM_ABOUTBOX, strAboutMenu); - } - } - - // Set the icon for this dialog. The framework does this automatically - // when the application's main window is not a dialog - SetIcon(m_hIcon, TRUE); // Set big icon - SetIcon(m_hIcon, FALSE); // Set small icon - - // TODO: Add extra initialization here - - return TRUE; // return TRUE unless you set the focus to a control -} - -void C7348IntDlg::OnSysCommand(UINT nID, LPARAM lParam) -{ - if ((nID & 0xFFF0) == IDM_ABOUTBOX) - { - CAboutDlg dlgAbout; - dlgAbout.DoModal(); - } - else - { - CDialog::OnSysCommand(nID, lParam); - } -} - -// If you add a minimize button to your dialog, you will need the code below -// to draw the icon. For MFC applications using the document/view model, -// this is automatically done for you by the framework. - -void C7348IntDlg::OnPaint() -{ - if (IsIconic()) - { - CPaintDC dc(this); // device context for painting - - SendMessage(WM_ICONERASEBKGND, reinterpret_cast(dc.GetSafeHdc()), 0); - - // Center icon in client rectangle - int cxIcon = GetSystemMetrics(SM_CXICON); - int cyIcon = GetSystemMetrics(SM_CYICON); - CRect rect; - GetClientRect(&rect); - int x = (rect.Width() - cxIcon + 1) / 2; - int y = (rect.Height() - cyIcon + 1) / 2; - - // Draw the icon - dc.DrawIcon(x, y, m_hIcon); - } - else - { - CDialog::OnPaint(); - } -} - -// The system calls this function to obtain the cursor to display while the user drags -// the minimized window. -HCURSOR C7348IntDlg::OnQueryDragIcon() -{ - return static_cast(m_hIcon); -} - -void C7348IntDlg::OnDestroy() -{ - CDialog::OnDestroy(); - - // TODO: Add your message handler code here - int i; - - if( m_hCard >= 0 ) - { - DIO_SetDualInterrupt(m_hCard, INT1_DISABLE, INT2_DISABLE, ghIntEvent); - - for (i=0; i<2; i++) - { - if(ghIntEvent[i]) - ResetEvent(ghIntEvent[i]); - } - - - Release_Card( m_hCard ); m_hCard = -1; - } -} - -void C7348IntDlg::OnSetup() -{ - // TODO: Add your control notification handler code here - CSetupDlg setupDlg; - INT_PTR nResponse; - CString strTemp; - long nTmpCount; - int i, k; - - nResponse = setupDlg.DoModal(); - if (nResponse == IDOK) - { - if( m_nCardIdx != setupDlg.m_nCardIdx ) - { - if( m_hCard != -1 ) - { - Release_Card( m_hCard ); - m_hCard = -1; - } - - m_nCardIdx = setupDlg.m_nCardIdx; - } - - - if( m_hCard == -1 ) - { - if ((m_hCard = Register_Card(PCI_7396, m_nCardIdx)) < 0) - { - strTemp.Format( TEXT("Register_Card Error = %d"), m_hCard); - AfxMessageBox( strTemp ); - - EndDialog(IDCANCEL); - return; - } - } - - nTmpCount = setupDlg.m_nSampleCount; - if (nTmpCount > 32768) - { - AfxMessageBox( TEXT("Count can be assigned at most 32768") ); - return; - } - - m_nSampleCount = nTmpCount; - m_nSampleRate = setupDlg.m_nSampleRate; - if (m_nSampleRate > 15000 ) m_nSampleRate=15000; - - - for ( i=0, k=0; i255) k=0; - - gInBuffer[i]=0; - } - - - DIO_PortConfig(m_hCard, Channel_P1A, INPUT_PORT); - DIO_PortConfig(m_hCard, Channel_P2A, OUTPUT_PORT); - - DIO_SetDualInterrupt(m_hCard, INT1_DISABLE, INT2_TIMER_COUNTER, ghIntEvent); - m_nC2 = 2000000/(m_nSampleRate*m_nC1); - m_IntCount = 0; - - GetDlgItem(IDC_BT_TRIGGER)->EnableWindow( TRUE ); - - } - else if (nResponse == IDCANCEL) - { - // TODO: Place code here to handle when the dialog is - // dismissed with Cancel - } -} - -void C7348IntDlg::OnTrigger() -{ - // TODO: Add your control notification handler code here - - CTR_Setup(m_hCard, 1, RATE_GENERATOR, m_nC1, BIN); - CTR_Setup(m_hCard, 2, RATE_GENERATOR, m_nC2, BIN); - - DIO_INT2_EventMessage (m_hCard, INT2_TIMER_COUNTER, this->m_hWnd, WM_INT, NULL); - -} - -HBRUSH C7348IntDlg::OnCtlColor(CDC* pDC, CWnd* pWnd, UINT nCtlColor) -{ - HBRUSH hbr = CDialog::OnCtlColor(pDC, pWnd, nCtlColor); - - // TODO: Change any attributes of the DC here - if ( pWnd->GetDlgCtrlID() == IDC_STATIC_04 ) - pDC->SetTextColor(RGB(255,0,0)); - - // TODO: Return a different brush if the default is not desired - return hbr; -} - -LRESULT C7348IntDlg::OnCOSInterrupt(WPARAM wParam, LPARAM lParam) -{ - // do something useful - int i; - CString strTemp; - CString strLine1, strLine2, strLine3, strLine4, strLine5; - - if(m_IntCount m_hWnd, NULL, NULL); - DIO_INT1_EventMessage (m_hCard, INT1_DISABLE, this->m_hWnd, NULL, NULL); - - CTR_Setup( m_hCard, 1, RATE_GENERATOR, 0, BIN); - CTR_Setup( m_hCard, 2, RATE_GENERATOR, 0, BIN); - - GetDlgItem(IDC_STATIC_07)->ShowWindow( SW_SHOW ); - - strLine1.Empty(); /// clear strLine1 - strLine2.Empty(); /// clear strLine2 - strLine3.Empty(); /// clear strLine3 - strLine4.Empty(); /// clear strLine - strLine5.Empty(); /// clear strLine5 - - for ( i=0; i<50 /*m_nSampleCount*/; i++) - { - strTemp.Format( TEXT("%d, "), gInBuffer[i] ); - - if(i<10) - { - strLine1 += strTemp; - } - - if(i>=10 && i<20) - { - strLine2 += strTemp; - } - - if(i>=20 && i<30) - { - strLine3 += strTemp; - } - - if (i>=30 && i<40) - { - strLine4 += strTemp; - } - - if (i>=40 && i<50) - { - strLine5 += strTemp; - } - } - - if( !strLine1.IsEmpty() ) - SetDlgItemText( IDC_STATIC_LINE1, strLine1 ); - - if( !strLine2.IsEmpty() ) - SetDlgItemText( IDC_STATIC_LINE2, strLine2 ); - - if( !strLine3.IsEmpty() ) - SetDlgItemText( IDC_STATIC_LINE3, strLine3 ); - - if( !strLine4.IsEmpty() ) - SetDlgItemText( IDC_STATIC_LINE4, strLine4 ); - - if( !strLine5.IsEmpty() ) - SetDlgItemText( IDC_STATIC_LINE5, strLine5 ); - } - - return (LRESULT) 0; -} diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7348/SDK7348IntMsg/7348IntDlg.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7348/SDK7348IntMsg/7348IntDlg.h deleted file mode 100644 index 5a1855a..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7348/SDK7348IntMsg/7348IntDlg.h +++ /dev/null @@ -1,49 +0,0 @@ - -// 7348IntDlg.h : header file -// - -#include "Dask64.h" - -#pragma once - - -// C7348IntDlg dialog -class C7348IntDlg : public CDialog -{ -// Construction -public: - C7348IntDlg(CWnd* pParent = NULL); // standard constructor - -// Dialog Data - enum { IDD = IDD_MY7348INT_DIALOG }; - - protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - - -// Implementation -protected: - HICON m_hIcon; - int m_nCardIdx; - long m_nSampleCount; - long m_nSampleRate; - int m_IntCount; - - I16 m_hCard; - int m_nC1; - int m_nC2; - - // Generated message map functions - virtual BOOL OnInitDialog(); - afx_msg void OnSysCommand(UINT nID, LPARAM lParam); - afx_msg void OnPaint(); - afx_msg LRESULT OnCOSInterrupt(WPARAM wParam, LPARAM lParam); - afx_msg HCURSOR OnQueryDragIcon(); - DECLARE_MESSAGE_MAP() -public: -// afx_msg void OnStnClickedStatic07(); - afx_msg void OnDestroy(); - afx_msg void OnSetup(); - afx_msg void OnTrigger(); - afx_msg HBRUSH OnCtlColor(CDC* pDC, CWnd* pWnd, UINT nCtlColor); -}; diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7348/SDK7348IntMsg/7396Int.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7348/SDK7348IntMsg/7396Int.suo deleted file mode 100644 index f4e0f94..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7348/SDK7348IntMsg/7396Int.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7348/SDK7348IntMsg/ReadMe.txt b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7348/SDK7348IntMsg/ReadMe.txt deleted file mode 100644 index abaae38..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7348/SDK7348IntMsg/ReadMe.txt +++ /dev/null @@ -1,93 +0,0 @@ -================================================================================ - MICROSOFT FOUNDATION CLASS LIBRARY : 7348Int Project Overview -=============================================================================== - -The application wizard has created this 7348Int application for -you. This application not only demonstrates the basics of using the Microsoft -Foundation Classes but is also a starting point for writing your application. - -This file contains a summary of what you will find in each of the files that -make up your 7348Int application. - -7348Int.vcproj - This is the main project file for VC++ projects generated using an application wizard. - It contains information about the version of Visual C++ that generated the file, and - information about the platforms, configurations, and project features selected with the - application wizard. - -7348Int.h - This is the main header file for the application. It includes other - project specific headers (including Resource.h) and declares the - C7348IntApp application class. - -7348Int.cpp - This is the main application source file that contains the application - class C7348IntApp. - -7348Int.rc - This is a listing of all of the Microsoft Windows resources that the - program uses. It includes the icons, bitmaps, and cursors that are stored - in the RES subdirectory. This file can be directly edited in Microsoft - Visual C++. Your project resources are in 1033. - -res\7348Int.ico - This is an icon file, which is used as the application's icon. This - icon is included by the main resource file 7348Int.rc. - -res\My7348Int.rc2 - This file contains resources that are not edited by Microsoft - Visual C++. You should place all resources not editable by - the resource editor in this file. - - -///////////////////////////////////////////////////////////////////////////// - -The application wizard creates one dialog class: - -7348IntDlg.h, 7348IntDlg.cpp - the dialog - These files contain your C7348IntDlg class. This class defines - the behavior of your application's main dialog. The dialog's template is - in 7348Int.rc, which can be edited in Microsoft Visual C++. - - -///////////////////////////////////////////////////////////////////////////// - -Other Features: - -ActiveX Controls - The application includes support to use ActiveX controls. - -///////////////////////////////////////////////////////////////////////////// - -Other standard files: - -StdAfx.h, StdAfx.cpp - These files are used to build a precompiled header (PCH) file - named 7348Int.pch and a precompiled types file named StdAfx.obj. - -Resource.h - This is the standard header file, which defines new resource IDs. - Microsoft Visual C++ reads and updates this file. - -7348Int.manifest - Application manifest files are used by Windows XP to describe an applications - dependency on specific versions of Side-by-Side assemblies. The loader uses this - information to load the appropriate assembly from the assembly cache or private - from the application. The Application manifest maybe included for redistribution - as an external .manifest file that is installed in the same folder as the application - executable or it may be included in the executable in the form of a resource. -///////////////////////////////////////////////////////////////////////////// - -Other notes: - -The application wizard uses "TODO:" to indicate parts of the source code you -should add to or customize. - -If your application uses MFC in a shared DLL, you will need -to redistribute the MFC DLLs. If your application is in a language -other than the operating system's locale, you will also have to -redistribute the corresponding localized resources MFC90XXX.DLL. -For more information on both of these topics, please see the section on -redistributing Visual C++ applications in MSDN documentation. - -///////////////////////////////////////////////////////////////////////////// diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7348/SDK7348IntMsg/SetupDlg.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7348/SDK7348IntMsg/SetupDlg.cpp deleted file mode 100644 index fe6a00e..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7348/SDK7348IntMsg/SetupDlg.cpp +++ /dev/null @@ -1,63 +0,0 @@ -// SetupDlg.cpp : implementation file -// - -#include "stdafx.h" -#include "7348Int.h" -#include "SetupDlg.h" - - -// CSetupDlg dialog - -IMPLEMENT_DYNAMIC(CSetupDlg, CDialog) - -CSetupDlg::CSetupDlg(CWnd* pParent /*=NULL*/) - : CDialog(CSetupDlg::IDD, pParent) - , m_nSampleCount(40) - , m_nSampleRate(500) -{ - -} - -CSetupDlg::~CSetupDlg() -{ -} - -void CSetupDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); - DDX_Control(pDX, IDC_COMBO_CARDNO, m_cbCardID); - DDX_Text(pDX, IDC_EDIT_COUNT, m_nSampleCount); - DDX_Text(pDX, IDC_EDIT_RATE, m_nSampleRate); - DDV_MinMaxLong(pDX, m_nSampleCount, 0, 32768); - DDV_MinMaxLong(pDX, m_nSampleRate, 0, 15000); -} - - -BEGIN_MESSAGE_MAP(CSetupDlg, CDialog) - ON_CBN_SELCHANGE(IDC_COMBO_CARDNO, &CSetupDlg::OnCardNoSelchange) -// ON_EN_CHANGE(IDC_EDIT_COUNT, &CSetupDlg::OnEnChangeEditCount) -END_MESSAGE_MAP() - - -// CSetupDlg message handlers - -BOOL CSetupDlg::OnInitDialog() -{ - CDialog::OnInitDialog(); - - // TODO: Add extra initialization here - m_cbCardID.SetCurSel(0); - m_nCardIdx = 0; - - - return TRUE; // return TRUE unless you set the focus to a control - // EXCEPTION: OCX Property Pages should return FALSE -} - -void CSetupDlg::OnCardNoSelchange() -{ - // TODO: Add your control notification handler code here - m_nCardIdx = m_cbCardID.GetCurSel(); - -} - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7348/SDK7348IntMsg/SetupDlg.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7348/SDK7348IntMsg/SetupDlg.h deleted file mode 100644 index 7b42abf..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7348/SDK7348IntMsg/SetupDlg.h +++ /dev/null @@ -1,30 +0,0 @@ -#pragma once -#include "afxwin.h" - - -// CSetupDlg dialog - -class CSetupDlg : public CDialog -{ - DECLARE_DYNAMIC(CSetupDlg) - -public: - CSetupDlg(CWnd* pParent = NULL); // standard constructor - virtual ~CSetupDlg(); - -// Dialog Data - enum { IDD = IDD_DIALOG_SETUP }; - -protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - - DECLARE_MESSAGE_MAP() -public: - CComboBox m_cbCardID; - virtual BOOL OnInitDialog(); - long m_nSampleCount; - long m_nSampleRate; - int m_nCardIdx; - afx_msg void OnCardNoSelchange(); -// afx_msg void OnEnChangeEditCount(); -}; diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7348/SDK7348IntMsg/res/7348Int.ico b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7348/SDK7348IntMsg/res/7348Int.ico deleted file mode 100644 index d56fbcd..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7348/SDK7348IntMsg/res/7348Int.ico and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7348/SDK7348IntMsg/res/My7348Int.rc2 b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7348/SDK7348IntMsg/res/My7348Int.rc2 deleted file mode 100644 index 4edfe6a..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7348/SDK7348IntMsg/res/My7348Int.rc2 +++ /dev/null @@ -1,13 +0,0 @@ -// -// My7296Int.RC2 - resources Microsoft Visual C++ does not edit directly -// - -#ifdef APSTUDIO_INVOKED -#error this file is not editable by Microsoft Visual C++ -#endif //APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// Add manually edited resources here... - -///////////////////////////////////////////////////////////////////////////// diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7348/SDK7348IntMsg/resource.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7348/SDK7348IntMsg/resource.h deleted file mode 100644 index 435f205..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7348/SDK7348IntMsg/resource.h +++ /dev/null @@ -1,35 +0,0 @@ -//{{NO_DEPENDENCIES}} -// Microsoft Visual C++ generated include file. -// Used by 7348Int.rc -// -#define IDM_ABOUTBOX 0x0010 -#define IDD_ABOUTBOX 100 -#define IDS_ABOUTBOX 101 -#define IDD_MY7348INT_DIALOG 102 -#define IDR_MAINFRAME 128 -#define IDD_DIALOG_SETUP 129 -#define IDC_BT_SETUP 1000 -#define IDC_BT_TRIGGER 1001 -#define IDC_STATIC_04 1002 -#define IDC_COMBO_CARDNO 1003 -#define IDC_EDIT_COUNT 1004 -#define IDC_STATIC_07 1005 -#define IDC_EDIT_RATE 1005 -#define IDC_STATIC_05 1006 -#define IDC_STATIC_06 1007 -#define IDC_STATIC_LINE1 1008 -#define IDC_STATIC_LINE2 1009 -#define IDC_STATIC_LINE3 1010 -#define IDC_STATIC_LINE4 1011 -#define IDC_STATIC_LINE5 1012 - -// Next default values for new objects -// -#ifdef APSTUDIO_INVOKED -#ifndef APSTUDIO_READONLY_SYMBOLS -#define _APS_NEXT_RESOURCE_VALUE 131 -#define _APS_NEXT_COMMAND_VALUE 32771 -#define _APS_NEXT_CONTROL_VALUE 1000 -#define _APS_NEXT_SYMED_VALUE 101 -#endif -#endif diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7348/SDK7348IntMsg/stdafx.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7348/SDK7348IntMsg/stdafx.cpp deleted file mode 100644 index 845f825..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7348/SDK7348IntMsg/stdafx.cpp +++ /dev/null @@ -1,8 +0,0 @@ - -// stdafx.cpp : source file that includes just the standard includes -// 7348Int.pch will be the pre-compiled header -// stdafx.obj will contain the pre-compiled type information - -#include "stdafx.h" - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7348/SDK7348IntMsg/stdafx.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7348/SDK7348IntMsg/stdafx.h deleted file mode 100644 index 12123e2..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7348/SDK7348IntMsg/stdafx.h +++ /dev/null @@ -1,60 +0,0 @@ - -// stdafx.h : include file for standard system include files, -// or project specific include files that are used frequently, -// but are changed infrequently - -#pragma once - -#ifndef _SECURE_ATL -#define _SECURE_ATL 1 -#endif - -#ifndef VC_EXTRALEAN -#define VC_EXTRALEAN // Exclude rarely-used stuff from Windows headers -#endif - -#include "targetver.h" - -#define _ATL_CSTRING_EXPLICIT_CONSTRUCTORS // some CString constructors will be explicit - -// turns off MFC's hiding of some common and often safely ignored warning messages -#define _AFX_ALL_WARNINGS - -#include // MFC core and standard components -#include // MFC extensions - - -#include // MFC Automation classes - - - -#ifndef _AFX_NO_OLE_SUPPORT -#include // MFC support for Internet Explorer 4 Common Controls -#endif -#ifndef _AFX_NO_AFXCMN_SUPPORT -#include // MFC support for Windows Common Controls -#endif // _AFX_NO_AFXCMN_SUPPORT - -#include // MFC support for ribbons and control bars - - - - - - - - - -#ifdef _UNICODE -#if defined _M_IX86 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='x86' publicKeyToken='6595b64144ccf1df' language='*'\"") -#elif defined _M_IA64 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='ia64' publicKeyToken='6595b64144ccf1df' language='*'\"") -#elif defined _M_X64 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='amd64' publicKeyToken='6595b64144ccf1df' language='*'\"") -#else -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='*' publicKeyToken='6595b64144ccf1df' language='*'\"") -#endif -#endif - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7348/SDK7348IntMsg/targetver.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7348/SDK7348IntMsg/targetver.h deleted file mode 100644 index 11730d5..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7348/SDK7348IntMsg/targetver.h +++ /dev/null @@ -1,26 +0,0 @@ - -#pragma once - -// The following macros define the minimum required platform. The minimum required platform -// is the earliest version of Windows, Internet Explorer etc. that has the necessary features to run -// your application. The macros work by enabling all features available on platform versions up to and -// including the version specified. - -// Modify the following defines if you have to target a platform prior to the ones specified below. -// Refer to MSDN for the latest info on corresponding values for different platforms. -#ifndef WINVER // Specifies that the minimum required platform is Windows Vista. -#define WINVER 0x0600 // Change this to the appropriate value to target other versions of Windows. -#endif - -#ifndef _WIN32_WINNT // Specifies that the minimum required platform is Windows Vista. -#define _WIN32_WINNT 0x0600 // Change this to the appropriate value to target other versions of Windows. -#endif - -#ifndef _WIN32_WINDOWS // Specifies that the minimum required platform is Windows 98. -#define _WIN32_WINDOWS 0x0410 // Change this to the appropriate value to target Windows Me or later. -#endif - -#ifndef _WIN32_IE // Specifies that the minimum required platform is Internet Explorer 7.0. -#define _WIN32_IE 0x0700 // Change this to the appropriate value to target other versions of IE. -#endif - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7348/Sdk7348/CardIDDlg.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7348/Sdk7348/CardIDDlg.cpp deleted file mode 100644 index 4f25b9d..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7348/Sdk7348/CardIDDlg.cpp +++ /dev/null @@ -1,67 +0,0 @@ -// CardIDDlg.cpp : implementation file -// - -#include "stdafx.h" -#include "Util7348.h" -#include "CardIDDlg.h" - - -// CCardIDDlg dialog - -IMPLEMENT_DYNAMIC(CCardIDDlg, CDialog) - -CCardIDDlg::CCardIDDlg(int nCardIdx, CWnd* pParent /*=NULL*/) - : CDialog(CCardIDDlg::IDD, pParent) -{ - m_nCardIdx = nCardIdx; -} - -CCardIDDlg::~CCardIDDlg() -{ -} - -void CCardIDDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); - DDX_Control(pDX, IDC_COMBO_CARDID, m_cbCardID); -} - - -BEGIN_MESSAGE_MAP(CCardIDDlg, CDialog) -// ON_CBN_SELCHANGE(IDC_COMBO_CARDID, &CCardIDDlg::OnCbnSelchangeComboCardid) -ON_BN_CLICKED(IDOK, &CCardIDDlg::OnBnClickedOk) -//ON_WM_CTLCOLOR() -END_MESSAGE_MAP() - - -// CCardIDDlg message handlers - - -void CCardIDDlg::OnBnClickedOk() -{ - // TODO: Add your control notification handler code here - -// UpdateData(TRUE); - m_nCardIdx = m_cbCardID.GetCurSel(); - - OnOK(); -} - -BOOL CCardIDDlg::OnInitDialog() -{ - CDialog::OnInitDialog(); - - // TODO: Add extra initialization here - m_cbCardID.SetCurSel( m_nCardIdx ); - - return TRUE; // return TRUE unless you set the focus to a control - // EXCEPTION: OCX Property Pages should return FALSE -} - -// the function to get the selected CardID -int CCardIDDlg::GetCardID(void) -{ - return m_nCardIdx; -} - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7348/Sdk7348/CardIDDlg.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7348/Sdk7348/CardIDDlg.h deleted file mode 100644 index 54628ea..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7348/Sdk7348/CardIDDlg.h +++ /dev/null @@ -1,33 +0,0 @@ -#pragma once -#include "afxwin.h" - - -// CCardIDDlg dialog - -class CCardIDDlg : public CDialog -{ - DECLARE_DYNAMIC(CCardIDDlg) - -public: - CCardIDDlg(int nCardIdx, CWnd* pParent = NULL); // standard constructor - virtual ~CCardIDDlg(); - -// Dialog Data - enum { IDD = IDD_CARDID_DIALOG }; - -protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - - DECLARE_MESSAGE_MAP() -public: -// afx_msg void OnCbnSelchangeComboCardid(); - afx_msg void OnBnClickedOk(); - // the setting of CardID ComboBox - int m_nCardIdx; - virtual BOOL OnInitDialog(); - // the control of CardID ComboBox - CComboBox m_cbCardID; - // the function to get the selected CardID - int GetCardID(void); -// afx_msg HBRUSH OnCtlColor(CDC* pDC, CWnd* pWnd, UINT nCtlColor); -}; diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7348/Sdk7348/ReadMe.txt b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7348/Sdk7348/ReadMe.txt deleted file mode 100644 index 646171a..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7348/Sdk7348/ReadMe.txt +++ /dev/null @@ -1,93 +0,0 @@ -================================================================================ - MICROSOFT FOUNDATION CLASS LIBRARY : Util7348 Project Overview -=============================================================================== - -The application wizard has created this Util7348 application for -you. This application not only demonstrates the basics of using the Microsoft -Foundation Classes but is also a starting point for writing your application. - -This file contains a summary of what you will find in each of the files that -make up your Util7348 application. - -Util7348.vcproj - This is the main project file for VC++ projects generated using an application wizard. - It contains information about the version of Visual C++ that generated the file, and - information about the platforms, configurations, and project features selected with the - application wizard. - -Util7348.h - This is the main header file for the application. It includes other - project specific headers (including Resource.h) and declares the - CUtil7348App application class. - -Util7348.cpp - This is the main application source file that contains the application - class CUtil7348App. - -Util7348.rc - This is a listing of all of the Microsoft Windows resources that the - program uses. It includes the icons, bitmaps, and cursors that are stored - in the RES subdirectory. This file can be directly edited in Microsoft - Visual C++. Your project resources are in 1033. - -res\Util7348.ico - This is an icon file, which is used as the application's icon. This - icon is included by the main resource file Util7348.rc. - -res\Util7348.rc2 - This file contains resources that are not edited by Microsoft - Visual C++. You should place all resources not editable by - the resource editor in this file. - - -///////////////////////////////////////////////////////////////////////////// - -The application wizard creates one dialog class: - -Util7348Dlg.h, Util7348Dlg.cpp - the dialog - These files contain your CUtil7348Dlg class. This class defines - the behavior of your application's main dialog. The dialog's template is - in Util7348.rc, which can be edited in Microsoft Visual C++. - - -///////////////////////////////////////////////////////////////////////////// - -Other Features: - -ActiveX Controls - The application includes support to use ActiveX controls. - -///////////////////////////////////////////////////////////////////////////// - -Other standard files: - -StdAfx.h, StdAfx.cpp - These files are used to build a precompiled header (PCH) file - named Util7348.pch and a precompiled types file named StdAfx.obj. - -Resource.h - This is the standard header file, which defines new resource IDs. - Microsoft Visual C++ reads and updates this file. - -Util7348.manifest - Application manifest files are used by Windows XP to describe an applications - dependency on specific versions of Side-by-Side assemblies. The loader uses this - information to load the appropriate assembly from the assembly cache or private - from the application. The Application manifest maybe included for redistribution - as an external .manifest file that is installed in the same folder as the application - executable or it may be included in the executable in the form of a resource. -///////////////////////////////////////////////////////////////////////////// - -Other notes: - -The application wizard uses "TODO:" to indicate parts of the source code you -should add to or customize. - -If your application uses MFC in a shared DLL, you will need -to redistribute the MFC DLLs. If your application is in a language -other than the operating system's locale, you will also have to -redistribute the corresponding localized resources MFC90XXX.DLL. -For more information on both of these topics, please see the section on -redistributing Visual C++ applications in MSDN documentation. - -///////////////////////////////////////////////////////////////////////////// diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7348/Sdk7348/Util7348.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7348/Sdk7348/Util7348.cpp deleted file mode 100644 index f30b281..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7348/Sdk7348/Util7348.cpp +++ /dev/null @@ -1,110 +0,0 @@ - -// Util7348.cpp : Defines the class behaviors for the application. -// - -#include "stdafx.h" -#include "Util7348.h" -#include "Util7348Dlg.h" -#include "CardIDDlg.h" - -#ifdef _DEBUG -#define new DEBUG_NEW -#endif - - -// CUtil7348App - -BEGIN_MESSAGE_MAP(CUtil7348App, CWinAppEx) - ON_COMMAND(ID_HELP, &CWinApp::OnHelp) -END_MESSAGE_MAP() - - -// CUtil7348App construction - -CUtil7348App::CUtil7348App() -{ - // TODO: add construction code here, - // Place all significant initialization in InitInstance -} - - -// The one and only CUtil7348App object - -CUtil7348App theApp; - - -// CUtil7348App initialization - -BOOL CUtil7348App::InitInstance() -{ - int nCardID = 0; - I16 hCard; - CString strTemp; - INT_PTR nResponse; - - // InitCommonControlsEx() is required on Windows XP if an application - // manifest specifies use of ComCtl32.dll version 6 or later to enable - // visual styles. Otherwise, any window creation will fail. - INITCOMMONCONTROLSEX InitCtrls; - InitCtrls.dwSize = sizeof(InitCtrls); - // Set this to include all the common control classes you want to use - // in your application. - InitCtrls.dwICC = ICC_WIN95_CLASSES; - InitCommonControlsEx(&InitCtrls); - - CWinAppEx::InitInstance(); - - AfxEnableControlContainer(); - - // Standard initialization - // If you are not using these features and wish to reduce the size - // of your final executable, you should remove from the following - // the specific initialization routines you do not need - // Change the registry key under which our settings are stored - // TODO: You should modify this string to be something appropriate - // such as the name of your company or organization - SetRegistryKey(_T("Local AppWizard-Generated Applications")); - - CCardIDDlg CardDlg( nCardID ); - - nResponse = CardDlg.DoModal(); - if (nResponse == IDOK) - { - nCardID = CardDlg.GetCardID(); - - if ((hCard=Register_Card(PCI_7396, nCardID)) < 0) - { - strTemp.Format( TEXT("Register_Card Error = %d"), hCard); - AfxMessageBox( strTemp ); - } - else - { - CUtil7348Dlg dlg(hCard); - m_pMainWnd = &dlg; - nResponse = dlg.DoModal(); - if (nResponse == IDOK) - { - // TODO: Place code here to handle when the dialog is - // dismissed with OK - } - else if (nResponse == IDCANCEL) - { - // TODO: Place code here to handle when the dialog is - // dismissed with Cancel - } - - if (hCard >= 0) Release_Card(hCard); - } - - } - else if (nResponse == IDCANCEL) - { - // TODO: Place code here to handle when the dialog is - // dismissed with Cancel - } - - - // Since the dialog has been closed, return FALSE so that we exit the - // application, rather than start the application's message pump. - return FALSE; -} diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7348/Sdk7348/Util7348.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7348/Sdk7348/Util7348.h deleted file mode 100644 index be77ef4..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7348/Sdk7348/Util7348.h +++ /dev/null @@ -1,32 +0,0 @@ - -// Util7348.h : main header file for the PROJECT_NAME application -// - -#pragma once - -#ifndef __AFXWIN_H__ - #error "include 'stdafx.h' before including this file for PCH" -#endif - -#include "resource.h" // main symbols - - -// CUtil7348App: -// See Util7348.cpp for the implementation of this class -// - -class CUtil7348App : public CWinAppEx -{ -public: - CUtil7348App(); - -// Overrides - public: - virtual BOOL InitInstance(); - -// Implementation - - DECLARE_MESSAGE_MAP() -}; - -extern CUtil7348App theApp; \ No newline at end of file diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7348/Sdk7348/Util7348.rc b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7348/Sdk7348/Util7348.rc deleted file mode 100644 index 555d160..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7348/Sdk7348/Util7348.rc +++ /dev/null @@ -1,433 +0,0 @@ -// Microsoft Visual C++ generated resource script. -// -#include "resource.h" - -#define APSTUDIO_READONLY_SYMBOLS -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 2 resource. -// -#ifndef APSTUDIO_INVOKED -#include "targetver.h" -#endif -#include "afxres.h" - -///////////////////////////////////////////////////////////////////////////// -#undef APSTUDIO_READONLY_SYMBOLS - -///////////////////////////////////////////////////////////////////////////// -// Chinese (Taiwan) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_CHT) -#ifdef _WIN32 -LANGUAGE LANG_CHINESE, SUBLANG_CHINESE_TRADITIONAL -#pragma code_page(950) -#endif //_WIN32 - -#ifdef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// TEXTINCLUDE -// - -1 TEXTINCLUDE -BEGIN - "resource.h\0" -END - -2 TEXTINCLUDE -BEGIN - "#ifndef APSTUDIO_INVOKED\r\n" - "#include ""targetver.h""\r\n" - "#endif\r\n" - "#include ""afxres.h""\r\n" - "\0" -END - -3 TEXTINCLUDE -BEGIN - "#define _AFX_NO_SPLITTER_RESOURCES\r\n" - "#define _AFX_NO_OLE_RESOURCES\r\n" - "#define _AFX_NO_TRACKER_RESOURCES\r\n" - "#define _AFX_NO_PROPERTY_RESOURCES\r\n" - "\r\n" - "#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)\r\n" - "LANGUAGE 9, 1\r\n" - "#pragma code_page(1252)\r\n" - "#include ""res\\Util7348.rc2"" // non-Microsoft Visual C++ edited resources\r\n" - "#include ""afxres.rc"" // Standard components\r\n" - "#endif\r\n" - "\0" -END - -#endif // APSTUDIO_INVOKED - -#endif // Chinese (Taiwan) resources -///////////////////////////////////////////////////////////////////////////// - - -///////////////////////////////////////////////////////////////////////////// -// English (U.S.) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -#ifdef _WIN32 -LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US -#pragma code_page(1252) -#endif //_WIN32 - -///////////////////////////////////////////////////////////////////////////// -// -// Icon -// - -// Icon with lowest ID value placed first to ensure application icon -// remains consistent on all systems. -IDI_ICON_BLACK ICON "res\\black.ico" -IDI_ICON_GREEN ICON "res\\green.ico" -IDI_ICON_RED ICON "res\\red.ico" - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog -// - -IDD_ABOUTBOX DIALOGEX 0, 0, 170, 62 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "About Util7348" -FONT 8, "MS Shell Dlg", 0, 0, 0x1 -BEGIN - ICON IDR_MAINFRAME,IDC_STATIC,14,14,21,20 - LTEXT "Util7348, Version 1.0",IDC_STATIC,42,14,114,8,SS_NOPREFIX - LTEXT "Copyright (C) 2010",IDC_STATIC,42,26,114,8 - DEFPUSHBUTTON "OK",IDOK,113,41,50,14,WS_GROUP -END - -IDD_UTIL7348_DIALOG DIALOGEX 0, 0, 664, 184 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU -EXSTYLE WS_EX_APPWINDOW -CAPTION "PCI-7348" -FONT 8, "MS Shell Dlg", 0, 0, 0x1 -BEGIN - ICON IDI_ICON_BLACK,IDC_ICON_PC0,617,44,20,20 - ICON IDI_ICON_BLACK,IDC_ICON_PC1,593,44,20,20 - ICON IDI_ICON_BLACK,IDC_ICON_PC2,569,44,20,20 - ICON IDI_ICON_BLACK,IDC_ICON_PC3,545,44,20,20 - ICON IDI_ICON_BLACK,IDC_ICON_PC4,519,44,20,20 - ICON IDI_ICON_BLACK,IDC_ICON_PC5,495,44,20,20 - ICON IDI_ICON_BLACK,IDC_ICON_PC6,471,44,20,20 - ICON IDI_ICON_BLACK,IDC_ICON_PC7,447,44,20,20 - ICON IDI_ICON_BLACK,IDC_ICON_PB0,407,44,20,20 - ICON IDI_ICON_BLACK,IDC_ICON_PB1,383,44,20,20 - ICON IDI_ICON_BLACK,IDC_ICON_PB2,359,44,20,20 - ICON IDI_ICON_BLACK,IDC_ICON_PB3,335,44,20,20 - ICON IDI_ICON_BLACK,IDC_ICON_PB4,311,44,20,20 - ICON IDI_ICON_BLACK,IDC_ICON_PB5,287,44,20,20 - ICON IDI_ICON_BLACK,IDC_ICON_PB6,263,44,20,20 - ICON IDI_ICON_BLACK,IDC_ICON_PB7,239,44,20,20 - ICON IDI_ICON_BLACK,IDC_ICON_PA0,197,44,20,20 - ICON IDI_ICON_BLACK,IDC_ICON_PA1,173,44,20,20 - ICON IDI_ICON_BLACK,IDC_ICON_PA2,149,44,20,20 - ICON IDI_ICON_BLACK,IDC_ICON_PA3,125,44,20,20 - ICON IDI_ICON_BLACK,IDC_ICON_PA4,101,44,20,20 - ICON IDI_ICON_BLACK,IDC_ICON_PA5,77,44,20,20 - ICON IDI_ICON_BLACK,IDC_ICON_PA6,53,44,20,20 - GROUPBOX "Port C",IDC_STATIC,446,32,201,36 - GROUPBOX "Port B",IDC_STATIC,233,32,204,36 - GROUPBOX "Port A",IDC_STATIC,23,32,204,36 - ICON IDI_ICON_BLACK,IDC_ICON_PA7,29,44,20,20 - CONTROL "",IDC_CHECK_PC0,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,627,115,21,20 - CONTROL "",IDC_CHECK_PC1,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,603,115,21,20 - CONTROL "",IDC_CHECK_PC2,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,579,115,21,20 - CONTROL "",IDC_CHECK_PC3,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,555,115,21,20 - CONTROL "",IDC_CHECK_PC4,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,529,115,21,20 - CONTROL "",IDC_CHECK_PC5,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,505,115,21,20 - CONTROL "",IDC_CHECK_PC6,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,481,115,21,20 - CONTROL "",IDC_CHECK_PC7,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,457,115,21,20 - CONTROL "",IDC_CHECK_PB0,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,414,115,21,20 - CONTROL "",IDC_CHECK_PB1,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,390,115,21,20 - CONTROL "",IDC_CHECK_PB2,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,366,115,21,20 - CONTROL "",IDC_CHECK_PB3,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,342,115,21,20 - CONTROL "",IDC_CHECK_PB4,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,318,115,21,20 - CONTROL "",IDC_CHECK_PB5,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,294,115,21,20 - CONTROL "",IDC_CHECK_PB6,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,270,115,21,20 - CONTROL "",IDC_CHECK_PB7,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,246,115,21,20 - CONTROL "",IDC_CHECK_PA0,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,204,114,21,20 - CONTROL "",IDC_CHECK_PA1,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,180,114,21,20 - CONTROL "",IDC_CHECK_PA2,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,156,114,21,20 - CONTROL "",IDC_CHECK_PA3,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,132,114,21,20 - CONTROL "",IDC_CHECK_PA4,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,108,114,21,20 - CONTROL "",IDC_CHECK_PA5,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,84,114,21,20 - CONTROL "",IDC_CHECK_PA6,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,60,114,21,20 - CONTROL "",IDC_CHECK_PA7,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,36,114,21,20 - GROUPBOX "Port A",IDC_STATIC,24,102,204,36 - GROUPBOX "Port B",IDC_STATIC,234,103,204,36 - GROUPBOX "Port C ",IDC_STATIC,443,103,203,36 - COMBOBOX IDC_COMBO_IN_PA,113,76,108,18,CBS_DROPDOWN | WS_VSCROLL | WS_TABSTOP - COMBOBOX IDC_COMBO_OUT_PA,111,146,108,18,CBS_DROPDOWN | WS_VSCROLL | WS_TABSTOP - COMBOBOX IDC_COMBO_IN_PB,323,76,108,18,CBS_DROPDOWN | WS_VSCROLL | WS_TABSTOP - COMBOBOX IDC_COMBO_OUT_PB,321,146,108,18,CBS_DROPDOWN | WS_VSCROLL | WS_TABSTOP - COMBOBOX IDC_COMBO_IN_PCL,539,76,108,18,CBS_DROPDOWN | WS_VSCROLL | WS_TABSTOP - COMBOBOX IDC_COMBO_OUT_PCL,537,146,108,18,CBS_DROPDOWN | WS_VSCROLL | WS_TABSTOP - LTEXT "OUTPUT PORTS:",IDC_LABEL_OUTPUT,15,89,57,13 - LTEXT "INPUT PORTS:",IDC_LABEL_INPUT2,15,21,57,13 -END - -IDD_CARDID_DIALOG DIALOGEX 0, 0, 193, 99 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "Card ID" -FONT 8, "MS Shell Dlg", 400, 0, 0x1 -BEGIN - COMBOBOX IDC_COMBO_CARDID,83,24,71,126,CBS_DROPDOWN | WS_VSCROLL | WS_TABSTOP - LTEXT "Card Number",IDC_STATIC_01,29,25,46,12 - PUSHBUTTON "OK",IDOK,30,57,58,19 - PUSHBUTTON "CANCEL",IDCANCEL,94,57,58,19 -END - - -///////////////////////////////////////////////////////////////////////////// -// -// Version -// - -VS_VERSION_INFO VERSIONINFO - FILEVERSION 1,0,0,1 - PRODUCTVERSION 1,0,0,1 - FILEFLAGSMASK 0x3fL -#ifdef _DEBUG - FILEFLAGS 0x1L -#else - FILEFLAGS 0x0L -#endif - FILEOS 0x4L - FILETYPE 0x1L - FILESUBTYPE 0x0L -BEGIN - BLOCK "StringFileInfo" - BEGIN - BLOCK "040904e4" - BEGIN - VALUE "CompanyName", "TODO: " - VALUE "FileDescription", "TODO: " - VALUE "FileVersion", "1.0.0.1" - VALUE "InternalName", "Util7348.exe" - VALUE "LegalCopyright", "TODO: (c) . All rights reserved." - VALUE "OriginalFilename", "Util7348.exe" - VALUE "ProductName", "TODO: " - VALUE "ProductVersion", "1.0.0.1" - END - END - BLOCK "VarFileInfo" - BEGIN - VALUE "Translation", 0x409, 1252 - END -END - - -///////////////////////////////////////////////////////////////////////////// -// -// DESIGNINFO -// - -#ifdef APSTUDIO_INVOKED -GUIDELINES DESIGNINFO -BEGIN - IDD_ABOUTBOX, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 163 - TOPMARGIN, 7 - BOTTOMMARGIN, 55 - END - - IDD_CARDID_DIALOG, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 186 - TOPMARGIN, 7 - BOTTOMMARGIN, 92 - END -END -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog Info -// - -IDD_UTIL7396_DIALOG DLGINIT -BEGIN - IDC_COMBO_IN_PA, 0x403, 12, 0 -0x6843, 0x6e61, 0x656e, 0x5f6c, 0x3150, 0x0041, - IDC_COMBO_IN_PA, 0x403, 12, 0 -0x6843, 0x6e61, 0x656e, 0x5f6c, 0x3250, 0x0041, - IDC_COMBO_IN_PA, 0x403, 12, 0 -0x6843, 0x6e61, 0x656e, 0x5f6c, 0x3350, 0x0041, - IDC_COMBO_IN_PA, 0x403, 12, 0 -0x6843, 0x6e61, 0x656e, 0x5f6c, 0x3450, 0x0041, - IDC_COMBO_OUT_PA, 0x403, 12, 0 -0x6843, 0x6e61, 0x656e, 0x5f6c, 0x3150, 0x0041, - IDC_COMBO_OUT_PA, 0x403, 12, 0 -0x6843, 0x6e61, 0x656e, 0x5f6c, 0x3250, 0x0041, - IDC_COMBO_OUT_PA, 0x403, 12, 0 -0x6843, 0x6e61, 0x656e, 0x5f6c, 0x3350, 0x0041, - IDC_COMBO_OUT_PA, 0x403, 12, 0 -0x6843, 0x6e61, 0x656e, 0x5f6c, 0x3450, 0x0041, - IDC_COMBO_IN_PB, 0x403, 12, 0 -0x6843, 0x6e61, 0x656e, 0x5f6c, 0x3150, 0x0042, - IDC_COMBO_IN_PB, 0x403, 12, 0 -0x6843, 0x6e61, 0x656e, 0x5f6c, 0x3250, 0x0042, - IDC_COMBO_IN_PB, 0x403, 12, 0 -0x6843, 0x6e61, 0x656e, 0x5f6c, 0x3350, 0x0042, - IDC_COMBO_IN_PB, 0x403, 12, 0 -0x6843, 0x6e61, 0x656e, 0x5f6c, 0x3450, 0x0042, - IDC_COMBO_OUT_PB, 0x403, 12, 0 -0x6843, 0x6e61, 0x656e, 0x5f6c, 0x3150, 0x0042, - IDC_COMBO_OUT_PB, 0x403, 12, 0 -0x6843, 0x6e61, 0x656e, 0x5f6c, 0x3250, 0x0042, - IDC_COMBO_OUT_PB, 0x403, 12, 0 -0x6843, 0x6e61, 0x656e, 0x5f6c, 0x3350, 0x0042, - IDC_COMBO_OUT_PB, 0x403, 12, 0 -0x6843, 0x6e61, 0x656e, 0x5f6c, 0x3450, 0x0042, - IDC_COMBO_IN_PCL, 0x403, 13, 0 -0x6843, 0x6e61, 0x656e, 0x5f6c, 0x3150, 0x4c43, "\000" - IDC_COMBO_IN_PCL, 0x403, 13, 0 -0x6843, 0x6e61, 0x656e, 0x5f6c, 0x3250, 0x4c43, "\000" - IDC_COMBO_IN_PCL, 0x403, 13, 0 -0x6843, 0x6e61, 0x656e, 0x5f6c, 0x3350, 0x4c43, "\000" - IDC_COMBO_IN_PCL, 0x403, 13, 0 -0x6843, 0x6e61, 0x656e, 0x5f6c, 0x3450, 0x4c43, "\000" - IDC_COMBO_OUT_PCL, 0x403, 13, 0 -0x6843, 0x6e61, 0x656e, 0x5f6c, 0x3150, 0x4c43, "\000" - IDC_COMBO_OUT_PCL, 0x403, 13, 0 -0x6843, 0x6e61, 0x656e, 0x5f6c, 0x3250, 0x4c43, "\000" - IDC_COMBO_OUT_PCL, 0x403, 13, 0 -0x6843, 0x6e61, 0x656e, 0x5f6c, 0x3350, 0x4c43, "\000" - IDC_COMBO_OUT_PCL, 0x403, 13, 0 -0x6843, 0x6e61, 0x656e, 0x5f6c, 0x3450, 0x4c43, "\000" - 0 -END - -IDD_CARDID_DIALOG DLGINIT -BEGIN - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0030, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0031, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0032, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0033, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0034, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0035, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0036, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0037, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0038, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0039, - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3031, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3131, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3231, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3331, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3431, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3531, "\000" - 0 -END - -IDD_UTIL7348_DIALOG DLGINIT -BEGIN - IDC_COMBO_IN_PA, 0x403, 12, 0 -0x6843, 0x6e61, 0x656e, 0x5f6c, 0x3150, 0x0041, - IDC_COMBO_IN_PA, 0x403, 12, 0 -0x6843, 0x6e61, 0x656e, 0x5f6c, 0x3250, 0x0041, - IDC_COMBO_OUT_PA, 0x403, 12, 0 -0x6843, 0x6e61, 0x656e, 0x5f6c, 0x3150, 0x0041, - IDC_COMBO_OUT_PA, 0x403, 12, 0 -0x6843, 0x6e61, 0x656e, 0x5f6c, 0x3250, 0x0041, - IDC_COMBO_IN_PB, 0x403, 12, 0 -0x6843, 0x6e61, 0x656e, 0x5f6c, 0x3150, 0x0042, - IDC_COMBO_IN_PB, 0x403, 12, 0 -0x6843, 0x6e61, 0x656e, 0x5f6c, 0x3250, 0x0042, - IDC_COMBO_OUT_PB, 0x403, 12, 0 -0x6843, 0x6e61, 0x656e, 0x5f6c, 0x3150, 0x0042, - IDC_COMBO_OUT_PB, 0x403, 12, 0 -0x6843, 0x6e61, 0x656e, 0x5f6c, 0x3250, 0x0042, - IDC_COMBO_IN_PCL, 0x403, 12, 0 -0x6843, 0x6e61, 0x656e, 0x5f6c, 0x3150, 0x0043, - IDC_COMBO_IN_PCL, 0x403, 12, 0 -0x6843, 0x6e61, 0x656e, 0x5f6c, 0x3250, 0x0043, - IDC_COMBO_OUT_PCL, 0x403, 12, 0 -0x6843, 0x6e61, 0x656e, 0x5f6c, 0x3150, 0x0043, - IDC_COMBO_OUT_PCL, 0x403, 12, 0 -0x6843, 0x6e61, 0x656e, 0x5f6c, 0x3250, 0x0043, - 0 -END - - -///////////////////////////////////////////////////////////////////////////// -// -// String Table -// - -STRINGTABLE -BEGIN - IDS_ABOUTBOX "&About Util7348..." -END - -#endif // English (U.S.) resources -///////////////////////////////////////////////////////////////////////////// - - -///////////////////////////////////////////////////////////////////////////// -// English (U.K.) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENG) -#ifdef _WIN32 -LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_UK -#pragma code_page(1252) -#endif //_WIN32 - -///////////////////////////////////////////////////////////////////////////// -// -// Icon -// - -// Icon with lowest ID value placed first to ensure application icon -// remains consistent on all systems. -IDR_MAINFRAME ICON "res\\Util7348.ico" -#endif // English (U.K.) resources -///////////////////////////////////////////////////////////////////////////// - - - -#ifndef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 3 resource. -// -#define _AFX_NO_SPLITTER_RESOURCES -#define _AFX_NO_OLE_RESOURCES -#define _AFX_NO_TRACKER_RESOURCES -#define _AFX_NO_PROPERTY_RESOURCES - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -LANGUAGE 9, 1 -#pragma code_page(1252) -#include "res\Util7348.rc2" // non-Microsoft Visual C++ edited resources -#include "afxres.rc" // Standard components -#endif - -///////////////////////////////////////////////////////////////////////////// -#endif // not APSTUDIO_INVOKED - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7348/Sdk7348/Util7348.sln b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7348/Sdk7348/Util7348.sln deleted file mode 100644 index b61cdd0..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7348/Sdk7348/Util7348.sln +++ /dev/null @@ -1,20 +0,0 @@ - -Microsoft Visual Studio Solution File, Format Version 10.00 -# Visual Studio 2008 -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "Util7348", "Util7348.vcproj", "{6EC93BA5-1451-4DB1-9016-E8F38BDF9AE7}" -EndProject -Global - GlobalSection(SolutionConfigurationPlatforms) = preSolution - Debug|x64 = Debug|x64 - Release|x64 = Release|x64 - EndGlobalSection - GlobalSection(ProjectConfigurationPlatforms) = postSolution - {6EC93BA5-1451-4DB1-9016-E8F38BDF9AE7}.Debug|x64.ActiveCfg = Debug|x64 - {6EC93BA5-1451-4DB1-9016-E8F38BDF9AE7}.Debug|x64.Build.0 = Debug|x64 - {6EC93BA5-1451-4DB1-9016-E8F38BDF9AE7}.Release|x64.ActiveCfg = Release|x64 - {6EC93BA5-1451-4DB1-9016-E8F38BDF9AE7}.Release|x64.Build.0 = Release|x64 - EndGlobalSection - GlobalSection(SolutionProperties) = preSolution - HideSolutionNode = FALSE - EndGlobalSection -EndGlobal diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7348/Sdk7348/Util7348.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7348/Sdk7348/Util7348.suo deleted file mode 100644 index cc15448..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7348/Sdk7348/Util7348.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7348/Sdk7348/Util7348.vcproj b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7348/Sdk7348/Util7348.vcproj deleted file mode 100644 index c1d5920..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7348/Sdk7348/Util7348.vcproj +++ /dev/null @@ -1,294 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7348/Sdk7348/Util7348Dlg.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7348/Sdk7348/Util7348Dlg.cpp deleted file mode 100644 index 312cbc4..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7348/Sdk7348/Util7348Dlg.cpp +++ /dev/null @@ -1,1226 +0,0 @@ - -// Util7348Dlg.cpp : implementation file -// - -#include "stdafx.h" -#include "Util7348.h" -#include "Util7348Dlg.h" - -#ifdef _DEBUG -#define new DEBUG_NEW -#endif - - -// CAboutDlg dialog used for App About - -class CAboutDlg : public CDialog -{ -public: - CAboutDlg(); - -// Dialog Data - enum { IDD = IDD_ABOUTBOX }; - - protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - -// Implementation -protected: - DECLARE_MESSAGE_MAP() -}; - -CAboutDlg::CAboutDlg() : CDialog(CAboutDlg::IDD) -{ -} - -void CAboutDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); -} - -BEGIN_MESSAGE_MAP(CAboutDlg, CDialog) -END_MESSAGE_MAP() - - -// CUtil7348Dlg dialog - - - - -CUtil7348Dlg::CUtil7348Dlg(I16 hCard, CWnd* pParent /*=NULL*/) - : CDialog(CUtil7348Dlg::IDD, pParent) -{ - m_hIcon = AfxGetApp()->LoadIcon(IDR_MAINFRAME); - - m_InPortA = Channel_P1A; - m_OutPortA = Channel_P2A; - m_InPortB = Channel_P1B; - m_OutPortB = Channel_P2B; - m_InPortC = Channel_P1C; - m_OutPortC = Channel_P2C; - - m_InDataPortA = 0x00; - m_OutDataPortA = 0x00; - m_InDataPortB = 0x00; - m_OutDataPortB = 0x00; - m_InDataPortC = 0x00; - m_OutDataPortC = 0x00; - - m_hCard = hCard; - m_nTimer = -1; -} - -void CUtil7348Dlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); - DDX_Control(pDX, IDC_ICON_PC0, m_Icon_PC0); - DDX_Control(pDX, IDC_ICON_PC1, m_Icon_PC1); - DDX_Control(pDX, IDC_ICON_PC2, m_Icon_PC2); - DDX_Control(pDX, IDC_ICON_PC3, m_Icon_PC3); - DDX_Control(pDX, IDC_ICON_PC4, m_Icon_PC4); - DDX_Control(pDX, IDC_ICON_PC5, m_Icon_PC5); - DDX_Control(pDX, IDC_ICON_PC6, m_Icon_PC6); - DDX_Control(pDX, IDC_ICON_PC7, m_Icon_PC7); - DDX_Control(pDX, IDC_ICON_PB0, m_Icon_PB0); - DDX_Control(pDX, IDC_ICON_PB1, m_Icon_PB1); - DDX_Control(pDX, IDC_ICON_PB2, m_Icon_PB2); - DDX_Control(pDX, IDC_ICON_PB3, m_Icon_PB3); - DDX_Control(pDX, IDC_ICON_PB4, m_Icon_PB4); - DDX_Control(pDX, IDC_ICON_PB5, m_Icon_PB5); - DDX_Control(pDX, IDC_ICON_PB6, m_Icon_PB6); - DDX_Control(pDX, IDC_ICON_PB7, m_Icon_PB7); - DDX_Control(pDX, IDC_ICON_PA0, m_Icon_PA0); - DDX_Control(pDX, IDC_ICON_PA1, m_Icon_PA1); - DDX_Control(pDX, IDC_ICON_PA2, m_Icon_PA2); - DDX_Control(pDX, IDC_ICON_PA3, m_Icon_PA3); - DDX_Control(pDX, IDC_ICON_PA4, m_Icon_PA4); - DDX_Control(pDX, IDC_ICON_PA5, m_Icon_PA5); - DDX_Control(pDX, IDC_ICON_PA6, m_Icon_PA6); - DDX_Control(pDX, IDC_ICON_PA7, m_Icon_PA7); - DDX_Control(pDX, IDC_COMBO_IN_PA, m_cbPortAIn); - DDX_Control(pDX, IDC_COMBO_IN_PB, m_cbPortBIn); - DDX_Control(pDX, IDC_COMBO_IN_PCL, m_cbPortCIn); - DDX_Control(pDX, IDC_COMBO_OUT_PA, m_cbPortAOut); - DDX_Control(pDX, IDC_COMBO_OUT_PB, m_cbPortBOut); - DDX_Control(pDX, IDC_COMBO_OUT_PCL, m_cbPortCOut); -} - -BEGIN_MESSAGE_MAP(CUtil7348Dlg, CDialog) - ON_WM_SYSCOMMAND() - ON_WM_PAINT() - ON_WM_QUERYDRAGICON() - //}}AFX_MSG_MAP - ON_CBN_SELCHANGE(IDC_COMBO_IN_PA, &CUtil7348Dlg::OnInPASelchange) - ON_CBN_SELCHANGE(IDC_COMBO_OUT_PA, &CUtil7348Dlg::OnOutPASelchange) - ON_CBN_SELCHANGE(IDC_COMBO_IN_PB, &CUtil7348Dlg::OnInPBSelchange) - ON_CBN_SELCHANGE(IDC_COMBO_OUT_PB, &CUtil7348Dlg::OnOutPBSelchange) - ON_CBN_SELCHANGE(IDC_COMBO_IN_PCL, &CUtil7348Dlg::OnInPCLSelchange) - ON_CBN_SELCHANGE(IDC_COMBO_OUT_PCL, &CUtil7348Dlg::OnOutPCLSelchange) - ON_WM_DESTROY() - ON_WM_TIMER() - ON_BN_CLICKED(IDC_CHECK_PC0, &CUtil7348Dlg::OnOutputPC0) - ON_BN_CLICKED(IDC_CHECK_PC1, &CUtil7348Dlg::OnOutputPC1) - ON_BN_CLICKED(IDC_CHECK_PC2, &CUtil7348Dlg::OnOutputPC2) - ON_BN_CLICKED(IDC_CHECK_PC3, &CUtil7348Dlg::OnOutputPC3) - ON_BN_CLICKED(IDC_CHECK_PC4, &CUtil7348Dlg::OnOutputPC4) - ON_BN_CLICKED(IDC_CHECK_PC5, &CUtil7348Dlg::OnOutputPC5) - ON_BN_CLICKED(IDC_CHECK_PC6, &CUtil7348Dlg::OnOutputPC6) - ON_BN_CLICKED(IDC_CHECK_PC7, &CUtil7348Dlg::OnOutputPC7) - ON_BN_CLICKED(IDC_CHECK_PB0, &CUtil7348Dlg::OnOutputPB0) - ON_BN_CLICKED(IDC_CHECK_PB1, &CUtil7348Dlg::OnOutputPB1) - ON_BN_CLICKED(IDC_CHECK_PB2, &CUtil7348Dlg::OnOutputPB2) - ON_BN_CLICKED(IDC_CHECK_PB3, &CUtil7348Dlg::OnOutputPB3) - ON_BN_CLICKED(IDC_CHECK_PB4, &CUtil7348Dlg::OnOutputPB4) - ON_BN_CLICKED(IDC_CHECK_PB5, &CUtil7348Dlg::OnOutputPB5) - ON_BN_CLICKED(IDC_CHECK_PB6, &CUtil7348Dlg::OnOutputPB6) - ON_BN_CLICKED(IDC_CHECK_PB7, &CUtil7348Dlg::OnOutputPB7) - ON_BN_CLICKED(IDC_CHECK_PA0, &CUtil7348Dlg::OnOutputPA0) - ON_BN_CLICKED(IDC_CHECK_PA1, &CUtil7348Dlg::OnOutputPA1) - ON_BN_CLICKED(IDC_CHECK_PA2, &CUtil7348Dlg::OnOutputPA2) - ON_BN_CLICKED(IDC_CHECK_PA3, &CUtil7348Dlg::OnOutputPA3) - ON_BN_CLICKED(IDC_CHECK_PA4, &CUtil7348Dlg::OnOutputPA4) - ON_BN_CLICKED(IDC_CHECK_PA5, &CUtil7348Dlg::OnOutputPA5) - ON_BN_CLICKED(IDC_CHECK_PA6, &CUtil7348Dlg::OnOutputPA6) - ON_BN_CLICKED(IDC_CHECK_PA7, &CUtil7348Dlg::OnOutputPA7) - ON_WM_CTLCOLOR() -END_MESSAGE_MAP() - - -// CUtil7348Dlg message handlers - -BOOL CUtil7348Dlg::OnInitDialog() -{ - CDialog::OnInitDialog(); - - // Add "About..." menu item to system menu. - - // IDM_ABOUTBOX must be in the system command range. - ASSERT((IDM_ABOUTBOX & 0xFFF0) == IDM_ABOUTBOX); - ASSERT(IDM_ABOUTBOX < 0xF000); - - CMenu* pSysMenu = GetSystemMenu(FALSE); - if (pSysMenu != NULL) - { - BOOL bNameValid; - CString strAboutMenu; - bNameValid = strAboutMenu.LoadString(IDS_ABOUTBOX); - ASSERT(bNameValid); - if (!strAboutMenu.IsEmpty()) - { - pSysMenu->AppendMenu(MF_SEPARATOR); - pSysMenu->AppendMenu(MF_STRING, IDM_ABOUTBOX, strAboutMenu); - } - } - - // Set the icon for this dialog. The framework does this automatically - // when the application's main window is not a dialog - SetIcon(m_hIcon, TRUE); // Set big icon - SetIcon(m_hIcon, FALSE); // Set small icon - - // TODO: Add extra initialization here - m_cbPortAIn.SetCurSel(0); - m_cbPortBIn.SetCurSel(0); - m_cbPortCIn.SetCurSel(0); - - m_cbPortAOut.SetCurSel(1); - m_cbPortBOut.SetCurSel(1); - m_cbPortCOut.SetCurSel(1); - - // Port Configuration - DIO_PortConfig(m_hCard, m_InPortA, INPUT_PORT); - DIO_PortConfig(m_hCard, m_OutPortA, OUTPUT_PORT); - DIO_PortConfig(m_hCard, m_InPortB, INPUT_PORT); - DIO_PortConfig(m_hCard, m_OutPortB, OUTPUT_PORT); - DIO_PortConfig(m_hCard, m_InPortC, INPUT_PORT); - DIO_PortConfig(m_hCard, m_OutPortC, OUTPUT_PORT); - - DO_WritePort( m_hCard, m_OutPortA, m_OutDataPortA ); - DO_WritePort( m_hCard, m_OutPortB, m_OutDataPortB ); - DO_WritePort( m_hCard, m_OutPortC, m_OutDataPortC ); - - m_nTimer = SetTimer( 1, 50, NULL ); - - return TRUE; // return TRUE unless you set the focus to a control -} - -void CUtil7348Dlg::OnSysCommand(UINT nID, LPARAM lParam) -{ - if ((nID & 0xFFF0) == IDM_ABOUTBOX) - { - CAboutDlg dlgAbout; - dlgAbout.DoModal(); - } - else - { - CDialog::OnSysCommand(nID, lParam); - } -} - -// If you add a minimize button to your dialog, you will need the code below -// to draw the icon. For MFC applications using the document/view model, -// this is automatically done for you by the framework. - -void CUtil7348Dlg::OnPaint() -{ - if (IsIconic()) - { - CPaintDC dc(this); // device context for painting - - SendMessage(WM_ICONERASEBKGND, reinterpret_cast(dc.GetSafeHdc()), 0); - - // Center icon in client rectangle - int cxIcon = GetSystemMetrics(SM_CXICON); - int cyIcon = GetSystemMetrics(SM_CYICON); - CRect rect; - GetClientRect(&rect); - int x = (rect.Width() - cxIcon + 1) / 2; - int y = (rect.Height() - cyIcon + 1) / 2; - - // Draw the icon - dc.DrawIcon(x, y, m_hIcon); - } - else - { - CDialog::OnPaint(); - } -} - -// The system calls this function to obtain the cursor to display while the user drags -// the minimized window. -HCURSOR CUtil7348Dlg::OnQueryDragIcon() -{ - return static_cast(m_hIcon); -} - -void CUtil7348Dlg::OnInPASelchange() -{ - // TODO: Add your control notification handler code here - U16 tmpInPA; - int nIndex; - - nIndex = m_cbPortAIn.GetCurSel(); - switch( nIndex ) - { - case 0: - tmpInPA = Channel_P1A; - break; - case 1: - tmpInPA = Channel_P2A; - break; - } - - - m_InPortA = tmpInPA; - - DIO_PortConfig(m_hCard, m_InPortA, INPUT_PORT); - -} - -void CUtil7348Dlg::OnOutPASelchange() -{ - // TODO: Add your control notification handler code here - U16 tmpOutPA; - int nIndex; - - nIndex = m_cbPortAOut.GetCurSel(); - switch( nIndex ) - { - case 0: - tmpOutPA = Channel_P1A; - break; - case 1: - tmpOutPA = Channel_P2A; - break; - } - - m_OutPortA = tmpOutPA; - - DIO_PortConfig(m_hCard, m_OutPortA, OUTPUT_PORT); - // reset Output data - m_OutDataPortA = 0x00; - -} - -void CUtil7348Dlg::OnInPBSelchange() -{ - // TODO: Add your control notification handler code here - U16 tmpInPB; - int nIndex; - - nIndex = m_cbPortBIn.GetCurSel(); - switch( nIndex ) - { - case 0: - tmpInPB = Channel_P1B; - break; - case 1: - tmpInPB = Channel_P2B; - break; - } - m_InPortB = tmpInPB; - - DIO_PortConfig(m_hCard, m_InPortB, INPUT_PORT); -} - -void CUtil7348Dlg::OnOutPBSelchange() -{ - // TODO: Add your control notification handler code here - U16 tmpOutPB; - int nIndex; - - nIndex = m_cbPortBOut.GetCurSel(); - switch( nIndex ) - { - case 0: - tmpOutPB = Channel_P1B; - break; - case 1: - tmpOutPB = Channel_P2B; - break; - } - - m_OutPortB = tmpOutPB; - - DIO_PortConfig(m_hCard, m_OutPortB, OUTPUT_PORT); - // reset Output data - m_OutDataPortB = 0x00; - - -} - - -void CUtil7348Dlg::OnInPCLSelchange() -{ - // TODO: Add your control notification handler code here - U16 tmpInPC; - int nIndex; - - nIndex = m_cbPortCIn.GetCurSel(); - switch( nIndex ) - { - case 0: - tmpInPC = Channel_P1C; - break; - case 1: - tmpInPC = Channel_P2C; - break; - } - - - m_InPortC = tmpInPC; - - DIO_PortConfig(m_hCard, m_InPortC, INPUT_PORT); - -} - -void CUtil7348Dlg::OnOutPCLSelchange() -{ - // TODO: Add your control notification handler code here - U16 tmpOutPC; - int nIndex; - - nIndex = m_cbPortCOut.GetCurSel(); - switch( nIndex ) - { - case 0: - tmpOutPC = Channel_P1C; - break; - case 1: - tmpOutPC = Channel_P2C; - break; - } - - m_OutPortC = tmpOutPC; - - DIO_PortConfig(m_hCard, m_OutPortC, OUTPUT_PORT); - // reset Output data - m_OutDataPortC = 0x00; -} - -void CUtil7348Dlg::OnDestroy() -{ - CDialog::OnDestroy(); - - // TODO: Add your message handler code here - if( m_nTimer != -1 ) - { - KillTimer( m_nTimer ); - m_nTimer = -1; - } -} - -void CUtil7348Dlg::OnTimer(UINT_PTR nIDEvent) -{ - // TODO: Add your message handler code here and/or call default - - U32 dwPortData,dwChangeMask; - - - // process the InData of PortA - DI_ReadPort( m_hCard, m_InPortA, &dwPortData); - dwChangeMask = dwPortData ^ m_InDataPortA; - - if( dwChangeMask != 0x00 ) // Input had been changed - { - - m_InDataPortA = dwPortData; - - if( (dwChangeMask & 0x01) == 0x01 ) // if the target bit is changed - { - if( (dwPortData & 0x01) == 0x01 ) - { - m_Icon_PA0.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_PA0.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - - if( (dwChangeMask & 0x02) == 0x02 ) // if the target bit is changed - { - if( (dwPortData & 0x02) == 0x02 ) - { - m_Icon_PA1.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_PA1.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - if( (dwChangeMask & 0x04) == 0x04 ) // if the target bit is changed - { - if( (dwPortData & 0x04) == 0x04 ) - { - m_Icon_PA2.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_PA2.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - if( (dwChangeMask & 0x08) == 0x08 ) // if the target bit is changed - { - if( (dwPortData & 0x08) == 0x08 ) - { - m_Icon_PA3.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_PA3.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - if( (dwChangeMask & 0x10) == 0x10 ) // if the target bit is changed - { - if( (dwPortData & 0x10) == 0x10 ) - { - m_Icon_PA4.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_PA4.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - if( (dwChangeMask & 0x20) == 0x20 ) // if the target bit is changed - { - if( (dwPortData & 0x20) == 0x20 ) - { - m_Icon_PA5.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_PA5.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - if( (dwChangeMask & 0x40) == 0x40 ) // if the target bit is changed - { - if( (dwPortData & 0x40) == 0x40 ) - { - m_Icon_PA6.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_PA6.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - if( (dwChangeMask & 0x80) == 0x80 ) // if the target bit is changed - { - if( (dwPortData & 0x80) == 0x80 ) - { - m_Icon_PA7.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_PA7.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - - } - - - - // process the InData of PortB - DI_ReadPort( m_hCard, m_InPortB, &dwPortData); - dwChangeMask = dwPortData ^ m_InDataPortB; - - if( dwChangeMask != 0x00 ) // Input had been changed - { - - m_InDataPortB = dwPortData; - - if( (dwChangeMask & 0x01) == 0x01 ) // if the target bit is changed - { - if( (dwPortData & 0x01) == 0x01 ) - { - m_Icon_PB0.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_PB0.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - - if( (dwChangeMask & 0x02) == 0x02 ) // if the target bit is changed - { - if( (dwPortData & 0x02) == 0x02 ) - { - m_Icon_PB1.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_PB1.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - if( (dwChangeMask & 0x04) == 0x04 ) // if the target bit is changed - { - if( (dwPortData & 0x04) == 0x04 ) - { - m_Icon_PB2.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_PB2.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - if( (dwChangeMask & 0x08) == 0x08 ) // if the target bit is changed - { - if( (dwPortData & 0x08) == 0x08 ) - { - m_Icon_PB3.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_PB3.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - if( (dwChangeMask & 0x10) == 0x10 ) // if the target bit is changed - { - if( (dwPortData & 0x10) == 0x10 ) - { - m_Icon_PB4.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_PB4.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - if( (dwChangeMask & 0x20) == 0x20 ) // if the target bit is changed - { - if( (dwPortData & 0x20) == 0x20 ) - { - m_Icon_PB5.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_PB5.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - if( (dwChangeMask & 0x40) == 0x40 ) // if the target bit is changed - { - if( (dwPortData & 0x40) == 0x40 ) - { - m_Icon_PB6.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_PB6.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - if( (dwChangeMask & 0x80) == 0x80 ) // if the target bit is changed - { - if( (dwPortData & 0x80) == 0x80 ) - { - m_Icon_PB7.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_PB7.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - } - - - - // process the InData of PortC Lower - DI_ReadPort( m_hCard, m_InPortC, &dwPortData); - dwChangeMask = dwPortData ^ m_InDataPortC; - - if( dwChangeMask != 0x00 ) // Input had been changed - { - - m_InDataPortC = dwPortData; - - if( (dwChangeMask & 0x01) == 0x01 ) // if the target bit is changed - { - if( (dwPortData & 0x01) == 0x01 ) - { - m_Icon_PC0.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_PC0.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - - if( (dwChangeMask & 0x02) == 0x02 ) // if the target bit is changed - { - if( (dwPortData & 0x02) == 0x02 ) - { - m_Icon_PC1.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_PC1.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - if( (dwChangeMask & 0x04) == 0x04 ) // if the target bit is changed - { - if( (dwPortData & 0x04) == 0x04 ) - { - m_Icon_PC2.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_PC2.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - if( (dwChangeMask & 0x08) == 0x08 ) // if the target bit is changed - { - if( (dwPortData & 0x08) == 0x08 ) - { - m_Icon_PC3.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_PC3.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - if( (dwChangeMask & 0x10) == 0x10 ) // if the target bit is changed - { - if( (dwPortData & 0x10) == 0x10 ) - { - m_Icon_PC4.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_PC4.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - if( (dwChangeMask & 0x20) == 0x20 ) // if the target bit is changed - { - if( (dwPortData & 0x20) == 0x20 ) - { - m_Icon_PC5.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_PC5.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - if( (dwChangeMask & 0x40) == 0x40 ) // if the target bit is changed - { - if( (dwPortData & 0x40) == 0x40 ) - { - m_Icon_PC6.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_PC6.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - if( (dwChangeMask & 0x80) == 0x80 ) // if the target bit is changed - { - if( (dwPortData & 0x80) == 0x80 ) - { - m_Icon_PC7.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_PC7.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - } - - - - CDialog::OnTimer(nIDEvent); -} - -void CUtil7348Dlg::OnOutputPC0() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_PC0 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_OutDataPortC |= 0x01; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_OutDataPortC &= (~0x01); - } - - DO_WritePort( m_hCard, m_OutPortC, m_OutDataPortC ); - -} - -void CUtil7348Dlg::OnOutputPC1() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_PC1 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_OutDataPortC |= 0x02; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_OutDataPortC &= (~0x02); - } - - DO_WritePort( m_hCard, m_OutPortC, m_OutDataPortC ); -} - -void CUtil7348Dlg::OnOutputPC2() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_PC2 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_OutDataPortC |= 0x04; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_OutDataPortC &= (~0x04); - } - - DO_WritePort( m_hCard, m_OutPortC, m_OutDataPortC ); - -} - -void CUtil7348Dlg::OnOutputPC3() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_PC3 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_OutDataPortC |= 0x08; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_OutDataPortC &= (~0x08); - } - - DO_WritePort( m_hCard, m_OutPortC, m_OutDataPortC ); -} - -void CUtil7348Dlg::OnOutputPC4() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_PC4 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_OutDataPortC |= 0x10; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_OutDataPortC &= (~0x10); - } - - DO_WritePort( m_hCard, m_OutPortC, m_OutDataPortC ); - -} - -void CUtil7348Dlg::OnOutputPC5() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_PC5 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_OutDataPortC |= 0x20; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_OutDataPortC &= (~0x20); - } - - DO_WritePort( m_hCard, m_OutPortC, m_OutDataPortC ); -} - -void CUtil7348Dlg::OnOutputPC6() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_PC6 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_OutDataPortC |= 0x40; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_OutDataPortC &= (~0x40); - } - - DO_WritePort( m_hCard, m_OutPortC, m_OutDataPortC ); -} - -void CUtil7348Dlg::OnOutputPC7() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_PC7 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_OutDataPortC |= 0x80; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_OutDataPortC &= (~0x80); - } - - DO_WritePort( m_hCard, m_OutPortC, m_OutDataPortC ); -} - -void CUtil7348Dlg::OnOutputPB0() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_PB0 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_OutDataPortB |= 0x01; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_OutDataPortB &= (~0x01); - } - - DO_WritePort( m_hCard, m_OutPortB, m_OutDataPortB ); - -} - -void CUtil7348Dlg::OnOutputPB1() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_PB1 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_OutDataPortB |= 0x02; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_OutDataPortB &= (~0x02); - } - - DO_WritePort( m_hCard, m_OutPortB, m_OutDataPortB ); -} - -void CUtil7348Dlg::OnOutputPB2() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_PB2 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_OutDataPortB |= 0x04; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_OutDataPortB &= (~0x04); - } - - DO_WritePort( m_hCard, m_OutPortB, m_OutDataPortB ); -} - -void CUtil7348Dlg::OnOutputPB3() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_PB3 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_OutDataPortB |= 0x08; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_OutDataPortB &= (~0x08); - } - - DO_WritePort( m_hCard, m_OutPortB, m_OutDataPortB ); -} - -void CUtil7348Dlg::OnOutputPB4() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_PB4 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_OutDataPortB |= 0x10; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_OutDataPortB &= (~0x10); - } - - DO_WritePort( m_hCard, m_OutPortB, m_OutDataPortB ); -} - -void CUtil7348Dlg::OnOutputPB5() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_PB5 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_OutDataPortB |= 0x20; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_OutDataPortB &= (~0x20); - } - - DO_WritePort( m_hCard, m_OutPortB, m_OutDataPortB ); -} - -void CUtil7348Dlg::OnOutputPB6() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_PB6 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_OutDataPortB |= 0x40; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_OutDataPortB &= (~0x40); - } - - DO_WritePort( m_hCard, m_OutPortB, m_OutDataPortB ); -} - -void CUtil7348Dlg::OnOutputPB7() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_PB7 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_OutDataPortB |= 0x80; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_OutDataPortB &= (~0x80); - } - - DO_WritePort( m_hCard, m_OutPortB, m_OutDataPortB ); -} - -void CUtil7348Dlg::OnOutputPA0() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_PA0 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_OutDataPortA |= 0x01; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_OutDataPortA &= (~0x01); - } - - DO_WritePort( m_hCard, m_OutPortA, m_OutDataPortA ); -} - -void CUtil7348Dlg::OnOutputPA1() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_PA1 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_OutDataPortA |= 0x02; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_OutDataPortA &= (~0x02); - } - - DO_WritePort( m_hCard, m_OutPortA, m_OutDataPortA ); -} - -void CUtil7348Dlg::OnOutputPA2() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_PA2 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_OutDataPortA |= 0x04; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_OutDataPortA &= (~0x04); - } - - DO_WritePort( m_hCard, m_OutPortA, m_OutDataPortA ); -} - -void CUtil7348Dlg::OnOutputPA3() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_PA3 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_OutDataPortA |= 0x08; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_OutDataPortA &= (~0x08); - } - - DO_WritePort( m_hCard, m_OutPortA, m_OutDataPortA ); -} - -void CUtil7348Dlg::OnOutputPA4() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_PA4 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_OutDataPortA |= 0x10; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_OutDataPortA &= (~0x10); - } - - DO_WritePort( m_hCard, m_OutPortA, m_OutDataPortA ); -} - -void CUtil7348Dlg::OnOutputPA5() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_PA5 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_OutDataPortA |= 0x20; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_OutDataPortA &= (~0x20); - } - - DO_WritePort( m_hCard, m_OutPortA, m_OutDataPortA ); -} - -void CUtil7348Dlg::OnOutputPA6() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_PA6 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_OutDataPortA |= 0x40; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_OutDataPortA &= (~0x40); - } - - DO_WritePort( m_hCard, m_OutPortA, m_OutDataPortA ); -} - -void CUtil7348Dlg::OnOutputPA7() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_PA7 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_OutDataPortA |= 0x80; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_OutDataPortA &= (~0x80); - } - - DO_WritePort( m_hCard, m_OutPortA, m_OutDataPortA ); -} - -HBRUSH CUtil7348Dlg::OnCtlColor(CDC* pDC, CWnd* pWnd, UINT nCtlColor) -{ - HBRUSH hbr = CDialog::OnCtlColor(pDC, pWnd, nCtlColor); - - // TODO: Change any attributes of the DC here - if ( pWnd->GetDlgCtrlID() == IDC_LABEL_INPUT2 ) - pDC->SetTextColor(RGB(255,0,0)); - - if ( pWnd->GetDlgCtrlID() == IDC_LABEL_OUTPUT ) - pDC->SetTextColor(RGB(255,0,0)); - - // TODO: Return a different brush if the default is not desired - return hbr; -} diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7348/Sdk7348/Util7348Dlg.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7348/Sdk7348/Util7348Dlg.h deleted file mode 100644 index d2664ea..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7348/Sdk7348/Util7348Dlg.h +++ /dev/null @@ -1,114 +0,0 @@ - -// Util7348Dlg.h : header file -// - -#include "Dask64.h" - -#pragma once - - -// CUtil7348Dlg dialog -class CUtil7348Dlg : public CDialog -{ -// Construction -public: - CUtil7348Dlg(I16 hCard, CWnd* pParent = NULL); // standard constructor - -// Dialog Data - enum { IDD = IDD_UTIL7348_DIALOG }; - - protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - - -// Implementation -protected: - HICON m_hIcon; - UINT_PTR m_nTimer; - I16 m_hCard; - U16 m_InPortA; - U16 m_OutPortA; - U16 m_InPortB; - U16 m_OutPortB; - U16 m_InPortC; - U16 m_OutPortC; - U32 m_InDataPortA; - U32 m_OutDataPortA; - U32 m_InDataPortB; - U32 m_OutDataPortB; - U32 m_InDataPortC; - U32 m_OutDataPortC; - -public: - CStatic m_Icon_PC0; - CStatic m_Icon_PC1; - CStatic m_Icon_PC2; - CStatic m_Icon_PC3; - CStatic m_Icon_PC4; - CStatic m_Icon_PC5; - CStatic m_Icon_PC6; - CStatic m_Icon_PC7; - CStatic m_Icon_PB0; - CStatic m_Icon_PB1; - CStatic m_Icon_PB2; - CStatic m_Icon_PB3; - CStatic m_Icon_PB4; - CStatic m_Icon_PB5; - CStatic m_Icon_PB6; - CStatic m_Icon_PB7; - CStatic m_Icon_PA0; - CStatic m_Icon_PA1; - CStatic m_Icon_PA2; - CStatic m_Icon_PA3; - CStatic m_Icon_PA4; - CStatic m_Icon_PA5; - CStatic m_Icon_PA6; - CStatic m_Icon_PA7; - CComboBox m_cbPortAIn; - CComboBox m_cbPortBIn; - CComboBox m_cbPortCIn; - CComboBox m_cbPortAOut; - CComboBox m_cbPortBOut; - CComboBox m_cbPortCOut; - - // Generated message map functions - virtual BOOL OnInitDialog(); - afx_msg void OnSysCommand(UINT nID, LPARAM lParam); - afx_msg void OnPaint(); - afx_msg HCURSOR OnQueryDragIcon(); - DECLARE_MESSAGE_MAP() - afx_msg void OnInPASelchange(); - afx_msg void OnOutPASelchange(); - afx_msg void OnInPBSelchange(); - afx_msg void OnOutPBSelchange(); - afx_msg void OnOutPCHSelchange(); - afx_msg void OnInPCLSelchange(); - afx_msg void OnOutPCLSelchange(); - afx_msg void OnDestroy(); - afx_msg void OnTimer(UINT_PTR nIDEvent); - afx_msg void OnOutputPC0(); - afx_msg void OnOutputPC1(); - afx_msg void OnOutputPC2(); - afx_msg void OnOutputPC3(); - afx_msg void OnOutputPC4(); - afx_msg void OnOutputPC5(); - afx_msg void OnOutputPC6(); - afx_msg void OnOutputPC7(); - afx_msg void OnOutputPB0(); - afx_msg void OnOutputPB1(); - afx_msg void OnOutputPB2(); - afx_msg void OnOutputPB3(); - afx_msg void OnOutputPB4(); - afx_msg void OnOutputPB5(); - afx_msg void OnOutputPB6(); - afx_msg void OnOutputPB7(); - afx_msg void OnOutputPA0(); - afx_msg void OnOutputPA1(); - afx_msg void OnOutputPA2(); - afx_msg void OnOutputPA3(); - afx_msg void OnOutputPA4(); - afx_msg void OnOutputPA5(); - afx_msg void OnOutputPA6(); - afx_msg void OnOutputPA7(); - afx_msg HBRUSH OnCtlColor(CDC* pDC, CWnd* pWnd, UINT nCtlColor); -}; diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7348/Sdk7348/Util7396.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7348/Sdk7348/Util7396.suo deleted file mode 100644 index 60f29ad..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7348/Sdk7348/Util7396.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7348/Sdk7348/res/Util7348.ico b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7348/Sdk7348/res/Util7348.ico deleted file mode 100644 index d56fbcd..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7348/Sdk7348/res/Util7348.ico and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7348/Sdk7348/res/Util7348.rc2 b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7348/Sdk7348/res/Util7348.rc2 deleted file mode 100644 index b2534b5..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7348/Sdk7348/res/Util7348.rc2 +++ /dev/null @@ -1,13 +0,0 @@ -// -// Util7396.RC2 - resources Microsoft Visual C++ does not edit directly -// - -#ifdef APSTUDIO_INVOKED -#error this file is not editable by Microsoft Visual C++ -#endif //APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// Add manually edited resources here... - -///////////////////////////////////////////////////////////////////////////// diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7348/Sdk7348/res/black.ico b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7348/Sdk7348/res/black.ico deleted file mode 100644 index b5c375f..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7348/Sdk7348/res/black.ico and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7348/Sdk7348/res/green.ico b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7348/Sdk7348/res/green.ico deleted file mode 100644 index d9a9fd3..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7348/Sdk7348/res/green.ico and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7348/Sdk7348/res/red.ico b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7348/Sdk7348/res/red.ico deleted file mode 100644 index 7644596..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7348/Sdk7348/res/red.ico and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7348/Sdk7348/resource.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7348/Sdk7348/resource.h deleted file mode 100644 index 6b400da..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7348/Sdk7348/resource.h +++ /dev/null @@ -1,84 +0,0 @@ -//{{NO_DEPENDENCIES}} -// Microsoft Visual C++ generated include file. -// Used by Util7348.rc -// -#define IDM_ABOUTBOX 0x0010 -#define IDD_ABOUTBOX 100 -#define IDS_ABOUTBOX 101 -#define IDD_UTIL7348_DIALOG 102 -#define IDR_MAINFRAME 128 -#define IDI_ICON_BLACK 129 -#define IDI_ICON_GREEN 130 -#define IDI_ICON_RED 131 -#define IDD_CARDID_DIALOG 133 -#define IDC_COMBO_CARDID 1000 -#define IDC_CHECK_PC0 1002 -#define IDC_CHECK_PC1 1003 -#define IDC_CHECK_PC2 1004 -#define IDC_ICON_PC0 1005 -#define IDC_ICON_PC1 1006 -#define IDC_ICON_PC2 1007 -#define IDC_ICON_PC3 1008 -#define IDC_ICON_PC4 1009 -#define IDC_ICON_PC5 1010 -#define IDC_ICON_PC6 1011 -#define IDC_ICON_PC7 1012 -#define IDC_ICON_PB0 1013 -#define IDC_ICON_PB1 1014 -#define IDC_STATIC_01 1014 -#define IDC_ICON_PB2 1015 -#define IDC_ICON_PB3 1016 -#define IDC_ICON_PB4 1017 -#define IDC_ICON_PB5 1018 -#define IDC_ICON_PB6 1019 -#define IDC_ICON_PB7 1020 -#define IDC_ICON_PA0 1021 -#define IDC_ICON_PA1 1022 -#define IDC_ICON_PA2 1023 -#define IDC_ICON_PA3 1024 -#define IDC_ICON_PA4 1025 -#define IDC_ICON_PA5 1026 -#define IDC_ICON_PA6 1027 -#define IDC_ICON_PA7 1028 -#define IDC_CHECK_PC3 1029 -#define IDC_CHECK_PC4 1030 -#define IDC_CHECK_PC5 1031 -#define IDC_CHECK_PC6 1032 -#define IDC_CHECK_PC7 1033 -#define IDC_CHECK_PB0 1034 -#define IDC_CHECK_PB1 1035 -#define IDC_CHECK_PB2 1036 -#define IDC_CHECK_PB3 1037 -#define IDC_CHECK_PB4 1038 -#define IDC_CHECK_PB5 1039 -#define IDC_CHECK_PB6 1040 -#define IDC_CHECK_PB7 1041 -#define IDC_CHECK_PA0 1042 -#define IDC_CHECK_PA1 1043 -#define IDC_CHECK_PA2 1044 -#define IDC_CHECK_PA3 1045 -#define IDC_CHECK_PA4 1046 -#define IDC_CHECK_PA5 1047 -#define IDC_CHECK_PA6 1048 -#define IDC_CHECK_PA7 1049 -#define IDC_COMBO_IN_PA 1050 -#define IDC_COMBO_OUT_PA 1051 -#define IDC_COMBO_IN_PCH 1052 -#define IDC_COMBO_OUT_PCH 1053 -#define IDC_COMBO_IN_PB 1054 -#define IDC_COMBO_OUT_PB 1055 -#define IDC_COMBO_IN_PCL 1056 -#define IDC_COMBO_OUT_PCL 1057 -#define IDC_LABEL_OUTPUT 1058 -#define IDC_LABEL_INPUT2 1059 - -// Next default values for new objects -// -#ifdef APSTUDIO_INVOKED -#ifndef APSTUDIO_READONLY_SYMBOLS -#define _APS_NEXT_RESOURCE_VALUE 135 -#define _APS_NEXT_COMMAND_VALUE 32771 -#define _APS_NEXT_CONTROL_VALUE 1000 -#define _APS_NEXT_SYMED_VALUE 101 -#endif -#endif diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7348/Sdk7348/stdafx.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7348/Sdk7348/stdafx.cpp deleted file mode 100644 index 1b9cca8..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7348/Sdk7348/stdafx.cpp +++ /dev/null @@ -1,8 +0,0 @@ - -// stdafx.cpp : source file that includes just the standard includes -// Util7348.pch will be the pre-compiled header -// stdafx.obj will contain the pre-compiled type information - -#include "stdafx.h" - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7348/Sdk7348/stdafx.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7348/Sdk7348/stdafx.h deleted file mode 100644 index 12123e2..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7348/Sdk7348/stdafx.h +++ /dev/null @@ -1,60 +0,0 @@ - -// stdafx.h : include file for standard system include files, -// or project specific include files that are used frequently, -// but are changed infrequently - -#pragma once - -#ifndef _SECURE_ATL -#define _SECURE_ATL 1 -#endif - -#ifndef VC_EXTRALEAN -#define VC_EXTRALEAN // Exclude rarely-used stuff from Windows headers -#endif - -#include "targetver.h" - -#define _ATL_CSTRING_EXPLICIT_CONSTRUCTORS // some CString constructors will be explicit - -// turns off MFC's hiding of some common and often safely ignored warning messages -#define _AFX_ALL_WARNINGS - -#include // MFC core and standard components -#include // MFC extensions - - -#include // MFC Automation classes - - - -#ifndef _AFX_NO_OLE_SUPPORT -#include // MFC support for Internet Explorer 4 Common Controls -#endif -#ifndef _AFX_NO_AFXCMN_SUPPORT -#include // MFC support for Windows Common Controls -#endif // _AFX_NO_AFXCMN_SUPPORT - -#include // MFC support for ribbons and control bars - - - - - - - - - -#ifdef _UNICODE -#if defined _M_IX86 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='x86' publicKeyToken='6595b64144ccf1df' language='*'\"") -#elif defined _M_IA64 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='ia64' publicKeyToken='6595b64144ccf1df' language='*'\"") -#elif defined _M_X64 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='amd64' publicKeyToken='6595b64144ccf1df' language='*'\"") -#else -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='*' publicKeyToken='6595b64144ccf1df' language='*'\"") -#endif -#endif - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7348/Sdk7348/targetver.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7348/Sdk7348/targetver.h deleted file mode 100644 index 11730d5..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7348/Sdk7348/targetver.h +++ /dev/null @@ -1,26 +0,0 @@ - -#pragma once - -// The following macros define the minimum required platform. The minimum required platform -// is the earliest version of Windows, Internet Explorer etc. that has the necessary features to run -// your application. The macros work by enabling all features available on platform versions up to and -// including the version specified. - -// Modify the following defines if you have to target a platform prior to the ones specified below. -// Refer to MSDN for the latest info on corresponding values for different platforms. -#ifndef WINVER // Specifies that the minimum required platform is Windows Vista. -#define WINVER 0x0600 // Change this to the appropriate value to target other versions of Windows. -#endif - -#ifndef _WIN32_WINNT // Specifies that the minimum required platform is Windows Vista. -#define _WIN32_WINNT 0x0600 // Change this to the appropriate value to target other versions of Windows. -#endif - -#ifndef _WIN32_WINDOWS // Specifies that the minimum required platform is Windows 98. -#define _WIN32_WINDOWS 0x0410 // Change this to the appropriate value to target Windows Me or later. -#endif - -#ifndef _WIN32_IE // Specifies that the minimum required platform is Internet Explorer 7.0. -#define _WIN32_IE 0x0700 // Change this to the appropriate value to target other versions of IE. -#endif - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350BurstHandShake/7200Wav.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350BurstHandShake/7200Wav.suo deleted file mode 100644 index bc032e1..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350BurstHandShake/7200Wav.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350BurstHandShake/7300bWav.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350BurstHandShake/7300bWav.suo deleted file mode 100644 index 90ac3f3..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350BurstHandShake/7300bWav.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350BurstHandShake/7350Wav.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350BurstHandShake/7350Wav.cpp deleted file mode 100644 index 066dfa9..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350BurstHandShake/7350Wav.cpp +++ /dev/null @@ -1,110 +0,0 @@ - -// 7350Wav.cpp : Defines the class behaviors for the application. -// - -#include "stdafx.h" -#include "7350Wav.h" -#include "7350WavDlg.h" -#include "CardIDDlg.h" - -#ifdef _DEBUG -#define new DEBUG_NEW -#endif - - -// C7350WavApp - -BEGIN_MESSAGE_MAP(C7350WavApp, CWinAppEx) - ON_COMMAND(ID_HELP, &CWinApp::OnHelp) -END_MESSAGE_MAP() - - -// C7350WavApp construction - -C7350WavApp::C7350WavApp() -{ - // TODO: add construction code here, - // Place all significant initialization in InitInstance -} - - -// The one and only C7350WavApp object - -C7350WavApp theApp; - - -// C7350WavApp initialization - -BOOL C7350WavApp::InitInstance() -{ - int nCardID = 0; - I16 hCard; - CString strTemp; - INT_PTR nResponse; - - // InitCommonControlsEx() is required on Windows XP if an application - // manifest specifies use of ComCtl32.dll version 6 or later to enable - // visual styles. Otherwise, any window creation will fail. - INITCOMMONCONTROLSEX InitCtrls; - InitCtrls.dwSize = sizeof(InitCtrls); - // Set this to include all the common control classes you want to use - // in your application. - InitCtrls.dwICC = ICC_WIN95_CLASSES; - InitCommonControlsEx(&InitCtrls); - - CWinAppEx::InitInstance(); - - AfxEnableControlContainer(); - - // Standard initialization - // If you are not using these features and wish to reduce the size - // of your final executable, you should remove from the following - // the specific initialization routines you do not need - // Change the registry key under which our settings are stored - // TODO: You should modify this string to be something appropriate - // such as the name of your company or organization - SetRegistryKey(_T("Local AppWizard-Generated Applications")); - - CCardIDDlg CardDlg( nCardID ); - - nResponse = CardDlg.DoModal(); - if (nResponse == IDOK) - { - nCardID = CardDlg.GetCardID(); - - if ((hCard=Register_Card(PCI_7350, nCardID)) < 0) - { - strTemp.Format( TEXT("Register_Card Error = %d"), hCard); - AfxMessageBox( strTemp ); - } - else - { - C7350WavDlg dlg(hCard); - m_pMainWnd = &dlg; - nResponse = dlg.DoModal(); - if (nResponse == IDOK) - { - // TODO: Place code here to handle when the dialog is - // dismissed with OK - } - else if (nResponse == IDCANCEL) - { - // TODO: Place code here to handle when the dialog is - // dismissed with Cancel - } - - if (hCard >= 0) Release_Card(hCard); - } - - } - else if (nResponse == IDCANCEL) - { - // TODO: Place code here to handle when the dialog is - // dismissed with Cancel - } - - - // Since the dialog has been closed, return FALSE so that we exit the - // application, rather than start the application's message pump. - return FALSE; -} diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350BurstHandShake/7350Wav.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350BurstHandShake/7350Wav.h deleted file mode 100644 index c651b47..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350BurstHandShake/7350Wav.h +++ /dev/null @@ -1,32 +0,0 @@ - -// 7350Wav.h : main header file for the PROJECT_NAME application -// - -#pragma once - -#ifndef __AFXWIN_H__ - #error "include 'stdafx.h' before including this file for PCH" -#endif - -#include "resource.h" // main symbols - - -// C7350WavApp: -// See 7350Wav.cpp for the implementation of this class -// - -class C7350WavApp : public CWinAppEx -{ -public: - C7350WavApp(); - -// Overrides - public: - virtual BOOL InitInstance(); - -// Implementation - - DECLARE_MESSAGE_MAP() -}; - -extern C7350WavApp theApp; \ No newline at end of file diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350BurstHandShake/7350Wav.rc b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350BurstHandShake/7350Wav.rc deleted file mode 100644 index ef3003b..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350BurstHandShake/7350Wav.rc +++ /dev/null @@ -1,282 +0,0 @@ -// Microsoft Visual C++ generated resource script. -// -#include "resource.h" - -#define APSTUDIO_READONLY_SYMBOLS -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 2 resource. -// -#ifndef APSTUDIO_INVOKED -#include "targetver.h" -#endif -#include "afxres.h" - -///////////////////////////////////////////////////////////////////////////// -#undef APSTUDIO_READONLY_SYMBOLS - -///////////////////////////////////////////////////////////////////////////// -// Chinese (Taiwan) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_CHT) -#ifdef _WIN32 -LANGUAGE LANG_CHINESE, SUBLANG_CHINESE_TRADITIONAL -#pragma code_page(950) -#endif //_WIN32 - -#ifdef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// TEXTINCLUDE -// - -1 TEXTINCLUDE -BEGIN - "resource.h\0" -END - -2 TEXTINCLUDE -BEGIN - "#ifndef APSTUDIO_INVOKED\r\n" - "#include ""targetver.h""\r\n" - "#endif\r\n" - "#include ""afxres.h""\r\n" - "\0" -END - -3 TEXTINCLUDE -BEGIN - "#define _AFX_NO_SPLITTER_RESOURCES\r\n" - "#define _AFX_NO_OLE_RESOURCES\r\n" - "#define _AFX_NO_TRACKER_RESOURCES\r\n" - "#define _AFX_NO_PROPERTY_RESOURCES\r\n" - "\r\n" - "#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)\r\n" - "LANGUAGE 9, 1\r\n" - "#pragma code_page(1252)\r\n" - "#include ""res\\My7350Wav.rc2"" // non-Microsoft Visual C++ edited resources\r\n" - "#include ""afxres.rc"" // Standard components\r\n" - "#endif\r\n" - "\0" -END - -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// Icon -// - -// Icon with lowest ID value placed first to ensure application icon -// remains consistent on all systems. -IDR_MAINFRAME ICON "res\\7350Wav.ico" -#endif // Chinese (Taiwan) resources -///////////////////////////////////////////////////////////////////////////// - - -///////////////////////////////////////////////////////////////////////////// -// English (U.S.) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -#ifdef _WIN32 -LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US -#pragma code_page(1252) -#endif //_WIN32 - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog -// - -IDD_ABOUTBOX DIALOGEX 0, 0, 170, 62 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "About 7350Wav" -FONT 8, "MS Shell Dlg", 0, 0, 0x1 -BEGIN - ICON IDR_MAINFRAME,IDC_STATIC,14,14,21,20 - LTEXT "7350Wav, Version 1.0",IDC_STATIC,42,14,114,8,SS_NOPREFIX - LTEXT "Copyright (C) 2010",IDC_STATIC,42,26,114,8 - DEFPUSHBUTTON "OK",IDOK,113,41,50,14,WS_GROUP -END - -IDD_MY7350Wav_DIALOG DIALOGEX 0, 0, 348, 268 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU -EXSTYLE WS_EX_APPWINDOW -CAPTION "PCI-7350 DMA" -FONT 8, "MS Shell Dlg", 0, 0, 0x1 -BEGIN - GROUPBOX "",IDC_STATIC_DRAW,46,80,293,138,NOT WS_VISIBLE - EDITTEXT IDC_EDIT_SAMPLE,206,226,51,12,ES_AUTOHSCROLL - LTEXT "DI Samples :",IDC_STATIC,157,227,45,9 - PUSHBUTTON "Start",IDC_BT_START,291,224,48,17 - PUSHBUTTON "Stop",IDC_BT_STOP,291,243,48,17 - LTEXT "The sample performs DIO Handshake operation.\nDIO port A/C are configured as the DO port and\nDIO port B/D are configured as the DI port.\n",IDC_STATIC,16,6,158,26 - LTEXT "AFI2 and AFI4 are set to be as DO_REQ and DO_ACK while AFI3 and AFI5 are set to be as DI_REQ and DI_ACK.\nAnd DO is set to enable software trigger out (AFI0) to be as the DI_TRIG source (AFI1).",IDC_STATIC,14,38,198,34 - LTEXT "Please connect AFI0 <---> AFI1\n AFI2 <---> AFI3\n AFI4 <---> AFI5\n AFI6 <---> AFI7",IDC_STATIC,210,8,124,51 -END - -IDD_CARDID_DIALOG DIALOGEX 0, 0, 170, 89 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "Card ID" -FONT 8, "MS Shell Dlg", 400, 0, 0x1 -BEGIN - COMBOBOX IDC_COMBO_CARDID,75,17,71,126,CBS_DROPDOWN | WS_VSCROLL | WS_TABSTOP - LTEXT "Card Number",IDC_STATIC_01,21,18,46,12 - PUSHBUTTON "OK",IDOK,22,50,58,19 - PUSHBUTTON "CANCEL",IDCANCEL,86,50,58,19 -END - - -///////////////////////////////////////////////////////////////////////////// -// -// Version -// - -VS_VERSION_INFO VERSIONINFO - FILEVERSION 1,0,0,1 - PRODUCTVERSION 1,0,0,1 - FILEFLAGSMASK 0x3fL -#ifdef _DEBUG - FILEFLAGS 0x1L -#else - FILEFLAGS 0x0L -#endif - FILEOS 0x4L - FILETYPE 0x1L - FILESUBTYPE 0x0L -BEGIN - BLOCK "StringFileInfo" - BEGIN - BLOCK "040904e4" - BEGIN - VALUE "CompanyName", "TODO: " - VALUE "FileDescription", "TODO: " - VALUE "FileVersion", "1.0.0.1" - VALUE "InternalName", "7350Wav.exe" - VALUE "LegalCopyright", "TODO: (c) . All rights reserved." - VALUE "OriginalFilename", "7350Wav.exe" - VALUE "ProductName", "TODO: " - VALUE "ProductVersion", "1.0.0.1" - END - END - BLOCK "VarFileInfo" - BEGIN - VALUE "Translation", 0x409, 1252 - END -END - - -///////////////////////////////////////////////////////////////////////////// -// -// DESIGNINFO -// - -#ifdef APSTUDIO_INVOKED -GUIDELINES DESIGNINFO -BEGIN - IDD_ABOUTBOX, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 163 - TOPMARGIN, 7 - BOTTOMMARGIN, 55 - END - - IDD_MY7350Wav_DIALOG, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 341 - TOPMARGIN, 7 - BOTTOMMARGIN, 261 - END - - IDD_CARDID_DIALOG, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 163 - TOPMARGIN, 7 - BOTTOMMARGIN, 82 - END -END -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog Info -// - -IDD_CARDID_DIALOG DLGINIT -BEGIN - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0030, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0031, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0032, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0033, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0034, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0035, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0036, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0037, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0038, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0039, - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3031, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3131, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3231, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3331, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3431, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3531, "\000" - 0 -END - - -///////////////////////////////////////////////////////////////////////////// -// -// String Table -// - -STRINGTABLE -BEGIN - IDS_ABOUTBOX "&About 7350Wav..." -END - -#endif // English (U.S.) resources -///////////////////////////////////////////////////////////////////////////// - - - -#ifndef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 3 resource. -// -#define _AFX_NO_SPLITTER_RESOURCES -#define _AFX_NO_OLE_RESOURCES -#define _AFX_NO_TRACKER_RESOURCES -#define _AFX_NO_PROPERTY_RESOURCES - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -LANGUAGE 9, 1 -#pragma code_page(1252) -#include "res\My7350Wav.rc2" // non-Microsoft Visual C++ edited resources -#include "afxres.rc" // Standard components -#endif - -///////////////////////////////////////////////////////////////////////////// -#endif // not APSTUDIO_INVOKED - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350BurstHandShake/7350Wav.sln b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350BurstHandShake/7350Wav.sln deleted file mode 100644 index b727fc7..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350BurstHandShake/7350Wav.sln +++ /dev/null @@ -1,20 +0,0 @@ - -Microsoft Visual Studio Solution File, Format Version 10.00 -# Visual Studio 2008 -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "7350Wav", "7350Wav.vcproj", "{EBDB6610-7CE5-413C-A150-121068BFDB22}" -EndProject -Global - GlobalSection(SolutionConfigurationPlatforms) = preSolution - Debug|x64 = Debug|x64 - Release|x64 = Release|x64 - EndGlobalSection - GlobalSection(ProjectConfigurationPlatforms) = postSolution - {EBDB6610-7CE5-413C-A150-121068BFDB22}.Debug|x64.ActiveCfg = Debug|x64 - {EBDB6610-7CE5-413C-A150-121068BFDB22}.Debug|x64.Build.0 = Debug|x64 - {EBDB6610-7CE5-413C-A150-121068BFDB22}.Release|x64.ActiveCfg = Release|x64 - {EBDB6610-7CE5-413C-A150-121068BFDB22}.Release|x64.Build.0 = Release|x64 - EndGlobalSection - GlobalSection(SolutionProperties) = preSolution - HideSolutionNode = FALSE - EndGlobalSection -EndGlobal diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350BurstHandShake/7350Wav.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350BurstHandShake/7350Wav.suo deleted file mode 100644 index 439ab87..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350BurstHandShake/7350Wav.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350BurstHandShake/7350Wav.vcproj b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350BurstHandShake/7350Wav.vcproj deleted file mode 100644 index cdbf33c..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350BurstHandShake/7350Wav.vcproj +++ /dev/null @@ -1,286 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350BurstHandShake/7350WavDlg.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350BurstHandShake/7350WavDlg.cpp deleted file mode 100644 index 12fae0e..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350BurstHandShake/7350WavDlg.cpp +++ /dev/null @@ -1,624 +0,0 @@ - -// 7350WavDlg.cpp : implementation file -// - -#include "stdafx.h" -#include "7350Wav.h" -#include "7350WavDlg.h" -#include "math.h" - -#ifndef M_PI -#define M_PI 3.14159265359 -#endif - -#define MAX_SIZE 1024000 //in words - -#ifdef _DEBUG -#define new DEBUG_NEW -#endif - -CRect plotRect; - -#define PCI7350_DIO_STATUS_TIMER 1 - -U16 gInBuf[MAX_SIZE], gOutBuf[MAX_SIZE]; - -// CAboutDlg dialog used for App About - -class CAboutDlg : public CDialog -{ -public: - CAboutDlg(); - -// Dialog Data - enum { IDD = IDD_ABOUTBOX }; - - protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - -// Implementation -protected: - DECLARE_MESSAGE_MAP() -}; - -CAboutDlg::CAboutDlg() : CDialog(CAboutDlg::IDD) -{ -} - -void CAboutDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); -} - -BEGIN_MESSAGE_MAP(CAboutDlg, CDialog) -END_MESSAGE_MAP() - - -// C7350WavDlg dialog - - -C7350WavDlg::C7350WavDlg(I16 hCard, CWnd* pParent /*=NULL*/) - : CDialog(C7350WavDlg::IDD, pParent) -{ - m_hIcon = AfxGetApp()->LoadIcon(IDR_MAINFRAME); - - m_hCard = hCard; - - OnBrush = OffBrush = NULL; - - n_PlotWidth = -1; - n_PlotHeight = -1; - - min_val = 0x00; - max_val = 0xFFFF; - - m_dwDISamples = 65536; - - m_nTimer = -1; - -} - -void C7350WavDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); -} - -BEGIN_MESSAGE_MAP(C7350WavDlg, CDialog) - ON_WM_SYSCOMMAND() - ON_WM_PAINT() - ON_WM_QUERYDRAGICON() - //}}AFX_MSG_MAP - ON_WM_DESTROY() - ON_BN_CLICKED(IDC_BT_START, &C7350WavDlg::OnStart) - ON_BN_CLICKED(IDC_BT_STOP, &C7350WavDlg::OnStop) - ON_WM_TIMER() -// ON_WM_VSCROLL() -END_MESSAGE_MAP() - - -// C7350WavDlg message handlers - -BOOL C7350WavDlg::OnInitDialog() -{ - I16 err; - int i; - CString strTemp; - - CDialog::OnInitDialog(); - - // Add "About..." menu item to system menu. - - // IDM_ABOUTBOX must be in the system command range. - ASSERT((IDM_ABOUTBOX & 0xFFF0) == IDM_ABOUTBOX); - ASSERT(IDM_ABOUTBOX < 0xF000); - - CMenu* pSysMenu = GetSystemMenu(FALSE); - if (pSysMenu != NULL) - { - BOOL bNameValid; - CString strAboutMenu; - bNameValid = strAboutMenu.LoadString(IDS_ABOUTBOX); - ASSERT(bNameValid); - if (!strAboutMenu.IsEmpty()) - { - pSysMenu->AppendMenu(MF_SEPARATOR); - pSysMenu->AppendMenu(MF_STRING, IDM_ABOUTBOX, strAboutMenu); - } - } - - // Set the icon for this dialog. The framework does this automatically - // when the application's main window is not a dialog - SetIcon(m_hIcon, TRUE); // Set big icon - SetIcon(m_hIcon, FALSE); // Set small icon - - // TODO: Add extra initialization here - x_divider = 5; y_divider = 2; - - OnBrush = CreateSolidBrush( RGB(255,0,0) ); - OffBrush = CreateSolidBrush( RGB(125,0,0) ); - - RedPen.CreatePen( PS_SOLID, 1, RGB(255,0,0)); - GreenPen.CreatePen( PS_SOLID, 1, RGB(0,255,0)); - - if( n_PlotWidth == -1 && n_PlotHeight == -1 ) - { - ((CWnd*)GetDlgItem(IDC_STATIC_DRAW))->GetWindowRect(&plotRect); - ScreenToClient(&plotRect); - - n_PlotWidth = min( plotRect.Width(), 512); - n_PlotHeight = plotRect.Height() - 10; - } - - - // Set the default DI Sample - SetDlgItemInt( IDC_EDIT_SAMPLE, (UINT)(m_dwDISamples) ); - - err = DIO_VoltLevelConfig(m_hCard, P7350_PortDIO, VoltLevel_3R3); - if( err!=NoError ) - { - strTemp.Format( TEXT("DIO_VoltLevelConfig(P7350_PortDIO) Error = %d"), err); - AfxMessageBox( strTemp ); - return TRUE; - } - - err = DIO_VoltLevelConfig(m_hCard, P7350_PortAFI, VoltLevel_3R3); - if(err!=NoError) - { - strTemp.Format( TEXT("DIO_VoltLevelConfig(P7350_PortAFI) Error = %d"), err); - AfxMessageBox( strTemp ); - return TRUE; - } - - /* - * Set Input or Output for DIO Port - */ - err = DIO_PortConfig(m_hCard, P7350_DIO_A, INPUT_PORT); - if( err!=NoError ) - { - strTemp.Format( TEXT("DIO_PortConfig(P7350_DIO_A) Error = %d"), err); - AfxMessageBox( strTemp ); - return TRUE; - } - - err = DIO_PortConfig(m_hCard, P7350_DIO_B, OUTPUT_PORT); - if( err!=NoError ) - { - strTemp.Format( TEXT("DIO_PortConfig(P7350_DIO_B) Error = %d"), err); - AfxMessageBox( strTemp ); - return TRUE; - } - err = DIO_PortConfig(m_hCard, P7350_DIO_C, INPUT_PORT); - if( err!=NoError ) - { - strTemp.Format( TEXT("DIO_PortConfig(P7350_DIO_C) Error = %d"), err); - AfxMessageBox( strTemp ); - return TRUE; - } - err = DIO_PortConfig(m_hCard, P7350_DIO_D, OUTPUT_PORT); - if( err!=NoError ) - { - strTemp.Format( TEXT("DIO_PortConfig(P7350_DIO_D) Error = %d"), err); - AfxMessageBox( strTemp ); - return TRUE; - } - - - - /* - * Set DO Configurations - */ - err = DO_7350_Config(m_hCard, 16, P7350_BurstHandShake, P7350_WAIT_SOFTTRG, P7350_IntSampledCLK|P7350_EnExpSampledCLK); - if( err!=NoError ) - { - strTemp.Format( TEXT("DO_7350_Config() Error = %d"), err); - AfxMessageBox( strTemp ); - return TRUE; - } - - - /* - * Set DI Configurations - */ - err = DI_7350_Config(m_hCard, 16, P7350_BurstHandShake, P7350_WAIT_EXTTRG, P7350_ExtSampledCLK); - if( err!=NoError ) - { - strTemp.Format( TEXT("DI_7350_Config() Error = %d"), err); - AfxMessageBox( strTemp ); - return TRUE; - } - - /* - * Set DO Trigger and HandShake Configurations - */ - err = DO_7350_TrigHSConfig( m_hCard, - P7350_EnSoftTrigOut/*TrigConfig*/, - 0/*DO_IPOL*/, - P7350_AFI_2/*DO_REQSrc*/, - P7350_AFI_4/*DO_ACKSrc*/, - 0/*DO_TRIGSrc*/, - 0/*StartTrigSrc*/, - 0/*PauseTrigSrc*/, - P7350_AFI_0/*SoftTrigOutSrc*/, - 10/*SoftTrigOutLength*/, - 1/*TrigCount*/); - if( err!=NoError ) - { - strTemp.Format( TEXT("DO_7350_TrigHSConfig() Error = %d"), err); - AfxMessageBox( strTemp ); - return TRUE; - } - - /* - * Set DI Trigger and HandShake Configurations - */ - err = DI_7350_TrigHSConfig( m_hCard, - 0/*TrigConfig*/, - 0/*DI_IPOL*/, - P7350_AFI_3/*DI_REQSrc*/, - P7350_AFI_5/*DI_ACKSrc*/, - P7350_AFI_1/*DI_TRIGSrc*/, - 0/*StartTrigSrc*/, - 0/*PauseTrigSrc*/, - 0/*SoftTrigOutSrc*/, - 0/*SoftTrigOutLength*/, - 1/*TrigCount*/); - if( err!=NoError ) - { - strTemp.Format( TEXT("DI_7350_TrigHSConfig() Error = %d"), err); - AfxMessageBox( strTemp ); - return TRUE; - } - - err = DI_7350_ExtSampCLKConfig( m_hCard, - P7350_AFI_7 /*DICLK_Src*/, - P7350_EnDDA|P7350_DDA_Lead /*DICLK_DDAMode*/, - P7350_DDA_1R04NS /*DICLK_DPAMode*/, - P7350_EnDPA /*DICLK_DDAVlaue*/, - P7350_DPA_180DG /*DICLK_DPAVlaue*/ - ); - if( err!=NoError ) - { - strTemp.Format( TEXT("DI_7350_ExtSampCLKConfig() Error = %d"), err); - AfxMessageBox( strTemp ); - return TRUE; - } - - /* - * Set DO Export Clock - */ - err = DO_7350_ExportSampCLKConfig( m_hCard, - P7350_AFI_6 /*o_DOCLK_Src*/, - P7350_EnDPA /*o_DOCLK_DPAMode*/, - P7350_DPA_0DG /*o_DOCLK_DPAVlaue*/ - ); - - if( err!=NoError ) - { - strTemp.Format( TEXT("DO_7350_ExportSampCLKConfig() Error = %d"), err); - AfxMessageBox( strTemp ); - return TRUE; - } - - - for (i=0; i(dc.GetSafeHdc()), 0); - - // Center icon in client rectangle - int cxIcon = GetSystemMetrics(SM_CXICON); - int cyIcon = GetSystemMetrics(SM_CYICON); - CRect rect; - GetClientRect(&rect); - int x = (rect.Width() - cxIcon + 1) / 2; - int y = (rect.Height() - cyIcon + 1) / 2; - - // Draw the icon - dc.DrawIcon(x, y, m_hIcon); - } - else - { - redraw_display_area(); - CDialog::OnPaint(); - } -} - -// The system calls this function to obtain the cursor to display while the user drags -// the minimized window. -HCURSOR C7350WavDlg::OnQueryDragIcon() -{ - return static_cast(m_hIcon); -} - - -void C7350WavDlg::OnDestroy() -{ - U32 count; - - CDialog::OnDestroy(); - - // TODO: Add your message handler code here - if( OnBrush != NULL ) - ::DeleteObject( OnBrush ); - - if( OffBrush != NULL ) - ::DeleteObject( OffBrush ); - - RedPen.DeleteObject(); - GreenPen.DeleteObject(); - - if( m_nTimer != -1 ) - { - KillTimer( m_nTimer ); - m_nTimer = -1; - } - - DI_AsyncClear( m_hCard, &count ); -} - -void C7350WavDlg::OnStart() -{ - // TODO: Add your control notification handler code here - U32 dwDISamples; - I16 err; - CString strMsg; - - dwDISamples = GetDlgItemInt( IDC_EDIT_SAMPLE ); - - if( dwDISamples > MAX_SIZE) - { - m_dwDISamples = MAX_SIZE; //at most 1000K samples DMA - AfxMessageBox(TEXT("This sample supports at most 1000K words DMA transfer\nOnly perform 100K words DMA transfer.")); - } - else if( (dwDISamples %4) != 0 ) - { - AfxMessageBox(TEXT("Misalignment error, the input buffer must be 32-bit alignment ")); - } - else - { - m_dwDISamples = dwDISamples; - } - - err = DO_ContWritePort(m_hCard, 0, gOutBuf, m_dwDISamples, 1, 50000000, ASYNCH_OP); - if(err!=NoError) - { - strMsg.Format(TEXT("DO_ContWritePort Error = %d"), err); - AfxMessageBox( strMsg ); - return; - } - - err = DI_ContReadPort (m_hCard, 0, gInBuf, m_dwDISamples, 0/*DISampleRate*/, ASYNCH_OP); - if (err < 0) - { - strMsg.Format(TEXT("DI_ContReadPort Error = %d"), err); - AfxMessageBox( strMsg ); - return; - } - - - /* - * Set Soft Trigger to start DO and then DI operations - */ - err = DO_7350_SoftTriggerGen(m_hCard); - if(err!=NoError) - { - strMsg.Format(TEXT("DO_7350_SoftTriggerGen Error = %d"), err); - AfxMessageBox( strMsg ); - return; - } - - - // clear display area - redraw_display_area(); - - if( m_nTimer == -1 ) - { - m_nTimer = SetTimer( PCI7350_DIO_STATUS_TIMER, 50, NULL ); - } - - GetDlgItem( IDC_BT_START )->EnableWindow( FALSE ); - GetDlgItem( IDC_BT_STOP )->EnableWindow( TRUE ); - -} - -void C7350WavDlg::OnStop() -{ - // TODO: Add your control notification handler code here - U32 count; - - DI_AsyncClear(m_hCard, &count); - DO_AsyncClear(m_hCard, &count); - - GetDlgItem( IDC_BT_START )->EnableWindow( TRUE ); - GetDlgItem( IDC_BT_STOP )->EnableWindow( FALSE); -} - -void C7350WavDlg::OnTimer(UINT_PTR nIDEvent) -{ - // TODO: Add your message handler code here and/or call default - BOOLEAN bDIStopped, bDOStopped; - U32 count; - I16 err; - - - err = DO_AsyncCheck( m_hCard, &bDOStopped, &count ); - if( bDOStopped ) - { - // reset the Button status - err = DO_AsyncClear( m_hCard, &count ); - } - - err = DI_AsyncCheck( m_hCard, &bDIStopped, &count ); - if( bDIStopped ) - { - // stop timer - KillTimer( m_nTimer ); - m_nTimer = -1; - - // reset the Button status - GetDlgItem( IDC_BT_START )->EnableWindow( TRUE ); - GetDlgItem( IDC_BT_STOP )->EnableWindow( FALSE ); - - err = DI_AsyncClear( m_hCard, &count ); - err = DO_AsyncClear( m_hCard, &count ); - - display_buffer_data(gInBuf); - } - - CDialog::OnTimer(nIDEvent); -} - - -void C7350WavDlg::display_buffer_data(U16* pBuf) -{ - CClientDC dc_plot(this); - int nDraw_Bottom; - - int newY, oldY = -1; - int newX, oldX = -1; - U32 index, di_data; - - nDraw_Bottom = ( plotRect.bottom - 5 ); - dc_plot.SelectObject( &GreenPen ); - - for( index=0; index // MFC core and standard components -#include // MFC extensions - - -#include // MFC Automation classes - - - -#ifndef _AFX_NO_OLE_SUPPORT -#include // MFC support for Internet Explorer 4 Common Controls -#endif -#ifndef _AFX_NO_AFXCMN_SUPPORT -#include // MFC support for Windows Common Controls -#endif // _AFX_NO_AFXCMN_SUPPORT - -#include // MFC support for ribbons and control bars - - - - - - - - - -#ifdef _UNICODE -#if defined _M_IX86 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='x86' publicKeyToken='6595b64144ccf1df' language='*'\"") -#elif defined _M_IA64 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='ia64' publicKeyToken='6595b64144ccf1df' language='*'\"") -#elif defined _M_X64 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='amd64' publicKeyToken='6595b64144ccf1df' language='*'\"") -#else -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='*' publicKeyToken='6595b64144ccf1df' language='*'\"") -#endif -#endif - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350BurstHandShake/targetver.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350BurstHandShake/targetver.h deleted file mode 100644 index 11730d5..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350BurstHandShake/targetver.h +++ /dev/null @@ -1,26 +0,0 @@ - -#pragma once - -// The following macros define the minimum required platform. The minimum required platform -// is the earliest version of Windows, Internet Explorer etc. that has the necessary features to run -// your application. The macros work by enabling all features available on platform versions up to and -// including the version specified. - -// Modify the following defines if you have to target a platform prior to the ones specified below. -// Refer to MSDN for the latest info on corresponding values for different platforms. -#ifndef WINVER // Specifies that the minimum required platform is Windows Vista. -#define WINVER 0x0600 // Change this to the appropriate value to target other versions of Windows. -#endif - -#ifndef _WIN32_WINNT // Specifies that the minimum required platform is Windows Vista. -#define _WIN32_WINNT 0x0600 // Change this to the appropriate value to target other versions of Windows. -#endif - -#ifndef _WIN32_WINDOWS // Specifies that the minimum required platform is Windows 98. -#define _WIN32_WINDOWS 0x0410 // Change this to the appropriate value to target Windows Me or later. -#endif - -#ifndef _WIN32_IE // Specifies that the minimum required platform is Internet Explorer 7.0. -#define _WIN32_IE 0x0700 // Change this to the appropriate value to target other versions of IE. -#endif - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350DIOHandShake/7200Wav.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350DIOHandShake/7200Wav.suo deleted file mode 100644 index bc032e1..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350DIOHandShake/7200Wav.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350DIOHandShake/7300bWav.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350DIOHandShake/7300bWav.suo deleted file mode 100644 index 90ac3f3..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350DIOHandShake/7300bWav.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350DIOHandShake/7350Wav.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350DIOHandShake/7350Wav.cpp deleted file mode 100644 index 066dfa9..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350DIOHandShake/7350Wav.cpp +++ /dev/null @@ -1,110 +0,0 @@ - -// 7350Wav.cpp : Defines the class behaviors for the application. -// - -#include "stdafx.h" -#include "7350Wav.h" -#include "7350WavDlg.h" -#include "CardIDDlg.h" - -#ifdef _DEBUG -#define new DEBUG_NEW -#endif - - -// C7350WavApp - -BEGIN_MESSAGE_MAP(C7350WavApp, CWinAppEx) - ON_COMMAND(ID_HELP, &CWinApp::OnHelp) -END_MESSAGE_MAP() - - -// C7350WavApp construction - -C7350WavApp::C7350WavApp() -{ - // TODO: add construction code here, - // Place all significant initialization in InitInstance -} - - -// The one and only C7350WavApp object - -C7350WavApp theApp; - - -// C7350WavApp initialization - -BOOL C7350WavApp::InitInstance() -{ - int nCardID = 0; - I16 hCard; - CString strTemp; - INT_PTR nResponse; - - // InitCommonControlsEx() is required on Windows XP if an application - // manifest specifies use of ComCtl32.dll version 6 or later to enable - // visual styles. Otherwise, any window creation will fail. - INITCOMMONCONTROLSEX InitCtrls; - InitCtrls.dwSize = sizeof(InitCtrls); - // Set this to include all the common control classes you want to use - // in your application. - InitCtrls.dwICC = ICC_WIN95_CLASSES; - InitCommonControlsEx(&InitCtrls); - - CWinAppEx::InitInstance(); - - AfxEnableControlContainer(); - - // Standard initialization - // If you are not using these features and wish to reduce the size - // of your final executable, you should remove from the following - // the specific initialization routines you do not need - // Change the registry key under which our settings are stored - // TODO: You should modify this string to be something appropriate - // such as the name of your company or organization - SetRegistryKey(_T("Local AppWizard-Generated Applications")); - - CCardIDDlg CardDlg( nCardID ); - - nResponse = CardDlg.DoModal(); - if (nResponse == IDOK) - { - nCardID = CardDlg.GetCardID(); - - if ((hCard=Register_Card(PCI_7350, nCardID)) < 0) - { - strTemp.Format( TEXT("Register_Card Error = %d"), hCard); - AfxMessageBox( strTemp ); - } - else - { - C7350WavDlg dlg(hCard); - m_pMainWnd = &dlg; - nResponse = dlg.DoModal(); - if (nResponse == IDOK) - { - // TODO: Place code here to handle when the dialog is - // dismissed with OK - } - else if (nResponse == IDCANCEL) - { - // TODO: Place code here to handle when the dialog is - // dismissed with Cancel - } - - if (hCard >= 0) Release_Card(hCard); - } - - } - else if (nResponse == IDCANCEL) - { - // TODO: Place code here to handle when the dialog is - // dismissed with Cancel - } - - - // Since the dialog has been closed, return FALSE so that we exit the - // application, rather than start the application's message pump. - return FALSE; -} diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350DIOHandShake/7350Wav.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350DIOHandShake/7350Wav.h deleted file mode 100644 index c651b47..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350DIOHandShake/7350Wav.h +++ /dev/null @@ -1,32 +0,0 @@ - -// 7350Wav.h : main header file for the PROJECT_NAME application -// - -#pragma once - -#ifndef __AFXWIN_H__ - #error "include 'stdafx.h' before including this file for PCH" -#endif - -#include "resource.h" // main symbols - - -// C7350WavApp: -// See 7350Wav.cpp for the implementation of this class -// - -class C7350WavApp : public CWinAppEx -{ -public: - C7350WavApp(); - -// Overrides - public: - virtual BOOL InitInstance(); - -// Implementation - - DECLARE_MESSAGE_MAP() -}; - -extern C7350WavApp theApp; \ No newline at end of file diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350DIOHandShake/7350Wav.rc b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350DIOHandShake/7350Wav.rc deleted file mode 100644 index c053c03..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350DIOHandShake/7350Wav.rc +++ /dev/null @@ -1,282 +0,0 @@ -// Microsoft Visual C++ generated resource script. -// -#include "resource.h" - -#define APSTUDIO_READONLY_SYMBOLS -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 2 resource. -// -#ifndef APSTUDIO_INVOKED -#include "targetver.h" -#endif -#include "afxres.h" - -///////////////////////////////////////////////////////////////////////////// -#undef APSTUDIO_READONLY_SYMBOLS - -///////////////////////////////////////////////////////////////////////////// -// Chinese (Taiwan) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_CHT) -#ifdef _WIN32 -LANGUAGE LANG_CHINESE, SUBLANG_CHINESE_TRADITIONAL -#pragma code_page(950) -#endif //_WIN32 - -#ifdef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// TEXTINCLUDE -// - -1 TEXTINCLUDE -BEGIN - "resource.h\0" -END - -2 TEXTINCLUDE -BEGIN - "#ifndef APSTUDIO_INVOKED\r\n" - "#include ""targetver.h""\r\n" - "#endif\r\n" - "#include ""afxres.h""\r\n" - "\0" -END - -3 TEXTINCLUDE -BEGIN - "#define _AFX_NO_SPLITTER_RESOURCES\r\n" - "#define _AFX_NO_OLE_RESOURCES\r\n" - "#define _AFX_NO_TRACKER_RESOURCES\r\n" - "#define _AFX_NO_PROPERTY_RESOURCES\r\n" - "\r\n" - "#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)\r\n" - "LANGUAGE 9, 1\r\n" - "#pragma code_page(1252)\r\n" - "#include ""res\\My7350Wav.rc2"" // non-Microsoft Visual C++ edited resources\r\n" - "#include ""afxres.rc"" // Standard components\r\n" - "#endif\r\n" - "\0" -END - -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// Icon -// - -// Icon with lowest ID value placed first to ensure application icon -// remains consistent on all systems. -IDR_MAINFRAME ICON "res\\7350Wav.ico" -#endif // Chinese (Taiwan) resources -///////////////////////////////////////////////////////////////////////////// - - -///////////////////////////////////////////////////////////////////////////// -// English (U.S.) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -#ifdef _WIN32 -LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US -#pragma code_page(1252) -#endif //_WIN32 - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog -// - -IDD_ABOUTBOX DIALOGEX 0, 0, 170, 62 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "About 7350Wav" -FONT 8, "MS Shell Dlg", 0, 0, 0x1 -BEGIN - ICON IDR_MAINFRAME,IDC_STATIC,14,14,21,20 - LTEXT "7350Wav, Version 1.0",IDC_STATIC,42,14,114,8,SS_NOPREFIX - LTEXT "Copyright (C) 2010",IDC_STATIC,42,26,114,8 - DEFPUSHBUTTON "OK",IDOK,113,41,50,14,WS_GROUP -END - -IDD_MY7350Wav_DIALOG DIALOGEX 0, 0, 348, 262 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU -EXSTYLE WS_EX_APPWINDOW -CAPTION "PCI-7350 DMA" -FONT 8, "MS Shell Dlg", 0, 0, 0x1 -BEGIN - GROUPBOX "",IDC_STATIC_DRAW,46,71,293,138,NOT WS_VISIBLE - EDITTEXT IDC_EDIT_SAMPLE,206,217,51,12,ES_AUTOHSCROLL - LTEXT "DI Samples :",IDC_STATIC,157,218,45,9 - PUSHBUTTON "Start",IDC_BT_START,291,215,48,17 - PUSHBUTTON "Stop",IDC_BT_STOP,291,234,48,17 - LTEXT "The sample performs DIO Handshake operation.\nDIO port A/C are configured as the DO port and\nDIO port B/D are configured as the DI port.\n",IDC_STATIC,16,6,158,26 - LTEXT "AFI2 and AFI4 are set to be as DO_REQ and DO_ACK while AFI3 and AFI5 are set to be as DI_REQ and DI_ACK.\nAnd DO is set to enable software trigger out (AFI0) to be as the DI_TRIG source (AFI1).",IDC_STATIC,14,38,320,28 - LTEXT "Please connect AFI0 <---> AFI1\n AFI2 <---> AFI3\n AFI4 <---> AFI5\n PortA <---> PortB\n PortC <---> PortD",IDC_STATIC,201,7,130,26 -END - -IDD_CARDID_DIALOG DIALOGEX 0, 0, 170, 89 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "Card ID" -FONT 8, "MS Shell Dlg", 400, 0, 0x1 -BEGIN - COMBOBOX IDC_COMBO_CARDID,75,17,71,126,CBS_DROPDOWN | WS_VSCROLL | WS_TABSTOP - LTEXT "Card Number",IDC_STATIC_01,21,18,46,12 - PUSHBUTTON "OK",IDOK,22,50,58,19 - PUSHBUTTON "CANCEL",IDCANCEL,86,50,58,19 -END - - -///////////////////////////////////////////////////////////////////////////// -// -// Version -// - -VS_VERSION_INFO VERSIONINFO - FILEVERSION 1,0,0,1 - PRODUCTVERSION 1,0,0,1 - FILEFLAGSMASK 0x3fL -#ifdef _DEBUG - FILEFLAGS 0x1L -#else - FILEFLAGS 0x0L -#endif - FILEOS 0x4L - FILETYPE 0x1L - FILESUBTYPE 0x0L -BEGIN - BLOCK "StringFileInfo" - BEGIN - BLOCK "040904e4" - BEGIN - VALUE "CompanyName", "TODO: " - VALUE "FileDescription", "TODO: " - VALUE "FileVersion", "1.0.0.1" - VALUE "InternalName", "7350Wav.exe" - VALUE "LegalCopyright", "TODO: (c) . All rights reserved." - VALUE "OriginalFilename", "7350Wav.exe" - VALUE "ProductName", "TODO: " - VALUE "ProductVersion", "1.0.0.1" - END - END - BLOCK "VarFileInfo" - BEGIN - VALUE "Translation", 0x409, 1252 - END -END - - -///////////////////////////////////////////////////////////////////////////// -// -// DESIGNINFO -// - -#ifdef APSTUDIO_INVOKED -GUIDELINES DESIGNINFO -BEGIN - IDD_ABOUTBOX, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 163 - TOPMARGIN, 7 - BOTTOMMARGIN, 55 - END - - IDD_MY7350Wav_DIALOG, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 341 - TOPMARGIN, 7 - BOTTOMMARGIN, 255 - END - - IDD_CARDID_DIALOG, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 163 - TOPMARGIN, 7 - BOTTOMMARGIN, 82 - END -END -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog Info -// - -IDD_CARDID_DIALOG DLGINIT -BEGIN - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0030, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0031, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0032, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0033, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0034, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0035, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0036, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0037, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0038, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0039, - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3031, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3131, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3231, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3331, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3431, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3531, "\000" - 0 -END - - -///////////////////////////////////////////////////////////////////////////// -// -// String Table -// - -STRINGTABLE -BEGIN - IDS_ABOUTBOX "&About 7350Wav..." -END - -#endif // English (U.S.) resources -///////////////////////////////////////////////////////////////////////////// - - - -#ifndef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 3 resource. -// -#define _AFX_NO_SPLITTER_RESOURCES -#define _AFX_NO_OLE_RESOURCES -#define _AFX_NO_TRACKER_RESOURCES -#define _AFX_NO_PROPERTY_RESOURCES - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -LANGUAGE 9, 1 -#pragma code_page(1252) -#include "res\My7350Wav.rc2" // non-Microsoft Visual C++ edited resources -#include "afxres.rc" // Standard components -#endif - -///////////////////////////////////////////////////////////////////////////// -#endif // not APSTUDIO_INVOKED - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350DIOHandShake/7350Wav.sln b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350DIOHandShake/7350Wav.sln deleted file mode 100644 index b727fc7..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350DIOHandShake/7350Wav.sln +++ /dev/null @@ -1,20 +0,0 @@ - -Microsoft Visual Studio Solution File, Format Version 10.00 -# Visual Studio 2008 -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "7350Wav", "7350Wav.vcproj", "{EBDB6610-7CE5-413C-A150-121068BFDB22}" -EndProject -Global - GlobalSection(SolutionConfigurationPlatforms) = preSolution - Debug|x64 = Debug|x64 - Release|x64 = Release|x64 - EndGlobalSection - GlobalSection(ProjectConfigurationPlatforms) = postSolution - {EBDB6610-7CE5-413C-A150-121068BFDB22}.Debug|x64.ActiveCfg = Debug|x64 - {EBDB6610-7CE5-413C-A150-121068BFDB22}.Debug|x64.Build.0 = Debug|x64 - {EBDB6610-7CE5-413C-A150-121068BFDB22}.Release|x64.ActiveCfg = Release|x64 - {EBDB6610-7CE5-413C-A150-121068BFDB22}.Release|x64.Build.0 = Release|x64 - EndGlobalSection - GlobalSection(SolutionProperties) = preSolution - HideSolutionNode = FALSE - EndGlobalSection -EndGlobal diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350DIOHandShake/7350Wav.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350DIOHandShake/7350Wav.suo deleted file mode 100644 index 0b72603..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350DIOHandShake/7350Wav.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350DIOHandShake/7350Wav.vcproj b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350DIOHandShake/7350Wav.vcproj deleted file mode 100644 index 05476c4..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350DIOHandShake/7350Wav.vcproj +++ /dev/null @@ -1,286 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350DIOHandShake/7350WavDlg.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350DIOHandShake/7350WavDlg.cpp deleted file mode 100644 index 94751ee..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350DIOHandShake/7350WavDlg.cpp +++ /dev/null @@ -1,595 +0,0 @@ - -// 7350WavDlg.cpp : implementation file -// - -#include "stdafx.h" -#include "7350Wav.h" -#include "7350WavDlg.h" -#include "math.h" - -#ifndef M_PI -#define M_PI 3.14159265359 -#endif - -#define MAX_SIZE 1024000 //in words - -#ifdef _DEBUG -#define new DEBUG_NEW -#endif - -CRect plotRect; - -#define PCI7350_DIO_STATUS_TIMER 1 - -U16 gInBuf[MAX_SIZE], gOutBuf[MAX_SIZE]; - -// CAboutDlg dialog used for App About - -class CAboutDlg : public CDialog -{ -public: - CAboutDlg(); - -// Dialog Data - enum { IDD = IDD_ABOUTBOX }; - - protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - -// Implementation -protected: - DECLARE_MESSAGE_MAP() -}; - -CAboutDlg::CAboutDlg() : CDialog(CAboutDlg::IDD) -{ -} - -void CAboutDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); -} - -BEGIN_MESSAGE_MAP(CAboutDlg, CDialog) -END_MESSAGE_MAP() - - -// C7350WavDlg dialog - - -C7350WavDlg::C7350WavDlg(I16 hCard, CWnd* pParent /*=NULL*/) - : CDialog(C7350WavDlg::IDD, pParent) -{ - m_hIcon = AfxGetApp()->LoadIcon(IDR_MAINFRAME); - - m_hCard = hCard; - - OnBrush = OffBrush = NULL; - - n_PlotWidth = -1; - n_PlotHeight = -1; - - min_val = 0x00; - max_val = 0xFFFF; - - m_dwDISamples = 65536; - - m_nTimer = -1; - -} - -void C7350WavDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); -} - -BEGIN_MESSAGE_MAP(C7350WavDlg, CDialog) - ON_WM_SYSCOMMAND() - ON_WM_PAINT() - ON_WM_QUERYDRAGICON() - //}}AFX_MSG_MAP - ON_WM_DESTROY() - ON_BN_CLICKED(IDC_BT_START, &C7350WavDlg::OnStart) - ON_BN_CLICKED(IDC_BT_STOP, &C7350WavDlg::OnStop) - ON_WM_TIMER() -// ON_WM_VSCROLL() -END_MESSAGE_MAP() - - -// C7350WavDlg message handlers - -BOOL C7350WavDlg::OnInitDialog() -{ - I16 err; - int i; - CString strTemp; - - CDialog::OnInitDialog(); - - // Add "About..." menu item to system menu. - - // IDM_ABOUTBOX must be in the system command range. - ASSERT((IDM_ABOUTBOX & 0xFFF0) == IDM_ABOUTBOX); - ASSERT(IDM_ABOUTBOX < 0xF000); - - CMenu* pSysMenu = GetSystemMenu(FALSE); - if (pSysMenu != NULL) - { - BOOL bNameValid; - CString strAboutMenu; - bNameValid = strAboutMenu.LoadString(IDS_ABOUTBOX); - ASSERT(bNameValid); - if (!strAboutMenu.IsEmpty()) - { - pSysMenu->AppendMenu(MF_SEPARATOR); - pSysMenu->AppendMenu(MF_STRING, IDM_ABOUTBOX, strAboutMenu); - } - } - - // Set the icon for this dialog. The framework does this automatically - // when the application's main window is not a dialog - SetIcon(m_hIcon, TRUE); // Set big icon - SetIcon(m_hIcon, FALSE); // Set small icon - - // TODO: Add extra initialization here - x_divider = 5; y_divider = 2; - - OnBrush = CreateSolidBrush( RGB(255,0,0) ); - OffBrush = CreateSolidBrush( RGB(125,0,0) ); - - RedPen.CreatePen( PS_SOLID, 1, RGB(255,0,0)); - GreenPen.CreatePen( PS_SOLID, 1, RGB(0,255,0)); - - if( n_PlotWidth == -1 && n_PlotHeight == -1 ) - { - ((CWnd*)GetDlgItem(IDC_STATIC_DRAW))->GetWindowRect(&plotRect); - ScreenToClient(&plotRect); - - n_PlotWidth = min( plotRect.Width(), 512); - n_PlotHeight = plotRect.Height() - 10; - } - - - // Set the default DI Sample - SetDlgItemInt( IDC_EDIT_SAMPLE, (UINT)(m_dwDISamples) ); - - err = DIO_VoltLevelConfig(m_hCard, P7350_PortDIO, VoltLevel_3R3); - if( err!=NoError ) - { - strTemp.Format( TEXT("DIO_VoltLevelConfig(P7350_PortDIO) Error = %d"), err); - AfxMessageBox( strTemp ); - return TRUE; - } - - err = DIO_VoltLevelConfig(m_hCard, P7350_PortAFI, VoltLevel_3R3); - if(err!=NoError) - { - strTemp.Format( TEXT("DIO_VoltLevelConfig(P7350_PortAFI) Error = %d"), err); - AfxMessageBox( strTemp ); - return TRUE; - } - - /* - * Set Input or Output for DIO Port - */ - err = DIO_PortConfig(m_hCard, P7350_DIO_A, INPUT_PORT); - if( err!=NoError ) - { - strTemp.Format( TEXT("DIO_PortConfig(P7350_DIO_A) Error = %d"), err); - AfxMessageBox( strTemp ); - return TRUE; - } - - err = DIO_PortConfig(m_hCard, P7350_DIO_B, OUTPUT_PORT); - if( err!=NoError ) - { - strTemp.Format( TEXT("DIO_PortConfig(P7350_DIO_B) Error = %d"), err); - AfxMessageBox( strTemp ); - return TRUE; - } - err = DIO_PortConfig(m_hCard, P7350_DIO_C, INPUT_PORT); - if( err!=NoError ) - { - strTemp.Format( TEXT("DIO_PortConfig(P7350_DIO_C) Error = %d"), err); - AfxMessageBox( strTemp ); - return TRUE; - } - err = DIO_PortConfig(m_hCard, P7350_DIO_D, OUTPUT_PORT); - if( err!=NoError ) - { - strTemp.Format( TEXT("DIO_PortConfig(P7350_DIO_D) Error = %d"), err); - AfxMessageBox( strTemp ); - return TRUE; - } - - - /* - * Set DI Configurations - */ - err = DI_7350_Config(m_hCard, 16, P7350_HandShake, P7350_WAIT_EXTTRG, 0); - if( err!=NoError ) - { - strTemp.Format( TEXT("DI_7350_Config() Error = %d"), err); - AfxMessageBox( strTemp ); - return TRUE; - } - - - /* - * Set DI Trigger and HandShake Configurations - */ - err = DI_7350_TrigHSConfig( m_hCard, - 0/*TrigConfig*/, - 0/*DI_IPOL*/, - P7350_AFI_3/*DI_REQSrc*/, - P7350_AFI_5/*DI_ACKSrc*/, - P7350_AFI_1/*DI_TRIGSrc*/, - 0/*StartTrigSrc*/, - 0/*PauseTrigSrc*/, - 0/*SoftTrigOutSrc*/, - 0/*SoftTrigOutLength*/, - 1/*TrigCount*/); - if( err!=NoError ) - { - strTemp.Format( TEXT("DI_7350_TrigHSConfig() Error = %d"), err); - AfxMessageBox( strTemp ); - return TRUE; - } - - - /* - * Set DO Configurations - */ - err = DO_7350_Config(m_hCard, 16, P7350_HandShake, P7350_WAIT_SOFTTRG, 0); - if( err!=NoError ) - { - strTemp.Format( TEXT("DO_7350_Config() Error = %d"), err); - AfxMessageBox( strTemp ); - return TRUE; - } - - - /* - * Set DO Trigger and HandShake Configurations - */ - err = DO_7350_TrigHSConfig( m_hCard, - P7350_EnSoftTrigOut/*TrigConfig*/, - 0/*DO_IPOL*/, - P7350_AFI_2/*DO_REQSrc*/, - P7350_AFI_4/*DO_ACKSrc*/, - 0/*DO_TRIGSrc*/, - 0/*StartTrigSrc*/, - 0/*PauseTrigSrc*/, - P7350_AFI_0/*SoftTrigOutSrc*/, - 10/*SoftTrigOutLength*/, - 1/*TrigCount*/); - if( err!=NoError ) - { - strTemp.Format( TEXT("DO_7350_TrigHSConfig() Error = %d"), err); - AfxMessageBox( strTemp ); - return TRUE; - } - - - for (i=0; i(dc.GetSafeHdc()), 0); - - // Center icon in client rectangle - int cxIcon = GetSystemMetrics(SM_CXICON); - int cyIcon = GetSystemMetrics(SM_CYICON); - CRect rect; - GetClientRect(&rect); - int x = (rect.Width() - cxIcon + 1) / 2; - int y = (rect.Height() - cyIcon + 1) / 2; - - // Draw the icon - dc.DrawIcon(x, y, m_hIcon); - } - else - { - redraw_display_area(); - CDialog::OnPaint(); - } -} - -// The system calls this function to obtain the cursor to display while the user drags -// the minimized window. -HCURSOR C7350WavDlg::OnQueryDragIcon() -{ - return static_cast(m_hIcon); -} - - -void C7350WavDlg::OnDestroy() -{ - U32 count; - - CDialog::OnDestroy(); - - // TODO: Add your message handler code here - if( OnBrush != NULL ) - ::DeleteObject( OnBrush ); - - if( OffBrush != NULL ) - ::DeleteObject( OffBrush ); - - RedPen.DeleteObject(); - GreenPen.DeleteObject(); - - if( m_nTimer != -1 ) - { - KillTimer( m_nTimer ); - m_nTimer = -1; - } - - DI_AsyncClear( m_hCard, &count ); -} - -void C7350WavDlg::OnStart() -{ - // TODO: Add your control notification handler code here - U32 dwDISamples; - I16 err; - CString strMsg; - - dwDISamples = GetDlgItemInt( IDC_EDIT_SAMPLE ); - - if( dwDISamples > MAX_SIZE) - { - m_dwDISamples = MAX_SIZE; //at most 1000K samples DMA - AfxMessageBox(TEXT("This sample supports at most 1000K words DMA transfer\nOnly perform 100K words DMA transfer.")); - } - else if( (dwDISamples %4) != 0 ) - { - AfxMessageBox(TEXT("Misalignment error, the input buffer must be 32-bit alignment ")); - } - else - { - m_dwDISamples = dwDISamples; - } - - err = DO_ContWritePort(m_hCard, 0, gOutBuf, m_dwDISamples, 1, 0/*DOSampleRate*/, ASYNCH_OP); - if(err!=NoError) - { - strMsg.Format(TEXT("DO_ContWritePort Error = %d"), err); - AfxMessageBox( strMsg ); - return; - } - - err = DI_ContReadPort (m_hCard, 0, gInBuf, m_dwDISamples, 0/*DISampleRate*/, ASYNCH_OP); - if (err < 0) - { - strMsg.Format(TEXT("DI_ContReadPort Error = %d"), err); - AfxMessageBox( strMsg ); - return; - } - - - /* - * Set Soft Trigger to start DO and then DI operations - */ - err = DO_7350_SoftTriggerGen(m_hCard); - if(err!=NoError) - { - strMsg.Format(TEXT("DO_7350_SoftTriggerGen Error = %d"), err); - AfxMessageBox( strMsg ); - return; - } - - - // clear display area - redraw_display_area(); - - if( m_nTimer == -1 ) - { - m_nTimer = SetTimer( PCI7350_DIO_STATUS_TIMER, 50, NULL ); - } - - GetDlgItem( IDC_BT_START )->EnableWindow( FALSE ); - GetDlgItem( IDC_BT_STOP )->EnableWindow( TRUE ); - -} - -void C7350WavDlg::OnStop() -{ - // TODO: Add your control notification handler code here - U32 count; - - DI_AsyncClear(m_hCard, &count); - DO_AsyncClear(m_hCard, &count); - - GetDlgItem( IDC_BT_START )->EnableWindow( TRUE ); - GetDlgItem( IDC_BT_STOP )->EnableWindow( FALSE); -} - -void C7350WavDlg::OnTimer(UINT_PTR nIDEvent) -{ - // TODO: Add your message handler code here and/or call default - BOOLEAN bDIStopped, bDOStopped; - U32 count; - I16 err; - - - err = DO_AsyncCheck( m_hCard, &bDOStopped, &count ); - if( bDOStopped ) - { - // reset the Button status - err = DO_AsyncClear( m_hCard, &count ); - } - - err = DI_AsyncCheck( m_hCard, &bDIStopped, &count ); - if( bDIStopped ) - { - // stop timer - KillTimer( m_nTimer ); - m_nTimer = -1; - - // reset the Button status - GetDlgItem( IDC_BT_START )->EnableWindow( TRUE ); - GetDlgItem( IDC_BT_STOP )->EnableWindow( FALSE ); - - err = DI_AsyncClear( m_hCard, &count ); - err = DO_AsyncClear( m_hCard, &count ); - - display_buffer_data(gInBuf); - } - - CDialog::OnTimer(nIDEvent); -} - - -void C7350WavDlg::display_buffer_data(U16* pBuf) -{ - CClientDC dc_plot(this); - int nDraw_Bottom; - - int newY, oldY = -1; - int newX, oldX = -1; - U32 index, di_data; - - nDraw_Bottom = ( plotRect.bottom - 5 ); - dc_plot.SelectObject( &GreenPen ); - - for( index=0; index // MFC core and standard components -#include // MFC extensions - - -#include // MFC Automation classes - - - -#ifndef _AFX_NO_OLE_SUPPORT -#include // MFC support for Internet Explorer 4 Common Controls -#endif -#ifndef _AFX_NO_AFXCMN_SUPPORT -#include // MFC support for Windows Common Controls -#endif // _AFX_NO_AFXCMN_SUPPORT - -#include // MFC support for ribbons and control bars - - - - - - - - - -#ifdef _UNICODE -#if defined _M_IX86 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='x86' publicKeyToken='6595b64144ccf1df' language='*'\"") -#elif defined _M_IA64 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='ia64' publicKeyToken='6595b64144ccf1df' language='*'\"") -#elif defined _M_X64 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='amd64' publicKeyToken='6595b64144ccf1df' language='*'\"") -#else -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='*' publicKeyToken='6595b64144ccf1df' language='*'\"") -#endif -#endif - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350DIOHandShake/targetver.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350DIOHandShake/targetver.h deleted file mode 100644 index 11730d5..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350DIOHandShake/targetver.h +++ /dev/null @@ -1,26 +0,0 @@ - -#pragma once - -// The following macros define the minimum required platform. The minimum required platform -// is the earliest version of Windows, Internet Explorer etc. that has the necessary features to run -// your application. The macros work by enabling all features available on platform versions up to and -// including the version specified. - -// Modify the following defines if you have to target a platform prior to the ones specified below. -// Refer to MSDN for the latest info on corresponding values for different platforms. -#ifndef WINVER // Specifies that the minimum required platform is Windows Vista. -#define WINVER 0x0600 // Change this to the appropriate value to target other versions of Windows. -#endif - -#ifndef _WIN32_WINNT // Specifies that the minimum required platform is Windows Vista. -#define _WIN32_WINNT 0x0600 // Change this to the appropriate value to target other versions of Windows. -#endif - -#ifndef _WIN32_WINDOWS // Specifies that the minimum required platform is Windows 98. -#define _WIN32_WINDOWS 0x0410 // Change this to the appropriate value to target Windows Me or later. -#endif - -#ifndef _WIN32_IE // Specifies that the minimum required platform is Internet Explorer 7.0. -#define _WIN32_IE 0x0700 // Change this to the appropriate value to target other versions of IE. -#endif - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350DIOMBufWav/7200Wav.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350DIOMBufWav/7200Wav.suo deleted file mode 100644 index bc032e1..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350DIOMBufWav/7200Wav.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350DIOMBufWav/7300bWav.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350DIOMBufWav/7300bWav.suo deleted file mode 100644 index 90ac3f3..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350DIOMBufWav/7300bWav.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350DIOMBufWav/7350Wav.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350DIOMBufWav/7350Wav.cpp deleted file mode 100644 index 066dfa9..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350DIOMBufWav/7350Wav.cpp +++ /dev/null @@ -1,110 +0,0 @@ - -// 7350Wav.cpp : Defines the class behaviors for the application. -// - -#include "stdafx.h" -#include "7350Wav.h" -#include "7350WavDlg.h" -#include "CardIDDlg.h" - -#ifdef _DEBUG -#define new DEBUG_NEW -#endif - - -// C7350WavApp - -BEGIN_MESSAGE_MAP(C7350WavApp, CWinAppEx) - ON_COMMAND(ID_HELP, &CWinApp::OnHelp) -END_MESSAGE_MAP() - - -// C7350WavApp construction - -C7350WavApp::C7350WavApp() -{ - // TODO: add construction code here, - // Place all significant initialization in InitInstance -} - - -// The one and only C7350WavApp object - -C7350WavApp theApp; - - -// C7350WavApp initialization - -BOOL C7350WavApp::InitInstance() -{ - int nCardID = 0; - I16 hCard; - CString strTemp; - INT_PTR nResponse; - - // InitCommonControlsEx() is required on Windows XP if an application - // manifest specifies use of ComCtl32.dll version 6 or later to enable - // visual styles. Otherwise, any window creation will fail. - INITCOMMONCONTROLSEX InitCtrls; - InitCtrls.dwSize = sizeof(InitCtrls); - // Set this to include all the common control classes you want to use - // in your application. - InitCtrls.dwICC = ICC_WIN95_CLASSES; - InitCommonControlsEx(&InitCtrls); - - CWinAppEx::InitInstance(); - - AfxEnableControlContainer(); - - // Standard initialization - // If you are not using these features and wish to reduce the size - // of your final executable, you should remove from the following - // the specific initialization routines you do not need - // Change the registry key under which our settings are stored - // TODO: You should modify this string to be something appropriate - // such as the name of your company or organization - SetRegistryKey(_T("Local AppWizard-Generated Applications")); - - CCardIDDlg CardDlg( nCardID ); - - nResponse = CardDlg.DoModal(); - if (nResponse == IDOK) - { - nCardID = CardDlg.GetCardID(); - - if ((hCard=Register_Card(PCI_7350, nCardID)) < 0) - { - strTemp.Format( TEXT("Register_Card Error = %d"), hCard); - AfxMessageBox( strTemp ); - } - else - { - C7350WavDlg dlg(hCard); - m_pMainWnd = &dlg; - nResponse = dlg.DoModal(); - if (nResponse == IDOK) - { - // TODO: Place code here to handle when the dialog is - // dismissed with OK - } - else if (nResponse == IDCANCEL) - { - // TODO: Place code here to handle when the dialog is - // dismissed with Cancel - } - - if (hCard >= 0) Release_Card(hCard); - } - - } - else if (nResponse == IDCANCEL) - { - // TODO: Place code here to handle when the dialog is - // dismissed with Cancel - } - - - // Since the dialog has been closed, return FALSE so that we exit the - // application, rather than start the application's message pump. - return FALSE; -} diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350DIOMBufWav/7350Wav.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350DIOMBufWav/7350Wav.h deleted file mode 100644 index c651b47..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350DIOMBufWav/7350Wav.h +++ /dev/null @@ -1,32 +0,0 @@ - -// 7350Wav.h : main header file for the PROJECT_NAME application -// - -#pragma once - -#ifndef __AFXWIN_H__ - #error "include 'stdafx.h' before including this file for PCH" -#endif - -#include "resource.h" // main symbols - - -// C7350WavApp: -// See 7350Wav.cpp for the implementation of this class -// - -class C7350WavApp : public CWinAppEx -{ -public: - C7350WavApp(); - -// Overrides - public: - virtual BOOL InitInstance(); - -// Implementation - - DECLARE_MESSAGE_MAP() -}; - -extern C7350WavApp theApp; \ No newline at end of file diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350DIOMBufWav/7350Wav.rc b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350DIOMBufWav/7350Wav.rc deleted file mode 100644 index 5324694..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350DIOMBufWav/7350Wav.rc +++ /dev/null @@ -1,283 +0,0 @@ -// Microsoft Visual C++ generated resource script. -// -#include "resource.h" - -#define APSTUDIO_READONLY_SYMBOLS -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 2 resource. -// -#ifndef APSTUDIO_INVOKED -#include "targetver.h" -#endif -#include "afxres.h" - -///////////////////////////////////////////////////////////////////////////// -#undef APSTUDIO_READONLY_SYMBOLS - -///////////////////////////////////////////////////////////////////////////// -// Chinese (Taiwan) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_CHT) -#ifdef _WIN32 -LANGUAGE LANG_CHINESE, SUBLANG_CHINESE_TRADITIONAL -#pragma code_page(950) -#endif //_WIN32 - -#ifdef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// TEXTINCLUDE -// - -1 TEXTINCLUDE -BEGIN - "resource.h\0" -END - -2 TEXTINCLUDE -BEGIN - "#ifndef APSTUDIO_INVOKED\r\n" - "#include ""targetver.h""\r\n" - "#endif\r\n" - "#include ""afxres.h""\r\n" - "\0" -END - -3 TEXTINCLUDE -BEGIN - "#define _AFX_NO_SPLITTER_RESOURCES\r\n" - "#define _AFX_NO_OLE_RESOURCES\r\n" - "#define _AFX_NO_TRACKER_RESOURCES\r\n" - "#define _AFX_NO_PROPERTY_RESOURCES\r\n" - "\r\n" - "#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)\r\n" - "LANGUAGE 9, 1\r\n" - "#pragma code_page(1252)\r\n" - "#include ""res\\My7350Wav.rc2"" // non-Microsoft Visual C++ edited resources\r\n" - "#include ""afxres.rc"" // Standard components\r\n" - "#endif\r\n" - "\0" -END - -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// Icon -// - -// Icon with lowest ID value placed first to ensure application icon -// remains consistent on all systems. -IDR_MAINFRAME ICON "res\\7350Wav.ico" -#endif // Chinese (Taiwan) resources -///////////////////////////////////////////////////////////////////////////// - - -///////////////////////////////////////////////////////////////////////////// -// English (U.S.) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -#ifdef _WIN32 -LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US -#pragma code_page(1252) -#endif //_WIN32 - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog -// - -IDD_ABOUTBOX DIALOGEX 0, 0, 170, 62 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "About 7350Wav" -FONT 8, "MS Shell Dlg", 0, 0, 0x1 -BEGIN - ICON IDR_MAINFRAME,IDC_STATIC,14,14,21,20 - LTEXT "7350Wav, Version 1.0",IDC_STATIC,42,14,114,8,SS_NOPREFIX - LTEXT "Copyright (C) 2010",IDC_STATIC,42,26,114,8 - DEFPUSHBUTTON "OK",IDOK,113,41,50,14,WS_GROUP -END - -IDD_MY7350Wav_DIALOG DIALOGEX 0, 0, 376, 248 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU -EXSTYLE WS_EX_APPWINDOW -CAPTION "PCI-7350 MBuf DI/DO DMA" -FONT 8, "MS Shell Dlg", 0, 0, 0x1 -BEGIN - GROUPBOX "",IDC_STATIC_DRAW,71,54,293,138,NOT WS_VISIBLE - EDITTEXT IDC_EDIT_SAMPLE,230,200,51,12,ES_AUTOHSCROLL | ES_READONLY - LTEXT "DI Samples :",IDC_STATIC,181,201,45,9 - PUSHBUTTON "Start",IDC_BT_START,315,198,48,17 - PUSHBUTTON "Stop",IDC_BT_STOP,315,217,48,17 - LTEXT "The configuration is set as DI16DO16.\nINPUT_PORT: P7350_DIO_A and P7350_DIO_C\nOUTPUT_PORT: P7350_DIO_B and P7350_DIO_D.",IDC_STATIC,13,1,343,26 - LTEXT "This sample performs infinitely continuous DI acquisition and DO output. The input data is shown in panel below.",IDC_STATIC,14,30,343,20 - LTEXT "Overrun Count :",IDC_STATIC,168,217,56,9 - EDITTEXT IDC_EDIT_OVERRUN,229,216,51,12,ES_AUTOHSCROLL | ES_READONLY -END - -IDD_CARDID_DIALOG DIALOGEX 0, 0, 170, 89 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "Card ID" -FONT 8, "MS Shell Dlg", 400, 0, 0x1 -BEGIN - COMBOBOX IDC_COMBO_CARDID,75,17,71,126,CBS_DROPDOWN | WS_VSCROLL | WS_TABSTOP - LTEXT "Card Number",IDC_STATIC_01,21,18,46,12 - PUSHBUTTON "OK",IDOK,22,50,58,19 - PUSHBUTTON "CANCEL",IDCANCEL,86,50,58,19 -END - - -///////////////////////////////////////////////////////////////////////////// -// -// Version -// - -VS_VERSION_INFO VERSIONINFO - FILEVERSION 1,0,0,1 - PRODUCTVERSION 1,0,0,1 - FILEFLAGSMASK 0x3fL -#ifdef _DEBUG - FILEFLAGS 0x1L -#else - FILEFLAGS 0x0L -#endif - FILEOS 0x4L - FILETYPE 0x1L - FILESUBTYPE 0x0L -BEGIN - BLOCK "StringFileInfo" - BEGIN - BLOCK "040904e4" - BEGIN - VALUE "CompanyName", "TODO: " - VALUE "FileDescription", "TODO: " - VALUE "FileVersion", "1.0.0.1" - VALUE "InternalName", "7350Wav.exe" - VALUE "LegalCopyright", "TODO: (c) . All rights reserved." - VALUE "OriginalFilename", "7350Wav.exe" - VALUE "ProductName", "TODO: " - VALUE "ProductVersion", "1.0.0.1" - END - END - BLOCK "VarFileInfo" - BEGIN - VALUE "Translation", 0x409, 1252 - END -END - - -///////////////////////////////////////////////////////////////////////////// -// -// DESIGNINFO -// - -#ifdef APSTUDIO_INVOKED -GUIDELINES DESIGNINFO -BEGIN - IDD_ABOUTBOX, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 163 - TOPMARGIN, 7 - BOTTOMMARGIN, 55 - END - - IDD_MY7350Wav_DIALOG, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 369 - TOPMARGIN, 7 - BOTTOMMARGIN, 241 - END - - IDD_CARDID_DIALOG, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 163 - TOPMARGIN, 7 - BOTTOMMARGIN, 82 - END -END -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog Info -// - -IDD_CARDID_DIALOG DLGINIT -BEGIN - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0030, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0031, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0032, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0033, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0034, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0035, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0036, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0037, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0038, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0039, - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3031, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3131, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3231, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3331, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3431, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3531, "\000" - 0 -END - - -///////////////////////////////////////////////////////////////////////////// -// -// String Table -// - -STRINGTABLE -BEGIN - IDS_ABOUTBOX "&About 7350Wav..." -END - -#endif // English (U.S.) resources -///////////////////////////////////////////////////////////////////////////// - - - -#ifndef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 3 resource. -// -#define _AFX_NO_SPLITTER_RESOURCES -#define _AFX_NO_OLE_RESOURCES -#define _AFX_NO_TRACKER_RESOURCES -#define _AFX_NO_PROPERTY_RESOURCES - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -LANGUAGE 9, 1 -#pragma code_page(1252) -#include "res\My7350Wav.rc2" // non-Microsoft Visual C++ edited resources -#include "afxres.rc" // Standard components -#endif - -///////////////////////////////////////////////////////////////////////////// -#endif // not APSTUDIO_INVOKED - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350DIOMBufWav/7350Wav.sln b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350DIOMBufWav/7350Wav.sln deleted file mode 100644 index b727fc7..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350DIOMBufWav/7350Wav.sln +++ /dev/null @@ -1,20 +0,0 @@ - -Microsoft Visual Studio Solution File, Format Version 10.00 -# Visual Studio 2008 -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "7350Wav", "7350Wav.vcproj", "{EBDB6610-7CE5-413C-A150-121068BFDB22}" -EndProject -Global - GlobalSection(SolutionConfigurationPlatforms) = preSolution - Debug|x64 = Debug|x64 - Release|x64 = Release|x64 - EndGlobalSection - GlobalSection(ProjectConfigurationPlatforms) = postSolution - {EBDB6610-7CE5-413C-A150-121068BFDB22}.Debug|x64.ActiveCfg = Debug|x64 - {EBDB6610-7CE5-413C-A150-121068BFDB22}.Debug|x64.Build.0 = Debug|x64 - {EBDB6610-7CE5-413C-A150-121068BFDB22}.Release|x64.ActiveCfg = Release|x64 - {EBDB6610-7CE5-413C-A150-121068BFDB22}.Release|x64.Build.0 = Release|x64 - EndGlobalSection - GlobalSection(SolutionProperties) = preSolution - HideSolutionNode = FALSE - EndGlobalSection -EndGlobal diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350DIOMBufWav/7350Wav.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350DIOMBufWav/7350Wav.suo deleted file mode 100644 index f79063d..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350DIOMBufWav/7350Wav.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350DIOMBufWav/7350Wav.vcproj b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350DIOMBufWav/7350Wav.vcproj deleted file mode 100644 index 05476c4..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350DIOMBufWav/7350Wav.vcproj +++ /dev/null @@ -1,286 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350DIOMBufWav/7350WavDlg.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350DIOMBufWav/7350WavDlg.cpp deleted file mode 100644 index fa9c8b4..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350DIOMBufWav/7350WavDlg.cpp +++ /dev/null @@ -1,648 +0,0 @@ - -// 7350WavDlg.cpp : implementation file -// - -#include "stdafx.h" -#include "7350Wav.h" -#include "7350WavDlg.h" -#include "math.h" - -#ifndef M_PI -#define M_PI 3.14159265359 -#endif - -#define MAX_SIZE 1024000 //in words -#define MBufCount 16 //Buffer count to be set - -#ifdef _DEBUG -#define new DEBUG_NEW -#endif - -CRect plotRect; - -#define PCI7350_DIO_STATUS_TIMER 1 - -U16 gInBuf[MAX_SIZE], gOutBuf[MAX_SIZE]; -U16 *gDOBufferAddr[MBufCount]; //Buffer array to be set -U16 *gDIBufferAddr[MBufCount]; //Buffer array to be set -U16 gDOBufferID[MBufCount]; //Buffer ID returned -U16 gDIBufferID[MBufCount]; //Buffer ID returned -U32 gWriteCount = 10000; //Data count per one buffer to be written -U32 gReadCount = 20480; //Data count per one buffer to be written - - -// CAboutDlg dialog used for App About - -class CAboutDlg : public CDialog -{ -public: - CAboutDlg(); - -// Dialog Data - enum { IDD = IDD_ABOUTBOX }; - - protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - -// Implementation -protected: - DECLARE_MESSAGE_MAP() -}; - -CAboutDlg::CAboutDlg() : CDialog(CAboutDlg::IDD) -{ -} - -void CAboutDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); -} - -BEGIN_MESSAGE_MAP(CAboutDlg, CDialog) -END_MESSAGE_MAP() - - -// C7350WavDlg dialog - - -C7350WavDlg::C7350WavDlg(I16 hCard, CWnd* pParent /*=NULL*/) - : CDialog(C7350WavDlg::IDD, pParent) -{ - m_hIcon = AfxGetApp()->LoadIcon(IDR_MAINFRAME); - - m_hCard = hCard; - - OnBrush = OffBrush = NULL; - - n_PlotWidth = -1; - n_PlotHeight = -1; - - min_val = 0x00; - max_val = 0xFFFF; - - m_dwDISamples = gReadCount; - m_OverrunCnt = 0; - - m_nTimer = -1; - -} - -void C7350WavDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); -} - -BEGIN_MESSAGE_MAP(C7350WavDlg, CDialog) - ON_WM_SYSCOMMAND() - ON_WM_PAINT() - ON_WM_QUERYDRAGICON() - //}}AFX_MSG_MAP - ON_WM_DESTROY() - ON_BN_CLICKED(IDC_BT_START, &C7350WavDlg::OnStart) - ON_BN_CLICKED(IDC_BT_STOP, &C7350WavDlg::OnStop) - ON_WM_TIMER() -// ON_WM_VSCROLL() -END_MESSAGE_MAP() - - -// C7350WavDlg message handlers - -BOOL C7350WavDlg::OnInitDialog() -{ - I16 err; - int i; - CString strTemp; - - CDialog::OnInitDialog(); - - // Add "About..." menu item to system menu. - - // IDM_ABOUTBOX must be in the system command range. - ASSERT((IDM_ABOUTBOX & 0xFFF0) == IDM_ABOUTBOX); - ASSERT(IDM_ABOUTBOX < 0xF000); - - CMenu* pSysMenu = GetSystemMenu(FALSE); - if (pSysMenu != NULL) - { - BOOL bNameValid; - CString strAboutMenu; - bNameValid = strAboutMenu.LoadString(IDS_ABOUTBOX); - ASSERT(bNameValid); - if (!strAboutMenu.IsEmpty()) - { - pSysMenu->AppendMenu(MF_SEPARATOR); - pSysMenu->AppendMenu(MF_STRING, IDM_ABOUTBOX, strAboutMenu); - } - } - - // Set the icon for this dialog. The framework does this automatically - // when the application's main window is not a dialog - SetIcon(m_hIcon, TRUE); // Set big icon - SetIcon(m_hIcon, FALSE); // Set small icon - - - if( gWriteCount * MBufCount > MAX_SIZE ) - { - AfxMessageBox( TEXT(" WriteCount * MBufCOunt > MAX_SIZE ") ); - return TRUE; - } - else - { - for(i=0; i MAX_SIZE ) - { - AfxMessageBox( TEXT(" gReadCount * MBufCOunt > MAX_SIZE ") ); - return TRUE; - } - else - { - for(i=0; iGetWindowRect(&plotRect); - ScreenToClient(&plotRect); - - n_PlotWidth = min( plotRect.Width(), 512); - n_PlotHeight = plotRect.Height() - 10; - } - - - // Set the default DI Sample - SetDlgItemInt( IDC_EDIT_SAMPLE, (UINT)(m_dwDISamples) ); - - err = DIO_VoltLevelConfig(m_hCard, P7350_PortDIO, VoltLevel_3R3); - if( err!=NoError ) - { - strTemp.Format( TEXT("DIO_VoltLevelConfig Error = %d"), err); - AfxMessageBox( strTemp ); - return TRUE; - } - - /* - * Set Input or Output for DIO Port - */ - err = DIO_PortConfig(m_hCard, P7350_DIO_A, INPUT_PORT); - if( err!=NoError ) - { - strTemp.Format( TEXT("DIO_PortConfig(P7350_DIO_A) Error = %d"), err); - AfxMessageBox( strTemp ); - return TRUE; - } - - err = DIO_PortConfig(m_hCard, P7350_DIO_B, OUTPUT_PORT); - if( err!=NoError ) - { - strTemp.Format( TEXT("DIO_PortConfig(P7350_DIO_B) Error = %d"), err); - AfxMessageBox( strTemp ); - return TRUE; - } - err = DIO_PortConfig(m_hCard, P7350_DIO_C, INPUT_PORT); - if( err!=NoError ) - { - strTemp.Format( TEXT("DIO_PortConfig(P7350_DIO_C) Error = %d"), err); - AfxMessageBox( strTemp ); - return TRUE; - } - err = DIO_PortConfig(m_hCard, P7350_DIO_D, OUTPUT_PORT); - if( err!=NoError ) - { - strTemp.Format( TEXT("DIO_PortConfig(P7350_DIO_D) Error = %d"), err); - AfxMessageBox( strTemp ); - return TRUE; - } - - - /* - * Set DI Configurations - */ - err = DI_7350_Config(m_hCard, 16, P7350_FreeRun, P7350_WAIT_NO, P7350_IntSampledCLK); - if( err!=NoError ) - { - strTemp.Format( TEXT("DI_7350_Config() Error = %d"), err); - AfxMessageBox( strTemp ); - return TRUE; - } - - /* - * Set DO Configurations - */ - err = DO_7350_Config(m_hCard, 16, P7350_FreeRun, P7350_WAIT_NO, P7350_IntSampledCLK); - if( err!=NoError ) - { - strTemp.Format( TEXT("DO_7350_Config() Error = %d"), err); - AfxMessageBox( strTemp ); - return TRUE; - } - - /* - * Set DI Trigger and HandShake Configurations - */ - err = DI_7350_TrigHSConfig( m_hCard, - 0/*TrigConfig*/, - 0/*DI_IPOL*/, - 0/*DI_REQSrc*/, - 0/*DI_ACKSrc*/, - 0/*DI_TRIGSrc*/, - P7350_AFI_0/*StartTrigSrc*/, - 0/*PauseTrigSrc*/, - 0/*SoftTrigOutSrc*/, - 0/*SoftTrigOutLength*/, - 0/*TrigCount*/ //Infinite Re-Trigger - ); - - for (i=0; i(dc.GetSafeHdc()), 0); - - // Center icon in client rectangle - int cxIcon = GetSystemMetrics(SM_CXICON); - int cyIcon = GetSystemMetrics(SM_CYICON); - CRect rect; - GetClientRect(&rect); - int x = (rect.Width() - cxIcon + 1) / 2; - int y = (rect.Height() - cyIcon + 1) / 2; - - // Draw the icon - dc.DrawIcon(x, y, m_hIcon); - } - else - { - redraw_display_area(); - CDialog::OnPaint(); - } -} - -// The system calls this function to obtain the cursor to display while the user drags -// the minimized window. -HCURSOR C7350WavDlg::OnQueryDragIcon() -{ - return static_cast(m_hIcon); -} - - -void C7350WavDlg::OnDestroy() -{ - U32 count; - - CDialog::OnDestroy(); - - // TODO: Add your message handler code here - if( OnBrush != NULL ) - ::DeleteObject( OnBrush ); - - if( OffBrush != NULL ) - ::DeleteObject( OffBrush ); - - RedPen.DeleteObject(); - GreenPen.DeleteObject(); - - if( m_nTimer != -1 ) - { - KillTimer( m_nTimer ); - m_nTimer = -1; - } - - DI_AsyncClear( m_hCard, &count ); -} - -void C7350WavDlg::OnStart() -{ - // TODO: Add your control notification handler code here - I16 err; - CString strMsg; - - m_OverrunCnt = 0; - - m_dwDISamples = gReadCount; - err = DO_ContMultiBufferStart(m_hCard, 0, 100000); - if(err!=NoError) - { - strMsg.Format(TEXT("DO_ContMultiBufferStart Error = %d"), err); - AfxMessageBox( strMsg ); - return; - } - - err = DI_ContMultiBufferStart(m_hCard, 0, 100000); - if (err < 0) - { - strMsg.Format(TEXT("DI_ContMultiBufferStart Error = %d"), err); - AfxMessageBox( strMsg ); - return; - } - - - // clear display area - redraw_display_area(); - SetDlgItemInt( IDC_EDIT_OVERRUN, m_OverrunCnt ); - - if( m_nTimer == -1 ) - { - m_nTimer = SetTimer( PCI7350_DIO_STATUS_TIMER, 50, NULL ); - } - - GetDlgItem( IDC_BT_START )->EnableWindow( FALSE ); - GetDlgItem( IDC_BT_STOP )->EnableWindow( TRUE ); - -} - -void C7350WavDlg::OnStop() -{ - // TODO: Add your control notification handler code here - U32 count; - - if( m_nTimer != -1 ) - { - KillTimer( m_nTimer ); - m_nTimer = -1; - } - - DI_AsyncClear(m_hCard, &count); - DO_AsyncClear(m_hCard, &count); - - - GetDlgItem( IDC_BT_START )->EnableWindow( TRUE ); - GetDlgItem( IDC_BT_STOP )->EnableWindow( FALSE); -} - -void C7350WavDlg::OnTimer(UINT_PTR nIDEvent) -{ - // TODO: Add your message handler code here and/or call default - I16 err; - CString strTemp; - BOOLEAN NextReady = FALSE; - U16 ReadyBufferId = 0; - U16 PreDIReadyBufferId = 0; - - U32 BufRdyCnt = 0; - U16 bufcnt = 0; - U16 overrunFlag; - - err = DI_AsyncMultiBufferNextReady(m_hCard, &NextReady, &ReadyBufferId); - if( err!=NoError ) - { - strTemp.Format( TEXT("DI_AsyncMultiBufferNextReady() Error = %d"), err); - AfxMessageBox( strTemp ); - return; - } - - if(NextReady) - { - /* - * If the NextReady flag is asserted, the data of ready buffers - * had been read completely. You can process the data of ready - * buffers if necessary. - * - * Process the data of the ready buffers in here - */ - - /* - * Tell driver that the ready buffers are handled completely - */ - -// redraw_display_area(); - display_buffer_data(gDIBufferAddr[ReadyBufferId], 1); - - if(ReadyBufferId // MFC core and standard components -#include // MFC extensions - - -#include // MFC Automation classes - - - -#ifndef _AFX_NO_OLE_SUPPORT -#include // MFC support for Internet Explorer 4 Common Controls -#endif -#ifndef _AFX_NO_AFXCMN_SUPPORT -#include // MFC support for Windows Common Controls -#endif // _AFX_NO_AFXCMN_SUPPORT - -#include // MFC support for ribbons and control bars - - - - - - - - - -#ifdef _UNICODE -#if defined _M_IX86 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='x86' publicKeyToken='6595b64144ccf1df' language='*'\"") -#elif defined _M_IA64 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='ia64' publicKeyToken='6595b64144ccf1df' language='*'\"") -#elif defined _M_X64 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='amd64' publicKeyToken='6595b64144ccf1df' language='*'\"") -#else -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='*' publicKeyToken='6595b64144ccf1df' language='*'\"") -#endif -#endif - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350DIOMBufWav/targetver.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350DIOMBufWav/targetver.h deleted file mode 100644 index 11730d5..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350DIOMBufWav/targetver.h +++ /dev/null @@ -1,26 +0,0 @@ - -#pragma once - -// The following macros define the minimum required platform. The minimum required platform -// is the earliest version of Windows, Internet Explorer etc. that has the necessary features to run -// your application. The macros work by enabling all features available on platform versions up to and -// including the version specified. - -// Modify the following defines if you have to target a platform prior to the ones specified below. -// Refer to MSDN for the latest info on corresponding values for different platforms. -#ifndef WINVER // Specifies that the minimum required platform is Windows Vista. -#define WINVER 0x0600 // Change this to the appropriate value to target other versions of Windows. -#endif - -#ifndef _WIN32_WINNT // Specifies that the minimum required platform is Windows Vista. -#define _WIN32_WINNT 0x0600 // Change this to the appropriate value to target other versions of Windows. -#endif - -#ifndef _WIN32_WINDOWS // Specifies that the minimum required platform is Windows 98. -#define _WIN32_WINDOWS 0x0410 // Change this to the appropriate value to target Windows Me or later. -#endif - -#ifndef _WIN32_IE // Specifies that the minimum required platform is Internet Explorer 7.0. -#define _WIN32_IE 0x0700 // Change this to the appropriate value to target other versions of IE. -#endif - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350DIOWave/7200Wav.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350DIOWave/7200Wav.suo deleted file mode 100644 index bc032e1..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350DIOWave/7200Wav.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350DIOWave/7300bWav.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350DIOWave/7300bWav.suo deleted file mode 100644 index 90ac3f3..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350DIOWave/7300bWav.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350DIOWave/7350Wav.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350DIOWave/7350Wav.cpp deleted file mode 100644 index 066dfa9..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350DIOWave/7350Wav.cpp +++ /dev/null @@ -1,110 +0,0 @@ - -// 7350Wav.cpp : Defines the class behaviors for the application. -// - -#include "stdafx.h" -#include "7350Wav.h" -#include "7350WavDlg.h" -#include "CardIDDlg.h" - -#ifdef _DEBUG -#define new DEBUG_NEW -#endif - - -// C7350WavApp - -BEGIN_MESSAGE_MAP(C7350WavApp, CWinAppEx) - ON_COMMAND(ID_HELP, &CWinApp::OnHelp) -END_MESSAGE_MAP() - - -// C7350WavApp construction - -C7350WavApp::C7350WavApp() -{ - // TODO: add construction code here, - // Place all significant initialization in InitInstance -} - - -// The one and only C7350WavApp object - -C7350WavApp theApp; - - -// C7350WavApp initialization - -BOOL C7350WavApp::InitInstance() -{ - int nCardID = 0; - I16 hCard; - CString strTemp; - INT_PTR nResponse; - - // InitCommonControlsEx() is required on Windows XP if an application - // manifest specifies use of ComCtl32.dll version 6 or later to enable - // visual styles. Otherwise, any window creation will fail. - INITCOMMONCONTROLSEX InitCtrls; - InitCtrls.dwSize = sizeof(InitCtrls); - // Set this to include all the common control classes you want to use - // in your application. - InitCtrls.dwICC = ICC_WIN95_CLASSES; - InitCommonControlsEx(&InitCtrls); - - CWinAppEx::InitInstance(); - - AfxEnableControlContainer(); - - // Standard initialization - // If you are not using these features and wish to reduce the size - // of your final executable, you should remove from the following - // the specific initialization routines you do not need - // Change the registry key under which our settings are stored - // TODO: You should modify this string to be something appropriate - // such as the name of your company or organization - SetRegistryKey(_T("Local AppWizard-Generated Applications")); - - CCardIDDlg CardDlg( nCardID ); - - nResponse = CardDlg.DoModal(); - if (nResponse == IDOK) - { - nCardID = CardDlg.GetCardID(); - - if ((hCard=Register_Card(PCI_7350, nCardID)) < 0) - { - strTemp.Format( TEXT("Register_Card Error = %d"), hCard); - AfxMessageBox( strTemp ); - } - else - { - C7350WavDlg dlg(hCard); - m_pMainWnd = &dlg; - nResponse = dlg.DoModal(); - if (nResponse == IDOK) - { - // TODO: Place code here to handle when the dialog is - // dismissed with OK - } - else if (nResponse == IDCANCEL) - { - // TODO: Place code here to handle when the dialog is - // dismissed with Cancel - } - - if (hCard >= 0) Release_Card(hCard); - } - - } - else if (nResponse == IDCANCEL) - { - // TODO: Place code here to handle when the dialog is - // dismissed with Cancel - } - - - // Since the dialog has been closed, return FALSE so that we exit the - // application, rather than start the application's message pump. - return FALSE; -} diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350DIOWave/7350Wav.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350DIOWave/7350Wav.h deleted file mode 100644 index c651b47..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350DIOWave/7350Wav.h +++ /dev/null @@ -1,32 +0,0 @@ - -// 7350Wav.h : main header file for the PROJECT_NAME application -// - -#pragma once - -#ifndef __AFXWIN_H__ - #error "include 'stdafx.h' before including this file for PCH" -#endif - -#include "resource.h" // main symbols - - -// C7350WavApp: -// See 7350Wav.cpp for the implementation of this class -// - -class C7350WavApp : public CWinAppEx -{ -public: - C7350WavApp(); - -// Overrides - public: - virtual BOOL InitInstance(); - -// Implementation - - DECLARE_MESSAGE_MAP() -}; - -extern C7350WavApp theApp; \ No newline at end of file diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350DIOWave/7350Wav.rc b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350DIOWave/7350Wav.rc deleted file mode 100644 index 458f3e6..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350DIOWave/7350Wav.rc +++ /dev/null @@ -1,281 +0,0 @@ -// Microsoft Visual C++ generated resource script. -// -#include "resource.h" - -#define APSTUDIO_READONLY_SYMBOLS -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 2 resource. -// -#ifndef APSTUDIO_INVOKED -#include "targetver.h" -#endif -#include "afxres.h" - -///////////////////////////////////////////////////////////////////////////// -#undef APSTUDIO_READONLY_SYMBOLS - -///////////////////////////////////////////////////////////////////////////// -// Chinese (Taiwan) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_CHT) -#ifdef _WIN32 -LANGUAGE LANG_CHINESE, SUBLANG_CHINESE_TRADITIONAL -#pragma code_page(950) -#endif //_WIN32 - -#ifdef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// TEXTINCLUDE -// - -1 TEXTINCLUDE -BEGIN - "resource.h\0" -END - -2 TEXTINCLUDE -BEGIN - "#ifndef APSTUDIO_INVOKED\r\n" - "#include ""targetver.h""\r\n" - "#endif\r\n" - "#include ""afxres.h""\r\n" - "\0" -END - -3 TEXTINCLUDE -BEGIN - "#define _AFX_NO_SPLITTER_RESOURCES\r\n" - "#define _AFX_NO_OLE_RESOURCES\r\n" - "#define _AFX_NO_TRACKER_RESOURCES\r\n" - "#define _AFX_NO_PROPERTY_RESOURCES\r\n" - "\r\n" - "#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)\r\n" - "LANGUAGE 9, 1\r\n" - "#pragma code_page(1252)\r\n" - "#include ""res\\My7350Wav.rc2"" // non-Microsoft Visual C++ edited resources\r\n" - "#include ""afxres.rc"" // Standard components\r\n" - "#endif\r\n" - "\0" -END - -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// Icon -// - -// Icon with lowest ID value placed first to ensure application icon -// remains consistent on all systems. -IDR_MAINFRAME ICON "res\\7350Wav.ico" -#endif // Chinese (Taiwan) resources -///////////////////////////////////////////////////////////////////////////// - - -///////////////////////////////////////////////////////////////////////////// -// English (U.S.) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -#ifdef _WIN32 -LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US -#pragma code_page(1252) -#endif //_WIN32 - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog -// - -IDD_ABOUTBOX DIALOGEX 0, 0, 170, 62 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "About 7350Wav" -FONT 8, "MS Shell Dlg", 0, 0, 0x1 -BEGIN - ICON IDR_MAINFRAME,IDC_STATIC,14,14,21,20 - LTEXT "7350Wav, Version 1.0",IDC_STATIC,42,14,114,8,SS_NOPREFIX - LTEXT "Copyright (C) 2010",IDC_STATIC,42,26,114,8 - DEFPUSHBUTTON "OK",IDOK,113,41,50,14,WS_GROUP -END - -IDD_MY7350Wav_DIALOG DIALOGEX 0, 0, 376, 248 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU -EXSTYLE WS_EX_APPWINDOW -CAPTION "PCI-7350 DMA" -FONT 8, "MS Shell Dlg", 0, 0, 0x1 -BEGIN - GROUPBOX "",IDC_STATIC_DRAW,71,54,293,138,NOT WS_VISIBLE - EDITTEXT IDC_EDIT_SAMPLE,230,200,51,12,ES_AUTOHSCROLL - LTEXT "DI Samples :",IDC_STATIC,181,201,45,9 - PUSHBUTTON "Start",IDC_BT_START,315,198,48,17 - PUSHBUTTON "Stop",IDC_BT_STOP,315,217,48,17 - LTEXT "The configuration is set as DI16DO16.\nINPUT_PORT: P7350_DIO_A and P7350_DIO_C\nOUTPUT_PORT: P7350_DIO_B and P7350_DIO_D.",IDC_STATIC,13,1,343,26 - LTEXT "This sample performs DMA DI is 50MHz and DMA DO in 5MHz rate simultaneously. The output data is a sine wave. The input data is shown in panel below.",IDC_STATIC,14,30,343,20 -END - -IDD_CARDID_DIALOG DIALOGEX 0, 0, 170, 89 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "Card ID" -FONT 8, "MS Shell Dlg", 400, 0, 0x1 -BEGIN - COMBOBOX IDC_COMBO_CARDID,75,17,71,126,CBS_DROPDOWN | WS_VSCROLL | WS_TABSTOP - LTEXT "Card Number",IDC_STATIC_01,21,18,46,12 - PUSHBUTTON "OK",IDOK,22,50,58,19 - PUSHBUTTON "CANCEL",IDCANCEL,86,50,58,19 -END - - -///////////////////////////////////////////////////////////////////////////// -// -// Version -// - -VS_VERSION_INFO VERSIONINFO - FILEVERSION 1,0,0,1 - PRODUCTVERSION 1,0,0,1 - FILEFLAGSMASK 0x3fL -#ifdef _DEBUG - FILEFLAGS 0x1L -#else - FILEFLAGS 0x0L -#endif - FILEOS 0x4L - FILETYPE 0x1L - FILESUBTYPE 0x0L -BEGIN - BLOCK "StringFileInfo" - BEGIN - BLOCK "040904e4" - BEGIN - VALUE "CompanyName", "TODO: " - VALUE "FileDescription", "TODO: " - VALUE "FileVersion", "1.0.0.1" - VALUE "InternalName", "7350Wav.exe" - VALUE "LegalCopyright", "TODO: (c) . All rights reserved." - VALUE "OriginalFilename", "7350Wav.exe" - VALUE "ProductName", "TODO: " - VALUE "ProductVersion", "1.0.0.1" - END - END - BLOCK "VarFileInfo" - BEGIN - VALUE "Translation", 0x409, 1252 - END -END - - -///////////////////////////////////////////////////////////////////////////// -// -// DESIGNINFO -// - -#ifdef APSTUDIO_INVOKED -GUIDELINES DESIGNINFO -BEGIN - IDD_ABOUTBOX, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 163 - TOPMARGIN, 7 - BOTTOMMARGIN, 55 - END - - IDD_MY7350Wav_DIALOG, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 369 - TOPMARGIN, 7 - BOTTOMMARGIN, 241 - END - - IDD_CARDID_DIALOG, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 163 - TOPMARGIN, 7 - BOTTOMMARGIN, 82 - END -END -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog Info -// - -IDD_CARDID_DIALOG DLGINIT -BEGIN - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0030, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0031, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0032, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0033, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0034, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0035, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0036, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0037, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0038, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0039, - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3031, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3131, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3231, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3331, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3431, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3531, "\000" - 0 -END - - -///////////////////////////////////////////////////////////////////////////// -// -// String Table -// - -STRINGTABLE -BEGIN - IDS_ABOUTBOX "&About 7350Wav..." -END - -#endif // English (U.S.) resources -///////////////////////////////////////////////////////////////////////////// - - - -#ifndef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 3 resource. -// -#define _AFX_NO_SPLITTER_RESOURCES -#define _AFX_NO_OLE_RESOURCES -#define _AFX_NO_TRACKER_RESOURCES -#define _AFX_NO_PROPERTY_RESOURCES - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -LANGUAGE 9, 1 -#pragma code_page(1252) -#include "res\My7350Wav.rc2" // non-Microsoft Visual C++ edited resources -#include "afxres.rc" // Standard components -#endif - -///////////////////////////////////////////////////////////////////////////// -#endif // not APSTUDIO_INVOKED - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350DIOWave/7350Wav.sln b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350DIOWave/7350Wav.sln deleted file mode 100644 index b727fc7..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350DIOWave/7350Wav.sln +++ /dev/null @@ -1,20 +0,0 @@ - -Microsoft Visual Studio Solution File, Format Version 10.00 -# Visual Studio 2008 -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "7350Wav", "7350Wav.vcproj", "{EBDB6610-7CE5-413C-A150-121068BFDB22}" -EndProject -Global - GlobalSection(SolutionConfigurationPlatforms) = preSolution - Debug|x64 = Debug|x64 - Release|x64 = Release|x64 - EndGlobalSection - GlobalSection(ProjectConfigurationPlatforms) = postSolution - {EBDB6610-7CE5-413C-A150-121068BFDB22}.Debug|x64.ActiveCfg = Debug|x64 - {EBDB6610-7CE5-413C-A150-121068BFDB22}.Debug|x64.Build.0 = Debug|x64 - {EBDB6610-7CE5-413C-A150-121068BFDB22}.Release|x64.ActiveCfg = Release|x64 - {EBDB6610-7CE5-413C-A150-121068BFDB22}.Release|x64.Build.0 = Release|x64 - EndGlobalSection - GlobalSection(SolutionProperties) = preSolution - HideSolutionNode = FALSE - EndGlobalSection -EndGlobal diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350DIOWave/7350Wav.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350DIOWave/7350Wav.suo deleted file mode 100644 index bcd2ded..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350DIOWave/7350Wav.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350DIOWave/7350Wav.vcproj b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350DIOWave/7350Wav.vcproj deleted file mode 100644 index 05476c4..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350DIOWave/7350Wav.vcproj +++ /dev/null @@ -1,286 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350DIOWave/7350WavDlg.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350DIOWave/7350WavDlg.cpp deleted file mode 100644 index 28c7858..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350DIOWave/7350WavDlg.cpp +++ /dev/null @@ -1,531 +0,0 @@ - -// 7350WavDlg.cpp : implementation file -// - -#include "stdafx.h" -#include "7350Wav.h" -#include "7350WavDlg.h" -#include "math.h" - -#ifndef M_PI -#define M_PI 3.14159265359 -#endif - -#define MAX_SIZE 1024000 //in words - -#ifdef _DEBUG -#define new DEBUG_NEW -#endif - -CRect plotRect; - -#define PCI7350_DIO_STATUS_TIMER 1 - -U16 gInBuf[MAX_SIZE], gOutBuf[MAX_SIZE]; - -// CAboutDlg dialog used for App About - -class CAboutDlg : public CDialog -{ -public: - CAboutDlg(); - -// Dialog Data - enum { IDD = IDD_ABOUTBOX }; - - protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - -// Implementation -protected: - DECLARE_MESSAGE_MAP() -}; - -CAboutDlg::CAboutDlg() : CDialog(CAboutDlg::IDD) -{ -} - -void CAboutDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); -} - -BEGIN_MESSAGE_MAP(CAboutDlg, CDialog) -END_MESSAGE_MAP() - - -// C7350WavDlg dialog - - -C7350WavDlg::C7350WavDlg(I16 hCard, CWnd* pParent /*=NULL*/) - : CDialog(C7350WavDlg::IDD, pParent) -{ - m_hIcon = AfxGetApp()->LoadIcon(IDR_MAINFRAME); - - m_hCard = hCard; - - OnBrush = OffBrush = NULL; - - n_PlotWidth = -1; - n_PlotHeight = -1; - - min_val = 0x00; - max_val = 0xFFFF; - - m_dwDISamples = 512000; - - m_nTimer = -1; - -} - -void C7350WavDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); -} - -BEGIN_MESSAGE_MAP(C7350WavDlg, CDialog) - ON_WM_SYSCOMMAND() - ON_WM_PAINT() - ON_WM_QUERYDRAGICON() - //}}AFX_MSG_MAP - ON_WM_DESTROY() - ON_BN_CLICKED(IDC_BT_START, &C7350WavDlg::OnStart) - ON_BN_CLICKED(IDC_BT_STOP, &C7350WavDlg::OnStop) - ON_WM_TIMER() -// ON_WM_VSCROLL() -END_MESSAGE_MAP() - - -// C7350WavDlg message handlers - -BOOL C7350WavDlg::OnInitDialog() -{ - I16 err; - int i; - CString strTemp; - - CDialog::OnInitDialog(); - - // Add "About..." menu item to system menu. - - // IDM_ABOUTBOX must be in the system command range. - ASSERT((IDM_ABOUTBOX & 0xFFF0) == IDM_ABOUTBOX); - ASSERT(IDM_ABOUTBOX < 0xF000); - - CMenu* pSysMenu = GetSystemMenu(FALSE); - if (pSysMenu != NULL) - { - BOOL bNameValid; - CString strAboutMenu; - bNameValid = strAboutMenu.LoadString(IDS_ABOUTBOX); - ASSERT(bNameValid); - if (!strAboutMenu.IsEmpty()) - { - pSysMenu->AppendMenu(MF_SEPARATOR); - pSysMenu->AppendMenu(MF_STRING, IDM_ABOUTBOX, strAboutMenu); - } - } - - // Set the icon for this dialog. The framework does this automatically - // when the application's main window is not a dialog - SetIcon(m_hIcon, TRUE); // Set big icon - SetIcon(m_hIcon, FALSE); // Set small icon - - // TODO: Add extra initialization here - x_divider = 5; y_divider = 2; - - OnBrush = CreateSolidBrush( RGB(255,0,0) ); - OffBrush = CreateSolidBrush( RGB(125,0,0) ); - - RedPen.CreatePen( PS_SOLID, 1, RGB(255,0,0)); - GreenPen.CreatePen( PS_SOLID, 1, RGB(0,255,0)); - - if( n_PlotWidth == -1 && n_PlotHeight == -1 ) - { - ((CWnd*)GetDlgItem(IDC_STATIC_DRAW))->GetWindowRect(&plotRect); - ScreenToClient(&plotRect); - - n_PlotWidth = min( plotRect.Width(), 512); - n_PlotHeight = plotRect.Height() - 10; - } - - - // Set the default DI Sample - SetDlgItemInt( IDC_EDIT_SAMPLE, (UINT)(m_dwDISamples) ); - - err = DIO_VoltLevelConfig(m_hCard, P7350_PortDIO, VoltLevel_3R3); - if( err!=NoError ) - { - strTemp.Format( TEXT("DIO_VoltLevelConfig Error = %d"), err); - AfxMessageBox( strTemp ); - return TRUE; - } - - /* - * Set Input or Output for DIO Port - */ - err = DIO_PortConfig(m_hCard, P7350_DIO_A, INPUT_PORT); - if( err!=NoError ) - { - strTemp.Format( TEXT("DIO_PortConfig(P7350_DIO_A) Error = %d"), err); - AfxMessageBox( strTemp ); - return TRUE; - } - - err = DIO_PortConfig(m_hCard, P7350_DIO_B, OUTPUT_PORT); - if( err!=NoError ) - { - strTemp.Format( TEXT("DIO_PortConfig(P7350_DIO_B) Error = %d"), err); - AfxMessageBox( strTemp ); - return TRUE; - } - err = DIO_PortConfig(m_hCard, P7350_DIO_C, INPUT_PORT); - if( err!=NoError ) - { - strTemp.Format( TEXT("DIO_PortConfig(P7350_DIO_C) Error = %d"), err); - AfxMessageBox( strTemp ); - return TRUE; - } - err = DIO_PortConfig(m_hCard, P7350_DIO_D, OUTPUT_PORT); - if( err!=NoError ) - { - strTemp.Format( TEXT("DIO_PortConfig(P7350_DIO_D) Error = %d"), err); - AfxMessageBox( strTemp ); - return TRUE; - } - - - /* - * Set DI Configurations - */ - err = DI_7350_Config(m_hCard, 16, P7350_FreeRun, P7350_WAIT_NO, P7350_IntSampledCLK); - if( err!=NoError ) - { - strTemp.Format( TEXT("DI_7350_Config() Error = %d"), err); - AfxMessageBox( strTemp ); - return TRUE; - } - - /* - * Set DO Configurations - */ - err = DO_7350_Config(m_hCard, 16, P7350_FreeRun, P7350_WAIT_NO, P7350_IntSampledCLK); - if( err!=NoError ) - { - strTemp.Format( TEXT("DO_7350_Config() Error = %d"), err); - AfxMessageBox( strTemp ); - return TRUE; - } - - for (i=0; i(dc.GetSafeHdc()), 0); - - // Center icon in client rectangle - int cxIcon = GetSystemMetrics(SM_CXICON); - int cyIcon = GetSystemMetrics(SM_CYICON); - CRect rect; - GetClientRect(&rect); - int x = (rect.Width() - cxIcon + 1) / 2; - int y = (rect.Height() - cyIcon + 1) / 2; - - // Draw the icon - dc.DrawIcon(x, y, m_hIcon); - } - else - { - redraw_display_area(); - CDialog::OnPaint(); - } -} - -// The system calls this function to obtain the cursor to display while the user drags -// the minimized window. -HCURSOR C7350WavDlg::OnQueryDragIcon() -{ - return static_cast(m_hIcon); -} - - -void C7350WavDlg::OnDestroy() -{ - U32 count; - - CDialog::OnDestroy(); - - // TODO: Add your message handler code here - if( OnBrush != NULL ) - ::DeleteObject( OnBrush ); - - if( OffBrush != NULL ) - ::DeleteObject( OffBrush ); - - RedPen.DeleteObject(); - GreenPen.DeleteObject(); - - if( m_nTimer != -1 ) - { - KillTimer( m_nTimer ); - m_nTimer = -1; - } - - DI_AsyncClear( m_hCard, &count ); -} - -void C7350WavDlg::OnStart() -{ - // TODO: Add your control notification handler code here - U32 dwDISamples; - I16 err; - CString strMsg; - - dwDISamples = GetDlgItemInt( IDC_EDIT_SAMPLE ); - - if( dwDISamples > MAX_SIZE) - { - m_dwDISamples = MAX_SIZE; //at most 1000K samples DMA - AfxMessageBox(TEXT("This sample supports at most 1000K words DMA transfer\nOnly perform 100K words DMA transfer.")); - } - else if( (dwDISamples %4) != 0 ) - { - AfxMessageBox(TEXT("Misalignment error, the input buffer must be 32-bit alignment ")); - - } - else - { - m_dwDISamples = dwDISamples; - } - - - err = DO_ContWritePort(m_hCard, 0, gOutBuf, m_dwDISamples, 1, 5000000, ASYNCH_OP); - if(err!=NoError) - { - strMsg.Format(TEXT("DO_ContWritePort Error = %d"), err); - AfxMessageBox( strMsg ); - return; - } - - err = DI_ContReadPort (m_hCard, 0, gInBuf, m_dwDISamples, 50000000, ASYNCH_OP); - if (err < 0) - { - strMsg.Format(TEXT("DI_ContReadPort Error = %d"), err); - AfxMessageBox( strMsg ); - return; - } - - - // clear display area - redraw_display_area(); - - if( m_nTimer == -1 ) - { - m_nTimer = SetTimer( PCI7350_DIO_STATUS_TIMER, 50, NULL ); - } - - GetDlgItem( IDC_BT_START )->EnableWindow( FALSE ); - GetDlgItem( IDC_BT_STOP )->EnableWindow( TRUE ); - -} - -void C7350WavDlg::OnStop() -{ - // TODO: Add your control notification handler code here - U32 count; - - DI_AsyncClear(m_hCard, &count); - DO_AsyncClear(m_hCard, &count); - - GetDlgItem( IDC_BT_START )->EnableWindow( TRUE ); - GetDlgItem( IDC_BT_STOP )->EnableWindow( FALSE); -} - -void C7350WavDlg::OnTimer(UINT_PTR nIDEvent) -{ - // TODO: Add your message handler code here and/or call default - BOOLEAN bDIStopped, bDOStopped; - U32 count; - I16 err; - - - err = DO_AsyncCheck( m_hCard, &bDOStopped, &count ); - if( bDOStopped ) - { - // reset the Button status - err = DO_AsyncClear( m_hCard, &count ); - } - - err = DI_AsyncCheck( m_hCard, &bDIStopped, &count ); - if( bDIStopped ) - { - // stop timer - KillTimer( m_nTimer ); - m_nTimer = -1; - - // reset the Button status - GetDlgItem( IDC_BT_START )->EnableWindow( TRUE ); - GetDlgItem( IDC_BT_STOP )->EnableWindow( FALSE ); - - err = DI_AsyncClear( m_hCard, &count ); - err = DO_AsyncClear( m_hCard, &count ); - - display_buffer_data(gInBuf); - } - - CDialog::OnTimer(nIDEvent); -} - - -void C7350WavDlg::display_buffer_data(U16* pBuf) -{ - CClientDC dc_plot(this); - int nDraw_Bottom; - - int newY, oldY = -1; - int newX, oldX = -1; - U32 index, di_data; - - nDraw_Bottom = ( plotRect.bottom - 5 ); - dc_plot.SelectObject( &GreenPen ); - - for( index=0; index // MFC core and standard components -#include // MFC extensions - - -#include // MFC Automation classes - - - -#ifndef _AFX_NO_OLE_SUPPORT -#include // MFC support for Internet Explorer 4 Common Controls -#endif -#ifndef _AFX_NO_AFXCMN_SUPPORT -#include // MFC support for Windows Common Controls -#endif // _AFX_NO_AFXCMN_SUPPORT - -#include // MFC support for ribbons and control bars - - - - - - - - - -#ifdef _UNICODE -#if defined _M_IX86 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='x86' publicKeyToken='6595b64144ccf1df' language='*'\"") -#elif defined _M_IA64 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='ia64' publicKeyToken='6595b64144ccf1df' language='*'\"") -#elif defined _M_X64 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='amd64' publicKeyToken='6595b64144ccf1df' language='*'\"") -#else -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='*' publicKeyToken='6595b64144ccf1df' language='*'\"") -#endif -#endif - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350DIOWave/targetver.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350DIOWave/targetver.h deleted file mode 100644 index 11730d5..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350DIOWave/targetver.h +++ /dev/null @@ -1,26 +0,0 @@ - -#pragma once - -// The following macros define the minimum required platform. The minimum required platform -// is the earliest version of Windows, Internet Explorer etc. that has the necessary features to run -// your application. The macros work by enabling all features available on platform versions up to and -// including the version specified. - -// Modify the following defines if you have to target a platform prior to the ones specified below. -// Refer to MSDN for the latest info on corresponding values for different platforms. -#ifndef WINVER // Specifies that the minimum required platform is Windows Vista. -#define WINVER 0x0600 // Change this to the appropriate value to target other versions of Windows. -#endif - -#ifndef _WIN32_WINNT // Specifies that the minimum required platform is Windows Vista. -#define _WIN32_WINNT 0x0600 // Change this to the appropriate value to target other versions of Windows. -#endif - -#ifndef _WIN32_WINDOWS // Specifies that the minimum required platform is Windows 98. -#define _WIN32_WINDOWS 0x0410 // Change this to the appropriate value to target Windows Me or later. -#endif - -#ifndef _WIN32_IE // Specifies that the minimum required platform is Internet Explorer 7.0. -#define _WIN32_IE 0x0700 // Change this to the appropriate value to target other versions of IE. -#endif - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350DI_ExtClk/7200Wav.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350DI_ExtClk/7200Wav.suo deleted file mode 100644 index bc032e1..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350DI_ExtClk/7200Wav.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350DI_ExtClk/7300bWav.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350DI_ExtClk/7300bWav.suo deleted file mode 100644 index 90ac3f3..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350DI_ExtClk/7300bWav.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350DI_ExtClk/7350Wav.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350DI_ExtClk/7350Wav.cpp deleted file mode 100644 index 066dfa9..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350DI_ExtClk/7350Wav.cpp +++ /dev/null @@ -1,110 +0,0 @@ - -// 7350Wav.cpp : Defines the class behaviors for the application. -// - -#include "stdafx.h" -#include "7350Wav.h" -#include "7350WavDlg.h" -#include "CardIDDlg.h" - -#ifdef _DEBUG -#define new DEBUG_NEW -#endif - - -// C7350WavApp - -BEGIN_MESSAGE_MAP(C7350WavApp, CWinAppEx) - ON_COMMAND(ID_HELP, &CWinApp::OnHelp) -END_MESSAGE_MAP() - - -// C7350WavApp construction - -C7350WavApp::C7350WavApp() -{ - // TODO: add construction code here, - // Place all significant initialization in InitInstance -} - - -// The one and only C7350WavApp object - -C7350WavApp theApp; - - -// C7350WavApp initialization - -BOOL C7350WavApp::InitInstance() -{ - int nCardID = 0; - I16 hCard; - CString strTemp; - INT_PTR nResponse; - - // InitCommonControlsEx() is required on Windows XP if an application - // manifest specifies use of ComCtl32.dll version 6 or later to enable - // visual styles. Otherwise, any window creation will fail. - INITCOMMONCONTROLSEX InitCtrls; - InitCtrls.dwSize = sizeof(InitCtrls); - // Set this to include all the common control classes you want to use - // in your application. - InitCtrls.dwICC = ICC_WIN95_CLASSES; - InitCommonControlsEx(&InitCtrls); - - CWinAppEx::InitInstance(); - - AfxEnableControlContainer(); - - // Standard initialization - // If you are not using these features and wish to reduce the size - // of your final executable, you should remove from the following - // the specific initialization routines you do not need - // Change the registry key under which our settings are stored - // TODO: You should modify this string to be something appropriate - // such as the name of your company or organization - SetRegistryKey(_T("Local AppWizard-Generated Applications")); - - CCardIDDlg CardDlg( nCardID ); - - nResponse = CardDlg.DoModal(); - if (nResponse == IDOK) - { - nCardID = CardDlg.GetCardID(); - - if ((hCard=Register_Card(PCI_7350, nCardID)) < 0) - { - strTemp.Format( TEXT("Register_Card Error = %d"), hCard); - AfxMessageBox( strTemp ); - } - else - { - C7350WavDlg dlg(hCard); - m_pMainWnd = &dlg; - nResponse = dlg.DoModal(); - if (nResponse == IDOK) - { - // TODO: Place code here to handle when the dialog is - // dismissed with OK - } - else if (nResponse == IDCANCEL) - { - // TODO: Place code here to handle when the dialog is - // dismissed with Cancel - } - - if (hCard >= 0) Release_Card(hCard); - } - - } - else if (nResponse == IDCANCEL) - { - // TODO: Place code here to handle when the dialog is - // dismissed with Cancel - } - - - // Since the dialog has been closed, return FALSE so that we exit the - // application, rather than start the application's message pump. - return FALSE; -} diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350DI_ExtClk/7350Wav.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350DI_ExtClk/7350Wav.h deleted file mode 100644 index c651b47..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350DI_ExtClk/7350Wav.h +++ /dev/null @@ -1,32 +0,0 @@ - -// 7350Wav.h : main header file for the PROJECT_NAME application -// - -#pragma once - -#ifndef __AFXWIN_H__ - #error "include 'stdafx.h' before including this file for PCH" -#endif - -#include "resource.h" // main symbols - - -// C7350WavApp: -// See 7350Wav.cpp for the implementation of this class -// - -class C7350WavApp : public CWinAppEx -{ -public: - C7350WavApp(); - -// Overrides - public: - virtual BOOL InitInstance(); - -// Implementation - - DECLARE_MESSAGE_MAP() -}; - -extern C7350WavApp theApp; \ No newline at end of file diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350DI_ExtClk/7350Wav.rc b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350DI_ExtClk/7350Wav.rc deleted file mode 100644 index ef3003b..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350DI_ExtClk/7350Wav.rc +++ /dev/null @@ -1,282 +0,0 @@ -// Microsoft Visual C++ generated resource script. -// -#include "resource.h" - -#define APSTUDIO_READONLY_SYMBOLS -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 2 resource. -// -#ifndef APSTUDIO_INVOKED -#include "targetver.h" -#endif -#include "afxres.h" - -///////////////////////////////////////////////////////////////////////////// -#undef APSTUDIO_READONLY_SYMBOLS - -///////////////////////////////////////////////////////////////////////////// -// Chinese (Taiwan) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_CHT) -#ifdef _WIN32 -LANGUAGE LANG_CHINESE, SUBLANG_CHINESE_TRADITIONAL -#pragma code_page(950) -#endif //_WIN32 - -#ifdef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// TEXTINCLUDE -// - -1 TEXTINCLUDE -BEGIN - "resource.h\0" -END - -2 TEXTINCLUDE -BEGIN - "#ifndef APSTUDIO_INVOKED\r\n" - "#include ""targetver.h""\r\n" - "#endif\r\n" - "#include ""afxres.h""\r\n" - "\0" -END - -3 TEXTINCLUDE -BEGIN - "#define _AFX_NO_SPLITTER_RESOURCES\r\n" - "#define _AFX_NO_OLE_RESOURCES\r\n" - "#define _AFX_NO_TRACKER_RESOURCES\r\n" - "#define _AFX_NO_PROPERTY_RESOURCES\r\n" - "\r\n" - "#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)\r\n" - "LANGUAGE 9, 1\r\n" - "#pragma code_page(1252)\r\n" - "#include ""res\\My7350Wav.rc2"" // non-Microsoft Visual C++ edited resources\r\n" - "#include ""afxres.rc"" // Standard components\r\n" - "#endif\r\n" - "\0" -END - -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// Icon -// - -// Icon with lowest ID value placed first to ensure application icon -// remains consistent on all systems. -IDR_MAINFRAME ICON "res\\7350Wav.ico" -#endif // Chinese (Taiwan) resources -///////////////////////////////////////////////////////////////////////////// - - -///////////////////////////////////////////////////////////////////////////// -// English (U.S.) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -#ifdef _WIN32 -LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US -#pragma code_page(1252) -#endif //_WIN32 - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog -// - -IDD_ABOUTBOX DIALOGEX 0, 0, 170, 62 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "About 7350Wav" -FONT 8, "MS Shell Dlg", 0, 0, 0x1 -BEGIN - ICON IDR_MAINFRAME,IDC_STATIC,14,14,21,20 - LTEXT "7350Wav, Version 1.0",IDC_STATIC,42,14,114,8,SS_NOPREFIX - LTEXT "Copyright (C) 2010",IDC_STATIC,42,26,114,8 - DEFPUSHBUTTON "OK",IDOK,113,41,50,14,WS_GROUP -END - -IDD_MY7350Wav_DIALOG DIALOGEX 0, 0, 348, 268 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU -EXSTYLE WS_EX_APPWINDOW -CAPTION "PCI-7350 DMA" -FONT 8, "MS Shell Dlg", 0, 0, 0x1 -BEGIN - GROUPBOX "",IDC_STATIC_DRAW,46,80,293,138,NOT WS_VISIBLE - EDITTEXT IDC_EDIT_SAMPLE,206,226,51,12,ES_AUTOHSCROLL - LTEXT "DI Samples :",IDC_STATIC,157,227,45,9 - PUSHBUTTON "Start",IDC_BT_START,291,224,48,17 - PUSHBUTTON "Stop",IDC_BT_STOP,291,243,48,17 - LTEXT "The sample performs DIO Handshake operation.\nDIO port A/C are configured as the DO port and\nDIO port B/D are configured as the DI port.\n",IDC_STATIC,16,6,158,26 - LTEXT "AFI2 and AFI4 are set to be as DO_REQ and DO_ACK while AFI3 and AFI5 are set to be as DI_REQ and DI_ACK.\nAnd DO is set to enable software trigger out (AFI0) to be as the DI_TRIG source (AFI1).",IDC_STATIC,14,38,198,34 - LTEXT "Please connect AFI0 <---> AFI1\n AFI2 <---> AFI3\n AFI4 <---> AFI5\n AFI6 <---> AFI7",IDC_STATIC,210,8,124,51 -END - -IDD_CARDID_DIALOG DIALOGEX 0, 0, 170, 89 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "Card ID" -FONT 8, "MS Shell Dlg", 400, 0, 0x1 -BEGIN - COMBOBOX IDC_COMBO_CARDID,75,17,71,126,CBS_DROPDOWN | WS_VSCROLL | WS_TABSTOP - LTEXT "Card Number",IDC_STATIC_01,21,18,46,12 - PUSHBUTTON "OK",IDOK,22,50,58,19 - PUSHBUTTON "CANCEL",IDCANCEL,86,50,58,19 -END - - -///////////////////////////////////////////////////////////////////////////// -// -// Version -// - -VS_VERSION_INFO VERSIONINFO - FILEVERSION 1,0,0,1 - PRODUCTVERSION 1,0,0,1 - FILEFLAGSMASK 0x3fL -#ifdef _DEBUG - FILEFLAGS 0x1L -#else - FILEFLAGS 0x0L -#endif - FILEOS 0x4L - FILETYPE 0x1L - FILESUBTYPE 0x0L -BEGIN - BLOCK "StringFileInfo" - BEGIN - BLOCK "040904e4" - BEGIN - VALUE "CompanyName", "TODO: " - VALUE "FileDescription", "TODO: " - VALUE "FileVersion", "1.0.0.1" - VALUE "InternalName", "7350Wav.exe" - VALUE "LegalCopyright", "TODO: (c) . All rights reserved." - VALUE "OriginalFilename", "7350Wav.exe" - VALUE "ProductName", "TODO: " - VALUE "ProductVersion", "1.0.0.1" - END - END - BLOCK "VarFileInfo" - BEGIN - VALUE "Translation", 0x409, 1252 - END -END - - -///////////////////////////////////////////////////////////////////////////// -// -// DESIGNINFO -// - -#ifdef APSTUDIO_INVOKED -GUIDELINES DESIGNINFO -BEGIN - IDD_ABOUTBOX, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 163 - TOPMARGIN, 7 - BOTTOMMARGIN, 55 - END - - IDD_MY7350Wav_DIALOG, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 341 - TOPMARGIN, 7 - BOTTOMMARGIN, 261 - END - - IDD_CARDID_DIALOG, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 163 - TOPMARGIN, 7 - BOTTOMMARGIN, 82 - END -END -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog Info -// - -IDD_CARDID_DIALOG DLGINIT -BEGIN - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0030, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0031, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0032, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0033, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0034, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0035, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0036, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0037, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0038, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0039, - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3031, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3131, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3231, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3331, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3431, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3531, "\000" - 0 -END - - -///////////////////////////////////////////////////////////////////////////// -// -// String Table -// - -STRINGTABLE -BEGIN - IDS_ABOUTBOX "&About 7350Wav..." -END - -#endif // English (U.S.) resources -///////////////////////////////////////////////////////////////////////////// - - - -#ifndef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 3 resource. -// -#define _AFX_NO_SPLITTER_RESOURCES -#define _AFX_NO_OLE_RESOURCES -#define _AFX_NO_TRACKER_RESOURCES -#define _AFX_NO_PROPERTY_RESOURCES - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -LANGUAGE 9, 1 -#pragma code_page(1252) -#include "res\My7350Wav.rc2" // non-Microsoft Visual C++ edited resources -#include "afxres.rc" // Standard components -#endif - -///////////////////////////////////////////////////////////////////////////// -#endif // not APSTUDIO_INVOKED - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350DI_ExtClk/7350Wav.sln b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350DI_ExtClk/7350Wav.sln deleted file mode 100644 index b727fc7..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350DI_ExtClk/7350Wav.sln +++ /dev/null @@ -1,20 +0,0 @@ - -Microsoft Visual Studio Solution File, Format Version 10.00 -# Visual Studio 2008 -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "7350Wav", "7350Wav.vcproj", "{EBDB6610-7CE5-413C-A150-121068BFDB22}" -EndProject -Global - GlobalSection(SolutionConfigurationPlatforms) = preSolution - Debug|x64 = Debug|x64 - Release|x64 = Release|x64 - EndGlobalSection - GlobalSection(ProjectConfigurationPlatforms) = postSolution - {EBDB6610-7CE5-413C-A150-121068BFDB22}.Debug|x64.ActiveCfg = Debug|x64 - {EBDB6610-7CE5-413C-A150-121068BFDB22}.Debug|x64.Build.0 = Debug|x64 - {EBDB6610-7CE5-413C-A150-121068BFDB22}.Release|x64.ActiveCfg = Release|x64 - {EBDB6610-7CE5-413C-A150-121068BFDB22}.Release|x64.Build.0 = Release|x64 - EndGlobalSection - GlobalSection(SolutionProperties) = preSolution - HideSolutionNode = FALSE - EndGlobalSection -EndGlobal diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350DI_ExtClk/7350Wav.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350DI_ExtClk/7350Wav.suo deleted file mode 100644 index 636f503..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350DI_ExtClk/7350Wav.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350DI_ExtClk/7350Wav.vcproj b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350DI_ExtClk/7350Wav.vcproj deleted file mode 100644 index cdbf33c..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350DI_ExtClk/7350Wav.vcproj +++ /dev/null @@ -1,286 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350DI_ExtClk/7350WavDlg.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350DI_ExtClk/7350WavDlg.cpp deleted file mode 100644 index f2814d8..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350DI_ExtClk/7350WavDlg.cpp +++ /dev/null @@ -1,611 +0,0 @@ - -// 7350WavDlg.cpp : implementation file -// - -#include "stdafx.h" -#include "7350Wav.h" -#include "7350WavDlg.h" -#include "math.h" - -#ifndef M_PI -#define M_PI 3.14159265359 -#endif - -#define MAX_SIZE 1024000 //in words - -#ifdef _DEBUG -#define new DEBUG_NEW -#endif - -CRect plotRect; - -#define PCI7350_DIO_STATUS_TIMER 1 - -U16 gInBuf[MAX_SIZE], gOutBuf[MAX_SIZE]; - -// CAboutDlg dialog used for App About - -class CAboutDlg : public CDialog -{ -public: - CAboutDlg(); - -// Dialog Data - enum { IDD = IDD_ABOUTBOX }; - - protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - -// Implementation -protected: - DECLARE_MESSAGE_MAP() -}; - -CAboutDlg::CAboutDlg() : CDialog(CAboutDlg::IDD) -{ -} - -void CAboutDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); -} - -BEGIN_MESSAGE_MAP(CAboutDlg, CDialog) -END_MESSAGE_MAP() - - -// C7350WavDlg dialog - - -C7350WavDlg::C7350WavDlg(I16 hCard, CWnd* pParent /*=NULL*/) - : CDialog(C7350WavDlg::IDD, pParent) -{ - m_hIcon = AfxGetApp()->LoadIcon(IDR_MAINFRAME); - - m_hCard = hCard; - - OnBrush = OffBrush = NULL; - - n_PlotWidth = -1; - n_PlotHeight = -1; - - min_val = 0x00; - max_val = 0xFFFF; - - m_dwDISamples = 65536; - - m_nTimer = -1; - -} - -void C7350WavDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); -} - -BEGIN_MESSAGE_MAP(C7350WavDlg, CDialog) - ON_WM_SYSCOMMAND() - ON_WM_PAINT() - ON_WM_QUERYDRAGICON() - //}}AFX_MSG_MAP - ON_WM_DESTROY() - ON_BN_CLICKED(IDC_BT_START, &C7350WavDlg::OnStart) - ON_BN_CLICKED(IDC_BT_STOP, &C7350WavDlg::OnStop) - ON_WM_TIMER() -// ON_WM_VSCROLL() -END_MESSAGE_MAP() - - -// C7350WavDlg message handlers - -BOOL C7350WavDlg::OnInitDialog() -{ - I16 err; - int i; - CString strTemp; - - CDialog::OnInitDialog(); - - // Add "About..." menu item to system menu. - - // IDM_ABOUTBOX must be in the system command range. - ASSERT((IDM_ABOUTBOX & 0xFFF0) == IDM_ABOUTBOX); - ASSERT(IDM_ABOUTBOX < 0xF000); - - CMenu* pSysMenu = GetSystemMenu(FALSE); - if (pSysMenu != NULL) - { - BOOL bNameValid; - CString strAboutMenu; - bNameValid = strAboutMenu.LoadString(IDS_ABOUTBOX); - ASSERT(bNameValid); - if (!strAboutMenu.IsEmpty()) - { - pSysMenu->AppendMenu(MF_SEPARATOR); - pSysMenu->AppendMenu(MF_STRING, IDM_ABOUTBOX, strAboutMenu); - } - } - - // Set the icon for this dialog. The framework does this automatically - // when the application's main window is not a dialog - SetIcon(m_hIcon, TRUE); // Set big icon - SetIcon(m_hIcon, FALSE); // Set small icon - - // TODO: Add extra initialization here - x_divider = 5; y_divider = 2; - - OnBrush = CreateSolidBrush( RGB(255,0,0) ); - OffBrush = CreateSolidBrush( RGB(125,0,0) ); - - RedPen.CreatePen( PS_SOLID, 1, RGB(255,0,0)); - GreenPen.CreatePen( PS_SOLID, 1, RGB(0,255,0)); - - if( n_PlotWidth == -1 && n_PlotHeight == -1 ) - { - ((CWnd*)GetDlgItem(IDC_STATIC_DRAW))->GetWindowRect(&plotRect); - ScreenToClient(&plotRect); - - n_PlotWidth = min( plotRect.Width(), 512); - n_PlotHeight = plotRect.Height() - 10; - } - - - // Set the default DI Sample - SetDlgItemInt( IDC_EDIT_SAMPLE, (UINT)(m_dwDISamples) ); - - err = DIO_VoltLevelConfig(m_hCard, P7350_PortDIO, VoltLevel_3R3); - if( err!=NoError ) - { - strTemp.Format( TEXT("DIO_VoltLevelConfig(P7350_PortDIO) Error = %d"), err); - AfxMessageBox( strTemp ); - return TRUE; - } - - err = DIO_VoltLevelConfig(m_hCard, P7350_PortAFI, VoltLevel_3R3); - if(err!=NoError) - { - strTemp.Format( TEXT("DIO_VoltLevelConfig(P7350_PortAFI) Error = %d"), err); - AfxMessageBox( strTemp ); - return TRUE; - } - - /* - * Set Input or Output for DIO Port - */ - err = DIO_PortConfig(m_hCard, P7350_DIO_A, INPUT_PORT); - if( err!=NoError ) - { - strTemp.Format( TEXT("DIO_PortConfig(P7350_DIO_A) Error = %d"), err); - AfxMessageBox( strTemp ); - return TRUE; - } - - err = DIO_PortConfig(m_hCard, P7350_DIO_B, OUTPUT_PORT); - if( err!=NoError ) - { - strTemp.Format( TEXT("DIO_PortConfig(P7350_DIO_B) Error = %d"), err); - AfxMessageBox( strTemp ); - return TRUE; - } - err = DIO_PortConfig(m_hCard, P7350_DIO_C, INPUT_PORT); - if( err!=NoError ) - { - strTemp.Format( TEXT("DIO_PortConfig(P7350_DIO_C) Error = %d"), err); - AfxMessageBox( strTemp ); - return TRUE; - } - err = DIO_PortConfig(m_hCard, P7350_DIO_D, OUTPUT_PORT); - if( err!=NoError ) - { - strTemp.Format( TEXT("DIO_PortConfig(P7350_DIO_D) Error = %d"), err); - AfxMessageBox( strTemp ); - return TRUE; - } - - - - /* - * Set DO Configurations - */ - err = DO_7350_Config(m_hCard, 16, P7350_FreeRun, P7350_WAIT_NO, P7350_IntSampledCLK|P7350_EnExpSampledCLK); - if( err!=NoError ) - { - strTemp.Format( TEXT("DO_7350_Config() Error = %d"), err); - AfxMessageBox( strTemp ); - return TRUE; - } - - - /* - * Set DI Configurations - */ - err = DI_7350_Config(m_hCard, 16, P7350_FreeRun, P7350_WAIT_NO, P7350_ExtSampledCLK); - if( err!=NoError ) - { - strTemp.Format( TEXT("DI_7350_Config() Error = %d"), err); - AfxMessageBox( strTemp ); - return TRUE; - } - - /* - * Set DO Trigger and HandShake Configurations - */ - err = DO_7350_TrigHSConfig( m_hCard, - 0/*TrigConfig*/, - 0/*DO_IPOL*/, - 0/*DO_REQSrc*/, - 0/*DO_ACKSrc*/, - 0/*DO_TRIGSrc*/, - 0/*StartTrigSrc*/, - 0/*PauseTrigSrc*/, - 0/*SoftTrigOutSrc*/, - 0/*SoftTrigOutLength*/, - 1/*TrigCount*/); - if( err!=NoError ) - { - strTemp.Format( TEXT("DO_7350_TrigHSConfig() Error = %d"), err); - AfxMessageBox( strTemp ); - return TRUE; - } - - /* - * Set DI Trigger and HandShake Configurations - */ - err = DI_7350_TrigHSConfig( m_hCard, - 0/*TrigConfig*/, - 0/*DI_IPOL*/, - 0/*DI_REQSrc*/, - 0/*DI_ACKSrc*/, - 0/*DI_TRIGSrc*/, - 0/*StartTrigSrc*/, - 0/*PauseTrigSrc*/, - 0/*SoftTrigOutSrc*/, - 0/*SoftTrigOutLength*/, - 1/*TrigCount*/); - if( err!=NoError ) - { - strTemp.Format( TEXT("DI_7350_TrigHSConfig() Error = %d"), err); - AfxMessageBox( strTemp ); - return TRUE; - } - - err = DI_7350_ExtSampCLKConfig( m_hCard, - P7350_AFI_7 /*DICLK_Src*/, - 0 /*DICLK_DDAMode*/, - 0 /*DICLK_DPAMode*/, - 0 /*DICLK_DDAVlaue*/, - 0 /*DICLK_DPAVlaue*/ - ); - if( err!=NoError ) - { - strTemp.Format( TEXT("DI_7350_ExtSampCLKConfig() Error = %d"), err); - AfxMessageBox( strTemp ); - return TRUE; - } - - /* - * Set DO Export Clock - */ - err = DO_7350_ExportSampCLKConfig( m_hCard, - P7350_AFI_6 /*DOCLK_Src*/, - 0 /*DOCLK_DPAMode*/, - 0 /*DOCLK_DPAVlaue*/ - ); - - if( err!=NoError ) - { - strTemp.Format( TEXT("DO_7350_ExportSampCLKConfig() Error = %d"), err); - AfxMessageBox( strTemp ); - return TRUE; - } - - - for (i=0; i(dc.GetSafeHdc()), 0); - - // Center icon in client rectangle - int cxIcon = GetSystemMetrics(SM_CXICON); - int cyIcon = GetSystemMetrics(SM_CYICON); - CRect rect; - GetClientRect(&rect); - int x = (rect.Width() - cxIcon + 1) / 2; - int y = (rect.Height() - cyIcon + 1) / 2; - - // Draw the icon - dc.DrawIcon(x, y, m_hIcon); - } - else - { - redraw_display_area(); - CDialog::OnPaint(); - } -} - -// The system calls this function to obtain the cursor to display while the user drags -// the minimized window. -HCURSOR C7350WavDlg::OnQueryDragIcon() -{ - return static_cast(m_hIcon); -} - - -void C7350WavDlg::OnDestroy() -{ - U32 count; - - CDialog::OnDestroy(); - - // TODO: Add your message handler code here - if( OnBrush != NULL ) - ::DeleteObject( OnBrush ); - - if( OffBrush != NULL ) - ::DeleteObject( OffBrush ); - - RedPen.DeleteObject(); - GreenPen.DeleteObject(); - - if( m_nTimer != -1 ) - { - KillTimer( m_nTimer ); - m_nTimer = -1; - } - - DI_AsyncClear( m_hCard, &count ); -} - -void C7350WavDlg::OnStart() -{ - // TODO: Add your control notification handler code here - U32 dwDISamples; - I16 err; - CString strMsg; - - dwDISamples = GetDlgItemInt( IDC_EDIT_SAMPLE ); - - if( dwDISamples > MAX_SIZE) - { - m_dwDISamples = MAX_SIZE; //at most 1000K samples DMA - AfxMessageBox(TEXT("This sample supports at most 1000K words DMA transfer\nOnly perform 100K words DMA transfer.")); - } - else if( (dwDISamples %4) != 0 ) - { - AfxMessageBox(TEXT("Misalignment error, the input buffer must be 32-bit alignment ")); - } - else - { - m_dwDISamples = dwDISamples; - } - - err = DO_ContWritePort(m_hCard, 0, gOutBuf, 102400, 1, 50000000, ASYNCH_OP); - if(err!=NoError) - { - strMsg.Format(TEXT("DO_ContWritePort Error = %d"), err); - AfxMessageBox( strMsg ); - return; - } - - err = DI_ContReadPort (m_hCard, 0, gInBuf, m_dwDISamples, 0/*DISampleRate*/, ASYNCH_OP); - if (err < 0) - { - strMsg.Format(TEXT("DI_ContReadPort Error = %d"), err); - AfxMessageBox( strMsg ); - return; - } - - // clear display area - redraw_display_area(); - - if( m_nTimer == -1 ) - { - m_nTimer = SetTimer( PCI7350_DIO_STATUS_TIMER, 50, NULL ); - } - - GetDlgItem( IDC_BT_START )->EnableWindow( FALSE ); - GetDlgItem( IDC_BT_STOP )->EnableWindow( TRUE ); - -} - -void C7350WavDlg::OnStop() -{ - // TODO: Add your control notification handler code here - U32 count; - - DI_AsyncClear(m_hCard, &count); - DO_AsyncClear(m_hCard, &count); - - GetDlgItem( IDC_BT_START )->EnableWindow( TRUE ); - GetDlgItem( IDC_BT_STOP )->EnableWindow( FALSE); -} - -void C7350WavDlg::OnTimer(UINT_PTR nIDEvent) -{ - // TODO: Add your message handler code here and/or call default - BOOLEAN bDIStopped, bDOStopped; - U32 count; - I16 err; - - - err = DO_AsyncCheck( m_hCard, &bDOStopped, &count ); - if( bDOStopped ) - { - // reset the Button status - err = DO_AsyncClear( m_hCard, &count ); - } - - err = DI_AsyncCheck( m_hCard, &bDIStopped, &count ); - if( bDIStopped ) - { - // stop timer - KillTimer( m_nTimer ); - m_nTimer = -1; - - // reset the Button status - GetDlgItem( IDC_BT_START )->EnableWindow( TRUE ); - GetDlgItem( IDC_BT_STOP )->EnableWindow( FALSE ); - - err = DI_AsyncClear( m_hCard, &count ); - err = DO_AsyncClear( m_hCard, &count ); - - display_buffer_data(gInBuf); - } - - CDialog::OnTimer(nIDEvent); -} - - -void C7350WavDlg::display_buffer_data(U16* pBuf) -{ - CClientDC dc_plot(this); - int nDraw_Bottom; - - int newY, oldY = -1; - int newX, oldX = -1; - U32 index, di_data; - - nDraw_Bottom = ( plotRect.bottom - 5 ); - dc_plot.SelectObject( &GreenPen ); - - for( index=0; index // MFC core and standard components -#include // MFC extensions - - -#include // MFC Automation classes - - - -#ifndef _AFX_NO_OLE_SUPPORT -#include // MFC support for Internet Explorer 4 Common Controls -#endif -#ifndef _AFX_NO_AFXCMN_SUPPORT -#include // MFC support for Windows Common Controls -#endif // _AFX_NO_AFXCMN_SUPPORT - -#include // MFC support for ribbons and control bars - - - - - - - - - -#ifdef _UNICODE -#if defined _M_IX86 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='x86' publicKeyToken='6595b64144ccf1df' language='*'\"") -#elif defined _M_IA64 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='ia64' publicKeyToken='6595b64144ccf1df' language='*'\"") -#elif defined _M_X64 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='amd64' publicKeyToken='6595b64144ccf1df' language='*'\"") -#else -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='*' publicKeyToken='6595b64144ccf1df' language='*'\"") -#endif -#endif - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350DI_ExtClk/targetver.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350DI_ExtClk/targetver.h deleted file mode 100644 index 11730d5..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350DI_ExtClk/targetver.h +++ /dev/null @@ -1,26 +0,0 @@ - -#pragma once - -// The following macros define the minimum required platform. The minimum required platform -// is the earliest version of Windows, Internet Explorer etc. that has the necessary features to run -// your application. The macros work by enabling all features available on platform versions up to and -// including the version specified. - -// Modify the following defines if you have to target a platform prior to the ones specified below. -// Refer to MSDN for the latest info on corresponding values for different platforms. -#ifndef WINVER // Specifies that the minimum required platform is Windows Vista. -#define WINVER 0x0600 // Change this to the appropriate value to target other versions of Windows. -#endif - -#ifndef _WIN32_WINNT // Specifies that the minimum required platform is Windows Vista. -#define _WIN32_WINNT 0x0600 // Change this to the appropriate value to target other versions of Windows. -#endif - -#ifndef _WIN32_WINDOWS // Specifies that the minimum required platform is Windows 98. -#define _WIN32_WINDOWS 0x0410 // Change this to the appropriate value to target Windows Me or later. -#endif - -#ifndef _WIN32_IE // Specifies that the minimum required platform is Internet Explorer 7.0. -#define _WIN32_IE 0x0700 // Change this to the appropriate value to target other versions of IE. -#endif - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350DI_ExtInfTrig/7200Wav.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350DI_ExtInfTrig/7200Wav.suo deleted file mode 100644 index bc032e1..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350DI_ExtInfTrig/7200Wav.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350DI_ExtInfTrig/7300bWav.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350DI_ExtInfTrig/7300bWav.suo deleted file mode 100644 index 90ac3f3..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350DI_ExtInfTrig/7300bWav.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350DI_ExtInfTrig/7350Wav.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350DI_ExtInfTrig/7350Wav.cpp deleted file mode 100644 index 066dfa9..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350DI_ExtInfTrig/7350Wav.cpp +++ /dev/null @@ -1,110 +0,0 @@ - -// 7350Wav.cpp : Defines the class behaviors for the application. -// - -#include "stdafx.h" -#include "7350Wav.h" -#include "7350WavDlg.h" -#include "CardIDDlg.h" - -#ifdef _DEBUG -#define new DEBUG_NEW -#endif - - -// C7350WavApp - -BEGIN_MESSAGE_MAP(C7350WavApp, CWinAppEx) - ON_COMMAND(ID_HELP, &CWinApp::OnHelp) -END_MESSAGE_MAP() - - -// C7350WavApp construction - -C7350WavApp::C7350WavApp() -{ - // TODO: add construction code here, - // Place all significant initialization in InitInstance -} - - -// The one and only C7350WavApp object - -C7350WavApp theApp; - - -// C7350WavApp initialization - -BOOL C7350WavApp::InitInstance() -{ - int nCardID = 0; - I16 hCard; - CString strTemp; - INT_PTR nResponse; - - // InitCommonControlsEx() is required on Windows XP if an application - // manifest specifies use of ComCtl32.dll version 6 or later to enable - // visual styles. Otherwise, any window creation will fail. - INITCOMMONCONTROLSEX InitCtrls; - InitCtrls.dwSize = sizeof(InitCtrls); - // Set this to include all the common control classes you want to use - // in your application. - InitCtrls.dwICC = ICC_WIN95_CLASSES; - InitCommonControlsEx(&InitCtrls); - - CWinAppEx::InitInstance(); - - AfxEnableControlContainer(); - - // Standard initialization - // If you are not using these features and wish to reduce the size - // of your final executable, you should remove from the following - // the specific initialization routines you do not need - // Change the registry key under which our settings are stored - // TODO: You should modify this string to be something appropriate - // such as the name of your company or organization - SetRegistryKey(_T("Local AppWizard-Generated Applications")); - - CCardIDDlg CardDlg( nCardID ); - - nResponse = CardDlg.DoModal(); - if (nResponse == IDOK) - { - nCardID = CardDlg.GetCardID(); - - if ((hCard=Register_Card(PCI_7350, nCardID)) < 0) - { - strTemp.Format( TEXT("Register_Card Error = %d"), hCard); - AfxMessageBox( strTemp ); - } - else - { - C7350WavDlg dlg(hCard); - m_pMainWnd = &dlg; - nResponse = dlg.DoModal(); - if (nResponse == IDOK) - { - // TODO: Place code here to handle when the dialog is - // dismissed with OK - } - else if (nResponse == IDCANCEL) - { - // TODO: Place code here to handle when the dialog is - // dismissed with Cancel - } - - if (hCard >= 0) Release_Card(hCard); - } - - } - else if (nResponse == IDCANCEL) - { - // TODO: Place code here to handle when the dialog is - // dismissed with Cancel - } - - - // Since the dialog has been closed, return FALSE so that we exit the - // application, rather than start the application's message pump. - return FALSE; -} diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350DI_ExtInfTrig/7350Wav.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350DI_ExtInfTrig/7350Wav.h deleted file mode 100644 index c651b47..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350DI_ExtInfTrig/7350Wav.h +++ /dev/null @@ -1,32 +0,0 @@ - -// 7350Wav.h : main header file for the PROJECT_NAME application -// - -#pragma once - -#ifndef __AFXWIN_H__ - #error "include 'stdafx.h' before including this file for PCH" -#endif - -#include "resource.h" // main symbols - - -// C7350WavApp: -// See 7350Wav.cpp for the implementation of this class -// - -class C7350WavApp : public CWinAppEx -{ -public: - C7350WavApp(); - -// Overrides - public: - virtual BOOL InitInstance(); - -// Implementation - - DECLARE_MESSAGE_MAP() -}; - -extern C7350WavApp theApp; \ No newline at end of file diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350DI_ExtInfTrig/7350Wav.rc b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350DI_ExtInfTrig/7350Wav.rc deleted file mode 100644 index 2d0e042..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350DI_ExtInfTrig/7350Wav.rc +++ /dev/null @@ -1,281 +0,0 @@ -// Microsoft Visual C++ generated resource script. -// -#include "resource.h" - -#define APSTUDIO_READONLY_SYMBOLS -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 2 resource. -// -#ifndef APSTUDIO_INVOKED -#include "targetver.h" -#endif -#include "afxres.h" - -///////////////////////////////////////////////////////////////////////////// -#undef APSTUDIO_READONLY_SYMBOLS - -///////////////////////////////////////////////////////////////////////////// -// Chinese (Taiwan) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_CHT) -#ifdef _WIN32 -LANGUAGE LANG_CHINESE, SUBLANG_CHINESE_TRADITIONAL -#pragma code_page(950) -#endif //_WIN32 - -#ifdef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// TEXTINCLUDE -// - -1 TEXTINCLUDE -BEGIN - "resource.h\0" -END - -2 TEXTINCLUDE -BEGIN - "#ifndef APSTUDIO_INVOKED\r\n" - "#include ""targetver.h""\r\n" - "#endif\r\n" - "#include ""afxres.h""\r\n" - "\0" -END - -3 TEXTINCLUDE -BEGIN - "#define _AFX_NO_SPLITTER_RESOURCES\r\n" - "#define _AFX_NO_OLE_RESOURCES\r\n" - "#define _AFX_NO_TRACKER_RESOURCES\r\n" - "#define _AFX_NO_PROPERTY_RESOURCES\r\n" - "\r\n" - "#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)\r\n" - "LANGUAGE 9, 1\r\n" - "#pragma code_page(1252)\r\n" - "#include ""res\\My7350Wav.rc2"" // non-Microsoft Visual C++ edited resources\r\n" - "#include ""afxres.rc"" // Standard components\r\n" - "#endif\r\n" - "\0" -END - -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// Icon -// - -// Icon with lowest ID value placed first to ensure application icon -// remains consistent on all systems. -IDR_MAINFRAME ICON "res\\7350Wav.ico" -#endif // Chinese (Taiwan) resources -///////////////////////////////////////////////////////////////////////////// - - -///////////////////////////////////////////////////////////////////////////// -// English (U.S.) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -#ifdef _WIN32 -LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US -#pragma code_page(1252) -#endif //_WIN32 - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog -// - -IDD_ABOUTBOX DIALOGEX 0, 0, 170, 62 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "About 7350Wav" -FONT 8, "MS Shell Dlg", 0, 0, 0x1 -BEGIN - ICON IDR_MAINFRAME,IDC_STATIC,14,14,21,20 - LTEXT "7350Wav, Version 1.0",IDC_STATIC,42,14,114,8,SS_NOPREFIX - LTEXT "Copyright (C) 2010",IDC_STATIC,42,26,114,8 - DEFPUSHBUTTON "OK",IDOK,113,41,50,14,WS_GROUP -END - -IDD_MY7350Wav_DIALOG DIALOGEX 0, 0, 349, 240 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU -EXSTYLE WS_EX_APPWINDOW -CAPTION "PCI-7350 DMA" -FONT 8, "MS Shell Dlg", 0, 0, 0x1 -BEGIN - GROUPBOX "",IDC_STATIC_DRAW,44,50,293,138,NOT WS_VISIBLE - EDITTEXT IDC_EDIT_SAMPLE,201,196,51,12,ES_AUTOHSCROLL - LTEXT "DI Samples :",IDC_STATIC,152,197,45,9 - PUSHBUTTON "Start",IDC_BT_START,286,194,48,17 - PUSHBUTTON "Stop",IDC_BT_STOP,286,213,48,17 - LTEXT "The configuration is set as DI16DO16.\nINPUT_PORT: P7350_DIO_A and P7350_DIO_C\nOUTPUT_PORT: P7350_DIO_B and P7350_DIO_D.",IDC_STATIC,7,1,335,26 - LTEXT "This sample performs infinite DO output and continuous DI acquisition with infinite external retrigger (AFI0)",IDC_STATIC,14,30,297,19 -END - -IDD_CARDID_DIALOG DIALOGEX 0, 0, 170, 89 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "Card ID" -FONT 8, "MS Shell Dlg", 400, 0, 0x1 -BEGIN - COMBOBOX IDC_COMBO_CARDID,75,17,71,126,CBS_DROPDOWN | WS_VSCROLL | WS_TABSTOP - LTEXT "Card Number",IDC_STATIC_01,21,18,46,12 - PUSHBUTTON "OK",IDOK,22,50,58,19 - PUSHBUTTON "CANCEL",IDCANCEL,86,50,58,19 -END - - -///////////////////////////////////////////////////////////////////////////// -// -// Version -// - -VS_VERSION_INFO VERSIONINFO - FILEVERSION 1,0,0,1 - PRODUCTVERSION 1,0,0,1 - FILEFLAGSMASK 0x3fL -#ifdef _DEBUG - FILEFLAGS 0x1L -#else - FILEFLAGS 0x0L -#endif - FILEOS 0x4L - FILETYPE 0x1L - FILESUBTYPE 0x0L -BEGIN - BLOCK "StringFileInfo" - BEGIN - BLOCK "040904e4" - BEGIN - VALUE "CompanyName", "TODO: " - VALUE "FileDescription", "TODO: " - VALUE "FileVersion", "1.0.0.1" - VALUE "InternalName", "7350Wav.exe" - VALUE "LegalCopyright", "TODO: (c) . All rights reserved." - VALUE "OriginalFilename", "7350Wav.exe" - VALUE "ProductName", "TODO: " - VALUE "ProductVersion", "1.0.0.1" - END - END - BLOCK "VarFileInfo" - BEGIN - VALUE "Translation", 0x409, 1252 - END -END - - -///////////////////////////////////////////////////////////////////////////// -// -// DESIGNINFO -// - -#ifdef APSTUDIO_INVOKED -GUIDELINES DESIGNINFO -BEGIN - IDD_ABOUTBOX, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 163 - TOPMARGIN, 7 - BOTTOMMARGIN, 55 - END - - IDD_MY7350Wav_DIALOG, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 342 - TOPMARGIN, 7 - BOTTOMMARGIN, 233 - END - - IDD_CARDID_DIALOG, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 163 - TOPMARGIN, 7 - BOTTOMMARGIN, 82 - END -END -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog Info -// - -IDD_CARDID_DIALOG DLGINIT -BEGIN - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0030, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0031, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0032, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0033, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0034, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0035, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0036, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0037, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0038, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0039, - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3031, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3131, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3231, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3331, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3431, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3531, "\000" - 0 -END - - -///////////////////////////////////////////////////////////////////////////// -// -// String Table -// - -STRINGTABLE -BEGIN - IDS_ABOUTBOX "&About 7350Wav..." -END - -#endif // English (U.S.) resources -///////////////////////////////////////////////////////////////////////////// - - - -#ifndef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 3 resource. -// -#define _AFX_NO_SPLITTER_RESOURCES -#define _AFX_NO_OLE_RESOURCES -#define _AFX_NO_TRACKER_RESOURCES -#define _AFX_NO_PROPERTY_RESOURCES - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -LANGUAGE 9, 1 -#pragma code_page(1252) -#include "res\My7350Wav.rc2" // non-Microsoft Visual C++ edited resources -#include "afxres.rc" // Standard components -#endif - -///////////////////////////////////////////////////////////////////////////// -#endif // not APSTUDIO_INVOKED - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350DI_ExtInfTrig/7350Wav.sln b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350DI_ExtInfTrig/7350Wav.sln deleted file mode 100644 index b727fc7..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350DI_ExtInfTrig/7350Wav.sln +++ /dev/null @@ -1,20 +0,0 @@ - -Microsoft Visual Studio Solution File, Format Version 10.00 -# Visual Studio 2008 -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "7350Wav", "7350Wav.vcproj", "{EBDB6610-7CE5-413C-A150-121068BFDB22}" -EndProject -Global - GlobalSection(SolutionConfigurationPlatforms) = preSolution - Debug|x64 = Debug|x64 - Release|x64 = Release|x64 - EndGlobalSection - GlobalSection(ProjectConfigurationPlatforms) = postSolution - {EBDB6610-7CE5-413C-A150-121068BFDB22}.Debug|x64.ActiveCfg = Debug|x64 - {EBDB6610-7CE5-413C-A150-121068BFDB22}.Debug|x64.Build.0 = Debug|x64 - {EBDB6610-7CE5-413C-A150-121068BFDB22}.Release|x64.ActiveCfg = Release|x64 - {EBDB6610-7CE5-413C-A150-121068BFDB22}.Release|x64.Build.0 = Release|x64 - EndGlobalSection - GlobalSection(SolutionProperties) = preSolution - HideSolutionNode = FALSE - EndGlobalSection -EndGlobal diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350DI_ExtInfTrig/7350Wav.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350DI_ExtInfTrig/7350Wav.suo deleted file mode 100644 index 560619f..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350DI_ExtInfTrig/7350Wav.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350DI_ExtInfTrig/7350Wav.vcproj b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350DI_ExtInfTrig/7350Wav.vcproj deleted file mode 100644 index 05476c4..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350DI_ExtInfTrig/7350Wav.vcproj +++ /dev/null @@ -1,286 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350DI_ExtInfTrig/7350WavDlg.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350DI_ExtInfTrig/7350WavDlg.cpp deleted file mode 100644 index 9c9ed00..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350DI_ExtInfTrig/7350WavDlg.cpp +++ /dev/null @@ -1,587 +0,0 @@ - -// 7350WavDlg.cpp : implementation file -// - -#include "stdafx.h" -#include "7350Wav.h" -#include "7350WavDlg.h" -#include "math.h" - -#ifndef M_PI -#define M_PI 3.14159265359 -#endif - -#define MAX_SIZE 1024000 //in words -#define MBufCount 16 //Buffer count to be set - -#ifdef _DEBUG -#define new DEBUG_NEW -#endif - -CRect plotRect; - -#define PCI7350_DIO_STATUS_TIMER 1 - -U16 gInBuf[MAX_SIZE], gOutBuf[MAX_SIZE]; -U16 *gDOBufferAddr[MBufCount]; //Buffer array to be set -U16 *gDIBufferAddr[2]; //Buffer array to be set -U16 gBufferID[MBufCount]; //Buffer ID returned -U32 gWriteCount = 10000; //Data count per one buffer to be written - - -// CAboutDlg dialog used for App About - -class CAboutDlg : public CDialog -{ -public: - CAboutDlg(); - -// Dialog Data - enum { IDD = IDD_ABOUTBOX }; - - protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - -// Implementation -protected: - DECLARE_MESSAGE_MAP() -}; - -CAboutDlg::CAboutDlg() : CDialog(CAboutDlg::IDD) -{ -} - -void CAboutDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); -} - -BEGIN_MESSAGE_MAP(CAboutDlg, CDialog) -END_MESSAGE_MAP() - - -// C7350WavDlg dialog - - -C7350WavDlg::C7350WavDlg(I16 hCard, CWnd* pParent /*=NULL*/) - : CDialog(C7350WavDlg::IDD, pParent) -{ - m_hIcon = AfxGetApp()->LoadIcon(IDR_MAINFRAME); - - m_hCard = hCard; - - OnBrush = OffBrush = NULL; - - n_PlotWidth = -1; - n_PlotHeight = -1; - - min_val = 0x00; - max_val = 0xFFFF; - - m_dwDISamples = 128000; - - m_nTimer = -1; - -} - -void C7350WavDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); -} - -BEGIN_MESSAGE_MAP(C7350WavDlg, CDialog) - ON_WM_SYSCOMMAND() - ON_WM_PAINT() - ON_WM_QUERYDRAGICON() - //}}AFX_MSG_MAP - ON_WM_DESTROY() - ON_BN_CLICKED(IDC_BT_START, &C7350WavDlg::OnStart) - ON_BN_CLICKED(IDC_BT_STOP, &C7350WavDlg::OnStop) - ON_WM_TIMER() -// ON_WM_VSCROLL() -END_MESSAGE_MAP() - - -// C7350WavDlg message handlers - -BOOL C7350WavDlg::OnInitDialog() -{ - I16 err; - int i; - CString strTemp; - - CDialog::OnInitDialog(); - - // Add "About..." menu item to system menu. - - // IDM_ABOUTBOX must be in the system command range. - ASSERT((IDM_ABOUTBOX & 0xFFF0) == IDM_ABOUTBOX); - ASSERT(IDM_ABOUTBOX < 0xF000); - - CMenu* pSysMenu = GetSystemMenu(FALSE); - if (pSysMenu != NULL) - { - BOOL bNameValid; - CString strAboutMenu; - bNameValid = strAboutMenu.LoadString(IDS_ABOUTBOX); - ASSERT(bNameValid); - if (!strAboutMenu.IsEmpty()) - { - pSysMenu->AppendMenu(MF_SEPARATOR); - pSysMenu->AppendMenu(MF_STRING, IDM_ABOUTBOX, strAboutMenu); - } - } - - // Set the icon for this dialog. The framework does this automatically - // when the application's main window is not a dialog - SetIcon(m_hIcon, TRUE); // Set big icon - SetIcon(m_hIcon, FALSE); // Set small icon - - if( gWriteCount * MBufCount > MAX_SIZE ) - { - AfxMessageBox( TEXT(" WriteCount * MBufCOunt > MAX_SZIE ") ); - return TRUE; - } - else - { - for(i=0; iGetWindowRect(&plotRect); - ScreenToClient(&plotRect); - - n_PlotWidth = min( plotRect.Width(), 512); - n_PlotHeight = plotRect.Height() - 10; - } - - - // Set the default DI Sample - SetDlgItemInt( IDC_EDIT_SAMPLE, (UINT)(m_dwDISamples) ); - - err = DIO_VoltLevelConfig(m_hCard, P7350_PortDIO, VoltLevel_3R3); - if( err!=NoError ) - { - strTemp.Format( TEXT("DIO_VoltLevelConfig Error = %d"), err); - AfxMessageBox( strTemp ); - return TRUE; - } - - /* - * Set Input or Output for DIO Port - */ - err = DIO_PortConfig(m_hCard, P7350_DIO_A, INPUT_PORT); - if( err!=NoError ) - { - strTemp.Format( TEXT("DIO_PortConfig(P7350_DIO_A) Error = %d"), err); - AfxMessageBox( strTemp ); - return TRUE; - } - - err = DIO_PortConfig(m_hCard, P7350_DIO_B, OUTPUT_PORT); - if( err!=NoError ) - { - strTemp.Format( TEXT("DIO_PortConfig(P7350_DIO_B) Error = %d"), err); - AfxMessageBox( strTemp ); - return TRUE; - } - err = DIO_PortConfig(m_hCard, P7350_DIO_C, INPUT_PORT); - if( err!=NoError ) - { - strTemp.Format( TEXT("DIO_PortConfig(P7350_DIO_C) Error = %d"), err); - AfxMessageBox( strTemp ); - return TRUE; - } - err = DIO_PortConfig(m_hCard, P7350_DIO_D, OUTPUT_PORT); - if( err!=NoError ) - { - strTemp.Format( TEXT("DIO_PortConfig(P7350_DIO_D) Error = %d"), err); - AfxMessageBox( strTemp ); - return TRUE; - } - - - /* - * Set DI Configurations - */ - err = DI_7350_Config(m_hCard, 16, P7350_FreeRun, P7350_WAIT_EXTTRG, P7350_IntSampledCLK); - if( err!=NoError ) - { - strTemp.Format( TEXT("DI_7350_Config() Error = %d"), err); - AfxMessageBox( strTemp ); - return TRUE; - } - - /* - * Set DO Configurations - */ - err = DO_7350_Config(m_hCard, 16, P7350_FreeRun, P7350_WAIT_NO, P7350_IntSampledCLK); - if( err!=NoError ) - { - strTemp.Format( TEXT("DO_7350_Config() Error = %d"), err); - AfxMessageBox( strTemp ); - return TRUE; - } - - /* - * Set DI Trigger and HandShake Configurations - */ - err = DI_7350_TrigHSConfig( m_hCard, - 0/*TrigConfig*/, - 0/*DI_IPOL*/, - 0/*DI_REQSrc*/, - 0/*DI_ACKSrc*/, - 0/*DI_TRIGSrc*/, - P7350_AFI_0/*StartTrigSrc*/, - 0/*PauseTrigSrc*/, - 0/*SoftTrigOutSrc*/, - 0/*SoftTrigOutLength*/, - 0/*TrigCount*/ //Infinite Re-Trigger - ); - - for (i=0; i(dc.GetSafeHdc()), 0); - - // Center icon in client rectangle - int cxIcon = GetSystemMetrics(SM_CXICON); - int cyIcon = GetSystemMetrics(SM_CYICON); - CRect rect; - GetClientRect(&rect); - int x = (rect.Width() - cxIcon + 1) / 2; - int y = (rect.Height() - cyIcon + 1) / 2; - - // Draw the icon - dc.DrawIcon(x, y, m_hIcon); - } - else - { - redraw_display_area(); - CDialog::OnPaint(); - } -} - -// The system calls this function to obtain the cursor to display while the user drags -// the minimized window. -HCURSOR C7350WavDlg::OnQueryDragIcon() -{ - return static_cast(m_hIcon); -} - - -void C7350WavDlg::OnDestroy() -{ - U32 count; - - CDialog::OnDestroy(); - - // TODO: Add your message handler code here - if( OnBrush != NULL ) - ::DeleteObject( OnBrush ); - - if( OffBrush != NULL ) - ::DeleteObject( OffBrush ); - - RedPen.DeleteObject(); - GreenPen.DeleteObject(); - - if( m_nTimer != -1 ) - { - KillTimer( m_nTimer ); - m_nTimer = -1; - } - - DI_AsyncClear( m_hCard, &count ); -} - -void C7350WavDlg::OnStart() -{ - // TODO: Add your control notification handler code here - U32 dwDISamples; - I16 err; - CString strMsg; - int i; - - dwDISamples = GetDlgItemInt( IDC_EDIT_SAMPLE ); - - if( (dwDISamples * 2) > MAX_SIZE) - { - m_dwDISamples = MAX_SIZE/2; //at most 1000K samples DMA - AfxMessageBox(TEXT("This sample supports at most 1000K words DMA transfer\nOnly perform 100K words DMA transfer.")); - } - else if( (dwDISamples %4) != 0 ) - { - AfxMessageBox(TEXT("Misalignment error, the input buffer must be 32-bit alignment ")); - - } - else - { - m_dwDISamples = dwDISamples; - - for(i=0; i<2; i++) - { - gDIBufferAddr[i] = gInBuf + (m_dwDISamples*i); - } - } - - err = DO_ContMultiBufferStart(m_hCard, 0, 1000000); - if(err!=NoError) - { - strMsg.Format(TEXT("DO_ContMultiBufferStart Error = %d"), err); - AfxMessageBox( strMsg ); - return; - } - - err = DI_ContReadPort (m_hCard, 0, gInBuf, m_dwDISamples, 5000000, ASYNCH_OP); - if (err < 0) - { - strMsg.Format(TEXT("DI_ContReadPort Error = %d"), err); - AfxMessageBox( strMsg ); - return; - } - - - // clear display area - redraw_display_area(); - - if( m_nTimer == -1 ) - { - m_nTimer = SetTimer( PCI7350_DIO_STATUS_TIMER, 50, NULL ); - } - - GetDlgItem( IDC_BT_START )->EnableWindow( FALSE ); - GetDlgItem( IDC_BT_STOP )->EnableWindow( TRUE ); - -} - -void C7350WavDlg::OnStop() -{ - // TODO: Add your control notification handler code here - U32 count; - - if( m_nTimer != -1 ) - { - KillTimer( m_nTimer ); - m_nTimer = -1; - } - - DI_AsyncClear(m_hCard, &count); - DO_AsyncClear(m_hCard, &count); - - - GetDlgItem( IDC_BT_START )->EnableWindow( TRUE ); - GetDlgItem( IDC_BT_STOP )->EnableWindow( FALSE); -} - -void C7350WavDlg::OnTimer(UINT_PTR nIDEvent) -{ - // TODO: Add your message handler code here and/or call default - BOOLEAN bDIStopped; - BOOLEAN Ready; - I16 err; - U16 RdyTrigCnt; - - err = DI_AsyncReTrigNextReady(m_hCard, &Ready, &bDIStopped, &RdyTrigCnt); - - if(Ready) - { - if(!RdyTrigCnt) - { - display_buffer_data(gDIBufferAddr[0]); - } - else - { - display_buffer_data(gDIBufferAddr[1]); - } - } - - CDialog::OnTimer(nIDEvent); -} - - -void C7350WavDlg::display_buffer_data(U16* pBuf) -{ - CClientDC dc_plot(this); - int nDraw_Bottom; - - int newY, oldY = -1; - int newX, oldX = -1; - U32 index, di_data; - - dc_plot.FillSolidRect( plotRect, RGB(0,0,0) ); - - nDraw_Bottom = ( plotRect.bottom - 5 ); - dc_plot.SelectObject( &GreenPen ); - - for( index=0; index // MFC core and standard components -#include // MFC extensions - - -#include // MFC Automation classes - - - -#ifndef _AFX_NO_OLE_SUPPORT -#include // MFC support for Internet Explorer 4 Common Controls -#endif -#ifndef _AFX_NO_AFXCMN_SUPPORT -#include // MFC support for Windows Common Controls -#endif // _AFX_NO_AFXCMN_SUPPORT - -#include // MFC support for ribbons and control bars - - - - - - - - - -#ifdef _UNICODE -#if defined _M_IX86 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='x86' publicKeyToken='6595b64144ccf1df' language='*'\"") -#elif defined _M_IA64 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='ia64' publicKeyToken='6595b64144ccf1df' language='*'\"") -#elif defined _M_X64 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='amd64' publicKeyToken='6595b64144ccf1df' language='*'\"") -#else -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='*' publicKeyToken='6595b64144ccf1df' language='*'\"") -#endif -#endif - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350DI_ExtInfTrig/targetver.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350DI_ExtInfTrig/targetver.h deleted file mode 100644 index 11730d5..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350DI_ExtInfTrig/targetver.h +++ /dev/null @@ -1,26 +0,0 @@ - -#pragma once - -// The following macros define the minimum required platform. The minimum required platform -// is the earliest version of Windows, Internet Explorer etc. that has the necessary features to run -// your application. The macros work by enabling all features available on platform versions up to and -// including the version specified. - -// Modify the following defines if you have to target a platform prior to the ones specified below. -// Refer to MSDN for the latest info on corresponding values for different platforms. -#ifndef WINVER // Specifies that the minimum required platform is Windows Vista. -#define WINVER 0x0600 // Change this to the appropriate value to target other versions of Windows. -#endif - -#ifndef _WIN32_WINNT // Specifies that the minimum required platform is Windows Vista. -#define _WIN32_WINNT 0x0600 // Change this to the appropriate value to target other versions of Windows. -#endif - -#ifndef _WIN32_WINDOWS // Specifies that the minimum required platform is Windows 98. -#define _WIN32_WINDOWS 0x0410 // Change this to the appropriate value to target Windows Me or later. -#endif - -#ifndef _WIN32_IE // Specifies that the minimum required platform is Internet Explorer 7.0. -#define _WIN32_IE 0x0700 // Change this to the appropriate value to target other versions of IE. -#endif - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350DI_ExtReTrig/7200Wav.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350DI_ExtReTrig/7200Wav.suo deleted file mode 100644 index bc032e1..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350DI_ExtReTrig/7200Wav.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350DI_ExtReTrig/7300bWav.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350DI_ExtReTrig/7300bWav.suo deleted file mode 100644 index 90ac3f3..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350DI_ExtReTrig/7300bWav.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350DI_ExtReTrig/7350Wav.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350DI_ExtReTrig/7350Wav.cpp deleted file mode 100644 index 066dfa9..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350DI_ExtReTrig/7350Wav.cpp +++ /dev/null @@ -1,110 +0,0 @@ - -// 7350Wav.cpp : Defines the class behaviors for the application. -// - -#include "stdafx.h" -#include "7350Wav.h" -#include "7350WavDlg.h" -#include "CardIDDlg.h" - -#ifdef _DEBUG -#define new DEBUG_NEW -#endif - - -// C7350WavApp - -BEGIN_MESSAGE_MAP(C7350WavApp, CWinAppEx) - ON_COMMAND(ID_HELP, &CWinApp::OnHelp) -END_MESSAGE_MAP() - - -// C7350WavApp construction - -C7350WavApp::C7350WavApp() -{ - // TODO: add construction code here, - // Place all significant initialization in InitInstance -} - - -// The one and only C7350WavApp object - -C7350WavApp theApp; - - -// C7350WavApp initialization - -BOOL C7350WavApp::InitInstance() -{ - int nCardID = 0; - I16 hCard; - CString strTemp; - INT_PTR nResponse; - - // InitCommonControlsEx() is required on Windows XP if an application - // manifest specifies use of ComCtl32.dll version 6 or later to enable - // visual styles. Otherwise, any window creation will fail. - INITCOMMONCONTROLSEX InitCtrls; - InitCtrls.dwSize = sizeof(InitCtrls); - // Set this to include all the common control classes you want to use - // in your application. - InitCtrls.dwICC = ICC_WIN95_CLASSES; - InitCommonControlsEx(&InitCtrls); - - CWinAppEx::InitInstance(); - - AfxEnableControlContainer(); - - // Standard initialization - // If you are not using these features and wish to reduce the size - // of your final executable, you should remove from the following - // the specific initialization routines you do not need - // Change the registry key under which our settings are stored - // TODO: You should modify this string to be something appropriate - // such as the name of your company or organization - SetRegistryKey(_T("Local AppWizard-Generated Applications")); - - CCardIDDlg CardDlg( nCardID ); - - nResponse = CardDlg.DoModal(); - if (nResponse == IDOK) - { - nCardID = CardDlg.GetCardID(); - - if ((hCard=Register_Card(PCI_7350, nCardID)) < 0) - { - strTemp.Format( TEXT("Register_Card Error = %d"), hCard); - AfxMessageBox( strTemp ); - } - else - { - C7350WavDlg dlg(hCard); - m_pMainWnd = &dlg; - nResponse = dlg.DoModal(); - if (nResponse == IDOK) - { - // TODO: Place code here to handle when the dialog is - // dismissed with OK - } - else if (nResponse == IDCANCEL) - { - // TODO: Place code here to handle when the dialog is - // dismissed with Cancel - } - - if (hCard >= 0) Release_Card(hCard); - } - - } - else if (nResponse == IDCANCEL) - { - // TODO: Place code here to handle when the dialog is - // dismissed with Cancel - } - - - // Since the dialog has been closed, return FALSE so that we exit the - // application, rather than start the application's message pump. - return FALSE; -} diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350DI_ExtReTrig/7350Wav.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350DI_ExtReTrig/7350Wav.h deleted file mode 100644 index c651b47..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350DI_ExtReTrig/7350Wav.h +++ /dev/null @@ -1,32 +0,0 @@ - -// 7350Wav.h : main header file for the PROJECT_NAME application -// - -#pragma once - -#ifndef __AFXWIN_H__ - #error "include 'stdafx.h' before including this file for PCH" -#endif - -#include "resource.h" // main symbols - - -// C7350WavApp: -// See 7350Wav.cpp for the implementation of this class -// - -class C7350WavApp : public CWinAppEx -{ -public: - C7350WavApp(); - -// Overrides - public: - virtual BOOL InitInstance(); - -// Implementation - - DECLARE_MESSAGE_MAP() -}; - -extern C7350WavApp theApp; \ No newline at end of file diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350DI_ExtReTrig/7350Wav.rc b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350DI_ExtReTrig/7350Wav.rc deleted file mode 100644 index 3ec50ce..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350DI_ExtReTrig/7350Wav.rc +++ /dev/null @@ -1,281 +0,0 @@ -// Microsoft Visual C++ generated resource script. -// -#include "resource.h" - -#define APSTUDIO_READONLY_SYMBOLS -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 2 resource. -// -#ifndef APSTUDIO_INVOKED -#include "targetver.h" -#endif -#include "afxres.h" - -///////////////////////////////////////////////////////////////////////////// -#undef APSTUDIO_READONLY_SYMBOLS - -///////////////////////////////////////////////////////////////////////////// -// Chinese (Taiwan) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_CHT) -#ifdef _WIN32 -LANGUAGE LANG_CHINESE, SUBLANG_CHINESE_TRADITIONAL -#pragma code_page(950) -#endif //_WIN32 - -#ifdef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// TEXTINCLUDE -// - -1 TEXTINCLUDE -BEGIN - "resource.h\0" -END - -2 TEXTINCLUDE -BEGIN - "#ifndef APSTUDIO_INVOKED\r\n" - "#include ""targetver.h""\r\n" - "#endif\r\n" - "#include ""afxres.h""\r\n" - "\0" -END - -3 TEXTINCLUDE -BEGIN - "#define _AFX_NO_SPLITTER_RESOURCES\r\n" - "#define _AFX_NO_OLE_RESOURCES\r\n" - "#define _AFX_NO_TRACKER_RESOURCES\r\n" - "#define _AFX_NO_PROPERTY_RESOURCES\r\n" - "\r\n" - "#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)\r\n" - "LANGUAGE 9, 1\r\n" - "#pragma code_page(1252)\r\n" - "#include ""res\\My7350Wav.rc2"" // non-Microsoft Visual C++ edited resources\r\n" - "#include ""afxres.rc"" // Standard components\r\n" - "#endif\r\n" - "\0" -END - -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// Icon -// - -// Icon with lowest ID value placed first to ensure application icon -// remains consistent on all systems. -IDR_MAINFRAME ICON "res\\7350Wav.ico" -#endif // Chinese (Taiwan) resources -///////////////////////////////////////////////////////////////////////////// - - -///////////////////////////////////////////////////////////////////////////// -// English (U.S.) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -#ifdef _WIN32 -LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US -#pragma code_page(1252) -#endif //_WIN32 - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog -// - -IDD_ABOUTBOX DIALOGEX 0, 0, 170, 62 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "About 7350Wav" -FONT 8, "MS Shell Dlg", 0, 0, 0x1 -BEGIN - ICON IDR_MAINFRAME,IDC_STATIC,14,14,21,20 - LTEXT "7350Wav, Version 1.0",IDC_STATIC,42,14,114,8,SS_NOPREFIX - LTEXT "Copyright (C) 2010",IDC_STATIC,42,26,114,8 - DEFPUSHBUTTON "OK",IDOK,113,41,50,14,WS_GROUP -END - -IDD_MY7350Wav_DIALOG DIALOGEX 0, 0, 351, 248 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU -EXSTYLE WS_EX_APPWINDOW -CAPTION "PCI-7350 DMA" -FONT 8, "MS Shell Dlg", 0, 0, 0x1 -BEGIN - GROUPBOX "",IDC_STATIC_DRAW,52,54,293,138,NOT WS_VISIBLE - EDITTEXT IDC_EDIT_SAMPLE,208,200,51,12,ES_AUTOHSCROLL - LTEXT "DI Samples :",IDC_STATIC,159,201,45,9 - PUSHBUTTON "Start",IDC_BT_START,293,198,48,17 - PUSHBUTTON "Stop",IDC_BT_STOP,293,217,48,17 - LTEXT "The configuration is set as DI16DO16.\nINPUT_PORT: P7350_DIO_A and P7350_DIO_C\nOUTPUT_PORT: P7350_DIO_B and P7350_DIO_D.",IDC_STATIC,14,1,279,26 - LTEXT "This sample performs infinite DO output and continuous DI acquisition with 4 external retrigger (AFI0)",IDC_STATIC_01,14,30,326,20 -END - -IDD_CARDID_DIALOG DIALOGEX 0, 0, 170, 89 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "Card ID" -FONT 8, "MS Shell Dlg", 400, 0, 0x1 -BEGIN - COMBOBOX IDC_COMBO_CARDID,75,17,71,126,CBS_DROPDOWN | WS_VSCROLL | WS_TABSTOP - LTEXT "Card Number",IDC_STATIC_01,21,18,46,12 - PUSHBUTTON "OK",IDOK,22,50,58,19 - PUSHBUTTON "CANCEL",IDCANCEL,86,50,58,19 -END - - -///////////////////////////////////////////////////////////////////////////// -// -// Version -// - -VS_VERSION_INFO VERSIONINFO - FILEVERSION 1,0,0,1 - PRODUCTVERSION 1,0,0,1 - FILEFLAGSMASK 0x3fL -#ifdef _DEBUG - FILEFLAGS 0x1L -#else - FILEFLAGS 0x0L -#endif - FILEOS 0x4L - FILETYPE 0x1L - FILESUBTYPE 0x0L -BEGIN - BLOCK "StringFileInfo" - BEGIN - BLOCK "040904e4" - BEGIN - VALUE "CompanyName", "TODO: " - VALUE "FileDescription", "TODO: " - VALUE "FileVersion", "1.0.0.1" - VALUE "InternalName", "7350Wav.exe" - VALUE "LegalCopyright", "TODO: (c) . All rights reserved." - VALUE "OriginalFilename", "7350Wav.exe" - VALUE "ProductName", "TODO: " - VALUE "ProductVersion", "1.0.0.1" - END - END - BLOCK "VarFileInfo" - BEGIN - VALUE "Translation", 0x409, 1252 - END -END - - -///////////////////////////////////////////////////////////////////////////// -// -// DESIGNINFO -// - -#ifdef APSTUDIO_INVOKED -GUIDELINES DESIGNINFO -BEGIN - IDD_ABOUTBOX, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 163 - TOPMARGIN, 7 - BOTTOMMARGIN, 55 - END - - IDD_MY7350Wav_DIALOG, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 346 - TOPMARGIN, 7 - BOTTOMMARGIN, 241 - END - - IDD_CARDID_DIALOG, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 163 - TOPMARGIN, 7 - BOTTOMMARGIN, 82 - END -END -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog Info -// - -IDD_CARDID_DIALOG DLGINIT -BEGIN - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0030, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0031, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0032, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0033, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0034, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0035, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0036, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0037, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0038, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0039, - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3031, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3131, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3231, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3331, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3431, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3531, "\000" - 0 -END - - -///////////////////////////////////////////////////////////////////////////// -// -// String Table -// - -STRINGTABLE -BEGIN - IDS_ABOUTBOX "&About 7350Wav..." -END - -#endif // English (U.S.) resources -///////////////////////////////////////////////////////////////////////////// - - - -#ifndef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 3 resource. -// -#define _AFX_NO_SPLITTER_RESOURCES -#define _AFX_NO_OLE_RESOURCES -#define _AFX_NO_TRACKER_RESOURCES -#define _AFX_NO_PROPERTY_RESOURCES - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -LANGUAGE 9, 1 -#pragma code_page(1252) -#include "res\My7350Wav.rc2" // non-Microsoft Visual C++ edited resources -#include "afxres.rc" // Standard components -#endif - -///////////////////////////////////////////////////////////////////////////// -#endif // not APSTUDIO_INVOKED - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350DI_ExtReTrig/7350Wav.sln b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350DI_ExtReTrig/7350Wav.sln deleted file mode 100644 index b727fc7..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350DI_ExtReTrig/7350Wav.sln +++ /dev/null @@ -1,20 +0,0 @@ - -Microsoft Visual Studio Solution File, Format Version 10.00 -# Visual Studio 2008 -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "7350Wav", "7350Wav.vcproj", "{EBDB6610-7CE5-413C-A150-121068BFDB22}" -EndProject -Global - GlobalSection(SolutionConfigurationPlatforms) = preSolution - Debug|x64 = Debug|x64 - Release|x64 = Release|x64 - EndGlobalSection - GlobalSection(ProjectConfigurationPlatforms) = postSolution - {EBDB6610-7CE5-413C-A150-121068BFDB22}.Debug|x64.ActiveCfg = Debug|x64 - {EBDB6610-7CE5-413C-A150-121068BFDB22}.Debug|x64.Build.0 = Debug|x64 - {EBDB6610-7CE5-413C-A150-121068BFDB22}.Release|x64.ActiveCfg = Release|x64 - {EBDB6610-7CE5-413C-A150-121068BFDB22}.Release|x64.Build.0 = Release|x64 - EndGlobalSection - GlobalSection(SolutionProperties) = preSolution - HideSolutionNode = FALSE - EndGlobalSection -EndGlobal diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350DI_ExtReTrig/7350Wav.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350DI_ExtReTrig/7350Wav.suo deleted file mode 100644 index 2e8f023..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350DI_ExtReTrig/7350Wav.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350DI_ExtReTrig/7350Wav.vcproj b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350DI_ExtReTrig/7350Wav.vcproj deleted file mode 100644 index 05476c4..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350DI_ExtReTrig/7350Wav.vcproj +++ /dev/null @@ -1,286 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350DI_ExtReTrig/7350WavDlg.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350DI_ExtReTrig/7350WavDlg.cpp deleted file mode 100644 index 7285669..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350DI_ExtReTrig/7350WavDlg.cpp +++ /dev/null @@ -1,598 +0,0 @@ - -// 7350WavDlg.cpp : implementation file -// - -#include "stdafx.h" -#include "7350Wav.h" -#include "7350WavDlg.h" -#include "math.h" - -#ifndef M_PI -#define M_PI 3.14159265359 -#endif - -#define MAX_SIZE 1024000 //in words -#define MBufCount 16 //Buffer count to be set -#define TrigCount 4 //Total Trigger Count - -#ifdef _DEBUG -#define new DEBUG_NEW -#endif - -CRect plotRect; - -#define PCI7350_DIO_STATUS_TIMER 1 - -U16 gInBuf[MAX_SIZE], gOutBuf[MAX_SIZE]; -U16 *gDOBufferAddr[MBufCount]; //Buffer array to be set -U16 *gDIBufferAddr[TrigCount]; //Buffer array to be set -U16 gBufferID[MBufCount]; //Buffer ID returned -U32 gWriteCount = 10000; //Data count per one buffer to be written - - -// CAboutDlg dialog used for App About - -class CAboutDlg : public CDialog -{ -public: - CAboutDlg(); - -// Dialog Data - enum { IDD = IDD_ABOUTBOX }; - - protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - -// Implementation -protected: - DECLARE_MESSAGE_MAP() -}; - -CAboutDlg::CAboutDlg() : CDialog(CAboutDlg::IDD) -{ -} - -void CAboutDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); -} - -BEGIN_MESSAGE_MAP(CAboutDlg, CDialog) -END_MESSAGE_MAP() - - -// C7350WavDlg dialog - - -C7350WavDlg::C7350WavDlg(I16 hCard, CWnd* pParent /*=NULL*/) - : CDialog(C7350WavDlg::IDD, pParent) -{ - m_hIcon = AfxGetApp()->LoadIcon(IDR_MAINFRAME); - - m_hCard = hCard; - - OnBrush = OffBrush = NULL; - - n_PlotWidth = -1; - n_PlotHeight = -1; - - min_val = 0x00; - max_val = 0xFFFF; - - m_dwDISamples = 128000; - - m_nTimer = -1; - -} - -void C7350WavDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); -} - -BEGIN_MESSAGE_MAP(C7350WavDlg, CDialog) - ON_WM_SYSCOMMAND() - ON_WM_PAINT() - ON_WM_QUERYDRAGICON() - //}}AFX_MSG_MAP - ON_WM_DESTROY() - ON_BN_CLICKED(IDC_BT_START, &C7350WavDlg::OnStart) - ON_BN_CLICKED(IDC_BT_STOP, &C7350WavDlg::OnStop) - ON_WM_TIMER() -// ON_WM_VSCROLL() -END_MESSAGE_MAP() - - -// C7350WavDlg message handlers - -BOOL C7350WavDlg::OnInitDialog() -{ - I16 err; - int i; - CString strTemp; - - CDialog::OnInitDialog(); - - // Add "About..." menu item to system menu. - - // IDM_ABOUTBOX must be in the system command range. - ASSERT((IDM_ABOUTBOX & 0xFFF0) == IDM_ABOUTBOX); - ASSERT(IDM_ABOUTBOX < 0xF000); - - CMenu* pSysMenu = GetSystemMenu(FALSE); - if (pSysMenu != NULL) - { - BOOL bNameValid; - CString strAboutMenu; - bNameValid = strAboutMenu.LoadString(IDS_ABOUTBOX); - ASSERT(bNameValid); - if (!strAboutMenu.IsEmpty()) - { - pSysMenu->AppendMenu(MF_SEPARATOR); - pSysMenu->AppendMenu(MF_STRING, IDM_ABOUTBOX, strAboutMenu); - } - } - - // Set the icon for this dialog. The framework does this automatically - // when the application's main window is not a dialog - SetIcon(m_hIcon, TRUE); // Set big icon - SetIcon(m_hIcon, FALSE); // Set small icon - - strTemp.Format( TEXT("This sample performs continuous DI acquisition with %d external retrigger (AFI0)"), TrigCount ); - SetDlgItemText( IDC_STATIC_01, strTemp ); - - if( gWriteCount * MBufCount > MAX_SIZE ) - { - AfxMessageBox( TEXT(" WriteCount * MBufCOunt > MAX_SZIE ") ); - return TRUE; - } - else - { - for(i=0; iGetWindowRect(&plotRect); - ScreenToClient(&plotRect); - - n_PlotWidth = min( plotRect.Width(), 512); - n_PlotHeight = plotRect.Height() - 10; - } - - - // Set the default DI Sample - SetDlgItemInt( IDC_EDIT_SAMPLE, (UINT)(m_dwDISamples) ); - - err = DIO_VoltLevelConfig(m_hCard, P7350_PortDIO, VoltLevel_3R3); - if( err!=NoError ) - { - strTemp.Format( TEXT("DIO_VoltLevelConfig Error = %d"), err); - AfxMessageBox( strTemp ); - return TRUE; - } - - /* - * Set Input or Output for DIO Port - */ - err = DIO_PortConfig(m_hCard, P7350_DIO_A, INPUT_PORT); - if( err!=NoError ) - { - strTemp.Format( TEXT("DIO_PortConfig(P7350_DIO_A) Error = %d"), err); - AfxMessageBox( strTemp ); - return TRUE; - } - - err = DIO_PortConfig(m_hCard, P7350_DIO_B, OUTPUT_PORT); - if( err!=NoError ) - { - strTemp.Format( TEXT("DIO_PortConfig(P7350_DIO_B) Error = %d"), err); - AfxMessageBox( strTemp ); - return TRUE; - } - err = DIO_PortConfig(m_hCard, P7350_DIO_C, INPUT_PORT); - if( err!=NoError ) - { - strTemp.Format( TEXT("DIO_PortConfig(P7350_DIO_C) Error = %d"), err); - AfxMessageBox( strTemp ); - return TRUE; - } - err = DIO_PortConfig(m_hCard, P7350_DIO_D, OUTPUT_PORT); - if( err!=NoError ) - { - strTemp.Format( TEXT("DIO_PortConfig(P7350_DIO_D) Error = %d"), err); - AfxMessageBox( strTemp ); - return TRUE; - } - - - /* - * Set DI Configurations - */ - err = DI_7350_Config(m_hCard, 16, P7350_FreeRun, P7350_WAIT_EXTTRG, P7350_IntSampledCLK); - if( err!=NoError ) - { - strTemp.Format( TEXT("DI_7350_Config() Error = %d"), err); - AfxMessageBox( strTemp ); - return TRUE; - } - - /* - * Set DO Configurations - */ - err = DO_7350_Config(m_hCard, 16, P7350_FreeRun, P7350_WAIT_NO, P7350_IntSampledCLK); - if( err!=NoError ) - { - strTemp.Format( TEXT("DO_7350_Config() Error = %d"), err); - AfxMessageBox( strTemp ); - return TRUE; - } - - /* - * Set DI Trigger and HandShake Configurations - */ - err = DI_7350_TrigHSConfig( m_hCard, - 0/*TrigConfig*/, - 0/*DI_IPOL*/, - 0/*DI_REQSrc*/, - 0/*DI_ACKSrc*/, - 0/*DI_TRIGSrc*/, - P7350_AFI_0/*StartTrigSrc*/, - 0/*PauseTrigSrc*/, - 0/*SoftTrigOutSrc*/, - 0/*SoftTrigOutLength*/, - TrigCount - ); - - for (i=0; i(dc.GetSafeHdc()), 0); - - // Center icon in client rectangle - int cxIcon = GetSystemMetrics(SM_CXICON); - int cyIcon = GetSystemMetrics(SM_CYICON); - CRect rect; - GetClientRect(&rect); - int x = (rect.Width() - cxIcon + 1) / 2; - int y = (rect.Height() - cyIcon + 1) / 2; - - // Draw the icon - dc.DrawIcon(x, y, m_hIcon); - } - else - { - redraw_display_area(); - CDialog::OnPaint(); - } -} - -// The system calls this function to obtain the cursor to display while the user drags -// the minimized window. -HCURSOR C7350WavDlg::OnQueryDragIcon() -{ - return static_cast(m_hIcon); -} - - -void C7350WavDlg::OnDestroy() -{ - U32 count; - - CDialog::OnDestroy(); - - // TODO: Add your message handler code here - if( OnBrush != NULL ) - ::DeleteObject( OnBrush ); - - if( OffBrush != NULL ) - ::DeleteObject( OffBrush ); - - RedPen.DeleteObject(); - GreenPen.DeleteObject(); - - if( m_nTimer != -1 ) - { - KillTimer( m_nTimer ); - m_nTimer = -1; - } - - DI_AsyncClear( m_hCard, &count ); -} - -void C7350WavDlg::OnStart() -{ - // TODO: Add your control notification handler code here - U32 dwDISamples; - I16 err; - CString strMsg; - int i; - - dwDISamples = GetDlgItemInt( IDC_EDIT_SAMPLE ); - - if( (dwDISamples * TrigCount) > MAX_SIZE) - { - m_dwDISamples = MAX_SIZE/TrigCount; //at most 1000K samples DMA - AfxMessageBox(TEXT("This sample supports at most 1000K words DMA transfer\nOnly perform 100K words DMA transfer.")); - } - else if( (dwDISamples %4) != 0 ) - { - AfxMessageBox(TEXT("Misalignment error, the input buffer must be 32-bit alignment ")); - - } - else - { - m_dwDISamples = dwDISamples; - - for(i=0; iEnableWindow( FALSE ); - GetDlgItem( IDC_BT_STOP )->EnableWindow( TRUE ); - -} - -void C7350WavDlg::OnStop() -{ - // TODO: Add your control notification handler code here - U32 count; - - if( m_nTimer != -1 ) - { - KillTimer( m_nTimer ); - m_nTimer = -1; - } - - DI_AsyncClear(m_hCard, &count); - DO_AsyncClear(m_hCard, &count); - - - GetDlgItem( IDC_BT_START )->EnableWindow( TRUE ); - GetDlgItem( IDC_BT_STOP )->EnableWindow( FALSE); -} - -void C7350WavDlg::OnTimer(UINT_PTR nIDEvent) -{ - // TODO: Add your message handler code here and/or call default - BOOLEAN bDIStopped; - BOOLEAN Ready; - U32 count; - I16 err; - U16 RdyTrigCnt; - - err = DI_AsyncReTrigNextReady(m_hCard, &Ready, &bDIStopped, &RdyTrigCnt); - - if(Ready) - { - display_buffer_data(gDIBufferAddr[RdyTrigCnt-1]); - } - - if( RdyTrigCnt == TrigCount ) - { - - KillTimer( m_nTimer ); - m_nTimer = -1; - - DI_AsyncClear(m_hCard, &count); - DO_AsyncClear(m_hCard, &count); - - GetDlgItem( IDC_BT_START )->EnableWindow( TRUE ); - GetDlgItem( IDC_BT_STOP )->EnableWindow( FALSE); - } - - CDialog::OnTimer(nIDEvent); -} - - -void C7350WavDlg::display_buffer_data(U16* pBuf) -{ - CClientDC dc_plot(this); - int nDraw_Bottom; - - int newY, oldY = -1; - int newX, oldX = -1; - U32 index, di_data; - - nDraw_Bottom = ( plotRect.bottom - 5 ); - dc_plot.SelectObject( &GreenPen ); - - for( index=0; index // MFC core and standard components -#include // MFC extensions - - -#include // MFC Automation classes - - - -#ifndef _AFX_NO_OLE_SUPPORT -#include // MFC support for Internet Explorer 4 Common Controls -#endif -#ifndef _AFX_NO_AFXCMN_SUPPORT -#include // MFC support for Windows Common Controls -#endif // _AFX_NO_AFXCMN_SUPPORT - -#include // MFC support for ribbons and control bars - - - - - - - - - -#ifdef _UNICODE -#if defined _M_IX86 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='x86' publicKeyToken='6595b64144ccf1df' language='*'\"") -#elif defined _M_IA64 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='ia64' publicKeyToken='6595b64144ccf1df' language='*'\"") -#elif defined _M_X64 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='amd64' publicKeyToken='6595b64144ccf1df' language='*'\"") -#else -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='*' publicKeyToken='6595b64144ccf1df' language='*'\"") -#endif -#endif - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350DI_ExtReTrig/targetver.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350DI_ExtReTrig/targetver.h deleted file mode 100644 index 11730d5..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350DI_ExtReTrig/targetver.h +++ /dev/null @@ -1,26 +0,0 @@ - -#pragma once - -// The following macros define the minimum required platform. The minimum required platform -// is the earliest version of Windows, Internet Explorer etc. that has the necessary features to run -// your application. The macros work by enabling all features available on platform versions up to and -// including the version specified. - -// Modify the following defines if you have to target a platform prior to the ones specified below. -// Refer to MSDN for the latest info on corresponding values for different platforms. -#ifndef WINVER // Specifies that the minimum required platform is Windows Vista. -#define WINVER 0x0600 // Change this to the appropriate value to target other versions of Windows. -#endif - -#ifndef _WIN32_WINNT // Specifies that the minimum required platform is Windows Vista. -#define _WIN32_WINNT 0x0600 // Change this to the appropriate value to target other versions of Windows. -#endif - -#ifndef _WIN32_WINDOWS // Specifies that the minimum required platform is Windows 98. -#define _WIN32_WINDOWS 0x0410 // Change this to the appropriate value to target Windows Me or later. -#endif - -#ifndef _WIN32_IE // Specifies that the minimum required platform is Internet Explorer 7.0. -#define _WIN32_IE 0x0700 // Change this to the appropriate value to target other versions of IE. -#endif - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350DI_ExtTrig/7200Wav.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350DI_ExtTrig/7200Wav.suo deleted file mode 100644 index bc032e1..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350DI_ExtTrig/7200Wav.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350DI_ExtTrig/7300bWav.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350DI_ExtTrig/7300bWav.suo deleted file mode 100644 index 90ac3f3..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350DI_ExtTrig/7300bWav.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350DI_ExtTrig/7350Wav.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350DI_ExtTrig/7350Wav.cpp deleted file mode 100644 index 066dfa9..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350DI_ExtTrig/7350Wav.cpp +++ /dev/null @@ -1,110 +0,0 @@ - -// 7350Wav.cpp : Defines the class behaviors for the application. -// - -#include "stdafx.h" -#include "7350Wav.h" -#include "7350WavDlg.h" -#include "CardIDDlg.h" - -#ifdef _DEBUG -#define new DEBUG_NEW -#endif - - -// C7350WavApp - -BEGIN_MESSAGE_MAP(C7350WavApp, CWinAppEx) - ON_COMMAND(ID_HELP, &CWinApp::OnHelp) -END_MESSAGE_MAP() - - -// C7350WavApp construction - -C7350WavApp::C7350WavApp() -{ - // TODO: add construction code here, - // Place all significant initialization in InitInstance -} - - -// The one and only C7350WavApp object - -C7350WavApp theApp; - - -// C7350WavApp initialization - -BOOL C7350WavApp::InitInstance() -{ - int nCardID = 0; - I16 hCard; - CString strTemp; - INT_PTR nResponse; - - // InitCommonControlsEx() is required on Windows XP if an application - // manifest specifies use of ComCtl32.dll version 6 or later to enable - // visual styles. Otherwise, any window creation will fail. - INITCOMMONCONTROLSEX InitCtrls; - InitCtrls.dwSize = sizeof(InitCtrls); - // Set this to include all the common control classes you want to use - // in your application. - InitCtrls.dwICC = ICC_WIN95_CLASSES; - InitCommonControlsEx(&InitCtrls); - - CWinAppEx::InitInstance(); - - AfxEnableControlContainer(); - - // Standard initialization - // If you are not using these features and wish to reduce the size - // of your final executable, you should remove from the following - // the specific initialization routines you do not need - // Change the registry key under which our settings are stored - // TODO: You should modify this string to be something appropriate - // such as the name of your company or organization - SetRegistryKey(_T("Local AppWizard-Generated Applications")); - - CCardIDDlg CardDlg( nCardID ); - - nResponse = CardDlg.DoModal(); - if (nResponse == IDOK) - { - nCardID = CardDlg.GetCardID(); - - if ((hCard=Register_Card(PCI_7350, nCardID)) < 0) - { - strTemp.Format( TEXT("Register_Card Error = %d"), hCard); - AfxMessageBox( strTemp ); - } - else - { - C7350WavDlg dlg(hCard); - m_pMainWnd = &dlg; - nResponse = dlg.DoModal(); - if (nResponse == IDOK) - { - // TODO: Place code here to handle when the dialog is - // dismissed with OK - } - else if (nResponse == IDCANCEL) - { - // TODO: Place code here to handle when the dialog is - // dismissed with Cancel - } - - if (hCard >= 0) Release_Card(hCard); - } - - } - else if (nResponse == IDCANCEL) - { - // TODO: Place code here to handle when the dialog is - // dismissed with Cancel - } - - - // Since the dialog has been closed, return FALSE so that we exit the - // application, rather than start the application's message pump. - return FALSE; -} diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350DI_ExtTrig/7350Wav.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350DI_ExtTrig/7350Wav.h deleted file mode 100644 index c651b47..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350DI_ExtTrig/7350Wav.h +++ /dev/null @@ -1,32 +0,0 @@ - -// 7350Wav.h : main header file for the PROJECT_NAME application -// - -#pragma once - -#ifndef __AFXWIN_H__ - #error "include 'stdafx.h' before including this file for PCH" -#endif - -#include "resource.h" // main symbols - - -// C7350WavApp: -// See 7350Wav.cpp for the implementation of this class -// - -class C7350WavApp : public CWinAppEx -{ -public: - C7350WavApp(); - -// Overrides - public: - virtual BOOL InitInstance(); - -// Implementation - - DECLARE_MESSAGE_MAP() -}; - -extern C7350WavApp theApp; \ No newline at end of file diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350DI_ExtTrig/7350Wav.rc b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350DI_ExtTrig/7350Wav.rc deleted file mode 100644 index d016167..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350DI_ExtTrig/7350Wav.rc +++ /dev/null @@ -1,281 +0,0 @@ -// Microsoft Visual C++ generated resource script. -// -#include "resource.h" - -#define APSTUDIO_READONLY_SYMBOLS -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 2 resource. -// -#ifndef APSTUDIO_INVOKED -#include "targetver.h" -#endif -#include "afxres.h" - -///////////////////////////////////////////////////////////////////////////// -#undef APSTUDIO_READONLY_SYMBOLS - -///////////////////////////////////////////////////////////////////////////// -// Chinese (Taiwan) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_CHT) -#ifdef _WIN32 -LANGUAGE LANG_CHINESE, SUBLANG_CHINESE_TRADITIONAL -#pragma code_page(950) -#endif //_WIN32 - -#ifdef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// TEXTINCLUDE -// - -1 TEXTINCLUDE -BEGIN - "resource.h\0" -END - -2 TEXTINCLUDE -BEGIN - "#ifndef APSTUDIO_INVOKED\r\n" - "#include ""targetver.h""\r\n" - "#endif\r\n" - "#include ""afxres.h""\r\n" - "\0" -END - -3 TEXTINCLUDE -BEGIN - "#define _AFX_NO_SPLITTER_RESOURCES\r\n" - "#define _AFX_NO_OLE_RESOURCES\r\n" - "#define _AFX_NO_TRACKER_RESOURCES\r\n" - "#define _AFX_NO_PROPERTY_RESOURCES\r\n" - "\r\n" - "#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)\r\n" - "LANGUAGE 9, 1\r\n" - "#pragma code_page(1252)\r\n" - "#include ""res\\My7350Wav.rc2"" // non-Microsoft Visual C++ edited resources\r\n" - "#include ""afxres.rc"" // Standard components\r\n" - "#endif\r\n" - "\0" -END - -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// Icon -// - -// Icon with lowest ID value placed first to ensure application icon -// remains consistent on all systems. -IDR_MAINFRAME ICON "res\\7350Wav.ico" -#endif // Chinese (Taiwan) resources -///////////////////////////////////////////////////////////////////////////// - - -///////////////////////////////////////////////////////////////////////////// -// English (U.S.) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -#ifdef _WIN32 -LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US -#pragma code_page(1252) -#endif //_WIN32 - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog -// - -IDD_ABOUTBOX DIALOGEX 0, 0, 170, 62 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "About 7350Wav" -FONT 8, "MS Shell Dlg", 0, 0, 0x1 -BEGIN - ICON IDR_MAINFRAME,IDC_STATIC,14,14,21,20 - LTEXT "7350Wav, Version 1.0",IDC_STATIC,42,14,114,8,SS_NOPREFIX - LTEXT "Copyright (C) 2010",IDC_STATIC,42,26,114,8 - DEFPUSHBUTTON "OK",IDOK,113,41,50,14,WS_GROUP -END - -IDD_MY7350Wav_DIALOG DIALOGEX 0, 0, 351, 234 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU -EXSTYLE WS_EX_APPWINDOW -CAPTION "PCI-7350 DMA" -FONT 8, "MS Shell Dlg", 0, 0, 0x1 -BEGIN - GROUPBOX "",IDC_STATIC_DRAW,52,44,293,138,NOT WS_VISIBLE - EDITTEXT IDC_EDIT_SAMPLE,208,190,51,12,ES_AUTOHSCROLL - LTEXT "DI Samples :",IDC_STATIC,159,191,45,9 - PUSHBUTTON "Start",IDC_BT_START,293,188,48,17 - PUSHBUTTON "Stop",IDC_BT_STOP,293,207,48,17 - LTEXT "The configuration is set as DI16DO16.\nINPUT_PORT: P7350_DIO_A and P7350_DIO_C\nOUTPUT_PORT: P7350_DIO_B and P7350_DIO_D.",IDC_STATIC,13,1,298,26 - LTEXT "This sample performs infinite DO output and continuous DI acquisition with external trigger (AFI0)",IDC_STATIC_01,14,30,326,14 -END - -IDD_CARDID_DIALOG DIALOGEX 0, 0, 170, 89 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "Card ID" -FONT 8, "MS Shell Dlg", 400, 0, 0x1 -BEGIN - COMBOBOX IDC_COMBO_CARDID,75,17,71,126,CBS_DROPDOWN | WS_VSCROLL | WS_TABSTOP - LTEXT "Card Number",IDC_STATIC_01,21,18,46,12 - PUSHBUTTON "OK",IDOK,22,50,58,19 - PUSHBUTTON "CANCEL",IDCANCEL,86,50,58,19 -END - - -///////////////////////////////////////////////////////////////////////////// -// -// Version -// - -VS_VERSION_INFO VERSIONINFO - FILEVERSION 1,0,0,1 - PRODUCTVERSION 1,0,0,1 - FILEFLAGSMASK 0x3fL -#ifdef _DEBUG - FILEFLAGS 0x1L -#else - FILEFLAGS 0x0L -#endif - FILEOS 0x4L - FILETYPE 0x1L - FILESUBTYPE 0x0L -BEGIN - BLOCK "StringFileInfo" - BEGIN - BLOCK "040904e4" - BEGIN - VALUE "CompanyName", "TODO: " - VALUE "FileDescription", "TODO: " - VALUE "FileVersion", "1.0.0.1" - VALUE "InternalName", "7350Wav.exe" - VALUE "LegalCopyright", "TODO: (c) . All rights reserved." - VALUE "OriginalFilename", "7350Wav.exe" - VALUE "ProductName", "TODO: " - VALUE "ProductVersion", "1.0.0.1" - END - END - BLOCK "VarFileInfo" - BEGIN - VALUE "Translation", 0x409, 1252 - END -END - - -///////////////////////////////////////////////////////////////////////////// -// -// DESIGNINFO -// - -#ifdef APSTUDIO_INVOKED -GUIDELINES DESIGNINFO -BEGIN - IDD_ABOUTBOX, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 163 - TOPMARGIN, 7 - BOTTOMMARGIN, 55 - END - - IDD_MY7350Wav_DIALOG, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 346 - TOPMARGIN, 7 - BOTTOMMARGIN, 227 - END - - IDD_CARDID_DIALOG, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 163 - TOPMARGIN, 7 - BOTTOMMARGIN, 82 - END -END -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog Info -// - -IDD_CARDID_DIALOG DLGINIT -BEGIN - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0030, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0031, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0032, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0033, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0034, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0035, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0036, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0037, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0038, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0039, - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3031, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3131, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3231, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3331, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3431, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3531, "\000" - 0 -END - - -///////////////////////////////////////////////////////////////////////////// -// -// String Table -// - -STRINGTABLE -BEGIN - IDS_ABOUTBOX "&About 7350Wav..." -END - -#endif // English (U.S.) resources -///////////////////////////////////////////////////////////////////////////// - - - -#ifndef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 3 resource. -// -#define _AFX_NO_SPLITTER_RESOURCES -#define _AFX_NO_OLE_RESOURCES -#define _AFX_NO_TRACKER_RESOURCES -#define _AFX_NO_PROPERTY_RESOURCES - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -LANGUAGE 9, 1 -#pragma code_page(1252) -#include "res\My7350Wav.rc2" // non-Microsoft Visual C++ edited resources -#include "afxres.rc" // Standard components -#endif - -///////////////////////////////////////////////////////////////////////////// -#endif // not APSTUDIO_INVOKED - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350DI_ExtTrig/7350Wav.sln b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350DI_ExtTrig/7350Wav.sln deleted file mode 100644 index b727fc7..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350DI_ExtTrig/7350Wav.sln +++ /dev/null @@ -1,20 +0,0 @@ - -Microsoft Visual Studio Solution File, Format Version 10.00 -# Visual Studio 2008 -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "7350Wav", "7350Wav.vcproj", "{EBDB6610-7CE5-413C-A150-121068BFDB22}" -EndProject -Global - GlobalSection(SolutionConfigurationPlatforms) = preSolution - Debug|x64 = Debug|x64 - Release|x64 = Release|x64 - EndGlobalSection - GlobalSection(ProjectConfigurationPlatforms) = postSolution - {EBDB6610-7CE5-413C-A150-121068BFDB22}.Debug|x64.ActiveCfg = Debug|x64 - {EBDB6610-7CE5-413C-A150-121068BFDB22}.Debug|x64.Build.0 = Debug|x64 - {EBDB6610-7CE5-413C-A150-121068BFDB22}.Release|x64.ActiveCfg = Release|x64 - {EBDB6610-7CE5-413C-A150-121068BFDB22}.Release|x64.Build.0 = Release|x64 - EndGlobalSection - GlobalSection(SolutionProperties) = preSolution - HideSolutionNode = FALSE - EndGlobalSection -EndGlobal diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350DI_ExtTrig/7350Wav.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350DI_ExtTrig/7350Wav.suo deleted file mode 100644 index 146bafe..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350DI_ExtTrig/7350Wav.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350DI_ExtTrig/7350Wav.vcproj b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350DI_ExtTrig/7350Wav.vcproj deleted file mode 100644 index 05476c4..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350DI_ExtTrig/7350Wav.vcproj +++ /dev/null @@ -1,286 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350DI_ExtTrig/7350WavDlg.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350DI_ExtTrig/7350WavDlg.cpp deleted file mode 100644 index f4b2a9d..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350DI_ExtTrig/7350WavDlg.cpp +++ /dev/null @@ -1,588 +0,0 @@ - -// 7350WavDlg.cpp : implementation file -// - -#include "stdafx.h" -#include "7350Wav.h" -#include "7350WavDlg.h" -#include "math.h" - -#ifndef M_PI -#define M_PI 3.14159265359 -#endif - -#define MAX_SIZE 1024000 //in words -#define MBufCount 16 //Buffer count to be set -#define TrigCount 1 //Total Trigger Count - -#ifdef _DEBUG -#define new DEBUG_NEW -#endif - -CRect plotRect; - -#define PCI7350_DIO_STATUS_TIMER 1 - -U16 gInBuf[MAX_SIZE], gOutBuf[MAX_SIZE]; -U16 *gDOBufferAddr[MBufCount]; //Buffer array to be set -U16 gBufferID[MBufCount]; //Buffer ID returned -U32 gWriteCount = 10000; //Data count per one buffer to be written - - -// CAboutDlg dialog used for App About - -class CAboutDlg : public CDialog -{ -public: - CAboutDlg(); - -// Dialog Data - enum { IDD = IDD_ABOUTBOX }; - - protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - -// Implementation -protected: - DECLARE_MESSAGE_MAP() -}; - -CAboutDlg::CAboutDlg() : CDialog(CAboutDlg::IDD) -{ -} - -void CAboutDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); -} - -BEGIN_MESSAGE_MAP(CAboutDlg, CDialog) -END_MESSAGE_MAP() - - -// C7350WavDlg dialog - - -C7350WavDlg::C7350WavDlg(I16 hCard, CWnd* pParent /*=NULL*/) - : CDialog(C7350WavDlg::IDD, pParent) -{ - m_hIcon = AfxGetApp()->LoadIcon(IDR_MAINFRAME); - - m_hCard = hCard; - - OnBrush = OffBrush = NULL; - - n_PlotWidth = -1; - n_PlotHeight = -1; - - min_val = 0x00; - max_val = 0xFFFF; - - m_dwDISamples = 128000; - - m_nTimer = -1; - -} - -void C7350WavDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); -} - -BEGIN_MESSAGE_MAP(C7350WavDlg, CDialog) - ON_WM_SYSCOMMAND() - ON_WM_PAINT() - ON_WM_QUERYDRAGICON() - //}}AFX_MSG_MAP - ON_WM_DESTROY() - ON_BN_CLICKED(IDC_BT_START, &C7350WavDlg::OnStart) - ON_BN_CLICKED(IDC_BT_STOP, &C7350WavDlg::OnStop) - ON_WM_TIMER() -// ON_WM_VSCROLL() -END_MESSAGE_MAP() - - -// C7350WavDlg message handlers - -BOOL C7350WavDlg::OnInitDialog() -{ - I16 err; - int i; - CString strTemp; - - CDialog::OnInitDialog(); - - // Add "About..." menu item to system menu. - - // IDM_ABOUTBOX must be in the system command range. - ASSERT((IDM_ABOUTBOX & 0xFFF0) == IDM_ABOUTBOX); - ASSERT(IDM_ABOUTBOX < 0xF000); - - CMenu* pSysMenu = GetSystemMenu(FALSE); - if (pSysMenu != NULL) - { - BOOL bNameValid; - CString strAboutMenu; - bNameValid = strAboutMenu.LoadString(IDS_ABOUTBOX); - ASSERT(bNameValid); - if (!strAboutMenu.IsEmpty()) - { - pSysMenu->AppendMenu(MF_SEPARATOR); - pSysMenu->AppendMenu(MF_STRING, IDM_ABOUTBOX, strAboutMenu); - } - } - - // Set the icon for this dialog. The framework does this automatically - // when the application's main window is not a dialog - SetIcon(m_hIcon, TRUE); // Set big icon - SetIcon(m_hIcon, FALSE); // Set small icon - - strTemp.Format( TEXT("This sample performs continuous DI acquisition with %d external retrigger (AFI0)"), TrigCount ); - SetDlgItemText( IDC_STATIC_01, strTemp ); - - if( gWriteCount * MBufCount > MAX_SIZE ) - { - AfxMessageBox( TEXT(" WriteCount * MBufCOunt > MAX_SZIE ") ); - return TRUE; - } - else - { - for(i=0; iGetWindowRect(&plotRect); - ScreenToClient(&plotRect); - - n_PlotWidth = min( plotRect.Width(), 512); - n_PlotHeight = plotRect.Height() - 10; - } - - - // Set the default DI Sample - SetDlgItemInt( IDC_EDIT_SAMPLE, (UINT)(m_dwDISamples) ); - - err = DIO_VoltLevelConfig(m_hCard, P7350_PortDIO, VoltLevel_3R3); - if( err!=NoError ) - { - strTemp.Format( TEXT("DIO_VoltLevelConfig Error = %d"), err); - AfxMessageBox( strTemp ); - return TRUE; - } - - /* - * Set Input or Output for DIO Port - */ - err = DIO_PortConfig(m_hCard, P7350_DIO_A, INPUT_PORT); - if( err!=NoError ) - { - strTemp.Format( TEXT("DIO_PortConfig(P7350_DIO_A) Error = %d"), err); - AfxMessageBox( strTemp ); - return TRUE; - } - - err = DIO_PortConfig(m_hCard, P7350_DIO_B, OUTPUT_PORT); - if( err!=NoError ) - { - strTemp.Format( TEXT("DIO_PortConfig(P7350_DIO_B) Error = %d"), err); - AfxMessageBox( strTemp ); - return TRUE; - } - err = DIO_PortConfig(m_hCard, P7350_DIO_C, INPUT_PORT); - if( err!=NoError ) - { - strTemp.Format( TEXT("DIO_PortConfig(P7350_DIO_C) Error = %d"), err); - AfxMessageBox( strTemp ); - return TRUE; - } - err = DIO_PortConfig(m_hCard, P7350_DIO_D, OUTPUT_PORT); - if( err!=NoError ) - { - strTemp.Format( TEXT("DIO_PortConfig(P7350_DIO_D) Error = %d"), err); - AfxMessageBox( strTemp ); - return TRUE; - } - - - /* - * Set DI Configurations - */ - err = DI_7350_Config(m_hCard, 16, P7350_FreeRun, P7350_WAIT_EXTTRG, P7350_IntSampledCLK); - if( err!=NoError ) - { - strTemp.Format( TEXT("DI_7350_Config() Error = %d"), err); - AfxMessageBox( strTemp ); - return TRUE; - } - - /* - * Set DO Configurations - */ - err = DO_7350_Config(m_hCard, 16, P7350_FreeRun, P7350_WAIT_NO, P7350_IntSampledCLK); - if( err!=NoError ) - { - strTemp.Format( TEXT("DO_7350_Config() Error = %d"), err); - AfxMessageBox( strTemp ); - return TRUE; - } - - /* - * Set DI Trigger and HandShake Configurations - */ - err = DI_7350_TrigHSConfig( m_hCard, - 0/*TrigConfig*/, - 0/*DI_IPOL*/, - 0/*DI_REQSrc*/, - 0/*DI_ACKSrc*/, - 0/*DI_TRIGSrc*/, - P7350_AFI_0/*StartTrigSrc*/, - 0/*PauseTrigSrc*/, - 0/*SoftTrigOutSrc*/, - 0/*SoftTrigOutLength*/, - 1 - ); - - for (i=0; i(dc.GetSafeHdc()), 0); - - // Center icon in client rectangle - int cxIcon = GetSystemMetrics(SM_CXICON); - int cyIcon = GetSystemMetrics(SM_CYICON); - CRect rect; - GetClientRect(&rect); - int x = (rect.Width() - cxIcon + 1) / 2; - int y = (rect.Height() - cyIcon + 1) / 2; - - // Draw the icon - dc.DrawIcon(x, y, m_hIcon); - } - else - { - redraw_display_area(); - CDialog::OnPaint(); - } -} - -// The system calls this function to obtain the cursor to display while the user drags -// the minimized window. -HCURSOR C7350WavDlg::OnQueryDragIcon() -{ - return static_cast(m_hIcon); -} - - -void C7350WavDlg::OnDestroy() -{ - U32 count; - - CDialog::OnDestroy(); - - // TODO: Add your message handler code here - if( OnBrush != NULL ) - ::DeleteObject( OnBrush ); - - if( OffBrush != NULL ) - ::DeleteObject( OffBrush ); - - RedPen.DeleteObject(); - GreenPen.DeleteObject(); - - if( m_nTimer != -1 ) - { - KillTimer( m_nTimer ); - m_nTimer = -1; - } - - DI_AsyncClear( m_hCard, &count ); -} - -void C7350WavDlg::OnStart() -{ - // TODO: Add your control notification handler code here - U32 dwDISamples; - I16 err; - CString strMsg; - int i; - - dwDISamples = GetDlgItemInt( IDC_EDIT_SAMPLE ); - - if( dwDISamples > MAX_SIZE) - { - m_dwDISamples = MAX_SIZE; //at most 1000K samples DMA - AfxMessageBox(TEXT("This sample supports at most 1000K words DMA transfer\nOnly perform 100K words DMA transfer.")); - } - else if( (dwDISamples %4) != 0 ) - { - AfxMessageBox(TEXT("Misalignment error, the input buffer must be 32-bit alignment ")); - - } - else - { - m_dwDISamples = dwDISamples; - } - - err = DO_ContMultiBufferStart(m_hCard, 0, 1000000); - if(err!=NoError) - { - strMsg.Format(TEXT("DO_ContMultiBufferStart Error = %d"), err); - AfxMessageBox( strMsg ); - return; - } - - err = DI_ContReadPort (m_hCard, 0, gInBuf, m_dwDISamples, 1000000, ASYNCH_OP); - if (err < 0) - { - strMsg.Format(TEXT("DI_ContReadPort Error = %d"), err); - AfxMessageBox( strMsg ); - return; - } - - - // clear display area - redraw_display_area(); - - if( m_nTimer == -1 ) - { - m_nTimer = SetTimer( PCI7350_DIO_STATUS_TIMER, 50, NULL ); - } - - GetDlgItem( IDC_BT_START )->EnableWindow( FALSE ); - GetDlgItem( IDC_BT_STOP )->EnableWindow( TRUE ); - -} - -void C7350WavDlg::OnStop() -{ - // TODO: Add your control notification handler code here - U32 count; - - if( m_nTimer != -1 ) - { - KillTimer( m_nTimer ); - m_nTimer = -1; - } - - DI_AsyncClear(m_hCard, &count); - DO_AsyncClear(m_hCard, &count); - - - GetDlgItem( IDC_BT_START )->EnableWindow( TRUE ); - GetDlgItem( IDC_BT_STOP )->EnableWindow( FALSE); -} - -void C7350WavDlg::OnTimer(UINT_PTR nIDEvent) -{ - // TODO: Add your message handler code here and/or call default - BOOLEAN bDIStopped; - U32 count; - I16 err; - - err = DI_AsyncCheck( m_hCard, &bDIStopped, &count ); - if( bDIStopped ) - { - // stop timer - KillTimer( m_nTimer ); - m_nTimer = -1; - - // reset the Button status - GetDlgItem( IDC_BT_START )->EnableWindow( TRUE ); - GetDlgItem( IDC_BT_STOP )->EnableWindow( FALSE ); - - err = DI_AsyncClear( m_hCard, &count ); - err = DO_AsyncClear( m_hCard, &count ); - - display_buffer_data(gInBuf); - } - - - CDialog::OnTimer(nIDEvent); -} - - -void C7350WavDlg::display_buffer_data(U16* pBuf) -{ - CClientDC dc_plot(this); - int nDraw_Bottom; - - int newY, oldY = -1; - int newX, oldX = -1; - U32 index, di_data; - - nDraw_Bottom = ( plotRect.bottom - 5 ); - dc_plot.SelectObject( &GreenPen ); - - for( index=0; index // MFC core and standard components -#include // MFC extensions - - -#include // MFC Automation classes - - - -#ifndef _AFX_NO_OLE_SUPPORT -#include // MFC support for Internet Explorer 4 Common Controls -#endif -#ifndef _AFX_NO_AFXCMN_SUPPORT -#include // MFC support for Windows Common Controls -#endif // _AFX_NO_AFXCMN_SUPPORT - -#include // MFC support for ribbons and control bars - - - - - - - - - -#ifdef _UNICODE -#if defined _M_IX86 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='x86' publicKeyToken='6595b64144ccf1df' language='*'\"") -#elif defined _M_IA64 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='ia64' publicKeyToken='6595b64144ccf1df' language='*'\"") -#elif defined _M_X64 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='amd64' publicKeyToken='6595b64144ccf1df' language='*'\"") -#else -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='*' publicKeyToken='6595b64144ccf1df' language='*'\"") -#endif -#endif - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350DI_ExtTrig/targetver.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350DI_ExtTrig/targetver.h deleted file mode 100644 index 11730d5..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350DI_ExtTrig/targetver.h +++ /dev/null @@ -1,26 +0,0 @@ - -#pragma once - -// The following macros define the minimum required platform. The minimum required platform -// is the earliest version of Windows, Internet Explorer etc. that has the necessary features to run -// your application. The macros work by enabling all features available on platform versions up to and -// including the version specified. - -// Modify the following defines if you have to target a platform prior to the ones specified below. -// Refer to MSDN for the latest info on corresponding values for different platforms. -#ifndef WINVER // Specifies that the minimum required platform is Windows Vista. -#define WINVER 0x0600 // Change this to the appropriate value to target other versions of Windows. -#endif - -#ifndef _WIN32_WINNT // Specifies that the minimum required platform is Windows Vista. -#define _WIN32_WINNT 0x0600 // Change this to the appropriate value to target other versions of Windows. -#endif - -#ifndef _WIN32_WINDOWS // Specifies that the minimum required platform is Windows 98. -#define _WIN32_WINDOWS 0x0410 // Change this to the appropriate value to target Windows Me or later. -#endif - -#ifndef _WIN32_IE // Specifies that the minimum required platform is Internet Explorer 7.0. -#define _WIN32_IE 0x0700 // Change this to the appropriate value to target other versions of IE. -#endif - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350DOMBuf/7200Wav.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350DOMBuf/7200Wav.suo deleted file mode 100644 index bc032e1..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350DOMBuf/7200Wav.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350DOMBuf/7300bWav.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350DOMBuf/7300bWav.suo deleted file mode 100644 index 90ac3f3..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350DOMBuf/7300bWav.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350DOMBuf/7350Wav.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350DOMBuf/7350Wav.cpp deleted file mode 100644 index 066dfa9..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350DOMBuf/7350Wav.cpp +++ /dev/null @@ -1,110 +0,0 @@ - -// 7350Wav.cpp : Defines the class behaviors for the application. -// - -#include "stdafx.h" -#include "7350Wav.h" -#include "7350WavDlg.h" -#include "CardIDDlg.h" - -#ifdef _DEBUG -#define new DEBUG_NEW -#endif - - -// C7350WavApp - -BEGIN_MESSAGE_MAP(C7350WavApp, CWinAppEx) - ON_COMMAND(ID_HELP, &CWinApp::OnHelp) -END_MESSAGE_MAP() - - -// C7350WavApp construction - -C7350WavApp::C7350WavApp() -{ - // TODO: add construction code here, - // Place all significant initialization in InitInstance -} - - -// The one and only C7350WavApp object - -C7350WavApp theApp; - - -// C7350WavApp initialization - -BOOL C7350WavApp::InitInstance() -{ - int nCardID = 0; - I16 hCard; - CString strTemp; - INT_PTR nResponse; - - // InitCommonControlsEx() is required on Windows XP if an application - // manifest specifies use of ComCtl32.dll version 6 or later to enable - // visual styles. Otherwise, any window creation will fail. - INITCOMMONCONTROLSEX InitCtrls; - InitCtrls.dwSize = sizeof(InitCtrls); - // Set this to include all the common control classes you want to use - // in your application. - InitCtrls.dwICC = ICC_WIN95_CLASSES; - InitCommonControlsEx(&InitCtrls); - - CWinAppEx::InitInstance(); - - AfxEnableControlContainer(); - - // Standard initialization - // If you are not using these features and wish to reduce the size - // of your final executable, you should remove from the following - // the specific initialization routines you do not need - // Change the registry key under which our settings are stored - // TODO: You should modify this string to be something appropriate - // such as the name of your company or organization - SetRegistryKey(_T("Local AppWizard-Generated Applications")); - - CCardIDDlg CardDlg( nCardID ); - - nResponse = CardDlg.DoModal(); - if (nResponse == IDOK) - { - nCardID = CardDlg.GetCardID(); - - if ((hCard=Register_Card(PCI_7350, nCardID)) < 0) - { - strTemp.Format( TEXT("Register_Card Error = %d"), hCard); - AfxMessageBox( strTemp ); - } - else - { - C7350WavDlg dlg(hCard); - m_pMainWnd = &dlg; - nResponse = dlg.DoModal(); - if (nResponse == IDOK) - { - // TODO: Place code here to handle when the dialog is - // dismissed with OK - } - else if (nResponse == IDCANCEL) - { - // TODO: Place code here to handle when the dialog is - // dismissed with Cancel - } - - if (hCard >= 0) Release_Card(hCard); - } - - } - else if (nResponse == IDCANCEL) - { - // TODO: Place code here to handle when the dialog is - // dismissed with Cancel - } - - - // Since the dialog has been closed, return FALSE so that we exit the - // application, rather than start the application's message pump. - return FALSE; -} diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350DOMBuf/7350Wav.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350DOMBuf/7350Wav.h deleted file mode 100644 index c651b47..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350DOMBuf/7350Wav.h +++ /dev/null @@ -1,32 +0,0 @@ - -// 7350Wav.h : main header file for the PROJECT_NAME application -// - -#pragma once - -#ifndef __AFXWIN_H__ - #error "include 'stdafx.h' before including this file for PCH" -#endif - -#include "resource.h" // main symbols - - -// C7350WavApp: -// See 7350Wav.cpp for the implementation of this class -// - -class C7350WavApp : public CWinAppEx -{ -public: - C7350WavApp(); - -// Overrides - public: - virtual BOOL InitInstance(); - -// Implementation - - DECLARE_MESSAGE_MAP() -}; - -extern C7350WavApp theApp; \ No newline at end of file diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350DOMBuf/7350Wav.rc b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350DOMBuf/7350Wav.rc deleted file mode 100644 index 8f462e9..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350DOMBuf/7350Wav.rc +++ /dev/null @@ -1,281 +0,0 @@ -// Microsoft Visual C++ generated resource script. -// -#include "resource.h" - -#define APSTUDIO_READONLY_SYMBOLS -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 2 resource. -// -#ifndef APSTUDIO_INVOKED -#include "targetver.h" -#endif -#include "afxres.h" - -///////////////////////////////////////////////////////////////////////////// -#undef APSTUDIO_READONLY_SYMBOLS - -///////////////////////////////////////////////////////////////////////////// -// Chinese (Taiwan) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_CHT) -#ifdef _WIN32 -LANGUAGE LANG_CHINESE, SUBLANG_CHINESE_TRADITIONAL -#pragma code_page(950) -#endif //_WIN32 - -#ifdef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// TEXTINCLUDE -// - -1 TEXTINCLUDE -BEGIN - "resource.h\0" -END - -2 TEXTINCLUDE -BEGIN - "#ifndef APSTUDIO_INVOKED\r\n" - "#include ""targetver.h""\r\n" - "#endif\r\n" - "#include ""afxres.h""\r\n" - "\0" -END - -3 TEXTINCLUDE -BEGIN - "#define _AFX_NO_SPLITTER_RESOURCES\r\n" - "#define _AFX_NO_OLE_RESOURCES\r\n" - "#define _AFX_NO_TRACKER_RESOURCES\r\n" - "#define _AFX_NO_PROPERTY_RESOURCES\r\n" - "\r\n" - "#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)\r\n" - "LANGUAGE 9, 1\r\n" - "#pragma code_page(1252)\r\n" - "#include ""res\\My7350Wav.rc2"" // non-Microsoft Visual C++ edited resources\r\n" - "#include ""afxres.rc"" // Standard components\r\n" - "#endif\r\n" - "\0" -END - -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// Icon -// - -// Icon with lowest ID value placed first to ensure application icon -// remains consistent on all systems. -IDR_MAINFRAME ICON "res\\7350Wav.ico" -#endif // Chinese (Taiwan) resources -///////////////////////////////////////////////////////////////////////////// - - -///////////////////////////////////////////////////////////////////////////// -// English (U.S.) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -#ifdef _WIN32 -LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US -#pragma code_page(1252) -#endif //_WIN32 - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog -// - -IDD_ABOUTBOX DIALOGEX 0, 0, 170, 62 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "About 7350Wav" -FONT 8, "MS Shell Dlg", 0, 0, 0x1 -BEGIN - ICON IDR_MAINFRAME,IDC_STATIC,14,14,21,20 - LTEXT "7350Wav, Version 1.0",IDC_STATIC,42,14,114,8,SS_NOPREFIX - LTEXT "Copyright (C) 2010",IDC_STATIC,42,26,114,8 - DEFPUSHBUTTON "OK",IDOK,113,41,50,14,WS_GROUP -END - -IDD_MY7350Wav_DIALOG DIALOGEX 0, 0, 376, 248 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU -EXSTYLE WS_EX_APPWINDOW -CAPTION "PCI-7350 DMA" -FONT 8, "MS Shell Dlg", 0, 0, 0x1 -BEGIN - GROUPBOX "",IDC_STATIC_DRAW,71,54,293,138,NOT WS_VISIBLE - EDITTEXT IDC_EDIT_SAMPLE,230,200,51,12,ES_AUTOHSCROLL - LTEXT "DI Samples :",IDC_STATIC,181,201,45,9 - PUSHBUTTON "Start",IDC_BT_START,315,198,48,17 - PUSHBUTTON "Stop",IDC_BT_STOP,315,217,48,17 - LTEXT "The configuration is set as DI16DO16.\nINPUT_PORT: P7350_DIO_A and P7350_DIO_C\nOUTPUT_PORT: P7350_DIO_B and P7350_DIO_D.",IDC_STATIC,13,1,343,26 - LTEXT "This sample performs DMA DI is 50MHz and DMA DO in 5MHz rate simultaneously. The input data is shown in panel below.",IDC_STATIC,14,30,343,20 -END - -IDD_CARDID_DIALOG DIALOGEX 0, 0, 170, 89 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "Card ID" -FONT 8, "MS Shell Dlg", 400, 0, 0x1 -BEGIN - COMBOBOX IDC_COMBO_CARDID,75,17,71,126,CBS_DROPDOWN | WS_VSCROLL | WS_TABSTOP - LTEXT "Card Number",IDC_STATIC_01,21,18,46,12 - PUSHBUTTON "OK",IDOK,22,50,58,19 - PUSHBUTTON "CANCEL",IDCANCEL,86,50,58,19 -END - - -///////////////////////////////////////////////////////////////////////////// -// -// Version -// - -VS_VERSION_INFO VERSIONINFO - FILEVERSION 1,0,0,1 - PRODUCTVERSION 1,0,0,1 - FILEFLAGSMASK 0x3fL -#ifdef _DEBUG - FILEFLAGS 0x1L -#else - FILEFLAGS 0x0L -#endif - FILEOS 0x4L - FILETYPE 0x1L - FILESUBTYPE 0x0L -BEGIN - BLOCK "StringFileInfo" - BEGIN - BLOCK "040904e4" - BEGIN - VALUE "CompanyName", "TODO: " - VALUE "FileDescription", "TODO: " - VALUE "FileVersion", "1.0.0.1" - VALUE "InternalName", "7350Wav.exe" - VALUE "LegalCopyright", "TODO: (c) . All rights reserved." - VALUE "OriginalFilename", "7350Wav.exe" - VALUE "ProductName", "TODO: " - VALUE "ProductVersion", "1.0.0.1" - END - END - BLOCK "VarFileInfo" - BEGIN - VALUE "Translation", 0x409, 1252 - END -END - - -///////////////////////////////////////////////////////////////////////////// -// -// DESIGNINFO -// - -#ifdef APSTUDIO_INVOKED -GUIDELINES DESIGNINFO -BEGIN - IDD_ABOUTBOX, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 163 - TOPMARGIN, 7 - BOTTOMMARGIN, 55 - END - - IDD_MY7350Wav_DIALOG, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 369 - TOPMARGIN, 7 - BOTTOMMARGIN, 241 - END - - IDD_CARDID_DIALOG, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 163 - TOPMARGIN, 7 - BOTTOMMARGIN, 82 - END -END -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog Info -// - -IDD_CARDID_DIALOG DLGINIT -BEGIN - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0030, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0031, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0032, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0033, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0034, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0035, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0036, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0037, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0038, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0039, - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3031, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3131, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3231, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3331, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3431, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3531, "\000" - 0 -END - - -///////////////////////////////////////////////////////////////////////////// -// -// String Table -// - -STRINGTABLE -BEGIN - IDS_ABOUTBOX "&About 7350Wav..." -END - -#endif // English (U.S.) resources -///////////////////////////////////////////////////////////////////////////// - - - -#ifndef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 3 resource. -// -#define _AFX_NO_SPLITTER_RESOURCES -#define _AFX_NO_OLE_RESOURCES -#define _AFX_NO_TRACKER_RESOURCES -#define _AFX_NO_PROPERTY_RESOURCES - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -LANGUAGE 9, 1 -#pragma code_page(1252) -#include "res\My7350Wav.rc2" // non-Microsoft Visual C++ edited resources -#include "afxres.rc" // Standard components -#endif - -///////////////////////////////////////////////////////////////////////////// -#endif // not APSTUDIO_INVOKED - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350DOMBuf/7350Wav.sln b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350DOMBuf/7350Wav.sln deleted file mode 100644 index b727fc7..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350DOMBuf/7350Wav.sln +++ /dev/null @@ -1,20 +0,0 @@ - -Microsoft Visual Studio Solution File, Format Version 10.00 -# Visual Studio 2008 -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "7350Wav", "7350Wav.vcproj", "{EBDB6610-7CE5-413C-A150-121068BFDB22}" -EndProject -Global - GlobalSection(SolutionConfigurationPlatforms) = preSolution - Debug|x64 = Debug|x64 - Release|x64 = Release|x64 - EndGlobalSection - GlobalSection(ProjectConfigurationPlatforms) = postSolution - {EBDB6610-7CE5-413C-A150-121068BFDB22}.Debug|x64.ActiveCfg = Debug|x64 - {EBDB6610-7CE5-413C-A150-121068BFDB22}.Debug|x64.Build.0 = Debug|x64 - {EBDB6610-7CE5-413C-A150-121068BFDB22}.Release|x64.ActiveCfg = Release|x64 - {EBDB6610-7CE5-413C-A150-121068BFDB22}.Release|x64.Build.0 = Release|x64 - EndGlobalSection - GlobalSection(SolutionProperties) = preSolution - HideSolutionNode = FALSE - EndGlobalSection -EndGlobal diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350DOMBuf/7350Wav.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350DOMBuf/7350Wav.suo deleted file mode 100644 index 9aa8c4f..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350DOMBuf/7350Wav.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350DOMBuf/7350Wav.vcproj b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350DOMBuf/7350Wav.vcproj deleted file mode 100644 index 05476c4..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350DOMBuf/7350Wav.vcproj +++ /dev/null @@ -1,286 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350DOMBuf/7350WavDlg.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350DOMBuf/7350WavDlg.cpp deleted file mode 100644 index d1fcb97..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350DOMBuf/7350WavDlg.cpp +++ /dev/null @@ -1,586 +0,0 @@ - -// 7350WavDlg.cpp : implementation file -// - -#include "stdafx.h" -#include "7350Wav.h" -#include "7350WavDlg.h" -#include "math.h" - -#ifndef M_PI -#define M_PI 3.14159265359 -#endif - -#define MAX_SIZE 1024000 //in words -#define MBufCount 16 //Buffer count to be set - -#ifdef _DEBUG -#define new DEBUG_NEW -#endif - -CRect plotRect; - -#define PCI7350_DIO_STATUS_TIMER 1 - -U16 gInBuf[MAX_SIZE], gOutBuf[MAX_SIZE]; -U16 *gDOBufferAddr[MBufCount]; //Buffer array to be set -U16 *gDIBufferAddr[2]; //Buffer array to be set -U16 gBufferID[MBufCount]; //Buffer ID returned -U32 gWriteCount = 10000; //Data count per one buffer to be written - - -// CAboutDlg dialog used for App About - -class CAboutDlg : public CDialog -{ -public: - CAboutDlg(); - -// Dialog Data - enum { IDD = IDD_ABOUTBOX }; - - protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - -// Implementation -protected: - DECLARE_MESSAGE_MAP() -}; - -CAboutDlg::CAboutDlg() : CDialog(CAboutDlg::IDD) -{ -} - -void CAboutDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); -} - -BEGIN_MESSAGE_MAP(CAboutDlg, CDialog) -END_MESSAGE_MAP() - - -// C7350WavDlg dialog - - -C7350WavDlg::C7350WavDlg(I16 hCard, CWnd* pParent /*=NULL*/) - : CDialog(C7350WavDlg::IDD, pParent) -{ - m_hIcon = AfxGetApp()->LoadIcon(IDR_MAINFRAME); - - m_hCard = hCard; - - OnBrush = OffBrush = NULL; - - n_PlotWidth = -1; - n_PlotHeight = -1; - - min_val = 0x00; - max_val = 0xFFFF; - - m_dwDISamples = 128000; - - m_nTimer = -1; - -} - -void C7350WavDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); -} - -BEGIN_MESSAGE_MAP(C7350WavDlg, CDialog) - ON_WM_SYSCOMMAND() - ON_WM_PAINT() - ON_WM_QUERYDRAGICON() - //}}AFX_MSG_MAP - ON_WM_DESTROY() - ON_BN_CLICKED(IDC_BT_START, &C7350WavDlg::OnStart) - ON_BN_CLICKED(IDC_BT_STOP, &C7350WavDlg::OnStop) - ON_WM_TIMER() -// ON_WM_VSCROLL() -END_MESSAGE_MAP() - - -// C7350WavDlg message handlers - -BOOL C7350WavDlg::OnInitDialog() -{ - I16 err; - int i; - CString strTemp; - - CDialog::OnInitDialog(); - - // Add "About..." menu item to system menu. - - // IDM_ABOUTBOX must be in the system command range. - ASSERT((IDM_ABOUTBOX & 0xFFF0) == IDM_ABOUTBOX); - ASSERT(IDM_ABOUTBOX < 0xF000); - - CMenu* pSysMenu = GetSystemMenu(FALSE); - if (pSysMenu != NULL) - { - BOOL bNameValid; - CString strAboutMenu; - bNameValid = strAboutMenu.LoadString(IDS_ABOUTBOX); - ASSERT(bNameValid); - if (!strAboutMenu.IsEmpty()) - { - pSysMenu->AppendMenu(MF_SEPARATOR); - pSysMenu->AppendMenu(MF_STRING, IDM_ABOUTBOX, strAboutMenu); - } - } - - // Set the icon for this dialog. The framework does this automatically - // when the application's main window is not a dialog - SetIcon(m_hIcon, TRUE); // Set big icon - SetIcon(m_hIcon, FALSE); // Set small icon - - - if( gWriteCount * MBufCount > MAX_SIZE ) - { - AfxMessageBox( TEXT(" WriteCount * MBufCOunt > MAX_SZIE ") ); - return TRUE; - } - else - { - for(i=0; iGetWindowRect(&plotRect); - ScreenToClient(&plotRect); - - n_PlotWidth = min( plotRect.Width(), 512); - n_PlotHeight = plotRect.Height() - 10; - } - - - // Set the default DI Sample - SetDlgItemInt( IDC_EDIT_SAMPLE, (UINT)(m_dwDISamples) ); - - err = DIO_VoltLevelConfig(m_hCard, P7350_PortDIO, VoltLevel_3R3); - if( err!=NoError ) - { - strTemp.Format( TEXT("DIO_VoltLevelConfig Error = %d"), err); - AfxMessageBox( strTemp ); - return TRUE; - } - - /* - * Set Input or Output for DIO Port - */ - err = DIO_PortConfig(m_hCard, P7350_DIO_A, INPUT_PORT); - if( err!=NoError ) - { - strTemp.Format( TEXT("DIO_PortConfig(P7350_DIO_A) Error = %d"), err); - AfxMessageBox( strTemp ); - return TRUE; - } - - err = DIO_PortConfig(m_hCard, P7350_DIO_B, OUTPUT_PORT); - if( err!=NoError ) - { - strTemp.Format( TEXT("DIO_PortConfig(P7350_DIO_B) Error = %d"), err); - AfxMessageBox( strTemp ); - return TRUE; - } - err = DIO_PortConfig(m_hCard, P7350_DIO_C, INPUT_PORT); - if( err!=NoError ) - { - strTemp.Format( TEXT("DIO_PortConfig(P7350_DIO_C) Error = %d"), err); - AfxMessageBox( strTemp ); - return TRUE; - } - err = DIO_PortConfig(m_hCard, P7350_DIO_D, OUTPUT_PORT); - if( err!=NoError ) - { - strTemp.Format( TEXT("DIO_PortConfig(P7350_DIO_D) Error = %d"), err); - AfxMessageBox( strTemp ); - return TRUE; - } - - - /* - * Set DI Configurations - */ - err = DI_7350_Config(m_hCard, 16, P7350_FreeRun, P7350_WAIT_NO, P7350_IntSampledCLK); - if( err!=NoError ) - { - strTemp.Format( TEXT("DI_7350_Config() Error = %d"), err); - AfxMessageBox( strTemp ); - return TRUE; - } - - /* - * Set DO Configurations - */ - err = DO_7350_Config(m_hCard, 16, P7350_FreeRun, P7350_WAIT_NO, P7350_IntSampledCLK); - if( err!=NoError ) - { - strTemp.Format( TEXT("DO_7350_Config() Error = %d"), err); - AfxMessageBox( strTemp ); - return TRUE; - } - - /* - * Set DI Trigger and HandShake Configurations - */ - err = DI_7350_TrigHSConfig( m_hCard, - 0/*TrigConfig*/, - 0/*DI_IPOL*/, - 0/*DI_REQSrc*/, - 0/*DI_ACKSrc*/, - 0/*DI_TRIGSrc*/, - 0/*StartTrigSrc*/, - 0/*PauseTrigSrc*/, - 0/*SoftTrigOutSrc*/, - 0/*SoftTrigOutLength*/, - 0/*TrigCount*/ //Infinite Re-Trigger - ); - - for (i=0; i(dc.GetSafeHdc()), 0); - - // Center icon in client rectangle - int cxIcon = GetSystemMetrics(SM_CXICON); - int cyIcon = GetSystemMetrics(SM_CYICON); - CRect rect; - GetClientRect(&rect); - int x = (rect.Width() - cxIcon + 1) / 2; - int y = (rect.Height() - cyIcon + 1) / 2; - - // Draw the icon - dc.DrawIcon(x, y, m_hIcon); - } - else - { - redraw_display_area(); - CDialog::OnPaint(); - } -} - -// The system calls this function to obtain the cursor to display while the user drags -// the minimized window. -HCURSOR C7350WavDlg::OnQueryDragIcon() -{ - return static_cast(m_hIcon); -} - - -void C7350WavDlg::OnDestroy() -{ - U32 count; - - CDialog::OnDestroy(); - - // TODO: Add your message handler code here - if( OnBrush != NULL ) - ::DeleteObject( OnBrush ); - - if( OffBrush != NULL ) - ::DeleteObject( OffBrush ); - - RedPen.DeleteObject(); - GreenPen.DeleteObject(); - - if( m_nTimer != -1 ) - { - KillTimer( m_nTimer ); - m_nTimer = -1; - } - - DI_AsyncClear( m_hCard, &count ); -} - -void C7350WavDlg::OnStart() -{ - // TODO: Add your control notification handler code here - U32 dwDISamples; - I16 err; - CString strMsg; - int i; - - dwDISamples = GetDlgItemInt( IDC_EDIT_SAMPLE ); - - if( (dwDISamples * 2) > MAX_SIZE) - { - m_dwDISamples = MAX_SIZE/2; //at most 1000K samples DMA - AfxMessageBox(TEXT("This sample supports at most 1000K words DMA transfer\nOnly perform 100K words DMA transfer.")); - } - else if( (dwDISamples %4) != 0 ) - { - AfxMessageBox(TEXT("Misalignment error, the input buffer must be 32-bit alignment ")); - - } - else - { - m_dwDISamples = dwDISamples; - - for(i=0; iEnableWindow( FALSE ); - GetDlgItem( IDC_BT_STOP )->EnableWindow( TRUE ); - -} - -void C7350WavDlg::OnStop() -{ - // TODO: Add your control notification handler code here - U32 count; - - if( m_nTimer != -1 ) - { - KillTimer( m_nTimer ); - m_nTimer = -1; - } - - DI_AsyncClear(m_hCard, &count); - DO_AsyncClear(m_hCard, &count); - - - GetDlgItem( IDC_BT_START )->EnableWindow( TRUE ); - GetDlgItem( IDC_BT_STOP )->EnableWindow( FALSE); -} - -void C7350WavDlg::OnTimer(UINT_PTR nIDEvent) -{ - // TODO: Add your message handler code here and/or call default - BOOLEAN bDIStopped; - BOOLEAN Ready; - I16 err; - U16 RdyTrigCnt; - - err = DI_AsyncReTrigNextReady(m_hCard, &Ready, &bDIStopped, &RdyTrigCnt); - - if(Ready) - { - if(!RdyTrigCnt) - { - display_buffer_data(gDIBufferAddr[0]); - } - else - { - display_buffer_data(gDIBufferAddr[1]); - } - } - - CDialog::OnTimer(nIDEvent); -} - - -void C7350WavDlg::display_buffer_data(U16* pBuf) -{ - CClientDC dc_plot(this); - int nDraw_Bottom; - - int newY, oldY = -1; - int newX, oldX = -1; - U32 index, di_data; - - nDraw_Bottom = ( plotRect.bottom - 5 ); - dc_plot.SelectObject( &GreenPen ); - - for( index=0; index // MFC core and standard components -#include // MFC extensions - - -#include // MFC Automation classes - - - -#ifndef _AFX_NO_OLE_SUPPORT -#include // MFC support for Internet Explorer 4 Common Controls -#endif -#ifndef _AFX_NO_AFXCMN_SUPPORT -#include // MFC support for Windows Common Controls -#endif // _AFX_NO_AFXCMN_SUPPORT - -#include // MFC support for ribbons and control bars - - - - - - - - - -#ifdef _UNICODE -#if defined _M_IX86 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='x86' publicKeyToken='6595b64144ccf1df' language='*'\"") -#elif defined _M_IA64 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='ia64' publicKeyToken='6595b64144ccf1df' language='*'\"") -#elif defined _M_X64 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='amd64' publicKeyToken='6595b64144ccf1df' language='*'\"") -#else -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='*' publicKeyToken='6595b64144ccf1df' language='*'\"") -#endif -#endif - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350DOMBuf/targetver.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350DOMBuf/targetver.h deleted file mode 100644 index 11730d5..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350DOMBuf/targetver.h +++ /dev/null @@ -1,26 +0,0 @@ - -#pragma once - -// The following macros define the minimum required platform. The minimum required platform -// is the earliest version of Windows, Internet Explorer etc. that has the necessary features to run -// your application. The macros work by enabling all features available on platform versions up to and -// including the version specified. - -// Modify the following defines if you have to target a platform prior to the ones specified below. -// Refer to MSDN for the latest info on corresponding values for different platforms. -#ifndef WINVER // Specifies that the minimum required platform is Windows Vista. -#define WINVER 0x0600 // Change this to the appropriate value to target other versions of Windows. -#endif - -#ifndef _WIN32_WINNT // Specifies that the minimum required platform is Windows Vista. -#define _WIN32_WINNT 0x0600 // Change this to the appropriate value to target other versions of Windows. -#endif - -#ifndef _WIN32_WINDOWS // Specifies that the minimum required platform is Windows 98. -#define _WIN32_WINDOWS 0x0410 // Change this to the appropriate value to target Windows Me or later. -#endif - -#ifndef _WIN32_IE // Specifies that the minimum required platform is Internet Explorer 7.0. -#define _WIN32_IE 0x0700 // Change this to the appropriate value to target other versions of IE. -#endif - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350DO_ExtInfTrig/7200Wav.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350DO_ExtInfTrig/7200Wav.suo deleted file mode 100644 index bc032e1..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350DO_ExtInfTrig/7200Wav.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350DO_ExtInfTrig/7300bWav.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350DO_ExtInfTrig/7300bWav.suo deleted file mode 100644 index 90ac3f3..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350DO_ExtInfTrig/7300bWav.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350DO_ExtInfTrig/7350Wav.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350DO_ExtInfTrig/7350Wav.cpp deleted file mode 100644 index 066dfa9..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350DO_ExtInfTrig/7350Wav.cpp +++ /dev/null @@ -1,110 +0,0 @@ - -// 7350Wav.cpp : Defines the class behaviors for the application. -// - -#include "stdafx.h" -#include "7350Wav.h" -#include "7350WavDlg.h" -#include "CardIDDlg.h" - -#ifdef _DEBUG -#define new DEBUG_NEW -#endif - - -// C7350WavApp - -BEGIN_MESSAGE_MAP(C7350WavApp, CWinAppEx) - ON_COMMAND(ID_HELP, &CWinApp::OnHelp) -END_MESSAGE_MAP() - - -// C7350WavApp construction - -C7350WavApp::C7350WavApp() -{ - // TODO: add construction code here, - // Place all significant initialization in InitInstance -} - - -// The one and only C7350WavApp object - -C7350WavApp theApp; - - -// C7350WavApp initialization - -BOOL C7350WavApp::InitInstance() -{ - int nCardID = 0; - I16 hCard; - CString strTemp; - INT_PTR nResponse; - - // InitCommonControlsEx() is required on Windows XP if an application - // manifest specifies use of ComCtl32.dll version 6 or later to enable - // visual styles. Otherwise, any window creation will fail. - INITCOMMONCONTROLSEX InitCtrls; - InitCtrls.dwSize = sizeof(InitCtrls); - // Set this to include all the common control classes you want to use - // in your application. - InitCtrls.dwICC = ICC_WIN95_CLASSES; - InitCommonControlsEx(&InitCtrls); - - CWinAppEx::InitInstance(); - - AfxEnableControlContainer(); - - // Standard initialization - // If you are not using these features and wish to reduce the size - // of your final executable, you should remove from the following - // the specific initialization routines you do not need - // Change the registry key under which our settings are stored - // TODO: You should modify this string to be something appropriate - // such as the name of your company or organization - SetRegistryKey(_T("Local AppWizard-Generated Applications")); - - CCardIDDlg CardDlg( nCardID ); - - nResponse = CardDlg.DoModal(); - if (nResponse == IDOK) - { - nCardID = CardDlg.GetCardID(); - - if ((hCard=Register_Card(PCI_7350, nCardID)) < 0) - { - strTemp.Format( TEXT("Register_Card Error = %d"), hCard); - AfxMessageBox( strTemp ); - } - else - { - C7350WavDlg dlg(hCard); - m_pMainWnd = &dlg; - nResponse = dlg.DoModal(); - if (nResponse == IDOK) - { - // TODO: Place code here to handle when the dialog is - // dismissed with OK - } - else if (nResponse == IDCANCEL) - { - // TODO: Place code here to handle when the dialog is - // dismissed with Cancel - } - - if (hCard >= 0) Release_Card(hCard); - } - - } - else if (nResponse == IDCANCEL) - { - // TODO: Place code here to handle when the dialog is - // dismissed with Cancel - } - - - // Since the dialog has been closed, return FALSE so that we exit the - // application, rather than start the application's message pump. - return FALSE; -} diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350DO_ExtInfTrig/7350Wav.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350DO_ExtInfTrig/7350Wav.h deleted file mode 100644 index c651b47..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350DO_ExtInfTrig/7350Wav.h +++ /dev/null @@ -1,32 +0,0 @@ - -// 7350Wav.h : main header file for the PROJECT_NAME application -// - -#pragma once - -#ifndef __AFXWIN_H__ - #error "include 'stdafx.h' before including this file for PCH" -#endif - -#include "resource.h" // main symbols - - -// C7350WavApp: -// See 7350Wav.cpp for the implementation of this class -// - -class C7350WavApp : public CWinAppEx -{ -public: - C7350WavApp(); - -// Overrides - public: - virtual BOOL InitInstance(); - -// Implementation - - DECLARE_MESSAGE_MAP() -}; - -extern C7350WavApp theApp; \ No newline at end of file diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350DO_ExtInfTrig/7350Wav.rc b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350DO_ExtInfTrig/7350Wav.rc deleted file mode 100644 index dfc172e..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350DO_ExtInfTrig/7350Wav.rc +++ /dev/null @@ -1,283 +0,0 @@ -// Microsoft Visual C++ generated resource script. -// -#include "resource.h" - -#define APSTUDIO_READONLY_SYMBOLS -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 2 resource. -// -#ifndef APSTUDIO_INVOKED -#include "targetver.h" -#endif -#include "afxres.h" - -///////////////////////////////////////////////////////////////////////////// -#undef APSTUDIO_READONLY_SYMBOLS - -///////////////////////////////////////////////////////////////////////////// -// Chinese (Taiwan) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_CHT) -#ifdef _WIN32 -LANGUAGE LANG_CHINESE, SUBLANG_CHINESE_TRADITIONAL -#pragma code_page(950) -#endif //_WIN32 - -#ifdef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// TEXTINCLUDE -// - -1 TEXTINCLUDE -BEGIN - "resource.h\0" -END - -2 TEXTINCLUDE -BEGIN - "#ifndef APSTUDIO_INVOKED\r\n" - "#include ""targetver.h""\r\n" - "#endif\r\n" - "#include ""afxres.h""\r\n" - "\0" -END - -3 TEXTINCLUDE -BEGIN - "#define _AFX_NO_SPLITTER_RESOURCES\r\n" - "#define _AFX_NO_OLE_RESOURCES\r\n" - "#define _AFX_NO_TRACKER_RESOURCES\r\n" - "#define _AFX_NO_PROPERTY_RESOURCES\r\n" - "\r\n" - "#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)\r\n" - "LANGUAGE 9, 1\r\n" - "#pragma code_page(1252)\r\n" - "#include ""res\\My7350Wav.rc2"" // non-Microsoft Visual C++ edited resources\r\n" - "#include ""afxres.rc"" // Standard components\r\n" - "#endif\r\n" - "\0" -END - -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// Icon -// - -// Icon with lowest ID value placed first to ensure application icon -// remains consistent on all systems. -IDR_MAINFRAME ICON "res\\7350Wav.ico" -#endif // Chinese (Taiwan) resources -///////////////////////////////////////////////////////////////////////////// - - -///////////////////////////////////////////////////////////////////////////// -// English (U.S.) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -#ifdef _WIN32 -LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US -#pragma code_page(1252) -#endif //_WIN32 - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog -// - -IDD_ABOUTBOX DIALOGEX 0, 0, 170, 62 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "About 7350Wav" -FONT 8, "MS Shell Dlg", 0, 0, 0x1 -BEGIN - ICON IDR_MAINFRAME,IDC_STATIC,14,14,21,20 - LTEXT "7350Wav, Version 1.0",IDC_STATIC,42,14,114,8,SS_NOPREFIX - LTEXT "Copyright (C) 2010",IDC_STATIC,42,26,114,8 - DEFPUSHBUTTON "OK",IDOK,113,41,50,14,WS_GROUP -END - -IDD_MY7350Wav_DIALOG DIALOGEX 0, 0, 357, 248 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU -EXSTYLE WS_EX_APPWINDOW -CAPTION "PCI-7350 MBuf DI, DO DMA /w External Trigger " -FONT 8, "MS Shell Dlg", 0, 0, 0x1 -BEGIN - GROUPBOX "",IDC_STATIC_DRAW,48,54,293,138,NOT WS_VISIBLE - EDITTEXT IDC_EDIT_SAMPLE,207,200,51,12,ES_AUTOHSCROLL | ES_READONLY - LTEXT "DI Samples :",IDC_STATIC,158,201,45,9 - PUSHBUTTON "Start",IDC_BT_START,292,198,48,17 - PUSHBUTTON "Stop",IDC_BT_STOP,292,217,48,17 - LTEXT "The configuration is set as DI16DO16.\nINPUT_PORT: P7350_DIO_A and P7350_DIO_C\nOUTPUT_PORT: P7350_DIO_B and P7350_DIO_D.",IDC_STATIC,12,9,325,26 - LTEXT "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",IDC_STATIC_01,12,41,327,10 - LTEXT "Overrun Count :",IDC_STATIC,145,217,56,9 - EDITTEXT IDC_EDIT_OVERRUN,206,216,51,12,ES_AUTOHSCROLL | ES_READONLY -END - -IDD_CARDID_DIALOG DIALOGEX 0, 0, 170, 89 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "Card ID" -FONT 8, "MS Shell Dlg", 400, 0, 0x1 -BEGIN - COMBOBOX IDC_COMBO_CARDID,75,17,71,126,CBS_DROPDOWN | WS_VSCROLL | WS_TABSTOP - LTEXT "Card Number",IDC_STATIC_01,21,18,46,12 - PUSHBUTTON "OK",IDOK,22,50,58,19 - PUSHBUTTON "CANCEL",IDCANCEL,86,50,58,19 -END - - -///////////////////////////////////////////////////////////////////////////// -// -// Version -// - -VS_VERSION_INFO VERSIONINFO - FILEVERSION 1,0,0,1 - PRODUCTVERSION 1,0,0,1 - FILEFLAGSMASK 0x3fL -#ifdef _DEBUG - FILEFLAGS 0x1L -#else - FILEFLAGS 0x0L -#endif - FILEOS 0x4L - FILETYPE 0x1L - FILESUBTYPE 0x0L -BEGIN - BLOCK "StringFileInfo" - BEGIN - BLOCK "040904e4" - BEGIN - VALUE "CompanyName", "TODO: " - VALUE "FileDescription", "TODO: " - VALUE "FileVersion", "1.0.0.1" - VALUE "InternalName", "7350Wav.exe" - VALUE "LegalCopyright", "TODO: (c) . All rights reserved." - VALUE "OriginalFilename", "7350Wav.exe" - VALUE "ProductName", "TODO: " - VALUE "ProductVersion", "1.0.0.1" - END - END - BLOCK "VarFileInfo" - BEGIN - VALUE "Translation", 0x409, 1252 - END -END - - -///////////////////////////////////////////////////////////////////////////// -// -// DESIGNINFO -// - -#ifdef APSTUDIO_INVOKED -GUIDELINES DESIGNINFO -BEGIN - IDD_ABOUTBOX, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 163 - TOPMARGIN, 7 - BOTTOMMARGIN, 55 - END - - IDD_MY7350Wav_DIALOG, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 350 - TOPMARGIN, 7 - BOTTOMMARGIN, 241 - END - - IDD_CARDID_DIALOG, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 163 - TOPMARGIN, 7 - BOTTOMMARGIN, 82 - END -END -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog Info -// - -IDD_CARDID_DIALOG DLGINIT -BEGIN - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0030, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0031, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0032, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0033, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0034, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0035, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0036, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0037, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0038, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0039, - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3031, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3131, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3231, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3331, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3431, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3531, "\000" - 0 -END - - -///////////////////////////////////////////////////////////////////////////// -// -// String Table -// - -STRINGTABLE -BEGIN - IDS_ABOUTBOX "&About 7350Wav..." -END - -#endif // English (U.S.) resources -///////////////////////////////////////////////////////////////////////////// - - - -#ifndef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 3 resource. -// -#define _AFX_NO_SPLITTER_RESOURCES -#define _AFX_NO_OLE_RESOURCES -#define _AFX_NO_TRACKER_RESOURCES -#define _AFX_NO_PROPERTY_RESOURCES - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -LANGUAGE 9, 1 -#pragma code_page(1252) -#include "res\My7350Wav.rc2" // non-Microsoft Visual C++ edited resources -#include "afxres.rc" // Standard components -#endif - -///////////////////////////////////////////////////////////////////////////// -#endif // not APSTUDIO_INVOKED - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350DO_ExtInfTrig/7350Wav.sln b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350DO_ExtInfTrig/7350Wav.sln deleted file mode 100644 index b727fc7..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350DO_ExtInfTrig/7350Wav.sln +++ /dev/null @@ -1,20 +0,0 @@ - -Microsoft Visual Studio Solution File, Format Version 10.00 -# Visual Studio 2008 -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "7350Wav", "7350Wav.vcproj", "{EBDB6610-7CE5-413C-A150-121068BFDB22}" -EndProject -Global - GlobalSection(SolutionConfigurationPlatforms) = preSolution - Debug|x64 = Debug|x64 - Release|x64 = Release|x64 - EndGlobalSection - GlobalSection(ProjectConfigurationPlatforms) = postSolution - {EBDB6610-7CE5-413C-A150-121068BFDB22}.Debug|x64.ActiveCfg = Debug|x64 - {EBDB6610-7CE5-413C-A150-121068BFDB22}.Debug|x64.Build.0 = Debug|x64 - {EBDB6610-7CE5-413C-A150-121068BFDB22}.Release|x64.ActiveCfg = Release|x64 - {EBDB6610-7CE5-413C-A150-121068BFDB22}.Release|x64.Build.0 = Release|x64 - EndGlobalSection - GlobalSection(SolutionProperties) = preSolution - HideSolutionNode = FALSE - EndGlobalSection -EndGlobal diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350DO_ExtInfTrig/7350Wav.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350DO_ExtInfTrig/7350Wav.suo deleted file mode 100644 index ef52f2c..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350DO_ExtInfTrig/7350Wav.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350DO_ExtInfTrig/7350Wav.vcproj b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350DO_ExtInfTrig/7350Wav.vcproj deleted file mode 100644 index 05476c4..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350DO_ExtInfTrig/7350Wav.vcproj +++ /dev/null @@ -1,286 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350DO_ExtInfTrig/7350WavDlg.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350DO_ExtInfTrig/7350WavDlg.cpp deleted file mode 100644 index 2a30915..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350DO_ExtInfTrig/7350WavDlg.cpp +++ /dev/null @@ -1,659 +0,0 @@ - -// 7350WavDlg.cpp : implementation file -// - -#include "stdafx.h" -#include "7350Wav.h" -#include "7350WavDlg.h" -#include "math.h" - -#ifndef M_PI -#define M_PI 3.14159265359 -#endif - -#define MAX_SIZE 1024000 //in words -#define MBufCount 16 //Buffer count to be set - -#ifdef _DEBUG -#define new DEBUG_NEW -#endif - -CRect plotRect; - -#define PCI7350_DIO_STATUS_TIMER 1 - -U16 gInBuf[MAX_SIZE], gOutBuf[MAX_SIZE]; -U16 *gDIBufferAddr[MBufCount]; //Buffer array to be set -U16 *gDOBufferAddr[2]; //Buffer array to be set -U16 gDIBufferID[MBufCount]; //Buffer ID returned -U32 gWriteCount = 20480; //Data count per one buffer to be written -U32 gReadCount = 20480; //Data count per one buffer to be written - - - -// CAboutDlg dialog used for App About - -class CAboutDlg : public CDialog -{ -public: - CAboutDlg(); - -// Dialog Data - enum { IDD = IDD_ABOUTBOX }; - - protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - -// Implementation -protected: - DECLARE_MESSAGE_MAP() -}; - -CAboutDlg::CAboutDlg() : CDialog(CAboutDlg::IDD) -{ -} - -void CAboutDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); -} - -BEGIN_MESSAGE_MAP(CAboutDlg, CDialog) -END_MESSAGE_MAP() - - -// C7350WavDlg dialog - - -C7350WavDlg::C7350WavDlg(I16 hCard, CWnd* pParent /*=NULL*/) - : CDialog(C7350WavDlg::IDD, pParent) -{ - m_hIcon = AfxGetApp()->LoadIcon(IDR_MAINFRAME); - - m_hCard = hCard; - - OnBrush = OffBrush = NULL; - - n_PlotWidth = -1; - n_PlotHeight = -1; - - min_val = 0x00; - max_val = 0xFFFF; - - m_dwDISamples = gReadCount; - m_OverrunCnt = 0; - - m_nTimer = -1; - -} - -void C7350WavDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); -} - -BEGIN_MESSAGE_MAP(C7350WavDlg, CDialog) - ON_WM_SYSCOMMAND() - ON_WM_PAINT() - ON_WM_QUERYDRAGICON() - //}}AFX_MSG_MAP - ON_WM_DESTROY() - ON_BN_CLICKED(IDC_BT_START, &C7350WavDlg::OnStart) - ON_BN_CLICKED(IDC_BT_STOP, &C7350WavDlg::OnStop) - ON_WM_TIMER() -// ON_WM_VSCROLL() -END_MESSAGE_MAP() - - -// C7350WavDlg message handlers - -BOOL C7350WavDlg::OnInitDialog() -{ - I16 err; - int i; - CString strTemp; - - CDialog::OnInitDialog(); - - // Add "About..." menu item to system menu. - - // IDM_ABOUTBOX must be in the system command range. - ASSERT((IDM_ABOUTBOX & 0xFFF0) == IDM_ABOUTBOX); - ASSERT(IDM_ABOUTBOX < 0xF000); - - CMenu* pSysMenu = GetSystemMenu(FALSE); - if (pSysMenu != NULL) - { - BOOL bNameValid; - CString strAboutMenu; - bNameValid = strAboutMenu.LoadString(IDS_ABOUTBOX); - ASSERT(bNameValid); - if (!strAboutMenu.IsEmpty()) - { - pSysMenu->AppendMenu(MF_SEPARATOR); - pSysMenu->AppendMenu(MF_STRING, IDM_ABOUTBOX, strAboutMenu); - } - } - - // Set the icon for this dialog. The framework does this automatically - // when the application's main window is not a dialog - SetIcon(m_hIcon, TRUE); // Set big icon - SetIcon(m_hIcon, FALSE); // Set small icon - - strTemp.Format( TEXT("This sample performs infinitely continuous DI and contiinue DO output with infinite external retrigger (AFI0)") ); - SetDlgItemText( IDC_STATIC_01, strTemp ); - - if( gReadCount * MBufCount > MAX_SIZE ) - { - AfxMessageBox( TEXT(" gReadCount * MBufCOunt > MAX_SIZE ") ); - return TRUE; - } - else - { - for(i=0; iGetWindowRect(&plotRect); - ScreenToClient(&plotRect); - - n_PlotWidth = min( plotRect.Width(), 512); - n_PlotHeight = plotRect.Height() - 10; - } - - - // Set the default DI Sample - SetDlgItemInt( IDC_EDIT_SAMPLE, (UINT)(m_dwDISamples) ); - - err = DIO_VoltLevelConfig(m_hCard, P7350_PortDIO, VoltLevel_3R3); - if( err!=NoError ) - { - strTemp.Format( TEXT("DIO_VoltLevelConfig(P7350_PortDIO) Error = %d"), err); - AfxMessageBox( strTemp ); - return TRUE; - } - - err = DIO_VoltLevelConfig(m_hCard, P7350_PortAFI, VoltLevel_3R3); - if(err!=NoError) - { - strTemp.Format( TEXT("DIO_VoltLevelConfig(P7350_PortAFI) Error = %d"), err); - AfxMessageBox( strTemp ); - return TRUE; - } - /* - * Set Input or Output for DIO Port - */ - err = DIO_PortConfig(m_hCard, P7350_DIO_A, INPUT_PORT); - if( err!=NoError ) - { - strTemp.Format( TEXT("DIO_PortConfig(P7350_DIO_A) Error = %d"), err); - AfxMessageBox( strTemp ); - return TRUE; - } - - err = DIO_PortConfig(m_hCard, P7350_DIO_B, OUTPUT_PORT); - if( err!=NoError ) - { - strTemp.Format( TEXT("DIO_PortConfig(P7350_DIO_B) Error = %d"), err); - AfxMessageBox( strTemp ); - return TRUE; - } - err = DIO_PortConfig(m_hCard, P7350_DIO_C, INPUT_PORT); - if( err!=NoError ) - { - strTemp.Format( TEXT("DIO_PortConfig(P7350_DIO_C) Error = %d"), err); - AfxMessageBox( strTemp ); - return TRUE; - } - err = DIO_PortConfig(m_hCard, P7350_DIO_D, OUTPUT_PORT); - if( err!=NoError ) - { - strTemp.Format( TEXT("DIO_PortConfig(P7350_DIO_D) Error = %d"), err); - AfxMessageBox( strTemp ); - return TRUE; - } - - return TRUE; // return TRUE unless you set the focus to a control -} - -void C7350WavDlg::OnSysCommand(UINT nID, LPARAM lParam) -{ - if ((nID & 0xFFF0) == IDM_ABOUTBOX) - { - CAboutDlg dlgAbout; - dlgAbout.DoModal(); - } - else - { - CDialog::OnSysCommand(nID, lParam); - } -} - -// If you add a minimize button to your dialog, you will need the code below -// to draw the icon. For MFC applications using the document/view model, -// this is automatically done for you by the framework. - -void C7350WavDlg::OnPaint() -{ - if (IsIconic()) - { - CPaintDC dc(this); // device context for painting - - SendMessage(WM_ICONERASEBKGND, reinterpret_cast(dc.GetSafeHdc()), 0); - - // Center icon in client rectangle - int cxIcon = GetSystemMetrics(SM_CXICON); - int cyIcon = GetSystemMetrics(SM_CYICON); - CRect rect; - GetClientRect(&rect); - int x = (rect.Width() - cxIcon + 1) / 2; - int y = (rect.Height() - cyIcon + 1) / 2; - - // Draw the icon - dc.DrawIcon(x, y, m_hIcon); - } - else - { - redraw_display_area(); - CDialog::OnPaint(); - } -} - -// The system calls this function to obtain the cursor to display while the user drags -// the minimized window. -HCURSOR C7350WavDlg::OnQueryDragIcon() -{ - return static_cast(m_hIcon); -} - - -void C7350WavDlg::OnDestroy() -{ - U32 count; - - CDialog::OnDestroy(); - - // TODO: Add your message handler code here - if( OnBrush != NULL ) - ::DeleteObject( OnBrush ); - - if( OffBrush != NULL ) - ::DeleteObject( OffBrush ); - - RedPen.DeleteObject(); - GreenPen.DeleteObject(); - - if( m_nTimer != -1 ) - { - KillTimer( m_nTimer ); - m_nTimer = -1; - } - - DI_AsyncClear( m_hCard, &count ); -} - -void C7350WavDlg::OnStart() -{ - // TODO: Add your control notification handler code here - I16 err; - CString strMsg; - int i; - - /* - * Set DI Configurations - */ - err = DI_7350_Config(m_hCard, 16, P7350_FreeRun, P7350_WAIT_NO, P7350_IntSampledCLK); - if( err!=NoError ) - { - strMsg.Format( TEXT("DI_7350_Config() Error = %d"), err); - AfxMessageBox( strMsg ); - return; - } - - /* - * Set DO Configurations - */ - err = DO_7350_Config(m_hCard, 16, P7350_FreeRun, P7350_WAIT_EXTTRG, P7350_IntSampledCLK); - if( err!=NoError ) - { - strMsg.Format( TEXT("DO_7350_Config() Error = %d"), err); - AfxMessageBox( strMsg ); - return; - } - - /* - * Set DO Trigger and HandShake Configurations - */ - err = DO_7350_TrigHSConfig( - m_hCard, - 0/*TrigConfig*/, - 0/*DI_IPOL*/, - 0/*DI_REQSrc*/, - 0/*DI_ACKSrc*/, - 0/*DI_TRIGSrc*/, - P7350_AFI_0/*StartTrigSrc*/, - 0/*PauseTrigSrc*/, - 0/*SoftTrigOutSrc*/, - 0/*SoftTrigOutLength*/, - 0/*TrigCount*/ //Infinite Re-Trigger - ); - - for (i=0; i MAX_SIZE) - { - gWriteCount = MAX_SIZE/2; //at most 1000K samples DMA - AfxMessageBox(TEXT("This sample supports at most 1000K words DMA transfer\nOnly perform 100K words DMA transfer.")); - } - else if( (gWriteCount %4) != 0 ) - { - AfxMessageBox(TEXT("Misalignment error, the Output buffer must be 32-bit alignment ")); - - } - else - { - for(i=0; i<2; i++) - { - gDOBufferAddr[i] = gOutBuf + (gWriteCount*i); - } - } - - - m_dwDISamples = gReadCount; - err = DO_ContWritePort(m_hCard, 0, (void *)gOutBuf, gWriteCount, 1, 100000, ASYNCH_OP); - if(err!=NoError) - { - strMsg.Format(TEXT("DO_ContWritePort Error = %d"), err); - AfxMessageBox( strMsg ); - return; - } - - err = DI_ContMultiBufferStart(m_hCard, 0, 100000); - if (err < 0) - { - strMsg.Format(TEXT("DI_ContMultiBufferStart Error = %d"), err); - AfxMessageBox( strMsg ); - return; - } - - - // clear display area - redraw_display_area(); - SetDlgItemInt( IDC_EDIT_OVERRUN, m_OverrunCnt ); - - if( m_nTimer == -1 ) - { - m_nTimer = SetTimer( PCI7350_DIO_STATUS_TIMER, 50, NULL ); - } - - GetDlgItem( IDC_BT_START )->EnableWindow( FALSE ); - GetDlgItem( IDC_BT_STOP )->EnableWindow( TRUE ); - -} - -void C7350WavDlg::OnStop() -{ - // TODO: Add your control notification handler code here - U32 count; - - if( m_nTimer != -1 ) - { - KillTimer( m_nTimer ); - m_nTimer = -1; - } - - DI_AsyncClear(m_hCard, &count); - DO_AsyncClear(m_hCard, &count); - - - GetDlgItem( IDC_BT_START )->EnableWindow( TRUE ); - GetDlgItem( IDC_BT_STOP )->EnableWindow( FALSE); -} - -void C7350WavDlg::OnTimer(UINT_PTR nIDEvent) -{ - // TODO: Add your message handler code here and/or call default - I16 err; - CString strTemp; - BOOLEAN NextReady = FALSE; - U16 ReadyBufferId = 0; - U16 PreDIReadyBufferId = 0; - - U32 BufRdyCnt = 0; - U16 bufcnt = 0; - U16 overrunFlag; - - err = DI_AsyncMultiBufferNextReady(m_hCard, &NextReady, &ReadyBufferId); - if( err!=NoError ) - { - strTemp.Format( TEXT("DI_AsyncMultiBufferNextReady() Error = %d"), err); - AfxMessageBox( strTemp ); - return; - } - - if(NextReady) - { - /* - * If the NextReady flag is asserted, the data of ready buffers - * had been read completely. You can process the data of ready - * buffers if necessary. - * - * Process the data of the ready buffers in here - */ - - /* - * Tell driver that the ready buffers are handled completely - */ - -// redraw_display_area(); - display_buffer_data(gDIBufferAddr[ReadyBufferId], 1); - - if(ReadyBufferIdLoadIcon(IDR_MAINFRAME); - - m_hCard = hCard; - - OnBrush = OffBrush = NULL; - - n_PlotWidth = -1; - n_PlotHeight = -1; - - min_val = 0x00; - max_val = 0xFFFF; - - m_dwDISamples = gReadCount; - m_OverrunCnt = 0; - - m_nTimer = -1; - -} - -void C7350WavDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); -} - -BEGIN_MESSAGE_MAP(C7350WavDlg, CDialog) - ON_WM_SYSCOMMAND() - ON_WM_PAINT() - ON_WM_QUERYDRAGICON() - //}}AFX_MSG_MAP - ON_WM_DESTROY() - ON_BN_CLICKED(IDC_BT_START, &C7350WavDlg::OnStart) - ON_BN_CLICKED(IDC_BT_STOP, &C7350WavDlg::OnStop) - ON_WM_TIMER() -// ON_WM_VSCROLL() -END_MESSAGE_MAP() - - -// C7350WavDlg message handlers - -BOOL C7350WavDlg::OnInitDialog() -{ - I16 err; - int i; - CString strTemp; - - CDialog::OnInitDialog(); - - // Add "About..." menu item to system menu. - - // IDM_ABOUTBOX must be in the system command range. - ASSERT((IDM_ABOUTBOX & 0xFFF0) == IDM_ABOUTBOX); - ASSERT(IDM_ABOUTBOX < 0xF000); - - CMenu* pSysMenu = GetSystemMenu(FALSE); - if (pSysMenu != NULL) - { - BOOL bNameValid; - CString strAboutMenu; - bNameValid = strAboutMenu.LoadString(IDS_ABOUTBOX); - ASSERT(bNameValid); - if (!strAboutMenu.IsEmpty()) - { - pSysMenu->AppendMenu(MF_SEPARATOR); - pSysMenu->AppendMenu(MF_STRING, IDM_ABOUTBOX, strAboutMenu); - } - } - - // Set the icon for this dialog. The framework does this automatically - // when the application's main window is not a dialog - SetIcon(m_hIcon, TRUE); // Set big icon - SetIcon(m_hIcon, FALSE); // Set small icon - - - if( gWriteCount * MBufCount > MAX_SIZE ) - { - AfxMessageBox( TEXT(" WriteCount * MBufCOunt > MAX_SIZE ") ); - return TRUE; - } - else - { - for(i=0; i MAX_SIZE ) - { - AfxMessageBox( TEXT(" gReadCount * MBufCOunt > MAX_SIZE ") ); - return TRUE; - } - else - { - for(i=0; iGetWindowRect(&plotRect); - ScreenToClient(&plotRect); - - n_PlotWidth = min( plotRect.Width(), 512); - n_PlotHeight = plotRect.Height() - 10; - } - - - // Set the default DI Sample - SetDlgItemInt( IDC_EDIT_SAMPLE, (UINT)(m_dwDISamples) ); - - err = DIO_VoltLevelConfig(m_hCard, P7350_PortDIO, VoltLevel_3R3); - if( err!=NoError ) - { - strTemp.Format( TEXT("DIO_VoltLevelConfig Error = %d"), err); - AfxMessageBox( strTemp ); - return TRUE; - } - - /* - * Set Input or Output for DIO Port - */ - err = DIO_PortConfig(m_hCard, P7350_DIO_A, INPUT_PORT); - if( err!=NoError ) - { - strTemp.Format( TEXT("DIO_PortConfig(P7350_DIO_A) Error = %d"), err); - AfxMessageBox( strTemp ); - return TRUE; - } - - err = DIO_PortConfig(m_hCard, P7350_DIO_B, OUTPUT_PORT); - if( err!=NoError ) - { - strTemp.Format( TEXT("DIO_PortConfig(P7350_DIO_B) Error = %d"), err); - AfxMessageBox( strTemp ); - return TRUE; - } - err = DIO_PortConfig(m_hCard, P7350_DIO_C, INPUT_PORT); - if( err!=NoError ) - { - strTemp.Format( TEXT("DIO_PortConfig(P7350_DIO_C) Error = %d"), err); - AfxMessageBox( strTemp ); - return TRUE; - } - err = DIO_PortConfig(m_hCard, P7350_DIO_D, OUTPUT_PORT); - if( err!=NoError ) - { - strTemp.Format( TEXT("DIO_PortConfig(P7350_DIO_D) Error = %d"), err); - AfxMessageBox( strTemp ); - return TRUE; - } - - - /* - * Set DI Configurations - */ - err = DI_7350_Config(m_hCard, 16, P7350_FreeRun, P7350_WAIT_NO, P7350_IntSampledCLK); - if( err!=NoError ) - { - strTemp.Format( TEXT("DI_7350_Config() Error = %d"), err); - AfxMessageBox( strTemp ); - return TRUE; - } - - /* - * Set DO Configurations - */ - err = DO_7350_Config(m_hCard, 16, P7350_FreeRun, P7350_WAIT_NO, P7350_IntSampledCLK); - if( err!=NoError ) - { - strTemp.Format( TEXT("DO_7350_Config() Error = %d"), err); - AfxMessageBox( strTemp ); - return TRUE; - } - - /* - * Set DI Trigger and HandShake Configurations - */ - err = DI_7350_TrigHSConfig( m_hCard, - 0/*TrigConfig*/, - 0/*DI_IPOL*/, - 0/*DI_REQSrc*/, - 0/*DI_ACKSrc*/, - 0/*DI_TRIGSrc*/, - P7350_AFI_0/*StartTrigSrc*/, - 0/*PauseTrigSrc*/, - 0/*SoftTrigOutSrc*/, - 0/*SoftTrigOutLength*/, - 0/*TrigCount*/ //Infinite Re-Trigger - ); - - for (i=0; i(dc.GetSafeHdc()), 0); - - // Center icon in client rectangle - int cxIcon = GetSystemMetrics(SM_CXICON); - int cyIcon = GetSystemMetrics(SM_CYICON); - CRect rect; - GetClientRect(&rect); - int x = (rect.Width() - cxIcon + 1) / 2; - int y = (rect.Height() - cyIcon + 1) / 2; - - // Draw the icon - dc.DrawIcon(x, y, m_hIcon); - } - else - { - redraw_display_area(); - CDialog::OnPaint(); - } -} - -// The system calls this function to obtain the cursor to display while the user drags -// the minimized window. -HCURSOR C7350WavDlg::OnQueryDragIcon() -{ - return static_cast(m_hIcon); -} - - -void C7350WavDlg::OnDestroy() -{ - U32 count; - - CDialog::OnDestroy(); - - // TODO: Add your message handler code here - if( OnBrush != NULL ) - ::DeleteObject( OnBrush ); - - if( OffBrush != NULL ) - ::DeleteObject( OffBrush ); - - RedPen.DeleteObject(); - GreenPen.DeleteObject(); - - if( m_nTimer != -1 ) - { - KillTimer( m_nTimer ); - m_nTimer = -1; - } - - DI_AsyncClear( m_hCard, &count ); -} - -void C7350WavDlg::OnStart() -{ - // TODO: Add your control notification handler code here - I16 err; - CString strMsg; - - m_OverrunCnt = 0; - - m_dwDISamples = gReadCount; - err = DO_ContMultiBufferStart(m_hCard, 0, 100000); - if(err!=NoError) - { - strMsg.Format(TEXT("DO_ContMultiBufferStart Error = %d"), err); - AfxMessageBox( strMsg ); - return; - } - - err = DI_ContMultiBufferStart(m_hCard, 0, 100000); - if (err < 0) - { - strMsg.Format(TEXT("DI_ContMultiBufferStart Error = %d"), err); - AfxMessageBox( strMsg ); - return; - } - - - // clear display area - redraw_display_area(); - SetDlgItemInt( IDC_EDIT_OVERRUN, m_OverrunCnt ); - - if( m_nTimer == -1 ) - { - m_nTimer = SetTimer( PCI7350_DIO_STATUS_TIMER, 50, NULL ); - } - - GetDlgItem( IDC_BT_START )->EnableWindow( FALSE ); - GetDlgItem( IDC_BT_STOP )->EnableWindow( TRUE ); - -} - -void C7350WavDlg::OnStop() -{ - // TODO: Add your control notification handler code here - U32 count; - - if( m_nTimer != -1 ) - { - KillTimer( m_nTimer ); - m_nTimer = -1; - } - - DI_AsyncClear(m_hCard, &count); - DO_AsyncClear(m_hCard, &count); - - - GetDlgItem( IDC_BT_START )->EnableWindow( TRUE ); - GetDlgItem( IDC_BT_STOP )->EnableWindow( FALSE); -} - -void C7350WavDlg::OnTimer(UINT_PTR nIDEvent) -{ - // TODO: Add your message handler code here and/or call default - I16 err; - CString strTemp; - BOOLEAN NextReady = FALSE; - U16 ReadyBufferId = 0; - U16 PreDIReadyBufferId = 0; - - U32 BufRdyCnt = 0; - U16 bufcnt = 0; - U16 overrunFlag; - - err = DI_AsyncMultiBufferNextReady(m_hCard, &NextReady, &ReadyBufferId); - if( err!=NoError ) - { - strTemp.Format( TEXT("DI_AsyncMultiBufferNextReady() Error = %d"), err); - AfxMessageBox( strTemp ); - return; - } - - if(NextReady) - { - /* - * If the NextReady flag is asserted, the data of ready buffers - * had been read completely. You can process the data of ready - * buffers if necessary. - * - * Process the data of the ready buffers in here - */ - - /* - * Tell driver that the ready buffers are handled completely - */ - -// redraw_display_area(); - display_buffer_data(gDIBufferAddr[ReadyBufferId], 1); - - if(ReadyBufferId // MFC core and standard components -#include // MFC extensions - - -#include // MFC Automation classes - - - -#ifndef _AFX_NO_OLE_SUPPORT -#include // MFC support for Internet Explorer 4 Common Controls -#endif -#ifndef _AFX_NO_AFXCMN_SUPPORT -#include // MFC support for Windows Common Controls -#endif // _AFX_NO_AFXCMN_SUPPORT - -#include // MFC support for ribbons and control bars - - - - - - - - - -#ifdef _UNICODE -#if defined _M_IX86 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='x86' publicKeyToken='6595b64144ccf1df' language='*'\"") -#elif defined _M_IA64 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='ia64' publicKeyToken='6595b64144ccf1df' language='*'\"") -#elif defined _M_X64 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='amd64' publicKeyToken='6595b64144ccf1df' language='*'\"") -#else -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='*' publicKeyToken='6595b64144ccf1df' language='*'\"") -#endif -#endif - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350DO_ExtInfTrig/targetver.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350DO_ExtInfTrig/targetver.h deleted file mode 100644 index 11730d5..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350DO_ExtInfTrig/targetver.h +++ /dev/null @@ -1,26 +0,0 @@ - -#pragma once - -// The following macros define the minimum required platform. The minimum required platform -// is the earliest version of Windows, Internet Explorer etc. that has the necessary features to run -// your application. The macros work by enabling all features available on platform versions up to and -// including the version specified. - -// Modify the following defines if you have to target a platform prior to the ones specified below. -// Refer to MSDN for the latest info on corresponding values for different platforms. -#ifndef WINVER // Specifies that the minimum required platform is Windows Vista. -#define WINVER 0x0600 // Change this to the appropriate value to target other versions of Windows. -#endif - -#ifndef _WIN32_WINNT // Specifies that the minimum required platform is Windows Vista. -#define _WIN32_WINNT 0x0600 // Change this to the appropriate value to target other versions of Windows. -#endif - -#ifndef _WIN32_WINDOWS // Specifies that the minimum required platform is Windows 98. -#define _WIN32_WINDOWS 0x0410 // Change this to the appropriate value to target Windows Me or later. -#endif - -#ifndef _WIN32_IE // Specifies that the minimum required platform is Internet Explorer 7.0. -#define _WIN32_IE 0x0700 // Change this to the appropriate value to target other versions of IE. -#endif - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350DO_ExtReTrig/7200Wav.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350DO_ExtReTrig/7200Wav.suo deleted file mode 100644 index bc032e1..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350DO_ExtReTrig/7200Wav.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350DO_ExtReTrig/7300bWav.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350DO_ExtReTrig/7300bWav.suo deleted file mode 100644 index 90ac3f3..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350DO_ExtReTrig/7300bWav.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350DO_ExtReTrig/7350Wav.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350DO_ExtReTrig/7350Wav.cpp deleted file mode 100644 index 066dfa9..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350DO_ExtReTrig/7350Wav.cpp +++ /dev/null @@ -1,110 +0,0 @@ - -// 7350Wav.cpp : Defines the class behaviors for the application. -// - -#include "stdafx.h" -#include "7350Wav.h" -#include "7350WavDlg.h" -#include "CardIDDlg.h" - -#ifdef _DEBUG -#define new DEBUG_NEW -#endif - - -// C7350WavApp - -BEGIN_MESSAGE_MAP(C7350WavApp, CWinAppEx) - ON_COMMAND(ID_HELP, &CWinApp::OnHelp) -END_MESSAGE_MAP() - - -// C7350WavApp construction - -C7350WavApp::C7350WavApp() -{ - // TODO: add construction code here, - // Place all significant initialization in InitInstance -} - - -// The one and only C7350WavApp object - -C7350WavApp theApp; - - -// C7350WavApp initialization - -BOOL C7350WavApp::InitInstance() -{ - int nCardID = 0; - I16 hCard; - CString strTemp; - INT_PTR nResponse; - - // InitCommonControlsEx() is required on Windows XP if an application - // manifest specifies use of ComCtl32.dll version 6 or later to enable - // visual styles. Otherwise, any window creation will fail. - INITCOMMONCONTROLSEX InitCtrls; - InitCtrls.dwSize = sizeof(InitCtrls); - // Set this to include all the common control classes you want to use - // in your application. - InitCtrls.dwICC = ICC_WIN95_CLASSES; - InitCommonControlsEx(&InitCtrls); - - CWinAppEx::InitInstance(); - - AfxEnableControlContainer(); - - // Standard initialization - // If you are not using these features and wish to reduce the size - // of your final executable, you should remove from the following - // the specific initialization routines you do not need - // Change the registry key under which our settings are stored - // TODO: You should modify this string to be something appropriate - // such as the name of your company or organization - SetRegistryKey(_T("Local AppWizard-Generated Applications")); - - CCardIDDlg CardDlg( nCardID ); - - nResponse = CardDlg.DoModal(); - if (nResponse == IDOK) - { - nCardID = CardDlg.GetCardID(); - - if ((hCard=Register_Card(PCI_7350, nCardID)) < 0) - { - strTemp.Format( TEXT("Register_Card Error = %d"), hCard); - AfxMessageBox( strTemp ); - } - else - { - C7350WavDlg dlg(hCard); - m_pMainWnd = &dlg; - nResponse = dlg.DoModal(); - if (nResponse == IDOK) - { - // TODO: Place code here to handle when the dialog is - // dismissed with OK - } - else if (nResponse == IDCANCEL) - { - // TODO: Place code here to handle when the dialog is - // dismissed with Cancel - } - - if (hCard >= 0) Release_Card(hCard); - } - - } - else if (nResponse == IDCANCEL) - { - // TODO: Place code here to handle when the dialog is - // dismissed with Cancel - } - - - // Since the dialog has been closed, return FALSE so that we exit the - // application, rather than start the application's message pump. - return FALSE; -} diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350DO_ExtReTrig/7350Wav.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350DO_ExtReTrig/7350Wav.h deleted file mode 100644 index c651b47..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350DO_ExtReTrig/7350Wav.h +++ /dev/null @@ -1,32 +0,0 @@ - -// 7350Wav.h : main header file for the PROJECT_NAME application -// - -#pragma once - -#ifndef __AFXWIN_H__ - #error "include 'stdafx.h' before including this file for PCH" -#endif - -#include "resource.h" // main symbols - - -// C7350WavApp: -// See 7350Wav.cpp for the implementation of this class -// - -class C7350WavApp : public CWinAppEx -{ -public: - C7350WavApp(); - -// Overrides - public: - virtual BOOL InitInstance(); - -// Implementation - - DECLARE_MESSAGE_MAP() -}; - -extern C7350WavApp theApp; \ No newline at end of file diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350DO_ExtReTrig/7350Wav.rc b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350DO_ExtReTrig/7350Wav.rc deleted file mode 100644 index dfc172e..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350DO_ExtReTrig/7350Wav.rc +++ /dev/null @@ -1,283 +0,0 @@ -// Microsoft Visual C++ generated resource script. -// -#include "resource.h" - -#define APSTUDIO_READONLY_SYMBOLS -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 2 resource. -// -#ifndef APSTUDIO_INVOKED -#include "targetver.h" -#endif -#include "afxres.h" - -///////////////////////////////////////////////////////////////////////////// -#undef APSTUDIO_READONLY_SYMBOLS - -///////////////////////////////////////////////////////////////////////////// -// Chinese (Taiwan) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_CHT) -#ifdef _WIN32 -LANGUAGE LANG_CHINESE, SUBLANG_CHINESE_TRADITIONAL -#pragma code_page(950) -#endif //_WIN32 - -#ifdef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// TEXTINCLUDE -// - -1 TEXTINCLUDE -BEGIN - "resource.h\0" -END - -2 TEXTINCLUDE -BEGIN - "#ifndef APSTUDIO_INVOKED\r\n" - "#include ""targetver.h""\r\n" - "#endif\r\n" - "#include ""afxres.h""\r\n" - "\0" -END - -3 TEXTINCLUDE -BEGIN - "#define _AFX_NO_SPLITTER_RESOURCES\r\n" - "#define _AFX_NO_OLE_RESOURCES\r\n" - "#define _AFX_NO_TRACKER_RESOURCES\r\n" - "#define _AFX_NO_PROPERTY_RESOURCES\r\n" - "\r\n" - "#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)\r\n" - "LANGUAGE 9, 1\r\n" - "#pragma code_page(1252)\r\n" - "#include ""res\\My7350Wav.rc2"" // non-Microsoft Visual C++ edited resources\r\n" - "#include ""afxres.rc"" // Standard components\r\n" - "#endif\r\n" - "\0" -END - -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// Icon -// - -// Icon with lowest ID value placed first to ensure application icon -// remains consistent on all systems. -IDR_MAINFRAME ICON "res\\7350Wav.ico" -#endif // Chinese (Taiwan) resources -///////////////////////////////////////////////////////////////////////////// - - -///////////////////////////////////////////////////////////////////////////// -// English (U.S.) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -#ifdef _WIN32 -LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US -#pragma code_page(1252) -#endif //_WIN32 - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog -// - -IDD_ABOUTBOX DIALOGEX 0, 0, 170, 62 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "About 7350Wav" -FONT 8, "MS Shell Dlg", 0, 0, 0x1 -BEGIN - ICON IDR_MAINFRAME,IDC_STATIC,14,14,21,20 - LTEXT "7350Wav, Version 1.0",IDC_STATIC,42,14,114,8,SS_NOPREFIX - LTEXT "Copyright (C) 2010",IDC_STATIC,42,26,114,8 - DEFPUSHBUTTON "OK",IDOK,113,41,50,14,WS_GROUP -END - -IDD_MY7350Wav_DIALOG DIALOGEX 0, 0, 357, 248 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU -EXSTYLE WS_EX_APPWINDOW -CAPTION "PCI-7350 MBuf DI, DO DMA /w External Trigger " -FONT 8, "MS Shell Dlg", 0, 0, 0x1 -BEGIN - GROUPBOX "",IDC_STATIC_DRAW,48,54,293,138,NOT WS_VISIBLE - EDITTEXT IDC_EDIT_SAMPLE,207,200,51,12,ES_AUTOHSCROLL | ES_READONLY - LTEXT "DI Samples :",IDC_STATIC,158,201,45,9 - PUSHBUTTON "Start",IDC_BT_START,292,198,48,17 - PUSHBUTTON "Stop",IDC_BT_STOP,292,217,48,17 - LTEXT "The configuration is set as DI16DO16.\nINPUT_PORT: P7350_DIO_A and P7350_DIO_C\nOUTPUT_PORT: P7350_DIO_B and P7350_DIO_D.",IDC_STATIC,12,9,325,26 - LTEXT "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",IDC_STATIC_01,12,41,327,10 - LTEXT "Overrun Count :",IDC_STATIC,145,217,56,9 - EDITTEXT IDC_EDIT_OVERRUN,206,216,51,12,ES_AUTOHSCROLL | ES_READONLY -END - -IDD_CARDID_DIALOG DIALOGEX 0, 0, 170, 89 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "Card ID" -FONT 8, "MS Shell Dlg", 400, 0, 0x1 -BEGIN - COMBOBOX IDC_COMBO_CARDID,75,17,71,126,CBS_DROPDOWN | WS_VSCROLL | WS_TABSTOP - LTEXT "Card Number",IDC_STATIC_01,21,18,46,12 - PUSHBUTTON "OK",IDOK,22,50,58,19 - PUSHBUTTON "CANCEL",IDCANCEL,86,50,58,19 -END - - -///////////////////////////////////////////////////////////////////////////// -// -// Version -// - -VS_VERSION_INFO VERSIONINFO - FILEVERSION 1,0,0,1 - PRODUCTVERSION 1,0,0,1 - FILEFLAGSMASK 0x3fL -#ifdef _DEBUG - FILEFLAGS 0x1L -#else - FILEFLAGS 0x0L -#endif - FILEOS 0x4L - FILETYPE 0x1L - FILESUBTYPE 0x0L -BEGIN - BLOCK "StringFileInfo" - BEGIN - BLOCK "040904e4" - BEGIN - VALUE "CompanyName", "TODO: " - VALUE "FileDescription", "TODO: " - VALUE "FileVersion", "1.0.0.1" - VALUE "InternalName", "7350Wav.exe" - VALUE "LegalCopyright", "TODO: (c) . All rights reserved." - VALUE "OriginalFilename", "7350Wav.exe" - VALUE "ProductName", "TODO: " - VALUE "ProductVersion", "1.0.0.1" - END - END - BLOCK "VarFileInfo" - BEGIN - VALUE "Translation", 0x409, 1252 - END -END - - -///////////////////////////////////////////////////////////////////////////// -// -// DESIGNINFO -// - -#ifdef APSTUDIO_INVOKED -GUIDELINES DESIGNINFO -BEGIN - IDD_ABOUTBOX, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 163 - TOPMARGIN, 7 - BOTTOMMARGIN, 55 - END - - IDD_MY7350Wav_DIALOG, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 350 - TOPMARGIN, 7 - BOTTOMMARGIN, 241 - END - - IDD_CARDID_DIALOG, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 163 - TOPMARGIN, 7 - BOTTOMMARGIN, 82 - END -END -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog Info -// - -IDD_CARDID_DIALOG DLGINIT -BEGIN - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0030, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0031, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0032, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0033, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0034, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0035, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0036, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0037, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0038, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0039, - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3031, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3131, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3231, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3331, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3431, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3531, "\000" - 0 -END - - -///////////////////////////////////////////////////////////////////////////// -// -// String Table -// - -STRINGTABLE -BEGIN - IDS_ABOUTBOX "&About 7350Wav..." -END - -#endif // English (U.S.) resources -///////////////////////////////////////////////////////////////////////////// - - - -#ifndef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 3 resource. -// -#define _AFX_NO_SPLITTER_RESOURCES -#define _AFX_NO_OLE_RESOURCES -#define _AFX_NO_TRACKER_RESOURCES -#define _AFX_NO_PROPERTY_RESOURCES - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -LANGUAGE 9, 1 -#pragma code_page(1252) -#include "res\My7350Wav.rc2" // non-Microsoft Visual C++ edited resources -#include "afxres.rc" // Standard components -#endif - -///////////////////////////////////////////////////////////////////////////// -#endif // not APSTUDIO_INVOKED - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350DO_ExtReTrig/7350Wav.sln b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350DO_ExtReTrig/7350Wav.sln deleted file mode 100644 index b727fc7..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350DO_ExtReTrig/7350Wav.sln +++ /dev/null @@ -1,20 +0,0 @@ - -Microsoft Visual Studio Solution File, Format Version 10.00 -# Visual Studio 2008 -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "7350Wav", "7350Wav.vcproj", "{EBDB6610-7CE5-413C-A150-121068BFDB22}" -EndProject -Global - GlobalSection(SolutionConfigurationPlatforms) = preSolution - Debug|x64 = Debug|x64 - Release|x64 = Release|x64 - EndGlobalSection - GlobalSection(ProjectConfigurationPlatforms) = postSolution - {EBDB6610-7CE5-413C-A150-121068BFDB22}.Debug|x64.ActiveCfg = Debug|x64 - {EBDB6610-7CE5-413C-A150-121068BFDB22}.Debug|x64.Build.0 = Debug|x64 - {EBDB6610-7CE5-413C-A150-121068BFDB22}.Release|x64.ActiveCfg = Release|x64 - {EBDB6610-7CE5-413C-A150-121068BFDB22}.Release|x64.Build.0 = Release|x64 - EndGlobalSection - GlobalSection(SolutionProperties) = preSolution - HideSolutionNode = FALSE - EndGlobalSection -EndGlobal diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350DO_ExtReTrig/7350Wav.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350DO_ExtReTrig/7350Wav.suo deleted file mode 100644 index ca1cab2..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350DO_ExtReTrig/7350Wav.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350DO_ExtReTrig/7350Wav.vcproj b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350DO_ExtReTrig/7350Wav.vcproj deleted file mode 100644 index 05476c4..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350DO_ExtReTrig/7350Wav.vcproj +++ /dev/null @@ -1,286 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350DO_ExtReTrig/7350WavDlg.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350DO_ExtReTrig/7350WavDlg.cpp deleted file mode 100644 index 8ba1e0b..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350DO_ExtReTrig/7350WavDlg.cpp +++ /dev/null @@ -1,652 +0,0 @@ - -// 7350WavDlg.cpp : implementation file -// - -#include "stdafx.h" -#include "7350Wav.h" -#include "7350WavDlg.h" -#include "math.h" - -#ifndef M_PI -#define M_PI 3.14159265359 -#endif - -#define MAX_SIZE 1024000 //in words -#define MBufCount 16 //Buffer count to be set -#define TrigCount 4 //Total Trigger Count - -#ifdef _DEBUG -#define new DEBUG_NEW -#endif - -CRect plotRect; - -#define PCI7350_DIO_STATUS_TIMER 1 - -U16 gInBuf[MAX_SIZE], gOutBuf[MAX_SIZE]; -U16 *gDIBufferAddr[MBufCount]; //Buffer array to be set -U16 gDIBufferID[MBufCount]; //Buffer ID returned -U32 gWriteCount = 20480; //Data count per one buffer to be written -U32 gReadCount = 20480; //Data count per one buffer to be written - - - -// CAboutDlg dialog used for App About - -class CAboutDlg : public CDialog -{ -public: - CAboutDlg(); - -// Dialog Data - enum { IDD = IDD_ABOUTBOX }; - - protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - -// Implementation -protected: - DECLARE_MESSAGE_MAP() -}; - -CAboutDlg::CAboutDlg() : CDialog(CAboutDlg::IDD) -{ -} - -void CAboutDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); -} - -BEGIN_MESSAGE_MAP(CAboutDlg, CDialog) -END_MESSAGE_MAP() - - -// C7350WavDlg dialog - - -C7350WavDlg::C7350WavDlg(I16 hCard, CWnd* pParent /*=NULL*/) - : CDialog(C7350WavDlg::IDD, pParent) -{ - m_hIcon = AfxGetApp()->LoadIcon(IDR_MAINFRAME); - - m_hCard = hCard; - - OnBrush = OffBrush = NULL; - - n_PlotWidth = -1; - n_PlotHeight = -1; - - min_val = 0x00; - max_val = 0xFFFF; - - m_dwDISamples = gReadCount; - m_OverrunCnt = 0; - - m_nTimer = -1; - -} - -void C7350WavDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); -} - -BEGIN_MESSAGE_MAP(C7350WavDlg, CDialog) - ON_WM_SYSCOMMAND() - ON_WM_PAINT() - ON_WM_QUERYDRAGICON() - //}}AFX_MSG_MAP - ON_WM_DESTROY() - ON_BN_CLICKED(IDC_BT_START, &C7350WavDlg::OnStart) - ON_BN_CLICKED(IDC_BT_STOP, &C7350WavDlg::OnStop) - ON_WM_TIMER() -// ON_WM_VSCROLL() -END_MESSAGE_MAP() - - -// C7350WavDlg message handlers - -BOOL C7350WavDlg::OnInitDialog() -{ - I16 err; - int i; - CString strTemp; - - CDialog::OnInitDialog(); - - // Add "About..." menu item to system menu. - - // IDM_ABOUTBOX must be in the system command range. - ASSERT((IDM_ABOUTBOX & 0xFFF0) == IDM_ABOUTBOX); - ASSERT(IDM_ABOUTBOX < 0xF000); - - CMenu* pSysMenu = GetSystemMenu(FALSE); - if (pSysMenu != NULL) - { - BOOL bNameValid; - CString strAboutMenu; - bNameValid = strAboutMenu.LoadString(IDS_ABOUTBOX); - ASSERT(bNameValid); - if (!strAboutMenu.IsEmpty()) - { - pSysMenu->AppendMenu(MF_SEPARATOR); - pSysMenu->AppendMenu(MF_STRING, IDM_ABOUTBOX, strAboutMenu); - } - } - - // Set the icon for this dialog. The framework does this automatically - // when the application's main window is not a dialog - SetIcon(m_hIcon, TRUE); // Set big icon - SetIcon(m_hIcon, FALSE); // Set small icon - - strTemp.Format( TEXT("This sample performs infinitely continuous DI and contiinue DO output with %d external retrigger (AFI0)"), TrigCount ); - SetDlgItemText( IDC_STATIC_01, strTemp ); - - if( gReadCount * MBufCount > MAX_SIZE ) - { - AfxMessageBox( TEXT(" gReadCount * MBufCOunt > MAX_SIZE ") ); - return TRUE; - } - else - { - for(i=0; iGetWindowRect(&plotRect); - ScreenToClient(&plotRect); - - n_PlotWidth = min( plotRect.Width(), 512); - n_PlotHeight = plotRect.Height() - 10; - } - - - // Set the default DI Sample - SetDlgItemInt( IDC_EDIT_SAMPLE, (UINT)(m_dwDISamples) ); - - err = DIO_VoltLevelConfig(m_hCard, P7350_PortDIO, VoltLevel_3R3); - if( err!=NoError ) - { - strTemp.Format( TEXT("DIO_VoltLevelConfig(P7350_PortDIO) Error = %d"), err); - AfxMessageBox( strTemp ); - return TRUE; - } - - err = DIO_VoltLevelConfig(m_hCard, P7350_PortAFI, VoltLevel_3R3); - if(err!=NoError) - { - strTemp.Format( TEXT("DIO_VoltLevelConfig(P7350_PortAFI) Error = %d"), err); - AfxMessageBox( strTemp ); - return TRUE; - } - /* - * Set Input or Output for DIO Port - */ - err = DIO_PortConfig(m_hCard, P7350_DIO_A, INPUT_PORT); - if( err!=NoError ) - { - strTemp.Format( TEXT("DIO_PortConfig(P7350_DIO_A) Error = %d"), err); - AfxMessageBox( strTemp ); - return TRUE; - } - - err = DIO_PortConfig(m_hCard, P7350_DIO_B, OUTPUT_PORT); - if( err!=NoError ) - { - strTemp.Format( TEXT("DIO_PortConfig(P7350_DIO_B) Error = %d"), err); - AfxMessageBox( strTemp ); - return TRUE; - } - err = DIO_PortConfig(m_hCard, P7350_DIO_C, INPUT_PORT); - if( err!=NoError ) - { - strTemp.Format( TEXT("DIO_PortConfig(P7350_DIO_C) Error = %d"), err); - AfxMessageBox( strTemp ); - return TRUE; - } - err = DIO_PortConfig(m_hCard, P7350_DIO_D, OUTPUT_PORT); - if( err!=NoError ) - { - strTemp.Format( TEXT("DIO_PortConfig(P7350_DIO_D) Error = %d"), err); - AfxMessageBox( strTemp ); - return TRUE; - } - - - /* - * Set DI Configurations - */ - err = DI_7350_Config(m_hCard, 16, P7350_FreeRun, P7350_WAIT_NO, P7350_IntSampledCLK); - if( err!=NoError ) - { - strTemp.Format( TEXT("DI_7350_Config() Error = %d"), err); - AfxMessageBox( strTemp ); - return TRUE; - } - - /* - * Set DO Configurations - */ - err = DO_7350_Config(m_hCard, 16, P7350_FreeRun, P7350_WAIT_EXTTRG, P7350_IntSampledCLK); - if( err!=NoError ) - { - strTemp.Format( TEXT("DO_7350_Config() Error = %d"), err); - AfxMessageBox( strTemp ); - return TRUE; - } - - /* - * Set DO Trigger and HandShake Configurations - */ - err = DO_7350_TrigHSConfig( - m_hCard, - 0/*TrigConfig*/, - 0/*DI_IPOL*/, - 0/*DI_REQSrc*/, - 0/*DI_ACKSrc*/, - 0/*DI_TRIGSrc*/, - P7350_AFI_0/*StartTrigSrc*/, - 0/*PauseTrigSrc*/, - 0/*SoftTrigOutSrc*/, - 0/*SoftTrigOutLength*/, - TrigCount - ); - - for (i=0; i(dc.GetSafeHdc()), 0); - - // Center icon in client rectangle - int cxIcon = GetSystemMetrics(SM_CXICON); - int cyIcon = GetSystemMetrics(SM_CYICON); - CRect rect; - GetClientRect(&rect); - int x = (rect.Width() - cxIcon + 1) / 2; - int y = (rect.Height() - cyIcon + 1) / 2; - - // Draw the icon - dc.DrawIcon(x, y, m_hIcon); - } - else - { - redraw_display_area(); - CDialog::OnPaint(); - } -} - -// The system calls this function to obtain the cursor to display while the user drags -// the minimized window. -HCURSOR C7350WavDlg::OnQueryDragIcon() -{ - return static_cast(m_hIcon); -} - - -void C7350WavDlg::OnDestroy() -{ - U32 count; - - CDialog::OnDestroy(); - - // TODO: Add your message handler code here - if( OnBrush != NULL ) - ::DeleteObject( OnBrush ); - - if( OffBrush != NULL ) - ::DeleteObject( OffBrush ); - - RedPen.DeleteObject(); - GreenPen.DeleteObject(); - - if( m_nTimer != -1 ) - { - KillTimer( m_nTimer ); - m_nTimer = -1; - } - - DI_AsyncClear( m_hCard, &count ); -} - -void C7350WavDlg::OnStart() -{ - // TODO: Add your control notification handler code here - I16 err; - CString strMsg; - - m_OverrunCnt = 0; - - m_dwDISamples = gReadCount; - err = DO_ContWritePort(m_hCard, 0, (void *)gOutBuf, gWriteCount, 1, 100000, ASYNCH_OP); - if(err!=NoError) - { - strMsg.Format(TEXT("DO_ContWritePort Error = %d"), err); - AfxMessageBox( strMsg ); - return; - } - - err = DI_ContMultiBufferStart(m_hCard, 0, 100000); - if (err < 0) - { - strMsg.Format(TEXT("DI_ContMultiBufferStart Error = %d"), err); - AfxMessageBox( strMsg ); - return; - } - - - // clear display area - redraw_display_area(); - SetDlgItemInt( IDC_EDIT_OVERRUN, m_OverrunCnt ); - - if( m_nTimer == -1 ) - { - m_nTimer = SetTimer( PCI7350_DIO_STATUS_TIMER, 50, NULL ); - } - - GetDlgItem( IDC_BT_START )->EnableWindow( FALSE ); - GetDlgItem( IDC_BT_STOP )->EnableWindow( TRUE ); - -} - -void C7350WavDlg::OnStop() -{ - // TODO: Add your control notification handler code here - U32 count; - - if( m_nTimer != -1 ) - { - KillTimer( m_nTimer ); - m_nTimer = -1; - } - - DI_AsyncClear(m_hCard, &count); - DO_AsyncClear(m_hCard, &count); - - - GetDlgItem( IDC_BT_START )->EnableWindow( TRUE ); - GetDlgItem( IDC_BT_STOP )->EnableWindow( FALSE); -} - -void C7350WavDlg::OnTimer(UINT_PTR nIDEvent) -{ - // TODO: Add your message handler code here and/or call default - I16 err; - CString strTemp; - BOOLEAN NextReady = FALSE, bDOStopped; - U16 ReadyBufferId = 0; - U16 PreDIReadyBufferId = 0; - - U32 BufRdyCnt = 0, count; - U16 bufcnt = 0; - U16 overrunFlag; - - err = DI_AsyncMultiBufferNextReady(m_hCard, &NextReady, &ReadyBufferId); - if( err!=NoError ) - { - strTemp.Format( TEXT("DI_AsyncMultiBufferNextReady() Error = %d"), err); - AfxMessageBox( strTemp ); - return; - } - - if(NextReady) - { - /* - * If the NextReady flag is asserted, the data of ready buffers - * had been read completely. You can process the data of ready - * buffers if necessary. - * - * Process the data of the ready buffers in here - */ - - /* - * Tell driver that the ready buffers are handled completely - */ - -// redraw_display_area(); - display_buffer_data(gDIBufferAddr[ReadyBufferId], 1); - - if(ReadyBufferIdEnableWindow( TRUE ); - GetDlgItem( IDC_BT_STOP )->EnableWindow( FALSE); - - } - - CDialog::OnTimer(nIDEvent); -} - - -void C7350WavDlg::display_buffer_data(U16* pBuf, unsigned char bReDraw ) -{ - CClientDC dc_plot(this); - int nDraw_Bottom; - - int newY, oldY = -1; - int newX, oldX = -1; - U32 index, di_data; - - if( bReDraw != 0 ) - { - // redraw the background - dc_plot.FillSolidRect( plotRect, RGB(0,0,0) ); - } - - nDraw_Bottom = ( plotRect.bottom - 5 ); - dc_plot.SelectObject( &GreenPen ); - - for( index=0; index // MFC core and standard components -#include // MFC extensions - - -#include // MFC Automation classes - - - -#ifndef _AFX_NO_OLE_SUPPORT -#include // MFC support for Internet Explorer 4 Common Controls -#endif -#ifndef _AFX_NO_AFXCMN_SUPPORT -#include // MFC support for Windows Common Controls -#endif // _AFX_NO_AFXCMN_SUPPORT - -#include // MFC support for ribbons and control bars - - - - - - - - - -#ifdef _UNICODE -#if defined _M_IX86 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='x86' publicKeyToken='6595b64144ccf1df' language='*'\"") -#elif defined _M_IA64 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='ia64' publicKeyToken='6595b64144ccf1df' language='*'\"") -#elif defined _M_X64 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='amd64' publicKeyToken='6595b64144ccf1df' language='*'\"") -#else -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='*' publicKeyToken='6595b64144ccf1df' language='*'\"") -#endif -#endif - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350DO_ExtReTrig/targetver.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350DO_ExtReTrig/targetver.h deleted file mode 100644 index 11730d5..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350DO_ExtReTrig/targetver.h +++ /dev/null @@ -1,26 +0,0 @@ - -#pragma once - -// The following macros define the minimum required platform. The minimum required platform -// is the earliest version of Windows, Internet Explorer etc. that has the necessary features to run -// your application. The macros work by enabling all features available on platform versions up to and -// including the version specified. - -// Modify the following defines if you have to target a platform prior to the ones specified below. -// Refer to MSDN for the latest info on corresponding values for different platforms. -#ifndef WINVER // Specifies that the minimum required platform is Windows Vista. -#define WINVER 0x0600 // Change this to the appropriate value to target other versions of Windows. -#endif - -#ifndef _WIN32_WINNT // Specifies that the minimum required platform is Windows Vista. -#define _WIN32_WINNT 0x0600 // Change this to the appropriate value to target other versions of Windows. -#endif - -#ifndef _WIN32_WINDOWS // Specifies that the minimum required platform is Windows 98. -#define _WIN32_WINDOWS 0x0410 // Change this to the appropriate value to target Windows Me or later. -#endif - -#ifndef _WIN32_IE // Specifies that the minimum required platform is Internet Explorer 7.0. -#define _WIN32_IE 0x0700 // Change this to the appropriate value to target other versions of IE. -#endif - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350DO_ExtTrig/7200Wav.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350DO_ExtTrig/7200Wav.suo deleted file mode 100644 index bc032e1..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350DO_ExtTrig/7200Wav.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350DO_ExtTrig/7300bWav.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350DO_ExtTrig/7300bWav.suo deleted file mode 100644 index 90ac3f3..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350DO_ExtTrig/7300bWav.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350DO_ExtTrig/7350Wav.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350DO_ExtTrig/7350Wav.cpp deleted file mode 100644 index 066dfa9..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350DO_ExtTrig/7350Wav.cpp +++ /dev/null @@ -1,110 +0,0 @@ - -// 7350Wav.cpp : Defines the class behaviors for the application. -// - -#include "stdafx.h" -#include "7350Wav.h" -#include "7350WavDlg.h" -#include "CardIDDlg.h" - -#ifdef _DEBUG -#define new DEBUG_NEW -#endif - - -// C7350WavApp - -BEGIN_MESSAGE_MAP(C7350WavApp, CWinAppEx) - ON_COMMAND(ID_HELP, &CWinApp::OnHelp) -END_MESSAGE_MAP() - - -// C7350WavApp construction - -C7350WavApp::C7350WavApp() -{ - // TODO: add construction code here, - // Place all significant initialization in InitInstance -} - - -// The one and only C7350WavApp object - -C7350WavApp theApp; - - -// C7350WavApp initialization - -BOOL C7350WavApp::InitInstance() -{ - int nCardID = 0; - I16 hCard; - CString strTemp; - INT_PTR nResponse; - - // InitCommonControlsEx() is required on Windows XP if an application - // manifest specifies use of ComCtl32.dll version 6 or later to enable - // visual styles. Otherwise, any window creation will fail. - INITCOMMONCONTROLSEX InitCtrls; - InitCtrls.dwSize = sizeof(InitCtrls); - // Set this to include all the common control classes you want to use - // in your application. - InitCtrls.dwICC = ICC_WIN95_CLASSES; - InitCommonControlsEx(&InitCtrls); - - CWinAppEx::InitInstance(); - - AfxEnableControlContainer(); - - // Standard initialization - // If you are not using these features and wish to reduce the size - // of your final executable, you should remove from the following - // the specific initialization routines you do not need - // Change the registry key under which our settings are stored - // TODO: You should modify this string to be something appropriate - // such as the name of your company or organization - SetRegistryKey(_T("Local AppWizard-Generated Applications")); - - CCardIDDlg CardDlg( nCardID ); - - nResponse = CardDlg.DoModal(); - if (nResponse == IDOK) - { - nCardID = CardDlg.GetCardID(); - - if ((hCard=Register_Card(PCI_7350, nCardID)) < 0) - { - strTemp.Format( TEXT("Register_Card Error = %d"), hCard); - AfxMessageBox( strTemp ); - } - else - { - C7350WavDlg dlg(hCard); - m_pMainWnd = &dlg; - nResponse = dlg.DoModal(); - if (nResponse == IDOK) - { - // TODO: Place code here to handle when the dialog is - // dismissed with OK - } - else if (nResponse == IDCANCEL) - { - // TODO: Place code here to handle when the dialog is - // dismissed with Cancel - } - - if (hCard >= 0) Release_Card(hCard); - } - - } - else if (nResponse == IDCANCEL) - { - // TODO: Place code here to handle when the dialog is - // dismissed with Cancel - } - - - // Since the dialog has been closed, return FALSE so that we exit the - // application, rather than start the application's message pump. - return FALSE; -} diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350DO_ExtTrig/7350Wav.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350DO_ExtTrig/7350Wav.h deleted file mode 100644 index c651b47..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350DO_ExtTrig/7350Wav.h +++ /dev/null @@ -1,32 +0,0 @@ - -// 7350Wav.h : main header file for the PROJECT_NAME application -// - -#pragma once - -#ifndef __AFXWIN_H__ - #error "include 'stdafx.h' before including this file for PCH" -#endif - -#include "resource.h" // main symbols - - -// C7350WavApp: -// See 7350Wav.cpp for the implementation of this class -// - -class C7350WavApp : public CWinAppEx -{ -public: - C7350WavApp(); - -// Overrides - public: - virtual BOOL InitInstance(); - -// Implementation - - DECLARE_MESSAGE_MAP() -}; - -extern C7350WavApp theApp; \ No newline at end of file diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350DO_ExtTrig/7350Wav.rc b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350DO_ExtTrig/7350Wav.rc deleted file mode 100644 index 4b8989d..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350DO_ExtTrig/7350Wav.rc +++ /dev/null @@ -1,283 +0,0 @@ -// Microsoft Visual C++ generated resource script. -// -#include "resource.h" - -#define APSTUDIO_READONLY_SYMBOLS -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 2 resource. -// -#ifndef APSTUDIO_INVOKED -#include "targetver.h" -#endif -#include "afxres.h" - -///////////////////////////////////////////////////////////////////////////// -#undef APSTUDIO_READONLY_SYMBOLS - -///////////////////////////////////////////////////////////////////////////// -// Chinese (Taiwan) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_CHT) -#ifdef _WIN32 -LANGUAGE LANG_CHINESE, SUBLANG_CHINESE_TRADITIONAL -#pragma code_page(950) -#endif //_WIN32 - -#ifdef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// TEXTINCLUDE -// - -1 TEXTINCLUDE -BEGIN - "resource.h\0" -END - -2 TEXTINCLUDE -BEGIN - "#ifndef APSTUDIO_INVOKED\r\n" - "#include ""targetver.h""\r\n" - "#endif\r\n" - "#include ""afxres.h""\r\n" - "\0" -END - -3 TEXTINCLUDE -BEGIN - "#define _AFX_NO_SPLITTER_RESOURCES\r\n" - "#define _AFX_NO_OLE_RESOURCES\r\n" - "#define _AFX_NO_TRACKER_RESOURCES\r\n" - "#define _AFX_NO_PROPERTY_RESOURCES\r\n" - "\r\n" - "#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)\r\n" - "LANGUAGE 9, 1\r\n" - "#pragma code_page(1252)\r\n" - "#include ""res\\My7350Wav.rc2"" // non-Microsoft Visual C++ edited resources\r\n" - "#include ""afxres.rc"" // Standard components\r\n" - "#endif\r\n" - "\0" -END - -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// Icon -// - -// Icon with lowest ID value placed first to ensure application icon -// remains consistent on all systems. -IDR_MAINFRAME ICON "res\\7350Wav.ico" -#endif // Chinese (Taiwan) resources -///////////////////////////////////////////////////////////////////////////// - - -///////////////////////////////////////////////////////////////////////////// -// English (U.S.) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -#ifdef _WIN32 -LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US -#pragma code_page(1252) -#endif //_WIN32 - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog -// - -IDD_ABOUTBOX DIALOGEX 0, 0, 170, 62 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "About 7350Wav" -FONT 8, "MS Shell Dlg", 0, 0, 0x1 -BEGIN - ICON IDR_MAINFRAME,IDC_STATIC,14,14,21,20 - LTEXT "7350Wav, Version 1.0",IDC_STATIC,42,14,114,8,SS_NOPREFIX - LTEXT "Copyright (C) 2010",IDC_STATIC,42,26,114,8 - DEFPUSHBUTTON "OK",IDOK,113,41,50,14,WS_GROUP -END - -IDD_MY7350Wav_DIALOG DIALOGEX 0, 0, 357, 248 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU -EXSTYLE WS_EX_APPWINDOW -CAPTION "PCI-7350 MBuf DI, DO DMA /w External Trigger " -FONT 8, "MS Shell Dlg", 0, 0, 0x1 -BEGIN - GROUPBOX "",IDC_STATIC_DRAW,48,54,293,138,NOT WS_VISIBLE - EDITTEXT IDC_EDIT_SAMPLE,207,200,51,12,ES_AUTOHSCROLL | ES_READONLY - LTEXT "DI Samples :",IDC_STATIC,158,201,45,9 - PUSHBUTTON "Start",IDC_BT_START,292,198,48,17 - PUSHBUTTON "Stop",IDC_BT_STOP,292,217,48,17 - LTEXT "The configuration is set as DI16DO16.\nINPUT_PORT: P7350_DIO_A and P7350_DIO_C\nOUTPUT_PORT: P7350_DIO_B and P7350_DIO_D.",IDC_STATIC,13,3,325,26 - LTEXT "This sample performs infinitely continuous DI acquisition and contiinue DO output. with external trigger (AFI0) The input data is shown in panel below.",IDC_STATIC,14,30,327,20 - LTEXT "Overrun Count :",IDC_STATIC,145,217,56,9 - EDITTEXT IDC_EDIT_OVERRUN,206,216,51,12,ES_AUTOHSCROLL | ES_READONLY -END - -IDD_CARDID_DIALOG DIALOGEX 0, 0, 170, 89 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "Card ID" -FONT 8, "MS Shell Dlg", 400, 0, 0x1 -BEGIN - COMBOBOX IDC_COMBO_CARDID,75,17,71,126,CBS_DROPDOWN | WS_VSCROLL | WS_TABSTOP - LTEXT "Card Number",IDC_STATIC_01,21,18,46,12 - PUSHBUTTON "OK",IDOK,22,50,58,19 - PUSHBUTTON "CANCEL",IDCANCEL,86,50,58,19 -END - - -///////////////////////////////////////////////////////////////////////////// -// -// Version -// - -VS_VERSION_INFO VERSIONINFO - FILEVERSION 1,0,0,1 - PRODUCTVERSION 1,0,0,1 - FILEFLAGSMASK 0x3fL -#ifdef _DEBUG - FILEFLAGS 0x1L -#else - FILEFLAGS 0x0L -#endif - FILEOS 0x4L - FILETYPE 0x1L - FILESUBTYPE 0x0L -BEGIN - BLOCK "StringFileInfo" - BEGIN - BLOCK "040904e4" - BEGIN - VALUE "CompanyName", "TODO: " - VALUE "FileDescription", "TODO: " - VALUE "FileVersion", "1.0.0.1" - VALUE "InternalName", "7350Wav.exe" - VALUE "LegalCopyright", "TODO: (c) . All rights reserved." - VALUE "OriginalFilename", "7350Wav.exe" - VALUE "ProductName", "TODO: " - VALUE "ProductVersion", "1.0.0.1" - END - END - BLOCK "VarFileInfo" - BEGIN - VALUE "Translation", 0x409, 1252 - END -END - - -///////////////////////////////////////////////////////////////////////////// -// -// DESIGNINFO -// - -#ifdef APSTUDIO_INVOKED -GUIDELINES DESIGNINFO -BEGIN - IDD_ABOUTBOX, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 163 - TOPMARGIN, 7 - BOTTOMMARGIN, 55 - END - - IDD_MY7350Wav_DIALOG, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 350 - TOPMARGIN, 7 - BOTTOMMARGIN, 241 - END - - IDD_CARDID_DIALOG, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 163 - TOPMARGIN, 7 - BOTTOMMARGIN, 82 - END -END -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog Info -// - -IDD_CARDID_DIALOG DLGINIT -BEGIN - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0030, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0031, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0032, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0033, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0034, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0035, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0036, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0037, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0038, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0039, - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3031, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3131, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3231, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3331, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3431, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3531, "\000" - 0 -END - - -///////////////////////////////////////////////////////////////////////////// -// -// String Table -// - -STRINGTABLE -BEGIN - IDS_ABOUTBOX "&About 7350Wav..." -END - -#endif // English (U.S.) resources -///////////////////////////////////////////////////////////////////////////// - - - -#ifndef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 3 resource. -// -#define _AFX_NO_SPLITTER_RESOURCES -#define _AFX_NO_OLE_RESOURCES -#define _AFX_NO_TRACKER_RESOURCES -#define _AFX_NO_PROPERTY_RESOURCES - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -LANGUAGE 9, 1 -#pragma code_page(1252) -#include "res\My7350Wav.rc2" // non-Microsoft Visual C++ edited resources -#include "afxres.rc" // Standard components -#endif - -///////////////////////////////////////////////////////////////////////////// -#endif // not APSTUDIO_INVOKED - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350DO_ExtTrig/7350Wav.sln b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350DO_ExtTrig/7350Wav.sln deleted file mode 100644 index b727fc7..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350DO_ExtTrig/7350Wav.sln +++ /dev/null @@ -1,20 +0,0 @@ - -Microsoft Visual Studio Solution File, Format Version 10.00 -# Visual Studio 2008 -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "7350Wav", "7350Wav.vcproj", "{EBDB6610-7CE5-413C-A150-121068BFDB22}" -EndProject -Global - GlobalSection(SolutionConfigurationPlatforms) = preSolution - Debug|x64 = Debug|x64 - Release|x64 = Release|x64 - EndGlobalSection - GlobalSection(ProjectConfigurationPlatforms) = postSolution - {EBDB6610-7CE5-413C-A150-121068BFDB22}.Debug|x64.ActiveCfg = Debug|x64 - {EBDB6610-7CE5-413C-A150-121068BFDB22}.Debug|x64.Build.0 = Debug|x64 - {EBDB6610-7CE5-413C-A150-121068BFDB22}.Release|x64.ActiveCfg = Release|x64 - {EBDB6610-7CE5-413C-A150-121068BFDB22}.Release|x64.Build.0 = Release|x64 - EndGlobalSection - GlobalSection(SolutionProperties) = preSolution - HideSolutionNode = FALSE - EndGlobalSection -EndGlobal diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350DO_ExtTrig/7350Wav.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350DO_ExtTrig/7350Wav.suo deleted file mode 100644 index c1d7942..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350DO_ExtTrig/7350Wav.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350DO_ExtTrig/7350Wav.vcproj b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350DO_ExtTrig/7350Wav.vcproj deleted file mode 100644 index 05476c4..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350DO_ExtTrig/7350Wav.vcproj +++ /dev/null @@ -1,286 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350DO_ExtTrig/7350WavDlg.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350DO_ExtTrig/7350WavDlg.cpp deleted file mode 100644 index 55a25d4..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350DO_ExtTrig/7350WavDlg.cpp +++ /dev/null @@ -1,641 +0,0 @@ - -// 7350WavDlg.cpp : implementation file -// - -#include "stdafx.h" -#include "7350Wav.h" -#include "7350WavDlg.h" -#include "math.h" - -#ifndef M_PI -#define M_PI 3.14159265359 -#endif - -#define MAX_SIZE 1024000 //in words -#define MBufCount 16 //Buffer count to be set - -#ifdef _DEBUG -#define new DEBUG_NEW -#endif - -CRect plotRect; - -#define PCI7350_DIO_STATUS_TIMER 1 - -U16 gInBuf[MAX_SIZE], gOutBuf[MAX_SIZE]; -U16 *gDIBufferAddr[MBufCount]; //Buffer array to be set -U16 gDIBufferID[MBufCount]; //Buffer ID returned -U32 gWriteCount = 20480; //Data count per one buffer to be written -U32 gReadCount = 20480; //Data count per one buffer to be written - - -// CAboutDlg dialog used for App About - -class CAboutDlg : public CDialog -{ -public: - CAboutDlg(); - -// Dialog Data - enum { IDD = IDD_ABOUTBOX }; - - protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - -// Implementation -protected: - DECLARE_MESSAGE_MAP() -}; - -CAboutDlg::CAboutDlg() : CDialog(CAboutDlg::IDD) -{ -} - -void CAboutDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); -} - -BEGIN_MESSAGE_MAP(CAboutDlg, CDialog) -END_MESSAGE_MAP() - - -// C7350WavDlg dialog - - -C7350WavDlg::C7350WavDlg(I16 hCard, CWnd* pParent /*=NULL*/) - : CDialog(C7350WavDlg::IDD, pParent) -{ - m_hIcon = AfxGetApp()->LoadIcon(IDR_MAINFRAME); - - m_hCard = hCard; - - OnBrush = OffBrush = NULL; - - n_PlotWidth = -1; - n_PlotHeight = -1; - - min_val = 0x00; - max_val = 0xFFFF; - - m_dwDISamples = gReadCount; - m_OverrunCnt = 0; - - m_nTimer = -1; - -} - -void C7350WavDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); -} - -BEGIN_MESSAGE_MAP(C7350WavDlg, CDialog) - ON_WM_SYSCOMMAND() - ON_WM_PAINT() - ON_WM_QUERYDRAGICON() - //}}AFX_MSG_MAP - ON_WM_DESTROY() - ON_BN_CLICKED(IDC_BT_START, &C7350WavDlg::OnStart) - ON_BN_CLICKED(IDC_BT_STOP, &C7350WavDlg::OnStop) - ON_WM_TIMER() -// ON_WM_VSCROLL() -END_MESSAGE_MAP() - - -// C7350WavDlg message handlers - -BOOL C7350WavDlg::OnInitDialog() -{ - I16 err; - int i; - CString strTemp; - - CDialog::OnInitDialog(); - - // Add "About..." menu item to system menu. - - // IDM_ABOUTBOX must be in the system command range. - ASSERT((IDM_ABOUTBOX & 0xFFF0) == IDM_ABOUTBOX); - ASSERT(IDM_ABOUTBOX < 0xF000); - - CMenu* pSysMenu = GetSystemMenu(FALSE); - if (pSysMenu != NULL) - { - BOOL bNameValid; - CString strAboutMenu; - bNameValid = strAboutMenu.LoadString(IDS_ABOUTBOX); - ASSERT(bNameValid); - if (!strAboutMenu.IsEmpty()) - { - pSysMenu->AppendMenu(MF_SEPARATOR); - pSysMenu->AppendMenu(MF_STRING, IDM_ABOUTBOX, strAboutMenu); - } - } - - // Set the icon for this dialog. The framework does this automatically - // when the application's main window is not a dialog - SetIcon(m_hIcon, TRUE); // Set big icon - SetIcon(m_hIcon, FALSE); // Set small icon - - - if( gReadCount * MBufCount > MAX_SIZE ) - { - AfxMessageBox( TEXT(" gReadCount * MBufCOunt > MAX_SIZE ") ); - return TRUE; - } - else - { - for(i=0; iGetWindowRect(&plotRect); - ScreenToClient(&plotRect); - - n_PlotWidth = min( plotRect.Width(), 512); - n_PlotHeight = plotRect.Height() - 10; - } - - - // Set the default DI Sample - SetDlgItemInt( IDC_EDIT_SAMPLE, (UINT)(m_dwDISamples) ); - - err = DIO_VoltLevelConfig(m_hCard, P7350_PortDIO, VoltLevel_3R3); - if( err!=NoError ) - { - strTemp.Format( TEXT("DIO_VoltLevelConfig(P7350_PortDIO) Error = %d"), err); - AfxMessageBox( strTemp ); - return TRUE; - } - - err = DIO_VoltLevelConfig(m_hCard, P7350_PortAFI, VoltLevel_3R3); - if(err!=NoError) - { - strTemp.Format( TEXT("DIO_VoltLevelConfig(P7350_PortAFI) Error = %d"), err); - AfxMessageBox( strTemp ); - return TRUE; - } - /* - * Set Input or Output for DIO Port - */ - err = DIO_PortConfig(m_hCard, P7350_DIO_A, INPUT_PORT); - if( err!=NoError ) - { - strTemp.Format( TEXT("DIO_PortConfig(P7350_DIO_A) Error = %d"), err); - AfxMessageBox( strTemp ); - return TRUE; - } - - err = DIO_PortConfig(m_hCard, P7350_DIO_B, OUTPUT_PORT); - if( err!=NoError ) - { - strTemp.Format( TEXT("DIO_PortConfig(P7350_DIO_B) Error = %d"), err); - AfxMessageBox( strTemp ); - return TRUE; - } - err = DIO_PortConfig(m_hCard, P7350_DIO_C, INPUT_PORT); - if( err!=NoError ) - { - strTemp.Format( TEXT("DIO_PortConfig(P7350_DIO_C) Error = %d"), err); - AfxMessageBox( strTemp ); - return TRUE; - } - err = DIO_PortConfig(m_hCard, P7350_DIO_D, OUTPUT_PORT); - if( err!=NoError ) - { - strTemp.Format( TEXT("DIO_PortConfig(P7350_DIO_D) Error = %d"), err); - AfxMessageBox( strTemp ); - return TRUE; - } - - - - return TRUE; // return TRUE unless you set the focus to a control -} - -void C7350WavDlg::OnSysCommand(UINT nID, LPARAM lParam) -{ - if ((nID & 0xFFF0) == IDM_ABOUTBOX) - { - CAboutDlg dlgAbout; - dlgAbout.DoModal(); - } - else - { - CDialog::OnSysCommand(nID, lParam); - } -} - -// If you add a minimize button to your dialog, you will need the code below -// to draw the icon. For MFC applications using the document/view model, -// this is automatically done for you by the framework. - -void C7350WavDlg::OnPaint() -{ - if (IsIconic()) - { - CPaintDC dc(this); // device context for painting - - SendMessage(WM_ICONERASEBKGND, reinterpret_cast(dc.GetSafeHdc()), 0); - - // Center icon in client rectangle - int cxIcon = GetSystemMetrics(SM_CXICON); - int cyIcon = GetSystemMetrics(SM_CYICON); - CRect rect; - GetClientRect(&rect); - int x = (rect.Width() - cxIcon + 1) / 2; - int y = (rect.Height() - cyIcon + 1) / 2; - - // Draw the icon - dc.DrawIcon(x, y, m_hIcon); - } - else - { - redraw_display_area(); - CDialog::OnPaint(); - } -} - -// The system calls this function to obtain the cursor to display while the user drags -// the minimized window. -HCURSOR C7350WavDlg::OnQueryDragIcon() -{ - return static_cast(m_hIcon); -} - - -void C7350WavDlg::OnDestroy() -{ - U32 count; - - CDialog::OnDestroy(); - - // TODO: Add your message handler code here - if( OnBrush != NULL ) - ::DeleteObject( OnBrush ); - - if( OffBrush != NULL ) - ::DeleteObject( OffBrush ); - - RedPen.DeleteObject(); - GreenPen.DeleteObject(); - - if( m_nTimer != -1 ) - { - KillTimer( m_nTimer ); - m_nTimer = -1; - } - - DI_AsyncClear( m_hCard, &count ); -} - -void C7350WavDlg::OnStart() -{ - // TODO: Add your control notification handler code here - I16 err; - CString strMsg; - int i; - CString strTemp; - - m_OverrunCnt = 0; - - - /* - * Set DI Configurations - */ - err = DI_7350_Config(m_hCard, 16, P7350_FreeRun, P7350_WAIT_NO, P7350_IntSampledCLK); - if( err!=NoError ) - { - strTemp.Format( TEXT("DI_7350_Config() Error = %d"), err); - AfxMessageBox( strTemp ); - return; // TRUE; - } - - /* - * Set DO Configurations - */ - err = DO_7350_Config(m_hCard, 16, P7350_FreeRun, P7350_WAIT_NO /*P7350_WAIT_EXTTRG*/, P7350_IntSampledCLK); - if( err!=NoError ) - { - strTemp.Format( TEXT("DO_7350_Config() Error = %d"), err); - AfxMessageBox( strTemp ); - return; // TRUE; - } - - /* - * Set DO Trigger and HandShake Configurations - */ - err = DO_7350_TrigHSConfig( - m_hCard, - 0/*TrigConfig*/, - 0/*DI_IPOL*/, - 0/*DI_REQSrc*/, - 0/*DI_ACKSrc*/, - 0/*DI_TRIGSrc*/, - P7350_AFI_0/*StartTrigSrc*/, - 0/*PauseTrigSrc*/, - 0/*SoftTrigOutSrc*/, - 0/*SoftTrigOutLength*/, - 1/*TrigCount*/ //Infinite Re-Trigger - ); - - for (i=0; iEnableWindow( FALSE ); - GetDlgItem( IDC_BT_STOP )->EnableWindow( TRUE ); - -} - -void C7350WavDlg::OnStop() -{ - // TODO: Add your control notification handler code here - U32 count; - - if( m_nTimer != -1 ) - { - KillTimer( m_nTimer ); - m_nTimer = -1; - } - - DI_AsyncClear(m_hCard, &count); - DO_AsyncClear(m_hCard, &count); - - - GetDlgItem( IDC_BT_START )->EnableWindow( TRUE ); - GetDlgItem( IDC_BT_STOP )->EnableWindow( FALSE); -} - -void C7350WavDlg::OnTimer(UINT_PTR nIDEvent) -{ - // TODO: Add your message handler code here and/or call default - I16 err; - CString strTemp; - BOOLEAN NextReady = FALSE; - U16 ReadyBufferId = 0; - U16 PreDIReadyBufferId = 0; - - U32 BufRdyCnt = 0; - U16 bufcnt = 0; - U16 overrunFlag; - - err = DI_AsyncMultiBufferNextReady(m_hCard, &NextReady, &ReadyBufferId); - if( err!=NoError ) - { - strTemp.Format( TEXT("DI_AsyncMultiBufferNextReady() Error = %d"), err); - AfxMessageBox( strTemp ); - return; - } - - if(NextReady) - { - /* - * If the NextReady flag is asserted, the data of ready buffers - * had been read completely. You can process the data of ready - * buffers if necessary. - * - * Process the data of the ready buffers in here - */ - - /* - * Tell driver that the ready buffers are handled completely - */ - -// redraw_display_area(); - display_buffer_data(gDIBufferAddr[ReadyBufferId], 1); - - if(ReadyBufferId // MFC core and standard components -#include // MFC extensions - - -#include // MFC Automation classes - - - -#ifndef _AFX_NO_OLE_SUPPORT -#include // MFC support for Internet Explorer 4 Common Controls -#endif -#ifndef _AFX_NO_AFXCMN_SUPPORT -#include // MFC support for Windows Common Controls -#endif // _AFX_NO_AFXCMN_SUPPORT - -#include // MFC support for ribbons and control bars - - - - - - - - - -#ifdef _UNICODE -#if defined _M_IX86 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='x86' publicKeyToken='6595b64144ccf1df' language='*'\"") -#elif defined _M_IA64 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='ia64' publicKeyToken='6595b64144ccf1df' language='*'\"") -#elif defined _M_X64 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='amd64' publicKeyToken='6595b64144ccf1df' language='*'\"") -#else -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='*' publicKeyToken='6595b64144ccf1df' language='*'\"") -#endif -#endif - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350DO_ExtTrig/targetver.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350DO_ExtTrig/targetver.h deleted file mode 100644 index 11730d5..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350DO_ExtTrig/targetver.h +++ /dev/null @@ -1,26 +0,0 @@ - -#pragma once - -// The following macros define the minimum required platform. The minimum required platform -// is the earliest version of Windows, Internet Explorer etc. that has the necessary features to run -// your application. The macros work by enabling all features available on platform versions up to and -// including the version specified. - -// Modify the following defines if you have to target a platform prior to the ones specified below. -// Refer to MSDN for the latest info on corresponding values for different platforms. -#ifndef WINVER // Specifies that the minimum required platform is Windows Vista. -#define WINVER 0x0600 // Change this to the appropriate value to target other versions of Windows. -#endif - -#ifndef _WIN32_WINNT // Specifies that the minimum required platform is Windows Vista. -#define _WIN32_WINNT 0x0600 // Change this to the appropriate value to target other versions of Windows. -#endif - -#ifndef _WIN32_WINDOWS // Specifies that the minimum required platform is Windows 98. -#define _WIN32_WINDOWS 0x0410 // Change this to the appropriate value to target Windows Me or later. -#endif - -#ifndef _WIN32_IE // Specifies that the minimum required platform is Internet Explorer 7.0. -#define _WIN32_IE 0x0700 // Change this to the appropriate value to target other versions of IE. -#endif - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350_COS/7230int.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350_COS/7230int.suo deleted file mode 100644 index cc096dc..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350_COS/7230int.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350_COS/7256int.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350_COS/7256int.suo deleted file mode 100644 index 494d925..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350_COS/7256int.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350_COS/7258int.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350_COS/7258int.suo deleted file mode 100644 index ea9e48d..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350_COS/7258int.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350_COS/7350Int.rc b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350_COS/7350Int.rc deleted file mode 100644 index 8d6e086..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350_COS/7350Int.rc +++ /dev/null @@ -1,245 +0,0 @@ -// Microsoft Visual C++ generated resource script. -// -#include "resource.h" - -#define APSTUDIO_READONLY_SYMBOLS -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 2 resource. -// -#ifndef APSTUDIO_INVOKED -#include "targetver.h" -#endif -#include "afxres.h" - -///////////////////////////////////////////////////////////////////////////// -#undef APSTUDIO_READONLY_SYMBOLS - -///////////////////////////////////////////////////////////////////////////// -// Chinese (Taiwan) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_CHT) -#ifdef _WIN32 -LANGUAGE LANG_CHINESE, SUBLANG_CHINESE_TRADITIONAL -#pragma code_page(950) -#endif //_WIN32 - -#ifdef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// TEXTINCLUDE -// - -1 TEXTINCLUDE -BEGIN - "resource.h\0" -END - -2 TEXTINCLUDE -BEGIN - "#ifndef APSTUDIO_INVOKED\r\n" - "#include ""targetver.h""\r\n" - "#endif\r\n" - "#include ""afxres.h""\r\n" - "\0" -END - -3 TEXTINCLUDE -BEGIN - "#define _AFX_NO_SPLITTER_RESOURCES\r\n" - "#define _AFX_NO_OLE_RESOURCES\r\n" - "#define _AFX_NO_TRACKER_RESOURCES\r\n" - "#define _AFX_NO_PROPERTY_RESOURCES\r\n" - "\r\n" - "#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)\r\n" - "LANGUAGE 9, 1\r\n" - "#pragma code_page(1252)\r\n" - "#include ""res\\My7350Int.rc2"" // non-Microsoft Visual C++ edited resources\r\n" - "#include ""afxres.rc"" // Standard components\r\n" - "#endif\r\n" - "\0" -END - -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// Icon -// - -// Icon with lowest ID value placed first to ensure application icon -// remains consistent on all systems. -IDR_MAINFRAME ICON "res\\7350Int.ico" -#endif // Chinese (Taiwan) resources -///////////////////////////////////////////////////////////////////////////// - - -///////////////////////////////////////////////////////////////////////////// -// English (U.S.) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -#ifdef _WIN32 -LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US -#pragma code_page(1252) -#endif //_WIN32 - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog -// - -IDD_ABOUTBOX DIALOGEX 0, 0, 170, 62 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "About 7350Int" -FONT 8, "MS Shell Dlg", 0, 0, 0x1 -BEGIN - ICON IDR_MAINFRAME,IDC_STATIC,14,14,21,20 - LTEXT "7350Int, Version 1.0",IDC_STATIC,42,14,114,8,SS_NOPREFIX - LTEXT "Copyright (C) 2010",IDC_STATIC,42,26,114,8 - DEFPUSHBUTTON "OK",IDOK,113,41,50,14,WS_GROUP -END - -IDD_MY7350INT_DIALOG DIALOGEX 0, 0, 195, 136 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU -EXSTYLE WS_EX_APPWINDOW -CAPTION "PCI-7350 Interrupt Sample" -FONT 8, "MS Shell Dlg", 0, 0, 0x1 -BEGIN - LTEXT "This sample performs change of state functionality. DIO Port A is configured as a DO port while Port B is configured as a DI Port.",IDC_STATIC,8,4,181,24 - LTEXT "INT Count =",IDC_STATIC_05,54,95,85,13 - PUSHBUTTON "Output",IDC_BT_OUTPUT,55,112,84,18 - LTEXT "Read Data =",IDC_STATIC_06,53,77,121,13 - LTEXT "Signal will be asserted and a 800 ns pulse will be generated to AFI0 while the DI state is changed.",IDC_STATIC,8,34,181,24 - LTEXT "Latched Data =",IDC_STATIC_07,53,60,125,13 -END - -IDD_CARDID_DIALOG DIALOGEX 0, 0, 163, 88 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "Card ID" -FONT 8, "MS Shell Dlg", 400, 0, 0x1 -BEGIN - COMBOBOX IDC_COMBO_CARDID,73,17,71,126,CBS_DROPDOWN | WS_VSCROLL | WS_TABSTOP - LTEXT "Card Number",IDC_STATIC_01,19,18,46,12 - PUSHBUTTON "OK",IDOK,20,50,58,19 - PUSHBUTTON "CANCEL",IDCANCEL,84,50,58,19 -END - - -///////////////////////////////////////////////////////////////////////////// -// -// Version -// - -VS_VERSION_INFO VERSIONINFO - FILEVERSION 1,0,0,1 - PRODUCTVERSION 1,0,0,1 - FILEFLAGSMASK 0x3fL -#ifdef _DEBUG - FILEFLAGS 0x1L -#else - FILEFLAGS 0x0L -#endif - FILEOS 0x4L - FILETYPE 0x1L - FILESUBTYPE 0x0L -BEGIN - BLOCK "StringFileInfo" - BEGIN - BLOCK "040904e4" - BEGIN - VALUE "CompanyName", "TODO: " - VALUE "FileDescription", "TODO: " - VALUE "FileVersion", "1.0.0.1" - VALUE "InternalName", "7350Int.exe" - VALUE "LegalCopyright", "TODO: (c) . All rights reserved." - VALUE "OriginalFilename", "7350Int.exe" - VALUE "ProductName", "TODO: " - VALUE "ProductVersion", "1.0.0.1" - END - END - BLOCK "VarFileInfo" - BEGIN - VALUE "Translation", 0x409, 1252 - END -END - - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog Info -// - -IDD_CARDID_DIALOG DLGINIT -BEGIN - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0030, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0031, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0032, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0033, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0034, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0035, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0036, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0037, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0038, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0039, - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3031, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3131, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3231, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3331, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3431, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3531, "\000" - 0 -END - - -///////////////////////////////////////////////////////////////////////////// -// -// String Table -// - -STRINGTABLE -BEGIN - IDS_ABOUTBOX "&About 7350Int..." -END - -#endif // English (U.S.) resources -///////////////////////////////////////////////////////////////////////////// - - - -#ifndef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 3 resource. -// -#define _AFX_NO_SPLITTER_RESOURCES -#define _AFX_NO_OLE_RESOURCES -#define _AFX_NO_TRACKER_RESOURCES -#define _AFX_NO_PROPERTY_RESOURCES - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -LANGUAGE 9, 1 -#pragma code_page(1252) -#include "res\My7350Int.rc2" // non-Microsoft Visual C++ edited resources -#include "afxres.rc" // Standard components -#endif - -///////////////////////////////////////////////////////////////////////////// -#endif // not APSTUDIO_INVOKED - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350_COS/7350int.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350_COS/7350int.cpp deleted file mode 100644 index 76aaa2c..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350_COS/7350int.cpp +++ /dev/null @@ -1,110 +0,0 @@ - -// 7350Int.cpp : Defines the class behaviors for the application. -// - -#include "stdafx.h" -#include "7350Int.h" -#include "7350IntDlg.h" -#include "CardIDDlg.h" - -#ifdef _DEBUG -#define new DEBUG_NEW -#endif - - -// C7350IntApp - -BEGIN_MESSAGE_MAP(C7350IntApp, CWinAppEx) - ON_COMMAND(ID_HELP, &CWinApp::OnHelp) -END_MESSAGE_MAP() - - -// C7350IntApp construction - -C7350IntApp::C7350IntApp() -{ - // TODO: add construction code here, - // Place all significant initialization in InitInstance -} - - -// The one and only C7350IntApp object - -C7350IntApp theApp; - - -// C7350IntApp initialization - -BOOL C7350IntApp::InitInstance() -{ - int nCardID = 0; - I16 hCard; - CString strTemp; - INT_PTR nResponse; - - // InitCommonControlsEx() is required on Windows XP if an application - // manifest specifies use of ComCtl32.dll version 6 or later to enable - // visual styles. Otherwise, any window creation will fail. - INITCOMMONCONTROLSEX InitCtrls; - InitCtrls.dwSize = sizeof(InitCtrls); - // Set this to include all the common control classes you want to use - // in your application. - InitCtrls.dwICC = ICC_WIN95_CLASSES; - InitCommonControlsEx(&InitCtrls); - - CWinAppEx::InitInstance(); - - AfxEnableControlContainer(); - - // Standard initialization - // If you are not using these features and wish to reduce the size - // of your final executable, you should remove from the following - // the specific initialization routines you do not need - // Change the registry key under which our settings are stored - // TODO: You should modify this string to be something appropriate - // such as the name of your company or organization - SetRegistryKey(_T("Local AppWizard-Generated Applications")); - - CCardIDDlg CardDlg( nCardID ); - - nResponse = CardDlg.DoModal(); - if (nResponse == IDOK) - { - nCardID = CardDlg.GetCardID(); - - if ((hCard=Register_Card(PCI_7350, nCardID)) < 0) - { - strTemp.Format( TEXT("Register_Card Error = %d"), hCard); - AfxMessageBox( strTemp ); - } - else - { - C7350IntDlg dlg(hCard); - m_pMainWnd = &dlg; - nResponse = dlg.DoModal(); - if (nResponse == IDOK) - { - // TODO: Place code here to handle when the dialog is - // dismissed with OK - } - else if (nResponse == IDCANCEL) - { - // TODO: Place code here to handle when the dialog is - // dismissed with Cancel - } - - if (hCard >= 0) Release_Card(hCard); - } - - } - else if (nResponse == IDCANCEL) - { - // TODO: Place code here to handle when the dialog is - // dismissed with Cancel - } - - - // Since the dialog has been closed, return FALSE so that we exit the - // application, rather than start the application's message pump. - return FALSE; -} diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350_COS/7350int.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350_COS/7350int.h deleted file mode 100644 index a422e1f..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350_COS/7350int.h +++ /dev/null @@ -1,32 +0,0 @@ - -// 7350Int.h : main header file for the PROJECT_NAME application -// - -#pragma once - -#ifndef __AFXWIN_H__ - #error "include 'stdafx.h' before including this file for PCH" -#endif - -#include "resource.h" // main symbols - - -// C7350IntApp: -// See 7350Int.cpp for the implementation of this class -// - -class C7350IntApp : public CWinAppEx -{ -public: - C7350IntApp(); - -// Overrides - public: - virtual BOOL InitInstance(); - -// Implementation - - DECLARE_MESSAGE_MAP() -}; - -extern C7350IntApp theApp; \ No newline at end of file diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350_COS/7350int.sln b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350_COS/7350int.sln deleted file mode 100644 index 8e5ebca..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350_COS/7350int.sln +++ /dev/null @@ -1,20 +0,0 @@ - -Microsoft Visual Studio Solution File, Format Version 10.00 -# Visual Studio 2008 -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "7350Int", "7350Int.vcproj", "{7D5D9EC5-ED97-47EE-B6F4-ACCD71069808}" -EndProject -Global - GlobalSection(SolutionConfigurationPlatforms) = preSolution - Debug|x64 = Debug|x64 - Release|x64 = Release|x64 - EndGlobalSection - GlobalSection(ProjectConfigurationPlatforms) = postSolution - {7D5D9EC5-ED97-47EE-B6F4-ACCD71069808}.Debug|x64.ActiveCfg = Debug|x64 - {7D5D9EC5-ED97-47EE-B6F4-ACCD71069808}.Debug|x64.Build.0 = Debug|x64 - {7D5D9EC5-ED97-47EE-B6F4-ACCD71069808}.Release|x64.ActiveCfg = Release|x64 - {7D5D9EC5-ED97-47EE-B6F4-ACCD71069808}.Release|x64.Build.0 = Release|x64 - EndGlobalSection - GlobalSection(SolutionProperties) = preSolution - HideSolutionNode = FALSE - EndGlobalSection -EndGlobal diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350_COS/7350int.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350_COS/7350int.suo deleted file mode 100644 index e87adfc..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350_COS/7350int.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350_COS/7350int.vcproj b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350_COS/7350int.vcproj deleted file mode 100644 index 390bc1f..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350_COS/7350int.vcproj +++ /dev/null @@ -1,286 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350_COS/7350intDlg.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350_COS/7350intDlg.cpp deleted file mode 100644 index 4be85d4..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350_COS/7350intDlg.cpp +++ /dev/null @@ -1,315 +0,0 @@ - -// 7350IntDlg.cpp : implementation file -// - -#include "stdafx.h" -#include "7350Int.h" -#include "7350IntDlg.h" - -#ifdef _DEBUG -#define new DEBUG_NEW -#endif - -int gIntCount; -HANDLE ghIntEvent[2]; - -BOOLEAN gbExitThread; -U32 gCOSEventOutLen = 100; //100 system clock - 100 * 8 ns -U32 gCOSLData = 0; -I16 g_hCard = -1; - - - -DWORD WINAPI IntThread( LPVOID lpParam ) -{ - - while ( gbExitThread == FALSE ) - { - if ( WaitForSingleObject(ghIntEvent[0], INFINITE) == WAIT_OBJECT_0 ) - { - gIntCount++; - DIO_GetCOSLatchData32(g_hCard, 0, &gCOSLData); -// ResetEvent(ghIntEvent[0]); - } - } - - return (DWORD) 0; -} - -// CAboutDlg dialog used for App About - -class CAboutDlg : public CDialog -{ -public: - CAboutDlg(); - -// Dialog Data - enum { IDD = IDD_ABOUTBOX }; - - protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - -// Implementation -protected: - DECLARE_MESSAGE_MAP() -}; - -CAboutDlg::CAboutDlg() : CDialog(CAboutDlg::IDD) -{ -} - -void CAboutDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); -} - -BEGIN_MESSAGE_MAP(CAboutDlg, CDialog) -END_MESSAGE_MAP() - - -// C7350IntDlg dialog - - - - -C7350IntDlg::C7350IntDlg(I16 hCard, CWnd* pParent /*=NULL*/) - : CDialog(C7350IntDlg::IDD, pParent) -{ - m_hIcon = AfxGetApp()->LoadIcon(IDR_MAINFRAME); - - g_hCard = hCard; - m_hThread = NULL; - m_nTimer = -1; - m_dwOutVal = 0x00000000; -} - -void C7350IntDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); -} - -BEGIN_MESSAGE_MAP(C7350IntDlg, CDialog) - ON_WM_SYSCOMMAND() - ON_WM_PAINT() - ON_WM_QUERYDRAGICON() - //}}AFX_MSG_MAP - ON_WM_DESTROY() - ON_WM_TIMER() - ON_BN_CLICKED(IDC_BT_OUTPUT, &C7350IntDlg::OnOutput) -END_MESSAGE_MAP() - - -// C7350IntDlg message handlers - -BOOL C7350IntDlg::OnInitDialog() -{ - CString strTemp; - - CDialog::OnInitDialog(); - - // Add "About..." menu item to system menu. - - // IDM_ABOUTBOX must be in the system command range. - ASSERT((IDM_ABOUTBOX & 0xFFF0) == IDM_ABOUTBOX); - ASSERT(IDM_ABOUTBOX < 0xF000); - - CMenu* pSysMenu = GetSystemMenu(FALSE); - if (pSysMenu != NULL) - { - BOOL bNameValid; - CString strAboutMenu; - bNameValid = strAboutMenu.LoadString(IDS_ABOUTBOX); - ASSERT(bNameValid); - if (!strAboutMenu.IsEmpty()) - { - pSysMenu->AppendMenu(MF_SEPARATOR); - pSysMenu->AppendMenu(MF_STRING, IDM_ABOUTBOX, strAboutMenu); - } - } - - // Set the icon for this dialog. The framework does this automatically - // when the application's main window is not a dialog - SetIcon(m_hIcon, TRUE); // Set big icon - SetIcon(m_hIcon, FALSE); // Set small icon - - // TODO: Add extra initialization here - I16 err; - - err = DIO_VoltLevelConfig(g_hCard, P7350_PortDIO, VoltLevel_3R3); - if( err!=NoError ) - { - strTemp.Format( TEXT("DIO_VoltLevelConfig(P7350_PortDIO) Error = %d"), err); - AfxMessageBox( strTemp ); - return TRUE; - } - - err = DIO_VoltLevelConfig(g_hCard, P7350_PortAFI, VoltLevel_3R3); - if(err!=NoError) - { - strTemp.Format( TEXT("DIO_VoltLevelConfig(P7350_PortAFI) Error = %d"), err); - AfxMessageBox( strTemp ); - return TRUE; - } - - /*Configure 7350 DIO Port*/ - err = DIO_PortConfig(g_hCard, P7350_DIO_A, OUTPUT_PORT); - if( err!=NoError ) - { - strTemp.Format( TEXT("DIO_PortConfig(P7350_DIO_A) Error = %d"), err); - AfxMessageBox( strTemp ); - return TRUE; - } - - err = DIO_PortConfig(g_hCard, P7350_DIO_B, INPUT_PORT); - if( err!=NoError ) - { - strTemp.Format( TEXT("DIO_PortConfig(P7350_DIO_B) Error = %d"), err); - AfxMessageBox( strTemp ); - return TRUE; - } - - DO_WritePort(g_hCard, P7350_DIO_A, 0); - Sleep(1); - - /* - * Setup COS for Port B - */ - err = DIO_SetCOSInterrupt32(g_hCard, 0, 0xff00, &(ghIntEvent[0]), 0); - if( err!=NoError ) - { - strTemp.Format( TEXT("DIO_SetCOSInterrupt32() Error = %d"), err); - AfxMessageBox( strTemp ); - return TRUE; - } - - /* - * Set COS event out to AFI port - */ - err = DIO_7350_AFIConfig(g_hCard, P7350_AFI_0, 1, P7350_AFI_COSTrigOut, gCOSEventOutLen); - if( err!=NoError ) - { - strTemp.Format( TEXT("DIO_7350_AFIConfig() Error = %d"), err); - AfxMessageBox( strTemp ); - return TRUE; - } - - gbExitThread = FALSE; - m_hThread = CreateThread( NULL, // default security attributes - 0, // use default stack size - IntThread, // thread function name - NULL, // argument to thread function - 0, // use default creation flags - NULL); // returns the thread identifier - - m_nTimer = SetTimer( 1, 50, NULL ); - - return TRUE; // return TRUE unless you set the focus to a control -} - -void C7350IntDlg::OnSysCommand(UINT nID, LPARAM lParam) -{ - if ((nID & 0xFFF0) == IDM_ABOUTBOX) - { - CAboutDlg dlgAbout; - dlgAbout.DoModal(); - } - else - { - CDialog::OnSysCommand(nID, lParam); - } -} - -// If you add a minimize button to your dialog, you will need the code below -// to draw the icon. For MFC applications using the document/view model, -// this is automatically done for you by the framework. - -void C7350IntDlg::OnPaint() -{ - if (IsIconic()) - { - CPaintDC dc(this); // device context for painting - - SendMessage(WM_ICONERASEBKGND, reinterpret_cast(dc.GetSafeHdc()), 0); - - // Center icon in client rectangle - int cxIcon = GetSystemMetrics(SM_CXICON); - int cyIcon = GetSystemMetrics(SM_CYICON); - CRect rect; - GetClientRect(&rect); - int x = (rect.Width() - cxIcon + 1) / 2; - int y = (rect.Height() - cyIcon + 1) / 2; - - // Draw the icon - dc.DrawIcon(x, y, m_hIcon); - } - else - { - CDialog::OnPaint(); - } -} - -// The system calls this function to obtain the cursor to display while the user drags -// the minimized window. -HCURSOR C7350IntDlg::OnQueryDragIcon() -{ - return static_cast(m_hIcon); -} - - -void C7350IntDlg::OnDestroy() -{ - CDialog::OnDestroy(); - - // TODO: Add your message handler code here - DIO_SetCOSInterrupt32(g_hCard, 0, 0, NULL, 0); - DIO_7350_AFIConfig(g_hCard, P7350_AFI_0, 0, 0, 0); - - if( m_nTimer != -1 ) - { - KillTimer( m_nTimer ); - m_nTimer = -1; - } - - - if( m_hThread != NULL ) - { - gbExitThread = TRUE; // termnate the IntThread - SetEvent( ghIntEvent[0] ); - - if (WaitForSingleObject(m_hThread, 5000) == WAIT_OBJECT_0) - { - CloseHandle( m_hThread ); - m_hThread = NULL; - } - } -} - -void C7350IntDlg::OnTimer(UINT_PTR nIDEvent) -{ - // TODO: Add your message handler code here and/or call default - CString strTemp; - U32 DIRead; - - strTemp.Format( TEXT("INT Count = %d"), gIntCount ); - SetDlgItemText( IDC_STATIC_05, strTemp ); - - DI_ReadPort(g_hCard, P7350_DIO_B, &DIRead); - strTemp.Format( TEXT("INT Count = 0x%08X"), DIRead ); - SetDlgItemText( IDC_STATIC_06, strTemp ); - - strTemp.Format( TEXT("Latched Data = 0x%08X"), gCOSLData ); - SetDlgItemText( IDC_STATIC_07, strTemp ); - - - - CDialog::OnTimer(nIDEvent); -} - -void C7350IntDlg::OnOutput() -{ - // TODO: Add your control notification handler code here - m_dwOutVal ++; - m_dwOutVal = (m_dwOutVal % 256); - - DO_WritePort(g_hCard, P7350_DIO_A, m_dwOutVal); -} diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350_COS/7350intDlg.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350_COS/7350intDlg.h deleted file mode 100644 index a5f550e..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350_COS/7350intDlg.h +++ /dev/null @@ -1,40 +0,0 @@ - -// 7350IntDlg.h : header file -// -#include "Dask64.h" - -#pragma once - - -// C7350IntDlg dialog -class C7350IntDlg : public CDialog -{ -// Construction -public: - C7350IntDlg(I16 hCard, CWnd* pParent = NULL); // standard constructor - -// Dialog Data - enum { IDD = IDD_MY7350INT_DIALOG }; - - protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - - -// Implementation -protected: - HICON m_hIcon; - UINT_PTR m_nTimer; - HANDLE m_hThread; - U32 m_dwOutVal; - - // Generated message map functions - virtual BOOL OnInitDialog(); - afx_msg void OnSysCommand(UINT nID, LPARAM lParam); - afx_msg void OnPaint(); - afx_msg HCURSOR OnQueryDragIcon(); - DECLARE_MESSAGE_MAP() -public: - afx_msg void OnDestroy(); - afx_msg void OnTimer(UINT_PTR nIDEvent); - afx_msg void OnOutput(); -}; diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350_COS/7432int.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350_COS/7432int.suo deleted file mode 100644 index 8657213..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350_COS/7432int.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350_COS/CardIDDlg.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350_COS/CardIDDlg.cpp deleted file mode 100644 index 3a55af6..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350_COS/CardIDDlg.cpp +++ /dev/null @@ -1,67 +0,0 @@ -// CardIDDlg.cpp : implementation file -// - -#include "stdafx.h" -#include "7350Int.h" -#include "CardIDDlg.h" - - -// CCardIDDlg dialog - -IMPLEMENT_DYNAMIC(CCardIDDlg, CDialog) - -CCardIDDlg::CCardIDDlg(int nCardIdx, CWnd* pParent /*=NULL*/) - : CDialog(CCardIDDlg::IDD, pParent) -{ - m_nCardIdx = nCardIdx; -} - -CCardIDDlg::~CCardIDDlg() -{ -} - -void CCardIDDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); - DDX_Control(pDX, IDC_COMBO_CARDID, m_cbCardID); -} - - -BEGIN_MESSAGE_MAP(CCardIDDlg, CDialog) -// ON_CBN_SELCHANGE(IDC_COMBO_CARDID, &CCardIDDlg::OnCbnSelchangeComboCardid) -ON_BN_CLICKED(IDOK, &CCardIDDlg::OnBnClickedOk) -//ON_WM_CTLCOLOR() -END_MESSAGE_MAP() - - -// CCardIDDlg message handlers - - -void CCardIDDlg::OnBnClickedOk() -{ - // TODO: Add your control notification handler code here - -// UpdateData(TRUE); - m_nCardIdx = m_cbCardID.GetCurSel(); - - OnOK(); -} - -BOOL CCardIDDlg::OnInitDialog() -{ - CDialog::OnInitDialog(); - - // TODO: Add extra initialization here - m_cbCardID.SetCurSel( m_nCardIdx ); - - return TRUE; // return TRUE unless you set the focus to a control - // EXCEPTION: OCX Property Pages should return FALSE -} - -// the function to get the selected CardID -int CCardIDDlg::GetCardID(void) -{ - return m_nCardIdx; -} - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350_COS/CardIDDlg.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350_COS/CardIDDlg.h deleted file mode 100644 index 54628ea..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350_COS/CardIDDlg.h +++ /dev/null @@ -1,33 +0,0 @@ -#pragma once -#include "afxwin.h" - - -// CCardIDDlg dialog - -class CCardIDDlg : public CDialog -{ - DECLARE_DYNAMIC(CCardIDDlg) - -public: - CCardIDDlg(int nCardIdx, CWnd* pParent = NULL); // standard constructor - virtual ~CCardIDDlg(); - -// Dialog Data - enum { IDD = IDD_CARDID_DIALOG }; - -protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - - DECLARE_MESSAGE_MAP() -public: -// afx_msg void OnCbnSelchangeComboCardid(); - afx_msg void OnBnClickedOk(); - // the setting of CardID ComboBox - int m_nCardIdx; - virtual BOOL OnInitDialog(); - // the control of CardID ComboBox - CComboBox m_cbCardID; - // the function to get the selected CardID - int GetCardID(void); -// afx_msg HBRUSH OnCtlColor(CDC* pDC, CWnd* pWnd, UINT nCtlColor); -}; diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350_COS/ReadMe.txt b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350_COS/ReadMe.txt deleted file mode 100644 index f601cc4..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350_COS/ReadMe.txt +++ /dev/null @@ -1,93 +0,0 @@ -================================================================================ - MICROSOFT FOUNDATION CLASS LIBRARY : 7350Int Project Overview -=============================================================================== - -The application wizard has created this 7350Int application for -you. This application not only demonstrates the basics of using the Microsoft -Foundation Classes but is also a starting point for writing your application. - -This file contains a summary of what you will find in each of the files that -make up your 7350Int application. - -7350Int.vcproj - This is the main project file for VC++ projects generated using an application wizard. - It contains information about the version of Visual C++ that generated the file, and - information about the platforms, configurations, and project features selected with the - application wizard. - -7350Int.h - This is the main header file for the application. It includes other - project specific headers (including Resource.h) and declares the - C7350IntApp application class. - -7350Int.cpp - This is the main application source file that contains the application - class C7350IntApp. - -7350Int.rc - This is a listing of all of the Microsoft Windows resources that the - program uses. It includes the icons, bitmaps, and cursors that are stored - in the RES subdirectory. This file can be directly edited in Microsoft - Visual C++. Your project resources are in 1033. - -res\7350Int.ico - This is an icon file, which is used as the application's icon. This - icon is included by the main resource file 7350Int.rc. - -res\My7350Int.rc2 - This file contains resources that are not edited by Microsoft - Visual C++. You should place all resources not editable by - the resource editor in this file. - - -///////////////////////////////////////////////////////////////////////////// - -The application wizard creates one dialog class: - -7350IntDlg.h, 7350IntDlg.cpp - the dialog - These files contain your C7350IntDlg class. This class defines - the behavior of your application's main dialog. The dialog's template is - in 7350Int.rc, which can be edited in Microsoft Visual C++. - - -///////////////////////////////////////////////////////////////////////////// - -Other Features: - -ActiveX Controls - The application includes support to use ActiveX controls. - -///////////////////////////////////////////////////////////////////////////// - -Other standard files: - -StdAfx.h, StdAfx.cpp - These files are used to build a precompiled header (PCH) file - named 7350Int.pch and a precompiled types file named StdAfx.obj. - -Resource.h - This is the standard header file, which defines new resource IDs. - Microsoft Visual C++ reads and updates this file. - -7350Int.manifest - Application manifest files are used by Windows XP to describe an applications - dependency on specific versions of Side-by-Side assemblies. The loader uses this - information to load the appropriate assembly from the assembly cache or private - from the application. The Application manifest maybe included for redistribution - as an external .manifest file that is installed in the same folder as the application - executable or it may be included in the executable in the form of a resource. -///////////////////////////////////////////////////////////////////////////// - -Other notes: - -The application wizard uses "TODO:" to indicate parts of the source code you -should add to or customize. - -If your application uses MFC in a shared DLL, you will need -to redistribute the MFC DLLs. If your application is in a language -other than the operating system's locale, you will also have to -redistribute the corresponding localized resources MFC90XXX.DLL. -For more information on both of these topics, please see the section on -redistributing Visual C++ applications in MSDN documentation. - -///////////////////////////////////////////////////////////////////////////// diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350_COS/res/7350int.ico b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350_COS/res/7350int.ico deleted file mode 100644 index d56fbcd..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350_COS/res/7350int.ico and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350_COS/res/My7350int.rc2 b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350_COS/res/My7350int.rc2 deleted file mode 100644 index 7bd3593..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350_COS/res/My7350int.rc2 +++ /dev/null @@ -1,13 +0,0 @@ -// -// My7256int.RC2 - resources Microsoft Visual C++ does not edit directly -// - -#ifdef APSTUDIO_INVOKED -#error this file is not editable by Microsoft Visual C++ -#endif //APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// Add manually edited resources here... - -///////////////////////////////////////////////////////////////////////////// diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350_COS/resource.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350_COS/resource.h deleted file mode 100644 index b667083..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350_COS/resource.h +++ /dev/null @@ -1,28 +0,0 @@ -//{{NO_DEPENDENCIES}} -// Microsoft Visual C++ generated include file. -// Used by 7350Int.rc -// -#define IDM_ABOUTBOX 0x0010 -#define IDD_ABOUTBOX 100 -#define IDS_ABOUTBOX 101 -#define IDD_MY7350INT_DIALOG 102 -#define IDR_MAINFRAME 128 -#define IDD_CARDID_DIALOG 129 -#define IDC_COMBO_CARDID 1000 -#define IDC_BUTTON1 1000 -#define IDC_BT_OUTPUT 1000 -#define IDC_STATIC_05 1007 -#define IDC_STATIC_06 1008 -#define IDC_STATIC_07 1009 -#define IDC_STATIC_01 1014 - -// Next default values for new objects -// -#ifdef APSTUDIO_INVOKED -#ifndef APSTUDIO_READONLY_SYMBOLS -#define _APS_NEXT_RESOURCE_VALUE 131 -#define _APS_NEXT_COMMAND_VALUE 32771 -#define _APS_NEXT_CONTROL_VALUE 1001 -#define _APS_NEXT_SYMED_VALUE 101 -#endif -#endif diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350_COS/stdafx.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350_COS/stdafx.cpp deleted file mode 100644 index bfa88a1..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350_COS/stdafx.cpp +++ /dev/null @@ -1,8 +0,0 @@ - -// stdafx.cpp : source file that includes just the standard includes -// 7350Int.pch will be the pre-compiled header -// stdafx.obj will contain the pre-compiled type information - -#include "stdafx.h" - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350_COS/stdafx.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350_COS/stdafx.h deleted file mode 100644 index 12123e2..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350_COS/stdafx.h +++ /dev/null @@ -1,60 +0,0 @@ - -// stdafx.h : include file for standard system include files, -// or project specific include files that are used frequently, -// but are changed infrequently - -#pragma once - -#ifndef _SECURE_ATL -#define _SECURE_ATL 1 -#endif - -#ifndef VC_EXTRALEAN -#define VC_EXTRALEAN // Exclude rarely-used stuff from Windows headers -#endif - -#include "targetver.h" - -#define _ATL_CSTRING_EXPLICIT_CONSTRUCTORS // some CString constructors will be explicit - -// turns off MFC's hiding of some common and often safely ignored warning messages -#define _AFX_ALL_WARNINGS - -#include // MFC core and standard components -#include // MFC extensions - - -#include // MFC Automation classes - - - -#ifndef _AFX_NO_OLE_SUPPORT -#include // MFC support for Internet Explorer 4 Common Controls -#endif -#ifndef _AFX_NO_AFXCMN_SUPPORT -#include // MFC support for Windows Common Controls -#endif // _AFX_NO_AFXCMN_SUPPORT - -#include // MFC support for ribbons and control bars - - - - - - - - - -#ifdef _UNICODE -#if defined _M_IX86 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='x86' publicKeyToken='6595b64144ccf1df' language='*'\"") -#elif defined _M_IA64 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='ia64' publicKeyToken='6595b64144ccf1df' language='*'\"") -#elif defined _M_X64 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='amd64' publicKeyToken='6595b64144ccf1df' language='*'\"") -#else -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='*' publicKeyToken='6595b64144ccf1df' language='*'\"") -#endif -#endif - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350_COS/targetver.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350_COS/targetver.h deleted file mode 100644 index 11730d5..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350_COS/targetver.h +++ /dev/null @@ -1,26 +0,0 @@ - -#pragma once - -// The following macros define the minimum required platform. The minimum required platform -// is the earliest version of Windows, Internet Explorer etc. that has the necessary features to run -// your application. The macros work by enabling all features available on platform versions up to and -// including the version specified. - -// Modify the following defines if you have to target a platform prior to the ones specified below. -// Refer to MSDN for the latest info on corresponding values for different platforms. -#ifndef WINVER // Specifies that the minimum required platform is Windows Vista. -#define WINVER 0x0600 // Change this to the appropriate value to target other versions of Windows. -#endif - -#ifndef _WIN32_WINNT // Specifies that the minimum required platform is Windows Vista. -#define _WIN32_WINNT 0x0600 // Change this to the appropriate value to target other versions of Windows. -#endif - -#ifndef _WIN32_WINDOWS // Specifies that the minimum required platform is Windows 98. -#define _WIN32_WINDOWS 0x0410 // Change this to the appropriate value to target Windows Me or later. -#endif - -#ifndef _WIN32_IE // Specifies that the minimum required platform is Internet Explorer 7.0. -#define _WIN32_IE 0x0700 // Change this to the appropriate value to target other versions of IE. -#endif - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350_I2C/7230int.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350_I2C/7230int.suo deleted file mode 100644 index cc096dc..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350_I2C/7230int.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350_I2C/7256int.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350_I2C/7256int.suo deleted file mode 100644 index 494d925..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350_I2C/7256int.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350_I2C/7258int.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350_I2C/7258int.suo deleted file mode 100644 index ea9e48d..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350_I2C/7258int.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350_I2C/7350Int.rc b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350_I2C/7350Int.rc deleted file mode 100644 index 2b24af4..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350_I2C/7350Int.rc +++ /dev/null @@ -1,264 +0,0 @@ -// Microsoft Visual C++ generated resource script. -// -#include "resource.h" - -#define APSTUDIO_READONLY_SYMBOLS -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 2 resource. -// -#ifndef APSTUDIO_INVOKED -#include "targetver.h" -#endif -#include "afxres.h" - -///////////////////////////////////////////////////////////////////////////// -#undef APSTUDIO_READONLY_SYMBOLS - -///////////////////////////////////////////////////////////////////////////// -// Chinese (Taiwan) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_CHT) -#ifdef _WIN32 -LANGUAGE LANG_CHINESE, SUBLANG_CHINESE_TRADITIONAL -#pragma code_page(950) -#endif //_WIN32 - -#ifdef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// TEXTINCLUDE -// - -1 TEXTINCLUDE -BEGIN - "resource.h\0" -END - -2 TEXTINCLUDE -BEGIN - "#ifndef APSTUDIO_INVOKED\r\n" - "#include ""targetver.h""\r\n" - "#endif\r\n" - "#include ""afxres.h""\r\n" - "\0" -END - -3 TEXTINCLUDE -BEGIN - "#define _AFX_NO_SPLITTER_RESOURCES\r\n" - "#define _AFX_NO_OLE_RESOURCES\r\n" - "#define _AFX_NO_TRACKER_RESOURCES\r\n" - "#define _AFX_NO_PROPERTY_RESOURCES\r\n" - "\r\n" - "#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)\r\n" - "LANGUAGE 9, 1\r\n" - "#pragma code_page(1252)\r\n" - "#include ""res\\My7350Int.rc2"" // non-Microsoft Visual C++ edited resources\r\n" - "#include ""afxres.rc"" // Standard components\r\n" - "#endif\r\n" - "\0" -END - -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// Icon -// - -// Icon with lowest ID value placed first to ensure application icon -// remains consistent on all systems. -IDR_MAINFRAME ICON "res\\7350Int.ico" -#endif // Chinese (Taiwan) resources -///////////////////////////////////////////////////////////////////////////// - - -///////////////////////////////////////////////////////////////////////////// -// English (U.S.) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -#ifdef _WIN32 -LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US -#pragma code_page(1252) -#endif //_WIN32 - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog -// - -IDD_ABOUTBOX DIALOGEX 0, 0, 170, 62 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "About 7350Int" -FONT 8, "MS Shell Dlg", 0, 0, 0x1 -BEGIN - ICON IDR_MAINFRAME,IDC_STATIC,14,14,21,20 - LTEXT "7350Int, Version 1.0",IDC_STATIC,42,14,114,8,SS_NOPREFIX - LTEXT "Copyright (C) 2010",IDC_STATIC,42,26,114,8 - DEFPUSHBUTTON "OK",IDOK,113,41,50,14,WS_GROUP -END - -IDD_MY7350INT_DIALOG DIALOGEX 0, 0, 195, 140 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU -EXSTYLE WS_EX_APPWINDOW -CAPTION "PCI-7350 Interrupt Sample" -FONT 8, "MS Shell Dlg", 0, 0, 0x1 -BEGIN - LTEXT "This sample performs change of state functionality. DIO Port A is configured as a DO port while Port B is configured as a DI Port.",IDC_STATIC,8,4,181,24 - LTEXT "Write Data =",IDC_STATIC_05,13,119,74,13 - PUSHBUTTON "Start",IDC_BT_START,51,91,84,18 - LTEXT "Read Data =",IDC_STATIC_06,109,119,74,13 - LTEXT "Signal will be asserted and a 800 ns pulse will be generated to AFI0 while the DI state is changed.",IDC_STATIC,6,31,181,24 - CONTROL "Increasing Pattern",IDC_RADIO_INC,"Button",BS_AUTORADIOBUTTON | WS_GROUP,11,63,77,10 - CONTROL "Decreasing Pattern",IDC_RADIO_DEC,"Button",BS_AUTORADIOBUTTON,11,77,77,10 - EDITTEXT IDC_EDIT_I2C_ADDR,153,64,32,15,ES_AUTOHSCROLL - LTEXT "I2C Slave Addr.",IDC_STATIC,95,67,54,11 -END - -IDD_CARDID_DIALOG DIALOGEX 0, 0, 163, 88 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "Card ID" -FONT 8, "MS Shell Dlg", 400, 0, 0x1 -BEGIN - COMBOBOX IDC_COMBO_CARDID,73,17,71,126,CBS_DROPDOWN | WS_VSCROLL | WS_TABSTOP - LTEXT "Card Number",IDC_STATIC_01,19,18,46,12 - PUSHBUTTON "OK",IDOK,20,50,58,19 - PUSHBUTTON "CANCEL",IDCANCEL,84,50,58,19 -END - - -///////////////////////////////////////////////////////////////////////////// -// -// Version -// - -VS_VERSION_INFO VERSIONINFO - FILEVERSION 1,0,0,1 - PRODUCTVERSION 1,0,0,1 - FILEFLAGSMASK 0x3fL -#ifdef _DEBUG - FILEFLAGS 0x1L -#else - FILEFLAGS 0x0L -#endif - FILEOS 0x4L - FILETYPE 0x1L - FILESUBTYPE 0x0L -BEGIN - BLOCK "StringFileInfo" - BEGIN - BLOCK "040904e4" - BEGIN - VALUE "CompanyName", "TODO: " - VALUE "FileDescription", "TODO: " - VALUE "FileVersion", "1.0.0.1" - VALUE "InternalName", "7350Int.exe" - VALUE "LegalCopyright", "TODO: (c) . All rights reserved." - VALUE "OriginalFilename", "7350Int.exe" - VALUE "ProductName", "TODO: " - VALUE "ProductVersion", "1.0.0.1" - END - END - BLOCK "VarFileInfo" - BEGIN - VALUE "Translation", 0x409, 1252 - END -END - - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog Info -// - -IDD_CARDID_DIALOG DLGINIT -BEGIN - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0030, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0031, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0032, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0033, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0034, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0035, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0036, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0037, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0038, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0039, - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3031, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3131, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3231, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3331, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3431, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3531, "\000" - 0 -END - - -///////////////////////////////////////////////////////////////////////////// -// -// DESIGNINFO -// - -#ifdef APSTUDIO_INVOKED -GUIDELINES DESIGNINFO -BEGIN - IDD_MY7350INT_DIALOG, DIALOG - BEGIN - BOTTOMMARGIN, 138 - END -END -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// String Table -// - -STRINGTABLE -BEGIN - IDS_ABOUTBOX "&About 7350Int..." -END - -#endif // English (U.S.) resources -///////////////////////////////////////////////////////////////////////////// - - - -#ifndef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 3 resource. -// -#define _AFX_NO_SPLITTER_RESOURCES -#define _AFX_NO_OLE_RESOURCES -#define _AFX_NO_TRACKER_RESOURCES -#define _AFX_NO_PROPERTY_RESOURCES - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -LANGUAGE 9, 1 -#pragma code_page(1252) -#include "res\My7350Int.rc2" // non-Microsoft Visual C++ edited resources -#include "afxres.rc" // Standard components -#endif - -///////////////////////////////////////////////////////////////////////////// -#endif // not APSTUDIO_INVOKED - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350_I2C/7350int.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350_I2C/7350int.cpp deleted file mode 100644 index 76aaa2c..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350_I2C/7350int.cpp +++ /dev/null @@ -1,110 +0,0 @@ - -// 7350Int.cpp : Defines the class behaviors for the application. -// - -#include "stdafx.h" -#include "7350Int.h" -#include "7350IntDlg.h" -#include "CardIDDlg.h" - -#ifdef _DEBUG -#define new DEBUG_NEW -#endif - - -// C7350IntApp - -BEGIN_MESSAGE_MAP(C7350IntApp, CWinAppEx) - ON_COMMAND(ID_HELP, &CWinApp::OnHelp) -END_MESSAGE_MAP() - - -// C7350IntApp construction - -C7350IntApp::C7350IntApp() -{ - // TODO: add construction code here, - // Place all significant initialization in InitInstance -} - - -// The one and only C7350IntApp object - -C7350IntApp theApp; - - -// C7350IntApp initialization - -BOOL C7350IntApp::InitInstance() -{ - int nCardID = 0; - I16 hCard; - CString strTemp; - INT_PTR nResponse; - - // InitCommonControlsEx() is required on Windows XP if an application - // manifest specifies use of ComCtl32.dll version 6 or later to enable - // visual styles. Otherwise, any window creation will fail. - INITCOMMONCONTROLSEX InitCtrls; - InitCtrls.dwSize = sizeof(InitCtrls); - // Set this to include all the common control classes you want to use - // in your application. - InitCtrls.dwICC = ICC_WIN95_CLASSES; - InitCommonControlsEx(&InitCtrls); - - CWinAppEx::InitInstance(); - - AfxEnableControlContainer(); - - // Standard initialization - // If you are not using these features and wish to reduce the size - // of your final executable, you should remove from the following - // the specific initialization routines you do not need - // Change the registry key under which our settings are stored - // TODO: You should modify this string to be something appropriate - // such as the name of your company or organization - SetRegistryKey(_T("Local AppWizard-Generated Applications")); - - CCardIDDlg CardDlg( nCardID ); - - nResponse = CardDlg.DoModal(); - if (nResponse == IDOK) - { - nCardID = CardDlg.GetCardID(); - - if ((hCard=Register_Card(PCI_7350, nCardID)) < 0) - { - strTemp.Format( TEXT("Register_Card Error = %d"), hCard); - AfxMessageBox( strTemp ); - } - else - { - C7350IntDlg dlg(hCard); - m_pMainWnd = &dlg; - nResponse = dlg.DoModal(); - if (nResponse == IDOK) - { - // TODO: Place code here to handle when the dialog is - // dismissed with OK - } - else if (nResponse == IDCANCEL) - { - // TODO: Place code here to handle when the dialog is - // dismissed with Cancel - } - - if (hCard >= 0) Release_Card(hCard); - } - - } - else if (nResponse == IDCANCEL) - { - // TODO: Place code here to handle when the dialog is - // dismissed with Cancel - } - - - // Since the dialog has been closed, return FALSE so that we exit the - // application, rather than start the application's message pump. - return FALSE; -} diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350_I2C/7350int.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350_I2C/7350int.h deleted file mode 100644 index a422e1f..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350_I2C/7350int.h +++ /dev/null @@ -1,32 +0,0 @@ - -// 7350Int.h : main header file for the PROJECT_NAME application -// - -#pragma once - -#ifndef __AFXWIN_H__ - #error "include 'stdafx.h' before including this file for PCH" -#endif - -#include "resource.h" // main symbols - - -// C7350IntApp: -// See 7350Int.cpp for the implementation of this class -// - -class C7350IntApp : public CWinAppEx -{ -public: - C7350IntApp(); - -// Overrides - public: - virtual BOOL InitInstance(); - -// Implementation - - DECLARE_MESSAGE_MAP() -}; - -extern C7350IntApp theApp; \ No newline at end of file diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350_I2C/7350int.sln b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350_I2C/7350int.sln deleted file mode 100644 index 8e5ebca..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350_I2C/7350int.sln +++ /dev/null @@ -1,20 +0,0 @@ - -Microsoft Visual Studio Solution File, Format Version 10.00 -# Visual Studio 2008 -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "7350Int", "7350Int.vcproj", "{7D5D9EC5-ED97-47EE-B6F4-ACCD71069808}" -EndProject -Global - GlobalSection(SolutionConfigurationPlatforms) = preSolution - Debug|x64 = Debug|x64 - Release|x64 = Release|x64 - EndGlobalSection - GlobalSection(ProjectConfigurationPlatforms) = postSolution - {7D5D9EC5-ED97-47EE-B6F4-ACCD71069808}.Debug|x64.ActiveCfg = Debug|x64 - {7D5D9EC5-ED97-47EE-B6F4-ACCD71069808}.Debug|x64.Build.0 = Debug|x64 - {7D5D9EC5-ED97-47EE-B6F4-ACCD71069808}.Release|x64.ActiveCfg = Release|x64 - {7D5D9EC5-ED97-47EE-B6F4-ACCD71069808}.Release|x64.Build.0 = Release|x64 - EndGlobalSection - GlobalSection(SolutionProperties) = preSolution - HideSolutionNode = FALSE - EndGlobalSection -EndGlobal diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350_I2C/7350int.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350_I2C/7350int.suo deleted file mode 100644 index e849e0e..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350_I2C/7350int.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350_I2C/7350int.vcproj b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350_I2C/7350int.vcproj deleted file mode 100644 index 390bc1f..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350_I2C/7350int.vcproj +++ /dev/null @@ -1,286 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350_I2C/7350intDlg.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350_I2C/7350intDlg.cpp deleted file mode 100644 index 7af82a6..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350_I2C/7350intDlg.cpp +++ /dev/null @@ -1,308 +0,0 @@ - -// 7350IntDlg.cpp : implementation file -// -#include "stdafx.h" -#include "7350Int.h" -#include "7350IntDlg.h" - -#ifdef _DEBUG -#define new DEBUG_NEW -#endif - -// CAboutDlg dialog used for App About - -class CAboutDlg : public CDialog -{ -public: - CAboutDlg(); - -// Dialog Data - enum { IDD = IDD_ABOUTBOX }; - - protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - -// Implementation -protected: - DECLARE_MESSAGE_MAP() -}; - -CAboutDlg::CAboutDlg() : CDialog(CAboutDlg::IDD) -{ -} - -void CAboutDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); -} - -BEGIN_MESSAGE_MAP(CAboutDlg, CDialog) -END_MESSAGE_MAP() - - -// C7350IntDlg dialog - - - - -C7350IntDlg::C7350IntDlg(I16 hCard, CWnd* pParent /*=NULL*/) - : CDialog(C7350IntDlg::IDD, pParent) - , m_dwI2CSlaveAddr(80) -{ - m_hIcon = AfxGetApp()->LoadIcon(IDR_MAINFRAME); - - m_hCard = hCard; - m_dwOutVal = 0x00000000; - - m_PatType = 0; -} - -void C7350IntDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); - DDX_Text(pDX, IDC_EDIT_I2C_ADDR, m_dwI2CSlaveAddr); -} - -BEGIN_MESSAGE_MAP(C7350IntDlg, CDialog) - ON_WM_SYSCOMMAND() - ON_WM_PAINT() - ON_WM_QUERYDRAGICON() - //}}AFX_MSG_MAP - ON_WM_DESTROY() -// ON_WM_TIMER() - ON_BN_CLICKED(IDC_BT_START, &C7350IntDlg::OnStart) - ON_BN_CLICKED(IDC_RADIO_INC, &C7350IntDlg::OnBnClickedRadioInc) - ON_BN_CLICKED(IDC_RADIO_DEC, &C7350IntDlg::OnBnClickedRadioDec) -END_MESSAGE_MAP() - - -// C7350IntDlg message handlers - -BOOL C7350IntDlg::OnInitDialog() -{ - CString strTemp; - - CDialog::OnInitDialog(); - - // Add "About..." menu item to system menu. - - // IDM_ABOUTBOX must be in the system command range. - ASSERT((IDM_ABOUTBOX & 0xFFF0) == IDM_ABOUTBOX); - ASSERT(IDM_ABOUTBOX < 0xF000); - - CMenu* pSysMenu = GetSystemMenu(FALSE); - if (pSysMenu != NULL) - { - BOOL bNameValid; - CString strAboutMenu; - bNameValid = strAboutMenu.LoadString(IDS_ABOUTBOX); - ASSERT(bNameValid); - if (!strAboutMenu.IsEmpty()) - { - pSysMenu->AppendMenu(MF_SEPARATOR); - pSysMenu->AppendMenu(MF_STRING, IDM_ABOUTBOX, strAboutMenu); - } - } - - // Set the icon for this dialog. The framework does this automatically - // when the application's main window is not a dialog - SetIcon(m_hIcon, TRUE); // Set big icon - SetIcon(m_hIcon, FALSE); // Set small icon - - - m_PatType = 0; - ((CButton*)GetDlgItem( IDC_RADIO_INC ))->SetCheck( TRUE ); - // TODO: Add extra initialization here - I16 err; - - - /* - * Set AFI voltage level - * AFI0/AFI1 will be set to I2C mode automatically if I2C is enabled. - */ - err = DIO_VoltLevelConfig(m_hCard, P7350_PortAFI, VoltLevel_3R3); - if(err!=NoError) - { - strTemp.Format( TEXT("DIO_VoltLevelConfig() Error = %d"), err); - AfxMessageBox( strTemp ); - return TRUE; - } - - /*Setup I2C*/ - err = I2C_Setup( - m_hCard, - I2C_Port_A, /*I2C port to be set*/ - 0, /*Not used in 7350*/ - 0xff, /*The parameter is used to set Pre-clock in 7350*/ - 0 /*Not used in 7350*/ - ); - if(err!=NoError) - { - strTemp.Format( TEXT("I2C_Setup() Error = %d"), err); - AfxMessageBox( strTemp ); - return TRUE; - } - - /* - * Enable I2C - * AFI0/AFI1 will be set to I2C mode automatically. - */ - err = I2C_Control( - m_hCard, - I2C_Port_A, - I2C_ENABLE, /*Operation item*/ - 1 /*Enable opertion item*/ - ); - if(err!=NoError) - { - strTemp.Format( TEXT("I2C_Control() Error = %d"), err); - AfxMessageBox( strTemp ); - return TRUE; - } - - return TRUE; // return TRUE unless you set the focus to a control -} - -void C7350IntDlg::OnSysCommand(UINT nID, LPARAM lParam) -{ - if ((nID & 0xFFF0) == IDM_ABOUTBOX) - { - CAboutDlg dlgAbout; - dlgAbout.DoModal(); - } - else - { - CDialog::OnSysCommand(nID, lParam); - } -} - -// If you add a minimize button to your dialog, you will need the code below -// to draw the icon. For MFC applications using the document/view model, -// this is automatically done for you by the framework. - -void C7350IntDlg::OnPaint() -{ - if (IsIconic()) - { - CPaintDC dc(this); // device context for painting - - SendMessage(WM_ICONERASEBKGND, reinterpret_cast(dc.GetSafeHdc()), 0); - - // Center icon in client rectangle - int cxIcon = GetSystemMetrics(SM_CXICON); - int cyIcon = GetSystemMetrics(SM_CYICON); - CRect rect; - GetClientRect(&rect); - int x = (rect.Width() - cxIcon + 1) / 2; - int y = (rect.Height() - cyIcon + 1) / 2; - - // Draw the icon - dc.DrawIcon(x, y, m_hIcon); - } - else - { - CDialog::OnPaint(); - } -} - -// The system calls this function to obtain the cursor to display while the user drags -// the minimized window. -HCURSOR C7350IntDlg::OnQueryDragIcon() -{ - return static_cast(m_hIcon); -} - - -void C7350IntDlg::OnDestroy() -{ - CDialog::OnDestroy(); - - // TODO: Add your message handler code here - /*Disable I2C*/ - I2C_Control( - m_hCard, - I2C_Port_A, - I2C_ENABLE, /*Opertion item*/ - 0 /*Disble opertion item*/ - ); - -} - - -void C7350IntDlg::OnStart() -{ - // TODO: Add your control notification handler code here - CString strTemp; - U32 dwReadData; - U32 dwWriteCmdAddr; - U32 dwReadCmdAddr; - U32 dwWriteData; - I16 err; - - - GetDlgItem( IDC_BT_START )->EnableWindow( FALSE ); - - for( m_dwOutVal = 0; m_dwOutVal < 0x100; m_dwOutVal++ ) - { - dwWriteCmdAddr = (m_dwOutVal&0xff); - dwWriteData = (m_PatType == 0)? dwWriteCmdAddr:(255-dwWriteCmdAddr); - err = I2C_Write( - m_hCard, - I2C_Port_A, - (U16)m_dwI2CSlaveAddr, /*Slave device address*/ - 1, /*Address byte count to be written*/ - 1, /*Data byte count to be written*/ - dwWriteCmdAddr, /*Cmd/Addr to be written*/ - dwWriteData /*Data to be written*/ - ); - if(err<0) - { - strTemp.Format( TEXT("I2C_Write() Error = %d"), err); - AfxMessageBox( strTemp ); - return; - } - - Sleep(50); //Wait for writing I2C EEPROM latency - - /*Read*/ - dwReadCmdAddr = dwWriteCmdAddr; - err = I2C_Read( - m_hCard, - I2C_Port_A, - (U16)m_dwI2CSlaveAddr, /*Slave device address*/ - 1, /*Address byte count to be read*/ - 1, /*Data byte count to be read*/ - dwReadCmdAddr, /*Cmd/Addr to be read*/ - &dwReadData /*read Data*/ - ); - if(err<0) - { - strTemp.Format( TEXT("I2C_Read() Error = %d"), err); - AfxMessageBox( strTemp ); - return; - } - - - strTemp.Format( TEXT("Write Data = 0x%02X"), dwWriteData ); - SetDlgItemText( IDC_STATIC_05, strTemp ); - - strTemp.Format( TEXT("Read Data = 0x%02X"), dwReadData ); - SetDlgItemText( IDC_STATIC_06, strTemp ); - - } - - GetDlgItem( IDC_BT_START )->EnableWindow( TRUE ); - -} - -void C7350IntDlg::OnBnClickedRadioInc() -{ - // TODO: Add your control notification handler code here - m_PatType = 0; -} - -void C7350IntDlg::OnBnClickedRadioDec() -{ - // TODO: Add your control notification handler code here - m_PatType = 1; -} diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350_I2C/7350intDlg.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350_I2C/7350intDlg.h deleted file mode 100644 index 6fbc858..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350_I2C/7350intDlg.h +++ /dev/null @@ -1,42 +0,0 @@ - -// 7350IntDlg.h : header file -// -#include "Dask64.h" - -#pragma once - - -// C7350IntDlg dialog -class C7350IntDlg : public CDialog -{ -// Construction -public: - C7350IntDlg(I16 hCard, CWnd* pParent = NULL); // standard constructor - -// Dialog Data - enum { IDD = IDD_MY7350INT_DIALOG }; - - protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - - -// Implementation -protected: - HICON m_hIcon; - U32 m_dwOutVal; - U16 m_PatType; - I16 m_hCard; - - // Generated message map functions - virtual BOOL OnInitDialog(); - afx_msg void OnSysCommand(UINT nID, LPARAM lParam); - afx_msg void OnPaint(); - afx_msg HCURSOR OnQueryDragIcon(); - DECLARE_MESSAGE_MAP() -public: - afx_msg void OnDestroy(); - afx_msg void OnStart(); - afx_msg void OnBnClickedRadioInc(); - afx_msg void OnBnClickedRadioDec(); - DWORD m_dwI2CSlaveAddr; -}; diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350_I2C/7432int.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350_I2C/7432int.suo deleted file mode 100644 index 8657213..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350_I2C/7432int.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350_I2C/CardIDDlg.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350_I2C/CardIDDlg.cpp deleted file mode 100644 index 3a55af6..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350_I2C/CardIDDlg.cpp +++ /dev/null @@ -1,67 +0,0 @@ -// CardIDDlg.cpp : implementation file -// - -#include "stdafx.h" -#include "7350Int.h" -#include "CardIDDlg.h" - - -// CCardIDDlg dialog - -IMPLEMENT_DYNAMIC(CCardIDDlg, CDialog) - -CCardIDDlg::CCardIDDlg(int nCardIdx, CWnd* pParent /*=NULL*/) - : CDialog(CCardIDDlg::IDD, pParent) -{ - m_nCardIdx = nCardIdx; -} - -CCardIDDlg::~CCardIDDlg() -{ -} - -void CCardIDDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); - DDX_Control(pDX, IDC_COMBO_CARDID, m_cbCardID); -} - - -BEGIN_MESSAGE_MAP(CCardIDDlg, CDialog) -// ON_CBN_SELCHANGE(IDC_COMBO_CARDID, &CCardIDDlg::OnCbnSelchangeComboCardid) -ON_BN_CLICKED(IDOK, &CCardIDDlg::OnBnClickedOk) -//ON_WM_CTLCOLOR() -END_MESSAGE_MAP() - - -// CCardIDDlg message handlers - - -void CCardIDDlg::OnBnClickedOk() -{ - // TODO: Add your control notification handler code here - -// UpdateData(TRUE); - m_nCardIdx = m_cbCardID.GetCurSel(); - - OnOK(); -} - -BOOL CCardIDDlg::OnInitDialog() -{ - CDialog::OnInitDialog(); - - // TODO: Add extra initialization here - m_cbCardID.SetCurSel( m_nCardIdx ); - - return TRUE; // return TRUE unless you set the focus to a control - // EXCEPTION: OCX Property Pages should return FALSE -} - -// the function to get the selected CardID -int CCardIDDlg::GetCardID(void) -{ - return m_nCardIdx; -} - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350_I2C/CardIDDlg.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350_I2C/CardIDDlg.h deleted file mode 100644 index 54628ea..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350_I2C/CardIDDlg.h +++ /dev/null @@ -1,33 +0,0 @@ -#pragma once -#include "afxwin.h" - - -// CCardIDDlg dialog - -class CCardIDDlg : public CDialog -{ - DECLARE_DYNAMIC(CCardIDDlg) - -public: - CCardIDDlg(int nCardIdx, CWnd* pParent = NULL); // standard constructor - virtual ~CCardIDDlg(); - -// Dialog Data - enum { IDD = IDD_CARDID_DIALOG }; - -protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - - DECLARE_MESSAGE_MAP() -public: -// afx_msg void OnCbnSelchangeComboCardid(); - afx_msg void OnBnClickedOk(); - // the setting of CardID ComboBox - int m_nCardIdx; - virtual BOOL OnInitDialog(); - // the control of CardID ComboBox - CComboBox m_cbCardID; - // the function to get the selected CardID - int GetCardID(void); -// afx_msg HBRUSH OnCtlColor(CDC* pDC, CWnd* pWnd, UINT nCtlColor); -}; diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350_I2C/ReadMe.txt b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350_I2C/ReadMe.txt deleted file mode 100644 index f601cc4..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350_I2C/ReadMe.txt +++ /dev/null @@ -1,93 +0,0 @@ -================================================================================ - MICROSOFT FOUNDATION CLASS LIBRARY : 7350Int Project Overview -=============================================================================== - -The application wizard has created this 7350Int application for -you. This application not only demonstrates the basics of using the Microsoft -Foundation Classes but is also a starting point for writing your application. - -This file contains a summary of what you will find in each of the files that -make up your 7350Int application. - -7350Int.vcproj - This is the main project file for VC++ projects generated using an application wizard. - It contains information about the version of Visual C++ that generated the file, and - information about the platforms, configurations, and project features selected with the - application wizard. - -7350Int.h - This is the main header file for the application. It includes other - project specific headers (including Resource.h) and declares the - C7350IntApp application class. - -7350Int.cpp - This is the main application source file that contains the application - class C7350IntApp. - -7350Int.rc - This is a listing of all of the Microsoft Windows resources that the - program uses. It includes the icons, bitmaps, and cursors that are stored - in the RES subdirectory. This file can be directly edited in Microsoft - Visual C++. Your project resources are in 1033. - -res\7350Int.ico - This is an icon file, which is used as the application's icon. This - icon is included by the main resource file 7350Int.rc. - -res\My7350Int.rc2 - This file contains resources that are not edited by Microsoft - Visual C++. You should place all resources not editable by - the resource editor in this file. - - -///////////////////////////////////////////////////////////////////////////// - -The application wizard creates one dialog class: - -7350IntDlg.h, 7350IntDlg.cpp - the dialog - These files contain your C7350IntDlg class. This class defines - the behavior of your application's main dialog. The dialog's template is - in 7350Int.rc, which can be edited in Microsoft Visual C++. - - -///////////////////////////////////////////////////////////////////////////// - -Other Features: - -ActiveX Controls - The application includes support to use ActiveX controls. - -///////////////////////////////////////////////////////////////////////////// - -Other standard files: - -StdAfx.h, StdAfx.cpp - These files are used to build a precompiled header (PCH) file - named 7350Int.pch and a precompiled types file named StdAfx.obj. - -Resource.h - This is the standard header file, which defines new resource IDs. - Microsoft Visual C++ reads and updates this file. - -7350Int.manifest - Application manifest files are used by Windows XP to describe an applications - dependency on specific versions of Side-by-Side assemblies. The loader uses this - information to load the appropriate assembly from the assembly cache or private - from the application. The Application manifest maybe included for redistribution - as an external .manifest file that is installed in the same folder as the application - executable or it may be included in the executable in the form of a resource. -///////////////////////////////////////////////////////////////////////////// - -Other notes: - -The application wizard uses "TODO:" to indicate parts of the source code you -should add to or customize. - -If your application uses MFC in a shared DLL, you will need -to redistribute the MFC DLLs. If your application is in a language -other than the operating system's locale, you will also have to -redistribute the corresponding localized resources MFC90XXX.DLL. -For more information on both of these topics, please see the section on -redistributing Visual C++ applications in MSDN documentation. - -///////////////////////////////////////////////////////////////////////////// diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350_I2C/res/7350int.ico b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350_I2C/res/7350int.ico deleted file mode 100644 index d56fbcd..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350_I2C/res/7350int.ico and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350_I2C/res/My7350int.rc2 b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350_I2C/res/My7350int.rc2 deleted file mode 100644 index 7bd3593..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350_I2C/res/My7350int.rc2 +++ /dev/null @@ -1,13 +0,0 @@ -// -// My7256int.RC2 - resources Microsoft Visual C++ does not edit directly -// - -#ifdef APSTUDIO_INVOKED -#error this file is not editable by Microsoft Visual C++ -#endif //APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// Add manually edited resources here... - -///////////////////////////////////////////////////////////////////////////// diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350_I2C/resource.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350_I2C/resource.h deleted file mode 100644 index 365fa52..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350_I2C/resource.h +++ /dev/null @@ -1,30 +0,0 @@ -//{{NO_DEPENDENCIES}} -// Microsoft Visual C++ generated include file. -// Used by 7350Int.rc -// -#define IDM_ABOUTBOX 0x0010 -#define IDD_ABOUTBOX 100 -#define IDS_ABOUTBOX 101 -#define IDD_MY7350INT_DIALOG 102 -#define IDR_MAINFRAME 128 -#define IDD_CARDID_DIALOG 129 -#define IDC_COMBO_CARDID 1000 -#define IDC_BT_START 1000 -#define IDC_RADIO_INC 1002 -#define IDC_RADIO_DEC 1003 -#define IDC_EDIT_I2C_ADDR 1004 -#define IDC_STATIC_05 1007 -#define IDC_STATIC_06 1008 -#define IDC_STATIC_07 1009 -#define IDC_STATIC_01 1014 - -// Next default values for new objects -// -#ifdef APSTUDIO_INVOKED -#ifndef APSTUDIO_READONLY_SYMBOLS -#define _APS_NEXT_RESOURCE_VALUE 131 -#define _APS_NEXT_COMMAND_VALUE 32771 -#define _APS_NEXT_CONTROL_VALUE 1005 -#define _APS_NEXT_SYMED_VALUE 101 -#endif -#endif diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350_I2C/stdafx.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350_I2C/stdafx.cpp deleted file mode 100644 index bfa88a1..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350_I2C/stdafx.cpp +++ /dev/null @@ -1,8 +0,0 @@ - -// stdafx.cpp : source file that includes just the standard includes -// 7350Int.pch will be the pre-compiled header -// stdafx.obj will contain the pre-compiled type information - -#include "stdafx.h" - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350_I2C/stdafx.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350_I2C/stdafx.h deleted file mode 100644 index 12123e2..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350_I2C/stdafx.h +++ /dev/null @@ -1,60 +0,0 @@ - -// stdafx.h : include file for standard system include files, -// or project specific include files that are used frequently, -// but are changed infrequently - -#pragma once - -#ifndef _SECURE_ATL -#define _SECURE_ATL 1 -#endif - -#ifndef VC_EXTRALEAN -#define VC_EXTRALEAN // Exclude rarely-used stuff from Windows headers -#endif - -#include "targetver.h" - -#define _ATL_CSTRING_EXPLICIT_CONSTRUCTORS // some CString constructors will be explicit - -// turns off MFC's hiding of some common and often safely ignored warning messages -#define _AFX_ALL_WARNINGS - -#include // MFC core and standard components -#include // MFC extensions - - -#include // MFC Automation classes - - - -#ifndef _AFX_NO_OLE_SUPPORT -#include // MFC support for Internet Explorer 4 Common Controls -#endif -#ifndef _AFX_NO_AFXCMN_SUPPORT -#include // MFC support for Windows Common Controls -#endif // _AFX_NO_AFXCMN_SUPPORT - -#include // MFC support for ribbons and control bars - - - - - - - - - -#ifdef _UNICODE -#if defined _M_IX86 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='x86' publicKeyToken='6595b64144ccf1df' language='*'\"") -#elif defined _M_IA64 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='ia64' publicKeyToken='6595b64144ccf1df' language='*'\"") -#elif defined _M_X64 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='amd64' publicKeyToken='6595b64144ccf1df' language='*'\"") -#else -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='*' publicKeyToken='6595b64144ccf1df' language='*'\"") -#endif -#endif - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350_I2C/targetver.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350_I2C/targetver.h deleted file mode 100644 index 11730d5..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350_I2C/targetver.h +++ /dev/null @@ -1,26 +0,0 @@ - -#pragma once - -// The following macros define the minimum required platform. The minimum required platform -// is the earliest version of Windows, Internet Explorer etc. that has the necessary features to run -// your application. The macros work by enabling all features available on platform versions up to and -// including the version specified. - -// Modify the following defines if you have to target a platform prior to the ones specified below. -// Refer to MSDN for the latest info on corresponding values for different platforms. -#ifndef WINVER // Specifies that the minimum required platform is Windows Vista. -#define WINVER 0x0600 // Change this to the appropriate value to target other versions of Windows. -#endif - -#ifndef _WIN32_WINNT // Specifies that the minimum required platform is Windows Vista. -#define _WIN32_WINNT 0x0600 // Change this to the appropriate value to target other versions of Windows. -#endif - -#ifndef _WIN32_WINDOWS // Specifies that the minimum required platform is Windows 98. -#define _WIN32_WINDOWS 0x0410 // Change this to the appropriate value to target Windows Me or later. -#endif - -#ifndef _WIN32_IE // Specifies that the minimum required platform is Internet Explorer 7.0. -#define _WIN32_IE 0x0700 // Change this to the appropriate value to target other versions of IE. -#endif - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350_PM_Edge/7230int.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350_PM_Edge/7230int.suo deleted file mode 100644 index cc096dc..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350_PM_Edge/7230int.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350_PM_Edge/7256int.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350_PM_Edge/7256int.suo deleted file mode 100644 index 494d925..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350_PM_Edge/7256int.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350_PM_Edge/7258int.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350_PM_Edge/7258int.suo deleted file mode 100644 index ea9e48d..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350_PM_Edge/7258int.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350_PM_Edge/7350Int.rc b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350_PM_Edge/7350Int.rc deleted file mode 100644 index 0d622d7..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350_PM_Edge/7350Int.rc +++ /dev/null @@ -1,262 +0,0 @@ -// Microsoft Visual C++ generated resource script. -// -#include "resource.h" - -#define APSTUDIO_READONLY_SYMBOLS -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 2 resource. -// -#ifndef APSTUDIO_INVOKED -#include "targetver.h" -#endif -#include "afxres.h" - -///////////////////////////////////////////////////////////////////////////// -#undef APSTUDIO_READONLY_SYMBOLS - -///////////////////////////////////////////////////////////////////////////// -// Chinese (Taiwan) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_CHT) -#ifdef _WIN32 -LANGUAGE LANG_CHINESE, SUBLANG_CHINESE_TRADITIONAL -#pragma code_page(950) -#endif //_WIN32 - -#ifdef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// TEXTINCLUDE -// - -1 TEXTINCLUDE -BEGIN - "resource.h\0" -END - -2 TEXTINCLUDE -BEGIN - "#ifndef APSTUDIO_INVOKED\r\n" - "#include ""targetver.h""\r\n" - "#endif\r\n" - "#include ""afxres.h""\r\n" - "\0" -END - -3 TEXTINCLUDE -BEGIN - "#define _AFX_NO_SPLITTER_RESOURCES\r\n" - "#define _AFX_NO_OLE_RESOURCES\r\n" - "#define _AFX_NO_TRACKER_RESOURCES\r\n" - "#define _AFX_NO_PROPERTY_RESOURCES\r\n" - "\r\n" - "#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)\r\n" - "LANGUAGE 9, 1\r\n" - "#pragma code_page(1252)\r\n" - "#include ""res\\My7350Int.rc2"" // non-Microsoft Visual C++ edited resources\r\n" - "#include ""afxres.rc"" // Standard components\r\n" - "#endif\r\n" - "\0" -END - -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// Icon -// - -// Icon with lowest ID value placed first to ensure application icon -// remains consistent on all systems. -IDR_MAINFRAME ICON "res\\7350Int.ico" -#endif // Chinese (Taiwan) resources -///////////////////////////////////////////////////////////////////////////// - - -///////////////////////////////////////////////////////////////////////////// -// English (U.S.) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -#ifdef _WIN32 -LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US -#pragma code_page(1252) -#endif //_WIN32 - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog -// - -IDD_ABOUTBOX DIALOGEX 0, 0, 170, 62 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "About 7350Int" -FONT 8, "MS Shell Dlg", 0, 0, 0x1 -BEGIN - ICON IDR_MAINFRAME,IDC_STATIC,14,14,21,20 - LTEXT "7350Int, Version 1.0",IDC_STATIC,42,14,114,8,SS_NOPREFIX - LTEXT "Copyright (C) 2010",IDC_STATIC,42,26,114,8 - DEFPUSHBUTTON "OK",IDOK,113,41,50,14,WS_GROUP -END - -IDD_MY7350INT_DIALOG DIALOGEX 0, 0, 195, 149 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU -EXSTYLE WS_EX_APPWINDOW -CAPTION "PCI-7350 Interrupt Sample" -FONT 8, "MS Shell Dlg", 0, 0, 0x1 -BEGIN - LTEXT "This sample performs pattern match (edge mode) functionality. DIO Port A is configured as a DO port while Port B is configured as a DI Port.",IDC_STATIC,8,4,181,24 - LTEXT "INT Count =",IDC_STATIC_05,54,107,85,13 - PUSHBUTTON "Output",IDC_BT_OUTPUT,55,122,84,18 - LTEXT "Read Data =",IDC_STATIC_06,53,91,121,13 - LTEXT "Signal will be asserted and a 800 ns pulse will be generated to AFI0 while the DI state is changed.",IDC_STATIC,8,34,181,19 - LTEXT "Latched Data =",IDC_STATIC_07,54,75,121,13 - LTEXT "Signal will be asserted and a 800 ns pulse will be generated to AFI0 while the DI state is changed.",IDC_STATIC_PATTERN,7,55,181,19 -END - -IDD_CARDID_DIALOG DIALOGEX 0, 0, 163, 88 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "Card ID" -FONT 8, "MS Shell Dlg", 400, 0, 0x1 -BEGIN - COMBOBOX IDC_COMBO_CARDID,73,17,71,126,CBS_DROPDOWN | WS_VSCROLL | WS_TABSTOP - LTEXT "Card Number",IDC_STATIC_01,19,18,46,12 - PUSHBUTTON "OK",IDOK,20,50,58,19 - PUSHBUTTON "CANCEL",IDCANCEL,84,50,58,19 -END - - -///////////////////////////////////////////////////////////////////////////// -// -// Version -// - -VS_VERSION_INFO VERSIONINFO - FILEVERSION 1,0,0,1 - PRODUCTVERSION 1,0,0,1 - FILEFLAGSMASK 0x3fL -#ifdef _DEBUG - FILEFLAGS 0x1L -#else - FILEFLAGS 0x0L -#endif - FILEOS 0x4L - FILETYPE 0x1L - FILESUBTYPE 0x0L -BEGIN - BLOCK "StringFileInfo" - BEGIN - BLOCK "040904e4" - BEGIN - VALUE "CompanyName", "TODO: " - VALUE "FileDescription", "TODO: " - VALUE "FileVersion", "1.0.0.1" - VALUE "InternalName", "7350Int.exe" - VALUE "LegalCopyright", "TODO: (c) . All rights reserved." - VALUE "OriginalFilename", "7350Int.exe" - VALUE "ProductName", "TODO: " - VALUE "ProductVersion", "1.0.0.1" - END - END - BLOCK "VarFileInfo" - BEGIN - VALUE "Translation", 0x409, 1252 - END -END - - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog Info -// - -IDD_CARDID_DIALOG DLGINIT -BEGIN - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0030, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0031, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0032, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0033, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0034, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0035, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0036, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0037, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0038, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0039, - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3031, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3131, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3231, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3331, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3431, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3531, "\000" - 0 -END - - -///////////////////////////////////////////////////////////////////////////// -// -// DESIGNINFO -// - -#ifdef APSTUDIO_INVOKED -GUIDELINES DESIGNINFO -BEGIN - IDD_MY7350INT_DIALOG, DIALOG - BEGIN - BOTTOMMARGIN, 147 - END -END -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// String Table -// - -STRINGTABLE -BEGIN - IDS_ABOUTBOX "&About 7350Int..." -END - -#endif // English (U.S.) resources -///////////////////////////////////////////////////////////////////////////// - - - -#ifndef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 3 resource. -// -#define _AFX_NO_SPLITTER_RESOURCES -#define _AFX_NO_OLE_RESOURCES -#define _AFX_NO_TRACKER_RESOURCES -#define _AFX_NO_PROPERTY_RESOURCES - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -LANGUAGE 9, 1 -#pragma code_page(1252) -#include "res\My7350Int.rc2" // non-Microsoft Visual C++ edited resources -#include "afxres.rc" // Standard components -#endif - -///////////////////////////////////////////////////////////////////////////// -#endif // not APSTUDIO_INVOKED - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350_PM_Edge/7350int.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350_PM_Edge/7350int.cpp deleted file mode 100644 index 76aaa2c..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350_PM_Edge/7350int.cpp +++ /dev/null @@ -1,110 +0,0 @@ - -// 7350Int.cpp : Defines the class behaviors for the application. -// - -#include "stdafx.h" -#include "7350Int.h" -#include "7350IntDlg.h" -#include "CardIDDlg.h" - -#ifdef _DEBUG -#define new DEBUG_NEW -#endif - - -// C7350IntApp - -BEGIN_MESSAGE_MAP(C7350IntApp, CWinAppEx) - ON_COMMAND(ID_HELP, &CWinApp::OnHelp) -END_MESSAGE_MAP() - - -// C7350IntApp construction - -C7350IntApp::C7350IntApp() -{ - // TODO: add construction code here, - // Place all significant initialization in InitInstance -} - - -// The one and only C7350IntApp object - -C7350IntApp theApp; - - -// C7350IntApp initialization - -BOOL C7350IntApp::InitInstance() -{ - int nCardID = 0; - I16 hCard; - CString strTemp; - INT_PTR nResponse; - - // InitCommonControlsEx() is required on Windows XP if an application - // manifest specifies use of ComCtl32.dll version 6 or later to enable - // visual styles. Otherwise, any window creation will fail. - INITCOMMONCONTROLSEX InitCtrls; - InitCtrls.dwSize = sizeof(InitCtrls); - // Set this to include all the common control classes you want to use - // in your application. - InitCtrls.dwICC = ICC_WIN95_CLASSES; - InitCommonControlsEx(&InitCtrls); - - CWinAppEx::InitInstance(); - - AfxEnableControlContainer(); - - // Standard initialization - // If you are not using these features and wish to reduce the size - // of your final executable, you should remove from the following - // the specific initialization routines you do not need - // Change the registry key under which our settings are stored - // TODO: You should modify this string to be something appropriate - // such as the name of your company or organization - SetRegistryKey(_T("Local AppWizard-Generated Applications")); - - CCardIDDlg CardDlg( nCardID ); - - nResponse = CardDlg.DoModal(); - if (nResponse == IDOK) - { - nCardID = CardDlg.GetCardID(); - - if ((hCard=Register_Card(PCI_7350, nCardID)) < 0) - { - strTemp.Format( TEXT("Register_Card Error = %d"), hCard); - AfxMessageBox( strTemp ); - } - else - { - C7350IntDlg dlg(hCard); - m_pMainWnd = &dlg; - nResponse = dlg.DoModal(); - if (nResponse == IDOK) - { - // TODO: Place code here to handle when the dialog is - // dismissed with OK - } - else if (nResponse == IDCANCEL) - { - // TODO: Place code here to handle when the dialog is - // dismissed with Cancel - } - - if (hCard >= 0) Release_Card(hCard); - } - - } - else if (nResponse == IDCANCEL) - { - // TODO: Place code here to handle when the dialog is - // dismissed with Cancel - } - - - // Since the dialog has been closed, return FALSE so that we exit the - // application, rather than start the application's message pump. - return FALSE; -} diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350_PM_Edge/7350int.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350_PM_Edge/7350int.h deleted file mode 100644 index a422e1f..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350_PM_Edge/7350int.h +++ /dev/null @@ -1,32 +0,0 @@ - -// 7350Int.h : main header file for the PROJECT_NAME application -// - -#pragma once - -#ifndef __AFXWIN_H__ - #error "include 'stdafx.h' before including this file for PCH" -#endif - -#include "resource.h" // main symbols - - -// C7350IntApp: -// See 7350Int.cpp for the implementation of this class -// - -class C7350IntApp : public CWinAppEx -{ -public: - C7350IntApp(); - -// Overrides - public: - virtual BOOL InitInstance(); - -// Implementation - - DECLARE_MESSAGE_MAP() -}; - -extern C7350IntApp theApp; \ No newline at end of file diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350_PM_Edge/7350int.sln b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350_PM_Edge/7350int.sln deleted file mode 100644 index 8e5ebca..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350_PM_Edge/7350int.sln +++ /dev/null @@ -1,20 +0,0 @@ - -Microsoft Visual Studio Solution File, Format Version 10.00 -# Visual Studio 2008 -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "7350Int", "7350Int.vcproj", "{7D5D9EC5-ED97-47EE-B6F4-ACCD71069808}" -EndProject -Global - GlobalSection(SolutionConfigurationPlatforms) = preSolution - Debug|x64 = Debug|x64 - Release|x64 = Release|x64 - EndGlobalSection - GlobalSection(ProjectConfigurationPlatforms) = postSolution - {7D5D9EC5-ED97-47EE-B6F4-ACCD71069808}.Debug|x64.ActiveCfg = Debug|x64 - {7D5D9EC5-ED97-47EE-B6F4-ACCD71069808}.Debug|x64.Build.0 = Debug|x64 - {7D5D9EC5-ED97-47EE-B6F4-ACCD71069808}.Release|x64.ActiveCfg = Release|x64 - {7D5D9EC5-ED97-47EE-B6F4-ACCD71069808}.Release|x64.Build.0 = Release|x64 - EndGlobalSection - GlobalSection(SolutionProperties) = preSolution - HideSolutionNode = FALSE - EndGlobalSection -EndGlobal diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350_PM_Edge/7350int.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350_PM_Edge/7350int.suo deleted file mode 100644 index 8b18ef8..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350_PM_Edge/7350int.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350_PM_Edge/7350int.vcproj b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350_PM_Edge/7350int.vcproj deleted file mode 100644 index 390bc1f..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350_PM_Edge/7350int.vcproj +++ /dev/null @@ -1,286 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350_PM_Edge/7350intDlg.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350_PM_Edge/7350intDlg.cpp deleted file mode 100644 index ff2bbb4..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350_PM_Edge/7350intDlg.cpp +++ /dev/null @@ -1,381 +0,0 @@ - -// 7350IntDlg.cpp : implementation file -// - -#include "stdafx.h" -#include "7350Int.h" -#include "7350IntDlg.h" - -#ifdef _DEBUG -#define new DEBUG_NEW -#endif - - -#define MATCH_PATTERN_PRE 0x1d -#define MATCH_PATTERN_NEW 0x24 - -int gIntCount; -HANDLE ghIntEvent[2]; - -BOOLEAN gbExitThread; -U32 gPMLData = 0; -I16 g_hCard = -1; - -U32 gPMEventOutLen = 100; //100 system clock - 100 * 8 ns - - - -DWORD WINAPI IntThread( LPVOID lpParam ) -{ - I16 err; - - while ( gbExitThread == FALSE ) - { - if ( WaitForSingleObject(ghIntEvent[0], INFINITE) == WAIT_OBJECT_0 ) - { - gIntCount++; - - err = DIO_GetPMLatchData32(g_hCard, 0, &gPMLData); - - /* - * PCI-7350 Pattern Match is a one pulse event, so reconfigure - * and restart is necessary if you want to match a new pattern. - */ - /*Set DI to zero*/ - DO_WritePort(g_hCard, P7350_DIO_A, 0); - Sleep(1); - /*restart Pattern Match*/ - err = DIO_PMControl(g_hCard, 0, PATMATCH_RESTART, &(ghIntEvent[0]), 0); - } - } - - return (DWORD) 0; -} - -// CAboutDlg dialog used for App About - -class CAboutDlg : public CDialog -{ -public: - CAboutDlg(); - -// Dialog Data - enum { IDD = IDD_ABOUTBOX }; - - protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - -// Implementation -protected: - DECLARE_MESSAGE_MAP() -}; - -CAboutDlg::CAboutDlg() : CDialog(CAboutDlg::IDD) -{ -} - -void CAboutDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); -} - -BEGIN_MESSAGE_MAP(CAboutDlg, CDialog) -END_MESSAGE_MAP() - - -// C7350IntDlg dialog - - - - -C7350IntDlg::C7350IntDlg(I16 hCard, CWnd* pParent /*=NULL*/) - : CDialog(C7350IntDlg::IDD, pParent) -{ - m_hIcon = AfxGetApp()->LoadIcon(IDR_MAINFRAME); - - g_hCard = hCard; - m_hThread = NULL; - m_nTimer = -1; - m_dwOutVal = 0x00000000; -} - -void C7350IntDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); -} - -BEGIN_MESSAGE_MAP(C7350IntDlg, CDialog) - ON_WM_SYSCOMMAND() - ON_WM_PAINT() - ON_WM_QUERYDRAGICON() - //}}AFX_MSG_MAP - ON_WM_DESTROY() - ON_WM_TIMER() - ON_BN_CLICKED(IDC_BT_OUTPUT, &C7350IntDlg::OnOutput) -END_MESSAGE_MAP() - - -// C7350IntDlg message handlers - -BOOL C7350IntDlg::OnInitDialog() -{ - CString strTemp; - - CDialog::OnInitDialog(); - - // Add "About..." menu item to system menu. - - // IDM_ABOUTBOX must be in the system command range. - ASSERT((IDM_ABOUTBOX & 0xFFF0) == IDM_ABOUTBOX); - ASSERT(IDM_ABOUTBOX < 0xF000); - - CMenu* pSysMenu = GetSystemMenu(FALSE); - if (pSysMenu != NULL) - { - BOOL bNameValid; - CString strAboutMenu; - bNameValid = strAboutMenu.LoadString(IDS_ABOUTBOX); - ASSERT(bNameValid); - if (!strAboutMenu.IsEmpty()) - { - pSysMenu->AppendMenu(MF_SEPARATOR); - pSysMenu->AppendMenu(MF_STRING, IDM_ABOUTBOX, strAboutMenu); - } - } - - // Set the icon for this dialog. The framework does this automatically - // when the application's main window is not a dialog - SetIcon(m_hIcon, TRUE); // Set big icon - SetIcon(m_hIcon, FALSE); // Set small icon - - strTemp.Format( TEXT("This sample will match the pattern while Port B is changed from 0x%04X to 0x%04X."), MATCH_PATTERN_PRE, MATCH_PATTERN_NEW); - SetDlgItemText( IDC_STATIC_PATTERN, strTemp ); - - // TODO: Add extra initialization here - I16 err; - int vi; - U16 pattern_pre = MATCH_PATTERN_PRE; - U16 pattern_new = MATCH_PATTERN_NEW; - U16 PM_ChnType; - U8 pat_pre, pat_new; - - err = DIO_VoltLevelConfig(g_hCard, P7350_PortDIO, VoltLevel_3R3); - if( err!=NoError ) - { - strTemp.Format( TEXT("DIO_VoltLevelConfig(P7350_PortDIO) Error = %d"), err); - AfxMessageBox( strTemp ); - return TRUE; - } - - err = DIO_VoltLevelConfig(g_hCard, P7350_PortAFI, VoltLevel_3R3); - if(err!=NoError) - { - strTemp.Format( TEXT("DIO_VoltLevelConfig(P7350_PortAFI) Error = %d"), err); - AfxMessageBox( strTemp ); - return TRUE; - } - - /*Configure 7350 DIO Port*/ - err = DIO_PortConfig(g_hCard, P7350_DIO_A, OUTPUT_PORT); - if( err!=NoError ) - { - strTemp.Format( TEXT("DIO_PortConfig(P7350_DIO_A) Error = %d"), err); - AfxMessageBox( strTemp ); - return TRUE; - } - - err = DIO_PortConfig(g_hCard, P7350_DIO_B, INPUT_PORT); - if( err!=NoError ) - { - strTemp.Format( TEXT("DIO_PortConfig(P7350_DIO_B) Error = %d"), err); - AfxMessageBox( strTemp ); - return TRUE; - } - - DO_WritePort(g_hCard, P7350_DIO_A, 0); - Sleep(1); - - - /* - * Configure Pattern Match - */ - for(vi=8; vi<16; vi++) - { - /*Port B: Channel 8~15*/ - pat_pre = ((pattern_pre>>(vi-8))&0x1); - pat_new = ((pattern_new>>(vi-8))&0x1); - if((pat_pre==0)&&(pat_new==0)) - PM_ChnType = PATMATCH_Level_L; - else if((pat_pre==1)&&(pat_new==1)) - PM_ChnType = PATMATCH_Level_H; - else if((pat_pre==0)&&(pat_new==1)) - PM_ChnType = PATMATCH_Edge_R; - else - PM_ChnType = PATMATCH_Edge_F; - err = DIO_PMConfig(g_hCard, vi, PATMATCH_CHNEnable, PM_ChnType); - if( err!=NoError ) - { - strTemp.Format( TEXT("DIO_PMConfig() Error = %d"), err); - AfxMessageBox( strTemp ); - return TRUE; - } - } - - /* - * Start Pattern Match - */ - err = DIO_PMControl(g_hCard, 0, PATMATCH_START, &(ghIntEvent[0]), 0); - if( err!=NoError ) - { - strTemp.Format( TEXT("DIO_PMControl() Error = %d"), err); - AfxMessageBox( strTemp ); - return TRUE; - } - - /* - * Set PM event out to AFI port - */ - err = DIO_7350_AFIConfig(g_hCard, P7350_AFI_0, 1, P7350_AFI_PMTrigOut, gPMEventOutLen); - if( err!=NoError ) - { - strTemp.Format( TEXT("DIO_7350_AFIConfig() Error = %d"), err); - AfxMessageBox( strTemp ); - return TRUE; - } - - gbExitThread = FALSE; - m_hThread = CreateThread( NULL, // default security attributes - 0, // use default stack size - IntThread, // thread function name - NULL, // argument to thread function - 0, // use default creation flags - NULL); // returns the thread identifier - - m_nTimer = SetTimer( 1, 50, NULL ); - - return TRUE; // return TRUE unless you set the focus to a control -} - -void C7350IntDlg::OnSysCommand(UINT nID, LPARAM lParam) -{ - if ((nID & 0xFFF0) == IDM_ABOUTBOX) - { - CAboutDlg dlgAbout; - dlgAbout.DoModal(); - } - else - { - CDialog::OnSysCommand(nID, lParam); - } -} - -// If you add a minimize button to your dialog, you will need the code below -// to draw the icon. For MFC applications using the document/view model, -// this is automatically done for you by the framework. - -void C7350IntDlg::OnPaint() -{ - if (IsIconic()) - { - CPaintDC dc(this); // device context for painting - - SendMessage(WM_ICONERASEBKGND, reinterpret_cast(dc.GetSafeHdc()), 0); - - // Center icon in client rectangle - int cxIcon = GetSystemMetrics(SM_CXICON); - int cyIcon = GetSystemMetrics(SM_CYICON); - CRect rect; - GetClientRect(&rect); - int x = (rect.Width() - cxIcon + 1) / 2; - int y = (rect.Height() - cyIcon + 1) / 2; - - // Draw the icon - dc.DrawIcon(x, y, m_hIcon); - } - else - { - CDialog::OnPaint(); - } -} - -// The system calls this function to obtain the cursor to display while the user drags -// the minimized window. -HCURSOR C7350IntDlg::OnQueryDragIcon() -{ - return static_cast(m_hIcon); -} - - -void C7350IntDlg::OnDestroy() -{ - CDialog::OnDestroy(); - - // TODO: Add your message handler code here - /* - * Stop Pattern Match - */ - int vi; - I16 err; - - err = DIO_PMControl(g_hCard, 0, PATMATCH_STOP, NULL, 0); - - for(vi=8; vi<16; vi++) - { - /*Port B: Channel 8~15*/ - err = DIO_PMConfig(g_hCard, vi, PATMATCH_CHNDisable, 0); - } - - err = DIO_7350_AFIConfig(g_hCard, P7350_AFI_0, 0, 0, 0); - - - if( m_nTimer != -1 ) - { - KillTimer( m_nTimer ); - m_nTimer = -1; - } - - - if( m_hThread != NULL ) - { - gbExitThread = TRUE; // termnate the IntThread - SetEvent( ghIntEvent[0] ); - - if (WaitForSingleObject(m_hThread, 5000) == WAIT_OBJECT_0) - { - CloseHandle( m_hThread ); - m_hThread = NULL; - } - } -} - -void C7350IntDlg::OnTimer(UINT_PTR nIDEvent) -{ - // TODO: Add your message handler code here and/or call default - CString strTemp; - U32 DIRead; - - strTemp.Format( TEXT("INT Count = %d"), gIntCount ); - SetDlgItemText( IDC_STATIC_05, strTemp ); - - DI_ReadPort(g_hCard, P7350_DIO_B, &DIRead); - strTemp.Format( TEXT("Read Data = 0x%08X"), DIRead ); - SetDlgItemText( IDC_STATIC_06, strTemp ); - - strTemp.Format( TEXT("Latched Data = 0x%08X"), gPMLData ); - SetDlgItemText( IDC_STATIC_07, strTemp ); - - - - CDialog::OnTimer(nIDEvent); -} - -void C7350IntDlg::OnOutput() -{ - // TODO: Add your control notification handler code here - m_dwOutVal ++; - if( m_dwOutVal % 2) - DO_WritePort(g_hCard, P7350_DIO_A, MATCH_PATTERN_PRE); - else - DO_WritePort(g_hCard, P7350_DIO_A, MATCH_PATTERN_NEW); - -} diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350_PM_Edge/7350intDlg.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350_PM_Edge/7350intDlg.h deleted file mode 100644 index a5f550e..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350_PM_Edge/7350intDlg.h +++ /dev/null @@ -1,40 +0,0 @@ - -// 7350IntDlg.h : header file -// -#include "Dask64.h" - -#pragma once - - -// C7350IntDlg dialog -class C7350IntDlg : public CDialog -{ -// Construction -public: - C7350IntDlg(I16 hCard, CWnd* pParent = NULL); // standard constructor - -// Dialog Data - enum { IDD = IDD_MY7350INT_DIALOG }; - - protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - - -// Implementation -protected: - HICON m_hIcon; - UINT_PTR m_nTimer; - HANDLE m_hThread; - U32 m_dwOutVal; - - // Generated message map functions - virtual BOOL OnInitDialog(); - afx_msg void OnSysCommand(UINT nID, LPARAM lParam); - afx_msg void OnPaint(); - afx_msg HCURSOR OnQueryDragIcon(); - DECLARE_MESSAGE_MAP() -public: - afx_msg void OnDestroy(); - afx_msg void OnTimer(UINT_PTR nIDEvent); - afx_msg void OnOutput(); -}; diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350_PM_Edge/7432int.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350_PM_Edge/7432int.suo deleted file mode 100644 index 8657213..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350_PM_Edge/7432int.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350_PM_Edge/CardIDDlg.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350_PM_Edge/CardIDDlg.cpp deleted file mode 100644 index 3a55af6..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350_PM_Edge/CardIDDlg.cpp +++ /dev/null @@ -1,67 +0,0 @@ -// CardIDDlg.cpp : implementation file -// - -#include "stdafx.h" -#include "7350Int.h" -#include "CardIDDlg.h" - - -// CCardIDDlg dialog - -IMPLEMENT_DYNAMIC(CCardIDDlg, CDialog) - -CCardIDDlg::CCardIDDlg(int nCardIdx, CWnd* pParent /*=NULL*/) - : CDialog(CCardIDDlg::IDD, pParent) -{ - m_nCardIdx = nCardIdx; -} - -CCardIDDlg::~CCardIDDlg() -{ -} - -void CCardIDDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); - DDX_Control(pDX, IDC_COMBO_CARDID, m_cbCardID); -} - - -BEGIN_MESSAGE_MAP(CCardIDDlg, CDialog) -// ON_CBN_SELCHANGE(IDC_COMBO_CARDID, &CCardIDDlg::OnCbnSelchangeComboCardid) -ON_BN_CLICKED(IDOK, &CCardIDDlg::OnBnClickedOk) -//ON_WM_CTLCOLOR() -END_MESSAGE_MAP() - - -// CCardIDDlg message handlers - - -void CCardIDDlg::OnBnClickedOk() -{ - // TODO: Add your control notification handler code here - -// UpdateData(TRUE); - m_nCardIdx = m_cbCardID.GetCurSel(); - - OnOK(); -} - -BOOL CCardIDDlg::OnInitDialog() -{ - CDialog::OnInitDialog(); - - // TODO: Add extra initialization here - m_cbCardID.SetCurSel( m_nCardIdx ); - - return TRUE; // return TRUE unless you set the focus to a control - // EXCEPTION: OCX Property Pages should return FALSE -} - -// the function to get the selected CardID -int CCardIDDlg::GetCardID(void) -{ - return m_nCardIdx; -} - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350_PM_Edge/CardIDDlg.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350_PM_Edge/CardIDDlg.h deleted file mode 100644 index 54628ea..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350_PM_Edge/CardIDDlg.h +++ /dev/null @@ -1,33 +0,0 @@ -#pragma once -#include "afxwin.h" - - -// CCardIDDlg dialog - -class CCardIDDlg : public CDialog -{ - DECLARE_DYNAMIC(CCardIDDlg) - -public: - CCardIDDlg(int nCardIdx, CWnd* pParent = NULL); // standard constructor - virtual ~CCardIDDlg(); - -// Dialog Data - enum { IDD = IDD_CARDID_DIALOG }; - -protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - - DECLARE_MESSAGE_MAP() -public: -// afx_msg void OnCbnSelchangeComboCardid(); - afx_msg void OnBnClickedOk(); - // the setting of CardID ComboBox - int m_nCardIdx; - virtual BOOL OnInitDialog(); - // the control of CardID ComboBox - CComboBox m_cbCardID; - // the function to get the selected CardID - int GetCardID(void); -// afx_msg HBRUSH OnCtlColor(CDC* pDC, CWnd* pWnd, UINT nCtlColor); -}; diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350_PM_Edge/ReadMe.txt b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350_PM_Edge/ReadMe.txt deleted file mode 100644 index f601cc4..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350_PM_Edge/ReadMe.txt +++ /dev/null @@ -1,93 +0,0 @@ -================================================================================ - MICROSOFT FOUNDATION CLASS LIBRARY : 7350Int Project Overview -=============================================================================== - -The application wizard has created this 7350Int application for -you. This application not only demonstrates the basics of using the Microsoft -Foundation Classes but is also a starting point for writing your application. - -This file contains a summary of what you will find in each of the files that -make up your 7350Int application. - -7350Int.vcproj - This is the main project file for VC++ projects generated using an application wizard. - It contains information about the version of Visual C++ that generated the file, and - information about the platforms, configurations, and project features selected with the - application wizard. - -7350Int.h - This is the main header file for the application. It includes other - project specific headers (including Resource.h) and declares the - C7350IntApp application class. - -7350Int.cpp - This is the main application source file that contains the application - class C7350IntApp. - -7350Int.rc - This is a listing of all of the Microsoft Windows resources that the - program uses. It includes the icons, bitmaps, and cursors that are stored - in the RES subdirectory. This file can be directly edited in Microsoft - Visual C++. Your project resources are in 1033. - -res\7350Int.ico - This is an icon file, which is used as the application's icon. This - icon is included by the main resource file 7350Int.rc. - -res\My7350Int.rc2 - This file contains resources that are not edited by Microsoft - Visual C++. You should place all resources not editable by - the resource editor in this file. - - -///////////////////////////////////////////////////////////////////////////// - -The application wizard creates one dialog class: - -7350IntDlg.h, 7350IntDlg.cpp - the dialog - These files contain your C7350IntDlg class. This class defines - the behavior of your application's main dialog. The dialog's template is - in 7350Int.rc, which can be edited in Microsoft Visual C++. - - -///////////////////////////////////////////////////////////////////////////// - -Other Features: - -ActiveX Controls - The application includes support to use ActiveX controls. - -///////////////////////////////////////////////////////////////////////////// - -Other standard files: - -StdAfx.h, StdAfx.cpp - These files are used to build a precompiled header (PCH) file - named 7350Int.pch and a precompiled types file named StdAfx.obj. - -Resource.h - This is the standard header file, which defines new resource IDs. - Microsoft Visual C++ reads and updates this file. - -7350Int.manifest - Application manifest files are used by Windows XP to describe an applications - dependency on specific versions of Side-by-Side assemblies. The loader uses this - information to load the appropriate assembly from the assembly cache or private - from the application. The Application manifest maybe included for redistribution - as an external .manifest file that is installed in the same folder as the application - executable or it may be included in the executable in the form of a resource. -///////////////////////////////////////////////////////////////////////////// - -Other notes: - -The application wizard uses "TODO:" to indicate parts of the source code you -should add to or customize. - -If your application uses MFC in a shared DLL, you will need -to redistribute the MFC DLLs. If your application is in a language -other than the operating system's locale, you will also have to -redistribute the corresponding localized resources MFC90XXX.DLL. -For more information on both of these topics, please see the section on -redistributing Visual C++ applications in MSDN documentation. - -///////////////////////////////////////////////////////////////////////////// diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350_PM_Edge/res/7350int.ico b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350_PM_Edge/res/7350int.ico deleted file mode 100644 index d56fbcd..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350_PM_Edge/res/7350int.ico and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350_PM_Edge/res/My7350int.rc2 b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350_PM_Edge/res/My7350int.rc2 deleted file mode 100644 index 7bd3593..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350_PM_Edge/res/My7350int.rc2 +++ /dev/null @@ -1,13 +0,0 @@ -// -// My7256int.RC2 - resources Microsoft Visual C++ does not edit directly -// - -#ifdef APSTUDIO_INVOKED -#error this file is not editable by Microsoft Visual C++ -#endif //APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// Add manually edited resources here... - -///////////////////////////////////////////////////////////////////////////// diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350_PM_Edge/resource.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350_PM_Edge/resource.h deleted file mode 100644 index bfe2741..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350_PM_Edge/resource.h +++ /dev/null @@ -1,29 +0,0 @@ -//{{NO_DEPENDENCIES}} -// Microsoft Visual C++ generated include file. -// Used by 7350Int.rc -// -#define IDM_ABOUTBOX 0x0010 -#define IDD_ABOUTBOX 100 -#define IDS_ABOUTBOX 101 -#define IDD_MY7350INT_DIALOG 102 -#define IDR_MAINFRAME 128 -#define IDD_CARDID_DIALOG 129 -#define IDC_COMBO_CARDID 1000 -#define IDC_BUTTON1 1000 -#define IDC_BT_OUTPUT 1000 -#define IDC_STATIC_PATTERN 1001 -#define IDC_STATIC_05 1007 -#define IDC_STATIC_06 1008 -#define IDC_STATIC_07 1009 -#define IDC_STATIC_01 1014 - -// Next default values for new objects -// -#ifdef APSTUDIO_INVOKED -#ifndef APSTUDIO_READONLY_SYMBOLS -#define _APS_NEXT_RESOURCE_VALUE 131 -#define _APS_NEXT_COMMAND_VALUE 32771 -#define _APS_NEXT_CONTROL_VALUE 1002 -#define _APS_NEXT_SYMED_VALUE 101 -#endif -#endif diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350_PM_Edge/stdafx.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350_PM_Edge/stdafx.cpp deleted file mode 100644 index bfa88a1..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350_PM_Edge/stdafx.cpp +++ /dev/null @@ -1,8 +0,0 @@ - -// stdafx.cpp : source file that includes just the standard includes -// 7350Int.pch will be the pre-compiled header -// stdafx.obj will contain the pre-compiled type information - -#include "stdafx.h" - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350_PM_Edge/stdafx.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350_PM_Edge/stdafx.h deleted file mode 100644 index 12123e2..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350_PM_Edge/stdafx.h +++ /dev/null @@ -1,60 +0,0 @@ - -// stdafx.h : include file for standard system include files, -// or project specific include files that are used frequently, -// but are changed infrequently - -#pragma once - -#ifndef _SECURE_ATL -#define _SECURE_ATL 1 -#endif - -#ifndef VC_EXTRALEAN -#define VC_EXTRALEAN // Exclude rarely-used stuff from Windows headers -#endif - -#include "targetver.h" - -#define _ATL_CSTRING_EXPLICIT_CONSTRUCTORS // some CString constructors will be explicit - -// turns off MFC's hiding of some common and often safely ignored warning messages -#define _AFX_ALL_WARNINGS - -#include // MFC core and standard components -#include // MFC extensions - - -#include // MFC Automation classes - - - -#ifndef _AFX_NO_OLE_SUPPORT -#include // MFC support for Internet Explorer 4 Common Controls -#endif -#ifndef _AFX_NO_AFXCMN_SUPPORT -#include // MFC support for Windows Common Controls -#endif // _AFX_NO_AFXCMN_SUPPORT - -#include // MFC support for ribbons and control bars - - - - - - - - - -#ifdef _UNICODE -#if defined _M_IX86 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='x86' publicKeyToken='6595b64144ccf1df' language='*'\"") -#elif defined _M_IA64 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='ia64' publicKeyToken='6595b64144ccf1df' language='*'\"") -#elif defined _M_X64 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='amd64' publicKeyToken='6595b64144ccf1df' language='*'\"") -#else -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='*' publicKeyToken='6595b64144ccf1df' language='*'\"") -#endif -#endif - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350_PM_Edge/targetver.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350_PM_Edge/targetver.h deleted file mode 100644 index 11730d5..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350_PM_Edge/targetver.h +++ /dev/null @@ -1,26 +0,0 @@ - -#pragma once - -// The following macros define the minimum required platform. The minimum required platform -// is the earliest version of Windows, Internet Explorer etc. that has the necessary features to run -// your application. The macros work by enabling all features available on platform versions up to and -// including the version specified. - -// Modify the following defines if you have to target a platform prior to the ones specified below. -// Refer to MSDN for the latest info on corresponding values for different platforms. -#ifndef WINVER // Specifies that the minimum required platform is Windows Vista. -#define WINVER 0x0600 // Change this to the appropriate value to target other versions of Windows. -#endif - -#ifndef _WIN32_WINNT // Specifies that the minimum required platform is Windows Vista. -#define _WIN32_WINNT 0x0600 // Change this to the appropriate value to target other versions of Windows. -#endif - -#ifndef _WIN32_WINDOWS // Specifies that the minimum required platform is Windows 98. -#define _WIN32_WINDOWS 0x0410 // Change this to the appropriate value to target Windows Me or later. -#endif - -#ifndef _WIN32_IE // Specifies that the minimum required platform is Internet Explorer 7.0. -#define _WIN32_IE 0x0700 // Change this to the appropriate value to target other versions of IE. -#endif - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350_PM_Level/7230int.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350_PM_Level/7230int.suo deleted file mode 100644 index cc096dc..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350_PM_Level/7230int.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350_PM_Level/7256int.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350_PM_Level/7256int.suo deleted file mode 100644 index 494d925..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350_PM_Level/7256int.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350_PM_Level/7258int.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350_PM_Level/7258int.suo deleted file mode 100644 index ea9e48d..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350_PM_Level/7258int.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350_PM_Level/7350Int.rc b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350_PM_Level/7350Int.rc deleted file mode 100644 index 3372d01..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350_PM_Level/7350Int.rc +++ /dev/null @@ -1,263 +0,0 @@ -// Microsoft Visual C++ generated resource script. -// -#include "resource.h" - -#define APSTUDIO_READONLY_SYMBOLS -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 2 resource. -// -#ifndef APSTUDIO_INVOKED -#include "targetver.h" -#endif -#include "afxres.h" - -///////////////////////////////////////////////////////////////////////////// -#undef APSTUDIO_READONLY_SYMBOLS - -///////////////////////////////////////////////////////////////////////////// -// Chinese (Taiwan) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_CHT) -#ifdef _WIN32 -LANGUAGE LANG_CHINESE, SUBLANG_CHINESE_TRADITIONAL -#pragma code_page(950) -#endif //_WIN32 - -#ifdef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// TEXTINCLUDE -// - -1 TEXTINCLUDE -BEGIN - "resource.h\0" -END - -2 TEXTINCLUDE -BEGIN - "#ifndef APSTUDIO_INVOKED\r\n" - "#include ""targetver.h""\r\n" - "#endif\r\n" - "#include ""afxres.h""\r\n" - "\0" -END - -3 TEXTINCLUDE -BEGIN - "#define _AFX_NO_SPLITTER_RESOURCES\r\n" - "#define _AFX_NO_OLE_RESOURCES\r\n" - "#define _AFX_NO_TRACKER_RESOURCES\r\n" - "#define _AFX_NO_PROPERTY_RESOURCES\r\n" - "\r\n" - "#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)\r\n" - "LANGUAGE 9, 1\r\n" - "#pragma code_page(1252)\r\n" - "#include ""res\\My7350Int.rc2"" // non-Microsoft Visual C++ edited resources\r\n" - "#include ""afxres.rc"" // Standard components\r\n" - "#endif\r\n" - "\0" -END - -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// Icon -// - -// Icon with lowest ID value placed first to ensure application icon -// remains consistent on all systems. -IDR_MAINFRAME ICON "res\\7350Int.ico" -#endif // Chinese (Taiwan) resources -///////////////////////////////////////////////////////////////////////////// - - -///////////////////////////////////////////////////////////////////////////// -// English (U.S.) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -#ifdef _WIN32 -LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US -#pragma code_page(1252) -#endif //_WIN32 - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog -// - -IDD_ABOUTBOX DIALOGEX 0, 0, 170, 62 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "About 7350Int" -FONT 8, "MS Shell Dlg", 0, 0, 0x1 -BEGIN - ICON IDR_MAINFRAME,IDC_STATIC,14,14,21,20 - LTEXT "7350Int, Version 1.0",IDC_STATIC,42,14,114,8,SS_NOPREFIX - LTEXT "Copyright (C) 2010",IDC_STATIC,42,26,114,8 - DEFPUSHBUTTON "OK",IDOK,113,41,50,14,WS_GROUP -END - -IDD_MY7350INT_DIALOG DIALOGEX 0, 0, 236, 163 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU -EXSTYLE WS_EX_APPWINDOW -CAPTION "PCI-7350 Interrupt Sample" -FONT 8, "MS Shell Dlg", 0, 0, 0x1 -BEGIN - LTEXT "This sample performs pattern match (edge mode) functionality. DIO Port A is configured as a DO port while Port B is configured as a DI Port.",IDC_STATIC,9,4,221,24 - LTEXT "INT Count =",IDC_STATIC_05,54,119,85,13 - PUSHBUTTON "Output",IDC_BT_OUTPUT,55,136,84,18 - LTEXT "Read Data =",IDC_STATIC_06,54,83,151,13 - LTEXT "Signal will be asserted and a 800 ns pulse will be generated to AFI0 while thethe set pattern is matched..",IDC_STATIC,11,34,219,24 - LTEXT "Latched Data =",IDC_STATIC_07,53,101,121,13 - LTEXT "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",IDC_STATIC_PATTERN,11,56,219,22 -END - -IDD_CARDID_DIALOG DIALOGEX 0, 0, 163, 88 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "Card ID" -FONT 8, "MS Shell Dlg", 400, 0, 0x1 -BEGIN - COMBOBOX IDC_COMBO_CARDID,73,17,71,126,CBS_DROPDOWN | WS_VSCROLL | WS_TABSTOP - LTEXT "Card Number",IDC_STATIC_01,19,18,46,12 - PUSHBUTTON "OK",IDOK,20,50,58,19 - PUSHBUTTON "CANCEL",IDCANCEL,84,50,58,19 -END - - -///////////////////////////////////////////////////////////////////////////// -// -// Version -// - -VS_VERSION_INFO VERSIONINFO - FILEVERSION 1,0,0,1 - PRODUCTVERSION 1,0,0,1 - FILEFLAGSMASK 0x3fL -#ifdef _DEBUG - FILEFLAGS 0x1L -#else - FILEFLAGS 0x0L -#endif - FILEOS 0x4L - FILETYPE 0x1L - FILESUBTYPE 0x0L -BEGIN - BLOCK "StringFileInfo" - BEGIN - BLOCK "040904e4" - BEGIN - VALUE "CompanyName", "TODO: " - VALUE "FileDescription", "TODO: " - VALUE "FileVersion", "1.0.0.1" - VALUE "InternalName", "7350Int.exe" - VALUE "LegalCopyright", "TODO: (c) . All rights reserved." - VALUE "OriginalFilename", "7350Int.exe" - VALUE "ProductName", "TODO: " - VALUE "ProductVersion", "1.0.0.1" - END - END - BLOCK "VarFileInfo" - BEGIN - VALUE "Translation", 0x409, 1252 - END -END - - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog Info -// - -IDD_CARDID_DIALOG DLGINIT -BEGIN - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0030, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0031, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0032, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0033, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0034, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0035, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0036, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0037, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0038, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0039, - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3031, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3131, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3231, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3331, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3431, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3531, "\000" - 0 -END - - -///////////////////////////////////////////////////////////////////////////// -// -// DESIGNINFO -// - -#ifdef APSTUDIO_INVOKED -GUIDELINES DESIGNINFO -BEGIN - IDD_MY7350INT_DIALOG, DIALOG - BEGIN - RIGHTMARGIN, 230 - BOTTOMMARGIN, 158 - END -END -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// String Table -// - -STRINGTABLE -BEGIN - IDS_ABOUTBOX "&About 7350Int..." -END - -#endif // English (U.S.) resources -///////////////////////////////////////////////////////////////////////////// - - - -#ifndef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 3 resource. -// -#define _AFX_NO_SPLITTER_RESOURCES -#define _AFX_NO_OLE_RESOURCES -#define _AFX_NO_TRACKER_RESOURCES -#define _AFX_NO_PROPERTY_RESOURCES - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -LANGUAGE 9, 1 -#pragma code_page(1252) -#include "res\My7350Int.rc2" // non-Microsoft Visual C++ edited resources -#include "afxres.rc" // Standard components -#endif - -///////////////////////////////////////////////////////////////////////////// -#endif // not APSTUDIO_INVOKED - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350_PM_Level/7350int.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350_PM_Level/7350int.cpp deleted file mode 100644 index 76aaa2c..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350_PM_Level/7350int.cpp +++ /dev/null @@ -1,110 +0,0 @@ - -// 7350Int.cpp : Defines the class behaviors for the application. -// - -#include "stdafx.h" -#include "7350Int.h" -#include "7350IntDlg.h" -#include "CardIDDlg.h" - -#ifdef _DEBUG -#define new DEBUG_NEW -#endif - - -// C7350IntApp - -BEGIN_MESSAGE_MAP(C7350IntApp, CWinAppEx) - ON_COMMAND(ID_HELP, &CWinApp::OnHelp) -END_MESSAGE_MAP() - - -// C7350IntApp construction - -C7350IntApp::C7350IntApp() -{ - // TODO: add construction code here, - // Place all significant initialization in InitInstance -} - - -// The one and only C7350IntApp object - -C7350IntApp theApp; - - -// C7350IntApp initialization - -BOOL C7350IntApp::InitInstance() -{ - int nCardID = 0; - I16 hCard; - CString strTemp; - INT_PTR nResponse; - - // InitCommonControlsEx() is required on Windows XP if an application - // manifest specifies use of ComCtl32.dll version 6 or later to enable - // visual styles. Otherwise, any window creation will fail. - INITCOMMONCONTROLSEX InitCtrls; - InitCtrls.dwSize = sizeof(InitCtrls); - // Set this to include all the common control classes you want to use - // in your application. - InitCtrls.dwICC = ICC_WIN95_CLASSES; - InitCommonControlsEx(&InitCtrls); - - CWinAppEx::InitInstance(); - - AfxEnableControlContainer(); - - // Standard initialization - // If you are not using these features and wish to reduce the size - // of your final executable, you should remove from the following - // the specific initialization routines you do not need - // Change the registry key under which our settings are stored - // TODO: You should modify this string to be something appropriate - // such as the name of your company or organization - SetRegistryKey(_T("Local AppWizard-Generated Applications")); - - CCardIDDlg CardDlg( nCardID ); - - nResponse = CardDlg.DoModal(); - if (nResponse == IDOK) - { - nCardID = CardDlg.GetCardID(); - - if ((hCard=Register_Card(PCI_7350, nCardID)) < 0) - { - strTemp.Format( TEXT("Register_Card Error = %d"), hCard); - AfxMessageBox( strTemp ); - } - else - { - C7350IntDlg dlg(hCard); - m_pMainWnd = &dlg; - nResponse = dlg.DoModal(); - if (nResponse == IDOK) - { - // TODO: Place code here to handle when the dialog is - // dismissed with OK - } - else if (nResponse == IDCANCEL) - { - // TODO: Place code here to handle when the dialog is - // dismissed with Cancel - } - - if (hCard >= 0) Release_Card(hCard); - } - - } - else if (nResponse == IDCANCEL) - { - // TODO: Place code here to handle when the dialog is - // dismissed with Cancel - } - - - // Since the dialog has been closed, return FALSE so that we exit the - // application, rather than start the application's message pump. - return FALSE; -} diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350_PM_Level/7350int.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350_PM_Level/7350int.h deleted file mode 100644 index a422e1f..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350_PM_Level/7350int.h +++ /dev/null @@ -1,32 +0,0 @@ - -// 7350Int.h : main header file for the PROJECT_NAME application -// - -#pragma once - -#ifndef __AFXWIN_H__ - #error "include 'stdafx.h' before including this file for PCH" -#endif - -#include "resource.h" // main symbols - - -// C7350IntApp: -// See 7350Int.cpp for the implementation of this class -// - -class C7350IntApp : public CWinAppEx -{ -public: - C7350IntApp(); - -// Overrides - public: - virtual BOOL InitInstance(); - -// Implementation - - DECLARE_MESSAGE_MAP() -}; - -extern C7350IntApp theApp; \ No newline at end of file diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350_PM_Level/7350int.sln b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350_PM_Level/7350int.sln deleted file mode 100644 index 8e5ebca..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350_PM_Level/7350int.sln +++ /dev/null @@ -1,20 +0,0 @@ - -Microsoft Visual Studio Solution File, Format Version 10.00 -# Visual Studio 2008 -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "7350Int", "7350Int.vcproj", "{7D5D9EC5-ED97-47EE-B6F4-ACCD71069808}" -EndProject -Global - GlobalSection(SolutionConfigurationPlatforms) = preSolution - Debug|x64 = Debug|x64 - Release|x64 = Release|x64 - EndGlobalSection - GlobalSection(ProjectConfigurationPlatforms) = postSolution - {7D5D9EC5-ED97-47EE-B6F4-ACCD71069808}.Debug|x64.ActiveCfg = Debug|x64 - {7D5D9EC5-ED97-47EE-B6F4-ACCD71069808}.Debug|x64.Build.0 = Debug|x64 - {7D5D9EC5-ED97-47EE-B6F4-ACCD71069808}.Release|x64.ActiveCfg = Release|x64 - {7D5D9EC5-ED97-47EE-B6F4-ACCD71069808}.Release|x64.Build.0 = Release|x64 - EndGlobalSection - GlobalSection(SolutionProperties) = preSolution - HideSolutionNode = FALSE - EndGlobalSection -EndGlobal diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350_PM_Level/7350int.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350_PM_Level/7350int.suo deleted file mode 100644 index 20ea01d..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350_PM_Level/7350int.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350_PM_Level/7350int.vcproj b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350_PM_Level/7350int.vcproj deleted file mode 100644 index 390bc1f..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350_PM_Level/7350int.vcproj +++ /dev/null @@ -1,286 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350_PM_Level/7350intDlg.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350_PM_Level/7350intDlg.cpp deleted file mode 100644 index dc0d617..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350_PM_Level/7350intDlg.cpp +++ /dev/null @@ -1,410 +0,0 @@ - -// 7350IntDlg.cpp : implementation file -// - -#include "stdafx.h" -#include "7350Int.h" -#include "7350IntDlg.h" - -#ifdef _DEBUG -#define new DEBUG_NEW -#endif - -#define MATCH_PATTERN 0x2F01 - -int gIntCount; -HANDLE ghIntEvent[2]; - -BOOLEAN gbExitThread; -U32 gPMLData = 0; -I16 g_hCard = -1; - -U32 gPMEventOutLen = 100; //100 system clock - 100 * 8 ns - - - -DWORD WINAPI IntThread( LPVOID lpParam ) -{ - I16 err; - - while ( gbExitThread == FALSE ) - { - if ( WaitForSingleObject(ghIntEvent[0], INFINITE) == WAIT_OBJECT_0 ) - { - gIntCount++; - - err = DIO_GetPMLatchData32(g_hCard, 0, &gPMLData); - - /* - * PCI-7350 Pattern Match is a one pulse event, so reconfigure - * and restart is necessary if you want to match a new pattern. - */ - /*Set DI to zero*/ - DO_WritePort(g_hCard, P7350_DIO_A, 0); - DO_WritePort(g_hCard, P7350_DIO_C, 0); - Sleep(1); - - - /*restart Pattern Match*/ - err = DIO_PMControl(g_hCard, 0, PATMATCH_RESTART, &(ghIntEvent[0]), 0); - } - } - - return (DWORD) 0; -} - -// CAboutDlg dialog used for App About - -class CAboutDlg : public CDialog -{ -public: - CAboutDlg(); - -// Dialog Data - enum { IDD = IDD_ABOUTBOX }; - - protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - -// Implementation -protected: - DECLARE_MESSAGE_MAP() -}; - -CAboutDlg::CAboutDlg() : CDialog(CAboutDlg::IDD) -{ -} - -void CAboutDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); -} - -BEGIN_MESSAGE_MAP(CAboutDlg, CDialog) -END_MESSAGE_MAP() - - -// C7350IntDlg dialog - - - - -C7350IntDlg::C7350IntDlg(I16 hCard, CWnd* pParent /*=NULL*/) - : CDialog(C7350IntDlg::IDD, pParent) -{ - m_hIcon = AfxGetApp()->LoadIcon(IDR_MAINFRAME); - - g_hCard = hCard; - m_hThread = NULL; - m_nTimer = -1; - m_dwOutVal = 0x00000000; -} - -void C7350IntDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); -} - -BEGIN_MESSAGE_MAP(C7350IntDlg, CDialog) - ON_WM_SYSCOMMAND() - ON_WM_PAINT() - ON_WM_QUERYDRAGICON() - //}}AFX_MSG_MAP - ON_WM_DESTROY() - ON_WM_TIMER() - ON_BN_CLICKED(IDC_BT_OUTPUT, &C7350IntDlg::OnOutput) -END_MESSAGE_MAP() - - -// C7350IntDlg message handlers - -BOOL C7350IntDlg::OnInitDialog() -{ - CString strTemp; - - CDialog::OnInitDialog(); - - // Add "About..." menu item to system menu. - - // IDM_ABOUTBOX must be in the system command range. - ASSERT((IDM_ABOUTBOX & 0xFFF0) == IDM_ABOUTBOX); - ASSERT(IDM_ABOUTBOX < 0xF000); - - CMenu* pSysMenu = GetSystemMenu(FALSE); - if (pSysMenu != NULL) - { - BOOL bNameValid; - CString strAboutMenu; - bNameValid = strAboutMenu.LoadString(IDS_ABOUTBOX); - ASSERT(bNameValid); - if (!strAboutMenu.IsEmpty()) - { - pSysMenu->AppendMenu(MF_SEPARATOR); - pSysMenu->AppendMenu(MF_STRING, IDM_ABOUTBOX, strAboutMenu); - } - } - - // Set the icon for this dialog. The framework does this automatically - // when the application's main window is not a dialog - SetIcon(m_hIcon, TRUE); // Set big icon - SetIcon(m_hIcon, FALSE); // Set small icon - - strTemp.Format( TEXT("This sample will match the pattern: 0x%x from Port B/D."), MATCH_PATTERN); - SetDlgItemText( IDC_STATIC_PATTERN, strTemp ); - - // TODO: Add extra initialization here - I16 err; - int vi; - U16 pattern = MATCH_PATTERN; - U16 PM_ChnType; - - err = DIO_VoltLevelConfig(g_hCard, P7350_PortDIO, VoltLevel_3R3); - if( err!=NoError ) - { - strTemp.Format( TEXT("DIO_VoltLevelConfig(P7350_PortDIO) Error = %d"), err); - AfxMessageBox( strTemp ); - return TRUE; - } - - err = DIO_VoltLevelConfig(g_hCard, P7350_PortAFI, VoltLevel_3R3); - if(err!=NoError) - { - strTemp.Format( TEXT("DIO_VoltLevelConfig(P7350_PortAFI) Error = %d"), err); - AfxMessageBox( strTemp ); - return TRUE; - } - - /*Configure 7350 DIO Port*/ - err = DIO_PortConfig(g_hCard, P7350_DIO_A, OUTPUT_PORT); - if( err!=NoError ) - { - strTemp.Format( TEXT("DIO_PortConfig(P7350_DIO_A) Error = %d"), err); - AfxMessageBox( strTemp ); - return TRUE; - } - - err = DIO_PortConfig(g_hCard, P7350_DIO_B, INPUT_PORT); - if( err!=NoError ) - { - strTemp.Format( TEXT("DIO_PortConfig(P7350_DIO_B) Error = %d"), err); - AfxMessageBox( strTemp ); - return TRUE; - } - - err = DIO_PortConfig(g_hCard, P7350_DIO_C, OUTPUT_PORT); - if( err!=NoError ) - { - strTemp.Format( TEXT("DIO_PortConfig(P7350_DIO_C) Error = %d"), err); - AfxMessageBox( strTemp ); - return TRUE; - } - - err = DIO_PortConfig(g_hCard, P7350_DIO_D, INPUT_PORT); - if( err!=NoError ) - { - strTemp.Format( TEXT("DIO_PortConfig(P7350_DIO_D) Error = %d"), err); - AfxMessageBox( strTemp ); - return TRUE; - } - - DO_WritePort(g_hCard, P7350_DIO_A, 0); - DO_WritePort(g_hCard, P7350_DIO_C, 0); - Sleep(1); - - - /* - * Configure Pattern Match - */ - for(vi=8; vi<16; vi++) - { - /*Port B: Channel 8~15*/ - PM_ChnType = ((pattern>>(vi-8))&0x1)? PATMATCH_Level_H:PATMATCH_Level_L; - err = DIO_PMConfig(g_hCard, vi, PATMATCH_CHNEnable, PM_ChnType); - if( err!=NoError ) - { - strTemp.Format( TEXT("DIO_PMConfig() Error = %d"), err); - AfxMessageBox( strTemp ); - return TRUE; - } - } - - for(vi=24; vi<32; vi++){ - /*Port D: Channel 24~31*/ - PM_ChnType = ((pattern>>(vi-16))&0x1)? PATMATCH_Level_H:PATMATCH_Level_L; - err = DIO_PMConfig(g_hCard, vi, PATMATCH_CHNEnable, PM_ChnType); - if( err!=NoError ) - { - strTemp.Format( TEXT("DIO_PMConfig() Error = %d"), err); - AfxMessageBox( strTemp ); - return TRUE; - } - } - - /* - * Start Pattern Match - */ - err = DIO_PMControl(g_hCard, 0, PATMATCH_START, &(ghIntEvent[0]), 0); - if( err!=NoError ) - { - strTemp.Format( TEXT("DIO_PMControl() Error = %d"), err); - AfxMessageBox( strTemp ); - return TRUE; - } - - /* - * Set PM event out to AFI port - */ - err = DIO_7350_AFIConfig(g_hCard, P7350_AFI_0, 1, P7350_AFI_PMTrigOut, gPMEventOutLen); - if( err!=NoError ) - { - strTemp.Format( TEXT("DIO_7350_AFIConfig() Error = %d"), err); - AfxMessageBox( strTemp ); - return TRUE; - } - - gbExitThread = FALSE; - m_hThread = CreateThread( NULL, // default security attributes - 0, // use default stack size - IntThread, // thread function name - NULL, // argument to thread function - 0, // use default creation flags - NULL); // returns the thread identifier - - m_nTimer = SetTimer( 1, 50, NULL ); - - return TRUE; // return TRUE unless you set the focus to a control -} - -void C7350IntDlg::OnSysCommand(UINT nID, LPARAM lParam) -{ - if ((nID & 0xFFF0) == IDM_ABOUTBOX) - { - CAboutDlg dlgAbout; - dlgAbout.DoModal(); - } - else - { - CDialog::OnSysCommand(nID, lParam); - } -} - -// If you add a minimize button to your dialog, you will need the code below -// to draw the icon. For MFC applications using the document/view model, -// this is automatically done for you by the framework. - -void C7350IntDlg::OnPaint() -{ - if (IsIconic()) - { - CPaintDC dc(this); // device context for painting - - SendMessage(WM_ICONERASEBKGND, reinterpret_cast(dc.GetSafeHdc()), 0); - - // Center icon in client rectangle - int cxIcon = GetSystemMetrics(SM_CXICON); - int cyIcon = GetSystemMetrics(SM_CYICON); - CRect rect; - GetClientRect(&rect); - int x = (rect.Width() - cxIcon + 1) / 2; - int y = (rect.Height() - cyIcon + 1) / 2; - - // Draw the icon - dc.DrawIcon(x, y, m_hIcon); - } - else - { - CDialog::OnPaint(); - } -} - -// The system calls this function to obtain the cursor to display while the user drags -// the minimized window. -HCURSOR C7350IntDlg::OnQueryDragIcon() -{ - return static_cast(m_hIcon); -} - - -void C7350IntDlg::OnDestroy() -{ - CDialog::OnDestroy(); - - // TODO: Add your message handler code here - /* - * Stop Pattern Match - */ - int vi; - I16 err; - - err = DIO_PMControl(g_hCard, 0, PATMATCH_STOP, NULL, 0); - - for(vi=8; vi<16; vi++) - { - /*Port B: Channel 8~15*/ - err = DIO_PMConfig(g_hCard, vi, PATMATCH_CHNDisable, 0); - } - - for(vi=24; vi<32; vi++) - { - /*Port D: Channel 24~31*/ - err = DIO_PMConfig(g_hCard, vi, PATMATCH_CHNDisable, 0); - } - - err = DIO_7350_AFIConfig(g_hCard, P7350_AFI_0, 0, 0, 0); - - if( m_nTimer != -1 ) - { - KillTimer( m_nTimer ); - m_nTimer = -1; - } - - - if( m_hThread != NULL ) - { - gbExitThread = TRUE; // termnate the IntThread - SetEvent( ghIntEvent[0] ); - - if (WaitForSingleObject(m_hThread, 5000) == WAIT_OBJECT_0) - { - CloseHandle( m_hThread ); - m_hThread = NULL; - } - } -} - -void C7350IntDlg::OnTimer(UINT_PTR nIDEvent) -{ - // TODO: Add your message handler code here and/or call default - CString strTemp; - U32 DIRead1, DIRead2; - - strTemp.Format( TEXT("INT Count = %d"), gIntCount ); - SetDlgItemText( IDC_STATIC_05, strTemp ); - - DI_ReadPort(g_hCard, P7350_DIO_B, &DIRead1); - DI_ReadPort(g_hCard, P7350_DIO_D, &DIRead2); - strTemp.Format( TEXT("Read Data = Port B: 0x%02X, Port D: 0x%02X"), DIRead1, DIRead2 ); - SetDlgItemText( IDC_STATIC_06, strTemp ); - - strTemp.Format( TEXT("Latched Data = 0x%08X"), gPMLData ); - SetDlgItemText( IDC_STATIC_07, strTemp ); - - CDialog::OnTimer(nIDEvent); -} - -void C7350IntDlg::OnOutput() -{ - // TODO: Add your control notification handler code here - m_dwOutVal ++; - if( m_dwOutVal % 2) - { - DO_WritePort(g_hCard, P7350_DIO_A, 0x55); - DO_WritePort(g_hCard, P7350_DIO_C, 0xAA); - } - else - { - DO_WritePort(g_hCard, P7350_DIO_A, MATCH_PATTERN & 0xff); - DO_WritePort(g_hCard, P7350_DIO_C, (MATCH_PATTERN>>8)&0xff); - } - -} diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350_PM_Level/7350intDlg.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350_PM_Level/7350intDlg.h deleted file mode 100644 index a5f550e..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350_PM_Level/7350intDlg.h +++ /dev/null @@ -1,40 +0,0 @@ - -// 7350IntDlg.h : header file -// -#include "Dask64.h" - -#pragma once - - -// C7350IntDlg dialog -class C7350IntDlg : public CDialog -{ -// Construction -public: - C7350IntDlg(I16 hCard, CWnd* pParent = NULL); // standard constructor - -// Dialog Data - enum { IDD = IDD_MY7350INT_DIALOG }; - - protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - - -// Implementation -protected: - HICON m_hIcon; - UINT_PTR m_nTimer; - HANDLE m_hThread; - U32 m_dwOutVal; - - // Generated message map functions - virtual BOOL OnInitDialog(); - afx_msg void OnSysCommand(UINT nID, LPARAM lParam); - afx_msg void OnPaint(); - afx_msg HCURSOR OnQueryDragIcon(); - DECLARE_MESSAGE_MAP() -public: - afx_msg void OnDestroy(); - afx_msg void OnTimer(UINT_PTR nIDEvent); - afx_msg void OnOutput(); -}; diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350_PM_Level/7432int.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350_PM_Level/7432int.suo deleted file mode 100644 index 8657213..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350_PM_Level/7432int.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350_PM_Level/CardIDDlg.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350_PM_Level/CardIDDlg.cpp deleted file mode 100644 index 3a55af6..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350_PM_Level/CardIDDlg.cpp +++ /dev/null @@ -1,67 +0,0 @@ -// CardIDDlg.cpp : implementation file -// - -#include "stdafx.h" -#include "7350Int.h" -#include "CardIDDlg.h" - - -// CCardIDDlg dialog - -IMPLEMENT_DYNAMIC(CCardIDDlg, CDialog) - -CCardIDDlg::CCardIDDlg(int nCardIdx, CWnd* pParent /*=NULL*/) - : CDialog(CCardIDDlg::IDD, pParent) -{ - m_nCardIdx = nCardIdx; -} - -CCardIDDlg::~CCardIDDlg() -{ -} - -void CCardIDDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); - DDX_Control(pDX, IDC_COMBO_CARDID, m_cbCardID); -} - - -BEGIN_MESSAGE_MAP(CCardIDDlg, CDialog) -// ON_CBN_SELCHANGE(IDC_COMBO_CARDID, &CCardIDDlg::OnCbnSelchangeComboCardid) -ON_BN_CLICKED(IDOK, &CCardIDDlg::OnBnClickedOk) -//ON_WM_CTLCOLOR() -END_MESSAGE_MAP() - - -// CCardIDDlg message handlers - - -void CCardIDDlg::OnBnClickedOk() -{ - // TODO: Add your control notification handler code here - -// UpdateData(TRUE); - m_nCardIdx = m_cbCardID.GetCurSel(); - - OnOK(); -} - -BOOL CCardIDDlg::OnInitDialog() -{ - CDialog::OnInitDialog(); - - // TODO: Add extra initialization here - m_cbCardID.SetCurSel( m_nCardIdx ); - - return TRUE; // return TRUE unless you set the focus to a control - // EXCEPTION: OCX Property Pages should return FALSE -} - -// the function to get the selected CardID -int CCardIDDlg::GetCardID(void) -{ - return m_nCardIdx; -} - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350_PM_Level/CardIDDlg.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350_PM_Level/CardIDDlg.h deleted file mode 100644 index 54628ea..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350_PM_Level/CardIDDlg.h +++ /dev/null @@ -1,33 +0,0 @@ -#pragma once -#include "afxwin.h" - - -// CCardIDDlg dialog - -class CCardIDDlg : public CDialog -{ - DECLARE_DYNAMIC(CCardIDDlg) - -public: - CCardIDDlg(int nCardIdx, CWnd* pParent = NULL); // standard constructor - virtual ~CCardIDDlg(); - -// Dialog Data - enum { IDD = IDD_CARDID_DIALOG }; - -protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - - DECLARE_MESSAGE_MAP() -public: -// afx_msg void OnCbnSelchangeComboCardid(); - afx_msg void OnBnClickedOk(); - // the setting of CardID ComboBox - int m_nCardIdx; - virtual BOOL OnInitDialog(); - // the control of CardID ComboBox - CComboBox m_cbCardID; - // the function to get the selected CardID - int GetCardID(void); -// afx_msg HBRUSH OnCtlColor(CDC* pDC, CWnd* pWnd, UINT nCtlColor); -}; diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350_PM_Level/ReadMe.txt b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350_PM_Level/ReadMe.txt deleted file mode 100644 index f601cc4..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350_PM_Level/ReadMe.txt +++ /dev/null @@ -1,93 +0,0 @@ -================================================================================ - MICROSOFT FOUNDATION CLASS LIBRARY : 7350Int Project Overview -=============================================================================== - -The application wizard has created this 7350Int application for -you. This application not only demonstrates the basics of using the Microsoft -Foundation Classes but is also a starting point for writing your application. - -This file contains a summary of what you will find in each of the files that -make up your 7350Int application. - -7350Int.vcproj - This is the main project file for VC++ projects generated using an application wizard. - It contains information about the version of Visual C++ that generated the file, and - information about the platforms, configurations, and project features selected with the - application wizard. - -7350Int.h - This is the main header file for the application. It includes other - project specific headers (including Resource.h) and declares the - C7350IntApp application class. - -7350Int.cpp - This is the main application source file that contains the application - class C7350IntApp. - -7350Int.rc - This is a listing of all of the Microsoft Windows resources that the - program uses. It includes the icons, bitmaps, and cursors that are stored - in the RES subdirectory. This file can be directly edited in Microsoft - Visual C++. Your project resources are in 1033. - -res\7350Int.ico - This is an icon file, which is used as the application's icon. This - icon is included by the main resource file 7350Int.rc. - -res\My7350Int.rc2 - This file contains resources that are not edited by Microsoft - Visual C++. You should place all resources not editable by - the resource editor in this file. - - -///////////////////////////////////////////////////////////////////////////// - -The application wizard creates one dialog class: - -7350IntDlg.h, 7350IntDlg.cpp - the dialog - These files contain your C7350IntDlg class. This class defines - the behavior of your application's main dialog. The dialog's template is - in 7350Int.rc, which can be edited in Microsoft Visual C++. - - -///////////////////////////////////////////////////////////////////////////// - -Other Features: - -ActiveX Controls - The application includes support to use ActiveX controls. - -///////////////////////////////////////////////////////////////////////////// - -Other standard files: - -StdAfx.h, StdAfx.cpp - These files are used to build a precompiled header (PCH) file - named 7350Int.pch and a precompiled types file named StdAfx.obj. - -Resource.h - This is the standard header file, which defines new resource IDs. - Microsoft Visual C++ reads and updates this file. - -7350Int.manifest - Application manifest files are used by Windows XP to describe an applications - dependency on specific versions of Side-by-Side assemblies. The loader uses this - information to load the appropriate assembly from the assembly cache or private - from the application. The Application manifest maybe included for redistribution - as an external .manifest file that is installed in the same folder as the application - executable or it may be included in the executable in the form of a resource. -///////////////////////////////////////////////////////////////////////////// - -Other notes: - -The application wizard uses "TODO:" to indicate parts of the source code you -should add to or customize. - -If your application uses MFC in a shared DLL, you will need -to redistribute the MFC DLLs. If your application is in a language -other than the operating system's locale, you will also have to -redistribute the corresponding localized resources MFC90XXX.DLL. -For more information on both of these topics, please see the section on -redistributing Visual C++ applications in MSDN documentation. - -///////////////////////////////////////////////////////////////////////////// diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350_PM_Level/res/7350int.ico b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350_PM_Level/res/7350int.ico deleted file mode 100644 index d56fbcd..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350_PM_Level/res/7350int.ico and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350_PM_Level/res/My7350int.rc2 b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350_PM_Level/res/My7350int.rc2 deleted file mode 100644 index 7bd3593..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350_PM_Level/res/My7350int.rc2 +++ /dev/null @@ -1,13 +0,0 @@ -// -// My7256int.RC2 - resources Microsoft Visual C++ does not edit directly -// - -#ifdef APSTUDIO_INVOKED -#error this file is not editable by Microsoft Visual C++ -#endif //APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// Add manually edited resources here... - -///////////////////////////////////////////////////////////////////////////// diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350_PM_Level/resource.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350_PM_Level/resource.h deleted file mode 100644 index bfe2741..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350_PM_Level/resource.h +++ /dev/null @@ -1,29 +0,0 @@ -//{{NO_DEPENDENCIES}} -// Microsoft Visual C++ generated include file. -// Used by 7350Int.rc -// -#define IDM_ABOUTBOX 0x0010 -#define IDD_ABOUTBOX 100 -#define IDS_ABOUTBOX 101 -#define IDD_MY7350INT_DIALOG 102 -#define IDR_MAINFRAME 128 -#define IDD_CARDID_DIALOG 129 -#define IDC_COMBO_CARDID 1000 -#define IDC_BUTTON1 1000 -#define IDC_BT_OUTPUT 1000 -#define IDC_STATIC_PATTERN 1001 -#define IDC_STATIC_05 1007 -#define IDC_STATIC_06 1008 -#define IDC_STATIC_07 1009 -#define IDC_STATIC_01 1014 - -// Next default values for new objects -// -#ifdef APSTUDIO_INVOKED -#ifndef APSTUDIO_READONLY_SYMBOLS -#define _APS_NEXT_RESOURCE_VALUE 131 -#define _APS_NEXT_COMMAND_VALUE 32771 -#define _APS_NEXT_CONTROL_VALUE 1002 -#define _APS_NEXT_SYMED_VALUE 101 -#endif -#endif diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350_PM_Level/stdafx.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350_PM_Level/stdafx.cpp deleted file mode 100644 index bfa88a1..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350_PM_Level/stdafx.cpp +++ /dev/null @@ -1,8 +0,0 @@ - -// stdafx.cpp : source file that includes just the standard includes -// 7350Int.pch will be the pre-compiled header -// stdafx.obj will contain the pre-compiled type information - -#include "stdafx.h" - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350_PM_Level/stdafx.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350_PM_Level/stdafx.h deleted file mode 100644 index 12123e2..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350_PM_Level/stdafx.h +++ /dev/null @@ -1,60 +0,0 @@ - -// stdafx.h : include file for standard system include files, -// or project specific include files that are used frequently, -// but are changed infrequently - -#pragma once - -#ifndef _SECURE_ATL -#define _SECURE_ATL 1 -#endif - -#ifndef VC_EXTRALEAN -#define VC_EXTRALEAN // Exclude rarely-used stuff from Windows headers -#endif - -#include "targetver.h" - -#define _ATL_CSTRING_EXPLICIT_CONSTRUCTORS // some CString constructors will be explicit - -// turns off MFC's hiding of some common and often safely ignored warning messages -#define _AFX_ALL_WARNINGS - -#include // MFC core and standard components -#include // MFC extensions - - -#include // MFC Automation classes - - - -#ifndef _AFX_NO_OLE_SUPPORT -#include // MFC support for Internet Explorer 4 Common Controls -#endif -#ifndef _AFX_NO_AFXCMN_SUPPORT -#include // MFC support for Windows Common Controls -#endif // _AFX_NO_AFXCMN_SUPPORT - -#include // MFC support for ribbons and control bars - - - - - - - - - -#ifdef _UNICODE -#if defined _M_IX86 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='x86' publicKeyToken='6595b64144ccf1df' language='*'\"") -#elif defined _M_IA64 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='ia64' publicKeyToken='6595b64144ccf1df' language='*'\"") -#elif defined _M_X64 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='amd64' publicKeyToken='6595b64144ccf1df' language='*'\"") -#else -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='*' publicKeyToken='6595b64144ccf1df' language='*'\"") -#endif -#endif - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350_PM_Level/targetver.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350_PM_Level/targetver.h deleted file mode 100644 index 11730d5..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7350/SDK7350_PM_Level/targetver.h +++ /dev/null @@ -1,26 +0,0 @@ - -#pragma once - -// The following macros define the minimum required platform. The minimum required platform -// is the earliest version of Windows, Internet Explorer etc. that has the necessary features to run -// your application. The macros work by enabling all features available on platform versions up to and -// including the version specified. - -// Modify the following defines if you have to target a platform prior to the ones specified below. -// Refer to MSDN for the latest info on corresponding values for different platforms. -#ifndef WINVER // Specifies that the minimum required platform is Windows Vista. -#define WINVER 0x0600 // Change this to the appropriate value to target other versions of Windows. -#endif - -#ifndef _WIN32_WINNT // Specifies that the minimum required platform is Windows Vista. -#define _WIN32_WINNT 0x0600 // Change this to the appropriate value to target other versions of Windows. -#endif - -#ifndef _WIN32_WINDOWS // Specifies that the minimum required platform is Windows 98. -#define _WIN32_WINDOWS 0x0410 // Change this to the appropriate value to target Windows Me or later. -#endif - -#ifndef _WIN32_IE // Specifies that the minimum required platform is Internet Explorer 7.0. -#define _WIN32_IE 0x0700 // Change this to the appropriate value to target other versions of IE. -#endif - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7396/SDK7396COSi/7396int.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7396/SDK7396COSi/7396int.cpp deleted file mode 100644 index c00b0ac..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7396/SDK7396COSi/7396int.cpp +++ /dev/null @@ -1,110 +0,0 @@ - -// 7396int.cpp : Defines the class behaviors for the application. -// - -#include "stdafx.h" -#include "7396int.h" -#include "7396intDlg.h" -#include "CardIDDlg.h" - -#ifdef _DEBUG -#define new DEBUG_NEW -#endif - - -// C7396intApp - -BEGIN_MESSAGE_MAP(C7396intApp, CWinAppEx) - ON_COMMAND(ID_HELP, &CWinApp::OnHelp) -END_MESSAGE_MAP() - - -// C7396intApp construction - -C7396intApp::C7396intApp() -{ - // TODO: add construction code here, - // Place all significant initialization in InitInstance -} - - -// The one and only C7396intApp object - -C7396intApp theApp; - - -// C7396intApp initialization - -BOOL C7396intApp::InitInstance() -{ - int nCardID = 0; - I16 hCard; - CString strTemp; - INT_PTR nResponse; - - // InitCommonControlsEx() is required on Windows XP if an application - // manifest specifies use of ComCtl32.dll version 6 or later to enable - // visual styles. Otherwise, any window creation will fail. - INITCOMMONCONTROLSEX InitCtrls; - InitCtrls.dwSize = sizeof(InitCtrls); - // Set this to include all the common control classes you want to use - // in your application. - InitCtrls.dwICC = ICC_WIN95_CLASSES; - InitCommonControlsEx(&InitCtrls); - - CWinAppEx::InitInstance(); - - AfxEnableControlContainer(); - - // Standard initialization - // If you are not using these features and wish to reduce the size - // of your final executable, you should remove from the following - // the specific initialization routines you do not need - // Change the registry key under which our settings are stored - // TODO: You should modify this string to be something appropriate - // such as the name of your company or organization - SetRegistryKey(_T("Local AppWizard-Generated Applications")); - - CCardIDDlg CardDlg( nCardID ); - - nResponse = CardDlg.DoModal(); - if (nResponse == IDOK) - { - nCardID = CardDlg.GetCardID(); - - if ((hCard=Register_Card(PCI_7396, nCardID)) < 0) - { - strTemp.Format( TEXT("Register_Card Error = %d"), hCard); - AfxMessageBox( strTemp ); - } - else - { - C7396intDlg dlg(hCard); - m_pMainWnd = &dlg; - nResponse = dlg.DoModal(); - if (nResponse == IDOK) - { - // TODO: Place code here to handle when the dialog is - // dismissed with OK - } - else if (nResponse == IDCANCEL) - { - // TODO: Place code here to handle when the dialog is - // dismissed with Cancel - } - - if (hCard >= 0) Release_Card(hCard); - } - - } - else if (nResponse == IDCANCEL) - { - // TODO: Place code here to handle when the dialog is - // dismissed with Cancel - } - - - // Since the dialog has been closed, return FALSE so that we exit the - // application, rather than start the application's message pump. - return FALSE; -} diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7396/SDK7396COSi/7396int.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7396/SDK7396COSi/7396int.h deleted file mode 100644 index 3d1c0f7..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7396/SDK7396COSi/7396int.h +++ /dev/null @@ -1,32 +0,0 @@ - -// 7396int.h : main header file for the PROJECT_NAME application -// - -#pragma once - -#ifndef __AFXWIN_H__ - #error "include 'stdafx.h' before including this file for PCH" -#endif - -#include "resource.h" // main symbols - - -// C7396intApp: -// See 7396int.cpp for the implementation of this class -// - -class C7396intApp : public CWinAppEx -{ -public: - C7396intApp(); - -// Overrides - public: - virtual BOOL InitInstance(); - -// Implementation - - DECLARE_MESSAGE_MAP() -}; - -extern C7396intApp theApp; \ No newline at end of file diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7396/SDK7396COSi/7396int.rc b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7396/SDK7396COSi/7396int.rc deleted file mode 100644 index 838ba96..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7396/SDK7396COSi/7396int.rc +++ /dev/null @@ -1,277 +0,0 @@ -// Microsoft Visual C++ generated resource script. -// -#include "resource.h" - -#define APSTUDIO_READONLY_SYMBOLS -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 2 resource. -// -#ifndef APSTUDIO_INVOKED -#include "targetver.h" -#endif -#include "afxres.h" - -///////////////////////////////////////////////////////////////////////////// -#undef APSTUDIO_READONLY_SYMBOLS - -///////////////////////////////////////////////////////////////////////////// -// Chinese (Taiwan) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_CHT) -#ifdef _WIN32 -LANGUAGE LANG_CHINESE, SUBLANG_CHINESE_TRADITIONAL -#pragma code_page(950) -#endif //_WIN32 - -#ifdef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// TEXTINCLUDE -// - -1 TEXTINCLUDE -BEGIN - "resource.h\0" -END - -2 TEXTINCLUDE -BEGIN - "#ifndef APSTUDIO_INVOKED\r\n" - "#include ""targetver.h""\r\n" - "#endif\r\n" - "#include ""afxres.h""\r\n" - "\0" -END - -3 TEXTINCLUDE -BEGIN - "#define _AFX_NO_SPLITTER_RESOURCES\r\n" - "#define _AFX_NO_OLE_RESOURCES\r\n" - "#define _AFX_NO_TRACKER_RESOURCES\r\n" - "#define _AFX_NO_PROPERTY_RESOURCES\r\n" - "\r\n" - "#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)\r\n" - "LANGUAGE 9, 1\r\n" - "#pragma code_page(1252)\r\n" - "#include ""res\\My7396int.rc2"" // non-Microsoft Visual C++ edited resources\r\n" - "#include ""afxres.rc"" // Standard components\r\n" - "#endif\r\n" - "\0" -END - -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// Icon -// - -// Icon with lowest ID value placed first to ensure application icon -// remains consistent on all systems. -IDR_MAINFRAME ICON "res\\7396int.ico" -#endif // Chinese (Taiwan) resources -///////////////////////////////////////////////////////////////////////////// - - -///////////////////////////////////////////////////////////////////////////// -// English (U.S.) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -#ifdef _WIN32 -LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US -#pragma code_page(1252) -#endif //_WIN32 - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog -// - -IDD_ABOUTBOX DIALOGEX 0, 0, 170, 62 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "About 7396int" -FONT 8, "MS Shell Dlg", 0, 0, 0x1 -BEGIN - ICON IDR_MAINFRAME,IDC_STATIC,14,14,21,20 - LTEXT "7396int, Version 1.0",IDC_STATIC,42,14,114,8,SS_NOPREFIX - LTEXT "Copyright (C) 2010",IDC_STATIC,42,26,114,8 - DEFPUSHBUTTON "OK",IDOK,113,41,50,14,WS_GROUP -END - -IDD_MY7396INT_DIALOG DIALOGEX 0, 0, 237, 144 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU -EXSTYLE WS_EX_APPWINDOW -CAPTION "PCI-7396 Interrupt Sample (INT1)" -FONT 8, "MS Shell Dlg", 0, 0, 0x1 -BEGIN - LTEXT "This program shows the number of occurrence of COS INT1 interrupt, COS INT1 inetrrupt is generated by external signal from DI Port 1. If you connect P1 to P2, press 'Output' button can generate an interrupt.",IDC_STATIC,33,14,155,43 - LTEXT "INT1 Count =",IDC_STATIC_COS_COUNT,59,72,85,13 - PUSHBUTTON "Output",IDC_BT_OUTPUT,76,97,84,20,WS_DISABLED -END - -IDD_CARDID_DIALOG DIALOGEX 0, 0, 202, 101 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "Card ID" -FONT 8, "MS Shell Dlg", 400, 0, 0x1 -BEGIN - COMBOBOX IDC_COMBO_CARDID,83,24,71,126,CBS_DROPDOWN | WS_VSCROLL | WS_TABSTOP - LTEXT "Card Number",IDC_STATIC_01,29,25,46,12 - PUSHBUTTON "OK",IDOK,30,57,58,19 - PUSHBUTTON "CANCEL",IDCANCEL,94,57,58,19 -END - - -///////////////////////////////////////////////////////////////////////////// -// -// Version -// - -VS_VERSION_INFO VERSIONINFO - FILEVERSION 1,0,0,1 - PRODUCTVERSION 1,0,0,1 - FILEFLAGSMASK 0x3fL -#ifdef _DEBUG - FILEFLAGS 0x1L -#else - FILEFLAGS 0x0L -#endif - FILEOS 0x4L - FILETYPE 0x1L - FILESUBTYPE 0x0L -BEGIN - BLOCK "StringFileInfo" - BEGIN - BLOCK "040904e4" - BEGIN - VALUE "CompanyName", "TODO: " - VALUE "FileDescription", "TODO: " - VALUE "FileVersion", "1.0.0.1" - VALUE "InternalName", "7396int.exe" - VALUE "LegalCopyright", "TODO: (c) . All rights reserved." - VALUE "OriginalFilename", "7396int.exe" - VALUE "ProductName", "TODO: " - VALUE "ProductVersion", "1.0.0.1" - END - END - BLOCK "VarFileInfo" - BEGIN - VALUE "Translation", 0x409, 1252 - END -END - - -///////////////////////////////////////////////////////////////////////////// -// -// DESIGNINFO -// - -#ifdef APSTUDIO_INVOKED -GUIDELINES DESIGNINFO -BEGIN - IDD_ABOUTBOX, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 163 - TOPMARGIN, 7 - BOTTOMMARGIN, 55 - END - - IDD_MY7396INT_DIALOG, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 230 - TOPMARGIN, 7 - BOTTOMMARGIN, 137 - END - - IDD_CARDID_DIALOG, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 195 - TOPMARGIN, 7 - BOTTOMMARGIN, 94 - END -END -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog Info -// - -IDD_CARDID_DIALOG DLGINIT -BEGIN - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0030, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0031, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0032, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0033, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0034, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0035, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0036, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0037, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0038, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0039, - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3031, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3131, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3231, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3331, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3431, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3531, "\000" - 0 -END - - -///////////////////////////////////////////////////////////////////////////// -// -// String Table -// - -STRINGTABLE -BEGIN - IDS_ABOUTBOX "&About 7396int..." -END - -#endif // English (U.S.) resources -///////////////////////////////////////////////////////////////////////////// - - - -#ifndef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 3 resource. -// -#define _AFX_NO_SPLITTER_RESOURCES -#define _AFX_NO_OLE_RESOURCES -#define _AFX_NO_TRACKER_RESOURCES -#define _AFX_NO_PROPERTY_RESOURCES - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -LANGUAGE 9, 1 -#pragma code_page(1252) -#include "res\My7396int.rc2" // non-Microsoft Visual C++ edited resources -#include "afxres.rc" // Standard components -#endif - -///////////////////////////////////////////////////////////////////////////// -#endif // not APSTUDIO_INVOKED - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7396/SDK7396COSi/7396int.sln b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7396/SDK7396COSi/7396int.sln deleted file mode 100644 index b6dada0..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7396/SDK7396COSi/7396int.sln +++ /dev/null @@ -1,20 +0,0 @@ - -Microsoft Visual Studio Solution File, Format Version 10.00 -# Visual Studio 2008 -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "7396int", "7396int.vcproj", "{D1AAE855-2447-4B7C-9F6B-8FB0B29868DA}" -EndProject -Global - GlobalSection(SolutionConfigurationPlatforms) = preSolution - Debug|x64 = Debug|x64 - Release|x64 = Release|x64 - EndGlobalSection - GlobalSection(ProjectConfigurationPlatforms) = postSolution - {D1AAE855-2447-4B7C-9F6B-8FB0B29868DA}.Debug|x64.ActiveCfg = Debug|x64 - {D1AAE855-2447-4B7C-9F6B-8FB0B29868DA}.Debug|x64.Build.0 = Debug|x64 - {D1AAE855-2447-4B7C-9F6B-8FB0B29868DA}.Release|x64.ActiveCfg = Release|x64 - {D1AAE855-2447-4B7C-9F6B-8FB0B29868DA}.Release|x64.Build.0 = Release|x64 - EndGlobalSection - GlobalSection(SolutionProperties) = preSolution - HideSolutionNode = FALSE - EndGlobalSection -EndGlobal diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7396/SDK7396COSi/7396int.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7396/SDK7396COSi/7396int.suo deleted file mode 100644 index 55abf4b..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7396/SDK7396COSi/7396int.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7396/SDK7396COSi/7396int.vcproj b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7396/SDK7396COSi/7396int.vcproj deleted file mode 100644 index 036612b..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7396/SDK7396COSi/7396int.vcproj +++ /dev/null @@ -1,286 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7396/SDK7396COSi/7396intDlg.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7396/SDK7396COSi/7396intDlg.cpp deleted file mode 100644 index 262f0a5..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7396/SDK7396COSi/7396intDlg.cpp +++ /dev/null @@ -1,260 +0,0 @@ - -// 7396intDlg.cpp : implementation file -// - -#include "stdafx.h" -#include "7396int.h" -#include "7396intDlg.h" - - -#ifdef _DEBUG -#define new DEBUG_NEW -#endif - -int gIntCount; -HANDLE ghIntEvent[2]; - -BOOLEAN gbExitThread; - -DWORD WINAPI IntThread( LPVOID lpParam ) -{ - while (gbExitThread == FALSE) - { - if (WaitForSingleObject(ghIntEvent[0], INFINITE) == WAIT_OBJECT_0) - { - gIntCount++; - ResetEvent(ghIntEvent[0]); - } - } - - return (DWORD) 0; -} - -// CAboutDlg dialog used for App About - -class CAboutDlg : public CDialog -{ -public: - CAboutDlg(); - -// Dialog Data - enum { IDD = IDD_ABOUTBOX }; - - protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - -// Implementation -protected: - DECLARE_MESSAGE_MAP() -}; - -CAboutDlg::CAboutDlg() : CDialog(CAboutDlg::IDD) -{ -} - -void CAboutDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); -} - -BEGIN_MESSAGE_MAP(CAboutDlg, CDialog) -END_MESSAGE_MAP() - - -// C7396intDlg dialog - - - - -C7396intDlg::C7396intDlg(I16 hCard, CWnd* pParent /*=NULL*/) - : CDialog(C7396intDlg::IDD, pParent) -{ - m_hIcon = AfxGetApp()->LoadIcon(IDR_MAINFRAME); - - m_hThread = NULL; - m_hCard = hCard; - m_nTimer = -1; -} - -void C7396intDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); -} - -BEGIN_MESSAGE_MAP(C7396intDlg, CDialog) - ON_WM_SYSCOMMAND() - ON_WM_PAINT() - ON_WM_QUERYDRAGICON() - //}}AFX_MSG_MAP - ON_WM_DESTROY() - ON_BN_CLICKED(IDC_BT_OUTPUT, &C7396intDlg::OnBnClickedBtOutput) - ON_WM_TIMER() -END_MESSAGE_MAP() - - -// C7396intDlg message handlers - -BOOL C7396intDlg::OnInitDialog() -{ - CDialog::OnInitDialog(); - - // Add "About..." menu item to system menu. - - // IDM_ABOUTBOX must be in the system command range. - ASSERT((IDM_ABOUTBOX & 0xFFF0) == IDM_ABOUTBOX); - ASSERT(IDM_ABOUTBOX < 0xF000); - - CMenu* pSysMenu = GetSystemMenu(FALSE); - if (pSysMenu != NULL) - { - BOOL bNameValid; - CString strAboutMenu; - bNameValid = strAboutMenu.LoadString(IDS_ABOUTBOX); - ASSERT(bNameValid); - if (!strAboutMenu.IsEmpty()) - { - pSysMenu->AppendMenu(MF_SEPARATOR); - pSysMenu->AppendMenu(MF_STRING, IDM_ABOUTBOX, strAboutMenu); - } - } - - // Set the icon for this dialog. The framework does this automatically - // when the application's main window is not a dialog - SetIcon(m_hIcon, TRUE); // Set big icon - SetIcon(m_hIcon, FALSE); // Set small icon - - // TODO: Add extra initialization here - DIO_PortConfig(m_hCard, Channel_P1, INPUT_PORT); - DIO_PortConfig(m_hCard, Channel_P2, OUTPUT_PORT); - DIO_SetCOSInterrupt(m_hCard, Channel_P1, 1, 1, 1); - DIO_SetCOSInterrupt(m_hCard, Channel_P2, 0, 0, 0); - DIO_SetCOSInterrupt(m_hCard, Channel_P3, 0, 0, 0); - DIO_SetCOSInterrupt(m_hCard, Channel_P4, 0, 0, 0); - DIO_SetDualInterrupt(m_hCard, INT1_COS, INT2_DISABLE, ghIntEvent); - - gIntCount = 0; - - if(m_hThread == NULL ) - { - gbExitThread = FALSE; - m_hThread = CreateThread( NULL, // default security attributes - 0, // use default stack size - IntThread, // thread function name - NULL, // argument to thread function - 0, // use default creation flags - NULL); // returns the thread identifier - } - - GetDlgItem(IDC_BT_OUTPUT)->EnableWindow( TRUE ); - - m_nTimer = SetTimer( 1, 50, NULL ); - - return TRUE; // return TRUE unless you set the focus to a control -} - -void C7396intDlg::OnSysCommand(UINT nID, LPARAM lParam) -{ - if ((nID & 0xFFF0) == IDM_ABOUTBOX) - { - CAboutDlg dlgAbout; - dlgAbout.DoModal(); - } - else - { - CDialog::OnSysCommand(nID, lParam); - } -} - -// If you add a minimize button to your dialog, you will need the code below -// to draw the icon. For MFC applications using the document/view model, -// this is automatically done for you by the framework. - -void C7396intDlg::OnPaint() -{ - if (IsIconic()) - { - CPaintDC dc(this); // device context for painting - - SendMessage(WM_ICONERASEBKGND, reinterpret_cast(dc.GetSafeHdc()), 0); - - // Center icon in client rectangle - int cxIcon = GetSystemMetrics(SM_CXICON); - int cyIcon = GetSystemMetrics(SM_CYICON); - CRect rect; - GetClientRect(&rect); - int x = (rect.Width() - cxIcon + 1) / 2; - int y = (rect.Height() - cyIcon + 1) / 2; - - // Draw the icon - dc.DrawIcon(x, y, m_hIcon); - } - else - { - CDialog::OnPaint(); - } -} - -// The system calls this function to obtain the cursor to display while the user drags -// the minimized window. -HCURSOR C7396intDlg::OnQueryDragIcon() -{ - return static_cast(m_hIcon); -} - - -void C7396intDlg::OnDestroy() -{ - CDialog::OnDestroy(); - - // TODO: Add your message handler code here - int i; - - if( m_hThread != NULL ) - { - gbExitThread = TRUE; // termnate the IntThread - SetEvent( ghIntEvent[0] ); - - if (WaitForSingleObject(m_hThread, 5000) == WAIT_OBJECT_0) - { - CloseHandle( m_hThread ); - m_hThread = NULL; - } - } - - if( m_hCard >= 0 ) - { - DIO_SetDualInterrupt(m_hCard, INT1_DISABLE, INT2_DISABLE, ghIntEvent); - - for (i=0; i<2; i++) - { - if(ghIntEvent[i]) - ResetEvent(ghIntEvent[i]); - } - - - Release_Card( m_hCard ); m_hCard = -1; - } - - if( m_nTimer != -1 ) - KillTimer ( m_nTimer ); -} - -void C7396intDlg::OnBnClickedBtOutput() -{ - // TODO: Add your control notification handler code here - DO_WritePort(m_hCard, Channel_P2, 0x1); - Sleep(1); - DO_WritePort(m_hCard, Channel_P2, 0x0); -} - -void C7396intDlg::OnTimer(UINT_PTR nIDEvent) -{ - // TODO: Add your message handler code here and/or call default - CString strTemp; - - strTemp.Format( TEXT("INT1 Count =%d"), gIntCount ); - SetDlgItemText( IDC_STATIC_COS_COUNT, strTemp ); - - - CDialog::OnTimer(nIDEvent); -} diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7396/SDK7396COSi/7396intDlg.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7396/SDK7396COSi/7396intDlg.h deleted file mode 100644 index 97326ff..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7396/SDK7396COSi/7396intDlg.h +++ /dev/null @@ -1,40 +0,0 @@ - -// 7396intDlg.h : header file -// -#include "Dask64.h" - -#pragma once - - -// C7396intDlg dialog -class C7396intDlg : public CDialog -{ -// Construction -public: - C7396intDlg(I16 hCard, CWnd* pParent = NULL); // standard constructor - -// Dialog Data - enum { IDD = IDD_MY7396INT_DIALOG }; - - protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - - -// Implementation -protected: - HICON m_hIcon; - I16 m_hCard; - HANDLE m_hThread; - UINT_PTR m_nTimer; - - // Generated message map functions - virtual BOOL OnInitDialog(); - afx_msg void OnSysCommand(UINT nID, LPARAM lParam); - afx_msg void OnPaint(); - afx_msg HCURSOR OnQueryDragIcon(); - DECLARE_MESSAGE_MAP() -public: - afx_msg void OnDestroy(); - afx_msg void OnBnClickedBtOutput(); - afx_msg void OnTimer(UINT_PTR nIDEvent); -}; diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7396/SDK7396COSi/CardIDDlg.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7396/SDK7396COSi/CardIDDlg.cpp deleted file mode 100644 index eaebff2..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7396/SDK7396COSi/CardIDDlg.cpp +++ /dev/null @@ -1,67 +0,0 @@ -// CardIDDlg.cpp : implementation file -// - -#include "stdafx.h" -#include "7396int.h" -#include "CardIDDlg.h" - - -// CCardIDDlg dialog - -IMPLEMENT_DYNAMIC(CCardIDDlg, CDialog) - -CCardIDDlg::CCardIDDlg(int nCardIdx, CWnd* pParent /*=NULL*/) - : CDialog(CCardIDDlg::IDD, pParent) -{ - m_nCardIdx = nCardIdx; -} - -CCardIDDlg::~CCardIDDlg() -{ -} - -void CCardIDDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); - DDX_Control(pDX, IDC_COMBO_CARDID, m_cbCardID); -} - - -BEGIN_MESSAGE_MAP(CCardIDDlg, CDialog) -// ON_CBN_SELCHANGE(IDC_COMBO_CARDID, &CCardIDDlg::OnCbnSelchangeComboCardid) -ON_BN_CLICKED(IDOK, &CCardIDDlg::OnBnClickedOk) -//ON_WM_CTLCOLOR() -END_MESSAGE_MAP() - - -// CCardIDDlg message handlers - - -void CCardIDDlg::OnBnClickedOk() -{ - // TODO: Add your control notification handler code here - -// UpdateData(TRUE); - m_nCardIdx = m_cbCardID.GetCurSel(); - - OnOK(); -} - -BOOL CCardIDDlg::OnInitDialog() -{ - CDialog::OnInitDialog(); - - // TODO: Add extra initialization here - m_cbCardID.SetCurSel( m_nCardIdx ); - - return TRUE; // return TRUE unless you set the focus to a control - // EXCEPTION: OCX Property Pages should return FALSE -} - -// the function to get the selected CardID -int CCardIDDlg::GetCardID(void) -{ - return m_nCardIdx; -} - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7396/SDK7396COSi/CardIDDlg.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7396/SDK7396COSi/CardIDDlg.h deleted file mode 100644 index 54628ea..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7396/SDK7396COSi/CardIDDlg.h +++ /dev/null @@ -1,33 +0,0 @@ -#pragma once -#include "afxwin.h" - - -// CCardIDDlg dialog - -class CCardIDDlg : public CDialog -{ - DECLARE_DYNAMIC(CCardIDDlg) - -public: - CCardIDDlg(int nCardIdx, CWnd* pParent = NULL); // standard constructor - virtual ~CCardIDDlg(); - -// Dialog Data - enum { IDD = IDD_CARDID_DIALOG }; - -protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - - DECLARE_MESSAGE_MAP() -public: -// afx_msg void OnCbnSelchangeComboCardid(); - afx_msg void OnBnClickedOk(); - // the setting of CardID ComboBox - int m_nCardIdx; - virtual BOOL OnInitDialog(); - // the control of CardID ComboBox - CComboBox m_cbCardID; - // the function to get the selected CardID - int GetCardID(void); -// afx_msg HBRUSH OnCtlColor(CDC* pDC, CWnd* pWnd, UINT nCtlColor); -}; diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7396/SDK7396COSi/ReadMe.txt b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7396/SDK7396COSi/ReadMe.txt deleted file mode 100644 index 89d5945..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7396/SDK7396COSi/ReadMe.txt +++ /dev/null @@ -1,93 +0,0 @@ -================================================================================ - MICROSOFT FOUNDATION CLASS LIBRARY : 7396int Project Overview -=============================================================================== - -The application wizard has created this 7396int application for -you. This application not only demonstrates the basics of using the Microsoft -Foundation Classes but is also a starting point for writing your application. - -This file contains a summary of what you will find in each of the files that -make up your 7396int application. - -7396int.vcproj - This is the main project file for VC++ projects generated using an application wizard. - It contains information about the version of Visual C++ that generated the file, and - information about the platforms, configurations, and project features selected with the - application wizard. - -7396int.h - This is the main header file for the application. It includes other - project specific headers (including Resource.h) and declares the - C7396intApp application class. - -7396int.cpp - This is the main application source file that contains the application - class C7396intApp. - -7396int.rc - This is a listing of all of the Microsoft Windows resources that the - program uses. It includes the icons, bitmaps, and cursors that are stored - in the RES subdirectory. This file can be directly edited in Microsoft - Visual C++. Your project resources are in 1033. - -res\7396int.ico - This is an icon file, which is used as the application's icon. This - icon is included by the main resource file 7396int.rc. - -res\My7396int.rc2 - This file contains resources that are not edited by Microsoft - Visual C++. You should place all resources not editable by - the resource editor in this file. - - -///////////////////////////////////////////////////////////////////////////// - -The application wizard creates one dialog class: - -7396intDlg.h, 7396intDlg.cpp - the dialog - These files contain your C7396intDlg class. This class defines - the behavior of your application's main dialog. The dialog's template is - in 7396int.rc, which can be edited in Microsoft Visual C++. - - -///////////////////////////////////////////////////////////////////////////// - -Other Features: - -ActiveX Controls - The application includes support to use ActiveX controls. - -///////////////////////////////////////////////////////////////////////////// - -Other standard files: - -StdAfx.h, StdAfx.cpp - These files are used to build a precompiled header (PCH) file - named 7396int.pch and a precompiled types file named StdAfx.obj. - -Resource.h - This is the standard header file, which defines new resource IDs. - Microsoft Visual C++ reads and updates this file. - -7396int.manifest - Application manifest files are used by Windows XP to describe an applications - dependency on specific versions of Side-by-Side assemblies. The loader uses this - information to load the appropriate assembly from the assembly cache or private - from the application. The Application manifest maybe included for redistribution - as an external .manifest file that is installed in the same folder as the application - executable or it may be included in the executable in the form of a resource. -///////////////////////////////////////////////////////////////////////////// - -Other notes: - -The application wizard uses "TODO:" to indicate parts of the source code you -should add to or customize. - -If your application uses MFC in a shared DLL, you will need -to redistribute the MFC DLLs. If your application is in a language -other than the operating system's locale, you will also have to -redistribute the corresponding localized resources MFC90XXX.DLL. -For more information on both of these topics, please see the section on -redistributing Visual C++ applications in MSDN documentation. - -///////////////////////////////////////////////////////////////////////////// diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7396/SDK7396COSi/res/7396int.ico b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7396/SDK7396COSi/res/7396int.ico deleted file mode 100644 index d56fbcd..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7396/SDK7396COSi/res/7396int.ico and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7396/SDK7396COSi/res/My7396int.rc2 b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7396/SDK7396COSi/res/My7396int.rc2 deleted file mode 100644 index 299aaea..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7396/SDK7396COSi/res/My7396int.rc2 +++ /dev/null @@ -1,13 +0,0 @@ -// -// My7396int.RC2 - resources Microsoft Visual C++ does not edit directly -// - -#ifdef APSTUDIO_INVOKED -#error this file is not editable by Microsoft Visual C++ -#endif //APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// Add manually edited resources here... - -///////////////////////////////////////////////////////////////////////////// diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7396/SDK7396COSi/resource.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7396/SDK7396COSi/resource.h deleted file mode 100644 index 7fdb3c2..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7396/SDK7396COSi/resource.h +++ /dev/null @@ -1,25 +0,0 @@ -//{{NO_DEPENDENCIES}} -// Microsoft Visual C++ generated include file. -// Used by 7396int.rc -// -#define IDM_ABOUTBOX 0x0010 -#define IDD_ABOUTBOX 100 -#define IDS_ABOUTBOX 101 -#define IDD_MY7396INT_DIALOG 102 -#define IDR_MAINFRAME 128 -#define IDD_CARDID_DIALOG 129 -#define IDC_STATIC_COS_COUNT 1000 -#define IDC_COMBO_CARDID 1000 -#define IDC_BT_OUTPUT 1001 -#define IDC_STATIC_01 1014 - -// Next default values for new objects -// -#ifdef APSTUDIO_INVOKED -#ifndef APSTUDIO_READONLY_SYMBOLS -#define _APS_NEXT_RESOURCE_VALUE 131 -#define _APS_NEXT_COMMAND_VALUE 32771 -#define _APS_NEXT_CONTROL_VALUE 1002 -#define _APS_NEXT_SYMED_VALUE 101 -#endif -#endif diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7396/SDK7396COSi/stdafx.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7396/SDK7396COSi/stdafx.cpp deleted file mode 100644 index 342844f..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7396/SDK7396COSi/stdafx.cpp +++ /dev/null @@ -1,8 +0,0 @@ - -// stdafx.cpp : source file that includes just the standard includes -// 7396int.pch will be the pre-compiled header -// stdafx.obj will contain the pre-compiled type information - -#include "stdafx.h" - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7396/SDK7396COSi/stdafx.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7396/SDK7396COSi/stdafx.h deleted file mode 100644 index 12123e2..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7396/SDK7396COSi/stdafx.h +++ /dev/null @@ -1,60 +0,0 @@ - -// stdafx.h : include file for standard system include files, -// or project specific include files that are used frequently, -// but are changed infrequently - -#pragma once - -#ifndef _SECURE_ATL -#define _SECURE_ATL 1 -#endif - -#ifndef VC_EXTRALEAN -#define VC_EXTRALEAN // Exclude rarely-used stuff from Windows headers -#endif - -#include "targetver.h" - -#define _ATL_CSTRING_EXPLICIT_CONSTRUCTORS // some CString constructors will be explicit - -// turns off MFC's hiding of some common and often safely ignored warning messages -#define _AFX_ALL_WARNINGS - -#include // MFC core and standard components -#include // MFC extensions - - -#include // MFC Automation classes - - - -#ifndef _AFX_NO_OLE_SUPPORT -#include // MFC support for Internet Explorer 4 Common Controls -#endif -#ifndef _AFX_NO_AFXCMN_SUPPORT -#include // MFC support for Windows Common Controls -#endif // _AFX_NO_AFXCMN_SUPPORT - -#include // MFC support for ribbons and control bars - - - - - - - - - -#ifdef _UNICODE -#if defined _M_IX86 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='x86' publicKeyToken='6595b64144ccf1df' language='*'\"") -#elif defined _M_IA64 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='ia64' publicKeyToken='6595b64144ccf1df' language='*'\"") -#elif defined _M_X64 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='amd64' publicKeyToken='6595b64144ccf1df' language='*'\"") -#else -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='*' publicKeyToken='6595b64144ccf1df' language='*'\"") -#endif -#endif - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7396/SDK7396COSi/targetver.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7396/SDK7396COSi/targetver.h deleted file mode 100644 index 11730d5..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7396/SDK7396COSi/targetver.h +++ /dev/null @@ -1,26 +0,0 @@ - -#pragma once - -// The following macros define the minimum required platform. The minimum required platform -// is the earliest version of Windows, Internet Explorer etc. that has the necessary features to run -// your application. The macros work by enabling all features available on platform versions up to and -// including the version specified. - -// Modify the following defines if you have to target a platform prior to the ones specified below. -// Refer to MSDN for the latest info on corresponding values for different platforms. -#ifndef WINVER // Specifies that the minimum required platform is Windows Vista. -#define WINVER 0x0600 // Change this to the appropriate value to target other versions of Windows. -#endif - -#ifndef _WIN32_WINNT // Specifies that the minimum required platform is Windows Vista. -#define _WIN32_WINNT 0x0600 // Change this to the appropriate value to target other versions of Windows. -#endif - -#ifndef _WIN32_WINDOWS // Specifies that the minimum required platform is Windows 98. -#define _WIN32_WINDOWS 0x0410 // Change this to the appropriate value to target Windows Me or later. -#endif - -#ifndef _WIN32_IE // Specifies that the minimum required platform is Internet Explorer 7.0. -#define _WIN32_IE 0x0700 // Change this to the appropriate value to target other versions of IE. -#endif - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7396/SDK7396DbEvt/7296int2.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7396/SDK7396DbEvt/7296int2.suo deleted file mode 100644 index ad48725..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7396/SDK7396DbEvt/7296int2.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7396/SDK7396DbEvt/7396int2.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7396/SDK7396DbEvt/7396int2.cpp deleted file mode 100644 index c1f7458..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7396/SDK7396DbEvt/7396int2.cpp +++ /dev/null @@ -1,79 +0,0 @@ - -// 7396int2.cpp : Defines the class behaviors for the application. -// - -#include "stdafx.h" -#include "7396int2.h" -#include "7396int2Dlg.h" - -#ifdef _DEBUG -#define new DEBUG_NEW -#endif - - -// CMy7396int2App - -BEGIN_MESSAGE_MAP(CMy7396int2App, CWinAppEx) - ON_COMMAND(ID_HELP, &CWinApp::OnHelp) -END_MESSAGE_MAP() - - -// CMy7396int2App construction - -CMy7396int2App::CMy7396int2App() -{ - // TODO: add construction code here, - // Place all significant initialization in InitInstance -} - - -// The one and only CMy7396int2App object - -CMy7396int2App theApp; - - -// CMy7396int2App initialization - -BOOL CMy7396int2App::InitInstance() -{ - // InitCommonControlsEx() is required on Windows XP if an application - // manifest specifies use of ComCtl32.dll version 6 or later to enable - // visual styles. Otherwise, any window creation will fail. - INITCOMMONCONTROLSEX InitCtrls; - InitCtrls.dwSize = sizeof(InitCtrls); - // Set this to include all the common control classes you want to use - // in your application. - InitCtrls.dwICC = ICC_WIN95_CLASSES; - InitCommonControlsEx(&InitCtrls); - - CWinAppEx::InitInstance(); - - AfxEnableControlContainer(); - - // Standard initialization - // If you are not using these features and wish to reduce the size - // of your final executable, you should remove from the following - // the specific initialization routines you do not need - // Change the registry key under which our settings are stored - // TODO: You should modify this string to be something appropriate - // such as the name of your company or organization - SetRegistryKey(_T("Local AppWizard-Generated Applications")); - - CMy7396int2Dlg dlg; - m_pMainWnd = &dlg; - INT_PTR nResponse = dlg.DoModal(); - if (nResponse == IDOK) - { - // TODO: Place code here to handle when the dialog is - // dismissed with OK - } - else if (nResponse == IDCANCEL) - { - // TODO: Place code here to handle when the dialog is - // dismissed with Cancel - } - - // Since the dialog has been closed, return FALSE so that we exit the - // application, rather than start the application's message pump. - return FALSE; -} diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7396/SDK7396DbEvt/7396int2.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7396/SDK7396DbEvt/7396int2.h deleted file mode 100644 index 601c13f..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7396/SDK7396DbEvt/7396int2.h +++ /dev/null @@ -1,32 +0,0 @@ - -// 7396int2.h : main header file for the PROJECT_NAME application -// - -#pragma once - -#ifndef __AFXWIN_H__ - #error "include 'stdafx.h' before including this file for PCH" -#endif - -#include "resource.h" // main symbols - - -// CMy7396int2App: -// See 7396int2.cpp for the implementation of this class -// - -class CMy7396int2App : public CWinAppEx -{ -public: - CMy7396int2App(); - -// Overrides - public: - virtual BOOL InitInstance(); - -// Implementation - - DECLARE_MESSAGE_MAP() -}; - -extern CMy7396int2App theApp; \ No newline at end of file diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7396/SDK7396DbEvt/7396int2.rc b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7396/SDK7396DbEvt/7396int2.rc deleted file mode 100644 index 9758ab0..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7396/SDK7396DbEvt/7396int2.rc +++ /dev/null @@ -1,293 +0,0 @@ -// Microsoft Visual C++ generated resource script. -// -#include "resource.h" - -#define APSTUDIO_READONLY_SYMBOLS -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 2 resource. -// -#ifndef APSTUDIO_INVOKED -#include "targetver.h" -#endif -#include "afxres.h" - -///////////////////////////////////////////////////////////////////////////// -#undef APSTUDIO_READONLY_SYMBOLS - -///////////////////////////////////////////////////////////////////////////// -// Chinese (Taiwan) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_CHT) -#ifdef _WIN32 -LANGUAGE LANG_CHINESE, SUBLANG_CHINESE_TRADITIONAL -#pragma code_page(950) -#endif //_WIN32 - -#ifdef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// TEXTINCLUDE -// - -1 TEXTINCLUDE -BEGIN - "resource.h\0" -END - -2 TEXTINCLUDE -BEGIN - "#ifndef APSTUDIO_INVOKED\r\n" - "#include ""targetver.h""\r\n" - "#endif\r\n" - "#include ""afxres.h""\r\n" - "\0" -END - -3 TEXTINCLUDE -BEGIN - "#define _AFX_NO_SPLITTER_RESOURCES\r\n" - "#define _AFX_NO_OLE_RESOURCES\r\n" - "#define _AFX_NO_TRACKER_RESOURCES\r\n" - "#define _AFX_NO_PROPERTY_RESOURCES\r\n" - "\r\n" - "#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)\r\n" - "LANGUAGE 9, 1\r\n" - "#pragma code_page(1252)\r\n" - "#include ""res\\My7396int2.rc2"" // non-Microsoft Visual C++ edited resources\r\n" - "#include ""afxres.rc"" // Standard components\r\n" - "#endif\r\n" - "\0" -END - -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// Icon -// - -// Icon with lowest ID value placed first to ensure application icon -// remains consistent on all systems. -IDR_MAINFRAME ICON "res\\7396int2.ico" -#endif // Chinese (Taiwan) resources -///////////////////////////////////////////////////////////////////////////// - - -///////////////////////////////////////////////////////////////////////////// -// English (U.S.) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -#ifdef _WIN32 -LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US -#pragma code_page(1252) -#endif //_WIN32 - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog -// - -IDD_DIALOG_SETUP DIALOGEX 0, 0, 188, 112 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION -CAPTION "Setup Dialog" -FONT 8, "MS Shell Dlg", 400, 0, 0x1 -BEGIN - DEFPUSHBUTTON "OK",IDOK,48,84,50,14 - PUSHBUTTON "Cancel",IDCANCEL,105,84,50,14 - LTEXT "Card Number : ",IDC_STATIC,19,19,53,14 - LTEXT "Total Count : ",IDC_STATIC,19,39,53,14 - LTEXT "Sampling Rate : ",IDC_STATIC,19,57,53,14 - COMBOBOX IDC_COMBO_CARDNO,79,17,86,13,CBS_DROPDOWN | WS_VSCROLL | WS_TABSTOP - EDITTEXT IDC_EDIT_COUNT,79,36,85,14,ES_AUTOHSCROLL | ES_NUMBER - EDITTEXT IDC_EDIT_RATE,79,55,85,14,ES_AUTOHSCROLL | ES_NUMBER -END - -IDD_ABOUTBOX DIALOGEX 0, 0, 170, 62 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "About 7396int2" -FONT 8, "MS Shell Dlg", 0, 0, 0x1 -BEGIN - ICON IDR_MAINFRAME,IDC_STATIC,14,14,21,20 - LTEXT "7396int2, Version 1.0",IDC_STATIC,42,14,114,8,SS_NOPREFIX - LTEXT "Copyright (C) 2010",IDC_STATIC,42,26,114,8 - DEFPUSHBUTTON "OK",IDOK,113,41,50,14,WS_GROUP -END - -IDD_MY7396INT2_DIALOG DIALOGEX 0, 0, 273, 193 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_VISIBLE | WS_CAPTION -EXSTYLE WS_EX_APPWINDOW -CAPTION "7396 Dual Interrupt Sample" -FONT 8, "MS Shell Dlg", 0, 0, 0x1 -BEGIN - PUSHBUTTON "Exit",IDCANCEL,163,7,50,14 - PUSHBUTTON "Setup",IDC_BT_SETUP,7,7,53,14 - PUSHBUTTON "Interrupt Trigger",IDC_BT_TRIGGER,61,7,102,14,WS_DISABLED - LTEXT "This sample demonstrates how to use dual-interrupt lines.",IDC_STATIC,7,23,190,13 - LTEXT "The IRQ source of INT1 is P1C0.",IDC_STATIC,7,31,190,13 - LTEXT "The IRQ source of INT2 is internal Timer-output.",IDC_STATIC,7,39,190,13 - LTEXT "Using cable to connect CN1 and CN2\nClick 'Setup' button first ...",IDC_STATIC_04,7,50,125,22 - LTEXT "Data from Input port: \n** only shows at most 50 data **",IDC_STATIC_07,7,97,113,19,NOT WS_VISIBLE - LTEXT "INT1 Count =",IDC_STATIC_05,7,72,85,13 - LTEXT "INT2 Count =",IDC_STATIC_06,7,83,85,13 - LTEXT "",IDC_STATIC_LINE1,7,116,247,11 - LTEXT "",IDC_STATIC_LINE2,7,130,247,11 - LTEXT "",IDC_STATIC_LINE3,7,143,247,11 - LTEXT "",IDC_STATIC_LINE4,7,156,247,11 - LTEXT "",IDC_STATIC_LINE5,7,170,247,11 -END - - -///////////////////////////////////////////////////////////////////////////// -// -// DESIGNINFO -// - -#ifdef APSTUDIO_INVOKED -GUIDELINES DESIGNINFO -BEGIN - IDD_DIALOG_SETUP, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 181 - TOPMARGIN, 7 - BOTTOMMARGIN, 105 - END - - IDD_ABOUTBOX, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 163 - TOPMARGIN, 7 - BOTTOMMARGIN, 55 - END - - IDD_MY7396INT2_DIALOG, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 266 - TOPMARGIN, 7 - BOTTOMMARGIN, 186 - END -END -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog Info -// - -IDD_DIALOG_SETUP DLGINIT -BEGIN - IDC_COMBO_CARDNO, 0x403, 2, 0 -0x0030, - IDC_COMBO_CARDNO, 0x403, 2, 0 -0x0031, - IDC_COMBO_CARDNO, 0x403, 2, 0 -0x0032, - IDC_COMBO_CARDNO, 0x403, 2, 0 -0x0033, - IDC_COMBO_CARDNO, 0x403, 2, 0 -0x0034, - IDC_COMBO_CARDNO, 0x403, 2, 0 -0x0035, - IDC_COMBO_CARDNO, 0x403, 2, 0 -0x0036, - IDC_COMBO_CARDNO, 0x403, 2, 0 -0x0037, - IDC_COMBO_CARDNO, 0x403, 2, 0 -0x0038, - IDC_COMBO_CARDNO, 0x403, 2, 0 -0x0039, - IDC_COMBO_CARDNO, 0x403, 3, 0 -0x3031, "\000" - IDC_COMBO_CARDNO, 0x403, 3, 0 -0x3131, "\000" - IDC_COMBO_CARDNO, 0x403, 3, 0 -0x3231, "\000" - IDC_COMBO_CARDNO, 0x403, 3, 0 -0x3331, "\000" - IDC_COMBO_CARDNO, 0x403, 3, 0 -0x3431, "\000" - IDC_COMBO_CARDNO, 0x403, 3, 0 -0x3531, "\000" - 0 -END - - -///////////////////////////////////////////////////////////////////////////// -// -// Version -// - -VS_VERSION_INFO VERSIONINFO - FILEVERSION 1,0,0,1 - PRODUCTVERSION 1,0,0,1 - FILEFLAGSMASK 0x3fL -#ifdef _DEBUG - FILEFLAGS 0x1L -#else - FILEFLAGS 0x0L -#endif - FILEOS 0x4L - FILETYPE 0x1L - FILESUBTYPE 0x0L -BEGIN - BLOCK "StringFileInfo" - BEGIN - BLOCK "040904e4" - BEGIN - VALUE "CompanyName", "TODO: " - VALUE "FileDescription", "TODO: " - VALUE "FileVersion", "1.0.0.1" - VALUE "InternalName", "7396int2.exe" - VALUE "LegalCopyright", "TODO: (c) . All rights reserved." - VALUE "OriginalFilename", "7396int2.exe" - VALUE "ProductName", "TODO: " - VALUE "ProductVersion", "1.0.0.1" - END - END - BLOCK "VarFileInfo" - BEGIN - VALUE "Translation", 0x409, 1252 - END -END - - -///////////////////////////////////////////////////////////////////////////// -// -// String Table -// - -STRINGTABLE -BEGIN - IDS_ABOUTBOX "&About 7396int2..." -END - -#endif // English (U.S.) resources -///////////////////////////////////////////////////////////////////////////// - - - -#ifndef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 3 resource. -// -#define _AFX_NO_SPLITTER_RESOURCES -#define _AFX_NO_OLE_RESOURCES -#define _AFX_NO_TRACKER_RESOURCES -#define _AFX_NO_PROPERTY_RESOURCES - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -LANGUAGE 9, 1 -#pragma code_page(1252) -#include "res\My7396int2.rc2" // non-Microsoft Visual C++ edited resources -#include "afxres.rc" // Standard components -#endif - -///////////////////////////////////////////////////////////////////////////// -#endif // not APSTUDIO_INVOKED - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7396/SDK7396DbEvt/7396int2.sln b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7396/SDK7396DbEvt/7396int2.sln deleted file mode 100644 index b2ca324..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7396/SDK7396DbEvt/7396int2.sln +++ /dev/null @@ -1,20 +0,0 @@ - -Microsoft Visual Studio Solution File, Format Version 10.00 -# Visual Studio 2008 -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "7396int2", "7396int2.vcproj", "{36D327EC-F369-4F7C-BF2A-C66603E84831}" -EndProject -Global - GlobalSection(SolutionConfigurationPlatforms) = preSolution - Debug|x64 = Debug|x64 - Release|x64 = Release|x64 - EndGlobalSection - GlobalSection(ProjectConfigurationPlatforms) = postSolution - {36D327EC-F369-4F7C-BF2A-C66603E84831}.Debug|x64.ActiveCfg = Debug|x64 - {36D327EC-F369-4F7C-BF2A-C66603E84831}.Debug|x64.Build.0 = Debug|x64 - {36D327EC-F369-4F7C-BF2A-C66603E84831}.Release|x64.ActiveCfg = Release|x64 - {36D327EC-F369-4F7C-BF2A-C66603E84831}.Release|x64.Build.0 = Release|x64 - EndGlobalSection - GlobalSection(SolutionProperties) = preSolution - HideSolutionNode = FALSE - EndGlobalSection -EndGlobal diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7396/SDK7396DbEvt/7396int2.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7396/SDK7396DbEvt/7396int2.suo deleted file mode 100644 index 67323f2..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7396/SDK7396DbEvt/7396int2.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7396/SDK7396DbEvt/7396int2.vcproj b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7396/SDK7396DbEvt/7396int2.vcproj deleted file mode 100644 index 0f80a28..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7396/SDK7396DbEvt/7396int2.vcproj +++ /dev/null @@ -1,286 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7396/SDK7396DbEvt/7396int2Dlg.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7396/SDK7396DbEvt/7396int2Dlg.cpp deleted file mode 100644 index ada24b2..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7396/SDK7396DbEvt/7396int2Dlg.cpp +++ /dev/null @@ -1,404 +0,0 @@ - -// 7396int2Dlg.cpp : implementation file -// - -#include "stdafx.h" -#include "7396int2.h" -#include "7396int2Dlg.h" -#include "SetupDlg.h" - -#ifdef _DEBUG -#define new DEBUG_NEW -#endif - - -U32 gInBuffer[32768], gOutBuffer[32768]; -int gIntCount; -HANDLE ghIntEvent[2]; - -BOOLEAN gbExitThread; - -DWORD WINAPI IntThread( LPVOID lpParam ) -{ - while (gbExitThread == FALSE) - { - if (WaitForSingleObject(ghIntEvent[0], INFINITE) == WAIT_OBJECT_0) - { - gIntCount++; - ResetEvent(ghIntEvent[0]); - } - } - - return (DWORD) 0; -} - - -// CAboutDlg dialog used for App About - -class CAboutDlg : public CDialog -{ -public: - CAboutDlg(); - -// Dialog Data - enum { IDD = IDD_ABOUTBOX }; - - protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - -// Implementation -protected: - DECLARE_MESSAGE_MAP() -}; - -CAboutDlg::CAboutDlg() : CDialog(CAboutDlg::IDD) -{ -} - -void CAboutDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); -} - -BEGIN_MESSAGE_MAP(CAboutDlg, CDialog) -END_MESSAGE_MAP() - - -// CMy7396int2Dlg dialog - - - - -CMy7396int2Dlg::CMy7396int2Dlg(CWnd* pParent /*=NULL*/) - : CDialog(CMy7396int2Dlg::IDD, pParent) - , m_nCardIdx(-1) - , m_nSampleCount(-1) - , m_nSampleRate(-1) - , m_hCard(-1) - , m_hThread(NULL) -{ - m_hIcon = AfxGetApp()->LoadIcon(IDR_MAINFRAME); - m_nC1=10; m_nC2=10; - - ghIntEvent[0] = ghIntEvent[1] = NULL; - -} - -void CMy7396int2Dlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); -} - -BEGIN_MESSAGE_MAP(CMy7396int2Dlg, CDialog) - ON_WM_SYSCOMMAND() - ON_WM_PAINT() - ON_WM_QUERYDRAGICON() - //}}AFX_MSG_MAP - ON_WM_CTLCOLOR() - ON_BN_CLICKED(IDC_BT_SETUP, &CMy7396int2Dlg::OnBnClickedBtSetup) - ON_WM_DESTROY() - ON_BN_CLICKED(IDC_BT_TRIGGER, &CMy7396int2Dlg::OnBnClickedBtTrigger) -END_MESSAGE_MAP() - - -// CMy7396int2Dlg message handlers - -BOOL CMy7396int2Dlg::OnInitDialog() -{ - CDialog::OnInitDialog(); - - // Add "About..." menu item to system menu. - - // IDM_ABOUTBOX must be in the system command range. - ASSERT((IDM_ABOUTBOX & 0xFFF0) == IDM_ABOUTBOX); - ASSERT(IDM_ABOUTBOX < 0xF000); - - CMenu* pSysMenu = GetSystemMenu(FALSE); - if (pSysMenu != NULL) - { - BOOL bNameValid; - CString strAboutMenu; - bNameValid = strAboutMenu.LoadString(IDS_ABOUTBOX); - ASSERT(bNameValid); - if (!strAboutMenu.IsEmpty()) - { - pSysMenu->AppendMenu(MF_SEPARATOR); - pSysMenu->AppendMenu(MF_STRING, IDM_ABOUTBOX, strAboutMenu); - } - } - - // Set the icon for this dialog. The framework does this automatically - // when the application's main window is not a dialog - SetIcon(m_hIcon, TRUE); // Set big icon - SetIcon(m_hIcon, FALSE); // Set small icon - - // TODO: Add extra initialization here - - return TRUE; // return TRUE unless you set the focus to a control -} - -void CMy7396int2Dlg::OnSysCommand(UINT nID, LPARAM lParam) -{ - if ((nID & 0xFFF0) == IDM_ABOUTBOX) - { - CAboutDlg dlgAbout; - dlgAbout.DoModal(); - } - else - { - CDialog::OnSysCommand(nID, lParam); - } -} - -// If you add a minimize button to your dialog, you will need the code below -// to draw the icon. For MFC applications using the document/view model, -// this is automatically done for you by the framework. - -void CMy7396int2Dlg::OnPaint() -{ - if (IsIconic()) - { - CPaintDC dc(this); // device context for painting - - SendMessage(WM_ICONERASEBKGND, reinterpret_cast(dc.GetSafeHdc()), 0); - - // Center icon in client rectangle - int cxIcon = GetSystemMetrics(SM_CXICON); - int cyIcon = GetSystemMetrics(SM_CYICON); - CRect rect; - GetClientRect(&rect); - int x = (rect.Width() - cxIcon + 1) / 2; - int y = (rect.Height() - cyIcon + 1) / 2; - - // Draw the icon - dc.DrawIcon(x, y, m_hIcon); - } - else - { - CDialog::OnPaint(); - } -} - -// The system calls this function to obtain the cursor to display while the user drags -// the minimized window. -HCURSOR CMy7396int2Dlg::OnQueryDragIcon() -{ - return static_cast(m_hIcon); -} - - -HBRUSH CMy7396int2Dlg::OnCtlColor(CDC* pDC, CWnd* pWnd, UINT nCtlColor) -{ - HBRUSH hbr = CDialog::OnCtlColor(pDC, pWnd, nCtlColor); - - // TODO: Change any attributes of the DC here - if ( pWnd->GetDlgCtrlID() == IDC_STATIC_04 ) - pDC->SetTextColor(RGB(255,0,0)); - - // TODO: Return a different brush if the default is not desired - return hbr; -} - -void CMy7396int2Dlg::OnBnClickedBtSetup() -{ - // TODO: Add your control notification handler code here - CSetupDlg setupDlg; - INT_PTR nResponse; - CString strTemp; - int i, k; - - nResponse = setupDlg.DoModal(); - if (nResponse == IDOK) - { - if( m_nCardIdx != setupDlg.m_nCardIdx ) - { - if( m_hCard != -1 ) - { - Release_Card( m_hCard ); - m_hCard = -1; - } - - m_nCardIdx = setupDlg.m_nCardIdx; - } - - - if( m_hCard == -1 ) - { - if ((m_hCard = Register_Card(PCI_7396, m_nCardIdx)) < 0) - { - strTemp.Format( TEXT("Register_Card Error = %d"), m_hCard); - AfxMessageBox( strTemp ); - - EndDialog(IDCANCEL); - return; - } - } - - m_nSampleCount = setupDlg.m_nSampleCount; - m_nSampleRate = setupDlg.m_nSampleRate; - - for ( i=0, k=0; i255) k=0; - - gInBuffer[i]=0; - } - gIntCount = 0; - - - DIO_PortConfig(m_hCard, Channel_P1A, INPUT_PORT); - DIO_PortConfig(m_hCard, Channel_P2A, OUTPUT_PORT); - DIO_PortConfig(m_hCard, Channel_P1C, INPUT_PORT); - DIO_PortConfig(m_hCard, Channel_P2C, OUTPUT_PORT); - - DIO_SetDualInterrupt(m_hCard, INT1_FP1C0, INT2_TIMER_COUNTER, ghIntEvent); - m_nC2 = 2000000/(m_nSampleRate*m_nC1); - - if(m_hThread == NULL ) - { - gbExitThread = FALSE; - m_hThread = CreateThread( NULL, // default security attributes - 0, // use default stack size - IntThread, // thread function name - NULL, // argument to thread function - 0, // use default creation flags - NULL); // returns the thread identifier - } - - GetDlgItem(IDC_BT_TRIGGER)->EnableWindow( TRUE ); - - - - } - else if (nResponse == IDCANCEL) - { - // TODO: Place code here to handle when the dialog is - // dismissed with Cancel - } -} - -void CMy7396int2Dlg::OnDestroy() -{ - CDialog::OnDestroy(); - - // TODO: Add your message handler code here - int i; - - - if( m_hThread != NULL ) - { - gbExitThread = TRUE; // termnate the IntThread - SetEvent( ghIntEvent[0] ); - - if (WaitForSingleObject(m_hThread, 5000) == WAIT_OBJECT_0) - { - CloseHandle( m_hThread ); - m_hThread = NULL; - } - } - - - if( m_hCard >= 0 ) - { - DIO_SetDualInterrupt(m_hCard, INT1_DISABLE, INT2_DISABLE, ghIntEvent); - - for (i=0; i<2; i++) - { - if(ghIntEvent[i]) - ResetEvent(ghIntEvent[i]); - } - - - Release_Card( m_hCard ); m_hCard = -1; - } - -} - -void CMy7396int2Dlg::OnBnClickedBtTrigger() -{ - // TODO: Add your control notification handler code here - int i, k; - CString strTemp; - CString strLine1, strLine2, strLine3, strLine4, strLine5; - - CTR_Setup(m_hCard, 1, RATE_GENERATOR, m_nC1, BIN); - CTR_Setup(m_hCard, 2, RATE_GENERATOR, m_nC2, BIN); - - k=0; i=0; - gIntCount = 0; - - while ( k < m_nSampleCount ) - { - if (WaitForSingleObject(ghIntEvent[1], 10000)== WAIT_OBJECT_0) - { - DO_WritePort( m_hCard, Channel_P2C, 1 ); - Sleep(1); - DO_WritePort (m_hCard, Channel_P2C, 0 ); - - strTemp.Format( TEXT("INT2 Count = %d "), k+1); - SetDlgItemText( IDC_STATIC_06, strTemp ); - - DO_WritePort( m_hCard, Channel_P2A, gOutBuffer[k]); - DI_ReadPort( m_hCard, Channel_P1A, &(gInBuffer[k]) ); - - //generate INT1 interrupt signal - strTemp.Format( TEXT("INT1 Count = %d "), gIntCount ); - SetDlgItemText( IDC_STATIC_05, strTemp ); - k++; - } - } - - CTR_Setup( m_hCard, 1, RATE_GENERATOR, 0, BIN); - CTR_Setup( m_hCard, 2, RATE_GENERATOR, 0, BIN); - - GetDlgItem(IDC_STATIC_07)->ShowWindow( SW_SHOW ); - - strLine1.Empty(); /// clear strLine1 - strLine2.Empty(); /// clear strLine2 - strLine3.Empty(); /// clear strLine3 - strLine4.Empty(); /// clear strLine4 - strLine5.Empty(); /// clear strLine5 - - for ( i=0; i=10 && i<20) - { - strLine2 += strTemp; - } - if(i>=20 && i<30) - { - strLine3 += strTemp; - } - if (i>=30 && i<40) - { - strLine4 += strTemp; - } - if (i>=40 && i<50) - { - strLine5 += strTemp; - } - } - - if( !strLine1.IsEmpty() ) - SetDlgItemText( IDC_STATIC_LINE1, strLine1 ); - - if( !strLine2.IsEmpty() ) - SetDlgItemText( IDC_STATIC_LINE2, strLine2 ); - - if( !strLine3.IsEmpty() ) - SetDlgItemText( IDC_STATIC_LINE3, strLine3 ); - - if( !strLine4.IsEmpty() ) - SetDlgItemText( IDC_STATIC_LINE4, strLine4 ); - - if( !strLine5.IsEmpty() ) - SetDlgItemText( IDC_STATIC_LINE5, strLine5 ); -} diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7396/SDK7396DbEvt/7396int2Dlg.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7396/SDK7396DbEvt/7396int2Dlg.h deleted file mode 100644 index 02d49d4..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7396/SDK7396DbEvt/7396int2Dlg.h +++ /dev/null @@ -1,46 +0,0 @@ - -// 7396int2Dlg.h : header file -// -#include "Dask64.h" - -#pragma once - - -// CMy7396int2Dlg dialog -class CMy7396int2Dlg : public CDialog -{ -// Construction -public: - CMy7396int2Dlg(CWnd* pParent = NULL); // standard constructor - -// Dialog Data - enum { IDD = IDD_MY7396INT2_DIALOG }; - - protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - - -// Implementation -protected: - HICON m_hIcon; - int m_nCardIdx; - long m_nSampleCount; - long m_nSampleRate; - - I16 m_hCard; - int m_nC1; - int m_nC2; - HANDLE m_hThread; - - // Generated message map functions - virtual BOOL OnInitDialog(); - afx_msg void OnSysCommand(UINT nID, LPARAM lParam); - afx_msg void OnPaint(); - afx_msg HCURSOR OnQueryDragIcon(); - DECLARE_MESSAGE_MAP() -public: - afx_msg HBRUSH OnCtlColor(CDC* pDC, CWnd* pWnd, UINT nCtlColor); - afx_msg void OnBnClickedBtSetup(); - afx_msg void OnDestroy(); - afx_msg void OnBnClickedBtTrigger(); -}; diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7396/SDK7396DbEvt/ReadMe.txt b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7396/SDK7396DbEvt/ReadMe.txt deleted file mode 100644 index 6af73ce..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7396/SDK7396DbEvt/ReadMe.txt +++ /dev/null @@ -1,93 +0,0 @@ -================================================================================ - MICROSOFT FOUNDATION CLASS LIBRARY : 7296int2 Project Overview -=============================================================================== - -The application wizard has created this 7296int2 application for -you. This application not only demonstrates the basics of using the Microsoft -Foundation Classes but is also a starting point for writing your application. - -This file contains a summary of what you will find in each of the files that -make up your 7296int2 application. - -7296int2.vcproj - This is the main project file for VC++ projects generated using an application wizard. - It contains information about the version of Visual C++ that generated the file, and - information about the platforms, configurations, and project features selected with the - application wizard. - -7296int2.h - This is the main header file for the application. It includes other - project specific headers (including Resource.h) and declares the - CMy7296int2App application class. - -7296int2.cpp - This is the main application source file that contains the application - class CMy7296int2App. - -7296int2.rc - This is a listing of all of the Microsoft Windows resources that the - program uses. It includes the icons, bitmaps, and cursors that are stored - in the RES subdirectory. This file can be directly edited in Microsoft - Visual C++. Your project resources are in 1033. - -res\7296int2.ico - This is an icon file, which is used as the application's icon. This - icon is included by the main resource file 7296int2.rc. - -res\My7296int2.rc2 - This file contains resources that are not edited by Microsoft - Visual C++. You should place all resources not editable by - the resource editor in this file. - - -///////////////////////////////////////////////////////////////////////////// - -The application wizard creates one dialog class: - -7296int2Dlg.h, 7296int2Dlg.cpp - the dialog - These files contain your CMy7296int2Dlg class. This class defines - the behavior of your application's main dialog. The dialog's template is - in 7296int2.rc, which can be edited in Microsoft Visual C++. - - -///////////////////////////////////////////////////////////////////////////// - -Other Features: - -ActiveX Controls - The application includes support to use ActiveX controls. - -///////////////////////////////////////////////////////////////////////////// - -Other standard files: - -StdAfx.h, StdAfx.cpp - These files are used to build a precompiled header (PCH) file - named 7296int2.pch and a precompiled types file named StdAfx.obj. - -Resource.h - This is the standard header file, which defines new resource IDs. - Microsoft Visual C++ reads and updates this file. - -7296int2.manifest - Application manifest files are used by Windows XP to describe an applications - dependency on specific versions of Side-by-Side assemblies. The loader uses this - information to load the appropriate assembly from the assembly cache or private - from the application. The Application manifest maybe included for redistribution - as an external .manifest file that is installed in the same folder as the application - executable or it may be included in the executable in the form of a resource. -///////////////////////////////////////////////////////////////////////////// - -Other notes: - -The application wizard uses "TODO:" to indicate parts of the source code you -should add to or customize. - -If your application uses MFC in a shared DLL, you will need -to redistribute the MFC DLLs. If your application is in a language -other than the operating system's locale, you will also have to -redistribute the corresponding localized resources MFC90XXX.DLL. -For more information on both of these topics, please see the section on -redistributing Visual C++ applications in MSDN documentation. - -///////////////////////////////////////////////////////////////////////////// diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7396/SDK7396DbEvt/SetupDlg.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7396/SDK7396DbEvt/SetupDlg.cpp deleted file mode 100644 index bdb0b65..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7396/SDK7396DbEvt/SetupDlg.cpp +++ /dev/null @@ -1,63 +0,0 @@ -// SetupDlg.cpp : implementation file -// - -#include "stdafx.h" -#include "7396int2.h" -#include "SetupDlg.h" - - -// CSetupDlg dialog - -IMPLEMENT_DYNAMIC(CSetupDlg, CDialog) - -CSetupDlg::CSetupDlg(CWnd* pParent /*=NULL*/) - : CDialog(CSetupDlg::IDD, pParent) - , m_nSampleCount(40) - , m_nSampleRate(10000) -{ - -} - -CSetupDlg::~CSetupDlg() -{ -} - -void CSetupDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); - DDX_Control(pDX, IDC_COMBO_CARDNO, m_cbCardID); - DDX_Text(pDX, IDC_EDIT_COUNT, m_nSampleCount); - DDX_Text(pDX, IDC_EDIT_RATE, m_nSampleRate); - DDV_MinMaxLong(pDX, m_nSampleCount, 0, 32768); - DDV_MinMaxLong(pDX, m_nSampleRate, 0, 15000); -} - - -BEGIN_MESSAGE_MAP(CSetupDlg, CDialog) - ON_CBN_SELCHANGE(IDC_COMBO_CARDNO, &CSetupDlg::OnCardNoSelchange) -// ON_EN_CHANGE(IDC_EDIT_COUNT, &CSetupDlg::OnEnChangeEditCount) -END_MESSAGE_MAP() - - -// CSetupDlg message handlers - -BOOL CSetupDlg::OnInitDialog() -{ - CDialog::OnInitDialog(); - - // TODO: Add extra initialization here - m_cbCardID.SetCurSel(0); - m_nCardIdx = 0; - - - return TRUE; // return TRUE unless you set the focus to a control - // EXCEPTION: OCX Property Pages should return FALSE -} - -void CSetupDlg::OnCardNoSelchange() -{ - // TODO: Add your control notification handler code here - m_nCardIdx = m_cbCardID.GetCurSel(); - -} - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7396/SDK7396DbEvt/SetupDlg.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7396/SDK7396DbEvt/SetupDlg.h deleted file mode 100644 index 7b42abf..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7396/SDK7396DbEvt/SetupDlg.h +++ /dev/null @@ -1,30 +0,0 @@ -#pragma once -#include "afxwin.h" - - -// CSetupDlg dialog - -class CSetupDlg : public CDialog -{ - DECLARE_DYNAMIC(CSetupDlg) - -public: - CSetupDlg(CWnd* pParent = NULL); // standard constructor - virtual ~CSetupDlg(); - -// Dialog Data - enum { IDD = IDD_DIALOG_SETUP }; - -protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - - DECLARE_MESSAGE_MAP() -public: - CComboBox m_cbCardID; - virtual BOOL OnInitDialog(); - long m_nSampleCount; - long m_nSampleRate; - int m_nCardIdx; - afx_msg void OnCardNoSelchange(); -// afx_msg void OnEnChangeEditCount(); -}; diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7396/SDK7396DbEvt/res/7396int2.ico b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7396/SDK7396DbEvt/res/7396int2.ico deleted file mode 100644 index d56fbcd..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7396/SDK7396DbEvt/res/7396int2.ico and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7396/SDK7396DbEvt/res/My7396int2.rc2 b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7396/SDK7396DbEvt/res/My7396int2.rc2 deleted file mode 100644 index 1b53e51..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7396/SDK7396DbEvt/res/My7396int2.rc2 +++ /dev/null @@ -1,13 +0,0 @@ -// -// My7296int2.RC2 - resources Microsoft Visual C++ does not edit directly -// - -#ifdef APSTUDIO_INVOKED -#error this file is not editable by Microsoft Visual C++ -#endif //APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// Add manually edited resources here... - -///////////////////////////////////////////////////////////////////////////// diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7396/SDK7396DbEvt/resource.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7396/SDK7396DbEvt/resource.h deleted file mode 100644 index 155b639..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7396/SDK7396DbEvt/resource.h +++ /dev/null @@ -1,35 +0,0 @@ -//{{NO_DEPENDENCIES}} -// Microsoft Visual C++ generated include file. -// Used by 7396int2.rc -// -#define IDM_ABOUTBOX 0x0010 -#define IDD_ABOUTBOX 100 -#define IDS_ABOUTBOX 101 -#define IDD_MY7396INT2_DIALOG 102 -#define IDR_MAINFRAME 128 -#define IDD_DIALOG_SETUP 129 -#define IDC_BT_SETUP 1000 -#define IDC_BT_TRIGGER 1001 -#define IDC_STATIC_04 1002 -#define IDC_COMBO_CARDNO 1003 -#define IDC_EDIT_COUNT 1004 -#define IDC_EDIT_RATE 1005 -#define IDC_STATIC_07 1005 -#define IDC_STATIC_05 1006 -#define IDC_STATIC_06 1007 -#define IDC_STATIC_LINE1 1008 -#define IDC_STATIC_LINE2 1009 -#define IDC_STATIC_LINE3 1010 -#define IDC_STATIC_LINE4 1011 -#define IDC_STATIC_LINE5 1012 - -// Next default values for new objects -// -#ifdef APSTUDIO_INVOKED -#ifndef APSTUDIO_READONLY_SYMBOLS -#define _APS_NEXT_RESOURCE_VALUE 131 -#define _APS_NEXT_COMMAND_VALUE 32771 -#define _APS_NEXT_CONTROL_VALUE 1009 -#define _APS_NEXT_SYMED_VALUE 101 -#endif -#endif diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7396/SDK7396DbEvt/stdafx.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7396/SDK7396DbEvt/stdafx.cpp deleted file mode 100644 index 85d2109..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7396/SDK7396DbEvt/stdafx.cpp +++ /dev/null @@ -1,8 +0,0 @@ - -// stdafx.cpp : source file that includes just the standard includes -// 7296int2.pch will be the pre-compiled header -// stdafx.obj will contain the pre-compiled type information - -#include "stdafx.h" - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7396/SDK7396DbEvt/stdafx.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7396/SDK7396DbEvt/stdafx.h deleted file mode 100644 index 12123e2..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7396/SDK7396DbEvt/stdafx.h +++ /dev/null @@ -1,60 +0,0 @@ - -// stdafx.h : include file for standard system include files, -// or project specific include files that are used frequently, -// but are changed infrequently - -#pragma once - -#ifndef _SECURE_ATL -#define _SECURE_ATL 1 -#endif - -#ifndef VC_EXTRALEAN -#define VC_EXTRALEAN // Exclude rarely-used stuff from Windows headers -#endif - -#include "targetver.h" - -#define _ATL_CSTRING_EXPLICIT_CONSTRUCTORS // some CString constructors will be explicit - -// turns off MFC's hiding of some common and often safely ignored warning messages -#define _AFX_ALL_WARNINGS - -#include // MFC core and standard components -#include // MFC extensions - - -#include // MFC Automation classes - - - -#ifndef _AFX_NO_OLE_SUPPORT -#include // MFC support for Internet Explorer 4 Common Controls -#endif -#ifndef _AFX_NO_AFXCMN_SUPPORT -#include // MFC support for Windows Common Controls -#endif // _AFX_NO_AFXCMN_SUPPORT - -#include // MFC support for ribbons and control bars - - - - - - - - - -#ifdef _UNICODE -#if defined _M_IX86 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='x86' publicKeyToken='6595b64144ccf1df' language='*'\"") -#elif defined _M_IA64 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='ia64' publicKeyToken='6595b64144ccf1df' language='*'\"") -#elif defined _M_X64 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='amd64' publicKeyToken='6595b64144ccf1df' language='*'\"") -#else -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='*' publicKeyToken='6595b64144ccf1df' language='*'\"") -#endif -#endif - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7396/SDK7396DbEvt/targetver.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7396/SDK7396DbEvt/targetver.h deleted file mode 100644 index 11730d5..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7396/SDK7396DbEvt/targetver.h +++ /dev/null @@ -1,26 +0,0 @@ - -#pragma once - -// The following macros define the minimum required platform. The minimum required platform -// is the earliest version of Windows, Internet Explorer etc. that has the necessary features to run -// your application. The macros work by enabling all features available on platform versions up to and -// including the version specified. - -// Modify the following defines if you have to target a platform prior to the ones specified below. -// Refer to MSDN for the latest info on corresponding values for different platforms. -#ifndef WINVER // Specifies that the minimum required platform is Windows Vista. -#define WINVER 0x0600 // Change this to the appropriate value to target other versions of Windows. -#endif - -#ifndef _WIN32_WINNT // Specifies that the minimum required platform is Windows Vista. -#define _WIN32_WINNT 0x0600 // Change this to the appropriate value to target other versions of Windows. -#endif - -#ifndef _WIN32_WINDOWS // Specifies that the minimum required platform is Windows 98. -#define _WIN32_WINDOWS 0x0410 // Change this to the appropriate value to target Windows Me or later. -#endif - -#ifndef _WIN32_IE // Specifies that the minimum required platform is Internet Explorer 7.0. -#define _WIN32_IE 0x0700 // Change this to the appropriate value to target other versions of IE. -#endif - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7396/SDK7396DbEvtMsg/7296int2.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7396/SDK7396DbEvtMsg/7296int2.suo deleted file mode 100644 index 50e1ddb..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7396/SDK7396DbEvtMsg/7296int2.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7396/SDK7396DbEvtMsg/7396int2.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7396/SDK7396DbEvtMsg/7396int2.cpp deleted file mode 100644 index c1f7458..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7396/SDK7396DbEvtMsg/7396int2.cpp +++ /dev/null @@ -1,79 +0,0 @@ - -// 7396int2.cpp : Defines the class behaviors for the application. -// - -#include "stdafx.h" -#include "7396int2.h" -#include "7396int2Dlg.h" - -#ifdef _DEBUG -#define new DEBUG_NEW -#endif - - -// CMy7396int2App - -BEGIN_MESSAGE_MAP(CMy7396int2App, CWinAppEx) - ON_COMMAND(ID_HELP, &CWinApp::OnHelp) -END_MESSAGE_MAP() - - -// CMy7396int2App construction - -CMy7396int2App::CMy7396int2App() -{ - // TODO: add construction code here, - // Place all significant initialization in InitInstance -} - - -// The one and only CMy7396int2App object - -CMy7396int2App theApp; - - -// CMy7396int2App initialization - -BOOL CMy7396int2App::InitInstance() -{ - // InitCommonControlsEx() is required on Windows XP if an application - // manifest specifies use of ComCtl32.dll version 6 or later to enable - // visual styles. Otherwise, any window creation will fail. - INITCOMMONCONTROLSEX InitCtrls; - InitCtrls.dwSize = sizeof(InitCtrls); - // Set this to include all the common control classes you want to use - // in your application. - InitCtrls.dwICC = ICC_WIN95_CLASSES; - InitCommonControlsEx(&InitCtrls); - - CWinAppEx::InitInstance(); - - AfxEnableControlContainer(); - - // Standard initialization - // If you are not using these features and wish to reduce the size - // of your final executable, you should remove from the following - // the specific initialization routines you do not need - // Change the registry key under which our settings are stored - // TODO: You should modify this string to be something appropriate - // such as the name of your company or organization - SetRegistryKey(_T("Local AppWizard-Generated Applications")); - - CMy7396int2Dlg dlg; - m_pMainWnd = &dlg; - INT_PTR nResponse = dlg.DoModal(); - if (nResponse == IDOK) - { - // TODO: Place code here to handle when the dialog is - // dismissed with OK - } - else if (nResponse == IDCANCEL) - { - // TODO: Place code here to handle when the dialog is - // dismissed with Cancel - } - - // Since the dialog has been closed, return FALSE so that we exit the - // application, rather than start the application's message pump. - return FALSE; -} diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7396/SDK7396DbEvtMsg/7396int2.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7396/SDK7396DbEvtMsg/7396int2.h deleted file mode 100644 index 601c13f..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7396/SDK7396DbEvtMsg/7396int2.h +++ /dev/null @@ -1,32 +0,0 @@ - -// 7396int2.h : main header file for the PROJECT_NAME application -// - -#pragma once - -#ifndef __AFXWIN_H__ - #error "include 'stdafx.h' before including this file for PCH" -#endif - -#include "resource.h" // main symbols - - -// CMy7396int2App: -// See 7396int2.cpp for the implementation of this class -// - -class CMy7396int2App : public CWinAppEx -{ -public: - CMy7396int2App(); - -// Overrides - public: - virtual BOOL InitInstance(); - -// Implementation - - DECLARE_MESSAGE_MAP() -}; - -extern CMy7396int2App theApp; \ No newline at end of file diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7396/SDK7396DbEvtMsg/7396int2.rc b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7396/SDK7396DbEvtMsg/7396int2.rc deleted file mode 100644 index 2cb0eb8..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7396/SDK7396DbEvtMsg/7396int2.rc +++ /dev/null @@ -1,310 +0,0 @@ -// Microsoft Visual C++ generated resource script. -// -#include "resource.h" - -#define APSTUDIO_READONLY_SYMBOLS -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 2 resource. -// -#ifndef APSTUDIO_INVOKED -#include "targetver.h" -#endif -#include "afxres.h" - -///////////////////////////////////////////////////////////////////////////// -#undef APSTUDIO_READONLY_SYMBOLS - -///////////////////////////////////////////////////////////////////////////// -// Chinese (Taiwan) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_CHT) -#ifdef _WIN32 -LANGUAGE LANG_CHINESE, SUBLANG_CHINESE_TRADITIONAL -#pragma code_page(950) -#endif //_WIN32 - -#ifdef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// TEXTINCLUDE -// - -1 TEXTINCLUDE -BEGIN - "resource.h\0" -END - -2 TEXTINCLUDE -BEGIN - "#ifndef APSTUDIO_INVOKED\r\n" - "#include ""targetver.h""\r\n" - "#endif\r\n" - "#include ""afxres.h""\r\n" - "\0" -END - -3 TEXTINCLUDE -BEGIN - "#define _AFX_NO_SPLITTER_RESOURCES\r\n" - "#define _AFX_NO_OLE_RESOURCES\r\n" - "#define _AFX_NO_TRACKER_RESOURCES\r\n" - "#define _AFX_NO_PROPERTY_RESOURCES\r\n" - "\r\n" - "#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)\r\n" - "LANGUAGE 9, 1\r\n" - "#pragma code_page(1252)\r\n" - "#include ""res\\My7396int2.rc2"" // non-Microsoft Visual C++ edited resources\r\n" - "#include ""afxres.rc"" // Standard components\r\n" - "#endif\r\n" - "\0" -END - -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// Icon -// - -// Icon with lowest ID value placed first to ensure application icon -// remains consistent on all systems. -IDR_MAINFRAME ICON "res\\7396int2.ico" - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog -// - -IDD_DIALOG_SETUP DIALOGEX 0, 0, 188, 112 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION -CAPTION "Setup Dialog" -FONT 8, "MS Shell Dlg", 400, 0, 0x1 -BEGIN - DEFPUSHBUTTON "OK",IDOK,48,84,50,14 - PUSHBUTTON "Cancel",IDCANCEL,105,84,50,14 - LTEXT "Card Number : ",IDC_STATIC,19,19,53,14 - LTEXT "Total Count : ",IDC_STATIC,19,39,53,14 - LTEXT "Sampling Rate : ",IDC_STATIC,19,57,53,14 - COMBOBOX IDC_COMBO_CARDNO,79,17,86,13,CBS_DROPDOWN | WS_VSCROLL | WS_TABSTOP - EDITTEXT IDC_EDIT_COUNT,79,36,85,14,ES_AUTOHSCROLL | ES_NUMBER - EDITTEXT IDC_EDIT_RATE,79,55,85,14,ES_AUTOHSCROLL | ES_NUMBER -END - - -///////////////////////////////////////////////////////////////////////////// -// -// DESIGNINFO -// - -#ifdef APSTUDIO_INVOKED -GUIDELINES DESIGNINFO -BEGIN - IDD_DIALOG_SETUP, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 181 - TOPMARGIN, 7 - BOTTOMMARGIN, 105 - END -END -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog Info -// - -IDD_DIALOG_SETUP DLGINIT -BEGIN - IDC_COMBO_CARDNO, 0x403, 2, 0 -0x0030, - IDC_COMBO_CARDNO, 0x403, 2, 0 -0x0031, - IDC_COMBO_CARDNO, 0x403, 2, 0 -0x0032, - IDC_COMBO_CARDNO, 0x403, 2, 0 -0x0033, - IDC_COMBO_CARDNO, 0x403, 2, 0 -0x0034, - IDC_COMBO_CARDNO, 0x403, 2, 0 -0x0035, - IDC_COMBO_CARDNO, 0x403, 2, 0 -0x0036, - IDC_COMBO_CARDNO, 0x403, 2, 0 -0x0037, - IDC_COMBO_CARDNO, 0x403, 2, 0 -0x0038, - IDC_COMBO_CARDNO, 0x403, 2, 0 -0x0039, - IDC_COMBO_CARDNO, 0x403, 3, 0 -0x3031, "\000" - IDC_COMBO_CARDNO, 0x403, 3, 0 -0x3131, "\000" - IDC_COMBO_CARDNO, 0x403, 3, 0 -0x3231, "\000" - IDC_COMBO_CARDNO, 0x403, 3, 0 -0x3331, "\000" - IDC_COMBO_CARDNO, 0x403, 3, 0 -0x3431, "\000" - IDC_COMBO_CARDNO, 0x403, 3, 0 -0x3531, "\000" - 0 -END - -#endif // Chinese (Taiwan) resources -///////////////////////////////////////////////////////////////////////////// - - -///////////////////////////////////////////////////////////////////////////// -// English (U.S.) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -#ifdef _WIN32 -LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US -#pragma code_page(1252) -#endif //_WIN32 - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog -// - -IDD_ABOUTBOX DIALOGEX 0, 0, 170, 62 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "About 7396int2" -FONT 8, "MS Shell Dlg", 0, 0, 0x1 -BEGIN - ICON IDR_MAINFRAME,IDC_STATIC,14,14,21,20 - LTEXT "7396int2, Version 1.0",IDC_STATIC,42,14,114,8,SS_NOPREFIX - LTEXT "Copyright (C) 2010",IDC_STATIC,42,26,114,8 - DEFPUSHBUTTON "OK",IDOK,113,41,50,14,WS_GROUP -END - -IDD_MY7396INT2_DIALOG DIALOGEX 0, 0, 273, 193 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_VISIBLE | WS_CAPTION -EXSTYLE WS_EX_APPWINDOW -CAPTION "7396 Dual Interrupt Sample" -FONT 8, "MS Shell Dlg", 0, 0, 0x1 -BEGIN - PUSHBUTTON "Exit",IDCANCEL,163,7,50,14 - PUSHBUTTON "Setup",IDC_BT_SETUP,7,7,53,14 - PUSHBUTTON "Interrupt Trigger",IDC_BT_TRIGGER,61,7,102,14,WS_DISABLED - LTEXT "This sample demonstrates how to use dual-interrupt lines.",IDC_STATIC,7,23,190,13 - LTEXT "The IRQ source of INT1 is P1C0.",IDC_STATIC,7,31,190,13 - LTEXT "The IRQ source of INT2 is internal Timer-output.",IDC_STATIC,7,39,190,13 - LTEXT "Using cable to connect CN1 and CN2\nClick 'Setup' button first ...",IDC_STATIC_04,7,50,125,22 - LTEXT "Data from Input port: \n** only shows at most 50 data **",IDC_STATIC_07,7,97,113,19,NOT WS_VISIBLE - LTEXT "INT1 Count =",IDC_STATIC_05,7,72,85,13 - LTEXT "INT2 Count =",IDC_STATIC_06,7,83,85,13 - LTEXT "",IDC_STATIC_LINE1,7,116,247,11 - LTEXT "",IDC_STATIC_LINE2,7,130,247,11 - LTEXT "",IDC_STATIC_LINE3,7,143,247,11 - LTEXT "",IDC_STATIC_LINE4,7,156,247,11 - LTEXT "",IDC_STATIC_LINE5,7,170,247,11 -END - - -///////////////////////////////////////////////////////////////////////////// -// -// Version -// - -VS_VERSION_INFO VERSIONINFO - FILEVERSION 1,0,0,1 - PRODUCTVERSION 1,0,0,1 - FILEFLAGSMASK 0x3fL -#ifdef _DEBUG - FILEFLAGS 0x1L -#else - FILEFLAGS 0x0L -#endif - FILEOS 0x4L - FILETYPE 0x1L - FILESUBTYPE 0x0L -BEGIN - BLOCK "StringFileInfo" - BEGIN - BLOCK "040904e4" - BEGIN - VALUE "CompanyName", "TODO: " - VALUE "FileDescription", "TODO: " - VALUE "FileVersion", "1.0.0.1" - VALUE "InternalName", "7396int2.exe" - VALUE "LegalCopyright", "TODO: (c) . All rights reserved." - VALUE "OriginalFilename", "7396int2.exe" - VALUE "ProductName", "TODO: " - VALUE "ProductVersion", "1.0.0.1" - END - END - BLOCK "VarFileInfo" - BEGIN - VALUE "Translation", 0x409, 1252 - END -END - - -///////////////////////////////////////////////////////////////////////////// -// -// DESIGNINFO -// - -#ifdef APSTUDIO_INVOKED -GUIDELINES DESIGNINFO -BEGIN - IDD_ABOUTBOX, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 163 - TOPMARGIN, 7 - BOTTOMMARGIN, 55 - END - - IDD_MY7396INT2_DIALOG, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 266 - TOPMARGIN, 7 - BOTTOMMARGIN, 186 - END -END -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// String Table -// - -STRINGTABLE -BEGIN - IDS_ABOUTBOX "&About 7396int2..." -END - -#endif // English (U.S.) resources -///////////////////////////////////////////////////////////////////////////// - - - -#ifndef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 3 resource. -// -#define _AFX_NO_SPLITTER_RESOURCES -#define _AFX_NO_OLE_RESOURCES -#define _AFX_NO_TRACKER_RESOURCES -#define _AFX_NO_PROPERTY_RESOURCES - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -LANGUAGE 9, 1 -#pragma code_page(1252) -#include "res\My7396int2.rc2" // non-Microsoft Visual C++ edited resources -#include "afxres.rc" // Standard components -#endif - -///////////////////////////////////////////////////////////////////////////// -#endif // not APSTUDIO_INVOKED - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7396/SDK7396DbEvtMsg/7396int2.sln b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7396/SDK7396DbEvtMsg/7396int2.sln deleted file mode 100644 index b2ca324..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7396/SDK7396DbEvtMsg/7396int2.sln +++ /dev/null @@ -1,20 +0,0 @@ - -Microsoft Visual Studio Solution File, Format Version 10.00 -# Visual Studio 2008 -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "7396int2", "7396int2.vcproj", "{36D327EC-F369-4F7C-BF2A-C66603E84831}" -EndProject -Global - GlobalSection(SolutionConfigurationPlatforms) = preSolution - Debug|x64 = Debug|x64 - Release|x64 = Release|x64 - EndGlobalSection - GlobalSection(ProjectConfigurationPlatforms) = postSolution - {36D327EC-F369-4F7C-BF2A-C66603E84831}.Debug|x64.ActiveCfg = Debug|x64 - {36D327EC-F369-4F7C-BF2A-C66603E84831}.Debug|x64.Build.0 = Debug|x64 - {36D327EC-F369-4F7C-BF2A-C66603E84831}.Release|x64.ActiveCfg = Release|x64 - {36D327EC-F369-4F7C-BF2A-C66603E84831}.Release|x64.Build.0 = Release|x64 - EndGlobalSection - GlobalSection(SolutionProperties) = preSolution - HideSolutionNode = FALSE - EndGlobalSection -EndGlobal diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7396/SDK7396DbEvtMsg/7396int2.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7396/SDK7396DbEvtMsg/7396int2.suo deleted file mode 100644 index 52c3481..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7396/SDK7396DbEvtMsg/7396int2.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7396/SDK7396DbEvtMsg/7396int2.vcproj b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7396/SDK7396DbEvtMsg/7396int2.vcproj deleted file mode 100644 index 8dc01a9..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7396/SDK7396DbEvtMsg/7396int2.vcproj +++ /dev/null @@ -1,286 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7396/SDK7396DbEvtMsg/7396int2Dlg.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7396/SDK7396DbEvtMsg/7396int2Dlg.cpp deleted file mode 100644 index 206587b..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7396/SDK7396DbEvtMsg/7396int2Dlg.cpp +++ /dev/null @@ -1,398 +0,0 @@ - -// 7396int2Dlg.cpp : implementation file -// - -#include "stdafx.h" -#include "7396int2.h" -#include "7396int2Dlg.h" -#include "SetupDlg.h" - -#ifdef _DEBUG -#define new DEBUG_NEW -#endif - -#define COS_INTERRUPT_MESSAGE _T("COS_INT") -#define TIMER_INTERRUPT_MESSAGE _T("TIMER_INT") - -UINT WM_INT0 = ::RegisterWindowMessage(COS_INTERRUPT_MESSAGE); -UINT WM_INT1 = ::RegisterWindowMessage(TIMER_INTERRUPT_MESSAGE); - - -U32 gInBuffer[32768], gOutBuffer[32768]; -int gIntCount; -HANDLE ghIntEvent[2]; - - -// CAboutDlg dialog used for App About - -class CAboutDlg : public CDialog -{ -public: - CAboutDlg(); - -// Dialog Data - enum { IDD = IDD_ABOUTBOX }; - - protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - -// Implementation -protected: - DECLARE_MESSAGE_MAP() -}; - -CAboutDlg::CAboutDlg() : CDialog(CAboutDlg::IDD) -{ -} - -void CAboutDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); -} - -BEGIN_MESSAGE_MAP(CAboutDlg, CDialog) -END_MESSAGE_MAP() - - -// CMy7396int2Dlg dialog - - - - -CMy7396int2Dlg::CMy7396int2Dlg(CWnd* pParent /*=NULL*/) - : CDialog(CMy7396int2Dlg::IDD, pParent) - , m_nCardIdx(-1) - , m_nSampleCount(-1) - , m_nSampleRate(-1) - , m_hCard(-1) - , m_hThread(NULL) -{ - m_hIcon = AfxGetApp()->LoadIcon(IDR_MAINFRAME); - m_nC1=10; m_nC2=10; - - m_TimerCount = 0; - m_COSCount = 0; - -} - -void CMy7396int2Dlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); -} - -BEGIN_MESSAGE_MAP(CMy7396int2Dlg, CDialog) - ON_WM_SYSCOMMAND() - ON_WM_PAINT() - ON_WM_QUERYDRAGICON() - ON_REGISTERED_MESSAGE(WM_INT0, OnCOS0Interrupt) - ON_REGISTERED_MESSAGE(WM_INT1, OnTimerInterrupt) - //}}AFX_MSG_MAP - ON_WM_CTLCOLOR() - ON_BN_CLICKED(IDC_BT_SETUP, &CMy7396int2Dlg::OnBnClickedBtSetup) - ON_WM_DESTROY() - ON_BN_CLICKED(IDC_BT_TRIGGER, &CMy7396int2Dlg::OnBnClickedBtTrigger) -END_MESSAGE_MAP() - - -// CMy7396int2Dlg message handlers - -BOOL CMy7396int2Dlg::OnInitDialog() -{ - CDialog::OnInitDialog(); - - // Add "About..." menu item to system menu. - - // IDM_ABOUTBOX must be in the system command range. - ASSERT((IDM_ABOUTBOX & 0xFFF0) == IDM_ABOUTBOX); - ASSERT(IDM_ABOUTBOX < 0xF000); - - CMenu* pSysMenu = GetSystemMenu(FALSE); - if (pSysMenu != NULL) - { - BOOL bNameValid; - CString strAboutMenu; - bNameValid = strAboutMenu.LoadString(IDS_ABOUTBOX); - ASSERT(bNameValid); - if (!strAboutMenu.IsEmpty()) - { - pSysMenu->AppendMenu(MF_SEPARATOR); - pSysMenu->AppendMenu(MF_STRING, IDM_ABOUTBOX, strAboutMenu); - } - } - - // Set the icon for this dialog. The framework does this automatically - // when the application's main window is not a dialog - SetIcon(m_hIcon, TRUE); // Set big icon - SetIcon(m_hIcon, FALSE); // Set small icon - - // TODO: Add extra initialization here - - return TRUE; // return TRUE unless you set the focus to a control -} - -void CMy7396int2Dlg::OnSysCommand(UINT nID, LPARAM lParam) -{ - if ((nID & 0xFFF0) == IDM_ABOUTBOX) - { - CAboutDlg dlgAbout; - dlgAbout.DoModal(); - } - else - { - CDialog::OnSysCommand(nID, lParam); - } -} - -// If you add a minimize button to your dialog, you will need the code below -// to draw the icon. For MFC applications using the document/view model, -// this is automatically done for you by the framework. - -void CMy7396int2Dlg::OnPaint() -{ - if (IsIconic()) - { - CPaintDC dc(this); // device context for painting - - SendMessage(WM_ICONERASEBKGND, reinterpret_cast(dc.GetSafeHdc()), 0); - - // Center icon in client rectangle - int cxIcon = GetSystemMetrics(SM_CXICON); - int cyIcon = GetSystemMetrics(SM_CYICON); - CRect rect; - GetClientRect(&rect); - int x = (rect.Width() - cxIcon + 1) / 2; - int y = (rect.Height() - cyIcon + 1) / 2; - - // Draw the icon - dc.DrawIcon(x, y, m_hIcon); - } - else - { - CDialog::OnPaint(); - } -} - -// The system calls this function to obtain the cursor to display while the user drags -// the minimized window. -HCURSOR CMy7396int2Dlg::OnQueryDragIcon() -{ - return static_cast(m_hIcon); -} - - -HBRUSH CMy7396int2Dlg::OnCtlColor(CDC* pDC, CWnd* pWnd, UINT nCtlColor) -{ - HBRUSH hbr = CDialog::OnCtlColor(pDC, pWnd, nCtlColor); - - // TODO: Change any attributes of the DC here - if ( pWnd->GetDlgCtrlID() == IDC_STATIC_04 ) - pDC->SetTextColor(RGB(255,0,0)); - - // TODO: Return a different brush if the default is not desired - return hbr; -} - -void CMy7396int2Dlg::OnBnClickedBtSetup() -{ - // TODO: Add your control notification handler code here - CSetupDlg setupDlg; - INT_PTR nResponse; - CString strTemp; - int i, k; - - nResponse = setupDlg.DoModal(); - if (nResponse == IDOK) - { - if( m_nCardIdx != setupDlg.m_nCardIdx ) - { - if( m_hCard != -1 ) - { - Release_Card( m_hCard ); - m_hCard = -1; - } - - m_nCardIdx = setupDlg.m_nCardIdx; - } - - - if( m_hCard == -1 ) - { - if ((m_hCard = Register_Card(PCI_7396, m_nCardIdx)) < 0) - { - strTemp.Format( TEXT("Register_Card Error = %d"), m_hCard); - AfxMessageBox( strTemp ); - - EndDialog(IDCANCEL); - return; - } - } - - m_nSampleCount = setupDlg.m_nSampleCount; - m_nSampleRate = setupDlg.m_nSampleRate; - - for ( i=0, k=0; i255) k=0; - - gInBuffer[i]=0; - } - gIntCount = 0; - - DIO_PortConfig(m_hCard, Channel_P1A, INPUT_PORT); - DIO_PortConfig(m_hCard, Channel_P2A, OUTPUT_PORT); - DIO_PortConfig(m_hCard, Channel_P1C, INPUT_PORT); - DIO_PortConfig(m_hCard, Channel_P2C, OUTPUT_PORT); - - GetDlgItem(IDC_BT_TRIGGER)->EnableWindow( TRUE ); - - } - else if (nResponse == IDCANCEL) - { - // TODO: Place code here to handle when the dialog is - // dismissed with Cancel - } -} - -void CMy7396int2Dlg::OnDestroy() -{ - CDialog::OnDestroy(); - - // TODO: Add your message handler code here - int i; - - if( m_hCard >= 0 ) - { - DIO_SetDualInterrupt(m_hCard, INT1_DISABLE, INT2_DISABLE, ghIntEvent); - - for (i=0; i<2; i++) - { - if(ghIntEvent[i]) - ResetEvent(ghIntEvent[i]); - } - - - Release_Card( m_hCard ); m_hCard = -1; - } - -} - -void CMy7396int2Dlg::OnBnClickedBtTrigger() -{ - // TODO: Add your control notification handler code here - - DIO_INT1_EventMessage (m_hCard, INT1_FP1C0, this->m_hWnd, WM_INT0, NULL); - DIO_INT2_EventMessage (m_hCard, INT2_TIMER_COUNTER, this->m_hWnd, WM_INT1, NULL); - - m_nC2 = 2000000/(m_nSampleRate*m_nC1); - - CTR_Setup(m_hCard, 1, RATE_GENERATOR, m_nC1, BIN); - CTR_Setup(m_hCard, 2, RATE_GENERATOR, m_nC2, BIN); - - m_TimerCount = 0; - m_COSCount = 0; - - -} - -LRESULT CMy7396int2Dlg::OnCOS0Interrupt(WPARAM wParam, LPARAM lParam) -{ - // do something useful - CString strTemp; - - m_COSCount ++; - strTemp.Format( TEXT("INT1 Count = %d "), m_COSCount); - SetDlgItemText( IDC_STATIC_05, strTemp ); - - - return (LRESULT) 0; -} - - -LRESULT CMy7396int2Dlg::OnTimerInterrupt(WPARAM wParam, LPARAM lParam) -{ - int i; - CString strTemp; - CString strLine1, strLine2, strLine3, strLine4, strLine5; - - i=0; - // do something useful - if( m_TimerCount < m_nSampleCount ) - { - DO_WritePort( m_hCard, Channel_P2C, 1 ); - DO_WritePort (m_hCard, Channel_P2C, 0 ); - - strTemp.Format( TEXT("INT2 Count = %d "), m_TimerCount); - SetDlgItemText( IDC_STATIC_06, strTemp ); - - DO_WritePort( m_hCard, Channel_P2A, gOutBuffer[m_TimerCount]); - DI_ReadPort( m_hCard, Channel_P1A, &(gInBuffer[m_TimerCount]) ); - - //generate INT1 interrupt signal - m_TimerCount++; - } - else - { - DIO_INT2_EventMessage ( m_hCard, INT2_DISABLE, this->m_hWnd, NULL, NULL); - DIO_INT1_EventMessage ( m_hCard, INT1_DISABLE, this->m_hWnd, NULL, NULL); - CTR_Setup( m_hCard, 1, RATE_GENERATOR, 0, BIN); - CTR_Setup( m_hCard, 2, RATE_GENERATOR, 0, BIN); - - GetDlgItem(IDC_STATIC_07)->ShowWindow( SW_SHOW ); - - strLine1.Empty(); /// clear strLine1 - strLine2.Empty(); /// clear strLine2 - strLine3.Empty(); /// clear strLine3 - strLine4.Empty(); /// clear strLine4 - strLine5.Empty(); /// clear strLine5 - - for ( i=0; i<50 /*m_nSampleCount*/; i++) - { - strTemp.Format( TEXT("%d, "), gInBuffer[i] ); - - if(i<10) - { - strLine1 += strTemp; - } - - if(i>=10 && i<20) - { - strLine2 += strTemp; - } - - if(i>=20 && i<30) - { - strLine3 += strTemp; - } - - if (i>=30 && i<40) - { - strLine4 += strTemp; - } - - if (i>=40 && i<50) - { - strLine5 += strTemp; - } - } - - if( !strLine1.IsEmpty() ) - SetDlgItemText( IDC_STATIC_LINE1, strLine1 ); - - if( !strLine2.IsEmpty() ) - SetDlgItemText( IDC_STATIC_LINE2, strLine2 ); - - if( !strLine3.IsEmpty() ) - SetDlgItemText( IDC_STATIC_LINE3, strLine3 ); - - if( !strLine4.IsEmpty() ) - SetDlgItemText( IDC_STATIC_LINE4, strLine4 ); - - if( !strLine5.IsEmpty() ) - SetDlgItemText( IDC_STATIC_LINE5, strLine5 ); - } - - - return (LRESULT) 0; -} \ No newline at end of file diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7396/SDK7396DbEvtMsg/7396int2Dlg.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7396/SDK7396DbEvtMsg/7396int2Dlg.h deleted file mode 100644 index e16a706..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7396/SDK7396DbEvtMsg/7396int2Dlg.h +++ /dev/null @@ -1,50 +0,0 @@ - -// 7396int2Dlg.h : header file -// -#include "Dask64.h" - -#pragma once - - -// CMy7396int2Dlg dialog -class CMy7396int2Dlg : public CDialog -{ -// Construction -public: - CMy7396int2Dlg(CWnd* pParent = NULL); // standard constructor - -// Dialog Data - enum { IDD = IDD_MY7396INT2_DIALOG }; - - protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - - -// Implementation -protected: - HICON m_hIcon; - int m_nCardIdx; - long m_nSampleCount; - long m_nSampleRate; - int m_COSCount; - int m_TimerCount; - - I16 m_hCard; - int m_nC1; - int m_nC2; - HANDLE m_hThread; - - // Generated message map functions - virtual BOOL OnInitDialog(); - afx_msg void OnSysCommand(UINT nID, LPARAM lParam); - afx_msg LRESULT OnCOS0Interrupt(WPARAM wParam, LPARAM lParam); - afx_msg LRESULT OnTimerInterrupt(WPARAM wParam, LPARAM lParam); - afx_msg void OnPaint(); - afx_msg HCURSOR OnQueryDragIcon(); - DECLARE_MESSAGE_MAP() -public: - afx_msg HBRUSH OnCtlColor(CDC* pDC, CWnd* pWnd, UINT nCtlColor); - afx_msg void OnBnClickedBtSetup(); - afx_msg void OnDestroy(); - afx_msg void OnBnClickedBtTrigger(); -}; diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7396/SDK7396DbEvtMsg/ReadMe.txt b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7396/SDK7396DbEvtMsg/ReadMe.txt deleted file mode 100644 index 6af73ce..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7396/SDK7396DbEvtMsg/ReadMe.txt +++ /dev/null @@ -1,93 +0,0 @@ -================================================================================ - MICROSOFT FOUNDATION CLASS LIBRARY : 7296int2 Project Overview -=============================================================================== - -The application wizard has created this 7296int2 application for -you. This application not only demonstrates the basics of using the Microsoft -Foundation Classes but is also a starting point for writing your application. - -This file contains a summary of what you will find in each of the files that -make up your 7296int2 application. - -7296int2.vcproj - This is the main project file for VC++ projects generated using an application wizard. - It contains information about the version of Visual C++ that generated the file, and - information about the platforms, configurations, and project features selected with the - application wizard. - -7296int2.h - This is the main header file for the application. It includes other - project specific headers (including Resource.h) and declares the - CMy7296int2App application class. - -7296int2.cpp - This is the main application source file that contains the application - class CMy7296int2App. - -7296int2.rc - This is a listing of all of the Microsoft Windows resources that the - program uses. It includes the icons, bitmaps, and cursors that are stored - in the RES subdirectory. This file can be directly edited in Microsoft - Visual C++. Your project resources are in 1033. - -res\7296int2.ico - This is an icon file, which is used as the application's icon. This - icon is included by the main resource file 7296int2.rc. - -res\My7296int2.rc2 - This file contains resources that are not edited by Microsoft - Visual C++. You should place all resources not editable by - the resource editor in this file. - - -///////////////////////////////////////////////////////////////////////////// - -The application wizard creates one dialog class: - -7296int2Dlg.h, 7296int2Dlg.cpp - the dialog - These files contain your CMy7296int2Dlg class. This class defines - the behavior of your application's main dialog. The dialog's template is - in 7296int2.rc, which can be edited in Microsoft Visual C++. - - -///////////////////////////////////////////////////////////////////////////// - -Other Features: - -ActiveX Controls - The application includes support to use ActiveX controls. - -///////////////////////////////////////////////////////////////////////////// - -Other standard files: - -StdAfx.h, StdAfx.cpp - These files are used to build a precompiled header (PCH) file - named 7296int2.pch and a precompiled types file named StdAfx.obj. - -Resource.h - This is the standard header file, which defines new resource IDs. - Microsoft Visual C++ reads and updates this file. - -7296int2.manifest - Application manifest files are used by Windows XP to describe an applications - dependency on specific versions of Side-by-Side assemblies. The loader uses this - information to load the appropriate assembly from the assembly cache or private - from the application. The Application manifest maybe included for redistribution - as an external .manifest file that is installed in the same folder as the application - executable or it may be included in the executable in the form of a resource. -///////////////////////////////////////////////////////////////////////////// - -Other notes: - -The application wizard uses "TODO:" to indicate parts of the source code you -should add to or customize. - -If your application uses MFC in a shared DLL, you will need -to redistribute the MFC DLLs. If your application is in a language -other than the operating system's locale, you will also have to -redistribute the corresponding localized resources MFC90XXX.DLL. -For more information on both of these topics, please see the section on -redistributing Visual C++ applications in MSDN documentation. - -///////////////////////////////////////////////////////////////////////////// diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7396/SDK7396DbEvtMsg/SetupDlg.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7396/SDK7396DbEvtMsg/SetupDlg.cpp deleted file mode 100644 index 40d6418..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7396/SDK7396DbEvtMsg/SetupDlg.cpp +++ /dev/null @@ -1,63 +0,0 @@ -// SetupDlg.cpp : implementation file -// - -#include "stdafx.h" -#include "7396int2.h" -#include "SetupDlg.h" - - -// CSetupDlg dialog - -IMPLEMENT_DYNAMIC(CSetupDlg, CDialog) - -CSetupDlg::CSetupDlg(CWnd* pParent /*=NULL*/) - : CDialog(CSetupDlg::IDD, pParent) - , m_nSampleCount(40) - , m_nSampleRate(500) -{ - -} - -CSetupDlg::~CSetupDlg() -{ -} - -void CSetupDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); - DDX_Control(pDX, IDC_COMBO_CARDNO, m_cbCardID); - DDX_Text(pDX, IDC_EDIT_COUNT, m_nSampleCount); - DDX_Text(pDX, IDC_EDIT_RATE, m_nSampleRate); - DDV_MinMaxLong(pDX, m_nSampleCount, 0, 32768); - DDV_MinMaxLong(pDX, m_nSampleRate, 0, 15000); -} - - -BEGIN_MESSAGE_MAP(CSetupDlg, CDialog) - ON_CBN_SELCHANGE(IDC_COMBO_CARDNO, &CSetupDlg::OnCardNoSelchange) -// ON_EN_CHANGE(IDC_EDIT_COUNT, &CSetupDlg::OnEnChangeEditCount) -END_MESSAGE_MAP() - - -// CSetupDlg message handlers - -BOOL CSetupDlg::OnInitDialog() -{ - CDialog::OnInitDialog(); - - // TODO: Add extra initialization here - m_cbCardID.SetCurSel(0); - m_nCardIdx = 0; - - - return TRUE; // return TRUE unless you set the focus to a control - // EXCEPTION: OCX Property Pages should return FALSE -} - -void CSetupDlg::OnCardNoSelchange() -{ - // TODO: Add your control notification handler code here - m_nCardIdx = m_cbCardID.GetCurSel(); - -} - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7396/SDK7396DbEvtMsg/SetupDlg.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7396/SDK7396DbEvtMsg/SetupDlg.h deleted file mode 100644 index 7b42abf..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7396/SDK7396DbEvtMsg/SetupDlg.h +++ /dev/null @@ -1,30 +0,0 @@ -#pragma once -#include "afxwin.h" - - -// CSetupDlg dialog - -class CSetupDlg : public CDialog -{ - DECLARE_DYNAMIC(CSetupDlg) - -public: - CSetupDlg(CWnd* pParent = NULL); // standard constructor - virtual ~CSetupDlg(); - -// Dialog Data - enum { IDD = IDD_DIALOG_SETUP }; - -protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - - DECLARE_MESSAGE_MAP() -public: - CComboBox m_cbCardID; - virtual BOOL OnInitDialog(); - long m_nSampleCount; - long m_nSampleRate; - int m_nCardIdx; - afx_msg void OnCardNoSelchange(); -// afx_msg void OnEnChangeEditCount(); -}; diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7396/SDK7396DbEvtMsg/res/7396int2.ico b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7396/SDK7396DbEvtMsg/res/7396int2.ico deleted file mode 100644 index d56fbcd..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7396/SDK7396DbEvtMsg/res/7396int2.ico and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7396/SDK7396DbEvtMsg/res/My7396int2.rc2 b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7396/SDK7396DbEvtMsg/res/My7396int2.rc2 deleted file mode 100644 index 463823b..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7396/SDK7396DbEvtMsg/res/My7396int2.rc2 +++ /dev/null @@ -1,13 +0,0 @@ -// -// My7396int2.RC2 - resources Microsoft Visual C++ does not edit directly -// - -#ifdef APSTUDIO_INVOKED -#error this file is not editable by Microsoft Visual C++ -#endif //APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// Add manually edited resources here... - -///////////////////////////////////////////////////////////////////////////// diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7396/SDK7396DbEvtMsg/resource.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7396/SDK7396DbEvtMsg/resource.h deleted file mode 100644 index 155b639..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7396/SDK7396DbEvtMsg/resource.h +++ /dev/null @@ -1,35 +0,0 @@ -//{{NO_DEPENDENCIES}} -// Microsoft Visual C++ generated include file. -// Used by 7396int2.rc -// -#define IDM_ABOUTBOX 0x0010 -#define IDD_ABOUTBOX 100 -#define IDS_ABOUTBOX 101 -#define IDD_MY7396INT2_DIALOG 102 -#define IDR_MAINFRAME 128 -#define IDD_DIALOG_SETUP 129 -#define IDC_BT_SETUP 1000 -#define IDC_BT_TRIGGER 1001 -#define IDC_STATIC_04 1002 -#define IDC_COMBO_CARDNO 1003 -#define IDC_EDIT_COUNT 1004 -#define IDC_EDIT_RATE 1005 -#define IDC_STATIC_07 1005 -#define IDC_STATIC_05 1006 -#define IDC_STATIC_06 1007 -#define IDC_STATIC_LINE1 1008 -#define IDC_STATIC_LINE2 1009 -#define IDC_STATIC_LINE3 1010 -#define IDC_STATIC_LINE4 1011 -#define IDC_STATIC_LINE5 1012 - -// Next default values for new objects -// -#ifdef APSTUDIO_INVOKED -#ifndef APSTUDIO_READONLY_SYMBOLS -#define _APS_NEXT_RESOURCE_VALUE 131 -#define _APS_NEXT_COMMAND_VALUE 32771 -#define _APS_NEXT_CONTROL_VALUE 1009 -#define _APS_NEXT_SYMED_VALUE 101 -#endif -#endif diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7396/SDK7396DbEvtMsg/stdafx.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7396/SDK7396DbEvtMsg/stdafx.cpp deleted file mode 100644 index eade45e..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7396/SDK7396DbEvtMsg/stdafx.cpp +++ /dev/null @@ -1,8 +0,0 @@ - -// stdafx.cpp : source file that includes just the standard includes -// 7396int2.pch will be the pre-compiled header -// stdafx.obj will contain the pre-compiled type information - -#include "stdafx.h" - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7396/SDK7396DbEvtMsg/stdafx.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7396/SDK7396DbEvtMsg/stdafx.h deleted file mode 100644 index 12123e2..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7396/SDK7396DbEvtMsg/stdafx.h +++ /dev/null @@ -1,60 +0,0 @@ - -// stdafx.h : include file for standard system include files, -// or project specific include files that are used frequently, -// but are changed infrequently - -#pragma once - -#ifndef _SECURE_ATL -#define _SECURE_ATL 1 -#endif - -#ifndef VC_EXTRALEAN -#define VC_EXTRALEAN // Exclude rarely-used stuff from Windows headers -#endif - -#include "targetver.h" - -#define _ATL_CSTRING_EXPLICIT_CONSTRUCTORS // some CString constructors will be explicit - -// turns off MFC's hiding of some common and often safely ignored warning messages -#define _AFX_ALL_WARNINGS - -#include // MFC core and standard components -#include // MFC extensions - - -#include // MFC Automation classes - - - -#ifndef _AFX_NO_OLE_SUPPORT -#include // MFC support for Internet Explorer 4 Common Controls -#endif -#ifndef _AFX_NO_AFXCMN_SUPPORT -#include // MFC support for Windows Common Controls -#endif // _AFX_NO_AFXCMN_SUPPORT - -#include // MFC support for ribbons and control bars - - - - - - - - - -#ifdef _UNICODE -#if defined _M_IX86 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='x86' publicKeyToken='6595b64144ccf1df' language='*'\"") -#elif defined _M_IA64 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='ia64' publicKeyToken='6595b64144ccf1df' language='*'\"") -#elif defined _M_X64 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='amd64' publicKeyToken='6595b64144ccf1df' language='*'\"") -#else -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='*' publicKeyToken='6595b64144ccf1df' language='*'\"") -#endif -#endif - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7396/SDK7396DbEvtMsg/targetver.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7396/SDK7396DbEvtMsg/targetver.h deleted file mode 100644 index 11730d5..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7396/SDK7396DbEvtMsg/targetver.h +++ /dev/null @@ -1,26 +0,0 @@ - -#pragma once - -// The following macros define the minimum required platform. The minimum required platform -// is the earliest version of Windows, Internet Explorer etc. that has the necessary features to run -// your application. The macros work by enabling all features available on platform versions up to and -// including the version specified. - -// Modify the following defines if you have to target a platform prior to the ones specified below. -// Refer to MSDN for the latest info on corresponding values for different platforms. -#ifndef WINVER // Specifies that the minimum required platform is Windows Vista. -#define WINVER 0x0600 // Change this to the appropriate value to target other versions of Windows. -#endif - -#ifndef _WIN32_WINNT // Specifies that the minimum required platform is Windows Vista. -#define _WIN32_WINNT 0x0600 // Change this to the appropriate value to target other versions of Windows. -#endif - -#ifndef _WIN32_WINDOWS // Specifies that the minimum required platform is Windows 98. -#define _WIN32_WINDOWS 0x0410 // Change this to the appropriate value to target Windows Me or later. -#endif - -#ifndef _WIN32_IE // Specifies that the minimum required platform is Internet Explorer 7.0. -#define _WIN32_IE 0x0700 // Change this to the appropriate value to target other versions of IE. -#endif - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7396/SDK7396Int/7296Int.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7396/SDK7396Int/7296Int.suo deleted file mode 100644 index ca544ed..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7396/SDK7396Int/7296Int.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7396/SDK7396Int/7396Int.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7396/SDK7396Int/7396Int.cpp deleted file mode 100644 index 0571a74..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7396/SDK7396Int/7396Int.cpp +++ /dev/null @@ -1,79 +0,0 @@ - -// 7396Int.cpp : Defines the class behaviors for the application. -// - -#include "stdafx.h" -#include "7396Int.h" -#include "7396IntDlg.h" - -#ifdef _DEBUG -#define new DEBUG_NEW -#endif - - -// C7396IntApp - -BEGIN_MESSAGE_MAP(C7396IntApp, CWinAppEx) - ON_COMMAND(ID_HELP, &CWinApp::OnHelp) -END_MESSAGE_MAP() - - -// C7396IntApp construction - -C7396IntApp::C7396IntApp() -{ - // TODO: add construction code here, - // Place all significant initialization in InitInstance -} - - -// The one and only C7396IntApp object - -C7396IntApp theApp; - - -// C7396IntApp initialization - -BOOL C7396IntApp::InitInstance() -{ - // InitCommonControlsEx() is required on Windows XP if an application - // manifest specifies use of ComCtl32.dll version 6 or later to enable - // visual styles. Otherwise, any window creation will fail. - INITCOMMONCONTROLSEX InitCtrls; - InitCtrls.dwSize = sizeof(InitCtrls); - // Set this to include all the common control classes you want to use - // in your application. - InitCtrls.dwICC = ICC_WIN95_CLASSES; - InitCommonControlsEx(&InitCtrls); - - CWinAppEx::InitInstance(); - - AfxEnableControlContainer(); - - // Standard initialization - // If you are not using these features and wish to reduce the size - // of your final executable, you should remove from the following - // the specific initialization routines you do not need - // Change the registry key under which our settings are stored - // TODO: You should modify this string to be something appropriate - // such as the name of your company or organization - SetRegistryKey(_T("Local AppWizard-Generated Applications")); - - C7396IntDlg dlg; - m_pMainWnd = &dlg; - INT_PTR nResponse = dlg.DoModal(); - if (nResponse == IDOK) - { - // TODO: Place code here to handle when the dialog is - // dismissed with OK - } - else if (nResponse == IDCANCEL) - { - // TODO: Place code here to handle when the dialog is - // dismissed with Cancel - } - - // Since the dialog has been closed, return FALSE so that we exit the - // application, rather than start the application's message pump. - return FALSE; -} diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7396/SDK7396Int/7396Int.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7396/SDK7396Int/7396Int.h deleted file mode 100644 index 46764b8..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7396/SDK7396Int/7396Int.h +++ /dev/null @@ -1,32 +0,0 @@ - -// 7396Int.h : main header file for the PROJECT_NAME application -// - -#pragma once - -#ifndef __AFXWIN_H__ - #error "include 'stdafx.h' before including this file for PCH" -#endif - -#include "resource.h" // main symbols - - -// C7396IntApp: -// See 7396Int.cpp for the implementation of this class -// - -class C7396IntApp : public CWinAppEx -{ -public: - C7396IntApp(); - -// Overrides - public: - virtual BOOL InitInstance(); - -// Implementation - - DECLARE_MESSAGE_MAP() -}; - -extern C7396IntApp theApp; \ No newline at end of file diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7396/SDK7396Int/7396Int.rc b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7396/SDK7396Int/7396Int.rc deleted file mode 100644 index 426c566..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7396/SDK7396Int/7396Int.rc +++ /dev/null @@ -1,290 +0,0 @@ -// Microsoft Visual C++ generated resource script. -// -#include "resource.h" - -#define APSTUDIO_READONLY_SYMBOLS -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 2 resource. -// -#ifndef APSTUDIO_INVOKED -#include "targetver.h" -#endif -#include "afxres.h" - -///////////////////////////////////////////////////////////////////////////// -#undef APSTUDIO_READONLY_SYMBOLS - -///////////////////////////////////////////////////////////////////////////// -// Chinese (Taiwan) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_CHT) -#ifdef _WIN32 -LANGUAGE LANG_CHINESE, SUBLANG_CHINESE_TRADITIONAL -#pragma code_page(950) -#endif //_WIN32 - -#ifdef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// TEXTINCLUDE -// - -1 TEXTINCLUDE -BEGIN - "resource.h\0" -END - -2 TEXTINCLUDE -BEGIN - "#ifndef APSTUDIO_INVOKED\r\n" - "#include ""targetver.h""\r\n" - "#endif\r\n" - "#include ""afxres.h""\r\n" - "\0" -END - -3 TEXTINCLUDE -BEGIN - "#define _AFX_NO_SPLITTER_RESOURCES\r\n" - "#define _AFX_NO_OLE_RESOURCES\r\n" - "#define _AFX_NO_TRACKER_RESOURCES\r\n" - "#define _AFX_NO_PROPERTY_RESOURCES\r\n" - "\r\n" - "#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)\r\n" - "LANGUAGE 9, 1\r\n" - "#pragma code_page(1252)\r\n" - "#include ""res\\My7396Int.rc2"" // non-Microsoft Visual C++ edited resources\r\n" - "#include ""afxres.rc"" // Standard components\r\n" - "#endif\r\n" - "\0" -END - -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// Icon -// - -// Icon with lowest ID value placed first to ensure application icon -// remains consistent on all systems. -IDR_MAINFRAME ICON "res\\7396Int.ico" -#endif // Chinese (Taiwan) resources -///////////////////////////////////////////////////////////////////////////// - - -///////////////////////////////////////////////////////////////////////////// -// English (U.S.) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -#ifdef _WIN32 -LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US -#pragma code_page(1252) -#endif //_WIN32 - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog -// - -IDD_ABOUTBOX DIALOGEX 0, 0, 170, 62 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "About 7396Int" -FONT 8, "MS Shell Dlg", 0, 0, 0x1 -BEGIN - ICON IDR_MAINFRAME,IDC_STATIC,14,14,21,20 - LTEXT "7396Int, Version 1.0",IDC_STATIC,42,14,114,8,SS_NOPREFIX - LTEXT "Copyright (C) 2010",IDC_STATIC,42,26,114,8 - DEFPUSHBUTTON "OK",IDOK,113,41,50,14,WS_GROUP -END - -IDD_MY7396INT_DIALOG DIALOGEX 0, 0, 271, 207 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU -EXSTYLE WS_EX_APPWINDOW -CAPTION "7396 Interrupt Sample" -FONT 8, "MS Shell Dlg", 0, 0, 0x1 -BEGIN - PUSHBUTTON "Exit",IDCANCEL,163,7,50,14 - PUSHBUTTON "Setup",IDC_BT_SETUP,7,7,53,14 - PUSHBUTTON "Interrupt Trigger",IDC_BT_TRIGGER,61,7,102,14,WS_DISABLED - LTEXT "This sample performs digital output on PortA of\nCN2 and digital input on PortA of CN1 when an\ninterrupt happens. The INT2 is used, and inetrrupt signals are generated by internal Timer-output.",IDC_STATIC,7,26,206,33 - LTEXT "Using cable to connect CN1 and CN2\nClick 'Setup' button first ...",IDC_STATIC_04,7,62,125,17 - LTEXT "Data from Input port: \n** only shows at most 50 data **",IDC_STATIC_07,7,97,113,19,NOT WS_VISIBLE - LTEXT "INT2 Count =",IDC_STATIC_06,7,83,85,13 - LTEXT "",IDC_STATIC_LINE1,7,116,247,11 - LTEXT "",IDC_STATIC_LINE2,7,130,247,11 - LTEXT "",IDC_STATIC_LINE3,7,143,247,11 - LTEXT "",IDC_STATIC_LINE4,7,156,247,11 - LTEXT "",IDC_STATIC_LINE5,7,170,247,11 -END - -IDD_DIALOG_SETUP DIALOGEX 0, 0, 201, 114 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "Setup Dialog" -FONT 8, "MS Shell Dlg", 400, 0, 0x1 -BEGIN - DEFPUSHBUTTON "OK",IDOK,48,84,50,14 - PUSHBUTTON "Cancel",IDCANCEL,105,84,50,14 - LTEXT "Card Number : ",IDC_STATIC,19,19,53,14 - LTEXT "Total Count : ",IDC_STATIC,19,39,53,14 - LTEXT "Sampling Rate : ",IDC_STATIC,19,57,53,14 - COMBOBOX IDC_COMBO_CARDNO,79,17,86,13,CBS_DROPDOWN | WS_VSCROLL | WS_TABSTOP - EDITTEXT IDC_EDIT_COUNT,79,36,85,14,ES_AUTOHSCROLL | ES_NUMBER - EDITTEXT IDC_EDIT_RATE,79,55,85,14,ES_AUTOHSCROLL | ES_NUMBER -END - - -///////////////////////////////////////////////////////////////////////////// -// -// Version -// - -VS_VERSION_INFO VERSIONINFO - FILEVERSION 1,0,0,1 - PRODUCTVERSION 1,0,0,1 - FILEFLAGSMASK 0x3fL -#ifdef _DEBUG - FILEFLAGS 0x1L -#else - FILEFLAGS 0x0L -#endif - FILEOS 0x4L - FILETYPE 0x1L - FILESUBTYPE 0x0L -BEGIN - BLOCK "StringFileInfo" - BEGIN - BLOCK "040904e4" - BEGIN - VALUE "CompanyName", "TODO: " - VALUE "FileDescription", "TODO: " - VALUE "FileVersion", "1.0.0.1" - VALUE "InternalName", "7396Int.exe" - VALUE "LegalCopyright", "TODO: (c) . All rights reserved." - VALUE "OriginalFilename", "7396Int.exe" - VALUE "ProductName", "TODO: " - VALUE "ProductVersion", "1.0.0.1" - END - END - BLOCK "VarFileInfo" - BEGIN - VALUE "Translation", 0x409, 1252 - END -END - - -///////////////////////////////////////////////////////////////////////////// -// -// DESIGNINFO -// - -#ifdef APSTUDIO_INVOKED -GUIDELINES DESIGNINFO -BEGIN - IDD_ABOUTBOX, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 163 - TOPMARGIN, 7 - BOTTOMMARGIN, 55 - END - - IDD_MY7396INT_DIALOG, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 264 - TOPMARGIN, 7 - BOTTOMMARGIN, 200 - END - - IDD_DIALOG_SETUP, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 194 - TOPMARGIN, 7 - BOTTOMMARGIN, 107 - END -END -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog Info -// - -IDD_DIALOG_SETUP DLGINIT -BEGIN - IDC_COMBO_CARDNO, 0x403, 2, 0 -0x0030, - IDC_COMBO_CARDNO, 0x403, 2, 0 -0x0031, - IDC_COMBO_CARDNO, 0x403, 2, 0 -0x0032, - IDC_COMBO_CARDNO, 0x403, 2, 0 -0x0033, - IDC_COMBO_CARDNO, 0x403, 2, 0 -0x0034, - IDC_COMBO_CARDNO, 0x403, 2, 0 -0x0035, - IDC_COMBO_CARDNO, 0x403, 2, 0 -0x0036, - IDC_COMBO_CARDNO, 0x403, 2, 0 -0x0037, - IDC_COMBO_CARDNO, 0x403, 2, 0 -0x0038, - IDC_COMBO_CARDNO, 0x403, 2, 0 -0x0039, - IDC_COMBO_CARDNO, 0x403, 3, 0 -0x3031, "\000" - IDC_COMBO_CARDNO, 0x403, 3, 0 -0x3131, "\000" - IDC_COMBO_CARDNO, 0x403, 3, 0 -0x3231, "\000" - IDC_COMBO_CARDNO, 0x403, 3, 0 -0x3331, "\000" - IDC_COMBO_CARDNO, 0x403, 3, 0 -0x3431, "\000" - IDC_COMBO_CARDNO, 0x403, 3, 0 -0x3531, "\000" - 0 -END - - -///////////////////////////////////////////////////////////////////////////// -// -// String Table -// - -STRINGTABLE -BEGIN - IDS_ABOUTBOX "&About 7396Int..." -END - -#endif // English (U.S.) resources -///////////////////////////////////////////////////////////////////////////// - - - -#ifndef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 3 resource. -// -#define _AFX_NO_SPLITTER_RESOURCES -#define _AFX_NO_OLE_RESOURCES -#define _AFX_NO_TRACKER_RESOURCES -#define _AFX_NO_PROPERTY_RESOURCES - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -LANGUAGE 9, 1 -#pragma code_page(1252) -#include "res\My7396Int.rc2" // non-Microsoft Visual C++ edited resources -#include "afxres.rc" // Standard components -#endif - -///////////////////////////////////////////////////////////////////////////// -#endif // not APSTUDIO_INVOKED - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7396/SDK7396Int/7396Int.sln b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7396/SDK7396Int/7396Int.sln deleted file mode 100644 index c8d26ef..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7396/SDK7396Int/7396Int.sln +++ /dev/null @@ -1,20 +0,0 @@ - -Microsoft Visual Studio Solution File, Format Version 10.00 -# Visual Studio 2008 -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "7396Int", "7396Int.vcproj", "{03CC0712-9928-4AC4-9A68-06B8B735AB32}" -EndProject -Global - GlobalSection(SolutionConfigurationPlatforms) = preSolution - Debug|x64 = Debug|x64 - Release|x64 = Release|x64 - EndGlobalSection - GlobalSection(ProjectConfigurationPlatforms) = postSolution - {03CC0712-9928-4AC4-9A68-06B8B735AB32}.Debug|x64.ActiveCfg = Debug|x64 - {03CC0712-9928-4AC4-9A68-06B8B735AB32}.Debug|x64.Build.0 = Debug|x64 - {03CC0712-9928-4AC4-9A68-06B8B735AB32}.Release|x64.ActiveCfg = Release|x64 - {03CC0712-9928-4AC4-9A68-06B8B735AB32}.Release|x64.Build.0 = Release|x64 - EndGlobalSection - GlobalSection(SolutionProperties) = preSolution - HideSolutionNode = FALSE - EndGlobalSection -EndGlobal diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7396/SDK7396Int/7396Int.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7396/SDK7396Int/7396Int.suo deleted file mode 100644 index 7c134f1..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7396/SDK7396Int/7396Int.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7396/SDK7396Int/7396Int.vcproj b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7396/SDK7396Int/7396Int.vcproj deleted file mode 100644 index 6b84890..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7396/SDK7396Int/7396Int.vcproj +++ /dev/null @@ -1,287 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7396/SDK7396Int/7396IntDlg.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7396/SDK7396Int/7396IntDlg.cpp deleted file mode 100644 index f2b1555..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7396/SDK7396Int/7396IntDlg.cpp +++ /dev/null @@ -1,343 +0,0 @@ - -// 7396IntDlg.cpp : implementation file -// - -#include "stdafx.h" -#include "7396Int.h" -#include "7396IntDlg.h" -#include "SetupDlg.h" - - -#ifdef _DEBUG -#define new DEBUG_NEW -#endif - -U32 gInBuffer[32768], gOutBuffer[32768]; -HANDLE ghIntEvent[2]; - -// CAboutDlg dialog used for App About - -class CAboutDlg : public CDialog -{ -public: - CAboutDlg(); - -// Dialog Data - enum { IDD = IDD_ABOUTBOX }; - - protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - -// Implementation -protected: - DECLARE_MESSAGE_MAP() -}; - -CAboutDlg::CAboutDlg() : CDialog(CAboutDlg::IDD) -{ -} - -void CAboutDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); -} - -BEGIN_MESSAGE_MAP(CAboutDlg, CDialog) -END_MESSAGE_MAP() - - -// C7396IntDlg dialog - - - - -C7396IntDlg::C7396IntDlg(CWnd* pParent /*=NULL*/) - : CDialog(C7396IntDlg::IDD, pParent) - , m_nCardIdx(-1) - , m_nSampleCount(-1) - , m_nSampleRate(-1) - , m_hCard(-1) -{ - m_hIcon = AfxGetApp()->LoadIcon(IDR_MAINFRAME); - m_nC1=10; m_nC2=10; -} - -void C7396IntDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); -} - -BEGIN_MESSAGE_MAP(C7396IntDlg, CDialog) - ON_WM_SYSCOMMAND() - ON_WM_PAINT() - ON_WM_QUERYDRAGICON() - //}}AFX_MSG_MAP -// ON_STN_CLICKED(IDC_STATIC_07, &C7396IntDlg::OnStnClickedStatic07) -ON_WM_DESTROY() -ON_BN_CLICKED(IDC_BT_SETUP, &C7396IntDlg::OnSetup) -ON_BN_CLICKED(IDC_BT_TRIGGER, &C7396IntDlg::OnTrigger) -ON_WM_CTLCOLOR() -END_MESSAGE_MAP() - - -// C7396IntDlg message handlers - -BOOL C7396IntDlg::OnInitDialog() -{ - CDialog::OnInitDialog(); - - // Add "About..." menu item to system menu. - - // IDM_ABOUTBOX must be in the system command range. - ASSERT((IDM_ABOUTBOX & 0xFFF0) == IDM_ABOUTBOX); - ASSERT(IDM_ABOUTBOX < 0xF000); - - CMenu* pSysMenu = GetSystemMenu(FALSE); - if (pSysMenu != NULL) - { - BOOL bNameValid; - CString strAboutMenu; - bNameValid = strAboutMenu.LoadString(IDS_ABOUTBOX); - ASSERT(bNameValid); - if (!strAboutMenu.IsEmpty()) - { - pSysMenu->AppendMenu(MF_SEPARATOR); - pSysMenu->AppendMenu(MF_STRING, IDM_ABOUTBOX, strAboutMenu); - } - } - - // Set the icon for this dialog. The framework does this automatically - // when the application's main window is not a dialog - SetIcon(m_hIcon, TRUE); // Set big icon - SetIcon(m_hIcon, FALSE); // Set small icon - - // TODO: Add extra initialization here - - return TRUE; // return TRUE unless you set the focus to a control -} - -void C7396IntDlg::OnSysCommand(UINT nID, LPARAM lParam) -{ - if ((nID & 0xFFF0) == IDM_ABOUTBOX) - { - CAboutDlg dlgAbout; - dlgAbout.DoModal(); - } - else - { - CDialog::OnSysCommand(nID, lParam); - } -} - -// If you add a minimize button to your dialog, you will need the code below -// to draw the icon. For MFC applications using the document/view model, -// this is automatically done for you by the framework. - -void C7396IntDlg::OnPaint() -{ - if (IsIconic()) - { - CPaintDC dc(this); // device context for painting - - SendMessage(WM_ICONERASEBKGND, reinterpret_cast(dc.GetSafeHdc()), 0); - - // Center icon in client rectangle - int cxIcon = GetSystemMetrics(SM_CXICON); - int cyIcon = GetSystemMetrics(SM_CYICON); - CRect rect; - GetClientRect(&rect); - int x = (rect.Width() - cxIcon + 1) / 2; - int y = (rect.Height() - cyIcon + 1) / 2; - - // Draw the icon - dc.DrawIcon(x, y, m_hIcon); - } - else - { - CDialog::OnPaint(); - } -} - -// The system calls this function to obtain the cursor to display while the user drags -// the minimized window. -HCURSOR C7396IntDlg::OnQueryDragIcon() -{ - return static_cast(m_hIcon); -} - -void C7396IntDlg::OnDestroy() -{ - CDialog::OnDestroy(); - - // TODO: Add your message handler code here - int i; - - if( m_hCard >= 0 ) - { - DIO_SetDualInterrupt(m_hCard, INT1_DISABLE, INT2_DISABLE, ghIntEvent); - - for (i=0; i<2; i++) - { - if(ghIntEvent[i]) - ResetEvent(ghIntEvent[i]); - } - - - Release_Card( m_hCard ); m_hCard = -1; - } -} - -void C7396IntDlg::OnSetup() -{ - // TODO: Add your control notification handler code here - CSetupDlg setupDlg; - INT_PTR nResponse; - CString strTemp; - int i, k; - - nResponse = setupDlg.DoModal(); - if (nResponse == IDOK) - { - if( m_nCardIdx != setupDlg.m_nCardIdx ) - { - if( m_hCard != -1 ) - { - Release_Card( m_hCard ); - m_hCard = -1; - } - - m_nCardIdx = setupDlg.m_nCardIdx; - } - - - if( m_hCard == -1 ) - { - if ((m_hCard = Register_Card(PCI_7396, m_nCardIdx)) < 0) - { - strTemp.Format( TEXT("Register_Card Error = %d"), m_hCard); - AfxMessageBox( strTemp ); - - EndDialog(IDCANCEL); - return; - } - } - - m_nSampleCount = setupDlg.m_nSampleCount; - m_nSampleRate = setupDlg.m_nSampleRate; - - for ( i=0, k=0; i255) k=0; - - gInBuffer[i]=0; - } - - - DIO_PortConfig(m_hCard, Channel_P1A, INPUT_PORT); - DIO_PortConfig(m_hCard, Channel_P2A, OUTPUT_PORT); - - DIO_SetDualInterrupt(m_hCard, INT1_DISABLE, INT2_TIMER_COUNTER, ghIntEvent); - m_nC2 = 2000000/(m_nSampleRate*m_nC1); - - GetDlgItem(IDC_BT_TRIGGER)->EnableWindow( TRUE ); - - } - else if (nResponse == IDCANCEL) - { - // TODO: Place code here to handle when the dialog is - // dismissed with Cancel - } -} - -void C7396IntDlg::OnTrigger() -{ - // TODO: Add your control notification handler code here - int i, k; - CString strTemp; - CString strLine1, strLine2, strLine3, strLine4, strLine5; - - CTR_Setup(m_hCard, 1, RATE_GENERATOR, m_nC1, BIN); - CTR_Setup(m_hCard, 2, RATE_GENERATOR, m_nC2, BIN); - - k=0; i=0; - - while ( k < m_nSampleCount ) - { - if (WaitForSingleObject(ghIntEvent[1], 4000) == WAIT_OBJECT_0) - { - strTemp.Format( TEXT("INT2 Count = %d "), k+1); - SetDlgItemText( IDC_STATIC_06, strTemp ); - - DO_WritePort( m_hCard, Channel_P2A, gOutBuffer[k]); - DI_ReadPort( m_hCard, Channel_P1A, &(gInBuffer[k]) ); - - k++; - } - } - - CTR_Setup( m_hCard, 1, RATE_GENERATOR, 0, BIN); - CTR_Setup( m_hCard, 2, RATE_GENERATOR, 0, BIN); - - GetDlgItem(IDC_STATIC_07)->ShowWindow( SW_SHOW ); - - strLine1.Empty(); /// clear strLine1 - strLine2.Empty(); /// clear strLine2 - strLine3.Empty(); /// clear strLine3 - strLine4.Empty(); /// clear strLine4 - strLine5.Empty(); /// clear strLine5 - - for ( i=0; i=10 && i<20) - { - strLine2 += strTemp; - } - if(i>=20 && i<30) - { - strLine3 += strTemp; - } - if (i>=30 && i<40) - { - strLine4 += strTemp; - } - if (i>=40 && i<50) - { - strLine5 += strTemp; - } - } - - if( !strLine1.IsEmpty() ) - SetDlgItemText( IDC_STATIC_LINE1, strLine1 ); - - if( !strLine2.IsEmpty() ) - SetDlgItemText( IDC_STATIC_LINE2, strLine2 ); - - if( !strLine3.IsEmpty() ) - SetDlgItemText( IDC_STATIC_LINE3, strLine3 ); - - if( !strLine4.IsEmpty() ) - SetDlgItemText( IDC_STATIC_LINE4, strLine4 ); - - if( !strLine5.IsEmpty() ) - SetDlgItemText( IDC_STATIC_LINE5, strLine5 ); -} - -HBRUSH C7396IntDlg::OnCtlColor(CDC* pDC, CWnd* pWnd, UINT nCtlColor) -{ - HBRUSH hbr = CDialog::OnCtlColor(pDC, pWnd, nCtlColor); - - // TODO: Change any attributes of the DC here - if ( pWnd->GetDlgCtrlID() == IDC_STATIC_04 ) - pDC->SetTextColor(RGB(255,0,0)); - - // TODO: Return a different brush if the default is not desired - return hbr; -} diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7396/SDK7396Int/7396IntDlg.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7396/SDK7396Int/7396IntDlg.h deleted file mode 100644 index 0ba0def..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7396/SDK7396Int/7396IntDlg.h +++ /dev/null @@ -1,47 +0,0 @@ - -// 7396IntDlg.h : header file -// - -#include "Dask64.h" - -#pragma once - - -// C7396IntDlg dialog -class C7396IntDlg : public CDialog -{ -// Construction -public: - C7396IntDlg(CWnd* pParent = NULL); // standard constructor - -// Dialog Data - enum { IDD = IDD_MY7396INT_DIALOG }; - - protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - - -// Implementation -protected: - HICON m_hIcon; - int m_nCardIdx; - long m_nSampleCount; - long m_nSampleRate; - - I16 m_hCard; - int m_nC1; - int m_nC2; - - // Generated message map functions - virtual BOOL OnInitDialog(); - afx_msg void OnSysCommand(UINT nID, LPARAM lParam); - afx_msg void OnPaint(); - afx_msg HCURSOR OnQueryDragIcon(); - DECLARE_MESSAGE_MAP() -public: -// afx_msg void OnStnClickedStatic07(); - afx_msg void OnDestroy(); - afx_msg void OnSetup(); - afx_msg void OnTrigger(); - afx_msg HBRUSH OnCtlColor(CDC* pDC, CWnd* pWnd, UINT nCtlColor); -}; diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7396/SDK7396Int/ReadMe.txt b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7396/SDK7396Int/ReadMe.txt deleted file mode 100644 index 7d743b1..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7396/SDK7396Int/ReadMe.txt +++ /dev/null @@ -1,93 +0,0 @@ -================================================================================ - MICROSOFT FOUNDATION CLASS LIBRARY : 7296Int Project Overview -=============================================================================== - -The application wizard has created this 7296Int application for -you. This application not only demonstrates the basics of using the Microsoft -Foundation Classes but is also a starting point for writing your application. - -This file contains a summary of what you will find in each of the files that -make up your 7296Int application. - -7296Int.vcproj - This is the main project file for VC++ projects generated using an application wizard. - It contains information about the version of Visual C++ that generated the file, and - information about the platforms, configurations, and project features selected with the - application wizard. - -7296Int.h - This is the main header file for the application. It includes other - project specific headers (including Resource.h) and declares the - C7296IntApp application class. - -7296Int.cpp - This is the main application source file that contains the application - class C7296IntApp. - -7296Int.rc - This is a listing of all of the Microsoft Windows resources that the - program uses. It includes the icons, bitmaps, and cursors that are stored - in the RES subdirectory. This file can be directly edited in Microsoft - Visual C++. Your project resources are in 1033. - -res\7296Int.ico - This is an icon file, which is used as the application's icon. This - icon is included by the main resource file 7296Int.rc. - -res\My7296Int.rc2 - This file contains resources that are not edited by Microsoft - Visual C++. You should place all resources not editable by - the resource editor in this file. - - -///////////////////////////////////////////////////////////////////////////// - -The application wizard creates one dialog class: - -7296IntDlg.h, 7296IntDlg.cpp - the dialog - These files contain your C7296IntDlg class. This class defines - the behavior of your application's main dialog. The dialog's template is - in 7296Int.rc, which can be edited in Microsoft Visual C++. - - -///////////////////////////////////////////////////////////////////////////// - -Other Features: - -ActiveX Controls - The application includes support to use ActiveX controls. - -///////////////////////////////////////////////////////////////////////////// - -Other standard files: - -StdAfx.h, StdAfx.cpp - These files are used to build a precompiled header (PCH) file - named 7296Int.pch and a precompiled types file named StdAfx.obj. - -Resource.h - This is the standard header file, which defines new resource IDs. - Microsoft Visual C++ reads and updates this file. - -7296Int.manifest - Application manifest files are used by Windows XP to describe an applications - dependency on specific versions of Side-by-Side assemblies. The loader uses this - information to load the appropriate assembly from the assembly cache or private - from the application. The Application manifest maybe included for redistribution - as an external .manifest file that is installed in the same folder as the application - executable or it may be included in the executable in the form of a resource. -///////////////////////////////////////////////////////////////////////////// - -Other notes: - -The application wizard uses "TODO:" to indicate parts of the source code you -should add to or customize. - -If your application uses MFC in a shared DLL, you will need -to redistribute the MFC DLLs. If your application is in a language -other than the operating system's locale, you will also have to -redistribute the corresponding localized resources MFC90XXX.DLL. -For more information on both of these topics, please see the section on -redistributing Visual C++ applications in MSDN documentation. - -///////////////////////////////////////////////////////////////////////////// diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7396/SDK7396Int/SetupDlg.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7396/SDK7396Int/SetupDlg.cpp deleted file mode 100644 index 0ce16a1..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7396/SDK7396Int/SetupDlg.cpp +++ /dev/null @@ -1,63 +0,0 @@ -// SetupDlg.cpp : implementation file -// - -#include "stdafx.h" -#include "7396int.h" -#include "SetupDlg.h" - - -// CSetupDlg dialog - -IMPLEMENT_DYNAMIC(CSetupDlg, CDialog) - -CSetupDlg::CSetupDlg(CWnd* pParent /*=NULL*/) - : CDialog(CSetupDlg::IDD, pParent) - , m_nSampleCount(40) - , m_nSampleRate(5000) -{ - -} - -CSetupDlg::~CSetupDlg() -{ -} - -void CSetupDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); - DDX_Control(pDX, IDC_COMBO_CARDNO, m_cbCardID); - DDX_Text(pDX, IDC_EDIT_COUNT, m_nSampleCount); - DDX_Text(pDX, IDC_EDIT_RATE, m_nSampleRate); - DDV_MinMaxLong(pDX, m_nSampleCount, 0, 32768); - DDV_MinMaxLong(pDX, m_nSampleRate, 0, 15000); -} - - -BEGIN_MESSAGE_MAP(CSetupDlg, CDialog) - ON_CBN_SELCHANGE(IDC_COMBO_CARDNO, &CSetupDlg::OnCardNoSelchange) -// ON_EN_CHANGE(IDC_EDIT_COUNT, &CSetupDlg::OnEnChangeEditCount) -END_MESSAGE_MAP() - - -// CSetupDlg message handlers - -BOOL CSetupDlg::OnInitDialog() -{ - CDialog::OnInitDialog(); - - // TODO: Add extra initialization here - m_cbCardID.SetCurSel(0); - m_nCardIdx = 0; - - - return TRUE; // return TRUE unless you set the focus to a control - // EXCEPTION: OCX Property Pages should return FALSE -} - -void CSetupDlg::OnCardNoSelchange() -{ - // TODO: Add your control notification handler code here - m_nCardIdx = m_cbCardID.GetCurSel(); - -} - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7396/SDK7396Int/SetupDlg.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7396/SDK7396Int/SetupDlg.h deleted file mode 100644 index 7b42abf..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7396/SDK7396Int/SetupDlg.h +++ /dev/null @@ -1,30 +0,0 @@ -#pragma once -#include "afxwin.h" - - -// CSetupDlg dialog - -class CSetupDlg : public CDialog -{ - DECLARE_DYNAMIC(CSetupDlg) - -public: - CSetupDlg(CWnd* pParent = NULL); // standard constructor - virtual ~CSetupDlg(); - -// Dialog Data - enum { IDD = IDD_DIALOG_SETUP }; - -protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - - DECLARE_MESSAGE_MAP() -public: - CComboBox m_cbCardID; - virtual BOOL OnInitDialog(); - long m_nSampleCount; - long m_nSampleRate; - int m_nCardIdx; - afx_msg void OnCardNoSelchange(); -// afx_msg void OnEnChangeEditCount(); -}; diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7396/SDK7396Int/res/7396Int.ico b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7396/SDK7396Int/res/7396Int.ico deleted file mode 100644 index d56fbcd..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7396/SDK7396Int/res/7396Int.ico and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7396/SDK7396Int/res/My7396Int.rc2 b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7396/SDK7396Int/res/My7396Int.rc2 deleted file mode 100644 index 4edfe6a..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7396/SDK7396Int/res/My7396Int.rc2 +++ /dev/null @@ -1,13 +0,0 @@ -// -// My7296Int.RC2 - resources Microsoft Visual C++ does not edit directly -// - -#ifdef APSTUDIO_INVOKED -#error this file is not editable by Microsoft Visual C++ -#endif //APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// Add manually edited resources here... - -///////////////////////////////////////////////////////////////////////////// diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7396/SDK7396Int/resource.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7396/SDK7396Int/resource.h deleted file mode 100644 index 4bbbb1c..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7396/SDK7396Int/resource.h +++ /dev/null @@ -1,35 +0,0 @@ -//{{NO_DEPENDENCIES}} -// Microsoft Visual C++ generated include file. -// Used by 7296Int.rc -// -#define IDM_ABOUTBOX 0x0010 -#define IDD_ABOUTBOX 100 -#define IDS_ABOUTBOX 101 -#define IDD_MY7396INT_DIALOG 102 -#define IDR_MAINFRAME 128 -#define IDD_DIALOG_SETUP 129 -#define IDC_BT_SETUP 1000 -#define IDC_BT_TRIGGER 1001 -#define IDC_STATIC_04 1002 -#define IDC_COMBO_CARDNO 1003 -#define IDC_EDIT_COUNT 1004 -#define IDC_STATIC_07 1005 -#define IDC_EDIT_RATE 1005 -#define IDC_STATIC_05 1006 -#define IDC_STATIC_06 1007 -#define IDC_STATIC_LINE1 1008 -#define IDC_STATIC_LINE2 1009 -#define IDC_STATIC_LINE3 1010 -#define IDC_STATIC_LINE4 1011 -#define IDC_STATIC_LINE5 1012 - -// Next default values for new objects -// -#ifdef APSTUDIO_INVOKED -#ifndef APSTUDIO_READONLY_SYMBOLS -#define _APS_NEXT_RESOURCE_VALUE 131 -#define _APS_NEXT_COMMAND_VALUE 32771 -#define _APS_NEXT_CONTROL_VALUE 1000 -#define _APS_NEXT_SYMED_VALUE 101 -#endif -#endif diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7396/SDK7396Int/stdafx.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7396/SDK7396Int/stdafx.cpp deleted file mode 100644 index 1cf82ea..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7396/SDK7396Int/stdafx.cpp +++ /dev/null @@ -1,8 +0,0 @@ - -// stdafx.cpp : source file that includes just the standard includes -// 7396Int.pch will be the pre-compiled header -// stdafx.obj will contain the pre-compiled type information - -#include "stdafx.h" - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7396/SDK7396Int/stdafx.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7396/SDK7396Int/stdafx.h deleted file mode 100644 index 12123e2..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7396/SDK7396Int/stdafx.h +++ /dev/null @@ -1,60 +0,0 @@ - -// stdafx.h : include file for standard system include files, -// or project specific include files that are used frequently, -// but are changed infrequently - -#pragma once - -#ifndef _SECURE_ATL -#define _SECURE_ATL 1 -#endif - -#ifndef VC_EXTRALEAN -#define VC_EXTRALEAN // Exclude rarely-used stuff from Windows headers -#endif - -#include "targetver.h" - -#define _ATL_CSTRING_EXPLICIT_CONSTRUCTORS // some CString constructors will be explicit - -// turns off MFC's hiding of some common and often safely ignored warning messages -#define _AFX_ALL_WARNINGS - -#include // MFC core and standard components -#include // MFC extensions - - -#include // MFC Automation classes - - - -#ifndef _AFX_NO_OLE_SUPPORT -#include // MFC support for Internet Explorer 4 Common Controls -#endif -#ifndef _AFX_NO_AFXCMN_SUPPORT -#include // MFC support for Windows Common Controls -#endif // _AFX_NO_AFXCMN_SUPPORT - -#include // MFC support for ribbons and control bars - - - - - - - - - -#ifdef _UNICODE -#if defined _M_IX86 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='x86' publicKeyToken='6595b64144ccf1df' language='*'\"") -#elif defined _M_IA64 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='ia64' publicKeyToken='6595b64144ccf1df' language='*'\"") -#elif defined _M_X64 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='amd64' publicKeyToken='6595b64144ccf1df' language='*'\"") -#else -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='*' publicKeyToken='6595b64144ccf1df' language='*'\"") -#endif -#endif - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7396/SDK7396Int/targetver.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7396/SDK7396Int/targetver.h deleted file mode 100644 index 11730d5..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7396/SDK7396Int/targetver.h +++ /dev/null @@ -1,26 +0,0 @@ - -#pragma once - -// The following macros define the minimum required platform. The minimum required platform -// is the earliest version of Windows, Internet Explorer etc. that has the necessary features to run -// your application. The macros work by enabling all features available on platform versions up to and -// including the version specified. - -// Modify the following defines if you have to target a platform prior to the ones specified below. -// Refer to MSDN for the latest info on corresponding values for different platforms. -#ifndef WINVER // Specifies that the minimum required platform is Windows Vista. -#define WINVER 0x0600 // Change this to the appropriate value to target other versions of Windows. -#endif - -#ifndef _WIN32_WINNT // Specifies that the minimum required platform is Windows Vista. -#define _WIN32_WINNT 0x0600 // Change this to the appropriate value to target other versions of Windows. -#endif - -#ifndef _WIN32_WINDOWS // Specifies that the minimum required platform is Windows 98. -#define _WIN32_WINDOWS 0x0410 // Change this to the appropriate value to target Windows Me or later. -#endif - -#ifndef _WIN32_IE // Specifies that the minimum required platform is Internet Explorer 7.0. -#define _WIN32_IE 0x0700 // Change this to the appropriate value to target other versions of IE. -#endif - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7396/SDK7396IntMsg/7296Int.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7396/SDK7396IntMsg/7296Int.suo deleted file mode 100644 index 8d56f7c..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7396/SDK7396IntMsg/7296Int.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7396/SDK7396IntMsg/7396Int.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7396/SDK7396IntMsg/7396Int.cpp deleted file mode 100644 index 0571a74..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7396/SDK7396IntMsg/7396Int.cpp +++ /dev/null @@ -1,79 +0,0 @@ - -// 7396Int.cpp : Defines the class behaviors for the application. -// - -#include "stdafx.h" -#include "7396Int.h" -#include "7396IntDlg.h" - -#ifdef _DEBUG -#define new DEBUG_NEW -#endif - - -// C7396IntApp - -BEGIN_MESSAGE_MAP(C7396IntApp, CWinAppEx) - ON_COMMAND(ID_HELP, &CWinApp::OnHelp) -END_MESSAGE_MAP() - - -// C7396IntApp construction - -C7396IntApp::C7396IntApp() -{ - // TODO: add construction code here, - // Place all significant initialization in InitInstance -} - - -// The one and only C7396IntApp object - -C7396IntApp theApp; - - -// C7396IntApp initialization - -BOOL C7396IntApp::InitInstance() -{ - // InitCommonControlsEx() is required on Windows XP if an application - // manifest specifies use of ComCtl32.dll version 6 or later to enable - // visual styles. Otherwise, any window creation will fail. - INITCOMMONCONTROLSEX InitCtrls; - InitCtrls.dwSize = sizeof(InitCtrls); - // Set this to include all the common control classes you want to use - // in your application. - InitCtrls.dwICC = ICC_WIN95_CLASSES; - InitCommonControlsEx(&InitCtrls); - - CWinAppEx::InitInstance(); - - AfxEnableControlContainer(); - - // Standard initialization - // If you are not using these features and wish to reduce the size - // of your final executable, you should remove from the following - // the specific initialization routines you do not need - // Change the registry key under which our settings are stored - // TODO: You should modify this string to be something appropriate - // such as the name of your company or organization - SetRegistryKey(_T("Local AppWizard-Generated Applications")); - - C7396IntDlg dlg; - m_pMainWnd = &dlg; - INT_PTR nResponse = dlg.DoModal(); - if (nResponse == IDOK) - { - // TODO: Place code here to handle when the dialog is - // dismissed with OK - } - else if (nResponse == IDCANCEL) - { - // TODO: Place code here to handle when the dialog is - // dismissed with Cancel - } - - // Since the dialog has been closed, return FALSE so that we exit the - // application, rather than start the application's message pump. - return FALSE; -} diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7396/SDK7396IntMsg/7396Int.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7396/SDK7396IntMsg/7396Int.h deleted file mode 100644 index 46764b8..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7396/SDK7396IntMsg/7396Int.h +++ /dev/null @@ -1,32 +0,0 @@ - -// 7396Int.h : main header file for the PROJECT_NAME application -// - -#pragma once - -#ifndef __AFXWIN_H__ - #error "include 'stdafx.h' before including this file for PCH" -#endif - -#include "resource.h" // main symbols - - -// C7396IntApp: -// See 7396Int.cpp for the implementation of this class -// - -class C7396IntApp : public CWinAppEx -{ -public: - C7396IntApp(); - -// Overrides - public: - virtual BOOL InitInstance(); - -// Implementation - - DECLARE_MESSAGE_MAP() -}; - -extern C7396IntApp theApp; \ No newline at end of file diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7396/SDK7396IntMsg/7396Int.rc b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7396/SDK7396IntMsg/7396Int.rc deleted file mode 100644 index 426c566..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7396/SDK7396IntMsg/7396Int.rc +++ /dev/null @@ -1,290 +0,0 @@ -// Microsoft Visual C++ generated resource script. -// -#include "resource.h" - -#define APSTUDIO_READONLY_SYMBOLS -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 2 resource. -// -#ifndef APSTUDIO_INVOKED -#include "targetver.h" -#endif -#include "afxres.h" - -///////////////////////////////////////////////////////////////////////////// -#undef APSTUDIO_READONLY_SYMBOLS - -///////////////////////////////////////////////////////////////////////////// -// Chinese (Taiwan) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_CHT) -#ifdef _WIN32 -LANGUAGE LANG_CHINESE, SUBLANG_CHINESE_TRADITIONAL -#pragma code_page(950) -#endif //_WIN32 - -#ifdef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// TEXTINCLUDE -// - -1 TEXTINCLUDE -BEGIN - "resource.h\0" -END - -2 TEXTINCLUDE -BEGIN - "#ifndef APSTUDIO_INVOKED\r\n" - "#include ""targetver.h""\r\n" - "#endif\r\n" - "#include ""afxres.h""\r\n" - "\0" -END - -3 TEXTINCLUDE -BEGIN - "#define _AFX_NO_SPLITTER_RESOURCES\r\n" - "#define _AFX_NO_OLE_RESOURCES\r\n" - "#define _AFX_NO_TRACKER_RESOURCES\r\n" - "#define _AFX_NO_PROPERTY_RESOURCES\r\n" - "\r\n" - "#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)\r\n" - "LANGUAGE 9, 1\r\n" - "#pragma code_page(1252)\r\n" - "#include ""res\\My7396Int.rc2"" // non-Microsoft Visual C++ edited resources\r\n" - "#include ""afxres.rc"" // Standard components\r\n" - "#endif\r\n" - "\0" -END - -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// Icon -// - -// Icon with lowest ID value placed first to ensure application icon -// remains consistent on all systems. -IDR_MAINFRAME ICON "res\\7396Int.ico" -#endif // Chinese (Taiwan) resources -///////////////////////////////////////////////////////////////////////////// - - -///////////////////////////////////////////////////////////////////////////// -// English (U.S.) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -#ifdef _WIN32 -LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US -#pragma code_page(1252) -#endif //_WIN32 - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog -// - -IDD_ABOUTBOX DIALOGEX 0, 0, 170, 62 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "About 7396Int" -FONT 8, "MS Shell Dlg", 0, 0, 0x1 -BEGIN - ICON IDR_MAINFRAME,IDC_STATIC,14,14,21,20 - LTEXT "7396Int, Version 1.0",IDC_STATIC,42,14,114,8,SS_NOPREFIX - LTEXT "Copyright (C) 2010",IDC_STATIC,42,26,114,8 - DEFPUSHBUTTON "OK",IDOK,113,41,50,14,WS_GROUP -END - -IDD_MY7396INT_DIALOG DIALOGEX 0, 0, 271, 207 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU -EXSTYLE WS_EX_APPWINDOW -CAPTION "7396 Interrupt Sample" -FONT 8, "MS Shell Dlg", 0, 0, 0x1 -BEGIN - PUSHBUTTON "Exit",IDCANCEL,163,7,50,14 - PUSHBUTTON "Setup",IDC_BT_SETUP,7,7,53,14 - PUSHBUTTON "Interrupt Trigger",IDC_BT_TRIGGER,61,7,102,14,WS_DISABLED - LTEXT "This sample performs digital output on PortA of\nCN2 and digital input on PortA of CN1 when an\ninterrupt happens. The INT2 is used, and inetrrupt signals are generated by internal Timer-output.",IDC_STATIC,7,26,206,33 - LTEXT "Using cable to connect CN1 and CN2\nClick 'Setup' button first ...",IDC_STATIC_04,7,62,125,17 - LTEXT "Data from Input port: \n** only shows at most 50 data **",IDC_STATIC_07,7,97,113,19,NOT WS_VISIBLE - LTEXT "INT2 Count =",IDC_STATIC_06,7,83,85,13 - LTEXT "",IDC_STATIC_LINE1,7,116,247,11 - LTEXT "",IDC_STATIC_LINE2,7,130,247,11 - LTEXT "",IDC_STATIC_LINE3,7,143,247,11 - LTEXT "",IDC_STATIC_LINE4,7,156,247,11 - LTEXT "",IDC_STATIC_LINE5,7,170,247,11 -END - -IDD_DIALOG_SETUP DIALOGEX 0, 0, 201, 114 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "Setup Dialog" -FONT 8, "MS Shell Dlg", 400, 0, 0x1 -BEGIN - DEFPUSHBUTTON "OK",IDOK,48,84,50,14 - PUSHBUTTON "Cancel",IDCANCEL,105,84,50,14 - LTEXT "Card Number : ",IDC_STATIC,19,19,53,14 - LTEXT "Total Count : ",IDC_STATIC,19,39,53,14 - LTEXT "Sampling Rate : ",IDC_STATIC,19,57,53,14 - COMBOBOX IDC_COMBO_CARDNO,79,17,86,13,CBS_DROPDOWN | WS_VSCROLL | WS_TABSTOP - EDITTEXT IDC_EDIT_COUNT,79,36,85,14,ES_AUTOHSCROLL | ES_NUMBER - EDITTEXT IDC_EDIT_RATE,79,55,85,14,ES_AUTOHSCROLL | ES_NUMBER -END - - -///////////////////////////////////////////////////////////////////////////// -// -// Version -// - -VS_VERSION_INFO VERSIONINFO - FILEVERSION 1,0,0,1 - PRODUCTVERSION 1,0,0,1 - FILEFLAGSMASK 0x3fL -#ifdef _DEBUG - FILEFLAGS 0x1L -#else - FILEFLAGS 0x0L -#endif - FILEOS 0x4L - FILETYPE 0x1L - FILESUBTYPE 0x0L -BEGIN - BLOCK "StringFileInfo" - BEGIN - BLOCK "040904e4" - BEGIN - VALUE "CompanyName", "TODO: " - VALUE "FileDescription", "TODO: " - VALUE "FileVersion", "1.0.0.1" - VALUE "InternalName", "7396Int.exe" - VALUE "LegalCopyright", "TODO: (c) . All rights reserved." - VALUE "OriginalFilename", "7396Int.exe" - VALUE "ProductName", "TODO: " - VALUE "ProductVersion", "1.0.0.1" - END - END - BLOCK "VarFileInfo" - BEGIN - VALUE "Translation", 0x409, 1252 - END -END - - -///////////////////////////////////////////////////////////////////////////// -// -// DESIGNINFO -// - -#ifdef APSTUDIO_INVOKED -GUIDELINES DESIGNINFO -BEGIN - IDD_ABOUTBOX, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 163 - TOPMARGIN, 7 - BOTTOMMARGIN, 55 - END - - IDD_MY7396INT_DIALOG, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 264 - TOPMARGIN, 7 - BOTTOMMARGIN, 200 - END - - IDD_DIALOG_SETUP, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 194 - TOPMARGIN, 7 - BOTTOMMARGIN, 107 - END -END -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog Info -// - -IDD_DIALOG_SETUP DLGINIT -BEGIN - IDC_COMBO_CARDNO, 0x403, 2, 0 -0x0030, - IDC_COMBO_CARDNO, 0x403, 2, 0 -0x0031, - IDC_COMBO_CARDNO, 0x403, 2, 0 -0x0032, - IDC_COMBO_CARDNO, 0x403, 2, 0 -0x0033, - IDC_COMBO_CARDNO, 0x403, 2, 0 -0x0034, - IDC_COMBO_CARDNO, 0x403, 2, 0 -0x0035, - IDC_COMBO_CARDNO, 0x403, 2, 0 -0x0036, - IDC_COMBO_CARDNO, 0x403, 2, 0 -0x0037, - IDC_COMBO_CARDNO, 0x403, 2, 0 -0x0038, - IDC_COMBO_CARDNO, 0x403, 2, 0 -0x0039, - IDC_COMBO_CARDNO, 0x403, 3, 0 -0x3031, "\000" - IDC_COMBO_CARDNO, 0x403, 3, 0 -0x3131, "\000" - IDC_COMBO_CARDNO, 0x403, 3, 0 -0x3231, "\000" - IDC_COMBO_CARDNO, 0x403, 3, 0 -0x3331, "\000" - IDC_COMBO_CARDNO, 0x403, 3, 0 -0x3431, "\000" - IDC_COMBO_CARDNO, 0x403, 3, 0 -0x3531, "\000" - 0 -END - - -///////////////////////////////////////////////////////////////////////////// -// -// String Table -// - -STRINGTABLE -BEGIN - IDS_ABOUTBOX "&About 7396Int..." -END - -#endif // English (U.S.) resources -///////////////////////////////////////////////////////////////////////////// - - - -#ifndef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 3 resource. -// -#define _AFX_NO_SPLITTER_RESOURCES -#define _AFX_NO_OLE_RESOURCES -#define _AFX_NO_TRACKER_RESOURCES -#define _AFX_NO_PROPERTY_RESOURCES - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -LANGUAGE 9, 1 -#pragma code_page(1252) -#include "res\My7396Int.rc2" // non-Microsoft Visual C++ edited resources -#include "afxres.rc" // Standard components -#endif - -///////////////////////////////////////////////////////////////////////////// -#endif // not APSTUDIO_INVOKED - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7396/SDK7396IntMsg/7396Int.sln b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7396/SDK7396IntMsg/7396Int.sln deleted file mode 100644 index c8d26ef..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7396/SDK7396IntMsg/7396Int.sln +++ /dev/null @@ -1,20 +0,0 @@ - -Microsoft Visual Studio Solution File, Format Version 10.00 -# Visual Studio 2008 -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "7396Int", "7396Int.vcproj", "{03CC0712-9928-4AC4-9A68-06B8B735AB32}" -EndProject -Global - GlobalSection(SolutionConfigurationPlatforms) = preSolution - Debug|x64 = Debug|x64 - Release|x64 = Release|x64 - EndGlobalSection - GlobalSection(ProjectConfigurationPlatforms) = postSolution - {03CC0712-9928-4AC4-9A68-06B8B735AB32}.Debug|x64.ActiveCfg = Debug|x64 - {03CC0712-9928-4AC4-9A68-06B8B735AB32}.Debug|x64.Build.0 = Debug|x64 - {03CC0712-9928-4AC4-9A68-06B8B735AB32}.Release|x64.ActiveCfg = Release|x64 - {03CC0712-9928-4AC4-9A68-06B8B735AB32}.Release|x64.Build.0 = Release|x64 - EndGlobalSection - GlobalSection(SolutionProperties) = preSolution - HideSolutionNode = FALSE - EndGlobalSection -EndGlobal diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7396/SDK7396IntMsg/7396Int.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7396/SDK7396IntMsg/7396Int.suo deleted file mode 100644 index 82b0022..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7396/SDK7396IntMsg/7396Int.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7396/SDK7396IntMsg/7396Int.vcproj b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7396/SDK7396IntMsg/7396Int.vcproj deleted file mode 100644 index 6b84890..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7396/SDK7396IntMsg/7396Int.vcproj +++ /dev/null @@ -1,287 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7396/SDK7396IntMsg/7396IntDlg.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7396/SDK7396IntMsg/7396IntDlg.cpp deleted file mode 100644 index 82c7485..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7396/SDK7396IntMsg/7396IntDlg.cpp +++ /dev/null @@ -1,372 +0,0 @@ - -// 7396IntDlg.cpp : implementation file -// - -#include "stdafx.h" -#include "7396Int.h" -#include "7396IntDlg.h" -#include "SetupDlg.h" - -#define COS_INTERRUPT_MESSAGE _T("COS_INT") -UINT WM_INT = ::RegisterWindowMessage(COS_INTERRUPT_MESSAGE); - - -#ifdef _DEBUG -#define new DEBUG_NEW -#endif - -U32 gInBuffer[32768], gOutBuffer[32768]; -HANDLE ghIntEvent[2]; - -// CAboutDlg dialog used for App About - -class CAboutDlg : public CDialog -{ -public: - CAboutDlg(); - -// Dialog Data - enum { IDD = IDD_ABOUTBOX }; - - protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - -// Implementation -protected: - DECLARE_MESSAGE_MAP() -}; - -CAboutDlg::CAboutDlg() : CDialog(CAboutDlg::IDD) -{ -} - -void CAboutDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); -} - -BEGIN_MESSAGE_MAP(CAboutDlg, CDialog) -END_MESSAGE_MAP() - - -// C7396IntDlg dialog - - - - -C7396IntDlg::C7396IntDlg(CWnd* pParent /*=NULL*/) - : CDialog(C7396IntDlg::IDD, pParent) - , m_nCardIdx(-1) - , m_nSampleCount(-1) - , m_nSampleRate(-1) - , m_hCard(-1) -{ - m_hIcon = AfxGetApp()->LoadIcon(IDR_MAINFRAME); - m_nC1=10; m_nC2=10; - m_IntCount = 0; -} - -void C7396IntDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); -} - -BEGIN_MESSAGE_MAP(C7396IntDlg, CDialog) - ON_WM_SYSCOMMAND() - ON_WM_PAINT() - ON_WM_QUERYDRAGICON() - ON_REGISTERED_MESSAGE(WM_INT, OnCOSInterrupt) - //}}AFX_MSG_MAP - ON_WM_DESTROY() - ON_BN_CLICKED(IDC_BT_SETUP, &C7396IntDlg::OnSetup) - ON_BN_CLICKED(IDC_BT_TRIGGER, &C7396IntDlg::OnTrigger) - ON_WM_CTLCOLOR() -END_MESSAGE_MAP() - - -// C7396IntDlg message handlers - -BOOL C7396IntDlg::OnInitDialog() -{ - CDialog::OnInitDialog(); - - // Add "About..." menu item to system menu. - - // IDM_ABOUTBOX must be in the system command range. - ASSERT((IDM_ABOUTBOX & 0xFFF0) == IDM_ABOUTBOX); - ASSERT(IDM_ABOUTBOX < 0xF000); - - CMenu* pSysMenu = GetSystemMenu(FALSE); - if (pSysMenu != NULL) - { - BOOL bNameValid; - CString strAboutMenu; - bNameValid = strAboutMenu.LoadString(IDS_ABOUTBOX); - ASSERT(bNameValid); - if (!strAboutMenu.IsEmpty()) - { - pSysMenu->AppendMenu(MF_SEPARATOR); - pSysMenu->AppendMenu(MF_STRING, IDM_ABOUTBOX, strAboutMenu); - } - } - - // Set the icon for this dialog. The framework does this automatically - // when the application's main window is not a dialog - SetIcon(m_hIcon, TRUE); // Set big icon - SetIcon(m_hIcon, FALSE); // Set small icon - - // TODO: Add extra initialization here - - return TRUE; // return TRUE unless you set the focus to a control -} - -void C7396IntDlg::OnSysCommand(UINT nID, LPARAM lParam) -{ - if ((nID & 0xFFF0) == IDM_ABOUTBOX) - { - CAboutDlg dlgAbout; - dlgAbout.DoModal(); - } - else - { - CDialog::OnSysCommand(nID, lParam); - } -} - -// If you add a minimize button to your dialog, you will need the code below -// to draw the icon. For MFC applications using the document/view model, -// this is automatically done for you by the framework. - -void C7396IntDlg::OnPaint() -{ - if (IsIconic()) - { - CPaintDC dc(this); // device context for painting - - SendMessage(WM_ICONERASEBKGND, reinterpret_cast(dc.GetSafeHdc()), 0); - - // Center icon in client rectangle - int cxIcon = GetSystemMetrics(SM_CXICON); - int cyIcon = GetSystemMetrics(SM_CYICON); - CRect rect; - GetClientRect(&rect); - int x = (rect.Width() - cxIcon + 1) / 2; - int y = (rect.Height() - cyIcon + 1) / 2; - - // Draw the icon - dc.DrawIcon(x, y, m_hIcon); - } - else - { - CDialog::OnPaint(); - } -} - -// The system calls this function to obtain the cursor to display while the user drags -// the minimized window. -HCURSOR C7396IntDlg::OnQueryDragIcon() -{ - return static_cast(m_hIcon); -} - -void C7396IntDlg::OnDestroy() -{ - CDialog::OnDestroy(); - - // TODO: Add your message handler code here - int i; - - if( m_hCard >= 0 ) - { - DIO_SetDualInterrupt(m_hCard, INT1_DISABLE, INT2_DISABLE, ghIntEvent); - - for (i=0; i<2; i++) - { - if(ghIntEvent[i]) - ResetEvent(ghIntEvent[i]); - } - - - Release_Card( m_hCard ); m_hCard = -1; - } -} - -void C7396IntDlg::OnSetup() -{ - // TODO: Add your control notification handler code here - CSetupDlg setupDlg; - INT_PTR nResponse; - CString strTemp; - long nTmpCount; - int i, k; - - nResponse = setupDlg.DoModal(); - if (nResponse == IDOK) - { - if( m_nCardIdx != setupDlg.m_nCardIdx ) - { - if( m_hCard != -1 ) - { - Release_Card( m_hCard ); - m_hCard = -1; - } - - m_nCardIdx = setupDlg.m_nCardIdx; - } - - - if( m_hCard == -1 ) - { - if ((m_hCard = Register_Card(PCI_7396, m_nCardIdx)) < 0) - { - strTemp.Format( TEXT("Register_Card Error = %d"), m_hCard); - AfxMessageBox( strTemp ); - - EndDialog(IDCANCEL); - return; - } - } - - nTmpCount = setupDlg.m_nSampleCount; - if (nTmpCount > 32768) - { - AfxMessageBox( TEXT("Count can be assigned at most 32768") ); - return; - } - - m_nSampleCount = nTmpCount; - m_nSampleRate = setupDlg.m_nSampleRate; - if (m_nSampleRate > 15000 ) m_nSampleRate=15000; - - - for ( i=0, k=0; i255) k=0; - - gInBuffer[i]=0; - } - - - DIO_PortConfig(m_hCard, Channel_P1A, INPUT_PORT); - DIO_PortConfig(m_hCard, Channel_P2A, OUTPUT_PORT); - - DIO_SetDualInterrupt(m_hCard, INT1_DISABLE, INT2_TIMER_COUNTER, ghIntEvent); - m_nC2 = 2000000/(m_nSampleRate*m_nC1); - m_IntCount = 0; - - GetDlgItem(IDC_BT_TRIGGER)->EnableWindow( TRUE ); - - } - else if (nResponse == IDCANCEL) - { - // TODO: Place code here to handle when the dialog is - // dismissed with Cancel - } -} - -void C7396IntDlg::OnTrigger() -{ - // TODO: Add your control notification handler code here - - CTR_Setup(m_hCard, 1, RATE_GENERATOR, m_nC1, BIN); - CTR_Setup(m_hCard, 2, RATE_GENERATOR, m_nC2, BIN); - - DIO_INT2_EventMessage (m_hCard, INT2_TIMER_COUNTER, this->m_hWnd, WM_INT, NULL); - -} - -HBRUSH C7396IntDlg::OnCtlColor(CDC* pDC, CWnd* pWnd, UINT nCtlColor) -{ - HBRUSH hbr = CDialog::OnCtlColor(pDC, pWnd, nCtlColor); - - // TODO: Change any attributes of the DC here - if ( pWnd->GetDlgCtrlID() == IDC_STATIC_04 ) - pDC->SetTextColor(RGB(255,0,0)); - - // TODO: Return a different brush if the default is not desired - return hbr; -} - -LRESULT C7396IntDlg::OnCOSInterrupt(WPARAM wParam, LPARAM lParam) -{ - // do something useful - int i; - CString strTemp; - CString strLine1, strLine2, strLine3, strLine4, strLine5; - - if(m_IntCount m_hWnd, NULL, NULL); - DIO_INT1_EventMessage (m_hCard, INT1_DISABLE, this->m_hWnd, NULL, NULL); - - CTR_Setup( m_hCard, 1, RATE_GENERATOR, 0, BIN); - CTR_Setup( m_hCard, 2, RATE_GENERATOR, 0, BIN); - - GetDlgItem(IDC_STATIC_07)->ShowWindow( SW_SHOW ); - - strLine1.Empty(); /// clear strLine1 - strLine2.Empty(); /// clear strLine2 - strLine3.Empty(); /// clear strLine3 - strLine4.Empty(); /// clear strLine - strLine5.Empty(); /// clear strLine5 - - for ( i=0; i<50 /*m_nSampleCount*/; i++) - { - strTemp.Format( TEXT("%d, "), gInBuffer[i] ); - - if(i<10) - { - strLine1 += strTemp; - } - - if(i>=10 && i<20) - { - strLine2 += strTemp; - } - - if(i>=20 && i<30) - { - strLine3 += strTemp; - } - - if (i>=30 && i<40) - { - strLine4 += strTemp; - } - - if (i>=40 && i<50) - { - strLine5 += strTemp; - } - } - - if( !strLine1.IsEmpty() ) - SetDlgItemText( IDC_STATIC_LINE1, strLine1 ); - - if( !strLine2.IsEmpty() ) - SetDlgItemText( IDC_STATIC_LINE2, strLine2 ); - - if( !strLine3.IsEmpty() ) - SetDlgItemText( IDC_STATIC_LINE3, strLine3 ); - - if( !strLine4.IsEmpty() ) - SetDlgItemText( IDC_STATIC_LINE4, strLine4 ); - - if( !strLine5.IsEmpty() ) - SetDlgItemText( IDC_STATIC_LINE5, strLine5 ); - } - - return (LRESULT) 0; -} diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7396/SDK7396IntMsg/7396IntDlg.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7396/SDK7396IntMsg/7396IntDlg.h deleted file mode 100644 index 76c33b2..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7396/SDK7396IntMsg/7396IntDlg.h +++ /dev/null @@ -1,49 +0,0 @@ - -// 7396IntDlg.h : header file -// - -#include "Dask64.h" - -#pragma once - - -// C7396IntDlg dialog -class C7396IntDlg : public CDialog -{ -// Construction -public: - C7396IntDlg(CWnd* pParent = NULL); // standard constructor - -// Dialog Data - enum { IDD = IDD_MY7396INT_DIALOG }; - - protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - - -// Implementation -protected: - HICON m_hIcon; - int m_nCardIdx; - long m_nSampleCount; - long m_nSampleRate; - int m_IntCount; - - I16 m_hCard; - int m_nC1; - int m_nC2; - - // Generated message map functions - virtual BOOL OnInitDialog(); - afx_msg void OnSysCommand(UINT nID, LPARAM lParam); - afx_msg void OnPaint(); - afx_msg LRESULT OnCOSInterrupt(WPARAM wParam, LPARAM lParam); - afx_msg HCURSOR OnQueryDragIcon(); - DECLARE_MESSAGE_MAP() -public: -// afx_msg void OnStnClickedStatic07(); - afx_msg void OnDestroy(); - afx_msg void OnSetup(); - afx_msg void OnTrigger(); - afx_msg HBRUSH OnCtlColor(CDC* pDC, CWnd* pWnd, UINT nCtlColor); -}; diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7396/SDK7396IntMsg/ReadMe.txt b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7396/SDK7396IntMsg/ReadMe.txt deleted file mode 100644 index 7d743b1..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7396/SDK7396IntMsg/ReadMe.txt +++ /dev/null @@ -1,93 +0,0 @@ -================================================================================ - MICROSOFT FOUNDATION CLASS LIBRARY : 7296Int Project Overview -=============================================================================== - -The application wizard has created this 7296Int application for -you. This application not only demonstrates the basics of using the Microsoft -Foundation Classes but is also a starting point for writing your application. - -This file contains a summary of what you will find in each of the files that -make up your 7296Int application. - -7296Int.vcproj - This is the main project file for VC++ projects generated using an application wizard. - It contains information about the version of Visual C++ that generated the file, and - information about the platforms, configurations, and project features selected with the - application wizard. - -7296Int.h - This is the main header file for the application. It includes other - project specific headers (including Resource.h) and declares the - C7296IntApp application class. - -7296Int.cpp - This is the main application source file that contains the application - class C7296IntApp. - -7296Int.rc - This is a listing of all of the Microsoft Windows resources that the - program uses. It includes the icons, bitmaps, and cursors that are stored - in the RES subdirectory. This file can be directly edited in Microsoft - Visual C++. Your project resources are in 1033. - -res\7296Int.ico - This is an icon file, which is used as the application's icon. This - icon is included by the main resource file 7296Int.rc. - -res\My7296Int.rc2 - This file contains resources that are not edited by Microsoft - Visual C++. You should place all resources not editable by - the resource editor in this file. - - -///////////////////////////////////////////////////////////////////////////// - -The application wizard creates one dialog class: - -7296IntDlg.h, 7296IntDlg.cpp - the dialog - These files contain your C7296IntDlg class. This class defines - the behavior of your application's main dialog. The dialog's template is - in 7296Int.rc, which can be edited in Microsoft Visual C++. - - -///////////////////////////////////////////////////////////////////////////// - -Other Features: - -ActiveX Controls - The application includes support to use ActiveX controls. - -///////////////////////////////////////////////////////////////////////////// - -Other standard files: - -StdAfx.h, StdAfx.cpp - These files are used to build a precompiled header (PCH) file - named 7296Int.pch and a precompiled types file named StdAfx.obj. - -Resource.h - This is the standard header file, which defines new resource IDs. - Microsoft Visual C++ reads and updates this file. - -7296Int.manifest - Application manifest files are used by Windows XP to describe an applications - dependency on specific versions of Side-by-Side assemblies. The loader uses this - information to load the appropriate assembly from the assembly cache or private - from the application. The Application manifest maybe included for redistribution - as an external .manifest file that is installed in the same folder as the application - executable or it may be included in the executable in the form of a resource. -///////////////////////////////////////////////////////////////////////////// - -Other notes: - -The application wizard uses "TODO:" to indicate parts of the source code you -should add to or customize. - -If your application uses MFC in a shared DLL, you will need -to redistribute the MFC DLLs. If your application is in a language -other than the operating system's locale, you will also have to -redistribute the corresponding localized resources MFC90XXX.DLL. -For more information on both of these topics, please see the section on -redistributing Visual C++ applications in MSDN documentation. - -///////////////////////////////////////////////////////////////////////////// diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7396/SDK7396IntMsg/SetupDlg.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7396/SDK7396IntMsg/SetupDlg.cpp deleted file mode 100644 index c9b350e..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7396/SDK7396IntMsg/SetupDlg.cpp +++ /dev/null @@ -1,63 +0,0 @@ -// SetupDlg.cpp : implementation file -// - -#include "stdafx.h" -#include "7396int.h" -#include "SetupDlg.h" - - -// CSetupDlg dialog - -IMPLEMENT_DYNAMIC(CSetupDlg, CDialog) - -CSetupDlg::CSetupDlg(CWnd* pParent /*=NULL*/) - : CDialog(CSetupDlg::IDD, pParent) - , m_nSampleCount(40) - , m_nSampleRate(500) -{ - -} - -CSetupDlg::~CSetupDlg() -{ -} - -void CSetupDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); - DDX_Control(pDX, IDC_COMBO_CARDNO, m_cbCardID); - DDX_Text(pDX, IDC_EDIT_COUNT, m_nSampleCount); - DDX_Text(pDX, IDC_EDIT_RATE, m_nSampleRate); - DDV_MinMaxLong(pDX, m_nSampleCount, 0, 32768); - DDV_MinMaxLong(pDX, m_nSampleRate, 0, 15000); -} - - -BEGIN_MESSAGE_MAP(CSetupDlg, CDialog) - ON_CBN_SELCHANGE(IDC_COMBO_CARDNO, &CSetupDlg::OnCardNoSelchange) -// ON_EN_CHANGE(IDC_EDIT_COUNT, &CSetupDlg::OnEnChangeEditCount) -END_MESSAGE_MAP() - - -// CSetupDlg message handlers - -BOOL CSetupDlg::OnInitDialog() -{ - CDialog::OnInitDialog(); - - // TODO: Add extra initialization here - m_cbCardID.SetCurSel(0); - m_nCardIdx = 0; - - - return TRUE; // return TRUE unless you set the focus to a control - // EXCEPTION: OCX Property Pages should return FALSE -} - -void CSetupDlg::OnCardNoSelchange() -{ - // TODO: Add your control notification handler code here - m_nCardIdx = m_cbCardID.GetCurSel(); - -} - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7396/SDK7396IntMsg/SetupDlg.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7396/SDK7396IntMsg/SetupDlg.h deleted file mode 100644 index 7b42abf..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7396/SDK7396IntMsg/SetupDlg.h +++ /dev/null @@ -1,30 +0,0 @@ -#pragma once -#include "afxwin.h" - - -// CSetupDlg dialog - -class CSetupDlg : public CDialog -{ - DECLARE_DYNAMIC(CSetupDlg) - -public: - CSetupDlg(CWnd* pParent = NULL); // standard constructor - virtual ~CSetupDlg(); - -// Dialog Data - enum { IDD = IDD_DIALOG_SETUP }; - -protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - - DECLARE_MESSAGE_MAP() -public: - CComboBox m_cbCardID; - virtual BOOL OnInitDialog(); - long m_nSampleCount; - long m_nSampleRate; - int m_nCardIdx; - afx_msg void OnCardNoSelchange(); -// afx_msg void OnEnChangeEditCount(); -}; diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7396/SDK7396IntMsg/res/7396Int.ico b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7396/SDK7396IntMsg/res/7396Int.ico deleted file mode 100644 index d56fbcd..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7396/SDK7396IntMsg/res/7396Int.ico and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7396/SDK7396IntMsg/res/My7396Int.rc2 b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7396/SDK7396IntMsg/res/My7396Int.rc2 deleted file mode 100644 index 4edfe6a..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7396/SDK7396IntMsg/res/My7396Int.rc2 +++ /dev/null @@ -1,13 +0,0 @@ -// -// My7296Int.RC2 - resources Microsoft Visual C++ does not edit directly -// - -#ifdef APSTUDIO_INVOKED -#error this file is not editable by Microsoft Visual C++ -#endif //APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// Add manually edited resources here... - -///////////////////////////////////////////////////////////////////////////// diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7396/SDK7396IntMsg/resource.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7396/SDK7396IntMsg/resource.h deleted file mode 100644 index c18cea6..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7396/SDK7396IntMsg/resource.h +++ /dev/null @@ -1,35 +0,0 @@ -//{{NO_DEPENDENCIES}} -// Microsoft Visual C++ generated include file. -// Used by 7396Int.rc -// -#define IDM_ABOUTBOX 0x0010 -#define IDD_ABOUTBOX 100 -#define IDS_ABOUTBOX 101 -#define IDD_MY7396INT_DIALOG 102 -#define IDR_MAINFRAME 128 -#define IDD_DIALOG_SETUP 129 -#define IDC_BT_SETUP 1000 -#define IDC_BT_TRIGGER 1001 -#define IDC_STATIC_04 1002 -#define IDC_COMBO_CARDNO 1003 -#define IDC_EDIT_COUNT 1004 -#define IDC_STATIC_07 1005 -#define IDC_EDIT_RATE 1005 -#define IDC_STATIC_05 1006 -#define IDC_STATIC_06 1007 -#define IDC_STATIC_LINE1 1008 -#define IDC_STATIC_LINE2 1009 -#define IDC_STATIC_LINE3 1010 -#define IDC_STATIC_LINE4 1011 -#define IDC_STATIC_LINE5 1012 - -// Next default values for new objects -// -#ifdef APSTUDIO_INVOKED -#ifndef APSTUDIO_READONLY_SYMBOLS -#define _APS_NEXT_RESOURCE_VALUE 131 -#define _APS_NEXT_COMMAND_VALUE 32771 -#define _APS_NEXT_CONTROL_VALUE 1000 -#define _APS_NEXT_SYMED_VALUE 101 -#endif -#endif diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7396/SDK7396IntMsg/stdafx.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7396/SDK7396IntMsg/stdafx.cpp deleted file mode 100644 index 1cf82ea..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7396/SDK7396IntMsg/stdafx.cpp +++ /dev/null @@ -1,8 +0,0 @@ - -// stdafx.cpp : source file that includes just the standard includes -// 7396Int.pch will be the pre-compiled header -// stdafx.obj will contain the pre-compiled type information - -#include "stdafx.h" - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7396/SDK7396IntMsg/stdafx.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7396/SDK7396IntMsg/stdafx.h deleted file mode 100644 index 12123e2..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7396/SDK7396IntMsg/stdafx.h +++ /dev/null @@ -1,60 +0,0 @@ - -// stdafx.h : include file for standard system include files, -// or project specific include files that are used frequently, -// but are changed infrequently - -#pragma once - -#ifndef _SECURE_ATL -#define _SECURE_ATL 1 -#endif - -#ifndef VC_EXTRALEAN -#define VC_EXTRALEAN // Exclude rarely-used stuff from Windows headers -#endif - -#include "targetver.h" - -#define _ATL_CSTRING_EXPLICIT_CONSTRUCTORS // some CString constructors will be explicit - -// turns off MFC's hiding of some common and often safely ignored warning messages -#define _AFX_ALL_WARNINGS - -#include // MFC core and standard components -#include // MFC extensions - - -#include // MFC Automation classes - - - -#ifndef _AFX_NO_OLE_SUPPORT -#include // MFC support for Internet Explorer 4 Common Controls -#endif -#ifndef _AFX_NO_AFXCMN_SUPPORT -#include // MFC support for Windows Common Controls -#endif // _AFX_NO_AFXCMN_SUPPORT - -#include // MFC support for ribbons and control bars - - - - - - - - - -#ifdef _UNICODE -#if defined _M_IX86 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='x86' publicKeyToken='6595b64144ccf1df' language='*'\"") -#elif defined _M_IA64 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='ia64' publicKeyToken='6595b64144ccf1df' language='*'\"") -#elif defined _M_X64 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='amd64' publicKeyToken='6595b64144ccf1df' language='*'\"") -#else -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='*' publicKeyToken='6595b64144ccf1df' language='*'\"") -#endif -#endif - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7396/SDK7396IntMsg/targetver.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7396/SDK7396IntMsg/targetver.h deleted file mode 100644 index 11730d5..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7396/SDK7396IntMsg/targetver.h +++ /dev/null @@ -1,26 +0,0 @@ - -#pragma once - -// The following macros define the minimum required platform. The minimum required platform -// is the earliest version of Windows, Internet Explorer etc. that has the necessary features to run -// your application. The macros work by enabling all features available on platform versions up to and -// including the version specified. - -// Modify the following defines if you have to target a platform prior to the ones specified below. -// Refer to MSDN for the latest info on corresponding values for different platforms. -#ifndef WINVER // Specifies that the minimum required platform is Windows Vista. -#define WINVER 0x0600 // Change this to the appropriate value to target other versions of Windows. -#endif - -#ifndef _WIN32_WINNT // Specifies that the minimum required platform is Windows Vista. -#define _WIN32_WINNT 0x0600 // Change this to the appropriate value to target other versions of Windows. -#endif - -#ifndef _WIN32_WINDOWS // Specifies that the minimum required platform is Windows 98. -#define _WIN32_WINDOWS 0x0410 // Change this to the appropriate value to target Windows Me or later. -#endif - -#ifndef _WIN32_IE // Specifies that the minimum required platform is Internet Explorer 7.0. -#define _WIN32_IE 0x0700 // Change this to the appropriate value to target other versions of IE. -#endif - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7396/Sdk7396/CardIDDlg.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7396/Sdk7396/CardIDDlg.cpp deleted file mode 100644 index 926d633..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7396/Sdk7396/CardIDDlg.cpp +++ /dev/null @@ -1,67 +0,0 @@ -// CardIDDlg.cpp : implementation file -// - -#include "stdafx.h" -#include "Util7396.h" -#include "CardIDDlg.h" - - -// CCardIDDlg dialog - -IMPLEMENT_DYNAMIC(CCardIDDlg, CDialog) - -CCardIDDlg::CCardIDDlg(int nCardIdx, CWnd* pParent /*=NULL*/) - : CDialog(CCardIDDlg::IDD, pParent) -{ - m_nCardIdx = nCardIdx; -} - -CCardIDDlg::~CCardIDDlg() -{ -} - -void CCardIDDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); - DDX_Control(pDX, IDC_COMBO_CARDID, m_cbCardID); -} - - -BEGIN_MESSAGE_MAP(CCardIDDlg, CDialog) -// ON_CBN_SELCHANGE(IDC_COMBO_CARDID, &CCardIDDlg::OnCbnSelchangeComboCardid) -ON_BN_CLICKED(IDOK, &CCardIDDlg::OnBnClickedOk) -//ON_WM_CTLCOLOR() -END_MESSAGE_MAP() - - -// CCardIDDlg message handlers - - -void CCardIDDlg::OnBnClickedOk() -{ - // TODO: Add your control notification handler code here - -// UpdateData(TRUE); - m_nCardIdx = m_cbCardID.GetCurSel(); - - OnOK(); -} - -BOOL CCardIDDlg::OnInitDialog() -{ - CDialog::OnInitDialog(); - - // TODO: Add extra initialization here - m_cbCardID.SetCurSel( m_nCardIdx ); - - return TRUE; // return TRUE unless you set the focus to a control - // EXCEPTION: OCX Property Pages should return FALSE -} - -// the function to get the selected CardID -int CCardIDDlg::GetCardID(void) -{ - return m_nCardIdx; -} - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7396/Sdk7396/CardIDDlg.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7396/Sdk7396/CardIDDlg.h deleted file mode 100644 index 54628ea..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7396/Sdk7396/CardIDDlg.h +++ /dev/null @@ -1,33 +0,0 @@ -#pragma once -#include "afxwin.h" - - -// CCardIDDlg dialog - -class CCardIDDlg : public CDialog -{ - DECLARE_DYNAMIC(CCardIDDlg) - -public: - CCardIDDlg(int nCardIdx, CWnd* pParent = NULL); // standard constructor - virtual ~CCardIDDlg(); - -// Dialog Data - enum { IDD = IDD_CARDID_DIALOG }; - -protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - - DECLARE_MESSAGE_MAP() -public: -// afx_msg void OnCbnSelchangeComboCardid(); - afx_msg void OnBnClickedOk(); - // the setting of CardID ComboBox - int m_nCardIdx; - virtual BOOL OnInitDialog(); - // the control of CardID ComboBox - CComboBox m_cbCardID; - // the function to get the selected CardID - int GetCardID(void); -// afx_msg HBRUSH OnCtlColor(CDC* pDC, CWnd* pWnd, UINT nCtlColor); -}; diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7396/Sdk7396/ReadMe.txt b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7396/Sdk7396/ReadMe.txt deleted file mode 100644 index bc5e672..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7396/Sdk7396/ReadMe.txt +++ /dev/null @@ -1,93 +0,0 @@ -================================================================================ - MICROSOFT FOUNDATION CLASS LIBRARY : Util7396 Project Overview -=============================================================================== - -The application wizard has created this Util7396 application for -you. This application not only demonstrates the basics of using the Microsoft -Foundation Classes but is also a starting point for writing your application. - -This file contains a summary of what you will find in each of the files that -make up your Util7396 application. - -Util7396.vcproj - This is the main project file for VC++ projects generated using an application wizard. - It contains information about the version of Visual C++ that generated the file, and - information about the platforms, configurations, and project features selected with the - application wizard. - -Util7396.h - This is the main header file for the application. It includes other - project specific headers (including Resource.h) and declares the - CUtil7396App application class. - -Util7396.cpp - This is the main application source file that contains the application - class CUtil7396App. - -Util7396.rc - This is a listing of all of the Microsoft Windows resources that the - program uses. It includes the icons, bitmaps, and cursors that are stored - in the RES subdirectory. This file can be directly edited in Microsoft - Visual C++. Your project resources are in 1033. - -res\Util7396.ico - This is an icon file, which is used as the application's icon. This - icon is included by the main resource file Util7396.rc. - -res\Util7396.rc2 - This file contains resources that are not edited by Microsoft - Visual C++. You should place all resources not editable by - the resource editor in this file. - - -///////////////////////////////////////////////////////////////////////////// - -The application wizard creates one dialog class: - -Util7396Dlg.h, Util7396Dlg.cpp - the dialog - These files contain your CUtil7396Dlg class. This class defines - the behavior of your application's main dialog. The dialog's template is - in Util7396.rc, which can be edited in Microsoft Visual C++. - - -///////////////////////////////////////////////////////////////////////////// - -Other Features: - -ActiveX Controls - The application includes support to use ActiveX controls. - -///////////////////////////////////////////////////////////////////////////// - -Other standard files: - -StdAfx.h, StdAfx.cpp - These files are used to build a precompiled header (PCH) file - named Util7396.pch and a precompiled types file named StdAfx.obj. - -Resource.h - This is the standard header file, which defines new resource IDs. - Microsoft Visual C++ reads and updates this file. - -Util7396.manifest - Application manifest files are used by Windows XP to describe an applications - dependency on specific versions of Side-by-Side assemblies. The loader uses this - information to load the appropriate assembly from the assembly cache or private - from the application. The Application manifest maybe included for redistribution - as an external .manifest file that is installed in the same folder as the application - executable or it may be included in the executable in the form of a resource. -///////////////////////////////////////////////////////////////////////////// - -Other notes: - -The application wizard uses "TODO:" to indicate parts of the source code you -should add to or customize. - -If your application uses MFC in a shared DLL, you will need -to redistribute the MFC DLLs. If your application is in a language -other than the operating system's locale, you will also have to -redistribute the corresponding localized resources MFC90XXX.DLL. -For more information on both of these topics, please see the section on -redistributing Visual C++ applications in MSDN documentation. - -///////////////////////////////////////////////////////////////////////////// diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7396/Sdk7396/Util7396.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7396/Sdk7396/Util7396.cpp deleted file mode 100644 index 27a1298..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7396/Sdk7396/Util7396.cpp +++ /dev/null @@ -1,110 +0,0 @@ - -// Util7396.cpp : Defines the class behaviors for the application. -// - -#include "stdafx.h" -#include "Util7396.h" -#include "Util7396Dlg.h" -#include "CardIDDlg.h" - -#ifdef _DEBUG -#define new DEBUG_NEW -#endif - - -// CUtil7396App - -BEGIN_MESSAGE_MAP(CUtil7396App, CWinAppEx) - ON_COMMAND(ID_HELP, &CWinApp::OnHelp) -END_MESSAGE_MAP() - - -// CUtil7396App construction - -CUtil7396App::CUtil7396App() -{ - // TODO: add construction code here, - // Place all significant initialization in InitInstance -} - - -// The one and only CUtil7396App object - -CUtil7396App theApp; - - -// CUtil7396App initialization - -BOOL CUtil7396App::InitInstance() -{ - int nCardID = 0; - I16 hCard; - CString strTemp; - INT_PTR nResponse; - - // InitCommonControlsEx() is required on Windows XP if an application - // manifest specifies use of ComCtl32.dll version 6 or later to enable - // visual styles. Otherwise, any window creation will fail. - INITCOMMONCONTROLSEX InitCtrls; - InitCtrls.dwSize = sizeof(InitCtrls); - // Set this to include all the common control classes you want to use - // in your application. - InitCtrls.dwICC = ICC_WIN95_CLASSES; - InitCommonControlsEx(&InitCtrls); - - CWinAppEx::InitInstance(); - - AfxEnableControlContainer(); - - // Standard initialization - // If you are not using these features and wish to reduce the size - // of your final executable, you should remove from the following - // the specific initialization routines you do not need - // Change the registry key under which our settings are stored - // TODO: You should modify this string to be something appropriate - // such as the name of your company or organization - SetRegistryKey(_T("Local AppWizard-Generated Applications")); - - CCardIDDlg CardDlg( nCardID ); - - nResponse = CardDlg.DoModal(); - if (nResponse == IDOK) - { - nCardID = CardDlg.GetCardID(); - - if ((hCard=Register_Card(PCI_7396, nCardID)) < 0) - { - strTemp.Format( TEXT("Register_Card Error = %d"), hCard); - AfxMessageBox( strTemp ); - } - else - { - CUtil7396Dlg dlg(hCard); - m_pMainWnd = &dlg; - nResponse = dlg.DoModal(); - if (nResponse == IDOK) - { - // TODO: Place code here to handle when the dialog is - // dismissed with OK - } - else if (nResponse == IDCANCEL) - { - // TODO: Place code here to handle when the dialog is - // dismissed with Cancel - } - - if (hCard >= 0) Release_Card(hCard); - } - - } - else if (nResponse == IDCANCEL) - { - // TODO: Place code here to handle when the dialog is - // dismissed with Cancel - } - - - // Since the dialog has been closed, return FALSE so that we exit the - // application, rather than start the application's message pump. - return FALSE; -} diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7396/Sdk7396/Util7396.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7396/Sdk7396/Util7396.h deleted file mode 100644 index 0edba97..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7396/Sdk7396/Util7396.h +++ /dev/null @@ -1,32 +0,0 @@ - -// Util7396.h : main header file for the PROJECT_NAME application -// - -#pragma once - -#ifndef __AFXWIN_H__ - #error "include 'stdafx.h' before including this file for PCH" -#endif - -#include "resource.h" // main symbols - - -// CUtil7396App: -// See Util7396.cpp for the implementation of this class -// - -class CUtil7396App : public CWinAppEx -{ -public: - CUtil7396App(); - -// Overrides - public: - virtual BOOL InitInstance(); - -// Implementation - - DECLARE_MESSAGE_MAP() -}; - -extern CUtil7396App theApp; \ No newline at end of file diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7396/Sdk7396/Util7396.rc b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7396/Sdk7396/Util7396.rc deleted file mode 100644 index 83d7b3b..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7396/Sdk7396/Util7396.rc +++ /dev/null @@ -1,412 +0,0 @@ -// Microsoft Visual C++ generated resource script. -// -#include "resource.h" - -#define APSTUDIO_READONLY_SYMBOLS -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 2 resource. -// -#ifndef APSTUDIO_INVOKED -#include "targetver.h" -#endif -#include "afxres.h" - -///////////////////////////////////////////////////////////////////////////// -#undef APSTUDIO_READONLY_SYMBOLS - -///////////////////////////////////////////////////////////////////////////// -// Chinese (Taiwan) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_CHT) -#ifdef _WIN32 -LANGUAGE LANG_CHINESE, SUBLANG_CHINESE_TRADITIONAL -#pragma code_page(950) -#endif //_WIN32 - -#ifdef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// TEXTINCLUDE -// - -1 TEXTINCLUDE -BEGIN - "resource.h\0" -END - -2 TEXTINCLUDE -BEGIN - "#ifndef APSTUDIO_INVOKED\r\n" - "#include ""targetver.h""\r\n" - "#endif\r\n" - "#include ""afxres.h""\r\n" - "\0" -END - -3 TEXTINCLUDE -BEGIN - "#define _AFX_NO_SPLITTER_RESOURCES\r\n" - "#define _AFX_NO_OLE_RESOURCES\r\n" - "#define _AFX_NO_TRACKER_RESOURCES\r\n" - "#define _AFX_NO_PROPERTY_RESOURCES\r\n" - "\r\n" - "#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)\r\n" - "LANGUAGE 9, 1\r\n" - "#pragma code_page(1252)\r\n" - "#include ""res\\Util7396.rc2"" // non-Microsoft Visual C++ edited resources\r\n" - "#include ""afxres.rc"" // Standard components\r\n" - "#endif\r\n" - "\0" -END - -#endif // APSTUDIO_INVOKED - -#endif // Chinese (Taiwan) resources -///////////////////////////////////////////////////////////////////////////// - - -///////////////////////////////////////////////////////////////////////////// -// English (U.S.) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -#ifdef _WIN32 -LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US -#pragma code_page(1252) -#endif //_WIN32 - -///////////////////////////////////////////////////////////////////////////// -// -// Icon -// - -// Icon with lowest ID value placed first to ensure application icon -// remains consistent on all systems. -IDI_ICON_BLACK ICON "res\\black.ico" -IDI_ICON_GREEN ICON "res\\green.ico" -IDI_ICON_RED ICON "res\\red.ico" - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog -// - -IDD_ABOUTBOX DIALOGEX 0, 0, 170, 62 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "About Util7396" -FONT 8, "MS Shell Dlg", 0, 0, 0x1 -BEGIN - ICON IDR_MAINFRAME,IDC_STATIC,14,14,21,20 - LTEXT "Util7396, Version 1.0",IDC_STATIC,42,14,114,8,SS_NOPREFIX - LTEXT "Copyright (C) 2010",IDC_STATIC,42,26,114,8 - DEFPUSHBUTTON "OK",IDOK,113,41,50,14,WS_GROUP -END - -IDD_UTIL7396_DIALOG DIALOGEX 0, 0, 664, 184 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU -EXSTYLE WS_EX_APPWINDOW -CAPTION "PCI-7396" -FONT 8, "MS Shell Dlg", 0, 0, 0x1 -BEGIN - ICON IDI_ICON_BLACK,IDC_ICON_PC0,617,44,20,20 - ICON IDI_ICON_BLACK,IDC_ICON_PC1,593,44,20,20 - ICON IDI_ICON_BLACK,IDC_ICON_PC2,569,44,20,20 - ICON IDI_ICON_BLACK,IDC_ICON_PC3,545,44,20,20 - ICON IDI_ICON_BLACK,IDC_ICON_PC4,519,44,20,20 - ICON IDI_ICON_BLACK,IDC_ICON_PC5,495,44,20,20 - ICON IDI_ICON_BLACK,IDC_ICON_PC6,471,44,20,20 - ICON IDI_ICON_BLACK,IDC_ICON_PC7,447,44,20,20 - ICON IDI_ICON_BLACK,IDC_ICON_PB0,407,44,20,20 - ICON IDI_ICON_BLACK,IDC_ICON_PB1,383,44,20,20 - ICON IDI_ICON_BLACK,IDC_ICON_PB2,359,44,20,20 - ICON IDI_ICON_BLACK,IDC_ICON_PB3,335,44,20,20 - ICON IDI_ICON_BLACK,IDC_ICON_PB4,311,44,20,20 - ICON IDI_ICON_BLACK,IDC_ICON_PB5,287,44,20,20 - ICON IDI_ICON_BLACK,IDC_ICON_PB6,263,44,20,20 - ICON IDI_ICON_BLACK,IDC_ICON_PB7,239,44,20,20 - ICON IDI_ICON_BLACK,IDC_ICON_PA0,197,44,20,20 - ICON IDI_ICON_BLACK,IDC_ICON_PA1,173,44,20,20 - ICON IDI_ICON_BLACK,IDC_ICON_PA2,149,44,20,20 - ICON IDI_ICON_BLACK,IDC_ICON_PA3,125,44,20,20 - ICON IDI_ICON_BLACK,IDC_ICON_PA4,101,44,20,20 - ICON IDI_ICON_BLACK,IDC_ICON_PA5,77,44,20,20 - ICON IDI_ICON_BLACK,IDC_ICON_PA6,53,44,20,20 - GROUPBOX "Port C",IDC_STATIC,446,32,201,36 - GROUPBOX "Port B",IDC_STATIC,233,32,204,36 - GROUPBOX "Port A",IDC_STATIC,23,32,204,36 - ICON IDI_ICON_BLACK,IDC_ICON_PA7,29,44,20,20 - CONTROL "",IDC_CHECK_PC0,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,627,115,21,20 - CONTROL "",IDC_CHECK_PC1,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,603,115,21,20 - CONTROL "",IDC_CHECK_PC2,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,579,115,21,20 - CONTROL "",IDC_CHECK_PC3,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,555,115,21,20 - CONTROL "",IDC_CHECK_PC4,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,529,115,21,20 - CONTROL "",IDC_CHECK_PC5,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,505,115,21,20 - CONTROL "",IDC_CHECK_PC6,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,481,115,21,20 - CONTROL "",IDC_CHECK_PC7,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,457,115,21,20 - CONTROL "",IDC_CHECK_PB0,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,414,115,21,20 - CONTROL "",IDC_CHECK_PB1,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,390,115,21,20 - CONTROL "",IDC_CHECK_PB2,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,366,115,21,20 - CONTROL "",IDC_CHECK_PB3,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,342,115,21,20 - CONTROL "",IDC_CHECK_PB4,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,318,115,21,20 - CONTROL "",IDC_CHECK_PB5,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,294,115,21,20 - CONTROL "",IDC_CHECK_PB6,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,270,115,21,20 - CONTROL "",IDC_CHECK_PB7,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,246,115,21,20 - CONTROL "",IDC_CHECK_PA0,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,204,114,21,20 - CONTROL "",IDC_CHECK_PA1,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,180,114,21,20 - CONTROL "",IDC_CHECK_PA2,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,156,114,21,20 - CONTROL "",IDC_CHECK_PA3,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,132,114,21,20 - CONTROL "",IDC_CHECK_PA4,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,108,114,21,20 - CONTROL "",IDC_CHECK_PA5,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,84,114,21,20 - CONTROL "",IDC_CHECK_PA6,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,60,114,21,20 - CONTROL "",IDC_CHECK_PA7,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,36,114,21,20 - GROUPBOX "Port A",IDC_STATIC,24,102,204,36 - GROUPBOX "Port B",IDC_STATIC,234,103,204,36 - GROUPBOX "Port C ",IDC_STATIC,443,103,203,36 - COMBOBOX IDC_COMBO_IN_PA,113,76,108,18,CBS_DROPDOWN | WS_VSCROLL | WS_TABSTOP - COMBOBOX IDC_COMBO_OUT_PA,111,146,108,18,CBS_DROPDOWN | WS_VSCROLL | WS_TABSTOP - COMBOBOX IDC_COMBO_IN_PB,323,76,108,18,CBS_DROPDOWN | WS_VSCROLL | WS_TABSTOP - COMBOBOX IDC_COMBO_OUT_PB,321,146,108,18,CBS_DROPDOWN | WS_VSCROLL | WS_TABSTOP - COMBOBOX IDC_COMBO_IN_PCL,539,76,108,18,CBS_DROPDOWN | WS_VSCROLL | WS_TABSTOP - COMBOBOX IDC_COMBO_OUT_PCL,537,146,108,18,CBS_DROPDOWN | WS_VSCROLL | WS_TABSTOP - LTEXT "OUTPUT PORTS:",IDC_LABEL_OUTPUT,15,89,57,13 - LTEXT "INPUT PORTS:",IDC_LABEL_INPUT2,15,21,57,13 -END - -IDD_CARDID_DIALOG DIALOGEX 0, 0, 193, 99 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "Card ID" -FONT 8, "MS Shell Dlg", 400, 0, 0x1 -BEGIN - COMBOBOX IDC_COMBO_CARDID,83,24,71,126,CBS_DROPDOWN | WS_VSCROLL | WS_TABSTOP - LTEXT "Card Number",IDC_STATIC_01,29,25,46,12 - PUSHBUTTON "OK",IDOK,30,57,58,19 - PUSHBUTTON "CANCEL",IDCANCEL,94,57,58,19 -END - - -///////////////////////////////////////////////////////////////////////////// -// -// Version -// - -VS_VERSION_INFO VERSIONINFO - FILEVERSION 1,0,0,1 - PRODUCTVERSION 1,0,0,1 - FILEFLAGSMASK 0x3fL -#ifdef _DEBUG - FILEFLAGS 0x1L -#else - FILEFLAGS 0x0L -#endif - FILEOS 0x4L - FILETYPE 0x1L - FILESUBTYPE 0x0L -BEGIN - BLOCK "StringFileInfo" - BEGIN - BLOCK "040904e4" - BEGIN - VALUE "CompanyName", "TODO: " - VALUE "FileDescription", "TODO: " - VALUE "FileVersion", "1.0.0.1" - VALUE "InternalName", "Util7396.exe" - VALUE "LegalCopyright", "TODO: (c) . All rights reserved." - VALUE "OriginalFilename", "Util7396.exe" - VALUE "ProductName", "TODO: " - VALUE "ProductVersion", "1.0.0.1" - END - END - BLOCK "VarFileInfo" - BEGIN - VALUE "Translation", 0x409, 1252 - END -END - - -///////////////////////////////////////////////////////////////////////////// -// -// DESIGNINFO -// - -#ifdef APSTUDIO_INVOKED -GUIDELINES DESIGNINFO -BEGIN - IDD_ABOUTBOX, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 163 - TOPMARGIN, 7 - BOTTOMMARGIN, 55 - END - - IDD_UTIL7396_DIALOG, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 657 - TOPMARGIN, 7 - BOTTOMMARGIN, 177 - END - - IDD_CARDID_DIALOG, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 186 - TOPMARGIN, 7 - BOTTOMMARGIN, 92 - END -END -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog Info -// - -IDD_UTIL7396_DIALOG DLGINIT -BEGIN - IDC_COMBO_IN_PA, 0x403, 12, 0 -0x6843, 0x6e61, 0x656e, 0x5f6c, 0x3150, 0x0041, - IDC_COMBO_IN_PA, 0x403, 12, 0 -0x6843, 0x6e61, 0x656e, 0x5f6c, 0x3250, 0x0041, - IDC_COMBO_IN_PA, 0x403, 12, 0 -0x6843, 0x6e61, 0x656e, 0x5f6c, 0x3350, 0x0041, - IDC_COMBO_IN_PA, 0x403, 12, 0 -0x6843, 0x6e61, 0x656e, 0x5f6c, 0x3450, 0x0041, - IDC_COMBO_OUT_PA, 0x403, 12, 0 -0x6843, 0x6e61, 0x656e, 0x5f6c, 0x3150, 0x0041, - IDC_COMBO_OUT_PA, 0x403, 12, 0 -0x6843, 0x6e61, 0x656e, 0x5f6c, 0x3250, 0x0041, - IDC_COMBO_OUT_PA, 0x403, 12, 0 -0x6843, 0x6e61, 0x656e, 0x5f6c, 0x3350, 0x0041, - IDC_COMBO_OUT_PA, 0x403, 12, 0 -0x6843, 0x6e61, 0x656e, 0x5f6c, 0x3450, 0x0041, - IDC_COMBO_IN_PB, 0x403, 12, 0 -0x6843, 0x6e61, 0x656e, 0x5f6c, 0x3150, 0x0042, - IDC_COMBO_IN_PB, 0x403, 12, 0 -0x6843, 0x6e61, 0x656e, 0x5f6c, 0x3250, 0x0042, - IDC_COMBO_IN_PB, 0x403, 12, 0 -0x6843, 0x6e61, 0x656e, 0x5f6c, 0x3350, 0x0042, - IDC_COMBO_IN_PB, 0x403, 12, 0 -0x6843, 0x6e61, 0x656e, 0x5f6c, 0x3450, 0x0042, - IDC_COMBO_OUT_PB, 0x403, 12, 0 -0x6843, 0x6e61, 0x656e, 0x5f6c, 0x3150, 0x0042, - IDC_COMBO_OUT_PB, 0x403, 12, 0 -0x6843, 0x6e61, 0x656e, 0x5f6c, 0x3250, 0x0042, - IDC_COMBO_OUT_PB, 0x403, 12, 0 -0x6843, 0x6e61, 0x656e, 0x5f6c, 0x3350, 0x0042, - IDC_COMBO_OUT_PB, 0x403, 12, 0 -0x6843, 0x6e61, 0x656e, 0x5f6c, 0x3450, 0x0042, - IDC_COMBO_IN_PCL, 0x403, 12, 0 -0x6843, 0x6e61, 0x656e, 0x5f6c, 0x3150, 0x0043, - IDC_COMBO_IN_PCL, 0x403, 12, 0 -0x6843, 0x6e61, 0x656e, 0x5f6c, 0x3250, 0x0043, - IDC_COMBO_IN_PCL, 0x403, 12, 0 -0x6843, 0x6e61, 0x656e, 0x5f6c, 0x3350, 0x0043, - IDC_COMBO_IN_PCL, 0x403, 12, 0 -0x6843, 0x6e61, 0x656e, 0x5f6c, 0x3450, 0x0043, - IDC_COMBO_OUT_PCL, 0x403, 12, 0 -0x6843, 0x6e61, 0x656e, 0x5f6c, 0x3150, 0x0043, - IDC_COMBO_OUT_PCL, 0x403, 12, 0 -0x6843, 0x6e61, 0x656e, 0x5f6c, 0x3250, 0x0043, - IDC_COMBO_OUT_PCL, 0x403, 12, 0 -0x6843, 0x6e61, 0x656e, 0x5f6c, 0x3350, 0x0043, - IDC_COMBO_OUT_PCL, 0x403, 12, 0 -0x6843, 0x6e61, 0x656e, 0x5f6c, 0x3450, 0x0043, - 0 -END - -IDD_CARDID_DIALOG DLGINIT -BEGIN - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0030, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0031, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0032, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0033, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0034, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0035, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0036, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0037, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0038, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0039, - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3031, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3131, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3231, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3331, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3431, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3531, "\000" - 0 -END - - -///////////////////////////////////////////////////////////////////////////// -// -// String Table -// - -STRINGTABLE -BEGIN - IDS_ABOUTBOX "&About Util7396..." -END - -#endif // English (U.S.) resources -///////////////////////////////////////////////////////////////////////////// - - -///////////////////////////////////////////////////////////////////////////// -// English (U.K.) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENG) -#ifdef _WIN32 -LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_UK -#pragma code_page(1252) -#endif //_WIN32 - -///////////////////////////////////////////////////////////////////////////// -// -// Icon -// - -// Icon with lowest ID value placed first to ensure application icon -// remains consistent on all systems. -IDR_MAINFRAME ICON "res\\Util7396.ico" -#endif // English (U.K.) resources -///////////////////////////////////////////////////////////////////////////// - - - -#ifndef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 3 resource. -// -#define _AFX_NO_SPLITTER_RESOURCES -#define _AFX_NO_OLE_RESOURCES -#define _AFX_NO_TRACKER_RESOURCES -#define _AFX_NO_PROPERTY_RESOURCES - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -LANGUAGE 9, 1 -#pragma code_page(1252) -#include "res\Util7396.rc2" // non-Microsoft Visual C++ edited resources -#include "afxres.rc" // Standard components -#endif - -///////////////////////////////////////////////////////////////////////////// -#endif // not APSTUDIO_INVOKED - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7396/Sdk7396/Util7396.sln b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7396/Sdk7396/Util7396.sln deleted file mode 100644 index 96048d2..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7396/Sdk7396/Util7396.sln +++ /dev/null @@ -1,20 +0,0 @@ - -Microsoft Visual Studio Solution File, Format Version 10.00 -# Visual Studio 2008 -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "Util7396", "Util7396.vcproj", "{6EC93BA5-1451-4DB1-9016-E8F38BDF9AE7}" -EndProject -Global - GlobalSection(SolutionConfigurationPlatforms) = preSolution - Debug|x64 = Debug|x64 - Release|x64 = Release|x64 - EndGlobalSection - GlobalSection(ProjectConfigurationPlatforms) = postSolution - {6EC93BA5-1451-4DB1-9016-E8F38BDF9AE7}.Debug|x64.ActiveCfg = Debug|x64 - {6EC93BA5-1451-4DB1-9016-E8F38BDF9AE7}.Debug|x64.Build.0 = Debug|x64 - {6EC93BA5-1451-4DB1-9016-E8F38BDF9AE7}.Release|x64.ActiveCfg = Release|x64 - {6EC93BA5-1451-4DB1-9016-E8F38BDF9AE7}.Release|x64.Build.0 = Release|x64 - EndGlobalSection - GlobalSection(SolutionProperties) = preSolution - HideSolutionNode = FALSE - EndGlobalSection -EndGlobal diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7396/Sdk7396/Util7396.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7396/Sdk7396/Util7396.suo deleted file mode 100644 index 3a7e4f0..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7396/Sdk7396/Util7396.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7396/Sdk7396/Util7396.vcproj b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7396/Sdk7396/Util7396.vcproj deleted file mode 100644 index 4c3a26b..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7396/Sdk7396/Util7396.vcproj +++ /dev/null @@ -1,294 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7396/Sdk7396/Util7396Dlg.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7396/Sdk7396/Util7396Dlg.cpp deleted file mode 100644 index 0c45fed..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7396/Sdk7396/Util7396Dlg.cpp +++ /dev/null @@ -1,1440 +0,0 @@ - -// Util7396Dlg.cpp : implementation file -// - -#include "stdafx.h" -#include "Util7396.h" -#include "Util7396Dlg.h" - -#ifdef _DEBUG -#define new DEBUG_NEW -#endif - - -// CAboutDlg dialog used for App About - -class CAboutDlg : public CDialog -{ -public: - CAboutDlg(); - -// Dialog Data - enum { IDD = IDD_ABOUTBOX }; - - protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - -// Implementation -protected: - DECLARE_MESSAGE_MAP() -}; - -CAboutDlg::CAboutDlg() : CDialog(CAboutDlg::IDD) -{ -} - -void CAboutDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); -} - -BEGIN_MESSAGE_MAP(CAboutDlg, CDialog) -END_MESSAGE_MAP() - - -// CUtil7396Dlg dialog - - - - -CUtil7396Dlg::CUtil7396Dlg(I16 hCard, CWnd* pParent /*=NULL*/) - : CDialog(CUtil7396Dlg::IDD, pParent) -{ - m_hIcon = AfxGetApp()->LoadIcon(IDR_MAINFRAME); - - m_InPortA = Channel_P1A; - m_OutPortA = Channel_P2A; - m_InPortB = Channel_P1B; - m_OutPortB = Channel_P2B; - m_InPortC = Channel_P1C; - m_OutPortC = Channel_P2C; - - m_InDataPortA = 0x00; - m_OutDataPortA = 0x00; - m_InDataPortB = 0x00; - m_OutDataPortB = 0x00; - m_InDataPortC = 0x00; - m_OutDataPortC = 0x00; - - m_hCard = hCard; - m_nTimer = -1; -} - -void CUtil7396Dlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); - DDX_Control(pDX, IDC_ICON_PC0, m_Icon_PC0); - DDX_Control(pDX, IDC_ICON_PC1, m_Icon_PC1); - DDX_Control(pDX, IDC_ICON_PC2, m_Icon_PC2); - DDX_Control(pDX, IDC_ICON_PC3, m_Icon_PC3); - DDX_Control(pDX, IDC_ICON_PC4, m_Icon_PC4); - DDX_Control(pDX, IDC_ICON_PC5, m_Icon_PC5); - DDX_Control(pDX, IDC_ICON_PC6, m_Icon_PC6); - DDX_Control(pDX, IDC_ICON_PC7, m_Icon_PC7); - DDX_Control(pDX, IDC_ICON_PB0, m_Icon_PB0); - DDX_Control(pDX, IDC_ICON_PB1, m_Icon_PB1); - DDX_Control(pDX, IDC_ICON_PB2, m_Icon_PB2); - DDX_Control(pDX, IDC_ICON_PB3, m_Icon_PB3); - DDX_Control(pDX, IDC_ICON_PB4, m_Icon_PB4); - DDX_Control(pDX, IDC_ICON_PB5, m_Icon_PB5); - DDX_Control(pDX, IDC_ICON_PB6, m_Icon_PB6); - DDX_Control(pDX, IDC_ICON_PB7, m_Icon_PB7); - DDX_Control(pDX, IDC_ICON_PA0, m_Icon_PA0); - DDX_Control(pDX, IDC_ICON_PA1, m_Icon_PA1); - DDX_Control(pDX, IDC_ICON_PA2, m_Icon_PA2); - DDX_Control(pDX, IDC_ICON_PA3, m_Icon_PA3); - DDX_Control(pDX, IDC_ICON_PA4, m_Icon_PA4); - DDX_Control(pDX, IDC_ICON_PA5, m_Icon_PA5); - DDX_Control(pDX, IDC_ICON_PA6, m_Icon_PA6); - DDX_Control(pDX, IDC_ICON_PA7, m_Icon_PA7); - DDX_Control(pDX, IDC_COMBO_IN_PA, m_cbPortAIn); - DDX_Control(pDX, IDC_COMBO_IN_PB, m_cbPortBIn); - DDX_Control(pDX, IDC_COMBO_IN_PCL, m_cbPortCIn); - DDX_Control(pDX, IDC_COMBO_OUT_PA, m_cbPortAOut); - DDX_Control(pDX, IDC_COMBO_OUT_PB, m_cbPortBOut); - DDX_Control(pDX, IDC_COMBO_OUT_PCL, m_cbPortCOut); -} - -BEGIN_MESSAGE_MAP(CUtil7396Dlg, CDialog) - ON_WM_SYSCOMMAND() - ON_WM_PAINT() - ON_WM_QUERYDRAGICON() - //}}AFX_MSG_MAP - ON_CBN_SELCHANGE(IDC_COMBO_IN_PA, &CUtil7396Dlg::OnInPASelchange) - ON_CBN_SELCHANGE(IDC_COMBO_OUT_PA, &CUtil7396Dlg::OnOutPASelchange) - ON_CBN_SELCHANGE(IDC_COMBO_IN_PB, &CUtil7396Dlg::OnInPBSelchange) - ON_CBN_SELCHANGE(IDC_COMBO_OUT_PB, &CUtil7396Dlg::OnOutPBSelchange) - ON_CBN_SELCHANGE(IDC_COMBO_IN_PCL, &CUtil7396Dlg::OnInPCLSelchange) - ON_CBN_SELCHANGE(IDC_COMBO_OUT_PCL, &CUtil7396Dlg::OnOutPCLSelchange) - ON_WM_DESTROY() - ON_WM_TIMER() - ON_BN_CLICKED(IDC_CHECK_PC0, &CUtil7396Dlg::OnOutputPC0) - ON_BN_CLICKED(IDC_CHECK_PC1, &CUtil7396Dlg::OnOutputPC1) - ON_BN_CLICKED(IDC_CHECK_PC2, &CUtil7396Dlg::OnOutputPC2) - ON_BN_CLICKED(IDC_CHECK_PC3, &CUtil7396Dlg::OnOutputPC3) - ON_BN_CLICKED(IDC_CHECK_PC4, &CUtil7396Dlg::OnOutputPC4) - ON_BN_CLICKED(IDC_CHECK_PC5, &CUtil7396Dlg::OnOutputPC5) - ON_BN_CLICKED(IDC_CHECK_PC6, &CUtil7396Dlg::OnOutputPC6) - ON_BN_CLICKED(IDC_CHECK_PC7, &CUtil7396Dlg::OnOutputPC7) - ON_BN_CLICKED(IDC_CHECK_PB0, &CUtil7396Dlg::OnOutputPB0) - ON_BN_CLICKED(IDC_CHECK_PB1, &CUtil7396Dlg::OnOutputPB1) - ON_BN_CLICKED(IDC_CHECK_PB2, &CUtil7396Dlg::OnOutputPB2) - ON_BN_CLICKED(IDC_CHECK_PB3, &CUtil7396Dlg::OnOutputPB3) - ON_BN_CLICKED(IDC_CHECK_PB4, &CUtil7396Dlg::OnOutputPB4) - ON_BN_CLICKED(IDC_CHECK_PB5, &CUtil7396Dlg::OnOutputPB5) - ON_BN_CLICKED(IDC_CHECK_PB6, &CUtil7396Dlg::OnOutputPB6) - ON_BN_CLICKED(IDC_CHECK_PB7, &CUtil7396Dlg::OnOutputPB7) - ON_BN_CLICKED(IDC_CHECK_PA0, &CUtil7396Dlg::OnOutputPA0) - ON_BN_CLICKED(IDC_CHECK_PA1, &CUtil7396Dlg::OnOutputPA1) - ON_BN_CLICKED(IDC_CHECK_PA2, &CUtil7396Dlg::OnOutputPA2) - ON_BN_CLICKED(IDC_CHECK_PA3, &CUtil7396Dlg::OnOutputPA3) - ON_BN_CLICKED(IDC_CHECK_PA4, &CUtil7396Dlg::OnOutputPA4) - ON_BN_CLICKED(IDC_CHECK_PA5, &CUtil7396Dlg::OnOutputPA5) - ON_BN_CLICKED(IDC_CHECK_PA6, &CUtil7396Dlg::OnOutputPA6) - ON_BN_CLICKED(IDC_CHECK_PA7, &CUtil7396Dlg::OnOutputPA7) - ON_WM_CTLCOLOR() -END_MESSAGE_MAP() - - -// CUtil7396Dlg message handlers - -BOOL CUtil7396Dlg::OnInitDialog() -{ - CDialog::OnInitDialog(); - - // Add "About..." menu item to system menu. - - // IDM_ABOUTBOX must be in the system command range. - ASSERT((IDM_ABOUTBOX & 0xFFF0) == IDM_ABOUTBOX); - ASSERT(IDM_ABOUTBOX < 0xF000); - - CMenu* pSysMenu = GetSystemMenu(FALSE); - if (pSysMenu != NULL) - { - BOOL bNameValid; - CString strAboutMenu; - bNameValid = strAboutMenu.LoadString(IDS_ABOUTBOX); - ASSERT(bNameValid); - if (!strAboutMenu.IsEmpty()) - { - pSysMenu->AppendMenu(MF_SEPARATOR); - pSysMenu->AppendMenu(MF_STRING, IDM_ABOUTBOX, strAboutMenu); - } - } - - // Set the icon for this dialog. The framework does this automatically - // when the application's main window is not a dialog - SetIcon(m_hIcon, TRUE); // Set big icon - SetIcon(m_hIcon, FALSE); // Set small icon - - // TODO: Add extra initialization here - m_cbPortAIn.SetCurSel(0); - m_cbPortBIn.SetCurSel(0); - m_cbPortCIn.SetCurSel(0); - - m_cbPortAOut.SetCurSel(1); - m_cbPortBOut.SetCurSel(1); - m_cbPortCOut.SetCurSel(1); - - // Port Configuration - DIO_PortConfig(m_hCard, m_InPortA, INPUT_PORT); - DIO_PortConfig(m_hCard, m_OutPortA, OUTPUT_PORT); - DIO_PortConfig(m_hCard, m_InPortB, INPUT_PORT); - DIO_PortConfig(m_hCard, m_OutPortB, OUTPUT_PORT); - DIO_PortConfig(m_hCard, m_InPortC, INPUT_PORT); - DIO_PortConfig(m_hCard, m_OutPortC, OUTPUT_PORT); - - DO_WritePort( m_hCard, m_OutPortA, m_OutDataPortA ); - DO_WritePort( m_hCard, m_OutPortB, m_OutDataPortB ); - DO_WritePort( m_hCard, m_OutPortC, m_OutDataPortC ); - - m_nTimer = SetTimer( 1, 50, NULL ); - - return TRUE; // return TRUE unless you set the focus to a control -} - -void CUtil7396Dlg::OnSysCommand(UINT nID, LPARAM lParam) -{ - if ((nID & 0xFFF0) == IDM_ABOUTBOX) - { - CAboutDlg dlgAbout; - dlgAbout.DoModal(); - } - else - { - CDialog::OnSysCommand(nID, lParam); - } -} - -// If you add a minimize button to your dialog, you will need the code below -// to draw the icon. For MFC applications using the document/view model, -// this is automatically done for you by the framework. - -void CUtil7396Dlg::OnPaint() -{ - if (IsIconic()) - { - CPaintDC dc(this); // device context for painting - - SendMessage(WM_ICONERASEBKGND, reinterpret_cast(dc.GetSafeHdc()), 0); - - // Center icon in client rectangle - int cxIcon = GetSystemMetrics(SM_CXICON); - int cyIcon = GetSystemMetrics(SM_CYICON); - CRect rect; - GetClientRect(&rect); - int x = (rect.Width() - cxIcon + 1) / 2; - int y = (rect.Height() - cyIcon + 1) / 2; - - // Draw the icon - dc.DrawIcon(x, y, m_hIcon); - } - else - { - CDialog::OnPaint(); - } -} - -// The system calls this function to obtain the cursor to display while the user drags -// the minimized window. -HCURSOR CUtil7396Dlg::OnQueryDragIcon() -{ - return static_cast(m_hIcon); -} - -void CUtil7396Dlg::OnInPASelchange() -{ - // TODO: Add your control notification handler code here - U16 tmpInPA; - int nIndex; - - nIndex = m_cbPortAIn.GetCurSel(); - switch( nIndex ) - { - case 0: - tmpInPA = Channel_P1A; - break; - case 1: - tmpInPA = Channel_P2A; - break; - case 2: - tmpInPA = Channel_P3A; - break; - case 3: - tmpInPA = Channel_P4A; - break; - } - - if( tmpInPA == m_OutPortA ) - { - - AfxMessageBox( TEXT(" The Port had been configured as Output-Mode ") ); - // restore the sellection of ComboBox - switch( m_InPortA ) - { - case Channel_P1A: - nIndex = 0; - break; - case Channel_P2A: - nIndex = 1; - break; - case Channel_P3A: - nIndex = 2; - break; - case Channel_P4A: - nIndex = 3; - break; - } - - m_cbPortAIn.SetCurSel( nIndex ); - - } - else - { - if( tmpInPA != m_InPortA ) - { // update m_InPortA and configure the target Port - m_InPortA = tmpInPA; - - DIO_PortConfig(m_hCard, m_InPortA, INPUT_PORT); - } - } - - -} - -void CUtil7396Dlg::OnOutPASelchange() -{ - // TODO: Add your control notification handler code here - U16 tmpOutPA; - int nIndex; - - nIndex = m_cbPortAOut.GetCurSel(); - switch( nIndex ) - { - case 0: - tmpOutPA = Channel_P1A; - break; - case 1: - tmpOutPA = Channel_P2A; - break; - case 2: - tmpOutPA = Channel_P3A; - break; - case 3: - tmpOutPA = Channel_P4A; - break; - } - - if( tmpOutPA == m_InPortA ) - { - - AfxMessageBox( TEXT(" The Port had been configured as Input-Mode ") ); - // restore the sellection of ComboBox - switch( m_OutPortA ) - { - case Channel_P1A: - nIndex = 0; - break; - case Channel_P2A: - nIndex = 1; - break; - case Channel_P3A: - nIndex = 2; - break; - case Channel_P4A: - nIndex = 3; - break; - } - - m_cbPortAOut.SetCurSel( nIndex ); - - } - else - { - if( tmpOutPA != m_OutPortA ) - { // update m_InPortA and configure the target Port - m_OutPortA = tmpOutPA; - - DIO_PortConfig(m_hCard, m_OutPortA, OUTPUT_PORT); - // reset Output data - m_OutDataPortA = 0x00; - } - } - -} - -void CUtil7396Dlg::OnInPBSelchange() -{ - // TODO: Add your control notification handler code here - U16 tmpInPB; - int nIndex; - - nIndex = m_cbPortBIn.GetCurSel(); - switch( nIndex ) - { - case 0: - tmpInPB = Channel_P1B; - break; - case 1: - tmpInPB = Channel_P2B; - break; - case 2: - tmpInPB = Channel_P3B; - break; - case 3: - tmpInPB = Channel_P4B; - break; - } - - if( tmpInPB == m_OutPortB ) - { - - AfxMessageBox( TEXT(" The Port had been configured as Output-Mode ") ); - // restore the sellection of ComboBox - switch( m_InPortB ) - { - case Channel_P1B: - nIndex = 0; - break; - case Channel_P2B: - nIndex = 1; - break; - case Channel_P3B: - nIndex = 2; - break; - case Channel_P4B: - nIndex = 3; - break; - } - - m_cbPortBIn.SetCurSel( nIndex ); - - } - else - { - if( tmpInPB != m_InPortB ) - { // update m_InPortA and configure the target Port - m_InPortB = tmpInPB; - - DIO_PortConfig(m_hCard, m_InPortB, INPUT_PORT); - } - } -} - -void CUtil7396Dlg::OnOutPBSelchange() -{ - // TODO: Add your control notification handler code here - U16 tmpOutPB; - int nIndex; - - nIndex = m_cbPortBOut.GetCurSel(); - switch( nIndex ) - { - case 0: - tmpOutPB = Channel_P1B; - break; - case 1: - tmpOutPB = Channel_P2B; - break; - case 2: - tmpOutPB = Channel_P3B; - break; - case 3: - tmpOutPB = Channel_P4B; - break; - } - - if( tmpOutPB == m_InPortB ) - { - - AfxMessageBox( TEXT(" The Port had been configured as Input-Mode ") ); - // restore the sellection of ComboBox - switch( m_OutPortB ) - { - case Channel_P1B: - nIndex = 0; - break; - case Channel_P2B: - nIndex = 1; - break; - case Channel_P3B: - nIndex = 2; - break; - case Channel_P4B: - nIndex = 3; - break; - } - - m_cbPortBOut.SetCurSel( nIndex ); - - } - else - { - if( tmpOutPB != m_OutPortB ) - { // update m_InPortA and configure the target Port - m_OutPortB = tmpOutPB; - - DIO_PortConfig(m_hCard, m_OutPortB, OUTPUT_PORT); - // reset Output data - m_OutDataPortB = 0x00; - - } - } -} - - -void CUtil7396Dlg::OnInPCLSelchange() -{ - // TODO: Add your control notification handler code here - U16 tmpInPC; - int nIndex; - - nIndex = m_cbPortCIn.GetCurSel(); - switch( nIndex ) - { - case 0: - tmpInPC = Channel_P1C; - break; - case 1: - tmpInPC = Channel_P2C; - break; - case 2: - tmpInPC = Channel_P3C; - break; - case 3: - tmpInPC = Channel_P4C; - break; - } - - if( tmpInPC == m_OutPortC ) - { - - AfxMessageBox( TEXT(" The Port had been configured as Output-Mode ") ); - // restore the sellection of ComboBox - switch( m_InPortC ) - { - case Channel_P1C: - nIndex = 0; - break; - case Channel_P2C: - nIndex = 1; - break; - case Channel_P3C: - nIndex = 2; - break; - case Channel_P4C: - nIndex = 3; - break; - } - - m_cbPortCIn.SetCurSel( nIndex ); - - } - else - { - if( tmpInPC != m_InPortC ) - { // update m_InPortA and configure the target Port - m_InPortC = tmpInPC; - - DIO_PortConfig(m_hCard, m_InPortC, INPUT_PORT); - } - } -} - -void CUtil7396Dlg::OnOutPCLSelchange() -{ - // TODO: Add your control notification handler code here - U16 tmpOutPC; - int nIndex; - - nIndex = m_cbPortCOut.GetCurSel(); - switch( nIndex ) - { - case 0: - tmpOutPC = Channel_P1C; - break; - case 1: - tmpOutPC = Channel_P2C; - break; - case 2: - tmpOutPC = Channel_P3C; - break; - case 3: - tmpOutPC = Channel_P4C; - break; - } - - if( tmpOutPC == m_InPortC ) - { - - AfxMessageBox( TEXT(" The Port had been configured as Input-Mode ") ); - // restore the sellection of ComboBox - switch( m_OutPortC ) - { - case Channel_P1C: - nIndex = 0; - break; - case Channel_P2C: - nIndex = 1; - break; - case Channel_P3C: - nIndex = 2; - break; - case Channel_P4C: - nIndex = 3; - break; - } - - m_cbPortCOut.SetCurSel( nIndex ); - - } - else - { - if( tmpOutPC != m_OutPortC ) - { // update m_InPortA and configure the target Port - m_OutPortC = tmpOutPC; - - DIO_PortConfig(m_hCard, m_OutPortC, OUTPUT_PORT); - // reset Output data - m_OutDataPortC = 0x00; - } - } -} - -void CUtil7396Dlg::OnDestroy() -{ - CDialog::OnDestroy(); - - // TODO: Add your message handler code here - if( m_nTimer != -1 ) - { - KillTimer( m_nTimer ); - m_nTimer = -1; - } -} - -void CUtil7396Dlg::OnTimer(UINT_PTR nIDEvent) -{ - // TODO: Add your message handler code here and/or call default - - U32 dwPortData,dwChangeMask; - - - // process the InData of PortA - DI_ReadPort( m_hCard, m_InPortA, &dwPortData); - dwChangeMask = dwPortData ^ m_InDataPortA; - - if( dwChangeMask != 0x00 ) // Input had been changed - { - - m_InDataPortA = dwPortData; - - if( (dwChangeMask & 0x01) == 0x01 ) // if the target bit is changed - { - if( (dwPortData & 0x01) == 0x01 ) - { - m_Icon_PA0.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_PA0.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - - if( (dwChangeMask & 0x02) == 0x02 ) // if the target bit is changed - { - if( (dwPortData & 0x02) == 0x02 ) - { - m_Icon_PA1.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_PA1.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - if( (dwChangeMask & 0x04) == 0x04 ) // if the target bit is changed - { - if( (dwPortData & 0x04) == 0x04 ) - { - m_Icon_PA2.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_PA2.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - if( (dwChangeMask & 0x08) == 0x08 ) // if the target bit is changed - { - if( (dwPortData & 0x08) == 0x08 ) - { - m_Icon_PA3.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_PA3.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - if( (dwChangeMask & 0x10) == 0x10 ) // if the target bit is changed - { - if( (dwPortData & 0x10) == 0x10 ) - { - m_Icon_PA4.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_PA4.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - if( (dwChangeMask & 0x20) == 0x20 ) // if the target bit is changed - { - if( (dwPortData & 0x20) == 0x20 ) - { - m_Icon_PA5.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_PA5.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - if( (dwChangeMask & 0x40) == 0x40 ) // if the target bit is changed - { - if( (dwPortData & 0x40) == 0x40 ) - { - m_Icon_PA6.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_PA6.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - if( (dwChangeMask & 0x80) == 0x80 ) // if the target bit is changed - { - if( (dwPortData & 0x80) == 0x80 ) - { - m_Icon_PA7.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_PA7.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - - } - - - - // process the InData of PortB - DI_ReadPort( m_hCard, m_InPortB, &dwPortData); - dwChangeMask = dwPortData ^ m_InDataPortB; - - if( dwChangeMask != 0x00 ) // Input had been changed - { - - m_InDataPortB = dwPortData; - - if( (dwChangeMask & 0x01) == 0x01 ) // if the target bit is changed - { - if( (dwPortData & 0x01) == 0x01 ) - { - m_Icon_PB0.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_PB0.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - - if( (dwChangeMask & 0x02) == 0x02 ) // if the target bit is changed - { - if( (dwPortData & 0x02) == 0x02 ) - { - m_Icon_PB1.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_PB1.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - if( (dwChangeMask & 0x04) == 0x04 ) // if the target bit is changed - { - if( (dwPortData & 0x04) == 0x04 ) - { - m_Icon_PB2.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_PB2.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - if( (dwChangeMask & 0x08) == 0x08 ) // if the target bit is changed - { - if( (dwPortData & 0x08) == 0x08 ) - { - m_Icon_PB3.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_PB3.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - if( (dwChangeMask & 0x10) == 0x10 ) // if the target bit is changed - { - if( (dwPortData & 0x10) == 0x10 ) - { - m_Icon_PB4.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_PB4.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - if( (dwChangeMask & 0x20) == 0x20 ) // if the target bit is changed - { - if( (dwPortData & 0x20) == 0x20 ) - { - m_Icon_PB5.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_PB5.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - if( (dwChangeMask & 0x40) == 0x40 ) // if the target bit is changed - { - if( (dwPortData & 0x40) == 0x40 ) - { - m_Icon_PB6.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_PB6.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - if( (dwChangeMask & 0x80) == 0x80 ) // if the target bit is changed - { - if( (dwPortData & 0x80) == 0x80 ) - { - m_Icon_PB7.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_PB7.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - } - - - - // process the InData of PortC Lower - DI_ReadPort( m_hCard, m_InPortC, &dwPortData); - dwChangeMask = dwPortData ^ m_InDataPortC; - - if( dwChangeMask != 0x00 ) // Input had been changed - { - - m_InDataPortC = dwPortData; - - if( (dwChangeMask & 0x01) == 0x01 ) // if the target bit is changed - { - if( (dwPortData & 0x01) == 0x01 ) - { - m_Icon_PC0.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_PC0.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - - if( (dwChangeMask & 0x02) == 0x02 ) // if the target bit is changed - { - if( (dwPortData & 0x02) == 0x02 ) - { - m_Icon_PC1.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_PC1.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - if( (dwChangeMask & 0x04) == 0x04 ) // if the target bit is changed - { - if( (dwPortData & 0x04) == 0x04 ) - { - m_Icon_PC2.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_PC2.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - if( (dwChangeMask & 0x08) == 0x08 ) // if the target bit is changed - { - if( (dwPortData & 0x08) == 0x08 ) - { - m_Icon_PC3.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_PC3.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - if( (dwChangeMask & 0x10) == 0x10 ) // if the target bit is changed - { - if( (dwPortData & 0x10) == 0x10 ) - { - m_Icon_PC4.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_PC4.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - if( (dwChangeMask & 0x20) == 0x20 ) // if the target bit is changed - { - if( (dwPortData & 0x20) == 0x20 ) - { - m_Icon_PC5.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_PC5.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - if( (dwChangeMask & 0x40) == 0x40 ) // if the target bit is changed - { - if( (dwPortData & 0x40) == 0x40 ) - { - m_Icon_PC6.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_PC6.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - if( (dwChangeMask & 0x80) == 0x80 ) // if the target bit is changed - { - if( (dwPortData & 0x80) == 0x80 ) - { - m_Icon_PC7.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_PC7.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - } - - - - CDialog::OnTimer(nIDEvent); -} - -void CUtil7396Dlg::OnOutputPC0() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_PC0 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_OutDataPortC |= 0x01; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_OutDataPortC &= (~0x01); - } - - DO_WritePort( m_hCard, m_OutPortC, m_OutDataPortC ); - -} - -void CUtil7396Dlg::OnOutputPC1() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_PC1 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_OutDataPortC |= 0x02; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_OutDataPortC &= (~0x02); - } - - DO_WritePort( m_hCard, m_OutPortC, m_OutDataPortC ); -} - -void CUtil7396Dlg::OnOutputPC2() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_PC2 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_OutDataPortC |= 0x04; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_OutDataPortC &= (~0x04); - } - - DO_WritePort( m_hCard, m_OutPortC, m_OutDataPortC ); - -} - -void CUtil7396Dlg::OnOutputPC3() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_PC3 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_OutDataPortC |= 0x08; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_OutDataPortC &= (~0x08); - } - - DO_WritePort( m_hCard, m_OutPortC, m_OutDataPortC ); -} - -void CUtil7396Dlg::OnOutputPC4() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_PC4 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_OutDataPortC |= 0x10; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_OutDataPortC &= (~0x10); - } - - DO_WritePort( m_hCard, m_OutPortC, m_OutDataPortC ); - -} - -void CUtil7396Dlg::OnOutputPC5() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_PC5 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_OutDataPortC |= 0x20; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_OutDataPortC &= (~0x20); - } - - DO_WritePort( m_hCard, m_OutPortC, m_OutDataPortC ); -} - -void CUtil7396Dlg::OnOutputPC6() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_PC6 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_OutDataPortC |= 0x40; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_OutDataPortC &= (~0x40); - } - - DO_WritePort( m_hCard, m_OutPortC, m_OutDataPortC ); -} - -void CUtil7396Dlg::OnOutputPC7() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_PC7 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_OutDataPortC |= 0x80; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_OutDataPortC &= (~0x80); - } - - DO_WritePort( m_hCard, m_OutPortC, m_OutDataPortC ); -} - -void CUtil7396Dlg::OnOutputPB0() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_PB0 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_OutDataPortB |= 0x01; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_OutDataPortB &= (~0x01); - } - - DO_WritePort( m_hCard, m_OutPortB, m_OutDataPortB ); - -} - -void CUtil7396Dlg::OnOutputPB1() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_PB1 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_OutDataPortB |= 0x02; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_OutDataPortB &= (~0x02); - } - - DO_WritePort( m_hCard, m_OutPortB, m_OutDataPortB ); -} - -void CUtil7396Dlg::OnOutputPB2() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_PB2 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_OutDataPortB |= 0x04; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_OutDataPortB &= (~0x04); - } - - DO_WritePort( m_hCard, m_OutPortB, m_OutDataPortB ); -} - -void CUtil7396Dlg::OnOutputPB3() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_PB3 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_OutDataPortB |= 0x08; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_OutDataPortB &= (~0x08); - } - - DO_WritePort( m_hCard, m_OutPortB, m_OutDataPortB ); -} - -void CUtil7396Dlg::OnOutputPB4() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_PB4 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_OutDataPortB |= 0x10; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_OutDataPortB &= (~0x10); - } - - DO_WritePort( m_hCard, m_OutPortB, m_OutDataPortB ); -} - -void CUtil7396Dlg::OnOutputPB5() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_PB5 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_OutDataPortB |= 0x20; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_OutDataPortB &= (~0x20); - } - - DO_WritePort( m_hCard, m_OutPortB, m_OutDataPortB ); -} - -void CUtil7396Dlg::OnOutputPB6() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_PB6 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_OutDataPortB |= 0x40; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_OutDataPortB &= (~0x40); - } - - DO_WritePort( m_hCard, m_OutPortB, m_OutDataPortB ); -} - -void CUtil7396Dlg::OnOutputPB7() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_PB7 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_OutDataPortB |= 0x80; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_OutDataPortB &= (~0x80); - } - - DO_WritePort( m_hCard, m_OutPortB, m_OutDataPortB ); -} - -void CUtil7396Dlg::OnOutputPA0() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_PA0 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_OutDataPortA |= 0x01; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_OutDataPortA &= (~0x01); - } - - DO_WritePort( m_hCard, m_OutPortA, m_OutDataPortA ); -} - -void CUtil7396Dlg::OnOutputPA1() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_PA1 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_OutDataPortA |= 0x02; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_OutDataPortA &= (~0x02); - } - - DO_WritePort( m_hCard, m_OutPortA, m_OutDataPortA ); -} - -void CUtil7396Dlg::OnOutputPA2() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_PA2 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_OutDataPortA |= 0x04; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_OutDataPortA &= (~0x04); - } - - DO_WritePort( m_hCard, m_OutPortA, m_OutDataPortA ); -} - -void CUtil7396Dlg::OnOutputPA3() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_PA3 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_OutDataPortA |= 0x08; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_OutDataPortA &= (~0x08); - } - - DO_WritePort( m_hCard, m_OutPortA, m_OutDataPortA ); -} - -void CUtil7396Dlg::OnOutputPA4() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_PA4 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_OutDataPortA |= 0x10; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_OutDataPortA &= (~0x10); - } - - DO_WritePort( m_hCard, m_OutPortA, m_OutDataPortA ); -} - -void CUtil7396Dlg::OnOutputPA5() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_PA5 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_OutDataPortA |= 0x20; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_OutDataPortA &= (~0x20); - } - - DO_WritePort( m_hCard, m_OutPortA, m_OutDataPortA ); -} - -void CUtil7396Dlg::OnOutputPA6() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_PA6 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_OutDataPortA |= 0x40; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_OutDataPortA &= (~0x40); - } - - DO_WritePort( m_hCard, m_OutPortA, m_OutDataPortA ); -} - -void CUtil7396Dlg::OnOutputPA7() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_PA7 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_OutDataPortA |= 0x80; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_OutDataPortA &= (~0x80); - } - - DO_WritePort( m_hCard, m_OutPortA, m_OutDataPortA ); -} - -HBRUSH CUtil7396Dlg::OnCtlColor(CDC* pDC, CWnd* pWnd, UINT nCtlColor) -{ - HBRUSH hbr = CDialog::OnCtlColor(pDC, pWnd, nCtlColor); - - // TODO: Change any attributes of the DC here - if ( pWnd->GetDlgCtrlID() == IDC_LABEL_INPUT2 ) - pDC->SetTextColor(RGB(255,0,0)); - - if ( pWnd->GetDlgCtrlID() == IDC_LABEL_OUTPUT ) - pDC->SetTextColor(RGB(255,0,0)); - - // TODO: Return a different brush if the default is not desired - return hbr; -} diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7396/Sdk7396/Util7396Dlg.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7396/Sdk7396/Util7396Dlg.h deleted file mode 100644 index dd15bd4..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7396/Sdk7396/Util7396Dlg.h +++ /dev/null @@ -1,114 +0,0 @@ - -// Util7396Dlg.h : header file -// - -#include "Dask64.h" - -#pragma once - - -// CUtil7396Dlg dialog -class CUtil7396Dlg : public CDialog -{ -// Construction -public: - CUtil7396Dlg(I16 hCard, CWnd* pParent = NULL); // standard constructor - -// Dialog Data - enum { IDD = IDD_UTIL7396_DIALOG }; - - protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - - -// Implementation -protected: - HICON m_hIcon; - UINT_PTR m_nTimer; - I16 m_hCard; - U16 m_InPortA; - U16 m_OutPortA; - U16 m_InPortB; - U16 m_OutPortB; - U16 m_InPortC; - U16 m_OutPortC; - U32 m_InDataPortA; - U32 m_OutDataPortA; - U32 m_InDataPortB; - U32 m_OutDataPortB; - U32 m_InDataPortC; - U32 m_OutDataPortC; - -public: - CStatic m_Icon_PC0; - CStatic m_Icon_PC1; - CStatic m_Icon_PC2; - CStatic m_Icon_PC3; - CStatic m_Icon_PC4; - CStatic m_Icon_PC5; - CStatic m_Icon_PC6; - CStatic m_Icon_PC7; - CStatic m_Icon_PB0; - CStatic m_Icon_PB1; - CStatic m_Icon_PB2; - CStatic m_Icon_PB3; - CStatic m_Icon_PB4; - CStatic m_Icon_PB5; - CStatic m_Icon_PB6; - CStatic m_Icon_PB7; - CStatic m_Icon_PA0; - CStatic m_Icon_PA1; - CStatic m_Icon_PA2; - CStatic m_Icon_PA3; - CStatic m_Icon_PA4; - CStatic m_Icon_PA5; - CStatic m_Icon_PA6; - CStatic m_Icon_PA7; - CComboBox m_cbPortAIn; - CComboBox m_cbPortBIn; - CComboBox m_cbPortCIn; - CComboBox m_cbPortAOut; - CComboBox m_cbPortBOut; - CComboBox m_cbPortCOut; - - // Generated message map functions - virtual BOOL OnInitDialog(); - afx_msg void OnSysCommand(UINT nID, LPARAM lParam); - afx_msg void OnPaint(); - afx_msg HCURSOR OnQueryDragIcon(); - DECLARE_MESSAGE_MAP() - afx_msg void OnInPASelchange(); - afx_msg void OnOutPASelchange(); - afx_msg void OnInPBSelchange(); - afx_msg void OnOutPBSelchange(); - afx_msg void OnOutPCHSelchange(); - afx_msg void OnInPCLSelchange(); - afx_msg void OnOutPCLSelchange(); - afx_msg void OnDestroy(); - afx_msg void OnTimer(UINT_PTR nIDEvent); - afx_msg void OnOutputPC0(); - afx_msg void OnOutputPC1(); - afx_msg void OnOutputPC2(); - afx_msg void OnOutputPC3(); - afx_msg void OnOutputPC4(); - afx_msg void OnOutputPC5(); - afx_msg void OnOutputPC6(); - afx_msg void OnOutputPC7(); - afx_msg void OnOutputPB0(); - afx_msg void OnOutputPB1(); - afx_msg void OnOutputPB2(); - afx_msg void OnOutputPB3(); - afx_msg void OnOutputPB4(); - afx_msg void OnOutputPB5(); - afx_msg void OnOutputPB6(); - afx_msg void OnOutputPB7(); - afx_msg void OnOutputPA0(); - afx_msg void OnOutputPA1(); - afx_msg void OnOutputPA2(); - afx_msg void OnOutputPA3(); - afx_msg void OnOutputPA4(); - afx_msg void OnOutputPA5(); - afx_msg void OnOutputPA6(); - afx_msg void OnOutputPA7(); - afx_msg HBRUSH OnCtlColor(CDC* pDC, CWnd* pWnd, UINT nCtlColor); -}; diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7396/Sdk7396/res/Util7396.ico b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7396/Sdk7396/res/Util7396.ico deleted file mode 100644 index d56fbcd..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7396/Sdk7396/res/Util7396.ico and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7396/Sdk7396/res/Util7396.rc2 b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7396/Sdk7396/res/Util7396.rc2 deleted file mode 100644 index b2534b5..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7396/Sdk7396/res/Util7396.rc2 +++ /dev/null @@ -1,13 +0,0 @@ -// -// Util7396.RC2 - resources Microsoft Visual C++ does not edit directly -// - -#ifdef APSTUDIO_INVOKED -#error this file is not editable by Microsoft Visual C++ -#endif //APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// Add manually edited resources here... - -///////////////////////////////////////////////////////////////////////////// diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7396/Sdk7396/res/black.ico b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7396/Sdk7396/res/black.ico deleted file mode 100644 index b5c375f..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7396/Sdk7396/res/black.ico and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7396/Sdk7396/res/green.ico b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7396/Sdk7396/res/green.ico deleted file mode 100644 index d9a9fd3..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7396/Sdk7396/res/green.ico and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7396/Sdk7396/res/red.ico b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7396/Sdk7396/res/red.ico deleted file mode 100644 index 7644596..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7396/Sdk7396/res/red.ico and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7396/Sdk7396/resource.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7396/Sdk7396/resource.h deleted file mode 100644 index a42a8b7..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7396/Sdk7396/resource.h +++ /dev/null @@ -1,84 +0,0 @@ -//{{NO_DEPENDENCIES}} -// Microsoft Visual C++ generated include file. -// Used by Util7396.rc -// -#define IDM_ABOUTBOX 0x0010 -#define IDD_ABOUTBOX 100 -#define IDS_ABOUTBOX 101 -#define IDD_UTIL7396_DIALOG 102 -#define IDR_MAINFRAME 128 -#define IDI_ICON_BLACK 129 -#define IDI_ICON_GREEN 130 -#define IDI_ICON_RED 131 -#define IDD_CARDID_DIALOG 133 -#define IDC_COMBO_CARDID 1000 -#define IDC_CHECK_PC0 1002 -#define IDC_CHECK_PC1 1003 -#define IDC_CHECK_PC2 1004 -#define IDC_ICON_PC0 1005 -#define IDC_ICON_PC1 1006 -#define IDC_ICON_PC2 1007 -#define IDC_ICON_PC3 1008 -#define IDC_ICON_PC4 1009 -#define IDC_ICON_PC5 1010 -#define IDC_ICON_PC6 1011 -#define IDC_ICON_PC7 1012 -#define IDC_ICON_PB0 1013 -#define IDC_ICON_PB1 1014 -#define IDC_STATIC_01 1014 -#define IDC_ICON_PB2 1015 -#define IDC_ICON_PB3 1016 -#define IDC_ICON_PB4 1017 -#define IDC_ICON_PB5 1018 -#define IDC_ICON_PB6 1019 -#define IDC_ICON_PB7 1020 -#define IDC_ICON_PA0 1021 -#define IDC_ICON_PA1 1022 -#define IDC_ICON_PA2 1023 -#define IDC_ICON_PA3 1024 -#define IDC_ICON_PA4 1025 -#define IDC_ICON_PA5 1026 -#define IDC_ICON_PA6 1027 -#define IDC_ICON_PA7 1028 -#define IDC_CHECK_PC3 1029 -#define IDC_CHECK_PC4 1030 -#define IDC_CHECK_PC5 1031 -#define IDC_CHECK_PC6 1032 -#define IDC_CHECK_PC7 1033 -#define IDC_CHECK_PB0 1034 -#define IDC_CHECK_PB1 1035 -#define IDC_CHECK_PB2 1036 -#define IDC_CHECK_PB3 1037 -#define IDC_CHECK_PB4 1038 -#define IDC_CHECK_PB5 1039 -#define IDC_CHECK_PB6 1040 -#define IDC_CHECK_PB7 1041 -#define IDC_CHECK_PA0 1042 -#define IDC_CHECK_PA1 1043 -#define IDC_CHECK_PA2 1044 -#define IDC_CHECK_PA3 1045 -#define IDC_CHECK_PA4 1046 -#define IDC_CHECK_PA5 1047 -#define IDC_CHECK_PA6 1048 -#define IDC_CHECK_PA7 1049 -#define IDC_COMBO_IN_PA 1050 -#define IDC_COMBO_OUT_PA 1051 -#define IDC_COMBO_IN_PCH 1052 -#define IDC_COMBO_OUT_PCH 1053 -#define IDC_COMBO_IN_PB 1054 -#define IDC_COMBO_OUT_PB 1055 -#define IDC_COMBO_IN_PCL 1056 -#define IDC_COMBO_OUT_PCL 1057 -#define IDC_LABEL_OUTPUT 1058 -#define IDC_LABEL_INPUT2 1059 - -// Next default values for new objects -// -#ifdef APSTUDIO_INVOKED -#ifndef APSTUDIO_READONLY_SYMBOLS -#define _APS_NEXT_RESOURCE_VALUE 135 -#define _APS_NEXT_COMMAND_VALUE 32771 -#define _APS_NEXT_CONTROL_VALUE 1000 -#define _APS_NEXT_SYMED_VALUE 101 -#endif -#endif diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7396/Sdk7396/stdafx.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7396/Sdk7396/stdafx.cpp deleted file mode 100644 index ec7a38f..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7396/Sdk7396/stdafx.cpp +++ /dev/null @@ -1,8 +0,0 @@ - -// stdafx.cpp : source file that includes just the standard includes -// Util7396.pch will be the pre-compiled header -// stdafx.obj will contain the pre-compiled type information - -#include "stdafx.h" - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7396/Sdk7396/stdafx.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7396/Sdk7396/stdafx.h deleted file mode 100644 index 12123e2..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7396/Sdk7396/stdafx.h +++ /dev/null @@ -1,60 +0,0 @@ - -// stdafx.h : include file for standard system include files, -// or project specific include files that are used frequently, -// but are changed infrequently - -#pragma once - -#ifndef _SECURE_ATL -#define _SECURE_ATL 1 -#endif - -#ifndef VC_EXTRALEAN -#define VC_EXTRALEAN // Exclude rarely-used stuff from Windows headers -#endif - -#include "targetver.h" - -#define _ATL_CSTRING_EXPLICIT_CONSTRUCTORS // some CString constructors will be explicit - -// turns off MFC's hiding of some common and often safely ignored warning messages -#define _AFX_ALL_WARNINGS - -#include // MFC core and standard components -#include // MFC extensions - - -#include // MFC Automation classes - - - -#ifndef _AFX_NO_OLE_SUPPORT -#include // MFC support for Internet Explorer 4 Common Controls -#endif -#ifndef _AFX_NO_AFXCMN_SUPPORT -#include // MFC support for Windows Common Controls -#endif // _AFX_NO_AFXCMN_SUPPORT - -#include // MFC support for ribbons and control bars - - - - - - - - - -#ifdef _UNICODE -#if defined _M_IX86 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='x86' publicKeyToken='6595b64144ccf1df' language='*'\"") -#elif defined _M_IA64 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='ia64' publicKeyToken='6595b64144ccf1df' language='*'\"") -#elif defined _M_X64 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='amd64' publicKeyToken='6595b64144ccf1df' language='*'\"") -#else -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='*' publicKeyToken='6595b64144ccf1df' language='*'\"") -#endif -#endif - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7396/Sdk7396/targetver.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7396/Sdk7396/targetver.h deleted file mode 100644 index 11730d5..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7396/Sdk7396/targetver.h +++ /dev/null @@ -1,26 +0,0 @@ - -#pragma once - -// The following macros define the minimum required platform. The minimum required platform -// is the earliest version of Windows, Internet Explorer etc. that has the necessary features to run -// your application. The macros work by enabling all features available on platform versions up to and -// including the version specified. - -// Modify the following defines if you have to target a platform prior to the ones specified below. -// Refer to MSDN for the latest info on corresponding values for different platforms. -#ifndef WINVER // Specifies that the minimum required platform is Windows Vista. -#define WINVER 0x0600 // Change this to the appropriate value to target other versions of Windows. -#endif - -#ifndef _WIN32_WINNT // Specifies that the minimum required platform is Windows Vista. -#define _WIN32_WINNT 0x0600 // Change this to the appropriate value to target other versions of Windows. -#endif - -#ifndef _WIN32_WINDOWS // Specifies that the minimum required platform is Windows 98. -#define _WIN32_WINDOWS 0x0410 // Change this to the appropriate value to target Windows Me or later. -#endif - -#ifndef _WIN32_IE // Specifies that the minimum required platform is Internet Explorer 7.0. -#define _WIN32_IE 0x0700 // Change this to the appropriate value to target other versions of IE. -#endif - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7432/SDK7432DbEvt/7230int.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7432/SDK7432DbEvt/7230int.suo deleted file mode 100644 index 0246eaf..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7432/SDK7432DbEvt/7230int.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7432/SDK7432DbEvt/7256int.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7432/SDK7432DbEvt/7256int.suo deleted file mode 100644 index 494d925..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7432/SDK7432DbEvt/7256int.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7432/SDK7432DbEvt/7258int.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7432/SDK7432DbEvt/7258int.suo deleted file mode 100644 index ea9e48d..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7432/SDK7432DbEvt/7258int.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7432/SDK7432DbEvt/7432int.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7432/SDK7432DbEvt/7432int.cpp deleted file mode 100644 index db9e664..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7432/SDK7432DbEvt/7432int.cpp +++ /dev/null @@ -1,110 +0,0 @@ - -// 7432int.cpp : Defines the class behaviors for the application. -// - -#include "stdafx.h" -#include "7432int.h" -#include "7432intDlg.h" -#include "CardIDDlg.h" - -#ifdef _DEBUG -#define new DEBUG_NEW -#endif - - -// C7432intApp - -BEGIN_MESSAGE_MAP(C7432intApp, CWinAppEx) - ON_COMMAND(ID_HELP, &CWinApp::OnHelp) -END_MESSAGE_MAP() - - -// C7432intApp construction - -C7432intApp::C7432intApp() -{ - // TODO: add construction code here, - // Place all significant initialization in InitInstance -} - - -// The one and only C7432intApp object - -C7432intApp theApp; - - -// C7432intApp initialization - -BOOL C7432intApp::InitInstance() -{ - int nCardID = 0; - I16 hCard; - CString strTemp; - INT_PTR nResponse; - - // InitCommonControlsEx() is required on Windows XP if an application - // manifest specifies use of ComCtl32.dll version 6 or later to enable - // visual styles. Otherwise, any window creation will fail. - INITCOMMONCONTROLSEX InitCtrls; - InitCtrls.dwSize = sizeof(InitCtrls); - // Set this to include all the common control classes you want to use - // in your application. - InitCtrls.dwICC = ICC_WIN95_CLASSES; - InitCommonControlsEx(&InitCtrls); - - CWinAppEx::InitInstance(); - - AfxEnableControlContainer(); - - // Standard initialization - // If you are not using these features and wish to reduce the size - // of your final executable, you should remove from the following - // the specific initialization routines you do not need - // Change the registry key under which our settings are stored - // TODO: You should modify this string to be something appropriate - // such as the name of your company or organization - SetRegistryKey(_T("Local AppWizard-Generated Applications")); - - CCardIDDlg CardDlg( nCardID ); - - nResponse = CardDlg.DoModal(); - if (nResponse == IDOK) - { - nCardID = CardDlg.GetCardID(); - - if ((hCard=Register_Card(PCI_7432, nCardID)) < 0) - { - strTemp.Format( TEXT("Register_Card Error = %d"), hCard); - AfxMessageBox( strTemp ); - } - else - { - C7432intDlg dlg(hCard); - m_pMainWnd = &dlg; - nResponse = dlg.DoModal(); - if (nResponse == IDOK) - { - // TODO: Place code here to handle when the dialog is - // dismissed with OK - } - else if (nResponse == IDCANCEL) - { - // TODO: Place code here to handle when the dialog is - // dismissed with Cancel - } - - if (hCard >= 0) Release_Card(hCard); - } - - } - else if (nResponse == IDCANCEL) - { - // TODO: Place code here to handle when the dialog is - // dismissed with Cancel - } - - - // Since the dialog has been closed, return FALSE so that we exit the - // application, rather than start the application's message pump. - return FALSE; -} diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7432/SDK7432DbEvt/7432int.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7432/SDK7432DbEvt/7432int.h deleted file mode 100644 index b1dd7d6..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7432/SDK7432DbEvt/7432int.h +++ /dev/null @@ -1,32 +0,0 @@ - -// 7432int.h : main header file for the PROJECT_NAME application -// - -#pragma once - -#ifndef __AFXWIN_H__ - #error "include 'stdafx.h' before including this file for PCH" -#endif - -#include "resource.h" // main symbols - - -// C7432intApp: -// See 7432int.cpp for the implementation of this class -// - -class C7432intApp : public CWinAppEx -{ -public: - C7432intApp(); - -// Overrides - public: - virtual BOOL InitInstance(); - -// Implementation - - DECLARE_MESSAGE_MAP() -}; - -extern C7432intApp theApp; \ No newline at end of file diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7432/SDK7432DbEvt/7432int.rc b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7432/SDK7432DbEvt/7432int.rc deleted file mode 100644 index e911cdc..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7432/SDK7432DbEvt/7432int.rc +++ /dev/null @@ -1,244 +0,0 @@ -// Microsoft Visual C++ generated resource script. -// -#include "resource.h" - -#define APSTUDIO_READONLY_SYMBOLS -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 2 resource. -// -#ifndef APSTUDIO_INVOKED -#include "targetver.h" -#endif -#include "afxres.h" - -///////////////////////////////////////////////////////////////////////////// -#undef APSTUDIO_READONLY_SYMBOLS - -///////////////////////////////////////////////////////////////////////////// -// Chinese (Taiwan) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_CHT) -#ifdef _WIN32 -LANGUAGE LANG_CHINESE, SUBLANG_CHINESE_TRADITIONAL -#pragma code_page(950) -#endif //_WIN32 - -#ifdef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// TEXTINCLUDE -// - -1 TEXTINCLUDE -BEGIN - "resource.h\0" -END - -2 TEXTINCLUDE -BEGIN - "#ifndef APSTUDIO_INVOKED\r\n" - "#include ""targetver.h""\r\n" - "#endif\r\n" - "#include ""afxres.h""\r\n" - "\0" -END - -3 TEXTINCLUDE -BEGIN - "#define _AFX_NO_SPLITTER_RESOURCES\r\n" - "#define _AFX_NO_OLE_RESOURCES\r\n" - "#define _AFX_NO_TRACKER_RESOURCES\r\n" - "#define _AFX_NO_PROPERTY_RESOURCES\r\n" - "\r\n" - "#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)\r\n" - "LANGUAGE 9, 1\r\n" - "#pragma code_page(1252)\r\n" - "#include ""res\\My7432int.rc2"" // non-Microsoft Visual C++ edited resources\r\n" - "#include ""afxres.rc"" // Standard components\r\n" - "#endif\r\n" - "\0" -END - -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// Icon -// - -// Icon with lowest ID value placed first to ensure application icon -// remains consistent on all systems. -IDR_MAINFRAME ICON "res\\7432int.ico" -#endif // Chinese (Taiwan) resources -///////////////////////////////////////////////////////////////////////////// - - -///////////////////////////////////////////////////////////////////////////// -// English (U.S.) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -#ifdef _WIN32 -LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US -#pragma code_page(1252) -#endif //_WIN32 - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog -// - -IDD_ABOUTBOX DIALOGEX 0, 0, 170, 62 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "About 7432int" -FONT 8, "MS Shell Dlg", 0, 0, 0x1 -BEGIN - ICON IDR_MAINFRAME,IDC_STATIC,14,14,21,20 - LTEXT "7432int, Version 1.0",IDC_STATIC,42,14,114,8,SS_NOPREFIX - LTEXT "Copyright (C) 2010",IDC_STATIC,42,26,114,8 - DEFPUSHBUTTON "OK",IDOK,113,41,50,14,WS_GROUP -END - -IDD_MY7432INT_DIALOG DIALOGEX 0, 0, 228, 138 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU -EXSTYLE WS_EX_APPWINDOW -CAPTION "PCI-7432 Dual Interrupt Sample" -FONT 8, "MS Shell Dlg", 0, 0, 0x1 -BEGIN - LTEXT "This program shows the number of occurrence of interrupt for Dual interrupt lines.\nINT1 interrupt is generated by external signal from DI bit-0.\nINT2 interrupt is generated by external signal from DI bit-1.",IDC_STATIC,9,6,207,33 - LTEXT "INT1 Count =",IDC_STATIC_05,54,76,85,13 - PUSHBUTTON "Output",IDC_BT_OUTPUT,76,113,84,18 - LTEXT "INT2 Count =",IDC_STATIC_06,54,95,85,13 - LTEXT "If you connect DO bit-0 to DI-bit-0 and DO bit-1 to DI-bit-1, click 'Output' button can generate two interrupts.\nOne for INT1 and the other for INT2.",IDC_STATIC,9,43,207,29 -END - -IDD_CARDID_DIALOG DIALOGEX 0, 0, 163, 88 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "Card ID" -FONT 8, "MS Shell Dlg", 400, 0, 0x1 -BEGIN - COMBOBOX IDC_COMBO_CARDID,73,17,71,126,CBS_DROPDOWN | WS_VSCROLL | WS_TABSTOP - LTEXT "Card Number",IDC_STATIC_01,19,18,46,12 - PUSHBUTTON "OK",IDOK,20,50,58,19 - PUSHBUTTON "CANCEL",IDCANCEL,84,50,58,19 -END - - -///////////////////////////////////////////////////////////////////////////// -// -// Version -// - -VS_VERSION_INFO VERSIONINFO - FILEVERSION 1,0,0,1 - PRODUCTVERSION 1,0,0,1 - FILEFLAGSMASK 0x3fL -#ifdef _DEBUG - FILEFLAGS 0x1L -#else - FILEFLAGS 0x0L -#endif - FILEOS 0x4L - FILETYPE 0x1L - FILESUBTYPE 0x0L -BEGIN - BLOCK "StringFileInfo" - BEGIN - BLOCK "040904e4" - BEGIN - VALUE "CompanyName", "TODO: " - VALUE "FileDescription", "TODO: " - VALUE "FileVersion", "1.0.0.1" - VALUE "InternalName", "7432int.exe" - VALUE "LegalCopyright", "TODO: (c) . All rights reserved." - VALUE "OriginalFilename", "7432int.exe" - VALUE "ProductName", "TODO: " - VALUE "ProductVersion", "1.0.0.1" - END - END - BLOCK "VarFileInfo" - BEGIN - VALUE "Translation", 0x409, 1252 - END -END - - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog Info -// - -IDD_CARDID_DIALOG DLGINIT -BEGIN - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0030, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0031, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0032, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0033, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0034, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0035, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0036, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0037, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0038, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0039, - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3031, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3131, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3231, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3331, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3431, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3531, "\000" - 0 -END - - -///////////////////////////////////////////////////////////////////////////// -// -// String Table -// - -STRINGTABLE -BEGIN - IDS_ABOUTBOX "&About 7432int..." -END - -#endif // English (U.S.) resources -///////////////////////////////////////////////////////////////////////////// - - - -#ifndef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 3 resource. -// -#define _AFX_NO_SPLITTER_RESOURCES -#define _AFX_NO_OLE_RESOURCES -#define _AFX_NO_TRACKER_RESOURCES -#define _AFX_NO_PROPERTY_RESOURCES - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -LANGUAGE 9, 1 -#pragma code_page(1252) -#include "res\My7432int.rc2" // non-Microsoft Visual C++ edited resources -#include "afxres.rc" // Standard components -#endif - -///////////////////////////////////////////////////////////////////////////// -#endif // not APSTUDIO_INVOKED - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7432/SDK7432DbEvt/7432int.sln b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7432/SDK7432DbEvt/7432int.sln deleted file mode 100644 index fefdb1e..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7432/SDK7432DbEvt/7432int.sln +++ /dev/null @@ -1,20 +0,0 @@ - -Microsoft Visual Studio Solution File, Format Version 10.00 -# Visual Studio 2008 -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "7432int", "7432int.vcproj", "{7D5D9EC5-ED97-47EE-B6F4-ACCD71069808}" -EndProject -Global - GlobalSection(SolutionConfigurationPlatforms) = preSolution - Debug|x64 = Debug|x64 - Release|x64 = Release|x64 - EndGlobalSection - GlobalSection(ProjectConfigurationPlatforms) = postSolution - {7D5D9EC5-ED97-47EE-B6F4-ACCD71069808}.Debug|x64.ActiveCfg = Debug|x64 - {7D5D9EC5-ED97-47EE-B6F4-ACCD71069808}.Debug|x64.Build.0 = Debug|x64 - {7D5D9EC5-ED97-47EE-B6F4-ACCD71069808}.Release|x64.ActiveCfg = Release|x64 - {7D5D9EC5-ED97-47EE-B6F4-ACCD71069808}.Release|x64.Build.0 = Release|x64 - EndGlobalSection - GlobalSection(SolutionProperties) = preSolution - HideSolutionNode = FALSE - EndGlobalSection -EndGlobal diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7432/SDK7432DbEvt/7432int.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7432/SDK7432DbEvt/7432int.suo deleted file mode 100644 index 918430e..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7432/SDK7432DbEvt/7432int.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7432/SDK7432DbEvt/7432int.vcproj b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7432/SDK7432DbEvt/7432int.vcproj deleted file mode 100644 index 70b743f..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7432/SDK7432DbEvt/7432int.vcproj +++ /dev/null @@ -1,286 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7432/SDK7432DbEvt/7432intDlg.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7432/SDK7432DbEvt/7432intDlg.cpp deleted file mode 100644 index 1f37cc5..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7432/SDK7432DbEvt/7432intDlg.cpp +++ /dev/null @@ -1,283 +0,0 @@ - -// 7432intDlg.cpp : implementation file -// - -#include "stdafx.h" -#include "7432int.h" -#include "7432intDlg.h" - -#ifdef _DEBUG -#define new DEBUG_NEW -#endif - -int gIntCount, gIntCount2; -HANDLE ghIntEvent[2]; - -BOOLEAN gbExitThread, gbExitThread2; - - - -DWORD WINAPI IntThread( LPVOID lpParam ) -{ - - while ( gbExitThread == FALSE ) - { - if ( WaitForSingleObject(ghIntEvent[0], INFINITE) == WAIT_OBJECT_0 ) - { - gIntCount++; - ResetEvent(ghIntEvent[0]); - } - } - - return (DWORD) 0; -} - -DWORD WINAPI IntThread2( LPVOID lpParam ) -{ - - while ( gbExitThread2 == FALSE ) - { - if ( WaitForSingleObject(ghIntEvent[1], INFINITE) == WAIT_OBJECT_0 ) - { - gIntCount2++; - ResetEvent(ghIntEvent[1]); - } - } - - return (DWORD) 0; -} - -// CAboutDlg dialog used for App About - -class CAboutDlg : public CDialog -{ -public: - CAboutDlg(); - -// Dialog Data - enum { IDD = IDD_ABOUTBOX }; - - protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - -// Implementation -protected: - DECLARE_MESSAGE_MAP() -}; - -CAboutDlg::CAboutDlg() : CDialog(CAboutDlg::IDD) -{ -} - -void CAboutDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); -} - -BEGIN_MESSAGE_MAP(CAboutDlg, CDialog) -END_MESSAGE_MAP() - - -// C7432intDlg dialog - - - - -C7432intDlg::C7432intDlg(I16 hCard, CWnd* pParent /*=NULL*/) - : CDialog(C7432intDlg::IDD, pParent) -{ - m_hIcon = AfxGetApp()->LoadIcon(IDR_MAINFRAME); - - m_hCard = hCard; - m_hThread = m_hThread2 = NULL; - m_nTimer = -1; - m_dwOutVal = 0x00000000; -} - -void C7432intDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); -} - -BEGIN_MESSAGE_MAP(C7432intDlg, CDialog) - ON_WM_SYSCOMMAND() - ON_WM_PAINT() - ON_WM_QUERYDRAGICON() - //}}AFX_MSG_MAP - ON_WM_DESTROY() - ON_WM_TIMER() - ON_BN_CLICKED(IDC_BT_OUTPUT, &C7432intDlg::OnOutput) -END_MESSAGE_MAP() - - -// C7432intDlg message handlers - -BOOL C7432intDlg::OnInitDialog() -{ - CDialog::OnInitDialog(); - - // Add "About..." menu item to system menu. - - // IDM_ABOUTBOX must be in the system command range. - ASSERT((IDM_ABOUTBOX & 0xFFF0) == IDM_ABOUTBOX); - ASSERT(IDM_ABOUTBOX < 0xF000); - - CMenu* pSysMenu = GetSystemMenu(FALSE); - if (pSysMenu != NULL) - { - BOOL bNameValid; - CString strAboutMenu; - bNameValid = strAboutMenu.LoadString(IDS_ABOUTBOX); - ASSERT(bNameValid); - if (!strAboutMenu.IsEmpty()) - { - pSysMenu->AppendMenu(MF_SEPARATOR); - pSysMenu->AppendMenu(MF_STRING, IDM_ABOUTBOX, strAboutMenu); - } - } - - // Set the icon for this dialog. The framework does this automatically - // when the application's main window is not a dialog - SetIcon(m_hIcon, TRUE); // Set big icon - SetIcon(m_hIcon, FALSE); // Set small icon - - // TODO: Add extra initialization here - I16 err; - - err = DIO_SetDualInterrupt(m_hCard, INT1_EXT_SIGNAL, INT2_EXT_SIGNAL, ghIntEvent); - DO_WritePort(m_hCard, 0, m_dwOutVal); - - gIntCount = 0; - gbExitThread = FALSE; - m_hThread = CreateThread( NULL, // default security attributes - 0, // use default stack size - IntThread, // thread function name - NULL, // argument to thread function - 0, // use default creation flags - NULL); // returns the thread identifier - - gIntCount2 = 0; - gbExitThread = FALSE; - m_hThread2 = CreateThread( NULL, // default security attributes - 0, // use default stack size - IntThread2, // thread function name - NULL, // argument to thread function - 0, // use default creation flags - NULL); // returns the thread identifier - - m_nTimer = SetTimer( 1, 250, NULL ); - - return TRUE; // return TRUE unless you set the focus to a control -} - -void C7432intDlg::OnSysCommand(UINT nID, LPARAM lParam) -{ - if ((nID & 0xFFF0) == IDM_ABOUTBOX) - { - CAboutDlg dlgAbout; - dlgAbout.DoModal(); - } - else - { - CDialog::OnSysCommand(nID, lParam); - } -} - -// If you add a minimize button to your dialog, you will need the code below -// to draw the icon. For MFC applications using the document/view model, -// this is automatically done for you by the framework. - -void C7432intDlg::OnPaint() -{ - if (IsIconic()) - { - CPaintDC dc(this); // device context for painting - - SendMessage(WM_ICONERASEBKGND, reinterpret_cast(dc.GetSafeHdc()), 0); - - // Center icon in client rectangle - int cxIcon = GetSystemMetrics(SM_CXICON); - int cyIcon = GetSystemMetrics(SM_CYICON); - CRect rect; - GetClientRect(&rect); - int x = (rect.Width() - cxIcon + 1) / 2; - int y = (rect.Height() - cyIcon + 1) / 2; - - // Draw the icon - dc.DrawIcon(x, y, m_hIcon); - } - else - { - CDialog::OnPaint(); - } -} - -// The system calls this function to obtain the cursor to display while the user drags -// the minimized window. -HCURSOR C7432intDlg::OnQueryDragIcon() -{ - return static_cast(m_hIcon); -} - - -void C7432intDlg::OnDestroy() -{ - CDialog::OnDestroy(); - - // TODO: Add your message handler code here - DIO_SetDualInterrupt(m_hCard, INT1_DISABLE, INT2_DISABLE, ghIntEvent); - - if( m_nTimer != -1 ) - { - KillTimer( m_nTimer ); - m_nTimer = -1; - } - - - if( m_hThread != NULL ) - { - gbExitThread = TRUE; // termnate the IntThread - SetEvent( ghIntEvent[0] ); - - if (WaitForSingleObject(m_hThread, 5000) == WAIT_OBJECT_0) - { - CloseHandle( m_hThread ); - m_hThread = NULL; - } - } - - if( m_hThread2 != NULL ) - { - gbExitThread2 = TRUE; // termnate the IntThread - SetEvent( ghIntEvent[1] ); - - if (WaitForSingleObject(m_hThread2, 5000) == WAIT_OBJECT_0) - { - CloseHandle( m_hThread2 ); - m_hThread2 = NULL; - } - } - -} - -void C7432intDlg::OnTimer(UINT_PTR nIDEvent) -{ - // TODO: Add your message handler code here and/or call default - CString strTemp; - - strTemp.Format( TEXT("INT1 Count = %d"), gIntCount ); - SetDlgItemText( IDC_STATIC_05, strTemp ); - - strTemp.Format( TEXT("INT2 Count = %d"), gIntCount2 ); - SetDlgItemText( IDC_STATIC_06, strTemp ); - - CDialog::OnTimer(nIDEvent); -} - -void C7432intDlg::OnOutput() -{ - // TODO: Add your control notification handler code here - DO_WritePort(m_hCard, 0, 0x3); - Sleep(1); - DO_WritePort(m_hCard, 0, 0x0); -} diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7432/SDK7432DbEvt/7432intDlg.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7432/SDK7432DbEvt/7432intDlg.h deleted file mode 100644 index a6be5a7..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7432/SDK7432DbEvt/7432intDlg.h +++ /dev/null @@ -1,41 +0,0 @@ - -// 7432intDlg.h : header file -// -#include "Dask64.h" - -#pragma once - - -// C7432intDlg dialog -class C7432intDlg : public CDialog -{ -// Construction -public: - C7432intDlg(I16 hCard, CWnd* pParent = NULL); // standard constructor - -// Dialog Data - enum { IDD = IDD_MY7432INT_DIALOG }; - - protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - - -// Implementation -protected: - HICON m_hIcon; - UINT_PTR m_nTimer; - HANDLE m_hThread, m_hThread2; - I16 m_hCard; - U32 m_dwOutVal; - - // Generated message map functions - virtual BOOL OnInitDialog(); - afx_msg void OnSysCommand(UINT nID, LPARAM lParam); - afx_msg void OnPaint(); - afx_msg HCURSOR OnQueryDragIcon(); - DECLARE_MESSAGE_MAP() -public: - afx_msg void OnDestroy(); - afx_msg void OnTimer(UINT_PTR nIDEvent); - afx_msg void OnOutput(); -}; diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7432/SDK7432DbEvt/CardIDDlg.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7432/SDK7432DbEvt/CardIDDlg.cpp deleted file mode 100644 index 06a6b21..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7432/SDK7432DbEvt/CardIDDlg.cpp +++ /dev/null @@ -1,67 +0,0 @@ -// CardIDDlg.cpp : implementation file -// - -#include "stdafx.h" -#include "7432int.h" -#include "CardIDDlg.h" - - -// CCardIDDlg dialog - -IMPLEMENT_DYNAMIC(CCardIDDlg, CDialog) - -CCardIDDlg::CCardIDDlg(int nCardIdx, CWnd* pParent /*=NULL*/) - : CDialog(CCardIDDlg::IDD, pParent) -{ - m_nCardIdx = nCardIdx; -} - -CCardIDDlg::~CCardIDDlg() -{ -} - -void CCardIDDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); - DDX_Control(pDX, IDC_COMBO_CARDID, m_cbCardID); -} - - -BEGIN_MESSAGE_MAP(CCardIDDlg, CDialog) -// ON_CBN_SELCHANGE(IDC_COMBO_CARDID, &CCardIDDlg::OnCbnSelchangeComboCardid) -ON_BN_CLICKED(IDOK, &CCardIDDlg::OnBnClickedOk) -//ON_WM_CTLCOLOR() -END_MESSAGE_MAP() - - -// CCardIDDlg message handlers - - -void CCardIDDlg::OnBnClickedOk() -{ - // TODO: Add your control notification handler code here - -// UpdateData(TRUE); - m_nCardIdx = m_cbCardID.GetCurSel(); - - OnOK(); -} - -BOOL CCardIDDlg::OnInitDialog() -{ - CDialog::OnInitDialog(); - - // TODO: Add extra initialization here - m_cbCardID.SetCurSel( m_nCardIdx ); - - return TRUE; // return TRUE unless you set the focus to a control - // EXCEPTION: OCX Property Pages should return FALSE -} - -// the function to get the selected CardID -int CCardIDDlg::GetCardID(void) -{ - return m_nCardIdx; -} - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7432/SDK7432DbEvt/CardIDDlg.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7432/SDK7432DbEvt/CardIDDlg.h deleted file mode 100644 index 54628ea..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7432/SDK7432DbEvt/CardIDDlg.h +++ /dev/null @@ -1,33 +0,0 @@ -#pragma once -#include "afxwin.h" - - -// CCardIDDlg dialog - -class CCardIDDlg : public CDialog -{ - DECLARE_DYNAMIC(CCardIDDlg) - -public: - CCardIDDlg(int nCardIdx, CWnd* pParent = NULL); // standard constructor - virtual ~CCardIDDlg(); - -// Dialog Data - enum { IDD = IDD_CARDID_DIALOG }; - -protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - - DECLARE_MESSAGE_MAP() -public: -// afx_msg void OnCbnSelchangeComboCardid(); - afx_msg void OnBnClickedOk(); - // the setting of CardID ComboBox - int m_nCardIdx; - virtual BOOL OnInitDialog(); - // the control of CardID ComboBox - CComboBox m_cbCardID; - // the function to get the selected CardID - int GetCardID(void); -// afx_msg HBRUSH OnCtlColor(CDC* pDC, CWnd* pWnd, UINT nCtlColor); -}; diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7432/SDK7432DbEvt/ReadMe.txt b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7432/SDK7432DbEvt/ReadMe.txt deleted file mode 100644 index 5133df9..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7432/SDK7432DbEvt/ReadMe.txt +++ /dev/null @@ -1,93 +0,0 @@ -================================================================================ - MICROSOFT FOUNDATION CLASS LIBRARY : 7432int Project Overview -=============================================================================== - -The application wizard has created this 7432int application for -you. This application not only demonstrates the basics of using the Microsoft -Foundation Classes but is also a starting point for writing your application. - -This file contains a summary of what you will find in each of the files that -make up your 7432int application. - -7432int.vcproj - This is the main project file for VC++ projects generated using an application wizard. - It contains information about the version of Visual C++ that generated the file, and - information about the platforms, configurations, and project features selected with the - application wizard. - -7432int.h - This is the main header file for the application. It includes other - project specific headers (including Resource.h) and declares the - C7432intApp application class. - -7432int.cpp - This is the main application source file that contains the application - class C7432intApp. - -7432int.rc - This is a listing of all of the Microsoft Windows resources that the - program uses. It includes the icons, bitmaps, and cursors that are stored - in the RES subdirectory. This file can be directly edited in Microsoft - Visual C++. Your project resources are in 1033. - -res\7432int.ico - This is an icon file, which is used as the application's icon. This - icon is included by the main resource file 7432int.rc. - -res\My7432int.rc2 - This file contains resources that are not edited by Microsoft - Visual C++. You should place all resources not editable by - the resource editor in this file. - - -///////////////////////////////////////////////////////////////////////////// - -The application wizard creates one dialog class: - -7432intDlg.h, 7432intDlg.cpp - the dialog - These files contain your C7432intDlg class. This class defines - the behavior of your application's main dialog. The dialog's template is - in 7432int.rc, which can be edited in Microsoft Visual C++. - - -///////////////////////////////////////////////////////////////////////////// - -Other Features: - -ActiveX Controls - The application includes support to use ActiveX controls. - -///////////////////////////////////////////////////////////////////////////// - -Other standard files: - -StdAfx.h, StdAfx.cpp - These files are used to build a precompiled header (PCH) file - named 7432int.pch and a precompiled types file named StdAfx.obj. - -Resource.h - This is the standard header file, which defines new resource IDs. - Microsoft Visual C++ reads and updates this file. - -7432int.manifest - Application manifest files are used by Windows XP to describe an applications - dependency on specific versions of Side-by-Side assemblies. The loader uses this - information to load the appropriate assembly from the assembly cache or private - from the application. The Application manifest maybe included for redistribution - as an external .manifest file that is installed in the same folder as the application - executable or it may be included in the executable in the form of a resource. -///////////////////////////////////////////////////////////////////////////// - -Other notes: - -The application wizard uses "TODO:" to indicate parts of the source code you -should add to or customize. - -If your application uses MFC in a shared DLL, you will need -to redistribute the MFC DLLs. If your application is in a language -other than the operating system's locale, you will also have to -redistribute the corresponding localized resources MFC90XXX.DLL. -For more information on both of these topics, please see the section on -redistributing Visual C++ applications in MSDN documentation. - -///////////////////////////////////////////////////////////////////////////// diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7432/SDK7432DbEvt/res/7432int.ico b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7432/SDK7432DbEvt/res/7432int.ico deleted file mode 100644 index d56fbcd..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7432/SDK7432DbEvt/res/7432int.ico and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7432/SDK7432DbEvt/res/My7432int.rc2 b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7432/SDK7432DbEvt/res/My7432int.rc2 deleted file mode 100644 index 7bd3593..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7432/SDK7432DbEvt/res/My7432int.rc2 +++ /dev/null @@ -1,13 +0,0 @@ -// -// My7256int.RC2 - resources Microsoft Visual C++ does not edit directly -// - -#ifdef APSTUDIO_INVOKED -#error this file is not editable by Microsoft Visual C++ -#endif //APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// Add manually edited resources here... - -///////////////////////////////////////////////////////////////////////////// diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7432/SDK7432DbEvt/resource.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7432/SDK7432DbEvt/resource.h deleted file mode 100644 index 7b47ca7..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7432/SDK7432DbEvt/resource.h +++ /dev/null @@ -1,28 +0,0 @@ -//{{NO_DEPENDENCIES}} -// Microsoft Visual C++ generated include file. -// Used by 7432int.rc -// -#define IDM_ABOUTBOX 0x0010 -#define IDD_ABOUTBOX 100 -#define IDS_ABOUTBOX 101 -#define IDD_MY7432INT_DIALOG 102 -#define IDR_MAINFRAME 128 -#define IDD_CARDID_DIALOG 129 -#define IDC_COMBO_CARDID 1000 -#define IDC_BUTTON1 1000 -#define IDC_BT_OUTPUT 1000 -#define IDC_STATIC_05 1007 -#define IDC_STATIC_06 1008 -#define IDC_STATIC_6 1008 -#define IDC_STATIC_01 1014 - -// Next default values for new objects -// -#ifdef APSTUDIO_INVOKED -#ifndef APSTUDIO_READONLY_SYMBOLS -#define _APS_NEXT_RESOURCE_VALUE 131 -#define _APS_NEXT_COMMAND_VALUE 32771 -#define _APS_NEXT_CONTROL_VALUE 1001 -#define _APS_NEXT_SYMED_VALUE 101 -#endif -#endif diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7432/SDK7432DbEvt/stdafx.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7432/SDK7432DbEvt/stdafx.cpp deleted file mode 100644 index 312fefd..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7432/SDK7432DbEvt/stdafx.cpp +++ /dev/null @@ -1,8 +0,0 @@ - -// stdafx.cpp : source file that includes just the standard includes -// 7432int.pch will be the pre-compiled header -// stdafx.obj will contain the pre-compiled type information - -#include "stdafx.h" - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7432/SDK7432DbEvt/stdafx.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7432/SDK7432DbEvt/stdafx.h deleted file mode 100644 index 12123e2..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7432/SDK7432DbEvt/stdafx.h +++ /dev/null @@ -1,60 +0,0 @@ - -// stdafx.h : include file for standard system include files, -// or project specific include files that are used frequently, -// but are changed infrequently - -#pragma once - -#ifndef _SECURE_ATL -#define _SECURE_ATL 1 -#endif - -#ifndef VC_EXTRALEAN -#define VC_EXTRALEAN // Exclude rarely-used stuff from Windows headers -#endif - -#include "targetver.h" - -#define _ATL_CSTRING_EXPLICIT_CONSTRUCTORS // some CString constructors will be explicit - -// turns off MFC's hiding of some common and often safely ignored warning messages -#define _AFX_ALL_WARNINGS - -#include // MFC core and standard components -#include // MFC extensions - - -#include // MFC Automation classes - - - -#ifndef _AFX_NO_OLE_SUPPORT -#include // MFC support for Internet Explorer 4 Common Controls -#endif -#ifndef _AFX_NO_AFXCMN_SUPPORT -#include // MFC support for Windows Common Controls -#endif // _AFX_NO_AFXCMN_SUPPORT - -#include // MFC support for ribbons and control bars - - - - - - - - - -#ifdef _UNICODE -#if defined _M_IX86 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='x86' publicKeyToken='6595b64144ccf1df' language='*'\"") -#elif defined _M_IA64 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='ia64' publicKeyToken='6595b64144ccf1df' language='*'\"") -#elif defined _M_X64 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='amd64' publicKeyToken='6595b64144ccf1df' language='*'\"") -#else -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='*' publicKeyToken='6595b64144ccf1df' language='*'\"") -#endif -#endif - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7432/SDK7432DbEvt/targetver.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7432/SDK7432DbEvt/targetver.h deleted file mode 100644 index 11730d5..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7432/SDK7432DbEvt/targetver.h +++ /dev/null @@ -1,26 +0,0 @@ - -#pragma once - -// The following macros define the minimum required platform. The minimum required platform -// is the earliest version of Windows, Internet Explorer etc. that has the necessary features to run -// your application. The macros work by enabling all features available on platform versions up to and -// including the version specified. - -// Modify the following defines if you have to target a platform prior to the ones specified below. -// Refer to MSDN for the latest info on corresponding values for different platforms. -#ifndef WINVER // Specifies that the minimum required platform is Windows Vista. -#define WINVER 0x0600 // Change this to the appropriate value to target other versions of Windows. -#endif - -#ifndef _WIN32_WINNT // Specifies that the minimum required platform is Windows Vista. -#define _WIN32_WINNT 0x0600 // Change this to the appropriate value to target other versions of Windows. -#endif - -#ifndef _WIN32_WINDOWS // Specifies that the minimum required platform is Windows 98. -#define _WIN32_WINDOWS 0x0410 // Change this to the appropriate value to target Windows Me or later. -#endif - -#ifndef _WIN32_IE // Specifies that the minimum required platform is Internet Explorer 7.0. -#define _WIN32_IE 0x0700 // Change this to the appropriate value to target other versions of IE. -#endif - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7432/SDK7432DbEvtMsg/7230int.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7432/SDK7432DbEvtMsg/7230int.suo deleted file mode 100644 index 843c64f..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7432/SDK7432DbEvtMsg/7230int.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7432/SDK7432DbEvtMsg/7256int.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7432/SDK7432DbEvtMsg/7256int.suo deleted file mode 100644 index 01299a3..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7432/SDK7432DbEvtMsg/7256int.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7432/SDK7432DbEvtMsg/7258int.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7432/SDK7432DbEvtMsg/7258int.suo deleted file mode 100644 index b00e489..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7432/SDK7432DbEvtMsg/7258int.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7432/SDK7432DbEvtMsg/7432int.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7432/SDK7432DbEvtMsg/7432int.cpp deleted file mode 100644 index db9e664..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7432/SDK7432DbEvtMsg/7432int.cpp +++ /dev/null @@ -1,110 +0,0 @@ - -// 7432int.cpp : Defines the class behaviors for the application. -// - -#include "stdafx.h" -#include "7432int.h" -#include "7432intDlg.h" -#include "CardIDDlg.h" - -#ifdef _DEBUG -#define new DEBUG_NEW -#endif - - -// C7432intApp - -BEGIN_MESSAGE_MAP(C7432intApp, CWinAppEx) - ON_COMMAND(ID_HELP, &CWinApp::OnHelp) -END_MESSAGE_MAP() - - -// C7432intApp construction - -C7432intApp::C7432intApp() -{ - // TODO: add construction code here, - // Place all significant initialization in InitInstance -} - - -// The one and only C7432intApp object - -C7432intApp theApp; - - -// C7432intApp initialization - -BOOL C7432intApp::InitInstance() -{ - int nCardID = 0; - I16 hCard; - CString strTemp; - INT_PTR nResponse; - - // InitCommonControlsEx() is required on Windows XP if an application - // manifest specifies use of ComCtl32.dll version 6 or later to enable - // visual styles. Otherwise, any window creation will fail. - INITCOMMONCONTROLSEX InitCtrls; - InitCtrls.dwSize = sizeof(InitCtrls); - // Set this to include all the common control classes you want to use - // in your application. - InitCtrls.dwICC = ICC_WIN95_CLASSES; - InitCommonControlsEx(&InitCtrls); - - CWinAppEx::InitInstance(); - - AfxEnableControlContainer(); - - // Standard initialization - // If you are not using these features and wish to reduce the size - // of your final executable, you should remove from the following - // the specific initialization routines you do not need - // Change the registry key under which our settings are stored - // TODO: You should modify this string to be something appropriate - // such as the name of your company or organization - SetRegistryKey(_T("Local AppWizard-Generated Applications")); - - CCardIDDlg CardDlg( nCardID ); - - nResponse = CardDlg.DoModal(); - if (nResponse == IDOK) - { - nCardID = CardDlg.GetCardID(); - - if ((hCard=Register_Card(PCI_7432, nCardID)) < 0) - { - strTemp.Format( TEXT("Register_Card Error = %d"), hCard); - AfxMessageBox( strTemp ); - } - else - { - C7432intDlg dlg(hCard); - m_pMainWnd = &dlg; - nResponse = dlg.DoModal(); - if (nResponse == IDOK) - { - // TODO: Place code here to handle when the dialog is - // dismissed with OK - } - else if (nResponse == IDCANCEL) - { - // TODO: Place code here to handle when the dialog is - // dismissed with Cancel - } - - if (hCard >= 0) Release_Card(hCard); - } - - } - else if (nResponse == IDCANCEL) - { - // TODO: Place code here to handle when the dialog is - // dismissed with Cancel - } - - - // Since the dialog has been closed, return FALSE so that we exit the - // application, rather than start the application's message pump. - return FALSE; -} diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7432/SDK7432DbEvtMsg/7432int.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7432/SDK7432DbEvtMsg/7432int.h deleted file mode 100644 index b1dd7d6..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7432/SDK7432DbEvtMsg/7432int.h +++ /dev/null @@ -1,32 +0,0 @@ - -// 7432int.h : main header file for the PROJECT_NAME application -// - -#pragma once - -#ifndef __AFXWIN_H__ - #error "include 'stdafx.h' before including this file for PCH" -#endif - -#include "resource.h" // main symbols - - -// C7432intApp: -// See 7432int.cpp for the implementation of this class -// - -class C7432intApp : public CWinAppEx -{ -public: - C7432intApp(); - -// Overrides - public: - virtual BOOL InitInstance(); - -// Implementation - - DECLARE_MESSAGE_MAP() -}; - -extern C7432intApp theApp; \ No newline at end of file diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7432/SDK7432DbEvtMsg/7432int.rc b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7432/SDK7432DbEvtMsg/7432int.rc deleted file mode 100644 index 616498e..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7432/SDK7432DbEvtMsg/7432int.rc +++ /dev/null @@ -1,271 +0,0 @@ -// Microsoft Visual C++ generated resource script. -// -#include "resource.h" - -#define APSTUDIO_READONLY_SYMBOLS -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 2 resource. -// -#ifndef APSTUDIO_INVOKED -#include "targetver.h" -#endif -#include "afxres.h" - -///////////////////////////////////////////////////////////////////////////// -#undef APSTUDIO_READONLY_SYMBOLS - -///////////////////////////////////////////////////////////////////////////// -// Chinese (Taiwan) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_CHT) -#ifdef _WIN32 -LANGUAGE LANG_CHINESE, SUBLANG_CHINESE_TRADITIONAL -#pragma code_page(950) -#endif //_WIN32 - -#ifdef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// TEXTINCLUDE -// - -1 TEXTINCLUDE -BEGIN - "resource.h\0" -END - -2 TEXTINCLUDE -BEGIN - "#ifndef APSTUDIO_INVOKED\r\n" - "#include ""targetver.h""\r\n" - "#endif\r\n" - "#include ""afxres.h""\r\n" - "\0" -END - -3 TEXTINCLUDE -BEGIN - "#define _AFX_NO_SPLITTER_RESOURCES\r\n" - "#define _AFX_NO_OLE_RESOURCES\r\n" - "#define _AFX_NO_TRACKER_RESOURCES\r\n" - "#define _AFX_NO_PROPERTY_RESOURCES\r\n" - "\r\n" - "#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)\r\n" - "LANGUAGE 9, 1\r\n" - "#pragma code_page(1252)\r\n" - "#include ""res\\My7432int.rc2"" // non-Microsoft Visual C++ edited resources\r\n" - "#include ""afxres.rc"" // Standard components\r\n" - "#endif\r\n" - "\0" -END - -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// Icon -// - -// Icon with lowest ID value placed first to ensure application icon -// remains consistent on all systems. -IDR_MAINFRAME ICON "res\\7432int.ico" -#endif // Chinese (Taiwan) resources -///////////////////////////////////////////////////////////////////////////// - - -///////////////////////////////////////////////////////////////////////////// -// English (U.S.) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -#ifdef _WIN32 -LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US -#pragma code_page(1252) -#endif //_WIN32 - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog -// - -IDD_ABOUTBOX DIALOGEX 0, 0, 170, 62 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "About 7432int" -FONT 8, "MS Shell Dlg", 0, 0, 0x1 -BEGIN - ICON IDR_MAINFRAME,IDC_STATIC,14,14,21,20 - LTEXT "7432int, Version 1.0",IDC_STATIC,42,14,114,8,SS_NOPREFIX - LTEXT "Copyright (C) 2010",IDC_STATIC,42,26,114,8 - DEFPUSHBUTTON "OK",IDOK,113,41,50,14,WS_GROUP -END - -IDD_MY7432INT_DIALOG DIALOGEX 0, 0, 223, 140 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU -EXSTYLE WS_EX_APPWINDOW -CAPTION "PCI-7432 Dual Interrupt Sample" -FONT 8, "MS Shell Dlg", 0, 0, 0x1 -BEGIN - LTEXT "This program shows the number of occurrence of interrupt for Dual interrupt lines.\nINT1 interrupt is generated by external signal from DI bit-0.\nINT2 interrupt is generated by external signal from DI bit-1.",IDC_STATIC,7,6,200,33 - LTEXT "INT1 Count =",IDC_STATIC_05,59,78,85,13 - PUSHBUTTON "Output",IDC_BT_OUTPUT,71,113,84,18 - LTEXT "INT2 Count =",IDC_STATIC_06,59,94,85,13 - LTEXT "If you connect DO bit-0 to DI-bit-0 and DO bit-1 to DI-bit-1, click 'Output' button can generate two interrupts.\nOne for INT1 and the other for INT2.",IDC_STATIC,7,44,200,32 -END - -IDD_CARDID_DIALOG DIALOGEX 0, 0, 163, 88 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "Card ID" -FONT 8, "MS Shell Dlg", 400, 0, 0x1 -BEGIN - COMBOBOX IDC_COMBO_CARDID,73,17,71,126,CBS_DROPDOWN | WS_VSCROLL | WS_TABSTOP - LTEXT "Card Number",IDC_STATIC_01,19,18,46,12 - PUSHBUTTON "OK",IDOK,20,50,58,19 - PUSHBUTTON "CANCEL",IDCANCEL,84,50,58,19 -END - - -///////////////////////////////////////////////////////////////////////////// -// -// Version -// - -VS_VERSION_INFO VERSIONINFO - FILEVERSION 1,0,0,1 - PRODUCTVERSION 1,0,0,1 - FILEFLAGSMASK 0x3fL -#ifdef _DEBUG - FILEFLAGS 0x1L -#else - FILEFLAGS 0x0L -#endif - FILEOS 0x4L - FILETYPE 0x1L - FILESUBTYPE 0x0L -BEGIN - BLOCK "StringFileInfo" - BEGIN - BLOCK "040904e4" - BEGIN - VALUE "CompanyName", "TODO: " - VALUE "FileDescription", "TODO: " - VALUE "FileVersion", "1.0.0.1" - VALUE "InternalName", "7432int.exe" - VALUE "LegalCopyright", "TODO: (c) . All rights reserved." - VALUE "OriginalFilename", "7432int.exe" - VALUE "ProductName", "TODO: " - VALUE "ProductVersion", "1.0.0.1" - END - END - BLOCK "VarFileInfo" - BEGIN - VALUE "Translation", 0x409, 1252 - END -END - - -///////////////////////////////////////////////////////////////////////////// -// -// DESIGNINFO -// - -#ifdef APSTUDIO_INVOKED -GUIDELINES DESIGNINFO -BEGIN - IDD_ABOUTBOX, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 163 - TOPMARGIN, 7 - BOTTOMMARGIN, 55 - END - - IDD_CARDID_DIALOG, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 156 - TOPMARGIN, 7 - BOTTOMMARGIN, 81 - END -END -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog Info -// - -IDD_CARDID_DIALOG DLGINIT -BEGIN - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0030, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0031, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0032, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0033, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0034, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0035, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0036, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0037, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0038, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0039, - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3031, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3131, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3231, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3331, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3431, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3531, "\000" - 0 -END - - -///////////////////////////////////////////////////////////////////////////// -// -// String Table -// - -STRINGTABLE -BEGIN - IDS_ABOUTBOX "&About 7432int..." -END - -#endif // English (U.S.) resources -///////////////////////////////////////////////////////////////////////////// - - - -#ifndef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 3 resource. -// -#define _AFX_NO_SPLITTER_RESOURCES -#define _AFX_NO_OLE_RESOURCES -#define _AFX_NO_TRACKER_RESOURCES -#define _AFX_NO_PROPERTY_RESOURCES - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -LANGUAGE 9, 1 -#pragma code_page(1252) -#include "res\My7432int.rc2" // non-Microsoft Visual C++ edited resources -#include "afxres.rc" // Standard components -#endif - -///////////////////////////////////////////////////////////////////////////// -#endif // not APSTUDIO_INVOKED - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7432/SDK7432DbEvtMsg/7432int.sln b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7432/SDK7432DbEvtMsg/7432int.sln deleted file mode 100644 index fefdb1e..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7432/SDK7432DbEvtMsg/7432int.sln +++ /dev/null @@ -1,20 +0,0 @@ - -Microsoft Visual Studio Solution File, Format Version 10.00 -# Visual Studio 2008 -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "7432int", "7432int.vcproj", "{7D5D9EC5-ED97-47EE-B6F4-ACCD71069808}" -EndProject -Global - GlobalSection(SolutionConfigurationPlatforms) = preSolution - Debug|x64 = Debug|x64 - Release|x64 = Release|x64 - EndGlobalSection - GlobalSection(ProjectConfigurationPlatforms) = postSolution - {7D5D9EC5-ED97-47EE-B6F4-ACCD71069808}.Debug|x64.ActiveCfg = Debug|x64 - {7D5D9EC5-ED97-47EE-B6F4-ACCD71069808}.Debug|x64.Build.0 = Debug|x64 - {7D5D9EC5-ED97-47EE-B6F4-ACCD71069808}.Release|x64.ActiveCfg = Release|x64 - {7D5D9EC5-ED97-47EE-B6F4-ACCD71069808}.Release|x64.Build.0 = Release|x64 - EndGlobalSection - GlobalSection(SolutionProperties) = preSolution - HideSolutionNode = FALSE - EndGlobalSection -EndGlobal diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7432/SDK7432DbEvtMsg/7432int.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7432/SDK7432DbEvtMsg/7432int.suo deleted file mode 100644 index 52d7731..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7432/SDK7432DbEvtMsg/7432int.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7432/SDK7432DbEvtMsg/7432int.vcproj b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7432/SDK7432DbEvtMsg/7432int.vcproj deleted file mode 100644 index 70b743f..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7432/SDK7432DbEvtMsg/7432int.vcproj +++ /dev/null @@ -1,286 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7432/SDK7432DbEvtMsg/7432intDlg.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7432/SDK7432DbEvtMsg/7432intDlg.cpp deleted file mode 100644 index 3dd6340..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7432/SDK7432DbEvtMsg/7432intDlg.cpp +++ /dev/null @@ -1,219 +0,0 @@ - -// 7432intDlg.cpp : implementation file -// - -#include "stdafx.h" -#include "7432int.h" -#include "7432intDlg.h" - -#ifdef _DEBUG -#define new DEBUG_NEW -#endif - - -#define EXT_SIGNAL1_MESSAGE _T("EXT_SIG1") -#define EXT_SIGNAL2_MESSAGE _T("EXT_SIG2") - -UINT WM_INT0 = ::RegisterWindowMessage(EXT_SIGNAL1_MESSAGE); -UINT WM_INT1 = ::RegisterWindowMessage(EXT_SIGNAL2_MESSAGE); - -// CAboutDlg dialog used for App About - -class CAboutDlg : public CDialog -{ -public: - CAboutDlg(); - -// Dialog Data - enum { IDD = IDD_ABOUTBOX }; - - protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - -// Implementation -protected: - DECLARE_MESSAGE_MAP() -}; - -CAboutDlg::CAboutDlg() : CDialog(CAboutDlg::IDD) -{ -} - -void CAboutDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); -} - -BEGIN_MESSAGE_MAP(CAboutDlg, CDialog) -END_MESSAGE_MAP() - - -// C7432intDlg dialog - - - - -C7432intDlg::C7432intDlg(I16 hCard, CWnd* pParent /*=NULL*/) - : CDialog(C7432intDlg::IDD, pParent) -{ - m_hIcon = AfxGetApp()->LoadIcon(IDR_MAINFRAME); - - m_hCard = hCard; - m_dwOutVal = 0x00000000; -} - -void C7432intDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); -} - -BEGIN_MESSAGE_MAP(C7432intDlg, CDialog) - ON_WM_SYSCOMMAND() - ON_WM_PAINT() - ON_WM_QUERYDRAGICON() - ON_REGISTERED_MESSAGE(WM_INT0, OnExtSIGInterrupt1) - ON_REGISTERED_MESSAGE(WM_INT1, OnExtSIGInterrupt2) - //}}AFX_MSG_MAP - ON_WM_DESTROY() - ON_BN_CLICKED(IDC_BT_OUTPUT, &C7432intDlg::OnOutput) -END_MESSAGE_MAP() - - -// C7432intDlg message handlers - -BOOL C7432intDlg::OnInitDialog() -{ - CDialog::OnInitDialog(); - - // Add "About..." menu item to system menu. - - // IDM_ABOUTBOX must be in the system command range. - ASSERT((IDM_ABOUTBOX & 0xFFF0) == IDM_ABOUTBOX); - ASSERT(IDM_ABOUTBOX < 0xF000); - - CMenu* pSysMenu = GetSystemMenu(FALSE); - if (pSysMenu != NULL) - { - BOOL bNameValid; - CString strAboutMenu; - bNameValid = strAboutMenu.LoadString(IDS_ABOUTBOX); - ASSERT(bNameValid); - if (!strAboutMenu.IsEmpty()) - { - pSysMenu->AppendMenu(MF_SEPARATOR); - pSysMenu->AppendMenu(MF_STRING, IDM_ABOUTBOX, strAboutMenu); - } - } - - // Set the icon for this dialog. The framework does this automatically - // when the application's main window is not a dialog - SetIcon(m_hIcon, TRUE); // Set big icon - SetIcon(m_hIcon, FALSE); // Set small icon - - // TODO: Add extra initialization here - m_IntCount = m_IntCount2 = 0; - - DIO_INT1_EventMessage (m_hCard, INT1_EXT_SIGNAL, this->m_hWnd, WM_INT0, NULL); - DIO_INT2_EventMessage (m_hCard, INT2_EXT_SIGNAL, this->m_hWnd, WM_INT1, NULL); - - DO_WritePort(m_hCard, 0, m_dwOutVal); - - - - return TRUE; // return TRUE unless you set the focus to a control -} - -void C7432intDlg::OnSysCommand(UINT nID, LPARAM lParam) -{ - if ((nID & 0xFFF0) == IDM_ABOUTBOX) - { - CAboutDlg dlgAbout; - dlgAbout.DoModal(); - } - else - { - CDialog::OnSysCommand(nID, lParam); - } -} - -// If you add a minimize button to your dialog, you will need the code below -// to draw the icon. For MFC applications using the document/view model, -// this is automatically done for you by the framework. - -void C7432intDlg::OnPaint() -{ - if (IsIconic()) - { - CPaintDC dc(this); // device context for painting - - SendMessage(WM_ICONERASEBKGND, reinterpret_cast(dc.GetSafeHdc()), 0); - - // Center icon in client rectangle - int cxIcon = GetSystemMetrics(SM_CXICON); - int cyIcon = GetSystemMetrics(SM_CYICON); - CRect rect; - GetClientRect(&rect); - int x = (rect.Width() - cxIcon + 1) / 2; - int y = (rect.Height() - cyIcon + 1) / 2; - - // Draw the icon - dc.DrawIcon(x, y, m_hIcon); - } - else - { - CDialog::OnPaint(); - } -} - -// The system calls this function to obtain the cursor to display while the user drags -// the minimized window. -HCURSOR C7432intDlg::OnQueryDragIcon() -{ - return static_cast(m_hIcon); -} - - -void C7432intDlg::OnDestroy() -{ - CDialog::OnDestroy(); - - // TODO: Add your message handler code here - DIO_INT1_EventMessage (m_hCard, INT1_DISABLE, this->m_hWnd, NULL, NULL); - DIO_INT2_EventMessage (m_hCard, INT2_DISABLE, this->m_hWnd, NULL, NULL); - DO_WritePort(m_hCard, 0, 0x0); -} - - -void C7432intDlg::OnOutput() -{ - // TODO: Add your control notification handler code here - DO_WritePort(m_hCard, 0, 0x3); - Sleep(1); - DO_WritePort(m_hCard, 0, 0x0); -} - -LRESULT C7432intDlg::OnExtSIGInterrupt1(WPARAM wParam, LPARAM lParam) -{ - // do something useful - CString strTemp; - - m_IntCount ++; - - strTemp.Format( TEXT("INT1 Count = %d"), m_IntCount ); - SetDlgItemText( IDC_STATIC_05, strTemp ); - - return (LRESULT) 0; -} - -LRESULT C7432intDlg::OnExtSIGInterrupt2(WPARAM wParam, LPARAM lParam) -{ - // do something useful - CString strTemp; - - m_IntCount2 ++; - - strTemp.Format( TEXT("INT2 Count = %d"), m_IntCount2 ); - SetDlgItemText( IDC_STATIC_06, strTemp ); - - return (LRESULT) 0; -} diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7432/SDK7432DbEvtMsg/7432intDlg.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7432/SDK7432DbEvtMsg/7432intDlg.h deleted file mode 100644 index 88ae7d9..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7432/SDK7432DbEvtMsg/7432intDlg.h +++ /dev/null @@ -1,43 +0,0 @@ - -// 7432intDlg.h : header file -// -#include "Dask64.h" - -#pragma once - - -// C7432intDlg dialog -class C7432intDlg : public CDialog -{ -// Construction -public: - C7432intDlg(I16 hCard, CWnd* pParent = NULL); // standard constructor - -// Dialog Data - enum { IDD = IDD_MY7432INT_DIALOG }; - - protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - - -// Implementation -protected: - HICON m_hIcon; - I16 m_hCard; - U32 m_dwOutVal; - int m_IntCount; - int m_IntCount2; - HANDLE m_hIntEvent[2]; - - // Generated message map functions - virtual BOOL OnInitDialog(); - afx_msg void OnSysCommand(UINT nID, LPARAM lParam); - afx_msg void OnPaint(); - afx_msg HCURSOR OnQueryDragIcon(); - afx_msg LRESULT OnExtSIGInterrupt1(WPARAM wParam, LPARAM lParam); - afx_msg LRESULT OnExtSIGInterrupt2(WPARAM wParam, LPARAM lParam); - DECLARE_MESSAGE_MAP() -public: - afx_msg void OnDestroy(); - afx_msg void OnOutput(); -}; diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7432/SDK7432DbEvtMsg/CardIDDlg.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7432/SDK7432DbEvtMsg/CardIDDlg.cpp deleted file mode 100644 index 06a6b21..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7432/SDK7432DbEvtMsg/CardIDDlg.cpp +++ /dev/null @@ -1,67 +0,0 @@ -// CardIDDlg.cpp : implementation file -// - -#include "stdafx.h" -#include "7432int.h" -#include "CardIDDlg.h" - - -// CCardIDDlg dialog - -IMPLEMENT_DYNAMIC(CCardIDDlg, CDialog) - -CCardIDDlg::CCardIDDlg(int nCardIdx, CWnd* pParent /*=NULL*/) - : CDialog(CCardIDDlg::IDD, pParent) -{ - m_nCardIdx = nCardIdx; -} - -CCardIDDlg::~CCardIDDlg() -{ -} - -void CCardIDDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); - DDX_Control(pDX, IDC_COMBO_CARDID, m_cbCardID); -} - - -BEGIN_MESSAGE_MAP(CCardIDDlg, CDialog) -// ON_CBN_SELCHANGE(IDC_COMBO_CARDID, &CCardIDDlg::OnCbnSelchangeComboCardid) -ON_BN_CLICKED(IDOK, &CCardIDDlg::OnBnClickedOk) -//ON_WM_CTLCOLOR() -END_MESSAGE_MAP() - - -// CCardIDDlg message handlers - - -void CCardIDDlg::OnBnClickedOk() -{ - // TODO: Add your control notification handler code here - -// UpdateData(TRUE); - m_nCardIdx = m_cbCardID.GetCurSel(); - - OnOK(); -} - -BOOL CCardIDDlg::OnInitDialog() -{ - CDialog::OnInitDialog(); - - // TODO: Add extra initialization here - m_cbCardID.SetCurSel( m_nCardIdx ); - - return TRUE; // return TRUE unless you set the focus to a control - // EXCEPTION: OCX Property Pages should return FALSE -} - -// the function to get the selected CardID -int CCardIDDlg::GetCardID(void) -{ - return m_nCardIdx; -} - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7432/SDK7432DbEvtMsg/CardIDDlg.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7432/SDK7432DbEvtMsg/CardIDDlg.h deleted file mode 100644 index 54628ea..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7432/SDK7432DbEvtMsg/CardIDDlg.h +++ /dev/null @@ -1,33 +0,0 @@ -#pragma once -#include "afxwin.h" - - -// CCardIDDlg dialog - -class CCardIDDlg : public CDialog -{ - DECLARE_DYNAMIC(CCardIDDlg) - -public: - CCardIDDlg(int nCardIdx, CWnd* pParent = NULL); // standard constructor - virtual ~CCardIDDlg(); - -// Dialog Data - enum { IDD = IDD_CARDID_DIALOG }; - -protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - - DECLARE_MESSAGE_MAP() -public: -// afx_msg void OnCbnSelchangeComboCardid(); - afx_msg void OnBnClickedOk(); - // the setting of CardID ComboBox - int m_nCardIdx; - virtual BOOL OnInitDialog(); - // the control of CardID ComboBox - CComboBox m_cbCardID; - // the function to get the selected CardID - int GetCardID(void); -// afx_msg HBRUSH OnCtlColor(CDC* pDC, CWnd* pWnd, UINT nCtlColor); -}; diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7432/SDK7432DbEvtMsg/ReadMe.txt b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7432/SDK7432DbEvtMsg/ReadMe.txt deleted file mode 100644 index 5133df9..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7432/SDK7432DbEvtMsg/ReadMe.txt +++ /dev/null @@ -1,93 +0,0 @@ -================================================================================ - MICROSOFT FOUNDATION CLASS LIBRARY : 7432int Project Overview -=============================================================================== - -The application wizard has created this 7432int application for -you. This application not only demonstrates the basics of using the Microsoft -Foundation Classes but is also a starting point for writing your application. - -This file contains a summary of what you will find in each of the files that -make up your 7432int application. - -7432int.vcproj - This is the main project file for VC++ projects generated using an application wizard. - It contains information about the version of Visual C++ that generated the file, and - information about the platforms, configurations, and project features selected with the - application wizard. - -7432int.h - This is the main header file for the application. It includes other - project specific headers (including Resource.h) and declares the - C7432intApp application class. - -7432int.cpp - This is the main application source file that contains the application - class C7432intApp. - -7432int.rc - This is a listing of all of the Microsoft Windows resources that the - program uses. It includes the icons, bitmaps, and cursors that are stored - in the RES subdirectory. This file can be directly edited in Microsoft - Visual C++. Your project resources are in 1033. - -res\7432int.ico - This is an icon file, which is used as the application's icon. This - icon is included by the main resource file 7432int.rc. - -res\My7432int.rc2 - This file contains resources that are not edited by Microsoft - Visual C++. You should place all resources not editable by - the resource editor in this file. - - -///////////////////////////////////////////////////////////////////////////// - -The application wizard creates one dialog class: - -7432intDlg.h, 7432intDlg.cpp - the dialog - These files contain your C7432intDlg class. This class defines - the behavior of your application's main dialog. The dialog's template is - in 7432int.rc, which can be edited in Microsoft Visual C++. - - -///////////////////////////////////////////////////////////////////////////// - -Other Features: - -ActiveX Controls - The application includes support to use ActiveX controls. - -///////////////////////////////////////////////////////////////////////////// - -Other standard files: - -StdAfx.h, StdAfx.cpp - These files are used to build a precompiled header (PCH) file - named 7432int.pch and a precompiled types file named StdAfx.obj. - -Resource.h - This is the standard header file, which defines new resource IDs. - Microsoft Visual C++ reads and updates this file. - -7432int.manifest - Application manifest files are used by Windows XP to describe an applications - dependency on specific versions of Side-by-Side assemblies. The loader uses this - information to load the appropriate assembly from the assembly cache or private - from the application. The Application manifest maybe included for redistribution - as an external .manifest file that is installed in the same folder as the application - executable or it may be included in the executable in the form of a resource. -///////////////////////////////////////////////////////////////////////////// - -Other notes: - -The application wizard uses "TODO:" to indicate parts of the source code you -should add to or customize. - -If your application uses MFC in a shared DLL, you will need -to redistribute the MFC DLLs. If your application is in a language -other than the operating system's locale, you will also have to -redistribute the corresponding localized resources MFC90XXX.DLL. -For more information on both of these topics, please see the section on -redistributing Visual C++ applications in MSDN documentation. - -///////////////////////////////////////////////////////////////////////////// diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7432/SDK7432DbEvtMsg/res/7432int.ico b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7432/SDK7432DbEvtMsg/res/7432int.ico deleted file mode 100644 index d56fbcd..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7432/SDK7432DbEvtMsg/res/7432int.ico and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7432/SDK7432DbEvtMsg/res/My7432int.rc2 b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7432/SDK7432DbEvtMsg/res/My7432int.rc2 deleted file mode 100644 index 7bd3593..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7432/SDK7432DbEvtMsg/res/My7432int.rc2 +++ /dev/null @@ -1,13 +0,0 @@ -// -// My7256int.RC2 - resources Microsoft Visual C++ does not edit directly -// - -#ifdef APSTUDIO_INVOKED -#error this file is not editable by Microsoft Visual C++ -#endif //APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// Add manually edited resources here... - -///////////////////////////////////////////////////////////////////////////// diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7432/SDK7432DbEvtMsg/resource.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7432/SDK7432DbEvtMsg/resource.h deleted file mode 100644 index 7b47ca7..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7432/SDK7432DbEvtMsg/resource.h +++ /dev/null @@ -1,28 +0,0 @@ -//{{NO_DEPENDENCIES}} -// Microsoft Visual C++ generated include file. -// Used by 7432int.rc -// -#define IDM_ABOUTBOX 0x0010 -#define IDD_ABOUTBOX 100 -#define IDS_ABOUTBOX 101 -#define IDD_MY7432INT_DIALOG 102 -#define IDR_MAINFRAME 128 -#define IDD_CARDID_DIALOG 129 -#define IDC_COMBO_CARDID 1000 -#define IDC_BUTTON1 1000 -#define IDC_BT_OUTPUT 1000 -#define IDC_STATIC_05 1007 -#define IDC_STATIC_06 1008 -#define IDC_STATIC_6 1008 -#define IDC_STATIC_01 1014 - -// Next default values for new objects -// -#ifdef APSTUDIO_INVOKED -#ifndef APSTUDIO_READONLY_SYMBOLS -#define _APS_NEXT_RESOURCE_VALUE 131 -#define _APS_NEXT_COMMAND_VALUE 32771 -#define _APS_NEXT_CONTROL_VALUE 1001 -#define _APS_NEXT_SYMED_VALUE 101 -#endif -#endif diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7432/SDK7432DbEvtMsg/stdafx.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7432/SDK7432DbEvtMsg/stdafx.cpp deleted file mode 100644 index 312fefd..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7432/SDK7432DbEvtMsg/stdafx.cpp +++ /dev/null @@ -1,8 +0,0 @@ - -// stdafx.cpp : source file that includes just the standard includes -// 7432int.pch will be the pre-compiled header -// stdafx.obj will contain the pre-compiled type information - -#include "stdafx.h" - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7432/SDK7432DbEvtMsg/stdafx.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7432/SDK7432DbEvtMsg/stdafx.h deleted file mode 100644 index 12123e2..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7432/SDK7432DbEvtMsg/stdafx.h +++ /dev/null @@ -1,60 +0,0 @@ - -// stdafx.h : include file for standard system include files, -// or project specific include files that are used frequently, -// but are changed infrequently - -#pragma once - -#ifndef _SECURE_ATL -#define _SECURE_ATL 1 -#endif - -#ifndef VC_EXTRALEAN -#define VC_EXTRALEAN // Exclude rarely-used stuff from Windows headers -#endif - -#include "targetver.h" - -#define _ATL_CSTRING_EXPLICIT_CONSTRUCTORS // some CString constructors will be explicit - -// turns off MFC's hiding of some common and often safely ignored warning messages -#define _AFX_ALL_WARNINGS - -#include // MFC core and standard components -#include // MFC extensions - - -#include // MFC Automation classes - - - -#ifndef _AFX_NO_OLE_SUPPORT -#include // MFC support for Internet Explorer 4 Common Controls -#endif -#ifndef _AFX_NO_AFXCMN_SUPPORT -#include // MFC support for Windows Common Controls -#endif // _AFX_NO_AFXCMN_SUPPORT - -#include // MFC support for ribbons and control bars - - - - - - - - - -#ifdef _UNICODE -#if defined _M_IX86 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='x86' publicKeyToken='6595b64144ccf1df' language='*'\"") -#elif defined _M_IA64 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='ia64' publicKeyToken='6595b64144ccf1df' language='*'\"") -#elif defined _M_X64 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='amd64' publicKeyToken='6595b64144ccf1df' language='*'\"") -#else -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='*' publicKeyToken='6595b64144ccf1df' language='*'\"") -#endif -#endif - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7432/SDK7432DbEvtMsg/targetver.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7432/SDK7432DbEvtMsg/targetver.h deleted file mode 100644 index 11730d5..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7432/SDK7432DbEvtMsg/targetver.h +++ /dev/null @@ -1,26 +0,0 @@ - -#pragma once - -// The following macros define the minimum required platform. The minimum required platform -// is the earliest version of Windows, Internet Explorer etc. that has the necessary features to run -// your application. The macros work by enabling all features available on platform versions up to and -// including the version specified. - -// Modify the following defines if you have to target a platform prior to the ones specified below. -// Refer to MSDN for the latest info on corresponding values for different platforms. -#ifndef WINVER // Specifies that the minimum required platform is Windows Vista. -#define WINVER 0x0600 // Change this to the appropriate value to target other versions of Windows. -#endif - -#ifndef _WIN32_WINNT // Specifies that the minimum required platform is Windows Vista. -#define _WIN32_WINNT 0x0600 // Change this to the appropriate value to target other versions of Windows. -#endif - -#ifndef _WIN32_WINDOWS // Specifies that the minimum required platform is Windows 98. -#define _WIN32_WINDOWS 0x0410 // Change this to the appropriate value to target Windows Me or later. -#endif - -#ifndef _WIN32_IE // Specifies that the minimum required platform is Internet Explorer 7.0. -#define _WIN32_IE 0x0700 // Change this to the appropriate value to target other versions of IE. -#endif - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7432/SDK7432int/7230int.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7432/SDK7432int/7230int.suo deleted file mode 100644 index cc096dc..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7432/SDK7432int/7230int.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7432/SDK7432int/7256int.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7432/SDK7432int/7256int.suo deleted file mode 100644 index 494d925..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7432/SDK7432int/7256int.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7432/SDK7432int/7258int.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7432/SDK7432int/7258int.suo deleted file mode 100644 index ea9e48d..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7432/SDK7432int/7258int.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7432/SDK7432int/7432int.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7432/SDK7432int/7432int.cpp deleted file mode 100644 index db9e664..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7432/SDK7432int/7432int.cpp +++ /dev/null @@ -1,110 +0,0 @@ - -// 7432int.cpp : Defines the class behaviors for the application. -// - -#include "stdafx.h" -#include "7432int.h" -#include "7432intDlg.h" -#include "CardIDDlg.h" - -#ifdef _DEBUG -#define new DEBUG_NEW -#endif - - -// C7432intApp - -BEGIN_MESSAGE_MAP(C7432intApp, CWinAppEx) - ON_COMMAND(ID_HELP, &CWinApp::OnHelp) -END_MESSAGE_MAP() - - -// C7432intApp construction - -C7432intApp::C7432intApp() -{ - // TODO: add construction code here, - // Place all significant initialization in InitInstance -} - - -// The one and only C7432intApp object - -C7432intApp theApp; - - -// C7432intApp initialization - -BOOL C7432intApp::InitInstance() -{ - int nCardID = 0; - I16 hCard; - CString strTemp; - INT_PTR nResponse; - - // InitCommonControlsEx() is required on Windows XP if an application - // manifest specifies use of ComCtl32.dll version 6 or later to enable - // visual styles. Otherwise, any window creation will fail. - INITCOMMONCONTROLSEX InitCtrls; - InitCtrls.dwSize = sizeof(InitCtrls); - // Set this to include all the common control classes you want to use - // in your application. - InitCtrls.dwICC = ICC_WIN95_CLASSES; - InitCommonControlsEx(&InitCtrls); - - CWinAppEx::InitInstance(); - - AfxEnableControlContainer(); - - // Standard initialization - // If you are not using these features and wish to reduce the size - // of your final executable, you should remove from the following - // the specific initialization routines you do not need - // Change the registry key under which our settings are stored - // TODO: You should modify this string to be something appropriate - // such as the name of your company or organization - SetRegistryKey(_T("Local AppWizard-Generated Applications")); - - CCardIDDlg CardDlg( nCardID ); - - nResponse = CardDlg.DoModal(); - if (nResponse == IDOK) - { - nCardID = CardDlg.GetCardID(); - - if ((hCard=Register_Card(PCI_7432, nCardID)) < 0) - { - strTemp.Format( TEXT("Register_Card Error = %d"), hCard); - AfxMessageBox( strTemp ); - } - else - { - C7432intDlg dlg(hCard); - m_pMainWnd = &dlg; - nResponse = dlg.DoModal(); - if (nResponse == IDOK) - { - // TODO: Place code here to handle when the dialog is - // dismissed with OK - } - else if (nResponse == IDCANCEL) - { - // TODO: Place code here to handle when the dialog is - // dismissed with Cancel - } - - if (hCard >= 0) Release_Card(hCard); - } - - } - else if (nResponse == IDCANCEL) - { - // TODO: Place code here to handle when the dialog is - // dismissed with Cancel - } - - - // Since the dialog has been closed, return FALSE so that we exit the - // application, rather than start the application's message pump. - return FALSE; -} diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7432/SDK7432int/7432int.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7432/SDK7432int/7432int.h deleted file mode 100644 index b1dd7d6..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7432/SDK7432int/7432int.h +++ /dev/null @@ -1,32 +0,0 @@ - -// 7432int.h : main header file for the PROJECT_NAME application -// - -#pragma once - -#ifndef __AFXWIN_H__ - #error "include 'stdafx.h' before including this file for PCH" -#endif - -#include "resource.h" // main symbols - - -// C7432intApp: -// See 7432int.cpp for the implementation of this class -// - -class C7432intApp : public CWinAppEx -{ -public: - C7432intApp(); - -// Overrides - public: - virtual BOOL InitInstance(); - -// Implementation - - DECLARE_MESSAGE_MAP() -}; - -extern C7432intApp theApp; \ No newline at end of file diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7432/SDK7432int/7432int.rc b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7432/SDK7432int/7432int.rc deleted file mode 100644 index e5e194d..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7432/SDK7432int/7432int.rc +++ /dev/null @@ -1,242 +0,0 @@ -// Microsoft Visual C++ generated resource script. -// -#include "resource.h" - -#define APSTUDIO_READONLY_SYMBOLS -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 2 resource. -// -#ifndef APSTUDIO_INVOKED -#include "targetver.h" -#endif -#include "afxres.h" - -///////////////////////////////////////////////////////////////////////////// -#undef APSTUDIO_READONLY_SYMBOLS - -///////////////////////////////////////////////////////////////////////////// -// Chinese (Taiwan) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_CHT) -#ifdef _WIN32 -LANGUAGE LANG_CHINESE, SUBLANG_CHINESE_TRADITIONAL -#pragma code_page(950) -#endif //_WIN32 - -#ifdef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// TEXTINCLUDE -// - -1 TEXTINCLUDE -BEGIN - "resource.h\0" -END - -2 TEXTINCLUDE -BEGIN - "#ifndef APSTUDIO_INVOKED\r\n" - "#include ""targetver.h""\r\n" - "#endif\r\n" - "#include ""afxres.h""\r\n" - "\0" -END - -3 TEXTINCLUDE -BEGIN - "#define _AFX_NO_SPLITTER_RESOURCES\r\n" - "#define _AFX_NO_OLE_RESOURCES\r\n" - "#define _AFX_NO_TRACKER_RESOURCES\r\n" - "#define _AFX_NO_PROPERTY_RESOURCES\r\n" - "\r\n" - "#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)\r\n" - "LANGUAGE 9, 1\r\n" - "#pragma code_page(1252)\r\n" - "#include ""res\\My7432int.rc2"" // non-Microsoft Visual C++ edited resources\r\n" - "#include ""afxres.rc"" // Standard components\r\n" - "#endif\r\n" - "\0" -END - -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// Icon -// - -// Icon with lowest ID value placed first to ensure application icon -// remains consistent on all systems. -IDR_MAINFRAME ICON "res\\7432int.ico" -#endif // Chinese (Taiwan) resources -///////////////////////////////////////////////////////////////////////////// - - -///////////////////////////////////////////////////////////////////////////// -// English (U.S.) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -#ifdef _WIN32 -LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US -#pragma code_page(1252) -#endif //_WIN32 - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog -// - -IDD_ABOUTBOX DIALOGEX 0, 0, 170, 62 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "About 7432int" -FONT 8, "MS Shell Dlg", 0, 0, 0x1 -BEGIN - ICON IDR_MAINFRAME,IDC_STATIC,14,14,21,20 - LTEXT "7432int, Version 1.0",IDC_STATIC,42,14,114,8,SS_NOPREFIX - LTEXT "Copyright (C) 2010",IDC_STATIC,42,26,114,8 - DEFPUSHBUTTON "OK",IDOK,113,41,50,14,WS_GROUP -END - -IDD_MY7432INT_DIALOG DIALOGEX 0, 0, 195, 138 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU -EXSTYLE WS_EX_APPWINDOW -CAPTION "PCI-7432 Interrupt Sample (INT1)" -FONT 8, "MS Shell Dlg", 0, 0, 0x1 -BEGIN - LTEXT "This program shows the number of occurrence of INT1 interrupt. INT1 interrupt is generated by external signal from DI bit-0. If you connect DO bit-0 to DI bit-0, press 'Output' button can generate an interrupt.",IDC_STATIC,25,24,151,42 - LTEXT "INT Count =",IDC_STATIC_05,54,83,85,13 - PUSHBUTTON "Output",IDC_BT_OUTPUT,46,103,84,18 -END - -IDD_CARDID_DIALOG DIALOGEX 0, 0, 163, 88 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "Card ID" -FONT 8, "MS Shell Dlg", 400, 0, 0x1 -BEGIN - COMBOBOX IDC_COMBO_CARDID,73,17,71,126,CBS_DROPDOWN | WS_VSCROLL | WS_TABSTOP - LTEXT "Card Number",IDC_STATIC_01,19,18,46,12 - PUSHBUTTON "OK",IDOK,20,50,58,19 - PUSHBUTTON "CANCEL",IDCANCEL,84,50,58,19 -END - - -///////////////////////////////////////////////////////////////////////////// -// -// Version -// - -VS_VERSION_INFO VERSIONINFO - FILEVERSION 1,0,0,1 - PRODUCTVERSION 1,0,0,1 - FILEFLAGSMASK 0x3fL -#ifdef _DEBUG - FILEFLAGS 0x1L -#else - FILEFLAGS 0x0L -#endif - FILEOS 0x4L - FILETYPE 0x1L - FILESUBTYPE 0x0L -BEGIN - BLOCK "StringFileInfo" - BEGIN - BLOCK "040904e4" - BEGIN - VALUE "CompanyName", "TODO: " - VALUE "FileDescription", "TODO: " - VALUE "FileVersion", "1.0.0.1" - VALUE "InternalName", "7432int.exe" - VALUE "LegalCopyright", "TODO: (c) . All rights reserved." - VALUE "OriginalFilename", "7432int.exe" - VALUE "ProductName", "TODO: " - VALUE "ProductVersion", "1.0.0.1" - END - END - BLOCK "VarFileInfo" - BEGIN - VALUE "Translation", 0x409, 1252 - END -END - - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog Info -// - -IDD_CARDID_DIALOG DLGINIT -BEGIN - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0030, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0031, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0032, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0033, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0034, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0035, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0036, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0037, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0038, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0039, - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3031, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3131, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3231, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3331, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3431, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3531, "\000" - 0 -END - - -///////////////////////////////////////////////////////////////////////////// -// -// String Table -// - -STRINGTABLE -BEGIN - IDS_ABOUTBOX "&About 7432int..." -END - -#endif // English (U.S.) resources -///////////////////////////////////////////////////////////////////////////// - - - -#ifndef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 3 resource. -// -#define _AFX_NO_SPLITTER_RESOURCES -#define _AFX_NO_OLE_RESOURCES -#define _AFX_NO_TRACKER_RESOURCES -#define _AFX_NO_PROPERTY_RESOURCES - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -LANGUAGE 9, 1 -#pragma code_page(1252) -#include "res\My7432int.rc2" // non-Microsoft Visual C++ edited resources -#include "afxres.rc" // Standard components -#endif - -///////////////////////////////////////////////////////////////////////////// -#endif // not APSTUDIO_INVOKED - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7432/SDK7432int/7432int.sln b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7432/SDK7432int/7432int.sln deleted file mode 100644 index fefdb1e..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7432/SDK7432int/7432int.sln +++ /dev/null @@ -1,20 +0,0 @@ - -Microsoft Visual Studio Solution File, Format Version 10.00 -# Visual Studio 2008 -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "7432int", "7432int.vcproj", "{7D5D9EC5-ED97-47EE-B6F4-ACCD71069808}" -EndProject -Global - GlobalSection(SolutionConfigurationPlatforms) = preSolution - Debug|x64 = Debug|x64 - Release|x64 = Release|x64 - EndGlobalSection - GlobalSection(ProjectConfigurationPlatforms) = postSolution - {7D5D9EC5-ED97-47EE-B6F4-ACCD71069808}.Debug|x64.ActiveCfg = Debug|x64 - {7D5D9EC5-ED97-47EE-B6F4-ACCD71069808}.Debug|x64.Build.0 = Debug|x64 - {7D5D9EC5-ED97-47EE-B6F4-ACCD71069808}.Release|x64.ActiveCfg = Release|x64 - {7D5D9EC5-ED97-47EE-B6F4-ACCD71069808}.Release|x64.Build.0 = Release|x64 - EndGlobalSection - GlobalSection(SolutionProperties) = preSolution - HideSolutionNode = FALSE - EndGlobalSection -EndGlobal diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7432/SDK7432int/7432int.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7432/SDK7432int/7432int.suo deleted file mode 100644 index b4daccf..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7432/SDK7432int/7432int.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7432/SDK7432int/7432int.vcproj b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7432/SDK7432int/7432int.vcproj deleted file mode 100644 index 70b743f..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7432/SDK7432int/7432int.vcproj +++ /dev/null @@ -1,286 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7432/SDK7432int/7432intDlg.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7432/SDK7432int/7432intDlg.cpp deleted file mode 100644 index 23bd5db..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7432/SDK7432int/7432intDlg.cpp +++ /dev/null @@ -1,242 +0,0 @@ - -// 7432intDlg.cpp : implementation file -// - -#include "stdafx.h" -#include "7432int.h" -#include "7432intDlg.h" - -#ifdef _DEBUG -#define new DEBUG_NEW -#endif - -int gIntCount; -HANDLE ghIntEvent[2]; - -BOOLEAN gbExitThread; - - - -DWORD WINAPI IntThread( LPVOID lpParam ) -{ - - while ( gbExitThread == FALSE ) - { - if ( WaitForSingleObject(ghIntEvent[0], INFINITE) == WAIT_OBJECT_0 ) - { - gIntCount++; - ResetEvent(ghIntEvent[0]); - } - } - - return (DWORD) 0; -} - -// CAboutDlg dialog used for App About - -class CAboutDlg : public CDialog -{ -public: - CAboutDlg(); - -// Dialog Data - enum { IDD = IDD_ABOUTBOX }; - - protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - -// Implementation -protected: - DECLARE_MESSAGE_MAP() -}; - -CAboutDlg::CAboutDlg() : CDialog(CAboutDlg::IDD) -{ -} - -void CAboutDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); -} - -BEGIN_MESSAGE_MAP(CAboutDlg, CDialog) -END_MESSAGE_MAP() - - -// C7432intDlg dialog - - - - -C7432intDlg::C7432intDlg(I16 hCard, CWnd* pParent /*=NULL*/) - : CDialog(C7432intDlg::IDD, pParent) -{ - m_hIcon = AfxGetApp()->LoadIcon(IDR_MAINFRAME); - - m_hCard = hCard; - m_hThread = NULL; - m_nTimer = -1; - m_dwOutVal = 0x00000000; -} - -void C7432intDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); -} - -BEGIN_MESSAGE_MAP(C7432intDlg, CDialog) - ON_WM_SYSCOMMAND() - ON_WM_PAINT() - ON_WM_QUERYDRAGICON() - //}}AFX_MSG_MAP - ON_WM_DESTROY() - ON_WM_TIMER() - ON_BN_CLICKED(IDC_BT_OUTPUT, &C7432intDlg::OnOutput) -END_MESSAGE_MAP() - - -// C7432intDlg message handlers - -BOOL C7432intDlg::OnInitDialog() -{ - CDialog::OnInitDialog(); - - // Add "About..." menu item to system menu. - - // IDM_ABOUTBOX must be in the system command range. - ASSERT((IDM_ABOUTBOX & 0xFFF0) == IDM_ABOUTBOX); - ASSERT(IDM_ABOUTBOX < 0xF000); - - CMenu* pSysMenu = GetSystemMenu(FALSE); - if (pSysMenu != NULL) - { - BOOL bNameValid; - CString strAboutMenu; - bNameValid = strAboutMenu.LoadString(IDS_ABOUTBOX); - ASSERT(bNameValid); - if (!strAboutMenu.IsEmpty()) - { - pSysMenu->AppendMenu(MF_SEPARATOR); - pSysMenu->AppendMenu(MF_STRING, IDM_ABOUTBOX, strAboutMenu); - } - } - - // Set the icon for this dialog. The framework does this automatically - // when the application's main window is not a dialog - SetIcon(m_hIcon, TRUE); // Set big icon - SetIcon(m_hIcon, FALSE); // Set small icon - - // TODO: Add extra initialization here - I16 err; - - err = DIO_SetDualInterrupt(m_hCard, INT1_EXT_SIGNAL, INT2_DISABLE, ghIntEvent); - DO_WritePort(m_hCard, 0, m_dwOutVal); - - gbExitThread = FALSE; - m_hThread = CreateThread( NULL, // default security attributes - 0, // use default stack size - IntThread, // thread function name - NULL, // argument to thread function - 0, // use default creation flags - NULL); // returns the thread identifier - - m_nTimer = SetTimer( 1, 250, NULL ); - - return TRUE; // return TRUE unless you set the focus to a control -} - -void C7432intDlg::OnSysCommand(UINT nID, LPARAM lParam) -{ - if ((nID & 0xFFF0) == IDM_ABOUTBOX) - { - CAboutDlg dlgAbout; - dlgAbout.DoModal(); - } - else - { - CDialog::OnSysCommand(nID, lParam); - } -} - -// If you add a minimize button to your dialog, you will need the code below -// to draw the icon. For MFC applications using the document/view model, -// this is automatically done for you by the framework. - -void C7432intDlg::OnPaint() -{ - if (IsIconic()) - { - CPaintDC dc(this); // device context for painting - - SendMessage(WM_ICONERASEBKGND, reinterpret_cast(dc.GetSafeHdc()), 0); - - // Center icon in client rectangle - int cxIcon = GetSystemMetrics(SM_CXICON); - int cyIcon = GetSystemMetrics(SM_CYICON); - CRect rect; - GetClientRect(&rect); - int x = (rect.Width() - cxIcon + 1) / 2; - int y = (rect.Height() - cyIcon + 1) / 2; - - // Draw the icon - dc.DrawIcon(x, y, m_hIcon); - } - else - { - CDialog::OnPaint(); - } -} - -// The system calls this function to obtain the cursor to display while the user drags -// the minimized window. -HCURSOR C7432intDlg::OnQueryDragIcon() -{ - return static_cast(m_hIcon); -} - - -void C7432intDlg::OnDestroy() -{ - CDialog::OnDestroy(); - - // TODO: Add your message handler code here - DIO_SetDualInterrupt(m_hCard, INT1_DISABLE, INT2_DISABLE, ghIntEvent); - - if( m_nTimer != -1 ) - { - KillTimer( m_nTimer ); - m_nTimer = -1; - } - - - if( m_hThread != NULL ) - { - gbExitThread = TRUE; // termnate the IntThread - SetEvent( ghIntEvent[0] ); - - if (WaitForSingleObject(m_hThread, 5000) == WAIT_OBJECT_0) - { - CloseHandle( m_hThread ); - m_hThread = NULL; - } - } -} - -void C7432intDlg::OnTimer(UINT_PTR nIDEvent) -{ - // TODO: Add your message handler code here and/or call default - CString strTemp; - - strTemp.Format( TEXT("INT Count = %d"), gIntCount ); - SetDlgItemText( IDC_STATIC_05, strTemp ); - - CDialog::OnTimer(nIDEvent); -} - -void C7432intDlg::OnOutput() -{ - // TODO: Add your control notification handler code here - DO_WritePort(m_hCard,0, 0x1); - Sleep(1); - DO_WritePort(m_hCard,0, 0x0); -} diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7432/SDK7432int/7432intDlg.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7432/SDK7432int/7432intDlg.h deleted file mode 100644 index 2d99fb5..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7432/SDK7432int/7432intDlg.h +++ /dev/null @@ -1,41 +0,0 @@ - -// 7432intDlg.h : header file -// -#include "Dask64.h" - -#pragma once - - -// C7432intDlg dialog -class C7432intDlg : public CDialog -{ -// Construction -public: - C7432intDlg(I16 hCard, CWnd* pParent = NULL); // standard constructor - -// Dialog Data - enum { IDD = IDD_MY7432INT_DIALOG }; - - protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - - -// Implementation -protected: - HICON m_hIcon; - UINT_PTR m_nTimer; - HANDLE m_hThread; - I16 m_hCard; - U32 m_dwOutVal; - - // Generated message map functions - virtual BOOL OnInitDialog(); - afx_msg void OnSysCommand(UINT nID, LPARAM lParam); - afx_msg void OnPaint(); - afx_msg HCURSOR OnQueryDragIcon(); - DECLARE_MESSAGE_MAP() -public: - afx_msg void OnDestroy(); - afx_msg void OnTimer(UINT_PTR nIDEvent); - afx_msg void OnOutput(); -}; diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7432/SDK7432int/CardIDDlg.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7432/SDK7432int/CardIDDlg.cpp deleted file mode 100644 index 06a6b21..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7432/SDK7432int/CardIDDlg.cpp +++ /dev/null @@ -1,67 +0,0 @@ -// CardIDDlg.cpp : implementation file -// - -#include "stdafx.h" -#include "7432int.h" -#include "CardIDDlg.h" - - -// CCardIDDlg dialog - -IMPLEMENT_DYNAMIC(CCardIDDlg, CDialog) - -CCardIDDlg::CCardIDDlg(int nCardIdx, CWnd* pParent /*=NULL*/) - : CDialog(CCardIDDlg::IDD, pParent) -{ - m_nCardIdx = nCardIdx; -} - -CCardIDDlg::~CCardIDDlg() -{ -} - -void CCardIDDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); - DDX_Control(pDX, IDC_COMBO_CARDID, m_cbCardID); -} - - -BEGIN_MESSAGE_MAP(CCardIDDlg, CDialog) -// ON_CBN_SELCHANGE(IDC_COMBO_CARDID, &CCardIDDlg::OnCbnSelchangeComboCardid) -ON_BN_CLICKED(IDOK, &CCardIDDlg::OnBnClickedOk) -//ON_WM_CTLCOLOR() -END_MESSAGE_MAP() - - -// CCardIDDlg message handlers - - -void CCardIDDlg::OnBnClickedOk() -{ - // TODO: Add your control notification handler code here - -// UpdateData(TRUE); - m_nCardIdx = m_cbCardID.GetCurSel(); - - OnOK(); -} - -BOOL CCardIDDlg::OnInitDialog() -{ - CDialog::OnInitDialog(); - - // TODO: Add extra initialization here - m_cbCardID.SetCurSel( m_nCardIdx ); - - return TRUE; // return TRUE unless you set the focus to a control - // EXCEPTION: OCX Property Pages should return FALSE -} - -// the function to get the selected CardID -int CCardIDDlg::GetCardID(void) -{ - return m_nCardIdx; -} - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7432/SDK7432int/CardIDDlg.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7432/SDK7432int/CardIDDlg.h deleted file mode 100644 index 54628ea..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7432/SDK7432int/CardIDDlg.h +++ /dev/null @@ -1,33 +0,0 @@ -#pragma once -#include "afxwin.h" - - -// CCardIDDlg dialog - -class CCardIDDlg : public CDialog -{ - DECLARE_DYNAMIC(CCardIDDlg) - -public: - CCardIDDlg(int nCardIdx, CWnd* pParent = NULL); // standard constructor - virtual ~CCardIDDlg(); - -// Dialog Data - enum { IDD = IDD_CARDID_DIALOG }; - -protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - - DECLARE_MESSAGE_MAP() -public: -// afx_msg void OnCbnSelchangeComboCardid(); - afx_msg void OnBnClickedOk(); - // the setting of CardID ComboBox - int m_nCardIdx; - virtual BOOL OnInitDialog(); - // the control of CardID ComboBox - CComboBox m_cbCardID; - // the function to get the selected CardID - int GetCardID(void); -// afx_msg HBRUSH OnCtlColor(CDC* pDC, CWnd* pWnd, UINT nCtlColor); -}; diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7432/SDK7432int/ReadMe.txt b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7432/SDK7432int/ReadMe.txt deleted file mode 100644 index 5133df9..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7432/SDK7432int/ReadMe.txt +++ /dev/null @@ -1,93 +0,0 @@ -================================================================================ - MICROSOFT FOUNDATION CLASS LIBRARY : 7432int Project Overview -=============================================================================== - -The application wizard has created this 7432int application for -you. This application not only demonstrates the basics of using the Microsoft -Foundation Classes but is also a starting point for writing your application. - -This file contains a summary of what you will find in each of the files that -make up your 7432int application. - -7432int.vcproj - This is the main project file for VC++ projects generated using an application wizard. - It contains information about the version of Visual C++ that generated the file, and - information about the platforms, configurations, and project features selected with the - application wizard. - -7432int.h - This is the main header file for the application. It includes other - project specific headers (including Resource.h) and declares the - C7432intApp application class. - -7432int.cpp - This is the main application source file that contains the application - class C7432intApp. - -7432int.rc - This is a listing of all of the Microsoft Windows resources that the - program uses. It includes the icons, bitmaps, and cursors that are stored - in the RES subdirectory. This file can be directly edited in Microsoft - Visual C++. Your project resources are in 1033. - -res\7432int.ico - This is an icon file, which is used as the application's icon. This - icon is included by the main resource file 7432int.rc. - -res\My7432int.rc2 - This file contains resources that are not edited by Microsoft - Visual C++. You should place all resources not editable by - the resource editor in this file. - - -///////////////////////////////////////////////////////////////////////////// - -The application wizard creates one dialog class: - -7432intDlg.h, 7432intDlg.cpp - the dialog - These files contain your C7432intDlg class. This class defines - the behavior of your application's main dialog. The dialog's template is - in 7432int.rc, which can be edited in Microsoft Visual C++. - - -///////////////////////////////////////////////////////////////////////////// - -Other Features: - -ActiveX Controls - The application includes support to use ActiveX controls. - -///////////////////////////////////////////////////////////////////////////// - -Other standard files: - -StdAfx.h, StdAfx.cpp - These files are used to build a precompiled header (PCH) file - named 7432int.pch and a precompiled types file named StdAfx.obj. - -Resource.h - This is the standard header file, which defines new resource IDs. - Microsoft Visual C++ reads and updates this file. - -7432int.manifest - Application manifest files are used by Windows XP to describe an applications - dependency on specific versions of Side-by-Side assemblies. The loader uses this - information to load the appropriate assembly from the assembly cache or private - from the application. The Application manifest maybe included for redistribution - as an external .manifest file that is installed in the same folder as the application - executable or it may be included in the executable in the form of a resource. -///////////////////////////////////////////////////////////////////////////// - -Other notes: - -The application wizard uses "TODO:" to indicate parts of the source code you -should add to or customize. - -If your application uses MFC in a shared DLL, you will need -to redistribute the MFC DLLs. If your application is in a language -other than the operating system's locale, you will also have to -redistribute the corresponding localized resources MFC90XXX.DLL. -For more information on both of these topics, please see the section on -redistributing Visual C++ applications in MSDN documentation. - -///////////////////////////////////////////////////////////////////////////// diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7432/SDK7432int/res/7432int.ico b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7432/SDK7432int/res/7432int.ico deleted file mode 100644 index d56fbcd..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7432/SDK7432int/res/7432int.ico and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7432/SDK7432int/res/My7432int.rc2 b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7432/SDK7432int/res/My7432int.rc2 deleted file mode 100644 index 7bd3593..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7432/SDK7432int/res/My7432int.rc2 +++ /dev/null @@ -1,13 +0,0 @@ -// -// My7256int.RC2 - resources Microsoft Visual C++ does not edit directly -// - -#ifdef APSTUDIO_INVOKED -#error this file is not editable by Microsoft Visual C++ -#endif //APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// Add manually edited resources here... - -///////////////////////////////////////////////////////////////////////////// diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7432/SDK7432int/resource.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7432/SDK7432int/resource.h deleted file mode 100644 index 47035f9..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7432/SDK7432int/resource.h +++ /dev/null @@ -1,27 +0,0 @@ -//{{NO_DEPENDENCIES}} -// Microsoft Visual C++ generated include file. -// Used by 7432int.rc -// -#define IDM_ABOUTBOX 0x0010 -#define IDD_ABOUTBOX 100 -#define IDS_ABOUTBOX 101 -#define IDD_MY7432INT_DIALOG 102 -#define IDR_MAINFRAME 128 -#define IDD_CARDID_DIALOG 129 -#define IDC_COMBO_CARDID 1000 -#define IDC_BUTTON1 1000 -#define IDC_BT_OUTPUT 1000 -#define IDC_STATIC_05 1007 -#define IDC_STATIC_06 1008 -#define IDC_STATIC_01 1014 - -// Next default values for new objects -// -#ifdef APSTUDIO_INVOKED -#ifndef APSTUDIO_READONLY_SYMBOLS -#define _APS_NEXT_RESOURCE_VALUE 131 -#define _APS_NEXT_COMMAND_VALUE 32771 -#define _APS_NEXT_CONTROL_VALUE 1001 -#define _APS_NEXT_SYMED_VALUE 101 -#endif -#endif diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7432/SDK7432int/stdafx.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7432/SDK7432int/stdafx.cpp deleted file mode 100644 index 312fefd..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7432/SDK7432int/stdafx.cpp +++ /dev/null @@ -1,8 +0,0 @@ - -// stdafx.cpp : source file that includes just the standard includes -// 7432int.pch will be the pre-compiled header -// stdafx.obj will contain the pre-compiled type information - -#include "stdafx.h" - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7432/SDK7432int/stdafx.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7432/SDK7432int/stdafx.h deleted file mode 100644 index 12123e2..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7432/SDK7432int/stdafx.h +++ /dev/null @@ -1,60 +0,0 @@ - -// stdafx.h : include file for standard system include files, -// or project specific include files that are used frequently, -// but are changed infrequently - -#pragma once - -#ifndef _SECURE_ATL -#define _SECURE_ATL 1 -#endif - -#ifndef VC_EXTRALEAN -#define VC_EXTRALEAN // Exclude rarely-used stuff from Windows headers -#endif - -#include "targetver.h" - -#define _ATL_CSTRING_EXPLICIT_CONSTRUCTORS // some CString constructors will be explicit - -// turns off MFC's hiding of some common and often safely ignored warning messages -#define _AFX_ALL_WARNINGS - -#include // MFC core and standard components -#include // MFC extensions - - -#include // MFC Automation classes - - - -#ifndef _AFX_NO_OLE_SUPPORT -#include // MFC support for Internet Explorer 4 Common Controls -#endif -#ifndef _AFX_NO_AFXCMN_SUPPORT -#include // MFC support for Windows Common Controls -#endif // _AFX_NO_AFXCMN_SUPPORT - -#include // MFC support for ribbons and control bars - - - - - - - - - -#ifdef _UNICODE -#if defined _M_IX86 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='x86' publicKeyToken='6595b64144ccf1df' language='*'\"") -#elif defined _M_IA64 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='ia64' publicKeyToken='6595b64144ccf1df' language='*'\"") -#elif defined _M_X64 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='amd64' publicKeyToken='6595b64144ccf1df' language='*'\"") -#else -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='*' publicKeyToken='6595b64144ccf1df' language='*'\"") -#endif -#endif - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7432/SDK7432int/targetver.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7432/SDK7432int/targetver.h deleted file mode 100644 index 11730d5..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7432/SDK7432int/targetver.h +++ /dev/null @@ -1,26 +0,0 @@ - -#pragma once - -// The following macros define the minimum required platform. The minimum required platform -// is the earliest version of Windows, Internet Explorer etc. that has the necessary features to run -// your application. The macros work by enabling all features available on platform versions up to and -// including the version specified. - -// Modify the following defines if you have to target a platform prior to the ones specified below. -// Refer to MSDN for the latest info on corresponding values for different platforms. -#ifndef WINVER // Specifies that the minimum required platform is Windows Vista. -#define WINVER 0x0600 // Change this to the appropriate value to target other versions of Windows. -#endif - -#ifndef _WIN32_WINNT // Specifies that the minimum required platform is Windows Vista. -#define _WIN32_WINNT 0x0600 // Change this to the appropriate value to target other versions of Windows. -#endif - -#ifndef _WIN32_WINDOWS // Specifies that the minimum required platform is Windows 98. -#define _WIN32_WINDOWS 0x0410 // Change this to the appropriate value to target Windows Me or later. -#endif - -#ifndef _WIN32_IE // Specifies that the minimum required platform is Internet Explorer 7.0. -#define _WIN32_IE 0x0700 // Change this to the appropriate value to target other versions of IE. -#endif - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7432/SDK7432intMsg/7230int.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7432/SDK7432intMsg/7230int.suo deleted file mode 100644 index e5f9cb0..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7432/SDK7432intMsg/7230int.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7432/SDK7432intMsg/7256int.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7432/SDK7432intMsg/7256int.suo deleted file mode 100644 index 01299a3..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7432/SDK7432intMsg/7256int.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7432/SDK7432intMsg/7258int.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7432/SDK7432intMsg/7258int.suo deleted file mode 100644 index b00e489..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7432/SDK7432intMsg/7258int.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7432/SDK7432intMsg/7432int.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7432/SDK7432intMsg/7432int.cpp deleted file mode 100644 index db9e664..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7432/SDK7432intMsg/7432int.cpp +++ /dev/null @@ -1,110 +0,0 @@ - -// 7432int.cpp : Defines the class behaviors for the application. -// - -#include "stdafx.h" -#include "7432int.h" -#include "7432intDlg.h" -#include "CardIDDlg.h" - -#ifdef _DEBUG -#define new DEBUG_NEW -#endif - - -// C7432intApp - -BEGIN_MESSAGE_MAP(C7432intApp, CWinAppEx) - ON_COMMAND(ID_HELP, &CWinApp::OnHelp) -END_MESSAGE_MAP() - - -// C7432intApp construction - -C7432intApp::C7432intApp() -{ - // TODO: add construction code here, - // Place all significant initialization in InitInstance -} - - -// The one and only C7432intApp object - -C7432intApp theApp; - - -// C7432intApp initialization - -BOOL C7432intApp::InitInstance() -{ - int nCardID = 0; - I16 hCard; - CString strTemp; - INT_PTR nResponse; - - // InitCommonControlsEx() is required on Windows XP if an application - // manifest specifies use of ComCtl32.dll version 6 or later to enable - // visual styles. Otherwise, any window creation will fail. - INITCOMMONCONTROLSEX InitCtrls; - InitCtrls.dwSize = sizeof(InitCtrls); - // Set this to include all the common control classes you want to use - // in your application. - InitCtrls.dwICC = ICC_WIN95_CLASSES; - InitCommonControlsEx(&InitCtrls); - - CWinAppEx::InitInstance(); - - AfxEnableControlContainer(); - - // Standard initialization - // If you are not using these features and wish to reduce the size - // of your final executable, you should remove from the following - // the specific initialization routines you do not need - // Change the registry key under which our settings are stored - // TODO: You should modify this string to be something appropriate - // such as the name of your company or organization - SetRegistryKey(_T("Local AppWizard-Generated Applications")); - - CCardIDDlg CardDlg( nCardID ); - - nResponse = CardDlg.DoModal(); - if (nResponse == IDOK) - { - nCardID = CardDlg.GetCardID(); - - if ((hCard=Register_Card(PCI_7432, nCardID)) < 0) - { - strTemp.Format( TEXT("Register_Card Error = %d"), hCard); - AfxMessageBox( strTemp ); - } - else - { - C7432intDlg dlg(hCard); - m_pMainWnd = &dlg; - nResponse = dlg.DoModal(); - if (nResponse == IDOK) - { - // TODO: Place code here to handle when the dialog is - // dismissed with OK - } - else if (nResponse == IDCANCEL) - { - // TODO: Place code here to handle when the dialog is - // dismissed with Cancel - } - - if (hCard >= 0) Release_Card(hCard); - } - - } - else if (nResponse == IDCANCEL) - { - // TODO: Place code here to handle when the dialog is - // dismissed with Cancel - } - - - // Since the dialog has been closed, return FALSE so that we exit the - // application, rather than start the application's message pump. - return FALSE; -} diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7432/SDK7432intMsg/7432int.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7432/SDK7432intMsg/7432int.h deleted file mode 100644 index b1dd7d6..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7432/SDK7432intMsg/7432int.h +++ /dev/null @@ -1,32 +0,0 @@ - -// 7432int.h : main header file for the PROJECT_NAME application -// - -#pragma once - -#ifndef __AFXWIN_H__ - #error "include 'stdafx.h' before including this file for PCH" -#endif - -#include "resource.h" // main symbols - - -// C7432intApp: -// See 7432int.cpp for the implementation of this class -// - -class C7432intApp : public CWinAppEx -{ -public: - C7432intApp(); - -// Overrides - public: - virtual BOOL InitInstance(); - -// Implementation - - DECLARE_MESSAGE_MAP() -}; - -extern C7432intApp theApp; \ No newline at end of file diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7432/SDK7432intMsg/7432int.rc b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7432/SDK7432intMsg/7432int.rc deleted file mode 100644 index bc77f1c..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7432/SDK7432intMsg/7432int.rc +++ /dev/null @@ -1,269 +0,0 @@ -// Microsoft Visual C++ generated resource script. -// -#include "resource.h" - -#define APSTUDIO_READONLY_SYMBOLS -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 2 resource. -// -#ifndef APSTUDIO_INVOKED -#include "targetver.h" -#endif -#include "afxres.h" - -///////////////////////////////////////////////////////////////////////////// -#undef APSTUDIO_READONLY_SYMBOLS - -///////////////////////////////////////////////////////////////////////////// -// Chinese (Taiwan) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_CHT) -#ifdef _WIN32 -LANGUAGE LANG_CHINESE, SUBLANG_CHINESE_TRADITIONAL -#pragma code_page(950) -#endif //_WIN32 - -#ifdef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// TEXTINCLUDE -// - -1 TEXTINCLUDE -BEGIN - "resource.h\0" -END - -2 TEXTINCLUDE -BEGIN - "#ifndef APSTUDIO_INVOKED\r\n" - "#include ""targetver.h""\r\n" - "#endif\r\n" - "#include ""afxres.h""\r\n" - "\0" -END - -3 TEXTINCLUDE -BEGIN - "#define _AFX_NO_SPLITTER_RESOURCES\r\n" - "#define _AFX_NO_OLE_RESOURCES\r\n" - "#define _AFX_NO_TRACKER_RESOURCES\r\n" - "#define _AFX_NO_PROPERTY_RESOURCES\r\n" - "\r\n" - "#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)\r\n" - "LANGUAGE 9, 1\r\n" - "#pragma code_page(1252)\r\n" - "#include ""res\\My7432int.rc2"" // non-Microsoft Visual C++ edited resources\r\n" - "#include ""afxres.rc"" // Standard components\r\n" - "#endif\r\n" - "\0" -END - -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// Icon -// - -// Icon with lowest ID value placed first to ensure application icon -// remains consistent on all systems. -IDR_MAINFRAME ICON "res\\7432int.ico" -#endif // Chinese (Taiwan) resources -///////////////////////////////////////////////////////////////////////////// - - -///////////////////////////////////////////////////////////////////////////// -// English (U.S.) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -#ifdef _WIN32 -LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US -#pragma code_page(1252) -#endif //_WIN32 - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog -// - -IDD_ABOUTBOX DIALOGEX 0, 0, 170, 62 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "About 7432int" -FONT 8, "MS Shell Dlg", 0, 0, 0x1 -BEGIN - ICON IDR_MAINFRAME,IDC_STATIC,14,14,21,20 - LTEXT "7432int, Version 1.0",IDC_STATIC,42,14,114,8,SS_NOPREFIX - LTEXT "Copyright (C) 2010",IDC_STATIC,42,26,114,8 - DEFPUSHBUTTON "OK",IDOK,113,41,50,14,WS_GROUP -END - -IDD_MY7432INT_DIALOG DIALOGEX 0, 0, 195, 126 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU -EXSTYLE WS_EX_APPWINDOW -CAPTION "PCI-7432 Interrupt Sample (INT1)" -FONT 8, "MS Shell Dlg", 0, 0, 0x1 -BEGIN - LTEXT "This program shows the number of occurrence of INT1 interrupt. INT1 interrupt is generated by external signal from DI bit-0. If you connect DO bit-0 to DI bit-0, press 'Output' button can generate an interrupt.",IDC_STATIC,22,12,151,42 - LTEXT "INT1 Count =",IDC_STATIC_05,54,65,85,13 - PUSHBUTTON "Output",IDC_BT_OUTPUT,49,89,84,18 -END - -IDD_CARDID_DIALOG DIALOGEX 0, 0, 163, 88 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "Card ID" -FONT 8, "MS Shell Dlg", 400, 0, 0x1 -BEGIN - COMBOBOX IDC_COMBO_CARDID,73,17,71,126,CBS_DROPDOWN | WS_VSCROLL | WS_TABSTOP - LTEXT "Card Number",IDC_STATIC_01,19,18,46,12 - PUSHBUTTON "OK",IDOK,20,50,58,19 - PUSHBUTTON "CANCEL",IDCANCEL,84,50,58,19 -END - - -///////////////////////////////////////////////////////////////////////////// -// -// Version -// - -VS_VERSION_INFO VERSIONINFO - FILEVERSION 1,0,0,1 - PRODUCTVERSION 1,0,0,1 - FILEFLAGSMASK 0x3fL -#ifdef _DEBUG - FILEFLAGS 0x1L -#else - FILEFLAGS 0x0L -#endif - FILEOS 0x4L - FILETYPE 0x1L - FILESUBTYPE 0x0L -BEGIN - BLOCK "StringFileInfo" - BEGIN - BLOCK "040904e4" - BEGIN - VALUE "CompanyName", "TODO: " - VALUE "FileDescription", "TODO: " - VALUE "FileVersion", "1.0.0.1" - VALUE "InternalName", "7432int.exe" - VALUE "LegalCopyright", "TODO: (c) . All rights reserved." - VALUE "OriginalFilename", "7432int.exe" - VALUE "ProductName", "TODO: " - VALUE "ProductVersion", "1.0.0.1" - END - END - BLOCK "VarFileInfo" - BEGIN - VALUE "Translation", 0x409, 1252 - END -END - - -///////////////////////////////////////////////////////////////////////////// -// -// DESIGNINFO -// - -#ifdef APSTUDIO_INVOKED -GUIDELINES DESIGNINFO -BEGIN - IDD_ABOUTBOX, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 163 - TOPMARGIN, 7 - BOTTOMMARGIN, 55 - END - - IDD_CARDID_DIALOG, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 156 - TOPMARGIN, 7 - BOTTOMMARGIN, 81 - END -END -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog Info -// - -IDD_CARDID_DIALOG DLGINIT -BEGIN - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0030, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0031, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0032, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0033, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0034, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0035, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0036, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0037, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0038, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0039, - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3031, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3131, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3231, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3331, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3431, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3531, "\000" - 0 -END - - -///////////////////////////////////////////////////////////////////////////// -// -// String Table -// - -STRINGTABLE -BEGIN - IDS_ABOUTBOX "&About 7432int..." -END - -#endif // English (U.S.) resources -///////////////////////////////////////////////////////////////////////////// - - - -#ifndef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 3 resource. -// -#define _AFX_NO_SPLITTER_RESOURCES -#define _AFX_NO_OLE_RESOURCES -#define _AFX_NO_TRACKER_RESOURCES -#define _AFX_NO_PROPERTY_RESOURCES - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -LANGUAGE 9, 1 -#pragma code_page(1252) -#include "res\My7432int.rc2" // non-Microsoft Visual C++ edited resources -#include "afxres.rc" // Standard components -#endif - -///////////////////////////////////////////////////////////////////////////// -#endif // not APSTUDIO_INVOKED - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7432/SDK7432intMsg/7432int.sln b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7432/SDK7432intMsg/7432int.sln deleted file mode 100644 index fefdb1e..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7432/SDK7432intMsg/7432int.sln +++ /dev/null @@ -1,20 +0,0 @@ - -Microsoft Visual Studio Solution File, Format Version 10.00 -# Visual Studio 2008 -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "7432int", "7432int.vcproj", "{7D5D9EC5-ED97-47EE-B6F4-ACCD71069808}" -EndProject -Global - GlobalSection(SolutionConfigurationPlatforms) = preSolution - Debug|x64 = Debug|x64 - Release|x64 = Release|x64 - EndGlobalSection - GlobalSection(ProjectConfigurationPlatforms) = postSolution - {7D5D9EC5-ED97-47EE-B6F4-ACCD71069808}.Debug|x64.ActiveCfg = Debug|x64 - {7D5D9EC5-ED97-47EE-B6F4-ACCD71069808}.Debug|x64.Build.0 = Debug|x64 - {7D5D9EC5-ED97-47EE-B6F4-ACCD71069808}.Release|x64.ActiveCfg = Release|x64 - {7D5D9EC5-ED97-47EE-B6F4-ACCD71069808}.Release|x64.Build.0 = Release|x64 - EndGlobalSection - GlobalSection(SolutionProperties) = preSolution - HideSolutionNode = FALSE - EndGlobalSection -EndGlobal diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7432/SDK7432intMsg/7432int.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7432/SDK7432intMsg/7432int.suo deleted file mode 100644 index 2ae5d64..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7432/SDK7432intMsg/7432int.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7432/SDK7432intMsg/7432int.vcproj b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7432/SDK7432intMsg/7432int.vcproj deleted file mode 100644 index 70b743f..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7432/SDK7432intMsg/7432int.vcproj +++ /dev/null @@ -1,286 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7432/SDK7432intMsg/7432intDlg.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7432/SDK7432intMsg/7432intDlg.cpp deleted file mode 100644 index c72fa1e..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7432/SDK7432intMsg/7432intDlg.cpp +++ /dev/null @@ -1,200 +0,0 @@ - -// 7432intDlg.cpp : implementation file -// - -#include "stdafx.h" -#include "7432int.h" -#include "7432intDlg.h" - -#ifdef _DEBUG -#define new DEBUG_NEW -#endif - - -#define EXT_SIGNAL_MESSAGE _T("EXT_SIG") -UINT WM_INT = ::RegisterWindowMessage(EXT_SIGNAL_MESSAGE); - -// CAboutDlg dialog used for App About - -class CAboutDlg : public CDialog -{ -public: - CAboutDlg(); - -// Dialog Data - enum { IDD = IDD_ABOUTBOX }; - - protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - -// Implementation -protected: - DECLARE_MESSAGE_MAP() -}; - -CAboutDlg::CAboutDlg() : CDialog(CAboutDlg::IDD) -{ -} - -void CAboutDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); -} - -BEGIN_MESSAGE_MAP(CAboutDlg, CDialog) -END_MESSAGE_MAP() - - -// C7432intDlg dialog - - - - -C7432intDlg::C7432intDlg(I16 hCard, CWnd* pParent /*=NULL*/) - : CDialog(C7432intDlg::IDD, pParent) -{ - m_hIcon = AfxGetApp()->LoadIcon(IDR_MAINFRAME); - - m_hCard = hCard; - m_dwOutVal = 0x00000000; - - m_IntCount = 0; -} - -void C7432intDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); -} - -BEGIN_MESSAGE_MAP(C7432intDlg, CDialog) - ON_WM_SYSCOMMAND() - ON_WM_PAINT() - ON_WM_QUERYDRAGICON() - ON_REGISTERED_MESSAGE(WM_INT, OnExtSIGInterrupt) - //}}AFX_MSG_MAP - ON_WM_DESTROY() - ON_BN_CLICKED(IDC_BT_OUTPUT, &C7432intDlg::OnOutput) -END_MESSAGE_MAP() - - -// C7432intDlg message handlers - -BOOL C7432intDlg::OnInitDialog() -{ - CDialog::OnInitDialog(); - - // Add "About..." menu item to system menu. - - // IDM_ABOUTBOX must be in the system command range. - ASSERT((IDM_ABOUTBOX & 0xFFF0) == IDM_ABOUTBOX); - ASSERT(IDM_ABOUTBOX < 0xF000); - - CMenu* pSysMenu = GetSystemMenu(FALSE); - if (pSysMenu != NULL) - { - BOOL bNameValid; - CString strAboutMenu; - bNameValid = strAboutMenu.LoadString(IDS_ABOUTBOX); - ASSERT(bNameValid); - if (!strAboutMenu.IsEmpty()) - { - pSysMenu->AppendMenu(MF_SEPARATOR); - pSysMenu->AppendMenu(MF_STRING, IDM_ABOUTBOX, strAboutMenu); - } - } - - // Set the icon for this dialog. The framework does this automatically - // when the application's main window is not a dialog - SetIcon(m_hIcon, TRUE); // Set big icon - SetIcon(m_hIcon, FALSE); // Set small icon - - // TODO: Add extra initialization here - DIO_INT1_EventMessage (m_hCard, INT1_EXT_SIGNAL, this->m_hWnd, WM_INT, NULL); - - DO_WritePort(m_hCard, 0, m_dwOutVal); - - - - return TRUE; // return TRUE unless you set the focus to a control -} - -void C7432intDlg::OnSysCommand(UINT nID, LPARAM lParam) -{ - if ((nID & 0xFFF0) == IDM_ABOUTBOX) - { - CAboutDlg dlgAbout; - dlgAbout.DoModal(); - } - else - { - CDialog::OnSysCommand(nID, lParam); - } -} - -// If you add a minimize button to your dialog, you will need the code below -// to draw the icon. For MFC applications using the document/view model, -// this is automatically done for you by the framework. - -void C7432intDlg::OnPaint() -{ - if (IsIconic()) - { - CPaintDC dc(this); // device context for painting - - SendMessage(WM_ICONERASEBKGND, reinterpret_cast(dc.GetSafeHdc()), 0); - - // Center icon in client rectangle - int cxIcon = GetSystemMetrics(SM_CXICON); - int cyIcon = GetSystemMetrics(SM_CYICON); - CRect rect; - GetClientRect(&rect); - int x = (rect.Width() - cxIcon + 1) / 2; - int y = (rect.Height() - cyIcon + 1) / 2; - - // Draw the icon - dc.DrawIcon(x, y, m_hIcon); - } - else - { - CDialog::OnPaint(); - } -} - -// The system calls this function to obtain the cursor to display while the user drags -// the minimized window. -HCURSOR C7432intDlg::OnQueryDragIcon() -{ - return static_cast(m_hIcon); -} - - -void C7432intDlg::OnDestroy() -{ - CDialog::OnDestroy(); - - // TODO: Add your message handler code here - DIO_INT1_EventMessage (m_hCard, INT1_DISABLE, this->m_hWnd, NULL, NULL); - DO_WritePort(m_hCard, 0, 0x0); -} - - -void C7432intDlg::OnOutput() -{ - // TODO: Add your control notification handler code here - DO_WritePort(m_hCard, 0, 0x1); - Sleep(1); - DO_WritePort(m_hCard, 0, 0x0); -} - -LRESULT C7432intDlg::OnExtSIGInterrupt(WPARAM wParam, LPARAM lParam) -{ - // do something useful - CString strTemp; - - m_IntCount ++; - - strTemp.Format( TEXT("INT1 Count = %d"), m_IntCount ); - SetDlgItemText( IDC_STATIC_05, strTemp ); - - return (LRESULT) 0; -} diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7432/SDK7432intMsg/7432intDlg.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7432/SDK7432intMsg/7432intDlg.h deleted file mode 100644 index 1e546ae..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7432/SDK7432intMsg/7432intDlg.h +++ /dev/null @@ -1,41 +0,0 @@ - -// 7432intDlg.h : header file -// -#include "Dask64.h" - -#pragma once - - -// C7432intDlg dialog -class C7432intDlg : public CDialog -{ -// Construction -public: - C7432intDlg(I16 hCard, CWnd* pParent = NULL); // standard constructor - -// Dialog Data - enum { IDD = IDD_MY7432INT_DIALOG }; - - protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - - -// Implementation -protected: - HICON m_hIcon; - I16 m_hCard; - U32 m_dwOutVal; - int m_IntCount; - HANDLE m_hIntEvent[2]; - - // Generated message map functions - virtual BOOL OnInitDialog(); - afx_msg void OnSysCommand(UINT nID, LPARAM lParam); - afx_msg void OnPaint(); - afx_msg HCURSOR OnQueryDragIcon(); - afx_msg LRESULT OnExtSIGInterrupt(WPARAM wParam, LPARAM lParam); - DECLARE_MESSAGE_MAP() -public: - afx_msg void OnDestroy(); - afx_msg void OnOutput(); -}; diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7432/SDK7432intMsg/CardIDDlg.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7432/SDK7432intMsg/CardIDDlg.cpp deleted file mode 100644 index 06a6b21..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7432/SDK7432intMsg/CardIDDlg.cpp +++ /dev/null @@ -1,67 +0,0 @@ -// CardIDDlg.cpp : implementation file -// - -#include "stdafx.h" -#include "7432int.h" -#include "CardIDDlg.h" - - -// CCardIDDlg dialog - -IMPLEMENT_DYNAMIC(CCardIDDlg, CDialog) - -CCardIDDlg::CCardIDDlg(int nCardIdx, CWnd* pParent /*=NULL*/) - : CDialog(CCardIDDlg::IDD, pParent) -{ - m_nCardIdx = nCardIdx; -} - -CCardIDDlg::~CCardIDDlg() -{ -} - -void CCardIDDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); - DDX_Control(pDX, IDC_COMBO_CARDID, m_cbCardID); -} - - -BEGIN_MESSAGE_MAP(CCardIDDlg, CDialog) -// ON_CBN_SELCHANGE(IDC_COMBO_CARDID, &CCardIDDlg::OnCbnSelchangeComboCardid) -ON_BN_CLICKED(IDOK, &CCardIDDlg::OnBnClickedOk) -//ON_WM_CTLCOLOR() -END_MESSAGE_MAP() - - -// CCardIDDlg message handlers - - -void CCardIDDlg::OnBnClickedOk() -{ - // TODO: Add your control notification handler code here - -// UpdateData(TRUE); - m_nCardIdx = m_cbCardID.GetCurSel(); - - OnOK(); -} - -BOOL CCardIDDlg::OnInitDialog() -{ - CDialog::OnInitDialog(); - - // TODO: Add extra initialization here - m_cbCardID.SetCurSel( m_nCardIdx ); - - return TRUE; // return TRUE unless you set the focus to a control - // EXCEPTION: OCX Property Pages should return FALSE -} - -// the function to get the selected CardID -int CCardIDDlg::GetCardID(void) -{ - return m_nCardIdx; -} - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7432/SDK7432intMsg/CardIDDlg.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7432/SDK7432intMsg/CardIDDlg.h deleted file mode 100644 index 54628ea..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7432/SDK7432intMsg/CardIDDlg.h +++ /dev/null @@ -1,33 +0,0 @@ -#pragma once -#include "afxwin.h" - - -// CCardIDDlg dialog - -class CCardIDDlg : public CDialog -{ - DECLARE_DYNAMIC(CCardIDDlg) - -public: - CCardIDDlg(int nCardIdx, CWnd* pParent = NULL); // standard constructor - virtual ~CCardIDDlg(); - -// Dialog Data - enum { IDD = IDD_CARDID_DIALOG }; - -protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - - DECLARE_MESSAGE_MAP() -public: -// afx_msg void OnCbnSelchangeComboCardid(); - afx_msg void OnBnClickedOk(); - // the setting of CardID ComboBox - int m_nCardIdx; - virtual BOOL OnInitDialog(); - // the control of CardID ComboBox - CComboBox m_cbCardID; - // the function to get the selected CardID - int GetCardID(void); -// afx_msg HBRUSH OnCtlColor(CDC* pDC, CWnd* pWnd, UINT nCtlColor); -}; diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7432/SDK7432intMsg/ReadMe.txt b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7432/SDK7432intMsg/ReadMe.txt deleted file mode 100644 index 5133df9..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7432/SDK7432intMsg/ReadMe.txt +++ /dev/null @@ -1,93 +0,0 @@ -================================================================================ - MICROSOFT FOUNDATION CLASS LIBRARY : 7432int Project Overview -=============================================================================== - -The application wizard has created this 7432int application for -you. This application not only demonstrates the basics of using the Microsoft -Foundation Classes but is also a starting point for writing your application. - -This file contains a summary of what you will find in each of the files that -make up your 7432int application. - -7432int.vcproj - This is the main project file for VC++ projects generated using an application wizard. - It contains information about the version of Visual C++ that generated the file, and - information about the platforms, configurations, and project features selected with the - application wizard. - -7432int.h - This is the main header file for the application. It includes other - project specific headers (including Resource.h) and declares the - C7432intApp application class. - -7432int.cpp - This is the main application source file that contains the application - class C7432intApp. - -7432int.rc - This is a listing of all of the Microsoft Windows resources that the - program uses. It includes the icons, bitmaps, and cursors that are stored - in the RES subdirectory. This file can be directly edited in Microsoft - Visual C++. Your project resources are in 1033. - -res\7432int.ico - This is an icon file, which is used as the application's icon. This - icon is included by the main resource file 7432int.rc. - -res\My7432int.rc2 - This file contains resources that are not edited by Microsoft - Visual C++. You should place all resources not editable by - the resource editor in this file. - - -///////////////////////////////////////////////////////////////////////////// - -The application wizard creates one dialog class: - -7432intDlg.h, 7432intDlg.cpp - the dialog - These files contain your C7432intDlg class. This class defines - the behavior of your application's main dialog. The dialog's template is - in 7432int.rc, which can be edited in Microsoft Visual C++. - - -///////////////////////////////////////////////////////////////////////////// - -Other Features: - -ActiveX Controls - The application includes support to use ActiveX controls. - -///////////////////////////////////////////////////////////////////////////// - -Other standard files: - -StdAfx.h, StdAfx.cpp - These files are used to build a precompiled header (PCH) file - named 7432int.pch and a precompiled types file named StdAfx.obj. - -Resource.h - This is the standard header file, which defines new resource IDs. - Microsoft Visual C++ reads and updates this file. - -7432int.manifest - Application manifest files are used by Windows XP to describe an applications - dependency on specific versions of Side-by-Side assemblies. The loader uses this - information to load the appropriate assembly from the assembly cache or private - from the application. The Application manifest maybe included for redistribution - as an external .manifest file that is installed in the same folder as the application - executable or it may be included in the executable in the form of a resource. -///////////////////////////////////////////////////////////////////////////// - -Other notes: - -The application wizard uses "TODO:" to indicate parts of the source code you -should add to or customize. - -If your application uses MFC in a shared DLL, you will need -to redistribute the MFC DLLs. If your application is in a language -other than the operating system's locale, you will also have to -redistribute the corresponding localized resources MFC90XXX.DLL. -For more information on both of these topics, please see the section on -redistributing Visual C++ applications in MSDN documentation. - -///////////////////////////////////////////////////////////////////////////// diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7432/SDK7432intMsg/res/7432int.ico b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7432/SDK7432intMsg/res/7432int.ico deleted file mode 100644 index d56fbcd..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7432/SDK7432intMsg/res/7432int.ico and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7432/SDK7432intMsg/res/My7432int.rc2 b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7432/SDK7432intMsg/res/My7432int.rc2 deleted file mode 100644 index 7bd3593..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7432/SDK7432intMsg/res/My7432int.rc2 +++ /dev/null @@ -1,13 +0,0 @@ -// -// My7256int.RC2 - resources Microsoft Visual C++ does not edit directly -// - -#ifdef APSTUDIO_INVOKED -#error this file is not editable by Microsoft Visual C++ -#endif //APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// Add manually edited resources here... - -///////////////////////////////////////////////////////////////////////////// diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7432/SDK7432intMsg/resource.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7432/SDK7432intMsg/resource.h deleted file mode 100644 index 47035f9..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7432/SDK7432intMsg/resource.h +++ /dev/null @@ -1,27 +0,0 @@ -//{{NO_DEPENDENCIES}} -// Microsoft Visual C++ generated include file. -// Used by 7432int.rc -// -#define IDM_ABOUTBOX 0x0010 -#define IDD_ABOUTBOX 100 -#define IDS_ABOUTBOX 101 -#define IDD_MY7432INT_DIALOG 102 -#define IDR_MAINFRAME 128 -#define IDD_CARDID_DIALOG 129 -#define IDC_COMBO_CARDID 1000 -#define IDC_BUTTON1 1000 -#define IDC_BT_OUTPUT 1000 -#define IDC_STATIC_05 1007 -#define IDC_STATIC_06 1008 -#define IDC_STATIC_01 1014 - -// Next default values for new objects -// -#ifdef APSTUDIO_INVOKED -#ifndef APSTUDIO_READONLY_SYMBOLS -#define _APS_NEXT_RESOURCE_VALUE 131 -#define _APS_NEXT_COMMAND_VALUE 32771 -#define _APS_NEXT_CONTROL_VALUE 1001 -#define _APS_NEXT_SYMED_VALUE 101 -#endif -#endif diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7432/SDK7432intMsg/stdafx.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7432/SDK7432intMsg/stdafx.cpp deleted file mode 100644 index 312fefd..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7432/SDK7432intMsg/stdafx.cpp +++ /dev/null @@ -1,8 +0,0 @@ - -// stdafx.cpp : source file that includes just the standard includes -// 7432int.pch will be the pre-compiled header -// stdafx.obj will contain the pre-compiled type information - -#include "stdafx.h" - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7432/SDK7432intMsg/stdafx.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7432/SDK7432intMsg/stdafx.h deleted file mode 100644 index 12123e2..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7432/SDK7432intMsg/stdafx.h +++ /dev/null @@ -1,60 +0,0 @@ - -// stdafx.h : include file for standard system include files, -// or project specific include files that are used frequently, -// but are changed infrequently - -#pragma once - -#ifndef _SECURE_ATL -#define _SECURE_ATL 1 -#endif - -#ifndef VC_EXTRALEAN -#define VC_EXTRALEAN // Exclude rarely-used stuff from Windows headers -#endif - -#include "targetver.h" - -#define _ATL_CSTRING_EXPLICIT_CONSTRUCTORS // some CString constructors will be explicit - -// turns off MFC's hiding of some common and often safely ignored warning messages -#define _AFX_ALL_WARNINGS - -#include // MFC core and standard components -#include // MFC extensions - - -#include // MFC Automation classes - - - -#ifndef _AFX_NO_OLE_SUPPORT -#include // MFC support for Internet Explorer 4 Common Controls -#endif -#ifndef _AFX_NO_AFXCMN_SUPPORT -#include // MFC support for Windows Common Controls -#endif // _AFX_NO_AFXCMN_SUPPORT - -#include // MFC support for ribbons and control bars - - - - - - - - - -#ifdef _UNICODE -#if defined _M_IX86 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='x86' publicKeyToken='6595b64144ccf1df' language='*'\"") -#elif defined _M_IA64 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='ia64' publicKeyToken='6595b64144ccf1df' language='*'\"") -#elif defined _M_X64 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='amd64' publicKeyToken='6595b64144ccf1df' language='*'\"") -#else -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='*' publicKeyToken='6595b64144ccf1df' language='*'\"") -#endif -#endif - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7432/SDK7432intMsg/targetver.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7432/SDK7432intMsg/targetver.h deleted file mode 100644 index 11730d5..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7432/SDK7432intMsg/targetver.h +++ /dev/null @@ -1,26 +0,0 @@ - -#pragma once - -// The following macros define the minimum required platform. The minimum required platform -// is the earliest version of Windows, Internet Explorer etc. that has the necessary features to run -// your application. The macros work by enabling all features available on platform versions up to and -// including the version specified. - -// Modify the following defines if you have to target a platform prior to the ones specified below. -// Refer to MSDN for the latest info on corresponding values for different platforms. -#ifndef WINVER // Specifies that the minimum required platform is Windows Vista. -#define WINVER 0x0600 // Change this to the appropriate value to target other versions of Windows. -#endif - -#ifndef _WIN32_WINNT // Specifies that the minimum required platform is Windows Vista. -#define _WIN32_WINNT 0x0600 // Change this to the appropriate value to target other versions of Windows. -#endif - -#ifndef _WIN32_WINDOWS // Specifies that the minimum required platform is Windows 98. -#define _WIN32_WINDOWS 0x0410 // Change this to the appropriate value to target Windows Me or later. -#endif - -#ifndef _WIN32_IE // Specifies that the minimum required platform is Internet Explorer 7.0. -#define _WIN32_IE 0x0700 // Change this to the appropriate value to target other versions of IE. -#endif - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7432/Sdk7432/CardIDDlg.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7432/Sdk7432/CardIDDlg.cpp deleted file mode 100644 index 5507a2e..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7432/Sdk7432/CardIDDlg.cpp +++ /dev/null @@ -1,67 +0,0 @@ -// CardIDDlg.cpp : implementation file -// - -#include "stdafx.h" -#include "Util7432.h" -#include "CardIDDlg.h" - - -// CCardIDDlg dialog - -IMPLEMENT_DYNAMIC(CCardIDDlg, CDialog) - -CCardIDDlg::CCardIDDlg(int nCardIdx, CWnd* pParent /*=NULL*/) - : CDialog(CCardIDDlg::IDD, pParent) -{ - m_nCardIdx = nCardIdx; -} - -CCardIDDlg::~CCardIDDlg() -{ -} - -void CCardIDDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); - DDX_Control(pDX, IDC_COMBO_CARDID, m_cbCardID); -} - - -BEGIN_MESSAGE_MAP(CCardIDDlg, CDialog) -// ON_CBN_SELCHANGE(IDC_COMBO_CARDID, &CCardIDDlg::OnCbnSelchangeComboCardid) -ON_BN_CLICKED(IDOK, &CCardIDDlg::OnBnClickedOk) -//ON_WM_CTLCOLOR() -END_MESSAGE_MAP() - - -// CCardIDDlg message handlers - - -void CCardIDDlg::OnBnClickedOk() -{ - // TODO: Add your control notification handler code here - -// UpdateData(TRUE); - m_nCardIdx = m_cbCardID.GetCurSel(); - - OnOK(); -} - -BOOL CCardIDDlg::OnInitDialog() -{ - CDialog::OnInitDialog(); - - // TODO: Add extra initialization here - m_cbCardID.SetCurSel( m_nCardIdx ); - - return TRUE; // return TRUE unless you set the focus to a control - // EXCEPTION: OCX Property Pages should return FALSE -} - -// the function to get the selected CardID -int CCardIDDlg::GetCardID(void) -{ - return m_nCardIdx; -} - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7432/Sdk7432/CardIDDlg.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7432/Sdk7432/CardIDDlg.h deleted file mode 100644 index 54628ea..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7432/Sdk7432/CardIDDlg.h +++ /dev/null @@ -1,33 +0,0 @@ -#pragma once -#include "afxwin.h" - - -// CCardIDDlg dialog - -class CCardIDDlg : public CDialog -{ - DECLARE_DYNAMIC(CCardIDDlg) - -public: - CCardIDDlg(int nCardIdx, CWnd* pParent = NULL); // standard constructor - virtual ~CCardIDDlg(); - -// Dialog Data - enum { IDD = IDD_CARDID_DIALOG }; - -protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - - DECLARE_MESSAGE_MAP() -public: -// afx_msg void OnCbnSelchangeComboCardid(); - afx_msg void OnBnClickedOk(); - // the setting of CardID ComboBox - int m_nCardIdx; - virtual BOOL OnInitDialog(); - // the control of CardID ComboBox - CComboBox m_cbCardID; - // the function to get the selected CardID - int GetCardID(void); -// afx_msg HBRUSH OnCtlColor(CDC* pDC, CWnd* pWnd, UINT nCtlColor); -}; diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7432/Sdk7432/ReadMe.txt b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7432/Sdk7432/ReadMe.txt deleted file mode 100644 index 8b8c228..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7432/Sdk7432/ReadMe.txt +++ /dev/null @@ -1,93 +0,0 @@ -================================================================================ - MICROSOFT FOUNDATION CLASS LIBRARY : Util7432 Project Overview -=============================================================================== - -The application wizard has created this Util7432 application for -you. This application not only demonstrates the basics of using the Microsoft -Foundation Classes but is also a starting point for writing your application. - -This file contains a summary of what you will find in each of the files that -make up your Util7432 application. - -Util7432.vcproj - This is the main project file for VC++ projects generated using an application wizard. - It contains information about the version of Visual C++ that generated the file, and - information about the platforms, configurations, and project features selected with the - application wizard. - -Util7432.h - This is the main header file for the application. It includes other - project specific headers (including Resource.h) and declares the - CUtil7432App application class. - -Util7432.cpp - This is the main application source file that contains the application - class CUtil7432App. - -Util7432.rc - This is a listing of all of the Microsoft Windows resources that the - program uses. It includes the icons, bitmaps, and cursors that are stored - in the RES subdirectory. This file can be directly edited in Microsoft - Visual C++. Your project resources are in 1033. - -res\Util7432.ico - This is an icon file, which is used as the application's icon. This - icon is included by the main resource file Util7432.rc. - -res\Util7432.rc2 - This file contains resources that are not edited by Microsoft - Visual C++. You should place all resources not editable by - the resource editor in this file. - - -///////////////////////////////////////////////////////////////////////////// - -The application wizard creates one dialog class: - -Util7432Dlg.h, Util7432Dlg.cpp - the dialog - These files contain your CUtil7432Dlg class. This class defines - the behavior of your application's main dialog. The dialog's template is - in Util7432.rc, which can be edited in Microsoft Visual C++. - - -///////////////////////////////////////////////////////////////////////////// - -Other Features: - -ActiveX Controls - The application includes support to use ActiveX controls. - -///////////////////////////////////////////////////////////////////////////// - -Other standard files: - -StdAfx.h, StdAfx.cpp - These files are used to build a precompiled header (PCH) file - named Util7432.pch and a precompiled types file named StdAfx.obj. - -Resource.h - This is the standard header file, which defines new resource IDs. - Microsoft Visual C++ reads and updates this file. - -Util7432.manifest - Application manifest files are used by Windows XP to describe an applications - dependency on specific versions of Side-by-Side assemblies. The loader uses this - information to load the appropriate assembly from the assembly cache or private - from the application. The Application manifest maybe included for redistribution - as an external .manifest file that is installed in the same folder as the application - executable or it may be included in the executable in the form of a resource. -///////////////////////////////////////////////////////////////////////////// - -Other notes: - -The application wizard uses "TODO:" to indicate parts of the source code you -should add to or customize. - -If your application uses MFC in a shared DLL, you will need -to redistribute the MFC DLLs. If your application is in a language -other than the operating system's locale, you will also have to -redistribute the corresponding localized resources MFC90XXX.DLL. -For more information on both of these topics, please see the section on -redistributing Visual C++ applications in MSDN documentation. - -///////////////////////////////////////////////////////////////////////////// diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7432/Sdk7432/Util7233.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7432/Sdk7432/Util7233.suo deleted file mode 100644 index 27cf546..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7432/Sdk7432/Util7233.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7432/Sdk7432/Util7432.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7432/Sdk7432/Util7432.cpp deleted file mode 100644 index 1ec4161..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7432/Sdk7432/Util7432.cpp +++ /dev/null @@ -1,111 +0,0 @@ - -// Util7432.cpp : Defines the class behaviors for the application. -// - -#include "stdafx.h" -#include "Util7432.h" -#include "Util7432Dlg.h" -#include "CardIDDlg.h" - - -#ifdef _DEBUG -#define new DEBUG_NEW -#endif - - -// CUtil7432App - -BEGIN_MESSAGE_MAP(CUtil7432App, CWinAppEx) - ON_COMMAND(ID_HELP, &CWinApp::OnHelp) -END_MESSAGE_MAP() - - -// CUtil7432App construction - -CUtil7432App::CUtil7432App() -{ - // TODO: add construction code here, - // Place all significant initialization in InitInstance -} - - -// The one and only CUtil7432App object - -CUtil7432App theApp; - - -// CUtil7432App initialization - -BOOL CUtil7432App::InitInstance() -{ - int nCardID = 0; - I16 hCard; - CString strTemp; - INT_PTR nResponse; - - // InitCommonControlsEx() is required on Windows XP if an application - // manifest specifies use of ComCtl32.dll version 6 or later to enable - // visual styles. Otherwise, any window creation will fail. - INITCOMMONCONTROLSEX InitCtrls; - InitCtrls.dwSize = sizeof(InitCtrls); - // Set this to include all the common control classes you want to use - // in your application. - InitCtrls.dwICC = ICC_WIN95_CLASSES; - InitCommonControlsEx(&InitCtrls); - - CWinAppEx::InitInstance(); - - AfxEnableControlContainer(); - - // Standard initialization - // If you are not using these features and wish to reduce the size - // of your final executable, you should remove from the following - // the specific initialization routines you do not need - // Change the registry key under which our settings are stored - // TODO: You should modify this string to be something appropriate - // such as the name of your company or organization - SetRegistryKey(_T("Local AppWizard-Generated Applications")); - - CCardIDDlg CardDlg( nCardID ); - - nResponse = CardDlg.DoModal(); - if (nResponse == IDOK) - { - nCardID = CardDlg.GetCardID(); - - if ((hCard=Register_Card(PCI_7432, nCardID)) < 0) - { - strTemp.Format( TEXT("Register_Card Error = %d"), hCard); - AfxMessageBox( strTemp ); - } - else - { - CUtil7432Dlg dlg(hCard); - m_pMainWnd = &dlg; - nResponse = dlg.DoModal(); - if (nResponse == IDOK) - { - // TODO: Place code here to handle when the dialog is - // dismissed with OK - } - else if (nResponse == IDCANCEL) - { - // TODO: Place code here to handle when the dialog is - // dismissed with Cancel - } - - if (hCard >= 0) Release_Card(hCard); - } - - } - else if (nResponse == IDCANCEL) - { - // TODO: Place code here to handle when the dialog is - // dismissed with Cancel - } - - - // Since the dialog has been closed, return FALSE so that we exit the - // application, rather than start the application's message pump. - return FALSE; -} diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7432/Sdk7432/Util7432.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7432/Sdk7432/Util7432.h deleted file mode 100644 index fec7bcf..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7432/Sdk7432/Util7432.h +++ /dev/null @@ -1,32 +0,0 @@ - -// Util7432.h : main header file for the PROJECT_NAME application -// - -#pragma once - -#ifndef __AFXWIN_H__ - #error "include 'stdafx.h' before including this file for PCH" -#endif - -#include "resource.h" // main symbols - - -// CUtil7432App: -// See Util7432.cpp for the implementation of this class -// - -class CUtil7432App : public CWinAppEx -{ -public: - CUtil7432App(); - -// Overrides - public: - virtual BOOL InitInstance(); - -// Implementation - - DECLARE_MESSAGE_MAP() -}; - -extern CUtil7432App theApp; \ No newline at end of file diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7432/Sdk7432/Util7432.rc b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7432/Sdk7432/Util7432.rc deleted file mode 100644 index bc110e3..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7432/Sdk7432/Util7432.rc +++ /dev/null @@ -1,339 +0,0 @@ -// Microsoft Visual C++ generated resource script. -// -#include "resource.h" - -#define APSTUDIO_READONLY_SYMBOLS -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 2 resource. -// -#ifndef APSTUDIO_INVOKED -#include "targetver.h" -#endif -#include "afxres.h" - -///////////////////////////////////////////////////////////////////////////// -#undef APSTUDIO_READONLY_SYMBOLS - -///////////////////////////////////////////////////////////////////////////// -// Chinese (Taiwan) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_CHT) -#ifdef _WIN32 -LANGUAGE LANG_CHINESE, SUBLANG_CHINESE_TRADITIONAL -#pragma code_page(950) -#endif //_WIN32 - -#ifdef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// TEXTINCLUDE -// - -1 TEXTINCLUDE -BEGIN - "resource.h\0" -END - -2 TEXTINCLUDE -BEGIN - "#ifndef APSTUDIO_INVOKED\r\n" - "#include ""targetver.h""\r\n" - "#endif\r\n" - "#include ""afxres.h""\r\n" - "\0" -END - -3 TEXTINCLUDE -BEGIN - "#define _AFX_NO_SPLITTER_RESOURCES\r\n" - "#define _AFX_NO_OLE_RESOURCES\r\n" - "#define _AFX_NO_TRACKER_RESOURCES\r\n" - "#define _AFX_NO_PROPERTY_RESOURCES\r\n" - "\r\n" - "#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)\r\n" - "LANGUAGE 9, 1\r\n" - "#pragma code_page(1252)\r\n" - "#include ""res\\Util7432.rc2"" // non-Microsoft Visual C++ edited resources\r\n" - "#include ""afxres.rc"" // Standard components\r\n" - "#endif\r\n" - "\0" -END - -#endif // APSTUDIO_INVOKED - -#endif // Chinese (Taiwan) resources -///////////////////////////////////////////////////////////////////////////// - - -///////////////////////////////////////////////////////////////////////////// -// English (U.S.) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -#ifdef _WIN32 -LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US -#pragma code_page(1252) -#endif //_WIN32 - -///////////////////////////////////////////////////////////////////////////// -// -// Icon -// - -// Icon with lowest ID value placed first to ensure application icon -// remains consistent on all systems. -IDR_MAINFRAME ICON "res\\Util7432.ico" -IDI_ICON_BLACK ICON "res\\black.ico" -IDI_ICON_GREEN ICON "res\\green.ico" -IDI_ICON_RED ICON "res\\red.ico" - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog -// - -IDD_ABOUTBOX DIALOGEX 0, 0, 170, 62 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "About Util7432" -FONT 8, "MS Shell Dlg", 0, 0, 0x1 -BEGIN - ICON IDR_MAINFRAME,IDC_STATIC,14,14,21,20 - LTEXT "Util7432, Version 1.0",IDC_STATIC,42,14,114,8,SS_NOPREFIX - LTEXT "Copyright (C) 2010",IDC_STATIC,42,26,114,8 - DEFPUSHBUTTON "OK",IDOK,113,41,50,14,WS_GROUP -END - -IDD_UTIL7432_DIALOG DIALOGEX 0, 0, 318, 182 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU -EXSTYLE WS_EX_APPWINDOW -CAPTION "PCI-7432" -FONT 8, "MS Shell Dlg", 0, 0, 0x1 -BEGIN - ICON IDI_ICON_BLACK,IDC_ICON_DI00,282,55,21,20 - ICON IDI_ICON_BLACK,IDC_ICON_DI01,264,55,21,20 - ICON IDI_ICON_BLACK,IDC_ICON_DI02,246,55,21,20 - ICON IDI_ICON_BLACK,IDC_ICON_DI03,228,55,21,20 - ICON IDI_ICON_BLACK,IDC_ICON_DI04,210,55,21,20 - ICON IDI_ICON_BLACK,IDC_ICON_DI05,192,55,21,20 - ICON IDI_ICON_BLACK,IDC_ICON_DI06,174,55,21,20 - ICON IDI_ICON_BLACK,IDC_ICON_DI07,156,55,21,20 - ICON IDI_ICON_BLACK,IDC_ICON_DI08,138,55,21,20 - ICON IDI_ICON_BLACK,IDC_ICON_DI09,120,55,21,20 - ICON IDI_ICON_BLACK,IDC_ICON_DI10,102,55,21,20 - ICON IDI_ICON_BLACK,IDC_ICON_DI11,84,55,21,20 - ICON IDI_ICON_BLACK,IDC_ICON_DI12,66,55,21,20 - ICON IDI_ICON_BLACK,IDC_ICON_DI13,48,55,21,20 - ICON IDI_ICON_BLACK,IDC_ICON_DI14,30,55,21,20 - ICON IDI_ICON_BLACK,IDC_ICON_DI15,12,55,21,20 - LTEXT " 15 0",IDC_STATIC,12,71,289,13 - ICON IDI_ICON_BLACK,IDC_ICON_DI16,282,18,21,20 - ICON IDI_ICON_BLACK,IDC_ICON_DI17,264,18,21,20 - ICON IDI_ICON_BLACK,IDC_ICON_DI18,246,18,21,20 - ICON IDI_ICON_BLACK,IDC_ICON_DI19,228,18,21,20 - ICON IDI_ICON_BLACK,IDC_ICON_DI20,210,18,21,20 - ICON IDI_ICON_BLACK,IDC_ICON_DI21,192,18,21,20 - ICON IDI_ICON_BLACK,IDC_ICON_DI22,174,18,21,20 - ICON IDI_ICON_BLACK,IDC_ICON_DI23,156,18,21,20 - ICON IDI_ICON_BLACK,IDC_ICON_DI24,138,18,21,20 - ICON IDI_ICON_BLACK,IDC_ICON_DI25,120,18,21,20 - ICON IDI_ICON_BLACK,IDC_ICON_DI26,102,18,21,20 - ICON IDI_ICON_BLACK,IDC_ICON_DI27,84,18,21,20 - ICON IDI_ICON_BLACK,IDC_ICON_DI28,66,18,21,20 - ICON IDI_ICON_BLACK,IDC_ICON_DI29,48,18,21,20 - ICON IDI_ICON_BLACK,IDC_ICON_DI30,30,18,21,20 - ICON IDI_ICON_BLACK,IDC_ICON_DI31,12,18,21,20 - LTEXT " 31 16",IDC_STATIC,12,37,289,13 - GROUPBOX "Digital Input",IDC_STATIC,9,7,297,74 - CONTROL "",IDC_CHECK_DO00,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,289,147,12,12 - CONTROL "",IDC_CHECK_DO01,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,271,147,12,12 - CONTROL "",IDC_CHECK_DO02,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,253,147,12,12 - CONTROL "",IDC_CHECK_DO03,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,235,147,12,12 - CONTROL "",IDC_CHECK_DO04,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,217,147,12,12 - CONTROL "",IDC_CHECK_DO05,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,199,147,12,12 - CONTROL "",IDC_CHECK_DO06,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,181,147,12,12 - CONTROL "",IDC_CHECK_DO07,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,163,147,12,12 - CONTROL "",IDC_CHECK_DO08,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,145,147,12,12 - CONTROL "",IDC_CHECK_DO09,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,127,147,12,12 - CONTROL "",IDC_CHECK_DO10,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,109,147,12,12 - CONTROL "",IDC_CHECK_DO11,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,91,147,12,12 - CONTROL "",IDC_CHECK_DO12,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,73,147,12,12 - CONTROL "",IDC_CHECK_DO13,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,55,147,12,12 - CONTROL "",IDC_CHECK_DO14,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,37,147,12,12 - CONTROL "",IDC_CHECK_DO15,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,19,147,12,12 - LTEXT " 15 0",IDC_STATIC,13,159,289,13 - CONTROL "",IDC_CHECK_DO16,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,289,113,12,12 - CONTROL "",IDC_CHECK_DO17,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,271,113,12,12 - CONTROL "",IDC_CHECK_DO18,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,253,113,12,12 - CONTROL "",IDC_CHECK_DO19,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,235,113,12,12 - CONTROL "",IDC_CHECK_DO20,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,217,113,12,12 - CONTROL "",IDC_CHECK_DO21,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,199,113,12,12 - CONTROL "",IDC_CHECK_DO22,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,181,113,12,12 - CONTROL "",IDC_CHECK_DO23,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,163,113,12,12 - CONTROL "",IDC_CHECK_DO24,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,145,113,12,12 - CONTROL "",IDC_CHECK_DO25,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,127,113,12,12 - CONTROL "",IDC_CHECK_DO26,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,109,113,12,12 - CONTROL "",IDC_CHECK_DO27,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,91,113,12,12 - CONTROL "",IDC_CHECK_DO28,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,73,113,12,12 - CONTROL "",IDC_CHECK_DO29,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,55,113,12,12 - CONTROL "",IDC_CHECK_DO30,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,37,113,12,12 - CONTROL "",IDC_CHECK_DO31,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,19,113,12,12 - LTEXT " 31 16",IDC_STATIC,13,125,289,13 - GROUPBOX "Digital Output",IDC_STATIC,9,98,297,74 -END - -IDD_CARDID_DIALOG DIALOGEX 0, 0, 163, 87 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "Card ID" -FONT 8, "MS Shell Dlg", 400, 0, 0x1 -BEGIN - COMBOBOX IDC_COMBO_CARDID,73,17,71,126,CBS_DROPDOWN | WS_VSCROLL | WS_TABSTOP - LTEXT "Card Number",IDC_STATIC_01,19,18,46,12 - PUSHBUTTON "OK",IDOK,20,50,58,19 - PUSHBUTTON "CANCEL",IDCANCEL,84,50,58,19 -END - - -///////////////////////////////////////////////////////////////////////////// -// -// Version -// - -VS_VERSION_INFO VERSIONINFO - FILEVERSION 1,0,0,1 - PRODUCTVERSION 1,0,0,1 - FILEFLAGSMASK 0x3fL -#ifdef _DEBUG - FILEFLAGS 0x1L -#else - FILEFLAGS 0x0L -#endif - FILEOS 0x4L - FILETYPE 0x1L - FILESUBTYPE 0x0L -BEGIN - BLOCK "StringFileInfo" - BEGIN - BLOCK "040904e4" - BEGIN - VALUE "CompanyName", "TODO: " - VALUE "FileDescription", "TODO: " - VALUE "FileVersion", "1.0.0.1" - VALUE "InternalName", "Util7432.exe" - VALUE "LegalCopyright", "TODO: (c) . All rights reserved." - VALUE "OriginalFilename", "Util7432.exe" - VALUE "ProductName", "TODO: " - VALUE "ProductVersion", "1.0.0.1" - END - END - BLOCK "VarFileInfo" - BEGIN - VALUE "Translation", 0x409, 1252 - END -END - - -///////////////////////////////////////////////////////////////////////////// -// -// DESIGNINFO -// - -#ifdef APSTUDIO_INVOKED -GUIDELINES DESIGNINFO -BEGIN - IDD_ABOUTBOX, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 163 - TOPMARGIN, 7 - BOTTOMMARGIN, 55 - END - - IDD_CARDID_DIALOG, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 156 - TOPMARGIN, 7 - BOTTOMMARGIN, 80 - END -END -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog Info -// - -IDD_CARDID_DIALOG DLGINIT -BEGIN - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0030, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0031, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0032, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0033, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0034, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0035, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0036, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0037, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0038, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0039, - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3031, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3131, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3231, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3331, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3431, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3531, "\000" - 0 -END - - -///////////////////////////////////////////////////////////////////////////// -// -// String Table -// - -STRINGTABLE -BEGIN - IDS_ABOUTBOX "&About Util7432..." -END - -#endif // English (U.S.) resources -///////////////////////////////////////////////////////////////////////////// - - - -#ifndef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 3 resource. -// -#define _AFX_NO_SPLITTER_RESOURCES -#define _AFX_NO_OLE_RESOURCES -#define _AFX_NO_TRACKER_RESOURCES -#define _AFX_NO_PROPERTY_RESOURCES - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -LANGUAGE 9, 1 -#pragma code_page(1252) -#include "res\Util7432.rc2" // non-Microsoft Visual C++ edited resources -#include "afxres.rc" // Standard components -#endif - -///////////////////////////////////////////////////////////////////////////// -#endif // not APSTUDIO_INVOKED - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7432/Sdk7432/Util7432.sln b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7432/Sdk7432/Util7432.sln deleted file mode 100644 index cd8a3c9..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7432/Sdk7432/Util7432.sln +++ /dev/null @@ -1,20 +0,0 @@ - -Microsoft Visual Studio Solution File, Format Version 10.00 -# Visual Studio 2008 -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "Util7432", "Util7432.vcproj", "{C7FD46C6-5640-46BB-9CDF-718DC4621FFD}" -EndProject -Global - GlobalSection(SolutionConfigurationPlatforms) = preSolution - Debug|x64 = Debug|x64 - Release|x64 = Release|x64 - EndGlobalSection - GlobalSection(ProjectConfigurationPlatforms) = postSolution - {C7FD46C6-5640-46BB-9CDF-718DC4621FFD}.Debug|x64.ActiveCfg = Debug|x64 - {C7FD46C6-5640-46BB-9CDF-718DC4621FFD}.Debug|x64.Build.0 = Debug|x64 - {C7FD46C6-5640-46BB-9CDF-718DC4621FFD}.Release|x64.ActiveCfg = Release|x64 - {C7FD46C6-5640-46BB-9CDF-718DC4621FFD}.Release|x64.Build.0 = Release|x64 - EndGlobalSection - GlobalSection(SolutionProperties) = preSolution - HideSolutionNode = FALSE - EndGlobalSection -EndGlobal diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7432/Sdk7432/Util7432.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7432/Sdk7432/Util7432.suo deleted file mode 100644 index a1f47df..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7432/Sdk7432/Util7432.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7432/Sdk7432/Util7432.vcproj b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7432/Sdk7432/Util7432.vcproj deleted file mode 100644 index d4f7c12..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7432/Sdk7432/Util7432.vcproj +++ /dev/null @@ -1,294 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7432/Sdk7432/Util7432Dlg.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7432/Sdk7432/Util7432Dlg.cpp deleted file mode 100644 index 207d1d6..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7432/Sdk7432/Util7432Dlg.cpp +++ /dev/null @@ -1,1263 +0,0 @@ - -// Util7432Dlg.cpp : implementation file -// - -#include "stdafx.h" -#include "Util7432.h" -#include "Util7432Dlg.h" - -#ifdef _DEBUG -#define new DEBUG_NEW -#endif - - -// CAboutDlg dialog used for App About - -class CAboutDlg : public CDialog -{ -public: - CAboutDlg(); - -// Dialog Data - enum { IDD = IDD_ABOUTBOX }; - - protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - -// Implementation -protected: - DECLARE_MESSAGE_MAP() -}; - -CAboutDlg::CAboutDlg() : CDialog(CAboutDlg::IDD) -{ -} - -void CAboutDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); -} - -BEGIN_MESSAGE_MAP(CAboutDlg, CDialog) -END_MESSAGE_MAP() - - -// CUtil7432Dlg dialog - - - - -CUtil7432Dlg::CUtil7432Dlg(I16 hCard, CWnd* pParent /*=NULL*/) - : CDialog(CUtil7432Dlg::IDD, pParent) -{ - m_hIcon = AfxGetApp()->LoadIcon(IDR_MAINFRAME); - - m_hCard = hCard; - m_nTimer = -1; - m_dwInData = 0x00000000; - m_dwOutData = 0x00000000; - -} - -void CUtil7432Dlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); - DDX_Control(pDX, IDC_ICON_DI00, m_Icon_DI00); - DDX_Control(pDX, IDC_ICON_DI01, m_Icon_DI01); - DDX_Control(pDX, IDC_ICON_DI02, m_Icon_DI02); - DDX_Control(pDX, IDC_ICON_DI03, m_Icon_DI03); - DDX_Control(pDX, IDC_ICON_DI04, m_Icon_DI04); - DDX_Control(pDX, IDC_ICON_DI05, m_Icon_DI05); - DDX_Control(pDX, IDC_ICON_DI06, m_Icon_DI06); - DDX_Control(pDX, IDC_ICON_DI07, m_Icon_DI07); - DDX_Control(pDX, IDC_ICON_DI08, m_Icon_DI08); - DDX_Control(pDX, IDC_ICON_DI09, m_Icon_DI09); - DDX_Control(pDX, IDC_ICON_DI10, m_Icon_DI10); - DDX_Control(pDX, IDC_ICON_DI11, m_Icon_DI11); - DDX_Control(pDX, IDC_ICON_DI12, m_Icon_DI12); - DDX_Control(pDX, IDC_ICON_DI13, m_Icon_DI13); - DDX_Control(pDX, IDC_ICON_DI14, m_Icon_DI14); - DDX_Control(pDX, IDC_ICON_DI15, m_Icon_DI15); - DDX_Control(pDX, IDC_ICON_DI16, m_Icon_DI16); - DDX_Control(pDX, IDC_ICON_DI17, m_Icon_DI17); - DDX_Control(pDX, IDC_ICON_DI18, m_Icon_DI18); - DDX_Control(pDX, IDC_ICON_DI19, m_Icon_DI19); - DDX_Control(pDX, IDC_ICON_DI20, m_Icon_DI20); - DDX_Control(pDX, IDC_ICON_DI21, m_Icon_DI21); - DDX_Control(pDX, IDC_ICON_DI22, m_Icon_DI22); - DDX_Control(pDX, IDC_ICON_DI23, m_Icon_DI23); - DDX_Control(pDX, IDC_ICON_DI24, m_Icon_DI24); - DDX_Control(pDX, IDC_ICON_DI25, m_Icon_DI25); - DDX_Control(pDX, IDC_ICON_DI26, m_Icon_DI26); - DDX_Control(pDX, IDC_ICON_DI27, m_Icon_DI27); - DDX_Control(pDX, IDC_ICON_DI28, m_Icon_DI28); - DDX_Control(pDX, IDC_ICON_DI29, m_Icon_DI29); - DDX_Control(pDX, IDC_ICON_DI30, m_Icon_DI30); - DDX_Control(pDX, IDC_ICON_DI31, m_Icon_DI31); -} - -BEGIN_MESSAGE_MAP(CUtil7432Dlg, CDialog) - ON_WM_SYSCOMMAND() - ON_WM_PAINT() - ON_WM_QUERYDRAGICON() - //}}AFX_MSG_MAP - ON_BN_CLICKED(IDC_CHECK_DO00, &CUtil7432Dlg::OnOut00) - ON_BN_CLICKED(IDC_CHECK_DO01, &CUtil7432Dlg::OnOut01) - ON_BN_CLICKED(IDC_CHECK_DO02, &CUtil7432Dlg::OnOut02) - ON_BN_CLICKED(IDC_CHECK_DO03, &CUtil7432Dlg::OnOut03) - ON_BN_CLICKED(IDC_CHECK_DO04, &CUtil7432Dlg::OnOut04) - ON_BN_CLICKED(IDC_CHECK_DO05, &CUtil7432Dlg::OnOut05) - ON_BN_CLICKED(IDC_CHECK_DO06, &CUtil7432Dlg::OnOut06) - ON_BN_CLICKED(IDC_CHECK_DO07, &CUtil7432Dlg::OnOut07) - ON_BN_CLICKED(IDC_CHECK_DO08, &CUtil7432Dlg::OnOut08) - ON_BN_CLICKED(IDC_CHECK_DO09, &CUtil7432Dlg::OnOut09) - ON_BN_CLICKED(IDC_CHECK_DO10, &CUtil7432Dlg::OnOut10) - ON_BN_CLICKED(IDC_CHECK_DO11, &CUtil7432Dlg::OnOut11) - ON_BN_CLICKED(IDC_CHECK_DO12, &CUtil7432Dlg::OnOut12) - ON_BN_CLICKED(IDC_CHECK_DO13, &CUtil7432Dlg::OnOut13) - ON_BN_CLICKED(IDC_CHECK_DO14, &CUtil7432Dlg::OnOut14) - ON_BN_CLICKED(IDC_CHECK_DO15, &CUtil7432Dlg::OnOut15) - ON_BN_CLICKED(IDC_CHECK_DO16, &CUtil7432Dlg::OnOut16) - ON_BN_CLICKED(IDC_CHECK_DO17, &CUtil7432Dlg::OnOut17) - ON_BN_CLICKED(IDC_CHECK_DO18, &CUtil7432Dlg::OnOut18) - ON_BN_CLICKED(IDC_CHECK_DO19, &CUtil7432Dlg::OnOut19) - ON_BN_CLICKED(IDC_CHECK_DO20, &CUtil7432Dlg::OnOut20) - ON_BN_CLICKED(IDC_CHECK_DO21, &CUtil7432Dlg::OnOut21) - ON_BN_CLICKED(IDC_CHECK_DO22, &CUtil7432Dlg::OnOut22) - ON_BN_CLICKED(IDC_CHECK_DO23, &CUtil7432Dlg::OnOut23) - ON_BN_CLICKED(IDC_CHECK_DO24, &CUtil7432Dlg::OnOut24) - ON_BN_CLICKED(IDC_CHECK_DO25, &CUtil7432Dlg::OnOut25) - ON_BN_CLICKED(IDC_CHECK_DO26, &CUtil7432Dlg::OnOut26) - ON_BN_CLICKED(IDC_CHECK_DO27, &CUtil7432Dlg::OnOut27) - ON_BN_CLICKED(IDC_CHECK_DO28, &CUtil7432Dlg::OnOut28) - ON_BN_CLICKED(IDC_CHECK_DO29, &CUtil7432Dlg::OnOut29) - ON_BN_CLICKED(IDC_CHECK_DO30, &CUtil7432Dlg::OnOut30) - ON_BN_CLICKED(IDC_CHECK_DO31, &CUtil7432Dlg::OnOut31) - ON_WM_DESTROY() - ON_WM_TIMER() -END_MESSAGE_MAP() - - -// CUtil7432Dlg message handlers - -BOOL CUtil7432Dlg::OnInitDialog() -{ - CDialog::OnInitDialog(); - - // Add "About..." menu item to system menu. - - // IDM_ABOUTBOX must be in the system command range. - ASSERT((IDM_ABOUTBOX & 0xFFF0) == IDM_ABOUTBOX); - ASSERT(IDM_ABOUTBOX < 0xF000); - - CMenu* pSysMenu = GetSystemMenu(FALSE); - if (pSysMenu != NULL) - { - BOOL bNameValid; - CString strAboutMenu; - bNameValid = strAboutMenu.LoadString(IDS_ABOUTBOX); - ASSERT(bNameValid); - if (!strAboutMenu.IsEmpty()) - { - pSysMenu->AppendMenu(MF_SEPARATOR); - pSysMenu->AppendMenu(MF_STRING, IDM_ABOUTBOX, strAboutMenu); - } - } - - // Set the icon for this dialog. The framework does this automatically - // when the application's main window is not a dialog - SetIcon(m_hIcon, TRUE); // Set big icon - SetIcon(m_hIcon, FALSE); // Set small icon - - // TODO: Add extra initialization here - DO_WritePort( m_hCard, 0, m_dwOutData ); - - m_nTimer = SetTimer( 1, 250, NULL ); - - return TRUE; // return TRUE unless you set the focus to a control -} - -void CUtil7432Dlg::OnSysCommand(UINT nID, LPARAM lParam) -{ - if ((nID & 0xFFF0) == IDM_ABOUTBOX) - { - CAboutDlg dlgAbout; - dlgAbout.DoModal(); - } - else - { - CDialog::OnSysCommand(nID, lParam); - } -} - -// If you add a minimize button to your dialog, you will need the code below -// to draw the icon. For MFC applications using the document/view model, -// this is automatically done for you by the framework. - -void CUtil7432Dlg::OnPaint() -{ - if (IsIconic()) - { - CPaintDC dc(this); // device context for painting - - SendMessage(WM_ICONERASEBKGND, reinterpret_cast(dc.GetSafeHdc()), 0); - - // Center icon in client rectangle - int cxIcon = GetSystemMetrics(SM_CXICON); - int cyIcon = GetSystemMetrics(SM_CYICON); - CRect rect; - GetClientRect(&rect); - int x = (rect.Width() - cxIcon + 1) / 2; - int y = (rect.Height() - cyIcon + 1) / 2; - - // Draw the icon - dc.DrawIcon(x, y, m_hIcon); - } - else - { - CDialog::OnPaint(); - } -} - -// The system calls this function to obtain the cursor to display while the user drags -// the minimized window. -HCURSOR CUtil7432Dlg::OnQueryDragIcon() -{ - return static_cast(m_hIcon); -} - - -void CUtil7432Dlg::OnDestroy() -{ - CDialog::OnDestroy(); - - // TODO: Add your message handler code here - if( m_nTimer != -1 ) - KillTimer( m_nTimer ); -} - -void CUtil7432Dlg::OnTimer(UINT_PTR nIDEvent) -{ - // TODO: Add your message handler code here and/or call default - U32 dwPortData, dwChangeMask; - - DI_ReadPort(m_hCard, PORT_DI_LOW, &dwPortData); - - dwChangeMask = dwPortData ^ m_dwInData; - - if( dwChangeMask != 0x00 ) // Input had been changed - { - m_dwInData = dwPortData; // update the DI data - - if( (dwChangeMask & 0x01) == 0x01 ) // if the target bit is changed - { - if( (dwPortData & 0x01) == 0x01 ) - { - m_Icon_DI00.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_DI00.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - - if( (dwChangeMask & 0x02) == 0x02 ) // if the target bit is changed - { - if( (dwPortData & 0x02) == 0x02 ) - { - m_Icon_DI01.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_DI01.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - if( (dwChangeMask & 0x04) == 0x04 ) // if the target bit is changed - { - if( (dwPortData & 0x04) == 0x04 ) - { - m_Icon_DI02.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_DI02.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - - if( (dwChangeMask & 0x08) == 0x08 ) // if the target bit is changed - { - if( (dwPortData & 0x08) == 0x08 ) - { - m_Icon_DI03.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_DI03.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - if( (dwChangeMask & 0x10) == 0x10 ) // if the target bit is changed - { - if( (dwPortData & 0x10) == 0x10 ) - { - m_Icon_DI04.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_DI04.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - if( (dwChangeMask & 0x20) == 0x20 ) // if the target bit is changed - { - if( (dwPortData & 0x20) == 0x20 ) - { - m_Icon_DI05.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_DI05.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - - if( (dwChangeMask & 0x40) == 0x40 ) // if the target bit is changed - { - if( (dwPortData & 0x40) == 0x40 ) - { - m_Icon_DI06.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_DI06.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - - if( (dwChangeMask & 0x80) == 0x80 ) // if the target bit is changed - { - if( (dwPortData & 0x80) == 0x80 ) - { - m_Icon_DI07.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_DI07.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - - if( (dwChangeMask & 0x100) == 0x100 ) // if the target bit is changed - { - if( (dwPortData & 0x100) == 0x100 ) - { - m_Icon_DI08.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_DI08.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - if( (dwChangeMask & 0x200) == 0x200 ) // if the target bit is changed - { - if( (dwPortData & 0x200) == 0x200 ) - { - m_Icon_DI09.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_DI09.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - if( (dwChangeMask & 0x400) == 0x400 ) // if the target bit is changed - { - if( (dwPortData & 0x400) == 0x400 ) - { - m_Icon_DI10.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_DI10.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - if( (dwChangeMask & 0x800) == 0x800 ) // if the target bit is changed - { - if( (dwPortData & 0x800) == 0x800 ) - { - m_Icon_DI11.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_DI11.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - if( (dwChangeMask & 0x1000) == 0x1000 ) // if the target bit is changed - { - if( (dwPortData & 0x1000) == 0x1000 ) - { - m_Icon_DI12.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_DI12.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - if( (dwChangeMask & 0x2000) == 0x2000 ) // if the target bit is changed - { - if( (dwPortData & 0x2000) == 0x2000 ) - { - m_Icon_DI13.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_DI13.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - if( (dwChangeMask & 0x4000) == 0x4000 ) // if the target bit is changed - { - if( (dwPortData & 0x4000) == 0x4000 ) - { - m_Icon_DI14.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_DI14.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - if( (dwChangeMask & 0x8000) == 0x8000 ) // if the target bit is changed - { - if( (dwPortData & 0x8000) == 0x8000 ) - { - m_Icon_DI15.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_DI15.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - - if( (dwChangeMask & 0x10000) == 0x10000 ) // if the target bit is changed - { - if( (dwPortData & 0x10000) == 0x10000 ) - { - m_Icon_DI16.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_DI16.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - - if( (dwChangeMask & 0x20000) == 0x20000 ) // if the target bit is changed - { - if( (dwPortData & 0x20000) == 0x20000 ) - { - m_Icon_DI17.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_DI17.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - if( (dwChangeMask & 0x40000) == 0x40000 ) // if the target bit is changed - { - if( (dwPortData & 0x40000) == 0x40000 ) - { - m_Icon_DI18.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_DI18.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - - if( (dwChangeMask & 0x80000) == 0x80000 ) // if the target bit is changed - { - if( (dwPortData & 0x80000) == 0x80000 ) - { - m_Icon_DI19.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_DI19.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - if( (dwChangeMask & 0x100000) == 0x100000 ) // if the target bit is changed - { - if( (dwPortData & 0x100000) == 0x100000 ) - { - m_Icon_DI20.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_DI20.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - if( (dwChangeMask & 0x200000) == 0x200000 ) // if the target bit is changed - { - if( (dwPortData & 0x200000) == 0x200000 ) - { - m_Icon_DI21.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_DI21.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - - if( (dwChangeMask & 0x400000) == 0x400000 ) // if the target bit is changed - { - if( (dwPortData & 0x400000) == 0x400000 ) - { - m_Icon_DI22.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_DI22.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - - if( (dwChangeMask & 0x800000) == 0x800000 ) // if the target bit is changed - { - if( (dwPortData & 0x800000) == 0x800000 ) - { - m_Icon_DI23.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_DI23.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - - if( (dwChangeMask & 0x1000000) == 0x1000000 ) // if the target bit is changed - { - if( (dwPortData & 0x1000000) == 0x1000000 ) - { - m_Icon_DI24.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_DI24.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - if( (dwChangeMask & 0x2000000) == 0x2000000 ) // if the target bit is changed - { - if( (dwPortData & 0x2000000) == 0x2000000 ) - { - m_Icon_DI25.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_DI25.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - if( (dwChangeMask & 0x4000000) == 0x4000000 ) // if the target bit is changed - { - if( (dwPortData & 0x4000000) == 0x4000000 ) - { - m_Icon_DI26.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_DI26.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - if( (dwChangeMask & 0x8000000) == 0x8000000 ) // if the target bit is changed - { - if( (dwPortData & 0x8000000) == 0x8000000 ) - { - m_Icon_DI27.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_DI27.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - if( (dwChangeMask & 0x10000000) == 0x10000000 ) // if the target bit is changed - { - if( (dwPortData & 0x10000000) == 0x10000000 ) - { - m_Icon_DI28.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_DI28.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - if( (dwChangeMask & 0x20000000) == 0x20000000 ) // if the target bit is changed - { - if( (dwPortData & 0x20000000) == 0x20000000 ) - { - m_Icon_DI29.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_DI29.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - if( (dwChangeMask & 0x40000000) == 0x40000000 ) // if the target bit is changed - { - if( (dwPortData & 0x40000000) == 0x40000000 ) - { - m_Icon_DI30.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_DI30.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - if( (dwChangeMask & 0x80000000) == 0x80000000 ) // if the target bit is changed - { - if( (dwPortData & 0x80000000) == 0x80000000 ) - { - m_Icon_DI31.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_DI31.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - } - - CDialog::OnTimer(nIDEvent); -} - - -void CUtil7432Dlg::OnOut00() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_DO00 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_dwOutData |= 0x01; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_dwOutData &= (~0x01); - } - - DO_WritePort( m_hCard, 0, m_dwOutData ); - -} - -void CUtil7432Dlg::OnOut01() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_DO01 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_dwOutData |= 0x02; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_dwOutData &= (~0x02); - } - - DO_WritePort( m_hCard, 0, m_dwOutData ); -} - -void CUtil7432Dlg::OnOut02() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_DO02 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_dwOutData |= 0x04; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_dwOutData &= (~0x04); - } - - DO_WritePort( m_hCard, 0, m_dwOutData ); -} - -void CUtil7432Dlg::OnOut03() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_DO03 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_dwOutData |= 0x08; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_dwOutData &= (~0x08); - } - - DO_WritePort( m_hCard, 0, m_dwOutData ); -} - -void CUtil7432Dlg::OnOut04() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_DO04 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_dwOutData |= 0x10; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_dwOutData &= (~0x10); - } - - DO_WritePort( m_hCard, 0, m_dwOutData ); -} - -void CUtil7432Dlg::OnOut05() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_DO05 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_dwOutData |= 0x20; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_dwOutData &= (~0x20); - } - - DO_WritePort( m_hCard, 0, m_dwOutData ); -} - -void CUtil7432Dlg::OnOut06() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_DO06 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_dwOutData |= 0x40; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_dwOutData &= (~0x40); - } - - DO_WritePort( m_hCard, 0, m_dwOutData ); -} - -void CUtil7432Dlg::OnOut07() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_DO07 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_dwOutData |= 0x80; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_dwOutData &= (~0x80); - } - - DO_WritePort( m_hCard, 0, m_dwOutData ); -} - -void CUtil7432Dlg::OnOut08() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_DO08 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_dwOutData |= 0x100; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_dwOutData &= (~0x100); - } - - DO_WritePort( m_hCard, 0, m_dwOutData ); -} - -void CUtil7432Dlg::OnOut09() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_DO09 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_dwOutData |= 0x200; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_dwOutData &= (~0x200); - } - - DO_WritePort( m_hCard, 0, m_dwOutData ); -} - -void CUtil7432Dlg::OnOut10() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_DO10 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_dwOutData |= 0x400; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_dwOutData &= (~0x400); - } - - DO_WritePort( m_hCard, 0, m_dwOutData ); -} - -void CUtil7432Dlg::OnOut11() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_DO11 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_dwOutData |= 0x800; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_dwOutData &= (~0x800); - } - - DO_WritePort( m_hCard, 0, m_dwOutData ); -} - -void CUtil7432Dlg::OnOut12() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_DO12 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_dwOutData |= 0x1000; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_dwOutData &= (~0x1000); - } - - DO_WritePort( m_hCard, 0, m_dwOutData ); -} - -void CUtil7432Dlg::OnOut13() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_DO13 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_dwOutData |= 0x2000; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_dwOutData &= (~0x2000); - } - - DO_WritePort( m_hCard, 0, m_dwOutData ); -} - -void CUtil7432Dlg::OnOut14() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_DO14 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_dwOutData |= 0x4000; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_dwOutData &= (~0x4000); - } - - DO_WritePort( m_hCard, 0, m_dwOutData ); -} - -void CUtil7432Dlg::OnOut15() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_DO15 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_dwOutData |= 0x8000; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_dwOutData &= (~0x8000); - } - - DO_WritePort( m_hCard, 0, m_dwOutData ); -} - - -void CUtil7432Dlg::OnOut16() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_DO16 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_dwOutData |= 0x10000; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_dwOutData &= (~0x10000); - } - - DO_WritePort( m_hCard, 0, m_dwOutData ); -} - -void CUtil7432Dlg::OnOut17() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_DO17 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_dwOutData |= 0x20000; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_dwOutData &= (~0x20000); - } - - DO_WritePort( m_hCard, 0, m_dwOutData ); -} - -void CUtil7432Dlg::OnOut18() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_DO18 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_dwOutData |= 0x40000; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_dwOutData &= (~0x40000); - } - - DO_WritePort( m_hCard, 0, m_dwOutData ); -} - -void CUtil7432Dlg::OnOut19() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_DO19 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_dwOutData |= 0x80000; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_dwOutData &= (~0x80000); - } - - DO_WritePort( m_hCard, 0, m_dwOutData ); -} - - -void CUtil7432Dlg::OnOut20() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_DO20 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_dwOutData |= 0x100000; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_dwOutData &= (~0x100000); - } - - DO_WritePort( m_hCard, 0, m_dwOutData ); -} - -void CUtil7432Dlg::OnOut21() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_DO21 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_dwOutData |= 0x200000; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_dwOutData &= (~0x200000); - } - - DO_WritePort( m_hCard, 0, m_dwOutData ); -} - -void CUtil7432Dlg::OnOut22() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_DO22 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_dwOutData |= 0x400000; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_dwOutData &= (~0x400000); - } - - DO_WritePort( m_hCard, 0, m_dwOutData ); -} - -void CUtil7432Dlg::OnOut23() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_DO23 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_dwOutData |= 0x800000; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_dwOutData &= (~0x80000); - } - - DO_WritePort( m_hCard, 0, m_dwOutData ); -} - -void CUtil7432Dlg::OnOut24() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_DO24 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_dwOutData |= 0x1000000; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_dwOutData &= (~0x1000000); - } - - DO_WritePort( m_hCard, 0, m_dwOutData ); -} - -void CUtil7432Dlg::OnOut25() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_DO25 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_dwOutData |= 0x2000000; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_dwOutData &= (~0x2000000); - } - - DO_WritePort( m_hCard, 0, m_dwOutData ); -} - - -void CUtil7432Dlg::OnOut26() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_DO26 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_dwOutData |= 0x4000000; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_dwOutData &= (~0x4000000); - } - - DO_WritePort( m_hCard, 0, m_dwOutData ); -} - -void CUtil7432Dlg::OnOut27() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_DO27 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_dwOutData |= 0x8000000; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_dwOutData &= (~0x8000000); - } - - DO_WritePort( m_hCard, 0, m_dwOutData ); -} - -void CUtil7432Dlg::OnOut28() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_DO28 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_dwOutData |= 0x10000000; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_dwOutData &= (~0x10000000); - } - - DO_WritePort( m_hCard, 0, m_dwOutData ); -} - -void CUtil7432Dlg::OnOut29() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_DO29 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_dwOutData |= 0x20000000; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_dwOutData &= (~0x20000000); - } - - DO_WritePort( m_hCard, 0, m_dwOutData ); -} - -void CUtil7432Dlg::OnOut30() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_DO30 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_dwOutData |= 0x40000000; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_dwOutData &= (~0x40000000); - } - - DO_WritePort( m_hCard, 0, m_dwOutData ); -} - -void CUtil7432Dlg::OnOut31() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_DO31 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_dwOutData |= 0x80000000; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_dwOutData &= (~0x80000000); - } - - DO_WritePort( m_hCard, 0, m_dwOutData ); -} diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7432/Sdk7432/Util7432Dlg.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7432/Sdk7432/Util7432Dlg.h deleted file mode 100644 index 299fef5..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7432/Sdk7432/Util7432Dlg.h +++ /dev/null @@ -1,105 +0,0 @@ - -// Util7432Dlg.h : header file -// - -#include "Dask64.h" - -#pragma once - - -// CUtil7432Dlg dialog -class CUtil7432Dlg : public CDialog -{ -// Construction -public: - CUtil7432Dlg(I16 hCard, CWnd* pParent = NULL); // standard constructor - -// Dialog Data - enum { IDD = IDD_UTIL7432_DIALOG }; - - protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - - -// Implementation -protected: - HICON m_hIcon; - UINT_PTR m_nTimer; - I16 m_hCard; - U32 m_dwInData; - U32 m_dwOutData; - - // Generated message map functions - virtual BOOL OnInitDialog(); - afx_msg void OnSysCommand(UINT nID, LPARAM lParam); - afx_msg void OnPaint(); - afx_msg HCURSOR OnQueryDragIcon(); - DECLARE_MESSAGE_MAP() -public: - CStatic m_Icon_DI00; - CStatic m_Icon_DI01; - CStatic m_Icon_DI02; - CStatic m_Icon_DI03; - CStatic m_Icon_DI04; - CStatic m_Icon_DI05; - CStatic m_Icon_DI06; - CStatic m_Icon_DI07; - CStatic m_Icon_DI08; - CStatic m_Icon_DI09; - CStatic m_Icon_DI10; - CStatic m_Icon_DI11; - CStatic m_Icon_DI12; - CStatic m_Icon_DI13; - CStatic m_Icon_DI14; - CStatic m_Icon_DI15; - CStatic m_Icon_DI16; - CStatic m_Icon_DI17; - CStatic m_Icon_DI18; - CStatic m_Icon_DI19; - CStatic m_Icon_DI20; - CStatic m_Icon_DI21; - CStatic m_Icon_DI22; - CStatic m_Icon_DI23; - CStatic m_Icon_DI24; - CStatic m_Icon_DI25; - CStatic m_Icon_DI26; - CStatic m_Icon_DI27; - CStatic m_Icon_DI28; - CStatic m_Icon_DI29; - CStatic m_Icon_DI30; - CStatic m_Icon_DI31; - afx_msg void OnDestroy(); - afx_msg void OnTimer(UINT_PTR nIDEvent); - afx_msg void OnOut00(); - afx_msg void OnOut01(); - afx_msg void OnOut02(); - afx_msg void OnOut03(); - afx_msg void OnOut04(); - afx_msg void OnOut05(); - afx_msg void OnOut06(); - afx_msg void OnOut07(); - afx_msg void OnOut08(); - afx_msg void OnOut09(); - afx_msg void OnOut10(); - afx_msg void OnOut11(); - afx_msg void OnOut12(); - afx_msg void OnOut13(); - afx_msg void OnOut14(); - afx_msg void OnOut15(); - afx_msg void OnOut16(); - afx_msg void OnOut17(); - afx_msg void OnOut18(); - afx_msg void OnOut19(); - afx_msg void OnOut20(); - afx_msg void OnOut21(); - afx_msg void OnOut22(); - afx_msg void OnOut23(); - afx_msg void OnOut24(); - afx_msg void OnOut25(); - afx_msg void OnOut26(); - afx_msg void OnOut27(); - afx_msg void OnOut28(); - afx_msg void OnOut29(); - afx_msg void OnOut30(); - afx_msg void OnOut31(); -}; diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7432/Sdk7432/res/Util7432.ico b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7432/Sdk7432/res/Util7432.ico deleted file mode 100644 index d56fbcd..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7432/Sdk7432/res/Util7432.ico and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7432/Sdk7432/res/Util7432.rc2 b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7432/Sdk7432/res/Util7432.rc2 deleted file mode 100644 index 1a1be94..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7432/Sdk7432/res/Util7432.rc2 +++ /dev/null @@ -1,13 +0,0 @@ -// -// Util7233.RC2 - resources Microsoft Visual C++ does not edit directly -// - -#ifdef APSTUDIO_INVOKED -#error this file is not editable by Microsoft Visual C++ -#endif //APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// Add manually edited resources here... - -///////////////////////////////////////////////////////////////////////////// diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7432/Sdk7432/res/black.ico b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7432/Sdk7432/res/black.ico deleted file mode 100644 index b5c375f..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7432/Sdk7432/res/black.ico and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7432/Sdk7432/res/green.ico b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7432/Sdk7432/res/green.ico deleted file mode 100644 index d9a9fd3..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7432/Sdk7432/res/green.ico and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7432/Sdk7432/res/red.ico b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7432/Sdk7432/res/red.ico deleted file mode 100644 index 7644596..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7432/Sdk7432/res/red.ico and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7432/Sdk7432/resource.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7432/Sdk7432/resource.h deleted file mode 100644 index 0a7694d..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7432/Sdk7432/resource.h +++ /dev/null @@ -1,90 +0,0 @@ -//{{NO_DEPENDENCIES}} -// Microsoft Visual C++ generated include file. -// Used by Util7432.rc -// -#define IDM_ABOUTBOX 0x0010 -#define IDD_ABOUTBOX 100 -#define IDS_ABOUTBOX 101 -#define IDD_UTIL7432_DIALOG 102 -#define IDR_MAINFRAME 128 -#define IDI_ICON_BLACK 129 -#define IDI_ICON_GREEN 130 -#define IDI_ICON_RED 131 -#define IDD_CARDID_DIALOG 132 -#define IDC_COMBO_CARDID 1000 -#define IDC_CHECK_DO00 1003 -#define IDC_CHECK_DO01 1004 -#define IDC_ICON_DI00 1005 -#define IDC_ICON_DI01 1006 -#define IDC_ICON_DI02 1007 -#define IDC_ICON_DI03 1008 -#define IDC_ICON_DI04 1009 -#define IDC_ICON_DI05 1010 -#define IDC_ICON_DI06 1011 -#define IDC_ICON_DI07 1012 -#define IDC_ICON_DI08 1013 -#define IDC_ICON_DI09 1014 -#define IDC_STATIC_01 1014 -#define IDC_ICON_DI10 1015 -#define IDC_ICON_DI11 1016 -#define IDC_ICON_DI12 1017 -#define IDC_ICON_DI13 1018 -#define IDC_ICON_DI14 1019 -#define IDC_ICON_DI15 1020 -#define IDC_ICON_DI16 1021 -#define IDC_ICON_DI17 1022 -#define IDC_ICON_DI18 1023 -#define IDC_ICON_DI19 1024 -#define IDC_ICON_DI20 1025 -#define IDC_ICON_DI21 1026 -#define IDC_ICON_DI22 1027 -#define IDC_ICON_DI23 1028 -#define IDC_ICON_DI24 1029 -#define IDC_ICON_DI25 1030 -#define IDC_ICON_DI26 1031 -#define IDC_ICON_DI27 1032 -#define IDC_ICON_DI28 1033 -#define IDC_ICON_DI29 1034 -#define IDC_ICON_DI30 1035 -#define IDC_ICON_DI31 1036 -#define IDC_CHECK_DO02 1037 -#define IDC_CHECK_DO03 1038 -#define IDC_CHECK_DO04 1039 -#define IDC_CHECK_DO05 1040 -#define IDC_CHECK_DO06 1041 -#define IDC_CHECK_DO07 1042 -#define IDC_CHECK_DO08 1043 -#define IDC_CHECK_DO09 1044 -#define IDC_CHECK_DO10 1045 -#define IDC_CHECK_DO11 1046 -#define IDC_CHECK_DO12 1047 -#define IDC_CHECK_DO13 1048 -#define IDC_CHECK_DO14 1049 -#define IDC_CHECK_DO15 1050 -#define IDC_CHECK_DO16 1051 -#define IDC_CHECK_DO17 1052 -#define IDC_CHECK_DO18 1053 -#define IDC_CHECK_DO19 1054 -#define IDC_CHECK_DO20 1055 -#define IDC_CHECK_DO21 1056 -#define IDC_CHECK_DO22 1057 -#define IDC_CHECK_DO23 1058 -#define IDC_CHECK_DO24 1059 -#define IDC_CHECK_DO25 1060 -#define IDC_CHECK_DO26 1061 -#define IDC_CHECK_DO27 1062 -#define IDC_CHECK_DO28 1063 -#define IDC_CHECK_DO29 1064 -#define IDC_CHECK_DO30 1065 -#define IDC_CHECK_DO31 1066 - -// Next default values for new objects -// -#ifdef APSTUDIO_INVOKED -#ifndef APSTUDIO_READONLY_SYMBOLS -#define _APS_NEXT_RESOURCE_VALUE 134 -#define _APS_NEXT_COMMAND_VALUE 32771 -#define _APS_NEXT_CONTROL_VALUE 1001 -#define _APS_NEXT_SYMED_VALUE 101 -#endif -#endif diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7432/Sdk7432/stdafx.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7432/Sdk7432/stdafx.cpp deleted file mode 100644 index 74f1027..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7432/Sdk7432/stdafx.cpp +++ /dev/null @@ -1,8 +0,0 @@ - -// stdafx.cpp : source file that includes just the standard includes -// Util7432.pch will be the pre-compiled header -// stdafx.obj will contain the pre-compiled type information - -#include "stdafx.h" - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7432/Sdk7432/stdafx.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7432/Sdk7432/stdafx.h deleted file mode 100644 index 12123e2..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7432/Sdk7432/stdafx.h +++ /dev/null @@ -1,60 +0,0 @@ - -// stdafx.h : include file for standard system include files, -// or project specific include files that are used frequently, -// but are changed infrequently - -#pragma once - -#ifndef _SECURE_ATL -#define _SECURE_ATL 1 -#endif - -#ifndef VC_EXTRALEAN -#define VC_EXTRALEAN // Exclude rarely-used stuff from Windows headers -#endif - -#include "targetver.h" - -#define _ATL_CSTRING_EXPLICIT_CONSTRUCTORS // some CString constructors will be explicit - -// turns off MFC's hiding of some common and often safely ignored warning messages -#define _AFX_ALL_WARNINGS - -#include // MFC core and standard components -#include // MFC extensions - - -#include // MFC Automation classes - - - -#ifndef _AFX_NO_OLE_SUPPORT -#include // MFC support for Internet Explorer 4 Common Controls -#endif -#ifndef _AFX_NO_AFXCMN_SUPPORT -#include // MFC support for Windows Common Controls -#endif // _AFX_NO_AFXCMN_SUPPORT - -#include // MFC support for ribbons and control bars - - - - - - - - - -#ifdef _UNICODE -#if defined _M_IX86 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='x86' publicKeyToken='6595b64144ccf1df' language='*'\"") -#elif defined _M_IA64 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='ia64' publicKeyToken='6595b64144ccf1df' language='*'\"") -#elif defined _M_X64 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='amd64' publicKeyToken='6595b64144ccf1df' language='*'\"") -#else -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='*' publicKeyToken='6595b64144ccf1df' language='*'\"") -#endif -#endif - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7432/Sdk7432/targetver.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7432/Sdk7432/targetver.h deleted file mode 100644 index 11730d5..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7432/Sdk7432/targetver.h +++ /dev/null @@ -1,26 +0,0 @@ - -#pragma once - -// The following macros define the minimum required platform. The minimum required platform -// is the earliest version of Windows, Internet Explorer etc. that has the necessary features to run -// your application. The macros work by enabling all features available on platform versions up to and -// including the version specified. - -// Modify the following defines if you have to target a platform prior to the ones specified below. -// Refer to MSDN for the latest info on corresponding values for different platforms. -#ifndef WINVER // Specifies that the minimum required platform is Windows Vista. -#define WINVER 0x0600 // Change this to the appropriate value to target other versions of Windows. -#endif - -#ifndef _WIN32_WINNT // Specifies that the minimum required platform is Windows Vista. -#define _WIN32_WINNT 0x0600 // Change this to the appropriate value to target other versions of Windows. -#endif - -#ifndef _WIN32_WINDOWS // Specifies that the minimum required platform is Windows 98. -#define _WIN32_WINDOWS 0x0410 // Change this to the appropriate value to target Windows Me or later. -#endif - -#ifndef _WIN32_IE // Specifies that the minimum required platform is Internet Explorer 7.0. -#define _WIN32_IE 0x0700 // Change this to the appropriate value to target other versions of IE. -#endif - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7433/SDK7433DbEvt/7230int.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7433/SDK7433DbEvt/7230int.suo deleted file mode 100644 index 0246eaf..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7433/SDK7433DbEvt/7230int.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7433/SDK7433DbEvt/7256int.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7433/SDK7433DbEvt/7256int.suo deleted file mode 100644 index 494d925..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7433/SDK7433DbEvt/7256int.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7433/SDK7433DbEvt/7258int.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7433/SDK7433DbEvt/7258int.suo deleted file mode 100644 index ea9e48d..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7433/SDK7433DbEvt/7258int.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7433/SDK7433DbEvt/7433int.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7433/SDK7433DbEvt/7433int.cpp deleted file mode 100644 index 4f1b5c6..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7433/SDK7433DbEvt/7433int.cpp +++ /dev/null @@ -1,110 +0,0 @@ - -// 7433int.cpp : Defines the class behaviors for the application. -// - -#include "stdafx.h" -#include "7433int.h" -#include "7433intDlg.h" -#include "CardIDDlg.h" - -#ifdef _DEBUG -#define new DEBUG_NEW -#endif - - -// C7433intApp - -BEGIN_MESSAGE_MAP(C7433intApp, CWinAppEx) - ON_COMMAND(ID_HELP, &CWinApp::OnHelp) -END_MESSAGE_MAP() - - -// C7433intApp construction - -C7433intApp::C7433intApp() -{ - // TODO: add construction code here, - // Place all significant initialization in InitInstance -} - - -// The one and only C7433intApp object - -C7433intApp theApp; - - -// C7433intApp initialization - -BOOL C7433intApp::InitInstance() -{ - int nCardID = 0; - I16 hCard; - CString strTemp; - INT_PTR nResponse; - - // InitCommonControlsEx() is required on Windows XP if an application - // manifest specifies use of ComCtl32.dll version 6 or later to enable - // visual styles. Otherwise, any window creation will fail. - INITCOMMONCONTROLSEX InitCtrls; - InitCtrls.dwSize = sizeof(InitCtrls); - // Set this to include all the common control classes you want to use - // in your application. - InitCtrls.dwICC = ICC_WIN95_CLASSES; - InitCommonControlsEx(&InitCtrls); - - CWinAppEx::InitInstance(); - - AfxEnableControlContainer(); - - // Standard initialization - // If you are not using these features and wish to reduce the size - // of your final executable, you should remove from the following - // the specific initialization routines you do not need - // Change the registry key under which our settings are stored - // TODO: You should modify this string to be something appropriate - // such as the name of your company or organization - SetRegistryKey(_T("Local AppWizard-Generated Applications")); - - CCardIDDlg CardDlg( nCardID ); - - nResponse = CardDlg.DoModal(); - if (nResponse == IDOK) - { - nCardID = CardDlg.GetCardID(); - - if ((hCard=Register_Card(PCI_7433, nCardID)) < 0) - { - strTemp.Format( TEXT("Register_Card Error = %d"), hCard); - AfxMessageBox( strTemp ); - } - else - { - C7433intDlg dlg(hCard); - m_pMainWnd = &dlg; - nResponse = dlg.DoModal(); - if (nResponse == IDOK) - { - // TODO: Place code here to handle when the dialog is - // dismissed with OK - } - else if (nResponse == IDCANCEL) - { - // TODO: Place code here to handle when the dialog is - // dismissed with Cancel - } - - if (hCard >= 0) Release_Card(hCard); - } - - } - else if (nResponse == IDCANCEL) - { - // TODO: Place code here to handle when the dialog is - // dismissed with Cancel - } - - - // Since the dialog has been closed, return FALSE so that we exit the - // application, rather than start the application's message pump. - return FALSE; -} diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7433/SDK7433DbEvt/7433int.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7433/SDK7433DbEvt/7433int.h deleted file mode 100644 index 2578419..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7433/SDK7433DbEvt/7433int.h +++ /dev/null @@ -1,32 +0,0 @@ - -// 7433int.h : main header file for the PROJECT_NAME application -// - -#pragma once - -#ifndef __AFXWIN_H__ - #error "include 'stdafx.h' before including this file for PCH" -#endif - -#include "resource.h" // main symbols - - -// C7433intApp: -// See 7433int.cpp for the implementation of this class -// - -class C7433intApp : public CWinAppEx -{ -public: - C7433intApp(); - -// Overrides - public: - virtual BOOL InitInstance(); - -// Implementation - - DECLARE_MESSAGE_MAP() -}; - -extern C7433intApp theApp; \ No newline at end of file diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7433/SDK7433DbEvt/7433int.rc b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7433/SDK7433DbEvt/7433int.rc deleted file mode 100644 index 8c6eb64..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7433/SDK7433DbEvt/7433int.rc +++ /dev/null @@ -1,242 +0,0 @@ -// Microsoft Visual C++ generated resource script. -// -#include "resource.h" - -#define APSTUDIO_READONLY_SYMBOLS -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 2 resource. -// -#ifndef APSTUDIO_INVOKED -#include "targetver.h" -#endif -#include "afxres.h" - -///////////////////////////////////////////////////////////////////////////// -#undef APSTUDIO_READONLY_SYMBOLS - -///////////////////////////////////////////////////////////////////////////// -// Chinese (Taiwan) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_CHT) -#ifdef _WIN32 -LANGUAGE LANG_CHINESE, SUBLANG_CHINESE_TRADITIONAL -#pragma code_page(950) -#endif //_WIN32 - -#ifdef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// TEXTINCLUDE -// - -1 TEXTINCLUDE -BEGIN - "resource.h\0" -END - -2 TEXTINCLUDE -BEGIN - "#ifndef APSTUDIO_INVOKED\r\n" - "#include ""targetver.h""\r\n" - "#endif\r\n" - "#include ""afxres.h""\r\n" - "\0" -END - -3 TEXTINCLUDE -BEGIN - "#define _AFX_NO_SPLITTER_RESOURCES\r\n" - "#define _AFX_NO_OLE_RESOURCES\r\n" - "#define _AFX_NO_TRACKER_RESOURCES\r\n" - "#define _AFX_NO_PROPERTY_RESOURCES\r\n" - "\r\n" - "#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)\r\n" - "LANGUAGE 9, 1\r\n" - "#pragma code_page(1252)\r\n" - "#include ""res\\My7433int.rc2"" // non-Microsoft Visual C++ edited resources\r\n" - "#include ""afxres.rc"" // Standard components\r\n" - "#endif\r\n" - "\0" -END - -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// Icon -// - -// Icon with lowest ID value placed first to ensure application icon -// remains consistent on all systems. -IDR_MAINFRAME ICON "res\\7433int.ico" -#endif // Chinese (Taiwan) resources -///////////////////////////////////////////////////////////////////////////// - - -///////////////////////////////////////////////////////////////////////////// -// English (U.S.) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -#ifdef _WIN32 -LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US -#pragma code_page(1252) -#endif //_WIN32 - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog -// - -IDD_ABOUTBOX DIALOGEX 0, 0, 170, 62 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "About 7433int" -FONT 8, "MS Shell Dlg", 0, 0, 0x1 -BEGIN - ICON IDR_MAINFRAME,IDC_STATIC,14,14,21,20 - LTEXT "7433int, Version 1.0",IDC_STATIC,42,14,114,8,SS_NOPREFIX - LTEXT "Copyright (C) 2010",IDC_STATIC,42,26,114,8 - DEFPUSHBUTTON "OK",IDOK,113,41,50,14,WS_GROUP -END - -IDD_MY7433INT_DIALOG DIALOGEX 0, 0, 228, 84 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU -EXSTYLE WS_EX_APPWINDOW -CAPTION "PCI-7433 Dual Interrupt Sample" -FONT 8, "MS Shell Dlg", 0, 0, 0x1 -BEGIN - LTEXT "This program shows the number of occurrence of interrupt for Dual interrupt lines.\nINT1 interrupt is generated by external signal from DI bit-0.\nINT2 interrupt is generated by external signal from DI bit-1.",IDC_STATIC,9,6,207,37 - LTEXT "INT1 Count =",IDC_STATIC_05,54,47,85,13 - LTEXT "INT2 Count =",IDC_STATIC_06,54,66,85,13 -END - -IDD_CARDID_DIALOG DIALOGEX 0, 0, 163, 88 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "Card ID" -FONT 8, "MS Shell Dlg", 400, 0, 0x1 -BEGIN - COMBOBOX IDC_COMBO_CARDID,73,17,71,126,CBS_DROPDOWN | WS_VSCROLL | WS_TABSTOP - LTEXT "Card Number",IDC_STATIC_01,19,18,46,12 - PUSHBUTTON "OK",IDOK,20,50,58,19 - PUSHBUTTON "CANCEL",IDCANCEL,84,50,58,19 -END - - -///////////////////////////////////////////////////////////////////////////// -// -// Version -// - -VS_VERSION_INFO VERSIONINFO - FILEVERSION 1,0,0,1 - PRODUCTVERSION 1,0,0,1 - FILEFLAGSMASK 0x3fL -#ifdef _DEBUG - FILEFLAGS 0x1L -#else - FILEFLAGS 0x0L -#endif - FILEOS 0x4L - FILETYPE 0x1L - FILESUBTYPE 0x0L -BEGIN - BLOCK "StringFileInfo" - BEGIN - BLOCK "040904e4" - BEGIN - VALUE "CompanyName", "TODO: " - VALUE "FileDescription", "TODO: " - VALUE "FileVersion", "1.0.0.1" - VALUE "InternalName", "7433int.exe" - VALUE "LegalCopyright", "TODO: (c) . All rights reserved." - VALUE "OriginalFilename", "7433int.exe" - VALUE "ProductName", "TODO: " - VALUE "ProductVersion", "1.0.0.1" - END - END - BLOCK "VarFileInfo" - BEGIN - VALUE "Translation", 0x409, 1252 - END -END - - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog Info -// - -IDD_CARDID_DIALOG DLGINIT -BEGIN - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0030, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0031, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0032, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0033, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0034, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0035, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0036, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0037, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0038, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0039, - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3031, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3131, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3231, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3331, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3431, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3531, "\000" - 0 -END - - -///////////////////////////////////////////////////////////////////////////// -// -// String Table -// - -STRINGTABLE -BEGIN - IDS_ABOUTBOX "&About 7433int..." -END - -#endif // English (U.S.) resources -///////////////////////////////////////////////////////////////////////////// - - - -#ifndef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 3 resource. -// -#define _AFX_NO_SPLITTER_RESOURCES -#define _AFX_NO_OLE_RESOURCES -#define _AFX_NO_TRACKER_RESOURCES -#define _AFX_NO_PROPERTY_RESOURCES - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -LANGUAGE 9, 1 -#pragma code_page(1252) -#include "res\My7433int.rc2" // non-Microsoft Visual C++ edited resources -#include "afxres.rc" // Standard components -#endif - -///////////////////////////////////////////////////////////////////////////// -#endif // not APSTUDIO_INVOKED - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7433/SDK7433DbEvt/7433int.sln b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7433/SDK7433DbEvt/7433int.sln deleted file mode 100644 index 571010c..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7433/SDK7433DbEvt/7433int.sln +++ /dev/null @@ -1,20 +0,0 @@ - -Microsoft Visual Studio Solution File, Format Version 10.00 -# Visual Studio 2008 -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "7433int", "7433int.vcproj", "{7D5D9EC5-ED97-47EE-B6F4-ACCD71069808}" -EndProject -Global - GlobalSection(SolutionConfigurationPlatforms) = preSolution - Debug|x64 = Debug|x64 - Release|x64 = Release|x64 - EndGlobalSection - GlobalSection(ProjectConfigurationPlatforms) = postSolution - {7D5D9EC5-ED97-47EE-B6F4-ACCD71069808}.Debug|x64.ActiveCfg = Debug|x64 - {7D5D9EC5-ED97-47EE-B6F4-ACCD71069808}.Debug|x64.Build.0 = Debug|x64 - {7D5D9EC5-ED97-47EE-B6F4-ACCD71069808}.Release|x64.ActiveCfg = Release|x64 - {7D5D9EC5-ED97-47EE-B6F4-ACCD71069808}.Release|x64.Build.0 = Release|x64 - EndGlobalSection - GlobalSection(SolutionProperties) = preSolution - HideSolutionNode = FALSE - EndGlobalSection -EndGlobal diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7433/SDK7433DbEvt/7433int.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7433/SDK7433DbEvt/7433int.suo deleted file mode 100644 index cc1b8e7..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7433/SDK7433DbEvt/7433int.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7433/SDK7433DbEvt/7433int.vcproj b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7433/SDK7433DbEvt/7433int.vcproj deleted file mode 100644 index 020f6fe..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7433/SDK7433DbEvt/7433int.vcproj +++ /dev/null @@ -1,286 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7433/SDK7433DbEvt/7433intDlg.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7433/SDK7433DbEvt/7433intDlg.cpp deleted file mode 100644 index cb04d16..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7433/SDK7433DbEvt/7433intDlg.cpp +++ /dev/null @@ -1,275 +0,0 @@ - -// 7433intDlg.cpp : implementation file -// - -#include "stdafx.h" -#include "7433int.h" -#include "7433intDlg.h" - -#ifdef _DEBUG -#define new DEBUG_NEW -#endif - -int gIntCount, gIntCount2; -HANDLE ghIntEvent[2]; - -BOOLEAN gbExitThread, gbExitThread2; - - - -DWORD WINAPI IntThread( LPVOID lpParam ) -{ - - while ( gbExitThread == FALSE ) - { - if ( WaitForSingleObject(ghIntEvent[0], INFINITE) == WAIT_OBJECT_0 ) - { - gIntCount++; - ResetEvent(ghIntEvent[0]); - } - } - - return (DWORD) 0; -} - -DWORD WINAPI IntThread2( LPVOID lpParam ) -{ - - while ( gbExitThread2 == FALSE ) - { - if ( WaitForSingleObject(ghIntEvent[1], INFINITE) == WAIT_OBJECT_0 ) - { - gIntCount2++; - ResetEvent(ghIntEvent[1]); - } - } - - return (DWORD) 0; -} - -// CAboutDlg dialog used for App About - -class CAboutDlg : public CDialog -{ -public: - CAboutDlg(); - -// Dialog Data - enum { IDD = IDD_ABOUTBOX }; - - protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - -// Implementation -protected: - DECLARE_MESSAGE_MAP() -}; - -CAboutDlg::CAboutDlg() : CDialog(CAboutDlg::IDD) -{ -} - -void CAboutDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); -} - -BEGIN_MESSAGE_MAP(CAboutDlg, CDialog) -END_MESSAGE_MAP() - - -// C7433intDlg dialog - - - - -C7433intDlg::C7433intDlg(I16 hCard, CWnd* pParent /*=NULL*/) - : CDialog(C7433intDlg::IDD, pParent) -{ - m_hIcon = AfxGetApp()->LoadIcon(IDR_MAINFRAME); - - m_hCard = hCard; - m_hThread = m_hThread2 = NULL; - m_nTimer = -1; - m_dwOutVal = 0x00000000; -} - -void C7433intDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); -} - -BEGIN_MESSAGE_MAP(C7433intDlg, CDialog) - ON_WM_SYSCOMMAND() - ON_WM_PAINT() - ON_WM_QUERYDRAGICON() - //}}AFX_MSG_MAP - ON_WM_DESTROY() - ON_WM_TIMER() -// ON_BN_CLICKED(IDC_BT_OUTPUT, &C7433intDlg::OnOutput) -END_MESSAGE_MAP() - - -// C7433intDlg message handlers - -BOOL C7433intDlg::OnInitDialog() -{ - CDialog::OnInitDialog(); - - // Add "About..." menu item to system menu. - - // IDM_ABOUTBOX must be in the system command range. - ASSERT((IDM_ABOUTBOX & 0xFFF0) == IDM_ABOUTBOX); - ASSERT(IDM_ABOUTBOX < 0xF000); - - CMenu* pSysMenu = GetSystemMenu(FALSE); - if (pSysMenu != NULL) - { - BOOL bNameValid; - CString strAboutMenu; - bNameValid = strAboutMenu.LoadString(IDS_ABOUTBOX); - ASSERT(bNameValid); - if (!strAboutMenu.IsEmpty()) - { - pSysMenu->AppendMenu(MF_SEPARATOR); - pSysMenu->AppendMenu(MF_STRING, IDM_ABOUTBOX, strAboutMenu); - } - } - - // Set the icon for this dialog. The framework does this automatically - // when the application's main window is not a dialog - SetIcon(m_hIcon, TRUE); // Set big icon - SetIcon(m_hIcon, FALSE); // Set small icon - - // TODO: Add extra initialization here - I16 err; - - err = DIO_SetDualInterrupt(m_hCard, INT1_EXT_SIGNAL, INT2_EXT_SIGNAL, ghIntEvent); - - gIntCount = 0; - gbExitThread = FALSE; - m_hThread = CreateThread( NULL, // default security attributes - 0, // use default stack size - IntThread, // thread function name - NULL, // argument to thread function - 0, // use default creation flags - NULL); // returns the thread identifier - - gIntCount2 = 0; - gbExitThread = FALSE; - m_hThread2 = CreateThread( NULL, // default security attributes - 0, // use default stack size - IntThread2, // thread function name - NULL, // argument to thread function - 0, // use default creation flags - NULL); // returns the thread identifier - - m_nTimer = SetTimer( 1, 250, NULL ); - - return TRUE; // return TRUE unless you set the focus to a control -} - -void C7433intDlg::OnSysCommand(UINT nID, LPARAM lParam) -{ - if ((nID & 0xFFF0) == IDM_ABOUTBOX) - { - CAboutDlg dlgAbout; - dlgAbout.DoModal(); - } - else - { - CDialog::OnSysCommand(nID, lParam); - } -} - -// If you add a minimize button to your dialog, you will need the code below -// to draw the icon. For MFC applications using the document/view model, -// this is automatically done for you by the framework. - -void C7433intDlg::OnPaint() -{ - if (IsIconic()) - { - CPaintDC dc(this); // device context for painting - - SendMessage(WM_ICONERASEBKGND, reinterpret_cast(dc.GetSafeHdc()), 0); - - // Center icon in client rectangle - int cxIcon = GetSystemMetrics(SM_CXICON); - int cyIcon = GetSystemMetrics(SM_CYICON); - CRect rect; - GetClientRect(&rect); - int x = (rect.Width() - cxIcon + 1) / 2; - int y = (rect.Height() - cyIcon + 1) / 2; - - // Draw the icon - dc.DrawIcon(x, y, m_hIcon); - } - else - { - CDialog::OnPaint(); - } -} - -// The system calls this function to obtain the cursor to display while the user drags -// the minimized window. -HCURSOR C7433intDlg::OnQueryDragIcon() -{ - return static_cast(m_hIcon); -} - - -void C7433intDlg::OnDestroy() -{ - CDialog::OnDestroy(); - - // TODO: Add your message handler code here - DIO_SetDualInterrupt(m_hCard, INT1_DISABLE, INT2_DISABLE, ghIntEvent); - - if( m_nTimer != -1 ) - { - KillTimer( m_nTimer ); - m_nTimer = -1; - } - - - if( m_hThread != NULL ) - { - gbExitThread = TRUE; // termnate the IntThread - SetEvent( ghIntEvent[0] ); - - if (WaitForSingleObject(m_hThread, 5000) == WAIT_OBJECT_0) - { - CloseHandle( m_hThread ); - m_hThread = NULL; - } - } - - if( m_hThread2 != NULL ) - { - gbExitThread2 = TRUE; // termnate the IntThread - SetEvent( ghIntEvent[1] ); - - if (WaitForSingleObject(m_hThread2, 5000) == WAIT_OBJECT_0) - { - CloseHandle( m_hThread2 ); - m_hThread2 = NULL; - } - } - -} - -void C7433intDlg::OnTimer(UINT_PTR nIDEvent) -{ - // TODO: Add your message handler code here and/or call default - CString strTemp; - - strTemp.Format( TEXT("INT1 Count = %d"), gIntCount ); - SetDlgItemText( IDC_STATIC_05, strTemp ); - - strTemp.Format( TEXT("INT2 Count = %d"), gIntCount2 ); - SetDlgItemText( IDC_STATIC_06, strTemp ); - - CDialog::OnTimer(nIDEvent); -} - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7433/SDK7433DbEvt/7433intDlg.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7433/SDK7433DbEvt/7433intDlg.h deleted file mode 100644 index cbc330e..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7433/SDK7433DbEvt/7433intDlg.h +++ /dev/null @@ -1,40 +0,0 @@ - -// 7433intDlg.h : header file -// -#include "Dask64.h" - -#pragma once - - -// C7433intDlg dialog -class C7433intDlg : public CDialog -{ -// Construction -public: - C7433intDlg(I16 hCard, CWnd* pParent = NULL); // standard constructor - -// Dialog Data - enum { IDD = IDD_MY7433INT_DIALOG }; - - protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - - -// Implementation -protected: - HICON m_hIcon; - UINT_PTR m_nTimer; - HANDLE m_hThread, m_hThread2; - I16 m_hCard; - U32 m_dwOutVal; - - // Generated message map functions - virtual BOOL OnInitDialog(); - afx_msg void OnSysCommand(UINT nID, LPARAM lParam); - afx_msg void OnPaint(); - afx_msg HCURSOR OnQueryDragIcon(); - DECLARE_MESSAGE_MAP() -public: - afx_msg void OnDestroy(); - afx_msg void OnTimer(UINT_PTR nIDEvent); -}; diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7433/SDK7433DbEvt/CardIDDlg.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7433/SDK7433DbEvt/CardIDDlg.cpp deleted file mode 100644 index 38da254..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7433/SDK7433DbEvt/CardIDDlg.cpp +++ /dev/null @@ -1,67 +0,0 @@ -// CardIDDlg.cpp : implementation file -// - -#include "stdafx.h" -#include "7433int.h" -#include "CardIDDlg.h" - - -// CCardIDDlg dialog - -IMPLEMENT_DYNAMIC(CCardIDDlg, CDialog) - -CCardIDDlg::CCardIDDlg(int nCardIdx, CWnd* pParent /*=NULL*/) - : CDialog(CCardIDDlg::IDD, pParent) -{ - m_nCardIdx = nCardIdx; -} - -CCardIDDlg::~CCardIDDlg() -{ -} - -void CCardIDDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); - DDX_Control(pDX, IDC_COMBO_CARDID, m_cbCardID); -} - - -BEGIN_MESSAGE_MAP(CCardIDDlg, CDialog) -// ON_CBN_SELCHANGE(IDC_COMBO_CARDID, &CCardIDDlg::OnCbnSelchangeComboCardid) -ON_BN_CLICKED(IDOK, &CCardIDDlg::OnBnClickedOk) -//ON_WM_CTLCOLOR() -END_MESSAGE_MAP() - - -// CCardIDDlg message handlers - - -void CCardIDDlg::OnBnClickedOk() -{ - // TODO: Add your control notification handler code here - -// UpdateData(TRUE); - m_nCardIdx = m_cbCardID.GetCurSel(); - - OnOK(); -} - -BOOL CCardIDDlg::OnInitDialog() -{ - CDialog::OnInitDialog(); - - // TODO: Add extra initialization here - m_cbCardID.SetCurSel( m_nCardIdx ); - - return TRUE; // return TRUE unless you set the focus to a control - // EXCEPTION: OCX Property Pages should return FALSE -} - -// the function to get the selected CardID -int CCardIDDlg::GetCardID(void) -{ - return m_nCardIdx; -} - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7433/SDK7433DbEvt/CardIDDlg.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7433/SDK7433DbEvt/CardIDDlg.h deleted file mode 100644 index 54628ea..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7433/SDK7433DbEvt/CardIDDlg.h +++ /dev/null @@ -1,33 +0,0 @@ -#pragma once -#include "afxwin.h" - - -// CCardIDDlg dialog - -class CCardIDDlg : public CDialog -{ - DECLARE_DYNAMIC(CCardIDDlg) - -public: - CCardIDDlg(int nCardIdx, CWnd* pParent = NULL); // standard constructor - virtual ~CCardIDDlg(); - -// Dialog Data - enum { IDD = IDD_CARDID_DIALOG }; - -protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - - DECLARE_MESSAGE_MAP() -public: -// afx_msg void OnCbnSelchangeComboCardid(); - afx_msg void OnBnClickedOk(); - // the setting of CardID ComboBox - int m_nCardIdx; - virtual BOOL OnInitDialog(); - // the control of CardID ComboBox - CComboBox m_cbCardID; - // the function to get the selected CardID - int GetCardID(void); -// afx_msg HBRUSH OnCtlColor(CDC* pDC, CWnd* pWnd, UINT nCtlColor); -}; diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7433/SDK7433DbEvt/ReadMe.txt b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7433/SDK7433DbEvt/ReadMe.txt deleted file mode 100644 index 4f6a876..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7433/SDK7433DbEvt/ReadMe.txt +++ /dev/null @@ -1,93 +0,0 @@ -================================================================================ - MICROSOFT FOUNDATION CLASS LIBRARY : 7433int Project Overview -=============================================================================== - -The application wizard has created this 7433int application for -you. This application not only demonstrates the basics of using the Microsoft -Foundation Classes but is also a starting point for writing your application. - -This file contains a summary of what you will find in each of the files that -make up your 7433int application. - -7433int.vcproj - This is the main project file for VC++ projects generated using an application wizard. - It contains information about the version of Visual C++ that generated the file, and - information about the platforms, configurations, and project features selected with the - application wizard. - -7433int.h - This is the main header file for the application. It includes other - project specific headers (including Resource.h) and declares the - C7433intApp application class. - -7433int.cpp - This is the main application source file that contains the application - class C7433intApp. - -7433int.rc - This is a listing of all of the Microsoft Windows resources that the - program uses. It includes the icons, bitmaps, and cursors that are stored - in the RES subdirectory. This file can be directly edited in Microsoft - Visual C++. Your project resources are in 1033. - -res\7433int.ico - This is an icon file, which is used as the application's icon. This - icon is included by the main resource file 7433int.rc. - -res\My7433int.rc2 - This file contains resources that are not edited by Microsoft - Visual C++. You should place all resources not editable by - the resource editor in this file. - - -///////////////////////////////////////////////////////////////////////////// - -The application wizard creates one dialog class: - -7433intDlg.h, 7433intDlg.cpp - the dialog - These files contain your C7433intDlg class. This class defines - the behavior of your application's main dialog. The dialog's template is - in 7433int.rc, which can be edited in Microsoft Visual C++. - - -///////////////////////////////////////////////////////////////////////////// - -Other Features: - -ActiveX Controls - The application includes support to use ActiveX controls. - -///////////////////////////////////////////////////////////////////////////// - -Other standard files: - -StdAfx.h, StdAfx.cpp - These files are used to build a precompiled header (PCH) file - named 7433int.pch and a precompiled types file named StdAfx.obj. - -Resource.h - This is the standard header file, which defines new resource IDs. - Microsoft Visual C++ reads and updates this file. - -7433int.manifest - Application manifest files are used by Windows XP to describe an applications - dependency on specific versions of Side-by-Side assemblies. The loader uses this - information to load the appropriate assembly from the assembly cache or private - from the application. The Application manifest maybe included for redistribution - as an external .manifest file that is installed in the same folder as the application - executable or it may be included in the executable in the form of a resource. -///////////////////////////////////////////////////////////////////////////// - -Other notes: - -The application wizard uses "TODO:" to indicate parts of the source code you -should add to or customize. - -If your application uses MFC in a shared DLL, you will need -to redistribute the MFC DLLs. If your application is in a language -other than the operating system's locale, you will also have to -redistribute the corresponding localized resources MFC90XXX.DLL. -For more information on both of these topics, please see the section on -redistributing Visual C++ applications in MSDN documentation. - -///////////////////////////////////////////////////////////////////////////// diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7433/SDK7433DbEvt/res/7433int.ico b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7433/SDK7433DbEvt/res/7433int.ico deleted file mode 100644 index d56fbcd..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7433/SDK7433DbEvt/res/7433int.ico and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7433/SDK7433DbEvt/res/My7433int.rc2 b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7433/SDK7433DbEvt/res/My7433int.rc2 deleted file mode 100644 index 7bd3593..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7433/SDK7433DbEvt/res/My7433int.rc2 +++ /dev/null @@ -1,13 +0,0 @@ -// -// My7256int.RC2 - resources Microsoft Visual C++ does not edit directly -// - -#ifdef APSTUDIO_INVOKED -#error this file is not editable by Microsoft Visual C++ -#endif //APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// Add manually edited resources here... - -///////////////////////////////////////////////////////////////////////////// diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7433/SDK7433DbEvt/resource.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7433/SDK7433DbEvt/resource.h deleted file mode 100644 index 4c21f93..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7433/SDK7433DbEvt/resource.h +++ /dev/null @@ -1,28 +0,0 @@ -//{{NO_DEPENDENCIES}} -// Microsoft Visual C++ generated include file. -// Used by 7433int.rc -// -#define IDM_ABOUTBOX 0x0010 -#define IDD_ABOUTBOX 100 -#define IDS_ABOUTBOX 101 -#define IDD_MY7433INT_DIALOG 102 -#define IDR_MAINFRAME 128 -#define IDD_CARDID_DIALOG 129 -#define IDC_COMBO_CARDID 1000 -#define IDC_BUTTON1 1000 -#define IDC_BT_OUTPUT 1000 -#define IDC_STATIC_05 1007 -#define IDC_STATIC_06 1008 -#define IDC_STATIC_6 1008 -#define IDC_STATIC_01 1014 - -// Next default values for new objects -// -#ifdef APSTUDIO_INVOKED -#ifndef APSTUDIO_READONLY_SYMBOLS -#define _APS_NEXT_RESOURCE_VALUE 131 -#define _APS_NEXT_COMMAND_VALUE 32771 -#define _APS_NEXT_CONTROL_VALUE 1001 -#define _APS_NEXT_SYMED_VALUE 101 -#endif -#endif diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7433/SDK7433DbEvt/stdafx.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7433/SDK7433DbEvt/stdafx.cpp deleted file mode 100644 index 59cfe36..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7433/SDK7433DbEvt/stdafx.cpp +++ /dev/null @@ -1,8 +0,0 @@ - -// stdafx.cpp : source file that includes just the standard includes -// 7433int.pch will be the pre-compiled header -// stdafx.obj will contain the pre-compiled type information - -#include "stdafx.h" - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7433/SDK7433DbEvt/stdafx.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7433/SDK7433DbEvt/stdafx.h deleted file mode 100644 index 12123e2..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7433/SDK7433DbEvt/stdafx.h +++ /dev/null @@ -1,60 +0,0 @@ - -// stdafx.h : include file for standard system include files, -// or project specific include files that are used frequently, -// but are changed infrequently - -#pragma once - -#ifndef _SECURE_ATL -#define _SECURE_ATL 1 -#endif - -#ifndef VC_EXTRALEAN -#define VC_EXTRALEAN // Exclude rarely-used stuff from Windows headers -#endif - -#include "targetver.h" - -#define _ATL_CSTRING_EXPLICIT_CONSTRUCTORS // some CString constructors will be explicit - -// turns off MFC's hiding of some common and often safely ignored warning messages -#define _AFX_ALL_WARNINGS - -#include // MFC core and standard components -#include // MFC extensions - - -#include // MFC Automation classes - - - -#ifndef _AFX_NO_OLE_SUPPORT -#include // MFC support for Internet Explorer 4 Common Controls -#endif -#ifndef _AFX_NO_AFXCMN_SUPPORT -#include // MFC support for Windows Common Controls -#endif // _AFX_NO_AFXCMN_SUPPORT - -#include // MFC support for ribbons and control bars - - - - - - - - - -#ifdef _UNICODE -#if defined _M_IX86 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='x86' publicKeyToken='6595b64144ccf1df' language='*'\"") -#elif defined _M_IA64 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='ia64' publicKeyToken='6595b64144ccf1df' language='*'\"") -#elif defined _M_X64 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='amd64' publicKeyToken='6595b64144ccf1df' language='*'\"") -#else -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='*' publicKeyToken='6595b64144ccf1df' language='*'\"") -#endif -#endif - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7433/SDK7433DbEvt/targetver.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7433/SDK7433DbEvt/targetver.h deleted file mode 100644 index 11730d5..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7433/SDK7433DbEvt/targetver.h +++ /dev/null @@ -1,26 +0,0 @@ - -#pragma once - -// The following macros define the minimum required platform. The minimum required platform -// is the earliest version of Windows, Internet Explorer etc. that has the necessary features to run -// your application. The macros work by enabling all features available on platform versions up to and -// including the version specified. - -// Modify the following defines if you have to target a platform prior to the ones specified below. -// Refer to MSDN for the latest info on corresponding values for different platforms. -#ifndef WINVER // Specifies that the minimum required platform is Windows Vista. -#define WINVER 0x0600 // Change this to the appropriate value to target other versions of Windows. -#endif - -#ifndef _WIN32_WINNT // Specifies that the minimum required platform is Windows Vista. -#define _WIN32_WINNT 0x0600 // Change this to the appropriate value to target other versions of Windows. -#endif - -#ifndef _WIN32_WINDOWS // Specifies that the minimum required platform is Windows 98. -#define _WIN32_WINDOWS 0x0410 // Change this to the appropriate value to target Windows Me or later. -#endif - -#ifndef _WIN32_IE // Specifies that the minimum required platform is Internet Explorer 7.0. -#define _WIN32_IE 0x0700 // Change this to the appropriate value to target other versions of IE. -#endif - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7433/SDK7433DbEvtMsg/7230int.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7433/SDK7433DbEvtMsg/7230int.suo deleted file mode 100644 index 3328f8e..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7433/SDK7433DbEvtMsg/7230int.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7433/SDK7433DbEvtMsg/7256int.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7433/SDK7433DbEvtMsg/7256int.suo deleted file mode 100644 index 01299a3..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7433/SDK7433DbEvtMsg/7256int.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7433/SDK7433DbEvtMsg/7258int.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7433/SDK7433DbEvtMsg/7258int.suo deleted file mode 100644 index b00e489..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7433/SDK7433DbEvtMsg/7258int.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7433/SDK7433DbEvtMsg/7433int.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7433/SDK7433DbEvtMsg/7433int.cpp deleted file mode 100644 index 4f1b5c6..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7433/SDK7433DbEvtMsg/7433int.cpp +++ /dev/null @@ -1,110 +0,0 @@ - -// 7433int.cpp : Defines the class behaviors for the application. -// - -#include "stdafx.h" -#include "7433int.h" -#include "7433intDlg.h" -#include "CardIDDlg.h" - -#ifdef _DEBUG -#define new DEBUG_NEW -#endif - - -// C7433intApp - -BEGIN_MESSAGE_MAP(C7433intApp, CWinAppEx) - ON_COMMAND(ID_HELP, &CWinApp::OnHelp) -END_MESSAGE_MAP() - - -// C7433intApp construction - -C7433intApp::C7433intApp() -{ - // TODO: add construction code here, - // Place all significant initialization in InitInstance -} - - -// The one and only C7433intApp object - -C7433intApp theApp; - - -// C7433intApp initialization - -BOOL C7433intApp::InitInstance() -{ - int nCardID = 0; - I16 hCard; - CString strTemp; - INT_PTR nResponse; - - // InitCommonControlsEx() is required on Windows XP if an application - // manifest specifies use of ComCtl32.dll version 6 or later to enable - // visual styles. Otherwise, any window creation will fail. - INITCOMMONCONTROLSEX InitCtrls; - InitCtrls.dwSize = sizeof(InitCtrls); - // Set this to include all the common control classes you want to use - // in your application. - InitCtrls.dwICC = ICC_WIN95_CLASSES; - InitCommonControlsEx(&InitCtrls); - - CWinAppEx::InitInstance(); - - AfxEnableControlContainer(); - - // Standard initialization - // If you are not using these features and wish to reduce the size - // of your final executable, you should remove from the following - // the specific initialization routines you do not need - // Change the registry key under which our settings are stored - // TODO: You should modify this string to be something appropriate - // such as the name of your company or organization - SetRegistryKey(_T("Local AppWizard-Generated Applications")); - - CCardIDDlg CardDlg( nCardID ); - - nResponse = CardDlg.DoModal(); - if (nResponse == IDOK) - { - nCardID = CardDlg.GetCardID(); - - if ((hCard=Register_Card(PCI_7433, nCardID)) < 0) - { - strTemp.Format( TEXT("Register_Card Error = %d"), hCard); - AfxMessageBox( strTemp ); - } - else - { - C7433intDlg dlg(hCard); - m_pMainWnd = &dlg; - nResponse = dlg.DoModal(); - if (nResponse == IDOK) - { - // TODO: Place code here to handle when the dialog is - // dismissed with OK - } - else if (nResponse == IDCANCEL) - { - // TODO: Place code here to handle when the dialog is - // dismissed with Cancel - } - - if (hCard >= 0) Release_Card(hCard); - } - - } - else if (nResponse == IDCANCEL) - { - // TODO: Place code here to handle when the dialog is - // dismissed with Cancel - } - - - // Since the dialog has been closed, return FALSE so that we exit the - // application, rather than start the application's message pump. - return FALSE; -} diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7433/SDK7433DbEvtMsg/7433int.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7433/SDK7433DbEvtMsg/7433int.h deleted file mode 100644 index 2578419..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7433/SDK7433DbEvtMsg/7433int.h +++ /dev/null @@ -1,32 +0,0 @@ - -// 7433int.h : main header file for the PROJECT_NAME application -// - -#pragma once - -#ifndef __AFXWIN_H__ - #error "include 'stdafx.h' before including this file for PCH" -#endif - -#include "resource.h" // main symbols - - -// C7433intApp: -// See 7433int.cpp for the implementation of this class -// - -class C7433intApp : public CWinAppEx -{ -public: - C7433intApp(); - -// Overrides - public: - virtual BOOL InitInstance(); - -// Implementation - - DECLARE_MESSAGE_MAP() -}; - -extern C7433intApp theApp; \ No newline at end of file diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7433/SDK7433DbEvtMsg/7433int.rc b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7433/SDK7433DbEvtMsg/7433int.rc deleted file mode 100644 index 3519cd1..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7433/SDK7433DbEvtMsg/7433int.rc +++ /dev/null @@ -1,269 +0,0 @@ -// Microsoft Visual C++ generated resource script. -// -#include "resource.h" - -#define APSTUDIO_READONLY_SYMBOLS -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 2 resource. -// -#ifndef APSTUDIO_INVOKED -#include "targetver.h" -#endif -#include "afxres.h" - -///////////////////////////////////////////////////////////////////////////// -#undef APSTUDIO_READONLY_SYMBOLS - -///////////////////////////////////////////////////////////////////////////// -// Chinese (Taiwan) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_CHT) -#ifdef _WIN32 -LANGUAGE LANG_CHINESE, SUBLANG_CHINESE_TRADITIONAL -#pragma code_page(950) -#endif //_WIN32 - -#ifdef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// TEXTINCLUDE -// - -1 TEXTINCLUDE -BEGIN - "resource.h\0" -END - -2 TEXTINCLUDE -BEGIN - "#ifndef APSTUDIO_INVOKED\r\n" - "#include ""targetver.h""\r\n" - "#endif\r\n" - "#include ""afxres.h""\r\n" - "\0" -END - -3 TEXTINCLUDE -BEGIN - "#define _AFX_NO_SPLITTER_RESOURCES\r\n" - "#define _AFX_NO_OLE_RESOURCES\r\n" - "#define _AFX_NO_TRACKER_RESOURCES\r\n" - "#define _AFX_NO_PROPERTY_RESOURCES\r\n" - "\r\n" - "#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)\r\n" - "LANGUAGE 9, 1\r\n" - "#pragma code_page(1252)\r\n" - "#include ""res\\My7433int.rc2"" // non-Microsoft Visual C++ edited resources\r\n" - "#include ""afxres.rc"" // Standard components\r\n" - "#endif\r\n" - "\0" -END - -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// Icon -// - -// Icon with lowest ID value placed first to ensure application icon -// remains consistent on all systems. -IDR_MAINFRAME ICON "res\\7433int.ico" -#endif // Chinese (Taiwan) resources -///////////////////////////////////////////////////////////////////////////// - - -///////////////////////////////////////////////////////////////////////////// -// English (U.S.) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -#ifdef _WIN32 -LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US -#pragma code_page(1252) -#endif //_WIN32 - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog -// - -IDD_ABOUTBOX DIALOGEX 0, 0, 170, 62 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "About 7433int" -FONT 8, "MS Shell Dlg", 0, 0, 0x1 -BEGIN - ICON IDR_MAINFRAME,IDC_STATIC,14,14,21,20 - LTEXT "7433int, Version 1.0",IDC_STATIC,42,14,114,8,SS_NOPREFIX - LTEXT "Copyright (C) 2010",IDC_STATIC,42,26,114,8 - DEFPUSHBUTTON "OK",IDOK,113,41,50,14,WS_GROUP -END - -IDD_MY7433INT_DIALOG DIALOGEX 0, 0, 223, 108 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU -EXSTYLE WS_EX_APPWINDOW -CAPTION "PCI-7433 Dual Interrupt Sample" -FONT 8, "MS Shell Dlg", 0, 0, 0x1 -BEGIN - LTEXT "This program shows the number of occurrence of interrupt for Dual interrupt lines.\nINT1 interrupt is generated by external signal from DI bit-0.\nINT2 interrupt is generated by external signal from DI bit-1",IDC_STATIC,7,6,200,39 - LTEXT "INT1 Count =",IDC_STATIC_05,61,54,85,13 - LTEXT "INT2 Count =",IDC_STATIC_06,61,70,85,13 -END - -IDD_CARDID_DIALOG DIALOGEX 0, 0, 163, 88 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "Card ID" -FONT 8, "MS Shell Dlg", 400, 0, 0x1 -BEGIN - COMBOBOX IDC_COMBO_CARDID,73,17,71,126,CBS_DROPDOWN | WS_VSCROLL | WS_TABSTOP - LTEXT "Card Number",IDC_STATIC_01,19,18,46,12 - PUSHBUTTON "OK",IDOK,20,50,58,19 - PUSHBUTTON "CANCEL",IDCANCEL,84,50,58,19 -END - - -///////////////////////////////////////////////////////////////////////////// -// -// Version -// - -VS_VERSION_INFO VERSIONINFO - FILEVERSION 1,0,0,1 - PRODUCTVERSION 1,0,0,1 - FILEFLAGSMASK 0x3fL -#ifdef _DEBUG - FILEFLAGS 0x1L -#else - FILEFLAGS 0x0L -#endif - FILEOS 0x4L - FILETYPE 0x1L - FILESUBTYPE 0x0L -BEGIN - BLOCK "StringFileInfo" - BEGIN - BLOCK "040904e4" - BEGIN - VALUE "CompanyName", "TODO: " - VALUE "FileDescription", "TODO: " - VALUE "FileVersion", "1.0.0.1" - VALUE "InternalName", "7433int.exe" - VALUE "LegalCopyright", "TODO: (c) . All rights reserved." - VALUE "OriginalFilename", "7433int.exe" - VALUE "ProductName", "TODO: " - VALUE "ProductVersion", "1.0.0.1" - END - END - BLOCK "VarFileInfo" - BEGIN - VALUE "Translation", 0x409, 1252 - END -END - - -///////////////////////////////////////////////////////////////////////////// -// -// DESIGNINFO -// - -#ifdef APSTUDIO_INVOKED -GUIDELINES DESIGNINFO -BEGIN - IDD_ABOUTBOX, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 163 - TOPMARGIN, 7 - BOTTOMMARGIN, 55 - END - - IDD_CARDID_DIALOG, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 156 - TOPMARGIN, 7 - BOTTOMMARGIN, 81 - END -END -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog Info -// - -IDD_CARDID_DIALOG DLGINIT -BEGIN - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0030, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0031, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0032, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0033, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0034, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0035, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0036, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0037, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0038, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0039, - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3031, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3131, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3231, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3331, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3431, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3531, "\000" - 0 -END - - -///////////////////////////////////////////////////////////////////////////// -// -// String Table -// - -STRINGTABLE -BEGIN - IDS_ABOUTBOX "&About 7433int..." -END - -#endif // English (U.S.) resources -///////////////////////////////////////////////////////////////////////////// - - - -#ifndef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 3 resource. -// -#define _AFX_NO_SPLITTER_RESOURCES -#define _AFX_NO_OLE_RESOURCES -#define _AFX_NO_TRACKER_RESOURCES -#define _AFX_NO_PROPERTY_RESOURCES - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -LANGUAGE 9, 1 -#pragma code_page(1252) -#include "res\My7433int.rc2" // non-Microsoft Visual C++ edited resources -#include "afxres.rc" // Standard components -#endif - -///////////////////////////////////////////////////////////////////////////// -#endif // not APSTUDIO_INVOKED - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7433/SDK7433DbEvtMsg/7433int.sln b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7433/SDK7433DbEvtMsg/7433int.sln deleted file mode 100644 index 571010c..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7433/SDK7433DbEvtMsg/7433int.sln +++ /dev/null @@ -1,20 +0,0 @@ - -Microsoft Visual Studio Solution File, Format Version 10.00 -# Visual Studio 2008 -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "7433int", "7433int.vcproj", "{7D5D9EC5-ED97-47EE-B6F4-ACCD71069808}" -EndProject -Global - GlobalSection(SolutionConfigurationPlatforms) = preSolution - Debug|x64 = Debug|x64 - Release|x64 = Release|x64 - EndGlobalSection - GlobalSection(ProjectConfigurationPlatforms) = postSolution - {7D5D9EC5-ED97-47EE-B6F4-ACCD71069808}.Debug|x64.ActiveCfg = Debug|x64 - {7D5D9EC5-ED97-47EE-B6F4-ACCD71069808}.Debug|x64.Build.0 = Debug|x64 - {7D5D9EC5-ED97-47EE-B6F4-ACCD71069808}.Release|x64.ActiveCfg = Release|x64 - {7D5D9EC5-ED97-47EE-B6F4-ACCD71069808}.Release|x64.Build.0 = Release|x64 - EndGlobalSection - GlobalSection(SolutionProperties) = preSolution - HideSolutionNode = FALSE - EndGlobalSection -EndGlobal diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7433/SDK7433DbEvtMsg/7433int.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7433/SDK7433DbEvtMsg/7433int.suo deleted file mode 100644 index de85338..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7433/SDK7433DbEvtMsg/7433int.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7433/SDK7433DbEvtMsg/7433int.vcproj b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7433/SDK7433DbEvtMsg/7433int.vcproj deleted file mode 100644 index 020f6fe..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7433/SDK7433DbEvtMsg/7433int.vcproj +++ /dev/null @@ -1,286 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7433/SDK7433DbEvtMsg/7433intDlg.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7433/SDK7433DbEvtMsg/7433intDlg.cpp deleted file mode 100644 index b5fc343..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7433/SDK7433DbEvtMsg/7433intDlg.cpp +++ /dev/null @@ -1,208 +0,0 @@ - -// 7433intDlg.cpp : implementation file -// - -#include "stdafx.h" -#include "7433int.h" -#include "7433intDlg.h" - -#ifdef _DEBUG -#define new DEBUG_NEW -#endif - - -#define EXT_SIGNAL1_MESSAGE _T("EXT_SIG1") -#define EXT_SIGNAL2_MESSAGE _T("EXT_SIG2") - -UINT WM_INT0 = ::RegisterWindowMessage(EXT_SIGNAL1_MESSAGE); -UINT WM_INT1 = ::RegisterWindowMessage(EXT_SIGNAL2_MESSAGE); - -// CAboutDlg dialog used for App About - -class CAboutDlg : public CDialog -{ -public: - CAboutDlg(); - -// Dialog Data - enum { IDD = IDD_ABOUTBOX }; - - protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - -// Implementation -protected: - DECLARE_MESSAGE_MAP() -}; - -CAboutDlg::CAboutDlg() : CDialog(CAboutDlg::IDD) -{ -} - -void CAboutDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); -} - -BEGIN_MESSAGE_MAP(CAboutDlg, CDialog) -END_MESSAGE_MAP() - - -// C7433intDlg dialog - - - - -C7433intDlg::C7433intDlg(I16 hCard, CWnd* pParent /*=NULL*/) - : CDialog(C7433intDlg::IDD, pParent) -{ - m_hIcon = AfxGetApp()->LoadIcon(IDR_MAINFRAME); - - m_hCard = hCard; - m_dwOutVal = 0x00000000; -} - -void C7433intDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); -} - -BEGIN_MESSAGE_MAP(C7433intDlg, CDialog) - ON_WM_SYSCOMMAND() - ON_WM_PAINT() - ON_WM_QUERYDRAGICON() - ON_REGISTERED_MESSAGE(WM_INT0, OnExtSIGInterrupt1) - ON_REGISTERED_MESSAGE(WM_INT1, OnExtSIGInterrupt2) - //}}AFX_MSG_MAP - ON_WM_DESTROY() -// ON_BN_CLICKED(IDC_BT_OUTPUT, &C7433intDlg::OnOutput) -END_MESSAGE_MAP() - - -// C7433intDlg message handlers - -BOOL C7433intDlg::OnInitDialog() -{ - CDialog::OnInitDialog(); - - // Add "About..." menu item to system menu. - - // IDM_ABOUTBOX must be in the system command range. - ASSERT((IDM_ABOUTBOX & 0xFFF0) == IDM_ABOUTBOX); - ASSERT(IDM_ABOUTBOX < 0xF000); - - CMenu* pSysMenu = GetSystemMenu(FALSE); - if (pSysMenu != NULL) - { - BOOL bNameValid; - CString strAboutMenu; - bNameValid = strAboutMenu.LoadString(IDS_ABOUTBOX); - ASSERT(bNameValid); - if (!strAboutMenu.IsEmpty()) - { - pSysMenu->AppendMenu(MF_SEPARATOR); - pSysMenu->AppendMenu(MF_STRING, IDM_ABOUTBOX, strAboutMenu); - } - } - - // Set the icon for this dialog. The framework does this automatically - // when the application's main window is not a dialog - SetIcon(m_hIcon, TRUE); // Set big icon - SetIcon(m_hIcon, FALSE); // Set small icon - - // TODO: Add extra initialization here - m_IntCount = m_IntCount2 = 0; - - DIO_INT1_EventMessage (m_hCard, INT1_EXT_SIGNAL, this->m_hWnd, WM_INT0, NULL); - DIO_INT2_EventMessage (m_hCard, INT2_EXT_SIGNAL, this->m_hWnd, WM_INT1, NULL); - - - - return TRUE; // return TRUE unless you set the focus to a control -} - -void C7433intDlg::OnSysCommand(UINT nID, LPARAM lParam) -{ - if ((nID & 0xFFF0) == IDM_ABOUTBOX) - { - CAboutDlg dlgAbout; - dlgAbout.DoModal(); - } - else - { - CDialog::OnSysCommand(nID, lParam); - } -} - -// If you add a minimize button to your dialog, you will need the code below -// to draw the icon. For MFC applications using the document/view model, -// this is automatically done for you by the framework. - -void C7433intDlg::OnPaint() -{ - if (IsIconic()) - { - CPaintDC dc(this); // device context for painting - - SendMessage(WM_ICONERASEBKGND, reinterpret_cast(dc.GetSafeHdc()), 0); - - // Center icon in client rectangle - int cxIcon = GetSystemMetrics(SM_CXICON); - int cyIcon = GetSystemMetrics(SM_CYICON); - CRect rect; - GetClientRect(&rect); - int x = (rect.Width() - cxIcon + 1) / 2; - int y = (rect.Height() - cyIcon + 1) / 2; - - // Draw the icon - dc.DrawIcon(x, y, m_hIcon); - } - else - { - CDialog::OnPaint(); - } -} - -// The system calls this function to obtain the cursor to display while the user drags -// the minimized window. -HCURSOR C7433intDlg::OnQueryDragIcon() -{ - return static_cast(m_hIcon); -} - - -void C7433intDlg::OnDestroy() -{ - CDialog::OnDestroy(); - - // TODO: Add your message handler code here - DIO_INT1_EventMessage (m_hCard, INT1_DISABLE, this->m_hWnd, NULL, NULL); - DIO_INT2_EventMessage (m_hCard, INT2_DISABLE, this->m_hWnd, NULL, NULL); -} - - -LRESULT C7433intDlg::OnExtSIGInterrupt1(WPARAM wParam, LPARAM lParam) -{ - // do something useful - CString strTemp; - - m_IntCount ++; - - strTemp.Format( TEXT("INT1 Count = %d"), m_IntCount ); - SetDlgItemText( IDC_STATIC_05, strTemp ); - - return (LRESULT) 0; -} - -LRESULT C7433intDlg::OnExtSIGInterrupt2(WPARAM wParam, LPARAM lParam) -{ - // do something useful - CString strTemp; - - m_IntCount2 ++; - - strTemp.Format( TEXT("INT2 Count = %d"), m_IntCount2 ); - SetDlgItemText( IDC_STATIC_06, strTemp ); - - return (LRESULT) 0; -} diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7433/SDK7433DbEvtMsg/7433intDlg.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7433/SDK7433DbEvtMsg/7433intDlg.h deleted file mode 100644 index d7aff4a..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7433/SDK7433DbEvtMsg/7433intDlg.h +++ /dev/null @@ -1,42 +0,0 @@ - -// 7433intDlg.h : header file -// -#include "Dask64.h" - -#pragma once - - -// C7433intDlg dialog -class C7433intDlg : public CDialog -{ -// Construction -public: - C7433intDlg(I16 hCard, CWnd* pParent = NULL); // standard constructor - -// Dialog Data - enum { IDD = IDD_MY7433INT_DIALOG }; - - protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - - -// Implementation -protected: - HICON m_hIcon; - I16 m_hCard; - U32 m_dwOutVal; - int m_IntCount; - int m_IntCount2; - HANDLE m_hIntEvent[2]; - - // Generated message map functions - virtual BOOL OnInitDialog(); - afx_msg void OnSysCommand(UINT nID, LPARAM lParam); - afx_msg void OnPaint(); - afx_msg HCURSOR OnQueryDragIcon(); - afx_msg LRESULT OnExtSIGInterrupt1(WPARAM wParam, LPARAM lParam); - afx_msg LRESULT OnExtSIGInterrupt2(WPARAM wParam, LPARAM lParam); - DECLARE_MESSAGE_MAP() -public: - afx_msg void OnDestroy(); -}; diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7433/SDK7433DbEvtMsg/CardIDDlg.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7433/SDK7433DbEvtMsg/CardIDDlg.cpp deleted file mode 100644 index 38da254..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7433/SDK7433DbEvtMsg/CardIDDlg.cpp +++ /dev/null @@ -1,67 +0,0 @@ -// CardIDDlg.cpp : implementation file -// - -#include "stdafx.h" -#include "7433int.h" -#include "CardIDDlg.h" - - -// CCardIDDlg dialog - -IMPLEMENT_DYNAMIC(CCardIDDlg, CDialog) - -CCardIDDlg::CCardIDDlg(int nCardIdx, CWnd* pParent /*=NULL*/) - : CDialog(CCardIDDlg::IDD, pParent) -{ - m_nCardIdx = nCardIdx; -} - -CCardIDDlg::~CCardIDDlg() -{ -} - -void CCardIDDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); - DDX_Control(pDX, IDC_COMBO_CARDID, m_cbCardID); -} - - -BEGIN_MESSAGE_MAP(CCardIDDlg, CDialog) -// ON_CBN_SELCHANGE(IDC_COMBO_CARDID, &CCardIDDlg::OnCbnSelchangeComboCardid) -ON_BN_CLICKED(IDOK, &CCardIDDlg::OnBnClickedOk) -//ON_WM_CTLCOLOR() -END_MESSAGE_MAP() - - -// CCardIDDlg message handlers - - -void CCardIDDlg::OnBnClickedOk() -{ - // TODO: Add your control notification handler code here - -// UpdateData(TRUE); - m_nCardIdx = m_cbCardID.GetCurSel(); - - OnOK(); -} - -BOOL CCardIDDlg::OnInitDialog() -{ - CDialog::OnInitDialog(); - - // TODO: Add extra initialization here - m_cbCardID.SetCurSel( m_nCardIdx ); - - return TRUE; // return TRUE unless you set the focus to a control - // EXCEPTION: OCX Property Pages should return FALSE -} - -// the function to get the selected CardID -int CCardIDDlg::GetCardID(void) -{ - return m_nCardIdx; -} - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7433/SDK7433DbEvtMsg/CardIDDlg.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7433/SDK7433DbEvtMsg/CardIDDlg.h deleted file mode 100644 index 54628ea..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7433/SDK7433DbEvtMsg/CardIDDlg.h +++ /dev/null @@ -1,33 +0,0 @@ -#pragma once -#include "afxwin.h" - - -// CCardIDDlg dialog - -class CCardIDDlg : public CDialog -{ - DECLARE_DYNAMIC(CCardIDDlg) - -public: - CCardIDDlg(int nCardIdx, CWnd* pParent = NULL); // standard constructor - virtual ~CCardIDDlg(); - -// Dialog Data - enum { IDD = IDD_CARDID_DIALOG }; - -protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - - DECLARE_MESSAGE_MAP() -public: -// afx_msg void OnCbnSelchangeComboCardid(); - afx_msg void OnBnClickedOk(); - // the setting of CardID ComboBox - int m_nCardIdx; - virtual BOOL OnInitDialog(); - // the control of CardID ComboBox - CComboBox m_cbCardID; - // the function to get the selected CardID - int GetCardID(void); -// afx_msg HBRUSH OnCtlColor(CDC* pDC, CWnd* pWnd, UINT nCtlColor); -}; diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7433/SDK7433DbEvtMsg/ReadMe.txt b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7433/SDK7433DbEvtMsg/ReadMe.txt deleted file mode 100644 index 4f6a876..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7433/SDK7433DbEvtMsg/ReadMe.txt +++ /dev/null @@ -1,93 +0,0 @@ -================================================================================ - MICROSOFT FOUNDATION CLASS LIBRARY : 7433int Project Overview -=============================================================================== - -The application wizard has created this 7433int application for -you. This application not only demonstrates the basics of using the Microsoft -Foundation Classes but is also a starting point for writing your application. - -This file contains a summary of what you will find in each of the files that -make up your 7433int application. - -7433int.vcproj - This is the main project file for VC++ projects generated using an application wizard. - It contains information about the version of Visual C++ that generated the file, and - information about the platforms, configurations, and project features selected with the - application wizard. - -7433int.h - This is the main header file for the application. It includes other - project specific headers (including Resource.h) and declares the - C7433intApp application class. - -7433int.cpp - This is the main application source file that contains the application - class C7433intApp. - -7433int.rc - This is a listing of all of the Microsoft Windows resources that the - program uses. It includes the icons, bitmaps, and cursors that are stored - in the RES subdirectory. This file can be directly edited in Microsoft - Visual C++. Your project resources are in 1033. - -res\7433int.ico - This is an icon file, which is used as the application's icon. This - icon is included by the main resource file 7433int.rc. - -res\My7433int.rc2 - This file contains resources that are not edited by Microsoft - Visual C++. You should place all resources not editable by - the resource editor in this file. - - -///////////////////////////////////////////////////////////////////////////// - -The application wizard creates one dialog class: - -7433intDlg.h, 7433intDlg.cpp - the dialog - These files contain your C7433intDlg class. This class defines - the behavior of your application's main dialog. The dialog's template is - in 7433int.rc, which can be edited in Microsoft Visual C++. - - -///////////////////////////////////////////////////////////////////////////// - -Other Features: - -ActiveX Controls - The application includes support to use ActiveX controls. - -///////////////////////////////////////////////////////////////////////////// - -Other standard files: - -StdAfx.h, StdAfx.cpp - These files are used to build a precompiled header (PCH) file - named 7433int.pch and a precompiled types file named StdAfx.obj. - -Resource.h - This is the standard header file, which defines new resource IDs. - Microsoft Visual C++ reads and updates this file. - -7433int.manifest - Application manifest files are used by Windows XP to describe an applications - dependency on specific versions of Side-by-Side assemblies. The loader uses this - information to load the appropriate assembly from the assembly cache or private - from the application. The Application manifest maybe included for redistribution - as an external .manifest file that is installed in the same folder as the application - executable or it may be included in the executable in the form of a resource. -///////////////////////////////////////////////////////////////////////////// - -Other notes: - -The application wizard uses "TODO:" to indicate parts of the source code you -should add to or customize. - -If your application uses MFC in a shared DLL, you will need -to redistribute the MFC DLLs. If your application is in a language -other than the operating system's locale, you will also have to -redistribute the corresponding localized resources MFC90XXX.DLL. -For more information on both of these topics, please see the section on -redistributing Visual C++ applications in MSDN documentation. - -///////////////////////////////////////////////////////////////////////////// diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7433/SDK7433DbEvtMsg/res/7433int.ico b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7433/SDK7433DbEvtMsg/res/7433int.ico deleted file mode 100644 index d56fbcd..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7433/SDK7433DbEvtMsg/res/7433int.ico and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7433/SDK7433DbEvtMsg/res/My7433int.rc2 b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7433/SDK7433DbEvtMsg/res/My7433int.rc2 deleted file mode 100644 index 7bd3593..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7433/SDK7433DbEvtMsg/res/My7433int.rc2 +++ /dev/null @@ -1,13 +0,0 @@ -// -// My7256int.RC2 - resources Microsoft Visual C++ does not edit directly -// - -#ifdef APSTUDIO_INVOKED -#error this file is not editable by Microsoft Visual C++ -#endif //APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// Add manually edited resources here... - -///////////////////////////////////////////////////////////////////////////// diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7433/SDK7433DbEvtMsg/resource.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7433/SDK7433DbEvtMsg/resource.h deleted file mode 100644 index 4c21f93..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7433/SDK7433DbEvtMsg/resource.h +++ /dev/null @@ -1,28 +0,0 @@ -//{{NO_DEPENDENCIES}} -// Microsoft Visual C++ generated include file. -// Used by 7433int.rc -// -#define IDM_ABOUTBOX 0x0010 -#define IDD_ABOUTBOX 100 -#define IDS_ABOUTBOX 101 -#define IDD_MY7433INT_DIALOG 102 -#define IDR_MAINFRAME 128 -#define IDD_CARDID_DIALOG 129 -#define IDC_COMBO_CARDID 1000 -#define IDC_BUTTON1 1000 -#define IDC_BT_OUTPUT 1000 -#define IDC_STATIC_05 1007 -#define IDC_STATIC_06 1008 -#define IDC_STATIC_6 1008 -#define IDC_STATIC_01 1014 - -// Next default values for new objects -// -#ifdef APSTUDIO_INVOKED -#ifndef APSTUDIO_READONLY_SYMBOLS -#define _APS_NEXT_RESOURCE_VALUE 131 -#define _APS_NEXT_COMMAND_VALUE 32771 -#define _APS_NEXT_CONTROL_VALUE 1001 -#define _APS_NEXT_SYMED_VALUE 101 -#endif -#endif diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7433/SDK7433DbEvtMsg/stdafx.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7433/SDK7433DbEvtMsg/stdafx.cpp deleted file mode 100644 index 59cfe36..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7433/SDK7433DbEvtMsg/stdafx.cpp +++ /dev/null @@ -1,8 +0,0 @@ - -// stdafx.cpp : source file that includes just the standard includes -// 7433int.pch will be the pre-compiled header -// stdafx.obj will contain the pre-compiled type information - -#include "stdafx.h" - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7433/SDK7433DbEvtMsg/stdafx.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7433/SDK7433DbEvtMsg/stdafx.h deleted file mode 100644 index 12123e2..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7433/SDK7433DbEvtMsg/stdafx.h +++ /dev/null @@ -1,60 +0,0 @@ - -// stdafx.h : include file for standard system include files, -// or project specific include files that are used frequently, -// but are changed infrequently - -#pragma once - -#ifndef _SECURE_ATL -#define _SECURE_ATL 1 -#endif - -#ifndef VC_EXTRALEAN -#define VC_EXTRALEAN // Exclude rarely-used stuff from Windows headers -#endif - -#include "targetver.h" - -#define _ATL_CSTRING_EXPLICIT_CONSTRUCTORS // some CString constructors will be explicit - -// turns off MFC's hiding of some common and often safely ignored warning messages -#define _AFX_ALL_WARNINGS - -#include // MFC core and standard components -#include // MFC extensions - - -#include // MFC Automation classes - - - -#ifndef _AFX_NO_OLE_SUPPORT -#include // MFC support for Internet Explorer 4 Common Controls -#endif -#ifndef _AFX_NO_AFXCMN_SUPPORT -#include // MFC support for Windows Common Controls -#endif // _AFX_NO_AFXCMN_SUPPORT - -#include // MFC support for ribbons and control bars - - - - - - - - - -#ifdef _UNICODE -#if defined _M_IX86 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='x86' publicKeyToken='6595b64144ccf1df' language='*'\"") -#elif defined _M_IA64 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='ia64' publicKeyToken='6595b64144ccf1df' language='*'\"") -#elif defined _M_X64 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='amd64' publicKeyToken='6595b64144ccf1df' language='*'\"") -#else -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='*' publicKeyToken='6595b64144ccf1df' language='*'\"") -#endif -#endif - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7433/SDK7433DbEvtMsg/targetver.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7433/SDK7433DbEvtMsg/targetver.h deleted file mode 100644 index 11730d5..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7433/SDK7433DbEvtMsg/targetver.h +++ /dev/null @@ -1,26 +0,0 @@ - -#pragma once - -// The following macros define the minimum required platform. The minimum required platform -// is the earliest version of Windows, Internet Explorer etc. that has the necessary features to run -// your application. The macros work by enabling all features available on platform versions up to and -// including the version specified. - -// Modify the following defines if you have to target a platform prior to the ones specified below. -// Refer to MSDN for the latest info on corresponding values for different platforms. -#ifndef WINVER // Specifies that the minimum required platform is Windows Vista. -#define WINVER 0x0600 // Change this to the appropriate value to target other versions of Windows. -#endif - -#ifndef _WIN32_WINNT // Specifies that the minimum required platform is Windows Vista. -#define _WIN32_WINNT 0x0600 // Change this to the appropriate value to target other versions of Windows. -#endif - -#ifndef _WIN32_WINDOWS // Specifies that the minimum required platform is Windows 98. -#define _WIN32_WINDOWS 0x0410 // Change this to the appropriate value to target Windows Me or later. -#endif - -#ifndef _WIN32_IE // Specifies that the minimum required platform is Internet Explorer 7.0. -#define _WIN32_IE 0x0700 // Change this to the appropriate value to target other versions of IE. -#endif - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7433/SDK7433int/7230int.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7433/SDK7433int/7230int.suo deleted file mode 100644 index cc096dc..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7433/SDK7433int/7230int.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7433/SDK7433int/7256int.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7433/SDK7433int/7256int.suo deleted file mode 100644 index 494d925..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7433/SDK7433int/7256int.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7433/SDK7433int/7258int.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7433/SDK7433int/7258int.suo deleted file mode 100644 index ea9e48d..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7433/SDK7433int/7258int.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7433/SDK7433int/7433int.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7433/SDK7433int/7433int.cpp deleted file mode 100644 index 4f1b5c6..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7433/SDK7433int/7433int.cpp +++ /dev/null @@ -1,110 +0,0 @@ - -// 7433int.cpp : Defines the class behaviors for the application. -// - -#include "stdafx.h" -#include "7433int.h" -#include "7433intDlg.h" -#include "CardIDDlg.h" - -#ifdef _DEBUG -#define new DEBUG_NEW -#endif - - -// C7433intApp - -BEGIN_MESSAGE_MAP(C7433intApp, CWinAppEx) - ON_COMMAND(ID_HELP, &CWinApp::OnHelp) -END_MESSAGE_MAP() - - -// C7433intApp construction - -C7433intApp::C7433intApp() -{ - // TODO: add construction code here, - // Place all significant initialization in InitInstance -} - - -// The one and only C7433intApp object - -C7433intApp theApp; - - -// C7433intApp initialization - -BOOL C7433intApp::InitInstance() -{ - int nCardID = 0; - I16 hCard; - CString strTemp; - INT_PTR nResponse; - - // InitCommonControlsEx() is required on Windows XP if an application - // manifest specifies use of ComCtl32.dll version 6 or later to enable - // visual styles. Otherwise, any window creation will fail. - INITCOMMONCONTROLSEX InitCtrls; - InitCtrls.dwSize = sizeof(InitCtrls); - // Set this to include all the common control classes you want to use - // in your application. - InitCtrls.dwICC = ICC_WIN95_CLASSES; - InitCommonControlsEx(&InitCtrls); - - CWinAppEx::InitInstance(); - - AfxEnableControlContainer(); - - // Standard initialization - // If you are not using these features and wish to reduce the size - // of your final executable, you should remove from the following - // the specific initialization routines you do not need - // Change the registry key under which our settings are stored - // TODO: You should modify this string to be something appropriate - // such as the name of your company or organization - SetRegistryKey(_T("Local AppWizard-Generated Applications")); - - CCardIDDlg CardDlg( nCardID ); - - nResponse = CardDlg.DoModal(); - if (nResponse == IDOK) - { - nCardID = CardDlg.GetCardID(); - - if ((hCard=Register_Card(PCI_7433, nCardID)) < 0) - { - strTemp.Format( TEXT("Register_Card Error = %d"), hCard); - AfxMessageBox( strTemp ); - } - else - { - C7433intDlg dlg(hCard); - m_pMainWnd = &dlg; - nResponse = dlg.DoModal(); - if (nResponse == IDOK) - { - // TODO: Place code here to handle when the dialog is - // dismissed with OK - } - else if (nResponse == IDCANCEL) - { - // TODO: Place code here to handle when the dialog is - // dismissed with Cancel - } - - if (hCard >= 0) Release_Card(hCard); - } - - } - else if (nResponse == IDCANCEL) - { - // TODO: Place code here to handle when the dialog is - // dismissed with Cancel - } - - - // Since the dialog has been closed, return FALSE so that we exit the - // application, rather than start the application's message pump. - return FALSE; -} diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7433/SDK7433int/7433int.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7433/SDK7433int/7433int.h deleted file mode 100644 index 2578419..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7433/SDK7433int/7433int.h +++ /dev/null @@ -1,32 +0,0 @@ - -// 7433int.h : main header file for the PROJECT_NAME application -// - -#pragma once - -#ifndef __AFXWIN_H__ - #error "include 'stdafx.h' before including this file for PCH" -#endif - -#include "resource.h" // main symbols - - -// C7433intApp: -// See 7433int.cpp for the implementation of this class -// - -class C7433intApp : public CWinAppEx -{ -public: - C7433intApp(); - -// Overrides - public: - virtual BOOL InitInstance(); - -// Implementation - - DECLARE_MESSAGE_MAP() -}; - -extern C7433intApp theApp; \ No newline at end of file diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7433/SDK7433int/7433int.rc b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7433/SDK7433int/7433int.rc deleted file mode 100644 index 09f6ece..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7433/SDK7433int/7433int.rc +++ /dev/null @@ -1,241 +0,0 @@ -// Microsoft Visual C++ generated resource script. -// -#include "resource.h" - -#define APSTUDIO_READONLY_SYMBOLS -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 2 resource. -// -#ifndef APSTUDIO_INVOKED -#include "targetver.h" -#endif -#include "afxres.h" - -///////////////////////////////////////////////////////////////////////////// -#undef APSTUDIO_READONLY_SYMBOLS - -///////////////////////////////////////////////////////////////////////////// -// Chinese (Taiwan) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_CHT) -#ifdef _WIN32 -LANGUAGE LANG_CHINESE, SUBLANG_CHINESE_TRADITIONAL -#pragma code_page(950) -#endif //_WIN32 - -#ifdef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// TEXTINCLUDE -// - -1 TEXTINCLUDE -BEGIN - "resource.h\0" -END - -2 TEXTINCLUDE -BEGIN - "#ifndef APSTUDIO_INVOKED\r\n" - "#include ""targetver.h""\r\n" - "#endif\r\n" - "#include ""afxres.h""\r\n" - "\0" -END - -3 TEXTINCLUDE -BEGIN - "#define _AFX_NO_SPLITTER_RESOURCES\r\n" - "#define _AFX_NO_OLE_RESOURCES\r\n" - "#define _AFX_NO_TRACKER_RESOURCES\r\n" - "#define _AFX_NO_PROPERTY_RESOURCES\r\n" - "\r\n" - "#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)\r\n" - "LANGUAGE 9, 1\r\n" - "#pragma code_page(1252)\r\n" - "#include ""res\\My7433int.rc2"" // non-Microsoft Visual C++ edited resources\r\n" - "#include ""afxres.rc"" // Standard components\r\n" - "#endif\r\n" - "\0" -END - -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// Icon -// - -// Icon with lowest ID value placed first to ensure application icon -// remains consistent on all systems. -IDR_MAINFRAME ICON "res\\7433int.ico" -#endif // Chinese (Taiwan) resources -///////////////////////////////////////////////////////////////////////////// - - -///////////////////////////////////////////////////////////////////////////// -// English (U.S.) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -#ifdef _WIN32 -LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US -#pragma code_page(1252) -#endif //_WIN32 - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog -// - -IDD_ABOUTBOX DIALOGEX 0, 0, 170, 62 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "About 7433int" -FONT 8, "MS Shell Dlg", 0, 0, 0x1 -BEGIN - ICON IDR_MAINFRAME,IDC_STATIC,14,14,21,20 - LTEXT "7433int, Version 1.0",IDC_STATIC,42,14,114,8,SS_NOPREFIX - LTEXT "Copyright (C) 2010",IDC_STATIC,42,26,114,8 - DEFPUSHBUTTON "OK",IDOK,113,41,50,14,WS_GROUP -END - -IDD_MY7433INT_DIALOG DIALOGEX 0, 0, 195, 93 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU -EXSTYLE WS_EX_APPWINDOW -CAPTION "PCI-7433 Interrupt Sample (INT1)" -FONT 8, "MS Shell Dlg", 0, 0, 0x1 -BEGIN - LTEXT "This program shows the number of occurrence of INT1 interrupt. INT1 interrupt is generated by external signal from DI bit-0.",IDC_STATIC,19,13,151,28 - LTEXT "INT Count =",IDC_STATIC_05,54,70,85,13 -END - -IDD_CARDID_DIALOG DIALOGEX 0, 0, 163, 88 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "Card ID" -FONT 8, "MS Shell Dlg", 400, 0, 0x1 -BEGIN - COMBOBOX IDC_COMBO_CARDID,73,17,71,126,CBS_DROPDOWN | WS_VSCROLL | WS_TABSTOP - LTEXT "Card Number",IDC_STATIC_01,19,18,46,12 - PUSHBUTTON "OK",IDOK,20,50,58,19 - PUSHBUTTON "CANCEL",IDCANCEL,84,50,58,19 -END - - -///////////////////////////////////////////////////////////////////////////// -// -// Version -// - -VS_VERSION_INFO VERSIONINFO - FILEVERSION 1,0,0,1 - PRODUCTVERSION 1,0,0,1 - FILEFLAGSMASK 0x3fL -#ifdef _DEBUG - FILEFLAGS 0x1L -#else - FILEFLAGS 0x0L -#endif - FILEOS 0x4L - FILETYPE 0x1L - FILESUBTYPE 0x0L -BEGIN - BLOCK "StringFileInfo" - BEGIN - BLOCK "040904e4" - BEGIN - VALUE "CompanyName", "TODO: " - VALUE "FileDescription", "TODO: " - VALUE "FileVersion", "1.0.0.1" - VALUE "InternalName", "7433int.exe" - VALUE "LegalCopyright", "TODO: (c) . All rights reserved." - VALUE "OriginalFilename", "7433int.exe" - VALUE "ProductName", "TODO: " - VALUE "ProductVersion", "1.0.0.1" - END - END - BLOCK "VarFileInfo" - BEGIN - VALUE "Translation", 0x409, 1252 - END -END - - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog Info -// - -IDD_CARDID_DIALOG DLGINIT -BEGIN - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0030, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0031, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0032, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0033, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0034, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0035, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0036, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0037, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0038, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0039, - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3031, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3131, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3231, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3331, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3431, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3531, "\000" - 0 -END - - -///////////////////////////////////////////////////////////////////////////// -// -// String Table -// - -STRINGTABLE -BEGIN - IDS_ABOUTBOX "&About 7433int..." -END - -#endif // English (U.S.) resources -///////////////////////////////////////////////////////////////////////////// - - - -#ifndef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 3 resource. -// -#define _AFX_NO_SPLITTER_RESOURCES -#define _AFX_NO_OLE_RESOURCES -#define _AFX_NO_TRACKER_RESOURCES -#define _AFX_NO_PROPERTY_RESOURCES - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -LANGUAGE 9, 1 -#pragma code_page(1252) -#include "res\My7433int.rc2" // non-Microsoft Visual C++ edited resources -#include "afxres.rc" // Standard components -#endif - -///////////////////////////////////////////////////////////////////////////// -#endif // not APSTUDIO_INVOKED - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7433/SDK7433int/7433int.sln b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7433/SDK7433int/7433int.sln deleted file mode 100644 index 571010c..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7433/SDK7433int/7433int.sln +++ /dev/null @@ -1,20 +0,0 @@ - -Microsoft Visual Studio Solution File, Format Version 10.00 -# Visual Studio 2008 -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "7433int", "7433int.vcproj", "{7D5D9EC5-ED97-47EE-B6F4-ACCD71069808}" -EndProject -Global - GlobalSection(SolutionConfigurationPlatforms) = preSolution - Debug|x64 = Debug|x64 - Release|x64 = Release|x64 - EndGlobalSection - GlobalSection(ProjectConfigurationPlatforms) = postSolution - {7D5D9EC5-ED97-47EE-B6F4-ACCD71069808}.Debug|x64.ActiveCfg = Debug|x64 - {7D5D9EC5-ED97-47EE-B6F4-ACCD71069808}.Debug|x64.Build.0 = Debug|x64 - {7D5D9EC5-ED97-47EE-B6F4-ACCD71069808}.Release|x64.ActiveCfg = Release|x64 - {7D5D9EC5-ED97-47EE-B6F4-ACCD71069808}.Release|x64.Build.0 = Release|x64 - EndGlobalSection - GlobalSection(SolutionProperties) = preSolution - HideSolutionNode = FALSE - EndGlobalSection -EndGlobal diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7433/SDK7433int/7433int.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7433/SDK7433int/7433int.suo deleted file mode 100644 index 7bb67ca..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7433/SDK7433int/7433int.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7433/SDK7433int/7433int.vcproj b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7433/SDK7433int/7433int.vcproj deleted file mode 100644 index 020f6fe..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7433/SDK7433int/7433int.vcproj +++ /dev/null @@ -1,286 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7433/SDK7433int/7433intDlg.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7433/SDK7433int/7433intDlg.cpp deleted file mode 100644 index a0d0441..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7433/SDK7433int/7433intDlg.cpp +++ /dev/null @@ -1,234 +0,0 @@ - -// 7433intDlg.cpp : implementation file -// - -#include "stdafx.h" -#include "7433int.h" -#include "7433intDlg.h" - -#ifdef _DEBUG -#define new DEBUG_NEW -#endif - -int gIntCount; -HANDLE ghIntEvent[2]; - -BOOLEAN gbExitThread; - - - -DWORD WINAPI IntThread( LPVOID lpParam ) -{ - - while ( gbExitThread == FALSE ) - { - if ( WaitForSingleObject(ghIntEvent[0], INFINITE) == WAIT_OBJECT_0 ) - { - gIntCount++; - ResetEvent(ghIntEvent[0]); - } - } - - return (DWORD) 0; -} - -// CAboutDlg dialog used for App About - -class CAboutDlg : public CDialog -{ -public: - CAboutDlg(); - -// Dialog Data - enum { IDD = IDD_ABOUTBOX }; - - protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - -// Implementation -protected: - DECLARE_MESSAGE_MAP() -}; - -CAboutDlg::CAboutDlg() : CDialog(CAboutDlg::IDD) -{ -} - -void CAboutDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); -} - -BEGIN_MESSAGE_MAP(CAboutDlg, CDialog) -END_MESSAGE_MAP() - - -// C7433intDlg dialog - - - - -C7433intDlg::C7433intDlg(I16 hCard, CWnd* pParent /*=NULL*/) - : CDialog(C7433intDlg::IDD, pParent) -{ - m_hIcon = AfxGetApp()->LoadIcon(IDR_MAINFRAME); - - m_hCard = hCard; - m_hThread = NULL; - m_nTimer = -1; - m_dwOutVal = 0x00000000; -} - -void C7433intDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); -} - -BEGIN_MESSAGE_MAP(C7433intDlg, CDialog) - ON_WM_SYSCOMMAND() - ON_WM_PAINT() - ON_WM_QUERYDRAGICON() - //}}AFX_MSG_MAP - ON_WM_DESTROY() - ON_WM_TIMER() -// ON_BN_CLICKED(IDC_BT_OUTPUT, &C7433intDlg::OnOutput) -END_MESSAGE_MAP() - - -// C7433intDlg message handlers - -BOOL C7433intDlg::OnInitDialog() -{ - CDialog::OnInitDialog(); - - // Add "About..." menu item to system menu. - - // IDM_ABOUTBOX must be in the system command range. - ASSERT((IDM_ABOUTBOX & 0xFFF0) == IDM_ABOUTBOX); - ASSERT(IDM_ABOUTBOX < 0xF000); - - CMenu* pSysMenu = GetSystemMenu(FALSE); - if (pSysMenu != NULL) - { - BOOL bNameValid; - CString strAboutMenu; - bNameValid = strAboutMenu.LoadString(IDS_ABOUTBOX); - ASSERT(bNameValid); - if (!strAboutMenu.IsEmpty()) - { - pSysMenu->AppendMenu(MF_SEPARATOR); - pSysMenu->AppendMenu(MF_STRING, IDM_ABOUTBOX, strAboutMenu); - } - } - - // Set the icon for this dialog. The framework does this automatically - // when the application's main window is not a dialog - SetIcon(m_hIcon, TRUE); // Set big icon - SetIcon(m_hIcon, FALSE); // Set small icon - - // TODO: Add extra initialization here - I16 err; - - err = DIO_SetDualInterrupt(m_hCard, INT1_EXT_SIGNAL, INT2_DISABLE, ghIntEvent); - - gbExitThread = FALSE; - m_hThread = CreateThread( NULL, // default security attributes - 0, // use default stack size - IntThread, // thread function name - NULL, // argument to thread function - 0, // use default creation flags - NULL); // returns the thread identifier - - m_nTimer = SetTimer( 1, 250, NULL ); - - return TRUE; // return TRUE unless you set the focus to a control -} - -void C7433intDlg::OnSysCommand(UINT nID, LPARAM lParam) -{ - if ((nID & 0xFFF0) == IDM_ABOUTBOX) - { - CAboutDlg dlgAbout; - dlgAbout.DoModal(); - } - else - { - CDialog::OnSysCommand(nID, lParam); - } -} - -// If you add a minimize button to your dialog, you will need the code below -// to draw the icon. For MFC applications using the document/view model, -// this is automatically done for you by the framework. - -void C7433intDlg::OnPaint() -{ - if (IsIconic()) - { - CPaintDC dc(this); // device context for painting - - SendMessage(WM_ICONERASEBKGND, reinterpret_cast(dc.GetSafeHdc()), 0); - - // Center icon in client rectangle - int cxIcon = GetSystemMetrics(SM_CXICON); - int cyIcon = GetSystemMetrics(SM_CYICON); - CRect rect; - GetClientRect(&rect); - int x = (rect.Width() - cxIcon + 1) / 2; - int y = (rect.Height() - cyIcon + 1) / 2; - - // Draw the icon - dc.DrawIcon(x, y, m_hIcon); - } - else - { - CDialog::OnPaint(); - } -} - -// The system calls this function to obtain the cursor to display while the user drags -// the minimized window. -HCURSOR C7433intDlg::OnQueryDragIcon() -{ - return static_cast(m_hIcon); -} - - -void C7433intDlg::OnDestroy() -{ - CDialog::OnDestroy(); - - // TODO: Add your message handler code here - DIO_SetDualInterrupt(m_hCard, INT1_DISABLE, INT2_DISABLE, ghIntEvent); - - if( m_nTimer != -1 ) - { - KillTimer( m_nTimer ); - m_nTimer = -1; - } - - - if( m_hThread != NULL ) - { - gbExitThread = TRUE; // termnate the IntThread - SetEvent( ghIntEvent[0] ); - - if (WaitForSingleObject(m_hThread, 5000) == WAIT_OBJECT_0) - { - CloseHandle( m_hThread ); - m_hThread = NULL; - } - } -} - -void C7433intDlg::OnTimer(UINT_PTR nIDEvent) -{ - // TODO: Add your message handler code here and/or call default - CString strTemp; - - strTemp.Format( TEXT("INT Count = %d"), gIntCount ); - SetDlgItemText( IDC_STATIC_05, strTemp ); - - CDialog::OnTimer(nIDEvent); -} - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7433/SDK7433int/7433intDlg.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7433/SDK7433int/7433intDlg.h deleted file mode 100644 index ca4788b..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7433/SDK7433int/7433intDlg.h +++ /dev/null @@ -1,40 +0,0 @@ - -// 7433intDlg.h : header file -// -#include "Dask64.h" - -#pragma once - - -// C7433intDlg dialog -class C7433intDlg : public CDialog -{ -// Construction -public: - C7433intDlg(I16 hCard, CWnd* pParent = NULL); // standard constructor - -// Dialog Data - enum { IDD = IDD_MY7433INT_DIALOG }; - - protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - - -// Implementation -protected: - HICON m_hIcon; - UINT_PTR m_nTimer; - HANDLE m_hThread; - I16 m_hCard; - U32 m_dwOutVal; - - // Generated message map functions - virtual BOOL OnInitDialog(); - afx_msg void OnSysCommand(UINT nID, LPARAM lParam); - afx_msg void OnPaint(); - afx_msg HCURSOR OnQueryDragIcon(); - DECLARE_MESSAGE_MAP() -public: - afx_msg void OnDestroy(); - afx_msg void OnTimer(UINT_PTR nIDEvent); -}; diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7433/SDK7433int/CardIDDlg.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7433/SDK7433int/CardIDDlg.cpp deleted file mode 100644 index 38da254..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7433/SDK7433int/CardIDDlg.cpp +++ /dev/null @@ -1,67 +0,0 @@ -// CardIDDlg.cpp : implementation file -// - -#include "stdafx.h" -#include "7433int.h" -#include "CardIDDlg.h" - - -// CCardIDDlg dialog - -IMPLEMENT_DYNAMIC(CCardIDDlg, CDialog) - -CCardIDDlg::CCardIDDlg(int nCardIdx, CWnd* pParent /*=NULL*/) - : CDialog(CCardIDDlg::IDD, pParent) -{ - m_nCardIdx = nCardIdx; -} - -CCardIDDlg::~CCardIDDlg() -{ -} - -void CCardIDDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); - DDX_Control(pDX, IDC_COMBO_CARDID, m_cbCardID); -} - - -BEGIN_MESSAGE_MAP(CCardIDDlg, CDialog) -// ON_CBN_SELCHANGE(IDC_COMBO_CARDID, &CCardIDDlg::OnCbnSelchangeComboCardid) -ON_BN_CLICKED(IDOK, &CCardIDDlg::OnBnClickedOk) -//ON_WM_CTLCOLOR() -END_MESSAGE_MAP() - - -// CCardIDDlg message handlers - - -void CCardIDDlg::OnBnClickedOk() -{ - // TODO: Add your control notification handler code here - -// UpdateData(TRUE); - m_nCardIdx = m_cbCardID.GetCurSel(); - - OnOK(); -} - -BOOL CCardIDDlg::OnInitDialog() -{ - CDialog::OnInitDialog(); - - // TODO: Add extra initialization here - m_cbCardID.SetCurSel( m_nCardIdx ); - - return TRUE; // return TRUE unless you set the focus to a control - // EXCEPTION: OCX Property Pages should return FALSE -} - -// the function to get the selected CardID -int CCardIDDlg::GetCardID(void) -{ - return m_nCardIdx; -} - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7433/SDK7433int/CardIDDlg.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7433/SDK7433int/CardIDDlg.h deleted file mode 100644 index 54628ea..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7433/SDK7433int/CardIDDlg.h +++ /dev/null @@ -1,33 +0,0 @@ -#pragma once -#include "afxwin.h" - - -// CCardIDDlg dialog - -class CCardIDDlg : public CDialog -{ - DECLARE_DYNAMIC(CCardIDDlg) - -public: - CCardIDDlg(int nCardIdx, CWnd* pParent = NULL); // standard constructor - virtual ~CCardIDDlg(); - -// Dialog Data - enum { IDD = IDD_CARDID_DIALOG }; - -protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - - DECLARE_MESSAGE_MAP() -public: -// afx_msg void OnCbnSelchangeComboCardid(); - afx_msg void OnBnClickedOk(); - // the setting of CardID ComboBox - int m_nCardIdx; - virtual BOOL OnInitDialog(); - // the control of CardID ComboBox - CComboBox m_cbCardID; - // the function to get the selected CardID - int GetCardID(void); -// afx_msg HBRUSH OnCtlColor(CDC* pDC, CWnd* pWnd, UINT nCtlColor); -}; diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7433/SDK7433int/ReadMe.txt b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7433/SDK7433int/ReadMe.txt deleted file mode 100644 index 4f6a876..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7433/SDK7433int/ReadMe.txt +++ /dev/null @@ -1,93 +0,0 @@ -================================================================================ - MICROSOFT FOUNDATION CLASS LIBRARY : 7433int Project Overview -=============================================================================== - -The application wizard has created this 7433int application for -you. This application not only demonstrates the basics of using the Microsoft -Foundation Classes but is also a starting point for writing your application. - -This file contains a summary of what you will find in each of the files that -make up your 7433int application. - -7433int.vcproj - This is the main project file for VC++ projects generated using an application wizard. - It contains information about the version of Visual C++ that generated the file, and - information about the platforms, configurations, and project features selected with the - application wizard. - -7433int.h - This is the main header file for the application. It includes other - project specific headers (including Resource.h) and declares the - C7433intApp application class. - -7433int.cpp - This is the main application source file that contains the application - class C7433intApp. - -7433int.rc - This is a listing of all of the Microsoft Windows resources that the - program uses. It includes the icons, bitmaps, and cursors that are stored - in the RES subdirectory. This file can be directly edited in Microsoft - Visual C++. Your project resources are in 1033. - -res\7433int.ico - This is an icon file, which is used as the application's icon. This - icon is included by the main resource file 7433int.rc. - -res\My7433int.rc2 - This file contains resources that are not edited by Microsoft - Visual C++. You should place all resources not editable by - the resource editor in this file. - - -///////////////////////////////////////////////////////////////////////////// - -The application wizard creates one dialog class: - -7433intDlg.h, 7433intDlg.cpp - the dialog - These files contain your C7433intDlg class. This class defines - the behavior of your application's main dialog. The dialog's template is - in 7433int.rc, which can be edited in Microsoft Visual C++. - - -///////////////////////////////////////////////////////////////////////////// - -Other Features: - -ActiveX Controls - The application includes support to use ActiveX controls. - -///////////////////////////////////////////////////////////////////////////// - -Other standard files: - -StdAfx.h, StdAfx.cpp - These files are used to build a precompiled header (PCH) file - named 7433int.pch and a precompiled types file named StdAfx.obj. - -Resource.h - This is the standard header file, which defines new resource IDs. - Microsoft Visual C++ reads and updates this file. - -7433int.manifest - Application manifest files are used by Windows XP to describe an applications - dependency on specific versions of Side-by-Side assemblies. The loader uses this - information to load the appropriate assembly from the assembly cache or private - from the application. The Application manifest maybe included for redistribution - as an external .manifest file that is installed in the same folder as the application - executable or it may be included in the executable in the form of a resource. -///////////////////////////////////////////////////////////////////////////// - -Other notes: - -The application wizard uses "TODO:" to indicate parts of the source code you -should add to or customize. - -If your application uses MFC in a shared DLL, you will need -to redistribute the MFC DLLs. If your application is in a language -other than the operating system's locale, you will also have to -redistribute the corresponding localized resources MFC90XXX.DLL. -For more information on both of these topics, please see the section on -redistributing Visual C++ applications in MSDN documentation. - -///////////////////////////////////////////////////////////////////////////// diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7433/SDK7433int/res/7433int.ico b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7433/SDK7433int/res/7433int.ico deleted file mode 100644 index d56fbcd..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7433/SDK7433int/res/7433int.ico and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7433/SDK7433int/res/My7433int.rc2 b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7433/SDK7433int/res/My7433int.rc2 deleted file mode 100644 index 7bd3593..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7433/SDK7433int/res/My7433int.rc2 +++ /dev/null @@ -1,13 +0,0 @@ -// -// My7256int.RC2 - resources Microsoft Visual C++ does not edit directly -// - -#ifdef APSTUDIO_INVOKED -#error this file is not editable by Microsoft Visual C++ -#endif //APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// Add manually edited resources here... - -///////////////////////////////////////////////////////////////////////////// diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7433/SDK7433int/resource.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7433/SDK7433int/resource.h deleted file mode 100644 index c58effb..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7433/SDK7433int/resource.h +++ /dev/null @@ -1,27 +0,0 @@ -//{{NO_DEPENDENCIES}} -// Microsoft Visual C++ generated include file. -// Used by 7433int.rc -// -#define IDM_ABOUTBOX 0x0010 -#define IDD_ABOUTBOX 100 -#define IDS_ABOUTBOX 101 -#define IDD_MY7433INT_DIALOG 102 -#define IDR_MAINFRAME 128 -#define IDD_CARDID_DIALOG 129 -#define IDC_COMBO_CARDID 1000 -#define IDC_BUTTON1 1000 -#define IDC_BT_OUTPUT 1000 -#define IDC_STATIC_05 1007 -#define IDC_STATIC_06 1008 -#define IDC_STATIC_01 1014 - -// Next default values for new objects -// -#ifdef APSTUDIO_INVOKED -#ifndef APSTUDIO_READONLY_SYMBOLS -#define _APS_NEXT_RESOURCE_VALUE 131 -#define _APS_NEXT_COMMAND_VALUE 32771 -#define _APS_NEXT_CONTROL_VALUE 1001 -#define _APS_NEXT_SYMED_VALUE 101 -#endif -#endif diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7433/SDK7433int/stdafx.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7433/SDK7433int/stdafx.cpp deleted file mode 100644 index 59cfe36..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7433/SDK7433int/stdafx.cpp +++ /dev/null @@ -1,8 +0,0 @@ - -// stdafx.cpp : source file that includes just the standard includes -// 7433int.pch will be the pre-compiled header -// stdafx.obj will contain the pre-compiled type information - -#include "stdafx.h" - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7433/SDK7433int/stdafx.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7433/SDK7433int/stdafx.h deleted file mode 100644 index 12123e2..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7433/SDK7433int/stdafx.h +++ /dev/null @@ -1,60 +0,0 @@ - -// stdafx.h : include file for standard system include files, -// or project specific include files that are used frequently, -// but are changed infrequently - -#pragma once - -#ifndef _SECURE_ATL -#define _SECURE_ATL 1 -#endif - -#ifndef VC_EXTRALEAN -#define VC_EXTRALEAN // Exclude rarely-used stuff from Windows headers -#endif - -#include "targetver.h" - -#define _ATL_CSTRING_EXPLICIT_CONSTRUCTORS // some CString constructors will be explicit - -// turns off MFC's hiding of some common and often safely ignored warning messages -#define _AFX_ALL_WARNINGS - -#include // MFC core and standard components -#include // MFC extensions - - -#include // MFC Automation classes - - - -#ifndef _AFX_NO_OLE_SUPPORT -#include // MFC support for Internet Explorer 4 Common Controls -#endif -#ifndef _AFX_NO_AFXCMN_SUPPORT -#include // MFC support for Windows Common Controls -#endif // _AFX_NO_AFXCMN_SUPPORT - -#include // MFC support for ribbons and control bars - - - - - - - - - -#ifdef _UNICODE -#if defined _M_IX86 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='x86' publicKeyToken='6595b64144ccf1df' language='*'\"") -#elif defined _M_IA64 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='ia64' publicKeyToken='6595b64144ccf1df' language='*'\"") -#elif defined _M_X64 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='amd64' publicKeyToken='6595b64144ccf1df' language='*'\"") -#else -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='*' publicKeyToken='6595b64144ccf1df' language='*'\"") -#endif -#endif - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7433/SDK7433int/targetver.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7433/SDK7433int/targetver.h deleted file mode 100644 index 11730d5..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7433/SDK7433int/targetver.h +++ /dev/null @@ -1,26 +0,0 @@ - -#pragma once - -// The following macros define the minimum required platform. The minimum required platform -// is the earliest version of Windows, Internet Explorer etc. that has the necessary features to run -// your application. The macros work by enabling all features available on platform versions up to and -// including the version specified. - -// Modify the following defines if you have to target a platform prior to the ones specified below. -// Refer to MSDN for the latest info on corresponding values for different platforms. -#ifndef WINVER // Specifies that the minimum required platform is Windows Vista. -#define WINVER 0x0600 // Change this to the appropriate value to target other versions of Windows. -#endif - -#ifndef _WIN32_WINNT // Specifies that the minimum required platform is Windows Vista. -#define _WIN32_WINNT 0x0600 // Change this to the appropriate value to target other versions of Windows. -#endif - -#ifndef _WIN32_WINDOWS // Specifies that the minimum required platform is Windows 98. -#define _WIN32_WINDOWS 0x0410 // Change this to the appropriate value to target Windows Me or later. -#endif - -#ifndef _WIN32_IE // Specifies that the minimum required platform is Internet Explorer 7.0. -#define _WIN32_IE 0x0700 // Change this to the appropriate value to target other versions of IE. -#endif - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7433/SDK7433intMsg/7230int.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7433/SDK7433intMsg/7230int.suo deleted file mode 100644 index e5f9cb0..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7433/SDK7433intMsg/7230int.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7433/SDK7433intMsg/7256int.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7433/SDK7433intMsg/7256int.suo deleted file mode 100644 index 01299a3..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7433/SDK7433intMsg/7256int.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7433/SDK7433intMsg/7258int.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7433/SDK7433intMsg/7258int.suo deleted file mode 100644 index b00e489..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7433/SDK7433intMsg/7258int.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7433/SDK7433intMsg/7433int.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7433/SDK7433intMsg/7433int.cpp deleted file mode 100644 index 4f1b5c6..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7433/SDK7433intMsg/7433int.cpp +++ /dev/null @@ -1,110 +0,0 @@ - -// 7433int.cpp : Defines the class behaviors for the application. -// - -#include "stdafx.h" -#include "7433int.h" -#include "7433intDlg.h" -#include "CardIDDlg.h" - -#ifdef _DEBUG -#define new DEBUG_NEW -#endif - - -// C7433intApp - -BEGIN_MESSAGE_MAP(C7433intApp, CWinAppEx) - ON_COMMAND(ID_HELP, &CWinApp::OnHelp) -END_MESSAGE_MAP() - - -// C7433intApp construction - -C7433intApp::C7433intApp() -{ - // TODO: add construction code here, - // Place all significant initialization in InitInstance -} - - -// The one and only C7433intApp object - -C7433intApp theApp; - - -// C7433intApp initialization - -BOOL C7433intApp::InitInstance() -{ - int nCardID = 0; - I16 hCard; - CString strTemp; - INT_PTR nResponse; - - // InitCommonControlsEx() is required on Windows XP if an application - // manifest specifies use of ComCtl32.dll version 6 or later to enable - // visual styles. Otherwise, any window creation will fail. - INITCOMMONCONTROLSEX InitCtrls; - InitCtrls.dwSize = sizeof(InitCtrls); - // Set this to include all the common control classes you want to use - // in your application. - InitCtrls.dwICC = ICC_WIN95_CLASSES; - InitCommonControlsEx(&InitCtrls); - - CWinAppEx::InitInstance(); - - AfxEnableControlContainer(); - - // Standard initialization - // If you are not using these features and wish to reduce the size - // of your final executable, you should remove from the following - // the specific initialization routines you do not need - // Change the registry key under which our settings are stored - // TODO: You should modify this string to be something appropriate - // such as the name of your company or organization - SetRegistryKey(_T("Local AppWizard-Generated Applications")); - - CCardIDDlg CardDlg( nCardID ); - - nResponse = CardDlg.DoModal(); - if (nResponse == IDOK) - { - nCardID = CardDlg.GetCardID(); - - if ((hCard=Register_Card(PCI_7433, nCardID)) < 0) - { - strTemp.Format( TEXT("Register_Card Error = %d"), hCard); - AfxMessageBox( strTemp ); - } - else - { - C7433intDlg dlg(hCard); - m_pMainWnd = &dlg; - nResponse = dlg.DoModal(); - if (nResponse == IDOK) - { - // TODO: Place code here to handle when the dialog is - // dismissed with OK - } - else if (nResponse == IDCANCEL) - { - // TODO: Place code here to handle when the dialog is - // dismissed with Cancel - } - - if (hCard >= 0) Release_Card(hCard); - } - - } - else if (nResponse == IDCANCEL) - { - // TODO: Place code here to handle when the dialog is - // dismissed with Cancel - } - - - // Since the dialog has been closed, return FALSE so that we exit the - // application, rather than start the application's message pump. - return FALSE; -} diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7433/SDK7433intMsg/7433int.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7433/SDK7433intMsg/7433int.h deleted file mode 100644 index 2578419..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7433/SDK7433intMsg/7433int.h +++ /dev/null @@ -1,32 +0,0 @@ - -// 7433int.h : main header file for the PROJECT_NAME application -// - -#pragma once - -#ifndef __AFXWIN_H__ - #error "include 'stdafx.h' before including this file for PCH" -#endif - -#include "resource.h" // main symbols - - -// C7433intApp: -// See 7433int.cpp for the implementation of this class -// - -class C7433intApp : public CWinAppEx -{ -public: - C7433intApp(); - -// Overrides - public: - virtual BOOL InitInstance(); - -// Implementation - - DECLARE_MESSAGE_MAP() -}; - -extern C7433intApp theApp; \ No newline at end of file diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7433/SDK7433intMsg/7433int.rc b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7433/SDK7433intMsg/7433int.rc deleted file mode 100644 index a2278cf..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7433/SDK7433intMsg/7433int.rc +++ /dev/null @@ -1,268 +0,0 @@ -// Microsoft Visual C++ generated resource script. -// -#include "resource.h" - -#define APSTUDIO_READONLY_SYMBOLS -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 2 resource. -// -#ifndef APSTUDIO_INVOKED -#include "targetver.h" -#endif -#include "afxres.h" - -///////////////////////////////////////////////////////////////////////////// -#undef APSTUDIO_READONLY_SYMBOLS - -///////////////////////////////////////////////////////////////////////////// -// Chinese (Taiwan) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_CHT) -#ifdef _WIN32 -LANGUAGE LANG_CHINESE, SUBLANG_CHINESE_TRADITIONAL -#pragma code_page(950) -#endif //_WIN32 - -#ifdef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// TEXTINCLUDE -// - -1 TEXTINCLUDE -BEGIN - "resource.h\0" -END - -2 TEXTINCLUDE -BEGIN - "#ifndef APSTUDIO_INVOKED\r\n" - "#include ""targetver.h""\r\n" - "#endif\r\n" - "#include ""afxres.h""\r\n" - "\0" -END - -3 TEXTINCLUDE -BEGIN - "#define _AFX_NO_SPLITTER_RESOURCES\r\n" - "#define _AFX_NO_OLE_RESOURCES\r\n" - "#define _AFX_NO_TRACKER_RESOURCES\r\n" - "#define _AFX_NO_PROPERTY_RESOURCES\r\n" - "\r\n" - "#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)\r\n" - "LANGUAGE 9, 1\r\n" - "#pragma code_page(1252)\r\n" - "#include ""res\\My7433int.rc2"" // non-Microsoft Visual C++ edited resources\r\n" - "#include ""afxres.rc"" // Standard components\r\n" - "#endif\r\n" - "\0" -END - -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// Icon -// - -// Icon with lowest ID value placed first to ensure application icon -// remains consistent on all systems. -IDR_MAINFRAME ICON "res\\7433int.ico" -#endif // Chinese (Taiwan) resources -///////////////////////////////////////////////////////////////////////////// - - -///////////////////////////////////////////////////////////////////////////// -// English (U.S.) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -#ifdef _WIN32 -LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US -#pragma code_page(1252) -#endif //_WIN32 - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog -// - -IDD_ABOUTBOX DIALOGEX 0, 0, 170, 62 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "About 7433int" -FONT 8, "MS Shell Dlg", 0, 0, 0x1 -BEGIN - ICON IDR_MAINFRAME,IDC_STATIC,14,14,21,20 - LTEXT "7433int, Version 1.0",IDC_STATIC,42,14,114,8,SS_NOPREFIX - LTEXT "Copyright (C) 2010",IDC_STATIC,42,26,114,8 - DEFPUSHBUTTON "OK",IDOK,113,41,50,14,WS_GROUP -END - -IDD_MY7433INT_DIALOG DIALOGEX 0, 0, 195, 85 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU -EXSTYLE WS_EX_APPWINDOW -CAPTION "PCI-7433 Interrupt Sample (INT1)" -FONT 8, "MS Shell Dlg", 0, 0, 0x1 -BEGIN - LTEXT "This program shows the number of occurrence of INT1 interrupt. INT1 interrupt is generated by external signal from DI bit-0.",IDC_STATIC,22,12,151,27 - LTEXT "INT1 Count =",IDC_STATIC_05,54,65,85,13 -END - -IDD_CARDID_DIALOG DIALOGEX 0, 0, 163, 88 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "Card ID" -FONT 8, "MS Shell Dlg", 400, 0, 0x1 -BEGIN - COMBOBOX IDC_COMBO_CARDID,73,17,71,126,CBS_DROPDOWN | WS_VSCROLL | WS_TABSTOP - LTEXT "Card Number",IDC_STATIC_01,19,18,46,12 - PUSHBUTTON "OK",IDOK,20,50,58,19 - PUSHBUTTON "CANCEL",IDCANCEL,84,50,58,19 -END - - -///////////////////////////////////////////////////////////////////////////// -// -// Version -// - -VS_VERSION_INFO VERSIONINFO - FILEVERSION 1,0,0,1 - PRODUCTVERSION 1,0,0,1 - FILEFLAGSMASK 0x3fL -#ifdef _DEBUG - FILEFLAGS 0x1L -#else - FILEFLAGS 0x0L -#endif - FILEOS 0x4L - FILETYPE 0x1L - FILESUBTYPE 0x0L -BEGIN - BLOCK "StringFileInfo" - BEGIN - BLOCK "040904e4" - BEGIN - VALUE "CompanyName", "TODO: " - VALUE "FileDescription", "TODO: " - VALUE "FileVersion", "1.0.0.1" - VALUE "InternalName", "7433int.exe" - VALUE "LegalCopyright", "TODO: (c) . All rights reserved." - VALUE "OriginalFilename", "7433int.exe" - VALUE "ProductName", "TODO: " - VALUE "ProductVersion", "1.0.0.1" - END - END - BLOCK "VarFileInfo" - BEGIN - VALUE "Translation", 0x409, 1252 - END -END - - -///////////////////////////////////////////////////////////////////////////// -// -// DESIGNINFO -// - -#ifdef APSTUDIO_INVOKED -GUIDELINES DESIGNINFO -BEGIN - IDD_ABOUTBOX, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 163 - TOPMARGIN, 7 - BOTTOMMARGIN, 55 - END - - IDD_CARDID_DIALOG, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 156 - TOPMARGIN, 7 - BOTTOMMARGIN, 81 - END -END -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog Info -// - -IDD_CARDID_DIALOG DLGINIT -BEGIN - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0030, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0031, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0032, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0033, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0034, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0035, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0036, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0037, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0038, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0039, - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3031, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3131, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3231, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3331, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3431, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3531, "\000" - 0 -END - - -///////////////////////////////////////////////////////////////////////////// -// -// String Table -// - -STRINGTABLE -BEGIN - IDS_ABOUTBOX "&About 7433int..." -END - -#endif // English (U.S.) resources -///////////////////////////////////////////////////////////////////////////// - - - -#ifndef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 3 resource. -// -#define _AFX_NO_SPLITTER_RESOURCES -#define _AFX_NO_OLE_RESOURCES -#define _AFX_NO_TRACKER_RESOURCES -#define _AFX_NO_PROPERTY_RESOURCES - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -LANGUAGE 9, 1 -#pragma code_page(1252) -#include "res\My7433int.rc2" // non-Microsoft Visual C++ edited resources -#include "afxres.rc" // Standard components -#endif - -///////////////////////////////////////////////////////////////////////////// -#endif // not APSTUDIO_INVOKED - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7433/SDK7433intMsg/7433int.sln b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7433/SDK7433intMsg/7433int.sln deleted file mode 100644 index 571010c..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7433/SDK7433intMsg/7433int.sln +++ /dev/null @@ -1,20 +0,0 @@ - -Microsoft Visual Studio Solution File, Format Version 10.00 -# Visual Studio 2008 -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "7433int", "7433int.vcproj", "{7D5D9EC5-ED97-47EE-B6F4-ACCD71069808}" -EndProject -Global - GlobalSection(SolutionConfigurationPlatforms) = preSolution - Debug|x64 = Debug|x64 - Release|x64 = Release|x64 - EndGlobalSection - GlobalSection(ProjectConfigurationPlatforms) = postSolution - {7D5D9EC5-ED97-47EE-B6F4-ACCD71069808}.Debug|x64.ActiveCfg = Debug|x64 - {7D5D9EC5-ED97-47EE-B6F4-ACCD71069808}.Debug|x64.Build.0 = Debug|x64 - {7D5D9EC5-ED97-47EE-B6F4-ACCD71069808}.Release|x64.ActiveCfg = Release|x64 - {7D5D9EC5-ED97-47EE-B6F4-ACCD71069808}.Release|x64.Build.0 = Release|x64 - EndGlobalSection - GlobalSection(SolutionProperties) = preSolution - HideSolutionNode = FALSE - EndGlobalSection -EndGlobal diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7433/SDK7433intMsg/7433int.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7433/SDK7433intMsg/7433int.suo deleted file mode 100644 index ff3ea75..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7433/SDK7433intMsg/7433int.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7433/SDK7433intMsg/7433int.vcproj b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7433/SDK7433intMsg/7433int.vcproj deleted file mode 100644 index 020f6fe..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7433/SDK7433intMsg/7433int.vcproj +++ /dev/null @@ -1,286 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7433/SDK7433intMsg/7433intDlg.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7433/SDK7433intMsg/7433intDlg.cpp deleted file mode 100644 index 8667ad9..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7433/SDK7433intMsg/7433intDlg.cpp +++ /dev/null @@ -1,186 +0,0 @@ - -// 7433intDlg.cpp : implementation file -// - -#include "stdafx.h" -#include "7433int.h" -#include "7433intDlg.h" - -#ifdef _DEBUG -#define new DEBUG_NEW -#endif - - -#define EXT_SIGNAL_MESSAGE _T("EXT_SIG") -UINT WM_INT = ::RegisterWindowMessage(EXT_SIGNAL_MESSAGE); - -// CAboutDlg dialog used for App About - -class CAboutDlg : public CDialog -{ -public: - CAboutDlg(); - -// Dialog Data - enum { IDD = IDD_ABOUTBOX }; - - protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - -// Implementation -protected: - DECLARE_MESSAGE_MAP() -}; - -CAboutDlg::CAboutDlg() : CDialog(CAboutDlg::IDD) -{ -} - -void CAboutDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); -} - -BEGIN_MESSAGE_MAP(CAboutDlg, CDialog) -END_MESSAGE_MAP() - - -// C7433intDlg dialog - - - - -C7433intDlg::C7433intDlg(I16 hCard, CWnd* pParent /*=NULL*/) - : CDialog(C7433intDlg::IDD, pParent) -{ - m_hIcon = AfxGetApp()->LoadIcon(IDR_MAINFRAME); - - m_hCard = hCard; - m_dwOutVal = 0x00000000; - m_IntCount = 0; -} - -void C7433intDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); -} - -BEGIN_MESSAGE_MAP(C7433intDlg, CDialog) - ON_WM_SYSCOMMAND() - ON_WM_PAINT() - ON_WM_QUERYDRAGICON() - ON_REGISTERED_MESSAGE(WM_INT, OnExtSIGInterrupt) - //}}AFX_MSG_MAP - ON_WM_DESTROY() -// ON_BN_CLICKED(IDC_BT_OUTPUT, &C7433intDlg::OnOutput) -END_MESSAGE_MAP() - - -// C7433intDlg message handlers - -BOOL C7433intDlg::OnInitDialog() -{ - CDialog::OnInitDialog(); - - // Add "About..." menu item to system menu. - - // IDM_ABOUTBOX must be in the system command range. - ASSERT((IDM_ABOUTBOX & 0xFFF0) == IDM_ABOUTBOX); - ASSERT(IDM_ABOUTBOX < 0xF000); - - CMenu* pSysMenu = GetSystemMenu(FALSE); - if (pSysMenu != NULL) - { - BOOL bNameValid; - CString strAboutMenu; - bNameValid = strAboutMenu.LoadString(IDS_ABOUTBOX); - ASSERT(bNameValid); - if (!strAboutMenu.IsEmpty()) - { - pSysMenu->AppendMenu(MF_SEPARATOR); - pSysMenu->AppendMenu(MF_STRING, IDM_ABOUTBOX, strAboutMenu); - } - } - - // Set the icon for this dialog. The framework does this automatically - // when the application's main window is not a dialog - SetIcon(m_hIcon, TRUE); // Set big icon - SetIcon(m_hIcon, FALSE); // Set small icon - - // TODO: Add extra initialization here - DIO_INT1_EventMessage (m_hCard, INT1_EXT_SIGNAL, this->m_hWnd, WM_INT, NULL); - - return TRUE; // return TRUE unless you set the focus to a control -} - -void C7433intDlg::OnSysCommand(UINT nID, LPARAM lParam) -{ - if ((nID & 0xFFF0) == IDM_ABOUTBOX) - { - CAboutDlg dlgAbout; - dlgAbout.DoModal(); - } - else - { - CDialog::OnSysCommand(nID, lParam); - } -} - -// If you add a minimize button to your dialog, you will need the code below -// to draw the icon. For MFC applications using the document/view model, -// this is automatically done for you by the framework. - -void C7433intDlg::OnPaint() -{ - if (IsIconic()) - { - CPaintDC dc(this); // device context for painting - - SendMessage(WM_ICONERASEBKGND, reinterpret_cast(dc.GetSafeHdc()), 0); - - // Center icon in client rectangle - int cxIcon = GetSystemMetrics(SM_CXICON); - int cyIcon = GetSystemMetrics(SM_CYICON); - CRect rect; - GetClientRect(&rect); - int x = (rect.Width() - cxIcon + 1) / 2; - int y = (rect.Height() - cyIcon + 1) / 2; - - // Draw the icon - dc.DrawIcon(x, y, m_hIcon); - } - else - { - CDialog::OnPaint(); - } -} - -// The system calls this function to obtain the cursor to display while the user drags -// the minimized window. -HCURSOR C7433intDlg::OnQueryDragIcon() -{ - return static_cast(m_hIcon); -} - - -void C7433intDlg::OnDestroy() -{ - CDialog::OnDestroy(); - - // TODO: Add your message handler code here - DIO_INT1_EventMessage (m_hCard, INT1_DISABLE, this->m_hWnd, NULL, NULL); -} - - -LRESULT C7433intDlg::OnExtSIGInterrupt(WPARAM wParam, LPARAM lParam) -{ - // do something useful - CString strTemp; - - m_IntCount ++; - - strTemp.Format( TEXT("INT1 Count = %d"), m_IntCount ); - SetDlgItemText( IDC_STATIC_05, strTemp ); - - return (LRESULT) 0; -} diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7433/SDK7433intMsg/7433intDlg.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7433/SDK7433intMsg/7433intDlg.h deleted file mode 100644 index 1d1caf4..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7433/SDK7433intMsg/7433intDlg.h +++ /dev/null @@ -1,40 +0,0 @@ - -// 7433intDlg.h : header file -// -#include "Dask64.h" - -#pragma once - - -// C7433intDlg dialog -class C7433intDlg : public CDialog -{ -// Construction -public: - C7433intDlg(I16 hCard, CWnd* pParent = NULL); // standard constructor - -// Dialog Data - enum { IDD = IDD_MY7433INT_DIALOG }; - - protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - - -// Implementation -protected: - HICON m_hIcon; - I16 m_hCard; - U32 m_dwOutVal; - int m_IntCount; - HANDLE m_hIntEvent[2]; - - // Generated message map functions - virtual BOOL OnInitDialog(); - afx_msg void OnSysCommand(UINT nID, LPARAM lParam); - afx_msg void OnPaint(); - afx_msg HCURSOR OnQueryDragIcon(); - afx_msg LRESULT OnExtSIGInterrupt(WPARAM wParam, LPARAM lParam); - DECLARE_MESSAGE_MAP() -public: - afx_msg void OnDestroy(); -}; diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7433/SDK7433intMsg/CardIDDlg.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7433/SDK7433intMsg/CardIDDlg.cpp deleted file mode 100644 index 38da254..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7433/SDK7433intMsg/CardIDDlg.cpp +++ /dev/null @@ -1,67 +0,0 @@ -// CardIDDlg.cpp : implementation file -// - -#include "stdafx.h" -#include "7433int.h" -#include "CardIDDlg.h" - - -// CCardIDDlg dialog - -IMPLEMENT_DYNAMIC(CCardIDDlg, CDialog) - -CCardIDDlg::CCardIDDlg(int nCardIdx, CWnd* pParent /*=NULL*/) - : CDialog(CCardIDDlg::IDD, pParent) -{ - m_nCardIdx = nCardIdx; -} - -CCardIDDlg::~CCardIDDlg() -{ -} - -void CCardIDDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); - DDX_Control(pDX, IDC_COMBO_CARDID, m_cbCardID); -} - - -BEGIN_MESSAGE_MAP(CCardIDDlg, CDialog) -// ON_CBN_SELCHANGE(IDC_COMBO_CARDID, &CCardIDDlg::OnCbnSelchangeComboCardid) -ON_BN_CLICKED(IDOK, &CCardIDDlg::OnBnClickedOk) -//ON_WM_CTLCOLOR() -END_MESSAGE_MAP() - - -// CCardIDDlg message handlers - - -void CCardIDDlg::OnBnClickedOk() -{ - // TODO: Add your control notification handler code here - -// UpdateData(TRUE); - m_nCardIdx = m_cbCardID.GetCurSel(); - - OnOK(); -} - -BOOL CCardIDDlg::OnInitDialog() -{ - CDialog::OnInitDialog(); - - // TODO: Add extra initialization here - m_cbCardID.SetCurSel( m_nCardIdx ); - - return TRUE; // return TRUE unless you set the focus to a control - // EXCEPTION: OCX Property Pages should return FALSE -} - -// the function to get the selected CardID -int CCardIDDlg::GetCardID(void) -{ - return m_nCardIdx; -} - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7433/SDK7433intMsg/CardIDDlg.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7433/SDK7433intMsg/CardIDDlg.h deleted file mode 100644 index 54628ea..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7433/SDK7433intMsg/CardIDDlg.h +++ /dev/null @@ -1,33 +0,0 @@ -#pragma once -#include "afxwin.h" - - -// CCardIDDlg dialog - -class CCardIDDlg : public CDialog -{ - DECLARE_DYNAMIC(CCardIDDlg) - -public: - CCardIDDlg(int nCardIdx, CWnd* pParent = NULL); // standard constructor - virtual ~CCardIDDlg(); - -// Dialog Data - enum { IDD = IDD_CARDID_DIALOG }; - -protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - - DECLARE_MESSAGE_MAP() -public: -// afx_msg void OnCbnSelchangeComboCardid(); - afx_msg void OnBnClickedOk(); - // the setting of CardID ComboBox - int m_nCardIdx; - virtual BOOL OnInitDialog(); - // the control of CardID ComboBox - CComboBox m_cbCardID; - // the function to get the selected CardID - int GetCardID(void); -// afx_msg HBRUSH OnCtlColor(CDC* pDC, CWnd* pWnd, UINT nCtlColor); -}; diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7433/SDK7433intMsg/ReadMe.txt b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7433/SDK7433intMsg/ReadMe.txt deleted file mode 100644 index 4f6a876..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7433/SDK7433intMsg/ReadMe.txt +++ /dev/null @@ -1,93 +0,0 @@ -================================================================================ - MICROSOFT FOUNDATION CLASS LIBRARY : 7433int Project Overview -=============================================================================== - -The application wizard has created this 7433int application for -you. This application not only demonstrates the basics of using the Microsoft -Foundation Classes but is also a starting point for writing your application. - -This file contains a summary of what you will find in each of the files that -make up your 7433int application. - -7433int.vcproj - This is the main project file for VC++ projects generated using an application wizard. - It contains information about the version of Visual C++ that generated the file, and - information about the platforms, configurations, and project features selected with the - application wizard. - -7433int.h - This is the main header file for the application. It includes other - project specific headers (including Resource.h) and declares the - C7433intApp application class. - -7433int.cpp - This is the main application source file that contains the application - class C7433intApp. - -7433int.rc - This is a listing of all of the Microsoft Windows resources that the - program uses. It includes the icons, bitmaps, and cursors that are stored - in the RES subdirectory. This file can be directly edited in Microsoft - Visual C++. Your project resources are in 1033. - -res\7433int.ico - This is an icon file, which is used as the application's icon. This - icon is included by the main resource file 7433int.rc. - -res\My7433int.rc2 - This file contains resources that are not edited by Microsoft - Visual C++. You should place all resources not editable by - the resource editor in this file. - - -///////////////////////////////////////////////////////////////////////////// - -The application wizard creates one dialog class: - -7433intDlg.h, 7433intDlg.cpp - the dialog - These files contain your C7433intDlg class. This class defines - the behavior of your application's main dialog. The dialog's template is - in 7433int.rc, which can be edited in Microsoft Visual C++. - - -///////////////////////////////////////////////////////////////////////////// - -Other Features: - -ActiveX Controls - The application includes support to use ActiveX controls. - -///////////////////////////////////////////////////////////////////////////// - -Other standard files: - -StdAfx.h, StdAfx.cpp - These files are used to build a precompiled header (PCH) file - named 7433int.pch and a precompiled types file named StdAfx.obj. - -Resource.h - This is the standard header file, which defines new resource IDs. - Microsoft Visual C++ reads and updates this file. - -7433int.manifest - Application manifest files are used by Windows XP to describe an applications - dependency on specific versions of Side-by-Side assemblies. The loader uses this - information to load the appropriate assembly from the assembly cache or private - from the application. The Application manifest maybe included for redistribution - as an external .manifest file that is installed in the same folder as the application - executable or it may be included in the executable in the form of a resource. -///////////////////////////////////////////////////////////////////////////// - -Other notes: - -The application wizard uses "TODO:" to indicate parts of the source code you -should add to or customize. - -If your application uses MFC in a shared DLL, you will need -to redistribute the MFC DLLs. If your application is in a language -other than the operating system's locale, you will also have to -redistribute the corresponding localized resources MFC90XXX.DLL. -For more information on both of these topics, please see the section on -redistributing Visual C++ applications in MSDN documentation. - -///////////////////////////////////////////////////////////////////////////// diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7433/SDK7433intMsg/res/7433int.ico b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7433/SDK7433intMsg/res/7433int.ico deleted file mode 100644 index d56fbcd..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7433/SDK7433intMsg/res/7433int.ico and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7433/SDK7433intMsg/res/My7433int.rc2 b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7433/SDK7433intMsg/res/My7433int.rc2 deleted file mode 100644 index 7bd3593..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7433/SDK7433intMsg/res/My7433int.rc2 +++ /dev/null @@ -1,13 +0,0 @@ -// -// My7256int.RC2 - resources Microsoft Visual C++ does not edit directly -// - -#ifdef APSTUDIO_INVOKED -#error this file is not editable by Microsoft Visual C++ -#endif //APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// Add manually edited resources here... - -///////////////////////////////////////////////////////////////////////////// diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7433/SDK7433intMsg/resource.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7433/SDK7433intMsg/resource.h deleted file mode 100644 index c58effb..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7433/SDK7433intMsg/resource.h +++ /dev/null @@ -1,27 +0,0 @@ -//{{NO_DEPENDENCIES}} -// Microsoft Visual C++ generated include file. -// Used by 7433int.rc -// -#define IDM_ABOUTBOX 0x0010 -#define IDD_ABOUTBOX 100 -#define IDS_ABOUTBOX 101 -#define IDD_MY7433INT_DIALOG 102 -#define IDR_MAINFRAME 128 -#define IDD_CARDID_DIALOG 129 -#define IDC_COMBO_CARDID 1000 -#define IDC_BUTTON1 1000 -#define IDC_BT_OUTPUT 1000 -#define IDC_STATIC_05 1007 -#define IDC_STATIC_06 1008 -#define IDC_STATIC_01 1014 - -// Next default values for new objects -// -#ifdef APSTUDIO_INVOKED -#ifndef APSTUDIO_READONLY_SYMBOLS -#define _APS_NEXT_RESOURCE_VALUE 131 -#define _APS_NEXT_COMMAND_VALUE 32771 -#define _APS_NEXT_CONTROL_VALUE 1001 -#define _APS_NEXT_SYMED_VALUE 101 -#endif -#endif diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7433/SDK7433intMsg/stdafx.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7433/SDK7433intMsg/stdafx.cpp deleted file mode 100644 index 59cfe36..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7433/SDK7433intMsg/stdafx.cpp +++ /dev/null @@ -1,8 +0,0 @@ - -// stdafx.cpp : source file that includes just the standard includes -// 7433int.pch will be the pre-compiled header -// stdafx.obj will contain the pre-compiled type information - -#include "stdafx.h" - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7433/SDK7433intMsg/stdafx.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7433/SDK7433intMsg/stdafx.h deleted file mode 100644 index 12123e2..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7433/SDK7433intMsg/stdafx.h +++ /dev/null @@ -1,60 +0,0 @@ - -// stdafx.h : include file for standard system include files, -// or project specific include files that are used frequently, -// but are changed infrequently - -#pragma once - -#ifndef _SECURE_ATL -#define _SECURE_ATL 1 -#endif - -#ifndef VC_EXTRALEAN -#define VC_EXTRALEAN // Exclude rarely-used stuff from Windows headers -#endif - -#include "targetver.h" - -#define _ATL_CSTRING_EXPLICIT_CONSTRUCTORS // some CString constructors will be explicit - -// turns off MFC's hiding of some common and often safely ignored warning messages -#define _AFX_ALL_WARNINGS - -#include // MFC core and standard components -#include // MFC extensions - - -#include // MFC Automation classes - - - -#ifndef _AFX_NO_OLE_SUPPORT -#include // MFC support for Internet Explorer 4 Common Controls -#endif -#ifndef _AFX_NO_AFXCMN_SUPPORT -#include // MFC support for Windows Common Controls -#endif // _AFX_NO_AFXCMN_SUPPORT - -#include // MFC support for ribbons and control bars - - - - - - - - - -#ifdef _UNICODE -#if defined _M_IX86 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='x86' publicKeyToken='6595b64144ccf1df' language='*'\"") -#elif defined _M_IA64 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='ia64' publicKeyToken='6595b64144ccf1df' language='*'\"") -#elif defined _M_X64 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='amd64' publicKeyToken='6595b64144ccf1df' language='*'\"") -#else -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='*' publicKeyToken='6595b64144ccf1df' language='*'\"") -#endif -#endif - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7433/SDK7433intMsg/targetver.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7433/SDK7433intMsg/targetver.h deleted file mode 100644 index 11730d5..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7433/SDK7433intMsg/targetver.h +++ /dev/null @@ -1,26 +0,0 @@ - -#pragma once - -// The following macros define the minimum required platform. The minimum required platform -// is the earliest version of Windows, Internet Explorer etc. that has the necessary features to run -// your application. The macros work by enabling all features available on platform versions up to and -// including the version specified. - -// Modify the following defines if you have to target a platform prior to the ones specified below. -// Refer to MSDN for the latest info on corresponding values for different platforms. -#ifndef WINVER // Specifies that the minimum required platform is Windows Vista. -#define WINVER 0x0600 // Change this to the appropriate value to target other versions of Windows. -#endif - -#ifndef _WIN32_WINNT // Specifies that the minimum required platform is Windows Vista. -#define _WIN32_WINNT 0x0600 // Change this to the appropriate value to target other versions of Windows. -#endif - -#ifndef _WIN32_WINDOWS // Specifies that the minimum required platform is Windows 98. -#define _WIN32_WINDOWS 0x0410 // Change this to the appropriate value to target Windows Me or later. -#endif - -#ifndef _WIN32_IE // Specifies that the minimum required platform is Internet Explorer 7.0. -#define _WIN32_IE 0x0700 // Change this to the appropriate value to target other versions of IE. -#endif - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7433/Sdk7433/CardIDDlg.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7433/Sdk7433/CardIDDlg.cpp deleted file mode 100644 index 2e1f106..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7433/Sdk7433/CardIDDlg.cpp +++ /dev/null @@ -1,67 +0,0 @@ -// CardIDDlg.cpp : implementation file -// - -#include "stdafx.h" -#include "Util7433.h" -#include "CardIDDlg.h" - - -// CCardIDDlg dialog - -IMPLEMENT_DYNAMIC(CCardIDDlg, CDialog) - -CCardIDDlg::CCardIDDlg(int nCardIdx, CWnd* pParent /*=NULL*/) - : CDialog(CCardIDDlg::IDD, pParent) -{ - m_nCardIdx = nCardIdx; -} - -CCardIDDlg::~CCardIDDlg() -{ -} - -void CCardIDDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); - DDX_Control(pDX, IDC_COMBO_CARDID, m_cbCardID); -} - - -BEGIN_MESSAGE_MAP(CCardIDDlg, CDialog) -// ON_CBN_SELCHANGE(IDC_COMBO_CARDID, &CCardIDDlg::OnCbnSelchangeComboCardid) -ON_BN_CLICKED(IDOK, &CCardIDDlg::OnBnClickedOk) -//ON_WM_CTLCOLOR() -END_MESSAGE_MAP() - - -// CCardIDDlg message handlers - - -void CCardIDDlg::OnBnClickedOk() -{ - // TODO: Add your control notification handler code here - -// UpdateData(TRUE); - m_nCardIdx = m_cbCardID.GetCurSel(); - - OnOK(); -} - -BOOL CCardIDDlg::OnInitDialog() -{ - CDialog::OnInitDialog(); - - // TODO: Add extra initialization here - m_cbCardID.SetCurSel( m_nCardIdx ); - - return TRUE; // return TRUE unless you set the focus to a control - // EXCEPTION: OCX Property Pages should return FALSE -} - -// the function to get the selected CardID -int CCardIDDlg::GetCardID(void) -{ - return m_nCardIdx; -} - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7433/Sdk7433/CardIDDlg.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7433/Sdk7433/CardIDDlg.h deleted file mode 100644 index 54628ea..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7433/Sdk7433/CardIDDlg.h +++ /dev/null @@ -1,33 +0,0 @@ -#pragma once -#include "afxwin.h" - - -// CCardIDDlg dialog - -class CCardIDDlg : public CDialog -{ - DECLARE_DYNAMIC(CCardIDDlg) - -public: - CCardIDDlg(int nCardIdx, CWnd* pParent = NULL); // standard constructor - virtual ~CCardIDDlg(); - -// Dialog Data - enum { IDD = IDD_CARDID_DIALOG }; - -protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - - DECLARE_MESSAGE_MAP() -public: -// afx_msg void OnCbnSelchangeComboCardid(); - afx_msg void OnBnClickedOk(); - // the setting of CardID ComboBox - int m_nCardIdx; - virtual BOOL OnInitDialog(); - // the control of CardID ComboBox - CComboBox m_cbCardID; - // the function to get the selected CardID - int GetCardID(void); -// afx_msg HBRUSH OnCtlColor(CDC* pDC, CWnd* pWnd, UINT nCtlColor); -}; diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7433/Sdk7433/ReadMe.txt b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7433/Sdk7433/ReadMe.txt deleted file mode 100644 index f261f83..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7433/Sdk7433/ReadMe.txt +++ /dev/null @@ -1,93 +0,0 @@ -================================================================================ - MICROSOFT FOUNDATION CLASS LIBRARY : Util7433 Project Overview -=============================================================================== - -The application wizard has created this Util7433 application for -you. This application not only demonstrates the basics of using the Microsoft -Foundation Classes but is also a starting point for writing your application. - -This file contains a summary of what you will find in each of the files that -make up your Util7433 application. - -Util7433.vcproj - This is the main project file for VC++ projects generated using an application wizard. - It contains information about the version of Visual C++ that generated the file, and - information about the platforms, configurations, and project features selected with the - application wizard. - -Util7433.h - This is the main header file for the application. It includes other - project specific headers (including Resource.h) and declares the - CUtil7433App application class. - -Util7433.cpp - This is the main application source file that contains the application - class CUtil7433App. - -Util7433.rc - This is a listing of all of the Microsoft Windows resources that the - program uses. It includes the icons, bitmaps, and cursors that are stored - in the RES subdirectory. This file can be directly edited in Microsoft - Visual C++. Your project resources are in 1033. - -res\Util7433.ico - This is an icon file, which is used as the application's icon. This - icon is included by the main resource file Util7433.rc. - -res\Util7433.rc2 - This file contains resources that are not edited by Microsoft - Visual C++. You should place all resources not editable by - the resource editor in this file. - - -///////////////////////////////////////////////////////////////////////////// - -The application wizard creates one dialog class: - -Util7433Dlg.h, Util7433Dlg.cpp - the dialog - These files contain your CUtil7433Dlg class. This class defines - the behavior of your application's main dialog. The dialog's template is - in Util7433.rc, which can be edited in Microsoft Visual C++. - - -///////////////////////////////////////////////////////////////////////////// - -Other Features: - -ActiveX Controls - The application includes support to use ActiveX controls. - -///////////////////////////////////////////////////////////////////////////// - -Other standard files: - -StdAfx.h, StdAfx.cpp - These files are used to build a precompiled header (PCH) file - named Util7433.pch and a precompiled types file named StdAfx.obj. - -Resource.h - This is the standard header file, which defines new resource IDs. - Microsoft Visual C++ reads and updates this file. - -Util7433.manifest - Application manifest files are used by Windows XP to describe an applications - dependency on specific versions of Side-by-Side assemblies. The loader uses this - information to load the appropriate assembly from the assembly cache or private - from the application. The Application manifest maybe included for redistribution - as an external .manifest file that is installed in the same folder as the application - executable or it may be included in the executable in the form of a resource. -///////////////////////////////////////////////////////////////////////////// - -Other notes: - -The application wizard uses "TODO:" to indicate parts of the source code you -should add to or customize. - -If your application uses MFC in a shared DLL, you will need -to redistribute the MFC DLLs. If your application is in a language -other than the operating system's locale, you will also have to -redistribute the corresponding localized resources MFC90XXX.DLL. -For more information on both of these topics, please see the section on -redistributing Visual C++ applications in MSDN documentation. - -///////////////////////////////////////////////////////////////////////////// diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7433/Sdk7433/Util7233.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7433/Sdk7433/Util7233.suo deleted file mode 100644 index 5af63cf..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7433/Sdk7433/Util7233.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7433/Sdk7433/Util7433.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7433/Sdk7433/Util7433.cpp deleted file mode 100644 index ec6cf65..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7433/Sdk7433/Util7433.cpp +++ /dev/null @@ -1,111 +0,0 @@ - -// Util7433.cpp : Defines the class behaviors for the application. -// - -#include "stdafx.h" -#include "Util7433.h" -#include "Util7433Dlg.h" -#include "CardIDDlg.h" - - -#ifdef _DEBUG -#define new DEBUG_NEW -#endif - - -// CUtil7433App - -BEGIN_MESSAGE_MAP(CUtil7433App, CWinAppEx) - ON_COMMAND(ID_HELP, &CWinApp::OnHelp) -END_MESSAGE_MAP() - - -// CUtil7433App construction - -CUtil7433App::CUtil7433App() -{ - // TODO: add construction code here, - // Place all significant initialization in InitInstance -} - - -// The one and only CUtil7433App object - -CUtil7433App theApp; - - -// CUtil7433App initialization - -BOOL CUtil7433App::InitInstance() -{ - int nCardID = 0; - I16 hCard; - CString strTemp; - INT_PTR nResponse; - - // InitCommonControlsEx() is required on Windows XP if an application - // manifest specifies use of ComCtl32.dll version 6 or later to enable - // visual styles. Otherwise, any window creation will fail. - INITCOMMONCONTROLSEX InitCtrls; - InitCtrls.dwSize = sizeof(InitCtrls); - // Set this to include all the common control classes you want to use - // in your application. - InitCtrls.dwICC = ICC_WIN95_CLASSES; - InitCommonControlsEx(&InitCtrls); - - CWinAppEx::InitInstance(); - - AfxEnableControlContainer(); - - // Standard initialization - // If you are not using these features and wish to reduce the size - // of your final executable, you should remove from the following - // the specific initialization routines you do not need - // Change the registry key under which our settings are stored - // TODO: You should modify this string to be something appropriate - // such as the name of your company or organization - SetRegistryKey(_T("Local AppWizard-Generated Applications")); - - CCardIDDlg CardDlg( nCardID ); - - nResponse = CardDlg.DoModal(); - if (nResponse == IDOK) - { - nCardID = CardDlg.GetCardID(); - - if ((hCard=Register_Card(PCI_7433, nCardID)) < 0) - { - strTemp.Format( TEXT("Register_Card Error = %d"), hCard); - AfxMessageBox( strTemp ); - } - else - { - CUtil7433Dlg dlg(hCard); - m_pMainWnd = &dlg; - nResponse = dlg.DoModal(); - if (nResponse == IDOK) - { - // TODO: Place code here to handle when the dialog is - // dismissed with OK - } - else if (nResponse == IDCANCEL) - { - // TODO: Place code here to handle when the dialog is - // dismissed with Cancel - } - - if (hCard >= 0) Release_Card(hCard); - } - - } - else if (nResponse == IDCANCEL) - { - // TODO: Place code here to handle when the dialog is - // dismissed with Cancel - } - - - // Since the dialog has been closed, return FALSE so that we exit the - // application, rather than start the application's message pump. - return FALSE; -} diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7433/Sdk7433/Util7433.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7433/Sdk7433/Util7433.h deleted file mode 100644 index 4721337..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7433/Sdk7433/Util7433.h +++ /dev/null @@ -1,32 +0,0 @@ - -// Util7433.h : main header file for the PROJECT_NAME application -// - -#pragma once - -#ifndef __AFXWIN_H__ - #error "include 'stdafx.h' before including this file for PCH" -#endif - -#include "resource.h" // main symbols - - -// CUtil7433App: -// See Util7433.cpp for the implementation of this class -// - -class CUtil7433App : public CWinAppEx -{ -public: - CUtil7433App(); - -// Overrides - public: - virtual BOOL InitInstance(); - -// Implementation - - DECLARE_MESSAGE_MAP() -}; - -extern CUtil7433App theApp; \ No newline at end of file diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7433/Sdk7433/Util7433.rc b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7433/Sdk7433/Util7433.rc deleted file mode 100644 index c249aae..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7433/Sdk7433/Util7433.rc +++ /dev/null @@ -1,343 +0,0 @@ -// Microsoft Visual C++ generated resource script. -// -#include "resource.h" - -#define APSTUDIO_READONLY_SYMBOLS -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 2 resource. -// -#ifndef APSTUDIO_INVOKED -#include "targetver.h" -#endif -#include "afxres.h" - -///////////////////////////////////////////////////////////////////////////// -#undef APSTUDIO_READONLY_SYMBOLS - -///////////////////////////////////////////////////////////////////////////// -// Chinese (Taiwan) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_CHT) -#ifdef _WIN32 -LANGUAGE LANG_CHINESE, SUBLANG_CHINESE_TRADITIONAL -#pragma code_page(950) -#endif //_WIN32 - -#ifdef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// TEXTINCLUDE -// - -1 TEXTINCLUDE -BEGIN - "resource.h\0" -END - -2 TEXTINCLUDE -BEGIN - "#ifndef APSTUDIO_INVOKED\r\n" - "#include ""targetver.h""\r\n" - "#endif\r\n" - "#include ""afxres.h""\r\n" - "\0" -END - -3 TEXTINCLUDE -BEGIN - "#define _AFX_NO_SPLITTER_RESOURCES\r\n" - "#define _AFX_NO_OLE_RESOURCES\r\n" - "#define _AFX_NO_TRACKER_RESOURCES\r\n" - "#define _AFX_NO_PROPERTY_RESOURCES\r\n" - "\r\n" - "#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)\r\n" - "LANGUAGE 9, 1\r\n" - "#pragma code_page(1252)\r\n" - "#include ""res\\Util7433.rc2"" // non-Microsoft Visual C++ edited resources\r\n" - "#include ""afxres.rc"" // Standard components\r\n" - "#endif\r\n" - "\0" -END - -#endif // APSTUDIO_INVOKED - -#endif // Chinese (Taiwan) resources -///////////////////////////////////////////////////////////////////////////// - - -///////////////////////////////////////////////////////////////////////////// -// English (U.S.) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -#ifdef _WIN32 -LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US -#pragma code_page(1252) -#endif //_WIN32 - -///////////////////////////////////////////////////////////////////////////// -// -// Icon -// - -// Icon with lowest ID value placed first to ensure application icon -// remains consistent on all systems. -IDR_MAINFRAME ICON "res\\Util7433.ico" -IDI_ICON_BLACK ICON "res\\black.ico" -IDI_ICON_GREEN ICON "res\\green.ico" -IDI_ICON_RED ICON "res\\red.ico" - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog -// - -IDD_ABOUTBOX DIALOGEX 0, 0, 170, 62 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "About Util7433" -FONT 8, "MS Shell Dlg", 0, 0, 0x1 -BEGIN - ICON IDR_MAINFRAME,IDC_STATIC,14,14,21,20 - LTEXT "Util7433, Version 1.0",IDC_STATIC,42,14,114,8,SS_NOPREFIX - LTEXT "Copyright (C) 2010",IDC_STATIC,42,26,114,8 - DEFPUSHBUTTON "OK",IDOK,113,41,50,14,WS_GROUP -END - -IDD_UTIL7433_DIALOG DIALOGEX 0, 0, 314, 169 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU -EXSTYLE WS_EX_APPWINDOW -CAPTION "PCI-7433" -FONT 8, "MS Shell Dlg", 0, 0, 0x1 -BEGIN - ICON IDI_ICON_BLACK,IDC_ICON_DI00,279,128,21,20 - ICON IDI_ICON_BLACK,IDC_ICON_DI01,261,128,21,20 - ICON IDI_ICON_BLACK,IDC_ICON_DI02,243,128,21,20 - ICON IDI_ICON_BLACK,IDC_ICON_DI03,225,128,21,20 - ICON IDI_ICON_BLACK,IDC_ICON_DI04,207,128,21,20 - ICON IDI_ICON_BLACK,IDC_ICON_DI05,189,128,21,20 - ICON IDI_ICON_BLACK,IDC_ICON_DI06,171,128,21,20 - ICON IDI_ICON_BLACK,IDC_ICON_DI07,153,128,21,20 - ICON IDI_ICON_BLACK,IDC_ICON_DI08,135,128,21,20 - ICON IDI_ICON_BLACK,IDC_ICON_DI09,117,128,21,20 - ICON IDI_ICON_BLACK,IDC_ICON_DI10,99,128,21,20 - ICON IDI_ICON_BLACK,IDC_ICON_DI11,81,128,21,20 - ICON IDI_ICON_BLACK,IDC_ICON_DI12,63,128,21,20 - ICON IDI_ICON_BLACK,IDC_ICON_DI13,45,128,21,20 - ICON IDI_ICON_BLACK,IDC_ICON_DI14,27,128,21,20 - ICON IDI_ICON_BLACK,IDC_ICON_DI15,9,128,21,20 - LTEXT " 15 0",IDC_STATIC,9,147,289,13 - ICON IDI_ICON_BLACK,IDC_ICON_DI16,279,91,21,20 - ICON IDI_ICON_BLACK,IDC_ICON_DI17,261,91,21,20 - ICON IDI_ICON_BLACK,IDC_ICON_DI18,243,91,21,20 - ICON IDI_ICON_BLACK,IDC_ICON_DI19,225,91,21,20 - ICON IDI_ICON_BLACK,IDC_ICON_DI20,207,91,21,20 - ICON IDI_ICON_BLACK,IDC_ICON_DI21,189,91,21,20 - ICON IDI_ICON_BLACK,IDC_ICON_DI22,171,91,21,20 - ICON IDI_ICON_BLACK,IDC_ICON_DI23,153,91,21,20 - ICON IDI_ICON_BLACK,IDC_ICON_DI24,135,91,21,20 - ICON IDI_ICON_BLACK,IDC_ICON_DI25,117,91,21,20 - ICON IDI_ICON_BLACK,IDC_ICON_DI26,99,91,21,20 - ICON IDI_ICON_BLACK,IDC_ICON_DI27,81,91,21,20 - ICON IDI_ICON_BLACK,IDC_ICON_DI28,63,91,21,20 - ICON IDI_ICON_BLACK,IDC_ICON_DI29,45,91,21,20 - ICON IDI_ICON_BLACK,IDC_ICON_DI30,27,91,21,20 - ICON IDI_ICON_BLACK,IDC_ICON_DI31,9,91,21,20 - LTEXT " 31 16",IDC_STATIC,9,110,289,13 - GROUPBOX "Digital Input",IDC_STATIC,7,9,298,151 - ICON IDI_ICON_BLACK,IDC_ICON_DI32,279,53,21,20 - ICON IDI_ICON_BLACK,IDC_ICON_DI33,261,53,21,20 - ICON IDI_ICON_BLACK,IDC_ICON_DI34,243,53,21,20 - ICON IDI_ICON_BLACK,IDC_ICON_DI35,225,53,21,20 - ICON IDI_ICON_BLACK,IDC_ICON_DI36,207,53,21,20 - ICON IDI_ICON_BLACK,IDC_ICON_DI37,189,53,21,20 - ICON IDI_ICON_BLACK,IDC_ICON_DI38,171,53,21,20 - ICON IDI_ICON_BLACK,IDC_ICON_DI39,153,53,21,20 - ICON IDI_ICON_BLACK,IDC_ICON_DI40,135,53,21,20 - ICON IDI_ICON_BLACK,IDC_ICON_DI41,117,53,21,20 - ICON IDI_ICON_BLACK,IDC_ICON_DI42,99,53,21,20 - ICON IDI_ICON_BLACK,IDC_ICON_DI43,81,53,21,20 - ICON IDI_ICON_BLACK,IDC_ICON_DI44,63,53,21,20 - ICON IDI_ICON_BLACK,IDC_ICON_DI45,45,53,21,20 - ICON IDI_ICON_BLACK,IDC_ICON_DI46,27,53,21,20 - ICON IDI_ICON_BLACK,IDC_ICON_DI47,9,53,21,20 - ICON IDI_ICON_BLACK,IDC_ICON_DI48,279,15,21,20 - ICON IDI_ICON_BLACK,IDC_ICON_DI49,261,15,21,20 - ICON IDI_ICON_BLACK,IDC_ICON_DI50,243,15,21,20 - ICON IDI_ICON_BLACK,IDC_ICON_DI51,225,15,21,20 - ICON IDI_ICON_BLACK,IDC_ICON_DI52,207,15,21,20 - ICON IDI_ICON_BLACK,IDC_ICON_DI53,189,15,21,20 - ICON IDI_ICON_BLACK,IDC_ICON_DI54,171,15,21,20 - ICON IDI_ICON_BLACK,IDC_ICON_DI55,153,15,21,20 - ICON IDI_ICON_BLACK,IDC_ICON_DI56,135,15,21,20 - ICON IDI_ICON_BLACK,IDC_ICON_DI57,117,15,21,20 - ICON IDI_ICON_BLACK,IDC_ICON_DI58,99,15,21,20 - ICON IDI_ICON_BLACK,IDC_ICON_DI59,81,15,21,20 - ICON IDI_ICON_BLACK,IDC_ICON_DI60,63,15,21,20 - ICON IDI_ICON_BLACK,IDC_ICON_DI61,45,15,21,20 - ICON IDI_ICON_BLACK,IDC_ICON_DI62,27,15,21,20 - ICON IDI_ICON_BLACK,IDC_ICON_DI63,9,15,21,20 - LTEXT " 47 32",IDC_STATIC,9,72,289,13 - LTEXT " 63 48",IDC_STATIC,9,33,289,13 -END - -IDD_CARDID_DIALOG DIALOGEX 0, 0, 163, 87 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "Card ID" -FONT 8, "MS Shell Dlg", 400, 0, 0x1 -BEGIN - COMBOBOX IDC_COMBO_CARDID,73,17,71,126,CBS_DROPDOWN | WS_VSCROLL | WS_TABSTOP - LTEXT "Card Number",IDC_STATIC_01,19,18,46,12 - PUSHBUTTON "OK",IDOK,20,50,58,19 - PUSHBUTTON "CANCEL",IDCANCEL,84,50,58,19 -END - - -///////////////////////////////////////////////////////////////////////////// -// -// Version -// - -VS_VERSION_INFO VERSIONINFO - FILEVERSION 1,0,0,1 - PRODUCTVERSION 1,0,0,1 - FILEFLAGSMASK 0x3fL -#ifdef _DEBUG - FILEFLAGS 0x1L -#else - FILEFLAGS 0x0L -#endif - FILEOS 0x4L - FILETYPE 0x1L - FILESUBTYPE 0x0L -BEGIN - BLOCK "StringFileInfo" - BEGIN - BLOCK "040904e4" - BEGIN - VALUE "CompanyName", "TODO: " - VALUE "FileDescription", "TODO: " - VALUE "FileVersion", "1.0.0.1" - VALUE "InternalName", "Util7433.exe" - VALUE "LegalCopyright", "TODO: (c) . All rights reserved." - VALUE "OriginalFilename", "Util7433.exe" - VALUE "ProductName", "TODO: " - VALUE "ProductVersion", "1.0.0.1" - END - END - BLOCK "VarFileInfo" - BEGIN - VALUE "Translation", 0x409, 1252 - END -END - - -///////////////////////////////////////////////////////////////////////////// -// -// DESIGNINFO -// - -#ifdef APSTUDIO_INVOKED -GUIDELINES DESIGNINFO -BEGIN - IDD_ABOUTBOX, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 163 - TOPMARGIN, 7 - BOTTOMMARGIN, 55 - END - - IDD_UTIL7433_DIALOG, DIALOG - BEGIN - BOTTOMMARGIN, 168 - END - - IDD_CARDID_DIALOG, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 156 - TOPMARGIN, 7 - BOTTOMMARGIN, 80 - END -END -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog Info -// - -IDD_CARDID_DIALOG DLGINIT -BEGIN - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0030, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0031, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0032, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0033, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0034, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0035, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0036, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0037, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0038, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0039, - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3031, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3131, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3231, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3331, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3431, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3531, "\000" - 0 -END - - -///////////////////////////////////////////////////////////////////////////// -// -// String Table -// - -STRINGTABLE -BEGIN - IDS_ABOUTBOX "&About Util7433..." -END - -#endif // English (U.S.) resources -///////////////////////////////////////////////////////////////////////////// - - - -#ifndef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 3 resource. -// -#define _AFX_NO_SPLITTER_RESOURCES -#define _AFX_NO_OLE_RESOURCES -#define _AFX_NO_TRACKER_RESOURCES -#define _AFX_NO_PROPERTY_RESOURCES - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -LANGUAGE 9, 1 -#pragma code_page(1252) -#include "res\Util7433.rc2" // non-Microsoft Visual C++ edited resources -#include "afxres.rc" // Standard components -#endif - -///////////////////////////////////////////////////////////////////////////// -#endif // not APSTUDIO_INVOKED - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7433/Sdk7433/Util7433.sln b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7433/Sdk7433/Util7433.sln deleted file mode 100644 index 78ce31e..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7433/Sdk7433/Util7433.sln +++ /dev/null @@ -1,20 +0,0 @@ - -Microsoft Visual Studio Solution File, Format Version 10.00 -# Visual Studio 2008 -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "Util7433", "Util7433.vcproj", "{C7FD46C6-5640-46BB-9CDF-718DC4621FFD}" -EndProject -Global - GlobalSection(SolutionConfigurationPlatforms) = preSolution - Debug|x64 = Debug|x64 - Release|x64 = Release|x64 - EndGlobalSection - GlobalSection(ProjectConfigurationPlatforms) = postSolution - {C7FD46C6-5640-46BB-9CDF-718DC4621FFD}.Debug|x64.ActiveCfg = Debug|x64 - {C7FD46C6-5640-46BB-9CDF-718DC4621FFD}.Debug|x64.Build.0 = Debug|x64 - {C7FD46C6-5640-46BB-9CDF-718DC4621FFD}.Release|x64.ActiveCfg = Release|x64 - {C7FD46C6-5640-46BB-9CDF-718DC4621FFD}.Release|x64.Build.0 = Release|x64 - EndGlobalSection - GlobalSection(SolutionProperties) = preSolution - HideSolutionNode = FALSE - EndGlobalSection -EndGlobal diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7433/Sdk7433/Util7433.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7433/Sdk7433/Util7433.suo deleted file mode 100644 index 4931031..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7433/Sdk7433/Util7433.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7433/Sdk7433/Util7433.vcproj b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7433/Sdk7433/Util7433.vcproj deleted file mode 100644 index dacfa55..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7433/Sdk7433/Util7433.vcproj +++ /dev/null @@ -1,294 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7433/Sdk7433/Util7433Dlg.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7433/Sdk7433/Util7433Dlg.cpp deleted file mode 100644 index 3c80f24..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7433/Sdk7433/Util7433Dlg.cpp +++ /dev/null @@ -1,1054 +0,0 @@ - -// Util7433Dlg.cpp : implementation file -// - -#include "stdafx.h" -#include "Util7433.h" -#include "Util7433Dlg.h" - -#ifdef _DEBUG -#define new DEBUG_NEW -#endif - - -// CAboutDlg dialog used for App About - -class CAboutDlg : public CDialog -{ -public: - CAboutDlg(); - -// Dialog Data - enum { IDD = IDD_ABOUTBOX }; - - protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - -// Implementation -protected: - DECLARE_MESSAGE_MAP() -}; - -CAboutDlg::CAboutDlg() : CDialog(CAboutDlg::IDD) -{ -} - -void CAboutDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); -} - -BEGIN_MESSAGE_MAP(CAboutDlg, CDialog) -END_MESSAGE_MAP() - - -// CUtil7433Dlg dialog - - - - -CUtil7433Dlg::CUtil7433Dlg(I16 hCard, CWnd* pParent /*=NULL*/) - : CDialog(CUtil7433Dlg::IDD, pParent) -{ - m_hIcon = AfxGetApp()->LoadIcon(IDR_MAINFRAME); - - m_hCard = hCard; - m_nTimer = -1; - m_dwInDataLow = m_dwInDataHigh = 0x00000000; - -} - -void CUtil7433Dlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); - DDX_Control(pDX, IDC_ICON_DI00, m_Icon_DI00); - DDX_Control(pDX, IDC_ICON_DI01, m_Icon_DI01); - DDX_Control(pDX, IDC_ICON_DI02, m_Icon_DI02); - DDX_Control(pDX, IDC_ICON_DI03, m_Icon_DI03); - DDX_Control(pDX, IDC_ICON_DI04, m_Icon_DI04); - DDX_Control(pDX, IDC_ICON_DI05, m_Icon_DI05); - DDX_Control(pDX, IDC_ICON_DI06, m_Icon_DI06); - DDX_Control(pDX, IDC_ICON_DI07, m_Icon_DI07); - DDX_Control(pDX, IDC_ICON_DI08, m_Icon_DI08); - DDX_Control(pDX, IDC_ICON_DI09, m_Icon_DI09); - DDX_Control(pDX, IDC_ICON_DI10, m_Icon_DI10); - DDX_Control(pDX, IDC_ICON_DI11, m_Icon_DI11); - DDX_Control(pDX, IDC_ICON_DI12, m_Icon_DI12); - DDX_Control(pDX, IDC_ICON_DI13, m_Icon_DI13); - DDX_Control(pDX, IDC_ICON_DI14, m_Icon_DI14); - DDX_Control(pDX, IDC_ICON_DI15, m_Icon_DI15); - DDX_Control(pDX, IDC_ICON_DI16, m_Icon_DI16); - DDX_Control(pDX, IDC_ICON_DI17, m_Icon_DI17); - DDX_Control(pDX, IDC_ICON_DI18, m_Icon_DI18); - DDX_Control(pDX, IDC_ICON_DI19, m_Icon_DI19); - DDX_Control(pDX, IDC_ICON_DI20, m_Icon_DI20); - DDX_Control(pDX, IDC_ICON_DI21, m_Icon_DI21); - DDX_Control(pDX, IDC_ICON_DI22, m_Icon_DI22); - DDX_Control(pDX, IDC_ICON_DI23, m_Icon_DI23); - DDX_Control(pDX, IDC_ICON_DI24, m_Icon_DI24); - DDX_Control(pDX, IDC_ICON_DI25, m_Icon_DI25); - DDX_Control(pDX, IDC_ICON_DI26, m_Icon_DI26); - DDX_Control(pDX, IDC_ICON_DI27, m_Icon_DI27); - DDX_Control(pDX, IDC_ICON_DI28, m_Icon_DI28); - DDX_Control(pDX, IDC_ICON_DI29, m_Icon_DI29); - DDX_Control(pDX, IDC_ICON_DI30, m_Icon_DI30); - DDX_Control(pDX, IDC_ICON_DI31, m_Icon_DI31); - DDX_Control(pDX, IDC_ICON_DI32, m_Icon_DI32); - DDX_Control(pDX, IDC_ICON_DI33, m_Icon_DI33); - DDX_Control(pDX, IDC_ICON_DI34, m_Icon_DI34); - DDX_Control(pDX, IDC_ICON_DI35, m_Icon_DI35); - DDX_Control(pDX, IDC_ICON_DI36, m_Icon_DI36); - DDX_Control(pDX, IDC_ICON_DI37, m_Icon_DI37); - DDX_Control(pDX, IDC_ICON_DI38, m_Icon_DI38); - DDX_Control(pDX, IDC_ICON_DI39, m_Icon_DI39); - DDX_Control(pDX, IDC_ICON_DI40, m_Icon_DI40); - DDX_Control(pDX, IDC_ICON_DI41, m_Icon_DI41); - DDX_Control(pDX, IDC_ICON_DI42, m_Icon_DI42); - DDX_Control(pDX, IDC_ICON_DI43, m_Icon_DI43); - DDX_Control(pDX, IDC_ICON_DI44, m_Icon_DI44); - DDX_Control(pDX, IDC_ICON_DI45, m_Icon_DI45); - DDX_Control(pDX, IDC_ICON_DI46, m_Icon_DI46); - DDX_Control(pDX, IDC_ICON_DI47, m_Icon_DI47); - DDX_Control(pDX, IDC_ICON_DI48, m_Icon_DI48); - DDX_Control(pDX, IDC_ICON_DI49, m_Icon_DI49); - DDX_Control(pDX, IDC_ICON_DI50, m_Icon_DI50); - DDX_Control(pDX, IDC_ICON_DI51, m_Icon_DI51); - DDX_Control(pDX, IDC_ICON_DI52, m_Icon_DI52); - DDX_Control(pDX, IDC_ICON_DI53, m_Icon_DI53); - DDX_Control(pDX, IDC_ICON_DI54, m_Icon_DI54); - DDX_Control(pDX, IDC_ICON_DI55, m_Icon_DI55); - DDX_Control(pDX, IDC_ICON_DI56, m_Icon_DI56); - DDX_Control(pDX, IDC_ICON_DI57, m_Icon_DI57); - DDX_Control(pDX, IDC_ICON_DI58, m_Icon_DI58); - DDX_Control(pDX, IDC_ICON_DI59, m_Icon_DI59); - DDX_Control(pDX, IDC_ICON_DI60, m_Icon_DI60); - DDX_Control(pDX, IDC_ICON_DI61, m_Icon_DI61); - DDX_Control(pDX, IDC_ICON_DI62, m_Icon_DI62); - DDX_Control(pDX, IDC_ICON_DI63, m_Icon_DI63); -} - -BEGIN_MESSAGE_MAP(CUtil7433Dlg, CDialog) - ON_WM_SYSCOMMAND() - ON_WM_PAINT() - ON_WM_QUERYDRAGICON() - //}}AFX_MSG_MAP - ON_WM_DESTROY() - ON_WM_TIMER() -END_MESSAGE_MAP() - - -// CUtil7433Dlg message handlers - -BOOL CUtil7433Dlg::OnInitDialog() -{ - CDialog::OnInitDialog(); - - // Add "About..." menu item to system menu. - - // IDM_ABOUTBOX must be in the system command range. - ASSERT((IDM_ABOUTBOX & 0xFFF0) == IDM_ABOUTBOX); - ASSERT(IDM_ABOUTBOX < 0xF000); - - CMenu* pSysMenu = GetSystemMenu(FALSE); - if (pSysMenu != NULL) - { - BOOL bNameValid; - CString strAboutMenu; - bNameValid = strAboutMenu.LoadString(IDS_ABOUTBOX); - ASSERT(bNameValid); - if (!strAboutMenu.IsEmpty()) - { - pSysMenu->AppendMenu(MF_SEPARATOR); - pSysMenu->AppendMenu(MF_STRING, IDM_ABOUTBOX, strAboutMenu); - } - } - - // Set the icon for this dialog. The framework does this automatically - // when the application's main window is not a dialog - SetIcon(m_hIcon, TRUE); // Set big icon - SetIcon(m_hIcon, FALSE); // Set small icon - - // TODO: Add extra initialization here - - m_nTimer = SetTimer( 1, 250, NULL ); - - return TRUE; // return TRUE unless you set the focus to a control -} - -void CUtil7433Dlg::OnSysCommand(UINT nID, LPARAM lParam) -{ - if ((nID & 0xFFF0) == IDM_ABOUTBOX) - { - CAboutDlg dlgAbout; - dlgAbout.DoModal(); - } - else - { - CDialog::OnSysCommand(nID, lParam); - } -} - -// If you add a minimize button to your dialog, you will need the code below -// to draw the icon. For MFC applications using the document/view model, -// this is automatically done for you by the framework. - -void CUtil7433Dlg::OnPaint() -{ - if (IsIconic()) - { - CPaintDC dc(this); // device context for painting - - SendMessage(WM_ICONERASEBKGND, reinterpret_cast(dc.GetSafeHdc()), 0); - - // Center icon in client rectangle - int cxIcon = GetSystemMetrics(SM_CXICON); - int cyIcon = GetSystemMetrics(SM_CYICON); - CRect rect; - GetClientRect(&rect); - int x = (rect.Width() - cxIcon + 1) / 2; - int y = (rect.Height() - cyIcon + 1) / 2; - - // Draw the icon - dc.DrawIcon(x, y, m_hIcon); - } - else - { - CDialog::OnPaint(); - } -} - -// The system calls this function to obtain the cursor to display while the user drags -// the minimized window. -HCURSOR CUtil7433Dlg::OnQueryDragIcon() -{ - return static_cast(m_hIcon); -} - - -void CUtil7433Dlg::OnDestroy() -{ - CDialog::OnDestroy(); - - // TODO: Add your message handler code here - if( m_nTimer != -1 ) - KillTimer( m_nTimer ); -} - -void CUtil7433Dlg::OnTimer(UINT_PTR nIDEvent) -{ - // TODO: Add your message handler code here and/or call default - U32 dwPortData, dwChangeMask; - - DI_ReadPort(m_hCard, PORT_DI_LOW, &dwPortData); - - dwChangeMask = dwPortData ^ m_dwInDataLow; - - if( dwChangeMask != 0x00 ) // Input had been changed - { - m_dwInDataLow = dwPortData; // update the DI data - - if( (dwChangeMask & 0x01) == 0x01 ) // if the target bit is changed - { - if( (dwPortData & 0x01) == 0x01 ) - { - m_Icon_DI00.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_DI00.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - - if( (dwChangeMask & 0x02) == 0x02 ) // if the target bit is changed - { - if( (dwPortData & 0x02) == 0x02 ) - { - m_Icon_DI01.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_DI01.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - if( (dwChangeMask & 0x04) == 0x04 ) // if the target bit is changed - { - if( (dwPortData & 0x04) == 0x04 ) - { - m_Icon_DI02.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_DI02.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - - if( (dwChangeMask & 0x08) == 0x08 ) // if the target bit is changed - { - if( (dwPortData & 0x08) == 0x08 ) - { - m_Icon_DI03.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_DI03.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - if( (dwChangeMask & 0x10) == 0x10 ) // if the target bit is changed - { - if( (dwPortData & 0x10) == 0x10 ) - { - m_Icon_DI04.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_DI04.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - if( (dwChangeMask & 0x20) == 0x20 ) // if the target bit is changed - { - if( (dwPortData & 0x20) == 0x20 ) - { - m_Icon_DI05.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_DI05.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - - if( (dwChangeMask & 0x40) == 0x40 ) // if the target bit is changed - { - if( (dwPortData & 0x40) == 0x40 ) - { - m_Icon_DI06.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_DI06.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - - if( (dwChangeMask & 0x80) == 0x80 ) // if the target bit is changed - { - if( (dwPortData & 0x80) == 0x80 ) - { - m_Icon_DI07.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_DI07.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - - if( (dwChangeMask & 0x100) == 0x100 ) // if the target bit is changed - { - if( (dwPortData & 0x100) == 0x100 ) - { - m_Icon_DI08.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_DI08.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - if( (dwChangeMask & 0x200) == 0x200 ) // if the target bit is changed - { - if( (dwPortData & 0x200) == 0x200 ) - { - m_Icon_DI09.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_DI09.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - if( (dwChangeMask & 0x400) == 0x400 ) // if the target bit is changed - { - if( (dwPortData & 0x400) == 0x400 ) - { - m_Icon_DI10.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_DI10.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - if( (dwChangeMask & 0x800) == 0x800 ) // if the target bit is changed - { - if( (dwPortData & 0x800) == 0x800 ) - { - m_Icon_DI11.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_DI11.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - if( (dwChangeMask & 0x1000) == 0x1000 ) // if the target bit is changed - { - if( (dwPortData & 0x1000) == 0x1000 ) - { - m_Icon_DI12.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_DI12.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - if( (dwChangeMask & 0x2000) == 0x2000 ) // if the target bit is changed - { - if( (dwPortData & 0x2000) == 0x2000 ) - { - m_Icon_DI13.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_DI13.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - if( (dwChangeMask & 0x4000) == 0x4000 ) // if the target bit is changed - { - if( (dwPortData & 0x4000) == 0x4000 ) - { - m_Icon_DI14.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_DI14.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - if( (dwChangeMask & 0x8000) == 0x8000 ) // if the target bit is changed - { - if( (dwPortData & 0x8000) == 0x8000 ) - { - m_Icon_DI15.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_DI15.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - - if( (dwChangeMask & 0x10000) == 0x10000 ) // if the target bit is changed - { - if( (dwPortData & 0x10000) == 0x10000 ) - { - m_Icon_DI16.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_DI16.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - - if( (dwChangeMask & 0x20000) == 0x20000 ) // if the target bit is changed - { - if( (dwPortData & 0x20000) == 0x20000 ) - { - m_Icon_DI17.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_DI17.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - if( (dwChangeMask & 0x40000) == 0x40000 ) // if the target bit is changed - { - if( (dwPortData & 0x40000) == 0x40000 ) - { - m_Icon_DI18.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_DI18.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - - if( (dwChangeMask & 0x80000) == 0x80000 ) // if the target bit is changed - { - if( (dwPortData & 0x80000) == 0x80000 ) - { - m_Icon_DI19.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_DI19.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - if( (dwChangeMask & 0x100000) == 0x100000 ) // if the target bit is changed - { - if( (dwPortData & 0x100000) == 0x100000 ) - { - m_Icon_DI20.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_DI20.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - if( (dwChangeMask & 0x200000) == 0x200000 ) // if the target bit is changed - { - if( (dwPortData & 0x200000) == 0x200000 ) - { - m_Icon_DI21.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_DI21.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - - if( (dwChangeMask & 0x400000) == 0x400000 ) // if the target bit is changed - { - if( (dwPortData & 0x400000) == 0x400000 ) - { - m_Icon_DI22.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_DI22.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - - if( (dwChangeMask & 0x800000) == 0x800000 ) // if the target bit is changed - { - if( (dwPortData & 0x800000) == 0x800000 ) - { - m_Icon_DI23.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_DI23.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - - if( (dwChangeMask & 0x1000000) == 0x1000000 ) // if the target bit is changed - { - if( (dwPortData & 0x1000000) == 0x1000000 ) - { - m_Icon_DI24.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_DI24.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - if( (dwChangeMask & 0x2000000) == 0x2000000 ) // if the target bit is changed - { - if( (dwPortData & 0x2000000) == 0x2000000 ) - { - m_Icon_DI25.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_DI25.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - if( (dwChangeMask & 0x4000000) == 0x4000000 ) // if the target bit is changed - { - if( (dwPortData & 0x4000000) == 0x4000000 ) - { - m_Icon_DI26.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_DI26.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - if( (dwChangeMask & 0x8000000) == 0x8000000 ) // if the target bit is changed - { - if( (dwPortData & 0x8000000) == 0x8000000 ) - { - m_Icon_DI27.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_DI27.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - if( (dwChangeMask & 0x10000000) == 0x10000000 ) // if the target bit is changed - { - if( (dwPortData & 0x10000000) == 0x10000000 ) - { - m_Icon_DI28.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_DI28.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - if( (dwChangeMask & 0x20000000) == 0x20000000 ) // if the target bit is changed - { - if( (dwPortData & 0x20000000) == 0x20000000 ) - { - m_Icon_DI29.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_DI29.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - if( (dwChangeMask & 0x40000000) == 0x40000000 ) // if the target bit is changed - { - if( (dwPortData & 0x40000000) == 0x40000000 ) - { - m_Icon_DI30.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_DI30.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - if( (dwChangeMask & 0x80000000) == 0x80000000 ) // if the target bit is changed - { - if( (dwPortData & 0x80000000) == 0x80000000 ) - { - m_Icon_DI31.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_DI31.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - } - - - DI_ReadPort(m_hCard, PORT_DI_HIGH, &dwPortData); - - dwChangeMask = dwPortData ^ m_dwInDataHigh; - - if( dwChangeMask != 0x00 ) // Input had been changed - { - m_dwInDataHigh = dwPortData; // update the DI data - - if( (dwChangeMask & 0x01) == 0x01 ) // if the target bit is changed - { - if( (dwPortData & 0x01) == 0x01 ) - { - m_Icon_DI32.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_DI32.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - - if( (dwChangeMask & 0x02) == 0x02 ) // if the target bit is changed - { - if( (dwPortData & 0x02) == 0x02 ) - { - m_Icon_DI33.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_DI33.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - if( (dwChangeMask & 0x04) == 0x04 ) // if the target bit is changed - { - if( (dwPortData & 0x04) == 0x04 ) - { - m_Icon_DI34.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_DI34.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - - if( (dwChangeMask & 0x08) == 0x08 ) // if the target bit is changed - { - if( (dwPortData & 0x08) == 0x08 ) - { - m_Icon_DI35.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_DI35.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - if( (dwChangeMask & 0x10) == 0x10 ) // if the target bit is changed - { - if( (dwPortData & 0x10) == 0x10 ) - { - m_Icon_DI36.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_DI36.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - if( (dwChangeMask & 0x20) == 0x20 ) // if the target bit is changed - { - if( (dwPortData & 0x20) == 0x20 ) - { - m_Icon_DI37.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_DI37.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - - if( (dwChangeMask & 0x40) == 0x40 ) // if the target bit is changed - { - if( (dwPortData & 0x40) == 0x40 ) - { - m_Icon_DI38.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_DI38.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - - if( (dwChangeMask & 0x80) == 0x80 ) // if the target bit is changed - { - if( (dwPortData & 0x80) == 0x80 ) - { - m_Icon_DI39.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_DI39.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - - if( (dwChangeMask & 0x100) == 0x100 ) // if the target bit is changed - { - if( (dwPortData & 0x100) == 0x100 ) - { - m_Icon_DI40.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_DI40.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - if( (dwChangeMask & 0x200) == 0x200 ) // if the target bit is changed - { - if( (dwPortData & 0x200) == 0x200 ) - { - m_Icon_DI41.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_DI41.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - if( (dwChangeMask & 0x400) == 0x400 ) // if the target bit is changed - { - if( (dwPortData & 0x400) == 0x400 ) - { - m_Icon_DI42.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_DI42.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - if( (dwChangeMask & 0x800) == 0x800 ) // if the target bit is changed - { - if( (dwPortData & 0x800) == 0x800 ) - { - m_Icon_DI43.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_DI43.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - if( (dwChangeMask & 0x1000) == 0x1000 ) // if the target bit is changed - { - if( (dwPortData & 0x1000) == 0x1000 ) - { - m_Icon_DI44.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_DI44.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - if( (dwChangeMask & 0x2000) == 0x2000 ) // if the target bit is changed - { - if( (dwPortData & 0x2000) == 0x2000 ) - { - m_Icon_DI45.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_DI45.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - if( (dwChangeMask & 0x4000) == 0x4000 ) // if the target bit is changed - { - if( (dwPortData & 0x4000) == 0x4000 ) - { - m_Icon_DI46.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_DI46.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - if( (dwChangeMask & 0x8000) == 0x8000 ) // if the target bit is changed - { - if( (dwPortData & 0x8000) == 0x8000 ) - { - m_Icon_DI47.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_DI47.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - - if( (dwChangeMask & 0x10000) == 0x10000 ) // if the target bit is changed - { - if( (dwPortData & 0x10000) == 0x10000 ) - { - m_Icon_DI48.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_DI48.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - - if( (dwChangeMask & 0x20000) == 0x20000 ) // if the target bit is changed - { - if( (dwPortData & 0x20000) == 0x20000 ) - { - m_Icon_DI49.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_DI49.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - if( (dwChangeMask & 0x40000) == 0x40000 ) // if the target bit is changed - { - if( (dwPortData & 0x40000) == 0x40000 ) - { - m_Icon_DI50.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_DI50.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - - if( (dwChangeMask & 0x80000) == 0x80000 ) // if the target bit is changed - { - if( (dwPortData & 0x80000) == 0x80000 ) - { - m_Icon_DI51.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_DI51.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - if( (dwChangeMask & 0x100000) == 0x100000 ) // if the target bit is changed - { - if( (dwPortData & 0x100000) == 0x100000 ) - { - m_Icon_DI52.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_DI52.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - if( (dwChangeMask & 0x200000) == 0x200000 ) // if the target bit is changed - { - if( (dwPortData & 0x200000) == 0x200000 ) - { - m_Icon_DI53.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_DI53.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - - if( (dwChangeMask & 0x400000) == 0x400000 ) // if the target bit is changed - { - if( (dwPortData & 0x400000) == 0x400000 ) - { - m_Icon_DI54.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_DI54.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - - if( (dwChangeMask & 0x800000) == 0x800000 ) // if the target bit is changed - { - if( (dwPortData & 0x800000) == 0x800000 ) - { - m_Icon_DI55.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_DI55.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - - if( (dwChangeMask & 0x1000000) == 0x1000000 ) // if the target bit is changed - { - if( (dwPortData & 0x1000000) == 0x1000000 ) - { - m_Icon_DI56.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_DI56.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - if( (dwChangeMask & 0x2000000) == 0x2000000 ) // if the target bit is changed - { - if( (dwPortData & 0x2000000) == 0x2000000 ) - { - m_Icon_DI57.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_DI57.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - if( (dwChangeMask & 0x4000000) == 0x4000000 ) // if the target bit is changed - { - if( (dwPortData & 0x4000000) == 0x4000000 ) - { - m_Icon_DI58.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_DI58.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - if( (dwChangeMask & 0x8000000) == 0x8000000 ) // if the target bit is changed - { - if( (dwPortData & 0x8000000) == 0x8000000 ) - { - m_Icon_DI59.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_DI59.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - if( (dwChangeMask & 0x10000000) == 0x10000000 ) // if the target bit is changed - { - if( (dwPortData & 0x10000000) == 0x10000000 ) - { - m_Icon_DI60.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_DI60.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - if( (dwChangeMask & 0x20000000) == 0x20000000 ) // if the target bit is changed - { - if( (dwPortData & 0x20000000) == 0x20000000 ) - { - m_Icon_DI61.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_DI61.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - if( (dwChangeMask & 0x40000000) == 0x40000000 ) // if the target bit is changed - { - if( (dwPortData & 0x40000000) == 0x40000000 ) - { - m_Icon_DI62.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_DI62.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - if( (dwChangeMask & 0x80000000) == 0x80000000 ) // if the target bit is changed - { - if( (dwPortData & 0x80000000) == 0x80000000 ) - { - m_Icon_DI63.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_DI63.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - } - - CDialog::OnTimer(nIDEvent); -} diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7433/Sdk7433/Util7433Dlg.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7433/Sdk7433/Util7433Dlg.h deleted file mode 100644 index b901dc4..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7433/Sdk7433/Util7433Dlg.h +++ /dev/null @@ -1,105 +0,0 @@ - -// Util7433Dlg.h : header file -// - -#include "Dask64.h" - -#pragma once - - -// CUtil7433Dlg dialog -class CUtil7433Dlg : public CDialog -{ -// Construction -public: - CUtil7433Dlg(I16 hCard, CWnd* pParent = NULL); // standard constructor - -// Dialog Data - enum { IDD = IDD_UTIL7433_DIALOG }; - - protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - - -// Implementation -protected: - HICON m_hIcon; - UINT_PTR m_nTimer; - I16 m_hCard; - U32 m_dwInDataLow; - U32 m_dwInDataHigh; - - // Generated message map functions - virtual BOOL OnInitDialog(); - afx_msg void OnSysCommand(UINT nID, LPARAM lParam); - afx_msg void OnPaint(); - afx_msg HCURSOR OnQueryDragIcon(); - DECLARE_MESSAGE_MAP() -public: - CStatic m_Icon_DI00; - CStatic m_Icon_DI01; - CStatic m_Icon_DI02; - CStatic m_Icon_DI03; - CStatic m_Icon_DI04; - CStatic m_Icon_DI05; - CStatic m_Icon_DI06; - CStatic m_Icon_DI07; - CStatic m_Icon_DI08; - CStatic m_Icon_DI09; - CStatic m_Icon_DI10; - CStatic m_Icon_DI11; - CStatic m_Icon_DI12; - CStatic m_Icon_DI13; - CStatic m_Icon_DI14; - CStatic m_Icon_DI15; - CStatic m_Icon_DI16; - CStatic m_Icon_DI17; - CStatic m_Icon_DI18; - CStatic m_Icon_DI19; - CStatic m_Icon_DI20; - CStatic m_Icon_DI21; - CStatic m_Icon_DI22; - CStatic m_Icon_DI23; - CStatic m_Icon_DI24; - CStatic m_Icon_DI25; - CStatic m_Icon_DI26; - CStatic m_Icon_DI27; - CStatic m_Icon_DI28; - CStatic m_Icon_DI29; - CStatic m_Icon_DI30; - CStatic m_Icon_DI31; - CStatic m_Icon_DI32; - CStatic m_Icon_DI33; - CStatic m_Icon_DI34; - CStatic m_Icon_DI35; - CStatic m_Icon_DI36; - CStatic m_Icon_DI37; - CStatic m_Icon_DI38; - CStatic m_Icon_DI39; - CStatic m_Icon_DI40; - CStatic m_Icon_DI41; - CStatic m_Icon_DI42; - CStatic m_Icon_DI43; - CStatic m_Icon_DI44; - CStatic m_Icon_DI45; - CStatic m_Icon_DI46; - CStatic m_Icon_DI47; - CStatic m_Icon_DI48; - CStatic m_Icon_DI49; - CStatic m_Icon_DI50; - CStatic m_Icon_DI51; - CStatic m_Icon_DI52; - CStatic m_Icon_DI53; - CStatic m_Icon_DI54; - CStatic m_Icon_DI55; - CStatic m_Icon_DI56; - CStatic m_Icon_DI57; - CStatic m_Icon_DI58; - CStatic m_Icon_DI59; - CStatic m_Icon_DI60; - CStatic m_Icon_DI61; - CStatic m_Icon_DI62; - CStatic m_Icon_DI63; - afx_msg void OnDestroy(); - afx_msg void OnTimer(UINT_PTR nIDEvent); -}; diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7433/Sdk7433/res/Util7433.ico b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7433/Sdk7433/res/Util7433.ico deleted file mode 100644 index d56fbcd..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7433/Sdk7433/res/Util7433.ico and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7433/Sdk7433/res/Util7433.rc2 b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7433/Sdk7433/res/Util7433.rc2 deleted file mode 100644 index 1a1be94..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7433/Sdk7433/res/Util7433.rc2 +++ /dev/null @@ -1,13 +0,0 @@ -// -// Util7233.RC2 - resources Microsoft Visual C++ does not edit directly -// - -#ifdef APSTUDIO_INVOKED -#error this file is not editable by Microsoft Visual C++ -#endif //APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// Add manually edited resources here... - -///////////////////////////////////////////////////////////////////////////// diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7433/Sdk7433/res/black.ico b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7433/Sdk7433/res/black.ico deleted file mode 100644 index b5c375f..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7433/Sdk7433/res/black.ico and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7433/Sdk7433/res/green.ico b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7433/Sdk7433/res/green.ico deleted file mode 100644 index d9a9fd3..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7433/Sdk7433/res/green.ico and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7433/Sdk7433/res/red.ico b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7433/Sdk7433/res/red.ico deleted file mode 100644 index 7644596..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7433/Sdk7433/res/red.ico and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7433/Sdk7433/resource.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7433/Sdk7433/resource.h deleted file mode 100644 index 8f2d6b4..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7433/Sdk7433/resource.h +++ /dev/null @@ -1,90 +0,0 @@ -//{{NO_DEPENDENCIES}} -// Microsoft Visual C++ generated include file. -// Used by Util7433.rc -// -#define IDM_ABOUTBOX 0x0010 -#define IDD_ABOUTBOX 100 -#define IDS_ABOUTBOX 101 -#define IDD_UTIL7433_DIALOG 102 -#define IDR_MAINFRAME 128 -#define IDI_ICON_BLACK 129 -#define IDI_ICON_GREEN 130 -#define IDI_ICON_RED 131 -#define IDD_CARDID_DIALOG 132 -#define IDC_COMBO_CARDID 1000 -#define IDC_ICON_DI00 1005 -#define IDC_ICON_DI01 1006 -#define IDC_ICON_DI02 1007 -#define IDC_ICON_DI03 1008 -#define IDC_ICON_DI04 1009 -#define IDC_ICON_DI05 1010 -#define IDC_ICON_DI06 1011 -#define IDC_ICON_DI07 1012 -#define IDC_ICON_DI08 1013 -#define IDC_ICON_DI09 1014 -#define IDC_STATIC_01 1014 -#define IDC_ICON_DI10 1015 -#define IDC_ICON_DI11 1016 -#define IDC_ICON_DI12 1017 -#define IDC_ICON_DI13 1018 -#define IDC_ICON_DI14 1019 -#define IDC_ICON_DI15 1020 -#define IDC_ICON_DI16 1021 -#define IDC_ICON_DI17 1022 -#define IDC_ICON_DI18 1023 -#define IDC_ICON_DI19 1024 -#define IDC_ICON_DI20 1025 -#define IDC_ICON_DI21 1026 -#define IDC_ICON_DI22 1027 -#define IDC_ICON_DI23 1028 -#define IDC_ICON_DI24 1029 -#define IDC_ICON_DI25 1030 -#define IDC_ICON_DI26 1031 -#define IDC_ICON_DI27 1032 -#define IDC_ICON_DI28 1033 -#define IDC_ICON_DI29 1034 -#define IDC_ICON_DI30 1035 -#define IDC_ICON_DI31 1036 -#define IDC_ICON_DI32 1038 -#define IDC_ICON_DI33 1039 -#define IDC_ICON_DI34 1040 -#define IDC_ICON_DI35 1041 -#define IDC_ICON_DI36 1042 -#define IDC_ICON_DI37 1043 -#define IDC_ICON_DI38 1044 -#define IDC_ICON_DI39 1045 -#define IDC_ICON_DI40 1046 -#define IDC_ICON_DI41 1047 -#define IDC_ICON_DI42 1048 -#define IDC_ICON_DI43 1049 -#define IDC_ICON_DI44 1050 -#define IDC_ICON_DI45 1051 -#define IDC_ICON_DI46 1052 -#define IDC_ICON_DI47 1053 -#define IDC_ICON_DI48 1054 -#define IDC_ICON_DI49 1055 -#define IDC_ICON_DI50 1056 -#define IDC_ICON_DI51 1057 -#define IDC_ICON_DI52 1058 -#define IDC_ICON_DI53 1059 -#define IDC_ICON_DI54 1060 -#define IDC_ICON_DI55 1061 -#define IDC_ICON_DI56 1062 -#define IDC_ICON_DI57 1063 -#define IDC_ICON_DI58 1064 -#define IDC_ICON_DI59 1065 -#define IDC_ICON_DI60 1066 -#define IDC_ICON_DI61 1067 -#define IDC_ICON_DI62 1068 -#define IDC_ICON_DI63 1069 - -// Next default values for new objects -// -#ifdef APSTUDIO_INVOKED -#ifndef APSTUDIO_READONLY_SYMBOLS -#define _APS_NEXT_RESOURCE_VALUE 134 -#define _APS_NEXT_COMMAND_VALUE 32771 -#define _APS_NEXT_CONTROL_VALUE 1001 -#define _APS_NEXT_SYMED_VALUE 101 -#endif -#endif diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7433/Sdk7433/stdafx.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7433/Sdk7433/stdafx.cpp deleted file mode 100644 index 39ce6b2..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7433/Sdk7433/stdafx.cpp +++ /dev/null @@ -1,8 +0,0 @@ - -// stdafx.cpp : source file that includes just the standard includes -// Util7433.pch will be the pre-compiled header -// stdafx.obj will contain the pre-compiled type information - -#include "stdafx.h" - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7433/Sdk7433/stdafx.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7433/Sdk7433/stdafx.h deleted file mode 100644 index 12123e2..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7433/Sdk7433/stdafx.h +++ /dev/null @@ -1,60 +0,0 @@ - -// stdafx.h : include file for standard system include files, -// or project specific include files that are used frequently, -// but are changed infrequently - -#pragma once - -#ifndef _SECURE_ATL -#define _SECURE_ATL 1 -#endif - -#ifndef VC_EXTRALEAN -#define VC_EXTRALEAN // Exclude rarely-used stuff from Windows headers -#endif - -#include "targetver.h" - -#define _ATL_CSTRING_EXPLICIT_CONSTRUCTORS // some CString constructors will be explicit - -// turns off MFC's hiding of some common and often safely ignored warning messages -#define _AFX_ALL_WARNINGS - -#include // MFC core and standard components -#include // MFC extensions - - -#include // MFC Automation classes - - - -#ifndef _AFX_NO_OLE_SUPPORT -#include // MFC support for Internet Explorer 4 Common Controls -#endif -#ifndef _AFX_NO_AFXCMN_SUPPORT -#include // MFC support for Windows Common Controls -#endif // _AFX_NO_AFXCMN_SUPPORT - -#include // MFC support for ribbons and control bars - - - - - - - - - -#ifdef _UNICODE -#if defined _M_IX86 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='x86' publicKeyToken='6595b64144ccf1df' language='*'\"") -#elif defined _M_IA64 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='ia64' publicKeyToken='6595b64144ccf1df' language='*'\"") -#elif defined _M_X64 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='amd64' publicKeyToken='6595b64144ccf1df' language='*'\"") -#else -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='*' publicKeyToken='6595b64144ccf1df' language='*'\"") -#endif -#endif - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7433/Sdk7433/targetver.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7433/Sdk7433/targetver.h deleted file mode 100644 index 11730d5..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7433/Sdk7433/targetver.h +++ /dev/null @@ -1,26 +0,0 @@ - -#pragma once - -// The following macros define the minimum required platform. The minimum required platform -// is the earliest version of Windows, Internet Explorer etc. that has the necessary features to run -// your application. The macros work by enabling all features available on platform versions up to and -// including the version specified. - -// Modify the following defines if you have to target a platform prior to the ones specified below. -// Refer to MSDN for the latest info on corresponding values for different platforms. -#ifndef WINVER // Specifies that the minimum required platform is Windows Vista. -#define WINVER 0x0600 // Change this to the appropriate value to target other versions of Windows. -#endif - -#ifndef _WIN32_WINNT // Specifies that the minimum required platform is Windows Vista. -#define _WIN32_WINNT 0x0600 // Change this to the appropriate value to target other versions of Windows. -#endif - -#ifndef _WIN32_WINDOWS // Specifies that the minimum required platform is Windows 98. -#define _WIN32_WINDOWS 0x0410 // Change this to the appropriate value to target Windows Me or later. -#endif - -#ifndef _WIN32_IE // Specifies that the minimum required platform is Internet Explorer 7.0. -#define _WIN32_IE 0x0700 // Change this to the appropriate value to target other versions of IE. -#endif - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7433/Sdk7433R/CardIDDlg.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7433/Sdk7433R/CardIDDlg.cpp deleted file mode 100644 index 2e1f106..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7433/Sdk7433R/CardIDDlg.cpp +++ /dev/null @@ -1,67 +0,0 @@ -// CardIDDlg.cpp : implementation file -// - -#include "stdafx.h" -#include "Util7433.h" -#include "CardIDDlg.h" - - -// CCardIDDlg dialog - -IMPLEMENT_DYNAMIC(CCardIDDlg, CDialog) - -CCardIDDlg::CCardIDDlg(int nCardIdx, CWnd* pParent /*=NULL*/) - : CDialog(CCardIDDlg::IDD, pParent) -{ - m_nCardIdx = nCardIdx; -} - -CCardIDDlg::~CCardIDDlg() -{ -} - -void CCardIDDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); - DDX_Control(pDX, IDC_COMBO_CARDID, m_cbCardID); -} - - -BEGIN_MESSAGE_MAP(CCardIDDlg, CDialog) -// ON_CBN_SELCHANGE(IDC_COMBO_CARDID, &CCardIDDlg::OnCbnSelchangeComboCardid) -ON_BN_CLICKED(IDOK, &CCardIDDlg::OnBnClickedOk) -//ON_WM_CTLCOLOR() -END_MESSAGE_MAP() - - -// CCardIDDlg message handlers - - -void CCardIDDlg::OnBnClickedOk() -{ - // TODO: Add your control notification handler code here - -// UpdateData(TRUE); - m_nCardIdx = m_cbCardID.GetCurSel(); - - OnOK(); -} - -BOOL CCardIDDlg::OnInitDialog() -{ - CDialog::OnInitDialog(); - - // TODO: Add extra initialization here - m_cbCardID.SetCurSel( m_nCardIdx ); - - return TRUE; // return TRUE unless you set the focus to a control - // EXCEPTION: OCX Property Pages should return FALSE -} - -// the function to get the selected CardID -int CCardIDDlg::GetCardID(void) -{ - return m_nCardIdx; -} - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7433/Sdk7433R/CardIDDlg.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7433/Sdk7433R/CardIDDlg.h deleted file mode 100644 index 54628ea..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7433/Sdk7433R/CardIDDlg.h +++ /dev/null @@ -1,33 +0,0 @@ -#pragma once -#include "afxwin.h" - - -// CCardIDDlg dialog - -class CCardIDDlg : public CDialog -{ - DECLARE_DYNAMIC(CCardIDDlg) - -public: - CCardIDDlg(int nCardIdx, CWnd* pParent = NULL); // standard constructor - virtual ~CCardIDDlg(); - -// Dialog Data - enum { IDD = IDD_CARDID_DIALOG }; - -protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - - DECLARE_MESSAGE_MAP() -public: -// afx_msg void OnCbnSelchangeComboCardid(); - afx_msg void OnBnClickedOk(); - // the setting of CardID ComboBox - int m_nCardIdx; - virtual BOOL OnInitDialog(); - // the control of CardID ComboBox - CComboBox m_cbCardID; - // the function to get the selected CardID - int GetCardID(void); -// afx_msg HBRUSH OnCtlColor(CDC* pDC, CWnd* pWnd, UINT nCtlColor); -}; diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7433/Sdk7433R/ReadMe.txt b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7433/Sdk7433R/ReadMe.txt deleted file mode 100644 index f261f83..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7433/Sdk7433R/ReadMe.txt +++ /dev/null @@ -1,93 +0,0 @@ -================================================================================ - MICROSOFT FOUNDATION CLASS LIBRARY : Util7433 Project Overview -=============================================================================== - -The application wizard has created this Util7433 application for -you. This application not only demonstrates the basics of using the Microsoft -Foundation Classes but is also a starting point for writing your application. - -This file contains a summary of what you will find in each of the files that -make up your Util7433 application. - -Util7433.vcproj - This is the main project file for VC++ projects generated using an application wizard. - It contains information about the version of Visual C++ that generated the file, and - information about the platforms, configurations, and project features selected with the - application wizard. - -Util7433.h - This is the main header file for the application. It includes other - project specific headers (including Resource.h) and declares the - CUtil7433App application class. - -Util7433.cpp - This is the main application source file that contains the application - class CUtil7433App. - -Util7433.rc - This is a listing of all of the Microsoft Windows resources that the - program uses. It includes the icons, bitmaps, and cursors that are stored - in the RES subdirectory. This file can be directly edited in Microsoft - Visual C++. Your project resources are in 1033. - -res\Util7433.ico - This is an icon file, which is used as the application's icon. This - icon is included by the main resource file Util7433.rc. - -res\Util7433.rc2 - This file contains resources that are not edited by Microsoft - Visual C++. You should place all resources not editable by - the resource editor in this file. - - -///////////////////////////////////////////////////////////////////////////// - -The application wizard creates one dialog class: - -Util7433Dlg.h, Util7433Dlg.cpp - the dialog - These files contain your CUtil7433Dlg class. This class defines - the behavior of your application's main dialog. The dialog's template is - in Util7433.rc, which can be edited in Microsoft Visual C++. - - -///////////////////////////////////////////////////////////////////////////// - -Other Features: - -ActiveX Controls - The application includes support to use ActiveX controls. - -///////////////////////////////////////////////////////////////////////////// - -Other standard files: - -StdAfx.h, StdAfx.cpp - These files are used to build a precompiled header (PCH) file - named Util7433.pch and a precompiled types file named StdAfx.obj. - -Resource.h - This is the standard header file, which defines new resource IDs. - Microsoft Visual C++ reads and updates this file. - -Util7433.manifest - Application manifest files are used by Windows XP to describe an applications - dependency on specific versions of Side-by-Side assemblies. The loader uses this - information to load the appropriate assembly from the assembly cache or private - from the application. The Application manifest maybe included for redistribution - as an external .manifest file that is installed in the same folder as the application - executable or it may be included in the executable in the form of a resource. -///////////////////////////////////////////////////////////////////////////// - -Other notes: - -The application wizard uses "TODO:" to indicate parts of the source code you -should add to or customize. - -If your application uses MFC in a shared DLL, you will need -to redistribute the MFC DLLs. If your application is in a language -other than the operating system's locale, you will also have to -redistribute the corresponding localized resources MFC90XXX.DLL. -For more information on both of these topics, please see the section on -redistributing Visual C++ applications in MSDN documentation. - -///////////////////////////////////////////////////////////////////////////// diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7433/Sdk7433R/Util7233.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7433/Sdk7433R/Util7233.suo deleted file mode 100644 index 5af63cf..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7433/Sdk7433R/Util7233.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7433/Sdk7433R/Util7433.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7433/Sdk7433R/Util7433.cpp deleted file mode 100644 index ec6cf65..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7433/Sdk7433R/Util7433.cpp +++ /dev/null @@ -1,111 +0,0 @@ - -// Util7433.cpp : Defines the class behaviors for the application. -// - -#include "stdafx.h" -#include "Util7433.h" -#include "Util7433Dlg.h" -#include "CardIDDlg.h" - - -#ifdef _DEBUG -#define new DEBUG_NEW -#endif - - -// CUtil7433App - -BEGIN_MESSAGE_MAP(CUtil7433App, CWinAppEx) - ON_COMMAND(ID_HELP, &CWinApp::OnHelp) -END_MESSAGE_MAP() - - -// CUtil7433App construction - -CUtil7433App::CUtil7433App() -{ - // TODO: add construction code here, - // Place all significant initialization in InitInstance -} - - -// The one and only CUtil7433App object - -CUtil7433App theApp; - - -// CUtil7433App initialization - -BOOL CUtil7433App::InitInstance() -{ - int nCardID = 0; - I16 hCard; - CString strTemp; - INT_PTR nResponse; - - // InitCommonControlsEx() is required on Windows XP if an application - // manifest specifies use of ComCtl32.dll version 6 or later to enable - // visual styles. Otherwise, any window creation will fail. - INITCOMMONCONTROLSEX InitCtrls; - InitCtrls.dwSize = sizeof(InitCtrls); - // Set this to include all the common control classes you want to use - // in your application. - InitCtrls.dwICC = ICC_WIN95_CLASSES; - InitCommonControlsEx(&InitCtrls); - - CWinAppEx::InitInstance(); - - AfxEnableControlContainer(); - - // Standard initialization - // If you are not using these features and wish to reduce the size - // of your final executable, you should remove from the following - // the specific initialization routines you do not need - // Change the registry key under which our settings are stored - // TODO: You should modify this string to be something appropriate - // such as the name of your company or organization - SetRegistryKey(_T("Local AppWizard-Generated Applications")); - - CCardIDDlg CardDlg( nCardID ); - - nResponse = CardDlg.DoModal(); - if (nResponse == IDOK) - { - nCardID = CardDlg.GetCardID(); - - if ((hCard=Register_Card(PCI_7433, nCardID)) < 0) - { - strTemp.Format( TEXT("Register_Card Error = %d"), hCard); - AfxMessageBox( strTemp ); - } - else - { - CUtil7433Dlg dlg(hCard); - m_pMainWnd = &dlg; - nResponse = dlg.DoModal(); - if (nResponse == IDOK) - { - // TODO: Place code here to handle when the dialog is - // dismissed with OK - } - else if (nResponse == IDCANCEL) - { - // TODO: Place code here to handle when the dialog is - // dismissed with Cancel - } - - if (hCard >= 0) Release_Card(hCard); - } - - } - else if (nResponse == IDCANCEL) - { - // TODO: Place code here to handle when the dialog is - // dismissed with Cancel - } - - - // Since the dialog has been closed, return FALSE so that we exit the - // application, rather than start the application's message pump. - return FALSE; -} diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7433/Sdk7433R/Util7433.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7433/Sdk7433R/Util7433.h deleted file mode 100644 index 4721337..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7433/Sdk7433R/Util7433.h +++ /dev/null @@ -1,32 +0,0 @@ - -// Util7433.h : main header file for the PROJECT_NAME application -// - -#pragma once - -#ifndef __AFXWIN_H__ - #error "include 'stdafx.h' before including this file for PCH" -#endif - -#include "resource.h" // main symbols - - -// CUtil7433App: -// See Util7433.cpp for the implementation of this class -// - -class CUtil7433App : public CWinAppEx -{ -public: - CUtil7433App(); - -// Overrides - public: - virtual BOOL InitInstance(); - -// Implementation - - DECLARE_MESSAGE_MAP() -}; - -extern CUtil7433App theApp; \ No newline at end of file diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7433/Sdk7433R/Util7433.rc b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7433/Sdk7433R/Util7433.rc deleted file mode 100644 index c249aae..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7433/Sdk7433R/Util7433.rc +++ /dev/null @@ -1,343 +0,0 @@ -// Microsoft Visual C++ generated resource script. -// -#include "resource.h" - -#define APSTUDIO_READONLY_SYMBOLS -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 2 resource. -// -#ifndef APSTUDIO_INVOKED -#include "targetver.h" -#endif -#include "afxres.h" - -///////////////////////////////////////////////////////////////////////////// -#undef APSTUDIO_READONLY_SYMBOLS - -///////////////////////////////////////////////////////////////////////////// -// Chinese (Taiwan) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_CHT) -#ifdef _WIN32 -LANGUAGE LANG_CHINESE, SUBLANG_CHINESE_TRADITIONAL -#pragma code_page(950) -#endif //_WIN32 - -#ifdef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// TEXTINCLUDE -// - -1 TEXTINCLUDE -BEGIN - "resource.h\0" -END - -2 TEXTINCLUDE -BEGIN - "#ifndef APSTUDIO_INVOKED\r\n" - "#include ""targetver.h""\r\n" - "#endif\r\n" - "#include ""afxres.h""\r\n" - "\0" -END - -3 TEXTINCLUDE -BEGIN - "#define _AFX_NO_SPLITTER_RESOURCES\r\n" - "#define _AFX_NO_OLE_RESOURCES\r\n" - "#define _AFX_NO_TRACKER_RESOURCES\r\n" - "#define _AFX_NO_PROPERTY_RESOURCES\r\n" - "\r\n" - "#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)\r\n" - "LANGUAGE 9, 1\r\n" - "#pragma code_page(1252)\r\n" - "#include ""res\\Util7433.rc2"" // non-Microsoft Visual C++ edited resources\r\n" - "#include ""afxres.rc"" // Standard components\r\n" - "#endif\r\n" - "\0" -END - -#endif // APSTUDIO_INVOKED - -#endif // Chinese (Taiwan) resources -///////////////////////////////////////////////////////////////////////////// - - -///////////////////////////////////////////////////////////////////////////// -// English (U.S.) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -#ifdef _WIN32 -LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US -#pragma code_page(1252) -#endif //_WIN32 - -///////////////////////////////////////////////////////////////////////////// -// -// Icon -// - -// Icon with lowest ID value placed first to ensure application icon -// remains consistent on all systems. -IDR_MAINFRAME ICON "res\\Util7433.ico" -IDI_ICON_BLACK ICON "res\\black.ico" -IDI_ICON_GREEN ICON "res\\green.ico" -IDI_ICON_RED ICON "res\\red.ico" - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog -// - -IDD_ABOUTBOX DIALOGEX 0, 0, 170, 62 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "About Util7433" -FONT 8, "MS Shell Dlg", 0, 0, 0x1 -BEGIN - ICON IDR_MAINFRAME,IDC_STATIC,14,14,21,20 - LTEXT "Util7433, Version 1.0",IDC_STATIC,42,14,114,8,SS_NOPREFIX - LTEXT "Copyright (C) 2010",IDC_STATIC,42,26,114,8 - DEFPUSHBUTTON "OK",IDOK,113,41,50,14,WS_GROUP -END - -IDD_UTIL7433_DIALOG DIALOGEX 0, 0, 314, 169 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU -EXSTYLE WS_EX_APPWINDOW -CAPTION "PCI-7433" -FONT 8, "MS Shell Dlg", 0, 0, 0x1 -BEGIN - ICON IDI_ICON_BLACK,IDC_ICON_DI00,279,128,21,20 - ICON IDI_ICON_BLACK,IDC_ICON_DI01,261,128,21,20 - ICON IDI_ICON_BLACK,IDC_ICON_DI02,243,128,21,20 - ICON IDI_ICON_BLACK,IDC_ICON_DI03,225,128,21,20 - ICON IDI_ICON_BLACK,IDC_ICON_DI04,207,128,21,20 - ICON IDI_ICON_BLACK,IDC_ICON_DI05,189,128,21,20 - ICON IDI_ICON_BLACK,IDC_ICON_DI06,171,128,21,20 - ICON IDI_ICON_BLACK,IDC_ICON_DI07,153,128,21,20 - ICON IDI_ICON_BLACK,IDC_ICON_DI08,135,128,21,20 - ICON IDI_ICON_BLACK,IDC_ICON_DI09,117,128,21,20 - ICON IDI_ICON_BLACK,IDC_ICON_DI10,99,128,21,20 - ICON IDI_ICON_BLACK,IDC_ICON_DI11,81,128,21,20 - ICON IDI_ICON_BLACK,IDC_ICON_DI12,63,128,21,20 - ICON IDI_ICON_BLACK,IDC_ICON_DI13,45,128,21,20 - ICON IDI_ICON_BLACK,IDC_ICON_DI14,27,128,21,20 - ICON IDI_ICON_BLACK,IDC_ICON_DI15,9,128,21,20 - LTEXT " 15 0",IDC_STATIC,9,147,289,13 - ICON IDI_ICON_BLACK,IDC_ICON_DI16,279,91,21,20 - ICON IDI_ICON_BLACK,IDC_ICON_DI17,261,91,21,20 - ICON IDI_ICON_BLACK,IDC_ICON_DI18,243,91,21,20 - ICON IDI_ICON_BLACK,IDC_ICON_DI19,225,91,21,20 - ICON IDI_ICON_BLACK,IDC_ICON_DI20,207,91,21,20 - ICON IDI_ICON_BLACK,IDC_ICON_DI21,189,91,21,20 - ICON IDI_ICON_BLACK,IDC_ICON_DI22,171,91,21,20 - ICON IDI_ICON_BLACK,IDC_ICON_DI23,153,91,21,20 - ICON IDI_ICON_BLACK,IDC_ICON_DI24,135,91,21,20 - ICON IDI_ICON_BLACK,IDC_ICON_DI25,117,91,21,20 - ICON IDI_ICON_BLACK,IDC_ICON_DI26,99,91,21,20 - ICON IDI_ICON_BLACK,IDC_ICON_DI27,81,91,21,20 - ICON IDI_ICON_BLACK,IDC_ICON_DI28,63,91,21,20 - ICON IDI_ICON_BLACK,IDC_ICON_DI29,45,91,21,20 - ICON IDI_ICON_BLACK,IDC_ICON_DI30,27,91,21,20 - ICON IDI_ICON_BLACK,IDC_ICON_DI31,9,91,21,20 - LTEXT " 31 16",IDC_STATIC,9,110,289,13 - GROUPBOX "Digital Input",IDC_STATIC,7,9,298,151 - ICON IDI_ICON_BLACK,IDC_ICON_DI32,279,53,21,20 - ICON IDI_ICON_BLACK,IDC_ICON_DI33,261,53,21,20 - ICON IDI_ICON_BLACK,IDC_ICON_DI34,243,53,21,20 - ICON IDI_ICON_BLACK,IDC_ICON_DI35,225,53,21,20 - ICON IDI_ICON_BLACK,IDC_ICON_DI36,207,53,21,20 - ICON IDI_ICON_BLACK,IDC_ICON_DI37,189,53,21,20 - ICON IDI_ICON_BLACK,IDC_ICON_DI38,171,53,21,20 - ICON IDI_ICON_BLACK,IDC_ICON_DI39,153,53,21,20 - ICON IDI_ICON_BLACK,IDC_ICON_DI40,135,53,21,20 - ICON IDI_ICON_BLACK,IDC_ICON_DI41,117,53,21,20 - ICON IDI_ICON_BLACK,IDC_ICON_DI42,99,53,21,20 - ICON IDI_ICON_BLACK,IDC_ICON_DI43,81,53,21,20 - ICON IDI_ICON_BLACK,IDC_ICON_DI44,63,53,21,20 - ICON IDI_ICON_BLACK,IDC_ICON_DI45,45,53,21,20 - ICON IDI_ICON_BLACK,IDC_ICON_DI46,27,53,21,20 - ICON IDI_ICON_BLACK,IDC_ICON_DI47,9,53,21,20 - ICON IDI_ICON_BLACK,IDC_ICON_DI48,279,15,21,20 - ICON IDI_ICON_BLACK,IDC_ICON_DI49,261,15,21,20 - ICON IDI_ICON_BLACK,IDC_ICON_DI50,243,15,21,20 - ICON IDI_ICON_BLACK,IDC_ICON_DI51,225,15,21,20 - ICON IDI_ICON_BLACK,IDC_ICON_DI52,207,15,21,20 - ICON IDI_ICON_BLACK,IDC_ICON_DI53,189,15,21,20 - ICON IDI_ICON_BLACK,IDC_ICON_DI54,171,15,21,20 - ICON IDI_ICON_BLACK,IDC_ICON_DI55,153,15,21,20 - ICON IDI_ICON_BLACK,IDC_ICON_DI56,135,15,21,20 - ICON IDI_ICON_BLACK,IDC_ICON_DI57,117,15,21,20 - ICON IDI_ICON_BLACK,IDC_ICON_DI58,99,15,21,20 - ICON IDI_ICON_BLACK,IDC_ICON_DI59,81,15,21,20 - ICON IDI_ICON_BLACK,IDC_ICON_DI60,63,15,21,20 - ICON IDI_ICON_BLACK,IDC_ICON_DI61,45,15,21,20 - ICON IDI_ICON_BLACK,IDC_ICON_DI62,27,15,21,20 - ICON IDI_ICON_BLACK,IDC_ICON_DI63,9,15,21,20 - LTEXT " 47 32",IDC_STATIC,9,72,289,13 - LTEXT " 63 48",IDC_STATIC,9,33,289,13 -END - -IDD_CARDID_DIALOG DIALOGEX 0, 0, 163, 87 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "Card ID" -FONT 8, "MS Shell Dlg", 400, 0, 0x1 -BEGIN - COMBOBOX IDC_COMBO_CARDID,73,17,71,126,CBS_DROPDOWN | WS_VSCROLL | WS_TABSTOP - LTEXT "Card Number",IDC_STATIC_01,19,18,46,12 - PUSHBUTTON "OK",IDOK,20,50,58,19 - PUSHBUTTON "CANCEL",IDCANCEL,84,50,58,19 -END - - -///////////////////////////////////////////////////////////////////////////// -// -// Version -// - -VS_VERSION_INFO VERSIONINFO - FILEVERSION 1,0,0,1 - PRODUCTVERSION 1,0,0,1 - FILEFLAGSMASK 0x3fL -#ifdef _DEBUG - FILEFLAGS 0x1L -#else - FILEFLAGS 0x0L -#endif - FILEOS 0x4L - FILETYPE 0x1L - FILESUBTYPE 0x0L -BEGIN - BLOCK "StringFileInfo" - BEGIN - BLOCK "040904e4" - BEGIN - VALUE "CompanyName", "TODO: " - VALUE "FileDescription", "TODO: " - VALUE "FileVersion", "1.0.0.1" - VALUE "InternalName", "Util7433.exe" - VALUE "LegalCopyright", "TODO: (c) . All rights reserved." - VALUE "OriginalFilename", "Util7433.exe" - VALUE "ProductName", "TODO: " - VALUE "ProductVersion", "1.0.0.1" - END - END - BLOCK "VarFileInfo" - BEGIN - VALUE "Translation", 0x409, 1252 - END -END - - -///////////////////////////////////////////////////////////////////////////// -// -// DESIGNINFO -// - -#ifdef APSTUDIO_INVOKED -GUIDELINES DESIGNINFO -BEGIN - IDD_ABOUTBOX, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 163 - TOPMARGIN, 7 - BOTTOMMARGIN, 55 - END - - IDD_UTIL7433_DIALOG, DIALOG - BEGIN - BOTTOMMARGIN, 168 - END - - IDD_CARDID_DIALOG, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 156 - TOPMARGIN, 7 - BOTTOMMARGIN, 80 - END -END -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog Info -// - -IDD_CARDID_DIALOG DLGINIT -BEGIN - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0030, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0031, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0032, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0033, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0034, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0035, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0036, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0037, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0038, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0039, - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3031, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3131, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3231, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3331, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3431, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3531, "\000" - 0 -END - - -///////////////////////////////////////////////////////////////////////////// -// -// String Table -// - -STRINGTABLE -BEGIN - IDS_ABOUTBOX "&About Util7433..." -END - -#endif // English (U.S.) resources -///////////////////////////////////////////////////////////////////////////// - - - -#ifndef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 3 resource. -// -#define _AFX_NO_SPLITTER_RESOURCES -#define _AFX_NO_OLE_RESOURCES -#define _AFX_NO_TRACKER_RESOURCES -#define _AFX_NO_PROPERTY_RESOURCES - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -LANGUAGE 9, 1 -#pragma code_page(1252) -#include "res\Util7433.rc2" // non-Microsoft Visual C++ edited resources -#include "afxres.rc" // Standard components -#endif - -///////////////////////////////////////////////////////////////////////////// -#endif // not APSTUDIO_INVOKED - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7433/Sdk7433R/Util7433.sln b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7433/Sdk7433R/Util7433.sln deleted file mode 100644 index 78ce31e..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7433/Sdk7433R/Util7433.sln +++ /dev/null @@ -1,20 +0,0 @@ - -Microsoft Visual Studio Solution File, Format Version 10.00 -# Visual Studio 2008 -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "Util7433", "Util7433.vcproj", "{C7FD46C6-5640-46BB-9CDF-718DC4621FFD}" -EndProject -Global - GlobalSection(SolutionConfigurationPlatforms) = preSolution - Debug|x64 = Debug|x64 - Release|x64 = Release|x64 - EndGlobalSection - GlobalSection(ProjectConfigurationPlatforms) = postSolution - {C7FD46C6-5640-46BB-9CDF-718DC4621FFD}.Debug|x64.ActiveCfg = Debug|x64 - {C7FD46C6-5640-46BB-9CDF-718DC4621FFD}.Debug|x64.Build.0 = Debug|x64 - {C7FD46C6-5640-46BB-9CDF-718DC4621FFD}.Release|x64.ActiveCfg = Release|x64 - {C7FD46C6-5640-46BB-9CDF-718DC4621FFD}.Release|x64.Build.0 = Release|x64 - EndGlobalSection - GlobalSection(SolutionProperties) = preSolution - HideSolutionNode = FALSE - EndGlobalSection -EndGlobal diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7433/Sdk7433R/Util7433.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7433/Sdk7433R/Util7433.suo deleted file mode 100644 index c48a252..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7433/Sdk7433R/Util7433.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7433/Sdk7433R/Util7433.vcproj b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7433/Sdk7433R/Util7433.vcproj deleted file mode 100644 index dacfa55..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7433/Sdk7433R/Util7433.vcproj +++ /dev/null @@ -1,294 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7433/Sdk7433R/Util7433Dlg.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7433/Sdk7433R/Util7433Dlg.cpp deleted file mode 100644 index 2799a9c..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7433/Sdk7433R/Util7433Dlg.cpp +++ /dev/null @@ -1,1055 +0,0 @@ - -// Util7433Dlg.cpp : implementation file -// - -#include "stdafx.h" -#include "Util7433.h" -#include "Util7433Dlg.h" - -#ifdef _DEBUG -#define new DEBUG_NEW -#endif - - -// CAboutDlg dialog used for App About - -class CAboutDlg : public CDialog -{ -public: - CAboutDlg(); - -// Dialog Data - enum { IDD = IDD_ABOUTBOX }; - - protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - -// Implementation -protected: - DECLARE_MESSAGE_MAP() -}; - -CAboutDlg::CAboutDlg() : CDialog(CAboutDlg::IDD) -{ -} - -void CAboutDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); -} - -BEGIN_MESSAGE_MAP(CAboutDlg, CDialog) -END_MESSAGE_MAP() - - -// CUtil7433Dlg dialog - - - - -CUtil7433Dlg::CUtil7433Dlg(I16 hCard, CWnd* pParent /*=NULL*/) - : CDialog(CUtil7433Dlg::IDD, pParent) -{ - m_hIcon = AfxGetApp()->LoadIcon(IDR_MAINFRAME); - - m_hCard = hCard; - m_nTimer = -1; - m_dwInDataLow = m_dwInDataHigh = 0x00000000; - -} - -void CUtil7433Dlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); - DDX_Control(pDX, IDC_ICON_DI00, m_Icon_DI00); - DDX_Control(pDX, IDC_ICON_DI01, m_Icon_DI01); - DDX_Control(pDX, IDC_ICON_DI02, m_Icon_DI02); - DDX_Control(pDX, IDC_ICON_DI03, m_Icon_DI03); - DDX_Control(pDX, IDC_ICON_DI04, m_Icon_DI04); - DDX_Control(pDX, IDC_ICON_DI05, m_Icon_DI05); - DDX_Control(pDX, IDC_ICON_DI06, m_Icon_DI06); - DDX_Control(pDX, IDC_ICON_DI07, m_Icon_DI07); - DDX_Control(pDX, IDC_ICON_DI08, m_Icon_DI08); - DDX_Control(pDX, IDC_ICON_DI09, m_Icon_DI09); - DDX_Control(pDX, IDC_ICON_DI10, m_Icon_DI10); - DDX_Control(pDX, IDC_ICON_DI11, m_Icon_DI11); - DDX_Control(pDX, IDC_ICON_DI12, m_Icon_DI12); - DDX_Control(pDX, IDC_ICON_DI13, m_Icon_DI13); - DDX_Control(pDX, IDC_ICON_DI14, m_Icon_DI14); - DDX_Control(pDX, IDC_ICON_DI15, m_Icon_DI15); - DDX_Control(pDX, IDC_ICON_DI16, m_Icon_DI16); - DDX_Control(pDX, IDC_ICON_DI17, m_Icon_DI17); - DDX_Control(pDX, IDC_ICON_DI18, m_Icon_DI18); - DDX_Control(pDX, IDC_ICON_DI19, m_Icon_DI19); - DDX_Control(pDX, IDC_ICON_DI20, m_Icon_DI20); - DDX_Control(pDX, IDC_ICON_DI21, m_Icon_DI21); - DDX_Control(pDX, IDC_ICON_DI22, m_Icon_DI22); - DDX_Control(pDX, IDC_ICON_DI23, m_Icon_DI23); - DDX_Control(pDX, IDC_ICON_DI24, m_Icon_DI24); - DDX_Control(pDX, IDC_ICON_DI25, m_Icon_DI25); - DDX_Control(pDX, IDC_ICON_DI26, m_Icon_DI26); - DDX_Control(pDX, IDC_ICON_DI27, m_Icon_DI27); - DDX_Control(pDX, IDC_ICON_DI28, m_Icon_DI28); - DDX_Control(pDX, IDC_ICON_DI29, m_Icon_DI29); - DDX_Control(pDX, IDC_ICON_DI30, m_Icon_DI30); - DDX_Control(pDX, IDC_ICON_DI31, m_Icon_DI31); - DDX_Control(pDX, IDC_ICON_DI32, m_Icon_DI32); - DDX_Control(pDX, IDC_ICON_DI33, m_Icon_DI33); - DDX_Control(pDX, IDC_ICON_DI34, m_Icon_DI34); - DDX_Control(pDX, IDC_ICON_DI35, m_Icon_DI35); - DDX_Control(pDX, IDC_ICON_DI36, m_Icon_DI36); - DDX_Control(pDX, IDC_ICON_DI37, m_Icon_DI37); - DDX_Control(pDX, IDC_ICON_DI38, m_Icon_DI38); - DDX_Control(pDX, IDC_ICON_DI39, m_Icon_DI39); - DDX_Control(pDX, IDC_ICON_DI40, m_Icon_DI40); - DDX_Control(pDX, IDC_ICON_DI41, m_Icon_DI41); - DDX_Control(pDX, IDC_ICON_DI42, m_Icon_DI42); - DDX_Control(pDX, IDC_ICON_DI43, m_Icon_DI43); - DDX_Control(pDX, IDC_ICON_DI44, m_Icon_DI44); - DDX_Control(pDX, IDC_ICON_DI45, m_Icon_DI45); - DDX_Control(pDX, IDC_ICON_DI46, m_Icon_DI46); - DDX_Control(pDX, IDC_ICON_DI47, m_Icon_DI47); - DDX_Control(pDX, IDC_ICON_DI48, m_Icon_DI48); - DDX_Control(pDX, IDC_ICON_DI49, m_Icon_DI49); - DDX_Control(pDX, IDC_ICON_DI50, m_Icon_DI50); - DDX_Control(pDX, IDC_ICON_DI51, m_Icon_DI51); - DDX_Control(pDX, IDC_ICON_DI52, m_Icon_DI52); - DDX_Control(pDX, IDC_ICON_DI53, m_Icon_DI53); - DDX_Control(pDX, IDC_ICON_DI54, m_Icon_DI54); - DDX_Control(pDX, IDC_ICON_DI55, m_Icon_DI55); - DDX_Control(pDX, IDC_ICON_DI56, m_Icon_DI56); - DDX_Control(pDX, IDC_ICON_DI57, m_Icon_DI57); - DDX_Control(pDX, IDC_ICON_DI58, m_Icon_DI58); - DDX_Control(pDX, IDC_ICON_DI59, m_Icon_DI59); - DDX_Control(pDX, IDC_ICON_DI60, m_Icon_DI60); - DDX_Control(pDX, IDC_ICON_DI61, m_Icon_DI61); - DDX_Control(pDX, IDC_ICON_DI62, m_Icon_DI62); - DDX_Control(pDX, IDC_ICON_DI63, m_Icon_DI63); -} - -BEGIN_MESSAGE_MAP(CUtil7433Dlg, CDialog) - ON_WM_SYSCOMMAND() - ON_WM_PAINT() - ON_WM_QUERYDRAGICON() - //}}AFX_MSG_MAP - ON_WM_DESTROY() - ON_WM_TIMER() -END_MESSAGE_MAP() - - -// CUtil7433Dlg message handlers - -BOOL CUtil7433Dlg::OnInitDialog() -{ - CDialog::OnInitDialog(); - - // Add "About..." menu item to system menu. - - // IDM_ABOUTBOX must be in the system command range. - ASSERT((IDM_ABOUTBOX & 0xFFF0) == IDM_ABOUTBOX); - ASSERT(IDM_ABOUTBOX < 0xF000); - - CMenu* pSysMenu = GetSystemMenu(FALSE); - if (pSysMenu != NULL) - { - BOOL bNameValid; - CString strAboutMenu; - bNameValid = strAboutMenu.LoadString(IDS_ABOUTBOX); - ASSERT(bNameValid); - if (!strAboutMenu.IsEmpty()) - { - pSysMenu->AppendMenu(MF_SEPARATOR); - pSysMenu->AppendMenu(MF_STRING, IDM_ABOUTBOX, strAboutMenu); - } - } - - // Set the icon for this dialog. The framework does this automatically - // when the application's main window is not a dialog - SetIcon(m_hIcon, TRUE); // Set big icon - SetIcon(m_hIcon, FALSE); // Set small icon - - // TODO: Add extra initialization here - - m_nTimer = SetTimer( 1, 250, NULL ); - - return TRUE; // return TRUE unless you set the focus to a control -} - -void CUtil7433Dlg::OnSysCommand(UINT nID, LPARAM lParam) -{ - if ((nID & 0xFFF0) == IDM_ABOUTBOX) - { - CAboutDlg dlgAbout; - dlgAbout.DoModal(); - } - else - { - CDialog::OnSysCommand(nID, lParam); - } -} - -// If you add a minimize button to your dialog, you will need the code below -// to draw the icon. For MFC applications using the document/view model, -// this is automatically done for you by the framework. - -void CUtil7433Dlg::OnPaint() -{ - if (IsIconic()) - { - CPaintDC dc(this); // device context for painting - - SendMessage(WM_ICONERASEBKGND, reinterpret_cast(dc.GetSafeHdc()), 0); - - // Center icon in client rectangle - int cxIcon = GetSystemMetrics(SM_CXICON); - int cyIcon = GetSystemMetrics(SM_CYICON); - CRect rect; - GetClientRect(&rect); - int x = (rect.Width() - cxIcon + 1) / 2; - int y = (rect.Height() - cyIcon + 1) / 2; - - // Draw the icon - dc.DrawIcon(x, y, m_hIcon); - } - else - { - CDialog::OnPaint(); - } -} - -// The system calls this function to obtain the cursor to display while the user drags -// the minimized window. -HCURSOR CUtil7433Dlg::OnQueryDragIcon() -{ - return static_cast(m_hIcon); -} - - -void CUtil7433Dlg::OnDestroy() -{ - CDialog::OnDestroy(); - - // TODO: Add your message handler code here - if( m_nTimer != -1 ) - KillTimer( m_nTimer ); -} - -void CUtil7433Dlg::OnTimer(UINT_PTR nIDEvent) -{ - // TODO: Add your message handler code here and/or call default - U32 dwPortData, dwChangeMask; - - DI_ReadPort(m_hCard, PORT_DI_LOW, &dwPortData); - DO_WritePort(m_hCard, P7433R_DO_LED, dwPortData); - - dwChangeMask = dwPortData ^ m_dwInDataLow; - - if( dwChangeMask != 0x00 ) // Input had been changed - { - m_dwInDataLow = dwPortData; // update the DI data - - if( (dwChangeMask & 0x01) == 0x01 ) // if the target bit is changed - { - if( (dwPortData & 0x01) == 0x01 ) - { - m_Icon_DI00.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_DI00.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - - if( (dwChangeMask & 0x02) == 0x02 ) // if the target bit is changed - { - if( (dwPortData & 0x02) == 0x02 ) - { - m_Icon_DI01.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_DI01.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - if( (dwChangeMask & 0x04) == 0x04 ) // if the target bit is changed - { - if( (dwPortData & 0x04) == 0x04 ) - { - m_Icon_DI02.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_DI02.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - - if( (dwChangeMask & 0x08) == 0x08 ) // if the target bit is changed - { - if( (dwPortData & 0x08) == 0x08 ) - { - m_Icon_DI03.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_DI03.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - if( (dwChangeMask & 0x10) == 0x10 ) // if the target bit is changed - { - if( (dwPortData & 0x10) == 0x10 ) - { - m_Icon_DI04.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_DI04.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - if( (dwChangeMask & 0x20) == 0x20 ) // if the target bit is changed - { - if( (dwPortData & 0x20) == 0x20 ) - { - m_Icon_DI05.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_DI05.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - - if( (dwChangeMask & 0x40) == 0x40 ) // if the target bit is changed - { - if( (dwPortData & 0x40) == 0x40 ) - { - m_Icon_DI06.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_DI06.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - - if( (dwChangeMask & 0x80) == 0x80 ) // if the target bit is changed - { - if( (dwPortData & 0x80) == 0x80 ) - { - m_Icon_DI07.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_DI07.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - - if( (dwChangeMask & 0x100) == 0x100 ) // if the target bit is changed - { - if( (dwPortData & 0x100) == 0x100 ) - { - m_Icon_DI08.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_DI08.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - if( (dwChangeMask & 0x200) == 0x200 ) // if the target bit is changed - { - if( (dwPortData & 0x200) == 0x200 ) - { - m_Icon_DI09.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_DI09.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - if( (dwChangeMask & 0x400) == 0x400 ) // if the target bit is changed - { - if( (dwPortData & 0x400) == 0x400 ) - { - m_Icon_DI10.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_DI10.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - if( (dwChangeMask & 0x800) == 0x800 ) // if the target bit is changed - { - if( (dwPortData & 0x800) == 0x800 ) - { - m_Icon_DI11.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_DI11.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - if( (dwChangeMask & 0x1000) == 0x1000 ) // if the target bit is changed - { - if( (dwPortData & 0x1000) == 0x1000 ) - { - m_Icon_DI12.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_DI12.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - if( (dwChangeMask & 0x2000) == 0x2000 ) // if the target bit is changed - { - if( (dwPortData & 0x2000) == 0x2000 ) - { - m_Icon_DI13.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_DI13.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - if( (dwChangeMask & 0x4000) == 0x4000 ) // if the target bit is changed - { - if( (dwPortData & 0x4000) == 0x4000 ) - { - m_Icon_DI14.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_DI14.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - if( (dwChangeMask & 0x8000) == 0x8000 ) // if the target bit is changed - { - if( (dwPortData & 0x8000) == 0x8000 ) - { - m_Icon_DI15.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_DI15.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - - if( (dwChangeMask & 0x10000) == 0x10000 ) // if the target bit is changed - { - if( (dwPortData & 0x10000) == 0x10000 ) - { - m_Icon_DI16.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_DI16.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - - if( (dwChangeMask & 0x20000) == 0x20000 ) // if the target bit is changed - { - if( (dwPortData & 0x20000) == 0x20000 ) - { - m_Icon_DI17.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_DI17.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - if( (dwChangeMask & 0x40000) == 0x40000 ) // if the target bit is changed - { - if( (dwPortData & 0x40000) == 0x40000 ) - { - m_Icon_DI18.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_DI18.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - - if( (dwChangeMask & 0x80000) == 0x80000 ) // if the target bit is changed - { - if( (dwPortData & 0x80000) == 0x80000 ) - { - m_Icon_DI19.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_DI19.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - if( (dwChangeMask & 0x100000) == 0x100000 ) // if the target bit is changed - { - if( (dwPortData & 0x100000) == 0x100000 ) - { - m_Icon_DI20.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_DI20.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - if( (dwChangeMask & 0x200000) == 0x200000 ) // if the target bit is changed - { - if( (dwPortData & 0x200000) == 0x200000 ) - { - m_Icon_DI21.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_DI21.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - - if( (dwChangeMask & 0x400000) == 0x400000 ) // if the target bit is changed - { - if( (dwPortData & 0x400000) == 0x400000 ) - { - m_Icon_DI22.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_DI22.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - - if( (dwChangeMask & 0x800000) == 0x800000 ) // if the target bit is changed - { - if( (dwPortData & 0x800000) == 0x800000 ) - { - m_Icon_DI23.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_DI23.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - - if( (dwChangeMask & 0x1000000) == 0x1000000 ) // if the target bit is changed - { - if( (dwPortData & 0x1000000) == 0x1000000 ) - { - m_Icon_DI24.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_DI24.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - if( (dwChangeMask & 0x2000000) == 0x2000000 ) // if the target bit is changed - { - if( (dwPortData & 0x2000000) == 0x2000000 ) - { - m_Icon_DI25.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_DI25.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - if( (dwChangeMask & 0x4000000) == 0x4000000 ) // if the target bit is changed - { - if( (dwPortData & 0x4000000) == 0x4000000 ) - { - m_Icon_DI26.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_DI26.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - if( (dwChangeMask & 0x8000000) == 0x8000000 ) // if the target bit is changed - { - if( (dwPortData & 0x8000000) == 0x8000000 ) - { - m_Icon_DI27.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_DI27.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - if( (dwChangeMask & 0x10000000) == 0x10000000 ) // if the target bit is changed - { - if( (dwPortData & 0x10000000) == 0x10000000 ) - { - m_Icon_DI28.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_DI28.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - if( (dwChangeMask & 0x20000000) == 0x20000000 ) // if the target bit is changed - { - if( (dwPortData & 0x20000000) == 0x20000000 ) - { - m_Icon_DI29.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_DI29.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - if( (dwChangeMask & 0x40000000) == 0x40000000 ) // if the target bit is changed - { - if( (dwPortData & 0x40000000) == 0x40000000 ) - { - m_Icon_DI30.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_DI30.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - if( (dwChangeMask & 0x80000000) == 0x80000000 ) // if the target bit is changed - { - if( (dwPortData & 0x80000000) == 0x80000000 ) - { - m_Icon_DI31.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_DI31.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - } - - - DI_ReadPort(m_hCard, PORT_DI_HIGH, &dwPortData); - - dwChangeMask = dwPortData ^ m_dwInDataHigh; - - if( dwChangeMask != 0x00 ) // Input had been changed - { - m_dwInDataHigh = dwPortData; // update the DI data - - if( (dwChangeMask & 0x01) == 0x01 ) // if the target bit is changed - { - if( (dwPortData & 0x01) == 0x01 ) - { - m_Icon_DI32.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_DI32.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - - if( (dwChangeMask & 0x02) == 0x02 ) // if the target bit is changed - { - if( (dwPortData & 0x02) == 0x02 ) - { - m_Icon_DI33.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_DI33.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - if( (dwChangeMask & 0x04) == 0x04 ) // if the target bit is changed - { - if( (dwPortData & 0x04) == 0x04 ) - { - m_Icon_DI34.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_DI34.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - - if( (dwChangeMask & 0x08) == 0x08 ) // if the target bit is changed - { - if( (dwPortData & 0x08) == 0x08 ) - { - m_Icon_DI35.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_DI35.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - if( (dwChangeMask & 0x10) == 0x10 ) // if the target bit is changed - { - if( (dwPortData & 0x10) == 0x10 ) - { - m_Icon_DI36.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_DI36.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - if( (dwChangeMask & 0x20) == 0x20 ) // if the target bit is changed - { - if( (dwPortData & 0x20) == 0x20 ) - { - m_Icon_DI37.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_DI37.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - - if( (dwChangeMask & 0x40) == 0x40 ) // if the target bit is changed - { - if( (dwPortData & 0x40) == 0x40 ) - { - m_Icon_DI38.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_DI38.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - - if( (dwChangeMask & 0x80) == 0x80 ) // if the target bit is changed - { - if( (dwPortData & 0x80) == 0x80 ) - { - m_Icon_DI39.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_DI39.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - - if( (dwChangeMask & 0x100) == 0x100 ) // if the target bit is changed - { - if( (dwPortData & 0x100) == 0x100 ) - { - m_Icon_DI40.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_DI40.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - if( (dwChangeMask & 0x200) == 0x200 ) // if the target bit is changed - { - if( (dwPortData & 0x200) == 0x200 ) - { - m_Icon_DI41.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_DI41.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - if( (dwChangeMask & 0x400) == 0x400 ) // if the target bit is changed - { - if( (dwPortData & 0x400) == 0x400 ) - { - m_Icon_DI42.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_DI42.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - if( (dwChangeMask & 0x800) == 0x800 ) // if the target bit is changed - { - if( (dwPortData & 0x800) == 0x800 ) - { - m_Icon_DI43.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_DI43.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - if( (dwChangeMask & 0x1000) == 0x1000 ) // if the target bit is changed - { - if( (dwPortData & 0x1000) == 0x1000 ) - { - m_Icon_DI44.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_DI44.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - if( (dwChangeMask & 0x2000) == 0x2000 ) // if the target bit is changed - { - if( (dwPortData & 0x2000) == 0x2000 ) - { - m_Icon_DI45.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_DI45.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - if( (dwChangeMask & 0x4000) == 0x4000 ) // if the target bit is changed - { - if( (dwPortData & 0x4000) == 0x4000 ) - { - m_Icon_DI46.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_DI46.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - if( (dwChangeMask & 0x8000) == 0x8000 ) // if the target bit is changed - { - if( (dwPortData & 0x8000) == 0x8000 ) - { - m_Icon_DI47.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_DI47.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - - if( (dwChangeMask & 0x10000) == 0x10000 ) // if the target bit is changed - { - if( (dwPortData & 0x10000) == 0x10000 ) - { - m_Icon_DI48.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_DI48.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - - if( (dwChangeMask & 0x20000) == 0x20000 ) // if the target bit is changed - { - if( (dwPortData & 0x20000) == 0x20000 ) - { - m_Icon_DI49.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_DI49.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - if( (dwChangeMask & 0x40000) == 0x40000 ) // if the target bit is changed - { - if( (dwPortData & 0x40000) == 0x40000 ) - { - m_Icon_DI50.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_DI50.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - - if( (dwChangeMask & 0x80000) == 0x80000 ) // if the target bit is changed - { - if( (dwPortData & 0x80000) == 0x80000 ) - { - m_Icon_DI51.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_DI51.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - if( (dwChangeMask & 0x100000) == 0x100000 ) // if the target bit is changed - { - if( (dwPortData & 0x100000) == 0x100000 ) - { - m_Icon_DI52.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_DI52.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - if( (dwChangeMask & 0x200000) == 0x200000 ) // if the target bit is changed - { - if( (dwPortData & 0x200000) == 0x200000 ) - { - m_Icon_DI53.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_DI53.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - - if( (dwChangeMask & 0x400000) == 0x400000 ) // if the target bit is changed - { - if( (dwPortData & 0x400000) == 0x400000 ) - { - m_Icon_DI54.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_DI54.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - - if( (dwChangeMask & 0x800000) == 0x800000 ) // if the target bit is changed - { - if( (dwPortData & 0x800000) == 0x800000 ) - { - m_Icon_DI55.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_DI55.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - - if( (dwChangeMask & 0x1000000) == 0x1000000 ) // if the target bit is changed - { - if( (dwPortData & 0x1000000) == 0x1000000 ) - { - m_Icon_DI56.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_DI56.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - if( (dwChangeMask & 0x2000000) == 0x2000000 ) // if the target bit is changed - { - if( (dwPortData & 0x2000000) == 0x2000000 ) - { - m_Icon_DI57.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_DI57.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - if( (dwChangeMask & 0x4000000) == 0x4000000 ) // if the target bit is changed - { - if( (dwPortData & 0x4000000) == 0x4000000 ) - { - m_Icon_DI58.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_DI58.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - if( (dwChangeMask & 0x8000000) == 0x8000000 ) // if the target bit is changed - { - if( (dwPortData & 0x8000000) == 0x8000000 ) - { - m_Icon_DI59.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_DI59.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - if( (dwChangeMask & 0x10000000) == 0x10000000 ) // if the target bit is changed - { - if( (dwPortData & 0x10000000) == 0x10000000 ) - { - m_Icon_DI60.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_DI60.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - if( (dwChangeMask & 0x20000000) == 0x20000000 ) // if the target bit is changed - { - if( (dwPortData & 0x20000000) == 0x20000000 ) - { - m_Icon_DI61.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_DI61.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - if( (dwChangeMask & 0x40000000) == 0x40000000 ) // if the target bit is changed - { - if( (dwPortData & 0x40000000) == 0x40000000 ) - { - m_Icon_DI62.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_DI62.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - if( (dwChangeMask & 0x80000000) == 0x80000000 ) // if the target bit is changed - { - if( (dwPortData & 0x80000000) == 0x80000000 ) - { - m_Icon_DI63.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_DI63.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - } - - CDialog::OnTimer(nIDEvent); -} diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7433/Sdk7433R/Util7433Dlg.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7433/Sdk7433R/Util7433Dlg.h deleted file mode 100644 index b901dc4..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7433/Sdk7433R/Util7433Dlg.h +++ /dev/null @@ -1,105 +0,0 @@ - -// Util7433Dlg.h : header file -// - -#include "Dask64.h" - -#pragma once - - -// CUtil7433Dlg dialog -class CUtil7433Dlg : public CDialog -{ -// Construction -public: - CUtil7433Dlg(I16 hCard, CWnd* pParent = NULL); // standard constructor - -// Dialog Data - enum { IDD = IDD_UTIL7433_DIALOG }; - - protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - - -// Implementation -protected: - HICON m_hIcon; - UINT_PTR m_nTimer; - I16 m_hCard; - U32 m_dwInDataLow; - U32 m_dwInDataHigh; - - // Generated message map functions - virtual BOOL OnInitDialog(); - afx_msg void OnSysCommand(UINT nID, LPARAM lParam); - afx_msg void OnPaint(); - afx_msg HCURSOR OnQueryDragIcon(); - DECLARE_MESSAGE_MAP() -public: - CStatic m_Icon_DI00; - CStatic m_Icon_DI01; - CStatic m_Icon_DI02; - CStatic m_Icon_DI03; - CStatic m_Icon_DI04; - CStatic m_Icon_DI05; - CStatic m_Icon_DI06; - CStatic m_Icon_DI07; - CStatic m_Icon_DI08; - CStatic m_Icon_DI09; - CStatic m_Icon_DI10; - CStatic m_Icon_DI11; - CStatic m_Icon_DI12; - CStatic m_Icon_DI13; - CStatic m_Icon_DI14; - CStatic m_Icon_DI15; - CStatic m_Icon_DI16; - CStatic m_Icon_DI17; - CStatic m_Icon_DI18; - CStatic m_Icon_DI19; - CStatic m_Icon_DI20; - CStatic m_Icon_DI21; - CStatic m_Icon_DI22; - CStatic m_Icon_DI23; - CStatic m_Icon_DI24; - CStatic m_Icon_DI25; - CStatic m_Icon_DI26; - CStatic m_Icon_DI27; - CStatic m_Icon_DI28; - CStatic m_Icon_DI29; - CStatic m_Icon_DI30; - CStatic m_Icon_DI31; - CStatic m_Icon_DI32; - CStatic m_Icon_DI33; - CStatic m_Icon_DI34; - CStatic m_Icon_DI35; - CStatic m_Icon_DI36; - CStatic m_Icon_DI37; - CStatic m_Icon_DI38; - CStatic m_Icon_DI39; - CStatic m_Icon_DI40; - CStatic m_Icon_DI41; - CStatic m_Icon_DI42; - CStatic m_Icon_DI43; - CStatic m_Icon_DI44; - CStatic m_Icon_DI45; - CStatic m_Icon_DI46; - CStatic m_Icon_DI47; - CStatic m_Icon_DI48; - CStatic m_Icon_DI49; - CStatic m_Icon_DI50; - CStatic m_Icon_DI51; - CStatic m_Icon_DI52; - CStatic m_Icon_DI53; - CStatic m_Icon_DI54; - CStatic m_Icon_DI55; - CStatic m_Icon_DI56; - CStatic m_Icon_DI57; - CStatic m_Icon_DI58; - CStatic m_Icon_DI59; - CStatic m_Icon_DI60; - CStatic m_Icon_DI61; - CStatic m_Icon_DI62; - CStatic m_Icon_DI63; - afx_msg void OnDestroy(); - afx_msg void OnTimer(UINT_PTR nIDEvent); -}; diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7433/Sdk7433R/res/Util7433.ico b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7433/Sdk7433R/res/Util7433.ico deleted file mode 100644 index d56fbcd..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7433/Sdk7433R/res/Util7433.ico and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7433/Sdk7433R/res/Util7433.rc2 b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7433/Sdk7433R/res/Util7433.rc2 deleted file mode 100644 index 1a1be94..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7433/Sdk7433R/res/Util7433.rc2 +++ /dev/null @@ -1,13 +0,0 @@ -// -// Util7233.RC2 - resources Microsoft Visual C++ does not edit directly -// - -#ifdef APSTUDIO_INVOKED -#error this file is not editable by Microsoft Visual C++ -#endif //APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// Add manually edited resources here... - -///////////////////////////////////////////////////////////////////////////// diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7433/Sdk7433R/res/black.ico b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7433/Sdk7433R/res/black.ico deleted file mode 100644 index b5c375f..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7433/Sdk7433R/res/black.ico and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7433/Sdk7433R/res/green.ico b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7433/Sdk7433R/res/green.ico deleted file mode 100644 index d9a9fd3..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7433/Sdk7433R/res/green.ico and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7433/Sdk7433R/res/red.ico b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7433/Sdk7433R/res/red.ico deleted file mode 100644 index 7644596..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7433/Sdk7433R/res/red.ico and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7433/Sdk7433R/resource.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7433/Sdk7433R/resource.h deleted file mode 100644 index 8f2d6b4..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7433/Sdk7433R/resource.h +++ /dev/null @@ -1,90 +0,0 @@ -//{{NO_DEPENDENCIES}} -// Microsoft Visual C++ generated include file. -// Used by Util7433.rc -// -#define IDM_ABOUTBOX 0x0010 -#define IDD_ABOUTBOX 100 -#define IDS_ABOUTBOX 101 -#define IDD_UTIL7433_DIALOG 102 -#define IDR_MAINFRAME 128 -#define IDI_ICON_BLACK 129 -#define IDI_ICON_GREEN 130 -#define IDI_ICON_RED 131 -#define IDD_CARDID_DIALOG 132 -#define IDC_COMBO_CARDID 1000 -#define IDC_ICON_DI00 1005 -#define IDC_ICON_DI01 1006 -#define IDC_ICON_DI02 1007 -#define IDC_ICON_DI03 1008 -#define IDC_ICON_DI04 1009 -#define IDC_ICON_DI05 1010 -#define IDC_ICON_DI06 1011 -#define IDC_ICON_DI07 1012 -#define IDC_ICON_DI08 1013 -#define IDC_ICON_DI09 1014 -#define IDC_STATIC_01 1014 -#define IDC_ICON_DI10 1015 -#define IDC_ICON_DI11 1016 -#define IDC_ICON_DI12 1017 -#define IDC_ICON_DI13 1018 -#define IDC_ICON_DI14 1019 -#define IDC_ICON_DI15 1020 -#define IDC_ICON_DI16 1021 -#define IDC_ICON_DI17 1022 -#define IDC_ICON_DI18 1023 -#define IDC_ICON_DI19 1024 -#define IDC_ICON_DI20 1025 -#define IDC_ICON_DI21 1026 -#define IDC_ICON_DI22 1027 -#define IDC_ICON_DI23 1028 -#define IDC_ICON_DI24 1029 -#define IDC_ICON_DI25 1030 -#define IDC_ICON_DI26 1031 -#define IDC_ICON_DI27 1032 -#define IDC_ICON_DI28 1033 -#define IDC_ICON_DI29 1034 -#define IDC_ICON_DI30 1035 -#define IDC_ICON_DI31 1036 -#define IDC_ICON_DI32 1038 -#define IDC_ICON_DI33 1039 -#define IDC_ICON_DI34 1040 -#define IDC_ICON_DI35 1041 -#define IDC_ICON_DI36 1042 -#define IDC_ICON_DI37 1043 -#define IDC_ICON_DI38 1044 -#define IDC_ICON_DI39 1045 -#define IDC_ICON_DI40 1046 -#define IDC_ICON_DI41 1047 -#define IDC_ICON_DI42 1048 -#define IDC_ICON_DI43 1049 -#define IDC_ICON_DI44 1050 -#define IDC_ICON_DI45 1051 -#define IDC_ICON_DI46 1052 -#define IDC_ICON_DI47 1053 -#define IDC_ICON_DI48 1054 -#define IDC_ICON_DI49 1055 -#define IDC_ICON_DI50 1056 -#define IDC_ICON_DI51 1057 -#define IDC_ICON_DI52 1058 -#define IDC_ICON_DI53 1059 -#define IDC_ICON_DI54 1060 -#define IDC_ICON_DI55 1061 -#define IDC_ICON_DI56 1062 -#define IDC_ICON_DI57 1063 -#define IDC_ICON_DI58 1064 -#define IDC_ICON_DI59 1065 -#define IDC_ICON_DI60 1066 -#define IDC_ICON_DI61 1067 -#define IDC_ICON_DI62 1068 -#define IDC_ICON_DI63 1069 - -// Next default values for new objects -// -#ifdef APSTUDIO_INVOKED -#ifndef APSTUDIO_READONLY_SYMBOLS -#define _APS_NEXT_RESOURCE_VALUE 134 -#define _APS_NEXT_COMMAND_VALUE 32771 -#define _APS_NEXT_CONTROL_VALUE 1001 -#define _APS_NEXT_SYMED_VALUE 101 -#endif -#endif diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7433/Sdk7433R/stdafx.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7433/Sdk7433R/stdafx.cpp deleted file mode 100644 index 39ce6b2..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7433/Sdk7433R/stdafx.cpp +++ /dev/null @@ -1,8 +0,0 @@ - -// stdafx.cpp : source file that includes just the standard includes -// Util7433.pch will be the pre-compiled header -// stdafx.obj will contain the pre-compiled type information - -#include "stdafx.h" - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7433/Sdk7433R/stdafx.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7433/Sdk7433R/stdafx.h deleted file mode 100644 index 12123e2..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7433/Sdk7433R/stdafx.h +++ /dev/null @@ -1,60 +0,0 @@ - -// stdafx.h : include file for standard system include files, -// or project specific include files that are used frequently, -// but are changed infrequently - -#pragma once - -#ifndef _SECURE_ATL -#define _SECURE_ATL 1 -#endif - -#ifndef VC_EXTRALEAN -#define VC_EXTRALEAN // Exclude rarely-used stuff from Windows headers -#endif - -#include "targetver.h" - -#define _ATL_CSTRING_EXPLICIT_CONSTRUCTORS // some CString constructors will be explicit - -// turns off MFC's hiding of some common and often safely ignored warning messages -#define _AFX_ALL_WARNINGS - -#include // MFC core and standard components -#include // MFC extensions - - -#include // MFC Automation classes - - - -#ifndef _AFX_NO_OLE_SUPPORT -#include // MFC support for Internet Explorer 4 Common Controls -#endif -#ifndef _AFX_NO_AFXCMN_SUPPORT -#include // MFC support for Windows Common Controls -#endif // _AFX_NO_AFXCMN_SUPPORT - -#include // MFC support for ribbons and control bars - - - - - - - - - -#ifdef _UNICODE -#if defined _M_IX86 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='x86' publicKeyToken='6595b64144ccf1df' language='*'\"") -#elif defined _M_IA64 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='ia64' publicKeyToken='6595b64144ccf1df' language='*'\"") -#elif defined _M_X64 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='amd64' publicKeyToken='6595b64144ccf1df' language='*'\"") -#else -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='*' publicKeyToken='6595b64144ccf1df' language='*'\"") -#endif -#endif - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7433/Sdk7433R/targetver.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7433/Sdk7433R/targetver.h deleted file mode 100644 index 11730d5..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7433/Sdk7433R/targetver.h +++ /dev/null @@ -1,26 +0,0 @@ - -#pragma once - -// The following macros define the minimum required platform. The minimum required platform -// is the earliest version of Windows, Internet Explorer etc. that has the necessary features to run -// your application. The macros work by enabling all features available on platform versions up to and -// including the version specified. - -// Modify the following defines if you have to target a platform prior to the ones specified below. -// Refer to MSDN for the latest info on corresponding values for different platforms. -#ifndef WINVER // Specifies that the minimum required platform is Windows Vista. -#define WINVER 0x0600 // Change this to the appropriate value to target other versions of Windows. -#endif - -#ifndef _WIN32_WINNT // Specifies that the minimum required platform is Windows Vista. -#define _WIN32_WINNT 0x0600 // Change this to the appropriate value to target other versions of Windows. -#endif - -#ifndef _WIN32_WINDOWS // Specifies that the minimum required platform is Windows 98. -#define _WIN32_WINDOWS 0x0410 // Change this to the appropriate value to target Windows Me or later. -#endif - -#ifndef _WIN32_IE // Specifies that the minimum required platform is Internet Explorer 7.0. -#define _WIN32_IE 0x0700 // Change this to the appropriate value to target other versions of IE. -#endif - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7434/Sdk7434/CardIDDlg.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7434/Sdk7434/CardIDDlg.cpp deleted file mode 100644 index 118815e..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7434/Sdk7434/CardIDDlg.cpp +++ /dev/null @@ -1,67 +0,0 @@ -// CardIDDlg.cpp : implementation file -// - -#include "stdafx.h" -#include "Util7434.h" -#include "CardIDDlg.h" - - -// CCardIDDlg dialog - -IMPLEMENT_DYNAMIC(CCardIDDlg, CDialog) - -CCardIDDlg::CCardIDDlg(int nCardIdx, CWnd* pParent /*=NULL*/) - : CDialog(CCardIDDlg::IDD, pParent) -{ - m_nCardIdx = nCardIdx; -} - -CCardIDDlg::~CCardIDDlg() -{ -} - -void CCardIDDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); - DDX_Control(pDX, IDC_COMBO_CARDID, m_cbCardID); -} - - -BEGIN_MESSAGE_MAP(CCardIDDlg, CDialog) -// ON_CBN_SELCHANGE(IDC_COMBO_CARDID, &CCardIDDlg::OnCbnSelchangeComboCardid) -ON_BN_CLICKED(IDOK, &CCardIDDlg::OnBnClickedOk) -//ON_WM_CTLCOLOR() -END_MESSAGE_MAP() - - -// CCardIDDlg message handlers - - -void CCardIDDlg::OnBnClickedOk() -{ - // TODO: Add your control notification handler code here - -// UpdateData(TRUE); - m_nCardIdx = m_cbCardID.GetCurSel(); - - OnOK(); -} - -BOOL CCardIDDlg::OnInitDialog() -{ - CDialog::OnInitDialog(); - - // TODO: Add extra initialization here - m_cbCardID.SetCurSel( m_nCardIdx ); - - return TRUE; // return TRUE unless you set the focus to a control - // EXCEPTION: OCX Property Pages should return FALSE -} - -// the function to get the selected CardID -int CCardIDDlg::GetCardID(void) -{ - return m_nCardIdx; -} - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7434/Sdk7434/CardIDDlg.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7434/Sdk7434/CardIDDlg.h deleted file mode 100644 index 54628ea..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7434/Sdk7434/CardIDDlg.h +++ /dev/null @@ -1,33 +0,0 @@ -#pragma once -#include "afxwin.h" - - -// CCardIDDlg dialog - -class CCardIDDlg : public CDialog -{ - DECLARE_DYNAMIC(CCardIDDlg) - -public: - CCardIDDlg(int nCardIdx, CWnd* pParent = NULL); // standard constructor - virtual ~CCardIDDlg(); - -// Dialog Data - enum { IDD = IDD_CARDID_DIALOG }; - -protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - - DECLARE_MESSAGE_MAP() -public: -// afx_msg void OnCbnSelchangeComboCardid(); - afx_msg void OnBnClickedOk(); - // the setting of CardID ComboBox - int m_nCardIdx; - virtual BOOL OnInitDialog(); - // the control of CardID ComboBox - CComboBox m_cbCardID; - // the function to get the selected CardID - int GetCardID(void); -// afx_msg HBRUSH OnCtlColor(CDC* pDC, CWnd* pWnd, UINT nCtlColor); -}; diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7434/Sdk7434/ReadMe.txt b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7434/Sdk7434/ReadMe.txt deleted file mode 100644 index d08cb1b..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7434/Sdk7434/ReadMe.txt +++ /dev/null @@ -1,93 +0,0 @@ -================================================================================ - MICROSOFT FOUNDATION CLASS LIBRARY : Util7434 Project Overview -=============================================================================== - -The application wizard has created this Util7434 application for -you. This application not only demonstrates the basics of using the Microsoft -Foundation Classes but is also a starting point for writing your application. - -This file contains a summary of what you will find in each of the files that -make up your Util7434 application. - -Util7434.vcproj - This is the main project file for VC++ projects generated using an application wizard. - It contains information about the version of Visual C++ that generated the file, and - information about the platforms, configurations, and project features selected with the - application wizard. - -Util7434.h - This is the main header file for the application. It includes other - project specific headers (including Resource.h) and declares the - CUtil7434App application class. - -Util7434.cpp - This is the main application source file that contains the application - class CUtil7434App. - -Util7434.rc - This is a listing of all of the Microsoft Windows resources that the - program uses. It includes the icons, bitmaps, and cursors that are stored - in the RES subdirectory. This file can be directly edited in Microsoft - Visual C++. Your project resources are in 1033. - -res\Util7434.ico - This is an icon file, which is used as the application's icon. This - icon is included by the main resource file Util7434.rc. - -res\Util7434.rc2 - This file contains resources that are not edited by Microsoft - Visual C++. You should place all resources not editable by - the resource editor in this file. - - -///////////////////////////////////////////////////////////////////////////// - -The application wizard creates one dialog class: - -Util7434Dlg.h, Util7434Dlg.cpp - the dialog - These files contain your CUtil7434Dlg class. This class defines - the behavior of your application's main dialog. The dialog's template is - in Util7434.rc, which can be edited in Microsoft Visual C++. - - -///////////////////////////////////////////////////////////////////////////// - -Other Features: - -ActiveX Controls - The application includes support to use ActiveX controls. - -///////////////////////////////////////////////////////////////////////////// - -Other standard files: - -StdAfx.h, StdAfx.cpp - These files are used to build a precompiled header (PCH) file - named Util7434.pch and a precompiled types file named StdAfx.obj. - -Resource.h - This is the standard header file, which defines new resource IDs. - Microsoft Visual C++ reads and updates this file. - -Util7434.manifest - Application manifest files are used by Windows XP to describe an applications - dependency on specific versions of Side-by-Side assemblies. The loader uses this - information to load the appropriate assembly from the assembly cache or private - from the application. The Application manifest maybe included for redistribution - as an external .manifest file that is installed in the same folder as the application - executable or it may be included in the executable in the form of a resource. -///////////////////////////////////////////////////////////////////////////// - -Other notes: - -The application wizard uses "TODO:" to indicate parts of the source code you -should add to or customize. - -If your application uses MFC in a shared DLL, you will need -to redistribute the MFC DLLs. If your application is in a language -other than the operating system's locale, you will also have to -redistribute the corresponding localized resources MFC90XXX.DLL. -For more information on both of these topics, please see the section on -redistributing Visual C++ applications in MSDN documentation. - -///////////////////////////////////////////////////////////////////////////// diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7434/Sdk7434/Util7234.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7434/Sdk7434/Util7234.suo deleted file mode 100644 index 0e67c13..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7434/Sdk7434/Util7234.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7434/Sdk7434/Util7434.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7434/Sdk7434/Util7434.cpp deleted file mode 100644 index c0aedb1..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7434/Sdk7434/Util7434.cpp +++ /dev/null @@ -1,110 +0,0 @@ - -// Util7434.cpp : Defines the class behaviors for the application. -// - -#include "stdafx.h" -#include "Util7434.h" -#include "Util7434Dlg.h" -#include "CardIDDlg.h" - -#ifdef _DEBUG -#define new DEBUG_NEW -#endif - - -// CUtil7434App - -BEGIN_MESSAGE_MAP(CUtil7434App, CWinAppEx) - ON_COMMAND(ID_HELP, &CWinApp::OnHelp) -END_MESSAGE_MAP() - - -// CUtil7434App construction - -CUtil7434App::CUtil7434App() -{ - // TODO: add construction code here, - // Place all significant initialization in InitInstance -} - - -// The one and only CUtil7434App object - -CUtil7434App theApp; - - -// CUtil7434App initialization - -BOOL CUtil7434App::InitInstance() -{ - int nCardID = 0; - I16 hCard; - CString strTemp; - INT_PTR nResponse; - - // InitCommonControlsEx() is required on Windows XP if an application - // manifest specifies use of ComCtl32.dll version 6 or later to enable - // visual styles. Otherwise, any window creation will fail. - INITCOMMONCONTROLSEX InitCtrls; - InitCtrls.dwSize = sizeof(InitCtrls); - // Set this to include all the common control classes you want to use - // in your application. - InitCtrls.dwICC = ICC_WIN95_CLASSES; - InitCommonControlsEx(&InitCtrls); - - CWinAppEx::InitInstance(); - - AfxEnableControlContainer(); - - // Standard initialization - // If you are not using these features and wish to reduce the size - // of your final executable, you should remove from the following - // the specific initialization routines you do not need - // Change the registry key under which our settings are stored - // TODO: You should modify this string to be something appropriate - // such as the name of your company or organization - SetRegistryKey(_T("Local AppWizard-Generated Applications")); - - CCardIDDlg CardDlg( nCardID ); - - nResponse = CardDlg.DoModal(); - if (nResponse == IDOK) - { - nCardID = CardDlg.GetCardID(); - - if ((hCard=Register_Card(PCI_7434, nCardID)) < 0) - { - strTemp.Format( TEXT("Register_Card Error = %d"), hCard); - AfxMessageBox( strTemp ); - } - else - { - CUtil7434Dlg dlg(hCard); - m_pMainWnd = &dlg; - nResponse = dlg.DoModal(); - if (nResponse == IDOK) - { - // TODO: Place code here to handle when the dialog is - // dismissed with OK - } - else if (nResponse == IDCANCEL) - { - // TODO: Place code here to handle when the dialog is - // dismissed with Cancel - } - - if (hCard >= 0) Release_Card(hCard); - } - - } - else if (nResponse == IDCANCEL) - { - // TODO: Place code here to handle when the dialog is - // dismissed with Cancel - } - - - // Since the dialog has been closed, return FALSE so that we exit the - // application, rather than start the application's message pump. - return FALSE; -} diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7434/Sdk7434/Util7434.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7434/Sdk7434/Util7434.h deleted file mode 100644 index 9a8ab6e..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7434/Sdk7434/Util7434.h +++ /dev/null @@ -1,32 +0,0 @@ - -// Util7434.h : main header file for the PROJECT_NAME application -// - -#pragma once - -#ifndef __AFXWIN_H__ - #error "include 'stdafx.h' before including this file for PCH" -#endif - -#include "resource.h" // main symbols - - -// CUtil7434App: -// See Util7434.cpp for the implementation of this class -// - -class CUtil7434App : public CWinAppEx -{ -public: - CUtil7434App(); - -// Overrides - public: - virtual BOOL InitInstance(); - -// Implementation - - DECLARE_MESSAGE_MAP() -}; - -extern CUtil7434App theApp; \ No newline at end of file diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7434/Sdk7434/Util7434.rc b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7434/Sdk7434/Util7434.rc deleted file mode 100644 index 920ff73..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7434/Sdk7434/Util7434.rc +++ /dev/null @@ -1,335 +0,0 @@ -// Microsoft Visual C++ generated resource script. -// -#include "resource.h" - -#define APSTUDIO_READONLY_SYMBOLS -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 2 resource. -// -#ifndef APSTUDIO_INVOKED -#include "targetver.h" -#endif -#include "afxres.h" - -///////////////////////////////////////////////////////////////////////////// -#undef APSTUDIO_READONLY_SYMBOLS - -///////////////////////////////////////////////////////////////////////////// -// Chinese (Taiwan) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_CHT) -#ifdef _WIN32 -LANGUAGE LANG_CHINESE, SUBLANG_CHINESE_TRADITIONAL -#pragma code_page(950) -#endif //_WIN32 - -#ifdef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// TEXTINCLUDE -// - -1 TEXTINCLUDE -BEGIN - "resource.h\0" -END - -2 TEXTINCLUDE -BEGIN - "#ifndef APSTUDIO_INVOKED\r\n" - "#include ""targetver.h""\r\n" - "#endif\r\n" - "#include ""afxres.h""\r\n" - "\0" -END - -3 TEXTINCLUDE -BEGIN - "#define _AFX_NO_SPLITTER_RESOURCES\r\n" - "#define _AFX_NO_OLE_RESOURCES\r\n" - "#define _AFX_NO_TRACKER_RESOURCES\r\n" - "#define _AFX_NO_PROPERTY_RESOURCES\r\n" - "\r\n" - "#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)\r\n" - "LANGUAGE 9, 1\r\n" - "#pragma code_page(1252)\r\n" - "#include ""res\\Util7434.rc2"" // non-Microsoft Visual C++ edited resources\r\n" - "#include ""afxres.rc"" // Standard components\r\n" - "#endif\r\n" - "\0" -END - -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// Icon -// - -// Icon with lowest ID value placed first to ensure application icon -// remains consistent on all systems. -IDR_MAINFRAME ICON "res\\Util7434.ico" -#endif // Chinese (Taiwan) resources -///////////////////////////////////////////////////////////////////////////// - - -///////////////////////////////////////////////////////////////////////////// -// English (U.S.) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -#ifdef _WIN32 -LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US -#pragma code_page(1252) -#endif //_WIN32 - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog -// - -IDD_ABOUTBOX DIALOGEX 0, 0, 170, 62 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "About Util7434" -FONT 8, "MS Shell Dlg", 0, 0, 0x1 -BEGIN - ICON IDR_MAINFRAME,IDC_STATIC,14,14,21,20 - LTEXT "Util7434, Version 1.0",IDC_STATIC,42,14,114,8,SS_NOPREFIX - LTEXT "Copyright (C) 2010",IDC_STATIC,42,26,114,8 - DEFPUSHBUTTON "OK",IDOK,113,41,50,14,WS_GROUP -END - -IDD_UTIL7434_DIALOG DIALOGEX 0, 0, 314, 148 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU -EXSTYLE WS_EX_APPWINDOW -CAPTION "PCI-7434" -FONT 8, "MS Shell Dlg", 0, 0, 0x1 -BEGIN - CONTROL "",IDC_CHECK_DO00,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,289,110,12,12 - CONTROL "",IDC_CHECK_DO01,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,271,110,12,12 - CONTROL "",IDC_CHECK_DO02,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,253,110,12,12 - CONTROL "",IDC_CHECK_DO03,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,235,110,12,12 - CONTROL "",IDC_CHECK_DO04,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,217,110,12,12 - CONTROL "",IDC_CHECK_DO05,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,199,110,12,12 - CONTROL "",IDC_CHECK_DO06,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,181,110,12,12 - CONTROL "",IDC_CHECK_DO07,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,163,110,12,12 - CONTROL "",IDC_CHECK_DO08,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,145,110,12,12 - CONTROL "",IDC_CHECK_DO09,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,127,110,12,12 - CONTROL "",IDC_CHECK_DO10,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,109,110,12,12 - CONTROL "",IDC_CHECK_DO11,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,91,110,12,12 - CONTROL "",IDC_CHECK_DO12,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,73,110,12,12 - CONTROL "",IDC_CHECK_DO13,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,55,110,12,12 - CONTROL "",IDC_CHECK_DO14,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,37,110,12,12 - CONTROL "",IDC_CHECK_DO15,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,19,110,12,12 - LTEXT " 15 0",IDC_STATIC,13,121,289,13 - CONTROL "",IDC_CHECK_DO16,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,289,80,12,12 - CONTROL "",IDC_CHECK_DO17,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,271,80,12,12 - CONTROL "",IDC_CHECK_DO18,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,253,80,12,12 - CONTROL "",IDC_CHECK_DO19,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,235,80,12,12 - CONTROL "",IDC_CHECK_DO20,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,217,80,12,12 - CONTROL "",IDC_CHECK_DO21,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,199,80,12,12 - CONTROL "",IDC_CHECK_DO22,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,181,80,12,12 - CONTROL "",IDC_CHECK_DO23,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,163,80,12,12 - CONTROL "",IDC_CHECK_DO24,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,145,80,12,12 - CONTROL "",IDC_CHECK_DO25,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,127,80,12,12 - CONTROL "",IDC_CHECK_DO26,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,109,80,12,12 - CONTROL "",IDC_CHECK_DO27,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,91,80,12,12 - CONTROL "",IDC_CHECK_DO28,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,73,80,12,12 - CONTROL "",IDC_CHECK_DO29,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,55,80,12,12 - CONTROL "",IDC_CHECK_DO30,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,37,80,12,12 - CONTROL "",IDC_CHECK_DO31,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,19,80,12,12 - LTEXT " 31 16",IDC_STATIC,13,91,289,13 - GROUPBOX "Digital Output",IDC_STATIC,9,7,297,129 - CONTROL "",IDC_CHECK_DO32,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,289,50,12,12 - CONTROL "",IDC_CHECK_DO33,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,271,50,12,12 - CONTROL "",IDC_CHECK_DO34,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,253,50,12,12 - CONTROL "",IDC_CHECK_DO35,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,235,50,12,12 - CONTROL "",IDC_CHECK_DO36,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,217,50,12,12 - CONTROL "",IDC_CHECK_DO37,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,199,50,12,12 - CONTROL "",IDC_CHECK_DO38,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,181,50,12,12 - CONTROL "",IDC_CHECK_DO39,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,163,50,12,12 - CONTROL "",IDC_CHECK_DO40,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,145,50,12,12 - CONTROL "",IDC_CHECK_DO41,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,127,50,12,12 - CONTROL "",IDC_CHECK_DO42,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,109,50,12,12 - CONTROL "",IDC_CHECK_DO43,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,91,50,12,12 - CONTROL "",IDC_CHECK_DO44,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,73,50,12,12 - CONTROL "",IDC_CHECK_DO45,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,55,50,12,12 - CONTROL "",IDC_CHECK_DO46,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,37,50,12,12 - CONTROL "",IDC_CHECK_DO47,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,19,50,12,12 - CONTROL "",IDC_CHECK_DO48,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,289,20,12,12 - CONTROL "",IDC_CHECK_DO49,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,271,20,12,12 - CONTROL "",IDC_CHECK_DO50,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,253,20,12,12 - CONTROL "",IDC_CHECK_DO51,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,235,20,12,12 - CONTROL "",IDC_CHECK_DO52,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,217,20,12,12 - CONTROL "",IDC_CHECK_DO53,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,199,20,12,12 - CONTROL "",IDC_CHECK_DO54,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,181,20,12,12 - CONTROL "",IDC_CHECK_DO55,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,163,20,12,12 - CONTROL "",IDC_CHECK_DO56,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,145,20,12,12 - CONTROL "",IDC_CHECK_DO57,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,127,20,12,12 - CONTROL "",IDC_CHECK_DO58,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,109,20,12,12 - CONTROL "",IDC_CHECK_DO59,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,91,20,12,12 - CONTROL "",IDC_CHECK_DO60,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,73,20,12,12 - CONTROL "",IDC_CHECK_DO61,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,55,20,12,12 - CONTROL "",IDC_CHECK_DO62,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,37,20,12,12 - CONTROL "",IDC_CHECK_DO63,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,19,20,12,12 - LTEXT " 47 32",IDC_STATIC,13,62,289,13 - LTEXT " 63 48",IDC_STATIC,14,31,289,13 -END - -IDD_CARDID_DIALOG DIALOGEX 0, 0, 165, 88 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "Card ID" -FONT 8, "MS Shell Dlg", 400, 0, 0x1 -BEGIN - COMBOBOX IDC_COMBO_CARDID,75,17,71,126,CBS_DROPDOWN | WS_VSCROLL | WS_TABSTOP - LTEXT "Card Number",IDC_STATIC_01,21,18,46,12 - PUSHBUTTON "OK",IDOK,22,50,58,19 - PUSHBUTTON "CANCEL",IDCANCEL,86,50,58,19 -END - - -///////////////////////////////////////////////////////////////////////////// -// -// Version -// - -VS_VERSION_INFO VERSIONINFO - FILEVERSION 1,0,0,1 - PRODUCTVERSION 1,0,0,1 - FILEFLAGSMASK 0x3fL -#ifdef _DEBUG - FILEFLAGS 0x1L -#else - FILEFLAGS 0x0L -#endif - FILEOS 0x4L - FILETYPE 0x1L - FILESUBTYPE 0x0L -BEGIN - BLOCK "StringFileInfo" - BEGIN - BLOCK "040904e4" - BEGIN - VALUE "CompanyName", "TODO: " - VALUE "FileDescription", "TODO: " - VALUE "FileVersion", "1.0.0.1" - VALUE "InternalName", "Util7434.exe" - VALUE "LegalCopyright", "TODO: (c) . All rights reserved." - VALUE "OriginalFilename", "Util7434.exe" - VALUE "ProductName", "TODO: " - VALUE "ProductVersion", "1.0.0.1" - END - END - BLOCK "VarFileInfo" - BEGIN - VALUE "Translation", 0x409, 1252 - END -END - - -///////////////////////////////////////////////////////////////////////////// -// -// DESIGNINFO -// - -#ifdef APSTUDIO_INVOKED -GUIDELINES DESIGNINFO -BEGIN - IDD_ABOUTBOX, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 163 - TOPMARGIN, 7 - BOTTOMMARGIN, 55 - END - - IDD_CARDID_DIALOG, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 158 - TOPMARGIN, 7 - BOTTOMMARGIN, 81 - END -END -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog Info -// - -IDD_CARDID_DIALOG DLGINIT -BEGIN - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0030, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0031, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0032, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0033, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0034, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0035, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0036, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0037, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0038, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0039, - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3031, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3131, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3231, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3331, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3431, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3531, "\000" - 0 -END - - -///////////////////////////////////////////////////////////////////////////// -// -// String Table -// - -STRINGTABLE -BEGIN - IDS_ABOUTBOX "&About Util7434..." -END - -#endif // English (U.S.) resources -///////////////////////////////////////////////////////////////////////////// - - - -#ifndef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 3 resource. -// -#define _AFX_NO_SPLITTER_RESOURCES -#define _AFX_NO_OLE_RESOURCES -#define _AFX_NO_TRACKER_RESOURCES -#define _AFX_NO_PROPERTY_RESOURCES - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -LANGUAGE 9, 1 -#pragma code_page(1252) -#include "res\Util7434.rc2" // non-Microsoft Visual C++ edited resources -#include "afxres.rc" // Standard components -#endif - -///////////////////////////////////////////////////////////////////////////// -#endif // not APSTUDIO_INVOKED - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7434/Sdk7434/Util7434.sln b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7434/Sdk7434/Util7434.sln deleted file mode 100644 index 477cfd4..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7434/Sdk7434/Util7434.sln +++ /dev/null @@ -1,20 +0,0 @@ - -Microsoft Visual Studio Solution File, Format Version 10.00 -# Visual Studio 2008 -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "Util7434", "Util7434.vcproj", "{698ED213-147E-4FB5-A7B6-ADD9B5B3939B}" -EndProject -Global - GlobalSection(SolutionConfigurationPlatforms) = preSolution - Debug|x64 = Debug|x64 - Release|x64 = Release|x64 - EndGlobalSection - GlobalSection(ProjectConfigurationPlatforms) = postSolution - {698ED213-147E-4FB5-A7B6-ADD9B5B3939B}.Debug|x64.ActiveCfg = Debug|x64 - {698ED213-147E-4FB5-A7B6-ADD9B5B3939B}.Debug|x64.Build.0 = Debug|x64 - {698ED213-147E-4FB5-A7B6-ADD9B5B3939B}.Release|x64.ActiveCfg = Release|x64 - {698ED213-147E-4FB5-A7B6-ADD9B5B3939B}.Release|x64.Build.0 = Release|x64 - EndGlobalSection - GlobalSection(SolutionProperties) = preSolution - HideSolutionNode = FALSE - EndGlobalSection -EndGlobal diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7434/Sdk7434/Util7434.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7434/Sdk7434/Util7434.suo deleted file mode 100644 index 6366fc9..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7434/Sdk7434/Util7434.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7434/Sdk7434/Util7434.vcproj b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7434/Sdk7434/Util7434.vcproj deleted file mode 100644 index b96439b..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7434/Sdk7434/Util7434.vcproj +++ /dev/null @@ -1,286 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7434/Sdk7434/Util7434Dlg.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7434/Sdk7434/Util7434Dlg.cpp deleted file mode 100644 index 9e1ebbb..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7434/Sdk7434/Util7434Dlg.cpp +++ /dev/null @@ -1,1446 +0,0 @@ - -// Util7434Dlg.cpp : implementation file -// - -#include "stdafx.h" -#include "Util7434.h" -#include "Util7434Dlg.h" - -#ifdef _DEBUG -#define new DEBUG_NEW -#endif - - -// CAboutDlg dialog used for App About - -class CAboutDlg : public CDialog -{ -public: - CAboutDlg(); - -// Dialog Data - enum { IDD = IDD_ABOUTBOX }; - - protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - -// Implementation -protected: - DECLARE_MESSAGE_MAP() -}; - -CAboutDlg::CAboutDlg() : CDialog(CAboutDlg::IDD) -{ -} - -void CAboutDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); -} - -BEGIN_MESSAGE_MAP(CAboutDlg, CDialog) -END_MESSAGE_MAP() - - -// CUtil7434Dlg dialog - - - - -CUtil7434Dlg::CUtil7434Dlg(I16 hCard, CWnd* pParent /*=NULL*/) - : CDialog(CUtil7434Dlg::IDD, pParent) -{ - m_hIcon = AfxGetApp()->LoadIcon(IDR_MAINFRAME); - - m_hCard = hCard; - m_dwOutDataLow = m_dwOutDataHigh = 0x00000000; -} - -void CUtil7434Dlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); -} - -BEGIN_MESSAGE_MAP(CUtil7434Dlg, CDialog) - ON_WM_SYSCOMMAND() - ON_WM_PAINT() - ON_WM_QUERYDRAGICON() - //}}AFX_MSG_MAP - ON_BN_CLICKED(IDC_CHECK_DO00, &CUtil7434Dlg::OnOut00) - ON_BN_CLICKED(IDC_CHECK_DO01, &CUtil7434Dlg::OnOut01) - ON_BN_CLICKED(IDC_CHECK_DO02, &CUtil7434Dlg::OnOut02) - ON_BN_CLICKED(IDC_CHECK_DO03, &CUtil7434Dlg::OnOut03) - ON_BN_CLICKED(IDC_CHECK_DO04, &CUtil7434Dlg::OnOut04) - ON_BN_CLICKED(IDC_CHECK_DO05, &CUtil7434Dlg::OnOut05) - ON_BN_CLICKED(IDC_CHECK_DO06, &CUtil7434Dlg::OnOut06) - ON_BN_CLICKED(IDC_CHECK_DO07, &CUtil7434Dlg::OnOut07) - ON_BN_CLICKED(IDC_CHECK_DO08, &CUtil7434Dlg::OnOut08) - ON_BN_CLICKED(IDC_CHECK_DO09, &CUtil7434Dlg::OnOut09) - ON_BN_CLICKED(IDC_CHECK_DO10, &CUtil7434Dlg::OnOut10) - ON_BN_CLICKED(IDC_CHECK_DO11, &CUtil7434Dlg::OnOut11) - ON_BN_CLICKED(IDC_CHECK_DO12, &CUtil7434Dlg::OnOut12) - ON_BN_CLICKED(IDC_CHECK_DO13, &CUtil7434Dlg::OnOut13) - ON_BN_CLICKED(IDC_CHECK_DO14, &CUtil7434Dlg::OnOut14) - ON_BN_CLICKED(IDC_CHECK_DO15, &CUtil7434Dlg::OnOut15) - ON_BN_CLICKED(IDC_CHECK_DO16, &CUtil7434Dlg::OnOut16) - ON_BN_CLICKED(IDC_CHECK_DO17, &CUtil7434Dlg::OnOut17) - ON_BN_CLICKED(IDC_CHECK_DO18, &CUtil7434Dlg::OnOut18) - ON_BN_CLICKED(IDC_CHECK_DO19, &CUtil7434Dlg::OnOut19) - ON_BN_CLICKED(IDC_CHECK_DO20, &CUtil7434Dlg::OnOut20) - ON_BN_CLICKED(IDC_CHECK_DO21, &CUtil7434Dlg::OnOut21) - ON_BN_CLICKED(IDC_CHECK_DO22, &CUtil7434Dlg::OnOut22) - ON_BN_CLICKED(IDC_CHECK_DO23, &CUtil7434Dlg::OnOut23) - ON_BN_CLICKED(IDC_CHECK_DO24, &CUtil7434Dlg::OnOut24) - ON_BN_CLICKED(IDC_CHECK_DO25, &CUtil7434Dlg::OnOut25) - ON_BN_CLICKED(IDC_CHECK_DO26, &CUtil7434Dlg::OnOut26) - ON_BN_CLICKED(IDC_CHECK_DO27, &CUtil7434Dlg::OnOut27) - ON_BN_CLICKED(IDC_CHECK_DO28, &CUtil7434Dlg::OnOut28) - ON_BN_CLICKED(IDC_CHECK_DO29, &CUtil7434Dlg::OnOut29) - ON_BN_CLICKED(IDC_CHECK_DO30, &CUtil7434Dlg::OnOut30) - ON_BN_CLICKED(IDC_CHECK_DO31, &CUtil7434Dlg::OnOut31) - ON_BN_CLICKED(IDC_CHECK_DO32, &CUtil7434Dlg::OnOut32) - ON_BN_CLICKED(IDC_CHECK_DO33, &CUtil7434Dlg::OnOut33) - ON_BN_CLICKED(IDC_CHECK_DO34, &CUtil7434Dlg::OnOut34) - ON_BN_CLICKED(IDC_CHECK_DO35, &CUtil7434Dlg::OnOut35) - ON_BN_CLICKED(IDC_CHECK_DO36, &CUtil7434Dlg::OnOut36) - ON_BN_CLICKED(IDC_CHECK_DO37, &CUtil7434Dlg::OnOut37) - ON_BN_CLICKED(IDC_CHECK_DO38, &CUtil7434Dlg::OnOut38) - ON_BN_CLICKED(IDC_CHECK_DO39, &CUtil7434Dlg::OnOut39) - ON_BN_CLICKED(IDC_CHECK_DO40, &CUtil7434Dlg::OnOut40) - ON_BN_CLICKED(IDC_CHECK_DO41, &CUtil7434Dlg::OnOut41) - ON_BN_CLICKED(IDC_CHECK_DO42, &CUtil7434Dlg::OnOut42) - ON_BN_CLICKED(IDC_CHECK_DO43, &CUtil7434Dlg::OnOut43) - ON_BN_CLICKED(IDC_CHECK_DO44, &CUtil7434Dlg::OnOut44) - ON_BN_CLICKED(IDC_CHECK_DO45, &CUtil7434Dlg::OnOut45) - ON_BN_CLICKED(IDC_CHECK_DO46, &CUtil7434Dlg::OnOut46) - ON_BN_CLICKED(IDC_CHECK_DO47, &CUtil7434Dlg::OnOut47) - ON_BN_CLICKED(IDC_CHECK_DO48, &CUtil7434Dlg::OnOut48) - ON_BN_CLICKED(IDC_CHECK_DO49, &CUtil7434Dlg::OnOut49) - ON_BN_CLICKED(IDC_CHECK_DO50, &CUtil7434Dlg::OnOut50) - ON_BN_CLICKED(IDC_CHECK_DO51, &CUtil7434Dlg::OnOut51) - ON_BN_CLICKED(IDC_CHECK_DO52, &CUtil7434Dlg::OnOut52) - ON_BN_CLICKED(IDC_CHECK_DO53, &CUtil7434Dlg::OnOut53) - ON_BN_CLICKED(IDC_CHECK_DO54, &CUtil7434Dlg::OnOut54) - ON_BN_CLICKED(IDC_CHECK_DO55, &CUtil7434Dlg::OnOut55) - ON_BN_CLICKED(IDC_CHECK_DO56, &CUtil7434Dlg::OnOut56) - ON_BN_CLICKED(IDC_CHECK_DO57, &CUtil7434Dlg::OnOut57) - ON_BN_CLICKED(IDC_CHECK_DO58, &CUtil7434Dlg::OnOut58) - ON_BN_CLICKED(IDC_CHECK_DO59, &CUtil7434Dlg::OnOut59) - ON_BN_CLICKED(IDC_CHECK_DO60, &CUtil7434Dlg::OnOut60) - ON_BN_CLICKED(IDC_CHECK_DO61, &CUtil7434Dlg::OnOut61) - ON_BN_CLICKED(IDC_CHECK_DO62, &CUtil7434Dlg::OnOut62) - ON_BN_CLICKED(IDC_CHECK_DO63, &CUtil7434Dlg::OnOut63) - -END_MESSAGE_MAP() - - -// CUtil7434Dlg message handlers - -BOOL CUtil7434Dlg::OnInitDialog() -{ - CDialog::OnInitDialog(); - - // Add "About..." menu item to system menu. - - // IDM_ABOUTBOX must be in the system command range. - ASSERT((IDM_ABOUTBOX & 0xFFF0) == IDM_ABOUTBOX); - ASSERT(IDM_ABOUTBOX < 0xF000); - - CMenu* pSysMenu = GetSystemMenu(FALSE); - if (pSysMenu != NULL) - { - BOOL bNameValid; - CString strAboutMenu; - bNameValid = strAboutMenu.LoadString(IDS_ABOUTBOX); - ASSERT(bNameValid); - if (!strAboutMenu.IsEmpty()) - { - pSysMenu->AppendMenu(MF_SEPARATOR); - pSysMenu->AppendMenu(MF_STRING, IDM_ABOUTBOX, strAboutMenu); - } - } - - // Set the icon for this dialog. The framework does this automatically - // when the application's main window is not a dialog - SetIcon(m_hIcon, TRUE); // Set big icon - SetIcon(m_hIcon, FALSE); // Set small icon - - // TODO: Add extra initialization here - DO_WritePort( m_hCard, PORT_DO_LOW, m_dwOutDataLow ); - DO_WritePort( m_hCard, PORT_DO_HIGH, m_dwOutDataHigh ); - - return TRUE; // return TRUE unless you set the focus to a control -} - -void CUtil7434Dlg::OnSysCommand(UINT nID, LPARAM lParam) -{ - if ((nID & 0xFFF0) == IDM_ABOUTBOX) - { - CAboutDlg dlgAbout; - dlgAbout.DoModal(); - } - else - { - CDialog::OnSysCommand(nID, lParam); - } -} - -// If you add a minimize button to your dialog, you will need the code below -// to draw the icon. For MFC applications using the document/view model, -// this is automatically done for you by the framework. - -void CUtil7434Dlg::OnPaint() -{ - if (IsIconic()) - { - CPaintDC dc(this); // device context for painting - - SendMessage(WM_ICONERASEBKGND, reinterpret_cast(dc.GetSafeHdc()), 0); - - // Center icon in client rectangle - int cxIcon = GetSystemMetrics(SM_CXICON); - int cyIcon = GetSystemMetrics(SM_CYICON); - CRect rect; - GetClientRect(&rect); - int x = (rect.Width() - cxIcon + 1) / 2; - int y = (rect.Height() - cyIcon + 1) / 2; - - // Draw the icon - dc.DrawIcon(x, y, m_hIcon); - } - else - { - CDialog::OnPaint(); - } -} - -// The system calls this function to obtain the cursor to display while the user drags -// the minimized window. -HCURSOR CUtil7434Dlg::OnQueryDragIcon() -{ - return static_cast(m_hIcon); -} - -void CUtil7434Dlg::OnOut00() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_DO00 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_dwOutDataLow |= 0x01; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_dwOutDataLow &= (~0x01); - } - - DO_WritePort( m_hCard, PORT_DO_LOW, m_dwOutDataLow ); - -} - -void CUtil7434Dlg::OnOut01() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_DO01 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_dwOutDataLow |= 0x02; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_dwOutDataLow &= (~0x02); - } - - DO_WritePort( m_hCard, PORT_DO_LOW, m_dwOutDataLow ); -} - -void CUtil7434Dlg::OnOut02() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_DO02 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_dwOutDataLow |= 0x04; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_dwOutDataLow &= (~0x04); - } - - DO_WritePort( m_hCard, PORT_DO_LOW, m_dwOutDataLow ); -} - -void CUtil7434Dlg::OnOut03() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_DO03 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_dwOutDataLow |= 0x08; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_dwOutDataLow &= (~0x08); - } - - DO_WritePort( m_hCard, PORT_DO_LOW, m_dwOutDataLow ); -} - -void CUtil7434Dlg::OnOut04() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_DO04 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_dwOutDataLow |= 0x10; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_dwOutDataLow &= (~0x10); - } - - DO_WritePort( m_hCard, PORT_DO_LOW, m_dwOutDataLow ); -} - -void CUtil7434Dlg::OnOut05() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_DO05 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_dwOutDataLow |= 0x20; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_dwOutDataLow &= (~0x20); - } - - DO_WritePort( m_hCard, PORT_DO_LOW, m_dwOutDataLow ); -} - -void CUtil7434Dlg::OnOut06() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_DO06 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_dwOutDataLow |= 0x40; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_dwOutDataLow &= (~0x40); - } - - DO_WritePort( m_hCard, PORT_DO_LOW, m_dwOutDataLow ); -} - -void CUtil7434Dlg::OnOut07() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_DO07 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_dwOutDataLow |= 0x80; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_dwOutDataLow &= (~0x80); - } - - DO_WritePort( m_hCard, PORT_DO_LOW, m_dwOutDataLow ); -} - -void CUtil7434Dlg::OnOut08() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_DO08 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_dwOutDataLow |= 0x100; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_dwOutDataLow &= (~0x100); - } - - DO_WritePort( m_hCard, PORT_DO_LOW, m_dwOutDataLow ); -} - -void CUtil7434Dlg::OnOut09() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_DO09 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_dwOutDataLow |= 0x200; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_dwOutDataLow &= (~0x200); - } - - DO_WritePort( m_hCard, PORT_DO_LOW, m_dwOutDataLow ); -} - -void CUtil7434Dlg::OnOut10() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_DO10 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_dwOutDataLow |= 0x400; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_dwOutDataLow &= (~0x400); - } - - DO_WritePort( m_hCard, PORT_DO_LOW, m_dwOutDataLow ); -} - -void CUtil7434Dlg::OnOut11() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_DO11 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_dwOutDataLow |= 0x800; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_dwOutDataLow &= (~0x800); - } - - DO_WritePort( m_hCard, PORT_DO_LOW, m_dwOutDataLow ); -} - -void CUtil7434Dlg::OnOut12() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_DO12 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_dwOutDataLow |= 0x1000; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_dwOutDataLow &= (~0x1000); - } - - DO_WritePort( m_hCard, PORT_DO_LOW, m_dwOutDataLow ); -} - -void CUtil7434Dlg::OnOut13() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_DO13 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_dwOutDataLow |= 0x2000; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_dwOutDataLow &= (~0x2000); - } - - DO_WritePort( m_hCard, PORT_DO_LOW, m_dwOutDataLow ); -} - -void CUtil7434Dlg::OnOut14() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_DO14 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_dwOutDataLow |= 0x4000; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_dwOutDataLow &= (~0x4000); - } - - DO_WritePort( m_hCard, PORT_DO_LOW, m_dwOutDataLow ); -} - -void CUtil7434Dlg::OnOut15() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_DO15 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_dwOutDataLow |= 0x8000; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_dwOutDataLow &= (~0x8000); - } - - DO_WritePort( m_hCard, PORT_DO_LOW, m_dwOutDataLow ); -} - - -void CUtil7434Dlg::OnOut16() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_DO16 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_dwOutDataLow |= 0x10000; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_dwOutDataLow &= (~0x10000); - } - - DO_WritePort( m_hCard, PORT_DO_LOW, m_dwOutDataLow ); -} - -void CUtil7434Dlg::OnOut17() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_DO17 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_dwOutDataLow |= 0x20000; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_dwOutDataLow &= (~0x20000); - } - - DO_WritePort( m_hCard, PORT_DO_LOW, m_dwOutDataLow ); -} - -void CUtil7434Dlg::OnOut18() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_DO18 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_dwOutDataLow |= 0x40000; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_dwOutDataLow &= (~0x40000); - } - - DO_WritePort( m_hCard, PORT_DO_LOW, m_dwOutDataLow ); -} - -void CUtil7434Dlg::OnOut19() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_DO19 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_dwOutDataLow |= 0x80000; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_dwOutDataLow &= (~0x80000); - } - - DO_WritePort( m_hCard, PORT_DO_LOW, m_dwOutDataLow ); -} - - -void CUtil7434Dlg::OnOut20() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_DO20 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_dwOutDataLow |= 0x100000; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_dwOutDataLow &= (~0x100000); - } - - DO_WritePort( m_hCard, PORT_DO_LOW, m_dwOutDataLow ); -} - -void CUtil7434Dlg::OnOut21() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_DO21 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_dwOutDataLow |= 0x200000; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_dwOutDataLow &= (~0x200000); - } - - DO_WritePort( m_hCard, PORT_DO_LOW, m_dwOutDataLow ); -} - -void CUtil7434Dlg::OnOut22() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_DO22 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_dwOutDataLow |= 0x400000; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_dwOutDataLow &= (~0x400000); - } - - DO_WritePort( m_hCard, PORT_DO_LOW, m_dwOutDataLow ); -} - -void CUtil7434Dlg::OnOut23() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_DO23 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_dwOutDataLow |= 0x800000; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_dwOutDataLow &= (~0x80000); - } - - DO_WritePort( m_hCard, PORT_DO_LOW, m_dwOutDataLow ); -} - -void CUtil7434Dlg::OnOut24() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_DO24 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_dwOutDataLow |= 0x1000000; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_dwOutDataLow &= (~0x1000000); - } - - DO_WritePort( m_hCard, PORT_DO_LOW, m_dwOutDataLow ); -} - -void CUtil7434Dlg::OnOut25() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_DO25 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_dwOutDataLow |= 0x2000000; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_dwOutDataLow &= (~0x2000000); - } - - DO_WritePort( m_hCard, PORT_DO_LOW, m_dwOutDataLow ); -} - - -void CUtil7434Dlg::OnOut26() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_DO26 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_dwOutDataLow |= 0x4000000; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_dwOutDataLow &= (~0x4000000); - } - - DO_WritePort( m_hCard, PORT_DO_LOW, m_dwOutDataLow ); -} - -void CUtil7434Dlg::OnOut27() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_DO27 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_dwOutDataLow |= 0x8000000; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_dwOutDataLow &= (~0x8000000); - } - - DO_WritePort( m_hCard, PORT_DO_LOW, m_dwOutDataLow ); -} - -void CUtil7434Dlg::OnOut28() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_DO28 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_dwOutDataLow |= 0x10000000; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_dwOutDataLow &= (~0x10000000); - } - - DO_WritePort( m_hCard, PORT_DO_LOW, m_dwOutDataLow ); -} - -void CUtil7434Dlg::OnOut29() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_DO29 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_dwOutDataLow |= 0x20000000; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_dwOutDataLow &= (~0x20000000); - } - - DO_WritePort( m_hCard, PORT_DO_LOW, m_dwOutDataLow ); -} - -void CUtil7434Dlg::OnOut30() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_DO30 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_dwOutDataLow |= 0x40000000; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_dwOutDataLow &= (~0x40000000); - } - - DO_WritePort( m_hCard, PORT_DO_LOW, m_dwOutDataLow ); -} - -void CUtil7434Dlg::OnOut31() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_DO31 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_dwOutDataLow |= 0x80000000; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_dwOutDataLow &= (~0x80000000); - } - - DO_WritePort( m_hCard, PORT_DO_LOW, m_dwOutDataLow ); -} - -void CUtil7434Dlg::OnOut32() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_DO32 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_dwOutDataHigh |= 0x01; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_dwOutDataHigh &= (~0x01); - } - - DO_WritePort( m_hCard, PORT_DO_HIGH, m_dwOutDataHigh ); - -} - -void CUtil7434Dlg::OnOut33() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_DO33 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_dwOutDataHigh |= 0x02; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_dwOutDataHigh &= (~0x02); - } - - DO_WritePort( m_hCard, PORT_DO_HIGH, m_dwOutDataHigh ); -} - -void CUtil7434Dlg::OnOut34() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_DO34 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_dwOutDataHigh |= 0x04; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_dwOutDataHigh &= (~0x04); - } - - DO_WritePort( m_hCard, PORT_DO_HIGH, m_dwOutDataHigh ); -} - -void CUtil7434Dlg::OnOut35() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_DO35 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_dwOutDataHigh |= 0x08; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_dwOutDataHigh &= (~0x08); - } - - DO_WritePort( m_hCard, PORT_DO_HIGH, m_dwOutDataHigh ); -} - -void CUtil7434Dlg::OnOut36() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_DO36 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_dwOutDataHigh |= 0x10; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_dwOutDataHigh &= (~0x10); - } - - DO_WritePort( m_hCard, PORT_DO_HIGH, m_dwOutDataHigh ); -} - -void CUtil7434Dlg::OnOut37() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_DO37 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_dwOutDataHigh |= 0x20; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_dwOutDataHigh &= (~0x20); - } - - DO_WritePort( m_hCard, PORT_DO_HIGH, m_dwOutDataHigh ); -} - -void CUtil7434Dlg::OnOut38() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_DO38 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_dwOutDataHigh |= 0x40; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_dwOutDataHigh &= (~0x40); - } - - DO_WritePort( m_hCard, PORT_DO_HIGH, m_dwOutDataHigh ); -} - -void CUtil7434Dlg::OnOut39() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_DO39 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_dwOutDataHigh |= 0x80; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_dwOutDataHigh &= (~0x80); - } - - DO_WritePort( m_hCard, PORT_DO_HIGH, m_dwOutDataHigh ); -} - -void CUtil7434Dlg::OnOut40() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_DO40 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_dwOutDataHigh |= 0x100; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_dwOutDataHigh &= (~0x100); - } - - DO_WritePort( m_hCard, PORT_DO_HIGH, m_dwOutDataHigh ); -} - -void CUtil7434Dlg::OnOut41() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_DO41 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_dwOutDataHigh |= 0x200; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_dwOutDataHigh &= (~0x200); - } - - DO_WritePort( m_hCard, PORT_DO_HIGH, m_dwOutDataHigh ); -} - -void CUtil7434Dlg::OnOut42() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_DO42 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_dwOutDataHigh |= 0x400; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_dwOutDataHigh &= (~0x400); - } - - DO_WritePort( m_hCard, PORT_DO_HIGH, m_dwOutDataHigh ); -} - -void CUtil7434Dlg::OnOut43() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_DO43 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_dwOutDataHigh |= 0x800; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_dwOutDataHigh &= (~0x800); - } - - DO_WritePort( m_hCard, PORT_DO_HIGH, m_dwOutDataHigh ); -} - -void CUtil7434Dlg::OnOut44() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_DO44 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_dwOutDataHigh |= 0x1000; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_dwOutDataHigh &= (~0x1000); - } - - DO_WritePort( m_hCard, PORT_DO_HIGH, m_dwOutDataHigh ); -} - -void CUtil7434Dlg::OnOut45() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_DO45 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_dwOutDataHigh |= 0x2000; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_dwOutDataHigh &= (~0x2000); - } - - DO_WritePort( m_hCard, PORT_DO_HIGH, m_dwOutDataHigh ); -} - -void CUtil7434Dlg::OnOut46() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_DO46 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_dwOutDataHigh |= 0x4000; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_dwOutDataHigh &= (~0x4000); - } - - DO_WritePort( m_hCard, PORT_DO_HIGH, m_dwOutDataHigh ); -} - -void CUtil7434Dlg::OnOut47() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_DO47 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_dwOutDataHigh |= 0x8000; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_dwOutDataHigh &= (~0x8000); - } - - DO_WritePort( m_hCard, PORT_DO_HIGH, m_dwOutDataHigh ); -} - - -void CUtil7434Dlg::OnOut48() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_DO48 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_dwOutDataHigh |= 0x10000; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_dwOutDataHigh &= (~0x10000); - } - - DO_WritePort( m_hCard, PORT_DO_HIGH, m_dwOutDataHigh ); -} - -void CUtil7434Dlg::OnOut49() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_DO49 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_dwOutDataHigh |= 0x20000; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_dwOutDataHigh &= (~0x20000); - } - - DO_WritePort( m_hCard, PORT_DO_HIGH, m_dwOutDataHigh ); -} - -void CUtil7434Dlg::OnOut50() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_DO50 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_dwOutDataHigh |= 0x40000; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_dwOutDataHigh &= (~0x40000); - } - - DO_WritePort( m_hCard, PORT_DO_HIGH, m_dwOutDataHigh ); -} - -void CUtil7434Dlg::OnOut51() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_DO51 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_dwOutDataHigh |= 0x80000; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_dwOutDataHigh &= (~0x80000); - } - - DO_WritePort( m_hCard, PORT_DO_HIGH, m_dwOutDataHigh ); -} - - -void CUtil7434Dlg::OnOut52() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_DO52 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_dwOutDataHigh |= 0x100000; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_dwOutDataHigh &= (~0x100000); - } - - DO_WritePort( m_hCard, PORT_DO_HIGH, m_dwOutDataHigh ); -} - -void CUtil7434Dlg::OnOut53() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_DO53 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_dwOutDataHigh |= 0x200000; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_dwOutDataHigh &= (~0x200000); - } - - DO_WritePort( m_hCard, PORT_DO_HIGH, m_dwOutDataHigh ); -} - -void CUtil7434Dlg::OnOut54() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_DO54 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_dwOutDataHigh |= 0x400000; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_dwOutDataHigh &= (~0x400000); - } - - DO_WritePort( m_hCard, PORT_DO_HIGH, m_dwOutDataHigh ); -} - -void CUtil7434Dlg::OnOut55() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_DO55 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_dwOutDataHigh |= 0x800000; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_dwOutDataHigh &= (~0x80000); - } - - DO_WritePort( m_hCard, PORT_DO_HIGH, m_dwOutDataHigh ); -} - -void CUtil7434Dlg::OnOut56() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_DO56 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_dwOutDataHigh |= 0x1000000; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_dwOutDataHigh &= (~0x1000000); - } - - DO_WritePort( m_hCard, PORT_DO_HIGH, m_dwOutDataHigh ); -} - -void CUtil7434Dlg::OnOut57() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_DO57 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_dwOutDataHigh |= 0x2000000; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_dwOutDataHigh &= (~0x2000000); - } - - DO_WritePort( m_hCard, PORT_DO_HIGH, m_dwOutDataHigh ); -} - - -void CUtil7434Dlg::OnOut58() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_DO58 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_dwOutDataHigh |= 0x4000000; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_dwOutDataHigh &= (~0x4000000); - } - - DO_WritePort( m_hCard, PORT_DO_HIGH, m_dwOutDataHigh ); -} - -void CUtil7434Dlg::OnOut59() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_DO59 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_dwOutDataHigh |= 0x8000000; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_dwOutDataHigh &= (~0x8000000); - } - - DO_WritePort( m_hCard, PORT_DO_HIGH, m_dwOutDataHigh ); -} - -void CUtil7434Dlg::OnOut60() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_DO60 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_dwOutDataHigh |= 0x10000000; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_dwOutDataHigh &= (~0x10000000); - } - - DO_WritePort( m_hCard, PORT_DO_HIGH, m_dwOutDataHigh ); -} - -void CUtil7434Dlg::OnOut61() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_DO61 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_dwOutDataHigh |= 0x20000000; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_dwOutDataHigh &= (~0x20000000); - } - - DO_WritePort( m_hCard, PORT_DO_HIGH, m_dwOutDataHigh ); -} - -void CUtil7434Dlg::OnOut62() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_DO62 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_dwOutDataHigh |= 0x40000000; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_dwOutDataHigh &= (~0x40000000); - } - - DO_WritePort( m_hCard, PORT_DO_HIGH, m_dwOutDataHigh ); -} - -void CUtil7434Dlg::OnOut63() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_DO63 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_dwOutDataHigh |= 0x80000000; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_dwOutDataHigh &= (~0x80000000); - } - - DO_WritePort( m_hCard, PORT_DO_HIGH, m_dwOutDataHigh ); -} diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7434/Sdk7434/Util7434Dlg.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7434/Sdk7434/Util7434Dlg.h deleted file mode 100644 index 2425f36..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7434/Sdk7434/Util7434Dlg.h +++ /dev/null @@ -1,103 +0,0 @@ - -// Util7434Dlg.h : header file -// - -#include "Dask64.h" - -#pragma once - - -// CUtil7434Dlg dialog -class CUtil7434Dlg : public CDialog -{ -// Construction -public: - CUtil7434Dlg(I16 hCard, CWnd* pParent = NULL); // standard constructor - -// Dialog Data - enum { IDD = IDD_UTIL7434_DIALOG }; - - protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - - -// Implementation -protected: - HICON m_hIcon; - I16 m_hCard; - U32 m_dwOutDataLow; - U32 m_dwOutDataHigh; - - // Generated message map functions - virtual BOOL OnInitDialog(); - afx_msg void OnSysCommand(UINT nID, LPARAM lParam); - afx_msg void OnPaint(); - afx_msg HCURSOR OnQueryDragIcon(); - DECLARE_MESSAGE_MAP() - -public: - afx_msg void OnOut00(); - afx_msg void OnOut01(); - afx_msg void OnOut02(); - afx_msg void OnOut03(); - afx_msg void OnOut04(); - afx_msg void OnOut05(); - afx_msg void OnOut06(); - afx_msg void OnOut07(); - afx_msg void OnOut08(); - afx_msg void OnOut09(); - afx_msg void OnOut10(); - afx_msg void OnOut11(); - afx_msg void OnOut12(); - afx_msg void OnOut13(); - afx_msg void OnOut14(); - afx_msg void OnOut15(); - afx_msg void OnOut16(); - afx_msg void OnOut17(); - afx_msg void OnOut18(); - afx_msg void OnOut19(); - afx_msg void OnOut20(); - afx_msg void OnOut21(); - afx_msg void OnOut22(); - afx_msg void OnOut23(); - afx_msg void OnOut24(); - afx_msg void OnOut25(); - afx_msg void OnOut26(); - afx_msg void OnOut27(); - afx_msg void OnOut28(); - afx_msg void OnOut29(); - afx_msg void OnOut30(); - afx_msg void OnOut31(); - afx_msg void OnOut32(); - afx_msg void OnOut33(); - afx_msg void OnOut34(); - afx_msg void OnOut35(); - afx_msg void OnOut36(); - afx_msg void OnOut37(); - afx_msg void OnOut38(); - afx_msg void OnOut39(); - afx_msg void OnOut40(); - afx_msg void OnOut41(); - afx_msg void OnOut42(); - afx_msg void OnOut43(); - afx_msg void OnOut44(); - afx_msg void OnOut45(); - afx_msg void OnOut46(); - afx_msg void OnOut47(); - afx_msg void OnOut48(); - afx_msg void OnOut49(); - afx_msg void OnOut50(); - afx_msg void OnOut51(); - afx_msg void OnOut52(); - afx_msg void OnOut53(); - afx_msg void OnOut54(); - afx_msg void OnOut55(); - afx_msg void OnOut56(); - afx_msg void OnOut57(); - afx_msg void OnOut58(); - afx_msg void OnOut59(); - afx_msg void OnOut60(); - afx_msg void OnOut61(); - afx_msg void OnOut62(); - afx_msg void OnOut63(); -}; diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7434/Sdk7434/res/Util7434.ico b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7434/Sdk7434/res/Util7434.ico deleted file mode 100644 index d56fbcd..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7434/Sdk7434/res/Util7434.ico and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7434/Sdk7434/res/Util7434.rc2 b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7434/Sdk7434/res/Util7434.rc2 deleted file mode 100644 index 9d672e4..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7434/Sdk7434/res/Util7434.rc2 +++ /dev/null @@ -1,13 +0,0 @@ -// -// Util7234.RC2 - resources Microsoft Visual C++ does not edit directly -// - -#ifdef APSTUDIO_INVOKED -#error this file is not editable by Microsoft Visual C++ -#endif //APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// Add manually edited resources here... - -///////////////////////////////////////////////////////////////////////////// diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7434/Sdk7434/resource.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7434/Sdk7434/resource.h deleted file mode 100644 index 26ec90d..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7434/Sdk7434/resource.h +++ /dev/null @@ -1,87 +0,0 @@ -//{{NO_DEPENDENCIES}} -// Microsoft Visual C++ generated include file. -// Used by Util7434.rc -// -#define IDM_ABOUTBOX 0x0010 -#define IDD_ABOUTBOX 100 -#define IDS_ABOUTBOX 101 -#define IDD_UTIL7434_DIALOG 102 -#define IDR_MAINFRAME 128 -#define IDD_CARDID_DIALOG 129 -#define IDC_COMBO_CARDID 1000 -#define IDC_CHECK_DO00 1003 -#define IDC_CHECK_DO01 1004 -#define IDC_CHECK_DO16 1005 -#define IDC_CHECK_DO17 1006 -#define IDC_STATIC_01 1014 -#define IDC_CHECK_DO02 1021 -#define IDC_CHECK_DO03 1022 -#define IDC_CHECK_DO04 1023 -#define IDC_CHECK_DO05 1024 -#define IDC_CHECK_DO06 1025 -#define IDC_CHECK_DO07 1026 -#define IDC_CHECK_DO08 1027 -#define IDC_CHECK_DO09 1028 -#define IDC_CHECK_DO10 1029 -#define IDC_CHECK_DO11 1030 -#define IDC_CHECK_DO12 1031 -#define IDC_CHECK_DO13 1032 -#define IDC_CHECK_DO14 1033 -#define IDC_CHECK_DO15 1034 -#define IDC_CHECK_DO18 1035 -#define IDC_CHECK_DO19 1036 -#define IDC_CHECK_DO20 1037 -#define IDC_CHECK_DO21 1038 -#define IDC_CHECK_DO22 1039 -#define IDC_CHECK_DO23 1040 -#define IDC_CHECK_DO24 1041 -#define IDC_CHECK_DO25 1042 -#define IDC_CHECK_DO26 1043 -#define IDC_CHECK_DO27 1044 -#define IDC_CHECK_DO28 1045 -#define IDC_CHECK_DO29 1046 -#define IDC_CHECK_DO30 1047 -#define IDC_CHECK_DO31 1048 -#define IDC_CHECK_DO32 1049 -#define IDC_CHECK_DO33 1050 -#define IDC_CHECK_DO34 1051 -#define IDC_CHECK_DO35 1052 -#define IDC_CHECK_DO36 1053 -#define IDC_CHECK_DO37 1054 -#define IDC_CHECK_DO38 1055 -#define IDC_CHECK_DO39 1056 -#define IDC_CHECK_DO40 1057 -#define IDC_CHECK_DO41 1058 -#define IDC_CHECK_DO42 1059 -#define IDC_CHECK_DO43 1060 -#define IDC_CHECK_DO44 1061 -#define IDC_CHECK_DO45 1062 -#define IDC_CHECK_DO46 1063 -#define IDC_CHECK_DO47 1064 -#define IDC_CHECK_DO48 1065 -#define IDC_CHECK_DO49 1066 -#define IDC_CHECK_DO50 1067 -#define IDC_CHECK_DO51 1068 -#define IDC_CHECK_DO52 1069 -#define IDC_CHECK_DO53 1070 -#define IDC_CHECK_DO54 1071 -#define IDC_CHECK_DO55 1072 -#define IDC_CHECK_DO56 1073 -#define IDC_CHECK_DO57 1074 -#define IDC_CHECK_DO58 1075 -#define IDC_CHECK_DO59 1076 -#define IDC_CHECK_DO60 1077 -#define IDC_CHECK_DO61 1078 -#define IDC_CHECK_DO62 1079 -#define IDC_CHECK_DO63 1080 - -// Next default values for new objects -// -#ifdef APSTUDIO_INVOKED -#ifndef APSTUDIO_READONLY_SYMBOLS -#define _APS_NEXT_RESOURCE_VALUE 131 -#define _APS_NEXT_COMMAND_VALUE 32771 -#define _APS_NEXT_CONTROL_VALUE 1000 -#define _APS_NEXT_SYMED_VALUE 101 -#endif -#endif diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7434/Sdk7434/stdafx.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7434/Sdk7434/stdafx.cpp deleted file mode 100644 index 7957637..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7434/Sdk7434/stdafx.cpp +++ /dev/null @@ -1,8 +0,0 @@ - -// stdafx.cpp : source file that includes just the standard includes -// Util7434.pch will be the pre-compiled header -// stdafx.obj will contain the pre-compiled type information - -#include "stdafx.h" - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7434/Sdk7434/stdafx.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7434/Sdk7434/stdafx.h deleted file mode 100644 index 12123e2..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7434/Sdk7434/stdafx.h +++ /dev/null @@ -1,60 +0,0 @@ - -// stdafx.h : include file for standard system include files, -// or project specific include files that are used frequently, -// but are changed infrequently - -#pragma once - -#ifndef _SECURE_ATL -#define _SECURE_ATL 1 -#endif - -#ifndef VC_EXTRALEAN -#define VC_EXTRALEAN // Exclude rarely-used stuff from Windows headers -#endif - -#include "targetver.h" - -#define _ATL_CSTRING_EXPLICIT_CONSTRUCTORS // some CString constructors will be explicit - -// turns off MFC's hiding of some common and often safely ignored warning messages -#define _AFX_ALL_WARNINGS - -#include // MFC core and standard components -#include // MFC extensions - - -#include // MFC Automation classes - - - -#ifndef _AFX_NO_OLE_SUPPORT -#include // MFC support for Internet Explorer 4 Common Controls -#endif -#ifndef _AFX_NO_AFXCMN_SUPPORT -#include // MFC support for Windows Common Controls -#endif // _AFX_NO_AFXCMN_SUPPORT - -#include // MFC support for ribbons and control bars - - - - - - - - - -#ifdef _UNICODE -#if defined _M_IX86 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='x86' publicKeyToken='6595b64144ccf1df' language='*'\"") -#elif defined _M_IA64 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='ia64' publicKeyToken='6595b64144ccf1df' language='*'\"") -#elif defined _M_X64 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='amd64' publicKeyToken='6595b64144ccf1df' language='*'\"") -#else -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='*' publicKeyToken='6595b64144ccf1df' language='*'\"") -#endif -#endif - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7434/Sdk7434/targetver.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7434/Sdk7434/targetver.h deleted file mode 100644 index 11730d5..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7434/Sdk7434/targetver.h +++ /dev/null @@ -1,26 +0,0 @@ - -#pragma once - -// The following macros define the minimum required platform. The minimum required platform -// is the earliest version of Windows, Internet Explorer etc. that has the necessary features to run -// your application. The macros work by enabling all features available on platform versions up to and -// including the version specified. - -// Modify the following defines if you have to target a platform prior to the ones specified below. -// Refer to MSDN for the latest info on corresponding values for different platforms. -#ifndef WINVER // Specifies that the minimum required platform is Windows Vista. -#define WINVER 0x0600 // Change this to the appropriate value to target other versions of Windows. -#endif - -#ifndef _WIN32_WINNT // Specifies that the minimum required platform is Windows Vista. -#define _WIN32_WINNT 0x0600 // Change this to the appropriate value to target other versions of Windows. -#endif - -#ifndef _WIN32_WINDOWS // Specifies that the minimum required platform is Windows 98. -#define _WIN32_WINDOWS 0x0410 // Change this to the appropriate value to target Windows Me or later. -#endif - -#ifndef _WIN32_IE // Specifies that the minimum required platform is Internet Explorer 7.0. -#define _WIN32_IE 0x0700 // Change this to the appropriate value to target other versions of IE. -#endif - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7434/Sdk7434R/CardIDDlg.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7434/Sdk7434R/CardIDDlg.cpp deleted file mode 100644 index 118815e..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7434/Sdk7434R/CardIDDlg.cpp +++ /dev/null @@ -1,67 +0,0 @@ -// CardIDDlg.cpp : implementation file -// - -#include "stdafx.h" -#include "Util7434.h" -#include "CardIDDlg.h" - - -// CCardIDDlg dialog - -IMPLEMENT_DYNAMIC(CCardIDDlg, CDialog) - -CCardIDDlg::CCardIDDlg(int nCardIdx, CWnd* pParent /*=NULL*/) - : CDialog(CCardIDDlg::IDD, pParent) -{ - m_nCardIdx = nCardIdx; -} - -CCardIDDlg::~CCardIDDlg() -{ -} - -void CCardIDDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); - DDX_Control(pDX, IDC_COMBO_CARDID, m_cbCardID); -} - - -BEGIN_MESSAGE_MAP(CCardIDDlg, CDialog) -// ON_CBN_SELCHANGE(IDC_COMBO_CARDID, &CCardIDDlg::OnCbnSelchangeComboCardid) -ON_BN_CLICKED(IDOK, &CCardIDDlg::OnBnClickedOk) -//ON_WM_CTLCOLOR() -END_MESSAGE_MAP() - - -// CCardIDDlg message handlers - - -void CCardIDDlg::OnBnClickedOk() -{ - // TODO: Add your control notification handler code here - -// UpdateData(TRUE); - m_nCardIdx = m_cbCardID.GetCurSel(); - - OnOK(); -} - -BOOL CCardIDDlg::OnInitDialog() -{ - CDialog::OnInitDialog(); - - // TODO: Add extra initialization here - m_cbCardID.SetCurSel( m_nCardIdx ); - - return TRUE; // return TRUE unless you set the focus to a control - // EXCEPTION: OCX Property Pages should return FALSE -} - -// the function to get the selected CardID -int CCardIDDlg::GetCardID(void) -{ - return m_nCardIdx; -} - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7434/Sdk7434R/CardIDDlg.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7434/Sdk7434R/CardIDDlg.h deleted file mode 100644 index 54628ea..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7434/Sdk7434R/CardIDDlg.h +++ /dev/null @@ -1,33 +0,0 @@ -#pragma once -#include "afxwin.h" - - -// CCardIDDlg dialog - -class CCardIDDlg : public CDialog -{ - DECLARE_DYNAMIC(CCardIDDlg) - -public: - CCardIDDlg(int nCardIdx, CWnd* pParent = NULL); // standard constructor - virtual ~CCardIDDlg(); - -// Dialog Data - enum { IDD = IDD_CARDID_DIALOG }; - -protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - - DECLARE_MESSAGE_MAP() -public: -// afx_msg void OnCbnSelchangeComboCardid(); - afx_msg void OnBnClickedOk(); - // the setting of CardID ComboBox - int m_nCardIdx; - virtual BOOL OnInitDialog(); - // the control of CardID ComboBox - CComboBox m_cbCardID; - // the function to get the selected CardID - int GetCardID(void); -// afx_msg HBRUSH OnCtlColor(CDC* pDC, CWnd* pWnd, UINT nCtlColor); -}; diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7434/Sdk7434R/ReadMe.txt b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7434/Sdk7434R/ReadMe.txt deleted file mode 100644 index d08cb1b..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7434/Sdk7434R/ReadMe.txt +++ /dev/null @@ -1,93 +0,0 @@ -================================================================================ - MICROSOFT FOUNDATION CLASS LIBRARY : Util7434 Project Overview -=============================================================================== - -The application wizard has created this Util7434 application for -you. This application not only demonstrates the basics of using the Microsoft -Foundation Classes but is also a starting point for writing your application. - -This file contains a summary of what you will find in each of the files that -make up your Util7434 application. - -Util7434.vcproj - This is the main project file for VC++ projects generated using an application wizard. - It contains information about the version of Visual C++ that generated the file, and - information about the platforms, configurations, and project features selected with the - application wizard. - -Util7434.h - This is the main header file for the application. It includes other - project specific headers (including Resource.h) and declares the - CUtil7434App application class. - -Util7434.cpp - This is the main application source file that contains the application - class CUtil7434App. - -Util7434.rc - This is a listing of all of the Microsoft Windows resources that the - program uses. It includes the icons, bitmaps, and cursors that are stored - in the RES subdirectory. This file can be directly edited in Microsoft - Visual C++. Your project resources are in 1033. - -res\Util7434.ico - This is an icon file, which is used as the application's icon. This - icon is included by the main resource file Util7434.rc. - -res\Util7434.rc2 - This file contains resources that are not edited by Microsoft - Visual C++. You should place all resources not editable by - the resource editor in this file. - - -///////////////////////////////////////////////////////////////////////////// - -The application wizard creates one dialog class: - -Util7434Dlg.h, Util7434Dlg.cpp - the dialog - These files contain your CUtil7434Dlg class. This class defines - the behavior of your application's main dialog. The dialog's template is - in Util7434.rc, which can be edited in Microsoft Visual C++. - - -///////////////////////////////////////////////////////////////////////////// - -Other Features: - -ActiveX Controls - The application includes support to use ActiveX controls. - -///////////////////////////////////////////////////////////////////////////// - -Other standard files: - -StdAfx.h, StdAfx.cpp - These files are used to build a precompiled header (PCH) file - named Util7434.pch and a precompiled types file named StdAfx.obj. - -Resource.h - This is the standard header file, which defines new resource IDs. - Microsoft Visual C++ reads and updates this file. - -Util7434.manifest - Application manifest files are used by Windows XP to describe an applications - dependency on specific versions of Side-by-Side assemblies. The loader uses this - information to load the appropriate assembly from the assembly cache or private - from the application. The Application manifest maybe included for redistribution - as an external .manifest file that is installed in the same folder as the application - executable or it may be included in the executable in the form of a resource. -///////////////////////////////////////////////////////////////////////////// - -Other notes: - -The application wizard uses "TODO:" to indicate parts of the source code you -should add to or customize. - -If your application uses MFC in a shared DLL, you will need -to redistribute the MFC DLLs. If your application is in a language -other than the operating system's locale, you will also have to -redistribute the corresponding localized resources MFC90XXX.DLL. -For more information on both of these topics, please see the section on -redistributing Visual C++ applications in MSDN documentation. - -///////////////////////////////////////////////////////////////////////////// diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7434/Sdk7434R/Util7234.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7434/Sdk7434R/Util7234.suo deleted file mode 100644 index 0e67c13..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7434/Sdk7434R/Util7234.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7434/Sdk7434R/Util7434.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7434/Sdk7434R/Util7434.cpp deleted file mode 100644 index c0aedb1..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7434/Sdk7434R/Util7434.cpp +++ /dev/null @@ -1,110 +0,0 @@ - -// Util7434.cpp : Defines the class behaviors for the application. -// - -#include "stdafx.h" -#include "Util7434.h" -#include "Util7434Dlg.h" -#include "CardIDDlg.h" - -#ifdef _DEBUG -#define new DEBUG_NEW -#endif - - -// CUtil7434App - -BEGIN_MESSAGE_MAP(CUtil7434App, CWinAppEx) - ON_COMMAND(ID_HELP, &CWinApp::OnHelp) -END_MESSAGE_MAP() - - -// CUtil7434App construction - -CUtil7434App::CUtil7434App() -{ - // TODO: add construction code here, - // Place all significant initialization in InitInstance -} - - -// The one and only CUtil7434App object - -CUtil7434App theApp; - - -// CUtil7434App initialization - -BOOL CUtil7434App::InitInstance() -{ - int nCardID = 0; - I16 hCard; - CString strTemp; - INT_PTR nResponse; - - // InitCommonControlsEx() is required on Windows XP if an application - // manifest specifies use of ComCtl32.dll version 6 or later to enable - // visual styles. Otherwise, any window creation will fail. - INITCOMMONCONTROLSEX InitCtrls; - InitCtrls.dwSize = sizeof(InitCtrls); - // Set this to include all the common control classes you want to use - // in your application. - InitCtrls.dwICC = ICC_WIN95_CLASSES; - InitCommonControlsEx(&InitCtrls); - - CWinAppEx::InitInstance(); - - AfxEnableControlContainer(); - - // Standard initialization - // If you are not using these features and wish to reduce the size - // of your final executable, you should remove from the following - // the specific initialization routines you do not need - // Change the registry key under which our settings are stored - // TODO: You should modify this string to be something appropriate - // such as the name of your company or organization - SetRegistryKey(_T("Local AppWizard-Generated Applications")); - - CCardIDDlg CardDlg( nCardID ); - - nResponse = CardDlg.DoModal(); - if (nResponse == IDOK) - { - nCardID = CardDlg.GetCardID(); - - if ((hCard=Register_Card(PCI_7434, nCardID)) < 0) - { - strTemp.Format( TEXT("Register_Card Error = %d"), hCard); - AfxMessageBox( strTemp ); - } - else - { - CUtil7434Dlg dlg(hCard); - m_pMainWnd = &dlg; - nResponse = dlg.DoModal(); - if (nResponse == IDOK) - { - // TODO: Place code here to handle when the dialog is - // dismissed with OK - } - else if (nResponse == IDCANCEL) - { - // TODO: Place code here to handle when the dialog is - // dismissed with Cancel - } - - if (hCard >= 0) Release_Card(hCard); - } - - } - else if (nResponse == IDCANCEL) - { - // TODO: Place code here to handle when the dialog is - // dismissed with Cancel - } - - - // Since the dialog has been closed, return FALSE so that we exit the - // application, rather than start the application's message pump. - return FALSE; -} diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7434/Sdk7434R/Util7434.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7434/Sdk7434R/Util7434.h deleted file mode 100644 index 9a8ab6e..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7434/Sdk7434R/Util7434.h +++ /dev/null @@ -1,32 +0,0 @@ - -// Util7434.h : main header file for the PROJECT_NAME application -// - -#pragma once - -#ifndef __AFXWIN_H__ - #error "include 'stdafx.h' before including this file for PCH" -#endif - -#include "resource.h" // main symbols - - -// CUtil7434App: -// See Util7434.cpp for the implementation of this class -// - -class CUtil7434App : public CWinAppEx -{ -public: - CUtil7434App(); - -// Overrides - public: - virtual BOOL InitInstance(); - -// Implementation - - DECLARE_MESSAGE_MAP() -}; - -extern CUtil7434App theApp; \ No newline at end of file diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7434/Sdk7434R/Util7434.rc b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7434/Sdk7434R/Util7434.rc deleted file mode 100644 index 920ff73..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7434/Sdk7434R/Util7434.rc +++ /dev/null @@ -1,335 +0,0 @@ -// Microsoft Visual C++ generated resource script. -// -#include "resource.h" - -#define APSTUDIO_READONLY_SYMBOLS -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 2 resource. -// -#ifndef APSTUDIO_INVOKED -#include "targetver.h" -#endif -#include "afxres.h" - -///////////////////////////////////////////////////////////////////////////// -#undef APSTUDIO_READONLY_SYMBOLS - -///////////////////////////////////////////////////////////////////////////// -// Chinese (Taiwan) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_CHT) -#ifdef _WIN32 -LANGUAGE LANG_CHINESE, SUBLANG_CHINESE_TRADITIONAL -#pragma code_page(950) -#endif //_WIN32 - -#ifdef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// TEXTINCLUDE -// - -1 TEXTINCLUDE -BEGIN - "resource.h\0" -END - -2 TEXTINCLUDE -BEGIN - "#ifndef APSTUDIO_INVOKED\r\n" - "#include ""targetver.h""\r\n" - "#endif\r\n" - "#include ""afxres.h""\r\n" - "\0" -END - -3 TEXTINCLUDE -BEGIN - "#define _AFX_NO_SPLITTER_RESOURCES\r\n" - "#define _AFX_NO_OLE_RESOURCES\r\n" - "#define _AFX_NO_TRACKER_RESOURCES\r\n" - "#define _AFX_NO_PROPERTY_RESOURCES\r\n" - "\r\n" - "#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)\r\n" - "LANGUAGE 9, 1\r\n" - "#pragma code_page(1252)\r\n" - "#include ""res\\Util7434.rc2"" // non-Microsoft Visual C++ edited resources\r\n" - "#include ""afxres.rc"" // Standard components\r\n" - "#endif\r\n" - "\0" -END - -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// Icon -// - -// Icon with lowest ID value placed first to ensure application icon -// remains consistent on all systems. -IDR_MAINFRAME ICON "res\\Util7434.ico" -#endif // Chinese (Taiwan) resources -///////////////////////////////////////////////////////////////////////////// - - -///////////////////////////////////////////////////////////////////////////// -// English (U.S.) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -#ifdef _WIN32 -LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US -#pragma code_page(1252) -#endif //_WIN32 - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog -// - -IDD_ABOUTBOX DIALOGEX 0, 0, 170, 62 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "About Util7434" -FONT 8, "MS Shell Dlg", 0, 0, 0x1 -BEGIN - ICON IDR_MAINFRAME,IDC_STATIC,14,14,21,20 - LTEXT "Util7434, Version 1.0",IDC_STATIC,42,14,114,8,SS_NOPREFIX - LTEXT "Copyright (C) 2010",IDC_STATIC,42,26,114,8 - DEFPUSHBUTTON "OK",IDOK,113,41,50,14,WS_GROUP -END - -IDD_UTIL7434_DIALOG DIALOGEX 0, 0, 314, 148 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU -EXSTYLE WS_EX_APPWINDOW -CAPTION "PCI-7434" -FONT 8, "MS Shell Dlg", 0, 0, 0x1 -BEGIN - CONTROL "",IDC_CHECK_DO00,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,289,110,12,12 - CONTROL "",IDC_CHECK_DO01,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,271,110,12,12 - CONTROL "",IDC_CHECK_DO02,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,253,110,12,12 - CONTROL "",IDC_CHECK_DO03,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,235,110,12,12 - CONTROL "",IDC_CHECK_DO04,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,217,110,12,12 - CONTROL "",IDC_CHECK_DO05,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,199,110,12,12 - CONTROL "",IDC_CHECK_DO06,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,181,110,12,12 - CONTROL "",IDC_CHECK_DO07,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,163,110,12,12 - CONTROL "",IDC_CHECK_DO08,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,145,110,12,12 - CONTROL "",IDC_CHECK_DO09,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,127,110,12,12 - CONTROL "",IDC_CHECK_DO10,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,109,110,12,12 - CONTROL "",IDC_CHECK_DO11,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,91,110,12,12 - CONTROL "",IDC_CHECK_DO12,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,73,110,12,12 - CONTROL "",IDC_CHECK_DO13,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,55,110,12,12 - CONTROL "",IDC_CHECK_DO14,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,37,110,12,12 - CONTROL "",IDC_CHECK_DO15,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,19,110,12,12 - LTEXT " 15 0",IDC_STATIC,13,121,289,13 - CONTROL "",IDC_CHECK_DO16,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,289,80,12,12 - CONTROL "",IDC_CHECK_DO17,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,271,80,12,12 - CONTROL "",IDC_CHECK_DO18,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,253,80,12,12 - CONTROL "",IDC_CHECK_DO19,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,235,80,12,12 - CONTROL "",IDC_CHECK_DO20,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,217,80,12,12 - CONTROL "",IDC_CHECK_DO21,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,199,80,12,12 - CONTROL "",IDC_CHECK_DO22,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,181,80,12,12 - CONTROL "",IDC_CHECK_DO23,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,163,80,12,12 - CONTROL "",IDC_CHECK_DO24,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,145,80,12,12 - CONTROL "",IDC_CHECK_DO25,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,127,80,12,12 - CONTROL "",IDC_CHECK_DO26,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,109,80,12,12 - CONTROL "",IDC_CHECK_DO27,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,91,80,12,12 - CONTROL "",IDC_CHECK_DO28,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,73,80,12,12 - CONTROL "",IDC_CHECK_DO29,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,55,80,12,12 - CONTROL "",IDC_CHECK_DO30,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,37,80,12,12 - CONTROL "",IDC_CHECK_DO31,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,19,80,12,12 - LTEXT " 31 16",IDC_STATIC,13,91,289,13 - GROUPBOX "Digital Output",IDC_STATIC,9,7,297,129 - CONTROL "",IDC_CHECK_DO32,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,289,50,12,12 - CONTROL "",IDC_CHECK_DO33,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,271,50,12,12 - CONTROL "",IDC_CHECK_DO34,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,253,50,12,12 - CONTROL "",IDC_CHECK_DO35,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,235,50,12,12 - CONTROL "",IDC_CHECK_DO36,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,217,50,12,12 - CONTROL "",IDC_CHECK_DO37,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,199,50,12,12 - CONTROL "",IDC_CHECK_DO38,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,181,50,12,12 - CONTROL "",IDC_CHECK_DO39,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,163,50,12,12 - CONTROL "",IDC_CHECK_DO40,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,145,50,12,12 - CONTROL "",IDC_CHECK_DO41,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,127,50,12,12 - CONTROL "",IDC_CHECK_DO42,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,109,50,12,12 - CONTROL "",IDC_CHECK_DO43,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,91,50,12,12 - CONTROL "",IDC_CHECK_DO44,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,73,50,12,12 - CONTROL "",IDC_CHECK_DO45,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,55,50,12,12 - CONTROL "",IDC_CHECK_DO46,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,37,50,12,12 - CONTROL "",IDC_CHECK_DO47,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,19,50,12,12 - CONTROL "",IDC_CHECK_DO48,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,289,20,12,12 - CONTROL "",IDC_CHECK_DO49,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,271,20,12,12 - CONTROL "",IDC_CHECK_DO50,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,253,20,12,12 - CONTROL "",IDC_CHECK_DO51,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,235,20,12,12 - CONTROL "",IDC_CHECK_DO52,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,217,20,12,12 - CONTROL "",IDC_CHECK_DO53,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,199,20,12,12 - CONTROL "",IDC_CHECK_DO54,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,181,20,12,12 - CONTROL "",IDC_CHECK_DO55,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,163,20,12,12 - CONTROL "",IDC_CHECK_DO56,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,145,20,12,12 - CONTROL "",IDC_CHECK_DO57,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,127,20,12,12 - CONTROL "",IDC_CHECK_DO58,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,109,20,12,12 - CONTROL "",IDC_CHECK_DO59,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,91,20,12,12 - CONTROL "",IDC_CHECK_DO60,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,73,20,12,12 - CONTROL "",IDC_CHECK_DO61,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,55,20,12,12 - CONTROL "",IDC_CHECK_DO62,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,37,20,12,12 - CONTROL "",IDC_CHECK_DO63,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,19,20,12,12 - LTEXT " 47 32",IDC_STATIC,13,62,289,13 - LTEXT " 63 48",IDC_STATIC,14,31,289,13 -END - -IDD_CARDID_DIALOG DIALOGEX 0, 0, 165, 88 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "Card ID" -FONT 8, "MS Shell Dlg", 400, 0, 0x1 -BEGIN - COMBOBOX IDC_COMBO_CARDID,75,17,71,126,CBS_DROPDOWN | WS_VSCROLL | WS_TABSTOP - LTEXT "Card Number",IDC_STATIC_01,21,18,46,12 - PUSHBUTTON "OK",IDOK,22,50,58,19 - PUSHBUTTON "CANCEL",IDCANCEL,86,50,58,19 -END - - -///////////////////////////////////////////////////////////////////////////// -// -// Version -// - -VS_VERSION_INFO VERSIONINFO - FILEVERSION 1,0,0,1 - PRODUCTVERSION 1,0,0,1 - FILEFLAGSMASK 0x3fL -#ifdef _DEBUG - FILEFLAGS 0x1L -#else - FILEFLAGS 0x0L -#endif - FILEOS 0x4L - FILETYPE 0x1L - FILESUBTYPE 0x0L -BEGIN - BLOCK "StringFileInfo" - BEGIN - BLOCK "040904e4" - BEGIN - VALUE "CompanyName", "TODO: " - VALUE "FileDescription", "TODO: " - VALUE "FileVersion", "1.0.0.1" - VALUE "InternalName", "Util7434.exe" - VALUE "LegalCopyright", "TODO: (c) . All rights reserved." - VALUE "OriginalFilename", "Util7434.exe" - VALUE "ProductName", "TODO: " - VALUE "ProductVersion", "1.0.0.1" - END - END - BLOCK "VarFileInfo" - BEGIN - VALUE "Translation", 0x409, 1252 - END -END - - -///////////////////////////////////////////////////////////////////////////// -// -// DESIGNINFO -// - -#ifdef APSTUDIO_INVOKED -GUIDELINES DESIGNINFO -BEGIN - IDD_ABOUTBOX, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 163 - TOPMARGIN, 7 - BOTTOMMARGIN, 55 - END - - IDD_CARDID_DIALOG, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 158 - TOPMARGIN, 7 - BOTTOMMARGIN, 81 - END -END -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog Info -// - -IDD_CARDID_DIALOG DLGINIT -BEGIN - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0030, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0031, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0032, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0033, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0034, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0035, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0036, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0037, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0038, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0039, - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3031, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3131, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3231, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3331, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3431, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3531, "\000" - 0 -END - - -///////////////////////////////////////////////////////////////////////////// -// -// String Table -// - -STRINGTABLE -BEGIN - IDS_ABOUTBOX "&About Util7434..." -END - -#endif // English (U.S.) resources -///////////////////////////////////////////////////////////////////////////// - - - -#ifndef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 3 resource. -// -#define _AFX_NO_SPLITTER_RESOURCES -#define _AFX_NO_OLE_RESOURCES -#define _AFX_NO_TRACKER_RESOURCES -#define _AFX_NO_PROPERTY_RESOURCES - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -LANGUAGE 9, 1 -#pragma code_page(1252) -#include "res\Util7434.rc2" // non-Microsoft Visual C++ edited resources -#include "afxres.rc" // Standard components -#endif - -///////////////////////////////////////////////////////////////////////////// -#endif // not APSTUDIO_INVOKED - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7434/Sdk7434R/Util7434.sln b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7434/Sdk7434R/Util7434.sln deleted file mode 100644 index 477cfd4..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7434/Sdk7434R/Util7434.sln +++ /dev/null @@ -1,20 +0,0 @@ - -Microsoft Visual Studio Solution File, Format Version 10.00 -# Visual Studio 2008 -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "Util7434", "Util7434.vcproj", "{698ED213-147E-4FB5-A7B6-ADD9B5B3939B}" -EndProject -Global - GlobalSection(SolutionConfigurationPlatforms) = preSolution - Debug|x64 = Debug|x64 - Release|x64 = Release|x64 - EndGlobalSection - GlobalSection(ProjectConfigurationPlatforms) = postSolution - {698ED213-147E-4FB5-A7B6-ADD9B5B3939B}.Debug|x64.ActiveCfg = Debug|x64 - {698ED213-147E-4FB5-A7B6-ADD9B5B3939B}.Debug|x64.Build.0 = Debug|x64 - {698ED213-147E-4FB5-A7B6-ADD9B5B3939B}.Release|x64.ActiveCfg = Release|x64 - {698ED213-147E-4FB5-A7B6-ADD9B5B3939B}.Release|x64.Build.0 = Release|x64 - EndGlobalSection - GlobalSection(SolutionProperties) = preSolution - HideSolutionNode = FALSE - EndGlobalSection -EndGlobal diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7434/Sdk7434R/Util7434.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7434/Sdk7434R/Util7434.suo deleted file mode 100644 index 31218d2..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7434/Sdk7434R/Util7434.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7434/Sdk7434R/Util7434.vcproj b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7434/Sdk7434R/Util7434.vcproj deleted file mode 100644 index 8cd3057..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7434/Sdk7434R/Util7434.vcproj +++ /dev/null @@ -1,282 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7434/Sdk7434R/Util7434Dlg.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7434/Sdk7434R/Util7434Dlg.cpp deleted file mode 100644 index ba69934..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7434/Sdk7434R/Util7434Dlg.cpp +++ /dev/null @@ -1,1478 +0,0 @@ - -// Util7434Dlg.cpp : implementation file -// - -#include "stdafx.h" -#include "Util7434.h" -#include "Util7434Dlg.h" - -#ifdef _DEBUG -#define new DEBUG_NEW -#endif - - -// CAboutDlg dialog used for App About - -class CAboutDlg : public CDialog -{ -public: - CAboutDlg(); - -// Dialog Data - enum { IDD = IDD_ABOUTBOX }; - - protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - -// Implementation -protected: - DECLARE_MESSAGE_MAP() -}; - -CAboutDlg::CAboutDlg() : CDialog(CAboutDlg::IDD) -{ -} - -void CAboutDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); -} - -BEGIN_MESSAGE_MAP(CAboutDlg, CDialog) -END_MESSAGE_MAP() - - -// CUtil7434Dlg dialog - - - - -CUtil7434Dlg::CUtil7434Dlg(I16 hCard, CWnd* pParent /*=NULL*/) - : CDialog(CUtil7434Dlg::IDD, pParent) -{ - m_hIcon = AfxGetApp()->LoadIcon(IDR_MAINFRAME); - - m_hCard = hCard; - m_dwOutDataLow = m_dwOutDataHigh = 0x00000000; -} - -void CUtil7434Dlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); -} - -BEGIN_MESSAGE_MAP(CUtil7434Dlg, CDialog) - ON_WM_SYSCOMMAND() - ON_WM_PAINT() - ON_WM_QUERYDRAGICON() - //}}AFX_MSG_MAP - ON_BN_CLICKED(IDC_CHECK_DO00, &CUtil7434Dlg::OnOut00) - ON_BN_CLICKED(IDC_CHECK_DO01, &CUtil7434Dlg::OnOut01) - ON_BN_CLICKED(IDC_CHECK_DO02, &CUtil7434Dlg::OnOut02) - ON_BN_CLICKED(IDC_CHECK_DO03, &CUtil7434Dlg::OnOut03) - ON_BN_CLICKED(IDC_CHECK_DO04, &CUtil7434Dlg::OnOut04) - ON_BN_CLICKED(IDC_CHECK_DO05, &CUtil7434Dlg::OnOut05) - ON_BN_CLICKED(IDC_CHECK_DO06, &CUtil7434Dlg::OnOut06) - ON_BN_CLICKED(IDC_CHECK_DO07, &CUtil7434Dlg::OnOut07) - ON_BN_CLICKED(IDC_CHECK_DO08, &CUtil7434Dlg::OnOut08) - ON_BN_CLICKED(IDC_CHECK_DO09, &CUtil7434Dlg::OnOut09) - ON_BN_CLICKED(IDC_CHECK_DO10, &CUtil7434Dlg::OnOut10) - ON_BN_CLICKED(IDC_CHECK_DO11, &CUtil7434Dlg::OnOut11) - ON_BN_CLICKED(IDC_CHECK_DO12, &CUtil7434Dlg::OnOut12) - ON_BN_CLICKED(IDC_CHECK_DO13, &CUtil7434Dlg::OnOut13) - ON_BN_CLICKED(IDC_CHECK_DO14, &CUtil7434Dlg::OnOut14) - ON_BN_CLICKED(IDC_CHECK_DO15, &CUtil7434Dlg::OnOut15) - ON_BN_CLICKED(IDC_CHECK_DO16, &CUtil7434Dlg::OnOut16) - ON_BN_CLICKED(IDC_CHECK_DO17, &CUtil7434Dlg::OnOut17) - ON_BN_CLICKED(IDC_CHECK_DO18, &CUtil7434Dlg::OnOut18) - ON_BN_CLICKED(IDC_CHECK_DO19, &CUtil7434Dlg::OnOut19) - ON_BN_CLICKED(IDC_CHECK_DO20, &CUtil7434Dlg::OnOut20) - ON_BN_CLICKED(IDC_CHECK_DO21, &CUtil7434Dlg::OnOut21) - ON_BN_CLICKED(IDC_CHECK_DO22, &CUtil7434Dlg::OnOut22) - ON_BN_CLICKED(IDC_CHECK_DO23, &CUtil7434Dlg::OnOut23) - ON_BN_CLICKED(IDC_CHECK_DO24, &CUtil7434Dlg::OnOut24) - ON_BN_CLICKED(IDC_CHECK_DO25, &CUtil7434Dlg::OnOut25) - ON_BN_CLICKED(IDC_CHECK_DO26, &CUtil7434Dlg::OnOut26) - ON_BN_CLICKED(IDC_CHECK_DO27, &CUtil7434Dlg::OnOut27) - ON_BN_CLICKED(IDC_CHECK_DO28, &CUtil7434Dlg::OnOut28) - ON_BN_CLICKED(IDC_CHECK_DO29, &CUtil7434Dlg::OnOut29) - ON_BN_CLICKED(IDC_CHECK_DO30, &CUtil7434Dlg::OnOut30) - ON_BN_CLICKED(IDC_CHECK_DO31, &CUtil7434Dlg::OnOut31) - ON_BN_CLICKED(IDC_CHECK_DO32, &CUtil7434Dlg::OnOut32) - ON_BN_CLICKED(IDC_CHECK_DO33, &CUtil7434Dlg::OnOut33) - ON_BN_CLICKED(IDC_CHECK_DO34, &CUtil7434Dlg::OnOut34) - ON_BN_CLICKED(IDC_CHECK_DO35, &CUtil7434Dlg::OnOut35) - ON_BN_CLICKED(IDC_CHECK_DO36, &CUtil7434Dlg::OnOut36) - ON_BN_CLICKED(IDC_CHECK_DO37, &CUtil7434Dlg::OnOut37) - ON_BN_CLICKED(IDC_CHECK_DO38, &CUtil7434Dlg::OnOut38) - ON_BN_CLICKED(IDC_CHECK_DO39, &CUtil7434Dlg::OnOut39) - ON_BN_CLICKED(IDC_CHECK_DO40, &CUtil7434Dlg::OnOut40) - ON_BN_CLICKED(IDC_CHECK_DO41, &CUtil7434Dlg::OnOut41) - ON_BN_CLICKED(IDC_CHECK_DO42, &CUtil7434Dlg::OnOut42) - ON_BN_CLICKED(IDC_CHECK_DO43, &CUtil7434Dlg::OnOut43) - ON_BN_CLICKED(IDC_CHECK_DO44, &CUtil7434Dlg::OnOut44) - ON_BN_CLICKED(IDC_CHECK_DO45, &CUtil7434Dlg::OnOut45) - ON_BN_CLICKED(IDC_CHECK_DO46, &CUtil7434Dlg::OnOut46) - ON_BN_CLICKED(IDC_CHECK_DO47, &CUtil7434Dlg::OnOut47) - ON_BN_CLICKED(IDC_CHECK_DO48, &CUtil7434Dlg::OnOut48) - ON_BN_CLICKED(IDC_CHECK_DO49, &CUtil7434Dlg::OnOut49) - ON_BN_CLICKED(IDC_CHECK_DO50, &CUtil7434Dlg::OnOut50) - ON_BN_CLICKED(IDC_CHECK_DO51, &CUtil7434Dlg::OnOut51) - ON_BN_CLICKED(IDC_CHECK_DO52, &CUtil7434Dlg::OnOut52) - ON_BN_CLICKED(IDC_CHECK_DO53, &CUtil7434Dlg::OnOut53) - ON_BN_CLICKED(IDC_CHECK_DO54, &CUtil7434Dlg::OnOut54) - ON_BN_CLICKED(IDC_CHECK_DO55, &CUtil7434Dlg::OnOut55) - ON_BN_CLICKED(IDC_CHECK_DO56, &CUtil7434Dlg::OnOut56) - ON_BN_CLICKED(IDC_CHECK_DO57, &CUtil7434Dlg::OnOut57) - ON_BN_CLICKED(IDC_CHECK_DO58, &CUtil7434Dlg::OnOut58) - ON_BN_CLICKED(IDC_CHECK_DO59, &CUtil7434Dlg::OnOut59) - ON_BN_CLICKED(IDC_CHECK_DO60, &CUtil7434Dlg::OnOut60) - ON_BN_CLICKED(IDC_CHECK_DO61, &CUtil7434Dlg::OnOut61) - ON_BN_CLICKED(IDC_CHECK_DO62, &CUtil7434Dlg::OnOut62) - ON_BN_CLICKED(IDC_CHECK_DO63, &CUtil7434Dlg::OnOut63) - -END_MESSAGE_MAP() - - -// CUtil7434Dlg message handlers - -BOOL CUtil7434Dlg::OnInitDialog() -{ - CDialog::OnInitDialog(); - - // Add "About..." menu item to system menu. - - // IDM_ABOUTBOX must be in the system command range. - ASSERT((IDM_ABOUTBOX & 0xFFF0) == IDM_ABOUTBOX); - ASSERT(IDM_ABOUTBOX < 0xF000); - - CMenu* pSysMenu = GetSystemMenu(FALSE); - if (pSysMenu != NULL) - { - BOOL bNameValid; - CString strAboutMenu; - bNameValid = strAboutMenu.LoadString(IDS_ABOUTBOX); - ASSERT(bNameValid); - if (!strAboutMenu.IsEmpty()) - { - pSysMenu->AppendMenu(MF_SEPARATOR); - pSysMenu->AppendMenu(MF_STRING, IDM_ABOUTBOX, strAboutMenu); - } - } - - // Set the icon for this dialog. The framework does this automatically - // when the application's main window is not a dialog - SetIcon(m_hIcon, TRUE); // Set big icon - SetIcon(m_hIcon, FALSE); // Set small icon - - // TODO: Add extra initialization here - DO_WritePort( m_hCard, PORT_DO_LOW, m_dwOutDataLow ); - DO_WritePort( m_hCard, PORT_DO_HIGH, m_dwOutDataHigh ); - - return TRUE; // return TRUE unless you set the focus to a control -} - -void CUtil7434Dlg::OnSysCommand(UINT nID, LPARAM lParam) -{ - if ((nID & 0xFFF0) == IDM_ABOUTBOX) - { - CAboutDlg dlgAbout; - dlgAbout.DoModal(); - } - else - { - CDialog::OnSysCommand(nID, lParam); - } -} - -// If you add a minimize button to your dialog, you will need the code below -// to draw the icon. For MFC applications using the document/view model, -// this is automatically done for you by the framework. - -void CUtil7434Dlg::OnPaint() -{ - if (IsIconic()) - { - CPaintDC dc(this); // device context for painting - - SendMessage(WM_ICONERASEBKGND, reinterpret_cast(dc.GetSafeHdc()), 0); - - // Center icon in client rectangle - int cxIcon = GetSystemMetrics(SM_CXICON); - int cyIcon = GetSystemMetrics(SM_CYICON); - CRect rect; - GetClientRect(&rect); - int x = (rect.Width() - cxIcon + 1) / 2; - int y = (rect.Height() - cyIcon + 1) / 2; - - // Draw the icon - dc.DrawIcon(x, y, m_hIcon); - } - else - { - CDialog::OnPaint(); - } -} - -// The system calls this function to obtain the cursor to display while the user drags -// the minimized window. -HCURSOR CUtil7434Dlg::OnQueryDragIcon() -{ - return static_cast(m_hIcon); -} - -void CUtil7434Dlg::OnOut00() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_DO00 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_dwOutDataLow |= 0x01; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_dwOutDataLow &= (~0x01); - } - - DO_WritePort( m_hCard, PORT_DO_LOW, m_dwOutDataLow ); - DO_WritePort( m_hCard, P7434R_DO_LED, m_dwOutDataLow ); - -} - -void CUtil7434Dlg::OnOut01() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_DO01 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_dwOutDataLow |= 0x02; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_dwOutDataLow &= (~0x02); - } - - DO_WritePort( m_hCard, PORT_DO_LOW, m_dwOutDataLow ); - DO_WritePort( m_hCard, P7434R_DO_LED, m_dwOutDataLow ); -} - -void CUtil7434Dlg::OnOut02() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_DO02 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_dwOutDataLow |= 0x04; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_dwOutDataLow &= (~0x04); - } - - DO_WritePort( m_hCard, PORT_DO_LOW, m_dwOutDataLow ); - DO_WritePort( m_hCard, P7434R_DO_LED, m_dwOutDataLow ); -} - -void CUtil7434Dlg::OnOut03() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_DO03 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_dwOutDataLow |= 0x08; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_dwOutDataLow &= (~0x08); - } - - DO_WritePort( m_hCard, PORT_DO_LOW, m_dwOutDataLow ); - DO_WritePort( m_hCard, P7434R_DO_LED, m_dwOutDataLow ); -} - -void CUtil7434Dlg::OnOut04() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_DO04 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_dwOutDataLow |= 0x10; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_dwOutDataLow &= (~0x10); - } - - DO_WritePort( m_hCard, PORT_DO_LOW, m_dwOutDataLow ); - DO_WritePort( m_hCard, P7434R_DO_LED, m_dwOutDataLow ); -} - -void CUtil7434Dlg::OnOut05() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_DO05 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_dwOutDataLow |= 0x20; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_dwOutDataLow &= (~0x20); - } - - DO_WritePort( m_hCard, PORT_DO_LOW, m_dwOutDataLow ); - DO_WritePort( m_hCard, P7434R_DO_LED, m_dwOutDataLow ); -} - -void CUtil7434Dlg::OnOut06() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_DO06 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_dwOutDataLow |= 0x40; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_dwOutDataLow &= (~0x40); - } - - DO_WritePort( m_hCard, PORT_DO_LOW, m_dwOutDataLow ); - DO_WritePort( m_hCard, P7434R_DO_LED, m_dwOutDataLow ); -} - -void CUtil7434Dlg::OnOut07() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_DO07 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_dwOutDataLow |= 0x80; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_dwOutDataLow &= (~0x80); - } - - DO_WritePort( m_hCard, PORT_DO_LOW, m_dwOutDataLow ); - DO_WritePort( m_hCard, P7434R_DO_LED, m_dwOutDataLow ); -} - -void CUtil7434Dlg::OnOut08() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_DO08 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_dwOutDataLow |= 0x100; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_dwOutDataLow &= (~0x100); - } - - DO_WritePort( m_hCard, PORT_DO_LOW, m_dwOutDataLow ); - DO_WritePort( m_hCard, P7434R_DO_LED, m_dwOutDataLow ); -} - -void CUtil7434Dlg::OnOut09() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_DO09 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_dwOutDataLow |= 0x200; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_dwOutDataLow &= (~0x200); - } - - DO_WritePort( m_hCard, PORT_DO_LOW, m_dwOutDataLow ); - DO_WritePort( m_hCard, P7434R_DO_LED, m_dwOutDataLow ); -} - -void CUtil7434Dlg::OnOut10() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_DO10 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_dwOutDataLow |= 0x400; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_dwOutDataLow &= (~0x400); - } - - DO_WritePort( m_hCard, PORT_DO_LOW, m_dwOutDataLow ); - DO_WritePort( m_hCard, P7434R_DO_LED, m_dwOutDataLow ); -} - -void CUtil7434Dlg::OnOut11() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_DO11 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_dwOutDataLow |= 0x800; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_dwOutDataLow &= (~0x800); - } - - DO_WritePort( m_hCard, PORT_DO_LOW, m_dwOutDataLow ); - DO_WritePort( m_hCard, P7434R_DO_LED, m_dwOutDataLow ); -} - -void CUtil7434Dlg::OnOut12() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_DO12 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_dwOutDataLow |= 0x1000; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_dwOutDataLow &= (~0x1000); - } - - DO_WritePort( m_hCard, PORT_DO_LOW, m_dwOutDataLow ); - DO_WritePort( m_hCard, P7434R_DO_LED, m_dwOutDataLow ); -} - -void CUtil7434Dlg::OnOut13() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_DO13 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_dwOutDataLow |= 0x2000; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_dwOutDataLow &= (~0x2000); - } - - DO_WritePort( m_hCard, PORT_DO_LOW, m_dwOutDataLow ); - DO_WritePort( m_hCard, P7434R_DO_LED, m_dwOutDataLow ); -} - -void CUtil7434Dlg::OnOut14() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_DO14 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_dwOutDataLow |= 0x4000; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_dwOutDataLow &= (~0x4000); - } - - DO_WritePort( m_hCard, PORT_DO_LOW, m_dwOutDataLow ); - DO_WritePort( m_hCard, P7434R_DO_LED, m_dwOutDataLow ); -} - -void CUtil7434Dlg::OnOut15() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_DO15 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_dwOutDataLow |= 0x8000; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_dwOutDataLow &= (~0x8000); - } - - DO_WritePort( m_hCard, PORT_DO_LOW, m_dwOutDataLow ); - DO_WritePort( m_hCard, P7434R_DO_LED, m_dwOutDataLow ); -} - - -void CUtil7434Dlg::OnOut16() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_DO16 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_dwOutDataLow |= 0x10000; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_dwOutDataLow &= (~0x10000); - } - - DO_WritePort( m_hCard, PORT_DO_LOW, m_dwOutDataLow ); - DO_WritePort( m_hCard, P7434R_DO_LED, m_dwOutDataLow ); -} - -void CUtil7434Dlg::OnOut17() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_DO17 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_dwOutDataLow |= 0x20000; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_dwOutDataLow &= (~0x20000); - } - - DO_WritePort( m_hCard, PORT_DO_LOW, m_dwOutDataLow ); - DO_WritePort( m_hCard, P7434R_DO_LED, m_dwOutDataLow ); -} - -void CUtil7434Dlg::OnOut18() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_DO18 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_dwOutDataLow |= 0x40000; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_dwOutDataLow &= (~0x40000); - } - - DO_WritePort( m_hCard, PORT_DO_LOW, m_dwOutDataLow ); - DO_WritePort( m_hCard, P7434R_DO_LED, m_dwOutDataLow ); -} - -void CUtil7434Dlg::OnOut19() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_DO19 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_dwOutDataLow |= 0x80000; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_dwOutDataLow &= (~0x80000); - } - - DO_WritePort( m_hCard, PORT_DO_LOW, m_dwOutDataLow ); - DO_WritePort( m_hCard, P7434R_DO_LED, m_dwOutDataLow ); -} - - -void CUtil7434Dlg::OnOut20() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_DO20 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_dwOutDataLow |= 0x100000; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_dwOutDataLow &= (~0x100000); - } - - DO_WritePort( m_hCard, PORT_DO_LOW, m_dwOutDataLow ); - DO_WritePort( m_hCard, P7434R_DO_LED, m_dwOutDataLow ); -} - -void CUtil7434Dlg::OnOut21() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_DO21 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_dwOutDataLow |= 0x200000; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_dwOutDataLow &= (~0x200000); - } - - DO_WritePort( m_hCard, PORT_DO_LOW, m_dwOutDataLow ); - DO_WritePort( m_hCard, P7434R_DO_LED, m_dwOutDataLow ); -} - -void CUtil7434Dlg::OnOut22() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_DO22 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_dwOutDataLow |= 0x400000; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_dwOutDataLow &= (~0x400000); - } - - DO_WritePort( m_hCard, PORT_DO_LOW, m_dwOutDataLow ); - DO_WritePort( m_hCard, P7434R_DO_LED, m_dwOutDataLow ); -} - -void CUtil7434Dlg::OnOut23() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_DO23 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_dwOutDataLow |= 0x800000; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_dwOutDataLow &= (~0x80000); - } - - DO_WritePort( m_hCard, PORT_DO_LOW, m_dwOutDataLow ); - DO_WritePort( m_hCard, P7434R_DO_LED, m_dwOutDataLow ); -} - -void CUtil7434Dlg::OnOut24() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_DO24 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_dwOutDataLow |= 0x1000000; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_dwOutDataLow &= (~0x1000000); - } - - DO_WritePort( m_hCard, PORT_DO_LOW, m_dwOutDataLow ); - DO_WritePort( m_hCard, P7434R_DO_LED, m_dwOutDataLow ); -} - -void CUtil7434Dlg::OnOut25() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_DO25 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_dwOutDataLow |= 0x2000000; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_dwOutDataLow &= (~0x2000000); - } - - DO_WritePort( m_hCard, PORT_DO_LOW, m_dwOutDataLow ); - DO_WritePort( m_hCard, P7434R_DO_LED, m_dwOutDataLow ); -} - - -void CUtil7434Dlg::OnOut26() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_DO26 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_dwOutDataLow |= 0x4000000; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_dwOutDataLow &= (~0x4000000); - } - - DO_WritePort( m_hCard, PORT_DO_LOW, m_dwOutDataLow ); - DO_WritePort( m_hCard, P7434R_DO_LED, m_dwOutDataLow ); -} - -void CUtil7434Dlg::OnOut27() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_DO27 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_dwOutDataLow |= 0x8000000; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_dwOutDataLow &= (~0x8000000); - } - - DO_WritePort( m_hCard, PORT_DO_LOW, m_dwOutDataLow ); - DO_WritePort( m_hCard, P7434R_DO_LED, m_dwOutDataLow ); -} - -void CUtil7434Dlg::OnOut28() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_DO28 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_dwOutDataLow |= 0x10000000; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_dwOutDataLow &= (~0x10000000); - } - - DO_WritePort( m_hCard, PORT_DO_LOW, m_dwOutDataLow ); - DO_WritePort( m_hCard, P7434R_DO_LED, m_dwOutDataLow ); -} - -void CUtil7434Dlg::OnOut29() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_DO29 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_dwOutDataLow |= 0x20000000; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_dwOutDataLow &= (~0x20000000); - } - - DO_WritePort( m_hCard, PORT_DO_LOW, m_dwOutDataLow ); - DO_WritePort( m_hCard, P7434R_DO_LED, m_dwOutDataLow ); -} - -void CUtil7434Dlg::OnOut30() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_DO30 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_dwOutDataLow |= 0x40000000; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_dwOutDataLow &= (~0x40000000); - } - - DO_WritePort( m_hCard, PORT_DO_LOW, m_dwOutDataLow ); - DO_WritePort( m_hCard, P7434R_DO_LED, m_dwOutDataLow ); -} - -void CUtil7434Dlg::OnOut31() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_DO31 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_dwOutDataLow |= 0x80000000; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_dwOutDataLow &= (~0x80000000); - } - - DO_WritePort( m_hCard, PORT_DO_LOW, m_dwOutDataLow ); - DO_WritePort( m_hCard, P7434R_DO_LED, m_dwOutDataLow ); -} - -void CUtil7434Dlg::OnOut32() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_DO00 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_dwOutDataHigh |= 0x01; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_dwOutDataHigh &= (~0x01); - } - - DO_WritePort( m_hCard, PORT_DO_HIGH, m_dwOutDataHigh ); - -} - -void CUtil7434Dlg::OnOut33() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_DO01 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_dwOutDataHigh |= 0x02; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_dwOutDataHigh &= (~0x02); - } - - DO_WritePort( m_hCard, PORT_DO_HIGH, m_dwOutDataHigh ); -} - -void CUtil7434Dlg::OnOut34() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_DO02 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_dwOutDataHigh |= 0x04; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_dwOutDataHigh &= (~0x04); - } - - DO_WritePort( m_hCard, PORT_DO_HIGH, m_dwOutDataHigh ); -} - -void CUtil7434Dlg::OnOut35() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_DO03 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_dwOutDataHigh |= 0x08; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_dwOutDataHigh &= (~0x08); - } - - DO_WritePort( m_hCard, PORT_DO_HIGH, m_dwOutDataHigh ); -} - -void CUtil7434Dlg::OnOut36() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_DO04 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_dwOutDataHigh |= 0x10; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_dwOutDataHigh &= (~0x10); - } - - DO_WritePort( m_hCard, PORT_DO_HIGH, m_dwOutDataHigh ); -} - -void CUtil7434Dlg::OnOut37() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_DO05 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_dwOutDataHigh |= 0x20; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_dwOutDataHigh &= (~0x20); - } - - DO_WritePort( m_hCard, PORT_DO_HIGH, m_dwOutDataHigh ); -} - -void CUtil7434Dlg::OnOut38() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_DO06 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_dwOutDataHigh |= 0x40; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_dwOutDataHigh &= (~0x40); - } - - DO_WritePort( m_hCard, PORT_DO_HIGH, m_dwOutDataHigh ); -} - -void CUtil7434Dlg::OnOut39() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_DO07 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_dwOutDataHigh |= 0x80; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_dwOutDataHigh &= (~0x80); - } - - DO_WritePort( m_hCard, PORT_DO_HIGH, m_dwOutDataHigh ); -} - -void CUtil7434Dlg::OnOut40() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_DO08 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_dwOutDataHigh |= 0x100; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_dwOutDataHigh &= (~0x100); - } - - DO_WritePort( m_hCard, PORT_DO_HIGH, m_dwOutDataHigh ); -} - -void CUtil7434Dlg::OnOut41() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_DO09 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_dwOutDataHigh |= 0x200; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_dwOutDataHigh &= (~0x200); - } - - DO_WritePort( m_hCard, PORT_DO_HIGH, m_dwOutDataHigh ); -} - -void CUtil7434Dlg::OnOut42() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_DO10 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_dwOutDataHigh |= 0x400; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_dwOutDataHigh &= (~0x400); - } - - DO_WritePort( m_hCard, PORT_DO_HIGH, m_dwOutDataHigh ); -} - -void CUtil7434Dlg::OnOut43() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_DO11 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_dwOutDataHigh |= 0x800; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_dwOutDataHigh &= (~0x800); - } - - DO_WritePort( m_hCard, PORT_DO_HIGH, m_dwOutDataHigh ); -} - -void CUtil7434Dlg::OnOut44() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_DO12 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_dwOutDataHigh |= 0x1000; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_dwOutDataHigh &= (~0x1000); - } - - DO_WritePort( m_hCard, PORT_DO_HIGH, m_dwOutDataHigh ); -} - -void CUtil7434Dlg::OnOut45() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_DO13 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_dwOutDataHigh |= 0x2000; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_dwOutDataHigh &= (~0x2000); - } - - DO_WritePort( m_hCard, PORT_DO_HIGH, m_dwOutDataHigh ); -} - -void CUtil7434Dlg::OnOut46() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_DO14 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_dwOutDataHigh |= 0x4000; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_dwOutDataHigh &= (~0x4000); - } - - DO_WritePort( m_hCard, PORT_DO_HIGH, m_dwOutDataHigh ); -} - -void CUtil7434Dlg::OnOut47() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_DO15 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_dwOutDataHigh |= 0x8000; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_dwOutDataHigh &= (~0x8000); - } - - DO_WritePort( m_hCard, PORT_DO_HIGH, m_dwOutDataHigh ); -} - - -void CUtil7434Dlg::OnOut48() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_DO16 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_dwOutDataHigh |= 0x10000; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_dwOutDataHigh &= (~0x10000); - } - - DO_WritePort( m_hCard, PORT_DO_HIGH, m_dwOutDataHigh ); -} - -void CUtil7434Dlg::OnOut49() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_DO17 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_dwOutDataHigh |= 0x20000; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_dwOutDataHigh &= (~0x20000); - } - - DO_WritePort( m_hCard, PORT_DO_HIGH, m_dwOutDataHigh ); -} - -void CUtil7434Dlg::OnOut50() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_DO18 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_dwOutDataHigh |= 0x40000; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_dwOutDataHigh &= (~0x40000); - } - - DO_WritePort( m_hCard, PORT_DO_HIGH, m_dwOutDataHigh ); -} - -void CUtil7434Dlg::OnOut51() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_DO19 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_dwOutDataHigh |= 0x80000; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_dwOutDataHigh &= (~0x80000); - } - - DO_WritePort( m_hCard, PORT_DO_HIGH, m_dwOutDataHigh ); -} - - -void CUtil7434Dlg::OnOut52() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_DO20 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_dwOutDataHigh |= 0x100000; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_dwOutDataHigh &= (~0x100000); - } - - DO_WritePort( m_hCard, PORT_DO_HIGH, m_dwOutDataHigh ); -} - -void CUtil7434Dlg::OnOut53() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_DO21 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_dwOutDataHigh |= 0x200000; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_dwOutDataHigh &= (~0x200000); - } - - DO_WritePort( m_hCard, PORT_DO_HIGH, m_dwOutDataHigh ); -} - -void CUtil7434Dlg::OnOut54() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_DO22 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_dwOutDataHigh |= 0x400000; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_dwOutDataHigh &= (~0x400000); - } - - DO_WritePort( m_hCard, PORT_DO_HIGH, m_dwOutDataHigh ); -} - -void CUtil7434Dlg::OnOut55() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_DO23 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_dwOutDataHigh |= 0x800000; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_dwOutDataHigh &= (~0x80000); - } - - DO_WritePort( m_hCard, PORT_DO_HIGH, m_dwOutDataHigh ); -} - -void CUtil7434Dlg::OnOut56() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_DO24 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_dwOutDataHigh |= 0x1000000; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_dwOutDataHigh &= (~0x1000000); - } - - DO_WritePort( m_hCard, PORT_DO_HIGH, m_dwOutDataHigh ); -} - -void CUtil7434Dlg::OnOut57() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_DO25 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_dwOutDataHigh |= 0x2000000; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_dwOutDataHigh &= (~0x2000000); - } - - DO_WritePort( m_hCard, PORT_DO_HIGH, m_dwOutDataHigh ); -} - - -void CUtil7434Dlg::OnOut58() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_DO26 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_dwOutDataHigh |= 0x4000000; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_dwOutDataHigh &= (~0x4000000); - } - - DO_WritePort( m_hCard, PORT_DO_HIGH, m_dwOutDataHigh ); -} - -void CUtil7434Dlg::OnOut59() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_DO27 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_dwOutDataHigh |= 0x8000000; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_dwOutDataHigh &= (~0x8000000); - } - - DO_WritePort( m_hCard, PORT_DO_HIGH, m_dwOutDataHigh ); -} - -void CUtil7434Dlg::OnOut60() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_DO28 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_dwOutDataHigh |= 0x10000000; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_dwOutDataHigh &= (~0x10000000); - } - - DO_WritePort( m_hCard, PORT_DO_HIGH, m_dwOutDataHigh ); -} - -void CUtil7434Dlg::OnOut61() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_DO29 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_dwOutDataHigh |= 0x20000000; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_dwOutDataHigh &= (~0x20000000); - } - - DO_WritePort( m_hCard, PORT_DO_HIGH, m_dwOutDataHigh ); -} - -void CUtil7434Dlg::OnOut62() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_DO30 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_dwOutDataHigh |= 0x40000000; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_dwOutDataHigh &= (~0x40000000); - } - - DO_WritePort( m_hCard, PORT_DO_HIGH, m_dwOutDataHigh ); -} - -void CUtil7434Dlg::OnOut63() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_DO31 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_dwOutDataHigh |= 0x80000000; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_dwOutDataHigh &= (~0x80000000); - } - - DO_WritePort( m_hCard, PORT_DO_HIGH, m_dwOutDataHigh ); -} diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7434/Sdk7434R/Util7434Dlg.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7434/Sdk7434R/Util7434Dlg.h deleted file mode 100644 index 2425f36..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7434/Sdk7434R/Util7434Dlg.h +++ /dev/null @@ -1,103 +0,0 @@ - -// Util7434Dlg.h : header file -// - -#include "Dask64.h" - -#pragma once - - -// CUtil7434Dlg dialog -class CUtil7434Dlg : public CDialog -{ -// Construction -public: - CUtil7434Dlg(I16 hCard, CWnd* pParent = NULL); // standard constructor - -// Dialog Data - enum { IDD = IDD_UTIL7434_DIALOG }; - - protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - - -// Implementation -protected: - HICON m_hIcon; - I16 m_hCard; - U32 m_dwOutDataLow; - U32 m_dwOutDataHigh; - - // Generated message map functions - virtual BOOL OnInitDialog(); - afx_msg void OnSysCommand(UINT nID, LPARAM lParam); - afx_msg void OnPaint(); - afx_msg HCURSOR OnQueryDragIcon(); - DECLARE_MESSAGE_MAP() - -public: - afx_msg void OnOut00(); - afx_msg void OnOut01(); - afx_msg void OnOut02(); - afx_msg void OnOut03(); - afx_msg void OnOut04(); - afx_msg void OnOut05(); - afx_msg void OnOut06(); - afx_msg void OnOut07(); - afx_msg void OnOut08(); - afx_msg void OnOut09(); - afx_msg void OnOut10(); - afx_msg void OnOut11(); - afx_msg void OnOut12(); - afx_msg void OnOut13(); - afx_msg void OnOut14(); - afx_msg void OnOut15(); - afx_msg void OnOut16(); - afx_msg void OnOut17(); - afx_msg void OnOut18(); - afx_msg void OnOut19(); - afx_msg void OnOut20(); - afx_msg void OnOut21(); - afx_msg void OnOut22(); - afx_msg void OnOut23(); - afx_msg void OnOut24(); - afx_msg void OnOut25(); - afx_msg void OnOut26(); - afx_msg void OnOut27(); - afx_msg void OnOut28(); - afx_msg void OnOut29(); - afx_msg void OnOut30(); - afx_msg void OnOut31(); - afx_msg void OnOut32(); - afx_msg void OnOut33(); - afx_msg void OnOut34(); - afx_msg void OnOut35(); - afx_msg void OnOut36(); - afx_msg void OnOut37(); - afx_msg void OnOut38(); - afx_msg void OnOut39(); - afx_msg void OnOut40(); - afx_msg void OnOut41(); - afx_msg void OnOut42(); - afx_msg void OnOut43(); - afx_msg void OnOut44(); - afx_msg void OnOut45(); - afx_msg void OnOut46(); - afx_msg void OnOut47(); - afx_msg void OnOut48(); - afx_msg void OnOut49(); - afx_msg void OnOut50(); - afx_msg void OnOut51(); - afx_msg void OnOut52(); - afx_msg void OnOut53(); - afx_msg void OnOut54(); - afx_msg void OnOut55(); - afx_msg void OnOut56(); - afx_msg void OnOut57(); - afx_msg void OnOut58(); - afx_msg void OnOut59(); - afx_msg void OnOut60(); - afx_msg void OnOut61(); - afx_msg void OnOut62(); - afx_msg void OnOut63(); -}; diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7434/Sdk7434R/res/Util7434.ico b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7434/Sdk7434R/res/Util7434.ico deleted file mode 100644 index d56fbcd..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7434/Sdk7434R/res/Util7434.ico and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7434/Sdk7434R/res/Util7434.rc2 b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7434/Sdk7434R/res/Util7434.rc2 deleted file mode 100644 index 9d672e4..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7434/Sdk7434R/res/Util7434.rc2 +++ /dev/null @@ -1,13 +0,0 @@ -// -// Util7234.RC2 - resources Microsoft Visual C++ does not edit directly -// - -#ifdef APSTUDIO_INVOKED -#error this file is not editable by Microsoft Visual C++ -#endif //APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// Add manually edited resources here... - -///////////////////////////////////////////////////////////////////////////// diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7434/Sdk7434R/resource.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7434/Sdk7434R/resource.h deleted file mode 100644 index 26ec90d..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7434/Sdk7434R/resource.h +++ /dev/null @@ -1,87 +0,0 @@ -//{{NO_DEPENDENCIES}} -// Microsoft Visual C++ generated include file. -// Used by Util7434.rc -// -#define IDM_ABOUTBOX 0x0010 -#define IDD_ABOUTBOX 100 -#define IDS_ABOUTBOX 101 -#define IDD_UTIL7434_DIALOG 102 -#define IDR_MAINFRAME 128 -#define IDD_CARDID_DIALOG 129 -#define IDC_COMBO_CARDID 1000 -#define IDC_CHECK_DO00 1003 -#define IDC_CHECK_DO01 1004 -#define IDC_CHECK_DO16 1005 -#define IDC_CHECK_DO17 1006 -#define IDC_STATIC_01 1014 -#define IDC_CHECK_DO02 1021 -#define IDC_CHECK_DO03 1022 -#define IDC_CHECK_DO04 1023 -#define IDC_CHECK_DO05 1024 -#define IDC_CHECK_DO06 1025 -#define IDC_CHECK_DO07 1026 -#define IDC_CHECK_DO08 1027 -#define IDC_CHECK_DO09 1028 -#define IDC_CHECK_DO10 1029 -#define IDC_CHECK_DO11 1030 -#define IDC_CHECK_DO12 1031 -#define IDC_CHECK_DO13 1032 -#define IDC_CHECK_DO14 1033 -#define IDC_CHECK_DO15 1034 -#define IDC_CHECK_DO18 1035 -#define IDC_CHECK_DO19 1036 -#define IDC_CHECK_DO20 1037 -#define IDC_CHECK_DO21 1038 -#define IDC_CHECK_DO22 1039 -#define IDC_CHECK_DO23 1040 -#define IDC_CHECK_DO24 1041 -#define IDC_CHECK_DO25 1042 -#define IDC_CHECK_DO26 1043 -#define IDC_CHECK_DO27 1044 -#define IDC_CHECK_DO28 1045 -#define IDC_CHECK_DO29 1046 -#define IDC_CHECK_DO30 1047 -#define IDC_CHECK_DO31 1048 -#define IDC_CHECK_DO32 1049 -#define IDC_CHECK_DO33 1050 -#define IDC_CHECK_DO34 1051 -#define IDC_CHECK_DO35 1052 -#define IDC_CHECK_DO36 1053 -#define IDC_CHECK_DO37 1054 -#define IDC_CHECK_DO38 1055 -#define IDC_CHECK_DO39 1056 -#define IDC_CHECK_DO40 1057 -#define IDC_CHECK_DO41 1058 -#define IDC_CHECK_DO42 1059 -#define IDC_CHECK_DO43 1060 -#define IDC_CHECK_DO44 1061 -#define IDC_CHECK_DO45 1062 -#define IDC_CHECK_DO46 1063 -#define IDC_CHECK_DO47 1064 -#define IDC_CHECK_DO48 1065 -#define IDC_CHECK_DO49 1066 -#define IDC_CHECK_DO50 1067 -#define IDC_CHECK_DO51 1068 -#define IDC_CHECK_DO52 1069 -#define IDC_CHECK_DO53 1070 -#define IDC_CHECK_DO54 1071 -#define IDC_CHECK_DO55 1072 -#define IDC_CHECK_DO56 1073 -#define IDC_CHECK_DO57 1074 -#define IDC_CHECK_DO58 1075 -#define IDC_CHECK_DO59 1076 -#define IDC_CHECK_DO60 1077 -#define IDC_CHECK_DO61 1078 -#define IDC_CHECK_DO62 1079 -#define IDC_CHECK_DO63 1080 - -// Next default values for new objects -// -#ifdef APSTUDIO_INVOKED -#ifndef APSTUDIO_READONLY_SYMBOLS -#define _APS_NEXT_RESOURCE_VALUE 131 -#define _APS_NEXT_COMMAND_VALUE 32771 -#define _APS_NEXT_CONTROL_VALUE 1000 -#define _APS_NEXT_SYMED_VALUE 101 -#endif -#endif diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7434/Sdk7434R/stdafx.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7434/Sdk7434R/stdafx.cpp deleted file mode 100644 index 7957637..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7434/Sdk7434R/stdafx.cpp +++ /dev/null @@ -1,8 +0,0 @@ - -// stdafx.cpp : source file that includes just the standard includes -// Util7434.pch will be the pre-compiled header -// stdafx.obj will contain the pre-compiled type information - -#include "stdafx.h" - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7434/Sdk7434R/stdafx.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7434/Sdk7434R/stdafx.h deleted file mode 100644 index 12123e2..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7434/Sdk7434R/stdafx.h +++ /dev/null @@ -1,60 +0,0 @@ - -// stdafx.h : include file for standard system include files, -// or project specific include files that are used frequently, -// but are changed infrequently - -#pragma once - -#ifndef _SECURE_ATL -#define _SECURE_ATL 1 -#endif - -#ifndef VC_EXTRALEAN -#define VC_EXTRALEAN // Exclude rarely-used stuff from Windows headers -#endif - -#include "targetver.h" - -#define _ATL_CSTRING_EXPLICIT_CONSTRUCTORS // some CString constructors will be explicit - -// turns off MFC's hiding of some common and often safely ignored warning messages -#define _AFX_ALL_WARNINGS - -#include // MFC core and standard components -#include // MFC extensions - - -#include // MFC Automation classes - - - -#ifndef _AFX_NO_OLE_SUPPORT -#include // MFC support for Internet Explorer 4 Common Controls -#endif -#ifndef _AFX_NO_AFXCMN_SUPPORT -#include // MFC support for Windows Common Controls -#endif // _AFX_NO_AFXCMN_SUPPORT - -#include // MFC support for ribbons and control bars - - - - - - - - - -#ifdef _UNICODE -#if defined _M_IX86 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='x86' publicKeyToken='6595b64144ccf1df' language='*'\"") -#elif defined _M_IA64 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='ia64' publicKeyToken='6595b64144ccf1df' language='*'\"") -#elif defined _M_X64 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='amd64' publicKeyToken='6595b64144ccf1df' language='*'\"") -#else -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='*' publicKeyToken='6595b64144ccf1df' language='*'\"") -#endif -#endif - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7434/Sdk7434R/targetver.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7434/Sdk7434R/targetver.h deleted file mode 100644 index 11730d5..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7434/Sdk7434R/targetver.h +++ /dev/null @@ -1,26 +0,0 @@ - -#pragma once - -// The following macros define the minimum required platform. The minimum required platform -// is the earliest version of Windows, Internet Explorer etc. that has the necessary features to run -// your application. The macros work by enabling all features available on platform versions up to and -// including the version specified. - -// Modify the following defines if you have to target a platform prior to the ones specified below. -// Refer to MSDN for the latest info on corresponding values for different platforms. -#ifndef WINVER // Specifies that the minimum required platform is Windows Vista. -#define WINVER 0x0600 // Change this to the appropriate value to target other versions of Windows. -#endif - -#ifndef _WIN32_WINNT // Specifies that the minimum required platform is Windows Vista. -#define _WIN32_WINNT 0x0600 // Change this to the appropriate value to target other versions of Windows. -#endif - -#ifndef _WIN32_WINDOWS // Specifies that the minimum required platform is Windows 98. -#define _WIN32_WINDOWS 0x0410 // Change this to the appropriate value to target Windows Me or later. -#endif - -#ifndef _WIN32_IE // Specifies that the minimum required platform is Internet Explorer 7.0. -#define _WIN32_IE 0x0700 // Change this to the appropriate value to target other versions of IE. -#endif - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7442/SDK7442DbEvt/7230int.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7442/SDK7442DbEvt/7230int.suo deleted file mode 100644 index 0246eaf..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7442/SDK7442DbEvt/7230int.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7442/SDK7442DbEvt/7256int.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7442/SDK7442DbEvt/7256int.suo deleted file mode 100644 index 494d925..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7442/SDK7442DbEvt/7256int.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7442/SDK7442DbEvt/7258int.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7442/SDK7442DbEvt/7258int.suo deleted file mode 100644 index ea9e48d..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7442/SDK7442DbEvt/7258int.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7442/SDK7442DbEvt/7432int.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7442/SDK7442DbEvt/7432int.suo deleted file mode 100644 index ffef772..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7442/SDK7442DbEvt/7432int.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7442/SDK7442DbEvt/7442int.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7442/SDK7442DbEvt/7442int.cpp deleted file mode 100644 index 0debe5d..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7442/SDK7442DbEvt/7442int.cpp +++ /dev/null @@ -1,110 +0,0 @@ - -// 7442int.cpp : Defines the class behaviors for the application. -// - -#include "stdafx.h" -#include "7442int.h" -#include "7442intDlg.h" -#include "CardIDDlg.h" - -#ifdef _DEBUG -#define new DEBUG_NEW -#endif - - -// C7442intApp - -BEGIN_MESSAGE_MAP(C7442intApp, CWinAppEx) - ON_COMMAND(ID_HELP, &CWinApp::OnHelp) -END_MESSAGE_MAP() - - -// C7442intApp construction - -C7442intApp::C7442intApp() -{ - // TODO: add construction code here, - // Place all significant initialization in InitInstance -} - - -// The one and only C7442intApp object - -C7442intApp theApp; - - -// C7442intApp initialization - -BOOL C7442intApp::InitInstance() -{ - int nCardID = 0; - I16 hCard; - CString strTemp; - INT_PTR nResponse; - - // InitCommonControlsEx() is required on Windows XP if an application - // manifest specifies use of ComCtl32.dll version 6 or later to enable - // visual styles. Otherwise, any window creation will fail. - INITCOMMONCONTROLSEX InitCtrls; - InitCtrls.dwSize = sizeof(InitCtrls); - // Set this to include all the common control classes you want to use - // in your application. - InitCtrls.dwICC = ICC_WIN95_CLASSES; - InitCommonControlsEx(&InitCtrls); - - CWinAppEx::InitInstance(); - - AfxEnableControlContainer(); - - // Standard initialization - // If you are not using these features and wish to reduce the size - // of your final executable, you should remove from the following - // the specific initialization routines you do not need - // Change the registry key under which our settings are stored - // TODO: You should modify this string to be something appropriate - // such as the name of your company or organization - SetRegistryKey(_T("Local AppWizard-Generated Applications")); - - CCardIDDlg CardDlg( nCardID ); - - nResponse = CardDlg.DoModal(); - if (nResponse == IDOK) - { - nCardID = CardDlg.GetCardID(); - - if ((hCard=Register_Card(PCI_7442, nCardID)) < 0) - { - strTemp.Format( TEXT("Register_Card Error = %d"), hCard); - AfxMessageBox( strTemp ); - } - else - { - C7442intDlg dlg(hCard); - m_pMainWnd = &dlg; - nResponse = dlg.DoModal(); - if (nResponse == IDOK) - { - // TODO: Place code here to handle when the dialog is - // dismissed with OK - } - else if (nResponse == IDCANCEL) - { - // TODO: Place code here to handle when the dialog is - // dismissed with Cancel - } - - if (hCard >= 0) Release_Card(hCard); - } - - } - else if (nResponse == IDCANCEL) - { - // TODO: Place code here to handle when the dialog is - // dismissed with Cancel - } - - - // Since the dialog has been closed, return FALSE so that we exit the - // application, rather than start the application's message pump. - return FALSE; -} diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7442/SDK7442DbEvt/7442int.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7442/SDK7442DbEvt/7442int.h deleted file mode 100644 index bff44dd..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7442/SDK7442DbEvt/7442int.h +++ /dev/null @@ -1,32 +0,0 @@ - -// 7442int.h : main header file for the PROJECT_NAME application -// - -#pragma once - -#ifndef __AFXWIN_H__ - #error "include 'stdafx.h' before including this file for PCH" -#endif - -#include "resource.h" // main symbols - - -// C7442intApp: -// See 7442int.cpp for the implementation of this class -// - -class C7442intApp : public CWinAppEx -{ -public: - C7442intApp(); - -// Overrides - public: - virtual BOOL InitInstance(); - -// Implementation - - DECLARE_MESSAGE_MAP() -}; - -extern C7442intApp theApp; \ No newline at end of file diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7442/SDK7442DbEvt/7442int.rc b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7442/SDK7442DbEvt/7442int.rc deleted file mode 100644 index bec097e..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7442/SDK7442DbEvt/7442int.rc +++ /dev/null @@ -1,245 +0,0 @@ -// Microsoft Visual C++ generated resource script. -// -#include "resource.h" - -#define APSTUDIO_READONLY_SYMBOLS -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 2 resource. -// -#ifndef APSTUDIO_INVOKED -#include "targetver.h" -#endif -#include "afxres.h" - -///////////////////////////////////////////////////////////////////////////// -#undef APSTUDIO_READONLY_SYMBOLS - -///////////////////////////////////////////////////////////////////////////// -// Chinese (Taiwan) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_CHT) -#ifdef _WIN32 -LANGUAGE LANG_CHINESE, SUBLANG_CHINESE_TRADITIONAL -#pragma code_page(950) -#endif //_WIN32 - -#ifdef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// TEXTINCLUDE -// - -1 TEXTINCLUDE -BEGIN - "resource.h\0" -END - -2 TEXTINCLUDE -BEGIN - "#ifndef APSTUDIO_INVOKED\r\n" - "#include ""targetver.h""\r\n" - "#endif\r\n" - "#include ""afxres.h""\r\n" - "\0" -END - -3 TEXTINCLUDE -BEGIN - "#define _AFX_NO_SPLITTER_RESOURCES\r\n" - "#define _AFX_NO_OLE_RESOURCES\r\n" - "#define _AFX_NO_TRACKER_RESOURCES\r\n" - "#define _AFX_NO_PROPERTY_RESOURCES\r\n" - "\r\n" - "#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)\r\n" - "LANGUAGE 9, 1\r\n" - "#pragma code_page(1252)\r\n" - "#include ""res\\My7442int.rc2"" // non-Microsoft Visual C++ edited resources\r\n" - "#include ""afxres.rc"" // Standard components\r\n" - "#endif\r\n" - "\0" -END - -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// Icon -// - -// Icon with lowest ID value placed first to ensure application icon -// remains consistent on all systems. -IDR_MAINFRAME ICON "res\\7442int.ico" -#endif // Chinese (Taiwan) resources -///////////////////////////////////////////////////////////////////////////// - - -///////////////////////////////////////////////////////////////////////////// -// English (U.S.) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -#ifdef _WIN32 -LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US -#pragma code_page(1252) -#endif //_WIN32 - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog -// - -IDD_ABOUTBOX DIALOGEX 0, 0, 170, 62 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "About 7442int" -FONT 8, "MS Shell Dlg", 0, 0, 0x1 -BEGIN - ICON IDR_MAINFRAME,IDC_STATIC,14,14,21,20 - LTEXT "7442int, Version 1.0",IDC_STATIC,42,14,114,8,SS_NOPREFIX - LTEXT "Copyright (C) 2010",IDC_STATIC,42,26,114,8 - DEFPUSHBUTTON "OK",IDOK,113,41,50,14,WS_GROUP -END - -IDD_MY7442INT_DIALOG DIALOGEX 0, 0, 228, 138 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU -EXSTYLE WS_EX_APPWINDOW -CAPTION -"This program shows the number of occurrence of interrupt for COS interrupt lines.\nCOS0 interrupt is generated by change of state of DI0 bit-0.\nCOS1 interrupt is generated by change of state of DI1 bit-0." -FONT 8, "MS Shell Dlg", 0, 0, 0x1 -BEGIN - LTEXT "This program shows the number of occurrence of interrupt for COS interrupt lines.\nCOS0 interrupt is generated by change of state of DI0 bit-0.\nCOS1 interrupt is generated by change of state of DI1 bit-0.",IDC_STATIC,9,6,207,34 - LTEXT "COS0 Count =",IDC_STATIC_05,54,78,85,13 - PUSHBUTTON "Output",IDC_BT_OUTPUT,76,113,84,18 - LTEXT "COS1 Count =",IDC_STATIC_06,54,94,85,13 - LTEXT "If connecting DO0 bit-0 to DI0 bit-0 and DO1 bit-0 to DI1 bit-0, click 'Output' button can generate two interrupts.\nOne for COS0 and the other for COS1.",IDC_STATIC,9,40,207,27 -END - -IDD_CARDID_DIALOG DIALOGEX 0, 0, 163, 88 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "Card ID" -FONT 8, "MS Shell Dlg", 400, 0, 0x1 -BEGIN - COMBOBOX IDC_COMBO_CARDID,73,17,71,126,CBS_DROPDOWN | WS_VSCROLL | WS_TABSTOP - LTEXT "Card Number",IDC_STATIC_01,19,18,46,12 - PUSHBUTTON "OK",IDOK,20,50,58,19 - PUSHBUTTON "CANCEL",IDCANCEL,84,50,58,19 -END - - -///////////////////////////////////////////////////////////////////////////// -// -// Version -// - -VS_VERSION_INFO VERSIONINFO - FILEVERSION 1,0,0,1 - PRODUCTVERSION 1,0,0,1 - FILEFLAGSMASK 0x3fL -#ifdef _DEBUG - FILEFLAGS 0x1L -#else - FILEFLAGS 0x0L -#endif - FILEOS 0x4L - FILETYPE 0x1L - FILESUBTYPE 0x0L -BEGIN - BLOCK "StringFileInfo" - BEGIN - BLOCK "040904e4" - BEGIN - VALUE "CompanyName", "TODO: " - VALUE "FileDescription", "TODO: " - VALUE "FileVersion", "1.0.0.1" - VALUE "InternalName", "7442int.exe" - VALUE "LegalCopyright", "TODO: (c) . All rights reserved." - VALUE "OriginalFilename", "7442int.exe" - VALUE "ProductName", "TODO: " - VALUE "ProductVersion", "1.0.0.1" - END - END - BLOCK "VarFileInfo" - BEGIN - VALUE "Translation", 0x409, 1252 - END -END - - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog Info -// - -IDD_CARDID_DIALOG DLGINIT -BEGIN - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0030, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0031, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0032, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0033, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0034, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0035, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0036, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0037, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0038, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0039, - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3031, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3131, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3231, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3331, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3431, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3531, "\000" - 0 -END - - -///////////////////////////////////////////////////////////////////////////// -// -// String Table -// - -STRINGTABLE -BEGIN - IDS_ABOUTBOX "&About 7442int..." -END - -#endif // English (U.S.) resources -///////////////////////////////////////////////////////////////////////////// - - - -#ifndef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 3 resource. -// -#define _AFX_NO_SPLITTER_RESOURCES -#define _AFX_NO_OLE_RESOURCES -#define _AFX_NO_TRACKER_RESOURCES -#define _AFX_NO_PROPERTY_RESOURCES - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -LANGUAGE 9, 1 -#pragma code_page(1252) -#include "res\My7442int.rc2" // non-Microsoft Visual C++ edited resources -#include "afxres.rc" // Standard components -#endif - -///////////////////////////////////////////////////////////////////////////// -#endif // not APSTUDIO_INVOKED - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7442/SDK7442DbEvt/7442int.sln b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7442/SDK7442DbEvt/7442int.sln deleted file mode 100644 index c9bf5bf..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7442/SDK7442DbEvt/7442int.sln +++ /dev/null @@ -1,20 +0,0 @@ - -Microsoft Visual Studio Solution File, Format Version 10.00 -# Visual Studio 2008 -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "7442int", "7442int.vcproj", "{7D5D9EC5-ED97-47EE-B6F4-ACCD71069808}" -EndProject -Global - GlobalSection(SolutionConfigurationPlatforms) = preSolution - Debug|x64 = Debug|x64 - Release|x64 = Release|x64 - EndGlobalSection - GlobalSection(ProjectConfigurationPlatforms) = postSolution - {7D5D9EC5-ED97-47EE-B6F4-ACCD71069808}.Debug|x64.ActiveCfg = Debug|x64 - {7D5D9EC5-ED97-47EE-B6F4-ACCD71069808}.Debug|x64.Build.0 = Debug|x64 - {7D5D9EC5-ED97-47EE-B6F4-ACCD71069808}.Release|x64.ActiveCfg = Release|x64 - {7D5D9EC5-ED97-47EE-B6F4-ACCD71069808}.Release|x64.Build.0 = Release|x64 - EndGlobalSection - GlobalSection(SolutionProperties) = preSolution - HideSolutionNode = FALSE - EndGlobalSection -EndGlobal diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7442/SDK7442DbEvt/7442int.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7442/SDK7442DbEvt/7442int.suo deleted file mode 100644 index 955b251..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7442/SDK7442DbEvt/7442int.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7442/SDK7442DbEvt/7442int.vcproj b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7442/SDK7442DbEvt/7442int.vcproj deleted file mode 100644 index 4008522..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7442/SDK7442DbEvt/7442int.vcproj +++ /dev/null @@ -1,286 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7442/SDK7442DbEvt/7442intDlg.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7442/SDK7442DbEvt/7442intDlg.cpp deleted file mode 100644 index 2081ade..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7442/SDK7442DbEvt/7442intDlg.cpp +++ /dev/null @@ -1,298 +0,0 @@ - -// 7442intDlg.cpp : implementation file -// - -#include "stdafx.h" -#include "7442int.h" -#include "7442intDlg.h" - -#ifdef _DEBUG -#define new DEBUG_NEW -#endif - -int gIntCount, gIntCount2; -HANDLE ghIntEvent[2]; - -BOOLEAN gbExitThread, gbExitThread2; - - - -DWORD WINAPI IntThread( LPVOID lpParam ) -{ - - while ( gbExitThread == FALSE ) - { - if ( WaitForSingleObject(ghIntEvent[0], INFINITE) == WAIT_OBJECT_0 ) - { - gIntCount++; - ResetEvent(ghIntEvent[0]); - } - } - - return (DWORD) 0; -} - -DWORD WINAPI IntThread2( LPVOID lpParam ) -{ - - while ( gbExitThread2 == FALSE ) - { - if ( WaitForSingleObject(ghIntEvent[1], INFINITE) == WAIT_OBJECT_0 ) - { - gIntCount2++; - ResetEvent(ghIntEvent[1]); - } - } - - return (DWORD) 0; -} - -// CAboutDlg dialog used for App About - -class CAboutDlg : public CDialog -{ -public: - CAboutDlg(); - -// Dialog Data - enum { IDD = IDD_ABOUTBOX }; - - protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - -// Implementation -protected: - DECLARE_MESSAGE_MAP() -}; - -CAboutDlg::CAboutDlg() : CDialog(CAboutDlg::IDD) -{ -} - -void CAboutDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); -} - -BEGIN_MESSAGE_MAP(CAboutDlg, CDialog) -END_MESSAGE_MAP() - - -// C7442intDlg dialog - - - - -C7442intDlg::C7442intDlg(I16 hCard, CWnd* pParent /*=NULL*/) - : CDialog(C7442intDlg::IDD, pParent) -{ - m_hIcon = AfxGetApp()->LoadIcon(IDR_MAINFRAME); - - m_hCard = hCard; - m_hThread = m_hThread2 = NULL; - m_nTimer = -1; - m_dwOutVal0[0] = m_dwOutVal0[1] = 0x00000000; - m_dwOutVal1[0] = m_dwOutVal1[1] = 0x00000001; - m_dwPressCount = 0; -} - -void C7442intDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); -} - -BEGIN_MESSAGE_MAP(C7442intDlg, CDialog) - ON_WM_SYSCOMMAND() - ON_WM_PAINT() - ON_WM_QUERYDRAGICON() - //}}AFX_MSG_MAP - ON_WM_DESTROY() - ON_WM_TIMER() - ON_BN_CLICKED(IDC_BT_OUTPUT, &C7442intDlg::OnOutput) -END_MESSAGE_MAP() - - -// C7442intDlg message handlers - -BOOL C7442intDlg::OnInitDialog() -{ - CDialog::OnInitDialog(); - - // Add "About..." menu item to system menu. - - // IDM_ABOUTBOX must be in the system command range. - ASSERT((IDM_ABOUTBOX & 0xFFF0) == IDM_ABOUTBOX); - ASSERT(IDM_ABOUTBOX < 0xF000); - - CMenu* pSysMenu = GetSystemMenu(FALSE); - if (pSysMenu != NULL) - { - BOOL bNameValid; - CString strAboutMenu; - bNameValid = strAboutMenu.LoadString(IDS_ABOUTBOX); - ASSERT(bNameValid); - if (!strAboutMenu.IsEmpty()) - { - pSysMenu->AppendMenu(MF_SEPARATOR); - pSysMenu->AppendMenu(MF_STRING, IDM_ABOUTBOX, strAboutMenu); - } - } - - // Set the icon for this dialog. The framework does this automatically - // when the application's main window is not a dialog - SetIcon(m_hIcon, TRUE); // Set big icon - SetIcon(m_hIcon, FALSE); // Set small icon - - // TODO: Add extra initialization here - - DO_SimuWritePort(m_hCard, 2, m_dwOutVal0); - //DO_WritePort(m_hCard, P7442_CH0, 0); - //DO_WritePort(m_hCard, P7442_CH1, 0); - Sleep(1); - DIO_SetCOSInterrupt32(m_hCard, 0, 0x0001, (HANDLE *) &ghIntEvent[0], 1); - DIO_SetCOSInterrupt32(m_hCard, 1, 0x0001, (HANDLE *) &ghIntEvent[1], 1); - - gIntCount = 0; - gbExitThread = FALSE; - m_hThread = CreateThread( NULL, // default security attributes - 0, // use default stack size - IntThread, // thread function name - NULL, // argument to thread function - 0, // use default creation flags - NULL); // returns the thread identifier - - gIntCount2 = 0; - gbExitThread = FALSE; - m_hThread2 = CreateThread( NULL, // default security attributes - 0, // use default stack size - IntThread2, // thread function name - NULL, // argument to thread function - 0, // use default creation flags - NULL); // returns the thread identifier - - m_nTimer = SetTimer( 1, 250, NULL ); - - return TRUE; // return TRUE unless you set the focus to a control -} - -void C7442intDlg::OnSysCommand(UINT nID, LPARAM lParam) -{ - if ((nID & 0xFFF0) == IDM_ABOUTBOX) - { - CAboutDlg dlgAbout; - dlgAbout.DoModal(); - } - else - { - CDialog::OnSysCommand(nID, lParam); - } -} - -// If you add a minimize button to your dialog, you will need the code below -// to draw the icon. For MFC applications using the document/view model, -// this is automatically done for you by the framework. - -void C7442intDlg::OnPaint() -{ - if (IsIconic()) - { - CPaintDC dc(this); // device context for painting - - SendMessage(WM_ICONERASEBKGND, reinterpret_cast(dc.GetSafeHdc()), 0); - - // Center icon in client rectangle - int cxIcon = GetSystemMetrics(SM_CXICON); - int cyIcon = GetSystemMetrics(SM_CYICON); - CRect rect; - GetClientRect(&rect); - int x = (rect.Width() - cxIcon + 1) / 2; - int y = (rect.Height() - cyIcon + 1) / 2; - - // Draw the icon - dc.DrawIcon(x, y, m_hIcon); - } - else - { - CDialog::OnPaint(); - } -} - -// The system calls this function to obtain the cursor to display while the user drags -// the minimized window. -HCURSOR C7442intDlg::OnQueryDragIcon() -{ - return static_cast(m_hIcon); -} - - -void C7442intDlg::OnDestroy() -{ - CDialog::OnDestroy(); - - // TODO: Add your message handler code here - DIO_SetCOSInterrupt32(m_hCard, 0, 0, NULL, 0); - DIO_SetCOSInterrupt32(m_hCard, 1, 0, NULL, 0); - - if( m_nTimer != -1 ) - { - KillTimer( m_nTimer ); - m_nTimer = -1; - } - - - if( m_hThread != NULL ) - { - gbExitThread = TRUE; // termnate the IntThread - SetEvent( ghIntEvent[0] ); - - if (WaitForSingleObject(m_hThread, 5000) == WAIT_OBJECT_0) - { - CloseHandle( m_hThread ); - m_hThread = NULL; - } - } - - if( m_hThread2 != NULL ) - { - gbExitThread2 = TRUE; // termnate the IntThread - SetEvent( ghIntEvent[1] ); - - if (WaitForSingleObject(m_hThread2, 5000) == WAIT_OBJECT_0) - { - CloseHandle( m_hThread2 ); - m_hThread2 = NULL; - } - } - -} - -void C7442intDlg::OnTimer(UINT_PTR nIDEvent) -{ - // TODO: Add your message handler code here and/or call default - CString strTemp; - - strTemp.Format( TEXT("COS0 Count = %d"), gIntCount ); - SetDlgItemText( IDC_STATIC_05, strTemp ); - - strTemp.Format( TEXT("COS1 Count = %d"), gIntCount2 ); - SetDlgItemText( IDC_STATIC_06, strTemp ); - - CDialog::OnTimer(nIDEvent); -} - -void C7442intDlg::OnOutput() -{ - // TODO: Add your control notification handler code here - Sleep(1); - if(m_dwPressCount%2 == 0){ - //DO_WritePort(m_hCard, P7442_CH0, 0x1); - //DO_WritePort(m_hCard, P7442_CH1, 0x1); - DO_SimuWritePort(m_hCard, 2, m_dwOutVal1); - } - else{ - //DO_WritePort(m_hCard, P7442_CH0, 0x0); - //DO_WritePort(m_hCard, P7442_CH1, 0x0); - DO_SimuWritePort(m_hCard, 2, m_dwOutVal0); - } - m_dwPressCount++; -} diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7442/SDK7442DbEvt/7442intDlg.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7442/SDK7442DbEvt/7442intDlg.h deleted file mode 100644 index 9e107ad..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7442/SDK7442DbEvt/7442intDlg.h +++ /dev/null @@ -1,43 +0,0 @@ - -// 7442intDlg.h : header file -// -#include "Dask64.h" - -#pragma once - - -// C7442intDlg dialog -class C7442intDlg : public CDialog -{ -// Construction -public: - C7442intDlg(I16 hCard, CWnd* pParent = NULL); // standard constructor - -// Dialog Data - enum { IDD = IDD_MY7442INT_DIALOG }; - - protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - - -// Implementation -protected: - HICON m_hIcon; - UINT_PTR m_nTimer; - HANDLE m_hThread, m_hThread2; - I16 m_hCard; - U32 m_dwOutVal0[2]; - U32 m_dwOutVal1[2]; - U32 m_dwPressCount; - - // Generated message map functions - virtual BOOL OnInitDialog(); - afx_msg void OnSysCommand(UINT nID, LPARAM lParam); - afx_msg void OnPaint(); - afx_msg HCURSOR OnQueryDragIcon(); - DECLARE_MESSAGE_MAP() -public: - afx_msg void OnDestroy(); - afx_msg void OnTimer(UINT_PTR nIDEvent); - afx_msg void OnOutput(); -}; diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7442/SDK7442DbEvt/CardIDDlg.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7442/SDK7442DbEvt/CardIDDlg.cpp deleted file mode 100644 index 68a35f6..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7442/SDK7442DbEvt/CardIDDlg.cpp +++ /dev/null @@ -1,67 +0,0 @@ -// CardIDDlg.cpp : implementation file -// - -#include "stdafx.h" -#include "7442int.h" -#include "CardIDDlg.h" - - -// CCardIDDlg dialog - -IMPLEMENT_DYNAMIC(CCardIDDlg, CDialog) - -CCardIDDlg::CCardIDDlg(int nCardIdx, CWnd* pParent /*=NULL*/) - : CDialog(CCardIDDlg::IDD, pParent) -{ - m_nCardIdx = nCardIdx; -} - -CCardIDDlg::~CCardIDDlg() -{ -} - -void CCardIDDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); - DDX_Control(pDX, IDC_COMBO_CARDID, m_cbCardID); -} - - -BEGIN_MESSAGE_MAP(CCardIDDlg, CDialog) -// ON_CBN_SELCHANGE(IDC_COMBO_CARDID, &CCardIDDlg::OnCbnSelchangeComboCardid) -ON_BN_CLICKED(IDOK, &CCardIDDlg::OnBnClickedOk) -//ON_WM_CTLCOLOR() -END_MESSAGE_MAP() - - -// CCardIDDlg message handlers - - -void CCardIDDlg::OnBnClickedOk() -{ - // TODO: Add your control notification handler code here - -// UpdateData(TRUE); - m_nCardIdx = m_cbCardID.GetCurSel(); - - OnOK(); -} - -BOOL CCardIDDlg::OnInitDialog() -{ - CDialog::OnInitDialog(); - - // TODO: Add extra initialization here - m_cbCardID.SetCurSel( m_nCardIdx ); - - return TRUE; // return TRUE unless you set the focus to a control - // EXCEPTION: OCX Property Pages should return FALSE -} - -// the function to get the selected CardID -int CCardIDDlg::GetCardID(void) -{ - return m_nCardIdx; -} - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7442/SDK7442DbEvt/CardIDDlg.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7442/SDK7442DbEvt/CardIDDlg.h deleted file mode 100644 index 54628ea..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7442/SDK7442DbEvt/CardIDDlg.h +++ /dev/null @@ -1,33 +0,0 @@ -#pragma once -#include "afxwin.h" - - -// CCardIDDlg dialog - -class CCardIDDlg : public CDialog -{ - DECLARE_DYNAMIC(CCardIDDlg) - -public: - CCardIDDlg(int nCardIdx, CWnd* pParent = NULL); // standard constructor - virtual ~CCardIDDlg(); - -// Dialog Data - enum { IDD = IDD_CARDID_DIALOG }; - -protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - - DECLARE_MESSAGE_MAP() -public: -// afx_msg void OnCbnSelchangeComboCardid(); - afx_msg void OnBnClickedOk(); - // the setting of CardID ComboBox - int m_nCardIdx; - virtual BOOL OnInitDialog(); - // the control of CardID ComboBox - CComboBox m_cbCardID; - // the function to get the selected CardID - int GetCardID(void); -// afx_msg HBRUSH OnCtlColor(CDC* pDC, CWnd* pWnd, UINT nCtlColor); -}; diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7442/SDK7442DbEvt/ReadMe.txt b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7442/SDK7442DbEvt/ReadMe.txt deleted file mode 100644 index 0757c21..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7442/SDK7442DbEvt/ReadMe.txt +++ /dev/null @@ -1,93 +0,0 @@ -================================================================================ - MICROSOFT FOUNDATION CLASS LIBRARY : 7442int Project Overview -=============================================================================== - -The application wizard has created this 7442int application for -you. This application not only demonstrates the basics of using the Microsoft -Foundation Classes but is also a starting point for writing your application. - -This file contains a summary of what you will find in each of the files that -make up your 7442int application. - -7442int.vcproj - This is the main project file for VC++ projects generated using an application wizard. - It contains information about the version of Visual C++ that generated the file, and - information about the platforms, configurations, and project features selected with the - application wizard. - -7442int.h - This is the main header file for the application. It includes other - project specific headers (including Resource.h) and declares the - C7442intApp application class. - -7442int.cpp - This is the main application source file that contains the application - class C7442intApp. - -7442int.rc - This is a listing of all of the Microsoft Windows resources that the - program uses. It includes the icons, bitmaps, and cursors that are stored - in the RES subdirectory. This file can be directly edited in Microsoft - Visual C++. Your project resources are in 1033. - -res\7442int.ico - This is an icon file, which is used as the application's icon. This - icon is included by the main resource file 7442int.rc. - -res\My7442int.rc2 - This file contains resources that are not edited by Microsoft - Visual C++. You should place all resources not editable by - the resource editor in this file. - - -///////////////////////////////////////////////////////////////////////////// - -The application wizard creates one dialog class: - -7442intDlg.h, 7442intDlg.cpp - the dialog - These files contain your C7442intDlg class. This class defines - the behavior of your application's main dialog. The dialog's template is - in 7442int.rc, which can be edited in Microsoft Visual C++. - - -///////////////////////////////////////////////////////////////////////////// - -Other Features: - -ActiveX Controls - The application includes support to use ActiveX controls. - -///////////////////////////////////////////////////////////////////////////// - -Other standard files: - -StdAfx.h, StdAfx.cpp - These files are used to build a precompiled header (PCH) file - named 7442int.pch and a precompiled types file named StdAfx.obj. - -Resource.h - This is the standard header file, which defines new resource IDs. - Microsoft Visual C++ reads and updates this file. - -7442int.manifest - Application manifest files are used by Windows XP to describe an applications - dependency on specific versions of Side-by-Side assemblies. The loader uses this - information to load the appropriate assembly from the assembly cache or private - from the application. The Application manifest maybe included for redistribution - as an external .manifest file that is installed in the same folder as the application - executable or it may be included in the executable in the form of a resource. -///////////////////////////////////////////////////////////////////////////// - -Other notes: - -The application wizard uses "TODO:" to indicate parts of the source code you -should add to or customize. - -If your application uses MFC in a shared DLL, you will need -to redistribute the MFC DLLs. If your application is in a language -other than the operating system's locale, you will also have to -redistribute the corresponding localized resources MFC90XXX.DLL. -For more information on both of these topics, please see the section on -redistributing Visual C++ applications in MSDN documentation. - -///////////////////////////////////////////////////////////////////////////// diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7442/SDK7442DbEvt/res/7442int.ico b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7442/SDK7442DbEvt/res/7442int.ico deleted file mode 100644 index d56fbcd..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7442/SDK7442DbEvt/res/7442int.ico and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7442/SDK7442DbEvt/res/My7442int.rc2 b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7442/SDK7442DbEvt/res/My7442int.rc2 deleted file mode 100644 index 7bd3593..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7442/SDK7442DbEvt/res/My7442int.rc2 +++ /dev/null @@ -1,13 +0,0 @@ -// -// My7256int.RC2 - resources Microsoft Visual C++ does not edit directly -// - -#ifdef APSTUDIO_INVOKED -#error this file is not editable by Microsoft Visual C++ -#endif //APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// Add manually edited resources here... - -///////////////////////////////////////////////////////////////////////////// diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7442/SDK7442DbEvt/resource.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7442/SDK7442DbEvt/resource.h deleted file mode 100644 index a15c551..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7442/SDK7442DbEvt/resource.h +++ /dev/null @@ -1,28 +0,0 @@ -//{{NO_DEPENDENCIES}} -// Microsoft Visual C++ generated include file. -// Used by 7442int.rc -// -#define IDM_ABOUTBOX 0x0010 -#define IDD_ABOUTBOX 100 -#define IDS_ABOUTBOX 101 -#define IDD_MY7442INT_DIALOG 102 -#define IDR_MAINFRAME 128 -#define IDD_CARDID_DIALOG 129 -#define IDC_COMBO_CARDID 1000 -#define IDC_BUTTON1 1000 -#define IDC_BT_OUTPUT 1000 -#define IDC_STATIC_05 1007 -#define IDC_STATIC_06 1008 -#define IDC_STATIC_6 1008 -#define IDC_STATIC_01 1014 - -// Next default values for new objects -// -#ifdef APSTUDIO_INVOKED -#ifndef APSTUDIO_READONLY_SYMBOLS -#define _APS_NEXT_RESOURCE_VALUE 131 -#define _APS_NEXT_COMMAND_VALUE 32771 -#define _APS_NEXT_CONTROL_VALUE 1001 -#define _APS_NEXT_SYMED_VALUE 101 -#endif -#endif diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7442/SDK7442DbEvt/stdafx.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7442/SDK7442DbEvt/stdafx.cpp deleted file mode 100644 index 92bfc75..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7442/SDK7442DbEvt/stdafx.cpp +++ /dev/null @@ -1,8 +0,0 @@ - -// stdafx.cpp : source file that includes just the standard includes -// 7442int.pch will be the pre-compiled header -// stdafx.obj will contain the pre-compiled type information - -#include "stdafx.h" - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7442/SDK7442DbEvt/stdafx.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7442/SDK7442DbEvt/stdafx.h deleted file mode 100644 index 12123e2..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7442/SDK7442DbEvt/stdafx.h +++ /dev/null @@ -1,60 +0,0 @@ - -// stdafx.h : include file for standard system include files, -// or project specific include files that are used frequently, -// but are changed infrequently - -#pragma once - -#ifndef _SECURE_ATL -#define _SECURE_ATL 1 -#endif - -#ifndef VC_EXTRALEAN -#define VC_EXTRALEAN // Exclude rarely-used stuff from Windows headers -#endif - -#include "targetver.h" - -#define _ATL_CSTRING_EXPLICIT_CONSTRUCTORS // some CString constructors will be explicit - -// turns off MFC's hiding of some common and often safely ignored warning messages -#define _AFX_ALL_WARNINGS - -#include // MFC core and standard components -#include // MFC extensions - - -#include // MFC Automation classes - - - -#ifndef _AFX_NO_OLE_SUPPORT -#include // MFC support for Internet Explorer 4 Common Controls -#endif -#ifndef _AFX_NO_AFXCMN_SUPPORT -#include // MFC support for Windows Common Controls -#endif // _AFX_NO_AFXCMN_SUPPORT - -#include // MFC support for ribbons and control bars - - - - - - - - - -#ifdef _UNICODE -#if defined _M_IX86 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='x86' publicKeyToken='6595b64144ccf1df' language='*'\"") -#elif defined _M_IA64 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='ia64' publicKeyToken='6595b64144ccf1df' language='*'\"") -#elif defined _M_X64 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='amd64' publicKeyToken='6595b64144ccf1df' language='*'\"") -#else -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='*' publicKeyToken='6595b64144ccf1df' language='*'\"") -#endif -#endif - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7442/SDK7442DbEvt/targetver.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7442/SDK7442DbEvt/targetver.h deleted file mode 100644 index 11730d5..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7442/SDK7442DbEvt/targetver.h +++ /dev/null @@ -1,26 +0,0 @@ - -#pragma once - -// The following macros define the minimum required platform. The minimum required platform -// is the earliest version of Windows, Internet Explorer etc. that has the necessary features to run -// your application. The macros work by enabling all features available on platform versions up to and -// including the version specified. - -// Modify the following defines if you have to target a platform prior to the ones specified below. -// Refer to MSDN for the latest info on corresponding values for different platforms. -#ifndef WINVER // Specifies that the minimum required platform is Windows Vista. -#define WINVER 0x0600 // Change this to the appropriate value to target other versions of Windows. -#endif - -#ifndef _WIN32_WINNT // Specifies that the minimum required platform is Windows Vista. -#define _WIN32_WINNT 0x0600 // Change this to the appropriate value to target other versions of Windows. -#endif - -#ifndef _WIN32_WINDOWS // Specifies that the minimum required platform is Windows 98. -#define _WIN32_WINDOWS 0x0410 // Change this to the appropriate value to target Windows Me or later. -#endif - -#ifndef _WIN32_IE // Specifies that the minimum required platform is Internet Explorer 7.0. -#define _WIN32_IE 0x0700 // Change this to the appropriate value to target other versions of IE. -#endif - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7442/SDK7442DbEvtMsg/7230int.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7442/SDK7442DbEvtMsg/7230int.suo deleted file mode 100644 index 843c64f..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7442/SDK7442DbEvtMsg/7230int.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7442/SDK7442DbEvtMsg/7256int.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7442/SDK7442DbEvtMsg/7256int.suo deleted file mode 100644 index 01299a3..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7442/SDK7442DbEvtMsg/7256int.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7442/SDK7442DbEvtMsg/7258int.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7442/SDK7442DbEvtMsg/7258int.suo deleted file mode 100644 index b00e489..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7442/SDK7442DbEvtMsg/7258int.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7442/SDK7442DbEvtMsg/7432int.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7442/SDK7442DbEvtMsg/7432int.suo deleted file mode 100644 index 720a9d2..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7442/SDK7442DbEvtMsg/7432int.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7442/SDK7442DbEvtMsg/7442int.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7442/SDK7442DbEvtMsg/7442int.cpp deleted file mode 100644 index 0debe5d..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7442/SDK7442DbEvtMsg/7442int.cpp +++ /dev/null @@ -1,110 +0,0 @@ - -// 7442int.cpp : Defines the class behaviors for the application. -// - -#include "stdafx.h" -#include "7442int.h" -#include "7442intDlg.h" -#include "CardIDDlg.h" - -#ifdef _DEBUG -#define new DEBUG_NEW -#endif - - -// C7442intApp - -BEGIN_MESSAGE_MAP(C7442intApp, CWinAppEx) - ON_COMMAND(ID_HELP, &CWinApp::OnHelp) -END_MESSAGE_MAP() - - -// C7442intApp construction - -C7442intApp::C7442intApp() -{ - // TODO: add construction code here, - // Place all significant initialization in InitInstance -} - - -// The one and only C7442intApp object - -C7442intApp theApp; - - -// C7442intApp initialization - -BOOL C7442intApp::InitInstance() -{ - int nCardID = 0; - I16 hCard; - CString strTemp; - INT_PTR nResponse; - - // InitCommonControlsEx() is required on Windows XP if an application - // manifest specifies use of ComCtl32.dll version 6 or later to enable - // visual styles. Otherwise, any window creation will fail. - INITCOMMONCONTROLSEX InitCtrls; - InitCtrls.dwSize = sizeof(InitCtrls); - // Set this to include all the common control classes you want to use - // in your application. - InitCtrls.dwICC = ICC_WIN95_CLASSES; - InitCommonControlsEx(&InitCtrls); - - CWinAppEx::InitInstance(); - - AfxEnableControlContainer(); - - // Standard initialization - // If you are not using these features and wish to reduce the size - // of your final executable, you should remove from the following - // the specific initialization routines you do not need - // Change the registry key under which our settings are stored - // TODO: You should modify this string to be something appropriate - // such as the name of your company or organization - SetRegistryKey(_T("Local AppWizard-Generated Applications")); - - CCardIDDlg CardDlg( nCardID ); - - nResponse = CardDlg.DoModal(); - if (nResponse == IDOK) - { - nCardID = CardDlg.GetCardID(); - - if ((hCard=Register_Card(PCI_7442, nCardID)) < 0) - { - strTemp.Format( TEXT("Register_Card Error = %d"), hCard); - AfxMessageBox( strTemp ); - } - else - { - C7442intDlg dlg(hCard); - m_pMainWnd = &dlg; - nResponse = dlg.DoModal(); - if (nResponse == IDOK) - { - // TODO: Place code here to handle when the dialog is - // dismissed with OK - } - else if (nResponse == IDCANCEL) - { - // TODO: Place code here to handle when the dialog is - // dismissed with Cancel - } - - if (hCard >= 0) Release_Card(hCard); - } - - } - else if (nResponse == IDCANCEL) - { - // TODO: Place code here to handle when the dialog is - // dismissed with Cancel - } - - - // Since the dialog has been closed, return FALSE so that we exit the - // application, rather than start the application's message pump. - return FALSE; -} diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7442/SDK7442DbEvtMsg/7442int.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7442/SDK7442DbEvtMsg/7442int.h deleted file mode 100644 index bff44dd..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7442/SDK7442DbEvtMsg/7442int.h +++ /dev/null @@ -1,32 +0,0 @@ - -// 7442int.h : main header file for the PROJECT_NAME application -// - -#pragma once - -#ifndef __AFXWIN_H__ - #error "include 'stdafx.h' before including this file for PCH" -#endif - -#include "resource.h" // main symbols - - -// C7442intApp: -// See 7442int.cpp for the implementation of this class -// - -class C7442intApp : public CWinAppEx -{ -public: - C7442intApp(); - -// Overrides - public: - virtual BOOL InitInstance(); - -// Implementation - - DECLARE_MESSAGE_MAP() -}; - -extern C7442intApp theApp; \ No newline at end of file diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7442/SDK7442DbEvtMsg/7442int.rc b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7442/SDK7442DbEvtMsg/7442int.rc deleted file mode 100644 index 054960f..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7442/SDK7442DbEvtMsg/7442int.rc +++ /dev/null @@ -1,271 +0,0 @@ -// Microsoft Visual C++ generated resource script. -// -#include "resource.h" - -#define APSTUDIO_READONLY_SYMBOLS -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 2 resource. -// -#ifndef APSTUDIO_INVOKED -#include "targetver.h" -#endif -#include "afxres.h" - -///////////////////////////////////////////////////////////////////////////// -#undef APSTUDIO_READONLY_SYMBOLS - -///////////////////////////////////////////////////////////////////////////// -// Chinese (Taiwan) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_CHT) -#ifdef _WIN32 -LANGUAGE LANG_CHINESE, SUBLANG_CHINESE_TRADITIONAL -#pragma code_page(950) -#endif //_WIN32 - -#ifdef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// TEXTINCLUDE -// - -1 TEXTINCLUDE -BEGIN - "resource.h\0" -END - -2 TEXTINCLUDE -BEGIN - "#ifndef APSTUDIO_INVOKED\r\n" - "#include ""targetver.h""\r\n" - "#endif\r\n" - "#include ""afxres.h""\r\n" - "\0" -END - -3 TEXTINCLUDE -BEGIN - "#define _AFX_NO_SPLITTER_RESOURCES\r\n" - "#define _AFX_NO_OLE_RESOURCES\r\n" - "#define _AFX_NO_TRACKER_RESOURCES\r\n" - "#define _AFX_NO_PROPERTY_RESOURCES\r\n" - "\r\n" - "#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)\r\n" - "LANGUAGE 9, 1\r\n" - "#pragma code_page(1252)\r\n" - "#include ""res\\My7442int.rc2"" // non-Microsoft Visual C++ edited resources\r\n" - "#include ""afxres.rc"" // Standard components\r\n" - "#endif\r\n" - "\0" -END - -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// Icon -// - -// Icon with lowest ID value placed first to ensure application icon -// remains consistent on all systems. -IDR_MAINFRAME ICON "res\\7442int.ico" -#endif // Chinese (Taiwan) resources -///////////////////////////////////////////////////////////////////////////// - - -///////////////////////////////////////////////////////////////////////////// -// English (U.S.) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -#ifdef _WIN32 -LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US -#pragma code_page(1252) -#endif //_WIN32 - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog -// - -IDD_ABOUTBOX DIALOGEX 0, 0, 170, 62 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "About 7442int" -FONT 8, "MS Shell Dlg", 0, 0, 0x1 -BEGIN - ICON IDR_MAINFRAME,IDC_STATIC,14,14,21,20 - LTEXT "7442int, Version 1.0",IDC_STATIC,42,14,114,8,SS_NOPREFIX - LTEXT "Copyright (C) 2010",IDC_STATIC,42,26,114,8 - DEFPUSHBUTTON "OK",IDOK,113,41,50,14,WS_GROUP -END - -IDD_MY7442INT_DIALOG DIALOGEX 0, 0, 223, 140 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU -EXSTYLE WS_EX_APPWINDOW -CAPTION "PCI-7442 COS Interrupt Sample" -FONT 8, "MS Shell Dlg", 0, 0, 0x1 -BEGIN - LTEXT "This program shows the number of occurrence of interrupt for COS interrupt lines.\nCOS0 interrupt is generated by change of state of DI0 bit-0.\nCOS1 interrupt is generated by change of state of DI1 bit-1.",IDC_STATIC,7,6,200,33 - LTEXT "COS0 Count =",IDC_STATIC_05,59,73,85,13 - PUSHBUTTON "Output",IDC_BT_OUTPUT,71,108,84,18 - LTEXT "COS1 Count =",IDC_STATIC_06,59,89,85,13 - LTEXT "If connecting DO0 bit-0 to DI0 bit-0 and DO1 bit-0 to DI1 bit-0, click 'Output' button can generate two interrupts.\nOne for COS0 and the other for COS1.",IDC_STATIC,7,39,200,33 -END - -IDD_CARDID_DIALOG DIALOGEX 0, 0, 163, 88 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "Card ID" -FONT 8, "MS Shell Dlg", 400, 0, 0x1 -BEGIN - COMBOBOX IDC_COMBO_CARDID,73,17,71,126,CBS_DROPDOWN | WS_VSCROLL | WS_TABSTOP - LTEXT "Card Number",IDC_STATIC_01,19,18,46,12 - PUSHBUTTON "OK",IDOK,20,50,58,19 - PUSHBUTTON "CANCEL",IDCANCEL,84,50,58,19 -END - - -///////////////////////////////////////////////////////////////////////////// -// -// Version -// - -VS_VERSION_INFO VERSIONINFO - FILEVERSION 1,0,0,1 - PRODUCTVERSION 1,0,0,1 - FILEFLAGSMASK 0x3fL -#ifdef _DEBUG - FILEFLAGS 0x1L -#else - FILEFLAGS 0x0L -#endif - FILEOS 0x4L - FILETYPE 0x1L - FILESUBTYPE 0x0L -BEGIN - BLOCK "StringFileInfo" - BEGIN - BLOCK "040904e4" - BEGIN - VALUE "CompanyName", "TODO: " - VALUE "FileDescription", "TODO: " - VALUE "FileVersion", "1.0.0.1" - VALUE "InternalName", "7442int.exe" - VALUE "LegalCopyright", "TODO: (c) . All rights reserved." - VALUE "OriginalFilename", "7442int.exe" - VALUE "ProductName", "TODO: " - VALUE "ProductVersion", "1.0.0.1" - END - END - BLOCK "VarFileInfo" - BEGIN - VALUE "Translation", 0x409, 1252 - END -END - - -///////////////////////////////////////////////////////////////////////////// -// -// DESIGNINFO -// - -#ifdef APSTUDIO_INVOKED -GUIDELINES DESIGNINFO -BEGIN - IDD_ABOUTBOX, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 163 - TOPMARGIN, 7 - BOTTOMMARGIN, 55 - END - - IDD_CARDID_DIALOG, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 156 - TOPMARGIN, 7 - BOTTOMMARGIN, 81 - END -END -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog Info -// - -IDD_CARDID_DIALOG DLGINIT -BEGIN - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0030, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0031, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0032, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0033, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0034, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0035, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0036, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0037, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0038, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0039, - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3031, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3131, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3231, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3331, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3431, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3531, "\000" - 0 -END - - -///////////////////////////////////////////////////////////////////////////// -// -// String Table -// - -STRINGTABLE -BEGIN - IDS_ABOUTBOX "&About 7442int..." -END - -#endif // English (U.S.) resources -///////////////////////////////////////////////////////////////////////////// - - - -#ifndef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 3 resource. -// -#define _AFX_NO_SPLITTER_RESOURCES -#define _AFX_NO_OLE_RESOURCES -#define _AFX_NO_TRACKER_RESOURCES -#define _AFX_NO_PROPERTY_RESOURCES - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -LANGUAGE 9, 1 -#pragma code_page(1252) -#include "res\My7442int.rc2" // non-Microsoft Visual C++ edited resources -#include "afxres.rc" // Standard components -#endif - -///////////////////////////////////////////////////////////////////////////// -#endif // not APSTUDIO_INVOKED - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7442/SDK7442DbEvtMsg/7442int.sln b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7442/SDK7442DbEvtMsg/7442int.sln deleted file mode 100644 index c9bf5bf..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7442/SDK7442DbEvtMsg/7442int.sln +++ /dev/null @@ -1,20 +0,0 @@ - -Microsoft Visual Studio Solution File, Format Version 10.00 -# Visual Studio 2008 -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "7442int", "7442int.vcproj", "{7D5D9EC5-ED97-47EE-B6F4-ACCD71069808}" -EndProject -Global - GlobalSection(SolutionConfigurationPlatforms) = preSolution - Debug|x64 = Debug|x64 - Release|x64 = Release|x64 - EndGlobalSection - GlobalSection(ProjectConfigurationPlatforms) = postSolution - {7D5D9EC5-ED97-47EE-B6F4-ACCD71069808}.Debug|x64.ActiveCfg = Debug|x64 - {7D5D9EC5-ED97-47EE-B6F4-ACCD71069808}.Debug|x64.Build.0 = Debug|x64 - {7D5D9EC5-ED97-47EE-B6F4-ACCD71069808}.Release|x64.ActiveCfg = Release|x64 - {7D5D9EC5-ED97-47EE-B6F4-ACCD71069808}.Release|x64.Build.0 = Release|x64 - EndGlobalSection - GlobalSection(SolutionProperties) = preSolution - HideSolutionNode = FALSE - EndGlobalSection -EndGlobal diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7442/SDK7442DbEvtMsg/7442int.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7442/SDK7442DbEvtMsg/7442int.suo deleted file mode 100644 index 5cf1510..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7442/SDK7442DbEvtMsg/7442int.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7442/SDK7442DbEvtMsg/7442int.vcproj b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7442/SDK7442DbEvtMsg/7442int.vcproj deleted file mode 100644 index 4008522..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7442/SDK7442DbEvtMsg/7442int.vcproj +++ /dev/null @@ -1,286 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7442/SDK7442DbEvtMsg/7442intDlg.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7442/SDK7442DbEvtMsg/7442intDlg.cpp deleted file mode 100644 index ba5ae04..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7442/SDK7442DbEvtMsg/7442intDlg.cpp +++ /dev/null @@ -1,232 +0,0 @@ - -// 7442intDlg.cpp : implementation file -// - -#include "stdafx.h" -#include "7442int.h" -#include "7442intDlg.h" - -#ifdef _DEBUG -#define new DEBUG_NEW -#endif - - -#define COS0_MESSAGE _T("INT_COS0") -#define COS1_MESSAGE _T("INT_COS1") - -UINT WM_INT0 = ::RegisterWindowMessage(COS0_MESSAGE); -UINT WM_INT1 = ::RegisterWindowMessage(COS1_MESSAGE); - -// CAboutDlg dialog used for App About - -class CAboutDlg : public CDialog -{ -public: - CAboutDlg(); - -// Dialog Data - enum { IDD = IDD_ABOUTBOX }; - - protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - -// Implementation -protected: - DECLARE_MESSAGE_MAP() -}; - -CAboutDlg::CAboutDlg() : CDialog(CAboutDlg::IDD) -{ -} - -void CAboutDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); -} - -BEGIN_MESSAGE_MAP(CAboutDlg, CDialog) -END_MESSAGE_MAP() - - -// C7442intDlg dialog - - - - -C7442intDlg::C7442intDlg(I16 hCard, CWnd* pParent /*=NULL*/) - : CDialog(C7442intDlg::IDD, pParent) -{ - m_hIcon = AfxGetApp()->LoadIcon(IDR_MAINFRAME); - - m_hCard = hCard; - m_dwOutVal = 0x00000000; - m_dwPressCount = 0; -} - -void C7442intDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); -} - -BEGIN_MESSAGE_MAP(C7442intDlg, CDialog) - ON_WM_SYSCOMMAND() - ON_WM_PAINT() - ON_WM_QUERYDRAGICON() - ON_REGISTERED_MESSAGE(WM_INT0, OnExtSIGInterrupt1) - ON_REGISTERED_MESSAGE(WM_INT1, OnExtSIGInterrupt2) - //}}AFX_MSG_MAP - ON_WM_DESTROY() - ON_BN_CLICKED(IDC_BT_OUTPUT, &C7442intDlg::OnOutput) -END_MESSAGE_MAP() - - -// C7442intDlg message handlers - -BOOL C7442intDlg::OnInitDialog() -{ - CDialog::OnInitDialog(); - - // Add "About..." menu item to system menu. - - // IDM_ABOUTBOX must be in the system command range. - ASSERT((IDM_ABOUTBOX & 0xFFF0) == IDM_ABOUTBOX); - ASSERT(IDM_ABOUTBOX < 0xF000); - - CMenu* pSysMenu = GetSystemMenu(FALSE); - if (pSysMenu != NULL) - { - BOOL bNameValid; - CString strAboutMenu; - bNameValid = strAboutMenu.LoadString(IDS_ABOUTBOX); - ASSERT(bNameValid); - if (!strAboutMenu.IsEmpty()) - { - pSysMenu->AppendMenu(MF_SEPARATOR); - pSysMenu->AppendMenu(MF_STRING, IDM_ABOUTBOX, strAboutMenu); - } - } - - // Set the icon for this dialog. The framework does this automatically - // when the application's main window is not a dialog - SetIcon(m_hIcon, TRUE); // Set big icon - SetIcon(m_hIcon, FALSE); // Set small icon - - // TODO: Add extra initialization here - m_IntCount = m_IntCount2 = 0; - - DO_WritePort(m_hCard, P7442_CH0, 0x0); - DO_WritePort(m_hCard, P7442_CH1, 0x0); - Sleep(1); - DIO_SetCOSInterrupt32(m_hCard, 0, 0x0001, (HANDLE *) &m_hIntEvent[0], 0); - DIO_SetCOSInterrupt32(m_hCard, 1, 0x0001, (HANDLE *) &m_hIntEvent[1], 1); - DIO_INT_Event_Message_x64(m_hCard, 1, m_hIntEvent[0], this->m_hWnd, WM_INT0, NULL); - DIO_INT_Event_Message_x64(m_hCard, 1, m_hIntEvent[1], this->m_hWnd, WM_INT1, NULL); - - return TRUE; // return TRUE unless you set the focus to a control -} - -void C7442intDlg::OnSysCommand(UINT nID, LPARAM lParam) -{ - if ((nID & 0xFFF0) == IDM_ABOUTBOX) - { - CAboutDlg dlgAbout; - dlgAbout.DoModal(); - } - else - { - CDialog::OnSysCommand(nID, lParam); - } -} - -// If you add a minimize button to your dialog, you will need the code below -// to draw the icon. For MFC applications using the document/view model, -// this is automatically done for you by the framework. - -void C7442intDlg::OnPaint() -{ - if (IsIconic()) - { - CPaintDC dc(this); // device context for painting - - SendMessage(WM_ICONERASEBKGND, reinterpret_cast(dc.GetSafeHdc()), 0); - - // Center icon in client rectangle - int cxIcon = GetSystemMetrics(SM_CXICON); - int cyIcon = GetSystemMetrics(SM_CYICON); - CRect rect; - GetClientRect(&rect); - int x = (rect.Width() - cxIcon + 1) / 2; - int y = (rect.Height() - cyIcon + 1) / 2; - - // Draw the icon - dc.DrawIcon(x, y, m_hIcon); - } - else - { - CDialog::OnPaint(); - } -} - -// The system calls this function to obtain the cursor to display while the user drags -// the minimized window. -HCURSOR C7442intDlg::OnQueryDragIcon() -{ - return static_cast(m_hIcon); -} - - -void C7442intDlg::OnDestroy() -{ - CDialog::OnDestroy(); - - // TODO: Add your message handler code here - DIO_SetCOSInterrupt32(m_hCard, 0, 0, NULL, 0); - DIO_SetCOSInterrupt32(m_hCard, 1, 0, NULL, 0); - DIO_INT_Event_Message_x64(m_hCard, 0, m_hIntEvent[0], NULL, NULL, NULL); - DIO_INT_Event_Message_x64(m_hCard, 0, m_hIntEvent[1], NULL, NULL, NULL); -} - - -void C7442intDlg::OnOutput() -{ - // TODO: Add your control notification handler code here - Sleep(1); - if(m_dwPressCount%2 == 0) - { - DO_WritePort(m_hCard, P7442_CH0, 0x1); - DO_WritePort(m_hCard, P7442_CH1, 0x1); - } - else - { - DO_WritePort(m_hCard, P7442_CH0, 0x0); - DO_WritePort(m_hCard, P7442_CH1, 0x0); - } - m_dwPressCount++; -} - -LRESULT C7442intDlg::OnExtSIGInterrupt1(WPARAM wParam, LPARAM lParam) -{ - // do something useful - CString strTemp; - - m_IntCount ++; - - strTemp.Format( TEXT("COS0 Count = %d"), m_IntCount ); - SetDlgItemText( IDC_STATIC_05, strTemp ); - - return (LRESULT) 0; -} - -LRESULT C7442intDlg::OnExtSIGInterrupt2(WPARAM wParam, LPARAM lParam) -{ - // do something useful - CString strTemp; - - m_IntCount2 ++; - - strTemp.Format( TEXT("COS1 Count = %d"), m_IntCount2 ); - SetDlgItemText( IDC_STATIC_06, strTemp ); - ResetEvent(m_hIntEvent[1]); - - return (LRESULT) 0; -} diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7442/SDK7442DbEvtMsg/7442intDlg.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7442/SDK7442DbEvtMsg/7442intDlg.h deleted file mode 100644 index 62e35d4..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7442/SDK7442DbEvtMsg/7442intDlg.h +++ /dev/null @@ -1,44 +0,0 @@ - -// 7442intDlg.h : header file -// -#include "Dask64.h" - -#pragma once - - -// C7442intDlg dialog -class C7442intDlg : public CDialog -{ -// Construction -public: - C7442intDlg(I16 hCard, CWnd* pParent = NULL); // standard constructor - -// Dialog Data - enum { IDD = IDD_MY7442INT_DIALOG }; - - protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - - -// Implementation -protected: - HICON m_hIcon; - I16 m_hCard; - U32 m_dwOutVal; - int m_IntCount; - int m_IntCount2; - HANDLE m_hIntEvent[2]; - U32 m_dwPressCount; - - // Generated message map functions - virtual BOOL OnInitDialog(); - afx_msg void OnSysCommand(UINT nID, LPARAM lParam); - afx_msg void OnPaint(); - afx_msg HCURSOR OnQueryDragIcon(); - afx_msg LRESULT OnExtSIGInterrupt1(WPARAM wParam, LPARAM lParam); - afx_msg LRESULT OnExtSIGInterrupt2(WPARAM wParam, LPARAM lParam); - DECLARE_MESSAGE_MAP() -public: - afx_msg void OnDestroy(); - afx_msg void OnOutput(); -}; diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7442/SDK7442DbEvtMsg/CardIDDlg.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7442/SDK7442DbEvtMsg/CardIDDlg.cpp deleted file mode 100644 index 68a35f6..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7442/SDK7442DbEvtMsg/CardIDDlg.cpp +++ /dev/null @@ -1,67 +0,0 @@ -// CardIDDlg.cpp : implementation file -// - -#include "stdafx.h" -#include "7442int.h" -#include "CardIDDlg.h" - - -// CCardIDDlg dialog - -IMPLEMENT_DYNAMIC(CCardIDDlg, CDialog) - -CCardIDDlg::CCardIDDlg(int nCardIdx, CWnd* pParent /*=NULL*/) - : CDialog(CCardIDDlg::IDD, pParent) -{ - m_nCardIdx = nCardIdx; -} - -CCardIDDlg::~CCardIDDlg() -{ -} - -void CCardIDDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); - DDX_Control(pDX, IDC_COMBO_CARDID, m_cbCardID); -} - - -BEGIN_MESSAGE_MAP(CCardIDDlg, CDialog) -// ON_CBN_SELCHANGE(IDC_COMBO_CARDID, &CCardIDDlg::OnCbnSelchangeComboCardid) -ON_BN_CLICKED(IDOK, &CCardIDDlg::OnBnClickedOk) -//ON_WM_CTLCOLOR() -END_MESSAGE_MAP() - - -// CCardIDDlg message handlers - - -void CCardIDDlg::OnBnClickedOk() -{ - // TODO: Add your control notification handler code here - -// UpdateData(TRUE); - m_nCardIdx = m_cbCardID.GetCurSel(); - - OnOK(); -} - -BOOL CCardIDDlg::OnInitDialog() -{ - CDialog::OnInitDialog(); - - // TODO: Add extra initialization here - m_cbCardID.SetCurSel( m_nCardIdx ); - - return TRUE; // return TRUE unless you set the focus to a control - // EXCEPTION: OCX Property Pages should return FALSE -} - -// the function to get the selected CardID -int CCardIDDlg::GetCardID(void) -{ - return m_nCardIdx; -} - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7442/SDK7442DbEvtMsg/CardIDDlg.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7442/SDK7442DbEvtMsg/CardIDDlg.h deleted file mode 100644 index 54628ea..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7442/SDK7442DbEvtMsg/CardIDDlg.h +++ /dev/null @@ -1,33 +0,0 @@ -#pragma once -#include "afxwin.h" - - -// CCardIDDlg dialog - -class CCardIDDlg : public CDialog -{ - DECLARE_DYNAMIC(CCardIDDlg) - -public: - CCardIDDlg(int nCardIdx, CWnd* pParent = NULL); // standard constructor - virtual ~CCardIDDlg(); - -// Dialog Data - enum { IDD = IDD_CARDID_DIALOG }; - -protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - - DECLARE_MESSAGE_MAP() -public: -// afx_msg void OnCbnSelchangeComboCardid(); - afx_msg void OnBnClickedOk(); - // the setting of CardID ComboBox - int m_nCardIdx; - virtual BOOL OnInitDialog(); - // the control of CardID ComboBox - CComboBox m_cbCardID; - // the function to get the selected CardID - int GetCardID(void); -// afx_msg HBRUSH OnCtlColor(CDC* pDC, CWnd* pWnd, UINT nCtlColor); -}; diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7442/SDK7442DbEvtMsg/ReadMe.txt b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7442/SDK7442DbEvtMsg/ReadMe.txt deleted file mode 100644 index 0757c21..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7442/SDK7442DbEvtMsg/ReadMe.txt +++ /dev/null @@ -1,93 +0,0 @@ -================================================================================ - MICROSOFT FOUNDATION CLASS LIBRARY : 7442int Project Overview -=============================================================================== - -The application wizard has created this 7442int application for -you. This application not only demonstrates the basics of using the Microsoft -Foundation Classes but is also a starting point for writing your application. - -This file contains a summary of what you will find in each of the files that -make up your 7442int application. - -7442int.vcproj - This is the main project file for VC++ projects generated using an application wizard. - It contains information about the version of Visual C++ that generated the file, and - information about the platforms, configurations, and project features selected with the - application wizard. - -7442int.h - This is the main header file for the application. It includes other - project specific headers (including Resource.h) and declares the - C7442intApp application class. - -7442int.cpp - This is the main application source file that contains the application - class C7442intApp. - -7442int.rc - This is a listing of all of the Microsoft Windows resources that the - program uses. It includes the icons, bitmaps, and cursors that are stored - in the RES subdirectory. This file can be directly edited in Microsoft - Visual C++. Your project resources are in 1033. - -res\7442int.ico - This is an icon file, which is used as the application's icon. This - icon is included by the main resource file 7442int.rc. - -res\My7442int.rc2 - This file contains resources that are not edited by Microsoft - Visual C++. You should place all resources not editable by - the resource editor in this file. - - -///////////////////////////////////////////////////////////////////////////// - -The application wizard creates one dialog class: - -7442intDlg.h, 7442intDlg.cpp - the dialog - These files contain your C7442intDlg class. This class defines - the behavior of your application's main dialog. The dialog's template is - in 7442int.rc, which can be edited in Microsoft Visual C++. - - -///////////////////////////////////////////////////////////////////////////// - -Other Features: - -ActiveX Controls - The application includes support to use ActiveX controls. - -///////////////////////////////////////////////////////////////////////////// - -Other standard files: - -StdAfx.h, StdAfx.cpp - These files are used to build a precompiled header (PCH) file - named 7442int.pch and a precompiled types file named StdAfx.obj. - -Resource.h - This is the standard header file, which defines new resource IDs. - Microsoft Visual C++ reads and updates this file. - -7442int.manifest - Application manifest files are used by Windows XP to describe an applications - dependency on specific versions of Side-by-Side assemblies. The loader uses this - information to load the appropriate assembly from the assembly cache or private - from the application. The Application manifest maybe included for redistribution - as an external .manifest file that is installed in the same folder as the application - executable or it may be included in the executable in the form of a resource. -///////////////////////////////////////////////////////////////////////////// - -Other notes: - -The application wizard uses "TODO:" to indicate parts of the source code you -should add to or customize. - -If your application uses MFC in a shared DLL, you will need -to redistribute the MFC DLLs. If your application is in a language -other than the operating system's locale, you will also have to -redistribute the corresponding localized resources MFC90XXX.DLL. -For more information on both of these topics, please see the section on -redistributing Visual C++ applications in MSDN documentation. - -///////////////////////////////////////////////////////////////////////////// diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7442/SDK7442DbEvtMsg/res/7442int.ico b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7442/SDK7442DbEvtMsg/res/7442int.ico deleted file mode 100644 index d56fbcd..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7442/SDK7442DbEvtMsg/res/7442int.ico and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7442/SDK7442DbEvtMsg/res/My7442int.rc2 b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7442/SDK7442DbEvtMsg/res/My7442int.rc2 deleted file mode 100644 index 7bd3593..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7442/SDK7442DbEvtMsg/res/My7442int.rc2 +++ /dev/null @@ -1,13 +0,0 @@ -// -// My7256int.RC2 - resources Microsoft Visual C++ does not edit directly -// - -#ifdef APSTUDIO_INVOKED -#error this file is not editable by Microsoft Visual C++ -#endif //APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// Add manually edited resources here... - -///////////////////////////////////////////////////////////////////////////// diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7442/SDK7442DbEvtMsg/resource.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7442/SDK7442DbEvtMsg/resource.h deleted file mode 100644 index a15c551..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7442/SDK7442DbEvtMsg/resource.h +++ /dev/null @@ -1,28 +0,0 @@ -//{{NO_DEPENDENCIES}} -// Microsoft Visual C++ generated include file. -// Used by 7442int.rc -// -#define IDM_ABOUTBOX 0x0010 -#define IDD_ABOUTBOX 100 -#define IDS_ABOUTBOX 101 -#define IDD_MY7442INT_DIALOG 102 -#define IDR_MAINFRAME 128 -#define IDD_CARDID_DIALOG 129 -#define IDC_COMBO_CARDID 1000 -#define IDC_BUTTON1 1000 -#define IDC_BT_OUTPUT 1000 -#define IDC_STATIC_05 1007 -#define IDC_STATIC_06 1008 -#define IDC_STATIC_6 1008 -#define IDC_STATIC_01 1014 - -// Next default values for new objects -// -#ifdef APSTUDIO_INVOKED -#ifndef APSTUDIO_READONLY_SYMBOLS -#define _APS_NEXT_RESOURCE_VALUE 131 -#define _APS_NEXT_COMMAND_VALUE 32771 -#define _APS_NEXT_CONTROL_VALUE 1001 -#define _APS_NEXT_SYMED_VALUE 101 -#endif -#endif diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7442/SDK7442DbEvtMsg/stdafx.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7442/SDK7442DbEvtMsg/stdafx.cpp deleted file mode 100644 index 92bfc75..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7442/SDK7442DbEvtMsg/stdafx.cpp +++ /dev/null @@ -1,8 +0,0 @@ - -// stdafx.cpp : source file that includes just the standard includes -// 7442int.pch will be the pre-compiled header -// stdafx.obj will contain the pre-compiled type information - -#include "stdafx.h" - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7442/SDK7442DbEvtMsg/stdafx.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7442/SDK7442DbEvtMsg/stdafx.h deleted file mode 100644 index 12123e2..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7442/SDK7442DbEvtMsg/stdafx.h +++ /dev/null @@ -1,60 +0,0 @@ - -// stdafx.h : include file for standard system include files, -// or project specific include files that are used frequently, -// but are changed infrequently - -#pragma once - -#ifndef _SECURE_ATL -#define _SECURE_ATL 1 -#endif - -#ifndef VC_EXTRALEAN -#define VC_EXTRALEAN // Exclude rarely-used stuff from Windows headers -#endif - -#include "targetver.h" - -#define _ATL_CSTRING_EXPLICIT_CONSTRUCTORS // some CString constructors will be explicit - -// turns off MFC's hiding of some common and often safely ignored warning messages -#define _AFX_ALL_WARNINGS - -#include // MFC core and standard components -#include // MFC extensions - - -#include // MFC Automation classes - - - -#ifndef _AFX_NO_OLE_SUPPORT -#include // MFC support for Internet Explorer 4 Common Controls -#endif -#ifndef _AFX_NO_AFXCMN_SUPPORT -#include // MFC support for Windows Common Controls -#endif // _AFX_NO_AFXCMN_SUPPORT - -#include // MFC support for ribbons and control bars - - - - - - - - - -#ifdef _UNICODE -#if defined _M_IX86 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='x86' publicKeyToken='6595b64144ccf1df' language='*'\"") -#elif defined _M_IA64 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='ia64' publicKeyToken='6595b64144ccf1df' language='*'\"") -#elif defined _M_X64 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='amd64' publicKeyToken='6595b64144ccf1df' language='*'\"") -#else -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='*' publicKeyToken='6595b64144ccf1df' language='*'\"") -#endif -#endif - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7442/SDK7442DbEvtMsg/targetver.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7442/SDK7442DbEvtMsg/targetver.h deleted file mode 100644 index 11730d5..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7442/SDK7442DbEvtMsg/targetver.h +++ /dev/null @@ -1,26 +0,0 @@ - -#pragma once - -// The following macros define the minimum required platform. The minimum required platform -// is the earliest version of Windows, Internet Explorer etc. that has the necessary features to run -// your application. The macros work by enabling all features available on platform versions up to and -// including the version specified. - -// Modify the following defines if you have to target a platform prior to the ones specified below. -// Refer to MSDN for the latest info on corresponding values for different platforms. -#ifndef WINVER // Specifies that the minimum required platform is Windows Vista. -#define WINVER 0x0600 // Change this to the appropriate value to target other versions of Windows. -#endif - -#ifndef _WIN32_WINNT // Specifies that the minimum required platform is Windows Vista. -#define _WIN32_WINNT 0x0600 // Change this to the appropriate value to target other versions of Windows. -#endif - -#ifndef _WIN32_WINDOWS // Specifies that the minimum required platform is Windows 98. -#define _WIN32_WINDOWS 0x0410 // Change this to the appropriate value to target Windows Me or later. -#endif - -#ifndef _WIN32_IE // Specifies that the minimum required platform is Internet Explorer 7.0. -#define _WIN32_IE 0x0700 // Change this to the appropriate value to target other versions of IE. -#endif - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7442/SDK7442TTL/CardIDDlg.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7442/SDK7442TTL/CardIDDlg.cpp deleted file mode 100644 index 04c282d..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7442/SDK7442TTL/CardIDDlg.cpp +++ /dev/null @@ -1,67 +0,0 @@ -// CardIDDlg.cpp : implementation file -// - -#include "stdafx.h" -#include "Util7442.h" -#include "CardIDDlg.h" - - -// CCardIDDlg dialog - -IMPLEMENT_DYNAMIC(CCardIDDlg, CDialog) - -CCardIDDlg::CCardIDDlg(int nCardIdx, CWnd* pParent /*=NULL*/) - : CDialog(CCardIDDlg::IDD, pParent) -{ - m_nCardIdx = nCardIdx; -} - -CCardIDDlg::~CCardIDDlg() -{ -} - -void CCardIDDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); - DDX_Control(pDX, IDC_COMBO_CARDID, m_cbCardID); -} - - -BEGIN_MESSAGE_MAP(CCardIDDlg, CDialog) -// ON_CBN_SELCHANGE(IDC_COMBO_CARDID, &CCardIDDlg::OnCbnSelchangeComboCardid) -ON_BN_CLICKED(IDOK, &CCardIDDlg::OnBnClickedOk) -//ON_WM_CTLCOLOR() -END_MESSAGE_MAP() - - -// CCardIDDlg message handlers - - -void CCardIDDlg::OnBnClickedOk() -{ - // TODO: Add your control notification handler code here - -// UpdateData(TRUE); - m_nCardIdx = m_cbCardID.GetCurSel(); - - OnOK(); -} - -BOOL CCardIDDlg::OnInitDialog() -{ - CDialog::OnInitDialog(); - - // TODO: Add extra initialization here - m_cbCardID.SetCurSel( m_nCardIdx ); - - return TRUE; // return TRUE unless you set the focus to a control - // EXCEPTION: OCX Property Pages should return FALSE -} - -// the function to get the selected CardID -int CCardIDDlg::GetCardID(void) -{ - return m_nCardIdx; -} - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7442/SDK7442TTL/CardIDDlg.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7442/SDK7442TTL/CardIDDlg.h deleted file mode 100644 index 54628ea..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7442/SDK7442TTL/CardIDDlg.h +++ /dev/null @@ -1,33 +0,0 @@ -#pragma once -#include "afxwin.h" - - -// CCardIDDlg dialog - -class CCardIDDlg : public CDialog -{ - DECLARE_DYNAMIC(CCardIDDlg) - -public: - CCardIDDlg(int nCardIdx, CWnd* pParent = NULL); // standard constructor - virtual ~CCardIDDlg(); - -// Dialog Data - enum { IDD = IDD_CARDID_DIALOG }; - -protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - - DECLARE_MESSAGE_MAP() -public: -// afx_msg void OnCbnSelchangeComboCardid(); - afx_msg void OnBnClickedOk(); - // the setting of CardID ComboBox - int m_nCardIdx; - virtual BOOL OnInitDialog(); - // the control of CardID ComboBox - CComboBox m_cbCardID; - // the function to get the selected CardID - int GetCardID(void); -// afx_msg HBRUSH OnCtlColor(CDC* pDC, CWnd* pWnd, UINT nCtlColor); -}; diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7442/SDK7442TTL/ReadMe.txt b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7442/SDK7442TTL/ReadMe.txt deleted file mode 100644 index 50d560e..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7442/SDK7442TTL/ReadMe.txt +++ /dev/null @@ -1,93 +0,0 @@ -================================================================================ - MICROSOFT FOUNDATION CLASS LIBRARY : Util7442 Project Overview -=============================================================================== - -The application wizard has created this Util7442 application for -you. This application not only demonstrates the basics of using the Microsoft -Foundation Classes but is also a starting point for writing your application. - -This file contains a summary of what you will find in each of the files that -make up your Util7442 application. - -Util7442.vcproj - This is the main project file for VC++ projects generated using an application wizard. - It contains information about the version of Visual C++ that generated the file, and - information about the platforms, configurations, and project features selected with the - application wizard. - -Util7442.h - This is the main header file for the application. It includes other - project specific headers (including Resource.h) and declares the - CUtil7442App application class. - -Util7442.cpp - This is the main application source file that contains the application - class CUtil7442App. - -Util7442.rc - This is a listing of all of the Microsoft Windows resources that the - program uses. It includes the icons, bitmaps, and cursors that are stored - in the RES subdirectory. This file can be directly edited in Microsoft - Visual C++. Your project resources are in 1033. - -res\Util7442.ico - This is an icon file, which is used as the application's icon. This - icon is included by the main resource file Util7442.rc. - -res\Util7442.rc2 - This file contains resources that are not edited by Microsoft - Visual C++. You should place all resources not editable by - the resource editor in this file. - - -///////////////////////////////////////////////////////////////////////////// - -The application wizard creates one dialog class: - -Util7442Dlg.h, Util7442Dlg.cpp - the dialog - These files contain your CUtil7442Dlg class. This class defines - the behavior of your application's main dialog. The dialog's template is - in Util7442.rc, which can be edited in Microsoft Visual C++. - - -///////////////////////////////////////////////////////////////////////////// - -Other Features: - -ActiveX Controls - The application includes support to use ActiveX controls. - -///////////////////////////////////////////////////////////////////////////// - -Other standard files: - -StdAfx.h, StdAfx.cpp - These files are used to build a precompiled header (PCH) file - named Util7442.pch and a precompiled types file named StdAfx.obj. - -Resource.h - This is the standard header file, which defines new resource IDs. - Microsoft Visual C++ reads and updates this file. - -Util7442.manifest - Application manifest files are used by Windows XP to describe an applications - dependency on specific versions of Side-by-Side assemblies. The loader uses this - information to load the appropriate assembly from the assembly cache or private - from the application. The Application manifest maybe included for redistribution - as an external .manifest file that is installed in the same folder as the application - executable or it may be included in the executable in the form of a resource. -///////////////////////////////////////////////////////////////////////////// - -Other notes: - -The application wizard uses "TODO:" to indicate parts of the source code you -should add to or customize. - -If your application uses MFC in a shared DLL, you will need -to redistribute the MFC DLLs. If your application is in a language -other than the operating system's locale, you will also have to -redistribute the corresponding localized resources MFC90XXX.DLL. -For more information on both of these topics, please see the section on -redistributing Visual C++ applications in MSDN documentation. - -///////////////////////////////////////////////////////////////////////////// diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7442/SDK7442TTL/Util7233.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7442/SDK7442TTL/Util7233.suo deleted file mode 100644 index 27cf546..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7442/SDK7442TTL/Util7233.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7442/SDK7442TTL/Util7432.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7442/SDK7442TTL/Util7432.suo deleted file mode 100644 index 5326804..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7442/SDK7442TTL/Util7432.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7442/SDK7442TTL/Util7442.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7442/SDK7442TTL/Util7442.cpp deleted file mode 100644 index be114e2..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7442/SDK7442TTL/Util7442.cpp +++ /dev/null @@ -1,111 +0,0 @@ - -// Util7442.cpp : Defines the class behaviors for the application. -// - -#include "stdafx.h" -#include "Util7442.h" -#include "Util7442Dlg.h" -#include "CardIDDlg.h" - - -#ifdef _DEBUG -#define new DEBUG_NEW -#endif - - -// CUtil7442App - -BEGIN_MESSAGE_MAP(CUtil7442App, CWinAppEx) - ON_COMMAND(ID_HELP, &CWinApp::OnHelp) -END_MESSAGE_MAP() - - -// CUtil7442App construction - -CUtil7442App::CUtil7442App() -{ - // TODO: add construction code here, - // Place all significant initialization in InitInstance -} - - -// The one and only CUtil7442App object - -CUtil7442App theApp; - - -// CUtil7442App initialization - -BOOL CUtil7442App::InitInstance() -{ - int nCardID = 0; - I16 hCard; - CString strTemp; - INT_PTR nResponse; - - // InitCommonControlsEx() is required on Windows XP if an application - // manifest specifies use of ComCtl32.dll version 6 or later to enable - // visual styles. Otherwise, any window creation will fail. - INITCOMMONCONTROLSEX InitCtrls; - InitCtrls.dwSize = sizeof(InitCtrls); - // Set this to include all the common control classes you want to use - // in your application. - InitCtrls.dwICC = ICC_WIN95_CLASSES; - InitCommonControlsEx(&InitCtrls); - - CWinAppEx::InitInstance(); - - AfxEnableControlContainer(); - - // Standard initialization - // If you are not using these features and wish to reduce the size - // of your final executable, you should remove from the following - // the specific initialization routines you do not need - // Change the registry key under which our settings are stored - // TODO: You should modify this string to be something appropriate - // such as the name of your company or organization - SetRegistryKey(_T("Local AppWizard-Generated Applications")); - - CCardIDDlg CardDlg( nCardID ); - - nResponse = CardDlg.DoModal(); - if (nResponse == IDOK) - { - nCardID = CardDlg.GetCardID(); - - if ((hCard=Register_Card(PCI_7442, nCardID)) < 0) - { - strTemp.Format( TEXT("Register_Card Error = %d"), hCard); - AfxMessageBox( strTemp ); - } - else - { - CUtil7442Dlg dlg(hCard); - m_pMainWnd = &dlg; - nResponse = dlg.DoModal(); - if (nResponse == IDOK) - { - // TODO: Place code here to handle when the dialog is - // dismissed with OK - } - else if (nResponse == IDCANCEL) - { - // TODO: Place code here to handle when the dialog is - // dismissed with Cancel - } - - if (hCard >= 0) Release_Card(hCard); - } - - } - else if (nResponse == IDCANCEL) - { - // TODO: Place code here to handle when the dialog is - // dismissed with Cancel - } - - - // Since the dialog has been closed, return FALSE so that we exit the - // application, rather than start the application's message pump. - return FALSE; -} diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7442/SDK7442TTL/Util7442.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7442/SDK7442TTL/Util7442.h deleted file mode 100644 index 221c153..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7442/SDK7442TTL/Util7442.h +++ /dev/null @@ -1,32 +0,0 @@ - -// Util7442.h : main header file for the PROJECT_NAME application -// - -#pragma once - -#ifndef __AFXWIN_H__ - #error "include 'stdafx.h' before including this file for PCH" -#endif - -#include "resource.h" // main symbols - - -// CUtil7442App: -// See Util7442.cpp for the implementation of this class -// - -class CUtil7442App : public CWinAppEx -{ -public: - CUtil7442App(); - -// Overrides - public: - virtual BOOL InitInstance(); - -// Implementation - - DECLARE_MESSAGE_MAP() -}; - -extern CUtil7442App theApp; \ No newline at end of file diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7442/SDK7442TTL/Util7442.rc b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7442/SDK7442TTL/Util7442.rc deleted file mode 100644 index ad8a709..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7442/SDK7442TTL/Util7442.rc +++ /dev/null @@ -1,327 +0,0 @@ -// Microsoft Visual C++ generated resource script. -// -#include "resource.h" - -#define APSTUDIO_READONLY_SYMBOLS -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 2 resource. -// -#ifndef APSTUDIO_INVOKED -#include "targetver.h" -#endif -#include "afxres.h" - -///////////////////////////////////////////////////////////////////////////// -#undef APSTUDIO_READONLY_SYMBOLS - -///////////////////////////////////////////////////////////////////////////// -// Chinese (Taiwan) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_CHT) -#ifdef _WIN32 -LANGUAGE LANG_CHINESE, SUBLANG_CHINESE_TRADITIONAL -#pragma code_page(950) -#endif //_WIN32 - -#ifdef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// TEXTINCLUDE -// - -1 TEXTINCLUDE -BEGIN - "resource.h\0" -END - -2 TEXTINCLUDE -BEGIN - "#ifndef APSTUDIO_INVOKED\r\n" - "#include ""targetver.h""\r\n" - "#endif\r\n" - "#include ""afxres.h""\r\n" - "\0" -END - -3 TEXTINCLUDE -BEGIN - "#define _AFX_NO_SPLITTER_RESOURCES\r\n" - "#define _AFX_NO_OLE_RESOURCES\r\n" - "#define _AFX_NO_TRACKER_RESOURCES\r\n" - "#define _AFX_NO_PROPERTY_RESOURCES\r\n" - "\r\n" - "#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)\r\n" - "LANGUAGE 9, 1\r\n" - "#pragma code_page(1252)\r\n" - "#include ""res\\Util7442.rc2"" // non-Microsoft Visual C++ edited resources\r\n" - "#include ""afxres.rc"" // Standard components\r\n" - "#endif\r\n" - "\0" -END - -#endif // APSTUDIO_INVOKED - -#endif // Chinese (Taiwan) resources -///////////////////////////////////////////////////////////////////////////// - - -///////////////////////////////////////////////////////////////////////////// -// English (U.S.) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -#ifdef _WIN32 -LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US -#pragma code_page(1252) -#endif //_WIN32 - -///////////////////////////////////////////////////////////////////////////// -// -// Icon -// - -// Icon with lowest ID value placed first to ensure application icon -// remains consistent on all systems. -IDR_MAINFRAME ICON "res\\Util7442.ico" -IDI_ICON_BLACK ICON "res\\black.ico" -IDI_ICON_GREEN ICON "res\\green.ico" -IDI_ICON_RED ICON "res\\red.ico" - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog -// - -IDD_ABOUTBOX DIALOGEX 0, 0, 170, 62 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "About Util7442" -FONT 8, "MS Shell Dlg", 0, 0, 0x1 -BEGIN - ICON IDR_MAINFRAME,IDC_STATIC,14,14,21,20 - LTEXT "Util7442, Version 1.0",IDC_STATIC,42,14,114,8,SS_NOPREFIX - LTEXT "Copyright (C) 2010",IDC_STATIC,42,26,114,8 - DEFPUSHBUTTON "OK",IDOK,113,41,50,14,WS_GROUP -END - -IDD_UTIL7442_DIALOG DIALOGEX 0, 0, 318, 128 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU -EXSTYLE WS_EX_APPWINDOW -CAPTION "PCI-7442" -FONT 8, "MS Shell Dlg", 0, 0, 0x1 -BEGIN - ICON IDI_ICON_BLACK,IDC_ICON_DI00,282,24,21,20 - ICON IDI_ICON_BLACK,IDC_ICON_DI01,264,24,21,20 - ICON IDI_ICON_BLACK,IDC_ICON_DI02,246,24,21,20 - ICON IDI_ICON_BLACK,IDC_ICON_DI03,228,24,21,20 - ICON IDI_ICON_BLACK,IDC_ICON_DI04,210,24,21,20 - ICON IDI_ICON_BLACK,IDC_ICON_DI05,192,24,21,20 - ICON IDI_ICON_BLACK,IDC_ICON_DI06,174,24,21,20 - ICON IDI_ICON_BLACK,IDC_ICON_DI07,156,24,21,20 - ICON IDI_ICON_BLACK,IDC_ICON_DI08,138,24,21,20 - ICON IDI_ICON_BLACK,IDC_ICON_DI09,120,24,21,20 - ICON IDI_ICON_BLACK,IDC_ICON_DI10,102,24,21,20 - ICON IDI_ICON_BLACK,IDC_ICON_DI11,84,24,21,20 - ICON IDI_ICON_BLACK,IDC_ICON_DI12,66,24,21,20 - ICON IDI_ICON_BLACK,IDC_ICON_DI13,48,24,21,20 - ICON IDI_ICON_BLACK,IDC_ICON_DI14,30,24,21,20 - ICON IDI_ICON_BLACK,IDC_ICON_DI15,12,24,21,20 - LTEXT " 15 0",IDC_STATIC,12,40,289,13 - GROUPBOX "",IDC_STATIC,9,3,297,54 - CONTROL "",IDC_CHECK_DO00,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,289,92,12,12 - CONTROL "",IDC_CHECK_DO01,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,271,92,12,12 - CONTROL "",IDC_CHECK_DO02,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,253,92,12,12 - CONTROL "",IDC_CHECK_DO03,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,235,92,12,12 - CONTROL "",IDC_CHECK_DO04,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,217,92,12,12 - CONTROL "",IDC_CHECK_DO05,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,199,92,12,12 - CONTROL "",IDC_CHECK_DO06,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,181,92,12,12 - CONTROL "",IDC_CHECK_DO07,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,163,92,12,12 - CONTROL "",IDC_CHECK_DO08,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,145,92,12,12 - CONTROL "",IDC_CHECK_DO09,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,127,92,12,12 - CONTROL "",IDC_CHECK_DO10,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,109,92,12,12 - CONTROL "",IDC_CHECK_DO11,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,91,92,12,12 - CONTROL "",IDC_CHECK_DO12,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,73,92,12,12 - CONTROL "",IDC_CHECK_DO13,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,55,92,12,12 - CONTROL "",IDC_CHECK_DO14,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,37,92,12,12 - CONTROL "",IDC_CHECK_DO15,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,19,92,12,12 - LTEXT " 15 0",IDC_STATIC,13,104,289,13 - GROUPBOX "",IDC_STATIC,9,59,297,60 - COMBOBOX IDC_COMBO_OUTPUT,100,68,49,18,CBS_DROPDOWN | WS_VSCROLL | WS_TABSTOP - LTEXT "Digital Output (TTL)",IDC_STATIC,17,70,73,15 - COMBOBOX IDC_COMBO_INPUT,100,11,49,18,CBS_DROPDOWN | WS_VSCROLL | WS_TABSTOP - LTEXT "Digital Input (TTL)",IDC_STATIC,18,13,73,15 -END - -IDD_CARDID_DIALOG DIALOGEX 0, 0, 163, 87 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "Card ID" -FONT 8, "MS Shell Dlg", 400, 0, 0x1 -BEGIN - COMBOBOX IDC_COMBO_CARDID,73,17,71,126,CBS_DROPDOWN | WS_VSCROLL | WS_TABSTOP - LTEXT "Card Number",IDC_STATIC_01,19,18,46,12 - PUSHBUTTON "OK",IDOK,20,50,58,19 - PUSHBUTTON "CANCEL",IDCANCEL,84,50,58,19 -END - - -///////////////////////////////////////////////////////////////////////////// -// -// Version -// - -VS_VERSION_INFO VERSIONINFO - FILEVERSION 1,0,0,1 - PRODUCTVERSION 1,0,0,1 - FILEFLAGSMASK 0x3fL -#ifdef _DEBUG - FILEFLAGS 0x1L -#else - FILEFLAGS 0x0L -#endif - FILEOS 0x4L - FILETYPE 0x1L - FILESUBTYPE 0x0L -BEGIN - BLOCK "StringFileInfo" - BEGIN - BLOCK "040904e4" - BEGIN - VALUE "CompanyName", "TODO: " - VALUE "FileDescription", "TODO: " - VALUE "FileVersion", "1.0.0.1" - VALUE "InternalName", "Util7442.exe" - VALUE "LegalCopyright", "TODO: (c) . All rights reserved." - VALUE "OriginalFilename", "Util7442.exe" - VALUE "ProductName", "TODO: " - VALUE "ProductVersion", "1.0.0.1" - END - END - BLOCK "VarFileInfo" - BEGIN - VALUE "Translation", 0x409, 1252 - END -END - - -///////////////////////////////////////////////////////////////////////////// -// -// DESIGNINFO -// - -#ifdef APSTUDIO_INVOKED -GUIDELINES DESIGNINFO -BEGIN - IDD_ABOUTBOX, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 163 - TOPMARGIN, 7 - BOTTOMMARGIN, 55 - END - - IDD_UTIL7442_DIALOG, DIALOG - BEGIN - BOTTOMMARGIN, 127 - END - - IDD_CARDID_DIALOG, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 156 - TOPMARGIN, 7 - BOTTOMMARGIN, 80 - END -END -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog Info -// - -IDD_CARDID_DIALOG DLGINIT -BEGIN - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0030, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0031, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0032, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0033, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0034, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0035, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0036, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0037, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0038, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0039, - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3031, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3131, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3231, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3331, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3431, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3531, "\000" - 0 -END - -IDD_UTIL7442_DIALOG DLGINIT -BEGIN - IDC_COMBO_OUTPUT, 0x403, 5, 0 -0x5454, 0x304c, "\000" - IDC_COMBO_OUTPUT, 0x403, 5, 0 -0x5454, 0x314c, "\000" - IDC_COMBO_INPUT, 0x403, 5, 0 -0x5454, 0x304c, "\000" - IDC_COMBO_INPUT, 0x403, 5, 0 -0x5454, 0x314c, "\000" - 0 -END - - -///////////////////////////////////////////////////////////////////////////// -// -// String Table -// - -STRINGTABLE -BEGIN - IDS_ABOUTBOX "&About Util7442..." -END - -#endif // English (U.S.) resources -///////////////////////////////////////////////////////////////////////////// - - - -#ifndef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 3 resource. -// -#define _AFX_NO_SPLITTER_RESOURCES -#define _AFX_NO_OLE_RESOURCES -#define _AFX_NO_TRACKER_RESOURCES -#define _AFX_NO_PROPERTY_RESOURCES - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -LANGUAGE 9, 1 -#pragma code_page(1252) -#include "res\Util7442.rc2" // non-Microsoft Visual C++ edited resources -#include "afxres.rc" // Standard components -#endif - -///////////////////////////////////////////////////////////////////////////// -#endif // not APSTUDIO_INVOKED - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7442/SDK7442TTL/Util7442.sln b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7442/SDK7442TTL/Util7442.sln deleted file mode 100644 index dab439a..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7442/SDK7442TTL/Util7442.sln +++ /dev/null @@ -1,20 +0,0 @@ - -Microsoft Visual Studio Solution File, Format Version 10.00 -# Visual Studio 2008 -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "Util7442", "Util7442.vcproj", "{C7FD46C6-5640-46BB-9CDF-718DC4621FFD}" -EndProject -Global - GlobalSection(SolutionConfigurationPlatforms) = preSolution - Debug|x64 = Debug|x64 - Release|x64 = Release|x64 - EndGlobalSection - GlobalSection(ProjectConfigurationPlatforms) = postSolution - {C7FD46C6-5640-46BB-9CDF-718DC4621FFD}.Debug|x64.ActiveCfg = Debug|x64 - {C7FD46C6-5640-46BB-9CDF-718DC4621FFD}.Debug|x64.Build.0 = Debug|x64 - {C7FD46C6-5640-46BB-9CDF-718DC4621FFD}.Release|x64.ActiveCfg = Release|x64 - {C7FD46C6-5640-46BB-9CDF-718DC4621FFD}.Release|x64.Build.0 = Release|x64 - EndGlobalSection - GlobalSection(SolutionProperties) = preSolution - HideSolutionNode = FALSE - EndGlobalSection -EndGlobal diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7442/SDK7442TTL/Util7442.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7442/SDK7442TTL/Util7442.suo deleted file mode 100644 index 4b58628..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7442/SDK7442TTL/Util7442.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7442/SDK7442TTL/Util7442.vcproj b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7442/SDK7442TTL/Util7442.vcproj deleted file mode 100644 index 75f5596..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7442/SDK7442TTL/Util7442.vcproj +++ /dev/null @@ -1,298 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7442/SDK7442TTL/Util7442Dlg.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7442/SDK7442TTL/Util7442Dlg.cpp deleted file mode 100644 index 1bee6cc..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7442/SDK7442TTL/Util7442Dlg.cpp +++ /dev/null @@ -1,807 +0,0 @@ - -// Util7442Dlg.cpp : implementation file -// - -#include "stdafx.h" -#include "Util7442.h" -#include "Util7442Dlg.h" - -#ifdef _DEBUG -#define new DEBUG_NEW -#endif - - -// CAboutDlg dialog used for App About - -class CAboutDlg : public CDialog -{ -public: - CAboutDlg(); - -// Dialog Data - enum { IDD = IDD_ABOUTBOX }; - - protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - -// Implementation -protected: - DECLARE_MESSAGE_MAP() -}; - -CAboutDlg::CAboutDlg() : CDialog(CAboutDlg::IDD) -{ -} - -void CAboutDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); -} - -BEGIN_MESSAGE_MAP(CAboutDlg, CDialog) -END_MESSAGE_MAP() - - -// CUtil7442Dlg dialog - - - - -CUtil7442Dlg::CUtil7442Dlg(I16 hCard, CWnd* pParent /*=NULL*/) - : CDialog(CUtil7442Dlg::IDD, pParent) -{ - m_hIcon = AfxGetApp()->LoadIcon(IDR_MAINFRAME); - - m_hCard = hCard; - m_nTimer = -1; - - m_dwInData[0] = m_dwInData[1] = 0x00000000; - m_dwOutData[0] = m_dwOutData[1] = 0x00000000; - - m_InDataPort = P7442_TTL0; - m_OutDataPort = P7442_TTL1; - - m_InPortIdx = 0; - m_OutPortIdx = 1; - -} - -void CUtil7442Dlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); - DDX_Control(pDX, IDC_ICON_DI00, m_Icon_DI00); - DDX_Control(pDX, IDC_ICON_DI01, m_Icon_DI01); - DDX_Control(pDX, IDC_ICON_DI02, m_Icon_DI02); - DDX_Control(pDX, IDC_ICON_DI03, m_Icon_DI03); - DDX_Control(pDX, IDC_ICON_DI04, m_Icon_DI04); - DDX_Control(pDX, IDC_ICON_DI05, m_Icon_DI05); - DDX_Control(pDX, IDC_ICON_DI06, m_Icon_DI06); - DDX_Control(pDX, IDC_ICON_DI07, m_Icon_DI07); - DDX_Control(pDX, IDC_ICON_DI08, m_Icon_DI08); - DDX_Control(pDX, IDC_ICON_DI09, m_Icon_DI09); - DDX_Control(pDX, IDC_ICON_DI10, m_Icon_DI10); - DDX_Control(pDX, IDC_ICON_DI11, m_Icon_DI11); - DDX_Control(pDX, IDC_ICON_DI12, m_Icon_DI12); - DDX_Control(pDX, IDC_ICON_DI13, m_Icon_DI13); - DDX_Control(pDX, IDC_ICON_DI14, m_Icon_DI14); - DDX_Control(pDX, IDC_ICON_DI15, m_Icon_DI15); - DDX_Control(pDX, IDC_COMBO_INPUT, m_cbPortInput); - DDX_Control(pDX, IDC_COMBO_OUTPUT, m_cbPortOutput); -} - -BEGIN_MESSAGE_MAP(CUtil7442Dlg, CDialog) - ON_WM_SYSCOMMAND() - ON_WM_PAINT() - ON_WM_QUERYDRAGICON() - //}}AFX_MSG_MAP - ON_BN_CLICKED(IDC_CHECK_DO00, &CUtil7442Dlg::OnOut00) - ON_BN_CLICKED(IDC_CHECK_DO01, &CUtil7442Dlg::OnOut01) - ON_BN_CLICKED(IDC_CHECK_DO02, &CUtil7442Dlg::OnOut02) - ON_BN_CLICKED(IDC_CHECK_DO03, &CUtil7442Dlg::OnOut03) - ON_BN_CLICKED(IDC_CHECK_DO04, &CUtil7442Dlg::OnOut04) - ON_BN_CLICKED(IDC_CHECK_DO05, &CUtil7442Dlg::OnOut05) - ON_BN_CLICKED(IDC_CHECK_DO06, &CUtil7442Dlg::OnOut06) - ON_BN_CLICKED(IDC_CHECK_DO07, &CUtil7442Dlg::OnOut07) - ON_BN_CLICKED(IDC_CHECK_DO08, &CUtil7442Dlg::OnOut08) - ON_BN_CLICKED(IDC_CHECK_DO09, &CUtil7442Dlg::OnOut09) - ON_BN_CLICKED(IDC_CHECK_DO10, &CUtil7442Dlg::OnOut10) - ON_BN_CLICKED(IDC_CHECK_DO11, &CUtil7442Dlg::OnOut11) - ON_BN_CLICKED(IDC_CHECK_DO12, &CUtil7442Dlg::OnOut12) - ON_BN_CLICKED(IDC_CHECK_DO13, &CUtil7442Dlg::OnOut13) - ON_BN_CLICKED(IDC_CHECK_DO14, &CUtil7442Dlg::OnOut14) - ON_BN_CLICKED(IDC_CHECK_DO15, &CUtil7442Dlg::OnOut15) - ON_WM_DESTROY() - ON_WM_TIMER() - ON_CBN_SELCHANGE(IDC_COMBO_INPUT, &CUtil7442Dlg::OnInPortSelchange) - ON_CBN_SELCHANGE(IDC_COMBO_OUTPUT, &CUtil7442Dlg::OnOutPortSelchange) -END_MESSAGE_MAP() - - -// CUtil7442Dlg message handlers - -BOOL CUtil7442Dlg::OnInitDialog() -{ - CDialog::OnInitDialog(); - - // Add "About..." menu item to system menu. - - // IDM_ABOUTBOX must be in the system command range. - ASSERT((IDM_ABOUTBOX & 0xFFF0) == IDM_ABOUTBOX); - ASSERT(IDM_ABOUTBOX < 0xF000); - - CMenu* pSysMenu = GetSystemMenu(FALSE); - if (pSysMenu != NULL) - { - BOOL bNameValid; - CString strAboutMenu; - bNameValid = strAboutMenu.LoadString(IDS_ABOUTBOX); - ASSERT(bNameValid); - if (!strAboutMenu.IsEmpty()) - { - pSysMenu->AppendMenu(MF_SEPARATOR); - pSysMenu->AppendMenu(MF_STRING, IDM_ABOUTBOX, strAboutMenu); - } - } - - // Set the icon for this dialog. The framework does this automatically - // when the application's main window is not a dialog - SetIcon(m_hIcon, TRUE); // Set big icon - SetIcon(m_hIcon, FALSE); // Set small icon - - // TODO: Add extra initialization here - m_cbPortInput.SetCurSel(m_InPortIdx); - m_cbPortOutput.SetCurSel(m_OutPortIdx); - - DIO_PortConfig(m_hCard, m_InDataPort, INPUT_PORT); - DIO_PortConfig(m_hCard, m_OutDataPort, OUTPUT_PORT); - - DO_WritePort( m_hCard, m_OutDataPort, m_dwOutData[m_OutPortIdx] ); - - m_nTimer = SetTimer( 1, 250, NULL ); - - return TRUE; // return TRUE unless you set the focus to a control -} - -void CUtil7442Dlg::OnSysCommand(UINT nID, LPARAM lParam) -{ - if ((nID & 0xFFF0) == IDM_ABOUTBOX) - { - CAboutDlg dlgAbout; - dlgAbout.DoModal(); - } - else - { - CDialog::OnSysCommand(nID, lParam); - } -} - -// If you add a minimize button to your dialog, you will need the code below -// to draw the icon. For MFC applications using the document/view model, -// this is automatically done for you by the framework. - -void CUtil7442Dlg::OnPaint() -{ - if (IsIconic()) - { - CPaintDC dc(this); // device context for painting - - SendMessage(WM_ICONERASEBKGND, reinterpret_cast(dc.GetSafeHdc()), 0); - - // Center icon in client rectangle - int cxIcon = GetSystemMetrics(SM_CXICON); - int cyIcon = GetSystemMetrics(SM_CYICON); - CRect rect; - GetClientRect(&rect); - int x = (rect.Width() - cxIcon + 1) / 2; - int y = (rect.Height() - cyIcon + 1) / 2; - - // Draw the icon - dc.DrawIcon(x, y, m_hIcon); - } - else - { - CDialog::OnPaint(); - } -} - -// The system calls this function to obtain the cursor to display while the user drags -// the minimized window. -HCURSOR CUtil7442Dlg::OnQueryDragIcon() -{ - return static_cast(m_hIcon); -} - - -void CUtil7442Dlg::OnDestroy() -{ - CDialog::OnDestroy(); - - // TODO: Add your message handler code here - if( m_nTimer != -1 ) - KillTimer( m_nTimer ); -} - -void CUtil7442Dlg::OnTimer(UINT_PTR nIDEvent) -{ - // TODO: Add your message handler code here and/or call default - U32 dwPortData, dwChangeMask; - - DI_ReadPort(m_hCard, m_InDataPort, &dwPortData); - - dwChangeMask = dwPortData ^ m_dwInData[m_InPortIdx]; - - if( dwChangeMask != 0x00 ) // Input had been changed - { - m_dwInData[m_InPortIdx] = dwPortData; // update the DI data - - if( (dwChangeMask & 0x01) == 0x01 ) // if the target bit is changed - { - if( (dwPortData & 0x01) == 0x01 ) - { - m_Icon_DI00.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_DI00.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - - if( (dwChangeMask & 0x02) == 0x02 ) // if the target bit is changed - { - if( (dwPortData & 0x02) == 0x02 ) - { - m_Icon_DI01.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_DI01.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - if( (dwChangeMask & 0x04) == 0x04 ) // if the target bit is changed - { - if( (dwPortData & 0x04) == 0x04 ) - { - m_Icon_DI02.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_DI02.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - - if( (dwChangeMask & 0x08) == 0x08 ) // if the target bit is changed - { - if( (dwPortData & 0x08) == 0x08 ) - { - m_Icon_DI03.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_DI03.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - if( (dwChangeMask & 0x10) == 0x10 ) // if the target bit is changed - { - if( (dwPortData & 0x10) == 0x10 ) - { - m_Icon_DI04.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_DI04.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - if( (dwChangeMask & 0x20) == 0x20 ) // if the target bit is changed - { - if( (dwPortData & 0x20) == 0x20 ) - { - m_Icon_DI05.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_DI05.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - - if( (dwChangeMask & 0x40) == 0x40 ) // if the target bit is changed - { - if( (dwPortData & 0x40) == 0x40 ) - { - m_Icon_DI06.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_DI06.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - - if( (dwChangeMask & 0x80) == 0x80 ) // if the target bit is changed - { - if( (dwPortData & 0x80) == 0x80 ) - { - m_Icon_DI07.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_DI07.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - - if( (dwChangeMask & 0x100) == 0x100 ) // if the target bit is changed - { - if( (dwPortData & 0x100) == 0x100 ) - { - m_Icon_DI08.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_DI08.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - if( (dwChangeMask & 0x200) == 0x200 ) // if the target bit is changed - { - if( (dwPortData & 0x200) == 0x200 ) - { - m_Icon_DI09.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_DI09.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - if( (dwChangeMask & 0x400) == 0x400 ) // if the target bit is changed - { - if( (dwPortData & 0x400) == 0x400 ) - { - m_Icon_DI10.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_DI10.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - if( (dwChangeMask & 0x800) == 0x800 ) // if the target bit is changed - { - if( (dwPortData & 0x800) == 0x800 ) - { - m_Icon_DI11.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_DI11.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - if( (dwChangeMask & 0x1000) == 0x1000 ) // if the target bit is changed - { - if( (dwPortData & 0x1000) == 0x1000 ) - { - m_Icon_DI12.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_DI12.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - if( (dwChangeMask & 0x2000) == 0x2000 ) // if the target bit is changed - { - if( (dwPortData & 0x2000) == 0x2000 ) - { - m_Icon_DI13.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_DI13.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - if( (dwChangeMask & 0x4000) == 0x4000 ) // if the target bit is changed - { - if( (dwPortData & 0x4000) == 0x4000 ) - { - m_Icon_DI14.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_DI14.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - if( (dwChangeMask & 0x8000) == 0x8000 ) // if the target bit is changed - { - if( (dwPortData & 0x8000) == 0x8000 ) - { - m_Icon_DI15.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_DI15.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - } - - CDialog::OnTimer(nIDEvent); -} - - -void CUtil7442Dlg::OnOut00() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_DO00 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_dwOutData[m_OutPortIdx] |= 0x01; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_dwOutData[m_OutPortIdx] &= (~0x01); - } - - DO_WritePort( m_hCard, m_OutDataPort, m_dwOutData[m_OutPortIdx] ); - -} - -void CUtil7442Dlg::OnOut01() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_DO01 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_dwOutData[m_OutPortIdx] |= 0x02; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_dwOutData[m_OutPortIdx] &= (~0x02); - } - - DO_WritePort( m_hCard, m_OutDataPort, m_dwOutData[m_OutPortIdx] ); -} - -void CUtil7442Dlg::OnOut02() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_DO02 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_dwOutData[m_OutPortIdx] |= 0x04; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_dwOutData[m_OutPortIdx] &= (~0x04); - } - - DO_WritePort( m_hCard, m_OutDataPort, m_dwOutData[m_OutPortIdx] ); -} - -void CUtil7442Dlg::OnOut03() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_DO03 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_dwOutData[m_OutPortIdx] |= 0x08; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_dwOutData[m_OutPortIdx] &= (~0x08); - } - - DO_WritePort( m_hCard, m_OutDataPort, m_dwOutData[m_OutPortIdx] ); -} - -void CUtil7442Dlg::OnOut04() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_DO04 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_dwOutData[m_OutPortIdx] |= 0x10; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_dwOutData[m_OutPortIdx] &= (~0x10); - } - - DO_WritePort( m_hCard, m_OutDataPort, m_dwOutData[m_OutPortIdx] ); -} - -void CUtil7442Dlg::OnOut05() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_DO05 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_dwOutData[m_OutPortIdx] |= 0x20; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_dwOutData[m_OutPortIdx] &= (~0x20); - } - - DO_WritePort( m_hCard, m_OutDataPort, m_dwOutData[m_OutPortIdx] ); -} - -void CUtil7442Dlg::OnOut06() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_DO06 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_dwOutData[m_OutPortIdx] |= 0x40; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_dwOutData[m_OutPortIdx] &= (~0x40); - } - - DO_WritePort( m_hCard, m_OutDataPort, m_dwOutData[m_OutPortIdx] ); -} - -void CUtil7442Dlg::OnOut07() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_DO07 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_dwOutData[m_OutPortIdx] |= 0x80; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_dwOutData[m_OutPortIdx] &= (~0x80); - } - - DO_WritePort( m_hCard, m_OutDataPort, m_dwOutData[m_OutPortIdx] ); -} - -void CUtil7442Dlg::OnOut08() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_DO08 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_dwOutData[m_OutPortIdx] |= 0x100; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_dwOutData[m_OutPortIdx] &= (~0x100); - } - - DO_WritePort( m_hCard, m_OutDataPort, m_dwOutData[m_OutPortIdx] ); -} - -void CUtil7442Dlg::OnOut09() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_DO09 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_dwOutData[m_OutPortIdx] |= 0x200; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_dwOutData[m_OutPortIdx] &= (~0x200); - } - - DO_WritePort( m_hCard, m_OutDataPort, m_dwOutData[m_OutPortIdx] ); -} - -void CUtil7442Dlg::OnOut10() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_DO10 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_dwOutData[m_OutPortIdx] |= 0x400; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_dwOutData[m_OutPortIdx] &= (~0x400); - } - - DO_WritePort( m_hCard, m_OutDataPort, m_dwOutData[m_OutPortIdx] ); -} - -void CUtil7442Dlg::OnOut11() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_DO11 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_dwOutData[m_OutPortIdx] |= 0x800; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_dwOutData[m_OutPortIdx] &= (~0x800); - } - - DO_WritePort( m_hCard, m_OutDataPort, m_dwOutData[m_OutPortIdx] ); -} - -void CUtil7442Dlg::OnOut12() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_DO12 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_dwOutData[m_OutPortIdx] |= 0x1000; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_dwOutData[m_OutPortIdx] &= (~0x1000); - } - - DO_WritePort( m_hCard, m_OutDataPort, m_dwOutData[m_OutPortIdx] ); -} - -void CUtil7442Dlg::OnOut13() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_DO13 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_dwOutData[m_OutPortIdx] |= 0x2000; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_dwOutData[m_OutPortIdx] &= (~0x2000); - } - - DO_WritePort( m_hCard, m_OutDataPort, m_dwOutData[m_OutPortIdx] ); -} - -void CUtil7442Dlg::OnOut14() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_DO14 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_dwOutData[m_OutPortIdx] |= 0x4000; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_dwOutData[m_OutPortIdx] &= (~0x4000); - } - - DO_WritePort( m_hCard, m_OutDataPort, m_dwOutData[m_OutPortIdx] ); -} - -void CUtil7442Dlg::OnOut15() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_DO15 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_dwOutData[m_OutPortIdx] |= 0x8000; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_dwOutData[m_OutPortIdx] &= (~0x8000); - } - - DO_WritePort( m_hCard, m_OutDataPort, m_dwOutData[m_OutPortIdx] ); -} - -void CUtil7442Dlg::OnInPortSelchange() -{ - // TODO: Add your control notification handler code here - int nIndex; - - nIndex = m_cbPortInput.GetCurSel(); - switch( nIndex ) - { - case 0: - m_InPortIdx = 0; - m_OutPortIdx = 1; - m_InDataPort = P7442_TTL0; - m_OutDataPort = P7442_TTL1; - break; - case 1: - m_InPortIdx = 1; - m_OutPortIdx = 0; - m_InDataPort = P7442_TTL1; - m_OutDataPort = P7442_TTL0; - break; - } - - m_cbPortOutput.SetCurSel( m_OutPortIdx ); - - DIO_PortConfig(m_hCard, m_InDataPort, INPUT_PORT); - DIO_PortConfig(m_hCard, m_OutDataPort, OUTPUT_PORT); - - m_dwOutData[m_OutPortIdx] = 0; - DO_WritePort(m_hCard, m_OutDataPort, m_dwOutData[m_OutPortIdx]); - -} - -void CUtil7442Dlg::OnOutPortSelchange() -{ - // TODO: Add your control notification handler code here - int nIndex; - - nIndex = m_cbPortOutput.GetCurSel(); - switch( nIndex ) - { - case 0: - m_OutPortIdx = 0; - m_InPortIdx = 1; - m_OutDataPort = P7442_TTL0; - m_InDataPort = P7442_TTL1; - break; - case 1: - m_OutPortIdx = 1; - m_InPortIdx = 0; - m_OutDataPort = P7442_TTL1; - m_InDataPort = P7442_TTL0; - break; - } - - m_cbPortInput.SetCurSel( m_InPortIdx ); - - DIO_PortConfig(m_hCard, m_InDataPort, INPUT_PORT); - DIO_PortConfig(m_hCard, m_OutDataPort, OUTPUT_PORT); - - m_dwOutData[m_OutPortIdx] = 0; - DO_WritePort(m_hCard, m_OutDataPort, m_dwOutData[m_OutPortIdx]); - -} diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7442/SDK7442TTL/Util7442Dlg.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7442/SDK7442TTL/Util7442Dlg.h deleted file mode 100644 index 30fab49..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7442/SDK7442TTL/Util7442Dlg.h +++ /dev/null @@ -1,81 +0,0 @@ - -// Util7442Dlg.h : header file -// - -#include "Dask64.h" - -#pragma once - - -// CUtil7442Dlg dialog -class CUtil7442Dlg : public CDialog -{ -// Construction -public: - CUtil7442Dlg(I16 hCard, CWnd* pParent = NULL); // standard constructor - -// Dialog Data - enum { IDD = IDD_UTIL7442_DIALOG }; - - protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - - -// Implementation -protected: - HICON m_hIcon; - UINT_PTR m_nTimer; - I16 m_hCard; - U32 m_dwInData[2]; - U32 m_dwOutData[2]; - U16 m_InDataPort; - U16 m_OutDataPort; - int m_OutPortIdx; - int m_InPortIdx; - - // Generated message map functions - virtual BOOL OnInitDialog(); - afx_msg void OnSysCommand(UINT nID, LPARAM lParam); - afx_msg void OnPaint(); - afx_msg HCURSOR OnQueryDragIcon(); - DECLARE_MESSAGE_MAP() -public: - CStatic m_Icon_DI00; - CStatic m_Icon_DI01; - CStatic m_Icon_DI02; - CStatic m_Icon_DI03; - CStatic m_Icon_DI04; - CStatic m_Icon_DI05; - CStatic m_Icon_DI06; - CStatic m_Icon_DI07; - CStatic m_Icon_DI08; - CStatic m_Icon_DI09; - CStatic m_Icon_DI10; - CStatic m_Icon_DI11; - CStatic m_Icon_DI12; - CStatic m_Icon_DI13; - CStatic m_Icon_DI14; - CStatic m_Icon_DI15; - CComboBox m_cbPortInput; - CComboBox m_cbPortOutput; - afx_msg void OnDestroy(); - afx_msg void OnTimer(UINT_PTR nIDEvent); - afx_msg void OnOut00(); - afx_msg void OnOut01(); - afx_msg void OnOut02(); - afx_msg void OnOut03(); - afx_msg void OnOut04(); - afx_msg void OnOut05(); - afx_msg void OnOut06(); - afx_msg void OnOut07(); - afx_msg void OnOut08(); - afx_msg void OnOut09(); - afx_msg void OnOut10(); - afx_msg void OnOut11(); - afx_msg void OnOut12(); - afx_msg void OnOut13(); - afx_msg void OnOut14(); - afx_msg void OnOut15(); - afx_msg void OnInPortSelchange(); - afx_msg void OnOutPortSelchange(); -}; diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7442/SDK7442TTL/res/Util7442.ico b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7442/SDK7442TTL/res/Util7442.ico deleted file mode 100644 index d56fbcd..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7442/SDK7442TTL/res/Util7442.ico and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7442/SDK7442TTL/res/Util7442.rc2 b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7442/SDK7442TTL/res/Util7442.rc2 deleted file mode 100644 index 1a1be94..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7442/SDK7442TTL/res/Util7442.rc2 +++ /dev/null @@ -1,13 +0,0 @@ -// -// Util7233.RC2 - resources Microsoft Visual C++ does not edit directly -// - -#ifdef APSTUDIO_INVOKED -#error this file is not editable by Microsoft Visual C++ -#endif //APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// Add manually edited resources here... - -///////////////////////////////////////////////////////////////////////////// diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7442/SDK7442TTL/res/black.ico b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7442/SDK7442TTL/res/black.ico deleted file mode 100644 index b5c375f..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7442/SDK7442TTL/res/black.ico and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7442/SDK7442TTL/res/green.ico b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7442/SDK7442TTL/res/green.ico deleted file mode 100644 index d9a9fd3..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7442/SDK7442TTL/res/green.ico and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7442/SDK7442TTL/res/red.ico b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7442/SDK7442TTL/res/red.ico deleted file mode 100644 index 7644596..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7442/SDK7442TTL/res/red.ico and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7442/SDK7442TTL/resource.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7442/SDK7442TTL/resource.h deleted file mode 100644 index 100ed5b..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7442/SDK7442TTL/resource.h +++ /dev/null @@ -1,93 +0,0 @@ -//{{NO_DEPENDENCIES}} -// Microsoft Visual C++ generated include file. -// Used by Util7442.rc -// -#define IDM_ABOUTBOX 0x0010 -#define IDD_ABOUTBOX 100 -#define IDS_ABOUTBOX 101 -#define IDD_UTIL7442_DIALOG 102 -#define IDR_MAINFRAME 128 -#define IDI_ICON_BLACK 129 -#define IDI_ICON_GREEN 130 -#define IDI_ICON_RED 131 -#define IDD_CARDID_DIALOG 132 -#define IDC_COMBO_CARDID 1000 -#define IDC_CHECK_DO00 1003 -#define IDC_CHECK_DO01 1004 -#define IDC_ICON_DI00 1005 -#define IDC_ICON_DI01 1006 -#define IDC_ICON_DI02 1007 -#define IDC_ICON_DI03 1008 -#define IDC_ICON_DI04 1009 -#define IDC_ICON_DI05 1010 -#define IDC_ICON_DI06 1011 -#define IDC_ICON_DI07 1012 -#define IDC_ICON_DI08 1013 -#define IDC_ICON_DI09 1014 -#define IDC_STATIC_01 1014 -#define IDC_ICON_DI10 1015 -#define IDC_ICON_DI11 1016 -#define IDC_ICON_DI12 1017 -#define IDC_ICON_DI13 1018 -#define IDC_ICON_DI14 1019 -#define IDC_ICON_DI15 1020 -#define IDC_ICON_DI16 1021 -#define IDC_ICON_DI17 1022 -#define IDC_ICON_DI18 1023 -#define IDC_ICON_DI19 1024 -#define IDC_ICON_DI20 1025 -#define IDC_ICON_DI21 1026 -#define IDC_ICON_DI22 1027 -#define IDC_ICON_DI23 1028 -#define IDC_ICON_DI24 1029 -#define IDC_ICON_DI25 1030 -#define IDC_ICON_DI26 1031 -#define IDC_ICON_DI27 1032 -#define IDC_ICON_DI28 1033 -#define IDC_ICON_DI29 1034 -#define IDC_ICON_DI30 1035 -#define IDC_ICON_DI31 1036 -#define IDC_CHECK_DO02 1037 -#define IDC_CHECK_DO03 1038 -#define IDC_CHECK_DO04 1039 -#define IDC_CHECK_DO05 1040 -#define IDC_CHECK_DO06 1041 -#define IDC_CHECK_DO07 1042 -#define IDC_CHECK_DO08 1043 -#define IDC_CHECK_DO09 1044 -#define IDC_CHECK_DO10 1045 -#define IDC_CHECK_DO11 1046 -#define IDC_CHECK_DO12 1047 -#define IDC_CHECK_DO13 1048 -#define IDC_CHECK_DO14 1049 -#define IDC_CHECK_DO15 1050 -#define IDC_CHECK_DO16 1051 -#define IDC_CHECK_DO17 1052 -#define IDC_CHECK_DO18 1053 -#define IDC_CHECK_DO19 1054 -#define IDC_CHECK_DO20 1055 -#define IDC_CHECK_DO21 1056 -#define IDC_CHECK_DO22 1057 -#define IDC_CHECK_DO23 1058 -#define IDC_CHECK_DO24 1059 -#define IDC_CHECK_DO25 1060 -#define IDC_CHECK_DO26 1061 -#define IDC_CHECK_DO27 1062 -#define IDC_CHECK_DO28 1063 -#define IDC_CHECK_DO29 1064 -#define IDC_CHECK_DO30 1065 -#define IDC_CHECK_DO31 1066 -#define IDC_COMBO_OUTPUT 1067 -#define IDC_COMBO_OUTPUT2 1068 -#define IDC_COMBO_INPUT 1068 - -// Next default values for new objects -// -#ifdef APSTUDIO_INVOKED -#ifndef APSTUDIO_READONLY_SYMBOLS -#define _APS_NEXT_RESOURCE_VALUE 135 -#define _APS_NEXT_COMMAND_VALUE 32771 -#define _APS_NEXT_CONTROL_VALUE 1001 -#define _APS_NEXT_SYMED_VALUE 101 -#endif -#endif diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7442/SDK7442TTL/stdafx.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7442/SDK7442TTL/stdafx.cpp deleted file mode 100644 index 40e6596..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7442/SDK7442TTL/stdafx.cpp +++ /dev/null @@ -1,8 +0,0 @@ - -// stdafx.cpp : source file that includes just the standard includes -// Util7442.pch will be the pre-compiled header -// stdafx.obj will contain the pre-compiled type information - -#include "stdafx.h" - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7442/SDK7442TTL/stdafx.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7442/SDK7442TTL/stdafx.h deleted file mode 100644 index 12123e2..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7442/SDK7442TTL/stdafx.h +++ /dev/null @@ -1,60 +0,0 @@ - -// stdafx.h : include file for standard system include files, -// or project specific include files that are used frequently, -// but are changed infrequently - -#pragma once - -#ifndef _SECURE_ATL -#define _SECURE_ATL 1 -#endif - -#ifndef VC_EXTRALEAN -#define VC_EXTRALEAN // Exclude rarely-used stuff from Windows headers -#endif - -#include "targetver.h" - -#define _ATL_CSTRING_EXPLICIT_CONSTRUCTORS // some CString constructors will be explicit - -// turns off MFC's hiding of some common and often safely ignored warning messages -#define _AFX_ALL_WARNINGS - -#include // MFC core and standard components -#include // MFC extensions - - -#include // MFC Automation classes - - - -#ifndef _AFX_NO_OLE_SUPPORT -#include // MFC support for Internet Explorer 4 Common Controls -#endif -#ifndef _AFX_NO_AFXCMN_SUPPORT -#include // MFC support for Windows Common Controls -#endif // _AFX_NO_AFXCMN_SUPPORT - -#include // MFC support for ribbons and control bars - - - - - - - - - -#ifdef _UNICODE -#if defined _M_IX86 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='x86' publicKeyToken='6595b64144ccf1df' language='*'\"") -#elif defined _M_IA64 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='ia64' publicKeyToken='6595b64144ccf1df' language='*'\"") -#elif defined _M_X64 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='amd64' publicKeyToken='6595b64144ccf1df' language='*'\"") -#else -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='*' publicKeyToken='6595b64144ccf1df' language='*'\"") -#endif -#endif - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7442/SDK7442TTL/targetver.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7442/SDK7442TTL/targetver.h deleted file mode 100644 index 11730d5..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7442/SDK7442TTL/targetver.h +++ /dev/null @@ -1,26 +0,0 @@ - -#pragma once - -// The following macros define the minimum required platform. The minimum required platform -// is the earliest version of Windows, Internet Explorer etc. that has the necessary features to run -// your application. The macros work by enabling all features available on platform versions up to and -// including the version specified. - -// Modify the following defines if you have to target a platform prior to the ones specified below. -// Refer to MSDN for the latest info on corresponding values for different platforms. -#ifndef WINVER // Specifies that the minimum required platform is Windows Vista. -#define WINVER 0x0600 // Change this to the appropriate value to target other versions of Windows. -#endif - -#ifndef _WIN32_WINNT // Specifies that the minimum required platform is Windows Vista. -#define _WIN32_WINNT 0x0600 // Change this to the appropriate value to target other versions of Windows. -#endif - -#ifndef _WIN32_WINDOWS // Specifies that the minimum required platform is Windows 98. -#define _WIN32_WINDOWS 0x0410 // Change this to the appropriate value to target Windows Me or later. -#endif - -#ifndef _WIN32_IE // Specifies that the minimum required platform is Internet Explorer 7.0. -#define _WIN32_IE 0x0700 // Change this to the appropriate value to target other versions of IE. -#endif - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7442/SDK7442int/7230int.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7442/SDK7442int/7230int.suo deleted file mode 100644 index cc096dc..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7442/SDK7442int/7230int.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7442/SDK7442int/7256int.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7442/SDK7442int/7256int.suo deleted file mode 100644 index 494d925..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7442/SDK7442int/7256int.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7442/SDK7442int/7258int.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7442/SDK7442int/7258int.suo deleted file mode 100644 index ea9e48d..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7442/SDK7442int/7258int.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7442/SDK7442int/7432int.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7442/SDK7442int/7432int.suo deleted file mode 100644 index 3b051c5..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7442/SDK7442int/7432int.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7442/SDK7442int/7442int.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7442/SDK7442int/7442int.cpp deleted file mode 100644 index 0debe5d..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7442/SDK7442int/7442int.cpp +++ /dev/null @@ -1,110 +0,0 @@ - -// 7442int.cpp : Defines the class behaviors for the application. -// - -#include "stdafx.h" -#include "7442int.h" -#include "7442intDlg.h" -#include "CardIDDlg.h" - -#ifdef _DEBUG -#define new DEBUG_NEW -#endif - - -// C7442intApp - -BEGIN_MESSAGE_MAP(C7442intApp, CWinAppEx) - ON_COMMAND(ID_HELP, &CWinApp::OnHelp) -END_MESSAGE_MAP() - - -// C7442intApp construction - -C7442intApp::C7442intApp() -{ - // TODO: add construction code here, - // Place all significant initialization in InitInstance -} - - -// The one and only C7442intApp object - -C7442intApp theApp; - - -// C7442intApp initialization - -BOOL C7442intApp::InitInstance() -{ - int nCardID = 0; - I16 hCard; - CString strTemp; - INT_PTR nResponse; - - // InitCommonControlsEx() is required on Windows XP if an application - // manifest specifies use of ComCtl32.dll version 6 or later to enable - // visual styles. Otherwise, any window creation will fail. - INITCOMMONCONTROLSEX InitCtrls; - InitCtrls.dwSize = sizeof(InitCtrls); - // Set this to include all the common control classes you want to use - // in your application. - InitCtrls.dwICC = ICC_WIN95_CLASSES; - InitCommonControlsEx(&InitCtrls); - - CWinAppEx::InitInstance(); - - AfxEnableControlContainer(); - - // Standard initialization - // If you are not using these features and wish to reduce the size - // of your final executable, you should remove from the following - // the specific initialization routines you do not need - // Change the registry key under which our settings are stored - // TODO: You should modify this string to be something appropriate - // such as the name of your company or organization - SetRegistryKey(_T("Local AppWizard-Generated Applications")); - - CCardIDDlg CardDlg( nCardID ); - - nResponse = CardDlg.DoModal(); - if (nResponse == IDOK) - { - nCardID = CardDlg.GetCardID(); - - if ((hCard=Register_Card(PCI_7442, nCardID)) < 0) - { - strTemp.Format( TEXT("Register_Card Error = %d"), hCard); - AfxMessageBox( strTemp ); - } - else - { - C7442intDlg dlg(hCard); - m_pMainWnd = &dlg; - nResponse = dlg.DoModal(); - if (nResponse == IDOK) - { - // TODO: Place code here to handle when the dialog is - // dismissed with OK - } - else if (nResponse == IDCANCEL) - { - // TODO: Place code here to handle when the dialog is - // dismissed with Cancel - } - - if (hCard >= 0) Release_Card(hCard); - } - - } - else if (nResponse == IDCANCEL) - { - // TODO: Place code here to handle when the dialog is - // dismissed with Cancel - } - - - // Since the dialog has been closed, return FALSE so that we exit the - // application, rather than start the application's message pump. - return FALSE; -} diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7442/SDK7442int/7442int.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7442/SDK7442int/7442int.h deleted file mode 100644 index bff44dd..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7442/SDK7442int/7442int.h +++ /dev/null @@ -1,32 +0,0 @@ - -// 7442int.h : main header file for the PROJECT_NAME application -// - -#pragma once - -#ifndef __AFXWIN_H__ - #error "include 'stdafx.h' before including this file for PCH" -#endif - -#include "resource.h" // main symbols - - -// C7442intApp: -// See 7442int.cpp for the implementation of this class -// - -class C7442intApp : public CWinAppEx -{ -public: - C7442intApp(); - -// Overrides - public: - virtual BOOL InitInstance(); - -// Implementation - - DECLARE_MESSAGE_MAP() -}; - -extern C7442intApp theApp; \ No newline at end of file diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7442/SDK7442int/7442int.rc b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7442/SDK7442int/7442int.rc deleted file mode 100644 index b9cb693..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7442/SDK7442int/7442int.rc +++ /dev/null @@ -1,242 +0,0 @@ -// Microsoft Visual C++ generated resource script. -// -#include "resource.h" - -#define APSTUDIO_READONLY_SYMBOLS -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 2 resource. -// -#ifndef APSTUDIO_INVOKED -#include "targetver.h" -#endif -#include "afxres.h" - -///////////////////////////////////////////////////////////////////////////// -#undef APSTUDIO_READONLY_SYMBOLS - -///////////////////////////////////////////////////////////////////////////// -// Chinese (Taiwan) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_CHT) -#ifdef _WIN32 -LANGUAGE LANG_CHINESE, SUBLANG_CHINESE_TRADITIONAL -#pragma code_page(950) -#endif //_WIN32 - -#ifdef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// TEXTINCLUDE -// - -1 TEXTINCLUDE -BEGIN - "resource.h\0" -END - -2 TEXTINCLUDE -BEGIN - "#ifndef APSTUDIO_INVOKED\r\n" - "#include ""targetver.h""\r\n" - "#endif\r\n" - "#include ""afxres.h""\r\n" - "\0" -END - -3 TEXTINCLUDE -BEGIN - "#define _AFX_NO_SPLITTER_RESOURCES\r\n" - "#define _AFX_NO_OLE_RESOURCES\r\n" - "#define _AFX_NO_TRACKER_RESOURCES\r\n" - "#define _AFX_NO_PROPERTY_RESOURCES\r\n" - "\r\n" - "#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)\r\n" - "LANGUAGE 9, 1\r\n" - "#pragma code_page(1252)\r\n" - "#include ""res\\My7442int.rc2"" // non-Microsoft Visual C++ edited resources\r\n" - "#include ""afxres.rc"" // Standard components\r\n" - "#endif\r\n" - "\0" -END - -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// Icon -// - -// Icon with lowest ID value placed first to ensure application icon -// remains consistent on all systems. -IDR_MAINFRAME ICON "res\\7442int.ico" -#endif // Chinese (Taiwan) resources -///////////////////////////////////////////////////////////////////////////// - - -///////////////////////////////////////////////////////////////////////////// -// English (U.S.) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -#ifdef _WIN32 -LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US -#pragma code_page(1252) -#endif //_WIN32 - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog -// - -IDD_ABOUTBOX DIALOGEX 0, 0, 170, 62 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "About 7442int" -FONT 8, "MS Shell Dlg", 0, 0, 0x1 -BEGIN - ICON IDR_MAINFRAME,IDC_STATIC,14,14,21,20 - LTEXT "7442int, Version 1.0",IDC_STATIC,42,14,114,8,SS_NOPREFIX - LTEXT "Copyright (C) 2010",IDC_STATIC,42,26,114,8 - DEFPUSHBUTTON "OK",IDOK,113,41,50,14,WS_GROUP -END - -IDD_MY7442INT_DIALOG DIALOGEX 0, 0, 195, 138 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU -EXSTYLE WS_EX_APPWINDOW -CAPTION "PCI-7442 Interrupt Sample (INT1)" -FONT 8, "MS Shell Dlg", 0, 0, 0x1 -BEGIN - LTEXT "This program shows the number of occurrence of INT1 interrupt. INT1 interrupt is generated by external signal from DI0 bit-0. If you connect DO0 bit-0 to DI0 bit-0, press 'Output' button can generate an interrupt.",IDC_STATIC,25,24,151,42 - LTEXT "INT Count =",IDC_STATIC_05,54,83,85,13 - PUSHBUTTON "Output",IDC_BT_OUTPUT,46,103,84,18 -END - -IDD_CARDID_DIALOG DIALOGEX 0, 0, 163, 88 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "Card ID" -FONT 8, "MS Shell Dlg", 400, 0, 0x1 -BEGIN - COMBOBOX IDC_COMBO_CARDID,73,17,71,126,CBS_DROPDOWN | WS_VSCROLL | WS_TABSTOP - LTEXT "Card Number",IDC_STATIC_01,19,18,46,12 - PUSHBUTTON "OK",IDOK,20,50,58,19 - PUSHBUTTON "CANCEL",IDCANCEL,84,50,58,19 -END - - -///////////////////////////////////////////////////////////////////////////// -// -// Version -// - -VS_VERSION_INFO VERSIONINFO - FILEVERSION 1,0,0,1 - PRODUCTVERSION 1,0,0,1 - FILEFLAGSMASK 0x3fL -#ifdef _DEBUG - FILEFLAGS 0x1L -#else - FILEFLAGS 0x0L -#endif - FILEOS 0x4L - FILETYPE 0x1L - FILESUBTYPE 0x0L -BEGIN - BLOCK "StringFileInfo" - BEGIN - BLOCK "040904e4" - BEGIN - VALUE "CompanyName", "TODO: " - VALUE "FileDescription", "TODO: " - VALUE "FileVersion", "1.0.0.1" - VALUE "InternalName", "7442int.exe" - VALUE "LegalCopyright", "TODO: (c) . All rights reserved." - VALUE "OriginalFilename", "7442int.exe" - VALUE "ProductName", "TODO: " - VALUE "ProductVersion", "1.0.0.1" - END - END - BLOCK "VarFileInfo" - BEGIN - VALUE "Translation", 0x409, 1252 - END -END - - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog Info -// - -IDD_CARDID_DIALOG DLGINIT -BEGIN - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0030, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0031, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0032, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0033, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0034, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0035, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0036, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0037, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0038, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0039, - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3031, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3131, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3231, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3331, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3431, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3531, "\000" - 0 -END - - -///////////////////////////////////////////////////////////////////////////// -// -// String Table -// - -STRINGTABLE -BEGIN - IDS_ABOUTBOX "&About 7442int..." -END - -#endif // English (U.S.) resources -///////////////////////////////////////////////////////////////////////////// - - - -#ifndef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 3 resource. -// -#define _AFX_NO_SPLITTER_RESOURCES -#define _AFX_NO_OLE_RESOURCES -#define _AFX_NO_TRACKER_RESOURCES -#define _AFX_NO_PROPERTY_RESOURCES - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -LANGUAGE 9, 1 -#pragma code_page(1252) -#include "res\My7442int.rc2" // non-Microsoft Visual C++ edited resources -#include "afxres.rc" // Standard components -#endif - -///////////////////////////////////////////////////////////////////////////// -#endif // not APSTUDIO_INVOKED - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7442/SDK7442int/7442int.sln b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7442/SDK7442int/7442int.sln deleted file mode 100644 index c9bf5bf..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7442/SDK7442int/7442int.sln +++ /dev/null @@ -1,20 +0,0 @@ - -Microsoft Visual Studio Solution File, Format Version 10.00 -# Visual Studio 2008 -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "7442int", "7442int.vcproj", "{7D5D9EC5-ED97-47EE-B6F4-ACCD71069808}" -EndProject -Global - GlobalSection(SolutionConfigurationPlatforms) = preSolution - Debug|x64 = Debug|x64 - Release|x64 = Release|x64 - EndGlobalSection - GlobalSection(ProjectConfigurationPlatforms) = postSolution - {7D5D9EC5-ED97-47EE-B6F4-ACCD71069808}.Debug|x64.ActiveCfg = Debug|x64 - {7D5D9EC5-ED97-47EE-B6F4-ACCD71069808}.Debug|x64.Build.0 = Debug|x64 - {7D5D9EC5-ED97-47EE-B6F4-ACCD71069808}.Release|x64.ActiveCfg = Release|x64 - {7D5D9EC5-ED97-47EE-B6F4-ACCD71069808}.Release|x64.Build.0 = Release|x64 - EndGlobalSection - GlobalSection(SolutionProperties) = preSolution - HideSolutionNode = FALSE - EndGlobalSection -EndGlobal diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7442/SDK7442int/7442int.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7442/SDK7442int/7442int.suo deleted file mode 100644 index 1eaa157..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7442/SDK7442int/7442int.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7442/SDK7442int/7442int.vcproj b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7442/SDK7442int/7442int.vcproj deleted file mode 100644 index 4008522..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7442/SDK7442int/7442int.vcproj +++ /dev/null @@ -1,286 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7442/SDK7442int/7442intDlg.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7442/SDK7442int/7442intDlg.cpp deleted file mode 100644 index ee35d8b..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7442/SDK7442int/7442intDlg.cpp +++ /dev/null @@ -1,246 +0,0 @@ - -// 7442intDlg.cpp : implementation file -// - -#include "stdafx.h" -#include "7442int.h" -#include "7442intDlg.h" - -#ifdef _DEBUG -#define new DEBUG_NEW -#endif - -int gIntCount; -HANDLE ghIntEvent[2]; - -BOOLEAN gbExitThread; - - - -DWORD WINAPI IntThread( LPVOID lpParam ) -{ - - while ( gbExitThread == FALSE ) - { - if ( WaitForSingleObject(ghIntEvent[0], INFINITE) == WAIT_OBJECT_0 ) - { - gIntCount++; - ResetEvent(ghIntEvent[0]); - } - } - - return (DWORD) 0; -} - -// CAboutDlg dialog used for App About - -class CAboutDlg : public CDialog -{ -public: - CAboutDlg(); - -// Dialog Data - enum { IDD = IDD_ABOUTBOX }; - - protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - -// Implementation -protected: - DECLARE_MESSAGE_MAP() -}; - -CAboutDlg::CAboutDlg() : CDialog(CAboutDlg::IDD) -{ -} - -void CAboutDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); -} - -BEGIN_MESSAGE_MAP(CAboutDlg, CDialog) -END_MESSAGE_MAP() - - -// C7442intDlg dialog - - - - -C7442intDlg::C7442intDlg(I16 hCard, CWnd* pParent /*=NULL*/) - : CDialog(C7442intDlg::IDD, pParent) -{ - m_hIcon = AfxGetApp()->LoadIcon(IDR_MAINFRAME); - - m_hCard = hCard; - m_hThread = NULL; - m_nTimer = -1; - m_dwPressCount =0; -} - -void C7442intDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); -} - -BEGIN_MESSAGE_MAP(C7442intDlg, CDialog) - ON_WM_SYSCOMMAND() - ON_WM_PAINT() - ON_WM_QUERYDRAGICON() - //}}AFX_MSG_MAP - ON_WM_DESTROY() - ON_WM_TIMER() - ON_BN_CLICKED(IDC_BT_OUTPUT, &C7442intDlg::OnOutput) -END_MESSAGE_MAP() - - -// C7442intDlg message handlers - -BOOL C7442intDlg::OnInitDialog() -{ - CDialog::OnInitDialog(); - - // Add "About..." menu item to system menu. - - // IDM_ABOUTBOX must be in the system command range. - ASSERT((IDM_ABOUTBOX & 0xFFF0) == IDM_ABOUTBOX); - ASSERT(IDM_ABOUTBOX < 0xF000); - - CMenu* pSysMenu = GetSystemMenu(FALSE); - if (pSysMenu != NULL) - { - BOOL bNameValid; - CString strAboutMenu; - bNameValid = strAboutMenu.LoadString(IDS_ABOUTBOX); - ASSERT(bNameValid); - if (!strAboutMenu.IsEmpty()) - { - pSysMenu->AppendMenu(MF_SEPARATOR); - pSysMenu->AppendMenu(MF_STRING, IDM_ABOUTBOX, strAboutMenu); - } - } - - // Set the icon for this dialog. The framework does this automatically - // when the application's main window is not a dialog - SetIcon(m_hIcon, TRUE); // Set big icon - SetIcon(m_hIcon, FALSE); // Set small icon - - // TODO: Add extra initialization here - I16 err; - - DO_WritePort(m_hCard, P7442_CH0, 0x0); - Sleep(1); - err = DIO_SetCOSInterrupt32(m_hCard, 0, 0x0001, (HANDLE *)&ghIntEvent[0], 1); - - gbExitThread = FALSE; - m_hThread = CreateThread( NULL, // default security attributes - 0, // use default stack size - IntThread, // thread function name - NULL, // argument to thread function - 0, // use default creation flags - NULL); // returns the thread identifier - - m_nTimer = SetTimer( 1, 250, NULL ); - - return TRUE; // return TRUE unless you set the focus to a control -} - -void C7442intDlg::OnSysCommand(UINT nID, LPARAM lParam) -{ - if ((nID & 0xFFF0) == IDM_ABOUTBOX) - { - CAboutDlg dlgAbout; - dlgAbout.DoModal(); - } - else - { - CDialog::OnSysCommand(nID, lParam); - } -} - -// If you add a minimize button to your dialog, you will need the code below -// to draw the icon. For MFC applications using the document/view model, -// this is automatically done for you by the framework. - -void C7442intDlg::OnPaint() -{ - if (IsIconic()) - { - CPaintDC dc(this); // device context for painting - - SendMessage(WM_ICONERASEBKGND, reinterpret_cast(dc.GetSafeHdc()), 0); - - // Center icon in client rectangle - int cxIcon = GetSystemMetrics(SM_CXICON); - int cyIcon = GetSystemMetrics(SM_CYICON); - CRect rect; - GetClientRect(&rect); - int x = (rect.Width() - cxIcon + 1) / 2; - int y = (rect.Height() - cyIcon + 1) / 2; - - // Draw the icon - dc.DrawIcon(x, y, m_hIcon); - } - else - { - CDialog::OnPaint(); - } -} - -// The system calls this function to obtain the cursor to display while the user drags -// the minimized window. -HCURSOR C7442intDlg::OnQueryDragIcon() -{ - return static_cast(m_hIcon); -} - - -void C7442intDlg::OnDestroy() -{ - CDialog::OnDestroy(); - - // TODO: Add your message handler code here - DIO_SetCOSInterrupt32(m_hCard, 0, 0x0000, NULL, 1); - - if( m_nTimer != -1 ) - { - KillTimer( m_nTimer ); - m_nTimer = -1; - } - - - if( m_hThread != NULL ) - { - gbExitThread = TRUE; // termnate the IntThread - SetEvent( ghIntEvent[0] ); - - if (WaitForSingleObject(m_hThread, 5000) == WAIT_OBJECT_0) - { - CloseHandle( m_hThread ); - m_hThread = NULL; - } - } -} - -void C7442intDlg::OnTimer(UINT_PTR nIDEvent) -{ - // TODO: Add your message handler code here and/or call default - CString strTemp; - - strTemp.Format( TEXT("INT Count = %d"), gIntCount ); - SetDlgItemText( IDC_STATIC_05, strTemp ); - - CDialog::OnTimer(nIDEvent); -} - -void C7442intDlg::OnOutput() -{ - // TODO: Add your control notification handler code here - if(m_dwPressCount%2 == 0) - DO_WritePort(m_hCard, P7442_CH0, 0x1); - else - DO_WritePort(m_hCard, P7442_CH0, 0x0); - - m_dwPressCount++; -} diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7442/SDK7442int/7442intDlg.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7442/SDK7442int/7442intDlg.h deleted file mode 100644 index 800276c..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7442/SDK7442int/7442intDlg.h +++ /dev/null @@ -1,41 +0,0 @@ - -// 7442intDlg.h : header file -// -#include "Dask64.h" - -#pragma once - - -// C7442intDlg dialog -class C7442intDlg : public CDialog -{ -// Construction -public: - C7442intDlg(I16 hCard, CWnd* pParent = NULL); // standard constructor - -// Dialog Data - enum { IDD = IDD_MY7442INT_DIALOG }; - - protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - - -// Implementation -protected: - HICON m_hIcon; - UINT_PTR m_nTimer; - HANDLE m_hThread; - I16 m_hCard; - U32 m_dwPressCount; - - // Generated message map functions - virtual BOOL OnInitDialog(); - afx_msg void OnSysCommand(UINT nID, LPARAM lParam); - afx_msg void OnPaint(); - afx_msg HCURSOR OnQueryDragIcon(); - DECLARE_MESSAGE_MAP() -public: - afx_msg void OnDestroy(); - afx_msg void OnTimer(UINT_PTR nIDEvent); - afx_msg void OnOutput(); -}; diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7442/SDK7442int/CardIDDlg.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7442/SDK7442int/CardIDDlg.cpp deleted file mode 100644 index 68a35f6..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7442/SDK7442int/CardIDDlg.cpp +++ /dev/null @@ -1,67 +0,0 @@ -// CardIDDlg.cpp : implementation file -// - -#include "stdafx.h" -#include "7442int.h" -#include "CardIDDlg.h" - - -// CCardIDDlg dialog - -IMPLEMENT_DYNAMIC(CCardIDDlg, CDialog) - -CCardIDDlg::CCardIDDlg(int nCardIdx, CWnd* pParent /*=NULL*/) - : CDialog(CCardIDDlg::IDD, pParent) -{ - m_nCardIdx = nCardIdx; -} - -CCardIDDlg::~CCardIDDlg() -{ -} - -void CCardIDDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); - DDX_Control(pDX, IDC_COMBO_CARDID, m_cbCardID); -} - - -BEGIN_MESSAGE_MAP(CCardIDDlg, CDialog) -// ON_CBN_SELCHANGE(IDC_COMBO_CARDID, &CCardIDDlg::OnCbnSelchangeComboCardid) -ON_BN_CLICKED(IDOK, &CCardIDDlg::OnBnClickedOk) -//ON_WM_CTLCOLOR() -END_MESSAGE_MAP() - - -// CCardIDDlg message handlers - - -void CCardIDDlg::OnBnClickedOk() -{ - // TODO: Add your control notification handler code here - -// UpdateData(TRUE); - m_nCardIdx = m_cbCardID.GetCurSel(); - - OnOK(); -} - -BOOL CCardIDDlg::OnInitDialog() -{ - CDialog::OnInitDialog(); - - // TODO: Add extra initialization here - m_cbCardID.SetCurSel( m_nCardIdx ); - - return TRUE; // return TRUE unless you set the focus to a control - // EXCEPTION: OCX Property Pages should return FALSE -} - -// the function to get the selected CardID -int CCardIDDlg::GetCardID(void) -{ - return m_nCardIdx; -} - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7442/SDK7442int/CardIDDlg.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7442/SDK7442int/CardIDDlg.h deleted file mode 100644 index 54628ea..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7442/SDK7442int/CardIDDlg.h +++ /dev/null @@ -1,33 +0,0 @@ -#pragma once -#include "afxwin.h" - - -// CCardIDDlg dialog - -class CCardIDDlg : public CDialog -{ - DECLARE_DYNAMIC(CCardIDDlg) - -public: - CCardIDDlg(int nCardIdx, CWnd* pParent = NULL); // standard constructor - virtual ~CCardIDDlg(); - -// Dialog Data - enum { IDD = IDD_CARDID_DIALOG }; - -protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - - DECLARE_MESSAGE_MAP() -public: -// afx_msg void OnCbnSelchangeComboCardid(); - afx_msg void OnBnClickedOk(); - // the setting of CardID ComboBox - int m_nCardIdx; - virtual BOOL OnInitDialog(); - // the control of CardID ComboBox - CComboBox m_cbCardID; - // the function to get the selected CardID - int GetCardID(void); -// afx_msg HBRUSH OnCtlColor(CDC* pDC, CWnd* pWnd, UINT nCtlColor); -}; diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7442/SDK7442int/ReadMe.txt b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7442/SDK7442int/ReadMe.txt deleted file mode 100644 index 0757c21..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7442/SDK7442int/ReadMe.txt +++ /dev/null @@ -1,93 +0,0 @@ -================================================================================ - MICROSOFT FOUNDATION CLASS LIBRARY : 7442int Project Overview -=============================================================================== - -The application wizard has created this 7442int application for -you. This application not only demonstrates the basics of using the Microsoft -Foundation Classes but is also a starting point for writing your application. - -This file contains a summary of what you will find in each of the files that -make up your 7442int application. - -7442int.vcproj - This is the main project file for VC++ projects generated using an application wizard. - It contains information about the version of Visual C++ that generated the file, and - information about the platforms, configurations, and project features selected with the - application wizard. - -7442int.h - This is the main header file for the application. It includes other - project specific headers (including Resource.h) and declares the - C7442intApp application class. - -7442int.cpp - This is the main application source file that contains the application - class C7442intApp. - -7442int.rc - This is a listing of all of the Microsoft Windows resources that the - program uses. It includes the icons, bitmaps, and cursors that are stored - in the RES subdirectory. This file can be directly edited in Microsoft - Visual C++. Your project resources are in 1033. - -res\7442int.ico - This is an icon file, which is used as the application's icon. This - icon is included by the main resource file 7442int.rc. - -res\My7442int.rc2 - This file contains resources that are not edited by Microsoft - Visual C++. You should place all resources not editable by - the resource editor in this file. - - -///////////////////////////////////////////////////////////////////////////// - -The application wizard creates one dialog class: - -7442intDlg.h, 7442intDlg.cpp - the dialog - These files contain your C7442intDlg class. This class defines - the behavior of your application's main dialog. The dialog's template is - in 7442int.rc, which can be edited in Microsoft Visual C++. - - -///////////////////////////////////////////////////////////////////////////// - -Other Features: - -ActiveX Controls - The application includes support to use ActiveX controls. - -///////////////////////////////////////////////////////////////////////////// - -Other standard files: - -StdAfx.h, StdAfx.cpp - These files are used to build a precompiled header (PCH) file - named 7442int.pch and a precompiled types file named StdAfx.obj. - -Resource.h - This is the standard header file, which defines new resource IDs. - Microsoft Visual C++ reads and updates this file. - -7442int.manifest - Application manifest files are used by Windows XP to describe an applications - dependency on specific versions of Side-by-Side assemblies. The loader uses this - information to load the appropriate assembly from the assembly cache or private - from the application. The Application manifest maybe included for redistribution - as an external .manifest file that is installed in the same folder as the application - executable or it may be included in the executable in the form of a resource. -///////////////////////////////////////////////////////////////////////////// - -Other notes: - -The application wizard uses "TODO:" to indicate parts of the source code you -should add to or customize. - -If your application uses MFC in a shared DLL, you will need -to redistribute the MFC DLLs. If your application is in a language -other than the operating system's locale, you will also have to -redistribute the corresponding localized resources MFC90XXX.DLL. -For more information on both of these topics, please see the section on -redistributing Visual C++ applications in MSDN documentation. - -///////////////////////////////////////////////////////////////////////////// diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7442/SDK7442int/res/7442int.ico b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7442/SDK7442int/res/7442int.ico deleted file mode 100644 index d56fbcd..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7442/SDK7442int/res/7442int.ico and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7442/SDK7442int/res/My7442int.rc2 b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7442/SDK7442int/res/My7442int.rc2 deleted file mode 100644 index 7bd3593..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7442/SDK7442int/res/My7442int.rc2 +++ /dev/null @@ -1,13 +0,0 @@ -// -// My7256int.RC2 - resources Microsoft Visual C++ does not edit directly -// - -#ifdef APSTUDIO_INVOKED -#error this file is not editable by Microsoft Visual C++ -#endif //APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// Add manually edited resources here... - -///////////////////////////////////////////////////////////////////////////// diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7442/SDK7442int/resource.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7442/SDK7442int/resource.h deleted file mode 100644 index 194fed9..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7442/SDK7442int/resource.h +++ /dev/null @@ -1,27 +0,0 @@ -//{{NO_DEPENDENCIES}} -// Microsoft Visual C++ generated include file. -// Used by 7442int.rc -// -#define IDM_ABOUTBOX 0x0010 -#define IDD_ABOUTBOX 100 -#define IDS_ABOUTBOX 101 -#define IDD_MY7442INT_DIALOG 102 -#define IDR_MAINFRAME 128 -#define IDD_CARDID_DIALOG 129 -#define IDC_COMBO_CARDID 1000 -#define IDC_BUTTON1 1000 -#define IDC_BT_OUTPUT 1000 -#define IDC_STATIC_05 1007 -#define IDC_STATIC_06 1008 -#define IDC_STATIC_01 1014 - -// Next default values for new objects -// -#ifdef APSTUDIO_INVOKED -#ifndef APSTUDIO_READONLY_SYMBOLS -#define _APS_NEXT_RESOURCE_VALUE 131 -#define _APS_NEXT_COMMAND_VALUE 32771 -#define _APS_NEXT_CONTROL_VALUE 1001 -#define _APS_NEXT_SYMED_VALUE 101 -#endif -#endif diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7442/SDK7442int/stdafx.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7442/SDK7442int/stdafx.cpp deleted file mode 100644 index 92bfc75..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7442/SDK7442int/stdafx.cpp +++ /dev/null @@ -1,8 +0,0 @@ - -// stdafx.cpp : source file that includes just the standard includes -// 7442int.pch will be the pre-compiled header -// stdafx.obj will contain the pre-compiled type information - -#include "stdafx.h" - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7442/SDK7442int/stdafx.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7442/SDK7442int/stdafx.h deleted file mode 100644 index 12123e2..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7442/SDK7442int/stdafx.h +++ /dev/null @@ -1,60 +0,0 @@ - -// stdafx.h : include file for standard system include files, -// or project specific include files that are used frequently, -// but are changed infrequently - -#pragma once - -#ifndef _SECURE_ATL -#define _SECURE_ATL 1 -#endif - -#ifndef VC_EXTRALEAN -#define VC_EXTRALEAN // Exclude rarely-used stuff from Windows headers -#endif - -#include "targetver.h" - -#define _ATL_CSTRING_EXPLICIT_CONSTRUCTORS // some CString constructors will be explicit - -// turns off MFC's hiding of some common and often safely ignored warning messages -#define _AFX_ALL_WARNINGS - -#include // MFC core and standard components -#include // MFC extensions - - -#include // MFC Automation classes - - - -#ifndef _AFX_NO_OLE_SUPPORT -#include // MFC support for Internet Explorer 4 Common Controls -#endif -#ifndef _AFX_NO_AFXCMN_SUPPORT -#include // MFC support for Windows Common Controls -#endif // _AFX_NO_AFXCMN_SUPPORT - -#include // MFC support for ribbons and control bars - - - - - - - - - -#ifdef _UNICODE -#if defined _M_IX86 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='x86' publicKeyToken='6595b64144ccf1df' language='*'\"") -#elif defined _M_IA64 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='ia64' publicKeyToken='6595b64144ccf1df' language='*'\"") -#elif defined _M_X64 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='amd64' publicKeyToken='6595b64144ccf1df' language='*'\"") -#else -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='*' publicKeyToken='6595b64144ccf1df' language='*'\"") -#endif -#endif - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7442/SDK7442int/targetver.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7442/SDK7442int/targetver.h deleted file mode 100644 index 11730d5..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7442/SDK7442int/targetver.h +++ /dev/null @@ -1,26 +0,0 @@ - -#pragma once - -// The following macros define the minimum required platform. The minimum required platform -// is the earliest version of Windows, Internet Explorer etc. that has the necessary features to run -// your application. The macros work by enabling all features available on platform versions up to and -// including the version specified. - -// Modify the following defines if you have to target a platform prior to the ones specified below. -// Refer to MSDN for the latest info on corresponding values for different platforms. -#ifndef WINVER // Specifies that the minimum required platform is Windows Vista. -#define WINVER 0x0600 // Change this to the appropriate value to target other versions of Windows. -#endif - -#ifndef _WIN32_WINNT // Specifies that the minimum required platform is Windows Vista. -#define _WIN32_WINNT 0x0600 // Change this to the appropriate value to target other versions of Windows. -#endif - -#ifndef _WIN32_WINDOWS // Specifies that the minimum required platform is Windows 98. -#define _WIN32_WINDOWS 0x0410 // Change this to the appropriate value to target Windows Me or later. -#endif - -#ifndef _WIN32_IE // Specifies that the minimum required platform is Internet Explorer 7.0. -#define _WIN32_IE 0x0700 // Change this to the appropriate value to target other versions of IE. -#endif - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7442/SDK7442intMsg/7230int.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7442/SDK7442intMsg/7230int.suo deleted file mode 100644 index e5f9cb0..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7442/SDK7442intMsg/7230int.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7442/SDK7442intMsg/7256int.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7442/SDK7442intMsg/7256int.suo deleted file mode 100644 index 01299a3..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7442/SDK7442intMsg/7256int.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7442/SDK7442intMsg/7258int.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7442/SDK7442intMsg/7258int.suo deleted file mode 100644 index b00e489..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7442/SDK7442intMsg/7258int.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7442/SDK7442intMsg/7432int.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7442/SDK7442intMsg/7432int.suo deleted file mode 100644 index 4a3e825..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7442/SDK7442intMsg/7432int.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7442/SDK7442intMsg/7442int.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7442/SDK7442intMsg/7442int.cpp deleted file mode 100644 index 0debe5d..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7442/SDK7442intMsg/7442int.cpp +++ /dev/null @@ -1,110 +0,0 @@ - -// 7442int.cpp : Defines the class behaviors for the application. -// - -#include "stdafx.h" -#include "7442int.h" -#include "7442intDlg.h" -#include "CardIDDlg.h" - -#ifdef _DEBUG -#define new DEBUG_NEW -#endif - - -// C7442intApp - -BEGIN_MESSAGE_MAP(C7442intApp, CWinAppEx) - ON_COMMAND(ID_HELP, &CWinApp::OnHelp) -END_MESSAGE_MAP() - - -// C7442intApp construction - -C7442intApp::C7442intApp() -{ - // TODO: add construction code here, - // Place all significant initialization in InitInstance -} - - -// The one and only C7442intApp object - -C7442intApp theApp; - - -// C7442intApp initialization - -BOOL C7442intApp::InitInstance() -{ - int nCardID = 0; - I16 hCard; - CString strTemp; - INT_PTR nResponse; - - // InitCommonControlsEx() is required on Windows XP if an application - // manifest specifies use of ComCtl32.dll version 6 or later to enable - // visual styles. Otherwise, any window creation will fail. - INITCOMMONCONTROLSEX InitCtrls; - InitCtrls.dwSize = sizeof(InitCtrls); - // Set this to include all the common control classes you want to use - // in your application. - InitCtrls.dwICC = ICC_WIN95_CLASSES; - InitCommonControlsEx(&InitCtrls); - - CWinAppEx::InitInstance(); - - AfxEnableControlContainer(); - - // Standard initialization - // If you are not using these features and wish to reduce the size - // of your final executable, you should remove from the following - // the specific initialization routines you do not need - // Change the registry key under which our settings are stored - // TODO: You should modify this string to be something appropriate - // such as the name of your company or organization - SetRegistryKey(_T("Local AppWizard-Generated Applications")); - - CCardIDDlg CardDlg( nCardID ); - - nResponse = CardDlg.DoModal(); - if (nResponse == IDOK) - { - nCardID = CardDlg.GetCardID(); - - if ((hCard=Register_Card(PCI_7442, nCardID)) < 0) - { - strTemp.Format( TEXT("Register_Card Error = %d"), hCard); - AfxMessageBox( strTemp ); - } - else - { - C7442intDlg dlg(hCard); - m_pMainWnd = &dlg; - nResponse = dlg.DoModal(); - if (nResponse == IDOK) - { - // TODO: Place code here to handle when the dialog is - // dismissed with OK - } - else if (nResponse == IDCANCEL) - { - // TODO: Place code here to handle when the dialog is - // dismissed with Cancel - } - - if (hCard >= 0) Release_Card(hCard); - } - - } - else if (nResponse == IDCANCEL) - { - // TODO: Place code here to handle when the dialog is - // dismissed with Cancel - } - - - // Since the dialog has been closed, return FALSE so that we exit the - // application, rather than start the application's message pump. - return FALSE; -} diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7442/SDK7442intMsg/7442int.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7442/SDK7442intMsg/7442int.h deleted file mode 100644 index bff44dd..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7442/SDK7442intMsg/7442int.h +++ /dev/null @@ -1,32 +0,0 @@ - -// 7442int.h : main header file for the PROJECT_NAME application -// - -#pragma once - -#ifndef __AFXWIN_H__ - #error "include 'stdafx.h' before including this file for PCH" -#endif - -#include "resource.h" // main symbols - - -// C7442intApp: -// See 7442int.cpp for the implementation of this class -// - -class C7442intApp : public CWinAppEx -{ -public: - C7442intApp(); - -// Overrides - public: - virtual BOOL InitInstance(); - -// Implementation - - DECLARE_MESSAGE_MAP() -}; - -extern C7442intApp theApp; \ No newline at end of file diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7442/SDK7442intMsg/7442int.rc b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7442/SDK7442intMsg/7442int.rc deleted file mode 100644 index deba540..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7442/SDK7442intMsg/7442int.rc +++ /dev/null @@ -1,269 +0,0 @@ -// Microsoft Visual C++ generated resource script. -// -#include "resource.h" - -#define APSTUDIO_READONLY_SYMBOLS -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 2 resource. -// -#ifndef APSTUDIO_INVOKED -#include "targetver.h" -#endif -#include "afxres.h" - -///////////////////////////////////////////////////////////////////////////// -#undef APSTUDIO_READONLY_SYMBOLS - -///////////////////////////////////////////////////////////////////////////// -// Chinese (Taiwan) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_CHT) -#ifdef _WIN32 -LANGUAGE LANG_CHINESE, SUBLANG_CHINESE_TRADITIONAL -#pragma code_page(950) -#endif //_WIN32 - -#ifdef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// TEXTINCLUDE -// - -1 TEXTINCLUDE -BEGIN - "resource.h\0" -END - -2 TEXTINCLUDE -BEGIN - "#ifndef APSTUDIO_INVOKED\r\n" - "#include ""targetver.h""\r\n" - "#endif\r\n" - "#include ""afxres.h""\r\n" - "\0" -END - -3 TEXTINCLUDE -BEGIN - "#define _AFX_NO_SPLITTER_RESOURCES\r\n" - "#define _AFX_NO_OLE_RESOURCES\r\n" - "#define _AFX_NO_TRACKER_RESOURCES\r\n" - "#define _AFX_NO_PROPERTY_RESOURCES\r\n" - "\r\n" - "#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)\r\n" - "LANGUAGE 9, 1\r\n" - "#pragma code_page(1252)\r\n" - "#include ""res\\My7442int.rc2"" // non-Microsoft Visual C++ edited resources\r\n" - "#include ""afxres.rc"" // Standard components\r\n" - "#endif\r\n" - "\0" -END - -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// Icon -// - -// Icon with lowest ID value placed first to ensure application icon -// remains consistent on all systems. -IDR_MAINFRAME ICON "res\\7442int.ico" -#endif // Chinese (Taiwan) resources -///////////////////////////////////////////////////////////////////////////// - - -///////////////////////////////////////////////////////////////////////////// -// English (U.S.) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -#ifdef _WIN32 -LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US -#pragma code_page(1252) -#endif //_WIN32 - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog -// - -IDD_ABOUTBOX DIALOGEX 0, 0, 170, 62 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "About 7442int" -FONT 8, "MS Shell Dlg", 0, 0, 0x1 -BEGIN - ICON IDR_MAINFRAME,IDC_STATIC,14,14,21,20 - LTEXT "7442int, Version 1.0",IDC_STATIC,42,14,114,8,SS_NOPREFIX - LTEXT "Copyright (C) 2010",IDC_STATIC,42,26,114,8 - DEFPUSHBUTTON "OK",IDOK,113,41,50,14,WS_GROUP -END - -IDD_MY7442INT_DIALOG DIALOGEX 0, 0, 195, 126 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU -EXSTYLE WS_EX_APPWINDOW -CAPTION "PCI-7442 Interrupt Sample (INT1)" -FONT 8, "MS Shell Dlg", 0, 0, 0x1 -BEGIN - LTEXT "This program shows the number of occurrence of INT1 interrupt. INT1 interrupt is generated by external signal from DI0 bit-0. If you connect DO0 bit-0 to DI0 bit-0, press 'Output' button can generate an interrupt.",IDC_STATIC,22,12,151,42 - LTEXT "INT1 Count =",IDC_STATIC_05,54,65,85,13 - PUSHBUTTON "Output",IDC_BT_OUTPUT,49,89,84,18 -END - -IDD_CARDID_DIALOG DIALOGEX 0, 0, 163, 88 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "Card ID" -FONT 8, "MS Shell Dlg", 400, 0, 0x1 -BEGIN - COMBOBOX IDC_COMBO_CARDID,73,17,71,126,CBS_DROPDOWN | WS_VSCROLL | WS_TABSTOP - LTEXT "Card Number",IDC_STATIC_01,19,18,46,12 - PUSHBUTTON "OK",IDOK,20,50,58,19 - PUSHBUTTON "CANCEL",IDCANCEL,84,50,58,19 -END - - -///////////////////////////////////////////////////////////////////////////// -// -// Version -// - -VS_VERSION_INFO VERSIONINFO - FILEVERSION 1,0,0,1 - PRODUCTVERSION 1,0,0,1 - FILEFLAGSMASK 0x3fL -#ifdef _DEBUG - FILEFLAGS 0x1L -#else - FILEFLAGS 0x0L -#endif - FILEOS 0x4L - FILETYPE 0x1L - FILESUBTYPE 0x0L -BEGIN - BLOCK "StringFileInfo" - BEGIN - BLOCK "040904e4" - BEGIN - VALUE "CompanyName", "TODO: " - VALUE "FileDescription", "TODO: " - VALUE "FileVersion", "1.0.0.1" - VALUE "InternalName", "7442int.exe" - VALUE "LegalCopyright", "TODO: (c) . All rights reserved." - VALUE "OriginalFilename", "7442int.exe" - VALUE "ProductName", "TODO: " - VALUE "ProductVersion", "1.0.0.1" - END - END - BLOCK "VarFileInfo" - BEGIN - VALUE "Translation", 0x409, 1252 - END -END - - -///////////////////////////////////////////////////////////////////////////// -// -// DESIGNINFO -// - -#ifdef APSTUDIO_INVOKED -GUIDELINES DESIGNINFO -BEGIN - IDD_ABOUTBOX, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 163 - TOPMARGIN, 7 - BOTTOMMARGIN, 55 - END - - IDD_CARDID_DIALOG, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 156 - TOPMARGIN, 7 - BOTTOMMARGIN, 81 - END -END -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog Info -// - -IDD_CARDID_DIALOG DLGINIT -BEGIN - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0030, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0031, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0032, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0033, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0034, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0035, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0036, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0037, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0038, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0039, - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3031, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3131, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3231, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3331, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3431, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3531, "\000" - 0 -END - - -///////////////////////////////////////////////////////////////////////////// -// -// String Table -// - -STRINGTABLE -BEGIN - IDS_ABOUTBOX "&About 7442int..." -END - -#endif // English (U.S.) resources -///////////////////////////////////////////////////////////////////////////// - - - -#ifndef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 3 resource. -// -#define _AFX_NO_SPLITTER_RESOURCES -#define _AFX_NO_OLE_RESOURCES -#define _AFX_NO_TRACKER_RESOURCES -#define _AFX_NO_PROPERTY_RESOURCES - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -LANGUAGE 9, 1 -#pragma code_page(1252) -#include "res\My7442int.rc2" // non-Microsoft Visual C++ edited resources -#include "afxres.rc" // Standard components -#endif - -///////////////////////////////////////////////////////////////////////////// -#endif // not APSTUDIO_INVOKED - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7442/SDK7442intMsg/7442int.sln b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7442/SDK7442intMsg/7442int.sln deleted file mode 100644 index c9bf5bf..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7442/SDK7442intMsg/7442int.sln +++ /dev/null @@ -1,20 +0,0 @@ - -Microsoft Visual Studio Solution File, Format Version 10.00 -# Visual Studio 2008 -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "7442int", "7442int.vcproj", "{7D5D9EC5-ED97-47EE-B6F4-ACCD71069808}" -EndProject -Global - GlobalSection(SolutionConfigurationPlatforms) = preSolution - Debug|x64 = Debug|x64 - Release|x64 = Release|x64 - EndGlobalSection - GlobalSection(ProjectConfigurationPlatforms) = postSolution - {7D5D9EC5-ED97-47EE-B6F4-ACCD71069808}.Debug|x64.ActiveCfg = Debug|x64 - {7D5D9EC5-ED97-47EE-B6F4-ACCD71069808}.Debug|x64.Build.0 = Debug|x64 - {7D5D9EC5-ED97-47EE-B6F4-ACCD71069808}.Release|x64.ActiveCfg = Release|x64 - {7D5D9EC5-ED97-47EE-B6F4-ACCD71069808}.Release|x64.Build.0 = Release|x64 - EndGlobalSection - GlobalSection(SolutionProperties) = preSolution - HideSolutionNode = FALSE - EndGlobalSection -EndGlobal diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7442/SDK7442intMsg/7442int.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7442/SDK7442intMsg/7442int.suo deleted file mode 100644 index fa99f18..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7442/SDK7442intMsg/7442int.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7442/SDK7442intMsg/7442int.vcproj b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7442/SDK7442intMsg/7442int.vcproj deleted file mode 100644 index 4008522..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7442/SDK7442intMsg/7442int.vcproj +++ /dev/null @@ -1,286 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7442/SDK7442intMsg/7442intDlg.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7442/SDK7442intMsg/7442intDlg.cpp deleted file mode 100644 index 04c2f3b..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7442/SDK7442intMsg/7442intDlg.cpp +++ /dev/null @@ -1,203 +0,0 @@ - -// 7442intDlg.cpp : implementation file -// - -#include "stdafx.h" -#include "7442int.h" -#include "7442intDlg.h" - -#ifdef _DEBUG -#define new DEBUG_NEW -#endif - - -#define EXT_SIGNAL_MESSAGE _T("EXT_SIG") -UINT WM_INT = ::RegisterWindowMessage(EXT_SIGNAL_MESSAGE); - -// CAboutDlg dialog used for App About - -class CAboutDlg : public CDialog -{ -public: - CAboutDlg(); - -// Dialog Data - enum { IDD = IDD_ABOUTBOX }; - - protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - -// Implementation -protected: - DECLARE_MESSAGE_MAP() -}; - -CAboutDlg::CAboutDlg() : CDialog(CAboutDlg::IDD) -{ -} - -void CAboutDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); -} - -BEGIN_MESSAGE_MAP(CAboutDlg, CDialog) -END_MESSAGE_MAP() - - -// C7442intDlg dialog - - - - -C7442intDlg::C7442intDlg(I16 hCard, CWnd* pParent /*=NULL*/) - : CDialog(C7442intDlg::IDD, pParent) -{ - m_hIcon = AfxGetApp()->LoadIcon(IDR_MAINFRAME); - - m_hCard = hCard; - m_dwPressCount = 0x00000000; - m_IntCount = 0; -} - -void C7442intDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); -} - -BEGIN_MESSAGE_MAP(C7442intDlg, CDialog) - ON_WM_SYSCOMMAND() - ON_WM_PAINT() - ON_WM_QUERYDRAGICON() - ON_REGISTERED_MESSAGE(WM_INT, OnExtSIGInterrupt) - //}}AFX_MSG_MAP - ON_WM_DESTROY() - ON_BN_CLICKED(IDC_BT_OUTPUT, &C7442intDlg::OnOutput) -END_MESSAGE_MAP() - - -// C7442intDlg message handlers - -BOOL C7442intDlg::OnInitDialog() -{ - CDialog::OnInitDialog(); - - // Add "About..." menu item to system menu. - - // IDM_ABOUTBOX must be in the system command range. - ASSERT((IDM_ABOUTBOX & 0xFFF0) == IDM_ABOUTBOX); - ASSERT(IDM_ABOUTBOX < 0xF000); - - CMenu* pSysMenu = GetSystemMenu(FALSE); - if (pSysMenu != NULL) - { - BOOL bNameValid; - CString strAboutMenu; - bNameValid = strAboutMenu.LoadString(IDS_ABOUTBOX); - ASSERT(bNameValid); - if (!strAboutMenu.IsEmpty()) - { - pSysMenu->AppendMenu(MF_SEPARATOR); - pSysMenu->AppendMenu(MF_STRING, IDM_ABOUTBOX, strAboutMenu); - } - } - - // Set the icon for this dialog. The framework does this automatically - // when the application's main window is not a dialog - SetIcon(m_hIcon, TRUE); // Set big icon - SetIcon(m_hIcon, FALSE); // Set small icon - - // TODO: Add extra initialization here - DO_WritePort(m_hCard, P7442_CH0, 0x0); - Sleep(1); - DIO_INT1_EventMessage (m_hCard, INT1_EXT_SIGNAL, this->m_hWnd, WM_INT, NULL); - DIO_SetCOSInterrupt32(m_hCard, 0, 0x0001, &m_hIntEvent[0], 0); - - - return TRUE; // return TRUE unless you set the focus to a control -} - -void C7442intDlg::OnSysCommand(UINT nID, LPARAM lParam) -{ - if ((nID & 0xFFF0) == IDM_ABOUTBOX) - { - CAboutDlg dlgAbout; - dlgAbout.DoModal(); - } - else - { - CDialog::OnSysCommand(nID, lParam); - } -} - -// If you add a minimize button to your dialog, you will need the code below -// to draw the icon. For MFC applications using the document/view model, -// this is automatically done for you by the framework. - -void C7442intDlg::OnPaint() -{ - if (IsIconic()) - { - CPaintDC dc(this); // device context for painting - - SendMessage(WM_ICONERASEBKGND, reinterpret_cast(dc.GetSafeHdc()), 0); - - // Center icon in client rectangle - int cxIcon = GetSystemMetrics(SM_CXICON); - int cyIcon = GetSystemMetrics(SM_CYICON); - CRect rect; - GetClientRect(&rect); - int x = (rect.Width() - cxIcon + 1) / 2; - int y = (rect.Height() - cyIcon + 1) / 2; - - // Draw the icon - dc.DrawIcon(x, y, m_hIcon); - } - else - { - CDialog::OnPaint(); - } -} - -// The system calls this function to obtain the cursor to display while the user drags -// the minimized window. -HCURSOR C7442intDlg::OnQueryDragIcon() -{ - return static_cast(m_hIcon); -} - - -void C7442intDlg::OnDestroy() -{ - CDialog::OnDestroy(); - - // TODO: Add your message handler code here - DIO_INT1_EventMessage(m_hCard, INT1_DISABLE, this->m_hWnd, NULL, NULL); - DIO_SetCOSInterrupt32(m_hCard, 0, 0x0000, NULL, 0); - -} - - -void C7442intDlg::OnOutput() -{ - // TODO: Add your control notification handler code here - if(m_dwPressCount%2 == 0) - DO_WritePort(m_hCard, P7442_CH0, 0x1); - else - DO_WritePort(m_hCard, P7442_CH0, 0x0); - - m_dwPressCount++; -} - -LRESULT C7442intDlg::OnExtSIGInterrupt(WPARAM wParam, LPARAM lParam) -{ - // do something useful - CString strTemp; - - m_IntCount ++; - - strTemp.Format( TEXT("INT1 Count = %d"), m_IntCount ); - SetDlgItemText( IDC_STATIC_05, strTemp ); - - return (LRESULT) 0; -} diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7442/SDK7442intMsg/7442intDlg.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7442/SDK7442intMsg/7442intDlg.h deleted file mode 100644 index 4ca6adc..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7442/SDK7442intMsg/7442intDlg.h +++ /dev/null @@ -1,41 +0,0 @@ - -// 7442intDlg.h : header file -// -#include "Dask64.h" - -#pragma once - - -// C7442intDlg dialog -class C7442intDlg : public CDialog -{ -// Construction -public: - C7442intDlg(I16 hCard, CWnd* pParent = NULL); // standard constructor - -// Dialog Data - enum { IDD = IDD_MY7442INT_DIALOG }; - - protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - - -// Implementation -protected: - HICON m_hIcon; - I16 m_hCard; - int m_IntCount; - HANDLE m_hIntEvent[2]; - U32 m_dwPressCount; - - // Generated message map functions - virtual BOOL OnInitDialog(); - afx_msg void OnSysCommand(UINT nID, LPARAM lParam); - afx_msg void OnPaint(); - afx_msg HCURSOR OnQueryDragIcon(); - afx_msg LRESULT OnExtSIGInterrupt(WPARAM wParam, LPARAM lParam); - DECLARE_MESSAGE_MAP() -public: - afx_msg void OnDestroy(); - afx_msg void OnOutput(); -}; diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7442/SDK7442intMsg/CardIDDlg.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7442/SDK7442intMsg/CardIDDlg.cpp deleted file mode 100644 index 68a35f6..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7442/SDK7442intMsg/CardIDDlg.cpp +++ /dev/null @@ -1,67 +0,0 @@ -// CardIDDlg.cpp : implementation file -// - -#include "stdafx.h" -#include "7442int.h" -#include "CardIDDlg.h" - - -// CCardIDDlg dialog - -IMPLEMENT_DYNAMIC(CCardIDDlg, CDialog) - -CCardIDDlg::CCardIDDlg(int nCardIdx, CWnd* pParent /*=NULL*/) - : CDialog(CCardIDDlg::IDD, pParent) -{ - m_nCardIdx = nCardIdx; -} - -CCardIDDlg::~CCardIDDlg() -{ -} - -void CCardIDDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); - DDX_Control(pDX, IDC_COMBO_CARDID, m_cbCardID); -} - - -BEGIN_MESSAGE_MAP(CCardIDDlg, CDialog) -// ON_CBN_SELCHANGE(IDC_COMBO_CARDID, &CCardIDDlg::OnCbnSelchangeComboCardid) -ON_BN_CLICKED(IDOK, &CCardIDDlg::OnBnClickedOk) -//ON_WM_CTLCOLOR() -END_MESSAGE_MAP() - - -// CCardIDDlg message handlers - - -void CCardIDDlg::OnBnClickedOk() -{ - // TODO: Add your control notification handler code here - -// UpdateData(TRUE); - m_nCardIdx = m_cbCardID.GetCurSel(); - - OnOK(); -} - -BOOL CCardIDDlg::OnInitDialog() -{ - CDialog::OnInitDialog(); - - // TODO: Add extra initialization here - m_cbCardID.SetCurSel( m_nCardIdx ); - - return TRUE; // return TRUE unless you set the focus to a control - // EXCEPTION: OCX Property Pages should return FALSE -} - -// the function to get the selected CardID -int CCardIDDlg::GetCardID(void) -{ - return m_nCardIdx; -} - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7442/SDK7442intMsg/CardIDDlg.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7442/SDK7442intMsg/CardIDDlg.h deleted file mode 100644 index 54628ea..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7442/SDK7442intMsg/CardIDDlg.h +++ /dev/null @@ -1,33 +0,0 @@ -#pragma once -#include "afxwin.h" - - -// CCardIDDlg dialog - -class CCardIDDlg : public CDialog -{ - DECLARE_DYNAMIC(CCardIDDlg) - -public: - CCardIDDlg(int nCardIdx, CWnd* pParent = NULL); // standard constructor - virtual ~CCardIDDlg(); - -// Dialog Data - enum { IDD = IDD_CARDID_DIALOG }; - -protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - - DECLARE_MESSAGE_MAP() -public: -// afx_msg void OnCbnSelchangeComboCardid(); - afx_msg void OnBnClickedOk(); - // the setting of CardID ComboBox - int m_nCardIdx; - virtual BOOL OnInitDialog(); - // the control of CardID ComboBox - CComboBox m_cbCardID; - // the function to get the selected CardID - int GetCardID(void); -// afx_msg HBRUSH OnCtlColor(CDC* pDC, CWnd* pWnd, UINT nCtlColor); -}; diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7442/SDK7442intMsg/ReadMe.txt b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7442/SDK7442intMsg/ReadMe.txt deleted file mode 100644 index 0757c21..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7442/SDK7442intMsg/ReadMe.txt +++ /dev/null @@ -1,93 +0,0 @@ -================================================================================ - MICROSOFT FOUNDATION CLASS LIBRARY : 7442int Project Overview -=============================================================================== - -The application wizard has created this 7442int application for -you. This application not only demonstrates the basics of using the Microsoft -Foundation Classes but is also a starting point for writing your application. - -This file contains a summary of what you will find in each of the files that -make up your 7442int application. - -7442int.vcproj - This is the main project file for VC++ projects generated using an application wizard. - It contains information about the version of Visual C++ that generated the file, and - information about the platforms, configurations, and project features selected with the - application wizard. - -7442int.h - This is the main header file for the application. It includes other - project specific headers (including Resource.h) and declares the - C7442intApp application class. - -7442int.cpp - This is the main application source file that contains the application - class C7442intApp. - -7442int.rc - This is a listing of all of the Microsoft Windows resources that the - program uses. It includes the icons, bitmaps, and cursors that are stored - in the RES subdirectory. This file can be directly edited in Microsoft - Visual C++. Your project resources are in 1033. - -res\7442int.ico - This is an icon file, which is used as the application's icon. This - icon is included by the main resource file 7442int.rc. - -res\My7442int.rc2 - This file contains resources that are not edited by Microsoft - Visual C++. You should place all resources not editable by - the resource editor in this file. - - -///////////////////////////////////////////////////////////////////////////// - -The application wizard creates one dialog class: - -7442intDlg.h, 7442intDlg.cpp - the dialog - These files contain your C7442intDlg class. This class defines - the behavior of your application's main dialog. The dialog's template is - in 7442int.rc, which can be edited in Microsoft Visual C++. - - -///////////////////////////////////////////////////////////////////////////// - -Other Features: - -ActiveX Controls - The application includes support to use ActiveX controls. - -///////////////////////////////////////////////////////////////////////////// - -Other standard files: - -StdAfx.h, StdAfx.cpp - These files are used to build a precompiled header (PCH) file - named 7442int.pch and a precompiled types file named StdAfx.obj. - -Resource.h - This is the standard header file, which defines new resource IDs. - Microsoft Visual C++ reads and updates this file. - -7442int.manifest - Application manifest files are used by Windows XP to describe an applications - dependency on specific versions of Side-by-Side assemblies. The loader uses this - information to load the appropriate assembly from the assembly cache or private - from the application. The Application manifest maybe included for redistribution - as an external .manifest file that is installed in the same folder as the application - executable or it may be included in the executable in the form of a resource. -///////////////////////////////////////////////////////////////////////////// - -Other notes: - -The application wizard uses "TODO:" to indicate parts of the source code you -should add to or customize. - -If your application uses MFC in a shared DLL, you will need -to redistribute the MFC DLLs. If your application is in a language -other than the operating system's locale, you will also have to -redistribute the corresponding localized resources MFC90XXX.DLL. -For more information on both of these topics, please see the section on -redistributing Visual C++ applications in MSDN documentation. - -///////////////////////////////////////////////////////////////////////////// diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7442/SDK7442intMsg/res/7442int.ico b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7442/SDK7442intMsg/res/7442int.ico deleted file mode 100644 index d56fbcd..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7442/SDK7442intMsg/res/7442int.ico and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7442/SDK7442intMsg/res/My7442int.rc2 b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7442/SDK7442intMsg/res/My7442int.rc2 deleted file mode 100644 index 7bd3593..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7442/SDK7442intMsg/res/My7442int.rc2 +++ /dev/null @@ -1,13 +0,0 @@ -// -// My7256int.RC2 - resources Microsoft Visual C++ does not edit directly -// - -#ifdef APSTUDIO_INVOKED -#error this file is not editable by Microsoft Visual C++ -#endif //APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// Add manually edited resources here... - -///////////////////////////////////////////////////////////////////////////// diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7442/SDK7442intMsg/resource.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7442/SDK7442intMsg/resource.h deleted file mode 100644 index 194fed9..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7442/SDK7442intMsg/resource.h +++ /dev/null @@ -1,27 +0,0 @@ -//{{NO_DEPENDENCIES}} -// Microsoft Visual C++ generated include file. -// Used by 7442int.rc -// -#define IDM_ABOUTBOX 0x0010 -#define IDD_ABOUTBOX 100 -#define IDS_ABOUTBOX 101 -#define IDD_MY7442INT_DIALOG 102 -#define IDR_MAINFRAME 128 -#define IDD_CARDID_DIALOG 129 -#define IDC_COMBO_CARDID 1000 -#define IDC_BUTTON1 1000 -#define IDC_BT_OUTPUT 1000 -#define IDC_STATIC_05 1007 -#define IDC_STATIC_06 1008 -#define IDC_STATIC_01 1014 - -// Next default values for new objects -// -#ifdef APSTUDIO_INVOKED -#ifndef APSTUDIO_READONLY_SYMBOLS -#define _APS_NEXT_RESOURCE_VALUE 131 -#define _APS_NEXT_COMMAND_VALUE 32771 -#define _APS_NEXT_CONTROL_VALUE 1001 -#define _APS_NEXT_SYMED_VALUE 101 -#endif -#endif diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7442/SDK7442intMsg/stdafx.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7442/SDK7442intMsg/stdafx.cpp deleted file mode 100644 index 92bfc75..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7442/SDK7442intMsg/stdafx.cpp +++ /dev/null @@ -1,8 +0,0 @@ - -// stdafx.cpp : source file that includes just the standard includes -// 7442int.pch will be the pre-compiled header -// stdafx.obj will contain the pre-compiled type information - -#include "stdafx.h" - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7442/SDK7442intMsg/stdafx.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7442/SDK7442intMsg/stdafx.h deleted file mode 100644 index 12123e2..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7442/SDK7442intMsg/stdafx.h +++ /dev/null @@ -1,60 +0,0 @@ - -// stdafx.h : include file for standard system include files, -// or project specific include files that are used frequently, -// but are changed infrequently - -#pragma once - -#ifndef _SECURE_ATL -#define _SECURE_ATL 1 -#endif - -#ifndef VC_EXTRALEAN -#define VC_EXTRALEAN // Exclude rarely-used stuff from Windows headers -#endif - -#include "targetver.h" - -#define _ATL_CSTRING_EXPLICIT_CONSTRUCTORS // some CString constructors will be explicit - -// turns off MFC's hiding of some common and often safely ignored warning messages -#define _AFX_ALL_WARNINGS - -#include // MFC core and standard components -#include // MFC extensions - - -#include // MFC Automation classes - - - -#ifndef _AFX_NO_OLE_SUPPORT -#include // MFC support for Internet Explorer 4 Common Controls -#endif -#ifndef _AFX_NO_AFXCMN_SUPPORT -#include // MFC support for Windows Common Controls -#endif // _AFX_NO_AFXCMN_SUPPORT - -#include // MFC support for ribbons and control bars - - - - - - - - - -#ifdef _UNICODE -#if defined _M_IX86 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='x86' publicKeyToken='6595b64144ccf1df' language='*'\"") -#elif defined _M_IA64 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='ia64' publicKeyToken='6595b64144ccf1df' language='*'\"") -#elif defined _M_X64 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='amd64' publicKeyToken='6595b64144ccf1df' language='*'\"") -#else -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='*' publicKeyToken='6595b64144ccf1df' language='*'\"") -#endif -#endif - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7442/SDK7442intMsg/targetver.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7442/SDK7442intMsg/targetver.h deleted file mode 100644 index 11730d5..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7442/SDK7442intMsg/targetver.h +++ /dev/null @@ -1,26 +0,0 @@ - -#pragma once - -// The following macros define the minimum required platform. The minimum required platform -// is the earliest version of Windows, Internet Explorer etc. that has the necessary features to run -// your application. The macros work by enabling all features available on platform versions up to and -// including the version specified. - -// Modify the following defines if you have to target a platform prior to the ones specified below. -// Refer to MSDN for the latest info on corresponding values for different platforms. -#ifndef WINVER // Specifies that the minimum required platform is Windows Vista. -#define WINVER 0x0600 // Change this to the appropriate value to target other versions of Windows. -#endif - -#ifndef _WIN32_WINNT // Specifies that the minimum required platform is Windows Vista. -#define _WIN32_WINNT 0x0600 // Change this to the appropriate value to target other versions of Windows. -#endif - -#ifndef _WIN32_WINDOWS // Specifies that the minimum required platform is Windows 98. -#define _WIN32_WINDOWS 0x0410 // Change this to the appropriate value to target Windows Me or later. -#endif - -#ifndef _WIN32_IE // Specifies that the minimum required platform is Internet Explorer 7.0. -#define _WIN32_IE 0x0700 // Change this to the appropriate value to target other versions of IE. -#endif - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7442/SDKWdtOvflow/7442int.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7442/SDKWdtOvflow/7442int.cpp deleted file mode 100644 index 53ab567..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7442/SDKWdtOvflow/7442int.cpp +++ /dev/null @@ -1,109 +0,0 @@ - -// 7442int.cpp : Defines the class behaviors for the application. -// - -#include "stdafx.h" -#include "7442int.h" -#include "7442intDlg.h" -#include "CardIDDlg.h" - -#ifdef _DEBUG -#define new DEBUG_NEW -#endif - - -// C7442intApp - -BEGIN_MESSAGE_MAP(C7442intApp, CWinAppEx) - ON_COMMAND(ID_HELP, &CWinApp::OnHelp) -END_MESSAGE_MAP() - - -// C7442intApp construction - -C7442intApp::C7442intApp() -{ - // TODO: add construction code here, - // Place all significant initialization in InitInstance -} - - -// The one and only C7442intApp object - -C7442intApp theApp; - - -// C7442intApp initialization - -BOOL C7442intApp::InitInstance() -{ - int nCardID = 0; - I16 hCard; - CString strTemp; - INT_PTR nResponse; - - // InitCommonControlsEx() is required on Windows XP if an application - // manifest specifies use of ComCtl32.dll version 6 or later to enable - // visual styles. Otherwise, any window creation will fail. - INITCOMMONCONTROLSEX InitCtrls; - InitCtrls.dwSize = sizeof(InitCtrls); - // Set this to include all the common control classes you want to use - // in your application. - InitCtrls.dwICC = ICC_WIN95_CLASSES; - InitCommonControlsEx(&InitCtrls); - - CWinAppEx::InitInstance(); - - AfxEnableControlContainer(); - - // Standard initialization - // If you are not using these features and wish to reduce the size - // of your final executable, you should remove from the following - // the specific initialization routines you do not need - // Change the registry key under which our settings are stored - // TODO: You should modify this string to be something appropriate - // such as the name of your company or organization - SetRegistryKey(_T("Local AppWizard-Generated Applications")); - - CCardIDDlg CardDlg( nCardID ); - - nResponse = CardDlg.DoModal(); - if (nResponse == IDOK) - { - nCardID = CardDlg.GetCardID(); - - if ((hCard=Register_Card(PCI_7442, nCardID)) < 0) - { - strTemp.Format( TEXT("Register_Card Error = %d"), hCard); - AfxMessageBox( strTemp ); - } - else - { - C7442intDlg dlg(hCard); - m_pMainWnd = &dlg; - nResponse = dlg.DoModal(); - if (nResponse == IDOK) - { - // TODO: Place code here to handle when the dialog is - // dismissed with OK - } - else if (nResponse == IDCANCEL) - { - // TODO: Place code here to handle when the dialog is - // dismissed with Cancel - } - - if (hCard >= 0) Release_Card(hCard); - } - - } - else if (nResponse == IDCANCEL) - { - // TODO: Place code here to handle when the dialog is - // dismissed with Cancel - } - - // Since the dialog has been closed, return FALSE so that we exit the - // application, rather than start the application's message pump. - return FALSE; -} diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7442/SDKWdtOvflow/7442int.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7442/SDKWdtOvflow/7442int.h deleted file mode 100644 index bff44dd..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7442/SDKWdtOvflow/7442int.h +++ /dev/null @@ -1,32 +0,0 @@ - -// 7442int.h : main header file for the PROJECT_NAME application -// - -#pragma once - -#ifndef __AFXWIN_H__ - #error "include 'stdafx.h' before including this file for PCH" -#endif - -#include "resource.h" // main symbols - - -// C7442intApp: -// See 7442int.cpp for the implementation of this class -// - -class C7442intApp : public CWinAppEx -{ -public: - C7442intApp(); - -// Overrides - public: - virtual BOOL InitInstance(); - -// Implementation - - DECLARE_MESSAGE_MAP() -}; - -extern C7442intApp theApp; \ No newline at end of file diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7442/SDKWdtOvflow/7442int.rc b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7442/SDKWdtOvflow/7442int.rc deleted file mode 100644 index e8f5e49..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7442/SDKWdtOvflow/7442int.rc +++ /dev/null @@ -1,245 +0,0 @@ -// Microsoft Visual C++ generated resource script. -// -#include "resource.h" - -#define APSTUDIO_READONLY_SYMBOLS -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 2 resource. -// -#ifndef APSTUDIO_INVOKED -#include "targetver.h" -#endif -#include "afxres.h" - -///////////////////////////////////////////////////////////////////////////// -#undef APSTUDIO_READONLY_SYMBOLS - -///////////////////////////////////////////////////////////////////////////// -// Chinese (Taiwan) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_CHT) -#ifdef _WIN32 -LANGUAGE LANG_CHINESE, SUBLANG_CHINESE_TRADITIONAL -#pragma code_page(950) -#endif //_WIN32 - -#ifdef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// TEXTINCLUDE -// - -1 TEXTINCLUDE -BEGIN - "resource.h\0" -END - -2 TEXTINCLUDE -BEGIN - "#ifndef APSTUDIO_INVOKED\r\n" - "#include ""targetver.h""\r\n" - "#endif\r\n" - "#include ""afxres.h""\r\n" - "\0" -END - -3 TEXTINCLUDE -BEGIN - "#define _AFX_NO_SPLITTER_RESOURCES\r\n" - "#define _AFX_NO_OLE_RESOURCES\r\n" - "#define _AFX_NO_TRACKER_RESOURCES\r\n" - "#define _AFX_NO_PROPERTY_RESOURCES\r\n" - "\r\n" - "#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)\r\n" - "LANGUAGE 9, 1\r\n" - "#pragma code_page(1252)\r\n" - "#include ""res\\My7442int.rc2"" // non-Microsoft Visual C++ edited resources\r\n" - "#include ""afxres.rc"" // Standard components\r\n" - "#endif\r\n" - "\0" -END - -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// Icon -// - -// Icon with lowest ID value placed first to ensure application icon -// remains consistent on all systems. -IDR_MAINFRAME ICON "res\\7442int.ico" -#endif // Chinese (Taiwan) resources -///////////////////////////////////////////////////////////////////////////// - - -///////////////////////////////////////////////////////////////////////////// -// English (U.S.) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -#ifdef _WIN32 -LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US -#pragma code_page(1252) -#endif //_WIN32 - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog -// - -IDD_ABOUTBOX DIALOGEX 0, 0, 170, 62 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "About 7442int" -FONT 8, "MS Shell Dlg", 0, 0, 0x1 -BEGIN - ICON IDR_MAINFRAME,IDC_STATIC,14,14,21,20 - LTEXT "7442int, Version 1.0",IDC_STATIC,42,14,114,8,SS_NOPREFIX - LTEXT "Copyright (C) 2010",IDC_STATIC,42,26,114,8 - DEFPUSHBUTTON "OK",IDOK,113,41,50,14,WS_GROUP -END - -IDD_MY7442INT_DIALOG DIALOGEX 0, 0, 232, 148 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU -EXSTYLE WS_EX_APPWINDOW -CAPTION "PCI-7442 WDT Sample" -FONT 8, "MS Shell Dlg", 0, 0, 0x1 -BEGIN - LTEXT "This program sets the safetyout pattern to 0x1 and 0x2 for CH0 and CH1, and enables WDT capability.",IDC_STATIC,7,14,203,19 - LTEXT "INT2 interrupt is generated by WDT overflow. Wait for WDT\noverflow...(about 5.0 seonds)",IDC_STATIC,7,38,198,19 - LTEXT "You could click Reload button to reload the WDT counter BEFORE\nWDT overflow!!",IDC_STATIC,7,63,212,19 - LTEXT "The CH0 current pattern is:",IDC_STATIC_WDT1,37,86,154,12,NOT WS_VISIBLE - PUSHBUTTON "Reload",IDC_BT_RELOAD,61,118,97,18 - LTEXT "The CH1 current pattern is:",IDC_STATIC_WDT2,37,100,154,12,NOT WS_VISIBLE -END - -IDD_CARDID_DIALOG DIALOGEX 0, 0, 191, 103 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "Card ID" -FONT 8, "MS Shell Dlg", 400, 0, 0x1 -BEGIN - COMBOBOX IDC_COMBO_CARDID,83,24,71,126,CBS_DROPDOWN | WS_VSCROLL | WS_TABSTOP - LTEXT "Card Number",IDC_STATIC_01,29,25,46,12 - PUSHBUTTON "OK",IDOK,30,57,58,19 - PUSHBUTTON "CANCEL",IDCANCEL,94,57,58,19 -END - - -///////////////////////////////////////////////////////////////////////////// -// -// Version -// - -VS_VERSION_INFO VERSIONINFO - FILEVERSION 1,0,0,1 - PRODUCTVERSION 1,0,0,1 - FILEFLAGSMASK 0x3fL -#ifdef _DEBUG - FILEFLAGS 0x1L -#else - FILEFLAGS 0x0L -#endif - FILEOS 0x4L - FILETYPE 0x1L - FILESUBTYPE 0x0L -BEGIN - BLOCK "StringFileInfo" - BEGIN - BLOCK "040904e4" - BEGIN - VALUE "CompanyName", "TODO: " - VALUE "FileDescription", "TODO: " - VALUE "FileVersion", "1.0.0.1" - VALUE "InternalName", "7442int.exe" - VALUE "LegalCopyright", "TODO: (c) . All rights reserved." - VALUE "OriginalFilename", "7442int.exe" - VALUE "ProductName", "TODO: " - VALUE "ProductVersion", "1.0.0.1" - END - END - BLOCK "VarFileInfo" - BEGIN - VALUE "Translation", 0x409, 1252 - END -END - - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog Info -// - -IDD_CARDID_DIALOG DLGINIT -BEGIN - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0030, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0031, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0032, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0033, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0034, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0035, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0036, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0037, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0038, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0039, - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3031, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3131, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3231, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3331, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3431, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3531, "\000" - 0 -END - - -///////////////////////////////////////////////////////////////////////////// -// -// String Table -// - -STRINGTABLE -BEGIN - IDS_ABOUTBOX "&About 7442int..." -END - -#endif // English (U.S.) resources -///////////////////////////////////////////////////////////////////////////// - - - -#ifndef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 3 resource. -// -#define _AFX_NO_SPLITTER_RESOURCES -#define _AFX_NO_OLE_RESOURCES -#define _AFX_NO_TRACKER_RESOURCES -#define _AFX_NO_PROPERTY_RESOURCES - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -LANGUAGE 9, 1 -#pragma code_page(1252) -#include "res\My7442int.rc2" // non-Microsoft Visual C++ edited resources -#include "afxres.rc" // Standard components -#endif - -///////////////////////////////////////////////////////////////////////////// -#endif // not APSTUDIO_INVOKED - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7442/SDKWdtOvflow/7442int.sln b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7442/SDKWdtOvflow/7442int.sln deleted file mode 100644 index ff68d2f..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7442/SDKWdtOvflow/7442int.sln +++ /dev/null @@ -1,20 +0,0 @@ - -Microsoft Visual Studio Solution File, Format Version 10.00 -# Visual Studio 2008 -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "7442int", "7442int.vcproj", "{DB629A63-5369-4B62-8D4E-383E6BAEA79E}" -EndProject -Global - GlobalSection(SolutionConfigurationPlatforms) = preSolution - Debug|x64 = Debug|x64 - Release|x64 = Release|x64 - EndGlobalSection - GlobalSection(ProjectConfigurationPlatforms) = postSolution - {DB629A63-5369-4B62-8D4E-383E6BAEA79E}.Debug|x64.ActiveCfg = Debug|x64 - {DB629A63-5369-4B62-8D4E-383E6BAEA79E}.Debug|x64.Build.0 = Debug|x64 - {DB629A63-5369-4B62-8D4E-383E6BAEA79E}.Release|x64.ActiveCfg = Release|x64 - {DB629A63-5369-4B62-8D4E-383E6BAEA79E}.Release|x64.Build.0 = Release|x64 - EndGlobalSection - GlobalSection(SolutionProperties) = preSolution - HideSolutionNode = FALSE - EndGlobalSection -EndGlobal diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7442/SDKWdtOvflow/7442int.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7442/SDKWdtOvflow/7442int.suo deleted file mode 100644 index 6663744..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7442/SDKWdtOvflow/7442int.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7442/SDKWdtOvflow/7442int.vcproj b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7442/SDKWdtOvflow/7442int.vcproj deleted file mode 100644 index 4fc73de..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7442/SDKWdtOvflow/7442int.vcproj +++ /dev/null @@ -1,286 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7442/SDKWdtOvflow/7442intDlg.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7442/SDKWdtOvflow/7442intDlg.cpp deleted file mode 100644 index 249c2a9..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7442/SDKWdtOvflow/7442intDlg.cpp +++ /dev/null @@ -1,199 +0,0 @@ - -// 7442intDlg.cpp : implementation file -// - -#include "stdafx.h" -#include "7442int.h" -#include "7442intDlg.h" - -#define WDT_INTERRUPT_MESSAGE _T("WDT_INT") -UINT WM_INT = ::RegisterWindowMessage(WDT_INTERRUPT_MESSAGE); - -#ifdef _DEBUG -#define new DEBUG_NEW -#endif - -F32 rt = 0.0; - -// CAboutDlg dialog used for App About - -class CAboutDlg : public CDialog -{ -public: - CAboutDlg(); - -// Dialog Data - enum { IDD = IDD_ABOUTBOX }; - - protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - -// Implementation -protected: - DECLARE_MESSAGE_MAP() -}; - -CAboutDlg::CAboutDlg() : CDialog(CAboutDlg::IDD) -{ -} - -void CAboutDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); -} - -BEGIN_MESSAGE_MAP(CAboutDlg, CDialog) -END_MESSAGE_MAP() - - -// C7442intDlg dialog - - - - -C7442intDlg::C7442intDlg(I16 hCard, CWnd* pParent /*=NULL*/) - : CDialog(C7442intDlg::IDD, pParent) -{ - m_hIcon = AfxGetApp()->LoadIcon(IDR_MAINFRAME); - - m_hCard = hCard; -} - -void C7442intDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); -} - -BEGIN_MESSAGE_MAP(C7442intDlg, CDialog) - ON_WM_SYSCOMMAND() - ON_WM_PAINT() - ON_WM_QUERYDRAGICON() - ON_REGISTERED_MESSAGE(WM_INT, OnWDTInterrupt) - //}}AFX_MSG_MAP - ON_WM_DESTROY() - ON_BN_CLICKED(IDC_BT_RELOAD, &C7442intDlg::OnWDTReload) -END_MESSAGE_MAP() - - -// C7442intDlg message handlers - -BOOL C7442intDlg::OnInitDialog() -{ - CDialog::OnInitDialog(); - - // Add "About..." menu item to system menu. - - // IDM_ABOUTBOX must be in the system command range. - ASSERT((IDM_ABOUTBOX & 0xFFF0) == IDM_ABOUTBOX); - ASSERT(IDM_ABOUTBOX < 0xF000); - - CMenu* pSysMenu = GetSystemMenu(FALSE); - if (pSysMenu != NULL) - { - BOOL bNameValid; - CString strAboutMenu; - bNameValid = strAboutMenu.LoadString(IDS_ABOUTBOX); - ASSERT(bNameValid); - if (!strAboutMenu.IsEmpty()) - { - pSysMenu->AppendMenu(MF_SEPARATOR); - pSysMenu->AppendMenu(MF_STRING, IDM_ABOUTBOX, strAboutMenu); - } - } - - // Set the icon for this dialog. The framework does this automatically - // when the application's main window is not a dialog - SetIcon(m_hIcon, TRUE); // Set big icon - SetIcon(m_hIcon, FALSE); // Set small icon - - // TODO: Add extra initialization here - SetInitPattern (m_hCard, SAFTOUT_PTN_CH0, 0x1); - SetInitPattern (m_hCard, SAFTOUT_PTN_CH1, 0x2); - WDT_Setup (m_hCard, 0 | WDT_OVRFLOW_SAFETYOUT, 5.0, &rt, NULL); - DIO_INT2_EventMessage (m_hCard, INT2_WDT, this->m_hWnd, WM_INT, NULL); - - return TRUE; // return TRUE unless you set the focus to a control -} - -void C7442intDlg::OnSysCommand(UINT nID, LPARAM lParam) -{ - if ((nID & 0xFFF0) == IDM_ABOUTBOX) - { - CAboutDlg dlgAbout; - dlgAbout.DoModal(); - } - else - { - CDialog::OnSysCommand(nID, lParam); - } -} - -// If you add a minimize button to your dialog, you will need the code below -// to draw the icon. For MFC applications using the document/view model, -// this is automatically done for you by the framework. - -void C7442intDlg::OnPaint() -{ - if (IsIconic()) - { - CPaintDC dc(this); // device context for painting - - SendMessage(WM_ICONERASEBKGND, reinterpret_cast(dc.GetSafeHdc()), 0); - - // Center icon in client rectangle - int cxIcon = GetSystemMetrics(SM_CXICON); - int cyIcon = GetSystemMetrics(SM_CYICON); - CRect rect; - GetClientRect(&rect); - int x = (rect.Width() - cxIcon + 1) / 2; - int y = (rect.Height() - cyIcon + 1) / 2; - - // Draw the icon - dc.DrawIcon(x, y, m_hIcon); - } - else - { - CDialog::OnPaint(); - } -} - -// The system calls this function to obtain the cursor to display while the user drags -// the minimized window. -HCURSOR C7442intDlg::OnQueryDragIcon() -{ - return static_cast(m_hIcon); -} - - - -LRESULT C7442intDlg::OnWDTInterrupt(WPARAM wParam, LPARAM lParam) -{ - // do something useful - CString strTemp; - U32 result; - - GetDlgItem(IDC_STATIC_WDT1)->ShowWindow( SW_SHOW ); - DO_ReadPort (m_hCard, 0, &result); - strTemp.Format( TEXT("The CH0 current pattern is: 0x%08X"), result); - SetDlgItemText( IDC_STATIC_WDT1, strTemp ); - - GetDlgItem(IDC_STATIC_WDT2)->ShowWindow( SW_SHOW ); - DO_ReadPort (m_hCard, 1, &result); - strTemp.Format( TEXT("The CH1 current pattern is: 0x%08X"), result); - SetDlgItemText( IDC_STATIC_WDT2, strTemp ); - - return (LRESULT) 0; -}; -void C7442intDlg::OnDestroy() -{ - CDialog::OnDestroy(); - - // TODO: Add your message handler code here - DIO_INT2_EventMessage (m_hCard, INT2_DISABLE, NULL, NULL, NULL); -} - -void C7442intDlg::OnWDTReload() -{ - // TODO: Add your control notification handler code here - WDT_Reload (m_hCard, 0, 5.0, &rt); -} diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7442/SDKWdtOvflow/7442intDlg.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7442/SDKWdtOvflow/7442intDlg.h deleted file mode 100644 index 1b3cb70..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7442/SDKWdtOvflow/7442intDlg.h +++ /dev/null @@ -1,39 +0,0 @@ - -// 7442intDlg.h : header file -// - -#include "Dask64.h" - -#pragma once - - -// C7442intDlg dialog -class C7442intDlg : public CDialog -{ -// Construction -public: - C7442intDlg(I16 hCard, CWnd* pParent = NULL); // standard constructor - -// Dialog Data - enum { IDD = IDD_MY7442INT_DIALOG }; - - protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - - -// Implementation -protected: - HICON m_hIcon; - I16 m_hCard; - - // Generated message map functions - virtual BOOL OnInitDialog(); - afx_msg void OnSysCommand(UINT nID, LPARAM lParam); - afx_msg void OnPaint(); - afx_msg LRESULT OnWDTInterrupt(WPARAM wParam, LPARAM lParam); - afx_msg HCURSOR OnQueryDragIcon(); - DECLARE_MESSAGE_MAP() -public: - afx_msg void OnDestroy(); - afx_msg void OnWDTReload(); -}; diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7442/SDKWdtOvflow/7444int.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7442/SDKWdtOvflow/7444int.suo deleted file mode 100644 index e1a23d8..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7442/SDKWdtOvflow/7444int.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7442/SDKWdtOvflow/CardIDDlg.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7442/SDKWdtOvflow/CardIDDlg.cpp deleted file mode 100644 index 68a35f6..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7442/SDKWdtOvflow/CardIDDlg.cpp +++ /dev/null @@ -1,67 +0,0 @@ -// CardIDDlg.cpp : implementation file -// - -#include "stdafx.h" -#include "7442int.h" -#include "CardIDDlg.h" - - -// CCardIDDlg dialog - -IMPLEMENT_DYNAMIC(CCardIDDlg, CDialog) - -CCardIDDlg::CCardIDDlg(int nCardIdx, CWnd* pParent /*=NULL*/) - : CDialog(CCardIDDlg::IDD, pParent) -{ - m_nCardIdx = nCardIdx; -} - -CCardIDDlg::~CCardIDDlg() -{ -} - -void CCardIDDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); - DDX_Control(pDX, IDC_COMBO_CARDID, m_cbCardID); -} - - -BEGIN_MESSAGE_MAP(CCardIDDlg, CDialog) -// ON_CBN_SELCHANGE(IDC_COMBO_CARDID, &CCardIDDlg::OnCbnSelchangeComboCardid) -ON_BN_CLICKED(IDOK, &CCardIDDlg::OnBnClickedOk) -//ON_WM_CTLCOLOR() -END_MESSAGE_MAP() - - -// CCardIDDlg message handlers - - -void CCardIDDlg::OnBnClickedOk() -{ - // TODO: Add your control notification handler code here - -// UpdateData(TRUE); - m_nCardIdx = m_cbCardID.GetCurSel(); - - OnOK(); -} - -BOOL CCardIDDlg::OnInitDialog() -{ - CDialog::OnInitDialog(); - - // TODO: Add extra initialization here - m_cbCardID.SetCurSel( m_nCardIdx ); - - return TRUE; // return TRUE unless you set the focus to a control - // EXCEPTION: OCX Property Pages should return FALSE -} - -// the function to get the selected CardID -int CCardIDDlg::GetCardID(void) -{ - return m_nCardIdx; -} - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7442/SDKWdtOvflow/CardIDDlg.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7442/SDKWdtOvflow/CardIDDlg.h deleted file mode 100644 index 54628ea..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7442/SDKWdtOvflow/CardIDDlg.h +++ /dev/null @@ -1,33 +0,0 @@ -#pragma once -#include "afxwin.h" - - -// CCardIDDlg dialog - -class CCardIDDlg : public CDialog -{ - DECLARE_DYNAMIC(CCardIDDlg) - -public: - CCardIDDlg(int nCardIdx, CWnd* pParent = NULL); // standard constructor - virtual ~CCardIDDlg(); - -// Dialog Data - enum { IDD = IDD_CARDID_DIALOG }; - -protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - - DECLARE_MESSAGE_MAP() -public: -// afx_msg void OnCbnSelchangeComboCardid(); - afx_msg void OnBnClickedOk(); - // the setting of CardID ComboBox - int m_nCardIdx; - virtual BOOL OnInitDialog(); - // the control of CardID ComboBox - CComboBox m_cbCardID; - // the function to get the selected CardID - int GetCardID(void); -// afx_msg HBRUSH OnCtlColor(CDC* pDC, CWnd* pWnd, UINT nCtlColor); -}; diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7442/SDKWdtOvflow/ReadMe.txt b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7442/SDKWdtOvflow/ReadMe.txt deleted file mode 100644 index 0757c21..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7442/SDKWdtOvflow/ReadMe.txt +++ /dev/null @@ -1,93 +0,0 @@ -================================================================================ - MICROSOFT FOUNDATION CLASS LIBRARY : 7442int Project Overview -=============================================================================== - -The application wizard has created this 7442int application for -you. This application not only demonstrates the basics of using the Microsoft -Foundation Classes but is also a starting point for writing your application. - -This file contains a summary of what you will find in each of the files that -make up your 7442int application. - -7442int.vcproj - This is the main project file for VC++ projects generated using an application wizard. - It contains information about the version of Visual C++ that generated the file, and - information about the platforms, configurations, and project features selected with the - application wizard. - -7442int.h - This is the main header file for the application. It includes other - project specific headers (including Resource.h) and declares the - C7442intApp application class. - -7442int.cpp - This is the main application source file that contains the application - class C7442intApp. - -7442int.rc - This is a listing of all of the Microsoft Windows resources that the - program uses. It includes the icons, bitmaps, and cursors that are stored - in the RES subdirectory. This file can be directly edited in Microsoft - Visual C++. Your project resources are in 1033. - -res\7442int.ico - This is an icon file, which is used as the application's icon. This - icon is included by the main resource file 7442int.rc. - -res\My7442int.rc2 - This file contains resources that are not edited by Microsoft - Visual C++. You should place all resources not editable by - the resource editor in this file. - - -///////////////////////////////////////////////////////////////////////////// - -The application wizard creates one dialog class: - -7442intDlg.h, 7442intDlg.cpp - the dialog - These files contain your C7442intDlg class. This class defines - the behavior of your application's main dialog. The dialog's template is - in 7442int.rc, which can be edited in Microsoft Visual C++. - - -///////////////////////////////////////////////////////////////////////////// - -Other Features: - -ActiveX Controls - The application includes support to use ActiveX controls. - -///////////////////////////////////////////////////////////////////////////// - -Other standard files: - -StdAfx.h, StdAfx.cpp - These files are used to build a precompiled header (PCH) file - named 7442int.pch and a precompiled types file named StdAfx.obj. - -Resource.h - This is the standard header file, which defines new resource IDs. - Microsoft Visual C++ reads and updates this file. - -7442int.manifest - Application manifest files are used by Windows XP to describe an applications - dependency on specific versions of Side-by-Side assemblies. The loader uses this - information to load the appropriate assembly from the assembly cache or private - from the application. The Application manifest maybe included for redistribution - as an external .manifest file that is installed in the same folder as the application - executable or it may be included in the executable in the form of a resource. -///////////////////////////////////////////////////////////////////////////// - -Other notes: - -The application wizard uses "TODO:" to indicate parts of the source code you -should add to or customize. - -If your application uses MFC in a shared DLL, you will need -to redistribute the MFC DLLs. If your application is in a language -other than the operating system's locale, you will also have to -redistribute the corresponding localized resources MFC90XXX.DLL. -For more information on both of these topics, please see the section on -redistributing Visual C++ applications in MSDN documentation. - -///////////////////////////////////////////////////////////////////////////// diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7442/SDKWdtOvflow/res/7442int.ico b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7442/SDKWdtOvflow/res/7442int.ico deleted file mode 100644 index d56fbcd..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7442/SDKWdtOvflow/res/7442int.ico and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7442/SDKWdtOvflow/res/My7442int.rc2 b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7442/SDKWdtOvflow/res/My7442int.rc2 deleted file mode 100644 index daa33a3..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7442/SDKWdtOvflow/res/My7442int.rc2 +++ /dev/null @@ -1,13 +0,0 @@ -// -// My7444int.RC2 - resources Microsoft Visual C++ does not edit directly -// - -#ifdef APSTUDIO_INVOKED -#error this file is not editable by Microsoft Visual C++ -#endif //APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// Add manually edited resources here... - -///////////////////////////////////////////////////////////////////////////// diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7442/SDKWdtOvflow/resource.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7442/SDKWdtOvflow/resource.h deleted file mode 100644 index 0e96cb7..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7442/SDKWdtOvflow/resource.h +++ /dev/null @@ -1,28 +0,0 @@ -//{{NO_DEPENDENCIES}} -// Microsoft Visual C++ generated include file. -// Used by 7442int.rc -// -#define IDM_ABOUTBOX 0x0010 -#define IDD_ABOUTBOX 100 -#define IDS_ABOUTBOX 101 -#define IDD_MY7442INT_DIALOG 102 -#define IDR_MAINFRAME 128 -#define IDD_CARDID_DIALOG 129 -#define IDC_COMBO_CARDID 1000 -#define IDC_STATIC_WDT1 1000 -#define IDC_BT_RELOAD 1001 -#define IDC_STATIC_WDT2 1002 -#define IDC_STATIC_WDT3 1003 -#define IDC_STATIC_WDT4 1004 -#define IDC_STATIC_01 1014 - -// Next default values for new objects -// -#ifdef APSTUDIO_INVOKED -#ifndef APSTUDIO_READONLY_SYMBOLS -#define _APS_NEXT_RESOURCE_VALUE 131 -#define _APS_NEXT_COMMAND_VALUE 32771 -#define _APS_NEXT_CONTROL_VALUE 1002 -#define _APS_NEXT_SYMED_VALUE 101 -#endif -#endif diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7442/SDKWdtOvflow/stdafx.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7442/SDKWdtOvflow/stdafx.cpp deleted file mode 100644 index 92bfc75..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7442/SDKWdtOvflow/stdafx.cpp +++ /dev/null @@ -1,8 +0,0 @@ - -// stdafx.cpp : source file that includes just the standard includes -// 7442int.pch will be the pre-compiled header -// stdafx.obj will contain the pre-compiled type information - -#include "stdafx.h" - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7442/SDKWdtOvflow/stdafx.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7442/SDKWdtOvflow/stdafx.h deleted file mode 100644 index 12123e2..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7442/SDKWdtOvflow/stdafx.h +++ /dev/null @@ -1,60 +0,0 @@ - -// stdafx.h : include file for standard system include files, -// or project specific include files that are used frequently, -// but are changed infrequently - -#pragma once - -#ifndef _SECURE_ATL -#define _SECURE_ATL 1 -#endif - -#ifndef VC_EXTRALEAN -#define VC_EXTRALEAN // Exclude rarely-used stuff from Windows headers -#endif - -#include "targetver.h" - -#define _ATL_CSTRING_EXPLICIT_CONSTRUCTORS // some CString constructors will be explicit - -// turns off MFC's hiding of some common and often safely ignored warning messages -#define _AFX_ALL_WARNINGS - -#include // MFC core and standard components -#include // MFC extensions - - -#include // MFC Automation classes - - - -#ifndef _AFX_NO_OLE_SUPPORT -#include // MFC support for Internet Explorer 4 Common Controls -#endif -#ifndef _AFX_NO_AFXCMN_SUPPORT -#include // MFC support for Windows Common Controls -#endif // _AFX_NO_AFXCMN_SUPPORT - -#include // MFC support for ribbons and control bars - - - - - - - - - -#ifdef _UNICODE -#if defined _M_IX86 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='x86' publicKeyToken='6595b64144ccf1df' language='*'\"") -#elif defined _M_IA64 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='ia64' publicKeyToken='6595b64144ccf1df' language='*'\"") -#elif defined _M_X64 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='amd64' publicKeyToken='6595b64144ccf1df' language='*'\"") -#else -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='*' publicKeyToken='6595b64144ccf1df' language='*'\"") -#endif -#endif - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7442/SDKWdtOvflow/targetver.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7442/SDKWdtOvflow/targetver.h deleted file mode 100644 index 11730d5..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7442/SDKWdtOvflow/targetver.h +++ /dev/null @@ -1,26 +0,0 @@ - -#pragma once - -// The following macros define the minimum required platform. The minimum required platform -// is the earliest version of Windows, Internet Explorer etc. that has the necessary features to run -// your application. The macros work by enabling all features available on platform versions up to and -// including the version specified. - -// Modify the following defines if you have to target a platform prior to the ones specified below. -// Refer to MSDN for the latest info on corresponding values for different platforms. -#ifndef WINVER // Specifies that the minimum required platform is Windows Vista. -#define WINVER 0x0600 // Change this to the appropriate value to target other versions of Windows. -#endif - -#ifndef _WIN32_WINNT // Specifies that the minimum required platform is Windows Vista. -#define _WIN32_WINNT 0x0600 // Change this to the appropriate value to target other versions of Windows. -#endif - -#ifndef _WIN32_WINDOWS // Specifies that the minimum required platform is Windows 98. -#define _WIN32_WINDOWS 0x0410 // Change this to the appropriate value to target Windows Me or later. -#endif - -#ifndef _WIN32_IE // Specifies that the minimum required platform is Internet Explorer 7.0. -#define _WIN32_IE 0x0700 // Change this to the appropriate value to target other versions of IE. -#endif - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7442/Sdk7442DIO/CardIDDlg.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7442/Sdk7442DIO/CardIDDlg.cpp deleted file mode 100644 index 04c282d..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7442/Sdk7442DIO/CardIDDlg.cpp +++ /dev/null @@ -1,67 +0,0 @@ -// CardIDDlg.cpp : implementation file -// - -#include "stdafx.h" -#include "Util7442.h" -#include "CardIDDlg.h" - - -// CCardIDDlg dialog - -IMPLEMENT_DYNAMIC(CCardIDDlg, CDialog) - -CCardIDDlg::CCardIDDlg(int nCardIdx, CWnd* pParent /*=NULL*/) - : CDialog(CCardIDDlg::IDD, pParent) -{ - m_nCardIdx = nCardIdx; -} - -CCardIDDlg::~CCardIDDlg() -{ -} - -void CCardIDDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); - DDX_Control(pDX, IDC_COMBO_CARDID, m_cbCardID); -} - - -BEGIN_MESSAGE_MAP(CCardIDDlg, CDialog) -// ON_CBN_SELCHANGE(IDC_COMBO_CARDID, &CCardIDDlg::OnCbnSelchangeComboCardid) -ON_BN_CLICKED(IDOK, &CCardIDDlg::OnBnClickedOk) -//ON_WM_CTLCOLOR() -END_MESSAGE_MAP() - - -// CCardIDDlg message handlers - - -void CCardIDDlg::OnBnClickedOk() -{ - // TODO: Add your control notification handler code here - -// UpdateData(TRUE); - m_nCardIdx = m_cbCardID.GetCurSel(); - - OnOK(); -} - -BOOL CCardIDDlg::OnInitDialog() -{ - CDialog::OnInitDialog(); - - // TODO: Add extra initialization here - m_cbCardID.SetCurSel( m_nCardIdx ); - - return TRUE; // return TRUE unless you set the focus to a control - // EXCEPTION: OCX Property Pages should return FALSE -} - -// the function to get the selected CardID -int CCardIDDlg::GetCardID(void) -{ - return m_nCardIdx; -} - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7442/Sdk7442DIO/CardIDDlg.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7442/Sdk7442DIO/CardIDDlg.h deleted file mode 100644 index 54628ea..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7442/Sdk7442DIO/CardIDDlg.h +++ /dev/null @@ -1,33 +0,0 @@ -#pragma once -#include "afxwin.h" - - -// CCardIDDlg dialog - -class CCardIDDlg : public CDialog -{ - DECLARE_DYNAMIC(CCardIDDlg) - -public: - CCardIDDlg(int nCardIdx, CWnd* pParent = NULL); // standard constructor - virtual ~CCardIDDlg(); - -// Dialog Data - enum { IDD = IDD_CARDID_DIALOG }; - -protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - - DECLARE_MESSAGE_MAP() -public: -// afx_msg void OnCbnSelchangeComboCardid(); - afx_msg void OnBnClickedOk(); - // the setting of CardID ComboBox - int m_nCardIdx; - virtual BOOL OnInitDialog(); - // the control of CardID ComboBox - CComboBox m_cbCardID; - // the function to get the selected CardID - int GetCardID(void); -// afx_msg HBRUSH OnCtlColor(CDC* pDC, CWnd* pWnd, UINT nCtlColor); -}; diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7442/Sdk7442DIO/ReadMe.txt b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7442/Sdk7442DIO/ReadMe.txt deleted file mode 100644 index 50d560e..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7442/Sdk7442DIO/ReadMe.txt +++ /dev/null @@ -1,93 +0,0 @@ -================================================================================ - MICROSOFT FOUNDATION CLASS LIBRARY : Util7442 Project Overview -=============================================================================== - -The application wizard has created this Util7442 application for -you. This application not only demonstrates the basics of using the Microsoft -Foundation Classes but is also a starting point for writing your application. - -This file contains a summary of what you will find in each of the files that -make up your Util7442 application. - -Util7442.vcproj - This is the main project file for VC++ projects generated using an application wizard. - It contains information about the version of Visual C++ that generated the file, and - information about the platforms, configurations, and project features selected with the - application wizard. - -Util7442.h - This is the main header file for the application. It includes other - project specific headers (including Resource.h) and declares the - CUtil7442App application class. - -Util7442.cpp - This is the main application source file that contains the application - class CUtil7442App. - -Util7442.rc - This is a listing of all of the Microsoft Windows resources that the - program uses. It includes the icons, bitmaps, and cursors that are stored - in the RES subdirectory. This file can be directly edited in Microsoft - Visual C++. Your project resources are in 1033. - -res\Util7442.ico - This is an icon file, which is used as the application's icon. This - icon is included by the main resource file Util7442.rc. - -res\Util7442.rc2 - This file contains resources that are not edited by Microsoft - Visual C++. You should place all resources not editable by - the resource editor in this file. - - -///////////////////////////////////////////////////////////////////////////// - -The application wizard creates one dialog class: - -Util7442Dlg.h, Util7442Dlg.cpp - the dialog - These files contain your CUtil7442Dlg class. This class defines - the behavior of your application's main dialog. The dialog's template is - in Util7442.rc, which can be edited in Microsoft Visual C++. - - -///////////////////////////////////////////////////////////////////////////// - -Other Features: - -ActiveX Controls - The application includes support to use ActiveX controls. - -///////////////////////////////////////////////////////////////////////////// - -Other standard files: - -StdAfx.h, StdAfx.cpp - These files are used to build a precompiled header (PCH) file - named Util7442.pch and a precompiled types file named StdAfx.obj. - -Resource.h - This is the standard header file, which defines new resource IDs. - Microsoft Visual C++ reads and updates this file. - -Util7442.manifest - Application manifest files are used by Windows XP to describe an applications - dependency on specific versions of Side-by-Side assemblies. The loader uses this - information to load the appropriate assembly from the assembly cache or private - from the application. The Application manifest maybe included for redistribution - as an external .manifest file that is installed in the same folder as the application - executable or it may be included in the executable in the form of a resource. -///////////////////////////////////////////////////////////////////////////// - -Other notes: - -The application wizard uses "TODO:" to indicate parts of the source code you -should add to or customize. - -If your application uses MFC in a shared DLL, you will need -to redistribute the MFC DLLs. If your application is in a language -other than the operating system's locale, you will also have to -redistribute the corresponding localized resources MFC90XXX.DLL. -For more information on both of these topics, please see the section on -redistributing Visual C++ applications in MSDN documentation. - -///////////////////////////////////////////////////////////////////////////// diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7442/Sdk7442DIO/Util7233.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7442/Sdk7442DIO/Util7233.suo deleted file mode 100644 index 27cf546..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7442/Sdk7442DIO/Util7233.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7442/Sdk7442DIO/Util7432.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7442/Sdk7442DIO/Util7432.suo deleted file mode 100644 index 5326804..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7442/Sdk7442DIO/Util7432.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7442/Sdk7442DIO/Util7442.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7442/Sdk7442DIO/Util7442.cpp deleted file mode 100644 index be114e2..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7442/Sdk7442DIO/Util7442.cpp +++ /dev/null @@ -1,111 +0,0 @@ - -// Util7442.cpp : Defines the class behaviors for the application. -// - -#include "stdafx.h" -#include "Util7442.h" -#include "Util7442Dlg.h" -#include "CardIDDlg.h" - - -#ifdef _DEBUG -#define new DEBUG_NEW -#endif - - -// CUtil7442App - -BEGIN_MESSAGE_MAP(CUtil7442App, CWinAppEx) - ON_COMMAND(ID_HELP, &CWinApp::OnHelp) -END_MESSAGE_MAP() - - -// CUtil7442App construction - -CUtil7442App::CUtil7442App() -{ - // TODO: add construction code here, - // Place all significant initialization in InitInstance -} - - -// The one and only CUtil7442App object - -CUtil7442App theApp; - - -// CUtil7442App initialization - -BOOL CUtil7442App::InitInstance() -{ - int nCardID = 0; - I16 hCard; - CString strTemp; - INT_PTR nResponse; - - // InitCommonControlsEx() is required on Windows XP if an application - // manifest specifies use of ComCtl32.dll version 6 or later to enable - // visual styles. Otherwise, any window creation will fail. - INITCOMMONCONTROLSEX InitCtrls; - InitCtrls.dwSize = sizeof(InitCtrls); - // Set this to include all the common control classes you want to use - // in your application. - InitCtrls.dwICC = ICC_WIN95_CLASSES; - InitCommonControlsEx(&InitCtrls); - - CWinAppEx::InitInstance(); - - AfxEnableControlContainer(); - - // Standard initialization - // If you are not using these features and wish to reduce the size - // of your final executable, you should remove from the following - // the specific initialization routines you do not need - // Change the registry key under which our settings are stored - // TODO: You should modify this string to be something appropriate - // such as the name of your company or organization - SetRegistryKey(_T("Local AppWizard-Generated Applications")); - - CCardIDDlg CardDlg( nCardID ); - - nResponse = CardDlg.DoModal(); - if (nResponse == IDOK) - { - nCardID = CardDlg.GetCardID(); - - if ((hCard=Register_Card(PCI_7442, nCardID)) < 0) - { - strTemp.Format( TEXT("Register_Card Error = %d"), hCard); - AfxMessageBox( strTemp ); - } - else - { - CUtil7442Dlg dlg(hCard); - m_pMainWnd = &dlg; - nResponse = dlg.DoModal(); - if (nResponse == IDOK) - { - // TODO: Place code here to handle when the dialog is - // dismissed with OK - } - else if (nResponse == IDCANCEL) - { - // TODO: Place code here to handle when the dialog is - // dismissed with Cancel - } - - if (hCard >= 0) Release_Card(hCard); - } - - } - else if (nResponse == IDCANCEL) - { - // TODO: Place code here to handle when the dialog is - // dismissed with Cancel - } - - - // Since the dialog has been closed, return FALSE so that we exit the - // application, rather than start the application's message pump. - return FALSE; -} diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7442/Sdk7442DIO/Util7442.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7442/Sdk7442DIO/Util7442.h deleted file mode 100644 index 221c153..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7442/Sdk7442DIO/Util7442.h +++ /dev/null @@ -1,32 +0,0 @@ - -// Util7442.h : main header file for the PROJECT_NAME application -// - -#pragma once - -#ifndef __AFXWIN_H__ - #error "include 'stdafx.h' before including this file for PCH" -#endif - -#include "resource.h" // main symbols - - -// CUtil7442App: -// See Util7442.cpp for the implementation of this class -// - -class CUtil7442App : public CWinAppEx -{ -public: - CUtil7442App(); - -// Overrides - public: - virtual BOOL InitInstance(); - -// Implementation - - DECLARE_MESSAGE_MAP() -}; - -extern CUtil7442App theApp; \ No newline at end of file diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7442/Sdk7442DIO/Util7442.rc b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7442/Sdk7442DIO/Util7442.rc deleted file mode 100644 index 0b117d6..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7442/Sdk7442DIO/Util7442.rc +++ /dev/null @@ -1,361 +0,0 @@ -// Microsoft Visual C++ generated resource script. -// -#include "resource.h" - -#define APSTUDIO_READONLY_SYMBOLS -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 2 resource. -// -#ifndef APSTUDIO_INVOKED -#include "targetver.h" -#endif -#include "afxres.h" - -///////////////////////////////////////////////////////////////////////////// -#undef APSTUDIO_READONLY_SYMBOLS - -///////////////////////////////////////////////////////////////////////////// -// Chinese (Taiwan) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_CHT) -#ifdef _WIN32 -LANGUAGE LANG_CHINESE, SUBLANG_CHINESE_TRADITIONAL -#pragma code_page(950) -#endif //_WIN32 - -#ifdef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// TEXTINCLUDE -// - -1 TEXTINCLUDE -BEGIN - "resource.h\0" -END - -2 TEXTINCLUDE -BEGIN - "#ifndef APSTUDIO_INVOKED\r\n" - "#include ""targetver.h""\r\n" - "#endif\r\n" - "#include ""afxres.h""\r\n" - "\0" -END - -3 TEXTINCLUDE -BEGIN - "#define _AFX_NO_SPLITTER_RESOURCES\r\n" - "#define _AFX_NO_OLE_RESOURCES\r\n" - "#define _AFX_NO_TRACKER_RESOURCES\r\n" - "#define _AFX_NO_PROPERTY_RESOURCES\r\n" - "\r\n" - "#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)\r\n" - "LANGUAGE 9, 1\r\n" - "#pragma code_page(1252)\r\n" - "#include ""res\\Util7442.rc2"" // non-Microsoft Visual C++ edited resources\r\n" - "#include ""afxres.rc"" // Standard components\r\n" - "#endif\r\n" - "\0" -END - -#endif // APSTUDIO_INVOKED - -#endif // Chinese (Taiwan) resources -///////////////////////////////////////////////////////////////////////////// - - -///////////////////////////////////////////////////////////////////////////// -// English (U.S.) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -#ifdef _WIN32 -LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US -#pragma code_page(1252) -#endif //_WIN32 - -///////////////////////////////////////////////////////////////////////////// -// -// Icon -// - -// Icon with lowest ID value placed first to ensure application icon -// remains consistent on all systems. -IDR_MAINFRAME ICON "res\\Util7442.ico" -IDI_ICON_BLACK ICON "res\\black.ico" -IDI_ICON_GREEN ICON "res\\green.ico" -IDI_ICON_RED ICON "res\\red.ico" - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog -// - -IDD_ABOUTBOX DIALOGEX 0, 0, 170, 62 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "About Util7442" -FONT 8, "MS Shell Dlg", 0, 0, 0x1 -BEGIN - ICON IDR_MAINFRAME,IDC_STATIC,14,14,21,20 - LTEXT "Util7442, Version 1.0",IDC_STATIC,42,14,114,8,SS_NOPREFIX - LTEXT "Copyright (C) 2010",IDC_STATIC,42,26,114,8 - DEFPUSHBUTTON "OK",IDOK,113,41,50,14,WS_GROUP -END - -IDD_UTIL7442_DIALOG DIALOGEX 0, 0, 318, 202 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU -EXSTYLE WS_EX_APPWINDOW -CAPTION "PCI-7442" -FONT 8, "MS Shell Dlg", 0, 0, 0x1 -BEGIN - ICON IDI_ICON_BLACK,IDC_ICON_DI00,282,66,20,20 - ICON IDI_ICON_BLACK,IDC_ICON_DI01,264,66,20,20 - ICON IDI_ICON_BLACK,IDC_ICON_DI02,246,66,20,20 - ICON IDI_ICON_BLACK,IDC_ICON_DI03,228,66,20,20 - ICON IDI_ICON_BLACK,IDC_ICON_DI04,210,66,20,20 - ICON IDI_ICON_BLACK,IDC_ICON_DI05,192,66,20,20 - ICON IDI_ICON_BLACK,IDC_ICON_DI06,174,66,20,20 - ICON IDI_ICON_BLACK,IDC_ICON_DI07,156,66,20,20 - ICON IDI_ICON_BLACK,IDC_ICON_DI08,138,66,20,20 - ICON IDI_ICON_BLACK,IDC_ICON_DI09,120,66,20,20 - ICON IDI_ICON_BLACK,IDC_ICON_DI10,102,66,20,20 - ICON IDI_ICON_BLACK,IDC_ICON_DI11,84,66,20,20 - ICON IDI_ICON_BLACK,IDC_ICON_DI12,66,66,20,20 - ICON IDI_ICON_BLACK,IDC_ICON_DI13,48,66,20,20 - ICON IDI_ICON_BLACK,IDC_ICON_DI14,30,66,20,20 - ICON IDI_ICON_BLACK,IDC_ICON_DI15,12,66,21,20 - LTEXT " 15 0",IDC_STATIC,12,82,289,13 - ICON IDI_ICON_BLACK,IDC_ICON_DI16,282,29,20,20 - ICON IDI_ICON_BLACK,IDC_ICON_DI17,264,29,20,20 - ICON IDI_ICON_BLACK,IDC_ICON_DI18,246,29,20,20 - ICON IDI_ICON_BLACK,IDC_ICON_DI19,228,29,20,20 - ICON IDI_ICON_BLACK,IDC_ICON_DI20,210,29,20,20 - ICON IDI_ICON_BLACK,IDC_ICON_DI21,192,29,20,20 - ICON IDI_ICON_BLACK,IDC_ICON_DI22,174,29,20,20 - ICON IDI_ICON_BLACK,IDC_ICON_DI23,156,29,20,20 - ICON IDI_ICON_BLACK,IDC_ICON_DI24,138,29,20,20 - ICON IDI_ICON_BLACK,IDC_ICON_DI25,120,29,20,20 - ICON IDI_ICON_BLACK,IDC_ICON_DI26,102,29,20,20 - ICON IDI_ICON_BLACK,IDC_ICON_DI27,84,29,20,20 - ICON IDI_ICON_BLACK,IDC_ICON_DI28,66,29,20,20 - ICON IDI_ICON_BLACK,IDC_ICON_DI29,48,29,20,20 - ICON IDI_ICON_BLACK,IDC_ICON_DI30,30,29,20,20 - ICON IDI_ICON_BLACK,IDC_ICON_DI31,12,29,20,20 - LTEXT " 31 16",IDC_STATIC,12,48,289,13 - GROUPBOX "",IDC_STATIC,9,3,297,96 - CONTROL "",IDC_CHECK_DO00,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,289,167,12,12 - CONTROL "",IDC_CHECK_DO01,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,271,167,12,12 - CONTROL "",IDC_CHECK_DO02,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,253,167,12,12 - CONTROL "",IDC_CHECK_DO03,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,235,167,12,12 - CONTROL "",IDC_CHECK_DO04,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,217,167,12,12 - CONTROL "",IDC_CHECK_DO05,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,199,167,12,12 - CONTROL "",IDC_CHECK_DO06,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,181,167,12,12 - CONTROL "",IDC_CHECK_DO07,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,163,167,12,12 - CONTROL "",IDC_CHECK_DO08,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,145,167,12,12 - CONTROL "",IDC_CHECK_DO09,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,127,167,12,12 - CONTROL "",IDC_CHECK_DO10,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,109,167,12,12 - CONTROL "",IDC_CHECK_DO11,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,91,167,12,12 - CONTROL "",IDC_CHECK_DO12,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,73,167,12,12 - CONTROL "",IDC_CHECK_DO13,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,55,167,12,12 - CONTROL "",IDC_CHECK_DO14,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,37,167,12,12 - CONTROL "",IDC_CHECK_DO15,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,19,167,12,12 - LTEXT " 15 0",IDC_STATIC,13,179,289,13 - CONTROL "",IDC_CHECK_DO16,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,289,131,12,12 - CONTROL "",IDC_CHECK_DO17,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,271,131,12,12 - CONTROL "",IDC_CHECK_DO18,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,253,131,12,12 - CONTROL "",IDC_CHECK_DO19,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,235,131,12,12 - CONTROL "",IDC_CHECK_DO20,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,217,131,12,12 - CONTROL "",IDC_CHECK_DO21,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,199,131,12,12 - CONTROL "",IDC_CHECK_DO22,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,181,131,12,12 - CONTROL "",IDC_CHECK_DO23,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,163,131,12,12 - CONTROL "",IDC_CHECK_DO24,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,145,131,12,12 - CONTROL "",IDC_CHECK_DO25,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,127,131,12,12 - CONTROL "",IDC_CHECK_DO26,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,109,131,12,12 - CONTROL "",IDC_CHECK_DO27,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,91,131,12,12 - CONTROL "",IDC_CHECK_DO28,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,73,131,12,12 - CONTROL "",IDC_CHECK_DO29,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,55,131,12,12 - CONTROL "",IDC_CHECK_DO30,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,37,131,12,12 - CONTROL "",IDC_CHECK_DO31,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,19,131,12,12 - LTEXT " 31 16",IDC_STATIC,13,143,289,13 - GROUPBOX "",IDC_STATIC,9,104,297,89 - COMBOBOX IDC_COMBO_OUTPUT,71,113,49,18,CBS_DROPDOWN | WS_VSCROLL | WS_TABSTOP - LTEXT "Digital Output",IDC_STATIC,17,115,44,15 - COMBOBOX IDC_COMBO_INPUT,72,11,49,18,CBS_DROPDOWN | WS_VSCROLL | WS_TABSTOP - LTEXT "Digital Input",IDC_STATIC,18,13,44,15 -END - -IDD_CARDID_DIALOG DIALOGEX 0, 0, 163, 87 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "Card ID" -FONT 8, "MS Shell Dlg", 400, 0, 0x1 -BEGIN - COMBOBOX IDC_COMBO_CARDID,73,17,71,126,CBS_DROPDOWN | WS_VSCROLL | WS_TABSTOP - LTEXT "Card Number",IDC_STATIC_01,19,18,46,12 - PUSHBUTTON "OK",IDOK,20,50,58,19 - PUSHBUTTON "CANCEL",IDCANCEL,84,50,58,19 -END - - -///////////////////////////////////////////////////////////////////////////// -// -// Version -// - -VS_VERSION_INFO VERSIONINFO - FILEVERSION 1,0,0,1 - PRODUCTVERSION 1,0,0,1 - FILEFLAGSMASK 0x3fL -#ifdef _DEBUG - FILEFLAGS 0x1L -#else - FILEFLAGS 0x0L -#endif - FILEOS 0x4L - FILETYPE 0x1L - FILESUBTYPE 0x0L -BEGIN - BLOCK "StringFileInfo" - BEGIN - BLOCK "040904e4" - BEGIN - VALUE "CompanyName", "TODO: " - VALUE "FileDescription", "TODO: " - VALUE "FileVersion", "1.0.0.1" - VALUE "InternalName", "Util7442.exe" - VALUE "LegalCopyright", "TODO: (c) . All rights reserved." - VALUE "OriginalFilename", "Util7442.exe" - VALUE "ProductName", "TODO: " - VALUE "ProductVersion", "1.0.0.1" - END - END - BLOCK "VarFileInfo" - BEGIN - VALUE "Translation", 0x409, 1252 - END -END - - -///////////////////////////////////////////////////////////////////////////// -// -// DESIGNINFO -// - -#ifdef APSTUDIO_INVOKED -GUIDELINES DESIGNINFO -BEGIN - IDD_ABOUTBOX, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 163 - TOPMARGIN, 7 - BOTTOMMARGIN, 55 - END - - IDD_UTIL7442_DIALOG, DIALOG - BEGIN - BOTTOMMARGIN, 201 - END - - IDD_CARDID_DIALOG, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 156 - TOPMARGIN, 7 - BOTTOMMARGIN, 80 - END -END -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog Info -// - -IDD_CARDID_DIALOG DLGINIT -BEGIN - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0030, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0031, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0032, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0033, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0034, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0035, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0036, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0037, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0038, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0039, - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3031, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3131, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3231, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3331, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3431, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3531, "\000" - 0 -END - -IDD_UTIL7442_DIALOG DLGINIT -BEGIN - IDC_COMBO_OUTPUT, 0x403, 2, 0 -0x0030, - IDC_COMBO_OUTPUT, 0x403, 2, 0 -0x0031, - IDC_COMBO_INPUT, 0x403, 2, 0 -0x0030, - IDC_COMBO_INPUT, 0x403, 2, 0 -0x0031, - 0 -END - - -///////////////////////////////////////////////////////////////////////////// -// -// String Table -// - -STRINGTABLE -BEGIN - IDS_ABOUTBOX "&About Util7442..." -END - -#endif // English (U.S.) resources -///////////////////////////////////////////////////////////////////////////// - - - -#ifndef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 3 resource. -// -#define _AFX_NO_SPLITTER_RESOURCES -#define _AFX_NO_OLE_RESOURCES -#define _AFX_NO_TRACKER_RESOURCES -#define _AFX_NO_PROPERTY_RESOURCES - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -LANGUAGE 9, 1 -#pragma code_page(1252) -#include "res\Util7442.rc2" // non-Microsoft Visual C++ edited resources -#include "afxres.rc" // Standard components -#endif - -///////////////////////////////////////////////////////////////////////////// -#endif // not APSTUDIO_INVOKED - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7442/Sdk7442DIO/Util7442.sln b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7442/Sdk7442DIO/Util7442.sln deleted file mode 100644 index dab439a..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7442/Sdk7442DIO/Util7442.sln +++ /dev/null @@ -1,20 +0,0 @@ - -Microsoft Visual Studio Solution File, Format Version 10.00 -# Visual Studio 2008 -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "Util7442", "Util7442.vcproj", "{C7FD46C6-5640-46BB-9CDF-718DC4621FFD}" -EndProject -Global - GlobalSection(SolutionConfigurationPlatforms) = preSolution - Debug|x64 = Debug|x64 - Release|x64 = Release|x64 - EndGlobalSection - GlobalSection(ProjectConfigurationPlatforms) = postSolution - {C7FD46C6-5640-46BB-9CDF-718DC4621FFD}.Debug|x64.ActiveCfg = Debug|x64 - {C7FD46C6-5640-46BB-9CDF-718DC4621FFD}.Debug|x64.Build.0 = Debug|x64 - {C7FD46C6-5640-46BB-9CDF-718DC4621FFD}.Release|x64.ActiveCfg = Release|x64 - {C7FD46C6-5640-46BB-9CDF-718DC4621FFD}.Release|x64.Build.0 = Release|x64 - EndGlobalSection - GlobalSection(SolutionProperties) = preSolution - HideSolutionNode = FALSE - EndGlobalSection -EndGlobal diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7442/Sdk7442DIO/Util7442.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7442/Sdk7442DIO/Util7442.suo deleted file mode 100644 index beefef3..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7442/Sdk7442DIO/Util7442.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7442/Sdk7442DIO/Util7442.vcproj b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7442/Sdk7442DIO/Util7442.vcproj deleted file mode 100644 index 75f5596..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7442/Sdk7442DIO/Util7442.vcproj +++ /dev/null @@ -1,298 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7442/Sdk7442DIO/Util7442Dlg.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7442/Sdk7442DIO/Util7442Dlg.cpp deleted file mode 100644 index 7db0f5f..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7442/Sdk7442DIO/Util7442Dlg.cpp +++ /dev/null @@ -1,1323 +0,0 @@ - -// Util7442Dlg.cpp : implementation file -// - -#include "stdafx.h" -#include "Util7442.h" -#include "Util7442Dlg.h" - -#ifdef _DEBUG -#define new DEBUG_NEW -#endif - - -// CAboutDlg dialog used for App About - -class CAboutDlg : public CDialog -{ -public: - CAboutDlg(); - -// Dialog Data - enum { IDD = IDD_ABOUTBOX }; - - protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - -// Implementation -protected: - DECLARE_MESSAGE_MAP() -}; - -CAboutDlg::CAboutDlg() : CDialog(CAboutDlg::IDD) -{ -} - -void CAboutDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); -} - -BEGIN_MESSAGE_MAP(CAboutDlg, CDialog) -END_MESSAGE_MAP() - - -// CUtil7442Dlg dialog - - - - -CUtil7442Dlg::CUtil7442Dlg(I16 hCard, CWnd* pParent /*=NULL*/) - : CDialog(CUtil7442Dlg::IDD, pParent) -{ - m_hIcon = AfxGetApp()->LoadIcon(IDR_MAINFRAME); - - m_hCard = hCard; - m_nTimer = -1; - m_dwInData[0] = m_dwInData[1] = 0x00000000; - m_dwOutData[0] = m_dwOutData[1] = 0x00000000; - m_InDataPort = 0x00; - m_OutDataPort = 0x00; - -} - -void CUtil7442Dlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); - DDX_Control(pDX, IDC_ICON_DI00, m_Icon_DI00); - DDX_Control(pDX, IDC_ICON_DI01, m_Icon_DI01); - DDX_Control(pDX, IDC_ICON_DI02, m_Icon_DI02); - DDX_Control(pDX, IDC_ICON_DI03, m_Icon_DI03); - DDX_Control(pDX, IDC_ICON_DI04, m_Icon_DI04); - DDX_Control(pDX, IDC_ICON_DI05, m_Icon_DI05); - DDX_Control(pDX, IDC_ICON_DI06, m_Icon_DI06); - DDX_Control(pDX, IDC_ICON_DI07, m_Icon_DI07); - DDX_Control(pDX, IDC_ICON_DI08, m_Icon_DI08); - DDX_Control(pDX, IDC_ICON_DI09, m_Icon_DI09); - DDX_Control(pDX, IDC_ICON_DI10, m_Icon_DI10); - DDX_Control(pDX, IDC_ICON_DI11, m_Icon_DI11); - DDX_Control(pDX, IDC_ICON_DI12, m_Icon_DI12); - DDX_Control(pDX, IDC_ICON_DI13, m_Icon_DI13); - DDX_Control(pDX, IDC_ICON_DI14, m_Icon_DI14); - DDX_Control(pDX, IDC_ICON_DI15, m_Icon_DI15); - DDX_Control(pDX, IDC_ICON_DI16, m_Icon_DI16); - DDX_Control(pDX, IDC_ICON_DI17, m_Icon_DI17); - DDX_Control(pDX, IDC_ICON_DI18, m_Icon_DI18); - DDX_Control(pDX, IDC_ICON_DI19, m_Icon_DI19); - DDX_Control(pDX, IDC_ICON_DI20, m_Icon_DI20); - DDX_Control(pDX, IDC_ICON_DI21, m_Icon_DI21); - DDX_Control(pDX, IDC_ICON_DI22, m_Icon_DI22); - DDX_Control(pDX, IDC_ICON_DI23, m_Icon_DI23); - DDX_Control(pDX, IDC_ICON_DI24, m_Icon_DI24); - DDX_Control(pDX, IDC_ICON_DI25, m_Icon_DI25); - DDX_Control(pDX, IDC_ICON_DI26, m_Icon_DI26); - DDX_Control(pDX, IDC_ICON_DI27, m_Icon_DI27); - DDX_Control(pDX, IDC_ICON_DI28, m_Icon_DI28); - DDX_Control(pDX, IDC_ICON_DI29, m_Icon_DI29); - DDX_Control(pDX, IDC_ICON_DI30, m_Icon_DI30); - DDX_Control(pDX, IDC_ICON_DI31, m_Icon_DI31); - DDX_Control(pDX, IDC_COMBO_INPUT, m_cbPortInput); - DDX_Control(pDX, IDC_COMBO_OUTPUT, m_cbPortOutput); -} - -BEGIN_MESSAGE_MAP(CUtil7442Dlg, CDialog) - ON_WM_SYSCOMMAND() - ON_WM_PAINT() - ON_WM_QUERYDRAGICON() - //}}AFX_MSG_MAP - ON_BN_CLICKED(IDC_CHECK_DO00, &CUtil7442Dlg::OnOut00) - ON_BN_CLICKED(IDC_CHECK_DO01, &CUtil7442Dlg::OnOut01) - ON_BN_CLICKED(IDC_CHECK_DO02, &CUtil7442Dlg::OnOut02) - ON_BN_CLICKED(IDC_CHECK_DO03, &CUtil7442Dlg::OnOut03) - ON_BN_CLICKED(IDC_CHECK_DO04, &CUtil7442Dlg::OnOut04) - ON_BN_CLICKED(IDC_CHECK_DO05, &CUtil7442Dlg::OnOut05) - ON_BN_CLICKED(IDC_CHECK_DO06, &CUtil7442Dlg::OnOut06) - ON_BN_CLICKED(IDC_CHECK_DO07, &CUtil7442Dlg::OnOut07) - ON_BN_CLICKED(IDC_CHECK_DO08, &CUtil7442Dlg::OnOut08) - ON_BN_CLICKED(IDC_CHECK_DO09, &CUtil7442Dlg::OnOut09) - ON_BN_CLICKED(IDC_CHECK_DO10, &CUtil7442Dlg::OnOut10) - ON_BN_CLICKED(IDC_CHECK_DO11, &CUtil7442Dlg::OnOut11) - ON_BN_CLICKED(IDC_CHECK_DO12, &CUtil7442Dlg::OnOut12) - ON_BN_CLICKED(IDC_CHECK_DO13, &CUtil7442Dlg::OnOut13) - ON_BN_CLICKED(IDC_CHECK_DO14, &CUtil7442Dlg::OnOut14) - ON_BN_CLICKED(IDC_CHECK_DO15, &CUtil7442Dlg::OnOut15) - ON_BN_CLICKED(IDC_CHECK_DO16, &CUtil7442Dlg::OnOut16) - ON_BN_CLICKED(IDC_CHECK_DO17, &CUtil7442Dlg::OnOut17) - ON_BN_CLICKED(IDC_CHECK_DO18, &CUtil7442Dlg::OnOut18) - ON_BN_CLICKED(IDC_CHECK_DO19, &CUtil7442Dlg::OnOut19) - ON_BN_CLICKED(IDC_CHECK_DO20, &CUtil7442Dlg::OnOut20) - ON_BN_CLICKED(IDC_CHECK_DO21, &CUtil7442Dlg::OnOut21) - ON_BN_CLICKED(IDC_CHECK_DO22, &CUtil7442Dlg::OnOut22) - ON_BN_CLICKED(IDC_CHECK_DO23, &CUtil7442Dlg::OnOut23) - ON_BN_CLICKED(IDC_CHECK_DO24, &CUtil7442Dlg::OnOut24) - ON_BN_CLICKED(IDC_CHECK_DO25, &CUtil7442Dlg::OnOut25) - ON_BN_CLICKED(IDC_CHECK_DO26, &CUtil7442Dlg::OnOut26) - ON_BN_CLICKED(IDC_CHECK_DO27, &CUtil7442Dlg::OnOut27) - ON_BN_CLICKED(IDC_CHECK_DO28, &CUtil7442Dlg::OnOut28) - ON_BN_CLICKED(IDC_CHECK_DO29, &CUtil7442Dlg::OnOut29) - ON_BN_CLICKED(IDC_CHECK_DO30, &CUtil7442Dlg::OnOut30) - ON_BN_CLICKED(IDC_CHECK_DO31, &CUtil7442Dlg::OnOut31) - ON_WM_DESTROY() - ON_WM_TIMER() - ON_CBN_SELCHANGE(IDC_COMBO_INPUT, &CUtil7442Dlg::OnInPortSelchange) - ON_CBN_SELCHANGE(IDC_COMBO_OUTPUT, &CUtil7442Dlg::OnOutPortSelchange) -END_MESSAGE_MAP() - - -// CUtil7442Dlg message handlers - -BOOL CUtil7442Dlg::OnInitDialog() -{ - CDialog::OnInitDialog(); - - // Add "About..." menu item to system menu. - - // IDM_ABOUTBOX must be in the system command range. - ASSERT((IDM_ABOUTBOX & 0xFFF0) == IDM_ABOUTBOX); - ASSERT(IDM_ABOUTBOX < 0xF000); - - CMenu* pSysMenu = GetSystemMenu(FALSE); - if (pSysMenu != NULL) - { - BOOL bNameValid; - CString strAboutMenu; - bNameValid = strAboutMenu.LoadString(IDS_ABOUTBOX); - ASSERT(bNameValid); - if (!strAboutMenu.IsEmpty()) - { - pSysMenu->AppendMenu(MF_SEPARATOR); - pSysMenu->AppendMenu(MF_STRING, IDM_ABOUTBOX, strAboutMenu); - } - } - - // Set the icon for this dialog. The framework does this automatically - // when the application's main window is not a dialog - SetIcon(m_hIcon, TRUE); // Set big icon - SetIcon(m_hIcon, FALSE); // Set small icon - - // TODO: Add extra initialization here - int i; - - m_cbPortInput.SetCurSel(0); - m_cbPortOutput.SetCurSel(0); - - for (i=0;i<2;i++) - { - DO_ReadPort(m_hCard, i, &m_dwOutData[i]); - } - - m_nTimer = SetTimer( 1, 250, NULL ); - - return TRUE; // return TRUE unless you set the focus to a control -} - -void CUtil7442Dlg::OnSysCommand(UINT nID, LPARAM lParam) -{ - if ((nID & 0xFFF0) == IDM_ABOUTBOX) - { - CAboutDlg dlgAbout; - dlgAbout.DoModal(); - } - else - { - CDialog::OnSysCommand(nID, lParam); - } -} - -// If you add a minimize button to your dialog, you will need the code below -// to draw the icon. For MFC applications using the document/view model, -// this is automatically done for you by the framework. - -void CUtil7442Dlg::OnPaint() -{ - if (IsIconic()) - { - CPaintDC dc(this); // device context for painting - - SendMessage(WM_ICONERASEBKGND, reinterpret_cast(dc.GetSafeHdc()), 0); - - // Center icon in client rectangle - int cxIcon = GetSystemMetrics(SM_CXICON); - int cyIcon = GetSystemMetrics(SM_CYICON); - CRect rect; - GetClientRect(&rect); - int x = (rect.Width() - cxIcon + 1) / 2; - int y = (rect.Height() - cyIcon + 1) / 2; - - // Draw the icon - dc.DrawIcon(x, y, m_hIcon); - } - else - { - CDialog::OnPaint(); - } -} - -// The system calls this function to obtain the cursor to display while the user drags -// the minimized window. -HCURSOR CUtil7442Dlg::OnQueryDragIcon() -{ - return static_cast(m_hIcon); -} - - -void CUtil7442Dlg::OnDestroy() -{ - CDialog::OnDestroy(); - - // TODO: Add your message handler code here - if( m_nTimer != -1 ) - KillTimer( m_nTimer ); -} - -void CUtil7442Dlg::OnTimer(UINT_PTR nIDEvent) -{ - // TODO: Add your message handler code here and/or call default - U32 dwPortData, dwChangeMask; - - DI_ReadPort(m_hCard, m_InDataPort, &dwPortData); - - dwChangeMask = dwPortData ^ m_dwInData[m_InDataPort]; - - if( dwChangeMask != 0x00 ) // Input had been changed - { - m_dwInData[m_InDataPort] = dwPortData; // update the DI data - - if( (dwChangeMask & 0x01) == 0x01 ) // if the target bit is changed - { - if( (dwPortData & 0x01) == 0x01 ) - { - m_Icon_DI00.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_DI00.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - - if( (dwChangeMask & 0x02) == 0x02 ) // if the target bit is changed - { - if( (dwPortData & 0x02) == 0x02 ) - { - m_Icon_DI01.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_DI01.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - if( (dwChangeMask & 0x04) == 0x04 ) // if the target bit is changed - { - if( (dwPortData & 0x04) == 0x04 ) - { - m_Icon_DI02.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_DI02.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - - if( (dwChangeMask & 0x08) == 0x08 ) // if the target bit is changed - { - if( (dwPortData & 0x08) == 0x08 ) - { - m_Icon_DI03.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_DI03.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - if( (dwChangeMask & 0x10) == 0x10 ) // if the target bit is changed - { - if( (dwPortData & 0x10) == 0x10 ) - { - m_Icon_DI04.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_DI04.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - if( (dwChangeMask & 0x20) == 0x20 ) // if the target bit is changed - { - if( (dwPortData & 0x20) == 0x20 ) - { - m_Icon_DI05.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_DI05.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - - if( (dwChangeMask & 0x40) == 0x40 ) // if the target bit is changed - { - if( (dwPortData & 0x40) == 0x40 ) - { - m_Icon_DI06.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_DI06.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - - if( (dwChangeMask & 0x80) == 0x80 ) // if the target bit is changed - { - if( (dwPortData & 0x80) == 0x80 ) - { - m_Icon_DI07.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_DI07.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - - if( (dwChangeMask & 0x100) == 0x100 ) // if the target bit is changed - { - if( (dwPortData & 0x100) == 0x100 ) - { - m_Icon_DI08.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_DI08.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - if( (dwChangeMask & 0x200) == 0x200 ) // if the target bit is changed - { - if( (dwPortData & 0x200) == 0x200 ) - { - m_Icon_DI09.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_DI09.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - if( (dwChangeMask & 0x400) == 0x400 ) // if the target bit is changed - { - if( (dwPortData & 0x400) == 0x400 ) - { - m_Icon_DI10.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_DI10.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - if( (dwChangeMask & 0x800) == 0x800 ) // if the target bit is changed - { - if( (dwPortData & 0x800) == 0x800 ) - { - m_Icon_DI11.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_DI11.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - if( (dwChangeMask & 0x1000) == 0x1000 ) // if the target bit is changed - { - if( (dwPortData & 0x1000) == 0x1000 ) - { - m_Icon_DI12.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_DI12.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - if( (dwChangeMask & 0x2000) == 0x2000 ) // if the target bit is changed - { - if( (dwPortData & 0x2000) == 0x2000 ) - { - m_Icon_DI13.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_DI13.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - if( (dwChangeMask & 0x4000) == 0x4000 ) // if the target bit is changed - { - if( (dwPortData & 0x4000) == 0x4000 ) - { - m_Icon_DI14.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_DI14.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - if( (dwChangeMask & 0x8000) == 0x8000 ) // if the target bit is changed - { - if( (dwPortData & 0x8000) == 0x8000 ) - { - m_Icon_DI15.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_DI15.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - - if( (dwChangeMask & 0x10000) == 0x10000 ) // if the target bit is changed - { - if( (dwPortData & 0x10000) == 0x10000 ) - { - m_Icon_DI16.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_DI16.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - - if( (dwChangeMask & 0x20000) == 0x20000 ) // if the target bit is changed - { - if( (dwPortData & 0x20000) == 0x20000 ) - { - m_Icon_DI17.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_DI17.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - if( (dwChangeMask & 0x40000) == 0x40000 ) // if the target bit is changed - { - if( (dwPortData & 0x40000) == 0x40000 ) - { - m_Icon_DI18.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_DI18.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - - if( (dwChangeMask & 0x80000) == 0x80000 ) // if the target bit is changed - { - if( (dwPortData & 0x80000) == 0x80000 ) - { - m_Icon_DI19.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_DI19.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - if( (dwChangeMask & 0x100000) == 0x100000 ) // if the target bit is changed - { - if( (dwPortData & 0x100000) == 0x100000 ) - { - m_Icon_DI20.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_DI20.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - if( (dwChangeMask & 0x200000) == 0x200000 ) // if the target bit is changed - { - if( (dwPortData & 0x200000) == 0x200000 ) - { - m_Icon_DI21.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_DI21.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - - if( (dwChangeMask & 0x400000) == 0x400000 ) // if the target bit is changed - { - if( (dwPortData & 0x400000) == 0x400000 ) - { - m_Icon_DI22.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_DI22.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - - if( (dwChangeMask & 0x800000) == 0x800000 ) // if the target bit is changed - { - if( (dwPortData & 0x800000) == 0x800000 ) - { - m_Icon_DI23.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_DI23.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - - if( (dwChangeMask & 0x1000000) == 0x1000000 ) // if the target bit is changed - { - if( (dwPortData & 0x1000000) == 0x1000000 ) - { - m_Icon_DI24.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_DI24.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - if( (dwChangeMask & 0x2000000) == 0x2000000 ) // if the target bit is changed - { - if( (dwPortData & 0x2000000) == 0x2000000 ) - { - m_Icon_DI25.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_DI25.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - if( (dwChangeMask & 0x4000000) == 0x4000000 ) // if the target bit is changed - { - if( (dwPortData & 0x4000000) == 0x4000000 ) - { - m_Icon_DI26.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_DI26.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - if( (dwChangeMask & 0x8000000) == 0x8000000 ) // if the target bit is changed - { - if( (dwPortData & 0x8000000) == 0x8000000 ) - { - m_Icon_DI27.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_DI27.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - if( (dwChangeMask & 0x10000000) == 0x10000000 ) // if the target bit is changed - { - if( (dwPortData & 0x10000000) == 0x10000000 ) - { - m_Icon_DI28.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_DI28.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - if( (dwChangeMask & 0x20000000) == 0x20000000 ) // if the target bit is changed - { - if( (dwPortData & 0x20000000) == 0x20000000 ) - { - m_Icon_DI29.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_DI29.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - if( (dwChangeMask & 0x40000000) == 0x40000000 ) // if the target bit is changed - { - if( (dwPortData & 0x40000000) == 0x40000000 ) - { - m_Icon_DI30.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_DI30.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - if( (dwChangeMask & 0x80000000) == 0x80000000 ) // if the target bit is changed - { - if( (dwPortData & 0x80000000) == 0x80000000 ) - { - m_Icon_DI31.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_DI31.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - } - - CDialog::OnTimer(nIDEvent); -} - - -void CUtil7442Dlg::OnOut00() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_DO00 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_dwOutData[m_OutDataPort] |= 0x01; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_dwOutData[m_OutDataPort] &= (~0x01); - } - - DO_WritePort( m_hCard, m_OutDataPort, m_dwOutData[m_OutDataPort] ); - -} - -void CUtil7442Dlg::OnOut01() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_DO01 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_dwOutData[m_OutDataPort] |= 0x02; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_dwOutData[m_OutDataPort] &= (~0x02); - } - - DO_WritePort( m_hCard, m_OutDataPort, m_dwOutData[m_OutDataPort] ); -} - -void CUtil7442Dlg::OnOut02() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_DO02 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_dwOutData[m_OutDataPort] |= 0x04; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_dwOutData[m_OutDataPort] &= (~0x04); - } - - DO_WritePort( m_hCard, m_OutDataPort, m_dwOutData[m_OutDataPort] ); -} - -void CUtil7442Dlg::OnOut03() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_DO03 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_dwOutData[m_OutDataPort] |= 0x08; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_dwOutData[m_OutDataPort] &= (~0x08); - } - - DO_WritePort( m_hCard, m_OutDataPort, m_dwOutData[m_OutDataPort] ); -} - -void CUtil7442Dlg::OnOut04() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_DO04 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_dwOutData[m_OutDataPort] |= 0x10; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_dwOutData[m_OutDataPort] &= (~0x10); - } - - DO_WritePort( m_hCard, m_OutDataPort, m_dwOutData[m_OutDataPort] ); -} - -void CUtil7442Dlg::OnOut05() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_DO05 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_dwOutData[m_OutDataPort] |= 0x20; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_dwOutData[m_OutDataPort] &= (~0x20); - } - - DO_WritePort( m_hCard, m_OutDataPort, m_dwOutData[m_OutDataPort] ); -} - -void CUtil7442Dlg::OnOut06() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_DO06 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_dwOutData[m_OutDataPort] |= 0x40; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_dwOutData[m_OutDataPort] &= (~0x40); - } - - DO_WritePort( m_hCard, m_OutDataPort, m_dwOutData[m_OutDataPort] ); -} - -void CUtil7442Dlg::OnOut07() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_DO07 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_dwOutData[m_OutDataPort] |= 0x80; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_dwOutData[m_OutDataPort] &= (~0x80); - } - - DO_WritePort( m_hCard, m_OutDataPort, m_dwOutData[m_OutDataPort] ); -} - -void CUtil7442Dlg::OnOut08() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_DO08 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_dwOutData[m_OutDataPort] |= 0x100; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_dwOutData[m_OutDataPort] &= (~0x100); - } - - DO_WritePort( m_hCard, m_OutDataPort, m_dwOutData[m_OutDataPort] ); -} - -void CUtil7442Dlg::OnOut09() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_DO09 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_dwOutData[m_OutDataPort] |= 0x200; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_dwOutData[m_OutDataPort] &= (~0x200); - } - - DO_WritePort( m_hCard, m_OutDataPort, m_dwOutData[m_OutDataPort] ); -} - -void CUtil7442Dlg::OnOut10() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_DO10 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_dwOutData[m_OutDataPort] |= 0x400; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_dwOutData[m_OutDataPort] &= (~0x400); - } - - DO_WritePort( m_hCard, m_OutDataPort, m_dwOutData[m_OutDataPort] ); -} - -void CUtil7442Dlg::OnOut11() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_DO11 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_dwOutData[m_OutDataPort] |= 0x800; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_dwOutData[m_OutDataPort] &= (~0x800); - } - - DO_WritePort( m_hCard, m_OutDataPort, m_dwOutData[m_OutDataPort] ); -} - -void CUtil7442Dlg::OnOut12() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_DO12 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_dwOutData[m_OutDataPort] |= 0x1000; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_dwOutData[m_OutDataPort] &= (~0x1000); - } - - DO_WritePort( m_hCard, m_OutDataPort, m_dwOutData[m_OutDataPort] ); -} - -void CUtil7442Dlg::OnOut13() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_DO13 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_dwOutData[m_OutDataPort] |= 0x2000; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_dwOutData[m_OutDataPort] &= (~0x2000); - } - - DO_WritePort( m_hCard, m_OutDataPort, m_dwOutData[m_OutDataPort] ); -} - -void CUtil7442Dlg::OnOut14() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_DO14 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_dwOutData[m_OutDataPort] |= 0x4000; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_dwOutData[m_OutDataPort] &= (~0x4000); - } - - DO_WritePort( m_hCard, m_OutDataPort, m_dwOutData[m_OutDataPort] ); -} - -void CUtil7442Dlg::OnOut15() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_DO15 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_dwOutData[m_OutDataPort] |= 0x8000; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_dwOutData[m_OutDataPort] &= (~0x8000); - } - - DO_WritePort( m_hCard, m_OutDataPort, m_dwOutData[m_OutDataPort] ); -} - - -void CUtil7442Dlg::OnOut16() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_DO16 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_dwOutData[m_OutDataPort] |= 0x10000; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_dwOutData[m_OutDataPort] &= (~0x10000); - } - - DO_WritePort( m_hCard, m_OutDataPort, m_dwOutData[m_OutDataPort] ); -} - -void CUtil7442Dlg::OnOut17() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_DO17 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_dwOutData[m_OutDataPort] |= 0x20000; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_dwOutData[m_OutDataPort] &= (~0x20000); - } - - DO_WritePort( m_hCard, m_OutDataPort, m_dwOutData[m_OutDataPort] ); -} - -void CUtil7442Dlg::OnOut18() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_DO18 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_dwOutData[m_OutDataPort] |= 0x40000; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_dwOutData[m_OutDataPort] &= (~0x40000); - } - - DO_WritePort( m_hCard, m_OutDataPort, m_dwOutData[m_OutDataPort] ); -} - -void CUtil7442Dlg::OnOut19() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_DO19 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_dwOutData[m_OutDataPort] |= 0x80000; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_dwOutData[m_OutDataPort] &= (~0x80000); - } - - DO_WritePort( m_hCard, m_OutDataPort, m_dwOutData[m_OutDataPort] ); -} - - -void CUtil7442Dlg::OnOut20() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_DO20 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_dwOutData[m_OutDataPort] |= 0x100000; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_dwOutData[m_OutDataPort] &= (~0x100000); - } - - DO_WritePort( m_hCard, m_OutDataPort, m_dwOutData[m_OutDataPort] ); -} - -void CUtil7442Dlg::OnOut21() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_DO21 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_dwOutData[m_OutDataPort] |= 0x200000; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_dwOutData[m_OutDataPort] &= (~0x200000); - } - - DO_WritePort( m_hCard, m_OutDataPort, m_dwOutData[m_OutDataPort] ); -} - -void CUtil7442Dlg::OnOut22() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_DO22 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_dwOutData[m_OutDataPort] |= 0x400000; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_dwOutData[m_OutDataPort] &= (~0x400000); - } - - DO_WritePort( m_hCard, m_OutDataPort, m_dwOutData[m_OutDataPort] ); -} - -void CUtil7442Dlg::OnOut23() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_DO23 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_dwOutData[m_OutDataPort] |= 0x800000; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_dwOutData[m_OutDataPort] &= (~0x800000); - } - - DO_WritePort( m_hCard, m_OutDataPort, m_dwOutData[m_OutDataPort] ); -} - -void CUtil7442Dlg::OnOut24() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_DO24 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_dwOutData[m_OutDataPort] |= 0x1000000; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_dwOutData[m_OutDataPort] &= (~0x1000000); - } - - DO_WritePort( m_hCard, m_OutDataPort, m_dwOutData[m_OutDataPort] ); -} - -void CUtil7442Dlg::OnOut25() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_DO25 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_dwOutData[m_OutDataPort] |= 0x2000000; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_dwOutData[m_OutDataPort] &= (~0x2000000); - } - - DO_WritePort( m_hCard, m_OutDataPort, m_dwOutData[m_OutDataPort] ); -} - - -void CUtil7442Dlg::OnOut26() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_DO26 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_dwOutData[m_OutDataPort] |= 0x4000000; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_dwOutData[m_OutDataPort] &= (~0x4000000); - } - - DO_WritePort( m_hCard, m_OutDataPort, m_dwOutData[m_OutDataPort] ); -} - -void CUtil7442Dlg::OnOut27() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_DO27 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_dwOutData[m_OutDataPort] |= 0x8000000; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_dwOutData[m_OutDataPort] &= (~0x8000000); - } - - DO_WritePort( m_hCard, m_OutDataPort, m_dwOutData[m_OutDataPort] ); -} - -void CUtil7442Dlg::OnOut28() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_DO28 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_dwOutData[m_OutDataPort] |= 0x10000000; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_dwOutData[m_OutDataPort] &= (~0x10000000); - } - - DO_WritePort( m_hCard, m_OutDataPort, m_dwOutData[m_OutDataPort] ); -} - -void CUtil7442Dlg::OnOut29() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_DO29 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_dwOutData[m_OutDataPort] |= 0x20000000; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_dwOutData[m_OutDataPort] &= (~0x20000000); - } - - DO_WritePort( m_hCard, m_OutDataPort, m_dwOutData[m_OutDataPort] ); -} - -void CUtil7442Dlg::OnOut30() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_DO30 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_dwOutData[m_OutDataPort] |= 0x40000000; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_dwOutData[m_OutDataPort] &= (~0x40000000); - } - - DO_WritePort( m_hCard, m_OutDataPort, m_dwOutData[m_OutDataPort] ); -} - -void CUtil7442Dlg::OnOut31() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_DO31 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_dwOutData[m_OutDataPort] |= 0x80000000; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_dwOutData[m_OutDataPort] &= (~0x80000000); - } - - DO_WritePort( m_hCard, m_OutDataPort, m_dwOutData[m_OutDataPort] ); -} - -void CUtil7442Dlg::OnInPortSelchange() -{ - // TODO: Add your control notification handler code here - int nIndex; - - nIndex = m_cbPortInput.GetCurSel(); - switch( nIndex ) - { - case 0: - m_InDataPort = 0; - break; - case 1: - m_InDataPort = 1; - break; - } -} - -void CUtil7442Dlg::OnOutPortSelchange() -{ - // TODO: Add your control notification handler code here - int nIndex, i; - - nIndex = m_cbPortOutput.GetCurSel(); - switch( nIndex ) - { - case 0: - m_OutDataPort = 0; - break; - case 1: - m_OutDataPort = 1; - break; - } - - for (i=0; i<32; i++) - { - if ( (m_dwOutData[m_OutDataPort]>>i)&0x01) - { - ((CButton*)GetDlgItem( IDC_CHECK_DO00+i ))->SetCheck( TRUE ); - } - else - { - ((CButton*)GetDlgItem( IDC_CHECK_DO00+i ))->SetCheck( FALSE ); - } - } -} diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7442/Sdk7442DIO/Util7442Dlg.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7442/Sdk7442DIO/Util7442Dlg.h deleted file mode 100644 index ec6c88d..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7442/Sdk7442DIO/Util7442Dlg.h +++ /dev/null @@ -1,111 +0,0 @@ - -// Util7442Dlg.h : header file -// - -#include "Dask64.h" - -#pragma once - - -// CUtil7442Dlg dialog -class CUtil7442Dlg : public CDialog -{ -// Construction -public: - CUtil7442Dlg(I16 hCard, CWnd* pParent = NULL); // standard constructor - -// Dialog Data - enum { IDD = IDD_UTIL7442_DIALOG }; - - protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - - -// Implementation -protected: - HICON m_hIcon; - UINT_PTR m_nTimer; - I16 m_hCard; - U32 m_dwInData[2]; - U32 m_dwOutData[2]; - U16 m_InDataPort; - U16 m_OutDataPort; - - // Generated message map functions - virtual BOOL OnInitDialog(); - afx_msg void OnSysCommand(UINT nID, LPARAM lParam); - afx_msg void OnPaint(); - afx_msg HCURSOR OnQueryDragIcon(); - DECLARE_MESSAGE_MAP() -public: - CStatic m_Icon_DI00; - CStatic m_Icon_DI01; - CStatic m_Icon_DI02; - CStatic m_Icon_DI03; - CStatic m_Icon_DI04; - CStatic m_Icon_DI05; - CStatic m_Icon_DI06; - CStatic m_Icon_DI07; - CStatic m_Icon_DI08; - CStatic m_Icon_DI09; - CStatic m_Icon_DI10; - CStatic m_Icon_DI11; - CStatic m_Icon_DI12; - CStatic m_Icon_DI13; - CStatic m_Icon_DI14; - CStatic m_Icon_DI15; - CStatic m_Icon_DI16; - CStatic m_Icon_DI17; - CStatic m_Icon_DI18; - CStatic m_Icon_DI19; - CStatic m_Icon_DI20; - CStatic m_Icon_DI21; - CStatic m_Icon_DI22; - CStatic m_Icon_DI23; - CStatic m_Icon_DI24; - CStatic m_Icon_DI25; - CStatic m_Icon_DI26; - CStatic m_Icon_DI27; - CStatic m_Icon_DI28; - CStatic m_Icon_DI29; - CStatic m_Icon_DI30; - CStatic m_Icon_DI31; - CComboBox m_cbPortInput; - CComboBox m_cbPortOutput; - afx_msg void OnDestroy(); - afx_msg void OnTimer(UINT_PTR nIDEvent); - afx_msg void OnOut00(); - afx_msg void OnOut01(); - afx_msg void OnOut02(); - afx_msg void OnOut03(); - afx_msg void OnOut04(); - afx_msg void OnOut05(); - afx_msg void OnOut06(); - afx_msg void OnOut07(); - afx_msg void OnOut08(); - afx_msg void OnOut09(); - afx_msg void OnOut10(); - afx_msg void OnOut11(); - afx_msg void OnOut12(); - afx_msg void OnOut13(); - afx_msg void OnOut14(); - afx_msg void OnOut15(); - afx_msg void OnOut16(); - afx_msg void OnOut17(); - afx_msg void OnOut18(); - afx_msg void OnOut19(); - afx_msg void OnOut20(); - afx_msg void OnOut21(); - afx_msg void OnOut22(); - afx_msg void OnOut23(); - afx_msg void OnOut24(); - afx_msg void OnOut25(); - afx_msg void OnOut26(); - afx_msg void OnOut27(); - afx_msg void OnOut28(); - afx_msg void OnOut29(); - afx_msg void OnOut30(); - afx_msg void OnOut31(); - afx_msg void OnInPortSelchange(); - afx_msg void OnOutPortSelchange(); -}; diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7442/Sdk7442DIO/res/Util7442.ico b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7442/Sdk7442DIO/res/Util7442.ico deleted file mode 100644 index d56fbcd..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7442/Sdk7442DIO/res/Util7442.ico and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7442/Sdk7442DIO/res/Util7442.rc2 b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7442/Sdk7442DIO/res/Util7442.rc2 deleted file mode 100644 index 1a1be94..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7442/Sdk7442DIO/res/Util7442.rc2 +++ /dev/null @@ -1,13 +0,0 @@ -// -// Util7233.RC2 - resources Microsoft Visual C++ does not edit directly -// - -#ifdef APSTUDIO_INVOKED -#error this file is not editable by Microsoft Visual C++ -#endif //APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// Add manually edited resources here... - -///////////////////////////////////////////////////////////////////////////// diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7442/Sdk7442DIO/res/black.ico b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7442/Sdk7442DIO/res/black.ico deleted file mode 100644 index b5c375f..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7442/Sdk7442DIO/res/black.ico and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7442/Sdk7442DIO/res/green.ico b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7442/Sdk7442DIO/res/green.ico deleted file mode 100644 index d9a9fd3..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7442/Sdk7442DIO/res/green.ico and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7442/Sdk7442DIO/res/red.ico b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7442/Sdk7442DIO/res/red.ico deleted file mode 100644 index 7644596..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7442/Sdk7442DIO/res/red.ico and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7442/Sdk7442DIO/resource.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7442/Sdk7442DIO/resource.h deleted file mode 100644 index db4c1fc..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7442/Sdk7442DIO/resource.h +++ /dev/null @@ -1,92 +0,0 @@ -//{{NO_DEPENDENCIES}} -// Microsoft Visual C++ generated include file. -// Used by Util7442.rc -// -#define IDM_ABOUTBOX 0x0010 -#define IDD_ABOUTBOX 100 -#define IDS_ABOUTBOX 101 -#define IDD_UTIL7442_DIALOG 102 -#define IDR_MAINFRAME 128 -#define IDI_ICON_BLACK 129 -#define IDI_ICON_GREEN 130 -#define IDI_ICON_RED 131 -#define IDD_CARDID_DIALOG 132 -#define IDC_COMBO_CARDID 1000 -#define IDC_ICON_DI00 1003 -#define IDC_ICON_DI01 1004 -#define IDC_ICON_DI02 1005 -#define IDC_ICON_DI03 1006 -#define IDC_ICON_DI04 1007 -#define IDC_ICON_DI05 1008 -#define IDC_ICON_DI06 1009 -#define IDC_ICON_DI07 1010 -#define IDC_ICON_DI08 1011 -#define IDC_ICON_DI09 1012 -#define IDC_ICON_DI10 1013 -#define IDC_ICON_DI11 1014 -#define IDC_ICON_DI12 1015 -#define IDC_ICON_DI13 1016 -#define IDC_ICON_DI14 1017 -#define IDC_ICON_DI15 1018 -#define IDC_ICON_DI16 1019 -#define IDC_ICON_DI17 1020 -#define IDC_ICON_DI18 1021 -#define IDC_ICON_DI19 1022 -#define IDC_ICON_DI20 1023 -#define IDC_ICON_DI21 1024 -#define IDC_ICON_DI22 1025 -#define IDC_ICON_DI23 1026 -#define IDC_ICON_DI24 1027 -#define IDC_ICON_DI25 1028 -#define IDC_ICON_DI26 1029 -#define IDC_ICON_DI27 1030 -#define IDC_ICON_DI28 1031 -#define IDC_ICON_DI29 1032 -#define IDC_ICON_DI30 1033 -#define IDC_ICON_DI31 1034 -#define IDC_CHECK_DO00 1035 -#define IDC_CHECK_DO01 1036 -#define IDC_CHECK_DO02 1037 -#define IDC_CHECK_DO03 1038 -#define IDC_CHECK_DO04 1039 -#define IDC_CHECK_DO05 1040 -#define IDC_CHECK_DO06 1041 -#define IDC_CHECK_DO07 1042 -#define IDC_CHECK_DO08 1043 -#define IDC_CHECK_DO09 1044 -#define IDC_CHECK_DO10 1045 -#define IDC_CHECK_DO11 1046 -#define IDC_CHECK_DO12 1047 -#define IDC_CHECK_DO13 1048 -#define IDC_CHECK_DO14 1049 -#define IDC_CHECK_DO15 1050 -#define IDC_CHECK_DO16 1051 -#define IDC_CHECK_DO17 1052 -#define IDC_CHECK_DO18 1053 -#define IDC_CHECK_DO19 1054 -#define IDC_CHECK_DO20 1055 -#define IDC_CHECK_DO21 1056 -#define IDC_CHECK_DO22 1057 -#define IDC_CHECK_DO23 1058 -#define IDC_CHECK_DO24 1059 -#define IDC_CHECK_DO25 1060 -#define IDC_CHECK_DO26 1061 -#define IDC_CHECK_DO27 1062 -#define IDC_CHECK_DO28 1063 -#define IDC_CHECK_DO29 1064 -#define IDC_CHECK_DO30 1065 -#define IDC_CHECK_DO31 1066 -#define IDC_COMBO_OUTPUT 1067 -#define IDC_COMBO_INPUT 1068 -#define IDC_STATIC_01 1070 - -// Next default values for new objects -// -#ifdef APSTUDIO_INVOKED -#ifndef APSTUDIO_READONLY_SYMBOLS -#define _APS_NEXT_RESOURCE_VALUE 135 -#define _APS_NEXT_COMMAND_VALUE 32771 -#define _APS_NEXT_CONTROL_VALUE 1001 -#define _APS_NEXT_SYMED_VALUE 101 -#endif -#endif diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7442/Sdk7442DIO/stdafx.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7442/Sdk7442DIO/stdafx.cpp deleted file mode 100644 index 40e6596..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7442/Sdk7442DIO/stdafx.cpp +++ /dev/null @@ -1,8 +0,0 @@ - -// stdafx.cpp : source file that includes just the standard includes -// Util7442.pch will be the pre-compiled header -// stdafx.obj will contain the pre-compiled type information - -#include "stdafx.h" - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7442/Sdk7442DIO/stdafx.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7442/Sdk7442DIO/stdafx.h deleted file mode 100644 index 12123e2..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7442/Sdk7442DIO/stdafx.h +++ /dev/null @@ -1,60 +0,0 @@ - -// stdafx.h : include file for standard system include files, -// or project specific include files that are used frequently, -// but are changed infrequently - -#pragma once - -#ifndef _SECURE_ATL -#define _SECURE_ATL 1 -#endif - -#ifndef VC_EXTRALEAN -#define VC_EXTRALEAN // Exclude rarely-used stuff from Windows headers -#endif - -#include "targetver.h" - -#define _ATL_CSTRING_EXPLICIT_CONSTRUCTORS // some CString constructors will be explicit - -// turns off MFC's hiding of some common and often safely ignored warning messages -#define _AFX_ALL_WARNINGS - -#include // MFC core and standard components -#include // MFC extensions - - -#include // MFC Automation classes - - - -#ifndef _AFX_NO_OLE_SUPPORT -#include // MFC support for Internet Explorer 4 Common Controls -#endif -#ifndef _AFX_NO_AFXCMN_SUPPORT -#include // MFC support for Windows Common Controls -#endif // _AFX_NO_AFXCMN_SUPPORT - -#include // MFC support for ribbons and control bars - - - - - - - - - -#ifdef _UNICODE -#if defined _M_IX86 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='x86' publicKeyToken='6595b64144ccf1df' language='*'\"") -#elif defined _M_IA64 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='ia64' publicKeyToken='6595b64144ccf1df' language='*'\"") -#elif defined _M_X64 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='amd64' publicKeyToken='6595b64144ccf1df' language='*'\"") -#else -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='*' publicKeyToken='6595b64144ccf1df' language='*'\"") -#endif -#endif - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7442/Sdk7442DIO/targetver.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7442/Sdk7442DIO/targetver.h deleted file mode 100644 index 11730d5..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7442/Sdk7442DIO/targetver.h +++ /dev/null @@ -1,26 +0,0 @@ - -#pragma once - -// The following macros define the minimum required platform. The minimum required platform -// is the earliest version of Windows, Internet Explorer etc. that has the necessary features to run -// your application. The macros work by enabling all features available on platform versions up to and -// including the version specified. - -// Modify the following defines if you have to target a platform prior to the ones specified below. -// Refer to MSDN for the latest info on corresponding values for different platforms. -#ifndef WINVER // Specifies that the minimum required platform is Windows Vista. -#define WINVER 0x0600 // Change this to the appropriate value to target other versions of Windows. -#endif - -#ifndef _WIN32_WINNT // Specifies that the minimum required platform is Windows Vista. -#define _WIN32_WINNT 0x0600 // Change this to the appropriate value to target other versions of Windows. -#endif - -#ifndef _WIN32_WINDOWS // Specifies that the minimum required platform is Windows 98. -#define _WIN32_WINDOWS 0x0410 // Change this to the appropriate value to target Windows Me or later. -#endif - -#ifndef _WIN32_IE // Specifies that the minimum required platform is Internet Explorer 7.0. -#define _WIN32_IE 0x0700 // Change this to the appropriate value to target other versions of IE. -#endif - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7443/DIOOnePoint/CardIDDlg.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7443/DIOOnePoint/CardIDDlg.cpp deleted file mode 100644 index 5840eec..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7443/DIOOnePoint/CardIDDlg.cpp +++ /dev/null @@ -1,67 +0,0 @@ -// CardIDDlg.cpp : implementation file -// - -#include "stdafx.h" -#include "DIOOnePoint.h" -#include "CardIDDlg.h" - - -// CCardIDDlg dialog - -IMPLEMENT_DYNAMIC(CCardIDDlg, CDialog) - -CCardIDDlg::CCardIDDlg(int nCardIdx, CWnd* pParent /*=NULL*/) - : CDialog(CCardIDDlg::IDD, pParent) -{ - m_nCardIdx = nCardIdx; -} - -CCardIDDlg::~CCardIDDlg() -{ -} - -void CCardIDDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); - DDX_Control(pDX, IDC_COMBO_CARDID, m_cbCardID); -} - - -BEGIN_MESSAGE_MAP(CCardIDDlg, CDialog) -// ON_CBN_SELCHANGE(IDC_COMBO_CARDID, &CCardIDDlg::OnCbnSelchangeComboCardid) -ON_BN_CLICKED(IDOK, &CCardIDDlg::OnBnClickedOk) -//ON_WM_CTLCOLOR() -END_MESSAGE_MAP() - - -// CCardIDDlg message handlers - - -void CCardIDDlg::OnBnClickedOk() -{ - // TODO: Add your control notification handler code here - -// UpdateData(TRUE); - m_nCardIdx = m_cbCardID.GetCurSel(); - - OnOK(); -} - -BOOL CCardIDDlg::OnInitDialog() -{ - CDialog::OnInitDialog(); - - // TODO: Add extra initialization here - m_cbCardID.SetCurSel( m_nCardIdx ); - - return TRUE; // return TRUE unless you set the focus to a control - // EXCEPTION: OCX Property Pages should return FALSE -} - -// the function to get the selected CardID -int CCardIDDlg::GetCardID(void) -{ - return m_nCardIdx; -} - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7443/DIOOnePoint/CardIDDlg.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7443/DIOOnePoint/CardIDDlg.h deleted file mode 100644 index 54628ea..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7443/DIOOnePoint/CardIDDlg.h +++ /dev/null @@ -1,33 +0,0 @@ -#pragma once -#include "afxwin.h" - - -// CCardIDDlg dialog - -class CCardIDDlg : public CDialog -{ - DECLARE_DYNAMIC(CCardIDDlg) - -public: - CCardIDDlg(int nCardIdx, CWnd* pParent = NULL); // standard constructor - virtual ~CCardIDDlg(); - -// Dialog Data - enum { IDD = IDD_CARDID_DIALOG }; - -protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - - DECLARE_MESSAGE_MAP() -public: -// afx_msg void OnCbnSelchangeComboCardid(); - afx_msg void OnBnClickedOk(); - // the setting of CardID ComboBox - int m_nCardIdx; - virtual BOOL OnInitDialog(); - // the control of CardID ComboBox - CComboBox m_cbCardID; - // the function to get the selected CardID - int GetCardID(void); -// afx_msg HBRUSH OnCtlColor(CDC* pDC, CWnd* pWnd, UINT nCtlColor); -}; diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7443/DIOOnePoint/DIOOnePoint.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7443/DIOOnePoint/DIOOnePoint.cpp deleted file mode 100644 index ec964bf..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7443/DIOOnePoint/DIOOnePoint.cpp +++ /dev/null @@ -1,111 +0,0 @@ - -// DIOOnePoint.cpp : Defines the class behaviors for the application. -// - -#include "stdafx.h" -#include "DIOOnePoint.h" -#include "DIOOnePointDlg.h" -#include "CardIDDlg.h" - - -#ifdef _DEBUG -#define new DEBUG_NEW -#endif - - -// CDIOOnePointApp - -BEGIN_MESSAGE_MAP(CDIOOnePointApp, CWinAppEx) - ON_COMMAND(ID_HELP, &CWinApp::OnHelp) -END_MESSAGE_MAP() - - -// CDIOOnePointApp construction - -CDIOOnePointApp::CDIOOnePointApp() -{ - // TODO: add construction code here, - // Place all significant initialization in InitInstance -} - - -// The one and only CDIOOnePointApp object - -CDIOOnePointApp theApp; - - -// CDIOOnePointApp initialization - -BOOL CDIOOnePointApp::InitInstance() -{ - int nCardID = 0; - I16 hCard; - CString strTemp; - INT_PTR nResponse; - - // InitCommonControlsEx() is required on Windows XP if an application - // manifest specifies use of ComCtl32.dll version 6 or later to enable - // visual styles. Otherwise, any window creation will fail. - INITCOMMONCONTROLSEX InitCtrls; - InitCtrls.dwSize = sizeof(InitCtrls); - // Set this to include all the common control classes you want to use - // in your application. - InitCtrls.dwICC = ICC_WIN95_CLASSES; - InitCommonControlsEx(&InitCtrls); - - CWinAppEx::InitInstance(); - - AfxEnableControlContainer(); - - // Standard initialization - // If you are not using these features and wish to reduce the size - // of your final executable, you should remove from the following - // the specific initialization routines you do not need - // Change the registry key under which our settings are stored - // TODO: You should modify this string to be something appropriate - // such as the name of your company or organization - SetRegistryKey(_T("Local AppWizard-Generated Applications")); - - CCardIDDlg CardDlg( nCardID ); - - nResponse = CardDlg.DoModal(); - if (nResponse == IDOK) - { - nCardID = CardDlg.GetCardID(); - - if ((hCard=Register_Card(PCI_7443, nCardID)) < 0) - { - strTemp.Format( TEXT("Register_Card Error = %d"), hCard); - AfxMessageBox( strTemp ); - } - else - { - CDIOOnePointDlg dlg(hCard); - m_pMainWnd = &dlg; - nResponse = dlg.DoModal(); - if (nResponse == IDOK) - { - // TODO: Place code here to handle when the dialog is - // dismissed with OK - } - else if (nResponse == IDCANCEL) - { - // TODO: Place code here to handle when the dialog is - // dismissed with Cancel - } - - if (hCard >= 0) Release_Card(hCard); - } - - } - else if (nResponse == IDCANCEL) - { - // TODO: Place code here to handle when the dialog is - // dismissed with Cancel - } - - - // Since the dialog has been closed, return FALSE so that we exit the - // application, rather than start the application's message pump. - return FALSE; -} diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7443/DIOOnePoint/DIOOnePoint.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7443/DIOOnePoint/DIOOnePoint.h deleted file mode 100644 index cbf73e6..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7443/DIOOnePoint/DIOOnePoint.h +++ /dev/null @@ -1,32 +0,0 @@ - -// DIOOnePoint.h : main header file for the PROJECT_NAME application -// - -#pragma once - -#ifndef __AFXWIN_H__ - #error "include 'stdafx.h' before including this file for PCH" -#endif - -#include "resource.h" // main symbols - - -// CDIOOnePointApp: -// See DIOOnePoint.cpp for the implementation of this class -// - -class CDIOOnePointApp : public CWinAppEx -{ -public: - CDIOOnePointApp(); - -// Overrides - public: - virtual BOOL InitInstance(); - -// Implementation - - DECLARE_MESSAGE_MAP() -}; - -extern CDIOOnePointApp theApp; \ No newline at end of file diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7443/DIOOnePoint/DIOOnePoint.rc b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7443/DIOOnePoint/DIOOnePoint.rc deleted file mode 100644 index 20fbadb..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7443/DIOOnePoint/DIOOnePoint.rc +++ /dev/null @@ -1,334 +0,0 @@ -// Microsoft Visual C++ generated resource script. -// -#include "resource.h" - -#define APSTUDIO_READONLY_SYMBOLS -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 2 resource. -// -#ifndef APSTUDIO_INVOKED -#include "targetver.h" -#endif -#include "afxres.h" - -///////////////////////////////////////////////////////////////////////////// -#undef APSTUDIO_READONLY_SYMBOLS - -///////////////////////////////////////////////////////////////////////////// -// Chinese (Taiwan) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_CHT) -#ifdef _WIN32 -LANGUAGE LANG_CHINESE, SUBLANG_CHINESE_TRADITIONAL -#pragma code_page(950) -#endif //_WIN32 - -#ifdef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// TEXTINCLUDE -// - -1 TEXTINCLUDE -BEGIN - "resource.h\0" -END - -2 TEXTINCLUDE -BEGIN - "#ifndef APSTUDIO_INVOKED\r\n" - "#include ""targetver.h""\r\n" - "#endif\r\n" - "#include ""afxres.h""\r\n" - "\0" -END - -3 TEXTINCLUDE -BEGIN - "#define _AFX_NO_SPLITTER_RESOURCES\r\n" - "#define _AFX_NO_OLE_RESOURCES\r\n" - "#define _AFX_NO_TRACKER_RESOURCES\r\n" - "#define _AFX_NO_PROPERTY_RESOURCES\r\n" - "\r\n" - "#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)\r\n" - "LANGUAGE 9, 1\r\n" - "#pragma code_page(1252)\r\n" - "#include ""res\\DIOOnePoint.rc2"" // non-Microsoft Visual C++ edited resources\r\n" - "#include ""afxres.rc"" // Standard components\r\n" - "#endif\r\n" - "\0" -END - -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// Icon -// - -// Icon with lowest ID value placed first to ensure application icon -// remains consistent on all systems. -IDR_MAINFRAME ICON "res\\DIOOnePoint.ico" -#endif // Chinese (Taiwan) resources -///////////////////////////////////////////////////////////////////////////// - - -///////////////////////////////////////////////////////////////////////////// -// English (U.S.) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -#ifdef _WIN32 -LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US -#pragma code_page(1252) -#endif //_WIN32 - -///////////////////////////////////////////////////////////////////////////// -// -// Icon -// - -// Icon with lowest ID value placed first to ensure application icon -// remains consistent on all systems. -IDI_ICON_BLACK ICON "res\\black.ico" -IDI_ICON_GREEN ICON "res\\green.ico" -IDI_ICON_RED ICON "res\\red.ico" - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog -// - -IDD_CARDID_DIALOG DIALOGEX 0, 0, 188, 101 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "Card ID" -FONT 8, "MS Shell Dlg", 400, 0, 0x1 -BEGIN - COMBOBOX IDC_COMBO_CARDID,83,24,71,126,CBS_DROPDOWN | WS_VSCROLL | WS_TABSTOP - LTEXT "Card Number",IDC_STATIC_01,29,25,46,12 - PUSHBUTTON "OK",IDOK,30,57,58,19 - PUSHBUTTON "CANCEL",IDCANCEL,94,57,58,19 -END - -IDD_ABOUTBOX DIALOGEX 0, 0, 170, 62 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "About DIOOnePoint" -FONT 8, "MS Shell Dlg", 0, 0, 0x1 -BEGIN - ICON IDR_MAINFRAME,IDC_STATIC,14,14,21,20 - LTEXT "DIOOnePoint, Version 1.0",IDC_STATIC,42,14,114,8,SS_NOPREFIX - LTEXT "Copyright (C) 2010",IDC_STATIC,42,26,114,8 - DEFPUSHBUTTON "OK",IDOK,113,41,50,14,WS_GROUP -END - -IDD_DIOONEPOINT_DIALOG DIALOGEX 0, 0, 320, 147 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU -EXSTYLE WS_EX_APPWINDOW -CAPTION "PCI-7443 Isolated DI" -FONT 8, "MS Shell Dlg", 0, 0, 0x1 -BEGIN - ICON IDI_ICON_BLACK,IDC_ICON_DI00,294,90,21,20 - ICON IDI_ICON_BLACK,IDC_ICON_DI01,276,90,21,20 - ICON IDI_ICON_BLACK,IDC_ICON_DI02,258,90,21,20 - ICON IDI_ICON_BLACK,IDC_ICON_DI03,240,90,21,20 - ICON IDI_ICON_BLACK,IDC_ICON_DI04,222,90,21,20 - ICON IDI_ICON_BLACK,IDC_ICON_DI05,204,90,21,20 - ICON IDI_ICON_BLACK,IDC_ICON_DI06,186,90,21,20 - ICON IDI_ICON_BLACK,IDC_ICON_DI07,168,90,21,20 - ICON IDI_ICON_BLACK,IDC_ICON_DI08,150,90,21,20 - ICON IDI_ICON_BLACK,IDC_ICON_DI09,132,90,21,20 - ICON IDI_ICON_BLACK,IDC_ICON_DI10,114,90,21,20 - ICON IDI_ICON_BLACK,IDC_ICON_DI11,96,90,21,20 - ICON IDI_ICON_BLACK,IDC_ICON_DI12,78,90,21,20 - ICON IDI_ICON_BLACK,IDC_ICON_DI13,60,90,21,20 - ICON IDI_ICON_BLACK,IDC_ICON_DI14,42,90,21,20 - ICON IDI_ICON_BLACK,IDC_ICON_DI15,24,90,21,20 - LTEXT " 15 0",IDC_STATIC,24,108,289,13 - ICON IDI_ICON_BLACK,IDC_ICON_DI16,270,48,21,20 - ICON IDI_ICON_BLACK,IDC_ICON_DI17,252,48,21,20 - ICON IDI_ICON_BLACK,IDC_ICON_DI18,234,48,21,20 - ICON IDI_ICON_BLACK,IDC_ICON_DI19,216,48,21,20 - ICON IDI_ICON_BLACK,IDC_ICON_DI20,198,48,21,20 - ICON IDI_ICON_BLACK,IDC_ICON_DI21,180,48,21,20 - ICON IDI_ICON_BLACK,IDC_ICON_DI22,162,48,21,20 - ICON IDI_ICON_BLACK,IDC_ICON_DI23,144,48,21,20 - ICON IDI_ICON_BLACK,IDC_ICON_DI24,126,48,21,20 - ICON IDI_ICON_BLACK,IDC_ICON_DI25,108,48,21,20 - ICON IDI_ICON_BLACK,IDC_ICON_DI26,90,48,21,20 - ICON IDI_ICON_BLACK,IDC_ICON_DI27,72,48,21,20 - ICON IDI_ICON_BLACK,IDC_ICON_DI28,54,48,21,20 - ICON IDI_ICON_BLACK,IDC_ICON_DI29,36,48,21,20 - ICON IDI_ICON_BLACK,IDC_ICON_DI30,18,48,21,20 - ICON IDI_ICON_BLACK,IDC_ICON_DI31,0,48,21,20 - LTEXT " 31 16",IDC_STATIC,0,66,289,13 - LTEXT "Read DI Data from :",IDC_STATIC,6,12,66,12 - COMBOBOX IDC_COMBO_DI_PORT,78,12,72,72,CBS_DROPDOWN | WS_VSCROLL | WS_TABSTOP -END - - -///////////////////////////////////////////////////////////////////////////// -// -// DESIGNINFO -// - -#ifdef APSTUDIO_INVOKED -GUIDELINES DESIGNINFO -BEGIN - IDD_CARDID_DIALOG, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 181 - TOPMARGIN, 7 - BOTTOMMARGIN, 94 - END - - IDD_ABOUTBOX, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 163 - TOPMARGIN, 7 - BOTTOMMARGIN, 55 - END - - IDD_DIOONEPOINT_DIALOG, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 313 - TOPMARGIN, 7 - BOTTOMMARGIN, 140 - END -END -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog Info -// - -IDD_CARDID_DIALOG DLGINIT -BEGIN - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0030, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0031, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0032, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0033, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0034, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0035, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0036, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0037, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0038, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0039, - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3031, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3131, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3231, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3331, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3431, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3531, "\000" - 0 -END - -IDD_DIOONEPOINT_DIALOG DLGINIT -BEGIN - IDC_COMBO_DI_PORT, 0x403, 11, 0 -0x5020, 0x3437, 0x3334, 0x435f, 0x3048, "\000" - IDC_COMBO_DI_PORT, 0x403, 11, 0 -0x5020, 0x3437, 0x3334, 0x435f, 0x3148, "\000" - IDC_COMBO_DI_PORT, 0x403, 11, 0 -0x5020, 0x3437, 0x3334, 0x435f, 0x3248, "\000" - IDC_COMBO_DI_PORT, 0x403, 11, 0 -0x5020, 0x3437, 0x3334, 0x435f, 0x3348, "\000" - 0 -END - - -///////////////////////////////////////////////////////////////////////////// -// -// Version -// - -VS_VERSION_INFO VERSIONINFO - FILEVERSION 1,0,0,1 - PRODUCTVERSION 1,0,0,1 - FILEFLAGSMASK 0x3fL -#ifdef _DEBUG - FILEFLAGS 0x1L -#else - FILEFLAGS 0x0L -#endif - FILEOS 0x4L - FILETYPE 0x1L - FILESUBTYPE 0x0L -BEGIN - BLOCK "StringFileInfo" - BEGIN - BLOCK "040904e4" - BEGIN - VALUE "CompanyName", "TODO: " - VALUE "FileDescription", "TODO: " - VALUE "FileVersion", "1.0.0.1" - VALUE "InternalName", "DIOOnePoint.exe" - VALUE "LegalCopyright", "TODO: (c) . All rights reserved." - VALUE "OriginalFilename", "DIOOnePoint.exe" - VALUE "ProductName", "TODO: " - VALUE "ProductVersion", "1.0.0.1" - END - END - BLOCK "VarFileInfo" - BEGIN - VALUE "Translation", 0x409, 1252 - END -END - - -///////////////////////////////////////////////////////////////////////////// -// -// String Table -// - -STRINGTABLE -BEGIN - IDS_ABOUTBOX "&About DIOOnePoint..." -END - -#endif // English (U.S.) resources -///////////////////////////////////////////////////////////////////////////// - - - -#ifndef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 3 resource. -// -#define _AFX_NO_SPLITTER_RESOURCES -#define _AFX_NO_OLE_RESOURCES -#define _AFX_NO_TRACKER_RESOURCES -#define _AFX_NO_PROPERTY_RESOURCES - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -LANGUAGE 9, 1 -#pragma code_page(1252) -#include "res\DIOOnePoint.rc2" // non-Microsoft Visual C++ edited resources -#include "afxres.rc" // Standard components -#endif - -///////////////////////////////////////////////////////////////////////////// -#endif // not APSTUDIO_INVOKED - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7443/DIOOnePoint/DIOOnePoint.sln b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7443/DIOOnePoint/DIOOnePoint.sln deleted file mode 100644 index e74beab..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7443/DIOOnePoint/DIOOnePoint.sln +++ /dev/null @@ -1,20 +0,0 @@ - -Microsoft Visual Studio Solution File, Format Version 10.00 -# Visual Studio 2008 -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "DIOOnePoint", "DIOOnePoint.vcproj", "{429688F2-9EFF-467F-9340-E61D372757B5}" -EndProject -Global - GlobalSection(SolutionConfigurationPlatforms) = preSolution - Debug|x64 = Debug|x64 - Release|x64 = Release|x64 - EndGlobalSection - GlobalSection(ProjectConfigurationPlatforms) = postSolution - {429688F2-9EFF-467F-9340-E61D372757B5}.Debug|x64.ActiveCfg = Debug|x64 - {429688F2-9EFF-467F-9340-E61D372757B5}.Debug|x64.Build.0 = Debug|x64 - {429688F2-9EFF-467F-9340-E61D372757B5}.Release|x64.ActiveCfg = Release|x64 - {429688F2-9EFF-467F-9340-E61D372757B5}.Release|x64.Build.0 = Release|x64 - EndGlobalSection - GlobalSection(SolutionProperties) = preSolution - HideSolutionNode = FALSE - EndGlobalSection -EndGlobal diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7443/DIOOnePoint/DIOOnePoint.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7443/DIOOnePoint/DIOOnePoint.suo deleted file mode 100644 index 12c032e..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7443/DIOOnePoint/DIOOnePoint.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7443/DIOOnePoint/DIOOnePoint.vcproj b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7443/DIOOnePoint/DIOOnePoint.vcproj deleted file mode 100644 index 6e7f398..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7443/DIOOnePoint/DIOOnePoint.vcproj +++ /dev/null @@ -1,298 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7443/DIOOnePoint/DIOOnePointDlg.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7443/DIOOnePoint/DIOOnePointDlg.cpp deleted file mode 100644 index 76dfe2a..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7443/DIOOnePoint/DIOOnePointDlg.cpp +++ /dev/null @@ -1,646 +0,0 @@ - -// DIOOnePointDlg.cpp : implementation file -// - -#include "stdafx.h" -#include "DIOOnePoint.h" -#include "DIOOnePointDlg.h" - -#ifdef _DEBUG -#define new DEBUG_NEW -#endif - - -// CAboutDlg dialog used for App About - -class CAboutDlg : public CDialog -{ -public: - CAboutDlg(); - -// Dialog Data - enum { IDD = IDD_ABOUTBOX }; - - protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - -// Implementation -protected: - DECLARE_MESSAGE_MAP() -}; - -CAboutDlg::CAboutDlg() : CDialog(CAboutDlg::IDD) -{ -} - -void CAboutDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); -} - -BEGIN_MESSAGE_MAP(CAboutDlg, CDialog) -END_MESSAGE_MAP() - - -// CDIOOnePointDlg dialog - - - - -CDIOOnePointDlg::CDIOOnePointDlg(I16 hCard, CWnd* pParent /*=NULL*/) - : CDialog(CDIOOnePointDlg::IDD, pParent) -{ - m_hIcon = AfxGetApp()->LoadIcon(IDR_MAINFRAME); - - m_hCard = hCard; - m_nTimer = -1; - - m_dwInData = 0x00000000; -} - -void CDIOOnePointDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); - DDX_Control(pDX, IDC_COMBO_DI_PORT, m_cbPortDI); - DDX_Control(pDX, IDC_ICON_DI00, m_Icon_DI00); - DDX_Control(pDX, IDC_ICON_DI01, m_Icon_DI01); - DDX_Control(pDX, IDC_ICON_DI02, m_Icon_DI02); - DDX_Control(pDX, IDC_ICON_DI03, m_Icon_DI03); - DDX_Control(pDX, IDC_ICON_DI04, m_Icon_DI04); - DDX_Control(pDX, IDC_ICON_DI05, m_Icon_DI05); - DDX_Control(pDX, IDC_ICON_DI06, m_Icon_DI06); - DDX_Control(pDX, IDC_ICON_DI07, m_Icon_DI07); - DDX_Control(pDX, IDC_ICON_DI08, m_Icon_DI08); - DDX_Control(pDX, IDC_ICON_DI09, m_Icon_DI09); - DDX_Control(pDX, IDC_ICON_DI10, m_Icon_DI10); - DDX_Control(pDX, IDC_ICON_DI11, m_Icon_DI11); - DDX_Control(pDX, IDC_ICON_DI12, m_Icon_DI12); - DDX_Control(pDX, IDC_ICON_DI13, m_Icon_DI13); - DDX_Control(pDX, IDC_ICON_DI14, m_Icon_DI14); - DDX_Control(pDX, IDC_ICON_DI15, m_Icon_DI15); - DDX_Control(pDX, IDC_ICON_DI16, m_Icon_DI16); - DDX_Control(pDX, IDC_ICON_DI17, m_Icon_DI17); - DDX_Control(pDX, IDC_ICON_DI18, m_Icon_DI18); - DDX_Control(pDX, IDC_ICON_DI19, m_Icon_DI19); - DDX_Control(pDX, IDC_ICON_DI20, m_Icon_DI20); - DDX_Control(pDX, IDC_ICON_DI21, m_Icon_DI21); - DDX_Control(pDX, IDC_ICON_DI22, m_Icon_DI22); - DDX_Control(pDX, IDC_ICON_DI23, m_Icon_DI23); - DDX_Control(pDX, IDC_ICON_DI24, m_Icon_DI24); - DDX_Control(pDX, IDC_ICON_DI25, m_Icon_DI25); - DDX_Control(pDX, IDC_ICON_DI26, m_Icon_DI26); - DDX_Control(pDX, IDC_ICON_DI27, m_Icon_DI27); - DDX_Control(pDX, IDC_ICON_DI28, m_Icon_DI28); - DDX_Control(pDX, IDC_ICON_DI29, m_Icon_DI29); - DDX_Control(pDX, IDC_ICON_DI30, m_Icon_DI30); - DDX_Control(pDX, IDC_ICON_DI31, m_Icon_DI31); -} - -BEGIN_MESSAGE_MAP(CDIOOnePointDlg, CDialog) - ON_WM_SYSCOMMAND() - ON_WM_PAINT() - ON_WM_QUERYDRAGICON() - //}}AFX_MSG_MAP - ON_WM_TIMER() - ON_WM_DESTROY() - ON_CBN_SELCHANGE(IDC_COMBO_DI_PORT, &CDIOOnePointDlg::OnDIPortSelchange) -END_MESSAGE_MAP() - - -// CDIOOnePointDlg message handlers - -BOOL CDIOOnePointDlg::OnInitDialog() -{ - CDialog::OnInitDialog(); - - // Add "About..." menu item to system menu. - - // IDM_ABOUTBOX must be in the system command range. - ASSERT((IDM_ABOUTBOX & 0xFFF0) == IDM_ABOUTBOX); - ASSERT(IDM_ABOUTBOX < 0xF000); - - CMenu* pSysMenu = GetSystemMenu(FALSE); - if (pSysMenu != NULL) - { - BOOL bNameValid; - CString strAboutMenu; - bNameValid = strAboutMenu.LoadString(IDS_ABOUTBOX); - ASSERT(bNameValid); - if (!strAboutMenu.IsEmpty()) - { - pSysMenu->AppendMenu(MF_SEPARATOR); - pSysMenu->AppendMenu(MF_STRING, IDM_ABOUTBOX, strAboutMenu); - } - } - - // Set the icon for this dialog. The framework does this automatically - // when the application's main window is not a dialog - SetIcon(m_hIcon, TRUE); // Set big icon - SetIcon(m_hIcon, FALSE); // Set small icon - - - // TODO: Add extra initialization here - m_wInPort = P7443_CH0; - m_cbPortDI.SetCurSel( 0 ); - - m_nTimer = SetTimer( 1, 200, NULL ); - return TRUE; // return TRUE unless you set the focus to a control -} - -void CDIOOnePointDlg::OnSysCommand(UINT nID, LPARAM lParam) -{ - if ((nID & 0xFFF0) == IDM_ABOUTBOX) - { - CAboutDlg dlgAbout; - dlgAbout.DoModal(); - } - else - { - CDialog::OnSysCommand(nID, lParam); - } -} - -// If you add a minimize button to your dialog, you will need the code below -// to draw the icon. For MFC applications using the document/view model, -// this is automatically done for you by the framework. - -void CDIOOnePointDlg::OnPaint() -{ - if (IsIconic()) - { - CPaintDC dc(this); // device context for painting - - SendMessage(WM_ICONERASEBKGND, reinterpret_cast(dc.GetSafeHdc()), 0); - - // Center icon in client rectangle - int cxIcon = GetSystemMetrics(SM_CXICON); - int cyIcon = GetSystemMetrics(SM_CYICON); - CRect rect; - GetClientRect(&rect); - int x = (rect.Width() - cxIcon + 1) / 2; - int y = (rect.Height() - cyIcon + 1) / 2; - - // Draw the icon - dc.DrawIcon(x, y, m_hIcon); - } - else - { - CDialog::OnPaint(); - } -} - -// The system calls this function to obtain the cursor to display while the user drags -// the minimized window. -HCURSOR CDIOOnePointDlg::OnQueryDragIcon() -{ - return static_cast(m_hIcon); -} - - -void CDIOOnePointDlg::OnDestroy() -{ - CDialog::OnDestroy(); - - // TODO: Add your message handler code here - if( m_nTimer != -1 ) - { - KillTimer( m_nTimer ); - m_nTimer = -1; - } -} - -void CDIOOnePointDlg::OnDIPortSelchange() -{ - // TODO: Add your control notification handler code here - int nIndex; - - nIndex = m_cbPortDI.GetCurSel(); - switch( nIndex ) - { - case 0: - m_wInPort = P7443_CH0; - break; - case 1: - m_wInPort = P7443_CH1; - break; - case 2: - m_wInPort = P7443_CH2; - break; - case 3: - m_wInPort = P7443_CH3; - break; - } - -} - -void CDIOOnePointDlg::OnTimer(UINT_PTR nIDEvent) -{ - // TODO: Add your message handler code here and/or call default - U32 dwPortData, dwChangeMask; - - DI_ReadPort(m_hCard, m_wInPort ,&dwPortData); - dwChangeMask = dwPortData ^ m_dwInData; - - if( dwChangeMask != 0x00 ) // Input had been changed - { - m_dwInData = dwPortData; // update the DI data - - if( (dwChangeMask & 0x01) == 0x01 ) // if the target bit is changed - { - if( (dwPortData & 0x01) == 0x01 ) - { - m_Icon_DI00.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_DI00.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - - if( (dwChangeMask & 0x02) == 0x02 ) // if the target bit is changed - { - if( (dwPortData & 0x02) == 0x02 ) - { - m_Icon_DI01.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_DI01.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - if( (dwChangeMask & 0x04) == 0x04 ) // if the target bit is changed - { - if( (dwPortData & 0x04) == 0x04 ) - { - m_Icon_DI02.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_DI02.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - - if( (dwChangeMask & 0x08) == 0x08 ) // if the target bit is changed - { - if( (dwPortData & 0x08) == 0x08 ) - { - m_Icon_DI03.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_DI03.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - if( (dwChangeMask & 0x10) == 0x10 ) // if the target bit is changed - { - if( (dwPortData & 0x10) == 0x10 ) - { - m_Icon_DI04.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_DI04.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - if( (dwChangeMask & 0x20) == 0x20 ) // if the target bit is changed - { - if( (dwPortData & 0x20) == 0x20 ) - { - m_Icon_DI05.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_DI05.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - - if( (dwChangeMask & 0x40) == 0x40 ) // if the target bit is changed - { - if( (dwPortData & 0x40) == 0x40 ) - { - m_Icon_DI06.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_DI06.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - - if( (dwChangeMask & 0x80) == 0x80 ) // if the target bit is changed - { - if( (dwPortData & 0x80) == 0x80 ) - { - m_Icon_DI07.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_DI07.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - - if( (dwChangeMask & 0x100) == 0x100 ) // if the target bit is changed - { - if( (dwPortData & 0x100) == 0x100 ) - { - m_Icon_DI08.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_DI08.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - if( (dwChangeMask & 0x200) == 0x200 ) // if the target bit is changed - { - if( (dwPortData & 0x200) == 0x200 ) - { - m_Icon_DI09.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_DI09.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - if( (dwChangeMask & 0x400) == 0x400 ) // if the target bit is changed - { - if( (dwPortData & 0x400) == 0x400 ) - { - m_Icon_DI10.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_DI10.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - if( (dwChangeMask & 0x800) == 0x800 ) // if the target bit is changed - { - if( (dwPortData & 0x800) == 0x800 ) - { - m_Icon_DI11.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_DI11.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - if( (dwChangeMask & 0x1000) == 0x1000 ) // if the target bit is changed - { - if( (dwPortData & 0x1000) == 0x1000 ) - { - m_Icon_DI12.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_DI12.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - if( (dwChangeMask & 0x2000) == 0x2000 ) // if the target bit is changed - { - if( (dwPortData & 0x2000) == 0x2000 ) - { - m_Icon_DI13.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_DI13.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - if( (dwChangeMask & 0x4000) == 0x4000 ) // if the target bit is changed - { - if( (dwPortData & 0x4000) == 0x4000 ) - { - m_Icon_DI14.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_DI14.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - if( (dwChangeMask & 0x8000) == 0x8000 ) // if the target bit is changed - { - if( (dwPortData & 0x8000) == 0x8000 ) - { - m_Icon_DI15.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_DI15.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - - if( (dwChangeMask & 0x10000) == 0x10000 ) // if the target bit is changed - { - if( (dwPortData & 0x10000) == 0x10000 ) - { - m_Icon_DI16.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_DI16.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - - if( (dwChangeMask & 0x20000) == 0x20000 ) // if the target bit is changed - { - if( (dwPortData & 0x20000) == 0x20000 ) - { - m_Icon_DI17.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_DI17.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - if( (dwChangeMask & 0x40000) == 0x40000 ) // if the target bit is changed - { - if( (dwPortData & 0x40000) == 0x40000 ) - { - m_Icon_DI18.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_DI18.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - - if( (dwChangeMask & 0x80000) == 0x80000 ) // if the target bit is changed - { - if( (dwPortData & 0x80000) == 0x80000 ) - { - m_Icon_DI19.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_DI19.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - if( (dwChangeMask & 0x100000) == 0x100000 ) // if the target bit is changed - { - if( (dwPortData & 0x100000) == 0x100000 ) - { - m_Icon_DI20.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_DI20.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - if( (dwChangeMask & 0x200000) == 0x200000 ) // if the target bit is changed - { - if( (dwPortData & 0x200000) == 0x200000 ) - { - m_Icon_DI21.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_DI21.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - - if( (dwChangeMask & 0x400000) == 0x400000 ) // if the target bit is changed - { - if( (dwPortData & 0x400000) == 0x400000 ) - { - m_Icon_DI22.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_DI22.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - - if( (dwChangeMask & 0x800000) == 0x800000 ) // if the target bit is changed - { - if( (dwPortData & 0x800000) == 0x800000 ) - { - m_Icon_DI23.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_DI23.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - - if( (dwChangeMask & 0x1000000) == 0x1000000 ) // if the target bit is changed - { - if( (dwPortData & 0x1000000) == 0x1000000 ) - { - m_Icon_DI24.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_DI24.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - if( (dwChangeMask & 0x2000000) == 0x2000000 ) // if the target bit is changed - { - if( (dwPortData & 0x2000000) == 0x2000000 ) - { - m_Icon_DI25.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_DI25.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - if( (dwChangeMask & 0x4000000) == 0x4000000 ) // if the target bit is changed - { - if( (dwPortData & 0x4000000) == 0x4000000 ) - { - m_Icon_DI26.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_DI26.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - if( (dwChangeMask & 0x8000000) == 0x8000000 ) // if the target bit is changed - { - if( (dwPortData & 0x8000000) == 0x8000000 ) - { - m_Icon_DI27.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_DI27.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - if( (dwChangeMask & 0x10000000) == 0x10000000 ) // if the target bit is changed - { - if( (dwPortData & 0x10000000) == 0x10000000 ) - { - m_Icon_DI28.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_DI28.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - if( (dwChangeMask & 0x20000000) == 0x20000000 ) // if the target bit is changed - { - if( (dwPortData & 0x20000000) == 0x20000000 ) - { - m_Icon_DI29.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_DI29.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - if( (dwChangeMask & 0x40000000) == 0x40000000 ) // if the target bit is changed - { - if( (dwPortData & 0x40000000) == 0x40000000 ) - { - m_Icon_DI30.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_DI30.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - if( (dwChangeMask & 0x80000000) == 0x80000000 ) // if the target bit is changed - { - if( (dwPortData & 0x80000000) == 0x80000000 ) - { - m_Icon_DI31.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_DI31.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - } - - CDialog::OnTimer(nIDEvent); -} \ No newline at end of file diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7443/DIOOnePoint/DIOOnePointDlg.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7443/DIOOnePoint/DIOOnePointDlg.h deleted file mode 100644 index a8a9841..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7443/DIOOnePoint/DIOOnePointDlg.h +++ /dev/null @@ -1,76 +0,0 @@ - -// DIOOnePointDlg.h : header file -// - -#include "Dask64.h" - -#pragma once -#include "afxwin.h" - - -// CDIOOnePointDlg dialog -class CDIOOnePointDlg : public CDialog -{ -// Construction -public: - CDIOOnePointDlg(I16 hCard, CWnd* pParent = NULL); // standard constructor - -// Dialog Data - enum { IDD = IDD_DIOONEPOINT_DIALOG }; - - protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - - -// Implementation -protected: - HICON m_hIcon; - UINT_PTR m_nTimer; - I16 m_hCard; - U16 m_wInPort; - U32 m_dwInData; - - // Generated message map functions - virtual BOOL OnInitDialog(); - afx_msg void OnSysCommand(UINT nID, LPARAM lParam); - afx_msg void OnPaint(); - afx_msg HCURSOR OnQueryDragIcon(); - DECLARE_MESSAGE_MAP() -public: - CComboBox m_cbPortDI; - CStatic m_Icon_DI00; - CStatic m_Icon_DI01; - CStatic m_Icon_DI02; - CStatic m_Icon_DI03; - CStatic m_Icon_DI04; - CStatic m_Icon_DI05; - CStatic m_Icon_DI06; - CStatic m_Icon_DI07; - CStatic m_Icon_DI08; - CStatic m_Icon_DI09; - CStatic m_Icon_DI10; - CStatic m_Icon_DI11; - CStatic m_Icon_DI12; - CStatic m_Icon_DI13; - CStatic m_Icon_DI14; - CStatic m_Icon_DI15; - CStatic m_Icon_DI16; - CStatic m_Icon_DI17; - CStatic m_Icon_DI18; - CStatic m_Icon_DI19; - CStatic m_Icon_DI20; - CStatic m_Icon_DI21; - CStatic m_Icon_DI22; - CStatic m_Icon_DI23; - CStatic m_Icon_DI24; - CStatic m_Icon_DI25; - CStatic m_Icon_DI26; - CStatic m_Icon_DI27; - CStatic m_Icon_DI28; - CStatic m_Icon_DI29; - CStatic m_Icon_DI30; - CStatic m_Icon_DI31; - afx_msg void OnTimer(UINT_PTR nIDEvent); - afx_msg void OnDestroy(); - afx_msg void OnDIPortSelchange(); -}; diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7443/DIOOnePoint/ReadMe.txt b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7443/DIOOnePoint/ReadMe.txt deleted file mode 100644 index c4176c0..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7443/DIOOnePoint/ReadMe.txt +++ /dev/null @@ -1,93 +0,0 @@ -================================================================================ - MICROSOFT FOUNDATION CLASS LIBRARY : DIOOnePoint Project Overview -=============================================================================== - -The application wizard has created this DIOOnePoint application for -you. This application not only demonstrates the basics of using the Microsoft -Foundation Classes but is also a starting point for writing your application. - -This file contains a summary of what you will find in each of the files that -make up your DIOOnePoint application. - -DIOOnePoint.vcproj - This is the main project file for VC++ projects generated using an application wizard. - It contains information about the version of Visual C++ that generated the file, and - information about the platforms, configurations, and project features selected with the - application wizard. - -DIOOnePoint.h - This is the main header file for the application. It includes other - project specific headers (including Resource.h) and declares the - CDIOOnePointApp application class. - -DIOOnePoint.cpp - This is the main application source file that contains the application - class CDIOOnePointApp. - -DIOOnePoint.rc - This is a listing of all of the Microsoft Windows resources that the - program uses. It includes the icons, bitmaps, and cursors that are stored - in the RES subdirectory. This file can be directly edited in Microsoft - Visual C++. Your project resources are in 1033. - -res\DIOOnePoint.ico - This is an icon file, which is used as the application's icon. This - icon is included by the main resource file DIOOnePoint.rc. - -res\DIOOnePoint.rc2 - This file contains resources that are not edited by Microsoft - Visual C++. You should place all resources not editable by - the resource editor in this file. - - -///////////////////////////////////////////////////////////////////////////// - -The application wizard creates one dialog class: - -DIOOnePointDlg.h, DIOOnePointDlg.cpp - the dialog - These files contain your CDIOOnePointDlg class. This class defines - the behavior of your application's main dialog. The dialog's template is - in DIOOnePoint.rc, which can be edited in Microsoft Visual C++. - - -///////////////////////////////////////////////////////////////////////////// - -Other Features: - -ActiveX Controls - The application includes support to use ActiveX controls. - -///////////////////////////////////////////////////////////////////////////// - -Other standard files: - -StdAfx.h, StdAfx.cpp - These files are used to build a precompiled header (PCH) file - named DIOOnePoint.pch and a precompiled types file named StdAfx.obj. - -Resource.h - This is the standard header file, which defines new resource IDs. - Microsoft Visual C++ reads and updates this file. - -DIOOnePoint.manifest - Application manifest files are used by Windows XP to describe an applications - dependency on specific versions of Side-by-Side assemblies. The loader uses this - information to load the appropriate assembly from the assembly cache or private - from the application. The Application manifest maybe included for redistribution - as an external .manifest file that is installed in the same folder as the application - executable or it may be included in the executable in the form of a resource. -///////////////////////////////////////////////////////////////////////////// - -Other notes: - -The application wizard uses "TODO:" to indicate parts of the source code you -should add to or customize. - -If your application uses MFC in a shared DLL, you will need -to redistribute the MFC DLLs. If your application is in a language -other than the operating system's locale, you will also have to -redistribute the corresponding localized resources MFC90XXX.DLL. -For more information on both of these topics, please see the section on -redistributing Visual C++ applications in MSDN documentation. - -///////////////////////////////////////////////////////////////////////////// diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7443/DIOOnePoint/res/DIOOnePoint.ico b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7443/DIOOnePoint/res/DIOOnePoint.ico deleted file mode 100644 index d56fbcd..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7443/DIOOnePoint/res/DIOOnePoint.ico and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7443/DIOOnePoint/res/DIOOnePoint.rc2 b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7443/DIOOnePoint/res/DIOOnePoint.rc2 deleted file mode 100644 index 902849b..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7443/DIOOnePoint/res/DIOOnePoint.rc2 +++ /dev/null @@ -1,13 +0,0 @@ -// -// DIOOnePoint.RC2 - resources Microsoft Visual C++ does not edit directly -// - -#ifdef APSTUDIO_INVOKED -#error this file is not editable by Microsoft Visual C++ -#endif //APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// Add manually edited resources here... - -///////////////////////////////////////////////////////////////////////////// diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7443/DIOOnePoint/res/black.ico b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7443/DIOOnePoint/res/black.ico deleted file mode 100644 index b5c375f..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7443/DIOOnePoint/res/black.ico and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7443/DIOOnePoint/res/green.ico b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7443/DIOOnePoint/res/green.ico deleted file mode 100644 index d9a9fd3..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7443/DIOOnePoint/res/green.ico and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7443/DIOOnePoint/res/red.ico b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7443/DIOOnePoint/res/red.ico deleted file mode 100644 index 7644596..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7443/DIOOnePoint/res/red.ico and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7443/DIOOnePoint/resource.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7443/DIOOnePoint/resource.h deleted file mode 100644 index 6adc7c0..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7443/DIOOnePoint/resource.h +++ /dev/null @@ -1,61 +0,0 @@ -//{{NO_DEPENDENCIES}} -// Microsoft Visual C++ generated include file. -// Used by DIOOnePoint.rc -// -#define IDM_ABOUTBOX 0x0010 -#define IDD_ABOUTBOX 100 -#define IDS_ABOUTBOX 101 -#define IDD_DIOONEPOINT_DIALOG 102 -#define IDR_HTML_CARDIDDLG 103 -#define IDR_MAINFRAME 128 -#define IDI_ICON_BLACK 129 -#define IDI_ICON_GREEN 130 -#define IDI_ICON_RED 131 -#define IDD_CARDID_DIALOG 133 -#define IDC_COMBO_DI_PORT 1000 -#define IDC_COMBO_CARDID 1000 -#define IDC_ICON_DI00 1005 -#define IDC_ICON_DI01 1006 -#define IDC_ICON_DI02 1007 -#define IDC_ICON_DI03 1008 -#define IDC_ICON_DI04 1009 -#define IDC_ICON_DI05 1010 -#define IDC_ICON_DI06 1011 -#define IDC_ICON_DI07 1012 -#define IDC_ICON_DI08 1013 -#define IDC_ICON_DI09 1014 -#define IDC_STATIC_01 1014 -#define IDC_ICON_DI10 1015 -#define IDC_ICON_DI11 1016 -#define IDC_ICON_DI12 1017 -#define IDC_ICON_DI13 1018 -#define IDC_ICON_DI14 1019 -#define IDC_ICON_DI15 1020 -#define IDC_ICON_DI16 1021 -#define IDC_ICON_DI17 1022 -#define IDC_ICON_DI18 1023 -#define IDC_ICON_DI19 1024 -#define IDC_ICON_DI20 1025 -#define IDC_ICON_DI21 1026 -#define IDC_ICON_DI22 1027 -#define IDC_ICON_DI23 1028 -#define IDC_ICON_D24 1029 -#define IDC_ICON_DI24 1029 -#define IDC_ICON_DI25 1030 -#define IDC_ICON_DI26 1031 -#define IDC_ICON_DI27 1032 -#define IDC_ICON_DI28 1033 -#define IDC_ICON_DI29 1034 -#define IDC_ICON_DI30 1035 -#define IDC_ICON_DI31 1036 - -// Next default values for new objects -// -#ifdef APSTUDIO_INVOKED -#ifndef APSTUDIO_READONLY_SYMBOLS -#define _APS_NEXT_RESOURCE_VALUE 135 -#define _APS_NEXT_COMMAND_VALUE 32771 -#define _APS_NEXT_CONTROL_VALUE 1001 -#define _APS_NEXT_SYMED_VALUE 104 -#endif -#endif diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7443/DIOOnePoint/stdafx.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7443/DIOOnePoint/stdafx.cpp deleted file mode 100644 index f60204d..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7443/DIOOnePoint/stdafx.cpp +++ /dev/null @@ -1,8 +0,0 @@ - -// stdafx.cpp : source file that includes just the standard includes -// DIOOnePoint.pch will be the pre-compiled header -// stdafx.obj will contain the pre-compiled type information - -#include "stdafx.h" - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7443/DIOOnePoint/stdafx.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7443/DIOOnePoint/stdafx.h deleted file mode 100644 index 12123e2..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7443/DIOOnePoint/stdafx.h +++ /dev/null @@ -1,60 +0,0 @@ - -// stdafx.h : include file for standard system include files, -// or project specific include files that are used frequently, -// but are changed infrequently - -#pragma once - -#ifndef _SECURE_ATL -#define _SECURE_ATL 1 -#endif - -#ifndef VC_EXTRALEAN -#define VC_EXTRALEAN // Exclude rarely-used stuff from Windows headers -#endif - -#include "targetver.h" - -#define _ATL_CSTRING_EXPLICIT_CONSTRUCTORS // some CString constructors will be explicit - -// turns off MFC's hiding of some common and often safely ignored warning messages -#define _AFX_ALL_WARNINGS - -#include // MFC core and standard components -#include // MFC extensions - - -#include // MFC Automation classes - - - -#ifndef _AFX_NO_OLE_SUPPORT -#include // MFC support for Internet Explorer 4 Common Controls -#endif -#ifndef _AFX_NO_AFXCMN_SUPPORT -#include // MFC support for Windows Common Controls -#endif // _AFX_NO_AFXCMN_SUPPORT - -#include // MFC support for ribbons and control bars - - - - - - - - - -#ifdef _UNICODE -#if defined _M_IX86 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='x86' publicKeyToken='6595b64144ccf1df' language='*'\"") -#elif defined _M_IA64 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='ia64' publicKeyToken='6595b64144ccf1df' language='*'\"") -#elif defined _M_X64 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='amd64' publicKeyToken='6595b64144ccf1df' language='*'\"") -#else -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='*' publicKeyToken='6595b64144ccf1df' language='*'\"") -#endif -#endif - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7443/DIOOnePoint/targetver.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7443/DIOOnePoint/targetver.h deleted file mode 100644 index 11730d5..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7443/DIOOnePoint/targetver.h +++ /dev/null @@ -1,26 +0,0 @@ - -#pragma once - -// The following macros define the minimum required platform. The minimum required platform -// is the earliest version of Windows, Internet Explorer etc. that has the necessary features to run -// your application. The macros work by enabling all features available on platform versions up to and -// including the version specified. - -// Modify the following defines if you have to target a platform prior to the ones specified below. -// Refer to MSDN for the latest info on corresponding values for different platforms. -#ifndef WINVER // Specifies that the minimum required platform is Windows Vista. -#define WINVER 0x0600 // Change this to the appropriate value to target other versions of Windows. -#endif - -#ifndef _WIN32_WINNT // Specifies that the minimum required platform is Windows Vista. -#define _WIN32_WINNT 0x0600 // Change this to the appropriate value to target other versions of Windows. -#endif - -#ifndef _WIN32_WINDOWS // Specifies that the minimum required platform is Windows 98. -#define _WIN32_WINDOWS 0x0410 // Change this to the appropriate value to target Windows Me or later. -#endif - -#ifndef _WIN32_IE // Specifies that the minimum required platform is Internet Explorer 7.0. -#define _WIN32_IE 0x0700 // Change this to the appropriate value to target other versions of IE. -#endif - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7443/SDK7443MultiEvt/7443Int.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7443/SDK7443MultiEvt/7443Int.cpp deleted file mode 100644 index 5d6917d..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7443/SDK7443MultiEvt/7443Int.cpp +++ /dev/null @@ -1,110 +0,0 @@ - -// 7443Int.cpp : Defines the class behaviors for the application. -// - -#include "stdafx.h" -#include "7443Int.h" -#include "7443IntDlg.h" -#include "CardIDDlg.h" - -#ifdef _DEBUG -#define new DEBUG_NEW -#endif - - -// C7443IntApp - -BEGIN_MESSAGE_MAP(C7443IntApp, CWinAppEx) - ON_COMMAND(ID_HELP, &CWinApp::OnHelp) -END_MESSAGE_MAP() - - -// C7443IntApp construction - -C7443IntApp::C7443IntApp() -{ - // TODO: add construction code here, - // Place all significant initialization in InitInstance -} - - -// The one and only C7443IntApp object - -C7443IntApp theApp; - - -// C7443IntApp initialization - -BOOL C7443IntApp::InitInstance() -{ - int nCardID = 0; - I16 hCard; - CString strTemp; - INT_PTR nResponse; - - // InitCommonControlsEx() is required on Windows XP if an application - // manifest specifies use of ComCtl32.dll version 6 or later to enable - // visual styles. Otherwise, any window creation will fail. - INITCOMMONCONTROLSEX InitCtrls; - InitCtrls.dwSize = sizeof(InitCtrls); - // Set this to include all the common control classes you want to use - // in your application. - InitCtrls.dwICC = ICC_WIN95_CLASSES; - InitCommonControlsEx(&InitCtrls); - - CWinAppEx::InitInstance(); - - AfxEnableControlContainer(); - - // Standard initialization - // If you are not using these features and wish to reduce the size - // of your final executable, you should remove from the following - // the specific initialization routines you do not need - // Change the registry key under which our settings are stored - // TODO: You should modify this string to be something appropriate - // such as the name of your company or organization - SetRegistryKey(_T("Local AppWizard-Generated Applications")); - - - CCardIDDlg CardDlg( nCardID ); - - nResponse = CardDlg.DoModal(); - if (nResponse == IDOK) - { - nCardID = CardDlg.GetCardID(); - - if ((hCard=Register_Card(PCI_7443, nCardID)) < 0) - { - strTemp.Format( TEXT("Register_Card Error = %d"), hCard); - AfxMessageBox( strTemp ); - } - else - { - C7443IntDlg dlg(hCard); - m_pMainWnd = &dlg; - nResponse = dlg.DoModal(); - if (nResponse == IDOK) - { - // TODO: Place code here to handle when the dialog is - // dismissed with OK - } - else if (nResponse == IDCANCEL) - { - // TODO: Place code here to handle when the dialog is - // dismissed with Cancel - } - - if (hCard >= 0) Release_Card(hCard); - } - - } - else if (nResponse == IDCANCEL) - { - // TODO: Place code here to handle when the dialog is - // dismissed with Cancel - } - - // Since the dialog has been closed, return FALSE so that we exit the - // application, rather than start the application's message pump. - return FALSE; -} diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7443/SDK7443MultiEvt/7443Int.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7443/SDK7443MultiEvt/7443Int.h deleted file mode 100644 index aa41e40..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7443/SDK7443MultiEvt/7443Int.h +++ /dev/null @@ -1,32 +0,0 @@ - -// 7443Int.h : main header file for the PROJECT_NAME application -// - -#pragma once - -#ifndef __AFXWIN_H__ - #error "include 'stdafx.h' before including this file for PCH" -#endif - -#include "resource.h" // main symbols - - -// C7443IntApp: -// See 7443Int.cpp for the implementation of this class -// - -class C7443IntApp : public CWinAppEx -{ -public: - C7443IntApp(); - -// Overrides - public: - virtual BOOL InitInstance(); - -// Implementation - - DECLARE_MESSAGE_MAP() -}; - -extern C7443IntApp theApp; \ No newline at end of file diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7443/SDK7443MultiEvt/7443Int.rc b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7443/SDK7443MultiEvt/7443Int.rc deleted file mode 100644 index 3459ae7..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7443/SDK7443MultiEvt/7443Int.rc +++ /dev/null @@ -1,279 +0,0 @@ -// Microsoft Visual C++ generated resource script. -// -#include "resource.h" - -#define APSTUDIO_READONLY_SYMBOLS -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 2 resource. -// -#ifndef APSTUDIO_INVOKED -#include "targetver.h" -#endif -#include "afxres.h" - -///////////////////////////////////////////////////////////////////////////// -#undef APSTUDIO_READONLY_SYMBOLS - -///////////////////////////////////////////////////////////////////////////// -// Chinese (Taiwan) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_CHT) -#ifdef _WIN32 -LANGUAGE LANG_CHINESE, SUBLANG_CHINESE_TRADITIONAL -#pragma code_page(950) -#endif //_WIN32 - -#ifdef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// TEXTINCLUDE -// - -1 TEXTINCLUDE -BEGIN - "resource.h\0" -END - -2 TEXTINCLUDE -BEGIN - "#ifndef APSTUDIO_INVOKED\r\n" - "#include ""targetver.h""\r\n" - "#endif\r\n" - "#include ""afxres.h""\r\n" - "\0" -END - -3 TEXTINCLUDE -BEGIN - "#define _AFX_NO_SPLITTER_RESOURCES\r\n" - "#define _AFX_NO_OLE_RESOURCES\r\n" - "#define _AFX_NO_TRACKER_RESOURCES\r\n" - "#define _AFX_NO_PROPERTY_RESOURCES\r\n" - "\r\n" - "#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)\r\n" - "LANGUAGE 9, 1\r\n" - "#pragma code_page(1252)\r\n" - "#include ""res\\My7443Int.rc2"" // non-Microsoft Visual C++ edited resources\r\n" - "#include ""afxres.rc"" // Standard components\r\n" - "#endif\r\n" - "\0" -END - -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// Icon -// - -// Icon with lowest ID value placed first to ensure application icon -// remains consistent on all systems. -IDR_MAINFRAME ICON "res\\7443Int.ico" -#endif // Chinese (Taiwan) resources -///////////////////////////////////////////////////////////////////////////// - - -///////////////////////////////////////////////////////////////////////////// -// English (U.S.) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -#ifdef _WIN32 -LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US -#pragma code_page(1252) -#endif //_WIN32 - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog -// - -IDD_ABOUTBOX DIALOGEX 0, 0, 170, 62 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "About 7443Int" -FONT 8, "MS Shell Dlg", 0, 0, 0x1 -BEGIN - ICON IDR_MAINFRAME,IDC_STATIC,14,14,21,20 - LTEXT "7443Int, Version 1.0",IDC_STATIC,42,14,114,8,SS_NOPREFIX - LTEXT "Copyright (C) 2010",IDC_STATIC,42,26,114,8 - DEFPUSHBUTTON "OK",IDOK,113,41,50,14,WS_GROUP -END - -IDD_MY7443INT_DIALOG DIALOGEX 0, 0, 213, 124 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU -EXSTYLE WS_EX_APPWINDOW -CAPTION "PCI-7443 COS Interrupt Sample " -FONT 8, "MS Shell Dlg", 0, 0, 0x1 -BEGIN - LTEXT "This program waits COS of Channel 0/1/2/3.\nCount number will add one while COS occurs.",IDC_STATIC,32,17,158,23 - LTEXT "COS0 Count =",IDC_STATIC_COS_COUNT,54,48,85,13 - LTEXT "COS1 Count =",IDC_STATIC_COS1_COUNT,54,66,85,13 - LTEXT "COS2 Count =",IDC_STATIC_COS2_COUNT,54,84,85,13 - LTEXT "COS3 Count =",IDC_STATIC_COS3_COUNT,54,102,85,13 -END - -IDD_CARDID_DIALOG DIALOGEX 0, 0, 188, 101 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "Card ID" -FONT 8, "MS Shell Dlg", 400, 0, 0x1 -BEGIN - COMBOBOX IDC_COMBO_CARDID,83,24,71,126,CBS_DROPDOWN | WS_VSCROLL | WS_TABSTOP - LTEXT "Card Number",IDC_STATIC_01,29,25,46,12 - PUSHBUTTON "OK",IDOK,30,57,58,19 - PUSHBUTTON "CANCEL",IDCANCEL,94,57,58,19 -END - - -///////////////////////////////////////////////////////////////////////////// -// -// Version -// - -VS_VERSION_INFO VERSIONINFO - FILEVERSION 1,0,0,1 - PRODUCTVERSION 1,0,0,1 - FILEFLAGSMASK 0x3fL -#ifdef _DEBUG - FILEFLAGS 0x1L -#else - FILEFLAGS 0x0L -#endif - FILEOS 0x4L - FILETYPE 0x1L - FILESUBTYPE 0x0L -BEGIN - BLOCK "StringFileInfo" - BEGIN - BLOCK "040904e4" - BEGIN - VALUE "CompanyName", "TODO: " - VALUE "FileDescription", "TODO: " - VALUE "FileVersion", "1.0.0.1" - VALUE "InternalName", "7443Int.exe" - VALUE "LegalCopyright", "TODO: (c) . All rights reserved." - VALUE "OriginalFilename", "7443Int.exe" - VALUE "ProductName", "TODO: " - VALUE "ProductVersion", "1.0.0.1" - END - END - BLOCK "VarFileInfo" - BEGIN - VALUE "Translation", 0x409, 1252 - END -END - - -///////////////////////////////////////////////////////////////////////////// -// -// DESIGNINFO -// - -#ifdef APSTUDIO_INVOKED -GUIDELINES DESIGNINFO -BEGIN - IDD_ABOUTBOX, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 163 - TOPMARGIN, 7 - BOTTOMMARGIN, 55 - END - - IDD_MY7443INT_DIALOG, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 206 - TOPMARGIN, 7 - BOTTOMMARGIN, 117 - END - - IDD_CARDID_DIALOG, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 181 - TOPMARGIN, 7 - BOTTOMMARGIN, 94 - END -END -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog Info -// - -IDD_CARDID_DIALOG DLGINIT -BEGIN - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0030, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0031, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0032, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0033, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0034, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0035, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0036, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0037, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0038, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0039, - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3031, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3131, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3231, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3331, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3431, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3531, "\000" - 0 -END - - -///////////////////////////////////////////////////////////////////////////// -// -// String Table -// - -STRINGTABLE -BEGIN - IDS_ABOUTBOX "&About 7443Int..." -END - -#endif // English (U.S.) resources -///////////////////////////////////////////////////////////////////////////// - - - -#ifndef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 3 resource. -// -#define _AFX_NO_SPLITTER_RESOURCES -#define _AFX_NO_OLE_RESOURCES -#define _AFX_NO_TRACKER_RESOURCES -#define _AFX_NO_PROPERTY_RESOURCES - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -LANGUAGE 9, 1 -#pragma code_page(1252) -#include "res\My7443Int.rc2" // non-Microsoft Visual C++ edited resources -#include "afxres.rc" // Standard components -#endif - -///////////////////////////////////////////////////////////////////////////// -#endif // not APSTUDIO_INVOKED - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7443/SDK7443MultiEvt/7443Int.sln b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7443/SDK7443MultiEvt/7443Int.sln deleted file mode 100644 index c0d36d6..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7443/SDK7443MultiEvt/7443Int.sln +++ /dev/null @@ -1,20 +0,0 @@ - -Microsoft Visual Studio Solution File, Format Version 10.00 -# Visual Studio 2008 -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "7443Int", "7443Int.vcproj", "{8C3F9B45-CEAB-40AB-9259-C32903B83419}" -EndProject -Global - GlobalSection(SolutionConfigurationPlatforms) = preSolution - Debug|x64 = Debug|x64 - Release|x64 = Release|x64 - EndGlobalSection - GlobalSection(ProjectConfigurationPlatforms) = postSolution - {8C3F9B45-CEAB-40AB-9259-C32903B83419}.Debug|x64.ActiveCfg = Debug|x64 - {8C3F9B45-CEAB-40AB-9259-C32903B83419}.Debug|x64.Build.0 = Debug|x64 - {8C3F9B45-CEAB-40AB-9259-C32903B83419}.Release|x64.ActiveCfg = Release|x64 - {8C3F9B45-CEAB-40AB-9259-C32903B83419}.Release|x64.Build.0 = Release|x64 - EndGlobalSection - GlobalSection(SolutionProperties) = preSolution - HideSolutionNode = FALSE - EndGlobalSection -EndGlobal diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7443/SDK7443MultiEvt/7443Int.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7443/SDK7443MultiEvt/7443Int.suo deleted file mode 100644 index 58b504a..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7443/SDK7443MultiEvt/7443Int.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7443/SDK7443MultiEvt/7443Int.vcproj b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7443/SDK7443MultiEvt/7443Int.vcproj deleted file mode 100644 index 492fae7..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7443/SDK7443MultiEvt/7443Int.vcproj +++ /dev/null @@ -1,286 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7443/SDK7443MultiEvt/7443IntDlg.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7443/SDK7443MultiEvt/7443IntDlg.cpp deleted file mode 100644 index 971373b..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7443/SDK7443MultiEvt/7443IntDlg.cpp +++ /dev/null @@ -1,349 +0,0 @@ - -// 7443IntDlg.cpp : implementation file -// - -#include "stdafx.h" -#include "7443Int.h" -#include "7443IntDlg.h" - -int gCOS0Count, gCOS1Count, gCOS2Count, gCOS3Count; -HANDLE ghIntEvent[4]; -BOOLEAN gbExitThread0, gbExitThread1, gbExitThread2, gbExitThread3; - -#ifdef _DEBUG -#define new DEBUG_NEW -#endif - - -DWORD WINAPI IntThread0( LPVOID lpParam ) -{ - while (gbExitThread0 == FALSE) - { - if (WaitForSingleObject(ghIntEvent[0], INFINITE) == WAIT_OBJECT_0) - { - gCOS0Count++; - ResetEvent(ghIntEvent[0]); - } - } - - return (DWORD) 0; -} - -DWORD WINAPI IntThread1( LPVOID lpParam ) -{ - while (gbExitThread1 == FALSE) - { - if (WaitForSingleObject(ghIntEvent[1], INFINITE) == WAIT_OBJECT_0) - { - gCOS1Count++; - ResetEvent(ghIntEvent[1]); - } - } - - return (DWORD) 0; -} - -DWORD WINAPI IntThread2( LPVOID lpParam ) -{ - while (gbExitThread2 == FALSE) - { - if (WaitForSingleObject(ghIntEvent[2], INFINITE) == WAIT_OBJECT_0) - { - gCOS2Count++; - // ResetEvent(ghIntEvent[2]); - } - } - - return (DWORD) 0; -} - -DWORD WINAPI IntThread3( LPVOID lpParam ) -{ - while (gbExitThread3 == FALSE) - { - if (WaitForSingleObject(ghIntEvent[3], INFINITE) == WAIT_OBJECT_0) - { - gCOS3Count++; - // ResetEvent(ghIntEvent[3]); - } - } - - return (DWORD) 0; -} - - -// CAboutDlg dialog used for App About - -class CAboutDlg : public CDialog -{ -public: - CAboutDlg(); - -// Dialog Data - enum { IDD = IDD_ABOUTBOX }; - - protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - -// Implementation -protected: - DECLARE_MESSAGE_MAP() -}; - -CAboutDlg::CAboutDlg() : CDialog(CAboutDlg::IDD) -{ -} - -void CAboutDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); -} - -BEGIN_MESSAGE_MAP(CAboutDlg, CDialog) -END_MESSAGE_MAP() - - -// C7443IntDlg dialog - - - - -C7443IntDlg::C7443IntDlg(I16 hCard, CWnd* pParent /*=NULL*/) - : CDialog(C7443IntDlg::IDD, pParent) -{ - m_hIcon = AfxGetApp()->LoadIcon(IDR_MAINFRAME); - - m_hCard = hCard; - m_hThread0 = m_hThread1 = m_hThread2 = m_hThread3 = NULL; - m_nTimer = -1; -} - -void C7443IntDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); -} - -BEGIN_MESSAGE_MAP(C7443IntDlg, CDialog) - ON_WM_SYSCOMMAND() - ON_WM_PAINT() - ON_WM_QUERYDRAGICON() - //}}AFX_MSG_MAP - ON_WM_DESTROY() - ON_WM_TIMER() -END_MESSAGE_MAP() - - -// C7443IntDlg message handlers - -BOOL C7443IntDlg::OnInitDialog() -{ - CDialog::OnInitDialog(); - - // Add "About..." menu item to system menu. - - // IDM_ABOUTBOX must be in the system command range. - ASSERT((IDM_ABOUTBOX & 0xFFF0) == IDM_ABOUTBOX); - ASSERT(IDM_ABOUTBOX < 0xF000); - - CMenu* pSysMenu = GetSystemMenu(FALSE); - if (pSysMenu != NULL) - { - BOOL bNameValid; - CString strAboutMenu; - bNameValid = strAboutMenu.LoadString(IDS_ABOUTBOX); - ASSERT(bNameValid); - if (!strAboutMenu.IsEmpty()) - { - pSysMenu->AppendMenu(MF_SEPARATOR); - pSysMenu->AppendMenu(MF_STRING, IDM_ABOUTBOX, strAboutMenu); - } - } - - // Set the icon for this dialog. The framework does this automatically - // when the application's main window is not a dialog - SetIcon(m_hIcon, TRUE); // Set big icon - SetIcon(m_hIcon, FALSE); // Set small icon - - // TODO: Add extra initialization here - gCOS0Count = gCOS1Count = gCOS2Count = gCOS3Count = 0; - - DIO_SetCOSInterrupt32(m_hCard, P7443_CH0, 0x0001, (HANDLE *) &ghIntEvent[0], 1); - DIO_SetCOSInterrupt32(m_hCard, P7443_CH1, 0x0001, (HANDLE *) &ghIntEvent[1], 1); - DIO_SetCOSInterrupt32(m_hCard, P7443_CH2, 0x0001, (HANDLE *) &ghIntEvent[2], 0); - DIO_SetCOSInterrupt32(m_hCard, P7443_CH3, 0x0001, (HANDLE *) &ghIntEvent[3], 0); - - - gbExitThread0 = FALSE; - m_hThread0 = CreateThread( NULL, // default security attributes - 0, // use default stack size - IntThread0, // thread function name - NULL, // argument to thread function - 0, // use default creation flags - NULL); // returns the thread identifier - - gbExitThread1 = FALSE; - m_hThread1 = CreateThread( NULL, // default security attributes - 0, // use default stack size - IntThread1, // thread function name - NULL, // argument to thread function - 0, // use default creation flags - NULL); // returns the thread identifier - - gbExitThread2 = FALSE; - m_hThread2 = CreateThread( NULL, // default security attributes - 0, // use default stack size - IntThread2, // thread function name - NULL, // argument to thread function - 0, // use default creation flags - NULL); // returns the thread identifier - - gbExitThread3 = FALSE; - m_hThread3 = CreateThread( NULL, // default security attributes - 0, // use default stack size - IntThread3, // thread function name - NULL, // argument to thread function - 0, // use default creation flags - NULL); // returns the thread identifier - - m_nTimer = SetTimer( 1, 250, NULL ); - return TRUE; // return TRUE unless you set the focus to a control -} - -void C7443IntDlg::OnSysCommand(UINT nID, LPARAM lParam) -{ - if ((nID & 0xFFF0) == IDM_ABOUTBOX) - { - CAboutDlg dlgAbout; - dlgAbout.DoModal(); - } - else - { - CDialog::OnSysCommand(nID, lParam); - } -} - -// If you add a minimize button to your dialog, you will need the code below -// to draw the icon. For MFC applications using the document/view model, -// this is automatically done for you by the framework. - -void C7443IntDlg::OnPaint() -{ - if (IsIconic()) - { - CPaintDC dc(this); // device context for painting - - SendMessage(WM_ICONERASEBKGND, reinterpret_cast(dc.GetSafeHdc()), 0); - - // Center icon in client rectangle - int cxIcon = GetSystemMetrics(SM_CXICON); - int cyIcon = GetSystemMetrics(SM_CYICON); - CRect rect; - GetClientRect(&rect); - int x = (rect.Width() - cxIcon + 1) / 2; - int y = (rect.Height() - cyIcon + 1) / 2; - - // Draw the icon - dc.DrawIcon(x, y, m_hIcon); - } - else - { - CDialog::OnPaint(); - } -} - -// The system calls this function to obtain the cursor to display while the user drags -// the minimized window. -HCURSOR C7443IntDlg::OnQueryDragIcon() -{ - return static_cast(m_hIcon); -} - - -void C7443IntDlg::OnDestroy() -{ - CDialog::OnDestroy(); - - if( m_nTimer != -1 ) - { - KillTimer( m_nTimer ); - m_nTimer = -1; - } - - - if( m_hThread0 != NULL ) - { - gbExitThread0 = TRUE; // termnate the IntThread - SetEvent( ghIntEvent[0] ); - - if (WaitForSingleObject(m_hThread0, 5000) == WAIT_OBJECT_0) - { - CloseHandle( m_hThread0 ); - m_hThread0 = NULL; - } - } - - - if( m_hThread1 != NULL ) - { - gbExitThread1 = TRUE; // termnate the IntThread - SetEvent( ghIntEvent[1] ); - - if (WaitForSingleObject(m_hThread1, 5000) == WAIT_OBJECT_0) - { - CloseHandle( m_hThread1 ); - m_hThread1 = NULL; - } - } - - if( m_hThread2 != NULL ) - { - gbExitThread2 = TRUE; // termnate the IntThread - SetEvent( ghIntEvent[2] ); - - if (WaitForSingleObject(m_hThread2, 5000) == WAIT_OBJECT_0) - { - CloseHandle( m_hThread2 ); - m_hThread2 = NULL; - } - } - - if( m_hThread3 != NULL ) - { - gbExitThread3 = TRUE; // termnate the IntThread - SetEvent( ghIntEvent[3] ); - - if (WaitForSingleObject(m_hThread3, 5000) == WAIT_OBJECT_0) - { - CloseHandle( m_hThread3 ); - m_hThread3 = NULL; - } - } - - // TODO: Add your message handler code here - DIO_SetCOSInterrupt32(m_hCard, P7443_CH0, 0, NULL, 0); - DIO_SetCOSInterrupt32(m_hCard, P7443_CH1, 0, NULL, 0); - DIO_SetCOSInterrupt32(m_hCard, P7443_CH2, 0, NULL, 0); - DIO_SetCOSInterrupt32(m_hCard, P7443_CH3, 0, NULL, 0); - -} - -void C7443IntDlg::OnTimer(UINT_PTR nIDEvent) -{ - // TODO: Add your message handler code here and/or call default - CString strTemp; - - strTemp.Format( TEXT("COS0 Count = %d"), gCOS0Count ); - SetDlgItemText( IDC_STATIC_COS_COUNT, strTemp ); - - strTemp.Format( TEXT("COS1 Count = %d"), gCOS1Count ); - SetDlgItemText( IDC_STATIC_COS1_COUNT, strTemp ); - - strTemp.Format( TEXT("COS2 Count = %d"), gCOS2Count ); - SetDlgItemText( IDC_STATIC_COS2_COUNT, strTemp ); - - strTemp.Format( TEXT("COS3 Count = %d"), gCOS3Count ); - SetDlgItemText( IDC_STATIC_COS3_COUNT, strTemp ); - - - CDialog::OnTimer(nIDEvent); -} diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7443/SDK7443MultiEvt/7443IntDlg.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7443/SDK7443MultiEvt/7443IntDlg.h deleted file mode 100644 index e80c8d0..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7443/SDK7443MultiEvt/7443IntDlg.h +++ /dev/null @@ -1,42 +0,0 @@ - -// 7443IntDlg.h : header file -// - -#include "Dask64.h" - -#pragma once - - -// C7443IntDlg dialog -class C7443IntDlg : public CDialog -{ -// Construction -public: - C7443IntDlg(I16 hCard, CWnd* pParent = NULL); // standard constructor - -// Dialog Data - enum { IDD = IDD_MY7443INT_DIALOG }; - - protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - -// Implementation -protected: - HICON m_hIcon; - I16 m_hCard; - UINT_PTR m_nTimer; - HANDLE m_hThread0; - HANDLE m_hThread1; - HANDLE m_hThread2; - HANDLE m_hThread3; - - // Generated message map functions - virtual BOOL OnInitDialog(); - afx_msg void OnSysCommand(UINT nID, LPARAM lParam); - afx_msg void OnPaint(); - afx_msg HCURSOR OnQueryDragIcon(); - DECLARE_MESSAGE_MAP() -public: - afx_msg void OnDestroy(); - afx_msg void OnTimer(UINT_PTR nIDEvent); -}; diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7443/SDK7443MultiEvt/CardIDDlg.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7443/SDK7443MultiEvt/CardIDDlg.cpp deleted file mode 100644 index 1f521ff..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7443/SDK7443MultiEvt/CardIDDlg.cpp +++ /dev/null @@ -1,67 +0,0 @@ -// CardIDDlg.cpp : implementation file -// - -#include "stdafx.h" -#include "7443Int.h" -#include "CardIDDlg.h" - - -// CCardIDDlg dialog - -IMPLEMENT_DYNAMIC(CCardIDDlg, CDialog) - -CCardIDDlg::CCardIDDlg(int nCardIdx, CWnd* pParent /*=NULL*/) - : CDialog(CCardIDDlg::IDD, pParent) -{ - m_nCardIdx = nCardIdx; -} - -CCardIDDlg::~CCardIDDlg() -{ -} - -void CCardIDDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); - DDX_Control(pDX, IDC_COMBO_CARDID, m_cbCardID); -} - - -BEGIN_MESSAGE_MAP(CCardIDDlg, CDialog) -// ON_CBN_SELCHANGE(IDC_COMBO_CARDID, &CCardIDDlg::OnCbnSelchangeComboCardid) -ON_BN_CLICKED(IDOK, &CCardIDDlg::OnBnClickedOk) -//ON_WM_CTLCOLOR() -END_MESSAGE_MAP() - - -// CCardIDDlg message handlers - - -void CCardIDDlg::OnBnClickedOk() -{ - // TODO: Add your control notification handler code here - -// UpdateData(TRUE); - m_nCardIdx = m_cbCardID.GetCurSel(); - - OnOK(); -} - -BOOL CCardIDDlg::OnInitDialog() -{ - CDialog::OnInitDialog(); - - // TODO: Add extra initialization here - m_cbCardID.SetCurSel( m_nCardIdx ); - - return TRUE; // return TRUE unless you set the focus to a control - // EXCEPTION: OCX Property Pages should return FALSE -} - -// the function to get the selected CardID -int CCardIDDlg::GetCardID(void) -{ - return m_nCardIdx; -} - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7443/SDK7443MultiEvt/CardIDDlg.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7443/SDK7443MultiEvt/CardIDDlg.h deleted file mode 100644 index 54628ea..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7443/SDK7443MultiEvt/CardIDDlg.h +++ /dev/null @@ -1,33 +0,0 @@ -#pragma once -#include "afxwin.h" - - -// CCardIDDlg dialog - -class CCardIDDlg : public CDialog -{ - DECLARE_DYNAMIC(CCardIDDlg) - -public: - CCardIDDlg(int nCardIdx, CWnd* pParent = NULL); // standard constructor - virtual ~CCardIDDlg(); - -// Dialog Data - enum { IDD = IDD_CARDID_DIALOG }; - -protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - - DECLARE_MESSAGE_MAP() -public: -// afx_msg void OnCbnSelchangeComboCardid(); - afx_msg void OnBnClickedOk(); - // the setting of CardID ComboBox - int m_nCardIdx; - virtual BOOL OnInitDialog(); - // the control of CardID ComboBox - CComboBox m_cbCardID; - // the function to get the selected CardID - int GetCardID(void); -// afx_msg HBRUSH OnCtlColor(CDC* pDC, CWnd* pWnd, UINT nCtlColor); -}; diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7443/SDK7443MultiEvt/ReadMe.txt b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7443/SDK7443MultiEvt/ReadMe.txt deleted file mode 100644 index 31465d2..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7443/SDK7443MultiEvt/ReadMe.txt +++ /dev/null @@ -1,93 +0,0 @@ -================================================================================ - MICROSOFT FOUNDATION CLASS LIBRARY : 7443Int Project Overview -=============================================================================== - -The application wizard has created this 7443Int application for -you. This application not only demonstrates the basics of using the Microsoft -Foundation Classes but is also a starting point for writing your application. - -This file contains a summary of what you will find in each of the files that -make up your 7443Int application. - -7443Int.vcproj - This is the main project file for VC++ projects generated using an application wizard. - It contains information about the version of Visual C++ that generated the file, and - information about the platforms, configurations, and project features selected with the - application wizard. - -7443Int.h - This is the main header file for the application. It includes other - project specific headers (including Resource.h) and declares the - C7443IntApp application class. - -7443Int.cpp - This is the main application source file that contains the application - class C7443IntApp. - -7443Int.rc - This is a listing of all of the Microsoft Windows resources that the - program uses. It includes the icons, bitmaps, and cursors that are stored - in the RES subdirectory. This file can be directly edited in Microsoft - Visual C++. Your project resources are in 1033. - -res\7443Int.ico - This is an icon file, which is used as the application's icon. This - icon is included by the main resource file 7443Int.rc. - -res\My7443Int.rc2 - This file contains resources that are not edited by Microsoft - Visual C++. You should place all resources not editable by - the resource editor in this file. - - -///////////////////////////////////////////////////////////////////////////// - -The application wizard creates one dialog class: - -7443IntDlg.h, 7443IntDlg.cpp - the dialog - These files contain your C7443IntDlg class. This class defines - the behavior of your application's main dialog. The dialog's template is - in 7443Int.rc, which can be edited in Microsoft Visual C++. - - -///////////////////////////////////////////////////////////////////////////// - -Other Features: - -ActiveX Controls - The application includes support to use ActiveX controls. - -///////////////////////////////////////////////////////////////////////////// - -Other standard files: - -StdAfx.h, StdAfx.cpp - These files are used to build a precompiled header (PCH) file - named 7443Int.pch and a precompiled types file named StdAfx.obj. - -Resource.h - This is the standard header file, which defines new resource IDs. - Microsoft Visual C++ reads and updates this file. - -7443Int.manifest - Application manifest files are used by Windows XP to describe an applications - dependency on specific versions of Side-by-Side assemblies. The loader uses this - information to load the appropriate assembly from the assembly cache or private - from the application. The Application manifest maybe included for redistribution - as an external .manifest file that is installed in the same folder as the application - executable or it may be included in the executable in the form of a resource. -///////////////////////////////////////////////////////////////////////////// - -Other notes: - -The application wizard uses "TODO:" to indicate parts of the source code you -should add to or customize. - -If your application uses MFC in a shared DLL, you will need -to redistribute the MFC DLLs. If your application is in a language -other than the operating system's locale, you will also have to -redistribute the corresponding localized resources MFC90XXX.DLL. -For more information on both of these topics, please see the section on -redistributing Visual C++ applications in MSDN documentation. - -///////////////////////////////////////////////////////////////////////////// diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7443/SDK7443MultiEvt/res/7443Int.ico b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7443/SDK7443MultiEvt/res/7443Int.ico deleted file mode 100644 index d56fbcd..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7443/SDK7443MultiEvt/res/7443Int.ico and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7443/SDK7443MultiEvt/res/My7443Int.rc2 b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7443/SDK7443MultiEvt/res/My7443Int.rc2 deleted file mode 100644 index de17603..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7443/SDK7443MultiEvt/res/My7443Int.rc2 +++ /dev/null @@ -1,13 +0,0 @@ -// -// My7443Int.RC2 - resources Microsoft Visual C++ does not edit directly -// - -#ifdef APSTUDIO_INVOKED -#error this file is not editable by Microsoft Visual C++ -#endif //APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// Add manually edited resources here... - -///////////////////////////////////////////////////////////////////////////// diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7443/SDK7443MultiEvt/resource.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7443/SDK7443MultiEvt/resource.h deleted file mode 100644 index dbf53c4..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7443/SDK7443MultiEvt/resource.h +++ /dev/null @@ -1,29 +0,0 @@ -//{{NO_DEPENDENCIES}} -// Microsoft Visual C++ generated include file. -// Used by 7443Int.rc -// -#define IDM_ABOUTBOX 0x0010 -#define IDD_ABOUTBOX 100 -#define IDS_ABOUTBOX 101 -#define IDD_MY7443INT_DIALOG 102 -#define IDR_MAINFRAME 128 -#define IDD_CARDID_DIALOG 129 -#define IDC_STATIC_COS_COUNT 1000 -#define IDC_COMBO_CARDID 1000 -#define IDC_STATIC_COS_COUNT2 1001 -#define IDC_STATIC_COS1_COUNT 1001 -#define IDC_STATIC_COS2_COUNT2 1002 -#define IDC_STATIC_COS2_COUNT 1002 -#define IDC_STATIC_COS3_COUNT 1003 -#define IDC_STATIC_01 1014 - -// Next default values for new objects -// -#ifdef APSTUDIO_INVOKED -#ifndef APSTUDIO_READONLY_SYMBOLS -#define _APS_NEXT_RESOURCE_VALUE 131 -#define _APS_NEXT_COMMAND_VALUE 32771 -#define _APS_NEXT_CONTROL_VALUE 1001 -#define _APS_NEXT_SYMED_VALUE 101 -#endif -#endif diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7443/SDK7443MultiEvt/stdafx.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7443/SDK7443MultiEvt/stdafx.cpp deleted file mode 100644 index 1004f56..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7443/SDK7443MultiEvt/stdafx.cpp +++ /dev/null @@ -1,8 +0,0 @@ - -// stdafx.cpp : source file that includes just the standard includes -// 7443Int.pch will be the pre-compiled header -// stdafx.obj will contain the pre-compiled type information - -#include "stdafx.h" - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7443/SDK7443MultiEvt/stdafx.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7443/SDK7443MultiEvt/stdafx.h deleted file mode 100644 index 12123e2..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7443/SDK7443MultiEvt/stdafx.h +++ /dev/null @@ -1,60 +0,0 @@ - -// stdafx.h : include file for standard system include files, -// or project specific include files that are used frequently, -// but are changed infrequently - -#pragma once - -#ifndef _SECURE_ATL -#define _SECURE_ATL 1 -#endif - -#ifndef VC_EXTRALEAN -#define VC_EXTRALEAN // Exclude rarely-used stuff from Windows headers -#endif - -#include "targetver.h" - -#define _ATL_CSTRING_EXPLICIT_CONSTRUCTORS // some CString constructors will be explicit - -// turns off MFC's hiding of some common and often safely ignored warning messages -#define _AFX_ALL_WARNINGS - -#include // MFC core and standard components -#include // MFC extensions - - -#include // MFC Automation classes - - - -#ifndef _AFX_NO_OLE_SUPPORT -#include // MFC support for Internet Explorer 4 Common Controls -#endif -#ifndef _AFX_NO_AFXCMN_SUPPORT -#include // MFC support for Windows Common Controls -#endif // _AFX_NO_AFXCMN_SUPPORT - -#include // MFC support for ribbons and control bars - - - - - - - - - -#ifdef _UNICODE -#if defined _M_IX86 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='x86' publicKeyToken='6595b64144ccf1df' language='*'\"") -#elif defined _M_IA64 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='ia64' publicKeyToken='6595b64144ccf1df' language='*'\"") -#elif defined _M_X64 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='amd64' publicKeyToken='6595b64144ccf1df' language='*'\"") -#else -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='*' publicKeyToken='6595b64144ccf1df' language='*'\"") -#endif -#endif - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7443/SDK7443MultiEvt/targetver.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7443/SDK7443MultiEvt/targetver.h deleted file mode 100644 index 11730d5..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7443/SDK7443MultiEvt/targetver.h +++ /dev/null @@ -1,26 +0,0 @@ - -#pragma once - -// The following macros define the minimum required platform. The minimum required platform -// is the earliest version of Windows, Internet Explorer etc. that has the necessary features to run -// your application. The macros work by enabling all features available on platform versions up to and -// including the version specified. - -// Modify the following defines if you have to target a platform prior to the ones specified below. -// Refer to MSDN for the latest info on corresponding values for different platforms. -#ifndef WINVER // Specifies that the minimum required platform is Windows Vista. -#define WINVER 0x0600 // Change this to the appropriate value to target other versions of Windows. -#endif - -#ifndef _WIN32_WINNT // Specifies that the minimum required platform is Windows Vista. -#define _WIN32_WINNT 0x0600 // Change this to the appropriate value to target other versions of Windows. -#endif - -#ifndef _WIN32_WINDOWS // Specifies that the minimum required platform is Windows 98. -#define _WIN32_WINDOWS 0x0410 // Change this to the appropriate value to target Windows Me or later. -#endif - -#ifndef _WIN32_IE // Specifies that the minimum required platform is Internet Explorer 7.0. -#define _WIN32_IE 0x0700 // Change this to the appropriate value to target other versions of IE. -#endif - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7443/SDK7443MultiEvtMsg/7443Int.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7443/SDK7443MultiEvtMsg/7443Int.cpp deleted file mode 100644 index 5d6917d..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7443/SDK7443MultiEvtMsg/7443Int.cpp +++ /dev/null @@ -1,110 +0,0 @@ - -// 7443Int.cpp : Defines the class behaviors for the application. -// - -#include "stdafx.h" -#include "7443Int.h" -#include "7443IntDlg.h" -#include "CardIDDlg.h" - -#ifdef _DEBUG -#define new DEBUG_NEW -#endif - - -// C7443IntApp - -BEGIN_MESSAGE_MAP(C7443IntApp, CWinAppEx) - ON_COMMAND(ID_HELP, &CWinApp::OnHelp) -END_MESSAGE_MAP() - - -// C7443IntApp construction - -C7443IntApp::C7443IntApp() -{ - // TODO: add construction code here, - // Place all significant initialization in InitInstance -} - - -// The one and only C7443IntApp object - -C7443IntApp theApp; - - -// C7443IntApp initialization - -BOOL C7443IntApp::InitInstance() -{ - int nCardID = 0; - I16 hCard; - CString strTemp; - INT_PTR nResponse; - - // InitCommonControlsEx() is required on Windows XP if an application - // manifest specifies use of ComCtl32.dll version 6 or later to enable - // visual styles. Otherwise, any window creation will fail. - INITCOMMONCONTROLSEX InitCtrls; - InitCtrls.dwSize = sizeof(InitCtrls); - // Set this to include all the common control classes you want to use - // in your application. - InitCtrls.dwICC = ICC_WIN95_CLASSES; - InitCommonControlsEx(&InitCtrls); - - CWinAppEx::InitInstance(); - - AfxEnableControlContainer(); - - // Standard initialization - // If you are not using these features and wish to reduce the size - // of your final executable, you should remove from the following - // the specific initialization routines you do not need - // Change the registry key under which our settings are stored - // TODO: You should modify this string to be something appropriate - // such as the name of your company or organization - SetRegistryKey(_T("Local AppWizard-Generated Applications")); - - - CCardIDDlg CardDlg( nCardID ); - - nResponse = CardDlg.DoModal(); - if (nResponse == IDOK) - { - nCardID = CardDlg.GetCardID(); - - if ((hCard=Register_Card(PCI_7443, nCardID)) < 0) - { - strTemp.Format( TEXT("Register_Card Error = %d"), hCard); - AfxMessageBox( strTemp ); - } - else - { - C7443IntDlg dlg(hCard); - m_pMainWnd = &dlg; - nResponse = dlg.DoModal(); - if (nResponse == IDOK) - { - // TODO: Place code here to handle when the dialog is - // dismissed with OK - } - else if (nResponse == IDCANCEL) - { - // TODO: Place code here to handle when the dialog is - // dismissed with Cancel - } - - if (hCard >= 0) Release_Card(hCard); - } - - } - else if (nResponse == IDCANCEL) - { - // TODO: Place code here to handle when the dialog is - // dismissed with Cancel - } - - // Since the dialog has been closed, return FALSE so that we exit the - // application, rather than start the application's message pump. - return FALSE; -} diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7443/SDK7443MultiEvtMsg/7443Int.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7443/SDK7443MultiEvtMsg/7443Int.h deleted file mode 100644 index aa41e40..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7443/SDK7443MultiEvtMsg/7443Int.h +++ /dev/null @@ -1,32 +0,0 @@ - -// 7443Int.h : main header file for the PROJECT_NAME application -// - -#pragma once - -#ifndef __AFXWIN_H__ - #error "include 'stdafx.h' before including this file for PCH" -#endif - -#include "resource.h" // main symbols - - -// C7443IntApp: -// See 7443Int.cpp for the implementation of this class -// - -class C7443IntApp : public CWinAppEx -{ -public: - C7443IntApp(); - -// Overrides - public: - virtual BOOL InitInstance(); - -// Implementation - - DECLARE_MESSAGE_MAP() -}; - -extern C7443IntApp theApp; \ No newline at end of file diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7443/SDK7443MultiEvtMsg/7443Int.rc b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7443/SDK7443MultiEvtMsg/7443Int.rc deleted file mode 100644 index 42e963d..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7443/SDK7443MultiEvtMsg/7443Int.rc +++ /dev/null @@ -1,277 +0,0 @@ -// Microsoft Visual C++ generated resource script. -// -#include "resource.h" - -#define APSTUDIO_READONLY_SYMBOLS -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 2 resource. -// -#ifndef APSTUDIO_INVOKED -#include "targetver.h" -#endif -#include "afxres.h" - -///////////////////////////////////////////////////////////////////////////// -#undef APSTUDIO_READONLY_SYMBOLS - -///////////////////////////////////////////////////////////////////////////// -// Chinese (Taiwan) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_CHT) -#ifdef _WIN32 -LANGUAGE LANG_CHINESE, SUBLANG_CHINESE_TRADITIONAL -#pragma code_page(950) -#endif //_WIN32 - -#ifdef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// TEXTINCLUDE -// - -1 TEXTINCLUDE -BEGIN - "resource.h\0" -END - -2 TEXTINCLUDE -BEGIN - "#ifndef APSTUDIO_INVOKED\r\n" - "#include ""targetver.h""\r\n" - "#endif\r\n" - "#include ""afxres.h""\r\n" - "\0" -END - -3 TEXTINCLUDE -BEGIN - "#define _AFX_NO_SPLITTER_RESOURCES\r\n" - "#define _AFX_NO_OLE_RESOURCES\r\n" - "#define _AFX_NO_TRACKER_RESOURCES\r\n" - "#define _AFX_NO_PROPERTY_RESOURCES\r\n" - "\r\n" - "#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)\r\n" - "LANGUAGE 9, 1\r\n" - "#pragma code_page(1252)\r\n" - "#include ""res\\My7443Int.rc2"" // non-Microsoft Visual C++ edited resources\r\n" - "#include ""afxres.rc"" // Standard components\r\n" - "#endif\r\n" - "\0" -END - -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// Icon -// - -// Icon with lowest ID value placed first to ensure application icon -// remains consistent on all systems. -IDR_MAINFRAME ICON "res\\7443Int.ico" -#endif // Chinese (Taiwan) resources -///////////////////////////////////////////////////////////////////////////// - - -///////////////////////////////////////////////////////////////////////////// -// English (U.S.) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -#ifdef _WIN32 -LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US -#pragma code_page(1252) -#endif //_WIN32 - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog -// - -IDD_ABOUTBOX DIALOGEX 0, 0, 170, 62 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "About 7443Int" -FONT 8, "MS Shell Dlg", 0, 0, 0x1 -BEGIN - ICON IDR_MAINFRAME,IDC_STATIC,14,14,21,20 - LTEXT "7443Int, Version 1.0",IDC_STATIC,42,14,114,8,SS_NOPREFIX - LTEXT "Copyright (C) 2010",IDC_STATIC,42,26,114,8 - DEFPUSHBUTTON "OK",IDOK,113,41,50,14,WS_GROUP -END - -IDD_MY7443INT_DIALOG DIALOGEX 0, 0, 213, 108 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU -EXSTYLE WS_EX_APPWINDOW -CAPTION "PCI-7443 COS Interrupt Sample " -FONT 8, "MS Shell Dlg", 0, 0, 0x1 -BEGIN - LTEXT "This program waits COS of Channel 0/1.\nCount number will add one while COS occurs.",IDC_STATIC,32,17,158,23 - LTEXT "COS0 Count =",IDC_STATIC_COS_COUNT,59,48,85,13 - LTEXT "COS1 Count =",IDC_STATIC_COS1_COUNT,59,62,85,13 -END - -IDD_CARDID_DIALOG DIALOGEX 0, 0, 188, 101 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "Card ID" -FONT 8, "MS Shell Dlg", 400, 0, 0x1 -BEGIN - COMBOBOX IDC_COMBO_CARDID,83,24,71,126,CBS_DROPDOWN | WS_VSCROLL | WS_TABSTOP - LTEXT "Card Number",IDC_STATIC_01,29,25,46,12 - PUSHBUTTON "OK",IDOK,30,57,58,19 - PUSHBUTTON "CANCEL",IDCANCEL,94,57,58,19 -END - - -///////////////////////////////////////////////////////////////////////////// -// -// Version -// - -VS_VERSION_INFO VERSIONINFO - FILEVERSION 1,0,0,1 - PRODUCTVERSION 1,0,0,1 - FILEFLAGSMASK 0x3fL -#ifdef _DEBUG - FILEFLAGS 0x1L -#else - FILEFLAGS 0x0L -#endif - FILEOS 0x4L - FILETYPE 0x1L - FILESUBTYPE 0x0L -BEGIN - BLOCK "StringFileInfo" - BEGIN - BLOCK "040904e4" - BEGIN - VALUE "CompanyName", "TODO: " - VALUE "FileDescription", "TODO: " - VALUE "FileVersion", "1.0.0.1" - VALUE "InternalName", "7443Int.exe" - VALUE "LegalCopyright", "TODO: (c) . All rights reserved." - VALUE "OriginalFilename", "7443Int.exe" - VALUE "ProductName", "TODO: " - VALUE "ProductVersion", "1.0.0.1" - END - END - BLOCK "VarFileInfo" - BEGIN - VALUE "Translation", 0x409, 1252 - END -END - - -///////////////////////////////////////////////////////////////////////////// -// -// DESIGNINFO -// - -#ifdef APSTUDIO_INVOKED -GUIDELINES DESIGNINFO -BEGIN - IDD_ABOUTBOX, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 163 - TOPMARGIN, 7 - BOTTOMMARGIN, 55 - END - - IDD_MY7443INT_DIALOG, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 206 - TOPMARGIN, 7 - BOTTOMMARGIN, 101 - END - - IDD_CARDID_DIALOG, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 181 - TOPMARGIN, 7 - BOTTOMMARGIN, 94 - END -END -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog Info -// - -IDD_CARDID_DIALOG DLGINIT -BEGIN - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0030, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0031, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0032, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0033, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0034, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0035, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0036, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0037, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0038, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0039, - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3031, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3131, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3231, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3331, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3431, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3531, "\000" - 0 -END - - -///////////////////////////////////////////////////////////////////////////// -// -// String Table -// - -STRINGTABLE -BEGIN - IDS_ABOUTBOX "&About 7443Int..." -END - -#endif // English (U.S.) resources -///////////////////////////////////////////////////////////////////////////// - - - -#ifndef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 3 resource. -// -#define _AFX_NO_SPLITTER_RESOURCES -#define _AFX_NO_OLE_RESOURCES -#define _AFX_NO_TRACKER_RESOURCES -#define _AFX_NO_PROPERTY_RESOURCES - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -LANGUAGE 9, 1 -#pragma code_page(1252) -#include "res\My7443Int.rc2" // non-Microsoft Visual C++ edited resources -#include "afxres.rc" // Standard components -#endif - -///////////////////////////////////////////////////////////////////////////// -#endif // not APSTUDIO_INVOKED - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7443/SDK7443MultiEvtMsg/7443Int.sln b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7443/SDK7443MultiEvtMsg/7443Int.sln deleted file mode 100644 index c0d36d6..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7443/SDK7443MultiEvtMsg/7443Int.sln +++ /dev/null @@ -1,20 +0,0 @@ - -Microsoft Visual Studio Solution File, Format Version 10.00 -# Visual Studio 2008 -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "7443Int", "7443Int.vcproj", "{8C3F9B45-CEAB-40AB-9259-C32903B83419}" -EndProject -Global - GlobalSection(SolutionConfigurationPlatforms) = preSolution - Debug|x64 = Debug|x64 - Release|x64 = Release|x64 - EndGlobalSection - GlobalSection(ProjectConfigurationPlatforms) = postSolution - {8C3F9B45-CEAB-40AB-9259-C32903B83419}.Debug|x64.ActiveCfg = Debug|x64 - {8C3F9B45-CEAB-40AB-9259-C32903B83419}.Debug|x64.Build.0 = Debug|x64 - {8C3F9B45-CEAB-40AB-9259-C32903B83419}.Release|x64.ActiveCfg = Release|x64 - {8C3F9B45-CEAB-40AB-9259-C32903B83419}.Release|x64.Build.0 = Release|x64 - EndGlobalSection - GlobalSection(SolutionProperties) = preSolution - HideSolutionNode = FALSE - EndGlobalSection -EndGlobal diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7443/SDK7443MultiEvtMsg/7443Int.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7443/SDK7443MultiEvtMsg/7443Int.suo deleted file mode 100644 index 7b30132..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7443/SDK7443MultiEvtMsg/7443Int.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7443/SDK7443MultiEvtMsg/7443Int.vcproj b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7443/SDK7443MultiEvtMsg/7443Int.vcproj deleted file mode 100644 index 492fae7..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7443/SDK7443MultiEvtMsg/7443Int.vcproj +++ /dev/null @@ -1,286 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7443/SDK7443MultiEvtMsg/7443IntDlg.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7443/SDK7443MultiEvtMsg/7443IntDlg.cpp deleted file mode 100644 index 51e0e80..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7443/SDK7443MultiEvtMsg/7443IntDlg.cpp +++ /dev/null @@ -1,215 +0,0 @@ - -// 7443IntDlg.cpp : implementation file -// - -#include "stdafx.h" -#include "7443Int.h" -#include "7443IntDlg.h" - -#define COS0_INTERRUPT_MESSAGE _T("COS0_INT") -#define COS1_INTERRUPT_MESSAGE _T("COS1_INT") - -#define P7443_INT1 INT1_COS0 -#define P7443_Port P7443_CH0 - -UINT WM_INT0 = ::RegisterWindowMessage(COS0_INTERRUPT_MESSAGE); -UINT WM_INT1 = ::RegisterWindowMessage(COS1_INTERRUPT_MESSAGE); - -#ifdef _DEBUG -#define new DEBUG_NEW -#endif - - -// CAboutDlg dialog used for App About - -class CAboutDlg : public CDialog -{ -public: - CAboutDlg(); - -// Dialog Data - enum { IDD = IDD_ABOUTBOX }; - - protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - -// Implementation -protected: - DECLARE_MESSAGE_MAP() -}; - -CAboutDlg::CAboutDlg() : CDialog(CAboutDlg::IDD) -{ -} - -void CAboutDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); -} - -BEGIN_MESSAGE_MAP(CAboutDlg, CDialog) -END_MESSAGE_MAP() - - -// C7443IntDlg dialog - - - - -C7443IntDlg::C7443IntDlg(I16 hCard, CWnd* pParent /*=NULL*/) - : CDialog(C7443IntDlg::IDD, pParent) -{ - m_hIcon = AfxGetApp()->LoadIcon(IDR_MAINFRAME); - - m_hCard = hCard; -} - -void C7443IntDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); -} - -BEGIN_MESSAGE_MAP(C7443IntDlg, CDialog) - ON_WM_SYSCOMMAND() - ON_WM_PAINT() - ON_WM_QUERYDRAGICON() - ON_REGISTERED_MESSAGE(WM_INT0, OnCOS0Interrupt) - ON_REGISTERED_MESSAGE(WM_INT1, OnCOS1Interrupt) - //}}AFX_MSG_MAP - ON_WM_DESTROY() -END_MESSAGE_MAP() - - -// C7443IntDlg message handlers - -BOOL C7443IntDlg::OnInitDialog() -{ - CDialog::OnInitDialog(); - - // Add "About..." menu item to system menu. - - // IDM_ABOUTBOX must be in the system command range. - ASSERT((IDM_ABOUTBOX & 0xFFF0) == IDM_ABOUTBOX); - ASSERT(IDM_ABOUTBOX < 0xF000); - - CMenu* pSysMenu = GetSystemMenu(FALSE); - if (pSysMenu != NULL) - { - BOOL bNameValid; - CString strAboutMenu; - bNameValid = strAboutMenu.LoadString(IDS_ABOUTBOX); - ASSERT(bNameValid); - if (!strAboutMenu.IsEmpty()) - { - pSysMenu->AppendMenu(MF_SEPARATOR); - pSysMenu->AppendMenu(MF_STRING, IDM_ABOUTBOX, strAboutMenu); - } - } - - // Set the icon for this dialog. The framework does this automatically - // when the application's main window is not a dialog - SetIcon(m_hIcon, TRUE); // Set big icon - SetIcon(m_hIcon, FALSE); // Set small icon - - // TODO: Add extra initialization here - m_COS0Count = 0; - m_COS1Count = 0; - - DIO_SetCOSInterrupt32(m_hCard, P7443_CH0, 0x0001, &(m_hEvent[0]), 0); - DIO_SetCOSInterrupt32(m_hCard, P7443_CH1, 0x0001, &(m_hEvent[1]), 0); - DIO_INT_Event_Message_x64(m_hCard, INT1_COS0, m_hEvent[0], this->m_hWnd, WM_INT0, NULL); - DIO_INT_Event_Message_x64(m_hCard, INT1_COS1, m_hEvent[1], this->m_hWnd, WM_INT1, NULL); - - - - return TRUE; // return TRUE unless you set the focus to a control -} - -void C7443IntDlg::OnSysCommand(UINT nID, LPARAM lParam) -{ - if ((nID & 0xFFF0) == IDM_ABOUTBOX) - { - CAboutDlg dlgAbout; - dlgAbout.DoModal(); - } - else - { - CDialog::OnSysCommand(nID, lParam); - } -} - -// If you add a minimize button to your dialog, you will need the code below -// to draw the icon. For MFC applications using the document/view model, -// this is automatically done for you by the framework. - -void C7443IntDlg::OnPaint() -{ - if (IsIconic()) - { - CPaintDC dc(this); // device context for painting - - SendMessage(WM_ICONERASEBKGND, reinterpret_cast(dc.GetSafeHdc()), 0); - - // Center icon in client rectangle - int cxIcon = GetSystemMetrics(SM_CXICON); - int cyIcon = GetSystemMetrics(SM_CYICON); - CRect rect; - GetClientRect(&rect); - int x = (rect.Width() - cxIcon + 1) / 2; - int y = (rect.Height() - cyIcon + 1) / 2; - - // Draw the icon - dc.DrawIcon(x, y, m_hIcon); - } - else - { - CDialog::OnPaint(); - } -} - -// The system calls this function to obtain the cursor to display while the user drags -// the minimized window. -HCURSOR C7443IntDlg::OnQueryDragIcon() -{ - return static_cast(m_hIcon); -} - - -LRESULT C7443IntDlg::OnCOS0Interrupt(WPARAM wParam, LPARAM lParam) -{ - // do something useful - CString strTemp; - - m_COS0Count ++; - strTemp.Format( TEXT("COS0 Count = %d"), m_COS0Count); - SetDlgItemText( IDC_STATIC_COS_COUNT, strTemp ); - - - return (LRESULT) 0; -}; - - -LRESULT C7443IntDlg::OnCOS1Interrupt(WPARAM wParam, LPARAM lParam) -{ - // do something useful - CString strTemp; - - m_COS1Count ++; - strTemp.Format( TEXT("COS1 Count = %d"), m_COS1Count); - SetDlgItemText( IDC_STATIC_COS1_COUNT, strTemp ); - - - return (LRESULT) 0; -}; - -void C7443IntDlg::OnDestroy() -{ - CDialog::OnDestroy(); - - // TODO: Add your message handler code here - DIO_SetCOSInterrupt32(m_hCard, P7443_CH0, 0, NULL, 0); - DIO_SetCOSInterrupt32(m_hCard, P7443_CH1, 0, NULL, 0); - DIO_INT_Event_Message_x64(m_hCard, 0, m_hEvent[0], NULL, NULL, NULL); - DIO_INT_Event_Message_x64(m_hCard, 0, m_hEvent[1], NULL, NULL, NULL); - -} diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7443/SDK7443MultiEvtMsg/7443IntDlg.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7443/SDK7443MultiEvtMsg/7443IntDlg.h deleted file mode 100644 index b78f9b1..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7443/SDK7443MultiEvtMsg/7443IntDlg.h +++ /dev/null @@ -1,41 +0,0 @@ - -// 7443IntDlg.h : header file -// - -#include "Dask64.h" - -#pragma once - - -// C7443IntDlg dialog -class C7443IntDlg : public CDialog -{ -// Construction -public: - C7443IntDlg(I16 hCard, CWnd* pParent = NULL); // standard constructor - -// Dialog Data - enum { IDD = IDD_MY7443INT_DIALOG }; - - protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - -// Implementation -protected: - HICON m_hIcon; - I16 m_hCard; - int m_COS0Count; - int m_COS1Count; - HANDLE m_hEvent[4]; - - // Generated message map functions - virtual BOOL OnInitDialog(); - afx_msg void OnSysCommand(UINT nID, LPARAM lParam); - afx_msg LRESULT OnCOS0Interrupt(WPARAM wParam, LPARAM lParam); - afx_msg LRESULT OnCOS1Interrupt(WPARAM wParam, LPARAM lParam); - afx_msg void OnPaint(); - afx_msg HCURSOR OnQueryDragIcon(); - DECLARE_MESSAGE_MAP() -public: - afx_msg void OnDestroy(); -}; diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7443/SDK7443MultiEvtMsg/CardIDDlg.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7443/SDK7443MultiEvtMsg/CardIDDlg.cpp deleted file mode 100644 index 1f521ff..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7443/SDK7443MultiEvtMsg/CardIDDlg.cpp +++ /dev/null @@ -1,67 +0,0 @@ -// CardIDDlg.cpp : implementation file -// - -#include "stdafx.h" -#include "7443Int.h" -#include "CardIDDlg.h" - - -// CCardIDDlg dialog - -IMPLEMENT_DYNAMIC(CCardIDDlg, CDialog) - -CCardIDDlg::CCardIDDlg(int nCardIdx, CWnd* pParent /*=NULL*/) - : CDialog(CCardIDDlg::IDD, pParent) -{ - m_nCardIdx = nCardIdx; -} - -CCardIDDlg::~CCardIDDlg() -{ -} - -void CCardIDDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); - DDX_Control(pDX, IDC_COMBO_CARDID, m_cbCardID); -} - - -BEGIN_MESSAGE_MAP(CCardIDDlg, CDialog) -// ON_CBN_SELCHANGE(IDC_COMBO_CARDID, &CCardIDDlg::OnCbnSelchangeComboCardid) -ON_BN_CLICKED(IDOK, &CCardIDDlg::OnBnClickedOk) -//ON_WM_CTLCOLOR() -END_MESSAGE_MAP() - - -// CCardIDDlg message handlers - - -void CCardIDDlg::OnBnClickedOk() -{ - // TODO: Add your control notification handler code here - -// UpdateData(TRUE); - m_nCardIdx = m_cbCardID.GetCurSel(); - - OnOK(); -} - -BOOL CCardIDDlg::OnInitDialog() -{ - CDialog::OnInitDialog(); - - // TODO: Add extra initialization here - m_cbCardID.SetCurSel( m_nCardIdx ); - - return TRUE; // return TRUE unless you set the focus to a control - // EXCEPTION: OCX Property Pages should return FALSE -} - -// the function to get the selected CardID -int CCardIDDlg::GetCardID(void) -{ - return m_nCardIdx; -} - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7443/SDK7443MultiEvtMsg/CardIDDlg.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7443/SDK7443MultiEvtMsg/CardIDDlg.h deleted file mode 100644 index 54628ea..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7443/SDK7443MultiEvtMsg/CardIDDlg.h +++ /dev/null @@ -1,33 +0,0 @@ -#pragma once -#include "afxwin.h" - - -// CCardIDDlg dialog - -class CCardIDDlg : public CDialog -{ - DECLARE_DYNAMIC(CCardIDDlg) - -public: - CCardIDDlg(int nCardIdx, CWnd* pParent = NULL); // standard constructor - virtual ~CCardIDDlg(); - -// Dialog Data - enum { IDD = IDD_CARDID_DIALOG }; - -protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - - DECLARE_MESSAGE_MAP() -public: -// afx_msg void OnCbnSelchangeComboCardid(); - afx_msg void OnBnClickedOk(); - // the setting of CardID ComboBox - int m_nCardIdx; - virtual BOOL OnInitDialog(); - // the control of CardID ComboBox - CComboBox m_cbCardID; - // the function to get the selected CardID - int GetCardID(void); -// afx_msg HBRUSH OnCtlColor(CDC* pDC, CWnd* pWnd, UINT nCtlColor); -}; diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7443/SDK7443MultiEvtMsg/ReadMe.txt b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7443/SDK7443MultiEvtMsg/ReadMe.txt deleted file mode 100644 index 31465d2..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7443/SDK7443MultiEvtMsg/ReadMe.txt +++ /dev/null @@ -1,93 +0,0 @@ -================================================================================ - MICROSOFT FOUNDATION CLASS LIBRARY : 7443Int Project Overview -=============================================================================== - -The application wizard has created this 7443Int application for -you. This application not only demonstrates the basics of using the Microsoft -Foundation Classes but is also a starting point for writing your application. - -This file contains a summary of what you will find in each of the files that -make up your 7443Int application. - -7443Int.vcproj - This is the main project file for VC++ projects generated using an application wizard. - It contains information about the version of Visual C++ that generated the file, and - information about the platforms, configurations, and project features selected with the - application wizard. - -7443Int.h - This is the main header file for the application. It includes other - project specific headers (including Resource.h) and declares the - C7443IntApp application class. - -7443Int.cpp - This is the main application source file that contains the application - class C7443IntApp. - -7443Int.rc - This is a listing of all of the Microsoft Windows resources that the - program uses. It includes the icons, bitmaps, and cursors that are stored - in the RES subdirectory. This file can be directly edited in Microsoft - Visual C++. Your project resources are in 1033. - -res\7443Int.ico - This is an icon file, which is used as the application's icon. This - icon is included by the main resource file 7443Int.rc. - -res\My7443Int.rc2 - This file contains resources that are not edited by Microsoft - Visual C++. You should place all resources not editable by - the resource editor in this file. - - -///////////////////////////////////////////////////////////////////////////// - -The application wizard creates one dialog class: - -7443IntDlg.h, 7443IntDlg.cpp - the dialog - These files contain your C7443IntDlg class. This class defines - the behavior of your application's main dialog. The dialog's template is - in 7443Int.rc, which can be edited in Microsoft Visual C++. - - -///////////////////////////////////////////////////////////////////////////// - -Other Features: - -ActiveX Controls - The application includes support to use ActiveX controls. - -///////////////////////////////////////////////////////////////////////////// - -Other standard files: - -StdAfx.h, StdAfx.cpp - These files are used to build a precompiled header (PCH) file - named 7443Int.pch and a precompiled types file named StdAfx.obj. - -Resource.h - This is the standard header file, which defines new resource IDs. - Microsoft Visual C++ reads and updates this file. - -7443Int.manifest - Application manifest files are used by Windows XP to describe an applications - dependency on specific versions of Side-by-Side assemblies. The loader uses this - information to load the appropriate assembly from the assembly cache or private - from the application. The Application manifest maybe included for redistribution - as an external .manifest file that is installed in the same folder as the application - executable or it may be included in the executable in the form of a resource. -///////////////////////////////////////////////////////////////////////////// - -Other notes: - -The application wizard uses "TODO:" to indicate parts of the source code you -should add to or customize. - -If your application uses MFC in a shared DLL, you will need -to redistribute the MFC DLLs. If your application is in a language -other than the operating system's locale, you will also have to -redistribute the corresponding localized resources MFC90XXX.DLL. -For more information on both of these topics, please see the section on -redistributing Visual C++ applications in MSDN documentation. - -///////////////////////////////////////////////////////////////////////////// diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7443/SDK7443MultiEvtMsg/res/7443Int.ico b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7443/SDK7443MultiEvtMsg/res/7443Int.ico deleted file mode 100644 index d56fbcd..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7443/SDK7443MultiEvtMsg/res/7443Int.ico and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7443/SDK7443MultiEvtMsg/res/My7443Int.rc2 b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7443/SDK7443MultiEvtMsg/res/My7443Int.rc2 deleted file mode 100644 index de17603..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7443/SDK7443MultiEvtMsg/res/My7443Int.rc2 +++ /dev/null @@ -1,13 +0,0 @@ -// -// My7443Int.RC2 - resources Microsoft Visual C++ does not edit directly -// - -#ifdef APSTUDIO_INVOKED -#error this file is not editable by Microsoft Visual C++ -#endif //APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// Add manually edited resources here... - -///////////////////////////////////////////////////////////////////////////// diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7443/SDK7443MultiEvtMsg/resource.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7443/SDK7443MultiEvtMsg/resource.h deleted file mode 100644 index bd4879b..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7443/SDK7443MultiEvtMsg/resource.h +++ /dev/null @@ -1,26 +0,0 @@ -//{{NO_DEPENDENCIES}} -// Microsoft Visual C++ generated include file. -// Used by 7443Int.rc -// -#define IDM_ABOUTBOX 0x0010 -#define IDD_ABOUTBOX 100 -#define IDS_ABOUTBOX 101 -#define IDD_MY7443INT_DIALOG 102 -#define IDR_MAINFRAME 128 -#define IDD_CARDID_DIALOG 129 -#define IDC_STATIC_COS_COUNT 1000 -#define IDC_COMBO_CARDID 1000 -#define IDC_STATIC_COS_COUNT2 1001 -#define IDC_STATIC_COS1_COUNT 1001 -#define IDC_STATIC_01 1014 - -// Next default values for new objects -// -#ifdef APSTUDIO_INVOKED -#ifndef APSTUDIO_READONLY_SYMBOLS -#define _APS_NEXT_RESOURCE_VALUE 131 -#define _APS_NEXT_COMMAND_VALUE 32771 -#define _APS_NEXT_CONTROL_VALUE 1001 -#define _APS_NEXT_SYMED_VALUE 101 -#endif -#endif diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7443/SDK7443MultiEvtMsg/stdafx.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7443/SDK7443MultiEvtMsg/stdafx.cpp deleted file mode 100644 index 1004f56..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7443/SDK7443MultiEvtMsg/stdafx.cpp +++ /dev/null @@ -1,8 +0,0 @@ - -// stdafx.cpp : source file that includes just the standard includes -// 7443Int.pch will be the pre-compiled header -// stdafx.obj will contain the pre-compiled type information - -#include "stdafx.h" - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7443/SDK7443MultiEvtMsg/stdafx.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7443/SDK7443MultiEvtMsg/stdafx.h deleted file mode 100644 index 12123e2..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7443/SDK7443MultiEvtMsg/stdafx.h +++ /dev/null @@ -1,60 +0,0 @@ - -// stdafx.h : include file for standard system include files, -// or project specific include files that are used frequently, -// but are changed infrequently - -#pragma once - -#ifndef _SECURE_ATL -#define _SECURE_ATL 1 -#endif - -#ifndef VC_EXTRALEAN -#define VC_EXTRALEAN // Exclude rarely-used stuff from Windows headers -#endif - -#include "targetver.h" - -#define _ATL_CSTRING_EXPLICIT_CONSTRUCTORS // some CString constructors will be explicit - -// turns off MFC's hiding of some common and often safely ignored warning messages -#define _AFX_ALL_WARNINGS - -#include // MFC core and standard components -#include // MFC extensions - - -#include // MFC Automation classes - - - -#ifndef _AFX_NO_OLE_SUPPORT -#include // MFC support for Internet Explorer 4 Common Controls -#endif -#ifndef _AFX_NO_AFXCMN_SUPPORT -#include // MFC support for Windows Common Controls -#endif // _AFX_NO_AFXCMN_SUPPORT - -#include // MFC support for ribbons and control bars - - - - - - - - - -#ifdef _UNICODE -#if defined _M_IX86 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='x86' publicKeyToken='6595b64144ccf1df' language='*'\"") -#elif defined _M_IA64 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='ia64' publicKeyToken='6595b64144ccf1df' language='*'\"") -#elif defined _M_X64 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='amd64' publicKeyToken='6595b64144ccf1df' language='*'\"") -#else -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='*' publicKeyToken='6595b64144ccf1df' language='*'\"") -#endif -#endif - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7443/SDK7443MultiEvtMsg/targetver.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7443/SDK7443MultiEvtMsg/targetver.h deleted file mode 100644 index 11730d5..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7443/SDK7443MultiEvtMsg/targetver.h +++ /dev/null @@ -1,26 +0,0 @@ - -#pragma once - -// The following macros define the minimum required platform. The minimum required platform -// is the earliest version of Windows, Internet Explorer etc. that has the necessary features to run -// your application. The macros work by enabling all features available on platform versions up to and -// including the version specified. - -// Modify the following defines if you have to target a platform prior to the ones specified below. -// Refer to MSDN for the latest info on corresponding values for different platforms. -#ifndef WINVER // Specifies that the minimum required platform is Windows Vista. -#define WINVER 0x0600 // Change this to the appropriate value to target other versions of Windows. -#endif - -#ifndef _WIN32_WINNT // Specifies that the minimum required platform is Windows Vista. -#define _WIN32_WINNT 0x0600 // Change this to the appropriate value to target other versions of Windows. -#endif - -#ifndef _WIN32_WINDOWS // Specifies that the minimum required platform is Windows 98. -#define _WIN32_WINDOWS 0x0410 // Change this to the appropriate value to target Windows Me or later. -#endif - -#ifndef _WIN32_IE // Specifies that the minimum required platform is Internet Explorer 7.0. -#define _WIN32_IE 0x0700 // Change this to the appropriate value to target other versions of IE. -#endif - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7443/SDK7443TTL/CardIDDlg.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7443/SDK7443TTL/CardIDDlg.cpp deleted file mode 100644 index f797a27..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7443/SDK7443TTL/CardIDDlg.cpp +++ /dev/null @@ -1,67 +0,0 @@ -// CardIDDlg.cpp : implementation file -// - -#include "stdafx.h" -#include "Util7443.h" -#include "CardIDDlg.h" - - -// CCardIDDlg dialog - -IMPLEMENT_DYNAMIC(CCardIDDlg, CDialog) - -CCardIDDlg::CCardIDDlg(int nCardIdx, CWnd* pParent /*=NULL*/) - : CDialog(CCardIDDlg::IDD, pParent) -{ - m_nCardIdx = nCardIdx; -} - -CCardIDDlg::~CCardIDDlg() -{ -} - -void CCardIDDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); - DDX_Control(pDX, IDC_COMBO_CARDID, m_cbCardID); -} - - -BEGIN_MESSAGE_MAP(CCardIDDlg, CDialog) -// ON_CBN_SELCHANGE(IDC_COMBO_CARDID, &CCardIDDlg::OnCbnSelchangeComboCardid) -ON_BN_CLICKED(IDOK, &CCardIDDlg::OnBnClickedOk) -//ON_WM_CTLCOLOR() -END_MESSAGE_MAP() - - -// CCardIDDlg message handlers - - -void CCardIDDlg::OnBnClickedOk() -{ - // TODO: Add your control notification handler code here - -// UpdateData(TRUE); - m_nCardIdx = m_cbCardID.GetCurSel(); - - OnOK(); -} - -BOOL CCardIDDlg::OnInitDialog() -{ - CDialog::OnInitDialog(); - - // TODO: Add extra initialization here - m_cbCardID.SetCurSel( m_nCardIdx ); - - return TRUE; // return TRUE unless you set the focus to a control - // EXCEPTION: OCX Property Pages should return FALSE -} - -// the function to get the selected CardID -int CCardIDDlg::GetCardID(void) -{ - return m_nCardIdx; -} - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7443/SDK7443TTL/CardIDDlg.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7443/SDK7443TTL/CardIDDlg.h deleted file mode 100644 index 54628ea..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7443/SDK7443TTL/CardIDDlg.h +++ /dev/null @@ -1,33 +0,0 @@ -#pragma once -#include "afxwin.h" - - -// CCardIDDlg dialog - -class CCardIDDlg : public CDialog -{ - DECLARE_DYNAMIC(CCardIDDlg) - -public: - CCardIDDlg(int nCardIdx, CWnd* pParent = NULL); // standard constructor - virtual ~CCardIDDlg(); - -// Dialog Data - enum { IDD = IDD_CARDID_DIALOG }; - -protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - - DECLARE_MESSAGE_MAP() -public: -// afx_msg void OnCbnSelchangeComboCardid(); - afx_msg void OnBnClickedOk(); - // the setting of CardID ComboBox - int m_nCardIdx; - virtual BOOL OnInitDialog(); - // the control of CardID ComboBox - CComboBox m_cbCardID; - // the function to get the selected CardID - int GetCardID(void); -// afx_msg HBRUSH OnCtlColor(CDC* pDC, CWnd* pWnd, UINT nCtlColor); -}; diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7443/SDK7443TTL/ReadMe.txt b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7443/SDK7443TTL/ReadMe.txt deleted file mode 100644 index 519e742..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7443/SDK7443TTL/ReadMe.txt +++ /dev/null @@ -1,93 +0,0 @@ -================================================================================ - MICROSOFT FOUNDATION CLASS LIBRARY : Util7443 Project Overview -=============================================================================== - -The application wizard has created this Util7443 application for -you. This application not only demonstrates the basics of using the Microsoft -Foundation Classes but is also a starting point for writing your application. - -This file contains a summary of what you will find in each of the files that -make up your Util7443 application. - -Util7443.vcproj - This is the main project file for VC++ projects generated using an application wizard. - It contains information about the version of Visual C++ that generated the file, and - information about the platforms, configurations, and project features selected with the - application wizard. - -Util7443.h - This is the main header file for the application. It includes other - project specific headers (including Resource.h) and declares the - CUtil7443App application class. - -Util7443.cpp - This is the main application source file that contains the application - class CUtil7443App. - -Util7443.rc - This is a listing of all of the Microsoft Windows resources that the - program uses. It includes the icons, bitmaps, and cursors that are stored - in the RES subdirectory. This file can be directly edited in Microsoft - Visual C++. Your project resources are in 1033. - -res\Util7443.ico - This is an icon file, which is used as the application's icon. This - icon is included by the main resource file Util7443.rc. - -res\Util7443.rc2 - This file contains resources that are not edited by Microsoft - Visual C++. You should place all resources not editable by - the resource editor in this file. - - -///////////////////////////////////////////////////////////////////////////// - -The application wizard creates one dialog class: - -Util7443Dlg.h, Util7443Dlg.cpp - the dialog - These files contain your CUtil7443Dlg class. This class defines - the behavior of your application's main dialog. The dialog's template is - in Util7443.rc, which can be edited in Microsoft Visual C++. - - -///////////////////////////////////////////////////////////////////////////// - -Other Features: - -ActiveX Controls - The application includes support to use ActiveX controls. - -///////////////////////////////////////////////////////////////////////////// - -Other standard files: - -StdAfx.h, StdAfx.cpp - These files are used to build a precompiled header (PCH) file - named Util7443.pch and a precompiled types file named StdAfx.obj. - -Resource.h - This is the standard header file, which defines new resource IDs. - Microsoft Visual C++ reads and updates this file. - -Util7443.manifest - Application manifest files are used by Windows XP to describe an applications - dependency on specific versions of Side-by-Side assemblies. The loader uses this - information to load the appropriate assembly from the assembly cache or private - from the application. The Application manifest maybe included for redistribution - as an external .manifest file that is installed in the same folder as the application - executable or it may be included in the executable in the form of a resource. -///////////////////////////////////////////////////////////////////////////// - -Other notes: - -The application wizard uses "TODO:" to indicate parts of the source code you -should add to or customize. - -If your application uses MFC in a shared DLL, you will need -to redistribute the MFC DLLs. If your application is in a language -other than the operating system's locale, you will also have to -redistribute the corresponding localized resources MFC90XXX.DLL. -For more information on both of these topics, please see the section on -redistributing Visual C++ applications in MSDN documentation. - -///////////////////////////////////////////////////////////////////////////// diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7443/SDK7443TTL/Util7443.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7443/SDK7443TTL/Util7443.cpp deleted file mode 100644 index 79f85d5..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7443/SDK7443TTL/Util7443.cpp +++ /dev/null @@ -1,111 +0,0 @@ - -// Util7443.cpp : Defines the class behaviors for the application. -// - -#include "stdafx.h" -#include "Util7443.h" -#include "Util7443Dlg.h" -#include "CardIDDlg.h" - -#ifdef _DEBUG -#define new DEBUG_NEW -#endif - - -// CUtil7443App - -BEGIN_MESSAGE_MAP(CUtil7443App, CWinAppEx) - ON_COMMAND(ID_HELP, &CWinApp::OnHelp) -END_MESSAGE_MAP() - - -// CUtil7443App construction - -CUtil7443App::CUtil7443App() -{ - // TODO: add construction code here, - // Place all significant initialization in InitInstance -} - - -// The one and only CUtil7443App object - -CUtil7443App theApp; - - -// CUtil7443App initialization - -BOOL CUtil7443App::InitInstance() -{ - int nCardID = 0; - I16 hCard; - CString strTemp; - INT_PTR nResponse; - - // InitCommonControlsEx() is required on Windows XP if an application - // manifest specifies use of ComCtl32.dll version 6 or later to enable - // visual styles. Otherwise, any window creation will fail. - INITCOMMONCONTROLSEX InitCtrls; - InitCtrls.dwSize = sizeof(InitCtrls); - // Set this to include all the common control classes you want to use - // in your application. - InitCtrls.dwICC = ICC_WIN95_CLASSES; - InitCommonControlsEx(&InitCtrls); - - CWinAppEx::InitInstance(); - - AfxEnableControlContainer(); - - // Standard initialization - // If you are not using these features and wish to reduce the size - // of your final executable, you should remove from the following - // the specific initialization routines you do not need - // Change the registry key under which our settings are stored - // TODO: You should modify this string to be something appropriate - // such as the name of your company or organization - SetRegistryKey(_T("Local AppWizard-Generated Applications")); - - - CCardIDDlg CardDlg( nCardID ); - - nResponse = CardDlg.DoModal(); - if (nResponse == IDOK) - { - nCardID = CardDlg.GetCardID(); - - if ((hCard=Register_Card(PCI_7443, nCardID)) < 0) - { - strTemp.Format( TEXT("Register_Card Error = %d"), hCard); - AfxMessageBox( strTemp ); - } - else - { - CUtil7443Dlg dlg(hCard); - m_pMainWnd = &dlg; - nResponse = dlg.DoModal(); - if (nResponse == IDOK) - { - // TODO: Place code here to handle when the dialog is - // dismissed with OK - } - else if (nResponse == IDCANCEL) - { - // TODO: Place code here to handle when the dialog is - // dismissed with Cancel - } - - if (hCard >= 0) Release_Card(hCard); - } - - } - else if (nResponse == IDCANCEL) - { - // TODO: Place code here to handle when the dialog is - // dismissed with Cancel - } - - - // Since the dialog has been closed, return FALSE so that we exit the - // application, rather than start the application's message pump. - return FALSE; -} diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7443/SDK7443TTL/Util7443.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7443/SDK7443TTL/Util7443.h deleted file mode 100644 index 11ce3b7..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7443/SDK7443TTL/Util7443.h +++ /dev/null @@ -1,32 +0,0 @@ - -// Util7443.h : main header file for the PROJECT_NAME application -// - -#pragma once - -#ifndef __AFXWIN_H__ - #error "include 'stdafx.h' before including this file for PCH" -#endif - -#include "resource.h" // main symbols - - -// CUtil7443App: -// See Util7443.cpp for the implementation of this class -// - -class CUtil7443App : public CWinAppEx -{ -public: - CUtil7443App(); - -// Overrides - public: - virtual BOOL InitInstance(); - -// Implementation - - DECLARE_MESSAGE_MAP() -}; - -extern CUtil7443App theApp; \ No newline at end of file diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7443/SDK7443TTL/Util7443.rc b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7443/SDK7443TTL/Util7443.rc deleted file mode 100644 index 99876be..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7443/SDK7443TTL/Util7443.rc +++ /dev/null @@ -1,339 +0,0 @@ -// Microsoft Visual C++ generated resource script. -// -#include "resource.h" - -#define APSTUDIO_READONLY_SYMBOLS -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 2 resource. -// -#ifndef APSTUDIO_INVOKED -#include "targetver.h" -#endif -#include "afxres.h" - -///////////////////////////////////////////////////////////////////////////// -#undef APSTUDIO_READONLY_SYMBOLS - -///////////////////////////////////////////////////////////////////////////// -// Chinese (Taiwan) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_CHT) -#ifdef _WIN32 -LANGUAGE LANG_CHINESE, SUBLANG_CHINESE_TRADITIONAL -#pragma code_page(950) -#endif //_WIN32 - -#ifdef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// TEXTINCLUDE -// - -1 TEXTINCLUDE -BEGIN - "resource.h\0" -END - -2 TEXTINCLUDE -BEGIN - "#ifndef APSTUDIO_INVOKED\r\n" - "#include ""targetver.h""\r\n" - "#endif\r\n" - "#include ""afxres.h""\r\n" - "\0" -END - -3 TEXTINCLUDE -BEGIN - "#define _AFX_NO_SPLITTER_RESOURCES\r\n" - "#define _AFX_NO_OLE_RESOURCES\r\n" - "#define _AFX_NO_TRACKER_RESOURCES\r\n" - "#define _AFX_NO_PROPERTY_RESOURCES\r\n" - "\r\n" - "#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)\r\n" - "LANGUAGE 9, 1\r\n" - "#pragma code_page(1252)\r\n" - "#include ""res\\Util7443.rc2"" // non-Microsoft Visual C++ edited resources\r\n" - "#include ""afxres.rc"" // Standard components\r\n" - "#endif\r\n" - "\0" -END - -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// Icon -// - -// Icon with lowest ID value placed first to ensure application icon -// remains consistent on all systems. -IDR_MAINFRAME ICON "res\\Util7443.ico" -#endif // Chinese (Taiwan) resources -///////////////////////////////////////////////////////////////////////////// - - -///////////////////////////////////////////////////////////////////////////// -// English (U.S.) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -#ifdef _WIN32 -LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US -#pragma code_page(1252) -#endif //_WIN32 - -///////////////////////////////////////////////////////////////////////////// -// -// Icon -// - -// Icon with lowest ID value placed first to ensure application icon -// remains consistent on all systems. -IDI_ICON_BLACK ICON "res\\black.ico" -IDI_ICON_GREEN ICON "res\\green.ico" -IDI_ICON_RED ICON "res\\red.ico" - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog -// - -IDD_ABOUTBOX DIALOGEX 0, 0, 170, 62 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "About Util7443" -FONT 8, "MS Shell Dlg", 0, 0, 0x1 -BEGIN - ICON IDR_MAINFRAME,IDC_STATIC,14,14,21,20 - LTEXT "Util7443, Version 1.0",IDC_STATIC,42,14,114,8,SS_NOPREFIX - LTEXT "Copyright (C) 2010",IDC_STATIC,42,26,114,8 - DEFPUSHBUTTON "OK",IDOK,113,41,50,14,WS_GROUP -END - -IDD_UTIL7443_DIALOG DIALOGEX 0, 0, 320, 159 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU -EXSTYLE WS_EX_APPWINDOW -CAPTION "PCI-7443" -FONT 8, "MS Shell Dlg", 0, 0, 0x1 -BEGIN - LTEXT "Select port TTL port0 or port1 for DI or DO",IDC_STATIC,6,6,233,12 - ICON IDI_ICON_BLACK,IDC_ICON_DI00,276,54,20,20 - ICON IDI_ICON_BLACK,IDC_ICON_DI01,258,54,20,20 - ICON IDI_ICON_BLACK,IDC_ICON_DI02,240,54,20,20 - ICON IDI_ICON_BLACK,IDC_ICON_DI03,222,54,20,20 - ICON IDI_ICON_BLACK,IDC_ICON_DI04,204,54,20,20 - ICON IDI_ICON_BLACK,IDC_ICON_DI05,186,54,20,20 - ICON IDI_ICON_BLACK,IDC_ICON_DI06,168,54,20,20 - ICON IDI_ICON_BLACK,IDC_ICON_DI07,150,54,20,20 - ICON IDI_ICON_BLACK,IDC_ICON_DI08,132,54,20,20 - ICON IDI_ICON_BLACK,IDC_ICON_DI09,114,54,20,20 - ICON IDI_ICON_BLACK,IDC_ICON_DI10,96,54,20,20 - ICON IDI_ICON_BLACK,IDC_ICON_DI11,78,54,20,20 - ICON IDI_ICON_BLACK,IDC_ICON_DI12,60,54,20,20 - ICON IDI_ICON_BLACK,IDC_ICON_DI13,42,54,20,20 - ICON IDI_ICON_BLACK,IDC_ICON_DI14,24,54,20,20 - ICON IDI_ICON_BLACK,IDC_ICON_DI15,6,54,20,20 - GROUPBOX "",IDC_STATIC,6,48,294,39 - COMBOBOX IDC_COMBO_DI_PORT,84,34,48,36,CBS_DROPDOWN | WS_VSCROLL | WS_TABSTOP - LTEXT "Digital Input#",IDC_STATIC_DI,24,34,48,12 - CONTROL "",IDC_CHECK_DO00,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,284,120,12,12 - CONTROL "",IDC_CHECK_DO01,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,266,120,12,12 - CONTROL "",IDC_CHECK_DO02,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,248,120,12,12 - CONTROL "",IDC_CHECK_DO03,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,230,120,12,12 - CONTROL "",IDC_CHECK_DO04,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,212,120,12,12 - CONTROL "",IDC_CHECK_DO05,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,194,120,12,12 - CONTROL "",IDC_CHECK_DO06,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,176,120,12,12 - CONTROL "",IDC_CHECK_DO07,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,158,120,12,12 - CONTROL "",IDC_CHECK_DO08,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,140,120,12,12 - CONTROL "",IDC_CHECK_DO09,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,122,120,12,12 - CONTROL "",IDC_CHECK_DO10,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,104,120,12,12 - CONTROL "",IDC_CHECK_DO11,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,86,120,12,12 - CONTROL "",IDC_CHECK_DO12,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,68,120,12,12 - CONTROL "",IDC_CHECK_DO13,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,50,120,12,12 - CONTROL "",IDC_CHECK_DO14,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,32,120,12,12 - CONTROL "",IDC_CHECK_DO15,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,14,120,12,12 - GROUPBOX "",IDC_STATIC,6,108,306,39 - LTEXT "Digital Output#",IDC_STATIC_DO,24,96,54,12 - COMBOBOX IDC_COMBO_DO_PORT,84,96,48,36,CBS_DROPDOWN | WS_VSCROLL | WS_TABSTOP - LTEXT " 15 0",IDC_STATIC,7,71,289,13 - LTEXT " 15 0",IDC_STATIC,7,132,289,13 -END - -IDD_CARDID_DIALOG DIALOGEX 0, 0, 184, 96 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "Card ID" -FONT 8, "MS Shell Dlg", 400, 0, 0x1 -BEGIN - COMBOBOX IDC_COMBO_CARDID,83,24,71,126,CBS_DROPDOWN | WS_VSCROLL | WS_TABSTOP - LTEXT "Card Number",IDC_STATIC_01,29,25,46,12 - PUSHBUTTON "OK",IDOK,30,57,58,19 - PUSHBUTTON "CANCEL",IDCANCEL,94,57,58,19 -END - - -///////////////////////////////////////////////////////////////////////////// -// -// Version -// - -VS_VERSION_INFO VERSIONINFO - FILEVERSION 1,0,0,1 - PRODUCTVERSION 1,0,0,1 - FILEFLAGSMASK 0x3fL -#ifdef _DEBUG - FILEFLAGS 0x1L -#else - FILEFLAGS 0x0L -#endif - FILEOS 0x4L - FILETYPE 0x1L - FILESUBTYPE 0x0L -BEGIN - BLOCK "StringFileInfo" - BEGIN - BLOCK "040904e4" - BEGIN - VALUE "CompanyName", "TODO: " - VALUE "FileDescription", "TODO: " - VALUE "FileVersion", "1.0.0.1" - VALUE "InternalName", "Util7443.exe" - VALUE "LegalCopyright", "TODO: (c) . All rights reserved." - VALUE "OriginalFilename", "Util7443.exe" - VALUE "ProductName", "TODO: " - VALUE "ProductVersion", "1.0.0.1" - END - END - BLOCK "VarFileInfo" - BEGIN - VALUE "Translation", 0x409, 1252 - END -END - - -///////////////////////////////////////////////////////////////////////////// -// -// DESIGNINFO -// - -#ifdef APSTUDIO_INVOKED -GUIDELINES DESIGNINFO -BEGIN - IDD_ABOUTBOX, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 163 - TOPMARGIN, 7 - BOTTOMMARGIN, 55 - END - - IDD_UTIL7443_DIALOG, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 313 - TOPMARGIN, 7 - BOTTOMMARGIN, 152 - END - - IDD_CARDID_DIALOG, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 177 - TOPMARGIN, 7 - BOTTOMMARGIN, 89 - END -END -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog Info -// - -IDD_UTIL7443_DIALOG DLGINIT -BEGIN - IDC_COMBO_DI_PORT, 0x403, 5, 0 -0x5454, 0x304c, "\000" - IDC_COMBO_DI_PORT, 0x403, 5, 0 -0x5454, 0x314c, "\000" - IDC_COMBO_DO_PORT, 0x403, 5, 0 -0x5454, 0x304c, "\000" - IDC_COMBO_DO_PORT, 0x403, 5, 0 -0x5454, 0x314c, "\000" - 0 -END - -IDD_CARDID_DIALOG DLGINIT -BEGIN - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0030, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0031, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0032, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0033, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0034, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0035, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0036, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0037, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0038, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0039, - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3031, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3131, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3231, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3331, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3431, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3531, "\000" - 0 -END - - -///////////////////////////////////////////////////////////////////////////// -// -// String Table -// - -STRINGTABLE -BEGIN - IDS_ABOUTBOX "&About Util7443..." -END - -#endif // English (U.S.) resources -///////////////////////////////////////////////////////////////////////////// - - - -#ifndef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 3 resource. -// -#define _AFX_NO_SPLITTER_RESOURCES -#define _AFX_NO_OLE_RESOURCES -#define _AFX_NO_TRACKER_RESOURCES -#define _AFX_NO_PROPERTY_RESOURCES - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -LANGUAGE 9, 1 -#pragma code_page(1252) -#include "res\Util7443.rc2" // non-Microsoft Visual C++ edited resources -#include "afxres.rc" // Standard components -#endif - -///////////////////////////////////////////////////////////////////////////// -#endif // not APSTUDIO_INVOKED - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7443/SDK7443TTL/Util7443.sln b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7443/SDK7443TTL/Util7443.sln deleted file mode 100644 index 1263fe4..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7443/SDK7443TTL/Util7443.sln +++ /dev/null @@ -1,20 +0,0 @@ - -Microsoft Visual Studio Solution File, Format Version 10.00 -# Visual Studio 2008 -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "Util7443", "Util7443.vcproj", "{22DC78AE-F54C-4327-AF49-CCCB0A3D9759}" -EndProject -Global - GlobalSection(SolutionConfigurationPlatforms) = preSolution - Debug|x64 = Debug|x64 - Release|x64 = Release|x64 - EndGlobalSection - GlobalSection(ProjectConfigurationPlatforms) = postSolution - {22DC78AE-F54C-4327-AF49-CCCB0A3D9759}.Debug|x64.ActiveCfg = Debug|x64 - {22DC78AE-F54C-4327-AF49-CCCB0A3D9759}.Debug|x64.Build.0 = Debug|x64 - {22DC78AE-F54C-4327-AF49-CCCB0A3D9759}.Release|x64.ActiveCfg = Release|x64 - {22DC78AE-F54C-4327-AF49-CCCB0A3D9759}.Release|x64.Build.0 = Release|x64 - EndGlobalSection - GlobalSection(SolutionProperties) = preSolution - HideSolutionNode = FALSE - EndGlobalSection -EndGlobal diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7443/SDK7443TTL/Util7443.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7443/SDK7443TTL/Util7443.suo deleted file mode 100644 index 92d5049..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7443/SDK7443TTL/Util7443.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7443/SDK7443TTL/Util7443.vcproj b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7443/SDK7443TTL/Util7443.vcproj deleted file mode 100644 index 58b40eb..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7443/SDK7443TTL/Util7443.vcproj +++ /dev/null @@ -1,298 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7443/SDK7443TTL/Util7443Dlg.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7443/SDK7443TTL/Util7443Dlg.cpp deleted file mode 100644 index fc27073..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7443/SDK7443TTL/Util7443Dlg.cpp +++ /dev/null @@ -1,814 +0,0 @@ - -// Util7443Dlg.cpp : implementation file -// - -#include "stdafx.h" -#include "Util7443.h" -#include "Util7443Dlg.h" - -#ifdef _DEBUG -#define new DEBUG_NEW -#endif - - -// CAboutDlg dialog used for App About - -class CAboutDlg : public CDialog -{ -public: - CAboutDlg(); - -// Dialog Data - enum { IDD = IDD_ABOUTBOX }; - - protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - -// Implementation -protected: - DECLARE_MESSAGE_MAP() -}; - -CAboutDlg::CAboutDlg() : CDialog(CAboutDlg::IDD) -{ -} - -void CAboutDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); -} - -BEGIN_MESSAGE_MAP(CAboutDlg, CDialog) -END_MESSAGE_MAP() - - -// CUtil7443Dlg dialog - - - - -CUtil7443Dlg::CUtil7443Dlg(I16 hCard, CWnd* pParent /*=NULL*/) - : CDialog(CUtil7443Dlg::IDD, pParent) -{ - m_hIcon = AfxGetApp()->LoadIcon(IDR_MAINFRAME); - - m_hCard = hCard; - m_nTimer = -1; - - m_dwInData = 0x00000000; - m_dwOutData = 0x00000000; -} - -void CUtil7443Dlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); - DDX_Control(pDX, IDC_ICON_DI00, m_Icon_DI00); - DDX_Control(pDX, IDC_ICON_DI01, m_Icon_DI01); - DDX_Control(pDX, IDC_ICON_DI02, m_Icon_DI02); - DDX_Control(pDX, IDC_ICON_DI03, m_Icon_DI03); - DDX_Control(pDX, IDC_ICON_DI04, m_Icon_DI04); - DDX_Control(pDX, IDC_ICON_DI05, m_Icon_DI05); - DDX_Control(pDX, IDC_ICON_DI06, m_Icon_DI06); - DDX_Control(pDX, IDC_ICON_DI07, m_Icon_DI07); - DDX_Control(pDX, IDC_ICON_DI08, m_Icon_DI08); - DDX_Control(pDX, IDC_ICON_DI09, m_Icon_DI09); - DDX_Control(pDX, IDC_ICON_DI10, m_Icon_DI10); - DDX_Control(pDX, IDC_ICON_DI11, m_Icon_DI11); - DDX_Control(pDX, IDC_ICON_DI12, m_Icon_DI12); - DDX_Control(pDX, IDC_ICON_DI13, m_Icon_DI13); - DDX_Control(pDX, IDC_ICON_DI14, m_Icon_DI14); - DDX_Control(pDX, IDC_ICON_DI15, m_Icon_DI15); - DDX_Control(pDX, IDC_COMBO_DI_PORT, m_cbPortDI); - DDX_Control(pDX, IDC_COMBO_DO_PORT, m_cbPortDO); -} - -BEGIN_MESSAGE_MAP(CUtil7443Dlg, CDialog) - ON_WM_SYSCOMMAND() - ON_WM_PAINT() - ON_WM_QUERYDRAGICON() - //}}AFX_MSG_MAP - ON_WM_CTLCOLOR() - ON_WM_DESTROY() - ON_CBN_SELCHANGE(IDC_COMBO_DI_PORT, &CUtil7443Dlg::OnDIPortSelchange) - ON_CBN_SELCHANGE(IDC_COMBO_DO_PORT, &CUtil7443Dlg::OnDOPortSelchange) - ON_WM_TIMER() - ON_BN_CLICKED(IDC_CHECK_DO00, &CUtil7443Dlg::OnOut00) - ON_BN_CLICKED(IDC_CHECK_DO01, &CUtil7443Dlg::OnOut01) - ON_BN_CLICKED(IDC_CHECK_DO02, &CUtil7443Dlg::OnOut02) - ON_BN_CLICKED(IDC_CHECK_DO03, &CUtil7443Dlg::OnOut03) - ON_BN_CLICKED(IDC_CHECK_DO04, &CUtil7443Dlg::OnOut04) - ON_BN_CLICKED(IDC_CHECK_DO05, &CUtil7443Dlg::OnOut05) - ON_BN_CLICKED(IDC_CHECK_DO06, &CUtil7443Dlg::OnOut06) - ON_BN_CLICKED(IDC_CHECK_DO07, &CUtil7443Dlg::OnOut07) - ON_BN_CLICKED(IDC_CHECK_DO08, &CUtil7443Dlg::OnOut08) - ON_BN_CLICKED(IDC_CHECK_DO09, &CUtil7443Dlg::OnOut09) - ON_BN_CLICKED(IDC_CHECK_DO10, &CUtil7443Dlg::OnOut10) - ON_BN_CLICKED(IDC_CHECK_DO11, &CUtil7443Dlg::OnOut11) - ON_BN_CLICKED(IDC_CHECK_DO12, &CUtil7443Dlg::OnOut12) - ON_BN_CLICKED(IDC_CHECK_DO13, &CUtil7443Dlg::OnOut13) - ON_BN_CLICKED(IDC_CHECK_DO14, &CUtil7443Dlg::OnOut14) - ON_BN_CLICKED(IDC_CHECK_DO15, &CUtil7443Dlg::OnOut15) -END_MESSAGE_MAP() - - -// CUtil7443Dlg message handlers - -BOOL CUtil7443Dlg::OnInitDialog() -{ - CDialog::OnInitDialog(); - - // Add "About..." menu item to system menu. - - // IDM_ABOUTBOX must be in the system command range. - ASSERT((IDM_ABOUTBOX & 0xFFF0) == IDM_ABOUTBOX); - ASSERT(IDM_ABOUTBOX < 0xF000); - - CMenu* pSysMenu = GetSystemMenu(FALSE); - if (pSysMenu != NULL) - { - BOOL bNameValid; - CString strAboutMenu; - bNameValid = strAboutMenu.LoadString(IDS_ABOUTBOX); - ASSERT(bNameValid); - if (!strAboutMenu.IsEmpty()) - { - pSysMenu->AppendMenu(MF_SEPARATOR); - pSysMenu->AppendMenu(MF_STRING, IDM_ABOUTBOX, strAboutMenu); - } - } - - // Set the icon for this dialog. The framework does this automatically - // when the application's main window is not a dialog - SetIcon(m_hIcon, TRUE); // Set big icon - SetIcon(m_hIcon, FALSE); // Set small icon - - // TODO: Add extra initialization here - - m_wInPort = P7443_TTL0; - m_wOutPort = P7443_TTL1; - - m_cbPortDI.SetCurSel( 0 ); - m_cbPortDO.SetCurSel( 1 ); - - DIO_PortConfig(m_hCard, m_wInPort, INPUT_PORT); - DIO_PortConfig(m_hCard, m_wOutPort, OUTPUT_PORT); - - m_nTimer = SetTimer( 1, 250, NULL ); - - return TRUE; // return TRUE unless you set the focus to a control -} - -void CUtil7443Dlg::OnSysCommand(UINT nID, LPARAM lParam) -{ - if ((nID & 0xFFF0) == IDM_ABOUTBOX) - { - CAboutDlg dlgAbout; - dlgAbout.DoModal(); - } - else - { - CDialog::OnSysCommand(nID, lParam); - } -} - -// If you add a minimize button to your dialog, you will need the code below -// to draw the icon. For MFC applications using the document/view model, -// this is automatically done for you by the framework. - -void CUtil7443Dlg::OnPaint() -{ - if (IsIconic()) - { - CPaintDC dc(this); // device context for painting - - SendMessage(WM_ICONERASEBKGND, reinterpret_cast(dc.GetSafeHdc()), 0); - - // Center icon in client rectangle - int cxIcon = GetSystemMetrics(SM_CXICON); - int cyIcon = GetSystemMetrics(SM_CYICON); - CRect rect; - GetClientRect(&rect); - int x = (rect.Width() - cxIcon + 1) / 2; - int y = (rect.Height() - cyIcon + 1) / 2; - - // Draw the icon - dc.DrawIcon(x, y, m_hIcon); - } - else - { - CDialog::OnPaint(); - } -} - -// The system calls this function to obtain the cursor to display while the user drags -// the minimized window. -HCURSOR CUtil7443Dlg::OnQueryDragIcon() -{ - return static_cast(m_hIcon); -} - - -HBRUSH CUtil7443Dlg::OnCtlColor(CDC* pDC, CWnd* pWnd, UINT nCtlColor) -{ - HBRUSH hbr = CDialog::OnCtlColor(pDC, pWnd, nCtlColor); - - // TODO: Change any attributes of the DC here - if ( pWnd->GetDlgCtrlID() == IDC_STATIC_DI ) - pDC->SetTextColor(RGB(0,0,255)); - - if ( pWnd->GetDlgCtrlID() == IDC_STATIC_DO ) - pDC->SetTextColor(RGB(255,0,0)); - - // TODO: Return a different brush if the default is not desired - return hbr; -} - -void CUtil7443Dlg::OnDestroy() -{ - CDialog::OnDestroy(); - - // TODO: Add your message handler code here - - if( m_nTimer != -1 ) - { - KillTimer( m_nTimer ); - m_nTimer = -1; - } -} - -void CUtil7443Dlg::OnDIPortSelchange() -{ - // TODO: Add your control notification handler code here - int nIndex; - - nIndex = m_cbPortDI.GetCurSel(); - switch( nIndex ) - { - case 0: - m_wInPort = P7443_TTL0; - break; - case 1: - m_wInPort = P7443_TTL1; - break; - } - - DIO_PortConfig(m_hCard, m_wInPort, INPUT_PORT); - -} - -void CUtil7443Dlg::OnDOPortSelchange() -{ - // TODO: Add your control notification handler code here - int nIndex; - - nIndex = m_cbPortDO.GetCurSel(); - switch( nIndex ) - { - case 0: - m_wOutPort = P7443_TTL0; - break; - case 1: - m_wOutPort = P7443_TTL1; - break; - } - - m_dwOutData = 0x00000000; - DIO_PortConfig(m_hCard, m_wOutPort, OUTPUT_PORT); - DO_WritePort( m_hCard, m_wOutPort, m_dwOutData ); - - ((CButton*)GetDlgItem(IDC_CHECK_DO00))->SetCheck( BST_UNCHECKED ); - ((CButton*)GetDlgItem(IDC_CHECK_DO01))->SetCheck( BST_UNCHECKED ); - ((CButton*)GetDlgItem(IDC_CHECK_DO02))->SetCheck( BST_UNCHECKED ); - ((CButton*)GetDlgItem(IDC_CHECK_DO03))->SetCheck( BST_UNCHECKED ); - ((CButton*)GetDlgItem(IDC_CHECK_DO04))->SetCheck( BST_UNCHECKED ); - ((CButton*)GetDlgItem(IDC_CHECK_DO05))->SetCheck( BST_UNCHECKED ); - ((CButton*)GetDlgItem(IDC_CHECK_DO06))->SetCheck( BST_UNCHECKED ); - ((CButton*)GetDlgItem(IDC_CHECK_DO07))->SetCheck( BST_UNCHECKED ); - ((CButton*)GetDlgItem(IDC_CHECK_DO08))->SetCheck( BST_UNCHECKED ); - ((CButton*)GetDlgItem(IDC_CHECK_DO09))->SetCheck( BST_UNCHECKED ); - ((CButton*)GetDlgItem(IDC_CHECK_DO10))->SetCheck( BST_UNCHECKED ); - ((CButton*)GetDlgItem(IDC_CHECK_DO11))->SetCheck( BST_UNCHECKED ); - ((CButton*)GetDlgItem(IDC_CHECK_DO12))->SetCheck( BST_UNCHECKED ); - ((CButton*)GetDlgItem(IDC_CHECK_DO13))->SetCheck( BST_UNCHECKED ); - ((CButton*)GetDlgItem(IDC_CHECK_DO14))->SetCheck( BST_UNCHECKED ); - ((CButton*)GetDlgItem(IDC_CHECK_DO15))->SetCheck( BST_UNCHECKED ); -} - -void CUtil7443Dlg::OnTimer(UINT_PTR nIDEvent) -{ - // TODO: Add your message handler code here and/or call default - U32 dwPortData, dwChangeMask; - - DI_ReadPort(m_hCard, m_wInPort ,&dwPortData); - dwChangeMask = dwPortData ^ m_dwInData; - - if( dwChangeMask != 0x00 ) // Input had been changed - { - m_dwInData = dwPortData; // update the DI data - - if( (dwChangeMask & 0x01) == 0x01 ) // if the target bit is changed - { - if( (dwPortData & 0x01) == 0x01 ) - { - m_Icon_DI00.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_DI00.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - - if( (dwChangeMask & 0x02) == 0x02 ) // if the target bit is changed - { - if( (dwPortData & 0x02) == 0x02 ) - { - m_Icon_DI01.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_DI01.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - if( (dwChangeMask & 0x04) == 0x04 ) // if the target bit is changed - { - if( (dwPortData & 0x04) == 0x04 ) - { - m_Icon_DI02.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_DI02.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - - if( (dwChangeMask & 0x08) == 0x08 ) // if the target bit is changed - { - if( (dwPortData & 0x08) == 0x08 ) - { - m_Icon_DI03.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_DI03.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - if( (dwChangeMask & 0x10) == 0x10 ) // if the target bit is changed - { - if( (dwPortData & 0x10) == 0x10 ) - { - m_Icon_DI04.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_DI04.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - if( (dwChangeMask & 0x20) == 0x20 ) // if the target bit is changed - { - if( (dwPortData & 0x20) == 0x20 ) - { - m_Icon_DI05.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_DI05.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - - if( (dwChangeMask & 0x40) == 0x40 ) // if the target bit is changed - { - if( (dwPortData & 0x40) == 0x40 ) - { - m_Icon_DI06.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_DI06.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - - if( (dwChangeMask & 0x80) == 0x80 ) // if the target bit is changed - { - if( (dwPortData & 0x80) == 0x80 ) - { - m_Icon_DI07.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_DI07.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - - if( (dwChangeMask & 0x100) == 0x100 ) // if the target bit is changed - { - if( (dwPortData & 0x100) == 0x100 ) - { - m_Icon_DI08.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_DI08.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - if( (dwChangeMask & 0x200) == 0x200 ) // if the target bit is changed - { - if( (dwPortData & 0x200) == 0x200 ) - { - m_Icon_DI09.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_DI09.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - if( (dwChangeMask & 0x400) == 0x400 ) // if the target bit is changed - { - if( (dwPortData & 0x400) == 0x400 ) - { - m_Icon_DI10.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_DI10.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - if( (dwChangeMask & 0x800) == 0x800 ) // if the target bit is changed - { - if( (dwPortData & 0x800) == 0x800 ) - { - m_Icon_DI11.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_DI11.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - if( (dwChangeMask & 0x1000) == 0x1000 ) // if the target bit is changed - { - if( (dwPortData & 0x1000) == 0x1000 ) - { - m_Icon_DI12.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_DI12.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - if( (dwChangeMask & 0x2000) == 0x2000 ) // if the target bit is changed - { - if( (dwPortData & 0x2000) == 0x2000 ) - { - m_Icon_DI13.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_DI13.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - if( (dwChangeMask & 0x4000) == 0x4000 ) // if the target bit is changed - { - if( (dwPortData & 0x4000) == 0x4000 ) - { - m_Icon_DI14.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_DI14.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - if( (dwChangeMask & 0x8000) == 0x8000 ) // if the target bit is changed - { - if( (dwPortData & 0x8000) == 0x8000 ) - { - m_Icon_DI15.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_DI15.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - } - - CDialog::OnTimer(nIDEvent); -} - -void CUtil7443Dlg::OnOut00() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_DO00 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_dwOutData |= 0x01; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_dwOutData &= (~0x01); - } - - DO_WritePort( m_hCard, m_wOutPort, m_dwOutData ); - -} - -void CUtil7443Dlg::OnOut01() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_DO01 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_dwOutData |= 0x02; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_dwOutData &= (~0x02); - } - - DO_WritePort( m_hCard, m_wOutPort, m_dwOutData ); -} - -void CUtil7443Dlg::OnOut02() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_DO02 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_dwOutData |= 0x04; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_dwOutData &= (~0x04); - } - - DO_WritePort( m_hCard, m_wOutPort, m_dwOutData ); -} - -void CUtil7443Dlg::OnOut03() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_DO03 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_dwOutData |= 0x08; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_dwOutData &= (~0x08); - } - - DO_WritePort( m_hCard, m_wOutPort, m_dwOutData ); -} - -void CUtil7443Dlg::OnOut04() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_DO04 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_dwOutData |= 0x10; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_dwOutData &= (~0x10); - } - - DO_WritePort( m_hCard, m_wOutPort, m_dwOutData ); -} - -void CUtil7443Dlg::OnOut05() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_DO05 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_dwOutData |= 0x20; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_dwOutData &= (~0x20); - } - - DO_WritePort( m_hCard, m_wOutPort, m_dwOutData ); -} - -void CUtil7443Dlg::OnOut06() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_DO06 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_dwOutData |= 0x40; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_dwOutData &= (~0x40); - } - - DO_WritePort( m_hCard, m_wOutPort, m_dwOutData ); -} - -void CUtil7443Dlg::OnOut07() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_DO07 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_dwOutData |= 0x80; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_dwOutData &= (~0x80); - } - - DO_WritePort( m_hCard, m_wOutPort, m_dwOutData ); -} - -void CUtil7443Dlg::OnOut08() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_DO08 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_dwOutData |= 0x100; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_dwOutData &= (~0x100); - } - - DO_WritePort( m_hCard, m_wOutPort, m_dwOutData ); -} - -void CUtil7443Dlg::OnOut09() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_DO09 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_dwOutData |= 0x200; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_dwOutData &= (~0x200); - } - - DO_WritePort( m_hCard, m_wOutPort, m_dwOutData ); -} - -void CUtil7443Dlg::OnOut10() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_DO10 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_dwOutData |= 0x400; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_dwOutData &= (~0x400); - } - - DO_WritePort( m_hCard, m_wOutPort, m_dwOutData ); -} - -void CUtil7443Dlg::OnOut11() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_DO11 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_dwOutData |= 0x800; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_dwOutData &= (~0x800); - } - - DO_WritePort( m_hCard, m_wOutPort, m_dwOutData ); -} - -void CUtil7443Dlg::OnOut12() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_DO12 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_dwOutData |= 0x1000; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_dwOutData &= (~0x1000); - } - - DO_WritePort( m_hCard, m_wOutPort, m_dwOutData ); -} - -void CUtil7443Dlg::OnOut13() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_DO13 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_dwOutData |= 0x2000; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_dwOutData &= (~0x2000); - } - - DO_WritePort( m_hCard, m_wOutPort, m_dwOutData ); -} - -void CUtil7443Dlg::OnOut14() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_DO14 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_dwOutData |= 0x4000; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_dwOutData &= (~0x4000); - } - - DO_WritePort( m_hCard, m_wOutPort, m_dwOutData ); -} - -void CUtil7443Dlg::OnOut15() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_DO15 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_dwOutData |= 0x8000; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_dwOutData &= (~0x8000); - } - - DO_WritePort( m_hCard, m_wOutPort, m_dwOutData ); -} diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7443/SDK7443TTL/Util7443Dlg.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7443/SDK7443TTL/Util7443Dlg.h deleted file mode 100644 index 54e5ced..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7443/SDK7443TTL/Util7443Dlg.h +++ /dev/null @@ -1,83 +0,0 @@ - -// Util7443Dlg.h : header file -// -#include "Dask64.h" - - -#pragma once - - -// CUtil7443Dlg dialog -class CUtil7443Dlg : public CDialog -{ -// Construction -public: - CUtil7443Dlg(I16 hCard, CWnd* pParent = NULL); // standard constructor - -// Dialog Data - enum { IDD = IDD_UTIL7443_DIALOG }; - - protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - - -// Implementation -protected: - HICON m_hIcon; - UINT_PTR m_nTimer; - I16 m_hCard; - U16 m_wInPort; - U16 m_wOutPort; - U32 m_dwInData; - U32 m_dwOutData; - - -public: - CStatic m_Icon_DI00; - CStatic m_Icon_DI01; - CStatic m_Icon_DI02; - CStatic m_Icon_DI03; - CStatic m_Icon_DI04; - CStatic m_Icon_DI05; - CStatic m_Icon_DI06; - CStatic m_Icon_DI07; - CStatic m_Icon_DI08; - CStatic m_Icon_DI09; - CStatic m_Icon_DI10; - CStatic m_Icon_DI11; - CStatic m_Icon_DI12; - CStatic m_Icon_DI13; - CStatic m_Icon_DI14; - CStatic m_Icon_DI15; - CComboBox m_cbPortDI; - CComboBox m_cbPortDO; - - // Generated message map functions - virtual BOOL OnInitDialog(); - afx_msg void OnSysCommand(UINT nID, LPARAM lParam); - afx_msg void OnPaint(); - afx_msg HCURSOR OnQueryDragIcon(); - DECLARE_MESSAGE_MAP() -public: - afx_msg HBRUSH OnCtlColor(CDC* pDC, CWnd* pWnd, UINT nCtlColor); - afx_msg void OnDestroy(); - afx_msg void OnDIPortSelchange(); - afx_msg void OnDOPortSelchange(); - afx_msg void OnTimer(UINT_PTR nIDEvent); - afx_msg void OnOut00(); - afx_msg void OnOut01(); - afx_msg void OnOut02(); - afx_msg void OnOut03(); - afx_msg void OnOut04(); - afx_msg void OnOut05(); - afx_msg void OnOut06(); - afx_msg void OnOut07(); - afx_msg void OnOut08(); - afx_msg void OnOut09(); - afx_msg void OnOut10(); - afx_msg void OnOut11(); - afx_msg void OnOut12(); - afx_msg void OnOut13(); - afx_msg void OnOut14(); - afx_msg void OnOut15(); -}; diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7443/SDK7443TTL/res/Util7443.ico b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7443/SDK7443TTL/res/Util7443.ico deleted file mode 100644 index d56fbcd..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7443/SDK7443TTL/res/Util7443.ico and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7443/SDK7443TTL/res/Util7443.rc2 b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7443/SDK7443TTL/res/Util7443.rc2 deleted file mode 100644 index af06134..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7443/SDK7443TTL/res/Util7443.rc2 +++ /dev/null @@ -1,13 +0,0 @@ -// -// Util7443.RC2 - resources Microsoft Visual C++ does not edit directly -// - -#ifdef APSTUDIO_INVOKED -#error this file is not editable by Microsoft Visual C++ -#endif //APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// Add manually edited resources here... - -///////////////////////////////////////////////////////////////////////////// diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7443/SDK7443TTL/res/black.ico b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7443/SDK7443TTL/res/black.ico deleted file mode 100644 index b5c375f..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7443/SDK7443TTL/res/black.ico and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7443/SDK7443TTL/res/green.ico b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7443/SDK7443TTL/res/green.ico deleted file mode 100644 index d9a9fd3..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7443/SDK7443TTL/res/green.ico and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7443/SDK7443TTL/res/red.ico b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7443/SDK7443TTL/res/red.ico deleted file mode 100644 index 7644596..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7443/SDK7443TTL/res/red.ico and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7443/SDK7443TTL/resource.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7443/SDK7443TTL/resource.h deleted file mode 100644 index 4048088..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7443/SDK7443TTL/resource.h +++ /dev/null @@ -1,62 +0,0 @@ -//{{NO_DEPENDENCIES}} -// Microsoft Visual C++ generated include file. -// Used by Util7443.rc -// -#define IDM_ABOUTBOX 0x0010 -#define IDD_ABOUTBOX 100 -#define IDS_ABOUTBOX 101 -#define IDD_UTIL7443_DIALOG 102 -#define IDR_MAINFRAME 128 -#define IDI_ICON_BLACK 129 -#define IDI_ICON_GREEN 130 -#define IDI_ICON_RED 131 -#define IDD_CARDID_DIALOG 133 -#define IDC_COMBO_CARDID 1000 -#define IDC_COMBO_DI_PORT 1001 -#define IDC_STATIC_DI 1002 -#define IDC_CHECK_DO00 1003 -#define IDC_CHECK_DO01 1004 -#define IDC_ICON_DI00 1005 -#define IDC_ICON_DI01 1006 -#define IDC_ICON_DI02 1007 -#define IDC_ICON_DI03 1008 -#define IDC_ICON_DI04 1009 -#define IDC_ICON_DI05 1010 -#define IDC_ICON_DI06 1011 -#define IDC_ICON_DI07 1012 -#define IDC_ICON_DI08 1013 -#define IDC_ICON_DI09 1014 -#define IDC_STATIC_01 1014 -#define IDC_ICON_DI10 1015 -#define IDC_ICON_DI11 1016 -#define IDC_ICON_DI12 1017 -#define IDC_ICON_DI13 1018 -#define IDC_ICON_DI14 1019 -#define IDC_ICON_DI15 1020 -#define IDC_CHECK_DO02 1021 -#define IDC_CHECK_DO03 1022 -#define IDC_CHECK_DO04 1023 -#define IDC_CHECK_DO05 1024 -#define IDC_CHECK_DO06 1025 -#define IDC_CHECK_DO07 1026 -#define IDC_CHECK_DO08 1027 -#define IDC_CHECK_DO09 1028 -#define IDC_CHECK_DO10 1029 -#define IDC_CHECK_DO11 1030 -#define IDC_CHECK_DO12 1031 -#define IDC_CHECK_DO13 1032 -#define IDC_CHECK_DO14 1033 -#define IDC_CHECK_DO15 1034 -#define IDC_STATIC_DO 1035 -#define IDC_COMBO_DO_PORT 1036 - -// Next default values for new objects -// -#ifdef APSTUDIO_INVOKED -#ifndef APSTUDIO_READONLY_SYMBOLS -#define _APS_NEXT_RESOURCE_VALUE 135 -#define _APS_NEXT_COMMAND_VALUE 32771 -#define _APS_NEXT_CONTROL_VALUE 1004 -#define _APS_NEXT_SYMED_VALUE 101 -#endif -#endif diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7443/SDK7443TTL/stdafx.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7443/SDK7443TTL/stdafx.cpp deleted file mode 100644 index 774f198..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7443/SDK7443TTL/stdafx.cpp +++ /dev/null @@ -1,8 +0,0 @@ - -// stdafx.cpp : source file that includes just the standard includes -// Util7443.pch will be the pre-compiled header -// stdafx.obj will contain the pre-compiled type information - -#include "stdafx.h" - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7443/SDK7443TTL/stdafx.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7443/SDK7443TTL/stdafx.h deleted file mode 100644 index 12123e2..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7443/SDK7443TTL/stdafx.h +++ /dev/null @@ -1,60 +0,0 @@ - -// stdafx.h : include file for standard system include files, -// or project specific include files that are used frequently, -// but are changed infrequently - -#pragma once - -#ifndef _SECURE_ATL -#define _SECURE_ATL 1 -#endif - -#ifndef VC_EXTRALEAN -#define VC_EXTRALEAN // Exclude rarely-used stuff from Windows headers -#endif - -#include "targetver.h" - -#define _ATL_CSTRING_EXPLICIT_CONSTRUCTORS // some CString constructors will be explicit - -// turns off MFC's hiding of some common and often safely ignored warning messages -#define _AFX_ALL_WARNINGS - -#include // MFC core and standard components -#include // MFC extensions - - -#include // MFC Automation classes - - - -#ifndef _AFX_NO_OLE_SUPPORT -#include // MFC support for Internet Explorer 4 Common Controls -#endif -#ifndef _AFX_NO_AFXCMN_SUPPORT -#include // MFC support for Windows Common Controls -#endif // _AFX_NO_AFXCMN_SUPPORT - -#include // MFC support for ribbons and control bars - - - - - - - - - -#ifdef _UNICODE -#if defined _M_IX86 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='x86' publicKeyToken='6595b64144ccf1df' language='*'\"") -#elif defined _M_IA64 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='ia64' publicKeyToken='6595b64144ccf1df' language='*'\"") -#elif defined _M_X64 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='amd64' publicKeyToken='6595b64144ccf1df' language='*'\"") -#else -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='*' publicKeyToken='6595b64144ccf1df' language='*'\"") -#endif -#endif - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7443/SDK7443TTL/targetver.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7443/SDK7443TTL/targetver.h deleted file mode 100644 index 11730d5..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7443/SDK7443TTL/targetver.h +++ /dev/null @@ -1,26 +0,0 @@ - -#pragma once - -// The following macros define the minimum required platform. The minimum required platform -// is the earliest version of Windows, Internet Explorer etc. that has the necessary features to run -// your application. The macros work by enabling all features available on platform versions up to and -// including the version specified. - -// Modify the following defines if you have to target a platform prior to the ones specified below. -// Refer to MSDN for the latest info on corresponding values for different platforms. -#ifndef WINVER // Specifies that the minimum required platform is Windows Vista. -#define WINVER 0x0600 // Change this to the appropriate value to target other versions of Windows. -#endif - -#ifndef _WIN32_WINNT // Specifies that the minimum required platform is Windows Vista. -#define _WIN32_WINNT 0x0600 // Change this to the appropriate value to target other versions of Windows. -#endif - -#ifndef _WIN32_WINDOWS // Specifies that the minimum required platform is Windows 98. -#define _WIN32_WINDOWS 0x0410 // Change this to the appropriate value to target Windows Me or later. -#endif - -#ifndef _WIN32_IE // Specifies that the minimum required platform is Internet Explorer 7.0. -#define _WIN32_IE 0x0700 // Change this to the appropriate value to target other versions of IE. -#endif - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7443/SDK7443intMsg/7443Int.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7443/SDK7443intMsg/7443Int.cpp deleted file mode 100644 index 5d6917d..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7443/SDK7443intMsg/7443Int.cpp +++ /dev/null @@ -1,110 +0,0 @@ - -// 7443Int.cpp : Defines the class behaviors for the application. -// - -#include "stdafx.h" -#include "7443Int.h" -#include "7443IntDlg.h" -#include "CardIDDlg.h" - -#ifdef _DEBUG -#define new DEBUG_NEW -#endif - - -// C7443IntApp - -BEGIN_MESSAGE_MAP(C7443IntApp, CWinAppEx) - ON_COMMAND(ID_HELP, &CWinApp::OnHelp) -END_MESSAGE_MAP() - - -// C7443IntApp construction - -C7443IntApp::C7443IntApp() -{ - // TODO: add construction code here, - // Place all significant initialization in InitInstance -} - - -// The one and only C7443IntApp object - -C7443IntApp theApp; - - -// C7443IntApp initialization - -BOOL C7443IntApp::InitInstance() -{ - int nCardID = 0; - I16 hCard; - CString strTemp; - INT_PTR nResponse; - - // InitCommonControlsEx() is required on Windows XP if an application - // manifest specifies use of ComCtl32.dll version 6 or later to enable - // visual styles. Otherwise, any window creation will fail. - INITCOMMONCONTROLSEX InitCtrls; - InitCtrls.dwSize = sizeof(InitCtrls); - // Set this to include all the common control classes you want to use - // in your application. - InitCtrls.dwICC = ICC_WIN95_CLASSES; - InitCommonControlsEx(&InitCtrls); - - CWinAppEx::InitInstance(); - - AfxEnableControlContainer(); - - // Standard initialization - // If you are not using these features and wish to reduce the size - // of your final executable, you should remove from the following - // the specific initialization routines you do not need - // Change the registry key under which our settings are stored - // TODO: You should modify this string to be something appropriate - // such as the name of your company or organization - SetRegistryKey(_T("Local AppWizard-Generated Applications")); - - - CCardIDDlg CardDlg( nCardID ); - - nResponse = CardDlg.DoModal(); - if (nResponse == IDOK) - { - nCardID = CardDlg.GetCardID(); - - if ((hCard=Register_Card(PCI_7443, nCardID)) < 0) - { - strTemp.Format( TEXT("Register_Card Error = %d"), hCard); - AfxMessageBox( strTemp ); - } - else - { - C7443IntDlg dlg(hCard); - m_pMainWnd = &dlg; - nResponse = dlg.DoModal(); - if (nResponse == IDOK) - { - // TODO: Place code here to handle when the dialog is - // dismissed with OK - } - else if (nResponse == IDCANCEL) - { - // TODO: Place code here to handle when the dialog is - // dismissed with Cancel - } - - if (hCard >= 0) Release_Card(hCard); - } - - } - else if (nResponse == IDCANCEL) - { - // TODO: Place code here to handle when the dialog is - // dismissed with Cancel - } - - // Since the dialog has been closed, return FALSE so that we exit the - // application, rather than start the application's message pump. - return FALSE; -} diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7443/SDK7443intMsg/7443Int.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7443/SDK7443intMsg/7443Int.h deleted file mode 100644 index aa41e40..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7443/SDK7443intMsg/7443Int.h +++ /dev/null @@ -1,32 +0,0 @@ - -// 7443Int.h : main header file for the PROJECT_NAME application -// - -#pragma once - -#ifndef __AFXWIN_H__ - #error "include 'stdafx.h' before including this file for PCH" -#endif - -#include "resource.h" // main symbols - - -// C7443IntApp: -// See 7443Int.cpp for the implementation of this class -// - -class C7443IntApp : public CWinAppEx -{ -public: - C7443IntApp(); - -// Overrides - public: - virtual BOOL InitInstance(); - -// Implementation - - DECLARE_MESSAGE_MAP() -}; - -extern C7443IntApp theApp; \ No newline at end of file diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7443/SDK7443intMsg/7443Int.rc b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7443/SDK7443intMsg/7443Int.rc deleted file mode 100644 index 1769fd1..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7443/SDK7443intMsg/7443Int.rc +++ /dev/null @@ -1,276 +0,0 @@ -// Microsoft Visual C++ generated resource script. -// -#include "resource.h" - -#define APSTUDIO_READONLY_SYMBOLS -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 2 resource. -// -#ifndef APSTUDIO_INVOKED -#include "targetver.h" -#endif -#include "afxres.h" - -///////////////////////////////////////////////////////////////////////////// -#undef APSTUDIO_READONLY_SYMBOLS - -///////////////////////////////////////////////////////////////////////////// -// Chinese (Taiwan) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_CHT) -#ifdef _WIN32 -LANGUAGE LANG_CHINESE, SUBLANG_CHINESE_TRADITIONAL -#pragma code_page(950) -#endif //_WIN32 - -#ifdef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// TEXTINCLUDE -// - -1 TEXTINCLUDE -BEGIN - "resource.h\0" -END - -2 TEXTINCLUDE -BEGIN - "#ifndef APSTUDIO_INVOKED\r\n" - "#include ""targetver.h""\r\n" - "#endif\r\n" - "#include ""afxres.h""\r\n" - "\0" -END - -3 TEXTINCLUDE -BEGIN - "#define _AFX_NO_SPLITTER_RESOURCES\r\n" - "#define _AFX_NO_OLE_RESOURCES\r\n" - "#define _AFX_NO_TRACKER_RESOURCES\r\n" - "#define _AFX_NO_PROPERTY_RESOURCES\r\n" - "\r\n" - "#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)\r\n" - "LANGUAGE 9, 1\r\n" - "#pragma code_page(1252)\r\n" - "#include ""res\\My7443Int.rc2"" // non-Microsoft Visual C++ edited resources\r\n" - "#include ""afxres.rc"" // Standard components\r\n" - "#endif\r\n" - "\0" -END - -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// Icon -// - -// Icon with lowest ID value placed first to ensure application icon -// remains consistent on all systems. -IDR_MAINFRAME ICON "res\\7443Int.ico" -#endif // Chinese (Taiwan) resources -///////////////////////////////////////////////////////////////////////////// - - -///////////////////////////////////////////////////////////////////////////// -// English (U.S.) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -#ifdef _WIN32 -LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US -#pragma code_page(1252) -#endif //_WIN32 - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog -// - -IDD_ABOUTBOX DIALOGEX 0, 0, 170, 62 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "About 7443Int" -FONT 8, "MS Shell Dlg", 0, 0, 0x1 -BEGIN - ICON IDR_MAINFRAME,IDC_STATIC,14,14,21,20 - LTEXT "7443Int, Version 1.0",IDC_STATIC,42,14,114,8,SS_NOPREFIX - LTEXT "Copyright (C) 2010",IDC_STATIC,42,26,114,8 - DEFPUSHBUTTON "OK",IDOK,113,41,50,14,WS_GROUP -END - -IDD_MY7443INT_DIALOG DIALOGEX 0, 0, 213, 108 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU -EXSTYLE WS_EX_APPWINDOW -CAPTION "PCI-7443 Interrupt Sample (INT1)" -FONT 8, "MS Shell Dlg", 0, 0, 0x1 -BEGIN - LTEXT "This program waits COS of Channel 0.\nCount number will add one while COS occurs.",IDC_STATIC,32,17,158,23 - LTEXT "INT1 Count =",IDC_STATIC_COS_COUNT,59,58,85,13 -END - -IDD_CARDID_DIALOG DIALOGEX 0, 0, 188, 101 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "Card ID" -FONT 8, "MS Shell Dlg", 400, 0, 0x1 -BEGIN - COMBOBOX IDC_COMBO_CARDID,83,24,71,126,CBS_DROPDOWN | WS_VSCROLL | WS_TABSTOP - LTEXT "Card Number",IDC_STATIC_01,29,25,46,12 - PUSHBUTTON "OK",IDOK,30,57,58,19 - PUSHBUTTON "CANCEL",IDCANCEL,94,57,58,19 -END - - -///////////////////////////////////////////////////////////////////////////// -// -// Version -// - -VS_VERSION_INFO VERSIONINFO - FILEVERSION 1,0,0,1 - PRODUCTVERSION 1,0,0,1 - FILEFLAGSMASK 0x3fL -#ifdef _DEBUG - FILEFLAGS 0x1L -#else - FILEFLAGS 0x0L -#endif - FILEOS 0x4L - FILETYPE 0x1L - FILESUBTYPE 0x0L -BEGIN - BLOCK "StringFileInfo" - BEGIN - BLOCK "040904e4" - BEGIN - VALUE "CompanyName", "TODO: " - VALUE "FileDescription", "TODO: " - VALUE "FileVersion", "1.0.0.1" - VALUE "InternalName", "7443Int.exe" - VALUE "LegalCopyright", "TODO: (c) . All rights reserved." - VALUE "OriginalFilename", "7443Int.exe" - VALUE "ProductName", "TODO: " - VALUE "ProductVersion", "1.0.0.1" - END - END - BLOCK "VarFileInfo" - BEGIN - VALUE "Translation", 0x409, 1252 - END -END - - -///////////////////////////////////////////////////////////////////////////// -// -// DESIGNINFO -// - -#ifdef APSTUDIO_INVOKED -GUIDELINES DESIGNINFO -BEGIN - IDD_ABOUTBOX, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 163 - TOPMARGIN, 7 - BOTTOMMARGIN, 55 - END - - IDD_MY7443INT_DIALOG, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 206 - TOPMARGIN, 7 - BOTTOMMARGIN, 101 - END - - IDD_CARDID_DIALOG, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 181 - TOPMARGIN, 7 - BOTTOMMARGIN, 94 - END -END -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog Info -// - -IDD_CARDID_DIALOG DLGINIT -BEGIN - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0030, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0031, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0032, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0033, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0034, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0035, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0036, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0037, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0038, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0039, - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3031, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3131, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3231, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3331, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3431, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3531, "\000" - 0 -END - - -///////////////////////////////////////////////////////////////////////////// -// -// String Table -// - -STRINGTABLE -BEGIN - IDS_ABOUTBOX "&About 7443Int..." -END - -#endif // English (U.S.) resources -///////////////////////////////////////////////////////////////////////////// - - - -#ifndef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 3 resource. -// -#define _AFX_NO_SPLITTER_RESOURCES -#define _AFX_NO_OLE_RESOURCES -#define _AFX_NO_TRACKER_RESOURCES -#define _AFX_NO_PROPERTY_RESOURCES - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -LANGUAGE 9, 1 -#pragma code_page(1252) -#include "res\My7443Int.rc2" // non-Microsoft Visual C++ edited resources -#include "afxres.rc" // Standard components -#endif - -///////////////////////////////////////////////////////////////////////////// -#endif // not APSTUDIO_INVOKED - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7443/SDK7443intMsg/7443Int.sln b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7443/SDK7443intMsg/7443Int.sln deleted file mode 100644 index c0d36d6..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7443/SDK7443intMsg/7443Int.sln +++ /dev/null @@ -1,20 +0,0 @@ - -Microsoft Visual Studio Solution File, Format Version 10.00 -# Visual Studio 2008 -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "7443Int", "7443Int.vcproj", "{8C3F9B45-CEAB-40AB-9259-C32903B83419}" -EndProject -Global - GlobalSection(SolutionConfigurationPlatforms) = preSolution - Debug|x64 = Debug|x64 - Release|x64 = Release|x64 - EndGlobalSection - GlobalSection(ProjectConfigurationPlatforms) = postSolution - {8C3F9B45-CEAB-40AB-9259-C32903B83419}.Debug|x64.ActiveCfg = Debug|x64 - {8C3F9B45-CEAB-40AB-9259-C32903B83419}.Debug|x64.Build.0 = Debug|x64 - {8C3F9B45-CEAB-40AB-9259-C32903B83419}.Release|x64.ActiveCfg = Release|x64 - {8C3F9B45-CEAB-40AB-9259-C32903B83419}.Release|x64.Build.0 = Release|x64 - EndGlobalSection - GlobalSection(SolutionProperties) = preSolution - HideSolutionNode = FALSE - EndGlobalSection -EndGlobal diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7443/SDK7443intMsg/7443Int.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7443/SDK7443intMsg/7443Int.suo deleted file mode 100644 index 8cdc1af..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7443/SDK7443intMsg/7443Int.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7443/SDK7443intMsg/7443Int.vcproj b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7443/SDK7443intMsg/7443Int.vcproj deleted file mode 100644 index 492fae7..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7443/SDK7443intMsg/7443Int.vcproj +++ /dev/null @@ -1,286 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7443/SDK7443intMsg/7443IntDlg.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7443/SDK7443intMsg/7443IntDlg.cpp deleted file mode 100644 index d18c2a4..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7443/SDK7443intMsg/7443IntDlg.cpp +++ /dev/null @@ -1,192 +0,0 @@ - -// 7443IntDlg.cpp : implementation file -// - -#include "stdafx.h" -#include "7443Int.h" -#include "7443IntDlg.h" - -#define COS_INTERRUPT_MESSAGE _T("COS_INT") - -#define P7443_INT1 INT1_COS0 -#define P7443_Port P7443_CH0 - -UINT WM_INT = ::RegisterWindowMessage(COS_INTERRUPT_MESSAGE); - -#ifdef _DEBUG -#define new DEBUG_NEW -#endif - - -// CAboutDlg dialog used for App About - -class CAboutDlg : public CDialog -{ -public: - CAboutDlg(); - -// Dialog Data - enum { IDD = IDD_ABOUTBOX }; - - protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - -// Implementation -protected: - DECLARE_MESSAGE_MAP() -}; - -CAboutDlg::CAboutDlg() : CDialog(CAboutDlg::IDD) -{ -} - -void CAboutDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); -} - -BEGIN_MESSAGE_MAP(CAboutDlg, CDialog) -END_MESSAGE_MAP() - - -// C7443IntDlg dialog - - - - -C7443IntDlg::C7443IntDlg(I16 hCard, CWnd* pParent /*=NULL*/) - : CDialog(C7443IntDlg::IDD, pParent) -{ - m_hIcon = AfxGetApp()->LoadIcon(IDR_MAINFRAME); - - m_hCard = hCard; -} - -void C7443IntDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); -} - -BEGIN_MESSAGE_MAP(C7443IntDlg, CDialog) - ON_WM_SYSCOMMAND() - ON_WM_PAINT() - ON_WM_QUERYDRAGICON() - ON_REGISTERED_MESSAGE(WM_INT, OnCOSInterrupt) - //}}AFX_MSG_MAP - ON_WM_DESTROY() -END_MESSAGE_MAP() - - -// C7443IntDlg message handlers - -BOOL C7443IntDlg::OnInitDialog() -{ - HANDLE hTemp; - - CDialog::OnInitDialog(); - - // Add "About..." menu item to system menu. - - // IDM_ABOUTBOX must be in the system command range. - ASSERT((IDM_ABOUTBOX & 0xFFF0) == IDM_ABOUTBOX); - ASSERT(IDM_ABOUTBOX < 0xF000); - - CMenu* pSysMenu = GetSystemMenu(FALSE); - if (pSysMenu != NULL) - { - BOOL bNameValid; - CString strAboutMenu; - bNameValid = strAboutMenu.LoadString(IDS_ABOUTBOX); - ASSERT(bNameValid); - if (!strAboutMenu.IsEmpty()) - { - pSysMenu->AppendMenu(MF_SEPARATOR); - pSysMenu->AppendMenu(MF_STRING, IDM_ABOUTBOX, strAboutMenu); - } - } - - // Set the icon for this dialog. The framework does this automatically - // when the application's main window is not a dialog - SetIcon(m_hIcon, TRUE); // Set big icon - SetIcon(m_hIcon, FALSE); // Set small icon - - // TODO: Add extra initialization here - m_IntCount = 0; - - - DIO_INT1_EventMessage (m_hCard, P7443_INT1, this->m_hWnd, WM_INT, NULL); - DIO_SetCOSInterrupt32(m_hCard, P7443_Port, 0x0001, &hTemp, 0); - - return TRUE; // return TRUE unless you set the focus to a control -} - -void C7443IntDlg::OnSysCommand(UINT nID, LPARAM lParam) -{ - if ((nID & 0xFFF0) == IDM_ABOUTBOX) - { - CAboutDlg dlgAbout; - dlgAbout.DoModal(); - } - else - { - CDialog::OnSysCommand(nID, lParam); - } -} - -// If you add a minimize button to your dialog, you will need the code below -// to draw the icon. For MFC applications using the document/view model, -// this is automatically done for you by the framework. - -void C7443IntDlg::OnPaint() -{ - if (IsIconic()) - { - CPaintDC dc(this); // device context for painting - - SendMessage(WM_ICONERASEBKGND, reinterpret_cast(dc.GetSafeHdc()), 0); - - // Center icon in client rectangle - int cxIcon = GetSystemMetrics(SM_CXICON); - int cyIcon = GetSystemMetrics(SM_CYICON); - CRect rect; - GetClientRect(&rect); - int x = (rect.Width() - cxIcon + 1) / 2; - int y = (rect.Height() - cyIcon + 1) / 2; - - // Draw the icon - dc.DrawIcon(x, y, m_hIcon); - } - else - { - CDialog::OnPaint(); - } -} - -// The system calls this function to obtain the cursor to display while the user drags -// the minimized window. -HCURSOR C7443IntDlg::OnQueryDragIcon() -{ - return static_cast(m_hIcon); -} - - -LRESULT C7443IntDlg::OnCOSInterrupt(WPARAM wParam, LPARAM lParam) -{ - // do something useful - CString strTemp; - - m_IntCount ++; - strTemp.Format( TEXT("INT1 Count = %d"), m_IntCount); - SetDlgItemText( IDC_STATIC_COS_COUNT, strTemp ); - - - return (LRESULT) 0; -}; -void C7443IntDlg::OnDestroy() -{ - CDialog::OnDestroy(); - - // TODO: Add your message handler code here - DIO_INT1_EventMessage(m_hCard, INT1_DISABLE, this->m_hWnd, NULL, NULL); - DIO_SetCOSInterrupt32(m_hCard, P7443_Port, 0x0000, NULL, 0); -} diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7443/SDK7443intMsg/7443IntDlg.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7443/SDK7443intMsg/7443IntDlg.h deleted file mode 100644 index 901afca..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7443/SDK7443intMsg/7443IntDlg.h +++ /dev/null @@ -1,38 +0,0 @@ - -// 7443IntDlg.h : header file -// - -#include "Dask64.h" - -#pragma once - - -// C7443IntDlg dialog -class C7443IntDlg : public CDialog -{ -// Construction -public: - C7443IntDlg(I16 hCard, CWnd* pParent = NULL); // standard constructor - -// Dialog Data - enum { IDD = IDD_MY7443INT_DIALOG }; - - protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - -// Implementation -protected: - HICON m_hIcon; - I16 m_hCard; - int m_IntCount; - - // Generated message map functions - virtual BOOL OnInitDialog(); - afx_msg void OnSysCommand(UINT nID, LPARAM lParam); - afx_msg LRESULT OnCOSInterrupt(WPARAM wParam, LPARAM lParam); - afx_msg void OnPaint(); - afx_msg HCURSOR OnQueryDragIcon(); - DECLARE_MESSAGE_MAP() -public: - afx_msg void OnDestroy(); -}; diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7443/SDK7443intMsg/CardIDDlg.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7443/SDK7443intMsg/CardIDDlg.cpp deleted file mode 100644 index 1f521ff..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7443/SDK7443intMsg/CardIDDlg.cpp +++ /dev/null @@ -1,67 +0,0 @@ -// CardIDDlg.cpp : implementation file -// - -#include "stdafx.h" -#include "7443Int.h" -#include "CardIDDlg.h" - - -// CCardIDDlg dialog - -IMPLEMENT_DYNAMIC(CCardIDDlg, CDialog) - -CCardIDDlg::CCardIDDlg(int nCardIdx, CWnd* pParent /*=NULL*/) - : CDialog(CCardIDDlg::IDD, pParent) -{ - m_nCardIdx = nCardIdx; -} - -CCardIDDlg::~CCardIDDlg() -{ -} - -void CCardIDDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); - DDX_Control(pDX, IDC_COMBO_CARDID, m_cbCardID); -} - - -BEGIN_MESSAGE_MAP(CCardIDDlg, CDialog) -// ON_CBN_SELCHANGE(IDC_COMBO_CARDID, &CCardIDDlg::OnCbnSelchangeComboCardid) -ON_BN_CLICKED(IDOK, &CCardIDDlg::OnBnClickedOk) -//ON_WM_CTLCOLOR() -END_MESSAGE_MAP() - - -// CCardIDDlg message handlers - - -void CCardIDDlg::OnBnClickedOk() -{ - // TODO: Add your control notification handler code here - -// UpdateData(TRUE); - m_nCardIdx = m_cbCardID.GetCurSel(); - - OnOK(); -} - -BOOL CCardIDDlg::OnInitDialog() -{ - CDialog::OnInitDialog(); - - // TODO: Add extra initialization here - m_cbCardID.SetCurSel( m_nCardIdx ); - - return TRUE; // return TRUE unless you set the focus to a control - // EXCEPTION: OCX Property Pages should return FALSE -} - -// the function to get the selected CardID -int CCardIDDlg::GetCardID(void) -{ - return m_nCardIdx; -} - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7443/SDK7443intMsg/CardIDDlg.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7443/SDK7443intMsg/CardIDDlg.h deleted file mode 100644 index 54628ea..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7443/SDK7443intMsg/CardIDDlg.h +++ /dev/null @@ -1,33 +0,0 @@ -#pragma once -#include "afxwin.h" - - -// CCardIDDlg dialog - -class CCardIDDlg : public CDialog -{ - DECLARE_DYNAMIC(CCardIDDlg) - -public: - CCardIDDlg(int nCardIdx, CWnd* pParent = NULL); // standard constructor - virtual ~CCardIDDlg(); - -// Dialog Data - enum { IDD = IDD_CARDID_DIALOG }; - -protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - - DECLARE_MESSAGE_MAP() -public: -// afx_msg void OnCbnSelchangeComboCardid(); - afx_msg void OnBnClickedOk(); - // the setting of CardID ComboBox - int m_nCardIdx; - virtual BOOL OnInitDialog(); - // the control of CardID ComboBox - CComboBox m_cbCardID; - // the function to get the selected CardID - int GetCardID(void); -// afx_msg HBRUSH OnCtlColor(CDC* pDC, CWnd* pWnd, UINT nCtlColor); -}; diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7443/SDK7443intMsg/ReadMe.txt b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7443/SDK7443intMsg/ReadMe.txt deleted file mode 100644 index 31465d2..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7443/SDK7443intMsg/ReadMe.txt +++ /dev/null @@ -1,93 +0,0 @@ -================================================================================ - MICROSOFT FOUNDATION CLASS LIBRARY : 7443Int Project Overview -=============================================================================== - -The application wizard has created this 7443Int application for -you. This application not only demonstrates the basics of using the Microsoft -Foundation Classes but is also a starting point for writing your application. - -This file contains a summary of what you will find in each of the files that -make up your 7443Int application. - -7443Int.vcproj - This is the main project file for VC++ projects generated using an application wizard. - It contains information about the version of Visual C++ that generated the file, and - information about the platforms, configurations, and project features selected with the - application wizard. - -7443Int.h - This is the main header file for the application. It includes other - project specific headers (including Resource.h) and declares the - C7443IntApp application class. - -7443Int.cpp - This is the main application source file that contains the application - class C7443IntApp. - -7443Int.rc - This is a listing of all of the Microsoft Windows resources that the - program uses. It includes the icons, bitmaps, and cursors that are stored - in the RES subdirectory. This file can be directly edited in Microsoft - Visual C++. Your project resources are in 1033. - -res\7443Int.ico - This is an icon file, which is used as the application's icon. This - icon is included by the main resource file 7443Int.rc. - -res\My7443Int.rc2 - This file contains resources that are not edited by Microsoft - Visual C++. You should place all resources not editable by - the resource editor in this file. - - -///////////////////////////////////////////////////////////////////////////// - -The application wizard creates one dialog class: - -7443IntDlg.h, 7443IntDlg.cpp - the dialog - These files contain your C7443IntDlg class. This class defines - the behavior of your application's main dialog. The dialog's template is - in 7443Int.rc, which can be edited in Microsoft Visual C++. - - -///////////////////////////////////////////////////////////////////////////// - -Other Features: - -ActiveX Controls - The application includes support to use ActiveX controls. - -///////////////////////////////////////////////////////////////////////////// - -Other standard files: - -StdAfx.h, StdAfx.cpp - These files are used to build a precompiled header (PCH) file - named 7443Int.pch and a precompiled types file named StdAfx.obj. - -Resource.h - This is the standard header file, which defines new resource IDs. - Microsoft Visual C++ reads and updates this file. - -7443Int.manifest - Application manifest files are used by Windows XP to describe an applications - dependency on specific versions of Side-by-Side assemblies. The loader uses this - information to load the appropriate assembly from the assembly cache or private - from the application. The Application manifest maybe included for redistribution - as an external .manifest file that is installed in the same folder as the application - executable or it may be included in the executable in the form of a resource. -///////////////////////////////////////////////////////////////////////////// - -Other notes: - -The application wizard uses "TODO:" to indicate parts of the source code you -should add to or customize. - -If your application uses MFC in a shared DLL, you will need -to redistribute the MFC DLLs. If your application is in a language -other than the operating system's locale, you will also have to -redistribute the corresponding localized resources MFC90XXX.DLL. -For more information on both of these topics, please see the section on -redistributing Visual C++ applications in MSDN documentation. - -///////////////////////////////////////////////////////////////////////////// diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7443/SDK7443intMsg/res/7443Int.ico b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7443/SDK7443intMsg/res/7443Int.ico deleted file mode 100644 index d56fbcd..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7443/SDK7443intMsg/res/7443Int.ico and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7443/SDK7443intMsg/res/My7443Int.rc2 b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7443/SDK7443intMsg/res/My7443Int.rc2 deleted file mode 100644 index de17603..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7443/SDK7443intMsg/res/My7443Int.rc2 +++ /dev/null @@ -1,13 +0,0 @@ -// -// My7443Int.RC2 - resources Microsoft Visual C++ does not edit directly -// - -#ifdef APSTUDIO_INVOKED -#error this file is not editable by Microsoft Visual C++ -#endif //APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// Add manually edited resources here... - -///////////////////////////////////////////////////////////////////////////// diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7443/SDK7443intMsg/resource.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7443/SDK7443intMsg/resource.h deleted file mode 100644 index de0f1df..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7443/SDK7443intMsg/resource.h +++ /dev/null @@ -1,24 +0,0 @@ -//{{NO_DEPENDENCIES}} -// Microsoft Visual C++ generated include file. -// Used by 7443Int.rc -// -#define IDM_ABOUTBOX 0x0010 -#define IDD_ABOUTBOX 100 -#define IDS_ABOUTBOX 101 -#define IDD_MY7443INT_DIALOG 102 -#define IDR_MAINFRAME 128 -#define IDD_CARDID_DIALOG 129 -#define IDC_STATIC_COS_COUNT 1000 -#define IDC_COMBO_CARDID 1000 -#define IDC_STATIC_01 1014 - -// Next default values for new objects -// -#ifdef APSTUDIO_INVOKED -#ifndef APSTUDIO_READONLY_SYMBOLS -#define _APS_NEXT_RESOURCE_VALUE 131 -#define _APS_NEXT_COMMAND_VALUE 32771 -#define _APS_NEXT_CONTROL_VALUE 1001 -#define _APS_NEXT_SYMED_VALUE 101 -#endif -#endif diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7443/SDK7443intMsg/stdafx.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7443/SDK7443intMsg/stdafx.cpp deleted file mode 100644 index 1004f56..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7443/SDK7443intMsg/stdafx.cpp +++ /dev/null @@ -1,8 +0,0 @@ - -// stdafx.cpp : source file that includes just the standard includes -// 7443Int.pch will be the pre-compiled header -// stdafx.obj will contain the pre-compiled type information - -#include "stdafx.h" - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7443/SDK7443intMsg/stdafx.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7443/SDK7443intMsg/stdafx.h deleted file mode 100644 index 12123e2..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7443/SDK7443intMsg/stdafx.h +++ /dev/null @@ -1,60 +0,0 @@ - -// stdafx.h : include file for standard system include files, -// or project specific include files that are used frequently, -// but are changed infrequently - -#pragma once - -#ifndef _SECURE_ATL -#define _SECURE_ATL 1 -#endif - -#ifndef VC_EXTRALEAN -#define VC_EXTRALEAN // Exclude rarely-used stuff from Windows headers -#endif - -#include "targetver.h" - -#define _ATL_CSTRING_EXPLICIT_CONSTRUCTORS // some CString constructors will be explicit - -// turns off MFC's hiding of some common and often safely ignored warning messages -#define _AFX_ALL_WARNINGS - -#include // MFC core and standard components -#include // MFC extensions - - -#include // MFC Automation classes - - - -#ifndef _AFX_NO_OLE_SUPPORT -#include // MFC support for Internet Explorer 4 Common Controls -#endif -#ifndef _AFX_NO_AFXCMN_SUPPORT -#include // MFC support for Windows Common Controls -#endif // _AFX_NO_AFXCMN_SUPPORT - -#include // MFC support for ribbons and control bars - - - - - - - - - -#ifdef _UNICODE -#if defined _M_IX86 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='x86' publicKeyToken='6595b64144ccf1df' language='*'\"") -#elif defined _M_IA64 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='ia64' publicKeyToken='6595b64144ccf1df' language='*'\"") -#elif defined _M_X64 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='amd64' publicKeyToken='6595b64144ccf1df' language='*'\"") -#else -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='*' publicKeyToken='6595b64144ccf1df' language='*'\"") -#endif -#endif - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7443/SDK7443intMsg/targetver.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7443/SDK7443intMsg/targetver.h deleted file mode 100644 index 11730d5..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7443/SDK7443intMsg/targetver.h +++ /dev/null @@ -1,26 +0,0 @@ - -#pragma once - -// The following macros define the minimum required platform. The minimum required platform -// is the earliest version of Windows, Internet Explorer etc. that has the necessary features to run -// your application. The macros work by enabling all features available on platform versions up to and -// including the version specified. - -// Modify the following defines if you have to target a platform prior to the ones specified below. -// Refer to MSDN for the latest info on corresponding values for different platforms. -#ifndef WINVER // Specifies that the minimum required platform is Windows Vista. -#define WINVER 0x0600 // Change this to the appropriate value to target other versions of Windows. -#endif - -#ifndef _WIN32_WINNT // Specifies that the minimum required platform is Windows Vista. -#define _WIN32_WINNT 0x0600 // Change this to the appropriate value to target other versions of Windows. -#endif - -#ifndef _WIN32_WINDOWS // Specifies that the minimum required platform is Windows 98. -#define _WIN32_WINDOWS 0x0410 // Change this to the appropriate value to target Windows Me or later. -#endif - -#ifndef _WIN32_IE // Specifies that the minimum required platform is Internet Explorer 7.0. -#define _WIN32_IE 0x0700 // Change this to the appropriate value to target other versions of IE. -#endif - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7444/DIOOnePoint/CardIDDlg.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7444/DIOOnePoint/CardIDDlg.cpp deleted file mode 100644 index 5840eec..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7444/DIOOnePoint/CardIDDlg.cpp +++ /dev/null @@ -1,67 +0,0 @@ -// CardIDDlg.cpp : implementation file -// - -#include "stdafx.h" -#include "DIOOnePoint.h" -#include "CardIDDlg.h" - - -// CCardIDDlg dialog - -IMPLEMENT_DYNAMIC(CCardIDDlg, CDialog) - -CCardIDDlg::CCardIDDlg(int nCardIdx, CWnd* pParent /*=NULL*/) - : CDialog(CCardIDDlg::IDD, pParent) -{ - m_nCardIdx = nCardIdx; -} - -CCardIDDlg::~CCardIDDlg() -{ -} - -void CCardIDDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); - DDX_Control(pDX, IDC_COMBO_CARDID, m_cbCardID); -} - - -BEGIN_MESSAGE_MAP(CCardIDDlg, CDialog) -// ON_CBN_SELCHANGE(IDC_COMBO_CARDID, &CCardIDDlg::OnCbnSelchangeComboCardid) -ON_BN_CLICKED(IDOK, &CCardIDDlg::OnBnClickedOk) -//ON_WM_CTLCOLOR() -END_MESSAGE_MAP() - - -// CCardIDDlg message handlers - - -void CCardIDDlg::OnBnClickedOk() -{ - // TODO: Add your control notification handler code here - -// UpdateData(TRUE); - m_nCardIdx = m_cbCardID.GetCurSel(); - - OnOK(); -} - -BOOL CCardIDDlg::OnInitDialog() -{ - CDialog::OnInitDialog(); - - // TODO: Add extra initialization here - m_cbCardID.SetCurSel( m_nCardIdx ); - - return TRUE; // return TRUE unless you set the focus to a control - // EXCEPTION: OCX Property Pages should return FALSE -} - -// the function to get the selected CardID -int CCardIDDlg::GetCardID(void) -{ - return m_nCardIdx; -} - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7444/DIOOnePoint/CardIDDlg.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7444/DIOOnePoint/CardIDDlg.h deleted file mode 100644 index 54628ea..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7444/DIOOnePoint/CardIDDlg.h +++ /dev/null @@ -1,33 +0,0 @@ -#pragma once -#include "afxwin.h" - - -// CCardIDDlg dialog - -class CCardIDDlg : public CDialog -{ - DECLARE_DYNAMIC(CCardIDDlg) - -public: - CCardIDDlg(int nCardIdx, CWnd* pParent = NULL); // standard constructor - virtual ~CCardIDDlg(); - -// Dialog Data - enum { IDD = IDD_CARDID_DIALOG }; - -protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - - DECLARE_MESSAGE_MAP() -public: -// afx_msg void OnCbnSelchangeComboCardid(); - afx_msg void OnBnClickedOk(); - // the setting of CardID ComboBox - int m_nCardIdx; - virtual BOOL OnInitDialog(); - // the control of CardID ComboBox - CComboBox m_cbCardID; - // the function to get the selected CardID - int GetCardID(void); -// afx_msg HBRUSH OnCtlColor(CDC* pDC, CWnd* pWnd, UINT nCtlColor); -}; diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7444/DIOOnePoint/DIOOnePoint.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7444/DIOOnePoint/DIOOnePoint.cpp deleted file mode 100644 index 7fcf9b0..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7444/DIOOnePoint/DIOOnePoint.cpp +++ /dev/null @@ -1,110 +0,0 @@ - -// DIOOnePoint.cpp : Defines the class behaviors for the application. -// - -#include "stdafx.h" -#include "DIOOnePoint.h" -#include "DIOOnePointDlg.h" -#include "CardIDDlg.h" - -#ifdef _DEBUG -#define new DEBUG_NEW -#endif - - -// CDIOOnePointApp - -BEGIN_MESSAGE_MAP(CDIOOnePointApp, CWinAppEx) - ON_COMMAND(ID_HELP, &CWinApp::OnHelp) -END_MESSAGE_MAP() - - -// CDIOOnePointApp construction - -CDIOOnePointApp::CDIOOnePointApp() -{ - // TODO: add construction code here, - // Place all significant initialization in InitInstance -} - - -// The one and only CDIOOnePointApp object - -CDIOOnePointApp theApp; - - -// CDIOOnePointApp initialization - -BOOL CDIOOnePointApp::InitInstance() -{ - int nCardID = 0; - I16 hCard; - CString strTemp; - INT_PTR nResponse; - - // InitCommonControlsEx() is required on Windows XP if an application - // manifest specifies use of ComCtl32.dll version 6 or later to enable - // visual styles. Otherwise, any window creation will fail. - INITCOMMONCONTROLSEX InitCtrls; - InitCtrls.dwSize = sizeof(InitCtrls); - // Set this to include all the common control classes you want to use - // in your application. - InitCtrls.dwICC = ICC_WIN95_CLASSES; - InitCommonControlsEx(&InitCtrls); - - CWinAppEx::InitInstance(); - - AfxEnableControlContainer(); - - // Standard initialization - // If you are not using these features and wish to reduce the size - // of your final executable, you should remove from the following - // the specific initialization routines you do not need - // Change the registry key under which our settings are stored - // TODO: You should modify this string to be something appropriate - // such as the name of your company or organization - SetRegistryKey(_T("Local AppWizard-Generated Applications")); - - CCardIDDlg CardDlg( nCardID ); - - nResponse = CardDlg.DoModal(); - if (nResponse == IDOK) - { - nCardID = CardDlg.GetCardID(); - - if ((hCard=Register_Card(PCI_7444, nCardID)) < 0) - { - strTemp.Format( TEXT("Register_Card Error = %d"), hCard); - AfxMessageBox( strTemp ); - } - else - { - CDIOOnePointDlg dlg(hCard); - m_pMainWnd = &dlg; - nResponse = dlg.DoModal(); - if (nResponse == IDOK) - { - // TODO: Place code here to handle when the dialog is - // dismissed with OK - } - else if (nResponse == IDCANCEL) - { - // TODO: Place code here to handle when the dialog is - // dismissed with Cancel - } - - if (hCard >= 0) Release_Card(hCard); - } - - } - else if (nResponse == IDCANCEL) - { - // TODO: Place code here to handle when the dialog is - // dismissed with Cancel - } - - - // Since the dialog has been closed, return FALSE so that we exit the - // application, rather than start the application's message pump. - return FALSE; -} diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7444/DIOOnePoint/DIOOnePoint.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7444/DIOOnePoint/DIOOnePoint.h deleted file mode 100644 index cbf73e6..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7444/DIOOnePoint/DIOOnePoint.h +++ /dev/null @@ -1,32 +0,0 @@ - -// DIOOnePoint.h : main header file for the PROJECT_NAME application -// - -#pragma once - -#ifndef __AFXWIN_H__ - #error "include 'stdafx.h' before including this file for PCH" -#endif - -#include "resource.h" // main symbols - - -// CDIOOnePointApp: -// See DIOOnePoint.cpp for the implementation of this class -// - -class CDIOOnePointApp : public CWinAppEx -{ -public: - CDIOOnePointApp(); - -// Overrides - public: - virtual BOOL InitInstance(); - -// Implementation - - DECLARE_MESSAGE_MAP() -}; - -extern CDIOOnePointApp theApp; \ No newline at end of file diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7444/DIOOnePoint/DIOOnePoint.rc b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7444/DIOOnePoint/DIOOnePoint.rc deleted file mode 100644 index 0f19dbf..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7444/DIOOnePoint/DIOOnePoint.rc +++ /dev/null @@ -1,323 +0,0 @@ -// Microsoft Visual C++ generated resource script. -// -#include "resource.h" - -#define APSTUDIO_READONLY_SYMBOLS -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 2 resource. -// -#ifndef APSTUDIO_INVOKED -#include "targetver.h" -#endif -#include "afxres.h" - -///////////////////////////////////////////////////////////////////////////// -#undef APSTUDIO_READONLY_SYMBOLS - -///////////////////////////////////////////////////////////////////////////// -// Chinese (Taiwan) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_CHT) -#ifdef _WIN32 -LANGUAGE LANG_CHINESE, SUBLANG_CHINESE_TRADITIONAL -#pragma code_page(950) -#endif //_WIN32 - -#ifdef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// TEXTINCLUDE -// - -1 TEXTINCLUDE -BEGIN - "resource.h\0" -END - -2 TEXTINCLUDE -BEGIN - "#ifndef APSTUDIO_INVOKED\r\n" - "#include ""targetver.h""\r\n" - "#endif\r\n" - "#include ""afxres.h""\r\n" - "\0" -END - -3 TEXTINCLUDE -BEGIN - "#define _AFX_NO_SPLITTER_RESOURCES\r\n" - "#define _AFX_NO_OLE_RESOURCES\r\n" - "#define _AFX_NO_TRACKER_RESOURCES\r\n" - "#define _AFX_NO_PROPERTY_RESOURCES\r\n" - "\r\n" - "#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)\r\n" - "LANGUAGE 9, 1\r\n" - "#pragma code_page(1252)\r\n" - "#include ""res\\DIOOnePoint.rc2"" // non-Microsoft Visual C++ edited resources\r\n" - "#include ""afxres.rc"" // Standard components\r\n" - "#endif\r\n" - "\0" -END - -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// Icon -// - -// Icon with lowest ID value placed first to ensure application icon -// remains consistent on all systems. -IDR_MAINFRAME ICON "res\\DIOOnePoint.ico" -#endif // Chinese (Taiwan) resources -///////////////////////////////////////////////////////////////////////////// - - -///////////////////////////////////////////////////////////////////////////// -// English (U.S.) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -#ifdef _WIN32 -LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US -#pragma code_page(1252) -#endif //_WIN32 - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog -// - -IDD_ABOUTBOX DIALOGEX 0, 0, 170, 62 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "About DIOOnePoint" -FONT 8, "MS Shell Dlg", 0, 0, 0x1 -BEGIN - ICON IDR_MAINFRAME,IDC_STATIC,14,14,21,20 - LTEXT "DIOOnePoint, Version 1.0",IDC_STATIC,42,14,114,8,SS_NOPREFIX - LTEXT "Copyright (C) 2010",IDC_STATIC,42,26,114,8 - DEFPUSHBUTTON "OK",IDOK,113,41,50,14,WS_GROUP -END - -IDD_DIOONEPOINT_DIALOG DIALOGEX 0, 0, 320, 127 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU -EXSTYLE WS_EX_APPWINDOW -CAPTION "PCI-7444 DIOOnePoint" -FONT 8, "MS Shell Dlg", 0, 0, 0x1 -BEGIN - LTEXT "Write DO Data to :",IDC_STATIC,6,12,66,12 - COMBOBOX IDC_COMBO_DO_PORT,78,12,72,72,CBS_DROPDOWN | WS_VSCROLL | WS_TABSTOP - CONTROL "",IDC_CHECK_DO00,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,285,45,12,12 - CONTROL "",IDC_CHECK_DO01,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,267,45,12,12 - CONTROL "",IDC_CHECK_DO02,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,249,45,12,12 - CONTROL "",IDC_CHECK_DO03,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,231,45,12,12 - CONTROL "",IDC_CHECK_DO04,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,213,45,12,12 - CONTROL "",IDC_CHECK_DO05,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,195,45,12,12 - CONTROL "",IDC_CHECK_DO06,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,177,45,12,12 - CONTROL "",IDC_CHECK_DO07,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,159,45,12,12 - CONTROL "",IDC_CHECK_DO08,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,141,45,12,12 - CONTROL "",IDC_CHECK_DO09,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,123,45,12,12 - CONTROL "",IDC_CHECK_DO10,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,105,45,12,12 - CONTROL "",IDC_CHECK_DO11,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,87,45,12,12 - CONTROL "",IDC_CHECK_DO12,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,69,45,12,12 - CONTROL "",IDC_CHECK_DO13,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,51,45,12,12 - CONTROL "",IDC_CHECK_DO14,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,33,45,12,12 - CONTROL "",IDC_CHECK_DO15,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,15,45,12,12 - LTEXT " 15 0",IDC_STATIC,9,57,289,13 - CONTROL "",IDC_CHECK_DO16,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,300,79,12,12 - CONTROL "",IDC_CHECK_DO17,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,282,79,12,12 - CONTROL "",IDC_CHECK_DO18,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,264,79,12,12 - CONTROL "",IDC_CHECK_DO19,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,246,79,12,12 - CONTROL "",IDC_CHECK_DO20,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,228,79,12,12 - CONTROL "",IDC_CHECK_DO21,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,210,79,12,12 - CONTROL "",IDC_CHECK_DO22,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,192,79,12,12 - CONTROL "",IDC_CHECK_DO23,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,174,79,12,12 - CONTROL "",IDC_CHECK_DO24,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,156,79,12,12 - CONTROL "",IDC_CHECK_DO25,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,138,79,12,12 - CONTROL "",IDC_CHECK_DO26,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,120,79,12,12 - CONTROL "",IDC_CHECK_DO27,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,102,79,12,12 - CONTROL "",IDC_CHECK_DO28,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,84,79,12,12 - CONTROL "",IDC_CHECK_DO29,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,66,79,12,12 - CONTROL "",IDC_CHECK_DO30,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,48,79,12,12 - CONTROL "",IDC_CHECK_DO31,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,30,79,12,12 - LTEXT " 31 16",IDC_STATIC,24,91,289,13 -END - -IDD_CARDID_DIALOG DIALOGEX 0, 0, 188, 103 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "Card ID" -FONT 8, "MS Shell Dlg", 400, 0, 0x1 -BEGIN - COMBOBOX IDC_COMBO_CARDID,83,24,71,126,CBS_DROPDOWN | WS_VSCROLL | WS_TABSTOP - LTEXT "Card Number",IDC_STATIC_01,29,25,46,12 - PUSHBUTTON "OK",IDOK,30,57,58,19 - PUSHBUTTON "CANCEL",IDCANCEL,94,57,58,19 -END - - -///////////////////////////////////////////////////////////////////////////// -// -// Version -// - -VS_VERSION_INFO VERSIONINFO - FILEVERSION 1,0,0,1 - PRODUCTVERSION 1,0,0,1 - FILEFLAGSMASK 0x3fL -#ifdef _DEBUG - FILEFLAGS 0x1L -#else - FILEFLAGS 0x0L -#endif - FILEOS 0x4L - FILETYPE 0x1L - FILESUBTYPE 0x0L -BEGIN - BLOCK "StringFileInfo" - BEGIN - BLOCK "040904e4" - BEGIN - VALUE "CompanyName", "TODO: " - VALUE "FileDescription", "TODO: " - VALUE "FileVersion", "1.0.0.1" - VALUE "InternalName", "DIOOnePoint.exe" - VALUE "LegalCopyright", "TODO: (c) . All rights reserved." - VALUE "OriginalFilename", "DIOOnePoint.exe" - VALUE "ProductName", "TODO: " - VALUE "ProductVersion", "1.0.0.1" - END - END - BLOCK "VarFileInfo" - BEGIN - VALUE "Translation", 0x409, 1252 - END -END - - -///////////////////////////////////////////////////////////////////////////// -// -// DESIGNINFO -// - -#ifdef APSTUDIO_INVOKED -GUIDELINES DESIGNINFO -BEGIN - IDD_ABOUTBOX, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 163 - TOPMARGIN, 7 - BOTTOMMARGIN, 55 - END - - IDD_DIOONEPOINT_DIALOG, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 313 - TOPMARGIN, 7 - BOTTOMMARGIN, 120 - END - - IDD_CARDID_DIALOG, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 181 - TOPMARGIN, 7 - BOTTOMMARGIN, 96 - END -END -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog Info -// - -IDD_CARDID_DIALOG DLGINIT -BEGIN - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0030, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0031, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0032, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0033, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0034, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0035, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0036, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0037, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0038, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0039, - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3031, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3131, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3231, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3331, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3431, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3531, "\000" - 0 -END - -IDD_DIOONEPOINT_DIALOG DLGINIT -BEGIN - IDC_COMBO_DO_PORT, 0x403, 11, 0 -0x5020, 0x3437, 0x3434, 0x435f, 0x3048, "\000" - IDC_COMBO_DO_PORT, 0x403, 11, 0 -0x5020, 0x3437, 0x3434, 0x435f, 0x3148, "\000" - IDC_COMBO_DO_PORT, 0x403, 11, 0 -0x5020, 0x3437, 0x3434, 0x435f, 0x3248, "\000" - IDC_COMBO_DO_PORT, 0x403, 11, 0 -0x5020, 0x3437, 0x3434, 0x435f, 0x3348, "\000" - 0 -END - - -///////////////////////////////////////////////////////////////////////////// -// -// String Table -// - -STRINGTABLE -BEGIN - IDS_ABOUTBOX "&About DIOOnePoint..." -END - -#endif // English (U.S.) resources -///////////////////////////////////////////////////////////////////////////// - - - -#ifndef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 3 resource. -// -#define _AFX_NO_SPLITTER_RESOURCES -#define _AFX_NO_OLE_RESOURCES -#define _AFX_NO_TRACKER_RESOURCES -#define _AFX_NO_PROPERTY_RESOURCES - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -LANGUAGE 9, 1 -#pragma code_page(1252) -#include "res\DIOOnePoint.rc2" // non-Microsoft Visual C++ edited resources -#include "afxres.rc" // Standard components -#endif - -///////////////////////////////////////////////////////////////////////////// -#endif // not APSTUDIO_INVOKED - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7444/DIOOnePoint/DIOOnePoint.sln b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7444/DIOOnePoint/DIOOnePoint.sln deleted file mode 100644 index 6e42375..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7444/DIOOnePoint/DIOOnePoint.sln +++ /dev/null @@ -1,20 +0,0 @@ - -Microsoft Visual Studio Solution File, Format Version 10.00 -# Visual Studio 2008 -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "DIOOnePoint", "DIOOnePoint.vcproj", "{2A9735E0-D68F-405D-924E-B3417E202054}" -EndProject -Global - GlobalSection(SolutionConfigurationPlatforms) = preSolution - Debug|x64 = Debug|x64 - Release|x64 = Release|x64 - EndGlobalSection - GlobalSection(ProjectConfigurationPlatforms) = postSolution - {2A9735E0-D68F-405D-924E-B3417E202054}.Debug|x64.ActiveCfg = Debug|x64 - {2A9735E0-D68F-405D-924E-B3417E202054}.Debug|x64.Build.0 = Debug|x64 - {2A9735E0-D68F-405D-924E-B3417E202054}.Release|x64.ActiveCfg = Release|x64 - {2A9735E0-D68F-405D-924E-B3417E202054}.Release|x64.Build.0 = Release|x64 - EndGlobalSection - GlobalSection(SolutionProperties) = preSolution - HideSolutionNode = FALSE - EndGlobalSection -EndGlobal diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7444/DIOOnePoint/DIOOnePoint.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7444/DIOOnePoint/DIOOnePoint.suo deleted file mode 100644 index a378607..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7444/DIOOnePoint/DIOOnePoint.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7444/DIOOnePoint/DIOOnePoint.vcproj b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7444/DIOOnePoint/DIOOnePoint.vcproj deleted file mode 100644 index 894eec0..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7444/DIOOnePoint/DIOOnePoint.vcproj +++ /dev/null @@ -1,286 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7444/DIOOnePoint/DIOOnePointDlg.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7444/DIOOnePoint/DIOOnePointDlg.cpp deleted file mode 100644 index 7b6b047..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7444/DIOOnePoint/DIOOnePointDlg.cpp +++ /dev/null @@ -1,866 +0,0 @@ - -// DIOOnePointDlg.cpp : implementation file -// - -#include "stdafx.h" -#include "DIOOnePoint.h" -#include "DIOOnePointDlg.h" - -#ifdef _DEBUG -#define new DEBUG_NEW -#endif - - -// CAboutDlg dialog used for App About - -class CAboutDlg : public CDialog -{ -public: - CAboutDlg(); - -// Dialog Data - enum { IDD = IDD_ABOUTBOX }; - - protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - -// Implementation -protected: - DECLARE_MESSAGE_MAP() -}; - -CAboutDlg::CAboutDlg() : CDialog(CAboutDlg::IDD) -{ -} - -void CAboutDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); -} - -BEGIN_MESSAGE_MAP(CAboutDlg, CDialog) -END_MESSAGE_MAP() - - -// CDIOOnePointDlg dialog - - - - -CDIOOnePointDlg::CDIOOnePointDlg(I16 hCard, CWnd* pParent /*=NULL*/) - : CDialog(CDIOOnePointDlg::IDD, pParent) -{ - m_hIcon = AfxGetApp()->LoadIcon(IDR_MAINFRAME); - - m_hCard = hCard; - - m_dwOutData = 0x00000000; -} - -void CDIOOnePointDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); - DDX_Control(pDX, IDC_COMBO_DO_PORT, m_cbPortDO); -} - -BEGIN_MESSAGE_MAP(CDIOOnePointDlg, CDialog) - ON_WM_SYSCOMMAND() - ON_WM_PAINT() - ON_WM_QUERYDRAGICON() - //}}AFX_MSG_MAP - ON_CBN_SELCHANGE(IDC_COMBO_DO_PORT, &CDIOOnePointDlg::OnDOPortSelchange) - ON_BN_CLICKED(IDC_CHECK_DO00, &CDIOOnePointDlg::OnOut00) - ON_BN_CLICKED(IDC_CHECK_DO01, &CDIOOnePointDlg::OnOut01) - ON_BN_CLICKED(IDC_CHECK_DO02, &CDIOOnePointDlg::OnOut02) - ON_BN_CLICKED(IDC_CHECK_DO03, &CDIOOnePointDlg::OnOut03) - ON_BN_CLICKED(IDC_CHECK_DO04, &CDIOOnePointDlg::OnOut04) - ON_BN_CLICKED(IDC_CHECK_DO05, &CDIOOnePointDlg::OnOut05) - ON_BN_CLICKED(IDC_CHECK_DO06, &CDIOOnePointDlg::OnOut06) - ON_BN_CLICKED(IDC_CHECK_DO07, &CDIOOnePointDlg::OnOut07) - ON_BN_CLICKED(IDC_CHECK_DO08, &CDIOOnePointDlg::OnOut08) - ON_BN_CLICKED(IDC_CHECK_DO09, &CDIOOnePointDlg::OnOut09) - ON_BN_CLICKED(IDC_CHECK_DO10, &CDIOOnePointDlg::OnOut10) - ON_BN_CLICKED(IDC_CHECK_DO11, &CDIOOnePointDlg::OnOut11) - ON_BN_CLICKED(IDC_CHECK_DO12, &CDIOOnePointDlg::OnOut12) - ON_BN_CLICKED(IDC_CHECK_DO13, &CDIOOnePointDlg::OnOut13) - ON_BN_CLICKED(IDC_CHECK_DO14, &CDIOOnePointDlg::OnOut14) - ON_BN_CLICKED(IDC_CHECK_DO15, &CDIOOnePointDlg::OnOut15) - ON_BN_CLICKED(IDC_CHECK_DO16, &CDIOOnePointDlg::OnOut16) - ON_BN_CLICKED(IDC_CHECK_DO17, &CDIOOnePointDlg::OnOut17) - ON_BN_CLICKED(IDC_CHECK_DO18, &CDIOOnePointDlg::OnOut18) - ON_BN_CLICKED(IDC_CHECK_DO19, &CDIOOnePointDlg::OnOut19) - ON_BN_CLICKED(IDC_CHECK_DO20, &CDIOOnePointDlg::OnOut20) - ON_BN_CLICKED(IDC_CHECK_DO21, &CDIOOnePointDlg::OnOut21) - ON_BN_CLICKED(IDC_CHECK_DO22, &CDIOOnePointDlg::OnOut22) - ON_BN_CLICKED(IDC_CHECK_DO23, &CDIOOnePointDlg::OnOut23) - ON_BN_CLICKED(IDC_CHECK_DO24, &CDIOOnePointDlg::OnOut24) - ON_BN_CLICKED(IDC_CHECK_DO25, &CDIOOnePointDlg::OnOut25) - ON_BN_CLICKED(IDC_CHECK_DO26, &CDIOOnePointDlg::OnOut26) - ON_BN_CLICKED(IDC_CHECK_DO27, &CDIOOnePointDlg::OnOut27) - ON_BN_CLICKED(IDC_CHECK_DO28, &CDIOOnePointDlg::OnOut28) - ON_BN_CLICKED(IDC_CHECK_DO29, &CDIOOnePointDlg::OnOut29) - ON_BN_CLICKED(IDC_CHECK_DO30, &CDIOOnePointDlg::OnOut30) - ON_BN_CLICKED(IDC_CHECK_DO31, &CDIOOnePointDlg::OnOut31) -END_MESSAGE_MAP() - - -// CDIOOnePointDlg message handlers - -BOOL CDIOOnePointDlg::OnInitDialog() -{ - CDialog::OnInitDialog(); - - // Add "About..." menu item to system menu. - - // IDM_ABOUTBOX must be in the system command range. - ASSERT((IDM_ABOUTBOX & 0xFFF0) == IDM_ABOUTBOX); - ASSERT(IDM_ABOUTBOX < 0xF000); - - CMenu* pSysMenu = GetSystemMenu(FALSE); - if (pSysMenu != NULL) - { - BOOL bNameValid; - CString strAboutMenu; - bNameValid = strAboutMenu.LoadString(IDS_ABOUTBOX); - ASSERT(bNameValid); - if (!strAboutMenu.IsEmpty()) - { - pSysMenu->AppendMenu(MF_SEPARATOR); - pSysMenu->AppendMenu(MF_STRING, IDM_ABOUTBOX, strAboutMenu); - } - } - - // Set the icon for this dialog. The framework does this automatically - // when the application's main window is not a dialog - SetIcon(m_hIcon, TRUE); // Set big icon - SetIcon(m_hIcon, FALSE); // Set small icon - - // TODO: Add extra initialization here - m_wOutPort = P7444_CH0; - m_cbPortDO.SetCurSel( 0 ); - - return TRUE; // return TRUE unless you set the focus to a control -} - -void CDIOOnePointDlg::OnSysCommand(UINT nID, LPARAM lParam) -{ - if ((nID & 0xFFF0) == IDM_ABOUTBOX) - { - CAboutDlg dlgAbout; - dlgAbout.DoModal(); - } - else - { - CDialog::OnSysCommand(nID, lParam); - } -} - -// If you add a minimize button to your dialog, you will need the code below -// to draw the icon. For MFC applications using the document/view model, -// this is automatically done for you by the framework. - -void CDIOOnePointDlg::OnPaint() -{ - if (IsIconic()) - { - CPaintDC dc(this); // device context for painting - - SendMessage(WM_ICONERASEBKGND, reinterpret_cast(dc.GetSafeHdc()), 0); - - // Center icon in client rectangle - int cxIcon = GetSystemMetrics(SM_CXICON); - int cyIcon = GetSystemMetrics(SM_CYICON); - CRect rect; - GetClientRect(&rect); - int x = (rect.Width() - cxIcon + 1) / 2; - int y = (rect.Height() - cyIcon + 1) / 2; - - // Draw the icon - dc.DrawIcon(x, y, m_hIcon); - } - else - { - CDialog::OnPaint(); - } -} - -// The system calls this function to obtain the cursor to display while the user drags -// the minimized window. -HCURSOR CDIOOnePointDlg::OnQueryDragIcon() -{ - return static_cast(m_hIcon); -} - - -void CDIOOnePointDlg::OnDOPortSelchange() -{ - // TODO: Add your control notification handler code here - int nIndex; - - nIndex = m_cbPortDO.GetCurSel(); - switch( nIndex ) - { - case 0: - m_wOutPort = P7444_CH0; - break; - case 1: - m_wOutPort = P7444_CH1; - break; - case 2: - m_wOutPort = P7444_CH2; - break; - case 3: - m_wOutPort = P7444_CH3; - break; - } - - m_dwOutData = 0x00000000; - DO_WritePort( m_hCard, m_wOutPort, m_dwOutData ); - - ((CButton*)GetDlgItem(IDC_CHECK_DO00))->SetCheck( BST_UNCHECKED ); - ((CButton*)GetDlgItem(IDC_CHECK_DO01))->SetCheck( BST_UNCHECKED ); - ((CButton*)GetDlgItem(IDC_CHECK_DO02))->SetCheck( BST_UNCHECKED ); - ((CButton*)GetDlgItem(IDC_CHECK_DO03))->SetCheck( BST_UNCHECKED ); - ((CButton*)GetDlgItem(IDC_CHECK_DO04))->SetCheck( BST_UNCHECKED ); - ((CButton*)GetDlgItem(IDC_CHECK_DO05))->SetCheck( BST_UNCHECKED ); - ((CButton*)GetDlgItem(IDC_CHECK_DO06))->SetCheck( BST_UNCHECKED ); - ((CButton*)GetDlgItem(IDC_CHECK_DO07))->SetCheck( BST_UNCHECKED ); - ((CButton*)GetDlgItem(IDC_CHECK_DO08))->SetCheck( BST_UNCHECKED ); - ((CButton*)GetDlgItem(IDC_CHECK_DO09))->SetCheck( BST_UNCHECKED ); - ((CButton*)GetDlgItem(IDC_CHECK_DO10))->SetCheck( BST_UNCHECKED ); - ((CButton*)GetDlgItem(IDC_CHECK_DO11))->SetCheck( BST_UNCHECKED ); - ((CButton*)GetDlgItem(IDC_CHECK_DO12))->SetCheck( BST_UNCHECKED ); - ((CButton*)GetDlgItem(IDC_CHECK_DO13))->SetCheck( BST_UNCHECKED ); - ((CButton*)GetDlgItem(IDC_CHECK_DO14))->SetCheck( BST_UNCHECKED ); - ((CButton*)GetDlgItem(IDC_CHECK_DO15))->SetCheck( BST_UNCHECKED ); - - ((CButton*)GetDlgItem(IDC_CHECK_DO16))->SetCheck( BST_UNCHECKED ); - ((CButton*)GetDlgItem(IDC_CHECK_DO17))->SetCheck( BST_UNCHECKED ); - ((CButton*)GetDlgItem(IDC_CHECK_DO18))->SetCheck( BST_UNCHECKED ); - ((CButton*)GetDlgItem(IDC_CHECK_DO19))->SetCheck( BST_UNCHECKED ); - ((CButton*)GetDlgItem(IDC_CHECK_DO20))->SetCheck( BST_UNCHECKED ); - ((CButton*)GetDlgItem(IDC_CHECK_DO21))->SetCheck( BST_UNCHECKED ); - ((CButton*)GetDlgItem(IDC_CHECK_DO22))->SetCheck( BST_UNCHECKED ); - ((CButton*)GetDlgItem(IDC_CHECK_DO23))->SetCheck( BST_UNCHECKED ); - ((CButton*)GetDlgItem(IDC_CHECK_DO24))->SetCheck( BST_UNCHECKED ); - ((CButton*)GetDlgItem(IDC_CHECK_DO25))->SetCheck( BST_UNCHECKED ); - ((CButton*)GetDlgItem(IDC_CHECK_DO26))->SetCheck( BST_UNCHECKED ); - ((CButton*)GetDlgItem(IDC_CHECK_DO27))->SetCheck( BST_UNCHECKED ); - ((CButton*)GetDlgItem(IDC_CHECK_DO28))->SetCheck( BST_UNCHECKED ); - ((CButton*)GetDlgItem(IDC_CHECK_DO29))->SetCheck( BST_UNCHECKED ); - ((CButton*)GetDlgItem(IDC_CHECK_DO30))->SetCheck( BST_UNCHECKED ); - ((CButton*)GetDlgItem(IDC_CHECK_DO31))->SetCheck( BST_UNCHECKED ); -} - - -void CDIOOnePointDlg::OnOut00() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_DO00 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_dwOutData |= 0x01; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_dwOutData &= (~0x01); - } - - DO_WritePort( m_hCard, m_wOutPort, m_dwOutData ); - -} - -void CDIOOnePointDlg::OnOut01() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_DO01 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_dwOutData |= 0x02; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_dwOutData &= (~0x02); - } - - DO_WritePort( m_hCard, m_wOutPort, m_dwOutData ); -} - -void CDIOOnePointDlg::OnOut02() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_DO02 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_dwOutData |= 0x04; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_dwOutData &= (~0x04); - } - - DO_WritePort( m_hCard, m_wOutPort, m_dwOutData ); -} - -void CDIOOnePointDlg::OnOut03() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_DO03 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_dwOutData |= 0x08; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_dwOutData &= (~0x08); - } - - DO_WritePort( m_hCard, m_wOutPort, m_dwOutData ); -} - -void CDIOOnePointDlg::OnOut04() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_DO04 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_dwOutData |= 0x10; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_dwOutData &= (~0x10); - } - - DO_WritePort( m_hCard, m_wOutPort, m_dwOutData ); -} - -void CDIOOnePointDlg::OnOut05() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_DO05 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_dwOutData |= 0x20; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_dwOutData &= (~0x20); - } - - DO_WritePort( m_hCard, m_wOutPort, m_dwOutData ); -} - -void CDIOOnePointDlg::OnOut06() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_DO06 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_dwOutData |= 0x40; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_dwOutData &= (~0x40); - } - - DO_WritePort( m_hCard, m_wOutPort, m_dwOutData ); -} - -void CDIOOnePointDlg::OnOut07() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_DO07 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_dwOutData |= 0x80; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_dwOutData &= (~0x80); - } - - DO_WritePort( m_hCard, m_wOutPort, m_dwOutData ); -} - -void CDIOOnePointDlg::OnOut08() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_DO08 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_dwOutData |= 0x100; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_dwOutData &= (~0x100); - } - - DO_WritePort( m_hCard, m_wOutPort, m_dwOutData ); -} - -void CDIOOnePointDlg::OnOut09() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_DO09 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_dwOutData |= 0x200; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_dwOutData &= (~0x200); - } - - DO_WritePort( m_hCard, m_wOutPort, m_dwOutData ); -} - -void CDIOOnePointDlg::OnOut10() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_DO10 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_dwOutData |= 0x400; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_dwOutData &= (~0x400); - } - - DO_WritePort( m_hCard, m_wOutPort, m_dwOutData ); -} - -void CDIOOnePointDlg::OnOut11() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_DO11 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_dwOutData |= 0x800; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_dwOutData &= (~0x800); - } - - DO_WritePort( m_hCard, m_wOutPort, m_dwOutData ); -} - -void CDIOOnePointDlg::OnOut12() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_DO12 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_dwOutData |= 0x1000; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_dwOutData &= (~0x1000); - } - - DO_WritePort( m_hCard, m_wOutPort, m_dwOutData ); -} - -void CDIOOnePointDlg::OnOut13() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_DO13 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_dwOutData |= 0x2000; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_dwOutData &= (~0x2000); - } - - DO_WritePort( m_hCard, m_wOutPort, m_dwOutData ); -} - -void CDIOOnePointDlg::OnOut14() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_DO14 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_dwOutData |= 0x4000; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_dwOutData &= (~0x4000); - } - - DO_WritePort( m_hCard, m_wOutPort, m_dwOutData ); -} - -void CDIOOnePointDlg::OnOut15() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_DO15 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_dwOutData |= 0x8000; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_dwOutData &= (~0x8000); - } - - DO_WritePort( m_hCard, m_wOutPort, m_dwOutData ); -} - - -void CDIOOnePointDlg::OnOut16() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_DO16 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_dwOutData |= 0x10000; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_dwOutData &= (~0x10000); - } - - DO_WritePort( m_hCard, m_wOutPort, m_dwOutData ); -} - -void CDIOOnePointDlg::OnOut17() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_DO17 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_dwOutData |= 0x20000; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_dwOutData &= (~0x20000); - } - - DO_WritePort( m_hCard, m_wOutPort, m_dwOutData ); -} - -void CDIOOnePointDlg::OnOut18() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_DO18 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_dwOutData |= 0x40000; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_dwOutData &= (~0x40000); - } - - DO_WritePort( m_hCard, m_wOutPort, m_dwOutData ); -} - -void CDIOOnePointDlg::OnOut19() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_DO19 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_dwOutData |= 0x80000; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_dwOutData &= (~0x80000); - } - - DO_WritePort( m_hCard, m_wOutPort, m_dwOutData ); -} - - -void CDIOOnePointDlg::OnOut20() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_DO20 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_dwOutData |= 0x100000; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_dwOutData &= (~0x100000); - } - - DO_WritePort( m_hCard, m_wOutPort, m_dwOutData ); -} - -void CDIOOnePointDlg::OnOut21() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_DO21 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_dwOutData |= 0x200000; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_dwOutData &= (~0x200000); - } - - DO_WritePort( m_hCard, m_wOutPort, m_dwOutData ); -} - -void CDIOOnePointDlg::OnOut22() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_DO22 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_dwOutData |= 0x400000; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_dwOutData &= (~0x400000); - } - - DO_WritePort( m_hCard, m_wOutPort, m_dwOutData ); -} - -void CDIOOnePointDlg::OnOut23() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_DO23 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_dwOutData |= 0x800000; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_dwOutData &= (~0x80000); - } - - DO_WritePort( m_hCard, m_wOutPort, m_dwOutData ); -} - -void CDIOOnePointDlg::OnOut24() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_DO24 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_dwOutData |= 0x1000000; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_dwOutData &= (~0x1000000); - } - - DO_WritePort( m_hCard, m_wOutPort, m_dwOutData ); -} - -void CDIOOnePointDlg::OnOut25() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_DO25 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_dwOutData |= 0x2000000; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_dwOutData &= (~0x2000000); - } - - DO_WritePort( m_hCard, m_wOutPort, m_dwOutData ); -} - - -void CDIOOnePointDlg::OnOut26() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_DO26 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_dwOutData |= 0x4000000; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_dwOutData &= (~0x4000000); - } - - DO_WritePort( m_hCard, m_wOutPort, m_dwOutData ); -} - -void CDIOOnePointDlg::OnOut27() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_DO27 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_dwOutData |= 0x8000000; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_dwOutData &= (~0x8000000); - } - - DO_WritePort( m_hCard, m_wOutPort, m_dwOutData ); -} - -void CDIOOnePointDlg::OnOut28() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_DO28 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_dwOutData |= 0x10000000; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_dwOutData &= (~0x10000000); - } - - DO_WritePort( m_hCard, m_wOutPort, m_dwOutData ); -} - -void CDIOOnePointDlg::OnOut29() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_DO29 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_dwOutData |= 0x20000000; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_dwOutData &= (~0x20000000); - } - - DO_WritePort( m_hCard, m_wOutPort, m_dwOutData ); -} - -void CDIOOnePointDlg::OnOut30() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_DO30 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_dwOutData |= 0x40000000; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_dwOutData &= (~0x40000000); - } - - DO_WritePort( m_hCard, m_wOutPort, m_dwOutData ); -} - -void CDIOOnePointDlg::OnOut31() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_DO31 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_dwOutData |= 0x80000000; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_dwOutData &= (~0x80000000); - } - - DO_WritePort( m_hCard, m_wOutPort, m_dwOutData ); -} diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7444/DIOOnePoint/DIOOnePointDlg.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7444/DIOOnePoint/DIOOnePointDlg.h deleted file mode 100644 index 5bf0026..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7444/DIOOnePoint/DIOOnePointDlg.h +++ /dev/null @@ -1,73 +0,0 @@ - -// DIOOnePointDlg.h : header file -// - -#include "Dask64.h" - -#pragma once -#include "afxwin.h" - - -// CDIOOnePointDlg dialog -class CDIOOnePointDlg : public CDialog -{ -// Construction -public: - CDIOOnePointDlg(I16 hCard, CWnd* pParent = NULL); // standard constructor - -// Dialog Data - enum { IDD = IDD_DIOONEPOINT_DIALOG }; - - protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - - -// Implementation -protected: - HICON m_hIcon; - I16 m_hCard; - U16 m_wOutPort; - U32 m_dwOutData; - - // Generated message map functions - virtual BOOL OnInitDialog(); - afx_msg void OnSysCommand(UINT nID, LPARAM lParam); - afx_msg void OnPaint(); - afx_msg HCURSOR OnQueryDragIcon(); - DECLARE_MESSAGE_MAP() -public: - CComboBox m_cbPortDO; - afx_msg void OnDOPortSelchange(); - afx_msg void OnOut00(); - afx_msg void OnOut01(); - afx_msg void OnOut02(); - afx_msg void OnOut03(); - afx_msg void OnOut04(); - afx_msg void OnOut05(); - afx_msg void OnOut06(); - afx_msg void OnOut07(); - afx_msg void OnOut08(); - afx_msg void OnOut09(); - afx_msg void OnOut10(); - afx_msg void OnOut11(); - afx_msg void OnOut12(); - afx_msg void OnOut13(); - afx_msg void OnOut14(); - afx_msg void OnOut15(); - afx_msg void OnOut16(); - afx_msg void OnOut17(); - afx_msg void OnOut18(); - afx_msg void OnOut19(); - afx_msg void OnOut20(); - afx_msg void OnOut21(); - afx_msg void OnOut22(); - afx_msg void OnOut23(); - afx_msg void OnOut24(); - afx_msg void OnOut25(); - afx_msg void OnOut26(); - afx_msg void OnOut27(); - afx_msg void OnOut28(); - afx_msg void OnOut29(); - afx_msg void OnOut30(); - afx_msg void OnOut31(); -}; diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7444/DIOOnePoint/ReadMe.txt b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7444/DIOOnePoint/ReadMe.txt deleted file mode 100644 index c4176c0..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7444/DIOOnePoint/ReadMe.txt +++ /dev/null @@ -1,93 +0,0 @@ -================================================================================ - MICROSOFT FOUNDATION CLASS LIBRARY : DIOOnePoint Project Overview -=============================================================================== - -The application wizard has created this DIOOnePoint application for -you. This application not only demonstrates the basics of using the Microsoft -Foundation Classes but is also a starting point for writing your application. - -This file contains a summary of what you will find in each of the files that -make up your DIOOnePoint application. - -DIOOnePoint.vcproj - This is the main project file for VC++ projects generated using an application wizard. - It contains information about the version of Visual C++ that generated the file, and - information about the platforms, configurations, and project features selected with the - application wizard. - -DIOOnePoint.h - This is the main header file for the application. It includes other - project specific headers (including Resource.h) and declares the - CDIOOnePointApp application class. - -DIOOnePoint.cpp - This is the main application source file that contains the application - class CDIOOnePointApp. - -DIOOnePoint.rc - This is a listing of all of the Microsoft Windows resources that the - program uses. It includes the icons, bitmaps, and cursors that are stored - in the RES subdirectory. This file can be directly edited in Microsoft - Visual C++. Your project resources are in 1033. - -res\DIOOnePoint.ico - This is an icon file, which is used as the application's icon. This - icon is included by the main resource file DIOOnePoint.rc. - -res\DIOOnePoint.rc2 - This file contains resources that are not edited by Microsoft - Visual C++. You should place all resources not editable by - the resource editor in this file. - - -///////////////////////////////////////////////////////////////////////////// - -The application wizard creates one dialog class: - -DIOOnePointDlg.h, DIOOnePointDlg.cpp - the dialog - These files contain your CDIOOnePointDlg class. This class defines - the behavior of your application's main dialog. The dialog's template is - in DIOOnePoint.rc, which can be edited in Microsoft Visual C++. - - -///////////////////////////////////////////////////////////////////////////// - -Other Features: - -ActiveX Controls - The application includes support to use ActiveX controls. - -///////////////////////////////////////////////////////////////////////////// - -Other standard files: - -StdAfx.h, StdAfx.cpp - These files are used to build a precompiled header (PCH) file - named DIOOnePoint.pch and a precompiled types file named StdAfx.obj. - -Resource.h - This is the standard header file, which defines new resource IDs. - Microsoft Visual C++ reads and updates this file. - -DIOOnePoint.manifest - Application manifest files are used by Windows XP to describe an applications - dependency on specific versions of Side-by-Side assemblies. The loader uses this - information to load the appropriate assembly from the assembly cache or private - from the application. The Application manifest maybe included for redistribution - as an external .manifest file that is installed in the same folder as the application - executable or it may be included in the executable in the form of a resource. -///////////////////////////////////////////////////////////////////////////// - -Other notes: - -The application wizard uses "TODO:" to indicate parts of the source code you -should add to or customize. - -If your application uses MFC in a shared DLL, you will need -to redistribute the MFC DLLs. If your application is in a language -other than the operating system's locale, you will also have to -redistribute the corresponding localized resources MFC90XXX.DLL. -For more information on both of these topics, please see the section on -redistributing Visual C++ applications in MSDN documentation. - -///////////////////////////////////////////////////////////////////////////// diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7444/DIOOnePoint/res/DIOOnePoint.ico b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7444/DIOOnePoint/res/DIOOnePoint.ico deleted file mode 100644 index d56fbcd..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7444/DIOOnePoint/res/DIOOnePoint.ico and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7444/DIOOnePoint/res/DIOOnePoint.rc2 b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7444/DIOOnePoint/res/DIOOnePoint.rc2 deleted file mode 100644 index 902849b..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7444/DIOOnePoint/res/DIOOnePoint.rc2 +++ /dev/null @@ -1,13 +0,0 @@ -// -// DIOOnePoint.RC2 - resources Microsoft Visual C++ does not edit directly -// - -#ifdef APSTUDIO_INVOKED -#error this file is not editable by Microsoft Visual C++ -#endif //APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// Add manually edited resources here... - -///////////////////////////////////////////////////////////////////////////// diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7444/DIOOnePoint/resource.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7444/DIOOnePoint/resource.h deleted file mode 100644 index 3660d37..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7444/DIOOnePoint/resource.h +++ /dev/null @@ -1,57 +0,0 @@ -//{{NO_DEPENDENCIES}} -// Microsoft Visual C++ generated include file. -// Used by DIOOnePoint.rc -// -#define IDM_ABOUTBOX 0x0010 -#define IDD_ABOUTBOX 100 -#define IDS_ABOUTBOX 101 -#define IDD_DIOONEPOINT_DIALOG 102 -#define IDR_MAINFRAME 128 -#define IDD_CARDID_DIALOG 129 -#define IDC_COMBO_CARDID 1000 -#define IDC_COMBO_DO_PORT 1000 -#define IDC_CHECK_DO00 1003 -#define IDC_CHECK_DO01 1004 -#define IDC_CHECK_DO1 1005 -#define IDC_CHECK_DO16 1005 -#define IDC_CHECK_DO17 1006 -#define IDC_STATIC_01 1014 -#define IDC_CHECK_DO02 1021 -#define IDC_CHECK_DO03 1022 -#define IDC_CHECK_DO04 1023 -#define IDC_CHECK_DO05 1024 -#define IDC_CHECK_DO06 1025 -#define IDC_CHECK_DO07 1026 -#define IDC_CHECK_DO08 1027 -#define IDC_CHECK_DO09 1028 -#define IDC_CHECK_DO10 1029 -#define IDC_CHECK_DO11 1030 -#define IDC_CHECK_DO12 1031 -#define IDC_CHECK_DO13 1032 -#define IDC_CHECK_DO14 1033 -#define IDC_CHECK_DO15 1034 -#define IDC_CHECK_DO18 1035 -#define IDC_CHECK_DO19 1036 -#define IDC_CHECK_DO20 1037 -#define IDC_CHECK_DO21 1038 -#define IDC_CHECK_DO22 1039 -#define IDC_CHECK_DO23 1040 -#define IDC_CHECK_DO24 1041 -#define IDC_CHECK_DO25 1042 -#define IDC_CHECK_DO26 1043 -#define IDC_CHECK_DO27 1044 -#define IDC_CHECK_DO28 1045 -#define IDC_CHECK_DO29 1046 -#define IDC_CHECK_DO30 1047 -#define IDC_CHECK_DO31 1048 - -// Next default values for new objects -// -#ifdef APSTUDIO_INVOKED -#ifndef APSTUDIO_READONLY_SYMBOLS -#define _APS_NEXT_RESOURCE_VALUE 132 -#define _APS_NEXT_COMMAND_VALUE 32771 -#define _APS_NEXT_CONTROL_VALUE 1000 -#define _APS_NEXT_SYMED_VALUE 101 -#endif -#endif diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7444/DIOOnePoint/stdafx.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7444/DIOOnePoint/stdafx.cpp deleted file mode 100644 index f60204d..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7444/DIOOnePoint/stdafx.cpp +++ /dev/null @@ -1,8 +0,0 @@ - -// stdafx.cpp : source file that includes just the standard includes -// DIOOnePoint.pch will be the pre-compiled header -// stdafx.obj will contain the pre-compiled type information - -#include "stdafx.h" - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7444/DIOOnePoint/stdafx.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7444/DIOOnePoint/stdafx.h deleted file mode 100644 index 12123e2..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7444/DIOOnePoint/stdafx.h +++ /dev/null @@ -1,60 +0,0 @@ - -// stdafx.h : include file for standard system include files, -// or project specific include files that are used frequently, -// but are changed infrequently - -#pragma once - -#ifndef _SECURE_ATL -#define _SECURE_ATL 1 -#endif - -#ifndef VC_EXTRALEAN -#define VC_EXTRALEAN // Exclude rarely-used stuff from Windows headers -#endif - -#include "targetver.h" - -#define _ATL_CSTRING_EXPLICIT_CONSTRUCTORS // some CString constructors will be explicit - -// turns off MFC's hiding of some common and often safely ignored warning messages -#define _AFX_ALL_WARNINGS - -#include // MFC core and standard components -#include // MFC extensions - - -#include // MFC Automation classes - - - -#ifndef _AFX_NO_OLE_SUPPORT -#include // MFC support for Internet Explorer 4 Common Controls -#endif -#ifndef _AFX_NO_AFXCMN_SUPPORT -#include // MFC support for Windows Common Controls -#endif // _AFX_NO_AFXCMN_SUPPORT - -#include // MFC support for ribbons and control bars - - - - - - - - - -#ifdef _UNICODE -#if defined _M_IX86 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='x86' publicKeyToken='6595b64144ccf1df' language='*'\"") -#elif defined _M_IA64 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='ia64' publicKeyToken='6595b64144ccf1df' language='*'\"") -#elif defined _M_X64 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='amd64' publicKeyToken='6595b64144ccf1df' language='*'\"") -#else -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='*' publicKeyToken='6595b64144ccf1df' language='*'\"") -#endif -#endif - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7444/DIOOnePoint/targetver.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7444/DIOOnePoint/targetver.h deleted file mode 100644 index 11730d5..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7444/DIOOnePoint/targetver.h +++ /dev/null @@ -1,26 +0,0 @@ - -#pragma once - -// The following macros define the minimum required platform. The minimum required platform -// is the earliest version of Windows, Internet Explorer etc. that has the necessary features to run -// your application. The macros work by enabling all features available on platform versions up to and -// including the version specified. - -// Modify the following defines if you have to target a platform prior to the ones specified below. -// Refer to MSDN for the latest info on corresponding values for different platforms. -#ifndef WINVER // Specifies that the minimum required platform is Windows Vista. -#define WINVER 0x0600 // Change this to the appropriate value to target other versions of Windows. -#endif - -#ifndef _WIN32_WINNT // Specifies that the minimum required platform is Windows Vista. -#define _WIN32_WINNT 0x0600 // Change this to the appropriate value to target other versions of Windows. -#endif - -#ifndef _WIN32_WINDOWS // Specifies that the minimum required platform is Windows 98. -#define _WIN32_WINDOWS 0x0410 // Change this to the appropriate value to target Windows Me or later. -#endif - -#ifndef _WIN32_IE // Specifies that the minimum required platform is Internet Explorer 7.0. -#define _WIN32_IE 0x0700 // Change this to the appropriate value to target other versions of IE. -#endif - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7444/SDK7444TTL/CardIDDlg.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7444/SDK7444TTL/CardIDDlg.cpp deleted file mode 100644 index bd56e34..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7444/SDK7444TTL/CardIDDlg.cpp +++ /dev/null @@ -1,67 +0,0 @@ -// CardIDDlg.cpp : implementation file -// - -#include "stdafx.h" -#include "Util7444.h" -#include "CardIDDlg.h" - - -// CCardIDDlg dialog - -IMPLEMENT_DYNAMIC(CCardIDDlg, CDialog) - -CCardIDDlg::CCardIDDlg(int nCardIdx, CWnd* pParent /*=NULL*/) - : CDialog(CCardIDDlg::IDD, pParent) -{ - m_nCardIdx = nCardIdx; -} - -CCardIDDlg::~CCardIDDlg() -{ -} - -void CCardIDDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); - DDX_Control(pDX, IDC_COMBO_CARDID, m_cbCardID); -} - - -BEGIN_MESSAGE_MAP(CCardIDDlg, CDialog) -// ON_CBN_SELCHANGE(IDC_COMBO_CARDID, &CCardIDDlg::OnCbnSelchangeComboCardid) -ON_BN_CLICKED(IDOK, &CCardIDDlg::OnBnClickedOk) -//ON_WM_CTLCOLOR() -END_MESSAGE_MAP() - - -// CCardIDDlg message handlers - - -void CCardIDDlg::OnBnClickedOk() -{ - // TODO: Add your control notification handler code here - -// UpdateData(TRUE); - m_nCardIdx = m_cbCardID.GetCurSel(); - - OnOK(); -} - -BOOL CCardIDDlg::OnInitDialog() -{ - CDialog::OnInitDialog(); - - // TODO: Add extra initialization here - m_cbCardID.SetCurSel( m_nCardIdx ); - - return TRUE; // return TRUE unless you set the focus to a control - // EXCEPTION: OCX Property Pages should return FALSE -} - -// the function to get the selected CardID -int CCardIDDlg::GetCardID(void) -{ - return m_nCardIdx; -} - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7444/SDK7444TTL/CardIDDlg.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7444/SDK7444TTL/CardIDDlg.h deleted file mode 100644 index 54628ea..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7444/SDK7444TTL/CardIDDlg.h +++ /dev/null @@ -1,33 +0,0 @@ -#pragma once -#include "afxwin.h" - - -// CCardIDDlg dialog - -class CCardIDDlg : public CDialog -{ - DECLARE_DYNAMIC(CCardIDDlg) - -public: - CCardIDDlg(int nCardIdx, CWnd* pParent = NULL); // standard constructor - virtual ~CCardIDDlg(); - -// Dialog Data - enum { IDD = IDD_CARDID_DIALOG }; - -protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - - DECLARE_MESSAGE_MAP() -public: -// afx_msg void OnCbnSelchangeComboCardid(); - afx_msg void OnBnClickedOk(); - // the setting of CardID ComboBox - int m_nCardIdx; - virtual BOOL OnInitDialog(); - // the control of CardID ComboBox - CComboBox m_cbCardID; - // the function to get the selected CardID - int GetCardID(void); -// afx_msg HBRUSH OnCtlColor(CDC* pDC, CWnd* pWnd, UINT nCtlColor); -}; diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7444/SDK7444TTL/ReadMe.txt b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7444/SDK7444TTL/ReadMe.txt deleted file mode 100644 index e188c73..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7444/SDK7444TTL/ReadMe.txt +++ /dev/null @@ -1,93 +0,0 @@ -================================================================================ - MICROSOFT FOUNDATION CLASS LIBRARY : Util7444 Project Overview -=============================================================================== - -The application wizard has created this Util7444 application for -you. This application not only demonstrates the basics of using the Microsoft -Foundation Classes but is also a starting point for writing your application. - -This file contains a summary of what you will find in each of the files that -make up your Util7444 application. - -Util7444.vcproj - This is the main project file for VC++ projects generated using an application wizard. - It contains information about the version of Visual C++ that generated the file, and - information about the platforms, configurations, and project features selected with the - application wizard. - -Util7444.h - This is the main header file for the application. It includes other - project specific headers (including Resource.h) and declares the - CUtil7444App application class. - -Util7444.cpp - This is the main application source file that contains the application - class CUtil7444App. - -Util7444.rc - This is a listing of all of the Microsoft Windows resources that the - program uses. It includes the icons, bitmaps, and cursors that are stored - in the RES subdirectory. This file can be directly edited in Microsoft - Visual C++. Your project resources are in 1033. - -res\Util7444.ico - This is an icon file, which is used as the application's icon. This - icon is included by the main resource file Util7444.rc. - -res\Util7444.rc2 - This file contains resources that are not edited by Microsoft - Visual C++. You should place all resources not editable by - the resource editor in this file. - - -///////////////////////////////////////////////////////////////////////////// - -The application wizard creates one dialog class: - -Util7444Dlg.h, Util7444Dlg.cpp - the dialog - These files contain your CUtil7444Dlg class. This class defines - the behavior of your application's main dialog. The dialog's template is - in Util7444.rc, which can be edited in Microsoft Visual C++. - - -///////////////////////////////////////////////////////////////////////////// - -Other Features: - -ActiveX Controls - The application includes support to use ActiveX controls. - -///////////////////////////////////////////////////////////////////////////// - -Other standard files: - -StdAfx.h, StdAfx.cpp - These files are used to build a precompiled header (PCH) file - named Util7444.pch and a precompiled types file named StdAfx.obj. - -Resource.h - This is the standard header file, which defines new resource IDs. - Microsoft Visual C++ reads and updates this file. - -Util7444.manifest - Application manifest files are used by Windows XP to describe an applications - dependency on specific versions of Side-by-Side assemblies. The loader uses this - information to load the appropriate assembly from the assembly cache or private - from the application. The Application manifest maybe included for redistribution - as an external .manifest file that is installed in the same folder as the application - executable or it may be included in the executable in the form of a resource. -///////////////////////////////////////////////////////////////////////////// - -Other notes: - -The application wizard uses "TODO:" to indicate parts of the source code you -should add to or customize. - -If your application uses MFC in a shared DLL, you will need -to redistribute the MFC DLLs. If your application is in a language -other than the operating system's locale, you will also have to -redistribute the corresponding localized resources MFC90XXX.DLL. -For more information on both of these topics, please see the section on -redistributing Visual C++ applications in MSDN documentation. - -///////////////////////////////////////////////////////////////////////////// diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7444/SDK7444TTL/Util7444.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7444/SDK7444TTL/Util7444.cpp deleted file mode 100644 index 56cf8a8..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7444/SDK7444TTL/Util7444.cpp +++ /dev/null @@ -1,110 +0,0 @@ - -// Util7444.cpp : Defines the class behaviors for the application. -// - -#include "stdafx.h" -#include "Util7444.h" -#include "Util7444Dlg.h" -#include "CardIDDlg.h" - -#ifdef _DEBUG -#define new DEBUG_NEW -#endif - - -// CUtil7444App - -BEGIN_MESSAGE_MAP(CUtil7444App, CWinAppEx) - ON_COMMAND(ID_HELP, &CWinApp::OnHelp) -END_MESSAGE_MAP() - - -// CUtil7444App construction - -CUtil7444App::CUtil7444App() -{ - // TODO: add construction code here, - // Place all significant initialization in InitInstance -} - - -// The one and only CUtil7444App object - -CUtil7444App theApp; - - -// CUtil7444App initialization - -BOOL CUtil7444App::InitInstance() -{ - int nCardID = 0; - I16 hCard; - CString strTemp; - INT_PTR nResponse; - - // InitCommonControlsEx() is required on Windows XP if an application - // manifest specifies use of ComCtl32.dll version 6 or later to enable - // visual styles. Otherwise, any window creation will fail. - INITCOMMONCONTROLSEX InitCtrls; - InitCtrls.dwSize = sizeof(InitCtrls); - // Set this to include all the common control classes you want to use - // in your application. - InitCtrls.dwICC = ICC_WIN95_CLASSES; - InitCommonControlsEx(&InitCtrls); - - CWinAppEx::InitInstance(); - - AfxEnableControlContainer(); - - // Standard initialization - // If you are not using these features and wish to reduce the size - // of your final executable, you should remove from the following - // the specific initialization routines you do not need - // Change the registry key under which our settings are stored - // TODO: You should modify this string to be something appropriate - // such as the name of your company or organization - SetRegistryKey(_T("Local AppWizard-Generated Applications")); - - CCardIDDlg CardDlg( nCardID ); - - nResponse = CardDlg.DoModal(); - if (nResponse == IDOK) - { - nCardID = CardDlg.GetCardID(); - - if ((hCard=Register_Card(PCI_7444, nCardID)) < 0) - { - strTemp.Format( TEXT("Register_Card Error = %d"), hCard); - AfxMessageBox( strTemp ); - } - else - { - CUtil7444Dlg dlg(hCard); - m_pMainWnd = &dlg; - nResponse = dlg.DoModal(); - if (nResponse == IDOK) - { - // TODO: Place code here to handle when the dialog is - // dismissed with OK - } - else if (nResponse == IDCANCEL) - { - // TODO: Place code here to handle when the dialog is - // dismissed with Cancel - } - - if (hCard >= 0) Release_Card(hCard); - } - - } - else if (nResponse == IDCANCEL) - { - // TODO: Place code here to handle when the dialog is - // dismissed with Cancel - } - - - // Since the dialog has been closed, return FALSE so that we exit the - // application, rather than start the application's message pump. - return FALSE; -} diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7444/SDK7444TTL/Util7444.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7444/SDK7444TTL/Util7444.h deleted file mode 100644 index 4e5cb31..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7444/SDK7444TTL/Util7444.h +++ /dev/null @@ -1,32 +0,0 @@ - -// Util7444.h : main header file for the PROJECT_NAME application -// - -#pragma once - -#ifndef __AFXWIN_H__ - #error "include 'stdafx.h' before including this file for PCH" -#endif - -#include "resource.h" // main symbols - - -// CUtil7444App: -// See Util7444.cpp for the implementation of this class -// - -class CUtil7444App : public CWinAppEx -{ -public: - CUtil7444App(); - -// Overrides - public: - virtual BOOL InitInstance(); - -// Implementation - - DECLARE_MESSAGE_MAP() -}; - -extern CUtil7444App theApp; \ No newline at end of file diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7444/SDK7444TTL/Util7444.rc b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7444/SDK7444TTL/Util7444.rc deleted file mode 100644 index 533017d..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7444/SDK7444TTL/Util7444.rc +++ /dev/null @@ -1,339 +0,0 @@ -// Microsoft Visual C++ generated resource script. -// -#include "resource.h" - -#define APSTUDIO_READONLY_SYMBOLS -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 2 resource. -// -#ifndef APSTUDIO_INVOKED -#include "targetver.h" -#endif -#include "afxres.h" - -///////////////////////////////////////////////////////////////////////////// -#undef APSTUDIO_READONLY_SYMBOLS - -///////////////////////////////////////////////////////////////////////////// -// Chinese (Taiwan) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_CHT) -#ifdef _WIN32 -LANGUAGE LANG_CHINESE, SUBLANG_CHINESE_TRADITIONAL -#pragma code_page(950) -#endif //_WIN32 - -#ifdef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// TEXTINCLUDE -// - -1 TEXTINCLUDE -BEGIN - "resource.h\0" -END - -2 TEXTINCLUDE -BEGIN - "#ifndef APSTUDIO_INVOKED\r\n" - "#include ""targetver.h""\r\n" - "#endif\r\n" - "#include ""afxres.h""\r\n" - "\0" -END - -3 TEXTINCLUDE -BEGIN - "#define _AFX_NO_SPLITTER_RESOURCES\r\n" - "#define _AFX_NO_OLE_RESOURCES\r\n" - "#define _AFX_NO_TRACKER_RESOURCES\r\n" - "#define _AFX_NO_PROPERTY_RESOURCES\r\n" - "\r\n" - "#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)\r\n" - "LANGUAGE 9, 1\r\n" - "#pragma code_page(1252)\r\n" - "#include ""res\\Util7444.rc2"" // non-Microsoft Visual C++ edited resources\r\n" - "#include ""afxres.rc"" // Standard components\r\n" - "#endif\r\n" - "\0" -END - -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// Icon -// - -// Icon with lowest ID value placed first to ensure application icon -// remains consistent on all systems. -IDR_MAINFRAME ICON "res\\Util7444.ico" -#endif // Chinese (Taiwan) resources -///////////////////////////////////////////////////////////////////////////// - - -///////////////////////////////////////////////////////////////////////////// -// English (U.S.) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -#ifdef _WIN32 -LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US -#pragma code_page(1252) -#endif //_WIN32 - -///////////////////////////////////////////////////////////////////////////// -// -// Icon -// - -// Icon with lowest ID value placed first to ensure application icon -// remains consistent on all systems. -IDI_ICON_BLACK ICON "res\\black.ico" -IDI_ICON_GREEN ICON "res\\green.ico" -IDI_ICON_RED ICON "res\\red.ico" - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog -// - -IDD_ABOUTBOX DIALOGEX 0, 0, 170, 62 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "About Util7444" -FONT 8, "MS Shell Dlg", 0, 0, 0x1 -BEGIN - ICON IDR_MAINFRAME,IDC_STATIC,14,14,21,20 - LTEXT "Util7444, Version 1.0",IDC_STATIC,42,14,114,8,SS_NOPREFIX - LTEXT "Copyright (C) 2010",IDC_STATIC,42,26,114,8 - DEFPUSHBUTTON "OK",IDOK,113,41,50,14,WS_GROUP -END - -IDD_UTIL7444_DIALOG DIALOGEX 0, 0, 310, 172 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU -EXSTYLE WS_EX_APPWINDOW -CAPTION "PCI-7444" -FONT 8, "MS Shell Dlg", 0, 0, 0x1 -BEGIN - LTEXT "Select port TTL port0 or port1 for DI or DO",IDC_STATIC,6,6,233,12 - ICON IDI_ICON_BLACK,IDC_ICON_DI00,276,54,20,20 - ICON IDI_ICON_BLACK,IDC_ICON_DI01,258,54,20,20 - ICON IDI_ICON_BLACK,IDC_ICON_DI02,240,54,20,20 - ICON IDI_ICON_BLACK,IDC_ICON_DI03,222,54,20,20 - ICON IDI_ICON_BLACK,IDC_ICON_DI04,204,54,20,20 - ICON IDI_ICON_BLACK,IDC_ICON_DI05,186,54,20,20 - ICON IDI_ICON_BLACK,IDC_ICON_DI06,168,54,20,20 - ICON IDI_ICON_BLACK,IDC_ICON_DI07,150,54,20,20 - ICON IDI_ICON_BLACK,IDC_ICON_DI08,132,54,20,20 - ICON IDI_ICON_BLACK,IDC_ICON_DI09,114,54,20,20 - ICON IDI_ICON_BLACK,IDC_ICON_DI10,96,54,20,20 - ICON IDI_ICON_BLACK,IDC_ICON_DI11,78,54,20,20 - ICON IDI_ICON_BLACK,IDC_ICON_DI12,60,54,20,20 - ICON IDI_ICON_BLACK,IDC_ICON_DI13,42,54,20,20 - ICON IDI_ICON_BLACK,IDC_ICON_DI14,24,54,20,20 - ICON IDI_ICON_BLACK,IDC_ICON_DI15,6,54,20,20 - GROUPBOX "",IDC_STATIC,6,48,294,39 - COMBOBOX IDC_COMBO_DI_PORT,84,34,48,36,CBS_DROPDOWN | WS_VSCROLL | WS_TABSTOP - LTEXT "Digital Input#",IDC_STATIC_DI,24,34,48,12 - CONTROL "",IDC_CHECK_DO00,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,284,120,12,12 - CONTROL "",IDC_CHECK_DO01,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,266,120,12,12 - CONTROL "",IDC_CHECK_DO02,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,248,120,12,12 - CONTROL "",IDC_CHECK_DO03,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,230,120,12,12 - CONTROL "",IDC_CHECK_DO04,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,212,120,12,12 - CONTROL "",IDC_CHECK_DO05,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,194,120,12,12 - CONTROL "",IDC_CHECK_DO06,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,176,120,12,12 - CONTROL "",IDC_CHECK_DO07,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,158,120,12,12 - CONTROL "",IDC_CHECK_DO08,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,140,120,12,12 - CONTROL "",IDC_CHECK_DO09,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,122,120,12,12 - CONTROL "",IDC_CHECK_DO10,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,104,120,12,12 - CONTROL "",IDC_CHECK_DO11,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,86,120,12,12 - CONTROL "",IDC_CHECK_DO12,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,68,120,12,12 - CONTROL "",IDC_CHECK_DO13,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,50,120,12,12 - CONTROL "",IDC_CHECK_DO14,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,32,120,12,12 - CONTROL "",IDC_CHECK_DO15,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,14,120,12,12 - GROUPBOX "",IDC_STATIC,6,108,293,39 - LTEXT "Digital Output#",IDC_STATIC_DO,24,96,54,12 - COMBOBOX IDC_COMBO_DO_PORT,84,96,48,36,CBS_DROPDOWN | WS_VSCROLL | WS_TABSTOP - LTEXT " 15 0",IDC_STATIC,7,71,289,13 - LTEXT " 15 0",IDC_STATIC,7,132,289,13 -END - -IDD_CARDID_DIALOG DIALOGEX 0, 0, 184, 105 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "Card ID" -FONT 8, "MS Shell Dlg", 400, 0, 0x1 -BEGIN - COMBOBOX IDC_COMBO_CARDID,83,24,71,126,CBS_DROPDOWN | WS_VSCROLL | WS_TABSTOP - LTEXT "Card Number",IDC_STATIC_01,29,25,46,12 - PUSHBUTTON "OK",IDOK,30,57,58,19 - PUSHBUTTON "CANCEL",IDCANCEL,94,57,58,19 -END - - -///////////////////////////////////////////////////////////////////////////// -// -// Version -// - -VS_VERSION_INFO VERSIONINFO - FILEVERSION 1,0,0,1 - PRODUCTVERSION 1,0,0,1 - FILEFLAGSMASK 0x3fL -#ifdef _DEBUG - FILEFLAGS 0x1L -#else - FILEFLAGS 0x0L -#endif - FILEOS 0x4L - FILETYPE 0x1L - FILESUBTYPE 0x0L -BEGIN - BLOCK "StringFileInfo" - BEGIN - BLOCK "040904e4" - BEGIN - VALUE "CompanyName", "TODO: " - VALUE "FileDescription", "TODO: " - VALUE "FileVersion", "1.0.0.1" - VALUE "InternalName", "Util7444.exe" - VALUE "LegalCopyright", "TODO: (c) . All rights reserved." - VALUE "OriginalFilename", "Util7444.exe" - VALUE "ProductName", "TODO: " - VALUE "ProductVersion", "1.0.0.1" - END - END - BLOCK "VarFileInfo" - BEGIN - VALUE "Translation", 0x409, 1252 - END -END - - -///////////////////////////////////////////////////////////////////////////// -// -// DESIGNINFO -// - -#ifdef APSTUDIO_INVOKED -GUIDELINES DESIGNINFO -BEGIN - IDD_ABOUTBOX, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 163 - TOPMARGIN, 7 - BOTTOMMARGIN, 55 - END - - IDD_UTIL7444_DIALOG, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 303 - TOPMARGIN, 7 - BOTTOMMARGIN, 165 - END - - IDD_CARDID_DIALOG, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 177 - TOPMARGIN, 7 - BOTTOMMARGIN, 98 - END -END -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog Info -// - -IDD_CARDID_DIALOG DLGINIT -BEGIN - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0030, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0031, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0032, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0033, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0034, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0035, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0036, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0037, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0038, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0039, - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3031, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3131, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3231, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3331, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3431, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3531, "\000" - 0 -END - -IDD_UTIL7444_DIALOG DLGINIT -BEGIN - IDC_COMBO_DI_PORT, 0x403, 5, 0 -0x5454, 0x304c, "\000" - IDC_COMBO_DI_PORT, 0x403, 5, 0 -0x5454, 0x314c, "\000" - IDC_COMBO_DO_PORT, 0x403, 5, 0 -0x5454, 0x304c, "\000" - IDC_COMBO_DO_PORT, 0x403, 5, 0 -0x5454, 0x314c, "\000" - 0 -END - - -///////////////////////////////////////////////////////////////////////////// -// -// String Table -// - -STRINGTABLE -BEGIN - IDS_ABOUTBOX "&About Util7444..." -END - -#endif // English (U.S.) resources -///////////////////////////////////////////////////////////////////////////// - - - -#ifndef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 3 resource. -// -#define _AFX_NO_SPLITTER_RESOURCES -#define _AFX_NO_OLE_RESOURCES -#define _AFX_NO_TRACKER_RESOURCES -#define _AFX_NO_PROPERTY_RESOURCES - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -LANGUAGE 9, 1 -#pragma code_page(1252) -#include "res\Util7444.rc2" // non-Microsoft Visual C++ edited resources -#include "afxres.rc" // Standard components -#endif - -///////////////////////////////////////////////////////////////////////////// -#endif // not APSTUDIO_INVOKED - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7444/SDK7444TTL/Util7444.sln b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7444/SDK7444TTL/Util7444.sln deleted file mode 100644 index fcb98a5..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7444/SDK7444TTL/Util7444.sln +++ /dev/null @@ -1,20 +0,0 @@ - -Microsoft Visual Studio Solution File, Format Version 10.00 -# Visual Studio 2008 -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "Util7444", "Util7444.vcproj", "{E5006E0B-EA5D-4207-B600-953E80775988}" -EndProject -Global - GlobalSection(SolutionConfigurationPlatforms) = preSolution - Debug|x64 = Debug|x64 - Release|x64 = Release|x64 - EndGlobalSection - GlobalSection(ProjectConfigurationPlatforms) = postSolution - {E5006E0B-EA5D-4207-B600-953E80775988}.Debug|x64.ActiveCfg = Debug|x64 - {E5006E0B-EA5D-4207-B600-953E80775988}.Debug|x64.Build.0 = Debug|x64 - {E5006E0B-EA5D-4207-B600-953E80775988}.Release|x64.ActiveCfg = Release|x64 - {E5006E0B-EA5D-4207-B600-953E80775988}.Release|x64.Build.0 = Release|x64 - EndGlobalSection - GlobalSection(SolutionProperties) = preSolution - HideSolutionNode = FALSE - EndGlobalSection -EndGlobal diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7444/SDK7444TTL/Util7444.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7444/SDK7444TTL/Util7444.suo deleted file mode 100644 index 3506fb2..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7444/SDK7444TTL/Util7444.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7444/SDK7444TTL/Util7444.vcproj b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7444/SDK7444TTL/Util7444.vcproj deleted file mode 100644 index 98a3a9f..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7444/SDK7444TTL/Util7444.vcproj +++ /dev/null @@ -1,302 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7444/SDK7444TTL/Util7444Dlg.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7444/SDK7444TTL/Util7444Dlg.cpp deleted file mode 100644 index 1282e6c..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7444/SDK7444TTL/Util7444Dlg.cpp +++ /dev/null @@ -1,812 +0,0 @@ - -// Util7444Dlg.cpp : implementation file -// - -#include "stdafx.h" -#include "Util7444.h" -#include "Util7444Dlg.h" - -#ifdef _DEBUG -#define new DEBUG_NEW -#endif - - -// CAboutDlg dialog used for App About - -class CAboutDlg : public CDialog -{ -public: - CAboutDlg(); - -// Dialog Data - enum { IDD = IDD_ABOUTBOX }; - - protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - -// Implementation -protected: - DECLARE_MESSAGE_MAP() -}; - -CAboutDlg::CAboutDlg() : CDialog(CAboutDlg::IDD) -{ -} - -void CAboutDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); -} - -BEGIN_MESSAGE_MAP(CAboutDlg, CDialog) -END_MESSAGE_MAP() - - -// CUtil7444Dlg dialog - - - - -CUtil7444Dlg::CUtil7444Dlg(I16 hCard, CWnd* pParent /*=NULL*/) - : CDialog(CUtil7444Dlg::IDD, pParent) -{ - m_hIcon = AfxGetApp()->LoadIcon(IDR_MAINFRAME); - - m_hCard = hCard; - m_nTimer = -1; - - m_dwInData = 0x00000000; - m_dwOutData = 0x00000000; -} - -void CUtil7444Dlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); - DDX_Control(pDX, IDC_ICON_DI00, m_Icon_DI00); - DDX_Control(pDX, IDC_ICON_DI01, m_Icon_DI01); - DDX_Control(pDX, IDC_ICON_DI02, m_Icon_DI02); - DDX_Control(pDX, IDC_ICON_DI03, m_Icon_DI03); - DDX_Control(pDX, IDC_ICON_DI04, m_Icon_DI04); - DDX_Control(pDX, IDC_ICON_DI05, m_Icon_DI05); - DDX_Control(pDX, IDC_ICON_DI06, m_Icon_DI06); - DDX_Control(pDX, IDC_ICON_DI07, m_Icon_DI07); - DDX_Control(pDX, IDC_ICON_DI08, m_Icon_DI08); - DDX_Control(pDX, IDC_ICON_DI09, m_Icon_DI09); - DDX_Control(pDX, IDC_ICON_DI10, m_Icon_DI10); - DDX_Control(pDX, IDC_ICON_DI11, m_Icon_DI11); - DDX_Control(pDX, IDC_ICON_DI12, m_Icon_DI12); - DDX_Control(pDX, IDC_ICON_DI13, m_Icon_DI13); - DDX_Control(pDX, IDC_ICON_DI14, m_Icon_DI14); - DDX_Control(pDX, IDC_ICON_DI15, m_Icon_DI15); - DDX_Control(pDX, IDC_COMBO_DI_PORT, m_cbPortDI); - DDX_Control(pDX, IDC_COMBO_DO_PORT, m_cbPortDO); -} - -BEGIN_MESSAGE_MAP(CUtil7444Dlg, CDialog) - ON_WM_SYSCOMMAND() - ON_WM_PAINT() - ON_WM_QUERYDRAGICON() - //}}AFX_MSG_MAP - ON_WM_DESTROY() - ON_CBN_SELCHANGE(IDC_COMBO_DI_PORT, &CUtil7444Dlg::OnDIPortSelchange) - ON_CBN_SELCHANGE(IDC_COMBO_DO_PORT, &CUtil7444Dlg::OnDOPortSelchange) - ON_WM_TIMER() - ON_BN_CLICKED(IDC_CHECK_DO00, &CUtil7444Dlg::OnOut00) - ON_BN_CLICKED(IDC_CHECK_DO01, &CUtil7444Dlg::OnOut01) - ON_BN_CLICKED(IDC_CHECK_DO02, &CUtil7444Dlg::OnOut02) - ON_BN_CLICKED(IDC_CHECK_DO03, &CUtil7444Dlg::OnOut03) - ON_BN_CLICKED(IDC_CHECK_DO04, &CUtil7444Dlg::OnOut04) - ON_BN_CLICKED(IDC_CHECK_DO05, &CUtil7444Dlg::OnOut05) - ON_BN_CLICKED(IDC_CHECK_DO06, &CUtil7444Dlg::OnOut06) - ON_BN_CLICKED(IDC_CHECK_DO07, &CUtil7444Dlg::OnOut07) - ON_BN_CLICKED(IDC_CHECK_DO08, &CUtil7444Dlg::OnOut08) - ON_BN_CLICKED(IDC_CHECK_DO09, &CUtil7444Dlg::OnOut09) - ON_BN_CLICKED(IDC_CHECK_DO10, &CUtil7444Dlg::OnOut10) - ON_BN_CLICKED(IDC_CHECK_DO11, &CUtil7444Dlg::OnOut11) - ON_BN_CLICKED(IDC_CHECK_DO12, &CUtil7444Dlg::OnOut12) - ON_BN_CLICKED(IDC_CHECK_DO13, &CUtil7444Dlg::OnOut13) - ON_BN_CLICKED(IDC_CHECK_DO14, &CUtil7444Dlg::OnOut14) - ON_BN_CLICKED(IDC_CHECK_DO15, &CUtil7444Dlg::OnOut15) - ON_WM_CTLCOLOR() -END_MESSAGE_MAP() - - -// CUtil7444Dlg message handlers - -BOOL CUtil7444Dlg::OnInitDialog() -{ - CDialog::OnInitDialog(); - - // Add "About..." menu item to system menu. - - // IDM_ABOUTBOX must be in the system command range. - ASSERT((IDM_ABOUTBOX & 0xFFF0) == IDM_ABOUTBOX); - ASSERT(IDM_ABOUTBOX < 0xF000); - - CMenu* pSysMenu = GetSystemMenu(FALSE); - if (pSysMenu != NULL) - { - BOOL bNameValid; - CString strAboutMenu; - bNameValid = strAboutMenu.LoadString(IDS_ABOUTBOX); - ASSERT(bNameValid); - if (!strAboutMenu.IsEmpty()) - { - pSysMenu->AppendMenu(MF_SEPARATOR); - pSysMenu->AppendMenu(MF_STRING, IDM_ABOUTBOX, strAboutMenu); - } - } - - // Set the icon for this dialog. The framework does this automatically - // when the application's main window is not a dialog - SetIcon(m_hIcon, TRUE); // Set big icon - SetIcon(m_hIcon, FALSE); // Set small icon - - // TODO: Add extra initialization here - m_wInPort = P7443_TTL0; - m_wOutPort = P7443_TTL1; - - m_cbPortDI.SetCurSel( 0 ); - m_cbPortDO.SetCurSel( 1 ); - - DIO_PortConfig(m_hCard, m_wInPort, INPUT_PORT); - DIO_PortConfig(m_hCard, m_wOutPort, OUTPUT_PORT); - - m_nTimer = SetTimer( 1, 250, NULL ); - - return TRUE; // return TRUE unless you set the focus to a control -} - -void CUtil7444Dlg::OnSysCommand(UINT nID, LPARAM lParam) -{ - if ((nID & 0xFFF0) == IDM_ABOUTBOX) - { - CAboutDlg dlgAbout; - dlgAbout.DoModal(); - } - else - { - CDialog::OnSysCommand(nID, lParam); - } -} - -// If you add a minimize button to your dialog, you will need the code below -// to draw the icon. For MFC applications using the document/view model, -// this is automatically done for you by the framework. - -void CUtil7444Dlg::OnPaint() -{ - if (IsIconic()) - { - CPaintDC dc(this); // device context for painting - - SendMessage(WM_ICONERASEBKGND, reinterpret_cast(dc.GetSafeHdc()), 0); - - // Center icon in client rectangle - int cxIcon = GetSystemMetrics(SM_CXICON); - int cyIcon = GetSystemMetrics(SM_CYICON); - CRect rect; - GetClientRect(&rect); - int x = (rect.Width() - cxIcon + 1) / 2; - int y = (rect.Height() - cyIcon + 1) / 2; - - // Draw the icon - dc.DrawIcon(x, y, m_hIcon); - } - else - { - CDialog::OnPaint(); - } -} - -// The system calls this function to obtain the cursor to display while the user drags -// the minimized window. -HCURSOR CUtil7444Dlg::OnQueryDragIcon() -{ - return static_cast(m_hIcon); -} - - -void CUtil7444Dlg::OnDestroy() -{ - CDialog::OnDestroy(); - - // TODO: Add your message handler code here - - if( m_nTimer != -1 ) - { - KillTimer( m_nTimer ); - m_nTimer = -1; - } -} - -void CUtil7444Dlg::OnDIPortSelchange() -{ - // TODO: Add your control notification handler code here - int nIndex; - - nIndex = m_cbPortDI.GetCurSel(); - switch( nIndex ) - { - case 0: - m_wInPort = P7443_TTL0; - break; - case 1: - m_wInPort = P7443_TTL1; - break; - } - - DIO_PortConfig(m_hCard, m_wInPort, INPUT_PORT); -} - -void CUtil7444Dlg::OnDOPortSelchange() -{ - // TODO: Add your control notification handler code here - int nIndex; - - nIndex = m_cbPortDO.GetCurSel(); - switch( nIndex ) - { - case 0: - m_wOutPort = P7443_TTL0; - break; - case 1: - m_wOutPort = P7443_TTL1; - break; - } - - m_dwOutData = 0x00000000; - DIO_PortConfig(m_hCard, m_wOutPort, OUTPUT_PORT); - DO_WritePort( m_hCard, m_wOutPort, m_dwOutData ); - - ((CButton*)GetDlgItem(IDC_CHECK_DO00))->SetCheck( BST_UNCHECKED ); - ((CButton*)GetDlgItem(IDC_CHECK_DO01))->SetCheck( BST_UNCHECKED ); - ((CButton*)GetDlgItem(IDC_CHECK_DO02))->SetCheck( BST_UNCHECKED ); - ((CButton*)GetDlgItem(IDC_CHECK_DO03))->SetCheck( BST_UNCHECKED ); - ((CButton*)GetDlgItem(IDC_CHECK_DO04))->SetCheck( BST_UNCHECKED ); - ((CButton*)GetDlgItem(IDC_CHECK_DO05))->SetCheck( BST_UNCHECKED ); - ((CButton*)GetDlgItem(IDC_CHECK_DO06))->SetCheck( BST_UNCHECKED ); - ((CButton*)GetDlgItem(IDC_CHECK_DO07))->SetCheck( BST_UNCHECKED ); - ((CButton*)GetDlgItem(IDC_CHECK_DO08))->SetCheck( BST_UNCHECKED ); - ((CButton*)GetDlgItem(IDC_CHECK_DO09))->SetCheck( BST_UNCHECKED ); - ((CButton*)GetDlgItem(IDC_CHECK_DO10))->SetCheck( BST_UNCHECKED ); - ((CButton*)GetDlgItem(IDC_CHECK_DO11))->SetCheck( BST_UNCHECKED ); - ((CButton*)GetDlgItem(IDC_CHECK_DO12))->SetCheck( BST_UNCHECKED ); - ((CButton*)GetDlgItem(IDC_CHECK_DO13))->SetCheck( BST_UNCHECKED ); - ((CButton*)GetDlgItem(IDC_CHECK_DO14))->SetCheck( BST_UNCHECKED ); - ((CButton*)GetDlgItem(IDC_CHECK_DO15))->SetCheck( BST_UNCHECKED ); -} - -void CUtil7444Dlg::OnTimer(UINT_PTR nIDEvent) -{ - // TODO: Add your message handler code here and/or call default - U32 dwPortData, dwChangeMask; - - DI_ReadPort(m_hCard, m_wInPort ,&dwPortData); - dwChangeMask = dwPortData ^ m_dwInData; - - if( dwChangeMask != 0x00 ) // Input had been changed - { - m_dwInData = dwPortData; // update the DI data - - if( (dwChangeMask & 0x01) == 0x01 ) // if the target bit is changed - { - if( (dwPortData & 0x01) == 0x01 ) - { - m_Icon_DI00.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_DI00.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - - if( (dwChangeMask & 0x02) == 0x02 ) // if the target bit is changed - { - if( (dwPortData & 0x02) == 0x02 ) - { - m_Icon_DI01.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_DI01.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - if( (dwChangeMask & 0x04) == 0x04 ) // if the target bit is changed - { - if( (dwPortData & 0x04) == 0x04 ) - { - m_Icon_DI02.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_DI02.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - - if( (dwChangeMask & 0x08) == 0x08 ) // if the target bit is changed - { - if( (dwPortData & 0x08) == 0x08 ) - { - m_Icon_DI03.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_DI03.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - if( (dwChangeMask & 0x10) == 0x10 ) // if the target bit is changed - { - if( (dwPortData & 0x10) == 0x10 ) - { - m_Icon_DI04.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_DI04.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - if( (dwChangeMask & 0x20) == 0x20 ) // if the target bit is changed - { - if( (dwPortData & 0x20) == 0x20 ) - { - m_Icon_DI05.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_DI05.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - - if( (dwChangeMask & 0x40) == 0x40 ) // if the target bit is changed - { - if( (dwPortData & 0x40) == 0x40 ) - { - m_Icon_DI06.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_DI06.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - - if( (dwChangeMask & 0x80) == 0x80 ) // if the target bit is changed - { - if( (dwPortData & 0x80) == 0x80 ) - { - m_Icon_DI07.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_DI07.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - - if( (dwChangeMask & 0x100) == 0x100 ) // if the target bit is changed - { - if( (dwPortData & 0x100) == 0x100 ) - { - m_Icon_DI08.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_DI08.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - if( (dwChangeMask & 0x200) == 0x200 ) // if the target bit is changed - { - if( (dwPortData & 0x200) == 0x200 ) - { - m_Icon_DI09.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_DI09.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - if( (dwChangeMask & 0x400) == 0x400 ) // if the target bit is changed - { - if( (dwPortData & 0x400) == 0x400 ) - { - m_Icon_DI10.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_DI10.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - if( (dwChangeMask & 0x800) == 0x800 ) // if the target bit is changed - { - if( (dwPortData & 0x800) == 0x800 ) - { - m_Icon_DI11.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_DI11.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - if( (dwChangeMask & 0x1000) == 0x1000 ) // if the target bit is changed - { - if( (dwPortData & 0x1000) == 0x1000 ) - { - m_Icon_DI12.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_DI12.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - if( (dwChangeMask & 0x2000) == 0x2000 ) // if the target bit is changed - { - if( (dwPortData & 0x2000) == 0x2000 ) - { - m_Icon_DI13.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_DI13.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - if( (dwChangeMask & 0x4000) == 0x4000 ) // if the target bit is changed - { - if( (dwPortData & 0x4000) == 0x4000 ) - { - m_Icon_DI14.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_DI14.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - if( (dwChangeMask & 0x8000) == 0x8000 ) // if the target bit is changed - { - if( (dwPortData & 0x8000) == 0x8000 ) - { - m_Icon_DI15.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_DI15.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - } - - CDialog::OnTimer(nIDEvent); -} - -void CUtil7444Dlg::OnOut00() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_DO00 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_dwOutData |= 0x01; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_dwOutData &= (~0x01); - } - - DO_WritePort( m_hCard, m_wOutPort, m_dwOutData ); - -} - -void CUtil7444Dlg::OnOut01() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_DO01 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_dwOutData |= 0x02; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_dwOutData &= (~0x02); - } - - DO_WritePort( m_hCard, m_wOutPort, m_dwOutData ); -} - -void CUtil7444Dlg::OnOut02() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_DO02 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_dwOutData |= 0x04; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_dwOutData &= (~0x04); - } - - DO_WritePort( m_hCard, m_wOutPort, m_dwOutData ); -} - -void CUtil7444Dlg::OnOut03() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_DO03 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_dwOutData |= 0x08; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_dwOutData &= (~0x08); - } - - DO_WritePort( m_hCard, m_wOutPort, m_dwOutData ); -} - -void CUtil7444Dlg::OnOut04() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_DO04 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_dwOutData |= 0x10; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_dwOutData &= (~0x10); - } - - DO_WritePort( m_hCard, m_wOutPort, m_dwOutData ); -} - -void CUtil7444Dlg::OnOut05() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_DO05 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_dwOutData |= 0x20; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_dwOutData &= (~0x20); - } - - DO_WritePort( m_hCard, m_wOutPort, m_dwOutData ); -} - -void CUtil7444Dlg::OnOut06() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_DO06 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_dwOutData |= 0x40; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_dwOutData &= (~0x40); - } - - DO_WritePort( m_hCard, m_wOutPort, m_dwOutData ); -} - -void CUtil7444Dlg::OnOut07() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_DO07 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_dwOutData |= 0x80; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_dwOutData &= (~0x80); - } - - DO_WritePort( m_hCard, m_wOutPort, m_dwOutData ); -} - -void CUtil7444Dlg::OnOut08() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_DO08 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_dwOutData |= 0x100; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_dwOutData &= (~0x100); - } - - DO_WritePort( m_hCard, m_wOutPort, m_dwOutData ); -} - -void CUtil7444Dlg::OnOut09() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_DO09 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_dwOutData |= 0x200; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_dwOutData &= (~0x200); - } - - DO_WritePort( m_hCard, m_wOutPort, m_dwOutData ); -} - -void CUtil7444Dlg::OnOut10() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_DO10 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_dwOutData |= 0x400; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_dwOutData &= (~0x400); - } - - DO_WritePort( m_hCard, m_wOutPort, m_dwOutData ); -} - -void CUtil7444Dlg::OnOut11() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_DO11 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_dwOutData |= 0x800; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_dwOutData &= (~0x800); - } - - DO_WritePort( m_hCard, m_wOutPort, m_dwOutData ); -} - -void CUtil7444Dlg::OnOut12() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_DO12 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_dwOutData |= 0x1000; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_dwOutData &= (~0x1000); - } - - DO_WritePort( m_hCard, m_wOutPort, m_dwOutData ); -} - -void CUtil7444Dlg::OnOut13() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_DO13 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_dwOutData |= 0x2000; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_dwOutData &= (~0x2000); - } - - DO_WritePort( m_hCard, m_wOutPort, m_dwOutData ); -} - -void CUtil7444Dlg::OnOut14() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_DO14 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_dwOutData |= 0x4000; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_dwOutData &= (~0x4000); - } - - DO_WritePort( m_hCard, m_wOutPort, m_dwOutData ); -} - -void CUtil7444Dlg::OnOut15() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_DO15 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_dwOutData |= 0x8000; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_dwOutData &= (~0x8000); - } - - DO_WritePort( m_hCard, m_wOutPort, m_dwOutData ); -} - - -HBRUSH CUtil7444Dlg::OnCtlColor(CDC* pDC, CWnd* pWnd, UINT nCtlColor) -{ - HBRUSH hbr = CDialog::OnCtlColor(pDC, pWnd, nCtlColor); - - // TODO: Change any attributes of the DC here - if ( pWnd->GetDlgCtrlID() == IDC_STATIC_DI ) - pDC->SetTextColor(RGB(0,0,255)); - - if ( pWnd->GetDlgCtrlID() == IDC_STATIC_DO ) - pDC->SetTextColor(RGB(255,0,0)); - // TODO: Return a different brush if the default is not desired - return hbr; -} diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7444/SDK7444TTL/Util7444Dlg.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7444/SDK7444TTL/Util7444Dlg.h deleted file mode 100644 index ecd0f04..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7444/SDK7444TTL/Util7444Dlg.h +++ /dev/null @@ -1,81 +0,0 @@ - -// Util7444Dlg.h : header file -// - -#include "Dask64.h" - -#pragma once - - -// CUtil7444Dlg dialog -class CUtil7444Dlg : public CDialog -{ -// Construction -public: - CUtil7444Dlg(I16 hCard, CWnd* pParent = NULL); // standard constructor - -// Dialog Data - enum { IDD = IDD_UTIL7444_DIALOG }; - - protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - - -// Implementation -protected: - HICON m_hIcon; - UINT_PTR m_nTimer; - I16 m_hCard; - U16 m_wInPort; - U16 m_wOutPort; - U32 m_dwInData; - U32 m_dwOutData; - -public: - CStatic m_Icon_DI00; - CStatic m_Icon_DI01; - CStatic m_Icon_DI02; - CStatic m_Icon_DI03; - CStatic m_Icon_DI04; - CStatic m_Icon_DI05; - CStatic m_Icon_DI06; - CStatic m_Icon_DI07; - CStatic m_Icon_DI08; - CStatic m_Icon_DI09; - CStatic m_Icon_DI10; - CStatic m_Icon_DI11; - CStatic m_Icon_DI12; - CStatic m_Icon_DI13; - CStatic m_Icon_DI14; - CStatic m_Icon_DI15; - CComboBox m_cbPortDI; - CComboBox m_cbPortDO; - - // Generated message map functions - virtual BOOL OnInitDialog(); - afx_msg void OnSysCommand(UINT nID, LPARAM lParam); - afx_msg void OnPaint(); - afx_msg HCURSOR OnQueryDragIcon(); - DECLARE_MESSAGE_MAP() - afx_msg void OnDestroy(); - afx_msg void OnDIPortSelchange(); - afx_msg void OnDOPortSelchange(); - afx_msg void OnTimer(UINT_PTR nIDEvent); - afx_msg void OnOut00(); - afx_msg void OnOut01(); - afx_msg void OnOut02(); - afx_msg void OnOut03(); - afx_msg void OnOut04(); - afx_msg void OnOut05(); - afx_msg void OnOut06(); - afx_msg void OnOut07(); - afx_msg void OnOut08(); - afx_msg void OnOut09(); - afx_msg void OnOut10(); - afx_msg void OnOut11(); - afx_msg void OnOut12(); - afx_msg void OnOut13(); - afx_msg void OnOut14(); - afx_msg void OnOut15(); - afx_msg HBRUSH OnCtlColor(CDC* pDC, CWnd* pWnd, UINT nCtlColor); -}; diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7444/SDK7444TTL/res/Util7444.ico b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7444/SDK7444TTL/res/Util7444.ico deleted file mode 100644 index d56fbcd..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7444/SDK7444TTL/res/Util7444.ico and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7444/SDK7444TTL/res/Util7444.rc2 b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7444/SDK7444TTL/res/Util7444.rc2 deleted file mode 100644 index 0c71839..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7444/SDK7444TTL/res/Util7444.rc2 +++ /dev/null @@ -1,13 +0,0 @@ -// -// Util7444.RC2 - resources Microsoft Visual C++ does not edit directly -// - -#ifdef APSTUDIO_INVOKED -#error this file is not editable by Microsoft Visual C++ -#endif //APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// Add manually edited resources here... - -///////////////////////////////////////////////////////////////////////////// diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7444/SDK7444TTL/res/black.ico b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7444/SDK7444TTL/res/black.ico deleted file mode 100644 index b5c375f..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7444/SDK7444TTL/res/black.ico and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7444/SDK7444TTL/res/green.ico b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7444/SDK7444TTL/res/green.ico deleted file mode 100644 index d9a9fd3..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7444/SDK7444TTL/res/green.ico and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7444/SDK7444TTL/res/icon2.ico b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7444/SDK7444TTL/res/icon2.ico deleted file mode 100644 index f1282c6..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7444/SDK7444TTL/res/icon2.ico and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7444/SDK7444TTL/res/red.ico b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7444/SDK7444TTL/res/red.ico deleted file mode 100644 index 7644596..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7444/SDK7444TTL/res/red.ico and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7444/SDK7444TTL/resource.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7444/SDK7444TTL/resource.h deleted file mode 100644 index fcb51ee..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7444/SDK7444TTL/resource.h +++ /dev/null @@ -1,62 +0,0 @@ -//{{NO_DEPENDENCIES}} -// Microsoft Visual C++ generated include file. -// Used by Util7444.rc -// -#define IDM_ABOUTBOX 0x0010 -#define IDD_ABOUTBOX 100 -#define IDS_ABOUTBOX 101 -#define IDD_UTIL7444_DIALOG 102 -#define IDR_MAINFRAME 128 -#define IDD_CARDID_DIALOG 129 -#define IDI_ICON_BLACK 131 -#define IDI_ICON_GREEN 133 -#define IDI_ICON_RED 134 -#define IDC_COMBO_CARDID 1000 -#define IDC_COMBO_DI_PORT 1001 -#define IDC_STATIC_DI 1002 -#define IDC_CHECK_DO00 1003 -#define IDC_CHECK_DO01 1004 -#define IDC_ICON_DI00 1005 -#define IDC_ICON_DI01 1006 -#define IDC_ICON_DI02 1007 -#define IDC_ICON_DI03 1008 -#define IDC_ICON_DI04 1009 -#define IDC_ICON_DI05 1010 -#define IDC_ICON_DI06 1011 -#define IDC_ICON_DI07 1012 -#define IDC_ICON_DI08 1013 -#define IDC_STATIC_01 1014 -#define IDC_ICON_DI09 1014 -#define IDC_ICON_DI10 1015 -#define IDC_ICON_DI11 1016 -#define IDC_ICON_DI12 1017 -#define IDC_ICON_DI13 1018 -#define IDC_ICON_DI14 1019 -#define IDC_ICON_DI15 1020 -#define IDC_CHECK_DO02 1021 -#define IDC_CHECK_DO03 1022 -#define IDC_CHECK_DO04 1023 -#define IDC_CHECK_DO05 1024 -#define IDC_CHECK_DO06 1025 -#define IDC_CHECK_DO07 1026 -#define IDC_CHECK_DO08 1027 -#define IDC_CHECK_DO09 1028 -#define IDC_CHECK_DO10 1029 -#define IDC_CHECK_DO11 1030 -#define IDC_CHECK_DO12 1031 -#define IDC_CHECK_DO13 1032 -#define IDC_CHECK_DO14 1033 -#define IDC_CHECK_DO15 1034 -#define IDC_STATIC_DO 1035 -#define IDC_COMBO_DO_PORT 1036 - -// Next default values for new objects -// -#ifdef APSTUDIO_INVOKED -#ifndef APSTUDIO_READONLY_SYMBOLS -#define _APS_NEXT_RESOURCE_VALUE 136 -#define _APS_NEXT_COMMAND_VALUE 32771 -#define _APS_NEXT_CONTROL_VALUE 1000 -#define _APS_NEXT_SYMED_VALUE 101 -#endif -#endif diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7444/SDK7444TTL/stdafx.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7444/SDK7444TTL/stdafx.cpp deleted file mode 100644 index 8c729e7..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7444/SDK7444TTL/stdafx.cpp +++ /dev/null @@ -1,8 +0,0 @@ - -// stdafx.cpp : source file that includes just the standard includes -// Util7444.pch will be the pre-compiled header -// stdafx.obj will contain the pre-compiled type information - -#include "stdafx.h" - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7444/SDK7444TTL/stdafx.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7444/SDK7444TTL/stdafx.h deleted file mode 100644 index 12123e2..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7444/SDK7444TTL/stdafx.h +++ /dev/null @@ -1,60 +0,0 @@ - -// stdafx.h : include file for standard system include files, -// or project specific include files that are used frequently, -// but are changed infrequently - -#pragma once - -#ifndef _SECURE_ATL -#define _SECURE_ATL 1 -#endif - -#ifndef VC_EXTRALEAN -#define VC_EXTRALEAN // Exclude rarely-used stuff from Windows headers -#endif - -#include "targetver.h" - -#define _ATL_CSTRING_EXPLICIT_CONSTRUCTORS // some CString constructors will be explicit - -// turns off MFC's hiding of some common and often safely ignored warning messages -#define _AFX_ALL_WARNINGS - -#include // MFC core and standard components -#include // MFC extensions - - -#include // MFC Automation classes - - - -#ifndef _AFX_NO_OLE_SUPPORT -#include // MFC support for Internet Explorer 4 Common Controls -#endif -#ifndef _AFX_NO_AFXCMN_SUPPORT -#include // MFC support for Windows Common Controls -#endif // _AFX_NO_AFXCMN_SUPPORT - -#include // MFC support for ribbons and control bars - - - - - - - - - -#ifdef _UNICODE -#if defined _M_IX86 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='x86' publicKeyToken='6595b64144ccf1df' language='*'\"") -#elif defined _M_IA64 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='ia64' publicKeyToken='6595b64144ccf1df' language='*'\"") -#elif defined _M_X64 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='amd64' publicKeyToken='6595b64144ccf1df' language='*'\"") -#else -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='*' publicKeyToken='6595b64144ccf1df' language='*'\"") -#endif -#endif - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7444/SDK7444TTL/targetver.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7444/SDK7444TTL/targetver.h deleted file mode 100644 index 11730d5..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7444/SDK7444TTL/targetver.h +++ /dev/null @@ -1,26 +0,0 @@ - -#pragma once - -// The following macros define the minimum required platform. The minimum required platform -// is the earliest version of Windows, Internet Explorer etc. that has the necessary features to run -// your application. The macros work by enabling all features available on platform versions up to and -// including the version specified. - -// Modify the following defines if you have to target a platform prior to the ones specified below. -// Refer to MSDN for the latest info on corresponding values for different platforms. -#ifndef WINVER // Specifies that the minimum required platform is Windows Vista. -#define WINVER 0x0600 // Change this to the appropriate value to target other versions of Windows. -#endif - -#ifndef _WIN32_WINNT // Specifies that the minimum required platform is Windows Vista. -#define _WIN32_WINNT 0x0600 // Change this to the appropriate value to target other versions of Windows. -#endif - -#ifndef _WIN32_WINDOWS // Specifies that the minimum required platform is Windows 98. -#define _WIN32_WINDOWS 0x0410 // Change this to the appropriate value to target Windows Me or later. -#endif - -#ifndef _WIN32_IE // Specifies that the minimum required platform is Internet Explorer 7.0. -#define _WIN32_IE 0x0700 // Change this to the appropriate value to target other versions of IE. -#endif - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7444/SDKWdtOvflow/7444int.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7444/SDKWdtOvflow/7444int.cpp deleted file mode 100644 index 3d14806..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7444/SDKWdtOvflow/7444int.cpp +++ /dev/null @@ -1,109 +0,0 @@ - -// 7444int.cpp : Defines the class behaviors for the application. -// - -#include "stdafx.h" -#include "7444int.h" -#include "7444intDlg.h" -#include "CardIDDlg.h" - -#ifdef _DEBUG -#define new DEBUG_NEW -#endif - - -// C7444intApp - -BEGIN_MESSAGE_MAP(C7444intApp, CWinAppEx) - ON_COMMAND(ID_HELP, &CWinApp::OnHelp) -END_MESSAGE_MAP() - - -// C7444intApp construction - -C7444intApp::C7444intApp() -{ - // TODO: add construction code here, - // Place all significant initialization in InitInstance -} - - -// The one and only C7444intApp object - -C7444intApp theApp; - - -// C7444intApp initialization - -BOOL C7444intApp::InitInstance() -{ - int nCardID = 0; - I16 hCard; - CString strTemp; - INT_PTR nResponse; - - // InitCommonControlsEx() is required on Windows XP if an application - // manifest specifies use of ComCtl32.dll version 6 or later to enable - // visual styles. Otherwise, any window creation will fail. - INITCOMMONCONTROLSEX InitCtrls; - InitCtrls.dwSize = sizeof(InitCtrls); - // Set this to include all the common control classes you want to use - // in your application. - InitCtrls.dwICC = ICC_WIN95_CLASSES; - InitCommonControlsEx(&InitCtrls); - - CWinAppEx::InitInstance(); - - AfxEnableControlContainer(); - - // Standard initialization - // If you are not using these features and wish to reduce the size - // of your final executable, you should remove from the following - // the specific initialization routines you do not need - // Change the registry key under which our settings are stored - // TODO: You should modify this string to be something appropriate - // such as the name of your company or organization - SetRegistryKey(_T("Local AppWizard-Generated Applications")); - - CCardIDDlg CardDlg( nCardID ); - - nResponse = CardDlg.DoModal(); - if (nResponse == IDOK) - { - nCardID = CardDlg.GetCardID(); - - if ((hCard=Register_Card(PCI_7444, nCardID)) < 0) - { - strTemp.Format( TEXT("Register_Card Error = %d"), hCard); - AfxMessageBox( strTemp ); - } - else - { - C7444intDlg dlg(hCard); - m_pMainWnd = &dlg; - nResponse = dlg.DoModal(); - if (nResponse == IDOK) - { - // TODO: Place code here to handle when the dialog is - // dismissed with OK - } - else if (nResponse == IDCANCEL) - { - // TODO: Place code here to handle when the dialog is - // dismissed with Cancel - } - - if (hCard >= 0) Release_Card(hCard); - } - - } - else if (nResponse == IDCANCEL) - { - // TODO: Place code here to handle when the dialog is - // dismissed with Cancel - } - - // Since the dialog has been closed, return FALSE so that we exit the - // application, rather than start the application's message pump. - return FALSE; -} diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7444/SDKWdtOvflow/7444int.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7444/SDKWdtOvflow/7444int.h deleted file mode 100644 index b294317..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7444/SDKWdtOvflow/7444int.h +++ /dev/null @@ -1,32 +0,0 @@ - -// 7444int.h : main header file for the PROJECT_NAME application -// - -#pragma once - -#ifndef __AFXWIN_H__ - #error "include 'stdafx.h' before including this file for PCH" -#endif - -#include "resource.h" // main symbols - - -// C7444intApp: -// See 7444int.cpp for the implementation of this class -// - -class C7444intApp : public CWinAppEx -{ -public: - C7444intApp(); - -// Overrides - public: - virtual BOOL InitInstance(); - -// Implementation - - DECLARE_MESSAGE_MAP() -}; - -extern C7444intApp theApp; \ No newline at end of file diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7444/SDKWdtOvflow/7444int.rc b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7444/SDKWdtOvflow/7444int.rc deleted file mode 100644 index 6812a50..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7444/SDKWdtOvflow/7444int.rc +++ /dev/null @@ -1,282 +0,0 @@ -// Microsoft Visual C++ generated resource script. -// -#include "resource.h" - -#define APSTUDIO_READONLY_SYMBOLS -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 2 resource. -// -#ifndef APSTUDIO_INVOKED -#include "targetver.h" -#endif -#include "afxres.h" - -///////////////////////////////////////////////////////////////////////////// -#undef APSTUDIO_READONLY_SYMBOLS - -///////////////////////////////////////////////////////////////////////////// -// Chinese (Taiwan) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_CHT) -#ifdef _WIN32 -LANGUAGE LANG_CHINESE, SUBLANG_CHINESE_TRADITIONAL -#pragma code_page(950) -#endif //_WIN32 - -#ifdef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// TEXTINCLUDE -// - -1 TEXTINCLUDE -BEGIN - "resource.h\0" -END - -2 TEXTINCLUDE -BEGIN - "#ifndef APSTUDIO_INVOKED\r\n" - "#include ""targetver.h""\r\n" - "#endif\r\n" - "#include ""afxres.h""\r\n" - "\0" -END - -3 TEXTINCLUDE -BEGIN - "#define _AFX_NO_SPLITTER_RESOURCES\r\n" - "#define _AFX_NO_OLE_RESOURCES\r\n" - "#define _AFX_NO_TRACKER_RESOURCES\r\n" - "#define _AFX_NO_PROPERTY_RESOURCES\r\n" - "\r\n" - "#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)\r\n" - "LANGUAGE 9, 1\r\n" - "#pragma code_page(1252)\r\n" - "#include ""res\\My7444int.rc2"" // non-Microsoft Visual C++ edited resources\r\n" - "#include ""afxres.rc"" // Standard components\r\n" - "#endif\r\n" - "\0" -END - -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// Icon -// - -// Icon with lowest ID value placed first to ensure application icon -// remains consistent on all systems. -IDR_MAINFRAME ICON "res\\7444int.ico" -#endif // Chinese (Taiwan) resources -///////////////////////////////////////////////////////////////////////////// - - -///////////////////////////////////////////////////////////////////////////// -// English (U.S.) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -#ifdef _WIN32 -LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US -#pragma code_page(1252) -#endif //_WIN32 - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog -// - -IDD_ABOUTBOX DIALOGEX 0, 0, 170, 62 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "About 7444int" -FONT 8, "MS Shell Dlg", 0, 0, 0x1 -BEGIN - ICON IDR_MAINFRAME,IDC_STATIC,14,14,21,20 - LTEXT "7444int, Version 1.0",IDC_STATIC,42,14,114,8,SS_NOPREFIX - LTEXT "Copyright (C) 2010",IDC_STATIC,42,26,114,8 - DEFPUSHBUTTON "OK",IDOK,113,41,50,14,WS_GROUP -END - -IDD_MY7444INT_DIALOG DIALOGEX 0, 0, 232, 178 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU -EXSTYLE WS_EX_APPWINDOW -CAPTION "PCI-7444 WDT Sample" -FONT 8, "MS Shell Dlg", 0, 0, 0x1 -BEGIN - LTEXT "This program sets the safetyout pattern to 0x1/0x2/0x3/0x4\nfor CH0/CH1/CH2/CH3 and enables WDT capability.",IDC_STATIC,7,14,203,19 - LTEXT "INT2 interrupt is generated by WDT overflow. Wait for WDT\noverflow...(about 5.0 seonds)",IDC_STATIC,7,38,198,19 - LTEXT "You could click Reload button to reload the WDT counter BEFORE\nWDT overflow.",IDC_STATIC,7,63,212,19 - LTEXT "The CH0 current pattern is:",IDC_STATIC_WDT1,37,86,154,12,NOT WS_VISIBLE - PUSHBUTTON "Reload",IDC_BT_RELOAD,61,147,97,18 - LTEXT "The CH1 current pattern is:",IDC_STATIC_WDT2,37,100,154,12,NOT WS_VISIBLE - LTEXT "The CH2 current pattern is:",IDC_STATIC_WDT3,37,115,154,12,NOT WS_VISIBLE - LTEXT "The CH3 current pattern is:",IDC_STATIC_WDT4,37,130,154,12,NOT WS_VISIBLE -END - -IDD_CARDID_DIALOG DIALOGEX 0, 0, 191, 103 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "Card ID" -FONT 8, "MS Shell Dlg", 400, 0, 0x1 -BEGIN - COMBOBOX IDC_COMBO_CARDID,83,24,71,126,CBS_DROPDOWN | WS_VSCROLL | WS_TABSTOP - LTEXT "Card Number",IDC_STATIC_01,29,25,46,12 - PUSHBUTTON "OK",IDOK,30,57,58,19 - PUSHBUTTON "CANCEL",IDCANCEL,94,57,58,19 -END - - -///////////////////////////////////////////////////////////////////////////// -// -// Version -// - -VS_VERSION_INFO VERSIONINFO - FILEVERSION 1,0,0,1 - PRODUCTVERSION 1,0,0,1 - FILEFLAGSMASK 0x3fL -#ifdef _DEBUG - FILEFLAGS 0x1L -#else - FILEFLAGS 0x0L -#endif - FILEOS 0x4L - FILETYPE 0x1L - FILESUBTYPE 0x0L -BEGIN - BLOCK "StringFileInfo" - BEGIN - BLOCK "040904e4" - BEGIN - VALUE "CompanyName", "TODO: " - VALUE "FileDescription", "TODO: " - VALUE "FileVersion", "1.0.0.1" - VALUE "InternalName", "7444int.exe" - VALUE "LegalCopyright", "TODO: (c) . All rights reserved." - VALUE "OriginalFilename", "7444int.exe" - VALUE "ProductName", "TODO: " - VALUE "ProductVersion", "1.0.0.1" - END - END - BLOCK "VarFileInfo" - BEGIN - VALUE "Translation", 0x409, 1252 - END -END - - -///////////////////////////////////////////////////////////////////////////// -// -// DESIGNINFO -// - -#ifdef APSTUDIO_INVOKED -GUIDELINES DESIGNINFO -BEGIN - IDD_ABOUTBOX, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 163 - TOPMARGIN, 7 - BOTTOMMARGIN, 55 - END - - IDD_MY7444INT_DIALOG, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 225 - TOPMARGIN, 7 - BOTTOMMARGIN, 171 - END - - IDD_CARDID_DIALOG, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 184 - TOPMARGIN, 7 - BOTTOMMARGIN, 96 - END -END -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog Info -// - -IDD_CARDID_DIALOG DLGINIT -BEGIN - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0030, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0031, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0032, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0033, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0034, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0035, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0036, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0037, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0038, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0039, - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3031, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3131, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3231, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3331, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3431, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3531, "\000" - 0 -END - - -///////////////////////////////////////////////////////////////////////////// -// -// String Table -// - -STRINGTABLE -BEGIN - IDS_ABOUTBOX "&About 7444int..." -END - -#endif // English (U.S.) resources -///////////////////////////////////////////////////////////////////////////// - - - -#ifndef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 3 resource. -// -#define _AFX_NO_SPLITTER_RESOURCES -#define _AFX_NO_OLE_RESOURCES -#define _AFX_NO_TRACKER_RESOURCES -#define _AFX_NO_PROPERTY_RESOURCES - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -LANGUAGE 9, 1 -#pragma code_page(1252) -#include "res\My7444int.rc2" // non-Microsoft Visual C++ edited resources -#include "afxres.rc" // Standard components -#endif - -///////////////////////////////////////////////////////////////////////////// -#endif // not APSTUDIO_INVOKED - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7444/SDKWdtOvflow/7444int.sln b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7444/SDKWdtOvflow/7444int.sln deleted file mode 100644 index f772d97..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7444/SDKWdtOvflow/7444int.sln +++ /dev/null @@ -1,20 +0,0 @@ - -Microsoft Visual Studio Solution File, Format Version 10.00 -# Visual Studio 2008 -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "7444int", "7444int.vcproj", "{DB629A63-5369-4B62-8D4E-383E6BAEA79E}" -EndProject -Global - GlobalSection(SolutionConfigurationPlatforms) = preSolution - Debug|x64 = Debug|x64 - Release|x64 = Release|x64 - EndGlobalSection - GlobalSection(ProjectConfigurationPlatforms) = postSolution - {DB629A63-5369-4B62-8D4E-383E6BAEA79E}.Debug|x64.ActiveCfg = Debug|x64 - {DB629A63-5369-4B62-8D4E-383E6BAEA79E}.Debug|x64.Build.0 = Debug|x64 - {DB629A63-5369-4B62-8D4E-383E6BAEA79E}.Release|x64.ActiveCfg = Release|x64 - {DB629A63-5369-4B62-8D4E-383E6BAEA79E}.Release|x64.Build.0 = Release|x64 - EndGlobalSection - GlobalSection(SolutionProperties) = preSolution - HideSolutionNode = FALSE - EndGlobalSection -EndGlobal diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7444/SDKWdtOvflow/7444int.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7444/SDKWdtOvflow/7444int.suo deleted file mode 100644 index 5e190fd..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7444/SDKWdtOvflow/7444int.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7444/SDKWdtOvflow/7444int.vcproj b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7444/SDKWdtOvflow/7444int.vcproj deleted file mode 100644 index dbd5e7c..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7444/SDKWdtOvflow/7444int.vcproj +++ /dev/null @@ -1,286 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7444/SDKWdtOvflow/7444intDlg.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7444/SDKWdtOvflow/7444intDlg.cpp deleted file mode 100644 index 8e3d44f..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7444/SDKWdtOvflow/7444intDlg.cpp +++ /dev/null @@ -1,207 +0,0 @@ - -// 7444intDlg.cpp : implementation file -// - -#include "stdafx.h" -#include "7444int.h" -#include "7444intDlg.h" - -#define WDT_INTERRUPT_MESSAGE _T("WDT_INT") -UINT WM_INT = ::RegisterWindowMessage(WDT_INTERRUPT_MESSAGE); - -#ifdef _DEBUG -#define new DEBUG_NEW -#endif - -F32 rt = 0.0; - -// CAboutDlg dialog used for App About - -class CAboutDlg : public CDialog -{ -public: - CAboutDlg(); - -// Dialog Data - enum { IDD = IDD_ABOUTBOX }; - - protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - -// Implementation -protected: - DECLARE_MESSAGE_MAP() -}; - -CAboutDlg::CAboutDlg() : CDialog(CAboutDlg::IDD) -{ -} - -void CAboutDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); -} - -BEGIN_MESSAGE_MAP(CAboutDlg, CDialog) -END_MESSAGE_MAP() - - -// C7444intDlg dialog - - - - -C7444intDlg::C7444intDlg(I16 hCard, CWnd* pParent /*=NULL*/) - : CDialog(C7444intDlg::IDD, pParent) -{ - m_hIcon = AfxGetApp()->LoadIcon(IDR_MAINFRAME); - - m_hCard = hCard; -} - -void C7444intDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); -} - -BEGIN_MESSAGE_MAP(C7444intDlg, CDialog) - ON_WM_SYSCOMMAND() - ON_WM_PAINT() - ON_WM_QUERYDRAGICON() - ON_REGISTERED_MESSAGE(WM_INT, OnWDTInterrupt) - //}}AFX_MSG_MAP - ON_WM_DESTROY() - ON_BN_CLICKED(IDC_BT_RELOAD, &C7444intDlg::OnWDTReload) -END_MESSAGE_MAP() - - -// C7444intDlg message handlers - -BOOL C7444intDlg::OnInitDialog() -{ - CDialog::OnInitDialog(); - - // Add "About..." menu item to system menu. - - // IDM_ABOUTBOX must be in the system command range. - ASSERT((IDM_ABOUTBOX & 0xFFF0) == IDM_ABOUTBOX); - ASSERT(IDM_ABOUTBOX < 0xF000); - - CMenu* pSysMenu = GetSystemMenu(FALSE); - if (pSysMenu != NULL) - { - BOOL bNameValid; - CString strAboutMenu; - bNameValid = strAboutMenu.LoadString(IDS_ABOUTBOX); - ASSERT(bNameValid); - if (!strAboutMenu.IsEmpty()) - { - pSysMenu->AppendMenu(MF_SEPARATOR); - pSysMenu->AppendMenu(MF_STRING, IDM_ABOUTBOX, strAboutMenu); - } - } - - // Set the icon for this dialog. The framework does this automatically - // when the application's main window is not a dialog - SetIcon(m_hIcon, TRUE); // Set big icon - SetIcon(m_hIcon, FALSE); // Set small icon - - // TODO: Add extra initialization here - WDT_Setup (m_hCard, 0 | WDT_OVRFLOW_SAFETYOUT, 5.0, &rt, NULL); - DIO_INT2_EventMessage (m_hCard, INT2_WDT, this->m_hWnd, WM_INT, NULL); - - return TRUE; // return TRUE unless you set the focus to a control -} - -void C7444intDlg::OnSysCommand(UINT nID, LPARAM lParam) -{ - if ((nID & 0xFFF0) == IDM_ABOUTBOX) - { - CAboutDlg dlgAbout; - dlgAbout.DoModal(); - } - else - { - CDialog::OnSysCommand(nID, lParam); - } -} - -// If you add a minimize button to your dialog, you will need the code below -// to draw the icon. For MFC applications using the document/view model, -// this is automatically done for you by the framework. - -void C7444intDlg::OnPaint() -{ - if (IsIconic()) - { - CPaintDC dc(this); // device context for painting - - SendMessage(WM_ICONERASEBKGND, reinterpret_cast(dc.GetSafeHdc()), 0); - - // Center icon in client rectangle - int cxIcon = GetSystemMetrics(SM_CXICON); - int cyIcon = GetSystemMetrics(SM_CYICON); - CRect rect; - GetClientRect(&rect); - int x = (rect.Width() - cxIcon + 1) / 2; - int y = (rect.Height() - cyIcon + 1) / 2; - - // Draw the icon - dc.DrawIcon(x, y, m_hIcon); - } - else - { - CDialog::OnPaint(); - } -} - -// The system calls this function to obtain the cursor to display while the user drags -// the minimized window. -HCURSOR C7444intDlg::OnQueryDragIcon() -{ - return static_cast(m_hIcon); -} - - - -LRESULT C7444intDlg::OnWDTInterrupt(WPARAM wParam, LPARAM lParam) -{ - // do something useful - CString strTemp; - U32 result; - - GetDlgItem(IDC_STATIC_WDT1)->ShowWindow( SW_SHOW ); - DO_ReadPort (m_hCard, 0, &result); - strTemp.Format( TEXT("The CH0 current pattern is: 0x%08X"), result); - SetDlgItemText( IDC_STATIC_WDT1, strTemp ); - - GetDlgItem(IDC_STATIC_WDT2)->ShowWindow( SW_SHOW ); - DO_ReadPort (m_hCard, 1, &result); - strTemp.Format( TEXT("The CH1 current pattern is: 0x%08X"), result); - SetDlgItemText( IDC_STATIC_WDT2, strTemp ); - - GetDlgItem(IDC_STATIC_WDT3)->ShowWindow( SW_SHOW ); - DO_ReadPort (m_hCard, 2, &result); - strTemp.Format( TEXT("The CH2 current pattern is: 0x%08X"), result); - SetDlgItemText( IDC_STATIC_WDT3, strTemp ); - - GetDlgItem(IDC_STATIC_WDT4)->ShowWindow( SW_SHOW ); - DO_ReadPort (m_hCard, 3, &result); - strTemp.Format( TEXT("The CH3 current pattern is: 0x%08X"), result); - SetDlgItemText( IDC_STATIC_WDT4, strTemp ); - - return (LRESULT) 0; -}; -void C7444intDlg::OnDestroy() -{ - CDialog::OnDestroy(); - - // TODO: Add your message handler code here - DIO_INT2_EventMessage (m_hCard, INT2_DISABLE, NULL, NULL, NULL); -} - -void C7444intDlg::OnWDTReload() -{ - // TODO: Add your control notification handler code here - WDT_Reload (m_hCard, 0, 5.0, &rt); -} diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7444/SDKWdtOvflow/7444intDlg.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7444/SDKWdtOvflow/7444intDlg.h deleted file mode 100644 index 766d12b..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7444/SDKWdtOvflow/7444intDlg.h +++ /dev/null @@ -1,39 +0,0 @@ - -// 7444intDlg.h : header file -// - -#include "Dask64.h" - -#pragma once - - -// C7444intDlg dialog -class C7444intDlg : public CDialog -{ -// Construction -public: - C7444intDlg(I16 hCard, CWnd* pParent = NULL); // standard constructor - -// Dialog Data - enum { IDD = IDD_MY7444INT_DIALOG }; - - protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - - -// Implementation -protected: - HICON m_hIcon; - I16 m_hCard; - - // Generated message map functions - virtual BOOL OnInitDialog(); - afx_msg void OnSysCommand(UINT nID, LPARAM lParam); - afx_msg void OnPaint(); - afx_msg LRESULT OnWDTInterrupt(WPARAM wParam, LPARAM lParam); - afx_msg HCURSOR OnQueryDragIcon(); - DECLARE_MESSAGE_MAP() -public: - afx_msg void OnDestroy(); - afx_msg void OnWDTReload(); -}; diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7444/SDKWdtOvflow/CardIDDlg.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7444/SDKWdtOvflow/CardIDDlg.cpp deleted file mode 100644 index 7a4e251..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7444/SDKWdtOvflow/CardIDDlg.cpp +++ /dev/null @@ -1,67 +0,0 @@ -// CardIDDlg.cpp : implementation file -// - -#include "stdafx.h" -#include "7444Int.h" -#include "CardIDDlg.h" - - -// CCardIDDlg dialog - -IMPLEMENT_DYNAMIC(CCardIDDlg, CDialog) - -CCardIDDlg::CCardIDDlg(int nCardIdx, CWnd* pParent /*=NULL*/) - : CDialog(CCardIDDlg::IDD, pParent) -{ - m_nCardIdx = nCardIdx; -} - -CCardIDDlg::~CCardIDDlg() -{ -} - -void CCardIDDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); - DDX_Control(pDX, IDC_COMBO_CARDID, m_cbCardID); -} - - -BEGIN_MESSAGE_MAP(CCardIDDlg, CDialog) -// ON_CBN_SELCHANGE(IDC_COMBO_CARDID, &CCardIDDlg::OnCbnSelchangeComboCardid) -ON_BN_CLICKED(IDOK, &CCardIDDlg::OnBnClickedOk) -//ON_WM_CTLCOLOR() -END_MESSAGE_MAP() - - -// CCardIDDlg message handlers - - -void CCardIDDlg::OnBnClickedOk() -{ - // TODO: Add your control notification handler code here - -// UpdateData(TRUE); - m_nCardIdx = m_cbCardID.GetCurSel(); - - OnOK(); -} - -BOOL CCardIDDlg::OnInitDialog() -{ - CDialog::OnInitDialog(); - - // TODO: Add extra initialization here - m_cbCardID.SetCurSel( m_nCardIdx ); - - return TRUE; // return TRUE unless you set the focus to a control - // EXCEPTION: OCX Property Pages should return FALSE -} - -// the function to get the selected CardID -int CCardIDDlg::GetCardID(void) -{ - return m_nCardIdx; -} - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7444/SDKWdtOvflow/CardIDDlg.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7444/SDKWdtOvflow/CardIDDlg.h deleted file mode 100644 index 54628ea..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7444/SDKWdtOvflow/CardIDDlg.h +++ /dev/null @@ -1,33 +0,0 @@ -#pragma once -#include "afxwin.h" - - -// CCardIDDlg dialog - -class CCardIDDlg : public CDialog -{ - DECLARE_DYNAMIC(CCardIDDlg) - -public: - CCardIDDlg(int nCardIdx, CWnd* pParent = NULL); // standard constructor - virtual ~CCardIDDlg(); - -// Dialog Data - enum { IDD = IDD_CARDID_DIALOG }; - -protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - - DECLARE_MESSAGE_MAP() -public: -// afx_msg void OnCbnSelchangeComboCardid(); - afx_msg void OnBnClickedOk(); - // the setting of CardID ComboBox - int m_nCardIdx; - virtual BOOL OnInitDialog(); - // the control of CardID ComboBox - CComboBox m_cbCardID; - // the function to get the selected CardID - int GetCardID(void); -// afx_msg HBRUSH OnCtlColor(CDC* pDC, CWnd* pWnd, UINT nCtlColor); -}; diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7444/SDKWdtOvflow/ReadMe.txt b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7444/SDKWdtOvflow/ReadMe.txt deleted file mode 100644 index 97dae10..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7444/SDKWdtOvflow/ReadMe.txt +++ /dev/null @@ -1,93 +0,0 @@ -================================================================================ - MICROSOFT FOUNDATION CLASS LIBRARY : 7444int Project Overview -=============================================================================== - -The application wizard has created this 7444int application for -you. This application not only demonstrates the basics of using the Microsoft -Foundation Classes but is also a starting point for writing your application. - -This file contains a summary of what you will find in each of the files that -make up your 7444int application. - -7444int.vcproj - This is the main project file for VC++ projects generated using an application wizard. - It contains information about the version of Visual C++ that generated the file, and - information about the platforms, configurations, and project features selected with the - application wizard. - -7444int.h - This is the main header file for the application. It includes other - project specific headers (including Resource.h) and declares the - C7444intApp application class. - -7444int.cpp - This is the main application source file that contains the application - class C7444intApp. - -7444int.rc - This is a listing of all of the Microsoft Windows resources that the - program uses. It includes the icons, bitmaps, and cursors that are stored - in the RES subdirectory. This file can be directly edited in Microsoft - Visual C++. Your project resources are in 1033. - -res\7444int.ico - This is an icon file, which is used as the application's icon. This - icon is included by the main resource file 7444int.rc. - -res\My7444int.rc2 - This file contains resources that are not edited by Microsoft - Visual C++. You should place all resources not editable by - the resource editor in this file. - - -///////////////////////////////////////////////////////////////////////////// - -The application wizard creates one dialog class: - -7444intDlg.h, 7444intDlg.cpp - the dialog - These files contain your C7444intDlg class. This class defines - the behavior of your application's main dialog. The dialog's template is - in 7444int.rc, which can be edited in Microsoft Visual C++. - - -///////////////////////////////////////////////////////////////////////////// - -Other Features: - -ActiveX Controls - The application includes support to use ActiveX controls. - -///////////////////////////////////////////////////////////////////////////// - -Other standard files: - -StdAfx.h, StdAfx.cpp - These files are used to build a precompiled header (PCH) file - named 7444int.pch and a precompiled types file named StdAfx.obj. - -Resource.h - This is the standard header file, which defines new resource IDs. - Microsoft Visual C++ reads and updates this file. - -7444int.manifest - Application manifest files are used by Windows XP to describe an applications - dependency on specific versions of Side-by-Side assemblies. The loader uses this - information to load the appropriate assembly from the assembly cache or private - from the application. The Application manifest maybe included for redistribution - as an external .manifest file that is installed in the same folder as the application - executable or it may be included in the executable in the form of a resource. -///////////////////////////////////////////////////////////////////////////// - -Other notes: - -The application wizard uses "TODO:" to indicate parts of the source code you -should add to or customize. - -If your application uses MFC in a shared DLL, you will need -to redistribute the MFC DLLs. If your application is in a language -other than the operating system's locale, you will also have to -redistribute the corresponding localized resources MFC90XXX.DLL. -For more information on both of these topics, please see the section on -redistributing Visual C++ applications in MSDN documentation. - -///////////////////////////////////////////////////////////////////////////// diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7444/SDKWdtOvflow/res/7444int.ico b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7444/SDKWdtOvflow/res/7444int.ico deleted file mode 100644 index d56fbcd..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7444/SDKWdtOvflow/res/7444int.ico and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7444/SDKWdtOvflow/res/My7444int.rc2 b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7444/SDKWdtOvflow/res/My7444int.rc2 deleted file mode 100644 index daa33a3..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7444/SDKWdtOvflow/res/My7444int.rc2 +++ /dev/null @@ -1,13 +0,0 @@ -// -// My7444int.RC2 - resources Microsoft Visual C++ does not edit directly -// - -#ifdef APSTUDIO_INVOKED -#error this file is not editable by Microsoft Visual C++ -#endif //APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// Add manually edited resources here... - -///////////////////////////////////////////////////////////////////////////// diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7444/SDKWdtOvflow/resource.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7444/SDKWdtOvflow/resource.h deleted file mode 100644 index 1fd4d3e..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7444/SDKWdtOvflow/resource.h +++ /dev/null @@ -1,28 +0,0 @@ -//{{NO_DEPENDENCIES}} -// Microsoft Visual C++ generated include file. -// Used by 7444int.rc -// -#define IDM_ABOUTBOX 0x0010 -#define IDD_ABOUTBOX 100 -#define IDS_ABOUTBOX 101 -#define IDD_MY7444INT_DIALOG 102 -#define IDR_MAINFRAME 128 -#define IDD_CARDID_DIALOG 129 -#define IDC_COMBO_CARDID 1000 -#define IDC_STATIC_WDT1 1000 -#define IDC_BT_RELOAD 1001 -#define IDC_STATIC_WDT2 1002 -#define IDC_STATIC_WDT3 1003 -#define IDC_STATIC_WDT4 1004 -#define IDC_STATIC_01 1014 - -// Next default values for new objects -// -#ifdef APSTUDIO_INVOKED -#ifndef APSTUDIO_READONLY_SYMBOLS -#define _APS_NEXT_RESOURCE_VALUE 131 -#define _APS_NEXT_COMMAND_VALUE 32771 -#define _APS_NEXT_CONTROL_VALUE 1002 -#define _APS_NEXT_SYMED_VALUE 101 -#endif -#endif diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7444/SDKWdtOvflow/stdafx.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7444/SDKWdtOvflow/stdafx.cpp deleted file mode 100644 index 282877d..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7444/SDKWdtOvflow/stdafx.cpp +++ /dev/null @@ -1,8 +0,0 @@ - -// stdafx.cpp : source file that includes just the standard includes -// 7444int.pch will be the pre-compiled header -// stdafx.obj will contain the pre-compiled type information - -#include "stdafx.h" - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7444/SDKWdtOvflow/stdafx.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7444/SDKWdtOvflow/stdafx.h deleted file mode 100644 index 12123e2..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7444/SDKWdtOvflow/stdafx.h +++ /dev/null @@ -1,60 +0,0 @@ - -// stdafx.h : include file for standard system include files, -// or project specific include files that are used frequently, -// but are changed infrequently - -#pragma once - -#ifndef _SECURE_ATL -#define _SECURE_ATL 1 -#endif - -#ifndef VC_EXTRALEAN -#define VC_EXTRALEAN // Exclude rarely-used stuff from Windows headers -#endif - -#include "targetver.h" - -#define _ATL_CSTRING_EXPLICIT_CONSTRUCTORS // some CString constructors will be explicit - -// turns off MFC's hiding of some common and often safely ignored warning messages -#define _AFX_ALL_WARNINGS - -#include // MFC core and standard components -#include // MFC extensions - - -#include // MFC Automation classes - - - -#ifndef _AFX_NO_OLE_SUPPORT -#include // MFC support for Internet Explorer 4 Common Controls -#endif -#ifndef _AFX_NO_AFXCMN_SUPPORT -#include // MFC support for Windows Common Controls -#endif // _AFX_NO_AFXCMN_SUPPORT - -#include // MFC support for ribbons and control bars - - - - - - - - - -#ifdef _UNICODE -#if defined _M_IX86 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='x86' publicKeyToken='6595b64144ccf1df' language='*'\"") -#elif defined _M_IA64 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='ia64' publicKeyToken='6595b64144ccf1df' language='*'\"") -#elif defined _M_X64 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='amd64' publicKeyToken='6595b64144ccf1df' language='*'\"") -#else -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='*' publicKeyToken='6595b64144ccf1df' language='*'\"") -#endif -#endif - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7444/SDKWdtOvflow/targetver.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7444/SDKWdtOvflow/targetver.h deleted file mode 100644 index 11730d5..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7444/SDKWdtOvflow/targetver.h +++ /dev/null @@ -1,26 +0,0 @@ - -#pragma once - -// The following macros define the minimum required platform. The minimum required platform -// is the earliest version of Windows, Internet Explorer etc. that has the necessary features to run -// your application. The macros work by enabling all features available on platform versions up to and -// including the version specified. - -// Modify the following defines if you have to target a platform prior to the ones specified below. -// Refer to MSDN for the latest info on corresponding values for different platforms. -#ifndef WINVER // Specifies that the minimum required platform is Windows Vista. -#define WINVER 0x0600 // Change this to the appropriate value to target other versions of Windows. -#endif - -#ifndef _WIN32_WINNT // Specifies that the minimum required platform is Windows Vista. -#define _WIN32_WINNT 0x0600 // Change this to the appropriate value to target other versions of Windows. -#endif - -#ifndef _WIN32_WINDOWS // Specifies that the minimum required platform is Windows 98. -#define _WIN32_WINDOWS 0x0410 // Change this to the appropriate value to target Windows Me or later. -#endif - -#ifndef _WIN32_IE // Specifies that the minimum required platform is Internet Explorer 7.0. -#define _WIN32_IE 0x0700 // Change this to the appropriate value to target other versions of IE. -#endif - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7452/SDK7452DbEvt/7230int.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7452/SDK7452DbEvt/7230int.suo deleted file mode 100644 index 0246eaf..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7452/SDK7452DbEvt/7230int.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7452/SDK7452DbEvt/7256int.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7452/SDK7452DbEvt/7256int.suo deleted file mode 100644 index 494d925..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7452/SDK7452DbEvt/7256int.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7452/SDK7452DbEvt/7258int.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7452/SDK7452DbEvt/7258int.suo deleted file mode 100644 index ea9e48d..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7452/SDK7452DbEvt/7258int.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7452/SDK7452DbEvt/7432int.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7452/SDK7452DbEvt/7432int.suo deleted file mode 100644 index ffef772..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7452/SDK7452DbEvt/7432int.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7452/SDK7452DbEvt/7442int.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7452/SDK7452DbEvt/7442int.suo deleted file mode 100644 index 16975c1..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7452/SDK7452DbEvt/7442int.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7452/SDK7452DbEvt/7452int.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7452/SDK7452DbEvt/7452int.cpp deleted file mode 100644 index c1ca221..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7452/SDK7452DbEvt/7452int.cpp +++ /dev/null @@ -1,110 +0,0 @@ - -// 7452int.cpp : Defines the class behaviors for the application. -// - -#include "stdafx.h" -#include "7452int.h" -#include "7452intDlg.h" -#include "CardIDDlg.h" - -#ifdef _DEBUG -#define new DEBUG_NEW -#endif - - -// C7452intApp - -BEGIN_MESSAGE_MAP(C7452intApp, CWinAppEx) - ON_COMMAND(ID_HELP, &CWinApp::OnHelp) -END_MESSAGE_MAP() - - -// C7452intApp construction - -C7452intApp::C7452intApp() -{ - // TODO: add construction code here, - // Place all significant initialization in InitInstance -} - - -// The one and only C7452intApp object - -C7452intApp theApp; - - -// C7452intApp initialization - -BOOL C7452intApp::InitInstance() -{ - int nCardID = 0; - I16 hCard; - CString strTemp; - INT_PTR nResponse; - - // InitCommonControlsEx() is required on Windows XP if an application - // manifest specifies use of ComCtl32.dll version 6 or later to enable - // visual styles. Otherwise, any window creation will fail. - INITCOMMONCONTROLSEX InitCtrls; - InitCtrls.dwSize = sizeof(InitCtrls); - // Set this to include all the common control classes you want to use - // in your application. - InitCtrls.dwICC = ICC_WIN95_CLASSES; - InitCommonControlsEx(&InitCtrls); - - CWinAppEx::InitInstance(); - - AfxEnableControlContainer(); - - // Standard initialization - // If you are not using these features and wish to reduce the size - // of your final executable, you should remove from the following - // the specific initialization routines you do not need - // Change the registry key under which our settings are stored - // TODO: You should modify this string to be something appropriate - // such as the name of your company or organization - SetRegistryKey(_T("Local AppWizard-Generated Applications")); - - CCardIDDlg CardDlg( nCardID ); - - nResponse = CardDlg.DoModal(); - if (nResponse == IDOK) - { - nCardID = CardDlg.GetCardID(); - - if ((hCard=Register_Card(PCI_7452, nCardID)) < 0) - { - strTemp.Format( TEXT("Register_Card Error = %d"), hCard); - AfxMessageBox( strTemp ); - } - else - { - C7452intDlg dlg(hCard); - m_pMainWnd = &dlg; - nResponse = dlg.DoModal(); - if (nResponse == IDOK) - { - // TODO: Place code here to handle when the dialog is - // dismissed with OK - } - else if (nResponse == IDCANCEL) - { - // TODO: Place code here to handle when the dialog is - // dismissed with Cancel - } - - if (hCard >= 0) Release_Card(hCard); - } - - } - else if (nResponse == IDCANCEL) - { - // TODO: Place code here to handle when the dialog is - // dismissed with Cancel - } - - - // Since the dialog has been closed, return FALSE so that we exit the - // application, rather than start the application's message pump. - return FALSE; -} diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7452/SDK7452DbEvt/7452int.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7452/SDK7452DbEvt/7452int.h deleted file mode 100644 index d2ba3f5..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7452/SDK7452DbEvt/7452int.h +++ /dev/null @@ -1,32 +0,0 @@ - -// 7452int.h : main header file for the PROJECT_NAME application -// - -#pragma once - -#ifndef __AFXWIN_H__ - #error "include 'stdafx.h' before including this file for PCH" -#endif - -#include "resource.h" // main symbols - - -// C7452intApp: -// See 7452int.cpp for the implementation of this class -// - -class C7452intApp : public CWinAppEx -{ -public: - C7452intApp(); - -// Overrides - public: - virtual BOOL InitInstance(); - -// Implementation - - DECLARE_MESSAGE_MAP() -}; - -extern C7452intApp theApp; \ No newline at end of file diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7452/SDK7452DbEvt/7452int.rc b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7452/SDK7452DbEvt/7452int.rc deleted file mode 100644 index 2668cf9..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7452/SDK7452DbEvt/7452int.rc +++ /dev/null @@ -1,244 +0,0 @@ -// Microsoft Visual C++ generated resource script. -// -#include "resource.h" - -#define APSTUDIO_READONLY_SYMBOLS -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 2 resource. -// -#ifndef APSTUDIO_INVOKED -#include "targetver.h" -#endif -#include "afxres.h" - -///////////////////////////////////////////////////////////////////////////// -#undef APSTUDIO_READONLY_SYMBOLS - -///////////////////////////////////////////////////////////////////////////// -// Chinese (Taiwan) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_CHT) -#ifdef _WIN32 -LANGUAGE LANG_CHINESE, SUBLANG_CHINESE_TRADITIONAL -#pragma code_page(950) -#endif //_WIN32 - -#ifdef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// TEXTINCLUDE -// - -1 TEXTINCLUDE -BEGIN - "resource.h\0" -END - -2 TEXTINCLUDE -BEGIN - "#ifndef APSTUDIO_INVOKED\r\n" - "#include ""targetver.h""\r\n" - "#endif\r\n" - "#include ""afxres.h""\r\n" - "\0" -END - -3 TEXTINCLUDE -BEGIN - "#define _AFX_NO_SPLITTER_RESOURCES\r\n" - "#define _AFX_NO_OLE_RESOURCES\r\n" - "#define _AFX_NO_TRACKER_RESOURCES\r\n" - "#define _AFX_NO_PROPERTY_RESOURCES\r\n" - "\r\n" - "#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)\r\n" - "LANGUAGE 9, 1\r\n" - "#pragma code_page(1252)\r\n" - "#include ""res\\My7452int.rc2"" // non-Microsoft Visual C++ edited resources\r\n" - "#include ""afxres.rc"" // Standard components\r\n" - "#endif\r\n" - "\0" -END - -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// Icon -// - -// Icon with lowest ID value placed first to ensure application icon -// remains consistent on all systems. -IDR_MAINFRAME ICON "res\\7452int.ico" -#endif // Chinese (Taiwan) resources -///////////////////////////////////////////////////////////////////////////// - - -///////////////////////////////////////////////////////////////////////////// -// English (U.S.) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -#ifdef _WIN32 -LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US -#pragma code_page(1252) -#endif //_WIN32 - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog -// - -IDD_ABOUTBOX DIALOGEX 0, 0, 170, 62 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "About 7452int" -FONT 8, "MS Shell Dlg", 0, 0, 0x1 -BEGIN - ICON IDR_MAINFRAME,IDC_STATIC,14,14,21,20 - LTEXT "7452int, Version 1.0",IDC_STATIC,42,14,114,8,SS_NOPREFIX - LTEXT "Copyright (C) 2010",IDC_STATIC,42,26,114,8 - DEFPUSHBUTTON "OK",IDOK,113,41,50,14,WS_GROUP -END - -IDD_MY7452INT_DIALOG DIALOGEX 0, 0, 228, 138 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU -EXSTYLE WS_EX_APPWINDOW -CAPTION "PCI-7542 Dual Interrupt" -FONT 8, "MS Shell Dlg", 0, 0, 0x1 -BEGIN - LTEXT "This program shows the number of occurrence of interrupt for COS interrupt lines.\nCOS0 interrupt is generated by change of state of DI0 bit-0.\nCOS1 interrupt is generated by change of state of DI1 bit-0.",IDC_STATIC,9,6,207,34 - LTEXT "COS0 Count =",IDC_STATIC_05,54,79,85,13 - PUSHBUTTON "Output",IDC_BT_OUTPUT,76,113,84,18 - LTEXT "COS1 Count =",IDC_STATIC_06,54,96,85,13 - LTEXT "If connecting DO0 bit-0 to DI0 bit-0 and DO1 bit-0 to DI1 bit-0, click 'Output' button can generate two interrupts.\nOne for COS0 and the other for COS1.",IDC_STATIC,10,43,207,25 -END - -IDD_CARDID_DIALOG DIALOGEX 0, 0, 163, 88 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "Card ID" -FONT 8, "MS Shell Dlg", 400, 0, 0x1 -BEGIN - COMBOBOX IDC_COMBO_CARDID,73,17,71,126,CBS_DROPDOWN | WS_VSCROLL | WS_TABSTOP - LTEXT "Card Number",IDC_STATIC_01,19,18,46,12 - PUSHBUTTON "OK",IDOK,20,50,58,19 - PUSHBUTTON "CANCEL",IDCANCEL,84,50,58,19 -END - - -///////////////////////////////////////////////////////////////////////////// -// -// Version -// - -VS_VERSION_INFO VERSIONINFO - FILEVERSION 1,0,0,1 - PRODUCTVERSION 1,0,0,1 - FILEFLAGSMASK 0x3fL -#ifdef _DEBUG - FILEFLAGS 0x1L -#else - FILEFLAGS 0x0L -#endif - FILEOS 0x4L - FILETYPE 0x1L - FILESUBTYPE 0x0L -BEGIN - BLOCK "StringFileInfo" - BEGIN - BLOCK "040904e4" - BEGIN - VALUE "CompanyName", "TODO: " - VALUE "FileDescription", "TODO: " - VALUE "FileVersion", "1.0.0.1" - VALUE "InternalName", "7452int.exe" - VALUE "LegalCopyright", "TODO: (c) . All rights reserved." - VALUE "OriginalFilename", "7452int.exe" - VALUE "ProductName", "TODO: " - VALUE "ProductVersion", "1.0.0.1" - END - END - BLOCK "VarFileInfo" - BEGIN - VALUE "Translation", 0x409, 1252 - END -END - - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog Info -// - -IDD_CARDID_DIALOG DLGINIT -BEGIN - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0030, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0031, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0032, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0033, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0034, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0035, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0036, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0037, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0038, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0039, - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3031, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3131, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3231, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3331, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3431, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3531, "\000" - 0 -END - - -///////////////////////////////////////////////////////////////////////////// -// -// String Table -// - -STRINGTABLE -BEGIN - IDS_ABOUTBOX "&About 7452int..." -END - -#endif // English (U.S.) resources -///////////////////////////////////////////////////////////////////////////// - - - -#ifndef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 3 resource. -// -#define _AFX_NO_SPLITTER_RESOURCES -#define _AFX_NO_OLE_RESOURCES -#define _AFX_NO_TRACKER_RESOURCES -#define _AFX_NO_PROPERTY_RESOURCES - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -LANGUAGE 9, 1 -#pragma code_page(1252) -#include "res\My7452int.rc2" // non-Microsoft Visual C++ edited resources -#include "afxres.rc" // Standard components -#endif - -///////////////////////////////////////////////////////////////////////////// -#endif // not APSTUDIO_INVOKED - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7452/SDK7452DbEvt/7452int.sln b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7452/SDK7452DbEvt/7452int.sln deleted file mode 100644 index 41d8906..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7452/SDK7452DbEvt/7452int.sln +++ /dev/null @@ -1,20 +0,0 @@ - -Microsoft Visual Studio Solution File, Format Version 10.00 -# Visual Studio 2008 -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "7452int", "7452int.vcproj", "{7D5D9EC5-ED97-47EE-B6F4-ACCD71069808}" -EndProject -Global - GlobalSection(SolutionConfigurationPlatforms) = preSolution - Debug|x64 = Debug|x64 - Release|x64 = Release|x64 - EndGlobalSection - GlobalSection(ProjectConfigurationPlatforms) = postSolution - {7D5D9EC5-ED97-47EE-B6F4-ACCD71069808}.Debug|x64.ActiveCfg = Debug|x64 - {7D5D9EC5-ED97-47EE-B6F4-ACCD71069808}.Debug|x64.Build.0 = Debug|x64 - {7D5D9EC5-ED97-47EE-B6F4-ACCD71069808}.Release|x64.ActiveCfg = Release|x64 - {7D5D9EC5-ED97-47EE-B6F4-ACCD71069808}.Release|x64.Build.0 = Release|x64 - EndGlobalSection - GlobalSection(SolutionProperties) = preSolution - HideSolutionNode = FALSE - EndGlobalSection -EndGlobal diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7452/SDK7452DbEvt/7452int.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7452/SDK7452DbEvt/7452int.suo deleted file mode 100644 index 43a1c93..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7452/SDK7452DbEvt/7452int.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7452/SDK7452DbEvt/7452int.vcproj b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7452/SDK7452DbEvt/7452int.vcproj deleted file mode 100644 index 5933734..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7452/SDK7452DbEvt/7452int.vcproj +++ /dev/null @@ -1,286 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7452/SDK7452DbEvt/7452intDlg.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7452/SDK7452DbEvt/7452intDlg.cpp deleted file mode 100644 index 8dd61ee..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7452/SDK7452DbEvt/7452intDlg.cpp +++ /dev/null @@ -1,286 +0,0 @@ - -// 7452intDlg.cpp : implementation file -// - -#include "stdafx.h" -#include "7452int.h" -#include "7452intDlg.h" - -#ifdef _DEBUG -#define new DEBUG_NEW -#endif - -int gIntCount, gIntCount2; -HANDLE ghIntEvent[2]; - -BOOLEAN gbExitThread, gbExitThread2; - - - -DWORD WINAPI IntThread( LPVOID lpParam ) -{ - - while ( gbExitThread == FALSE ) - { - if ( WaitForSingleObject(ghIntEvent[0], INFINITE) == WAIT_OBJECT_0 ) - { - gIntCount++; -// ResetEvent(ghIntEvent[0]); - } - } - - return (DWORD) 0; -} - -DWORD WINAPI IntThread2( LPVOID lpParam ) -{ - - while ( gbExitThread2 == FALSE ) - { - if ( WaitForSingleObject(ghIntEvent[1], INFINITE) == WAIT_OBJECT_0 ) - { - gIntCount2++; -// ResetEvent(ghIntEvent[1]); - } - } - - return (DWORD) 0; -} - -// CAboutDlg dialog used for App About - -class CAboutDlg : public CDialog -{ -public: - CAboutDlg(); - -// Dialog Data - enum { IDD = IDD_ABOUTBOX }; - - protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - -// Implementation -protected: - DECLARE_MESSAGE_MAP() -}; - -CAboutDlg::CAboutDlg() : CDialog(CAboutDlg::IDD) -{ -} - -void CAboutDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); -} - -BEGIN_MESSAGE_MAP(CAboutDlg, CDialog) -END_MESSAGE_MAP() - - -// C7452intDlg dialog - - - - -C7452intDlg::C7452intDlg(I16 hCard, CWnd* pParent /*=NULL*/) - : CDialog(C7452intDlg::IDD, pParent) -{ - m_hIcon = AfxGetApp()->LoadIcon(IDR_MAINFRAME); - - m_hCard = hCard; - m_hThread = m_hThread2 = NULL; - m_nTimer = -1; -} - -void C7452intDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); -} - -BEGIN_MESSAGE_MAP(C7452intDlg, CDialog) - ON_WM_SYSCOMMAND() - ON_WM_PAINT() - ON_WM_QUERYDRAGICON() - //}}AFX_MSG_MAP - ON_WM_DESTROY() - ON_WM_TIMER() - ON_BN_CLICKED(IDC_BT_OUTPUT, &C7452intDlg::OnOutput) -END_MESSAGE_MAP() - - -// C7452intDlg message handlers - -BOOL C7452intDlg::OnInitDialog() -{ - CDialog::OnInitDialog(); - - // Add "About..." menu item to system menu. - - // IDM_ABOUTBOX must be in the system command range. - ASSERT((IDM_ABOUTBOX & 0xFFF0) == IDM_ABOUTBOX); - ASSERT(IDM_ABOUTBOX < 0xF000); - - CMenu* pSysMenu = GetSystemMenu(FALSE); - if (pSysMenu != NULL) - { - BOOL bNameValid; - CString strAboutMenu; - bNameValid = strAboutMenu.LoadString(IDS_ABOUTBOX); - ASSERT(bNameValid); - if (!strAboutMenu.IsEmpty()) - { - pSysMenu->AppendMenu(MF_SEPARATOR); - pSysMenu->AppendMenu(MF_STRING, IDM_ABOUTBOX, strAboutMenu); - } - } - - // Set the icon for this dialog. The framework does this automatically - // when the application's main window is not a dialog - SetIcon(m_hIcon, TRUE); // Set big icon - SetIcon(m_hIcon, FALSE); // Set small icon - - // TODO: Add extra initialization here - - DIO_SetCOSInterrupt32(m_hCard, 0, 0x0001, (HANDLE *) &ghIntEvent[0], 0); - DIO_SetCOSInterrupt32(m_hCard, 1, 0x0001, (HANDLE *) &ghIntEvent[1], 0); - - - gIntCount = 0; - gbExitThread = FALSE; - m_hThread = CreateThread( NULL, // default security attributes - 0, // use default stack size - IntThread, // thread function name - NULL, // argument to thread function - 0, // use default creation flags - NULL); // returns the thread identifier - - gIntCount2 = 0; - gbExitThread = FALSE; - m_hThread2 = CreateThread( NULL, // default security attributes - 0, // use default stack size - IntThread2, // thread function name - NULL, // argument to thread function - 0, // use default creation flags - NULL); // returns the thread identifier - - m_nTimer = SetTimer( 1, 250, NULL ); - - return TRUE; // return TRUE unless you set the focus to a control -} - -void C7452intDlg::OnSysCommand(UINT nID, LPARAM lParam) -{ - if ((nID & 0xFFF0) == IDM_ABOUTBOX) - { - CAboutDlg dlgAbout; - dlgAbout.DoModal(); - } - else - { - CDialog::OnSysCommand(nID, lParam); - } -} - -// If you add a minimize button to your dialog, you will need the code below -// to draw the icon. For MFC applications using the document/view model, -// this is automatically done for you by the framework. - -void C7452intDlg::OnPaint() -{ - if (IsIconic()) - { - CPaintDC dc(this); // device context for painting - - SendMessage(WM_ICONERASEBKGND, reinterpret_cast(dc.GetSafeHdc()), 0); - - // Center icon in client rectangle - int cxIcon = GetSystemMetrics(SM_CXICON); - int cyIcon = GetSystemMetrics(SM_CYICON); - CRect rect; - GetClientRect(&rect); - int x = (rect.Width() - cxIcon + 1) / 2; - int y = (rect.Height() - cyIcon + 1) / 2; - - // Draw the icon - dc.DrawIcon(x, y, m_hIcon); - } - else - { - CDialog::OnPaint(); - } -} - -// The system calls this function to obtain the cursor to display while the user drags -// the minimized window. -HCURSOR C7452intDlg::OnQueryDragIcon() -{ - return static_cast(m_hIcon); -} - - -void C7452intDlg::OnDestroy() -{ - CDialog::OnDestroy(); - - // TODO: Add your message handler code here - DIO_SetCOSInterrupt32(m_hCard, 0, 0, NULL, 0); - DIO_SetCOSInterrupt32(m_hCard, 1, 0, NULL, 0); - - if( m_nTimer != -1 ) - { - KillTimer( m_nTimer ); - m_nTimer = -1; - } - - - if( m_hThread != NULL ) - { - gbExitThread = TRUE; // termnate the IntThread - SetEvent( ghIntEvent[0] ); - - if (WaitForSingleObject(m_hThread, 5000) == WAIT_OBJECT_0) - { - CloseHandle( m_hThread ); - m_hThread = NULL; - } - } - - if( m_hThread2 != NULL ) - { - gbExitThread2 = TRUE; // termnate the IntThread - SetEvent( ghIntEvent[1] ); - - if (WaitForSingleObject(m_hThread2, 5000) == WAIT_OBJECT_0) - { - CloseHandle( m_hThread2 ); - m_hThread2 = NULL; - } - } - -} - -void C7452intDlg::OnTimer(UINT_PTR nIDEvent) -{ - // TODO: Add your message handler code here and/or call default - CString strTemp; - - strTemp.Format( TEXT("COS0 Count = %d"), gIntCount ); - SetDlgItemText( IDC_STATIC_05, strTemp ); - - strTemp.Format( TEXT("COS1 Count = %d"), gIntCount2 ); - SetDlgItemText( IDC_STATIC_06, strTemp ); - - CDialog::OnTimer(nIDEvent); -} - -void C7452intDlg::OnOutput() -{ - // TODO: Add your control notification handler code here - DO_WritePort(m_hCard, 0, 0x1); - DO_WritePort(m_hCard, 1, 0x1); - Sleep(1); - DO_WritePort(m_hCard, 0, 0x0); - DO_WritePort(m_hCard, 1, 0x0); - -} diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7452/SDK7452DbEvt/7452intDlg.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7452/SDK7452DbEvt/7452intDlg.h deleted file mode 100644 index df7b895..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7452/SDK7452DbEvt/7452intDlg.h +++ /dev/null @@ -1,40 +0,0 @@ - -// 7452intDlg.h : header file -// -#include "Dask64.h" - -#pragma once - - -// C7452intDlg dialog -class C7452intDlg : public CDialog -{ -// Construction -public: - C7452intDlg(I16 hCard, CWnd* pParent = NULL); // standard constructor - -// Dialog Data - enum { IDD = IDD_MY7452INT_DIALOG }; - - protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - - -// Implementation -protected: - HICON m_hIcon; - UINT_PTR m_nTimer; - HANDLE m_hThread, m_hThread2; - I16 m_hCard;; - - // Generated message map functions - virtual BOOL OnInitDialog(); - afx_msg void OnSysCommand(UINT nID, LPARAM lParam); - afx_msg void OnPaint(); - afx_msg HCURSOR OnQueryDragIcon(); - DECLARE_MESSAGE_MAP() -public: - afx_msg void OnDestroy(); - afx_msg void OnTimer(UINT_PTR nIDEvent); - afx_msg void OnOutput(); -}; diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7452/SDK7452DbEvt/CardIDDlg.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7452/SDK7452DbEvt/CardIDDlg.cpp deleted file mode 100644 index 63040aa..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7452/SDK7452DbEvt/CardIDDlg.cpp +++ /dev/null @@ -1,67 +0,0 @@ -// CardIDDlg.cpp : implementation file -// - -#include "stdafx.h" -#include "7452int.h" -#include "CardIDDlg.h" - - -// CCardIDDlg dialog - -IMPLEMENT_DYNAMIC(CCardIDDlg, CDialog) - -CCardIDDlg::CCardIDDlg(int nCardIdx, CWnd* pParent /*=NULL*/) - : CDialog(CCardIDDlg::IDD, pParent) -{ - m_nCardIdx = nCardIdx; -} - -CCardIDDlg::~CCardIDDlg() -{ -} - -void CCardIDDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); - DDX_Control(pDX, IDC_COMBO_CARDID, m_cbCardID); -} - - -BEGIN_MESSAGE_MAP(CCardIDDlg, CDialog) -// ON_CBN_SELCHANGE(IDC_COMBO_CARDID, &CCardIDDlg::OnCbnSelchangeComboCardid) -ON_BN_CLICKED(IDOK, &CCardIDDlg::OnBnClickedOk) -//ON_WM_CTLCOLOR() -END_MESSAGE_MAP() - - -// CCardIDDlg message handlers - - -void CCardIDDlg::OnBnClickedOk() -{ - // TODO: Add your control notification handler code here - -// UpdateData(TRUE); - m_nCardIdx = m_cbCardID.GetCurSel(); - - OnOK(); -} - -BOOL CCardIDDlg::OnInitDialog() -{ - CDialog::OnInitDialog(); - - // TODO: Add extra initialization here - m_cbCardID.SetCurSel( m_nCardIdx ); - - return TRUE; // return TRUE unless you set the focus to a control - // EXCEPTION: OCX Property Pages should return FALSE -} - -// the function to get the selected CardID -int CCardIDDlg::GetCardID(void) -{ - return m_nCardIdx; -} - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7452/SDK7452DbEvt/CardIDDlg.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7452/SDK7452DbEvt/CardIDDlg.h deleted file mode 100644 index 54628ea..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7452/SDK7452DbEvt/CardIDDlg.h +++ /dev/null @@ -1,33 +0,0 @@ -#pragma once -#include "afxwin.h" - - -// CCardIDDlg dialog - -class CCardIDDlg : public CDialog -{ - DECLARE_DYNAMIC(CCardIDDlg) - -public: - CCardIDDlg(int nCardIdx, CWnd* pParent = NULL); // standard constructor - virtual ~CCardIDDlg(); - -// Dialog Data - enum { IDD = IDD_CARDID_DIALOG }; - -protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - - DECLARE_MESSAGE_MAP() -public: -// afx_msg void OnCbnSelchangeComboCardid(); - afx_msg void OnBnClickedOk(); - // the setting of CardID ComboBox - int m_nCardIdx; - virtual BOOL OnInitDialog(); - // the control of CardID ComboBox - CComboBox m_cbCardID; - // the function to get the selected CardID - int GetCardID(void); -// afx_msg HBRUSH OnCtlColor(CDC* pDC, CWnd* pWnd, UINT nCtlColor); -}; diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7452/SDK7452DbEvt/ReadMe.txt b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7452/SDK7452DbEvt/ReadMe.txt deleted file mode 100644 index eeff670..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7452/SDK7452DbEvt/ReadMe.txt +++ /dev/null @@ -1,93 +0,0 @@ -================================================================================ - MICROSOFT FOUNDATION CLASS LIBRARY : 7452int Project Overview -=============================================================================== - -The application wizard has created this 7452int application for -you. This application not only demonstrates the basics of using the Microsoft -Foundation Classes but is also a starting point for writing your application. - -This file contains a summary of what you will find in each of the files that -make up your 7452int application. - -7452int.vcproj - This is the main project file for VC++ projects generated using an application wizard. - It contains information about the version of Visual C++ that generated the file, and - information about the platforms, configurations, and project features selected with the - application wizard. - -7452int.h - This is the main header file for the application. It includes other - project specific headers (including Resource.h) and declares the - C7452intApp application class. - -7452int.cpp - This is the main application source file that contains the application - class C7452intApp. - -7452int.rc - This is a listing of all of the Microsoft Windows resources that the - program uses. It includes the icons, bitmaps, and cursors that are stored - in the RES subdirectory. This file can be directly edited in Microsoft - Visual C++. Your project resources are in 1033. - -res\7452int.ico - This is an icon file, which is used as the application's icon. This - icon is included by the main resource file 7452int.rc. - -res\My7452int.rc2 - This file contains resources that are not edited by Microsoft - Visual C++. You should place all resources not editable by - the resource editor in this file. - - -///////////////////////////////////////////////////////////////////////////// - -The application wizard creates one dialog class: - -7452intDlg.h, 7452intDlg.cpp - the dialog - These files contain your C7452intDlg class. This class defines - the behavior of your application's main dialog. The dialog's template is - in 7452int.rc, which can be edited in Microsoft Visual C++. - - -///////////////////////////////////////////////////////////////////////////// - -Other Features: - -ActiveX Controls - The application includes support to use ActiveX controls. - -///////////////////////////////////////////////////////////////////////////// - -Other standard files: - -StdAfx.h, StdAfx.cpp - These files are used to build a precompiled header (PCH) file - named 7452int.pch and a precompiled types file named StdAfx.obj. - -Resource.h - This is the standard header file, which defines new resource IDs. - Microsoft Visual C++ reads and updates this file. - -7452int.manifest - Application manifest files are used by Windows XP to describe an applications - dependency on specific versions of Side-by-Side assemblies. The loader uses this - information to load the appropriate assembly from the assembly cache or private - from the application. The Application manifest maybe included for redistribution - as an external .manifest file that is installed in the same folder as the application - executable or it may be included in the executable in the form of a resource. -///////////////////////////////////////////////////////////////////////////// - -Other notes: - -The application wizard uses "TODO:" to indicate parts of the source code you -should add to or customize. - -If your application uses MFC in a shared DLL, you will need -to redistribute the MFC DLLs. If your application is in a language -other than the operating system's locale, you will also have to -redistribute the corresponding localized resources MFC90XXX.DLL. -For more information on both of these topics, please see the section on -redistributing Visual C++ applications in MSDN documentation. - -///////////////////////////////////////////////////////////////////////////// diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7452/SDK7452DbEvt/res/7452int.ico b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7452/SDK7452DbEvt/res/7452int.ico deleted file mode 100644 index d56fbcd..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7452/SDK7452DbEvt/res/7452int.ico and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7452/SDK7452DbEvt/res/My7452int.rc2 b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7452/SDK7452DbEvt/res/My7452int.rc2 deleted file mode 100644 index 7bd3593..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7452/SDK7452DbEvt/res/My7452int.rc2 +++ /dev/null @@ -1,13 +0,0 @@ -// -// My7256int.RC2 - resources Microsoft Visual C++ does not edit directly -// - -#ifdef APSTUDIO_INVOKED -#error this file is not editable by Microsoft Visual C++ -#endif //APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// Add manually edited resources here... - -///////////////////////////////////////////////////////////////////////////// diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7452/SDK7452DbEvt/resource.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7452/SDK7452DbEvt/resource.h deleted file mode 100644 index 4902164..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7452/SDK7452DbEvt/resource.h +++ /dev/null @@ -1,28 +0,0 @@ -//{{NO_DEPENDENCIES}} -// Microsoft Visual C++ generated include file. -// Used by 7452int.rc -// -#define IDM_ABOUTBOX 0x0010 -#define IDD_ABOUTBOX 100 -#define IDS_ABOUTBOX 101 -#define IDD_MY7452INT_DIALOG 102 -#define IDR_MAINFRAME 128 -#define IDD_CARDID_DIALOG 129 -#define IDC_COMBO_CARDID 1000 -#define IDC_BUTTON1 1000 -#define IDC_BT_OUTPUT 1000 -#define IDC_STATIC_05 1007 -#define IDC_STATIC_06 1008 -#define IDC_STATIC_6 1008 -#define IDC_STATIC_01 1014 - -// Next default values for new objects -// -#ifdef APSTUDIO_INVOKED -#ifndef APSTUDIO_READONLY_SYMBOLS -#define _APS_NEXT_RESOURCE_VALUE 131 -#define _APS_NEXT_COMMAND_VALUE 32771 -#define _APS_NEXT_CONTROL_VALUE 1001 -#define _APS_NEXT_SYMED_VALUE 101 -#endif -#endif diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7452/SDK7452DbEvt/stdafx.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7452/SDK7452DbEvt/stdafx.cpp deleted file mode 100644 index 77255d9..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7452/SDK7452DbEvt/stdafx.cpp +++ /dev/null @@ -1,8 +0,0 @@ - -// stdafx.cpp : source file that includes just the standard includes -// 7452int.pch will be the pre-compiled header -// stdafx.obj will contain the pre-compiled type information - -#include "stdafx.h" - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7452/SDK7452DbEvt/stdafx.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7452/SDK7452DbEvt/stdafx.h deleted file mode 100644 index 12123e2..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7452/SDK7452DbEvt/stdafx.h +++ /dev/null @@ -1,60 +0,0 @@ - -// stdafx.h : include file for standard system include files, -// or project specific include files that are used frequently, -// but are changed infrequently - -#pragma once - -#ifndef _SECURE_ATL -#define _SECURE_ATL 1 -#endif - -#ifndef VC_EXTRALEAN -#define VC_EXTRALEAN // Exclude rarely-used stuff from Windows headers -#endif - -#include "targetver.h" - -#define _ATL_CSTRING_EXPLICIT_CONSTRUCTORS // some CString constructors will be explicit - -// turns off MFC's hiding of some common and often safely ignored warning messages -#define _AFX_ALL_WARNINGS - -#include // MFC core and standard components -#include // MFC extensions - - -#include // MFC Automation classes - - - -#ifndef _AFX_NO_OLE_SUPPORT -#include // MFC support for Internet Explorer 4 Common Controls -#endif -#ifndef _AFX_NO_AFXCMN_SUPPORT -#include // MFC support for Windows Common Controls -#endif // _AFX_NO_AFXCMN_SUPPORT - -#include // MFC support for ribbons and control bars - - - - - - - - - -#ifdef _UNICODE -#if defined _M_IX86 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='x86' publicKeyToken='6595b64144ccf1df' language='*'\"") -#elif defined _M_IA64 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='ia64' publicKeyToken='6595b64144ccf1df' language='*'\"") -#elif defined _M_X64 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='amd64' publicKeyToken='6595b64144ccf1df' language='*'\"") -#else -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='*' publicKeyToken='6595b64144ccf1df' language='*'\"") -#endif -#endif - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7452/SDK7452DbEvt/targetver.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7452/SDK7452DbEvt/targetver.h deleted file mode 100644 index 11730d5..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7452/SDK7452DbEvt/targetver.h +++ /dev/null @@ -1,26 +0,0 @@ - -#pragma once - -// The following macros define the minimum required platform. The minimum required platform -// is the earliest version of Windows, Internet Explorer etc. that has the necessary features to run -// your application. The macros work by enabling all features available on platform versions up to and -// including the version specified. - -// Modify the following defines if you have to target a platform prior to the ones specified below. -// Refer to MSDN for the latest info on corresponding values for different platforms. -#ifndef WINVER // Specifies that the minimum required platform is Windows Vista. -#define WINVER 0x0600 // Change this to the appropriate value to target other versions of Windows. -#endif - -#ifndef _WIN32_WINNT // Specifies that the minimum required platform is Windows Vista. -#define _WIN32_WINNT 0x0600 // Change this to the appropriate value to target other versions of Windows. -#endif - -#ifndef _WIN32_WINDOWS // Specifies that the minimum required platform is Windows 98. -#define _WIN32_WINDOWS 0x0410 // Change this to the appropriate value to target Windows Me or later. -#endif - -#ifndef _WIN32_IE // Specifies that the minimum required platform is Internet Explorer 7.0. -#define _WIN32_IE 0x0700 // Change this to the appropriate value to target other versions of IE. -#endif - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7452/SDK7452DbEvtMsg/7230int.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7452/SDK7452DbEvtMsg/7230int.suo deleted file mode 100644 index 843c64f..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7452/SDK7452DbEvtMsg/7230int.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7452/SDK7452DbEvtMsg/7256int.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7452/SDK7452DbEvtMsg/7256int.suo deleted file mode 100644 index 01299a3..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7452/SDK7452DbEvtMsg/7256int.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7452/SDK7452DbEvtMsg/7258int.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7452/SDK7452DbEvtMsg/7258int.suo deleted file mode 100644 index b00e489..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7452/SDK7452DbEvtMsg/7258int.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7452/SDK7452DbEvtMsg/7432int.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7452/SDK7452DbEvtMsg/7432int.suo deleted file mode 100644 index 720a9d2..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7452/SDK7452DbEvtMsg/7432int.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7452/SDK7452DbEvtMsg/7442int.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7452/SDK7452DbEvtMsg/7442int.suo deleted file mode 100644 index e430cb7..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7452/SDK7452DbEvtMsg/7442int.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7452/SDK7452DbEvtMsg/7452int.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7452/SDK7452DbEvtMsg/7452int.cpp deleted file mode 100644 index c1ca221..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7452/SDK7452DbEvtMsg/7452int.cpp +++ /dev/null @@ -1,110 +0,0 @@ - -// 7452int.cpp : Defines the class behaviors for the application. -// - -#include "stdafx.h" -#include "7452int.h" -#include "7452intDlg.h" -#include "CardIDDlg.h" - -#ifdef _DEBUG -#define new DEBUG_NEW -#endif - - -// C7452intApp - -BEGIN_MESSAGE_MAP(C7452intApp, CWinAppEx) - ON_COMMAND(ID_HELP, &CWinApp::OnHelp) -END_MESSAGE_MAP() - - -// C7452intApp construction - -C7452intApp::C7452intApp() -{ - // TODO: add construction code here, - // Place all significant initialization in InitInstance -} - - -// The one and only C7452intApp object - -C7452intApp theApp; - - -// C7452intApp initialization - -BOOL C7452intApp::InitInstance() -{ - int nCardID = 0; - I16 hCard; - CString strTemp; - INT_PTR nResponse; - - // InitCommonControlsEx() is required on Windows XP if an application - // manifest specifies use of ComCtl32.dll version 6 or later to enable - // visual styles. Otherwise, any window creation will fail. - INITCOMMONCONTROLSEX InitCtrls; - InitCtrls.dwSize = sizeof(InitCtrls); - // Set this to include all the common control classes you want to use - // in your application. - InitCtrls.dwICC = ICC_WIN95_CLASSES; - InitCommonControlsEx(&InitCtrls); - - CWinAppEx::InitInstance(); - - AfxEnableControlContainer(); - - // Standard initialization - // If you are not using these features and wish to reduce the size - // of your final executable, you should remove from the following - // the specific initialization routines you do not need - // Change the registry key under which our settings are stored - // TODO: You should modify this string to be something appropriate - // such as the name of your company or organization - SetRegistryKey(_T("Local AppWizard-Generated Applications")); - - CCardIDDlg CardDlg( nCardID ); - - nResponse = CardDlg.DoModal(); - if (nResponse == IDOK) - { - nCardID = CardDlg.GetCardID(); - - if ((hCard=Register_Card(PCI_7452, nCardID)) < 0) - { - strTemp.Format( TEXT("Register_Card Error = %d"), hCard); - AfxMessageBox( strTemp ); - } - else - { - C7452intDlg dlg(hCard); - m_pMainWnd = &dlg; - nResponse = dlg.DoModal(); - if (nResponse == IDOK) - { - // TODO: Place code here to handle when the dialog is - // dismissed with OK - } - else if (nResponse == IDCANCEL) - { - // TODO: Place code here to handle when the dialog is - // dismissed with Cancel - } - - if (hCard >= 0) Release_Card(hCard); - } - - } - else if (nResponse == IDCANCEL) - { - // TODO: Place code here to handle when the dialog is - // dismissed with Cancel - } - - - // Since the dialog has been closed, return FALSE so that we exit the - // application, rather than start the application's message pump. - return FALSE; -} diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7452/SDK7452DbEvtMsg/7452int.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7452/SDK7452DbEvtMsg/7452int.h deleted file mode 100644 index d2ba3f5..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7452/SDK7452DbEvtMsg/7452int.h +++ /dev/null @@ -1,32 +0,0 @@ - -// 7452int.h : main header file for the PROJECT_NAME application -// - -#pragma once - -#ifndef __AFXWIN_H__ - #error "include 'stdafx.h' before including this file for PCH" -#endif - -#include "resource.h" // main symbols - - -// C7452intApp: -// See 7452int.cpp for the implementation of this class -// - -class C7452intApp : public CWinAppEx -{ -public: - C7452intApp(); - -// Overrides - public: - virtual BOOL InitInstance(); - -// Implementation - - DECLARE_MESSAGE_MAP() -}; - -extern C7452intApp theApp; \ No newline at end of file diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7452/SDK7452DbEvtMsg/7452int.rc b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7452/SDK7452DbEvtMsg/7452int.rc deleted file mode 100644 index 9312947..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7452/SDK7452DbEvtMsg/7452int.rc +++ /dev/null @@ -1,271 +0,0 @@ -// Microsoft Visual C++ generated resource script. -// -#include "resource.h" - -#define APSTUDIO_READONLY_SYMBOLS -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 2 resource. -// -#ifndef APSTUDIO_INVOKED -#include "targetver.h" -#endif -#include "afxres.h" - -///////////////////////////////////////////////////////////////////////////// -#undef APSTUDIO_READONLY_SYMBOLS - -///////////////////////////////////////////////////////////////////////////// -// Chinese (Taiwan) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_CHT) -#ifdef _WIN32 -LANGUAGE LANG_CHINESE, SUBLANG_CHINESE_TRADITIONAL -#pragma code_page(950) -#endif //_WIN32 - -#ifdef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// TEXTINCLUDE -// - -1 TEXTINCLUDE -BEGIN - "resource.h\0" -END - -2 TEXTINCLUDE -BEGIN - "#ifndef APSTUDIO_INVOKED\r\n" - "#include ""targetver.h""\r\n" - "#endif\r\n" - "#include ""afxres.h""\r\n" - "\0" -END - -3 TEXTINCLUDE -BEGIN - "#define _AFX_NO_SPLITTER_RESOURCES\r\n" - "#define _AFX_NO_OLE_RESOURCES\r\n" - "#define _AFX_NO_TRACKER_RESOURCES\r\n" - "#define _AFX_NO_PROPERTY_RESOURCES\r\n" - "\r\n" - "#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)\r\n" - "LANGUAGE 9, 1\r\n" - "#pragma code_page(1252)\r\n" - "#include ""res\\My7452int.rc2"" // non-Microsoft Visual C++ edited resources\r\n" - "#include ""afxres.rc"" // Standard components\r\n" - "#endif\r\n" - "\0" -END - -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// Icon -// - -// Icon with lowest ID value placed first to ensure application icon -// remains consistent on all systems. -IDR_MAINFRAME ICON "res\\7452int.ico" -#endif // Chinese (Taiwan) resources -///////////////////////////////////////////////////////////////////////////// - - -///////////////////////////////////////////////////////////////////////////// -// English (U.S.) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -#ifdef _WIN32 -LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US -#pragma code_page(1252) -#endif //_WIN32 - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog -// - -IDD_ABOUTBOX DIALOGEX 0, 0, 170, 62 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "About 7452int" -FONT 8, "MS Shell Dlg", 0, 0, 0x1 -BEGIN - ICON IDR_MAINFRAME,IDC_STATIC,14,14,21,20 - LTEXT "7452int, Version 1.0",IDC_STATIC,42,14,114,8,SS_NOPREFIX - LTEXT "Copyright (C) 2010",IDC_STATIC,42,26,114,8 - DEFPUSHBUTTON "OK",IDOK,113,41,50,14,WS_GROUP -END - -IDD_MY7452INT_DIALOG DIALOGEX 0, 0, 223, 140 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU -EXSTYLE WS_EX_APPWINDOW -CAPTION "PCI-7452 COS Interrupt Sample" -FONT 8, "MS Shell Dlg", 0, 0, 0x1 -BEGIN - LTEXT "This program shows the number of occurrence of interrupt for COS interrupt lines.\nCOS0 interrupt is generated by change of state of DI0 bit-0.\nCOS1 interrupt is generated by change of state of DI1 bit-1.",IDC_STATIC,7,6,200,34 - LTEXT "COS0 Count =",IDC_STATIC_05,59,73,85,13 - PUSHBUTTON "Output",IDC_BT_OUTPUT,71,108,84,18 - LTEXT "COS1 Count =",IDC_STATIC_06,59,89,85,13 - LTEXT "If connecting DO0 bit-0 to DI0 bit-0 and DO1 bit-0 to DI1 bit-0, click 'Output' button can generate two interrupts.\nOne for COS0 and the other for COS1.",IDC_STATIC,8,41,200,26 -END - -IDD_CARDID_DIALOG DIALOGEX 0, 0, 163, 88 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "Card ID" -FONT 8, "MS Shell Dlg", 400, 0, 0x1 -BEGIN - COMBOBOX IDC_COMBO_CARDID,73,17,71,126,CBS_DROPDOWN | WS_VSCROLL | WS_TABSTOP - LTEXT "Card Number",IDC_STATIC_01,19,18,46,12 - PUSHBUTTON "OK",IDOK,20,50,58,19 - PUSHBUTTON "CANCEL",IDCANCEL,84,50,58,19 -END - - -///////////////////////////////////////////////////////////////////////////// -// -// Version -// - -VS_VERSION_INFO VERSIONINFO - FILEVERSION 1,0,0,1 - PRODUCTVERSION 1,0,0,1 - FILEFLAGSMASK 0x3fL -#ifdef _DEBUG - FILEFLAGS 0x1L -#else - FILEFLAGS 0x0L -#endif - FILEOS 0x4L - FILETYPE 0x1L - FILESUBTYPE 0x0L -BEGIN - BLOCK "StringFileInfo" - BEGIN - BLOCK "040904e4" - BEGIN - VALUE "CompanyName", "TODO: " - VALUE "FileDescription", "TODO: " - VALUE "FileVersion", "1.0.0.1" - VALUE "InternalName", "7452int.exe" - VALUE "LegalCopyright", "TODO: (c) . All rights reserved." - VALUE "OriginalFilename", "7452int.exe" - VALUE "ProductName", "TODO: " - VALUE "ProductVersion", "1.0.0.1" - END - END - BLOCK "VarFileInfo" - BEGIN - VALUE "Translation", 0x409, 1252 - END -END - - -///////////////////////////////////////////////////////////////////////////// -// -// DESIGNINFO -// - -#ifdef APSTUDIO_INVOKED -GUIDELINES DESIGNINFO -BEGIN - IDD_ABOUTBOX, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 163 - TOPMARGIN, 7 - BOTTOMMARGIN, 55 - END - - IDD_CARDID_DIALOG, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 156 - TOPMARGIN, 7 - BOTTOMMARGIN, 81 - END -END -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog Info -// - -IDD_CARDID_DIALOG DLGINIT -BEGIN - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0030, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0031, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0032, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0033, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0034, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0035, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0036, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0037, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0038, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0039, - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3031, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3131, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3231, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3331, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3431, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3531, "\000" - 0 -END - - -///////////////////////////////////////////////////////////////////////////// -// -// String Table -// - -STRINGTABLE -BEGIN - IDS_ABOUTBOX "&About 7452int..." -END - -#endif // English (U.S.) resources -///////////////////////////////////////////////////////////////////////////// - - - -#ifndef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 3 resource. -// -#define _AFX_NO_SPLITTER_RESOURCES -#define _AFX_NO_OLE_RESOURCES -#define _AFX_NO_TRACKER_RESOURCES -#define _AFX_NO_PROPERTY_RESOURCES - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -LANGUAGE 9, 1 -#pragma code_page(1252) -#include "res\My7452int.rc2" // non-Microsoft Visual C++ edited resources -#include "afxres.rc" // Standard components -#endif - -///////////////////////////////////////////////////////////////////////////// -#endif // not APSTUDIO_INVOKED - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7452/SDK7452DbEvtMsg/7452int.sln b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7452/SDK7452DbEvtMsg/7452int.sln deleted file mode 100644 index 41d8906..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7452/SDK7452DbEvtMsg/7452int.sln +++ /dev/null @@ -1,20 +0,0 @@ - -Microsoft Visual Studio Solution File, Format Version 10.00 -# Visual Studio 2008 -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "7452int", "7452int.vcproj", "{7D5D9EC5-ED97-47EE-B6F4-ACCD71069808}" -EndProject -Global - GlobalSection(SolutionConfigurationPlatforms) = preSolution - Debug|x64 = Debug|x64 - Release|x64 = Release|x64 - EndGlobalSection - GlobalSection(ProjectConfigurationPlatforms) = postSolution - {7D5D9EC5-ED97-47EE-B6F4-ACCD71069808}.Debug|x64.ActiveCfg = Debug|x64 - {7D5D9EC5-ED97-47EE-B6F4-ACCD71069808}.Debug|x64.Build.0 = Debug|x64 - {7D5D9EC5-ED97-47EE-B6F4-ACCD71069808}.Release|x64.ActiveCfg = Release|x64 - {7D5D9EC5-ED97-47EE-B6F4-ACCD71069808}.Release|x64.Build.0 = Release|x64 - EndGlobalSection - GlobalSection(SolutionProperties) = preSolution - HideSolutionNode = FALSE - EndGlobalSection -EndGlobal diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7452/SDK7452DbEvtMsg/7452int.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7452/SDK7452DbEvtMsg/7452int.suo deleted file mode 100644 index fd1f328..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7452/SDK7452DbEvtMsg/7452int.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7452/SDK7452DbEvtMsg/7452int.vcproj b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7452/SDK7452DbEvtMsg/7452int.vcproj deleted file mode 100644 index 5933734..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7452/SDK7452DbEvtMsg/7452int.vcproj +++ /dev/null @@ -1,286 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7452/SDK7452DbEvtMsg/7452intDlg.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7452/SDK7452DbEvtMsg/7452intDlg.cpp deleted file mode 100644 index 5e9ced7..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7452/SDK7452DbEvtMsg/7452intDlg.cpp +++ /dev/null @@ -1,225 +0,0 @@ - -// 7452intDlg.cpp : implementation file -// - -#include "stdafx.h" -#include "7452int.h" -#include "7452intDlg.h" - -#ifdef _DEBUG -#define new DEBUG_NEW -#endif - - -#define COS0_MESSAGE _T("INT_COS0") -#define COS1_MESSAGE _T("INT_COS1") - -UINT WM_INT0 = ::RegisterWindowMessage(COS0_MESSAGE); -UINT WM_INT1 = ::RegisterWindowMessage(COS1_MESSAGE); - -// CAboutDlg dialog used for App About - -class CAboutDlg : public CDialog -{ -public: - CAboutDlg(); - -// Dialog Data - enum { IDD = IDD_ABOUTBOX }; - - protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - -// Implementation -protected: - DECLARE_MESSAGE_MAP() -}; - -CAboutDlg::CAboutDlg() : CDialog(CAboutDlg::IDD) -{ -} - -void CAboutDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); -} - -BEGIN_MESSAGE_MAP(CAboutDlg, CDialog) -END_MESSAGE_MAP() - - -// C7452intDlg dialog - - - - -C7452intDlg::C7452intDlg(I16 hCard, CWnd* pParent /*=NULL*/) - : CDialog(C7452intDlg::IDD, pParent) -{ - m_hIcon = AfxGetApp()->LoadIcon(IDR_MAINFRAME); - - m_hCard = hCard; -} - -void C7452intDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); -} - -BEGIN_MESSAGE_MAP(C7452intDlg, CDialog) - ON_WM_SYSCOMMAND() - ON_WM_PAINT() - ON_WM_QUERYDRAGICON() - ON_REGISTERED_MESSAGE(WM_INT0, OnExtSIGInterrupt1) - ON_REGISTERED_MESSAGE(WM_INT1, OnExtSIGInterrupt2) - //}}AFX_MSG_MAP - ON_WM_DESTROY() - ON_BN_CLICKED(IDC_BT_OUTPUT, &C7452intDlg::OnOutput) -END_MESSAGE_MAP() - - -// C7452intDlg message handlers - -BOOL C7452intDlg::OnInitDialog() -{ - CDialog::OnInitDialog(); - - // Add "About..." menu item to system menu. - - // IDM_ABOUTBOX must be in the system command range. - ASSERT((IDM_ABOUTBOX & 0xFFF0) == IDM_ABOUTBOX); - ASSERT(IDM_ABOUTBOX < 0xF000); - - CMenu* pSysMenu = GetSystemMenu(FALSE); - if (pSysMenu != NULL) - { - BOOL bNameValid; - CString strAboutMenu; - bNameValid = strAboutMenu.LoadString(IDS_ABOUTBOX); - ASSERT(bNameValid); - if (!strAboutMenu.IsEmpty()) - { - pSysMenu->AppendMenu(MF_SEPARATOR); - pSysMenu->AppendMenu(MF_STRING, IDM_ABOUTBOX, strAboutMenu); - } - } - - // Set the icon for this dialog. The framework does this automatically - // when the application's main window is not a dialog - SetIcon(m_hIcon, TRUE); // Set big icon - SetIcon(m_hIcon, FALSE); // Set small icon - - // TODO: Add extra initialization here - m_IntCount = m_IntCount2 = 0; - - DO_WritePort(m_hCard, P7442_CH0, 0x0); - DO_WritePort(m_hCard, P7442_CH1, 0x0); - Sleep(1); - DIO_SetCOSInterrupt32(m_hCard, 0, 0x0001, (HANDLE *) &m_hIntEvent[0], 0); - DIO_SetCOSInterrupt32(m_hCard, 1, 0x0001, (HANDLE *) &m_hIntEvent[1], 1); - DIO_INT_Event_Message_x64(m_hCard, 1, m_hIntEvent[0], this->m_hWnd, WM_INT0, NULL); - DIO_INT_Event_Message_x64(m_hCard, 1, m_hIntEvent[1], this->m_hWnd, WM_INT1, NULL); - - return TRUE; // return TRUE unless you set the focus to a control -} - -void C7452intDlg::OnSysCommand(UINT nID, LPARAM lParam) -{ - if ((nID & 0xFFF0) == IDM_ABOUTBOX) - { - CAboutDlg dlgAbout; - dlgAbout.DoModal(); - } - else - { - CDialog::OnSysCommand(nID, lParam); - } -} - -// If you add a minimize button to your dialog, you will need the code below -// to draw the icon. For MFC applications using the document/view model, -// this is automatically done for you by the framework. - -void C7452intDlg::OnPaint() -{ - if (IsIconic()) - { - CPaintDC dc(this); // device context for painting - - SendMessage(WM_ICONERASEBKGND, reinterpret_cast(dc.GetSafeHdc()), 0); - - // Center icon in client rectangle - int cxIcon = GetSystemMetrics(SM_CXICON); - int cyIcon = GetSystemMetrics(SM_CYICON); - CRect rect; - GetClientRect(&rect); - int x = (rect.Width() - cxIcon + 1) / 2; - int y = (rect.Height() - cyIcon + 1) / 2; - - // Draw the icon - dc.DrawIcon(x, y, m_hIcon); - } - else - { - CDialog::OnPaint(); - } -} - -// The system calls this function to obtain the cursor to display while the user drags -// the minimized window. -HCURSOR C7452intDlg::OnQueryDragIcon() -{ - return static_cast(m_hIcon); -} - - -void C7452intDlg::OnDestroy() -{ - CDialog::OnDestroy(); - - // TODO: Add your message handler code here - DIO_SetCOSInterrupt32(m_hCard, 0, 0, NULL, 0); - DIO_SetCOSInterrupt32(m_hCard, 1, 0, NULL, 0); - DIO_INT_Event_Message_x64(m_hCard, 0, m_hIntEvent[0], NULL, NULL, NULL); - DIO_INT_Event_Message_x64(m_hCard, 0, m_hIntEvent[1], NULL, NULL, NULL); - -} - - -void C7452intDlg::OnOutput() -{ - // TODO: Add your control notification handler code here - DO_WritePort(m_hCard, 0, 0x1); - DO_WritePort(m_hCard, 1, 0x1); - Sleep(1); - DO_WritePort(m_hCard, 0, 0x0); - DO_WritePort(m_hCard, 1, 0x0); - -} - -LRESULT C7452intDlg::OnExtSIGInterrupt1(WPARAM wParam, LPARAM lParam) -{ - // do something useful - CString strTemp; - - m_IntCount ++; - - strTemp.Format( TEXT("COS0 Count = %d"), m_IntCount ); - SetDlgItemText( IDC_STATIC_05, strTemp ); - - return (LRESULT) 0; -} - -LRESULT C7452intDlg::OnExtSIGInterrupt2(WPARAM wParam, LPARAM lParam) -{ - // do something useful - CString strTemp; - - m_IntCount2 ++; - - strTemp.Format( TEXT("COS1 Count = %d"), m_IntCount2 ); - SetDlgItemText( IDC_STATIC_06, strTemp ); - ResetEvent(m_hIntEvent[1]); - - return (LRESULT) 0; -} diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7452/SDK7452DbEvtMsg/7452intDlg.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7452/SDK7452DbEvtMsg/7452intDlg.h deleted file mode 100644 index ce9120b..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7452/SDK7452DbEvtMsg/7452intDlg.h +++ /dev/null @@ -1,42 +0,0 @@ - -// 7452intDlg.h : header file -// -#include "Dask64.h" - -#pragma once - - -// C7452intDlg dialog -class C7452intDlg : public CDialog -{ -// Construction -public: - C7452intDlg(I16 hCard, CWnd* pParent = NULL); // standard constructor - -// Dialog Data - enum { IDD = IDD_MY7452INT_DIALOG }; - - protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - - -// Implementation -protected: - HICON m_hIcon; - I16 m_hCard; - int m_IntCount; - int m_IntCount2; - HANDLE m_hIntEvent[2]; - - // Generated message map functions - virtual BOOL OnInitDialog(); - afx_msg void OnSysCommand(UINT nID, LPARAM lParam); - afx_msg void OnPaint(); - afx_msg HCURSOR OnQueryDragIcon(); - afx_msg LRESULT OnExtSIGInterrupt1(WPARAM wParam, LPARAM lParam); - afx_msg LRESULT OnExtSIGInterrupt2(WPARAM wParam, LPARAM lParam); - DECLARE_MESSAGE_MAP() -public: - afx_msg void OnDestroy(); - afx_msg void OnOutput(); -}; diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7452/SDK7452DbEvtMsg/CardIDDlg.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7452/SDK7452DbEvtMsg/CardIDDlg.cpp deleted file mode 100644 index 63040aa..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7452/SDK7452DbEvtMsg/CardIDDlg.cpp +++ /dev/null @@ -1,67 +0,0 @@ -// CardIDDlg.cpp : implementation file -// - -#include "stdafx.h" -#include "7452int.h" -#include "CardIDDlg.h" - - -// CCardIDDlg dialog - -IMPLEMENT_DYNAMIC(CCardIDDlg, CDialog) - -CCardIDDlg::CCardIDDlg(int nCardIdx, CWnd* pParent /*=NULL*/) - : CDialog(CCardIDDlg::IDD, pParent) -{ - m_nCardIdx = nCardIdx; -} - -CCardIDDlg::~CCardIDDlg() -{ -} - -void CCardIDDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); - DDX_Control(pDX, IDC_COMBO_CARDID, m_cbCardID); -} - - -BEGIN_MESSAGE_MAP(CCardIDDlg, CDialog) -// ON_CBN_SELCHANGE(IDC_COMBO_CARDID, &CCardIDDlg::OnCbnSelchangeComboCardid) -ON_BN_CLICKED(IDOK, &CCardIDDlg::OnBnClickedOk) -//ON_WM_CTLCOLOR() -END_MESSAGE_MAP() - - -// CCardIDDlg message handlers - - -void CCardIDDlg::OnBnClickedOk() -{ - // TODO: Add your control notification handler code here - -// UpdateData(TRUE); - m_nCardIdx = m_cbCardID.GetCurSel(); - - OnOK(); -} - -BOOL CCardIDDlg::OnInitDialog() -{ - CDialog::OnInitDialog(); - - // TODO: Add extra initialization here - m_cbCardID.SetCurSel( m_nCardIdx ); - - return TRUE; // return TRUE unless you set the focus to a control - // EXCEPTION: OCX Property Pages should return FALSE -} - -// the function to get the selected CardID -int CCardIDDlg::GetCardID(void) -{ - return m_nCardIdx; -} - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7452/SDK7452DbEvtMsg/CardIDDlg.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7452/SDK7452DbEvtMsg/CardIDDlg.h deleted file mode 100644 index 54628ea..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7452/SDK7452DbEvtMsg/CardIDDlg.h +++ /dev/null @@ -1,33 +0,0 @@ -#pragma once -#include "afxwin.h" - - -// CCardIDDlg dialog - -class CCardIDDlg : public CDialog -{ - DECLARE_DYNAMIC(CCardIDDlg) - -public: - CCardIDDlg(int nCardIdx, CWnd* pParent = NULL); // standard constructor - virtual ~CCardIDDlg(); - -// Dialog Data - enum { IDD = IDD_CARDID_DIALOG }; - -protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - - DECLARE_MESSAGE_MAP() -public: -// afx_msg void OnCbnSelchangeComboCardid(); - afx_msg void OnBnClickedOk(); - // the setting of CardID ComboBox - int m_nCardIdx; - virtual BOOL OnInitDialog(); - // the control of CardID ComboBox - CComboBox m_cbCardID; - // the function to get the selected CardID - int GetCardID(void); -// afx_msg HBRUSH OnCtlColor(CDC* pDC, CWnd* pWnd, UINT nCtlColor); -}; diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7452/SDK7452DbEvtMsg/ReadMe.txt b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7452/SDK7452DbEvtMsg/ReadMe.txt deleted file mode 100644 index eeff670..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7452/SDK7452DbEvtMsg/ReadMe.txt +++ /dev/null @@ -1,93 +0,0 @@ -================================================================================ - MICROSOFT FOUNDATION CLASS LIBRARY : 7452int Project Overview -=============================================================================== - -The application wizard has created this 7452int application for -you. This application not only demonstrates the basics of using the Microsoft -Foundation Classes but is also a starting point for writing your application. - -This file contains a summary of what you will find in each of the files that -make up your 7452int application. - -7452int.vcproj - This is the main project file for VC++ projects generated using an application wizard. - It contains information about the version of Visual C++ that generated the file, and - information about the platforms, configurations, and project features selected with the - application wizard. - -7452int.h - This is the main header file for the application. It includes other - project specific headers (including Resource.h) and declares the - C7452intApp application class. - -7452int.cpp - This is the main application source file that contains the application - class C7452intApp. - -7452int.rc - This is a listing of all of the Microsoft Windows resources that the - program uses. It includes the icons, bitmaps, and cursors that are stored - in the RES subdirectory. This file can be directly edited in Microsoft - Visual C++. Your project resources are in 1033. - -res\7452int.ico - This is an icon file, which is used as the application's icon. This - icon is included by the main resource file 7452int.rc. - -res\My7452int.rc2 - This file contains resources that are not edited by Microsoft - Visual C++. You should place all resources not editable by - the resource editor in this file. - - -///////////////////////////////////////////////////////////////////////////// - -The application wizard creates one dialog class: - -7452intDlg.h, 7452intDlg.cpp - the dialog - These files contain your C7452intDlg class. This class defines - the behavior of your application's main dialog. The dialog's template is - in 7452int.rc, which can be edited in Microsoft Visual C++. - - -///////////////////////////////////////////////////////////////////////////// - -Other Features: - -ActiveX Controls - The application includes support to use ActiveX controls. - -///////////////////////////////////////////////////////////////////////////// - -Other standard files: - -StdAfx.h, StdAfx.cpp - These files are used to build a precompiled header (PCH) file - named 7452int.pch and a precompiled types file named StdAfx.obj. - -Resource.h - This is the standard header file, which defines new resource IDs. - Microsoft Visual C++ reads and updates this file. - -7452int.manifest - Application manifest files are used by Windows XP to describe an applications - dependency on specific versions of Side-by-Side assemblies. The loader uses this - information to load the appropriate assembly from the assembly cache or private - from the application. The Application manifest maybe included for redistribution - as an external .manifest file that is installed in the same folder as the application - executable or it may be included in the executable in the form of a resource. -///////////////////////////////////////////////////////////////////////////// - -Other notes: - -The application wizard uses "TODO:" to indicate parts of the source code you -should add to or customize. - -If your application uses MFC in a shared DLL, you will need -to redistribute the MFC DLLs. If your application is in a language -other than the operating system's locale, you will also have to -redistribute the corresponding localized resources MFC90XXX.DLL. -For more information on both of these topics, please see the section on -redistributing Visual C++ applications in MSDN documentation. - -///////////////////////////////////////////////////////////////////////////// diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7452/SDK7452DbEvtMsg/res/7452int.ico b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7452/SDK7452DbEvtMsg/res/7452int.ico deleted file mode 100644 index d56fbcd..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7452/SDK7452DbEvtMsg/res/7452int.ico and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7452/SDK7452DbEvtMsg/res/My7452int.rc2 b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7452/SDK7452DbEvtMsg/res/My7452int.rc2 deleted file mode 100644 index 7bd3593..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7452/SDK7452DbEvtMsg/res/My7452int.rc2 +++ /dev/null @@ -1,13 +0,0 @@ -// -// My7256int.RC2 - resources Microsoft Visual C++ does not edit directly -// - -#ifdef APSTUDIO_INVOKED -#error this file is not editable by Microsoft Visual C++ -#endif //APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// Add manually edited resources here... - -///////////////////////////////////////////////////////////////////////////// diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7452/SDK7452DbEvtMsg/resource.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7452/SDK7452DbEvtMsg/resource.h deleted file mode 100644 index 4902164..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7452/SDK7452DbEvtMsg/resource.h +++ /dev/null @@ -1,28 +0,0 @@ -//{{NO_DEPENDENCIES}} -// Microsoft Visual C++ generated include file. -// Used by 7452int.rc -// -#define IDM_ABOUTBOX 0x0010 -#define IDD_ABOUTBOX 100 -#define IDS_ABOUTBOX 101 -#define IDD_MY7452INT_DIALOG 102 -#define IDR_MAINFRAME 128 -#define IDD_CARDID_DIALOG 129 -#define IDC_COMBO_CARDID 1000 -#define IDC_BUTTON1 1000 -#define IDC_BT_OUTPUT 1000 -#define IDC_STATIC_05 1007 -#define IDC_STATIC_06 1008 -#define IDC_STATIC_6 1008 -#define IDC_STATIC_01 1014 - -// Next default values for new objects -// -#ifdef APSTUDIO_INVOKED -#ifndef APSTUDIO_READONLY_SYMBOLS -#define _APS_NEXT_RESOURCE_VALUE 131 -#define _APS_NEXT_COMMAND_VALUE 32771 -#define _APS_NEXT_CONTROL_VALUE 1001 -#define _APS_NEXT_SYMED_VALUE 101 -#endif -#endif diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7452/SDK7452DbEvtMsg/stdafx.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7452/SDK7452DbEvtMsg/stdafx.cpp deleted file mode 100644 index 77255d9..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7452/SDK7452DbEvtMsg/stdafx.cpp +++ /dev/null @@ -1,8 +0,0 @@ - -// stdafx.cpp : source file that includes just the standard includes -// 7452int.pch will be the pre-compiled header -// stdafx.obj will contain the pre-compiled type information - -#include "stdafx.h" - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7452/SDK7452DbEvtMsg/stdafx.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7452/SDK7452DbEvtMsg/stdafx.h deleted file mode 100644 index 12123e2..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7452/SDK7452DbEvtMsg/stdafx.h +++ /dev/null @@ -1,60 +0,0 @@ - -// stdafx.h : include file for standard system include files, -// or project specific include files that are used frequently, -// but are changed infrequently - -#pragma once - -#ifndef _SECURE_ATL -#define _SECURE_ATL 1 -#endif - -#ifndef VC_EXTRALEAN -#define VC_EXTRALEAN // Exclude rarely-used stuff from Windows headers -#endif - -#include "targetver.h" - -#define _ATL_CSTRING_EXPLICIT_CONSTRUCTORS // some CString constructors will be explicit - -// turns off MFC's hiding of some common and often safely ignored warning messages -#define _AFX_ALL_WARNINGS - -#include // MFC core and standard components -#include // MFC extensions - - -#include // MFC Automation classes - - - -#ifndef _AFX_NO_OLE_SUPPORT -#include // MFC support for Internet Explorer 4 Common Controls -#endif -#ifndef _AFX_NO_AFXCMN_SUPPORT -#include // MFC support for Windows Common Controls -#endif // _AFX_NO_AFXCMN_SUPPORT - -#include // MFC support for ribbons and control bars - - - - - - - - - -#ifdef _UNICODE -#if defined _M_IX86 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='x86' publicKeyToken='6595b64144ccf1df' language='*'\"") -#elif defined _M_IA64 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='ia64' publicKeyToken='6595b64144ccf1df' language='*'\"") -#elif defined _M_X64 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='amd64' publicKeyToken='6595b64144ccf1df' language='*'\"") -#else -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='*' publicKeyToken='6595b64144ccf1df' language='*'\"") -#endif -#endif - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7452/SDK7452DbEvtMsg/targetver.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7452/SDK7452DbEvtMsg/targetver.h deleted file mode 100644 index 11730d5..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7452/SDK7452DbEvtMsg/targetver.h +++ /dev/null @@ -1,26 +0,0 @@ - -#pragma once - -// The following macros define the minimum required platform. The minimum required platform -// is the earliest version of Windows, Internet Explorer etc. that has the necessary features to run -// your application. The macros work by enabling all features available on platform versions up to and -// including the version specified. - -// Modify the following defines if you have to target a platform prior to the ones specified below. -// Refer to MSDN for the latest info on corresponding values for different platforms. -#ifndef WINVER // Specifies that the minimum required platform is Windows Vista. -#define WINVER 0x0600 // Change this to the appropriate value to target other versions of Windows. -#endif - -#ifndef _WIN32_WINNT // Specifies that the minimum required platform is Windows Vista. -#define _WIN32_WINNT 0x0600 // Change this to the appropriate value to target other versions of Windows. -#endif - -#ifndef _WIN32_WINDOWS // Specifies that the minimum required platform is Windows 98. -#define _WIN32_WINDOWS 0x0410 // Change this to the appropriate value to target Windows Me or later. -#endif - -#ifndef _WIN32_IE // Specifies that the minimum required platform is Internet Explorer 7.0. -#define _WIN32_IE 0x0700 // Change this to the appropriate value to target other versions of IE. -#endif - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7452/SDK7452int/7230int.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7452/SDK7452int/7230int.suo deleted file mode 100644 index cc096dc..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7452/SDK7452int/7230int.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7452/SDK7452int/7256int.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7452/SDK7452int/7256int.suo deleted file mode 100644 index 494d925..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7452/SDK7452int/7256int.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7452/SDK7452int/7258int.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7452/SDK7452int/7258int.suo deleted file mode 100644 index ea9e48d..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7452/SDK7452int/7258int.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7452/SDK7452int/7432int.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7452/SDK7452int/7432int.suo deleted file mode 100644 index 3b051c5..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7452/SDK7452int/7432int.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7452/SDK7452int/7442int.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7452/SDK7452int/7442int.suo deleted file mode 100644 index 2e37569..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7452/SDK7452int/7442int.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7452/SDK7452int/7452int.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7452/SDK7452int/7452int.cpp deleted file mode 100644 index c1ca221..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7452/SDK7452int/7452int.cpp +++ /dev/null @@ -1,110 +0,0 @@ - -// 7452int.cpp : Defines the class behaviors for the application. -// - -#include "stdafx.h" -#include "7452int.h" -#include "7452intDlg.h" -#include "CardIDDlg.h" - -#ifdef _DEBUG -#define new DEBUG_NEW -#endif - - -// C7452intApp - -BEGIN_MESSAGE_MAP(C7452intApp, CWinAppEx) - ON_COMMAND(ID_HELP, &CWinApp::OnHelp) -END_MESSAGE_MAP() - - -// C7452intApp construction - -C7452intApp::C7452intApp() -{ - // TODO: add construction code here, - // Place all significant initialization in InitInstance -} - - -// The one and only C7452intApp object - -C7452intApp theApp; - - -// C7452intApp initialization - -BOOL C7452intApp::InitInstance() -{ - int nCardID = 0; - I16 hCard; - CString strTemp; - INT_PTR nResponse; - - // InitCommonControlsEx() is required on Windows XP if an application - // manifest specifies use of ComCtl32.dll version 6 or later to enable - // visual styles. Otherwise, any window creation will fail. - INITCOMMONCONTROLSEX InitCtrls; - InitCtrls.dwSize = sizeof(InitCtrls); - // Set this to include all the common control classes you want to use - // in your application. - InitCtrls.dwICC = ICC_WIN95_CLASSES; - InitCommonControlsEx(&InitCtrls); - - CWinAppEx::InitInstance(); - - AfxEnableControlContainer(); - - // Standard initialization - // If you are not using these features and wish to reduce the size - // of your final executable, you should remove from the following - // the specific initialization routines you do not need - // Change the registry key under which our settings are stored - // TODO: You should modify this string to be something appropriate - // such as the name of your company or organization - SetRegistryKey(_T("Local AppWizard-Generated Applications")); - - CCardIDDlg CardDlg( nCardID ); - - nResponse = CardDlg.DoModal(); - if (nResponse == IDOK) - { - nCardID = CardDlg.GetCardID(); - - if ((hCard=Register_Card(PCI_7452, nCardID)) < 0) - { - strTemp.Format( TEXT("Register_Card Error = %d"), hCard); - AfxMessageBox( strTemp ); - } - else - { - C7452intDlg dlg(hCard); - m_pMainWnd = &dlg; - nResponse = dlg.DoModal(); - if (nResponse == IDOK) - { - // TODO: Place code here to handle when the dialog is - // dismissed with OK - } - else if (nResponse == IDCANCEL) - { - // TODO: Place code here to handle when the dialog is - // dismissed with Cancel - } - - if (hCard >= 0) Release_Card(hCard); - } - - } - else if (nResponse == IDCANCEL) - { - // TODO: Place code here to handle when the dialog is - // dismissed with Cancel - } - - - // Since the dialog has been closed, return FALSE so that we exit the - // application, rather than start the application's message pump. - return FALSE; -} diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7452/SDK7452int/7452int.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7452/SDK7452int/7452int.h deleted file mode 100644 index d2ba3f5..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7452/SDK7452int/7452int.h +++ /dev/null @@ -1,32 +0,0 @@ - -// 7452int.h : main header file for the PROJECT_NAME application -// - -#pragma once - -#ifndef __AFXWIN_H__ - #error "include 'stdafx.h' before including this file for PCH" -#endif - -#include "resource.h" // main symbols - - -// C7452intApp: -// See 7452int.cpp for the implementation of this class -// - -class C7452intApp : public CWinAppEx -{ -public: - C7452intApp(); - -// Overrides - public: - virtual BOOL InitInstance(); - -// Implementation - - DECLARE_MESSAGE_MAP() -}; - -extern C7452intApp theApp; \ No newline at end of file diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7452/SDK7452int/7452int.rc b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7452/SDK7452int/7452int.rc deleted file mode 100644 index 72be7a2..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7452/SDK7452int/7452int.rc +++ /dev/null @@ -1,242 +0,0 @@ -// Microsoft Visual C++ generated resource script. -// -#include "resource.h" - -#define APSTUDIO_READONLY_SYMBOLS -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 2 resource. -// -#ifndef APSTUDIO_INVOKED -#include "targetver.h" -#endif -#include "afxres.h" - -///////////////////////////////////////////////////////////////////////////// -#undef APSTUDIO_READONLY_SYMBOLS - -///////////////////////////////////////////////////////////////////////////// -// Chinese (Taiwan) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_CHT) -#ifdef _WIN32 -LANGUAGE LANG_CHINESE, SUBLANG_CHINESE_TRADITIONAL -#pragma code_page(950) -#endif //_WIN32 - -#ifdef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// TEXTINCLUDE -// - -1 TEXTINCLUDE -BEGIN - "resource.h\0" -END - -2 TEXTINCLUDE -BEGIN - "#ifndef APSTUDIO_INVOKED\r\n" - "#include ""targetver.h""\r\n" - "#endif\r\n" - "#include ""afxres.h""\r\n" - "\0" -END - -3 TEXTINCLUDE -BEGIN - "#define _AFX_NO_SPLITTER_RESOURCES\r\n" - "#define _AFX_NO_OLE_RESOURCES\r\n" - "#define _AFX_NO_TRACKER_RESOURCES\r\n" - "#define _AFX_NO_PROPERTY_RESOURCES\r\n" - "\r\n" - "#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)\r\n" - "LANGUAGE 9, 1\r\n" - "#pragma code_page(1252)\r\n" - "#include ""res\\My7452int.rc2"" // non-Microsoft Visual C++ edited resources\r\n" - "#include ""afxres.rc"" // Standard components\r\n" - "#endif\r\n" - "\0" -END - -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// Icon -// - -// Icon with lowest ID value placed first to ensure application icon -// remains consistent on all systems. -IDR_MAINFRAME ICON "res\\7452int.ico" -#endif // Chinese (Taiwan) resources -///////////////////////////////////////////////////////////////////////////// - - -///////////////////////////////////////////////////////////////////////////// -// English (U.S.) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -#ifdef _WIN32 -LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US -#pragma code_page(1252) -#endif //_WIN32 - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog -// - -IDD_ABOUTBOX DIALOGEX 0, 0, 170, 62 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "About 7452int" -FONT 8, "MS Shell Dlg", 0, 0, 0x1 -BEGIN - ICON IDR_MAINFRAME,IDC_STATIC,14,14,21,20 - LTEXT "7452int, Version 1.0",IDC_STATIC,42,14,114,8,SS_NOPREFIX - LTEXT "Copyright (C) 2010",IDC_STATIC,42,26,114,8 - DEFPUSHBUTTON "OK",IDOK,113,41,50,14,WS_GROUP -END - -IDD_MY7452INT_DIALOG DIALOGEX 0, 0, 195, 138 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU -EXSTYLE WS_EX_APPWINDOW -CAPTION "PCI-7452 Interrupt Sample (INT1)" -FONT 8, "MS Shell Dlg", 0, 0, 0x1 -BEGIN - LTEXT "This program shows the number of occurrence of INT1 interrupt. INT1 interrupt is generated by change of state of DI0 bit-0. If you connect DO0 bit-0 to DI0 bit-0, press 'Output' button can generate an interrupt.",IDC_STATIC,25,24,151,42 - LTEXT "INT Count =",IDC_STATIC_05,54,83,85,13 - PUSHBUTTON "Output",IDC_BT_OUTPUT,46,103,84,18 -END - -IDD_CARDID_DIALOG DIALOGEX 0, 0, 163, 88 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "Card ID" -FONT 8, "MS Shell Dlg", 400, 0, 0x1 -BEGIN - COMBOBOX IDC_COMBO_CARDID,73,17,71,126,CBS_DROPDOWN | WS_VSCROLL | WS_TABSTOP - LTEXT "Card Number",IDC_STATIC_01,19,18,46,12 - PUSHBUTTON "OK",IDOK,20,50,58,19 - PUSHBUTTON "CANCEL",IDCANCEL,84,50,58,19 -END - - -///////////////////////////////////////////////////////////////////////////// -// -// Version -// - -VS_VERSION_INFO VERSIONINFO - FILEVERSION 1,0,0,1 - PRODUCTVERSION 1,0,0,1 - FILEFLAGSMASK 0x3fL -#ifdef _DEBUG - FILEFLAGS 0x1L -#else - FILEFLAGS 0x0L -#endif - FILEOS 0x4L - FILETYPE 0x1L - FILESUBTYPE 0x0L -BEGIN - BLOCK "StringFileInfo" - BEGIN - BLOCK "040904e4" - BEGIN - VALUE "CompanyName", "TODO: " - VALUE "FileDescription", "TODO: " - VALUE "FileVersion", "1.0.0.1" - VALUE "InternalName", "7452int.exe" - VALUE "LegalCopyright", "TODO: (c) . All rights reserved." - VALUE "OriginalFilename", "7452int.exe" - VALUE "ProductName", "TODO: " - VALUE "ProductVersion", "1.0.0.1" - END - END - BLOCK "VarFileInfo" - BEGIN - VALUE "Translation", 0x409, 1252 - END -END - - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog Info -// - -IDD_CARDID_DIALOG DLGINIT -BEGIN - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0030, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0031, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0032, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0033, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0034, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0035, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0036, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0037, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0038, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0039, - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3031, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3131, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3231, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3331, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3431, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3531, "\000" - 0 -END - - -///////////////////////////////////////////////////////////////////////////// -// -// String Table -// - -STRINGTABLE -BEGIN - IDS_ABOUTBOX "&About 7452int..." -END - -#endif // English (U.S.) resources -///////////////////////////////////////////////////////////////////////////// - - - -#ifndef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 3 resource. -// -#define _AFX_NO_SPLITTER_RESOURCES -#define _AFX_NO_OLE_RESOURCES -#define _AFX_NO_TRACKER_RESOURCES -#define _AFX_NO_PROPERTY_RESOURCES - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -LANGUAGE 9, 1 -#pragma code_page(1252) -#include "res\My7452int.rc2" // non-Microsoft Visual C++ edited resources -#include "afxres.rc" // Standard components -#endif - -///////////////////////////////////////////////////////////////////////////// -#endif // not APSTUDIO_INVOKED - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7452/SDK7452int/7452int.sln b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7452/SDK7452int/7452int.sln deleted file mode 100644 index 41d8906..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7452/SDK7452int/7452int.sln +++ /dev/null @@ -1,20 +0,0 @@ - -Microsoft Visual Studio Solution File, Format Version 10.00 -# Visual Studio 2008 -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "7452int", "7452int.vcproj", "{7D5D9EC5-ED97-47EE-B6F4-ACCD71069808}" -EndProject -Global - GlobalSection(SolutionConfigurationPlatforms) = preSolution - Debug|x64 = Debug|x64 - Release|x64 = Release|x64 - EndGlobalSection - GlobalSection(ProjectConfigurationPlatforms) = postSolution - {7D5D9EC5-ED97-47EE-B6F4-ACCD71069808}.Debug|x64.ActiveCfg = Debug|x64 - {7D5D9EC5-ED97-47EE-B6F4-ACCD71069808}.Debug|x64.Build.0 = Debug|x64 - {7D5D9EC5-ED97-47EE-B6F4-ACCD71069808}.Release|x64.ActiveCfg = Release|x64 - {7D5D9EC5-ED97-47EE-B6F4-ACCD71069808}.Release|x64.Build.0 = Release|x64 - EndGlobalSection - GlobalSection(SolutionProperties) = preSolution - HideSolutionNode = FALSE - EndGlobalSection -EndGlobal diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7452/SDK7452int/7452int.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7452/SDK7452int/7452int.suo deleted file mode 100644 index ad436a1..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7452/SDK7452int/7452int.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7452/SDK7452int/7452int.vcproj b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7452/SDK7452int/7452int.vcproj deleted file mode 100644 index 5933734..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7452/SDK7452int/7452int.vcproj +++ /dev/null @@ -1,286 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7452/SDK7452int/7452intDlg.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7452/SDK7452int/7452intDlg.cpp deleted file mode 100644 index 889e858..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7452/SDK7452int/7452intDlg.cpp +++ /dev/null @@ -1,242 +0,0 @@ - -// 7452intDlg.cpp : implementation file -// - -#include "stdafx.h" -#include "7452int.h" -#include "7452intDlg.h" - -#ifdef _DEBUG -#define new DEBUG_NEW -#endif - -int gIntCount; -HANDLE ghIntEvent[2]; - -BOOLEAN gbExitThread; - - - -DWORD WINAPI IntThread( LPVOID lpParam ) -{ - - while ( gbExitThread == FALSE ) - { - if ( WaitForSingleObject(ghIntEvent[0], INFINITE) == WAIT_OBJECT_0 ) - { - gIntCount++; - ResetEvent(ghIntEvent[0]); - } - } - - return (DWORD) 0; -} - -// CAboutDlg dialog used for App About - -class CAboutDlg : public CDialog -{ -public: - CAboutDlg(); - -// Dialog Data - enum { IDD = IDD_ABOUTBOX }; - - protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - -// Implementation -protected: - DECLARE_MESSAGE_MAP() -}; - -CAboutDlg::CAboutDlg() : CDialog(CAboutDlg::IDD) -{ -} - -void CAboutDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); -} - -BEGIN_MESSAGE_MAP(CAboutDlg, CDialog) -END_MESSAGE_MAP() - - -// C7452intDlg dialog - - - - -C7452intDlg::C7452intDlg(I16 hCard, CWnd* pParent /*=NULL*/) - : CDialog(C7452intDlg::IDD, pParent) -{ - m_hIcon = AfxGetApp()->LoadIcon(IDR_MAINFRAME); - - m_hCard = hCard; - m_hThread = NULL; - m_nTimer = -1; -} - -void C7452intDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); -} - -BEGIN_MESSAGE_MAP(C7452intDlg, CDialog) - ON_WM_SYSCOMMAND() - ON_WM_PAINT() - ON_WM_QUERYDRAGICON() - //}}AFX_MSG_MAP - ON_WM_DESTROY() - ON_WM_TIMER() - ON_BN_CLICKED(IDC_BT_OUTPUT, &C7452intDlg::OnOutput) -END_MESSAGE_MAP() - - -// C7452intDlg message handlers - -BOOL C7452intDlg::OnInitDialog() -{ - CDialog::OnInitDialog(); - - // Add "About..." menu item to system menu. - - // IDM_ABOUTBOX must be in the system command range. - ASSERT((IDM_ABOUTBOX & 0xFFF0) == IDM_ABOUTBOX); - ASSERT(IDM_ABOUTBOX < 0xF000); - - CMenu* pSysMenu = GetSystemMenu(FALSE); - if (pSysMenu != NULL) - { - BOOL bNameValid; - CString strAboutMenu; - bNameValid = strAboutMenu.LoadString(IDS_ABOUTBOX); - ASSERT(bNameValid); - if (!strAboutMenu.IsEmpty()) - { - pSysMenu->AppendMenu(MF_SEPARATOR); - pSysMenu->AppendMenu(MF_STRING, IDM_ABOUTBOX, strAboutMenu); - } - } - - // Set the icon for this dialog. The framework does this automatically - // when the application's main window is not a dialog - SetIcon(m_hIcon, TRUE); // Set big icon - SetIcon(m_hIcon, FALSE); // Set small icon - - // TODO: Add extra initialization here - I16 err; - - DO_WritePort(m_hCard, P7442_CH0, 0x0); - Sleep(1); - err = DIO_SetCOSInterrupt32(m_hCard, 0, 0x0001, (HANDLE *)&ghIntEvent[0], 1); - - gbExitThread = FALSE; - m_hThread = CreateThread( NULL, // default security attributes - 0, // use default stack size - IntThread, // thread function name - NULL, // argument to thread function - 0, // use default creation flags - NULL); // returns the thread identifier - - m_nTimer = SetTimer( 1, 250, NULL ); - - return TRUE; // return TRUE unless you set the focus to a control -} - -void C7452intDlg::OnSysCommand(UINT nID, LPARAM lParam) -{ - if ((nID & 0xFFF0) == IDM_ABOUTBOX) - { - CAboutDlg dlgAbout; - dlgAbout.DoModal(); - } - else - { - CDialog::OnSysCommand(nID, lParam); - } -} - -// If you add a minimize button to your dialog, you will need the code below -// to draw the icon. For MFC applications using the document/view model, -// this is automatically done for you by the framework. - -void C7452intDlg::OnPaint() -{ - if (IsIconic()) - { - CPaintDC dc(this); // device context for painting - - SendMessage(WM_ICONERASEBKGND, reinterpret_cast(dc.GetSafeHdc()), 0); - - // Center icon in client rectangle - int cxIcon = GetSystemMetrics(SM_CXICON); - int cyIcon = GetSystemMetrics(SM_CYICON); - CRect rect; - GetClientRect(&rect); - int x = (rect.Width() - cxIcon + 1) / 2; - int y = (rect.Height() - cyIcon + 1) / 2; - - // Draw the icon - dc.DrawIcon(x, y, m_hIcon); - } - else - { - CDialog::OnPaint(); - } -} - -// The system calls this function to obtain the cursor to display while the user drags -// the minimized window. -HCURSOR C7452intDlg::OnQueryDragIcon() -{ - return static_cast(m_hIcon); -} - - -void C7452intDlg::OnDestroy() -{ - CDialog::OnDestroy(); - - // TODO: Add your message handler code here - DIO_SetCOSInterrupt32(m_hCard, 0, 0x0000, NULL, 1); - - if( m_nTimer != -1 ) - { - KillTimer( m_nTimer ); - m_nTimer = -1; - } - - - if( m_hThread != NULL ) - { - gbExitThread = TRUE; // termnate the IntThread - SetEvent( ghIntEvent[0] ); - - if (WaitForSingleObject(m_hThread, 5000) == WAIT_OBJECT_0) - { - CloseHandle( m_hThread ); - m_hThread = NULL; - } - } -} - -void C7452intDlg::OnTimer(UINT_PTR nIDEvent) -{ - // TODO: Add your message handler code here and/or call default - CString strTemp; - - strTemp.Format( TEXT("INT Count = %d"), gIntCount ); - SetDlgItemText( IDC_STATIC_05, strTemp ); - - CDialog::OnTimer(nIDEvent); -} - -void C7452intDlg::OnOutput() -{ - // TODO: Add your control notification handler code here - DO_WritePort(m_hCard, 0, 0x1); - Sleep(1); - DO_WritePort(m_hCard, 0, 0x0); -} diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7452/SDK7452int/7452intDlg.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7452/SDK7452int/7452intDlg.h deleted file mode 100644 index a913226..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7452/SDK7452int/7452intDlg.h +++ /dev/null @@ -1,40 +0,0 @@ - -// 7452intDlg.h : header file -// -#include "Dask64.h" - -#pragma once - - -// C7452intDlg dialog -class C7452intDlg : public CDialog -{ -// Construction -public: - C7452intDlg(I16 hCard, CWnd* pParent = NULL); // standard constructor - -// Dialog Data - enum { IDD = IDD_MY7452INT_DIALOG }; - - protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - - -// Implementation -protected: - HICON m_hIcon; - UINT_PTR m_nTimer; - HANDLE m_hThread; - I16 m_hCard; - - // Generated message map functions - virtual BOOL OnInitDialog(); - afx_msg void OnSysCommand(UINT nID, LPARAM lParam); - afx_msg void OnPaint(); - afx_msg HCURSOR OnQueryDragIcon(); - DECLARE_MESSAGE_MAP() -public: - afx_msg void OnDestroy(); - afx_msg void OnTimer(UINT_PTR nIDEvent); - afx_msg void OnOutput(); -}; diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7452/SDK7452int/CardIDDlg.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7452/SDK7452int/CardIDDlg.cpp deleted file mode 100644 index 63040aa..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7452/SDK7452int/CardIDDlg.cpp +++ /dev/null @@ -1,67 +0,0 @@ -// CardIDDlg.cpp : implementation file -// - -#include "stdafx.h" -#include "7452int.h" -#include "CardIDDlg.h" - - -// CCardIDDlg dialog - -IMPLEMENT_DYNAMIC(CCardIDDlg, CDialog) - -CCardIDDlg::CCardIDDlg(int nCardIdx, CWnd* pParent /*=NULL*/) - : CDialog(CCardIDDlg::IDD, pParent) -{ - m_nCardIdx = nCardIdx; -} - -CCardIDDlg::~CCardIDDlg() -{ -} - -void CCardIDDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); - DDX_Control(pDX, IDC_COMBO_CARDID, m_cbCardID); -} - - -BEGIN_MESSAGE_MAP(CCardIDDlg, CDialog) -// ON_CBN_SELCHANGE(IDC_COMBO_CARDID, &CCardIDDlg::OnCbnSelchangeComboCardid) -ON_BN_CLICKED(IDOK, &CCardIDDlg::OnBnClickedOk) -//ON_WM_CTLCOLOR() -END_MESSAGE_MAP() - - -// CCardIDDlg message handlers - - -void CCardIDDlg::OnBnClickedOk() -{ - // TODO: Add your control notification handler code here - -// UpdateData(TRUE); - m_nCardIdx = m_cbCardID.GetCurSel(); - - OnOK(); -} - -BOOL CCardIDDlg::OnInitDialog() -{ - CDialog::OnInitDialog(); - - // TODO: Add extra initialization here - m_cbCardID.SetCurSel( m_nCardIdx ); - - return TRUE; // return TRUE unless you set the focus to a control - // EXCEPTION: OCX Property Pages should return FALSE -} - -// the function to get the selected CardID -int CCardIDDlg::GetCardID(void) -{ - return m_nCardIdx; -} - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7452/SDK7452int/CardIDDlg.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7452/SDK7452int/CardIDDlg.h deleted file mode 100644 index 54628ea..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7452/SDK7452int/CardIDDlg.h +++ /dev/null @@ -1,33 +0,0 @@ -#pragma once -#include "afxwin.h" - - -// CCardIDDlg dialog - -class CCardIDDlg : public CDialog -{ - DECLARE_DYNAMIC(CCardIDDlg) - -public: - CCardIDDlg(int nCardIdx, CWnd* pParent = NULL); // standard constructor - virtual ~CCardIDDlg(); - -// Dialog Data - enum { IDD = IDD_CARDID_DIALOG }; - -protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - - DECLARE_MESSAGE_MAP() -public: -// afx_msg void OnCbnSelchangeComboCardid(); - afx_msg void OnBnClickedOk(); - // the setting of CardID ComboBox - int m_nCardIdx; - virtual BOOL OnInitDialog(); - // the control of CardID ComboBox - CComboBox m_cbCardID; - // the function to get the selected CardID - int GetCardID(void); -// afx_msg HBRUSH OnCtlColor(CDC* pDC, CWnd* pWnd, UINT nCtlColor); -}; diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7452/SDK7452int/ReadMe.txt b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7452/SDK7452int/ReadMe.txt deleted file mode 100644 index eeff670..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7452/SDK7452int/ReadMe.txt +++ /dev/null @@ -1,93 +0,0 @@ -================================================================================ - MICROSOFT FOUNDATION CLASS LIBRARY : 7452int Project Overview -=============================================================================== - -The application wizard has created this 7452int application for -you. This application not only demonstrates the basics of using the Microsoft -Foundation Classes but is also a starting point for writing your application. - -This file contains a summary of what you will find in each of the files that -make up your 7452int application. - -7452int.vcproj - This is the main project file for VC++ projects generated using an application wizard. - It contains information about the version of Visual C++ that generated the file, and - information about the platforms, configurations, and project features selected with the - application wizard. - -7452int.h - This is the main header file for the application. It includes other - project specific headers (including Resource.h) and declares the - C7452intApp application class. - -7452int.cpp - This is the main application source file that contains the application - class C7452intApp. - -7452int.rc - This is a listing of all of the Microsoft Windows resources that the - program uses. It includes the icons, bitmaps, and cursors that are stored - in the RES subdirectory. This file can be directly edited in Microsoft - Visual C++. Your project resources are in 1033. - -res\7452int.ico - This is an icon file, which is used as the application's icon. This - icon is included by the main resource file 7452int.rc. - -res\My7452int.rc2 - This file contains resources that are not edited by Microsoft - Visual C++. You should place all resources not editable by - the resource editor in this file. - - -///////////////////////////////////////////////////////////////////////////// - -The application wizard creates one dialog class: - -7452intDlg.h, 7452intDlg.cpp - the dialog - These files contain your C7452intDlg class. This class defines - the behavior of your application's main dialog. The dialog's template is - in 7452int.rc, which can be edited in Microsoft Visual C++. - - -///////////////////////////////////////////////////////////////////////////// - -Other Features: - -ActiveX Controls - The application includes support to use ActiveX controls. - -///////////////////////////////////////////////////////////////////////////// - -Other standard files: - -StdAfx.h, StdAfx.cpp - These files are used to build a precompiled header (PCH) file - named 7452int.pch and a precompiled types file named StdAfx.obj. - -Resource.h - This is the standard header file, which defines new resource IDs. - Microsoft Visual C++ reads and updates this file. - -7452int.manifest - Application manifest files are used by Windows XP to describe an applications - dependency on specific versions of Side-by-Side assemblies. The loader uses this - information to load the appropriate assembly from the assembly cache or private - from the application. The Application manifest maybe included for redistribution - as an external .manifest file that is installed in the same folder as the application - executable or it may be included in the executable in the form of a resource. -///////////////////////////////////////////////////////////////////////////// - -Other notes: - -The application wizard uses "TODO:" to indicate parts of the source code you -should add to or customize. - -If your application uses MFC in a shared DLL, you will need -to redistribute the MFC DLLs. If your application is in a language -other than the operating system's locale, you will also have to -redistribute the corresponding localized resources MFC90XXX.DLL. -For more information on both of these topics, please see the section on -redistributing Visual C++ applications in MSDN documentation. - -///////////////////////////////////////////////////////////////////////////// diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7452/SDK7452int/res/7452int.ico b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7452/SDK7452int/res/7452int.ico deleted file mode 100644 index d56fbcd..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7452/SDK7452int/res/7452int.ico and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7452/SDK7452int/res/My7452int.rc2 b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7452/SDK7452int/res/My7452int.rc2 deleted file mode 100644 index 7bd3593..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7452/SDK7452int/res/My7452int.rc2 +++ /dev/null @@ -1,13 +0,0 @@ -// -// My7256int.RC2 - resources Microsoft Visual C++ does not edit directly -// - -#ifdef APSTUDIO_INVOKED -#error this file is not editable by Microsoft Visual C++ -#endif //APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// Add manually edited resources here... - -///////////////////////////////////////////////////////////////////////////// diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7452/SDK7452int/resource.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7452/SDK7452int/resource.h deleted file mode 100644 index cd889a1..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7452/SDK7452int/resource.h +++ /dev/null @@ -1,27 +0,0 @@ -//{{NO_DEPENDENCIES}} -// Microsoft Visual C++ generated include file. -// Used by 7452int.rc -// -#define IDM_ABOUTBOX 0x0010 -#define IDD_ABOUTBOX 100 -#define IDS_ABOUTBOX 101 -#define IDD_MY7452INT_DIALOG 102 -#define IDR_MAINFRAME 128 -#define IDD_CARDID_DIALOG 129 -#define IDC_COMBO_CARDID 1000 -#define IDC_BUTTON1 1000 -#define IDC_BT_OUTPUT 1000 -#define IDC_STATIC_05 1007 -#define IDC_STATIC_06 1008 -#define IDC_STATIC_01 1014 - -// Next default values for new objects -// -#ifdef APSTUDIO_INVOKED -#ifndef APSTUDIO_READONLY_SYMBOLS -#define _APS_NEXT_RESOURCE_VALUE 131 -#define _APS_NEXT_COMMAND_VALUE 32771 -#define _APS_NEXT_CONTROL_VALUE 1001 -#define _APS_NEXT_SYMED_VALUE 101 -#endif -#endif diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7452/SDK7452int/stdafx.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7452/SDK7452int/stdafx.cpp deleted file mode 100644 index 77255d9..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7452/SDK7452int/stdafx.cpp +++ /dev/null @@ -1,8 +0,0 @@ - -// stdafx.cpp : source file that includes just the standard includes -// 7452int.pch will be the pre-compiled header -// stdafx.obj will contain the pre-compiled type information - -#include "stdafx.h" - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7452/SDK7452int/stdafx.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7452/SDK7452int/stdafx.h deleted file mode 100644 index 12123e2..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7452/SDK7452int/stdafx.h +++ /dev/null @@ -1,60 +0,0 @@ - -// stdafx.h : include file for standard system include files, -// or project specific include files that are used frequently, -// but are changed infrequently - -#pragma once - -#ifndef _SECURE_ATL -#define _SECURE_ATL 1 -#endif - -#ifndef VC_EXTRALEAN -#define VC_EXTRALEAN // Exclude rarely-used stuff from Windows headers -#endif - -#include "targetver.h" - -#define _ATL_CSTRING_EXPLICIT_CONSTRUCTORS // some CString constructors will be explicit - -// turns off MFC's hiding of some common and often safely ignored warning messages -#define _AFX_ALL_WARNINGS - -#include // MFC core and standard components -#include // MFC extensions - - -#include // MFC Automation classes - - - -#ifndef _AFX_NO_OLE_SUPPORT -#include // MFC support for Internet Explorer 4 Common Controls -#endif -#ifndef _AFX_NO_AFXCMN_SUPPORT -#include // MFC support for Windows Common Controls -#endif // _AFX_NO_AFXCMN_SUPPORT - -#include // MFC support for ribbons and control bars - - - - - - - - - -#ifdef _UNICODE -#if defined _M_IX86 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='x86' publicKeyToken='6595b64144ccf1df' language='*'\"") -#elif defined _M_IA64 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='ia64' publicKeyToken='6595b64144ccf1df' language='*'\"") -#elif defined _M_X64 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='amd64' publicKeyToken='6595b64144ccf1df' language='*'\"") -#else -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='*' publicKeyToken='6595b64144ccf1df' language='*'\"") -#endif -#endif - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7452/SDK7452int/targetver.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7452/SDK7452int/targetver.h deleted file mode 100644 index 11730d5..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7452/SDK7452int/targetver.h +++ /dev/null @@ -1,26 +0,0 @@ - -#pragma once - -// The following macros define the minimum required platform. The minimum required platform -// is the earliest version of Windows, Internet Explorer etc. that has the necessary features to run -// your application. The macros work by enabling all features available on platform versions up to and -// including the version specified. - -// Modify the following defines if you have to target a platform prior to the ones specified below. -// Refer to MSDN for the latest info on corresponding values for different platforms. -#ifndef WINVER // Specifies that the minimum required platform is Windows Vista. -#define WINVER 0x0600 // Change this to the appropriate value to target other versions of Windows. -#endif - -#ifndef _WIN32_WINNT // Specifies that the minimum required platform is Windows Vista. -#define _WIN32_WINNT 0x0600 // Change this to the appropriate value to target other versions of Windows. -#endif - -#ifndef _WIN32_WINDOWS // Specifies that the minimum required platform is Windows 98. -#define _WIN32_WINDOWS 0x0410 // Change this to the appropriate value to target Windows Me or later. -#endif - -#ifndef _WIN32_IE // Specifies that the minimum required platform is Internet Explorer 7.0. -#define _WIN32_IE 0x0700 // Change this to the appropriate value to target other versions of IE. -#endif - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7452/SDK7452intMsg/7230int.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7452/SDK7452intMsg/7230int.suo deleted file mode 100644 index e5f9cb0..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7452/SDK7452intMsg/7230int.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7452/SDK7452intMsg/7256int.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7452/SDK7452intMsg/7256int.suo deleted file mode 100644 index 01299a3..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7452/SDK7452intMsg/7256int.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7452/SDK7452intMsg/7258int.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7452/SDK7452intMsg/7258int.suo deleted file mode 100644 index b00e489..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7452/SDK7452intMsg/7258int.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7452/SDK7452intMsg/7432int.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7452/SDK7452intMsg/7432int.suo deleted file mode 100644 index 4a3e825..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7452/SDK7452intMsg/7432int.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7452/SDK7452intMsg/7442int.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7452/SDK7452intMsg/7442int.suo deleted file mode 100644 index f919746..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7452/SDK7452intMsg/7442int.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7452/SDK7452intMsg/7452int.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7452/SDK7452intMsg/7452int.cpp deleted file mode 100644 index c1ca221..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7452/SDK7452intMsg/7452int.cpp +++ /dev/null @@ -1,110 +0,0 @@ - -// 7452int.cpp : Defines the class behaviors for the application. -// - -#include "stdafx.h" -#include "7452int.h" -#include "7452intDlg.h" -#include "CardIDDlg.h" - -#ifdef _DEBUG -#define new DEBUG_NEW -#endif - - -// C7452intApp - -BEGIN_MESSAGE_MAP(C7452intApp, CWinAppEx) - ON_COMMAND(ID_HELP, &CWinApp::OnHelp) -END_MESSAGE_MAP() - - -// C7452intApp construction - -C7452intApp::C7452intApp() -{ - // TODO: add construction code here, - // Place all significant initialization in InitInstance -} - - -// The one and only C7452intApp object - -C7452intApp theApp; - - -// C7452intApp initialization - -BOOL C7452intApp::InitInstance() -{ - int nCardID = 0; - I16 hCard; - CString strTemp; - INT_PTR nResponse; - - // InitCommonControlsEx() is required on Windows XP if an application - // manifest specifies use of ComCtl32.dll version 6 or later to enable - // visual styles. Otherwise, any window creation will fail. - INITCOMMONCONTROLSEX InitCtrls; - InitCtrls.dwSize = sizeof(InitCtrls); - // Set this to include all the common control classes you want to use - // in your application. - InitCtrls.dwICC = ICC_WIN95_CLASSES; - InitCommonControlsEx(&InitCtrls); - - CWinAppEx::InitInstance(); - - AfxEnableControlContainer(); - - // Standard initialization - // If you are not using these features and wish to reduce the size - // of your final executable, you should remove from the following - // the specific initialization routines you do not need - // Change the registry key under which our settings are stored - // TODO: You should modify this string to be something appropriate - // such as the name of your company or organization - SetRegistryKey(_T("Local AppWizard-Generated Applications")); - - CCardIDDlg CardDlg( nCardID ); - - nResponse = CardDlg.DoModal(); - if (nResponse == IDOK) - { - nCardID = CardDlg.GetCardID(); - - if ((hCard=Register_Card(PCI_7452, nCardID)) < 0) - { - strTemp.Format( TEXT("Register_Card Error = %d"), hCard); - AfxMessageBox( strTemp ); - } - else - { - C7452intDlg dlg(hCard); - m_pMainWnd = &dlg; - nResponse = dlg.DoModal(); - if (nResponse == IDOK) - { - // TODO: Place code here to handle when the dialog is - // dismissed with OK - } - else if (nResponse == IDCANCEL) - { - // TODO: Place code here to handle when the dialog is - // dismissed with Cancel - } - - if (hCard >= 0) Release_Card(hCard); - } - - } - else if (nResponse == IDCANCEL) - { - // TODO: Place code here to handle when the dialog is - // dismissed with Cancel - } - - - // Since the dialog has been closed, return FALSE so that we exit the - // application, rather than start the application's message pump. - return FALSE; -} diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7452/SDK7452intMsg/7452int.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7452/SDK7452intMsg/7452int.h deleted file mode 100644 index d2ba3f5..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7452/SDK7452intMsg/7452int.h +++ /dev/null @@ -1,32 +0,0 @@ - -// 7452int.h : main header file for the PROJECT_NAME application -// - -#pragma once - -#ifndef __AFXWIN_H__ - #error "include 'stdafx.h' before including this file for PCH" -#endif - -#include "resource.h" // main symbols - - -// C7452intApp: -// See 7452int.cpp for the implementation of this class -// - -class C7452intApp : public CWinAppEx -{ -public: - C7452intApp(); - -// Overrides - public: - virtual BOOL InitInstance(); - -// Implementation - - DECLARE_MESSAGE_MAP() -}; - -extern C7452intApp theApp; \ No newline at end of file diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7452/SDK7452intMsg/7452int.rc b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7452/SDK7452intMsg/7452int.rc deleted file mode 100644 index fdd4131..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7452/SDK7452intMsg/7452int.rc +++ /dev/null @@ -1,269 +0,0 @@ -// Microsoft Visual C++ generated resource script. -// -#include "resource.h" - -#define APSTUDIO_READONLY_SYMBOLS -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 2 resource. -// -#ifndef APSTUDIO_INVOKED -#include "targetver.h" -#endif -#include "afxres.h" - -///////////////////////////////////////////////////////////////////////////// -#undef APSTUDIO_READONLY_SYMBOLS - -///////////////////////////////////////////////////////////////////////////// -// Chinese (Taiwan) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_CHT) -#ifdef _WIN32 -LANGUAGE LANG_CHINESE, SUBLANG_CHINESE_TRADITIONAL -#pragma code_page(950) -#endif //_WIN32 - -#ifdef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// TEXTINCLUDE -// - -1 TEXTINCLUDE -BEGIN - "resource.h\0" -END - -2 TEXTINCLUDE -BEGIN - "#ifndef APSTUDIO_INVOKED\r\n" - "#include ""targetver.h""\r\n" - "#endif\r\n" - "#include ""afxres.h""\r\n" - "\0" -END - -3 TEXTINCLUDE -BEGIN - "#define _AFX_NO_SPLITTER_RESOURCES\r\n" - "#define _AFX_NO_OLE_RESOURCES\r\n" - "#define _AFX_NO_TRACKER_RESOURCES\r\n" - "#define _AFX_NO_PROPERTY_RESOURCES\r\n" - "\r\n" - "#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)\r\n" - "LANGUAGE 9, 1\r\n" - "#pragma code_page(1252)\r\n" - "#include ""res\\My7452int.rc2"" // non-Microsoft Visual C++ edited resources\r\n" - "#include ""afxres.rc"" // Standard components\r\n" - "#endif\r\n" - "\0" -END - -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// Icon -// - -// Icon with lowest ID value placed first to ensure application icon -// remains consistent on all systems. -IDR_MAINFRAME ICON "res\\7452int.ico" -#endif // Chinese (Taiwan) resources -///////////////////////////////////////////////////////////////////////////// - - -///////////////////////////////////////////////////////////////////////////// -// English (U.S.) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -#ifdef _WIN32 -LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US -#pragma code_page(1252) -#endif //_WIN32 - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog -// - -IDD_ABOUTBOX DIALOGEX 0, 0, 170, 62 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "About 7452int" -FONT 8, "MS Shell Dlg", 0, 0, 0x1 -BEGIN - ICON IDR_MAINFRAME,IDC_STATIC,14,14,21,20 - LTEXT "7452int, Version 1.0",IDC_STATIC,42,14,114,8,SS_NOPREFIX - LTEXT "Copyright (C) 2010",IDC_STATIC,42,26,114,8 - DEFPUSHBUTTON "OK",IDOK,113,41,50,14,WS_GROUP -END - -IDD_MY7452INT_DIALOG DIALOGEX 0, 0, 195, 126 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU -EXSTYLE WS_EX_APPWINDOW -CAPTION "PCI-7452 Interrupt Sample (INT1)" -FONT 8, "MS Shell Dlg", 0, 0, 0x1 -BEGIN - LTEXT "This program shows the number of occurrence of INT1 interrupt. INT1 interrupt is generated by change of state of DI0 bit-0. If you connect DO0 bit-0 to DI0 bit-0, press 'Output' button can generate an interrupt.",IDC_STATIC,22,12,151,42 - LTEXT "INT1 Count =",IDC_STATIC_05,54,65,85,13 - PUSHBUTTON "Output",IDC_BT_OUTPUT,49,89,84,18 -END - -IDD_CARDID_DIALOG DIALOGEX 0, 0, 163, 88 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "Card ID" -FONT 8, "MS Shell Dlg", 400, 0, 0x1 -BEGIN - COMBOBOX IDC_COMBO_CARDID,73,17,71,126,CBS_DROPDOWN | WS_VSCROLL | WS_TABSTOP - LTEXT "Card Number",IDC_STATIC_01,19,18,46,12 - PUSHBUTTON "OK",IDOK,20,50,58,19 - PUSHBUTTON "CANCEL",IDCANCEL,84,50,58,19 -END - - -///////////////////////////////////////////////////////////////////////////// -// -// Version -// - -VS_VERSION_INFO VERSIONINFO - FILEVERSION 1,0,0,1 - PRODUCTVERSION 1,0,0,1 - FILEFLAGSMASK 0x3fL -#ifdef _DEBUG - FILEFLAGS 0x1L -#else - FILEFLAGS 0x0L -#endif - FILEOS 0x4L - FILETYPE 0x1L - FILESUBTYPE 0x0L -BEGIN - BLOCK "StringFileInfo" - BEGIN - BLOCK "040904e4" - BEGIN - VALUE "CompanyName", "TODO: " - VALUE "FileDescription", "TODO: " - VALUE "FileVersion", "1.0.0.1" - VALUE "InternalName", "7452int.exe" - VALUE "LegalCopyright", "TODO: (c) . All rights reserved." - VALUE "OriginalFilename", "7452int.exe" - VALUE "ProductName", "TODO: " - VALUE "ProductVersion", "1.0.0.1" - END - END - BLOCK "VarFileInfo" - BEGIN - VALUE "Translation", 0x409, 1252 - END -END - - -///////////////////////////////////////////////////////////////////////////// -// -// DESIGNINFO -// - -#ifdef APSTUDIO_INVOKED -GUIDELINES DESIGNINFO -BEGIN - IDD_ABOUTBOX, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 163 - TOPMARGIN, 7 - BOTTOMMARGIN, 55 - END - - IDD_CARDID_DIALOG, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 156 - TOPMARGIN, 7 - BOTTOMMARGIN, 81 - END -END -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog Info -// - -IDD_CARDID_DIALOG DLGINIT -BEGIN - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0030, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0031, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0032, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0033, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0034, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0035, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0036, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0037, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0038, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0039, - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3031, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3131, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3231, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3331, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3431, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3531, "\000" - 0 -END - - -///////////////////////////////////////////////////////////////////////////// -// -// String Table -// - -STRINGTABLE -BEGIN - IDS_ABOUTBOX "&About 7452int..." -END - -#endif // English (U.S.) resources -///////////////////////////////////////////////////////////////////////////// - - - -#ifndef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 3 resource. -// -#define _AFX_NO_SPLITTER_RESOURCES -#define _AFX_NO_OLE_RESOURCES -#define _AFX_NO_TRACKER_RESOURCES -#define _AFX_NO_PROPERTY_RESOURCES - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -LANGUAGE 9, 1 -#pragma code_page(1252) -#include "res\My7452int.rc2" // non-Microsoft Visual C++ edited resources -#include "afxres.rc" // Standard components -#endif - -///////////////////////////////////////////////////////////////////////////// -#endif // not APSTUDIO_INVOKED - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7452/SDK7452intMsg/7452int.sln b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7452/SDK7452intMsg/7452int.sln deleted file mode 100644 index 41d8906..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7452/SDK7452intMsg/7452int.sln +++ /dev/null @@ -1,20 +0,0 @@ - -Microsoft Visual Studio Solution File, Format Version 10.00 -# Visual Studio 2008 -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "7452int", "7452int.vcproj", "{7D5D9EC5-ED97-47EE-B6F4-ACCD71069808}" -EndProject -Global - GlobalSection(SolutionConfigurationPlatforms) = preSolution - Debug|x64 = Debug|x64 - Release|x64 = Release|x64 - EndGlobalSection - GlobalSection(ProjectConfigurationPlatforms) = postSolution - {7D5D9EC5-ED97-47EE-B6F4-ACCD71069808}.Debug|x64.ActiveCfg = Debug|x64 - {7D5D9EC5-ED97-47EE-B6F4-ACCD71069808}.Debug|x64.Build.0 = Debug|x64 - {7D5D9EC5-ED97-47EE-B6F4-ACCD71069808}.Release|x64.ActiveCfg = Release|x64 - {7D5D9EC5-ED97-47EE-B6F4-ACCD71069808}.Release|x64.Build.0 = Release|x64 - EndGlobalSection - GlobalSection(SolutionProperties) = preSolution - HideSolutionNode = FALSE - EndGlobalSection -EndGlobal diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7452/SDK7452intMsg/7452int.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7452/SDK7452intMsg/7452int.suo deleted file mode 100644 index 5b4570c..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7452/SDK7452intMsg/7452int.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7452/SDK7452intMsg/7452int.vcproj b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7452/SDK7452intMsg/7452int.vcproj deleted file mode 100644 index 5933734..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7452/SDK7452intMsg/7452int.vcproj +++ /dev/null @@ -1,286 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7452/SDK7452intMsg/7452intDlg.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7452/SDK7452intMsg/7452intDlg.cpp deleted file mode 100644 index c8f67b2..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7452/SDK7452intMsg/7452intDlg.cpp +++ /dev/null @@ -1,196 +0,0 @@ - -// 7452intDlg.cpp : implementation file -// - -#include "stdafx.h" -#include "7452int.h" -#include "7452intDlg.h" - -#ifdef _DEBUG -#define new DEBUG_NEW -#endif - - -#define COS_INTERRUPT_MESSAGE _T("COS_INT") -UINT WM_INT = ::RegisterWindowMessage(COS_INTERRUPT_MESSAGE); - -// CAboutDlg dialog used for App About - -class CAboutDlg : public CDialog -{ -public: - CAboutDlg(); - -// Dialog Data - enum { IDD = IDD_ABOUTBOX }; - - protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - -// Implementation -protected: - DECLARE_MESSAGE_MAP() -}; - -CAboutDlg::CAboutDlg() : CDialog(CAboutDlg::IDD) -{ -} - -void CAboutDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); -} - -BEGIN_MESSAGE_MAP(CAboutDlg, CDialog) -END_MESSAGE_MAP() - - -// C7452intDlg dialog - - - - -C7452intDlg::C7452intDlg(I16 hCard, CWnd* pParent /*=NULL*/) - : CDialog(C7452intDlg::IDD, pParent) -{ - m_hIcon = AfxGetApp()->LoadIcon(IDR_MAINFRAME); - - m_hCard = hCard; - m_IntCount = 0; -} - -void C7452intDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); -} - -BEGIN_MESSAGE_MAP(C7452intDlg, CDialog) - ON_WM_SYSCOMMAND() - ON_WM_PAINT() - ON_WM_QUERYDRAGICON() - ON_REGISTERED_MESSAGE(WM_INT, OnExtSIGInterrupt) - //}}AFX_MSG_MAP - ON_WM_DESTROY() - ON_BN_CLICKED(IDC_BT_OUTPUT, &C7452intDlg::OnOutput) -END_MESSAGE_MAP() - - -// C7452intDlg message handlers - -BOOL C7452intDlg::OnInitDialog() -{ - CDialog::OnInitDialog(); - - // Add "About..." menu item to system menu. - - // IDM_ABOUTBOX must be in the system command range. - ASSERT((IDM_ABOUTBOX & 0xFFF0) == IDM_ABOUTBOX); - ASSERT(IDM_ABOUTBOX < 0xF000); - - CMenu* pSysMenu = GetSystemMenu(FALSE); - if (pSysMenu != NULL) - { - BOOL bNameValid; - CString strAboutMenu; - bNameValid = strAboutMenu.LoadString(IDS_ABOUTBOX); - ASSERT(bNameValid); - if (!strAboutMenu.IsEmpty()) - { - pSysMenu->AppendMenu(MF_SEPARATOR); - pSysMenu->AppendMenu(MF_STRING, IDM_ABOUTBOX, strAboutMenu); - } - } - - // Set the icon for this dialog. The framework does this automatically - // when the application's main window is not a dialog - SetIcon(m_hIcon, TRUE); // Set big icon - SetIcon(m_hIcon, FALSE); // Set small icon - - // TODO: Add extra initialization here - DIO_INT1_EventMessage (m_hCard, INT1_COS0, this->m_hWnd, WM_INT, NULL); - DIO_SetCOSInterrupt32(m_hCard, 0, 0x0001, &m_hIntEvent[0], 0); - - return TRUE; // return TRUE unless you set the focus to a control -} - -void C7452intDlg::OnSysCommand(UINT nID, LPARAM lParam) -{ - if ((nID & 0xFFF0) == IDM_ABOUTBOX) - { - CAboutDlg dlgAbout; - dlgAbout.DoModal(); - } - else - { - CDialog::OnSysCommand(nID, lParam); - } -} - -// If you add a minimize button to your dialog, you will need the code below -// to draw the icon. For MFC applications using the document/view model, -// this is automatically done for you by the framework. - -void C7452intDlg::OnPaint() -{ - if (IsIconic()) - { - CPaintDC dc(this); // device context for painting - - SendMessage(WM_ICONERASEBKGND, reinterpret_cast(dc.GetSafeHdc()), 0); - - // Center icon in client rectangle - int cxIcon = GetSystemMetrics(SM_CXICON); - int cyIcon = GetSystemMetrics(SM_CYICON); - CRect rect; - GetClientRect(&rect); - int x = (rect.Width() - cxIcon + 1) / 2; - int y = (rect.Height() - cyIcon + 1) / 2; - - // Draw the icon - dc.DrawIcon(x, y, m_hIcon); - } - else - { - CDialog::OnPaint(); - } -} - -// The system calls this function to obtain the cursor to display while the user drags -// the minimized window. -HCURSOR C7452intDlg::OnQueryDragIcon() -{ - return static_cast(m_hIcon); -} - - -void C7452intDlg::OnDestroy() -{ - CDialog::OnDestroy(); - - // TODO: Add your message handler code here - DIO_INT1_EventMessage(m_hCard, INT1_DISABLE, this->m_hWnd, NULL, NULL); - DIO_SetCOSInterrupt32(m_hCard, 0, 0x0000, NULL, 0); - -} - - -void C7452intDlg::OnOutput() -{ - // TODO: Add your control notification handler code here - DO_WritePort(m_hCard, 0, 0x1); - Sleep(1); - DO_WritePort(m_hCard, 0, 0x0); -} - -LRESULT C7452intDlg::OnExtSIGInterrupt(WPARAM wParam, LPARAM lParam) -{ - // do something useful - CString strTemp; - - m_IntCount ++; - - strTemp.Format( TEXT("INT1 Count = %d"), m_IntCount ); - SetDlgItemText( IDC_STATIC_05, strTemp ); - - return (LRESULT) 0; -} diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7452/SDK7452intMsg/7452intDlg.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7452/SDK7452intMsg/7452intDlg.h deleted file mode 100644 index afd10c0..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7452/SDK7452intMsg/7452intDlg.h +++ /dev/null @@ -1,40 +0,0 @@ - -// 7452intDlg.h : header file -// -#include "Dask64.h" - -#pragma once - - -// C7452intDlg dialog -class C7452intDlg : public CDialog -{ -// Construction -public: - C7452intDlg(I16 hCard, CWnd* pParent = NULL); // standard constructor - -// Dialog Data - enum { IDD = IDD_MY7452INT_DIALOG }; - - protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - - -// Implementation -protected: - HICON m_hIcon; - I16 m_hCard; - int m_IntCount; - HANDLE m_hIntEvent[2]; - - // Generated message map functions - virtual BOOL OnInitDialog(); - afx_msg void OnSysCommand(UINT nID, LPARAM lParam); - afx_msg void OnPaint(); - afx_msg HCURSOR OnQueryDragIcon(); - afx_msg LRESULT OnExtSIGInterrupt(WPARAM wParam, LPARAM lParam); - DECLARE_MESSAGE_MAP() -public: - afx_msg void OnDestroy(); - afx_msg void OnOutput(); -}; diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7452/SDK7452intMsg/CardIDDlg.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7452/SDK7452intMsg/CardIDDlg.cpp deleted file mode 100644 index 63040aa..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7452/SDK7452intMsg/CardIDDlg.cpp +++ /dev/null @@ -1,67 +0,0 @@ -// CardIDDlg.cpp : implementation file -// - -#include "stdafx.h" -#include "7452int.h" -#include "CardIDDlg.h" - - -// CCardIDDlg dialog - -IMPLEMENT_DYNAMIC(CCardIDDlg, CDialog) - -CCardIDDlg::CCardIDDlg(int nCardIdx, CWnd* pParent /*=NULL*/) - : CDialog(CCardIDDlg::IDD, pParent) -{ - m_nCardIdx = nCardIdx; -} - -CCardIDDlg::~CCardIDDlg() -{ -} - -void CCardIDDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); - DDX_Control(pDX, IDC_COMBO_CARDID, m_cbCardID); -} - - -BEGIN_MESSAGE_MAP(CCardIDDlg, CDialog) -// ON_CBN_SELCHANGE(IDC_COMBO_CARDID, &CCardIDDlg::OnCbnSelchangeComboCardid) -ON_BN_CLICKED(IDOK, &CCardIDDlg::OnBnClickedOk) -//ON_WM_CTLCOLOR() -END_MESSAGE_MAP() - - -// CCardIDDlg message handlers - - -void CCardIDDlg::OnBnClickedOk() -{ - // TODO: Add your control notification handler code here - -// UpdateData(TRUE); - m_nCardIdx = m_cbCardID.GetCurSel(); - - OnOK(); -} - -BOOL CCardIDDlg::OnInitDialog() -{ - CDialog::OnInitDialog(); - - // TODO: Add extra initialization here - m_cbCardID.SetCurSel( m_nCardIdx ); - - return TRUE; // return TRUE unless you set the focus to a control - // EXCEPTION: OCX Property Pages should return FALSE -} - -// the function to get the selected CardID -int CCardIDDlg::GetCardID(void) -{ - return m_nCardIdx; -} - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7452/SDK7452intMsg/CardIDDlg.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7452/SDK7452intMsg/CardIDDlg.h deleted file mode 100644 index 54628ea..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7452/SDK7452intMsg/CardIDDlg.h +++ /dev/null @@ -1,33 +0,0 @@ -#pragma once -#include "afxwin.h" - - -// CCardIDDlg dialog - -class CCardIDDlg : public CDialog -{ - DECLARE_DYNAMIC(CCardIDDlg) - -public: - CCardIDDlg(int nCardIdx, CWnd* pParent = NULL); // standard constructor - virtual ~CCardIDDlg(); - -// Dialog Data - enum { IDD = IDD_CARDID_DIALOG }; - -protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - - DECLARE_MESSAGE_MAP() -public: -// afx_msg void OnCbnSelchangeComboCardid(); - afx_msg void OnBnClickedOk(); - // the setting of CardID ComboBox - int m_nCardIdx; - virtual BOOL OnInitDialog(); - // the control of CardID ComboBox - CComboBox m_cbCardID; - // the function to get the selected CardID - int GetCardID(void); -// afx_msg HBRUSH OnCtlColor(CDC* pDC, CWnd* pWnd, UINT nCtlColor); -}; diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7452/SDK7452intMsg/ReadMe.txt b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7452/SDK7452intMsg/ReadMe.txt deleted file mode 100644 index eeff670..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7452/SDK7452intMsg/ReadMe.txt +++ /dev/null @@ -1,93 +0,0 @@ -================================================================================ - MICROSOFT FOUNDATION CLASS LIBRARY : 7452int Project Overview -=============================================================================== - -The application wizard has created this 7452int application for -you. This application not only demonstrates the basics of using the Microsoft -Foundation Classes but is also a starting point for writing your application. - -This file contains a summary of what you will find in each of the files that -make up your 7452int application. - -7452int.vcproj - This is the main project file for VC++ projects generated using an application wizard. - It contains information about the version of Visual C++ that generated the file, and - information about the platforms, configurations, and project features selected with the - application wizard. - -7452int.h - This is the main header file for the application. It includes other - project specific headers (including Resource.h) and declares the - C7452intApp application class. - -7452int.cpp - This is the main application source file that contains the application - class C7452intApp. - -7452int.rc - This is a listing of all of the Microsoft Windows resources that the - program uses. It includes the icons, bitmaps, and cursors that are stored - in the RES subdirectory. This file can be directly edited in Microsoft - Visual C++. Your project resources are in 1033. - -res\7452int.ico - This is an icon file, which is used as the application's icon. This - icon is included by the main resource file 7452int.rc. - -res\My7452int.rc2 - This file contains resources that are not edited by Microsoft - Visual C++. You should place all resources not editable by - the resource editor in this file. - - -///////////////////////////////////////////////////////////////////////////// - -The application wizard creates one dialog class: - -7452intDlg.h, 7452intDlg.cpp - the dialog - These files contain your C7452intDlg class. This class defines - the behavior of your application's main dialog. The dialog's template is - in 7452int.rc, which can be edited in Microsoft Visual C++. - - -///////////////////////////////////////////////////////////////////////////// - -Other Features: - -ActiveX Controls - The application includes support to use ActiveX controls. - -///////////////////////////////////////////////////////////////////////////// - -Other standard files: - -StdAfx.h, StdAfx.cpp - These files are used to build a precompiled header (PCH) file - named 7452int.pch and a precompiled types file named StdAfx.obj. - -Resource.h - This is the standard header file, which defines new resource IDs. - Microsoft Visual C++ reads and updates this file. - -7452int.manifest - Application manifest files are used by Windows XP to describe an applications - dependency on specific versions of Side-by-Side assemblies. The loader uses this - information to load the appropriate assembly from the assembly cache or private - from the application. The Application manifest maybe included for redistribution - as an external .manifest file that is installed in the same folder as the application - executable or it may be included in the executable in the form of a resource. -///////////////////////////////////////////////////////////////////////////// - -Other notes: - -The application wizard uses "TODO:" to indicate parts of the source code you -should add to or customize. - -If your application uses MFC in a shared DLL, you will need -to redistribute the MFC DLLs. If your application is in a language -other than the operating system's locale, you will also have to -redistribute the corresponding localized resources MFC90XXX.DLL. -For more information on both of these topics, please see the section on -redistributing Visual C++ applications in MSDN documentation. - -///////////////////////////////////////////////////////////////////////////// diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7452/SDK7452intMsg/res/7452int.ico b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7452/SDK7452intMsg/res/7452int.ico deleted file mode 100644 index d56fbcd..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7452/SDK7452intMsg/res/7452int.ico and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7452/SDK7452intMsg/res/My7452int.rc2 b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7452/SDK7452intMsg/res/My7452int.rc2 deleted file mode 100644 index 7bd3593..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7452/SDK7452intMsg/res/My7452int.rc2 +++ /dev/null @@ -1,13 +0,0 @@ -// -// My7256int.RC2 - resources Microsoft Visual C++ does not edit directly -// - -#ifdef APSTUDIO_INVOKED -#error this file is not editable by Microsoft Visual C++ -#endif //APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// Add manually edited resources here... - -///////////////////////////////////////////////////////////////////////////// diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7452/SDK7452intMsg/resource.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7452/SDK7452intMsg/resource.h deleted file mode 100644 index cd889a1..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7452/SDK7452intMsg/resource.h +++ /dev/null @@ -1,27 +0,0 @@ -//{{NO_DEPENDENCIES}} -// Microsoft Visual C++ generated include file. -// Used by 7452int.rc -// -#define IDM_ABOUTBOX 0x0010 -#define IDD_ABOUTBOX 100 -#define IDS_ABOUTBOX 101 -#define IDD_MY7452INT_DIALOG 102 -#define IDR_MAINFRAME 128 -#define IDD_CARDID_DIALOG 129 -#define IDC_COMBO_CARDID 1000 -#define IDC_BUTTON1 1000 -#define IDC_BT_OUTPUT 1000 -#define IDC_STATIC_05 1007 -#define IDC_STATIC_06 1008 -#define IDC_STATIC_01 1014 - -// Next default values for new objects -// -#ifdef APSTUDIO_INVOKED -#ifndef APSTUDIO_READONLY_SYMBOLS -#define _APS_NEXT_RESOURCE_VALUE 131 -#define _APS_NEXT_COMMAND_VALUE 32771 -#define _APS_NEXT_CONTROL_VALUE 1001 -#define _APS_NEXT_SYMED_VALUE 101 -#endif -#endif diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7452/SDK7452intMsg/stdafx.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7452/SDK7452intMsg/stdafx.cpp deleted file mode 100644 index 77255d9..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7452/SDK7452intMsg/stdafx.cpp +++ /dev/null @@ -1,8 +0,0 @@ - -// stdafx.cpp : source file that includes just the standard includes -// 7452int.pch will be the pre-compiled header -// stdafx.obj will contain the pre-compiled type information - -#include "stdafx.h" - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7452/SDK7452intMsg/stdafx.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7452/SDK7452intMsg/stdafx.h deleted file mode 100644 index 12123e2..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7452/SDK7452intMsg/stdafx.h +++ /dev/null @@ -1,60 +0,0 @@ - -// stdafx.h : include file for standard system include files, -// or project specific include files that are used frequently, -// but are changed infrequently - -#pragma once - -#ifndef _SECURE_ATL -#define _SECURE_ATL 1 -#endif - -#ifndef VC_EXTRALEAN -#define VC_EXTRALEAN // Exclude rarely-used stuff from Windows headers -#endif - -#include "targetver.h" - -#define _ATL_CSTRING_EXPLICIT_CONSTRUCTORS // some CString constructors will be explicit - -// turns off MFC's hiding of some common and often safely ignored warning messages -#define _AFX_ALL_WARNINGS - -#include // MFC core and standard components -#include // MFC extensions - - -#include // MFC Automation classes - - - -#ifndef _AFX_NO_OLE_SUPPORT -#include // MFC support for Internet Explorer 4 Common Controls -#endif -#ifndef _AFX_NO_AFXCMN_SUPPORT -#include // MFC support for Windows Common Controls -#endif // _AFX_NO_AFXCMN_SUPPORT - -#include // MFC support for ribbons and control bars - - - - - - - - - -#ifdef _UNICODE -#if defined _M_IX86 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='x86' publicKeyToken='6595b64144ccf1df' language='*'\"") -#elif defined _M_IA64 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='ia64' publicKeyToken='6595b64144ccf1df' language='*'\"") -#elif defined _M_X64 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='amd64' publicKeyToken='6595b64144ccf1df' language='*'\"") -#else -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='*' publicKeyToken='6595b64144ccf1df' language='*'\"") -#endif -#endif - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7452/SDK7452intMsg/targetver.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7452/SDK7452intMsg/targetver.h deleted file mode 100644 index 11730d5..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7452/SDK7452intMsg/targetver.h +++ /dev/null @@ -1,26 +0,0 @@ - -#pragma once - -// The following macros define the minimum required platform. The minimum required platform -// is the earliest version of Windows, Internet Explorer etc. that has the necessary features to run -// your application. The macros work by enabling all features available on platform versions up to and -// including the version specified. - -// Modify the following defines if you have to target a platform prior to the ones specified below. -// Refer to MSDN for the latest info on corresponding values for different platforms. -#ifndef WINVER // Specifies that the minimum required platform is Windows Vista. -#define WINVER 0x0600 // Change this to the appropriate value to target other versions of Windows. -#endif - -#ifndef _WIN32_WINNT // Specifies that the minimum required platform is Windows Vista. -#define _WIN32_WINNT 0x0600 // Change this to the appropriate value to target other versions of Windows. -#endif - -#ifndef _WIN32_WINDOWS // Specifies that the minimum required platform is Windows 98. -#define _WIN32_WINDOWS 0x0410 // Change this to the appropriate value to target Windows Me or later. -#endif - -#ifndef _WIN32_IE // Specifies that the minimum required platform is Internet Explorer 7.0. -#define _WIN32_IE 0x0700 // Change this to the appropriate value to target other versions of IE. -#endif - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7452/Sdk7452/CardIDDlg.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7452/Sdk7452/CardIDDlg.cpp deleted file mode 100644 index 4033e45..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7452/Sdk7452/CardIDDlg.cpp +++ /dev/null @@ -1,67 +0,0 @@ -// CardIDDlg.cpp : implementation file -// - -#include "stdafx.h" -#include "Util7452.h" -#include "CardIDDlg.h" - - -// CCardIDDlg dialog - -IMPLEMENT_DYNAMIC(CCardIDDlg, CDialog) - -CCardIDDlg::CCardIDDlg(int nCardIdx, CWnd* pParent /*=NULL*/) - : CDialog(CCardIDDlg::IDD, pParent) -{ - m_nCardIdx = nCardIdx; -} - -CCardIDDlg::~CCardIDDlg() -{ -} - -void CCardIDDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); - DDX_Control(pDX, IDC_COMBO_CARDID, m_cbCardID); -} - - -BEGIN_MESSAGE_MAP(CCardIDDlg, CDialog) -// ON_CBN_SELCHANGE(IDC_COMBO_CARDID, &CCardIDDlg::OnCbnSelchangeComboCardid) -ON_BN_CLICKED(IDOK, &CCardIDDlg::OnBnClickedOk) -//ON_WM_CTLCOLOR() -END_MESSAGE_MAP() - - -// CCardIDDlg message handlers - - -void CCardIDDlg::OnBnClickedOk() -{ - // TODO: Add your control notification handler code here - -// UpdateData(TRUE); - m_nCardIdx = m_cbCardID.GetCurSel(); - - OnOK(); -} - -BOOL CCardIDDlg::OnInitDialog() -{ - CDialog::OnInitDialog(); - - // TODO: Add extra initialization here - m_cbCardID.SetCurSel( m_nCardIdx ); - - return TRUE; // return TRUE unless you set the focus to a control - // EXCEPTION: OCX Property Pages should return FALSE -} - -// the function to get the selected CardID -int CCardIDDlg::GetCardID(void) -{ - return m_nCardIdx; -} - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7452/Sdk7452/CardIDDlg.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7452/Sdk7452/CardIDDlg.h deleted file mode 100644 index 54628ea..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7452/Sdk7452/CardIDDlg.h +++ /dev/null @@ -1,33 +0,0 @@ -#pragma once -#include "afxwin.h" - - -// CCardIDDlg dialog - -class CCardIDDlg : public CDialog -{ - DECLARE_DYNAMIC(CCardIDDlg) - -public: - CCardIDDlg(int nCardIdx, CWnd* pParent = NULL); // standard constructor - virtual ~CCardIDDlg(); - -// Dialog Data - enum { IDD = IDD_CARDID_DIALOG }; - -protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - - DECLARE_MESSAGE_MAP() -public: -// afx_msg void OnCbnSelchangeComboCardid(); - afx_msg void OnBnClickedOk(); - // the setting of CardID ComboBox - int m_nCardIdx; - virtual BOOL OnInitDialog(); - // the control of CardID ComboBox - CComboBox m_cbCardID; - // the function to get the selected CardID - int GetCardID(void); -// afx_msg HBRUSH OnCtlColor(CDC* pDC, CWnd* pWnd, UINT nCtlColor); -}; diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7452/Sdk7452/ReadMe.txt b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7452/Sdk7452/ReadMe.txt deleted file mode 100644 index a5434ee..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7452/Sdk7452/ReadMe.txt +++ /dev/null @@ -1,93 +0,0 @@ -================================================================================ - MICROSOFT FOUNDATION CLASS LIBRARY : Util7452 Project Overview -=============================================================================== - -The application wizard has created this Util7452 application for -you. This application not only demonstrates the basics of using the Microsoft -Foundation Classes but is also a starting point for writing your application. - -This file contains a summary of what you will find in each of the files that -make up your Util7452 application. - -Util7452.vcproj - This is the main project file for VC++ projects generated using an application wizard. - It contains information about the version of Visual C++ that generated the file, and - information about the platforms, configurations, and project features selected with the - application wizard. - -Util7452.h - This is the main header file for the application. It includes other - project specific headers (including Resource.h) and declares the - CUtil7452App application class. - -Util7452.cpp - This is the main application source file that contains the application - class CUtil7452App. - -Util7452.rc - This is a listing of all of the Microsoft Windows resources that the - program uses. It includes the icons, bitmaps, and cursors that are stored - in the RES subdirectory. This file can be directly edited in Microsoft - Visual C++. Your project resources are in 1033. - -res\Util7452.ico - This is an icon file, which is used as the application's icon. This - icon is included by the main resource file Util7452.rc. - -res\Util7452.rc2 - This file contains resources that are not edited by Microsoft - Visual C++. You should place all resources not editable by - the resource editor in this file. - - -///////////////////////////////////////////////////////////////////////////// - -The application wizard creates one dialog class: - -Util7452Dlg.h, Util7452Dlg.cpp - the dialog - These files contain your CUtil7452Dlg class. This class defines - the behavior of your application's main dialog. The dialog's template is - in Util7452.rc, which can be edited in Microsoft Visual C++. - - -///////////////////////////////////////////////////////////////////////////// - -Other Features: - -ActiveX Controls - The application includes support to use ActiveX controls. - -///////////////////////////////////////////////////////////////////////////// - -Other standard files: - -StdAfx.h, StdAfx.cpp - These files are used to build a precompiled header (PCH) file - named Util7452.pch and a precompiled types file named StdAfx.obj. - -Resource.h - This is the standard header file, which defines new resource IDs. - Microsoft Visual C++ reads and updates this file. - -Util7452.manifest - Application manifest files are used by Windows XP to describe an applications - dependency on specific versions of Side-by-Side assemblies. The loader uses this - information to load the appropriate assembly from the assembly cache or private - from the application. The Application manifest maybe included for redistribution - as an external .manifest file that is installed in the same folder as the application - executable or it may be included in the executable in the form of a resource. -///////////////////////////////////////////////////////////////////////////// - -Other notes: - -The application wizard uses "TODO:" to indicate parts of the source code you -should add to or customize. - -If your application uses MFC in a shared DLL, you will need -to redistribute the MFC DLLs. If your application is in a language -other than the operating system's locale, you will also have to -redistribute the corresponding localized resources MFC90XXX.DLL. -For more information on both of these topics, please see the section on -redistributing Visual C++ applications in MSDN documentation. - -///////////////////////////////////////////////////////////////////////////// diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7452/Sdk7452/Util7233.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7452/Sdk7452/Util7233.suo deleted file mode 100644 index 27cf546..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7452/Sdk7452/Util7233.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7452/Sdk7452/Util7432.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7452/Sdk7452/Util7432.suo deleted file mode 100644 index 5326804..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7452/Sdk7452/Util7432.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7452/Sdk7452/Util7442.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7452/Sdk7452/Util7442.suo deleted file mode 100644 index bcd87ef..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7452/Sdk7452/Util7442.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7452/Sdk7452/Util7452.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7452/Sdk7452/Util7452.cpp deleted file mode 100644 index 0aa4da9..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7452/Sdk7452/Util7452.cpp +++ /dev/null @@ -1,111 +0,0 @@ - -// Util7452.cpp : Defines the class behaviors for the application. -// - -#include "stdafx.h" -#include "Util7452.h" -#include "Util7452Dlg.h" -#include "CardIDDlg.h" - - -#ifdef _DEBUG -#define new DEBUG_NEW -#endif - - -// CUtil7452App - -BEGIN_MESSAGE_MAP(CUtil7452App, CWinAppEx) - ON_COMMAND(ID_HELP, &CWinApp::OnHelp) -END_MESSAGE_MAP() - - -// CUtil7452App construction - -CUtil7452App::CUtil7452App() -{ - // TODO: add construction code here, - // Place all significant initialization in InitInstance -} - - -// The one and only CUtil7452App object - -CUtil7452App theApp; - - -// CUtil7452App initialization - -BOOL CUtil7452App::InitInstance() -{ - int nCardID = 0; - I16 hCard; - CString strTemp; - INT_PTR nResponse; - - // InitCommonControlsEx() is required on Windows XP if an application - // manifest specifies use of ComCtl32.dll version 6 or later to enable - // visual styles. Otherwise, any window creation will fail. - INITCOMMONCONTROLSEX InitCtrls; - InitCtrls.dwSize = sizeof(InitCtrls); - // Set this to include all the common control classes you want to use - // in your application. - InitCtrls.dwICC = ICC_WIN95_CLASSES; - InitCommonControlsEx(&InitCtrls); - - CWinAppEx::InitInstance(); - - AfxEnableControlContainer(); - - // Standard initialization - // If you are not using these features and wish to reduce the size - // of your final executable, you should remove from the following - // the specific initialization routines you do not need - // Change the registry key under which our settings are stored - // TODO: You should modify this string to be something appropriate - // such as the name of your company or organization - SetRegistryKey(_T("Local AppWizard-Generated Applications")); - - CCardIDDlg CardDlg( nCardID ); - - nResponse = CardDlg.DoModal(); - if (nResponse == IDOK) - { - nCardID = CardDlg.GetCardID(); - - if ((hCard=Register_Card(PCI_7452, nCardID)) < 0) - { - strTemp.Format( TEXT("Register_Card Error = %d"), hCard); - AfxMessageBox( strTemp ); - } - else - { - CUtil7452Dlg dlg(hCard); - m_pMainWnd = &dlg; - nResponse = dlg.DoModal(); - if (nResponse == IDOK) - { - // TODO: Place code here to handle when the dialog is - // dismissed with OK - } - else if (nResponse == IDCANCEL) - { - // TODO: Place code here to handle when the dialog is - // dismissed with Cancel - } - - if (hCard >= 0) Release_Card(hCard); - } - - } - else if (nResponse == IDCANCEL) - { - // TODO: Place code here to handle when the dialog is - // dismissed with Cancel - } - - - // Since the dialog has been closed, return FALSE so that we exit the - // application, rather than start the application's message pump. - return FALSE; -} diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7452/Sdk7452/Util7452.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7452/Sdk7452/Util7452.h deleted file mode 100644 index bc5240b..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7452/Sdk7452/Util7452.h +++ /dev/null @@ -1,32 +0,0 @@ - -// Util7452.h : main header file for the PROJECT_NAME application -// - -#pragma once - -#ifndef __AFXWIN_H__ - #error "include 'stdafx.h' before including this file for PCH" -#endif - -#include "resource.h" // main symbols - - -// CUtil7452App: -// See Util7452.cpp for the implementation of this class -// - -class CUtil7452App : public CWinAppEx -{ -public: - CUtil7452App(); - -// Overrides - public: - virtual BOOL InitInstance(); - -// Implementation - - DECLARE_MESSAGE_MAP() -}; - -extern CUtil7452App theApp; \ No newline at end of file diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7452/Sdk7452/Util7452.rc b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7452/Sdk7452/Util7452.rc deleted file mode 100644 index de776a4..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7452/Sdk7452/Util7452.rc +++ /dev/null @@ -1,364 +0,0 @@ -// Microsoft Visual C++ generated resource script. -// -#include "resource.h" - -#define APSTUDIO_READONLY_SYMBOLS -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 2 resource. -// -#ifndef APSTUDIO_INVOKED -#include "targetver.h" -#endif -#include "afxres.h" - -///////////////////////////////////////////////////////////////////////////// -#undef APSTUDIO_READONLY_SYMBOLS - -///////////////////////////////////////////////////////////////////////////// -// Chinese (Taiwan) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_CHT) -#ifdef _WIN32 -LANGUAGE LANG_CHINESE, SUBLANG_CHINESE_TRADITIONAL -#pragma code_page(950) -#endif //_WIN32 - -#ifdef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// TEXTINCLUDE -// - -1 TEXTINCLUDE -BEGIN - "resource.h\0" -END - -2 TEXTINCLUDE -BEGIN - "#ifndef APSTUDIO_INVOKED\r\n" - "#include ""targetver.h""\r\n" - "#endif\r\n" - "#include ""afxres.h""\r\n" - "\0" -END - -3 TEXTINCLUDE -BEGIN - "#define _AFX_NO_SPLITTER_RESOURCES\r\n" - "#define _AFX_NO_OLE_RESOURCES\r\n" - "#define _AFX_NO_TRACKER_RESOURCES\r\n" - "#define _AFX_NO_PROPERTY_RESOURCES\r\n" - "\r\n" - "#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)\r\n" - "LANGUAGE 9, 1\r\n" - "#pragma code_page(1252)\r\n" - "#include ""res\\Util7452.rc2"" // non-Microsoft Visual C++ edited resources\r\n" - "#include ""afxres.rc"" // Standard components\r\n" - "#endif\r\n" - "\0" -END - -#endif // APSTUDIO_INVOKED - -#endif // Chinese (Taiwan) resources -///////////////////////////////////////////////////////////////////////////// - - -///////////////////////////////////////////////////////////////////////////// -// English (U.S.) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -#ifdef _WIN32 -LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US -#pragma code_page(1252) -#endif //_WIN32 - -///////////////////////////////////////////////////////////////////////////// -// -// Icon -// - -// Icon with lowest ID value placed first to ensure application icon -// remains consistent on all systems. -IDR_MAINFRAME ICON "res\\Util7452.ico" -IDI_ICON_BLACK ICON "res\\black.ico" -IDI_ICON_GREEN ICON "res\\green.ico" -IDI_ICON_RED ICON "res\\red.ico" - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog -// - -IDD_ABOUTBOX DIALOGEX 0, 0, 170, 62 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "About Util7452" -FONT 8, "MS Shell Dlg", 0, 0, 0x1 -BEGIN - ICON IDR_MAINFRAME,IDC_STATIC,14,14,21,20 - LTEXT "Util7452, Version 1.0",IDC_STATIC,42,14,114,8,SS_NOPREFIX - LTEXT "Copyright (C) 2010",IDC_STATIC,42,26,114,8 - DEFPUSHBUTTON "OK",IDOK,113,41,50,14,WS_GROUP -END - -IDD_UTIL7452_DIALOG DIALOGEX 0, 0, 318, 202 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU -EXSTYLE WS_EX_APPWINDOW -CAPTION "PCI-7452" -FONT 8, "MS Shell Dlg", 0, 0, 0x1 -BEGIN - ICON IDI_ICON_BLACK,IDC_ICON_DI00,282,66,20,20 - ICON IDI_ICON_BLACK,IDC_ICON_DI01,264,66,20,20 - ICON IDI_ICON_BLACK,IDC_ICON_DI02,246,66,20,20 - ICON IDI_ICON_BLACK,IDC_ICON_DI03,228,66,20,20 - ICON IDI_ICON_BLACK,IDC_ICON_DI04,210,66,20,20 - ICON IDI_ICON_BLACK,IDC_ICON_DI05,192,66,20,20 - ICON IDI_ICON_BLACK,IDC_ICON_DI06,174,66,20,20 - ICON IDI_ICON_BLACK,IDC_ICON_DI07,156,66,20,20 - ICON IDI_ICON_BLACK,IDC_ICON_DI08,138,66,20,20 - ICON IDI_ICON_BLACK,IDC_ICON_DI09,120,66,20,20 - ICON IDI_ICON_BLACK,IDC_ICON_DI10,102,66,20,20 - ICON IDI_ICON_BLACK,IDC_ICON_DI11,84,66,20,20 - ICON IDI_ICON_BLACK,IDC_ICON_DI12,66,66,20,20 - ICON IDI_ICON_BLACK,IDC_ICON_DI13,48,66,20,20 - ICON IDI_ICON_BLACK,IDC_ICON_DI14,30,66,20,20 - ICON IDI_ICON_BLACK,IDC_ICON_DI15,12,66,20,20 - LTEXT " 15 0",IDC_STATIC,12,82,289,13 - ICON IDI_ICON_BLACK,IDC_ICON_DI16,282,29,20,20 - ICON IDI_ICON_BLACK,IDC_ICON_DI17,264,29,20,20 - ICON IDI_ICON_BLACK,IDC_ICON_DI18,246,29,20,20 - ICON IDI_ICON_BLACK,IDC_ICON_DI19,228,29,20,20 - ICON IDI_ICON_BLACK,IDC_ICON_DI20,210,29,20,20 - ICON IDI_ICON_BLACK,IDC_ICON_DI21,192,29,20,20 - ICON IDI_ICON_BLACK,IDC_ICON_DI22,174,29,20,20 - ICON IDI_ICON_BLACK,IDC_ICON_DI23,156,29,20,20 - ICON IDI_ICON_BLACK,IDC_ICON_DI24,138,29,20,20 - ICON IDI_ICON_BLACK,IDC_ICON_DI25,120,29,20,20 - ICON IDI_ICON_BLACK,IDC_ICON_DI26,102,29,20,20 - ICON IDI_ICON_BLACK,IDC_ICON_DI27,84,29,20,20 - ICON IDI_ICON_BLACK,IDC_ICON_DI28,66,29,20,20 - ICON IDI_ICON_BLACK,IDC_ICON_DI29,48,29,20,20 - ICON IDI_ICON_BLACK,IDC_ICON_DI30,30,29,20,20 - ICON IDI_ICON_BLACK,IDC_ICON_DI31,12,29,20,20 - LTEXT " 31 16",IDC_STATIC,12,48,289,13 - GROUPBOX "",IDC_STATIC,9,3,297,96 - CONTROL "",IDC_CHECK_DO00,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE | WS_TABSTOP,289,167,12,12 - CONTROL "",IDC_CHECK_DO01,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE | WS_TABSTOP,271,167,12,12 - CONTROL "",IDC_CHECK_DO02,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE | WS_TABSTOP,253,167,12,12 - CONTROL "",IDC_CHECK_DO03,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE | WS_TABSTOP,235,167,12,12 - CONTROL "",IDC_CHECK_DO04,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE | WS_TABSTOP,217,167,12,12 - CONTROL "",IDC_CHECK_DO05,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE | WS_TABSTOP,199,167,12,12 - CONTROL "",IDC_CHECK_DO06,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE | WS_TABSTOP,181,167,12,12 - CONTROL "",IDC_CHECK_DO07,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE | WS_TABSTOP,163,167,12,12 - CONTROL "",IDC_CHECK_DO08,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE | WS_TABSTOP,145,167,12,12 - CONTROL "",IDC_CHECK_DO09,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE | WS_TABSTOP,127,167,12,12 - CONTROL "",IDC_CHECK_DO10,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE | WS_TABSTOP,109,167,12,12 - CONTROL "",IDC_CHECK_DO11,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE | WS_TABSTOP,91,167,12,12 - CONTROL "",IDC_CHECK_DO12,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE | WS_TABSTOP,73,167,12,12 - CONTROL "",IDC_CHECK_DO13,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE | WS_TABSTOP,55,167,12,12 - CONTROL "",IDC_CHECK_DO14,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE | WS_TABSTOP,37,167,12,12 - CONTROL "",IDC_CHECK_DO15,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE | WS_TABSTOP,19,167,12,12 - LTEXT " 15 0",IDC_STATIC,13,179,289,13 - CONTROL "",IDC_CHECK_DO16,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE | WS_TABSTOP,289,131,12,12 - CONTROL "",IDC_CHECK_DO17,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE | WS_TABSTOP,271,131,12,12 - CONTROL "",IDC_CHECK_DO18,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE | WS_TABSTOP,253,131,12,12 - CONTROL "",IDC_CHECK_DO19,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE | WS_TABSTOP,235,131,12,12 - CONTROL "",IDC_CHECK_DO20,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE | WS_TABSTOP,217,131,12,12 - CONTROL "",IDC_CHECK_DO21,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE | WS_TABSTOP,199,131,12,12 - CONTROL "",IDC_CHECK_DO22,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE | WS_TABSTOP,181,131,12,12 - CONTROL "",IDC_CHECK_DO23,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE | WS_TABSTOP,163,131,12,12 - CONTROL "",IDC_CHECK_DO24,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE | WS_TABSTOP,145,131,12,12 - CONTROL "",IDC_CHECK_DO25,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE | WS_TABSTOP,127,131,12,12 - CONTROL "",IDC_CHECK_DO26,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE | WS_TABSTOP,109,131,12,12 - CONTROL "",IDC_CHECK_DO27,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE | WS_TABSTOP,91,131,12,12 - CONTROL "",IDC_CHECK_DO28,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE | WS_TABSTOP,73,131,12,12 - CONTROL "",IDC_CHECK_DO29,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE | WS_TABSTOP,55,131,12,12 - CONTROL "",IDC_CHECK_DO30,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE | WS_TABSTOP,37,131,12,12 - CONTROL "",IDC_CHECK_DO31,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE | WS_TABSTOP,19,131,12,12 - LTEXT " 31 16",IDC_STATIC,13,143,289,13 - GROUPBOX "",IDC_STATIC,9,104,297,89 - COMBOBOX IDC_COMBO_OUTPUT,71,113,49,18,CBS_DROPDOWN | WS_VSCROLL | WS_TABSTOP - LTEXT "Digital Output",IDC_STATIC,17,115,44,15 - COMBOBOX IDC_COMBO_INPUT,72,11,49,18,CBS_DROPDOWN | WS_VSCROLL | WS_TABSTOP - LTEXT "Digital Input",IDC_STATIC,18,13,44,15 -END - -IDD_CARDID_DIALOG DIALOGEX 0, 0, 163, 87 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "Card ID" -FONT 8, "MS Shell Dlg", 400, 0, 0x1 -BEGIN - COMBOBOX IDC_COMBO_CARDID,73,17,71,126,CBS_DROPDOWN | WS_VSCROLL | WS_TABSTOP - LTEXT "Card Number",IDC_STATIC_01,19,18,46,12 - PUSHBUTTON "OK",IDOK,20,50,58,19 - PUSHBUTTON "CANCEL",IDCANCEL,84,50,58,19 -END - - -///////////////////////////////////////////////////////////////////////////// -// -// Version -// - -VS_VERSION_INFO VERSIONINFO - FILEVERSION 1,0,0,1 - PRODUCTVERSION 1,0,0,1 - FILEFLAGSMASK 0x3fL -#ifdef _DEBUG - FILEFLAGS 0x1L -#else - FILEFLAGS 0x0L -#endif - FILEOS 0x4L - FILETYPE 0x1L - FILESUBTYPE 0x0L -BEGIN - BLOCK "StringFileInfo" - BEGIN - BLOCK "040904e4" - BEGIN - VALUE "CompanyName", "TODO: " - VALUE "FileDescription", "TODO: " - VALUE "FileVersion", "1.0.0.1" - VALUE "InternalName", "Util7452.exe" - VALUE "LegalCopyright", "TODO: (c) . All rights reserved." - VALUE "OriginalFilename", "Util7452.exe" - VALUE "ProductName", "TODO: " - VALUE "ProductVersion", "1.0.0.1" - END - END - BLOCK "VarFileInfo" - BEGIN - VALUE "Translation", 0x409, 1252 - END -END - - -///////////////////////////////////////////////////////////////////////////// -// -// DESIGNINFO -// - -#ifdef APSTUDIO_INVOKED -GUIDELINES DESIGNINFO -BEGIN - IDD_ABOUTBOX, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 163 - TOPMARGIN, 7 - BOTTOMMARGIN, 55 - END - - IDD_CARDID_DIALOG, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 156 - TOPMARGIN, 7 - BOTTOMMARGIN, 80 - END -END -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog Info -// - -IDD_CARDID_DIALOG DLGINIT -BEGIN - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0030, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0031, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0032, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0033, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0034, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0035, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0036, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0037, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0038, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0039, - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3031, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3131, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3231, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3331, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3431, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3531, "\000" - 0 -END - -IDD_UTIL7452_DIALOG DLGINIT -BEGIN - IDC_COMBO_OUTPUT, 0x403, 2, 0 -0x0030, - IDC_COMBO_OUTPUT, 0x403, 2, 0 -0x0031, - IDC_COMBO_OUTPUT, 0x403, 2, 0 -0x0032, - IDC_COMBO_OUTPUT, 0x403, 2, 0 -0x0033, - IDC_COMBO_INPUT, 0x403, 2, 0 -0x0030, - IDC_COMBO_INPUT, 0x403, 2, 0 -0x0031, - IDC_COMBO_INPUT, 0x403, 2, 0 -0x0032, - IDC_COMBO_INPUT, 0x403, 2, 0 -0x0033, - 0 -END - - -///////////////////////////////////////////////////////////////////////////// -// -// String Table -// - -STRINGTABLE -BEGIN - IDS_ABOUTBOX "&About Util7452..." -END - -#endif // English (U.S.) resources -///////////////////////////////////////////////////////////////////////////// - - - -#ifndef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 3 resource. -// -#define _AFX_NO_SPLITTER_RESOURCES -#define _AFX_NO_OLE_RESOURCES -#define _AFX_NO_TRACKER_RESOURCES -#define _AFX_NO_PROPERTY_RESOURCES - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -LANGUAGE 9, 1 -#pragma code_page(1252) -#include "res\Util7452.rc2" // non-Microsoft Visual C++ edited resources -#include "afxres.rc" // Standard components -#endif - -///////////////////////////////////////////////////////////////////////////// -#endif // not APSTUDIO_INVOKED - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7452/Sdk7452/Util7452.sln b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7452/Sdk7452/Util7452.sln deleted file mode 100644 index 8cac5a6..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7452/Sdk7452/Util7452.sln +++ /dev/null @@ -1,20 +0,0 @@ - -Microsoft Visual Studio Solution File, Format Version 10.00 -# Visual Studio 2008 -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "Util7452", "Util7452.vcproj", "{C7FD46C6-5640-46BB-9CDF-718DC4621FFD}" -EndProject -Global - GlobalSection(SolutionConfigurationPlatforms) = preSolution - Debug|x64 = Debug|x64 - Release|x64 = Release|x64 - EndGlobalSection - GlobalSection(ProjectConfigurationPlatforms) = postSolution - {C7FD46C6-5640-46BB-9CDF-718DC4621FFD}.Debug|x64.ActiveCfg = Debug|x64 - {C7FD46C6-5640-46BB-9CDF-718DC4621FFD}.Debug|x64.Build.0 = Debug|x64 - {C7FD46C6-5640-46BB-9CDF-718DC4621FFD}.Release|x64.ActiveCfg = Release|x64 - {C7FD46C6-5640-46BB-9CDF-718DC4621FFD}.Release|x64.Build.0 = Release|x64 - EndGlobalSection - GlobalSection(SolutionProperties) = preSolution - HideSolutionNode = FALSE - EndGlobalSection -EndGlobal diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7452/Sdk7452/Util7452.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7452/Sdk7452/Util7452.suo deleted file mode 100644 index 4ee6cf0..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7452/Sdk7452/Util7452.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7452/Sdk7452/Util7452.vcproj b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7452/Sdk7452/Util7452.vcproj deleted file mode 100644 index 54c2e08..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7452/Sdk7452/Util7452.vcproj +++ /dev/null @@ -1,298 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7452/Sdk7452/Util7452Dlg.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7452/Sdk7452/Util7452Dlg.cpp deleted file mode 100644 index d373964..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7452/Sdk7452/Util7452Dlg.cpp +++ /dev/null @@ -1,1335 +0,0 @@ - -// Util7452Dlg.cpp : implementation file -// - -#include "stdafx.h" -#include "Util7452.h" -#include "Util7452Dlg.h" - -#ifdef _DEBUG -#define new DEBUG_NEW -#endif - - -// CAboutDlg dialog used for App About - -class CAboutDlg : public CDialog -{ -public: - CAboutDlg(); - -// Dialog Data - enum { IDD = IDD_ABOUTBOX }; - - protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - -// Implementation -protected: - DECLARE_MESSAGE_MAP() -}; - -CAboutDlg::CAboutDlg() : CDialog(CAboutDlg::IDD) -{ -} - -void CAboutDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); -} - -BEGIN_MESSAGE_MAP(CAboutDlg, CDialog) -END_MESSAGE_MAP() - - -// CUtil7452Dlg dialog - - - - -CUtil7452Dlg::CUtil7452Dlg(I16 hCard, CWnd* pParent /*=NULL*/) - : CDialog(CUtil7452Dlg::IDD, pParent) -{ - m_hIcon = AfxGetApp()->LoadIcon(IDR_MAINFRAME); - - m_hCard = hCard; - m_nTimer = -1; - m_dwInData[0] = m_dwInData[1] = m_dwInData[2] = m_dwInData[3] = 0x00000000; - m_dwOutData[0] = m_dwOutData[1] = m_dwOutData[2] = m_dwOutData[3] = 0x00000000; - m_InDataPort = 0x00; - m_OutDataPort = 0x00; - -} - -void CUtil7452Dlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); - DDX_Control(pDX, IDC_ICON_DI00, m_Icon_DI00); - DDX_Control(pDX, IDC_ICON_DI01, m_Icon_DI01); - DDX_Control(pDX, IDC_ICON_DI02, m_Icon_DI02); - DDX_Control(pDX, IDC_ICON_DI03, m_Icon_DI03); - DDX_Control(pDX, IDC_ICON_DI04, m_Icon_DI04); - DDX_Control(pDX, IDC_ICON_DI05, m_Icon_DI05); - DDX_Control(pDX, IDC_ICON_DI06, m_Icon_DI06); - DDX_Control(pDX, IDC_ICON_DI07, m_Icon_DI07); - DDX_Control(pDX, IDC_ICON_DI08, m_Icon_DI08); - DDX_Control(pDX, IDC_ICON_DI09, m_Icon_DI09); - DDX_Control(pDX, IDC_ICON_DI10, m_Icon_DI10); - DDX_Control(pDX, IDC_ICON_DI11, m_Icon_DI11); - DDX_Control(pDX, IDC_ICON_DI12, m_Icon_DI12); - DDX_Control(pDX, IDC_ICON_DI13, m_Icon_DI13); - DDX_Control(pDX, IDC_ICON_DI14, m_Icon_DI14); - DDX_Control(pDX, IDC_ICON_DI15, m_Icon_DI15); - DDX_Control(pDX, IDC_ICON_DI16, m_Icon_DI16); - DDX_Control(pDX, IDC_ICON_DI17, m_Icon_DI17); - DDX_Control(pDX, IDC_ICON_DI18, m_Icon_DI18); - DDX_Control(pDX, IDC_ICON_DI19, m_Icon_DI19); - DDX_Control(pDX, IDC_ICON_DI20, m_Icon_DI20); - DDX_Control(pDX, IDC_ICON_DI21, m_Icon_DI21); - DDX_Control(pDX, IDC_ICON_DI22, m_Icon_DI22); - DDX_Control(pDX, IDC_ICON_DI23, m_Icon_DI23); - DDX_Control(pDX, IDC_ICON_DI24, m_Icon_DI24); - DDX_Control(pDX, IDC_ICON_DI25, m_Icon_DI25); - DDX_Control(pDX, IDC_ICON_DI26, m_Icon_DI26); - DDX_Control(pDX, IDC_ICON_DI27, m_Icon_DI27); - DDX_Control(pDX, IDC_ICON_DI28, m_Icon_DI28); - DDX_Control(pDX, IDC_ICON_DI29, m_Icon_DI29); - DDX_Control(pDX, IDC_ICON_DI30, m_Icon_DI30); - DDX_Control(pDX, IDC_ICON_DI31, m_Icon_DI31); - DDX_Control(pDX, IDC_COMBO_INPUT, m_cbPortInput); - DDX_Control(pDX, IDC_COMBO_OUTPUT, m_cbPortOutput); -} - -BEGIN_MESSAGE_MAP(CUtil7452Dlg, CDialog) - ON_WM_SYSCOMMAND() - ON_WM_PAINT() - ON_WM_QUERYDRAGICON() - //}}AFX_MSG_MAP - ON_BN_CLICKED(IDC_CHECK_DO00, &CUtil7452Dlg::OnOut00) - ON_BN_CLICKED(IDC_CHECK_DO01, &CUtil7452Dlg::OnOut01) - ON_BN_CLICKED(IDC_CHECK_DO02, &CUtil7452Dlg::OnOut02) - ON_BN_CLICKED(IDC_CHECK_DO03, &CUtil7452Dlg::OnOut03) - ON_BN_CLICKED(IDC_CHECK_DO04, &CUtil7452Dlg::OnOut04) - ON_BN_CLICKED(IDC_CHECK_DO05, &CUtil7452Dlg::OnOut05) - ON_BN_CLICKED(IDC_CHECK_DO06, &CUtil7452Dlg::OnOut06) - ON_BN_CLICKED(IDC_CHECK_DO07, &CUtil7452Dlg::OnOut07) - ON_BN_CLICKED(IDC_CHECK_DO08, &CUtil7452Dlg::OnOut08) - ON_BN_CLICKED(IDC_CHECK_DO09, &CUtil7452Dlg::OnOut09) - ON_BN_CLICKED(IDC_CHECK_DO10, &CUtil7452Dlg::OnOut10) - ON_BN_CLICKED(IDC_CHECK_DO11, &CUtil7452Dlg::OnOut11) - ON_BN_CLICKED(IDC_CHECK_DO12, &CUtil7452Dlg::OnOut12) - ON_BN_CLICKED(IDC_CHECK_DO13, &CUtil7452Dlg::OnOut13) - ON_BN_CLICKED(IDC_CHECK_DO14, &CUtil7452Dlg::OnOut14) - ON_BN_CLICKED(IDC_CHECK_DO15, &CUtil7452Dlg::OnOut15) - ON_BN_CLICKED(IDC_CHECK_DO16, &CUtil7452Dlg::OnOut16) - ON_BN_CLICKED(IDC_CHECK_DO17, &CUtil7452Dlg::OnOut17) - ON_BN_CLICKED(IDC_CHECK_DO18, &CUtil7452Dlg::OnOut18) - ON_BN_CLICKED(IDC_CHECK_DO19, &CUtil7452Dlg::OnOut19) - ON_BN_CLICKED(IDC_CHECK_DO20, &CUtil7452Dlg::OnOut20) - ON_BN_CLICKED(IDC_CHECK_DO21, &CUtil7452Dlg::OnOut21) - ON_BN_CLICKED(IDC_CHECK_DO22, &CUtil7452Dlg::OnOut22) - ON_BN_CLICKED(IDC_CHECK_DO23, &CUtil7452Dlg::OnOut23) - ON_BN_CLICKED(IDC_CHECK_DO24, &CUtil7452Dlg::OnOut24) - ON_BN_CLICKED(IDC_CHECK_DO25, &CUtil7452Dlg::OnOut25) - ON_BN_CLICKED(IDC_CHECK_DO26, &CUtil7452Dlg::OnOut26) - ON_BN_CLICKED(IDC_CHECK_DO27, &CUtil7452Dlg::OnOut27) - ON_BN_CLICKED(IDC_CHECK_DO28, &CUtil7452Dlg::OnOut28) - ON_BN_CLICKED(IDC_CHECK_DO29, &CUtil7452Dlg::OnOut29) - ON_BN_CLICKED(IDC_CHECK_DO30, &CUtil7452Dlg::OnOut30) - ON_BN_CLICKED(IDC_CHECK_DO31, &CUtil7452Dlg::OnOut31) - ON_WM_DESTROY() - ON_WM_TIMER() - ON_CBN_SELCHANGE(IDC_COMBO_INPUT, &CUtil7452Dlg::OnInPortSelchange) - ON_CBN_SELCHANGE(IDC_COMBO_OUTPUT, &CUtil7452Dlg::OnOutPortSelchange) -END_MESSAGE_MAP() - - -// CUtil7452Dlg message handlers - -BOOL CUtil7452Dlg::OnInitDialog() -{ - CDialog::OnInitDialog(); - - // Add "About..." menu item to system menu. - - // IDM_ABOUTBOX must be in the system command range. - ASSERT((IDM_ABOUTBOX & 0xFFF0) == IDM_ABOUTBOX); - ASSERT(IDM_ABOUTBOX < 0xF000); - - CMenu* pSysMenu = GetSystemMenu(FALSE); - if (pSysMenu != NULL) - { - BOOL bNameValid; - CString strAboutMenu; - bNameValid = strAboutMenu.LoadString(IDS_ABOUTBOX); - ASSERT(bNameValid); - if (!strAboutMenu.IsEmpty()) - { - pSysMenu->AppendMenu(MF_SEPARATOR); - pSysMenu->AppendMenu(MF_STRING, IDM_ABOUTBOX, strAboutMenu); - } - } - - // Set the icon for this dialog. The framework does this automatically - // when the application's main window is not a dialog - SetIcon(m_hIcon, TRUE); // Set big icon - SetIcon(m_hIcon, FALSE); // Set small icon - - // TODO: Add extra initialization here - int i; - - m_cbPortInput.SetCurSel(0); - m_cbPortOutput.SetCurSel(0); - for(i=0; i<4; i++) - { - DO_ReadPort( m_hCard, i, &m_dwOutData[i]); - } - - m_nTimer = SetTimer( 1, 50, NULL ); - - return TRUE; // return TRUE unless you set the focus to a control -} - -void CUtil7452Dlg::OnSysCommand(UINT nID, LPARAM lParam) -{ - if ((nID & 0xFFF0) == IDM_ABOUTBOX) - { - CAboutDlg dlgAbout; - dlgAbout.DoModal(); - } - else - { - CDialog::OnSysCommand(nID, lParam); - } -} - -// If you add a minimize button to your dialog, you will need the code below -// to draw the icon. For MFC applications using the document/view model, -// this is automatically done for you by the framework. - -void CUtil7452Dlg::OnPaint() -{ - if (IsIconic()) - { - CPaintDC dc(this); // device context for painting - - SendMessage(WM_ICONERASEBKGND, reinterpret_cast(dc.GetSafeHdc()), 0); - - // Center icon in client rectangle - int cxIcon = GetSystemMetrics(SM_CXICON); - int cyIcon = GetSystemMetrics(SM_CYICON); - CRect rect; - GetClientRect(&rect); - int x = (rect.Width() - cxIcon + 1) / 2; - int y = (rect.Height() - cyIcon + 1) / 2; - - // Draw the icon - dc.DrawIcon(x, y, m_hIcon); - } - else - { - CDialog::OnPaint(); - } -} - -// The system calls this function to obtain the cursor to display while the user drags -// the minimized window. -HCURSOR CUtil7452Dlg::OnQueryDragIcon() -{ - return static_cast(m_hIcon); -} - - -void CUtil7452Dlg::OnDestroy() -{ - CDialog::OnDestroy(); - - // TODO: Add your message handler code here - if( m_nTimer != -1 ) - KillTimer( m_nTimer ); -} - -void CUtil7452Dlg::OnTimer(UINT_PTR nIDEvent) -{ - // TODO: Add your message handler code here and/or call default - U32 dwPortData, dwChangeMask; - - DI_ReadPort(m_hCard, m_InDataPort, &dwPortData); - - dwChangeMask = dwPortData ^ m_dwInData[m_InDataPort]; - - if( dwChangeMask != 0x00 ) // Input had been changed - { - m_dwInData[m_InDataPort] = dwPortData; // update the DI data - - if( (dwChangeMask & 0x01) == 0x01 ) // if the target bit is changed - { - if( (dwPortData & 0x01) == 0x01 ) - { - m_Icon_DI00.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_DI00.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - - if( (dwChangeMask & 0x02) == 0x02 ) // if the target bit is changed - { - if( (dwPortData & 0x02) == 0x02 ) - { - m_Icon_DI01.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_DI01.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - if( (dwChangeMask & 0x04) == 0x04 ) // if the target bit is changed - { - if( (dwPortData & 0x04) == 0x04 ) - { - m_Icon_DI02.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_DI02.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - - if( (dwChangeMask & 0x08) == 0x08 ) // if the target bit is changed - { - if( (dwPortData & 0x08) == 0x08 ) - { - m_Icon_DI03.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_DI03.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - if( (dwChangeMask & 0x10) == 0x10 ) // if the target bit is changed - { - if( (dwPortData & 0x10) == 0x10 ) - { - m_Icon_DI04.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_DI04.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - if( (dwChangeMask & 0x20) == 0x20 ) // if the target bit is changed - { - if( (dwPortData & 0x20) == 0x20 ) - { - m_Icon_DI05.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_DI05.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - - if( (dwChangeMask & 0x40) == 0x40 ) // if the target bit is changed - { - if( (dwPortData & 0x40) == 0x40 ) - { - m_Icon_DI06.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_DI06.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - - if( (dwChangeMask & 0x80) == 0x80 ) // if the target bit is changed - { - if( (dwPortData & 0x80) == 0x80 ) - { - m_Icon_DI07.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_DI07.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - - if( (dwChangeMask & 0x100) == 0x100 ) // if the target bit is changed - { - if( (dwPortData & 0x100) == 0x100 ) - { - m_Icon_DI08.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_DI08.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - if( (dwChangeMask & 0x200) == 0x200 ) // if the target bit is changed - { - if( (dwPortData & 0x200) == 0x200 ) - { - m_Icon_DI09.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_DI09.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - if( (dwChangeMask & 0x400) == 0x400 ) // if the target bit is changed - { - if( (dwPortData & 0x400) == 0x400 ) - { - m_Icon_DI10.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_DI10.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - if( (dwChangeMask & 0x800) == 0x800 ) // if the target bit is changed - { - if( (dwPortData & 0x800) == 0x800 ) - { - m_Icon_DI11.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_DI11.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - if( (dwChangeMask & 0x1000) == 0x1000 ) // if the target bit is changed - { - if( (dwPortData & 0x1000) == 0x1000 ) - { - m_Icon_DI12.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_DI12.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - if( (dwChangeMask & 0x2000) == 0x2000 ) // if the target bit is changed - { - if( (dwPortData & 0x2000) == 0x2000 ) - { - m_Icon_DI13.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_DI13.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - if( (dwChangeMask & 0x4000) == 0x4000 ) // if the target bit is changed - { - if( (dwPortData & 0x4000) == 0x4000 ) - { - m_Icon_DI14.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_DI14.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - if( (dwChangeMask & 0x8000) == 0x8000 ) // if the target bit is changed - { - if( (dwPortData & 0x8000) == 0x8000 ) - { - m_Icon_DI15.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_DI15.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - - if( (dwChangeMask & 0x10000) == 0x10000 ) // if the target bit is changed - { - if( (dwPortData & 0x10000) == 0x10000 ) - { - m_Icon_DI16.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_DI16.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - - if( (dwChangeMask & 0x20000) == 0x20000 ) // if the target bit is changed - { - if( (dwPortData & 0x20000) == 0x20000 ) - { - m_Icon_DI17.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_DI17.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - if( (dwChangeMask & 0x40000) == 0x40000 ) // if the target bit is changed - { - if( (dwPortData & 0x40000) == 0x40000 ) - { - m_Icon_DI18.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_DI18.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - - if( (dwChangeMask & 0x80000) == 0x80000 ) // if the target bit is changed - { - if( (dwPortData & 0x80000) == 0x80000 ) - { - m_Icon_DI19.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_DI19.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - if( (dwChangeMask & 0x100000) == 0x100000 ) // if the target bit is changed - { - if( (dwPortData & 0x100000) == 0x100000 ) - { - m_Icon_DI20.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_DI20.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - if( (dwChangeMask & 0x200000) == 0x200000 ) // if the target bit is changed - { - if( (dwPortData & 0x200000) == 0x200000 ) - { - m_Icon_DI21.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_DI21.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - - if( (dwChangeMask & 0x400000) == 0x400000 ) // if the target bit is changed - { - if( (dwPortData & 0x400000) == 0x400000 ) - { - m_Icon_DI22.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_DI22.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - - if( (dwChangeMask & 0x800000) == 0x800000 ) // if the target bit is changed - { - if( (dwPortData & 0x800000) == 0x800000 ) - { - m_Icon_DI23.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_DI23.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - - if( (dwChangeMask & 0x1000000) == 0x1000000 ) // if the target bit is changed - { - if( (dwPortData & 0x1000000) == 0x1000000 ) - { - m_Icon_DI24.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_DI24.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - if( (dwChangeMask & 0x2000000) == 0x2000000 ) // if the target bit is changed - { - if( (dwPortData & 0x2000000) == 0x2000000 ) - { - m_Icon_DI25.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_DI25.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - if( (dwChangeMask & 0x4000000) == 0x4000000 ) // if the target bit is changed - { - if( (dwPortData & 0x4000000) == 0x4000000 ) - { - m_Icon_DI26.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_DI26.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - if( (dwChangeMask & 0x8000000) == 0x8000000 ) // if the target bit is changed - { - if( (dwPortData & 0x8000000) == 0x8000000 ) - { - m_Icon_DI27.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_DI27.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - if( (dwChangeMask & 0x10000000) == 0x10000000 ) // if the target bit is changed - { - if( (dwPortData & 0x10000000) == 0x10000000 ) - { - m_Icon_DI28.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_DI28.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - if( (dwChangeMask & 0x20000000) == 0x20000000 ) // if the target bit is changed - { - if( (dwPortData & 0x20000000) == 0x20000000 ) - { - m_Icon_DI29.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_DI29.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - if( (dwChangeMask & 0x40000000) == 0x40000000 ) // if the target bit is changed - { - if( (dwPortData & 0x40000000) == 0x40000000 ) - { - m_Icon_DI30.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_DI30.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - if( (dwChangeMask & 0x80000000) == 0x80000000 ) // if the target bit is changed - { - if( (dwPortData & 0x80000000) == 0x80000000 ) - { - m_Icon_DI31.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_DI31.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - } - - CDialog::OnTimer(nIDEvent); -} - - -void CUtil7452Dlg::OnOut00() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_DO00 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_dwOutData[m_OutDataPort] |= 0x01; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_dwOutData[m_OutDataPort] &= (~0x01); - } - - DO_WritePort( m_hCard, m_OutDataPort, m_dwOutData[m_OutDataPort] ); - -} - -void CUtil7452Dlg::OnOut01() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_DO01 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_dwOutData[m_OutDataPort] |= 0x02; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_dwOutData[m_OutDataPort] &= (~0x02); - } - - DO_WritePort( m_hCard, m_OutDataPort, m_dwOutData[m_OutDataPort] ); -} - -void CUtil7452Dlg::OnOut02() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_DO02 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_dwOutData[m_OutDataPort] |= 0x04; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_dwOutData[m_OutDataPort] &= (~0x04); - } - - DO_WritePort( m_hCard, m_OutDataPort, m_dwOutData[m_OutDataPort] ); -} - -void CUtil7452Dlg::OnOut03() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_DO03 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_dwOutData[m_OutDataPort] |= 0x08; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_dwOutData[m_OutDataPort] &= (~0x08); - } - - DO_WritePort( m_hCard, m_OutDataPort, m_dwOutData[m_OutDataPort] ); -} - -void CUtil7452Dlg::OnOut04() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_DO04 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_dwOutData[m_OutDataPort] |= 0x10; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_dwOutData[m_OutDataPort] &= (~0x10); - } - - DO_WritePort( m_hCard, m_OutDataPort, m_dwOutData[m_OutDataPort] ); -} - -void CUtil7452Dlg::OnOut05() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_DO05 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_dwOutData[m_OutDataPort] |= 0x20; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_dwOutData[m_OutDataPort] &= (~0x20); - } - - DO_WritePort( m_hCard, m_OutDataPort, m_dwOutData[m_OutDataPort] ); -} - -void CUtil7452Dlg::OnOut06() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_DO06 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_dwOutData[m_OutDataPort] |= 0x40; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_dwOutData[m_OutDataPort] &= (~0x40); - } - - DO_WritePort( m_hCard, m_OutDataPort, m_dwOutData[m_OutDataPort] ); -} - -void CUtil7452Dlg::OnOut07() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_DO07 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_dwOutData[m_OutDataPort] |= 0x80; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_dwOutData[m_OutDataPort] &= (~0x80); - } - - DO_WritePort( m_hCard, m_OutDataPort, m_dwOutData[m_OutDataPort] ); -} - -void CUtil7452Dlg::OnOut08() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_DO08 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_dwOutData[m_OutDataPort] |= 0x100; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_dwOutData[m_OutDataPort] &= (~0x100); - } - - DO_WritePort( m_hCard, m_OutDataPort, m_dwOutData[m_OutDataPort] ); -} - -void CUtil7452Dlg::OnOut09() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_DO09 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_dwOutData[m_OutDataPort] |= 0x200; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_dwOutData[m_OutDataPort] &= (~0x200); - } - - DO_WritePort( m_hCard, m_OutDataPort, m_dwOutData[m_OutDataPort] ); -} - -void CUtil7452Dlg::OnOut10() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_DO10 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_dwOutData[m_OutDataPort] |= 0x400; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_dwOutData[m_OutDataPort] &= (~0x400); - } - - DO_WritePort( m_hCard, m_OutDataPort, m_dwOutData[m_OutDataPort] ); -} - -void CUtil7452Dlg::OnOut11() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_DO11 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_dwOutData[m_OutDataPort] |= 0x800; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_dwOutData[m_OutDataPort] &= (~0x800); - } - - DO_WritePort( m_hCard, m_OutDataPort, m_dwOutData[m_OutDataPort] ); -} - -void CUtil7452Dlg::OnOut12() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_DO12 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_dwOutData[m_OutDataPort] |= 0x1000; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_dwOutData[m_OutDataPort] &= (~0x1000); - } - - DO_WritePort( m_hCard, m_OutDataPort, m_dwOutData[m_OutDataPort] ); -} - -void CUtil7452Dlg::OnOut13() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_DO13 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_dwOutData[m_OutDataPort] |= 0x2000; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_dwOutData[m_OutDataPort] &= (~0x2000); - } - - DO_WritePort( m_hCard, m_OutDataPort, m_dwOutData[m_OutDataPort] ); -} - -void CUtil7452Dlg::OnOut14() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_DO14 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_dwOutData[m_OutDataPort] |= 0x4000; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_dwOutData[m_OutDataPort] &= (~0x4000); - } - - DO_WritePort( m_hCard, m_OutDataPort, m_dwOutData[m_OutDataPort] ); -} - -void CUtil7452Dlg::OnOut15() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_DO15 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_dwOutData[m_OutDataPort] |= 0x8000; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_dwOutData[m_OutDataPort] &= (~0x8000); - } - - DO_WritePort( m_hCard, m_OutDataPort, m_dwOutData[m_OutDataPort] ); -} - - -void CUtil7452Dlg::OnOut16() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_DO16 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_dwOutData[m_OutDataPort] |= 0x10000; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_dwOutData[m_OutDataPort] &= (~0x10000); - } - - DO_WritePort( m_hCard, m_OutDataPort, m_dwOutData[m_OutDataPort] ); -} - -void CUtil7452Dlg::OnOut17() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_DO17 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_dwOutData[m_OutDataPort] |= 0x20000; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_dwOutData[m_OutDataPort] &= (~0x20000); - } - - DO_WritePort( m_hCard, m_OutDataPort, m_dwOutData[m_OutDataPort] ); -} - -void CUtil7452Dlg::OnOut18() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_DO18 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_dwOutData[m_OutDataPort] |= 0x40000; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_dwOutData[m_OutDataPort] &= (~0x40000); - } - - DO_WritePort( m_hCard, m_OutDataPort, m_dwOutData[m_OutDataPort] ); -} - -void CUtil7452Dlg::OnOut19() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_DO19 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_dwOutData[m_OutDataPort] |= 0x80000; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_dwOutData[m_OutDataPort] &= (~0x80000); - } - - DO_WritePort( m_hCard, m_OutDataPort, m_dwOutData[m_OutDataPort] ); -} - - -void CUtil7452Dlg::OnOut20() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_DO20 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_dwOutData[m_OutDataPort] |= 0x100000; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_dwOutData[m_OutDataPort] &= (~0x100000); - } - - DO_WritePort( m_hCard, m_OutDataPort, m_dwOutData[m_OutDataPort] ); -} - -void CUtil7452Dlg::OnOut21() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_DO21 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_dwOutData[m_OutDataPort] |= 0x200000; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_dwOutData[m_OutDataPort] &= (~0x200000); - } - - DO_WritePort( m_hCard, m_OutDataPort, m_dwOutData[m_OutDataPort] ); -} - -void CUtil7452Dlg::OnOut22() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_DO22 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_dwOutData[m_OutDataPort] |= 0x400000; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_dwOutData[m_OutDataPort] &= (~0x400000); - } - - DO_WritePort( m_hCard, m_OutDataPort, m_dwOutData[m_OutDataPort] ); -} - -void CUtil7452Dlg::OnOut23() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_DO23 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_dwOutData[m_OutDataPort] |= 0x800000; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_dwOutData[m_OutDataPort] &= (~0x800000); - } - - DO_WritePort( m_hCard, m_OutDataPort, m_dwOutData[m_OutDataPort] ); -} - -void CUtil7452Dlg::OnOut24() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_DO24 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_dwOutData[m_OutDataPort] |= 0x1000000; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_dwOutData[m_OutDataPort] &= (~0x1000000); - } - - DO_WritePort( m_hCard, m_OutDataPort, m_dwOutData[m_OutDataPort] ); -} - -void CUtil7452Dlg::OnOut25() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_DO25 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_dwOutData[m_OutDataPort] |= 0x2000000; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_dwOutData[m_OutDataPort] &= (~0x2000000); - } - - DO_WritePort( m_hCard, m_OutDataPort, m_dwOutData[m_OutDataPort] ); -} - - -void CUtil7452Dlg::OnOut26() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_DO26 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_dwOutData[m_OutDataPort] |= 0x4000000; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_dwOutData[m_OutDataPort] &= (~0x4000000); - } - - DO_WritePort( m_hCard, m_OutDataPort, m_dwOutData[m_OutDataPort] ); -} - -void CUtil7452Dlg::OnOut27() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_DO27 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_dwOutData[m_OutDataPort] |= 0x8000000; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_dwOutData[m_OutDataPort] &= (~0x8000000); - } - - DO_WritePort( m_hCard, m_OutDataPort, m_dwOutData[m_OutDataPort] ); -} - -void CUtil7452Dlg::OnOut28() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_DO28 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_dwOutData[m_OutDataPort] |= 0x10000000; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_dwOutData[m_OutDataPort] &= (~0x10000000); - } - - DO_WritePort( m_hCard, m_OutDataPort, m_dwOutData[m_OutDataPort] ); -} - -void CUtil7452Dlg::OnOut29() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_DO29 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_dwOutData[m_OutDataPort] |= 0x20000000; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_dwOutData[m_OutDataPort] &= (~0x20000000); - } - - DO_WritePort( m_hCard, m_OutDataPort, m_dwOutData[m_OutDataPort] ); -} - -void CUtil7452Dlg::OnOut30() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_DO30 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_dwOutData[m_OutDataPort] |= 0x40000000; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_dwOutData[m_OutDataPort] &= (~0x40000000); - } - - DO_WritePort( m_hCard, m_OutDataPort, m_dwOutData[m_OutDataPort] ); -} - -void CUtil7452Dlg::OnOut31() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_DO31 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_dwOutData[m_OutDataPort] |= 0x80000000; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_dwOutData[m_OutDataPort] &= (~0x80000000); - } - - DO_WritePort( m_hCard, m_OutDataPort, m_dwOutData[m_OutDataPort] ); -} - -void CUtil7452Dlg::OnInPortSelchange() -{ - // TODO: Add your control notification handler code here - int nIndex; - - nIndex = m_cbPortInput.GetCurSel(); - switch( nIndex ) - { - case 0: - m_InDataPort = 0; - break; - case 1: - m_InDataPort = 1; - break; - case 2: - m_InDataPort = 2; - break; - case 3: - m_InDataPort = 3; - break; - } -} - -void CUtil7452Dlg::OnOutPortSelchange() -{ - // TODO: Add your control notification handler code here - int nIndex, i; - - nIndex = m_cbPortOutput.GetCurSel(); - switch( nIndex ) - { - case 0: - m_OutDataPort = 0; - break; - case 1: - m_OutDataPort = 1; - break; - case 2: - m_OutDataPort = 2; - break; - case 3: - m_OutDataPort = 3; - break; - } - - for (i=0; i<32; i++) - { - if ( (m_dwOutData[m_OutDataPort]>>i)&0x01) - { - ((CButton*)GetDlgItem( IDC_CHECK_DO00+i ))->SetCheck( TRUE ); - } - else - { - ((CButton*)GetDlgItem( IDC_CHECK_DO00+i ))->SetCheck( FALSE ); - } - } - -} diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7452/Sdk7452/Util7452Dlg.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7452/Sdk7452/Util7452Dlg.h deleted file mode 100644 index 5b13964..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7452/Sdk7452/Util7452Dlg.h +++ /dev/null @@ -1,111 +0,0 @@ - -// Util7452Dlg.h : header file -// - -#include "Dask64.h" - -#pragma once - - -// CUtil7452Dlg dialog -class CUtil7452Dlg : public CDialog -{ -// Construction -public: - CUtil7452Dlg(I16 hCard, CWnd* pParent = NULL); // standard constructor - -// Dialog Data - enum { IDD = IDD_UTIL7452_DIALOG }; - - protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - - -// Implementation -protected: - HICON m_hIcon; - UINT_PTR m_nTimer; - I16 m_hCard; - U32 m_dwInData[4]; - U32 m_dwOutData[4]; - U16 m_InDataPort; - U16 m_OutDataPort; - - // Generated message map functions - virtual BOOL OnInitDialog(); - afx_msg void OnSysCommand(UINT nID, LPARAM lParam); - afx_msg void OnPaint(); - afx_msg HCURSOR OnQueryDragIcon(); - DECLARE_MESSAGE_MAP() -public: - CStatic m_Icon_DI00; - CStatic m_Icon_DI01; - CStatic m_Icon_DI02; - CStatic m_Icon_DI03; - CStatic m_Icon_DI04; - CStatic m_Icon_DI05; - CStatic m_Icon_DI06; - CStatic m_Icon_DI07; - CStatic m_Icon_DI08; - CStatic m_Icon_DI09; - CStatic m_Icon_DI10; - CStatic m_Icon_DI11; - CStatic m_Icon_DI12; - CStatic m_Icon_DI13; - CStatic m_Icon_DI14; - CStatic m_Icon_DI15; - CStatic m_Icon_DI16; - CStatic m_Icon_DI17; - CStatic m_Icon_DI18; - CStatic m_Icon_DI19; - CStatic m_Icon_DI20; - CStatic m_Icon_DI21; - CStatic m_Icon_DI22; - CStatic m_Icon_DI23; - CStatic m_Icon_DI24; - CStatic m_Icon_DI25; - CStatic m_Icon_DI26; - CStatic m_Icon_DI27; - CStatic m_Icon_DI28; - CStatic m_Icon_DI29; - CStatic m_Icon_DI30; - CStatic m_Icon_DI31; - CComboBox m_cbPortInput; - CComboBox m_cbPortOutput; - afx_msg void OnDestroy(); - afx_msg void OnTimer(UINT_PTR nIDEvent); - afx_msg void OnOut00(); - afx_msg void OnOut01(); - afx_msg void OnOut02(); - afx_msg void OnOut03(); - afx_msg void OnOut04(); - afx_msg void OnOut05(); - afx_msg void OnOut06(); - afx_msg void OnOut07(); - afx_msg void OnOut08(); - afx_msg void OnOut09(); - afx_msg void OnOut10(); - afx_msg void OnOut11(); - afx_msg void OnOut12(); - afx_msg void OnOut13(); - afx_msg void OnOut14(); - afx_msg void OnOut15(); - afx_msg void OnOut16(); - afx_msg void OnOut17(); - afx_msg void OnOut18(); - afx_msg void OnOut19(); - afx_msg void OnOut20(); - afx_msg void OnOut21(); - afx_msg void OnOut22(); - afx_msg void OnOut23(); - afx_msg void OnOut24(); - afx_msg void OnOut25(); - afx_msg void OnOut26(); - afx_msg void OnOut27(); - afx_msg void OnOut28(); - afx_msg void OnOut29(); - afx_msg void OnOut30(); - afx_msg void OnOut31(); - afx_msg void OnInPortSelchange(); - afx_msg void OnOutPortSelchange(); -}; diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7452/Sdk7452/Util7542.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7452/Sdk7452/Util7542.suo deleted file mode 100644 index 90e2658..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7452/Sdk7452/Util7542.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7452/Sdk7452/res/Util7452.ico b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7452/Sdk7452/res/Util7452.ico deleted file mode 100644 index d56fbcd..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7452/Sdk7452/res/Util7452.ico and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7452/Sdk7452/res/Util7452.rc2 b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7452/Sdk7452/res/Util7452.rc2 deleted file mode 100644 index 1a1be94..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7452/Sdk7452/res/Util7452.rc2 +++ /dev/null @@ -1,13 +0,0 @@ -// -// Util7233.RC2 - resources Microsoft Visual C++ does not edit directly -// - -#ifdef APSTUDIO_INVOKED -#error this file is not editable by Microsoft Visual C++ -#endif //APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// Add manually edited resources here... - -///////////////////////////////////////////////////////////////////////////// diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7452/Sdk7452/res/black.ico b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7452/Sdk7452/res/black.ico deleted file mode 100644 index b5c375f..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7452/Sdk7452/res/black.ico and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7452/Sdk7452/res/green.ico b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7452/Sdk7452/res/green.ico deleted file mode 100644 index d9a9fd3..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7452/Sdk7452/res/green.ico and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7452/Sdk7452/res/red.ico b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7452/Sdk7452/res/red.ico deleted file mode 100644 index 7644596..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7452/Sdk7452/res/red.ico and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7452/Sdk7452/resource.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7452/Sdk7452/resource.h deleted file mode 100644 index bb2660d..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7452/Sdk7452/resource.h +++ /dev/null @@ -1,92 +0,0 @@ -//{{NO_DEPENDENCIES}} -// Microsoft Visual C++ generated include file. -// Used by Util7452.rc -// -#define IDM_ABOUTBOX 0x0010 -#define IDD_ABOUTBOX 100 -#define IDS_ABOUTBOX 101 -#define IDD_UTIL7452_DIALOG 102 -#define IDR_MAINFRAME 128 -#define IDI_ICON_BLACK 129 -#define IDI_ICON_GREEN 130 -#define IDI_ICON_RED 131 -#define IDD_CARDID_DIALOG 132 -#define IDC_COMBO_CARDID 1000 -#define IDC_ICON_DI00 1003 -#define IDC_ICON_DI01 1004 -#define IDC_ICON_DI02 1005 -#define IDC_ICON_DI03 1006 -#define IDC_ICON_DI04 1007 -#define IDC_ICON_DI05 1008 -#define IDC_ICON_DI06 1009 -#define IDC_ICON_DI07 1010 -#define IDC_ICON_DI08 1011 -#define IDC_ICON_DI09 1012 -#define IDC_ICON_DI10 1013 -#define IDC_ICON_DI11 1014 -#define IDC_ICON_DI12 1015 -#define IDC_ICON_DI13 1016 -#define IDC_ICON_DI14 1017 -#define IDC_ICON_DI15 1018 -#define IDC_ICON_DI16 1019 -#define IDC_ICON_DI17 1020 -#define IDC_ICON_DI18 1021 -#define IDC_ICON_DI19 1022 -#define IDC_ICON_DI20 1023 -#define IDC_ICON_DI21 1024 -#define IDC_ICON_DI22 1025 -#define IDC_ICON_DI23 1026 -#define IDC_ICON_DI24 1027 -#define IDC_ICON_DI25 1028 -#define IDC_ICON_DI26 1029 -#define IDC_ICON_DI27 1030 -#define IDC_ICON_DI28 1031 -#define IDC_ICON_DI29 1032 -#define IDC_ICON_DI30 1033 -#define IDC_ICON_DI31 1034 -#define IDC_CHECK_DO00 1035 -#define IDC_CHECK_DO01 1036 -#define IDC_CHECK_DO02 1037 -#define IDC_CHECK_DO03 1038 -#define IDC_CHECK_DO04 1039 -#define IDC_CHECK_DO05 1040 -#define IDC_CHECK_DO06 1041 -#define IDC_CHECK_DO07 1042 -#define IDC_CHECK_DO08 1043 -#define IDC_CHECK_DO09 1044 -#define IDC_CHECK_DO10 1045 -#define IDC_CHECK_DO11 1046 -#define IDC_CHECK_DO12 1047 -#define IDC_CHECK_DO13 1048 -#define IDC_CHECK_DO14 1049 -#define IDC_CHECK_DO15 1050 -#define IDC_CHECK_DO16 1051 -#define IDC_CHECK_DO17 1052 -#define IDC_CHECK_DO18 1053 -#define IDC_CHECK_DO19 1054 -#define IDC_CHECK_DO20 1055 -#define IDC_CHECK_DO21 1056 -#define IDC_CHECK_DO22 1057 -#define IDC_CHECK_DO23 1058 -#define IDC_CHECK_DO24 1059 -#define IDC_CHECK_DO25 1060 -#define IDC_CHECK_DO26 1061 -#define IDC_CHECK_DO27 1062 -#define IDC_CHECK_DO28 1063 -#define IDC_CHECK_DO29 1064 -#define IDC_CHECK_DO30 1065 -#define IDC_CHECK_DO31 1066 -#define IDC_COMBO_OUTPUT 1067 -#define IDC_COMBO_INPUT 1068 -#define IDC_STATIC_01 1070 - -// Next default values for new objects -// -#ifdef APSTUDIO_INVOKED -#ifndef APSTUDIO_READONLY_SYMBOLS -#define _APS_NEXT_RESOURCE_VALUE 135 -#define _APS_NEXT_COMMAND_VALUE 32771 -#define _APS_NEXT_CONTROL_VALUE 1001 -#define _APS_NEXT_SYMED_VALUE 101 -#endif -#endif diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7452/Sdk7452/stdafx.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7452/Sdk7452/stdafx.cpp deleted file mode 100644 index 56dd26c..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7452/Sdk7452/stdafx.cpp +++ /dev/null @@ -1,8 +0,0 @@ - -// stdafx.cpp : source file that includes just the standard includes -// Util7452.pch will be the pre-compiled header -// stdafx.obj will contain the pre-compiled type information - -#include "stdafx.h" - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7452/Sdk7452/stdafx.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7452/Sdk7452/stdafx.h deleted file mode 100644 index 12123e2..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7452/Sdk7452/stdafx.h +++ /dev/null @@ -1,60 +0,0 @@ - -// stdafx.h : include file for standard system include files, -// or project specific include files that are used frequently, -// but are changed infrequently - -#pragma once - -#ifndef _SECURE_ATL -#define _SECURE_ATL 1 -#endif - -#ifndef VC_EXTRALEAN -#define VC_EXTRALEAN // Exclude rarely-used stuff from Windows headers -#endif - -#include "targetver.h" - -#define _ATL_CSTRING_EXPLICIT_CONSTRUCTORS // some CString constructors will be explicit - -// turns off MFC's hiding of some common and often safely ignored warning messages -#define _AFX_ALL_WARNINGS - -#include // MFC core and standard components -#include // MFC extensions - - -#include // MFC Automation classes - - - -#ifndef _AFX_NO_OLE_SUPPORT -#include // MFC support for Internet Explorer 4 Common Controls -#endif -#ifndef _AFX_NO_AFXCMN_SUPPORT -#include // MFC support for Windows Common Controls -#endif // _AFX_NO_AFXCMN_SUPPORT - -#include // MFC support for ribbons and control bars - - - - - - - - - -#ifdef _UNICODE -#if defined _M_IX86 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='x86' publicKeyToken='6595b64144ccf1df' language='*'\"") -#elif defined _M_IA64 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='ia64' publicKeyToken='6595b64144ccf1df' language='*'\"") -#elif defined _M_X64 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='amd64' publicKeyToken='6595b64144ccf1df' language='*'\"") -#else -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='*' publicKeyToken='6595b64144ccf1df' language='*'\"") -#endif -#endif - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7452/Sdk7452/targetver.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7452/Sdk7452/targetver.h deleted file mode 100644 index 11730d5..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/7452/Sdk7452/targetver.h +++ /dev/null @@ -1,26 +0,0 @@ - -#pragma once - -// The following macros define the minimum required platform. The minimum required platform -// is the earliest version of Windows, Internet Explorer etc. that has the necessary features to run -// your application. The macros work by enabling all features available on platform versions up to and -// including the version specified. - -// Modify the following defines if you have to target a platform prior to the ones specified below. -// Refer to MSDN for the latest info on corresponding values for different platforms. -#ifndef WINVER // Specifies that the minimum required platform is Windows Vista. -#define WINVER 0x0600 // Change this to the appropriate value to target other versions of Windows. -#endif - -#ifndef _WIN32_WINNT // Specifies that the minimum required platform is Windows Vista. -#define _WIN32_WINNT 0x0600 // Change this to the appropriate value to target other versions of Windows. -#endif - -#ifndef _WIN32_WINDOWS // Specifies that the minimum required platform is Windows 98. -#define _WIN32_WINDOWS 0x0410 // Change this to the appropriate value to target Windows Me or later. -#endif - -#ifndef _WIN32_IE // Specifies that the minimum required platform is Internet Explorer 7.0. -#define _WIN32_IE 0x0700 // Change this to the appropriate value to target other versions of IE. -#endif - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/8554/SDK8554/CardIDDlg.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/8554/SDK8554/CardIDDlg.cpp deleted file mode 100644 index a3ab939..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/8554/SDK8554/CardIDDlg.cpp +++ /dev/null @@ -1,67 +0,0 @@ -// CardIDDlg.cpp : implementation file -// - -#include "stdafx.h" -#include "pci8554.h" -#include "CardIDDlg.h" - - -// CCardIDDlg dialog - -IMPLEMENT_DYNAMIC(CCardIDDlg, CDialog) - -CCardIDDlg::CCardIDDlg(int nCardIdx, CWnd* pParent /*=NULL*/) - : CDialog(CCardIDDlg::IDD, pParent) -{ - m_nCardIdx = nCardIdx; -} - -CCardIDDlg::~CCardIDDlg() -{ -} - -void CCardIDDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); - DDX_Control(pDX, IDC_COMBO_CARDID, m_cbCardID); -} - - -BEGIN_MESSAGE_MAP(CCardIDDlg, CDialog) -// ON_CBN_SELCHANGE(IDC_COMBO_CARDID, &CCardIDDlg::OnCbnSelchangeComboCardid) -ON_BN_CLICKED(IDOK, &CCardIDDlg::OnBnClickedOk) -//ON_WM_CTLCOLOR() -END_MESSAGE_MAP() - - -// CCardIDDlg message handlers - - -void CCardIDDlg::OnBnClickedOk() -{ - // TODO: Add your control notification handler code here - -// UpdateData(TRUE); - m_nCardIdx = m_cbCardID.GetCurSel(); - - OnOK(); -} - -BOOL CCardIDDlg::OnInitDialog() -{ - CDialog::OnInitDialog(); - - // TODO: Add extra initialization here - m_cbCardID.SetCurSel( m_nCardIdx ); - - return TRUE; // return TRUE unless you set the focus to a control - // EXCEPTION: OCX Property Pages should return FALSE -} - -// the function to get the selected CardID -int CCardIDDlg::GetCardID(void) -{ - return m_nCardIdx; -} - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/8554/SDK8554/CardIDDlg.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/8554/SDK8554/CardIDDlg.h deleted file mode 100644 index 54628ea..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/8554/SDK8554/CardIDDlg.h +++ /dev/null @@ -1,33 +0,0 @@ -#pragma once -#include "afxwin.h" - - -// CCardIDDlg dialog - -class CCardIDDlg : public CDialog -{ - DECLARE_DYNAMIC(CCardIDDlg) - -public: - CCardIDDlg(int nCardIdx, CWnd* pParent = NULL); // standard constructor - virtual ~CCardIDDlg(); - -// Dialog Data - enum { IDD = IDD_CARDID_DIALOG }; - -protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - - DECLARE_MESSAGE_MAP() -public: -// afx_msg void OnCbnSelchangeComboCardid(); - afx_msg void OnBnClickedOk(); - // the setting of CardID ComboBox - int m_nCardIdx; - virtual BOOL OnInitDialog(); - // the control of CardID ComboBox - CComboBox m_cbCardID; - // the function to get the selected CardID - int GetCardID(void); -// afx_msg HBRUSH OnCtlColor(CDC* pDC, CWnd* pWnd, UINT nCtlColor); -}; diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/8554/SDK8554/ReadMe.txt b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/8554/SDK8554/ReadMe.txt deleted file mode 100644 index 74d4f34..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/8554/SDK8554/ReadMe.txt +++ /dev/null @@ -1,93 +0,0 @@ -================================================================================ - MICROSOFT FOUNDATION CLASS LIBRARY : pci8554 Project Overview -=============================================================================== - -The application wizard has created this pci8554 application for -you. This application not only demonstrates the basics of using the Microsoft -Foundation Classes but is also a starting point for writing your application. - -This file contains a summary of what you will find in each of the files that -make up your pci8554 application. - -pci8554.vcproj - This is the main project file for VC++ projects generated using an application wizard. - It contains information about the version of Visual C++ that generated the file, and - information about the platforms, configurations, and project features selected with the - application wizard. - -pci8554.h - This is the main header file for the application. It includes other - project specific headers (including Resource.h) and declares the - Cpci8554App application class. - -pci8554.cpp - This is the main application source file that contains the application - class Cpci8554App. - -pci8554.rc - This is a listing of all of the Microsoft Windows resources that the - program uses. It includes the icons, bitmaps, and cursors that are stored - in the RES subdirectory. This file can be directly edited in Microsoft - Visual C++. Your project resources are in 1033. - -res\pci8554.ico - This is an icon file, which is used as the application's icon. This - icon is included by the main resource file pci8554.rc. - -res\pci8554.rc2 - This file contains resources that are not edited by Microsoft - Visual C++. You should place all resources not editable by - the resource editor in this file. - - -///////////////////////////////////////////////////////////////////////////// - -The application wizard creates one dialog class: - -pci8554Dlg.h, pci8554Dlg.cpp - the dialog - These files contain your Cpci8554Dlg class. This class defines - the behavior of your application's main dialog. The dialog's template is - in pci8554.rc, which can be edited in Microsoft Visual C++. - - -///////////////////////////////////////////////////////////////////////////// - -Other Features: - -ActiveX Controls - The application includes support to use ActiveX controls. - -///////////////////////////////////////////////////////////////////////////// - -Other standard files: - -StdAfx.h, StdAfx.cpp - These files are used to build a precompiled header (PCH) file - named pci8554.pch and a precompiled types file named StdAfx.obj. - -Resource.h - This is the standard header file, which defines new resource IDs. - Microsoft Visual C++ reads and updates this file. - -pci8554.manifest - Application manifest files are used by Windows XP to describe an applications - dependency on specific versions of Side-by-Side assemblies. The loader uses this - information to load the appropriate assembly from the assembly cache or private - from the application. The Application manifest maybe included for redistribution - as an external .manifest file that is installed in the same folder as the application - executable or it may be included in the executable in the form of a resource. -///////////////////////////////////////////////////////////////////////////// - -Other notes: - -The application wizard uses "TODO:" to indicate parts of the source code you -should add to or customize. - -If your application uses MFC in a shared DLL, you will need -to redistribute the MFC DLLs. If your application is in a language -other than the operating system's locale, you will also have to -redistribute the corresponding localized resources MFC90XXX.DLL. -For more information on both of these topics, please see the section on -redistributing Visual C++ applications in MSDN documentation. - -///////////////////////////////////////////////////////////////////////////// diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/8554/SDK8554/pci7250.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/8554/SDK8554/pci7250.suo deleted file mode 100644 index f429184..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/8554/SDK8554/pci7250.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/8554/SDK8554/pci8554.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/8554/SDK8554/pci8554.cpp deleted file mode 100644 index 295a6df..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/8554/SDK8554/pci8554.cpp +++ /dev/null @@ -1,115 +0,0 @@ - -// pci8554.cpp : Defines the class behaviors for the application. -// - -#include "stdafx.h" -#include "pci8554.h" -#include "pci8554Dlg.h" -#include "CardIDDlg.h" - -#include "Dask64.h" - -#ifdef _DEBUG -#define new DEBUG_NEW -#endif - - -// Cpci8554App - -BEGIN_MESSAGE_MAP(Cpci8554App, CWinAppEx) - ON_COMMAND(ID_HELP, &CWinApp::OnHelp) -END_MESSAGE_MAP() - - -// Cpci8554App construction - -Cpci8554App::Cpci8554App() -{ - // TODO: add construction code here, - // Place all significant initialization in InitInstance -} - - -// The one and only Cpci8554App object - -Cpci8554App theApp; - - -// Cpci8554App initialization - -BOOL Cpci8554App::InitInstance() -{ - int nCardID = 0; - I16 hCard; - CString strTemp; - INT_PTR nResponse; - // InitCommonControlsEx() is required on Windows XP if an application - // manifest specifies use of ComCtl32.dll version 6 or later to enable - // visual styles. Otherwise, any window creation will fail. - INITCOMMONCONTROLSEX InitCtrls; - InitCtrls.dwSize = sizeof(InitCtrls); - // Set this to include all the common control classes you want to use - // in your application. - InitCtrls.dwICC = ICC_WIN95_CLASSES; - InitCommonControlsEx(&InitCtrls); - - CWinAppEx::InitInstance(); - - AfxEnableControlContainer(); - - // Standard initialization - // If you are not using these features and wish to reduce the size - // of your final executable, you should remove from the following - // the specific initialization routines you do not need - // Change the registry key under which our settings are stored - // TODO: You should modify this string to be something appropriate - // such as the name of your company or organization - SetRegistryKey(_T("Local AppWizard-Generated Applications")); - - - // TODO: Add extra initialization here - CCardIDDlg CardDlg( nCardID ); - - nResponse = CardDlg.DoModal(); - if (nResponse == IDOK) - { - nCardID = CardDlg.GetCardID(); - - if ((hCard=Register_Card(PCI_8554, nCardID)) < 0) - { - strTemp.Format( TEXT("Register_Card Error = %d"), hCard); - AfxMessageBox( strTemp ); - } - else - { - Cpci8554Dlg dlg(hCard); - m_pMainWnd = &dlg; - nResponse = dlg.DoModal(); - if (nResponse == IDOK) - { - // TODO: Place code here to handle when the dialog is - // dismissed with OK - } - else if (nResponse == IDCANCEL) - { - // TODO: Place code here to handle when the dialog is - // dismissed with Cancel - } - - if (hCard >= 0) Release_Card(hCard); - } - - } - else if (nResponse == IDCANCEL) - { - // TODO: Place code here to handle when the dialog is - // dismissed with Cancel - } - - - - - // Since the dialog has been closed, return FALSE so that we exit the - // application, rather than start the application's message pump. - return FALSE; -} diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/8554/SDK8554/pci8554.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/8554/SDK8554/pci8554.h deleted file mode 100644 index 4022708..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/8554/SDK8554/pci8554.h +++ /dev/null @@ -1,32 +0,0 @@ - -// pci8554.h : main header file for the PROJECT_NAME application -// - -#pragma once - -#ifndef __AFXWIN_H__ - #error "include 'stdafx.h' before including this file for PCH" -#endif - -#include "resource.h" // main symbols - - -// Cpci8554App: -// See pci8554.cpp for the implementation of this class -// - -class Cpci8554App : public CWinAppEx -{ -public: - Cpci8554App(); - -// Overrides - public: - virtual BOOL InitInstance(); - -// Implementation - - DECLARE_MESSAGE_MAP() -}; - -extern Cpci8554App theApp; \ No newline at end of file diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/8554/SDK8554/pci8554.rc b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/8554/SDK8554/pci8554.rc deleted file mode 100644 index 62878c0..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/8554/SDK8554/pci8554.rc +++ /dev/null @@ -1,295 +0,0 @@ -// Microsoft Visual C++ generated resource script. -// -#include "resource.h" - -#define APSTUDIO_READONLY_SYMBOLS -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 2 resource. -// -#ifndef APSTUDIO_INVOKED -#include "targetver.h" -#endif -#include "afxres.h" - -///////////////////////////////////////////////////////////////////////////// -#undef APSTUDIO_READONLY_SYMBOLS - -///////////////////////////////////////////////////////////////////////////// -// Chinese (Taiwan) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_CHT) -#ifdef _WIN32 -LANGUAGE LANG_CHINESE, SUBLANG_CHINESE_TRADITIONAL -#pragma code_page(950) -#endif //_WIN32 - -#ifdef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// TEXTINCLUDE -// - -1 TEXTINCLUDE -BEGIN - "resource.h\0" -END - -2 TEXTINCLUDE -BEGIN - "#ifndef APSTUDIO_INVOKED\r\n" - "#include ""targetver.h""\r\n" - "#endif\r\n" - "#include ""afxres.h""\r\n" - "\0" -END - -3 TEXTINCLUDE -BEGIN - "#define _AFX_NO_SPLITTER_RESOURCES\r\n" - "#define _AFX_NO_OLE_RESOURCES\r\n" - "#define _AFX_NO_TRACKER_RESOURCES\r\n" - "#define _AFX_NO_PROPERTY_RESOURCES\r\n" - "\r\n" - "#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)\r\n" - "LANGUAGE 9, 1\r\n" - "#pragma code_page(1252)\r\n" - "#include ""res\\pci8554.rc2"" // non-Microsoft Visual C++ edited resources\r\n" - "#include ""afxres.rc"" // Standard components\r\n" - "#endif\r\n" - "\0" -END - -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// Icon -// - -// Icon with lowest ID value placed first to ensure application icon -// remains consistent on all systems. -IDR_MAINFRAME ICON "res\\pci8554.ico" -#endif // Chinese (Taiwan) resources -///////////////////////////////////////////////////////////////////////////// - - -///////////////////////////////////////////////////////////////////////////// -// English (U.S.) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -#ifdef _WIN32 -LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US -#pragma code_page(1252) -#endif //_WIN32 - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog -// - -IDD_ABOUTBOX DIALOGEX 0, 0, 170, 62 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "About pci8554" -FONT 8, "MS Shell Dlg", 0, 0, 0x1 -BEGIN - ICON IDR_MAINFRAME,IDC_STATIC,14,14,21,20 - LTEXT "pci8554, Version 1.0",IDC_STATIC,42,14,114,8,SS_NOPREFIX - LTEXT "Copyright (C) 2010",IDC_STATIC,42,26,114,8 - DEFPUSHBUTTON "OK",IDOK,113,41,50,14,WS_GROUP -END - -IDD_PCI8554_DIALOG DIALOGEX 0, 0, 320, 203 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU -EXSTYLE WS_EX_APPWINDOW -CAPTION "pci8554" -FONT 8, "MS Shell Dlg", 0, 0, 0x1 -BEGIN - COMBOBOX IDC_COMBO_MODE,90,19,131,18,CBS_DROPDOWN | CBS_SORT | WS_VSCROLL | WS_TABSTOP - GROUPBOX "",IDC_STATIC,12,43,295,123 - LTEXT "Generate 250KHz",IDC_STATIC_INTRO,36,59,248,47 - PUSHBUTTON "Start",IDC_BT_START,116,175,72,21 - LTEXT "*** 250 KHz",IDC_STATIC_STATUS,36,122,248,34 -END - -IDD_CARDID_DIALOG DIALOGEX 0, 0, 185, 93 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU -EXSTYLE WS_EX_APPWINDOW -CAPTION "Card ID" -FONT 8, "MS Shell Dlg", 400, 0, 0x0 -BEGIN - COMBOBOX IDC_COMBO_CARDID,83,24,71,126,CBS_DROPDOWN | WS_VSCROLL | WS_TABSTOP - LTEXT "Card Number",IDC_STATIC_01,29,25,46,12 - PUSHBUTTON "OK",IDOK,30,57,58,19 - PUSHBUTTON "CANCEL",IDCANCEL,94,57,58,19 -END - - -///////////////////////////////////////////////////////////////////////////// -// -// Version -// - -VS_VERSION_INFO VERSIONINFO - FILEVERSION 1,0,0,1 - PRODUCTVERSION 1,0,0,1 - FILEFLAGSMASK 0x3fL -#ifdef _DEBUG - FILEFLAGS 0x1L -#else - FILEFLAGS 0x0L -#endif - FILEOS 0x4L - FILETYPE 0x1L - FILESUBTYPE 0x0L -BEGIN - BLOCK "StringFileInfo" - BEGIN - BLOCK "040904e4" - BEGIN - VALUE "CompanyName", "TODO: " - VALUE "FileDescription", "TODO: " - VALUE "FileVersion", "1.0.0.1" - VALUE "InternalName", "pci8554.exe" - VALUE "LegalCopyright", "TODO: (c) . All rights reserved." - VALUE "OriginalFilename", "pci8554.exe" - VALUE "ProductName", "TODO: " - VALUE "ProductVersion", "1.0.0.1" - END - END - BLOCK "VarFileInfo" - BEGIN - VALUE "Translation", 0x409, 1252 - END -END - - -///////////////////////////////////////////////////////////////////////////// -// -// DESIGNINFO -// - -#ifdef APSTUDIO_INVOKED -GUIDELINES DESIGNINFO -BEGIN - IDD_ABOUTBOX, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 163 - TOPMARGIN, 7 - BOTTOMMARGIN, 55 - END - - IDD_PCI8554_DIALOG, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 313 - TOPMARGIN, 7 - BOTTOMMARGIN, 196 - END - - IDD_CARDID_DIALOG, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 178 - TOPMARGIN, 7 - BOTTOMMARGIN, 86 - END -END -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog Info -// - -IDD_CARDID_DIALOG DLGINIT -BEGIN - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0030, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0031, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0032, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0033, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0034, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0035, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0036, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0037, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0038, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0039, - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3031, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3131, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3231, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3331, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3431, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3531, "\000" - 0 -END - -IDD_PCI8554_DIALOG DLGINIT -BEGIN - IDC_COMBO_MODE, 0x403, 12, 0 -0x7153, 0x6175, 0x6572, 0x5720, 0x7661, 0x0065, - IDC_COMBO_MODE, 0x403, 16, 0 -0x7550, 0x736c, 0x2065, 0x6547, 0x656e, 0x6172, 0x6f74, 0x0072, - IDC_COMBO_MODE, 0x403, 20, 0 -0x654d, 0x7361, 0x7275, 0x2065, 0x7550, 0x736c, 0x2065, 0x6957, 0x7464, -0x0068, - IDC_COMBO_MODE, 0x403, 18, 0 -0x654d, 0x7361, 0x7275, 0x2065, 0x7246, 0x7165, 0x6575, 0x636e, 0x0079, - - 0 -END - - -///////////////////////////////////////////////////////////////////////////// -// -// String Table -// - -STRINGTABLE -BEGIN - IDS_ABOUTBOX "&About pci8554..." -END - -#endif // English (U.S.) resources -///////////////////////////////////////////////////////////////////////////// - - - -#ifndef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 3 resource. -// -#define _AFX_NO_SPLITTER_RESOURCES -#define _AFX_NO_OLE_RESOURCES -#define _AFX_NO_TRACKER_RESOURCES -#define _AFX_NO_PROPERTY_RESOURCES - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -LANGUAGE 9, 1 -#pragma code_page(1252) -#include "res\pci8554.rc2" // non-Microsoft Visual C++ edited resources -#include "afxres.rc" // Standard components -#endif - -///////////////////////////////////////////////////////////////////////////// -#endif // not APSTUDIO_INVOKED - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/8554/SDK8554/pci8554.sln b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/8554/SDK8554/pci8554.sln deleted file mode 100644 index ddee8df..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/8554/SDK8554/pci8554.sln +++ /dev/null @@ -1,20 +0,0 @@ - -Microsoft Visual Studio Solution File, Format Version 10.00 -# Visual Studio 2008 -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "pci8554", "pci8554.vcproj", "{8C2C396A-F3FC-491F-BEE7-8A6F10254B8D}" -EndProject -Global - GlobalSection(SolutionConfigurationPlatforms) = preSolution - Debug|x64 = Debug|x64 - Release|x64 = Release|x64 - EndGlobalSection - GlobalSection(ProjectConfigurationPlatforms) = postSolution - {8C2C396A-F3FC-491F-BEE7-8A6F10254B8D}.Debug|x64.ActiveCfg = Debug|x64 - {8C2C396A-F3FC-491F-BEE7-8A6F10254B8D}.Debug|x64.Build.0 = Debug|x64 - {8C2C396A-F3FC-491F-BEE7-8A6F10254B8D}.Release|x64.ActiveCfg = Release|x64 - {8C2C396A-F3FC-491F-BEE7-8A6F10254B8D}.Release|x64.Build.0 = Release|x64 - EndGlobalSection - GlobalSection(SolutionProperties) = preSolution - HideSolutionNode = FALSE - EndGlobalSection -EndGlobal diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/8554/SDK8554/pci8554.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/8554/SDK8554/pci8554.suo deleted file mode 100644 index dfd11da..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/8554/SDK8554/pci8554.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/8554/SDK8554/pci8554.vcproj b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/8554/SDK8554/pci8554.vcproj deleted file mode 100644 index 786f2ef..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/8554/SDK8554/pci8554.vcproj +++ /dev/null @@ -1,314 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/8554/SDK8554/pci8554Dlg.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/8554/SDK8554/pci8554Dlg.cpp deleted file mode 100644 index f81a781..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/8554/SDK8554/pci8554Dlg.cpp +++ /dev/null @@ -1,318 +0,0 @@ - -// pci8554Dlg.cpp : implementation file -// - -#include "stdafx.h" -#include -#include "pci8554.h" -#include "pci8554Dlg.h" - -#ifdef _DEBUG -#define new DEBUG_NEW -#endif - - -// CAboutDlg dialog used for App About - -class CAboutDlg : public CDialog -{ -public: - CAboutDlg(); - -// Dialog Data - enum { IDD = IDD_ABOUTBOX }; - - protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - -// Implementation -protected: - DECLARE_MESSAGE_MAP() -}; - -CAboutDlg::CAboutDlg() : CDialog(CAboutDlg::IDD) -{ -} - -void CAboutDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); -} - -BEGIN_MESSAGE_MAP(CAboutDlg, CDialog) -END_MESSAGE_MAP() - - -// Cpci8554Dlg dialog - - -Cpci8554Dlg::Cpci8554Dlg(I16 hCard, CWnd* pParent /*=NULL*/) - : CDialog(Cpci8554Dlg::IDD, pParent) -{ - m_hIcon = AfxGetApp()->LoadIcon(IDR_MAINFRAME); - m_hCard = hCard; - m_OperationMode = 0; -} - -void Cpci8554Dlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); - DDX_Control(pDX, IDC_COMBO_MODE, m_cbMode); -} - -BEGIN_MESSAGE_MAP(Cpci8554Dlg, CDialog) - ON_WM_SYSCOMMAND() - ON_WM_PAINT() - ON_WM_QUERYDRAGICON() - //}}AFX_MSG_MAP - ON_WM_DESTROY() - ON_CBN_SELCHANGE(IDC_COMBO_MODE, &Cpci8554Dlg::OnModeSelchange) - ON_BN_CLICKED(IDC_BT_START, &Cpci8554Dlg::OnBnClickedBtStart) -END_MESSAGE_MAP() - - -// Cpci8554Dlg message handlers - -BOOL Cpci8554Dlg::OnInitDialog() -{ - CDialog::OnInitDialog(); - - // Add "About..." menu item to system menu. - - // IDM_ABOUTBOX must be in the system command range. - ASSERT((IDM_ABOUTBOX & 0xFFF0) == IDM_ABOUTBOX); - ASSERT(IDM_ABOUTBOX < 0xF000); - - CMenu* pSysMenu = GetSystemMenu(FALSE); - if (pSysMenu != NULL) - { - BOOL bNameValid; - CString strAboutMenu; - bNameValid = strAboutMenu.LoadString(IDS_ABOUTBOX); - ASSERT(bNameValid); - if (!strAboutMenu.IsEmpty()) - { - pSysMenu->AppendMenu(MF_SEPARATOR); - pSysMenu->AppendMenu(MF_STRING, IDM_ABOUTBOX, strAboutMenu); - } - } - - // Set the icon for this dialog. The framework does this automatically - // when the application's main window is not a dialog - SetIcon(m_hIcon, TRUE); // Set big icon - SetIcon(m_hIcon, FALSE); // Set small icon - - - m_cbMode.SetCurSel( m_OperationMode ); - - return TRUE; // return TRUE unless you set the focus to a control -} - -void Cpci8554Dlg::OnSysCommand(UINT nID, LPARAM lParam) -{ - if ((nID & 0xFFF0) == IDM_ABOUTBOX) - { - CAboutDlg dlgAbout; - dlgAbout.DoModal(); - } - else - { - CDialog::OnSysCommand(nID, lParam); - } -} - -// If you add a minimize button to your dialog, you will need the code below -// to draw the icon. For MFC applications using the document/view model, -// this is automatically done for you by the framework. - -void Cpci8554Dlg::OnPaint() -{ - if (IsIconic()) - { - CPaintDC dc(this); // device context for painting - - SendMessage(WM_ICONERASEBKGND, reinterpret_cast(dc.GetSafeHdc()), 0); - - // Center icon in client rectangle - int cxIcon = GetSystemMetrics(SM_CXICON); - int cyIcon = GetSystemMetrics(SM_CYICON); - CRect rect; - GetClientRect(&rect); - int x = (rect.Width() - cxIcon + 1) / 2; - int y = (rect.Height() - cyIcon + 1) / 2; - - // Draw the icon - dc.DrawIcon(x, y, m_hIcon); - } - else - { - CDialog::OnPaint(); - } -} - -// The system calls this function to obtain the cursor to display while the user drags -// the minimized window. -HCURSOR Cpci8554Dlg::OnQueryDragIcon() -{ - return static_cast(m_hIcon); -} - -void Cpci8554Dlg::OnDestroy() -{ - CDialog::OnDestroy(); - - // TODO: Add your message handler code here -} - -void Cpci8554Dlg::OnModeSelchange() -{ - // TODO: Add your control notification handler code here - int nIndex; - CString strTmp; - - nIndex = m_cbMode.GetCurSel(); - switch( nIndex ) - { - case 0: - SetDlgItemText( IDC_STATIC_INTRO, TEXT("Generate 250 KHz square wave, The clock source of the counter #1 is set to C8M.") ); - m_OperationMode = 0; - - break; - case 1: - SetDlgItemText( IDC_STATIC_INTRO, TEXT("Generate one pulse every hour.\n\t<1> the clock source of the counter #1 is set to C8M\n\t<2> the clock source of counter #2, #3 is from #1, #2.") ); - m_OperationMode = 1; - - break; - case 2: - SetDlgItemText( IDC_STATIC_INTRO, TEXT("Measure pulse width.\n\t<1> the clock source of the counter #1 is set to C8M\n\t<2> the signal to be measured is connected to GATE1.") ); - m_OperationMode = 2; - - break; - case 3: - SetDlgItemText( IDC_STATIC_INTRO, TEXT("Measure signal frequency\n\t<1> Connect the signal to be measured to ECLK1\n\t<2> the clock source of the counter #2,#3 set to C8M, COUT2\n\t<3> the gate source of the counter #1 set to the inverse of COUT3\n\t<4> the gate source of the counter #2, #3 set to High.") ); - m_OperationMode = 3; - - break; - } -} - -void Cpci8554Dlg::OnBnClickedBtStart() -{ - // TODO: Add your control notification handler code here - U16 under_flow; - U32 old_value, new_value, value; - double pulse_width, period, frequency; - CString strTmp; - - GetDlgItem(IDC_BT_START)->EnableWindow(FALSE); - - switch (m_OperationMode) - { - case 0: //Square Wave - CTR_8554_CK1_Config(m_hCard, CK1_C8M); - CTR_8554_ClkSrc_Config(m_hCard, 1, CK1); - CTR_8554_ClkSrc_Config(m_hCard, 2, CK1); - CTR_8554_ClkSrc_Config(m_hCard, 3, CK1); - CTR_8554_ClkSrc_Config(m_hCard, 4, CK1); - CTR_8554_ClkSrc_Config(m_hCard, 5, CK1); - CTR_8554_ClkSrc_Config(m_hCard, 6, CK1); - CTR_8554_ClkSrc_Config(m_hCard, 7, CK1); - CTR_8554_ClkSrc_Config(m_hCard, 8, CK1); - CTR_8554_ClkSrc_Config(m_hCard, 9, CK1); - CTR_8554_ClkSrc_Config(m_hCard, 10, CK1); - CTR_Setup(m_hCard, 1, 3, 32, BIN); - CTR_Setup(m_hCard, 2, 3, 32, BIN); - CTR_Setup(m_hCard, 3, 3, 32, BIN); - CTR_Setup(m_hCard, 4, 3, 32, BIN); - CTR_Setup(m_hCard, 5, 3, 32, BIN); - CTR_Setup(m_hCard, 6, 3, 32, BIN); - CTR_Setup(m_hCard, 7, 3, 32, BIN); - CTR_Setup(m_hCard, 8, 3, 32, BIN); - CTR_Setup(m_hCard, 9, 3, 32, BIN); - CTR_Setup(m_hCard, 10, 3, 32, BIN); - SetDlgItemText( IDC_STATIC_STATUS, TEXT("*** 250 KHz square wave is ready on the COUT1 ~ 11 ***") ); - break; - - case 1: //Pluse Generator - CTR_8554_CK1_Config(m_hCard, CK1_C8M); - CTR_8554_ClkSrc_Config(m_hCard, 1, CK1); - CTR_8554_ClkSrc_Config(m_hCard, 2, COUTN_1); - CTR_8554_ClkSrc_Config(m_hCard, 3, COUTN_1); - CTR_Setup(m_hCard, 1, 3, 200, 0); - CTR_Setup(m_hCard, 2, 3, 200, 0); - CTR_Setup(m_hCard, 3, 3, 200, 0); - SetDlgItemText( IDC_STATIC_STATUS, TEXT("*** A pulse per second is ready on the COUT3 ***") ); - break; - - case 2: //Measure Pulse Width - CTR_8554_CK1_Config(m_hCard, CK1_C8M); - CTR_8554_ClkSrc_Config(m_hCard, 1, CK1); - CTR_Setup(m_hCard, 1, 2, 0, BIN); - - under_flow = 0; - wait_pulse_start(); - time( &m_time1 ); - - CTR_Read(m_hCard, 1, &old_value); - while (1) - { - CTR_Read(m_hCard, 1, &new_value); - time( &m_time2 ); - period = difftime( m_time2, m_time1 ); - - if ( (new_value == old_value) || (period > 5.0) ) - break; - - if ( old_value < new_value ) under_flow++; - - old_value = new_value; - } - - if (period < 5.0) - { - pulse_width = (65536 - new_value + under_flow * 65536 + 1) * 0.125; - strTmp.Format( TEXT("*** High level pulse width = %f micro-second ***"), pulse_width); - SetDlgItemText( IDC_STATIC_STATUS, strTmp ); - } - else - SetDlgItemText( IDC_STATIC_STATUS, TEXT("*** Measure inappropriate pulse width ***") ); - break; - - case 3: //Measure Frequency - CTR_8554_ClkSrc_Config(m_hCard, 1, ECKN); - CTR_8554_CK1_Config(m_hCard, CK1_C8M); - CTR_8554_ClkSrc_Config(m_hCard, 2, CK1); - CTR_8554_ClkSrc_Config(m_hCard, 3, COUTN_1); - CTR_Setup(m_hCard, 1, 2, 65535, 0); - CTR_Setup(m_hCard, 2, 2, 4, 0); - CTR_Setup(m_hCard, 3, 0, 65535, 0); - Sleep(1000); - CTR_Read(m_hCard, 1, &value); - period = 65535 - (value&0xffff); - frequency = period * 2000000 / 65535; - strTmp.Format( TEXT("Measured Signal Frequency = %f Hz."), frequency); - SetDlgItemText( IDC_STATIC_STATUS, strTmp ); - break; - } - - GetDlgItem(IDC_BT_START)->EnableWindow(TRUE); -} - -void Cpci8554Dlg::wait_pulse_start(void) -{ - U32 oldvalue,newvalue; - - do - { - CTR_Read( m_hCard, 1, &oldvalue ); - CTR_Read( m_hCard, 1, &newvalue ); - - } while( newvalue != oldvalue ); - - do - { - CTR_Read( m_hCard, 1, &oldvalue ); - CTR_Read( m_hCard, 1, &newvalue ); - - } while( newvalue == oldvalue ); -} diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/8554/SDK8554/pci8554Dlg.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/8554/SDK8554/pci8554Dlg.h deleted file mode 100644 index 14d0335..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/8554/SDK8554/pci8554Dlg.h +++ /dev/null @@ -1,48 +0,0 @@ - -// pci8554Dlg.h : header file -// -#include "Dask64.h" - -#pragma once - - -// Cpci8554Dlg dialog -class Cpci8554Dlg : public CDialog -{ -// Construction -public: - Cpci8554Dlg(I16 nCard, CWnd* pParent = NULL); // standard constructor - -// Dialog Data - enum { IDD = IDD_PCI8554_DIALOG }; - - protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - - -// Implementation -protected: - HICON m_hIcon; - int m_OperationMode; - time_t m_time1, m_time2; - - - // Generated message map functions - virtual BOOL OnInitDialog(); - afx_msg void OnSysCommand(UINT nID, LPARAM lParam); - afx_msg void OnPaint(); - afx_msg HCURSOR OnQueryDragIcon(); - DECLARE_MESSAGE_MAP() -public: - CComboBox m_cbMode; - - -public: - // the CardID of targer device - I16 m_hCard; - afx_msg void OnTimer(UINT_PTR nIDEvent); - afx_msg void OnDestroy(); - afx_msg void OnModeSelchange(); - afx_msg void OnBnClickedBtStart(); - void wait_pulse_start(void); -}; diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/8554/SDK8554/res/black.ico b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/8554/SDK8554/res/black.ico deleted file mode 100644 index b5c375f..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/8554/SDK8554/res/black.ico and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/8554/SDK8554/res/blue.ico b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/8554/SDK8554/res/blue.ico deleted file mode 100644 index 1df4b39..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/8554/SDK8554/res/blue.ico and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/8554/SDK8554/res/green.ico b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/8554/SDK8554/res/green.ico deleted file mode 100644 index d9a9fd3..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/8554/SDK8554/res/green.ico and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/8554/SDK8554/res/pci8554.ico b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/8554/SDK8554/res/pci8554.ico deleted file mode 100644 index d56fbcd..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/8554/SDK8554/res/pci8554.ico and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/8554/SDK8554/res/pci8554.rc2 b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/8554/SDK8554/res/pci8554.rc2 deleted file mode 100644 index a19944b..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/8554/SDK8554/res/pci8554.rc2 +++ /dev/null @@ -1,13 +0,0 @@ -// -// pci7250.RC2 - resources Microsoft Visual C++ does not edit directly -// - -#ifdef APSTUDIO_INVOKED -#error this file is not editable by Microsoft Visual C++ -#endif //APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// Add manually edited resources here... - -///////////////////////////////////////////////////////////////////////////// diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/8554/SDK8554/res/pink.ico b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/8554/SDK8554/res/pink.ico deleted file mode 100644 index 18bdaad..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/8554/SDK8554/res/pink.ico and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/8554/SDK8554/res/red.ico b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/8554/SDK8554/res/red.ico deleted file mode 100644 index 7644596..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/8554/SDK8554/res/red.ico and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/8554/SDK8554/res/yellow.ico b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/8554/SDK8554/res/yellow.ico deleted file mode 100644 index 3449de2..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/8554/SDK8554/res/yellow.ico and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/8554/SDK8554/resource.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/8554/SDK8554/resource.h deleted file mode 100644 index e082377..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/8554/SDK8554/resource.h +++ /dev/null @@ -1,28 +0,0 @@ -//{{NO_DEPENDENCIES}} -// Microsoft Visual C++ generated include file. -// Used by pci8554.rc -// -#define IDM_ABOUTBOX 0x0010 -#define IDD_ABOUTBOX 100 -#define IDS_ABOUTBOX 101 -#define IDD_PCI8554_DIALOG 102 -#define IDD_CARDID_DIALOG 105 -#define IDR_MAINFRAME 106 -#define IDC_STATIC_01 107 -#define IDC_COMBO_CARDID 108 -#define IDC_COMBO_MODE 1001 -#define IDC_STATIC_INTRO 1002 -#define IDC_BUTTON1 1003 -#define IDC_BT_START 1003 -#define IDC_STATIC_STATUS 1004 - -// Next default values for new objects -// -#ifdef APSTUDIO_INVOKED -#ifndef APSTUDIO_READONLY_SYMBOLS -#define _APS_NEXT_RESOURCE_VALUE 146 -#define _APS_NEXT_COMMAND_VALUE 32771 -#define _APS_NEXT_CONTROL_VALUE 1005 -#define _APS_NEXT_SYMED_VALUE 109 -#endif -#endif diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/8554/SDK8554/stdafx.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/8554/SDK8554/stdafx.cpp deleted file mode 100644 index e2a008f..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/8554/SDK8554/stdafx.cpp +++ /dev/null @@ -1,8 +0,0 @@ - -// stdafx.cpp : source file that includes just the standard includes -// pci7250.pch will be the pre-compiled header -// stdafx.obj will contain the pre-compiled type information - -#include "stdafx.h" - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/8554/SDK8554/stdafx.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/8554/SDK8554/stdafx.h deleted file mode 100644 index 12123e2..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/8554/SDK8554/stdafx.h +++ /dev/null @@ -1,60 +0,0 @@ - -// stdafx.h : include file for standard system include files, -// or project specific include files that are used frequently, -// but are changed infrequently - -#pragma once - -#ifndef _SECURE_ATL -#define _SECURE_ATL 1 -#endif - -#ifndef VC_EXTRALEAN -#define VC_EXTRALEAN // Exclude rarely-used stuff from Windows headers -#endif - -#include "targetver.h" - -#define _ATL_CSTRING_EXPLICIT_CONSTRUCTORS // some CString constructors will be explicit - -// turns off MFC's hiding of some common and often safely ignored warning messages -#define _AFX_ALL_WARNINGS - -#include // MFC core and standard components -#include // MFC extensions - - -#include // MFC Automation classes - - - -#ifndef _AFX_NO_OLE_SUPPORT -#include // MFC support for Internet Explorer 4 Common Controls -#endif -#ifndef _AFX_NO_AFXCMN_SUPPORT -#include // MFC support for Windows Common Controls -#endif // _AFX_NO_AFXCMN_SUPPORT - -#include // MFC support for ribbons and control bars - - - - - - - - - -#ifdef _UNICODE -#if defined _M_IX86 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='x86' publicKeyToken='6595b64144ccf1df' language='*'\"") -#elif defined _M_IA64 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='ia64' publicKeyToken='6595b64144ccf1df' language='*'\"") -#elif defined _M_X64 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='amd64' publicKeyToken='6595b64144ccf1df' language='*'\"") -#else -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='*' publicKeyToken='6595b64144ccf1df' language='*'\"") -#endif -#endif - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/8554/SDK8554/targetver.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/8554/SDK8554/targetver.h deleted file mode 100644 index 11730d5..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/8554/SDK8554/targetver.h +++ /dev/null @@ -1,26 +0,0 @@ - -#pragma once - -// The following macros define the minimum required platform. The minimum required platform -// is the earliest version of Windows, Internet Explorer etc. that has the necessary features to run -// your application. The macros work by enabling all features available on platform versions up to and -// including the version specified. - -// Modify the following defines if you have to target a platform prior to the ones specified below. -// Refer to MSDN for the latest info on corresponding values for different platforms. -#ifndef WINVER // Specifies that the minimum required platform is Windows Vista. -#define WINVER 0x0600 // Change this to the appropriate value to target other versions of Windows. -#endif - -#ifndef _WIN32_WINNT // Specifies that the minimum required platform is Windows Vista. -#define _WIN32_WINNT 0x0600 // Change this to the appropriate value to target other versions of Windows. -#endif - -#ifndef _WIN32_WINDOWS // Specifies that the minimum required platform is Windows 98. -#define _WIN32_WINDOWS 0x0410 // Change this to the appropriate value to target Windows Me or later. -#endif - -#ifndef _WIN32_IE // Specifies that the minimum required platform is Internet Explorer 7.0. -#define _WIN32_IE 0x0700 // Change this to the appropriate value to target other versions of IE. -#endif - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/8554/SdkEventCnt/CardIDDlg.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/8554/SdkEventCnt/CardIDDlg.cpp deleted file mode 100644 index a3ab939..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/8554/SdkEventCnt/CardIDDlg.cpp +++ /dev/null @@ -1,67 +0,0 @@ -// CardIDDlg.cpp : implementation file -// - -#include "stdafx.h" -#include "pci8554.h" -#include "CardIDDlg.h" - - -// CCardIDDlg dialog - -IMPLEMENT_DYNAMIC(CCardIDDlg, CDialog) - -CCardIDDlg::CCardIDDlg(int nCardIdx, CWnd* pParent /*=NULL*/) - : CDialog(CCardIDDlg::IDD, pParent) -{ - m_nCardIdx = nCardIdx; -} - -CCardIDDlg::~CCardIDDlg() -{ -} - -void CCardIDDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); - DDX_Control(pDX, IDC_COMBO_CARDID, m_cbCardID); -} - - -BEGIN_MESSAGE_MAP(CCardIDDlg, CDialog) -// ON_CBN_SELCHANGE(IDC_COMBO_CARDID, &CCardIDDlg::OnCbnSelchangeComboCardid) -ON_BN_CLICKED(IDOK, &CCardIDDlg::OnBnClickedOk) -//ON_WM_CTLCOLOR() -END_MESSAGE_MAP() - - -// CCardIDDlg message handlers - - -void CCardIDDlg::OnBnClickedOk() -{ - // TODO: Add your control notification handler code here - -// UpdateData(TRUE); - m_nCardIdx = m_cbCardID.GetCurSel(); - - OnOK(); -} - -BOOL CCardIDDlg::OnInitDialog() -{ - CDialog::OnInitDialog(); - - // TODO: Add extra initialization here - m_cbCardID.SetCurSel( m_nCardIdx ); - - return TRUE; // return TRUE unless you set the focus to a control - // EXCEPTION: OCX Property Pages should return FALSE -} - -// the function to get the selected CardID -int CCardIDDlg::GetCardID(void) -{ - return m_nCardIdx; -} - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/8554/SdkEventCnt/CardIDDlg.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/8554/SdkEventCnt/CardIDDlg.h deleted file mode 100644 index 54628ea..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/8554/SdkEventCnt/CardIDDlg.h +++ /dev/null @@ -1,33 +0,0 @@ -#pragma once -#include "afxwin.h" - - -// CCardIDDlg dialog - -class CCardIDDlg : public CDialog -{ - DECLARE_DYNAMIC(CCardIDDlg) - -public: - CCardIDDlg(int nCardIdx, CWnd* pParent = NULL); // standard constructor - virtual ~CCardIDDlg(); - -// Dialog Data - enum { IDD = IDD_CARDID_DIALOG }; - -protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - - DECLARE_MESSAGE_MAP() -public: -// afx_msg void OnCbnSelchangeComboCardid(); - afx_msg void OnBnClickedOk(); - // the setting of CardID ComboBox - int m_nCardIdx; - virtual BOOL OnInitDialog(); - // the control of CardID ComboBox - CComboBox m_cbCardID; - // the function to get the selected CardID - int GetCardID(void); -// afx_msg HBRUSH OnCtlColor(CDC* pDC, CWnd* pWnd, UINT nCtlColor); -}; diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/8554/SdkEventCnt/ReadMe.txt b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/8554/SdkEventCnt/ReadMe.txt deleted file mode 100644 index 74d4f34..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/8554/SdkEventCnt/ReadMe.txt +++ /dev/null @@ -1,93 +0,0 @@ -================================================================================ - MICROSOFT FOUNDATION CLASS LIBRARY : pci8554 Project Overview -=============================================================================== - -The application wizard has created this pci8554 application for -you. This application not only demonstrates the basics of using the Microsoft -Foundation Classes but is also a starting point for writing your application. - -This file contains a summary of what you will find in each of the files that -make up your pci8554 application. - -pci8554.vcproj - This is the main project file for VC++ projects generated using an application wizard. - It contains information about the version of Visual C++ that generated the file, and - information about the platforms, configurations, and project features selected with the - application wizard. - -pci8554.h - This is the main header file for the application. It includes other - project specific headers (including Resource.h) and declares the - Cpci8554App application class. - -pci8554.cpp - This is the main application source file that contains the application - class Cpci8554App. - -pci8554.rc - This is a listing of all of the Microsoft Windows resources that the - program uses. It includes the icons, bitmaps, and cursors that are stored - in the RES subdirectory. This file can be directly edited in Microsoft - Visual C++. Your project resources are in 1033. - -res\pci8554.ico - This is an icon file, which is used as the application's icon. This - icon is included by the main resource file pci8554.rc. - -res\pci8554.rc2 - This file contains resources that are not edited by Microsoft - Visual C++. You should place all resources not editable by - the resource editor in this file. - - -///////////////////////////////////////////////////////////////////////////// - -The application wizard creates one dialog class: - -pci8554Dlg.h, pci8554Dlg.cpp - the dialog - These files contain your Cpci8554Dlg class. This class defines - the behavior of your application's main dialog. The dialog's template is - in pci8554.rc, which can be edited in Microsoft Visual C++. - - -///////////////////////////////////////////////////////////////////////////// - -Other Features: - -ActiveX Controls - The application includes support to use ActiveX controls. - -///////////////////////////////////////////////////////////////////////////// - -Other standard files: - -StdAfx.h, StdAfx.cpp - These files are used to build a precompiled header (PCH) file - named pci8554.pch and a precompiled types file named StdAfx.obj. - -Resource.h - This is the standard header file, which defines new resource IDs. - Microsoft Visual C++ reads and updates this file. - -pci8554.manifest - Application manifest files are used by Windows XP to describe an applications - dependency on specific versions of Side-by-Side assemblies. The loader uses this - information to load the appropriate assembly from the assembly cache or private - from the application. The Application manifest maybe included for redistribution - as an external .manifest file that is installed in the same folder as the application - executable or it may be included in the executable in the form of a resource. -///////////////////////////////////////////////////////////////////////////// - -Other notes: - -The application wizard uses "TODO:" to indicate parts of the source code you -should add to or customize. - -If your application uses MFC in a shared DLL, you will need -to redistribute the MFC DLLs. If your application is in a language -other than the operating system's locale, you will also have to -redistribute the corresponding localized resources MFC90XXX.DLL. -For more information on both of these topics, please see the section on -redistributing Visual C++ applications in MSDN documentation. - -///////////////////////////////////////////////////////////////////////////// diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/8554/SdkEventCnt/pci7250.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/8554/SdkEventCnt/pci7250.suo deleted file mode 100644 index f429184..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/8554/SdkEventCnt/pci7250.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/8554/SdkEventCnt/pci8554.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/8554/SdkEventCnt/pci8554.cpp deleted file mode 100644 index 295a6df..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/8554/SdkEventCnt/pci8554.cpp +++ /dev/null @@ -1,115 +0,0 @@ - -// pci8554.cpp : Defines the class behaviors for the application. -// - -#include "stdafx.h" -#include "pci8554.h" -#include "pci8554Dlg.h" -#include "CardIDDlg.h" - -#include "Dask64.h" - -#ifdef _DEBUG -#define new DEBUG_NEW -#endif - - -// Cpci8554App - -BEGIN_MESSAGE_MAP(Cpci8554App, CWinAppEx) - ON_COMMAND(ID_HELP, &CWinApp::OnHelp) -END_MESSAGE_MAP() - - -// Cpci8554App construction - -Cpci8554App::Cpci8554App() -{ - // TODO: add construction code here, - // Place all significant initialization in InitInstance -} - - -// The one and only Cpci8554App object - -Cpci8554App theApp; - - -// Cpci8554App initialization - -BOOL Cpci8554App::InitInstance() -{ - int nCardID = 0; - I16 hCard; - CString strTemp; - INT_PTR nResponse; - // InitCommonControlsEx() is required on Windows XP if an application - // manifest specifies use of ComCtl32.dll version 6 or later to enable - // visual styles. Otherwise, any window creation will fail. - INITCOMMONCONTROLSEX InitCtrls; - InitCtrls.dwSize = sizeof(InitCtrls); - // Set this to include all the common control classes you want to use - // in your application. - InitCtrls.dwICC = ICC_WIN95_CLASSES; - InitCommonControlsEx(&InitCtrls); - - CWinAppEx::InitInstance(); - - AfxEnableControlContainer(); - - // Standard initialization - // If you are not using these features and wish to reduce the size - // of your final executable, you should remove from the following - // the specific initialization routines you do not need - // Change the registry key under which our settings are stored - // TODO: You should modify this string to be something appropriate - // such as the name of your company or organization - SetRegistryKey(_T("Local AppWizard-Generated Applications")); - - - // TODO: Add extra initialization here - CCardIDDlg CardDlg( nCardID ); - - nResponse = CardDlg.DoModal(); - if (nResponse == IDOK) - { - nCardID = CardDlg.GetCardID(); - - if ((hCard=Register_Card(PCI_8554, nCardID)) < 0) - { - strTemp.Format( TEXT("Register_Card Error = %d"), hCard); - AfxMessageBox( strTemp ); - } - else - { - Cpci8554Dlg dlg(hCard); - m_pMainWnd = &dlg; - nResponse = dlg.DoModal(); - if (nResponse == IDOK) - { - // TODO: Place code here to handle when the dialog is - // dismissed with OK - } - else if (nResponse == IDCANCEL) - { - // TODO: Place code here to handle when the dialog is - // dismissed with Cancel - } - - if (hCard >= 0) Release_Card(hCard); - } - - } - else if (nResponse == IDCANCEL) - { - // TODO: Place code here to handle when the dialog is - // dismissed with Cancel - } - - - - - // Since the dialog has been closed, return FALSE so that we exit the - // application, rather than start the application's message pump. - return FALSE; -} diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/8554/SdkEventCnt/pci8554.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/8554/SdkEventCnt/pci8554.h deleted file mode 100644 index 4022708..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/8554/SdkEventCnt/pci8554.h +++ /dev/null @@ -1,32 +0,0 @@ - -// pci8554.h : main header file for the PROJECT_NAME application -// - -#pragma once - -#ifndef __AFXWIN_H__ - #error "include 'stdafx.h' before including this file for PCH" -#endif - -#include "resource.h" // main symbols - - -// Cpci8554App: -// See pci8554.cpp for the implementation of this class -// - -class Cpci8554App : public CWinAppEx -{ -public: - Cpci8554App(); - -// Overrides - public: - virtual BOOL InitInstance(); - -// Implementation - - DECLARE_MESSAGE_MAP() -}; - -extern Cpci8554App theApp; \ No newline at end of file diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/8554/SdkEventCnt/pci8554.rc b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/8554/SdkEventCnt/pci8554.rc deleted file mode 100644 index dbd21d0..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/8554/SdkEventCnt/pci8554.rc +++ /dev/null @@ -1,279 +0,0 @@ -// Microsoft Visual C++ generated resource script. -// -#include "resource.h" - -#define APSTUDIO_READONLY_SYMBOLS -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 2 resource. -// -#ifndef APSTUDIO_INVOKED -#include "targetver.h" -#endif -#include "afxres.h" - -///////////////////////////////////////////////////////////////////////////// -#undef APSTUDIO_READONLY_SYMBOLS - -///////////////////////////////////////////////////////////////////////////// -// Chinese (Taiwan) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_CHT) -#ifdef _WIN32 -LANGUAGE LANG_CHINESE, SUBLANG_CHINESE_TRADITIONAL -#pragma code_page(950) -#endif //_WIN32 - -#ifdef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// TEXTINCLUDE -// - -1 TEXTINCLUDE -BEGIN - "resource.h\0" -END - -2 TEXTINCLUDE -BEGIN - "#ifndef APSTUDIO_INVOKED\r\n" - "#include ""targetver.h""\r\n" - "#endif\r\n" - "#include ""afxres.h""\r\n" - "\0" -END - -3 TEXTINCLUDE -BEGIN - "#define _AFX_NO_SPLITTER_RESOURCES\r\n" - "#define _AFX_NO_OLE_RESOURCES\r\n" - "#define _AFX_NO_TRACKER_RESOURCES\r\n" - "#define _AFX_NO_PROPERTY_RESOURCES\r\n" - "\r\n" - "#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)\r\n" - "LANGUAGE 9, 1\r\n" - "#pragma code_page(1252)\r\n" - "#include ""res\\pci8554.rc2"" // non-Microsoft Visual C++ edited resources\r\n" - "#include ""afxres.rc"" // Standard components\r\n" - "#endif\r\n" - "\0" -END - -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// Icon -// - -// Icon with lowest ID value placed first to ensure application icon -// remains consistent on all systems. -IDR_MAINFRAME ICON "res\\pci8554.ico" -#endif // Chinese (Taiwan) resources -///////////////////////////////////////////////////////////////////////////// - - -///////////////////////////////////////////////////////////////////////////// -// English (U.S.) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -#ifdef _WIN32 -LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US -#pragma code_page(1252) -#endif //_WIN32 - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog -// - -IDD_ABOUTBOX DIALOGEX 0, 0, 170, 62 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "About pci8554" -FONT 8, "MS Shell Dlg", 0, 0, 0x1 -BEGIN - ICON IDR_MAINFRAME,IDC_STATIC,14,14,21,20 - LTEXT "pci8554, Version 1.0",IDC_STATIC,42,14,114,8,SS_NOPREFIX - LTEXT "Copyright (C) 2010",IDC_STATIC,42,26,114,8 - DEFPUSHBUTTON "OK",IDOK,113,41,50,14,WS_GROUP -END - -IDD_PCI8554_DIALOG DIALOGEX 0, 0, 320, 161 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU -EXSTYLE WS_EX_APPWINDOW -CAPTION "PCI-8554 Event Count" -FONT 8, "MS Shell Dlg", 0, 0, 0x1 -BEGIN - GROUPBOX "",IDC_STATIC,12,43,295,71 - PUSHBUTTON "Display event count",IDC_BT_START,111,132,101,21 - LTEXT "Event count value is",IDC_STATIC_STATUS,39,64,248,34 - LTEXT "Connect measured signal to the clock source of the counter #1.\nIt will measure event count every second.",IDC_STATIC,19,14,211,25 -END - -IDD_CARDID_DIALOG DIALOGEX 0, 0, 185, 93 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU -EXSTYLE WS_EX_APPWINDOW -CAPTION "Card ID" -FONT 8, "MS Shell Dlg", 400, 0, 0x0 -BEGIN - COMBOBOX IDC_COMBO_CARDID,83,24,71,126,CBS_DROPDOWN | WS_VSCROLL | WS_TABSTOP - LTEXT "Card Number",IDC_STATIC_01,29,25,46,12 - PUSHBUTTON "OK",IDOK,30,57,58,19 - PUSHBUTTON "CANCEL",IDCANCEL,94,57,58,19 -END - - -///////////////////////////////////////////////////////////////////////////// -// -// Version -// - -VS_VERSION_INFO VERSIONINFO - FILEVERSION 1,0,0,1 - PRODUCTVERSION 1,0,0,1 - FILEFLAGSMASK 0x3fL -#ifdef _DEBUG - FILEFLAGS 0x1L -#else - FILEFLAGS 0x0L -#endif - FILEOS 0x4L - FILETYPE 0x1L - FILESUBTYPE 0x0L -BEGIN - BLOCK "StringFileInfo" - BEGIN - BLOCK "040904e4" - BEGIN - VALUE "CompanyName", "TODO: " - VALUE "FileDescription", "TODO: " - VALUE "FileVersion", "1.0.0.1" - VALUE "InternalName", "pci8554.exe" - VALUE "LegalCopyright", "TODO: (c) . All rights reserved." - VALUE "OriginalFilename", "pci8554.exe" - VALUE "ProductName", "TODO: " - VALUE "ProductVersion", "1.0.0.1" - END - END - BLOCK "VarFileInfo" - BEGIN - VALUE "Translation", 0x409, 1252 - END -END - - -///////////////////////////////////////////////////////////////////////////// -// -// DESIGNINFO -// - -#ifdef APSTUDIO_INVOKED -GUIDELINES DESIGNINFO -BEGIN - IDD_ABOUTBOX, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 163 - TOPMARGIN, 7 - BOTTOMMARGIN, 55 - END - - IDD_PCI8554_DIALOG, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 313 - TOPMARGIN, 7 - BOTTOMMARGIN, 154 - END - - IDD_CARDID_DIALOG, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 178 - TOPMARGIN, 7 - BOTTOMMARGIN, 86 - END -END -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog Info -// - -IDD_CARDID_DIALOG DLGINIT -BEGIN - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0030, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0031, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0032, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0033, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0034, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0035, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0036, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0037, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0038, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0039, - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3031, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3131, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3231, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3331, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3431, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3531, "\000" - 0 -END - - -///////////////////////////////////////////////////////////////////////////// -// -// String Table -// - -STRINGTABLE -BEGIN - IDS_ABOUTBOX "&About pci8554..." -END - -#endif // English (U.S.) resources -///////////////////////////////////////////////////////////////////////////// - - - -#ifndef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 3 resource. -// -#define _AFX_NO_SPLITTER_RESOURCES -#define _AFX_NO_OLE_RESOURCES -#define _AFX_NO_TRACKER_RESOURCES -#define _AFX_NO_PROPERTY_RESOURCES - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -LANGUAGE 9, 1 -#pragma code_page(1252) -#include "res\pci8554.rc2" // non-Microsoft Visual C++ edited resources -#include "afxres.rc" // Standard components -#endif - -///////////////////////////////////////////////////////////////////////////// -#endif // not APSTUDIO_INVOKED - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/8554/SdkEventCnt/pci8554.sln b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/8554/SdkEventCnt/pci8554.sln deleted file mode 100644 index ddee8df..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/8554/SdkEventCnt/pci8554.sln +++ /dev/null @@ -1,20 +0,0 @@ - -Microsoft Visual Studio Solution File, Format Version 10.00 -# Visual Studio 2008 -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "pci8554", "pci8554.vcproj", "{8C2C396A-F3FC-491F-BEE7-8A6F10254B8D}" -EndProject -Global - GlobalSection(SolutionConfigurationPlatforms) = preSolution - Debug|x64 = Debug|x64 - Release|x64 = Release|x64 - EndGlobalSection - GlobalSection(ProjectConfigurationPlatforms) = postSolution - {8C2C396A-F3FC-491F-BEE7-8A6F10254B8D}.Debug|x64.ActiveCfg = Debug|x64 - {8C2C396A-F3FC-491F-BEE7-8A6F10254B8D}.Debug|x64.Build.0 = Debug|x64 - {8C2C396A-F3FC-491F-BEE7-8A6F10254B8D}.Release|x64.ActiveCfg = Release|x64 - {8C2C396A-F3FC-491F-BEE7-8A6F10254B8D}.Release|x64.Build.0 = Release|x64 - EndGlobalSection - GlobalSection(SolutionProperties) = preSolution - HideSolutionNode = FALSE - EndGlobalSection -EndGlobal diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/8554/SdkEventCnt/pci8554.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/8554/SdkEventCnt/pci8554.suo deleted file mode 100644 index fff953b..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/8554/SdkEventCnt/pci8554.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/8554/SdkEventCnt/pci8554.vcproj b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/8554/SdkEventCnt/pci8554.vcproj deleted file mode 100644 index 786f2ef..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/8554/SdkEventCnt/pci8554.vcproj +++ /dev/null @@ -1,314 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/8554/SdkEventCnt/pci8554Dlg.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/8554/SdkEventCnt/pci8554Dlg.cpp deleted file mode 100644 index e81cc14..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/8554/SdkEventCnt/pci8554Dlg.cpp +++ /dev/null @@ -1,242 +0,0 @@ - -// pci8554Dlg.cpp : implementation file -// - -#include "stdafx.h" -#include -#include "pci8554.h" -#include "pci8554Dlg.h" - -#ifdef _DEBUG -#define new DEBUG_NEW -#endif - -int gEventCount; -HANDLE ghIntEvent[2]; -BOOLEAN gbExitThread; -I16 g_hCard; - -DWORD WINAPI IntThread( LPVOID lpParam ) -{ - U32 new_value, old_value=65535; - - while (gbExitThread == FALSE) - { - if (WaitForSingleObject(ghIntEvent[0], INFINITE) == WAIT_OBJECT_0) - { - CTR_Read (g_hCard, 1, &new_value); - gEventCount = old_value - new_value; - old_value = new_value; - ResetEvent(ghIntEvent[0]); - } - } - - return (DWORD) 0; -} - -// CAboutDlg dialog used for App About - -class CAboutDlg : public CDialog -{ -public: - CAboutDlg(); - -// Dialog Data - enum { IDD = IDD_ABOUTBOX }; - - protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - -// Implementation -protected: - DECLARE_MESSAGE_MAP() -}; - -CAboutDlg::CAboutDlg() : CDialog(CAboutDlg::IDD) -{ -} - -void CAboutDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); -} - -BEGIN_MESSAGE_MAP(CAboutDlg, CDialog) -END_MESSAGE_MAP() - - -// Cpci8554Dlg dialog - - -Cpci8554Dlg::Cpci8554Dlg(I16 hCard, CWnd* pParent /*=NULL*/) - : CDialog(Cpci8554Dlg::IDD, pParent) -{ - m_hIcon = AfxGetApp()->LoadIcon(IDR_MAINFRAME); - g_hCard = hCard; - - m_hThread = NULL; - - ghIntEvent[0] = ghIntEvent[1] = NULL; -} - -void Cpci8554Dlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); -} - -BEGIN_MESSAGE_MAP(Cpci8554Dlg, CDialog) - ON_WM_SYSCOMMAND() - ON_WM_PAINT() - ON_WM_QUERYDRAGICON() - //}}AFX_MSG_MAP - ON_WM_DESTROY() - ON_BN_CLICKED(IDC_BT_START, &Cpci8554Dlg::OnBnClickedBtStart) -END_MESSAGE_MAP() - - -// Cpci8554Dlg message handlers - -BOOL Cpci8554Dlg::OnInitDialog() -{ - CDialog::OnInitDialog(); - - // Add "About..." menu item to system menu. - - // IDM_ABOUTBOX must be in the system command range. - ASSERT((IDM_ABOUTBOX & 0xFFF0) == IDM_ABOUTBOX); - ASSERT(IDM_ABOUTBOX < 0xF000); - - CMenu* pSysMenu = GetSystemMenu(FALSE); - if (pSysMenu != NULL) - { - BOOL bNameValid; - CString strAboutMenu; - bNameValid = strAboutMenu.LoadString(IDS_ABOUTBOX); - ASSERT(bNameValid); - if (!strAboutMenu.IsEmpty()) - { - pSysMenu->AppendMenu(MF_SEPARATOR); - pSysMenu->AppendMenu(MF_STRING, IDM_ABOUTBOX, strAboutMenu); - } - } - - // Set the icon for this dialog. The framework does this automatically - // when the application's main window is not a dialog - SetIcon(m_hIcon, TRUE); // Set big icon - SetIcon(m_hIcon, FALSE); // Set small icon - - CTR_8554_ClkSrc_Config (g_hCard, 1, ECKN); - CTR_Setup (g_hCard, 11, 3, 4000, BIN); - CTR_Setup (g_hCard, 12, 2, 2000, BIN); - CTR_Setup (g_hCard, 1, 2, 65535, BIN); - - DIO_SetDualInterrupt(g_hCard, INT1_COUT12, INT2_DISABLE, ghIntEvent); - - if(m_hThread == NULL ) - { - gbExitThread = FALSE; - m_hThread = CreateThread( NULL, // default security attributes - 0, // use default stack size - IntThread, // thread function name - NULL, // argument to thread function - 0, // use default creation flags - NULL); // returns the thread identifier - } - - - return TRUE; // return TRUE unless you set the focus to a control -} - -void Cpci8554Dlg::OnSysCommand(UINT nID, LPARAM lParam) -{ - if ((nID & 0xFFF0) == IDM_ABOUTBOX) - { - CAboutDlg dlgAbout; - dlgAbout.DoModal(); - } - else - { - CDialog::OnSysCommand(nID, lParam); - } -} - -// If you add a minimize button to your dialog, you will need the code below -// to draw the icon. For MFC applications using the document/view model, -// this is automatically done for you by the framework. - -void Cpci8554Dlg::OnPaint() -{ - if (IsIconic()) - { - CPaintDC dc(this); // device context for painting - - SendMessage(WM_ICONERASEBKGND, reinterpret_cast(dc.GetSafeHdc()), 0); - - // Center icon in client rectangle - int cxIcon = GetSystemMetrics(SM_CXICON); - int cyIcon = GetSystemMetrics(SM_CYICON); - CRect rect; - GetClientRect(&rect); - int x = (rect.Width() - cxIcon + 1) / 2; - int y = (rect.Height() - cyIcon + 1) / 2; - - // Draw the icon - dc.DrawIcon(x, y, m_hIcon); - } - else - { - CDialog::OnPaint(); - } -} - -// The system calls this function to obtain the cursor to display while the user drags -// the minimized window. -HCURSOR Cpci8554Dlg::OnQueryDragIcon() -{ - return static_cast(m_hIcon); -} - -void Cpci8554Dlg::OnDestroy() -{ - CDialog::OnDestroy(); - - // TODO: Add your message handler code here - int i; - - if( m_hThread != NULL ) - { - gbExitThread = TRUE; // termnate the IntThread - SetEvent( ghIntEvent[0] ); - - if (WaitForSingleObject(m_hThread, 5000) == WAIT_OBJECT_0) - { - CloseHandle( m_hThread ); - m_hThread = NULL; - } - } - - - if( g_hCard >= 0 ) - { - DIO_SetDualInterrupt(g_hCard, INT1_DISABLE, INT2_DISABLE, ghIntEvent); - - for (i=0; i<2; i++) - { - if(ghIntEvent[i]) - ResetEvent(ghIntEvent[i]); - } - - } - -} - - -void Cpci8554Dlg::OnBnClickedBtStart() -{ - // TODO: Add your control notification handler code here - CString strTmp; - - strTmp.Format( TEXT("Event count value is %d"), gEventCount); - SetDlgItemText( IDC_STATIC_STATUS, strTmp ); - -} diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/8554/SdkEventCnt/pci8554Dlg.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/8554/SdkEventCnt/pci8554Dlg.h deleted file mode 100644 index c0a3065..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/8554/SdkEventCnt/pci8554Dlg.h +++ /dev/null @@ -1,42 +0,0 @@ - -// pci8554Dlg.h : header file -// -#include "Dask64.h" - -#pragma once - - -// Cpci8554Dlg dialog -class Cpci8554Dlg : public CDialog -{ -// Construction -public: - Cpci8554Dlg(I16 nCard, CWnd* pParent = NULL); // standard constructor - -// Dialog Data - enum { IDD = IDD_PCI8554_DIALOG }; - - protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - - -// Implementation -protected: - HICON m_hIcon; - HANDLE m_hThread; - - - // Generated message map functions - virtual BOOL OnInitDialog(); - afx_msg void OnSysCommand(UINT nID, LPARAM lParam); - afx_msg void OnPaint(); - afx_msg HCURSOR OnQueryDragIcon(); - DECLARE_MESSAGE_MAP() -public: - - -public: - // the CardID of targer device - afx_msg void OnDestroy(); - afx_msg void OnBnClickedBtStart(); -}; diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/8554/SdkEventCnt/res/black.ico b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/8554/SdkEventCnt/res/black.ico deleted file mode 100644 index b5c375f..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/8554/SdkEventCnt/res/black.ico and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/8554/SdkEventCnt/res/blue.ico b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/8554/SdkEventCnt/res/blue.ico deleted file mode 100644 index 1df4b39..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/8554/SdkEventCnt/res/blue.ico and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/8554/SdkEventCnt/res/green.ico b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/8554/SdkEventCnt/res/green.ico deleted file mode 100644 index d9a9fd3..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/8554/SdkEventCnt/res/green.ico and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/8554/SdkEventCnt/res/pci8554.ico b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/8554/SdkEventCnt/res/pci8554.ico deleted file mode 100644 index d56fbcd..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/8554/SdkEventCnt/res/pci8554.ico and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/8554/SdkEventCnt/res/pci8554.rc2 b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/8554/SdkEventCnt/res/pci8554.rc2 deleted file mode 100644 index a19944b..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/8554/SdkEventCnt/res/pci8554.rc2 +++ /dev/null @@ -1,13 +0,0 @@ -// -// pci7250.RC2 - resources Microsoft Visual C++ does not edit directly -// - -#ifdef APSTUDIO_INVOKED -#error this file is not editable by Microsoft Visual C++ -#endif //APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// Add manually edited resources here... - -///////////////////////////////////////////////////////////////////////////// diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/8554/SdkEventCnt/res/pink.ico b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/8554/SdkEventCnt/res/pink.ico deleted file mode 100644 index 18bdaad..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/8554/SdkEventCnt/res/pink.ico and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/8554/SdkEventCnt/res/red.ico b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/8554/SdkEventCnt/res/red.ico deleted file mode 100644 index 7644596..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/8554/SdkEventCnt/res/red.ico and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/8554/SdkEventCnt/res/yellow.ico b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/8554/SdkEventCnt/res/yellow.ico deleted file mode 100644 index 3449de2..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/8554/SdkEventCnt/res/yellow.ico and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/8554/SdkEventCnt/resource.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/8554/SdkEventCnt/resource.h deleted file mode 100644 index a0caad1..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/8554/SdkEventCnt/resource.h +++ /dev/null @@ -1,25 +0,0 @@ -//{{NO_DEPENDENCIES}} -// Microsoft Visual C++ generated include file. -// Used by pci8554.rc -// -#define IDM_ABOUTBOX 0x0010 -#define IDD_ABOUTBOX 100 -#define IDS_ABOUTBOX 101 -#define IDD_PCI8554_DIALOG 102 -#define IDD_CARDID_DIALOG 105 -#define IDR_MAINFRAME 106 -#define IDC_STATIC_01 107 -#define IDC_COMBO_CARDID 108 -#define IDC_BT_START 1001 -#define IDC_STATIC_STATUS 1002 - -// Next default values for new objects -// -#ifdef APSTUDIO_INVOKED -#ifndef APSTUDIO_READONLY_SYMBOLS -#define _APS_NEXT_RESOURCE_VALUE 146 -#define _APS_NEXT_COMMAND_VALUE 32771 -#define _APS_NEXT_CONTROL_VALUE 1002 -#define _APS_NEXT_SYMED_VALUE 109 -#endif -#endif diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/8554/SdkEventCnt/stdafx.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/8554/SdkEventCnt/stdafx.cpp deleted file mode 100644 index e2a008f..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/8554/SdkEventCnt/stdafx.cpp +++ /dev/null @@ -1,8 +0,0 @@ - -// stdafx.cpp : source file that includes just the standard includes -// pci7250.pch will be the pre-compiled header -// stdafx.obj will contain the pre-compiled type information - -#include "stdafx.h" - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/8554/SdkEventCnt/stdafx.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/8554/SdkEventCnt/stdafx.h deleted file mode 100644 index 12123e2..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/8554/SdkEventCnt/stdafx.h +++ /dev/null @@ -1,60 +0,0 @@ - -// stdafx.h : include file for standard system include files, -// or project specific include files that are used frequently, -// but are changed infrequently - -#pragma once - -#ifndef _SECURE_ATL -#define _SECURE_ATL 1 -#endif - -#ifndef VC_EXTRALEAN -#define VC_EXTRALEAN // Exclude rarely-used stuff from Windows headers -#endif - -#include "targetver.h" - -#define _ATL_CSTRING_EXPLICIT_CONSTRUCTORS // some CString constructors will be explicit - -// turns off MFC's hiding of some common and often safely ignored warning messages -#define _AFX_ALL_WARNINGS - -#include // MFC core and standard components -#include // MFC extensions - - -#include // MFC Automation classes - - - -#ifndef _AFX_NO_OLE_SUPPORT -#include // MFC support for Internet Explorer 4 Common Controls -#endif -#ifndef _AFX_NO_AFXCMN_SUPPORT -#include // MFC support for Windows Common Controls -#endif // _AFX_NO_AFXCMN_SUPPORT - -#include // MFC support for ribbons and control bars - - - - - - - - - -#ifdef _UNICODE -#if defined _M_IX86 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='x86' publicKeyToken='6595b64144ccf1df' language='*'\"") -#elif defined _M_IA64 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='ia64' publicKeyToken='6595b64144ccf1df' language='*'\"") -#elif defined _M_X64 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='amd64' publicKeyToken='6595b64144ccf1df' language='*'\"") -#else -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='*' publicKeyToken='6595b64144ccf1df' language='*'\"") -#endif -#endif - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/8554/SdkEventCnt/targetver.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/8554/SdkEventCnt/targetver.h deleted file mode 100644 index 11730d5..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/8554/SdkEventCnt/targetver.h +++ /dev/null @@ -1,26 +0,0 @@ - -#pragma once - -// The following macros define the minimum required platform. The minimum required platform -// is the earliest version of Windows, Internet Explorer etc. that has the necessary features to run -// your application. The macros work by enabling all features available on platform versions up to and -// including the version specified. - -// Modify the following defines if you have to target a platform prior to the ones specified below. -// Refer to MSDN for the latest info on corresponding values for different platforms. -#ifndef WINVER // Specifies that the minimum required platform is Windows Vista. -#define WINVER 0x0600 // Change this to the appropriate value to target other versions of Windows. -#endif - -#ifndef _WIN32_WINNT // Specifies that the minimum required platform is Windows Vista. -#define _WIN32_WINNT 0x0600 // Change this to the appropriate value to target other versions of Windows. -#endif - -#ifndef _WIN32_WINDOWS // Specifies that the minimum required platform is Windows 98. -#define _WIN32_WINDOWS 0x0410 // Change this to the appropriate value to target Windows Me or later. -#endif - -#ifndef _WIN32_IE // Specifies that the minimum required platform is Internet Explorer 7.0. -#define _WIN32_IE 0x0700 // Change this to the appropriate value to target other versions of IE. -#endif - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9111/SDK9111/CardIDDlg.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9111/SDK9111/CardIDDlg.cpp deleted file mode 100644 index c853d41..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9111/SDK9111/CardIDDlg.cpp +++ /dev/null @@ -1,75 +0,0 @@ -// CardIDDlg.cpp : implementation file -// - -#include "stdafx.h" -#include "Util9111.h" -#include "CardIDDlg.h" - -// CCardIDDlg dialog - -IMPLEMENT_DYNAMIC(CCardIDDlg, CDialog) - -CCardIDDlg::CCardIDDlg(int nCardIdx, CWnd* pParent /*=NULL*/) - : CDialog(CCardIDDlg::IDD, pParent) -{ - m_nCardIdx = nCardIdx; -} - -CCardIDDlg::~CCardIDDlg() -{ -} - -void CCardIDDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); - DDX_Control(pDX, IDC_COMBO_CARDID, m_cbCardID); - DDX_Control(pDX, IDC_COMBO_CARDTYPE, m_cbCardType); -} - - -BEGIN_MESSAGE_MAP(CCardIDDlg, CDialog) -// ON_CBN_SELCHANGE(IDC_COMBO_CARDID, &CCardIDDlg::OnCbnSelchangeComboCardid) -ON_BN_CLICKED(IDOK, &CCardIDDlg::OnBnClickedOk) -//ON_WM_CTLCOLOR() -END_MESSAGE_MAP() - - -// CCardIDDlg message handlers - - -void CCardIDDlg::OnBnClickedOk() -{ - // TODO: Add your control notification handler code here - -// UpdateData(TRUE); - m_nCardIdx = m_cbCardID.GetCurSel(); - m_CardType = PCI_9111DG + m_cbCardType.GetCurSel(); - - OnOK(); -} - -BOOL CCardIDDlg::OnInitDialog() -{ - CDialog::OnInitDialog(); - - // TODO: Add extra initialization here - m_cbCardID.SetCurSel( m_nCardIdx ); - - m_cbCardType.SetCurSel( 0 ); - m_CardType = PCI_9111DG; - - return TRUE; // return TRUE unless you set the focus to a control - // EXCEPTION: OCX Property Pages should return FALSE -} - -// the function to get the selected CardID -int CCardIDDlg::GetCardID(void) -{ - return m_nCardIdx; -} - - -U16 CCardIDDlg::GetCardType(void) -{ - return m_CardType; -} \ No newline at end of file diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9111/SDK9111/CardIDDlg.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9111/SDK9111/CardIDDlg.h deleted file mode 100644 index 23399df..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9111/SDK9111/CardIDDlg.h +++ /dev/null @@ -1,35 +0,0 @@ -#pragma once -#include "afxwin.h" - -#include "Dask64.h" - -// CCardIDDlg dialog - -class CCardIDDlg : public CDialog -{ - DECLARE_DYNAMIC(CCardIDDlg) - -public: - CCardIDDlg(int nCardIdx, CWnd* pParent = NULL); // standard constructor - virtual ~CCardIDDlg(); - -// Dialog Data - enum { IDD = IDD_CARDID_DIALOG }; - -protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - - DECLARE_MESSAGE_MAP() -public: - virtual BOOL OnInitDialog(); - afx_msg void OnBnClickedOk(); - // the setting of CardID ComboBox - int m_nCardIdx; - U16 m_CardType; - // the control of CardID ComboBox - CComboBox m_cbCardID; - CComboBox m_cbCardType; - // the function to get the selected CardID - int GetCardID(void); - U16 GetCardType(void); -}; diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9111/SDK9111/ReadMe.txt b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9111/SDK9111/ReadMe.txt deleted file mode 100644 index a483fc1..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9111/SDK9111/ReadMe.txt +++ /dev/null @@ -1,93 +0,0 @@ -================================================================================ - MICROSOFT FOUNDATION CLASS LIBRARY : Util9111 Project Overview -=============================================================================== - -The application wizard has created this Util9111 application for -you. This application not only demonstrates the basics of using the Microsoft -Foundation Classes but is also a starting point for writing your application. - -This file contains a summary of what you will find in each of the files that -make up your Util9111 application. - -Util9111.vcproj - This is the main project file for VC++ projects generated using an application wizard. - It contains information about the version of Visual C++ that generated the file, and - information about the platforms, configurations, and project features selected with the - application wizard. - -Util9111.h - This is the main header file for the application. It includes other - project specific headers (including Resource.h) and declares the - CUtil9111App application class. - -Util9111.cpp - This is the main application source file that contains the application - class CUtil9111App. - -Util9111.rc - This is a listing of all of the Microsoft Windows resources that the - program uses. It includes the icons, bitmaps, and cursors that are stored - in the RES subdirectory. This file can be directly edited in Microsoft - Visual C++. Your project resources are in 1033. - -res\Util9111.ico - This is an icon file, which is used as the application's icon. This - icon is included by the main resource file Util9111.rc. - -res\Util9111.rc2 - This file contains resources that are not edited by Microsoft - Visual C++. You should place all resources not editable by - the resource editor in this file. - - -///////////////////////////////////////////////////////////////////////////// - -The application wizard creates one dialog class: - -Util9111Dlg.h, Util9111Dlg.cpp - the dialog - These files contain your CUtil9111Dlg class. This class defines - the behavior of your application's main dialog. The dialog's template is - in Util9111.rc, which can be edited in Microsoft Visual C++. - - -///////////////////////////////////////////////////////////////////////////// - -Other Features: - -ActiveX Controls - The application includes support to use ActiveX controls. - -///////////////////////////////////////////////////////////////////////////// - -Other standard files: - -StdAfx.h, StdAfx.cpp - These files are used to build a precompiled header (PCH) file - named Util9111.pch and a precompiled types file named StdAfx.obj. - -Resource.h - This is the standard header file, which defines new resource IDs. - Microsoft Visual C++ reads and updates this file. - -Util9111.manifest - Application manifest files are used by Windows XP to describe an applications - dependency on specific versions of Side-by-Side assemblies. The loader uses this - information to load the appropriate assembly from the assembly cache or private - from the application. The Application manifest maybe included for redistribution - as an external .manifest file that is installed in the same folder as the application - executable or it may be included in the executable in the form of a resource. -///////////////////////////////////////////////////////////////////////////// - -Other notes: - -The application wizard uses "TODO:" to indicate parts of the source code you -should add to or customize. - -If your application uses MFC in a shared DLL, you will need -to redistribute the MFC DLLs. If your application is in a language -other than the operating system's locale, you will also have to -redistribute the corresponding localized resources MFC90XXX.DLL. -For more information on both of these topics, please see the section on -redistributing Visual C++ applications in MSDN documentation. - -///////////////////////////////////////////////////////////////////////////// diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9111/SDK9111/Util9111.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9111/SDK9111/Util9111.cpp deleted file mode 100644 index 819f7d2..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9111/SDK9111/Util9111.cpp +++ /dev/null @@ -1,113 +0,0 @@ - -// Util9111.cpp : Defines the class behaviors for the application. -// - -#include "stdafx.h" -#include "Util9111.h" -#include "Util9111Dlg.h" -#include "CardIDDlg.h" - -#ifdef _DEBUG -#define new DEBUG_NEW -#endif - - -// CUtil9111App - -BEGIN_MESSAGE_MAP(CUtil9111App, CWinAppEx) - ON_COMMAND(ID_HELP, &CWinApp::OnHelp) -END_MESSAGE_MAP() - - -// CUtil9111App construction - -CUtil9111App::CUtil9111App() -{ - // TODO: add construction code here, - // Place all significant initialization in InitInstance -} - - -// The one and only CUtil9111App object - -CUtil9111App theApp; - - -// CUtil9111App initialization - -BOOL CUtil9111App::InitInstance() -{ - int nCardID = 0; - I16 hCard; - U16 wCardType; - CString strTemp; - INT_PTR nResponse; - - // InitCommonControlsEx() is required on Windows XP if an application - // manifest specifies use of ComCtl32.dll version 6 or later to enable - // visual styles. Otherwise, any window creation will fail. - INITCOMMONCONTROLSEX InitCtrls; - InitCtrls.dwSize = sizeof(InitCtrls); - // Set this to include all the common control classes you want to use - // in your application. - InitCtrls.dwICC = ICC_WIN95_CLASSES; - InitCommonControlsEx(&InitCtrls); - - CWinAppEx::InitInstance(); - - AfxEnableControlContainer(); - - // Standard initialization - // If you are not using these features and wish to reduce the size - // of your final executable, you should remove from the following - // the specific initialization routines you do not need - // Change the registry key under which our settings are stored - // TODO: You should modify this string to be something appropriate - // such as the name of your company or organization - SetRegistryKey(_T("Local AppWizard-Generated Applications")); - - CCardIDDlg CardDlg( nCardID ); - - nResponse = CardDlg.DoModal(); - if (nResponse == IDOK) - { - nCardID = CardDlg.GetCardID(); - wCardType = CardDlg.GetCardType(); - - if ((hCard=Register_Card(wCardType, nCardID)) < 0) - { - strTemp.Format( TEXT("Register_Card Error = %d"), hCard); - AfxMessageBox( strTemp ); - } - else - { - CUtil9111Dlg dlg(hCard, wCardType); - m_pMainWnd = &dlg; - nResponse = dlg.DoModal(); - if (nResponse == IDOK) - { - // TODO: Place code here to handle when the dialog is - // dismissed with OK - } - else if (nResponse == IDCANCEL) - { - // TODO: Place code here to handle when the dialog is - // dismissed with Cancel - } - - if (hCard >= 0) Release_Card(hCard); - } - - } - else if (nResponse == IDCANCEL) - { - // TODO: Place code here to handle when the dialog is - // dismissed with Cancel - } - - - - // Since the dialog has been closed, return FALSE so that we exit the - // application, rather than start the application's message pump. - return FALSE; -} diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9111/SDK9111/Util9111.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9111/SDK9111/Util9111.h deleted file mode 100644 index 8e7c5e3..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9111/SDK9111/Util9111.h +++ /dev/null @@ -1,32 +0,0 @@ - -// Util9111.h : main header file for the PROJECT_NAME application -// - -#pragma once - -#ifndef __AFXWIN_H__ - #error "include 'stdafx.h' before including this file for PCH" -#endif - -#include "resource.h" // main symbols - - -// CUtil9111App: -// See Util9111.cpp for the implementation of this class -// - -class CUtil9111App : public CWinAppEx -{ -public: - CUtil9111App(); - -// Overrides - public: - virtual BOOL InitInstance(); - -// Implementation - - DECLARE_MESSAGE_MAP() -}; - -extern CUtil9111App theApp; \ No newline at end of file diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9111/SDK9111/Util9111.rc b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9111/SDK9111/Util9111.rc deleted file mode 100644 index 4dba1aa..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9111/SDK9111/Util9111.rc +++ /dev/null @@ -1,366 +0,0 @@ -// Microsoft Visual C++ generated resource script. -// -#include "resource.h" - -#define APSTUDIO_READONLY_SYMBOLS -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 2 resource. -// -#ifndef APSTUDIO_INVOKED -#include "targetver.h" -#endif -#include "afxres.h" - -///////////////////////////////////////////////////////////////////////////// -#undef APSTUDIO_READONLY_SYMBOLS - -///////////////////////////////////////////////////////////////////////////// -// Chinese (Taiwan) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_CHT) -#ifdef _WIN32 -LANGUAGE LANG_CHINESE, SUBLANG_CHINESE_TRADITIONAL -#pragma code_page(950) -#endif //_WIN32 - -#ifdef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// TEXTINCLUDE -// - -1 TEXTINCLUDE -BEGIN - "resource.h\0" -END - -2 TEXTINCLUDE -BEGIN - "#ifndef APSTUDIO_INVOKED\r\n" - "#include ""targetver.h""\r\n" - "#endif\r\n" - "#include ""afxres.h""\r\n" - "\0" -END - -3 TEXTINCLUDE -BEGIN - "#define _AFX_NO_SPLITTER_RESOURCES\r\n" - "#define _AFX_NO_OLE_RESOURCES\r\n" - "#define _AFX_NO_TRACKER_RESOURCES\r\n" - "#define _AFX_NO_PROPERTY_RESOURCES\r\n" - "\r\n" - "#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)\r\n" - "LANGUAGE 9, 1\r\n" - "#pragma code_page(1252)\r\n" - "#include ""res\\Util9111.rc2"" // non-Microsoft Visual C++ edited resources\r\n" - "#include ""afxres.rc"" // Standard components\r\n" - "#endif\r\n" - "\0" -END - -#endif // APSTUDIO_INVOKED - -#endif // Chinese (Taiwan) resources -///////////////////////////////////////////////////////////////////////////// - - -///////////////////////////////////////////////////////////////////////////// -// English (U.S.) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -#ifdef _WIN32 -LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US -#pragma code_page(1252) -#endif //_WIN32 - -///////////////////////////////////////////////////////////////////////////// -// -// Icon -// - -// Icon with lowest ID value placed first to ensure application icon -// remains consistent on all systems. -IDR_MAINFRAME ICON "res\\Util9111.ico" -IDI_ICON_BLACK ICON "res\\black.ico" -IDI_ICON_RED ICON "res\\red.ico" - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog -// - -IDD_ABOUTBOX DIALOGEX 0, 0, 170, 62 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "About Util9111" -FONT 8, "MS Shell Dlg", 0, 0, 0x1 -BEGIN - ICON IDR_MAINFRAME,IDC_STATIC,14,14,21,20 - LTEXT "Util9111, Version 1.0",IDC_STATIC,42,14,114,8,SS_NOPREFIX - LTEXT "Copyright (C) 2010",IDC_STATIC,42,26,114,8 - DEFPUSHBUTTON "OK",IDOK,113,41,50,14,WS_GROUP -END - -IDD_UTIL9111_DIALOG DIALOGEX 0, 0, 345, 255 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU -EXSTYLE WS_EX_APPWINDOW -CAPTION "PCI-9111" -FONT 8, "MS Shell Dlg", 0, 0, 0x1 -BEGIN - ICON IDI_ICON_BLACK,IDC_ICON_DI00,306,197,20,20 - ICON IDI_ICON_BLACK,IDC_ICON_DI01,288,197,20,20 - ICON IDI_ICON_BLACK,IDC_ICON_DI02,270,197,20,20 - ICON IDI_ICON_BLACK,IDC_ICON_DI03,252,197,20,20 - ICON IDI_ICON_BLACK,IDC_ICON_DI04,234,197,20,20 - ICON IDI_ICON_BLACK,IDC_ICON_DI05,216,197,20,20 - ICON IDI_ICON_BLACK,IDC_ICON_DI06,198,197,20,20 - ICON IDI_ICON_BLACK,IDC_ICON_DI07,180,197,20,20 - ICON IDI_ICON_BLACK,IDC_ICON_DI08,162,197,20,20 - ICON IDI_ICON_BLACK,IDC_ICON_DI09,144,197,20,20 - ICON IDI_ICON_BLACK,IDC_ICON_DI10,126,197,20,20 - ICON IDI_ICON_BLACK,IDC_ICON_DI11,108,197,20,20 - ICON IDI_ICON_BLACK,IDC_ICON_DI12,90,197,20,20 - ICON IDI_ICON_BLACK,IDC_ICON_DI13,72,197,20,20 - ICON IDI_ICON_BLACK,IDC_ICON_DI14,54,197,20,20 - ICON IDI_ICON_BLACK,IDC_ICON_DI15,36,197,20,20 - CONTROL "",IDC_CHECK_DO00,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE | WS_TABSTOP,312,217,12,12 - CONTROL "",IDC_CHECK_DO01,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE | WS_TABSTOP,294,217,12,12 - CONTROL "",IDC_CHECK_DO02,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE | WS_TABSTOP,276,217,12,12 - CONTROL "",IDC_CHECK_DO03,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE | WS_TABSTOP,258,217,12,12 - CONTROL "",IDC_CHECK_DO04,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE | WS_TABSTOP,240,217,12,12 - CONTROL "",IDC_CHECK_DO05,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE | WS_TABSTOP,222,217,12,12 - CONTROL "",IDC_CHECK_DO06,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE | WS_TABSTOP,204,217,12,12 - CONTROL "",IDC_CHECK_DO07,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE | WS_TABSTOP,186,217,12,12 - CONTROL "",IDC_CHECK_DO08,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE | WS_TABSTOP,168,217,12,12 - CONTROL "",IDC_CHECK_DO09,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE | WS_TABSTOP,150,217,12,12 - CONTROL "",IDC_CHECK_DO10,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE | WS_TABSTOP,132,217,12,12 - CONTROL "",IDC_CHECK_DO11,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE | WS_TABSTOP,114,217,12,12 - CONTROL "",IDC_CHECK_DO12,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE | WS_TABSTOP,96,217,12,12 - CONTROL "",IDC_CHECK_DO13,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE | WS_TABSTOP,78,217,12,12 - CONTROL "",IDC_CHECK_DO14,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE | WS_TABSTOP,60,217,12,12 - CONTROL "",IDC_CHECK_DO15,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE | WS_TABSTOP,42,217,12,12 - LTEXT " 15 0",IDC_STATIC,36,232,289,13 - SCROLLBAR IDC_SCROLLBAR1,128,181,162,12 - GROUPBOX "",IDC_STATIC_DRAW0,45,9,213,75,NOT WS_VISIBLE - GROUPBOX "",IDC_STATIC_DRAW1,45,90,213,75,NOT WS_VISIBLE - CONTROL 132,IDC_STATIC,"Static",SS_BITMAP,289,20,9,44 - CONTROL "0",IDC_RADIO_CH0,"Button",BS_AUTOCHECKBOX | BS_LEFTTEXT | BS_PUSHLIKE,268,21,17,10 - CONTROL "1",IDC_RADIO_CH1,"Button",BS_AUTOCHECKBOX | BS_LEFTTEXT | BS_PUSHLIKE,268,32,17,10 - CONTROL "2",IDC_RADIO_CH2,"Button",BS_AUTOCHECKBOX | BS_LEFTTEXT | BS_PUSHLIKE,268,43,17,10 - CONTROL "3",IDC_RADIO_CH3,"Button",BS_AUTOCHECKBOX | BS_LEFTTEXT | BS_PUSHLIKE,268,54,17,10 - CONTROL "4",IDC_RADIO_CH4,"Button",BS_AUTOCHECKBOX | BS_LEFTTEXT | BS_PUSHLIKE,303,21,17,10 - CONTROL "5",IDC_RADIO_CH5,"Button",BS_AUTOCHECKBOX | BS_LEFTTEXT | BS_PUSHLIKE,303,32,17,10 - CONTROL "6",IDC_RADIO_CH6,"Button",BS_AUTOCHECKBOX | BS_LEFTTEXT | BS_PUSHLIKE,303,43,17,10 - CONTROL "7",IDC_RADIO_CH7,"Button",BS_AUTOCHECKBOX | BS_LEFTTEXT | BS_PUSHLIKE,303,54,17,10 - CONTROL 132,IDC_STATIC,"Static",SS_BITMAP,288,111,9,44 - CONTROL 133,IDC_STATIC,"Static",SS_BITMAP,321,111,11,45 - CONTROL "8",IDC_RADIO_CH8,"Button",BS_AUTOCHECKBOX | BS_LEFTTEXT | BS_PUSHLIKE,266,112,17,10 - CONTROL "9",IDC_RADIO_CH9,"Button",BS_AUTOCHECKBOX | BS_LEFTTEXT | BS_PUSHLIKE,266,123,17,10 - CONTROL "10",IDC_RADIO_CH10,"Button",BS_AUTOCHECKBOX | BS_LEFTTEXT | BS_PUSHLIKE,266,134,17,10 - CONTROL "11",IDC_RADIO_CH11,"Button",BS_AUTOCHECKBOX | BS_LEFTTEXT | BS_PUSHLIKE,266,146,17,10 - CONTROL "12",IDC_RADIO_CH12,"Button",BS_AUTOCHECKBOX | BS_LEFTTEXT | BS_PUSHLIKE,302,112,17,10 - CONTROL "13",IDC_RADIO_CH13,"Button",BS_AUTOCHECKBOX | BS_LEFTTEXT | BS_PUSHLIKE,302,123,17,10 - CONTROL "14",IDC_RADIO_CH14,"Button",BS_AUTOCHECKBOX | BS_LEFTTEXT | BS_PUSHLIKE,302,134,17,10 - CONTROL "15",IDC_RADIO_CH15,"Button",BS_AUTOCHECKBOX | BS_LEFTTEXT | BS_PUSHLIKE,302,146,17,10 - CONTROL 133,IDC_STATIC,"Static",SS_BITMAP,322,20,11,45 - COMBOBOX IDC_COMBO_AI_RANGE,266,89,67,13,CBS_DROPDOWN | WS_VSCROLL | WS_TABSTOP - LTEXT "Input Range",IDC_STATIC,265,75,45,12 - LTEXT "-10 -6 -4 -2 0 2 4 6 10",IDC_STATIC,139,169,144,12 - LTEXT "Analog Output",IDC_STATIC,66,181,51,13 - EDITTEXT IDC_EDIT_AO,298,180,29,14,ES_AUTOHSCROLL | ES_READONLY -END - -IDD_CARDID_DIALOG DIALOGEX 0, 0, 165, 122 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "Card ID" -FONT 8, "MS Shell Dlg", 400, 0, 0x1 -BEGIN - COMBOBOX IDC_COMBO_CARDID,75,24,71,126,CBS_DROPDOWN | WS_VSCROLL | WS_TABSTOP - LTEXT "Card Number",IDC_STATIC_01,21,25,46,12 - PUSHBUTTON "OK",IDOK,22,72,58,19 - PUSHBUTTON "CANCEL",IDCANCEL,86,72,58,19 - COMBOBOX IDC_COMBO_CARDTYPE,75,46,71,126,CBS_DROPDOWN | WS_VSCROLL | WS_TABSTOP - LTEXT "Card Type",IDC_STATIC_2,29,47,37,12 -END - - -///////////////////////////////////////////////////////////////////////////// -// -// Version -// - -VS_VERSION_INFO VERSIONINFO - FILEVERSION 1,0,0,1 - PRODUCTVERSION 1,0,0,1 - FILEFLAGSMASK 0x3fL -#ifdef _DEBUG - FILEFLAGS 0x1L -#else - FILEFLAGS 0x0L -#endif - FILEOS 0x4L - FILETYPE 0x1L - FILESUBTYPE 0x0L -BEGIN - BLOCK "StringFileInfo" - BEGIN - BLOCK "040904e4" - BEGIN - VALUE "CompanyName", "TODO: " - VALUE "FileDescription", "TODO: " - VALUE "FileVersion", "1.0.0.1" - VALUE "InternalName", "Util9111.exe" - VALUE "LegalCopyright", "TODO: (c) . All rights reserved." - VALUE "OriginalFilename", "Util9111.exe" - VALUE "ProductName", "TODO: " - VALUE "ProductVersion", "1.0.0.1" - END - END - BLOCK "VarFileInfo" - BEGIN - VALUE "Translation", 0x409, 1252 - END -END - - -///////////////////////////////////////////////////////////////////////////// -// -// DESIGNINFO -// - -#ifdef APSTUDIO_INVOKED -GUIDELINES DESIGNINFO -BEGIN - IDD_ABOUTBOX, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 163 - TOPMARGIN, 7 - BOTTOMMARGIN, 55 - END - - IDD_UTIL9111_DIALOG, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 338 - TOPMARGIN, 7 - BOTTOMMARGIN, 248 - END - - IDD_CARDID_DIALOG, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 158 - TOPMARGIN, 6 - BOTTOMMARGIN, 115 - END -END -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// Bitmap -// - -IDB_BITMAP_SET1 BITMAP "res\\ch_set1.bmp" -IDB_BITMAP_SET2 BITMAP "res\\ch_set2.bmp" - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog Info -// - -IDD_UTIL9111_DIALOG DLGINIT -BEGIN - IDC_COMBO_AI_RANGE, 0x403, 8, 0 -0x2f2b, 0x202d, 0x3031, 0x0056, - IDC_COMBO_AI_RANGE, 0x403, 7, 0 -0x2f2b, 0x202d, 0x5635, "\000" - IDC_COMBO_AI_RANGE, 0x403, 8, 0 -0x2f2b, 0x322d, 0x352e, 0x0056, - IDC_COMBO_AI_RANGE, 0x403, 10, 0 -0x2f2b, 0x202d, 0x2e31, 0x3532, 0x0056, - IDC_COMBO_AI_RANGE, 0x403, 10, 0 -0x2f2b, 0x302d, 0x362e, 0x3532, 0x0056, - 0 -END - -IDD_CARDID_DIALOG DLGINIT -BEGIN - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0030, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0031, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0032, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0033, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0034, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0035, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0036, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0037, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0038, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0039, - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3031, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3131, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3231, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3331, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3431, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3531, "\000" - IDC_COMBO_CARDTYPE, 0x403, 11, 0 -0x4350, 0x5f49, 0x3139, 0x3131, 0x4744, "\000" - IDC_COMBO_CARDTYPE, 0x403, 11, 0 -0x4350, 0x5f49, 0x3139, 0x3131, 0x5248, "\000" - 0 -END - - -///////////////////////////////////////////////////////////////////////////// -// -// String Table -// - -STRINGTABLE -BEGIN - IDS_ABOUTBOX "&About Util9111..." -END - -#endif // English (U.S.) resources -///////////////////////////////////////////////////////////////////////////// - - - -#ifndef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 3 resource. -// -#define _AFX_NO_SPLITTER_RESOURCES -#define _AFX_NO_OLE_RESOURCES -#define _AFX_NO_TRACKER_RESOURCES -#define _AFX_NO_PROPERTY_RESOURCES - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -LANGUAGE 9, 1 -#pragma code_page(1252) -#include "res\Util9111.rc2" // non-Microsoft Visual C++ edited resources -#include "afxres.rc" // Standard components -#endif - -///////////////////////////////////////////////////////////////////////////// -#endif // not APSTUDIO_INVOKED - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9111/SDK9111/Util9111.sln b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9111/SDK9111/Util9111.sln deleted file mode 100644 index 4a58ce7..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9111/SDK9111/Util9111.sln +++ /dev/null @@ -1,20 +0,0 @@ - -Microsoft Visual Studio Solution File, Format Version 10.00 -# Visual Studio 2008 -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "Util9111", "Util9111.vcproj", "{EA91AA3F-533F-4BE6-8BD6-78C091590751}" -EndProject -Global - GlobalSection(SolutionConfigurationPlatforms) = preSolution - Debug|x64 = Debug|x64 - Release|x64 = Release|x64 - EndGlobalSection - GlobalSection(ProjectConfigurationPlatforms) = postSolution - {EA91AA3F-533F-4BE6-8BD6-78C091590751}.Debug|x64.ActiveCfg = Debug|x64 - {EA91AA3F-533F-4BE6-8BD6-78C091590751}.Debug|x64.Build.0 = Debug|x64 - {EA91AA3F-533F-4BE6-8BD6-78C091590751}.Release|x64.ActiveCfg = Release|x64 - {EA91AA3F-533F-4BE6-8BD6-78C091590751}.Release|x64.Build.0 = Release|x64 - EndGlobalSection - GlobalSection(SolutionProperties) = preSolution - HideSolutionNode = FALSE - EndGlobalSection -EndGlobal diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9111/SDK9111/Util9111.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9111/SDK9111/Util9111.suo deleted file mode 100644 index b3cba76..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9111/SDK9111/Util9111.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9111/SDK9111/Util9111.vcproj b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9111/SDK9111/Util9111.vcproj deleted file mode 100644 index 62968d3..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9111/SDK9111/Util9111.vcproj +++ /dev/null @@ -1,306 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9111/SDK9111/Util9111Dlg.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9111/SDK9111/Util9111Dlg.cpp deleted file mode 100644 index b14dd96..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9111/SDK9111/Util9111Dlg.cpp +++ /dev/null @@ -1,1470 +0,0 @@ - -// Util9111Dlg.cpp : implementation file -// - -#include "stdafx.h" -#include "Util9111.h" -#include "Util9111Dlg.h" - -#ifdef _DEBUG -#define new DEBUG_NEW -#endif - -CRect plotRect0, plotRect1; - - -// CAboutDlg dialog used for App About - -class CAboutDlg : public CDialog -{ -public: - CAboutDlg(); - -// Dialog Data - enum { IDD = IDD_ABOUTBOX }; - - protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - -// Implementation -protected: - DECLARE_MESSAGE_MAP() -}; - -CAboutDlg::CAboutDlg() : CDialog(CAboutDlg::IDD) -{ -} - -void CAboutDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); -} - -BEGIN_MESSAGE_MAP(CAboutDlg, CDialog) -END_MESSAGE_MAP() - - -// CUtil9111Dlg dialog - - - - -CUtil9111Dlg::CUtil9111Dlg(I16 hCard, U16 wCardType, CWnd* pParent /*=NULL*/) - : CDialog(CUtil9111Dlg::IDD, pParent) -{ - m_hIcon = AfxGetApp()->LoadIcon(IDR_MAINFRAME); - - m_hCard = hCard; - m_wCardType = wCardType; - - n_PlotWidth = n_PlotHeight = -1; - OnBrush = OffBrush = NULL; - - min_val = 0x00; - max_val = 0xFFFF; - - for( int i=0; iAppendMenu(MF_SEPARATOR); - pSysMenu->AppendMenu(MF_STRING, IDM_ABOUTBOX, strAboutMenu); - } - } - - // Set the icon for this dialog. The framework does this automatically - // when the application's main window is not a dialog - SetIcon(m_hIcon, TRUE); // Set big icon - SetIcon(m_hIcon, FALSE); // Set small icon - - x_divider = 5; y_divider = 2; - - OnBrush = CreateSolidBrush( RGB(255,0,0) ); - OffBrush = CreateSolidBrush( RGB(125,0,0) ); - - RedPen.CreatePen( PS_SOLID, 1, RGB(255,0,0)); - GreenPen.CreatePen( PS_SOLID, 1, RGB(0,255,0)); - YellowPen.CreatePen( PS_SOLID, 1, RGB(255,255,0)); - BluePen.CreatePen( PS_SOLID, 1, RGB(0,0,255)); - LTBluePen.CreatePen( PS_SOLID, 1, RGB(0,128,255)); - LTRedPen.CreatePen( PS_SOLID, 1, RGB(255,128,0)); - LTGreenPen.CreatePen( PS_SOLID, 1, RGB(0,128,0)); - WhitePen.CreatePen( PS_SOLID, 1, RGB(255,255,255)); - - - - - if( n_PlotWidth == -1 && n_PlotHeight == -1 ) - { - ((CWnd*)GetDlgItem(IDC_STATIC_DRAW0))->GetWindowRect(&plotRect0); - ScreenToClient(&plotRect0); - - n_PlotWidth = min( plotRect0.Width(), 512); - n_PlotHeight = plotRect0.Height(); - - ((CWnd*)GetDlgItem(IDC_STATIC_DRAW1))->GetWindowRect(&plotRect1); - ScreenToClient(&plotRect1); - } - - - // TODO: Add extra initialization here - info.cbSize = sizeof(SCROLLINFO); - info.fMask = SIF_ALL; - info.nMin = 0; - info.nMax = 4095; - info.nPage = 2; - info.nPos = 0; - info.nTrackPos = 2; - m_scBarAO.SetScrollInfo(&info); - m_nAOValue = 0; - - m_cbAIRange.SetCurSel( 1 ); - max_range = 5.0; - min_range = -5.0; - m_wAdRange = AD_B_5_V; - - m_nTimer = SetTimer( 1, 100, NULL ); - - return TRUE; // return TRUE unless you set the focus to a control -} - -void CUtil9111Dlg::OnSysCommand(UINT nID, LPARAM lParam) -{ - if ((nID & 0xFFF0) == IDM_ABOUTBOX) - { - CAboutDlg dlgAbout; - dlgAbout.DoModal(); - } - else - { - CDialog::OnSysCommand(nID, lParam); - } -} - -// If you add a minimize button to your dialog, you will need the code below -// to draw the icon. For MFC applications using the document/view model, -// this is automatically done for you by the framework. - -void CUtil9111Dlg::OnPaint() -{ - if (IsIconic()) - { - CPaintDC dc(this); // device context for painting - - SendMessage(WM_ICONERASEBKGND, reinterpret_cast(dc.GetSafeHdc()), 0); - - // Center icon in client rectangle - int cxIcon = GetSystemMetrics(SM_CXICON); - int cyIcon = GetSystemMetrics(SM_CYICON); - CRect rect; - GetClientRect(&rect); - int x = (rect.Width() - cxIcon + 1) / 2; - int y = (rect.Height() - cyIcon + 1) / 2; - - // Draw the icon - dc.DrawIcon(x, y, m_hIcon); - } - else - { - redraw_display_area(); - CDialog::OnPaint(); - } -} - -// The system calls this function to obtain the cursor to display while the user drags -// the minimized window. -HCURSOR CUtil9111Dlg::OnQueryDragIcon() -{ - return static_cast(m_hIcon); -} - - -void CUtil9111Dlg::OnHScroll(UINT nSBCode, UINT nPos, CScrollBar* pScrollBar) -{ - // TODO: Add your message handler code here and/or call default - int minpos; - int maxpos; - double fAOValue; - CString strTmp; - - m_scBarAO.GetScrollRange(&minpos, &maxpos); - maxpos = m_scBarAO.GetScrollLimit(); - - // Get the current position of scroll box. - int curpos = m_scBarAO.GetScrollPos(); - - // Determine the new position of scroll box. - switch (nSBCode) - { - case SB_LINELEFT: // Scroll left. - if (curpos > minpos) - curpos--; - break; - - case SB_LINERIGHT: // Scroll right. - if (curpos < maxpos) - curpos++; - break; - - case SB_THUMBPOSITION: // Scroll to absolute position. nPos is the position - curpos = nPos; // of the scroll box at the end of the drag operation. - - break; - - case SB_LEFT: // Scroll to far left. - case SB_RIGHT: // Scroll to far right. - case SB_ENDSCROLL: // End scroll. - case SB_PAGELEFT: // Scroll one page left. - case SB_PAGERIGHT: // Scroll one page right. - case SB_THUMBTRACK: // Drag scroll box to specified position. nPos is the - - break; - } - - // Set the new position of the thumb (scroll box). - m_scBarAO.SetScrollPos(curpos); - - if( m_nAOValue != curpos ) - { - // update the m_nAOValue value, and output AO - m_nAOValue = curpos; - fAOValue = ( 20.0 * (double)curpos / (double)(maxpos - minpos) ) - 10.0; - strTmp.Format( TEXT("%.02f"), fAOValue ); - SetDlgItemText( IDC_EDIT_AO, strTmp ); - - AO_WriteChannel(m_hCard, 0, curpos); - } - - - CDialog::OnHScroll(nSBCode, nPos, pScrollBar); -} - - - -void CUtil9111Dlg::OnDestroy() -{ - CDialog::OnDestroy(); - - // TODO: Add your message handler code here - - if( m_nTimer != -1 ) - { - KillTimer( m_nTimer ); - m_nTimer = -1; - } - - if( OnBrush != NULL ) - ::DeleteObject( OnBrush ); - - if( OffBrush != NULL ) - ::DeleteObject( OffBrush ); - - RedPen.DeleteObject(); - GreenPen.DeleteObject(); - YellowPen.DeleteObject(); - BluePen.DeleteObject(); - LTBluePen.DeleteObject(); - LTRedPen.DeleteObject(); - LTGreenPen.DeleteObject(); - WhitePen.DeleteObject(); -} - -void CUtil9111Dlg::OnAIRangeSelchange() -{ - // TODO: Add your control notification handler code here - U16 tmpAdRange; - int nIndex; - double maxRange, minRange; - - nIndex = m_cbAIRange.GetCurSel(); - switch( nIndex ) - { - case 0: - tmpAdRange = AD_B_10_V; - maxRange = 10.0; - minRange = -10.0; - break; - case 1: - tmpAdRange = AD_B_5_V; - maxRange = 5.0; - minRange = -5.0; - break; - case 2: - tmpAdRange = AD_B_2_5_V; - maxRange = 2.5; - minRange = -2.5; - break; - case 3: - tmpAdRange = AD_B_1_25_V; - maxRange = 1.25; - minRange = -1.25; - break; - case 4: - tmpAdRange = AD_B_0_625_V; - maxRange = 0.625; - minRange = -0.625; - break; - } - - - if( tmpAdRange != m_wAdRange ) - { // update m_InPortA and configure the target Port - m_wAdRange = tmpAdRange; - - max_range = maxRange; - min_range = minRange; - - redraw_display_area(); - - } - -} - -void CUtil9111Dlg::OnAI00Enable() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_RADIO_CH0 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_AIEnable[0] = 0x01; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_AIEnable[0] = 0x00; - } -} - -void CUtil9111Dlg::OnAI01Enable() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_RADIO_CH1 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_AIEnable[1] = 0x01; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_AIEnable[1] = 0x00; - } -} - -void CUtil9111Dlg::OnAI02Enable() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_RADIO_CH2 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_AIEnable[2] = 0x01; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_AIEnable[2] = 0x00; - } -} - -void CUtil9111Dlg::OnAI03Enable() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_RADIO_CH3 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_AIEnable[3] = 0x01; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_AIEnable[3] = 0x00; - } -} - -void CUtil9111Dlg::OnAI04Enable() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_RADIO_CH4 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_AIEnable[4] = 0x01; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_AIEnable[4] = 0x00; - } -} - -void CUtil9111Dlg::OnAI05Enable() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_RADIO_CH5 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_AIEnable[5] = 0x01; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_AIEnable[5] = 0x00; - } -} - -void CUtil9111Dlg::OnAI06Enable() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_RADIO_CH6 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_AIEnable[6] = 0x01; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_AIEnable[6] = 0x00; - } -} - -void CUtil9111Dlg::OnAI07Enable() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_RADIO_CH7 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_AIEnable[7] = 0x01; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_AIEnable[7] = 0x00; - } -} - -void CUtil9111Dlg::OnAI08Enable() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_RADIO_CH8 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_AIEnable[8] = 0x01; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_AIEnable[8] = 0x00; - } -} - -void CUtil9111Dlg::OnAI09Enable() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_RADIO_CH9 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_AIEnable[9] = 0x01; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_AIEnable[9] = 0x00; - } -} - -void CUtil9111Dlg::OnAI10Enable() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_RADIO_CH10 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_AIEnable[10] = 0x01; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_AIEnable[10] = 0x00; - } -} - -void CUtil9111Dlg::OnAI11Enable() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_RADIO_CH11 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_AIEnable[11] = 0x01; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_AIEnable[11] = 0x00; - } -} - -void CUtil9111Dlg::OnAI12Enable() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_RADIO_CH12 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_AIEnable[12] = 0x01; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_AIEnable[12] = 0x00; - } -} - -void CUtil9111Dlg::OnAI13Enable() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_RADIO_CH13 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_AIEnable[13] = 0x01; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_AIEnable[13] = 0x00; - } -} - -void CUtil9111Dlg::OnAI14Enable() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_RADIO_CH14 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_AIEnable[14] = 0x01; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_AIEnable[14] = 0x00; - } -} - -void CUtil9111Dlg::OnAI15Enable() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_RADIO_CH15 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_AIEnable[15] = 0x01; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_AIEnable[15] = 0x00; - } -} - -void CUtil9111Dlg::OnDo00() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_DO00 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_OutData |= 0x01; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_OutData &= (~0x01); - } - - DO_WritePort(m_hCard, 0, m_OutData); -} - -void CUtil9111Dlg::OnDo01() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_DO01 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_OutData |= 0x02; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_OutData &= (~0x02); - } - - DO_WritePort(m_hCard, 0, m_OutData); -} - -void CUtil9111Dlg::OnDo02() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_DO02 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_OutData |= 0x04; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_OutData &= (~0x04); - } - - DO_WritePort(m_hCard, 0, m_OutData); -} - -void CUtil9111Dlg::OnDo03() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_DO03 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_OutData |= 0x08; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_OutData &= (~0x08); - } - - DO_WritePort(m_hCard, 0, m_OutData); -} - -void CUtil9111Dlg::OnDo04() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_DO04 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_OutData |= 0x10; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_OutData &= (~0x10); - } - - DO_WritePort(m_hCard, 0, m_OutData); -} - -void CUtil9111Dlg::OnDo05() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_DO05 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_OutData |= 0x20; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_OutData &= (~0x20); - } - - DO_WritePort(m_hCard, 0, m_OutData); -} - -void CUtil9111Dlg::OnDo06() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_DO06 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_OutData |= 0x40; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_OutData &= (~0x40); - } - - DO_WritePort(m_hCard, 0, m_OutData); -} - -void CUtil9111Dlg::OnDo07() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_DO07 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_OutData |= 0x80; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_OutData &= (~0x80); - } - - DO_WritePort(m_hCard, 0, m_OutData); -} - -void CUtil9111Dlg::OnDo08() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_DO08 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_OutData |= 0x100; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_OutData &= (~0x100); - } - - DO_WritePort(m_hCard, 0, m_OutData); -} - -void CUtil9111Dlg::OnDo09() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_DO09 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_OutData |= 0x200; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_OutData &= (~0x200); - } - - DO_WritePort(m_hCard, 0, m_OutData); -} - -void CUtil9111Dlg::OnDo10() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_DO10 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_OutData |= 0x400; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_OutData &= (~0x400); - } - - DO_WritePort(m_hCard, 0, m_OutData); -} - -void CUtil9111Dlg::OnDo11() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_DO11 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_OutData |= 0x800; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_OutData &= (~0x800); - } - - DO_WritePort(m_hCard, 0, m_OutData); -} - -void CUtil9111Dlg::OnDo12() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_DO12 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_OutData |= 0x1000; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_OutData &= (~0x1000); - } - - DO_WritePort(m_hCard, 0, m_OutData); -} - -void CUtil9111Dlg::OnDo13() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_DO13 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_OutData |= 0x2000; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_OutData &= (~0x2000); - } - - DO_WritePort(m_hCard, 0, m_OutData); -} - -void CUtil9111Dlg::OnDo14() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_DO14 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_OutData |= 0x4000; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_OutData &= (~0x4000); - } - - DO_WritePort(m_hCard, 0, m_OutData); -} - -void CUtil9111Dlg::OnDo15() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_DO15 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_OutData |= 0x8000; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_OutData &= (~0x8000); - } - - DO_WritePort(m_hCard, 0, m_OutData); -} - -void CUtil9111Dlg::OnTimer(UINT_PTR nIDEvent) -{ - // TODO: Add your message handler code here and/or call default - U32 dwPortData,dwChangeMask; - I16 err; - - err = DI_ReadPort(m_hCard, P9111_CHANNEL_DI, &dwPortData); - dwChangeMask = dwPortData ^ m_InData; - - if( dwChangeMask != 0x00 ) // Input had been changed - { - - m_InData = dwPortData; - - if( (dwChangeMask & 0x0001) == 0x0001 ) // if the target bit is changed - { - if( (dwPortData & 0x0001) == 0x0001 ) - { - m_Icon_IN00.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_IN00.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - - if( (dwChangeMask & 0x0002) == 0x0002 ) // if the target bit is changed - { - if( (dwPortData & 0x0002) == 0x0002 ) - { - m_Icon_IN01.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_IN01.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - if( (dwChangeMask & 0x0004) == 0x0004 ) // if the target bit is changed - { - if( (dwPortData & 0x0004) == 0x0004 ) - { - m_Icon_IN02.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_IN02.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - if( (dwChangeMask & 0x0008) == 0x0008 ) // if the target bit is changed - { - if( (dwPortData & 0x0008) == 0x0008 ) - { - m_Icon_IN03.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_IN03.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - if( (dwChangeMask & 0x0010) == 0x0010 ) // if the target bit is changed - { - if( (dwPortData & 0x0010) == 0x0010 ) - { - m_Icon_IN04.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_IN04.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - if( (dwChangeMask & 0x0020) == 0x0020 ) // if the target bit is changed - { - if( (dwPortData & 0x0020) == 0x0020 ) - { - m_Icon_IN05.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_IN05.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - if( (dwChangeMask & 0x0040) == 0x0040 ) // if the target bit is changed - { - if( (dwPortData & 0x0040) == 0x0040 ) - { - m_Icon_IN06.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_IN06.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - if( (dwChangeMask & 0x0080) == 0x0080 ) // if the target bit is changed - { - if( (dwPortData & 0x0080) == 0x0080 ) - { - m_Icon_IN07.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_IN07.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - if( (dwChangeMask & 0x0100) == 0x0100 ) // if the target bit is changed - { - if( (dwPortData & 0x0100) == 0x0100 ) - { - m_Icon_IN08.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_IN08.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - - if( (dwChangeMask & 0x0200) == 0x0200 ) // if the target bit is changed - { - if( (dwPortData & 0x0200) == 0x0200 ) - { - m_Icon_IN09.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_IN09.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - if( (dwChangeMask & 0x0400) == 0x0400 ) // if the target bit is changed - { - if( (dwPortData & 0x0400) == 0x0400 ) - { - m_Icon_IN10.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_IN10.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - if( (dwChangeMask & 0x0800) == 0x0800 ) // if the target bit is changed - { - if( (dwPortData & 0x0800) == 0x0800 ) - { - m_Icon_IN11.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_IN11.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - if( (dwChangeMask & 0x1000) == 0x1000 ) // if the target bit is changed - { - if( (dwPortData & 0x1000) == 0x1000 ) - { - m_Icon_IN12.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_IN12.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - if( (dwChangeMask & 0x2000) == 0x2000 ) // if the target bit is changed - { - if( (dwPortData & 0x2000) == 0x2000 ) - { - m_Icon_IN13.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_IN13.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - if( (dwChangeMask & 0x4000) == 0x4000 ) // if the target bit is changed - { - if( (dwPortData & 0x4000) == 0x4000 ) - { - m_Icon_IN14.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_IN14.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - if( (dwChangeMask & 0x8000) == 0x8000 ) // if the target bit is changed - { - if( (dwPortData & 0x8000) == 0x8000 ) - { - m_Icon_IN15.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_IN15.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - } - - for( int i=0; i> 4; - newY = (int)( nDraw_Bottom - ((n_PlotHeight * ai_data) >> 12 ) ); // (n_PlotHeight * ai_data / 4096 ) ); // ( (n_PlotHeight/2) * ai_data/2048 ) ); - } - else // m_wCardType == PCI_9111HR - { - ai_data = (I16)(m_AIData[i]); - newY = (int)( nDraw_Bottom - ((n_PlotHeight * ai_data) >> 16) ); // ( n_PlotHeight * ai_data / 65536) ); // ( (n_PlotHeight/2) * ai_data/32768 ) ); - } - - if ( m_oldY[i] !=-1 ) - { - if( i < 8 ) - { - dc_plot.MoveTo( plotRect0.left+2, newY ); - dc_plot.LineTo( plotRect0.left+5, m_oldY[i] ); - } - else - { - dc_plot.MoveTo( plotRect1.left+2, newY ); - dc_plot.LineTo( plotRect1.left+5, m_oldY[i] ); - } - } - - m_oldY[i] = newY; - } - } - - return 0; -} diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9111/SDK9111/Util9111Dlg.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9111/SDK9111/Util9111Dlg.h deleted file mode 100644 index 037e121..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9111/SDK9111/Util9111Dlg.h +++ /dev/null @@ -1,129 +0,0 @@ - -// Util9111Dlg.h : header file -// - -#pragma once -#include "afxcmn.h" -#include "afxwin.h" - -#include "Dask64.h" - -#ifndef MAX_CHAN_9111 -#define MAX_CHAN_9111 16 -#endif - -// CUtil9111Dlg dialog -class CUtil9111Dlg : public CDialog -{ -// Construction -public: - CUtil9111Dlg(I16 hCard, U16 wCardType, CWnd* pParent = NULL); // standard constructor - -// Dialog Data - enum { IDD = IDD_UTIL9111_DIALOG }; - - protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - - -// Implementation -protected: - HICON m_hIcon; - UINT_PTR m_nTimer; - I16 m_hCard; - U16 m_wCardType; - int m_nAOValue; - U16 m_wAdRange; - U8 m_AIEnable[MAX_CHAN_9111]; - U16 m_AIData[MAX_CHAN_9111]; - U32 m_OutData; - U32 m_InData; - - // Generated message map functions - virtual BOOL OnInitDialog(); - afx_msg void OnSysCommand(UINT nID, LPARAM lParam); - afx_msg void OnPaint(); - afx_msg HCURSOR OnQueryDragIcon(); - DECLARE_MESSAGE_MAP() -public: - CScrollBar m_scBarAO; - afx_msg void OnHScroll(UINT nSBCode, UINT nPos, CScrollBar* pScrollBar); - CComboBox m_cbAIRange; - WORD max_val; - WORD min_val; - double max_range; - double min_range; - int n_PlotWidth; - int n_PlotHeight; - int y_divider; - int x_divider; - int m_DisplayScale; - int m_oldY[MAX_CHAN_9111]; - HBRUSH OnBrush; - HBRUSH OffBrush; - CPen RedPen; - CPen GreenPen; - CPen YellowPen; - CPen BluePen; - CPen LTBluePen; - CPen LTRedPen; - CPen LTGreenPen; - CPen WhitePen; - -private: - void redraw_display_area(void); -public: - afx_msg void OnDestroy(); - afx_msg void OnAIRangeSelchange(); - afx_msg void OnAI00Enable(); - afx_msg void OnAI01Enable(); - afx_msg void OnAI02Enable(); - afx_msg void OnAI03Enable(); - afx_msg void OnAI04Enable(); - afx_msg void OnAI05Enable(); - afx_msg void OnAI06Enable(); - afx_msg void OnAI07Enable(); - afx_msg void OnAI08Enable(); - afx_msg void OnAI09Enable(); - afx_msg void OnAI10Enable(); - afx_msg void OnAI11Enable(); - afx_msg void OnAI12Enable(); - afx_msg void OnAI13Enable(); - afx_msg void OnAI14Enable(); - afx_msg void OnAI15Enable(); - afx_msg void OnDo00(); - afx_msg void OnDo01(); - afx_msg void OnDo02(); - afx_msg void OnDo03(); - afx_msg void OnDo04(); - afx_msg void OnDo05(); - afx_msg void OnDo06(); - afx_msg void OnDo07(); - afx_msg void OnDo08(); - afx_msg void OnDo09(); - afx_msg void OnDo10(); - afx_msg void OnDo11(); - afx_msg void OnDo12(); - afx_msg void OnDo13(); - afx_msg void OnDo14(); - afx_msg void OnDo15(); - afx_msg void OnTimer(UINT_PTR nIDEvent); - CStatic m_Icon_IN00; - CStatic m_Icon_IN01; - CStatic m_Icon_IN02; - CStatic m_Icon_IN03; - CStatic m_Icon_IN04; - CStatic m_Icon_IN05; - CStatic m_Icon_IN06; - CStatic m_Icon_IN07; - CStatic m_Icon_IN08; - CStatic m_Icon_IN09; - CStatic m_Icon_IN10; - CStatic m_Icon_IN11; - CStatic m_Icon_IN12; - CStatic m_Icon_IN13; - CStatic m_Icon_IN14; - CStatic m_Icon_IN15; -private: - int display_buffer_data(void); -}; diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9111/SDK9111/res/Util9111.ico b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9111/SDK9111/res/Util9111.ico deleted file mode 100644 index d56fbcd..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9111/SDK9111/res/Util9111.ico and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9111/SDK9111/res/Util9111.rc2 b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9111/SDK9111/res/Util9111.rc2 deleted file mode 100644 index 4b43b56..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9111/SDK9111/res/Util9111.rc2 +++ /dev/null @@ -1,13 +0,0 @@ -// -// Util9111.RC2 - resources Microsoft Visual C++ does not edit directly -// - -#ifdef APSTUDIO_INVOKED -#error this file is not editable by Microsoft Visual C++ -#endif //APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// Add manually edited resources here... - -///////////////////////////////////////////////////////////////////////////// diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9111/SDK9111/res/black.ico b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9111/SDK9111/res/black.ico deleted file mode 100644 index b5c375f..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9111/SDK9111/res/black.ico and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9111/SDK9111/res/blue.ico b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9111/SDK9111/res/blue.ico deleted file mode 100644 index 1df4b39..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9111/SDK9111/res/blue.ico and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9111/SDK9111/res/ch_set1.bmp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9111/SDK9111/res/ch_set1.bmp deleted file mode 100644 index f2374ed..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9111/SDK9111/res/ch_set1.bmp and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9111/SDK9111/res/ch_set2.bmp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9111/SDK9111/res/ch_set2.bmp deleted file mode 100644 index 32d0915..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9111/SDK9111/res/ch_set2.bmp and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9111/SDK9111/res/green.ico b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9111/SDK9111/res/green.ico deleted file mode 100644 index d9a9fd3..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9111/SDK9111/res/green.ico and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9111/SDK9111/res/icon1.ico b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9111/SDK9111/res/icon1.ico deleted file mode 100644 index f1282c6..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9111/SDK9111/res/icon1.ico and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9111/SDK9111/res/pink.ico b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9111/SDK9111/res/pink.ico deleted file mode 100644 index 18bdaad..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9111/SDK9111/res/pink.ico and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9111/SDK9111/res/red.ico b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9111/SDK9111/res/red.ico deleted file mode 100644 index 7644596..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9111/SDK9111/res/red.ico and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9111/SDK9111/res/yellow.ico b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9111/SDK9111/res/yellow.ico deleted file mode 100644 index 3449de2..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9111/SDK9111/res/yellow.ico and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9111/SDK9111/resource.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9111/SDK9111/resource.h deleted file mode 100644 index 8f02b4e..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9111/SDK9111/resource.h +++ /dev/null @@ -1,84 +0,0 @@ -//{{NO_DEPENDENCIES}} -// Microsoft Visual C++ generated include file. -// Used by Util9111.rc -// -#define IDM_ABOUTBOX 0x0010 -#define IDD_ABOUTBOX 100 -#define IDS_ABOUTBOX 101 -#define IDD_UTIL9111_DIALOG 102 -#define IDR_MAINFRAME 128 -#define IDI_ICON_BLACK 130 -#define IDI_ICON_RED 131 -#define IDB_BITMAP_SET1 132 -#define IDB_BITMAP_SET2 133 -#define IDD_CARDID_DIALOG 135 -#define IDC_STATIC_DRAW0 1000 -#define IDC_COMBO_CARDID 1000 -#define IDC_SCROLLBAR1 1001 -#define IDC_COMBO_CARDTYPE 1001 -#define IDC_STATIC_DRAW1 1002 -#define IDC_ICON_DI00 1003 -#define IDC_ICON_DI01 1004 -#define IDC_ICON_DI02 1005 -#define IDC_ICON_DI03 1006 -#define IDC_ICON_DI04 1007 -#define IDC_ICON_DI05 1008 -#define IDC_ICON_DI06 1009 -#define IDC_ICON_DI07 1010 -#define IDC_ICON_DI08 1011 -#define IDC_ICON_DI09 1012 -#define IDC_ICON_DI10 1013 -#define IDC_ICON_DI11 1014 -#define IDC_STATIC_01 1014 -#define IDC_ICON_DI12 1015 -#define IDC_STATIC_2 1015 -#define IDC_ICON_DI13 1016 -#define IDC_ICON_DI14 1017 -#define IDC_ICON_DI15 1018 -#define IDC_RADIO_CH0 1019 -#define IDC_RADIO_CH1 1020 -#define IDC_RADIO_CH2 1021 -#define IDC_RADIO_CH3 1022 -#define IDC_RADIO_CH4 1023 -#define IDC_RADIO_CH5 1024 -#define IDC_RADIO_CH6 1025 -#define IDC_RADIO_CH7 1026 -#define IDC_RADIO_CH8 1027 -#define IDC_RADIO_CH9 1028 -#define IDC_RADIO_CH10 1029 -#define IDC_RADIO_CH11 1030 -#define IDC_RADIO_CH12 1031 -#define IDC_RADIO_CH13 1032 -#define IDC_RADIO_CH14 1033 -#define IDC_RADIO_CH15 1034 -#define IDC_CHECK_DO00 1035 -#define IDC_CHECK_DO01 1036 -#define IDC_CHECK_DO02 1037 -#define IDC_CHECK_DO03 1038 -#define IDC_CHECK_DO04 1039 -#define IDC_CHECK_DO05 1040 -#define IDC_CHECK_DO06 1041 -#define IDC_CHECK_DO07 1042 -#define IDC_CHECK_DO08 1043 -#define IDC_CHECK_DO09 1044 -#define IDC_CHECK_DO10 1045 -#define IDC_CHECK_DO11 1046 -#define IDC_CHECK_DO12 1047 -#define IDC_CHECK_DO13 1048 -#define IDC_CHECK_DO14 1049 -#define IDC_CHECK_DO15 1050 -#define IDC_COMBO1 1051 -#define IDC_COMBO_AI_RANGE 1051 -#define IDC_EDIT1 1052 -#define IDC_EDIT_AO 1052 - -// Next default values for new objects -// -#ifdef APSTUDIO_INVOKED -#ifndef APSTUDIO_READONLY_SYMBOLS -#define _APS_NEXT_RESOURCE_VALUE 137 -#define _APS_NEXT_COMMAND_VALUE 32771 -#define _APS_NEXT_CONTROL_VALUE 1053 -#define _APS_NEXT_SYMED_VALUE 101 -#endif -#endif diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9111/SDK9111/stdafx.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9111/SDK9111/stdafx.cpp deleted file mode 100644 index c8c8934..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9111/SDK9111/stdafx.cpp +++ /dev/null @@ -1,8 +0,0 @@ - -// stdafx.cpp : source file that includes just the standard includes -// Util9111.pch will be the pre-compiled header -// stdafx.obj will contain the pre-compiled type information - -#include "stdafx.h" - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9111/SDK9111/stdafx.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9111/SDK9111/stdafx.h deleted file mode 100644 index 12123e2..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9111/SDK9111/stdafx.h +++ /dev/null @@ -1,60 +0,0 @@ - -// stdafx.h : include file for standard system include files, -// or project specific include files that are used frequently, -// but are changed infrequently - -#pragma once - -#ifndef _SECURE_ATL -#define _SECURE_ATL 1 -#endif - -#ifndef VC_EXTRALEAN -#define VC_EXTRALEAN // Exclude rarely-used stuff from Windows headers -#endif - -#include "targetver.h" - -#define _ATL_CSTRING_EXPLICIT_CONSTRUCTORS // some CString constructors will be explicit - -// turns off MFC's hiding of some common and often safely ignored warning messages -#define _AFX_ALL_WARNINGS - -#include // MFC core and standard components -#include // MFC extensions - - -#include // MFC Automation classes - - - -#ifndef _AFX_NO_OLE_SUPPORT -#include // MFC support for Internet Explorer 4 Common Controls -#endif -#ifndef _AFX_NO_AFXCMN_SUPPORT -#include // MFC support for Windows Common Controls -#endif // _AFX_NO_AFXCMN_SUPPORT - -#include // MFC support for ribbons and control bars - - - - - - - - - -#ifdef _UNICODE -#if defined _M_IX86 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='x86' publicKeyToken='6595b64144ccf1df' language='*'\"") -#elif defined _M_IA64 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='ia64' publicKeyToken='6595b64144ccf1df' language='*'\"") -#elif defined _M_X64 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='amd64' publicKeyToken='6595b64144ccf1df' language='*'\"") -#else -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='*' publicKeyToken='6595b64144ccf1df' language='*'\"") -#endif -#endif - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9111/SDK9111/targetver.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9111/SDK9111/targetver.h deleted file mode 100644 index 11730d5..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9111/SDK9111/targetver.h +++ /dev/null @@ -1,26 +0,0 @@ - -#pragma once - -// The following macros define the minimum required platform. The minimum required platform -// is the earliest version of Windows, Internet Explorer etc. that has the necessary features to run -// your application. The macros work by enabling all features available on platform versions up to and -// including the version specified. - -// Modify the following defines if you have to target a platform prior to the ones specified below. -// Refer to MSDN for the latest info on corresponding values for different platforms. -#ifndef WINVER // Specifies that the minimum required platform is Windows Vista. -#define WINVER 0x0600 // Change this to the appropriate value to target other versions of Windows. -#endif - -#ifndef _WIN32_WINNT // Specifies that the minimum required platform is Windows Vista. -#define _WIN32_WINNT 0x0600 // Change this to the appropriate value to target other versions of Windows. -#endif - -#ifndef _WIN32_WINDOWS // Specifies that the minimum required platform is Windows 98. -#define _WIN32_WINDOWS 0x0410 // Change this to the appropriate value to target Windows Me or later. -#endif - -#ifndef _WIN32_IE // Specifies that the minimum required platform is Internet Explorer 7.0. -#define _WIN32_IE 0x0700 // Change this to the appropriate value to target other versions of IE. -#endif - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9111/SDK9111DbfInt/9111DbInt.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9111/SDK9111DbfInt/9111DbInt.cpp deleted file mode 100644 index 458ccbc..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9111/SDK9111DbfInt/9111DbInt.cpp +++ /dev/null @@ -1,111 +0,0 @@ - -// 9111DbInt.cpp : Defines the class behaviors for the application. -// - -#include "stdafx.h" -#include "9111DbInt.h" -#include "9111DbIntDlg.h" -#include "CardIDDlg.h" - -#ifdef _DEBUG -#define new DEBUG_NEW -#endif - - -// C9111DbIntApp - -BEGIN_MESSAGE_MAP(C9111DbIntApp, CWinAppEx) - ON_COMMAND(ID_HELP, &CWinApp::OnHelp) -END_MESSAGE_MAP() - - -// C9111DbIntApp construction - -C9111DbIntApp::C9111DbIntApp() -{ - // TODO: add construction code here, - // Place all significant initialization in InitInstance -} - - -// The one and only C9111DbIntApp object - -C9111DbIntApp theApp; - - -// C9111DbIntApp initialization - -BOOL C9111DbIntApp::InitInstance() -{ - int nCardID = 0; - I16 hCard; - U16 wCardType; - CString strTemp; - INT_PTR nResponse; - - // InitCommonControlsEx() is required on Windows XP if an application - // manifest specifies use of ComCtl32.dll version 6 or later to enable - // visual styles. Otherwise, any window creation will fail. - INITCOMMONCONTROLSEX InitCtrls; - InitCtrls.dwSize = sizeof(InitCtrls); - // Set this to include all the common control classes you want to use - // in your application. - InitCtrls.dwICC = ICC_WIN95_CLASSES; - InitCommonControlsEx(&InitCtrls); - - CWinAppEx::InitInstance(); - - AfxEnableControlContainer(); - - // Standard initialization - // If you are not using these features and wish to reduce the size - // of your final executable, you should remove from the following - // the specific initialization routines you do not need - // Change the registry key under which our settings are stored - // TODO: You should modify this string to be something appropriate - // such as the name of your company or organization - SetRegistryKey(_T("Local AppWizard-Generated Applications")); - - CCardIDDlg CardDlg( nCardID ); - - nResponse = CardDlg.DoModal(); - if (nResponse == IDOK) - { - nCardID = CardDlg.GetCardID(); - wCardType = CardDlg.GetCardType(); - - if ((hCard=Register_Card(wCardType, nCardID)) < 0) - { - strTemp.Format( TEXT("Register_Card Error = %d"), hCard); - AfxMessageBox( strTemp ); - } - else - { - C9111DbIntDlg dlg(hCard, wCardType); - m_pMainWnd = &dlg; - nResponse = dlg.DoModal(); - if (nResponse == IDOK) - { - // TODO: Place code here to handle when the dialog is - // dismissed with OK - } - else if (nResponse == IDCANCEL) - { - // TODO: Place code here to handle when the dialog is - // dismissed with Cancel - } - - if (hCard >= 0) Release_Card(hCard); - } - - } - else if (nResponse == IDCANCEL) - { - // TODO: Place code here to handle when the dialog is - // dismissed with Cancel - } - - // Since the dialog has been closed, return FALSE so that we exit the - // application, rather than start the application's message pump. - return FALSE; -} diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9111/SDK9111DbfInt/9111DbInt.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9111/SDK9111DbfInt/9111DbInt.h deleted file mode 100644 index 9848978..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9111/SDK9111DbfInt/9111DbInt.h +++ /dev/null @@ -1,32 +0,0 @@ - -// 9111DbInt.h : main header file for the PROJECT_NAME application -// - -#pragma once - -#ifndef __AFXWIN_H__ - #error "include 'stdafx.h' before including this file for PCH" -#endif - -#include "resource.h" // main symbols - - -// C9111DbIntApp: -// See 9111DbInt.cpp for the implementation of this class -// - -class C9111DbIntApp : public CWinAppEx -{ -public: - C9111DbIntApp(); - -// Overrides - public: - virtual BOOL InitInstance(); - -// Implementation - - DECLARE_MESSAGE_MAP() -}; - -extern C9111DbIntApp theApp; \ No newline at end of file diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9111/SDK9111DbfInt/9111DbInt.rc b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9111/SDK9111DbfInt/9111DbInt.rc deleted file mode 100644 index 6b730a5..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9111/SDK9111DbfInt/9111DbInt.rc +++ /dev/null @@ -1,298 +0,0 @@ -// Microsoft Visual C++ generated resource script. -// -#include "resource.h" - -#define APSTUDIO_READONLY_SYMBOLS -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 2 resource. -// -#ifndef APSTUDIO_INVOKED -#include "targetver.h" -#endif -#include "afxres.h" - -///////////////////////////////////////////////////////////////////////////// -#undef APSTUDIO_READONLY_SYMBOLS - -///////////////////////////////////////////////////////////////////////////// -// Chinese (Taiwan) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_CHT) -#ifdef _WIN32 -LANGUAGE LANG_CHINESE, SUBLANG_CHINESE_TRADITIONAL -#pragma code_page(950) -#endif //_WIN32 - -#ifdef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// TEXTINCLUDE -// - -1 TEXTINCLUDE -BEGIN - "resource.h\0" -END - -2 TEXTINCLUDE -BEGIN - "#ifndef APSTUDIO_INVOKED\r\n" - "#include ""targetver.h""\r\n" - "#endif\r\n" - "#include ""afxres.h""\r\n" - "\0" -END - -3 TEXTINCLUDE -BEGIN - "#define _AFX_NO_SPLITTER_RESOURCES\r\n" - "#define _AFX_NO_OLE_RESOURCES\r\n" - "#define _AFX_NO_TRACKER_RESOURCES\r\n" - "#define _AFX_NO_PROPERTY_RESOURCES\r\n" - "\r\n" - "#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)\r\n" - "LANGUAGE 9, 1\r\n" - "#pragma code_page(1252)\r\n" - "#include ""res\\My9111DbInt.rc2"" // non-Microsoft Visual C++ edited resources\r\n" - "#include ""afxres.rc"" // Standard components\r\n" - "#endif\r\n" - "\0" -END - -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// Icon -// - -// Icon with lowest ID value placed first to ensure application icon -// remains consistent on all systems. -IDR_MAINFRAME ICON "res\\9111DbInt.ico" -#endif // Chinese (Taiwan) resources -///////////////////////////////////////////////////////////////////////////// - - -///////////////////////////////////////////////////////////////////////////// -// English (U.S.) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -#ifdef _WIN32 -LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US -#pragma code_page(1252) -#endif //_WIN32 - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog -// - -IDD_ABOUTBOX DIALOGEX 0, 0, 170, 62 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "About 9111DbInt" -FONT 8, "MS Shell Dlg", 0, 0, 0x1 -BEGIN - ICON IDR_MAINFRAME,IDC_STATIC,14,14,21,20 - LTEXT "9111DbInt, Version 1.0",IDC_STATIC,42,14,114,8,SS_NOPREFIX - LTEXT "Copyright (C) 2010",IDC_STATIC,42,26,114,8 - DEFPUSHBUTTON "OK",IDOK,113,41,50,14,WS_GROUP -END - -IDD_PCI9111POST_TRG_DIALOG DIALOGEX 0, 0, 365, 232 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU -EXSTYLE WS_EX_APPWINDOW -CAPTION "PCI-9111 Double-Buffered Interrupt " -FONT 8, "MS Shell Dlg", 0, 0, 0x1 -BEGIN - GROUPBOX "",IDC_STATIC_DRAW,45,9,248,161,NOT WS_VISIBLE - LTEXT "Range : +/- 5V",IDC_STATIC,299,129,52,15 - LTEXT "Buffer Size",IDC_STATIC,124,183,42,9 - EDITTEXT IDC_EDIT_SAMPLE_RATE,47,196,39,14,ES_AUTOHSCROLL | ES_READONLY - LTEXT "Sample Rate :",IDC_STATIC,47,182,49,9 - LTEXT "KHz",IDC_STATIC,99,199,15,9 - SCROLLBAR IDC_SCROLLBAR_RATE,87,196,9,11,SBS_VERT - PUSHBUTTON "Start",IDC_BT_START,230,188,55,22 - CONTROL "0",IDC_RADIO_CH0,"Button",BS_AUTORADIOBUTTON | BS_LEFTTEXT,307,20,16,12 - CONTROL "1",IDC_RADIO_CH1,"Button",BS_AUTORADIOBUTTON | BS_LEFTTEXT,307,35,16,12 - CONTROL "2",IDC_RADIO_CH2,"Button",BS_AUTORADIOBUTTON | BS_LEFTTEXT,307,49,16,12 - CONTROL "3",IDC_RADIO_CH3,"Button",BS_AUTORADIOBUTTON | BS_LEFTTEXT,307,64,16,12 - CONTROL "4",IDC_RADIO_CH4,"Button",BS_AUTORADIOBUTTON | BS_LEFTTEXT,331,20,16,12 - CONTROL "5",IDC_RADIO_CH5,"Button",BS_AUTORADIOBUTTON | BS_LEFTTEXT,331,35,16,12 - CONTROL "6",IDC_RADIO_CH6,"Button",BS_AUTORADIOBUTTON | BS_LEFTTEXT,331,49,16,12 - CONTROL "7",IDC_RADIO_CH7,"Button",BS_AUTORADIOBUTTON | BS_LEFTTEXT,331,64,16,12 - EDITTEXT IDC_EDIT_BUF_SIZE,122,196,46,14,ES_AUTOHSCROLL - PUSHBUTTON "Stop",IDC_BT_STOP,291,188,55,22 -END - -IDD_CARDID_DIALOG DIALOGEX 0, 0, 174, 108 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "Card ID" -FONT 8, "MS Shell Dlg", 400, 0, 0x1 -BEGIN - COMBOBOX IDC_COMBO_CARDID,75,24,71,126,CBS_DROPDOWN | WS_VSCROLL | WS_TABSTOP - LTEXT "Card Number",IDC_STATIC_01,21,25,46,12 - PUSHBUTTON "OK",IDOK,22,70,58,19 - PUSHBUTTON "CANCEL",IDCANCEL,86,70,58,19 - COMBOBOX IDC_COMBO_CARDTYPE,75,46,71,126,CBS_DROPDOWN | WS_VSCROLL | WS_TABSTOP - LTEXT "Card Type",IDC_STATIC_2,29,47,37,12 -END - - -///////////////////////////////////////////////////////////////////////////// -// -// Version -// - -VS_VERSION_INFO VERSIONINFO - FILEVERSION 1,0,0,1 - PRODUCTVERSION 1,0,0,1 - FILEFLAGSMASK 0x3fL -#ifdef _DEBUG - FILEFLAGS 0x1L -#else - FILEFLAGS 0x0L -#endif - FILEOS 0x4L - FILETYPE 0x1L - FILESUBTYPE 0x0L -BEGIN - BLOCK "StringFileInfo" - BEGIN - BLOCK "040904e4" - BEGIN - VALUE "CompanyName", "TODO: " - VALUE "FileDescription", "TODO: " - VALUE "FileVersion", "1.0.0.1" - VALUE "InternalName", "9111DbInt.exe" - VALUE "LegalCopyright", "TODO: (c) . All rights reserved." - VALUE "OriginalFilename", "9111DbInt.exe" - VALUE "ProductName", "TODO: " - VALUE "ProductVersion", "1.0.0.1" - END - END - BLOCK "VarFileInfo" - BEGIN - VALUE "Translation", 0x409, 1252 - END -END - - -///////////////////////////////////////////////////////////////////////////// -// -// DESIGNINFO -// - -#ifdef APSTUDIO_INVOKED -GUIDELINES DESIGNINFO -BEGIN - IDD_ABOUTBOX, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 163 - TOPMARGIN, 7 - BOTTOMMARGIN, 55 - END - - IDD_CARDID_DIALOG, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 167 - TOPMARGIN, 7 - BOTTOMMARGIN, 101 - END -END -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog Info -// - -IDD_CARDID_DIALOG DLGINIT -BEGIN - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0030, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0031, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0032, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0033, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0034, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0035, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0036, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0037, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0038, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0039, - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3031, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3131, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3231, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3331, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3431, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3531, "\000" - IDC_COMBO_CARDTYPE, 0x403, 11, 0 -0x4350, 0x5f49, 0x3139, 0x3131, 0x4744, "\000" - IDC_COMBO_CARDTYPE, 0x403, 11, 0 -0x4350, 0x5f49, 0x3139, 0x3131, 0x5248, "\000" - 0 -END - - -///////////////////////////////////////////////////////////////////////////// -// -// Bitmap -// - -IDB_BITMAP_SET1 BITMAP "res\\ch_set1.bmp" -IDB_BITMAP_SET2 BITMAP "res\\ch_set2.bmp" - -///////////////////////////////////////////////////////////////////////////// -// -// String Table -// - -STRINGTABLE -BEGIN - IDS_ABOUTBOX "&About 9111DbInt..." -END - -#endif // English (U.S.) resources -///////////////////////////////////////////////////////////////////////////// - - - -#ifndef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 3 resource. -// -#define _AFX_NO_SPLITTER_RESOURCES -#define _AFX_NO_OLE_RESOURCES -#define _AFX_NO_TRACKER_RESOURCES -#define _AFX_NO_PROPERTY_RESOURCES - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -LANGUAGE 9, 1 -#pragma code_page(1252) -#include "res\My9111DbInt.rc2" // non-Microsoft Visual C++ edited resources -#include "afxres.rc" // Standard components -#endif - -///////////////////////////////////////////////////////////////////////////// -#endif // not APSTUDIO_INVOKED - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9111/SDK9111DbfInt/9111DbInt.sln b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9111/SDK9111DbfInt/9111DbInt.sln deleted file mode 100644 index 9a586ec..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9111/SDK9111DbfInt/9111DbInt.sln +++ /dev/null @@ -1,20 +0,0 @@ - -Microsoft Visual Studio Solution File, Format Version 10.00 -# Visual Studio 2008 -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "9111DbInt", "9111DbInt.vcproj", "{702163FB-B6DF-4EF5-9491-FC54D71509BC}" -EndProject -Global - GlobalSection(SolutionConfigurationPlatforms) = preSolution - Debug|x64 = Debug|x64 - Release|x64 = Release|x64 - EndGlobalSection - GlobalSection(ProjectConfigurationPlatforms) = postSolution - {702163FB-B6DF-4EF5-9491-FC54D71509BC}.Debug|x64.ActiveCfg = Debug|x64 - {702163FB-B6DF-4EF5-9491-FC54D71509BC}.Debug|x64.Build.0 = Debug|x64 - {702163FB-B6DF-4EF5-9491-FC54D71509BC}.Release|x64.ActiveCfg = Release|x64 - {702163FB-B6DF-4EF5-9491-FC54D71509BC}.Release|x64.Build.0 = Release|x64 - EndGlobalSection - GlobalSection(SolutionProperties) = preSolution - HideSolutionNode = FALSE - EndGlobalSection -EndGlobal diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9111/SDK9111DbfInt/9111DbInt.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9111/SDK9111DbfInt/9111DbInt.suo deleted file mode 100644 index 9bc55e5..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9111/SDK9111DbfInt/9111DbInt.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9111/SDK9111DbfInt/9111DbInt.vcproj b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9111/SDK9111DbfInt/9111DbInt.vcproj deleted file mode 100644 index 864215e..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9111/SDK9111DbfInt/9111DbInt.vcproj +++ /dev/null @@ -1,294 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9111/SDK9111DbfInt/9111DbIntDlg.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9111/SDK9111DbfInt/9111DbIntDlg.cpp deleted file mode 100644 index dabba0e..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9111/SDK9111DbfInt/9111DbIntDlg.cpp +++ /dev/null @@ -1,632 +0,0 @@ - -// 9111DbIntDlg.cpp : implementation file -// - -#include "stdafx.h" -#include "9111DbInt.h" -#include "9111DbIntDlg.h" - -#ifdef _DEBUG -#define new DEBUG_NEW -#endif - -CRect plotRect; - -// CAboutDlg dialog used for App About - -class CAboutDlg : public CDialog -{ -public: - CAboutDlg(); - -// Dialog Data - enum { IDD = IDD_ABOUTBOX }; - - protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - -// Implementation -protected: - DECLARE_MESSAGE_MAP() -}; - -CAboutDlg::CAboutDlg() : CDialog(CAboutDlg::IDD) -{ -} - -void CAboutDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); -} - -BEGIN_MESSAGE_MAP(CAboutDlg, CDialog) -END_MESSAGE_MAP() - - -// C9111DbIntDlg dialog - - - - -C9111DbIntDlg::C9111DbIntDlg(I16 hCard, U16 wCardType, CWnd* pParent /*=NULL*/) - : CDialog(C9111DbIntDlg::IDD, pParent) -{ - m_hIcon = AfxGetApp()->LoadIcon(IDR_MAINFRAME); - - n_PlotWidth = n_PlotHeight = -1; - OnBrush = OffBrush = NULL; - - min_val = 0x00; - max_val = 0xFFFF; - - m_fSampleRate = 10000.0; // 10KHz - - m_hCard = hCard; - m_wCardType = wCardType; - - m_wScanChans = 0; - m_nTimer = -1; - m_hMem=NULL; - - m_wRange = AD_B_5_V; - m_dwReadCount = 10240; - m_wPostCount = 512; - m_wChannel = 0; - -} - -void C9111DbIntDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); -} - -BEGIN_MESSAGE_MAP(C9111DbIntDlg, CDialog) - ON_WM_SYSCOMMAND() - ON_WM_PAINT() - ON_WM_QUERYDRAGICON() - //}}AFX_MSG_MAP - ON_WM_DESTROY() - ON_WM_VSCROLL() - ON_BN_CLICKED(IDC_BT_START, &C9111DbIntDlg::OnStart) - ON_BN_CLICKED(IDC_RADIO_CH0, &C9111DbIntDlg::OnCh0) - ON_BN_CLICKED(IDC_RADIO_CH1, &C9111DbIntDlg::OnCh1) - ON_BN_CLICKED(IDC_RADIO_CH2, &C9111DbIntDlg::OnCh2) - ON_BN_CLICKED(IDC_RADIO_CH3, &C9111DbIntDlg::OnCh3) - ON_BN_CLICKED(IDC_RADIO_CH4, &C9111DbIntDlg::OnCh4) - ON_BN_CLICKED(IDC_RADIO_CH5, &C9111DbIntDlg::OnCh5) - ON_BN_CLICKED(IDC_RADIO_CH6, &C9111DbIntDlg::OnCh6) - ON_BN_CLICKED(IDC_RADIO_CH7, &C9111DbIntDlg::OnCh7) - ON_WM_TIMER() - ON_BN_CLICKED(IDC_BT_STOP, &C9111DbIntDlg::OnStop) -END_MESSAGE_MAP() - - -// C9111DbIntDlg message handlers - -BOOL C9111DbIntDlg::OnInitDialog() -{ - CDialog::OnInitDialog(); - - // Add "About..." menu item to system menu. - - // IDM_ABOUTBOX must be in the system command range. - ASSERT((IDM_ABOUTBOX & 0xFFF0) == IDM_ABOUTBOX); - ASSERT(IDM_ABOUTBOX < 0xF000); - - CMenu* pSysMenu = GetSystemMenu(FALSE); - if (pSysMenu != NULL) - { - BOOL bNameValid; - CString strAboutMenu; - bNameValid = strAboutMenu.LoadString(IDS_ABOUTBOX); - ASSERT(bNameValid); - if (!strAboutMenu.IsEmpty()) - { - pSysMenu->AppendMenu(MF_SEPARATOR); - pSysMenu->AppendMenu(MF_STRING, IDM_ABOUTBOX, strAboutMenu); - } - } - - // Set the icon for this dialog. The framework does this automatically - // when the application's main window is not a dialog - SetIcon(m_hIcon, TRUE); // Set big icon - SetIcon(m_hIcon, FALSE); // Set small icon - - // TODO: Add extra initialization here - x_divider = 5; y_divider = 4; - - OnBrush = CreateSolidBrush( RGB(255,0,0) ); - OffBrush = CreateSolidBrush( RGB(125,0,0) ); - - RedPen.CreatePen( PS_SOLID, 1, RGB(255,0,0)); - - - if( n_PlotWidth == -1 && n_PlotHeight == -1 ) - { - ((CWnd*)GetDlgItem(IDC_STATIC_DRAW))->GetWindowRect(&plotRect); - ScreenToClient(&plotRect); - - n_PlotWidth = min( plotRect.Width(), 512); - n_PlotHeight = plotRect.Height() - 10; - } - - // set the default SampleRate - SetDlgItemInt( IDC_EDIT_SAMPLE_RATE, (UINT)(m_fSampleRate/1000) ); - SetDlgItemInt( IDC_EDIT_BUF_SIZE, (UINT)(m_dwReadCount) ); - ((CButton*)GetDlgItem( IDC_RADIO_CH0 ))->SetCheck( TRUE ); - - m_wChannel = 0; - - max_range = 5.0; - min_range = -5.0; - - return TRUE; // return TRUE unless you set the focus to a control -} - -void C9111DbIntDlg::OnSysCommand(UINT nID, LPARAM lParam) -{ - if ((nID & 0xFFF0) == IDM_ABOUTBOX) - { - CAboutDlg dlgAbout; - dlgAbout.DoModal(); - } - else - { - CDialog::OnSysCommand(nID, lParam); - } -} - -// If you add a minimize button to your dialog, you will need the code below -// to draw the icon. For MFC applications using the document/view model, -// this is automatically done for you by the framework. - -void C9111DbIntDlg::OnPaint() -{ - if (IsIconic()) - { - CPaintDC dc(this); // device context for painting - - SendMessage(WM_ICONERASEBKGND, reinterpret_cast(dc.GetSafeHdc()), 0); - - // Center icon in client rectangle - int cxIcon = GetSystemMetrics(SM_CXICON); - int cyIcon = GetSystemMetrics(SM_CYICON); - CRect rect; - GetClientRect(&rect); - int x = (rect.Width() - cxIcon + 1) / 2; - int y = (rect.Height() - cyIcon + 1) / 2; - - // Draw the icon - dc.DrawIcon(x, y, m_hIcon); - } - else - { - redraw_display_area(); - CDialog::OnPaint(); - } -} - -// The system calls this function to obtain the cursor to display while the user drags -// the minimized window. -HCURSOR C9111DbIntDlg::OnQueryDragIcon() -{ - return static_cast(m_hIcon); -} - - -void C9111DbIntDlg::redraw_display_area(void) -{ - CPen *oldPen; - - int oldMode; - COLORREF oldColor; - - CString y_lable; - - CPen minor_tick( PS_SOLID,1,RGB(132,130,132) ); -// CPen y_grid( PS_SOLID,1,RGB(206,203,132) ); - - int i, x_intv, y_intv; -// long total_sec; - - CClientDC dc_plot(this); - - // draw the base-line for x-y axises - oldPen = (CPen *)dc_plot.SelectStockObject(BLACK_PEN); - - // redraw the background - dc_plot.FillSolidRect( plotRect, RGB(0,0,0) ); - - // Re-Draw the AREA for Y-Lable - { - CBrush DIALOG_BRUSH; - CRect redraw_area, full_client; - - GetClientRect(&full_client); - ScreenToClient(&full_client); - - redraw_area.left = full_client.left; - redraw_area.top = plotRect.top - 5; - redraw_area.right = plotRect.left - 3; - redraw_area.bottom = plotRect.bottom + 10; - - DIALOG_BRUSH.CreateSysColorBrush( COLOR_3DFACE ); - - dc_plot.FillRect( redraw_area, &DIALOG_BRUSH ); - - DIALOG_BRUSH.DeleteObject(); - } - - dc_plot.MoveTo( plotRect.left - 3, plotRect.top ); - dc_plot.LineTo( plotRect.left - 3, plotRect.bottom ); - - // calculate the interval for tick/grid - y_intv = (plotRect.Height() - 10) /y_divider; - x_intv = plotRect.Width()/x_divider; - - - // set the color for tick - oldColor = dc_plot.SetTextColor( RGB(0,0,0) ); - oldMode = dc_plot.SetBkMode( TRANSPARENT ); - - for( i=0; i<= y_divider; i++ ) - { - CString tick_str; - CRect tmp_rect, tick_rect; - - // draw the tick for y-axis - dc_plot.MoveTo( plotRect.left -12, plotRect.bottom -5 - (i*y_intv) ); - dc_plot.LineTo( plotRect.left -3, plotRect.bottom -5 - (i*y_intv) ); - - tick_str.Format( _T("%.1f"), ( ((max_range-min_range)/y_divider) * i)+min_range ); - - // calculate the rectangle for text - dc_plot.DrawText( tick_str, &tmp_rect, DT_CALCRECT|DT_SINGLELINE ); - tick_rect.right = plotRect.left -14; - tick_rect.left = tick_rect.right - tmp_rect.Width(); - tick_rect.top = plotRect.bottom -5 - (i*y_intv) - tmp_rect.Height()/2; - tick_rect.bottom = tick_rect.top + tmp_rect.Height(); - - // draw the text - dc_plot.DrawText( tick_str, &tick_rect, DT_SINGLELINE|DT_RIGHT ); - - } - - // draw the minor_tick for Y axises - dc_plot.SelectObject(&minor_tick); - for( i=0; i< y_divider; i++ ) - { - dc_plot.MoveTo( plotRect.left -9, plotRect.bottom -5 - (i*y_intv) - y_intv/2 ); - dc_plot.LineTo( plotRect.left -4, plotRect.bottom -5 - (i*y_intv) - y_intv/2 ); - } - - dc_plot.SetTextColor( oldColor ); - dc_plot.SetBkMode( oldMode ); - dc_plot.SelectObject( oldPen ); -} - -void C9111DbIntDlg::OnDestroy() -{ - CDialog::OnDestroy(); - - // TODO: Add your message handler code here - if( m_nTimer != -1 ) - { - KillTimer( m_nTimer ); - m_nTimer = -1; - } - - if (m_hMem != NULL) - { - GlobalUnfix(m_hMem); - GlobalUnlock(m_hMem); - GlobalFree(m_hMem); - - m_hMem = NULL; - } - - if( OnBrush != NULL ) - ::DeleteObject( OnBrush ); - - if( OffBrush != NULL ) - ::DeleteObject( OffBrush ); - - RedPen.DeleteObject(); - -} - -void C9111DbIntDlg::OnVScroll(UINT nSBCode, UINT nPos, CScrollBar* pScrollBar) -{ - // TODO: Add your message handler code here and/or call default - switch ( nSBCode ) - { - case SB_LINEUP : - m_fSampleRate += 50000.0; - if (m_fSampleRate > 1000000.0 ) m_fSampleRate = 1000000.0; - break; - case SB_LINEDOWN: - m_fSampleRate -= 50000; - if (m_fSampleRate < 50000 ) m_fSampleRate = 50000; - break; - } - - SetDlgItemInt( IDC_EDIT_SAMPLE_RATE, (UINT)(m_fSampleRate/1000) ); - - CDialog::OnVScroll(nSBCode, nPos, pScrollBar); -} - - -void C9111DbIntDlg::OnStop() -{ - // TODO: Add your control notification handler code here - U32 count; - - AI_AsyncClear(m_hCard, &count); - - if( m_nTimer != -1 ) - { - KillTimer( m_nTimer ); - m_nTimer = -1; - } - - GetDlgItem( IDC_BT_START )->EnableWindow(TRUE); - - GetDlgItem( IDC_RADIO_CH0 )->EnableWindow(TRUE); - GetDlgItem( IDC_RADIO_CH1 )->EnableWindow(TRUE); - GetDlgItem( IDC_RADIO_CH2 )->EnableWindow(TRUE); - GetDlgItem( IDC_RADIO_CH3 )->EnableWindow(TRUE); - GetDlgItem( IDC_RADIO_CH4 )->EnableWindow(TRUE); - GetDlgItem( IDC_RADIO_CH5 )->EnableWindow(TRUE); - GetDlgItem( IDC_RADIO_CH6 )->EnableWindow(TRUE); - GetDlgItem( IDC_RADIO_CH7 )->EnableWindow(TRUE); -} - -void C9111DbIntDlg::OnStart() -{ - // TODO: Add your control notification handler code here - DWORD mem_size; - CString strTemp; - I16 err; - - GetDlgItem( IDC_BT_START )->EnableWindow(FALSE); - - GetDlgItem( IDC_RADIO_CH0 )->EnableWindow(FALSE); - GetDlgItem( IDC_RADIO_CH1 )->EnableWindow(FALSE); - GetDlgItem( IDC_RADIO_CH2 )->EnableWindow(FALSE); - GetDlgItem( IDC_RADIO_CH3 )->EnableWindow(FALSE); - GetDlgItem( IDC_RADIO_CH4 )->EnableWindow(FALSE); - GetDlgItem( IDC_RADIO_CH5 )->EnableWindow(FALSE); - GetDlgItem( IDC_RADIO_CH6 )->EnableWindow(FALSE); - GetDlgItem( IDC_RADIO_CH7 )->EnableWindow(FALSE); - - m_dwReadCount = GetDlgItemInt(IDC_EDIT_BUF_SIZE); - if (m_dwReadCount % 512) - { - AfxMessageBox( TEXT("Buffer Size should be multiple of 512") ); - return; - } - - if (m_hMem != NULL) - { - GlobalUnfix(m_hMem); - GlobalUnlock(m_hMem); - GlobalFree(m_hMem); - - m_hMem = NULL; - } - - // allocate a memory for user DMA buffer - mem_size = m_dwReadCount * sizeof(I16); - m_hMem = GlobalAlloc(GMEM_ZEROINIT, mem_size); - m_pAIBuf = (U16*) GlobalLock(m_hMem); - if (m_pAIBuf == NULL ) - { - AfxMessageBox( TEXT("Memory allocation failed"), MB_OK); - return; - } - - GlobalFix(m_hMem); - - err=AI_9111_Config(m_hCard, TRIG_INT_PACER, P9111_TRGMOD_SOFT, m_wPostCount); - - if (err!=0) - { - strTemp.Format( TEXT("AI_9111_Config error=%d"), err); - AfxMessageBox( strTemp ); - } - - err=AI_AsyncDblBufferMode(m_hCard, 1); // single-buffer mode - if (err!=0) - { - strTemp.Format( TEXT("AI_DblBufferMode error=%d"), err); - AfxMessageBox( strTemp ); - } - - err=AI_ContReadChannel (m_hCard, m_wChannel, m_wRange, (U16*)m_pAIBuf, m_dwReadCount, (F64)m_fSampleRate, ASYNCH_OP); - if (err!=0) - { - strTemp.Format( TEXT("AI_ContReadChannel error=%d"), err); - AfxMessageBox( strTemp ); - } - - m_nTimer = SetTimer( 1, 20, NULL ); - -} - -int C9111DbIntDlg::display_buffer_data(U16* pBuf) -{ - CClientDC dc_plot(this); - int nDraw_Origin_Y; - int cur_channel; - - int newY = -1; - int newX = -1; - U32 index; - I16 ai_data; - U32 dwDataSize = (m_dwReadCount/2); - - // redraw the background - dc_plot.FillSolidRect( plotRect, RGB(0,0,0) ); - - dc_plot.SelectObject(&RedPen); - nDraw_Origin_Y = ( plotRect.bottom - 5 ) - n_PlotHeight/2; - - for( index=0; index> 4; - cur_channel = pBuf[index] & 0x0f; - newY = (int)( nDraw_Origin_Y - ((n_PlotHeight * ai_data) >> 12 ) ); // (n_PlotHeight/2) * ai_data/2048 ) --> (n_PlotHeight * ai_data / 4096 ) --> (n_PlotHeight * ai_data) >> 12 ) - } - else // m_wCardType == PCI_9111HR - { - cur_channel = index%(m_wScanChans+1); - ai_data = (I16)(pBuf[index]); - newY = (int)( nDraw_Origin_Y - ((n_PlotHeight * ai_data) >> 16) ); // (n_PlotHeight/2) * ai_data/32768 ) --> ( n_PlotHeight * ai_data / 65536) ) --> (n_PlotHeight * ai_data) >> 16) - } - - newX = (int)( index*n_PlotWidth/dwDataSize + plotRect.left ); - - if ( index == 0 ) - { - dc_plot.MoveTo( newX, newY ); - } - else - { - dc_plot.MoveTo( m_oldX, m_oldY ); - dc_plot.LineTo( newX, newY ); - } - - m_oldX = newX; - m_oldY = newY; - } - - return 0; -} - -void C9111DbIntDlg::OnTimer(UINT_PTR nIDEvent) -{ - // TODO: Add your message handler code here and/or call default - BOOLEAN HalfReady; - BOOLEAN fstop; - - AI_AsyncDblBufferHalfReady(m_hCard, &HalfReady, &fstop); - - if( HalfReady ) // half-buffer ready - { - AI_AsyncDblBufferTransfer(m_hCard, m_pAIBuf); - display_buffer_data( m_pAIBuf ); - } - - CDialog::OnTimer(nIDEvent); -} - -void C9111DbIntDlg::OnCh0() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_RADIO_CH0 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_wChannel = 0; - } - -} - -void C9111DbIntDlg::OnCh1() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_RADIO_CH1 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_wChannel = 1; - } -} - -void C9111DbIntDlg::OnCh2() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_RADIO_CH2 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_wChannel = 2; - } -} - -void C9111DbIntDlg::OnCh3() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_RADIO_CH3 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_wChannel = 3; - } -} - -void C9111DbIntDlg::OnCh4() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_RADIO_CH4 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_wChannel = 4; - } -} - -void C9111DbIntDlg::OnCh5() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_RADIO_CH5 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_wChannel = 5; - } -} - -void C9111DbIntDlg::OnCh6() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_RADIO_CH6 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_wChannel = 6; - } -} - -void C9111DbIntDlg::OnCh7() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_RADIO_CH7 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_wChannel = 7; - } -} - - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9111/SDK9111DbfInt/9111DbIntDlg.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9111/SDK9111DbfInt/9111DbIntDlg.h deleted file mode 100644 index 1ebcba0..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9111/SDK9111DbfInt/9111DbIntDlg.h +++ /dev/null @@ -1,79 +0,0 @@ - -// 9111DbIntDlg.h : header file -#pragma once -#include "afxcmn.h" -#include "afxwin.h" - -#include "Dask64.h" - -#ifndef MAX_CHAN_9111 -#define MAX_CHAN_9111 16 -#endif - -// C9111DbIntDlg dialog -class C9111DbIntDlg : public CDialog -{ -// Construction -public: - C9111DbIntDlg(I16 hCard, U16 wCardType, CWnd* pParent = NULL); // standard constructor - -// Dialog Data - enum { IDD = IDD_PCI9111POST_TRG_DIALOG }; - - protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - - -// Implementation -protected: - HICON m_hIcon; - UINT_PTR m_nTimer; - I16 m_hCard; - U16 m_wCardType; - double m_fSampleRate; - U16 m_wScanChans; - HANDLE m_hMem; - U16 *m_pAIBuf; - U16 m_wRange; - int m_oldY; - int m_oldX; - U32 m_dwReadCount; - U16 m_wChannel; - U16 m_wPostCount; - - // Generated message map functions - virtual BOOL OnInitDialog(); - afx_msg void OnSysCommand(UINT nID, LPARAM lParam); - afx_msg void OnPaint(); - afx_msg HCURSOR OnQueryDragIcon(); - DECLARE_MESSAGE_MAP() - -public: - WORD max_val; - WORD min_val; - double max_range; - double min_range; - int n_PlotWidth; - int n_PlotHeight; - int y_divider; - int x_divider; - int m_DisplayScale; - HBRUSH OnBrush; - HBRUSH OffBrush; - CPen RedPen; - void redraw_display_area(void); - afx_msg void OnDestroy(); - afx_msg void OnVScroll(UINT nSBCode, UINT nPos, CScrollBar* pScrollBar); - afx_msg void OnStart(); - int display_buffer_data(U16* pBuf); - afx_msg void OnCh0(); - afx_msg void OnCh1(); - afx_msg void OnCh2(); - afx_msg void OnCh3(); - afx_msg void OnCh4(); - afx_msg void OnCh5(); - afx_msg void OnCh6(); - afx_msg void OnCh7(); - afx_msg void OnTimer(UINT_PTR nIDEvent); - afx_msg void OnStop(); -}; diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9111/SDK9111DbfInt/9111PostTg.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9111/SDK9111DbfInt/9111PostTg.suo deleted file mode 100644 index c59a833..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9111/SDK9111DbfInt/9111PostTg.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9111/SDK9111DbfInt/9111int.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9111/SDK9111DbfInt/9111int.suo deleted file mode 100644 index aaca7d8..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9111/SDK9111DbfInt/9111int.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9111/SDK9111DbfInt/CardIDDlg.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9111/SDK9111DbfInt/CardIDDlg.cpp deleted file mode 100644 index 47bd064..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9111/SDK9111DbfInt/CardIDDlg.cpp +++ /dev/null @@ -1,77 +0,0 @@ -// CardIDDlg.cpp : implementation file -// -#include "stdafx.h" -#include "9111DbInt.h" -#include "9111DbIntDlg.h" -#include "CardIDDlg.h" - -// CCardIDDlg dialog - -IMPLEMENT_DYNAMIC(CCardIDDlg, CDialog) - -CCardIDDlg::CCardIDDlg(int nCardIdx, CWnd* pParent /*=NULL*/) - : CDialog(CCardIDDlg::IDD, pParent) -{ - m_nCardIdx = nCardIdx; -} - -CCardIDDlg::~CCardIDDlg() -{ -} - -void CCardIDDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); - DDX_Control(pDX, IDC_COMBO_CARDID, m_cbCardID); - DDX_Control(pDX, IDC_COMBO_CARDTYPE, m_cbCardType); -} - - -BEGIN_MESSAGE_MAP(CCardIDDlg, CDialog) -// ON_CBN_SELCHANGE(IDC_COMBO_CARDID, &CCardIDDlg::OnCbnSelchangeComboCardid) -ON_BN_CLICKED(IDOK, &CCardIDDlg::OnBnClickedOk) -//ON_WM_CTLCOLOR() -END_MESSAGE_MAP() - - -// CCardIDDlg message handlers - - -void CCardIDDlg::OnBnClickedOk() -{ - // TODO: Add your control notification handler code here - -// UpdateData(TRUE); - m_nCardIdx = m_cbCardID.GetCurSel(); - m_CardType = PCI_9111DG + m_cbCardType.GetCurSel(); - - OnOK(); -} - -BOOL CCardIDDlg::OnInitDialog() -{ - CDialog::OnInitDialog(); - - // TODO: Add extra initialization here - m_cbCardID.SetCurSel( m_nCardIdx ); - - m_cbCardType.SetCurSel( 0 ); - m_CardType = PCI_9111DG; - - return TRUE; // return TRUE unless you set the focus to a control - // EXCEPTION: OCX Property Pages should return FALSE -} - -// the function to get the selected CardID -int CCardIDDlg::GetCardID(void) -{ - return m_nCardIdx; -} - - -U16 CCardIDDlg::GetCardType(void) -{ - return m_CardType; -} - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9111/SDK9111DbfInt/CardIDDlg.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9111/SDK9111DbfInt/CardIDDlg.h deleted file mode 100644 index 23399df..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9111/SDK9111DbfInt/CardIDDlg.h +++ /dev/null @@ -1,35 +0,0 @@ -#pragma once -#include "afxwin.h" - -#include "Dask64.h" - -// CCardIDDlg dialog - -class CCardIDDlg : public CDialog -{ - DECLARE_DYNAMIC(CCardIDDlg) - -public: - CCardIDDlg(int nCardIdx, CWnd* pParent = NULL); // standard constructor - virtual ~CCardIDDlg(); - -// Dialog Data - enum { IDD = IDD_CARDID_DIALOG }; - -protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - - DECLARE_MESSAGE_MAP() -public: - virtual BOOL OnInitDialog(); - afx_msg void OnBnClickedOk(); - // the setting of CardID ComboBox - int m_nCardIdx; - U16 m_CardType; - // the control of CardID ComboBox - CComboBox m_cbCardID; - CComboBox m_cbCardType; - // the function to get the selected CardID - int GetCardID(void); - U16 GetCardType(void); -}; diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9111/SDK9111DbfInt/ReadMe.txt b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9111/SDK9111DbfInt/ReadMe.txt deleted file mode 100644 index 5b549ce..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9111/SDK9111DbfInt/ReadMe.txt +++ /dev/null @@ -1,93 +0,0 @@ -================================================================================ - MICROSOFT FOUNDATION CLASS LIBRARY : 9111int Project Overview -=============================================================================== - -The application wizard has created this 9111int application for -you. This application not only demonstrates the basics of using the Microsoft -Foundation Classes but is also a starting point for writing your application. - -This file contains a summary of what you will find in each of the files that -make up your 9111int application. - -9111int.vcproj - This is the main project file for VC++ projects generated using an application wizard. - It contains information about the version of Visual C++ that generated the file, and - information about the platforms, configurations, and project features selected with the - application wizard. - -9111int.h - This is the main header file for the application. It includes other - project specific headers (including Resource.h) and declares the - C9111intApp application class. - -9111int.cpp - This is the main application source file that contains the application - class C9111intApp. - -9111int.rc - This is a listing of all of the Microsoft Windows resources that the - program uses. It includes the icons, bitmaps, and cursors that are stored - in the RES subdirectory. This file can be directly edited in Microsoft - Visual C++. Your project resources are in 1033. - -res\9111int.ico - This is an icon file, which is used as the application's icon. This - icon is included by the main resource file 9111int.rc. - -res\My9111int.rc2 - This file contains resources that are not edited by Microsoft - Visual C++. You should place all resources not editable by - the resource editor in this file. - - -///////////////////////////////////////////////////////////////////////////// - -The application wizard creates one dialog class: - -9111intDlg.h, 9111intDlg.cpp - the dialog - These files contain your C9111intDlg class. This class defines - the behavior of your application's main dialog. The dialog's template is - in 9111int.rc, which can be edited in Microsoft Visual C++. - - -///////////////////////////////////////////////////////////////////////////// - -Other Features: - -ActiveX Controls - The application includes support to use ActiveX controls. - -///////////////////////////////////////////////////////////////////////////// - -Other standard files: - -StdAfx.h, StdAfx.cpp - These files are used to build a precompiled header (PCH) file - named 9111int.pch and a precompiled types file named StdAfx.obj. - -Resource.h - This is the standard header file, which defines new resource IDs. - Microsoft Visual C++ reads and updates this file. - -9111int.manifest - Application manifest files are used by Windows XP to describe an applications - dependency on specific versions of Side-by-Side assemblies. The loader uses this - information to load the appropriate assembly from the assembly cache or private - from the application. The Application manifest maybe included for redistribution - as an external .manifest file that is installed in the same folder as the application - executable or it may be included in the executable in the form of a resource. -///////////////////////////////////////////////////////////////////////////// - -Other notes: - -The application wizard uses "TODO:" to indicate parts of the source code you -should add to or customize. - -If your application uses MFC in a shared DLL, you will need -to redistribute the MFC DLLs. If your application is in a language -other than the operating system's locale, you will also have to -redistribute the corresponding localized resources MFC90XXX.DLL. -For more information on both of these topics, please see the section on -redistributing Visual C++ applications in MSDN documentation. - -///////////////////////////////////////////////////////////////////////////// diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9111/SDK9111DbfInt/res/9111DbInt.ico b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9111/SDK9111DbfInt/res/9111DbInt.ico deleted file mode 100644 index d56fbcd..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9111/SDK9111DbfInt/res/9111DbInt.ico and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9111/SDK9111DbfInt/res/My9111DbInt.rc2 b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9111/SDK9111DbfInt/res/My9111DbInt.rc2 deleted file mode 100644 index 383cde2..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9111/SDK9111DbfInt/res/My9111DbInt.rc2 +++ /dev/null @@ -1,13 +0,0 @@ -// -// My9111int.RC2 - resources Microsoft Visual C++ does not edit directly -// - -#ifdef APSTUDIO_INVOKED -#error this file is not editable by Microsoft Visual C++ -#endif //APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// Add manually edited resources here... - -///////////////////////////////////////////////////////////////////////////// diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9111/SDK9111DbfInt/res/ch_set1.bmp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9111/SDK9111DbfInt/res/ch_set1.bmp deleted file mode 100644 index f2374ed..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9111/SDK9111DbfInt/res/ch_set1.bmp and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9111/SDK9111DbfInt/res/ch_set2.bmp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9111/SDK9111DbfInt/res/ch_set2.bmp deleted file mode 100644 index 32d0915..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9111/SDK9111DbfInt/res/ch_set2.bmp and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9111/SDK9111DbfInt/resource.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9111/SDK9111DbfInt/resource.h deleted file mode 100644 index 5cbac41..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9111/SDK9111DbfInt/resource.h +++ /dev/null @@ -1,41 +0,0 @@ -//{{NO_DEPENDENCIES}} -// Microsoft Visual C++ generated include file. -// Used by 9111DbInt.rc -// -#define IDM_ABOUTBOX 0x0010 -#define IDD_ABOUTBOX 100 -#define IDS_ABOUTBOX 101 -#define IDD_PCI9111POST_TRG_DIALOG 102 -#define IDR_MAINFRAME 128 -#define IDD_CARDID_DIALOG 129 -#define IDB_BITMAP_SET1 131 -#define IDB_BITMAP_SET2 132 -#define IDC_STATIC_DRAW 1000 -#define IDC_COMBO_CARDID 1001 -#define IDC_COMBO_CARDTYPE 1002 -#define IDC_BT_START 1003 -#define IDC_EDIT_SAMPLE_RATE 1004 -#define IDC_SCROLLBAR_RATE 1005 -#define IDC_RADIO_CH0 1006 -#define IDC_RADIO_CH1 1007 -#define IDC_RADIO_CH2 1008 -#define IDC_RADIO_CH3 1009 -#define IDC_RADIO_CH4 1010 -#define IDC_RADIO_CH5 1011 -#define IDC_RADIO_CH6 1012 -#define IDC_RADIO_CH7 1013 -#define IDC_STATIC_01 1014 -#define IDC_EDIT_BUF_SIZE 1014 -#define IDC_STATIC_2 1015 -#define IDC_BT_STOP 1015 - -// Next default values for new objects -// -#ifdef APSTUDIO_INVOKED -#ifndef APSTUDIO_READONLY_SYMBOLS -#define _APS_NEXT_RESOURCE_VALUE 134 -#define _APS_NEXT_COMMAND_VALUE 32771 -#define _APS_NEXT_CONTROL_VALUE 1018 -#define _APS_NEXT_SYMED_VALUE 101 -#endif -#endif diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9111/SDK9111DbfInt/stdafx.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9111/SDK9111DbfInt/stdafx.cpp deleted file mode 100644 index ef80626..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9111/SDK9111DbfInt/stdafx.cpp +++ /dev/null @@ -1,8 +0,0 @@ - -// stdafx.cpp : source file that includes just the standard includes -// 9111int.pch will be the pre-compiled header -// stdafx.obj will contain the pre-compiled type information - -#include "stdafx.h" - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9111/SDK9111DbfInt/stdafx.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9111/SDK9111DbfInt/stdafx.h deleted file mode 100644 index 12123e2..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9111/SDK9111DbfInt/stdafx.h +++ /dev/null @@ -1,60 +0,0 @@ - -// stdafx.h : include file for standard system include files, -// or project specific include files that are used frequently, -// but are changed infrequently - -#pragma once - -#ifndef _SECURE_ATL -#define _SECURE_ATL 1 -#endif - -#ifndef VC_EXTRALEAN -#define VC_EXTRALEAN // Exclude rarely-used stuff from Windows headers -#endif - -#include "targetver.h" - -#define _ATL_CSTRING_EXPLICIT_CONSTRUCTORS // some CString constructors will be explicit - -// turns off MFC's hiding of some common and often safely ignored warning messages -#define _AFX_ALL_WARNINGS - -#include // MFC core and standard components -#include // MFC extensions - - -#include // MFC Automation classes - - - -#ifndef _AFX_NO_OLE_SUPPORT -#include // MFC support for Internet Explorer 4 Common Controls -#endif -#ifndef _AFX_NO_AFXCMN_SUPPORT -#include // MFC support for Windows Common Controls -#endif // _AFX_NO_AFXCMN_SUPPORT - -#include // MFC support for ribbons and control bars - - - - - - - - - -#ifdef _UNICODE -#if defined _M_IX86 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='x86' publicKeyToken='6595b64144ccf1df' language='*'\"") -#elif defined _M_IA64 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='ia64' publicKeyToken='6595b64144ccf1df' language='*'\"") -#elif defined _M_X64 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='amd64' publicKeyToken='6595b64144ccf1df' language='*'\"") -#else -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='*' publicKeyToken='6595b64144ccf1df' language='*'\"") -#endif -#endif - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9111/SDK9111DbfInt/targetver.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9111/SDK9111DbfInt/targetver.h deleted file mode 100644 index 11730d5..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9111/SDK9111DbfInt/targetver.h +++ /dev/null @@ -1,26 +0,0 @@ - -#pragma once - -// The following macros define the minimum required platform. The minimum required platform -// is the earliest version of Windows, Internet Explorer etc. that has the necessary features to run -// your application. The macros work by enabling all features available on platform versions up to and -// including the version specified. - -// Modify the following defines if you have to target a platform prior to the ones specified below. -// Refer to MSDN for the latest info on corresponding values for different platforms. -#ifndef WINVER // Specifies that the minimum required platform is Windows Vista. -#define WINVER 0x0600 // Change this to the appropriate value to target other versions of Windows. -#endif - -#ifndef _WIN32_WINNT // Specifies that the minimum required platform is Windows Vista. -#define _WIN32_WINNT 0x0600 // Change this to the appropriate value to target other versions of Windows. -#endif - -#ifndef _WIN32_WINDOWS // Specifies that the minimum required platform is Windows 98. -#define _WIN32_WINDOWS 0x0410 // Change this to the appropriate value to target Windows Me or later. -#endif - -#ifndef _WIN32_IE // Specifies that the minimum required platform is Internet Explorer 7.0. -#define _WIN32_IE 0x0700 // Change this to the appropriate value to target other versions of IE. -#endif - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9111/SDK9111DbfPostTrg/9111PostTg.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9111/SDK9111DbfPostTrg/9111PostTg.cpp deleted file mode 100644 index 1a2e717..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9111/SDK9111DbfPostTrg/9111PostTg.cpp +++ /dev/null @@ -1,111 +0,0 @@ - -// 9111PostTg.cpp : Defines the class behaviors for the application. -// - -#include "stdafx.h" -#include "9111PostTg.h" -#include "9111PostTgDlg.h" -#include "CardIDDlg.h" - -#ifdef _DEBUG -#define new DEBUG_NEW -#endif - - -// C9111PostTgApp - -BEGIN_MESSAGE_MAP(C9111PostTgApp, CWinAppEx) - ON_COMMAND(ID_HELP, &CWinApp::OnHelp) -END_MESSAGE_MAP() - - -// C9111PostTgApp construction - -C9111PostTgApp::C9111PostTgApp() -{ - // TODO: add construction code here, - // Place all significant initialization in InitInstance -} - - -// The one and only C9111PostTgApp object - -C9111PostTgApp theApp; - - -// C9111PostTgApp initialization - -BOOL C9111PostTgApp::InitInstance() -{ - int nCardID = 0; - I16 hCard; - U16 wCardType; - CString strTemp; - INT_PTR nResponse; - - // InitCommonControlsEx() is required on Windows XP if an application - // manifest specifies use of ComCtl32.dll version 6 or later to enable - // visual styles. Otherwise, any window creation will fail. - INITCOMMONCONTROLSEX InitCtrls; - InitCtrls.dwSize = sizeof(InitCtrls); - // Set this to include all the common control classes you want to use - // in your application. - InitCtrls.dwICC = ICC_WIN95_CLASSES; - InitCommonControlsEx(&InitCtrls); - - CWinAppEx::InitInstance(); - - AfxEnableControlContainer(); - - // Standard initialization - // If you are not using these features and wish to reduce the size - // of your final executable, you should remove from the following - // the specific initialization routines you do not need - // Change the registry key under which our settings are stored - // TODO: You should modify this string to be something appropriate - // such as the name of your company or organization - SetRegistryKey(_T("Local AppWizard-Generated Applications")); - - CCardIDDlg CardDlg( nCardID ); - - nResponse = CardDlg.DoModal(); - if (nResponse == IDOK) - { - nCardID = CardDlg.GetCardID(); - wCardType = CardDlg.GetCardType(); - - if ((hCard=Register_Card(wCardType, nCardID)) < 0) - { - strTemp.Format( TEXT("Register_Card Error = %d"), hCard); - AfxMessageBox( strTemp ); - } - else - { - C9111PostTgDlg dlg(hCard, wCardType); - m_pMainWnd = &dlg; - nResponse = dlg.DoModal(); - if (nResponse == IDOK) - { - // TODO: Place code here to handle when the dialog is - // dismissed with OK - } - else if (nResponse == IDCANCEL) - { - // TODO: Place code here to handle when the dialog is - // dismissed with Cancel - } - - if (hCard >= 0) Release_Card(hCard); - } - - } - else if (nResponse == IDCANCEL) - { - // TODO: Place code here to handle when the dialog is - // dismissed with Cancel - } - - // Since the dialog has been closed, return FALSE so that we exit the - // application, rather than start the application's message pump. - return FALSE; -} diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9111/SDK9111DbfPostTrg/9111PostTg.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9111/SDK9111DbfPostTrg/9111PostTg.h deleted file mode 100644 index 214d348..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9111/SDK9111DbfPostTrg/9111PostTg.h +++ /dev/null @@ -1,32 +0,0 @@ - -// 9111PostTg.h : main header file for the PROJECT_NAME application -// - -#pragma once - -#ifndef __AFXWIN_H__ - #error "include 'stdafx.h' before including this file for PCH" -#endif - -#include "resource.h" // main symbols - - -// C9111PostTgApp: -// See 9111PostTg.cpp for the implementation of this class -// - -class C9111PostTgApp : public CWinAppEx -{ -public: - C9111PostTgApp(); - -// Overrides - public: - virtual BOOL InitInstance(); - -// Implementation - - DECLARE_MESSAGE_MAP() -}; - -extern C9111PostTgApp theApp; \ No newline at end of file diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9111/SDK9111DbfPostTrg/9111PostTg.rc b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9111/SDK9111DbfPostTrg/9111PostTg.rc deleted file mode 100644 index ce5276f..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9111/SDK9111DbfPostTrg/9111PostTg.rc +++ /dev/null @@ -1,298 +0,0 @@ -// Microsoft Visual C++ generated resource script. -// -#include "resource.h" - -#define APSTUDIO_READONLY_SYMBOLS -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 2 resource. -// -#ifndef APSTUDIO_INVOKED -#include "targetver.h" -#endif -#include "afxres.h" - -///////////////////////////////////////////////////////////////////////////// -#undef APSTUDIO_READONLY_SYMBOLS - -///////////////////////////////////////////////////////////////////////////// -// Chinese (Taiwan) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_CHT) -#ifdef _WIN32 -LANGUAGE LANG_CHINESE, SUBLANG_CHINESE_TRADITIONAL -#pragma code_page(950) -#endif //_WIN32 - -#ifdef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// TEXTINCLUDE -// - -1 TEXTINCLUDE -BEGIN - "resource.h\0" -END - -2 TEXTINCLUDE -BEGIN - "#ifndef APSTUDIO_INVOKED\r\n" - "#include ""targetver.h""\r\n" - "#endif\r\n" - "#include ""afxres.h""\r\n" - "\0" -END - -3 TEXTINCLUDE -BEGIN - "#define _AFX_NO_SPLITTER_RESOURCES\r\n" - "#define _AFX_NO_OLE_RESOURCES\r\n" - "#define _AFX_NO_TRACKER_RESOURCES\r\n" - "#define _AFX_NO_PROPERTY_RESOURCES\r\n" - "\r\n" - "#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)\r\n" - "LANGUAGE 9, 1\r\n" - "#pragma code_page(1252)\r\n" - "#include ""res\\My9111PostTg.rc2"" // non-Microsoft Visual C++ edited resources\r\n" - "#include ""afxres.rc"" // Standard components\r\n" - "#endif\r\n" - "\0" -END - -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// Icon -// - -// Icon with lowest ID value placed first to ensure application icon -// remains consistent on all systems. -IDR_MAINFRAME ICON "res\\9111PostTg.ico" -#endif // Chinese (Taiwan) resources -///////////////////////////////////////////////////////////////////////////// - - -///////////////////////////////////////////////////////////////////////////// -// English (U.S.) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -#ifdef _WIN32 -LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US -#pragma code_page(1252) -#endif //_WIN32 - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog -// - -IDD_ABOUTBOX DIALOGEX 0, 0, 170, 62 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "About 9111PostTg" -FONT 8, "MS Shell Dlg", 0, 0, 0x1 -BEGIN - ICON IDR_MAINFRAME,IDC_STATIC,14,14,21,20 - LTEXT "9111PostTg, Version 1.0",IDC_STATIC,42,14,114,8,SS_NOPREFIX - LTEXT "Copyright (C) 2010",IDC_STATIC,42,26,114,8 - DEFPUSHBUTTON "OK",IDOK,113,41,50,14,WS_GROUP -END - -IDD_PCI9111POST_TRG_DIALOG DIALOGEX 0, 0, 365, 232 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU -EXSTYLE WS_EX_APPWINDOW -CAPTION "PCI-9111 Double-Buffered Interrupt with Post-Trigger mode" -FONT 8, "MS Shell Dlg", 0, 0, 0x1 -BEGIN - GROUPBOX "",IDC_STATIC_DRAW,45,9,248,161,NOT WS_VISIBLE - LTEXT "Range : +/- 5V",IDC_STATIC,299,129,52,15 - LTEXT "Buffer Size",IDC_STATIC,124,183,42,9 - EDITTEXT IDC_EDIT_SAMPLE_RATE,47,196,39,14,ES_AUTOHSCROLL | ES_READONLY - LTEXT "Sample Rate :",IDC_STATIC,47,182,49,9 - LTEXT "KHz",IDC_STATIC,99,199,15,9 - SCROLLBAR IDC_SCROLLBAR_RATE,87,196,9,11,SBS_VERT - PUSHBUTTON "Start",IDC_BT_START,230,188,55,22 - CONTROL "0",IDC_RADIO_CH0,"Button",BS_AUTORADIOBUTTON | BS_LEFTTEXT,307,20,16,12 - CONTROL "1",IDC_RADIO_CH1,"Button",BS_AUTORADIOBUTTON | BS_LEFTTEXT,307,35,16,12 - CONTROL "2",IDC_RADIO_CH2,"Button",BS_AUTORADIOBUTTON | BS_LEFTTEXT,307,49,16,12 - CONTROL "3",IDC_RADIO_CH3,"Button",BS_AUTORADIOBUTTON | BS_LEFTTEXT,307,64,16,12 - CONTROL "4",IDC_RADIO_CH4,"Button",BS_AUTORADIOBUTTON | BS_LEFTTEXT,331,20,16,12 - CONTROL "5",IDC_RADIO_CH5,"Button",BS_AUTORADIOBUTTON | BS_LEFTTEXT,331,35,16,12 - CONTROL "6",IDC_RADIO_CH6,"Button",BS_AUTORADIOBUTTON | BS_LEFTTEXT,331,49,16,12 - CONTROL "7",IDC_RADIO_CH7,"Button",BS_AUTORADIOBUTTON | BS_LEFTTEXT,331,64,16,12 - EDITTEXT IDC_EDIT_BUF_SIZE,122,196,46,14,ES_AUTOHSCROLL - PUSHBUTTON "Stop",IDC_BT_STOP,291,188,55,22 -END - -IDD_CARDID_DIALOG DIALOGEX 0, 0, 174, 108 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "Card ID" -FONT 8, "MS Shell Dlg", 400, 0, 0x1 -BEGIN - COMBOBOX IDC_COMBO_CARDID,75,24,71,126,CBS_DROPDOWN | WS_VSCROLL | WS_TABSTOP - LTEXT "Card Number",IDC_STATIC_01,21,25,46,12 - PUSHBUTTON "OK",IDOK,22,70,58,19 - PUSHBUTTON "CANCEL",IDCANCEL,86,70,58,19 - COMBOBOX IDC_COMBO_CARDTYPE,75,46,71,126,CBS_DROPDOWN | WS_VSCROLL | WS_TABSTOP - LTEXT "Card Type",IDC_STATIC_2,29,47,37,12 -END - - -///////////////////////////////////////////////////////////////////////////// -// -// Version -// - -VS_VERSION_INFO VERSIONINFO - FILEVERSION 1,0,0,1 - PRODUCTVERSION 1,0,0,1 - FILEFLAGSMASK 0x3fL -#ifdef _DEBUG - FILEFLAGS 0x1L -#else - FILEFLAGS 0x0L -#endif - FILEOS 0x4L - FILETYPE 0x1L - FILESUBTYPE 0x0L -BEGIN - BLOCK "StringFileInfo" - BEGIN - BLOCK "040904e4" - BEGIN - VALUE "CompanyName", "TODO: " - VALUE "FileDescription", "TODO: " - VALUE "FileVersion", "1.0.0.1" - VALUE "InternalName", "9111PostTg.exe" - VALUE "LegalCopyright", "TODO: (c) . All rights reserved." - VALUE "OriginalFilename", "9111PostTg.exe" - VALUE "ProductName", "TODO: " - VALUE "ProductVersion", "1.0.0.1" - END - END - BLOCK "VarFileInfo" - BEGIN - VALUE "Translation", 0x409, 1252 - END -END - - -///////////////////////////////////////////////////////////////////////////// -// -// DESIGNINFO -// - -#ifdef APSTUDIO_INVOKED -GUIDELINES DESIGNINFO -BEGIN - IDD_ABOUTBOX, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 163 - TOPMARGIN, 7 - BOTTOMMARGIN, 55 - END - - IDD_CARDID_DIALOG, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 167 - TOPMARGIN, 7 - BOTTOMMARGIN, 101 - END -END -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog Info -// - -IDD_CARDID_DIALOG DLGINIT -BEGIN - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0030, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0031, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0032, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0033, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0034, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0035, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0036, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0037, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0038, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0039, - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3031, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3131, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3231, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3331, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3431, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3531, "\000" - IDC_COMBO_CARDTYPE, 0x403, 11, 0 -0x4350, 0x5f49, 0x3139, 0x3131, 0x4744, "\000" - IDC_COMBO_CARDTYPE, 0x403, 11, 0 -0x4350, 0x5f49, 0x3139, 0x3131, 0x5248, "\000" - 0 -END - - -///////////////////////////////////////////////////////////////////////////// -// -// Bitmap -// - -IDB_BITMAP_SET1 BITMAP "res\\ch_set1.bmp" -IDB_BITMAP_SET2 BITMAP "res\\ch_set2.bmp" - -///////////////////////////////////////////////////////////////////////////// -// -// String Table -// - -STRINGTABLE -BEGIN - IDS_ABOUTBOX "&About 9111PostTg..." -END - -#endif // English (U.S.) resources -///////////////////////////////////////////////////////////////////////////// - - - -#ifndef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 3 resource. -// -#define _AFX_NO_SPLITTER_RESOURCES -#define _AFX_NO_OLE_RESOURCES -#define _AFX_NO_TRACKER_RESOURCES -#define _AFX_NO_PROPERTY_RESOURCES - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -LANGUAGE 9, 1 -#pragma code_page(1252) -#include "res\My9111PostTg.rc2" // non-Microsoft Visual C++ edited resources -#include "afxres.rc" // Standard components -#endif - -///////////////////////////////////////////////////////////////////////////// -#endif // not APSTUDIO_INVOKED - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9111/SDK9111DbfPostTrg/9111PostTg.sln b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9111/SDK9111DbfPostTrg/9111PostTg.sln deleted file mode 100644 index c38b03e..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9111/SDK9111DbfPostTrg/9111PostTg.sln +++ /dev/null @@ -1,20 +0,0 @@ - -Microsoft Visual Studio Solution File, Format Version 10.00 -# Visual Studio 2008 -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "9111PostTg", "9111PostTg.vcproj", "{702163FB-B6DF-4EF5-9491-FC54D71509BC}" -EndProject -Global - GlobalSection(SolutionConfigurationPlatforms) = preSolution - Debug|x64 = Debug|x64 - Release|x64 = Release|x64 - EndGlobalSection - GlobalSection(ProjectConfigurationPlatforms) = postSolution - {702163FB-B6DF-4EF5-9491-FC54D71509BC}.Debug|x64.ActiveCfg = Debug|x64 - {702163FB-B6DF-4EF5-9491-FC54D71509BC}.Debug|x64.Build.0 = Debug|x64 - {702163FB-B6DF-4EF5-9491-FC54D71509BC}.Release|x64.ActiveCfg = Release|x64 - {702163FB-B6DF-4EF5-9491-FC54D71509BC}.Release|x64.Build.0 = Release|x64 - EndGlobalSection - GlobalSection(SolutionProperties) = preSolution - HideSolutionNode = FALSE - EndGlobalSection -EndGlobal diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9111/SDK9111DbfPostTrg/9111PostTg.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9111/SDK9111DbfPostTrg/9111PostTg.suo deleted file mode 100644 index 2ad13ae..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9111/SDK9111DbfPostTrg/9111PostTg.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9111/SDK9111DbfPostTrg/9111PostTg.vcproj b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9111/SDK9111DbfPostTrg/9111PostTg.vcproj deleted file mode 100644 index 7bbd843..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9111/SDK9111DbfPostTrg/9111PostTg.vcproj +++ /dev/null @@ -1,294 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9111/SDK9111DbfPostTrg/9111PostTgDlg.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9111/SDK9111DbfPostTrg/9111PostTgDlg.cpp deleted file mode 100644 index f14712d..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9111/SDK9111DbfPostTrg/9111PostTgDlg.cpp +++ /dev/null @@ -1,632 +0,0 @@ - -// 9111PostTgDlg.cpp : implementation file -// - -#include "stdafx.h" -#include "9111PostTg.h" -#include "9111PostTgDlg.h" - -#ifdef _DEBUG -#define new DEBUG_NEW -#endif - -CRect plotRect; - -// CAboutDlg dialog used for App About - -class CAboutDlg : public CDialog -{ -public: - CAboutDlg(); - -// Dialog Data - enum { IDD = IDD_ABOUTBOX }; - - protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - -// Implementation -protected: - DECLARE_MESSAGE_MAP() -}; - -CAboutDlg::CAboutDlg() : CDialog(CAboutDlg::IDD) -{ -} - -void CAboutDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); -} - -BEGIN_MESSAGE_MAP(CAboutDlg, CDialog) -END_MESSAGE_MAP() - - -// C9111PostTgDlg dialog - - - - -C9111PostTgDlg::C9111PostTgDlg(I16 hCard, U16 wCardType, CWnd* pParent /*=NULL*/) - : CDialog(C9111PostTgDlg::IDD, pParent) -{ - m_hIcon = AfxGetApp()->LoadIcon(IDR_MAINFRAME); - - n_PlotWidth = n_PlotHeight = -1; - OnBrush = OffBrush = NULL; - - min_val = 0x00; - max_val = 0xFFFF; - - m_fSampleRate = 10000.0; // 10KHz - - m_hCard = hCard; - m_wCardType = wCardType; - - m_wScanChans = 0; - m_nTimer = -1; - m_hMem=NULL; - - m_wRange = AD_B_5_V; - m_dwReadCount = 10240; - m_wPostCount = 512; - m_wChannel = 0; - -} - -void C9111PostTgDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); -} - -BEGIN_MESSAGE_MAP(C9111PostTgDlg, CDialog) - ON_WM_SYSCOMMAND() - ON_WM_PAINT() - ON_WM_QUERYDRAGICON() - //}}AFX_MSG_MAP - ON_WM_DESTROY() - ON_WM_VSCROLL() - ON_BN_CLICKED(IDC_BT_START, &C9111PostTgDlg::OnStart) - ON_BN_CLICKED(IDC_RADIO_CH0, &C9111PostTgDlg::OnCh0) - ON_BN_CLICKED(IDC_RADIO_CH1, &C9111PostTgDlg::OnCh1) - ON_BN_CLICKED(IDC_RADIO_CH2, &C9111PostTgDlg::OnCh2) - ON_BN_CLICKED(IDC_RADIO_CH3, &C9111PostTgDlg::OnCh3) - ON_BN_CLICKED(IDC_RADIO_CH4, &C9111PostTgDlg::OnCh4) - ON_BN_CLICKED(IDC_RADIO_CH5, &C9111PostTgDlg::OnCh5) - ON_BN_CLICKED(IDC_RADIO_CH6, &C9111PostTgDlg::OnCh6) - ON_BN_CLICKED(IDC_RADIO_CH7, &C9111PostTgDlg::OnCh7) - ON_WM_TIMER() - ON_BN_CLICKED(IDC_BT_STOP, &C9111PostTgDlg::OnStop) -END_MESSAGE_MAP() - - -// C9111PostTgDlg message handlers - -BOOL C9111PostTgDlg::OnInitDialog() -{ - CDialog::OnInitDialog(); - - // Add "About..." menu item to system menu. - - // IDM_ABOUTBOX must be in the system command range. - ASSERT((IDM_ABOUTBOX & 0xFFF0) == IDM_ABOUTBOX); - ASSERT(IDM_ABOUTBOX < 0xF000); - - CMenu* pSysMenu = GetSystemMenu(FALSE); - if (pSysMenu != NULL) - { - BOOL bNameValid; - CString strAboutMenu; - bNameValid = strAboutMenu.LoadString(IDS_ABOUTBOX); - ASSERT(bNameValid); - if (!strAboutMenu.IsEmpty()) - { - pSysMenu->AppendMenu(MF_SEPARATOR); - pSysMenu->AppendMenu(MF_STRING, IDM_ABOUTBOX, strAboutMenu); - } - } - - // Set the icon for this dialog. The framework does this automatically - // when the application's main window is not a dialog - SetIcon(m_hIcon, TRUE); // Set big icon - SetIcon(m_hIcon, FALSE); // Set small icon - - // TODO: Add extra initialization here - x_divider = 5; y_divider = 4; - - OnBrush = CreateSolidBrush( RGB(255,0,0) ); - OffBrush = CreateSolidBrush( RGB(125,0,0) ); - - RedPen.CreatePen( PS_SOLID, 1, RGB(255,0,0)); - - - if( n_PlotWidth == -1 && n_PlotHeight == -1 ) - { - ((CWnd*)GetDlgItem(IDC_STATIC_DRAW))->GetWindowRect(&plotRect); - ScreenToClient(&plotRect); - - n_PlotWidth = min( plotRect.Width(), 512); - n_PlotHeight = plotRect.Height() - 10; - } - - // set the default SampleRate - SetDlgItemInt( IDC_EDIT_SAMPLE_RATE, (UINT)(m_fSampleRate/1000) ); - SetDlgItemInt( IDC_EDIT_BUF_SIZE, (UINT)(m_dwReadCount) ); - ((CButton*)GetDlgItem( IDC_RADIO_CH0 ))->SetCheck( TRUE ); - - m_wChannel = 0; - - max_range = 5.0; - min_range = -5.0; - - return TRUE; // return TRUE unless you set the focus to a control -} - -void C9111PostTgDlg::OnSysCommand(UINT nID, LPARAM lParam) -{ - if ((nID & 0xFFF0) == IDM_ABOUTBOX) - { - CAboutDlg dlgAbout; - dlgAbout.DoModal(); - } - else - { - CDialog::OnSysCommand(nID, lParam); - } -} - -// If you add a minimize button to your dialog, you will need the code below -// to draw the icon. For MFC applications using the document/view model, -// this is automatically done for you by the framework. - -void C9111PostTgDlg::OnPaint() -{ - if (IsIconic()) - { - CPaintDC dc(this); // device context for painting - - SendMessage(WM_ICONERASEBKGND, reinterpret_cast(dc.GetSafeHdc()), 0); - - // Center icon in client rectangle - int cxIcon = GetSystemMetrics(SM_CXICON); - int cyIcon = GetSystemMetrics(SM_CYICON); - CRect rect; - GetClientRect(&rect); - int x = (rect.Width() - cxIcon + 1) / 2; - int y = (rect.Height() - cyIcon + 1) / 2; - - // Draw the icon - dc.DrawIcon(x, y, m_hIcon); - } - else - { - redraw_display_area(); - CDialog::OnPaint(); - } -} - -// The system calls this function to obtain the cursor to display while the user drags -// the minimized window. -HCURSOR C9111PostTgDlg::OnQueryDragIcon() -{ - return static_cast(m_hIcon); -} - - -void C9111PostTgDlg::redraw_display_area(void) -{ - CPen *oldPen; - - int oldMode; - COLORREF oldColor; - - CString y_lable; - - CPen minor_tick( PS_SOLID,1,RGB(132,130,132) ); -// CPen y_grid( PS_SOLID,1,RGB(206,203,132) ); - - int i, x_intv, y_intv; -// long total_sec; - - CClientDC dc_plot(this); - - // draw the base-line for x-y axises - oldPen = (CPen *)dc_plot.SelectStockObject(BLACK_PEN); - - // redraw the background - dc_plot.FillSolidRect( plotRect, RGB(0,0,0) ); - - // Re-Draw the AREA for Y-Lable - { - CBrush DIALOG_BRUSH; - CRect redraw_area, full_client; - - GetClientRect(&full_client); - ScreenToClient(&full_client); - - redraw_area.left = full_client.left; - redraw_area.top = plotRect.top - 5; - redraw_area.right = plotRect.left - 3; - redraw_area.bottom = plotRect.bottom + 10; - - DIALOG_BRUSH.CreateSysColorBrush( COLOR_3DFACE ); - - dc_plot.FillRect( redraw_area, &DIALOG_BRUSH ); - - DIALOG_BRUSH.DeleteObject(); - } - - dc_plot.MoveTo( plotRect.left - 3, plotRect.top ); - dc_plot.LineTo( plotRect.left - 3, plotRect.bottom ); - - // calculate the interval for tick/grid - y_intv = (plotRect.Height() - 10) /y_divider; - x_intv = plotRect.Width()/x_divider; - - - // set the color for tick - oldColor = dc_plot.SetTextColor( RGB(0,0,0) ); - oldMode = dc_plot.SetBkMode( TRANSPARENT ); - - for( i=0; i<= y_divider; i++ ) - { - CString tick_str; - CRect tmp_rect, tick_rect; - - // draw the tick for y-axis - dc_plot.MoveTo( plotRect.left -12, plotRect.bottom -5 - (i*y_intv) ); - dc_plot.LineTo( plotRect.left -3, plotRect.bottom -5 - (i*y_intv) ); - - tick_str.Format( _T("%.1f"), ( ((max_range-min_range)/y_divider) * i)+min_range ); - - // calculate the rectangle for text - dc_plot.DrawText( tick_str, &tmp_rect, DT_CALCRECT|DT_SINGLELINE ); - tick_rect.right = plotRect.left -14; - tick_rect.left = tick_rect.right - tmp_rect.Width(); - tick_rect.top = plotRect.bottom -5 - (i*y_intv) - tmp_rect.Height()/2; - tick_rect.bottom = tick_rect.top + tmp_rect.Height(); - - // draw the text - dc_plot.DrawText( tick_str, &tick_rect, DT_SINGLELINE|DT_RIGHT ); - - } - - // draw the minor_tick for Y axises - dc_plot.SelectObject(&minor_tick); - for( i=0; i< y_divider; i++ ) - { - dc_plot.MoveTo( plotRect.left -9, plotRect.bottom -5 - (i*y_intv) - y_intv/2 ); - dc_plot.LineTo( plotRect.left -4, plotRect.bottom -5 - (i*y_intv) - y_intv/2 ); - } - - dc_plot.SetTextColor( oldColor ); - dc_plot.SetBkMode( oldMode ); - dc_plot.SelectObject( oldPen ); -} - -void C9111PostTgDlg::OnDestroy() -{ - CDialog::OnDestroy(); - - // TODO: Add your message handler code here - if( m_nTimer != -1 ) - { - KillTimer( m_nTimer ); - m_nTimer = -1; - } - - if (m_hMem != NULL) - { - GlobalUnfix(m_hMem); - GlobalUnlock(m_hMem); - GlobalFree(m_hMem); - - m_hMem = NULL; - } - - if( OnBrush != NULL ) - ::DeleteObject( OnBrush ); - - if( OffBrush != NULL ) - ::DeleteObject( OffBrush ); - - RedPen.DeleteObject(); - -} - -void C9111PostTgDlg::OnVScroll(UINT nSBCode, UINT nPos, CScrollBar* pScrollBar) -{ - // TODO: Add your message handler code here and/or call default - switch ( nSBCode ) - { - case SB_LINEUP : - m_fSampleRate += 50000.0; - if (m_fSampleRate > 1000000.0 ) m_fSampleRate = 1000000.0; - break; - case SB_LINEDOWN: - m_fSampleRate -= 50000; - if (m_fSampleRate < 50000 ) m_fSampleRate = 50000; - break; - } - - SetDlgItemInt( IDC_EDIT_SAMPLE_RATE, (UINT)(m_fSampleRate/1000) ); - - CDialog::OnVScroll(nSBCode, nPos, pScrollBar); -} - - -void C9111PostTgDlg::OnStop() -{ - // TODO: Add your control notification handler code here - U32 count; - - AI_AsyncClear(m_hCard, &count); - - if( m_nTimer != -1 ) - { - KillTimer( m_nTimer ); - m_nTimer = -1; - } - - GetDlgItem( IDC_BT_START )->EnableWindow(TRUE); - - GetDlgItem( IDC_RADIO_CH0 )->EnableWindow(TRUE); - GetDlgItem( IDC_RADIO_CH1 )->EnableWindow(TRUE); - GetDlgItem( IDC_RADIO_CH2 )->EnableWindow(TRUE); - GetDlgItem( IDC_RADIO_CH3 )->EnableWindow(TRUE); - GetDlgItem( IDC_RADIO_CH4 )->EnableWindow(TRUE); - GetDlgItem( IDC_RADIO_CH5 )->EnableWindow(TRUE); - GetDlgItem( IDC_RADIO_CH6 )->EnableWindow(TRUE); - GetDlgItem( IDC_RADIO_CH7 )->EnableWindow(TRUE); -} - -void C9111PostTgDlg::OnStart() -{ - // TODO: Add your control notification handler code here - DWORD mem_size; - CString strTemp; - I16 err; - - GetDlgItem( IDC_BT_START )->EnableWindow(FALSE); - - GetDlgItem( IDC_RADIO_CH0 )->EnableWindow(FALSE); - GetDlgItem( IDC_RADIO_CH1 )->EnableWindow(FALSE); - GetDlgItem( IDC_RADIO_CH2 )->EnableWindow(FALSE); - GetDlgItem( IDC_RADIO_CH3 )->EnableWindow(FALSE); - GetDlgItem( IDC_RADIO_CH4 )->EnableWindow(FALSE); - GetDlgItem( IDC_RADIO_CH5 )->EnableWindow(FALSE); - GetDlgItem( IDC_RADIO_CH6 )->EnableWindow(FALSE); - GetDlgItem( IDC_RADIO_CH7 )->EnableWindow(FALSE); - - m_dwReadCount = GetDlgItemInt(IDC_EDIT_BUF_SIZE); - if (m_dwReadCount % 512) - { - AfxMessageBox( TEXT("Buffer Size should be multiple of 512") ); - return; - } - - if (m_hMem != NULL) - { - GlobalUnfix(m_hMem); - GlobalUnlock(m_hMem); - GlobalFree(m_hMem); - - m_hMem = NULL; - } - - // allocate a memory for user DMA buffer - mem_size = m_dwReadCount * sizeof(I16); - m_hMem = GlobalAlloc(GMEM_ZEROINIT, mem_size); - m_pAIBuf = (U16*) GlobalLock(m_hMem); - if (m_pAIBuf == NULL ) - { - AfxMessageBox( TEXT("Memory allocation failed"), MB_OK); - return; - } - - GlobalFix(m_hMem); - - err=AI_9111_Config(m_hCard, TRIG_INT_PACER, P9111_TRGMOD_POST, m_wPostCount); - - if (err!=0) - { - strTemp.Format( TEXT("AI_9111_Config error=%d"), err); - AfxMessageBox( strTemp ); - } - - err=AI_AsyncDblBufferMode(m_hCard, 1); // single-buffer mode - if (err!=0) - { - strTemp.Format( TEXT("AI_DblBufferMode error=%d"), err); - AfxMessageBox( strTemp ); - } - - err=AI_ContReadChannel (m_hCard, m_wChannel, m_wRange, (U16*)m_pAIBuf, m_dwReadCount, (F64)m_fSampleRate, ASYNCH_OP); - if (err!=0) - { - strTemp.Format( TEXT("AI_ContReadChannel error=%d"), err); - AfxMessageBox( strTemp ); - } - - m_nTimer = SetTimer( 1, 20, NULL ); - -} - -int C9111PostTgDlg::display_buffer_data(U16* pBuf) -{ - CClientDC dc_plot(this); - int nDraw_Origin_Y; - int cur_channel; - - int newY = -1; - int newX = -1; - U32 index; - I16 ai_data; - U32 dwDataSize = (m_dwReadCount/2); // for double-buffer operation - - // redraw the background - dc_plot.FillSolidRect( plotRect, RGB(0,0,0) ); - - dc_plot.SelectObject(&RedPen); - nDraw_Origin_Y = ( plotRect.bottom - 5 ) - n_PlotHeight/2; - - for( index=0; index> 4; - cur_channel = pBuf[index] & 0x0f; - newY = (int)( nDraw_Origin_Y - ((n_PlotHeight * ai_data) >> 12 ) ); // (n_PlotHeight/2) * ai_data/2048 ) --> (n_PlotHeight * ai_data / 4096 ) --> (n_PlotHeight * ai_data) >> 12 ) - } - else // m_wCardType == PCI_9111HR - { - cur_channel = index%(m_wScanChans+1); - ai_data = (I16)(pBuf[index]); - newY = (int)( nDraw_Origin_Y - ((n_PlotHeight * ai_data) >> 16) ); // (n_PlotHeight/2) * ai_data/32768 ) --> ( n_PlotHeight * ai_data / 65536) ) --> (n_PlotHeight * ai_data) >> 16) - } - - newX = (int)( index*n_PlotWidth/dwDataSize + plotRect.left ); - - if ( index == 0 ) - { - dc_plot.MoveTo( newX, newY ); - } - else - { - dc_plot.MoveTo( m_oldX, m_oldY ); - dc_plot.LineTo( newX, newY ); - } - - m_oldX = newX; - m_oldY = newY; - } - - return 0; -} - -void C9111PostTgDlg::OnTimer(UINT_PTR nIDEvent) -{ - // TODO: Add your message handler code here and/or call default - BOOLEAN HalfReady; - BOOLEAN fstop; - - AI_AsyncDblBufferHalfReady(m_hCard, &HalfReady, &fstop); - - if( HalfReady ) // half-buffer ready - { - AI_AsyncDblBufferTransfer(m_hCard, m_pAIBuf); - display_buffer_data( m_pAIBuf ); - } - - CDialog::OnTimer(nIDEvent); -} - -void C9111PostTgDlg::OnCh0() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_RADIO_CH0 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_wChannel = 0; - } - -} - -void C9111PostTgDlg::OnCh1() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_RADIO_CH1 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_wChannel = 1; - } -} - -void C9111PostTgDlg::OnCh2() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_RADIO_CH2 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_wChannel = 2; - } -} - -void C9111PostTgDlg::OnCh3() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_RADIO_CH3 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_wChannel = 3; - } -} - -void C9111PostTgDlg::OnCh4() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_RADIO_CH4 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_wChannel = 4; - } -} - -void C9111PostTgDlg::OnCh5() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_RADIO_CH5 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_wChannel = 5; - } -} - -void C9111PostTgDlg::OnCh6() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_RADIO_CH6 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_wChannel = 6; - } -} - -void C9111PostTgDlg::OnCh7() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_RADIO_CH7 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_wChannel = 7; - } -} - - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9111/SDK9111DbfPostTrg/9111PostTgDlg.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9111/SDK9111DbfPostTrg/9111PostTgDlg.h deleted file mode 100644 index 68fa81d..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9111/SDK9111DbfPostTrg/9111PostTgDlg.h +++ /dev/null @@ -1,79 +0,0 @@ - -// 9111PostTgDlg.h : header file -#pragma once -#include "afxcmn.h" -#include "afxwin.h" - -#include "Dask64.h" - -#ifndef MAX_CHAN_9111 -#define MAX_CHAN_9111 16 -#endif - -// C9111PostTgDlg dialog -class C9111PostTgDlg : public CDialog -{ -// Construction -public: - C9111PostTgDlg(I16 hCard, U16 wCardType, CWnd* pParent = NULL); // standard constructor - -// Dialog Data - enum { IDD = IDD_PCI9111POST_TRG_DIALOG }; - - protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - - -// Implementation -protected: - HICON m_hIcon; - UINT_PTR m_nTimer; - I16 m_hCard; - U16 m_wCardType; - double m_fSampleRate; - U16 m_wScanChans; - HANDLE m_hMem; - U16 *m_pAIBuf; - U16 m_wRange; - int m_oldY; - int m_oldX; - U32 m_dwReadCount; - U16 m_wChannel; - U16 m_wPostCount; - - // Generated message map functions - virtual BOOL OnInitDialog(); - afx_msg void OnSysCommand(UINT nID, LPARAM lParam); - afx_msg void OnPaint(); - afx_msg HCURSOR OnQueryDragIcon(); - DECLARE_MESSAGE_MAP() - -public: - WORD max_val; - WORD min_val; - double max_range; - double min_range; - int n_PlotWidth; - int n_PlotHeight; - int y_divider; - int x_divider; - int m_DisplayScale; - HBRUSH OnBrush; - HBRUSH OffBrush; - CPen RedPen; - void redraw_display_area(void); - afx_msg void OnDestroy(); - afx_msg void OnVScroll(UINT nSBCode, UINT nPos, CScrollBar* pScrollBar); - afx_msg void OnStart(); - int display_buffer_data(U16* pBuf); - afx_msg void OnCh0(); - afx_msg void OnCh1(); - afx_msg void OnCh2(); - afx_msg void OnCh3(); - afx_msg void OnCh4(); - afx_msg void OnCh5(); - afx_msg void OnCh6(); - afx_msg void OnCh7(); - afx_msg void OnTimer(UINT_PTR nIDEvent); - afx_msg void OnStop(); -}; diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9111/SDK9111DbfPostTrg/9111int.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9111/SDK9111DbfPostTrg/9111int.suo deleted file mode 100644 index aaca7d8..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9111/SDK9111DbfPostTrg/9111int.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9111/SDK9111DbfPostTrg/CardIDDlg.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9111/SDK9111DbfPostTrg/CardIDDlg.cpp deleted file mode 100644 index 648cb79..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9111/SDK9111DbfPostTrg/CardIDDlg.cpp +++ /dev/null @@ -1,77 +0,0 @@ -// CardIDDlg.cpp : implementation file -// -#include "stdafx.h" -#include "9111PostTg.h" -#include "9111PostTgDlg.h" -#include "CardIDDlg.h" - -// CCardIDDlg dialog - -IMPLEMENT_DYNAMIC(CCardIDDlg, CDialog) - -CCardIDDlg::CCardIDDlg(int nCardIdx, CWnd* pParent /*=NULL*/) - : CDialog(CCardIDDlg::IDD, pParent) -{ - m_nCardIdx = nCardIdx; -} - -CCardIDDlg::~CCardIDDlg() -{ -} - -void CCardIDDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); - DDX_Control(pDX, IDC_COMBO_CARDID, m_cbCardID); - DDX_Control(pDX, IDC_COMBO_CARDTYPE, m_cbCardType); -} - - -BEGIN_MESSAGE_MAP(CCardIDDlg, CDialog) -// ON_CBN_SELCHANGE(IDC_COMBO_CARDID, &CCardIDDlg::OnCbnSelchangeComboCardid) -ON_BN_CLICKED(IDOK, &CCardIDDlg::OnBnClickedOk) -//ON_WM_CTLCOLOR() -END_MESSAGE_MAP() - - -// CCardIDDlg message handlers - - -void CCardIDDlg::OnBnClickedOk() -{ - // TODO: Add your control notification handler code here - -// UpdateData(TRUE); - m_nCardIdx = m_cbCardID.GetCurSel(); - m_CardType = PCI_9111DG + m_cbCardType.GetCurSel(); - - OnOK(); -} - -BOOL CCardIDDlg::OnInitDialog() -{ - CDialog::OnInitDialog(); - - // TODO: Add extra initialization here - m_cbCardID.SetCurSel( m_nCardIdx ); - - m_cbCardType.SetCurSel( 0 ); - m_CardType = PCI_9111DG; - - return TRUE; // return TRUE unless you set the focus to a control - // EXCEPTION: OCX Property Pages should return FALSE -} - -// the function to get the selected CardID -int CCardIDDlg::GetCardID(void) -{ - return m_nCardIdx; -} - - -U16 CCardIDDlg::GetCardType(void) -{ - return m_CardType; -} - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9111/SDK9111DbfPostTrg/CardIDDlg.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9111/SDK9111DbfPostTrg/CardIDDlg.h deleted file mode 100644 index 23399df..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9111/SDK9111DbfPostTrg/CardIDDlg.h +++ /dev/null @@ -1,35 +0,0 @@ -#pragma once -#include "afxwin.h" - -#include "Dask64.h" - -// CCardIDDlg dialog - -class CCardIDDlg : public CDialog -{ - DECLARE_DYNAMIC(CCardIDDlg) - -public: - CCardIDDlg(int nCardIdx, CWnd* pParent = NULL); // standard constructor - virtual ~CCardIDDlg(); - -// Dialog Data - enum { IDD = IDD_CARDID_DIALOG }; - -protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - - DECLARE_MESSAGE_MAP() -public: - virtual BOOL OnInitDialog(); - afx_msg void OnBnClickedOk(); - // the setting of CardID ComboBox - int m_nCardIdx; - U16 m_CardType; - // the control of CardID ComboBox - CComboBox m_cbCardID; - CComboBox m_cbCardType; - // the function to get the selected CardID - int GetCardID(void); - U16 GetCardType(void); -}; diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9111/SDK9111DbfPostTrg/ReadMe.txt b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9111/SDK9111DbfPostTrg/ReadMe.txt deleted file mode 100644 index 5b549ce..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9111/SDK9111DbfPostTrg/ReadMe.txt +++ /dev/null @@ -1,93 +0,0 @@ -================================================================================ - MICROSOFT FOUNDATION CLASS LIBRARY : 9111int Project Overview -=============================================================================== - -The application wizard has created this 9111int application for -you. This application not only demonstrates the basics of using the Microsoft -Foundation Classes but is also a starting point for writing your application. - -This file contains a summary of what you will find in each of the files that -make up your 9111int application. - -9111int.vcproj - This is the main project file for VC++ projects generated using an application wizard. - It contains information about the version of Visual C++ that generated the file, and - information about the platforms, configurations, and project features selected with the - application wizard. - -9111int.h - This is the main header file for the application. It includes other - project specific headers (including Resource.h) and declares the - C9111intApp application class. - -9111int.cpp - This is the main application source file that contains the application - class C9111intApp. - -9111int.rc - This is a listing of all of the Microsoft Windows resources that the - program uses. It includes the icons, bitmaps, and cursors that are stored - in the RES subdirectory. This file can be directly edited in Microsoft - Visual C++. Your project resources are in 1033. - -res\9111int.ico - This is an icon file, which is used as the application's icon. This - icon is included by the main resource file 9111int.rc. - -res\My9111int.rc2 - This file contains resources that are not edited by Microsoft - Visual C++. You should place all resources not editable by - the resource editor in this file. - - -///////////////////////////////////////////////////////////////////////////// - -The application wizard creates one dialog class: - -9111intDlg.h, 9111intDlg.cpp - the dialog - These files contain your C9111intDlg class. This class defines - the behavior of your application's main dialog. The dialog's template is - in 9111int.rc, which can be edited in Microsoft Visual C++. - - -///////////////////////////////////////////////////////////////////////////// - -Other Features: - -ActiveX Controls - The application includes support to use ActiveX controls. - -///////////////////////////////////////////////////////////////////////////// - -Other standard files: - -StdAfx.h, StdAfx.cpp - These files are used to build a precompiled header (PCH) file - named 9111int.pch and a precompiled types file named StdAfx.obj. - -Resource.h - This is the standard header file, which defines new resource IDs. - Microsoft Visual C++ reads and updates this file. - -9111int.manifest - Application manifest files are used by Windows XP to describe an applications - dependency on specific versions of Side-by-Side assemblies. The loader uses this - information to load the appropriate assembly from the assembly cache or private - from the application. The Application manifest maybe included for redistribution - as an external .manifest file that is installed in the same folder as the application - executable or it may be included in the executable in the form of a resource. -///////////////////////////////////////////////////////////////////////////// - -Other notes: - -The application wizard uses "TODO:" to indicate parts of the source code you -should add to or customize. - -If your application uses MFC in a shared DLL, you will need -to redistribute the MFC DLLs. If your application is in a language -other than the operating system's locale, you will also have to -redistribute the corresponding localized resources MFC90XXX.DLL. -For more information on both of these topics, please see the section on -redistributing Visual C++ applications in MSDN documentation. - -///////////////////////////////////////////////////////////////////////////// diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9111/SDK9111DbfPostTrg/res/9111PostTg.ico b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9111/SDK9111DbfPostTrg/res/9111PostTg.ico deleted file mode 100644 index d56fbcd..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9111/SDK9111DbfPostTrg/res/9111PostTg.ico and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9111/SDK9111DbfPostTrg/res/My9111PostTg.rc2 b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9111/SDK9111DbfPostTrg/res/My9111PostTg.rc2 deleted file mode 100644 index 383cde2..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9111/SDK9111DbfPostTrg/res/My9111PostTg.rc2 +++ /dev/null @@ -1,13 +0,0 @@ -// -// My9111int.RC2 - resources Microsoft Visual C++ does not edit directly -// - -#ifdef APSTUDIO_INVOKED -#error this file is not editable by Microsoft Visual C++ -#endif //APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// Add manually edited resources here... - -///////////////////////////////////////////////////////////////////////////// diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9111/SDK9111DbfPostTrg/res/ch_set1.bmp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9111/SDK9111DbfPostTrg/res/ch_set1.bmp deleted file mode 100644 index f2374ed..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9111/SDK9111DbfPostTrg/res/ch_set1.bmp and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9111/SDK9111DbfPostTrg/res/ch_set2.bmp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9111/SDK9111DbfPostTrg/res/ch_set2.bmp deleted file mode 100644 index 32d0915..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9111/SDK9111DbfPostTrg/res/ch_set2.bmp and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9111/SDK9111DbfPostTrg/resource.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9111/SDK9111DbfPostTrg/resource.h deleted file mode 100644 index 277477a..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9111/SDK9111DbfPostTrg/resource.h +++ /dev/null @@ -1,41 +0,0 @@ -//{{NO_DEPENDENCIES}} -// Microsoft Visual C++ generated include file. -// Used by 9111PostTg.rc -// -#define IDM_ABOUTBOX 0x0010 -#define IDD_ABOUTBOX 100 -#define IDS_ABOUTBOX 101 -#define IDD_PCI9111POST_TRG_DIALOG 102 -#define IDR_MAINFRAME 128 -#define IDD_CARDID_DIALOG 129 -#define IDB_BITMAP_SET1 131 -#define IDB_BITMAP_SET2 132 -#define IDC_STATIC_DRAW 1000 -#define IDC_COMBO_CARDID 1001 -#define IDC_COMBO_CARDTYPE 1002 -#define IDC_BT_START 1003 -#define IDC_EDIT_SAMPLE_RATE 1004 -#define IDC_SCROLLBAR_RATE 1005 -#define IDC_RADIO_CH0 1006 -#define IDC_RADIO_CH1 1007 -#define IDC_RADIO_CH2 1008 -#define IDC_RADIO_CH3 1009 -#define IDC_RADIO_CH4 1010 -#define IDC_RADIO_CH5 1011 -#define IDC_RADIO_CH6 1012 -#define IDC_RADIO_CH7 1013 -#define IDC_STATIC_01 1014 -#define IDC_EDIT_BUF_SIZE 1014 -#define IDC_STATIC_2 1015 -#define IDC_BT_STOP 1015 - -// Next default values for new objects -// -#ifdef APSTUDIO_INVOKED -#ifndef APSTUDIO_READONLY_SYMBOLS -#define _APS_NEXT_RESOURCE_VALUE 134 -#define _APS_NEXT_COMMAND_VALUE 32771 -#define _APS_NEXT_CONTROL_VALUE 1018 -#define _APS_NEXT_SYMED_VALUE 101 -#endif -#endif diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9111/SDK9111DbfPostTrg/stdafx.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9111/SDK9111DbfPostTrg/stdafx.cpp deleted file mode 100644 index ef80626..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9111/SDK9111DbfPostTrg/stdafx.cpp +++ /dev/null @@ -1,8 +0,0 @@ - -// stdafx.cpp : source file that includes just the standard includes -// 9111int.pch will be the pre-compiled header -// stdafx.obj will contain the pre-compiled type information - -#include "stdafx.h" - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9111/SDK9111DbfPostTrg/stdafx.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9111/SDK9111DbfPostTrg/stdafx.h deleted file mode 100644 index 12123e2..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9111/SDK9111DbfPostTrg/stdafx.h +++ /dev/null @@ -1,60 +0,0 @@ - -// stdafx.h : include file for standard system include files, -// or project specific include files that are used frequently, -// but are changed infrequently - -#pragma once - -#ifndef _SECURE_ATL -#define _SECURE_ATL 1 -#endif - -#ifndef VC_EXTRALEAN -#define VC_EXTRALEAN // Exclude rarely-used stuff from Windows headers -#endif - -#include "targetver.h" - -#define _ATL_CSTRING_EXPLICIT_CONSTRUCTORS // some CString constructors will be explicit - -// turns off MFC's hiding of some common and often safely ignored warning messages -#define _AFX_ALL_WARNINGS - -#include // MFC core and standard components -#include // MFC extensions - - -#include // MFC Automation classes - - - -#ifndef _AFX_NO_OLE_SUPPORT -#include // MFC support for Internet Explorer 4 Common Controls -#endif -#ifndef _AFX_NO_AFXCMN_SUPPORT -#include // MFC support for Windows Common Controls -#endif // _AFX_NO_AFXCMN_SUPPORT - -#include // MFC support for ribbons and control bars - - - - - - - - - -#ifdef _UNICODE -#if defined _M_IX86 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='x86' publicKeyToken='6595b64144ccf1df' language='*'\"") -#elif defined _M_IA64 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='ia64' publicKeyToken='6595b64144ccf1df' language='*'\"") -#elif defined _M_X64 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='amd64' publicKeyToken='6595b64144ccf1df' language='*'\"") -#else -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='*' publicKeyToken='6595b64144ccf1df' language='*'\"") -#endif -#endif - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9111/SDK9111DbfPostTrg/targetver.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9111/SDK9111DbfPostTrg/targetver.h deleted file mode 100644 index 11730d5..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9111/SDK9111DbfPostTrg/targetver.h +++ /dev/null @@ -1,26 +0,0 @@ - -#pragma once - -// The following macros define the minimum required platform. The minimum required platform -// is the earliest version of Windows, Internet Explorer etc. that has the necessary features to run -// your application. The macros work by enabling all features available on platform versions up to and -// including the version specified. - -// Modify the following defines if you have to target a platform prior to the ones specified below. -// Refer to MSDN for the latest info on corresponding values for different platforms. -#ifndef WINVER // Specifies that the minimum required platform is Windows Vista. -#define WINVER 0x0600 // Change this to the appropriate value to target other versions of Windows. -#endif - -#ifndef _WIN32_WINNT // Specifies that the minimum required platform is Windows Vista. -#define _WIN32_WINNT 0x0600 // Change this to the appropriate value to target other versions of Windows. -#endif - -#ifndef _WIN32_WINDOWS // Specifies that the minimum required platform is Windows 98. -#define _WIN32_WINDOWS 0x0410 // Change this to the appropriate value to target Windows Me or later. -#endif - -#ifndef _WIN32_IE // Specifies that the minimum required platform is Internet Explorer 7.0. -#define _WIN32_IE 0x0700 // Change this to the appropriate value to target other versions of IE. -#endif - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9111/SDK9111DbfPreTrig/9111DbInt.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9111/SDK9111DbfPreTrig/9111DbInt.cpp deleted file mode 100644 index 458ccbc..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9111/SDK9111DbfPreTrig/9111DbInt.cpp +++ /dev/null @@ -1,111 +0,0 @@ - -// 9111DbInt.cpp : Defines the class behaviors for the application. -// - -#include "stdafx.h" -#include "9111DbInt.h" -#include "9111DbIntDlg.h" -#include "CardIDDlg.h" - -#ifdef _DEBUG -#define new DEBUG_NEW -#endif - - -// C9111DbIntApp - -BEGIN_MESSAGE_MAP(C9111DbIntApp, CWinAppEx) - ON_COMMAND(ID_HELP, &CWinApp::OnHelp) -END_MESSAGE_MAP() - - -// C9111DbIntApp construction - -C9111DbIntApp::C9111DbIntApp() -{ - // TODO: add construction code here, - // Place all significant initialization in InitInstance -} - - -// The one and only C9111DbIntApp object - -C9111DbIntApp theApp; - - -// C9111DbIntApp initialization - -BOOL C9111DbIntApp::InitInstance() -{ - int nCardID = 0; - I16 hCard; - U16 wCardType; - CString strTemp; - INT_PTR nResponse; - - // InitCommonControlsEx() is required on Windows XP if an application - // manifest specifies use of ComCtl32.dll version 6 or later to enable - // visual styles. Otherwise, any window creation will fail. - INITCOMMONCONTROLSEX InitCtrls; - InitCtrls.dwSize = sizeof(InitCtrls); - // Set this to include all the common control classes you want to use - // in your application. - InitCtrls.dwICC = ICC_WIN95_CLASSES; - InitCommonControlsEx(&InitCtrls); - - CWinAppEx::InitInstance(); - - AfxEnableControlContainer(); - - // Standard initialization - // If you are not using these features and wish to reduce the size - // of your final executable, you should remove from the following - // the specific initialization routines you do not need - // Change the registry key under which our settings are stored - // TODO: You should modify this string to be something appropriate - // such as the name of your company or organization - SetRegistryKey(_T("Local AppWizard-Generated Applications")); - - CCardIDDlg CardDlg( nCardID ); - - nResponse = CardDlg.DoModal(); - if (nResponse == IDOK) - { - nCardID = CardDlg.GetCardID(); - wCardType = CardDlg.GetCardType(); - - if ((hCard=Register_Card(wCardType, nCardID)) < 0) - { - strTemp.Format( TEXT("Register_Card Error = %d"), hCard); - AfxMessageBox( strTemp ); - } - else - { - C9111DbIntDlg dlg(hCard, wCardType); - m_pMainWnd = &dlg; - nResponse = dlg.DoModal(); - if (nResponse == IDOK) - { - // TODO: Place code here to handle when the dialog is - // dismissed with OK - } - else if (nResponse == IDCANCEL) - { - // TODO: Place code here to handle when the dialog is - // dismissed with Cancel - } - - if (hCard >= 0) Release_Card(hCard); - } - - } - else if (nResponse == IDCANCEL) - { - // TODO: Place code here to handle when the dialog is - // dismissed with Cancel - } - - // Since the dialog has been closed, return FALSE so that we exit the - // application, rather than start the application's message pump. - return FALSE; -} diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9111/SDK9111DbfPreTrig/9111DbInt.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9111/SDK9111DbfPreTrig/9111DbInt.h deleted file mode 100644 index 9848978..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9111/SDK9111DbfPreTrig/9111DbInt.h +++ /dev/null @@ -1,32 +0,0 @@ - -// 9111DbInt.h : main header file for the PROJECT_NAME application -// - -#pragma once - -#ifndef __AFXWIN_H__ - #error "include 'stdafx.h' before including this file for PCH" -#endif - -#include "resource.h" // main symbols - - -// C9111DbIntApp: -// See 9111DbInt.cpp for the implementation of this class -// - -class C9111DbIntApp : public CWinAppEx -{ -public: - C9111DbIntApp(); - -// Overrides - public: - virtual BOOL InitInstance(); - -// Implementation - - DECLARE_MESSAGE_MAP() -}; - -extern C9111DbIntApp theApp; \ No newline at end of file diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9111/SDK9111DbfPreTrig/9111DbInt.rc b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9111/SDK9111DbfPreTrig/9111DbInt.rc deleted file mode 100644 index d0df15a..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9111/SDK9111DbfPreTrig/9111DbInt.rc +++ /dev/null @@ -1,300 +0,0 @@ -// Microsoft Visual C++ generated resource script. -// -#include "resource.h" - -#define APSTUDIO_READONLY_SYMBOLS -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 2 resource. -// -#ifndef APSTUDIO_INVOKED -#include "targetver.h" -#endif -#include "afxres.h" - -///////////////////////////////////////////////////////////////////////////// -#undef APSTUDIO_READONLY_SYMBOLS - -///////////////////////////////////////////////////////////////////////////// -// Chinese (Taiwan) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_CHT) -#ifdef _WIN32 -LANGUAGE LANG_CHINESE, SUBLANG_CHINESE_TRADITIONAL -#pragma code_page(950) -#endif //_WIN32 - -#ifdef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// TEXTINCLUDE -// - -1 TEXTINCLUDE -BEGIN - "resource.h\0" -END - -2 TEXTINCLUDE -BEGIN - "#ifndef APSTUDIO_INVOKED\r\n" - "#include ""targetver.h""\r\n" - "#endif\r\n" - "#include ""afxres.h""\r\n" - "\0" -END - -3 TEXTINCLUDE -BEGIN - "#define _AFX_NO_SPLITTER_RESOURCES\r\n" - "#define _AFX_NO_OLE_RESOURCES\r\n" - "#define _AFX_NO_TRACKER_RESOURCES\r\n" - "#define _AFX_NO_PROPERTY_RESOURCES\r\n" - "\r\n" - "#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)\r\n" - "LANGUAGE 9, 1\r\n" - "#pragma code_page(1252)\r\n" - "#include ""res\\My9111DbInt.rc2"" // non-Microsoft Visual C++ edited resources\r\n" - "#include ""afxres.rc"" // Standard components\r\n" - "#endif\r\n" - "\0" -END - -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// Icon -// - -// Icon with lowest ID value placed first to ensure application icon -// remains consistent on all systems. -IDR_MAINFRAME ICON "res\\9111DbInt.ico" -#endif // Chinese (Taiwan) resources -///////////////////////////////////////////////////////////////////////////// - - -///////////////////////////////////////////////////////////////////////////// -// English (U.S.) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -#ifdef _WIN32 -LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US -#pragma code_page(1252) -#endif //_WIN32 - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog -// - -IDD_ABOUTBOX DIALOGEX 0, 0, 170, 62 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "About 9111DbInt" -FONT 8, "MS Shell Dlg", 0, 0, 0x1 -BEGIN - ICON IDR_MAINFRAME,IDC_STATIC,14,14,21,20 - LTEXT "9111DbInt, Version 1.0",IDC_STATIC,42,14,114,8,SS_NOPREFIX - LTEXT "Copyright (C) 2010",IDC_STATIC,42,26,114,8 - DEFPUSHBUTTON "OK",IDOK,113,41,50,14,WS_GROUP -END - -IDD_PCI9111POST_TRG_DIALOG DIALOGEX 0, 0, 365, 232 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU -EXSTYLE WS_EX_APPWINDOW -CAPTION "PCI-9111 Double-Buffered Interrupt " -FONT 8, "MS Shell Dlg", 0, 0, 0x1 -BEGIN - GROUPBOX "",IDC_STATIC_DRAW,45,9,248,161,NOT WS_VISIBLE - LTEXT "Range : +/- 5V",IDC_STATIC,299,129,52,15 - LTEXT "Buffer Size",IDC_STATIC,124,183,42,9 - EDITTEXT IDC_EDIT_SAMPLE_RATE,47,196,39,14,ES_AUTOHSCROLL | ES_READONLY - LTEXT "Sample Rate :",IDC_STATIC,47,182,49,9 - LTEXT "KHz",IDC_STATIC,99,199,15,9 - SCROLLBAR IDC_SCROLLBAR_RATE,87,196,9,11,SBS_VERT - PUSHBUTTON "Start",IDC_BT_START,230,188,55,22 - CONTROL "0",IDC_RADIO_CH0,"Button",BS_AUTORADIOBUTTON | BS_LEFTTEXT,307,20,16,12 - CONTROL "1",IDC_RADIO_CH1,"Button",BS_AUTORADIOBUTTON | BS_LEFTTEXT,307,35,16,12 - CONTROL "2",IDC_RADIO_CH2,"Button",BS_AUTORADIOBUTTON | BS_LEFTTEXT,307,49,16,12 - CONTROL "3",IDC_RADIO_CH3,"Button",BS_AUTORADIOBUTTON | BS_LEFTTEXT,307,64,16,12 - CONTROL "4",IDC_RADIO_CH4,"Button",BS_AUTORADIOBUTTON | BS_LEFTTEXT,331,20,16,12 - CONTROL "5",IDC_RADIO_CH5,"Button",BS_AUTORADIOBUTTON | BS_LEFTTEXT,331,35,16,12 - CONTROL "6",IDC_RADIO_CH6,"Button",BS_AUTORADIOBUTTON | BS_LEFTTEXT,331,49,16,12 - CONTROL "7",IDC_RADIO_CH7,"Button",BS_AUTORADIOBUTTON | BS_LEFTTEXT,331,64,16,12 - EDITTEXT IDC_EDIT_BUF_SIZE,122,196,46,14,ES_AUTOHSCROLL - PUSHBUTTON "Stop",IDC_BT_STOP,291,188,55,22 - LTEXT "Trace Count",IDC_STATIC_TRACE_CNT,181,183,42,9 - EDITTEXT IDC_EDIT_TRACE_CNT,179,196,46,14,ES_AUTOHSCROLL -END - -IDD_CARDID_DIALOG DIALOGEX 0, 0, 174, 108 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "Card ID" -FONT 8, "MS Shell Dlg", 400, 0, 0x1 -BEGIN - COMBOBOX IDC_COMBO_CARDID,75,24,71,126,CBS_DROPDOWN | WS_VSCROLL | WS_TABSTOP - LTEXT "Card Number",IDC_STATIC_01,21,25,46,12 - PUSHBUTTON "OK",IDOK,22,70,58,19 - PUSHBUTTON "CANCEL",IDCANCEL,86,70,58,19 - COMBOBOX IDC_COMBO_CARDTYPE,75,46,71,126,CBS_DROPDOWN | WS_VSCROLL | WS_TABSTOP - LTEXT "Card Type",IDC_STATIC_2,29,47,37,12 -END - - -///////////////////////////////////////////////////////////////////////////// -// -// Version -// - -VS_VERSION_INFO VERSIONINFO - FILEVERSION 1,0,0,1 - PRODUCTVERSION 1,0,0,1 - FILEFLAGSMASK 0x3fL -#ifdef _DEBUG - FILEFLAGS 0x1L -#else - FILEFLAGS 0x0L -#endif - FILEOS 0x4L - FILETYPE 0x1L - FILESUBTYPE 0x0L -BEGIN - BLOCK "StringFileInfo" - BEGIN - BLOCK "040904e4" - BEGIN - VALUE "CompanyName", "TODO: " - VALUE "FileDescription", "TODO: " - VALUE "FileVersion", "1.0.0.1" - VALUE "InternalName", "9111DbInt.exe" - VALUE "LegalCopyright", "TODO: (c) . All rights reserved." - VALUE "OriginalFilename", "9111DbInt.exe" - VALUE "ProductName", "TODO: " - VALUE "ProductVersion", "1.0.0.1" - END - END - BLOCK "VarFileInfo" - BEGIN - VALUE "Translation", 0x409, 1252 - END -END - - -///////////////////////////////////////////////////////////////////////////// -// -// DESIGNINFO -// - -#ifdef APSTUDIO_INVOKED -GUIDELINES DESIGNINFO -BEGIN - IDD_ABOUTBOX, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 163 - TOPMARGIN, 7 - BOTTOMMARGIN, 55 - END - - IDD_CARDID_DIALOG, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 167 - TOPMARGIN, 7 - BOTTOMMARGIN, 101 - END -END -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog Info -// - -IDD_CARDID_DIALOG DLGINIT -BEGIN - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0030, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0031, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0032, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0033, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0034, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0035, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0036, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0037, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0038, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0039, - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3031, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3131, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3231, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3331, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3431, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3531, "\000" - IDC_COMBO_CARDTYPE, 0x403, 11, 0 -0x4350, 0x5f49, 0x3139, 0x3131, 0x4744, "\000" - IDC_COMBO_CARDTYPE, 0x403, 11, 0 -0x4350, 0x5f49, 0x3139, 0x3131, 0x5248, "\000" - 0 -END - - -///////////////////////////////////////////////////////////////////////////// -// -// Bitmap -// - -IDB_BITMAP_SET1 BITMAP "res\\ch_set1.bmp" -IDB_BITMAP_SET2 BITMAP "res\\ch_set2.bmp" - -///////////////////////////////////////////////////////////////////////////// -// -// String Table -// - -STRINGTABLE -BEGIN - IDS_ABOUTBOX "&About 9111DbInt..." -END - -#endif // English (U.S.) resources -///////////////////////////////////////////////////////////////////////////// - - - -#ifndef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 3 resource. -// -#define _AFX_NO_SPLITTER_RESOURCES -#define _AFX_NO_OLE_RESOURCES -#define _AFX_NO_TRACKER_RESOURCES -#define _AFX_NO_PROPERTY_RESOURCES - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -LANGUAGE 9, 1 -#pragma code_page(1252) -#include "res\My9111DbInt.rc2" // non-Microsoft Visual C++ edited resources -#include "afxres.rc" // Standard components -#endif - -///////////////////////////////////////////////////////////////////////////// -#endif // not APSTUDIO_INVOKED - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9111/SDK9111DbfPreTrig/9111DbInt.sln b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9111/SDK9111DbfPreTrig/9111DbInt.sln deleted file mode 100644 index 9a586ec..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9111/SDK9111DbfPreTrig/9111DbInt.sln +++ /dev/null @@ -1,20 +0,0 @@ - -Microsoft Visual Studio Solution File, Format Version 10.00 -# Visual Studio 2008 -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "9111DbInt", "9111DbInt.vcproj", "{702163FB-B6DF-4EF5-9491-FC54D71509BC}" -EndProject -Global - GlobalSection(SolutionConfigurationPlatforms) = preSolution - Debug|x64 = Debug|x64 - Release|x64 = Release|x64 - EndGlobalSection - GlobalSection(ProjectConfigurationPlatforms) = postSolution - {702163FB-B6DF-4EF5-9491-FC54D71509BC}.Debug|x64.ActiveCfg = Debug|x64 - {702163FB-B6DF-4EF5-9491-FC54D71509BC}.Debug|x64.Build.0 = Debug|x64 - {702163FB-B6DF-4EF5-9491-FC54D71509BC}.Release|x64.ActiveCfg = Release|x64 - {702163FB-B6DF-4EF5-9491-FC54D71509BC}.Release|x64.Build.0 = Release|x64 - EndGlobalSection - GlobalSection(SolutionProperties) = preSolution - HideSolutionNode = FALSE - EndGlobalSection -EndGlobal diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9111/SDK9111DbfPreTrig/9111DbInt.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9111/SDK9111DbfPreTrig/9111DbInt.suo deleted file mode 100644 index 1314b6c..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9111/SDK9111DbfPreTrig/9111DbInt.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9111/SDK9111DbfPreTrig/9111DbInt.vcproj b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9111/SDK9111DbfPreTrig/9111DbInt.vcproj deleted file mode 100644 index 864215e..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9111/SDK9111DbfPreTrig/9111DbInt.vcproj +++ /dev/null @@ -1,294 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9111/SDK9111DbfPreTrig/9111DbIntDlg.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9111/SDK9111DbfPreTrig/9111DbIntDlg.cpp deleted file mode 100644 index c70da3e..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9111/SDK9111DbfPreTrig/9111DbIntDlg.cpp +++ /dev/null @@ -1,670 +0,0 @@ - -// 9111DbIntDlg.cpp : implementation file -// - -#include "stdafx.h" -#include "9111DbInt.h" -#include "9111DbIntDlg.h" - -#ifdef _DEBUG -#define new DEBUG_NEW -#endif - -CRect plotRect; - -// CAboutDlg dialog used for App About - -class CAboutDlg : public CDialog -{ -public: - CAboutDlg(); - -// Dialog Data - enum { IDD = IDD_ABOUTBOX }; - - protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - -// Implementation -protected: - DECLARE_MESSAGE_MAP() -}; - -CAboutDlg::CAboutDlg() : CDialog(CAboutDlg::IDD) -{ -} - -void CAboutDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); -} - -BEGIN_MESSAGE_MAP(CAboutDlg, CDialog) -END_MESSAGE_MAP() - - -// C9111DbIntDlg dialog - - - - -C9111DbIntDlg::C9111DbIntDlg(I16 hCard, U16 wCardType, CWnd* pParent /*=NULL*/) - : CDialog(C9111DbIntDlg::IDD, pParent) -{ - m_hIcon = AfxGetApp()->LoadIcon(IDR_MAINFRAME); - - n_PlotWidth = n_PlotHeight = -1; - OnBrush = OffBrush = NULL; - - min_val = 0x00; - max_val = 0xFFFF; - - m_fSampleRate = 10000.0; // 10KHz - - m_hCard = hCard; - m_wCardType = wCardType; - - m_wScanChans = 0; - m_nTimer = -1; - m_hMem=NULL; - - m_wRange = AD_B_5_V; - m_dwReadCount = 10240; - m_wTraceCount = 512; - m_wChannel = 0; - -} - -void C9111DbIntDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); -} - -BEGIN_MESSAGE_MAP(C9111DbIntDlg, CDialog) - ON_WM_SYSCOMMAND() - ON_WM_PAINT() - ON_WM_QUERYDRAGICON() - //}}AFX_MSG_MAP - ON_WM_DESTROY() - ON_WM_VSCROLL() - ON_BN_CLICKED(IDC_BT_START, &C9111DbIntDlg::OnStart) - ON_BN_CLICKED(IDC_RADIO_CH0, &C9111DbIntDlg::OnCh0) - ON_BN_CLICKED(IDC_RADIO_CH1, &C9111DbIntDlg::OnCh1) - ON_BN_CLICKED(IDC_RADIO_CH2, &C9111DbIntDlg::OnCh2) - ON_BN_CLICKED(IDC_RADIO_CH3, &C9111DbIntDlg::OnCh3) - ON_BN_CLICKED(IDC_RADIO_CH4, &C9111DbIntDlg::OnCh4) - ON_BN_CLICKED(IDC_RADIO_CH5, &C9111DbIntDlg::OnCh5) - ON_BN_CLICKED(IDC_RADIO_CH6, &C9111DbIntDlg::OnCh6) - ON_BN_CLICKED(IDC_RADIO_CH7, &C9111DbIntDlg::OnCh7) - ON_WM_TIMER() - ON_BN_CLICKED(IDC_BT_STOP, &C9111DbIntDlg::OnStop) -END_MESSAGE_MAP() - - -// C9111DbIntDlg message handlers - -BOOL C9111DbIntDlg::OnInitDialog() -{ - CDialog::OnInitDialog(); - - // Add "About..." menu item to system menu. - - // IDM_ABOUTBOX must be in the system command range. - ASSERT((IDM_ABOUTBOX & 0xFFF0) == IDM_ABOUTBOX); - ASSERT(IDM_ABOUTBOX < 0xF000); - - CMenu* pSysMenu = GetSystemMenu(FALSE); - if (pSysMenu != NULL) - { - BOOL bNameValid; - CString strAboutMenu; - bNameValid = strAboutMenu.LoadString(IDS_ABOUTBOX); - ASSERT(bNameValid); - if (!strAboutMenu.IsEmpty()) - { - pSysMenu->AppendMenu(MF_SEPARATOR); - pSysMenu->AppendMenu(MF_STRING, IDM_ABOUTBOX, strAboutMenu); - } - } - - // Set the icon for this dialog. The framework does this automatically - // when the application's main window is not a dialog - SetIcon(m_hIcon, TRUE); // Set big icon - SetIcon(m_hIcon, FALSE); // Set small icon - - // TODO: Add extra initialization here - x_divider = 5; y_divider = 4; - - OnBrush = CreateSolidBrush( RGB(255,0,0) ); - OffBrush = CreateSolidBrush( RGB(125,0,0) ); - - RedPen.CreatePen( PS_SOLID, 1, RGB(255,0,0)); - - - if( n_PlotWidth == -1 && n_PlotHeight == -1 ) - { - ((CWnd*)GetDlgItem(IDC_STATIC_DRAW))->GetWindowRect(&plotRect); - ScreenToClient(&plotRect); - - n_PlotWidth = min( plotRect.Width(), 512); - n_PlotHeight = plotRect.Height() - 10; - } - - SetDlgItemInt( IDC_EDIT_TRACE_CNT, (UINT)m_wTraceCount ); - - // set the default SampleRate - SetDlgItemInt( IDC_EDIT_SAMPLE_RATE, (UINT)(m_fSampleRate/1000) ); - SetDlgItemInt( IDC_EDIT_BUF_SIZE, (UINT)(m_dwReadCount) ); - ((CButton*)GetDlgItem( IDC_RADIO_CH0 ))->SetCheck( TRUE ); - - m_wChannel = 0; - - max_range = 5.0; - min_range = -5.0; - - return TRUE; // return TRUE unless you set the focus to a control -} - -void C9111DbIntDlg::OnSysCommand(UINT nID, LPARAM lParam) -{ - if ((nID & 0xFFF0) == IDM_ABOUTBOX) - { - CAboutDlg dlgAbout; - dlgAbout.DoModal(); - } - else - { - CDialog::OnSysCommand(nID, lParam); - } -} - -// If you add a minimize button to your dialog, you will need the code below -// to draw the icon. For MFC applications using the document/view model, -// this is automatically done for you by the framework. - -void C9111DbIntDlg::OnPaint() -{ - if (IsIconic()) - { - CPaintDC dc(this); // device context for painting - - SendMessage(WM_ICONERASEBKGND, reinterpret_cast(dc.GetSafeHdc()), 0); - - // Center icon in client rectangle - int cxIcon = GetSystemMetrics(SM_CXICON); - int cyIcon = GetSystemMetrics(SM_CYICON); - CRect rect; - GetClientRect(&rect); - int x = (rect.Width() - cxIcon + 1) / 2; - int y = (rect.Height() - cyIcon + 1) / 2; - - // Draw the icon - dc.DrawIcon(x, y, m_hIcon); - } - else - { - redraw_display_area(); - CDialog::OnPaint(); - } -} - -// The system calls this function to obtain the cursor to display while the user drags -// the minimized window. -HCURSOR C9111DbIntDlg::OnQueryDragIcon() -{ - return static_cast(m_hIcon); -} - - -void C9111DbIntDlg::redraw_display_area(void) -{ - CPen *oldPen; - - int oldMode; - COLORREF oldColor; - - CString y_lable; - - CPen minor_tick( PS_SOLID,1,RGB(132,130,132) ); -// CPen y_grid( PS_SOLID,1,RGB(206,203,132) ); - - int i, x_intv, y_intv; -// long total_sec; - - CClientDC dc_plot(this); - - // draw the base-line for x-y axises - oldPen = (CPen *)dc_plot.SelectStockObject(BLACK_PEN); - - // redraw the background - dc_plot.FillSolidRect( plotRect, RGB(0,0,0) ); - - // Re-Draw the AREA for Y-Lable - { - CBrush DIALOG_BRUSH; - CRect redraw_area, full_client; - - GetClientRect(&full_client); - ScreenToClient(&full_client); - - redraw_area.left = full_client.left; - redraw_area.top = plotRect.top - 5; - redraw_area.right = plotRect.left - 3; - redraw_area.bottom = plotRect.bottom + 10; - - DIALOG_BRUSH.CreateSysColorBrush( COLOR_3DFACE ); - - dc_plot.FillRect( redraw_area, &DIALOG_BRUSH ); - - DIALOG_BRUSH.DeleteObject(); - } - - dc_plot.MoveTo( plotRect.left - 3, plotRect.top ); - dc_plot.LineTo( plotRect.left - 3, plotRect.bottom ); - - // calculate the interval for tick/grid - y_intv = (plotRect.Height() - 10) /y_divider; - x_intv = plotRect.Width()/x_divider; - - - // set the color for tick - oldColor = dc_plot.SetTextColor( RGB(0,0,0) ); - oldMode = dc_plot.SetBkMode( TRANSPARENT ); - - for( i=0; i<= y_divider; i++ ) - { - CString tick_str; - CRect tmp_rect, tick_rect; - - // draw the tick for y-axis - dc_plot.MoveTo( plotRect.left -12, plotRect.bottom -5 - (i*y_intv) ); - dc_plot.LineTo( plotRect.left -3, plotRect.bottom -5 - (i*y_intv) ); - - tick_str.Format( _T("%.1f"), ( ((max_range-min_range)/y_divider) * i)+min_range ); - - // calculate the rectangle for text - dc_plot.DrawText( tick_str, &tmp_rect, DT_CALCRECT|DT_SINGLELINE ); - tick_rect.right = plotRect.left -14; - tick_rect.left = tick_rect.right - tmp_rect.Width(); - tick_rect.top = plotRect.bottom -5 - (i*y_intv) - tmp_rect.Height()/2; - tick_rect.bottom = tick_rect.top + tmp_rect.Height(); - - // draw the text - dc_plot.DrawText( tick_str, &tick_rect, DT_SINGLELINE|DT_RIGHT ); - - } - - // draw the minor_tick for Y axises - dc_plot.SelectObject(&minor_tick); - for( i=0; i< y_divider; i++ ) - { - dc_plot.MoveTo( plotRect.left -9, plotRect.bottom -5 - (i*y_intv) - y_intv/2 ); - dc_plot.LineTo( plotRect.left -4, plotRect.bottom -5 - (i*y_intv) - y_intv/2 ); - } - - dc_plot.SetTextColor( oldColor ); - dc_plot.SetBkMode( oldMode ); - dc_plot.SelectObject( oldPen ); -} - -void C9111DbIntDlg::OnDestroy() -{ - CDialog::OnDestroy(); - - // TODO: Add your message handler code here - if( m_nTimer != -1 ) - { - KillTimer( m_nTimer ); - m_nTimer = -1; - } - - if (m_hMem != NULL) - { - GlobalUnfix(m_hMem); - GlobalUnlock(m_hMem); - GlobalFree(m_hMem); - - m_hMem = NULL; - } - - if( OnBrush != NULL ) - ::DeleteObject( OnBrush ); - - if( OffBrush != NULL ) - ::DeleteObject( OffBrush ); - - RedPen.DeleteObject(); - -} - -void C9111DbIntDlg::OnVScroll(UINT nSBCode, UINT nPos, CScrollBar* pScrollBar) -{ - // TODO: Add your message handler code here and/or call default - switch ( nSBCode ) - { - case SB_LINEUP : - m_fSampleRate += 50000.0; - if (m_fSampleRate > 1000000.0 ) m_fSampleRate = 1000000.0; - break; - case SB_LINEDOWN: - m_fSampleRate -= 50000; - if (m_fSampleRate < 50000 ) m_fSampleRate = 50000; - break; - } - - SetDlgItemInt( IDC_EDIT_SAMPLE_RATE, (UINT)(m_fSampleRate/1000) ); - - CDialog::OnVScroll(nSBCode, nPos, pScrollBar); -} - - -void C9111DbIntDlg::OnStop() -{ - // TODO: Add your control notification handler code here - U32 count; - - AI_AsyncClear(m_hCard, &count); - - if( m_nTimer != -1 ) - { - KillTimer( m_nTimer ); - m_nTimer = -1; - } - - GetDlgItem( IDC_BT_START )->EnableWindow(TRUE); - - GetDlgItem( IDC_RADIO_CH0 )->EnableWindow(TRUE); - GetDlgItem( IDC_RADIO_CH1 )->EnableWindow(TRUE); - GetDlgItem( IDC_RADIO_CH2 )->EnableWindow(TRUE); - GetDlgItem( IDC_RADIO_CH3 )->EnableWindow(TRUE); - GetDlgItem( IDC_RADIO_CH4 )->EnableWindow(TRUE); - GetDlgItem( IDC_RADIO_CH5 )->EnableWindow(TRUE); - GetDlgItem( IDC_RADIO_CH6 )->EnableWindow(TRUE); - GetDlgItem( IDC_RADIO_CH7 )->EnableWindow(TRUE); -} - -void C9111DbIntDlg::OnStart() -{ - // TODO: Add your control notification handler code here - DWORD mem_size; - CString strTemp; - I16 err; - - GetDlgItem( IDC_BT_START )->EnableWindow(FALSE); - - GetDlgItem( IDC_RADIO_CH0 )->EnableWindow(FALSE); - GetDlgItem( IDC_RADIO_CH1 )->EnableWindow(FALSE); - GetDlgItem( IDC_RADIO_CH2 )->EnableWindow(FALSE); - GetDlgItem( IDC_RADIO_CH3 )->EnableWindow(FALSE); - GetDlgItem( IDC_RADIO_CH4 )->EnableWindow(FALSE); - GetDlgItem( IDC_RADIO_CH5 )->EnableWindow(FALSE); - GetDlgItem( IDC_RADIO_CH6 )->EnableWindow(FALSE); - GetDlgItem( IDC_RADIO_CH7 )->EnableWindow(FALSE); - - m_wTraceCount = GetDlgItemInt(IDC_EDIT_TRACE_CNT); - m_dwReadCount = GetDlgItemInt(IDC_EDIT_BUF_SIZE); - if (m_dwReadCount % 512) - { - AfxMessageBox( TEXT("Buffer Size should be multiple of 512") ); - return; - } - - - - if (m_hMem != NULL) - { - GlobalUnfix(m_hMem); - GlobalUnlock(m_hMem); - GlobalFree(m_hMem); - - m_hMem = NULL; - } - - // allocate a memory for user DMA buffer - mem_size = m_dwReadCount * sizeof(I16); - m_hMem = GlobalAlloc(GMEM_ZEROINIT, mem_size); - m_pAIBuf = (U16*) GlobalLock(m_hMem); - if (m_pAIBuf == NULL ) - { - AfxMessageBox( TEXT("Memory allocation failed"), MB_OK); - return; - } - - GlobalFix(m_hMem); - - err=AI_9111_Config(m_hCard, TRIG_INT_PACER, P9111_TRGMOD_PRE, m_wTraceCount); - - if (err!=0) - { - strTemp.Format( TEXT("AI_9111_Config error=%d"), err); - AfxMessageBox( strTemp ); - } - - err=AI_AsyncDblBufferMode(m_hCard, 1); // single-buffer mode - if (err!=0) - { - strTemp.Format( TEXT("AI_DblBufferMode error=%d"), err); - AfxMessageBox( strTemp ); - } - - err=AI_ContReadChannel (m_hCard, m_wChannel, m_wRange, (U16*)m_pAIBuf, m_dwReadCount, (F64)m_fSampleRate, ASYNCH_OP); - if (err!=0) - { - strTemp.Format( TEXT("AI_ContReadChannel error=%d"), err); - AfxMessageBox( strTemp ); - } - - m_nTimer = SetTimer( 1, 20, NULL ); - -} - -int C9111DbIntDlg::display_buffer_data(U16* pBuf, U32 dwDataSize) -{ - CClientDC dc_plot(this); - int nDraw_Origin_Y; - int cur_channel; - - int newY = -1; - int newX = -1; - U32 dwReadCount = (m_dwReadCount/2); // for double-buffer operation - U32 index; - I16 ai_data; - - // redraw the background - dc_plot.FillSolidRect( plotRect, RGB(0,0,0) ); - - dc_plot.SelectObject(&RedPen); - nDraw_Origin_Y = ( plotRect.bottom - 5 ) - n_PlotHeight/2; - - for( index=0; index> 4; - cur_channel = pBuf[index] & 0x0f; - newY = (int)( nDraw_Origin_Y - ((n_PlotHeight * ai_data) >> 12 ) ); // (n_PlotHeight/2) * ai_data/2048 ) --> (n_PlotHeight * ai_data / 4096 ) --> (n_PlotHeight * ai_data) >> 12 ) - } - else // m_wCardType == PCI_9111HR - { - cur_channel = index%(m_wScanChans+1); - ai_data = (I16)(pBuf[index]); - newY = (int)( nDraw_Origin_Y - ((n_PlotHeight * ai_data) >> 16) ); // (n_PlotHeight/2) * ai_data/32768 ) --> ( n_PlotHeight * ai_data / 65536) ) --> (n_PlotHeight * ai_data) >> 16) - } - - newX = (int)( index*n_PlotWidth/dwReadCount + plotRect.left ); - - if ( index == 0 ) - { - dc_plot.MoveTo( newX, newY ); - } - else - { - dc_plot.MoveTo( m_oldX, m_oldY ); - dc_plot.LineTo( newX, newY ); - } - - m_oldX = newX; - m_oldY = newY; - } - - return 0; -} - -void C9111DbIntDlg::OnTimer(UINT_PTR nIDEvent) -{ - // TODO: Add your message handler code here and/or call default - BOOLEAN HalfReady; - BOOLEAN fstop; - U32 count; - - AI_AsyncDblBufferHalfReady(m_hCard, &HalfReady, &fstop); - - if( fstop == FALSE ) - { - if( HalfReady == TRUE ) // half-buffer is ready - { - AI_AsyncDblBufferTransfer(m_hCard, m_pAIBuf); - display_buffer_data( m_pAIBuf, m_dwReadCount/2 ); - } - } - else // AI operation stops - { - AI_AsyncDblBufferHalfReady(m_hCard, &HalfReady, &fstop); //Get the index of working buffer of Double Buffer - AI_AsyncClear(m_hCard, &count); - - if( (count > 0) && (count < (m_dwReadCount/2)) ) - { - AI_AsyncDblBufferTransfer(m_hCard, m_pAIBuf); - display_buffer_data( m_pAIBuf, count ); - } - - if( m_nTimer != -1 ) - { - KillTimer( m_nTimer ); - m_nTimer = -1; - } - - GetDlgItem( IDC_BT_START )->EnableWindow(TRUE); - - GetDlgItem( IDC_RADIO_CH0 )->EnableWindow(TRUE); - GetDlgItem( IDC_RADIO_CH1 )->EnableWindow(TRUE); - GetDlgItem( IDC_RADIO_CH2 )->EnableWindow(TRUE); - GetDlgItem( IDC_RADIO_CH3 )->EnableWindow(TRUE); - GetDlgItem( IDC_RADIO_CH4 )->EnableWindow(TRUE); - GetDlgItem( IDC_RADIO_CH5 )->EnableWindow(TRUE); - GetDlgItem( IDC_RADIO_CH6 )->EnableWindow(TRUE); - GetDlgItem( IDC_RADIO_CH7 )->EnableWindow(TRUE); - - } - - CDialog::OnTimer(nIDEvent); -} - -void C9111DbIntDlg::OnCh0() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_RADIO_CH0 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_wChannel = 0; - } - -} - -void C9111DbIntDlg::OnCh1() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_RADIO_CH1 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_wChannel = 1; - } -} - -void C9111DbIntDlg::OnCh2() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_RADIO_CH2 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_wChannel = 2; - } -} - -void C9111DbIntDlg::OnCh3() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_RADIO_CH3 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_wChannel = 3; - } -} - -void C9111DbIntDlg::OnCh4() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_RADIO_CH4 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_wChannel = 4; - } -} - -void C9111DbIntDlg::OnCh5() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_RADIO_CH5 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_wChannel = 5; - } -} - -void C9111DbIntDlg::OnCh6() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_RADIO_CH6 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_wChannel = 6; - } -} - -void C9111DbIntDlg::OnCh7() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_RADIO_CH7 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_wChannel = 7; - } -} - - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9111/SDK9111DbfPreTrig/9111DbIntDlg.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9111/SDK9111DbfPreTrig/9111DbIntDlg.h deleted file mode 100644 index 02f5f04..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9111/SDK9111DbfPreTrig/9111DbIntDlg.h +++ /dev/null @@ -1,79 +0,0 @@ - -// 9111DbIntDlg.h : header file -#pragma once -#include "afxcmn.h" -#include "afxwin.h" - -#include "Dask64.h" - -#ifndef MAX_CHAN_9111 -#define MAX_CHAN_9111 16 -#endif - -// C9111DbIntDlg dialog -class C9111DbIntDlg : public CDialog -{ -// Construction -public: - C9111DbIntDlg(I16 hCard, U16 wCardType, CWnd* pParent = NULL); // standard constructor - -// Dialog Data - enum { IDD = IDD_PCI9111POST_TRG_DIALOG }; - - protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - - -// Implementation -protected: - HICON m_hIcon; - UINT_PTR m_nTimer; - I16 m_hCard; - U16 m_wCardType; - double m_fSampleRate; - U16 m_wScanChans; - HANDLE m_hMem; - U16 *m_pAIBuf; - U16 m_wRange; - int m_oldY; - int m_oldX; - U32 m_dwReadCount; - U16 m_wChannel; - U16 m_wTraceCount; - - // Generated message map functions - virtual BOOL OnInitDialog(); - afx_msg void OnSysCommand(UINT nID, LPARAM lParam); - afx_msg void OnPaint(); - afx_msg HCURSOR OnQueryDragIcon(); - DECLARE_MESSAGE_MAP() - -public: - WORD max_val; - WORD min_val; - double max_range; - double min_range; - int n_PlotWidth; - int n_PlotHeight; - int y_divider; - int x_divider; - int m_DisplayScale; - HBRUSH OnBrush; - HBRUSH OffBrush; - CPen RedPen; - void redraw_display_area(void); - afx_msg void OnDestroy(); - afx_msg void OnVScroll(UINT nSBCode, UINT nPos, CScrollBar* pScrollBar); - afx_msg void OnStart(); - int display_buffer_data(U16* pBuf, U32 dwDataSize); - afx_msg void OnCh0(); - afx_msg void OnCh1(); - afx_msg void OnCh2(); - afx_msg void OnCh3(); - afx_msg void OnCh4(); - afx_msg void OnCh5(); - afx_msg void OnCh6(); - afx_msg void OnCh7(); - afx_msg void OnTimer(UINT_PTR nIDEvent); - afx_msg void OnStop(); -}; diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9111/SDK9111DbfPreTrig/9111PostTg.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9111/SDK9111DbfPreTrig/9111PostTg.suo deleted file mode 100644 index c59a833..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9111/SDK9111DbfPreTrig/9111PostTg.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9111/SDK9111DbfPreTrig/9111int.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9111/SDK9111DbfPreTrig/9111int.suo deleted file mode 100644 index aaca7d8..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9111/SDK9111DbfPreTrig/9111int.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9111/SDK9111DbfPreTrig/CardIDDlg.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9111/SDK9111DbfPreTrig/CardIDDlg.cpp deleted file mode 100644 index 47bd064..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9111/SDK9111DbfPreTrig/CardIDDlg.cpp +++ /dev/null @@ -1,77 +0,0 @@ -// CardIDDlg.cpp : implementation file -// -#include "stdafx.h" -#include "9111DbInt.h" -#include "9111DbIntDlg.h" -#include "CardIDDlg.h" - -// CCardIDDlg dialog - -IMPLEMENT_DYNAMIC(CCardIDDlg, CDialog) - -CCardIDDlg::CCardIDDlg(int nCardIdx, CWnd* pParent /*=NULL*/) - : CDialog(CCardIDDlg::IDD, pParent) -{ - m_nCardIdx = nCardIdx; -} - -CCardIDDlg::~CCardIDDlg() -{ -} - -void CCardIDDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); - DDX_Control(pDX, IDC_COMBO_CARDID, m_cbCardID); - DDX_Control(pDX, IDC_COMBO_CARDTYPE, m_cbCardType); -} - - -BEGIN_MESSAGE_MAP(CCardIDDlg, CDialog) -// ON_CBN_SELCHANGE(IDC_COMBO_CARDID, &CCardIDDlg::OnCbnSelchangeComboCardid) -ON_BN_CLICKED(IDOK, &CCardIDDlg::OnBnClickedOk) -//ON_WM_CTLCOLOR() -END_MESSAGE_MAP() - - -// CCardIDDlg message handlers - - -void CCardIDDlg::OnBnClickedOk() -{ - // TODO: Add your control notification handler code here - -// UpdateData(TRUE); - m_nCardIdx = m_cbCardID.GetCurSel(); - m_CardType = PCI_9111DG + m_cbCardType.GetCurSel(); - - OnOK(); -} - -BOOL CCardIDDlg::OnInitDialog() -{ - CDialog::OnInitDialog(); - - // TODO: Add extra initialization here - m_cbCardID.SetCurSel( m_nCardIdx ); - - m_cbCardType.SetCurSel( 0 ); - m_CardType = PCI_9111DG; - - return TRUE; // return TRUE unless you set the focus to a control - // EXCEPTION: OCX Property Pages should return FALSE -} - -// the function to get the selected CardID -int CCardIDDlg::GetCardID(void) -{ - return m_nCardIdx; -} - - -U16 CCardIDDlg::GetCardType(void) -{ - return m_CardType; -} - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9111/SDK9111DbfPreTrig/CardIDDlg.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9111/SDK9111DbfPreTrig/CardIDDlg.h deleted file mode 100644 index 23399df..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9111/SDK9111DbfPreTrig/CardIDDlg.h +++ /dev/null @@ -1,35 +0,0 @@ -#pragma once -#include "afxwin.h" - -#include "Dask64.h" - -// CCardIDDlg dialog - -class CCardIDDlg : public CDialog -{ - DECLARE_DYNAMIC(CCardIDDlg) - -public: - CCardIDDlg(int nCardIdx, CWnd* pParent = NULL); // standard constructor - virtual ~CCardIDDlg(); - -// Dialog Data - enum { IDD = IDD_CARDID_DIALOG }; - -protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - - DECLARE_MESSAGE_MAP() -public: - virtual BOOL OnInitDialog(); - afx_msg void OnBnClickedOk(); - // the setting of CardID ComboBox - int m_nCardIdx; - U16 m_CardType; - // the control of CardID ComboBox - CComboBox m_cbCardID; - CComboBox m_cbCardType; - // the function to get the selected CardID - int GetCardID(void); - U16 GetCardType(void); -}; diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9111/SDK9111DbfPreTrig/ReadMe.txt b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9111/SDK9111DbfPreTrig/ReadMe.txt deleted file mode 100644 index 5b549ce..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9111/SDK9111DbfPreTrig/ReadMe.txt +++ /dev/null @@ -1,93 +0,0 @@ -================================================================================ - MICROSOFT FOUNDATION CLASS LIBRARY : 9111int Project Overview -=============================================================================== - -The application wizard has created this 9111int application for -you. This application not only demonstrates the basics of using the Microsoft -Foundation Classes but is also a starting point for writing your application. - -This file contains a summary of what you will find in each of the files that -make up your 9111int application. - -9111int.vcproj - This is the main project file for VC++ projects generated using an application wizard. - It contains information about the version of Visual C++ that generated the file, and - information about the platforms, configurations, and project features selected with the - application wizard. - -9111int.h - This is the main header file for the application. It includes other - project specific headers (including Resource.h) and declares the - C9111intApp application class. - -9111int.cpp - This is the main application source file that contains the application - class C9111intApp. - -9111int.rc - This is a listing of all of the Microsoft Windows resources that the - program uses. It includes the icons, bitmaps, and cursors that are stored - in the RES subdirectory. This file can be directly edited in Microsoft - Visual C++. Your project resources are in 1033. - -res\9111int.ico - This is an icon file, which is used as the application's icon. This - icon is included by the main resource file 9111int.rc. - -res\My9111int.rc2 - This file contains resources that are not edited by Microsoft - Visual C++. You should place all resources not editable by - the resource editor in this file. - - -///////////////////////////////////////////////////////////////////////////// - -The application wizard creates one dialog class: - -9111intDlg.h, 9111intDlg.cpp - the dialog - These files contain your C9111intDlg class. This class defines - the behavior of your application's main dialog. The dialog's template is - in 9111int.rc, which can be edited in Microsoft Visual C++. - - -///////////////////////////////////////////////////////////////////////////// - -Other Features: - -ActiveX Controls - The application includes support to use ActiveX controls. - -///////////////////////////////////////////////////////////////////////////// - -Other standard files: - -StdAfx.h, StdAfx.cpp - These files are used to build a precompiled header (PCH) file - named 9111int.pch and a precompiled types file named StdAfx.obj. - -Resource.h - This is the standard header file, which defines new resource IDs. - Microsoft Visual C++ reads and updates this file. - -9111int.manifest - Application manifest files are used by Windows XP to describe an applications - dependency on specific versions of Side-by-Side assemblies. The loader uses this - information to load the appropriate assembly from the assembly cache or private - from the application. The Application manifest maybe included for redistribution - as an external .manifest file that is installed in the same folder as the application - executable or it may be included in the executable in the form of a resource. -///////////////////////////////////////////////////////////////////////////// - -Other notes: - -The application wizard uses "TODO:" to indicate parts of the source code you -should add to or customize. - -If your application uses MFC in a shared DLL, you will need -to redistribute the MFC DLLs. If your application is in a language -other than the operating system's locale, you will also have to -redistribute the corresponding localized resources MFC90XXX.DLL. -For more information on both of these topics, please see the section on -redistributing Visual C++ applications in MSDN documentation. - -///////////////////////////////////////////////////////////////////////////// diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9111/SDK9111DbfPreTrig/res/9111DbInt.ico b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9111/SDK9111DbfPreTrig/res/9111DbInt.ico deleted file mode 100644 index d56fbcd..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9111/SDK9111DbfPreTrig/res/9111DbInt.ico and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9111/SDK9111DbfPreTrig/res/My9111DbInt.rc2 b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9111/SDK9111DbfPreTrig/res/My9111DbInt.rc2 deleted file mode 100644 index 383cde2..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9111/SDK9111DbfPreTrig/res/My9111DbInt.rc2 +++ /dev/null @@ -1,13 +0,0 @@ -// -// My9111int.RC2 - resources Microsoft Visual C++ does not edit directly -// - -#ifdef APSTUDIO_INVOKED -#error this file is not editable by Microsoft Visual C++ -#endif //APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// Add manually edited resources here... - -///////////////////////////////////////////////////////////////////////////// diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9111/SDK9111DbfPreTrig/res/ch_set1.bmp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9111/SDK9111DbfPreTrig/res/ch_set1.bmp deleted file mode 100644 index f2374ed..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9111/SDK9111DbfPreTrig/res/ch_set1.bmp and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9111/SDK9111DbfPreTrig/res/ch_set2.bmp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9111/SDK9111DbfPreTrig/res/ch_set2.bmp deleted file mode 100644 index 32d0915..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9111/SDK9111DbfPreTrig/res/ch_set2.bmp and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9111/SDK9111DbfPreTrig/resource.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9111/SDK9111DbfPreTrig/resource.h deleted file mode 100644 index e5375ff..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9111/SDK9111DbfPreTrig/resource.h +++ /dev/null @@ -1,43 +0,0 @@ -//{{NO_DEPENDENCIES}} -// Microsoft Visual C++ generated include file. -// Used by 9111DbInt.rc -// -#define IDM_ABOUTBOX 0x0010 -#define IDD_ABOUTBOX 100 -#define IDS_ABOUTBOX 101 -#define IDD_PCI9111POST_TRG_DIALOG 102 -#define IDR_MAINFRAME 128 -#define IDD_CARDID_DIALOG 129 -#define IDB_BITMAP_SET1 131 -#define IDB_BITMAP_SET2 132 -#define IDC_STATIC_DRAW 1000 -#define IDC_COMBO_CARDID 1001 -#define IDC_COMBO_CARDTYPE 1002 -#define IDC_BT_START 1003 -#define IDC_EDIT_SAMPLE_RATE 1004 -#define IDC_SCROLLBAR_RATE 1005 -#define IDC_RADIO_CH0 1006 -#define IDC_RADIO_CH1 1007 -#define IDC_RADIO_CH2 1008 -#define IDC_RADIO_CH3 1009 -#define IDC_RADIO_CH4 1010 -#define IDC_RADIO_CH5 1011 -#define IDC_RADIO_CH6 1012 -#define IDC_RADIO_CH7 1013 -#define IDC_STATIC_01 1014 -#define IDC_EDIT_BUF_SIZE 1014 -#define IDC_STATIC_2 1015 -#define IDC_BT_STOP 1015 -#define IDC_EDIT_TRACE_CNT 1016 -#define IDC_STATIC_TRACE_CNT 1017 - -// Next default values for new objects -// -#ifdef APSTUDIO_INVOKED -#ifndef APSTUDIO_READONLY_SYMBOLS -#define _APS_NEXT_RESOURCE_VALUE 134 -#define _APS_NEXT_COMMAND_VALUE 32771 -#define _APS_NEXT_CONTROL_VALUE 1018 -#define _APS_NEXT_SYMED_VALUE 101 -#endif -#endif diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9111/SDK9111DbfPreTrig/stdafx.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9111/SDK9111DbfPreTrig/stdafx.cpp deleted file mode 100644 index ef80626..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9111/SDK9111DbfPreTrig/stdafx.cpp +++ /dev/null @@ -1,8 +0,0 @@ - -// stdafx.cpp : source file that includes just the standard includes -// 9111int.pch will be the pre-compiled header -// stdafx.obj will contain the pre-compiled type information - -#include "stdafx.h" - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9111/SDK9111DbfPreTrig/stdafx.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9111/SDK9111DbfPreTrig/stdafx.h deleted file mode 100644 index 12123e2..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9111/SDK9111DbfPreTrig/stdafx.h +++ /dev/null @@ -1,60 +0,0 @@ - -// stdafx.h : include file for standard system include files, -// or project specific include files that are used frequently, -// but are changed infrequently - -#pragma once - -#ifndef _SECURE_ATL -#define _SECURE_ATL 1 -#endif - -#ifndef VC_EXTRALEAN -#define VC_EXTRALEAN // Exclude rarely-used stuff from Windows headers -#endif - -#include "targetver.h" - -#define _ATL_CSTRING_EXPLICIT_CONSTRUCTORS // some CString constructors will be explicit - -// turns off MFC's hiding of some common and often safely ignored warning messages -#define _AFX_ALL_WARNINGS - -#include // MFC core and standard components -#include // MFC extensions - - -#include // MFC Automation classes - - - -#ifndef _AFX_NO_OLE_SUPPORT -#include // MFC support for Internet Explorer 4 Common Controls -#endif -#ifndef _AFX_NO_AFXCMN_SUPPORT -#include // MFC support for Windows Common Controls -#endif // _AFX_NO_AFXCMN_SUPPORT - -#include // MFC support for ribbons and control bars - - - - - - - - - -#ifdef _UNICODE -#if defined _M_IX86 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='x86' publicKeyToken='6595b64144ccf1df' language='*'\"") -#elif defined _M_IA64 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='ia64' publicKeyToken='6595b64144ccf1df' language='*'\"") -#elif defined _M_X64 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='amd64' publicKeyToken='6595b64144ccf1df' language='*'\"") -#else -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='*' publicKeyToken='6595b64144ccf1df' language='*'\"") -#endif -#endif - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9111/SDK9111DbfPreTrig/targetver.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9111/SDK9111DbfPreTrig/targetver.h deleted file mode 100644 index 11730d5..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9111/SDK9111DbfPreTrig/targetver.h +++ /dev/null @@ -1,26 +0,0 @@ - -#pragma once - -// The following macros define the minimum required platform. The minimum required platform -// is the earliest version of Windows, Internet Explorer etc. that has the necessary features to run -// your application. The macros work by enabling all features available on platform versions up to and -// including the version specified. - -// Modify the following defines if you have to target a platform prior to the ones specified below. -// Refer to MSDN for the latest info on corresponding values for different platforms. -#ifndef WINVER // Specifies that the minimum required platform is Windows Vista. -#define WINVER 0x0600 // Change this to the appropriate value to target other versions of Windows. -#endif - -#ifndef _WIN32_WINNT // Specifies that the minimum required platform is Windows Vista. -#define _WIN32_WINNT 0x0600 // Change this to the appropriate value to target other versions of Windows. -#endif - -#ifndef _WIN32_WINDOWS // Specifies that the minimum required platform is Windows 98. -#define _WIN32_WINDOWS 0x0410 // Change this to the appropriate value to target Windows Me or later. -#endif - -#ifndef _WIN32_IE // Specifies that the minimum required platform is Internet Explorer 7.0. -#define _WIN32_IE 0x0700 // Change this to the appropriate value to target other versions of IE. -#endif - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9111/SDK9111SPreTrg/9111int.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9111/SDK9111SPreTrg/9111int.cpp deleted file mode 100644 index 67aa20e..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9111/SDK9111SPreTrg/9111int.cpp +++ /dev/null @@ -1,111 +0,0 @@ - -// 9111int.cpp : Defines the class behaviors for the application. -// - -#include "stdafx.h" -#include "9111int.h" -#include "9111intDlg.h" -#include "CardIDDlg.h" - -#ifdef _DEBUG -#define new DEBUG_NEW -#endif - - -// C9111intApp - -BEGIN_MESSAGE_MAP(C9111intApp, CWinAppEx) - ON_COMMAND(ID_HELP, &CWinApp::OnHelp) -END_MESSAGE_MAP() - - -// C9111intApp construction - -C9111intApp::C9111intApp() -{ - // TODO: add construction code here, - // Place all significant initialization in InitInstance -} - - -// The one and only C9111intApp object - -C9111intApp theApp; - - -// C9111intApp initialization - -BOOL C9111intApp::InitInstance() -{ - int nCardID = 0; - I16 hCard; - U16 wCardType; - CString strTemp; - INT_PTR nResponse; - - // InitCommonControlsEx() is required on Windows XP if an application - // manifest specifies use of ComCtl32.dll version 6 or later to enable - // visual styles. Otherwise, any window creation will fail. - INITCOMMONCONTROLSEX InitCtrls; - InitCtrls.dwSize = sizeof(InitCtrls); - // Set this to include all the common control classes you want to use - // in your application. - InitCtrls.dwICC = ICC_WIN95_CLASSES; - InitCommonControlsEx(&InitCtrls); - - CWinAppEx::InitInstance(); - - AfxEnableControlContainer(); - - // Standard initialization - // If you are not using these features and wish to reduce the size - // of your final executable, you should remove from the following - // the specific initialization routines you do not need - // Change the registry key under which our settings are stored - // TODO: You should modify this string to be something appropriate - // such as the name of your company or organization - SetRegistryKey(_T("Local AppWizard-Generated Applications")); - - CCardIDDlg CardDlg( nCardID ); - - nResponse = CardDlg.DoModal(); - if (nResponse == IDOK) - { - nCardID = CardDlg.GetCardID(); - wCardType = CardDlg.GetCardType(); - - if ((hCard=Register_Card(wCardType, nCardID)) < 0) - { - strTemp.Format( TEXT("Register_Card Error = %d"), hCard); - AfxMessageBox( strTemp ); - } - else - { - C9111intDlg dlg(hCard, wCardType); - m_pMainWnd = &dlg; - nResponse = dlg.DoModal(); - if (nResponse == IDOK) - { - // TODO: Place code here to handle when the dialog is - // dismissed with OK - } - else if (nResponse == IDCANCEL) - { - // TODO: Place code here to handle when the dialog is - // dismissed with Cancel - } - - if (hCard >= 0) Release_Card(hCard); - } - - } - else if (nResponse == IDCANCEL) - { - // TODO: Place code here to handle when the dialog is - // dismissed with Cancel - } - - // Since the dialog has been closed, return FALSE so that we exit the - // application, rather than start the application's message pump. - return FALSE; -} diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9111/SDK9111SPreTrg/9111int.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9111/SDK9111SPreTrg/9111int.h deleted file mode 100644 index 1d3c26e..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9111/SDK9111SPreTrg/9111int.h +++ /dev/null @@ -1,32 +0,0 @@ - -// 9111int.h : main header file for the PROJECT_NAME application -// - -#pragma once - -#ifndef __AFXWIN_H__ - #error "include 'stdafx.h' before including this file for PCH" -#endif - -#include "resource.h" // main symbols - - -// C9111intApp: -// See 9111int.cpp for the implementation of this class -// - -class C9111intApp : public CWinAppEx -{ -public: - C9111intApp(); - -// Overrides - public: - virtual BOOL InitInstance(); - -// Implementation - - DECLARE_MESSAGE_MAP() -}; - -extern C9111intApp theApp; \ No newline at end of file diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9111/SDK9111SPreTrg/9111int.rc b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9111/SDK9111SPreTrg/9111int.rc deleted file mode 100644 index bc33e47..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9111/SDK9111SPreTrg/9111int.rc +++ /dev/null @@ -1,308 +0,0 @@ -// Microsoft Visual C++ generated resource script. -// -#include "resource.h" - -#define APSTUDIO_READONLY_SYMBOLS -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 2 resource. -// -#ifndef APSTUDIO_INVOKED -#include "targetver.h" -#endif -#include "afxres.h" - -///////////////////////////////////////////////////////////////////////////// -#undef APSTUDIO_READONLY_SYMBOLS - -///////////////////////////////////////////////////////////////////////////// -// Chinese (Taiwan) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_CHT) -#ifdef _WIN32 -LANGUAGE LANG_CHINESE, SUBLANG_CHINESE_TRADITIONAL -#pragma code_page(950) -#endif //_WIN32 - -#ifdef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// TEXTINCLUDE -// - -1 TEXTINCLUDE -BEGIN - "resource.h\0" -END - -2 TEXTINCLUDE -BEGIN - "#ifndef APSTUDIO_INVOKED\r\n" - "#include ""targetver.h""\r\n" - "#endif\r\n" - "#include ""afxres.h""\r\n" - "\0" -END - -3 TEXTINCLUDE -BEGIN - "#define _AFX_NO_SPLITTER_RESOURCES\r\n" - "#define _AFX_NO_OLE_RESOURCES\r\n" - "#define _AFX_NO_TRACKER_RESOURCES\r\n" - "#define _AFX_NO_PROPERTY_RESOURCES\r\n" - "\r\n" - "#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)\r\n" - "LANGUAGE 9, 1\r\n" - "#pragma code_page(1252)\r\n" - "#include ""res\\My9111int.rc2"" // non-Microsoft Visual C++ edited resources\r\n" - "#include ""afxres.rc"" // Standard components\r\n" - "#endif\r\n" - "\0" -END - -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// Icon -// - -// Icon with lowest ID value placed first to ensure application icon -// remains consistent on all systems. -IDR_MAINFRAME ICON "res\\9111int.ico" -#endif // Chinese (Taiwan) resources -///////////////////////////////////////////////////////////////////////////// - - -///////////////////////////////////////////////////////////////////////////// -// English (U.S.) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -#ifdef _WIN32 -LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US -#pragma code_page(1252) -#endif //_WIN32 - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog -// - -IDD_ABOUTBOX DIALOGEX 0, 0, 170, 62 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "About 9111int" -FONT 8, "MS Shell Dlg", 0, 0, 0x1 -BEGIN - ICON IDR_MAINFRAME,IDC_STATIC,14,14,21,20 - LTEXT "9111int, Version 1.0",IDC_STATIC,42,14,114,8,SS_NOPREFIX - LTEXT "Copyright (C) 2010",IDC_STATIC,42,26,114,8 - DEFPUSHBUTTON "OK",IDOK,113,41,50,14,WS_GROUP -END - -IDD_MY9111INT_DIALOG DIALOGEX 0, 0, 365, 232 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU -EXSTYLE WS_EX_APPWINDOW -CAPTION "9111 Autoscan Interrupt" -FONT 8, "MS Shell Dlg", 0, 0, 0x1 -BEGIN - GROUPBOX "",IDC_STATIC_DRAW,45,9,248,161,NOT WS_VISIBLE - LTEXT "Range : +/- 5V",IDC_STATIC,299,129,52,15 - LTEXT "Buffer Size",IDC_STATIC,124,183,42,9 - EDITTEXT IDC_EDIT_SAMPLE_RATE,47,196,39,14,ES_AUTOHSCROLL | ES_READONLY - LTEXT "Sample Rate :",IDC_STATIC,47,182,49,9 - LTEXT "KHz",IDC_STATIC,99,199,15,9 - SCROLLBAR IDC_SCROLLBAR_RATE,87,196,9,11,SBS_VERT - PUSHBUTTON "Start",IDC_BT_START,230,188,55,22 - CONTROL "0",IDC_RADIO_CH0,"Button",BS_AUTORADIOBUTTON | BS_LEFTTEXT,307,20,16,12 - CONTROL "1",IDC_RADIO_CH1,"Button",BS_AUTORADIOBUTTON | BS_LEFTTEXT,307,35,16,12 - CONTROL "2",IDC_RADIO_CH2,"Button",BS_AUTORADIOBUTTON | BS_LEFTTEXT,307,49,16,12 - CONTROL "3",IDC_RADIO_CH3,"Button",BS_AUTORADIOBUTTON | BS_LEFTTEXT,307,64,16,12 - CONTROL "4",IDC_RADIO_CH4,"Button",BS_AUTORADIOBUTTON | BS_LEFTTEXT,331,20,16,12 - CONTROL "5",IDC_RADIO_CH5,"Button",BS_AUTORADIOBUTTON | BS_LEFTTEXT,331,35,16,12 - CONTROL "6",IDC_RADIO_CH6,"Button",BS_AUTORADIOBUTTON | BS_LEFTTEXT,331,49,16,12 - CONTROL "7",IDC_RADIO_CH7,"Button",BS_AUTORADIOBUTTON | BS_LEFTTEXT,331,64,16,12 - EDITTEXT IDC_EDIT_BUF_SIZE,122,196,46,14,ES_AUTOHSCROLL - PUSHBUTTON "Stop",IDC_BT_STOP,291,188,55,22 - LTEXT "Trace Count",IDC_STATIC_TRACE_CNT,181,182,42,9,NOT WS_VISIBLE - EDITTEXT IDC_EDIT_TRACE_CNT,179,195,46,14,ES_AUTOHSCROLL | NOT WS_VISIBLE -END - -IDD_CARDID_DIALOG DIALOGEX 0, 0, 174, 108 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "Card ID" -FONT 8, "MS Shell Dlg", 400, 0, 0x1 -BEGIN - COMBOBOX IDC_COMBO_CARDID,75,24,71,126,CBS_DROPDOWN | WS_VSCROLL | WS_TABSTOP - LTEXT "Card Number",IDC_STATIC_01,21,25,46,12 - PUSHBUTTON "OK",IDOK,22,70,58,19 - PUSHBUTTON "CANCEL",IDCANCEL,86,70,58,19 - COMBOBOX IDC_COMBO_CARDTYPE,75,46,71,126,CBS_DROPDOWN | WS_VSCROLL | WS_TABSTOP - LTEXT "Card Type",IDC_STATIC_2,29,47,37,12 -END - - -///////////////////////////////////////////////////////////////////////////// -// -// Version -// - -VS_VERSION_INFO VERSIONINFO - FILEVERSION 1,0,0,1 - PRODUCTVERSION 1,0,0,1 - FILEFLAGSMASK 0x3fL -#ifdef _DEBUG - FILEFLAGS 0x1L -#else - FILEFLAGS 0x0L -#endif - FILEOS 0x4L - FILETYPE 0x1L - FILESUBTYPE 0x0L -BEGIN - BLOCK "StringFileInfo" - BEGIN - BLOCK "040904e4" - BEGIN - VALUE "CompanyName", "TODO: " - VALUE "FileDescription", "TODO: " - VALUE "FileVersion", "1.0.0.1" - VALUE "InternalName", "9111int.exe" - VALUE "LegalCopyright", "TODO: (c) . All rights reserved." - VALUE "OriginalFilename", "9111int.exe" - VALUE "ProductName", "TODO: " - VALUE "ProductVersion", "1.0.0.1" - END - END - BLOCK "VarFileInfo" - BEGIN - VALUE "Translation", 0x409, 1252 - END -END - - -///////////////////////////////////////////////////////////////////////////// -// -// DESIGNINFO -// - -#ifdef APSTUDIO_INVOKED -GUIDELINES DESIGNINFO -BEGIN - IDD_ABOUTBOX, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 163 - TOPMARGIN, 7 - BOTTOMMARGIN, 55 - END - - IDD_MY9111INT_DIALOG, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 358 - TOPMARGIN, 7 - BOTTOMMARGIN, 225 - END - - IDD_CARDID_DIALOG, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 167 - TOPMARGIN, 7 - BOTTOMMARGIN, 101 - END -END -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog Info -// - -IDD_CARDID_DIALOG DLGINIT -BEGIN - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0030, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0031, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0032, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0033, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0034, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0035, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0036, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0037, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0038, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0039, - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3031, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3131, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3231, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3331, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3431, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3531, "\000" - IDC_COMBO_CARDTYPE, 0x403, 11, 0 -0x4350, 0x5f49, 0x3139, 0x3131, 0x4744, "\000" - IDC_COMBO_CARDTYPE, 0x403, 11, 0 -0x4350, 0x5f49, 0x3139, 0x3131, 0x5248, "\000" - 0 -END - - -///////////////////////////////////////////////////////////////////////////// -// -// Bitmap -// - -IDB_BITMAP_SET1 BITMAP "res\\ch_set1.bmp" -IDB_BITMAP_SET2 BITMAP "res\\ch_set2.bmp" - -///////////////////////////////////////////////////////////////////////////// -// -// String Table -// - -STRINGTABLE -BEGIN - IDS_ABOUTBOX "&About 9111int..." -END - -#endif // English (U.S.) resources -///////////////////////////////////////////////////////////////////////////// - - - -#ifndef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 3 resource. -// -#define _AFX_NO_SPLITTER_RESOURCES -#define _AFX_NO_OLE_RESOURCES -#define _AFX_NO_TRACKER_RESOURCES -#define _AFX_NO_PROPERTY_RESOURCES - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -LANGUAGE 9, 1 -#pragma code_page(1252) -#include "res\My9111int.rc2" // non-Microsoft Visual C++ edited resources -#include "afxres.rc" // Standard components -#endif - -///////////////////////////////////////////////////////////////////////////// -#endif // not APSTUDIO_INVOKED - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9111/SDK9111SPreTrg/9111int.sln b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9111/SDK9111SPreTrg/9111int.sln deleted file mode 100644 index db230db..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9111/SDK9111SPreTrg/9111int.sln +++ /dev/null @@ -1,20 +0,0 @@ - -Microsoft Visual Studio Solution File, Format Version 10.00 -# Visual Studio 2008 -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "9111int", "9111int.vcproj", "{702163FB-B6DF-4EF5-9491-FC54D71509BC}" -EndProject -Global - GlobalSection(SolutionConfigurationPlatforms) = preSolution - Debug|x64 = Debug|x64 - Release|x64 = Release|x64 - EndGlobalSection - GlobalSection(ProjectConfigurationPlatforms) = postSolution - {702163FB-B6DF-4EF5-9491-FC54D71509BC}.Debug|x64.ActiveCfg = Debug|x64 - {702163FB-B6DF-4EF5-9491-FC54D71509BC}.Debug|x64.Build.0 = Debug|x64 - {702163FB-B6DF-4EF5-9491-FC54D71509BC}.Release|x64.ActiveCfg = Release|x64 - {702163FB-B6DF-4EF5-9491-FC54D71509BC}.Release|x64.Build.0 = Release|x64 - EndGlobalSection - GlobalSection(SolutionProperties) = preSolution - HideSolutionNode = FALSE - EndGlobalSection -EndGlobal diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9111/SDK9111SPreTrg/9111int.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9111/SDK9111SPreTrg/9111int.suo deleted file mode 100644 index 17c8e10..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9111/SDK9111SPreTrg/9111int.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9111/SDK9111SPreTrg/9111int.vcproj b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9111/SDK9111SPreTrg/9111int.vcproj deleted file mode 100644 index 81ec9b2..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9111/SDK9111SPreTrg/9111int.vcproj +++ /dev/null @@ -1,294 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9111/SDK9111SPreTrg/9111intDlg.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9111/SDK9111SPreTrg/9111intDlg.cpp deleted file mode 100644 index fe15eb6..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9111/SDK9111SPreTrg/9111intDlg.cpp +++ /dev/null @@ -1,624 +0,0 @@ - -// 9111intDlg.cpp : implementation file -// - -#include "stdafx.h" -#include "9111int.h" -#include "9111intDlg.h" - -#ifdef _DEBUG -#define new DEBUG_NEW -#endif - -CRect plotRect; - -// CAboutDlg dialog used for App About - -class CAboutDlg : public CDialog -{ -public: - CAboutDlg(); - -// Dialog Data - enum { IDD = IDD_ABOUTBOX }; - - protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - -// Implementation -protected: - DECLARE_MESSAGE_MAP() -}; - -CAboutDlg::CAboutDlg() : CDialog(CAboutDlg::IDD) -{ -} - -void CAboutDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); -} - -BEGIN_MESSAGE_MAP(CAboutDlg, CDialog) -END_MESSAGE_MAP() - - -// C9111intDlg dialog - - - - -C9111intDlg::C9111intDlg(I16 hCard, U16 wCardType, CWnd* pParent /*=NULL*/) - : CDialog(C9111intDlg::IDD, pParent) -{ - m_hIcon = AfxGetApp()->LoadIcon(IDR_MAINFRAME); - - n_PlotWidth = n_PlotHeight = -1; - OnBrush = OffBrush = NULL; - - min_val = 0x00; - max_val = 0xFFFF; - - m_fSampleRate = 10000.0; // 10KHz - - m_hCard = hCard; - m_wCardType = wCardType; - - m_wScanChans = 0; - m_nTimer = -1; - m_hMem=NULL; - - m_wRange = AD_B_5_V; - m_dwReadCount = 1024; - m_wChannel = 0; - -} - -void C9111intDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); -} - -BEGIN_MESSAGE_MAP(C9111intDlg, CDialog) - ON_WM_SYSCOMMAND() - ON_WM_PAINT() - ON_WM_QUERYDRAGICON() - //}}AFX_MSG_MAP - ON_WM_DESTROY() - ON_WM_VSCROLL() - ON_BN_CLICKED(IDC_BT_START, &C9111intDlg::OnStart) - ON_BN_CLICKED(IDC_RADIO_CH0, &C9111intDlg::OnCh0) - ON_BN_CLICKED(IDC_RADIO_CH1, &C9111intDlg::OnCh1) - ON_BN_CLICKED(IDC_RADIO_CH2, &C9111intDlg::OnCh2) - ON_BN_CLICKED(IDC_RADIO_CH3, &C9111intDlg::OnCh3) - ON_BN_CLICKED(IDC_RADIO_CH4, &C9111intDlg::OnCh4) - ON_BN_CLICKED(IDC_RADIO_CH5, &C9111intDlg::OnCh5) - ON_BN_CLICKED(IDC_RADIO_CH6, &C9111intDlg::OnCh6) - ON_BN_CLICKED(IDC_RADIO_CH7, &C9111intDlg::OnCh7) - ON_WM_TIMER() - ON_BN_CLICKED(IDC_BT_STOP, &C9111intDlg::OnStop) -END_MESSAGE_MAP() - - -// C9111intDlg message handlers - -BOOL C9111intDlg::OnInitDialog() -{ - CDialog::OnInitDialog(); - - // Add "About..." menu item to system menu. - - // IDM_ABOUTBOX must be in the system command range. - ASSERT((IDM_ABOUTBOX & 0xFFF0) == IDM_ABOUTBOX); - ASSERT(IDM_ABOUTBOX < 0xF000); - - CMenu* pSysMenu = GetSystemMenu(FALSE); - if (pSysMenu != NULL) - { - BOOL bNameValid; - CString strAboutMenu; - bNameValid = strAboutMenu.LoadString(IDS_ABOUTBOX); - ASSERT(bNameValid); - if (!strAboutMenu.IsEmpty()) - { - pSysMenu->AppendMenu(MF_SEPARATOR); - pSysMenu->AppendMenu(MF_STRING, IDM_ABOUTBOX, strAboutMenu); - } - } - - // Set the icon for this dialog. The framework does this automatically - // when the application's main window is not a dialog - SetIcon(m_hIcon, TRUE); // Set big icon - SetIcon(m_hIcon, FALSE); // Set small icon - - // TODO: Add extra initialization here - x_divider = 5; y_divider = 4; - - OnBrush = CreateSolidBrush( RGB(255,0,0) ); - OffBrush = CreateSolidBrush( RGB(125,0,0) ); - - RedPen.CreatePen( PS_SOLID, 1, RGB(255,0,0)); - - - if( n_PlotWidth == -1 && n_PlotHeight == -1 ) - { - ((CWnd*)GetDlgItem(IDC_STATIC_DRAW))->GetWindowRect(&plotRect); - ScreenToClient(&plotRect); - - n_PlotWidth = min( plotRect.Width(), 512); - n_PlotHeight = plotRect.Height() - 10; - } - - GetDlgItem( IDC_STATIC_TRACE_CNT )->ShowWindow(TRUE); - GetDlgItem( IDC_EDIT_TRACE_CNT )->ShowWindow(TRUE); - - m_wTraceCount = 512; - SetDlgItemInt( IDC_EDIT_TRACE_CNT, (UINT)m_wTraceCount ); - - - // set the default SampleRate - SetDlgItemInt( IDC_EDIT_SAMPLE_RATE, (UINT)(m_fSampleRate/1000) ); - SetDlgItemInt( IDC_EDIT_BUF_SIZE, (UINT)(m_dwReadCount) ); - ((CButton*)GetDlgItem( IDC_RADIO_CH0 ))->SetCheck( TRUE ); - - m_dwReadCount = 1024; - m_wChannel = 0; - - max_range = 5.0; - min_range = -5.0; - - return TRUE; // return TRUE unless you set the focus to a control -} - -void C9111intDlg::OnSysCommand(UINT nID, LPARAM lParam) -{ - if ((nID & 0xFFF0) == IDM_ABOUTBOX) - { - CAboutDlg dlgAbout; - dlgAbout.DoModal(); - } - else - { - CDialog::OnSysCommand(nID, lParam); - } -} - -// If you add a minimize button to your dialog, you will need the code below -// to draw the icon. For MFC applications using the document/view model, -// this is automatically done for you by the framework. - -void C9111intDlg::OnPaint() -{ - if (IsIconic()) - { - CPaintDC dc(this); // device context for painting - - SendMessage(WM_ICONERASEBKGND, reinterpret_cast(dc.GetSafeHdc()), 0); - - // Center icon in client rectangle - int cxIcon = GetSystemMetrics(SM_CXICON); - int cyIcon = GetSystemMetrics(SM_CYICON); - CRect rect; - GetClientRect(&rect); - int x = (rect.Width() - cxIcon + 1) / 2; - int y = (rect.Height() - cyIcon + 1) / 2; - - // Draw the icon - dc.DrawIcon(x, y, m_hIcon); - } - else - { - redraw_display_area(); - CDialog::OnPaint(); - } -} - -// The system calls this function to obtain the cursor to display while the user drags -// the minimized window. -HCURSOR C9111intDlg::OnQueryDragIcon() -{ - return static_cast(m_hIcon); -} - - -void C9111intDlg::redraw_display_area(void) -{ - CPen *oldPen; - - int oldMode; - COLORREF oldColor; - - CString y_lable; - - CPen minor_tick( PS_SOLID,1,RGB(132,130,132) ); -// CPen y_grid( PS_SOLID,1,RGB(206,203,132) ); - - int i, x_intv, y_intv; -// long total_sec; - - CClientDC dc_plot(this); - - // draw the base-line for x-y axises - oldPen = (CPen *)dc_plot.SelectStockObject(BLACK_PEN); - - // redraw the background - dc_plot.FillSolidRect( plotRect, RGB(0,0,0) ); - - // Re-Draw the AREA for Y-Lable - { - CBrush DIALOG_BRUSH; - CRect redraw_area, full_client; - - GetClientRect(&full_client); - ScreenToClient(&full_client); - - redraw_area.left = full_client.left; - redraw_area.top = plotRect.top - 5; - redraw_area.right = plotRect.left - 3; - redraw_area.bottom = plotRect.bottom + 10; - - DIALOG_BRUSH.CreateSysColorBrush( COLOR_3DFACE ); - - dc_plot.FillRect( redraw_area, &DIALOG_BRUSH ); - - DIALOG_BRUSH.DeleteObject(); - } - - dc_plot.MoveTo( plotRect.left - 3, plotRect.top ); - dc_plot.LineTo( plotRect.left - 3, plotRect.bottom ); - - // calculate the interval for tick/grid - y_intv = (plotRect.Height() - 10) /y_divider; - x_intv = plotRect.Width()/x_divider; - - - // set the color for tick - oldColor = dc_plot.SetTextColor( RGB(0,0,0) ); - oldMode = dc_plot.SetBkMode( TRANSPARENT ); - - for( i=0; i<= y_divider; i++ ) - { - CString tick_str; - CRect tmp_rect, tick_rect; - - // draw the tick for y-axis - dc_plot.MoveTo( plotRect.left -12, plotRect.bottom -5 - (i*y_intv) ); - dc_plot.LineTo( plotRect.left -3, plotRect.bottom -5 - (i*y_intv) ); - - tick_str.Format( _T("%.1f"), ( ((max_range-min_range)/y_divider) * i)+min_range ); - - // calculate the rectangle for text - dc_plot.DrawText( tick_str, &tmp_rect, DT_CALCRECT|DT_SINGLELINE ); - tick_rect.right = plotRect.left -14; - tick_rect.left = tick_rect.right - tmp_rect.Width(); - tick_rect.top = plotRect.bottom -5 - (i*y_intv) - tmp_rect.Height()/2; - tick_rect.bottom = tick_rect.top + tmp_rect.Height(); - - // draw the text - dc_plot.DrawText( tick_str, &tick_rect, DT_SINGLELINE|DT_RIGHT ); - - } - - // draw the minor_tick for Y axises - dc_plot.SelectObject(&minor_tick); - for( i=0; i< y_divider; i++ ) - { - dc_plot.MoveTo( plotRect.left -9, plotRect.bottom -5 - (i*y_intv) - y_intv/2 ); - dc_plot.LineTo( plotRect.left -4, plotRect.bottom -5 - (i*y_intv) - y_intv/2 ); - } - - dc_plot.SetTextColor( oldColor ); - dc_plot.SetBkMode( oldMode ); - dc_plot.SelectObject( oldPen ); -} - -void C9111intDlg::OnDestroy() -{ - CDialog::OnDestroy(); - - // TODO: Add your message handler code here - if( m_nTimer != -1 ) - { - KillTimer( m_nTimer ); - m_nTimer = -1; - } - - if (m_hMem != NULL) - { - GlobalUnfix(m_hMem); - GlobalUnlock(m_hMem); - GlobalFree(m_hMem); - - m_hMem = NULL; - } - - if( OnBrush != NULL ) - ::DeleteObject( OnBrush ); - - if( OffBrush != NULL ) - ::DeleteObject( OffBrush ); - - RedPen.DeleteObject(); - -} - -void C9111intDlg::OnVScroll(UINT nSBCode, UINT nPos, CScrollBar* pScrollBar) -{ - // TODO: Add your message handler code here and/or call default - switch ( nSBCode ) - { - case SB_LINEUP : - m_fSampleRate += 50000.0; - if (m_fSampleRate > 1000000.0 ) m_fSampleRate = 1000000.0; - break; - case SB_LINEDOWN: - m_fSampleRate -= 50000; - if (m_fSampleRate < 50000 ) m_fSampleRate = 50000; - break; - } - - SetDlgItemInt( IDC_EDIT_SAMPLE_RATE, (UINT)(m_fSampleRate/1000) ); - - CDialog::OnVScroll(nSBCode, nPos, pScrollBar); -} - - -void C9111intDlg::OnStop() -{ - // TODO: Add your control notification handler code here - U32 count; - - - AI_AsyncClear(m_hCard, &count); - - if( m_nTimer != -1 ) - { - KillTimer( m_nTimer ); - m_nTimer = -1; - } - - GetDlgItem( IDC_BT_START )->EnableWindow(TRUE); -} - -void C9111intDlg::OnStart() -{ - // TODO: Add your control notification handler code here - DWORD mem_size; - CString strTemp; - I16 err; - - GetDlgItem( IDC_BT_START )->EnableWindow(FALSE); - - m_dwReadCount = GetDlgItemInt(IDC_EDIT_BUF_SIZE); - m_wTraceCount = GetDlgItemInt(IDC_EDIT_TRACE_CNT); - - - if (m_hMem != NULL) - { - GlobalUnfix(m_hMem); - GlobalUnlock(m_hMem); - GlobalFree(m_hMem); - - m_hMem = NULL; - } - - // allocate a memory for user DMA buffer - mem_size = m_dwReadCount * sizeof(I16); - m_hMem = GlobalAlloc(GMEM_ZEROINIT, mem_size); - m_pAIBuf = (U16*) GlobalLock(m_hMem); - if (m_pAIBuf == NULL ) - { - AfxMessageBox( TEXT("Memory allocation failed"), MB_OK); - return; - } - - GlobalFix(m_hMem); - - err=AI_9111_Config(m_hCard, TRIG_INT_PACER, P9111_TRGMOD_PRE, m_wTraceCount); - - if (err!=0) - { - strTemp.Format( TEXT("AI_9111_Config error=%d"), err); - AfxMessageBox( strTemp ); - } - - err=AI_AsyncDblBufferMode(m_hCard, 0); // single-buffer mode - if (err!=0) - { - strTemp.Format( TEXT("AI_DblBufferMode error=%d"), err); - AfxMessageBox( strTemp ); - } - - err=AI_ContReadChannel (m_hCard, m_wChannel, m_wRange, (U16*)m_pAIBuf, m_dwReadCount, (F64)m_fSampleRate, ASYNCH_OP); - if (err!=0) - { - strTemp.Format( TEXT("AI_ContReadChannel error=%d"), err); - AfxMessageBox( strTemp ); - } - - m_nTimer = SetTimer( 1, 100, NULL ); - -} - -int C9111intDlg::display_buffer_data(U16* pBuf) -{ - CClientDC dc_plot(this); - int nDraw_Origin_Y; - int cur_channel; - - int newY = -1; - int newX = -1; - U32 index; - I16 ai_data; - - // redraw the background - dc_plot.FillSolidRect( plotRect, RGB(0,0,0) ); - - dc_plot.SelectObject(&RedPen); - nDraw_Origin_Y = ( plotRect.bottom - 5 ) - n_PlotHeight/2; - - for( index=0; index> 4; - cur_channel = pBuf[index] & 0x0f; - newY = (int)( nDraw_Origin_Y - ((n_PlotHeight * ai_data) >> 12 ) ); // (n_PlotHeight * ai_data / 4096 ) ); // ( (n_PlotHeight/2) * ai_data/2048 ) ); - } - else // m_wCardType == PCI_9111HR - { - cur_channel = index%(m_wScanChans+1); - ai_data = (I16)(pBuf[index]); - newY = (int)( nDraw_Origin_Y - ((n_PlotHeight * ai_data) >> 16) ); // ( n_PlotHeight * ai_data / 65536) ); // ( (n_PlotHeight/2) * ai_data/32768 ) ); - } - - newX = (int)( index*n_PlotWidth/m_dwReadCount + plotRect.left ); - - if ( index == 0 ) - { - dc_plot.MoveTo( newX, newY ); - } - else - { - dc_plot.MoveTo( m_oldX, m_oldY ); - dc_plot.LineTo( newX, newY ); - } - - m_oldX = newX; - m_oldY = newY; - } - - return 0; -} - -void C9111intDlg::OnTimer(UINT_PTR nIDEvent) -{ - // TODO: Add your message handler code here and/or call default - BOOLEAN fstop; - U32 count; - - AI_AsyncCheck(m_hCard, &fstop, &count); - - if( fstop == TRUE ) - { - AI_AsyncClear(m_hCard, &count); - - KillTimer( m_nTimer ); - m_nTimer = -1; - - display_buffer_data( m_pAIBuf ); - - GetDlgItem( IDC_BT_START )->EnableWindow(TRUE); - } - - CDialog::OnTimer(nIDEvent); -} - -void C9111intDlg::OnCh0() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_RADIO_CH0 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_wChannel = 0; - } - -} - -void C9111intDlg::OnCh1() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_RADIO_CH1 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_wChannel = 1; - } -} - -void C9111intDlg::OnCh2() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_RADIO_CH2 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_wChannel = 2; - } -} - -void C9111intDlg::OnCh3() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_RADIO_CH3 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_wChannel = 3; - } -} - -void C9111intDlg::OnCh4() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_RADIO_CH4 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_wChannel = 4; - } -} - -void C9111intDlg::OnCh5() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_RADIO_CH5 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_wChannel = 5; - } -} - -void C9111intDlg::OnCh6() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_RADIO_CH6 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_wChannel = 6; - } -} - -void C9111intDlg::OnCh7() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_RADIO_CH7 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_wChannel = 7; - } -} - - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9111/SDK9111SPreTrg/9111intDlg.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9111/SDK9111SPreTrg/9111intDlg.h deleted file mode 100644 index 961cf93..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9111/SDK9111SPreTrg/9111intDlg.h +++ /dev/null @@ -1,79 +0,0 @@ - -// 9111intDlg.h : header file -#pragma once -#include "afxcmn.h" -#include "afxwin.h" - -#include "Dask64.h" - -#ifndef MAX_CHAN_9111 -#define MAX_CHAN_9111 16 -#endif - -// C9111intDlg dialog -class C9111intDlg : public CDialog -{ -// Construction -public: - C9111intDlg(I16 hCard, U16 wCardType, CWnd* pParent = NULL); // standard constructor - -// Dialog Data - enum { IDD = IDD_MY9111INT_DIALOG }; - - protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - - -// Implementation -protected: - HICON m_hIcon; - UINT_PTR m_nTimer; - I16 m_hCard; - U16 m_wCardType; - double m_fSampleRate; - U16 m_wScanChans; - HANDLE m_hMem; - U16 *m_pAIBuf; - U16 m_wRange; - int m_oldY; - int m_oldX; - U32 m_dwReadCount; - U16 m_wChannel; - U16 m_wTraceCount; - - // Generated message map functions - virtual BOOL OnInitDialog(); - afx_msg void OnSysCommand(UINT nID, LPARAM lParam); - afx_msg void OnPaint(); - afx_msg HCURSOR OnQueryDragIcon(); - DECLARE_MESSAGE_MAP() - -public: - WORD max_val; - WORD min_val; - double max_range; - double min_range; - int n_PlotWidth; - int n_PlotHeight; - int y_divider; - int x_divider; - int m_DisplayScale; - HBRUSH OnBrush; - HBRUSH OffBrush; - CPen RedPen; - void redraw_display_area(void); - afx_msg void OnDestroy(); - afx_msg void OnVScroll(UINT nSBCode, UINT nPos, CScrollBar* pScrollBar); - afx_msg void OnStart(); - int display_buffer_data(U16* pBuf); - afx_msg void OnCh0(); - afx_msg void OnCh1(); - afx_msg void OnCh2(); - afx_msg void OnCh3(); - afx_msg void OnCh4(); - afx_msg void OnCh5(); - afx_msg void OnCh6(); - afx_msg void OnCh7(); - afx_msg void OnTimer(UINT_PTR nIDEvent); - afx_msg void OnStop(); -}; diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9111/SDK9111SPreTrg/CardIDDlg.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9111/SDK9111SPreTrg/CardIDDlg.cpp deleted file mode 100644 index 875de92..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9111/SDK9111SPreTrg/CardIDDlg.cpp +++ /dev/null @@ -1,77 +0,0 @@ -// CardIDDlg.cpp : implementation file -// -#include "stdafx.h" -#include "9111int.h" -#include "9111intDlg.h" -#include "CardIDDlg.h" - -// CCardIDDlg dialog - -IMPLEMENT_DYNAMIC(CCardIDDlg, CDialog) - -CCardIDDlg::CCardIDDlg(int nCardIdx, CWnd* pParent /*=NULL*/) - : CDialog(CCardIDDlg::IDD, pParent) -{ - m_nCardIdx = nCardIdx; -} - -CCardIDDlg::~CCardIDDlg() -{ -} - -void CCardIDDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); - DDX_Control(pDX, IDC_COMBO_CARDID, m_cbCardID); - DDX_Control(pDX, IDC_COMBO_CARDTYPE, m_cbCardType); -} - - -BEGIN_MESSAGE_MAP(CCardIDDlg, CDialog) -// ON_CBN_SELCHANGE(IDC_COMBO_CARDID, &CCardIDDlg::OnCbnSelchangeComboCardid) -ON_BN_CLICKED(IDOK, &CCardIDDlg::OnBnClickedOk) -//ON_WM_CTLCOLOR() -END_MESSAGE_MAP() - - -// CCardIDDlg message handlers - - -void CCardIDDlg::OnBnClickedOk() -{ - // TODO: Add your control notification handler code here - -// UpdateData(TRUE); - m_nCardIdx = m_cbCardID.GetCurSel(); - m_CardType = PCI_9111DG + m_cbCardType.GetCurSel(); - - OnOK(); -} - -BOOL CCardIDDlg::OnInitDialog() -{ - CDialog::OnInitDialog(); - - // TODO: Add extra initialization here - m_cbCardID.SetCurSel( m_nCardIdx ); - - m_cbCardType.SetCurSel( 0 ); - m_CardType = PCI_9111DG; - - return TRUE; // return TRUE unless you set the focus to a control - // EXCEPTION: OCX Property Pages should return FALSE -} - -// the function to get the selected CardID -int CCardIDDlg::GetCardID(void) -{ - return m_nCardIdx; -} - - -U16 CCardIDDlg::GetCardType(void) -{ - return m_CardType; -} - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9111/SDK9111SPreTrg/CardIDDlg.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9111/SDK9111SPreTrg/CardIDDlg.h deleted file mode 100644 index 23399df..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9111/SDK9111SPreTrg/CardIDDlg.h +++ /dev/null @@ -1,35 +0,0 @@ -#pragma once -#include "afxwin.h" - -#include "Dask64.h" - -// CCardIDDlg dialog - -class CCardIDDlg : public CDialog -{ - DECLARE_DYNAMIC(CCardIDDlg) - -public: - CCardIDDlg(int nCardIdx, CWnd* pParent = NULL); // standard constructor - virtual ~CCardIDDlg(); - -// Dialog Data - enum { IDD = IDD_CARDID_DIALOG }; - -protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - - DECLARE_MESSAGE_MAP() -public: - virtual BOOL OnInitDialog(); - afx_msg void OnBnClickedOk(); - // the setting of CardID ComboBox - int m_nCardIdx; - U16 m_CardType; - // the control of CardID ComboBox - CComboBox m_cbCardID; - CComboBox m_cbCardType; - // the function to get the selected CardID - int GetCardID(void); - U16 GetCardType(void); -}; diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9111/SDK9111SPreTrg/ReadMe.txt b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9111/SDK9111SPreTrg/ReadMe.txt deleted file mode 100644 index 5b549ce..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9111/SDK9111SPreTrg/ReadMe.txt +++ /dev/null @@ -1,93 +0,0 @@ -================================================================================ - MICROSOFT FOUNDATION CLASS LIBRARY : 9111int Project Overview -=============================================================================== - -The application wizard has created this 9111int application for -you. This application not only demonstrates the basics of using the Microsoft -Foundation Classes but is also a starting point for writing your application. - -This file contains a summary of what you will find in each of the files that -make up your 9111int application. - -9111int.vcproj - This is the main project file for VC++ projects generated using an application wizard. - It contains information about the version of Visual C++ that generated the file, and - information about the platforms, configurations, and project features selected with the - application wizard. - -9111int.h - This is the main header file for the application. It includes other - project specific headers (including Resource.h) and declares the - C9111intApp application class. - -9111int.cpp - This is the main application source file that contains the application - class C9111intApp. - -9111int.rc - This is a listing of all of the Microsoft Windows resources that the - program uses. It includes the icons, bitmaps, and cursors that are stored - in the RES subdirectory. This file can be directly edited in Microsoft - Visual C++. Your project resources are in 1033. - -res\9111int.ico - This is an icon file, which is used as the application's icon. This - icon is included by the main resource file 9111int.rc. - -res\My9111int.rc2 - This file contains resources that are not edited by Microsoft - Visual C++. You should place all resources not editable by - the resource editor in this file. - - -///////////////////////////////////////////////////////////////////////////// - -The application wizard creates one dialog class: - -9111intDlg.h, 9111intDlg.cpp - the dialog - These files contain your C9111intDlg class. This class defines - the behavior of your application's main dialog. The dialog's template is - in 9111int.rc, which can be edited in Microsoft Visual C++. - - -///////////////////////////////////////////////////////////////////////////// - -Other Features: - -ActiveX Controls - The application includes support to use ActiveX controls. - -///////////////////////////////////////////////////////////////////////////// - -Other standard files: - -StdAfx.h, StdAfx.cpp - These files are used to build a precompiled header (PCH) file - named 9111int.pch and a precompiled types file named StdAfx.obj. - -Resource.h - This is the standard header file, which defines new resource IDs. - Microsoft Visual C++ reads and updates this file. - -9111int.manifest - Application manifest files are used by Windows XP to describe an applications - dependency on specific versions of Side-by-Side assemblies. The loader uses this - information to load the appropriate assembly from the assembly cache or private - from the application. The Application manifest maybe included for redistribution - as an external .manifest file that is installed in the same folder as the application - executable or it may be included in the executable in the form of a resource. -///////////////////////////////////////////////////////////////////////////// - -Other notes: - -The application wizard uses "TODO:" to indicate parts of the source code you -should add to or customize. - -If your application uses MFC in a shared DLL, you will need -to redistribute the MFC DLLs. If your application is in a language -other than the operating system's locale, you will also have to -redistribute the corresponding localized resources MFC90XXX.DLL. -For more information on both of these topics, please see the section on -redistributing Visual C++ applications in MSDN documentation. - -///////////////////////////////////////////////////////////////////////////// diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9111/SDK9111SPreTrg/res/9111int.ico b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9111/SDK9111SPreTrg/res/9111int.ico deleted file mode 100644 index d56fbcd..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9111/SDK9111SPreTrg/res/9111int.ico and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9111/SDK9111SPreTrg/res/My9111int.rc2 b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9111/SDK9111SPreTrg/res/My9111int.rc2 deleted file mode 100644 index 383cde2..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9111/SDK9111SPreTrg/res/My9111int.rc2 +++ /dev/null @@ -1,13 +0,0 @@ -// -// My9111int.RC2 - resources Microsoft Visual C++ does not edit directly -// - -#ifdef APSTUDIO_INVOKED -#error this file is not editable by Microsoft Visual C++ -#endif //APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// Add manually edited resources here... - -///////////////////////////////////////////////////////////////////////////// diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9111/SDK9111SPreTrg/res/ch_set1.bmp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9111/SDK9111SPreTrg/res/ch_set1.bmp deleted file mode 100644 index f2374ed..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9111/SDK9111SPreTrg/res/ch_set1.bmp and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9111/SDK9111SPreTrg/res/ch_set2.bmp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9111/SDK9111SPreTrg/res/ch_set2.bmp deleted file mode 100644 index 32d0915..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9111/SDK9111SPreTrg/res/ch_set2.bmp and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9111/SDK9111SPreTrg/resource.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9111/SDK9111SPreTrg/resource.h deleted file mode 100644 index 82ddef5..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9111/SDK9111SPreTrg/resource.h +++ /dev/null @@ -1,45 +0,0 @@ -//{{NO_DEPENDENCIES}} -// Microsoft Visual C++ generated include file. -// Used by 9111int.rc -// -#define IDM_ABOUTBOX 0x0010 -#define IDD_ABOUTBOX 100 -#define IDS_ABOUTBOX 101 -#define IDD_MY9111INT_DIALOG 102 -#define IDR_MAINFRAME 128 -#define IDD_CARDID_DIALOG 129 -#define IDB_BITMAP_SET1 131 -#define IDB_BITMAP_SET2 132 -#define IDC_STATIC_DRAW 1000 -#define IDC_COMBO_CARDID 1001 -#define IDC_COMBO_CARDTYPE 1002 -#define IDC_BT_START 1003 -#define IDC_EDIT_SAMPLE_RATE 1004 -#define IDC_SCROLLBAR_RATE 1005 -#define IDC_RADIO_CH0 1006 -#define IDC_RADIO_CH1 1007 -#define IDC_RADIO_CH2 1008 -#define IDC_RADIO_CH3 1009 -#define IDC_RADIO_CH4 1010 -#define IDC_RADIO_CH5 1011 -#define IDC_RADIO_CH6 1012 -#define IDC_RADIO_CH7 1013 -#define IDC_STATIC_01 1014 -#define IDC_EDIT_BUF_SIZE 1014 -#define IDC_STATIC_2 1015 -#define IDC_BT_STOP 1015 -#define IDC_CHECK_PRE_TRIG 1016 -#define IDC_EDIT_BUF_SIZE2 1016 -#define IDC_EDIT_TRACE_CNT 1016 -#define IDC_STATIC_TRACE_CNT 1017 - -// Next default values for new objects -// -#ifdef APSTUDIO_INVOKED -#ifndef APSTUDIO_READONLY_SYMBOLS -#define _APS_NEXT_RESOURCE_VALUE 134 -#define _APS_NEXT_COMMAND_VALUE 32771 -#define _APS_NEXT_CONTROL_VALUE 1018 -#define _APS_NEXT_SYMED_VALUE 101 -#endif -#endif diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9111/SDK9111SPreTrg/stdafx.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9111/SDK9111SPreTrg/stdafx.cpp deleted file mode 100644 index ef80626..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9111/SDK9111SPreTrg/stdafx.cpp +++ /dev/null @@ -1,8 +0,0 @@ - -// stdafx.cpp : source file that includes just the standard includes -// 9111int.pch will be the pre-compiled header -// stdafx.obj will contain the pre-compiled type information - -#include "stdafx.h" - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9111/SDK9111SPreTrg/stdafx.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9111/SDK9111SPreTrg/stdafx.h deleted file mode 100644 index 12123e2..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9111/SDK9111SPreTrg/stdafx.h +++ /dev/null @@ -1,60 +0,0 @@ - -// stdafx.h : include file for standard system include files, -// or project specific include files that are used frequently, -// but are changed infrequently - -#pragma once - -#ifndef _SECURE_ATL -#define _SECURE_ATL 1 -#endif - -#ifndef VC_EXTRALEAN -#define VC_EXTRALEAN // Exclude rarely-used stuff from Windows headers -#endif - -#include "targetver.h" - -#define _ATL_CSTRING_EXPLICIT_CONSTRUCTORS // some CString constructors will be explicit - -// turns off MFC's hiding of some common and often safely ignored warning messages -#define _AFX_ALL_WARNINGS - -#include // MFC core and standard components -#include // MFC extensions - - -#include // MFC Automation classes - - - -#ifndef _AFX_NO_OLE_SUPPORT -#include // MFC support for Internet Explorer 4 Common Controls -#endif -#ifndef _AFX_NO_AFXCMN_SUPPORT -#include // MFC support for Windows Common Controls -#endif // _AFX_NO_AFXCMN_SUPPORT - -#include // MFC support for ribbons and control bars - - - - - - - - - -#ifdef _UNICODE -#if defined _M_IX86 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='x86' publicKeyToken='6595b64144ccf1df' language='*'\"") -#elif defined _M_IA64 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='ia64' publicKeyToken='6595b64144ccf1df' language='*'\"") -#elif defined _M_X64 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='amd64' publicKeyToken='6595b64144ccf1df' language='*'\"") -#else -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='*' publicKeyToken='6595b64144ccf1df' language='*'\"") -#endif -#endif - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9111/SDK9111SPreTrg/targetver.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9111/SDK9111SPreTrg/targetver.h deleted file mode 100644 index 11730d5..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9111/SDK9111SPreTrg/targetver.h +++ /dev/null @@ -1,26 +0,0 @@ - -#pragma once - -// The following macros define the minimum required platform. The minimum required platform -// is the earliest version of Windows, Internet Explorer etc. that has the necessary features to run -// your application. The macros work by enabling all features available on platform versions up to and -// including the version specified. - -// Modify the following defines if you have to target a platform prior to the ones specified below. -// Refer to MSDN for the latest info on corresponding values for different platforms. -#ifndef WINVER // Specifies that the minimum required platform is Windows Vista. -#define WINVER 0x0600 // Change this to the appropriate value to target other versions of Windows. -#endif - -#ifndef _WIN32_WINNT // Specifies that the minimum required platform is Windows Vista. -#define _WIN32_WINNT 0x0600 // Change this to the appropriate value to target other versions of Windows. -#endif - -#ifndef _WIN32_WINDOWS // Specifies that the minimum required platform is Windows 98. -#define _WIN32_WINDOWS 0x0410 // Change this to the appropriate value to target Windows Me or later. -#endif - -#ifndef _WIN32_IE // Specifies that the minimum required platform is Internet Explorer 7.0. -#define _WIN32_IE 0x0700 // Change this to the appropriate value to target other versions of IE. -#endif - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9111/SDK9111int/9111int.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9111/SDK9111int/9111int.cpp deleted file mode 100644 index 67aa20e..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9111/SDK9111int/9111int.cpp +++ /dev/null @@ -1,111 +0,0 @@ - -// 9111int.cpp : Defines the class behaviors for the application. -// - -#include "stdafx.h" -#include "9111int.h" -#include "9111intDlg.h" -#include "CardIDDlg.h" - -#ifdef _DEBUG -#define new DEBUG_NEW -#endif - - -// C9111intApp - -BEGIN_MESSAGE_MAP(C9111intApp, CWinAppEx) - ON_COMMAND(ID_HELP, &CWinApp::OnHelp) -END_MESSAGE_MAP() - - -// C9111intApp construction - -C9111intApp::C9111intApp() -{ - // TODO: add construction code here, - // Place all significant initialization in InitInstance -} - - -// The one and only C9111intApp object - -C9111intApp theApp; - - -// C9111intApp initialization - -BOOL C9111intApp::InitInstance() -{ - int nCardID = 0; - I16 hCard; - U16 wCardType; - CString strTemp; - INT_PTR nResponse; - - // InitCommonControlsEx() is required on Windows XP if an application - // manifest specifies use of ComCtl32.dll version 6 or later to enable - // visual styles. Otherwise, any window creation will fail. - INITCOMMONCONTROLSEX InitCtrls; - InitCtrls.dwSize = sizeof(InitCtrls); - // Set this to include all the common control classes you want to use - // in your application. - InitCtrls.dwICC = ICC_WIN95_CLASSES; - InitCommonControlsEx(&InitCtrls); - - CWinAppEx::InitInstance(); - - AfxEnableControlContainer(); - - // Standard initialization - // If you are not using these features and wish to reduce the size - // of your final executable, you should remove from the following - // the specific initialization routines you do not need - // Change the registry key under which our settings are stored - // TODO: You should modify this string to be something appropriate - // such as the name of your company or organization - SetRegistryKey(_T("Local AppWizard-Generated Applications")); - - CCardIDDlg CardDlg( nCardID ); - - nResponse = CardDlg.DoModal(); - if (nResponse == IDOK) - { - nCardID = CardDlg.GetCardID(); - wCardType = CardDlg.GetCardType(); - - if ((hCard=Register_Card(wCardType, nCardID)) < 0) - { - strTemp.Format( TEXT("Register_Card Error = %d"), hCard); - AfxMessageBox( strTemp ); - } - else - { - C9111intDlg dlg(hCard, wCardType); - m_pMainWnd = &dlg; - nResponse = dlg.DoModal(); - if (nResponse == IDOK) - { - // TODO: Place code here to handle when the dialog is - // dismissed with OK - } - else if (nResponse == IDCANCEL) - { - // TODO: Place code here to handle when the dialog is - // dismissed with Cancel - } - - if (hCard >= 0) Release_Card(hCard); - } - - } - else if (nResponse == IDCANCEL) - { - // TODO: Place code here to handle when the dialog is - // dismissed with Cancel - } - - // Since the dialog has been closed, return FALSE so that we exit the - // application, rather than start the application's message pump. - return FALSE; -} diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9111/SDK9111int/9111int.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9111/SDK9111int/9111int.h deleted file mode 100644 index 1d3c26e..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9111/SDK9111int/9111int.h +++ /dev/null @@ -1,32 +0,0 @@ - -// 9111int.h : main header file for the PROJECT_NAME application -// - -#pragma once - -#ifndef __AFXWIN_H__ - #error "include 'stdafx.h' before including this file for PCH" -#endif - -#include "resource.h" // main symbols - - -// C9111intApp: -// See 9111int.cpp for the implementation of this class -// - -class C9111intApp : public CWinAppEx -{ -public: - C9111intApp(); - -// Overrides - public: - virtual BOOL InitInstance(); - -// Implementation - - DECLARE_MESSAGE_MAP() -}; - -extern C9111intApp theApp; \ No newline at end of file diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9111/SDK9111int/9111int.rc b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9111/SDK9111int/9111int.rc deleted file mode 100644 index de0bf1a..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9111/SDK9111int/9111int.rc +++ /dev/null @@ -1,328 +0,0 @@ -// Microsoft Visual C++ generated resource script. -// -#include "resource.h" - -#define APSTUDIO_READONLY_SYMBOLS -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 2 resource. -// -#ifndef APSTUDIO_INVOKED -#include "targetver.h" -#endif -#include "afxres.h" - -///////////////////////////////////////////////////////////////////////////// -#undef APSTUDIO_READONLY_SYMBOLS - -///////////////////////////////////////////////////////////////////////////// -// Chinese (Taiwan) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_CHT) -#ifdef _WIN32 -LANGUAGE LANG_CHINESE, SUBLANG_CHINESE_TRADITIONAL -#pragma code_page(950) -#endif //_WIN32 - -#ifdef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// TEXTINCLUDE -// - -1 TEXTINCLUDE -BEGIN - "resource.h\0" -END - -2 TEXTINCLUDE -BEGIN - "#ifndef APSTUDIO_INVOKED\r\n" - "#include ""targetver.h""\r\n" - "#endif\r\n" - "#include ""afxres.h""\r\n" - "\0" -END - -3 TEXTINCLUDE -BEGIN - "#define _AFX_NO_SPLITTER_RESOURCES\r\n" - "#define _AFX_NO_OLE_RESOURCES\r\n" - "#define _AFX_NO_TRACKER_RESOURCES\r\n" - "#define _AFX_NO_PROPERTY_RESOURCES\r\n" - "\r\n" - "#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)\r\n" - "LANGUAGE 9, 1\r\n" - "#pragma code_page(1252)\r\n" - "#include ""res\\My9111int.rc2"" // non-Microsoft Visual C++ edited resources\r\n" - "#include ""afxres.rc"" // Standard components\r\n" - "#endif\r\n" - "\0" -END - -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// Icon -// - -// Icon with lowest ID value placed first to ensure application icon -// remains consistent on all systems. -IDR_MAINFRAME ICON "res\\9111int.ico" -#endif // Chinese (Taiwan) resources -///////////////////////////////////////////////////////////////////////////// - - -///////////////////////////////////////////////////////////////////////////// -// English (U.S.) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -#ifdef _WIN32 -LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US -#pragma code_page(1252) -#endif //_WIN32 - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog -// - -IDD_ABOUTBOX DIALOGEX 0, 0, 170, 62 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "About 9111int" -FONT 8, "MS Shell Dlg", 0, 0, 0x1 -BEGIN - ICON IDR_MAINFRAME,IDC_STATIC,14,14,21,20 - LTEXT "9111int, Version 1.0",IDC_STATIC,42,14,114,8,SS_NOPREFIX - LTEXT "Copyright (C) 2010",IDC_STATIC,42,26,114,8 - DEFPUSHBUTTON "OK",IDOK,113,41,50,14,WS_GROUP -END - -IDD_MY9111INT_DIALOG DIALOGEX 0, 0, 365, 232 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU -EXSTYLE WS_EX_APPWINDOW -CAPTION "9111 Autoscan Interrupt" -FONT 8, "MS Shell Dlg", 0, 0, 0x1 -BEGIN - GROUPBOX "",IDC_STATIC_DRAW,45,9,227,161,NOT WS_VISIBLE - CONTROL 132,IDC_STATIC,"Static",SS_BITMAP,327,28,11,45 - CONTROL 131,IDC_STATIC,"Static",SS_BITMAP,298,29,9,44 - LTEXT "0",IDC_STATIC,286,29,10,11 - LTEXT "1",IDC_STATIC,286,40,10,11 - LTEXT "2",IDC_STATIC,286,51,10,11 - LTEXT "3",IDC_STATIC,286,63,10,11 - LTEXT "4",IDC_STATIC,318,29,10,11 - LTEXT "5",IDC_STATIC,318,40,10,11 - LTEXT "6",IDC_STATIC,318,51,10,11 - LTEXT "7",IDC_STATIC,318,63,10,11 - LTEXT "Range : +/- 5V",IDC_STATIC,283,130,57,15 - COMBOBOX IDC_COMBO_SCANCHAN,171,197,74,17,CBS_DROPDOWN | WS_VSCROLL | WS_TABSTOP - LTEXT "Scan Channels",IDC_STATIC,171,182,53,9 - EDITTEXT IDC_EDIT_SAMPLE_RATE,57,197,39,12,ES_AUTOHSCROLL | ES_READONLY - LTEXT "Sample Rate :",IDC_STATIC,57,182,49,9 - LTEXT "KHz",IDC_STATIC,109,198,15,9 - SCROLLBAR IDC_SCROLLBAR_RATE,97,195,9,11,SBS_VERT - PUSHBUTTON "Start",IDC_BT_START,275,188,75,22 -END - -IDD_CARDID_DIALOG DIALOGEX 0, 0, 165, 114 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "Card ID" -FONT 8, "MS Shell Dlg", 400, 0, 0x1 -BEGIN - COMBOBOX IDC_COMBO_CARDID,75,24,71,126,CBS_DROPDOWN | WS_VSCROLL | WS_TABSTOP - LTEXT "Card Number",IDC_STATIC_01,21,25,46,12 - PUSHBUTTON "OK",IDOK,22,72,58,19 - PUSHBUTTON "CANCEL",IDCANCEL,86,72,58,19 - COMBOBOX IDC_COMBO_CARDTYPE,75,46,71,126,CBS_DROPDOWN | WS_VSCROLL | WS_TABSTOP - LTEXT "Card Type",IDC_STATIC_2,29,47,37,12 -END - - -///////////////////////////////////////////////////////////////////////////// -// -// Version -// - -VS_VERSION_INFO VERSIONINFO - FILEVERSION 1,0,0,1 - PRODUCTVERSION 1,0,0,1 - FILEFLAGSMASK 0x3fL -#ifdef _DEBUG - FILEFLAGS 0x1L -#else - FILEFLAGS 0x0L -#endif - FILEOS 0x4L - FILETYPE 0x1L - FILESUBTYPE 0x0L -BEGIN - BLOCK "StringFileInfo" - BEGIN - BLOCK "040904e4" - BEGIN - VALUE "CompanyName", "TODO: " - VALUE "FileDescription", "TODO: " - VALUE "FileVersion", "1.0.0.1" - VALUE "InternalName", "9111int.exe" - VALUE "LegalCopyright", "TODO: (c) . All rights reserved." - VALUE "OriginalFilename", "9111int.exe" - VALUE "ProductName", "TODO: " - VALUE "ProductVersion", "1.0.0.1" - END - END - BLOCK "VarFileInfo" - BEGIN - VALUE "Translation", 0x409, 1252 - END -END - - -///////////////////////////////////////////////////////////////////////////// -// -// DESIGNINFO -// - -#ifdef APSTUDIO_INVOKED -GUIDELINES DESIGNINFO -BEGIN - IDD_ABOUTBOX, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 163 - TOPMARGIN, 7 - BOTTOMMARGIN, 55 - END - - IDD_MY9111INT_DIALOG, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 358 - TOPMARGIN, 7 - BOTTOMMARGIN, 225 - END - - IDD_CARDID_DIALOG, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 158 - TOPMARGIN, 7 - BOTTOMMARGIN, 107 - END -END -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog Info -// - -IDD_CARDID_DIALOG DLGINIT -BEGIN - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0030, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0031, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0032, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0033, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0034, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0035, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0036, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0037, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0038, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0039, - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3031, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3131, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3231, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3331, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3431, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3531, "\000" - IDC_COMBO_CARDTYPE, 0x403, 11, 0 -0x4350, 0x5f49, 0x3139, 0x3131, 0x4744, "\000" - IDC_COMBO_CARDTYPE, 0x403, 11, 0 -0x4350, 0x5f49, 0x3139, 0x3131, 0x5248, "\000" - 0 -END - -IDD_MY9111INT_DIALOG DLGINIT -BEGIN - IDC_COMBO_SCANCHAN, 0x403, 4, 0 -0x4843, 0x0030, - IDC_COMBO_SCANCHAN, 0x403, 8, 0 -0x4843, 0x7e30, 0x4843, 0x0031, - IDC_COMBO_SCANCHAN, 0x403, 8, 0 -0x4843, 0x7e30, 0x4843, 0x0032, - IDC_COMBO_SCANCHAN, 0x403, 8, 0 -0x4843, 0x7e30, 0x4843, 0x0033, - IDC_COMBO_SCANCHAN, 0x403, 8, 0 -0x4843, 0x7e30, 0x4843, 0x0034, - IDC_COMBO_SCANCHAN, 0x403, 8, 0 -0x4843, 0x7e30, 0x4843, 0x0035, - IDC_COMBO_SCANCHAN, 0x403, 8, 0 -0x4843, 0x7e30, 0x4843, 0x0036, - IDC_COMBO_SCANCHAN, 0x403, 8, 0 -0x4843, 0x7e30, 0x4843, 0x0037, - 0 -END - - -///////////////////////////////////////////////////////////////////////////// -// -// Bitmap -// - -IDB_BITMAP_SET1 BITMAP "res\\ch_set1.bmp" -IDB_BITMAP_SET2 BITMAP "res\\ch_set2.bmp" - -///////////////////////////////////////////////////////////////////////////// -// -// String Table -// - -STRINGTABLE -BEGIN - IDS_ABOUTBOX "&About 9111int..." -END - -#endif // English (U.S.) resources -///////////////////////////////////////////////////////////////////////////// - - - -#ifndef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 3 resource. -// -#define _AFX_NO_SPLITTER_RESOURCES -#define _AFX_NO_OLE_RESOURCES -#define _AFX_NO_TRACKER_RESOURCES -#define _AFX_NO_PROPERTY_RESOURCES - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -LANGUAGE 9, 1 -#pragma code_page(1252) -#include "res\My9111int.rc2" // non-Microsoft Visual C++ edited resources -#include "afxres.rc" // Standard components -#endif - -///////////////////////////////////////////////////////////////////////////// -#endif // not APSTUDIO_INVOKED - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9111/SDK9111int/9111int.sln b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9111/SDK9111int/9111int.sln deleted file mode 100644 index db230db..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9111/SDK9111int/9111int.sln +++ /dev/null @@ -1,20 +0,0 @@ - -Microsoft Visual Studio Solution File, Format Version 10.00 -# Visual Studio 2008 -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "9111int", "9111int.vcproj", "{702163FB-B6DF-4EF5-9491-FC54D71509BC}" -EndProject -Global - GlobalSection(SolutionConfigurationPlatforms) = preSolution - Debug|x64 = Debug|x64 - Release|x64 = Release|x64 - EndGlobalSection - GlobalSection(ProjectConfigurationPlatforms) = postSolution - {702163FB-B6DF-4EF5-9491-FC54D71509BC}.Debug|x64.ActiveCfg = Debug|x64 - {702163FB-B6DF-4EF5-9491-FC54D71509BC}.Debug|x64.Build.0 = Debug|x64 - {702163FB-B6DF-4EF5-9491-FC54D71509BC}.Release|x64.ActiveCfg = Release|x64 - {702163FB-B6DF-4EF5-9491-FC54D71509BC}.Release|x64.Build.0 = Release|x64 - EndGlobalSection - GlobalSection(SolutionProperties) = preSolution - HideSolutionNode = FALSE - EndGlobalSection -EndGlobal diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9111/SDK9111int/9111int.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9111/SDK9111int/9111int.suo deleted file mode 100644 index 1d098f4..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9111/SDK9111int/9111int.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9111/SDK9111int/9111int.vcproj b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9111/SDK9111int/9111int.vcproj deleted file mode 100644 index 81ec9b2..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9111/SDK9111int/9111int.vcproj +++ /dev/null @@ -1,294 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9111/SDK9111int/9111intDlg.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9111/SDK9111int/9111intDlg.cpp deleted file mode 100644 index aee14e2..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9111/SDK9111int/9111intDlg.cpp +++ /dev/null @@ -1,503 +0,0 @@ - -// 9111intDlg.cpp : implementation file -// - -#include "stdafx.h" -#include "9111int.h" -#include "9111intDlg.h" - -#ifdef _DEBUG -#define new DEBUG_NEW -#endif - -CRect plotRect; -#define AI_SAMPLE_COUNT 10240 - -// CAboutDlg dialog used for App About - -class CAboutDlg : public CDialog -{ -public: - CAboutDlg(); - -// Dialog Data - enum { IDD = IDD_ABOUTBOX }; - - protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - -// Implementation -protected: - DECLARE_MESSAGE_MAP() -}; - -CAboutDlg::CAboutDlg() : CDialog(CAboutDlg::IDD) -{ -} - -void CAboutDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); -} - -BEGIN_MESSAGE_MAP(CAboutDlg, CDialog) -END_MESSAGE_MAP() - - -// C9111intDlg dialog - - - - -C9111intDlg::C9111intDlg(I16 hCard, U16 wCardType, CWnd* pParent /*=NULL*/) - : CDialog(C9111intDlg::IDD, pParent) -{ - m_hIcon = AfxGetApp()->LoadIcon(IDR_MAINFRAME); - - n_PlotWidth = n_PlotHeight = -1; - OnBrush = OffBrush = NULL; - - min_val = 0x00; - max_val = 0xFFFF; - - m_fSampleRate = 10000.0; // 10KHz - - m_hCard = hCard; - m_wCardType = wCardType; - m_wScanChans = 0; - m_nTimer = -1; - m_hMem=NULL; - - m_wRange = AD_B_5_V; - -} - -void C9111intDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); - DDX_Control(pDX, IDC_COMBO_SCANCHAN, m_cbScanChans); -} - -BEGIN_MESSAGE_MAP(C9111intDlg, CDialog) - ON_WM_SYSCOMMAND() - ON_WM_PAINT() - ON_WM_QUERYDRAGICON() - //}}AFX_MSG_MAP - ON_WM_DESTROY() - ON_WM_VSCROLL() - ON_CBN_SELCHANGE(IDC_COMBO_SCANCHAN, &C9111intDlg::OnScanChanSelchange) - ON_BN_CLICKED(IDC_BT_START, &C9111intDlg::OnStart) -END_MESSAGE_MAP() - - -// C9111intDlg message handlers - -BOOL C9111intDlg::OnInitDialog() -{ - CDialog::OnInitDialog(); - - // Add "About..." menu item to system menu. - - // IDM_ABOUTBOX must be in the system command range. - ASSERT((IDM_ABOUTBOX & 0xFFF0) == IDM_ABOUTBOX); - ASSERT(IDM_ABOUTBOX < 0xF000); - - CMenu* pSysMenu = GetSystemMenu(FALSE); - if (pSysMenu != NULL) - { - BOOL bNameValid; - CString strAboutMenu; - bNameValid = strAboutMenu.LoadString(IDS_ABOUTBOX); - ASSERT(bNameValid); - if (!strAboutMenu.IsEmpty()) - { - pSysMenu->AppendMenu(MF_SEPARATOR); - pSysMenu->AppendMenu(MF_STRING, IDM_ABOUTBOX, strAboutMenu); - } - } - - // Set the icon for this dialog. The framework does this automatically - // when the application's main window is not a dialog - SetIcon(m_hIcon, TRUE); // Set big icon - SetIcon(m_hIcon, FALSE); // Set small icon - - // TODO: Add extra initialization here - x_divider = 5; y_divider = 4; - - OnBrush = CreateSolidBrush( RGB(255,0,0) ); - OffBrush = CreateSolidBrush( RGB(125,0,0) ); - - RedPen.CreatePen( PS_SOLID, 1, RGB(255,0,0)); - GreenPen.CreatePen( PS_SOLID, 1, RGB(0,255,0)); - YellowPen.CreatePen( PS_SOLID, 1, RGB(255,255,0)); - BluePen.CreatePen( PS_SOLID, 1, RGB(0,0,255)); - LTBluePen.CreatePen( PS_SOLID, 1, RGB(0,128,255)); - LTRedPen.CreatePen( PS_SOLID, 1, RGB(255,128,0)); - LTGreenPen.CreatePen( PS_SOLID, 1, RGB(0,128,0)); - WhitePen.CreatePen( PS_SOLID, 1, RGB(255,255,255)); - - if( n_PlotWidth == -1 && n_PlotHeight == -1 ) - { - ((CWnd*)GetDlgItem(IDC_STATIC_DRAW))->GetWindowRect(&plotRect); - ScreenToClient(&plotRect); - - n_PlotWidth = min( plotRect.Width(), 512); - n_PlotHeight = plotRect.Height() - 10; - } - - - // set the default SampleRate - SetDlgItemInt( IDC_EDIT_SAMPLE_RATE, (UINT)(m_fSampleRate/1000) ); - m_cbScanChans.SetCurSel( 0 ); - - max_range = 5.0; - min_range = -5.0; - - return TRUE; // return TRUE unless you set the focus to a control -} - -void C9111intDlg::OnSysCommand(UINT nID, LPARAM lParam) -{ - if ((nID & 0xFFF0) == IDM_ABOUTBOX) - { - CAboutDlg dlgAbout; - dlgAbout.DoModal(); - } - else - { - CDialog::OnSysCommand(nID, lParam); - } -} - -// If you add a minimize button to your dialog, you will need the code below -// to draw the icon. For MFC applications using the document/view model, -// this is automatically done for you by the framework. - -void C9111intDlg::OnPaint() -{ - if (IsIconic()) - { - CPaintDC dc(this); // device context for painting - - SendMessage(WM_ICONERASEBKGND, reinterpret_cast(dc.GetSafeHdc()), 0); - - // Center icon in client rectangle - int cxIcon = GetSystemMetrics(SM_CXICON); - int cyIcon = GetSystemMetrics(SM_CYICON); - CRect rect; - GetClientRect(&rect); - int x = (rect.Width() - cxIcon + 1) / 2; - int y = (rect.Height() - cyIcon + 1) / 2; - - // Draw the icon - dc.DrawIcon(x, y, m_hIcon); - } - else - { - redraw_display_area(); - CDialog::OnPaint(); - } -} - -// The system calls this function to obtain the cursor to display while the user drags -// the minimized window. -HCURSOR C9111intDlg::OnQueryDragIcon() -{ - return static_cast(m_hIcon); -} - - -void C9111intDlg::redraw_display_area(void) -{ - CPen *oldPen; - - int oldMode; - COLORREF oldColor; - - CString y_lable; - - CPen minor_tick( PS_SOLID,1,RGB(132,130,132) ); -// CPen y_grid( PS_SOLID,1,RGB(206,203,132) ); - - int i, x_intv, y_intv; -// long total_sec; - - CClientDC dc_plot(this); - - // draw the base-line for x-y axises - oldPen = (CPen *)dc_plot.SelectStockObject(BLACK_PEN); - - // redraw the background - dc_plot.FillSolidRect( plotRect, RGB(0,0,0) ); - - // Re-Draw the AREA for Y-Lable - { - CBrush DIALOG_BRUSH; - CRect redraw_area, full_client; - - GetClientRect(&full_client); - ScreenToClient(&full_client); - - redraw_area.left = full_client.left; - redraw_area.top = plotRect.top - 5; - redraw_area.right = plotRect.left - 3; - redraw_area.bottom = plotRect.bottom + 10; - - DIALOG_BRUSH.CreateSysColorBrush( COLOR_3DFACE ); - - dc_plot.FillRect( redraw_area, &DIALOG_BRUSH ); - - DIALOG_BRUSH.DeleteObject(); - } - - dc_plot.MoveTo( plotRect.left - 3, plotRect.top ); - dc_plot.LineTo( plotRect.left - 3, plotRect.bottom ); - - // calculate the interval for tick/grid - y_intv = (plotRect.Height() - 10) /y_divider; - x_intv = plotRect.Width()/x_divider; - - - // set the color for tick - oldColor = dc_plot.SetTextColor( RGB(0,0,0) ); - oldMode = dc_plot.SetBkMode( TRANSPARENT ); - - for( i=0; i<= y_divider; i++ ) - { - CString tick_str; - CRect tmp_rect, tick_rect; - - // draw the tick for y-axis - dc_plot.MoveTo( plotRect.left -12, plotRect.bottom -5 - (i*y_intv) ); - dc_plot.LineTo( plotRect.left -3, plotRect.bottom -5 - (i*y_intv) ); - - tick_str.Format( _T("%.1f"), ( ((max_range-min_range)/y_divider) * i)+min_range ); - - // calculate the rectangle for text - dc_plot.DrawText( tick_str, &tmp_rect, DT_CALCRECT|DT_SINGLELINE ); - tick_rect.right = plotRect.left -14; - tick_rect.left = tick_rect.right - tmp_rect.Width(); - tick_rect.top = plotRect.bottom -5 - (i*y_intv) - tmp_rect.Height()/2; - tick_rect.bottom = tick_rect.top + tmp_rect.Height(); - - // draw the text - dc_plot.DrawText( tick_str, &tick_rect, DT_SINGLELINE|DT_RIGHT ); - - } - - // draw the minor_tick for Y axises - dc_plot.SelectObject(&minor_tick); - for( i=0; i< y_divider; i++ ) - { - dc_plot.MoveTo( plotRect.left -9, plotRect.bottom -5 - (i*y_intv) - y_intv/2 ); - dc_plot.LineTo( plotRect.left -4, plotRect.bottom -5 - (i*y_intv) - y_intv/2 ); - } - - dc_plot.SetTextColor( oldColor ); - dc_plot.SetBkMode( oldMode ); - dc_plot.SelectObject( oldPen ); -} - -void C9111intDlg::OnDestroy() -{ - CDialog::OnDestroy(); - - // TODO: Add your message handler code here - if( m_nTimer != -1 ) - { - KillTimer( m_nTimer ); - m_nTimer = -1; - } - - if (m_hMem != NULL) - { - GlobalUnfix(m_hMem); - GlobalUnlock(m_hMem); - GlobalFree(m_hMem); - - m_hMem = NULL; - } - - if( OnBrush != NULL ) - ::DeleteObject( OnBrush ); - - if( OffBrush != NULL ) - ::DeleteObject( OffBrush ); - - RedPen.DeleteObject(); - GreenPen.DeleteObject(); - YellowPen.DeleteObject(); - BluePen.DeleteObject(); - LTBluePen.DeleteObject(); - LTRedPen.DeleteObject(); - LTGreenPen.DeleteObject(); - WhitePen.DeleteObject(); -} - -void C9111intDlg::OnVScroll(UINT nSBCode, UINT nPos, CScrollBar* pScrollBar) -{ - // TODO: Add your message handler code here and/or call default - switch ( nSBCode ) - { - case SB_LINEUP : - m_fSampleRate += 50000.0; - if (m_fSampleRate > 1000000.0 ) m_fSampleRate = 1000000.0; - break; - case SB_LINEDOWN: - m_fSampleRate -= 50000; - if (m_fSampleRate < 50000 ) m_fSampleRate = 50000; - break; - } - - SetDlgItemInt( IDC_EDIT_SAMPLE_RATE, (UINT)(m_fSampleRate/1000) ); - - CDialog::OnVScroll(nSBCode, nPos, pScrollBar); -} - -void C9111intDlg::OnScanChanSelchange() -{ - // TODO: Add your control notification handler code here - int nIndex; - - nIndex = m_cbScanChans.GetCurSel(); - m_wScanChans = (U16)nIndex; -} - -void C9111intDlg::OnStart() -{ - // TODO: Add your control notification handler code here - DWORD mem_size; - CString strTemp; - I16 err; - - GetDlgItem( IDC_BT_START )->EnableWindow(FALSE); - - if (m_hMem != NULL) - { - GlobalUnfix(m_hMem); - GlobalUnlock(m_hMem); - GlobalFree(m_hMem); - - m_hMem = NULL; - } - - // allocate a memory for user DMA buffer - mem_size = AI_SAMPLE_COUNT * sizeof(I16); - m_hMem = GlobalAlloc(GMEM_ZEROINIT, mem_size); - m_pAIBuf = (U16*) GlobalLock(m_hMem); - - if (m_pAIBuf == NULL ) - { - AfxMessageBox( TEXT("Memory allocation failed"), MB_OK); - } - - GlobalFix(m_hMem); - - m_oldY[0] = m_oldY[1] = m_oldY[2] = m_oldY[3] = m_oldY[4] = m_oldY[5] = m_oldY[6] = m_oldY[7] = -1; - m_oldX[0] = m_oldX[1] = m_oldX[2] = m_oldX[3] = m_oldX[4] = m_oldX[5] = m_oldX[6] = m_oldX[7] = -1; - - err=AI_9111_Config(m_hCard, TRIG_INT_PACER, 0, 1024); - if (err!=0) - { - strTemp.Format( TEXT("AI_9111_Config error=%d"), err); - AfxMessageBox( strTemp ); - } - - err=AI_AsyncDblBufferMode(m_hCard, 0); // single-buffer mode - if (err!=0) - { - strTemp.Format( TEXT("AI_DblBufferMode error=%d"), err); - AfxMessageBox( strTemp ); - } - - err=AI_ContScanChannels (m_hCard, m_wScanChans, m_wRange, (U16*)m_pAIBuf, AI_SAMPLE_COUNT, (F64)m_fSampleRate, SYNCH_OP); - if (err!=0) - { - strTemp.Format( TEXT("AI_ContReadChannel error=%d"), err); - AfxMessageBox( strTemp ); - } - - display_buffer_data(m_pAIBuf); - - GetDlgItem( IDC_BT_START )->EnableWindow(TRUE); - -} - -int C9111intDlg::display_buffer_data(U16* pBuf) -{ - CClientDC dc_plot(this); - int nDraw_Origin_Y; - int cur_channel; - - int newY = -1; - int newX = -1; - U32 index; - I16 ai_data; - - // redraw the background - dc_plot.FillSolidRect( plotRect, RGB(0,0,0) ); - - nDraw_Origin_Y = ( plotRect.bottom - 5 ) - n_PlotHeight/2; - - for( index=0; index> 4; - cur_channel = pBuf[index] & 0x0f; - newY = (int)( nDraw_Origin_Y - ((n_PlotHeight * ai_data) >> 12 ) ); // (n_PlotHeight * ai_data / 4096 ) ); // ( (n_PlotHeight/2) * ai_data/2048 ) ); - } - else // m_wCardType == PCI_9111HR - { - cur_channel = index%(m_wScanChans+1); - ai_data = (I16)(pBuf[index]); - newY = (int)( nDraw_Origin_Y - ((n_PlotHeight * ai_data) >> 16) ); // ( n_PlotHeight * ai_data / 65536) ); // ( (n_PlotHeight/2) * ai_data/32768 ) ); - } - - newX = (int)( index*n_PlotWidth/AI_SAMPLE_COUNT + plotRect.left ); - - switch(cur_channel) - { - case 0: - dc_plot.SelectObject(&YellowPen); - break; - case 1: - dc_plot.SelectObject(<GreenPen); - break; - case 2: - dc_plot.SelectObject(&BluePen); - break; - case 3: - dc_plot.SelectObject(&RedPen); - break; - case 4: - dc_plot.SelectObject(<BluePen); - break; - case 5: - dc_plot.SelectObject(<RedPen); - break; - case 6: - dc_plot.SelectObject(&GreenPen); - break; - case 7: - dc_plot.SelectObject(&WhitePen); - break; - } - - if ( m_oldX[cur_channel] == -1 ) - { - dc_plot.MoveTo( newX, newY ); - } - else - { - dc_plot.MoveTo( m_oldX[cur_channel], m_oldY[cur_channel] ); - dc_plot.LineTo( newX, newY ); - } - - m_oldX[cur_channel] = newX; - m_oldY[cur_channel] = newY; - } - - return 0; -} diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9111/SDK9111int/9111intDlg.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9111/SDK9111int/9111intDlg.h deleted file mode 100644 index 055b74c..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9111/SDK9111int/9111intDlg.h +++ /dev/null @@ -1,75 +0,0 @@ - -// 9111intDlg.h : header file -#pragma once -#include "afxcmn.h" -#include "afxwin.h" - -#include "Dask64.h" - -#ifndef MAX_CHAN_9111 -#define MAX_CHAN_9111 16 -#endif - -// C9111intDlg dialog -class C9111intDlg : public CDialog -{ -// Construction -public: - C9111intDlg(I16 hCard, U16 wCardType, CWnd* pParent = NULL); // standard constructor - -// Dialog Data - enum { IDD = IDD_MY9111INT_DIALOG }; - - protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - - -// Implementation -protected: - HICON m_hIcon; - UINT_PTR m_nTimer; - I16 m_hCard; - U16 m_wCardType; - double m_fSampleRate; - U16 m_wScanChans; - HANDLE m_hMem; - U16 *m_pAIBuf; - U16 m_wRange; - int m_oldY[8]; - int m_oldX[8]; - - // Generated message map functions - virtual BOOL OnInitDialog(); - afx_msg void OnSysCommand(UINT nID, LPARAM lParam); - afx_msg void OnPaint(); - afx_msg HCURSOR OnQueryDragIcon(); - DECLARE_MESSAGE_MAP() - -public: - WORD max_val; - WORD min_val; - double max_range; - double min_range; - int n_PlotWidth; - int n_PlotHeight; - int y_divider; - int x_divider; - int m_DisplayScale; - HBRUSH OnBrush; - HBRUSH OffBrush; - CPen RedPen; - CPen GreenPen; - CPen YellowPen; - CPen BluePen; - CPen LTBluePen; - CPen LTRedPen; - CPen LTGreenPen; - CPen WhitePen; - void redraw_display_area(void); - afx_msg void OnDestroy(); - CComboBox m_cbScanChans; - afx_msg void OnVScroll(UINT nSBCode, UINT nPos, CScrollBar* pScrollBar); - afx_msg void OnScanChanSelchange(); - afx_msg void OnStart(); - int display_buffer_data(U16* pBuf); -}; diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9111/SDK9111int/CardIDDlg.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9111/SDK9111int/CardIDDlg.cpp deleted file mode 100644 index ae5d191..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9111/SDK9111int/CardIDDlg.cpp +++ /dev/null @@ -1,75 +0,0 @@ -// CardIDDlg.cpp : implementation file -// -#include "stdafx.h" -#include "9111int.h" -#include "9111intDlg.h" -#include "CardIDDlg.h" - -// CCardIDDlg dialog - -IMPLEMENT_DYNAMIC(CCardIDDlg, CDialog) - -CCardIDDlg::CCardIDDlg(int nCardIdx, CWnd* pParent /*=NULL*/) - : CDialog(CCardIDDlg::IDD, pParent) -{ - m_nCardIdx = nCardIdx; -} - -CCardIDDlg::~CCardIDDlg() -{ -} - -void CCardIDDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); - DDX_Control(pDX, IDC_COMBO_CARDID, m_cbCardID); - DDX_Control(pDX, IDC_COMBO_CARDTYPE, m_cbCardType); -} - - -BEGIN_MESSAGE_MAP(CCardIDDlg, CDialog) -// ON_CBN_SELCHANGE(IDC_COMBO_CARDID, &CCardIDDlg::OnCbnSelchangeComboCardid) -ON_BN_CLICKED(IDOK, &CCardIDDlg::OnBnClickedOk) -//ON_WM_CTLCOLOR() -END_MESSAGE_MAP() - - -// CCardIDDlg message handlers - - -void CCardIDDlg::OnBnClickedOk() -{ - // TODO: Add your control notification handler code here - -// UpdateData(TRUE); - m_nCardIdx = m_cbCardID.GetCurSel(); - m_CardType = PCI_9111DG + m_cbCardType.GetCurSel(); - - OnOK(); -} - -BOOL CCardIDDlg::OnInitDialog() -{ - CDialog::OnInitDialog(); - - // TODO: Add extra initialization here - m_cbCardID.SetCurSel( m_nCardIdx ); - - m_cbCardType.SetCurSel( 0 ); - m_CardType = PCI_9111DG; - - return TRUE; // return TRUE unless you set the focus to a control - // EXCEPTION: OCX Property Pages should return FALSE -} - -// the function to get the selected CardID -int CCardIDDlg::GetCardID(void) -{ - return m_nCardIdx; -} - - -U16 CCardIDDlg::GetCardType(void) -{ - return m_CardType; -} \ No newline at end of file diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9111/SDK9111int/CardIDDlg.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9111/SDK9111int/CardIDDlg.h deleted file mode 100644 index 23399df..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9111/SDK9111int/CardIDDlg.h +++ /dev/null @@ -1,35 +0,0 @@ -#pragma once -#include "afxwin.h" - -#include "Dask64.h" - -// CCardIDDlg dialog - -class CCardIDDlg : public CDialog -{ - DECLARE_DYNAMIC(CCardIDDlg) - -public: - CCardIDDlg(int nCardIdx, CWnd* pParent = NULL); // standard constructor - virtual ~CCardIDDlg(); - -// Dialog Data - enum { IDD = IDD_CARDID_DIALOG }; - -protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - - DECLARE_MESSAGE_MAP() -public: - virtual BOOL OnInitDialog(); - afx_msg void OnBnClickedOk(); - // the setting of CardID ComboBox - int m_nCardIdx; - U16 m_CardType; - // the control of CardID ComboBox - CComboBox m_cbCardID; - CComboBox m_cbCardType; - // the function to get the selected CardID - int GetCardID(void); - U16 GetCardType(void); -}; diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9111/SDK9111int/ReadMe.txt b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9111/SDK9111int/ReadMe.txt deleted file mode 100644 index 5b549ce..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9111/SDK9111int/ReadMe.txt +++ /dev/null @@ -1,93 +0,0 @@ -================================================================================ - MICROSOFT FOUNDATION CLASS LIBRARY : 9111int Project Overview -=============================================================================== - -The application wizard has created this 9111int application for -you. This application not only demonstrates the basics of using the Microsoft -Foundation Classes but is also a starting point for writing your application. - -This file contains a summary of what you will find in each of the files that -make up your 9111int application. - -9111int.vcproj - This is the main project file for VC++ projects generated using an application wizard. - It contains information about the version of Visual C++ that generated the file, and - information about the platforms, configurations, and project features selected with the - application wizard. - -9111int.h - This is the main header file for the application. It includes other - project specific headers (including Resource.h) and declares the - C9111intApp application class. - -9111int.cpp - This is the main application source file that contains the application - class C9111intApp. - -9111int.rc - This is a listing of all of the Microsoft Windows resources that the - program uses. It includes the icons, bitmaps, and cursors that are stored - in the RES subdirectory. This file can be directly edited in Microsoft - Visual C++. Your project resources are in 1033. - -res\9111int.ico - This is an icon file, which is used as the application's icon. This - icon is included by the main resource file 9111int.rc. - -res\My9111int.rc2 - This file contains resources that are not edited by Microsoft - Visual C++. You should place all resources not editable by - the resource editor in this file. - - -///////////////////////////////////////////////////////////////////////////// - -The application wizard creates one dialog class: - -9111intDlg.h, 9111intDlg.cpp - the dialog - These files contain your C9111intDlg class. This class defines - the behavior of your application's main dialog. The dialog's template is - in 9111int.rc, which can be edited in Microsoft Visual C++. - - -///////////////////////////////////////////////////////////////////////////// - -Other Features: - -ActiveX Controls - The application includes support to use ActiveX controls. - -///////////////////////////////////////////////////////////////////////////// - -Other standard files: - -StdAfx.h, StdAfx.cpp - These files are used to build a precompiled header (PCH) file - named 9111int.pch and a precompiled types file named StdAfx.obj. - -Resource.h - This is the standard header file, which defines new resource IDs. - Microsoft Visual C++ reads and updates this file. - -9111int.manifest - Application manifest files are used by Windows XP to describe an applications - dependency on specific versions of Side-by-Side assemblies. The loader uses this - information to load the appropriate assembly from the assembly cache or private - from the application. The Application manifest maybe included for redistribution - as an external .manifest file that is installed in the same folder as the application - executable or it may be included in the executable in the form of a resource. -///////////////////////////////////////////////////////////////////////////// - -Other notes: - -The application wizard uses "TODO:" to indicate parts of the source code you -should add to or customize. - -If your application uses MFC in a shared DLL, you will need -to redistribute the MFC DLLs. If your application is in a language -other than the operating system's locale, you will also have to -redistribute the corresponding localized resources MFC90XXX.DLL. -For more information on both of these topics, please see the section on -redistributing Visual C++ applications in MSDN documentation. - -///////////////////////////////////////////////////////////////////////////// diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9111/SDK9111int/res/9111int.ico b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9111/SDK9111int/res/9111int.ico deleted file mode 100644 index d56fbcd..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9111/SDK9111int/res/9111int.ico and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9111/SDK9111int/res/My9111int.rc2 b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9111/SDK9111int/res/My9111int.rc2 deleted file mode 100644 index 383cde2..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9111/SDK9111int/res/My9111int.rc2 +++ /dev/null @@ -1,13 +0,0 @@ -// -// My9111int.RC2 - resources Microsoft Visual C++ does not edit directly -// - -#ifdef APSTUDIO_INVOKED -#error this file is not editable by Microsoft Visual C++ -#endif //APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// Add manually edited resources here... - -///////////////////////////////////////////////////////////////////////////// diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9111/SDK9111int/res/ch_set1.bmp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9111/SDK9111int/res/ch_set1.bmp deleted file mode 100644 index f2374ed..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9111/SDK9111int/res/ch_set1.bmp and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9111/SDK9111int/res/ch_set2.bmp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9111/SDK9111int/res/ch_set2.bmp deleted file mode 100644 index 32d0915..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9111/SDK9111int/res/ch_set2.bmp and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9111/SDK9111int/resource.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9111/SDK9111int/resource.h deleted file mode 100644 index d306167..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9111/SDK9111int/resource.h +++ /dev/null @@ -1,33 +0,0 @@ -//{{NO_DEPENDENCIES}} -// Microsoft Visual C++ generated include file. -// Used by 9111int.rc -// -#define IDM_ABOUTBOX 0x0010 -#define IDD_ABOUTBOX 100 -#define IDS_ABOUTBOX 101 -#define IDD_MY9111INT_DIALOG 102 -#define IDR_MAINFRAME 128 -#define IDD_CARDID_DIALOG 129 -#define IDB_BITMAP_SET1 131 -#define IDB_BITMAP_SET2 132 -#define IDC_STATIC_DRAW 1000 -#define IDC_COMBO_CARDID 1001 -#define IDC_COMBO_SCANCHAN 1001 -#define IDC_COMBO_CARDTYPE 1002 -#define IDC_BUTTON1 1002 -#define IDC_BT_START 1002 -#define IDC_EDIT_SAMPLE_RATE 1003 -#define IDC_SCROLLBAR_RATE 1006 -#define IDC_STATIC_01 1014 -#define IDC_STATIC_2 1015 - -// Next default values for new objects -// -#ifdef APSTUDIO_INVOKED -#ifndef APSTUDIO_READONLY_SYMBOLS -#define _APS_NEXT_RESOURCE_VALUE 134 -#define _APS_NEXT_COMMAND_VALUE 32771 -#define _APS_NEXT_CONTROL_VALUE 1003 -#define _APS_NEXT_SYMED_VALUE 101 -#endif -#endif diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9111/SDK9111int/stdafx.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9111/SDK9111int/stdafx.cpp deleted file mode 100644 index ef80626..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9111/SDK9111int/stdafx.cpp +++ /dev/null @@ -1,8 +0,0 @@ - -// stdafx.cpp : source file that includes just the standard includes -// 9111int.pch will be the pre-compiled header -// stdafx.obj will contain the pre-compiled type information - -#include "stdafx.h" - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9111/SDK9111int/stdafx.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9111/SDK9111int/stdafx.h deleted file mode 100644 index 12123e2..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9111/SDK9111int/stdafx.h +++ /dev/null @@ -1,60 +0,0 @@ - -// stdafx.h : include file for standard system include files, -// or project specific include files that are used frequently, -// but are changed infrequently - -#pragma once - -#ifndef _SECURE_ATL -#define _SECURE_ATL 1 -#endif - -#ifndef VC_EXTRALEAN -#define VC_EXTRALEAN // Exclude rarely-used stuff from Windows headers -#endif - -#include "targetver.h" - -#define _ATL_CSTRING_EXPLICIT_CONSTRUCTORS // some CString constructors will be explicit - -// turns off MFC's hiding of some common and often safely ignored warning messages -#define _AFX_ALL_WARNINGS - -#include // MFC core and standard components -#include // MFC extensions - - -#include // MFC Automation classes - - - -#ifndef _AFX_NO_OLE_SUPPORT -#include // MFC support for Internet Explorer 4 Common Controls -#endif -#ifndef _AFX_NO_AFXCMN_SUPPORT -#include // MFC support for Windows Common Controls -#endif // _AFX_NO_AFXCMN_SUPPORT - -#include // MFC support for ribbons and control bars - - - - - - - - - -#ifdef _UNICODE -#if defined _M_IX86 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='x86' publicKeyToken='6595b64144ccf1df' language='*'\"") -#elif defined _M_IA64 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='ia64' publicKeyToken='6595b64144ccf1df' language='*'\"") -#elif defined _M_X64 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='amd64' publicKeyToken='6595b64144ccf1df' language='*'\"") -#else -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='*' publicKeyToken='6595b64144ccf1df' language='*'\"") -#endif -#endif - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9111/SDK9111int/targetver.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9111/SDK9111int/targetver.h deleted file mode 100644 index 11730d5..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9111/SDK9111int/targetver.h +++ /dev/null @@ -1,26 +0,0 @@ - -#pragma once - -// The following macros define the minimum required platform. The minimum required platform -// is the earliest version of Windows, Internet Explorer etc. that has the necessary features to run -// your application. The macros work by enabling all features available on platform versions up to and -// including the version specified. - -// Modify the following defines if you have to target a platform prior to the ones specified below. -// Refer to MSDN for the latest info on corresponding values for different platforms. -#ifndef WINVER // Specifies that the minimum required platform is Windows Vista. -#define WINVER 0x0600 // Change this to the appropriate value to target other versions of Windows. -#endif - -#ifndef _WIN32_WINNT // Specifies that the minimum required platform is Windows Vista. -#define _WIN32_WINNT 0x0600 // Change this to the appropriate value to target other versions of Windows. -#endif - -#ifndef _WIN32_WINDOWS // Specifies that the minimum required platform is Windows 98. -#define _WIN32_WINDOWS 0x0410 // Change this to the appropriate value to target Windows Me or later. -#endif - -#ifndef _WIN32_IE // Specifies that the minimum required platform is Internet Explorer 7.0. -#define _WIN32_IE 0x0700 // Change this to the appropriate value to target other versions of IE. -#endif - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9111/Sdk9111SPostTrg/9111int.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9111/Sdk9111SPostTrg/9111int.cpp deleted file mode 100644 index 67aa20e..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9111/Sdk9111SPostTrg/9111int.cpp +++ /dev/null @@ -1,111 +0,0 @@ - -// 9111int.cpp : Defines the class behaviors for the application. -// - -#include "stdafx.h" -#include "9111int.h" -#include "9111intDlg.h" -#include "CardIDDlg.h" - -#ifdef _DEBUG -#define new DEBUG_NEW -#endif - - -// C9111intApp - -BEGIN_MESSAGE_MAP(C9111intApp, CWinAppEx) - ON_COMMAND(ID_HELP, &CWinApp::OnHelp) -END_MESSAGE_MAP() - - -// C9111intApp construction - -C9111intApp::C9111intApp() -{ - // TODO: add construction code here, - // Place all significant initialization in InitInstance -} - - -// The one and only C9111intApp object - -C9111intApp theApp; - - -// C9111intApp initialization - -BOOL C9111intApp::InitInstance() -{ - int nCardID = 0; - I16 hCard; - U16 wCardType; - CString strTemp; - INT_PTR nResponse; - - // InitCommonControlsEx() is required on Windows XP if an application - // manifest specifies use of ComCtl32.dll version 6 or later to enable - // visual styles. Otherwise, any window creation will fail. - INITCOMMONCONTROLSEX InitCtrls; - InitCtrls.dwSize = sizeof(InitCtrls); - // Set this to include all the common control classes you want to use - // in your application. - InitCtrls.dwICC = ICC_WIN95_CLASSES; - InitCommonControlsEx(&InitCtrls); - - CWinAppEx::InitInstance(); - - AfxEnableControlContainer(); - - // Standard initialization - // If you are not using these features and wish to reduce the size - // of your final executable, you should remove from the following - // the specific initialization routines you do not need - // Change the registry key under which our settings are stored - // TODO: You should modify this string to be something appropriate - // such as the name of your company or organization - SetRegistryKey(_T("Local AppWizard-Generated Applications")); - - CCardIDDlg CardDlg( nCardID ); - - nResponse = CardDlg.DoModal(); - if (nResponse == IDOK) - { - nCardID = CardDlg.GetCardID(); - wCardType = CardDlg.GetCardType(); - - if ((hCard=Register_Card(wCardType, nCardID)) < 0) - { - strTemp.Format( TEXT("Register_Card Error = %d"), hCard); - AfxMessageBox( strTemp ); - } - else - { - C9111intDlg dlg(hCard, wCardType); - m_pMainWnd = &dlg; - nResponse = dlg.DoModal(); - if (nResponse == IDOK) - { - // TODO: Place code here to handle when the dialog is - // dismissed with OK - } - else if (nResponse == IDCANCEL) - { - // TODO: Place code here to handle when the dialog is - // dismissed with Cancel - } - - if (hCard >= 0) Release_Card(hCard); - } - - } - else if (nResponse == IDCANCEL) - { - // TODO: Place code here to handle when the dialog is - // dismissed with Cancel - } - - // Since the dialog has been closed, return FALSE so that we exit the - // application, rather than start the application's message pump. - return FALSE; -} diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9111/Sdk9111SPostTrg/9111int.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9111/Sdk9111SPostTrg/9111int.h deleted file mode 100644 index 1d3c26e..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9111/Sdk9111SPostTrg/9111int.h +++ /dev/null @@ -1,32 +0,0 @@ - -// 9111int.h : main header file for the PROJECT_NAME application -// - -#pragma once - -#ifndef __AFXWIN_H__ - #error "include 'stdafx.h' before including this file for PCH" -#endif - -#include "resource.h" // main symbols - - -// C9111intApp: -// See 9111int.cpp for the implementation of this class -// - -class C9111intApp : public CWinAppEx -{ -public: - C9111intApp(); - -// Overrides - public: - virtual BOOL InitInstance(); - -// Implementation - - DECLARE_MESSAGE_MAP() -}; - -extern C9111intApp theApp; \ No newline at end of file diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9111/Sdk9111SPostTrg/9111int.rc b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9111/Sdk9111SPostTrg/9111int.rc deleted file mode 100644 index 31dfd69..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9111/Sdk9111SPostTrg/9111int.rc +++ /dev/null @@ -1,328 +0,0 @@ -// Microsoft Visual C++ generated resource script. -// -#include "resource.h" - -#define APSTUDIO_READONLY_SYMBOLS -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 2 resource. -// -#ifndef APSTUDIO_INVOKED -#include "targetver.h" -#endif -#include "afxres.h" - -///////////////////////////////////////////////////////////////////////////// -#undef APSTUDIO_READONLY_SYMBOLS - -///////////////////////////////////////////////////////////////////////////// -// Chinese (Taiwan) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_CHT) -#ifdef _WIN32 -LANGUAGE LANG_CHINESE, SUBLANG_CHINESE_TRADITIONAL -#pragma code_page(950) -#endif //_WIN32 - -#ifdef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// TEXTINCLUDE -// - -1 TEXTINCLUDE -BEGIN - "resource.h\0" -END - -2 TEXTINCLUDE -BEGIN - "#ifndef APSTUDIO_INVOKED\r\n" - "#include ""targetver.h""\r\n" - "#endif\r\n" - "#include ""afxres.h""\r\n" - "\0" -END - -3 TEXTINCLUDE -BEGIN - "#define _AFX_NO_SPLITTER_RESOURCES\r\n" - "#define _AFX_NO_OLE_RESOURCES\r\n" - "#define _AFX_NO_TRACKER_RESOURCES\r\n" - "#define _AFX_NO_PROPERTY_RESOURCES\r\n" - "\r\n" - "#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)\r\n" - "LANGUAGE 9, 1\r\n" - "#pragma code_page(1252)\r\n" - "#include ""res\\My9111int.rc2"" // non-Microsoft Visual C++ edited resources\r\n" - "#include ""afxres.rc"" // Standard components\r\n" - "#endif\r\n" - "\0" -END - -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// Icon -// - -// Icon with lowest ID value placed first to ensure application icon -// remains consistent on all systems. -IDR_MAINFRAME ICON "res\\9111int.ico" -#endif // Chinese (Taiwan) resources -///////////////////////////////////////////////////////////////////////////// - - -///////////////////////////////////////////////////////////////////////////// -// English (U.S.) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -#ifdef _WIN32 -LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US -#pragma code_page(1252) -#endif //_WIN32 - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog -// - -IDD_ABOUTBOX DIALOGEX 0, 0, 170, 62 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "About 9111int" -FONT 8, "MS Shell Dlg", 0, 0, 0x1 -BEGIN - ICON IDR_MAINFRAME,IDC_STATIC,14,14,21,20 - LTEXT "9111int, Version 1.0",IDC_STATIC,42,14,114,8,SS_NOPREFIX - LTEXT "Copyright (C) 2010",IDC_STATIC,42,26,114,8 - DEFPUSHBUTTON "OK",IDOK,113,41,50,14,WS_GROUP -END - -IDD_MY9111INT_DIALOG DIALOGEX 0, 0, 365, 232 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU -EXSTYLE WS_EX_APPWINDOW -CAPTION "PCI-9111 Post-Trigger Autoscan" -FONT 8, "MS Shell Dlg", 0, 0, 0x1 -BEGIN - GROUPBOX "",IDC_STATIC_DRAW,45,9,227,161,NOT WS_VISIBLE - CONTROL 132,IDC_STATIC,"Static",SS_BITMAP,327,28,11,45 - CONTROL 131,IDC_STATIC,"Static",SS_BITMAP,298,29,9,44 - LTEXT "0",IDC_STATIC,286,29,10,11 - LTEXT "1",IDC_STATIC,286,40,10,11 - LTEXT "2",IDC_STATIC,286,51,10,11 - LTEXT "3",IDC_STATIC,286,63,10,11 - LTEXT "4",IDC_STATIC,318,29,10,11 - LTEXT "5",IDC_STATIC,318,40,10,11 - LTEXT "6",IDC_STATIC,318,51,10,11 - LTEXT "7",IDC_STATIC,318,63,10,11 - LTEXT "Range : +/- 5V",IDC_STATIC,283,130,57,15 - COMBOBOX IDC_COMBO_SCANCHAN,171,197,74,17,CBS_DROPDOWN | WS_VSCROLL | WS_TABSTOP - LTEXT "Scan Channels",IDC_STATIC,171,182,53,9 - EDITTEXT IDC_EDIT_SAMPLE_RATE,57,197,39,12,ES_AUTOHSCROLL | ES_READONLY - LTEXT "Sample Rate :",IDC_STATIC,57,182,49,9 - LTEXT "KHz",IDC_STATIC,109,198,15,9 - SCROLLBAR IDC_SCROLLBAR_RATE,97,195,9,11,SBS_VERT - PUSHBUTTON "Start",IDC_BT_START,275,188,75,22 -END - -IDD_CARDID_DIALOG DIALOGEX 0, 0, 165, 114 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "Card ID" -FONT 8, "MS Shell Dlg", 400, 0, 0x1 -BEGIN - COMBOBOX IDC_COMBO_CARDID,75,24,71,126,CBS_DROPDOWN | WS_VSCROLL | WS_TABSTOP - LTEXT "Card Number",IDC_STATIC_01,21,25,46,12 - PUSHBUTTON "OK",IDOK,22,72,58,19 - PUSHBUTTON "CANCEL",IDCANCEL,86,72,58,19 - COMBOBOX IDC_COMBO_CARDTYPE,75,46,71,126,CBS_DROPDOWN | WS_VSCROLL | WS_TABSTOP - LTEXT "Card Type",IDC_STATIC_2,29,47,37,12 -END - - -///////////////////////////////////////////////////////////////////////////// -// -// Version -// - -VS_VERSION_INFO VERSIONINFO - FILEVERSION 1,0,0,1 - PRODUCTVERSION 1,0,0,1 - FILEFLAGSMASK 0x3fL -#ifdef _DEBUG - FILEFLAGS 0x1L -#else - FILEFLAGS 0x0L -#endif - FILEOS 0x4L - FILETYPE 0x1L - FILESUBTYPE 0x0L -BEGIN - BLOCK "StringFileInfo" - BEGIN - BLOCK "040904e4" - BEGIN - VALUE "CompanyName", "TODO: " - VALUE "FileDescription", "TODO: " - VALUE "FileVersion", "1.0.0.1" - VALUE "InternalName", "9111int.exe" - VALUE "LegalCopyright", "TODO: (c) . All rights reserved." - VALUE "OriginalFilename", "9111int.exe" - VALUE "ProductName", "TODO: " - VALUE "ProductVersion", "1.0.0.1" - END - END - BLOCK "VarFileInfo" - BEGIN - VALUE "Translation", 0x409, 1252 - END -END - - -///////////////////////////////////////////////////////////////////////////// -// -// DESIGNINFO -// - -#ifdef APSTUDIO_INVOKED -GUIDELINES DESIGNINFO -BEGIN - IDD_ABOUTBOX, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 163 - TOPMARGIN, 7 - BOTTOMMARGIN, 55 - END - - IDD_MY9111INT_DIALOG, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 358 - TOPMARGIN, 7 - BOTTOMMARGIN, 225 - END - - IDD_CARDID_DIALOG, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 158 - TOPMARGIN, 7 - BOTTOMMARGIN, 107 - END -END -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog Info -// - -IDD_CARDID_DIALOG DLGINIT -BEGIN - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0030, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0031, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0032, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0033, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0034, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0035, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0036, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0037, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0038, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0039, - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3031, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3131, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3231, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3331, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3431, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3531, "\000" - IDC_COMBO_CARDTYPE, 0x403, 11, 0 -0x4350, 0x5f49, 0x3139, 0x3131, 0x4744, "\000" - IDC_COMBO_CARDTYPE, 0x403, 11, 0 -0x4350, 0x5f49, 0x3139, 0x3131, 0x5248, "\000" - 0 -END - -IDD_MY9111INT_DIALOG DLGINIT -BEGIN - IDC_COMBO_SCANCHAN, 0x403, 4, 0 -0x4843, 0x0030, - IDC_COMBO_SCANCHAN, 0x403, 8, 0 -0x4843, 0x7e30, 0x4843, 0x0031, - IDC_COMBO_SCANCHAN, 0x403, 8, 0 -0x4843, 0x7e30, 0x4843, 0x0032, - IDC_COMBO_SCANCHAN, 0x403, 8, 0 -0x4843, 0x7e30, 0x4843, 0x0033, - IDC_COMBO_SCANCHAN, 0x403, 8, 0 -0x4843, 0x7e30, 0x4843, 0x0034, - IDC_COMBO_SCANCHAN, 0x403, 8, 0 -0x4843, 0x7e30, 0x4843, 0x0035, - IDC_COMBO_SCANCHAN, 0x403, 8, 0 -0x4843, 0x7e30, 0x4843, 0x0036, - IDC_COMBO_SCANCHAN, 0x403, 8, 0 -0x4843, 0x7e30, 0x4843, 0x0037, - 0 -END - - -///////////////////////////////////////////////////////////////////////////// -// -// Bitmap -// - -IDB_BITMAP_SET1 BITMAP "res\\ch_set1.bmp" -IDB_BITMAP_SET2 BITMAP "res\\ch_set2.bmp" - -///////////////////////////////////////////////////////////////////////////// -// -// String Table -// - -STRINGTABLE -BEGIN - IDS_ABOUTBOX "&About 9111int..." -END - -#endif // English (U.S.) resources -///////////////////////////////////////////////////////////////////////////// - - - -#ifndef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 3 resource. -// -#define _AFX_NO_SPLITTER_RESOURCES -#define _AFX_NO_OLE_RESOURCES -#define _AFX_NO_TRACKER_RESOURCES -#define _AFX_NO_PROPERTY_RESOURCES - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -LANGUAGE 9, 1 -#pragma code_page(1252) -#include "res\My9111int.rc2" // non-Microsoft Visual C++ edited resources -#include "afxres.rc" // Standard components -#endif - -///////////////////////////////////////////////////////////////////////////// -#endif // not APSTUDIO_INVOKED - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9111/Sdk9111SPostTrg/9111int.sln b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9111/Sdk9111SPostTrg/9111int.sln deleted file mode 100644 index db230db..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9111/Sdk9111SPostTrg/9111int.sln +++ /dev/null @@ -1,20 +0,0 @@ - -Microsoft Visual Studio Solution File, Format Version 10.00 -# Visual Studio 2008 -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "9111int", "9111int.vcproj", "{702163FB-B6DF-4EF5-9491-FC54D71509BC}" -EndProject -Global - GlobalSection(SolutionConfigurationPlatforms) = preSolution - Debug|x64 = Debug|x64 - Release|x64 = Release|x64 - EndGlobalSection - GlobalSection(ProjectConfigurationPlatforms) = postSolution - {702163FB-B6DF-4EF5-9491-FC54D71509BC}.Debug|x64.ActiveCfg = Debug|x64 - {702163FB-B6DF-4EF5-9491-FC54D71509BC}.Debug|x64.Build.0 = Debug|x64 - {702163FB-B6DF-4EF5-9491-FC54D71509BC}.Release|x64.ActiveCfg = Release|x64 - {702163FB-B6DF-4EF5-9491-FC54D71509BC}.Release|x64.Build.0 = Release|x64 - EndGlobalSection - GlobalSection(SolutionProperties) = preSolution - HideSolutionNode = FALSE - EndGlobalSection -EndGlobal diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9111/Sdk9111SPostTrg/9111int.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9111/Sdk9111SPostTrg/9111int.suo deleted file mode 100644 index 5628340..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9111/Sdk9111SPostTrg/9111int.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9111/Sdk9111SPostTrg/9111int.vcproj b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9111/Sdk9111SPostTrg/9111int.vcproj deleted file mode 100644 index 81ec9b2..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9111/Sdk9111SPostTrg/9111int.vcproj +++ /dev/null @@ -1,294 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9111/Sdk9111SPostTrg/9111intDlg.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9111/Sdk9111SPostTrg/9111intDlg.cpp deleted file mode 100644 index 5cd7f9e..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9111/Sdk9111SPostTrg/9111intDlg.cpp +++ /dev/null @@ -1,525 +0,0 @@ - -// 9111intDlg.cpp : implementation file -// - -#include "stdafx.h" -#include "9111int.h" -#include "9111intDlg.h" - -#ifdef _DEBUG -#define new DEBUG_NEW -#endif - -CRect plotRect; -#define AI_SAMPLE_COUNT 10240 - -// CAboutDlg dialog used for App About - -class CAboutDlg : public CDialog -{ -public: - CAboutDlg(); - -// Dialog Data - enum { IDD = IDD_ABOUTBOX }; - - protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - -// Implementation -protected: - DECLARE_MESSAGE_MAP() -}; - -CAboutDlg::CAboutDlg() : CDialog(CAboutDlg::IDD) -{ -} - -void CAboutDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); -} - -BEGIN_MESSAGE_MAP(CAboutDlg, CDialog) -END_MESSAGE_MAP() - - -// C9111intDlg dialog - - - - -C9111intDlg::C9111intDlg(I16 hCard, U16 wCardType, CWnd* pParent /*=NULL*/) - : CDialog(C9111intDlg::IDD, pParent) -{ - m_hIcon = AfxGetApp()->LoadIcon(IDR_MAINFRAME); - - n_PlotWidth = n_PlotHeight = -1; - OnBrush = OffBrush = NULL; - - min_val = 0x00; - max_val = 0xFFFF; - - m_fSampleRate = 10000.0; // 10KHz - - m_hCard = hCard; - m_wCardType = wCardType; - m_wScanChans = 0; - m_nTimer = -1; - m_hMem=NULL; - - m_wRange = AD_B_5_V; - -} - -void C9111intDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); - DDX_Control(pDX, IDC_COMBO_SCANCHAN, m_cbScanChans); -} - -BEGIN_MESSAGE_MAP(C9111intDlg, CDialog) - ON_WM_SYSCOMMAND() - ON_WM_PAINT() - ON_WM_QUERYDRAGICON() - //}}AFX_MSG_MAP - ON_WM_DESTROY() - ON_WM_VSCROLL() - ON_CBN_SELCHANGE(IDC_COMBO_SCANCHAN, &C9111intDlg::OnScanChanSelchange) - ON_BN_CLICKED(IDC_BT_START, &C9111intDlg::OnStart) - ON_WM_TIMER() -END_MESSAGE_MAP() - - -// C9111intDlg message handlers - -BOOL C9111intDlg::OnInitDialog() -{ - CDialog::OnInitDialog(); - - // Add "About..." menu item to system menu. - - // IDM_ABOUTBOX must be in the system command range. - ASSERT((IDM_ABOUTBOX & 0xFFF0) == IDM_ABOUTBOX); - ASSERT(IDM_ABOUTBOX < 0xF000); - - CMenu* pSysMenu = GetSystemMenu(FALSE); - if (pSysMenu != NULL) - { - BOOL bNameValid; - CString strAboutMenu; - bNameValid = strAboutMenu.LoadString(IDS_ABOUTBOX); - ASSERT(bNameValid); - if (!strAboutMenu.IsEmpty()) - { - pSysMenu->AppendMenu(MF_SEPARATOR); - pSysMenu->AppendMenu(MF_STRING, IDM_ABOUTBOX, strAboutMenu); - } - } - - // Set the icon for this dialog. The framework does this automatically - // when the application's main window is not a dialog - SetIcon(m_hIcon, TRUE); // Set big icon - SetIcon(m_hIcon, FALSE); // Set small icon - - // TODO: Add extra initialization here - x_divider = 5; y_divider = 4; - - OnBrush = CreateSolidBrush( RGB(255,0,0) ); - OffBrush = CreateSolidBrush( RGB(125,0,0) ); - - RedPen.CreatePen( PS_SOLID, 1, RGB(255,0,0)); - GreenPen.CreatePen( PS_SOLID, 1, RGB(0,255,0)); - YellowPen.CreatePen( PS_SOLID, 1, RGB(255,255,0)); - BluePen.CreatePen( PS_SOLID, 1, RGB(0,0,255)); - LTBluePen.CreatePen( PS_SOLID, 1, RGB(0,128,255)); - LTRedPen.CreatePen( PS_SOLID, 1, RGB(255,128,0)); - LTGreenPen.CreatePen( PS_SOLID, 1, RGB(0,128,0)); - WhitePen.CreatePen( PS_SOLID, 1, RGB(255,255,255)); - - if( n_PlotWidth == -1 && n_PlotHeight == -1 ) - { - ((CWnd*)GetDlgItem(IDC_STATIC_DRAW))->GetWindowRect(&plotRect); - ScreenToClient(&plotRect); - - n_PlotWidth = min( plotRect.Width(), 512); - n_PlotHeight = plotRect.Height() - 10; - } - - - // set the default SampleRate - SetDlgItemInt( IDC_EDIT_SAMPLE_RATE, (UINT)(m_fSampleRate/1000) ); - m_cbScanChans.SetCurSel( 0 ); - - max_range = 5.0; - min_range = -5.0; - - return TRUE; // return TRUE unless you set the focus to a control -} - -void C9111intDlg::OnSysCommand(UINT nID, LPARAM lParam) -{ - if ((nID & 0xFFF0) == IDM_ABOUTBOX) - { - CAboutDlg dlgAbout; - dlgAbout.DoModal(); - } - else - { - CDialog::OnSysCommand(nID, lParam); - } -} - -// If you add a minimize button to your dialog, you will need the code below -// to draw the icon. For MFC applications using the document/view model, -// this is automatically done for you by the framework. - -void C9111intDlg::OnPaint() -{ - if (IsIconic()) - { - CPaintDC dc(this); // device context for painting - - SendMessage(WM_ICONERASEBKGND, reinterpret_cast(dc.GetSafeHdc()), 0); - - // Center icon in client rectangle - int cxIcon = GetSystemMetrics(SM_CXICON); - int cyIcon = GetSystemMetrics(SM_CYICON); - CRect rect; - GetClientRect(&rect); - int x = (rect.Width() - cxIcon + 1) / 2; - int y = (rect.Height() - cyIcon + 1) / 2; - - // Draw the icon - dc.DrawIcon(x, y, m_hIcon); - } - else - { - redraw_display_area(); - CDialog::OnPaint(); - } -} - -// The system calls this function to obtain the cursor to display while the user drags -// the minimized window. -HCURSOR C9111intDlg::OnQueryDragIcon() -{ - return static_cast(m_hIcon); -} - - -void C9111intDlg::redraw_display_area(void) -{ - CPen *oldPen; - - int oldMode; - COLORREF oldColor; - - CString y_lable; - - CPen minor_tick( PS_SOLID,1,RGB(132,130,132) ); -// CPen y_grid( PS_SOLID,1,RGB(206,203,132) ); - - int i, x_intv, y_intv; -// long total_sec; - - CClientDC dc_plot(this); - - // draw the base-line for x-y axises - oldPen = (CPen *)dc_plot.SelectStockObject(BLACK_PEN); - - // redraw the background - dc_plot.FillSolidRect( plotRect, RGB(0,0,0) ); - - // Re-Draw the AREA for Y-Lable - { - CBrush DIALOG_BRUSH; - CRect redraw_area, full_client; - - GetClientRect(&full_client); - ScreenToClient(&full_client); - - redraw_area.left = full_client.left; - redraw_area.top = plotRect.top - 5; - redraw_area.right = plotRect.left - 3; - redraw_area.bottom = plotRect.bottom + 10; - - DIALOG_BRUSH.CreateSysColorBrush( COLOR_3DFACE ); - - dc_plot.FillRect( redraw_area, &DIALOG_BRUSH ); - - DIALOG_BRUSH.DeleteObject(); - } - - dc_plot.MoveTo( plotRect.left - 3, plotRect.top ); - dc_plot.LineTo( plotRect.left - 3, plotRect.bottom ); - - // calculate the interval for tick/grid - y_intv = (plotRect.Height() - 10) /y_divider; - x_intv = plotRect.Width()/x_divider; - - - // set the color for tick - oldColor = dc_plot.SetTextColor( RGB(0,0,0) ); - oldMode = dc_plot.SetBkMode( TRANSPARENT ); - - for( i=0; i<= y_divider; i++ ) - { - CString tick_str; - CRect tmp_rect, tick_rect; - - // draw the tick for y-axis - dc_plot.MoveTo( plotRect.left -12, plotRect.bottom -5 - (i*y_intv) ); - dc_plot.LineTo( plotRect.left -3, plotRect.bottom -5 - (i*y_intv) ); - - tick_str.Format( _T("%.1f"), ( ((max_range-min_range)/y_divider) * i)+min_range ); - - // calculate the rectangle for text - dc_plot.DrawText( tick_str, &tmp_rect, DT_CALCRECT|DT_SINGLELINE ); - tick_rect.right = plotRect.left -14; - tick_rect.left = tick_rect.right - tmp_rect.Width(); - tick_rect.top = plotRect.bottom -5 - (i*y_intv) - tmp_rect.Height()/2; - tick_rect.bottom = tick_rect.top + tmp_rect.Height(); - - // draw the text - dc_plot.DrawText( tick_str, &tick_rect, DT_SINGLELINE|DT_RIGHT ); - - } - - // draw the minor_tick for Y axises - dc_plot.SelectObject(&minor_tick); - for( i=0; i< y_divider; i++ ) - { - dc_plot.MoveTo( plotRect.left -9, plotRect.bottom -5 - (i*y_intv) - y_intv/2 ); - dc_plot.LineTo( plotRect.left -4, plotRect.bottom -5 - (i*y_intv) - y_intv/2 ); - } - - dc_plot.SetTextColor( oldColor ); - dc_plot.SetBkMode( oldMode ); - dc_plot.SelectObject( oldPen ); -} - -void C9111intDlg::OnDestroy() -{ - CDialog::OnDestroy(); - - // TODO: Add your message handler code here - if( m_nTimer != -1 ) - { - KillTimer( m_nTimer ); - m_nTimer = -1; - } - - if (m_hMem != NULL) - { - GlobalUnfix(m_hMem); - GlobalUnlock(m_hMem); - GlobalFree(m_hMem); - - m_hMem = NULL; - } - - if( OnBrush != NULL ) - ::DeleteObject( OnBrush ); - - if( OffBrush != NULL ) - ::DeleteObject( OffBrush ); - - RedPen.DeleteObject(); - GreenPen.DeleteObject(); - YellowPen.DeleteObject(); - BluePen.DeleteObject(); - LTBluePen.DeleteObject(); - LTRedPen.DeleteObject(); - LTGreenPen.DeleteObject(); - WhitePen.DeleteObject(); -} - -void C9111intDlg::OnVScroll(UINT nSBCode, UINT nPos, CScrollBar* pScrollBar) -{ - // TODO: Add your message handler code here and/or call default - switch ( nSBCode ) - { - case SB_LINEUP : - m_fSampleRate += 50000.0; - if (m_fSampleRate > 1000000.0 ) m_fSampleRate = 1000000.0; - break; - case SB_LINEDOWN: - m_fSampleRate -= 50000; - if (m_fSampleRate < 50000 ) m_fSampleRate = 50000; - break; - } - - SetDlgItemInt( IDC_EDIT_SAMPLE_RATE, (UINT)(m_fSampleRate/1000) ); - - CDialog::OnVScroll(nSBCode, nPos, pScrollBar); -} - -void C9111intDlg::OnScanChanSelchange() -{ - // TODO: Add your control notification handler code here - int nIndex; - - nIndex = m_cbScanChans.GetCurSel(); - m_wScanChans = (U16)nIndex; -} - -void C9111intDlg::OnStart() -{ - // TODO: Add your control notification handler code here - DWORD mem_size; - CString strTemp; - I16 err; - - GetDlgItem( IDC_BT_START )->EnableWindow(FALSE); - - if (m_hMem != NULL) - { - GlobalUnfix(m_hMem); - GlobalUnlock(m_hMem); - GlobalFree(m_hMem); - - m_hMem = NULL; - } - - // allocate a memory for user DMA buffer - mem_size = AI_SAMPLE_COUNT * sizeof(I16); - m_hMem = GlobalAlloc(GMEM_ZEROINIT, mem_size); - m_pAIBuf = (U16*) GlobalLock(m_hMem); - - if (m_pAIBuf == NULL ) - { - AfxMessageBox( TEXT("Memory allocation failed"), MB_OK); - } - - GlobalFix(m_hMem); - - m_oldY[0] = m_oldY[1] = m_oldY[2] = m_oldY[3] = m_oldY[4] = m_oldY[5] = m_oldY[6] = m_oldY[7] = -1; - m_oldX[0] = m_oldX[1] = m_oldX[2] = m_oldX[3] = m_oldX[4] = m_oldX[5] = m_oldX[6] = m_oldX[7] = -1; - - err=AI_9111_Config(m_hCard, TRIG_INT_PACER, P9111_TRGMOD_POST, 1024); - if (err!=0) - { - strTemp.Format( TEXT("AI_9111_Config error=%d"), err); - AfxMessageBox( strTemp ); - } - - err=AI_AsyncDblBufferMode(m_hCard, 0); // single-buffer mode - if (err!=0) - { - strTemp.Format( TEXT("AI_DblBufferMode error=%d"), err); - AfxMessageBox( strTemp ); - } - - err=AI_ContScanChannels (m_hCard, m_wScanChans, m_wRange, (U16*)m_pAIBuf, AI_SAMPLE_COUNT, (F64)m_fSampleRate, ASYNCH_OP); - if (err!=0) - { - strTemp.Format( TEXT("AI_ContReadChannel error=%d"), err); - AfxMessageBox( strTemp ); - } - - m_nTimer = SetTimer( 1, 100, NULL ); - -} - -int C9111intDlg::display_buffer_data(U16* pBuf) -{ - CClientDC dc_plot(this); - int nDraw_Origin_Y; - int cur_channel; - - int newY = -1; - int newX = -1; - U32 index; - I16 ai_data; - - // redraw the background - dc_plot.FillSolidRect( plotRect, RGB(0,0,0) ); - - nDraw_Origin_Y = ( plotRect.bottom - 5 ) - n_PlotHeight/2; - - for( index=0; index> 4; - cur_channel = pBuf[index] & 0x0f; - newY = (int)( nDraw_Origin_Y - ((n_PlotHeight * ai_data) >> 12 ) ); // (n_PlotHeight * ai_data / 4096 ) ); // ( (n_PlotHeight/2) * ai_data/2048 ) ); - } - else // m_wCardType == PCI_9111HR - { - cur_channel = index%(m_wScanChans+1); - ai_data = (I16)(pBuf[index]); - newY = (int)( nDraw_Origin_Y - ((n_PlotHeight * ai_data) >> 16) ); // ( n_PlotHeight * ai_data / 65536) ); // ( (n_PlotHeight/2) * ai_data/32768 ) ); - } - - newX = (int)( index*n_PlotWidth/AI_SAMPLE_COUNT + plotRect.left ); - - switch(cur_channel) - { - case 0: - dc_plot.SelectObject(&YellowPen); - break; - case 1: - dc_plot.SelectObject(<GreenPen); - break; - case 2: - dc_plot.SelectObject(&BluePen); - break; - case 3: - dc_plot.SelectObject(&RedPen); - break; - case 4: - dc_plot.SelectObject(<BluePen); - break; - case 5: - dc_plot.SelectObject(<RedPen); - break; - case 6: - dc_plot.SelectObject(&GreenPen); - break; - case 7: - dc_plot.SelectObject(&WhitePen); - break; - } - - if ( m_oldX[cur_channel] == -1 ) - { - dc_plot.MoveTo( newX, newY ); - } - else - { - dc_plot.MoveTo( m_oldX[cur_channel], m_oldY[cur_channel] ); - dc_plot.LineTo( newX, newY ); - } - - m_oldX[cur_channel] = newX; - m_oldY[cur_channel] = newY; - } - - return 0; -} - -void C9111intDlg::OnTimer(UINT_PTR nIDEvent) -{ - // TODO: Add your message handler code here and/or call default - BOOLEAN fstop; - U32 count; - - AI_AsyncCheck(m_hCard, &fstop, &count); - - if( fstop == TRUE ) - { - AI_AsyncClear(m_hCard, &count); - - KillTimer( m_nTimer ); - m_nTimer = -1; - - display_buffer_data( m_pAIBuf ); - - GetDlgItem( IDC_BT_START )->EnableWindow(TRUE); - } - - CDialog::OnTimer(nIDEvent); -} diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9111/Sdk9111SPostTrg/9111intDlg.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9111/Sdk9111SPostTrg/9111intDlg.h deleted file mode 100644 index 10e32f7..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9111/Sdk9111SPostTrg/9111intDlg.h +++ /dev/null @@ -1,76 +0,0 @@ - -// 9111intDlg.h : header file -#pragma once -#include "afxcmn.h" -#include "afxwin.h" - -#include "Dask64.h" - -#ifndef MAX_CHAN_9111 -#define MAX_CHAN_9111 16 -#endif - -// C9111intDlg dialog -class C9111intDlg : public CDialog -{ -// Construction -public: - C9111intDlg(I16 hCard, U16 wCardType, CWnd* pParent = NULL); // standard constructor - -// Dialog Data - enum { IDD = IDD_MY9111INT_DIALOG }; - - protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - - -// Implementation -protected: - HICON m_hIcon; - UINT_PTR m_nTimer; - I16 m_hCard; - U16 m_wCardType; - double m_fSampleRate; - U16 m_wScanChans; - HANDLE m_hMem; - U16 *m_pAIBuf; - U16 m_wRange; - int m_oldY[8]; - int m_oldX[8]; - - // Generated message map functions - virtual BOOL OnInitDialog(); - afx_msg void OnSysCommand(UINT nID, LPARAM lParam); - afx_msg void OnPaint(); - afx_msg HCURSOR OnQueryDragIcon(); - DECLARE_MESSAGE_MAP() - -public: - WORD max_val; - WORD min_val; - double max_range; - double min_range; - int n_PlotWidth; - int n_PlotHeight; - int y_divider; - int x_divider; - int m_DisplayScale; - HBRUSH OnBrush; - HBRUSH OffBrush; - CPen RedPen; - CPen GreenPen; - CPen YellowPen; - CPen BluePen; - CPen LTBluePen; - CPen LTRedPen; - CPen LTGreenPen; - CPen WhitePen; - void redraw_display_area(void); - afx_msg void OnDestroy(); - CComboBox m_cbScanChans; - afx_msg void OnVScroll(UINT nSBCode, UINT nPos, CScrollBar* pScrollBar); - afx_msg void OnScanChanSelchange(); - afx_msg void OnStart(); - int display_buffer_data(U16* pBuf); - afx_msg void OnTimer(UINT_PTR nIDEvent); -}; diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9111/Sdk9111SPostTrg/CardIDDlg.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9111/Sdk9111SPostTrg/CardIDDlg.cpp deleted file mode 100644 index ae5d191..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9111/Sdk9111SPostTrg/CardIDDlg.cpp +++ /dev/null @@ -1,75 +0,0 @@ -// CardIDDlg.cpp : implementation file -// -#include "stdafx.h" -#include "9111int.h" -#include "9111intDlg.h" -#include "CardIDDlg.h" - -// CCardIDDlg dialog - -IMPLEMENT_DYNAMIC(CCardIDDlg, CDialog) - -CCardIDDlg::CCardIDDlg(int nCardIdx, CWnd* pParent /*=NULL*/) - : CDialog(CCardIDDlg::IDD, pParent) -{ - m_nCardIdx = nCardIdx; -} - -CCardIDDlg::~CCardIDDlg() -{ -} - -void CCardIDDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); - DDX_Control(pDX, IDC_COMBO_CARDID, m_cbCardID); - DDX_Control(pDX, IDC_COMBO_CARDTYPE, m_cbCardType); -} - - -BEGIN_MESSAGE_MAP(CCardIDDlg, CDialog) -// ON_CBN_SELCHANGE(IDC_COMBO_CARDID, &CCardIDDlg::OnCbnSelchangeComboCardid) -ON_BN_CLICKED(IDOK, &CCardIDDlg::OnBnClickedOk) -//ON_WM_CTLCOLOR() -END_MESSAGE_MAP() - - -// CCardIDDlg message handlers - - -void CCardIDDlg::OnBnClickedOk() -{ - // TODO: Add your control notification handler code here - -// UpdateData(TRUE); - m_nCardIdx = m_cbCardID.GetCurSel(); - m_CardType = PCI_9111DG + m_cbCardType.GetCurSel(); - - OnOK(); -} - -BOOL CCardIDDlg::OnInitDialog() -{ - CDialog::OnInitDialog(); - - // TODO: Add extra initialization here - m_cbCardID.SetCurSel( m_nCardIdx ); - - m_cbCardType.SetCurSel( 0 ); - m_CardType = PCI_9111DG; - - return TRUE; // return TRUE unless you set the focus to a control - // EXCEPTION: OCX Property Pages should return FALSE -} - -// the function to get the selected CardID -int CCardIDDlg::GetCardID(void) -{ - return m_nCardIdx; -} - - -U16 CCardIDDlg::GetCardType(void) -{ - return m_CardType; -} \ No newline at end of file diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9111/Sdk9111SPostTrg/CardIDDlg.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9111/Sdk9111SPostTrg/CardIDDlg.h deleted file mode 100644 index 23399df..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9111/Sdk9111SPostTrg/CardIDDlg.h +++ /dev/null @@ -1,35 +0,0 @@ -#pragma once -#include "afxwin.h" - -#include "Dask64.h" - -// CCardIDDlg dialog - -class CCardIDDlg : public CDialog -{ - DECLARE_DYNAMIC(CCardIDDlg) - -public: - CCardIDDlg(int nCardIdx, CWnd* pParent = NULL); // standard constructor - virtual ~CCardIDDlg(); - -// Dialog Data - enum { IDD = IDD_CARDID_DIALOG }; - -protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - - DECLARE_MESSAGE_MAP() -public: - virtual BOOL OnInitDialog(); - afx_msg void OnBnClickedOk(); - // the setting of CardID ComboBox - int m_nCardIdx; - U16 m_CardType; - // the control of CardID ComboBox - CComboBox m_cbCardID; - CComboBox m_cbCardType; - // the function to get the selected CardID - int GetCardID(void); - U16 GetCardType(void); -}; diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9111/Sdk9111SPostTrg/ReadMe.txt b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9111/Sdk9111SPostTrg/ReadMe.txt deleted file mode 100644 index 5b549ce..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9111/Sdk9111SPostTrg/ReadMe.txt +++ /dev/null @@ -1,93 +0,0 @@ -================================================================================ - MICROSOFT FOUNDATION CLASS LIBRARY : 9111int Project Overview -=============================================================================== - -The application wizard has created this 9111int application for -you. This application not only demonstrates the basics of using the Microsoft -Foundation Classes but is also a starting point for writing your application. - -This file contains a summary of what you will find in each of the files that -make up your 9111int application. - -9111int.vcproj - This is the main project file for VC++ projects generated using an application wizard. - It contains information about the version of Visual C++ that generated the file, and - information about the platforms, configurations, and project features selected with the - application wizard. - -9111int.h - This is the main header file for the application. It includes other - project specific headers (including Resource.h) and declares the - C9111intApp application class. - -9111int.cpp - This is the main application source file that contains the application - class C9111intApp. - -9111int.rc - This is a listing of all of the Microsoft Windows resources that the - program uses. It includes the icons, bitmaps, and cursors that are stored - in the RES subdirectory. This file can be directly edited in Microsoft - Visual C++. Your project resources are in 1033. - -res\9111int.ico - This is an icon file, which is used as the application's icon. This - icon is included by the main resource file 9111int.rc. - -res\My9111int.rc2 - This file contains resources that are not edited by Microsoft - Visual C++. You should place all resources not editable by - the resource editor in this file. - - -///////////////////////////////////////////////////////////////////////////// - -The application wizard creates one dialog class: - -9111intDlg.h, 9111intDlg.cpp - the dialog - These files contain your C9111intDlg class. This class defines - the behavior of your application's main dialog. The dialog's template is - in 9111int.rc, which can be edited in Microsoft Visual C++. - - -///////////////////////////////////////////////////////////////////////////// - -Other Features: - -ActiveX Controls - The application includes support to use ActiveX controls. - -///////////////////////////////////////////////////////////////////////////// - -Other standard files: - -StdAfx.h, StdAfx.cpp - These files are used to build a precompiled header (PCH) file - named 9111int.pch and a precompiled types file named StdAfx.obj. - -Resource.h - This is the standard header file, which defines new resource IDs. - Microsoft Visual C++ reads and updates this file. - -9111int.manifest - Application manifest files are used by Windows XP to describe an applications - dependency on specific versions of Side-by-Side assemblies. The loader uses this - information to load the appropriate assembly from the assembly cache or private - from the application. The Application manifest maybe included for redistribution - as an external .manifest file that is installed in the same folder as the application - executable or it may be included in the executable in the form of a resource. -///////////////////////////////////////////////////////////////////////////// - -Other notes: - -The application wizard uses "TODO:" to indicate parts of the source code you -should add to or customize. - -If your application uses MFC in a shared DLL, you will need -to redistribute the MFC DLLs. If your application is in a language -other than the operating system's locale, you will also have to -redistribute the corresponding localized resources MFC90XXX.DLL. -For more information on both of these topics, please see the section on -redistributing Visual C++ applications in MSDN documentation. - -///////////////////////////////////////////////////////////////////////////// diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9111/Sdk9111SPostTrg/res/9111int.ico b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9111/Sdk9111SPostTrg/res/9111int.ico deleted file mode 100644 index d56fbcd..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9111/Sdk9111SPostTrg/res/9111int.ico and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9111/Sdk9111SPostTrg/res/My9111int.rc2 b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9111/Sdk9111SPostTrg/res/My9111int.rc2 deleted file mode 100644 index 383cde2..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9111/Sdk9111SPostTrg/res/My9111int.rc2 +++ /dev/null @@ -1,13 +0,0 @@ -// -// My9111int.RC2 - resources Microsoft Visual C++ does not edit directly -// - -#ifdef APSTUDIO_INVOKED -#error this file is not editable by Microsoft Visual C++ -#endif //APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// Add manually edited resources here... - -///////////////////////////////////////////////////////////////////////////// diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9111/Sdk9111SPostTrg/res/ch_set1.bmp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9111/Sdk9111SPostTrg/res/ch_set1.bmp deleted file mode 100644 index f2374ed..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9111/Sdk9111SPostTrg/res/ch_set1.bmp and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9111/Sdk9111SPostTrg/res/ch_set2.bmp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9111/Sdk9111SPostTrg/res/ch_set2.bmp deleted file mode 100644 index 32d0915..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9111/Sdk9111SPostTrg/res/ch_set2.bmp and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9111/Sdk9111SPostTrg/resource.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9111/Sdk9111SPostTrg/resource.h deleted file mode 100644 index d306167..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9111/Sdk9111SPostTrg/resource.h +++ /dev/null @@ -1,33 +0,0 @@ -//{{NO_DEPENDENCIES}} -// Microsoft Visual C++ generated include file. -// Used by 9111int.rc -// -#define IDM_ABOUTBOX 0x0010 -#define IDD_ABOUTBOX 100 -#define IDS_ABOUTBOX 101 -#define IDD_MY9111INT_DIALOG 102 -#define IDR_MAINFRAME 128 -#define IDD_CARDID_DIALOG 129 -#define IDB_BITMAP_SET1 131 -#define IDB_BITMAP_SET2 132 -#define IDC_STATIC_DRAW 1000 -#define IDC_COMBO_CARDID 1001 -#define IDC_COMBO_SCANCHAN 1001 -#define IDC_COMBO_CARDTYPE 1002 -#define IDC_BUTTON1 1002 -#define IDC_BT_START 1002 -#define IDC_EDIT_SAMPLE_RATE 1003 -#define IDC_SCROLLBAR_RATE 1006 -#define IDC_STATIC_01 1014 -#define IDC_STATIC_2 1015 - -// Next default values for new objects -// -#ifdef APSTUDIO_INVOKED -#ifndef APSTUDIO_READONLY_SYMBOLS -#define _APS_NEXT_RESOURCE_VALUE 134 -#define _APS_NEXT_COMMAND_VALUE 32771 -#define _APS_NEXT_CONTROL_VALUE 1003 -#define _APS_NEXT_SYMED_VALUE 101 -#endif -#endif diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9111/Sdk9111SPostTrg/stdafx.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9111/Sdk9111SPostTrg/stdafx.cpp deleted file mode 100644 index ef80626..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9111/Sdk9111SPostTrg/stdafx.cpp +++ /dev/null @@ -1,8 +0,0 @@ - -// stdafx.cpp : source file that includes just the standard includes -// 9111int.pch will be the pre-compiled header -// stdafx.obj will contain the pre-compiled type information - -#include "stdafx.h" - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9111/Sdk9111SPostTrg/stdafx.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9111/Sdk9111SPostTrg/stdafx.h deleted file mode 100644 index 12123e2..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9111/Sdk9111SPostTrg/stdafx.h +++ /dev/null @@ -1,60 +0,0 @@ - -// stdafx.h : include file for standard system include files, -// or project specific include files that are used frequently, -// but are changed infrequently - -#pragma once - -#ifndef _SECURE_ATL -#define _SECURE_ATL 1 -#endif - -#ifndef VC_EXTRALEAN -#define VC_EXTRALEAN // Exclude rarely-used stuff from Windows headers -#endif - -#include "targetver.h" - -#define _ATL_CSTRING_EXPLICIT_CONSTRUCTORS // some CString constructors will be explicit - -// turns off MFC's hiding of some common and often safely ignored warning messages -#define _AFX_ALL_WARNINGS - -#include // MFC core and standard components -#include // MFC extensions - - -#include // MFC Automation classes - - - -#ifndef _AFX_NO_OLE_SUPPORT -#include // MFC support for Internet Explorer 4 Common Controls -#endif -#ifndef _AFX_NO_AFXCMN_SUPPORT -#include // MFC support for Windows Common Controls -#endif // _AFX_NO_AFXCMN_SUPPORT - -#include // MFC support for ribbons and control bars - - - - - - - - - -#ifdef _UNICODE -#if defined _M_IX86 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='x86' publicKeyToken='6595b64144ccf1df' language='*'\"") -#elif defined _M_IA64 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='ia64' publicKeyToken='6595b64144ccf1df' language='*'\"") -#elif defined _M_X64 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='amd64' publicKeyToken='6595b64144ccf1df' language='*'\"") -#else -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='*' publicKeyToken='6595b64144ccf1df' language='*'\"") -#endif -#endif - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9111/Sdk9111SPostTrg/targetver.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9111/Sdk9111SPostTrg/targetver.h deleted file mode 100644 index 11730d5..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9111/Sdk9111SPostTrg/targetver.h +++ /dev/null @@ -1,26 +0,0 @@ - -#pragma once - -// The following macros define the minimum required platform. The minimum required platform -// is the earliest version of Windows, Internet Explorer etc. that has the necessary features to run -// your application. The macros work by enabling all features available on platform versions up to and -// including the version specified. - -// Modify the following defines if you have to target a platform prior to the ones specified below. -// Refer to MSDN for the latest info on corresponding values for different platforms. -#ifndef WINVER // Specifies that the minimum required platform is Windows Vista. -#define WINVER 0x0600 // Change this to the appropriate value to target other versions of Windows. -#endif - -#ifndef _WIN32_WINNT // Specifies that the minimum required platform is Windows Vista. -#define _WIN32_WINNT 0x0600 // Change this to the appropriate value to target other versions of Windows. -#endif - -#ifndef _WIN32_WINDOWS // Specifies that the minimum required platform is Windows 98. -#define _WIN32_WINDOWS 0x0410 // Change this to the appropriate value to target Windows Me or later. -#endif - -#ifndef _WIN32_IE // Specifies that the minimum required platform is Internet Explorer 7.0. -#define _WIN32_IE 0x0700 // Change this to the appropriate value to target other versions of IE. -#endif - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9112/SDK9112/CardIDDlg.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9112/SDK9112/CardIDDlg.cpp deleted file mode 100644 index 29380ff..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9112/SDK9112/CardIDDlg.cpp +++ /dev/null @@ -1,64 +0,0 @@ -// CardIDDlg.cpp : implementation file -// - -#include "stdafx.h" -#include "Util9112.h" -#include "CardIDDlg.h" - -// CCardIDDlg dialog - -IMPLEMENT_DYNAMIC(CCardIDDlg, CDialog) - -CCardIDDlg::CCardIDDlg(int nCardIdx, CWnd* pParent /*=NULL*/) - : CDialog(CCardIDDlg::IDD, pParent) -{ - m_nCardIdx = nCardIdx; -} - -CCardIDDlg::~CCardIDDlg() -{ -} - -void CCardIDDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); - DDX_Control(pDX, IDC_COMBO_CARDID, m_cbCardID); -} - - -BEGIN_MESSAGE_MAP(CCardIDDlg, CDialog) -// ON_CBN_SELCHANGE(IDC_COMBO_CARDID, &CCardIDDlg::OnCbnSelchangeComboCardid) -ON_BN_CLICKED(IDOK, &CCardIDDlg::OnBnClickedOk) -//ON_WM_CTLCOLOR() -END_MESSAGE_MAP() - - -// CCardIDDlg message handlers - - -void CCardIDDlg::OnBnClickedOk() -{ - // TODO: Add your control notification handler code here - -// UpdateData(TRUE); - m_nCardIdx = m_cbCardID.GetCurSel(); - - OnOK(); -} - -BOOL CCardIDDlg::OnInitDialog() -{ - CDialog::OnInitDialog(); - - // TODO: Add extra initialization here - m_cbCardID.SetCurSel( m_nCardIdx ); - - return TRUE; // return TRUE unless you set the focus to a control - // EXCEPTION: OCX Property Pages should return FALSE -} - -// the function to get the selected CardID -int CCardIDDlg::GetCardID(void) -{ - return m_nCardIdx; -} diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9112/SDK9112/CardIDDlg.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9112/SDK9112/CardIDDlg.h deleted file mode 100644 index 2203a80..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9112/SDK9112/CardIDDlg.h +++ /dev/null @@ -1,33 +0,0 @@ -#pragma once -#include "afxwin.h" - -#include "Dask64.h" - -// CCardIDDlg dialog - -class CCardIDDlg : public CDialog -{ - DECLARE_DYNAMIC(CCardIDDlg) - -public: - CCardIDDlg(int nCardIdx, CWnd* pParent = NULL); // standard constructor - virtual ~CCardIDDlg(); - -// Dialog Data - enum { IDD = IDD_CARDID_DIALOG }; - -protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - - DECLARE_MESSAGE_MAP() -public: - virtual BOOL OnInitDialog(); - afx_msg void OnBnClickedOk(); - // the setting of CardID ComboBox - int m_nCardIdx; - U16 m_CardType; - // the control of CardID ComboBox - CComboBox m_cbCardID; - // the function to get the selected CardID - int GetCardID(void); -}; diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9112/SDK9112/ReadMe.txt b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9112/SDK9112/ReadMe.txt deleted file mode 100644 index a483fc1..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9112/SDK9112/ReadMe.txt +++ /dev/null @@ -1,93 +0,0 @@ -================================================================================ - MICROSOFT FOUNDATION CLASS LIBRARY : Util9111 Project Overview -=============================================================================== - -The application wizard has created this Util9111 application for -you. This application not only demonstrates the basics of using the Microsoft -Foundation Classes but is also a starting point for writing your application. - -This file contains a summary of what you will find in each of the files that -make up your Util9111 application. - -Util9111.vcproj - This is the main project file for VC++ projects generated using an application wizard. - It contains information about the version of Visual C++ that generated the file, and - information about the platforms, configurations, and project features selected with the - application wizard. - -Util9111.h - This is the main header file for the application. It includes other - project specific headers (including Resource.h) and declares the - CUtil9111App application class. - -Util9111.cpp - This is the main application source file that contains the application - class CUtil9111App. - -Util9111.rc - This is a listing of all of the Microsoft Windows resources that the - program uses. It includes the icons, bitmaps, and cursors that are stored - in the RES subdirectory. This file can be directly edited in Microsoft - Visual C++. Your project resources are in 1033. - -res\Util9111.ico - This is an icon file, which is used as the application's icon. This - icon is included by the main resource file Util9111.rc. - -res\Util9111.rc2 - This file contains resources that are not edited by Microsoft - Visual C++. You should place all resources not editable by - the resource editor in this file. - - -///////////////////////////////////////////////////////////////////////////// - -The application wizard creates one dialog class: - -Util9111Dlg.h, Util9111Dlg.cpp - the dialog - These files contain your CUtil9111Dlg class. This class defines - the behavior of your application's main dialog. The dialog's template is - in Util9111.rc, which can be edited in Microsoft Visual C++. - - -///////////////////////////////////////////////////////////////////////////// - -Other Features: - -ActiveX Controls - The application includes support to use ActiveX controls. - -///////////////////////////////////////////////////////////////////////////// - -Other standard files: - -StdAfx.h, StdAfx.cpp - These files are used to build a precompiled header (PCH) file - named Util9111.pch and a precompiled types file named StdAfx.obj. - -Resource.h - This is the standard header file, which defines new resource IDs. - Microsoft Visual C++ reads and updates this file. - -Util9111.manifest - Application manifest files are used by Windows XP to describe an applications - dependency on specific versions of Side-by-Side assemblies. The loader uses this - information to load the appropriate assembly from the assembly cache or private - from the application. The Application manifest maybe included for redistribution - as an external .manifest file that is installed in the same folder as the application - executable or it may be included in the executable in the form of a resource. -///////////////////////////////////////////////////////////////////////////// - -Other notes: - -The application wizard uses "TODO:" to indicate parts of the source code you -should add to or customize. - -If your application uses MFC in a shared DLL, you will need -to redistribute the MFC DLLs. If your application is in a language -other than the operating system's locale, you will also have to -redistribute the corresponding localized resources MFC90XXX.DLL. -For more information on both of these topics, please see the section on -redistributing Visual C++ applications in MSDN documentation. - -///////////////////////////////////////////////////////////////////////////// diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9112/SDK9112/Util9111.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9112/SDK9112/Util9111.suo deleted file mode 100644 index 7bd1d29..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9112/SDK9112/Util9111.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9112/SDK9112/Util9112.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9112/SDK9112/Util9112.cpp deleted file mode 100644 index ce1f137..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9112/SDK9112/Util9112.cpp +++ /dev/null @@ -1,111 +0,0 @@ - -// Util9112.cpp : Defines the class behaviors for the application. -// - -#include "stdafx.h" -#include "Util9112.h" -#include "Util9112Dlg.h" -#include "CardIDDlg.h" - -#ifdef _DEBUG -#define new DEBUG_NEW -#endif - - -// CUtil9112App - -BEGIN_MESSAGE_MAP(CUtil9112App, CWinAppEx) - ON_COMMAND(ID_HELP, &CWinApp::OnHelp) -END_MESSAGE_MAP() - - -// CUtil9112App construction - -CUtil9112App::CUtil9112App() -{ - // TODO: add construction code here, - // Place all significant initialization in InitInstance -} - - -// The one and only CUtil9112App object - -CUtil9112App theApp; - - -// CUtil9112App initialization - -BOOL CUtil9112App::InitInstance() -{ - int nCardID = 0; - I16 hCard; - CString strTemp; - INT_PTR nResponse; - - // InitCommonControlsEx() is required on Windows XP if an application - // manifest specifies use of ComCtl32.dll version 6 or later to enable - // visual styles. Otherwise, any window creation will fail. - INITCOMMONCONTROLSEX InitCtrls; - InitCtrls.dwSize = sizeof(InitCtrls); - // Set this to include all the common control classes you want to use - // in your application. - InitCtrls.dwICC = ICC_WIN95_CLASSES; - InitCommonControlsEx(&InitCtrls); - - CWinAppEx::InitInstance(); - - AfxEnableControlContainer(); - - // Standard initialization - // If you are not using these features and wish to reduce the size - // of your final executable, you should remove from the following - // the specific initialization routines you do not need - // Change the registry key under which our settings are stored - // TODO: You should modify this string to be something appropriate - // such as the name of your company or organization - SetRegistryKey(_T("Local AppWizard-Generated Applications")); - - CCardIDDlg CardDlg( nCardID ); - - nResponse = CardDlg.DoModal(); - if (nResponse == IDOK) - { - nCardID = CardDlg.GetCardID(); - - if ((hCard=Register_Card(PCI_9112, nCardID)) < 0) - { - strTemp.Format( TEXT("Register_Card Error = %d"), hCard); - AfxMessageBox( strTemp ); - } - else - { - CUtil9112Dlg dlg(hCard); - m_pMainWnd = &dlg; - nResponse = dlg.DoModal(); - if (nResponse == IDOK) - { - // TODO: Place code here to handle when the dialog is - // dismissed with OK - } - else if (nResponse == IDCANCEL) - { - // TODO: Place code here to handle when the dialog is - // dismissed with Cancel - } - - if (hCard >= 0) Release_Card(hCard); - } - - } - else if (nResponse == IDCANCEL) - { - // TODO: Place code here to handle when the dialog is - // dismissed with Cancel - } - - - - // Since the dialog has been closed, return FALSE so that we exit the - // application, rather than start the application's message pump. - return FALSE; -} diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9112/SDK9112/Util9112.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9112/SDK9112/Util9112.h deleted file mode 100644 index 3886649..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9112/SDK9112/Util9112.h +++ /dev/null @@ -1,32 +0,0 @@ - -// Util9112.h : main header file for the PROJECT_NAME application -// - -#pragma once - -#ifndef __AFXWIN_H__ - #error "include 'stdafx.h' before including this file for PCH" -#endif - -#include "resource.h" // main symbols - - -// CUtil9112App: -// See Util9112.cpp for the implementation of this class -// - -class CUtil9112App : public CWinAppEx -{ -public: - CUtil9112App(); - -// Overrides - public: - virtual BOOL InitInstance(); - -// Implementation - - DECLARE_MESSAGE_MAP() -}; - -extern CUtil9112App theApp; \ No newline at end of file diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9112/SDK9112/Util9112.rc b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9112/SDK9112/Util9112.rc deleted file mode 100644 index 16f2c7a..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9112/SDK9112/Util9112.rc +++ /dev/null @@ -1,352 +0,0 @@ -// Microsoft Visual C++ generated resource script. -// -#include "resource.h" - -#define APSTUDIO_READONLY_SYMBOLS -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 2 resource. -// -#ifndef APSTUDIO_INVOKED -#include "targetver.h" -#endif -#include "afxres.h" - -///////////////////////////////////////////////////////////////////////////// -#undef APSTUDIO_READONLY_SYMBOLS - -///////////////////////////////////////////////////////////////////////////// -// Chinese (Taiwan) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_CHT) -#ifdef _WIN32 -LANGUAGE LANG_CHINESE, SUBLANG_CHINESE_TRADITIONAL -#pragma code_page(950) -#endif //_WIN32 - -#ifdef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// TEXTINCLUDE -// - -1 TEXTINCLUDE -BEGIN - "resource.h\0" -END - -2 TEXTINCLUDE -BEGIN - "#ifndef APSTUDIO_INVOKED\r\n" - "#include ""targetver.h""\r\n" - "#endif\r\n" - "#include ""afxres.h""\r\n" - "\0" -END - -3 TEXTINCLUDE -BEGIN - "#define _AFX_NO_SPLITTER_RESOURCES\r\n" - "#define _AFX_NO_OLE_RESOURCES\r\n" - "#define _AFX_NO_TRACKER_RESOURCES\r\n" - "#define _AFX_NO_PROPERTY_RESOURCES\r\n" - "\r\n" - "#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)\r\n" - "LANGUAGE 9, 1\r\n" - "#pragma code_page(1252)\r\n" - "#include ""res\\Util9112.rc2"" // non-Microsoft Visual C++ edited resources\r\n" - "#include ""afxres.rc"" // Standard components\r\n" - "#endif\r\n" - "\0" -END - -#endif // APSTUDIO_INVOKED - -#endif // Chinese (Taiwan) resources -///////////////////////////////////////////////////////////////////////////// - - -///////////////////////////////////////////////////////////////////////////// -// English (U.S.) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -#ifdef _WIN32 -LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US -#pragma code_page(1252) -#endif //_WIN32 - -///////////////////////////////////////////////////////////////////////////// -// -// Icon -// - -// Icon with lowest ID value placed first to ensure application icon -// remains consistent on all systems. -IDR_MAINFRAME ICON "res\\Util9112.ico" -IDI_ICON_BLACK ICON "res\\black.ico" -IDI_ICON_RED ICON "res\\red.ico" - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog -// - -IDD_ABOUTBOX DIALOGEX 0, 0, 170, 62 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "About Util9112" -FONT 8, "MS Shell Dlg", 0, 0, 0x1 -BEGIN - ICON IDR_MAINFRAME,IDC_STATIC,14,14,21,20 - LTEXT "Util9112, Version 1.0",IDC_STATIC,42,14,114,8,SS_NOPREFIX - LTEXT "Copyright (C) 2010",IDC_STATIC,42,26,114,8 - DEFPUSHBUTTON "OK",IDOK,113,41,50,14,WS_GROUP -END - -IDD_UTIL9112_DIALOG DIALOGEX 0, 0, 345, 255 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU -EXSTYLE WS_EX_APPWINDOW -CAPTION "PCI-9112" -FONT 8, "MS Shell Dlg", 0, 0, 0x1 -BEGIN - ICON IDI_ICON_BLACK,IDC_ICON_DI00,306,197,20,20 - ICON IDI_ICON_BLACK,IDC_ICON_DI01,288,197,20,20 - ICON IDI_ICON_BLACK,IDC_ICON_DI02,270,197,20,20 - ICON IDI_ICON_BLACK,IDC_ICON_DI03,252,197,20,20 - ICON IDI_ICON_BLACK,IDC_ICON_DI04,234,197,20,20 - ICON IDI_ICON_BLACK,IDC_ICON_DI05,216,197,20,20 - ICON IDI_ICON_BLACK,IDC_ICON_DI06,198,197,20,20 - ICON IDI_ICON_BLACK,IDC_ICON_DI07,180,197,20,20 - ICON IDI_ICON_BLACK,IDC_ICON_DI08,162,197,20,20 - ICON IDI_ICON_BLACK,IDC_ICON_DI09,144,197,20,20 - ICON IDI_ICON_BLACK,IDC_ICON_DI10,126,197,20,20 - ICON IDI_ICON_BLACK,IDC_ICON_DI11,108,197,20,20 - ICON IDI_ICON_BLACK,IDC_ICON_DI12,90,197,20,20 - ICON IDI_ICON_BLACK,IDC_ICON_DI13,72,197,20,20 - ICON IDI_ICON_BLACK,IDC_ICON_DI14,54,197,20,20 - ICON IDI_ICON_BLACK,IDC_ICON_DI15,36,197,20,20 - CONTROL "",IDC_CHECK_DO00,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE | WS_TABSTOP,312,217,12,12 - CONTROL "",IDC_CHECK_DO01,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE | WS_TABSTOP,294,217,12,12 - CONTROL "",IDC_CHECK_DO02,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE | WS_TABSTOP,276,217,12,12 - CONTROL "",IDC_CHECK_DO03,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE | WS_TABSTOP,258,217,12,12 - CONTROL "",IDC_CHECK_DO04,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE | WS_TABSTOP,240,217,12,12 - CONTROL "",IDC_CHECK_DO05,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE | WS_TABSTOP,222,217,12,12 - CONTROL "",IDC_CHECK_DO06,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE | WS_TABSTOP,204,217,12,12 - CONTROL "",IDC_CHECK_DO07,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE | WS_TABSTOP,186,217,12,12 - CONTROL "",IDC_CHECK_DO08,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE | WS_TABSTOP,168,217,12,12 - CONTROL "",IDC_CHECK_DO09,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE | WS_TABSTOP,150,217,12,12 - CONTROL "",IDC_CHECK_DO10,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE | WS_TABSTOP,132,217,12,12 - CONTROL "",IDC_CHECK_DO11,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE | WS_TABSTOP,114,217,12,12 - CONTROL "",IDC_CHECK_DO12,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE | WS_TABSTOP,96,217,12,12 - CONTROL "",IDC_CHECK_DO13,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE | WS_TABSTOP,78,217,12,12 - CONTROL "",IDC_CHECK_DO14,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE | WS_TABSTOP,60,217,12,12 - CONTROL "",IDC_CHECK_DO15,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE | WS_TABSTOP,42,217,12,12 - LTEXT " 15 0",IDC_STATIC,36,232,289,13 - SCROLLBAR IDC_SCROLLBAR1,128,181,162,12 - GROUPBOX "",IDC_STATIC_DRAW0,45,9,213,75,NOT WS_VISIBLE - GROUPBOX "",IDC_STATIC_DRAW1,45,90,213,75,NOT WS_VISIBLE - CONTROL 132,IDC_STATIC,"Static",SS_BITMAP,289,20,9,44 - CONTROL "0",IDC_RADIO_CH0,"Button",BS_AUTOCHECKBOX | BS_LEFTTEXT | BS_PUSHLIKE,268,21,17,10 - CONTROL "1",IDC_RADIO_CH1,"Button",BS_AUTOCHECKBOX | BS_LEFTTEXT | BS_PUSHLIKE,268,32,17,10 - CONTROL "2",IDC_RADIO_CH2,"Button",BS_AUTOCHECKBOX | BS_LEFTTEXT | BS_PUSHLIKE,268,43,17,10 - CONTROL "3",IDC_RADIO_CH3,"Button",BS_AUTOCHECKBOX | BS_LEFTTEXT | BS_PUSHLIKE,268,54,17,10 - CONTROL "4",IDC_RADIO_CH4,"Button",BS_AUTOCHECKBOX | BS_LEFTTEXT | BS_PUSHLIKE,303,21,17,10 - CONTROL "5",IDC_RADIO_CH5,"Button",BS_AUTOCHECKBOX | BS_LEFTTEXT | BS_PUSHLIKE,303,32,17,10 - CONTROL "6",IDC_RADIO_CH6,"Button",BS_AUTOCHECKBOX | BS_LEFTTEXT | BS_PUSHLIKE,303,43,17,10 - CONTROL "7",IDC_RADIO_CH7,"Button",BS_AUTOCHECKBOX | BS_LEFTTEXT | BS_PUSHLIKE,303,54,17,10 - CONTROL 132,IDC_STATIC,"Static",SS_BITMAP,288,111,9,44 - CONTROL 133,IDC_STATIC,"Static",SS_BITMAP,321,111,11,45 - CONTROL "8",IDC_RADIO_CH8,"Button",BS_AUTOCHECKBOX | BS_LEFTTEXT | BS_PUSHLIKE,266,112,17,10 - CONTROL "9",IDC_RADIO_CH9,"Button",BS_AUTOCHECKBOX | BS_LEFTTEXT | BS_PUSHLIKE,266,123,17,10 - CONTROL "10",IDC_RADIO_CH10,"Button",BS_AUTOCHECKBOX | BS_LEFTTEXT | BS_PUSHLIKE,266,134,17,10 - CONTROL "11",IDC_RADIO_CH11,"Button",BS_AUTOCHECKBOX | BS_LEFTTEXT | BS_PUSHLIKE,266,146,17,10 - CONTROL "12",IDC_RADIO_CH12,"Button",BS_AUTOCHECKBOX | BS_LEFTTEXT | BS_PUSHLIKE,302,112,17,10 - CONTROL "13",IDC_RADIO_CH13,"Button",BS_AUTOCHECKBOX | BS_LEFTTEXT | BS_PUSHLIKE,302,123,17,10 - CONTROL "14",IDC_RADIO_CH14,"Button",BS_AUTOCHECKBOX | BS_LEFTTEXT | BS_PUSHLIKE,302,134,17,10 - CONTROL "15",IDC_RADIO_CH15,"Button",BS_AUTOCHECKBOX | BS_LEFTTEXT | BS_PUSHLIKE,302,146,17,10 - CONTROL 133,IDC_STATIC,"Static",SS_BITMAP,322,20,11,45 - COMBOBOX IDC_COMBO_AI_RANGE,266,89,67,13,CBS_DROPDOWN | WS_VSCROLL | WS_TABSTOP - LTEXT "Input Range",IDC_STATIC,265,75,45,12 - LTEXT "0 2 4 6 10",IDC_STATIC,141,169,143,12 - LTEXT "Analog Output (AO1)",IDC_STATIC,46,181,71,13 - EDITTEXT IDC_EDIT_AO,298,180,29,14,ES_AUTOHSCROLL | ES_READONLY -END - -IDD_CARDID_DIALOG DIALOGEX 0, 0, 165, 87 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "Card ID" -FONT 8, "MS Shell Dlg", 400, 0, 0x1 -BEGIN - COMBOBOX IDC_COMBO_CARDID,75,24,71,126,CBS_DROPDOWN | WS_VSCROLL | WS_TABSTOP - LTEXT "Card Number",IDC_STATIC_01,21,25,46,12 - PUSHBUTTON "OK",IDOK,22,48,58,19 - PUSHBUTTON "CANCEL",IDCANCEL,86,48,58,19 -END - - -///////////////////////////////////////////////////////////////////////////// -// -// Version -// - -VS_VERSION_INFO VERSIONINFO - FILEVERSION 1,0,0,1 - PRODUCTVERSION 1,0,0,1 - FILEFLAGSMASK 0x3fL -#ifdef _DEBUG - FILEFLAGS 0x1L -#else - FILEFLAGS 0x0L -#endif - FILEOS 0x4L - FILETYPE 0x1L - FILESUBTYPE 0x0L -BEGIN - BLOCK "StringFileInfo" - BEGIN - BLOCK "040904e4" - BEGIN - VALUE "CompanyName", "TODO: " - VALUE "FileDescription", "TODO: " - VALUE "FileVersion", "1.0.0.1" - VALUE "InternalName", "Util9112.exe" - VALUE "LegalCopyright", "TODO: (c) . All rights reserved." - VALUE "OriginalFilename", "Util9112.exe" - VALUE "ProductName", "TODO: " - VALUE "ProductVersion", "1.0.0.1" - END - END - BLOCK "VarFileInfo" - BEGIN - VALUE "Translation", 0x409, 1252 - END -END - - -///////////////////////////////////////////////////////////////////////////// -// -// DESIGNINFO -// - -#ifdef APSTUDIO_INVOKED -GUIDELINES DESIGNINFO -BEGIN - IDD_ABOUTBOX, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 163 - TOPMARGIN, 7 - BOTTOMMARGIN, 55 - END - - IDD_CARDID_DIALOG, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 158 - TOPMARGIN, 6 - BOTTOMMARGIN, 80 - END -END -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// Bitmap -// - -IDB_BITMAP_SET1 BITMAP "res\\ch_set1.bmp" -IDB_BITMAP_SET2 BITMAP "res\\ch_set2.bmp" - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog Info -// - -IDD_UTIL9112_DIALOG DLGINIT -BEGIN - IDC_COMBO1, 0x403, 8, 0 -0x2f2b, 0x202d, 0x3031, 0x0056, - IDC_COMBO1, 0x403, 7, 0 -0x2f2b, 0x202d, 0x5635, "\000" - IDC_COMBO1, 0x403, 8, 0 -0x2f2b, 0x322d, 0x352e, 0x0056, - IDC_COMBO1, 0x403, 10, 0 -0x2f2b, 0x202d, 0x2e31, 0x3532, 0x0056, - IDC_COMBO1, 0x403, 10, 0 -0x2f2b, 0x302d, 0x362e, 0x3532, 0x0056, - 0 -END - -IDD_CARDID_DIALOG DLGINIT -BEGIN - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0030, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0031, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0032, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0033, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0034, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0035, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0036, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0037, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0038, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0039, - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3031, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3131, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3231, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3331, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3431, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3531, "\000" - 0 -END - - -///////////////////////////////////////////////////////////////////////////// -// -// String Table -// - -STRINGTABLE -BEGIN - IDS_ABOUTBOX "&About Util9112..." -END - -#endif // English (U.S.) resources -///////////////////////////////////////////////////////////////////////////// - - - -#ifndef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 3 resource. -// -#define _AFX_NO_SPLITTER_RESOURCES -#define _AFX_NO_OLE_RESOURCES -#define _AFX_NO_TRACKER_RESOURCES -#define _AFX_NO_PROPERTY_RESOURCES - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -LANGUAGE 9, 1 -#pragma code_page(1252) -#include "res\Util9112.rc2" // non-Microsoft Visual C++ edited resources -#include "afxres.rc" // Standard components -#endif - -///////////////////////////////////////////////////////////////////////////// -#endif // not APSTUDIO_INVOKED - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9112/SDK9112/Util9112.sln b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9112/SDK9112/Util9112.sln deleted file mode 100644 index eded983..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9112/SDK9112/Util9112.sln +++ /dev/null @@ -1,20 +0,0 @@ - -Microsoft Visual Studio Solution File, Format Version 10.00 -# Visual Studio 2008 -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "Util9112", "Util9112.vcproj", "{EA91AA3F-533F-4BE6-8BD6-78C091590751}" -EndProject -Global - GlobalSection(SolutionConfigurationPlatforms) = preSolution - Debug|x64 = Debug|x64 - Release|x64 = Release|x64 - EndGlobalSection - GlobalSection(ProjectConfigurationPlatforms) = postSolution - {EA91AA3F-533F-4BE6-8BD6-78C091590751}.Debug|x64.ActiveCfg = Debug|x64 - {EA91AA3F-533F-4BE6-8BD6-78C091590751}.Debug|x64.Build.0 = Debug|x64 - {EA91AA3F-533F-4BE6-8BD6-78C091590751}.Release|x64.ActiveCfg = Release|x64 - {EA91AA3F-533F-4BE6-8BD6-78C091590751}.Release|x64.Build.0 = Release|x64 - EndGlobalSection - GlobalSection(SolutionProperties) = preSolution - HideSolutionNode = FALSE - EndGlobalSection -EndGlobal diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9112/SDK9112/Util9112.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9112/SDK9112/Util9112.suo deleted file mode 100644 index 6f48534..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9112/SDK9112/Util9112.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9112/SDK9112/Util9112.vcproj b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9112/SDK9112/Util9112.vcproj deleted file mode 100644 index c158293..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9112/SDK9112/Util9112.vcproj +++ /dev/null @@ -1,306 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9112/SDK9112/Util9112Dlg.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9112/SDK9112/Util9112Dlg.cpp deleted file mode 100644 index e646c4d..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9112/SDK9112/Util9112Dlg.cpp +++ /dev/null @@ -1,1460 +0,0 @@ - -// Util9112Dlg.cpp : implementation file -// - -#include "stdafx.h" -#include "Util9112.h" -#include "Util9112Dlg.h" - -#ifdef _DEBUG -#define new DEBUG_NEW -#endif - -CRect plotRect0, plotRect1; - - -// CAboutDlg dialog used for App About - -class CAboutDlg : public CDialog -{ -public: - CAboutDlg(); - -// Dialog Data - enum { IDD = IDD_ABOUTBOX }; - - protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - -// Implementation -protected: - DECLARE_MESSAGE_MAP() -}; - -CAboutDlg::CAboutDlg() : CDialog(CAboutDlg::IDD) -{ -} - -void CAboutDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); -} - -BEGIN_MESSAGE_MAP(CAboutDlg, CDialog) -END_MESSAGE_MAP() - - -// CUtil9112Dlg dialog - - - - -CUtil9112Dlg::CUtil9112Dlg(I16 hCard, CWnd* pParent /*=NULL*/) - : CDialog(CUtil9112Dlg::IDD, pParent) -{ - m_hIcon = AfxGetApp()->LoadIcon(IDR_MAINFRAME); - - m_hCard = hCard; - - n_PlotWidth = n_PlotHeight = -1; - OnBrush = OffBrush = NULL; - - min_val = 0x00; - max_val = 0xFFFF; - - for( int i=0; iAppendMenu(MF_SEPARATOR); - pSysMenu->AppendMenu(MF_STRING, IDM_ABOUTBOX, strAboutMenu); - } - } - - // Set the icon for this dialog. The framework does this automatically - // when the application's main window is not a dialog - SetIcon(m_hIcon, TRUE); // Set big icon - SetIcon(m_hIcon, FALSE); // Set small icon - - x_divider = 5; y_divider = 2; - - OnBrush = CreateSolidBrush( RGB(255,0,0) ); - OffBrush = CreateSolidBrush( RGB(125,0,0) ); - - RedPen.CreatePen( PS_SOLID, 1, RGB(255,0,0)); - GreenPen.CreatePen( PS_SOLID, 1, RGB(0,255,0)); - YellowPen.CreatePen( PS_SOLID, 1, RGB(255,255,0)); - BluePen.CreatePen( PS_SOLID, 1, RGB(0,0,255)); - LTBluePen.CreatePen( PS_SOLID, 1, RGB(0,128,255)); - LTRedPen.CreatePen( PS_SOLID, 1, RGB(255,128,0)); - LTGreenPen.CreatePen( PS_SOLID, 1, RGB(0,128,0)); - WhitePen.CreatePen( PS_SOLID, 1, RGB(255,255,255)); - - - - - if( n_PlotWidth == -1 && n_PlotHeight == -1 ) - { - ((CWnd*)GetDlgItem(IDC_STATIC_DRAW0))->GetWindowRect(&plotRect0); - ScreenToClient(&plotRect0); - - n_PlotWidth = min( plotRect0.Width(), 512); - n_PlotHeight = plotRect0.Height(); - - ((CWnd*)GetDlgItem(IDC_STATIC_DRAW1))->GetWindowRect(&plotRect1); - ScreenToClient(&plotRect1); - } - - - // TODO: Add extra initialization here - info.cbSize = sizeof(SCROLLINFO); - info.fMask = SIF_ALL; - info.nMin = 0; - info.nMax = 4095; - info.nPage = 2; - info.nPos = 0; - info.nTrackPos = 2; - m_scBarAO.SetScrollInfo(&info); - m_nAOValue = 0; - - m_cbAIRange.SetCurSel( 1 ); - max_range = 5.0; - min_range = -5.0; - m_wAdRange = AD_B_5_V; - - m_nTimer = SetTimer( 1, 100, NULL ); - - return TRUE; // return TRUE unless you set the focus to a control -} - -void CUtil9112Dlg::OnSysCommand(UINT nID, LPARAM lParam) -{ - if ((nID & 0xFFF0) == IDM_ABOUTBOX) - { - CAboutDlg dlgAbout; - dlgAbout.DoModal(); - } - else - { - CDialog::OnSysCommand(nID, lParam); - } -} - -// If you add a minimize button to your dialog, you will need the code below -// to draw the icon. For MFC applications using the document/view model, -// this is automatically done for you by the framework. - -void CUtil9112Dlg::OnPaint() -{ - if (IsIconic()) - { - CPaintDC dc(this); // device context for painting - - SendMessage(WM_ICONERASEBKGND, reinterpret_cast(dc.GetSafeHdc()), 0); - - // Center icon in client rectangle - int cxIcon = GetSystemMetrics(SM_CXICON); - int cyIcon = GetSystemMetrics(SM_CYICON); - CRect rect; - GetClientRect(&rect); - int x = (rect.Width() - cxIcon + 1) / 2; - int y = (rect.Height() - cyIcon + 1) / 2; - - // Draw the icon - dc.DrawIcon(x, y, m_hIcon); - } - else - { - redraw_display_area(); - CDialog::OnPaint(); - } -} - -// The system calls this function to obtain the cursor to display while the user drags -// the minimized window. -HCURSOR CUtil9112Dlg::OnQueryDragIcon() -{ - return static_cast(m_hIcon); -} - - -void CUtil9112Dlg::OnHScroll(UINT nSBCode, UINT nPos, CScrollBar* pScrollBar) -{ - // TODO: Add your message handler code here and/or call default - int minpos; - int maxpos; - double fAOValue; - CString strTmp; - - m_scBarAO.GetScrollRange(&minpos, &maxpos); - maxpos = m_scBarAO.GetScrollLimit(); - - // Get the current position of scroll box. - int curpos = m_scBarAO.GetScrollPos(); - - // Determine the new position of scroll box. - switch (nSBCode) - { - case SB_LINELEFT: // Scroll left. - if (curpos > minpos) - curpos--; - break; - - case SB_LINERIGHT: // Scroll right. - if (curpos < maxpos) - curpos++; - break; - - case SB_THUMBPOSITION: // Scroll to absolute position. nPos is the position - curpos = nPos; // of the scroll box at the end of the drag operation. - - break; - - case SB_LEFT: // Scroll to far left. - case SB_RIGHT: // Scroll to far right. - case SB_ENDSCROLL: // End scroll. - case SB_PAGELEFT: // Scroll one page left. - case SB_PAGERIGHT: // Scroll one page right. - case SB_THUMBTRACK: // Drag scroll box to specified position. nPos is the - - break; - } - - // Set the new position of the thumb (scroll box). - m_scBarAO.SetScrollPos(curpos); - - if( m_nAOValue != curpos ) - { - // update the m_nAOValue value, and output AO - m_nAOValue = curpos; - fAOValue = ( 10.0 * (double)curpos / (double)(maxpos - minpos) ); - strTmp.Format( TEXT("%.02f"), fAOValue ); - SetDlgItemText( IDC_EDIT_AO, strTmp ); - - AO_WriteChannel(m_hCard, 0, curpos); - } - - - CDialog::OnHScroll(nSBCode, nPos, pScrollBar); -} - - - -void CUtil9112Dlg::OnDestroy() -{ - CDialog::OnDestroy(); - - // TODO: Add your message handler code here - - if( m_nTimer != -1 ) - { - KillTimer( m_nTimer ); - m_nTimer = -1; - } - - if( OnBrush != NULL ) - ::DeleteObject( OnBrush ); - - if( OffBrush != NULL ) - ::DeleteObject( OffBrush ); - - RedPen.DeleteObject(); - GreenPen.DeleteObject(); - YellowPen.DeleteObject(); - BluePen.DeleteObject(); - LTBluePen.DeleteObject(); - LTRedPen.DeleteObject(); - LTGreenPen.DeleteObject(); - WhitePen.DeleteObject(); -} - -void CUtil9112Dlg::OnAIRangeSelchange() -{ - // TODO: Add your control notification handler code here - U16 tmpAdRange; - int nIndex; - double maxRange, minRange; - - nIndex = m_cbAIRange.GetCurSel(); - switch( nIndex ) - { - case 0: - tmpAdRange = AD_B_10_V; - maxRange = 10.0; - minRange = -10.0; - break; - case 1: - tmpAdRange = AD_B_5_V; - maxRange = 5.0; - minRange = -5.0; - break; - case 2: - tmpAdRange = AD_B_2_5_V; - maxRange = 2.5; - minRange = -2.5; - break; - case 3: - tmpAdRange = AD_B_1_25_V; - maxRange = 1.25; - minRange = -1.25; - break; - case 4: - tmpAdRange = AD_B_0_625_V; - maxRange = 0.625; - minRange = -0.625; - break; - } - - - if( tmpAdRange != m_wAdRange ) - { // update m_InPortA and configure the target Port - m_wAdRange = tmpAdRange; - - max_range = maxRange; - min_range = minRange; - - redraw_display_area(); - - } - -} - -void CUtil9112Dlg::OnAI00Enable() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_RADIO_CH0 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_AIEnable[0] = 0x01; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_AIEnable[0] = 0x00; - } -} - -void CUtil9112Dlg::OnAI01Enable() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_RADIO_CH1 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_AIEnable[1] = 0x01; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_AIEnable[1] = 0x00; - } -} - -void CUtil9112Dlg::OnAI02Enable() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_RADIO_CH2 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_AIEnable[2] = 0x01; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_AIEnable[2] = 0x00; - } -} - -void CUtil9112Dlg::OnAI03Enable() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_RADIO_CH3 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_AIEnable[3] = 0x01; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_AIEnable[3] = 0x00; - } -} - -void CUtil9112Dlg::OnAI04Enable() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_RADIO_CH4 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_AIEnable[4] = 0x01; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_AIEnable[4] = 0x00; - } -} - -void CUtil9112Dlg::OnAI05Enable() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_RADIO_CH5 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_AIEnable[5] = 0x01; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_AIEnable[5] = 0x00; - } -} - -void CUtil9112Dlg::OnAI06Enable() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_RADIO_CH6 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_AIEnable[6] = 0x01; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_AIEnable[6] = 0x00; - } -} - -void CUtil9112Dlg::OnAI07Enable() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_RADIO_CH7 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_AIEnable[7] = 0x01; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_AIEnable[7] = 0x00; - } -} - -void CUtil9112Dlg::OnAI08Enable() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_RADIO_CH8 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_AIEnable[8] = 0x01; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_AIEnable[8] = 0x00; - } -} - -void CUtil9112Dlg::OnAI09Enable() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_RADIO_CH9 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_AIEnable[9] = 0x01; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_AIEnable[9] = 0x00; - } -} - -void CUtil9112Dlg::OnAI10Enable() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_RADIO_CH10 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_AIEnable[10] = 0x01; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_AIEnable[10] = 0x00; - } -} - -void CUtil9112Dlg::OnAI11Enable() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_RADIO_CH11 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_AIEnable[11] = 0x01; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_AIEnable[11] = 0x00; - } -} - -void CUtil9112Dlg::OnAI12Enable() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_RADIO_CH12 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_AIEnable[12] = 0x01; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_AIEnable[12] = 0x00; - } -} - -void CUtil9112Dlg::OnAI13Enable() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_RADIO_CH13 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_AIEnable[13] = 0x01; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_AIEnable[13] = 0x00; - } -} - -void CUtil9112Dlg::OnAI14Enable() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_RADIO_CH14 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_AIEnable[14] = 0x01; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_AIEnable[14] = 0x00; - } -} - -void CUtil9112Dlg::OnAI15Enable() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_RADIO_CH15 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_AIEnable[15] = 0x01; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_AIEnable[15] = 0x00; - } -} - -void CUtil9112Dlg::OnDo00() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_DO00 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_OutData |= 0x01; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_OutData &= (~0x01); - } - - DO_WritePort(m_hCard, 0, m_OutData); -} - -void CUtil9112Dlg::OnDo01() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_DO01 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_OutData |= 0x02; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_OutData &= (~0x02); - } - - DO_WritePort(m_hCard, 0, m_OutData); -} - -void CUtil9112Dlg::OnDo02() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_DO02 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_OutData |= 0x04; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_OutData &= (~0x04); - } - - DO_WritePort(m_hCard, 0, m_OutData); -} - -void CUtil9112Dlg::OnDo03() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_DO03 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_OutData |= 0x08; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_OutData &= (~0x08); - } - - DO_WritePort(m_hCard, 0, m_OutData); -} - -void CUtil9112Dlg::OnDo04() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_DO04 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_OutData |= 0x10; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_OutData &= (~0x10); - } - - DO_WritePort(m_hCard, 0, m_OutData); -} - -void CUtil9112Dlg::OnDo05() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_DO05 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_OutData |= 0x20; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_OutData &= (~0x20); - } - - DO_WritePort(m_hCard, 0, m_OutData); -} - -void CUtil9112Dlg::OnDo06() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_DO06 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_OutData |= 0x40; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_OutData &= (~0x40); - } - - DO_WritePort(m_hCard, 0, m_OutData); -} - -void CUtil9112Dlg::OnDo07() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_DO07 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_OutData |= 0x80; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_OutData &= (~0x80); - } - - DO_WritePort(m_hCard, 0, m_OutData); -} - -void CUtil9112Dlg::OnDo08() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_DO08 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_OutData |= 0x100; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_OutData &= (~0x100); - } - - DO_WritePort(m_hCard, 0, m_OutData); -} - -void CUtil9112Dlg::OnDo09() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_DO09 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_OutData |= 0x200; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_OutData &= (~0x200); - } - - DO_WritePort(m_hCard, 0, m_OutData); -} - -void CUtil9112Dlg::OnDo10() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_DO10 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_OutData |= 0x400; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_OutData &= (~0x400); - } - - DO_WritePort(m_hCard, 0, m_OutData); -} - -void CUtil9112Dlg::OnDo11() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_DO11 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_OutData |= 0x800; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_OutData &= (~0x800); - } - - DO_WritePort(m_hCard, 0, m_OutData); -} - -void CUtil9112Dlg::OnDo12() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_DO12 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_OutData |= 0x1000; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_OutData &= (~0x1000); - } - - DO_WritePort(m_hCard, 0, m_OutData); -} - -void CUtil9112Dlg::OnDo13() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_DO13 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_OutData |= 0x2000; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_OutData &= (~0x2000); - } - - DO_WritePort(m_hCard, 0, m_OutData); -} - -void CUtil9112Dlg::OnDo14() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_DO14 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_OutData |= 0x4000; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_OutData &= (~0x4000); - } - - DO_WritePort(m_hCard, 0, m_OutData); -} - -void CUtil9112Dlg::OnDo15() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_DO15 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_OutData |= 0x8000; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_OutData &= (~0x8000); - } - - DO_WritePort(m_hCard, 0, m_OutData); -} - -void CUtil9112Dlg::OnTimer(UINT_PTR nIDEvent) -{ - // TODO: Add your message handler code here and/or call default - U32 dwPortData,dwChangeMask; - I16 err; - - err = DI_ReadPort(m_hCard, 0, &dwPortData); - dwChangeMask = dwPortData ^ m_InData; - - if( dwChangeMask != 0x00 ) // Input had been changed - { - - m_InData = dwPortData; - - if( (dwChangeMask & 0x0001) == 0x0001 ) // if the target bit is changed - { - if( (dwPortData & 0x0001) == 0x0001 ) - { - m_Icon_IN00.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_IN00.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - - if( (dwChangeMask & 0x0002) == 0x0002 ) // if the target bit is changed - { - if( (dwPortData & 0x0002) == 0x0002 ) - { - m_Icon_IN01.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_IN01.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - if( (dwChangeMask & 0x0004) == 0x0004 ) // if the target bit is changed - { - if( (dwPortData & 0x0004) == 0x0004 ) - { - m_Icon_IN02.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_IN02.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - if( (dwChangeMask & 0x0008) == 0x0008 ) // if the target bit is changed - { - if( (dwPortData & 0x0008) == 0x0008 ) - { - m_Icon_IN03.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_IN03.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - if( (dwChangeMask & 0x0010) == 0x0010 ) // if the target bit is changed - { - if( (dwPortData & 0x0010) == 0x0010 ) - { - m_Icon_IN04.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_IN04.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - if( (dwChangeMask & 0x0020) == 0x0020 ) // if the target bit is changed - { - if( (dwPortData & 0x0020) == 0x0020 ) - { - m_Icon_IN05.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_IN05.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - if( (dwChangeMask & 0x0040) == 0x0040 ) // if the target bit is changed - { - if( (dwPortData & 0x0040) == 0x0040 ) - { - m_Icon_IN06.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_IN06.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - if( (dwChangeMask & 0x0080) == 0x0080 ) // if the target bit is changed - { - if( (dwPortData & 0x0080) == 0x0080 ) - { - m_Icon_IN07.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_IN07.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - if( (dwChangeMask & 0x0100) == 0x0100 ) // if the target bit is changed - { - if( (dwPortData & 0x0100) == 0x0100 ) - { - m_Icon_IN08.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_IN08.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - - if( (dwChangeMask & 0x0200) == 0x0200 ) // if the target bit is changed - { - if( (dwPortData & 0x0200) == 0x0200 ) - { - m_Icon_IN09.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_IN09.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - if( (dwChangeMask & 0x0400) == 0x0400 ) // if the target bit is changed - { - if( (dwPortData & 0x0400) == 0x0400 ) - { - m_Icon_IN10.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_IN10.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - if( (dwChangeMask & 0x0800) == 0x0800 ) // if the target bit is changed - { - if( (dwPortData & 0x0800) == 0x0800 ) - { - m_Icon_IN11.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_IN11.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - if( (dwChangeMask & 0x1000) == 0x1000 ) // if the target bit is changed - { - if( (dwPortData & 0x1000) == 0x1000 ) - { - m_Icon_IN12.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_IN12.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - if( (dwChangeMask & 0x2000) == 0x2000 ) // if the target bit is changed - { - if( (dwPortData & 0x2000) == 0x2000 ) - { - m_Icon_IN13.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_IN13.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - if( (dwChangeMask & 0x4000) == 0x4000 ) // if the target bit is changed - { - if( (dwPortData & 0x4000) == 0x4000 ) - { - m_Icon_IN14.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_IN14.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - if( (dwChangeMask & 0x8000) == 0x8000 ) // if the target bit is changed - { - if( (dwPortData & 0x8000) == 0x8000 ) - { - m_Icon_IN15.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_IN15.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - } - - for( int i=0; i> 4; - newY = (int)( nDraw_Bottom - ((n_PlotHeight * ai_data) >> 12 ) ); // (n_PlotHeight * ai_data / 4096 ) - - if ( m_oldY[i] !=-1 ) - { - if( i < 8 ) - { - dc_plot.MoveTo( plotRect0.left+2, newY ); - dc_plot.LineTo( plotRect0.left+5, m_oldY[i] ); - } - else - { - dc_plot.MoveTo( plotRect1.left+2, newY ); - dc_plot.LineTo( plotRect1.left+5, m_oldY[i] ); - } - } - - m_oldY[i] = newY; - } - } - - return 0; -} diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9112/SDK9112/Util9112Dlg.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9112/SDK9112/Util9112Dlg.h deleted file mode 100644 index 41c3e92..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9112/SDK9112/Util9112Dlg.h +++ /dev/null @@ -1,128 +0,0 @@ - -// Util9112Dlg.h : header file -// - -#pragma once -#include "afxcmn.h" -#include "afxwin.h" - -#include "Dask64.h" - -#ifndef MAX_CHAN_9112 -#define MAX_CHAN_9112 16 -#endif - -// CUtil9112 dialog -class CUtil9112Dlg : public CDialog -{ -// Construction -public: - CUtil9112Dlg(I16 hCard, CWnd* pParent = NULL); // standard constructor - -// Dialog Data - enum { IDD = IDD_UTIL9112_DIALOG }; - - protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - - -// Implementation -protected: - HICON m_hIcon; - UINT_PTR m_nTimer; - I16 m_hCard; - int m_nAOValue; - U16 m_wAdRange; - U8 m_AIEnable[MAX_CHAN_9112]; - U16 m_AIData[MAX_CHAN_9112]; - U32 m_OutData; - U32 m_InData; - - // Generated message map functions - virtual BOOL OnInitDialog(); - afx_msg void OnSysCommand(UINT nID, LPARAM lParam); - afx_msg void OnPaint(); - afx_msg HCURSOR OnQueryDragIcon(); - DECLARE_MESSAGE_MAP() -public: - CScrollBar m_scBarAO; - afx_msg void OnHScroll(UINT nSBCode, UINT nPos, CScrollBar* pScrollBar); - CComboBox m_cbAIRange; - WORD max_val; - WORD min_val; - double max_range; - double min_range; - int n_PlotWidth; - int n_PlotHeight; - int y_divider; - int x_divider; - int m_DisplayScale; - int m_oldY[MAX_CHAN_9112]; - HBRUSH OnBrush; - HBRUSH OffBrush; - CPen RedPen; - CPen GreenPen; - CPen YellowPen; - CPen BluePen; - CPen LTBluePen; - CPen LTRedPen; - CPen LTGreenPen; - CPen WhitePen; - -private: - void redraw_display_area(void); -public: - afx_msg void OnDestroy(); - afx_msg void OnAIRangeSelchange(); - afx_msg void OnAI00Enable(); - afx_msg void OnAI01Enable(); - afx_msg void OnAI02Enable(); - afx_msg void OnAI03Enable(); - afx_msg void OnAI04Enable(); - afx_msg void OnAI05Enable(); - afx_msg void OnAI06Enable(); - afx_msg void OnAI07Enable(); - afx_msg void OnAI08Enable(); - afx_msg void OnAI09Enable(); - afx_msg void OnAI10Enable(); - afx_msg void OnAI11Enable(); - afx_msg void OnAI12Enable(); - afx_msg void OnAI13Enable(); - afx_msg void OnAI14Enable(); - afx_msg void OnAI15Enable(); - afx_msg void OnDo00(); - afx_msg void OnDo01(); - afx_msg void OnDo02(); - afx_msg void OnDo03(); - afx_msg void OnDo04(); - afx_msg void OnDo05(); - afx_msg void OnDo06(); - afx_msg void OnDo07(); - afx_msg void OnDo08(); - afx_msg void OnDo09(); - afx_msg void OnDo10(); - afx_msg void OnDo11(); - afx_msg void OnDo12(); - afx_msg void OnDo13(); - afx_msg void OnDo14(); - afx_msg void OnDo15(); - afx_msg void OnTimer(UINT_PTR nIDEvent); - CStatic m_Icon_IN00; - CStatic m_Icon_IN01; - CStatic m_Icon_IN02; - CStatic m_Icon_IN03; - CStatic m_Icon_IN04; - CStatic m_Icon_IN05; - CStatic m_Icon_IN06; - CStatic m_Icon_IN07; - CStatic m_Icon_IN08; - CStatic m_Icon_IN09; - CStatic m_Icon_IN10; - CStatic m_Icon_IN11; - CStatic m_Icon_IN12; - CStatic m_Icon_IN13; - CStatic m_Icon_IN14; - CStatic m_Icon_IN15; -private: - int display_buffer_data(void); -}; diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9112/SDK9112/res/Util9112.ico b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9112/SDK9112/res/Util9112.ico deleted file mode 100644 index d56fbcd..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9112/SDK9112/res/Util9112.ico and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9112/SDK9112/res/Util9112.rc2 b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9112/SDK9112/res/Util9112.rc2 deleted file mode 100644 index 4b43b56..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9112/SDK9112/res/Util9112.rc2 +++ /dev/null @@ -1,13 +0,0 @@ -// -// Util9111.RC2 - resources Microsoft Visual C++ does not edit directly -// - -#ifdef APSTUDIO_INVOKED -#error this file is not editable by Microsoft Visual C++ -#endif //APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// Add manually edited resources here... - -///////////////////////////////////////////////////////////////////////////// diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9112/SDK9112/res/black.ico b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9112/SDK9112/res/black.ico deleted file mode 100644 index b5c375f..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9112/SDK9112/res/black.ico and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9112/SDK9112/res/blue.ico b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9112/SDK9112/res/blue.ico deleted file mode 100644 index 1df4b39..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9112/SDK9112/res/blue.ico and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9112/SDK9112/res/ch_set1.bmp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9112/SDK9112/res/ch_set1.bmp deleted file mode 100644 index f2374ed..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9112/SDK9112/res/ch_set1.bmp and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9112/SDK9112/res/ch_set2.bmp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9112/SDK9112/res/ch_set2.bmp deleted file mode 100644 index 32d0915..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9112/SDK9112/res/ch_set2.bmp and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9112/SDK9112/res/green.ico b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9112/SDK9112/res/green.ico deleted file mode 100644 index d9a9fd3..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9112/SDK9112/res/green.ico and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9112/SDK9112/res/icon1.ico b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9112/SDK9112/res/icon1.ico deleted file mode 100644 index f1282c6..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9112/SDK9112/res/icon1.ico and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9112/SDK9112/res/pink.ico b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9112/SDK9112/res/pink.ico deleted file mode 100644 index 18bdaad..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9112/SDK9112/res/pink.ico and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9112/SDK9112/res/red.ico b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9112/SDK9112/res/red.ico deleted file mode 100644 index 7644596..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9112/SDK9112/res/red.ico and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9112/SDK9112/res/yellow.ico b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9112/SDK9112/res/yellow.ico deleted file mode 100644 index 3449de2..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9112/SDK9112/res/yellow.ico and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9112/SDK9112/resource.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9112/SDK9112/resource.h deleted file mode 100644 index 8152ee5..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9112/SDK9112/resource.h +++ /dev/null @@ -1,84 +0,0 @@ -//{{NO_DEPENDENCIES}} -// Microsoft Visual C++ generated include file. -// Used by Util9112.rc -// -#define IDM_ABOUTBOX 0x0010 -#define IDD_ABOUTBOX 100 -#define IDS_ABOUTBOX 101 -#define IDD_UTIL9112_DIALOG 102 -#define IDR_MAINFRAME 128 -#define IDI_ICON_BLACK 130 -#define IDI_ICON_RED 131 -#define IDB_BITMAP_SET1 132 -#define IDB_BITMAP_SET2 133 -#define IDD_CARDID_DIALOG 135 -#define IDC_STATIC_DRAW0 1000 -#define IDC_COMBO_CARDID 1000 -#define IDC_SCROLLBAR1 1001 -#define IDC_COMBO_CARDTYPE 1001 -#define IDC_STATIC_DRAW1 1002 -#define IDC_ICON_DI00 1003 -#define IDC_ICON_DI01 1004 -#define IDC_ICON_DI02 1005 -#define IDC_ICON_DI03 1006 -#define IDC_ICON_DI04 1007 -#define IDC_ICON_DI05 1008 -#define IDC_ICON_DI06 1009 -#define IDC_ICON_DI07 1010 -#define IDC_ICON_DI08 1011 -#define IDC_ICON_DI09 1012 -#define IDC_ICON_DI10 1013 -#define IDC_ICON_DI11 1014 -#define IDC_STATIC_01 1014 -#define IDC_ICON_DI12 1015 -#define IDC_STATIC_2 1015 -#define IDC_ICON_DI13 1016 -#define IDC_ICON_DI14 1017 -#define IDC_ICON_DI15 1018 -#define IDC_RADIO_CH0 1019 -#define IDC_RADIO_CH1 1020 -#define IDC_RADIO_CH2 1021 -#define IDC_RADIO_CH3 1022 -#define IDC_RADIO_CH4 1023 -#define IDC_RADIO_CH5 1024 -#define IDC_RADIO_CH6 1025 -#define IDC_RADIO_CH7 1026 -#define IDC_RADIO_CH8 1027 -#define IDC_RADIO_CH9 1028 -#define IDC_RADIO_CH10 1029 -#define IDC_RADIO_CH11 1030 -#define IDC_RADIO_CH12 1031 -#define IDC_RADIO_CH13 1032 -#define IDC_RADIO_CH14 1033 -#define IDC_RADIO_CH15 1034 -#define IDC_CHECK_DO00 1035 -#define IDC_CHECK_DO01 1036 -#define IDC_CHECK_DO02 1037 -#define IDC_CHECK_DO03 1038 -#define IDC_CHECK_DO04 1039 -#define IDC_CHECK_DO05 1040 -#define IDC_CHECK_DO06 1041 -#define IDC_CHECK_DO07 1042 -#define IDC_CHECK_DO08 1043 -#define IDC_CHECK_DO09 1044 -#define IDC_CHECK_DO10 1045 -#define IDC_CHECK_DO11 1046 -#define IDC_CHECK_DO12 1047 -#define IDC_CHECK_DO13 1048 -#define IDC_CHECK_DO14 1049 -#define IDC_CHECK_DO15 1050 -#define IDC_COMBO1 1051 -#define IDC_COMBO_AI_RANGE 1051 -#define IDC_EDIT1 1052 -#define IDC_EDIT_AO 1052 - -// Next default values for new objects -// -#ifdef APSTUDIO_INVOKED -#ifndef APSTUDIO_READONLY_SYMBOLS -#define _APS_NEXT_RESOURCE_VALUE 137 -#define _APS_NEXT_COMMAND_VALUE 32771 -#define _APS_NEXT_CONTROL_VALUE 1053 -#define _APS_NEXT_SYMED_VALUE 101 -#endif -#endif diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9112/SDK9112/stdafx.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9112/SDK9112/stdafx.cpp deleted file mode 100644 index c8c8934..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9112/SDK9112/stdafx.cpp +++ /dev/null @@ -1,8 +0,0 @@ - -// stdafx.cpp : source file that includes just the standard includes -// Util9111.pch will be the pre-compiled header -// stdafx.obj will contain the pre-compiled type information - -#include "stdafx.h" - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9112/SDK9112/stdafx.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9112/SDK9112/stdafx.h deleted file mode 100644 index 12123e2..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9112/SDK9112/stdafx.h +++ /dev/null @@ -1,60 +0,0 @@ - -// stdafx.h : include file for standard system include files, -// or project specific include files that are used frequently, -// but are changed infrequently - -#pragma once - -#ifndef _SECURE_ATL -#define _SECURE_ATL 1 -#endif - -#ifndef VC_EXTRALEAN -#define VC_EXTRALEAN // Exclude rarely-used stuff from Windows headers -#endif - -#include "targetver.h" - -#define _ATL_CSTRING_EXPLICIT_CONSTRUCTORS // some CString constructors will be explicit - -// turns off MFC's hiding of some common and often safely ignored warning messages -#define _AFX_ALL_WARNINGS - -#include // MFC core and standard components -#include // MFC extensions - - -#include // MFC Automation classes - - - -#ifndef _AFX_NO_OLE_SUPPORT -#include // MFC support for Internet Explorer 4 Common Controls -#endif -#ifndef _AFX_NO_AFXCMN_SUPPORT -#include // MFC support for Windows Common Controls -#endif // _AFX_NO_AFXCMN_SUPPORT - -#include // MFC support for ribbons and control bars - - - - - - - - - -#ifdef _UNICODE -#if defined _M_IX86 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='x86' publicKeyToken='6595b64144ccf1df' language='*'\"") -#elif defined _M_IA64 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='ia64' publicKeyToken='6595b64144ccf1df' language='*'\"") -#elif defined _M_X64 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='amd64' publicKeyToken='6595b64144ccf1df' language='*'\"") -#else -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='*' publicKeyToken='6595b64144ccf1df' language='*'\"") -#endif -#endif - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9112/SDK9112/targetver.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9112/SDK9112/targetver.h deleted file mode 100644 index 11730d5..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9112/SDK9112/targetver.h +++ /dev/null @@ -1,26 +0,0 @@ - -#pragma once - -// The following macros define the minimum required platform. The minimum required platform -// is the earliest version of Windows, Internet Explorer etc. that has the necessary features to run -// your application. The macros work by enabling all features available on platform versions up to and -// including the version specified. - -// Modify the following defines if you have to target a platform prior to the ones specified below. -// Refer to MSDN for the latest info on corresponding values for different platforms. -#ifndef WINVER // Specifies that the minimum required platform is Windows Vista. -#define WINVER 0x0600 // Change this to the appropriate value to target other versions of Windows. -#endif - -#ifndef _WIN32_WINNT // Specifies that the minimum required platform is Windows Vista. -#define _WIN32_WINNT 0x0600 // Change this to the appropriate value to target other versions of Windows. -#endif - -#ifndef _WIN32_WINDOWS // Specifies that the minimum required platform is Windows 98. -#define _WIN32_WINDOWS 0x0410 // Change this to the appropriate value to target Windows Me or later. -#endif - -#ifndef _WIN32_IE // Specifies that the minimum required platform is Internet Explorer 7.0. -#define _WIN32_IE 0x0700 // Change this to the appropriate value to target other versions of IE. -#endif - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9112/SDK9112DbfDma/9111DbInt.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9112/SDK9112DbfDma/9111DbInt.suo deleted file mode 100644 index f8568dc..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9112/SDK9112DbfDma/9111DbInt.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9112/SDK9112DbfDma/9111PostTg.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9112/SDK9112DbfDma/9111PostTg.suo deleted file mode 100644 index c59a833..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9112/SDK9112DbfDma/9111PostTg.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9112/SDK9112DbfDma/9111int.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9112/SDK9112DbfDma/9111int.suo deleted file mode 100644 index aaca7d8..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9112/SDK9112DbfDma/9111int.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9112/SDK9112DbfDma/9112cdma.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9112/SDK9112DbfDma/9112cdma.cpp deleted file mode 100644 index 3038ab2..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9112/SDK9112DbfDma/9112cdma.cpp +++ /dev/null @@ -1,109 +0,0 @@ - -// 9112cdma.cpp : Defines the class behaviors for the application. -// - -#include "stdafx.h" -#include "9112cdma.h" -#include "9112cdmaDlg.h" -#include "CardIDDlg.h" - -#ifdef _DEBUG -#define new DEBUG_NEW -#endif - - -// C9112cdmaApp - -BEGIN_MESSAGE_MAP(C9112cdmaApp, CWinAppEx) - ON_COMMAND(ID_HELP, &CWinApp::OnHelp) -END_MESSAGE_MAP() - - -// C9112cdmaApp construction - -C9112cdmaApp::C9112cdmaApp() -{ - // TODO: add construction code here, - // Place all significant initialization in InitInstance -} - - -// The one and only C9112cdmaApp object - -C9112cdmaApp theApp; - - -// C9112cdmaApp initialization - -BOOL C9112cdmaApp::InitInstance() -{ - int nCardID = 0; - I16 hCard; - CString strTemp; - INT_PTR nResponse; - - // InitCommonControlsEx() is required on Windows XP if an application - // manifest specifies use of ComCtl32.dll version 6 or later to enable - // visual styles. Otherwise, any window creation will fail. - INITCOMMONCONTROLSEX InitCtrls; - InitCtrls.dwSize = sizeof(InitCtrls); - // Set this to include all the common control classes you want to use - // in your application. - InitCtrls.dwICC = ICC_WIN95_CLASSES; - InitCommonControlsEx(&InitCtrls); - - CWinAppEx::InitInstance(); - - AfxEnableControlContainer(); - - // Standard initialization - // If you are not using these features and wish to reduce the size - // of your final executable, you should remove from the following - // the specific initialization routines you do not need - // Change the registry key under which our settings are stored - // TODO: You should modify this string to be something appropriate - // such as the name of your company or organization - SetRegistryKey(_T("Local AppWizard-Generated Applications")); - - CCardIDDlg CardDlg( nCardID ); - - nResponse = CardDlg.DoModal(); - if (nResponse == IDOK) - { - nCardID = CardDlg.GetCardID(); - - if ((hCard=Register_Card(PCI_9112, nCardID)) < 0) - { - strTemp.Format( TEXT("Register_Card Error = %d"), hCard); - AfxMessageBox( strTemp ); - } - else - { - C9112cdmaDlg dlg(hCard); - m_pMainWnd = &dlg; - nResponse = dlg.DoModal(); - if (nResponse == IDOK) - { - // TODO: Place code here to handle when the dialog is - // dismissed with OK - } - else if (nResponse == IDCANCEL) - { - // TODO: Place code here to handle when the dialog is - // dismissed with Cancel - } - - if (hCard >= 0) Release_Card(hCard); - } - - } - else if (nResponse == IDCANCEL) - { - // TODO: Place code here to handle when the dialog is - // dismissed with Cancel - } - - // Since the dialog has been closed, return FALSE so that we exit the - // application, rather than start the application's message pump. - return FALSE; -} diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9112/SDK9112DbfDma/9112cdma.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9112/SDK9112DbfDma/9112cdma.h deleted file mode 100644 index 76f9e17..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9112/SDK9112DbfDma/9112cdma.h +++ /dev/null @@ -1,32 +0,0 @@ - -// 9112cdma.h : main header file for the PROJECT_NAME application -// - -#pragma once - -#ifndef __AFXWIN_H__ - #error "include 'stdafx.h' before including this file for PCH" -#endif - -#include "resource.h" // main symbols - - -// C9112cdmaApp: -// See 9112cdma.cpp for the implementation of this class -// - -class C9112cdmaApp : public CWinAppEx -{ -public: - C9112cdmaApp(); - -// Overrides - public: - virtual BOOL InitInstance(); - -// Implementation - - DECLARE_MESSAGE_MAP() -}; - -extern C9112cdmaApp theApp; \ No newline at end of file diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9112/SDK9112DbfDma/9112cdma.rc b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9112/SDK9112DbfDma/9112cdma.rc deleted file mode 100644 index f474143..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9112/SDK9112DbfDma/9112cdma.rc +++ /dev/null @@ -1,292 +0,0 @@ -// Microsoft Visual C++ generated resource script. -// -#include "resource.h" - -#define APSTUDIO_READONLY_SYMBOLS -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 2 resource. -// -#ifndef APSTUDIO_INVOKED -#include "targetver.h" -#endif -#include "afxres.h" - -///////////////////////////////////////////////////////////////////////////// -#undef APSTUDIO_READONLY_SYMBOLS - -///////////////////////////////////////////////////////////////////////////// -// Chinese (Taiwan) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_CHT) -#ifdef _WIN32 -LANGUAGE LANG_CHINESE, SUBLANG_CHINESE_TRADITIONAL -#pragma code_page(950) -#endif //_WIN32 - -#ifdef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// TEXTINCLUDE -// - -1 TEXTINCLUDE -BEGIN - "resource.h\0" -END - -2 TEXTINCLUDE -BEGIN - "#ifndef APSTUDIO_INVOKED\r\n" - "#include ""targetver.h""\r\n" - "#endif\r\n" - "#include ""afxres.h""\r\n" - "\0" -END - -3 TEXTINCLUDE -BEGIN - "#define _AFX_NO_SPLITTER_RESOURCES\r\n" - "#define _AFX_NO_OLE_RESOURCES\r\n" - "#define _AFX_NO_TRACKER_RESOURCES\r\n" - "#define _AFX_NO_PROPERTY_RESOURCES\r\n" - "\r\n" - "#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)\r\n" - "LANGUAGE 9, 1\r\n" - "#pragma code_page(1252)\r\n" - "#include ""res\\My9112cdma.rc2"" // non-Microsoft Visual C++ edited resources\r\n" - "#include ""afxres.rc"" // Standard components\r\n" - "#endif\r\n" - "\0" -END - -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// Icon -// - -// Icon with lowest ID value placed first to ensure application icon -// remains consistent on all systems. -IDR_MAINFRAME ICON "res\\9112cdma.ico" -#endif // Chinese (Taiwan) resources -///////////////////////////////////////////////////////////////////////////// - - -///////////////////////////////////////////////////////////////////////////// -// English (U.S.) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -#ifdef _WIN32 -LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US -#pragma code_page(1252) -#endif //_WIN32 - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog -// - -IDD_ABOUTBOX DIALOGEX 0, 0, 170, 62 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "About 9112cdma" -FONT 8, "MS Shell Dlg", 0, 0, 0x1 -BEGIN - ICON IDR_MAINFRAME,IDC_STATIC,14,14,21,20 - LTEXT "9112cdma, Version 1.0",IDC_STATIC,42,14,114,8,SS_NOPREFIX - LTEXT "Copyright (C) 2010",IDC_STATIC,42,26,114,8 - DEFPUSHBUTTON "OK",IDOK,113,41,50,14,WS_GROUP -END - -IDD_PCI9112_CDMA_DIALOG DIALOGEX 0, 0, 365, 232 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU -EXSTYLE WS_EX_APPWINDOW -CAPTION "PCI-9112 Double-Buffered DMA" -FONT 8, "MS Shell Dlg", 0, 0, 0x1 -BEGIN - GROUPBOX "",IDC_STATIC_DRAW,45,9,248,161,NOT WS_VISIBLE - LTEXT "Range : +/- 5V",IDC_STATIC,299,129,52,15 - LTEXT "Buffer Size",IDC_STATIC,124,183,42,9 - EDITTEXT IDC_EDIT_SAMPLE_RATE,47,196,39,14,ES_AUTOHSCROLL | ES_READONLY - LTEXT "Sample Rate :",IDC_STATIC,47,182,49,9 - LTEXT "KHz",IDC_STATIC,99,199,15,9 - SCROLLBAR IDC_SCROLLBAR_RATE,87,196,9,11,SBS_VERT - PUSHBUTTON "Start",IDC_BT_START,230,188,55,22 - CONTROL "0",IDC_RADIO_CH0,"Button",BS_AUTORADIOBUTTON | BS_LEFTTEXT,307,20,16,12 - CONTROL "1",IDC_RADIO_CH1,"Button",BS_AUTORADIOBUTTON | BS_LEFTTEXT,307,35,16,12 - CONTROL "2",IDC_RADIO_CH2,"Button",BS_AUTORADIOBUTTON | BS_LEFTTEXT,307,49,16,12 - CONTROL "3",IDC_RADIO_CH3,"Button",BS_AUTORADIOBUTTON | BS_LEFTTEXT,307,64,16,12 - CONTROL "4",IDC_RADIO_CH4,"Button",BS_AUTORADIOBUTTON | BS_LEFTTEXT,331,20,16,12 - CONTROL "5",IDC_RADIO_CH5,"Button",BS_AUTORADIOBUTTON | BS_LEFTTEXT,331,35,16,12 - CONTROL "6",IDC_RADIO_CH6,"Button",BS_AUTORADIOBUTTON | BS_LEFTTEXT,331,49,16,12 - CONTROL "7",IDC_RADIO_CH7,"Button",BS_AUTORADIOBUTTON | BS_LEFTTEXT,331,64,16,12 - EDITTEXT IDC_EDIT_BUF_SIZE,122,196,46,14,ES_AUTOHSCROLL - PUSHBUTTON "Stop",IDC_BT_STOP,291,188,55,22 -END - -IDD_CARDID_DIALOG DIALOGEX 0, 0, 174, 89 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "Card ID" -FONT 8, "MS Shell Dlg", 400, 0, 0x1 -BEGIN - COMBOBOX IDC_COMBO_CARDID,75,24,71,126,CBS_DROPDOWN | WS_VSCROLL | WS_TABSTOP - LTEXT "Card Number",IDC_STATIC_01,21,25,46,12 - PUSHBUTTON "OK",IDOK,22,53,58,19 - PUSHBUTTON "CANCEL",IDCANCEL,86,53,58,19 -END - - -///////////////////////////////////////////////////////////////////////////// -// -// Version -// - -VS_VERSION_INFO VERSIONINFO - FILEVERSION 1,0,0,1 - PRODUCTVERSION 1,0,0,1 - FILEFLAGSMASK 0x3fL -#ifdef _DEBUG - FILEFLAGS 0x1L -#else - FILEFLAGS 0x0L -#endif - FILEOS 0x4L - FILETYPE 0x1L - FILESUBTYPE 0x0L -BEGIN - BLOCK "StringFileInfo" - BEGIN - BLOCK "040904e4" - BEGIN - VALUE "CompanyName", "TODO: " - VALUE "FileDescription", "TODO: " - VALUE "FileVersion", "1.0.0.1" - VALUE "InternalName", "9112cdma.exe" - VALUE "LegalCopyright", "TODO: (c) . All rights reserved." - VALUE "OriginalFilename", "9112cdma.exe" - VALUE "ProductName", "TODO: " - VALUE "ProductVersion", "1.0.0.1" - END - END - BLOCK "VarFileInfo" - BEGIN - VALUE "Translation", 0x409, 1252 - END -END - - -///////////////////////////////////////////////////////////////////////////// -// -// DESIGNINFO -// - -#ifdef APSTUDIO_INVOKED -GUIDELINES DESIGNINFO -BEGIN - IDD_ABOUTBOX, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 163 - TOPMARGIN, 7 - BOTTOMMARGIN, 55 - END - - IDD_CARDID_DIALOG, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 167 - TOPMARGIN, 7 - BOTTOMMARGIN, 82 - END -END -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog Info -// - -IDD_CARDID_DIALOG DLGINIT -BEGIN - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0030, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0031, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0032, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0033, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0034, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0035, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0036, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0037, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0038, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0039, - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3031, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3131, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3231, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3331, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3431, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3531, "\000" - 0 -END - - -///////////////////////////////////////////////////////////////////////////// -// -// Bitmap -// - -IDB_BITMAP_SET1 BITMAP "res\\ch_set1.bmp" -IDB_BITMAP_SET2 BITMAP "res\\ch_set2.bmp" - -///////////////////////////////////////////////////////////////////////////// -// -// String Table -// - -STRINGTABLE -BEGIN - IDS_ABOUTBOX "&About 9112cdma..." -END - -#endif // English (U.S.) resources -///////////////////////////////////////////////////////////////////////////// - - - -#ifndef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 3 resource. -// -#define _AFX_NO_SPLITTER_RESOURCES -#define _AFX_NO_OLE_RESOURCES -#define _AFX_NO_TRACKER_RESOURCES -#define _AFX_NO_PROPERTY_RESOURCES - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -LANGUAGE 9, 1 -#pragma code_page(1252) -#include "res\My9112cdma.rc2" // non-Microsoft Visual C++ edited resources -#include "afxres.rc" // Standard components -#endif - -///////////////////////////////////////////////////////////////////////////// -#endif // not APSTUDIO_INVOKED - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9112/SDK9112DbfDma/9112cdma.sln b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9112/SDK9112DbfDma/9112cdma.sln deleted file mode 100644 index bfb50e4..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9112/SDK9112DbfDma/9112cdma.sln +++ /dev/null @@ -1,20 +0,0 @@ - -Microsoft Visual Studio Solution File, Format Version 10.00 -# Visual Studio 2008 -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "9112cdma", "9112cdma.vcproj", "{702163FB-B6DF-4EF5-9491-FC54D71509BC}" -EndProject -Global - GlobalSection(SolutionConfigurationPlatforms) = preSolution - Debug|x64 = Debug|x64 - Release|x64 = Release|x64 - EndGlobalSection - GlobalSection(ProjectConfigurationPlatforms) = postSolution - {702163FB-B6DF-4EF5-9491-FC54D71509BC}.Debug|x64.ActiveCfg = Debug|x64 - {702163FB-B6DF-4EF5-9491-FC54D71509BC}.Debug|x64.Build.0 = Debug|x64 - {702163FB-B6DF-4EF5-9491-FC54D71509BC}.Release|x64.ActiveCfg = Release|x64 - {702163FB-B6DF-4EF5-9491-FC54D71509BC}.Release|x64.Build.0 = Release|x64 - EndGlobalSection - GlobalSection(SolutionProperties) = preSolution - HideSolutionNode = FALSE - EndGlobalSection -EndGlobal diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9112/SDK9112DbfDma/9112cdma.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9112/SDK9112DbfDma/9112cdma.suo deleted file mode 100644 index 74a937d..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9112/SDK9112DbfDma/9112cdma.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9112/SDK9112DbfDma/9112cdma.vcproj b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9112/SDK9112DbfDma/9112cdma.vcproj deleted file mode 100644 index ce55de8..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9112/SDK9112DbfDma/9112cdma.vcproj +++ /dev/null @@ -1,294 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9112/SDK9112DbfDma/9112cdmaDlg.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9112/SDK9112DbfDma/9112cdmaDlg.cpp deleted file mode 100644 index f9243f7..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9112/SDK9112DbfDma/9112cdmaDlg.cpp +++ /dev/null @@ -1,617 +0,0 @@ - -// 9112cdmaDlg.cpp : implementation file -// - -#include "stdafx.h" -#include "9112cdma.h" -#include "9112cdmaDlg.h" - -#ifdef _DEBUG -#define new DEBUG_NEW -#endif - -CRect plotRect; - -// CAboutDlg dialog used for App About - -class CAboutDlg : public CDialog -{ -public: - CAboutDlg(); - -// Dialog Data - enum { IDD = IDD_ABOUTBOX }; - - protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - -// Implementation -protected: - DECLARE_MESSAGE_MAP() -}; - -CAboutDlg::CAboutDlg() : CDialog(CAboutDlg::IDD) -{ -} - -void CAboutDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); -} - -BEGIN_MESSAGE_MAP(CAboutDlg, CDialog) -END_MESSAGE_MAP() - - -// C9112cdmaDlg dialog - - - - -C9112cdmaDlg::C9112cdmaDlg(I16 hCard, CWnd* pParent /*=NULL*/) - : CDialog(C9112cdmaDlg::IDD, pParent) -{ - m_hIcon = AfxGetApp()->LoadIcon(IDR_MAINFRAME); - - n_PlotWidth = n_PlotHeight = -1; - OnBrush = OffBrush = NULL; - - min_val = 0x00; - max_val = 0xFFFF; - - m_fSampleRate = 10000.0; // 10KHz - - m_hCard = hCard; - - m_wScanChans = 0; - m_nTimer = -1; - m_hMem=NULL; - - m_wRange = AD_B_5_V; - m_dwReadCount = 1000; - m_wPostCount = 512; - m_wChannel = 0; - -} - -void C9112cdmaDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); -} - -BEGIN_MESSAGE_MAP(C9112cdmaDlg, CDialog) - ON_WM_SYSCOMMAND() - ON_WM_PAINT() - ON_WM_QUERYDRAGICON() - //}}AFX_MSG_MAP - ON_WM_DESTROY() - ON_WM_VSCROLL() - ON_BN_CLICKED(IDC_BT_START, &C9112cdmaDlg::OnStart) - ON_BN_CLICKED(IDC_RADIO_CH0, &C9112cdmaDlg::OnCh0) - ON_BN_CLICKED(IDC_RADIO_CH1, &C9112cdmaDlg::OnCh1) - ON_BN_CLICKED(IDC_RADIO_CH2, &C9112cdmaDlg::OnCh2) - ON_BN_CLICKED(IDC_RADIO_CH3, &C9112cdmaDlg::OnCh3) - ON_BN_CLICKED(IDC_RADIO_CH4, &C9112cdmaDlg::OnCh4) - ON_BN_CLICKED(IDC_RADIO_CH5, &C9112cdmaDlg::OnCh5) - ON_BN_CLICKED(IDC_RADIO_CH6, &C9112cdmaDlg::OnCh6) - ON_BN_CLICKED(IDC_RADIO_CH7, &C9112cdmaDlg::OnCh7) - ON_WM_TIMER() - ON_BN_CLICKED(IDC_BT_STOP, &C9112cdmaDlg::OnStop) -END_MESSAGE_MAP() - - -// C9112cdmaDlg message handlers - -BOOL C9112cdmaDlg::OnInitDialog() -{ - CDialog::OnInitDialog(); - - // Add "About..." menu item to system menu. - - // IDM_ABOUTBOX must be in the system command range. - ASSERT((IDM_ABOUTBOX & 0xFFF0) == IDM_ABOUTBOX); - ASSERT(IDM_ABOUTBOX < 0xF000); - - CMenu* pSysMenu = GetSystemMenu(FALSE); - if (pSysMenu != NULL) - { - BOOL bNameValid; - CString strAboutMenu; - bNameValid = strAboutMenu.LoadString(IDS_ABOUTBOX); - ASSERT(bNameValid); - if (!strAboutMenu.IsEmpty()) - { - pSysMenu->AppendMenu(MF_SEPARATOR); - pSysMenu->AppendMenu(MF_STRING, IDM_ABOUTBOX, strAboutMenu); - } - } - - // Set the icon for this dialog. The framework does this automatically - // when the application's main window is not a dialog - SetIcon(m_hIcon, TRUE); // Set big icon - SetIcon(m_hIcon, FALSE); // Set small icon - - // TODO: Add extra initialization here - x_divider = 5; y_divider = 4; - - OnBrush = CreateSolidBrush( RGB(255,0,0) ); - OffBrush = CreateSolidBrush( RGB(125,0,0) ); - - RedPen.CreatePen( PS_SOLID, 1, RGB(255,0,0)); - - - if( n_PlotWidth == -1 && n_PlotHeight == -1 ) - { - ((CWnd*)GetDlgItem(IDC_STATIC_DRAW))->GetWindowRect(&plotRect); - ScreenToClient(&plotRect); - - n_PlotWidth = min( plotRect.Width(), 512); - n_PlotHeight = plotRect.Height() - 10; - } - - // set the default SampleRate - SetDlgItemInt( IDC_EDIT_SAMPLE_RATE, (UINT)(m_fSampleRate/1000) ); - SetDlgItemInt( IDC_EDIT_BUF_SIZE, (UINT)(m_dwReadCount) ); - ((CButton*)GetDlgItem( IDC_RADIO_CH0 ))->SetCheck( TRUE ); - - m_wChannel = 0; - - max_range = 5.0; - min_range = -5.0; - - return TRUE; // return TRUE unless you set the focus to a control -} - -void C9112cdmaDlg::OnSysCommand(UINT nID, LPARAM lParam) -{ - if ((nID & 0xFFF0) == IDM_ABOUTBOX) - { - CAboutDlg dlgAbout; - dlgAbout.DoModal(); - } - else - { - CDialog::OnSysCommand(nID, lParam); - } -} - -// If you add a minimize button to your dialog, you will need the code below -// to draw the icon. For MFC applications using the document/view model, -// this is automatically done for you by the framework. - -void C9112cdmaDlg::OnPaint() -{ - if (IsIconic()) - { - CPaintDC dc(this); // device context for painting - - SendMessage(WM_ICONERASEBKGND, reinterpret_cast(dc.GetSafeHdc()), 0); - - // Center icon in client rectangle - int cxIcon = GetSystemMetrics(SM_CXICON); - int cyIcon = GetSystemMetrics(SM_CYICON); - CRect rect; - GetClientRect(&rect); - int x = (rect.Width() - cxIcon + 1) / 2; - int y = (rect.Height() - cyIcon + 1) / 2; - - // Draw the icon - dc.DrawIcon(x, y, m_hIcon); - } - else - { - redraw_display_area(); - CDialog::OnPaint(); - } -} - -// The system calls this function to obtain the cursor to display while the user drags -// the minimized window. -HCURSOR C9112cdmaDlg::OnQueryDragIcon() -{ - return static_cast(m_hIcon); -} - - -void C9112cdmaDlg::redraw_display_area(void) -{ - CPen *oldPen; - - int oldMode; - COLORREF oldColor; - - CString y_lable; - - CPen minor_tick( PS_SOLID,1,RGB(132,130,132) ); -// CPen y_grid( PS_SOLID,1,RGB(206,203,132) ); - - int i, x_intv, y_intv; -// long total_sec; - - CClientDC dc_plot(this); - - // draw the base-line for x-y axises - oldPen = (CPen *)dc_plot.SelectStockObject(BLACK_PEN); - - // redraw the background - dc_plot.FillSolidRect( plotRect, RGB(0,0,0) ); - - // Re-Draw the AREA for Y-Lable - { - CBrush DIALOG_BRUSH; - CRect redraw_area, full_client; - - GetClientRect(&full_client); - ScreenToClient(&full_client); - - redraw_area.left = full_client.left; - redraw_area.top = plotRect.top - 5; - redraw_area.right = plotRect.left - 3; - redraw_area.bottom = plotRect.bottom + 10; - - DIALOG_BRUSH.CreateSysColorBrush( COLOR_3DFACE ); - - dc_plot.FillRect( redraw_area, &DIALOG_BRUSH ); - - DIALOG_BRUSH.DeleteObject(); - } - - dc_plot.MoveTo( plotRect.left - 3, plotRect.top ); - dc_plot.LineTo( plotRect.left - 3, plotRect.bottom ); - - // calculate the interval for tick/grid - y_intv = (plotRect.Height() - 10) /y_divider; - x_intv = plotRect.Width()/x_divider; - - - // set the color for tick - oldColor = dc_plot.SetTextColor( RGB(0,0,0) ); - oldMode = dc_plot.SetBkMode( TRANSPARENT ); - - for( i=0; i<= y_divider; i++ ) - { - CString tick_str; - CRect tmp_rect, tick_rect; - - // draw the tick for y-axis - dc_plot.MoveTo( plotRect.left -12, plotRect.bottom -5 - (i*y_intv) ); - dc_plot.LineTo( plotRect.left -3, plotRect.bottom -5 - (i*y_intv) ); - - tick_str.Format( _T("%.1f"), ( ((max_range-min_range)/y_divider) * i)+min_range ); - - // calculate the rectangle for text - dc_plot.DrawText( tick_str, &tmp_rect, DT_CALCRECT|DT_SINGLELINE ); - tick_rect.right = plotRect.left -14; - tick_rect.left = tick_rect.right - tmp_rect.Width(); - tick_rect.top = plotRect.bottom -5 - (i*y_intv) - tmp_rect.Height()/2; - tick_rect.bottom = tick_rect.top + tmp_rect.Height(); - - // draw the text - dc_plot.DrawText( tick_str, &tick_rect, DT_SINGLELINE|DT_RIGHT ); - - } - - // draw the minor_tick for Y axises - dc_plot.SelectObject(&minor_tick); - for( i=0; i< y_divider; i++ ) - { - dc_plot.MoveTo( plotRect.left -9, plotRect.bottom -5 - (i*y_intv) - y_intv/2 ); - dc_plot.LineTo( plotRect.left -4, plotRect.bottom -5 - (i*y_intv) - y_intv/2 ); - } - - dc_plot.SetTextColor( oldColor ); - dc_plot.SetBkMode( oldMode ); - dc_plot.SelectObject( oldPen ); -} - -void C9112cdmaDlg::OnDestroy() -{ - CDialog::OnDestroy(); - - // TODO: Add your message handler code here - if( m_nTimer != -1 ) - { - KillTimer( m_nTimer ); - m_nTimer = -1; - } - - if (m_hMem != NULL) - { - GlobalUnfix(m_hMem); - GlobalUnlock(m_hMem); - GlobalFree(m_hMem); - - m_hMem = NULL; - } - - if( OnBrush != NULL ) - ::DeleteObject( OnBrush ); - - if( OffBrush != NULL ) - ::DeleteObject( OffBrush ); - - RedPen.DeleteObject(); - -} - -void C9112cdmaDlg::OnVScroll(UINT nSBCode, UINT nPos, CScrollBar* pScrollBar) -{ - // TODO: Add your message handler code here and/or call default - switch ( nSBCode ) - { - case SB_LINEUP : - m_fSampleRate += 5000.0; - if (m_fSampleRate > 100000.0 ) m_fSampleRate = 100000.0; - break; - case SB_LINEDOWN: - m_fSampleRate -= 5000.0; - if (m_fSampleRate < 5000.0 ) m_fSampleRate = 5000.0; - break; - } - - SetDlgItemInt( IDC_EDIT_SAMPLE_RATE, (UINT)(m_fSampleRate/1000) ); - - CDialog::OnVScroll(nSBCode, nPos, pScrollBar); -} - - -void C9112cdmaDlg::OnStop() -{ - // TODO: Add your control notification handler code here - U32 count; - - AI_AsyncClear(m_hCard, &count); - - if( m_nTimer != -1 ) - { - KillTimer( m_nTimer ); - m_nTimer = -1; - } - - GetDlgItem( IDC_BT_START )->EnableWindow(TRUE); - - GetDlgItem( IDC_RADIO_CH0 )->EnableWindow(TRUE); - GetDlgItem( IDC_RADIO_CH1 )->EnableWindow(TRUE); - GetDlgItem( IDC_RADIO_CH2 )->EnableWindow(TRUE); - GetDlgItem( IDC_RADIO_CH3 )->EnableWindow(TRUE); - GetDlgItem( IDC_RADIO_CH4 )->EnableWindow(TRUE); - GetDlgItem( IDC_RADIO_CH5 )->EnableWindow(TRUE); - GetDlgItem( IDC_RADIO_CH6 )->EnableWindow(TRUE); - GetDlgItem( IDC_RADIO_CH7 )->EnableWindow(TRUE); -} - -void C9112cdmaDlg::OnStart() -{ - // TODO: Add your control notification handler code here - DWORD mem_size; - CString strTemp; - I16 err; - - GetDlgItem( IDC_BT_START )->EnableWindow(FALSE); - - GetDlgItem( IDC_RADIO_CH0 )->EnableWindow(FALSE); - GetDlgItem( IDC_RADIO_CH1 )->EnableWindow(FALSE); - GetDlgItem( IDC_RADIO_CH2 )->EnableWindow(FALSE); - GetDlgItem( IDC_RADIO_CH3 )->EnableWindow(FALSE); - GetDlgItem( IDC_RADIO_CH4 )->EnableWindow(FALSE); - GetDlgItem( IDC_RADIO_CH5 )->EnableWindow(FALSE); - GetDlgItem( IDC_RADIO_CH6 )->EnableWindow(FALSE); - GetDlgItem( IDC_RADIO_CH7 )->EnableWindow(FALSE); - - m_dwReadCount = GetDlgItemInt(IDC_EDIT_BUF_SIZE); - - if (m_hMem != NULL) - { - GlobalUnfix(m_hMem); - GlobalUnlock(m_hMem); - GlobalFree(m_hMem); - - m_hMem = NULL; - } - - // allocate a memory for user DMA buffer - mem_size = m_dwReadCount * sizeof(I16); - m_hMem = GlobalAlloc(GMEM_ZEROINIT, mem_size); - m_pAIBuf = (U16*) GlobalLock(m_hMem); - if (m_pAIBuf == NULL ) - { - AfxMessageBox( TEXT("Memory allocation failed"), MB_OK); - return; - } - - GlobalFix(m_hMem); - - err=AI_9112_Config(m_hCard, TRIG_INT_PACER); - - if (err!=0) - { - strTemp.Format( TEXT("AI_9112_Config error=%d"), err); - AfxMessageBox( strTemp ); - } - - err=AI_AsyncDblBufferMode(m_hCard, 1); // single-buffer mode - if (err!=0) - { - strTemp.Format( TEXT("AI_DblBufferMode error=%d"), err); - AfxMessageBox( strTemp ); - } - - err=AI_ContReadChannel (m_hCard, m_wChannel, m_wRange, (U16*)m_pAIBuf, m_dwReadCount, (F64)m_fSampleRate, ASYNCH_OP); - if (err!=0) - { - strTemp.Format( TEXT("AI_ContReadChannel error=%d"), err); - AfxMessageBox( strTemp ); - } - - m_nTimer = SetTimer( 1, 20, NULL ); - -} - -int C9112cdmaDlg::display_buffer_data(U16* pBuf) -{ - CClientDC dc_plot(this); - int nDraw_Origin_Y; - int cur_channel; - - int newY = -1; - int newX = -1; - U32 index; - U16 ai_data; - U32 dwDataSize = (m_dwReadCount/2); - - // redraw the background - dc_plot.FillSolidRect( plotRect, RGB(0,0,0) ); - - dc_plot.SelectObject(&RedPen); - nDraw_Origin_Y = ( plotRect.bottom - 5 ); - - for( index=0; index> 4; - cur_channel = pBuf[index] & 0x0f; - newY = (int)( nDraw_Origin_Y - ((n_PlotHeight * ai_data) >> 12 ) ); // (n_PlotHeight * ai_data / 4096 ) --> (n_PlotHeight * ai_data) >> 12 ) - - newX = (int)( index*n_PlotWidth/dwDataSize + plotRect.left ); - - if ( index == 0 ) - { - dc_plot.MoveTo( newX, newY ); - } - else - { - dc_plot.MoveTo( m_oldX, m_oldY ); - dc_plot.LineTo( newX, newY ); - } - - m_oldX = newX; - m_oldY = newY; - } - - return 0; -} - -void C9112cdmaDlg::OnTimer(UINT_PTR nIDEvent) -{ - // TODO: Add your message handler code here and/or call default - BOOLEAN HalfReady; - BOOLEAN fstop; - - AI_AsyncDblBufferHalfReady(m_hCard, &HalfReady, &fstop); - - if( HalfReady ) // half-buffer ready - { - AI_AsyncDblBufferTransfer(m_hCard, m_pAIBuf); - display_buffer_data( m_pAIBuf ); - } - - CDialog::OnTimer(nIDEvent); -} - -void C9112cdmaDlg::OnCh0() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_RADIO_CH0 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_wChannel = 0; - } - -} - -void C9112cdmaDlg::OnCh1() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_RADIO_CH1 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_wChannel = 1; - } -} - -void C9112cdmaDlg::OnCh2() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_RADIO_CH2 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_wChannel = 2; - } -} - -void C9112cdmaDlg::OnCh3() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_RADIO_CH3 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_wChannel = 3; - } -} - -void C9112cdmaDlg::OnCh4() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_RADIO_CH4 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_wChannel = 4; - } -} - -void C9112cdmaDlg::OnCh5() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_RADIO_CH5 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_wChannel = 5; - } -} - -void C9112cdmaDlg::OnCh6() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_RADIO_CH6 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_wChannel = 6; - } -} - -void C9112cdmaDlg::OnCh7() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_RADIO_CH7 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_wChannel = 7; - } -} - - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9112/SDK9112DbfDma/9112cdmaDlg.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9112/SDK9112DbfDma/9112cdmaDlg.h deleted file mode 100644 index 6175f31..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9112/SDK9112DbfDma/9112cdmaDlg.h +++ /dev/null @@ -1,78 +0,0 @@ - -// 9112cdmaDlg.h : header file -#pragma once -#include "afxcmn.h" -#include "afxwin.h" - -#include "Dask64.h" - -#ifndef MAX_CHAN_9112 -#define MAX_CHAN_9112 16 -#endif - -// C9112cdmaDlg dialog -class C9112cdmaDlg : public CDialog -{ -// Construction -public: - C9112cdmaDlg(I16 hCard, CWnd* pParent = NULL); // standard constructor - -// Dialog Data - enum { IDD = IDD_PCI9112_CDMA_DIALOG }; - - protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - - -// Implementation -protected: - HICON m_hIcon; - UINT_PTR m_nTimer; - I16 m_hCard; - double m_fSampleRate; - U16 m_wScanChans; - HANDLE m_hMem; - U16 *m_pAIBuf; - U16 m_wRange; - int m_oldY; - int m_oldX; - U32 m_dwReadCount; - U16 m_wChannel; - U16 m_wPostCount; - - // Generated message map functions - virtual BOOL OnInitDialog(); - afx_msg void OnSysCommand(UINT nID, LPARAM lParam); - afx_msg void OnPaint(); - afx_msg HCURSOR OnQueryDragIcon(); - DECLARE_MESSAGE_MAP() - -public: - WORD max_val; - WORD min_val; - double max_range; - double min_range; - int n_PlotWidth; - int n_PlotHeight; - int y_divider; - int x_divider; - int m_DisplayScale; - HBRUSH OnBrush; - HBRUSH OffBrush; - CPen RedPen; - void redraw_display_area(void); - afx_msg void OnDestroy(); - afx_msg void OnVScroll(UINT nSBCode, UINT nPos, CScrollBar* pScrollBar); - afx_msg void OnStart(); - int display_buffer_data(U16* pBuf); - afx_msg void OnCh0(); - afx_msg void OnCh1(); - afx_msg void OnCh2(); - afx_msg void OnCh3(); - afx_msg void OnCh4(); - afx_msg void OnCh5(); - afx_msg void OnCh6(); - afx_msg void OnCh7(); - afx_msg void OnTimer(UINT_PTR nIDEvent); - afx_msg void OnStop(); -}; diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9112/SDK9112DbfDma/CardIDDlg.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9112/SDK9112DbfDma/CardIDDlg.cpp deleted file mode 100644 index 8301804..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9112/SDK9112DbfDma/CardIDDlg.cpp +++ /dev/null @@ -1,67 +0,0 @@ -// CardIDDlg.cpp : implementation file -// -#include "stdafx.h" -#include "9112cdma.h" -#include "9112cdmaDlg.h" -#include "CardIDDlg.h" - -// CCardIDDlg dialog - -IMPLEMENT_DYNAMIC(CCardIDDlg, CDialog) - -CCardIDDlg::CCardIDDlg(int nCardIdx, CWnd* pParent /*=NULL*/) - : CDialog(CCardIDDlg::IDD, pParent) -{ - m_nCardIdx = nCardIdx; -} - -CCardIDDlg::~CCardIDDlg() -{ -} - -void CCardIDDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); - DDX_Control(pDX, IDC_COMBO_CARDID, m_cbCardID); -} - - -BEGIN_MESSAGE_MAP(CCardIDDlg, CDialog) -// ON_CBN_SELCHANGE(IDC_COMBO_CARDID, &CCardIDDlg::OnCbnSelchangeComboCardid) -ON_BN_CLICKED(IDOK, &CCardIDDlg::OnBnClickedOk) -//ON_WM_CTLCOLOR() -END_MESSAGE_MAP() - - -// CCardIDDlg message handlers - - -void CCardIDDlg::OnBnClickedOk() -{ - // TODO: Add your control notification handler code here - -// UpdateData(TRUE); - m_nCardIdx = m_cbCardID.GetCurSel(); - - OnOK(); -} - -BOOL CCardIDDlg::OnInitDialog() -{ - CDialog::OnInitDialog(); - - // TODO: Add extra initialization here - m_cbCardID.SetCurSel( m_nCardIdx ); - - return TRUE; // return TRUE unless you set the focus to a control - // EXCEPTION: OCX Property Pages should return FALSE -} - -// the function to get the selected CardID -int CCardIDDlg::GetCardID(void) -{ - return m_nCardIdx; -} - - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9112/SDK9112DbfDma/CardIDDlg.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9112/SDK9112DbfDma/CardIDDlg.h deleted file mode 100644 index 04b8560..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9112/SDK9112DbfDma/CardIDDlg.h +++ /dev/null @@ -1,34 +0,0 @@ -#pragma once -#include "afxwin.h" - -#include "Dask64.h" - -// CCardIDDlg dialog - -class CCardIDDlg : public CDialog -{ - DECLARE_DYNAMIC(CCardIDDlg) - -public: - CCardIDDlg(int nCardIdx, CWnd* pParent = NULL); // standard constructor - virtual ~CCardIDDlg(); - -// Dialog Data - enum { IDD = IDD_CARDID_DIALOG }; - -protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - - DECLARE_MESSAGE_MAP() -public: - virtual BOOL OnInitDialog(); - afx_msg void OnBnClickedOk(); - // the setting of CardID ComboBox - int m_nCardIdx; - U16 m_CardType; - // the control of CardID ComboBox - CComboBox m_cbCardID; - // the function to get the selected CardID - int GetCardID(void); - -}; diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9112/SDK9112DbfDma/ReadMe.txt b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9112/SDK9112DbfDma/ReadMe.txt deleted file mode 100644 index db1c6f8..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9112/SDK9112DbfDma/ReadMe.txt +++ /dev/null @@ -1,93 +0,0 @@ -================================================================================ - MICROSOFT FOUNDATION CLASS LIBRARY : 9112cdma Project Overview -=============================================================================== - -The application wizard has created this 9112cdma application for -you. This application not only demonstrates the basics of using the Microsoft -Foundation Classes but is also a starting point for writing your application. - -This file contains a summary of what you will find in each of the files that -make up your 9112cdma application. - -9112cdma.vcproj - This is the main project file for VC++ projects generated using an application wizard. - It contains information about the version of Visual C++ that generated the file, and - information about the platforms, configurations, and project features selected with the - application wizard. - -9112cdma.h - This is the main header file for the application. It includes other - project specific headers (including Resource.h) and declares the - C9112cdmaApp application class. - -9112cdma.cpp - This is the main application source file that contains the application - class C9112cdmaApp. - -9112cdma.rc - This is a listing of all of the Microsoft Windows resources that the - program uses. It includes the icons, bitmaps, and cursors that are stored - in the RES subdirectory. This file can be directly edited in Microsoft - Visual C++. Your project resources are in 1033. - -res\9112cdma.ico - This is an icon file, which is used as the application's icon. This - icon is included by the main resource file 9112cdma.rc. - -res\My9112cdma.rc2 - This file contains resources that are not edited by Microsoft - Visual C++. You should place all resources not editable by - the resource editor in this file. - - -///////////////////////////////////////////////////////////////////////////// - -The application wizard creates one dialog class: - -9112cdmaDlg.h, 9112cdmaDlg.cpp - the dialog - These files contain your C9112cdmaDlg class. This class defines - the behavior of your application's main dialog. The dialog's template is - in 9112cdma.rc, which can be edited in Microsoft Visual C++. - - -///////////////////////////////////////////////////////////////////////////// - -Other Features: - -ActiveX Controls - The application includes support to use ActiveX controls. - -///////////////////////////////////////////////////////////////////////////// - -Other standard files: - -StdAfx.h, StdAfx.cpp - These files are used to build a precompiled header (PCH) file - named 9112cdma.pch and a precompiled types file named StdAfx.obj. - -Resource.h - This is the standard header file, which defines new resource IDs. - Microsoft Visual C++ reads and updates this file. - -9112cdma.manifest - Application manifest files are used by Windows XP to describe an applications - dependency on specific versions of Side-by-Side assemblies. The loader uses this - information to load the appropriate assembly from the assembly cache or private - from the application. The Application manifest maybe included for redistribution - as an external .manifest file that is installed in the same folder as the application - executable or it may be included in the executable in the form of a resource. -///////////////////////////////////////////////////////////////////////////// - -Other notes: - -The application wizard uses "TODO:" to indicate parts of the source code you -should add to or customize. - -If your application uses MFC in a shared DLL, you will need -to redistribute the MFC DLLs. If your application is in a language -other than the operating system's locale, you will also have to -redistribute the corresponding localized resources MFC90XXX.DLL. -For more information on both of these topics, please see the section on -redistributing Visual C++ applications in MSDN documentation. - -///////////////////////////////////////////////////////////////////////////// diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9112/SDK9112DbfDma/res/9112cdma.ico b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9112/SDK9112DbfDma/res/9112cdma.ico deleted file mode 100644 index d56fbcd..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9112/SDK9112DbfDma/res/9112cdma.ico and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9112/SDK9112DbfDma/res/My9112cdma.rc2 b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9112/SDK9112DbfDma/res/My9112cdma.rc2 deleted file mode 100644 index 383cde2..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9112/SDK9112DbfDma/res/My9112cdma.rc2 +++ /dev/null @@ -1,13 +0,0 @@ -// -// My9111int.RC2 - resources Microsoft Visual C++ does not edit directly -// - -#ifdef APSTUDIO_INVOKED -#error this file is not editable by Microsoft Visual C++ -#endif //APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// Add manually edited resources here... - -///////////////////////////////////////////////////////////////////////////// diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9112/SDK9112DbfDma/res/ch_set1.bmp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9112/SDK9112DbfDma/res/ch_set1.bmp deleted file mode 100644 index f2374ed..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9112/SDK9112DbfDma/res/ch_set1.bmp and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9112/SDK9112DbfDma/res/ch_set2.bmp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9112/SDK9112DbfDma/res/ch_set2.bmp deleted file mode 100644 index 32d0915..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9112/SDK9112DbfDma/res/ch_set2.bmp and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9112/SDK9112DbfDma/resource.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9112/SDK9112DbfDma/resource.h deleted file mode 100644 index 2fe709d..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9112/SDK9112DbfDma/resource.h +++ /dev/null @@ -1,41 +0,0 @@ -//{{NO_DEPENDENCIES}} -// Microsoft Visual C++ generated include file. -// Used by 9112cdma.rc -// -#define IDM_ABOUTBOX 0x0010 -#define IDD_ABOUTBOX 100 -#define IDS_ABOUTBOX 101 -#define IDD_PCI9112_CDMA_DIALOG 102 -#define IDR_MAINFRAME 128 -#define IDD_CARDID_DIALOG 129 -#define IDB_BITMAP_SET1 131 -#define IDB_BITMAP_SET2 132 -#define IDC_STATIC_DRAW 1000 -#define IDC_COMBO_CARDID 1001 -#define IDC_COMBO_CARDTYPE 1002 -#define IDC_BT_START 1003 -#define IDC_EDIT_SAMPLE_RATE 1004 -#define IDC_SCROLLBAR_RATE 1005 -#define IDC_RADIO_CH0 1006 -#define IDC_RADIO_CH1 1007 -#define IDC_RADIO_CH2 1008 -#define IDC_RADIO_CH3 1009 -#define IDC_RADIO_CH4 1010 -#define IDC_RADIO_CH5 1011 -#define IDC_RADIO_CH6 1012 -#define IDC_RADIO_CH7 1013 -#define IDC_STATIC_01 1014 -#define IDC_EDIT_BUF_SIZE 1014 -#define IDC_STATIC_2 1015 -#define IDC_BT_STOP 1015 - -// Next default values for new objects -// -#ifdef APSTUDIO_INVOKED -#ifndef APSTUDIO_READONLY_SYMBOLS -#define _APS_NEXT_RESOURCE_VALUE 134 -#define _APS_NEXT_COMMAND_VALUE 32771 -#define _APS_NEXT_CONTROL_VALUE 1018 -#define _APS_NEXT_SYMED_VALUE 101 -#endif -#endif diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9112/SDK9112DbfDma/stdafx.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9112/SDK9112DbfDma/stdafx.cpp deleted file mode 100644 index ef80626..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9112/SDK9112DbfDma/stdafx.cpp +++ /dev/null @@ -1,8 +0,0 @@ - -// stdafx.cpp : source file that includes just the standard includes -// 9111int.pch will be the pre-compiled header -// stdafx.obj will contain the pre-compiled type information - -#include "stdafx.h" - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9112/SDK9112DbfDma/stdafx.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9112/SDK9112DbfDma/stdafx.h deleted file mode 100644 index 12123e2..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9112/SDK9112DbfDma/stdafx.h +++ /dev/null @@ -1,60 +0,0 @@ - -// stdafx.h : include file for standard system include files, -// or project specific include files that are used frequently, -// but are changed infrequently - -#pragma once - -#ifndef _SECURE_ATL -#define _SECURE_ATL 1 -#endif - -#ifndef VC_EXTRALEAN -#define VC_EXTRALEAN // Exclude rarely-used stuff from Windows headers -#endif - -#include "targetver.h" - -#define _ATL_CSTRING_EXPLICIT_CONSTRUCTORS // some CString constructors will be explicit - -// turns off MFC's hiding of some common and often safely ignored warning messages -#define _AFX_ALL_WARNINGS - -#include // MFC core and standard components -#include // MFC extensions - - -#include // MFC Automation classes - - - -#ifndef _AFX_NO_OLE_SUPPORT -#include // MFC support for Internet Explorer 4 Common Controls -#endif -#ifndef _AFX_NO_AFXCMN_SUPPORT -#include // MFC support for Windows Common Controls -#endif // _AFX_NO_AFXCMN_SUPPORT - -#include // MFC support for ribbons and control bars - - - - - - - - - -#ifdef _UNICODE -#if defined _M_IX86 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='x86' publicKeyToken='6595b64144ccf1df' language='*'\"") -#elif defined _M_IA64 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='ia64' publicKeyToken='6595b64144ccf1df' language='*'\"") -#elif defined _M_X64 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='amd64' publicKeyToken='6595b64144ccf1df' language='*'\"") -#else -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='*' publicKeyToken='6595b64144ccf1df' language='*'\"") -#endif -#endif - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9112/SDK9112DbfDma/targetver.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9112/SDK9112DbfDma/targetver.h deleted file mode 100644 index 11730d5..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9112/SDK9112DbfDma/targetver.h +++ /dev/null @@ -1,26 +0,0 @@ - -#pragma once - -// The following macros define the minimum required platform. The minimum required platform -// is the earliest version of Windows, Internet Explorer etc. that has the necessary features to run -// your application. The macros work by enabling all features available on platform versions up to and -// including the version specified. - -// Modify the following defines if you have to target a platform prior to the ones specified below. -// Refer to MSDN for the latest info on corresponding values for different platforms. -#ifndef WINVER // Specifies that the minimum required platform is Windows Vista. -#define WINVER 0x0600 // Change this to the appropriate value to target other versions of Windows. -#endif - -#ifndef _WIN32_WINNT // Specifies that the minimum required platform is Windows Vista. -#define _WIN32_WINNT 0x0600 // Change this to the appropriate value to target other versions of Windows. -#endif - -#ifndef _WIN32_WINDOWS // Specifies that the minimum required platform is Windows 98. -#define _WIN32_WINDOWS 0x0410 // Change this to the appropriate value to target Windows Me or later. -#endif - -#ifndef _WIN32_IE // Specifies that the minimum required platform is Internet Explorer 7.0. -#define _WIN32_IE 0x0700 // Change this to the appropriate value to target other versions of IE. -#endif - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9112/SDK9112Dma/9111int.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9112/SDK9112Dma/9111int.suo deleted file mode 100644 index 78a64b3..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9112/SDK9112Dma/9111int.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9112/SDK9112Dma/9112dma.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9112/SDK9112Dma/9112dma.cpp deleted file mode 100644 index 651a4f6..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9112/SDK9112Dma/9112dma.cpp +++ /dev/null @@ -1,109 +0,0 @@ - -// 9112dma.cpp : Defines the class behaviors for the application. -// - -#include "stdafx.h" -#include "9112dma.h" -#include "9112dmaDlg.h" -#include "CardIDDlg.h" - -#ifdef _DEBUG -#define new DEBUG_NEW -#endif - - -// C9112dmaApp - -BEGIN_MESSAGE_MAP(C9112dmaApp, CWinAppEx) - ON_COMMAND(ID_HELP, &CWinApp::OnHelp) -END_MESSAGE_MAP() - - -// C9112dmaApp construction - -C9112dmaApp::C9112dmaApp() -{ - // TODO: add construction code here, - // Place all significant initialization in InitInstance -} - - -// The one and only C9112dmaApp object - -C9112dmaApp theApp; - - -// C9112dmaApp initialization - -BOOL C9112dmaApp::InitInstance() -{ - int nCardID = 0; - I16 hCard; - CString strTemp; - INT_PTR nResponse; - - // InitCommonControlsEx() is required on Windows XP if an application - // manifest specifies use of ComCtl32.dll version 6 or later to enable - // visual styles. Otherwise, any window creation will fail. - INITCOMMONCONTROLSEX InitCtrls; - InitCtrls.dwSize = sizeof(InitCtrls); - // Set this to include all the common control classes you want to use - // in your application. - InitCtrls.dwICC = ICC_WIN95_CLASSES; - InitCommonControlsEx(&InitCtrls); - - CWinAppEx::InitInstance(); - - AfxEnableControlContainer(); - - // Standard initialization - // If you are not using these features and wish to reduce the size - // of your final executable, you should remove from the following - // the specific initialization routines you do not need - // Change the registry key under which our settings are stored - // TODO: You should modify this string to be something appropriate - // such as the name of your company or organization - SetRegistryKey(_T("Local AppWizard-Generated Applications")); - - CCardIDDlg CardDlg( nCardID ); - - nResponse = CardDlg.DoModal(); - if (nResponse == IDOK) - { - nCardID = CardDlg.GetCardID(); - - if ((hCard=Register_Card(PCI_9112, nCardID)) < 0) - { - strTemp.Format( TEXT("Register_Card Error = %d"), hCard); - AfxMessageBox( strTemp ); - } - else - { - C9112dmaDlg dlg(hCard); - m_pMainWnd = &dlg; - nResponse = dlg.DoModal(); - if (nResponse == IDOK) - { - // TODO: Place code here to handle when the dialog is - // dismissed with OK - } - else if (nResponse == IDCANCEL) - { - // TODO: Place code here to handle when the dialog is - // dismissed with Cancel - } - - if (hCard >= 0) Release_Card(hCard); - } - - } - else if (nResponse == IDCANCEL) - { - // TODO: Place code here to handle when the dialog is - // dismissed with Cancel - } - - // Since the dialog has been closed, return FALSE so that we exit the - // application, rather than start the application's message pump. - return FALSE; -} diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9112/SDK9112Dma/9112dma.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9112/SDK9112Dma/9112dma.h deleted file mode 100644 index 72269cf..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9112/SDK9112Dma/9112dma.h +++ /dev/null @@ -1,32 +0,0 @@ - -// 9112dma.h : main header file for the PROJECT_NAME application -// - -#pragma once - -#ifndef __AFXWIN_H__ - #error "include 'stdafx.h' before including this file for PCH" -#endif - -#include "resource.h" // main symbols - - -// C9112dmaApp: -// See 9112dma.cpp for the implementation of this class -// - -class C9112dmaApp : public CWinAppEx -{ -public: - C9112dmaApp(); - -// Overrides - public: - virtual BOOL InitInstance(); - -// Implementation - - DECLARE_MESSAGE_MAP() -}; - -extern C9112dmaApp theApp; \ No newline at end of file diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9112/SDK9112Dma/9112dma.rc b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9112/SDK9112Dma/9112dma.rc deleted file mode 100644 index ee015a6..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9112/SDK9112Dma/9112dma.rc +++ /dev/null @@ -1,328 +0,0 @@ -// Microsoft Visual C++ generated resource script. -// -#include "resource.h" - -#define APSTUDIO_READONLY_SYMBOLS -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 2 resource. -// -#ifndef APSTUDIO_INVOKED -#include "targetver.h" -#endif -#include "afxres.h" - -///////////////////////////////////////////////////////////////////////////// -#undef APSTUDIO_READONLY_SYMBOLS - -///////////////////////////////////////////////////////////////////////////// -// Chinese (Taiwan) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_CHT) -#ifdef _WIN32 -LANGUAGE LANG_CHINESE, SUBLANG_CHINESE_TRADITIONAL -#pragma code_page(950) -#endif //_WIN32 - -#ifdef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// TEXTINCLUDE -// - -1 TEXTINCLUDE -BEGIN - "resource.h\0" -END - -2 TEXTINCLUDE -BEGIN - "#ifndef APSTUDIO_INVOKED\r\n" - "#include ""targetver.h""\r\n" - "#endif\r\n" - "#include ""afxres.h""\r\n" - "\0" -END - -3 TEXTINCLUDE -BEGIN - "#define _AFX_NO_SPLITTER_RESOURCES\r\n" - "#define _AFX_NO_OLE_RESOURCES\r\n" - "#define _AFX_NO_TRACKER_RESOURCES\r\n" - "#define _AFX_NO_PROPERTY_RESOURCES\r\n" - "\r\n" - "#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)\r\n" - "LANGUAGE 9, 1\r\n" - "#pragma code_page(1252)\r\n" - "#include ""res\\My9112dma.rc2"" // non-Microsoft Visual C++ edited resources\r\n" - "#include ""afxres.rc"" // Standard components\r\n" - "#endif\r\n" - "\0" -END - -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// Icon -// - -// Icon with lowest ID value placed first to ensure application icon -// remains consistent on all systems. -IDR_MAINFRAME ICON "res\\9112dma.ico" -#endif // Chinese (Taiwan) resources -///////////////////////////////////////////////////////////////////////////// - - -///////////////////////////////////////////////////////////////////////////// -// English (U.S.) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -#ifdef _WIN32 -LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US -#pragma code_page(1252) -#endif //_WIN32 - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog -// - -IDD_ABOUTBOX DIALOGEX 0, 0, 170, 62 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "About 9112dma" -FONT 8, "MS Shell Dlg", 0, 0, 0x1 -BEGIN - ICON IDR_MAINFRAME,IDC_STATIC,14,14,21,20 - LTEXT "9112dma, Version 1.0",IDC_STATIC,42,14,114,8,SS_NOPREFIX - LTEXT "Copyright (C) 2010",IDC_STATIC,42,26,114,8 - DEFPUSHBUTTON "OK",IDOK,113,41,50,14,WS_GROUP -END - -IDD_9112DMA_DIALOG DIALOGEX 0, 0, 365, 232 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU -EXSTYLE WS_EX_APPWINDOW -CAPTION "9112 Autoscan Interrupt" -FONT 8, "MS Shell Dlg", 0, 0, 0x1 -BEGIN - GROUPBOX "",IDC_STATIC_DRAW,45,9,227,161,NOT WS_VISIBLE - CONTROL 132,IDC_STATIC,"Static",SS_BITMAP,327,28,11,45 - CONTROL 131,IDC_STATIC,"Static",SS_BITMAP,298,29,9,44 - LTEXT "0",IDC_STATIC,286,29,10,11 - LTEXT "1",IDC_STATIC,286,40,10,11 - LTEXT "2",IDC_STATIC,286,51,10,11 - LTEXT "3",IDC_STATIC,286,63,10,11 - LTEXT "4",IDC_STATIC,318,29,10,11 - LTEXT "5",IDC_STATIC,318,40,10,11 - LTEXT "6",IDC_STATIC,318,51,10,11 - LTEXT "7",IDC_STATIC,318,63,10,11 - LTEXT "Range : +/- 5V",IDC_STATIC,283,130,57,15 - COMBOBOX IDC_COMBO_SCANCHAN,171,197,74,17,CBS_DROPDOWN | WS_VSCROLL | WS_TABSTOP - LTEXT "Scan Channels",IDC_STATIC,171,182,53,9 - EDITTEXT IDC_EDIT_SAMPLE_RATE,57,197,39,12,ES_AUTOHSCROLL | ES_READONLY - LTEXT "Sample Rate :",IDC_STATIC,57,182,49,9 - LTEXT "KHz",IDC_STATIC,109,198,15,9 - SCROLLBAR IDC_SCROLLBAR_RATE,97,195,9,11,SBS_VERT - PUSHBUTTON "Start",IDC_BT_START,275,188,75,22 -END - -IDD_CARDID_DIALOG DIALOGEX 0, 0, 165, 88 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "Card ID" -FONT 8, "MS Shell Dlg", 400, 0, 0x1 -BEGIN - COMBOBOX IDC_COMBO_CARDID,75,24,71,126,CBS_DROPDOWN | WS_VSCROLL | WS_TABSTOP - LTEXT "Card Number",IDC_STATIC_01,21,25,46,12 - PUSHBUTTON "OK",IDOK,23,51,58,19 - PUSHBUTTON "CANCEL",IDCANCEL,87,51,58,19 -END - - -///////////////////////////////////////////////////////////////////////////// -// -// Version -// - -VS_VERSION_INFO VERSIONINFO - FILEVERSION 1,0,0,1 - PRODUCTVERSION 1,0,0,1 - FILEFLAGSMASK 0x3fL -#ifdef _DEBUG - FILEFLAGS 0x1L -#else - FILEFLAGS 0x0L -#endif - FILEOS 0x4L - FILETYPE 0x1L - FILESUBTYPE 0x0L -BEGIN - BLOCK "StringFileInfo" - BEGIN - BLOCK "040904e4" - BEGIN - VALUE "CompanyName", "TODO: " - VALUE "FileDescription", "TODO: " - VALUE "FileVersion", "1.0.0.1" - VALUE "InternalName", "9112dma.exe" - VALUE "LegalCopyright", "TODO: (c) . All rights reserved." - VALUE "OriginalFilename", "9112dma.exe" - VALUE "ProductName", "TODO: " - VALUE "ProductVersion", "1.0.0.1" - END - END - BLOCK "VarFileInfo" - BEGIN - VALUE "Translation", 0x409, 1252 - END -END - - -///////////////////////////////////////////////////////////////////////////// -// -// DESIGNINFO -// - -#ifdef APSTUDIO_INVOKED -GUIDELINES DESIGNINFO -BEGIN - IDD_ABOUTBOX, DIALOG - BEGIN - END - - IDD_CARDID_DIALOG, DIALOG - BEGIN - BOTTOMMARGIN, 83 - END -END -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog Info -// - -IDD_CARDID_DIALOG DLGINIT -BEGIN - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0030, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0031, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0032, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0033, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0034, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0035, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0036, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0037, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0038, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0039, - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3031, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3131, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3231, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3331, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3431, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3531, "\000" - 0 -END - -IDD_MY9112DMA_DIALOG DLGINIT -BEGIN - IDC_COMBO_CARDID, 0x403, 4, 0 -0x4843, 0x0030, - IDC_COMBO_CARDID, 0x403, 8, 0 -0x4843, 0x7e30, 0x4843, 0x0031, - IDC_COMBO_CARDID, 0x403, 8, 0 -0x4843, 0x7e30, 0x4843, 0x0032, - IDC_COMBO_CARDID, 0x403, 8, 0 -0x4843, 0x7e30, 0x4843, 0x0033, - IDC_COMBO_CARDID, 0x403, 8, 0 -0x4843, 0x7e30, 0x4843, 0x0034, - IDC_COMBO_CARDID, 0x403, 8, 0 -0x4843, 0x7e30, 0x4843, 0x0035, - IDC_COMBO_CARDID, 0x403, 8, 0 -0x4843, 0x7e30, 0x4843, 0x0036, - IDC_COMBO_CARDID, 0x403, 8, 0 -0x4843, 0x7e30, 0x4843, 0x0037, - 0 -END - -IDD_9112DMA_DIALOG DLGINIT -BEGIN - IDC_COMBO_SCANCHAN, 0x403, 4, 0 -0x4843, 0x0030, - IDC_COMBO_SCANCHAN, 0x403, 8, 0 -0x4843, 0x7e30, 0x4843, 0x0031, - IDC_COMBO_SCANCHAN, 0x403, 8, 0 -0x4843, 0x7e30, 0x4843, 0x0032, - IDC_COMBO_SCANCHAN, 0x403, 8, 0 -0x4843, 0x7e30, 0x4843, 0x0033, - IDC_COMBO_SCANCHAN, 0x403, 8, 0 -0x4843, 0x7e30, 0x4843, 0x0034, - IDC_COMBO_SCANCHAN, 0x403, 8, 0 -0x4843, 0x7e30, 0x4843, 0x0035, - IDC_COMBO_SCANCHAN, 0x403, 8, 0 -0x4843, 0x7e30, 0x4843, 0x0036, - IDC_COMBO_SCANCHAN, 0x403, 8, 0 -0x4843, 0x7e30, 0x4843, 0x0037, - 0 -END - - -///////////////////////////////////////////////////////////////////////////// -// -// Bitmap -// - -IDB_BITMAP_SET1 BITMAP "res\\ch_set1.bmp" -IDB_BITMAP_SET2 BITMAP "res\\ch_set2.bmp" - -///////////////////////////////////////////////////////////////////////////// -// -// String Table -// - -STRINGTABLE -BEGIN - IDS_ABOUTBOX "&About 9112dma..." -END - -#endif // English (U.S.) resources -///////////////////////////////////////////////////////////////////////////// - - - -#ifndef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 3 resource. -// -#define _AFX_NO_SPLITTER_RESOURCES -#define _AFX_NO_OLE_RESOURCES -#define _AFX_NO_TRACKER_RESOURCES -#define _AFX_NO_PROPERTY_RESOURCES - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -LANGUAGE 9, 1 -#pragma code_page(1252) -#include "res\My9112dma.rc2" // non-Microsoft Visual C++ edited resources -#include "afxres.rc" // Standard components -#endif - -///////////////////////////////////////////////////////////////////////////// -#endif // not APSTUDIO_INVOKED - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9112/SDK9112Dma/9112dma.sln b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9112/SDK9112Dma/9112dma.sln deleted file mode 100644 index 6579c5d..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9112/SDK9112Dma/9112dma.sln +++ /dev/null @@ -1,20 +0,0 @@ - -Microsoft Visual Studio Solution File, Format Version 10.00 -# Visual Studio 2008 -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "9112dma", "9112dma.vcproj", "{702163FB-B6DF-4EF5-9491-FC54D71509BC}" -EndProject -Global - GlobalSection(SolutionConfigurationPlatforms) = preSolution - Debug|x64 = Debug|x64 - Release|x64 = Release|x64 - EndGlobalSection - GlobalSection(ProjectConfigurationPlatforms) = postSolution - {702163FB-B6DF-4EF5-9491-FC54D71509BC}.Debug|x64.ActiveCfg = Debug|x64 - {702163FB-B6DF-4EF5-9491-FC54D71509BC}.Debug|x64.Build.0 = Debug|x64 - {702163FB-B6DF-4EF5-9491-FC54D71509BC}.Release|x64.ActiveCfg = Release|x64 - {702163FB-B6DF-4EF5-9491-FC54D71509BC}.Release|x64.Build.0 = Release|x64 - EndGlobalSection - GlobalSection(SolutionProperties) = preSolution - HideSolutionNode = FALSE - EndGlobalSection -EndGlobal diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9112/SDK9112Dma/9112dma.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9112/SDK9112Dma/9112dma.suo deleted file mode 100644 index e9ac10b..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9112/SDK9112Dma/9112dma.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9112/SDK9112Dma/9112dma.vcproj b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9112/SDK9112Dma/9112dma.vcproj deleted file mode 100644 index f66bafc..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9112/SDK9112Dma/9112dma.vcproj +++ /dev/null @@ -1,294 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9112/SDK9112Dma/9112dmaDlg.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9112/SDK9112Dma/9112dmaDlg.cpp deleted file mode 100644 index 03a21e5..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9112/SDK9112Dma/9112dmaDlg.cpp +++ /dev/null @@ -1,496 +0,0 @@ - -// 9112dmaDlg.cpp : implementation file -// - -#include "stdafx.h" -#include "9112dma.h" -#include "9112dmaDlg.h" - -#ifdef _DEBUG -#define new DEBUG_NEW -#endif - -CRect plotRect; -#define AI_SAMPLE_COUNT 10240 - -// CAboutDlg dialog used for App About - -class CAboutDlg : public CDialog -{ -public: - CAboutDlg(); - -// Dialog Data - enum { IDD = IDD_ABOUTBOX }; - - protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - -// Implementation -protected: - DECLARE_MESSAGE_MAP() -}; - -CAboutDlg::CAboutDlg() : CDialog(CAboutDlg::IDD) -{ -} - -void CAboutDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); -} - -BEGIN_MESSAGE_MAP(CAboutDlg, CDialog) -END_MESSAGE_MAP() - - -// C9112dmaDlg dialog - - - - -C9112dmaDlg::C9112dmaDlg(I16 hCard, CWnd* pParent /*=NULL*/) - : CDialog(C9112dmaDlg::IDD, pParent) -{ - m_hIcon = AfxGetApp()->LoadIcon(IDR_MAINFRAME); - - n_PlotWidth = n_PlotHeight = -1; - OnBrush = OffBrush = NULL; - - min_val = 0x00; - max_val = 0xFFFF; - - m_fSampleRate = 10000.0; // 10KHz - - m_hCard = hCard; - m_wScanChans = 0; - m_nTimer = -1; - m_hMem=NULL; - - m_wRange = AD_B_5_V; - -} - -void C9112dmaDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); - DDX_Control(pDX, IDC_COMBO_SCANCHAN, m_cbScanChans); -} - -BEGIN_MESSAGE_MAP(C9112dmaDlg, CDialog) - ON_WM_SYSCOMMAND() - ON_WM_PAINT() - ON_WM_QUERYDRAGICON() - //}}AFX_MSG_MAP - ON_WM_DESTROY() - ON_WM_VSCROLL() - ON_CBN_SELCHANGE(IDC_COMBO_SCANCHAN, &C9112dmaDlg::OnScanChanSelchange) - ON_BN_CLICKED(IDC_BT_START, &C9112dmaDlg::OnStart) -END_MESSAGE_MAP() - - -// C9112dmaDlg message handlers - -BOOL C9112dmaDlg::OnInitDialog() -{ - CDialog::OnInitDialog(); - - // Add "About..." menu item to system menu. - - // IDM_ABOUTBOX must be in the system command range. - ASSERT((IDM_ABOUTBOX & 0xFFF0) == IDM_ABOUTBOX); - ASSERT(IDM_ABOUTBOX < 0xF000); - - CMenu* pSysMenu = GetSystemMenu(FALSE); - if (pSysMenu != NULL) - { - BOOL bNameValid; - CString strAboutMenu; - bNameValid = strAboutMenu.LoadString(IDS_ABOUTBOX); - ASSERT(bNameValid); - if (!strAboutMenu.IsEmpty()) - { - pSysMenu->AppendMenu(MF_SEPARATOR); - pSysMenu->AppendMenu(MF_STRING, IDM_ABOUTBOX, strAboutMenu); - } - } - - // Set the icon for this dialog. The framework does this automatically - // when the application's main window is not a dialog - SetIcon(m_hIcon, TRUE); // Set big icon - SetIcon(m_hIcon, FALSE); // Set small icon - - // TODO: Add extra initialization here - x_divider = 5; y_divider = 4; - - OnBrush = CreateSolidBrush( RGB(255,0,0) ); - OffBrush = CreateSolidBrush( RGB(125,0,0) ); - - RedPen.CreatePen( PS_SOLID, 1, RGB(255,0,0)); - GreenPen.CreatePen( PS_SOLID, 1, RGB(0,255,0)); - YellowPen.CreatePen( PS_SOLID, 1, RGB(255,255,0)); - BluePen.CreatePen( PS_SOLID, 1, RGB(0,0,255)); - LTBluePen.CreatePen( PS_SOLID, 1, RGB(0,128,255)); - LTRedPen.CreatePen( PS_SOLID, 1, RGB(255,128,0)); - LTGreenPen.CreatePen( PS_SOLID, 1, RGB(0,128,0)); - WhitePen.CreatePen( PS_SOLID, 1, RGB(255,255,255)); - - if( n_PlotWidth == -1 && n_PlotHeight == -1 ) - { - ((CWnd*)GetDlgItem(IDC_STATIC_DRAW))->GetWindowRect(&plotRect); - ScreenToClient(&plotRect); - - n_PlotWidth = min( plotRect.Width(), 512); - n_PlotHeight = plotRect.Height() - 10; - } - - - // set the default SampleRate - SetDlgItemInt( IDC_EDIT_SAMPLE_RATE, (UINT)(m_fSampleRate/1000) ); - m_cbScanChans.SetCurSel( 0 ); - - max_range = 5.0; - min_range = -5.0; - - return TRUE; // return TRUE unless you set the focus to a control -} - -void C9112dmaDlg::OnSysCommand(UINT nID, LPARAM lParam) -{ - if ((nID & 0xFFF0) == IDM_ABOUTBOX) - { - CAboutDlg dlgAbout; - dlgAbout.DoModal(); - } - else - { - CDialog::OnSysCommand(nID, lParam); - } -} - -// If you add a minimize button to your dialog, you will need the code below -// to draw the icon. For MFC applications using the document/view model, -// this is automatically done for you by the framework. - -void C9112dmaDlg::OnPaint() -{ - if (IsIconic()) - { - CPaintDC dc(this); // device context for painting - - SendMessage(WM_ICONERASEBKGND, reinterpret_cast(dc.GetSafeHdc()), 0); - - // Center icon in client rectangle - int cxIcon = GetSystemMetrics(SM_CXICON); - int cyIcon = GetSystemMetrics(SM_CYICON); - CRect rect; - GetClientRect(&rect); - int x = (rect.Width() - cxIcon + 1) / 2; - int y = (rect.Height() - cyIcon + 1) / 2; - - // Draw the icon - dc.DrawIcon(x, y, m_hIcon); - } - else - { - redraw_display_area(); - CDialog::OnPaint(); - } -} - -// The system calls this function to obtain the cursor to display while the user drags -// the minimized window. -HCURSOR C9112dmaDlg::OnQueryDragIcon() -{ - return static_cast(m_hIcon); -} - - -void C9112dmaDlg::redraw_display_area(void) -{ - CPen *oldPen; - - int oldMode; - COLORREF oldColor; - - CString y_lable; - - CPen minor_tick( PS_SOLID,1,RGB(132,130,132) ); -// CPen y_grid( PS_SOLID,1,RGB(206,203,132) ); - - int i, x_intv, y_intv; -// long total_sec; - - CClientDC dc_plot(this); - - // draw the base-line for x-y axises - oldPen = (CPen *)dc_plot.SelectStockObject(BLACK_PEN); - - // redraw the background - dc_plot.FillSolidRect( plotRect, RGB(0,0,0) ); - - // Re-Draw the AREA for Y-Lable - { - CBrush DIALOG_BRUSH; - CRect redraw_area, full_client; - - GetClientRect(&full_client); - ScreenToClient(&full_client); - - redraw_area.left = full_client.left; - redraw_area.top = plotRect.top - 5; - redraw_area.right = plotRect.left - 3; - redraw_area.bottom = plotRect.bottom + 10; - - DIALOG_BRUSH.CreateSysColorBrush( COLOR_3DFACE ); - - dc_plot.FillRect( redraw_area, &DIALOG_BRUSH ); - - DIALOG_BRUSH.DeleteObject(); - } - - dc_plot.MoveTo( plotRect.left - 3, plotRect.top ); - dc_plot.LineTo( plotRect.left - 3, plotRect.bottom ); - - // calculate the interval for tick/grid - y_intv = (plotRect.Height() - 10) /y_divider; - x_intv = plotRect.Width()/x_divider; - - - // set the color for tick - oldColor = dc_plot.SetTextColor( RGB(0,0,0) ); - oldMode = dc_plot.SetBkMode( TRANSPARENT ); - - for( i=0; i<= y_divider; i++ ) - { - CString tick_str; - CRect tmp_rect, tick_rect; - - // draw the tick for y-axis - dc_plot.MoveTo( plotRect.left -12, plotRect.bottom -5 - (i*y_intv) ); - dc_plot.LineTo( plotRect.left -3, plotRect.bottom -5 - (i*y_intv) ); - - tick_str.Format( _T("%.1f"), ( ((max_range-min_range)/y_divider) * i)+min_range ); - - // calculate the rectangle for text - dc_plot.DrawText( tick_str, &tmp_rect, DT_CALCRECT|DT_SINGLELINE ); - tick_rect.right = plotRect.left -14; - tick_rect.left = tick_rect.right - tmp_rect.Width(); - tick_rect.top = plotRect.bottom -5 - (i*y_intv) - tmp_rect.Height()/2; - tick_rect.bottom = tick_rect.top + tmp_rect.Height(); - - // draw the text - dc_plot.DrawText( tick_str, &tick_rect, DT_SINGLELINE|DT_RIGHT ); - - } - - // draw the minor_tick for Y axises - dc_plot.SelectObject(&minor_tick); - for( i=0; i< y_divider; i++ ) - { - dc_plot.MoveTo( plotRect.left -9, plotRect.bottom -5 - (i*y_intv) - y_intv/2 ); - dc_plot.LineTo( plotRect.left -4, plotRect.bottom -5 - (i*y_intv) - y_intv/2 ); - } - - dc_plot.SetTextColor( oldColor ); - dc_plot.SetBkMode( oldMode ); - dc_plot.SelectObject( oldPen ); -} - -void C9112dmaDlg::OnDestroy() -{ - CDialog::OnDestroy(); - - // TODO: Add your message handler code here - if( m_nTimer != -1 ) - { - KillTimer( m_nTimer ); - m_nTimer = -1; - } - - if (m_hMem != NULL) - { - GlobalUnfix(m_hMem); - GlobalUnlock(m_hMem); - GlobalFree(m_hMem); - - m_hMem = NULL; - } - - if( OnBrush != NULL ) - ::DeleteObject( OnBrush ); - - if( OffBrush != NULL ) - ::DeleteObject( OffBrush ); - - RedPen.DeleteObject(); - GreenPen.DeleteObject(); - YellowPen.DeleteObject(); - BluePen.DeleteObject(); - LTBluePen.DeleteObject(); - LTRedPen.DeleteObject(); - LTGreenPen.DeleteObject(); - WhitePen.DeleteObject(); -} - -void C9112dmaDlg::OnVScroll(UINT nSBCode, UINT nPos, CScrollBar* pScrollBar) -{ - // TODO: Add your message handler code here and/or call default - switch ( nSBCode ) - { - case SB_LINEUP : - m_fSampleRate += 5000.0; - if (m_fSampleRate > 100000.0 ) m_fSampleRate = 100000.0; - break; - case SB_LINEDOWN: - m_fSampleRate -= 5000.0; - if (m_fSampleRate < 5000.0 ) m_fSampleRate = 5000.0; - break; - } - - SetDlgItemInt( IDC_EDIT_SAMPLE_RATE, (UINT)(m_fSampleRate/1000) ); - - CDialog::OnVScroll(nSBCode, nPos, pScrollBar); -} - -void C9112dmaDlg::OnScanChanSelchange() -{ - // TODO: Add your control notification handler code here - int nIndex; - - nIndex = m_cbScanChans.GetCurSel(); - m_wScanChans = (U16)nIndex; -} - -void C9112dmaDlg::OnStart() -{ - // TODO: Add your control notification handler code here - DWORD mem_size; - CString strTemp; - I16 err; - - GetDlgItem( IDC_BT_START )->EnableWindow(FALSE); - - if (m_hMem != NULL) - { - GlobalUnfix(m_hMem); - GlobalUnlock(m_hMem); - GlobalFree(m_hMem); - - m_hMem = NULL; - } - - // allocate a memory for user DMA buffer - mem_size = AI_SAMPLE_COUNT * sizeof(I16); - m_hMem = GlobalAlloc(GMEM_ZEROINIT, mem_size); - m_pAIBuf = (U16*) GlobalLock(m_hMem); - - if (m_pAIBuf == NULL ) - { - AfxMessageBox( TEXT("Memory allocation failed"), MB_OK); - } - - GlobalFix(m_hMem); - - m_oldY[0] = m_oldY[1] = m_oldY[2] = m_oldY[3] = m_oldY[4] = m_oldY[5] = m_oldY[6] = m_oldY[7] = -1; - m_oldX[0] = m_oldX[1] = m_oldX[2] = m_oldX[3] = m_oldX[4] = m_oldX[5] = m_oldX[6] = m_oldX[7] = -1; - - err=AI_9112_Config(m_hCard, TRIG_INT_PACER); - if (err!=0) - { - strTemp.Format( TEXT("AI_9112_Config error=%d"), err); - AfxMessageBox( strTemp ); - } - - err=AI_AsyncDblBufferMode(m_hCard, 0); // single-buffer mode - if (err!=0) - { - strTemp.Format( TEXT("AI_DblBufferMode error=%d"), err); - AfxMessageBox( strTemp ); - } - - err=AI_ContScanChannels (m_hCard, m_wScanChans, m_wRange, (U16*)m_pAIBuf, AI_SAMPLE_COUNT, (F64)m_fSampleRate, SYNCH_OP); - if (err!=0) - { - strTemp.Format( TEXT("AI_ContReadChannel error=%d"), err); - AfxMessageBox( strTemp ); - } - - display_buffer_data(m_pAIBuf); - - GetDlgItem( IDC_BT_START )->EnableWindow(TRUE); - -} - -int C9112dmaDlg::display_buffer_data(U16* pBuf) -{ - CClientDC dc_plot(this); - int nDraw_Origin_Y; - int cur_channel; - - int newY = -1; - int newX = -1; - U32 index; - U16 ai_data; - - // redraw the background - dc_plot.FillSolidRect( plotRect, RGB(0,0,0) ); - -// nDraw_Origin_Y = ( plotRect.bottom - 5 ) - n_PlotHeight/2; - nDraw_Origin_Y = ( plotRect.bottom - 5 ); - - for( index=0; index> 4); - - newY = (int)( nDraw_Origin_Y - ((n_PlotHeight * ai_data) >> 12 ) ); // (n_PlotHeight * ai_data / 4096 ) - - newX = (int)( index*n_PlotWidth/AI_SAMPLE_COUNT + plotRect.left ); - - switch(cur_channel) - { - case 0: - dc_plot.SelectObject(&YellowPen); - break; - case 1: - dc_plot.SelectObject(<GreenPen); - break; - case 2: - dc_plot.SelectObject(&BluePen); - break; - case 3: - dc_plot.SelectObject(&RedPen); - break; - case 4: - dc_plot.SelectObject(<BluePen); - break; - case 5: - dc_plot.SelectObject(<RedPen); - break; - case 6: - dc_plot.SelectObject(&GreenPen); - break; - case 7: - dc_plot.SelectObject(&WhitePen); - break; - } - - if ( m_oldX[cur_channel] == -1 ) - { - dc_plot.MoveTo( newX, newY ); - } - else - { - dc_plot.MoveTo( m_oldX[cur_channel], m_oldY[cur_channel] ); - dc_plot.LineTo( newX, newY ); - } - - m_oldX[cur_channel] = newX; - m_oldY[cur_channel] = newY; - } - - return 0; -} - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9112/SDK9112Dma/9112dmaDlg.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9112/SDK9112Dma/9112dmaDlg.h deleted file mode 100644 index b7cdd70..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9112/SDK9112Dma/9112dmaDlg.h +++ /dev/null @@ -1,70 +0,0 @@ - -// 9112dmaDlg.h : header file -#pragma once -#include "afxcmn.h" -#include "afxwin.h" - -#include "Dask64.h" - -// C9112dmaDlg dialog -class C9112dmaDlg : public CDialog -{ -// Construction -public: - C9112dmaDlg(I16 hCard, CWnd* pParent = NULL); // standard constructor - -// Dialog Data - enum { IDD = IDD_9112DMA_DIALOG }; - - protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - - -// Implementation -protected: - HICON m_hIcon; - UINT_PTR m_nTimer; - I16 m_hCard; - double m_fSampleRate; - U16 m_wScanChans; - HANDLE m_hMem; - U16 *m_pAIBuf; - U16 m_wRange; - int m_oldY[8]; - int m_oldX[8]; - - // Generated message map functions - virtual BOOL OnInitDialog(); - afx_msg void OnSysCommand(UINT nID, LPARAM lParam); - afx_msg void OnPaint(); - afx_msg HCURSOR OnQueryDragIcon(); - DECLARE_MESSAGE_MAP() - -public: - WORD max_val; - WORD min_val; - double max_range; - double min_range; - int n_PlotWidth; - int n_PlotHeight; - int y_divider; - int x_divider; - int m_DisplayScale; - HBRUSH OnBrush; - HBRUSH OffBrush; - CPen RedPen; - CPen GreenPen; - CPen YellowPen; - CPen BluePen; - CPen LTBluePen; - CPen LTRedPen; - CPen LTGreenPen; - CPen WhitePen; - void redraw_display_area(void); - afx_msg void OnDestroy(); - CComboBox m_cbScanChans; - afx_msg void OnVScroll(UINT nSBCode, UINT nPos, CScrollBar* pScrollBar); - afx_msg void OnScanChanSelchange(); - afx_msg void OnStart(); - int display_buffer_data(U16* pBuf); -}; diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9112/SDK9112Dma/CardIDDlg.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9112/SDK9112Dma/CardIDDlg.cpp deleted file mode 100644 index f50f198..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9112/SDK9112Dma/CardIDDlg.cpp +++ /dev/null @@ -1,64 +0,0 @@ -// CardIDDlg.cpp : implementation file -// - -#include "stdafx.h" -#include "9112dma.h" -#include "CardIDDlg.h" - -// CCardIDDlg dialog - -IMPLEMENT_DYNAMIC(CCardIDDlg, CDialog) - -CCardIDDlg::CCardIDDlg(int nCardIdx, CWnd* pParent /*=NULL*/) - : CDialog(CCardIDDlg::IDD, pParent) -{ - m_nCardIdx = nCardIdx; -} - -CCardIDDlg::~CCardIDDlg() -{ -} - -void CCardIDDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); - DDX_Control(pDX, IDC_COMBO_CARDID, m_cbCardID); -} - - -BEGIN_MESSAGE_MAP(CCardIDDlg, CDialog) -// ON_CBN_SELCHANGE(IDC_COMBO_CARDID, &CCardIDDlg::OnCbnSelchangeComboCardid) -ON_BN_CLICKED(IDOK, &CCardIDDlg::OnBnClickedOk) -//ON_WM_CTLCOLOR() -END_MESSAGE_MAP() - - -// CCardIDDlg message handlers - - -void CCardIDDlg::OnBnClickedOk() -{ - // TODO: Add your control notification handler code here - -// UpdateData(TRUE); - m_nCardIdx = m_cbCardID.GetCurSel(); - - OnOK(); -} - -BOOL CCardIDDlg::OnInitDialog() -{ - CDialog::OnInitDialog(); - - // TODO: Add extra initialization here - m_cbCardID.SetCurSel( m_nCardIdx ); - - return TRUE; // return TRUE unless you set the focus to a control - // EXCEPTION: OCX Property Pages should return FALSE -} - -// the function to get the selected CardID -int CCardIDDlg::GetCardID(void) -{ - return m_nCardIdx; -} diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9112/SDK9112Dma/CardIDDlg.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9112/SDK9112Dma/CardIDDlg.h deleted file mode 100644 index 2203a80..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9112/SDK9112Dma/CardIDDlg.h +++ /dev/null @@ -1,33 +0,0 @@ -#pragma once -#include "afxwin.h" - -#include "Dask64.h" - -// CCardIDDlg dialog - -class CCardIDDlg : public CDialog -{ - DECLARE_DYNAMIC(CCardIDDlg) - -public: - CCardIDDlg(int nCardIdx, CWnd* pParent = NULL); // standard constructor - virtual ~CCardIDDlg(); - -// Dialog Data - enum { IDD = IDD_CARDID_DIALOG }; - -protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - - DECLARE_MESSAGE_MAP() -public: - virtual BOOL OnInitDialog(); - afx_msg void OnBnClickedOk(); - // the setting of CardID ComboBox - int m_nCardIdx; - U16 m_CardType; - // the control of CardID ComboBox - CComboBox m_cbCardID; - // the function to get the selected CardID - int GetCardID(void); -}; diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9112/SDK9112Dma/ReadMe.txt b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9112/SDK9112Dma/ReadMe.txt deleted file mode 100644 index 2e2b4bc..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9112/SDK9112Dma/ReadMe.txt +++ /dev/null @@ -1,93 +0,0 @@ -================================================================================ - MICROSOFT FOUNDATION CLASS LIBRARY : 9112dma Project Overview -=============================================================================== - -The application wizard has created this 9112dma application for -you. This application not only demonstrates the basics of using the Microsoft -Foundation Classes but is also a starting point for writing your application. - -This file contains a summary of what you will find in each of the files that -make up your 9112dma application. - -9112dma.vcproj - This is the main project file for VC++ projects generated using an application wizard. - It contains information about the version of Visual C++ that generated the file, and - information about the platforms, configurations, and project features selected with the - application wizard. - -9112dma.h - This is the main header file for the application. It includes other - project specific headers (including Resource.h) and declares the - C9112dmaApp application class. - -9112dma.cpp - This is the main application source file that contains the application - class C9112dmaApp. - -9112dma.rc - This is a listing of all of the Microsoft Windows resources that the - program uses. It includes the icons, bitmaps, and cursors that are stored - in the RES subdirectory. This file can be directly edited in Microsoft - Visual C++. Your project resources are in 1033. - -res\9112dma.ico - This is an icon file, which is used as the application's icon. This - icon is included by the main resource file 9112dma.rc. - -res\My9112dma.rc2 - This file contains resources that are not edited by Microsoft - Visual C++. You should place all resources not editable by - the resource editor in this file. - - -///////////////////////////////////////////////////////////////////////////// - -The application wizard creates one dialog class: - -9112dmaDlg.h, 9112dmaDlg.cpp - the dialog - These files contain your C9112dmaDlg class. This class defines - the behavior of your application's main dialog. The dialog's template is - in 9112dma.rc, which can be edited in Microsoft Visual C++. - - -///////////////////////////////////////////////////////////////////////////// - -Other Features: - -ActiveX Controls - The application includes support to use ActiveX controls. - -///////////////////////////////////////////////////////////////////////////// - -Other standard files: - -StdAfx.h, StdAfx.cpp - These files are used to build a precompiled header (PCH) file - named 9112dma.pch and a precompiled types file named StdAfx.obj. - -Resource.h - This is the standard header file, which defines new resource IDs. - Microsoft Visual C++ reads and updates this file. - -9112dma.manifest - Application manifest files are used by Windows XP to describe an applications - dependency on specific versions of Side-by-Side assemblies. The loader uses this - information to load the appropriate assembly from the assembly cache or private - from the application. The Application manifest maybe included for redistribution - as an external .manifest file that is installed in the same folder as the application - executable or it may be included in the executable in the form of a resource. -///////////////////////////////////////////////////////////////////////////// - -Other notes: - -The application wizard uses "TODO:" to indicate parts of the source code you -should add to or customize. - -If your application uses MFC in a shared DLL, you will need -to redistribute the MFC DLLs. If your application is in a language -other than the operating system's locale, you will also have to -redistribute the corresponding localized resources MFC90XXX.DLL. -For more information on both of these topics, please see the section on -redistributing Visual C++ applications in MSDN documentation. - -///////////////////////////////////////////////////////////////////////////// diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9112/SDK9112Dma/res/9112dma.ico b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9112/SDK9112Dma/res/9112dma.ico deleted file mode 100644 index d56fbcd..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9112/SDK9112Dma/res/9112dma.ico and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9112/SDK9112Dma/res/My9112dma.rc2 b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9112/SDK9112Dma/res/My9112dma.rc2 deleted file mode 100644 index 383cde2..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9112/SDK9112Dma/res/My9112dma.rc2 +++ /dev/null @@ -1,13 +0,0 @@ -// -// My9111int.RC2 - resources Microsoft Visual C++ does not edit directly -// - -#ifdef APSTUDIO_INVOKED -#error this file is not editable by Microsoft Visual C++ -#endif //APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// Add manually edited resources here... - -///////////////////////////////////////////////////////////////////////////// diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9112/SDK9112Dma/res/ch_set1.bmp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9112/SDK9112Dma/res/ch_set1.bmp deleted file mode 100644 index f2374ed..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9112/SDK9112Dma/res/ch_set1.bmp and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9112/SDK9112Dma/res/ch_set2.bmp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9112/SDK9112Dma/res/ch_set2.bmp deleted file mode 100644 index 32d0915..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9112/SDK9112Dma/res/ch_set2.bmp and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9112/SDK9112Dma/resource.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9112/SDK9112Dma/resource.h deleted file mode 100644 index 9d687b6..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9112/SDK9112Dma/resource.h +++ /dev/null @@ -1,33 +0,0 @@ -//{{NO_DEPENDENCIES}} -// Microsoft Visual C++ generated include file. -// Used by 9112dma.rc -// -#define IDM_ABOUTBOX 0x0010 -#define IDD_ABOUTBOX 100 -#define IDS_ABOUTBOX 101 -#define IDD_9112DMA_DIALOG 102 -#define IDR_MAINFRAME 128 -#define IDD_CARDID_DIALOG 129 -#define IDB_BITMAP_SET1 131 -#define IDB_BITMAP_SET2 132 -#define IDC_STATIC_DRAW 1000 -#define IDC_COMBO_CARDID 1001 -#define IDC_COMBO_SCANCHAN 1001 -#define IDC_COMBO_CARDTYPE 1002 -#define IDC_BUTTON1 1002 -#define IDC_BT_START 1002 -#define IDC_EDIT_SAMPLE_RATE 1003 -#define IDC_SCROLLBAR_RATE 1006 -#define IDC_STATIC_01 1014 -#define IDC_STATIC_2 1015 - -// Next default values for new objects -// -#ifdef APSTUDIO_INVOKED -#ifndef APSTUDIO_READONLY_SYMBOLS -#define _APS_NEXT_RESOURCE_VALUE 134 -#define _APS_NEXT_COMMAND_VALUE 32771 -#define _APS_NEXT_CONTROL_VALUE 1003 -#define _APS_NEXT_SYMED_VALUE 101 -#endif -#endif diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9112/SDK9112Dma/stdafx.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9112/SDK9112Dma/stdafx.cpp deleted file mode 100644 index a83595e..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9112/SDK9112Dma/stdafx.cpp +++ /dev/null @@ -1,8 +0,0 @@ - -// stdafx.cpp : source file that includes just the standard includes -// 9112int.pch will be the pre-compiled header -// stdafx.obj will contain the pre-compiled type information - -#include "stdafx.h" - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9112/SDK9112Dma/stdafx.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9112/SDK9112Dma/stdafx.h deleted file mode 100644 index 12123e2..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9112/SDK9112Dma/stdafx.h +++ /dev/null @@ -1,60 +0,0 @@ - -// stdafx.h : include file for standard system include files, -// or project specific include files that are used frequently, -// but are changed infrequently - -#pragma once - -#ifndef _SECURE_ATL -#define _SECURE_ATL 1 -#endif - -#ifndef VC_EXTRALEAN -#define VC_EXTRALEAN // Exclude rarely-used stuff from Windows headers -#endif - -#include "targetver.h" - -#define _ATL_CSTRING_EXPLICIT_CONSTRUCTORS // some CString constructors will be explicit - -// turns off MFC's hiding of some common and often safely ignored warning messages -#define _AFX_ALL_WARNINGS - -#include // MFC core and standard components -#include // MFC extensions - - -#include // MFC Automation classes - - - -#ifndef _AFX_NO_OLE_SUPPORT -#include // MFC support for Internet Explorer 4 Common Controls -#endif -#ifndef _AFX_NO_AFXCMN_SUPPORT -#include // MFC support for Windows Common Controls -#endif // _AFX_NO_AFXCMN_SUPPORT - -#include // MFC support for ribbons and control bars - - - - - - - - - -#ifdef _UNICODE -#if defined _M_IX86 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='x86' publicKeyToken='6595b64144ccf1df' language='*'\"") -#elif defined _M_IA64 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='ia64' publicKeyToken='6595b64144ccf1df' language='*'\"") -#elif defined _M_X64 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='amd64' publicKeyToken='6595b64144ccf1df' language='*'\"") -#else -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='*' publicKeyToken='6595b64144ccf1df' language='*'\"") -#endif -#endif - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9112/SDK9112Dma/targetver.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9112/SDK9112Dma/targetver.h deleted file mode 100644 index 11730d5..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9112/SDK9112Dma/targetver.h +++ /dev/null @@ -1,26 +0,0 @@ - -#pragma once - -// The following macros define the minimum required platform. The minimum required platform -// is the earliest version of Windows, Internet Explorer etc. that has the necessary features to run -// your application. The macros work by enabling all features available on platform versions up to and -// including the version specified. - -// Modify the following defines if you have to target a platform prior to the ones specified below. -// Refer to MSDN for the latest info on corresponding values for different platforms. -#ifndef WINVER // Specifies that the minimum required platform is Windows Vista. -#define WINVER 0x0600 // Change this to the appropriate value to target other versions of Windows. -#endif - -#ifndef _WIN32_WINNT // Specifies that the minimum required platform is Windows Vista. -#define _WIN32_WINNT 0x0600 // Change this to the appropriate value to target other versions of Windows. -#endif - -#ifndef _WIN32_WINDOWS // Specifies that the minimum required platform is Windows 98. -#define _WIN32_WINDOWS 0x0410 // Change this to the appropriate value to target Windows Me or later. -#endif - -#ifndef _WIN32_IE // Specifies that the minimum required platform is Internet Explorer 7.0. -#define _WIN32_IE 0x0700 // Change this to the appropriate value to target other versions of IE. -#endif - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9113/SDK9113/CardIDDlg.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9113/SDK9113/CardIDDlg.cpp deleted file mode 100644 index 1464f27..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9113/SDK9113/CardIDDlg.cpp +++ /dev/null @@ -1,64 +0,0 @@ -// CardIDDlg.cpp : implementation file -// - -#include "stdafx.h" -#include "Util9113.h" -#include "CardIDDlg.h" - -// CCardIDDlg dialog - -IMPLEMENT_DYNAMIC(CCardIDDlg, CDialog) - -CCardIDDlg::CCardIDDlg(int nCardIdx, CWnd* pParent /*=NULL*/) - : CDialog(CCardIDDlg::IDD, pParent) -{ - m_nCardIdx = nCardIdx; -} - -CCardIDDlg::~CCardIDDlg() -{ -} - -void CCardIDDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); - DDX_Control(pDX, IDC_COMBO_CARDID, m_cbCardID); -} - - -BEGIN_MESSAGE_MAP(CCardIDDlg, CDialog) -// ON_CBN_SELCHANGE(IDC_COMBO_CARDID, &CCardIDDlg::OnCbnSelchangeComboCardid) -ON_BN_CLICKED(IDOK, &CCardIDDlg::OnBnClickedOk) -//ON_WM_CTLCOLOR() -END_MESSAGE_MAP() - - -// CCardIDDlg message handlers - - -void CCardIDDlg::OnBnClickedOk() -{ - // TODO: Add your control notification handler code here - -// UpdateData(TRUE); - m_nCardIdx = m_cbCardID.GetCurSel(); - - OnOK(); -} - -BOOL CCardIDDlg::OnInitDialog() -{ - CDialog::OnInitDialog(); - - // TODO: Add extra initialization here - m_cbCardID.SetCurSel( m_nCardIdx ); - - return TRUE; // return TRUE unless you set the focus to a control - // EXCEPTION: OCX Property Pages should return FALSE -} - -// the function to get the selected CardID -int CCardIDDlg::GetCardID(void) -{ - return m_nCardIdx; -} diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9113/SDK9113/CardIDDlg.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9113/SDK9113/CardIDDlg.h deleted file mode 100644 index 2203a80..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9113/SDK9113/CardIDDlg.h +++ /dev/null @@ -1,33 +0,0 @@ -#pragma once -#include "afxwin.h" - -#include "Dask64.h" - -// CCardIDDlg dialog - -class CCardIDDlg : public CDialog -{ - DECLARE_DYNAMIC(CCardIDDlg) - -public: - CCardIDDlg(int nCardIdx, CWnd* pParent = NULL); // standard constructor - virtual ~CCardIDDlg(); - -// Dialog Data - enum { IDD = IDD_CARDID_DIALOG }; - -protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - - DECLARE_MESSAGE_MAP() -public: - virtual BOOL OnInitDialog(); - afx_msg void OnBnClickedOk(); - // the setting of CardID ComboBox - int m_nCardIdx; - U16 m_CardType; - // the control of CardID ComboBox - CComboBox m_cbCardID; - // the function to get the selected CardID - int GetCardID(void); -}; diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9113/SDK9113/ReadMe.txt b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9113/SDK9113/ReadMe.txt deleted file mode 100644 index a483fc1..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9113/SDK9113/ReadMe.txt +++ /dev/null @@ -1,93 +0,0 @@ -================================================================================ - MICROSOFT FOUNDATION CLASS LIBRARY : Util9111 Project Overview -=============================================================================== - -The application wizard has created this Util9111 application for -you. This application not only demonstrates the basics of using the Microsoft -Foundation Classes but is also a starting point for writing your application. - -This file contains a summary of what you will find in each of the files that -make up your Util9111 application. - -Util9111.vcproj - This is the main project file for VC++ projects generated using an application wizard. - It contains information about the version of Visual C++ that generated the file, and - information about the platforms, configurations, and project features selected with the - application wizard. - -Util9111.h - This is the main header file for the application. It includes other - project specific headers (including Resource.h) and declares the - CUtil9111App application class. - -Util9111.cpp - This is the main application source file that contains the application - class CUtil9111App. - -Util9111.rc - This is a listing of all of the Microsoft Windows resources that the - program uses. It includes the icons, bitmaps, and cursors that are stored - in the RES subdirectory. This file can be directly edited in Microsoft - Visual C++. Your project resources are in 1033. - -res\Util9111.ico - This is an icon file, which is used as the application's icon. This - icon is included by the main resource file Util9111.rc. - -res\Util9111.rc2 - This file contains resources that are not edited by Microsoft - Visual C++. You should place all resources not editable by - the resource editor in this file. - - -///////////////////////////////////////////////////////////////////////////// - -The application wizard creates one dialog class: - -Util9111Dlg.h, Util9111Dlg.cpp - the dialog - These files contain your CUtil9111Dlg class. This class defines - the behavior of your application's main dialog. The dialog's template is - in Util9111.rc, which can be edited in Microsoft Visual C++. - - -///////////////////////////////////////////////////////////////////////////// - -Other Features: - -ActiveX Controls - The application includes support to use ActiveX controls. - -///////////////////////////////////////////////////////////////////////////// - -Other standard files: - -StdAfx.h, StdAfx.cpp - These files are used to build a precompiled header (PCH) file - named Util9111.pch and a precompiled types file named StdAfx.obj. - -Resource.h - This is the standard header file, which defines new resource IDs. - Microsoft Visual C++ reads and updates this file. - -Util9111.manifest - Application manifest files are used by Windows XP to describe an applications - dependency on specific versions of Side-by-Side assemblies. The loader uses this - information to load the appropriate assembly from the assembly cache or private - from the application. The Application manifest maybe included for redistribution - as an external .manifest file that is installed in the same folder as the application - executable or it may be included in the executable in the form of a resource. -///////////////////////////////////////////////////////////////////////////// - -Other notes: - -The application wizard uses "TODO:" to indicate parts of the source code you -should add to or customize. - -If your application uses MFC in a shared DLL, you will need -to redistribute the MFC DLLs. If your application is in a language -other than the operating system's locale, you will also have to -redistribute the corresponding localized resources MFC90XXX.DLL. -For more information on both of these topics, please see the section on -redistributing Visual C++ applications in MSDN documentation. - -///////////////////////////////////////////////////////////////////////////// diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9113/SDK9113/Util9111.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9113/SDK9113/Util9111.suo deleted file mode 100644 index 7bd1d29..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9113/SDK9113/Util9111.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9113/SDK9113/Util9112.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9113/SDK9113/Util9112.suo deleted file mode 100644 index 80ce704..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9113/SDK9113/Util9112.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9113/SDK9113/Util9113.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9113/SDK9113/Util9113.cpp deleted file mode 100644 index db364e0..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9113/SDK9113/Util9113.cpp +++ /dev/null @@ -1,111 +0,0 @@ - -// Util9113.cpp : Defines the class behaviors for the application. -// - -#include "stdafx.h" -#include "Util9113.h" -#include "Util9113Dlg.h" -#include "CardIDDlg.h" - -#ifdef _DEBUG -#define new DEBUG_NEW -#endif - - -// CUtil9113App - -BEGIN_MESSAGE_MAP(CUtil9113App, CWinAppEx) - ON_COMMAND(ID_HELP, &CWinApp::OnHelp) -END_MESSAGE_MAP() - - -// CUtil9113App construction - -CUtil9113App::CUtil9113App() -{ - // TODO: add construction code here, - // Place all significant initialization in InitInstance -} - - -// The one and only CUtil9113App object - -CUtil9113App theApp; - - -// CUtil9113App initialization - -BOOL CUtil9113App::InitInstance() -{ - int nCardID = 0; - I16 hCard; - CString strTemp; - INT_PTR nResponse; - - // InitCommonControlsEx() is required on Windows XP if an application - // manifest specifies use of ComCtl32.dll version 6 or later to enable - // visual styles. Otherwise, any window creation will fail. - INITCOMMONCONTROLSEX InitCtrls; - InitCtrls.dwSize = sizeof(InitCtrls); - // Set this to include all the common control classes you want to use - // in your application. - InitCtrls.dwICC = ICC_WIN95_CLASSES; - InitCommonControlsEx(&InitCtrls); - - CWinAppEx::InitInstance(); - - AfxEnableControlContainer(); - - // Standard initialization - // If you are not using these features and wish to reduce the size - // of your final executable, you should remove from the following - // the specific initialization routines you do not need - // Change the registry key under which our settings are stored - // TODO: You should modify this string to be something appropriate - // such as the name of your company or organization - SetRegistryKey(_T("Local AppWizard-Generated Applications")); - - CCardIDDlg CardDlg( nCardID ); - - nResponse = CardDlg.DoModal(); - if (nResponse == IDOK) - { - nCardID = CardDlg.GetCardID(); - - if ((hCard=Register_Card(PCI_9113, nCardID)) < 0) - { - strTemp.Format( TEXT("Register_Card Error = %d"), hCard); - AfxMessageBox( strTemp ); - } - else - { - CUtil9113Dlg dlg(hCard); - m_pMainWnd = &dlg; - nResponse = dlg.DoModal(); - if (nResponse == IDOK) - { - // TODO: Place code here to handle when the dialog is - // dismissed with OK - } - else if (nResponse == IDCANCEL) - { - // TODO: Place code here to handle when the dialog is - // dismissed with Cancel - } - - if (hCard >= 0) Release_Card(hCard); - } - - } - else if (nResponse == IDCANCEL) - { - // TODO: Place code here to handle when the dialog is - // dismissed with Cancel - } - - - - // Since the dialog has been closed, return FALSE so that we exit the - // application, rather than start the application's message pump. - return FALSE; -} diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9113/SDK9113/Util9113.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9113/SDK9113/Util9113.h deleted file mode 100644 index 8e4f49b..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9113/SDK9113/Util9113.h +++ /dev/null @@ -1,32 +0,0 @@ - -// Util9113.h : main header file for the PROJECT_NAME application -// - -#pragma once - -#ifndef __AFXWIN_H__ - #error "include 'stdafx.h' before including this file for PCH" -#endif - -#include "resource.h" // main symbols - - -// CUtil9113App: -// See Util9113.cpp for the implementation of this class -// - -class CUtil9113App : public CWinAppEx -{ -public: - CUtil9113App(); - -// Overrides - public: - virtual BOOL InitInstance(); - -// Implementation - - DECLARE_MESSAGE_MAP() -}; - -extern CUtil9113App theApp; \ No newline at end of file diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9113/SDK9113/Util9113.rc b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9113/SDK9113/Util9113.rc deleted file mode 100644 index b8a929a..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9113/SDK9113/Util9113.rc +++ /dev/null @@ -1,323 +0,0 @@ -// Microsoft Visual C++ generated resource script. -// -#include "resource.h" - -#define APSTUDIO_READONLY_SYMBOLS -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 2 resource. -// -#ifndef APSTUDIO_INVOKED -#include "targetver.h" -#endif -#include "afxres.h" - -///////////////////////////////////////////////////////////////////////////// -#undef APSTUDIO_READONLY_SYMBOLS - -///////////////////////////////////////////////////////////////////////////// -// Chinese (Taiwan) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_CHT) -#ifdef _WIN32 -LANGUAGE LANG_CHINESE, SUBLANG_CHINESE_TRADITIONAL -#pragma code_page(950) -#endif //_WIN32 - -#ifdef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// TEXTINCLUDE -// - -1 TEXTINCLUDE -BEGIN - "resource.h\0" -END - -2 TEXTINCLUDE -BEGIN - "#ifndef APSTUDIO_INVOKED\r\n" - "#include ""targetver.h""\r\n" - "#endif\r\n" - "#include ""afxres.h""\r\n" - "\0" -END - -3 TEXTINCLUDE -BEGIN - "#define _AFX_NO_SPLITTER_RESOURCES\r\n" - "#define _AFX_NO_OLE_RESOURCES\r\n" - "#define _AFX_NO_TRACKER_RESOURCES\r\n" - "#define _AFX_NO_PROPERTY_RESOURCES\r\n" - "\r\n" - "#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)\r\n" - "LANGUAGE 9, 1\r\n" - "#pragma code_page(1252)\r\n" - "#include ""res\\Util9113.rc2"" // non-Microsoft Visual C++ edited resources\r\n" - "#include ""afxres.rc"" // Standard components\r\n" - "#endif\r\n" - "\0" -END - -#endif // APSTUDIO_INVOKED - -#endif // Chinese (Taiwan) resources -///////////////////////////////////////////////////////////////////////////// - - -///////////////////////////////////////////////////////////////////////////// -// English (U.S.) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -#ifdef _WIN32 -LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US -#pragma code_page(1252) -#endif //_WIN32 - -///////////////////////////////////////////////////////////////////////////// -// -// Icon -// - -// Icon with lowest ID value placed first to ensure application icon -// remains consistent on all systems. -IDR_MAINFRAME ICON "res\\Util9113.ico" -IDI_ICON_BLACK ICON "res\\black.ico" -IDI_ICON_RED ICON "res\\red.ico" - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog -// - -IDD_ABOUTBOX DIALOGEX 0, 0, 170, 62 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "About Util9113" -FONT 8, "MS Shell Dlg", 0, 0, 0x1 -BEGIN - ICON IDR_MAINFRAME,IDC_STATIC,14,14,21,20 - LTEXT "Util9113, Version 1.0",IDC_STATIC,42,14,114,8,SS_NOPREFIX - LTEXT "Copyright (C) 2010",IDC_STATIC,42,26,114,8 - DEFPUSHBUTTON "OK",IDOK,113,41,50,14,WS_GROUP -END - -IDD_UTIL9113_DIALOG DIALOGEX 0, 0, 345, 176 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU -EXSTYLE WS_EX_APPWINDOW -CAPTION "PCI-9113" -FONT 8, "MS Shell Dlg", 0, 0, 0x1 -BEGIN - GROUPBOX "",IDC_STATIC_DRAW0,45,9,213,75,NOT WS_VISIBLE - GROUPBOX "",IDC_STATIC_DRAW1,45,90,213,75,NOT WS_VISIBLE - CONTROL 132,IDC_STATIC,"Static",SS_BITMAP,289,20,9,44 - CONTROL "0",IDC_RADIO_CH0,"Button",BS_AUTOCHECKBOX | BS_LEFTTEXT | BS_PUSHLIKE,268,21,17,10 - CONTROL "1",IDC_RADIO_CH1,"Button",BS_AUTOCHECKBOX | BS_LEFTTEXT | BS_PUSHLIKE,268,32,17,10 - CONTROL "2",IDC_RADIO_CH2,"Button",BS_AUTOCHECKBOX | BS_LEFTTEXT | BS_PUSHLIKE,268,43,17,10 - CONTROL "3",IDC_RADIO_CH3,"Button",BS_AUTOCHECKBOX | BS_LEFTTEXT | BS_PUSHLIKE,268,54,17,10 - CONTROL "4",IDC_RADIO_CH4,"Button",BS_AUTOCHECKBOX | BS_LEFTTEXT | BS_PUSHLIKE,303,21,17,10 - CONTROL "5",IDC_RADIO_CH5,"Button",BS_AUTOCHECKBOX | BS_LEFTTEXT | BS_PUSHLIKE,303,32,17,10 - CONTROL "6",IDC_RADIO_CH6,"Button",BS_AUTOCHECKBOX | BS_LEFTTEXT | BS_PUSHLIKE,303,43,17,10 - CONTROL "7",IDC_RADIO_CH7,"Button",BS_AUTOCHECKBOX | BS_LEFTTEXT | BS_PUSHLIKE,303,54,17,10 - CONTROL 132,IDC_STATIC,"Static",SS_BITMAP,288,111,9,44 - CONTROL 133,IDC_STATIC,"Static",SS_BITMAP,321,111,11,45 - CONTROL "8",IDC_RADIO_CH8,"Button",BS_AUTOCHECKBOX | BS_LEFTTEXT | BS_PUSHLIKE,266,112,17,10 - CONTROL "9",IDC_RADIO_CH9,"Button",BS_AUTOCHECKBOX | BS_LEFTTEXT | BS_PUSHLIKE,266,123,17,10 - CONTROL "10",IDC_RADIO_CH10,"Button",BS_AUTOCHECKBOX | BS_LEFTTEXT | BS_PUSHLIKE,266,134,17,10 - CONTROL "11",IDC_RADIO_CH11,"Button",BS_AUTOCHECKBOX | BS_LEFTTEXT | BS_PUSHLIKE,266,146,17,10 - CONTROL "12",IDC_RADIO_CH12,"Button",BS_AUTOCHECKBOX | BS_LEFTTEXT | BS_PUSHLIKE,302,112,17,10 - CONTROL "13",IDC_RADIO_CH13,"Button",BS_AUTOCHECKBOX | BS_LEFTTEXT | BS_PUSHLIKE,302,123,17,10 - CONTROL "14",IDC_RADIO_CH14,"Button",BS_AUTOCHECKBOX | BS_LEFTTEXT | BS_PUSHLIKE,302,134,17,10 - CONTROL "15",IDC_RADIO_CH15,"Button",BS_AUTOCHECKBOX | BS_LEFTTEXT | BS_PUSHLIKE,302,146,17,10 - CONTROL 133,IDC_STATIC,"Static",SS_BITMAP,322,20,11,45 - COMBOBOX IDC_COMBO_AI_RANGE,266,89,67,13,CBS_DROPDOWN | WS_VSCROLL | WS_TABSTOP - LTEXT "Input Range",IDC_STATIC,265,75,45,12 -END - -IDD_CARDID_DIALOG DIALOGEX 0, 0, 165, 87 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "Card ID" -FONT 8, "MS Shell Dlg", 400, 0, 0x1 -BEGIN - COMBOBOX IDC_COMBO_CARDID,75,24,71,126,CBS_DROPDOWN | WS_VSCROLL | WS_TABSTOP - LTEXT "Card Number",IDC_STATIC_01,21,25,46,12 - PUSHBUTTON "OK",IDOK,22,48,58,19 - PUSHBUTTON "CANCEL",IDCANCEL,86,48,58,19 -END - - -///////////////////////////////////////////////////////////////////////////// -// -// Version -// - -VS_VERSION_INFO VERSIONINFO - FILEVERSION 1,0,0,1 - PRODUCTVERSION 1,0,0,1 - FILEFLAGSMASK 0x3fL -#ifdef _DEBUG - FILEFLAGS 0x1L -#else - FILEFLAGS 0x0L -#endif - FILEOS 0x4L - FILETYPE 0x1L - FILESUBTYPE 0x0L -BEGIN - BLOCK "StringFileInfo" - BEGIN - BLOCK "040904e4" - BEGIN - VALUE "CompanyName", "TODO: " - VALUE "FileDescription", "TODO: " - VALUE "FileVersion", "1.0.0.1" - VALUE "InternalName", "Util9113.exe" - VALUE "LegalCopyright", "TODO: (c) . All rights reserved." - VALUE "OriginalFilename", "Util9113.exe" - VALUE "ProductName", "TODO: " - VALUE "ProductVersion", "1.0.0.1" - END - END - BLOCK "VarFileInfo" - BEGIN - VALUE "Translation", 0x409, 1252 - END -END - - -///////////////////////////////////////////////////////////////////////////// -// -// DESIGNINFO -// - -#ifdef APSTUDIO_INVOKED -GUIDELINES DESIGNINFO -BEGIN - IDD_ABOUTBOX, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 163 - TOPMARGIN, 7 - BOTTOMMARGIN, 55 - END - - IDD_CARDID_DIALOG, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 158 - TOPMARGIN, 6 - BOTTOMMARGIN, 80 - END -END -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// Bitmap -// - -IDB_BITMAP_SET1 BITMAP "res\\ch_set1.bmp" -IDB_BITMAP_SET2 BITMAP "res\\ch_set2.bmp" - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog Info -// - -IDD_UTIL9113_DIALOG DLGINIT -BEGIN - IDC_COMBO_AI_RANGE, 0x403, 7, 0 -0x2f2b, 0x312d, 0x5630, "\000" - IDC_COMBO_AI_RANGE, 0x403, 6, 0 -0x2f2b, 0x312d, 0x0056, - IDC_COMBO_AI_RANGE, 0x403, 8, 0 -0x2f2b, 0x302d, 0x312e, 0x0056, - IDC_COMBO_AI_RANGE, 0x403, 6, 0 -0x2f2b, 0x352d, 0x0056, - IDC_COMBO_AI_RANGE, 0x403, 8, 0 -0x2f2b, 0x302d, 0x352e, 0x0056, - IDC_COMBO_AI_RANGE, 0x403, 9, 0 -0x2f2b, 0x302d, 0x302e, 0x5635, "\000" - IDC_COMBO_AI_RANGE, 0x403, 6, 0 -0x7e30, 0x3031, 0x0056, - IDC_COMBO_AI_RANGE, 0x403, 5, 0 -0x7e30, 0x5631, "\000" - IDC_COMBO_AI_RANGE, 0x403, 7, 0 -0x7e30, 0x2e30, 0x5631, "\000" - 0 -END - -IDD_CARDID_DIALOG DLGINIT -BEGIN - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0030, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0031, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0032, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0033, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0034, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0035, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0036, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0037, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0038, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0039, - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3031, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3131, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3231, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3331, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3431, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3531, "\000" - 0 -END - - -///////////////////////////////////////////////////////////////////////////// -// -// String Table -// - -STRINGTABLE -BEGIN - IDS_ABOUTBOX "&About Util9113..." -END - -#endif // English (U.S.) resources -///////////////////////////////////////////////////////////////////////////// - - - -#ifndef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 3 resource. -// -#define _AFX_NO_SPLITTER_RESOURCES -#define _AFX_NO_OLE_RESOURCES -#define _AFX_NO_TRACKER_RESOURCES -#define _AFX_NO_PROPERTY_RESOURCES - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -LANGUAGE 9, 1 -#pragma code_page(1252) -#include "res\Util9113.rc2" // non-Microsoft Visual C++ edited resources -#include "afxres.rc" // Standard components -#endif - -///////////////////////////////////////////////////////////////////////////// -#endif // not APSTUDIO_INVOKED - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9113/SDK9113/Util9113.sln b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9113/SDK9113/Util9113.sln deleted file mode 100644 index c6a1369..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9113/SDK9113/Util9113.sln +++ /dev/null @@ -1,20 +0,0 @@ - -Microsoft Visual Studio Solution File, Format Version 10.00 -# Visual Studio 2008 -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "Util9113", "Util9113.vcproj", "{EA91AA3F-533F-4BE6-8BD6-78C091590751}" -EndProject -Global - GlobalSection(SolutionConfigurationPlatforms) = preSolution - Debug|x64 = Debug|x64 - Release|x64 = Release|x64 - EndGlobalSection - GlobalSection(ProjectConfigurationPlatforms) = postSolution - {EA91AA3F-533F-4BE6-8BD6-78C091590751}.Debug|x64.ActiveCfg = Debug|x64 - {EA91AA3F-533F-4BE6-8BD6-78C091590751}.Debug|x64.Build.0 = Debug|x64 - {EA91AA3F-533F-4BE6-8BD6-78C091590751}.Release|x64.ActiveCfg = Release|x64 - {EA91AA3F-533F-4BE6-8BD6-78C091590751}.Release|x64.Build.0 = Release|x64 - EndGlobalSection - GlobalSection(SolutionProperties) = preSolution - HideSolutionNode = FALSE - EndGlobalSection -EndGlobal diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9113/SDK9113/Util9113.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9113/SDK9113/Util9113.suo deleted file mode 100644 index 5d55a16..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9113/SDK9113/Util9113.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9113/SDK9113/Util9113.vcproj b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9113/SDK9113/Util9113.vcproj deleted file mode 100644 index c42499b..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9113/SDK9113/Util9113.vcproj +++ /dev/null @@ -1,306 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9113/SDK9113/Util9113Dlg.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9113/SDK9113/Util9113Dlg.cpp deleted file mode 100644 index 2316c5a..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9113/SDK9113/Util9113Dlg.cpp +++ /dev/null @@ -1,864 +0,0 @@ - -// Util9113Dlg.cpp : implementation file -// - -#include "stdafx.h" -#include "Util9113.h" -#include "Util9113Dlg.h" - -#ifdef _DEBUG -#define new DEBUG_NEW -#endif - -CRect plotRect0, plotRect1; - - -// CAboutDlg dialog used for App About - -class CAboutDlg : public CDialog -{ -public: - CAboutDlg(); - -// Dialog Data - enum { IDD = IDD_ABOUTBOX }; - - protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - -// Implementation -protected: - DECLARE_MESSAGE_MAP() -}; - -CAboutDlg::CAboutDlg() : CDialog(CAboutDlg::IDD) -{ -} - -void CAboutDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); -} - -BEGIN_MESSAGE_MAP(CAboutDlg, CDialog) -END_MESSAGE_MAP() - - -// CUtil9113Dlg dialog - - - - -CUtil9113Dlg::CUtil9113Dlg(I16 hCard, CWnd* pParent /*=NULL*/) - : CDialog(CUtil9113Dlg::IDD, pParent) -{ - m_hIcon = AfxGetApp()->LoadIcon(IDR_MAINFRAME); - - m_hCard = hCard; - - n_PlotWidth = n_PlotHeight = -1; - OnBrush = OffBrush = NULL; - - min_val = 0x00; - max_val = 0xFFFF; - - for( int i=0; iAppendMenu(MF_SEPARATOR); - pSysMenu->AppendMenu(MF_STRING, IDM_ABOUTBOX, strAboutMenu); - } - } - - // Set the icon for this dialog. The framework does this automatically - // when the application's main window is not a dialog - SetIcon(m_hIcon, TRUE); // Set big icon - SetIcon(m_hIcon, FALSE); // Set small icon - - x_divider = 5; y_divider = 2; - - OnBrush = CreateSolidBrush( RGB(255,0,0) ); - OffBrush = CreateSolidBrush( RGB(125,0,0) ); - - RedPen.CreatePen( PS_SOLID, 1, RGB(255,0,0)); - GreenPen.CreatePen( PS_SOLID, 1, RGB(0,255,0)); - YellowPen.CreatePen( PS_SOLID, 1, RGB(255,255,0)); - BluePen.CreatePen( PS_SOLID, 1, RGB(0,0,255)); - LTBluePen.CreatePen( PS_SOLID, 1, RGB(0,128,255)); - LTRedPen.CreatePen( PS_SOLID, 1, RGB(255,128,0)); - LTGreenPen.CreatePen( PS_SOLID, 1, RGB(0,128,0)); - WhitePen.CreatePen( PS_SOLID, 1, RGB(255,255,255)); - - - - - if( n_PlotWidth == -1 && n_PlotHeight == -1 ) - { - ((CWnd*)GetDlgItem(IDC_STATIC_DRAW0))->GetWindowRect(&plotRect0); - ScreenToClient(&plotRect0); - - n_PlotWidth = min( plotRect0.Width(), 512); - n_PlotHeight = plotRect0.Height(); - - ((CWnd*)GetDlgItem(IDC_STATIC_DRAW1))->GetWindowRect(&plotRect1); - ScreenToClient(&plotRect1); - } - - - // TODO: Add extra initialization here - m_cbAIRange.SetCurSel( 0 ); - max_range = 10.0; - min_range = -10.0; - m_wAdRange = AD_B_10_V; - - m_nTimer = SetTimer( 1, 100, NULL ); - - return TRUE; // return TRUE unless you set the focus to a control -} - -void CUtil9113Dlg::OnSysCommand(UINT nID, LPARAM lParam) -{ - if ((nID & 0xFFF0) == IDM_ABOUTBOX) - { - CAboutDlg dlgAbout; - dlgAbout.DoModal(); - } - else - { - CDialog::OnSysCommand(nID, lParam); - } -} - -// If you add a minimize button to your dialog, you will need the code below -// to draw the icon. For MFC applications using the document/view model, -// this is automatically done for you by the framework. - -void CUtil9113Dlg::OnPaint() -{ - if (IsIconic()) - { - CPaintDC dc(this); // device context for painting - - SendMessage(WM_ICONERASEBKGND, reinterpret_cast(dc.GetSafeHdc()), 0); - - // Center icon in client rectangle - int cxIcon = GetSystemMetrics(SM_CXICON); - int cyIcon = GetSystemMetrics(SM_CYICON); - CRect rect; - GetClientRect(&rect); - int x = (rect.Width() - cxIcon + 1) / 2; - int y = (rect.Height() - cyIcon + 1) / 2; - - // Draw the icon - dc.DrawIcon(x, y, m_hIcon); - } - else - { - redraw_display_area(); - CDialog::OnPaint(); - } -} - -// The system calls this function to obtain the cursor to display while the user drags -// the minimized window. -HCURSOR CUtil9113Dlg::OnQueryDragIcon() -{ - return static_cast(m_hIcon); -} - - -void CUtil9113Dlg::OnDestroy() -{ - CDialog::OnDestroy(); - - // TODO: Add your message handler code here - - if( m_nTimer != -1 ) - { - KillTimer( m_nTimer ); - m_nTimer = -1; - } - - if( OnBrush != NULL ) - ::DeleteObject( OnBrush ); - - if( OffBrush != NULL ) - ::DeleteObject( OffBrush ); - - RedPen.DeleteObject(); - GreenPen.DeleteObject(); - YellowPen.DeleteObject(); - BluePen.DeleteObject(); - LTBluePen.DeleteObject(); - LTRedPen.DeleteObject(); - LTGreenPen.DeleteObject(); - WhitePen.DeleteObject(); -} - -void CUtil9113Dlg::OnAIRangeSelchange() -{ - // TODO: Add your control notification handler code here - U16 tmpAdRange; - int nIndex; - double maxRange, minRange; - - nIndex = m_cbAIRange.GetCurSel(); - switch( nIndex ) - { - case 0: - tmpAdRange = AD_B_10_V; - maxRange = 10.0; - minRange = -10.0; - break; - case 1: - tmpAdRange = AD_B_1_V; - maxRange = 1.0; - minRange = -1.0; - break; - case 2: - tmpAdRange = AD_B_0_1_V; - maxRange = 0.1; - minRange = -0.1; - break; - case 3: - tmpAdRange = AD_B_5_V; - maxRange = 5.0; - minRange = -5.0; - break; - case 4: - tmpAdRange = AD_B_0_5_V; - maxRange = 0.5; - minRange = -0.5; - break; - case 5: - tmpAdRange = AD_B_0_05_V; - maxRange = 0.05; - minRange = -0.05; - break; - case 6: - tmpAdRange = AD_U_10_V; - maxRange = 10.0; - minRange = 0.0; - break; - case 7: - tmpAdRange = AD_U_1_V; - maxRange = 1.0; - minRange = 0.0; - break; - case 8: - tmpAdRange = AD_U_0_1_V; - maxRange = 0.1; - minRange = 0.0; - break; - } - - - if( tmpAdRange != m_wAdRange ) - { // update m_InPortA and configure the target Port - m_wAdRange = tmpAdRange; - - max_range = maxRange; - min_range = minRange; - - redraw_display_area(); - - } - -} - -void CUtil9113Dlg::OnAI00Enable() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_RADIO_CH0 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_AIEnable[0] = 0x01; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_AIEnable[0] = 0x00; - } -} - -void CUtil9113Dlg::OnAI01Enable() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_RADIO_CH1 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_AIEnable[1] = 0x01; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_AIEnable[1] = 0x00; - } -} - -void CUtil9113Dlg::OnAI02Enable() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_RADIO_CH2 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_AIEnable[2] = 0x01; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_AIEnable[2] = 0x00; - } -} - -void CUtil9113Dlg::OnAI03Enable() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_RADIO_CH3 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_AIEnable[3] = 0x01; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_AIEnable[3] = 0x00; - } -} - -void CUtil9113Dlg::OnAI04Enable() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_RADIO_CH4 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_AIEnable[4] = 0x01; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_AIEnable[4] = 0x00; - } -} - -void CUtil9113Dlg::OnAI05Enable() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_RADIO_CH5 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_AIEnable[5] = 0x01; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_AIEnable[5] = 0x00; - } -} - -void CUtil9113Dlg::OnAI06Enable() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_RADIO_CH6 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_AIEnable[6] = 0x01; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_AIEnable[6] = 0x00; - } -} - -void CUtil9113Dlg::OnAI07Enable() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_RADIO_CH7 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_AIEnable[7] = 0x01; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_AIEnable[7] = 0x00; - } -} - -void CUtil9113Dlg::OnAI08Enable() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_RADIO_CH8 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_AIEnable[8] = 0x01; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_AIEnable[8] = 0x00; - } -} - -void CUtil9113Dlg::OnAI09Enable() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_RADIO_CH9 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_AIEnable[9] = 0x01; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_AIEnable[9] = 0x00; - } -} - -void CUtil9113Dlg::OnAI10Enable() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_RADIO_CH10 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_AIEnable[10] = 0x01; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_AIEnable[10] = 0x00; - } -} - -void CUtil9113Dlg::OnAI11Enable() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_RADIO_CH11 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_AIEnable[11] = 0x01; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_AIEnable[11] = 0x00; - } -} - -void CUtil9113Dlg::OnAI12Enable() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_RADIO_CH12 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_AIEnable[12] = 0x01; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_AIEnable[12] = 0x00; - } -} - -void CUtil9113Dlg::OnAI13Enable() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_RADIO_CH13 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_AIEnable[13] = 0x01; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_AIEnable[13] = 0x00; - } -} - -void CUtil9113Dlg::OnAI14Enable() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_RADIO_CH14 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_AIEnable[14] = 0x01; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_AIEnable[14] = 0x00; - } -} - -void CUtil9113Dlg::OnAI15Enable() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_RADIO_CH15 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_AIEnable[15] = 0x01; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_AIEnable[15] = 0x00; - } -} - - -void CUtil9113Dlg::OnTimer(UINT_PTR nIDEvent) -{ - // TODO: Add your message handler code here and/or call default - - for( int i=0; i> 12 ) ); // (n_PlotHeight * ai_data / 4096 ) - - if ( m_oldY[i] !=-1 ) - { - if( i < 8 ) - { - dc_plot.MoveTo( plotRect0.left+2, newY ); - dc_plot.LineTo( plotRect0.left+5, m_oldY[i] ); - } - else - { - dc_plot.MoveTo( plotRect1.left+2, newY ); - dc_plot.LineTo( plotRect1.left+5, m_oldY[i] ); - } - } - - m_oldY[i] = newY; - } - } - - return 0; -} diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9113/SDK9113/Util9113Dlg.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9113/SDK9113/Util9113Dlg.h deleted file mode 100644 index e83f4f1..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9113/SDK9113/Util9113Dlg.h +++ /dev/null @@ -1,94 +0,0 @@ - -// Util9113Dlg.h : header file -// - -#pragma once -#include "afxcmn.h" -#include "afxwin.h" - -#include "Dask64.h" - -#ifndef MAX_CHAN_9113 -#define MAX_CHAN_9113 16 -#endif - -// CUtil9113 dialog -class CUtil9113Dlg : public CDialog -{ -// Construction -public: - CUtil9113Dlg(I16 hCard, CWnd* pParent = NULL); // standard constructor - -// Dialog Data - enum { IDD = IDD_UTIL9113_DIALOG }; - - protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - - -// Implementation -protected: - HICON m_hIcon; - UINT_PTR m_nTimer; - I16 m_hCard; - int m_nAOValue; - U16 m_wAdRange; - U8 m_AIEnable[MAX_CHAN_9113]; - U16 m_AIData[MAX_CHAN_9113]; - U32 m_OutData; - U32 m_InData; - - // Generated message map functions - virtual BOOL OnInitDialog(); - afx_msg void OnSysCommand(UINT nID, LPARAM lParam); - afx_msg void OnPaint(); - afx_msg HCURSOR OnQueryDragIcon(); - DECLARE_MESSAGE_MAP() -public: - CComboBox m_cbAIRange; - WORD max_val; - WORD min_val; - double max_range; - double min_range; - int n_PlotWidth; - int n_PlotHeight; - int y_divider; - int x_divider; - int m_DisplayScale; - int m_oldY[MAX_CHAN_9113]; - HBRUSH OnBrush; - HBRUSH OffBrush; - CPen RedPen; - CPen GreenPen; - CPen YellowPen; - CPen BluePen; - CPen LTBluePen; - CPen LTRedPen; - CPen LTGreenPen; - CPen WhitePen; - -private: - void redraw_display_area(void); -public: - afx_msg void OnDestroy(); - afx_msg void OnAIRangeSelchange(); - afx_msg void OnAI00Enable(); - afx_msg void OnAI01Enable(); - afx_msg void OnAI02Enable(); - afx_msg void OnAI03Enable(); - afx_msg void OnAI04Enable(); - afx_msg void OnAI05Enable(); - afx_msg void OnAI06Enable(); - afx_msg void OnAI07Enable(); - afx_msg void OnAI08Enable(); - afx_msg void OnAI09Enable(); - afx_msg void OnAI10Enable(); - afx_msg void OnAI11Enable(); - afx_msg void OnAI12Enable(); - afx_msg void OnAI13Enable(); - afx_msg void OnAI14Enable(); - afx_msg void OnAI15Enable(); - afx_msg void OnTimer(UINT_PTR nIDEvent); -private: - int display_buffer_data(void); -}; diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9113/SDK9113/res/Util9113.ico b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9113/SDK9113/res/Util9113.ico deleted file mode 100644 index d56fbcd..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9113/SDK9113/res/Util9113.ico and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9113/SDK9113/res/Util9113.rc2 b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9113/SDK9113/res/Util9113.rc2 deleted file mode 100644 index 4b43b56..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9113/SDK9113/res/Util9113.rc2 +++ /dev/null @@ -1,13 +0,0 @@ -// -// Util9111.RC2 - resources Microsoft Visual C++ does not edit directly -// - -#ifdef APSTUDIO_INVOKED -#error this file is not editable by Microsoft Visual C++ -#endif //APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// Add manually edited resources here... - -///////////////////////////////////////////////////////////////////////////// diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9113/SDK9113/res/black.ico b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9113/SDK9113/res/black.ico deleted file mode 100644 index b5c375f..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9113/SDK9113/res/black.ico and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9113/SDK9113/res/blue.ico b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9113/SDK9113/res/blue.ico deleted file mode 100644 index 1df4b39..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9113/SDK9113/res/blue.ico and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9113/SDK9113/res/ch_set1.bmp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9113/SDK9113/res/ch_set1.bmp deleted file mode 100644 index f2374ed..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9113/SDK9113/res/ch_set1.bmp and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9113/SDK9113/res/ch_set2.bmp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9113/SDK9113/res/ch_set2.bmp deleted file mode 100644 index 32d0915..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9113/SDK9113/res/ch_set2.bmp and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9113/SDK9113/res/green.ico b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9113/SDK9113/res/green.ico deleted file mode 100644 index d9a9fd3..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9113/SDK9113/res/green.ico and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9113/SDK9113/res/icon1.ico b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9113/SDK9113/res/icon1.ico deleted file mode 100644 index f1282c6..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9113/SDK9113/res/icon1.ico and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9113/SDK9113/res/pink.ico b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9113/SDK9113/res/pink.ico deleted file mode 100644 index 18bdaad..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9113/SDK9113/res/pink.ico and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9113/SDK9113/res/red.ico b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9113/SDK9113/res/red.ico deleted file mode 100644 index 7644596..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9113/SDK9113/res/red.ico and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9113/SDK9113/res/yellow.ico b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9113/SDK9113/res/yellow.ico deleted file mode 100644 index 3449de2..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9113/SDK9113/res/yellow.ico and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9113/SDK9113/resource.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9113/SDK9113/resource.h deleted file mode 100644 index eed3106..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9113/SDK9113/resource.h +++ /dev/null @@ -1,50 +0,0 @@ -//{{NO_DEPENDENCIES}} -// Microsoft Visual C++ generated include file. -// Used by Util9113.rc -// -#define IDM_ABOUTBOX 0x0010 -#define IDD_ABOUTBOX 100 -#define IDS_ABOUTBOX 101 -#define IDD_UTIL9113_DIALOG 102 -#define IDR_MAINFRAME 128 -#define IDI_ICON_BLACK 130 -#define IDI_ICON_RED 131 -#define IDB_BITMAP_SET1 132 -#define IDB_BITMAP_SET2 133 -#define IDD_CARDID_DIALOG 135 -#define IDC_COMBO_CARDID 1000 -#define IDC_COMBO_CARDTYPE 1001 -#define IDC_STATIC_DRAW0 1002 -#define IDC_STATIC_DRAW1 1003 -#define IDC_RADIO_CH0 1004 -#define IDC_RADIO_CH1 1005 -#define IDC_RADIO_CH2 1006 -#define IDC_RADIO_CH3 1007 -#define IDC_RADIO_CH4 1008 -#define IDC_RADIO_CH5 1009 -#define IDC_RADIO_CH6 1010 -#define IDC_RADIO_CH7 1011 -#define IDC_RADIO_CH8 1012 -#define IDC_RADIO_CH9 1013 -#define IDC_RADIO_CH10 1014 -#define IDC_RADIO_CH11 1015 -#define IDC_RADIO_CH12 1016 -#define IDC_RADIO_CH13 1017 -#define IDC_RADIO_CH14 1018 -#define IDC_RADIO_CH15 1019 -#define IDC_STATIC_01 1020 -#define IDC_STATIC_2 1021 -#define IDC_COMBO1 1022 -#define IDC_COMBO_AI_RANGE 1022 -#define IDC_EDIT1 1023 - -// Next default values for new objects -// -#ifdef APSTUDIO_INVOKED -#ifndef APSTUDIO_READONLY_SYMBOLS -#define _APS_NEXT_RESOURCE_VALUE 137 -#define _APS_NEXT_COMMAND_VALUE 32771 -#define _APS_NEXT_CONTROL_VALUE 1053 -#define _APS_NEXT_SYMED_VALUE 101 -#endif -#endif diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9113/SDK9113/stdafx.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9113/SDK9113/stdafx.cpp deleted file mode 100644 index c8c8934..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9113/SDK9113/stdafx.cpp +++ /dev/null @@ -1,8 +0,0 @@ - -// stdafx.cpp : source file that includes just the standard includes -// Util9111.pch will be the pre-compiled header -// stdafx.obj will contain the pre-compiled type information - -#include "stdafx.h" - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9113/SDK9113/stdafx.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9113/SDK9113/stdafx.h deleted file mode 100644 index 12123e2..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9113/SDK9113/stdafx.h +++ /dev/null @@ -1,60 +0,0 @@ - -// stdafx.h : include file for standard system include files, -// or project specific include files that are used frequently, -// but are changed infrequently - -#pragma once - -#ifndef _SECURE_ATL -#define _SECURE_ATL 1 -#endif - -#ifndef VC_EXTRALEAN -#define VC_EXTRALEAN // Exclude rarely-used stuff from Windows headers -#endif - -#include "targetver.h" - -#define _ATL_CSTRING_EXPLICIT_CONSTRUCTORS // some CString constructors will be explicit - -// turns off MFC's hiding of some common and often safely ignored warning messages -#define _AFX_ALL_WARNINGS - -#include // MFC core and standard components -#include // MFC extensions - - -#include // MFC Automation classes - - - -#ifndef _AFX_NO_OLE_SUPPORT -#include // MFC support for Internet Explorer 4 Common Controls -#endif -#ifndef _AFX_NO_AFXCMN_SUPPORT -#include // MFC support for Windows Common Controls -#endif // _AFX_NO_AFXCMN_SUPPORT - -#include // MFC support for ribbons and control bars - - - - - - - - - -#ifdef _UNICODE -#if defined _M_IX86 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='x86' publicKeyToken='6595b64144ccf1df' language='*'\"") -#elif defined _M_IA64 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='ia64' publicKeyToken='6595b64144ccf1df' language='*'\"") -#elif defined _M_X64 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='amd64' publicKeyToken='6595b64144ccf1df' language='*'\"") -#else -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='*' publicKeyToken='6595b64144ccf1df' language='*'\"") -#endif -#endif - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9113/SDK9113/targetver.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9113/SDK9113/targetver.h deleted file mode 100644 index 11730d5..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9113/SDK9113/targetver.h +++ /dev/null @@ -1,26 +0,0 @@ - -#pragma once - -// The following macros define the minimum required platform. The minimum required platform -// is the earliest version of Windows, Internet Explorer etc. that has the necessary features to run -// your application. The macros work by enabling all features available on platform versions up to and -// including the version specified. - -// Modify the following defines if you have to target a platform prior to the ones specified below. -// Refer to MSDN for the latest info on corresponding values for different platforms. -#ifndef WINVER // Specifies that the minimum required platform is Windows Vista. -#define WINVER 0x0600 // Change this to the appropriate value to target other versions of Windows. -#endif - -#ifndef _WIN32_WINNT // Specifies that the minimum required platform is Windows Vista. -#define _WIN32_WINNT 0x0600 // Change this to the appropriate value to target other versions of Windows. -#endif - -#ifndef _WIN32_WINDOWS // Specifies that the minimum required platform is Windows 98. -#define _WIN32_WINDOWS 0x0410 // Change this to the appropriate value to target Windows Me or later. -#endif - -#ifndef _WIN32_IE // Specifies that the minimum required platform is Internet Explorer 7.0. -#define _WIN32_IE 0x0700 // Change this to the appropriate value to target other versions of IE. -#endif - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9113/SDK9113DbfInt/9111DbInt.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9113/SDK9113DbfInt/9111DbInt.suo deleted file mode 100644 index f8568dc..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9113/SDK9113DbfInt/9111DbInt.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9113/SDK9113DbfInt/9111PostTg.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9113/SDK9113DbfInt/9111PostTg.suo deleted file mode 100644 index c59a833..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9113/SDK9113DbfInt/9111PostTg.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9113/SDK9113DbfInt/9111int.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9113/SDK9113DbfInt/9111int.suo deleted file mode 100644 index aaca7d8..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9113/SDK9113DbfInt/9111int.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9113/SDK9113DbfInt/9112cdma.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9113/SDK9113DbfInt/9112cdma.suo deleted file mode 100644 index bb79929..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9113/SDK9113DbfInt/9112cdma.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9113/SDK9113DbfInt/9113cint.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9113/SDK9113DbfInt/9113cint.cpp deleted file mode 100644 index 79d4073..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9113/SDK9113DbfInt/9113cint.cpp +++ /dev/null @@ -1,109 +0,0 @@ - -// 9113cint.cpp : Defines the class behaviors for the application. -// - -#include "stdafx.h" -#include "9113cint.h" -#include "9113cintDlg.h" -#include "CardIDDlg.h" - -#ifdef _DEBUG -#define new DEBUG_NEW -#endif - - -// C9113cintApp - -BEGIN_MESSAGE_MAP(C9113cintApp, CWinAppEx) - ON_COMMAND(ID_HELP, &CWinApp::OnHelp) -END_MESSAGE_MAP() - - -// C9113cintApp construction - -C9113cintApp::C9113cintApp() -{ - // TODO: add construction code here, - // Place all significant initialization in InitInstance -} - - -// The one and only C9113cintApp object - -C9113cintApp theApp; - - -// C9113cintApp initialization - -BOOL C9113cintApp::InitInstance() -{ - int nCardID = 0; - I16 hCard; - CString strTemp; - INT_PTR nResponse; - - // InitCommonControlsEx() is required on Windows XP if an application - // manifest specifies use of ComCtl32.dll version 6 or later to enable - // visual styles. Otherwise, any window creation will fail. - INITCOMMONCONTROLSEX InitCtrls; - InitCtrls.dwSize = sizeof(InitCtrls); - // Set this to include all the common control classes you want to use - // in your application. - InitCtrls.dwICC = ICC_WIN95_CLASSES; - InitCommonControlsEx(&InitCtrls); - - CWinAppEx::InitInstance(); - - AfxEnableControlContainer(); - - // Standard initialization - // If you are not using these features and wish to reduce the size - // of your final executable, you should remove from the following - // the specific initialization routines you do not need - // Change the registry key under which our settings are stored - // TODO: You should modify this string to be something appropriate - // such as the name of your company or organization - SetRegistryKey(_T("Local AppWizard-Generated Applications")); - - CCardIDDlg CardDlg( nCardID ); - - nResponse = CardDlg.DoModal(); - if (nResponse == IDOK) - { - nCardID = CardDlg.GetCardID(); - - if ((hCard=Register_Card(PCI_9113, nCardID)) < 0) - { - strTemp.Format( TEXT("Register_Card Error = %d"), hCard); - AfxMessageBox( strTemp ); - } - else - { - C9113cintDlg dlg(hCard); - m_pMainWnd = &dlg; - nResponse = dlg.DoModal(); - if (nResponse == IDOK) - { - // TODO: Place code here to handle when the dialog is - // dismissed with OK - } - else if (nResponse == IDCANCEL) - { - // TODO: Place code here to handle when the dialog is - // dismissed with Cancel - } - - if (hCard >= 0) Release_Card(hCard); - } - - } - else if (nResponse == IDCANCEL) - { - // TODO: Place code here to handle when the dialog is - // dismissed with Cancel - } - - // Since the dialog has been closed, return FALSE so that we exit the - // application, rather than start the application's message pump. - return FALSE; -} diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9113/SDK9113DbfInt/9113cint.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9113/SDK9113DbfInt/9113cint.h deleted file mode 100644 index e74a841..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9113/SDK9113DbfInt/9113cint.h +++ /dev/null @@ -1,32 +0,0 @@ - -// 9113cint.h : main header file for the PROJECT_NAME application -// - -#pragma once - -#ifndef __AFXWIN_H__ - #error "include 'stdafx.h' before including this file for PCH" -#endif - -#include "resource.h" // main symbols - - -// C9113cintApp: -// See 9113cint.cpp for the implementation of this class -// - -class C9113cintApp : public CWinAppEx -{ -public: - C9113cintApp(); - -// Overrides - public: - virtual BOOL InitInstance(); - -// Implementation - - DECLARE_MESSAGE_MAP() -}; - -extern C9113cintApp theApp; \ No newline at end of file diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9113/SDK9113DbfInt/9113cint.rc b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9113/SDK9113DbfInt/9113cint.rc deleted file mode 100644 index 354f8b2..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9113/SDK9113DbfInt/9113cint.rc +++ /dev/null @@ -1,292 +0,0 @@ -// Microsoft Visual C++ generated resource script. -// -#include "resource.h" - -#define APSTUDIO_READONLY_SYMBOLS -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 2 resource. -// -#ifndef APSTUDIO_INVOKED -#include "targetver.h" -#endif -#include "afxres.h" - -///////////////////////////////////////////////////////////////////////////// -#undef APSTUDIO_READONLY_SYMBOLS - -///////////////////////////////////////////////////////////////////////////// -// Chinese (Taiwan) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_CHT) -#ifdef _WIN32 -LANGUAGE LANG_CHINESE, SUBLANG_CHINESE_TRADITIONAL -#pragma code_page(950) -#endif //_WIN32 - -#ifdef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// TEXTINCLUDE -// - -1 TEXTINCLUDE -BEGIN - "resource.h\0" -END - -2 TEXTINCLUDE -BEGIN - "#ifndef APSTUDIO_INVOKED\r\n" - "#include ""targetver.h""\r\n" - "#endif\r\n" - "#include ""afxres.h""\r\n" - "\0" -END - -3 TEXTINCLUDE -BEGIN - "#define _AFX_NO_SPLITTER_RESOURCES\r\n" - "#define _AFX_NO_OLE_RESOURCES\r\n" - "#define _AFX_NO_TRACKER_RESOURCES\r\n" - "#define _AFX_NO_PROPERTY_RESOURCES\r\n" - "\r\n" - "#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)\r\n" - "LANGUAGE 9, 1\r\n" - "#pragma code_page(1252)\r\n" - "#include ""res\\My9113cint.rc2"" // non-Microsoft Visual C++ edited resources\r\n" - "#include ""afxres.rc"" // Standard components\r\n" - "#endif\r\n" - "\0" -END - -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// Icon -// - -// Icon with lowest ID value placed first to ensure application icon -// remains consistent on all systems. -IDR_MAINFRAME ICON "res\\9113cint.ico" -#endif // Chinese (Taiwan) resources -///////////////////////////////////////////////////////////////////////////// - - -///////////////////////////////////////////////////////////////////////////// -// English (U.S.) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -#ifdef _WIN32 -LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US -#pragma code_page(1252) -#endif //_WIN32 - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog -// - -IDD_ABOUTBOX DIALOGEX 0, 0, 170, 62 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "About 9113cint" -FONT 8, "MS Shell Dlg", 0, 0, 0x1 -BEGIN - ICON IDR_MAINFRAME,IDC_STATIC,14,14,21,20 - LTEXT "9113cint, Version 1.0",IDC_STATIC,42,14,114,8,SS_NOPREFIX - LTEXT "Copyright (C) 2010",IDC_STATIC,42,26,114,8 - DEFPUSHBUTTON "OK",IDOK,113,41,50,14,WS_GROUP -END - -IDD_PCI9113_CINT_DIALOG DIALOGEX 0, 0, 365, 232 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU -EXSTYLE WS_EX_APPWINDOW -CAPTION "PCI-9113 Double-Buffered Interrupt" -FONT 8, "MS Shell Dlg", 0, 0, 0x1 -BEGIN - GROUPBOX "",IDC_STATIC_DRAW,45,9,248,161,NOT WS_VISIBLE - LTEXT "Range : +/- 10V",IDC_STATIC,299,129,52,15 - LTEXT "Buffer Size",IDC_STATIC,124,183,42,9 - EDITTEXT IDC_EDIT_SAMPLE_RATE,47,196,39,14,ES_AUTOHSCROLL | ES_READONLY - LTEXT "Sample Rate :",IDC_STATIC,47,182,49,9 - LTEXT "KHz",IDC_STATIC,99,199,15,9 - SCROLLBAR IDC_SCROLLBAR_RATE,87,196,9,11,SBS_VERT - PUSHBUTTON "Start",IDC_BT_START,230,188,55,22 - CONTROL "0",IDC_RADIO_CH0,"Button",BS_AUTORADIOBUTTON | BS_LEFTTEXT,307,20,16,12 - CONTROL "1",IDC_RADIO_CH1,"Button",BS_AUTORADIOBUTTON | BS_LEFTTEXT,307,35,16,12 - CONTROL "2",IDC_RADIO_CH2,"Button",BS_AUTORADIOBUTTON | BS_LEFTTEXT,307,49,16,12 - CONTROL "3",IDC_RADIO_CH3,"Button",BS_AUTORADIOBUTTON | BS_LEFTTEXT,307,64,16,12 - CONTROL "4",IDC_RADIO_CH4,"Button",BS_AUTORADIOBUTTON | BS_LEFTTEXT,331,20,16,12 - CONTROL "5",IDC_RADIO_CH5,"Button",BS_AUTORADIOBUTTON | BS_LEFTTEXT,331,35,16,12 - CONTROL "6",IDC_RADIO_CH6,"Button",BS_AUTORADIOBUTTON | BS_LEFTTEXT,331,49,16,12 - CONTROL "7",IDC_RADIO_CH7,"Button",BS_AUTORADIOBUTTON | BS_LEFTTEXT,331,64,16,12 - EDITTEXT IDC_EDIT_BUF_SIZE,122,196,46,14,ES_AUTOHSCROLL - PUSHBUTTON "Stop",IDC_BT_STOP,291,188,55,22 -END - -IDD_CARDID_DIALOG DIALOGEX 0, 0, 174, 89 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "Card ID" -FONT 8, "MS Shell Dlg", 400, 0, 0x1 -BEGIN - COMBOBOX IDC_COMBO_CARDID,75,24,71,126,CBS_DROPDOWN | WS_VSCROLL | WS_TABSTOP - LTEXT "Card Number",IDC_STATIC_01,21,25,46,12 - PUSHBUTTON "OK",IDOK,22,53,58,19 - PUSHBUTTON "CANCEL",IDCANCEL,86,53,58,19 -END - - -///////////////////////////////////////////////////////////////////////////// -// -// Version -// - -VS_VERSION_INFO VERSIONINFO - FILEVERSION 1,0,0,1 - PRODUCTVERSION 1,0,0,1 - FILEFLAGSMASK 0x3fL -#ifdef _DEBUG - FILEFLAGS 0x1L -#else - FILEFLAGS 0x0L -#endif - FILEOS 0x4L - FILETYPE 0x1L - FILESUBTYPE 0x0L -BEGIN - BLOCK "StringFileInfo" - BEGIN - BLOCK "040904e4" - BEGIN - VALUE "CompanyName", "TODO: " - VALUE "FileDescription", "TODO: " - VALUE "FileVersion", "1.0.0.1" - VALUE "InternalName", "9113cint.exe" - VALUE "LegalCopyright", "TODO: (c) . All rights reserved." - VALUE "OriginalFilename", "9113cint.exe" - VALUE "ProductName", "TODO: " - VALUE "ProductVersion", "1.0.0.1" - END - END - BLOCK "VarFileInfo" - BEGIN - VALUE "Translation", 0x409, 1252 - END -END - - -///////////////////////////////////////////////////////////////////////////// -// -// DESIGNINFO -// - -#ifdef APSTUDIO_INVOKED -GUIDELINES DESIGNINFO -BEGIN - IDD_ABOUTBOX, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 163 - TOPMARGIN, 7 - BOTTOMMARGIN, 55 - END - - IDD_CARDID_DIALOG, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 167 - TOPMARGIN, 7 - BOTTOMMARGIN, 82 - END -END -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog Info -// - -IDD_CARDID_DIALOG DLGINIT -BEGIN - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0030, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0031, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0032, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0033, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0034, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0035, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0036, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0037, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0038, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0039, - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3031, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3131, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3231, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3331, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3431, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3531, "\000" - 0 -END - - -///////////////////////////////////////////////////////////////////////////// -// -// Bitmap -// - -IDB_BITMAP_SET1 BITMAP "res\\ch_set1.bmp" -IDB_BITMAP_SET2 BITMAP "res\\ch_set2.bmp" - -///////////////////////////////////////////////////////////////////////////// -// -// String Table -// - -STRINGTABLE -BEGIN - IDS_ABOUTBOX "&About 9113cint..." -END - -#endif // English (U.S.) resources -///////////////////////////////////////////////////////////////////////////// - - - -#ifndef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 3 resource. -// -#define _AFX_NO_SPLITTER_RESOURCES -#define _AFX_NO_OLE_RESOURCES -#define _AFX_NO_TRACKER_RESOURCES -#define _AFX_NO_PROPERTY_RESOURCES - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -LANGUAGE 9, 1 -#pragma code_page(1252) -#include "res\My9113cint.rc2" // non-Microsoft Visual C++ edited resources -#include "afxres.rc" // Standard components -#endif - -///////////////////////////////////////////////////////////////////////////// -#endif // not APSTUDIO_INVOKED - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9113/SDK9113DbfInt/9113cint.sln b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9113/SDK9113DbfInt/9113cint.sln deleted file mode 100644 index 6376e12..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9113/SDK9113DbfInt/9113cint.sln +++ /dev/null @@ -1,20 +0,0 @@ - -Microsoft Visual Studio Solution File, Format Version 10.00 -# Visual Studio 2008 -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "9113cint", "9113cint.vcproj", "{702163FB-B6DF-4EF5-9491-FC54D71509BC}" -EndProject -Global - GlobalSection(SolutionConfigurationPlatforms) = preSolution - Debug|x64 = Debug|x64 - Release|x64 = Release|x64 - EndGlobalSection - GlobalSection(ProjectConfigurationPlatforms) = postSolution - {702163FB-B6DF-4EF5-9491-FC54D71509BC}.Debug|x64.ActiveCfg = Debug|x64 - {702163FB-B6DF-4EF5-9491-FC54D71509BC}.Debug|x64.Build.0 = Debug|x64 - {702163FB-B6DF-4EF5-9491-FC54D71509BC}.Release|x64.ActiveCfg = Release|x64 - {702163FB-B6DF-4EF5-9491-FC54D71509BC}.Release|x64.Build.0 = Release|x64 - EndGlobalSection - GlobalSection(SolutionProperties) = preSolution - HideSolutionNode = FALSE - EndGlobalSection -EndGlobal diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9113/SDK9113DbfInt/9113cint.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9113/SDK9113DbfInt/9113cint.suo deleted file mode 100644 index a27e453..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9113/SDK9113DbfInt/9113cint.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9113/SDK9113DbfInt/9113cint.vcproj b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9113/SDK9113DbfInt/9113cint.vcproj deleted file mode 100644 index c84b5a1..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9113/SDK9113DbfInt/9113cint.vcproj +++ /dev/null @@ -1,294 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9113/SDK9113DbfInt/9113cintDlg.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9113/SDK9113DbfInt/9113cintDlg.cpp deleted file mode 100644 index b93e75c..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9113/SDK9113DbfInt/9113cintDlg.cpp +++ /dev/null @@ -1,616 +0,0 @@ - -// 9113cintDlg.cpp : implementation file -// - -#include "stdafx.h" -#include "9113cint.h" -#include "9113cintDlg.h" - -#ifdef _DEBUG -#define new DEBUG_NEW -#endif - -CRect plotRect; - -// CAboutDlg dialog used for App About - -class CAboutDlg : public CDialog -{ -public: - CAboutDlg(); - -// Dialog Data - enum { IDD = IDD_ABOUTBOX }; - - protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - -// Implementation -protected: - DECLARE_MESSAGE_MAP() -}; - -CAboutDlg::CAboutDlg() : CDialog(CAboutDlg::IDD) -{ -} - -void CAboutDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); -} - -BEGIN_MESSAGE_MAP(CAboutDlg, CDialog) -END_MESSAGE_MAP() - - -// C9113cintDlg dialog - - - - -C9113cintDlg::C9113cintDlg(I16 hCard, CWnd* pParent /*=NULL*/) - : CDialog(C9113cintDlg::IDD, pParent) -{ - m_hIcon = AfxGetApp()->LoadIcon(IDR_MAINFRAME); - - n_PlotWidth = n_PlotHeight = -1; - OnBrush = OffBrush = NULL; - - min_val = 0x00; - max_val = 0xFFFF; - - m_fSampleRate = 10000.0; // 10KHz - - m_hCard = hCard; - - m_wScanChans = 0; - m_nTimer = -1; - m_hMem=NULL; - - m_wRange = AD_B_10_V; - m_dwReadCount = 10240; - m_wPostCount = 512; - m_wChannel = 0; - -} - -void C9113cintDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); -} - -BEGIN_MESSAGE_MAP(C9113cintDlg, CDialog) - ON_WM_SYSCOMMAND() - ON_WM_PAINT() - ON_WM_QUERYDRAGICON() - //}}AFX_MSG_MAP - ON_WM_DESTROY() - ON_WM_VSCROLL() - ON_BN_CLICKED(IDC_BT_START, &C9113cintDlg::OnStart) - ON_BN_CLICKED(IDC_RADIO_CH0, &C9113cintDlg::OnCh0) - ON_BN_CLICKED(IDC_RADIO_CH1, &C9113cintDlg::OnCh1) - ON_BN_CLICKED(IDC_RADIO_CH2, &C9113cintDlg::OnCh2) - ON_BN_CLICKED(IDC_RADIO_CH3, &C9113cintDlg::OnCh3) - ON_BN_CLICKED(IDC_RADIO_CH4, &C9113cintDlg::OnCh4) - ON_BN_CLICKED(IDC_RADIO_CH5, &C9113cintDlg::OnCh5) - ON_BN_CLICKED(IDC_RADIO_CH6, &C9113cintDlg::OnCh6) - ON_BN_CLICKED(IDC_RADIO_CH7, &C9113cintDlg::OnCh7) - ON_WM_TIMER() - ON_BN_CLICKED(IDC_BT_STOP, &C9113cintDlg::OnStop) -END_MESSAGE_MAP() - - -// C9113cintDlg message handlers - -BOOL C9113cintDlg::OnInitDialog() -{ - CDialog::OnInitDialog(); - - // Add "About..." menu item to system menu. - - // IDM_ABOUTBOX must be in the system command range. - ASSERT((IDM_ABOUTBOX & 0xFFF0) == IDM_ABOUTBOX); - ASSERT(IDM_ABOUTBOX < 0xF000); - - CMenu* pSysMenu = GetSystemMenu(FALSE); - if (pSysMenu != NULL) - { - BOOL bNameValid; - CString strAboutMenu; - bNameValid = strAboutMenu.LoadString(IDS_ABOUTBOX); - ASSERT(bNameValid); - if (!strAboutMenu.IsEmpty()) - { - pSysMenu->AppendMenu(MF_SEPARATOR); - pSysMenu->AppendMenu(MF_STRING, IDM_ABOUTBOX, strAboutMenu); - } - } - - // Set the icon for this dialog. The framework does this automatically - // when the application's main window is not a dialog - SetIcon(m_hIcon, TRUE); // Set big icon - SetIcon(m_hIcon, FALSE); // Set small icon - - // TODO: Add extra initialization here - x_divider = 5; y_divider = 4; - - OnBrush = CreateSolidBrush( RGB(255,0,0) ); - OffBrush = CreateSolidBrush( RGB(125,0,0) ); - - RedPen.CreatePen( PS_SOLID, 1, RGB(255,0,0)); - - - if( n_PlotWidth == -1 && n_PlotHeight == -1 ) - { - ((CWnd*)GetDlgItem(IDC_STATIC_DRAW))->GetWindowRect(&plotRect); - ScreenToClient(&plotRect); - - n_PlotWidth = min( plotRect.Width(), 512); - n_PlotHeight = plotRect.Height() - 10; - } - - // set the default SampleRate - SetDlgItemInt( IDC_EDIT_SAMPLE_RATE, (UINT)(m_fSampleRate/1000) ); - SetDlgItemInt( IDC_EDIT_BUF_SIZE, (UINT)(m_dwReadCount) ); - ((CButton*)GetDlgItem( IDC_RADIO_CH0 ))->SetCheck( TRUE ); - - m_wChannel = 0; - - max_range = 10.0; - min_range = -10.0; - - return TRUE; // return TRUE unless you set the focus to a control -} - -void C9113cintDlg::OnSysCommand(UINT nID, LPARAM lParam) -{ - if ((nID & 0xFFF0) == IDM_ABOUTBOX) - { - CAboutDlg dlgAbout; - dlgAbout.DoModal(); - } - else - { - CDialog::OnSysCommand(nID, lParam); - } -} - -// If you add a minimize button to your dialog, you will need the code below -// to draw the icon. For MFC applications using the document/view model, -// this is automatically done for you by the framework. - -void C9113cintDlg::OnPaint() -{ - if (IsIconic()) - { - CPaintDC dc(this); // device context for painting - - SendMessage(WM_ICONERASEBKGND, reinterpret_cast(dc.GetSafeHdc()), 0); - - // Center icon in client rectangle - int cxIcon = GetSystemMetrics(SM_CXICON); - int cyIcon = GetSystemMetrics(SM_CYICON); - CRect rect; - GetClientRect(&rect); - int x = (rect.Width() - cxIcon + 1) / 2; - int y = (rect.Height() - cyIcon + 1) / 2; - - // Draw the icon - dc.DrawIcon(x, y, m_hIcon); - } - else - { - redraw_display_area(); - CDialog::OnPaint(); - } -} - -// The system calls this function to obtain the cursor to display while the user drags -// the minimized window. -HCURSOR C9113cintDlg::OnQueryDragIcon() -{ - return static_cast(m_hIcon); -} - - -void C9113cintDlg::redraw_display_area(void) -{ - CPen *oldPen; - - int oldMode; - COLORREF oldColor; - - CString y_lable; - - CPen minor_tick( PS_SOLID,1,RGB(132,130,132) ); -// CPen y_grid( PS_SOLID,1,RGB(206,203,132) ); - - int i, x_intv, y_intv; -// long total_sec; - - CClientDC dc_plot(this); - - // draw the base-line for x-y axises - oldPen = (CPen *)dc_plot.SelectStockObject(BLACK_PEN); - - // redraw the background - dc_plot.FillSolidRect( plotRect, RGB(0,0,0) ); - - // Re-Draw the AREA for Y-Lable - { - CBrush DIALOG_BRUSH; - CRect redraw_area, full_client; - - GetClientRect(&full_client); - ScreenToClient(&full_client); - - redraw_area.left = full_client.left; - redraw_area.top = plotRect.top - 5; - redraw_area.right = plotRect.left - 3; - redraw_area.bottom = plotRect.bottom + 10; - - DIALOG_BRUSH.CreateSysColorBrush( COLOR_3DFACE ); - - dc_plot.FillRect( redraw_area, &DIALOG_BRUSH ); - - DIALOG_BRUSH.DeleteObject(); - } - - dc_plot.MoveTo( plotRect.left - 3, plotRect.top ); - dc_plot.LineTo( plotRect.left - 3, plotRect.bottom ); - - // calculate the interval for tick/grid - y_intv = (plotRect.Height() - 10) /y_divider; - x_intv = plotRect.Width()/x_divider; - - - // set the color for tick - oldColor = dc_plot.SetTextColor( RGB(0,0,0) ); - oldMode = dc_plot.SetBkMode( TRANSPARENT ); - - for( i=0; i<= y_divider; i++ ) - { - CString tick_str; - CRect tmp_rect, tick_rect; - - // draw the tick for y-axis - dc_plot.MoveTo( plotRect.left -12, plotRect.bottom -5 - (i*y_intv) ); - dc_plot.LineTo( plotRect.left -3, plotRect.bottom -5 - (i*y_intv) ); - - tick_str.Format( _T("%.1f"), ( ((max_range-min_range)/y_divider) * i)+min_range ); - - // calculate the rectangle for text - dc_plot.DrawText( tick_str, &tmp_rect, DT_CALCRECT|DT_SINGLELINE ); - tick_rect.right = plotRect.left -14; - tick_rect.left = tick_rect.right - tmp_rect.Width(); - tick_rect.top = plotRect.bottom -5 - (i*y_intv) - tmp_rect.Height()/2; - tick_rect.bottom = tick_rect.top + tmp_rect.Height(); - - // draw the text - dc_plot.DrawText( tick_str, &tick_rect, DT_SINGLELINE|DT_RIGHT ); - - } - - // draw the minor_tick for Y axises - dc_plot.SelectObject(&minor_tick); - for( i=0; i< y_divider; i++ ) - { - dc_plot.MoveTo( plotRect.left -9, plotRect.bottom -5 - (i*y_intv) - y_intv/2 ); - dc_plot.LineTo( plotRect.left -4, plotRect.bottom -5 - (i*y_intv) - y_intv/2 ); - } - - dc_plot.SetTextColor( oldColor ); - dc_plot.SetBkMode( oldMode ); - dc_plot.SelectObject( oldPen ); -} - -void C9113cintDlg::OnDestroy() -{ - CDialog::OnDestroy(); - - // TODO: Add your message handler code here - if( m_nTimer != -1 ) - { - KillTimer( m_nTimer ); - m_nTimer = -1; - } - - if (m_hMem != NULL) - { - GlobalUnfix(m_hMem); - GlobalUnlock(m_hMem); - GlobalFree(m_hMem); - - m_hMem = NULL; - } - - if( OnBrush != NULL ) - ::DeleteObject( OnBrush ); - - if( OffBrush != NULL ) - ::DeleteObject( OffBrush ); - - RedPen.DeleteObject(); - -} - -void C9113cintDlg::OnVScroll(UINT nSBCode, UINT nPos, CScrollBar* pScrollBar) -{ - // TODO: Add your message handler code here and/or call default - switch ( nSBCode ) - { - case SB_LINEUP : - m_fSampleRate += 5000.0; - if (m_fSampleRate > 100000.0 ) m_fSampleRate = 100000.0; - break; - case SB_LINEDOWN: - m_fSampleRate -= 5000; - if (m_fSampleRate < 5000 ) m_fSampleRate = 5000; - break; - } - - SetDlgItemInt( IDC_EDIT_SAMPLE_RATE, (UINT)(m_fSampleRate/1000) ); - - CDialog::OnVScroll(nSBCode, nPos, pScrollBar); -} - - -void C9113cintDlg::OnStop() -{ - // TODO: Add your control notification handler code here - U32 count; - - AI_AsyncClear(m_hCard, &count); - - if( m_nTimer != -1 ) - { - KillTimer( m_nTimer ); - m_nTimer = -1; - } - - GetDlgItem( IDC_BT_START )->EnableWindow(TRUE); - - GetDlgItem( IDC_RADIO_CH0 )->EnableWindow(TRUE); - GetDlgItem( IDC_RADIO_CH1 )->EnableWindow(TRUE); - GetDlgItem( IDC_RADIO_CH2 )->EnableWindow(TRUE); - GetDlgItem( IDC_RADIO_CH3 )->EnableWindow(TRUE); - GetDlgItem( IDC_RADIO_CH4 )->EnableWindow(TRUE); - GetDlgItem( IDC_RADIO_CH5 )->EnableWindow(TRUE); - GetDlgItem( IDC_RADIO_CH6 )->EnableWindow(TRUE); - GetDlgItem( IDC_RADIO_CH7 )->EnableWindow(TRUE); -} - -void C9113cintDlg::OnStart() -{ - // TODO: Add your control notification handler code here - DWORD mem_size; - CString strTemp; - I16 err; - - GetDlgItem( IDC_BT_START )->EnableWindow(FALSE); - - GetDlgItem( IDC_RADIO_CH0 )->EnableWindow(FALSE); - GetDlgItem( IDC_RADIO_CH1 )->EnableWindow(FALSE); - GetDlgItem( IDC_RADIO_CH2 )->EnableWindow(FALSE); - GetDlgItem( IDC_RADIO_CH3 )->EnableWindow(FALSE); - GetDlgItem( IDC_RADIO_CH4 )->EnableWindow(FALSE); - GetDlgItem( IDC_RADIO_CH5 )->EnableWindow(FALSE); - GetDlgItem( IDC_RADIO_CH6 )->EnableWindow(FALSE); - GetDlgItem( IDC_RADIO_CH7 )->EnableWindow(FALSE); - - m_dwReadCount = GetDlgItemInt(IDC_EDIT_BUF_SIZE); - - if (m_hMem != NULL) - { - GlobalUnfix(m_hMem); - GlobalUnlock(m_hMem); - GlobalFree(m_hMem); - - m_hMem = NULL; - } - - // allocate a memory for user DMA buffer - mem_size = m_dwReadCount * sizeof(I32); - m_hMem = GlobalAlloc(GMEM_ZEROINIT, mem_size); - m_pAIBuf = (U32*) GlobalLock(m_hMem); - if (m_pAIBuf == NULL ) - { - AfxMessageBox( TEXT("Memory allocation failed"), MB_OK); - return; - } - - GlobalFix(m_hMem); - - err=AI_9113_Config(m_hCard, TRIG_INT_PACER); - - if (err!=0) - { - strTemp.Format( TEXT("AI_9113_Config error=%d"), err); - AfxMessageBox( strTemp ); - } - - err=AI_AsyncDblBufferMode(m_hCard, 1); // single-buffer mode - if (err!=0) - { - strTemp.Format( TEXT("AI_DblBufferMode error=%d"), err); - AfxMessageBox( strTemp ); - } - - err=AI_ContReadChannel (m_hCard, m_wChannel, m_wRange, (U16*)m_pAIBuf, m_dwReadCount, (F64)m_fSampleRate, ASYNCH_OP); - if (err!=0) - { - strTemp.Format( TEXT("AI_ContReadChannel error=%d"), err); - AfxMessageBox( strTemp ); - } - - m_nTimer = SetTimer( 1, 20, NULL ); - -} - -int C9113cintDlg::display_buffer_data(U32* pBuf) -{ - CClientDC dc_plot(this); - int nDraw_Origin_Y; - int cur_channel; - - int newY = -1; - int newX = -1; - U32 index; - I16 ai_data; - U32 dwDataSize = (m_dwReadCount/2); - - // redraw the background - dc_plot.FillSolidRect( plotRect, RGB(0,0,0) ); - - dc_plot.SelectObject(&RedPen); - nDraw_Origin_Y = ( plotRect.bottom - 5 ); - - for( index=0; index> 12 ) ); // (n_PlotHeight * ai_data / 4096 ) --> (n_PlotHeight * ai_data) >> 12 ) - - newX = (int)( index*n_PlotWidth/dwDataSize + plotRect.left ); - - if ( index == 0 ) - { - dc_plot.MoveTo( newX, newY ); - } - else - { - dc_plot.MoveTo( m_oldX, m_oldY ); - dc_plot.LineTo( newX, newY ); - } - - m_oldX = newX; - m_oldY = newY; - } - - return 0; -} - -void C9113cintDlg::OnTimer(UINT_PTR nIDEvent) -{ - // TODO: Add your message handler code here and/or call default - BOOLEAN HalfReady; - BOOLEAN fstop; - - AI_AsyncDblBufferHalfReady(m_hCard, &HalfReady, &fstop); - - if( HalfReady ) // half-buffer ready - { - AI_AsyncDblBufferTransfer(m_hCard, (U16*)m_pAIBuf); - display_buffer_data( m_pAIBuf ); - } - - CDialog::OnTimer(nIDEvent); -} - -void C9113cintDlg::OnCh0() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_RADIO_CH0 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_wChannel = 0; - } - -} - -void C9113cintDlg::OnCh1() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_RADIO_CH1 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_wChannel = 1; - } -} - -void C9113cintDlg::OnCh2() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_RADIO_CH2 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_wChannel = 2; - } -} - -void C9113cintDlg::OnCh3() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_RADIO_CH3 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_wChannel = 3; - } -} - -void C9113cintDlg::OnCh4() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_RADIO_CH4 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_wChannel = 4; - } -} - -void C9113cintDlg::OnCh5() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_RADIO_CH5 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_wChannel = 5; - } -} - -void C9113cintDlg::OnCh6() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_RADIO_CH6 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_wChannel = 6; - } -} - -void C9113cintDlg::OnCh7() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_RADIO_CH7 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_wChannel = 7; - } -} - - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9113/SDK9113DbfInt/9113cintDlg.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9113/SDK9113DbfInt/9113cintDlg.h deleted file mode 100644 index d48862c..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9113/SDK9113DbfInt/9113cintDlg.h +++ /dev/null @@ -1,78 +0,0 @@ - -// 9113cintDlg.h : header file -#pragma once -#include "afxcmn.h" -#include "afxwin.h" - -#include "Dask64.h" - -#ifndef MAX_CHAN_9112 -#define MAX_CHAN_9112 16 -#endif - -// C9113cintDlg dialog -class C9113cintDlg : public CDialog -{ -// Construction -public: - C9113cintDlg(I16 hCard, CWnd* pParent = NULL); // standard constructor - -// Dialog Data - enum { IDD = IDD_PCI9113_CINT_DIALOG }; - - protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - - -// Implementation -protected: - HICON m_hIcon; - UINT_PTR m_nTimer; - I16 m_hCard; - double m_fSampleRate; - U16 m_wScanChans; - HANDLE m_hMem; - U32 *m_pAIBuf; - U16 m_wRange; - int m_oldY; - int m_oldX; - U32 m_dwReadCount; - U16 m_wChannel; - U16 m_wPostCount; - - // Generated message map functions - virtual BOOL OnInitDialog(); - afx_msg void OnSysCommand(UINT nID, LPARAM lParam); - afx_msg void OnPaint(); - afx_msg HCURSOR OnQueryDragIcon(); - DECLARE_MESSAGE_MAP() - -public: - WORD max_val; - WORD min_val; - double max_range; - double min_range; - int n_PlotWidth; - int n_PlotHeight; - int y_divider; - int x_divider; - int m_DisplayScale; - HBRUSH OnBrush; - HBRUSH OffBrush; - CPen RedPen; - void redraw_display_area(void); - afx_msg void OnDestroy(); - afx_msg void OnVScroll(UINT nSBCode, UINT nPos, CScrollBar* pScrollBar); - afx_msg void OnStart(); - int display_buffer_data(U32* pBuf); - afx_msg void OnCh0(); - afx_msg void OnCh1(); - afx_msg void OnCh2(); - afx_msg void OnCh3(); - afx_msg void OnCh4(); - afx_msg void OnCh5(); - afx_msg void OnCh6(); - afx_msg void OnCh7(); - afx_msg void OnTimer(UINT_PTR nIDEvent); - afx_msg void OnStop(); -}; diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9113/SDK9113DbfInt/CardIDDlg.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9113/SDK9113DbfInt/CardIDDlg.cpp deleted file mode 100644 index 7e9cefc..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9113/SDK9113DbfInt/CardIDDlg.cpp +++ /dev/null @@ -1,67 +0,0 @@ -// CardIDDlg.cpp : implementation file -// -#include "stdafx.h" -#include "9113cint.h" -#include "9113cintDlg.h" -#include "CardIDDlg.h" - -// CCardIDDlg dialog - -IMPLEMENT_DYNAMIC(CCardIDDlg, CDialog) - -CCardIDDlg::CCardIDDlg(int nCardIdx, CWnd* pParent /*=NULL*/) - : CDialog(CCardIDDlg::IDD, pParent) -{ - m_nCardIdx = nCardIdx; -} - -CCardIDDlg::~CCardIDDlg() -{ -} - -void CCardIDDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); - DDX_Control(pDX, IDC_COMBO_CARDID, m_cbCardID); -} - - -BEGIN_MESSAGE_MAP(CCardIDDlg, CDialog) -// ON_CBN_SELCHANGE(IDC_COMBO_CARDID, &CCardIDDlg::OnCbnSelchangeComboCardid) -ON_BN_CLICKED(IDOK, &CCardIDDlg::OnBnClickedOk) -//ON_WM_CTLCOLOR() -END_MESSAGE_MAP() - - -// CCardIDDlg message handlers - - -void CCardIDDlg::OnBnClickedOk() -{ - // TODO: Add your control notification handler code here - -// UpdateData(TRUE); - m_nCardIdx = m_cbCardID.GetCurSel(); - - OnOK(); -} - -BOOL CCardIDDlg::OnInitDialog() -{ - CDialog::OnInitDialog(); - - // TODO: Add extra initialization here - m_cbCardID.SetCurSel( m_nCardIdx ); - - return TRUE; // return TRUE unless you set the focus to a control - // EXCEPTION: OCX Property Pages should return FALSE -} - -// the function to get the selected CardID -int CCardIDDlg::GetCardID(void) -{ - return m_nCardIdx; -} - - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9113/SDK9113DbfInt/CardIDDlg.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9113/SDK9113DbfInt/CardIDDlg.h deleted file mode 100644 index 04b8560..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9113/SDK9113DbfInt/CardIDDlg.h +++ /dev/null @@ -1,34 +0,0 @@ -#pragma once -#include "afxwin.h" - -#include "Dask64.h" - -// CCardIDDlg dialog - -class CCardIDDlg : public CDialog -{ - DECLARE_DYNAMIC(CCardIDDlg) - -public: - CCardIDDlg(int nCardIdx, CWnd* pParent = NULL); // standard constructor - virtual ~CCardIDDlg(); - -// Dialog Data - enum { IDD = IDD_CARDID_DIALOG }; - -protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - - DECLARE_MESSAGE_MAP() -public: - virtual BOOL OnInitDialog(); - afx_msg void OnBnClickedOk(); - // the setting of CardID ComboBox - int m_nCardIdx; - U16 m_CardType; - // the control of CardID ComboBox - CComboBox m_cbCardID; - // the function to get the selected CardID - int GetCardID(void); - -}; diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9113/SDK9113DbfInt/ReadMe.txt b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9113/SDK9113DbfInt/ReadMe.txt deleted file mode 100644 index 2feca80..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9113/SDK9113DbfInt/ReadMe.txt +++ /dev/null @@ -1,93 +0,0 @@ -================================================================================ - MICROSOFT FOUNDATION CLASS LIBRARY : 9113cint Project Overview -=============================================================================== - -The application wizard has created this 9113cint application for -you. This application not only demonstrates the basics of using the Microsoft -Foundation Classes but is also a starting point for writing your application. - -This file contains a summary of what you will find in each of the files that -make up your 9113cint application. - -9113cint.vcproj - This is the main project file for VC++ projects generated using an application wizard. - It contains information about the version of Visual C++ that generated the file, and - information about the platforms, configurations, and project features selected with the - application wizard. - -9113cint.h - This is the main header file for the application. It includes other - project specific headers (including Resource.h) and declares the - C9113cintApp application class. - -9113cint.cpp - This is the main application source file that contains the application - class C9113cintApp. - -9113cint.rc - This is a listing of all of the Microsoft Windows resources that the - program uses. It includes the icons, bitmaps, and cursors that are stored - in the RES subdirectory. This file can be directly edited in Microsoft - Visual C++. Your project resources are in 1033. - -res\9113cint.ico - This is an icon file, which is used as the application's icon. This - icon is included by the main resource file 9113cint.rc. - -res\My9113cint.rc2 - This file contains resources that are not edited by Microsoft - Visual C++. You should place all resources not editable by - the resource editor in this file. - - -///////////////////////////////////////////////////////////////////////////// - -The application wizard creates one dialog class: - -9113cintDlg.h, 9113cintDlg.cpp - the dialog - These files contain your C9113cintDlg class. This class defines - the behavior of your application's main dialog. The dialog's template is - in 9113cint.rc, which can be edited in Microsoft Visual C++. - - -///////////////////////////////////////////////////////////////////////////// - -Other Features: - -ActiveX Controls - The application includes support to use ActiveX controls. - -///////////////////////////////////////////////////////////////////////////// - -Other standard files: - -StdAfx.h, StdAfx.cpp - These files are used to build a precompiled header (PCH) file - named 9113cint.pch and a precompiled types file named StdAfx.obj. - -Resource.h - This is the standard header file, which defines new resource IDs. - Microsoft Visual C++ reads and updates this file. - -9113cint.manifest - Application manifest files are used by Windows XP to describe an applications - dependency on specific versions of Side-by-Side assemblies. The loader uses this - information to load the appropriate assembly from the assembly cache or private - from the application. The Application manifest maybe included for redistribution - as an external .manifest file that is installed in the same folder as the application - executable or it may be included in the executable in the form of a resource. -///////////////////////////////////////////////////////////////////////////// - -Other notes: - -The application wizard uses "TODO:" to indicate parts of the source code you -should add to or customize. - -If your application uses MFC in a shared DLL, you will need -to redistribute the MFC DLLs. If your application is in a language -other than the operating system's locale, you will also have to -redistribute the corresponding localized resources MFC90XXX.DLL. -For more information on both of these topics, please see the section on -redistributing Visual C++ applications in MSDN documentation. - -///////////////////////////////////////////////////////////////////////////// diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9113/SDK9113DbfInt/res/9113cint.ico b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9113/SDK9113DbfInt/res/9113cint.ico deleted file mode 100644 index d56fbcd..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9113/SDK9113DbfInt/res/9113cint.ico and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9113/SDK9113DbfInt/res/My9113cint.rc2 b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9113/SDK9113DbfInt/res/My9113cint.rc2 deleted file mode 100644 index 383cde2..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9113/SDK9113DbfInt/res/My9113cint.rc2 +++ /dev/null @@ -1,13 +0,0 @@ -// -// My9111int.RC2 - resources Microsoft Visual C++ does not edit directly -// - -#ifdef APSTUDIO_INVOKED -#error this file is not editable by Microsoft Visual C++ -#endif //APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// Add manually edited resources here... - -///////////////////////////////////////////////////////////////////////////// diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9113/SDK9113DbfInt/res/ch_set1.bmp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9113/SDK9113DbfInt/res/ch_set1.bmp deleted file mode 100644 index f2374ed..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9113/SDK9113DbfInt/res/ch_set1.bmp and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9113/SDK9113DbfInt/res/ch_set2.bmp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9113/SDK9113DbfInt/res/ch_set2.bmp deleted file mode 100644 index 32d0915..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9113/SDK9113DbfInt/res/ch_set2.bmp and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9113/SDK9113DbfInt/resource.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9113/SDK9113DbfInt/resource.h deleted file mode 100644 index 1e6c8ce..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9113/SDK9113DbfInt/resource.h +++ /dev/null @@ -1,41 +0,0 @@ -//{{NO_DEPENDENCIES}} -// Microsoft Visual C++ generated include file. -// Used by 9113cint.rc -// -#define IDM_ABOUTBOX 0x0010 -#define IDD_ABOUTBOX 100 -#define IDS_ABOUTBOX 101 -#define IDD_PCI9113_CINT_DIALOG 102 -#define IDR_MAINFRAME 128 -#define IDD_CARDID_DIALOG 129 -#define IDB_BITMAP_SET1 131 -#define IDB_BITMAP_SET2 132 -#define IDC_STATIC_DRAW 1000 -#define IDC_COMBO_CARDID 1001 -#define IDC_COMBO_CARDTYPE 1002 -#define IDC_BT_START 1003 -#define IDC_EDIT_SAMPLE_RATE 1004 -#define IDC_SCROLLBAR_RATE 1005 -#define IDC_RADIO_CH0 1006 -#define IDC_RADIO_CH1 1007 -#define IDC_RADIO_CH2 1008 -#define IDC_RADIO_CH3 1009 -#define IDC_RADIO_CH4 1010 -#define IDC_RADIO_CH5 1011 -#define IDC_RADIO_CH6 1012 -#define IDC_RADIO_CH7 1013 -#define IDC_STATIC_01 1014 -#define IDC_EDIT_BUF_SIZE 1014 -#define IDC_STATIC_2 1015 -#define IDC_BT_STOP 1015 - -// Next default values for new objects -// -#ifdef APSTUDIO_INVOKED -#ifndef APSTUDIO_READONLY_SYMBOLS -#define _APS_NEXT_RESOURCE_VALUE 134 -#define _APS_NEXT_COMMAND_VALUE 32771 -#define _APS_NEXT_CONTROL_VALUE 1018 -#define _APS_NEXT_SYMED_VALUE 101 -#endif -#endif diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9113/SDK9113DbfInt/stdafx.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9113/SDK9113DbfInt/stdafx.cpp deleted file mode 100644 index ef80626..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9113/SDK9113DbfInt/stdafx.cpp +++ /dev/null @@ -1,8 +0,0 @@ - -// stdafx.cpp : source file that includes just the standard includes -// 9111int.pch will be the pre-compiled header -// stdafx.obj will contain the pre-compiled type information - -#include "stdafx.h" - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9113/SDK9113DbfInt/stdafx.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9113/SDK9113DbfInt/stdafx.h deleted file mode 100644 index 12123e2..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9113/SDK9113DbfInt/stdafx.h +++ /dev/null @@ -1,60 +0,0 @@ - -// stdafx.h : include file for standard system include files, -// or project specific include files that are used frequently, -// but are changed infrequently - -#pragma once - -#ifndef _SECURE_ATL -#define _SECURE_ATL 1 -#endif - -#ifndef VC_EXTRALEAN -#define VC_EXTRALEAN // Exclude rarely-used stuff from Windows headers -#endif - -#include "targetver.h" - -#define _ATL_CSTRING_EXPLICIT_CONSTRUCTORS // some CString constructors will be explicit - -// turns off MFC's hiding of some common and often safely ignored warning messages -#define _AFX_ALL_WARNINGS - -#include // MFC core and standard components -#include // MFC extensions - - -#include // MFC Automation classes - - - -#ifndef _AFX_NO_OLE_SUPPORT -#include // MFC support for Internet Explorer 4 Common Controls -#endif -#ifndef _AFX_NO_AFXCMN_SUPPORT -#include // MFC support for Windows Common Controls -#endif // _AFX_NO_AFXCMN_SUPPORT - -#include // MFC support for ribbons and control bars - - - - - - - - - -#ifdef _UNICODE -#if defined _M_IX86 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='x86' publicKeyToken='6595b64144ccf1df' language='*'\"") -#elif defined _M_IA64 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='ia64' publicKeyToken='6595b64144ccf1df' language='*'\"") -#elif defined _M_X64 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='amd64' publicKeyToken='6595b64144ccf1df' language='*'\"") -#else -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='*' publicKeyToken='6595b64144ccf1df' language='*'\"") -#endif -#endif - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9113/SDK9113DbfInt/targetver.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9113/SDK9113DbfInt/targetver.h deleted file mode 100644 index 11730d5..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9113/SDK9113DbfInt/targetver.h +++ /dev/null @@ -1,26 +0,0 @@ - -#pragma once - -// The following macros define the minimum required platform. The minimum required platform -// is the earliest version of Windows, Internet Explorer etc. that has the necessary features to run -// your application. The macros work by enabling all features available on platform versions up to and -// including the version specified. - -// Modify the following defines if you have to target a platform prior to the ones specified below. -// Refer to MSDN for the latest info on corresponding values for different platforms. -#ifndef WINVER // Specifies that the minimum required platform is Windows Vista. -#define WINVER 0x0600 // Change this to the appropriate value to target other versions of Windows. -#endif - -#ifndef _WIN32_WINNT // Specifies that the minimum required platform is Windows Vista. -#define _WIN32_WINNT 0x0600 // Change this to the appropriate value to target other versions of Windows. -#endif - -#ifndef _WIN32_WINDOWS // Specifies that the minimum required platform is Windows 98. -#define _WIN32_WINDOWS 0x0410 // Change this to the appropriate value to target Windows Me or later. -#endif - -#ifndef _WIN32_IE // Specifies that the minimum required platform is Internet Explorer 7.0. -#define _WIN32_IE 0x0700 // Change this to the appropriate value to target other versions of IE. -#endif - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9113/SDK9113Int/9111int.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9113/SDK9113Int/9111int.suo deleted file mode 100644 index 78a64b3..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9113/SDK9113Int/9111int.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9113/SDK9113Int/9112dma.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9113/SDK9113Int/9112dma.suo deleted file mode 100644 index c04cc0d..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9113/SDK9113Int/9112dma.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9113/SDK9113Int/9113int.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9113/SDK9113Int/9113int.cpp deleted file mode 100644 index 1db8c54..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9113/SDK9113Int/9113int.cpp +++ /dev/null @@ -1,109 +0,0 @@ - -// 9113int.cpp : Defines the class behaviors for the application. -// - -#include "stdafx.h" -#include "9113int.h" -#include "9113intDlg.h" -#include "CardIDDlg.h" - -#ifdef _DEBUG -#define new DEBUG_NEW -#endif - - -// C9113intApp - -BEGIN_MESSAGE_MAP(C9113intApp, CWinAppEx) - ON_COMMAND(ID_HELP, &CWinApp::OnHelp) -END_MESSAGE_MAP() - - -// C9113intApp construction - -C9113intApp::C9113intApp() -{ - // TODO: add construction code here, - // Place all significant initialization in InitInstance -} - - -// The one and only C9113intApp object - -C9113intApp theApp; - - -// C9113intApp initialization - -BOOL C9113intApp::InitInstance() -{ - int nCardID = 0; - I16 hCard; - CString strTemp; - INT_PTR nResponse; - - // InitCommonControlsEx() is required on Windows XP if an application - // manifest specifies use of ComCtl32.dll version 6 or later to enable - // visual styles. Otherwise, any window creation will fail. - INITCOMMONCONTROLSEX InitCtrls; - InitCtrls.dwSize = sizeof(InitCtrls); - // Set this to include all the common control classes you want to use - // in your application. - InitCtrls.dwICC = ICC_WIN95_CLASSES; - InitCommonControlsEx(&InitCtrls); - - CWinAppEx::InitInstance(); - - AfxEnableControlContainer(); - - // Standard initialization - // If you are not using these features and wish to reduce the size - // of your final executable, you should remove from the following - // the specific initialization routines you do not need - // Change the registry key under which our settings are stored - // TODO: You should modify this string to be something appropriate - // such as the name of your company or organization - SetRegistryKey(_T("Local AppWizard-Generated Applications")); - - CCardIDDlg CardDlg( nCardID ); - - nResponse = CardDlg.DoModal(); - if (nResponse == IDOK) - { - nCardID = CardDlg.GetCardID(); - - if ((hCard=Register_Card(PCI_9113, nCardID)) < 0) - { - strTemp.Format( TEXT("Register_Card Error = %d"), hCard); - AfxMessageBox( strTemp ); - } - else - { - C9113intDlg dlg(hCard); - m_pMainWnd = &dlg; - nResponse = dlg.DoModal(); - if (nResponse == IDOK) - { - // TODO: Place code here to handle when the dialog is - // dismissed with OK - } - else if (nResponse == IDCANCEL) - { - // TODO: Place code here to handle when the dialog is - // dismissed with Cancel - } - - if (hCard >= 0) Release_Card(hCard); - } - - } - else if (nResponse == IDCANCEL) - { - // TODO: Place code here to handle when the dialog is - // dismissed with Cancel - } - - // Since the dialog has been closed, return FALSE so that we exit the - // application, rather than start the application's message pump. - return FALSE; -} diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9113/SDK9113Int/9113int.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9113/SDK9113Int/9113int.h deleted file mode 100644 index b4ca28a..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9113/SDK9113Int/9113int.h +++ /dev/null @@ -1,32 +0,0 @@ - -// 9113int.h : main header file for the PROJECT_NAME application -// - -#pragma once - -#ifndef __AFXWIN_H__ - #error "include 'stdafx.h' before including this file for PCH" -#endif - -#include "resource.h" // main symbols - - -// C9113intApp: -// See 9113int.cpp for the implementation of this class -// - -class C9113intApp : public CWinAppEx -{ -public: - C9113intApp(); - -// Overrides - public: - virtual BOOL InitInstance(); - -// Implementation - - DECLARE_MESSAGE_MAP() -}; - -extern C9113intApp theApp; \ No newline at end of file diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9113/SDK9113Int/9113int.rc b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9113/SDK9113Int/9113int.rc deleted file mode 100644 index f139527..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9113/SDK9113Int/9113int.rc +++ /dev/null @@ -1,324 +0,0 @@ -// Microsoft Visual C++ generated resource script. -// -#include "resource.h" - -#define APSTUDIO_READONLY_SYMBOLS -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 2 resource. -// -#ifndef APSTUDIO_INVOKED -#include "targetver.h" -#endif -#include "afxres.h" - -///////////////////////////////////////////////////////////////////////////// -#undef APSTUDIO_READONLY_SYMBOLS - -///////////////////////////////////////////////////////////////////////////// -// Chinese (Taiwan) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_CHT) -#ifdef _WIN32 -LANGUAGE LANG_CHINESE, SUBLANG_CHINESE_TRADITIONAL -#pragma code_page(950) -#endif //_WIN32 - -#ifdef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// TEXTINCLUDE -// - -1 TEXTINCLUDE -BEGIN - "resource.h\0" -END - -2 TEXTINCLUDE -BEGIN - "#ifndef APSTUDIO_INVOKED\r\n" - "#include ""targetver.h""\r\n" - "#endif\r\n" - "#include ""afxres.h""\r\n" - "\0" -END - -3 TEXTINCLUDE -BEGIN - "#define _AFX_NO_SPLITTER_RESOURCES\r\n" - "#define _AFX_NO_OLE_RESOURCES\r\n" - "#define _AFX_NO_TRACKER_RESOURCES\r\n" - "#define _AFX_NO_PROPERTY_RESOURCES\r\n" - "\r\n" - "#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)\r\n" - "LANGUAGE 9, 1\r\n" - "#pragma code_page(1252)\r\n" - "#include ""res\\My9113int.rc2"" // non-Microsoft Visual C++ edited resources\r\n" - "#include ""afxres.rc"" // Standard components\r\n" - "#endif\r\n" - "\0" -END - -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// Icon -// - -// Icon with lowest ID value placed first to ensure application icon -// remains consistent on all systems. -IDR_MAINFRAME ICON "res\\9113int.ico" -#endif // Chinese (Taiwan) resources -///////////////////////////////////////////////////////////////////////////// - - -///////////////////////////////////////////////////////////////////////////// -// English (U.S.) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -#ifdef _WIN32 -LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US -#pragma code_page(1252) -#endif //_WIN32 - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog -// - -IDD_ABOUTBOX DIALOGEX 0, 0, 170, 62 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "About 9113int" -FONT 8, "MS Shell Dlg", 0, 0, 0x1 -BEGIN - ICON IDR_MAINFRAME,IDC_STATIC,14,14,21,20 - LTEXT "9113int, Version 1.0",IDC_STATIC,42,14,114,8,SS_NOPREFIX - LTEXT "Copyright (C) 2010",IDC_STATIC,42,26,114,8 - DEFPUSHBUTTON "OK",IDOK,113,41,50,14,WS_GROUP -END - -IDD_9113INT_DIALOG DIALOGEX 0, 0, 365, 232 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU -EXSTYLE WS_EX_APPWINDOW -CAPTION "9113 Autoscan Interrupt" -FONT 8, "MS Shell Dlg", 0, 0, 0x1 -BEGIN - GROUPBOX "",IDC_STATIC_DRAW,45,9,227,161,NOT WS_VISIBLE - CONTROL 132,IDC_STATIC,"Static",SS_BITMAP,327,28,11,45 - CONTROL 131,IDC_STATIC,"Static",SS_BITMAP,298,29,9,44 - LTEXT "0",IDC_STATIC,286,29,10,11 - LTEXT "1",IDC_STATIC,286,40,10,11 - LTEXT "2",IDC_STATIC,286,51,10,11 - LTEXT "3",IDC_STATIC,286,63,10,11 - LTEXT "4",IDC_STATIC,318,29,10,11 - LTEXT "5",IDC_STATIC,318,40,10,11 - LTEXT "6",IDC_STATIC,318,51,10,11 - LTEXT "7",IDC_STATIC,318,63,10,11 - LTEXT "Range : +/- 10V",IDC_STATIC,283,130,57,15 - COMBOBOX IDC_COMBO_SCANCHAN,171,197,74,17,CBS_DROPDOWN | WS_VSCROLL | WS_TABSTOP - LTEXT "Scan Channels",IDC_STATIC,171,182,53,9 - EDITTEXT IDC_EDIT_SAMPLE_RATE,57,197,39,12,ES_AUTOHSCROLL | ES_READONLY - LTEXT "Sample Rate :",IDC_STATIC,57,182,49,9 - LTEXT "KHz",IDC_STATIC,109,198,15,9 - SCROLLBAR IDC_SCROLLBAR_RATE,97,195,9,11,SBS_VERT - PUSHBUTTON "Start",IDC_BT_START,275,188,75,22 -END - -IDD_CARDID_DIALOG DIALOGEX 0, 0, 165, 88 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "Card ID" -FONT 8, "MS Shell Dlg", 400, 0, 0x1 -BEGIN - COMBOBOX IDC_COMBO_CARDID,75,24,71,126,CBS_DROPDOWN | WS_VSCROLL | WS_TABSTOP - LTEXT "Card Number",IDC_STATIC_01,21,25,46,12 - PUSHBUTTON "OK",IDOK,23,51,58,19 - PUSHBUTTON "CANCEL",IDCANCEL,87,51,58,19 -END - - -///////////////////////////////////////////////////////////////////////////// -// -// Version -// - -VS_VERSION_INFO VERSIONINFO - FILEVERSION 1,0,0,1 - PRODUCTVERSION 1,0,0,1 - FILEFLAGSMASK 0x3fL -#ifdef _DEBUG - FILEFLAGS 0x1L -#else - FILEFLAGS 0x0L -#endif - FILEOS 0x4L - FILETYPE 0x1L - FILESUBTYPE 0x0L -BEGIN - BLOCK "StringFileInfo" - BEGIN - BLOCK "040904e4" - BEGIN - VALUE "CompanyName", "TODO: " - VALUE "FileDescription", "TODO: " - VALUE "FileVersion", "1.0.0.1" - VALUE "InternalName", "9113int.exe" - VALUE "LegalCopyright", "TODO: (c) . All rights reserved." - VALUE "OriginalFilename", "9113int.exe" - VALUE "ProductName", "TODO: " - VALUE "ProductVersion", "1.0.0.1" - END - END - BLOCK "VarFileInfo" - BEGIN - VALUE "Translation", 0x409, 1252 - END -END - - -///////////////////////////////////////////////////////////////////////////// -// -// DESIGNINFO -// - -#ifdef APSTUDIO_INVOKED -GUIDELINES DESIGNINFO -BEGIN - IDD_CARDID_DIALOG, DIALOG - BEGIN - BOTTOMMARGIN, 83 - END -END -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog Info -// - -IDD_CARDID_DIALOG DLGINIT -BEGIN - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0030, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0031, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0032, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0033, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0034, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0035, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0036, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0037, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0038, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0039, - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3031, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3131, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3231, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3331, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3431, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3531, "\000" - 0 -END - -IDD_MY9113INT_DIALOG DLGINIT -BEGIN - IDC_COMBO_CARDID, 0x403, 4, 0 -0x4843, 0x0030, - IDC_COMBO_CARDID, 0x403, 8, 0 -0x4843, 0x7e30, 0x4843, 0x0031, - IDC_COMBO_CARDID, 0x403, 8, 0 -0x4843, 0x7e30, 0x4843, 0x0032, - IDC_COMBO_CARDID, 0x403, 8, 0 -0x4843, 0x7e30, 0x4843, 0x0033, - IDC_COMBO_CARDID, 0x403, 8, 0 -0x4843, 0x7e30, 0x4843, 0x0034, - IDC_COMBO_CARDID, 0x403, 8, 0 -0x4843, 0x7e30, 0x4843, 0x0035, - IDC_COMBO_CARDID, 0x403, 8, 0 -0x4843, 0x7e30, 0x4843, 0x0036, - IDC_COMBO_CARDID, 0x403, 8, 0 -0x4843, 0x7e30, 0x4843, 0x0037, - 0 -END - -IDD_9113INT_DIALOG DLGINIT -BEGIN - IDC_COMBO_CARDID, 0x403, 4, 0 -0x4843, 0x0030, - IDC_COMBO_CARDID, 0x403, 8, 0 -0x4843, 0x7e30, 0x4843, 0x0031, - IDC_COMBO_CARDID, 0x403, 8, 0 -0x4843, 0x7e30, 0x4843, 0x0032, - IDC_COMBO_CARDID, 0x403, 8, 0 -0x4843, 0x7e30, 0x4843, 0x0033, - IDC_COMBO_CARDID, 0x403, 8, 0 -0x4843, 0x7e30, 0x4843, 0x0034, - IDC_COMBO_CARDID, 0x403, 8, 0 -0x4843, 0x7e30, 0x4843, 0x0035, - IDC_COMBO_CARDID, 0x403, 8, 0 -0x4843, 0x7e30, 0x4843, 0x0036, - IDC_COMBO_CARDID, 0x403, 8, 0 -0x4843, 0x7e30, 0x4843, 0x0037, - 0 -END - - -///////////////////////////////////////////////////////////////////////////// -// -// Bitmap -// - -IDB_BITMAP_SET1 BITMAP "res\\ch_set1.bmp" -IDB_BITMAP_SET2 BITMAP "res\\ch_set2.bmp" - -///////////////////////////////////////////////////////////////////////////// -// -// String Table -// - -STRINGTABLE -BEGIN - IDS_ABOUTBOX "&About 9113int..." -END - -#endif // English (U.S.) resources -///////////////////////////////////////////////////////////////////////////// - - - -#ifndef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 3 resource. -// -#define _AFX_NO_SPLITTER_RESOURCES -#define _AFX_NO_OLE_RESOURCES -#define _AFX_NO_TRACKER_RESOURCES -#define _AFX_NO_PROPERTY_RESOURCES - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -LANGUAGE 9, 1 -#pragma code_page(1252) -#include "res\My9113int.rc2" // non-Microsoft Visual C++ edited resources -#include "afxres.rc" // Standard components -#endif - -///////////////////////////////////////////////////////////////////////////// -#endif // not APSTUDIO_INVOKED - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9113/SDK9113Int/9113int.sln b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9113/SDK9113Int/9113int.sln deleted file mode 100644 index 5a14185..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9113/SDK9113Int/9113int.sln +++ /dev/null @@ -1,20 +0,0 @@ - -Microsoft Visual Studio Solution File, Format Version 10.00 -# Visual Studio 2008 -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "9113int", "9113int.vcproj", "{702163FB-B6DF-4EF5-9491-FC54D71509BC}" -EndProject -Global - GlobalSection(SolutionConfigurationPlatforms) = preSolution - Debug|x64 = Debug|x64 - Release|x64 = Release|x64 - EndGlobalSection - GlobalSection(ProjectConfigurationPlatforms) = postSolution - {702163FB-B6DF-4EF5-9491-FC54D71509BC}.Debug|x64.ActiveCfg = Debug|x64 - {702163FB-B6DF-4EF5-9491-FC54D71509BC}.Debug|x64.Build.0 = Debug|x64 - {702163FB-B6DF-4EF5-9491-FC54D71509BC}.Release|x64.ActiveCfg = Release|x64 - {702163FB-B6DF-4EF5-9491-FC54D71509BC}.Release|x64.Build.0 = Release|x64 - EndGlobalSection - GlobalSection(SolutionProperties) = preSolution - HideSolutionNode = FALSE - EndGlobalSection -EndGlobal diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9113/SDK9113Int/9113int.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9113/SDK9113Int/9113int.suo deleted file mode 100644 index 8dbc317..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9113/SDK9113Int/9113int.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9113/SDK9113Int/9113int.vcproj b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9113/SDK9113Int/9113int.vcproj deleted file mode 100644 index 0ed0f0e..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9113/SDK9113Int/9113int.vcproj +++ /dev/null @@ -1,294 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9113/SDK9113Int/9113intDlg.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9113/SDK9113Int/9113intDlg.cpp deleted file mode 100644 index 273a02c..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9113/SDK9113Int/9113intDlg.cpp +++ /dev/null @@ -1,493 +0,0 @@ - -// 9113intDlg.cpp : implementation file -// - -#include "stdafx.h" -#include "9113int.h" -#include "9113intDlg.h" - -#ifdef _DEBUG -#define new DEBUG_NEW -#endif - -CRect plotRect; -#define AI_SAMPLE_COUNT 10240 - -// CAboutDlg dialog used for App About - -class CAboutDlg : public CDialog -{ -public: - CAboutDlg(); - -// Dialog Data - enum { IDD = IDD_ABOUTBOX }; - - protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - -// Implementation -protected: - DECLARE_MESSAGE_MAP() -}; - -CAboutDlg::CAboutDlg() : CDialog(CAboutDlg::IDD) -{ -} - -void CAboutDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); -} - -BEGIN_MESSAGE_MAP(CAboutDlg, CDialog) -END_MESSAGE_MAP() - - -// C9113intDlg dialog - - - - -C9113intDlg::C9113intDlg(I16 hCard, CWnd* pParent /*=NULL*/) - : CDialog(C9113intDlg::IDD, pParent) -{ - m_hIcon = AfxGetApp()->LoadIcon(IDR_MAINFRAME); - - n_PlotWidth = n_PlotHeight = -1; - OnBrush = OffBrush = NULL; - - min_val = 0x00; - max_val = 0xFFFF; - - m_fSampleRate = 10000.0; // 10KHz - - m_hCard = hCard; - m_wScanChans = 0; - m_nTimer = -1; - m_hMem=NULL; - - m_wRange = AD_B_10_V; - -} - -void C9113intDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); - DDX_Control(pDX, IDC_COMBO_SCANCHAN, m_cbScanChans); -} - -BEGIN_MESSAGE_MAP(C9113intDlg, CDialog) - ON_WM_SYSCOMMAND() - ON_WM_PAINT() - ON_WM_QUERYDRAGICON() - //}}AFX_MSG_MAP - ON_WM_DESTROY() - ON_WM_VSCROLL() - ON_CBN_SELCHANGE(IDC_COMBO_SCANCHAN, &C9113intDlg::OnScanChanSelchange) - ON_BN_CLICKED(IDC_BT_START, &C9113intDlg::OnStart) -END_MESSAGE_MAP() - - -// C9113intDlg message handlers - -BOOL C9113intDlg::OnInitDialog() -{ - CDialog::OnInitDialog(); - - // Add "About..." menu item to system menu. - - // IDM_ABOUTBOX must be in the system command range. - ASSERT((IDM_ABOUTBOX & 0xFFF0) == IDM_ABOUTBOX); - ASSERT(IDM_ABOUTBOX < 0xF000); - - CMenu* pSysMenu = GetSystemMenu(FALSE); - if (pSysMenu != NULL) - { - BOOL bNameValid; - CString strAboutMenu; - bNameValid = strAboutMenu.LoadString(IDS_ABOUTBOX); - ASSERT(bNameValid); - if (!strAboutMenu.IsEmpty()) - { - pSysMenu->AppendMenu(MF_SEPARATOR); - pSysMenu->AppendMenu(MF_STRING, IDM_ABOUTBOX, strAboutMenu); - } - } - - // Set the icon for this dialog. The framework does this automatically - // when the application's main window is not a dialog - SetIcon(m_hIcon, TRUE); // Set big icon - SetIcon(m_hIcon, FALSE); // Set small icon - - // TODO: Add extra initialization here - x_divider = 5; y_divider = 4; - - OnBrush = CreateSolidBrush( RGB(255,0,0) ); - OffBrush = CreateSolidBrush( RGB(125,0,0) ); - - RedPen.CreatePen( PS_SOLID, 1, RGB(255,0,0)); - GreenPen.CreatePen( PS_SOLID, 1, RGB(0,255,0)); - YellowPen.CreatePen( PS_SOLID, 1, RGB(255,255,0)); - BluePen.CreatePen( PS_SOLID, 1, RGB(0,0,255)); - LTBluePen.CreatePen( PS_SOLID, 1, RGB(0,128,255)); - LTRedPen.CreatePen( PS_SOLID, 1, RGB(255,128,0)); - LTGreenPen.CreatePen( PS_SOLID, 1, RGB(0,128,0)); - WhitePen.CreatePen( PS_SOLID, 1, RGB(255,255,255)); - - if( n_PlotWidth == -1 && n_PlotHeight == -1 ) - { - ((CWnd*)GetDlgItem(IDC_STATIC_DRAW))->GetWindowRect(&plotRect); - ScreenToClient(&plotRect); - - n_PlotWidth = min( plotRect.Width(), 512); - n_PlotHeight = plotRect.Height() - 10; - } - - - // set the default SampleRate - SetDlgItemInt( IDC_EDIT_SAMPLE_RATE, (UINT)(m_fSampleRate/1000) ); - m_cbScanChans.SetCurSel( 0 ); - - max_range = 10.0; - min_range = -10.0; - - return TRUE; // return TRUE unless you set the focus to a control -} - -void C9113intDlg::OnSysCommand(UINT nID, LPARAM lParam) -{ - if ((nID & 0xFFF0) == IDM_ABOUTBOX) - { - CAboutDlg dlgAbout; - dlgAbout.DoModal(); - } - else - { - CDialog::OnSysCommand(nID, lParam); - } -} - -// If you add a minimize button to your dialog, you will need the code below -// to draw the icon. For MFC applications using the document/view model, -// this is automatically done for you by the framework. - -void C9113intDlg::OnPaint() -{ - if (IsIconic()) - { - CPaintDC dc(this); // device context for painting - - SendMessage(WM_ICONERASEBKGND, reinterpret_cast(dc.GetSafeHdc()), 0); - - // Center icon in client rectangle - int cxIcon = GetSystemMetrics(SM_CXICON); - int cyIcon = GetSystemMetrics(SM_CYICON); - CRect rect; - GetClientRect(&rect); - int x = (rect.Width() - cxIcon + 1) / 2; - int y = (rect.Height() - cyIcon + 1) / 2; - - // Draw the icon - dc.DrawIcon(x, y, m_hIcon); - } - else - { - redraw_display_area(); - CDialog::OnPaint(); - } -} - -// The system calls this function to obtain the cursor to display while the user drags -// the minimized window. -HCURSOR C9113intDlg::OnQueryDragIcon() -{ - return static_cast(m_hIcon); -} - - -void C9113intDlg::redraw_display_area(void) -{ - CPen *oldPen; - - int oldMode; - COLORREF oldColor; - - CString y_lable; - - CPen minor_tick( PS_SOLID,1,RGB(132,130,132) ); -// CPen y_grid( PS_SOLID,1,RGB(206,203,132) ); - - int i, x_intv, y_intv; -// long total_sec; - - CClientDC dc_plot(this); - - // draw the base-line for x-y axises - oldPen = (CPen *)dc_plot.SelectStockObject(BLACK_PEN); - - // redraw the background - dc_plot.FillSolidRect( plotRect, RGB(0,0,0) ); - - // Re-Draw the AREA for Y-Lable - { - CBrush DIALOG_BRUSH; - CRect redraw_area, full_client; - - GetClientRect(&full_client); - ScreenToClient(&full_client); - - redraw_area.left = full_client.left; - redraw_area.top = plotRect.top - 5; - redraw_area.right = plotRect.left - 3; - redraw_area.bottom = plotRect.bottom + 10; - - DIALOG_BRUSH.CreateSysColorBrush( COLOR_3DFACE ); - - dc_plot.FillRect( redraw_area, &DIALOG_BRUSH ); - - DIALOG_BRUSH.DeleteObject(); - } - - dc_plot.MoveTo( plotRect.left - 3, plotRect.top ); - dc_plot.LineTo( plotRect.left - 3, plotRect.bottom ); - - // calculate the interval for tick/grid - y_intv = (plotRect.Height() - 10) /y_divider; - x_intv = plotRect.Width()/x_divider; - - - // set the color for tick - oldColor = dc_plot.SetTextColor( RGB(0,0,0) ); - oldMode = dc_plot.SetBkMode( TRANSPARENT ); - - for( i=0; i<= y_divider; i++ ) - { - CString tick_str; - CRect tmp_rect, tick_rect; - - // draw the tick for y-axis - dc_plot.MoveTo( plotRect.left -12, plotRect.bottom -5 - (i*y_intv) ); - dc_plot.LineTo( plotRect.left -3, plotRect.bottom -5 - (i*y_intv) ); - - tick_str.Format( _T("%.1f"), ( ((max_range-min_range)/y_divider) * i)+min_range ); - - // calculate the rectangle for text - dc_plot.DrawText( tick_str, &tmp_rect, DT_CALCRECT|DT_SINGLELINE ); - tick_rect.right = plotRect.left -14; - tick_rect.left = tick_rect.right - tmp_rect.Width(); - tick_rect.top = plotRect.bottom -5 - (i*y_intv) - tmp_rect.Height()/2; - tick_rect.bottom = tick_rect.top + tmp_rect.Height(); - - // draw the text - dc_plot.DrawText( tick_str, &tick_rect, DT_SINGLELINE|DT_RIGHT ); - - } - - // draw the minor_tick for Y axises - dc_plot.SelectObject(&minor_tick); - for( i=0; i< y_divider; i++ ) - { - dc_plot.MoveTo( plotRect.left -9, plotRect.bottom -5 - (i*y_intv) - y_intv/2 ); - dc_plot.LineTo( plotRect.left -4, plotRect.bottom -5 - (i*y_intv) - y_intv/2 ); - } - - dc_plot.SetTextColor( oldColor ); - dc_plot.SetBkMode( oldMode ); - dc_plot.SelectObject( oldPen ); -} - -void C9113intDlg::OnDestroy() -{ - CDialog::OnDestroy(); - - // TODO: Add your message handler code here - if( m_nTimer != -1 ) - { - KillTimer( m_nTimer ); - m_nTimer = -1; - } - - if (m_hMem != NULL) - { - GlobalUnfix(m_hMem); - GlobalUnlock(m_hMem); - GlobalFree(m_hMem); - - m_hMem = NULL; - } - - if( OnBrush != NULL ) - ::DeleteObject( OnBrush ); - - if( OffBrush != NULL ) - ::DeleteObject( OffBrush ); - - RedPen.DeleteObject(); - GreenPen.DeleteObject(); - YellowPen.DeleteObject(); - BluePen.DeleteObject(); - LTBluePen.DeleteObject(); - LTRedPen.DeleteObject(); - LTGreenPen.DeleteObject(); - WhitePen.DeleteObject(); -} - -void C9113intDlg::OnVScroll(UINT nSBCode, UINT nPos, CScrollBar* pScrollBar) -{ - // TODO: Add your message handler code here and/or call default - switch ( nSBCode ) - { - case SB_LINEUP : - m_fSampleRate += 5000.0; - if (m_fSampleRate > 100000.0 ) m_fSampleRate = 100000.0; - break; - case SB_LINEDOWN: - m_fSampleRate -= 5000; - if (m_fSampleRate < 5000 ) m_fSampleRate = 5000; - break; - } - - SetDlgItemInt( IDC_EDIT_SAMPLE_RATE, (UINT)(m_fSampleRate/1000) ); - - CDialog::OnVScroll(nSBCode, nPos, pScrollBar); -} - -void C9113intDlg::OnScanChanSelchange() -{ - // TODO: Add your control notification handler code here - int nIndex; - - nIndex = m_cbScanChans.GetCurSel(); - m_wScanChans = (U16)nIndex; -} - -void C9113intDlg::OnStart() -{ - // TODO: Add your control notification handler code here - DWORD mem_size; - CString strTemp; - I16 err; - - GetDlgItem( IDC_BT_START )->EnableWindow(FALSE); - - if (m_hMem != NULL) - { - GlobalUnfix(m_hMem); - GlobalUnlock(m_hMem); - GlobalFree(m_hMem); - - m_hMem = NULL; - } - - // allocate a memory for user DMA buffer - mem_size = AI_SAMPLE_COUNT * sizeof(I32); - m_hMem = GlobalAlloc(GMEM_ZEROINIT, mem_size); - m_pAIBuf = (U32*) GlobalLock(m_hMem); - - if (m_pAIBuf == NULL ) - { - AfxMessageBox( TEXT("Memory allocation failed"), MB_OK); - } - - GlobalFix(m_hMem); - - m_oldY[0] = m_oldY[1] = m_oldY[2] = m_oldY[3] = m_oldY[4] = m_oldY[5] = m_oldY[6] = m_oldY[7] = -1; - m_oldX[0] = m_oldX[1] = m_oldX[2] = m_oldX[3] = m_oldX[4] = m_oldX[5] = m_oldX[6] = m_oldX[7] = -1; - - err=AI_9113_Config(m_hCard, TRIG_INT_PACER); - if (err!=0) - { - strTemp.Format( TEXT("AI_9113_Config error=%d"), err); - AfxMessageBox( strTemp ); - } - - err=AI_AsyncDblBufferMode(m_hCard, 0); // single-buffer mode - if (err!=0) - { - strTemp.Format( TEXT("AI_DblBufferMode error=%d"), err); - AfxMessageBox( strTemp ); - } - - err=AI_ContScanChannels (m_hCard, m_wScanChans, m_wRange, (U16*)m_pAIBuf, AI_SAMPLE_COUNT, (F64)m_fSampleRate, SYNCH_OP); - if (err!=0) - { - strTemp.Format( TEXT("AI_ContReadChannel error=%d"), err); - AfxMessageBox( strTemp ); - } - - display_buffer_data(m_pAIBuf); - - GetDlgItem( IDC_BT_START )->EnableWindow(TRUE); - -} - -int C9113intDlg::display_buffer_data(U32* pBuf) -{ - CClientDC dc_plot(this); - int nDraw_Origin_Y; - int cur_channel; - - int newY = -1; - int newX = -1; - U32 index; - I16 ai_data; - -// nDraw_Origin_Y = ( plotRect.bottom - 5 ) - n_PlotHeight/2; - nDraw_Origin_Y = ( plotRect.bottom - 5 ); - - // redraw the background - dc_plot.FillSolidRect( plotRect, RGB(0,0,0) ); - - for( index=0; index> 12 ) ); // (n_PlotHeight * ai_data / 4096 ) - - newX = (int)( index*n_PlotWidth/AI_SAMPLE_COUNT + plotRect.left ); - - switch(cur_channel) - { - case 0: - dc_plot.SelectObject(&YellowPen); - break; - case 1: - dc_plot.SelectObject(<GreenPen); - break; - case 2: - dc_plot.SelectObject(&BluePen); - break; - case 3: - dc_plot.SelectObject(&RedPen); - break; - case 4: - dc_plot.SelectObject(<BluePen); - break; - case 5: - dc_plot.SelectObject(<RedPen); - break; - case 6: - dc_plot.SelectObject(&GreenPen); - break; - case 7: - dc_plot.SelectObject(&WhitePen); - break; - } - - if ( m_oldX[cur_channel] == -1 ) - { - dc_plot.MoveTo( newX, newY ); - } - else - { - dc_plot.MoveTo( m_oldX[cur_channel], m_oldY[cur_channel] ); - dc_plot.LineTo( newX, newY ); - } - - m_oldX[cur_channel] = newX; - m_oldY[cur_channel] = newY; - } - - return 0; -} diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9113/SDK9113Int/9113intDlg.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9113/SDK9113Int/9113intDlg.h deleted file mode 100644 index f2d1d8b..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9113/SDK9113Int/9113intDlg.h +++ /dev/null @@ -1,70 +0,0 @@ - -// 9113intDlg.h : header file -#pragma once -#include "afxcmn.h" -#include "afxwin.h" - -#include "Dask64.h" - -// C9113intDlg dialog -class C9113intDlg : public CDialog -{ -// Construction -public: - C9113intDlg(I16 hCard, CWnd* pParent = NULL); // standard constructor - -// Dialog Data - enum { IDD = IDD_9113INT_DIALOG }; - - protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - - -// Implementation -protected: - HICON m_hIcon; - UINT_PTR m_nTimer; - I16 m_hCard; - double m_fSampleRate; - U16 m_wScanChans; - HANDLE m_hMem; - U32 *m_pAIBuf; - U16 m_wRange; - int m_oldY[8]; - int m_oldX[8]; - - // Generated message map functions - virtual BOOL OnInitDialog(); - afx_msg void OnSysCommand(UINT nID, LPARAM lParam); - afx_msg void OnPaint(); - afx_msg HCURSOR OnQueryDragIcon(); - DECLARE_MESSAGE_MAP() - -public: - WORD max_val; - WORD min_val; - double max_range; - double min_range; - int n_PlotWidth; - int n_PlotHeight; - int y_divider; - int x_divider; - int m_DisplayScale; - HBRUSH OnBrush; - HBRUSH OffBrush; - CPen RedPen; - CPen GreenPen; - CPen YellowPen; - CPen BluePen; - CPen LTBluePen; - CPen LTRedPen; - CPen LTGreenPen; - CPen WhitePen; - void redraw_display_area(void); - afx_msg void OnDestroy(); - CComboBox m_cbScanChans; - afx_msg void OnVScroll(UINT nSBCode, UINT nPos, CScrollBar* pScrollBar); - afx_msg void OnScanChanSelchange(); - afx_msg void OnStart(); - int display_buffer_data(U32* pBuf); -}; diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9113/SDK9113Int/CardIDDlg.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9113/SDK9113Int/CardIDDlg.cpp deleted file mode 100644 index 15033ab..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9113/SDK9113Int/CardIDDlg.cpp +++ /dev/null @@ -1,64 +0,0 @@ -// CardIDDlg.cpp : implementation file -// - -#include "stdafx.h" -#include "9113int.h" -#include "CardIDDlg.h" - -// CCardIDDlg dialog - -IMPLEMENT_DYNAMIC(CCardIDDlg, CDialog) - -CCardIDDlg::CCardIDDlg(int nCardIdx, CWnd* pParent /*=NULL*/) - : CDialog(CCardIDDlg::IDD, pParent) -{ - m_nCardIdx = nCardIdx; -} - -CCardIDDlg::~CCardIDDlg() -{ -} - -void CCardIDDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); - DDX_Control(pDX, IDC_COMBO_CARDID, m_cbCardID); -} - - -BEGIN_MESSAGE_MAP(CCardIDDlg, CDialog) -// ON_CBN_SELCHANGE(IDC_COMBO_CARDID, &CCardIDDlg::OnCbnSelchangeComboCardid) -ON_BN_CLICKED(IDOK, &CCardIDDlg::OnBnClickedOk) -//ON_WM_CTLCOLOR() -END_MESSAGE_MAP() - - -// CCardIDDlg message handlers - - -void CCardIDDlg::OnBnClickedOk() -{ - // TODO: Add your control notification handler code here - -// UpdateData(TRUE); - m_nCardIdx = m_cbCardID.GetCurSel(); - - OnOK(); -} - -BOOL CCardIDDlg::OnInitDialog() -{ - CDialog::OnInitDialog(); - - // TODO: Add extra initialization here - m_cbCardID.SetCurSel( m_nCardIdx ); - - return TRUE; // return TRUE unless you set the focus to a control - // EXCEPTION: OCX Property Pages should return FALSE -} - -// the function to get the selected CardID -int CCardIDDlg::GetCardID(void) -{ - return m_nCardIdx; -} diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9113/SDK9113Int/CardIDDlg.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9113/SDK9113Int/CardIDDlg.h deleted file mode 100644 index 2203a80..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9113/SDK9113Int/CardIDDlg.h +++ /dev/null @@ -1,33 +0,0 @@ -#pragma once -#include "afxwin.h" - -#include "Dask64.h" - -// CCardIDDlg dialog - -class CCardIDDlg : public CDialog -{ - DECLARE_DYNAMIC(CCardIDDlg) - -public: - CCardIDDlg(int nCardIdx, CWnd* pParent = NULL); // standard constructor - virtual ~CCardIDDlg(); - -// Dialog Data - enum { IDD = IDD_CARDID_DIALOG }; - -protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - - DECLARE_MESSAGE_MAP() -public: - virtual BOOL OnInitDialog(); - afx_msg void OnBnClickedOk(); - // the setting of CardID ComboBox - int m_nCardIdx; - U16 m_CardType; - // the control of CardID ComboBox - CComboBox m_cbCardID; - // the function to get the selected CardID - int GetCardID(void); -}; diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9113/SDK9113Int/ReadMe.txt b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9113/SDK9113Int/ReadMe.txt deleted file mode 100644 index 447a6bb..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9113/SDK9113Int/ReadMe.txt +++ /dev/null @@ -1,93 +0,0 @@ -================================================================================ - MICROSOFT FOUNDATION CLASS LIBRARY : 9113int Project Overview -=============================================================================== - -The application wizard has created this 9113int application for -you. This application not only demonstrates the basics of using the Microsoft -Foundation Classes but is also a starting point for writing your application. - -This file contains a summary of what you will find in each of the files that -make up your 9113int application. - -9113int.vcproj - This is the main project file for VC++ projects generated using an application wizard. - It contains information about the version of Visual C++ that generated the file, and - information about the platforms, configurations, and project features selected with the - application wizard. - -9113int.h - This is the main header file for the application. It includes other - project specific headers (including Resource.h) and declares the - C9113intApp application class. - -9113int.cpp - This is the main application source file that contains the application - class C9113intApp. - -9113int.rc - This is a listing of all of the Microsoft Windows resources that the - program uses. It includes the icons, bitmaps, and cursors that are stored - in the RES subdirectory. This file can be directly edited in Microsoft - Visual C++. Your project resources are in 1033. - -res\9113int.ico - This is an icon file, which is used as the application's icon. This - icon is included by the main resource file 9113int.rc. - -res\My9113int.rc2 - This file contains resources that are not edited by Microsoft - Visual C++. You should place all resources not editable by - the resource editor in this file. - - -///////////////////////////////////////////////////////////////////////////// - -The application wizard creates one dialog class: - -9113intDlg.h, 9113intDlg.cpp - the dialog - These files contain your C9113intDlg class. This class defines - the behavior of your application's main dialog. The dialog's template is - in 9113int.rc, which can be edited in Microsoft Visual C++. - - -///////////////////////////////////////////////////////////////////////////// - -Other Features: - -ActiveX Controls - The application includes support to use ActiveX controls. - -///////////////////////////////////////////////////////////////////////////// - -Other standard files: - -StdAfx.h, StdAfx.cpp - These files are used to build a precompiled header (PCH) file - named 9113int.pch and a precompiled types file named StdAfx.obj. - -Resource.h - This is the standard header file, which defines new resource IDs. - Microsoft Visual C++ reads and updates this file. - -9113int.manifest - Application manifest files are used by Windows XP to describe an applications - dependency on specific versions of Side-by-Side assemblies. The loader uses this - information to load the appropriate assembly from the assembly cache or private - from the application. The Application manifest maybe included for redistribution - as an external .manifest file that is installed in the same folder as the application - executable or it may be included in the executable in the form of a resource. -///////////////////////////////////////////////////////////////////////////// - -Other notes: - -The application wizard uses "TODO:" to indicate parts of the source code you -should add to or customize. - -If your application uses MFC in a shared DLL, you will need -to redistribute the MFC DLLs. If your application is in a language -other than the operating system's locale, you will also have to -redistribute the corresponding localized resources MFC90XXX.DLL. -For more information on both of these topics, please see the section on -redistributing Visual C++ applications in MSDN documentation. - -///////////////////////////////////////////////////////////////////////////// diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9113/SDK9113Int/res/9113int.ico b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9113/SDK9113Int/res/9113int.ico deleted file mode 100644 index d56fbcd..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9113/SDK9113Int/res/9113int.ico and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9113/SDK9113Int/res/My9113int.rc2 b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9113/SDK9113Int/res/My9113int.rc2 deleted file mode 100644 index 383cde2..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9113/SDK9113Int/res/My9113int.rc2 +++ /dev/null @@ -1,13 +0,0 @@ -// -// My9111int.RC2 - resources Microsoft Visual C++ does not edit directly -// - -#ifdef APSTUDIO_INVOKED -#error this file is not editable by Microsoft Visual C++ -#endif //APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// Add manually edited resources here... - -///////////////////////////////////////////////////////////////////////////// diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9113/SDK9113Int/res/ch_set1.bmp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9113/SDK9113Int/res/ch_set1.bmp deleted file mode 100644 index f2374ed..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9113/SDK9113Int/res/ch_set1.bmp and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9113/SDK9113Int/res/ch_set2.bmp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9113/SDK9113Int/res/ch_set2.bmp deleted file mode 100644 index 32d0915..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9113/SDK9113Int/res/ch_set2.bmp and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9113/SDK9113Int/resource.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9113/SDK9113Int/resource.h deleted file mode 100644 index 6671792..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9113/SDK9113Int/resource.h +++ /dev/null @@ -1,33 +0,0 @@ -//{{NO_DEPENDENCIES}} -// Microsoft Visual C++ generated include file. -// Used by 9113int.rc -// -#define IDM_ABOUTBOX 0x0010 -#define IDD_ABOUTBOX 100 -#define IDS_ABOUTBOX 101 -#define IDD_9113INT_DIALOG 102 -#define IDR_MAINFRAME 128 -#define IDD_CARDID_DIALOG 129 -#define IDB_BITMAP_SET1 131 -#define IDB_BITMAP_SET2 132 -#define IDC_STATIC_DRAW 1000 -#define IDC_COMBO_CARDID 1001 -#define IDC_COMBO_SCANCHAN 1001 -#define IDC_COMBO_CARDTYPE 1002 -#define IDC_BUTTON1 1002 -#define IDC_BT_START 1002 -#define IDC_EDIT_SAMPLE_RATE 1003 -#define IDC_SCROLLBAR_RATE 1006 -#define IDC_STATIC_01 1014 -#define IDC_STATIC_2 1015 - -// Next default values for new objects -// -#ifdef APSTUDIO_INVOKED -#ifndef APSTUDIO_READONLY_SYMBOLS -#define _APS_NEXT_RESOURCE_VALUE 134 -#define _APS_NEXT_COMMAND_VALUE 32771 -#define _APS_NEXT_CONTROL_VALUE 1003 -#define _APS_NEXT_SYMED_VALUE 101 -#endif -#endif diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9113/SDK9113Int/stdafx.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9113/SDK9113Int/stdafx.cpp deleted file mode 100644 index ef80626..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9113/SDK9113Int/stdafx.cpp +++ /dev/null @@ -1,8 +0,0 @@ - -// stdafx.cpp : source file that includes just the standard includes -// 9111int.pch will be the pre-compiled header -// stdafx.obj will contain the pre-compiled type information - -#include "stdafx.h" - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9113/SDK9113Int/stdafx.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9113/SDK9113Int/stdafx.h deleted file mode 100644 index 12123e2..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9113/SDK9113Int/stdafx.h +++ /dev/null @@ -1,60 +0,0 @@ - -// stdafx.h : include file for standard system include files, -// or project specific include files that are used frequently, -// but are changed infrequently - -#pragma once - -#ifndef _SECURE_ATL -#define _SECURE_ATL 1 -#endif - -#ifndef VC_EXTRALEAN -#define VC_EXTRALEAN // Exclude rarely-used stuff from Windows headers -#endif - -#include "targetver.h" - -#define _ATL_CSTRING_EXPLICIT_CONSTRUCTORS // some CString constructors will be explicit - -// turns off MFC's hiding of some common and often safely ignored warning messages -#define _AFX_ALL_WARNINGS - -#include // MFC core and standard components -#include // MFC extensions - - -#include // MFC Automation classes - - - -#ifndef _AFX_NO_OLE_SUPPORT -#include // MFC support for Internet Explorer 4 Common Controls -#endif -#ifndef _AFX_NO_AFXCMN_SUPPORT -#include // MFC support for Windows Common Controls -#endif // _AFX_NO_AFXCMN_SUPPORT - -#include // MFC support for ribbons and control bars - - - - - - - - - -#ifdef _UNICODE -#if defined _M_IX86 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='x86' publicKeyToken='6595b64144ccf1df' language='*'\"") -#elif defined _M_IA64 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='ia64' publicKeyToken='6595b64144ccf1df' language='*'\"") -#elif defined _M_X64 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='amd64' publicKeyToken='6595b64144ccf1df' language='*'\"") -#else -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='*' publicKeyToken='6595b64144ccf1df' language='*'\"") -#endif -#endif - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9113/SDK9113Int/targetver.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9113/SDK9113Int/targetver.h deleted file mode 100644 index 11730d5..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9113/SDK9113Int/targetver.h +++ /dev/null @@ -1,26 +0,0 @@ - -#pragma once - -// The following macros define the minimum required platform. The minimum required platform -// is the earliest version of Windows, Internet Explorer etc. that has the necessary features to run -// your application. The macros work by enabling all features available on platform versions up to and -// including the version specified. - -// Modify the following defines if you have to target a platform prior to the ones specified below. -// Refer to MSDN for the latest info on corresponding values for different platforms. -#ifndef WINVER // Specifies that the minimum required platform is Windows Vista. -#define WINVER 0x0600 // Change this to the appropriate value to target other versions of Windows. -#endif - -#ifndef _WIN32_WINNT // Specifies that the minimum required platform is Windows Vista. -#define _WIN32_WINNT 0x0600 // Change this to the appropriate value to target other versions of Windows. -#endif - -#ifndef _WIN32_WINDOWS // Specifies that the minimum required platform is Windows 98. -#define _WIN32_WINDOWS 0x0410 // Change this to the appropriate value to target Windows Me or later. -#endif - -#ifndef _WIN32_IE // Specifies that the minimum required platform is Internet Explorer 7.0. -#define _WIN32_IE 0x0700 // Change this to the appropriate value to target other versions of IE. -#endif - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9114/SDK9114/CardIDDlg.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9114/SDK9114/CardIDDlg.cpp deleted file mode 100644 index fc75859..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9114/SDK9114/CardIDDlg.cpp +++ /dev/null @@ -1,75 +0,0 @@ -// CardIDDlg.cpp : implementation file -// - -#include "stdafx.h" -#include "Util9114.h" -#include "CardIDDlg.h" - -// CCardIDDlg dialog - -IMPLEMENT_DYNAMIC(CCardIDDlg, CDialog) - -CCardIDDlg::CCardIDDlg(int nCardIdx, CWnd* pParent /*=NULL*/) - : CDialog(CCardIDDlg::IDD, pParent) -{ - m_nCardIdx = nCardIdx; -} - -CCardIDDlg::~CCardIDDlg() -{ -} - -void CCardIDDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); - DDX_Control(pDX, IDC_COMBO_CARDID, m_cbCardID); - DDX_Control(pDX, IDC_COMBO_CARDTYPE, m_cbCardType); -} - - -BEGIN_MESSAGE_MAP(CCardIDDlg, CDialog) -// ON_CBN_SELCHANGE(IDC_COMBO_CARDID, &CCardIDDlg::OnCbnSelchangeComboCardid) -ON_BN_CLICKED(IDOK, &CCardIDDlg::OnBnClickedOk) -//ON_WM_CTLCOLOR() -END_MESSAGE_MAP() - - -// CCardIDDlg message handlers - - -void CCardIDDlg::OnBnClickedOk() -{ - // TODO: Add your control notification handler code here - -// UpdateData(TRUE); - m_nCardIdx = m_cbCardID.GetCurSel(); - m_CardType = PCI_9114DG + m_cbCardType.GetCurSel(); - - OnOK(); -} - -BOOL CCardIDDlg::OnInitDialog() -{ - CDialog::OnInitDialog(); - - // TODO: Add extra initialization here - m_cbCardID.SetCurSel( m_nCardIdx ); - - m_cbCardType.SetCurSel( 0 ); - m_CardType = PCI_9114DG; - - return TRUE; // return TRUE unless you set the focus to a control - // EXCEPTION: OCX Property Pages should return FALSE -} - -// the function to get the selected CardID -int CCardIDDlg::GetCardID(void) -{ - return m_nCardIdx; -} - - -U16 CCardIDDlg::GetCardType(void) -{ - return m_CardType; -} \ No newline at end of file diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9114/SDK9114/CardIDDlg.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9114/SDK9114/CardIDDlg.h deleted file mode 100644 index 23399df..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9114/SDK9114/CardIDDlg.h +++ /dev/null @@ -1,35 +0,0 @@ -#pragma once -#include "afxwin.h" - -#include "Dask64.h" - -// CCardIDDlg dialog - -class CCardIDDlg : public CDialog -{ - DECLARE_DYNAMIC(CCardIDDlg) - -public: - CCardIDDlg(int nCardIdx, CWnd* pParent = NULL); // standard constructor - virtual ~CCardIDDlg(); - -// Dialog Data - enum { IDD = IDD_CARDID_DIALOG }; - -protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - - DECLARE_MESSAGE_MAP() -public: - virtual BOOL OnInitDialog(); - afx_msg void OnBnClickedOk(); - // the setting of CardID ComboBox - int m_nCardIdx; - U16 m_CardType; - // the control of CardID ComboBox - CComboBox m_cbCardID; - CComboBox m_cbCardType; - // the function to get the selected CardID - int GetCardID(void); - U16 GetCardType(void); -}; diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9114/SDK9114/ReadMe.txt b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9114/SDK9114/ReadMe.txt deleted file mode 100644 index c8ac5ce..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9114/SDK9114/ReadMe.txt +++ /dev/null @@ -1,93 +0,0 @@ -================================================================================ - MICROSOFT FOUNDATION CLASS LIBRARY : Util9114 Project Overview -=============================================================================== - -The application wizard has created this Util9114 application for -you. This application not only demonstrates the basics of using the Microsoft -Foundation Classes but is also a starting point for writing your application. - -This file contains a summary of what you will find in each of the files that -make up your Util9114 application. - -Util9114.vcproj - This is the main project file for VC++ projects generated using an application wizard. - It contains information about the version of Visual C++ that generated the file, and - information about the platforms, configurations, and project features selected with the - application wizard. - -Util9114.h - This is the main header file for the application. It includes other - project specific headers (including Resource.h) and declares the - CUtil9114App application class. - -Util9114.cpp - This is the main application source file that contains the application - class CUtil9114App. - -Util9114.rc - This is a listing of all of the Microsoft Windows resources that the - program uses. It includes the icons, bitmaps, and cursors that are stored - in the RES subdirectory. This file can be directly edited in Microsoft - Visual C++. Your project resources are in 1033. - -res\Util9114.ico - This is an icon file, which is used as the application's icon. This - icon is included by the main resource file Util9114.rc. - -res\Util9114.rc2 - This file contains resources that are not edited by Microsoft - Visual C++. You should place all resources not editable by - the resource editor in this file. - - -///////////////////////////////////////////////////////////////////////////// - -The application wizard creates one dialog class: - -Util9114Dlg.h, Util9114Dlg.cpp - the dialog - These files contain your CUtil9114Dlg class. This class defines - the behavior of your application's main dialog. The dialog's template is - in Util9114.rc, which can be edited in Microsoft Visual C++. - - -///////////////////////////////////////////////////////////////////////////// - -Other Features: - -ActiveX Controls - The application includes support to use ActiveX controls. - -///////////////////////////////////////////////////////////////////////////// - -Other standard files: - -StdAfx.h, StdAfx.cpp - These files are used to build a precompiled header (PCH) file - named Util9114.pch and a precompiled types file named StdAfx.obj. - -Resource.h - This is the standard header file, which defines new resource IDs. - Microsoft Visual C++ reads and updates this file. - -Util9114.manifest - Application manifest files are used by Windows XP to describe an applications - dependency on specific versions of Side-by-Side assemblies. The loader uses this - information to load the appropriate assembly from the assembly cache or private - from the application. The Application manifest maybe included for redistribution - as an external .manifest file that is installed in the same folder as the application - executable or it may be included in the executable in the form of a resource. -///////////////////////////////////////////////////////////////////////////// - -Other notes: - -The application wizard uses "TODO:" to indicate parts of the source code you -should add to or customize. - -If your application uses MFC in a shared DLL, you will need -to redistribute the MFC DLLs. If your application is in a language -other than the operating system's locale, you will also have to -redistribute the corresponding localized resources MFC90XXX.DLL. -For more information on both of these topics, please see the section on -redistributing Visual C++ applications in MSDN documentation. - -///////////////////////////////////////////////////////////////////////////// diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9114/SDK9114/Util9111.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9114/SDK9114/Util9111.suo deleted file mode 100644 index 6b7218e..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9114/SDK9114/Util9111.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9114/SDK9114/Util9114.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9114/SDK9114/Util9114.cpp deleted file mode 100644 index 96bcb0a..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9114/SDK9114/Util9114.cpp +++ /dev/null @@ -1,113 +0,0 @@ - -// Util9114.cpp : Defines the class behaviors for the application. -// - -#include "stdafx.h" -#include "Util9114.h" -#include "Util9114Dlg.h" -#include "CardIDDlg.h" - -#ifdef _DEBUG -#define new DEBUG_NEW -#endif - - -// CUtil9114App - -BEGIN_MESSAGE_MAP(CUtil9114App, CWinAppEx) - ON_COMMAND(ID_HELP, &CWinApp::OnHelp) -END_MESSAGE_MAP() - - -// CUtil9114App construction - -CUtil9114App::CUtil9114App() -{ - // TODO: add construction code here, - // Place all significant initialization in InitInstance -} - - -// The one and only CUtil9114App object - -CUtil9114App theApp; - - -// CUtil9114App initialization - -BOOL CUtil9114App::InitInstance() -{ - int nCardID = 0; - I16 hCard; - U16 wCardType; - CString strTemp; - INT_PTR nResponse; - - // InitCommonControlsEx() is required on Windows XP if an application - // manifest specifies use of ComCtl32.dll version 6 or later to enable - // visual styles. Otherwise, any window creation will fail. - INITCOMMONCONTROLSEX InitCtrls; - InitCtrls.dwSize = sizeof(InitCtrls); - // Set this to include all the common control classes you want to use - // in your application. - InitCtrls.dwICC = ICC_WIN95_CLASSES; - InitCommonControlsEx(&InitCtrls); - - CWinAppEx::InitInstance(); - - AfxEnableControlContainer(); - - // Standard initialization - // If you are not using these features and wish to reduce the size - // of your final executable, you should remove from the following - // the specific initialization routines you do not need - // Change the registry key under which our settings are stored - // TODO: You should modify this string to be something appropriate - // such as the name of your company or organization - SetRegistryKey(_T("Local AppWizard-Generated Applications")); - - CCardIDDlg CardDlg( nCardID ); - - nResponse = CardDlg.DoModal(); - if (nResponse == IDOK) - { - nCardID = CardDlg.GetCardID(); - wCardType = CardDlg.GetCardType(); - - if ((hCard=Register_Card(wCardType, nCardID)) < 0) - { - strTemp.Format( TEXT("Register_Card Error = %d"), hCard); - AfxMessageBox( strTemp ); - } - else - { - CUtil9114Dlg dlg(hCard, wCardType); - m_pMainWnd = &dlg; - nResponse = dlg.DoModal(); - if (nResponse == IDOK) - { - // TODO: Place code here to handle when the dialog is - // dismissed with OK - } - else if (nResponse == IDCANCEL) - { - // TODO: Place code here to handle when the dialog is - // dismissed with Cancel - } - - if (hCard >= 0) Release_Card(hCard); - } - - } - else if (nResponse == IDCANCEL) - { - // TODO: Place code here to handle when the dialog is - // dismissed with Cancel - } - - - - // Since the dialog has been closed, return FALSE so that we exit the - // application, rather than start the application's message pump. - return FALSE; -} diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9114/SDK9114/Util9114.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9114/SDK9114/Util9114.h deleted file mode 100644 index 4f84ae0..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9114/SDK9114/Util9114.h +++ /dev/null @@ -1,32 +0,0 @@ - -// Util9114.h : main header file for the PROJECT_NAME application -// - -#pragma once - -#ifndef __AFXWIN_H__ - #error "include 'stdafx.h' before including this file for PCH" -#endif - -#include "resource.h" // main symbols - - -// CUtil9114App: -// See Util9114.cpp for the implementation of this class -// - -class CUtil9114App : public CWinAppEx -{ -public: - CUtil9114App(); - -// Overrides - public: - virtual BOOL InitInstance(); - -// Implementation - - DECLARE_MESSAGE_MAP() -}; - -extern CUtil9114App theApp; \ No newline at end of file diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9114/SDK9114/Util9114.rc b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9114/SDK9114/Util9114.rc deleted file mode 100644 index f692431..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9114/SDK9114/Util9114.rc +++ /dev/null @@ -1,352 +0,0 @@ -// Microsoft Visual C++ generated resource script. -// -#include "resource.h" - -#define APSTUDIO_READONLY_SYMBOLS -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 2 resource. -// -#ifndef APSTUDIO_INVOKED -#include "targetver.h" -#endif -#include "afxres.h" - -///////////////////////////////////////////////////////////////////////////// -#undef APSTUDIO_READONLY_SYMBOLS - -///////////////////////////////////////////////////////////////////////////// -// Chinese (Taiwan) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_CHT) -#ifdef _WIN32 -LANGUAGE LANG_CHINESE, SUBLANG_CHINESE_TRADITIONAL -#pragma code_page(950) -#endif //_WIN32 - -#ifdef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// TEXTINCLUDE -// - -1 TEXTINCLUDE -BEGIN - "resource.h\0" -END - -2 TEXTINCLUDE -BEGIN - "#ifndef APSTUDIO_INVOKED\r\n" - "#include ""targetver.h""\r\n" - "#endif\r\n" - "#include ""afxres.h""\r\n" - "\0" -END - -3 TEXTINCLUDE -BEGIN - "#define _AFX_NO_SPLITTER_RESOURCES\r\n" - "#define _AFX_NO_OLE_RESOURCES\r\n" - "#define _AFX_NO_TRACKER_RESOURCES\r\n" - "#define _AFX_NO_PROPERTY_RESOURCES\r\n" - "\r\n" - "#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)\r\n" - "LANGUAGE 9, 1\r\n" - "#pragma code_page(1252)\r\n" - "#include ""res\\Util9114.rc2"" // non-Microsoft Visual C++ edited resources\r\n" - "#include ""afxres.rc"" // Standard components\r\n" - "#endif\r\n" - "\0" -END - -#endif // APSTUDIO_INVOKED - -#endif // Chinese (Taiwan) resources -///////////////////////////////////////////////////////////////////////////// - - -///////////////////////////////////////////////////////////////////////////// -// English (U.S.) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -#ifdef _WIN32 -LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US -#pragma code_page(1252) -#endif //_WIN32 - -///////////////////////////////////////////////////////////////////////////// -// -// Icon -// - -// Icon with lowest ID value placed first to ensure application icon -// remains consistent on all systems. -IDR_MAINFRAME ICON "res\\Util9114.ico" -IDI_ICON_BLACK ICON "res\\black.ico" -IDI_ICON_RED ICON "res\\red.ico" - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog -// - -IDD_ABOUTBOX DIALOGEX 0, 0, 170, 62 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "About Util9114" -FONT 8, "MS Shell Dlg", 0, 0, 0x1 -BEGIN - ICON IDR_MAINFRAME,IDC_STATIC,14,14,21,20 - LTEXT "Util9114, Version 1.0",IDC_STATIC,42,14,114,8,SS_NOPREFIX - LTEXT "Copyright (C) 2010",IDC_STATIC,42,26,114,8 - DEFPUSHBUTTON "OK",IDOK,113,41,50,14,WS_GROUP -END - -IDD_UTIL9114_DIALOG DIALOGEX 0, 0, 345, 225 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU -EXSTYLE WS_EX_APPWINDOW -CAPTION "PCI-9114" -FONT 8, "MS Shell Dlg", 0, 0, 0x1 -BEGIN - ICON IDI_ICON_BLACK,IDC_ICON_DI00,306,174,21,20 - ICON IDI_ICON_BLACK,IDC_ICON_DI01,288,174,21,20 - ICON IDI_ICON_BLACK,IDC_ICON_DI02,270,174,21,20 - ICON IDI_ICON_BLACK,IDC_ICON_DI03,252,174,21,20 - ICON IDI_ICON_BLACK,IDC_ICON_DI04,234,174,21,20 - ICON IDI_ICON_BLACK,IDC_ICON_DI05,216,174,21,20 - ICON IDI_ICON_BLACK,IDC_ICON_DI06,198,174,21,20 - ICON IDI_ICON_BLACK,IDC_ICON_DI07,180,174,21,20 - ICON IDI_ICON_BLACK,IDC_ICON_DI08,162,174,21,20 - ICON IDI_ICON_BLACK,IDC_ICON_DI09,144,174,21,20 - ICON IDI_ICON_BLACK,IDC_ICON_DI10,126,174,21,20 - ICON IDI_ICON_BLACK,IDC_ICON_DI11,108,174,21,20 - ICON IDI_ICON_BLACK,IDC_ICON_DI12,90,174,21,20 - ICON IDI_ICON_BLACK,IDC_ICON_DI13,72,174,21,20 - ICON IDI_ICON_BLACK,IDC_ICON_DI14,54,174,21,20 - ICON IDI_ICON_BLACK,IDC_ICON_DI15,36,174,21,20 - CONTROL "",IDC_CHECK_DO00,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE | WS_TABSTOP,312,194,12,12 - CONTROL "",IDC_CHECK_DO01,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE | WS_TABSTOP,294,194,12,12 - CONTROL "",IDC_CHECK_DO02,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE | WS_TABSTOP,276,194,12,12 - CONTROL "",IDC_CHECK_DO03,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE | WS_TABSTOP,258,194,12,12 - CONTROL "",IDC_CHECK_DO04,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE | WS_TABSTOP,240,194,12,12 - CONTROL "",IDC_CHECK_DO05,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE | WS_TABSTOP,222,194,12,12 - CONTROL "",IDC_CHECK_DO06,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE | WS_TABSTOP,204,194,12,12 - CONTROL "",IDC_CHECK_DO07,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE | WS_TABSTOP,186,194,12,12 - CONTROL "",IDC_CHECK_DO08,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE | WS_TABSTOP,168,194,12,12 - CONTROL "",IDC_CHECK_DO09,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE | WS_TABSTOP,150,194,12,12 - CONTROL "",IDC_CHECK_DO10,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE | WS_TABSTOP,132,194,12,12 - CONTROL "",IDC_CHECK_DO11,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE | WS_TABSTOP,114,194,12,12 - CONTROL "",IDC_CHECK_DO12,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE | WS_TABSTOP,96,194,12,12 - CONTROL "",IDC_CHECK_DO13,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE | WS_TABSTOP,78,194,12,12 - CONTROL "",IDC_CHECK_DO14,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE | WS_TABSTOP,60,194,12,12 - CONTROL "",IDC_CHECK_DO15,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE | WS_TABSTOP,42,194,12,12 - LTEXT " 15 0",IDC_STATIC,36,209,289,13 - GROUPBOX "",IDC_STATIC_DRAW0,45,9,213,75,NOT WS_VISIBLE - GROUPBOX "",IDC_STATIC_DRAW1,45,90,213,75,NOT WS_VISIBLE - CONTROL 132,IDC_STATIC,"Static",SS_BITMAP,289,20,9,44 - CONTROL "0",IDC_RADIO_CH0,"Button",BS_AUTOCHECKBOX | BS_LEFTTEXT | BS_PUSHLIKE,268,21,17,10 - CONTROL "1",IDC_RADIO_CH1,"Button",BS_AUTOCHECKBOX | BS_LEFTTEXT | BS_PUSHLIKE,268,32,17,10 - CONTROL "2",IDC_RADIO_CH2,"Button",BS_AUTOCHECKBOX | BS_LEFTTEXT | BS_PUSHLIKE,268,43,17,10 - CONTROL "3",IDC_RADIO_CH3,"Button",BS_AUTOCHECKBOX | BS_LEFTTEXT | BS_PUSHLIKE,268,54,17,10 - CONTROL "4",IDC_RADIO_CH4,"Button",BS_AUTOCHECKBOX | BS_LEFTTEXT | BS_PUSHLIKE,303,21,17,10 - CONTROL "5",IDC_RADIO_CH5,"Button",BS_AUTOCHECKBOX | BS_LEFTTEXT | BS_PUSHLIKE,303,32,17,10 - CONTROL "6",IDC_RADIO_CH6,"Button",BS_AUTOCHECKBOX | BS_LEFTTEXT | BS_PUSHLIKE,303,43,17,10 - CONTROL "7",IDC_RADIO_CH7,"Button",BS_AUTOCHECKBOX | BS_LEFTTEXT | BS_PUSHLIKE,303,54,17,10 - CONTROL 132,IDC_STATIC,"Static",SS_BITMAP,288,111,9,44 - CONTROL 133,IDC_STATIC,"Static",SS_BITMAP,321,111,11,45 - CONTROL "8",IDC_RADIO_CH8,"Button",BS_AUTOCHECKBOX | BS_LEFTTEXT | BS_PUSHLIKE,266,112,17,10 - CONTROL "9",IDC_RADIO_CH9,"Button",BS_AUTOCHECKBOX | BS_LEFTTEXT | BS_PUSHLIKE,266,123,17,10 - CONTROL "10",IDC_RADIO_CH10,"Button",BS_AUTOCHECKBOX | BS_LEFTTEXT | BS_PUSHLIKE,266,134,17,10 - CONTROL "11",IDC_RADIO_CH11,"Button",BS_AUTOCHECKBOX | BS_LEFTTEXT | BS_PUSHLIKE,266,146,17,10 - CONTROL "12",IDC_RADIO_CH12,"Button",BS_AUTOCHECKBOX | BS_LEFTTEXT | BS_PUSHLIKE,302,112,17,10 - CONTROL "13",IDC_RADIO_CH13,"Button",BS_AUTOCHECKBOX | BS_LEFTTEXT | BS_PUSHLIKE,302,123,17,10 - CONTROL "14",IDC_RADIO_CH14,"Button",BS_AUTOCHECKBOX | BS_LEFTTEXT | BS_PUSHLIKE,302,134,17,10 - CONTROL "15",IDC_RADIO_CH15,"Button",BS_AUTOCHECKBOX | BS_LEFTTEXT | BS_PUSHLIKE,302,146,17,10 - CONTROL 133,IDC_STATIC,"Static",SS_BITMAP,322,20,11,45 - COMBOBOX IDC_COMBO_AI_RANGE,266,89,67,13,CBS_DROPDOWN | WS_VSCROLL | WS_TABSTOP - LTEXT "Input Range",IDC_STATIC,265,75,45,12 -END - -IDD_CARDID_DIALOG DIALOGEX 0, 0, 165, 122 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "Card ID" -FONT 8, "MS Shell Dlg", 400, 0, 0x1 -BEGIN - COMBOBOX IDC_COMBO_CARDID,75,24,71,126,CBS_DROPDOWN | WS_VSCROLL | WS_TABSTOP - LTEXT "Card Number",IDC_STATIC_01,21,25,46,12 - PUSHBUTTON "OK",IDOK,22,72,58,19 - PUSHBUTTON "CANCEL",IDCANCEL,86,72,58,19 - COMBOBOX IDC_COMBO_CARDTYPE,75,46,71,126,CBS_DROPDOWN | WS_VSCROLL | WS_TABSTOP - LTEXT "Card Type",IDC_STATIC_2,29,47,37,12 -END - - -///////////////////////////////////////////////////////////////////////////// -// -// Version -// - -VS_VERSION_INFO VERSIONINFO - FILEVERSION 1,0,0,1 - PRODUCTVERSION 1,0,0,1 - FILEFLAGSMASK 0x3fL -#ifdef _DEBUG - FILEFLAGS 0x1L -#else - FILEFLAGS 0x0L -#endif - FILEOS 0x4L - FILETYPE 0x1L - FILESUBTYPE 0x0L -BEGIN - BLOCK "StringFileInfo" - BEGIN - BLOCK "040904e4" - BEGIN - VALUE "CompanyName", "TODO: " - VALUE "FileDescription", "TODO: " - VALUE "FileVersion", "1.0.0.1" - VALUE "InternalName", "Util9114.exe" - VALUE "LegalCopyright", "TODO: (c) . All rights reserved." - VALUE "OriginalFilename", "Util9114.exe" - VALUE "ProductName", "TODO: " - VALUE "ProductVersion", "1.0.0.1" - END - END - BLOCK "VarFileInfo" - BEGIN - VALUE "Translation", 0x409, 1252 - END -END - - -///////////////////////////////////////////////////////////////////////////// -// -// DESIGNINFO -// - -#ifdef APSTUDIO_INVOKED -GUIDELINES DESIGNINFO -BEGIN - IDD_ABOUTBOX, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 163 - TOPMARGIN, 7 - BOTTOMMARGIN, 55 - END - - IDD_CARDID_DIALOG, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 158 - TOPMARGIN, 6 - BOTTOMMARGIN, 115 - END -END -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// Bitmap -// - -IDB_BITMAP_SET1 BITMAP "res\\ch_set1.bmp" -IDB_BITMAP_SET2 BITMAP "res\\ch_set2.bmp" - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog Info -// - -IDD_UTIL9114_DIALOG DLGINIT -BEGIN - IDC_COMBO1, 0x403, 8, 0 -0x2f2b, 0x202d, 0x3031, 0x0056, - IDC_COMBO1, 0x403, 7, 0 -0x2f2b, 0x202d, 0x5635, "\000" - IDC_COMBO1, 0x403, 8, 0 -0x2f2b, 0x322d, 0x352e, 0x0056, - IDC_COMBO1, 0x403, 10, 0 -0x2f2b, 0x202d, 0x2e31, 0x3532, 0x0056, - 0 -END - -IDD_CARDID_DIALOG DLGINIT -BEGIN - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0030, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0031, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0032, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0033, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0034, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0035, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0036, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0037, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0038, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0039, - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3031, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3131, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3231, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3331, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3431, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3531, "\000" - IDC_COMBO_CARDTYPE, 0x403, 11, 0 -0x4350, 0x5f49, 0x3139, 0x3431, 0x4744, "\000" - IDC_COMBO_CARDTYPE, 0x403, 11, 0 -0x4350, 0x5f49, 0x3139, 0x3431, 0x5248, "\000" - 0 -END - - -///////////////////////////////////////////////////////////////////////////// -// -// String Table -// - -STRINGTABLE -BEGIN - IDS_ABOUTBOX "&About Util9114..." -END - -#endif // English (U.S.) resources -///////////////////////////////////////////////////////////////////////////// - - - -#ifndef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 3 resource. -// -#define _AFX_NO_SPLITTER_RESOURCES -#define _AFX_NO_OLE_RESOURCES -#define _AFX_NO_TRACKER_RESOURCES -#define _AFX_NO_PROPERTY_RESOURCES - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -LANGUAGE 9, 1 -#pragma code_page(1252) -#include "res\Util9114.rc2" // non-Microsoft Visual C++ edited resources -#include "afxres.rc" // Standard components -#endif - -///////////////////////////////////////////////////////////////////////////// -#endif // not APSTUDIO_INVOKED - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9114/SDK9114/Util9114.sln b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9114/SDK9114/Util9114.sln deleted file mode 100644 index 28eeff1..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9114/SDK9114/Util9114.sln +++ /dev/null @@ -1,20 +0,0 @@ - -Microsoft Visual Studio Solution File, Format Version 10.00 -# Visual Studio 2008 -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "Util9114", "Util9114.vcproj", "{EA91AA3F-533F-4BE6-8BD6-78C091590751}" -EndProject -Global - GlobalSection(SolutionConfigurationPlatforms) = preSolution - Debug|x64 = Debug|x64 - Release|x64 = Release|x64 - EndGlobalSection - GlobalSection(ProjectConfigurationPlatforms) = postSolution - {EA91AA3F-533F-4BE6-8BD6-78C091590751}.Debug|x64.ActiveCfg = Debug|x64 - {EA91AA3F-533F-4BE6-8BD6-78C091590751}.Debug|x64.Build.0 = Debug|x64 - {EA91AA3F-533F-4BE6-8BD6-78C091590751}.Release|x64.ActiveCfg = Release|x64 - {EA91AA3F-533F-4BE6-8BD6-78C091590751}.Release|x64.Build.0 = Release|x64 - EndGlobalSection - GlobalSection(SolutionProperties) = preSolution - HideSolutionNode = FALSE - EndGlobalSection -EndGlobal diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9114/SDK9114/Util9114.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9114/SDK9114/Util9114.suo deleted file mode 100644 index a0f2efe..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9114/SDK9114/Util9114.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9114/SDK9114/Util9114.vcproj b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9114/SDK9114/Util9114.vcproj deleted file mode 100644 index 1e49319..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9114/SDK9114/Util9114.vcproj +++ /dev/null @@ -1,306 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9114/SDK9114/Util9114Dlg.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9114/SDK9114/Util9114Dlg.cpp deleted file mode 100644 index dd348d4..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9114/SDK9114/Util9114Dlg.cpp +++ /dev/null @@ -1,1386 +0,0 @@ - -// Util9114Dlg.cpp : implementation file -// - -#include "stdafx.h" -#include "Util9114.h" -#include "Util9114Dlg.h" - -#ifdef _DEBUG -#define new DEBUG_NEW -#endif - -CRect plotRect0, plotRect1; - - -// CAboutDlg dialog used for App About - -class CAboutDlg : public CDialog -{ -public: - CAboutDlg(); - -// Dialog Data - enum { IDD = IDD_ABOUTBOX }; - - protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - -// Implementation -protected: - DECLARE_MESSAGE_MAP() -}; - -CAboutDlg::CAboutDlg() : CDialog(CAboutDlg::IDD) -{ -} - -void CAboutDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); -} - -BEGIN_MESSAGE_MAP(CAboutDlg, CDialog) -END_MESSAGE_MAP() - - -// CUtil9114Dlg dialog - - - - -CUtil9114Dlg::CUtil9114Dlg(I16 hCard, U16 wCardType, CWnd* pParent /*=NULL*/) - : CDialog(CUtil9114Dlg::IDD, pParent) -{ - m_hIcon = AfxGetApp()->LoadIcon(IDR_MAINFRAME); - - m_hCard = hCard; - m_wCardType = wCardType; - - n_PlotWidth = n_PlotHeight = -1; - OnBrush = OffBrush = NULL; - - min_val = 0x00; - max_val = 0xFFFF; - - for( int i=0; iAppendMenu(MF_SEPARATOR); - pSysMenu->AppendMenu(MF_STRING, IDM_ABOUTBOX, strAboutMenu); - } - } - - // Set the icon for this dialog. The framework does this automatically - // when the application's main window is not a dialog - SetIcon(m_hIcon, TRUE); // Set big icon - SetIcon(m_hIcon, FALSE); // Set small icon - - x_divider = 5; y_divider = 2; - - OnBrush = CreateSolidBrush( RGB(255,0,0) ); - OffBrush = CreateSolidBrush( RGB(125,0,0) ); - - RedPen.CreatePen( PS_SOLID, 1, RGB(255,0,0)); - GreenPen.CreatePen( PS_SOLID, 1, RGB(0,255,0)); - YellowPen.CreatePen( PS_SOLID, 1, RGB(255,255,0)); - BluePen.CreatePen( PS_SOLID, 1, RGB(0,0,255)); - LTBluePen.CreatePen( PS_SOLID, 1, RGB(0,128,255)); - LTRedPen.CreatePen( PS_SOLID, 1, RGB(255,128,0)); - LTGreenPen.CreatePen( PS_SOLID, 1, RGB(0,128,0)); - WhitePen.CreatePen( PS_SOLID, 1, RGB(255,255,255)); - - if( n_PlotWidth == -1 && n_PlotHeight == -1 ) - { - ((CWnd*)GetDlgItem(IDC_STATIC_DRAW0))->GetWindowRect(&plotRect0); - ScreenToClient(&plotRect0); - - n_PlotWidth = min( plotRect0.Width(), 512); - n_PlotHeight = plotRect0.Height(); - - ((CWnd*)GetDlgItem(IDC_STATIC_DRAW1))->GetWindowRect(&plotRect1); - ScreenToClient(&plotRect1); - } - - - m_cbAIRange.SetCurSel( 1 ); - max_range = 5.0; - min_range = -5.0; - m_wAdRange = AD_B_5_V; - - m_nTimer = SetTimer( 1, 50, NULL ); - - return TRUE; // return TRUE unless you set the focus to a control -} - -void CUtil9114Dlg::OnSysCommand(UINT nID, LPARAM lParam) -{ - if ((nID & 0xFFF0) == IDM_ABOUTBOX) - { - CAboutDlg dlgAbout; - dlgAbout.DoModal(); - } - else - { - CDialog::OnSysCommand(nID, lParam); - } -} - -// If you add a minimize button to your dialog, you will need the code below -// to draw the icon. For MFC applications using the document/view model, -// this is automatically done for you by the framework. - -void CUtil9114Dlg::OnPaint() -{ - if (IsIconic()) - { - CPaintDC dc(this); // device context for painting - - SendMessage(WM_ICONERASEBKGND, reinterpret_cast(dc.GetSafeHdc()), 0); - - // Center icon in client rectangle - int cxIcon = GetSystemMetrics(SM_CXICON); - int cyIcon = GetSystemMetrics(SM_CYICON); - CRect rect; - GetClientRect(&rect); - int x = (rect.Width() - cxIcon + 1) / 2; - int y = (rect.Height() - cyIcon + 1) / 2; - - // Draw the icon - dc.DrawIcon(x, y, m_hIcon); - } - else - { - redraw_display_area(); - CDialog::OnPaint(); - } -} - -// The system calls this function to obtain the cursor to display while the user drags -// the minimized window. -HCURSOR CUtil9114Dlg::OnQueryDragIcon() -{ - return static_cast(m_hIcon); -} - - -void CUtil9114Dlg::OnDestroy() -{ - CDialog::OnDestroy(); - - // TODO: Add your message handler code here - - if( m_nTimer != -1 ) - { - KillTimer( m_nTimer ); - m_nTimer = -1; - } - - if( OnBrush != NULL ) - ::DeleteObject( OnBrush ); - - if( OffBrush != NULL ) - ::DeleteObject( OffBrush ); - - RedPen.DeleteObject(); - GreenPen.DeleteObject(); - YellowPen.DeleteObject(); - BluePen.DeleteObject(); - LTBluePen.DeleteObject(); - LTRedPen.DeleteObject(); - LTGreenPen.DeleteObject(); - WhitePen.DeleteObject(); -} - -void CUtil9114Dlg::OnAIRangeSelchange() -{ - // TODO: Add your control notification handler code here - U16 tmpAdRange; - int nIndex; - double maxRange, minRange; - - nIndex = m_cbAIRange.GetCurSel(); - switch( nIndex ) - { - case 0: - tmpAdRange = AD_B_10_V; - maxRange = 10.0; - minRange = -10.0; - break; - case 1: - tmpAdRange = AD_B_5_V; - maxRange = 5.0; - minRange = -5.0; - break; - case 2: - tmpAdRange = AD_B_2_5_V; - maxRange = 2.5; - minRange = -2.5; - break; - case 3: - tmpAdRange = AD_B_1_25_V; - maxRange = 1.25; - minRange = -1.25; - break; - case 4: - tmpAdRange = AD_B_0_625_V; - maxRange = 0.625; - minRange = -0.625; - break; - } - - - if( tmpAdRange != m_wAdRange ) - { // update m_InPortA and configure the target Port - m_wAdRange = tmpAdRange; - - max_range = maxRange; - min_range = minRange; - - redraw_display_area(); - - } - -} - -void CUtil9114Dlg::OnTimer(UINT_PTR nIDEvent) -{ - // TODO: Add your message handler code here and/or call default - U32 dwPortData,dwChangeMask; - I16 err; - - err = DI_ReadPort(m_hCard, 0, &dwPortData); - dwChangeMask = dwPortData ^ m_InData; - - if( dwChangeMask != 0x00 ) // Input had been changed - { - - m_InData = dwPortData; - - if( (dwChangeMask & 0x0001) == 0x0001 ) // if the target bit is changed - { - if( (dwPortData & 0x0001) == 0x0001 ) - { - m_Icon_IN00.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_IN00.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - - if( (dwChangeMask & 0x0002) == 0x0002 ) // if the target bit is changed - { - if( (dwPortData & 0x0002) == 0x0002 ) - { - m_Icon_IN01.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_IN01.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - if( (dwChangeMask & 0x0004) == 0x0004 ) // if the target bit is changed - { - if( (dwPortData & 0x0004) == 0x0004 ) - { - m_Icon_IN02.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_IN02.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - if( (dwChangeMask & 0x0008) == 0x0008 ) // if the target bit is changed - { - if( (dwPortData & 0x0008) == 0x0008 ) - { - m_Icon_IN03.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_IN03.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - if( (dwChangeMask & 0x0010) == 0x0010 ) // if the target bit is changed - { - if( (dwPortData & 0x0010) == 0x0010 ) - { - m_Icon_IN04.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_IN04.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - if( (dwChangeMask & 0x0020) == 0x0020 ) // if the target bit is changed - { - if( (dwPortData & 0x0020) == 0x0020 ) - { - m_Icon_IN05.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_IN05.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - if( (dwChangeMask & 0x0040) == 0x0040 ) // if the target bit is changed - { - if( (dwPortData & 0x0040) == 0x0040 ) - { - m_Icon_IN06.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_IN06.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - if( (dwChangeMask & 0x0080) == 0x0080 ) // if the target bit is changed - { - if( (dwPortData & 0x0080) == 0x0080 ) - { - m_Icon_IN07.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_IN07.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - if( (dwChangeMask & 0x0100) == 0x0100 ) // if the target bit is changed - { - if( (dwPortData & 0x0100) == 0x0100 ) - { - m_Icon_IN08.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_IN08.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - - if( (dwChangeMask & 0x0200) == 0x0200 ) // if the target bit is changed - { - if( (dwPortData & 0x0200) == 0x0200 ) - { - m_Icon_IN09.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_IN09.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - if( (dwChangeMask & 0x0400) == 0x0400 ) // if the target bit is changed - { - if( (dwPortData & 0x0400) == 0x0400 ) - { - m_Icon_IN10.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_IN10.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - if( (dwChangeMask & 0x0800) == 0x0800 ) // if the target bit is changed - { - if( (dwPortData & 0x0800) == 0x0800 ) - { - m_Icon_IN11.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_IN11.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - if( (dwChangeMask & 0x1000) == 0x1000 ) // if the target bit is changed - { - if( (dwPortData & 0x1000) == 0x1000 ) - { - m_Icon_IN12.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_IN12.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - if( (dwChangeMask & 0x2000) == 0x2000 ) // if the target bit is changed - { - if( (dwPortData & 0x2000) == 0x2000 ) - { - m_Icon_IN13.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_IN13.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - if( (dwChangeMask & 0x4000) == 0x4000 ) // if the target bit is changed - { - if( (dwPortData & 0x4000) == 0x4000 ) - { - m_Icon_IN14.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_IN14.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - if( (dwChangeMask & 0x8000) == 0x8000 ) // if the target bit is changed - { - if( (dwPortData & 0x8000) == 0x8000 ) - { - m_Icon_IN15.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_IN15.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - } - - for( int i=0; iGetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_AIEnable[0] = 0x01; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_AIEnable[0] = 0x00; - } -} - -void CUtil9114Dlg::OnAI01Enable() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_RADIO_CH1 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_AIEnable[1] = 0x01; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_AIEnable[1] = 0x00; - } -} - -void CUtil9114Dlg::OnAI02Enable() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_RADIO_CH2 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_AIEnable[2] = 0x01; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_AIEnable[2] = 0x00; - } -} - -void CUtil9114Dlg::OnAI03Enable() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_RADIO_CH3 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_AIEnable[3] = 0x01; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_AIEnable[3] = 0x00; - } -} - -void CUtil9114Dlg::OnAI04Enable() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_RADIO_CH4 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_AIEnable[4] = 0x01; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_AIEnable[4] = 0x00; - } -} - -void CUtil9114Dlg::OnAI05Enable() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_RADIO_CH5 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_AIEnable[5] = 0x01; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_AIEnable[5] = 0x00; - } -} - -void CUtil9114Dlg::OnAI06Enable() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_RADIO_CH6 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_AIEnable[6] = 0x01; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_AIEnable[6] = 0x00; - } -} - -void CUtil9114Dlg::OnAI07Enable() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_RADIO_CH7 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_AIEnable[7] = 0x01; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_AIEnable[7] = 0x00; - } -} - -void CUtil9114Dlg::OnAI08Enable() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_RADIO_CH8 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_AIEnable[8] = 0x01; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_AIEnable[8] = 0x00; - } -} - -void CUtil9114Dlg::OnAI09Enable() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_RADIO_CH9 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_AIEnable[9] = 0x01; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_AIEnable[9] = 0x00; - } -} - -void CUtil9114Dlg::OnAI10Enable() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_RADIO_CH10 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_AIEnable[10] = 0x01; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_AIEnable[10] = 0x00; - } -} - -void CUtil9114Dlg::OnAI11Enable() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_RADIO_CH11 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_AIEnable[11] = 0x01; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_AIEnable[11] = 0x00; - } -} - -void CUtil9114Dlg::OnAI12Enable() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_RADIO_CH12 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_AIEnable[12] = 0x01; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_AIEnable[12] = 0x00; - } -} - -void CUtil9114Dlg::OnAI13Enable() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_RADIO_CH13 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_AIEnable[13] = 0x01; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_AIEnable[13] = 0x00; - } -} - -void CUtil9114Dlg::OnAI14Enable() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_RADIO_CH14 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_AIEnable[14] = 0x01; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_AIEnable[14] = 0x00; - } -} - -void CUtil9114Dlg::OnAI15Enable() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_RADIO_CH15 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_AIEnable[15] = 0x01; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_AIEnable[15] = 0x00; - } -} - -void CUtil9114Dlg::OnDo00() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_DO00 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_OutData |= 0x01; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_OutData &= (~0x01); - } - - DO_WritePort(m_hCard, 0, m_OutData); -} - -void CUtil9114Dlg::OnDo01() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_DO01 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_OutData |= 0x02; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_OutData &= (~0x02); - } - - DO_WritePort(m_hCard, 0, m_OutData); -} - -void CUtil9114Dlg::OnDo02() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_DO02 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_OutData |= 0x04; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_OutData &= (~0x04); - } - - DO_WritePort(m_hCard, 0, m_OutData); -} - -void CUtil9114Dlg::OnDo03() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_DO03 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_OutData |= 0x08; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_OutData &= (~0x08); - } - - DO_WritePort(m_hCard, 0, m_OutData); -} - -void CUtil9114Dlg::OnDo04() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_DO04 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_OutData |= 0x10; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_OutData &= (~0x10); - } - - DO_WritePort(m_hCard, 0, m_OutData); -} - -void CUtil9114Dlg::OnDo05() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_DO05 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_OutData |= 0x20; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_OutData &= (~0x20); - } - - DO_WritePort(m_hCard, 0, m_OutData); -} - -void CUtil9114Dlg::OnDo06() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_DO06 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_OutData |= 0x40; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_OutData &= (~0x40); - } - - DO_WritePort(m_hCard, 0, m_OutData); -} - -void CUtil9114Dlg::OnDo07() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_DO07 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_OutData |= 0x80; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_OutData &= (~0x80); - } - - DO_WritePort(m_hCard, 0, m_OutData); -} - -void CUtil9114Dlg::OnDo08() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_DO08 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_OutData |= 0x100; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_OutData &= (~0x100); - } - - DO_WritePort(m_hCard, 0, m_OutData); -} - -void CUtil9114Dlg::OnDo09() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_DO09 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_OutData |= 0x200; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_OutData &= (~0x200); - } - - DO_WritePort(m_hCard, 0, m_OutData); -} - -void CUtil9114Dlg::OnDo10() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_DO10 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_OutData |= 0x400; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_OutData &= (~0x400); - } - - DO_WritePort(m_hCard, 0, m_OutData); -} - -void CUtil9114Dlg::OnDo11() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_DO11 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_OutData |= 0x800; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_OutData &= (~0x800); - } - - DO_WritePort(m_hCard, 0, m_OutData); -} - -void CUtil9114Dlg::OnDo12() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_DO12 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_OutData |= 0x1000; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_OutData &= (~0x1000); - } - - DO_WritePort(m_hCard, 0, m_OutData); -} - -void CUtil9114Dlg::OnDo13() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_DO13 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_OutData |= 0x2000; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_OutData &= (~0x2000); - } - - DO_WritePort(m_hCard, 0, m_OutData); -} - -void CUtil9114Dlg::OnDo14() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_DO14 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_OutData |= 0x4000; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_OutData &= (~0x4000); - } - - DO_WritePort(m_hCard, 0, m_OutData); -} - -void CUtil9114Dlg::OnDo15() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_DO15 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_OutData |= 0x8000; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_OutData &= (~0x8000); - } - - DO_WritePort(m_hCard, 0, m_OutData); -} - - - -void CUtil9114Dlg::redraw_display_area(void) -{ - CPen *oldPen; - - int oldMode; - COLORREF oldColor; - - CString y_lable; - - CPen minor_tick( PS_SOLID,1,RGB(132,130,132) ); -// CPen y_grid( PS_SOLID,1,RGB(206,203,132) ); - - int i, x_intv, y_intv; -// long total_sec; - - CClientDC dc_plot(this); - - // draw the base-line for x-y axises - oldPen = (CPen *)dc_plot.SelectStockObject(BLACK_PEN); - - // redraw the background - dc_plot.FillSolidRect( plotRect0, RGB(0,0,0) ); - dc_plot.FillSolidRect( plotRect1, RGB(0,0,0) ); - - // Re-Draw the AREA for Y-Lable - { - CBrush DIALOG_BRUSH; - CRect redraw_area, full_client; - - GetClientRect(&full_client); - ScreenToClient(&full_client); - - redraw_area.left = full_client.left; - redraw_area.top = plotRect0.top - 5; - redraw_area.right = plotRect0.left - 3; - redraw_area.bottom = plotRect0.bottom + 10; - - DIALOG_BRUSH.CreateSysColorBrush( COLOR_3DFACE ); - - dc_plot.FillRect( redraw_area, &DIALOG_BRUSH ); - - - redraw_area.left = full_client.left; - redraw_area.top = plotRect1.top - 5; - redraw_area.right = plotRect1.left - 3; - redraw_area.bottom = plotRect1.bottom + 10; - - dc_plot.FillRect( redraw_area, &DIALOG_BRUSH ); - - - DIALOG_BRUSH.DeleteObject(); - } - - dc_plot.MoveTo( plotRect0.left - 3, plotRect0.top ); - dc_plot.LineTo( plotRect0.left - 3, plotRect0.bottom ); - - dc_plot.MoveTo( plotRect1.left - 3, plotRect1.top ); - dc_plot.LineTo( plotRect1.left - 3, plotRect1.bottom ); - - // calculate the interval for tick/grid - y_intv = (plotRect0.Height() - 10) /y_divider; - x_intv = plotRect0.Width()/x_divider; - - - // set the color for tick - oldColor = dc_plot.SetTextColor( RGB(0,0,0) ); - oldMode = dc_plot.SetBkMode( TRANSPARENT ); - - for( i=0; i<= y_divider; i++ ) - { - CString tick_str; - CRect tmp_rect, tick_rect; - - // draw the tick for y-axis - dc_plot.MoveTo( plotRect0.left -12, plotRect0.bottom -5 - (i*y_intv) ); - dc_plot.LineTo( plotRect0.left -3, plotRect0.bottom -5 - (i*y_intv) ); - - tick_str.Format( _T("%.3f"), ( ((max_range-min_range)/y_divider) * i)+min_range ); - - // calculate the rectangle for text - dc_plot.DrawText( tick_str, &tmp_rect, DT_CALCRECT|DT_SINGLELINE ); - tick_rect.right = plotRect0.left -14; - tick_rect.left = tick_rect.right - tmp_rect.Width(); - tick_rect.top = plotRect0.bottom -5 - (i*y_intv) - tmp_rect.Height()/2; - tick_rect.bottom = tick_rect.top + tmp_rect.Height(); - - // draw the text - dc_plot.DrawText( tick_str, &tick_rect, DT_SINGLELINE|DT_RIGHT ); - - } - - - for( i=0; i<= y_divider; i++ ) - { - CString tick_str; - CRect tmp_rect, tick_rect; - - // draw the tick for y-axis - dc_plot.MoveTo( plotRect1.left -12, plotRect1.bottom -5 - (i*y_intv) ); - dc_plot.LineTo( plotRect1.left -3, plotRect1.bottom -5 - (i*y_intv) ); - - tick_str.Format( _T("%.3f"), ( ((max_range-min_range)/y_divider) * i)+min_range ); - - // calculate the rectangle for text - dc_plot.DrawText( tick_str, &tmp_rect, DT_CALCRECT|DT_SINGLELINE ); - tick_rect.right = plotRect1.left -14; - tick_rect.left = tick_rect.right - tmp_rect.Width(); - tick_rect.top = plotRect1.bottom -5 - (i*y_intv) - tmp_rect.Height()/2; - tick_rect.bottom = tick_rect.top + tmp_rect.Height(); - - // draw the text - dc_plot.DrawText( tick_str, &tick_rect, DT_SINGLELINE|DT_RIGHT ); - - } - - // draw the minor_tick for Y axises - dc_plot.SelectObject(&minor_tick); - for( i=0; i< y_divider; i++ ) - { - dc_plot.MoveTo( plotRect0.left -9, plotRect0.bottom -5 - (i*y_intv) - y_intv/2 ); - dc_plot.LineTo( plotRect0.left -4, plotRect0.bottom -5 - (i*y_intv) - y_intv/2 ); - } - - for( i=0; i< y_divider; i++ ) - { - dc_plot.MoveTo( plotRect1.left -9, plotRect1.bottom -5 - (i*y_intv) - y_intv/2 ); - dc_plot.LineTo( plotRect1.left -4, plotRect1.bottom -5 - (i*y_intv) - y_intv/2 ); - } - - dc_plot.SetTextColor( oldColor ); - dc_plot.SetBkMode( oldMode ); - dc_plot.SelectObject( oldPen ); -} - -int CUtil9114Dlg::display_buffer_data(void) -{ - CClientDC dc_plot(this); - int nDraw_Bottom; - - int newY; - I16 ai_data; - - - dc_plot.BitBlt( plotRect0.left+2, plotRect0.top, n_PlotWidth-2, n_PlotHeight, &dc_plot, plotRect0.left, plotRect0.top, SRCCOPY ); - dc_plot.BitBlt( plotRect1.left+2, plotRect1.top, n_PlotWidth-2, n_PlotHeight, &dc_plot, plotRect1.left, plotRect1.top, SRCCOPY ); - - for( int i=0; i> 16) ); // ( n_PlotHeight * ai_data / 65536) ); // ( (n_PlotHeight/2) * ai_data/32768 ) ); - - if ( m_oldY[i] !=-1 ) - { - if( i < 8 ) - { - dc_plot.MoveTo( plotRect0.left+2, newY ); - dc_plot.LineTo( plotRect0.left+5, m_oldY[i] ); - } - else - { - dc_plot.MoveTo( plotRect1.left+2, newY ); - dc_plot.LineTo( plotRect1.left+5, m_oldY[i] ); - } - } - - m_oldY[i] = newY; - } - } - - return 0; -} diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9114/SDK9114/Util9114Dlg.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9114/SDK9114/Util9114Dlg.h deleted file mode 100644 index c9ef6c3..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9114/SDK9114/Util9114Dlg.h +++ /dev/null @@ -1,128 +0,0 @@ - -// Util9114Dlg.h : header file -// - -#pragma once -#include "afxcmn.h" -#include "afxwin.h" - -#include "Dask64.h" - -#ifndef MAX_CHAN_9114 -#define MAX_CHAN_9114 16 -#endif - -// CUtil9114Dlg dialog -class CUtil9114Dlg : public CDialog -{ -// Construction -public: - CUtil9114Dlg(I16 hCard, U16 wCardType, CWnd* pParent = NULL); // standard constructor - -// Dialog Data - enum { IDD = IDD_UTIL9114_DIALOG }; - - protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - - -// Implementation -protected: - HICON m_hIcon; - UINT_PTR m_nTimer; - I16 m_hCard; - U16 m_wCardType; - int m_nAOValue; - U16 m_wAdRange; - U8 m_AIEnable[MAX_CHAN_9114]; - U16 m_AIData[MAX_CHAN_9114]; - U32 m_OutData; - U32 m_InData; - - // Generated message map functions - virtual BOOL OnInitDialog(); - afx_msg void OnSysCommand(UINT nID, LPARAM lParam); - afx_msg void OnPaint(); - afx_msg HCURSOR OnQueryDragIcon(); - DECLARE_MESSAGE_MAP() -public: - CScrollBar m_scBarAO; - CComboBox m_cbAIRange; - WORD max_val; - WORD min_val; - double max_range; - double min_range; - int n_PlotWidth; - int n_PlotHeight; - int y_divider; - int x_divider; - int m_DisplayScale; - int m_oldY[MAX_CHAN_9114]; - HBRUSH OnBrush; - HBRUSH OffBrush; - CPen RedPen; - CPen GreenPen; - CPen YellowPen; - CPen BluePen; - CPen LTBluePen; - CPen LTRedPen; - CPen LTGreenPen; - CPen WhitePen; - -private: - void redraw_display_area(void); -public: - afx_msg void OnDestroy(); - afx_msg void OnAIRangeSelchange(); - afx_msg void OnAI00Enable(); - afx_msg void OnAI01Enable(); - afx_msg void OnAI02Enable(); - afx_msg void OnAI03Enable(); - afx_msg void OnAI04Enable(); - afx_msg void OnAI05Enable(); - afx_msg void OnAI06Enable(); - afx_msg void OnAI07Enable(); - afx_msg void OnAI08Enable(); - afx_msg void OnAI09Enable(); - afx_msg void OnAI10Enable(); - afx_msg void OnAI11Enable(); - afx_msg void OnAI12Enable(); - afx_msg void OnAI13Enable(); - afx_msg void OnAI14Enable(); - afx_msg void OnAI15Enable(); - afx_msg void OnDo00(); - afx_msg void OnDo01(); - afx_msg void OnDo02(); - afx_msg void OnDo03(); - afx_msg void OnDo04(); - afx_msg void OnDo05(); - afx_msg void OnDo06(); - afx_msg void OnDo07(); - afx_msg void OnDo08(); - afx_msg void OnDo09(); - afx_msg void OnDo10(); - afx_msg void OnDo11(); - afx_msg void OnDo12(); - afx_msg void OnDo13(); - afx_msg void OnDo14(); - afx_msg void OnDo15(); - afx_msg void OnTimer(UINT_PTR nIDEvent); - CStatic m_Icon_IN00; - CStatic m_Icon_IN01; - CStatic m_Icon_IN02; - CStatic m_Icon_IN03; - CStatic m_Icon_IN04; - CStatic m_Icon_IN05; - CStatic m_Icon_IN06; - CStatic m_Icon_IN07; - CStatic m_Icon_IN08; - CStatic m_Icon_IN09; - CStatic m_Icon_IN10; - CStatic m_Icon_IN11; - CStatic m_Icon_IN12; - CStatic m_Icon_IN13; - CStatic m_Icon_IN14; - CStatic m_Icon_IN15; -private: - int display_buffer_data(void); -}; diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9114/SDK9114/res/Util9114.ico b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9114/SDK9114/res/Util9114.ico deleted file mode 100644 index d56fbcd..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9114/SDK9114/res/Util9114.ico and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9114/SDK9114/res/Util9114.rc2 b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9114/SDK9114/res/Util9114.rc2 deleted file mode 100644 index 4b43b56..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9114/SDK9114/res/Util9114.rc2 +++ /dev/null @@ -1,13 +0,0 @@ -// -// Util9111.RC2 - resources Microsoft Visual C++ does not edit directly -// - -#ifdef APSTUDIO_INVOKED -#error this file is not editable by Microsoft Visual C++ -#endif //APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// Add manually edited resources here... - -///////////////////////////////////////////////////////////////////////////// diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9114/SDK9114/res/black.ico b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9114/SDK9114/res/black.ico deleted file mode 100644 index b5c375f..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9114/SDK9114/res/black.ico and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9114/SDK9114/res/blue.ico b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9114/SDK9114/res/blue.ico deleted file mode 100644 index 1df4b39..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9114/SDK9114/res/blue.ico and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9114/SDK9114/res/ch_set1.bmp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9114/SDK9114/res/ch_set1.bmp deleted file mode 100644 index f2374ed..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9114/SDK9114/res/ch_set1.bmp and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9114/SDK9114/res/ch_set2.bmp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9114/SDK9114/res/ch_set2.bmp deleted file mode 100644 index 32d0915..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9114/SDK9114/res/ch_set2.bmp and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9114/SDK9114/res/green.ico b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9114/SDK9114/res/green.ico deleted file mode 100644 index d9a9fd3..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9114/SDK9114/res/green.ico and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9114/SDK9114/res/icon1.ico b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9114/SDK9114/res/icon1.ico deleted file mode 100644 index f1282c6..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9114/SDK9114/res/icon1.ico and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9114/SDK9114/res/pink.ico b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9114/SDK9114/res/pink.ico deleted file mode 100644 index 18bdaad..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9114/SDK9114/res/pink.ico and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9114/SDK9114/res/red.ico b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9114/SDK9114/res/red.ico deleted file mode 100644 index 7644596..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9114/SDK9114/res/red.ico and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9114/SDK9114/res/yellow.ico b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9114/SDK9114/res/yellow.ico deleted file mode 100644 index 3449de2..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9114/SDK9114/res/yellow.ico and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9114/SDK9114/resource.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9114/SDK9114/resource.h deleted file mode 100644 index b31a161..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9114/SDK9114/resource.h +++ /dev/null @@ -1,84 +0,0 @@ -//{{NO_DEPENDENCIES}} -// Microsoft Visual C++ generated include file. -// Used by Util9114.rc -// -#define IDM_ABOUTBOX 0x0010 -#define IDD_ABOUTBOX 100 -#define IDS_ABOUTBOX 101 -#define IDD_UTIL9114_DIALOG 102 -#define IDR_MAINFRAME 128 -#define IDI_ICON_BLACK 130 -#define IDI_ICON_RED 131 -#define IDB_BITMAP_SET1 132 -#define IDB_BITMAP_SET2 133 -#define IDD_CARDID_DIALOG 135 -#define IDC_STATIC_DRAW0 1000 -#define IDC_COMBO_CARDID 1000 -#define IDC_SCROLLBAR1 1001 -#define IDC_COMBO_CARDTYPE 1001 -#define IDC_STATIC_DRAW1 1002 -#define IDC_ICON_DI00 1003 -#define IDC_ICON_DI01 1004 -#define IDC_ICON_DI02 1005 -#define IDC_ICON_DI03 1006 -#define IDC_ICON_DI04 1007 -#define IDC_ICON_DI05 1008 -#define IDC_ICON_DI06 1009 -#define IDC_ICON_DI07 1010 -#define IDC_ICON_DI08 1011 -#define IDC_ICON_DI09 1012 -#define IDC_ICON_DI10 1013 -#define IDC_ICON_DI11 1014 -#define IDC_STATIC_01 1014 -#define IDC_ICON_DI12 1015 -#define IDC_STATIC_2 1015 -#define IDC_ICON_DI13 1016 -#define IDC_ICON_DI14 1017 -#define IDC_ICON_DI15 1018 -#define IDC_RADIO_CH0 1019 -#define IDC_RADIO_CH1 1020 -#define IDC_RADIO_CH2 1021 -#define IDC_RADIO_CH3 1022 -#define IDC_RADIO_CH4 1023 -#define IDC_RADIO_CH5 1024 -#define IDC_RADIO_CH6 1025 -#define IDC_RADIO_CH7 1026 -#define IDC_RADIO_CH8 1027 -#define IDC_RADIO_CH9 1028 -#define IDC_RADIO_CH10 1029 -#define IDC_RADIO_CH11 1030 -#define IDC_RADIO_CH12 1031 -#define IDC_RADIO_CH13 1032 -#define IDC_RADIO_CH14 1033 -#define IDC_RADIO_CH15 1034 -#define IDC_CHECK_DO00 1035 -#define IDC_CHECK_DO01 1036 -#define IDC_CHECK_DO02 1037 -#define IDC_CHECK_DO03 1038 -#define IDC_CHECK_DO04 1039 -#define IDC_CHECK_DO05 1040 -#define IDC_CHECK_DO06 1041 -#define IDC_CHECK_DO07 1042 -#define IDC_CHECK_DO08 1043 -#define IDC_CHECK_DO09 1044 -#define IDC_CHECK_DO10 1045 -#define IDC_CHECK_DO11 1046 -#define IDC_CHECK_DO12 1047 -#define IDC_CHECK_DO13 1048 -#define IDC_CHECK_DO14 1049 -#define IDC_CHECK_DO15 1050 -#define IDC_COMBO1 1051 -#define IDC_COMBO_AI_RANGE 1051 -#define IDC_EDIT1 1052 -#define IDC_EDIT_AO 1052 - -// Next default values for new objects -// -#ifdef APSTUDIO_INVOKED -#ifndef APSTUDIO_READONLY_SYMBOLS -#define _APS_NEXT_RESOURCE_VALUE 137 -#define _APS_NEXT_COMMAND_VALUE 32771 -#define _APS_NEXT_CONTROL_VALUE 1053 -#define _APS_NEXT_SYMED_VALUE 101 -#endif -#endif diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9114/SDK9114/stdafx.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9114/SDK9114/stdafx.cpp deleted file mode 100644 index c8c8934..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9114/SDK9114/stdafx.cpp +++ /dev/null @@ -1,8 +0,0 @@ - -// stdafx.cpp : source file that includes just the standard includes -// Util9111.pch will be the pre-compiled header -// stdafx.obj will contain the pre-compiled type information - -#include "stdafx.h" - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9114/SDK9114/stdafx.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9114/SDK9114/stdafx.h deleted file mode 100644 index 12123e2..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9114/SDK9114/stdafx.h +++ /dev/null @@ -1,60 +0,0 @@ - -// stdafx.h : include file for standard system include files, -// or project specific include files that are used frequently, -// but are changed infrequently - -#pragma once - -#ifndef _SECURE_ATL -#define _SECURE_ATL 1 -#endif - -#ifndef VC_EXTRALEAN -#define VC_EXTRALEAN // Exclude rarely-used stuff from Windows headers -#endif - -#include "targetver.h" - -#define _ATL_CSTRING_EXPLICIT_CONSTRUCTORS // some CString constructors will be explicit - -// turns off MFC's hiding of some common and often safely ignored warning messages -#define _AFX_ALL_WARNINGS - -#include // MFC core and standard components -#include // MFC extensions - - -#include // MFC Automation classes - - - -#ifndef _AFX_NO_OLE_SUPPORT -#include // MFC support for Internet Explorer 4 Common Controls -#endif -#ifndef _AFX_NO_AFXCMN_SUPPORT -#include // MFC support for Windows Common Controls -#endif // _AFX_NO_AFXCMN_SUPPORT - -#include // MFC support for ribbons and control bars - - - - - - - - - -#ifdef _UNICODE -#if defined _M_IX86 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='x86' publicKeyToken='6595b64144ccf1df' language='*'\"") -#elif defined _M_IA64 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='ia64' publicKeyToken='6595b64144ccf1df' language='*'\"") -#elif defined _M_X64 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='amd64' publicKeyToken='6595b64144ccf1df' language='*'\"") -#else -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='*' publicKeyToken='6595b64144ccf1df' language='*'\"") -#endif -#endif - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9114/SDK9114/targetver.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9114/SDK9114/targetver.h deleted file mode 100644 index 11730d5..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9114/SDK9114/targetver.h +++ /dev/null @@ -1,26 +0,0 @@ - -#pragma once - -// The following macros define the minimum required platform. The minimum required platform -// is the earliest version of Windows, Internet Explorer etc. that has the necessary features to run -// your application. The macros work by enabling all features available on platform versions up to and -// including the version specified. - -// Modify the following defines if you have to target a platform prior to the ones specified below. -// Refer to MSDN for the latest info on corresponding values for different platforms. -#ifndef WINVER // Specifies that the minimum required platform is Windows Vista. -#define WINVER 0x0600 // Change this to the appropriate value to target other versions of Windows. -#endif - -#ifndef _WIN32_WINNT // Specifies that the minimum required platform is Windows Vista. -#define _WIN32_WINNT 0x0600 // Change this to the appropriate value to target other versions of Windows. -#endif - -#ifndef _WIN32_WINDOWS // Specifies that the minimum required platform is Windows 98. -#define _WIN32_WINDOWS 0x0410 // Change this to the appropriate value to target Windows Me or later. -#endif - -#ifndef _WIN32_IE // Specifies that the minimum required platform is Internet Explorer 7.0. -#define _WIN32_IE 0x0700 // Change this to the appropriate value to target other versions of IE. -#endif - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9114/SDK9114ADbfPreTrg/9111PostTg.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9114/SDK9114ADbfPreTrg/9111PostTg.suo deleted file mode 100644 index bd9e040..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9114/SDK9114ADbfPreTrg/9111PostTg.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9114/SDK9114ADbfPreTrg/9111int.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9114/SDK9114ADbfPreTrg/9111int.suo deleted file mode 100644 index aaca7d8..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9114/SDK9114ADbfPreTrg/9111int.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9114/SDK9114ADbfPreTrg/9114PrTg.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9114/SDK9114ADbfPreTrg/9114PrTg.cpp deleted file mode 100644 index b62493e..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9114/SDK9114ADbfPreTrg/9114PrTg.cpp +++ /dev/null @@ -1,111 +0,0 @@ - -// 9114PrTg.cpp : Defines the class behaviors for the application. -// - -#include "stdafx.h" -#include "9114PrTg.h" -#include "9114PrTgDlg.h" -#include "CardIDDlg.h" - -#ifdef _DEBUG -#define new DEBUG_NEW -#endif - - -// C9114PrTgApp - -BEGIN_MESSAGE_MAP(C9114PrTgApp, CWinAppEx) - ON_COMMAND(ID_HELP, &CWinApp::OnHelp) -END_MESSAGE_MAP() - - -// C9114PrTgApp construction - -C9114PrTgApp::C9114PrTgApp() -{ - // TODO: add construction code here, - // Place all significant initialization in InitInstance -} - - -// The one and only C9114PrTgApp object - -C9114PrTgApp theApp; - - -// C9114PrTgApp initialization - -BOOL C9114PrTgApp::InitInstance() -{ - int nCardID = 0; - I16 hCard; - U16 wCardType; - CString strTemp; - INT_PTR nResponse; - - // InitCommonControlsEx() is required on Windows XP if an application - // manifest specifies use of ComCtl32.dll version 6 or later to enable - // visual styles. Otherwise, any window creation will fail. - INITCOMMONCONTROLSEX InitCtrls; - InitCtrls.dwSize = sizeof(InitCtrls); - // Set this to include all the common control classes you want to use - // in your application. - InitCtrls.dwICC = ICC_WIN95_CLASSES; - InitCommonControlsEx(&InitCtrls); - - CWinAppEx::InitInstance(); - - AfxEnableControlContainer(); - - // Standard initialization - // If you are not using these features and wish to reduce the size - // of your final executable, you should remove from the following - // the specific initialization routines you do not need - // Change the registry key under which our settings are stored - // TODO: You should modify this string to be something appropriate - // such as the name of your company or organization - SetRegistryKey(_T("Local AppWizard-Generated Applications")); - - CCardIDDlg CardDlg( nCardID ); - - nResponse = CardDlg.DoModal(); - if (nResponse == IDOK) - { - nCardID = CardDlg.GetCardID(); - wCardType = CardDlg.GetCardType(); - - if ((hCard=Register_Card(wCardType, nCardID)) < 0) - { - strTemp.Format( TEXT("Register_Card Error = %d"), hCard); - AfxMessageBox( strTemp ); - } - else - { - C9114PrTgDlg dlg(hCard, wCardType); - m_pMainWnd = &dlg; - nResponse = dlg.DoModal(); - if (nResponse == IDOK) - { - // TODO: Place code here to handle when the dialog is - // dismissed with OK - } - else if (nResponse == IDCANCEL) - { - // TODO: Place code here to handle when the dialog is - // dismissed with Cancel - } - - if (hCard >= 0) Release_Card(hCard); - } - - } - else if (nResponse == IDCANCEL) - { - // TODO: Place code here to handle when the dialog is - // dismissed with Cancel - } - - // Since the dialog has been closed, return FALSE so that we exit the - // application, rather than start the application's message pump. - return FALSE; -} diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9114/SDK9114ADbfPreTrg/9114PrTg.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9114/SDK9114ADbfPreTrg/9114PrTg.h deleted file mode 100644 index 853ca06..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9114/SDK9114ADbfPreTrg/9114PrTg.h +++ /dev/null @@ -1,32 +0,0 @@ - -// 9114PrTg.h : main header file for the PROJECT_NAME application -// - -#pragma once - -#ifndef __AFXWIN_H__ - #error "include 'stdafx.h' before including this file for PCH" -#endif - -#include "resource.h" // main symbols - - -// C9114PrTgApp: -// See 9114PrTg.cpp for the implementation of this class -// - -class C9114PrTgApp : public CWinAppEx -{ -public: - C9114PrTgApp(); - -// Overrides - public: - virtual BOOL InitInstance(); - -// Implementation - - DECLARE_MESSAGE_MAP() -}; - -extern C9114PrTgApp theApp; \ No newline at end of file diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9114/SDK9114ADbfPreTrg/9114PrTg.rc b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9114/SDK9114ADbfPreTrg/9114PrTg.rc deleted file mode 100644 index e46308e..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9114/SDK9114ADbfPreTrg/9114PrTg.rc +++ /dev/null @@ -1,298 +0,0 @@ -// Microsoft Visual C++ generated resource script. -// -#include "resource.h" - -#define APSTUDIO_READONLY_SYMBOLS -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 2 resource. -// -#ifndef APSTUDIO_INVOKED -#include "targetver.h" -#endif -#include "afxres.h" - -///////////////////////////////////////////////////////////////////////////// -#undef APSTUDIO_READONLY_SYMBOLS - -///////////////////////////////////////////////////////////////////////////// -// Chinese (Taiwan) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_CHT) -#ifdef _WIN32 -LANGUAGE LANG_CHINESE, SUBLANG_CHINESE_TRADITIONAL -#pragma code_page(950) -#endif //_WIN32 - -#ifdef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// TEXTINCLUDE -// - -1 TEXTINCLUDE -BEGIN - "resource.h\0" -END - -2 TEXTINCLUDE -BEGIN - "#ifndef APSTUDIO_INVOKED\r\n" - "#include ""targetver.h""\r\n" - "#endif\r\n" - "#include ""afxres.h""\r\n" - "\0" -END - -3 TEXTINCLUDE -BEGIN - "#define _AFX_NO_SPLITTER_RESOURCES\r\n" - "#define _AFX_NO_OLE_RESOURCES\r\n" - "#define _AFX_NO_TRACKER_RESOURCES\r\n" - "#define _AFX_NO_PROPERTY_RESOURCES\r\n" - "\r\n" - "#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)\r\n" - "LANGUAGE 9, 1\r\n" - "#pragma code_page(1252)\r\n" - "#include ""res\\My9114PrTg.rc2"" // non-Microsoft Visual C++ edited resources\r\n" - "#include ""afxres.rc"" // Standard components\r\n" - "#endif\r\n" - "\0" -END - -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// Icon -// - -// Icon with lowest ID value placed first to ensure application icon -// remains consistent on all systems. -IDR_MAINFRAME ICON "res\\9114PrTg.ico" -#endif // Chinese (Taiwan) resources -///////////////////////////////////////////////////////////////////////////// - - -///////////////////////////////////////////////////////////////////////////// -// English (U.S.) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -#ifdef _WIN32 -LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US -#pragma code_page(1252) -#endif //_WIN32 - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog -// - -IDD_ABOUTBOX DIALOGEX 0, 0, 170, 62 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "About 9114PrTg" -FONT 8, "MS Shell Dlg", 0, 0, 0x1 -BEGIN - ICON IDR_MAINFRAME,IDC_STATIC,14,14,21,20 - LTEXT "9114PrTg, Version 1.0",IDC_STATIC,42,14,114,8,SS_NOPREFIX - LTEXT "Copyright (C) 2010",IDC_STATIC,42,26,114,8 - DEFPUSHBUTTON "OK",IDOK,113,41,50,14,WS_GROUP -END - -IDD_PCI9114_TRG_DIALOG DIALOGEX 0, 0, 365, 232 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU -EXSTYLE WS_EX_APPWINDOW -CAPTION "PCI-9114 Double-Buffered Interrupt with Abort Trigger mode" -FONT 8, "MS Shell Dlg", 0, 0, 0x1 -BEGIN - GROUPBOX "",IDC_STATIC_DRAW,45,9,248,161,NOT WS_VISIBLE - LTEXT "Range : +/- 10V",IDC_STATIC,299,129,52,15 - LTEXT "Buffer Size",IDC_STATIC,124,183,42,9 - EDITTEXT IDC_EDIT_SAMPLE_RATE,47,196,39,14,ES_AUTOHSCROLL | ES_READONLY - LTEXT "Sample Rate :",IDC_STATIC,47,182,49,9 - LTEXT "KHz",IDC_STATIC,99,199,15,9 - SCROLLBAR IDC_SCROLLBAR_RATE,87,196,9,11,SBS_VERT - PUSHBUTTON "Start",IDC_BT_START,230,188,55,22 - CONTROL "0",IDC_RADIO_CH0,"Button",BS_AUTORADIOBUTTON | BS_LEFTTEXT,307,20,16,12 - CONTROL "1",IDC_RADIO_CH1,"Button",BS_AUTORADIOBUTTON | BS_LEFTTEXT,307,35,16,12 - CONTROL "2",IDC_RADIO_CH2,"Button",BS_AUTORADIOBUTTON | BS_LEFTTEXT,307,49,16,12 - CONTROL "3",IDC_RADIO_CH3,"Button",BS_AUTORADIOBUTTON | BS_LEFTTEXT,307,64,16,12 - CONTROL "4",IDC_RADIO_CH4,"Button",BS_AUTORADIOBUTTON | BS_LEFTTEXT,331,20,16,12 - CONTROL "5",IDC_RADIO_CH5,"Button",BS_AUTORADIOBUTTON | BS_LEFTTEXT,331,35,16,12 - CONTROL "6",IDC_RADIO_CH6,"Button",BS_AUTORADIOBUTTON | BS_LEFTTEXT,331,49,16,12 - CONTROL "7",IDC_RADIO_CH7,"Button",BS_AUTORADIOBUTTON | BS_LEFTTEXT,331,64,16,12 - EDITTEXT IDC_EDIT_BUF_SIZE,122,196,46,14,ES_AUTOHSCROLL - PUSHBUTTON "Stop",IDC_BT_STOP,291,188,55,22 -END - -IDD_CARDID_DIALOG DIALOGEX 0, 0, 174, 108 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "Card ID" -FONT 8, "MS Shell Dlg", 400, 0, 0x1 -BEGIN - COMBOBOX IDC_COMBO_CARDID,75,24,71,126,CBS_DROPDOWN | WS_VSCROLL | WS_TABSTOP - LTEXT "Card Number",IDC_STATIC_01,21,25,46,12 - PUSHBUTTON "OK",IDOK,22,70,58,19 - PUSHBUTTON "CANCEL",IDCANCEL,86,70,58,19 - COMBOBOX IDC_COMBO_CARDTYPE,75,46,71,126,CBS_DROPDOWN | WS_VSCROLL | WS_TABSTOP - LTEXT "Card Type",IDC_STATIC_2,29,47,37,12 -END - - -///////////////////////////////////////////////////////////////////////////// -// -// Version -// - -VS_VERSION_INFO VERSIONINFO - FILEVERSION 1,0,0,1 - PRODUCTVERSION 1,0,0,1 - FILEFLAGSMASK 0x3fL -#ifdef _DEBUG - FILEFLAGS 0x1L -#else - FILEFLAGS 0x0L -#endif - FILEOS 0x4L - FILETYPE 0x1L - FILESUBTYPE 0x0L -BEGIN - BLOCK "StringFileInfo" - BEGIN - BLOCK "040904e4" - BEGIN - VALUE "CompanyName", "TODO: " - VALUE "FileDescription", "TODO: " - VALUE "FileVersion", "1.0.0.1" - VALUE "InternalName", "9114PrTg.exe" - VALUE "LegalCopyright", "TODO: (c) . All rights reserved." - VALUE "OriginalFilename", "9114PrTg.exe" - VALUE "ProductName", "TODO: " - VALUE "ProductVersion", "1.0.0.1" - END - END - BLOCK "VarFileInfo" - BEGIN - VALUE "Translation", 0x409, 1252 - END -END - - -///////////////////////////////////////////////////////////////////////////// -// -// DESIGNINFO -// - -#ifdef APSTUDIO_INVOKED -GUIDELINES DESIGNINFO -BEGIN - IDD_ABOUTBOX, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 163 - TOPMARGIN, 7 - BOTTOMMARGIN, 55 - END - - IDD_CARDID_DIALOG, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 167 - TOPMARGIN, 7 - BOTTOMMARGIN, 101 - END -END -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog Info -// - -IDD_CARDID_DIALOG DLGINIT -BEGIN - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0030, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0031, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0032, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0033, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0034, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0035, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0036, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0037, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0038, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0039, - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3031, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3131, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3231, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3331, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3431, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3531, "\000" - IDC_COMBO_CARDTYPE, 0x403, 11, 0 -0x4350, 0x5f49, 0x3139, 0x3431, 0x4744, "\000" - IDC_COMBO_CARDTYPE, 0x403, 11, 0 -0x4350, 0x5f49, 0x3139, 0x3431, 0x5248, "\000" - 0 -END - - -///////////////////////////////////////////////////////////////////////////// -// -// Bitmap -// - -IDB_BITMAP_SET1 BITMAP "res\\ch_set1.bmp" -IDB_BITMAP_SET2 BITMAP "res\\ch_set2.bmp" - -///////////////////////////////////////////////////////////////////////////// -// -// String Table -// - -STRINGTABLE -BEGIN - IDS_ABOUTBOX "&About 9114PrTg..." -END - -#endif // English (U.S.) resources -///////////////////////////////////////////////////////////////////////////// - - - -#ifndef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 3 resource. -// -#define _AFX_NO_SPLITTER_RESOURCES -#define _AFX_NO_OLE_RESOURCES -#define _AFX_NO_TRACKER_RESOURCES -#define _AFX_NO_PROPERTY_RESOURCES - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -LANGUAGE 9, 1 -#pragma code_page(1252) -#include "res\My9114PrTg.rc2" // non-Microsoft Visual C++ edited resources -#include "afxres.rc" // Standard components -#endif - -///////////////////////////////////////////////////////////////////////////// -#endif // not APSTUDIO_INVOKED - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9114/SDK9114ADbfPreTrg/9114PrTg.sln b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9114/SDK9114ADbfPreTrg/9114PrTg.sln deleted file mode 100644 index 533a48a..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9114/SDK9114ADbfPreTrg/9114PrTg.sln +++ /dev/null @@ -1,20 +0,0 @@ - -Microsoft Visual Studio Solution File, Format Version 10.00 -# Visual Studio 2008 -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "9114PrTg", "9114PrTg.vcproj", "{702163FB-B6DF-4EF5-9491-FC54D71509BC}" -EndProject -Global - GlobalSection(SolutionConfigurationPlatforms) = preSolution - Debug|x64 = Debug|x64 - Release|x64 = Release|x64 - EndGlobalSection - GlobalSection(ProjectConfigurationPlatforms) = postSolution - {702163FB-B6DF-4EF5-9491-FC54D71509BC}.Debug|x64.ActiveCfg = Debug|x64 - {702163FB-B6DF-4EF5-9491-FC54D71509BC}.Debug|x64.Build.0 = Debug|x64 - {702163FB-B6DF-4EF5-9491-FC54D71509BC}.Release|x64.ActiveCfg = Release|x64 - {702163FB-B6DF-4EF5-9491-FC54D71509BC}.Release|x64.Build.0 = Release|x64 - EndGlobalSection - GlobalSection(SolutionProperties) = preSolution - HideSolutionNode = FALSE - EndGlobalSection -EndGlobal diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9114/SDK9114ADbfPreTrg/9114PrTg.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9114/SDK9114ADbfPreTrg/9114PrTg.suo deleted file mode 100644 index a0a7290..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9114/SDK9114ADbfPreTrg/9114PrTg.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9114/SDK9114ADbfPreTrg/9114PrTg.vcproj b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9114/SDK9114ADbfPreTrg/9114PrTg.vcproj deleted file mode 100644 index 2b1ac28..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9114/SDK9114ADbfPreTrg/9114PrTg.vcproj +++ /dev/null @@ -1,294 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9114/SDK9114ADbfPreTrg/9114PrTgDlg.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9114/SDK9114ADbfPreTrg/9114PrTgDlg.cpp deleted file mode 100644 index ce425c6..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9114/SDK9114ADbfPreTrg/9114PrTgDlg.cpp +++ /dev/null @@ -1,667 +0,0 @@ - -// 9114PrTgDlg.cpp : implementation file -// - -#include "stdafx.h" -#include "9114PrTg.h" -#include "9114PrTgDlg.h" - -#ifdef _DEBUG -#define new DEBUG_NEW -#endif - -CRect plotRect; - -// CAboutDlg dialog used for App About - -class CAboutDlg : public CDialog -{ -public: - CAboutDlg(); - -// Dialog Data - enum { IDD = IDD_ABOUTBOX }; - - protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - -// Implementation -protected: - DECLARE_MESSAGE_MAP() -}; - -CAboutDlg::CAboutDlg() : CDialog(CAboutDlg::IDD) -{ -} - -void CAboutDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); -} - -BEGIN_MESSAGE_MAP(CAboutDlg, CDialog) -END_MESSAGE_MAP() - - -// C9114PrTgDlg dialog - - - - -C9114PrTgDlg::C9114PrTgDlg(I16 hCard, U16 wCardType, CWnd* pParent /*=NULL*/) - : CDialog(C9114PrTgDlg::IDD, pParent) -{ - m_hIcon = AfxGetApp()->LoadIcon(IDR_MAINFRAME); - - n_PlotWidth = n_PlotHeight = -1; - OnBrush = OffBrush = NULL; - - min_val = 0x00; - max_val = 0xFFFF; - - m_fSampleRate = 10000.0; // 10KHz - - m_hCard = hCard; - m_wCardType = wCardType; - - m_wScanChans = 0; - m_nTimer = -1; - m_hMem=NULL; - - m_wRange = AD_B_10_V; //AD_B_5_V; - m_dwReadCount = 1024; - m_wPostCount = 512; - m_wChannel = 0; - -} - -void C9114PrTgDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); -} - -BEGIN_MESSAGE_MAP(C9114PrTgDlg, CDialog) - ON_WM_SYSCOMMAND() - ON_WM_PAINT() - ON_WM_QUERYDRAGICON() - //}}AFX_MSG_MAP - ON_WM_DESTROY() - ON_WM_VSCROLL() - ON_BN_CLICKED(IDC_BT_START, &C9114PrTgDlg::OnStart) - ON_BN_CLICKED(IDC_RADIO_CH0, &C9114PrTgDlg::OnCh0) - ON_BN_CLICKED(IDC_RADIO_CH1, &C9114PrTgDlg::OnCh1) - ON_BN_CLICKED(IDC_RADIO_CH2, &C9114PrTgDlg::OnCh2) - ON_BN_CLICKED(IDC_RADIO_CH3, &C9114PrTgDlg::OnCh3) - ON_BN_CLICKED(IDC_RADIO_CH4, &C9114PrTgDlg::OnCh4) - ON_BN_CLICKED(IDC_RADIO_CH5, &C9114PrTgDlg::OnCh5) - ON_BN_CLICKED(IDC_RADIO_CH6, &C9114PrTgDlg::OnCh6) - ON_BN_CLICKED(IDC_RADIO_CH7, &C9114PrTgDlg::OnCh7) - ON_WM_TIMER() - ON_BN_CLICKED(IDC_BT_STOP, &C9114PrTgDlg::OnStop) -END_MESSAGE_MAP() - - -// C9114PrTgDlg message handlers - -BOOL C9114PrTgDlg::OnInitDialog() -{ - CDialog::OnInitDialog(); - - // Add "About..." menu item to system menu. - - // IDM_ABOUTBOX must be in the system command range. - ASSERT((IDM_ABOUTBOX & 0xFFF0) == IDM_ABOUTBOX); - ASSERT(IDM_ABOUTBOX < 0xF000); - - CMenu* pSysMenu = GetSystemMenu(FALSE); - if (pSysMenu != NULL) - { - BOOL bNameValid; - CString strAboutMenu; - bNameValid = strAboutMenu.LoadString(IDS_ABOUTBOX); - ASSERT(bNameValid); - if (!strAboutMenu.IsEmpty()) - { - pSysMenu->AppendMenu(MF_SEPARATOR); - pSysMenu->AppendMenu(MF_STRING, IDM_ABOUTBOX, strAboutMenu); - } - } - - // Set the icon for this dialog. The framework does this automatically - // when the application's main window is not a dialog - SetIcon(m_hIcon, TRUE); // Set big icon - SetIcon(m_hIcon, FALSE); // Set small icon - - // TODO: Add extra initialization here - x_divider = 5; y_divider = 4; - - OnBrush = CreateSolidBrush( RGB(255,0,0) ); - OffBrush = CreateSolidBrush( RGB(125,0,0) ); - - RedPen.CreatePen( PS_SOLID, 1, RGB(255,0,0)); - - - if( n_PlotWidth == -1 && n_PlotHeight == -1 ) - { - ((CWnd*)GetDlgItem(IDC_STATIC_DRAW))->GetWindowRect(&plotRect); - ScreenToClient(&plotRect); - - n_PlotWidth = min( plotRect.Width(), 512); - n_PlotHeight = plotRect.Height() - 10; - } - - // set the default SampleRate - SetDlgItemInt( IDC_EDIT_SAMPLE_RATE, (UINT)(m_fSampleRate/1000) ); - SetDlgItemInt( IDC_EDIT_BUF_SIZE, (UINT)(m_dwReadCount) ); - ((CButton*)GetDlgItem( IDC_RADIO_CH0 ))->SetCheck( TRUE ); - - m_wChannel = 0; - - max_range = 10.0; - min_range = -10.0; - - return TRUE; // return TRUE unless you set the focus to a control -} - -void C9114PrTgDlg::OnSysCommand(UINT nID, LPARAM lParam) -{ - if ((nID & 0xFFF0) == IDM_ABOUTBOX) - { - CAboutDlg dlgAbout; - dlgAbout.DoModal(); - } - else - { - CDialog::OnSysCommand(nID, lParam); - } -} - -// If you add a minimize button to your dialog, you will need the code below -// to draw the icon. For MFC applications using the document/view model, -// this is automatically done for you by the framework. - -void C9114PrTgDlg::OnPaint() -{ - if (IsIconic()) - { - CPaintDC dc(this); // device context for painting - - SendMessage(WM_ICONERASEBKGND, reinterpret_cast(dc.GetSafeHdc()), 0); - - // Center icon in client rectangle - int cxIcon = GetSystemMetrics(SM_CXICON); - int cyIcon = GetSystemMetrics(SM_CYICON); - CRect rect; - GetClientRect(&rect); - int x = (rect.Width() - cxIcon + 1) / 2; - int y = (rect.Height() - cyIcon + 1) / 2; - - // Draw the icon - dc.DrawIcon(x, y, m_hIcon); - } - else - { - redraw_display_area(); - CDialog::OnPaint(); - } -} - -// The system calls this function to obtain the cursor to display while the user drags -// the minimized window. -HCURSOR C9114PrTgDlg::OnQueryDragIcon() -{ - return static_cast(m_hIcon); -} - - -void C9114PrTgDlg::redraw_display_area(void) -{ - CPen *oldPen; - - int oldMode; - COLORREF oldColor; - - CString y_lable; - - CPen minor_tick( PS_SOLID,1,RGB(132,130,132) ); -// CPen y_grid( PS_SOLID,1,RGB(206,203,132) ); - - int i, x_intv, y_intv; -// long total_sec; - - CClientDC dc_plot(this); - - // draw the base-line for x-y axises - oldPen = (CPen *)dc_plot.SelectStockObject(BLACK_PEN); - - // redraw the background - dc_plot.FillSolidRect( plotRect, RGB(0,0,0) ); - - // Re-Draw the AREA for Y-Lable - { - CBrush DIALOG_BRUSH; - CRect redraw_area, full_client; - - GetClientRect(&full_client); - ScreenToClient(&full_client); - - redraw_area.left = full_client.left; - redraw_area.top = plotRect.top - 5; - redraw_area.right = plotRect.left - 3; - redraw_area.bottom = plotRect.bottom + 10; - - DIALOG_BRUSH.CreateSysColorBrush( COLOR_3DFACE ); - - dc_plot.FillRect( redraw_area, &DIALOG_BRUSH ); - - DIALOG_BRUSH.DeleteObject(); - } - - dc_plot.MoveTo( plotRect.left - 3, plotRect.top ); - dc_plot.LineTo( plotRect.left - 3, plotRect.bottom ); - - // calculate the interval for tick/grid - y_intv = (plotRect.Height() - 10) /y_divider; - x_intv = plotRect.Width()/x_divider; - - - // set the color for tick - oldColor = dc_plot.SetTextColor( RGB(0,0,0) ); - oldMode = dc_plot.SetBkMode( TRANSPARENT ); - - for( i=0; i<= y_divider; i++ ) - { - CString tick_str; - CRect tmp_rect, tick_rect; - - // draw the tick for y-axis - dc_plot.MoveTo( plotRect.left -12, plotRect.bottom -5 - (i*y_intv) ); - dc_plot.LineTo( plotRect.left -3, plotRect.bottom -5 - (i*y_intv) ); - - tick_str.Format( _T("%.1f"), ( ((max_range-min_range)/y_divider) * i)+min_range ); - - // calculate the rectangle for text - dc_plot.DrawText( tick_str, &tmp_rect, DT_CALCRECT|DT_SINGLELINE ); - tick_rect.right = plotRect.left -14; - tick_rect.left = tick_rect.right - tmp_rect.Width(); - tick_rect.top = plotRect.bottom -5 - (i*y_intv) - tmp_rect.Height()/2; - tick_rect.bottom = tick_rect.top + tmp_rect.Height(); - - // draw the text - dc_plot.DrawText( tick_str, &tick_rect, DT_SINGLELINE|DT_RIGHT ); - - } - - // draw the minor_tick for Y axises - dc_plot.SelectObject(&minor_tick); - for( i=0; i< y_divider; i++ ) - { - dc_plot.MoveTo( plotRect.left -9, plotRect.bottom -5 - (i*y_intv) - y_intv/2 ); - dc_plot.LineTo( plotRect.left -4, plotRect.bottom -5 - (i*y_intv) - y_intv/2 ); - } - - dc_plot.SetTextColor( oldColor ); - dc_plot.SetBkMode( oldMode ); - dc_plot.SelectObject( oldPen ); -} - -void C9114PrTgDlg::OnDestroy() -{ - U32 count; - - CDialog::OnDestroy(); - - // TODO: Add your message handler code here - - AI_AsyncClear(m_hCard, &count); - - if( m_nTimer != -1 ) - { - KillTimer( m_nTimer ); - m_nTimer = -1; - } - - if( OnBrush != NULL ) - ::DeleteObject( OnBrush ); - - if( OffBrush != NULL ) - ::DeleteObject( OffBrush ); - - RedPen.DeleteObject(); - - if (m_hMem != NULL) - { - GlobalUnfix(m_hMem); - GlobalUnlock(m_hMem); - GlobalFree(m_hMem); - - m_hMem = NULL; - } -} - -void C9114PrTgDlg::OnVScroll(UINT nSBCode, UINT nPos, CScrollBar* pScrollBar) -{ - // TODO: Add your message handler code here and/or call default - switch ( nSBCode ) - { - case SB_LINEUP : - m_fSampleRate += 5000.0; - if (m_fSampleRate > 100000.0 ) m_fSampleRate = 100000.0; - break; - case SB_LINEDOWN: - m_fSampleRate -= 5000; - if (m_fSampleRate < 5000 ) m_fSampleRate = 5000; - break; - } - - SetDlgItemInt( IDC_EDIT_SAMPLE_RATE, (UINT)(m_fSampleRate/1000) ); - - CDialog::OnVScroll(nSBCode, nPos, pScrollBar); -} - - -void C9114PrTgDlg::OnStop() -{ - // TODO: Add your control notification handler code here - U32 count; - - AI_AsyncClear(m_hCard, &count); - - if( m_nTimer != -1 ) - { - KillTimer( m_nTimer ); - m_nTimer = -1; - } - - GetDlgItem( IDC_BT_START )->EnableWindow(TRUE); - - GetDlgItem( IDC_RADIO_CH0 )->EnableWindow(TRUE); - GetDlgItem( IDC_RADIO_CH1 )->EnableWindow(TRUE); - GetDlgItem( IDC_RADIO_CH2 )->EnableWindow(TRUE); - GetDlgItem( IDC_RADIO_CH3 )->EnableWindow(TRUE); - GetDlgItem( IDC_RADIO_CH4 )->EnableWindow(TRUE); - GetDlgItem( IDC_RADIO_CH5 )->EnableWindow(TRUE); - GetDlgItem( IDC_RADIO_CH6 )->EnableWindow(TRUE); - GetDlgItem( IDC_RADIO_CH7 )->EnableWindow(TRUE); -} - -void C9114PrTgDlg::OnStart() -{ - // TODO: Add your control notification handler code here - DWORD mem_size; - CString strTemp; - I16 err; - - GetDlgItem( IDC_BT_START )->EnableWindow(FALSE); - - GetDlgItem( IDC_RADIO_CH0 )->EnableWindow(FALSE); - GetDlgItem( IDC_RADIO_CH1 )->EnableWindow(FALSE); - GetDlgItem( IDC_RADIO_CH2 )->EnableWindow(FALSE); - GetDlgItem( IDC_RADIO_CH3 )->EnableWindow(FALSE); - GetDlgItem( IDC_RADIO_CH4 )->EnableWindow(FALSE); - GetDlgItem( IDC_RADIO_CH5 )->EnableWindow(FALSE); - GetDlgItem( IDC_RADIO_CH6 )->EnableWindow(FALSE); - GetDlgItem( IDC_RADIO_CH7 )->EnableWindow(FALSE); - - m_dwReadCount = GetDlgItemInt(IDC_EDIT_BUF_SIZE); - if (m_dwReadCount % 512) - { - AfxMessageBox( TEXT("Buffer Size should be multiple of 512") ); - return; - } - - if (m_hMem != NULL) - { - GlobalUnfix(m_hMem); - GlobalUnlock(m_hMem); - GlobalFree(m_hMem); - - m_hMem = NULL; - } - - // allocate a memory for user DMA buffer - mem_size = m_dwReadCount * sizeof(I32); - m_hMem = GlobalAlloc(GMEM_FIXED | GMEM_ZEROINIT, mem_size); - m_pAIBuf = (U32*) GlobalLock(m_hMem); - if (m_pAIBuf == NULL ) - { - AfxMessageBox( TEXT("Memory allocation failed"), MB_OK); - return; - } - - GlobalFix(m_hMem); - - err=AI_9114_Config(m_hCard, TRIG_INT_PACER); - - if (err!=0) - { - strTemp.Format( TEXT("AI_9111_Config error=%d"), err); - AfxMessageBox( strTemp ); - } - - err=AI_9114_PreTrigConfig (m_hCard, 1, m_wPostCount); - if (err!=0) - { - strTemp.Format( TEXT("AI_9114_PreTrigConfig error=%d"), err); - AfxMessageBox( strTemp ); - } - - err=AI_AsyncDblBufferMode(m_hCard, 1); // double-buffer mode - if (err!=0) - { - strTemp.Format( TEXT("AI_DblBufferMode error=%d"), err); - AfxMessageBox( strTemp ); - } - - err=AI_ContReadChannel (m_hCard, m_wChannel, m_wRange, (U16*)m_pAIBuf, m_dwReadCount, (F64)m_fSampleRate, ASYNCH_OP); - if (err!=0) - { - strTemp.Format( TEXT("AI_ContReadChannel error=%d"), err); - AfxMessageBox( strTemp ); - } - - m_nTimer = SetTimer( 1, 5, NULL ); - -} - -int C9114PrTgDlg::display_buffer_data(U32* pBuf, U32 dwDataSize) -{ - CClientDC dc_plot(this); - int nDraw_Origin_Y; - int cur_channel; - - int newY = -1; - int newX = -1; - U32 dwReadCount = (m_dwReadCount/2); // for double-buffer operation - U32 index; - I16 ai_data; - - // redraw the background - dc_plot.FillSolidRect( plotRect, RGB(0,0,0) ); - - dc_plot.SelectObject(&RedPen); - nDraw_Origin_Y = ( plotRect.bottom - 5 ) - n_PlotHeight/2; - - for( index=0; index> 16 ; - ai_data = (I16)( pBuf[index] & 0x0000FFFF); - newY = (int)( nDraw_Origin_Y - ((n_PlotHeight * ai_data) >> 16) ); // (n_PlotHeight/2) * ai_data/32768 ) --> ( n_PlotHeight * ai_data / 65536) ) --> (n_PlotHeight * ai_data) >> 16) - - newX = (int)( index*n_PlotWidth/dwReadCount + plotRect.left ); - - if ( index == 0 ) - { - dc_plot.MoveTo( newX, newY ); - } - else - { - dc_plot.MoveTo( m_oldX, m_oldY ); - dc_plot.LineTo( newX, newY ); - } - - m_oldX = newX; - m_oldY = newY; - } - - return 0; -} - -void C9114PrTgDlg::OnTimer(UINT_PTR nIDEvent) -{ - // TODO: Add your message handler code here and/or call default - BOOLEAN HalfReady; - BOOLEAN fstop; - U32 count; - - AI_AsyncDblBufferHalfReady(m_hCard, &HalfReady, &fstop); - - if( fstop == FALSE ) - { - if( HalfReady == TRUE ) // half-buffer is ready - { - AI_AsyncDblBufferTransfer(m_hCard, (U16*)m_pAIBuf); - display_buffer_data( m_pAIBuf, m_dwReadCount/2 ); - } - } - else // AI operation stops - { - if( m_nTimer != -1 ) - { - KillTimer( m_nTimer ); - m_nTimer = -1; - } - - GetDlgItem( IDC_BT_START )->EnableWindow(TRUE); - - GetDlgItem( IDC_RADIO_CH0 )->EnableWindow(TRUE); - GetDlgItem( IDC_RADIO_CH1 )->EnableWindow(TRUE); - GetDlgItem( IDC_RADIO_CH2 )->EnableWindow(TRUE); - GetDlgItem( IDC_RADIO_CH3 )->EnableWindow(TRUE); - GetDlgItem( IDC_RADIO_CH4 )->EnableWindow(TRUE); - GetDlgItem( IDC_RADIO_CH5 )->EnableWindow(TRUE); - GetDlgItem( IDC_RADIO_CH6 )->EnableWindow(TRUE); - GetDlgItem( IDC_RADIO_CH7 )->EnableWindow(TRUE); - - AI_AsyncDblBufferHalfReady(m_hCard, &HalfReady, &fstop); //Get the index of working buffer of Double Buffer - AI_AsyncClear(m_hCard, &count); - - if( HalfReady || (count > 0) && (count < (m_dwReadCount/2)) ) - { - AI_AsyncDblBufferTransfer(m_hCard, (U16*)m_pAIBuf); - display_buffer_data( m_pAIBuf, count ); - } - - } - - CDialog::OnTimer(nIDEvent); -} - -void C9114PrTgDlg::OnCh0() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_RADIO_CH0 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_wChannel = 0; - } - -} - -void C9114PrTgDlg::OnCh1() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_RADIO_CH1 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_wChannel = 1; - } -} - -void C9114PrTgDlg::OnCh2() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_RADIO_CH2 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_wChannel = 2; - } -} - -void C9114PrTgDlg::OnCh3() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_RADIO_CH3 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_wChannel = 3; - } -} - -void C9114PrTgDlg::OnCh4() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_RADIO_CH4 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_wChannel = 4; - } -} - -void C9114PrTgDlg::OnCh5() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_RADIO_CH5 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_wChannel = 5; - } -} - -void C9114PrTgDlg::OnCh6() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_RADIO_CH6 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_wChannel = 6; - } -} - -void C9114PrTgDlg::OnCh7() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_RADIO_CH7 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_wChannel = 7; - } -} - - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9114/SDK9114ADbfPreTrg/9114PrTgDlg.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9114/SDK9114ADbfPreTrg/9114PrTgDlg.h deleted file mode 100644 index a6cd7c0..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9114/SDK9114ADbfPreTrg/9114PrTgDlg.h +++ /dev/null @@ -1,79 +0,0 @@ - -// 9114PrTgDlg.h : header file -#pragma once -#include "afxcmn.h" -#include "afxwin.h" - -#include "Dask64.h" - -#ifndef MAX_CHAN_9114 -#define MAX_CHAN_9114 16 -#endif - -// C9114PrTgDlg dialog -class C9114PrTgDlg : public CDialog -{ -// Construction -public: - C9114PrTgDlg(I16 hCard, U16 wCardType, CWnd* pParent = NULL); // standard constructor - -// Dialog Data - enum { IDD = IDD_PCI9114_TRG_DIALOG }; - - protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - - -// Implementation -protected: - HICON m_hIcon; - UINT_PTR m_nTimer; - I16 m_hCard; - U16 m_wCardType; - double m_fSampleRate; - U16 m_wScanChans; - HANDLE m_hMem; - U32 *m_pAIBuf; - U16 m_wRange; - int m_oldY; - int m_oldX; - U32 m_dwReadCount; - U16 m_wChannel; - U16 m_wPostCount; - - // Generated message map functions - virtual BOOL OnInitDialog(); - afx_msg void OnSysCommand(UINT nID, LPARAM lParam); - afx_msg void OnPaint(); - afx_msg HCURSOR OnQueryDragIcon(); - DECLARE_MESSAGE_MAP() - -public: - WORD max_val; - WORD min_val; - double max_range; - double min_range; - int n_PlotWidth; - int n_PlotHeight; - int y_divider; - int x_divider; - int m_DisplayScale; - HBRUSH OnBrush; - HBRUSH OffBrush; - CPen RedPen; - void redraw_display_area(void); - afx_msg void OnDestroy(); - afx_msg void OnVScroll(UINT nSBCode, UINT nPos, CScrollBar* pScrollBar); - afx_msg void OnStart(); - int display_buffer_data(U32* pBuf, U32 dwDataSize); - afx_msg void OnCh0(); - afx_msg void OnCh1(); - afx_msg void OnCh2(); - afx_msg void OnCh3(); - afx_msg void OnCh4(); - afx_msg void OnCh5(); - afx_msg void OnCh6(); - afx_msg void OnCh7(); - afx_msg void OnTimer(UINT_PTR nIDEvent); - afx_msg void OnStop(); -}; diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9114/SDK9114ADbfPreTrg/CardIDDlg.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9114/SDK9114ADbfPreTrg/CardIDDlg.cpp deleted file mode 100644 index d6b7d64..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9114/SDK9114ADbfPreTrg/CardIDDlg.cpp +++ /dev/null @@ -1,77 +0,0 @@ -// CardIDDlg.cpp : implementation file -// -#include "stdafx.h" -#include "9114PrTg.h" -#include "9114PrTgDlg.h" -#include "CardIDDlg.h" - -// CCardIDDlg dialog - -IMPLEMENT_DYNAMIC(CCardIDDlg, CDialog) - -CCardIDDlg::CCardIDDlg(int nCardIdx, CWnd* pParent /*=NULL*/) - : CDialog(CCardIDDlg::IDD, pParent) -{ - m_nCardIdx = nCardIdx; -} - -CCardIDDlg::~CCardIDDlg() -{ -} - -void CCardIDDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); - DDX_Control(pDX, IDC_COMBO_CARDID, m_cbCardID); - DDX_Control(pDX, IDC_COMBO_CARDTYPE, m_cbCardType); -} - - -BEGIN_MESSAGE_MAP(CCardIDDlg, CDialog) -// ON_CBN_SELCHANGE(IDC_COMBO_CARDID, &CCardIDDlg::OnCbnSelchangeComboCardid) -ON_BN_CLICKED(IDOK, &CCardIDDlg::OnBnClickedOk) -//ON_WM_CTLCOLOR() -END_MESSAGE_MAP() - - -// CCardIDDlg message handlers - - -void CCardIDDlg::OnBnClickedOk() -{ - // TODO: Add your control notification handler code here - -// UpdateData(TRUE); - m_nCardIdx = m_cbCardID.GetCurSel(); - m_CardType = PCI_9114DG + m_cbCardType.GetCurSel(); - - OnOK(); -} - -BOOL CCardIDDlg::OnInitDialog() -{ - CDialog::OnInitDialog(); - - // TODO: Add extra initialization here - m_cbCardID.SetCurSel( m_nCardIdx ); - - m_cbCardType.SetCurSel( 0 ); - m_CardType = PCI_9114DG; - - return TRUE; // return TRUE unless you set the focus to a control - // EXCEPTION: OCX Property Pages should return FALSE -} - -// the function to get the selected CardID -int CCardIDDlg::GetCardID(void) -{ - return m_nCardIdx; -} - - -U16 CCardIDDlg::GetCardType(void) -{ - return m_CardType; -} - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9114/SDK9114ADbfPreTrg/CardIDDlg.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9114/SDK9114ADbfPreTrg/CardIDDlg.h deleted file mode 100644 index 23399df..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9114/SDK9114ADbfPreTrg/CardIDDlg.h +++ /dev/null @@ -1,35 +0,0 @@ -#pragma once -#include "afxwin.h" - -#include "Dask64.h" - -// CCardIDDlg dialog - -class CCardIDDlg : public CDialog -{ - DECLARE_DYNAMIC(CCardIDDlg) - -public: - CCardIDDlg(int nCardIdx, CWnd* pParent = NULL); // standard constructor - virtual ~CCardIDDlg(); - -// Dialog Data - enum { IDD = IDD_CARDID_DIALOG }; - -protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - - DECLARE_MESSAGE_MAP() -public: - virtual BOOL OnInitDialog(); - afx_msg void OnBnClickedOk(); - // the setting of CardID ComboBox - int m_nCardIdx; - U16 m_CardType; - // the control of CardID ComboBox - CComboBox m_cbCardID; - CComboBox m_cbCardType; - // the function to get the selected CardID - int GetCardID(void); - U16 GetCardType(void); -}; diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9114/SDK9114ADbfPreTrg/ReadMe.txt b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9114/SDK9114ADbfPreTrg/ReadMe.txt deleted file mode 100644 index cd97e1e..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9114/SDK9114ADbfPreTrg/ReadMe.txt +++ /dev/null @@ -1,93 +0,0 @@ -================================================================================ - MICROSOFT FOUNDATION CLASS LIBRARY : 9114PrTg Project Overview -=============================================================================== - -The application wizard has created this 9114PrTg application for -you. This application not only demonstrates the basics of using the Microsoft -Foundation Classes but is also a starting point for writing your application. - -This file contains a summary of what you will find in each of the files that -make up your 9114PrTg application. - -9114PrTg.vcproj - This is the main project file for VC++ projects generated using an application wizard. - It contains information about the version of Visual C++ that generated the file, and - information about the platforms, configurations, and project features selected with the - application wizard. - -9114PrTg.h - This is the main header file for the application. It includes other - project specific headers (including Resource.h) and declares the - C9114PrTgApp application class. - -9114PrTg.cpp - This is the main application source file that contains the application - class C9114PrTgApp. - -9114PrTg.rc - This is a listing of all of the Microsoft Windows resources that the - program uses. It includes the icons, bitmaps, and cursors that are stored - in the RES subdirectory. This file can be directly edited in Microsoft - Visual C++. Your project resources are in 1033. - -res\9114PrTg.ico - This is an icon file, which is used as the application's icon. This - icon is included by the main resource file 9114PrTg.rc. - -res\My9114PrTg.rc2 - This file contains resources that are not edited by Microsoft - Visual C++. You should place all resources not editable by - the resource editor in this file. - - -///////////////////////////////////////////////////////////////////////////// - -The application wizard creates one dialog class: - -9114PrTgDlg.h, 9114PrTgDlg.cpp - the dialog - These files contain your C9114PrTgDlg class. This class defines - the behavior of your application's main dialog. The dialog's template is - in 9114PrTg.rc, which can be edited in Microsoft Visual C++. - - -///////////////////////////////////////////////////////////////////////////// - -Other Features: - -ActiveX Controls - The application includes support to use ActiveX controls. - -///////////////////////////////////////////////////////////////////////////// - -Other standard files: - -StdAfx.h, StdAfx.cpp - These files are used to build a precompiled header (PCH) file - named 9114PrTg.pch and a precompiled types file named StdAfx.obj. - -Resource.h - This is the standard header file, which defines new resource IDs. - Microsoft Visual C++ reads and updates this file. - -9114PrTg.manifest - Application manifest files are used by Windows XP to describe an applications - dependency on specific versions of Side-by-Side assemblies. The loader uses this - information to load the appropriate assembly from the assembly cache or private - from the application. The Application manifest maybe included for redistribution - as an external .manifest file that is installed in the same folder as the application - executable or it may be included in the executable in the form of a resource. -///////////////////////////////////////////////////////////////////////////// - -Other notes: - -The application wizard uses "TODO:" to indicate parts of the source code you -should add to or customize. - -If your application uses MFC in a shared DLL, you will need -to redistribute the MFC DLLs. If your application is in a language -other than the operating system's locale, you will also have to -redistribute the corresponding localized resources MFC90XXX.DLL. -For more information on both of these topics, please see the section on -redistributing Visual C++ applications in MSDN documentation. - -///////////////////////////////////////////////////////////////////////////// diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9114/SDK9114ADbfPreTrg/res/9114PrTg.ico b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9114/SDK9114ADbfPreTrg/res/9114PrTg.ico deleted file mode 100644 index d56fbcd..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9114/SDK9114ADbfPreTrg/res/9114PrTg.ico and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9114/SDK9114ADbfPreTrg/res/My9114PrTg.rc2 b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9114/SDK9114ADbfPreTrg/res/My9114PrTg.rc2 deleted file mode 100644 index 383cde2..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9114/SDK9114ADbfPreTrg/res/My9114PrTg.rc2 +++ /dev/null @@ -1,13 +0,0 @@ -// -// My9111int.RC2 - resources Microsoft Visual C++ does not edit directly -// - -#ifdef APSTUDIO_INVOKED -#error this file is not editable by Microsoft Visual C++ -#endif //APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// Add manually edited resources here... - -///////////////////////////////////////////////////////////////////////////// diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9114/SDK9114ADbfPreTrg/res/ch_set1.bmp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9114/SDK9114ADbfPreTrg/res/ch_set1.bmp deleted file mode 100644 index f2374ed..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9114/SDK9114ADbfPreTrg/res/ch_set1.bmp and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9114/SDK9114ADbfPreTrg/res/ch_set2.bmp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9114/SDK9114ADbfPreTrg/res/ch_set2.bmp deleted file mode 100644 index 32d0915..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9114/SDK9114ADbfPreTrg/res/ch_set2.bmp and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9114/SDK9114ADbfPreTrg/resource.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9114/SDK9114ADbfPreTrg/resource.h deleted file mode 100644 index 3798b50..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9114/SDK9114ADbfPreTrg/resource.h +++ /dev/null @@ -1,41 +0,0 @@ -//{{NO_DEPENDENCIES}} -// Microsoft Visual C++ generated include file. -// Used by 9114PrTg.rc -// -#define IDM_ABOUTBOX 0x0010 -#define IDD_ABOUTBOX 100 -#define IDS_ABOUTBOX 101 -#define IDD_PCI9114_TRG_DIALOG 102 -#define IDR_MAINFRAME 128 -#define IDD_CARDID_DIALOG 129 -#define IDB_BITMAP_SET1 131 -#define IDB_BITMAP_SET2 132 -#define IDC_STATIC_DRAW 1000 -#define IDC_COMBO_CARDID 1001 -#define IDC_COMBO_CARDTYPE 1002 -#define IDC_BT_START 1003 -#define IDC_EDIT_SAMPLE_RATE 1004 -#define IDC_SCROLLBAR_RATE 1005 -#define IDC_RADIO_CH0 1006 -#define IDC_RADIO_CH1 1007 -#define IDC_RADIO_CH2 1008 -#define IDC_RADIO_CH3 1009 -#define IDC_RADIO_CH4 1010 -#define IDC_RADIO_CH5 1011 -#define IDC_RADIO_CH6 1012 -#define IDC_RADIO_CH7 1013 -#define IDC_STATIC_01 1014 -#define IDC_EDIT_BUF_SIZE 1014 -#define IDC_STATIC_2 1015 -#define IDC_BT_STOP 1015 - -// Next default values for new objects -// -#ifdef APSTUDIO_INVOKED -#ifndef APSTUDIO_READONLY_SYMBOLS -#define _APS_NEXT_RESOURCE_VALUE 134 -#define _APS_NEXT_COMMAND_VALUE 32771 -#define _APS_NEXT_CONTROL_VALUE 1018 -#define _APS_NEXT_SYMED_VALUE 101 -#endif -#endif diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9114/SDK9114ADbfPreTrg/stdafx.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9114/SDK9114ADbfPreTrg/stdafx.cpp deleted file mode 100644 index ef80626..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9114/SDK9114ADbfPreTrg/stdafx.cpp +++ /dev/null @@ -1,8 +0,0 @@ - -// stdafx.cpp : source file that includes just the standard includes -// 9111int.pch will be the pre-compiled header -// stdafx.obj will contain the pre-compiled type information - -#include "stdafx.h" - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9114/SDK9114ADbfPreTrg/stdafx.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9114/SDK9114ADbfPreTrg/stdafx.h deleted file mode 100644 index 12123e2..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9114/SDK9114ADbfPreTrg/stdafx.h +++ /dev/null @@ -1,60 +0,0 @@ - -// stdafx.h : include file for standard system include files, -// or project specific include files that are used frequently, -// but are changed infrequently - -#pragma once - -#ifndef _SECURE_ATL -#define _SECURE_ATL 1 -#endif - -#ifndef VC_EXTRALEAN -#define VC_EXTRALEAN // Exclude rarely-used stuff from Windows headers -#endif - -#include "targetver.h" - -#define _ATL_CSTRING_EXPLICIT_CONSTRUCTORS // some CString constructors will be explicit - -// turns off MFC's hiding of some common and often safely ignored warning messages -#define _AFX_ALL_WARNINGS - -#include // MFC core and standard components -#include // MFC extensions - - -#include // MFC Automation classes - - - -#ifndef _AFX_NO_OLE_SUPPORT -#include // MFC support for Internet Explorer 4 Common Controls -#endif -#ifndef _AFX_NO_AFXCMN_SUPPORT -#include // MFC support for Windows Common Controls -#endif // _AFX_NO_AFXCMN_SUPPORT - -#include // MFC support for ribbons and control bars - - - - - - - - - -#ifdef _UNICODE -#if defined _M_IX86 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='x86' publicKeyToken='6595b64144ccf1df' language='*'\"") -#elif defined _M_IA64 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='ia64' publicKeyToken='6595b64144ccf1df' language='*'\"") -#elif defined _M_X64 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='amd64' publicKeyToken='6595b64144ccf1df' language='*'\"") -#else -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='*' publicKeyToken='6595b64144ccf1df' language='*'\"") -#endif -#endif - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9114/SDK9114ADbfPreTrg/targetver.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9114/SDK9114ADbfPreTrg/targetver.h deleted file mode 100644 index 11730d5..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9114/SDK9114ADbfPreTrg/targetver.h +++ /dev/null @@ -1,26 +0,0 @@ - -#pragma once - -// The following macros define the minimum required platform. The minimum required platform -// is the earliest version of Windows, Internet Explorer etc. that has the necessary features to run -// your application. The macros work by enabling all features available on platform versions up to and -// including the version specified. - -// Modify the following defines if you have to target a platform prior to the ones specified below. -// Refer to MSDN for the latest info on corresponding values for different platforms. -#ifndef WINVER // Specifies that the minimum required platform is Windows Vista. -#define WINVER 0x0600 // Change this to the appropriate value to target other versions of Windows. -#endif - -#ifndef _WIN32_WINNT // Specifies that the minimum required platform is Windows Vista. -#define _WIN32_WINNT 0x0600 // Change this to the appropriate value to target other versions of Windows. -#endif - -#ifndef _WIN32_WINDOWS // Specifies that the minimum required platform is Windows 98. -#define _WIN32_WINDOWS 0x0410 // Change this to the appropriate value to target Windows Me or later. -#endif - -#ifndef _WIN32_IE // Specifies that the minimum required platform is Internet Explorer 7.0. -#define _WIN32_IE 0x0700 // Change this to the appropriate value to target other versions of IE. -#endif - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9114/SDK9114DbfInt/9111DbInt.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9114/SDK9114DbfInt/9111DbInt.suo deleted file mode 100644 index f8568dc..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9114/SDK9114DbfInt/9111DbInt.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9114/SDK9114DbfInt/9111PostTg.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9114/SDK9114DbfInt/9111PostTg.suo deleted file mode 100644 index c59a833..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9114/SDK9114DbfInt/9111PostTg.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9114/SDK9114DbfInt/9111int.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9114/SDK9114DbfInt/9111int.suo deleted file mode 100644 index aaca7d8..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9114/SDK9114DbfInt/9111int.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9114/SDK9114DbfInt/9114DbInt.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9114/SDK9114DbfInt/9114DbInt.cpp deleted file mode 100644 index 2ee793e..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9114/SDK9114DbfInt/9114DbInt.cpp +++ /dev/null @@ -1,111 +0,0 @@ - -// 9114DbInt.cpp : Defines the class behaviors for the application. -// - -#include "stdafx.h" -#include "9114DbInt.h" -#include "9114DbIntDlg.h" -#include "CardIDDlg.h" - -#ifdef _DEBUG -#define new DEBUG_NEW -#endif - - -// C9114DbIntApp - -BEGIN_MESSAGE_MAP(C9114DbIntApp, CWinAppEx) - ON_COMMAND(ID_HELP, &CWinApp::OnHelp) -END_MESSAGE_MAP() - - -// C9114DbIntApp construction - -C9114DbIntApp::C9114DbIntApp() -{ - // TODO: add construction code here, - // Place all significant initialization in InitInstance -} - - -// The one and only C9114DbIntApp object - -C9114DbIntApp theApp; - - -// C9114DbIntApp initialization - -BOOL C9114DbIntApp::InitInstance() -{ - int nCardID = 0; - I16 hCard; - U16 wCardType; - CString strTemp; - INT_PTR nResponse; - - // InitCommonControlsEx() is required on Windows XP if an application - // manifest specifies use of ComCtl32.dll version 6 or later to enable - // visual styles. Otherwise, any window creation will fail. - INITCOMMONCONTROLSEX InitCtrls; - InitCtrls.dwSize = sizeof(InitCtrls); - // Set this to include all the common control classes you want to use - // in your application. - InitCtrls.dwICC = ICC_WIN95_CLASSES; - InitCommonControlsEx(&InitCtrls); - - CWinAppEx::InitInstance(); - - AfxEnableControlContainer(); - - // Standard initialization - // If you are not using these features and wish to reduce the size - // of your final executable, you should remove from the following - // the specific initialization routines you do not need - // Change the registry key under which our settings are stored - // TODO: You should modify this string to be something appropriate - // such as the name of your company or organization - SetRegistryKey(_T("Local AppWizard-Generated Applications")); - - CCardIDDlg CardDlg( nCardID ); - - nResponse = CardDlg.DoModal(); - if (nResponse == IDOK) - { - nCardID = CardDlg.GetCardID(); - wCardType = CardDlg.GetCardType(); - - if ((hCard=Register_Card(wCardType, nCardID)) < 0) - { - strTemp.Format( TEXT("Register_Card Error = %d"), hCard); - AfxMessageBox( strTemp ); - } - else - { - C9114DbIntDlg dlg(hCard, wCardType); - m_pMainWnd = &dlg; - nResponse = dlg.DoModal(); - if (nResponse == IDOK) - { - // TODO: Place code here to handle when the dialog is - // dismissed with OK - } - else if (nResponse == IDCANCEL) - { - // TODO: Place code here to handle when the dialog is - // dismissed with Cancel - } - - if (hCard >= 0) Release_Card(hCard); - } - - } - else if (nResponse == IDCANCEL) - { - // TODO: Place code here to handle when the dialog is - // dismissed with Cancel - } - - // Since the dialog has been closed, return FALSE so that we exit the - // application, rather than start the application's message pump. - return FALSE; -} diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9114/SDK9114DbfInt/9114DbInt.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9114/SDK9114DbfInt/9114DbInt.h deleted file mode 100644 index eb5e3d5..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9114/SDK9114DbfInt/9114DbInt.h +++ /dev/null @@ -1,32 +0,0 @@ - -// 9114DbInt.h : main header file for the PROJECT_NAME application -// - -#pragma once - -#ifndef __AFXWIN_H__ - #error "include 'stdafx.h' before including this file for PCH" -#endif - -#include "resource.h" // main symbols - - -// C9114DbIntApp: -// See 9114DbInt.cpp for the implementation of this class -// - -class C9114DbIntApp : public CWinAppEx -{ -public: - C9114DbIntApp(); - -// Overrides - public: - virtual BOOL InitInstance(); - -// Implementation - - DECLARE_MESSAGE_MAP() -}; - -extern C9114DbIntApp theApp; \ No newline at end of file diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9114/SDK9114DbfInt/9114DbInt.rc b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9114/SDK9114DbfInt/9114DbInt.rc deleted file mode 100644 index e89b426..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9114/SDK9114DbfInt/9114DbInt.rc +++ /dev/null @@ -1,298 +0,0 @@ -// Microsoft Visual C++ generated resource script. -// -#include "resource.h" - -#define APSTUDIO_READONLY_SYMBOLS -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 2 resource. -// -#ifndef APSTUDIO_INVOKED -#include "targetver.h" -#endif -#include "afxres.h" - -///////////////////////////////////////////////////////////////////////////// -#undef APSTUDIO_READONLY_SYMBOLS - -///////////////////////////////////////////////////////////////////////////// -// Chinese (Taiwan) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_CHT) -#ifdef _WIN32 -LANGUAGE LANG_CHINESE, SUBLANG_CHINESE_TRADITIONAL -#pragma code_page(950) -#endif //_WIN32 - -#ifdef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// TEXTINCLUDE -// - -1 TEXTINCLUDE -BEGIN - "resource.h\0" -END - -2 TEXTINCLUDE -BEGIN - "#ifndef APSTUDIO_INVOKED\r\n" - "#include ""targetver.h""\r\n" - "#endif\r\n" - "#include ""afxres.h""\r\n" - "\0" -END - -3 TEXTINCLUDE -BEGIN - "#define _AFX_NO_SPLITTER_RESOURCES\r\n" - "#define _AFX_NO_OLE_RESOURCES\r\n" - "#define _AFX_NO_TRACKER_RESOURCES\r\n" - "#define _AFX_NO_PROPERTY_RESOURCES\r\n" - "\r\n" - "#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)\r\n" - "LANGUAGE 9, 1\r\n" - "#pragma code_page(1252)\r\n" - "#include ""res\\My9114DbInt.rc2"" // non-Microsoft Visual C++ edited resources\r\n" - "#include ""afxres.rc"" // Standard components\r\n" - "#endif\r\n" - "\0" -END - -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// Icon -// - -// Icon with lowest ID value placed first to ensure application icon -// remains consistent on all systems. -IDR_MAINFRAME ICON "res\\9114DbInt.ico" -#endif // Chinese (Taiwan) resources -///////////////////////////////////////////////////////////////////////////// - - -///////////////////////////////////////////////////////////////////////////// -// English (U.S.) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -#ifdef _WIN32 -LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US -#pragma code_page(1252) -#endif //_WIN32 - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog -// - -IDD_ABOUTBOX DIALOGEX 0, 0, 170, 62 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "About 9114DbInt" -FONT 8, "MS Shell Dlg", 0, 0, 0x1 -BEGIN - ICON IDR_MAINFRAME,IDC_STATIC,14,14,21,20 - LTEXT "9114DbInt, Version 1.0",IDC_STATIC,42,14,114,8,SS_NOPREFIX - LTEXT "Copyright (C) 2010",IDC_STATIC,42,26,114,8 - DEFPUSHBUTTON "OK",IDOK,113,41,50,14,WS_GROUP -END - -IDD_PCI9114_CINT_DIALOG DIALOGEX 0, 0, 365, 232 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU -EXSTYLE WS_EX_APPWINDOW -CAPTION "PCI-9114 Double-Buffered Interrupt " -FONT 8, "MS Shell Dlg", 0, 0, 0x1 -BEGIN - GROUPBOX "",IDC_STATIC_DRAW,45,9,248,161,NOT WS_VISIBLE - LTEXT "Range : +/- 10V",IDC_STATIC,299,129,52,15 - LTEXT "Buffer Size",IDC_STATIC,124,183,42,9 - EDITTEXT IDC_EDIT_SAMPLE_RATE,47,196,39,14,ES_AUTOHSCROLL | ES_READONLY - LTEXT "Sample Rate :",IDC_STATIC,47,182,49,9 - LTEXT "KHz",IDC_STATIC,99,199,15,9 - SCROLLBAR IDC_SCROLLBAR_RATE,87,196,9,11,SBS_VERT - PUSHBUTTON "Start",IDC_BT_START,230,188,55,22 - CONTROL "0",IDC_RADIO_CH0,"Button",BS_AUTORADIOBUTTON | BS_LEFTTEXT,307,20,16,12 - CONTROL "1",IDC_RADIO_CH1,"Button",BS_AUTORADIOBUTTON | BS_LEFTTEXT,307,35,16,12 - CONTROL "2",IDC_RADIO_CH2,"Button",BS_AUTORADIOBUTTON | BS_LEFTTEXT,307,49,16,12 - CONTROL "3",IDC_RADIO_CH3,"Button",BS_AUTORADIOBUTTON | BS_LEFTTEXT,307,64,16,12 - CONTROL "4",IDC_RADIO_CH4,"Button",BS_AUTORADIOBUTTON | BS_LEFTTEXT,331,20,16,12 - CONTROL "5",IDC_RADIO_CH5,"Button",BS_AUTORADIOBUTTON | BS_LEFTTEXT,331,35,16,12 - CONTROL "6",IDC_RADIO_CH6,"Button",BS_AUTORADIOBUTTON | BS_LEFTTEXT,331,49,16,12 - CONTROL "7",IDC_RADIO_CH7,"Button",BS_AUTORADIOBUTTON | BS_LEFTTEXT,331,64,16,12 - EDITTEXT IDC_EDIT_BUF_SIZE,122,196,46,14,ES_AUTOHSCROLL - PUSHBUTTON "Stop",IDC_BT_STOP,291,188,55,22 -END - -IDD_CARDID_DIALOG DIALOGEX 0, 0, 174, 108 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "Card ID" -FONT 8, "MS Shell Dlg", 400, 0, 0x1 -BEGIN - COMBOBOX IDC_COMBO_CARDID,75,24,71,126,CBS_DROPDOWN | WS_VSCROLL | WS_TABSTOP - LTEXT "Card Number",IDC_STATIC_01,21,25,46,12 - PUSHBUTTON "OK",IDOK,22,70,58,19 - PUSHBUTTON "CANCEL",IDCANCEL,86,70,58,19 - COMBOBOX IDC_COMBO_CARDTYPE,75,46,71,126,CBS_DROPDOWN | WS_VSCROLL | WS_TABSTOP - LTEXT "Card Type",IDC_STATIC_2,29,47,37,12 -END - - -///////////////////////////////////////////////////////////////////////////// -// -// Version -// - -VS_VERSION_INFO VERSIONINFO - FILEVERSION 1,0,0,1 - PRODUCTVERSION 1,0,0,1 - FILEFLAGSMASK 0x3fL -#ifdef _DEBUG - FILEFLAGS 0x1L -#else - FILEFLAGS 0x0L -#endif - FILEOS 0x4L - FILETYPE 0x1L - FILESUBTYPE 0x0L -BEGIN - BLOCK "StringFileInfo" - BEGIN - BLOCK "040904e4" - BEGIN - VALUE "CompanyName", "TODO: " - VALUE "FileDescription", "TODO: " - VALUE "FileVersion", "1.0.0.1" - VALUE "InternalName", "9114DbInt.exe" - VALUE "LegalCopyright", "TODO: (c) . All rights reserved." - VALUE "OriginalFilename", "9114DbInt.exe" - VALUE "ProductName", "TODO: " - VALUE "ProductVersion", "1.0.0.1" - END - END - BLOCK "VarFileInfo" - BEGIN - VALUE "Translation", 0x409, 1252 - END -END - - -///////////////////////////////////////////////////////////////////////////// -// -// DESIGNINFO -// - -#ifdef APSTUDIO_INVOKED -GUIDELINES DESIGNINFO -BEGIN - IDD_ABOUTBOX, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 163 - TOPMARGIN, 7 - BOTTOMMARGIN, 55 - END - - IDD_CARDID_DIALOG, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 167 - TOPMARGIN, 7 - BOTTOMMARGIN, 101 - END -END -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog Info -// - -IDD_CARDID_DIALOG DLGINIT -BEGIN - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0030, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0031, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0032, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0033, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0034, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0035, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0036, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0037, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0038, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0039, - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3031, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3131, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3231, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3331, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3431, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3531, "\000" - IDC_COMBO_CARDTYPE, 0x403, 11, 0 -0x4350, 0x5f49, 0x3139, 0x3431, 0x4744, "\000" - IDC_COMBO_CARDTYPE, 0x403, 11, 0 -0x4350, 0x5f49, 0x3139, 0x3431, 0x5248, "\000" - 0 -END - - -///////////////////////////////////////////////////////////////////////////// -// -// Bitmap -// - -IDB_BITMAP_SET1 BITMAP "res\\ch_set1.bmp" -IDB_BITMAP_SET2 BITMAP "res\\ch_set2.bmp" - -///////////////////////////////////////////////////////////////////////////// -// -// String Table -// - -STRINGTABLE -BEGIN - IDS_ABOUTBOX "&About 9114DbInt..." -END - -#endif // English (U.S.) resources -///////////////////////////////////////////////////////////////////////////// - - - -#ifndef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 3 resource. -// -#define _AFX_NO_SPLITTER_RESOURCES -#define _AFX_NO_OLE_RESOURCES -#define _AFX_NO_TRACKER_RESOURCES -#define _AFX_NO_PROPERTY_RESOURCES - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -LANGUAGE 9, 1 -#pragma code_page(1252) -#include "res\My9114DbInt.rc2" // non-Microsoft Visual C++ edited resources -#include "afxres.rc" // Standard components -#endif - -///////////////////////////////////////////////////////////////////////////// -#endif // not APSTUDIO_INVOKED - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9114/SDK9114DbfInt/9114DbInt.sln b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9114/SDK9114DbfInt/9114DbInt.sln deleted file mode 100644 index c68eaca..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9114/SDK9114DbfInt/9114DbInt.sln +++ /dev/null @@ -1,20 +0,0 @@ - -Microsoft Visual Studio Solution File, Format Version 10.00 -# Visual Studio 2008 -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "9114DbInt", "9114DbInt.vcproj", "{702163FB-B6DF-4EF5-9491-FC54D71509BC}" -EndProject -Global - GlobalSection(SolutionConfigurationPlatforms) = preSolution - Debug|x64 = Debug|x64 - Release|x64 = Release|x64 - EndGlobalSection - GlobalSection(ProjectConfigurationPlatforms) = postSolution - {702163FB-B6DF-4EF5-9491-FC54D71509BC}.Debug|x64.ActiveCfg = Debug|x64 - {702163FB-B6DF-4EF5-9491-FC54D71509BC}.Debug|x64.Build.0 = Debug|x64 - {702163FB-B6DF-4EF5-9491-FC54D71509BC}.Release|x64.ActiveCfg = Release|x64 - {702163FB-B6DF-4EF5-9491-FC54D71509BC}.Release|x64.Build.0 = Release|x64 - EndGlobalSection - GlobalSection(SolutionProperties) = preSolution - HideSolutionNode = FALSE - EndGlobalSection -EndGlobal diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9114/SDK9114DbfInt/9114DbInt.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9114/SDK9114DbfInt/9114DbInt.suo deleted file mode 100644 index 9f0c964..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9114/SDK9114DbfInt/9114DbInt.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9114/SDK9114DbfInt/9114DbInt.vcproj b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9114/SDK9114DbfInt/9114DbInt.vcproj deleted file mode 100644 index 765024d..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9114/SDK9114DbfInt/9114DbInt.vcproj +++ /dev/null @@ -1,294 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9114/SDK9114DbfInt/9114DbIntDlg.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9114/SDK9114DbfInt/9114DbIntDlg.cpp deleted file mode 100644 index c3cf1ee..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9114/SDK9114DbfInt/9114DbIntDlg.cpp +++ /dev/null @@ -1,624 +0,0 @@ - -// 9114DbIntDlg.cpp : implementation file -// - -#include "stdafx.h" -#include "9114DbInt.h" -#include "9114DbIntDlg.h" - -#ifdef _DEBUG -#define new DEBUG_NEW -#endif - -CRect plotRect; - -// CAboutDlg dialog used for App About - -class CAboutDlg : public CDialog -{ -public: - CAboutDlg(); - -// Dialog Data - enum { IDD = IDD_ABOUTBOX }; - - protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - -// Implementation -protected: - DECLARE_MESSAGE_MAP() -}; - -CAboutDlg::CAboutDlg() : CDialog(CAboutDlg::IDD) -{ -} - -void CAboutDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); -} - -BEGIN_MESSAGE_MAP(CAboutDlg, CDialog) -END_MESSAGE_MAP() - - -// C9114DbIntDlg dialog - - - - -C9114DbIntDlg::C9114DbIntDlg(I16 hCard, U16 wCardType, CWnd* pParent /*=NULL*/) - : CDialog(C9114DbIntDlg::IDD, pParent) -{ - m_hIcon = AfxGetApp()->LoadIcon(IDR_MAINFRAME); - - n_PlotWidth = n_PlotHeight = -1; - OnBrush = OffBrush = NULL; - - min_val = 0x00; - max_val = 0xFFFF; - - m_fSampleRate = 10000.0; // 10KHz - - m_hCard = hCard; - m_wCardType = wCardType; - - m_wScanChans = 0; - m_nTimer = -1; - m_hMem=NULL; - - m_wRange = AD_B_10_V; - m_dwReadCount = 1024; - m_wPostCount = 512; - m_wChannel = 0; - -} - -void C9114DbIntDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); -} - -BEGIN_MESSAGE_MAP(C9114DbIntDlg, CDialog) - ON_WM_SYSCOMMAND() - ON_WM_PAINT() - ON_WM_QUERYDRAGICON() - //}}AFX_MSG_MAP - ON_WM_DESTROY() - ON_WM_VSCROLL() - ON_BN_CLICKED(IDC_BT_START, &C9114DbIntDlg::OnStart) - ON_BN_CLICKED(IDC_RADIO_CH0, &C9114DbIntDlg::OnCh0) - ON_BN_CLICKED(IDC_RADIO_CH1, &C9114DbIntDlg::OnCh1) - ON_BN_CLICKED(IDC_RADIO_CH2, &C9114DbIntDlg::OnCh2) - ON_BN_CLICKED(IDC_RADIO_CH3, &C9114DbIntDlg::OnCh3) - ON_BN_CLICKED(IDC_RADIO_CH4, &C9114DbIntDlg::OnCh4) - ON_BN_CLICKED(IDC_RADIO_CH5, &C9114DbIntDlg::OnCh5) - ON_BN_CLICKED(IDC_RADIO_CH6, &C9114DbIntDlg::OnCh6) - ON_BN_CLICKED(IDC_RADIO_CH7, &C9114DbIntDlg::OnCh7) - ON_WM_TIMER() - ON_BN_CLICKED(IDC_BT_STOP, &C9114DbIntDlg::OnStop) -END_MESSAGE_MAP() - - -// C9114DbIntDlg message handlers - -BOOL C9114DbIntDlg::OnInitDialog() -{ - CDialog::OnInitDialog(); - - // Add "About..." menu item to system menu. - - // IDM_ABOUTBOX must be in the system command range. - ASSERT((IDM_ABOUTBOX & 0xFFF0) == IDM_ABOUTBOX); - ASSERT(IDM_ABOUTBOX < 0xF000); - - CMenu* pSysMenu = GetSystemMenu(FALSE); - if (pSysMenu != NULL) - { - BOOL bNameValid; - CString strAboutMenu; - bNameValid = strAboutMenu.LoadString(IDS_ABOUTBOX); - ASSERT(bNameValid); - if (!strAboutMenu.IsEmpty()) - { - pSysMenu->AppendMenu(MF_SEPARATOR); - pSysMenu->AppendMenu(MF_STRING, IDM_ABOUTBOX, strAboutMenu); - } - } - - // Set the icon for this dialog. The framework does this automatically - // when the application's main window is not a dialog - SetIcon(m_hIcon, TRUE); // Set big icon - SetIcon(m_hIcon, FALSE); // Set small icon - - // TODO: Add extra initialization here - x_divider = 5; y_divider = 4; - - OnBrush = CreateSolidBrush( RGB(255,0,0) ); - OffBrush = CreateSolidBrush( RGB(125,0,0) ); - - RedPen.CreatePen( PS_SOLID, 1, RGB(255,0,0)); - - - if( n_PlotWidth == -1 && n_PlotHeight == -1 ) - { - ((CWnd*)GetDlgItem(IDC_STATIC_DRAW))->GetWindowRect(&plotRect); - ScreenToClient(&plotRect); - - n_PlotWidth = min( plotRect.Width(), 512); - n_PlotHeight = plotRect.Height() - 10; - } - - // set the default SampleRate - SetDlgItemInt( IDC_EDIT_SAMPLE_RATE, (UINT)(m_fSampleRate/1000) ); - SetDlgItemInt( IDC_EDIT_BUF_SIZE, (UINT)(m_dwReadCount) ); - ((CButton*)GetDlgItem( IDC_RADIO_CH0 ))->SetCheck( TRUE ); - - m_wChannel = 0; - - max_range = 10.0; - min_range = -10.0; - - return TRUE; // return TRUE unless you set the focus to a control -} - -void C9114DbIntDlg::OnSysCommand(UINT nID, LPARAM lParam) -{ - if ((nID & 0xFFF0) == IDM_ABOUTBOX) - { - CAboutDlg dlgAbout; - dlgAbout.DoModal(); - } - else - { - CDialog::OnSysCommand(nID, lParam); - } -} - -// If you add a minimize button to your dialog, you will need the code below -// to draw the icon. For MFC applications using the document/view model, -// this is automatically done for you by the framework. - -void C9114DbIntDlg::OnPaint() -{ - if (IsIconic()) - { - CPaintDC dc(this); // device context for painting - - SendMessage(WM_ICONERASEBKGND, reinterpret_cast(dc.GetSafeHdc()), 0); - - // Center icon in client rectangle - int cxIcon = GetSystemMetrics(SM_CXICON); - int cyIcon = GetSystemMetrics(SM_CYICON); - CRect rect; - GetClientRect(&rect); - int x = (rect.Width() - cxIcon + 1) / 2; - int y = (rect.Height() - cyIcon + 1) / 2; - - // Draw the icon - dc.DrawIcon(x, y, m_hIcon); - } - else - { - redraw_display_area(); - CDialog::OnPaint(); - } -} - -// The system calls this function to obtain the cursor to display while the user drags -// the minimized window. -HCURSOR C9114DbIntDlg::OnQueryDragIcon() -{ - return static_cast(m_hIcon); -} - - -void C9114DbIntDlg::redraw_display_area(void) -{ - CPen *oldPen; - - int oldMode; - COLORREF oldColor; - - CString y_lable; - - CPen minor_tick( PS_SOLID,1,RGB(132,130,132) ); -// CPen y_grid( PS_SOLID,1,RGB(206,203,132) ); - - int i, x_intv, y_intv; -// long total_sec; - - CClientDC dc_plot(this); - - // draw the base-line for x-y axises - oldPen = (CPen *)dc_plot.SelectStockObject(BLACK_PEN); - - // redraw the background - dc_plot.FillSolidRect( plotRect, RGB(0,0,0) ); - - // Re-Draw the AREA for Y-Lable - { - CBrush DIALOG_BRUSH; - CRect redraw_area, full_client; - - GetClientRect(&full_client); - ScreenToClient(&full_client); - - redraw_area.left = full_client.left; - redraw_area.top = plotRect.top - 5; - redraw_area.right = plotRect.left - 3; - redraw_area.bottom = plotRect.bottom + 10; - - DIALOG_BRUSH.CreateSysColorBrush( COLOR_3DFACE ); - - dc_plot.FillRect( redraw_area, &DIALOG_BRUSH ); - - DIALOG_BRUSH.DeleteObject(); - } - - dc_plot.MoveTo( plotRect.left - 3, plotRect.top ); - dc_plot.LineTo( plotRect.left - 3, plotRect.bottom ); - - // calculate the interval for tick/grid - y_intv = (plotRect.Height() - 10) /y_divider; - x_intv = plotRect.Width()/x_divider; - - - // set the color for tick - oldColor = dc_plot.SetTextColor( RGB(0,0,0) ); - oldMode = dc_plot.SetBkMode( TRANSPARENT ); - - for( i=0; i<= y_divider; i++ ) - { - CString tick_str; - CRect tmp_rect, tick_rect; - - // draw the tick for y-axis - dc_plot.MoveTo( plotRect.left -12, plotRect.bottom -5 - (i*y_intv) ); - dc_plot.LineTo( plotRect.left -3, plotRect.bottom -5 - (i*y_intv) ); - - tick_str.Format( _T("%.1f"), ( ((max_range-min_range)/y_divider) * i)+min_range ); - - // calculate the rectangle for text - dc_plot.DrawText( tick_str, &tmp_rect, DT_CALCRECT|DT_SINGLELINE ); - tick_rect.right = plotRect.left -14; - tick_rect.left = tick_rect.right - tmp_rect.Width(); - tick_rect.top = plotRect.bottom -5 - (i*y_intv) - tmp_rect.Height()/2; - tick_rect.bottom = tick_rect.top + tmp_rect.Height(); - - // draw the text - dc_plot.DrawText( tick_str, &tick_rect, DT_SINGLELINE|DT_RIGHT ); - - } - - // draw the minor_tick for Y axises - dc_plot.SelectObject(&minor_tick); - for( i=0; i< y_divider; i++ ) - { - dc_plot.MoveTo( plotRect.left -9, plotRect.bottom -5 - (i*y_intv) - y_intv/2 ); - dc_plot.LineTo( plotRect.left -4, plotRect.bottom -5 - (i*y_intv) - y_intv/2 ); - } - - dc_plot.SetTextColor( oldColor ); - dc_plot.SetBkMode( oldMode ); - dc_plot.SelectObject( oldPen ); -} - -void C9114DbIntDlg::OnDestroy() -{ - CDialog::OnDestroy(); - - // TODO: Add your message handler code here - if( m_nTimer != -1 ) - { - KillTimer( m_nTimer ); - m_nTimer = -1; - } - - if (m_hMem != NULL) - { - GlobalUnfix(m_hMem); - GlobalUnlock(m_hMem); - GlobalFree(m_hMem); - - m_hMem = NULL; - } - - if( OnBrush != NULL ) - ::DeleteObject( OnBrush ); - - if( OffBrush != NULL ) - ::DeleteObject( OffBrush ); - - RedPen.DeleteObject(); - -} - -void C9114DbIntDlg::OnVScroll(UINT nSBCode, UINT nPos, CScrollBar* pScrollBar) -{ - // TODO: Add your message handler code here and/or call default - switch ( nSBCode ) - { - case SB_LINEUP : - m_fSampleRate += 5000.0; - if (m_fSampleRate > 100000.0 ) m_fSampleRate = 100000.0; - break; - case SB_LINEDOWN: - m_fSampleRate -= 5000; - if (m_fSampleRate < 5000 ) m_fSampleRate = 5000; - break; - } - - SetDlgItemInt( IDC_EDIT_SAMPLE_RATE, (UINT)(m_fSampleRate/1000) ); - - CDialog::OnVScroll(nSBCode, nPos, pScrollBar); -} - - -void C9114DbIntDlg::OnStop() -{ - // TODO: Add your control notification handler code here - U32 count; - - AI_AsyncClear(m_hCard, &count); - - if( m_nTimer != -1 ) - { - KillTimer( m_nTimer ); - m_nTimer = -1; - } - - GetDlgItem( IDC_BT_START )->EnableWindow(TRUE); - - GetDlgItem( IDC_RADIO_CH0 )->EnableWindow(TRUE); - GetDlgItem( IDC_RADIO_CH1 )->EnableWindow(TRUE); - GetDlgItem( IDC_RADIO_CH2 )->EnableWindow(TRUE); - GetDlgItem( IDC_RADIO_CH3 )->EnableWindow(TRUE); - GetDlgItem( IDC_RADIO_CH4 )->EnableWindow(TRUE); - GetDlgItem( IDC_RADIO_CH5 )->EnableWindow(TRUE); - GetDlgItem( IDC_RADIO_CH6 )->EnableWindow(TRUE); - GetDlgItem( IDC_RADIO_CH7 )->EnableWindow(TRUE); -} - -void C9114DbIntDlg::OnStart() -{ - // TODO: Add your control notification handler code here - DWORD mem_size; - CString strTemp; - I16 err; - - GetDlgItem( IDC_BT_START )->EnableWindow(FALSE); - - GetDlgItem( IDC_RADIO_CH0 )->EnableWindow(FALSE); - GetDlgItem( IDC_RADIO_CH1 )->EnableWindow(FALSE); - GetDlgItem( IDC_RADIO_CH2 )->EnableWindow(FALSE); - GetDlgItem( IDC_RADIO_CH3 )->EnableWindow(FALSE); - GetDlgItem( IDC_RADIO_CH4 )->EnableWindow(FALSE); - GetDlgItem( IDC_RADIO_CH5 )->EnableWindow(FALSE); - GetDlgItem( IDC_RADIO_CH6 )->EnableWindow(FALSE); - GetDlgItem( IDC_RADIO_CH7 )->EnableWindow(FALSE); - - m_dwReadCount = GetDlgItemInt(IDC_EDIT_BUF_SIZE); - if (m_dwReadCount % 512) - { - AfxMessageBox( TEXT("Buffer Size should be multiple of 512") ); - return; - } - - if (m_hMem != NULL) - { - GlobalUnfix(m_hMem); - GlobalUnlock(m_hMem); - GlobalFree(m_hMem); - - m_hMem = NULL; - } - - // allocate a memory for user DMA buffer - mem_size = m_dwReadCount * sizeof(I32); - m_hMem = GlobalAlloc(GMEM_ZEROINIT, mem_size); - m_pAIBuf = (U32*) GlobalLock(m_hMem); - if (m_pAIBuf == NULL ) - { - AfxMessageBox( TEXT("Memory allocation failed"), MB_OK); - return; - } - - GlobalFix(m_hMem); - - err=AI_9114_Config(m_hCard, TRIG_INT_PACER); - - if (err!=0) - { - strTemp.Format( TEXT("AI_9111_Config error=%d"), err); - AfxMessageBox( strTemp ); - } - - err=AI_AsyncDblBufferMode(m_hCard, 1); // single-buffer mode - if (err!=0) - { - strTemp.Format( TEXT("AI_DblBufferMode error=%d"), err); - AfxMessageBox( strTemp ); - } - - err=AI_ContReadChannel (m_hCard, m_wChannel, m_wRange, (U16*)m_pAIBuf, m_dwReadCount, (F64)m_fSampleRate, ASYNCH_OP); - if (err!=0) - { - strTemp.Format( TEXT("AI_ContReadChannel error=%d"), err); - AfxMessageBox( strTemp ); - } - - m_nTimer = SetTimer( 1, 5, NULL ); - -} - -int C9114DbIntDlg::display_buffer_data(U32* pBuf) -{ - CClientDC dc_plot(this); - int nDraw_Origin_Y; - int cur_channel; - - int newY = -1; - int newX = -1; - U32 index; - I16 ai_data; - U32 dwDataSize = (m_dwReadCount/2); - - // redraw the background - dc_plot.FillSolidRect( plotRect, RGB(0,0,0) ); - - dc_plot.SelectObject(&RedPen); - nDraw_Origin_Y = ( plotRect.bottom - 5 ) - n_PlotHeight/2; - - for( index=0; index> 16) ); // (n_PlotHeight/2) * ai_data/32768 ) --> ( n_PlotHeight * ai_data / 65536) ) --> (n_PlotHeight * ai_data) >> 16) - - newX = (int)( index*n_PlotWidth/dwDataSize + plotRect.left ); - - if ( index == 0 ) - { - dc_plot.MoveTo( newX, newY ); - } - else - { - dc_plot.MoveTo( m_oldX, m_oldY ); - dc_plot.LineTo( newX, newY ); - } - - m_oldX = newX; - m_oldY = newY; - } - - return 0; -} - -void C9114DbIntDlg::OnTimer(UINT_PTR nIDEvent) -{ - // TODO: Add your message handler code here and/or call default - BOOLEAN HalfReady; - BOOLEAN fstop; - - AI_AsyncDblBufferHalfReady(m_hCard, &HalfReady, &fstop); - - if( HalfReady ) // half-buffer ready - { - AI_AsyncDblBufferTransfer(m_hCard, (U16*)m_pAIBuf); - display_buffer_data( m_pAIBuf ); - } - - CDialog::OnTimer(nIDEvent); -} - -void C9114DbIntDlg::OnCh0() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_RADIO_CH0 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_wChannel = 0; - } - -} - -void C9114DbIntDlg::OnCh1() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_RADIO_CH1 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_wChannel = 1; - } -} - -void C9114DbIntDlg::OnCh2() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_RADIO_CH2 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_wChannel = 2; - } -} - -void C9114DbIntDlg::OnCh3() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_RADIO_CH3 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_wChannel = 3; - } -} - -void C9114DbIntDlg::OnCh4() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_RADIO_CH4 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_wChannel = 4; - } -} - -void C9114DbIntDlg::OnCh5() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_RADIO_CH5 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_wChannel = 5; - } -} - -void C9114DbIntDlg::OnCh6() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_RADIO_CH6 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_wChannel = 6; - } -} - -void C9114DbIntDlg::OnCh7() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_RADIO_CH7 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_wChannel = 7; - } -} - - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9114/SDK9114DbfInt/9114DbIntDlg.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9114/SDK9114DbfInt/9114DbIntDlg.h deleted file mode 100644 index a115f67..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9114/SDK9114DbfInt/9114DbIntDlg.h +++ /dev/null @@ -1,79 +0,0 @@ - -// 9114DbIntDlg.h : header file -#pragma once -#include "afxcmn.h" -#include "afxwin.h" - -#include "Dask64.h" - -#ifndef MAX_CHAN_9111 -#define MAX_CHAN_9111 16 -#endif - -// C9114DbIntDlg dialog -class C9114DbIntDlg : public CDialog -{ -// Construction -public: - C9114DbIntDlg(I16 hCard, U16 wCardType, CWnd* pParent = NULL); // standard constructor - -// Dialog Data - enum { IDD = IDD_PCI9114_CINT_DIALOG }; - - protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - - -// Implementation -protected: - HICON m_hIcon; - UINT_PTR m_nTimer; - I16 m_hCard; - U16 m_wCardType; - double m_fSampleRate; - U16 m_wScanChans; - HANDLE m_hMem; - U32 *m_pAIBuf; - U16 m_wRange; - int m_oldY; - int m_oldX; - U32 m_dwReadCount; - U16 m_wChannel; - U16 m_wPostCount; - - // Generated message map functions - virtual BOOL OnInitDialog(); - afx_msg void OnSysCommand(UINT nID, LPARAM lParam); - afx_msg void OnPaint(); - afx_msg HCURSOR OnQueryDragIcon(); - DECLARE_MESSAGE_MAP() - -public: - WORD max_val; - WORD min_val; - double max_range; - double min_range; - int n_PlotWidth; - int n_PlotHeight; - int y_divider; - int x_divider; - int m_DisplayScale; - HBRUSH OnBrush; - HBRUSH OffBrush; - CPen RedPen; - void redraw_display_area(void); - afx_msg void OnDestroy(); - afx_msg void OnVScroll(UINT nSBCode, UINT nPos, CScrollBar* pScrollBar); - afx_msg void OnStart(); - int display_buffer_data(U32* pBuf); - afx_msg void OnCh0(); - afx_msg void OnCh1(); - afx_msg void OnCh2(); - afx_msg void OnCh3(); - afx_msg void OnCh4(); - afx_msg void OnCh5(); - afx_msg void OnCh6(); - afx_msg void OnCh7(); - afx_msg void OnTimer(UINT_PTR nIDEvent); - afx_msg void OnStop(); -}; diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9114/SDK9114DbfInt/CardIDDlg.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9114/SDK9114DbfInt/CardIDDlg.cpp deleted file mode 100644 index ef4d394..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9114/SDK9114DbfInt/CardIDDlg.cpp +++ /dev/null @@ -1,77 +0,0 @@ -// CardIDDlg.cpp : implementation file -// -#include "stdafx.h" -#include "9114DbInt.h" -#include "9114DbIntDlg.h" -#include "CardIDDlg.h" - -// CCardIDDlg dialog - -IMPLEMENT_DYNAMIC(CCardIDDlg, CDialog) - -CCardIDDlg::CCardIDDlg(int nCardIdx, CWnd* pParent /*=NULL*/) - : CDialog(CCardIDDlg::IDD, pParent) -{ - m_nCardIdx = nCardIdx; -} - -CCardIDDlg::~CCardIDDlg() -{ -} - -void CCardIDDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); - DDX_Control(pDX, IDC_COMBO_CARDID, m_cbCardID); - DDX_Control(pDX, IDC_COMBO_CARDTYPE, m_cbCardType); -} - - -BEGIN_MESSAGE_MAP(CCardIDDlg, CDialog) -// ON_CBN_SELCHANGE(IDC_COMBO_CARDID, &CCardIDDlg::OnCbnSelchangeComboCardid) -ON_BN_CLICKED(IDOK, &CCardIDDlg::OnBnClickedOk) -//ON_WM_CTLCOLOR() -END_MESSAGE_MAP() - - -// CCardIDDlg message handlers - - -void CCardIDDlg::OnBnClickedOk() -{ - // TODO: Add your control notification handler code here - -// UpdateData(TRUE); - m_nCardIdx = m_cbCardID.GetCurSel(); - m_CardType = PCI_9114DG + m_cbCardType.GetCurSel(); - - OnOK(); -} - -BOOL CCardIDDlg::OnInitDialog() -{ - CDialog::OnInitDialog(); - - // TODO: Add extra initialization here - m_cbCardID.SetCurSel( m_nCardIdx ); - - m_cbCardType.SetCurSel( 0 ); - m_CardType = PCI_9114DG; - - return TRUE; // return TRUE unless you set the focus to a control - // EXCEPTION: OCX Property Pages should return FALSE -} - -// the function to get the selected CardID -int CCardIDDlg::GetCardID(void) -{ - return m_nCardIdx; -} - - -U16 CCardIDDlg::GetCardType(void) -{ - return m_CardType; -} - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9114/SDK9114DbfInt/CardIDDlg.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9114/SDK9114DbfInt/CardIDDlg.h deleted file mode 100644 index 23399df..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9114/SDK9114DbfInt/CardIDDlg.h +++ /dev/null @@ -1,35 +0,0 @@ -#pragma once -#include "afxwin.h" - -#include "Dask64.h" - -// CCardIDDlg dialog - -class CCardIDDlg : public CDialog -{ - DECLARE_DYNAMIC(CCardIDDlg) - -public: - CCardIDDlg(int nCardIdx, CWnd* pParent = NULL); // standard constructor - virtual ~CCardIDDlg(); - -// Dialog Data - enum { IDD = IDD_CARDID_DIALOG }; - -protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - - DECLARE_MESSAGE_MAP() -public: - virtual BOOL OnInitDialog(); - afx_msg void OnBnClickedOk(); - // the setting of CardID ComboBox - int m_nCardIdx; - U16 m_CardType; - // the control of CardID ComboBox - CComboBox m_cbCardID; - CComboBox m_cbCardType; - // the function to get the selected CardID - int GetCardID(void); - U16 GetCardType(void); -}; diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9114/SDK9114DbfInt/ReadMe.txt b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9114/SDK9114DbfInt/ReadMe.txt deleted file mode 100644 index c487b51..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9114/SDK9114DbfInt/ReadMe.txt +++ /dev/null @@ -1,93 +0,0 @@ -================================================================================ - MICROSOFT FOUNDATION CLASS LIBRARY : 9114DbInt Project Overview -=============================================================================== - -The application wizard has created this 9114DbInt application for -you. This application not only demonstrates the basics of using the Microsoft -Foundation Classes but is also a starting point for writing your application. - -This file contains a summary of what you will find in each of the files that -make up your 9114DbInt application. - -9114DbInt.vcproj - This is the main project file for VC++ projects generated using an application wizard. - It contains information about the version of Visual C++ that generated the file, and - information about the platforms, configurations, and project features selected with the - application wizard. - -9114DbInt.h - This is the main header file for the application. It includes other - project specific headers (including Resource.h) and declares the - C9114DbIntApp application class. - -9114DbInt.cpp - This is the main application source file that contains the application - class C9114DbIntApp. - -9114DbInt.rc - This is a listing of all of the Microsoft Windows resources that the - program uses. It includes the icons, bitmaps, and cursors that are stored - in the RES subdirectory. This file can be directly edited in Microsoft - Visual C++. Your project resources are in 1033. - -res\9114DbInt.ico - This is an icon file, which is used as the application's icon. This - icon is included by the main resource file 9114DbInt.rc. - -res\My9114DbInt.rc2 - This file contains resources that are not edited by Microsoft - Visual C++. You should place all resources not editable by - the resource editor in this file. - - -///////////////////////////////////////////////////////////////////////////// - -The application wizard creates one dialog class: - -9114DbIntDlg.h, 9114DbIntDlg.cpp - the dialog - These files contain your C9114DbIntDlg class. This class defines - the behavior of your application's main dialog. The dialog's template is - in 9114DbInt.rc, which can be edited in Microsoft Visual C++. - - -///////////////////////////////////////////////////////////////////////////// - -Other Features: - -ActiveX Controls - The application includes support to use ActiveX controls. - -///////////////////////////////////////////////////////////////////////////// - -Other standard files: - -StdAfx.h, StdAfx.cpp - These files are used to build a precompiled header (PCH) file - named 9114DbInt.pch and a precompiled types file named StdAfx.obj. - -Resource.h - This is the standard header file, which defines new resource IDs. - Microsoft Visual C++ reads and updates this file. - -9114DbInt.manifest - Application manifest files are used by Windows XP to describe an applications - dependency on specific versions of Side-by-Side assemblies. The loader uses this - information to load the appropriate assembly from the assembly cache or private - from the application. The Application manifest maybe included for redistribution - as an external .manifest file that is installed in the same folder as the application - executable or it may be included in the executable in the form of a resource. -///////////////////////////////////////////////////////////////////////////// - -Other notes: - -The application wizard uses "TODO:" to indicate parts of the source code you -should add to or customize. - -If your application uses MFC in a shared DLL, you will need -to redistribute the MFC DLLs. If your application is in a language -other than the operating system's locale, you will also have to -redistribute the corresponding localized resources MFC90XXX.DLL. -For more information on both of these topics, please see the section on -redistributing Visual C++ applications in MSDN documentation. - -///////////////////////////////////////////////////////////////////////////// diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9114/SDK9114DbfInt/res/9114DbInt.ico b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9114/SDK9114DbfInt/res/9114DbInt.ico deleted file mode 100644 index d56fbcd..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9114/SDK9114DbfInt/res/9114DbInt.ico and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9114/SDK9114DbfInt/res/My9114DbInt.rc2 b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9114/SDK9114DbfInt/res/My9114DbInt.rc2 deleted file mode 100644 index 383cde2..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9114/SDK9114DbfInt/res/My9114DbInt.rc2 +++ /dev/null @@ -1,13 +0,0 @@ -// -// My9111int.RC2 - resources Microsoft Visual C++ does not edit directly -// - -#ifdef APSTUDIO_INVOKED -#error this file is not editable by Microsoft Visual C++ -#endif //APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// Add manually edited resources here... - -///////////////////////////////////////////////////////////////////////////// diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9114/SDK9114DbfInt/res/ch_set1.bmp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9114/SDK9114DbfInt/res/ch_set1.bmp deleted file mode 100644 index f2374ed..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9114/SDK9114DbfInt/res/ch_set1.bmp and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9114/SDK9114DbfInt/res/ch_set2.bmp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9114/SDK9114DbfInt/res/ch_set2.bmp deleted file mode 100644 index 32d0915..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9114/SDK9114DbfInt/res/ch_set2.bmp and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9114/SDK9114DbfInt/resource.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9114/SDK9114DbfInt/resource.h deleted file mode 100644 index a05a513..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9114/SDK9114DbfInt/resource.h +++ /dev/null @@ -1,41 +0,0 @@ -//{{NO_DEPENDENCIES}} -// Microsoft Visual C++ generated include file. -// Used by 9114DbInt.rc -// -#define IDM_ABOUTBOX 0x0010 -#define IDD_ABOUTBOX 100 -#define IDS_ABOUTBOX 101 -#define IDD_PCI9114_CINT_DIALOG 102 -#define IDR_MAINFRAME 128 -#define IDD_CARDID_DIALOG 129 -#define IDB_BITMAP_SET1 131 -#define IDB_BITMAP_SET2 132 -#define IDC_STATIC_DRAW 1000 -#define IDC_COMBO_CARDID 1001 -#define IDC_COMBO_CARDTYPE 1002 -#define IDC_BT_START 1003 -#define IDC_EDIT_SAMPLE_RATE 1004 -#define IDC_SCROLLBAR_RATE 1005 -#define IDC_RADIO_CH0 1006 -#define IDC_RADIO_CH1 1007 -#define IDC_RADIO_CH2 1008 -#define IDC_RADIO_CH3 1009 -#define IDC_RADIO_CH4 1010 -#define IDC_RADIO_CH5 1011 -#define IDC_RADIO_CH6 1012 -#define IDC_RADIO_CH7 1013 -#define IDC_STATIC_01 1014 -#define IDC_EDIT_BUF_SIZE 1014 -#define IDC_STATIC_2 1015 -#define IDC_BT_STOP 1015 - -// Next default values for new objects -// -#ifdef APSTUDIO_INVOKED -#ifndef APSTUDIO_READONLY_SYMBOLS -#define _APS_NEXT_RESOURCE_VALUE 134 -#define _APS_NEXT_COMMAND_VALUE 32771 -#define _APS_NEXT_CONTROL_VALUE 1018 -#define _APS_NEXT_SYMED_VALUE 101 -#endif -#endif diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9114/SDK9114DbfInt/stdafx.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9114/SDK9114DbfInt/stdafx.cpp deleted file mode 100644 index ef80626..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9114/SDK9114DbfInt/stdafx.cpp +++ /dev/null @@ -1,8 +0,0 @@ - -// stdafx.cpp : source file that includes just the standard includes -// 9111int.pch will be the pre-compiled header -// stdafx.obj will contain the pre-compiled type information - -#include "stdafx.h" - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9114/SDK9114DbfInt/stdafx.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9114/SDK9114DbfInt/stdafx.h deleted file mode 100644 index 12123e2..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9114/SDK9114DbfInt/stdafx.h +++ /dev/null @@ -1,60 +0,0 @@ - -// stdafx.h : include file for standard system include files, -// or project specific include files that are used frequently, -// but are changed infrequently - -#pragma once - -#ifndef _SECURE_ATL -#define _SECURE_ATL 1 -#endif - -#ifndef VC_EXTRALEAN -#define VC_EXTRALEAN // Exclude rarely-used stuff from Windows headers -#endif - -#include "targetver.h" - -#define _ATL_CSTRING_EXPLICIT_CONSTRUCTORS // some CString constructors will be explicit - -// turns off MFC's hiding of some common and often safely ignored warning messages -#define _AFX_ALL_WARNINGS - -#include // MFC core and standard components -#include // MFC extensions - - -#include // MFC Automation classes - - - -#ifndef _AFX_NO_OLE_SUPPORT -#include // MFC support for Internet Explorer 4 Common Controls -#endif -#ifndef _AFX_NO_AFXCMN_SUPPORT -#include // MFC support for Windows Common Controls -#endif // _AFX_NO_AFXCMN_SUPPORT - -#include // MFC support for ribbons and control bars - - - - - - - - - -#ifdef _UNICODE -#if defined _M_IX86 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='x86' publicKeyToken='6595b64144ccf1df' language='*'\"") -#elif defined _M_IA64 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='ia64' publicKeyToken='6595b64144ccf1df' language='*'\"") -#elif defined _M_X64 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='amd64' publicKeyToken='6595b64144ccf1df' language='*'\"") -#else -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='*' publicKeyToken='6595b64144ccf1df' language='*'\"") -#endif -#endif - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9114/SDK9114DbfInt/targetver.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9114/SDK9114DbfInt/targetver.h deleted file mode 100644 index 11730d5..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9114/SDK9114DbfInt/targetver.h +++ /dev/null @@ -1,26 +0,0 @@ - -#pragma once - -// The following macros define the minimum required platform. The minimum required platform -// is the earliest version of Windows, Internet Explorer etc. that has the necessary features to run -// your application. The macros work by enabling all features available on platform versions up to and -// including the version specified. - -// Modify the following defines if you have to target a platform prior to the ones specified below. -// Refer to MSDN for the latest info on corresponding values for different platforms. -#ifndef WINVER // Specifies that the minimum required platform is Windows Vista. -#define WINVER 0x0600 // Change this to the appropriate value to target other versions of Windows. -#endif - -#ifndef _WIN32_WINNT // Specifies that the minimum required platform is Windows Vista. -#define _WIN32_WINNT 0x0600 // Change this to the appropriate value to target other versions of Windows. -#endif - -#ifndef _WIN32_WINDOWS // Specifies that the minimum required platform is Windows 98. -#define _WIN32_WINDOWS 0x0410 // Change this to the appropriate value to target Windows Me or later. -#endif - -#ifndef _WIN32_IE // Specifies that the minimum required platform is Internet Explorer 7.0. -#define _WIN32_IE 0x0700 // Change this to the appropriate value to target other versions of IE. -#endif - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9114/SDK9114int/9111int.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9114/SDK9114int/9111int.suo deleted file mode 100644 index 78a64b3..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9114/SDK9114int/9111int.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9114/SDK9114int/9114int.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9114/SDK9114int/9114int.cpp deleted file mode 100644 index d2eedf8..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9114/SDK9114int/9114int.cpp +++ /dev/null @@ -1,111 +0,0 @@ - -// 9114int.cpp : Defines the class behaviors for the application. -// - -#include "stdafx.h" -#include "9114int.h" -#include "9114intDlg.h" -#include "CardIDDlg.h" - -#ifdef _DEBUG -#define new DEBUG_NEW -#endif - - -// C9114intApp - -BEGIN_MESSAGE_MAP(C9114intApp, CWinAppEx) - ON_COMMAND(ID_HELP, &CWinApp::OnHelp) -END_MESSAGE_MAP() - - -// C9114intApp construction - -C9114intApp::C9114intApp() -{ - // TODO: add construction code here, - // Place all significant initialization in InitInstance -} - - -// The one and only C9114intApp object - -C9114intApp theApp; - - -// C9114intApp initialization - -BOOL C9114intApp::InitInstance() -{ - int nCardID = 0; - I16 hCard; - U16 wCardType; - CString strTemp; - INT_PTR nResponse; - - // InitCommonControlsEx() is required on Windows XP if an application - // manifest specifies use of ComCtl32.dll version 6 or later to enable - // visual styles. Otherwise, any window creation will fail. - INITCOMMONCONTROLSEX InitCtrls; - InitCtrls.dwSize = sizeof(InitCtrls); - // Set this to include all the common control classes you want to use - // in your application. - InitCtrls.dwICC = ICC_WIN95_CLASSES; - InitCommonControlsEx(&InitCtrls); - - CWinAppEx::InitInstance(); - - AfxEnableControlContainer(); - - // Standard initialization - // If you are not using these features and wish to reduce the size - // of your final executable, you should remove from the following - // the specific initialization routines you do not need - // Change the registry key under which our settings are stored - // TODO: You should modify this string to be something appropriate - // such as the name of your company or organization - SetRegistryKey(_T("Local AppWizard-Generated Applications")); - - CCardIDDlg CardDlg( nCardID ); - - nResponse = CardDlg.DoModal(); - if (nResponse == IDOK) - { - nCardID = CardDlg.GetCardID(); - wCardType = CardDlg.GetCardType(); - - if ((hCard=Register_Card(wCardType, nCardID)) < 0) - { - strTemp.Format( TEXT("Register_Card Error = %d"), hCard); - AfxMessageBox( strTemp ); - } - else - { - C9114intDlg dlg(hCard, wCardType); - m_pMainWnd = &dlg; - nResponse = dlg.DoModal(); - if (nResponse == IDOK) - { - // TODO: Place code here to handle when the dialog is - // dismissed with OK - } - else if (nResponse == IDCANCEL) - { - // TODO: Place code here to handle when the dialog is - // dismissed with Cancel - } - - if (hCard >= 0) Release_Card(hCard); - } - - } - else if (nResponse == IDCANCEL) - { - // TODO: Place code here to handle when the dialog is - // dismissed with Cancel - } - - // Since the dialog has been closed, return FALSE so that we exit the - // application, rather than start the application's message pump. - return FALSE; -} diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9114/SDK9114int/9114int.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9114/SDK9114int/9114int.h deleted file mode 100644 index 3b9ee8b..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9114/SDK9114int/9114int.h +++ /dev/null @@ -1,32 +0,0 @@ - -// 9114int.h : main header file for the PROJECT_NAME application -// - -#pragma once - -#ifndef __AFXWIN_H__ - #error "include 'stdafx.h' before including this file for PCH" -#endif - -#include "resource.h" // main symbols - - -// C9114intApp: -// See 9114int.cpp for the implementation of this class -// - -class C9114intApp : public CWinAppEx -{ -public: - C9114intApp(); - -// Overrides - public: - virtual BOOL InitInstance(); - -// Implementation - - DECLARE_MESSAGE_MAP() -}; - -extern C9114intApp theApp; \ No newline at end of file diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9114/SDK9114int/9114int.rc b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9114/SDK9114int/9114int.rc deleted file mode 100644 index 309f86d..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9114/SDK9114int/9114int.rc +++ /dev/null @@ -1,309 +0,0 @@ -// Microsoft Visual C++ generated resource script. -// -#include "resource.h" - -#define APSTUDIO_READONLY_SYMBOLS -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 2 resource. -// -#ifndef APSTUDIO_INVOKED -#include "targetver.h" -#endif -#include "afxres.h" - -///////////////////////////////////////////////////////////////////////////// -#undef APSTUDIO_READONLY_SYMBOLS - -///////////////////////////////////////////////////////////////////////////// -// Chinese (Taiwan) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_CHT) -#ifdef _WIN32 -LANGUAGE LANG_CHINESE, SUBLANG_CHINESE_TRADITIONAL -#pragma code_page(950) -#endif //_WIN32 - -#ifdef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// TEXTINCLUDE -// - -1 TEXTINCLUDE -BEGIN - "resource.h\0" -END - -2 TEXTINCLUDE -BEGIN - "#ifndef APSTUDIO_INVOKED\r\n" - "#include ""targetver.h""\r\n" - "#endif\r\n" - "#include ""afxres.h""\r\n" - "\0" -END - -3 TEXTINCLUDE -BEGIN - "#define _AFX_NO_SPLITTER_RESOURCES\r\n" - "#define _AFX_NO_OLE_RESOURCES\r\n" - "#define _AFX_NO_TRACKER_RESOURCES\r\n" - "#define _AFX_NO_PROPERTY_RESOURCES\r\n" - "\r\n" - "#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)\r\n" - "LANGUAGE 9, 1\r\n" - "#pragma code_page(1252)\r\n" - "#include ""res\\My9114int.rc2"" // non-Microsoft Visual C++ edited resources\r\n" - "#include ""afxres.rc"" // Standard components\r\n" - "#endif\r\n" - "\0" -END - -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// Icon -// - -// Icon with lowest ID value placed first to ensure application icon -// remains consistent on all systems. -IDR_MAINFRAME ICON "res\\9114int.ico" -#endif // Chinese (Taiwan) resources -///////////////////////////////////////////////////////////////////////////// - - -///////////////////////////////////////////////////////////////////////////// -// English (U.S.) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -#ifdef _WIN32 -LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US -#pragma code_page(1252) -#endif //_WIN32 - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog -// - -IDD_ABOUTBOX DIALOGEX 0, 0, 170, 62 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "About 9114int" -FONT 8, "MS Shell Dlg", 0, 0, 0x1 -BEGIN - ICON IDR_MAINFRAME,IDC_STATIC,14,14,21,20 - LTEXT "9114int, Version 1.0",IDC_STATIC,42,14,114,8,SS_NOPREFIX - LTEXT "Copyright (C) 2010",IDC_STATIC,42,26,114,8 - DEFPUSHBUTTON "OK",IDOK,113,41,50,14,WS_GROUP -END - -IDD_9114INT_DIALOG DIALOGEX 0, 0, 365, 232 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU -EXSTYLE WS_EX_APPWINDOW -CAPTION "9114 Autoscan Interrupt" -FONT 8, "MS Shell Dlg", 0, 0, 0x1 -BEGIN - GROUPBOX "",IDC_STATIC_DRAW,45,9,227,161,NOT WS_VISIBLE - CONTROL 132,IDC_STATIC,"Static",SS_BITMAP,327,28,11,45 - CONTROL 131,IDC_STATIC,"Static",SS_BITMAP,298,29,9,44 - LTEXT "0",IDC_STATIC,286,29,10,11 - LTEXT "1",IDC_STATIC,286,40,10,11 - LTEXT "2",IDC_STATIC,286,51,10,11 - LTEXT "3",IDC_STATIC,286,63,10,11 - LTEXT "4",IDC_STATIC,318,29,10,11 - LTEXT "5",IDC_STATIC,318,40,10,11 - LTEXT "6",IDC_STATIC,318,51,10,11 - LTEXT "7",IDC_STATIC,318,63,10,11 - LTEXT "Range : +/- 5V",IDC_STATIC,283,130,57,15 - COMBOBOX IDC_COMBO_SCANCHAN,171,197,74,17,CBS_DROPDOWN | WS_VSCROLL | WS_TABSTOP - LTEXT "Scan Channels",IDC_STATIC,171,182,53,9 - EDITTEXT IDC_EDIT_SAMPLE_RATE,57,197,39,12,ES_AUTOHSCROLL | ES_READONLY - LTEXT "Sample Rate :",IDC_STATIC,57,182,49,9 - LTEXT "KHz",IDC_STATIC,109,198,15,9 - SCROLLBAR IDC_SCROLLBAR_RATE,97,195,9,11,SBS_VERT - PUSHBUTTON "Start",IDC_BT_START,275,188,75,22 -END - -IDD_CARDID_DIALOG DIALOGEX 0, 0, 165, 114 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "Card ID" -FONT 8, "MS Shell Dlg", 400, 0, 0x1 -BEGIN - COMBOBOX IDC_COMBO_CARDID,75,24,71,126,CBS_DROPDOWN | WS_VSCROLL | WS_TABSTOP - LTEXT "Card Number",IDC_STATIC_01,21,25,46,12 - PUSHBUTTON "OK",IDOK,22,86,58,19 - PUSHBUTTON "CANCEL",IDCANCEL,86,86,58,19 - COMBOBOX IDC_COMBO_CARDTYPE,75,46,71,126,CBS_DROPDOWN | WS_VSCROLL | WS_TABSTOP - LTEXT "Card Type",IDC_STATIC_2,29,47,37,12 -END - - -///////////////////////////////////////////////////////////////////////////// -// -// Version -// - -VS_VERSION_INFO VERSIONINFO - FILEVERSION 1,0,0,1 - PRODUCTVERSION 1,0,0,1 - FILEFLAGSMASK 0x3fL -#ifdef _DEBUG - FILEFLAGS 0x1L -#else - FILEFLAGS 0x0L -#endif - FILEOS 0x4L - FILETYPE 0x1L - FILESUBTYPE 0x0L -BEGIN - BLOCK "StringFileInfo" - BEGIN - BLOCK "040904e4" - BEGIN - VALUE "CompanyName", "TODO: " - VALUE "FileDescription", "TODO: " - VALUE "FileVersion", "1.0.0.1" - VALUE "InternalName", "9114int.exe" - VALUE "LegalCopyright", "TODO: (c) . All rights reserved." - VALUE "OriginalFilename", "9114int.exe" - VALUE "ProductName", "TODO: " - VALUE "ProductVersion", "1.0.0.1" - END - END - BLOCK "VarFileInfo" - BEGIN - VALUE "Translation", 0x409, 1252 - END -END - - -///////////////////////////////////////////////////////////////////////////// -// -// DESIGNINFO -// - -#ifdef APSTUDIO_INVOKED -GUIDELINES DESIGNINFO -BEGIN - IDD_CARDID_DIALOG, DIALOG - BEGIN - BOTTOMMARGIN, 105 - END -END -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog Info -// - -IDD_CARDID_DIALOG DLGINIT -BEGIN - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0030, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0031, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0032, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0033, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0034, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0035, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0036, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0037, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0038, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0039, - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3031, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3131, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3231, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3331, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3431, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3531, "\000" - IDC_COMBO_CARDTYPE, 0x403, 11, 0 -0x4350, 0x5f49, 0x3139, 0x3431, 0x4744, "\000" - IDC_COMBO_CARDTYPE, 0x403, 11, 0 -0x4350, 0x5f49, 0x3139, 0x3431, 0x5248, "\000" - 0 -END - -IDD_9114INT_DIALOG DLGINIT -BEGIN - IDC_COMBO_SCANCHAN, 0x403, 4, 0 -0x4843, 0x0030, - IDC_COMBO_SCANCHAN, 0x403, 8, 0 -0x4843, 0x7e30, 0x4843, 0x0031, - IDC_COMBO_SCANCHAN, 0x403, 8, 0 -0x4843, 0x7e30, 0x4843, 0x0032, - IDC_COMBO_SCANCHAN, 0x403, 8, 0 -0x4843, 0x7e30, 0x4843, 0x0033, - IDC_COMBO_SCANCHAN, 0x403, 8, 0 -0x4843, 0x7e30, 0x4843, 0x0034, - IDC_COMBO_SCANCHAN, 0x403, 8, 0 -0x4843, 0x7e30, 0x4843, 0x0035, - IDC_COMBO_SCANCHAN, 0x403, 8, 0 -0x4843, 0x7e30, 0x4843, 0x0036, - IDC_COMBO_SCANCHAN, 0x403, 8, 0 -0x4843, 0x7e30, 0x4843, 0x0037, - 0 -END - - -///////////////////////////////////////////////////////////////////////////// -// -// Bitmap -// - -IDB_BITMAP_SET1 BITMAP "res\\ch_set1.bmp" -IDB_BITMAP_SET2 BITMAP "res\\ch_set2.bmp" - -///////////////////////////////////////////////////////////////////////////// -// -// String Table -// - -STRINGTABLE -BEGIN - IDS_ABOUTBOX "&About 9114int..." -END - -#endif // English (U.S.) resources -///////////////////////////////////////////////////////////////////////////// - - - -#ifndef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 3 resource. -// -#define _AFX_NO_SPLITTER_RESOURCES -#define _AFX_NO_OLE_RESOURCES -#define _AFX_NO_TRACKER_RESOURCES -#define _AFX_NO_PROPERTY_RESOURCES - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -LANGUAGE 9, 1 -#pragma code_page(1252) -#include "res\My9114int.rc2" // non-Microsoft Visual C++ edited resources -#include "afxres.rc" // Standard components -#endif - -///////////////////////////////////////////////////////////////////////////// -#endif // not APSTUDIO_INVOKED - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9114/SDK9114int/9114int.sln b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9114/SDK9114int/9114int.sln deleted file mode 100644 index 81287fa..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9114/SDK9114int/9114int.sln +++ /dev/null @@ -1,20 +0,0 @@ - -Microsoft Visual Studio Solution File, Format Version 10.00 -# Visual Studio 2008 -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "9114int", "9114int.vcproj", "{702163FB-B6DF-4EF5-9491-FC54D71509BC}" -EndProject -Global - GlobalSection(SolutionConfigurationPlatforms) = preSolution - Debug|x64 = Debug|x64 - Release|x64 = Release|x64 - EndGlobalSection - GlobalSection(ProjectConfigurationPlatforms) = postSolution - {702163FB-B6DF-4EF5-9491-FC54D71509BC}.Debug|x64.ActiveCfg = Debug|x64 - {702163FB-B6DF-4EF5-9491-FC54D71509BC}.Debug|x64.Build.0 = Debug|x64 - {702163FB-B6DF-4EF5-9491-FC54D71509BC}.Release|x64.ActiveCfg = Release|x64 - {702163FB-B6DF-4EF5-9491-FC54D71509BC}.Release|x64.Build.0 = Release|x64 - EndGlobalSection - GlobalSection(SolutionProperties) = preSolution - HideSolutionNode = FALSE - EndGlobalSection -EndGlobal diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9114/SDK9114int/9114int.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9114/SDK9114int/9114int.suo deleted file mode 100644 index dc8297d..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9114/SDK9114int/9114int.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9114/SDK9114int/9114int.vcproj b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9114/SDK9114int/9114int.vcproj deleted file mode 100644 index 4b10fb5..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9114/SDK9114int/9114int.vcproj +++ /dev/null @@ -1,294 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9114/SDK9114int/9114intDlg.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9114/SDK9114int/9114intDlg.cpp deleted file mode 100644 index 87ef25a..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9114/SDK9114int/9114intDlg.cpp +++ /dev/null @@ -1,494 +0,0 @@ - -// 9114intDlg.cpp : implementation file -// - -#include "stdafx.h" -#include "9114int.h" -#include "9114intDlg.h" - -#ifdef _DEBUG -#define new DEBUG_NEW -#endif - -CRect plotRect; -#define AI_SAMPLE_COUNT 10240 - -// CAboutDlg dialog used for App About - -class CAboutDlg : public CDialog -{ -public: - CAboutDlg(); - -// Dialog Data - enum { IDD = IDD_ABOUTBOX }; - - protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - -// Implementation -protected: - DECLARE_MESSAGE_MAP() -}; - -CAboutDlg::CAboutDlg() : CDialog(CAboutDlg::IDD) -{ -} - -void CAboutDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); -} - -BEGIN_MESSAGE_MAP(CAboutDlg, CDialog) -END_MESSAGE_MAP() - - -// C9114intDlg dialog - - - - -C9114intDlg::C9114intDlg(I16 hCard, U16 wCardType, CWnd* pParent /*=NULL*/) - : CDialog(C9114intDlg::IDD, pParent) -{ - m_hIcon = AfxGetApp()->LoadIcon(IDR_MAINFRAME); - - n_PlotWidth = n_PlotHeight = -1; - OnBrush = OffBrush = NULL; - - min_val = 0x00; - max_val = 0xFFFF; - - m_fSampleRate = 10000.0; // 10KHz - - m_hCard = hCard; - m_wCardType = wCardType; - m_wScanChans = 0; - m_nTimer = -1; - m_hMem=NULL; - - m_wRange = AD_B_5_V; - -} - -void C9114intDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); - DDX_Control(pDX, IDC_COMBO_SCANCHAN, m_cbScanChans); -} - -BEGIN_MESSAGE_MAP(C9114intDlg, CDialog) - ON_WM_SYSCOMMAND() - ON_WM_PAINT() - ON_WM_QUERYDRAGICON() - //}}AFX_MSG_MAP - ON_WM_DESTROY() - ON_WM_VSCROLL() - ON_CBN_SELCHANGE(IDC_COMBO_SCANCHAN, &C9114intDlg::OnScanChanSelchange) - ON_BN_CLICKED(IDC_BT_START, &C9114intDlg::OnStart) -END_MESSAGE_MAP() - - -// C9114intDlg message handlers - -BOOL C9114intDlg::OnInitDialog() -{ - CDialog::OnInitDialog(); - - // Add "About..." menu item to system menu. - - // IDM_ABOUTBOX must be in the system command range. - ASSERT((IDM_ABOUTBOX & 0xFFF0) == IDM_ABOUTBOX); - ASSERT(IDM_ABOUTBOX < 0xF000); - - CMenu* pSysMenu = GetSystemMenu(FALSE); - if (pSysMenu != NULL) - { - BOOL bNameValid; - CString strAboutMenu; - bNameValid = strAboutMenu.LoadString(IDS_ABOUTBOX); - ASSERT(bNameValid); - if (!strAboutMenu.IsEmpty()) - { - pSysMenu->AppendMenu(MF_SEPARATOR); - pSysMenu->AppendMenu(MF_STRING, IDM_ABOUTBOX, strAboutMenu); - } - } - - // Set the icon for this dialog. The framework does this automatically - // when the application's main window is not a dialog - SetIcon(m_hIcon, TRUE); // Set big icon - SetIcon(m_hIcon, FALSE); // Set small icon - - // TODO: Add extra initialization here - x_divider = 5; y_divider = 4; - - OnBrush = CreateSolidBrush( RGB(255,0,0) ); - OffBrush = CreateSolidBrush( RGB(125,0,0) ); - - RedPen.CreatePen( PS_SOLID, 1, RGB(255,0,0)); - GreenPen.CreatePen( PS_SOLID, 1, RGB(0,255,0)); - YellowPen.CreatePen( PS_SOLID, 1, RGB(255,255,0)); - BluePen.CreatePen( PS_SOLID, 1, RGB(0,0,255)); - LTBluePen.CreatePen( PS_SOLID, 1, RGB(0,128,255)); - LTRedPen.CreatePen( PS_SOLID, 1, RGB(255,128,0)); - LTGreenPen.CreatePen( PS_SOLID, 1, RGB(0,128,0)); - WhitePen.CreatePen( PS_SOLID, 1, RGB(255,255,255)); - - if( n_PlotWidth == -1 && n_PlotHeight == -1 ) - { - ((CWnd*)GetDlgItem(IDC_STATIC_DRAW))->GetWindowRect(&plotRect); - ScreenToClient(&plotRect); - - n_PlotWidth = min( plotRect.Width(), 512); - n_PlotHeight = plotRect.Height() - 10; - } - - - // set the default SampleRate - SetDlgItemInt( IDC_EDIT_SAMPLE_RATE, (UINT)(m_fSampleRate/1000) ); - m_cbScanChans.SetCurSel( 0 ); - - max_range = 5.0; - min_range = -5.0; - - return TRUE; // return TRUE unless you set the focus to a control -} - -void C9114intDlg::OnSysCommand(UINT nID, LPARAM lParam) -{ - if ((nID & 0xFFF0) == IDM_ABOUTBOX) - { - CAboutDlg dlgAbout; - dlgAbout.DoModal(); - } - else - { - CDialog::OnSysCommand(nID, lParam); - } -} - -// If you add a minimize button to your dialog, you will need the code below -// to draw the icon. For MFC applications using the document/view model, -// this is automatically done for you by the framework. - -void C9114intDlg::OnPaint() -{ - if (IsIconic()) - { - CPaintDC dc(this); // device context for painting - - SendMessage(WM_ICONERASEBKGND, reinterpret_cast(dc.GetSafeHdc()), 0); - - // Center icon in client rectangle - int cxIcon = GetSystemMetrics(SM_CXICON); - int cyIcon = GetSystemMetrics(SM_CYICON); - CRect rect; - GetClientRect(&rect); - int x = (rect.Width() - cxIcon + 1) / 2; - int y = (rect.Height() - cyIcon + 1) / 2; - - // Draw the icon - dc.DrawIcon(x, y, m_hIcon); - } - else - { - redraw_display_area(); - CDialog::OnPaint(); - } -} - -// The system calls this function to obtain the cursor to display while the user drags -// the minimized window. -HCURSOR C9114intDlg::OnQueryDragIcon() -{ - return static_cast(m_hIcon); -} - - -void C9114intDlg::redraw_display_area(void) -{ - CPen *oldPen; - - int oldMode; - COLORREF oldColor; - - CString y_lable; - - CPen minor_tick( PS_SOLID,1,RGB(132,130,132) ); -// CPen y_grid( PS_SOLID,1,RGB(206,203,132) ); - - int i, x_intv, y_intv; -// long total_sec; - - CClientDC dc_plot(this); - - // draw the base-line for x-y axises - oldPen = (CPen *)dc_plot.SelectStockObject(BLACK_PEN); - - // redraw the background - dc_plot.FillSolidRect( plotRect, RGB(0,0,0) ); - - // Re-Draw the AREA for Y-Lable - { - CBrush DIALOG_BRUSH; - CRect redraw_area, full_client; - - GetClientRect(&full_client); - ScreenToClient(&full_client); - - redraw_area.left = full_client.left; - redraw_area.top = plotRect.top - 5; - redraw_area.right = plotRect.left - 3; - redraw_area.bottom = plotRect.bottom + 10; - - DIALOG_BRUSH.CreateSysColorBrush( COLOR_3DFACE ); - - dc_plot.FillRect( redraw_area, &DIALOG_BRUSH ); - - DIALOG_BRUSH.DeleteObject(); - } - - dc_plot.MoveTo( plotRect.left - 3, plotRect.top ); - dc_plot.LineTo( plotRect.left - 3, plotRect.bottom ); - - // calculate the interval for tick/grid - y_intv = (plotRect.Height() - 10) /y_divider; - x_intv = plotRect.Width()/x_divider; - - - // set the color for tick - oldColor = dc_plot.SetTextColor( RGB(0,0,0) ); - oldMode = dc_plot.SetBkMode( TRANSPARENT ); - - for( i=0; i<= y_divider; i++ ) - { - CString tick_str; - CRect tmp_rect, tick_rect; - - // draw the tick for y-axis - dc_plot.MoveTo( plotRect.left -12, plotRect.bottom -5 - (i*y_intv) ); - dc_plot.LineTo( plotRect.left -3, plotRect.bottom -5 - (i*y_intv) ); - - tick_str.Format( _T("%.1f"), ( ((max_range-min_range)/y_divider) * i)+min_range ); - - // calculate the rectangle for text - dc_plot.DrawText( tick_str, &tmp_rect, DT_CALCRECT|DT_SINGLELINE ); - tick_rect.right = plotRect.left -14; - tick_rect.left = tick_rect.right - tmp_rect.Width(); - tick_rect.top = plotRect.bottom -5 - (i*y_intv) - tmp_rect.Height()/2; - tick_rect.bottom = tick_rect.top + tmp_rect.Height(); - - // draw the text - dc_plot.DrawText( tick_str, &tick_rect, DT_SINGLELINE|DT_RIGHT ); - - } - - // draw the minor_tick for Y axises - dc_plot.SelectObject(&minor_tick); - for( i=0; i< y_divider; i++ ) - { - dc_plot.MoveTo( plotRect.left -9, plotRect.bottom -5 - (i*y_intv) - y_intv/2 ); - dc_plot.LineTo( plotRect.left -4, plotRect.bottom -5 - (i*y_intv) - y_intv/2 ); - } - - dc_plot.SetTextColor( oldColor ); - dc_plot.SetBkMode( oldMode ); - dc_plot.SelectObject( oldPen ); -} - -void C9114intDlg::OnDestroy() -{ - CDialog::OnDestroy(); - - // TODO: Add your message handler code here - if( m_nTimer != -1 ) - { - KillTimer( m_nTimer ); - m_nTimer = -1; - } - - if (m_hMem != NULL) - { - GlobalUnfix(m_hMem); - GlobalUnlock(m_hMem); - GlobalFree(m_hMem); - - m_hMem = NULL; - } - - if( OnBrush != NULL ) - ::DeleteObject( OnBrush ); - - if( OffBrush != NULL ) - ::DeleteObject( OffBrush ); - - RedPen.DeleteObject(); - GreenPen.DeleteObject(); - YellowPen.DeleteObject(); - BluePen.DeleteObject(); - LTBluePen.DeleteObject(); - LTRedPen.DeleteObject(); - LTGreenPen.DeleteObject(); - WhitePen.DeleteObject(); -} - -void C9114intDlg::OnVScroll(UINT nSBCode, UINT nPos, CScrollBar* pScrollBar) -{ - // TODO: Add your message handler code here and/or call default - switch ( nSBCode ) - { - case SB_LINEUP : - m_fSampleRate += 5000.0; - if (m_fSampleRate > 100000.0 ) m_fSampleRate = 100000.0; - break; - case SB_LINEDOWN: - m_fSampleRate -= 5000.0; - if (m_fSampleRate < 5000.0 ) m_fSampleRate = 5000.0; - break; - } - - SetDlgItemInt( IDC_EDIT_SAMPLE_RATE, (UINT)(m_fSampleRate/1000) ); - - CDialog::OnVScroll(nSBCode, nPos, pScrollBar); -} - -void C9114intDlg::OnScanChanSelchange() -{ - // TODO: Add your control notification handler code here - int nIndex; - - nIndex = m_cbScanChans.GetCurSel(); - m_wScanChans = (U16)nIndex; -} - -void C9114intDlg::OnStart() -{ - // TODO: Add your control notification handler code here - DWORD mem_size; - CString strTemp; - I16 err; - - GetDlgItem( IDC_BT_START )->EnableWindow(FALSE); - - if (m_hMem != NULL) - { - GlobalUnfix(m_hMem); - GlobalUnlock(m_hMem); - GlobalFree(m_hMem); - - m_hMem = NULL; - } - - // allocate a memory for user DMA buffer - mem_size = AI_SAMPLE_COUNT * sizeof(I32); - m_hMem = GlobalAlloc(GMEM_ZEROINIT, mem_size); - m_pAIBuf = (U32*) GlobalLock(m_hMem); - - if (m_pAIBuf == NULL ) - { - AfxMessageBox( TEXT("Memory allocation failed"), MB_OK); - } - - GlobalFix(m_hMem); - - m_oldY[0] = m_oldY[1] = m_oldY[2] = m_oldY[3] = m_oldY[4] = m_oldY[5] = m_oldY[6] = m_oldY[7] = -1; - m_oldX[0] = m_oldX[1] = m_oldX[2] = m_oldX[3] = m_oldX[4] = m_oldX[5] = m_oldX[6] = m_oldX[7] = -1; - - err=AI_9114_Config(m_hCard, TRIG_INT_PACER); - if (err!=0) - { - strTemp.Format( TEXT("AI_9114_Config error=%d"), err); - AfxMessageBox( strTemp ); - } - - err=AI_AsyncDblBufferMode(m_hCard, 0); // single-buffer mode - if (err!=0) - { - strTemp.Format( TEXT("AI_DblBufferMode error=%d"), err); - AfxMessageBox( strTemp ); - } - - err=AI_ContScanChannels (m_hCard, m_wScanChans, m_wRange, (U16*)m_pAIBuf, AI_SAMPLE_COUNT, (F64)m_fSampleRate, SYNCH_OP); - if (err!=0) - { - strTemp.Format( TEXT("AI_ContReadChannel error=%d"), err); - AfxMessageBox( strTemp ); - } - - display_buffer_data(m_pAIBuf); - - GetDlgItem( IDC_BT_START )->EnableWindow(TRUE); - -} - -int C9114intDlg::display_buffer_data(U32* pBuf) -{ - CClientDC dc_plot(this); - int nDraw_Origin_Y; - int cur_channel; - - int newY = -1; - int newX = -1; - U32 index; - I16 ai_data; - - nDraw_Origin_Y = ( plotRect.bottom - 5 ) - n_PlotHeight/2; - - // redraw the background - dc_plot.FillSolidRect( plotRect, RGB(0,0,0) ); - - for( index=0; index> 16) ); // ( n_PlotHeight * ai_data / 65536) ); // ( (n_PlotHeight/2) * ai_data/32768 ) ); - - newX = (int)( index*n_PlotWidth/AI_SAMPLE_COUNT + plotRect.left ); - - switch(cur_channel) - { - case 0: - dc_plot.SelectObject(&YellowPen); - break; - case 1: - dc_plot.SelectObject(<GreenPen); - break; - case 2: - dc_plot.SelectObject(&BluePen); - break; - case 3: - dc_plot.SelectObject(&RedPen); - break; - case 4: - dc_plot.SelectObject(<BluePen); - break; - case 5: - dc_plot.SelectObject(<RedPen); - break; - case 6: - dc_plot.SelectObject(&GreenPen); - break; - case 7: - dc_plot.SelectObject(&WhitePen); - break; - } - - if ( m_oldX[cur_channel] == -1 ) - { - dc_plot.MoveTo( newX, newY ); - } - else - { - dc_plot.MoveTo( m_oldX[cur_channel], m_oldY[cur_channel] ); - dc_plot.LineTo( newX, newY ); - } - - m_oldX[cur_channel] = newX; - m_oldY[cur_channel] = newY; - } - - return 0; -} diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9114/SDK9114int/9114intDlg.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9114/SDK9114int/9114intDlg.h deleted file mode 100644 index 0cd32a2..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9114/SDK9114int/9114intDlg.h +++ /dev/null @@ -1,75 +0,0 @@ - -// 9114intDlg.h : header file -#pragma once -#include "afxcmn.h" -#include "afxwin.h" - -#include "Dask64.h" - -#ifndef MAX_CHAN_9114 -#define MAX_CHAN_9114 16 -#endif - -// C9114intDlg dialog -class C9114intDlg : public CDialog -{ -// Construction -public: - C9114intDlg(I16 hCard, U16 wCardType, CWnd* pParent = NULL); // standard constructor - -// Dialog Data - enum { IDD = IDD_9114INT_DIALOG }; - - protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - - -// Implementation -protected: - HICON m_hIcon; - UINT_PTR m_nTimer; - I16 m_hCard; - U16 m_wCardType; - double m_fSampleRate; - U16 m_wScanChans; - HANDLE m_hMem; - U32 *m_pAIBuf; - U16 m_wRange; - int m_oldY[8]; - int m_oldX[8]; - - // Generated message map functions - virtual BOOL OnInitDialog(); - afx_msg void OnSysCommand(UINT nID, LPARAM lParam); - afx_msg void OnPaint(); - afx_msg HCURSOR OnQueryDragIcon(); - DECLARE_MESSAGE_MAP() - -public: - WORD max_val; - WORD min_val; - double max_range; - double min_range; - int n_PlotWidth; - int n_PlotHeight; - int y_divider; - int x_divider; - int m_DisplayScale; - HBRUSH OnBrush; - HBRUSH OffBrush; - CPen RedPen; - CPen GreenPen; - CPen YellowPen; - CPen BluePen; - CPen LTBluePen; - CPen LTRedPen; - CPen LTGreenPen; - CPen WhitePen; - void redraw_display_area(void); - afx_msg void OnDestroy(); - CComboBox m_cbScanChans; - afx_msg void OnVScroll(UINT nSBCode, UINT nPos, CScrollBar* pScrollBar); - afx_msg void OnScanChanSelchange(); - afx_msg void OnStart(); - int display_buffer_data(U32* pBuf); -}; diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9114/SDK9114int/CardIDDlg.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9114/SDK9114int/CardIDDlg.cpp deleted file mode 100644 index 1a1ed70..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9114/SDK9114int/CardIDDlg.cpp +++ /dev/null @@ -1,75 +0,0 @@ -// CardIDDlg.cpp : implementation file -// -#include "stdafx.h" -#include "9114int.h" -#include "9114intDlg.h" -#include "CardIDDlg.h" - -// CCardIDDlg dialog - -IMPLEMENT_DYNAMIC(CCardIDDlg, CDialog) - -CCardIDDlg::CCardIDDlg(int nCardIdx, CWnd* pParent /*=NULL*/) - : CDialog(CCardIDDlg::IDD, pParent) -{ - m_nCardIdx = nCardIdx; -} - -CCardIDDlg::~CCardIDDlg() -{ -} - -void CCardIDDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); - DDX_Control(pDX, IDC_COMBO_CARDID, m_cbCardID); - DDX_Control(pDX, IDC_COMBO_CARDTYPE, m_cbCardType); -} - - -BEGIN_MESSAGE_MAP(CCardIDDlg, CDialog) -// ON_CBN_SELCHANGE(IDC_COMBO_CARDID, &CCardIDDlg::OnCbnSelchangeComboCardid) -ON_BN_CLICKED(IDOK, &CCardIDDlg::OnBnClickedOk) -//ON_WM_CTLCOLOR() -END_MESSAGE_MAP() - - -// CCardIDDlg message handlers - - -void CCardIDDlg::OnBnClickedOk() -{ - // TODO: Add your control notification handler code here - -// UpdateData(TRUE); - m_nCardIdx = m_cbCardID.GetCurSel(); - m_CardType = PCI_9114DG + m_cbCardType.GetCurSel(); - - OnOK(); -} - -BOOL CCardIDDlg::OnInitDialog() -{ - CDialog::OnInitDialog(); - - // TODO: Add extra initialization here - m_cbCardID.SetCurSel( m_nCardIdx ); - - m_cbCardType.SetCurSel( 0 ); - m_CardType = PCI_9114DG; - - return TRUE; // return TRUE unless you set the focus to a control - // EXCEPTION: OCX Property Pages should return FALSE -} - -// the function to get the selected CardID -int CCardIDDlg::GetCardID(void) -{ - return m_nCardIdx; -} - - -U16 CCardIDDlg::GetCardType(void) -{ - return m_CardType; -} \ No newline at end of file diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9114/SDK9114int/CardIDDlg.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9114/SDK9114int/CardIDDlg.h deleted file mode 100644 index 23399df..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9114/SDK9114int/CardIDDlg.h +++ /dev/null @@ -1,35 +0,0 @@ -#pragma once -#include "afxwin.h" - -#include "Dask64.h" - -// CCardIDDlg dialog - -class CCardIDDlg : public CDialog -{ - DECLARE_DYNAMIC(CCardIDDlg) - -public: - CCardIDDlg(int nCardIdx, CWnd* pParent = NULL); // standard constructor - virtual ~CCardIDDlg(); - -// Dialog Data - enum { IDD = IDD_CARDID_DIALOG }; - -protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - - DECLARE_MESSAGE_MAP() -public: - virtual BOOL OnInitDialog(); - afx_msg void OnBnClickedOk(); - // the setting of CardID ComboBox - int m_nCardIdx; - U16 m_CardType; - // the control of CardID ComboBox - CComboBox m_cbCardID; - CComboBox m_cbCardType; - // the function to get the selected CardID - int GetCardID(void); - U16 GetCardType(void); -}; diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9114/SDK9114int/ReadMe.txt b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9114/SDK9114int/ReadMe.txt deleted file mode 100644 index bb0cff9..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9114/SDK9114int/ReadMe.txt +++ /dev/null @@ -1,93 +0,0 @@ -================================================================================ - MICROSOFT FOUNDATION CLASS LIBRARY : 9114int Project Overview -=============================================================================== - -The application wizard has created this 9114int application for -you. This application not only demonstrates the basics of using the Microsoft -Foundation Classes but is also a starting point for writing your application. - -This file contains a summary of what you will find in each of the files that -make up your 9114int application. - -9114int.vcproj - This is the main project file for VC++ projects generated using an application wizard. - It contains information about the version of Visual C++ that generated the file, and - information about the platforms, configurations, and project features selected with the - application wizard. - -9114int.h - This is the main header file for the application. It includes other - project specific headers (including Resource.h) and declares the - C9114intApp application class. - -9114int.cpp - This is the main application source file that contains the application - class C9114intApp. - -9114int.rc - This is a listing of all of the Microsoft Windows resources that the - program uses. It includes the icons, bitmaps, and cursors that are stored - in the RES subdirectory. This file can be directly edited in Microsoft - Visual C++. Your project resources are in 1033. - -res\9114int.ico - This is an icon file, which is used as the application's icon. This - icon is included by the main resource file 9114int.rc. - -res\My9114int.rc2 - This file contains resources that are not edited by Microsoft - Visual C++. You should place all resources not editable by - the resource editor in this file. - - -///////////////////////////////////////////////////////////////////////////// - -The application wizard creates one dialog class: - -9114intDlg.h, 9114intDlg.cpp - the dialog - These files contain your C9114intDlg class. This class defines - the behavior of your application's main dialog. The dialog's template is - in 9114int.rc, which can be edited in Microsoft Visual C++. - - -///////////////////////////////////////////////////////////////////////////// - -Other Features: - -ActiveX Controls - The application includes support to use ActiveX controls. - -///////////////////////////////////////////////////////////////////////////// - -Other standard files: - -StdAfx.h, StdAfx.cpp - These files are used to build a precompiled header (PCH) file - named 9114int.pch and a precompiled types file named StdAfx.obj. - -Resource.h - This is the standard header file, which defines new resource IDs. - Microsoft Visual C++ reads and updates this file. - -9114int.manifest - Application manifest files are used by Windows XP to describe an applications - dependency on specific versions of Side-by-Side assemblies. The loader uses this - information to load the appropriate assembly from the assembly cache or private - from the application. The Application manifest maybe included for redistribution - as an external .manifest file that is installed in the same folder as the application - executable or it may be included in the executable in the form of a resource. -///////////////////////////////////////////////////////////////////////////// - -Other notes: - -The application wizard uses "TODO:" to indicate parts of the source code you -should add to or customize. - -If your application uses MFC in a shared DLL, you will need -to redistribute the MFC DLLs. If your application is in a language -other than the operating system's locale, you will also have to -redistribute the corresponding localized resources MFC90XXX.DLL. -For more information on both of these topics, please see the section on -redistributing Visual C++ applications in MSDN documentation. - -///////////////////////////////////////////////////////////////////////////// diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9114/SDK9114int/res/9114int.ico b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9114/SDK9114int/res/9114int.ico deleted file mode 100644 index d56fbcd..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9114/SDK9114int/res/9114int.ico and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9114/SDK9114int/res/My9114int.rc2 b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9114/SDK9114int/res/My9114int.rc2 deleted file mode 100644 index 383cde2..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9114/SDK9114int/res/My9114int.rc2 +++ /dev/null @@ -1,13 +0,0 @@ -// -// My9111int.RC2 - resources Microsoft Visual C++ does not edit directly -// - -#ifdef APSTUDIO_INVOKED -#error this file is not editable by Microsoft Visual C++ -#endif //APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// Add manually edited resources here... - -///////////////////////////////////////////////////////////////////////////// diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9114/SDK9114int/res/ch_set1.bmp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9114/SDK9114int/res/ch_set1.bmp deleted file mode 100644 index f2374ed..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9114/SDK9114int/res/ch_set1.bmp and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9114/SDK9114int/res/ch_set2.bmp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9114/SDK9114int/res/ch_set2.bmp deleted file mode 100644 index 32d0915..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9114/SDK9114int/res/ch_set2.bmp and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9114/SDK9114int/resource.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9114/SDK9114int/resource.h deleted file mode 100644 index 3223b61..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9114/SDK9114int/resource.h +++ /dev/null @@ -1,33 +0,0 @@ -//{{NO_DEPENDENCIES}} -// Microsoft Visual C++ generated include file. -// Used by 9114int.rc -// -#define IDM_ABOUTBOX 0x0010 -#define IDD_ABOUTBOX 100 -#define IDS_ABOUTBOX 101 -#define IDD_9114INT_DIALOG 102 -#define IDR_MAINFRAME 128 -#define IDD_CARDID_DIALOG 129 -#define IDB_BITMAP_SET1 131 -#define IDB_BITMAP_SET2 132 -#define IDC_STATIC_DRAW 1000 -#define IDC_COMBO_CARDID 1001 -#define IDC_COMBO_SCANCHAN 1001 -#define IDC_COMBO_CARDTYPE 1002 -#define IDC_BUTTON1 1002 -#define IDC_BT_START 1002 -#define IDC_EDIT_SAMPLE_RATE 1003 -#define IDC_SCROLLBAR_RATE 1006 -#define IDC_STATIC_01 1014 -#define IDC_STATIC_2 1015 - -// Next default values for new objects -// -#ifdef APSTUDIO_INVOKED -#ifndef APSTUDIO_READONLY_SYMBOLS -#define _APS_NEXT_RESOURCE_VALUE 134 -#define _APS_NEXT_COMMAND_VALUE 32771 -#define _APS_NEXT_CONTROL_VALUE 1003 -#define _APS_NEXT_SYMED_VALUE 101 -#endif -#endif diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9114/SDK9114int/stdafx.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9114/SDK9114int/stdafx.cpp deleted file mode 100644 index ef80626..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9114/SDK9114int/stdafx.cpp +++ /dev/null @@ -1,8 +0,0 @@ - -// stdafx.cpp : source file that includes just the standard includes -// 9111int.pch will be the pre-compiled header -// stdafx.obj will contain the pre-compiled type information - -#include "stdafx.h" - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9114/SDK9114int/stdafx.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9114/SDK9114int/stdafx.h deleted file mode 100644 index 12123e2..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9114/SDK9114int/stdafx.h +++ /dev/null @@ -1,60 +0,0 @@ - -// stdafx.h : include file for standard system include files, -// or project specific include files that are used frequently, -// but are changed infrequently - -#pragma once - -#ifndef _SECURE_ATL -#define _SECURE_ATL 1 -#endif - -#ifndef VC_EXTRALEAN -#define VC_EXTRALEAN // Exclude rarely-used stuff from Windows headers -#endif - -#include "targetver.h" - -#define _ATL_CSTRING_EXPLICIT_CONSTRUCTORS // some CString constructors will be explicit - -// turns off MFC's hiding of some common and often safely ignored warning messages -#define _AFX_ALL_WARNINGS - -#include // MFC core and standard components -#include // MFC extensions - - -#include // MFC Automation classes - - - -#ifndef _AFX_NO_OLE_SUPPORT -#include // MFC support for Internet Explorer 4 Common Controls -#endif -#ifndef _AFX_NO_AFXCMN_SUPPORT -#include // MFC support for Windows Common Controls -#endif // _AFX_NO_AFXCMN_SUPPORT - -#include // MFC support for ribbons and control bars - - - - - - - - - -#ifdef _UNICODE -#if defined _M_IX86 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='x86' publicKeyToken='6595b64144ccf1df' language='*'\"") -#elif defined _M_IA64 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='ia64' publicKeyToken='6595b64144ccf1df' language='*'\"") -#elif defined _M_X64 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='amd64' publicKeyToken='6595b64144ccf1df' language='*'\"") -#else -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='*' publicKeyToken='6595b64144ccf1df' language='*'\"") -#endif -#endif - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9114/SDK9114int/targetver.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9114/SDK9114int/targetver.h deleted file mode 100644 index 11730d5..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9114/SDK9114int/targetver.h +++ /dev/null @@ -1,26 +0,0 @@ - -#pragma once - -// The following macros define the minimum required platform. The minimum required platform -// is the earliest version of Windows, Internet Explorer etc. that has the necessary features to run -// your application. The macros work by enabling all features available on platform versions up to and -// including the version specified. - -// Modify the following defines if you have to target a platform prior to the ones specified below. -// Refer to MSDN for the latest info on corresponding values for different platforms. -#ifndef WINVER // Specifies that the minimum required platform is Windows Vista. -#define WINVER 0x0600 // Change this to the appropriate value to target other versions of Windows. -#endif - -#ifndef _WIN32_WINNT // Specifies that the minimum required platform is Windows Vista. -#define _WIN32_WINNT 0x0600 // Change this to the appropriate value to target other versions of Windows. -#endif - -#ifndef _WIN32_WINDOWS // Specifies that the minimum required platform is Windows 98. -#define _WIN32_WINDOWS 0x0410 // Change this to the appropriate value to target Windows Me or later. -#endif - -#ifndef _WIN32_IE // Specifies that the minimum required platform is Internet Explorer 7.0. -#define _WIN32_IE 0x0700 // Change this to the appropriate value to target other versions of IE. -#endif - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116/CardIDDlg.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116/CardIDDlg.cpp deleted file mode 100644 index e178b40..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116/CardIDDlg.cpp +++ /dev/null @@ -1,64 +0,0 @@ -// CardIDDlg.cpp : implementation file -// - -#include "stdafx.h" -#include "Util9116.h" -#include "CardIDDlg.h" - -// CCardIDDlg dialog - -IMPLEMENT_DYNAMIC(CCardIDDlg, CDialog) - -CCardIDDlg::CCardIDDlg(int nCardIdx, CWnd* pParent /*=NULL*/) - : CDialog(CCardIDDlg::IDD, pParent) -{ - m_nCardIdx = nCardIdx; -} - -CCardIDDlg::~CCardIDDlg() -{ -} - -void CCardIDDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); - DDX_Control(pDX, IDC_COMBO_CARDID, m_cbCardID); -} - - -BEGIN_MESSAGE_MAP(CCardIDDlg, CDialog) -// ON_CBN_SELCHANGE(IDC_COMBO_CARDID, &CCardIDDlg::OnCbnSelchangeComboCardid) -ON_BN_CLICKED(IDOK, &CCardIDDlg::OnBnClickedOk) -//ON_WM_CTLCOLOR() -END_MESSAGE_MAP() - - -// CCardIDDlg message handlers - - -void CCardIDDlg::OnBnClickedOk() -{ - // TODO: Add your control notification handler code here - -// UpdateData(TRUE); - m_nCardIdx = m_cbCardID.GetCurSel(); - - OnOK(); -} - -BOOL CCardIDDlg::OnInitDialog() -{ - CDialog::OnInitDialog(); - - // TODO: Add extra initialization here - m_cbCardID.SetCurSel( m_nCardIdx ); - - return TRUE; // return TRUE unless you set the focus to a control - // EXCEPTION: OCX Property Pages should return FALSE -} - -// the function to get the selected CardID -int CCardIDDlg::GetCardID(void) -{ - return m_nCardIdx; -} diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116/CardIDDlg.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116/CardIDDlg.h deleted file mode 100644 index 9c02c58..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116/CardIDDlg.h +++ /dev/null @@ -1,32 +0,0 @@ -#pragma once -#include "afxwin.h" - -#include "Dask64.h" - -// CCardIDDlg dialog - -class CCardIDDlg : public CDialog -{ - DECLARE_DYNAMIC(CCardIDDlg) - -public: - CCardIDDlg(int nCardIdx, CWnd* pParent = NULL); // standard constructor - virtual ~CCardIDDlg(); - -// Dialog Data - enum { IDD = IDD_CARDID_DIALOG }; - -protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - - DECLARE_MESSAGE_MAP() -public: - virtual BOOL OnInitDialog(); - afx_msg void OnBnClickedOk(); - // the setting of CardID ComboBox - int m_nCardIdx; - // the control of CardID ComboBox - CComboBox m_cbCardID; - // the function to get the selected CardID - int GetCardID(void); -}; diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116/ReadMe.txt b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116/ReadMe.txt deleted file mode 100644 index ff0b3e0..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116/ReadMe.txt +++ /dev/null @@ -1,93 +0,0 @@ -================================================================================ - MICROSOFT FOUNDATION CLASS LIBRARY : Util9116 Project Overview -=============================================================================== - -The application wizard has created this Util9116 application for -you. This application not only demonstrates the basics of using the Microsoft -Foundation Classes but is also a starting point for writing your application. - -This file contains a summary of what you will find in each of the files that -make up your Util9116 application. - -Util9116.vcproj - This is the main project file for VC++ projects generated using an application wizard. - It contains information about the version of Visual C++ that generated the file, and - information about the platforms, configurations, and project features selected with the - application wizard. - -Util9116.h - This is the main header file for the application. It includes other - project specific headers (including Resource.h) and declares the - CUtil9116App application class. - -Util9116.cpp - This is the main application source file that contains the application - class CUtil9116App. - -Util9116.rc - This is a listing of all of the Microsoft Windows resources that the - program uses. It includes the icons, bitmaps, and cursors that are stored - in the RES subdirectory. This file can be directly edited in Microsoft - Visual C++. Your project resources are in 1033. - -res\Util9116.ico - This is an icon file, which is used as the application's icon. This - icon is included by the main resource file Util9116.rc. - -res\Util9116.rc2 - This file contains resources that are not edited by Microsoft - Visual C++. You should place all resources not editable by - the resource editor in this file. - - -///////////////////////////////////////////////////////////////////////////// - -The application wizard creates one dialog class: - -Util9116Dlg.h, Util9116Dlg.cpp - the dialog - These files contain your CUtil9116Dlg class. This class defines - the behavior of your application's main dialog. The dialog's template is - in Util9116.rc, which can be edited in Microsoft Visual C++. - - -///////////////////////////////////////////////////////////////////////////// - -Other Features: - -ActiveX Controls - The application includes support to use ActiveX controls. - -///////////////////////////////////////////////////////////////////////////// - -Other standard files: - -StdAfx.h, StdAfx.cpp - These files are used to build a precompiled header (PCH) file - named Util9116.pch and a precompiled types file named StdAfx.obj. - -Resource.h - This is the standard header file, which defines new resource IDs. - Microsoft Visual C++ reads and updates this file. - -Util9116.manifest - Application manifest files are used by Windows XP to describe an applications - dependency on specific versions of Side-by-Side assemblies. The loader uses this - information to load the appropriate assembly from the assembly cache or private - from the application. The Application manifest maybe included for redistribution - as an external .manifest file that is installed in the same folder as the application - executable or it may be included in the executable in the form of a resource. -///////////////////////////////////////////////////////////////////////////// - -Other notes: - -The application wizard uses "TODO:" to indicate parts of the source code you -should add to or customize. - -If your application uses MFC in a shared DLL, you will need -to redistribute the MFC DLLs. If your application is in a language -other than the operating system's locale, you will also have to -redistribute the corresponding localized resources MFC90XXX.DLL. -For more information on both of these topics, please see the section on -redistributing Visual C++ applications in MSDN documentation. - -///////////////////////////////////////////////////////////////////////////// diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116/Util9111.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116/Util9111.suo deleted file mode 100644 index 6b7218e..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116/Util9111.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116/Util9114.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116/Util9114.suo deleted file mode 100644 index 9a9b85b..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116/Util9114.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116/Util9116.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116/Util9116.cpp deleted file mode 100644 index 7e64b10..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116/Util9116.cpp +++ /dev/null @@ -1,111 +0,0 @@ - -// Util9116.cpp : Defines the class behaviors for the application. -// - -#include "stdafx.h" -#include "Util9116.h" -#include "Util9116Dlg.h" -#include "CardIDDlg.h" - -#ifdef _DEBUG -#define new DEBUG_NEW -#endif - - -// CUtil9116App - -BEGIN_MESSAGE_MAP(CUtil9116App, CWinAppEx) - ON_COMMAND(ID_HELP, &CWinApp::OnHelp) -END_MESSAGE_MAP() - - -// CUtil9116App construction - -CUtil9116App::CUtil9116App() -{ - // TODO: add construction code here, - // Place all significant initialization in InitInstance -} - - -// The one and only CUtil9116App object - -CUtil9116App theApp; - - -// CUtil9116App initialization - -BOOL CUtil9116App::InitInstance() -{ - int nCardID = 0; - I16 hCard; - CString strTemp; - INT_PTR nResponse; - - // InitCommonControlsEx() is required on Windows XP if an application - // manifest specifies use of ComCtl32.dll version 6 or later to enable - // visual styles. Otherwise, any window creation will fail. - INITCOMMONCONTROLSEX InitCtrls; - InitCtrls.dwSize = sizeof(InitCtrls); - // Set this to include all the common control classes you want to use - // in your application. - InitCtrls.dwICC = ICC_WIN95_CLASSES; - InitCommonControlsEx(&InitCtrls); - - CWinAppEx::InitInstance(); - - AfxEnableControlContainer(); - - // Standard initialization - // If you are not using these features and wish to reduce the size - // of your final executable, you should remove from the following - // the specific initialization routines you do not need - // Change the registry key under which our settings are stored - // TODO: You should modify this string to be something appropriate - // such as the name of your company or organization - SetRegistryKey(_T("Local AppWizard-Generated Applications")); - - CCardIDDlg CardDlg( nCardID ); - - nResponse = CardDlg.DoModal(); - if (nResponse == IDOK) - { - nCardID = CardDlg.GetCardID(); - - if ((hCard=Register_Card(PCI_9116, nCardID)) < 0) - { - strTemp.Format( TEXT("Register_Card Error = %d"), hCard); - AfxMessageBox( strTemp ); - } - else - { - CUtil9116Dlg dlg(hCard); - m_pMainWnd = &dlg; - nResponse = dlg.DoModal(); - if (nResponse == IDOK) - { - // TODO: Place code here to handle when the dialog is - // dismissed with OK - } - else if (nResponse == IDCANCEL) - { - // TODO: Place code here to handle when the dialog is - // dismissed with Cancel - } - - if (hCard >= 0) Release_Card(hCard); - } - - } - else if (nResponse == IDCANCEL) - { - // TODO: Place code here to handle when the dialog is - // dismissed with Cancel - } - - - - // Since the dialog has been closed, return FALSE so that we exit the - // application, rather than start the application's message pump. - return FALSE; -} diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116/Util9116.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116/Util9116.h deleted file mode 100644 index 5059a5d..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116/Util9116.h +++ /dev/null @@ -1,32 +0,0 @@ - -// Util9116.h : main header file for the PROJECT_NAME application -// - -#pragma once - -#ifndef __AFXWIN_H__ - #error "include 'stdafx.h' before including this file for PCH" -#endif - -#include "resource.h" // main symbols - - -// CUtil9116App: -// See Util9116.cpp for the implementation of this class -// - -class CUtil9116App : public CWinAppEx -{ -public: - CUtil9116App(); - -// Overrides - public: - virtual BOOL InitInstance(); - -// Implementation - - DECLARE_MESSAGE_MAP() -}; - -extern CUtil9116App theApp; \ No newline at end of file diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116/Util9116.rc b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116/Util9116.rc deleted file mode 100644 index 48e3b4b..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116/Util9116.rc +++ /dev/null @@ -1,338 +0,0 @@ -// Microsoft Visual C++ generated resource script. -// -#include "resource.h" - -#define APSTUDIO_READONLY_SYMBOLS -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 2 resource. -// -#ifndef APSTUDIO_INVOKED -#include "targetver.h" -#endif -#include "afxres.h" - -///////////////////////////////////////////////////////////////////////////// -#undef APSTUDIO_READONLY_SYMBOLS - -///////////////////////////////////////////////////////////////////////////// -// Chinese (Taiwan) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_CHT) -#ifdef _WIN32 -LANGUAGE LANG_CHINESE, SUBLANG_CHINESE_TRADITIONAL -#pragma code_page(950) -#endif //_WIN32 - -#ifdef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// TEXTINCLUDE -// - -1 TEXTINCLUDE -BEGIN - "resource.h\0" -END - -2 TEXTINCLUDE -BEGIN - "#ifndef APSTUDIO_INVOKED\r\n" - "#include ""targetver.h""\r\n" - "#endif\r\n" - "#include ""afxres.h""\r\n" - "\0" -END - -3 TEXTINCLUDE -BEGIN - "#define _AFX_NO_SPLITTER_RESOURCES\r\n" - "#define _AFX_NO_OLE_RESOURCES\r\n" - "#define _AFX_NO_TRACKER_RESOURCES\r\n" - "#define _AFX_NO_PROPERTY_RESOURCES\r\n" - "\r\n" - "#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)\r\n" - "LANGUAGE 9, 1\r\n" - "#pragma code_page(1252)\r\n" - "#include ""res\\Util9116.rc2"" // non-Microsoft Visual C++ edited resources\r\n" - "#include ""afxres.rc"" // Standard components\r\n" - "#endif\r\n" - "\0" -END - -#endif // APSTUDIO_INVOKED - -#endif // Chinese (Taiwan) resources -///////////////////////////////////////////////////////////////////////////// - - -///////////////////////////////////////////////////////////////////////////// -// English (U.S.) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -#ifdef _WIN32 -LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US -#pragma code_page(1252) -#endif //_WIN32 - -///////////////////////////////////////////////////////////////////////////// -// -// Icon -// - -// Icon with lowest ID value placed first to ensure application icon -// remains consistent on all systems. -IDR_MAINFRAME ICON "res\\Util9116.ico" -IDI_ICON_BLACK ICON "res\\black.ico" -IDI_ICON_RED ICON "res\\red.ico" - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog -// - -IDD_ABOUTBOX DIALOGEX 0, 0, 170, 62 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "About Util9116" -FONT 8, "MS Shell Dlg", 0, 0, 0x1 -BEGIN - ICON IDR_MAINFRAME,IDC_STATIC,14,14,21,20 - LTEXT "Util9116, Version 1.0",IDC_STATIC,42,14,114,8,SS_NOPREFIX - LTEXT "Copyright (C) 2010",IDC_STATIC,42,26,114,8 - DEFPUSHBUTTON "OK",IDOK,113,41,50,14,WS_GROUP -END - -IDD_UTIL9116_DIALOG DIALOGEX 0, 0, 345, 225 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU -EXSTYLE WS_EX_APPWINDOW -CAPTION "PCI-9116" -FONT 8, "MS Shell Dlg", 0, 0, 0x1 -BEGIN - ICON IDI_ICON_BLACK,IDC_ICON_DI00,306,174,20,20 - ICON IDI_ICON_BLACK,IDC_ICON_DI01,288,174,20,20 - ICON IDI_ICON_BLACK,IDC_ICON_DI02,270,174,20,20 - ICON IDI_ICON_BLACK,IDC_ICON_DI03,252,174,20,20 - ICON IDI_ICON_BLACK,IDC_ICON_DI04,234,174,20,20 - ICON IDI_ICON_BLACK,IDC_ICON_DI05,216,174,20,20 - ICON IDI_ICON_BLACK,IDC_ICON_DI06,198,174,20,20 - ICON IDI_ICON_BLACK,IDC_ICON_DI07,180,174,20,20 - CONTROL "",IDC_CHECK_DO00,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE | WS_TABSTOP,312,194,12,12 - CONTROL "",IDC_CHECK_DO01,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE | WS_TABSTOP,294,194,12,12 - CONTROL "",IDC_CHECK_DO02,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE | WS_TABSTOP,276,194,12,12 - CONTROL "",IDC_CHECK_DO03,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE | WS_TABSTOP,258,194,12,12 - CONTROL "",IDC_CHECK_DO04,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE | WS_TABSTOP,240,194,12,12 - CONTROL "",IDC_CHECK_DO05,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE | WS_TABSTOP,222,194,12,12 - CONTROL "",IDC_CHECK_DO06,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE | WS_TABSTOP,204,194,12,12 - CONTROL "",IDC_CHECK_DO07,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE | WS_TABSTOP,186,194,12,12 - LTEXT " 8 0",IDC_STATIC,182,208,144,11 - GROUPBOX "",IDC_STATIC_DRAW0,45,9,213,75,NOT WS_VISIBLE - GROUPBOX "",IDC_STATIC_DRAW1,45,90,213,75,NOT WS_VISIBLE - CONTROL 132,IDC_STATIC,"Static",SS_BITMAP,289,20,9,44 - CONTROL 132,IDC_STATIC,"Static",SS_BITMAP,288,111,9,44 - CONTROL 133,IDC_STATIC,"Static",SS_BITMAP,321,111,11,45 - CONTROL 133,IDC_STATIC,"Static",SS_BITMAP,322,20,11,45 - CONTROL "0",IDC_RADIO_CH0,"Button",BS_AUTOCHECKBOX | BS_LEFTTEXT | BS_PUSHLIKE,268,21,17,10 - CONTROL "1",IDC_RADIO_CH1,"Button",BS_AUTOCHECKBOX | BS_LEFTTEXT | BS_PUSHLIKE,268,32,17,10 - CONTROL "2",IDC_RADIO_CH2,"Button",BS_AUTOCHECKBOX | BS_LEFTTEXT | BS_PUSHLIKE,268,43,17,10 - CONTROL "3",IDC_RADIO_CH3,"Button",BS_AUTOCHECKBOX | BS_LEFTTEXT | BS_PUSHLIKE,268,54,17,10 - CONTROL "4",IDC_RADIO_CH4,"Button",BS_AUTOCHECKBOX | BS_LEFTTEXT | BS_PUSHLIKE,303,21,17,10 - CONTROL "5",IDC_RADIO_CH5,"Button",BS_AUTOCHECKBOX | BS_LEFTTEXT | BS_PUSHLIKE,303,32,17,10 - CONTROL "6",IDC_RADIO_CH6,"Button",BS_AUTOCHECKBOX | BS_LEFTTEXT | BS_PUSHLIKE,303,43,17,10 - CONTROL "7",IDC_RADIO_CH7,"Button",BS_AUTOCHECKBOX | BS_LEFTTEXT | BS_PUSHLIKE,303,54,17,10 - CONTROL "8",IDC_RADIO_CH8,"Button",BS_AUTOCHECKBOX | BS_LEFTTEXT | BS_PUSHLIKE,266,112,17,10 - CONTROL "9",IDC_RADIO_CH9,"Button",BS_AUTOCHECKBOX | BS_LEFTTEXT | BS_PUSHLIKE,266,123,17,10 - CONTROL "10",IDC_RADIO_CH10,"Button",BS_AUTOCHECKBOX | BS_LEFTTEXT | BS_PUSHLIKE,266,134,17,10 - CONTROL "11",IDC_RADIO_CH11,"Button",BS_AUTOCHECKBOX | BS_LEFTTEXT | BS_PUSHLIKE,266,146,17,10 - CONTROL "12",IDC_RADIO_CH12,"Button",BS_AUTOCHECKBOX | BS_LEFTTEXT | BS_PUSHLIKE,302,112,17,10 - CONTROL "13",IDC_RADIO_CH13,"Button",BS_AUTOCHECKBOX | BS_LEFTTEXT | BS_PUSHLIKE,302,123,17,10 - CONTROL "14",IDC_RADIO_CH14,"Button",BS_AUTOCHECKBOX | BS_LEFTTEXT | BS_PUSHLIKE,302,134,17,10 - CONTROL "15",IDC_RADIO_CH15,"Button",BS_AUTOCHECKBOX | BS_LEFTTEXT | BS_PUSHLIKE,302,146,17,10 - COMBOBOX IDC_COMBO_AI_RANGE,266,89,67,13,CBS_DROPDOWN | WS_VSCROLL | WS_TABSTOP - LTEXT "Input Range",IDC_STATIC,265,75,45,12 -END - -IDD_CARDID_DIALOG DIALOGEX 0, 0, 165, 108 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "Card ID" -FONT 8, "MS Shell Dlg", 400, 0, 0x1 -BEGIN - COMBOBOX IDC_COMBO_CARDID,75,24,71,126,CBS_DROPDOWN | WS_VSCROLL | WS_TABSTOP - LTEXT "Card Number",IDC_STATIC_01,21,25,46,12 - PUSHBUTTON "OK",IDOK,22,66,58,19 - PUSHBUTTON "CANCEL",IDCANCEL,86,66,58,19 -END - - -///////////////////////////////////////////////////////////////////////////// -// -// Version -// - -VS_VERSION_INFO VERSIONINFO - FILEVERSION 1,0,0,1 - PRODUCTVERSION 1,0,0,1 - FILEFLAGSMASK 0x3fL -#ifdef _DEBUG - FILEFLAGS 0x1L -#else - FILEFLAGS 0x0L -#endif - FILEOS 0x4L - FILETYPE 0x1L - FILESUBTYPE 0x0L -BEGIN - BLOCK "StringFileInfo" - BEGIN - BLOCK "040904e4" - BEGIN - VALUE "CompanyName", "TODO: " - VALUE "FileDescription", "TODO: " - VALUE "FileVersion", "1.0.0.1" - VALUE "InternalName", "Util9116.exe" - VALUE "LegalCopyright", "TODO: (c) . All rights reserved." - VALUE "OriginalFilename", "Util9116.exe" - VALUE "ProductName", "TODO: " - VALUE "ProductVersion", "1.0.0.1" - END - END - BLOCK "VarFileInfo" - BEGIN - VALUE "Translation", 0x409, 1252 - END -END - - -///////////////////////////////////////////////////////////////////////////// -// -// DESIGNINFO -// - -#ifdef APSTUDIO_INVOKED -GUIDELINES DESIGNINFO -BEGIN - IDD_ABOUTBOX, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 163 - TOPMARGIN, 7 - BOTTOMMARGIN, 55 - END - - IDD_CARDID_DIALOG, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 158 - TOPMARGIN, 6 - BOTTOMMARGIN, 101 - END -END -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// Bitmap -// - -IDB_BITMAP_SET1 BITMAP "res\\ch_set1.bmp" -IDB_BITMAP_SET2 BITMAP "res\\ch_set2.bmp" - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog Info -// - -IDD_UTIL9116_DIALOG DLGINIT -BEGIN - IDC_COMBO_AI_RANGE, 0x403, 6, 0 -0x2f2b, 0x352d, 0x0056, - IDC_COMBO_AI_RANGE, 0x403, 8, 0 -0x2f2b, 0x322d, 0x352e, 0x0056, - IDC_COMBO_AI_RANGE, 0x403, 9, 0 -0x2f2b, 0x312d, 0x322e, 0x5635, "\000" - IDC_COMBO_AI_RANGE, 0x403, 10, 0 -0x2f2b, 0x302d, 0x362e, 0x3532, 0x0056, - IDC_COMBO_AI_RANGE, 0x403, 6, 0 -0x7e30, 0x3031, 0x0056, - IDC_COMBO_AI_RANGE, 0x403, 5, 0 -0x7e30, 0x5635, "\000" - IDC_COMBO_AI_RANGE, 0x403, 7, 0 -0x7e30, 0x2e32, 0x5635, "\000" - IDC_COMBO_AI_RANGE, 0x403, 8, 0 -0x7e30, 0x2e31, 0x3532, 0x0056, - 0 -END - -IDD_CARDID_DIALOG DLGINIT -BEGIN - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0030, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0031, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0032, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0033, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0034, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0035, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0036, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0037, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0038, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0039, - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3031, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3131, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3231, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3331, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3431, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3531, "\000" - 0 -END - - -///////////////////////////////////////////////////////////////////////////// -// -// String Table -// - -STRINGTABLE -BEGIN - IDS_ABOUTBOX "&About Util9116..." -END - -#endif // English (U.S.) resources -///////////////////////////////////////////////////////////////////////////// - - - -#ifndef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 3 resource. -// -#define _AFX_NO_SPLITTER_RESOURCES -#define _AFX_NO_OLE_RESOURCES -#define _AFX_NO_TRACKER_RESOURCES -#define _AFX_NO_PROPERTY_RESOURCES - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -LANGUAGE 9, 1 -#pragma code_page(1252) -#include "res\Util9116.rc2" // non-Microsoft Visual C++ edited resources -#include "afxres.rc" // Standard components -#endif - -///////////////////////////////////////////////////////////////////////////// -#endif // not APSTUDIO_INVOKED - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116/Util9116.sln b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116/Util9116.sln deleted file mode 100644 index f3fe5ba..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116/Util9116.sln +++ /dev/null @@ -1,20 +0,0 @@ - -Microsoft Visual Studio Solution File, Format Version 10.00 -# Visual Studio 2008 -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "Util9116", "Util9116.vcproj", "{EA91AA3F-533F-4BE6-8BD6-78C091590751}" -EndProject -Global - GlobalSection(SolutionConfigurationPlatforms) = preSolution - Debug|x64 = Debug|x64 - Release|x64 = Release|x64 - EndGlobalSection - GlobalSection(ProjectConfigurationPlatforms) = postSolution - {EA91AA3F-533F-4BE6-8BD6-78C091590751}.Debug|x64.ActiveCfg = Debug|x64 - {EA91AA3F-533F-4BE6-8BD6-78C091590751}.Debug|x64.Build.0 = Debug|x64 - {EA91AA3F-533F-4BE6-8BD6-78C091590751}.Release|x64.ActiveCfg = Release|x64 - {EA91AA3F-533F-4BE6-8BD6-78C091590751}.Release|x64.Build.0 = Release|x64 - EndGlobalSection - GlobalSection(SolutionProperties) = preSolution - HideSolutionNode = FALSE - EndGlobalSection -EndGlobal diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116/Util9116.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116/Util9116.suo deleted file mode 100644 index 1ef89b9..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116/Util9116.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116/Util9116.vcproj b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116/Util9116.vcproj deleted file mode 100644 index 9397c50..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116/Util9116.vcproj +++ /dev/null @@ -1,306 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116/Util9116Dlg.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116/Util9116Dlg.cpp deleted file mode 100644 index 006d22c..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116/Util9116Dlg.cpp +++ /dev/null @@ -1,1133 +0,0 @@ - -// Util9116Dlg.cpp : implementation file -// - -#include "stdafx.h" -#include "Util9116.h" -#include "Util9116Dlg.h" - -#ifdef _DEBUG -#define new DEBUG_NEW -#endif - -CRect plotRect0, plotRect1; - - -// CAboutDlg dialog used for App About - -class CAboutDlg : public CDialog -{ -public: - CAboutDlg(); - -// Dialog Data - enum { IDD = IDD_ABOUTBOX }; - - protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - -// Implementation -protected: - DECLARE_MESSAGE_MAP() -}; - -CAboutDlg::CAboutDlg() : CDialog(CAboutDlg::IDD) -{ -} - -void CAboutDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); -} - -BEGIN_MESSAGE_MAP(CAboutDlg, CDialog) -END_MESSAGE_MAP() - - -// CUtil9116Dlg dialog - - - - -CUtil9116Dlg::CUtil9116Dlg(I16 hCard, CWnd* pParent /*=NULL*/) - : CDialog(CUtil9116Dlg::IDD, pParent) -{ - m_hIcon = AfxGetApp()->LoadIcon(IDR_MAINFRAME); - - m_hCard = hCard; - - n_PlotWidth = n_PlotHeight = -1; - OnBrush = OffBrush = NULL; - - min_val = 0x00; - max_val = 0xFFFF; - - for( int i=0; iAppendMenu(MF_SEPARATOR); - pSysMenu->AppendMenu(MF_STRING, IDM_ABOUTBOX, strAboutMenu); - } - } - - // Set the icon for this dialog. The framework does this automatically - // when the application's main window is not a dialog - SetIcon(m_hIcon, TRUE); // Set big icon - SetIcon(m_hIcon, FALSE); // Set small icon - - x_divider = 5; y_divider = 2; - - OnBrush = CreateSolidBrush( RGB(255,0,0) ); - OffBrush = CreateSolidBrush( RGB(125,0,0) ); - - RedPen.CreatePen( PS_SOLID, 1, RGB(255,0,0)); - GreenPen.CreatePen( PS_SOLID, 1, RGB(0,255,0)); - YellowPen.CreatePen( PS_SOLID, 1, RGB(255,255,0)); - BluePen.CreatePen( PS_SOLID, 1, RGB(0,0,255)); - LTBluePen.CreatePen( PS_SOLID, 1, RGB(0,128,255)); - LTRedPen.CreatePen( PS_SOLID, 1, RGB(255,128,0)); - LTGreenPen.CreatePen( PS_SOLID, 1, RGB(0,128,0)); - WhitePen.CreatePen( PS_SOLID, 1, RGB(255,255,255)); - - if( n_PlotWidth == -1 && n_PlotHeight == -1 ) - { - ((CWnd*)GetDlgItem(IDC_STATIC_DRAW0))->GetWindowRect(&plotRect0); - ScreenToClient(&plotRect0); - - n_PlotWidth = min( plotRect0.Width(), 512); - n_PlotHeight = plotRect0.Height(); - - ((CWnd*)GetDlgItem(IDC_STATIC_DRAW1))->GetWindowRect(&plotRect1); - ScreenToClient(&plotRect1); - } - - - m_cbAIRange.SetCurSel( 0 ); - max_range = 5.0; - min_range = -5.0; - m_wAdRange = AD_B_5_V; - - m_nTimer = SetTimer( 1, 50, NULL ); - - return TRUE; // return TRUE unless you set the focus to a control -} - -void CUtil9116Dlg::OnSysCommand(UINT nID, LPARAM lParam) -{ - if ((nID & 0xFFF0) == IDM_ABOUTBOX) - { - CAboutDlg dlgAbout; - dlgAbout.DoModal(); - } - else - { - CDialog::OnSysCommand(nID, lParam); - } -} - -// If you add a minimize button to your dialog, you will need the code below -// to draw the icon. For MFC applications using the document/view model, -// this is automatically done for you by the framework. - -void CUtil9116Dlg::OnPaint() -{ - if (IsIconic()) - { - CPaintDC dc(this); // device context for painting - - SendMessage(WM_ICONERASEBKGND, reinterpret_cast(dc.GetSafeHdc()), 0); - - // Center icon in client rectangle - int cxIcon = GetSystemMetrics(SM_CXICON); - int cyIcon = GetSystemMetrics(SM_CYICON); - CRect rect; - GetClientRect(&rect); - int x = (rect.Width() - cxIcon + 1) / 2; - int y = (rect.Height() - cyIcon + 1) / 2; - - // Draw the icon - dc.DrawIcon(x, y, m_hIcon); - } - else - { - redraw_display_area(); - CDialog::OnPaint(); - } -} - -// The system calls this function to obtain the cursor to display while the user drags -// the minimized window. -HCURSOR CUtil9116Dlg::OnQueryDragIcon() -{ - return static_cast(m_hIcon); -} - - -void CUtil9116Dlg::OnDestroy() -{ - CDialog::OnDestroy(); - - // TODO: Add your message handler code here - - if( m_nTimer != -1 ) - { - KillTimer( m_nTimer ); - m_nTimer = -1; - } - - if( OnBrush != NULL ) - ::DeleteObject( OnBrush ); - - if( OffBrush != NULL ) - ::DeleteObject( OffBrush ); - - RedPen.DeleteObject(); - GreenPen.DeleteObject(); - YellowPen.DeleteObject(); - BluePen.DeleteObject(); - LTBluePen.DeleteObject(); - LTRedPen.DeleteObject(); - LTGreenPen.DeleteObject(); - WhitePen.DeleteObject(); -} - -void CUtil9116Dlg::OnAIRangeSelchange() -{ - // TODO: Add your control notification handler code here - U16 tmpAdRange; - int nIndex; - double maxRange, minRange; - - - nIndex = m_cbAIRange.GetCurSel(); - switch( nIndex ) - { - case 0: - tmpAdRange = AD_B_5_V; - maxRange = 5.0; - minRange = -5.0; - break; - case 1: - tmpAdRange = AD_B_2_5_V; - maxRange = 2.5; - minRange = -2.5; - break; - case 2: - tmpAdRange = AD_B_1_25_V; - maxRange = 1.25; - minRange = -1.25; - break; - case 3: - tmpAdRange = AD_B_0_625_V; - maxRange = 0.625; - minRange = -0.625; - break; - case 4: - tmpAdRange = AD_U_10_V; - maxRange = 0.0; - minRange = 10.0; - break; - case 5: - tmpAdRange = AD_U_5_V; - maxRange = 0.0; - minRange = 5.0; - break; - case 6: - tmpAdRange = AD_U_2_5_V; - maxRange = 0.0; - minRange = 2.5; - break; - case 7: - tmpAdRange = AD_U_1_25_V; - maxRange = 0.0; - minRange = 1.25; - break; - } - - - if( tmpAdRange != m_wAdRange ) - { // update m_InPortA and configure the target Port - m_wAdRange = tmpAdRange; - - max_range = maxRange; - min_range = minRange; - - if(m_wAdRange < AD_U_20_V) - AI_9116_Config(m_hCard, P9116_AI_BiPolar, P9116_AI_SoftPolling, 0, 0, 0); - else - AI_9116_Config(m_hCard, P9116_AI_UniPolar, P9116_AI_SoftPolling, 0, 0, 0); - - redraw_display_area(); - - } - -} - -void CUtil9116Dlg::OnTimer(UINT_PTR nIDEvent) -{ - // TODO: Add your message handler code here and/or call default - U32 dwPortData,dwChangeMask; - I16 err; - - err = DI_ReadPort(m_hCard, 0, &dwPortData); - dwChangeMask = dwPortData ^ m_InData; - - if( dwChangeMask != 0x00 ) // Input had been changed - { - - m_InData = dwPortData; - - if( (dwChangeMask & 0x0001) == 0x0001 ) // if the target bit is changed - { - if( (dwPortData & 0x0001) == 0x0001 ) - { - m_Icon_IN00.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_IN00.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - - if( (dwChangeMask & 0x0002) == 0x0002 ) // if the target bit is changed - { - if( (dwPortData & 0x0002) == 0x0002 ) - { - m_Icon_IN01.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_IN01.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - if( (dwChangeMask & 0x0004) == 0x0004 ) // if the target bit is changed - { - if( (dwPortData & 0x0004) == 0x0004 ) - { - m_Icon_IN02.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_IN02.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - if( (dwChangeMask & 0x0008) == 0x0008 ) // if the target bit is changed - { - if( (dwPortData & 0x0008) == 0x0008 ) - { - m_Icon_IN03.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_IN03.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - if( (dwChangeMask & 0x0010) == 0x0010 ) // if the target bit is changed - { - if( (dwPortData & 0x0010) == 0x0010 ) - { - m_Icon_IN04.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_IN04.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - if( (dwChangeMask & 0x0020) == 0x0020 ) // if the target bit is changed - { - if( (dwPortData & 0x0020) == 0x0020 ) - { - m_Icon_IN05.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_IN05.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - if( (dwChangeMask & 0x0040) == 0x0040 ) // if the target bit is changed - { - if( (dwPortData & 0x0040) == 0x0040 ) - { - m_Icon_IN06.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_IN06.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - if( (dwChangeMask & 0x0080) == 0x0080 ) // if the target bit is changed - { - if( (dwPortData & 0x0080) == 0x0080 ) - { - m_Icon_IN07.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_IN07.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - - } - - for( int i=0; iGetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_AIEnable[0] = 0x01; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_AIEnable[0] = 0x00; - } -} - -void CUtil9116Dlg::OnAI01Enable() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_RADIO_CH1 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_AIEnable[1] = 0x01; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_AIEnable[1] = 0x00; - } -} - -void CUtil9116Dlg::OnAI02Enable() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_RADIO_CH2 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_AIEnable[2] = 0x01; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_AIEnable[2] = 0x00; - } -} - -void CUtil9116Dlg::OnAI03Enable() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_RADIO_CH3 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_AIEnable[3] = 0x01; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_AIEnable[3] = 0x00; - } -} - -void CUtil9116Dlg::OnAI04Enable() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_RADIO_CH4 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_AIEnable[4] = 0x01; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_AIEnable[4] = 0x00; - } -} - -void CUtil9116Dlg::OnAI05Enable() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_RADIO_CH5 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_AIEnable[5] = 0x01; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_AIEnable[5] = 0x00; - } -} - -void CUtil9116Dlg::OnAI06Enable() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_RADIO_CH6 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_AIEnable[6] = 0x01; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_AIEnable[6] = 0x00; - } -} - -void CUtil9116Dlg::OnAI07Enable() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_RADIO_CH7 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_AIEnable[7] = 0x01; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_AIEnable[7] = 0x00; - } -} - -void CUtil9116Dlg::OnAI08Enable() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_RADIO_CH8 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_AIEnable[8] = 0x01; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_AIEnable[8] = 0x00; - } -} - -void CUtil9116Dlg::OnAI09Enable() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_RADIO_CH9 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_AIEnable[9] = 0x01; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_AIEnable[9] = 0x00; - } -} - -void CUtil9116Dlg::OnAI10Enable() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_RADIO_CH10 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_AIEnable[10] = 0x01; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_AIEnable[10] = 0x00; - } -} - -void CUtil9116Dlg::OnAI11Enable() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_RADIO_CH11 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_AIEnable[11] = 0x01; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_AIEnable[11] = 0x00; - } -} - -void CUtil9116Dlg::OnAI12Enable() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_RADIO_CH12 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_AIEnable[12] = 0x01; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_AIEnable[12] = 0x00; - } -} - -void CUtil9116Dlg::OnAI13Enable() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_RADIO_CH13 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_AIEnable[13] = 0x01; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_AIEnable[13] = 0x00; - } -} - -void CUtil9116Dlg::OnAI14Enable() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_RADIO_CH14 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_AIEnable[14] = 0x01; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_AIEnable[14] = 0x00; - } -} - -void CUtil9116Dlg::OnAI15Enable() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_RADIO_CH15 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_AIEnable[15] = 0x01; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_AIEnable[15] = 0x00; - } -} - -void CUtil9116Dlg::OnDo00() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_DO00 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_OutData |= 0x01; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_OutData &= (~0x01); - } - - DO_WritePort(m_hCard, 0, m_OutData); -} - -void CUtil9116Dlg::OnDo01() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_DO01 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_OutData |= 0x02; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_OutData &= (~0x02); - } - - DO_WritePort(m_hCard, 0, m_OutData); -} - -void CUtil9116Dlg::OnDo02() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_DO02 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_OutData |= 0x04; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_OutData &= (~0x04); - } - - DO_WritePort(m_hCard, 0, m_OutData); -} - -void CUtil9116Dlg::OnDo03() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_DO03 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_OutData |= 0x08; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_OutData &= (~0x08); - } - - DO_WritePort(m_hCard, 0, m_OutData); -} - -void CUtil9116Dlg::OnDo04() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_DO04 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_OutData |= 0x10; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_OutData &= (~0x10); - } - - DO_WritePort(m_hCard, 0, m_OutData); -} - -void CUtil9116Dlg::OnDo05() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_DO05 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_OutData |= 0x20; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_OutData &= (~0x20); - } - - DO_WritePort(m_hCard, 0, m_OutData); -} - -void CUtil9116Dlg::OnDo06() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_DO06 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_OutData |= 0x40; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_OutData &= (~0x40); - } - - DO_WritePort(m_hCard, 0, m_OutData); -} - -void CUtil9116Dlg::OnDo07() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_DO07 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_OutData |= 0x80; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_OutData &= (~0x80); - } - - DO_WritePort(m_hCard, 0, m_OutData); -} - - -void CUtil9116Dlg::redraw_display_area(void) -{ - CPen *oldPen; - - int oldMode; - COLORREF oldColor; - - CString y_lable; - - CPen minor_tick( PS_SOLID,1,RGB(132,130,132) ); -// CPen y_grid( PS_SOLID,1,RGB(206,203,132) ); - - int i, x_intv, y_intv; -// long total_sec; - - CClientDC dc_plot(this); - - // draw the base-line for x-y axises - oldPen = (CPen *)dc_plot.SelectStockObject(BLACK_PEN); - - // redraw the background - dc_plot.FillSolidRect( plotRect0, RGB(0,0,0) ); - dc_plot.FillSolidRect( plotRect1, RGB(0,0,0) ); - - // Re-Draw the AREA for Y-Lable - { - CBrush DIALOG_BRUSH; - CRect redraw_area, full_client; - - GetClientRect(&full_client); - ScreenToClient(&full_client); - - redraw_area.left = full_client.left; - redraw_area.top = plotRect0.top - 5; - redraw_area.right = plotRect0.left - 3; - redraw_area.bottom = plotRect0.bottom + 10; - - DIALOG_BRUSH.CreateSysColorBrush( COLOR_3DFACE ); - - dc_plot.FillRect( redraw_area, &DIALOG_BRUSH ); - - - redraw_area.left = full_client.left; - redraw_area.top = plotRect1.top - 5; - redraw_area.right = plotRect1.left - 3; - redraw_area.bottom = plotRect1.bottom + 10; - - dc_plot.FillRect( redraw_area, &DIALOG_BRUSH ); - - - DIALOG_BRUSH.DeleteObject(); - } - - dc_plot.MoveTo( plotRect0.left - 3, plotRect0.top ); - dc_plot.LineTo( plotRect0.left - 3, plotRect0.bottom ); - - dc_plot.MoveTo( plotRect1.left - 3, plotRect1.top ); - dc_plot.LineTo( plotRect1.left - 3, plotRect1.bottom ); - - // calculate the interval for tick/grid - y_intv = (plotRect0.Height() - 10) /y_divider; - x_intv = plotRect0.Width()/x_divider; - - - // set the color for tick - oldColor = dc_plot.SetTextColor( RGB(0,0,0) ); - oldMode = dc_plot.SetBkMode( TRANSPARENT ); - - for( i=0; i<= y_divider; i++ ) - { - CString tick_str; - CRect tmp_rect, tick_rect; - - // draw the tick for y-axis - dc_plot.MoveTo( plotRect0.left -12, plotRect0.bottom -5 - (i*y_intv) ); - dc_plot.LineTo( plotRect0.left -3, plotRect0.bottom -5 - (i*y_intv) ); - - tick_str.Format( _T("%.3f"), ( ((max_range-min_range)/y_divider) * i)+min_range ); - - // calculate the rectangle for text - dc_plot.DrawText( tick_str, &tmp_rect, DT_CALCRECT|DT_SINGLELINE ); - tick_rect.right = plotRect0.left -14; - tick_rect.left = tick_rect.right - tmp_rect.Width(); - tick_rect.top = plotRect0.bottom -5 - (i*y_intv) - tmp_rect.Height()/2; - tick_rect.bottom = tick_rect.top + tmp_rect.Height(); - - // draw the text - dc_plot.DrawText( tick_str, &tick_rect, DT_SINGLELINE|DT_RIGHT ); - - } - - - for( i=0; i<= y_divider; i++ ) - { - CString tick_str; - CRect tmp_rect, tick_rect; - - // draw the tick for y-axis - dc_plot.MoveTo( plotRect1.left -12, plotRect1.bottom -5 - (i*y_intv) ); - dc_plot.LineTo( plotRect1.left -3, plotRect1.bottom -5 - (i*y_intv) ); - - tick_str.Format( _T("%.3f"), ( ((max_range-min_range)/y_divider) * i)+min_range ); - - // calculate the rectangle for text - dc_plot.DrawText( tick_str, &tmp_rect, DT_CALCRECT|DT_SINGLELINE ); - tick_rect.right = plotRect1.left -14; - tick_rect.left = tick_rect.right - tmp_rect.Width(); - tick_rect.top = plotRect1.bottom -5 - (i*y_intv) - tmp_rect.Height()/2; - tick_rect.bottom = tick_rect.top + tmp_rect.Height(); - - // draw the text - dc_plot.DrawText( tick_str, &tick_rect, DT_SINGLELINE|DT_RIGHT ); - - } - - // draw the minor_tick for Y axises - dc_plot.SelectObject(&minor_tick); - for( i=0; i< y_divider; i++ ) - { - dc_plot.MoveTo( plotRect0.left -9, plotRect0.bottom -5 - (i*y_intv) - y_intv/2 ); - dc_plot.LineTo( plotRect0.left -4, plotRect0.bottom -5 - (i*y_intv) - y_intv/2 ); - } - - for( i=0; i< y_divider; i++ ) - { - dc_plot.MoveTo( plotRect1.left -9, plotRect1.bottom -5 - (i*y_intv) - y_intv/2 ); - dc_plot.LineTo( plotRect1.left -4, plotRect1.bottom -5 - (i*y_intv) - y_intv/2 ); - } - - dc_plot.SetTextColor( oldColor ); - dc_plot.SetBkMode( oldMode ); - dc_plot.SelectObject( oldPen ); -} - -int CUtil9116Dlg::display_buffer_data(void) -{ - CClientDC dc_plot(this); - int nDraw_Bottom; - - int newY; - I16 ai_data; - - - dc_plot.BitBlt( plotRect0.left+2, plotRect0.top, n_PlotWidth-2, n_PlotHeight, &dc_plot, plotRect0.left, plotRect0.top, SRCCOPY ); - dc_plot.BitBlt( plotRect1.left+2, plotRect1.top, n_PlotWidth-2, n_PlotHeight, &dc_plot, plotRect1.left, plotRect1.top, SRCCOPY ); - - for( int i=0; i> 16) ); // ( n_PlotHeight * ai_data / 65536) ); // ( (n_PlotHeight/2) * ai_data/32768 ) ); - - if ( m_oldY[i] !=-1 ) - { - dc_plot.MoveTo( plotRect0.left+2, newY ); - dc_plot.LineTo( plotRect0.left+5, m_oldY[i] ); - } - - m_oldY[i] = newY; - } - } - - return 0; -} diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116/Util9116Dlg.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116/Util9116Dlg.h deleted file mode 100644 index b67f0eb..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116/Util9116Dlg.h +++ /dev/null @@ -1,111 +0,0 @@ - -// Util9116Dlg.h : header file -// - -#pragma once -#include "afxcmn.h" -#include "afxwin.h" - -#include "Dask64.h" - -#ifndef MAX_CHAN_9116 -#define MAX_CHAN_9116 16 -#endif - -// CUtil9116Dlg dialog -class CUtil9116Dlg : public CDialog -{ -// Construction -public: - CUtil9116Dlg(I16 hCard, CWnd* pParent = NULL); // standard constructor - -// Dialog Data - enum { IDD = IDD_UTIL9116_DIALOG }; - - protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - - -// Implementation -protected: - HICON m_hIcon; - UINT_PTR m_nTimer; - I16 m_hCard; - int m_nAOValue; - U16 m_wAdRange; - U8 m_AIEnable[MAX_CHAN_9116]; - U16 m_AIData[MAX_CHAN_9116]; - U32 m_OutData; - U32 m_InData; - - // Generated message map functions - virtual BOOL OnInitDialog(); - afx_msg void OnSysCommand(UINT nID, LPARAM lParam); - afx_msg void OnPaint(); - afx_msg HCURSOR OnQueryDragIcon(); - DECLARE_MESSAGE_MAP() -public: - CScrollBar m_scBarAO; - CComboBox m_cbAIRange; - WORD max_val; - WORD min_val; - double max_range; - double min_range; - int n_PlotWidth; - int n_PlotHeight; - int y_divider; - int x_divider; - int m_DisplayScale; - int m_oldY[MAX_CHAN_9116]; - HBRUSH OnBrush; - HBRUSH OffBrush; - CPen RedPen; - CPen GreenPen; - CPen YellowPen; - CPen BluePen; - CPen LTBluePen; - CPen LTRedPen; - CPen LTGreenPen; - CPen WhitePen; - -private: - void redraw_display_area(void); -public: - afx_msg void OnDestroy(); - afx_msg void OnAIRangeSelchange(); - afx_msg void OnAI00Enable(); - afx_msg void OnAI01Enable(); - afx_msg void OnAI02Enable(); - afx_msg void OnAI03Enable(); - afx_msg void OnAI04Enable(); - afx_msg void OnAI05Enable(); - afx_msg void OnAI06Enable(); - afx_msg void OnAI07Enable(); - afx_msg void OnAI08Enable(); - afx_msg void OnAI09Enable(); - afx_msg void OnAI10Enable(); - afx_msg void OnAI11Enable(); - afx_msg void OnAI12Enable(); - afx_msg void OnAI13Enable(); - afx_msg void OnAI14Enable(); - afx_msg void OnAI15Enable(); - afx_msg void OnDo00(); - afx_msg void OnDo01(); - afx_msg void OnDo02(); - afx_msg void OnDo03(); - afx_msg void OnDo04(); - afx_msg void OnDo05(); - afx_msg void OnDo06(); - afx_msg void OnDo07(); - afx_msg void OnTimer(UINT_PTR nIDEvent); - CStatic m_Icon_IN00; - CStatic m_Icon_IN01; - CStatic m_Icon_IN02; - CStatic m_Icon_IN03; - CStatic m_Icon_IN04; - CStatic m_Icon_IN05; - CStatic m_Icon_IN06; - CStatic m_Icon_IN07; -private: - int display_buffer_data(void); -}; diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116/res/Util9116.ico b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116/res/Util9116.ico deleted file mode 100644 index d56fbcd..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116/res/Util9116.ico and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116/res/Util9116.rc2 b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116/res/Util9116.rc2 deleted file mode 100644 index 4b43b56..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116/res/Util9116.rc2 +++ /dev/null @@ -1,13 +0,0 @@ -// -// Util9111.RC2 - resources Microsoft Visual C++ does not edit directly -// - -#ifdef APSTUDIO_INVOKED -#error this file is not editable by Microsoft Visual C++ -#endif //APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// Add manually edited resources here... - -///////////////////////////////////////////////////////////////////////////// diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116/res/black.ico b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116/res/black.ico deleted file mode 100644 index b5c375f..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116/res/black.ico and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116/res/blue.ico b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116/res/blue.ico deleted file mode 100644 index 1df4b39..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116/res/blue.ico and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116/res/ch_set1.bmp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116/res/ch_set1.bmp deleted file mode 100644 index f2374ed..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116/res/ch_set1.bmp and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116/res/ch_set2.bmp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116/res/ch_set2.bmp deleted file mode 100644 index 32d0915..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116/res/ch_set2.bmp and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116/res/green.ico b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116/res/green.ico deleted file mode 100644 index d9a9fd3..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116/res/green.ico and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116/res/icon1.ico b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116/res/icon1.ico deleted file mode 100644 index f1282c6..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116/res/icon1.ico and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116/res/pink.ico b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116/res/pink.ico deleted file mode 100644 index 18bdaad..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116/res/pink.ico and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116/res/red.ico b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116/res/red.ico deleted file mode 100644 index 7644596..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116/res/red.ico and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116/res/yellow.ico b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116/res/yellow.ico deleted file mode 100644 index 3449de2..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116/res/yellow.ico and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116/resource.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116/resource.h deleted file mode 100644 index 96b2854..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116/resource.h +++ /dev/null @@ -1,66 +0,0 @@ -//{{NO_DEPENDENCIES}} -// Microsoft Visual C++ generated include file. -// Used by Util9116.rc -// -#define IDM_ABOUTBOX 0x0010 -#define IDD_ABOUTBOX 100 -#define IDS_ABOUTBOX 101 -#define IDD_UTIL9116_DIALOG 102 -#define IDR_MAINFRAME 128 -#define IDI_ICON_BLACK 130 -#define IDI_ICON_RED 131 -#define IDB_BITMAP_SET1 132 -#define IDB_BITMAP_SET2 133 -#define IDD_CARDID_DIALOG 135 -#define IDC_STATIC_DRAW0 1000 -#define IDC_COMBO_CARDID 1000 -#define IDC_SCROLLBAR1 1001 -#define IDC_COMBO_CARDTYPE 1001 -#define IDC_STATIC_DRAW1 1002 -#define IDC_ICON_DI00 1003 -#define IDC_ICON_DI01 1004 -#define IDC_ICON_DI02 1005 -#define IDC_ICON_DI03 1006 -#define IDC_ICON_DI04 1007 -#define IDC_ICON_DI05 1008 -#define IDC_ICON_DI06 1009 -#define IDC_ICON_DI07 1010 -#define IDC_STATIC_01 1014 -#define IDC_STATIC_2 1015 -#define IDC_RADIO_CH0 1019 -#define IDC_RADIO_CH1 1020 -#define IDC_RADIO_CH2 1021 -#define IDC_RADIO_CH3 1022 -#define IDC_RADIO_CH4 1023 -#define IDC_RADIO_CH5 1024 -#define IDC_RADIO_CH6 1025 -#define IDC_RADIO_CH7 1026 -#define IDC_RADIO_CH8 1027 -#define IDC_RADIO_CH9 1028 -#define IDC_RADIO_CH10 1029 -#define IDC_RADIO_CH11 1030 -#define IDC_RADIO_CH12 1031 -#define IDC_RADIO_CH13 1032 -#define IDC_RADIO_CH14 1033 -#define IDC_RADIO_CH15 1034 -#define IDC_CHECK_DO00 1035 -#define IDC_CHECK_DO01 1036 -#define IDC_CHECK_DO02 1037 -#define IDC_CHECK_DO03 1038 -#define IDC_CHECK_DO04 1039 -#define IDC_CHECK_DO05 1040 -#define IDC_CHECK_DO06 1041 -#define IDC_CHECK_DO07 1042 -#define IDC_COMBO1 1051 -#define IDC_COMBO_AI_RANGE 1051 - -// Next default values for new objects -// -#ifdef APSTUDIO_INVOKED -#ifndef APSTUDIO_READONLY_SYMBOLS -#define _APS_NEXT_RESOURCE_VALUE 137 -#define _APS_NEXT_COMMAND_VALUE 32771 -#define _APS_NEXT_CONTROL_VALUE 1053 -#define _APS_NEXT_SYMED_VALUE 101 -#endif -#endif diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116/stdafx.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116/stdafx.cpp deleted file mode 100644 index c8c8934..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116/stdafx.cpp +++ /dev/null @@ -1,8 +0,0 @@ - -// stdafx.cpp : source file that includes just the standard includes -// Util9111.pch will be the pre-compiled header -// stdafx.obj will contain the pre-compiled type information - -#include "stdafx.h" - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116/stdafx.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116/stdafx.h deleted file mode 100644 index 12123e2..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116/stdafx.h +++ /dev/null @@ -1,60 +0,0 @@ - -// stdafx.h : include file for standard system include files, -// or project specific include files that are used frequently, -// but are changed infrequently - -#pragma once - -#ifndef _SECURE_ATL -#define _SECURE_ATL 1 -#endif - -#ifndef VC_EXTRALEAN -#define VC_EXTRALEAN // Exclude rarely-used stuff from Windows headers -#endif - -#include "targetver.h" - -#define _ATL_CSTRING_EXPLICIT_CONSTRUCTORS // some CString constructors will be explicit - -// turns off MFC's hiding of some common and often safely ignored warning messages -#define _AFX_ALL_WARNINGS - -#include // MFC core and standard components -#include // MFC extensions - - -#include // MFC Automation classes - - - -#ifndef _AFX_NO_OLE_SUPPORT -#include // MFC support for Internet Explorer 4 Common Controls -#endif -#ifndef _AFX_NO_AFXCMN_SUPPORT -#include // MFC support for Windows Common Controls -#endif // _AFX_NO_AFXCMN_SUPPORT - -#include // MFC support for ribbons and control bars - - - - - - - - - -#ifdef _UNICODE -#if defined _M_IX86 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='x86' publicKeyToken='6595b64144ccf1df' language='*'\"") -#elif defined _M_IA64 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='ia64' publicKeyToken='6595b64144ccf1df' language='*'\"") -#elif defined _M_X64 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='amd64' publicKeyToken='6595b64144ccf1df' language='*'\"") -#else -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='*' publicKeyToken='6595b64144ccf1df' language='*'\"") -#endif -#endif - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116/targetver.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116/targetver.h deleted file mode 100644 index 11730d5..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116/targetver.h +++ /dev/null @@ -1,26 +0,0 @@ - -#pragma once - -// The following macros define the minimum required platform. The minimum required platform -// is the earliest version of Windows, Internet Explorer etc. that has the necessary features to run -// your application. The macros work by enabling all features available on platform versions up to and -// including the version specified. - -// Modify the following defines if you have to target a platform prior to the ones specified below. -// Refer to MSDN for the latest info on corresponding values for different platforms. -#ifndef WINVER // Specifies that the minimum required platform is Windows Vista. -#define WINVER 0x0600 // Change this to the appropriate value to target other versions of Windows. -#endif - -#ifndef _WIN32_WINNT // Specifies that the minimum required platform is Windows Vista. -#define _WIN32_WINNT 0x0600 // Change this to the appropriate value to target other versions of Windows. -#endif - -#ifndef _WIN32_WINDOWS // Specifies that the minimum required platform is Windows 98. -#define _WIN32_WINDOWS 0x0410 // Change this to the appropriate value to target Windows Me or later. -#endif - -#ifndef _WIN32_IE // Specifies that the minimum required platform is Internet Explorer 7.0. -#define _WIN32_IE 0x0700 // Change this to the appropriate value to target other versions of IE. -#endif - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116DbfDlyTrg/9111DbInt.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116DbfDlyTrg/9111DbInt.suo deleted file mode 100644 index 3fde864..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116DbfDlyTrg/9111DbInt.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116DbfDlyTrg/9111PostTg.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116DbfDlyTrg/9111PostTg.suo deleted file mode 100644 index c59a833..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116DbfDlyTrg/9111PostTg.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116DbfDlyTrg/9111int.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116DbfDlyTrg/9111int.suo deleted file mode 100644 index aaca7d8..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116DbfDlyTrg/9111int.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116DbfDlyTrg/9116DTrg.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116DbfDlyTrg/9116DTrg.cpp deleted file mode 100644 index 6c6fe2c..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116DbfDlyTrg/9116DTrg.cpp +++ /dev/null @@ -1,113 +0,0 @@ - -// 9116DTrg.cpp : Defines the class behaviors for the application. -// - -#include "stdafx.h" -#include "9116DTrg.h" -#include "9116DTrgDlg.h" -#include "CardIDDlg.h" - -#ifdef _DEBUG -#define new DEBUG_NEW -#endif - - -// C9116DTrgApp - -BEGIN_MESSAGE_MAP(C9116DTrgApp, CWinAppEx) - ON_COMMAND(ID_HELP, &CWinApp::OnHelp) -END_MESSAGE_MAP() - - -// C9116DTrgApp construction - -C9116DTrgApp::C9116DTrgApp() -{ - // TODO: add construction code here, - // Place all significant initialization in InitInstance -} - - -// The one and only C9116DTrgApp object - -C9116DTrgApp theApp; - - -// C9116DTrgApp initialization - -BOOL C9116DTrgApp::InitInstance() -{ - int nCardID = 0; - I16 hCard; - U16 wAIMode; - U16 wDelayMode; - CString strTemp; - INT_PTR nResponse; - - // InitCommonControlsEx() is required on Windows XP if an application - // manifest specifies use of ComCtl32.dll version 6 or later to enable - // visual styles. Otherwise, any window creation will fail. - INITCOMMONCONTROLSEX InitCtrls; - InitCtrls.dwSize = sizeof(InitCtrls); - // Set this to include all the common control classes you want to use - // in your application. - InitCtrls.dwICC = ICC_WIN95_CLASSES; - InitCommonControlsEx(&InitCtrls); - - CWinAppEx::InitInstance(); - - AfxEnableControlContainer(); - - // Standard initialization - // If you are not using these features and wish to reduce the size - // of your final executable, you should remove from the following - // the specific initialization routines you do not need - // Change the registry key under which our settings are stored - // TODO: You should modify this string to be something appropriate - // such as the name of your company or organization - SetRegistryKey(_T("Local AppWizard-Generated Applications")); - - CCardIDDlg CardDlg( nCardID ); - - nResponse = CardDlg.DoModal(); - if (nResponse == IDOK) - { - nCardID = CardDlg.GetCardID(); - wAIMode = CardDlg.GetAIMode(); - wDelayMode = CardDlg.GetDelayMode(); - - if ((hCard=Register_Card(PCI_9116, nCardID)) < 0) - { - strTemp.Format( TEXT("Register_Card Error = %d"), hCard); - AfxMessageBox( strTemp ); - } - else - { - C9116DTrgDlg dlg(hCard, wAIMode, wDelayMode); - m_pMainWnd = &dlg; - nResponse = dlg.DoModal(); - if (nResponse == IDOK) - { - // TODO: Place code here to handle when the dialog is - // dismissed with OK - } - else if (nResponse == IDCANCEL) - { - // TODO: Place code here to handle when the dialog is - // dismissed with Cancel - } - - if (hCard >= 0) Release_Card(hCard); - } - - } - else if (nResponse == IDCANCEL) - { - // TODO: Place code here to handle when the dialog is - // dismissed with Cancel - } - - // Since the dialog has been closed, return FALSE so that we exit the - // application, rather than start the application's message pump. - return FALSE; -} diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116DbfDlyTrg/9116DTrg.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116DbfDlyTrg/9116DTrg.h deleted file mode 100644 index f4f6460..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116DbfDlyTrg/9116DTrg.h +++ /dev/null @@ -1,34 +0,0 @@ - -// 9116DTrg.h : main header file for the PROJECT_NAME application -// - -#pragma once - -#ifndef __AFXWIN_H__ - #error "include 'stdafx.h' before including this file for PCH" -#endif - -#include "resource.h" // main symbols - -#define AI_MODE_DMA 0 -#define AI_MODE_INT 1 - -// C9116DTrgApp: -// See 9116DTrg.cpp for the implementation of this class -// - -class C9116DTrgApp : public CWinAppEx -{ -public: - C9116DTrgApp(); - -// Overrides - public: - virtual BOOL InitInstance(); - -// Implementation - - DECLARE_MESSAGE_MAP() -}; - -extern C9116DTrgApp theApp; \ No newline at end of file diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116DbfDlyTrg/9116DTrg.rc b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116DbfDlyTrg/9116DTrg.rc deleted file mode 100644 index 06af194..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116DbfDlyTrg/9116DTrg.rc +++ /dev/null @@ -1,297 +0,0 @@ -// Microsoft Visual C++ generated resource script. -// -#include "resource.h" - -#define APSTUDIO_READONLY_SYMBOLS -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 2 resource. -// -#ifndef APSTUDIO_INVOKED -#include "targetver.h" -#endif -#include "afxres.h" - -///////////////////////////////////////////////////////////////////////////// -#undef APSTUDIO_READONLY_SYMBOLS - -///////////////////////////////////////////////////////////////////////////// -// Chinese (Taiwan) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_CHT) -#ifdef _WIN32 -LANGUAGE LANG_CHINESE, SUBLANG_CHINESE_TRADITIONAL -#pragma code_page(950) -#endif //_WIN32 - -#ifdef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// TEXTINCLUDE -// - -1 TEXTINCLUDE -BEGIN - "resource.h\0" -END - -2 TEXTINCLUDE -BEGIN - "#ifndef APSTUDIO_INVOKED\r\n" - "#include ""targetver.h""\r\n" - "#endif\r\n" - "#include ""afxres.h""\r\n" - "\0" -END - -3 TEXTINCLUDE -BEGIN - "#define _AFX_NO_SPLITTER_RESOURCES\r\n" - "#define _AFX_NO_OLE_RESOURCES\r\n" - "#define _AFX_NO_TRACKER_RESOURCES\r\n" - "#define _AFX_NO_PROPERTY_RESOURCES\r\n" - "\r\n" - "#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)\r\n" - "LANGUAGE 9, 1\r\n" - "#pragma code_page(1252)\r\n" - "#include ""res\\My9116DTrg.rc2"" // non-Microsoft Visual C++ edited resources\r\n" - "#include ""afxres.rc"" // Standard components\r\n" - "#endif\r\n" - "\0" -END - -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// Icon -// - -// Icon with lowest ID value placed first to ensure application icon -// remains consistent on all systems. -IDR_MAINFRAME ICON "res\\9116DTrg.ico" -#endif // Chinese (Taiwan) resources -///////////////////////////////////////////////////////////////////////////// - - -///////////////////////////////////////////////////////////////////////////// -// English (U.S.) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -#ifdef _WIN32 -LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US -#pragma code_page(1252) -#endif //_WIN32 - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog -// - -IDD_ABOUTBOX DIALOGEX 0, 0, 170, 62 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "About 9116DTrg" -FONT 8, "MS Shell Dlg", 0, 0, 0x1 -BEGIN - ICON IDR_MAINFRAME,IDC_STATIC,14,14,21,20 - LTEXT "9116DTrg, Version 1.0",IDC_STATIC,42,14,114,8,SS_NOPREFIX - LTEXT "Copyright (C) 2010",IDC_STATIC,42,26,114,8 - DEFPUSHBUTTON "OK",IDOK,113,41,50,14,WS_GROUP -END - -IDD_9118DMA_DIALOG DIALOGEX 0, 0, 365, 232 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU -EXSTYLE WS_EX_APPWINDOW -CAPTION "PCI-9116 Double-Buffered DMA with Delay Trigger Mode" -FONT 8, "MS Shell Dlg", 0, 0, 0x1 -BEGIN - GROUPBOX "",IDC_STATIC_DRAW,45,9,248,161,NOT WS_VISIBLE - LTEXT "Range : +/- 5V",IDC_STATIC,299,129,52,15 - LTEXT "Buffer Size :",IDC_STATIC,124,183,42,9 - EDITTEXT IDC_EDIT_SCAN_ITERVAL,47,196,39,14,ES_AUTOHSCROLL | ES_READONLY - LTEXT "Sample Interval :",IDC_STATIC,47,182,60,9 - LTEXT "KHz",IDC_STATIC,99,199,15,9 - SCROLLBAR IDC_SCROLLBAR_RATE,87,196,9,11,SBS_VERT - PUSHBUTTON "Start",IDC_BT_START,230,188,55,22 - EDITTEXT IDC_EDIT_BUF_SIZE,122,196,46,14,ES_AUTOHSCROLL - PUSHBUTTON "Stop",IDC_BT_STOP,291,188,55,22 - LTEXT "Channel 0",IDC_STATIC,301,39,52,15 -END - -IDD_CARDID_DIALOG DIALOGEX 0, 0, 174, 134 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "Card ID" -FONT 8, "MS Shell Dlg", 400, 0, 0x1 -BEGIN - COMBOBOX IDC_COMBO_CARDID,86,24,71,126,CBS_DROPDOWN | WS_VSCROLL | WS_TABSTOP - LTEXT "Card Number",IDC_STATIC_01,31,25,46,12 - PUSHBUTTON "OK",IDOK,22,97,58,19 - PUSHBUTTON "CANCEL",IDCANCEL,86,97,58,19 - COMBOBOX IDC_COMBO_CARDTYPE,86,46,71,126,CBS_DROPDOWN | WS_VSCROLL | WS_TABSTOP - LTEXT "Analog Input Mode",IDC_STATIC_2,13,47,64,12 - COMBOBOX IDC_COMBO_DELAY_MODE,86,69,71,14,CBS_DROPDOWN | WS_VSCROLL | WS_TABSTOP - LTEXT "Delay Mode",IDC_STATIC_3,35,70,42,12 -END - - -///////////////////////////////////////////////////////////////////////////// -// -// Version -// - -VS_VERSION_INFO VERSIONINFO - FILEVERSION 1,0,0,1 - PRODUCTVERSION 1,0,0,1 - FILEFLAGSMASK 0x3fL -#ifdef _DEBUG - FILEFLAGS 0x1L -#else - FILEFLAGS 0x0L -#endif - FILEOS 0x4L - FILETYPE 0x1L - FILESUBTYPE 0x0L -BEGIN - BLOCK "StringFileInfo" - BEGIN - BLOCK "040904e4" - BEGIN - VALUE "CompanyName", "TODO: " - VALUE "FileDescription", "TODO: " - VALUE "FileVersion", "1.0.0.1" - VALUE "InternalName", "9116DTrg.exe" - VALUE "LegalCopyright", "TODO: (c) . All rights reserved." - VALUE "OriginalFilename", "9116DTrg.exe" - VALUE "ProductName", "TODO: " - VALUE "ProductVersion", "1.0.0.1" - END - END - BLOCK "VarFileInfo" - BEGIN - VALUE "Translation", 0x409, 1252 - END -END - - -///////////////////////////////////////////////////////////////////////////// -// -// DESIGNINFO -// - -#ifdef APSTUDIO_INVOKED -GUIDELINES DESIGNINFO -BEGIN - IDD_ABOUTBOX, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 163 - TOPMARGIN, 7 - BOTTOMMARGIN, 55 - END - - IDD_CARDID_DIALOG, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 167 - TOPMARGIN, 7 - BOTTOMMARGIN, 127 - END -END -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog Info -// - -IDD_CARDID_DIALOG DLGINIT -BEGIN - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0030, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0031, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0032, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0033, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0034, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0035, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0036, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0037, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0038, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0039, - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3031, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3131, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3231, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3331, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3431, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3531, "\000" - IDC_COMBO_CARDTYPE, 0x403, 4, 0 -0x4d44, 0x0041, - IDC_COMBO_CARDTYPE, 0x403, 4, 0 -0x4e49, 0x0054, - IDC_COMBO_DELAY_MODE, 0x403, 12, 0 -0x6e49, 0x5420, 0x6d69, 0x6265, 0x7361, 0x0065, - IDC_COMBO_DELAY_MODE, 0x403, 11, 0 -0x6e49, 0x5320, 0x6d61, 0x6c70, 0x7365, "\000" - 0 -END - - -///////////////////////////////////////////////////////////////////////////// -// -// Bitmap -// - -IDB_BITMAP_SET1 BITMAP "res\\ch_set1.bmp" -IDB_BITMAP_SET2 BITMAP "res\\ch_set2.bmp" - -///////////////////////////////////////////////////////////////////////////// -// -// String Table -// - -STRINGTABLE -BEGIN - IDS_ABOUTBOX "&About 9116DTrg..." -END - -#endif // English (U.S.) resources -///////////////////////////////////////////////////////////////////////////// - - - -#ifndef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 3 resource. -// -#define _AFX_NO_SPLITTER_RESOURCES -#define _AFX_NO_OLE_RESOURCES -#define _AFX_NO_TRACKER_RESOURCES -#define _AFX_NO_PROPERTY_RESOURCES - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -LANGUAGE 9, 1 -#pragma code_page(1252) -#include "res\My9116DTrg.rc2" // non-Microsoft Visual C++ edited resources -#include "afxres.rc" // Standard components -#endif - -///////////////////////////////////////////////////////////////////////////// -#endif // not APSTUDIO_INVOKED - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116DbfDlyTrg/9116DTrg.sln b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116DbfDlyTrg/9116DTrg.sln deleted file mode 100644 index 9d63034..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116DbfDlyTrg/9116DTrg.sln +++ /dev/null @@ -1,20 +0,0 @@ - -Microsoft Visual Studio Solution File, Format Version 10.00 -# Visual Studio 2008 -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "9116DTrg", "9116DTrg.vcproj", "{702163FB-B6DF-4EF5-9491-FC54D71509BC}" -EndProject -Global - GlobalSection(SolutionConfigurationPlatforms) = preSolution - Debug|x64 = Debug|x64 - Release|x64 = Release|x64 - EndGlobalSection - GlobalSection(ProjectConfigurationPlatforms) = postSolution - {702163FB-B6DF-4EF5-9491-FC54D71509BC}.Debug|x64.ActiveCfg = Debug|x64 - {702163FB-B6DF-4EF5-9491-FC54D71509BC}.Debug|x64.Build.0 = Debug|x64 - {702163FB-B6DF-4EF5-9491-FC54D71509BC}.Release|x64.ActiveCfg = Release|x64 - {702163FB-B6DF-4EF5-9491-FC54D71509BC}.Release|x64.Build.0 = Release|x64 - EndGlobalSection - GlobalSection(SolutionProperties) = preSolution - HideSolutionNode = FALSE - EndGlobalSection -EndGlobal diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116DbfDlyTrg/9116DTrg.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116DbfDlyTrg/9116DTrg.suo deleted file mode 100644 index 38022df..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116DbfDlyTrg/9116DTrg.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116DbfDlyTrg/9116DTrg.vcproj b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116DbfDlyTrg/9116DTrg.vcproj deleted file mode 100644 index 134d1ab..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116DbfDlyTrg/9116DTrg.vcproj +++ /dev/null @@ -1,294 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116DbfDlyTrg/9116DTrgDlg.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116DbfDlyTrg/9116DTrgDlg.cpp deleted file mode 100644 index 818b80f..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116DbfDlyTrg/9116DTrgDlg.cpp +++ /dev/null @@ -1,498 +0,0 @@ - -// 9116DTrgDlg.cpp : implementation file -// - -#include "stdafx.h" -#include "9116DTrg.h" -#include "9116DTrgDlg.h" - -#ifdef _DEBUG -#define new DEBUG_NEW -#endif - -CRect plotRect; - -// CAboutDlg dialog used for App About - -class CAboutDlg : public CDialog -{ -public: - CAboutDlg(); - -// Dialog Data - enum { IDD = IDD_ABOUTBOX }; - - protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - -// Implementation -protected: - DECLARE_MESSAGE_MAP() -}; - -CAboutDlg::CAboutDlg() : CDialog(CAboutDlg::IDD) -{ -} - -void CAboutDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); -} - -BEGIN_MESSAGE_MAP(CAboutDlg, CDialog) -END_MESSAGE_MAP() - - -// C9116DTrgDlg dialog - - - - -C9116DTrgDlg::C9116DTrgDlg(I16 hCard, U16 wAIMode, U16 wDelayMode, CWnd* pParent /*=NULL*/) - : CDialog(C9116DTrgDlg::IDD, pParent) -{ - m_hIcon = AfxGetApp()->LoadIcon(IDR_MAINFRAME); - - n_PlotWidth = n_PlotHeight = -1; - OnBrush = OffBrush = NULL; - - min_val = 0x00; - max_val = 0xFFFF; - - m_dwSampIntrv = 480; - - m_hCard = hCard; - m_wAIMode = wAIMode; - m_wDelayMode = wDelayMode; - - m_wScanChans = 0; - m_nTimer = -1; - m_hMem=NULL; - - m_wRange = AD_B_5_V; - m_dwReadCount = 4096; - m_wPostCount = 512; - - -} - -void C9116DTrgDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); -} - -BEGIN_MESSAGE_MAP(C9116DTrgDlg, CDialog) - ON_WM_SYSCOMMAND() - ON_WM_PAINT() - ON_WM_QUERYDRAGICON() - //}}AFX_MSG_MAP - ON_WM_DESTROY() - ON_WM_VSCROLL() - ON_BN_CLICKED(IDC_BT_START, &C9116DTrgDlg::OnStart) - ON_WM_TIMER() - ON_BN_CLICKED(IDC_BT_STOP, &C9116DTrgDlg::OnStop) -END_MESSAGE_MAP() - - -// C9116DTrgDlg message handlers - -BOOL C9116DTrgDlg::OnInitDialog() -{ - CDialog::OnInitDialog(); - - // Add "About..." menu item to system menu. - - // IDM_ABOUTBOX must be in the system command range. - ASSERT((IDM_ABOUTBOX & 0xFFF0) == IDM_ABOUTBOX); - ASSERT(IDM_ABOUTBOX < 0xF000); - - CMenu* pSysMenu = GetSystemMenu(FALSE); - if (pSysMenu != NULL) - { - BOOL bNameValid; - CString strAboutMenu; - bNameValid = strAboutMenu.LoadString(IDS_ABOUTBOX); - ASSERT(bNameValid); - if (!strAboutMenu.IsEmpty()) - { - pSysMenu->AppendMenu(MF_SEPARATOR); - pSysMenu->AppendMenu(MF_STRING, IDM_ABOUTBOX, strAboutMenu); - } - } - - // Set the icon for this dialog. The framework does this automatically - // when the application's main window is not a dialog - SetIcon(m_hIcon, TRUE); // Set big icon - SetIcon(m_hIcon, FALSE); // Set small icon - - // TODO: Add extra initialization here - x_divider = 5; y_divider = 4; - - OnBrush = CreateSolidBrush( RGB(255,0,0) ); - OffBrush = CreateSolidBrush( RGB(125,0,0) ); - - RedPen.CreatePen( PS_SOLID, 1, RGB(255,0,0)); - - - if( n_PlotWidth == -1 && n_PlotHeight == -1 ) - { - ((CWnd*)GetDlgItem(IDC_STATIC_DRAW))->GetWindowRect(&plotRect); - ScreenToClient(&plotRect); - - n_PlotWidth = min( plotRect.Width(), 512); - n_PlotHeight = plotRect.Height() - 10; - } - - // set the default SampleRate - SetDlgItemInt( IDC_EDIT_SAMPLE_RATE, (UINT)(m_dwSampIntrv) ); - SetDlgItemInt( IDC_EDIT_BUF_SIZE, (UINT)(m_dwReadCount) ); - - max_range = 5.0; - min_range = -5.0; - - return TRUE; // return TRUE unless you set the focus to a control -} - -void C9116DTrgDlg::OnSysCommand(UINT nID, LPARAM lParam) -{ - if ((nID & 0xFFF0) == IDM_ABOUTBOX) - { - CAboutDlg dlgAbout; - dlgAbout.DoModal(); - } - else - { - CDialog::OnSysCommand(nID, lParam); - } -} - -// If you add a minimize button to your dialog, you will need the code below -// to draw the icon. For MFC applications using the document/view model, -// this is automatically done for you by the framework. - -void C9116DTrgDlg::OnPaint() -{ - if (IsIconic()) - { - CPaintDC dc(this); // device context for painting - - SendMessage(WM_ICONERASEBKGND, reinterpret_cast(dc.GetSafeHdc()), 0); - - // Center icon in client rectangle - int cxIcon = GetSystemMetrics(SM_CXICON); - int cyIcon = GetSystemMetrics(SM_CYICON); - CRect rect; - GetClientRect(&rect); - int x = (rect.Width() - cxIcon + 1) / 2; - int y = (rect.Height() - cyIcon + 1) / 2; - - // Draw the icon - dc.DrawIcon(x, y, m_hIcon); - } - else - { - redraw_display_area(); - CDialog::OnPaint(); - } -} - -// The system calls this function to obtain the cursor to display while the user drags -// the minimized window. -HCURSOR C9116DTrgDlg::OnQueryDragIcon() -{ - return static_cast(m_hIcon); -} - - -void C9116DTrgDlg::redraw_display_area(void) -{ - CPen *oldPen; - - int oldMode; - COLORREF oldColor; - - CString y_lable; - - CPen minor_tick( PS_SOLID,1,RGB(132,130,132) ); -// CPen y_grid( PS_SOLID,1,RGB(206,203,132) ); - - int i, x_intv, y_intv; -// long total_sec; - - CClientDC dc_plot(this); - - // draw the base-line for x-y axises - oldPen = (CPen *)dc_plot.SelectStockObject(BLACK_PEN); - - // redraw the background - dc_plot.FillSolidRect( plotRect, RGB(0,0,0) ); - - // Re-Draw the AREA for Y-Lable - { - CBrush DIALOG_BRUSH; - CRect redraw_area, full_client; - - GetClientRect(&full_client); - ScreenToClient(&full_client); - - redraw_area.left = full_client.left; - redraw_area.top = plotRect.top - 5; - redraw_area.right = plotRect.left - 3; - redraw_area.bottom = plotRect.bottom + 10; - - DIALOG_BRUSH.CreateSysColorBrush( COLOR_3DFACE ); - - dc_plot.FillRect( redraw_area, &DIALOG_BRUSH ); - - DIALOG_BRUSH.DeleteObject(); - } - - dc_plot.MoveTo( plotRect.left - 3, plotRect.top ); - dc_plot.LineTo( plotRect.left - 3, plotRect.bottom ); - - // calculate the interval for tick/grid - y_intv = (plotRect.Height() - 10) /y_divider; - x_intv = plotRect.Width()/x_divider; - - - // set the color for tick - oldColor = dc_plot.SetTextColor( RGB(0,0,0) ); - oldMode = dc_plot.SetBkMode( TRANSPARENT ); - - for( i=0; i<= y_divider; i++ ) - { - CString tick_str; - CRect tmp_rect, tick_rect; - - // draw the tick for y-axis - dc_plot.MoveTo( plotRect.left -12, plotRect.bottom -5 - (i*y_intv) ); - dc_plot.LineTo( plotRect.left -3, plotRect.bottom -5 - (i*y_intv) ); - - tick_str.Format( _T("%.1f"), ( ((max_range-min_range)/y_divider) * i)+min_range ); - - // calculate the rectangle for text - dc_plot.DrawText( tick_str, &tmp_rect, DT_CALCRECT|DT_SINGLELINE ); - tick_rect.right = plotRect.left -14; - tick_rect.left = tick_rect.right - tmp_rect.Width(); - tick_rect.top = plotRect.bottom -5 - (i*y_intv) - tmp_rect.Height()/2; - tick_rect.bottom = tick_rect.top + tmp_rect.Height(); - - // draw the text - dc_plot.DrawText( tick_str, &tick_rect, DT_SINGLELINE|DT_RIGHT ); - - } - - // draw the minor_tick for Y axises - dc_plot.SelectObject(&minor_tick); - for( i=0; i< y_divider; i++ ) - { - dc_plot.MoveTo( plotRect.left -9, plotRect.bottom -5 - (i*y_intv) - y_intv/2 ); - dc_plot.LineTo( plotRect.left -4, plotRect.bottom -5 - (i*y_intv) - y_intv/2 ); - } - - dc_plot.SetTextColor( oldColor ); - dc_plot.SetBkMode( oldMode ); - dc_plot.SelectObject( oldPen ); -} - -void C9116DTrgDlg::OnDestroy() -{ - CDialog::OnDestroy(); - - // TODO: Add your message handler code here - if( m_nTimer != -1 ) - { - KillTimer( m_nTimer ); - m_nTimer = -1; - } - - if (m_hMem != NULL) - { - GlobalUnfix(m_hMem); - GlobalUnlock(m_hMem); - GlobalFree(m_hMem); - - m_hMem = NULL; - } - - if( OnBrush != NULL ) - ::DeleteObject( OnBrush ); - - if( OffBrush != NULL ) - ::DeleteObject( OffBrush ); - - RedPen.DeleteObject(); - -} - -void C9116DTrgDlg::OnVScroll(UINT nSBCode, UINT nPos, CScrollBar* pScrollBar) -{ - // TODO: Add your message handler code here and/or call default - switch ( nSBCode ) - { - case SB_LINEUP : - m_dwSampIntrv += 240; - if (m_dwSampIntrv > 24000 ) m_dwSampIntrv = 24000; - break; - case SB_LINEDOWN: - m_dwSampIntrv -= 240; - if (m_dwSampIntrv < 240 ) m_dwSampIntrv = 240; - break; - } - - SetDlgItemInt( IDC_EDIT_SCAN_ITERVAL, (UINT)(m_dwSampIntrv) ); - - - CDialog::OnVScroll(nSBCode, nPos, pScrollBar); -} - - -void C9116DTrgDlg::OnStop() -{ - // TODO: Add your control notification handler code here - U32 count; - - AI_AsyncClear(m_hCard, &count); - - if( m_nTimer != -1 ) - { - KillTimer( m_nTimer ); - m_nTimer = -1; - } - - GetDlgItem( IDC_BT_START )->EnableWindow(TRUE); -} - -void C9116DTrgDlg::OnStart() -{ - // TODO: Add your control notification handler code here - DWORD mem_size; - CString strTemp; - I16 err; - - GetDlgItem( IDC_BT_START )->EnableWindow(FALSE); - - m_dwReadCount = GetDlgItemInt(IDC_EDIT_BUF_SIZE); - - if( (m_wAIMode == AI_MODE_INT) && (m_dwReadCount%1024)) - { - AfxMessageBox( TEXT("Counts must be times of 1024 for DbfINT"), MB_OK); - return; - } - - if (m_hMem != NULL) - { - GlobalUnfix(m_hMem); - GlobalUnlock(m_hMem); - GlobalFree(m_hMem); - - m_hMem = NULL; - } - - // allocate a memory for user DMA buffer - mem_size = m_dwReadCount * sizeof(I16); - m_hMem = GlobalAlloc(GMEM_ZEROINIT, mem_size); - m_pAIBuf = (U16*) GlobalLock(m_hMem); - if (m_pAIBuf == NULL ) - { - AfxMessageBox( TEXT("Memory allocation failed"), MB_OK); - return; - } - - GlobalFix(m_hMem); - - m_oldY = -1; - m_oldX = -1; - - if( m_wAIMode == AI_MODE_DMA ) - err = AI_9116_Config(m_hCard, 0, P9116_AI_DMA|P9116_TRGMOD_DELAY|m_wDelayMode, 65535, 0, 0); - else - err = AI_9116_Config(m_hCard, 0, P9116_AI_INT|P9116_TRGMOD_DELAY|m_wDelayMode, 65535, 0, 0); - - err = AI_9116_CounterInterval(m_hCard, m_dwSampIntrv * (m_wScanChans+1), m_dwSampIntrv); - if (err!=0) - { - strTemp.Format( TEXT("AI_9116_CounterInterval error=%d"), err); - AfxMessageBox( strTemp ); - } - - err=AI_AsyncDblBufferMode(m_hCard, 1); // single-buffer mode - if (err!=0) - { - strTemp.Format( TEXT("AI_DblBufferMode error=%d"), err); - AfxMessageBox( strTemp ); - } - - err=AI_ContReadChannel (m_hCard, m_wScanChans, m_wRange, (U16*)m_pAIBuf, m_dwReadCount, (F64)1, ASYNCH_OP); - if (err!=0) - { - strTemp.Format( TEXT("AI_ContReadChannel error=%d"), err); - AfxMessageBox( strTemp ); - } - - m_nTimer = SetTimer( 1, 20, NULL ); - -} - -int C9116DTrgDlg::display_buffer_data(U16* pBuf) -{ - CClientDC dc_plot(this); - int nDraw_Origin_Y; - - int newY = -1; - int newX = -1; - U32 index; - I16 ai_data; - U32 dwDataSize = (m_dwReadCount/2); - - // redraw the background - dc_plot.FillSolidRect( plotRect, RGB(0,0,0) ); - - dc_plot.SelectObject(&RedPen); - nDraw_Origin_Y = ( plotRect.bottom - 5 ) - n_PlotHeight/2; - - dc_plot.SelectObject(&RedPen); - - for( index=0; index> 16) ); // ( n_PlotHeight * ai_data / 65536) ); // ( (n_PlotHeight/2) * ai_data/32768 ) ); - - newX = (int)( index*n_PlotWidth/dwDataSize + plotRect.left ); - - if ( index == 0 ) - { - dc_plot.MoveTo( newX, newY ); - } - else - { - dc_plot.MoveTo( m_oldX, m_oldY ); - dc_plot.LineTo( newX, newY ); - } - - m_oldX = newX; - m_oldY = newY; - } - - return 0; -} - -void C9116DTrgDlg::OnTimer(UINT_PTR nIDEvent) -{ - // TODO: Add your message handler code here and/or call default - BOOLEAN HalfReady; - BOOLEAN fstop; - - AI_AsyncDblBufferHalfReady(m_hCard, &HalfReady, &fstop); - - if( HalfReady ) // half-buffer ready - { - AI_AsyncDblBufferTransfer(m_hCard, m_pAIBuf); - display_buffer_data( m_pAIBuf ); - } - - CDialog::OnTimer(nIDEvent); -} - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116DbfDlyTrg/9116DTrgDlg.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116DbfDlyTrg/9116DTrgDlg.h deleted file mode 100644 index 9ca90cf..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116DbfDlyTrg/9116DTrgDlg.h +++ /dev/null @@ -1,67 +0,0 @@ - -// 9116DTrgDlg.h : header file -#pragma once -#include "afxcmn.h" -#include "afxwin.h" - -#include "Dask64.h" - -// C9116DTrgDlg dialog -class C9116DTrgDlg : public CDialog -{ -// Construction -public: - C9116DTrgDlg(I16 hCard, U16 wAIMode, U16 wDelayMode, CWnd* pParent = NULL); // standard constructor - -// Dialog Data - enum { IDD = IDD_9118DMA_DIALOG }; - - protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - - -// Implementation -protected: - HICON m_hIcon; - UINT_PTR m_nTimer; - I16 m_hCard; - U16 m_wAIMode; - U16 m_wDelayMode; - U32 m_dwSampIntrv; - U16 m_wScanChans; - HANDLE m_hMem; - U16 *m_pAIBuf; - U16 m_wRange; - int m_oldY; - int m_oldX; - U32 m_dwReadCount; - U16 m_wPostCount; - - // Generated message map functions - virtual BOOL OnInitDialog(); - afx_msg void OnSysCommand(UINT nID, LPARAM lParam); - afx_msg void OnPaint(); - afx_msg HCURSOR OnQueryDragIcon(); - DECLARE_MESSAGE_MAP() - -public: - WORD max_val; - WORD min_val; - double max_range; - double min_range; - int n_PlotWidth; - int n_PlotHeight; - int y_divider; - int x_divider; - int m_DisplayScale; - HBRUSH OnBrush; - HBRUSH OffBrush; - CPen RedPen; - void redraw_display_area(void); - afx_msg void OnDestroy(); - afx_msg void OnVScroll(UINT nSBCode, UINT nPos, CScrollBar* pScrollBar); - afx_msg void OnStart(); - int display_buffer_data(U16* pBuf); - afx_msg void OnTimer(UINT_PTR nIDEvent); - afx_msg void OnStop(); -}; diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116DbfDlyTrg/9116Ptrg.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116DbfDlyTrg/9116Ptrg.suo deleted file mode 100644 index 9e30608..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116DbfDlyTrg/9116Ptrg.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116DbfDlyTrg/9116cdma.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116DbfDlyTrg/9116cdma.suo deleted file mode 100644 index b41e964..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116DbfDlyTrg/9116cdma.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116DbfDlyTrg/9118cdma.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116DbfDlyTrg/9118cdma.suo deleted file mode 100644 index 9318437..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116DbfDlyTrg/9118cdma.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116DbfDlyTrg/CardIDDlg.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116DbfDlyTrg/CardIDDlg.cpp deleted file mode 100644 index 4c41b15..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116DbfDlyTrg/CardIDDlg.cpp +++ /dev/null @@ -1,95 +0,0 @@ -// CardIDDlg.cpp : implementation file -// -#include "stdafx.h" -#include "9116DTrg.h" -#include "9116DTrgDlg.h" -#include "CardIDDlg.h" - -// CCardIDDlg dialog - -IMPLEMENT_DYNAMIC(CCardIDDlg, CDialog) - -CCardIDDlg::CCardIDDlg(int nCardIdx, CWnd* pParent /*=NULL*/) - : CDialog(CCardIDDlg::IDD, pParent) -{ - m_nCardIdx = nCardIdx; -} - -CCardIDDlg::~CCardIDDlg() -{ -} - -void CCardIDDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); - DDX_Control(pDX, IDC_COMBO_CARDID, m_cbCardID); - DDX_Control(pDX, IDC_COMBO_CARDTYPE, m_cbAIMode); - DDX_Control(pDX, IDC_COMBO_DELAY_MODE, m_cbDelayMode); -} - - -BEGIN_MESSAGE_MAP(CCardIDDlg, CDialog) -// ON_CBN_SELCHANGE(IDC_COMBO_CARDID, &CCardIDDlg::OnCbnSelchangeComboCardid) -ON_BN_CLICKED(IDOK, &CCardIDDlg::OnBnClickedOk) -//ON_WM_CTLCOLOR() -END_MESSAGE_MAP() - - -// CCardIDDlg message handlers - - -void CCardIDDlg::OnBnClickedOk() -{ - // TODO: Add your control notification handler code here - int nIndex; - - m_nCardIdx = m_cbCardID.GetCurSel(); - m_wAIMode = AI_MODE_DMA + m_cbAIMode.GetCurSel(); - - nIndex = m_cbDelayMode.GetCurSel(); - - switch( nIndex ) - { - case 0: - m_wDelayMode = P9116_AI_DlyInTimebase; - break; - case 1: - m_wDelayMode = P9116_AI_DlyInSamples; - break; - } - - OnOK(); -} - -BOOL CCardIDDlg::OnInitDialog() -{ - CDialog::OnInitDialog(); - - // TODO: Add extra initialization here - m_cbCardID.SetCurSel( m_nCardIdx ); - - m_cbAIMode.SetCurSel( 0 ); - m_wAIMode = AI_MODE_DMA; - - m_cbDelayMode.SetCurSel( 0 ); - m_wDelayMode = P9116_AI_DlyInTimebase; - - return TRUE; // return TRUE unless you set the focus to a control - // EXCEPTION: OCX Property Pages should return FALSE -} - -// the function to get the selected CardID -int CCardIDDlg::GetCardID(void) -{ - return m_nCardIdx; -} - -U16 CCardIDDlg::GetAIMode(void) -{ - return m_wAIMode; -} - -U16 CCardIDDlg::GetDelayMode(void) -{ - return m_wDelayMode; -} diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116DbfDlyTrg/CardIDDlg.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116DbfDlyTrg/CardIDDlg.h deleted file mode 100644 index 0e5cfd5..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116DbfDlyTrg/CardIDDlg.h +++ /dev/null @@ -1,38 +0,0 @@ -#pragma once -#include "afxwin.h" - -#include "Dask64.h" - -// CCardIDDlg dialog - -class CCardIDDlg : public CDialog -{ - DECLARE_DYNAMIC(CCardIDDlg) - -public: - CCardIDDlg(int nCardIdx, CWnd* pParent = NULL); // standard constructor - virtual ~CCardIDDlg(); - -// Dialog Data - enum { IDD = IDD_CARDID_DIALOG }; - -protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - - DECLARE_MESSAGE_MAP() -public: - virtual BOOL OnInitDialog(); - afx_msg void OnBnClickedOk(); - // the setting of CardID ComboBox - int m_nCardIdx; - U16 m_wAIMode; - U16 m_wDelayMode; - // the control of CardID ComboBox - CComboBox m_cbCardID; - CComboBox m_cbAIMode; - CComboBox m_cbDelayMode; - // the function to get the selected CardID - int GetCardID(void); - U16 GetAIMode(void); - U16 GetDelayMode(void); -}; diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116DbfDlyTrg/ReadMe.txt b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116DbfDlyTrg/ReadMe.txt deleted file mode 100644 index 32dbff1..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116DbfDlyTrg/ReadMe.txt +++ /dev/null @@ -1,93 +0,0 @@ -================================================================================ - MICROSOFT FOUNDATION CLASS LIBRARY : 9116DTrg Project Overview -=============================================================================== - -The application wizard has created this 9116DTrg application for -you. This application not only demonstrates the basics of using the Microsoft -Foundation Classes but is also a starting point for writing your application. - -This file contains a summary of what you will find in each of the files that -make up your 9116DTrg application. - -9116DTrg.vcproj - This is the main project file for VC++ projects generated using an application wizard. - It contains information about the version of Visual C++ that generated the file, and - information about the platforms, configurations, and project features selected with the - application wizard. - -9116DTrg.h - This is the main header file for the application. It includes other - project specific headers (including Resource.h) and declares the - C9116DTrgApp application class. - -9116DTrg.cpp - This is the main application source file that contains the application - class C9116DTrgApp. - -9116DTrg.rc - This is a listing of all of the Microsoft Windows resources that the - program uses. It includes the icons, bitmaps, and cursors that are stored - in the RES subdirectory. This file can be directly edited in Microsoft - Visual C++. Your project resources are in 1033. - -res\9116DTrg.ico - This is an icon file, which is used as the application's icon. This - icon is included by the main resource file 9116DTrg.rc. - -res\My9116DTrg.rc2 - This file contains resources that are not edited by Microsoft - Visual C++. You should place all resources not editable by - the resource editor in this file. - - -///////////////////////////////////////////////////////////////////////////// - -The application wizard creates one dialog class: - -9116DTrgDlg.h, 9116DTrgDlg.cpp - the dialog - These files contain your C9116DTrgDlg class. This class defines - the behavior of your application's main dialog. The dialog's template is - in 9116DTrg.rc, which can be edited in Microsoft Visual C++. - - -///////////////////////////////////////////////////////////////////////////// - -Other Features: - -ActiveX Controls - The application includes support to use ActiveX controls. - -///////////////////////////////////////////////////////////////////////////// - -Other standard files: - -StdAfx.h, StdAfx.cpp - These files are used to build a precompiled header (PCH) file - named 9116DTrg.pch and a precompiled types file named StdAfx.obj. - -Resource.h - This is the standard header file, which defines new resource IDs. - Microsoft Visual C++ reads and updates this file. - -9116DTrg.manifest - Application manifest files are used by Windows XP to describe an applications - dependency on specific versions of Side-by-Side assemblies. The loader uses this - information to load the appropriate assembly from the assembly cache or private - from the application. The Application manifest maybe included for redistribution - as an external .manifest file that is installed in the same folder as the application - executable or it may be included in the executable in the form of a resource. -///////////////////////////////////////////////////////////////////////////// - -Other notes: - -The application wizard uses "TODO:" to indicate parts of the source code you -should add to or customize. - -If your application uses MFC in a shared DLL, you will need -to redistribute the MFC DLLs. If your application is in a language -other than the operating system's locale, you will also have to -redistribute the corresponding localized resources MFC90XXX.DLL. -For more information on both of these topics, please see the section on -redistributing Visual C++ applications in MSDN documentation. - -///////////////////////////////////////////////////////////////////////////// diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116DbfDlyTrg/res/9116DTrg.ico b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116DbfDlyTrg/res/9116DTrg.ico deleted file mode 100644 index d56fbcd..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116DbfDlyTrg/res/9116DTrg.ico and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116DbfDlyTrg/res/My9116DTrg.rc2 b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116DbfDlyTrg/res/My9116DTrg.rc2 deleted file mode 100644 index 383cde2..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116DbfDlyTrg/res/My9116DTrg.rc2 +++ /dev/null @@ -1,13 +0,0 @@ -// -// My9111int.RC2 - resources Microsoft Visual C++ does not edit directly -// - -#ifdef APSTUDIO_INVOKED -#error this file is not editable by Microsoft Visual C++ -#endif //APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// Add manually edited resources here... - -///////////////////////////////////////////////////////////////////////////// diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116DbfDlyTrg/res/ch_set1.bmp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116DbfDlyTrg/res/ch_set1.bmp deleted file mode 100644 index f2374ed..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116DbfDlyTrg/res/ch_set1.bmp and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116DbfDlyTrg/res/ch_set2.bmp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116DbfDlyTrg/res/ch_set2.bmp deleted file mode 100644 index 32d0915..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116DbfDlyTrg/res/ch_set2.bmp and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116DbfDlyTrg/resource.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116DbfDlyTrg/resource.h deleted file mode 100644 index c4804f4..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116DbfDlyTrg/resource.h +++ /dev/null @@ -1,36 +0,0 @@ -//{{NO_DEPENDENCIES}} -// Microsoft Visual C++ generated include file. -// Used by 9116DTrg.rc -// -#define IDM_ABOUTBOX 0x0010 -#define IDD_ABOUTBOX 100 -#define IDS_ABOUTBOX 101 -#define IDD_9118DMA_DIALOG 102 -#define IDR_MAINFRAME 128 -#define IDD_CARDID_DIALOG 129 -#define IDB_BITMAP_SET1 131 -#define IDB_BITMAP_SET2 132 -#define IDC_STATIC_DRAW 1000 -#define IDC_COMBO_CARDID 1001 -#define IDC_BT_STOP 1002 -#define IDC_COMBO_CARDTYPE 1002 -#define IDC_BT_START 1003 -#define IDC_EDIT_SAMPLE_RATE 1004 -#define IDC_EDIT_SCAN_ITERVAL 1004 -#define IDC_SCROLLBAR_RATE 1005 -#define IDC_STATIC_01 1006 -#define IDC_EDIT_BUF_SIZE 1007 -#define IDC_STATIC_2 1008 -#define IDC_STATIC_3 1012 -#define IDC_COMBO_DELAY_MODE 1016 - -// Next default values for new objects -// -#ifdef APSTUDIO_INVOKED -#ifndef APSTUDIO_READONLY_SYMBOLS -#define _APS_NEXT_RESOURCE_VALUE 134 -#define _APS_NEXT_COMMAND_VALUE 32771 -#define _APS_NEXT_CONTROL_VALUE 1009 -#define _APS_NEXT_SYMED_VALUE 101 -#endif -#endif diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116DbfDlyTrg/stdafx.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116DbfDlyTrg/stdafx.cpp deleted file mode 100644 index ef80626..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116DbfDlyTrg/stdafx.cpp +++ /dev/null @@ -1,8 +0,0 @@ - -// stdafx.cpp : source file that includes just the standard includes -// 9111int.pch will be the pre-compiled header -// stdafx.obj will contain the pre-compiled type information - -#include "stdafx.h" - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116DbfDlyTrg/stdafx.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116DbfDlyTrg/stdafx.h deleted file mode 100644 index 12123e2..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116DbfDlyTrg/stdafx.h +++ /dev/null @@ -1,60 +0,0 @@ - -// stdafx.h : include file for standard system include files, -// or project specific include files that are used frequently, -// but are changed infrequently - -#pragma once - -#ifndef _SECURE_ATL -#define _SECURE_ATL 1 -#endif - -#ifndef VC_EXTRALEAN -#define VC_EXTRALEAN // Exclude rarely-used stuff from Windows headers -#endif - -#include "targetver.h" - -#define _ATL_CSTRING_EXPLICIT_CONSTRUCTORS // some CString constructors will be explicit - -// turns off MFC's hiding of some common and often safely ignored warning messages -#define _AFX_ALL_WARNINGS - -#include // MFC core and standard components -#include // MFC extensions - - -#include // MFC Automation classes - - - -#ifndef _AFX_NO_OLE_SUPPORT -#include // MFC support for Internet Explorer 4 Common Controls -#endif -#ifndef _AFX_NO_AFXCMN_SUPPORT -#include // MFC support for Windows Common Controls -#endif // _AFX_NO_AFXCMN_SUPPORT - -#include // MFC support for ribbons and control bars - - - - - - - - - -#ifdef _UNICODE -#if defined _M_IX86 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='x86' publicKeyToken='6595b64144ccf1df' language='*'\"") -#elif defined _M_IA64 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='ia64' publicKeyToken='6595b64144ccf1df' language='*'\"") -#elif defined _M_X64 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='amd64' publicKeyToken='6595b64144ccf1df' language='*'\"") -#else -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='*' publicKeyToken='6595b64144ccf1df' language='*'\"") -#endif -#endif - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116DbfDlyTrg/targetver.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116DbfDlyTrg/targetver.h deleted file mode 100644 index 11730d5..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116DbfDlyTrg/targetver.h +++ /dev/null @@ -1,26 +0,0 @@ - -#pragma once - -// The following macros define the minimum required platform. The minimum required platform -// is the earliest version of Windows, Internet Explorer etc. that has the necessary features to run -// your application. The macros work by enabling all features available on platform versions up to and -// including the version specified. - -// Modify the following defines if you have to target a platform prior to the ones specified below. -// Refer to MSDN for the latest info on corresponding values for different platforms. -#ifndef WINVER // Specifies that the minimum required platform is Windows Vista. -#define WINVER 0x0600 // Change this to the appropriate value to target other versions of Windows. -#endif - -#ifndef _WIN32_WINNT // Specifies that the minimum required platform is Windows Vista. -#define _WIN32_WINNT 0x0600 // Change this to the appropriate value to target other versions of Windows. -#endif - -#ifndef _WIN32_WINDOWS // Specifies that the minimum required platform is Windows 98. -#define _WIN32_WINDOWS 0x0410 // Change this to the appropriate value to target Windows Me or later. -#endif - -#ifndef _WIN32_IE // Specifies that the minimum required platform is Internet Explorer 7.0. -#define _WIN32_IE 0x0700 // Change this to the appropriate value to target other versions of IE. -#endif - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116DbfDma/9111DbInt.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116DbfDma/9111DbInt.suo deleted file mode 100644 index 3fde864..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116DbfDma/9111DbInt.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116DbfDma/9111PostTg.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116DbfDma/9111PostTg.suo deleted file mode 100644 index c59a833..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116DbfDma/9111PostTg.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116DbfDma/9111int.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116DbfDma/9111int.suo deleted file mode 100644 index aaca7d8..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116DbfDma/9111int.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116DbfDma/9116cdma.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116DbfDma/9116cdma.cpp deleted file mode 100644 index fc0f967..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116DbfDma/9116cdma.cpp +++ /dev/null @@ -1,111 +0,0 @@ - -// 9116cdma.cpp : Defines the class behaviors for the application. -// - -#include "stdafx.h" -#include "9116cdma.h" -#include "9116cdmaDlg.h" -#include "CardIDDlg.h" - -#ifdef _DEBUG -#define new DEBUG_NEW -#endif - - -// C9116cdmaApp - -BEGIN_MESSAGE_MAP(C9116cdmaApp, CWinAppEx) - ON_COMMAND(ID_HELP, &CWinApp::OnHelp) -END_MESSAGE_MAP() - - -// C9116cdmaApp construction - -C9116cdmaApp::C9116cdmaApp() -{ - // TODO: add construction code here, - // Place all significant initialization in InitInstance -} - - -// The one and only C9116cdmaApp object - -C9116cdmaApp theApp; - - -// C9116cdmaApp initialization - -BOOL C9116cdmaApp::InitInstance() -{ - int nCardID = 0; - I16 hCard; - U16 wAIMode; - CString strTemp; - INT_PTR nResponse; - - // InitCommonControlsEx() is required on Windows XP if an application - // manifest specifies use of ComCtl32.dll version 6 or later to enable - // visual styles. Otherwise, any window creation will fail. - INITCOMMONCONTROLSEX InitCtrls; - InitCtrls.dwSize = sizeof(InitCtrls); - // Set this to include all the common control classes you want to use - // in your application. - InitCtrls.dwICC = ICC_WIN95_CLASSES; - InitCommonControlsEx(&InitCtrls); - - CWinAppEx::InitInstance(); - - AfxEnableControlContainer(); - - // Standard initialization - // If you are not using these features and wish to reduce the size - // of your final executable, you should remove from the following - // the specific initialization routines you do not need - // Change the registry key under which our settings are stored - // TODO: You should modify this string to be something appropriate - // such as the name of your company or organization - SetRegistryKey(_T("Local AppWizard-Generated Applications")); - - CCardIDDlg CardDlg( nCardID ); - - nResponse = CardDlg.DoModal(); - if (nResponse == IDOK) - { - nCardID = CardDlg.GetCardID(); - wAIMode = CardDlg.GetAIMode(); - - if ((hCard=Register_Card(PCI_9116, nCardID)) < 0) - { - strTemp.Format( TEXT("Register_Card Error = %d"), hCard); - AfxMessageBox( strTemp ); - } - else - { - C9116cdmaDlg dlg(hCard, wAIMode); - m_pMainWnd = &dlg; - nResponse = dlg.DoModal(); - if (nResponse == IDOK) - { - // TODO: Place code here to handle when the dialog is - // dismissed with OK - } - else if (nResponse == IDCANCEL) - { - // TODO: Place code here to handle when the dialog is - // dismissed with Cancel - } - - if (hCard >= 0) Release_Card(hCard); - } - - } - else if (nResponse == IDCANCEL) - { - // TODO: Place code here to handle when the dialog is - // dismissed with Cancel - } - - // Since the dialog has been closed, return FALSE so that we exit the - // application, rather than start the application's message pump. - return FALSE; -} diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116DbfDma/9116cdma.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116DbfDma/9116cdma.h deleted file mode 100644 index e7a6ae7..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116DbfDma/9116cdma.h +++ /dev/null @@ -1,34 +0,0 @@ - -// 9116cdma.h : main header file for the PROJECT_NAME application -// - -#pragma once - -#ifndef __AFXWIN_H__ - #error "include 'stdafx.h' before including this file for PCH" -#endif - -#include "resource.h" // main symbols - -#define AI_MODE_DMA 0 -#define AI_MODE_INT 1 - -// C9116cdmaApp: -// See 9116cdma.cpp for the implementation of this class -// - -class C9116cdmaApp : public CWinAppEx -{ -public: - C9116cdmaApp(); - -// Overrides - public: - virtual BOOL InitInstance(); - -// Implementation - - DECLARE_MESSAGE_MAP() -}; - -extern C9116cdmaApp theApp; \ No newline at end of file diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116DbfDma/9116cdma.rc b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116DbfDma/9116cdma.rc deleted file mode 100644 index 9b1da49..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116DbfDma/9116cdma.rc +++ /dev/null @@ -1,298 +0,0 @@ -// Microsoft Visual C++ generated resource script. -// -#include "resource.h" - -#define APSTUDIO_READONLY_SYMBOLS -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 2 resource. -// -#ifndef APSTUDIO_INVOKED -#include "targetver.h" -#endif -#include "afxres.h" - -///////////////////////////////////////////////////////////////////////////// -#undef APSTUDIO_READONLY_SYMBOLS - -///////////////////////////////////////////////////////////////////////////// -// Chinese (Taiwan) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_CHT) -#ifdef _WIN32 -LANGUAGE LANG_CHINESE, SUBLANG_CHINESE_TRADITIONAL -#pragma code_page(950) -#endif //_WIN32 - -#ifdef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// TEXTINCLUDE -// - -1 TEXTINCLUDE -BEGIN - "resource.h\0" -END - -2 TEXTINCLUDE -BEGIN - "#ifndef APSTUDIO_INVOKED\r\n" - "#include ""targetver.h""\r\n" - "#endif\r\n" - "#include ""afxres.h""\r\n" - "\0" -END - -3 TEXTINCLUDE -BEGIN - "#define _AFX_NO_SPLITTER_RESOURCES\r\n" - "#define _AFX_NO_OLE_RESOURCES\r\n" - "#define _AFX_NO_TRACKER_RESOURCES\r\n" - "#define _AFX_NO_PROPERTY_RESOURCES\r\n" - "\r\n" - "#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)\r\n" - "LANGUAGE 9, 1\r\n" - "#pragma code_page(1252)\r\n" - "#include ""res\\My9116cdma.rc2"" // non-Microsoft Visual C++ edited resources\r\n" - "#include ""afxres.rc"" // Standard components\r\n" - "#endif\r\n" - "\0" -END - -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// Icon -// - -// Icon with lowest ID value placed first to ensure application icon -// remains consistent on all systems. -IDR_MAINFRAME ICON "res\\9116cdma.ico" -#endif // Chinese (Taiwan) resources -///////////////////////////////////////////////////////////////////////////// - - -///////////////////////////////////////////////////////////////////////////// -// English (U.S.) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -#ifdef _WIN32 -LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US -#pragma code_page(1252) -#endif //_WIN32 - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog -// - -IDD_ABOUTBOX DIALOGEX 0, 0, 170, 62 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "About 9116cdma" -FONT 8, "MS Shell Dlg", 0, 0, 0x1 -BEGIN - ICON IDR_MAINFRAME,IDC_STATIC,14,14,21,20 - LTEXT "9116cdma, Version 1.0",IDC_STATIC,42,14,114,8,SS_NOPREFIX - LTEXT "Copyright (C) 2010",IDC_STATIC,42,26,114,8 - DEFPUSHBUTTON "OK",IDOK,113,41,50,14,WS_GROUP -END - -IDD_9118DMA_DIALOG DIALOGEX 0, 0, 365, 232 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU -EXSTYLE WS_EX_APPWINDOW -CAPTION "PCI-9116 Double-Buffered DMA" -FONT 8, "MS Shell Dlg", 0, 0, 0x1 -BEGIN - GROUPBOX "",IDC_STATIC_DRAW,45,9,248,161,NOT WS_VISIBLE - LTEXT "Range : +/- 5V",IDC_STATIC,299,129,52,15 - LTEXT "Buffer Size :",IDC_STATIC,124,183,42,9 - EDITTEXT IDC_EDIT_SCAN_ITERVAL,47,196,39,14,ES_AUTOHSCROLL | ES_READONLY - LTEXT "Sample Interval :",IDC_STATIC,47,182,60,9 - LTEXT "KHz",IDC_STATIC,99,199,15,9 - SCROLLBAR IDC_SCROLLBAR_RATE,87,196,9,11,SBS_VERT - PUSHBUTTON "Start",IDC_BT_START,230,188,55,22 - CONTROL "0",IDC_RADIO_CH0,"Button",BS_AUTORADIOBUTTON | BS_LEFTTEXT,307,20,16,12 - CONTROL "1",IDC_RADIO_CH1,"Button",BS_AUTORADIOBUTTON | BS_LEFTTEXT,307,35,16,12 - CONTROL "2",IDC_RADIO_CH2,"Button",BS_AUTORADIOBUTTON | BS_LEFTTEXT,307,49,16,12 - CONTROL "3",IDC_RADIO_CH3,"Button",BS_AUTORADIOBUTTON | BS_LEFTTEXT,307,64,16,12 - CONTROL "4",IDC_RADIO_CH4,"Button",BS_AUTORADIOBUTTON | BS_LEFTTEXT,331,20,16,12 - CONTROL "5",IDC_RADIO_CH5,"Button",BS_AUTORADIOBUTTON | BS_LEFTTEXT,331,35,16,12 - CONTROL "6",IDC_RADIO_CH6,"Button",BS_AUTORADIOBUTTON | BS_LEFTTEXT,331,49,16,12 - CONTROL "7",IDC_RADIO_CH7,"Button",BS_AUTORADIOBUTTON | BS_LEFTTEXT,331,64,16,12 - EDITTEXT IDC_EDIT_BUF_SIZE,122,196,46,14,ES_AUTOHSCROLL - PUSHBUTTON "Stop",IDC_BT_STOP,291,188,55,22 -END - -IDD_CARDID_DIALOG DIALOGEX 0, 0, 174, 108 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "Card ID" -FONT 8, "MS Shell Dlg", 400, 0, 0x1 -BEGIN - COMBOBOX IDC_COMBO_CARDID,82,24,71,126,CBS_DROPDOWN | WS_VSCROLL | WS_TABSTOP - LTEXT "Card Number",IDC_STATIC_01,27,25,46,12 - PUSHBUTTON "OK",IDOK,22,70,58,19 - PUSHBUTTON "CANCEL",IDCANCEL,86,70,58,19 - COMBOBOX IDC_COMBO_CARDTYPE,82,46,71,126,CBS_DROPDOWN | WS_VSCROLL | WS_TABSTOP - LTEXT "Analog Input Mode",IDC_STATIC_2,9,47,64,12 -END - - -///////////////////////////////////////////////////////////////////////////// -// -// Version -// - -VS_VERSION_INFO VERSIONINFO - FILEVERSION 1,0,0,1 - PRODUCTVERSION 1,0,0,1 - FILEFLAGSMASK 0x3fL -#ifdef _DEBUG - FILEFLAGS 0x1L -#else - FILEFLAGS 0x0L -#endif - FILEOS 0x4L - FILETYPE 0x1L - FILESUBTYPE 0x0L -BEGIN - BLOCK "StringFileInfo" - BEGIN - BLOCK "040904e4" - BEGIN - VALUE "CompanyName", "TODO: " - VALUE "FileDescription", "TODO: " - VALUE "FileVersion", "1.0.0.1" - VALUE "InternalName", "9116cdma.exe" - VALUE "LegalCopyright", "TODO: (c) . All rights reserved." - VALUE "OriginalFilename", "9116cdma.exe" - VALUE "ProductName", "TODO: " - VALUE "ProductVersion", "1.0.0.1" - END - END - BLOCK "VarFileInfo" - BEGIN - VALUE "Translation", 0x409, 1252 - END -END - - -///////////////////////////////////////////////////////////////////////////// -// -// DESIGNINFO -// - -#ifdef APSTUDIO_INVOKED -GUIDELINES DESIGNINFO -BEGIN - IDD_ABOUTBOX, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 163 - TOPMARGIN, 7 - BOTTOMMARGIN, 55 - END - - IDD_CARDID_DIALOG, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 167 - TOPMARGIN, 7 - BOTTOMMARGIN, 101 - END -END -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog Info -// - -IDD_CARDID_DIALOG DLGINIT -BEGIN - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0030, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0031, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0032, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0033, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0034, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0035, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0036, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0037, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0038, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0039, - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3031, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3131, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3231, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3331, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3431, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3531, "\000" - IDC_COMBO_CARDTYPE, 0x403, 4, 0 -0x4d44, 0x0041, - IDC_COMBO_CARDTYPE, 0x403, 4, 0 -0x4e49, 0x0054, - 0 -END - - -///////////////////////////////////////////////////////////////////////////// -// -// Bitmap -// - -IDB_BITMAP_SET1 BITMAP "res\\ch_set1.bmp" -IDB_BITMAP_SET2 BITMAP "res\\ch_set2.bmp" - -///////////////////////////////////////////////////////////////////////////// -// -// String Table -// - -STRINGTABLE -BEGIN - IDS_ABOUTBOX "&About 9116cdma..." -END - -#endif // English (U.S.) resources -///////////////////////////////////////////////////////////////////////////// - - - -#ifndef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 3 resource. -// -#define _AFX_NO_SPLITTER_RESOURCES -#define _AFX_NO_OLE_RESOURCES -#define _AFX_NO_TRACKER_RESOURCES -#define _AFX_NO_PROPERTY_RESOURCES - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -LANGUAGE 9, 1 -#pragma code_page(1252) -#include "res\My9116cdma.rc2" // non-Microsoft Visual C++ edited resources -#include "afxres.rc" // Standard components -#endif - -///////////////////////////////////////////////////////////////////////////// -#endif // not APSTUDIO_INVOKED - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116DbfDma/9116cdma.sln b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116DbfDma/9116cdma.sln deleted file mode 100644 index 09acef9..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116DbfDma/9116cdma.sln +++ /dev/null @@ -1,20 +0,0 @@ - -Microsoft Visual Studio Solution File, Format Version 10.00 -# Visual Studio 2008 -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "9116cdma", "9116cdma.vcproj", "{702163FB-B6DF-4EF5-9491-FC54D71509BC}" -EndProject -Global - GlobalSection(SolutionConfigurationPlatforms) = preSolution - Debug|x64 = Debug|x64 - Release|x64 = Release|x64 - EndGlobalSection - GlobalSection(ProjectConfigurationPlatforms) = postSolution - {702163FB-B6DF-4EF5-9491-FC54D71509BC}.Debug|x64.ActiveCfg = Debug|x64 - {702163FB-B6DF-4EF5-9491-FC54D71509BC}.Debug|x64.Build.0 = Debug|x64 - {702163FB-B6DF-4EF5-9491-FC54D71509BC}.Release|x64.ActiveCfg = Release|x64 - {702163FB-B6DF-4EF5-9491-FC54D71509BC}.Release|x64.Build.0 = Release|x64 - EndGlobalSection - GlobalSection(SolutionProperties) = preSolution - HideSolutionNode = FALSE - EndGlobalSection -EndGlobal diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116DbfDma/9116cdma.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116DbfDma/9116cdma.suo deleted file mode 100644 index 7ca1d44..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116DbfDma/9116cdma.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116DbfDma/9116cdma.vcproj b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116DbfDma/9116cdma.vcproj deleted file mode 100644 index 88163fa..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116DbfDma/9116cdma.vcproj +++ /dev/null @@ -1,294 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116DbfDma/9116cdmaDlg.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116DbfDma/9116cdmaDlg.cpp deleted file mode 100644 index 34202ae..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116DbfDma/9116cdmaDlg.cpp +++ /dev/null @@ -1,666 +0,0 @@ - -// 9116cdmaDlg.cpp : implementation file -// - -#include "stdafx.h" -#include "9116cdma.h" -#include "9116cdmaDlg.h" - -#ifdef _DEBUG -#define new DEBUG_NEW -#endif - -CRect plotRect; - -// CAboutDlg dialog used for App About - -class CAboutDlg : public CDialog -{ -public: - CAboutDlg(); - -// Dialog Data - enum { IDD = IDD_ABOUTBOX }; - - protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - -// Implementation -protected: - DECLARE_MESSAGE_MAP() -}; - -CAboutDlg::CAboutDlg() : CDialog(CAboutDlg::IDD) -{ -} - -void CAboutDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); -} - -BEGIN_MESSAGE_MAP(CAboutDlg, CDialog) -END_MESSAGE_MAP() - - -// C9116cdmaDlg dialog - - - - -C9116cdmaDlg::C9116cdmaDlg(I16 hCard, U16 wAIMode, CWnd* pParent /*=NULL*/) - : CDialog(C9116cdmaDlg::IDD, pParent) -{ - m_hIcon = AfxGetApp()->LoadIcon(IDR_MAINFRAME); - - n_PlotWidth = n_PlotHeight = -1; - OnBrush = OffBrush = NULL; - - min_val = 0x00; - max_val = 0xFFFF; - - m_dwSampIntrv = 480; - - m_hCard = hCard; - m_wAIMode = wAIMode; - - m_wScanChans = 0; - m_nTimer = -1; - m_hMem=NULL; - - m_wRange = AD_B_5_V; - m_dwReadCount = 4096; - m_wPostCount = 512; - - -} - -void C9116cdmaDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); -} - -BEGIN_MESSAGE_MAP(C9116cdmaDlg, CDialog) - ON_WM_SYSCOMMAND() - ON_WM_PAINT() - ON_WM_QUERYDRAGICON() - //}}AFX_MSG_MAP - ON_WM_DESTROY() - ON_WM_VSCROLL() - ON_BN_CLICKED(IDC_BT_START, &C9116cdmaDlg::OnStart) - ON_BN_CLICKED(IDC_RADIO_CH0, &C9116cdmaDlg::OnCh0) - ON_BN_CLICKED(IDC_RADIO_CH1, &C9116cdmaDlg::OnCh1) - ON_BN_CLICKED(IDC_RADIO_CH2, &C9116cdmaDlg::OnCh2) - ON_BN_CLICKED(IDC_RADIO_CH3, &C9116cdmaDlg::OnCh3) - ON_BN_CLICKED(IDC_RADIO_CH4, &C9116cdmaDlg::OnCh4) - ON_BN_CLICKED(IDC_RADIO_CH5, &C9116cdmaDlg::OnCh5) - ON_BN_CLICKED(IDC_RADIO_CH6, &C9116cdmaDlg::OnCh6) - ON_BN_CLICKED(IDC_RADIO_CH7, &C9116cdmaDlg::OnCh7) - ON_WM_TIMER() - ON_BN_CLICKED(IDC_BT_STOP, &C9116cdmaDlg::OnStop) -END_MESSAGE_MAP() - - -// C9116cdmaDlg message handlers - -BOOL C9116cdmaDlg::OnInitDialog() -{ - CDialog::OnInitDialog(); - - // Add "About..." menu item to system menu. - - // IDM_ABOUTBOX must be in the system command range. - ASSERT((IDM_ABOUTBOX & 0xFFF0) == IDM_ABOUTBOX); - ASSERT(IDM_ABOUTBOX < 0xF000); - - CMenu* pSysMenu = GetSystemMenu(FALSE); - if (pSysMenu != NULL) - { - BOOL bNameValid; - CString strAboutMenu; - bNameValid = strAboutMenu.LoadString(IDS_ABOUTBOX); - ASSERT(bNameValid); - if (!strAboutMenu.IsEmpty()) - { - pSysMenu->AppendMenu(MF_SEPARATOR); - pSysMenu->AppendMenu(MF_STRING, IDM_ABOUTBOX, strAboutMenu); - } - } - - // Set the icon for this dialog. The framework does this automatically - // when the application's main window is not a dialog - SetIcon(m_hIcon, TRUE); // Set big icon - SetIcon(m_hIcon, FALSE); // Set small icon - - // TODO: Add extra initialization here - x_divider = 5; y_divider = 4; - - OnBrush = CreateSolidBrush( RGB(255,0,0) ); - OffBrush = CreateSolidBrush( RGB(125,0,0) ); - - RedPen.CreatePen( PS_SOLID, 1, RGB(255,0,0)); - GreenPen.CreatePen( PS_SOLID, 1, RGB(0,255,0)); - YellowPen.CreatePen( PS_SOLID, 1, RGB(255,255,0)); - BluePen.CreatePen( PS_SOLID, 1, RGB(0,0,255)); - LTBluePen.CreatePen( PS_SOLID, 1, RGB(0,128,255)); - LTRedPen.CreatePen( PS_SOLID, 1, RGB(255,128,0)); - LTGreenPen.CreatePen( PS_SOLID, 1, RGB(0,128,0)); - WhitePen.CreatePen( PS_SOLID, 1, RGB(255,255,255)); - - - if( n_PlotWidth == -1 && n_PlotHeight == -1 ) - { - ((CWnd*)GetDlgItem(IDC_STATIC_DRAW))->GetWindowRect(&plotRect); - ScreenToClient(&plotRect); - - n_PlotWidth = min( plotRect.Width(), 512); - n_PlotHeight = plotRect.Height() - 10; - } - - // set the default SampleRate - SetDlgItemInt( IDC_EDIT_SAMPLE_RATE, (UINT)(m_dwSampIntrv) ); - SetDlgItemInt( IDC_EDIT_BUF_SIZE, (UINT)(m_dwReadCount) ); - ((CButton*)GetDlgItem( IDC_RADIO_CH0 ))->SetCheck( TRUE ); - - max_range = 5.0; - min_range = -5.0; - - return TRUE; // return TRUE unless you set the focus to a control -} - -void C9116cdmaDlg::OnSysCommand(UINT nID, LPARAM lParam) -{ - if ((nID & 0xFFF0) == IDM_ABOUTBOX) - { - CAboutDlg dlgAbout; - dlgAbout.DoModal(); - } - else - { - CDialog::OnSysCommand(nID, lParam); - } -} - -// If you add a minimize button to your dialog, you will need the code below -// to draw the icon. For MFC applications using the document/view model, -// this is automatically done for you by the framework. - -void C9116cdmaDlg::OnPaint() -{ - if (IsIconic()) - { - CPaintDC dc(this); // device context for painting - - SendMessage(WM_ICONERASEBKGND, reinterpret_cast(dc.GetSafeHdc()), 0); - - // Center icon in client rectangle - int cxIcon = GetSystemMetrics(SM_CXICON); - int cyIcon = GetSystemMetrics(SM_CYICON); - CRect rect; - GetClientRect(&rect); - int x = (rect.Width() - cxIcon + 1) / 2; - int y = (rect.Height() - cyIcon + 1) / 2; - - // Draw the icon - dc.DrawIcon(x, y, m_hIcon); - } - else - { - redraw_display_area(); - CDialog::OnPaint(); - } -} - -// The system calls this function to obtain the cursor to display while the user drags -// the minimized window. -HCURSOR C9116cdmaDlg::OnQueryDragIcon() -{ - return static_cast(m_hIcon); -} - - -void C9116cdmaDlg::redraw_display_area(void) -{ - CPen *oldPen; - - int oldMode; - COLORREF oldColor; - - CString y_lable; - - CPen minor_tick( PS_SOLID,1,RGB(132,130,132) ); -// CPen y_grid( PS_SOLID,1,RGB(206,203,132) ); - - int i, x_intv, y_intv; -// long total_sec; - - CClientDC dc_plot(this); - - // draw the base-line for x-y axises - oldPen = (CPen *)dc_plot.SelectStockObject(BLACK_PEN); - - // redraw the background - dc_plot.FillSolidRect( plotRect, RGB(0,0,0) ); - - // Re-Draw the AREA for Y-Lable - { - CBrush DIALOG_BRUSH; - CRect redraw_area, full_client; - - GetClientRect(&full_client); - ScreenToClient(&full_client); - - redraw_area.left = full_client.left; - redraw_area.top = plotRect.top - 5; - redraw_area.right = plotRect.left - 3; - redraw_area.bottom = plotRect.bottom + 10; - - DIALOG_BRUSH.CreateSysColorBrush( COLOR_3DFACE ); - - dc_plot.FillRect( redraw_area, &DIALOG_BRUSH ); - - DIALOG_BRUSH.DeleteObject(); - } - - dc_plot.MoveTo( plotRect.left - 3, plotRect.top ); - dc_plot.LineTo( plotRect.left - 3, plotRect.bottom ); - - // calculate the interval for tick/grid - y_intv = (plotRect.Height() - 10) /y_divider; - x_intv = plotRect.Width()/x_divider; - - - // set the color for tick - oldColor = dc_plot.SetTextColor( RGB(0,0,0) ); - oldMode = dc_plot.SetBkMode( TRANSPARENT ); - - for( i=0; i<= y_divider; i++ ) - { - CString tick_str; - CRect tmp_rect, tick_rect; - - // draw the tick for y-axis - dc_plot.MoveTo( plotRect.left -12, plotRect.bottom -5 - (i*y_intv) ); - dc_plot.LineTo( plotRect.left -3, plotRect.bottom -5 - (i*y_intv) ); - - tick_str.Format( _T("%.1f"), ( ((max_range-min_range)/y_divider) * i)+min_range ); - - // calculate the rectangle for text - dc_plot.DrawText( tick_str, &tmp_rect, DT_CALCRECT|DT_SINGLELINE ); - tick_rect.right = plotRect.left -14; - tick_rect.left = tick_rect.right - tmp_rect.Width(); - tick_rect.top = plotRect.bottom -5 - (i*y_intv) - tmp_rect.Height()/2; - tick_rect.bottom = tick_rect.top + tmp_rect.Height(); - - // draw the text - dc_plot.DrawText( tick_str, &tick_rect, DT_SINGLELINE|DT_RIGHT ); - - } - - // draw the minor_tick for Y axises - dc_plot.SelectObject(&minor_tick); - for( i=0; i< y_divider; i++ ) - { - dc_plot.MoveTo( plotRect.left -9, plotRect.bottom -5 - (i*y_intv) - y_intv/2 ); - dc_plot.LineTo( plotRect.left -4, plotRect.bottom -5 - (i*y_intv) - y_intv/2 ); - } - - dc_plot.SetTextColor( oldColor ); - dc_plot.SetBkMode( oldMode ); - dc_plot.SelectObject( oldPen ); -} - -void C9116cdmaDlg::OnDestroy() -{ - CDialog::OnDestroy(); - - // TODO: Add your message handler code here - if( m_nTimer != -1 ) - { - KillTimer( m_nTimer ); - m_nTimer = -1; - } - - if (m_hMem != NULL) - { - GlobalUnfix(m_hMem); - GlobalUnlock(m_hMem); - GlobalFree(m_hMem); - - m_hMem = NULL; - } - - if( OnBrush != NULL ) - ::DeleteObject( OnBrush ); - - if( OffBrush != NULL ) - ::DeleteObject( OffBrush ); - - RedPen.DeleteObject(); - GreenPen.DeleteObject(); - YellowPen.DeleteObject(); - BluePen.DeleteObject(); - LTBluePen.DeleteObject(); - LTRedPen.DeleteObject(); - LTGreenPen.DeleteObject(); - WhitePen.DeleteObject(); - -} - -void C9116cdmaDlg::OnVScroll(UINT nSBCode, UINT nPos, CScrollBar* pScrollBar) -{ - // TODO: Add your message handler code here and/or call default - switch ( nSBCode ) - { - case SB_LINEUP : - m_dwSampIntrv += 240; - if (m_dwSampIntrv > 24000 ) m_dwSampIntrv = 24000; - break; - case SB_LINEDOWN: - m_dwSampIntrv -= 240; - if (m_dwSampIntrv < 240 ) m_dwSampIntrv = 240; - break; - } - - SetDlgItemInt( IDC_EDIT_SCAN_ITERVAL, (UINT)(m_dwSampIntrv) ); - - - CDialog::OnVScroll(nSBCode, nPos, pScrollBar); -} - - -void C9116cdmaDlg::OnStop() -{ - // TODO: Add your control notification handler code here - U32 count; - - AI_AsyncClear(m_hCard, &count); - - if( m_nTimer != -1 ) - { - KillTimer( m_nTimer ); - m_nTimer = -1; - } - - GetDlgItem( IDC_BT_START )->EnableWindow(TRUE); - - GetDlgItem( IDC_RADIO_CH0 )->EnableWindow(TRUE); - GetDlgItem( IDC_RADIO_CH1 )->EnableWindow(TRUE); - GetDlgItem( IDC_RADIO_CH2 )->EnableWindow(TRUE); - GetDlgItem( IDC_RADIO_CH3 )->EnableWindow(TRUE); - GetDlgItem( IDC_RADIO_CH4 )->EnableWindow(TRUE); - GetDlgItem( IDC_RADIO_CH5 )->EnableWindow(TRUE); - GetDlgItem( IDC_RADIO_CH6 )->EnableWindow(TRUE); - GetDlgItem( IDC_RADIO_CH7 )->EnableWindow(TRUE); -} - -void C9116cdmaDlg::OnStart() -{ - // TODO: Add your control notification handler code here - DWORD mem_size; - CString strTemp; - I16 err; - - GetDlgItem( IDC_BT_START )->EnableWindow(FALSE); - - GetDlgItem( IDC_RADIO_CH0 )->EnableWindow(FALSE); - GetDlgItem( IDC_RADIO_CH1 )->EnableWindow(FALSE); - GetDlgItem( IDC_RADIO_CH2 )->EnableWindow(FALSE); - GetDlgItem( IDC_RADIO_CH3 )->EnableWindow(FALSE); - GetDlgItem( IDC_RADIO_CH4 )->EnableWindow(FALSE); - GetDlgItem( IDC_RADIO_CH5 )->EnableWindow(FALSE); - GetDlgItem( IDC_RADIO_CH6 )->EnableWindow(FALSE); - GetDlgItem( IDC_RADIO_CH7 )->EnableWindow(FALSE); - - m_dwReadCount = GetDlgItemInt(IDC_EDIT_BUF_SIZE); - - if (m_hMem != NULL) - { - GlobalUnfix(m_hMem); - GlobalUnlock(m_hMem); - GlobalFree(m_hMem); - - m_hMem = NULL; - } - - // allocate a memory for user DMA buffer - mem_size = m_dwReadCount * (m_wScanChans+1) * sizeof(I16); - m_hMem = GlobalAlloc(GMEM_ZEROINIT, mem_size); - m_pAIBuf = (U16*) GlobalLock(m_hMem); - if (m_pAIBuf == NULL ) - { - AfxMessageBox( TEXT("Memory allocation failed"), MB_OK); - return; - } - - GlobalFix(m_hMem); - - m_oldY[0] = m_oldY[1] = m_oldY[2] = m_oldY[3] = m_oldY[4] = m_oldY[5] = m_oldY[6] = m_oldY[7] = -1; - m_oldX[0] = m_oldX[1] = m_oldX[2] = m_oldX[3] = m_oldX[4] = m_oldX[5] = m_oldX[6] = m_oldX[7] = -1; - - if( m_wAIMode == AI_MODE_DMA ) - err = AI_9116_Config(m_hCard, 0, P9116_AI_DMA, 0, 0, 0); - else - err = AI_9116_Config(m_hCard, 0, P9116_AI_INT, 0, 0, 0); - - err = AI_9116_CounterInterval(m_hCard, m_dwSampIntrv * (m_wScanChans+1), m_dwSampIntrv); - if (err!=0) - { - strTemp.Format( TEXT("AI_9116_CounterInterval error=%d"), err); - AfxMessageBox( strTemp ); - } - - err=AI_AsyncDblBufferMode(m_hCard, 1); // single-buffer mode - if (err!=0) - { - strTemp.Format( TEXT("AI_DblBufferMode error=%d"), err); - AfxMessageBox( strTemp ); - } - - err=AI_ContReadChannel (m_hCard, m_wScanChans, m_wRange, (U16*)m_pAIBuf, m_dwReadCount, (F64)1, ASYNCH_OP); - if (err!=0) - { - strTemp.Format( TEXT("AI_ContReadChannel error=%d"), err); - AfxMessageBox( strTemp ); - } - - m_nTimer = SetTimer( 1, 20, NULL ); - -} - -int C9116cdmaDlg::display_buffer_data(U16* pBuf) -{ - CClientDC dc_plot(this); - int nDraw_Origin_Y; - int cur_channel; - - int newY = -1; - int newX = -1; - U32 index; - I16 ai_data; - U32 dwDataSize = (m_dwReadCount/2); - - // redraw the background - dc_plot.FillSolidRect( plotRect, RGB(0,0,0) ); - - dc_plot.SelectObject(&RedPen); - nDraw_Origin_Y = ( plotRect.bottom - 5 ) - n_PlotHeight/2; - - for( index=0; index> 16) ); // ( n_PlotHeight * ai_data / 65536) ); // ( (n_PlotHeight/2) * ai_data/32768 ) ); - - newX = (int)( index*n_PlotWidth/dwDataSize + plotRect.left ); - - switch(cur_channel) - { - case 0: - dc_plot.SelectObject(&YellowPen); - break; - case 1: - dc_plot.SelectObject(<GreenPen); - break; - case 2: - dc_plot.SelectObject(&BluePen); - break; - case 3: - dc_plot.SelectObject(&RedPen); - break; - case 4: - dc_plot.SelectObject(<BluePen); - break; - case 5: - dc_plot.SelectObject(<RedPen); - break; - case 6: - dc_plot.SelectObject(&GreenPen); - break; - case 7: - dc_plot.SelectObject(&WhitePen); - break; - } - - if ( index == 0 ) - { - dc_plot.MoveTo( newX, newY ); - } - else - { - dc_plot.MoveTo( m_oldX[cur_channel], m_oldY[cur_channel] ); - dc_plot.LineTo( newX, newY ); - } - - m_oldX[cur_channel] = newX; - m_oldY[cur_channel] = newY; - } - - return 0; -} - -void C9116cdmaDlg::OnTimer(UINT_PTR nIDEvent) -{ - // TODO: Add your message handler code here and/or call default - BOOLEAN HalfReady; - BOOLEAN fstop; - - AI_AsyncDblBufferHalfReady(m_hCard, &HalfReady, &fstop); - - if( HalfReady ) // half-buffer ready - { - AI_AsyncDblBufferTransfer(m_hCard, m_pAIBuf); - display_buffer_data( m_pAIBuf ); - } - - CDialog::OnTimer(nIDEvent); -} - -void C9116cdmaDlg::OnCh0() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_RADIO_CH0 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_wScanChans = 0; - } - -} - -void C9116cdmaDlg::OnCh1() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_RADIO_CH1 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_wScanChans = 1; - } -} - -void C9116cdmaDlg::OnCh2() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_RADIO_CH2 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_wScanChans = 2; - } -} - -void C9116cdmaDlg::OnCh3() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_RADIO_CH3 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_wScanChans = 3; - } -} - -void C9116cdmaDlg::OnCh4() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_RADIO_CH4 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_wScanChans = 4; - } -} - -void C9116cdmaDlg::OnCh5() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_RADIO_CH5 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_wScanChans = 5; - } -} - -void C9116cdmaDlg::OnCh6() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_RADIO_CH6 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_wScanChans = 6; - } -} - -void C9116cdmaDlg::OnCh7() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_RADIO_CH7 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_wScanChans = 7; - } -} - - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116DbfDma/9116cdmaDlg.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116DbfDma/9116cdmaDlg.h deleted file mode 100644 index 4fd0231..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116DbfDma/9116cdmaDlg.h +++ /dev/null @@ -1,85 +0,0 @@ - -// 9116cdmaDlg.h : header file -#pragma once -#include "afxcmn.h" -#include "afxwin.h" - -#include "Dask64.h" - -#ifndef MAX_CHAN_9118 -#define MAX_CHAN_9118 16 -#endif - -// C9116cdmaDlg dialog -class C9116cdmaDlg : public CDialog -{ -// Construction -public: - C9116cdmaDlg(I16 hCard, U16 wAIMode, CWnd* pParent = NULL); // standard constructor - -// Dialog Data - enum { IDD = IDD_9118DMA_DIALOG }; - - protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - - -// Implementation -protected: - HICON m_hIcon; - UINT_PTR m_nTimer; - I16 m_hCard; - U16 m_wAIMode; - U32 m_dwSampIntrv; - U16 m_wScanChans; - HANDLE m_hMem; - U16 *m_pAIBuf; - U16 m_wRange; - int m_oldY[8]; - int m_oldX[8]; - U32 m_dwReadCount; - U16 m_wPostCount; - - // Generated message map functions - virtual BOOL OnInitDialog(); - afx_msg void OnSysCommand(UINT nID, LPARAM lParam); - afx_msg void OnPaint(); - afx_msg HCURSOR OnQueryDragIcon(); - DECLARE_MESSAGE_MAP() - -public: - WORD max_val; - WORD min_val; - double max_range; - double min_range; - int n_PlotWidth; - int n_PlotHeight; - int y_divider; - int x_divider; - int m_DisplayScale; - HBRUSH OnBrush; - HBRUSH OffBrush; - CPen RedPen; - CPen GreenPen; - CPen YellowPen; - CPen BluePen; - CPen LTBluePen; - CPen LTRedPen; - CPen LTGreenPen; - CPen WhitePen; - void redraw_display_area(void); - afx_msg void OnDestroy(); - afx_msg void OnVScroll(UINT nSBCode, UINT nPos, CScrollBar* pScrollBar); - afx_msg void OnStart(); - int display_buffer_data(U16* pBuf); - afx_msg void OnCh0(); - afx_msg void OnCh1(); - afx_msg void OnCh2(); - afx_msg void OnCh3(); - afx_msg void OnCh4(); - afx_msg void OnCh5(); - afx_msg void OnCh6(); - afx_msg void OnCh7(); - afx_msg void OnTimer(UINT_PTR nIDEvent); - afx_msg void OnStop(); -}; diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116DbfDma/9118cdma.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116DbfDma/9118cdma.suo deleted file mode 100644 index 9318437..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116DbfDma/9118cdma.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116DbfDma/CardIDDlg.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116DbfDma/CardIDDlg.cpp deleted file mode 100644 index 4f1a7b0..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116DbfDma/CardIDDlg.cpp +++ /dev/null @@ -1,75 +0,0 @@ -// CardIDDlg.cpp : implementation file -// -#include "stdafx.h" -#include "9116cdma.h" -#include "9116cdmaDlg.h" -#include "CardIDDlg.h" - -// CCardIDDlg dialog - -IMPLEMENT_DYNAMIC(CCardIDDlg, CDialog) - -CCardIDDlg::CCardIDDlg(int nCardIdx, CWnd* pParent /*=NULL*/) - : CDialog(CCardIDDlg::IDD, pParent) -{ - m_nCardIdx = nCardIdx; -} - -CCardIDDlg::~CCardIDDlg() -{ -} - -void CCardIDDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); - DDX_Control(pDX, IDC_COMBO_CARDID, m_cbCardID); - DDX_Control(pDX, IDC_COMBO_CARDTYPE, m_cbAIMode); -} - - -BEGIN_MESSAGE_MAP(CCardIDDlg, CDialog) -// ON_CBN_SELCHANGE(IDC_COMBO_CARDID, &CCardIDDlg::OnCbnSelchangeComboCardid) -ON_BN_CLICKED(IDOK, &CCardIDDlg::OnBnClickedOk) -//ON_WM_CTLCOLOR() -END_MESSAGE_MAP() - - -// CCardIDDlg message handlers - - -void CCardIDDlg::OnBnClickedOk() -{ - // TODO: Add your control notification handler code here - -// UpdateData(TRUE); - m_nCardIdx = m_cbCardID.GetCurSel(); - m_wAIMode = AI_MODE_DMA + m_cbAIMode.GetCurSel(); - - OnOK(); -} - -BOOL CCardIDDlg::OnInitDialog() -{ - CDialog::OnInitDialog(); - - // TODO: Add extra initialization here - m_cbCardID.SetCurSel( m_nCardIdx ); - - m_cbAIMode.SetCurSel( 0 ); - m_wAIMode = AI_MODE_DMA; - - return TRUE; // return TRUE unless you set the focus to a control - // EXCEPTION: OCX Property Pages should return FALSE -} - -// the function to get the selected CardID -int CCardIDDlg::GetCardID(void) -{ - return m_nCardIdx; -} - - -U16 CCardIDDlg::GetAIMode(void) -{ - return m_wAIMode; -} \ No newline at end of file diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116DbfDma/CardIDDlg.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116DbfDma/CardIDDlg.h deleted file mode 100644 index cb0643a..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116DbfDma/CardIDDlg.h +++ /dev/null @@ -1,35 +0,0 @@ -#pragma once -#include "afxwin.h" - -#include "Dask64.h" - -// CCardIDDlg dialog - -class CCardIDDlg : public CDialog -{ - DECLARE_DYNAMIC(CCardIDDlg) - -public: - CCardIDDlg(int nCardIdx, CWnd* pParent = NULL); // standard constructor - virtual ~CCardIDDlg(); - -// Dialog Data - enum { IDD = IDD_CARDID_DIALOG }; - -protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - - DECLARE_MESSAGE_MAP() -public: - virtual BOOL OnInitDialog(); - afx_msg void OnBnClickedOk(); - // the setting of CardID ComboBox - int m_nCardIdx; - U16 m_wAIMode; - // the control of CardID ComboBox - CComboBox m_cbCardID; - CComboBox m_cbAIMode; - // the function to get the selected CardID - int GetCardID(void); - U16 GetAIMode(void); -}; diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116DbfDma/ReadMe.txt b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116DbfDma/ReadMe.txt deleted file mode 100644 index 63052bd..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116DbfDma/ReadMe.txt +++ /dev/null @@ -1,93 +0,0 @@ -================================================================================ - MICROSOFT FOUNDATION CLASS LIBRARY : 9116cdma Project Overview -=============================================================================== - -The application wizard has created this 9116cdma application for -you. This application not only demonstrates the basics of using the Microsoft -Foundation Classes but is also a starting point for writing your application. - -This file contains a summary of what you will find in each of the files that -make up your 9116cdma application. - -9116cdma.vcproj - This is the main project file for VC++ projects generated using an application wizard. - It contains information about the version of Visual C++ that generated the file, and - information about the platforms, configurations, and project features selected with the - application wizard. - -9116cdma.h - This is the main header file for the application. It includes other - project specific headers (including Resource.h) and declares the - C9116cdmaApp application class. - -9116cdma.cpp - This is the main application source file that contains the application - class C9116cdmaApp. - -9116cdma.rc - This is a listing of all of the Microsoft Windows resources that the - program uses. It includes the icons, bitmaps, and cursors that are stored - in the RES subdirectory. This file can be directly edited in Microsoft - Visual C++. Your project resources are in 1033. - -res\9116cdma.ico - This is an icon file, which is used as the application's icon. This - icon is included by the main resource file 9116cdma.rc. - -res\My9116cdma.rc2 - This file contains resources that are not edited by Microsoft - Visual C++. You should place all resources not editable by - the resource editor in this file. - - -///////////////////////////////////////////////////////////////////////////// - -The application wizard creates one dialog class: - -9116cdmaDlg.h, 9116cdmaDlg.cpp - the dialog - These files contain your C9116cdmaDlg class. This class defines - the behavior of your application's main dialog. The dialog's template is - in 9116cdma.rc, which can be edited in Microsoft Visual C++. - - -///////////////////////////////////////////////////////////////////////////// - -Other Features: - -ActiveX Controls - The application includes support to use ActiveX controls. - -///////////////////////////////////////////////////////////////////////////// - -Other standard files: - -StdAfx.h, StdAfx.cpp - These files are used to build a precompiled header (PCH) file - named 9116cdma.pch and a precompiled types file named StdAfx.obj. - -Resource.h - This is the standard header file, which defines new resource IDs. - Microsoft Visual C++ reads and updates this file. - -9116cdma.manifest - Application manifest files are used by Windows XP to describe an applications - dependency on specific versions of Side-by-Side assemblies. The loader uses this - information to load the appropriate assembly from the assembly cache or private - from the application. The Application manifest maybe included for redistribution - as an external .manifest file that is installed in the same folder as the application - executable or it may be included in the executable in the form of a resource. -///////////////////////////////////////////////////////////////////////////// - -Other notes: - -The application wizard uses "TODO:" to indicate parts of the source code you -should add to or customize. - -If your application uses MFC in a shared DLL, you will need -to redistribute the MFC DLLs. If your application is in a language -other than the operating system's locale, you will also have to -redistribute the corresponding localized resources MFC90XXX.DLL. -For more information on both of these topics, please see the section on -redistributing Visual C++ applications in MSDN documentation. - -///////////////////////////////////////////////////////////////////////////// diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116DbfDma/res/9116cdma.ico b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116DbfDma/res/9116cdma.ico deleted file mode 100644 index d56fbcd..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116DbfDma/res/9116cdma.ico and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116DbfDma/res/My9116cdma.rc2 b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116DbfDma/res/My9116cdma.rc2 deleted file mode 100644 index 383cde2..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116DbfDma/res/My9116cdma.rc2 +++ /dev/null @@ -1,13 +0,0 @@ -// -// My9111int.RC2 - resources Microsoft Visual C++ does not edit directly -// - -#ifdef APSTUDIO_INVOKED -#error this file is not editable by Microsoft Visual C++ -#endif //APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// Add manually edited resources here... - -///////////////////////////////////////////////////////////////////////////// diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116DbfDma/res/ch_set1.bmp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116DbfDma/res/ch_set1.bmp deleted file mode 100644 index f2374ed..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116DbfDma/res/ch_set1.bmp and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116DbfDma/res/ch_set2.bmp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116DbfDma/res/ch_set2.bmp deleted file mode 100644 index 32d0915..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116DbfDma/res/ch_set2.bmp and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116DbfDma/resource.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116DbfDma/resource.h deleted file mode 100644 index 278c0a3..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116DbfDma/resource.h +++ /dev/null @@ -1,42 +0,0 @@ -//{{NO_DEPENDENCIES}} -// Microsoft Visual C++ generated include file. -// Used by 9116cdma.rc -// -#define IDM_ABOUTBOX 0x0010 -#define IDD_ABOUTBOX 100 -#define IDS_ABOUTBOX 101 -#define IDD_9118DMA_DIALOG 102 -#define IDR_MAINFRAME 128 -#define IDD_CARDID_DIALOG 129 -#define IDB_BITMAP_SET1 131 -#define IDB_BITMAP_SET2 132 -#define IDC_STATIC_DRAW 1000 -#define IDC_COMBO_CARDID 1001 -#define IDC_BT_STOP 1002 -#define IDC_COMBO_CARDTYPE 1002 -#define IDC_BT_START 1003 -#define IDC_EDIT_SAMPLE_RATE 1004 -#define IDC_EDIT_SCAN_ITERVAL 1004 -#define IDC_SCROLLBAR_RATE 1005 -#define IDC_RADIO_CH0 1006 -#define IDC_RADIO_CH1 1007 -#define IDC_RADIO_CH2 1008 -#define IDC_RADIO_CH3 1009 -#define IDC_RADIO_CH4 1010 -#define IDC_RADIO_CH5 1011 -#define IDC_RADIO_CH6 1012 -#define IDC_RADIO_CH7 1013 -#define IDC_STATIC_01 1014 -#define IDC_EDIT_BUF_SIZE 1014 -#define IDC_STATIC_2 1015 - -// Next default values for new objects -// -#ifdef APSTUDIO_INVOKED -#ifndef APSTUDIO_READONLY_SYMBOLS -#define _APS_NEXT_RESOURCE_VALUE 134 -#define _APS_NEXT_COMMAND_VALUE 32771 -#define _APS_NEXT_CONTROL_VALUE 1016 -#define _APS_NEXT_SYMED_VALUE 101 -#endif -#endif diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116DbfDma/stdafx.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116DbfDma/stdafx.cpp deleted file mode 100644 index ef80626..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116DbfDma/stdafx.cpp +++ /dev/null @@ -1,8 +0,0 @@ - -// stdafx.cpp : source file that includes just the standard includes -// 9111int.pch will be the pre-compiled header -// stdafx.obj will contain the pre-compiled type information - -#include "stdafx.h" - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116DbfDma/stdafx.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116DbfDma/stdafx.h deleted file mode 100644 index 12123e2..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116DbfDma/stdafx.h +++ /dev/null @@ -1,60 +0,0 @@ - -// stdafx.h : include file for standard system include files, -// or project specific include files that are used frequently, -// but are changed infrequently - -#pragma once - -#ifndef _SECURE_ATL -#define _SECURE_ATL 1 -#endif - -#ifndef VC_EXTRALEAN -#define VC_EXTRALEAN // Exclude rarely-used stuff from Windows headers -#endif - -#include "targetver.h" - -#define _ATL_CSTRING_EXPLICIT_CONSTRUCTORS // some CString constructors will be explicit - -// turns off MFC's hiding of some common and often safely ignored warning messages -#define _AFX_ALL_WARNINGS - -#include // MFC core and standard components -#include // MFC extensions - - -#include // MFC Automation classes - - - -#ifndef _AFX_NO_OLE_SUPPORT -#include // MFC support for Internet Explorer 4 Common Controls -#endif -#ifndef _AFX_NO_AFXCMN_SUPPORT -#include // MFC support for Windows Common Controls -#endif // _AFX_NO_AFXCMN_SUPPORT - -#include // MFC support for ribbons and control bars - - - - - - - - - -#ifdef _UNICODE -#if defined _M_IX86 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='x86' publicKeyToken='6595b64144ccf1df' language='*'\"") -#elif defined _M_IA64 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='ia64' publicKeyToken='6595b64144ccf1df' language='*'\"") -#elif defined _M_X64 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='amd64' publicKeyToken='6595b64144ccf1df' language='*'\"") -#else -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='*' publicKeyToken='6595b64144ccf1df' language='*'\"") -#endif -#endif - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116DbfDma/targetver.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116DbfDma/targetver.h deleted file mode 100644 index 11730d5..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116DbfDma/targetver.h +++ /dev/null @@ -1,26 +0,0 @@ - -#pragma once - -// The following macros define the minimum required platform. The minimum required platform -// is the earliest version of Windows, Internet Explorer etc. that has the necessary features to run -// your application. The macros work by enabling all features available on platform versions up to and -// including the version specified. - -// Modify the following defines if you have to target a platform prior to the ones specified below. -// Refer to MSDN for the latest info on corresponding values for different platforms. -#ifndef WINVER // Specifies that the minimum required platform is Windows Vista. -#define WINVER 0x0600 // Change this to the appropriate value to target other versions of Windows. -#endif - -#ifndef _WIN32_WINNT // Specifies that the minimum required platform is Windows Vista. -#define _WIN32_WINNT 0x0600 // Change this to the appropriate value to target other versions of Windows. -#endif - -#ifndef _WIN32_WINDOWS // Specifies that the minimum required platform is Windows 98. -#define _WIN32_WINDOWS 0x0410 // Change this to the appropriate value to target Windows Me or later. -#endif - -#ifndef _WIN32_IE // Specifies that the minimum required platform is Internet Explorer 7.0. -#define _WIN32_IE 0x0700 // Change this to the appropriate value to target other versions of IE. -#endif - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116DbfMidTrg/9111DbInt.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116DbfMidTrg/9111DbInt.suo deleted file mode 100644 index 3fde864..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116DbfMidTrg/9111DbInt.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116DbfMidTrg/9111PostTg.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116DbfMidTrg/9111PostTg.suo deleted file mode 100644 index c59a833..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116DbfMidTrg/9111PostTg.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116DbfMidTrg/9111int.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116DbfMidTrg/9111int.suo deleted file mode 100644 index aaca7d8..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116DbfMidTrg/9111int.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116DbfMidTrg/9116Atrg.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116DbfMidTrg/9116Atrg.cpp deleted file mode 100644 index 7c3f89d..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116DbfMidTrg/9116Atrg.cpp +++ /dev/null @@ -1,109 +0,0 @@ - -// 9116Atrg.cpp : Defines the class behaviors for the application. -// - -#include "stdafx.h" -#include "9116Atrg.h" -#include "9116AtrgDlg.h" -#include "CardIDDlg.h" - -#ifdef _DEBUG -#define new DEBUG_NEW -#endif - - -// C9116AtrgApp - -BEGIN_MESSAGE_MAP(C9116AtrgApp, CWinAppEx) - ON_COMMAND(ID_HELP, &CWinApp::OnHelp) -END_MESSAGE_MAP() - - -// C9116AtrgApp construction - -C9116AtrgApp::C9116AtrgApp() -{ - // TODO: add construction code here, - // Place all significant initialization in InitInstance -} - - -// The one and only C9116AtrgApp object - -C9116AtrgApp theApp; - - -// C9116AtrgApp initialization - -BOOL C9116AtrgApp::InitInstance() -{ - int nCardID = 0; - I16 hCard; - CString strTemp; - INT_PTR nResponse; - - // InitCommonControlsEx() is required on Windows XP if an application - // manifest specifies use of ComCtl32.dll version 6 or later to enable - // visual styles. Otherwise, any window creation will fail. - INITCOMMONCONTROLSEX InitCtrls; - InitCtrls.dwSize = sizeof(InitCtrls); - // Set this to include all the common control classes you want to use - // in your application. - InitCtrls.dwICC = ICC_WIN95_CLASSES; - InitCommonControlsEx(&InitCtrls); - - CWinAppEx::InitInstance(); - - AfxEnableControlContainer(); - - // Standard initialization - // If you are not using these features and wish to reduce the size - // of your final executable, you should remove from the following - // the specific initialization routines you do not need - // Change the registry key under which our settings are stored - // TODO: You should modify this string to be something appropriate - // such as the name of your company or organization - SetRegistryKey(_T("Local AppWizard-Generated Applications")); - - CCardIDDlg CardDlg( nCardID ); - - nResponse = CardDlg.DoModal(); - if (nResponse == IDOK) - { - nCardID = CardDlg.GetCardID(); - - if ((hCard=Register_Card(PCI_9116, nCardID)) < 0) - { - strTemp.Format( TEXT("Register_Card Error = %d"), hCard); - AfxMessageBox( strTemp ); - } - else - { - C9116AtrgDlg dlg(hCard); - m_pMainWnd = &dlg; - nResponse = dlg.DoModal(); - if (nResponse == IDOK) - { - // TODO: Place code here to handle when the dialog is - // dismissed with OK - } - else if (nResponse == IDCANCEL) - { - // TODO: Place code here to handle when the dialog is - // dismissed with Cancel - } - - if (hCard >= 0) Release_Card(hCard); - } - - } - else if (nResponse == IDCANCEL) - { - // TODO: Place code here to handle when the dialog is - // dismissed with Cancel - } - - // Since the dialog has been closed, return FALSE so that we exit the - // application, rather than start the application's message pump. - return FALSE; -} diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116DbfMidTrg/9116Atrg.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116DbfMidTrg/9116Atrg.h deleted file mode 100644 index 878a439..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116DbfMidTrg/9116Atrg.h +++ /dev/null @@ -1,34 +0,0 @@ - -// 9116Atrg.h : main header file for the PROJECT_NAME application -// - -#pragma once - -#ifndef __AFXWIN_H__ - #error "include 'stdafx.h' before including this file for PCH" -#endif - -#include "resource.h" // main symbols - -#define AI_MODE_DMA 0 -#define AI_MODE_INT 1 - -// C9116AtrgApp: -// See 9116Atrg.cpp for the implementation of this class -// - -class C9116AtrgApp : public CWinAppEx -{ -public: - C9116AtrgApp(); - -// Overrides - public: - virtual BOOL InitInstance(); - -// Implementation - - DECLARE_MESSAGE_MAP() -}; - -extern C9116AtrgApp theApp; \ No newline at end of file diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116DbfMidTrg/9116Atrg.rc b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116DbfMidTrg/9116Atrg.rc deleted file mode 100644 index 7ba54b2..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116DbfMidTrg/9116Atrg.rc +++ /dev/null @@ -1,294 +0,0 @@ -// Microsoft Visual C++ generated resource script. -// -#include "resource.h" - -#define APSTUDIO_READONLY_SYMBOLS -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 2 resource. -// -#ifndef APSTUDIO_INVOKED -#include "targetver.h" -#endif -#include "afxres.h" - -///////////////////////////////////////////////////////////////////////////// -#undef APSTUDIO_READONLY_SYMBOLS - -///////////////////////////////////////////////////////////////////////////// -// Chinese (Taiwan) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_CHT) -#ifdef _WIN32 -LANGUAGE LANG_CHINESE, SUBLANG_CHINESE_TRADITIONAL -#pragma code_page(950) -#endif //_WIN32 - -#ifdef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// TEXTINCLUDE -// - -1 TEXTINCLUDE -BEGIN - "resource.h\0" -END - -2 TEXTINCLUDE -BEGIN - "#ifndef APSTUDIO_INVOKED\r\n" - "#include ""targetver.h""\r\n" - "#endif\r\n" - "#include ""afxres.h""\r\n" - "\0" -END - -3 TEXTINCLUDE -BEGIN - "#define _AFX_NO_SPLITTER_RESOURCES\r\n" - "#define _AFX_NO_OLE_RESOURCES\r\n" - "#define _AFX_NO_TRACKER_RESOURCES\r\n" - "#define _AFX_NO_PROPERTY_RESOURCES\r\n" - "\r\n" - "#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)\r\n" - "LANGUAGE 9, 1\r\n" - "#pragma code_page(1252)\r\n" - "#include ""res\\My9116Atrg.rc2"" // non-Microsoft Visual C++ edited resources\r\n" - "#include ""afxres.rc"" // Standard components\r\n" - "#endif\r\n" - "\0" -END - -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// Icon -// - -// Icon with lowest ID value placed first to ensure application icon -// remains consistent on all systems. -IDR_MAINFRAME ICON "res\\9116Atrg.ico" -#endif // Chinese (Taiwan) resources -///////////////////////////////////////////////////////////////////////////// - - -///////////////////////////////////////////////////////////////////////////// -// English (U.S.) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -#ifdef _WIN32 -LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US -#pragma code_page(1252) -#endif //_WIN32 - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog -// - -IDD_ABOUTBOX DIALOGEX 0, 0, 170, 62 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "About 9116Atrg" -FONT 8, "MS Shell Dlg", 0, 0, 0x1 -BEGIN - ICON IDR_MAINFRAME,IDC_STATIC,14,14,21,20 - LTEXT "9116Atrg, Version 1.0",IDC_STATIC,42,14,114,8,SS_NOPREFIX - LTEXT "Copyright (C) 2010",IDC_STATIC,42,26,114,8 - DEFPUSHBUTTON "OK",IDOK,113,41,50,14,WS_GROUP -END - -IDD_9118DMA_DIALOG DIALOGEX 0, 0, 365, 232 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU -EXSTYLE WS_EX_APPWINDOW -CAPTION "PCI-9116 Double-Buffered DMA wtih Middle Trigger" -FONT 8, "MS Shell Dlg", 0, 0, 0x1 -BEGIN - GROUPBOX "",IDC_STATIC_DRAW,45,9,248,161,NOT WS_VISIBLE - LTEXT "Range : +/- 5V",IDC_STATIC,299,129,52,15 - LTEXT "Buffer Size :",IDC_STATIC,109,183,42,9 - EDITTEXT IDC_EDIT_SCAN_ITERVAL,32,196,39,14,ES_AUTOHSCROLL | ES_READONLY - LTEXT "Sample Interval :",IDC_STATIC,32,182,60,9 - LTEXT "KHz",IDC_STATIC,84,199,15,9 - SCROLLBAR IDC_SCROLLBAR_RATE,72,196,9,11,SBS_VERT - PUSHBUTTON "Start",IDC_BT_START,230,188,55,22 - CONTROL "0",IDC_RADIO_CH0,"Button",BS_AUTORADIOBUTTON | BS_LEFTTEXT,307,20,16,12 - CONTROL "1",IDC_RADIO_CH1,"Button",BS_AUTORADIOBUTTON | BS_LEFTTEXT,307,35,16,12 - CONTROL "2",IDC_RADIO_CH2,"Button",BS_AUTORADIOBUTTON | BS_LEFTTEXT,307,49,16,12 - CONTROL "3",IDC_RADIO_CH3,"Button",BS_AUTORADIOBUTTON | BS_LEFTTEXT,307,64,16,12 - CONTROL "4",IDC_RADIO_CH4,"Button",BS_AUTORADIOBUTTON | BS_LEFTTEXT,331,20,16,12 - CONTROL "5",IDC_RADIO_CH5,"Button",BS_AUTORADIOBUTTON | BS_LEFTTEXT,331,35,16,12 - CONTROL "6",IDC_RADIO_CH6,"Button",BS_AUTORADIOBUTTON | BS_LEFTTEXT,331,49,16,12 - CONTROL "7",IDC_RADIO_CH7,"Button",BS_AUTORADIOBUTTON | BS_LEFTTEXT,331,64,16,12 - EDITTEXT IDC_EDIT_BUF_SIZE,107,196,46,14,ES_AUTOHSCROLL - PUSHBUTTON "Stop",IDC_BT_STOP,291,188,55,22 - LTEXT "Post Count :",IDC_STATIC_TRACE_CNT,172,183,44,9 - EDITTEXT IDC_EDIT_TRACE_CNT,169,196,46,14,ES_AUTOHSCROLL -END - -IDD_CARDID_DIALOG DIALOGEX 0, 0, 174, 108 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "Card ID" -FONT 8, "MS Shell Dlg", 400, 0, 0x1 -BEGIN - COMBOBOX IDC_COMBO_CARDID,75,24,71,126,CBS_DROPDOWN | WS_VSCROLL | WS_TABSTOP - LTEXT "Card Number",IDC_STATIC_01,20,25,46,12 - PUSHBUTTON "OK",IDOK,22,70,58,19 - PUSHBUTTON "CANCEL",IDCANCEL,86,70,58,19 -END - - -///////////////////////////////////////////////////////////////////////////// -// -// Version -// - -VS_VERSION_INFO VERSIONINFO - FILEVERSION 1,0,0,1 - PRODUCTVERSION 1,0,0,1 - FILEFLAGSMASK 0x3fL -#ifdef _DEBUG - FILEFLAGS 0x1L -#else - FILEFLAGS 0x0L -#endif - FILEOS 0x4L - FILETYPE 0x1L - FILESUBTYPE 0x0L -BEGIN - BLOCK "StringFileInfo" - BEGIN - BLOCK "040904e4" - BEGIN - VALUE "CompanyName", "TODO: " - VALUE "FileDescription", "TODO: " - VALUE "FileVersion", "1.0.0.1" - VALUE "InternalName", "9116Atrg.exe" - VALUE "LegalCopyright", "TODO: (c) . All rights reserved." - VALUE "OriginalFilename", "9116Atrg.exe" - VALUE "ProductName", "TODO: " - VALUE "ProductVersion", "1.0.0.1" - END - END - BLOCK "VarFileInfo" - BEGIN - VALUE "Translation", 0x409, 1252 - END -END - - -///////////////////////////////////////////////////////////////////////////// -// -// DESIGNINFO -// - -#ifdef APSTUDIO_INVOKED -GUIDELINES DESIGNINFO -BEGIN - IDD_ABOUTBOX, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 163 - TOPMARGIN, 7 - BOTTOMMARGIN, 55 - END - - IDD_CARDID_DIALOG, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 167 - TOPMARGIN, 7 - BOTTOMMARGIN, 101 - END -END -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog Info -// - -IDD_CARDID_DIALOG DLGINIT -BEGIN - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0030, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0031, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0032, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0033, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0034, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0035, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0036, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0037, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0038, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0039, - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3031, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3131, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3231, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3331, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3431, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3531, "\000" - 0 -END - - -///////////////////////////////////////////////////////////////////////////// -// -// Bitmap -// - -IDB_BITMAP_SET1 BITMAP "res\\ch_set1.bmp" -IDB_BITMAP_SET2 BITMAP "res\\ch_set2.bmp" - -///////////////////////////////////////////////////////////////////////////// -// -// String Table -// - -STRINGTABLE -BEGIN - IDS_ABOUTBOX "&About 9116Atrg..." -END - -#endif // English (U.S.) resources -///////////////////////////////////////////////////////////////////////////// - - - -#ifndef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 3 resource. -// -#define _AFX_NO_SPLITTER_RESOURCES -#define _AFX_NO_OLE_RESOURCES -#define _AFX_NO_TRACKER_RESOURCES -#define _AFX_NO_PROPERTY_RESOURCES - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -LANGUAGE 9, 1 -#pragma code_page(1252) -#include "res\My9116Atrg.rc2" // non-Microsoft Visual C++ edited resources -#include "afxres.rc" // Standard components -#endif - -///////////////////////////////////////////////////////////////////////////// -#endif // not APSTUDIO_INVOKED - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116DbfMidTrg/9116Atrg.sln b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116DbfMidTrg/9116Atrg.sln deleted file mode 100644 index 31a8024..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116DbfMidTrg/9116Atrg.sln +++ /dev/null @@ -1,20 +0,0 @@ - -Microsoft Visual Studio Solution File, Format Version 10.00 -# Visual Studio 2008 -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "9116Atrg", "9116Atrg.vcproj", "{702163FB-B6DF-4EF5-9491-FC54D71509BC}" -EndProject -Global - GlobalSection(SolutionConfigurationPlatforms) = preSolution - Debug|x64 = Debug|x64 - Release|x64 = Release|x64 - EndGlobalSection - GlobalSection(ProjectConfigurationPlatforms) = postSolution - {702163FB-B6DF-4EF5-9491-FC54D71509BC}.Debug|x64.ActiveCfg = Debug|x64 - {702163FB-B6DF-4EF5-9491-FC54D71509BC}.Debug|x64.Build.0 = Debug|x64 - {702163FB-B6DF-4EF5-9491-FC54D71509BC}.Release|x64.ActiveCfg = Release|x64 - {702163FB-B6DF-4EF5-9491-FC54D71509BC}.Release|x64.Build.0 = Release|x64 - EndGlobalSection - GlobalSection(SolutionProperties) = preSolution - HideSolutionNode = FALSE - EndGlobalSection -EndGlobal diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116DbfMidTrg/9116Atrg.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116DbfMidTrg/9116Atrg.suo deleted file mode 100644 index e24f707..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116DbfMidTrg/9116Atrg.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116DbfMidTrg/9116Atrg.vcproj b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116DbfMidTrg/9116Atrg.vcproj deleted file mode 100644 index 65c59de..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116DbfMidTrg/9116Atrg.vcproj +++ /dev/null @@ -1,294 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116DbfMidTrg/9116AtrgDlg.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116DbfMidTrg/9116AtrgDlg.cpp deleted file mode 100644 index 878e563..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116DbfMidTrg/9116AtrgDlg.cpp +++ /dev/null @@ -1,700 +0,0 @@ - -// 9116AtrgDlg.cpp : implementation file -// - -#include "stdafx.h" -#include "9116Atrg.h" -#include "9116AtrgDlg.h" - -#ifdef _DEBUG -#define new DEBUG_NEW -#endif - -CRect plotRect; - -// CAboutDlg dialog used for App About - -class CAboutDlg : public CDialog -{ -public: - CAboutDlg(); - -// Dialog Data - enum { IDD = IDD_ABOUTBOX }; - - protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - -// Implementation -protected: - DECLARE_MESSAGE_MAP() -}; - -CAboutDlg::CAboutDlg() : CDialog(CAboutDlg::IDD) -{ -} - -void CAboutDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); -} - -BEGIN_MESSAGE_MAP(CAboutDlg, CDialog) -END_MESSAGE_MAP() - - -// C9116AtrgDlg dialog - - - - -C9116AtrgDlg::C9116AtrgDlg(I16 hCard, CWnd* pParent /*=NULL*/) - : CDialog(C9116AtrgDlg::IDD, pParent) -{ - m_hIcon = AfxGetApp()->LoadIcon(IDR_MAINFRAME); - - n_PlotWidth = n_PlotHeight = -1; - OnBrush = OffBrush = NULL; - - min_val = 0x00; - max_val = 0xFFFF; - - m_dwSampIntrv = 480; - - m_hCard = hCard; - - m_wScanChans = 0; - m_nTimer = -1; - m_hMem=NULL; - - m_wRange = AD_B_5_V; - m_dwReadCount = 4096; - m_wPostCount = 512; - - -} - -void C9116AtrgDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); -} - -BEGIN_MESSAGE_MAP(C9116AtrgDlg, CDialog) - ON_WM_SYSCOMMAND() - ON_WM_PAINT() - ON_WM_QUERYDRAGICON() - //}}AFX_MSG_MAP - ON_WM_DESTROY() - ON_WM_VSCROLL() - ON_BN_CLICKED(IDC_BT_START, &C9116AtrgDlg::OnStart) - ON_BN_CLICKED(IDC_RADIO_CH0, &C9116AtrgDlg::OnCh0) - ON_BN_CLICKED(IDC_RADIO_CH1, &C9116AtrgDlg::OnCh1) - ON_BN_CLICKED(IDC_RADIO_CH2, &C9116AtrgDlg::OnCh2) - ON_BN_CLICKED(IDC_RADIO_CH3, &C9116AtrgDlg::OnCh3) - ON_BN_CLICKED(IDC_RADIO_CH4, &C9116AtrgDlg::OnCh4) - ON_BN_CLICKED(IDC_RADIO_CH5, &C9116AtrgDlg::OnCh5) - ON_BN_CLICKED(IDC_RADIO_CH6, &C9116AtrgDlg::OnCh6) - ON_BN_CLICKED(IDC_RADIO_CH7, &C9116AtrgDlg::OnCh7) - ON_WM_TIMER() - ON_BN_CLICKED(IDC_BT_STOP, &C9116AtrgDlg::OnStop) -END_MESSAGE_MAP() - - -// C9116AtrgDlg message handlers - -BOOL C9116AtrgDlg::OnInitDialog() -{ - CDialog::OnInitDialog(); - - // Add "About..." menu item to system menu. - - // IDM_ABOUTBOX must be in the system command range. - ASSERT((IDM_ABOUTBOX & 0xFFF0) == IDM_ABOUTBOX); - ASSERT(IDM_ABOUTBOX < 0xF000); - - CMenu* pSysMenu = GetSystemMenu(FALSE); - if (pSysMenu != NULL) - { - BOOL bNameValid; - CString strAboutMenu; - bNameValid = strAboutMenu.LoadString(IDS_ABOUTBOX); - ASSERT(bNameValid); - if (!strAboutMenu.IsEmpty()) - { - pSysMenu->AppendMenu(MF_SEPARATOR); - pSysMenu->AppendMenu(MF_STRING, IDM_ABOUTBOX, strAboutMenu); - } - } - - // Set the icon for this dialog. The framework does this automatically - // when the application's main window is not a dialog - SetIcon(m_hIcon, TRUE); // Set big icon - SetIcon(m_hIcon, FALSE); // Set small icon - - // TODO: Add extra initialization here - x_divider = 5; y_divider = 4; - - OnBrush = CreateSolidBrush( RGB(255,0,0) ); - OffBrush = CreateSolidBrush( RGB(125,0,0) ); - - RedPen.CreatePen( PS_SOLID, 1, RGB(255,0,0)); - GreenPen.CreatePen( PS_SOLID, 1, RGB(0,255,0)); - YellowPen.CreatePen( PS_SOLID, 1, RGB(255,255,0)); - BluePen.CreatePen( PS_SOLID, 1, RGB(0,0,255)); - LTBluePen.CreatePen( PS_SOLID, 1, RGB(0,128,255)); - LTRedPen.CreatePen( PS_SOLID, 1, RGB(255,128,0)); - LTGreenPen.CreatePen( PS_SOLID, 1, RGB(0,128,0)); - WhitePen.CreatePen( PS_SOLID, 1, RGB(255,255,255)); - - - if( n_PlotWidth == -1 && n_PlotHeight == -1 ) - { - ((CWnd*)GetDlgItem(IDC_STATIC_DRAW))->GetWindowRect(&plotRect); - ScreenToClient(&plotRect); - - n_PlotWidth = min( plotRect.Width(), 512); - n_PlotHeight = plotRect.Height() - 10; - } - - // set the default SampleRate - SetDlgItemInt( IDC_EDIT_SAMPLE_RATE, (UINT)(m_dwSampIntrv) ); - SetDlgItemInt( IDC_EDIT_BUF_SIZE, (UINT)(m_dwReadCount) ); - SetDlgItemInt( IDC_EDIT_TRACE_CNT, (UINT)(m_wPostCount) ); - - ((CButton*)GetDlgItem( IDC_RADIO_CH0 ))->SetCheck( TRUE ); - - max_range = 5.0; - min_range = -5.0; - - return TRUE; // return TRUE unless you set the focus to a control -} - -void C9116AtrgDlg::OnSysCommand(UINT nID, LPARAM lParam) -{ - if ((nID & 0xFFF0) == IDM_ABOUTBOX) - { - CAboutDlg dlgAbout; - dlgAbout.DoModal(); - } - else - { - CDialog::OnSysCommand(nID, lParam); - } -} - -// If you add a minimize button to your dialog, you will need the code below -// to draw the icon. For MFC applications using the document/view model, -// this is automatically done for you by the framework. - -void C9116AtrgDlg::OnPaint() -{ - if (IsIconic()) - { - CPaintDC dc(this); // device context for painting - - SendMessage(WM_ICONERASEBKGND, reinterpret_cast(dc.GetSafeHdc()), 0); - - // Center icon in client rectangle - int cxIcon = GetSystemMetrics(SM_CXICON); - int cyIcon = GetSystemMetrics(SM_CYICON); - CRect rect; - GetClientRect(&rect); - int x = (rect.Width() - cxIcon + 1) / 2; - int y = (rect.Height() - cyIcon + 1) / 2; - - // Draw the icon - dc.DrawIcon(x, y, m_hIcon); - } - else - { - redraw_display_area(); - CDialog::OnPaint(); - } -} - -// The system calls this function to obtain the cursor to display while the user drags -// the minimized window. -HCURSOR C9116AtrgDlg::OnQueryDragIcon() -{ - return static_cast(m_hIcon); -} - - -void C9116AtrgDlg::redraw_display_area(void) -{ - CPen *oldPen; - - int oldMode; - COLORREF oldColor; - - CString y_lable; - - CPen minor_tick( PS_SOLID,1,RGB(132,130,132) ); -// CPen y_grid( PS_SOLID,1,RGB(206,203,132) ); - - int i, x_intv, y_intv; -// long total_sec; - - CClientDC dc_plot(this); - - // draw the base-line for x-y axises - oldPen = (CPen *)dc_plot.SelectStockObject(BLACK_PEN); - - // redraw the background - dc_plot.FillSolidRect( plotRect, RGB(0,0,0) ); - - // Re-Draw the AREA for Y-Lable - { - CBrush DIALOG_BRUSH; - CRect redraw_area, full_client; - - GetClientRect(&full_client); - ScreenToClient(&full_client); - - redraw_area.left = full_client.left; - redraw_area.top = plotRect.top - 5; - redraw_area.right = plotRect.left - 3; - redraw_area.bottom = plotRect.bottom + 10; - - DIALOG_BRUSH.CreateSysColorBrush( COLOR_3DFACE ); - - dc_plot.FillRect( redraw_area, &DIALOG_BRUSH ); - - DIALOG_BRUSH.DeleteObject(); - } - - dc_plot.MoveTo( plotRect.left - 3, plotRect.top ); - dc_plot.LineTo( plotRect.left - 3, plotRect.bottom ); - - // calculate the interval for tick/grid - y_intv = (plotRect.Height() - 10) /y_divider; - x_intv = plotRect.Width()/x_divider; - - - // set the color for tick - oldColor = dc_plot.SetTextColor( RGB(0,0,0) ); - oldMode = dc_plot.SetBkMode( TRANSPARENT ); - - for( i=0; i<= y_divider; i++ ) - { - CString tick_str; - CRect tmp_rect, tick_rect; - - // draw the tick for y-axis - dc_plot.MoveTo( plotRect.left -12, plotRect.bottom -5 - (i*y_intv) ); - dc_plot.LineTo( plotRect.left -3, plotRect.bottom -5 - (i*y_intv) ); - - tick_str.Format( _T("%.1f"), ( ((max_range-min_range)/y_divider) * i)+min_range ); - - // calculate the rectangle for text - dc_plot.DrawText( tick_str, &tmp_rect, DT_CALCRECT|DT_SINGLELINE ); - tick_rect.right = plotRect.left -14; - tick_rect.left = tick_rect.right - tmp_rect.Width(); - tick_rect.top = plotRect.bottom -5 - (i*y_intv) - tmp_rect.Height()/2; - tick_rect.bottom = tick_rect.top + tmp_rect.Height(); - - // draw the text - dc_plot.DrawText( tick_str, &tick_rect, DT_SINGLELINE|DT_RIGHT ); - - } - - // draw the minor_tick for Y axises - dc_plot.SelectObject(&minor_tick); - for( i=0; i< y_divider; i++ ) - { - dc_plot.MoveTo( plotRect.left -9, plotRect.bottom -5 - (i*y_intv) - y_intv/2 ); - dc_plot.LineTo( plotRect.left -4, plotRect.bottom -5 - (i*y_intv) - y_intv/2 ); - } - - dc_plot.SetTextColor( oldColor ); - dc_plot.SetBkMode( oldMode ); - dc_plot.SelectObject( oldPen ); -} - -void C9116AtrgDlg::OnDestroy() -{ - CDialog::OnDestroy(); - - // TODO: Add your message handler code here - if( m_nTimer != -1 ) - { - KillTimer( m_nTimer ); - m_nTimer = -1; - } - - if (m_hMem != NULL) - { - GlobalUnfix(m_hMem); - GlobalUnlock(m_hMem); - GlobalFree(m_hMem); - - m_hMem = NULL; - } - - if( OnBrush != NULL ) - ::DeleteObject( OnBrush ); - - if( OffBrush != NULL ) - ::DeleteObject( OffBrush ); - - RedPen.DeleteObject(); - GreenPen.DeleteObject(); - YellowPen.DeleteObject(); - BluePen.DeleteObject(); - LTBluePen.DeleteObject(); - LTRedPen.DeleteObject(); - LTGreenPen.DeleteObject(); - WhitePen.DeleteObject(); - -} - -void C9116AtrgDlg::OnVScroll(UINT nSBCode, UINT nPos, CScrollBar* pScrollBar) -{ - // TODO: Add your message handler code here and/or call default - switch ( nSBCode ) - { - case SB_LINEUP : - m_dwSampIntrv += 240; - if (m_dwSampIntrv > 24000 ) m_dwSampIntrv = 24000; - break; - case SB_LINEDOWN: - m_dwSampIntrv -= 240; - if (m_dwSampIntrv < 240 ) m_dwSampIntrv = 240; - break; - } - - SetDlgItemInt( IDC_EDIT_SCAN_ITERVAL, (UINT)(m_dwSampIntrv) ); - - - CDialog::OnVScroll(nSBCode, nPos, pScrollBar); -} - - -void C9116AtrgDlg::OnStop() -{ - // TODO: Add your control notification handler code here - U32 count; - - AI_AsyncClear(m_hCard, &count); - - if( m_nTimer != -1 ) - { - KillTimer( m_nTimer ); - m_nTimer = -1; - } - - GetDlgItem( IDC_BT_START )->EnableWindow(TRUE); - - GetDlgItem( IDC_RADIO_CH0 )->EnableWindow(TRUE); - GetDlgItem( IDC_RADIO_CH1 )->EnableWindow(TRUE); - GetDlgItem( IDC_RADIO_CH2 )->EnableWindow(TRUE); - GetDlgItem( IDC_RADIO_CH3 )->EnableWindow(TRUE); - GetDlgItem( IDC_RADIO_CH4 )->EnableWindow(TRUE); - GetDlgItem( IDC_RADIO_CH5 )->EnableWindow(TRUE); - GetDlgItem( IDC_RADIO_CH6 )->EnableWindow(TRUE); - GetDlgItem( IDC_RADIO_CH7 )->EnableWindow(TRUE); -} - -void C9116AtrgDlg::OnStart() -{ - // TODO: Add your control notification handler code here - DWORD mem_size; - CString strTemp; - I16 err; - - GetDlgItem( IDC_BT_START )->EnableWindow(FALSE); - - GetDlgItem( IDC_RADIO_CH0 )->EnableWindow(FALSE); - GetDlgItem( IDC_RADIO_CH1 )->EnableWindow(FALSE); - GetDlgItem( IDC_RADIO_CH2 )->EnableWindow(FALSE); - GetDlgItem( IDC_RADIO_CH3 )->EnableWindow(FALSE); - GetDlgItem( IDC_RADIO_CH4 )->EnableWindow(FALSE); - GetDlgItem( IDC_RADIO_CH5 )->EnableWindow(FALSE); - GetDlgItem( IDC_RADIO_CH6 )->EnableWindow(FALSE); - GetDlgItem( IDC_RADIO_CH7 )->EnableWindow(FALSE); - - m_dwReadCount = GetDlgItemInt(IDC_EDIT_BUF_SIZE); - m_wPostCount = GetDlgItemInt(IDC_EDIT_TRACE_CNT); - - - if (m_hMem != NULL) - { - GlobalUnfix(m_hMem); - GlobalUnlock(m_hMem); - GlobalFree(m_hMem); - - m_hMem = NULL; - } - - // allocate a memory for user DMA buffer - mem_size = m_dwReadCount * (m_wScanChans+1) * sizeof(I16); - m_hMem = GlobalAlloc(GMEM_ZEROINIT, mem_size); - m_pAIBuf = (U16*) GlobalLock(m_hMem); - if (m_pAIBuf == NULL ) - { - AfxMessageBox( TEXT("Memory allocation failed"), MB_OK); - return; - } - - GlobalFix(m_hMem); - - m_oldY[0] = m_oldY[1] = m_oldY[2] = m_oldY[3] = m_oldY[4] = m_oldY[5] = m_oldY[6] = m_oldY[7] = -1; - m_oldX[0] = m_oldX[1] = m_oldX[2] = m_oldX[3] = m_oldX[4] = m_oldX[5] = m_oldX[6] = m_oldX[7] = -1; - - err = AI_9116_Config(m_hCard, 0, P9116_AI_DMA|P9116_TRGMOD_MIDL, m_wPostCount, 0, 0); - - err = AI_9116_CounterInterval(m_hCard, m_dwSampIntrv * (m_wScanChans+1), m_dwSampIntrv); - if (err!=0) - { - strTemp.Format( TEXT("AI_9116_CounterInterval error=%d"), err); - AfxMessageBox( strTemp ); - } - - err=AI_AsyncDblBufferMode(m_hCard, 1); // single-buffer mode - if (err!=0) - { - strTemp.Format( TEXT("AI_DblBufferMode error=%d"), err); - AfxMessageBox( strTemp ); - } - - err=AI_ContReadChannel (m_hCard, m_wScanChans, m_wRange, (U16*)m_pAIBuf, m_dwReadCount, (F64)1, ASYNCH_OP); - if (err!=0) - { - strTemp.Format( TEXT("AI_ContReadChannel error=%d"), err); - AfxMessageBox( strTemp ); - } - - m_nTimer = SetTimer( 1, 20, NULL ); - -} - -int C9116AtrgDlg::display_buffer_data(U16* pBuf, U32 dwDataSize) -{ - CClientDC dc_plot(this); - int nDraw_Origin_Y; - int cur_channel; - - int newY = -1; - int newX = -1; - U32 index; - I16 ai_data; - U32 dwReadCount = (m_dwReadCount/2); // for double-buffer operation - - - // redraw the background - dc_plot.FillSolidRect( plotRect, RGB(0,0,0) ); - - dc_plot.SelectObject(&RedPen); - nDraw_Origin_Y = ( plotRect.bottom - 5 ) - n_PlotHeight/2; - - for( index=0; index> 16) ); // ( n_PlotHeight * ai_data / 65536) ); // ( (n_PlotHeight/2) * ai_data/32768 ) ); - - newX = (int)( index*n_PlotWidth/dwReadCount + plotRect.left ); - - switch(cur_channel) - { - case 0: - dc_plot.SelectObject(&YellowPen); - break; - case 1: - dc_plot.SelectObject(<GreenPen); - break; - case 2: - dc_plot.SelectObject(&BluePen); - break; - case 3: - dc_plot.SelectObject(&RedPen); - break; - case 4: - dc_plot.SelectObject(<BluePen); - break; - case 5: - dc_plot.SelectObject(<RedPen); - break; - case 6: - dc_plot.SelectObject(&GreenPen); - break; - case 7: - dc_plot.SelectObject(&WhitePen); - break; - } - - if ( index == 0 ) - { - dc_plot.MoveTo( newX, newY ); - } - else - { - dc_plot.MoveTo( m_oldX[cur_channel], m_oldY[cur_channel] ); - dc_plot.LineTo( newX, newY ); - } - - m_oldX[cur_channel] = newX; - m_oldY[cur_channel] = newY; - } - - return 0; -} - -void C9116AtrgDlg::OnTimer(UINT_PTR nIDEvent) -{ - // TODO: Add your message handler code here and/or call default - BOOLEAN HalfReady; - BOOLEAN fstop; - U32 count; - - AI_AsyncDblBufferHalfReady(m_hCard, &HalfReady, &fstop); - - if( fstop == FALSE ) - { - if( HalfReady == TRUE ) // half-buffer is ready - { - AI_AsyncDblBufferTransfer(m_hCard, m_pAIBuf); - display_buffer_data( m_pAIBuf, m_dwReadCount/2 ); - } - } - else // AI operation stops - { - AI_AsyncDblBufferHalfReady(m_hCard, &HalfReady, &fstop); //Get the index of working buffer of Double Buffer - AI_AsyncClear(m_hCard, &count); - - if( (count > 0) && (count < (m_dwReadCount/2)) ) - { - AI_AsyncDblBufferTransfer(m_hCard, m_pAIBuf); - display_buffer_data( m_pAIBuf, count ); - } - - if( m_nTimer != -1 ) - { - KillTimer( m_nTimer ); - m_nTimer = -1; - } - - GetDlgItem( IDC_BT_START )->EnableWindow(TRUE); - - GetDlgItem( IDC_RADIO_CH0 )->EnableWindow(TRUE); - GetDlgItem( IDC_RADIO_CH1 )->EnableWindow(TRUE); - GetDlgItem( IDC_RADIO_CH2 )->EnableWindow(TRUE); - GetDlgItem( IDC_RADIO_CH3 )->EnableWindow(TRUE); - GetDlgItem( IDC_RADIO_CH4 )->EnableWindow(TRUE); - GetDlgItem( IDC_RADIO_CH5 )->EnableWindow(TRUE); - GetDlgItem( IDC_RADIO_CH6 )->EnableWindow(TRUE); - GetDlgItem( IDC_RADIO_CH7 )->EnableWindow(TRUE); - - } - - CDialog::OnTimer(nIDEvent); -} - -void C9116AtrgDlg::OnCh0() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_RADIO_CH0 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_wScanChans = 0; - } - -} - -void C9116AtrgDlg::OnCh1() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_RADIO_CH1 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_wScanChans = 1; - } -} - -void C9116AtrgDlg::OnCh2() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_RADIO_CH2 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_wScanChans = 2; - } -} - -void C9116AtrgDlg::OnCh3() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_RADIO_CH3 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_wScanChans = 3; - } -} - -void C9116AtrgDlg::OnCh4() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_RADIO_CH4 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_wScanChans = 4; - } -} - -void C9116AtrgDlg::OnCh5() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_RADIO_CH5 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_wScanChans = 5; - } -} - -void C9116AtrgDlg::OnCh6() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_RADIO_CH6 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_wScanChans = 6; - } -} - -void C9116AtrgDlg::OnCh7() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_RADIO_CH7 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_wScanChans = 7; - } -} - - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116DbfMidTrg/9116AtrgDlg.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116DbfMidTrg/9116AtrgDlg.h deleted file mode 100644 index 6ddac30..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116DbfMidTrg/9116AtrgDlg.h +++ /dev/null @@ -1,85 +0,0 @@ - -// 9116AtrgDlg.h : header file -#pragma once -#include "afxcmn.h" -#include "afxwin.h" - -#include "Dask64.h" - -#ifndef MAX_CHAN_9118 -#define MAX_CHAN_9118 16 -#endif - -// C9116AtrgDlg dialog -class C9116AtrgDlg : public CDialog -{ -// Construction -public: - C9116AtrgDlg(I16 hCard, CWnd* pParent = NULL); // standard constructor - -// Dialog Data - enum { IDD = IDD_9118DMA_DIALOG }; - - protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - - -// Implementation -protected: - HICON m_hIcon; - UINT_PTR m_nTimer; - I16 m_hCard; - U16 m_wAIMode; - U32 m_dwSampIntrv; - U16 m_wScanChans; - HANDLE m_hMem; - U16 *m_pAIBuf; - U16 m_wRange; - int m_oldY[8]; - int m_oldX[8]; - U32 m_dwReadCount; - U16 m_wPostCount; - - // Generated message map functions - virtual BOOL OnInitDialog(); - afx_msg void OnSysCommand(UINT nID, LPARAM lParam); - afx_msg void OnPaint(); - afx_msg HCURSOR OnQueryDragIcon(); - DECLARE_MESSAGE_MAP() - -public: - WORD max_val; - WORD min_val; - double max_range; - double min_range; - int n_PlotWidth; - int n_PlotHeight; - int y_divider; - int x_divider; - int m_DisplayScale; - HBRUSH OnBrush; - HBRUSH OffBrush; - CPen RedPen; - CPen GreenPen; - CPen YellowPen; - CPen BluePen; - CPen LTBluePen; - CPen LTRedPen; - CPen LTGreenPen; - CPen WhitePen; - void redraw_display_area(void); - afx_msg void OnDestroy(); - afx_msg void OnVScroll(UINT nSBCode, UINT nPos, CScrollBar* pScrollBar); - afx_msg void OnStart(); - int display_buffer_data(U16* pBuf, U32 dwDataSize); - afx_msg void OnCh0(); - afx_msg void OnCh1(); - afx_msg void OnCh2(); - afx_msg void OnCh3(); - afx_msg void OnCh4(); - afx_msg void OnCh5(); - afx_msg void OnCh6(); - afx_msg void OnCh7(); - afx_msg void OnTimer(UINT_PTR nIDEvent); - afx_msg void OnStop(); -}; diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116DbfMidTrg/9116cdma.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116DbfMidTrg/9116cdma.suo deleted file mode 100644 index b41e964..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116DbfMidTrg/9116cdma.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116DbfMidTrg/9118cdma.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116DbfMidTrg/9118cdma.suo deleted file mode 100644 index 9318437..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116DbfMidTrg/9118cdma.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116DbfMidTrg/CardIDDlg.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116DbfMidTrg/CardIDDlg.cpp deleted file mode 100644 index 56f64e0..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116DbfMidTrg/CardIDDlg.cpp +++ /dev/null @@ -1,64 +0,0 @@ -// CardIDDlg.cpp : implementation file -// -#include "stdafx.h" -#include "9116Atrg.h" -#include "9116AtrgDlg.h" -#include "CardIDDlg.h" - -// CCardIDDlg dialog - -IMPLEMENT_DYNAMIC(CCardIDDlg, CDialog) - -CCardIDDlg::CCardIDDlg(int nCardIdx, CWnd* pParent /*=NULL*/) - : CDialog(CCardIDDlg::IDD, pParent) -{ - m_nCardIdx = nCardIdx; -} - -CCardIDDlg::~CCardIDDlg() -{ -} - -void CCardIDDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); - DDX_Control(pDX, IDC_COMBO_CARDID, m_cbCardID); -} - - -BEGIN_MESSAGE_MAP(CCardIDDlg, CDialog) -// ON_CBN_SELCHANGE(IDC_COMBO_CARDID, &CCardIDDlg::OnCbnSelchangeComboCardid) -ON_BN_CLICKED(IDOK, &CCardIDDlg::OnBnClickedOk) -//ON_WM_CTLCOLOR() -END_MESSAGE_MAP() - - -// CCardIDDlg message handlers - - -void CCardIDDlg::OnBnClickedOk() -{ - // TODO: Add your control notification handler code here - -// UpdateData(TRUE); - m_nCardIdx = m_cbCardID.GetCurSel(); - - OnOK(); -} - -BOOL CCardIDDlg::OnInitDialog() -{ - CDialog::OnInitDialog(); - - // TODO: Add extra initialization here - m_cbCardID.SetCurSel( m_nCardIdx ); - - return TRUE; // return TRUE unless you set the focus to a control - // EXCEPTION: OCX Property Pages should return FALSE -} - -// the function to get the selected CardID -int CCardIDDlg::GetCardID(void) -{ - return m_nCardIdx; -} diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116DbfMidTrg/CardIDDlg.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116DbfMidTrg/CardIDDlg.h deleted file mode 100644 index d8d5f6a..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116DbfMidTrg/CardIDDlg.h +++ /dev/null @@ -1,33 +0,0 @@ -#pragma once -#include "afxwin.h" - -#include "Dask64.h" - -// CCardIDDlg dialog - -class CCardIDDlg : public CDialog -{ - DECLARE_DYNAMIC(CCardIDDlg) - -public: - CCardIDDlg(int nCardIdx, CWnd* pParent = NULL); // standard constructor - virtual ~CCardIDDlg(); - -// Dialog Data - enum { IDD = IDD_CARDID_DIALOG }; - -protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - - DECLARE_MESSAGE_MAP() -public: - virtual BOOL OnInitDialog(); - afx_msg void OnBnClickedOk(); - // the setting of CardID ComboBox - int m_nCardIdx; - // the control of CardID ComboBox - CComboBox m_cbCardID; - // the function to get the selected CardID - int GetCardID(void); - -}; diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116DbfMidTrg/ReadMe.txt b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116DbfMidTrg/ReadMe.txt deleted file mode 100644 index e84021a..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116DbfMidTrg/ReadMe.txt +++ /dev/null @@ -1,93 +0,0 @@ -================================================================================ - MICROSOFT FOUNDATION CLASS LIBRARY : 9116Atrg Project Overview -=============================================================================== - -The application wizard has created this 9116Atrg application for -you. This application not only demonstrates the basics of using the Microsoft -Foundation Classes but is also a starting point for writing your application. - -This file contains a summary of what you will find in each of the files that -make up your 9116Atrg application. - -9116Atrg.vcproj - This is the main project file for VC++ projects generated using an application wizard. - It contains information about the version of Visual C++ that generated the file, and - information about the platforms, configurations, and project features selected with the - application wizard. - -9116Atrg.h - This is the main header file for the application. It includes other - project specific headers (including Resource.h) and declares the - C9116AtrgApp application class. - -9116Atrg.cpp - This is the main application source file that contains the application - class C9116AtrgApp. - -9116Atrg.rc - This is a listing of all of the Microsoft Windows resources that the - program uses. It includes the icons, bitmaps, and cursors that are stored - in the RES subdirectory. This file can be directly edited in Microsoft - Visual C++. Your project resources are in 1033. - -res\9116Atrg.ico - This is an icon file, which is used as the application's icon. This - icon is included by the main resource file 9116Atrg.rc. - -res\My9116Atrg.rc2 - This file contains resources that are not edited by Microsoft - Visual C++. You should place all resources not editable by - the resource editor in this file. - - -///////////////////////////////////////////////////////////////////////////// - -The application wizard creates one dialog class: - -9116AtrgDlg.h, 9116AtrgDlg.cpp - the dialog - These files contain your C9116AtrgDlg class. This class defines - the behavior of your application's main dialog. The dialog's template is - in 9116Atrg.rc, which can be edited in Microsoft Visual C++. - - -///////////////////////////////////////////////////////////////////////////// - -Other Features: - -ActiveX Controls - The application includes support to use ActiveX controls. - -///////////////////////////////////////////////////////////////////////////// - -Other standard files: - -StdAfx.h, StdAfx.cpp - These files are used to build a precompiled header (PCH) file - named 9116Atrg.pch and a precompiled types file named StdAfx.obj. - -Resource.h - This is the standard header file, which defines new resource IDs. - Microsoft Visual C++ reads and updates this file. - -9116Atrg.manifest - Application manifest files are used by Windows XP to describe an applications - dependency on specific versions of Side-by-Side assemblies. The loader uses this - information to load the appropriate assembly from the assembly cache or private - from the application. The Application manifest maybe included for redistribution - as an external .manifest file that is installed in the same folder as the application - executable or it may be included in the executable in the form of a resource. -///////////////////////////////////////////////////////////////////////////// - -Other notes: - -The application wizard uses "TODO:" to indicate parts of the source code you -should add to or customize. - -If your application uses MFC in a shared DLL, you will need -to redistribute the MFC DLLs. If your application is in a language -other than the operating system's locale, you will also have to -redistribute the corresponding localized resources MFC90XXX.DLL. -For more information on both of these topics, please see the section on -redistributing Visual C++ applications in MSDN documentation. - -///////////////////////////////////////////////////////////////////////////// diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116DbfMidTrg/res/9116Atrg.ico b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116DbfMidTrg/res/9116Atrg.ico deleted file mode 100644 index d56fbcd..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116DbfMidTrg/res/9116Atrg.ico and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116DbfMidTrg/res/My9116Atrg.rc2 b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116DbfMidTrg/res/My9116Atrg.rc2 deleted file mode 100644 index 383cde2..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116DbfMidTrg/res/My9116Atrg.rc2 +++ /dev/null @@ -1,13 +0,0 @@ -// -// My9111int.RC2 - resources Microsoft Visual C++ does not edit directly -// - -#ifdef APSTUDIO_INVOKED -#error this file is not editable by Microsoft Visual C++ -#endif //APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// Add manually edited resources here... - -///////////////////////////////////////////////////////////////////////////// diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116DbfMidTrg/res/ch_set1.bmp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116DbfMidTrg/res/ch_set1.bmp deleted file mode 100644 index f2374ed..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116DbfMidTrg/res/ch_set1.bmp and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116DbfMidTrg/res/ch_set2.bmp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116DbfMidTrg/res/ch_set2.bmp deleted file mode 100644 index 32d0915..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116DbfMidTrg/res/ch_set2.bmp and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116DbfMidTrg/resource.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116DbfMidTrg/resource.h deleted file mode 100644 index 88735ad..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116DbfMidTrg/resource.h +++ /dev/null @@ -1,44 +0,0 @@ -//{{NO_DEPENDENCIES}} -// Microsoft Visual C++ generated include file. -// Used by 9116Atrg.rc -// -#define IDM_ABOUTBOX 0x0010 -#define IDD_ABOUTBOX 100 -#define IDS_ABOUTBOX 101 -#define IDD_9118DMA_DIALOG 102 -#define IDR_MAINFRAME 128 -#define IDD_CARDID_DIALOG 129 -#define IDB_BITMAP_SET1 131 -#define IDB_BITMAP_SET2 132 -#define IDC_STATIC_DRAW 1000 -#define IDC_COMBO_CARDID 1001 -#define IDC_BT_STOP 1002 -#define IDC_COMBO_CARDTYPE 1002 -#define IDC_BT_START 1003 -#define IDC_EDIT_SAMPLE_RATE 1004 -#define IDC_EDIT_SCAN_ITERVAL 1004 -#define IDC_SCROLLBAR_RATE 1005 -#define IDC_RADIO_CH0 1006 -#define IDC_RADIO_CH1 1007 -#define IDC_RADIO_CH2 1008 -#define IDC_RADIO_CH3 1009 -#define IDC_RADIO_CH4 1010 -#define IDC_RADIO_CH5 1011 -#define IDC_RADIO_CH6 1012 -#define IDC_RADIO_CH7 1013 -#define IDC_STATIC_01 1014 -#define IDC_EDIT_BUF_SIZE 1014 -#define IDC_STATIC_2 1015 -#define IDC_STATIC_TRACE_CNT 1015 -#define IDC_EDIT_TRACE_CNT 1016 - -// Next default values for new objects -// -#ifdef APSTUDIO_INVOKED -#ifndef APSTUDIO_READONLY_SYMBOLS -#define _APS_NEXT_RESOURCE_VALUE 134 -#define _APS_NEXT_COMMAND_VALUE 32771 -#define _APS_NEXT_CONTROL_VALUE 1016 -#define _APS_NEXT_SYMED_VALUE 101 -#endif -#endif diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116DbfMidTrg/stdafx.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116DbfMidTrg/stdafx.cpp deleted file mode 100644 index ef80626..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116DbfMidTrg/stdafx.cpp +++ /dev/null @@ -1,8 +0,0 @@ - -// stdafx.cpp : source file that includes just the standard includes -// 9111int.pch will be the pre-compiled header -// stdafx.obj will contain the pre-compiled type information - -#include "stdafx.h" - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116DbfMidTrg/stdafx.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116DbfMidTrg/stdafx.h deleted file mode 100644 index 12123e2..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116DbfMidTrg/stdafx.h +++ /dev/null @@ -1,60 +0,0 @@ - -// stdafx.h : include file for standard system include files, -// or project specific include files that are used frequently, -// but are changed infrequently - -#pragma once - -#ifndef _SECURE_ATL -#define _SECURE_ATL 1 -#endif - -#ifndef VC_EXTRALEAN -#define VC_EXTRALEAN // Exclude rarely-used stuff from Windows headers -#endif - -#include "targetver.h" - -#define _ATL_CSTRING_EXPLICIT_CONSTRUCTORS // some CString constructors will be explicit - -// turns off MFC's hiding of some common and often safely ignored warning messages -#define _AFX_ALL_WARNINGS - -#include // MFC core and standard components -#include // MFC extensions - - -#include // MFC Automation classes - - - -#ifndef _AFX_NO_OLE_SUPPORT -#include // MFC support for Internet Explorer 4 Common Controls -#endif -#ifndef _AFX_NO_AFXCMN_SUPPORT -#include // MFC support for Windows Common Controls -#endif // _AFX_NO_AFXCMN_SUPPORT - -#include // MFC support for ribbons and control bars - - - - - - - - - -#ifdef _UNICODE -#if defined _M_IX86 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='x86' publicKeyToken='6595b64144ccf1df' language='*'\"") -#elif defined _M_IA64 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='ia64' publicKeyToken='6595b64144ccf1df' language='*'\"") -#elif defined _M_X64 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='amd64' publicKeyToken='6595b64144ccf1df' language='*'\"") -#else -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='*' publicKeyToken='6595b64144ccf1df' language='*'\"") -#endif -#endif - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116DbfMidTrg/targetver.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116DbfMidTrg/targetver.h deleted file mode 100644 index 11730d5..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116DbfMidTrg/targetver.h +++ /dev/null @@ -1,26 +0,0 @@ - -#pragma once - -// The following macros define the minimum required platform. The minimum required platform -// is the earliest version of Windows, Internet Explorer etc. that has the necessary features to run -// your application. The macros work by enabling all features available on platform versions up to and -// including the version specified. - -// Modify the following defines if you have to target a platform prior to the ones specified below. -// Refer to MSDN for the latest info on corresponding values for different platforms. -#ifndef WINVER // Specifies that the minimum required platform is Windows Vista. -#define WINVER 0x0600 // Change this to the appropriate value to target other versions of Windows. -#endif - -#ifndef _WIN32_WINNT // Specifies that the minimum required platform is Windows Vista. -#define _WIN32_WINNT 0x0600 // Change this to the appropriate value to target other versions of Windows. -#endif - -#ifndef _WIN32_WINDOWS // Specifies that the minimum required platform is Windows 98. -#define _WIN32_WINDOWS 0x0410 // Change this to the appropriate value to target Windows Me or later. -#endif - -#ifndef _WIN32_IE // Specifies that the minimum required platform is Internet Explorer 7.0. -#define _WIN32_IE 0x0700 // Change this to the appropriate value to target other versions of IE. -#endif - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116DbfPostTrg/9111DbInt.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116DbfPostTrg/9111DbInt.suo deleted file mode 100644 index 3fde864..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116DbfPostTrg/9111DbInt.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116DbfPostTrg/9111PostTg.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116DbfPostTrg/9111PostTg.suo deleted file mode 100644 index c59a833..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116DbfPostTrg/9111PostTg.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116DbfPostTrg/9111int.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116DbfPostTrg/9111int.suo deleted file mode 100644 index aaca7d8..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116DbfPostTrg/9111int.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116DbfPostTrg/9116Ptrg.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116DbfPostTrg/9116Ptrg.cpp deleted file mode 100644 index 66b6d59..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116DbfPostTrg/9116Ptrg.cpp +++ /dev/null @@ -1,111 +0,0 @@ - -// 9116Ptrg.cpp : Defines the class behaviors for the application. -// - -#include "stdafx.h" -#include "9116Ptrg.h" -#include "9116PtrgDlg.h" -#include "CardIDDlg.h" - -#ifdef _DEBUG -#define new DEBUG_NEW -#endif - - -// C9116PtrgApp - -BEGIN_MESSAGE_MAP(C9116PtrgApp, CWinAppEx) - ON_COMMAND(ID_HELP, &CWinApp::OnHelp) -END_MESSAGE_MAP() - - -// C9116PtrgApp construction - -C9116PtrgApp::C9116PtrgApp() -{ - // TODO: add construction code here, - // Place all significant initialization in InitInstance -} - - -// The one and only C9116PtrgApp object - -C9116PtrgApp theApp; - - -// C9116PtrgApp initialization - -BOOL C9116PtrgApp::InitInstance() -{ - int nCardID = 0; - I16 hCard; - U16 wAIMode; - CString strTemp; - INT_PTR nResponse; - - // InitCommonControlsEx() is required on Windows XP if an application - // manifest specifies use of ComCtl32.dll version 6 or later to enable - // visual styles. Otherwise, any window creation will fail. - INITCOMMONCONTROLSEX InitCtrls; - InitCtrls.dwSize = sizeof(InitCtrls); - // Set this to include all the common control classes you want to use - // in your application. - InitCtrls.dwICC = ICC_WIN95_CLASSES; - InitCommonControlsEx(&InitCtrls); - - CWinAppEx::InitInstance(); - - AfxEnableControlContainer(); - - // Standard initialization - // If you are not using these features and wish to reduce the size - // of your final executable, you should remove from the following - // the specific initialization routines you do not need - // Change the registry key under which our settings are stored - // TODO: You should modify this string to be something appropriate - // such as the name of your company or organization - SetRegistryKey(_T("Local AppWizard-Generated Applications")); - - CCardIDDlg CardDlg( nCardID ); - - nResponse = CardDlg.DoModal(); - if (nResponse == IDOK) - { - nCardID = CardDlg.GetCardID(); - wAIMode = CardDlg.GetAIMode(); - - if ((hCard=Register_Card(PCI_9116, nCardID)) < 0) - { - strTemp.Format( TEXT("Register_Card Error = %d"), hCard); - AfxMessageBox( strTemp ); - } - else - { - C9116PtrgDlg dlg(hCard, wAIMode); - m_pMainWnd = &dlg; - nResponse = dlg.DoModal(); - if (nResponse == IDOK) - { - // TODO: Place code here to handle when the dialog is - // dismissed with OK - } - else if (nResponse == IDCANCEL) - { - // TODO: Place code here to handle when the dialog is - // dismissed with Cancel - } - - if (hCard >= 0) Release_Card(hCard); - } - - } - else if (nResponse == IDCANCEL) - { - // TODO: Place code here to handle when the dialog is - // dismissed with Cancel - } - - // Since the dialog has been closed, return FALSE so that we exit the - // application, rather than start the application's message pump. - return FALSE; -} diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116DbfPostTrg/9116Ptrg.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116DbfPostTrg/9116Ptrg.h deleted file mode 100644 index aa6a9fa..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116DbfPostTrg/9116Ptrg.h +++ /dev/null @@ -1,34 +0,0 @@ - -// 9116Ptrg.h : main header file for the PROJECT_NAME application -// - -#pragma once - -#ifndef __AFXWIN_H__ - #error "include 'stdafx.h' before including this file for PCH" -#endif - -#include "resource.h" // main symbols - -#define AI_MODE_DMA 0 -#define AI_MODE_INT 1 - -// C9116PtrgApp: -// See 9116Ptrg.cpp for the implementation of this class -// - -class C9116PtrgApp : public CWinAppEx -{ -public: - C9116PtrgApp(); - -// Overrides - public: - virtual BOOL InitInstance(); - -// Implementation - - DECLARE_MESSAGE_MAP() -}; - -extern C9116PtrgApp theApp; \ No newline at end of file diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116DbfPostTrg/9116Ptrg.rc b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116DbfPostTrg/9116Ptrg.rc deleted file mode 100644 index bb43cbe..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116DbfPostTrg/9116Ptrg.rc +++ /dev/null @@ -1,291 +0,0 @@ -// Microsoft Visual C++ generated resource script. -// -#include "resource.h" - -#define APSTUDIO_READONLY_SYMBOLS -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 2 resource. -// -#ifndef APSTUDIO_INVOKED -#include "targetver.h" -#endif -#include "afxres.h" - -///////////////////////////////////////////////////////////////////////////// -#undef APSTUDIO_READONLY_SYMBOLS - -///////////////////////////////////////////////////////////////////////////// -// Chinese (Taiwan) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_CHT) -#ifdef _WIN32 -LANGUAGE LANG_CHINESE, SUBLANG_CHINESE_TRADITIONAL -#pragma code_page(950) -#endif //_WIN32 - -#ifdef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// TEXTINCLUDE -// - -1 TEXTINCLUDE -BEGIN - "resource.h\0" -END - -2 TEXTINCLUDE -BEGIN - "#ifndef APSTUDIO_INVOKED\r\n" - "#include ""targetver.h""\r\n" - "#endif\r\n" - "#include ""afxres.h""\r\n" - "\0" -END - -3 TEXTINCLUDE -BEGIN - "#define _AFX_NO_SPLITTER_RESOURCES\r\n" - "#define _AFX_NO_OLE_RESOURCES\r\n" - "#define _AFX_NO_TRACKER_RESOURCES\r\n" - "#define _AFX_NO_PROPERTY_RESOURCES\r\n" - "\r\n" - "#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)\r\n" - "LANGUAGE 9, 1\r\n" - "#pragma code_page(1252)\r\n" - "#include ""res\\My9116Ptrg.rc2"" // non-Microsoft Visual C++ edited resources\r\n" - "#include ""afxres.rc"" // Standard components\r\n" - "#endif\r\n" - "\0" -END - -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// Icon -// - -// Icon with lowest ID value placed first to ensure application icon -// remains consistent on all systems. -IDR_MAINFRAME ICON "res\\9116Ptrg.ico" -#endif // Chinese (Taiwan) resources -///////////////////////////////////////////////////////////////////////////// - - -///////////////////////////////////////////////////////////////////////////// -// English (U.S.) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -#ifdef _WIN32 -LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US -#pragma code_page(1252) -#endif //_WIN32 - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog -// - -IDD_ABOUTBOX DIALOGEX 0, 0, 170, 62 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "About 9116Ptrg" -FONT 8, "MS Shell Dlg", 0, 0, 0x1 -BEGIN - ICON IDR_MAINFRAME,IDC_STATIC,14,14,21,20 - LTEXT "9116Ptrg, Version 1.0",IDC_STATIC,42,14,114,8,SS_NOPREFIX - LTEXT "Copyright (C) 2010",IDC_STATIC,42,26,114,8 - DEFPUSHBUTTON "OK",IDOK,113,41,50,14,WS_GROUP -END - -IDD_9118DMA_DIALOG DIALOGEX 0, 0, 365, 232 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU -EXSTYLE WS_EX_APPWINDOW -CAPTION "PCI-9116 Double-Buffered DMA with Post Trigger Mode" -FONT 8, "MS Shell Dlg", 0, 0, 0x1 -BEGIN - GROUPBOX "",IDC_STATIC_DRAW,45,9,248,161,NOT WS_VISIBLE - LTEXT "Range : +/- 5V",IDC_STATIC,299,129,52,15 - LTEXT "Buffer Size :",IDC_STATIC,124,183,42,9 - EDITTEXT IDC_EDIT_SCAN_ITERVAL,47,196,39,14,ES_AUTOHSCROLL | ES_READONLY - LTEXT "Sample Interval :",IDC_STATIC,47,182,60,9 - LTEXT "KHz",IDC_STATIC,99,199,15,9 - SCROLLBAR IDC_SCROLLBAR_RATE,87,196,9,11,SBS_VERT - PUSHBUTTON "Start",IDC_BT_START,230,188,55,22 - EDITTEXT IDC_EDIT_BUF_SIZE,122,196,46,14,ES_AUTOHSCROLL - PUSHBUTTON "Stop",IDC_BT_STOP,291,188,55,22 - LTEXT "Channel 0",IDC_STATIC,301,39,52,15 -END - -IDD_CARDID_DIALOG DIALOGEX 0, 0, 174, 108 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "Card ID" -FONT 8, "MS Shell Dlg", 400, 0, 0x1 -BEGIN - COMBOBOX IDC_COMBO_CARDID,82,24,71,126,CBS_DROPDOWN | WS_VSCROLL | WS_TABSTOP - LTEXT "Card Number",IDC_STATIC_01,27,25,46,12 - PUSHBUTTON "OK",IDOK,22,70,58,19 - PUSHBUTTON "CANCEL",IDCANCEL,86,70,58,19 - COMBOBOX IDC_COMBO_CARDTYPE,82,46,71,126,CBS_DROPDOWN | WS_VSCROLL | WS_TABSTOP - LTEXT "Analog Input Mode",IDC_STATIC_2,9,47,64,12 -END - - -///////////////////////////////////////////////////////////////////////////// -// -// Version -// - -VS_VERSION_INFO VERSIONINFO - FILEVERSION 1,0,0,1 - PRODUCTVERSION 1,0,0,1 - FILEFLAGSMASK 0x3fL -#ifdef _DEBUG - FILEFLAGS 0x1L -#else - FILEFLAGS 0x0L -#endif - FILEOS 0x4L - FILETYPE 0x1L - FILESUBTYPE 0x0L -BEGIN - BLOCK "StringFileInfo" - BEGIN - BLOCK "040904e4" - BEGIN - VALUE "CompanyName", "TODO: " - VALUE "FileDescription", "TODO: " - VALUE "FileVersion", "1.0.0.1" - VALUE "InternalName", "9116Ptrg.exe" - VALUE "LegalCopyright", "TODO: (c) . All rights reserved." - VALUE "OriginalFilename", "9116Ptrg.exe" - VALUE "ProductName", "TODO: " - VALUE "ProductVersion", "1.0.0.1" - END - END - BLOCK "VarFileInfo" - BEGIN - VALUE "Translation", 0x409, 1252 - END -END - - -///////////////////////////////////////////////////////////////////////////// -// -// DESIGNINFO -// - -#ifdef APSTUDIO_INVOKED -GUIDELINES DESIGNINFO -BEGIN - IDD_ABOUTBOX, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 163 - TOPMARGIN, 7 - BOTTOMMARGIN, 55 - END - - IDD_CARDID_DIALOG, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 167 - TOPMARGIN, 7 - BOTTOMMARGIN, 101 - END -END -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog Info -// - -IDD_CARDID_DIALOG DLGINIT -BEGIN - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0030, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0031, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0032, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0033, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0034, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0035, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0036, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0037, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0038, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0039, - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3031, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3131, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3231, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3331, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3431, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3531, "\000" - IDC_COMBO_CARDTYPE, 0x403, 4, 0 -0x4d44, 0x0041, - IDC_COMBO_CARDTYPE, 0x403, 4, 0 -0x4e49, 0x0054, - 0 -END - - -///////////////////////////////////////////////////////////////////////////// -// -// Bitmap -// - -IDB_BITMAP_SET1 BITMAP "res\\ch_set1.bmp" -IDB_BITMAP_SET2 BITMAP "res\\ch_set2.bmp" - -///////////////////////////////////////////////////////////////////////////// -// -// String Table -// - -STRINGTABLE -BEGIN - IDS_ABOUTBOX "&About 9116Ptrg..." -END - -#endif // English (U.S.) resources -///////////////////////////////////////////////////////////////////////////// - - - -#ifndef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 3 resource. -// -#define _AFX_NO_SPLITTER_RESOURCES -#define _AFX_NO_OLE_RESOURCES -#define _AFX_NO_TRACKER_RESOURCES -#define _AFX_NO_PROPERTY_RESOURCES - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -LANGUAGE 9, 1 -#pragma code_page(1252) -#include "res\My9116Ptrg.rc2" // non-Microsoft Visual C++ edited resources -#include "afxres.rc" // Standard components -#endif - -///////////////////////////////////////////////////////////////////////////// -#endif // not APSTUDIO_INVOKED - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116DbfPostTrg/9116Ptrg.sln b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116DbfPostTrg/9116Ptrg.sln deleted file mode 100644 index 2a57766..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116DbfPostTrg/9116Ptrg.sln +++ /dev/null @@ -1,20 +0,0 @@ - -Microsoft Visual Studio Solution File, Format Version 10.00 -# Visual Studio 2008 -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "9116Ptrg", "9116Ptrg.vcproj", "{702163FB-B6DF-4EF5-9491-FC54D71509BC}" -EndProject -Global - GlobalSection(SolutionConfigurationPlatforms) = preSolution - Debug|x64 = Debug|x64 - Release|x64 = Release|x64 - EndGlobalSection - GlobalSection(ProjectConfigurationPlatforms) = postSolution - {702163FB-B6DF-4EF5-9491-FC54D71509BC}.Debug|x64.ActiveCfg = Debug|x64 - {702163FB-B6DF-4EF5-9491-FC54D71509BC}.Debug|x64.Build.0 = Debug|x64 - {702163FB-B6DF-4EF5-9491-FC54D71509BC}.Release|x64.ActiveCfg = Release|x64 - {702163FB-B6DF-4EF5-9491-FC54D71509BC}.Release|x64.Build.0 = Release|x64 - EndGlobalSection - GlobalSection(SolutionProperties) = preSolution - HideSolutionNode = FALSE - EndGlobalSection -EndGlobal diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116DbfPostTrg/9116Ptrg.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116DbfPostTrg/9116Ptrg.suo deleted file mode 100644 index dc1c13c..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116DbfPostTrg/9116Ptrg.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116DbfPostTrg/9116Ptrg.vcproj b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116DbfPostTrg/9116Ptrg.vcproj deleted file mode 100644 index 7d1290d..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116DbfPostTrg/9116Ptrg.vcproj +++ /dev/null @@ -1,294 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116DbfPostTrg/9116PtrgDlg.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116DbfPostTrg/9116PtrgDlg.cpp deleted file mode 100644 index a96f08a..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116DbfPostTrg/9116PtrgDlg.cpp +++ /dev/null @@ -1,497 +0,0 @@ - -// 9116PtrgDlg.cpp : implementation file -// - -#include "stdafx.h" -#include "9116Ptrg.h" -#include "9116PtrgDlg.h" - -#ifdef _DEBUG -#define new DEBUG_NEW -#endif - -CRect plotRect; - -// CAboutDlg dialog used for App About - -class CAboutDlg : public CDialog -{ -public: - CAboutDlg(); - -// Dialog Data - enum { IDD = IDD_ABOUTBOX }; - - protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - -// Implementation -protected: - DECLARE_MESSAGE_MAP() -}; - -CAboutDlg::CAboutDlg() : CDialog(CAboutDlg::IDD) -{ -} - -void CAboutDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); -} - -BEGIN_MESSAGE_MAP(CAboutDlg, CDialog) -END_MESSAGE_MAP() - - -// C9116PtrgDlg dialog - - - - -C9116PtrgDlg::C9116PtrgDlg(I16 hCard, U16 wAIMode, CWnd* pParent /*=NULL*/) - : CDialog(C9116PtrgDlg::IDD, pParent) -{ - m_hIcon = AfxGetApp()->LoadIcon(IDR_MAINFRAME); - - n_PlotWidth = n_PlotHeight = -1; - OnBrush = OffBrush = NULL; - - min_val = 0x00; - max_val = 0xFFFF; - - m_dwSampIntrv = 480; - - m_hCard = hCard; - m_wAIMode = wAIMode; - - m_wScanChans = 0; - m_nTimer = -1; - m_hMem=NULL; - - m_wRange = AD_B_5_V; - m_dwReadCount = 4096; - m_wPostCount = 512; - - -} - -void C9116PtrgDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); -} - -BEGIN_MESSAGE_MAP(C9116PtrgDlg, CDialog) - ON_WM_SYSCOMMAND() - ON_WM_PAINT() - ON_WM_QUERYDRAGICON() - //}}AFX_MSG_MAP - ON_WM_DESTROY() - ON_WM_VSCROLL() - ON_BN_CLICKED(IDC_BT_START, &C9116PtrgDlg::OnStart) - ON_WM_TIMER() - ON_BN_CLICKED(IDC_BT_STOP, &C9116PtrgDlg::OnStop) -END_MESSAGE_MAP() - - -// C9116PtrgDlg message handlers - -BOOL C9116PtrgDlg::OnInitDialog() -{ - CDialog::OnInitDialog(); - - // Add "About..." menu item to system menu. - - // IDM_ABOUTBOX must be in the system command range. - ASSERT((IDM_ABOUTBOX & 0xFFF0) == IDM_ABOUTBOX); - ASSERT(IDM_ABOUTBOX < 0xF000); - - CMenu* pSysMenu = GetSystemMenu(FALSE); - if (pSysMenu != NULL) - { - BOOL bNameValid; - CString strAboutMenu; - bNameValid = strAboutMenu.LoadString(IDS_ABOUTBOX); - ASSERT(bNameValid); - if (!strAboutMenu.IsEmpty()) - { - pSysMenu->AppendMenu(MF_SEPARATOR); - pSysMenu->AppendMenu(MF_STRING, IDM_ABOUTBOX, strAboutMenu); - } - } - - // Set the icon for this dialog. The framework does this automatically - // when the application's main window is not a dialog - SetIcon(m_hIcon, TRUE); // Set big icon - SetIcon(m_hIcon, FALSE); // Set small icon - - // TODO: Add extra initialization here - x_divider = 5; y_divider = 4; - - OnBrush = CreateSolidBrush( RGB(255,0,0) ); - OffBrush = CreateSolidBrush( RGB(125,0,0) ); - - RedPen.CreatePen( PS_SOLID, 1, RGB(255,0,0)); - - - if( n_PlotWidth == -1 && n_PlotHeight == -1 ) - { - ((CWnd*)GetDlgItem(IDC_STATIC_DRAW))->GetWindowRect(&plotRect); - ScreenToClient(&plotRect); - - n_PlotWidth = min( plotRect.Width(), 512); - n_PlotHeight = plotRect.Height() - 10; - } - - // set the default SampleRate - SetDlgItemInt( IDC_EDIT_SAMPLE_RATE, (UINT)(m_dwSampIntrv) ); - SetDlgItemInt( IDC_EDIT_BUF_SIZE, (UINT)(m_dwReadCount) ); - - max_range = 5.0; - min_range = -5.0; - - return TRUE; // return TRUE unless you set the focus to a control -} - -void C9116PtrgDlg::OnSysCommand(UINT nID, LPARAM lParam) -{ - if ((nID & 0xFFF0) == IDM_ABOUTBOX) - { - CAboutDlg dlgAbout; - dlgAbout.DoModal(); - } - else - { - CDialog::OnSysCommand(nID, lParam); - } -} - -// If you add a minimize button to your dialog, you will need the code below -// to draw the icon. For MFC applications using the document/view model, -// this is automatically done for you by the framework. - -void C9116PtrgDlg::OnPaint() -{ - if (IsIconic()) - { - CPaintDC dc(this); // device context for painting - - SendMessage(WM_ICONERASEBKGND, reinterpret_cast(dc.GetSafeHdc()), 0); - - // Center icon in client rectangle - int cxIcon = GetSystemMetrics(SM_CXICON); - int cyIcon = GetSystemMetrics(SM_CYICON); - CRect rect; - GetClientRect(&rect); - int x = (rect.Width() - cxIcon + 1) / 2; - int y = (rect.Height() - cyIcon + 1) / 2; - - // Draw the icon - dc.DrawIcon(x, y, m_hIcon); - } - else - { - redraw_display_area(); - CDialog::OnPaint(); - } -} - -// The system calls this function to obtain the cursor to display while the user drags -// the minimized window. -HCURSOR C9116PtrgDlg::OnQueryDragIcon() -{ - return static_cast(m_hIcon); -} - - -void C9116PtrgDlg::redraw_display_area(void) -{ - CPen *oldPen; - - int oldMode; - COLORREF oldColor; - - CString y_lable; - - CPen minor_tick( PS_SOLID,1,RGB(132,130,132) ); -// CPen y_grid( PS_SOLID,1,RGB(206,203,132) ); - - int i, x_intv, y_intv; -// long total_sec; - - CClientDC dc_plot(this); - - // draw the base-line for x-y axises - oldPen = (CPen *)dc_plot.SelectStockObject(BLACK_PEN); - - // redraw the background - dc_plot.FillSolidRect( plotRect, RGB(0,0,0) ); - - // Re-Draw the AREA for Y-Lable - { - CBrush DIALOG_BRUSH; - CRect redraw_area, full_client; - - GetClientRect(&full_client); - ScreenToClient(&full_client); - - redraw_area.left = full_client.left; - redraw_area.top = plotRect.top - 5; - redraw_area.right = plotRect.left - 3; - redraw_area.bottom = plotRect.bottom + 10; - - DIALOG_BRUSH.CreateSysColorBrush( COLOR_3DFACE ); - - dc_plot.FillRect( redraw_area, &DIALOG_BRUSH ); - - DIALOG_BRUSH.DeleteObject(); - } - - dc_plot.MoveTo( plotRect.left - 3, plotRect.top ); - dc_plot.LineTo( plotRect.left - 3, plotRect.bottom ); - - // calculate the interval for tick/grid - y_intv = (plotRect.Height() - 10) /y_divider; - x_intv = plotRect.Width()/x_divider; - - - // set the color for tick - oldColor = dc_plot.SetTextColor( RGB(0,0,0) ); - oldMode = dc_plot.SetBkMode( TRANSPARENT ); - - for( i=0; i<= y_divider; i++ ) - { - CString tick_str; - CRect tmp_rect, tick_rect; - - // draw the tick for y-axis - dc_plot.MoveTo( plotRect.left -12, plotRect.bottom -5 - (i*y_intv) ); - dc_plot.LineTo( plotRect.left -3, plotRect.bottom -5 - (i*y_intv) ); - - tick_str.Format( _T("%.1f"), ( ((max_range-min_range)/y_divider) * i)+min_range ); - - // calculate the rectangle for text - dc_plot.DrawText( tick_str, &tmp_rect, DT_CALCRECT|DT_SINGLELINE ); - tick_rect.right = plotRect.left -14; - tick_rect.left = tick_rect.right - tmp_rect.Width(); - tick_rect.top = plotRect.bottom -5 - (i*y_intv) - tmp_rect.Height()/2; - tick_rect.bottom = tick_rect.top + tmp_rect.Height(); - - // draw the text - dc_plot.DrawText( tick_str, &tick_rect, DT_SINGLELINE|DT_RIGHT ); - - } - - // draw the minor_tick for Y axises - dc_plot.SelectObject(&minor_tick); - for( i=0; i< y_divider; i++ ) - { - dc_plot.MoveTo( plotRect.left -9, plotRect.bottom -5 - (i*y_intv) - y_intv/2 ); - dc_plot.LineTo( plotRect.left -4, plotRect.bottom -5 - (i*y_intv) - y_intv/2 ); - } - - dc_plot.SetTextColor( oldColor ); - dc_plot.SetBkMode( oldMode ); - dc_plot.SelectObject( oldPen ); -} - -void C9116PtrgDlg::OnDestroy() -{ - CDialog::OnDestroy(); - - // TODO: Add your message handler code here - if( m_nTimer != -1 ) - { - KillTimer( m_nTimer ); - m_nTimer = -1; - } - - if (m_hMem != NULL) - { - GlobalUnfix(m_hMem); - GlobalUnlock(m_hMem); - GlobalFree(m_hMem); - - m_hMem = NULL; - } - - if( OnBrush != NULL ) - ::DeleteObject( OnBrush ); - - if( OffBrush != NULL ) - ::DeleteObject( OffBrush ); - - RedPen.DeleteObject(); - -} - -void C9116PtrgDlg::OnVScroll(UINT nSBCode, UINT nPos, CScrollBar* pScrollBar) -{ - // TODO: Add your message handler code here and/or call default - switch ( nSBCode ) - { - case SB_LINEUP : - m_dwSampIntrv += 240; - if (m_dwSampIntrv > 24000 ) m_dwSampIntrv = 24000; - break; - case SB_LINEDOWN: - m_dwSampIntrv -= 240; - if (m_dwSampIntrv < 240 ) m_dwSampIntrv = 240; - break; - } - - SetDlgItemInt( IDC_EDIT_SCAN_ITERVAL, (UINT)(m_dwSampIntrv) ); - - - CDialog::OnVScroll(nSBCode, nPos, pScrollBar); -} - - -void C9116PtrgDlg::OnStop() -{ - // TODO: Add your control notification handler code here - U32 count; - - AI_AsyncClear(m_hCard, &count); - - if( m_nTimer != -1 ) - { - KillTimer( m_nTimer ); - m_nTimer = -1; - } - - GetDlgItem( IDC_BT_START )->EnableWindow(TRUE); -} - -void C9116PtrgDlg::OnStart() -{ - // TODO: Add your control notification handler code here - DWORD mem_size; - CString strTemp; - I16 err; - - GetDlgItem( IDC_BT_START )->EnableWindow(FALSE); - - m_dwReadCount = GetDlgItemInt(IDC_EDIT_BUF_SIZE); - - if( (m_wAIMode == AI_MODE_INT) && (m_dwReadCount%1024)) - { - AfxMessageBox( TEXT("Counts must be times of 1024 for DbfINT"), MB_OK); - return; - } - - if (m_hMem != NULL) - { - GlobalUnfix(m_hMem); - GlobalUnlock(m_hMem); - GlobalFree(m_hMem); - - m_hMem = NULL; - } - - // allocate a memory for user DMA buffer - mem_size = m_dwReadCount * sizeof(I16); - m_hMem = GlobalAlloc(GMEM_ZEROINIT, mem_size); - m_pAIBuf = (U16*) GlobalLock(m_hMem); - if (m_pAIBuf == NULL ) - { - AfxMessageBox( TEXT("Memory allocation failed"), MB_OK); - return; - } - - GlobalFix(m_hMem); - - m_oldY = -1; - m_oldX = -1; - - if( m_wAIMode == AI_MODE_DMA ) - err = AI_9116_Config(m_hCard, 0, P9116_AI_DMA|P9116_TRGMOD_POST, 0, 0, 0); - else - err = AI_9116_Config(m_hCard, 0, P9116_AI_INT|P9116_TRGMOD_POST, 0, 0, 0); - - err = AI_9116_CounterInterval(m_hCard, m_dwSampIntrv * (m_wScanChans+1), m_dwSampIntrv); - if (err!=0) - { - strTemp.Format( TEXT("AI_9116_CounterInterval error=%d"), err); - AfxMessageBox( strTemp ); - } - - err=AI_AsyncDblBufferMode(m_hCard, 1); // single-buffer mode - if (err!=0) - { - strTemp.Format( TEXT("AI_DblBufferMode error=%d"), err); - AfxMessageBox( strTemp ); - } - - err=AI_ContReadChannel (m_hCard, m_wScanChans, m_wRange, (U16*)m_pAIBuf, m_dwReadCount, (F64)1, ASYNCH_OP); - if (err!=0) - { - strTemp.Format( TEXT("AI_ContReadChannel error=%d"), err); - AfxMessageBox( strTemp ); - } - - m_nTimer = SetTimer( 1, 20, NULL ); - -} - -int C9116PtrgDlg::display_buffer_data(U16* pBuf) -{ - CClientDC dc_plot(this); - int nDraw_Origin_Y; - - int newY = -1; - int newX = -1; - U32 index; - I16 ai_data; - U32 dwDataSize = (m_dwReadCount/2); - - // redraw the background - dc_plot.FillSolidRect( plotRect, RGB(0,0,0) ); - - dc_plot.SelectObject(&RedPen); - nDraw_Origin_Y = ( plotRect.bottom - 5 ) - n_PlotHeight/2; - - dc_plot.SelectObject(&RedPen); - - for( index=0; index> 16) ); // ( n_PlotHeight * ai_data / 65536) ); // ( (n_PlotHeight/2) * ai_data/32768 ) ); - - newX = (int)( index*n_PlotWidth/dwDataSize + plotRect.left ); - - if ( index == 0 ) - { - dc_plot.MoveTo( newX, newY ); - } - else - { - dc_plot.MoveTo( m_oldX, m_oldY ); - dc_plot.LineTo( newX, newY ); - } - - m_oldX = newX; - m_oldY = newY; - } - - return 0; -} - -void C9116PtrgDlg::OnTimer(UINT_PTR nIDEvent) -{ - // TODO: Add your message handler code here and/or call default - BOOLEAN HalfReady; - BOOLEAN fstop; - - AI_AsyncDblBufferHalfReady(m_hCard, &HalfReady, &fstop); - - if( HalfReady ) // half-buffer ready - { - AI_AsyncDblBufferTransfer(m_hCard, m_pAIBuf); - display_buffer_data( m_pAIBuf ); - } - - CDialog::OnTimer(nIDEvent); -} - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116DbfPostTrg/9116PtrgDlg.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116DbfPostTrg/9116PtrgDlg.h deleted file mode 100644 index eb771b3..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116DbfPostTrg/9116PtrgDlg.h +++ /dev/null @@ -1,66 +0,0 @@ - -// 9116PtrgDlg.h : header file -#pragma once -#include "afxcmn.h" -#include "afxwin.h" - -#include "Dask64.h" - -// C9116PtrgDlg dialog -class C9116PtrgDlg : public CDialog -{ -// Construction -public: - C9116PtrgDlg(I16 hCard, U16 wAIMode, CWnd* pParent = NULL); // standard constructor - -// Dialog Data - enum { IDD = IDD_9118DMA_DIALOG }; - - protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - - -// Implementation -protected: - HICON m_hIcon; - UINT_PTR m_nTimer; - I16 m_hCard; - U16 m_wAIMode; - U32 m_dwSampIntrv; - U16 m_wScanChans; - HANDLE m_hMem; - U16 *m_pAIBuf; - U16 m_wRange; - int m_oldY; - int m_oldX; - U32 m_dwReadCount; - U16 m_wPostCount; - - // Generated message map functions - virtual BOOL OnInitDialog(); - afx_msg void OnSysCommand(UINT nID, LPARAM lParam); - afx_msg void OnPaint(); - afx_msg HCURSOR OnQueryDragIcon(); - DECLARE_MESSAGE_MAP() - -public: - WORD max_val; - WORD min_val; - double max_range; - double min_range; - int n_PlotWidth; - int n_PlotHeight; - int y_divider; - int x_divider; - int m_DisplayScale; - HBRUSH OnBrush; - HBRUSH OffBrush; - CPen RedPen; - void redraw_display_area(void); - afx_msg void OnDestroy(); - afx_msg void OnVScroll(UINT nSBCode, UINT nPos, CScrollBar* pScrollBar); - afx_msg void OnStart(); - int display_buffer_data(U16* pBuf); - afx_msg void OnTimer(UINT_PTR nIDEvent); - afx_msg void OnStop(); -}; diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116DbfPostTrg/9116cdma.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116DbfPostTrg/9116cdma.suo deleted file mode 100644 index b41e964..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116DbfPostTrg/9116cdma.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116DbfPostTrg/9118cdma.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116DbfPostTrg/9118cdma.suo deleted file mode 100644 index 9318437..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116DbfPostTrg/9118cdma.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116DbfPostTrg/CardIDDlg.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116DbfPostTrg/CardIDDlg.cpp deleted file mode 100644 index 9cba7dd..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116DbfPostTrg/CardIDDlg.cpp +++ /dev/null @@ -1,75 +0,0 @@ -// CardIDDlg.cpp : implementation file -// -#include "stdafx.h" -#include "9116Ptrg.h" -#include "9116PtrgDlg.h" -#include "CardIDDlg.h" - -// CCardIDDlg dialog - -IMPLEMENT_DYNAMIC(CCardIDDlg, CDialog) - -CCardIDDlg::CCardIDDlg(int nCardIdx, CWnd* pParent /*=NULL*/) - : CDialog(CCardIDDlg::IDD, pParent) -{ - m_nCardIdx = nCardIdx; -} - -CCardIDDlg::~CCardIDDlg() -{ -} - -void CCardIDDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); - DDX_Control(pDX, IDC_COMBO_CARDID, m_cbCardID); - DDX_Control(pDX, IDC_COMBO_CARDTYPE, m_cbAIMode); -} - - -BEGIN_MESSAGE_MAP(CCardIDDlg, CDialog) -// ON_CBN_SELCHANGE(IDC_COMBO_CARDID, &CCardIDDlg::OnCbnSelchangeComboCardid) -ON_BN_CLICKED(IDOK, &CCardIDDlg::OnBnClickedOk) -//ON_WM_CTLCOLOR() -END_MESSAGE_MAP() - - -// CCardIDDlg message handlers - - -void CCardIDDlg::OnBnClickedOk() -{ - // TODO: Add your control notification handler code here - -// UpdateData(TRUE); - m_nCardIdx = m_cbCardID.GetCurSel(); - m_wAIMode = AI_MODE_DMA + m_cbAIMode.GetCurSel(); - - OnOK(); -} - -BOOL CCardIDDlg::OnInitDialog() -{ - CDialog::OnInitDialog(); - - // TODO: Add extra initialization here - m_cbCardID.SetCurSel( m_nCardIdx ); - - m_cbAIMode.SetCurSel( 0 ); - m_wAIMode = AI_MODE_DMA; - - return TRUE; // return TRUE unless you set the focus to a control - // EXCEPTION: OCX Property Pages should return FALSE -} - -// the function to get the selected CardID -int CCardIDDlg::GetCardID(void) -{ - return m_nCardIdx; -} - - -U16 CCardIDDlg::GetAIMode(void) -{ - return m_wAIMode; -} \ No newline at end of file diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116DbfPostTrg/CardIDDlg.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116DbfPostTrg/CardIDDlg.h deleted file mode 100644 index cb0643a..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116DbfPostTrg/CardIDDlg.h +++ /dev/null @@ -1,35 +0,0 @@ -#pragma once -#include "afxwin.h" - -#include "Dask64.h" - -// CCardIDDlg dialog - -class CCardIDDlg : public CDialog -{ - DECLARE_DYNAMIC(CCardIDDlg) - -public: - CCardIDDlg(int nCardIdx, CWnd* pParent = NULL); // standard constructor - virtual ~CCardIDDlg(); - -// Dialog Data - enum { IDD = IDD_CARDID_DIALOG }; - -protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - - DECLARE_MESSAGE_MAP() -public: - virtual BOOL OnInitDialog(); - afx_msg void OnBnClickedOk(); - // the setting of CardID ComboBox - int m_nCardIdx; - U16 m_wAIMode; - // the control of CardID ComboBox - CComboBox m_cbCardID; - CComboBox m_cbAIMode; - // the function to get the selected CardID - int GetCardID(void); - U16 GetAIMode(void); -}; diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116DbfPostTrg/ReadMe.txt b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116DbfPostTrg/ReadMe.txt deleted file mode 100644 index 67fff48..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116DbfPostTrg/ReadMe.txt +++ /dev/null @@ -1,93 +0,0 @@ -================================================================================ - MICROSOFT FOUNDATION CLASS LIBRARY : 9116Ptrg Project Overview -=============================================================================== - -The application wizard has created this 9116Ptrg application for -you. This application not only demonstrates the basics of using the Microsoft -Foundation Classes but is also a starting point for writing your application. - -This file contains a summary of what you will find in each of the files that -make up your 9116Ptrg application. - -9116Ptrg.vcproj - This is the main project file for VC++ projects generated using an application wizard. - It contains information about the version of Visual C++ that generated the file, and - information about the platforms, configurations, and project features selected with the - application wizard. - -9116Ptrg.h - This is the main header file for the application. It includes other - project specific headers (including Resource.h) and declares the - C9116PtrgApp application class. - -9116Ptrg.cpp - This is the main application source file that contains the application - class C9116PtrgApp. - -9116Ptrg.rc - This is a listing of all of the Microsoft Windows resources that the - program uses. It includes the icons, bitmaps, and cursors that are stored - in the RES subdirectory. This file can be directly edited in Microsoft - Visual C++. Your project resources are in 1033. - -res\9116Ptrg.ico - This is an icon file, which is used as the application's icon. This - icon is included by the main resource file 9116Ptrg.rc. - -res\My9116Ptrg.rc2 - This file contains resources that are not edited by Microsoft - Visual C++. You should place all resources not editable by - the resource editor in this file. - - -///////////////////////////////////////////////////////////////////////////// - -The application wizard creates one dialog class: - -9116PtrgDlg.h, 9116PtrgDlg.cpp - the dialog - These files contain your C9116PtrgDlg class. This class defines - the behavior of your application's main dialog. The dialog's template is - in 9116Ptrg.rc, which can be edited in Microsoft Visual C++. - - -///////////////////////////////////////////////////////////////////////////// - -Other Features: - -ActiveX Controls - The application includes support to use ActiveX controls. - -///////////////////////////////////////////////////////////////////////////// - -Other standard files: - -StdAfx.h, StdAfx.cpp - These files are used to build a precompiled header (PCH) file - named 9116Ptrg.pch and a precompiled types file named StdAfx.obj. - -Resource.h - This is the standard header file, which defines new resource IDs. - Microsoft Visual C++ reads and updates this file. - -9116Ptrg.manifest - Application manifest files are used by Windows XP to describe an applications - dependency on specific versions of Side-by-Side assemblies. The loader uses this - information to load the appropriate assembly from the assembly cache or private - from the application. The Application manifest maybe included for redistribution - as an external .manifest file that is installed in the same folder as the application - executable or it may be included in the executable in the form of a resource. -///////////////////////////////////////////////////////////////////////////// - -Other notes: - -The application wizard uses "TODO:" to indicate parts of the source code you -should add to or customize. - -If your application uses MFC in a shared DLL, you will need -to redistribute the MFC DLLs. If your application is in a language -other than the operating system's locale, you will also have to -redistribute the corresponding localized resources MFC90XXX.DLL. -For more information on both of these topics, please see the section on -redistributing Visual C++ applications in MSDN documentation. - -///////////////////////////////////////////////////////////////////////////// diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116DbfPostTrg/res/9116Ptrg.ico b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116DbfPostTrg/res/9116Ptrg.ico deleted file mode 100644 index d56fbcd..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116DbfPostTrg/res/9116Ptrg.ico and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116DbfPostTrg/res/My9116Ptrg.rc2 b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116DbfPostTrg/res/My9116Ptrg.rc2 deleted file mode 100644 index 383cde2..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116DbfPostTrg/res/My9116Ptrg.rc2 +++ /dev/null @@ -1,13 +0,0 @@ -// -// My9111int.RC2 - resources Microsoft Visual C++ does not edit directly -// - -#ifdef APSTUDIO_INVOKED -#error this file is not editable by Microsoft Visual C++ -#endif //APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// Add manually edited resources here... - -///////////////////////////////////////////////////////////////////////////// diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116DbfPostTrg/res/ch_set1.bmp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116DbfPostTrg/res/ch_set1.bmp deleted file mode 100644 index f2374ed..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116DbfPostTrg/res/ch_set1.bmp and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116DbfPostTrg/res/ch_set2.bmp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116DbfPostTrg/res/ch_set2.bmp deleted file mode 100644 index 32d0915..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116DbfPostTrg/res/ch_set2.bmp and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116DbfPostTrg/resource.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116DbfPostTrg/resource.h deleted file mode 100644 index 849f6c2..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116DbfPostTrg/resource.h +++ /dev/null @@ -1,34 +0,0 @@ -//{{NO_DEPENDENCIES}} -// Microsoft Visual C++ generated include file. -// Used by 9116Ptrg.rc -// -#define IDM_ABOUTBOX 0x0010 -#define IDD_ABOUTBOX 100 -#define IDS_ABOUTBOX 101 -#define IDD_9118DMA_DIALOG 102 -#define IDR_MAINFRAME 128 -#define IDD_CARDID_DIALOG 129 -#define IDB_BITMAP_SET1 131 -#define IDB_BITMAP_SET2 132 -#define IDC_STATIC_DRAW 1000 -#define IDC_COMBO_CARDID 1001 -#define IDC_BT_STOP 1002 -#define IDC_COMBO_CARDTYPE 1002 -#define IDC_BT_START 1003 -#define IDC_EDIT_SAMPLE_RATE 1004 -#define IDC_EDIT_SCAN_ITERVAL 1004 -#define IDC_SCROLLBAR_RATE 1005 -#define IDC_STATIC_01 1006 -#define IDC_EDIT_BUF_SIZE 1007 -#define IDC_STATIC_2 1008 - -// Next default values for new objects -// -#ifdef APSTUDIO_INVOKED -#ifndef APSTUDIO_READONLY_SYMBOLS -#define _APS_NEXT_RESOURCE_VALUE 134 -#define _APS_NEXT_COMMAND_VALUE 32771 -#define _APS_NEXT_CONTROL_VALUE 1009 -#define _APS_NEXT_SYMED_VALUE 101 -#endif -#endif diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116DbfPostTrg/stdafx.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116DbfPostTrg/stdafx.cpp deleted file mode 100644 index ef80626..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116DbfPostTrg/stdafx.cpp +++ /dev/null @@ -1,8 +0,0 @@ - -// stdafx.cpp : source file that includes just the standard includes -// 9111int.pch will be the pre-compiled header -// stdafx.obj will contain the pre-compiled type information - -#include "stdafx.h" - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116DbfPostTrg/stdafx.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116DbfPostTrg/stdafx.h deleted file mode 100644 index 12123e2..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116DbfPostTrg/stdafx.h +++ /dev/null @@ -1,60 +0,0 @@ - -// stdafx.h : include file for standard system include files, -// or project specific include files that are used frequently, -// but are changed infrequently - -#pragma once - -#ifndef _SECURE_ATL -#define _SECURE_ATL 1 -#endif - -#ifndef VC_EXTRALEAN -#define VC_EXTRALEAN // Exclude rarely-used stuff from Windows headers -#endif - -#include "targetver.h" - -#define _ATL_CSTRING_EXPLICIT_CONSTRUCTORS // some CString constructors will be explicit - -// turns off MFC's hiding of some common and often safely ignored warning messages -#define _AFX_ALL_WARNINGS - -#include // MFC core and standard components -#include // MFC extensions - - -#include // MFC Automation classes - - - -#ifndef _AFX_NO_OLE_SUPPORT -#include // MFC support for Internet Explorer 4 Common Controls -#endif -#ifndef _AFX_NO_AFXCMN_SUPPORT -#include // MFC support for Windows Common Controls -#endif // _AFX_NO_AFXCMN_SUPPORT - -#include // MFC support for ribbons and control bars - - - - - - - - - -#ifdef _UNICODE -#if defined _M_IX86 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='x86' publicKeyToken='6595b64144ccf1df' language='*'\"") -#elif defined _M_IA64 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='ia64' publicKeyToken='6595b64144ccf1df' language='*'\"") -#elif defined _M_X64 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='amd64' publicKeyToken='6595b64144ccf1df' language='*'\"") -#else -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='*' publicKeyToken='6595b64144ccf1df' language='*'\"") -#endif -#endif - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116DbfPostTrg/targetver.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116DbfPostTrg/targetver.h deleted file mode 100644 index 11730d5..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116DbfPostTrg/targetver.h +++ /dev/null @@ -1,26 +0,0 @@ - -#pragma once - -// The following macros define the minimum required platform. The minimum required platform -// is the earliest version of Windows, Internet Explorer etc. that has the necessary features to run -// your application. The macros work by enabling all features available on platform versions up to and -// including the version specified. - -// Modify the following defines if you have to target a platform prior to the ones specified below. -// Refer to MSDN for the latest info on corresponding values for different platforms. -#ifndef WINVER // Specifies that the minimum required platform is Windows Vista. -#define WINVER 0x0600 // Change this to the appropriate value to target other versions of Windows. -#endif - -#ifndef _WIN32_WINNT // Specifies that the minimum required platform is Windows Vista. -#define _WIN32_WINNT 0x0600 // Change this to the appropriate value to target other versions of Windows. -#endif - -#ifndef _WIN32_WINDOWS // Specifies that the minimum required platform is Windows 98. -#define _WIN32_WINDOWS 0x0410 // Change this to the appropriate value to target Windows Me or later. -#endif - -#ifndef _WIN32_IE // Specifies that the minimum required platform is Internet Explorer 7.0. -#define _WIN32_IE 0x0700 // Change this to the appropriate value to target other versions of IE. -#endif - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116DlyTrg/9111int.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116DlyTrg/9111int.suo deleted file mode 100644 index 8a4412a..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116DlyTrg/9111int.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116DlyTrg/9116SDTg.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116DlyTrg/9116SDTg.cpp deleted file mode 100644 index 495d688..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116DlyTrg/9116SDTg.cpp +++ /dev/null @@ -1,113 +0,0 @@ - -// 9116SDTg.cpp : Defines the class behaviors for the application. -// - -#include "stdafx.h" -#include "9116SDTg.h" -#include "9116SDTgDlg.h" -#include "CardIDDlg.h" - -#ifdef _DEBUG -#define new DEBUG_NEW -#endif - - -// C9116SDTgApp - -BEGIN_MESSAGE_MAP(C9116SDTgApp, CWinAppEx) - ON_COMMAND(ID_HELP, &CWinApp::OnHelp) -END_MESSAGE_MAP() - - -// C9116SDTgApp construction - -C9116SDTgApp::C9116SDTgApp() -{ - // TODO: add construction code here, - // Place all significant initialization in InitInstance -} - - -// The one and only C9116SDTgApp object - -C9116SDTgApp theApp; - - -// C9116SDTgApp initialization - -BOOL C9116SDTgApp::InitInstance() -{ - int nCardID = 0; - I16 hCard; - U16 wAIMode; - U16 wDelayMode; - CString strTemp; - INT_PTR nResponse; - - // InitCommonControlsEx() is required on Windows XP if an application - // manifest specifies use of ComCtl32.dll version 6 or later to enable - // visual styles. Otherwise, any window creation will fail. - INITCOMMONCONTROLSEX InitCtrls; - InitCtrls.dwSize = sizeof(InitCtrls); - // Set this to include all the common control classes you want to use - // in your application. - InitCtrls.dwICC = ICC_WIN95_CLASSES; - InitCommonControlsEx(&InitCtrls); - - CWinAppEx::InitInstance(); - - AfxEnableControlContainer(); - - // Standard initialization - // If you are not using these features and wish to reduce the size - // of your final executable, you should remove from the following - // the specific initialization routines you do not need - // Change the registry key under which our settings are stored - // TODO: You should modify this string to be something appropriate - // such as the name of your company or organization - SetRegistryKey(_T("Local AppWizard-Generated Applications")); - - CCardIDDlg CardDlg( nCardID ); - - nResponse = CardDlg.DoModal(); - if (nResponse == IDOK) - { - nCardID = CardDlg.GetCardID(); - wAIMode = CardDlg.GetAIMode(); - wDelayMode = CardDlg.GetDelayMode(); - - if ((hCard=Register_Card(PCI_9116, nCardID)) < 0) - { - strTemp.Format( TEXT("Register_Card Error = %d"), hCard); - AfxMessageBox( strTemp ); - } - else - { - C9116SDTgDlg dlg(hCard, wAIMode, wDelayMode); - m_pMainWnd = &dlg; - nResponse = dlg.DoModal(); - if (nResponse == IDOK) - { - // TODO: Place code here to handle when the dialog is - // dismissed with OK - } - else if (nResponse == IDCANCEL) - { - // TODO: Place code here to handle when the dialog is - // dismissed with Cancel - } - - if (hCard >= 0) Release_Card(hCard); - } - - } - else if (nResponse == IDCANCEL) - { - // TODO: Place code here to handle when the dialog is - // dismissed with Cancel - } - - // Since the dialog has been closed, return FALSE so that we exit the - // application, rather than start the application's message pump. - return FALSE; -} diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116DlyTrg/9116SDTg.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116DlyTrg/9116SDTg.h deleted file mode 100644 index fd0b7fc..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116DlyTrg/9116SDTg.h +++ /dev/null @@ -1,34 +0,0 @@ - -// 9116SDTg.h : main header file for the PROJECT_NAME application -// - -#pragma once - -#ifndef __AFXWIN_H__ - #error "include 'stdafx.h' before including this file for PCH" -#endif - -#include "resource.h" // main symbols - -#define AI_MODE_DMA 0 -#define AI_MODE_INT 1 - -// C9116SDTgApp: -// See 9116SDTg.cpp for the implementation of this class -// - -class C9116SDTgApp : public CWinAppEx -{ -public: - C9116SDTgApp(); - -// Overrides - public: - virtual BOOL InitInstance(); - -// Implementation - - DECLARE_MESSAGE_MAP() -}; - -extern C9116SDTgApp theApp; \ No newline at end of file diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116DlyTrg/9116SDTg.rc b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116DlyTrg/9116SDTg.rc deleted file mode 100644 index 31bd068..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116DlyTrg/9116SDTg.rc +++ /dev/null @@ -1,310 +0,0 @@ -// Microsoft Visual C++ generated resource script. -// -#include "resource.h" - -#define APSTUDIO_READONLY_SYMBOLS -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 2 resource. -// -#ifndef APSTUDIO_INVOKED -#include "targetver.h" -#endif -#include "afxres.h" - -///////////////////////////////////////////////////////////////////////////// -#undef APSTUDIO_READONLY_SYMBOLS - -///////////////////////////////////////////////////////////////////////////// -// Chinese (Taiwan) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_CHT) -#ifdef _WIN32 -LANGUAGE LANG_CHINESE, SUBLANG_CHINESE_TRADITIONAL -#pragma code_page(950) -#endif //_WIN32 - -#ifdef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// TEXTINCLUDE -// - -1 TEXTINCLUDE -BEGIN - "resource.h\0" -END - -2 TEXTINCLUDE -BEGIN - "#ifndef APSTUDIO_INVOKED\r\n" - "#include ""targetver.h""\r\n" - "#endif\r\n" - "#include ""afxres.h""\r\n" - "\0" -END - -3 TEXTINCLUDE -BEGIN - "#define _AFX_NO_SPLITTER_RESOURCES\r\n" - "#define _AFX_NO_OLE_RESOURCES\r\n" - "#define _AFX_NO_TRACKER_RESOURCES\r\n" - "#define _AFX_NO_PROPERTY_RESOURCES\r\n" - "\r\n" - "#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)\r\n" - "LANGUAGE 9, 1\r\n" - "#pragma code_page(1252)\r\n" - "#include ""res\\My9116SDTg.rc2"" // non-Microsoft Visual C++ edited resources\r\n" - "#include ""afxres.rc"" // Standard components\r\n" - "#endif\r\n" - "\0" -END - -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// Icon -// - -// Icon with lowest ID value placed first to ensure application icon -// remains consistent on all systems. -IDR_MAINFRAME ICON "res\\9116SDTg.ico" -#endif // Chinese (Taiwan) resources -///////////////////////////////////////////////////////////////////////////// - - -///////////////////////////////////////////////////////////////////////////// -// English (U.S.) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -#ifdef _WIN32 -LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US -#pragma code_page(1252) -#endif //_WIN32 - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog -// - -IDD_ABOUTBOX DIALOGEX 0, 0, 170, 62 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "About 9116SDTg" -FONT 8, "MS Shell Dlg", 0, 0, 0x1 -BEGIN - ICON IDR_MAINFRAME,IDC_STATIC,14,14,21,20 - LTEXT "9116SDTg, Version 1.0",IDC_STATIC,42,14,114,8,SS_NOPREFIX - LTEXT "Copyright (C) 2010",IDC_STATIC,42,26,114,8 - DEFPUSHBUTTON "OK",IDOK,113,41,50,14,WS_GROUP -END - -IDD_9116DMA_DIALOG DIALOGEX 0, 0, 365, 232 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU -EXSTYLE WS_EX_APPWINDOW -CAPTION "PCI-9116 Single Buffer DMA by Delay Trigger Mode" -FONT 8, "MS Shell Dlg", 0, 0, 0x1 -BEGIN - GROUPBOX "",IDC_STATIC_DRAW,45,9,248,161,NOT WS_VISIBLE - LTEXT "Range : +/- 5V",IDC_STATIC,299,129,52,15 - LTEXT "Scan Count",IDC_STATIC,97,183,42,9 - EDITTEXT IDC_EDIT_SAMPLE_RATE,20,196,39,14,ES_AUTOHSCROLL | ES_READONLY - LTEXT "Scan Interval:",IDC_STATIC,20,182,49,9 - SCROLLBAR IDC_SCROLLBAR_RATE,60,196,9,11,SBS_VERT - PUSHBUTTON "Start",IDC_BT_START,230,188,55,22 - CONTROL "CH0",IDC_RADIO_CH0,"Button",BS_AUTORADIOBUTTON,303,44,48,12 - CONTROL "CH0-CH1",IDC_RADIO_CH1,"Button",BS_AUTORADIOBUTTON,303,59,48,12 - CONTROL "CH0-CH2",IDC_RADIO_CH2,"Button",BS_AUTORADIOBUTTON,303,73,48,12 - CONTROL "CH0-CH3",IDC_RADIO_CH3,"Button",BS_AUTORADIOBUTTON,303,87,48,12 - EDITTEXT IDC_EDIT_BUF_SIZE,95,196,46,14,ES_AUTOHSCROLL - PUSHBUTTON "Stop",IDC_BT_STOP,291,188,55,22 - LTEXT "ReTrig Count",IDC_STATIC_TRACE_CNT,154,182,59,9,NOT WS_VISIBLE - EDITTEXT IDC_EDIT_TRACE_CNT,157,195,46,14,ES_AUTOHSCROLL | NOT WS_VISIBLE - LTEXT "No. of Channels",IDC_STATIC,299,27,52,11 -END - -IDD_CARDID_DIALOG DIALOGEX 0, 0, 181, 135 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "Card ID" -FONT 8, "MS Shell Dlg", 400, 0, 0x1 -BEGIN - COMBOBOX IDC_COMBO_CARDID,86,24,71,126,CBS_DROPDOWN | WS_VSCROLL | WS_TABSTOP - LTEXT "Card Number",IDC_STATIC_01,30,25,46,12 - PUSHBUTTON "OK",IDOK,29,98,58,19 - PUSHBUTTON "CANCEL",IDCANCEL,93,98,58,19 - COMBOBOX IDC_COMBO_CARDTYPE,86,46,71,126,CBS_DROPDOWN | WS_VSCROLL | WS_TABSTOP - LTEXT "Analog Input Mode",IDC_STATIC_2,13,47,64,12 - COMBOBOX IDC_COMBO_DELAY_MODE,86,69,71,14,CBS_DROPDOWN | WS_VSCROLL | WS_TABSTOP - LTEXT "Delay Mode",IDC_STATIC_3,36,70,42,12 -END - - -///////////////////////////////////////////////////////////////////////////// -// -// Version -// - -VS_VERSION_INFO VERSIONINFO - FILEVERSION 1,0,0,1 - PRODUCTVERSION 1,0,0,1 - FILEFLAGSMASK 0x3fL -#ifdef _DEBUG - FILEFLAGS 0x1L -#else - FILEFLAGS 0x0L -#endif - FILEOS 0x4L - FILETYPE 0x1L - FILESUBTYPE 0x0L -BEGIN - BLOCK "StringFileInfo" - BEGIN - BLOCK "040904e4" - BEGIN - VALUE "CompanyName", "TODO: " - VALUE "FileDescription", "TODO: " - VALUE "FileVersion", "1.0.0.1" - VALUE "InternalName", "9116SDTg.exe" - VALUE "LegalCopyright", "TODO: (c) . All rights reserved." - VALUE "OriginalFilename", "9116SDTg.exe" - VALUE "ProductName", "TODO: " - VALUE "ProductVersion", "1.0.0.1" - END - END - BLOCK "VarFileInfo" - BEGIN - VALUE "Translation", 0x409, 1252 - END -END - - -///////////////////////////////////////////////////////////////////////////// -// -// DESIGNINFO -// - -#ifdef APSTUDIO_INVOKED -GUIDELINES DESIGNINFO -BEGIN - IDD_ABOUTBOX, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 163 - TOPMARGIN, 7 - BOTTOMMARGIN, 55 - END - - IDD_9116DMA_DIALOG, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 358 - TOPMARGIN, 7 - BOTTOMMARGIN, 225 - END - - IDD_CARDID_DIALOG, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 174 - TOPMARGIN, 7 - BOTTOMMARGIN, 131 - END -END -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog Info -// - -IDD_CARDID_DIALOG DLGINIT -BEGIN - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0030, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0031, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0032, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0033, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0034, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0035, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0036, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0037, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0038, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0039, - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3031, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3131, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3231, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3331, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3431, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3531, "\000" - IDC_COMBO_CARDTYPE, 0x403, 4, 0 -0x4d44, 0x0041, - IDC_COMBO_CARDTYPE, 0x403, 4, 0 -0x4e49, 0x0054, - IDC_COMBO_DELAY_MODE, 0x403, 12, 0 -0x6e49, 0x5420, 0x6d69, 0x6265, 0x7361, 0x0065, - IDC_COMBO_DELAY_MODE, 0x403, 11, 0 -0x6e49, 0x5320, 0x6d61, 0x6c70, 0x7365, "\000" - 0 -END - - -///////////////////////////////////////////////////////////////////////////// -// -// Bitmap -// - -IDB_BITMAP_SET1 BITMAP "res\\ch_set1.bmp" -IDB_BITMAP_SET2 BITMAP "res\\ch_set2.bmp" - -///////////////////////////////////////////////////////////////////////////// -// -// String Table -// - -STRINGTABLE -BEGIN - IDS_ABOUTBOX "&About 9116SDTg..." -END - -#endif // English (U.S.) resources -///////////////////////////////////////////////////////////////////////////// - - - -#ifndef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 3 resource. -// -#define _AFX_NO_SPLITTER_RESOURCES -#define _AFX_NO_OLE_RESOURCES -#define _AFX_NO_TRACKER_RESOURCES -#define _AFX_NO_PROPERTY_RESOURCES - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -LANGUAGE 9, 1 -#pragma code_page(1252) -#include "res\My9116SDTg.rc2" // non-Microsoft Visual C++ edited resources -#include "afxres.rc" // Standard components -#endif - -///////////////////////////////////////////////////////////////////////////// -#endif // not APSTUDIO_INVOKED - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116DlyTrg/9116SDTg.sln b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116DlyTrg/9116SDTg.sln deleted file mode 100644 index 8e64e26..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116DlyTrg/9116SDTg.sln +++ /dev/null @@ -1,20 +0,0 @@ - -Microsoft Visual Studio Solution File, Format Version 10.00 -# Visual Studio 2008 -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "9116SDTg", "9116SDTg.vcproj", "{702163FB-B6DF-4EF5-9491-FC54D71509BC}" -EndProject -Global - GlobalSection(SolutionConfigurationPlatforms) = preSolution - Debug|x64 = Debug|x64 - Release|x64 = Release|x64 - EndGlobalSection - GlobalSection(ProjectConfigurationPlatforms) = postSolution - {702163FB-B6DF-4EF5-9491-FC54D71509BC}.Debug|x64.ActiveCfg = Debug|x64 - {702163FB-B6DF-4EF5-9491-FC54D71509BC}.Debug|x64.Build.0 = Debug|x64 - {702163FB-B6DF-4EF5-9491-FC54D71509BC}.Release|x64.ActiveCfg = Release|x64 - {702163FB-B6DF-4EF5-9491-FC54D71509BC}.Release|x64.Build.0 = Release|x64 - EndGlobalSection - GlobalSection(SolutionProperties) = preSolution - HideSolutionNode = FALSE - EndGlobalSection -EndGlobal diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116DlyTrg/9116SDTg.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116DlyTrg/9116SDTg.suo deleted file mode 100644 index 223760c..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116DlyTrg/9116SDTg.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116DlyTrg/9116SDTg.vcproj b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116DlyTrg/9116SDTg.vcproj deleted file mode 100644 index c003b6f..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116DlyTrg/9116SDTg.vcproj +++ /dev/null @@ -1,294 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116DlyTrg/9116SDTgDlg.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116DlyTrg/9116SDTgDlg.cpp deleted file mode 100644 index d198657..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116DlyTrg/9116SDTgDlg.cpp +++ /dev/null @@ -1,598 +0,0 @@ - -// 9116SDTgDlg.cpp : implementation file -// - -#include "stdafx.h" -#include "9116SDTg.h" -#include "9116SDTgDlg.h" - -#ifdef _DEBUG -#define new DEBUG_NEW -#endif - -CRect plotRect; - -// CAboutDlg dialog used for App About - -class CAboutDlg : public CDialog -{ -public: - CAboutDlg(); - -// Dialog Data - enum { IDD = IDD_ABOUTBOX }; - - protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - -// Implementation -protected: - DECLARE_MESSAGE_MAP() -}; - -CAboutDlg::CAboutDlg() : CDialog(CAboutDlg::IDD) -{ -} - -void CAboutDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); -} - -BEGIN_MESSAGE_MAP(CAboutDlg, CDialog) -END_MESSAGE_MAP() - - -// C9116SDTgDlg dialog - - - - -C9116SDTgDlg::C9116SDTgDlg(I16 hCard, U16 wAIMode, U16 wDelayMode, CWnd* pParent /*=NULL*/) - : CDialog(C9116SDTgDlg::IDD, pParent) -{ - m_hIcon = AfxGetApp()->LoadIcon(IDR_MAINFRAME); - - n_PlotWidth = n_PlotHeight = -1; - OnBrush = OffBrush = NULL; - - min_val = 0x00; - max_val = 0x0FFF; - - m_dwScanIntrv = 240; - - m_hCard = hCard; - m_wAIMode = wAIMode; - m_wDelayMode = wDelayMode; - - m_wScanChans = 0; - m_nTimer = -1; - m_hMem=NULL; - - m_wRange = AD_B_5_V; - m_dwReadCount = 2048; - m_wReTrigger = 1; - m_wScanChans = 0; - -} - -void C9116SDTgDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); -} - -BEGIN_MESSAGE_MAP(C9116SDTgDlg, CDialog) - ON_WM_SYSCOMMAND() - ON_WM_PAINT() - ON_WM_QUERYDRAGICON() - //}}AFX_MSG_MAP - ON_WM_DESTROY() - ON_WM_VSCROLL() - ON_BN_CLICKED(IDC_BT_START, &C9116SDTgDlg::OnStart) - ON_BN_CLICKED(IDC_RADIO_CH0, &C9116SDTgDlg::OnCh0) - ON_BN_CLICKED(IDC_RADIO_CH1, &C9116SDTgDlg::OnCh1) - ON_BN_CLICKED(IDC_RADIO_CH2, &C9116SDTgDlg::OnCh2) - ON_BN_CLICKED(IDC_RADIO_CH3, &C9116SDTgDlg::OnCh3) - ON_WM_TIMER() - ON_BN_CLICKED(IDC_BT_STOP, &C9116SDTgDlg::OnStop) -END_MESSAGE_MAP() - - -// C9116SDTgDlg message handlers - -BOOL C9116SDTgDlg::OnInitDialog() -{ - CDialog::OnInitDialog(); - - // Add "About..." menu item to system menu. - - // IDM_ABOUTBOX must be in the system command range. - ASSERT((IDM_ABOUTBOX & 0xFFF0) == IDM_ABOUTBOX); - ASSERT(IDM_ABOUTBOX < 0xF000); - - CMenu* pSysMenu = GetSystemMenu(FALSE); - if (pSysMenu != NULL) - { - BOOL bNameValid; - CString strAboutMenu; - bNameValid = strAboutMenu.LoadString(IDS_ABOUTBOX); - ASSERT(bNameValid); - if (!strAboutMenu.IsEmpty()) - { - pSysMenu->AppendMenu(MF_SEPARATOR); - pSysMenu->AppendMenu(MF_STRING, IDM_ABOUTBOX, strAboutMenu); - } - } - - // Set the icon for this dialog. The framework does this automatically - // when the application's main window is not a dialog - SetIcon(m_hIcon, TRUE); // Set big icon - SetIcon(m_hIcon, FALSE); // Set small icon - - // TODO: Add extra initialization here - x_divider = 5; y_divider = 4; - - OnBrush = CreateSolidBrush( RGB(255,0,0) ); - OffBrush = CreateSolidBrush( RGB(125,0,0) ); - - RedPen.CreatePen( PS_SOLID, 1, RGB(255,0,0)); - GreenPen.CreatePen( PS_SOLID, 1, RGB(0,255,0)); - YellowPen.CreatePen( PS_SOLID, 1, RGB(255,255,0)); - BluePen.CreatePen( PS_SOLID, 1, RGB(0,0,255)); - - - if( n_PlotWidth == -1 && n_PlotHeight == -1 ) - { - ((CWnd*)GetDlgItem(IDC_STATIC_DRAW))->GetWindowRect(&plotRect); - ScreenToClient(&plotRect); - - n_PlotWidth = min( plotRect.Width(), 512); - n_PlotHeight = plotRect.Height() - 10; - } - - GetDlgItem( IDC_STATIC_TRACE_CNT )->ShowWindow(TRUE); - GetDlgItem( IDC_EDIT_TRACE_CNT )->ShowWindow(TRUE); - - // set the default SampleRate - SetDlgItemInt( IDC_EDIT_SAMPLE_RATE, (UINT)(m_dwScanIntrv) ); - SetDlgItemInt( IDC_EDIT_BUF_SIZE, (UINT)(m_dwReadCount) ); - SetDlgItemInt( IDC_EDIT_TRACE_CNT, (UINT)(m_wReTrigger) ); - - ((CButton*)GetDlgItem( IDC_RADIO_CH0 ))->SetCheck( TRUE ); - - max_range = 5.0; - min_range = -5.0; - - return TRUE; // return TRUE unless you set the focus to a control -} - -void C9116SDTgDlg::OnSysCommand(UINT nID, LPARAM lParam) -{ - if ((nID & 0xFFF0) == IDM_ABOUTBOX) - { - CAboutDlg dlgAbout; - dlgAbout.DoModal(); - } - else - { - CDialog::OnSysCommand(nID, lParam); - } -} - -// If you add a minimize button to your dialog, you will need the code below -// to draw the icon. For MFC applications using the document/view model, -// this is automatically done for you by the framework. - -void C9116SDTgDlg::OnPaint() -{ - if (IsIconic()) - { - CPaintDC dc(this); // device context for painting - - SendMessage(WM_ICONERASEBKGND, reinterpret_cast(dc.GetSafeHdc()), 0); - - // Center icon in client rectangle - int cxIcon = GetSystemMetrics(SM_CXICON); - int cyIcon = GetSystemMetrics(SM_CYICON); - CRect rect; - GetClientRect(&rect); - int x = (rect.Width() - cxIcon + 1) / 2; - int y = (rect.Height() - cyIcon + 1) / 2; - - // Draw the icon - dc.DrawIcon(x, y, m_hIcon); - } - else - { - redraw_display_area(); - CDialog::OnPaint(); - } -} - -// The system calls this function to obtain the cursor to display while the user drags -// the minimized window. -HCURSOR C9116SDTgDlg::OnQueryDragIcon() -{ - return static_cast(m_hIcon); -} - - -void C9116SDTgDlg::redraw_display_area(void) -{ - CPen *oldPen; - - int oldMode; - COLORREF oldColor; - - CString y_lable; - - CPen minor_tick( PS_SOLID,1,RGB(132,130,132) ); -// CPen y_grid( PS_SOLID,1,RGB(206,203,132) ); - - int i, x_intv, y_intv; -// long total_sec; - - CClientDC dc_plot(this); - - // draw the base-line for x-y axises - oldPen = (CPen *)dc_plot.SelectStockObject(BLACK_PEN); - - // redraw the background - dc_plot.FillSolidRect( plotRect, RGB(0,0,0) ); - - // Re-Draw the AREA for Y-Lable - { - CBrush DIALOG_BRUSH; - CRect redraw_area, full_client; - - GetClientRect(&full_client); - ScreenToClient(&full_client); - - redraw_area.left = full_client.left; - redraw_area.top = plotRect.top - 5; - redraw_area.right = plotRect.left - 3; - redraw_area.bottom = plotRect.bottom + 10; - - DIALOG_BRUSH.CreateSysColorBrush( COLOR_3DFACE ); - - dc_plot.FillRect( redraw_area, &DIALOG_BRUSH ); - - DIALOG_BRUSH.DeleteObject(); - } - - dc_plot.MoveTo( plotRect.left - 3, plotRect.top ); - dc_plot.LineTo( plotRect.left - 3, plotRect.bottom ); - - // calculate the interval for tick/grid - y_intv = (plotRect.Height() - 10) /y_divider; - x_intv = plotRect.Width()/x_divider; - - - // set the color for tick - oldColor = dc_plot.SetTextColor( RGB(0,0,0) ); - oldMode = dc_plot.SetBkMode( TRANSPARENT ); - - for( i=0; i<= y_divider; i++ ) - { - CString tick_str; - CRect tmp_rect, tick_rect; - - // draw the tick for y-axis - dc_plot.MoveTo( plotRect.left -12, plotRect.bottom -5 - (i*y_intv) ); - dc_plot.LineTo( plotRect.left -3, plotRect.bottom -5 - (i*y_intv) ); - - tick_str.Format( _T("%.1f"), ( ((max_range-min_range)/y_divider) * i)+min_range ); - - // calculate the rectangle for text - dc_plot.DrawText( tick_str, &tmp_rect, DT_CALCRECT|DT_SINGLELINE ); - tick_rect.right = plotRect.left -14; - tick_rect.left = tick_rect.right - tmp_rect.Width(); - tick_rect.top = plotRect.bottom -5 - (i*y_intv) - tmp_rect.Height()/2; - tick_rect.bottom = tick_rect.top + tmp_rect.Height(); - - // draw the text - dc_plot.DrawText( tick_str, &tick_rect, DT_SINGLELINE|DT_RIGHT ); - - } - - // draw the minor_tick for Y axises - dc_plot.SelectObject(&minor_tick); - for( i=0; i< y_divider; i++ ) - { - dc_plot.MoveTo( plotRect.left -9, plotRect.bottom -5 - (i*y_intv) - y_intv/2 ); - dc_plot.LineTo( plotRect.left -4, plotRect.bottom -5 - (i*y_intv) - y_intv/2 ); - } - - dc_plot.SetTextColor( oldColor ); - dc_plot.SetBkMode( oldMode ); - dc_plot.SelectObject( oldPen ); -} - -void C9116SDTgDlg::OnDestroy() -{ - CDialog::OnDestroy(); - - // TODO: Add your message handler code here - if( m_nTimer != -1 ) - { - KillTimer( m_nTimer ); - m_nTimer = -1; - } - - if (m_hMem != NULL) - { - GlobalUnfix(m_hMem); - GlobalUnlock(m_hMem); - GlobalFree(m_hMem); - - m_hMem = NULL; - } - - if( OnBrush != NULL ) - ::DeleteObject( OnBrush ); - - if( OffBrush != NULL ) - ::DeleteObject( OffBrush ); - - RedPen.DeleteObject(); - GreenPen.DeleteObject(); - YellowPen.DeleteObject(); - BluePen.DeleteObject(); - -} - -void C9116SDTgDlg::OnVScroll(UINT nSBCode, UINT nPos, CScrollBar* pScrollBar) -{ - // TODO: Add your message handler code here and/or call default - switch ( nSBCode ) - { - case SB_LINEUP : - m_dwScanIntrv += 240; - if (m_dwScanIntrv > 24000 ) m_dwScanIntrv = 24000; - break; - case SB_LINEDOWN: - m_dwScanIntrv -= 240; - if (m_dwScanIntrv < 240 ) m_dwScanIntrv = 240; - break; - } - - SetDlgItemInt( IDC_EDIT_SAMPLE_RATE, (UINT)(m_dwScanIntrv) ); - - CDialog::OnVScroll(nSBCode, nPos, pScrollBar); -} - - -void C9116SDTgDlg::OnStop() -{ - // TODO: Add your control notification handler code here - U32 count; - - - AI_AsyncClear(m_hCard, &count); - - if( m_nTimer != -1 ) - { - KillTimer( m_nTimer ); - m_nTimer = -1; - } - - GetDlgItem( IDC_BT_START )->EnableWindow(TRUE); -} - -void C9116SDTgDlg::OnStart() -{ - // TODO: Add your control notification handler code here - DWORD mem_size; - CString strTemp; - I16 err; - - GetDlgItem( IDC_BT_START )->EnableWindow(FALSE); - - m_dwReadCount = GetDlgItemInt(IDC_EDIT_BUF_SIZE); - m_wReTrigger = GetDlgItemInt(IDC_EDIT_TRACE_CNT); - - if (m_wReTrigger < 1) - { - AfxMessageBox( TEXT("trgCount must be >= 1") ); - return; - } - - if (m_hMem != NULL) - { - GlobalUnfix(m_hMem); - GlobalUnlock(m_hMem); - GlobalFree(m_hMem); - - m_hMem = NULL; - } - - // allocate a memory for user DMA buffer - mem_size = m_dwReadCount * (m_wScanChans+1) * sizeof(I16) * m_wReTrigger; - - m_hMem = GlobalAlloc(GMEM_ZEROINIT, mem_size); - m_pAIBuf = (U16*) GlobalLock(m_hMem); - if (m_pAIBuf == NULL ) - { - AfxMessageBox( TEXT("Memory allocation failed") ); - return; - } - - GlobalFix(m_hMem); - - m_oldY[0] = m_oldY[1] = m_oldY[2] = m_oldY[3] = -1; - m_oldX[0] = m_oldX[1] = m_oldX[2] = m_oldX[3] = -1; - - - if( m_wAIMode == AI_MODE_DMA ) - err = AI_9116_Config(m_hCard, 0, P9116_AI_DMA|P9116_TRGMOD_DELAY|m_wDelayMode|P9116_AI_ReTrigEn, 65535, 0, m_wReTrigger); - else - err = AI_9116_Config(m_hCard, 0, P9116_AI_INT|P9116_TRGMOD_DELAY|m_wDelayMode|P9116_AI_ReTrigEn, 65535, 0, m_wReTrigger); - if (err!=0) - { - strTemp.Format( TEXT("AI_9116_Config error=%d"), err); - AfxMessageBox( strTemp ); - } - - - err = AI_AsyncDblBufferMode(m_hCard, 0); // single-buffer mode - if (err!=0) - { - strTemp.Format( TEXT("AI_DblBufferMode error=%d"), err); - AfxMessageBox( strTemp ); - } - - err = AI_9116_CounterInterval (m_hCard, m_dwScanIntrv*(m_wScanChans+1), m_dwScanIntrv); - if (err!=0) - { - strTemp.Format( TEXT("AI_9116_CounterInterval error=%d"), err); - AfxMessageBox( strTemp ); - } - - err = AI_ContScanChannels (m_hCard, m_wScanChans, m_wRange, (U16*)m_pAIBuf, m_wReTrigger*(m_dwReadCount), (F64)1, ASYNCH_OP); - if (err!=0) - { - strTemp.Format( TEXT("AI_ContReadChannel error=%d"), err); - AfxMessageBox( strTemp ); - } - - m_nTimer = SetTimer( 1, 20, NULL ); - -} - -int C9116SDTgDlg::display_buffer_data(U16* pBuf, U32 dwDataNum) -{ - CClientDC dc_plot(this); - int nDraw_Origin_Y; - int cur_channel; - - int newY = -1; - int newX = -1; - U32 index; - I16 ai_data; - - // redraw the background - dc_plot.FillSolidRect( plotRect, RGB(0,0,0) ); - - dc_plot.SelectObject(&RedPen); - nDraw_Origin_Y = ( plotRect.bottom - 5 ) - n_PlotHeight/2; - - for( index=0; index> 16) ); // ( n_PlotHeight * ai_data / 65536) ); // ( (n_PlotHeight/2) * ai_data/32768 ) ); - - newX = (int)( index*n_PlotWidth/dwDataNum + plotRect.left ); - - switch(cur_channel) - { - case 0: - dc_plot.SelectObject(&YellowPen); - break; - case 1: - dc_plot.SelectObject(&GreenPen); - break; - case 2: - dc_plot.SelectObject(&BluePen); - break; - case 3: - dc_plot.SelectObject(&RedPen); - break; - } - - if ( m_oldX[cur_channel] == -1 ) - { - dc_plot.MoveTo( newX, newY ); - } - else - { - dc_plot.MoveTo( m_oldX[cur_channel], m_oldY[cur_channel] ); - dc_plot.LineTo( newX, newY ); - } - - m_oldX[cur_channel] = newX; - m_oldY[cur_channel] = newY; - - } - - return 0; -} - -void C9116SDTgDlg::OnTimer(UINT_PTR nIDEvent) -{ - // TODO: Add your message handler code here and/or call default - BOOLEAN fstop; - U32 count; - - AI_AsyncCheck(m_hCard, &fstop, &count); - - if( fstop == TRUE ) - { - AI_AsyncClear(m_hCard, &count); - - KillTimer( m_nTimer ); - m_nTimer = -1; - - display_buffer_data( m_pAIBuf, count ); - - GetDlgItem( IDC_BT_START )->EnableWindow(TRUE); - } - - CDialog::OnTimer(nIDEvent); -} - -void C9116SDTgDlg::OnCh0() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_RADIO_CH0 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_wScanChans = 0; - } - -} - -void C9116SDTgDlg::OnCh1() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_RADIO_CH1 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_wScanChans = 1; - } -} - -void C9116SDTgDlg::OnCh2() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_RADIO_CH2 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_wScanChans = 2; - } -} - -void C9116SDTgDlg::OnCh3() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_RADIO_CH3 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_wScanChans = 3; - } -} - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116DlyTrg/9116SDTgDlg.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116DlyTrg/9116SDTgDlg.h deleted file mode 100644 index fb6c0ee..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116DlyTrg/9116SDTgDlg.h +++ /dev/null @@ -1,74 +0,0 @@ - -// 9116SDTgDlg.h : header file -#pragma once -#include "afxcmn.h" -#include "afxwin.h" - -#include "Dask64.h" - -// C9116SDTgDlg dialog -class C9116SDTgDlg : public CDialog -{ -// Construction -public: - C9116SDTgDlg(I16 hCard, U16 wAIMode, U16 wDelayMode, CWnd* pParent = NULL); // standard constructor - -// Dialog Data - enum { IDD = IDD_9116DMA_DIALOG }; - - protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - - -// Implementation -protected: - HICON m_hIcon; - UINT_PTR m_nTimer; - I16 m_hCard; - U16 m_wAIMode; - U16 m_wDelayMode; - U32 m_dwScanIntrv; - U16 m_wScanChans; - HANDLE m_hMem; - U16 *m_pAIBuf; - U16 m_wRange; - int m_oldY[4]; - int m_oldX[4]; - U32 m_dwReadCount; - U16 m_wReTrigger; - - // Generated message map functions - virtual BOOL OnInitDialog(); - afx_msg void OnSysCommand(UINT nID, LPARAM lParam); - afx_msg void OnPaint(); - afx_msg HCURSOR OnQueryDragIcon(); - DECLARE_MESSAGE_MAP() - -public: - WORD max_val; - WORD min_val; - double max_range; - double min_range; - int n_PlotWidth; - int n_PlotHeight; - int y_divider; - int x_divider; - int m_DisplayScale; - HBRUSH OnBrush; - HBRUSH OffBrush; - CPen RedPen; - CPen GreenPen; - CPen YellowPen; - CPen BluePen; - void redraw_display_area(void); - afx_msg void OnDestroy(); - afx_msg void OnVScroll(UINT nSBCode, UINT nPos, CScrollBar* pScrollBar); - afx_msg void OnStart(); - int display_buffer_data(U16* pBuf, U32 dwDataNum); - afx_msg void OnCh0(); - afx_msg void OnCh1(); - afx_msg void OnCh2(); - afx_msg void OnCh3(); - afx_msg void OnTimer(UINT_PTR nIDEvent); - afx_msg void OnStop(); -}; diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116DlyTrg/9116SPTg.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116DlyTrg/9116SPTg.suo deleted file mode 100644 index c742347..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116DlyTrg/9116SPTg.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116DlyTrg/9118SPtg.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116DlyTrg/9118SPtg.suo deleted file mode 100644 index d1ebf27..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116DlyTrg/9118SPtg.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116DlyTrg/CardIDDlg.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116DlyTrg/CardIDDlg.cpp deleted file mode 100644 index 43135ef..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116DlyTrg/CardIDDlg.cpp +++ /dev/null @@ -1,95 +0,0 @@ -// CardIDDlg.cpp : implementation file -// -#include "stdafx.h" -#include "9116SDTg.h" -#include "9116SDTgDlg.h" -#include "CardIDDlg.h" - -// CCardIDDlg dialog - -IMPLEMENT_DYNAMIC(CCardIDDlg, CDialog) - -CCardIDDlg::CCardIDDlg(int nCardIdx, CWnd* pParent /*=NULL*/) - : CDialog(CCardIDDlg::IDD, pParent) -{ - m_nCardIdx = nCardIdx; -} - -CCardIDDlg::~CCardIDDlg() -{ -} - -void CCardIDDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); - DDX_Control(pDX, IDC_COMBO_CARDID, m_cbCardID); - DDX_Control(pDX, IDC_COMBO_CARDTYPE, m_cbAIMode); - DDX_Control(pDX, IDC_COMBO_DELAY_MODE, m_cbDelayMode); -} - - -BEGIN_MESSAGE_MAP(CCardIDDlg, CDialog) -// ON_CBN_SELCHANGE(IDC_COMBO_CARDID, &CCardIDDlg::OnCbnSelchangeComboCardid) -ON_BN_CLICKED(IDOK, &CCardIDDlg::OnBnClickedOk) -//ON_WM_CTLCOLOR() -END_MESSAGE_MAP() - - -// CCardIDDlg message handlers - - -void CCardIDDlg::OnBnClickedOk() -{ - // TODO: Add your control notification handler code here - int nIndex; - - m_nCardIdx = m_cbCardID.GetCurSel(); - m_wAIMode = AI_MODE_DMA + m_cbAIMode.GetCurSel(); - - nIndex = m_cbDelayMode.GetCurSel(); - - switch( nIndex ) - { - case 0: - m_wDelayMode = P9116_AI_DlyInTimebase; - break; - case 1: - m_wDelayMode = P9116_AI_DlyInSamples; - break; - } - - OnOK(); -} - -BOOL CCardIDDlg::OnInitDialog() -{ - CDialog::OnInitDialog(); - - // TODO: Add extra initialization here - m_cbCardID.SetCurSel( m_nCardIdx ); - - m_cbAIMode.SetCurSel( 0 ); - m_wAIMode = AI_MODE_DMA; - - m_cbDelayMode.SetCurSel( 0 ); - m_wDelayMode = P9116_AI_DlyInTimebase; - - return TRUE; // return TRUE unless you set the focus to a control - // EXCEPTION: OCX Property Pages should return FALSE -} - -// the function to get the selected CardID -int CCardIDDlg::GetCardID(void) -{ - return m_nCardIdx; -} - -U16 CCardIDDlg::GetAIMode(void) -{ - return m_wAIMode; -} - -U16 CCardIDDlg::GetDelayMode(void) -{ - return m_wDelayMode; -} diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116DlyTrg/CardIDDlg.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116DlyTrg/CardIDDlg.h deleted file mode 100644 index 0e5cfd5..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116DlyTrg/CardIDDlg.h +++ /dev/null @@ -1,38 +0,0 @@ -#pragma once -#include "afxwin.h" - -#include "Dask64.h" - -// CCardIDDlg dialog - -class CCardIDDlg : public CDialog -{ - DECLARE_DYNAMIC(CCardIDDlg) - -public: - CCardIDDlg(int nCardIdx, CWnd* pParent = NULL); // standard constructor - virtual ~CCardIDDlg(); - -// Dialog Data - enum { IDD = IDD_CARDID_DIALOG }; - -protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - - DECLARE_MESSAGE_MAP() -public: - virtual BOOL OnInitDialog(); - afx_msg void OnBnClickedOk(); - // the setting of CardID ComboBox - int m_nCardIdx; - U16 m_wAIMode; - U16 m_wDelayMode; - // the control of CardID ComboBox - CComboBox m_cbCardID; - CComboBox m_cbAIMode; - CComboBox m_cbDelayMode; - // the function to get the selected CardID - int GetCardID(void); - U16 GetAIMode(void); - U16 GetDelayMode(void); -}; diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116DlyTrg/ReadMe.txt b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116DlyTrg/ReadMe.txt deleted file mode 100644 index fdc46ea..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116DlyTrg/ReadMe.txt +++ /dev/null @@ -1,93 +0,0 @@ -================================================================================ - MICROSOFT FOUNDATION CLASS LIBRARY : 9116SDTg Project Overview -=============================================================================== - -The application wizard has created this 9116SDTg application for -you. This application not only demonstrates the basics of using the Microsoft -Foundation Classes but is also a starting point for writing your application. - -This file contains a summary of what you will find in each of the files that -make up your 9116SDTg application. - -9116SDTg.vcproj - This is the main project file for VC++ projects generated using an application wizard. - It contains information about the version of Visual C++ that generated the file, and - information about the platforms, configurations, and project features selected with the - application wizard. - -9116SDTg.h - This is the main header file for the application. It includes other - project specific headers (including Resource.h) and declares the - C9116SDTgApp application class. - -9116SDTg.cpp - This is the main application source file that contains the application - class C9116SDTgApp. - -9116SDTg.rc - This is a listing of all of the Microsoft Windows resources that the - program uses. It includes the icons, bitmaps, and cursors that are stored - in the RES subdirectory. This file can be directly edited in Microsoft - Visual C++. Your project resources are in 1033. - -res\9116SDTg.ico - This is an icon file, which is used as the application's icon. This - icon is included by the main resource file 9116SDTg.rc. - -res\My9116SDTg.rc2 - This file contains resources that are not edited by Microsoft - Visual C++. You should place all resources not editable by - the resource editor in this file. - - -///////////////////////////////////////////////////////////////////////////// - -The application wizard creates one dialog class: - -9116SDTgDlg.h, 9116SDTgDlg.cpp - the dialog - These files contain your C9116SDTgDlg class. This class defines - the behavior of your application's main dialog. The dialog's template is - in 9116SDTg.rc, which can be edited in Microsoft Visual C++. - - -///////////////////////////////////////////////////////////////////////////// - -Other Features: - -ActiveX Controls - The application includes support to use ActiveX controls. - -///////////////////////////////////////////////////////////////////////////// - -Other standard files: - -StdAfx.h, StdAfx.cpp - These files are used to build a precompiled header (PCH) file - named 9116SDTg.pch and a precompiled types file named StdAfx.obj. - -Resource.h - This is the standard header file, which defines new resource IDs. - Microsoft Visual C++ reads and updates this file. - -9116SDTg.manifest - Application manifest files are used by Windows XP to describe an applications - dependency on specific versions of Side-by-Side assemblies. The loader uses this - information to load the appropriate assembly from the assembly cache or private - from the application. The Application manifest maybe included for redistribution - as an external .manifest file that is installed in the same folder as the application - executable or it may be included in the executable in the form of a resource. -///////////////////////////////////////////////////////////////////////////// - -Other notes: - -The application wizard uses "TODO:" to indicate parts of the source code you -should add to or customize. - -If your application uses MFC in a shared DLL, you will need -to redistribute the MFC DLLs. If your application is in a language -other than the operating system's locale, you will also have to -redistribute the corresponding localized resources MFC90XXX.DLL. -For more information on both of these topics, please see the section on -redistributing Visual C++ applications in MSDN documentation. - -///////////////////////////////////////////////////////////////////////////// diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116DlyTrg/res/9116SDTg.ico b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116DlyTrg/res/9116SDTg.ico deleted file mode 100644 index d56fbcd..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116DlyTrg/res/9116SDTg.ico and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116DlyTrg/res/My9116SDTg.rc2 b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116DlyTrg/res/My9116SDTg.rc2 deleted file mode 100644 index 383cde2..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116DlyTrg/res/My9116SDTg.rc2 +++ /dev/null @@ -1,13 +0,0 @@ -// -// My9111int.RC2 - resources Microsoft Visual C++ does not edit directly -// - -#ifdef APSTUDIO_INVOKED -#error this file is not editable by Microsoft Visual C++ -#endif //APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// Add manually edited resources here... - -///////////////////////////////////////////////////////////////////////////// diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116DlyTrg/res/ch_set1.bmp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116DlyTrg/res/ch_set1.bmp deleted file mode 100644 index f2374ed..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116DlyTrg/res/ch_set1.bmp and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116DlyTrg/res/ch_set2.bmp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116DlyTrg/res/ch_set2.bmp deleted file mode 100644 index 32d0915..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116DlyTrg/res/ch_set2.bmp and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116DlyTrg/resource.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116DlyTrg/resource.h deleted file mode 100644 index 86f94ea..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116DlyTrg/resource.h +++ /dev/null @@ -1,42 +0,0 @@ -//{{NO_DEPENDENCIES}} -// Microsoft Visual C++ generated include file. -// Used by 9116SDTg.rc -// -#define IDM_ABOUTBOX 0x0010 -#define IDD_ABOUTBOX 100 -#define IDS_ABOUTBOX 101 -#define IDD_9116DMA_DIALOG 102 -#define IDR_MAINFRAME 128 -#define IDD_CARDID_DIALOG 129 -#define IDB_BITMAP_SET1 131 -#define IDB_BITMAP_SET2 132 -#define IDC_STATIC_DRAW 1000 -#define IDC_COMBO_CARDID 1001 -#define IDC_BT_START 1002 -#define IDC_COMBO_CARDTYPE 1002 -#define IDC_EDIT_SAMPLE_RATE 1003 -#define IDC_SCROLLBAR_RATE 1004 -#define IDC_RADIO_CH0 1005 -#define IDC_RADIO_CH1 1006 -#define IDC_RADIO_CH2 1007 -#define IDC_RADIO_CH3 1008 -#define IDC_STATIC_01 1009 -#define IDC_EDIT_BUF_SIZE 1010 -#define IDC_STATIC_2 1011 -#define IDC_BT_STOP 1012 -#define IDC_STATIC_3 1012 -#define IDC_EDIT_BUF_SIZE2 1013 -#define IDC_EDIT_TRACE_CNT 1014 -#define IDC_STATIC_TRACE_CNT 1015 -#define IDC_COMBO_DELAY_MODE 1016 - -// Next default values for new objects -// -#ifdef APSTUDIO_INVOKED -#ifndef APSTUDIO_READONLY_SYMBOLS -#define _APS_NEXT_RESOURCE_VALUE 134 -#define _APS_NEXT_COMMAND_VALUE 32771 -#define _APS_NEXT_CONTROL_VALUE 1017 -#define _APS_NEXT_SYMED_VALUE 103 -#endif -#endif diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116DlyTrg/stdafx.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116DlyTrg/stdafx.cpp deleted file mode 100644 index ef80626..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116DlyTrg/stdafx.cpp +++ /dev/null @@ -1,8 +0,0 @@ - -// stdafx.cpp : source file that includes just the standard includes -// 9111int.pch will be the pre-compiled header -// stdafx.obj will contain the pre-compiled type information - -#include "stdafx.h" - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116DlyTrg/stdafx.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116DlyTrg/stdafx.h deleted file mode 100644 index 12123e2..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116DlyTrg/stdafx.h +++ /dev/null @@ -1,60 +0,0 @@ - -// stdafx.h : include file for standard system include files, -// or project specific include files that are used frequently, -// but are changed infrequently - -#pragma once - -#ifndef _SECURE_ATL -#define _SECURE_ATL 1 -#endif - -#ifndef VC_EXTRALEAN -#define VC_EXTRALEAN // Exclude rarely-used stuff from Windows headers -#endif - -#include "targetver.h" - -#define _ATL_CSTRING_EXPLICIT_CONSTRUCTORS // some CString constructors will be explicit - -// turns off MFC's hiding of some common and often safely ignored warning messages -#define _AFX_ALL_WARNINGS - -#include // MFC core and standard components -#include // MFC extensions - - -#include // MFC Automation classes - - - -#ifndef _AFX_NO_OLE_SUPPORT -#include // MFC support for Internet Explorer 4 Common Controls -#endif -#ifndef _AFX_NO_AFXCMN_SUPPORT -#include // MFC support for Windows Common Controls -#endif // _AFX_NO_AFXCMN_SUPPORT - -#include // MFC support for ribbons and control bars - - - - - - - - - -#ifdef _UNICODE -#if defined _M_IX86 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='x86' publicKeyToken='6595b64144ccf1df' language='*'\"") -#elif defined _M_IA64 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='ia64' publicKeyToken='6595b64144ccf1df' language='*'\"") -#elif defined _M_X64 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='amd64' publicKeyToken='6595b64144ccf1df' language='*'\"") -#else -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='*' publicKeyToken='6595b64144ccf1df' language='*'\"") -#endif -#endif - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116DlyTrg/targetver.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116DlyTrg/targetver.h deleted file mode 100644 index 11730d5..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116DlyTrg/targetver.h +++ /dev/null @@ -1,26 +0,0 @@ - -#pragma once - -// The following macros define the minimum required platform. The minimum required platform -// is the earliest version of Windows, Internet Explorer etc. that has the necessary features to run -// your application. The macros work by enabling all features available on platform versions up to and -// including the version specified. - -// Modify the following defines if you have to target a platform prior to the ones specified below. -// Refer to MSDN for the latest info on corresponding values for different platforms. -#ifndef WINVER // Specifies that the minimum required platform is Windows Vista. -#define WINVER 0x0600 // Change this to the appropriate value to target other versions of Windows. -#endif - -#ifndef _WIN32_WINNT // Specifies that the minimum required platform is Windows Vista. -#define _WIN32_WINNT 0x0600 // Change this to the appropriate value to target other versions of Windows. -#endif - -#ifndef _WIN32_WINDOWS // Specifies that the minimum required platform is Windows 98. -#define _WIN32_WINDOWS 0x0410 // Change this to the appropriate value to target Windows Me or later. -#endif - -#ifndef _WIN32_IE // Specifies that the minimum required platform is Internet Explorer 7.0. -#define _WIN32_IE 0x0700 // Change this to the appropriate value to target other versions of IE. -#endif - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116MidTrg/9111int.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116MidTrg/9111int.suo deleted file mode 100644 index 8a4412a..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116MidTrg/9111int.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116MidTrg/9116SMTg.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116MidTrg/9116SMTg.cpp deleted file mode 100644 index 232b8ae..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116MidTrg/9116SMTg.cpp +++ /dev/null @@ -1,113 +0,0 @@ - -// 9116SMTg.cpp : Defines the class behaviors for the application. -// - -#include "stdafx.h" -#include "9116SMTg.h" -#include "9116SMTgDlg.h" -#include "CardIDDlg.h" - -#ifdef _DEBUG -#define new DEBUG_NEW -#endif - - -// C9116SMTgApp - -BEGIN_MESSAGE_MAP(C9116SMTgApp, CWinAppEx) - ON_COMMAND(ID_HELP, &CWinApp::OnHelp) -END_MESSAGE_MAP() - - -// C9116SMTgApp construction - -C9116SMTgApp::C9116SMTgApp() -{ - // TODO: add construction code here, - // Place all significant initialization in InitInstance -} - - -// The one and only C9116SMTgApp object - -C9116SMTgApp theApp; - - -// C9116SMTgApp initialization - -BOOL C9116SMTgApp::InitInstance() -{ - int nCardID = 0; - I16 hCard; - U16 wTrigMode; - U8 bMCountSts; - CString strTemp; - INT_PTR nResponse; - - // InitCommonControlsEx() is required on Windows XP if an application - // manifest specifies use of ComCtl32.dll version 6 or later to enable - // visual styles. Otherwise, any window creation will fail. - INITCOMMONCONTROLSEX InitCtrls; - InitCtrls.dwSize = sizeof(InitCtrls); - // Set this to include all the common control classes you want to use - // in your application. - InitCtrls.dwICC = ICC_WIN95_CLASSES; - InitCommonControlsEx(&InitCtrls); - - CWinAppEx::InitInstance(); - - AfxEnableControlContainer(); - - // Standard initialization - // If you are not using these features and wish to reduce the size - // of your final executable, you should remove from the following - // the specific initialization routines you do not need - // Change the registry key under which our settings are stored - // TODO: You should modify this string to be something appropriate - // such as the name of your company or organization - SetRegistryKey(_T("Local AppWizard-Generated Applications")); - - CCardIDDlg CardDlg( nCardID ); - - nResponse = CardDlg.DoModal(); - if (nResponse == IDOK) - { - nCardID = CardDlg.GetCardID(); - wTrigMode = CardDlg.GetTrigMode(); - bMCountSts = CardDlg.GetMCountSts(); - - if ((hCard=Register_Card(PCI_9116, nCardID)) < 0) - { - strTemp.Format( TEXT("Register_Card Error = %d"), hCard); - AfxMessageBox( strTemp ); - } - else - { - C9116SMTgDlg dlg(hCard, wTrigMode, bMCountSts); - m_pMainWnd = &dlg; - nResponse = dlg.DoModal(); - if (nResponse == IDOK) - { - // TODO: Place code here to handle when the dialog is - // dismissed with OK - } - else if (nResponse == IDCANCEL) - { - // TODO: Place code here to handle when the dialog is - // dismissed with Cancel - } - - if (hCard >= 0) Release_Card(hCard); - } - - } - else if (nResponse == IDCANCEL) - { - // TODO: Place code here to handle when the dialog is - // dismissed with Cancel - } - - // Since the dialog has been closed, return FALSE so that we exit the - // application, rather than start the application's message pump. - return FALSE; -} diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116MidTrg/9116SMTg.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116MidTrg/9116SMTg.h deleted file mode 100644 index 0f4be23..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116MidTrg/9116SMTg.h +++ /dev/null @@ -1,34 +0,0 @@ - -// 9116SMTg.h : main header file for the PROJECT_NAME application -// - -#pragma once - -#ifndef __AFXWIN_H__ - #error "include 'stdafx.h' before including this file for PCH" -#endif - -#include "resource.h" // main symbols - -#define AI_MODE_DMA 0 -#define AI_MODE_INT 1 - -// C9116SMTgApp: -// See 9116SMTg.cpp for the implementation of this class -// - -class C9116SMTgApp : public CWinAppEx -{ -public: - C9116SMTgApp(); - -// Overrides - public: - virtual BOOL InitInstance(); - -// Implementation - - DECLARE_MESSAGE_MAP() -}; - -extern C9116SMTgApp theApp; \ No newline at end of file diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116MidTrg/9116SMTg.rc b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116MidTrg/9116SMTg.rc deleted file mode 100644 index 0f95afa..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116MidTrg/9116SMTg.rc +++ /dev/null @@ -1,303 +0,0 @@ -// Microsoft Visual C++ generated resource script. -// -#include "resource.h" - -#define APSTUDIO_READONLY_SYMBOLS -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 2 resource. -// -#ifndef APSTUDIO_INVOKED -#include "targetver.h" -#endif -#include "afxres.h" - -///////////////////////////////////////////////////////////////////////////// -#undef APSTUDIO_READONLY_SYMBOLS - -///////////////////////////////////////////////////////////////////////////// -// Chinese (Taiwan) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_CHT) -#ifdef _WIN32 -LANGUAGE LANG_CHINESE, SUBLANG_CHINESE_TRADITIONAL -#pragma code_page(950) -#endif //_WIN32 - -#ifdef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// TEXTINCLUDE -// - -1 TEXTINCLUDE -BEGIN - "resource.h\0" -END - -2 TEXTINCLUDE -BEGIN - "#ifndef APSTUDIO_INVOKED\r\n" - "#include ""targetver.h""\r\n" - "#endif\r\n" - "#include ""afxres.h""\r\n" - "\0" -END - -3 TEXTINCLUDE -BEGIN - "#define _AFX_NO_SPLITTER_RESOURCES\r\n" - "#define _AFX_NO_OLE_RESOURCES\r\n" - "#define _AFX_NO_TRACKER_RESOURCES\r\n" - "#define _AFX_NO_PROPERTY_RESOURCES\r\n" - "\r\n" - "#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)\r\n" - "LANGUAGE 9, 1\r\n" - "#pragma code_page(1252)\r\n" - "#include ""res\\My9116SMTg.rc2"" // non-Microsoft Visual C++ edited resources\r\n" - "#include ""afxres.rc"" // Standard components\r\n" - "#endif\r\n" - "\0" -END - -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// Icon -// - -// Icon with lowest ID value placed first to ensure application icon -// remains consistent on all systems. -IDR_MAINFRAME ICON "res\\9116SMTg.ico" -#endif // Chinese (Taiwan) resources -///////////////////////////////////////////////////////////////////////////// - - -///////////////////////////////////////////////////////////////////////////// -// English (U.S.) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -#ifdef _WIN32 -LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US -#pragma code_page(1252) -#endif //_WIN32 - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog -// - -IDD_ABOUTBOX DIALOGEX 0, 0, 170, 62 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "About 9116SMTg" -FONT 8, "MS Shell Dlg", 0, 0, 0x1 -BEGIN - ICON IDR_MAINFRAME,IDC_STATIC,14,14,21,20 - LTEXT "9116SMTg, Version 1.0",IDC_STATIC,42,14,114,8,SS_NOPREFIX - LTEXT "Copyright (C) 2010",IDC_STATIC,42,26,114,8 - DEFPUSHBUTTON "OK",IDOK,113,41,50,14,WS_GROUP -END - -IDD_9116DMA_DIALOG DIALOGEX 0, 0, 365, 243 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU -EXSTYLE WS_EX_APPWINDOW -CAPTION "PCI-9116 Single Buffer DMA with Middle Trigger Mode" -FONT 8, "MS Shell Dlg", 0, 0, 0x1 -BEGIN - GROUPBOX "",IDC_STATIC_DRAW,45,9,248,161,NOT WS_VISIBLE - LTEXT "Range : +/- 5V",IDC_STATIC,299,129,52,15 - LTEXT "Scan Count",IDC_STATIC,142,207,42,9 - EDITTEXT IDC_EDIT_SAMPLE_RATE,65,187,39,14,ES_AUTOHSCROLL | ES_READONLY - LTEXT "Scan Interval:",IDC_STATIC,65,176,49,9 - SCROLLBAR IDC_SCROLLBAR_RATE,105,187,9,11,SBS_VERT - PUSHBUTTON "Start",IDC_BT_START,230,188,55,22 - EDITTEXT IDC_EDIT_BUF_SIZE,140,218,46,14,ES_AUTOHSCROLL - PUSHBUTTON "Stop",IDC_BT_STOP,291,188,55,22 - LTEXT "Post Count",IDC_STATIC_TRACE_CNT,143,176,44,9 - EDITTEXT IDC_EDIT_TRACE_CNT,140,187,46,14,ES_AUTOHSCROLL - LTEXT "Channel 0",IDC_STATIC,301,35,39,11 - LTEXT "M Counter",IDC_STATIC,66,207,42,9 - EDITTEXT IDC_EDIT_M_COUNTER,65,217,48,14,ES_AUTOHSCROLL -END - -IDD_CARDID_DIALOG DIALOGEX 0, 0, 174, 133 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "Card ID" -FONT 8, "MS Shell Dlg", 400, 0, 0x1 -BEGIN - COMBOBOX IDC_COMBO_CARDID,82,24,71,126,CBS_DROPDOWN | WS_VSCROLL | WS_TABSTOP - LTEXT "Card Number",IDC_STATIC_01,26,25,46,12 - PUSHBUTTON "OK",IDOK,24,94,58,19 - PUSHBUTTON "CANCEL",IDCANCEL,88,94,58,19 - COMBOBOX IDC_COMBO_CARDTYPE,82,46,71,126,CBS_DROPDOWN | WS_VSCROLL | WS_TABSTOP - LTEXT "Trigger Mode",IDC_STATIC_2,26,47,48,12 - CONTROL " Enable MCounter",IDC_CHECK_MCNT_ENABLE,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,27,70,76,14 -END - - -///////////////////////////////////////////////////////////////////////////// -// -// Version -// - -VS_VERSION_INFO VERSIONINFO - FILEVERSION 1,0,0,1 - PRODUCTVERSION 1,0,0,1 - FILEFLAGSMASK 0x3fL -#ifdef _DEBUG - FILEFLAGS 0x1L -#else - FILEFLAGS 0x0L -#endif - FILEOS 0x4L - FILETYPE 0x1L - FILESUBTYPE 0x0L -BEGIN - BLOCK "StringFileInfo" - BEGIN - BLOCK "040904e4" - BEGIN - VALUE "CompanyName", "TODO: " - VALUE "FileDescription", "TODO: " - VALUE "FileVersion", "1.0.0.1" - VALUE "InternalName", "9116SMTg.exe" - VALUE "LegalCopyright", "TODO: (c) . All rights reserved." - VALUE "OriginalFilename", "9116SMTg.exe" - VALUE "ProductName", "TODO: " - VALUE "ProductVersion", "1.0.0.1" - END - END - BLOCK "VarFileInfo" - BEGIN - VALUE "Translation", 0x409, 1252 - END -END - - -///////////////////////////////////////////////////////////////////////////// -// -// DESIGNINFO -// - -#ifdef APSTUDIO_INVOKED -GUIDELINES DESIGNINFO -BEGIN - IDD_ABOUTBOX, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 163 - TOPMARGIN, 7 - BOTTOMMARGIN, 55 - END - - IDD_9116DMA_DIALOG, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 358 - TOPMARGIN, 7 - BOTTOMMARGIN, 236 - END - - IDD_CARDID_DIALOG, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 167 - TOPMARGIN, 7 - BOTTOMMARGIN, 129 - END -END -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog Info -// - -IDD_CARDID_DIALOG DLGINIT -BEGIN - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0030, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0031, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0032, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0033, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0034, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0035, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0036, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0037, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0038, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0039, - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3031, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3131, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3231, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3331, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3431, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3531, "\000" - IDC_COMBO_CARDTYPE, 0x403, 15, 0 -0x694d, 0x6464, 0x656c, 0x5420, 0x6972, 0x6767, 0x7265, "\000" - IDC_COMBO_CARDTYPE, 0x403, 12, 0 -0x7250, 0x2065, 0x7254, 0x6769, 0x6567, 0x0072, - 0 -END - - -///////////////////////////////////////////////////////////////////////////// -// -// Bitmap -// - -IDB_BITMAP_SET1 BITMAP "res\\ch_set1.bmp" -IDB_BITMAP_SET2 BITMAP "res\\ch_set2.bmp" - -///////////////////////////////////////////////////////////////////////////// -// -// String Table -// - -STRINGTABLE -BEGIN - IDS_ABOUTBOX "&About 9116SMTg..." -END - -#endif // English (U.S.) resources -///////////////////////////////////////////////////////////////////////////// - - - -#ifndef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 3 resource. -// -#define _AFX_NO_SPLITTER_RESOURCES -#define _AFX_NO_OLE_RESOURCES -#define _AFX_NO_TRACKER_RESOURCES -#define _AFX_NO_PROPERTY_RESOURCES - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -LANGUAGE 9, 1 -#pragma code_page(1252) -#include "res\My9116SMTg.rc2" // non-Microsoft Visual C++ edited resources -#include "afxres.rc" // Standard components -#endif - -///////////////////////////////////////////////////////////////////////////// -#endif // not APSTUDIO_INVOKED - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116MidTrg/9116SMTg.sln b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116MidTrg/9116SMTg.sln deleted file mode 100644 index 06636a9..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116MidTrg/9116SMTg.sln +++ /dev/null @@ -1,20 +0,0 @@ - -Microsoft Visual Studio Solution File, Format Version 10.00 -# Visual Studio 2008 -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "9116SMTg", "9116SMTg.vcproj", "{702163FB-B6DF-4EF5-9491-FC54D71509BC}" -EndProject -Global - GlobalSection(SolutionConfigurationPlatforms) = preSolution - Debug|x64 = Debug|x64 - Release|x64 = Release|x64 - EndGlobalSection - GlobalSection(ProjectConfigurationPlatforms) = postSolution - {702163FB-B6DF-4EF5-9491-FC54D71509BC}.Debug|x64.ActiveCfg = Debug|x64 - {702163FB-B6DF-4EF5-9491-FC54D71509BC}.Debug|x64.Build.0 = Debug|x64 - {702163FB-B6DF-4EF5-9491-FC54D71509BC}.Release|x64.ActiveCfg = Release|x64 - {702163FB-B6DF-4EF5-9491-FC54D71509BC}.Release|x64.Build.0 = Release|x64 - EndGlobalSection - GlobalSection(SolutionProperties) = preSolution - HideSolutionNode = FALSE - EndGlobalSection -EndGlobal diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116MidTrg/9116SMTg.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116MidTrg/9116SMTg.suo deleted file mode 100644 index 56d01e2..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116MidTrg/9116SMTg.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116MidTrg/9116SMTg.vcproj b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116MidTrg/9116SMTg.vcproj deleted file mode 100644 index a81ba04..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116MidTrg/9116SMTg.vcproj +++ /dev/null @@ -1,294 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116MidTrg/9116SMTgDlg.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116MidTrg/9116SMTgDlg.cpp deleted file mode 100644 index f095f98..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116MidTrg/9116SMTgDlg.cpp +++ /dev/null @@ -1,545 +0,0 @@ - -// 9116SMTgDlg.cpp : implementation file -// - -#include "stdafx.h" -#include "9116SMTg.h" -#include "9116SMTgDlg.h" - -#ifdef _DEBUG -#define new DEBUG_NEW -#endif - -CRect plotRect; - -// CAboutDlg dialog used for App About - -class CAboutDlg : public CDialog -{ -public: - CAboutDlg(); - -// Dialog Data - enum { IDD = IDD_ABOUTBOX }; - - protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - -// Implementation -protected: - DECLARE_MESSAGE_MAP() -}; - -CAboutDlg::CAboutDlg() : CDialog(CAboutDlg::IDD) -{ -} - -void CAboutDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); -} - -BEGIN_MESSAGE_MAP(CAboutDlg, CDialog) -END_MESSAGE_MAP() - - -// C9116SMTgDlg dialog - - - - -C9116SMTgDlg::C9116SMTgDlg(I16 hCard, U16 wTrigMode, U8 bMCountEn, CWnd* pParent /*=NULL*/) - : CDialog(C9116SMTgDlg::IDD, pParent) -{ - m_hIcon = AfxGetApp()->LoadIcon(IDR_MAINFRAME); - - n_PlotWidth = n_PlotHeight = -1; - OnBrush = OffBrush = NULL; - - min_val = 0x00; - max_val = 0x0FFF; - - m_dwScanIntrv = 240; - - m_hCard = hCard; - m_wTrigMode = wTrigMode; - m_bMCountEn = bMCountEn; - - m_wScanChans = 0; - m_nTimer = -1; - m_hMem=NULL; - - m_wRange = AD_B_5_V; - m_dwReadCount = 2000; - m_wScanChans = 0; - - m_wPostCount = 0; - m_wMCount = 0; - -} - -void C9116SMTgDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); -} - -BEGIN_MESSAGE_MAP(C9116SMTgDlg, CDialog) - ON_WM_SYSCOMMAND() - ON_WM_PAINT() - ON_WM_QUERYDRAGICON() - //}}AFX_MSG_MAP - ON_WM_DESTROY() - ON_WM_VSCROLL() - ON_BN_CLICKED(IDC_BT_START, &C9116SMTgDlg::OnStart) - ON_WM_TIMER() - ON_BN_CLICKED(IDC_BT_STOP, &C9116SMTgDlg::OnStop) -END_MESSAGE_MAP() - - -// C9116SMTgDlg message handlers - -BOOL C9116SMTgDlg::OnInitDialog() -{ - CDialog::OnInitDialog(); - - // Add "About..." menu item to system menu. - - // IDM_ABOUTBOX must be in the system command range. - ASSERT((IDM_ABOUTBOX & 0xFFF0) == IDM_ABOUTBOX); - ASSERT(IDM_ABOUTBOX < 0xF000); - - CMenu* pSysMenu = GetSystemMenu(FALSE); - if (pSysMenu != NULL) - { - BOOL bNameValid; - CString strAboutMenu; - bNameValid = strAboutMenu.LoadString(IDS_ABOUTBOX); - ASSERT(bNameValid); - if (!strAboutMenu.IsEmpty()) - { - pSysMenu->AppendMenu(MF_SEPARATOR); - pSysMenu->AppendMenu(MF_STRING, IDM_ABOUTBOX, strAboutMenu); - } - } - - // Set the icon for this dialog. The framework does this automatically - // when the application's main window is not a dialog - SetIcon(m_hIcon, TRUE); // Set big icon - SetIcon(m_hIcon, FALSE); // Set small icon - - if( m_wTrigMode == P9116_TRGMOD_MIDL ) - { - SetWindowText( TEXT("PCI-9116 Single Buffer DMA with Middle Trigger Mode") ); - m_wPostCount = 1024; - GetDlgItem( IDC_EDIT_TRACE_CNT )->EnableWindow( TRUE ); - } - else if( m_wTrigMode == P9116_TRGMOD_PRE ) - { - SetWindowText( TEXT("PCI-9116 Single Buffer DMA with Pre-Trigger Mode") ); - m_wPostCount = 0; - GetDlgItem( IDC_EDIT_TRACE_CNT )->EnableWindow( FALSE ); - } - - if( m_bMCountEn == 0x00 ) - { - GetDlgItem( IDC_EDIT_M_COUNTER )->EnableWindow( FALSE ); - m_wMCount = 0; - } - else - { - GetDlgItem( IDC_EDIT_M_COUNTER )->EnableWindow( TRUE ); - m_wMCount = 100; - } - - // TODO: Add extra initialization here - x_divider = 5; y_divider = 4; - - OnBrush = CreateSolidBrush( RGB(255,0,0) ); - OffBrush = CreateSolidBrush( RGB(125,0,0) ); - - RedPen.CreatePen( PS_SOLID, 1, RGB(255,0,0)); - GreenPen.CreatePen( PS_SOLID, 1, RGB(0,255,0)); - YellowPen.CreatePen( PS_SOLID, 1, RGB(255,255,0)); - BluePen.CreatePen( PS_SOLID, 1, RGB(0,0,255)); - - - if( n_PlotWidth == -1 && n_PlotHeight == -1 ) - { - ((CWnd*)GetDlgItem(IDC_STATIC_DRAW))->GetWindowRect(&plotRect); - ScreenToClient(&plotRect); - - n_PlotWidth = min( plotRect.Width(), 512); - n_PlotHeight = plotRect.Height() - 10; - } - - // set the default SampleRate - SetDlgItemInt( IDC_EDIT_SAMPLE_RATE, (UINT)(m_dwScanIntrv) ); - SetDlgItemInt( IDC_EDIT_BUF_SIZE, (UINT)(m_dwReadCount) ); - SetDlgItemInt( IDC_EDIT_TRACE_CNT, (UINT)(m_wPostCount) ); - SetDlgItemInt( IDC_EDIT_M_COUNTER, (UINT)(m_wMCount) ); - - max_range = 5.0; - min_range = -5.0; - - return TRUE; // return TRUE unless you set the focus to a control -} - -void C9116SMTgDlg::OnSysCommand(UINT nID, LPARAM lParam) -{ - if ((nID & 0xFFF0) == IDM_ABOUTBOX) - { - CAboutDlg dlgAbout; - dlgAbout.DoModal(); - } - else - { - CDialog::OnSysCommand(nID, lParam); - } -} - -// If you add a minimize button to your dialog, you will need the code below -// to draw the icon. For MFC applications using the document/view model, -// this is automatically done for you by the framework. - -void C9116SMTgDlg::OnPaint() -{ - if (IsIconic()) - { - CPaintDC dc(this); // device context for painting - - SendMessage(WM_ICONERASEBKGND, reinterpret_cast(dc.GetSafeHdc()), 0); - - // Center icon in client rectangle - int cxIcon = GetSystemMetrics(SM_CXICON); - int cyIcon = GetSystemMetrics(SM_CYICON); - CRect rect; - GetClientRect(&rect); - int x = (rect.Width() - cxIcon + 1) / 2; - int y = (rect.Height() - cyIcon + 1) / 2; - - // Draw the icon - dc.DrawIcon(x, y, m_hIcon); - } - else - { - redraw_display_area(); - CDialog::OnPaint(); - } -} - -// The system calls this function to obtain the cursor to display while the user drags -// the minimized window. -HCURSOR C9116SMTgDlg::OnQueryDragIcon() -{ - return static_cast(m_hIcon); -} - - -void C9116SMTgDlg::redraw_display_area(void) -{ - CPen *oldPen; - - int oldMode; - COLORREF oldColor; - - CString y_lable; - - CPen minor_tick( PS_SOLID,1,RGB(132,130,132) ); -// CPen y_grid( PS_SOLID,1,RGB(206,203,132) ); - - int i, x_intv, y_intv; -// long total_sec; - - CClientDC dc_plot(this); - - // draw the base-line for x-y axises - oldPen = (CPen *)dc_plot.SelectStockObject(BLACK_PEN); - - // redraw the background - dc_plot.FillSolidRect( plotRect, RGB(0,0,0) ); - - // Re-Draw the AREA for Y-Lable - { - CBrush DIALOG_BRUSH; - CRect redraw_area, full_client; - - GetClientRect(&full_client); - ScreenToClient(&full_client); - - redraw_area.left = full_client.left; - redraw_area.top = plotRect.top - 5; - redraw_area.right = plotRect.left - 3; - redraw_area.bottom = plotRect.bottom + 10; - - DIALOG_BRUSH.CreateSysColorBrush( COLOR_3DFACE ); - - dc_plot.FillRect( redraw_area, &DIALOG_BRUSH ); - - DIALOG_BRUSH.DeleteObject(); - } - - dc_plot.MoveTo( plotRect.left - 3, plotRect.top ); - dc_plot.LineTo( plotRect.left - 3, plotRect.bottom ); - - // calculate the interval for tick/grid - y_intv = (plotRect.Height() - 10) /y_divider; - x_intv = plotRect.Width()/x_divider; - - - // set the color for tick - oldColor = dc_plot.SetTextColor( RGB(0,0,0) ); - oldMode = dc_plot.SetBkMode( TRANSPARENT ); - - for( i=0; i<= y_divider; i++ ) - { - CString tick_str; - CRect tmp_rect, tick_rect; - - // draw the tick for y-axis - dc_plot.MoveTo( plotRect.left -12, plotRect.bottom -5 - (i*y_intv) ); - dc_plot.LineTo( plotRect.left -3, plotRect.bottom -5 - (i*y_intv) ); - - tick_str.Format( _T("%.1f"), ( ((max_range-min_range)/y_divider) * i)+min_range ); - - // calculate the rectangle for text - dc_plot.DrawText( tick_str, &tmp_rect, DT_CALCRECT|DT_SINGLELINE ); - tick_rect.right = plotRect.left -14; - tick_rect.left = tick_rect.right - tmp_rect.Width(); - tick_rect.top = plotRect.bottom -5 - (i*y_intv) - tmp_rect.Height()/2; - tick_rect.bottom = tick_rect.top + tmp_rect.Height(); - - // draw the text - dc_plot.DrawText( tick_str, &tick_rect, DT_SINGLELINE|DT_RIGHT ); - - } - - // draw the minor_tick for Y axises - dc_plot.SelectObject(&minor_tick); - for( i=0; i< y_divider; i++ ) - { - dc_plot.MoveTo( plotRect.left -9, plotRect.bottom -5 - (i*y_intv) - y_intv/2 ); - dc_plot.LineTo( plotRect.left -4, plotRect.bottom -5 - (i*y_intv) - y_intv/2 ); - } - - dc_plot.SetTextColor( oldColor ); - dc_plot.SetBkMode( oldMode ); - dc_plot.SelectObject( oldPen ); -} - -void C9116SMTgDlg::OnDestroy() -{ - CDialog::OnDestroy(); - - // TODO: Add your message handler code here - if( m_nTimer != -1 ) - { - KillTimer( m_nTimer ); - m_nTimer = -1; - } - - if (m_hMem != NULL) - { - GlobalUnfix(m_hMem); - GlobalUnlock(m_hMem); - GlobalFree(m_hMem); - - m_hMem = NULL; - } - - if( OnBrush != NULL ) - ::DeleteObject( OnBrush ); - - if( OffBrush != NULL ) - ::DeleteObject( OffBrush ); - - RedPen.DeleteObject(); - GreenPen.DeleteObject(); - YellowPen.DeleteObject(); - BluePen.DeleteObject(); - -} - -void C9116SMTgDlg::OnVScroll(UINT nSBCode, UINT nPos, CScrollBar* pScrollBar) -{ - // TODO: Add your message handler code here and/or call default - switch ( nSBCode ) - { - case SB_LINEUP : - m_dwScanIntrv += 240; - if (m_dwScanIntrv > 24000 ) m_dwScanIntrv = 24000; - break; - case SB_LINEDOWN: - m_dwScanIntrv -= 240; - if (m_dwScanIntrv < 240 ) m_dwScanIntrv = 240; - break; - } - - SetDlgItemInt( IDC_EDIT_SAMPLE_RATE, (UINT)(m_dwScanIntrv) ); - - CDialog::OnVScroll(nSBCode, nPos, pScrollBar); -} - - -void C9116SMTgDlg::OnStop() -{ - // TODO: Add your control notification handler code here - U32 count; - - - AI_AsyncClear(m_hCard, &count); - - if( m_nTimer != -1 ) - { - KillTimer( m_nTimer ); - m_nTimer = -1; - } - - GetDlgItem( IDC_BT_START )->EnableWindow(TRUE); -} - -void C9116SMTgDlg::OnStart() -{ - // TODO: Add your control notification handler code here - DWORD mem_size; - CString strTemp; - I16 err; - - GetDlgItem( IDC_BT_START )->EnableWindow(FALSE); - - m_dwReadCount = GetDlgItemInt(IDC_EDIT_BUF_SIZE); - - if( m_wTrigMode == P9116_TRGMOD_MIDL ) - m_wPostCount = GetDlgItemInt(IDC_EDIT_TRACE_CNT); - - if( m_bMCountEn != 0x00 ) - m_wMCount = GetDlgItemInt(IDC_EDIT_M_COUNTER); - - - if (m_hMem != NULL) - { - GlobalUnfix(m_hMem); - GlobalUnlock(m_hMem); - GlobalFree(m_hMem); - - m_hMem = NULL; - } - - // allocate a memory for user DMA buffer - mem_size = ( m_dwReadCount + m_wMCount ) * (m_wScanChans+1) * sizeof(I16); - - m_hMem = GlobalAlloc(GMEM_ZEROINIT, mem_size); - m_pAIBuf = (U16*) GlobalLock(m_hMem); - if (m_pAIBuf == NULL ) - { - AfxMessageBox( TEXT("Memory allocation failed") ); - return; - } - - GlobalFix(m_hMem); - - m_oldY[0] = m_oldY[1] = m_oldY[2] = m_oldY[3] = -1; - m_oldX[0] = m_oldX[1] = m_oldX[2] = m_oldX[3] = -1; - - err = AI_9116_Config(m_hCard, 0, P9116_AI_DMA|m_wTrigMode, m_wPostCount, m_wMCount, 0); - if (err!=0) - { - strTemp.Format( TEXT("AI_9116_Config error=%d"), err); - AfxMessageBox( strTemp ); - } - - - err = AI_AsyncDblBufferMode(m_hCard, 0); // single-buffer mode - if (err!=0) - { - strTemp.Format( TEXT("AI_DblBufferMode error=%d"), err); - AfxMessageBox( strTemp ); - } - - err = AI_9116_CounterInterval (m_hCard, m_dwScanIntrv*(m_wScanChans+1), m_dwScanIntrv); - if (err!=0) - { - strTemp.Format( TEXT("AI_9116_CounterInterval error=%d"), err); - AfxMessageBox( strTemp ); - } - - err = AI_ContReadChannel (m_hCard, m_wScanChans, m_wRange, (U16*)m_pAIBuf, (m_dwReadCount + m_wMCount), (F64)1, ASYNCH_OP); - if (err!=0) - { - strTemp.Format( TEXT("AI_ContReadChannel error=%d"), err); - AfxMessageBox( strTemp ); - } - - m_nTimer = SetTimer( 1, 20, NULL ); - -} - -int C9116SMTgDlg::display_buffer_data(U16* pBuf, U32 dwDataNum) -{ - CClientDC dc_plot(this); - int nDraw_Origin_Y; - int cur_channel; - - int newY = -1; - int newX = -1; - U32 index; - I16 ai_data; - - // redraw the background - dc_plot.FillSolidRect( plotRect, RGB(0,0,0) ); - - dc_plot.SelectObject(&RedPen); - nDraw_Origin_Y = ( plotRect.bottom - 5 ) - n_PlotHeight/2; - - dc_plot.SelectObject(&YellowPen); - cur_channel = 0; - - for( index=0; index> 16) ); // ( n_PlotHeight * ai_data / 65536) ); // ( (n_PlotHeight/2) * ai_data/32768 ) ); - - newX = (int)( index*n_PlotWidth/dwDataNum + plotRect.left ); - - if ( index == 0 ) - { - dc_plot.MoveTo( newX, newY ); - } - else - { - dc_plot.MoveTo( m_oldX[cur_channel], m_oldY[cur_channel] ); - dc_plot.LineTo( newX, newY ); - } - - m_oldX[cur_channel] = newX; - m_oldY[cur_channel] = newY; - - } - - return 0; -} - -void C9116SMTgDlg::OnTimer(UINT_PTR nIDEvent) -{ - // TODO: Add your message handler code here and/or call default - BOOLEAN fstop; - U32 count; - - AI_AsyncCheck(m_hCard, &fstop, &count); - - if( fstop == TRUE ) - { - AI_AsyncClear(m_hCard, &count); - - KillTimer( m_nTimer ); - m_nTimer = -1; - - display_buffer_data( m_pAIBuf, count ); - - GetDlgItem( IDC_BT_START )->EnableWindow(TRUE); - } - - CDialog::OnTimer(nIDEvent); -} - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116MidTrg/9116SMTgDlg.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116MidTrg/9116SMTgDlg.h deleted file mode 100644 index 3443d35..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116MidTrg/9116SMTgDlg.h +++ /dev/null @@ -1,71 +0,0 @@ - -// 9116SMTgDlg.h : header file -#pragma once -#include "afxcmn.h" -#include "afxwin.h" - -#include "Dask64.h" - -// C9116SMTgDlg dialog -class C9116SMTgDlg : public CDialog -{ -// Construction -public: - C9116SMTgDlg(I16 hCard, U16 wTrigMode, U8 bMCountEn, CWnd* pParent = NULL); // standard constructor - -// Dialog Data - enum { IDD = IDD_9116DMA_DIALOG }; - - protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - - -// Implementation -protected: - HICON m_hIcon; - UINT_PTR m_nTimer; - I16 m_hCard; - U16 m_wTrigMode; - U8 m_bMCountEn; - U16 m_wPostCount; - U16 m_wMCount; - U32 m_dwScanIntrv; - U16 m_wScanChans; - HANDLE m_hMem; - U16 *m_pAIBuf; - U16 m_wRange; - int m_oldY[4]; - int m_oldX[4]; - U32 m_dwReadCount; - - // Generated message map functions - virtual BOOL OnInitDialog(); - afx_msg void OnSysCommand(UINT nID, LPARAM lParam); - afx_msg void OnPaint(); - afx_msg HCURSOR OnQueryDragIcon(); - DECLARE_MESSAGE_MAP() - -public: - WORD max_val; - WORD min_val; - double max_range; - double min_range; - int n_PlotWidth; - int n_PlotHeight; - int y_divider; - int x_divider; - int m_DisplayScale; - HBRUSH OnBrush; - HBRUSH OffBrush; - CPen RedPen; - CPen GreenPen; - CPen YellowPen; - CPen BluePen; - void redraw_display_area(void); - afx_msg void OnDestroy(); - afx_msg void OnVScroll(UINT nSBCode, UINT nPos, CScrollBar* pScrollBar); - afx_msg void OnStart(); - int display_buffer_data(U16* pBuf, U32 dwDataNum); - afx_msg void OnTimer(UINT_PTR nIDEvent); - afx_msg void OnStop(); -}; diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116MidTrg/9116SPTg.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116MidTrg/9116SPTg.suo deleted file mode 100644 index c742347..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116MidTrg/9116SPTg.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116MidTrg/9118SPtg.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116MidTrg/9118SPtg.suo deleted file mode 100644 index d1ebf27..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116MidTrg/9118SPtg.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116MidTrg/CardIDDlg.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116MidTrg/CardIDDlg.cpp deleted file mode 100644 index a58f24e..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116MidTrg/CardIDDlg.cpp +++ /dev/null @@ -1,109 +0,0 @@ -// CardIDDlg.cpp : implementation file -// -#include "stdafx.h" -#include "9116SMTg.h" -#include "9116SMTgDlg.h" -#include "CardIDDlg.h" - -// CCardIDDlg dialog - -IMPLEMENT_DYNAMIC(CCardIDDlg, CDialog) - -CCardIDDlg::CCardIDDlg(int nCardIdx, CWnd* pParent /*=NULL*/) - : CDialog(CCardIDDlg::IDD, pParent) -{ - m_nCardIdx = nCardIdx; - m_wTrigMode = P9116_TRGMOD_MIDL; - m_bMCountSts = 0; -} - -CCardIDDlg::~CCardIDDlg() -{ -} - -void CCardIDDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); - DDX_Control(pDX, IDC_COMBO_CARDID, m_cbCardID); - DDX_Control(pDX, IDC_COMBO_CARDTYPE, m_cbTrigMode); -} - - -BEGIN_MESSAGE_MAP(CCardIDDlg, CDialog) -// ON_CBN_SELCHANGE(IDC_COMBO_CARDID, &CCardIDDlg::OnCbnSelchangeComboCardid) -ON_BN_CLICKED(IDOK, &CCardIDDlg::OnBnClickedOk) -//ON_WM_CTLCOLOR() -ON_BN_CLICKED(IDC_CHECK_MCNT_ENABLE, &CCardIDDlg::OnMCounterEnable) -END_MESSAGE_MAP() - - -// CCardIDDlg message handlers -void CCardIDDlg::OnMCounterEnable() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_MCNT_ENABLE ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_bMCountSts = 0x01; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_bMCountSts = 0x00; - } -} - -void CCardIDDlg::OnBnClickedOk() -{ - // TODO: Add your control notification handler code here - int nIndex; - -// UpdateData(TRUE); - m_nCardIdx = m_cbCardID.GetCurSel(); - - nIndex = m_cbTrigMode.GetCurSel(); - - switch( nIndex ) - { - case 0: - m_wTrigMode = P9116_TRGMOD_MIDL; - break; - case 1: - m_wTrigMode = P9116_TRGMOD_PRE; - break; - } - - OnOK(); -} - -BOOL CCardIDDlg::OnInitDialog() -{ - CDialog::OnInitDialog(); - - // TODO: Add extra initialization here - m_cbCardID.SetCurSel( m_nCardIdx ); - - m_cbTrigMode.SetCurSel( 0 ); - - return TRUE; // return TRUE unless you set the focus to a control - // EXCEPTION: OCX Property Pages should return FALSE -} - -// the function to get the selected CardID -int CCardIDDlg::GetCardID(void) -{ - return m_nCardIdx; -} - -U16 CCardIDDlg::GetTrigMode(void) -{ - return m_wTrigMode; -} - -U8 CCardIDDlg::GetMCountSts(void) -{ - return m_bMCountSts; -} - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116MidTrg/CardIDDlg.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116MidTrg/CardIDDlg.h deleted file mode 100644 index 7651513..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116MidTrg/CardIDDlg.h +++ /dev/null @@ -1,38 +0,0 @@ -#pragma once -#include "afxwin.h" - -#include "Dask64.h" - -// CCardIDDlg dialog - -class CCardIDDlg : public CDialog -{ - DECLARE_DYNAMIC(CCardIDDlg) - -public: - CCardIDDlg(int nCardIdx, CWnd* pParent = NULL); // standard constructor - virtual ~CCardIDDlg(); - -// Dialog Data - enum { IDD = IDD_CARDID_DIALOG }; - -protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - - DECLARE_MESSAGE_MAP() -public: - virtual BOOL OnInitDialog(); - afx_msg void OnBnClickedOk(); - afx_msg void OnMCounterEnable(); - // the setting of CardID ComboBox - int m_nCardIdx; - U16 m_wTrigMode; - U8 m_bMCountSts; - // the control of CardID ComboBox - CComboBox m_cbCardID; - CComboBox m_cbTrigMode; - // the function to get the selected CardID - int GetCardID(void); - U16 GetTrigMode(void); - U8 GetMCountSts(void); -}; diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116MidTrg/ReadMe.txt b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116MidTrg/ReadMe.txt deleted file mode 100644 index c9d1dcb..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116MidTrg/ReadMe.txt +++ /dev/null @@ -1,93 +0,0 @@ -================================================================================ - MICROSOFT FOUNDATION CLASS LIBRARY : 9116SMTg Project Overview -=============================================================================== - -The application wizard has created this 9116SMTg application for -you. This application not only demonstrates the basics of using the Microsoft -Foundation Classes but is also a starting point for writing your application. - -This file contains a summary of what you will find in each of the files that -make up your 9116SMTg application. - -9116SMTg.vcproj - This is the main project file for VC++ projects generated using an application wizard. - It contains information about the version of Visual C++ that generated the file, and - information about the platforms, configurations, and project features selected with the - application wizard. - -9116SMTg.h - This is the main header file for the application. It includes other - project specific headers (including Resource.h) and declares the - C9116SMTgApp application class. - -9116SMTg.cpp - This is the main application source file that contains the application - class C9116SMTgApp. - -9116SMTg.rc - This is a listing of all of the Microsoft Windows resources that the - program uses. It includes the icons, bitmaps, and cursors that are stored - in the RES subdirectory. This file can be directly edited in Microsoft - Visual C++. Your project resources are in 1033. - -res\9116SMTg.ico - This is an icon file, which is used as the application's icon. This - icon is included by the main resource file 9116SMTg.rc. - -res\My9116SMTg.rc2 - This file contains resources that are not edited by Microsoft - Visual C++. You should place all resources not editable by - the resource editor in this file. - - -///////////////////////////////////////////////////////////////////////////// - -The application wizard creates one dialog class: - -9116SMTgDlg.h, 9116SMTgDlg.cpp - the dialog - These files contain your C9116SMTgDlg class. This class defines - the behavior of your application's main dialog. The dialog's template is - in 9116SMTg.rc, which can be edited in Microsoft Visual C++. - - -///////////////////////////////////////////////////////////////////////////// - -Other Features: - -ActiveX Controls - The application includes support to use ActiveX controls. - -///////////////////////////////////////////////////////////////////////////// - -Other standard files: - -StdAfx.h, StdAfx.cpp - These files are used to build a precompiled header (PCH) file - named 9116SMTg.pch and a precompiled types file named StdAfx.obj. - -Resource.h - This is the standard header file, which defines new resource IDs. - Microsoft Visual C++ reads and updates this file. - -9116SMTg.manifest - Application manifest files are used by Windows XP to describe an applications - dependency on specific versions of Side-by-Side assemblies. The loader uses this - information to load the appropriate assembly from the assembly cache or private - from the application. The Application manifest maybe included for redistribution - as an external .manifest file that is installed in the same folder as the application - executable or it may be included in the executable in the form of a resource. -///////////////////////////////////////////////////////////////////////////// - -Other notes: - -The application wizard uses "TODO:" to indicate parts of the source code you -should add to or customize. - -If your application uses MFC in a shared DLL, you will need -to redistribute the MFC DLLs. If your application is in a language -other than the operating system's locale, you will also have to -redistribute the corresponding localized resources MFC90XXX.DLL. -For more information on both of these topics, please see the section on -redistributing Visual C++ applications in MSDN documentation. - -///////////////////////////////////////////////////////////////////////////// diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116MidTrg/res/9116SMTg.ico b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116MidTrg/res/9116SMTg.ico deleted file mode 100644 index d56fbcd..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116MidTrg/res/9116SMTg.ico and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116MidTrg/res/My9116SMTg.rc2 b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116MidTrg/res/My9116SMTg.rc2 deleted file mode 100644 index 383cde2..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116MidTrg/res/My9116SMTg.rc2 +++ /dev/null @@ -1,13 +0,0 @@ -// -// My9111int.RC2 - resources Microsoft Visual C++ does not edit directly -// - -#ifdef APSTUDIO_INVOKED -#error this file is not editable by Microsoft Visual C++ -#endif //APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// Add manually edited resources here... - -///////////////////////////////////////////////////////////////////////////// diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116MidTrg/res/ch_set1.bmp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116MidTrg/res/ch_set1.bmp deleted file mode 100644 index f2374ed..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116MidTrg/res/ch_set1.bmp and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116MidTrg/res/ch_set2.bmp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116MidTrg/res/ch_set2.bmp deleted file mode 100644 index 32d0915..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116MidTrg/res/ch_set2.bmp and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116MidTrg/resource.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116MidTrg/resource.h deleted file mode 100644 index a75e68a..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116MidTrg/resource.h +++ /dev/null @@ -1,38 +0,0 @@ -//{{NO_DEPENDENCIES}} -// Microsoft Visual C++ generated include file. -// Used by 9116SMTg.rc -// -#define IDM_ABOUTBOX 0x0010 -#define IDD_ABOUTBOX 100 -#define IDS_ABOUTBOX 101 -#define IDD_9116DMA_DIALOG 102 -#define IDR_MAINFRAME 128 -#define IDD_CARDID_DIALOG 129 -#define IDB_BITMAP_SET1 131 -#define IDB_BITMAP_SET2 132 -#define IDC_STATIC_DRAW 1000 -#define IDC_COMBO_CARDID 1001 -#define IDC_BT_START 1002 -#define IDC_COMBO_CARDTYPE 1002 -#define IDC_EDIT_SAMPLE_RATE 1003 -#define IDC_SCROLLBAR_RATE 1004 -#define IDC_STATIC_01 1005 -#define IDC_EDIT_BUF_SIZE 1006 -#define IDC_STATIC_2 1007 -#define IDC_BT_STOP 1008 -#define IDC_EDIT_BUF_SIZE2 1009 -#define IDC_EDIT_TRACE_CNT 1010 -#define IDC_STATIC_TRACE_CNT 1011 -#define IDC_CHECK_MCNT_ENABLE 1012 -#define IDC_EDIT_M_COUNTER 1013 - -// Next default values for new objects -// -#ifdef APSTUDIO_INVOKED -#ifndef APSTUDIO_READONLY_SYMBOLS -#define _APS_NEXT_RESOURCE_VALUE 134 -#define _APS_NEXT_COMMAND_VALUE 32771 -#define _APS_NEXT_CONTROL_VALUE 1014 -#define _APS_NEXT_SYMED_VALUE 103 -#endif -#endif diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116MidTrg/stdafx.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116MidTrg/stdafx.cpp deleted file mode 100644 index ef80626..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116MidTrg/stdafx.cpp +++ /dev/null @@ -1,8 +0,0 @@ - -// stdafx.cpp : source file that includes just the standard includes -// 9111int.pch will be the pre-compiled header -// stdafx.obj will contain the pre-compiled type information - -#include "stdafx.h" - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116MidTrg/stdafx.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116MidTrg/stdafx.h deleted file mode 100644 index 12123e2..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116MidTrg/stdafx.h +++ /dev/null @@ -1,60 +0,0 @@ - -// stdafx.h : include file for standard system include files, -// or project specific include files that are used frequently, -// but are changed infrequently - -#pragma once - -#ifndef _SECURE_ATL -#define _SECURE_ATL 1 -#endif - -#ifndef VC_EXTRALEAN -#define VC_EXTRALEAN // Exclude rarely-used stuff from Windows headers -#endif - -#include "targetver.h" - -#define _ATL_CSTRING_EXPLICIT_CONSTRUCTORS // some CString constructors will be explicit - -// turns off MFC's hiding of some common and often safely ignored warning messages -#define _AFX_ALL_WARNINGS - -#include // MFC core and standard components -#include // MFC extensions - - -#include // MFC Automation classes - - - -#ifndef _AFX_NO_OLE_SUPPORT -#include // MFC support for Internet Explorer 4 Common Controls -#endif -#ifndef _AFX_NO_AFXCMN_SUPPORT -#include // MFC support for Windows Common Controls -#endif // _AFX_NO_AFXCMN_SUPPORT - -#include // MFC support for ribbons and control bars - - - - - - - - - -#ifdef _UNICODE -#if defined _M_IX86 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='x86' publicKeyToken='6595b64144ccf1df' language='*'\"") -#elif defined _M_IA64 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='ia64' publicKeyToken='6595b64144ccf1df' language='*'\"") -#elif defined _M_X64 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='amd64' publicKeyToken='6595b64144ccf1df' language='*'\"") -#else -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='*' publicKeyToken='6595b64144ccf1df' language='*'\"") -#endif -#endif - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116MidTrg/targetver.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116MidTrg/targetver.h deleted file mode 100644 index 11730d5..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116MidTrg/targetver.h +++ /dev/null @@ -1,26 +0,0 @@ - -#pragma once - -// The following macros define the minimum required platform. The minimum required platform -// is the earliest version of Windows, Internet Explorer etc. that has the necessary features to run -// your application. The macros work by enabling all features available on platform versions up to and -// including the version specified. - -// Modify the following defines if you have to target a platform prior to the ones specified below. -// Refer to MSDN for the latest info on corresponding values for different platforms. -#ifndef WINVER // Specifies that the minimum required platform is Windows Vista. -#define WINVER 0x0600 // Change this to the appropriate value to target other versions of Windows. -#endif - -#ifndef _WIN32_WINNT // Specifies that the minimum required platform is Windows Vista. -#define _WIN32_WINNT 0x0600 // Change this to the appropriate value to target other versions of Windows. -#endif - -#ifndef _WIN32_WINDOWS // Specifies that the minimum required platform is Windows 98. -#define _WIN32_WINDOWS 0x0410 // Change this to the appropriate value to target Windows Me or later. -#endif - -#ifndef _WIN32_IE // Specifies that the minimum required platform is Internet Explorer 7.0. -#define _WIN32_IE 0x0700 // Change this to the appropriate value to target other versions of IE. -#endif - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116PostTrg/9111int.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116PostTrg/9111int.suo deleted file mode 100644 index 8a4412a..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116PostTrg/9111int.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116PostTrg/9116SPTg.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116PostTrg/9116SPTg.cpp deleted file mode 100644 index ef714a0..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116PostTrg/9116SPTg.cpp +++ /dev/null @@ -1,111 +0,0 @@ - -// 9116SPTg.cpp : Defines the class behaviors for the application. -// - -#include "stdafx.h" -#include "9116SPTg.h" -#include "9116SPTgDlg.h" -#include "CardIDDlg.h" - -#ifdef _DEBUG -#define new DEBUG_NEW -#endif - - -// C9116SPTgApp - -BEGIN_MESSAGE_MAP(C9116SPTgApp, CWinAppEx) - ON_COMMAND(ID_HELP, &CWinApp::OnHelp) -END_MESSAGE_MAP() - - -// C9116SPTgApp construction - -C9116SPTgApp::C9116SPTgApp() -{ - // TODO: add construction code here, - // Place all significant initialization in InitInstance -} - - -// The one and only C9116SPTgApp object - -C9116SPTgApp theApp; - - -// C9116SPTgApp initialization - -BOOL C9116SPTgApp::InitInstance() -{ - int nCardID = 0; - I16 hCard; - U16 wAIMode; - CString strTemp; - INT_PTR nResponse; - - // InitCommonControlsEx() is required on Windows XP if an application - // manifest specifies use of ComCtl32.dll version 6 or later to enable - // visual styles. Otherwise, any window creation will fail. - INITCOMMONCONTROLSEX InitCtrls; - InitCtrls.dwSize = sizeof(InitCtrls); - // Set this to include all the common control classes you want to use - // in your application. - InitCtrls.dwICC = ICC_WIN95_CLASSES; - InitCommonControlsEx(&InitCtrls); - - CWinAppEx::InitInstance(); - - AfxEnableControlContainer(); - - // Standard initialization - // If you are not using these features and wish to reduce the size - // of your final executable, you should remove from the following - // the specific initialization routines you do not need - // Change the registry key under which our settings are stored - // TODO: You should modify this string to be something appropriate - // such as the name of your company or organization - SetRegistryKey(_T("Local AppWizard-Generated Applications")); - - CCardIDDlg CardDlg( nCardID ); - - nResponse = CardDlg.DoModal(); - if (nResponse == IDOK) - { - nCardID = CardDlg.GetCardID(); - wAIMode = CardDlg.GetAIMode(); - - if ((hCard=Register_Card(PCI_9116, nCardID)) < 0) - { - strTemp.Format( TEXT("Register_Card Error = %d"), hCard); - AfxMessageBox( strTemp ); - } - else - { - C9116SPTgDlg dlg(hCard, wAIMode); - m_pMainWnd = &dlg; - nResponse = dlg.DoModal(); - if (nResponse == IDOK) - { - // TODO: Place code here to handle when the dialog is - // dismissed with OK - } - else if (nResponse == IDCANCEL) - { - // TODO: Place code here to handle when the dialog is - // dismissed with Cancel - } - - if (hCard >= 0) Release_Card(hCard); - } - - } - else if (nResponse == IDCANCEL) - { - // TODO: Place code here to handle when the dialog is - // dismissed with Cancel - } - - // Since the dialog has been closed, return FALSE so that we exit the - // application, rather than start the application's message pump. - return FALSE; -} diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116PostTrg/9116SPTg.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116PostTrg/9116SPTg.h deleted file mode 100644 index 42f4d47..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116PostTrg/9116SPTg.h +++ /dev/null @@ -1,34 +0,0 @@ - -// 9116SPTg.h : main header file for the PROJECT_NAME application -// - -#pragma once - -#ifndef __AFXWIN_H__ - #error "include 'stdafx.h' before including this file for PCH" -#endif - -#include "resource.h" // main symbols - -#define AI_MODE_DMA 0 -#define AI_MODE_INT 1 - -// C9116SPTgApp: -// See 9116SPTg.cpp for the implementation of this class -// - -class C9116SPTgApp : public CWinAppEx -{ -public: - C9116SPTgApp(); - -// Overrides - public: - virtual BOOL InitInstance(); - -// Implementation - - DECLARE_MESSAGE_MAP() -}; - -extern C9116SPTgApp theApp; \ No newline at end of file diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116PostTrg/9116SPTg.rc b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116PostTrg/9116SPTg.rc deleted file mode 100644 index c9b1368..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116PostTrg/9116SPTg.rc +++ /dev/null @@ -1,304 +0,0 @@ -// Microsoft Visual C++ generated resource script. -// -#include "resource.h" - -#define APSTUDIO_READONLY_SYMBOLS -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 2 resource. -// -#ifndef APSTUDIO_INVOKED -#include "targetver.h" -#endif -#include "afxres.h" - -///////////////////////////////////////////////////////////////////////////// -#undef APSTUDIO_READONLY_SYMBOLS - -///////////////////////////////////////////////////////////////////////////// -// Chinese (Taiwan) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_CHT) -#ifdef _WIN32 -LANGUAGE LANG_CHINESE, SUBLANG_CHINESE_TRADITIONAL -#pragma code_page(950) -#endif //_WIN32 - -#ifdef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// TEXTINCLUDE -// - -1 TEXTINCLUDE -BEGIN - "resource.h\0" -END - -2 TEXTINCLUDE -BEGIN - "#ifndef APSTUDIO_INVOKED\r\n" - "#include ""targetver.h""\r\n" - "#endif\r\n" - "#include ""afxres.h""\r\n" - "\0" -END - -3 TEXTINCLUDE -BEGIN - "#define _AFX_NO_SPLITTER_RESOURCES\r\n" - "#define _AFX_NO_OLE_RESOURCES\r\n" - "#define _AFX_NO_TRACKER_RESOURCES\r\n" - "#define _AFX_NO_PROPERTY_RESOURCES\r\n" - "\r\n" - "#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)\r\n" - "LANGUAGE 9, 1\r\n" - "#pragma code_page(1252)\r\n" - "#include ""res\\My9116SPTg.rc2"" // non-Microsoft Visual C++ edited resources\r\n" - "#include ""afxres.rc"" // Standard components\r\n" - "#endif\r\n" - "\0" -END - -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// Icon -// - -// Icon with lowest ID value placed first to ensure application icon -// remains consistent on all systems. -IDR_MAINFRAME ICON "res\\9116SPTg.ico" -#endif // Chinese (Taiwan) resources -///////////////////////////////////////////////////////////////////////////// - - -///////////////////////////////////////////////////////////////////////////// -// English (U.S.) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -#ifdef _WIN32 -LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US -#pragma code_page(1252) -#endif //_WIN32 - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog -// - -IDD_ABOUTBOX DIALOGEX 0, 0, 170, 62 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "About 9116SPTg" -FONT 8, "MS Shell Dlg", 0, 0, 0x1 -BEGIN - ICON IDR_MAINFRAME,IDC_STATIC,14,14,21,20 - LTEXT "9116SPTg, Version 1.0",IDC_STATIC,42,14,114,8,SS_NOPREFIX - LTEXT "Copyright (C) 2010",IDC_STATIC,42,26,114,8 - DEFPUSHBUTTON "OK",IDOK,113,41,50,14,WS_GROUP -END - -IDD_9116DMA_DIALOG DIALOGEX 0, 0, 365, 232 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU -EXSTYLE WS_EX_APPWINDOW -CAPTION "PCI-9116 Single Buffer DMA by Post Trigger Mode" -FONT 8, "MS Shell Dlg", 0, 0, 0x1 -BEGIN - GROUPBOX "",IDC_STATIC_DRAW,45,9,248,161,NOT WS_VISIBLE - LTEXT "Range : +/- 5V",IDC_STATIC,299,129,52,15 - LTEXT "Scan Count",IDC_STATIC,97,183,42,9 - EDITTEXT IDC_EDIT_SAMPLE_RATE,20,196,39,14,ES_AUTOHSCROLL | ES_READONLY - LTEXT "Scan Interval:",IDC_STATIC,20,182,49,9 - SCROLLBAR IDC_SCROLLBAR_RATE,60,196,9,11,SBS_VERT - PUSHBUTTON "Start",IDC_BT_START,230,188,55,22 - CONTROL "CH0",IDC_RADIO_CH0,"Button",BS_AUTORADIOBUTTON,303,44,48,12 - CONTROL "CH0-CH1",IDC_RADIO_CH1,"Button",BS_AUTORADIOBUTTON,303,59,48,12 - CONTROL "CH0-CH2",IDC_RADIO_CH2,"Button",BS_AUTORADIOBUTTON,303,73,48,12 - CONTROL "CH0-CH3",IDC_RADIO_CH3,"Button",BS_AUTORADIOBUTTON,303,87,48,12 - EDITTEXT IDC_EDIT_BUF_SIZE,95,196,46,14,ES_AUTOHSCROLL - PUSHBUTTON "Stop",IDC_BT_STOP,291,188,55,22 - LTEXT "ReTrig Count",IDC_STATIC_TRACE_CNT,154,182,59,9,NOT WS_VISIBLE - EDITTEXT IDC_EDIT_TRACE_CNT,157,195,46,14,ES_AUTOHSCROLL | NOT WS_VISIBLE - LTEXT "No. of Channels",IDC_STATIC,299,27,52,11 -END - -IDD_CARDID_DIALOG DIALOGEX 0, 0, 174, 115 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "Card ID" -FONT 8, "MS Shell Dlg", 400, 0, 0x1 -BEGIN - COMBOBOX IDC_COMBO_CARDID,82,24,71,126,CBS_DROPDOWN | WS_VSCROLL | WS_TABSTOP - LTEXT "Card Number",IDC_STATIC_01,26,25,46,12 - PUSHBUTTON "OK",IDOK,22,79,58,19 - PUSHBUTTON "CANCEL",IDCANCEL,86,79,58,19 - COMBOBOX IDC_COMBO_CARDTYPE,82,46,71,126,CBS_DROPDOWN | WS_VSCROLL | WS_TABSTOP - LTEXT "Analog Input Mode",IDC_STATIC_2,9,47,64,12 -END - - -///////////////////////////////////////////////////////////////////////////// -// -// Version -// - -VS_VERSION_INFO VERSIONINFO - FILEVERSION 1,0,0,1 - PRODUCTVERSION 1,0,0,1 - FILEFLAGSMASK 0x3fL -#ifdef _DEBUG - FILEFLAGS 0x1L -#else - FILEFLAGS 0x0L -#endif - FILEOS 0x4L - FILETYPE 0x1L - FILESUBTYPE 0x0L -BEGIN - BLOCK "StringFileInfo" - BEGIN - BLOCK "040904e4" - BEGIN - VALUE "CompanyName", "TODO: " - VALUE "FileDescription", "TODO: " - VALUE "FileVersion", "1.0.0.1" - VALUE "InternalName", "9116SPTg.exe" - VALUE "LegalCopyright", "TODO: (c) . All rights reserved." - VALUE "OriginalFilename", "9116SPTg.exe" - VALUE "ProductName", "TODO: " - VALUE "ProductVersion", "1.0.0.1" - END - END - BLOCK "VarFileInfo" - BEGIN - VALUE "Translation", 0x409, 1252 - END -END - - -///////////////////////////////////////////////////////////////////////////// -// -// DESIGNINFO -// - -#ifdef APSTUDIO_INVOKED -GUIDELINES DESIGNINFO -BEGIN - IDD_ABOUTBOX, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 163 - TOPMARGIN, 7 - BOTTOMMARGIN, 55 - END - - IDD_9116DMA_DIALOG, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 358 - TOPMARGIN, 7 - BOTTOMMARGIN, 225 - END - - IDD_CARDID_DIALOG, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 167 - TOPMARGIN, 7 - BOTTOMMARGIN, 108 - END -END -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog Info -// - -IDD_CARDID_DIALOG DLGINIT -BEGIN - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0030, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0031, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0032, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0033, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0034, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0035, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0036, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0037, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0038, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0039, - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3031, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3131, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3231, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3331, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3431, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3531, "\000" - IDC_COMBO_CARDTYPE, 0x403, 4, 0 -0x4d44, 0x0041, - IDC_COMBO_CARDTYPE, 0x403, 4, 0 -0x4e49, 0x0054, - 0 -END - - -///////////////////////////////////////////////////////////////////////////// -// -// Bitmap -// - -IDB_BITMAP_SET1 BITMAP "res\\ch_set1.bmp" -IDB_BITMAP_SET2 BITMAP "res\\ch_set2.bmp" - -///////////////////////////////////////////////////////////////////////////// -// -// String Table -// - -STRINGTABLE -BEGIN - IDS_ABOUTBOX "&About 9116SPTg..." -END - -#endif // English (U.S.) resources -///////////////////////////////////////////////////////////////////////////// - - - -#ifndef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 3 resource. -// -#define _AFX_NO_SPLITTER_RESOURCES -#define _AFX_NO_OLE_RESOURCES -#define _AFX_NO_TRACKER_RESOURCES -#define _AFX_NO_PROPERTY_RESOURCES - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -LANGUAGE 9, 1 -#pragma code_page(1252) -#include "res\My9116SPTg.rc2" // non-Microsoft Visual C++ edited resources -#include "afxres.rc" // Standard components -#endif - -///////////////////////////////////////////////////////////////////////////// -#endif // not APSTUDIO_INVOKED - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116PostTrg/9116SPTg.sln b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116PostTrg/9116SPTg.sln deleted file mode 100644 index 08bc34a..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116PostTrg/9116SPTg.sln +++ /dev/null @@ -1,20 +0,0 @@ - -Microsoft Visual Studio Solution File, Format Version 10.00 -# Visual Studio 2008 -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "9116SPTg", "9116SPTg.vcproj", "{702163FB-B6DF-4EF5-9491-FC54D71509BC}" -EndProject -Global - GlobalSection(SolutionConfigurationPlatforms) = preSolution - Debug|x64 = Debug|x64 - Release|x64 = Release|x64 - EndGlobalSection - GlobalSection(ProjectConfigurationPlatforms) = postSolution - {702163FB-B6DF-4EF5-9491-FC54D71509BC}.Debug|x64.ActiveCfg = Debug|x64 - {702163FB-B6DF-4EF5-9491-FC54D71509BC}.Debug|x64.Build.0 = Debug|x64 - {702163FB-B6DF-4EF5-9491-FC54D71509BC}.Release|x64.ActiveCfg = Release|x64 - {702163FB-B6DF-4EF5-9491-FC54D71509BC}.Release|x64.Build.0 = Release|x64 - EndGlobalSection - GlobalSection(SolutionProperties) = preSolution - HideSolutionNode = FALSE - EndGlobalSection -EndGlobal diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116PostTrg/9116SPTg.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116PostTrg/9116SPTg.suo deleted file mode 100644 index fd2cb36..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116PostTrg/9116SPTg.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116PostTrg/9116SPTg.vcproj b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116PostTrg/9116SPTg.vcproj deleted file mode 100644 index 14c4174..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116PostTrg/9116SPTg.vcproj +++ /dev/null @@ -1,294 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116PostTrg/9116SPTgDlg.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116PostTrg/9116SPTgDlg.cpp deleted file mode 100644 index 2ed8ad3..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116PostTrg/9116SPTgDlg.cpp +++ /dev/null @@ -1,597 +0,0 @@ - -// 9116SPTgDlg.cpp : implementation file -// - -#include "stdafx.h" -#include "9116SPTg.h" -#include "9116SPTgDlg.h" - -#ifdef _DEBUG -#define new DEBUG_NEW -#endif - -CRect plotRect; - -// CAboutDlg dialog used for App About - -class CAboutDlg : public CDialog -{ -public: - CAboutDlg(); - -// Dialog Data - enum { IDD = IDD_ABOUTBOX }; - - protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - -// Implementation -protected: - DECLARE_MESSAGE_MAP() -}; - -CAboutDlg::CAboutDlg() : CDialog(CAboutDlg::IDD) -{ -} - -void CAboutDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); -} - -BEGIN_MESSAGE_MAP(CAboutDlg, CDialog) -END_MESSAGE_MAP() - - -// C9116SPTgDlg dialog - - - - -C9116SPTgDlg::C9116SPTgDlg(I16 hCard, U16 wAIMode, CWnd* pParent /*=NULL*/) - : CDialog(C9116SPTgDlg::IDD, pParent) -{ - m_hIcon = AfxGetApp()->LoadIcon(IDR_MAINFRAME); - - n_PlotWidth = n_PlotHeight = -1; - OnBrush = OffBrush = NULL; - - min_val = 0x00; - max_val = 0x0FFF; - - m_dwScanIntrv = 240; - - m_hCard = hCard; - m_wAIMode = wAIMode; - - m_wScanChans = 0; - m_nTimer = -1; - m_hMem=NULL; - - m_wRange = AD_B_5_V; - m_dwReadCount = 2048; - m_wReTrigger = 1; - m_wScanChans = 0; - -} - -void C9116SPTgDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); -} - -BEGIN_MESSAGE_MAP(C9116SPTgDlg, CDialog) - ON_WM_SYSCOMMAND() - ON_WM_PAINT() - ON_WM_QUERYDRAGICON() - //}}AFX_MSG_MAP - ON_WM_DESTROY() - ON_WM_VSCROLL() - ON_BN_CLICKED(IDC_BT_START, &C9116SPTgDlg::OnStart) - ON_BN_CLICKED(IDC_RADIO_CH0, &C9116SPTgDlg::OnCh0) - ON_BN_CLICKED(IDC_RADIO_CH1, &C9116SPTgDlg::OnCh1) - ON_BN_CLICKED(IDC_RADIO_CH2, &C9116SPTgDlg::OnCh2) - ON_BN_CLICKED(IDC_RADIO_CH3, &C9116SPTgDlg::OnCh3) - ON_WM_TIMER() - ON_BN_CLICKED(IDC_BT_STOP, &C9116SPTgDlg::OnStop) -END_MESSAGE_MAP() - - -// C9116SPTgDlg message handlers - -BOOL C9116SPTgDlg::OnInitDialog() -{ - CDialog::OnInitDialog(); - - // Add "About..." menu item to system menu. - - // IDM_ABOUTBOX must be in the system command range. - ASSERT((IDM_ABOUTBOX & 0xFFF0) == IDM_ABOUTBOX); - ASSERT(IDM_ABOUTBOX < 0xF000); - - CMenu* pSysMenu = GetSystemMenu(FALSE); - if (pSysMenu != NULL) - { - BOOL bNameValid; - CString strAboutMenu; - bNameValid = strAboutMenu.LoadString(IDS_ABOUTBOX); - ASSERT(bNameValid); - if (!strAboutMenu.IsEmpty()) - { - pSysMenu->AppendMenu(MF_SEPARATOR); - pSysMenu->AppendMenu(MF_STRING, IDM_ABOUTBOX, strAboutMenu); - } - } - - // Set the icon for this dialog. The framework does this automatically - // when the application's main window is not a dialog - SetIcon(m_hIcon, TRUE); // Set big icon - SetIcon(m_hIcon, FALSE); // Set small icon - - // TODO: Add extra initialization here - x_divider = 5; y_divider = 4; - - OnBrush = CreateSolidBrush( RGB(255,0,0) ); - OffBrush = CreateSolidBrush( RGB(125,0,0) ); - - RedPen.CreatePen( PS_SOLID, 1, RGB(255,0,0)); - GreenPen.CreatePen( PS_SOLID, 1, RGB(0,255,0)); - YellowPen.CreatePen( PS_SOLID, 1, RGB(255,255,0)); - BluePen.CreatePen( PS_SOLID, 1, RGB(0,0,255)); - - - if( n_PlotWidth == -1 && n_PlotHeight == -1 ) - { - ((CWnd*)GetDlgItem(IDC_STATIC_DRAW))->GetWindowRect(&plotRect); - ScreenToClient(&plotRect); - - n_PlotWidth = min( plotRect.Width(), 512); - n_PlotHeight = plotRect.Height() - 10; - } - - GetDlgItem( IDC_STATIC_TRACE_CNT )->ShowWindow(TRUE); - GetDlgItem( IDC_EDIT_TRACE_CNT )->ShowWindow(TRUE); - - // set the default SampleRate - SetDlgItemInt( IDC_EDIT_SAMPLE_RATE, (UINT)(m_dwScanIntrv) ); - SetDlgItemInt( IDC_EDIT_BUF_SIZE, (UINT)(m_dwReadCount) ); - SetDlgItemInt( IDC_EDIT_TRACE_CNT, (UINT)(m_wReTrigger) ); - - ((CButton*)GetDlgItem( IDC_RADIO_CH0 ))->SetCheck( TRUE ); - - max_range = 5.0; - min_range = -5.0; - - return TRUE; // return TRUE unless you set the focus to a control -} - -void C9116SPTgDlg::OnSysCommand(UINT nID, LPARAM lParam) -{ - if ((nID & 0xFFF0) == IDM_ABOUTBOX) - { - CAboutDlg dlgAbout; - dlgAbout.DoModal(); - } - else - { - CDialog::OnSysCommand(nID, lParam); - } -} - -// If you add a minimize button to your dialog, you will need the code below -// to draw the icon. For MFC applications using the document/view model, -// this is automatically done for you by the framework. - -void C9116SPTgDlg::OnPaint() -{ - if (IsIconic()) - { - CPaintDC dc(this); // device context for painting - - SendMessage(WM_ICONERASEBKGND, reinterpret_cast(dc.GetSafeHdc()), 0); - - // Center icon in client rectangle - int cxIcon = GetSystemMetrics(SM_CXICON); - int cyIcon = GetSystemMetrics(SM_CYICON); - CRect rect; - GetClientRect(&rect); - int x = (rect.Width() - cxIcon + 1) / 2; - int y = (rect.Height() - cyIcon + 1) / 2; - - // Draw the icon - dc.DrawIcon(x, y, m_hIcon); - } - else - { - redraw_display_area(); - CDialog::OnPaint(); - } -} - -// The system calls this function to obtain the cursor to display while the user drags -// the minimized window. -HCURSOR C9116SPTgDlg::OnQueryDragIcon() -{ - return static_cast(m_hIcon); -} - - -void C9116SPTgDlg::redraw_display_area(void) -{ - CPen *oldPen; - - int oldMode; - COLORREF oldColor; - - CString y_lable; - - CPen minor_tick( PS_SOLID,1,RGB(132,130,132) ); -// CPen y_grid( PS_SOLID,1,RGB(206,203,132) ); - - int i, x_intv, y_intv; -// long total_sec; - - CClientDC dc_plot(this); - - // draw the base-line for x-y axises - oldPen = (CPen *)dc_plot.SelectStockObject(BLACK_PEN); - - // redraw the background - dc_plot.FillSolidRect( plotRect, RGB(0,0,0) ); - - // Re-Draw the AREA for Y-Lable - { - CBrush DIALOG_BRUSH; - CRect redraw_area, full_client; - - GetClientRect(&full_client); - ScreenToClient(&full_client); - - redraw_area.left = full_client.left; - redraw_area.top = plotRect.top - 5; - redraw_area.right = plotRect.left - 3; - redraw_area.bottom = plotRect.bottom + 10; - - DIALOG_BRUSH.CreateSysColorBrush( COLOR_3DFACE ); - - dc_plot.FillRect( redraw_area, &DIALOG_BRUSH ); - - DIALOG_BRUSH.DeleteObject(); - } - - dc_plot.MoveTo( plotRect.left - 3, plotRect.top ); - dc_plot.LineTo( plotRect.left - 3, plotRect.bottom ); - - // calculate the interval for tick/grid - y_intv = (plotRect.Height() - 10) /y_divider; - x_intv = plotRect.Width()/x_divider; - - - // set the color for tick - oldColor = dc_plot.SetTextColor( RGB(0,0,0) ); - oldMode = dc_plot.SetBkMode( TRANSPARENT ); - - for( i=0; i<= y_divider; i++ ) - { - CString tick_str; - CRect tmp_rect, tick_rect; - - // draw the tick for y-axis - dc_plot.MoveTo( plotRect.left -12, plotRect.bottom -5 - (i*y_intv) ); - dc_plot.LineTo( plotRect.left -3, plotRect.bottom -5 - (i*y_intv) ); - - tick_str.Format( _T("%.1f"), ( ((max_range-min_range)/y_divider) * i)+min_range ); - - // calculate the rectangle for text - dc_plot.DrawText( tick_str, &tmp_rect, DT_CALCRECT|DT_SINGLELINE ); - tick_rect.right = plotRect.left -14; - tick_rect.left = tick_rect.right - tmp_rect.Width(); - tick_rect.top = plotRect.bottom -5 - (i*y_intv) - tmp_rect.Height()/2; - tick_rect.bottom = tick_rect.top + tmp_rect.Height(); - - // draw the text - dc_plot.DrawText( tick_str, &tick_rect, DT_SINGLELINE|DT_RIGHT ); - - } - - // draw the minor_tick for Y axises - dc_plot.SelectObject(&minor_tick); - for( i=0; i< y_divider; i++ ) - { - dc_plot.MoveTo( plotRect.left -9, plotRect.bottom -5 - (i*y_intv) - y_intv/2 ); - dc_plot.LineTo( plotRect.left -4, plotRect.bottom -5 - (i*y_intv) - y_intv/2 ); - } - - dc_plot.SetTextColor( oldColor ); - dc_plot.SetBkMode( oldMode ); - dc_plot.SelectObject( oldPen ); -} - -void C9116SPTgDlg::OnDestroy() -{ - CDialog::OnDestroy(); - - // TODO: Add your message handler code here - if( m_nTimer != -1 ) - { - KillTimer( m_nTimer ); - m_nTimer = -1; - } - - if (m_hMem != NULL) - { - GlobalUnfix(m_hMem); - GlobalUnlock(m_hMem); - GlobalFree(m_hMem); - - m_hMem = NULL; - } - - if( OnBrush != NULL ) - ::DeleteObject( OnBrush ); - - if( OffBrush != NULL ) - ::DeleteObject( OffBrush ); - - RedPen.DeleteObject(); - GreenPen.DeleteObject(); - YellowPen.DeleteObject(); - BluePen.DeleteObject(); - -} - -void C9116SPTgDlg::OnVScroll(UINT nSBCode, UINT nPos, CScrollBar* pScrollBar) -{ - // TODO: Add your message handler code here and/or call default - switch ( nSBCode ) - { - case SB_LINEUP : - m_dwScanIntrv += 240; - if (m_dwScanIntrv > 24000 ) m_dwScanIntrv = 24000; - break; - case SB_LINEDOWN: - m_dwScanIntrv -= 240; - if (m_dwScanIntrv < 240 ) m_dwScanIntrv = 240; - break; - } - - SetDlgItemInt( IDC_EDIT_SAMPLE_RATE, (UINT)(m_dwScanIntrv) ); - - CDialog::OnVScroll(nSBCode, nPos, pScrollBar); -} - - -void C9116SPTgDlg::OnStop() -{ - // TODO: Add your control notification handler code here - U32 count; - - - AI_AsyncClear(m_hCard, &count); - - if( m_nTimer != -1 ) - { - KillTimer( m_nTimer ); - m_nTimer = -1; - } - - GetDlgItem( IDC_BT_START )->EnableWindow(TRUE); -} - -void C9116SPTgDlg::OnStart() -{ - // TODO: Add your control notification handler code here - DWORD mem_size; - CString strTemp; - I16 err; - - GetDlgItem( IDC_BT_START )->EnableWindow(FALSE); - - m_dwReadCount = GetDlgItemInt(IDC_EDIT_BUF_SIZE); - m_wReTrigger = GetDlgItemInt(IDC_EDIT_TRACE_CNT); - - if (m_wReTrigger < 1) - { - AfxMessageBox( TEXT("trgCount must be >= 1") ); - return; - } - - if (m_hMem != NULL) - { - GlobalUnfix(m_hMem); - GlobalUnlock(m_hMem); - GlobalFree(m_hMem); - - m_hMem = NULL; - } - - // allocate a memory for user DMA buffer - mem_size = m_dwReadCount * (m_wScanChans+1) * sizeof(I16) * m_wReTrigger; - - m_hMem = GlobalAlloc(GMEM_ZEROINIT, mem_size); - m_pAIBuf = (U16*) GlobalLock(m_hMem); - if (m_pAIBuf == NULL ) - { - AfxMessageBox( TEXT("Memory allocation failed") ); - return; - } - - GlobalFix(m_hMem); - - m_oldY[0] = m_oldY[1] = m_oldY[2] = m_oldY[3] = -1; - m_oldX[0] = m_oldX[1] = m_oldX[2] = m_oldX[3] = -1; - - - if( m_wAIMode == AI_MODE_DMA ) - err = AI_9116_Config(m_hCard, 0, P9116_AI_DMA, 0, 0, 0); - else - err = AI_9116_Config(m_hCard, 0, P9116_AI_INT, 0, 0, 0); - if (err!=0) - { - strTemp.Format( TEXT("AI_9116_Config error=%d"), err); - AfxMessageBox( strTemp ); - } - - - err = AI_AsyncDblBufferMode(m_hCard, 0); // single-buffer mode - if (err!=0) - { - strTemp.Format( TEXT("AI_DblBufferMode error=%d"), err); - AfxMessageBox( strTemp ); - } - - err = AI_9116_CounterInterval (m_hCard, m_dwScanIntrv*(m_wScanChans+1), m_dwScanIntrv); - if (err!=0) - { - strTemp.Format( TEXT("AI_9116_CounterInterval error=%d"), err); - AfxMessageBox( strTemp ); - } - - err = AI_ContScanChannels (m_hCard, m_wScanChans, m_wRange, (U16*)m_pAIBuf, m_wReTrigger*(m_dwReadCount), (F64)1, ASYNCH_OP); - if (err!=0) - { - strTemp.Format( TEXT("AI_ContReadChannel error=%d"), err); - AfxMessageBox( strTemp ); - } - - m_nTimer = SetTimer( 1, 20, NULL ); - -} - -int C9116SPTgDlg::display_buffer_data(U16* pBuf, U32 dwDataNum) -{ - CClientDC dc_plot(this); - int nDraw_Origin_Y; - int cur_channel; - - int newY = -1; - int newX = -1; - U32 index; - I16 ai_data; - - // redraw the background - dc_plot.FillSolidRect( plotRect, RGB(0,0,0) ); - - dc_plot.SelectObject(&RedPen); - nDraw_Origin_Y = ( plotRect.bottom - 5 ) - n_PlotHeight/2; - - for( index=0; index> 16) ); // ( n_PlotHeight * ai_data / 65536) ); // ( (n_PlotHeight/2) * ai_data/32768 ) ); - - newX = (int)( index*n_PlotWidth/dwDataNum + plotRect.left ); - - switch(cur_channel) - { - case 0: - dc_plot.SelectObject(&YellowPen); - break; - case 1: - dc_plot.SelectObject(&GreenPen); - break; - case 2: - dc_plot.SelectObject(&BluePen); - break; - case 3: - dc_plot.SelectObject(&RedPen); - break; - } - - if ( m_oldX[cur_channel] == -1 ) - { - dc_plot.MoveTo( newX, newY ); - } - else - { - dc_plot.MoveTo( m_oldX[cur_channel], m_oldY[cur_channel] ); - dc_plot.LineTo( newX, newY ); - } - - m_oldX[cur_channel] = newX; - m_oldY[cur_channel] = newY; - - } - - return 0; -} - -void C9116SPTgDlg::OnTimer(UINT_PTR nIDEvent) -{ - // TODO: Add your message handler code here and/or call default - BOOLEAN fstop; - U32 count; - - AI_AsyncCheck(m_hCard, &fstop, &count); - - if( fstop == TRUE ) - { - AI_AsyncClear(m_hCard, &count); - - KillTimer( m_nTimer ); - m_nTimer = -1; - - display_buffer_data( m_pAIBuf, count ); - - GetDlgItem( IDC_BT_START )->EnableWindow(TRUE); - } - - CDialog::OnTimer(nIDEvent); -} - -void C9116SPTgDlg::OnCh0() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_RADIO_CH0 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_wScanChans = 0; - } - -} - -void C9116SPTgDlg::OnCh1() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_RADIO_CH1 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_wScanChans = 1; - } -} - -void C9116SPTgDlg::OnCh2() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_RADIO_CH2 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_wScanChans = 2; - } -} - -void C9116SPTgDlg::OnCh3() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_RADIO_CH3 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_wScanChans = 3; - } -} - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116PostTrg/9116SPTgDlg.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116PostTrg/9116SPTgDlg.h deleted file mode 100644 index 43c473b..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116PostTrg/9116SPTgDlg.h +++ /dev/null @@ -1,73 +0,0 @@ - -// 9116SPTgDlg.h : header file -#pragma once -#include "afxcmn.h" -#include "afxwin.h" - -#include "Dask64.h" - -// C9116SPTgDlg dialog -class C9116SPTgDlg : public CDialog -{ -// Construction -public: - C9116SPTgDlg(I16 hCard, U16 wAIMode, CWnd* pParent = NULL); // standard constructor - -// Dialog Data - enum { IDD = IDD_9116DMA_DIALOG }; - - protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - - -// Implementation -protected: - HICON m_hIcon; - UINT_PTR m_nTimer; - I16 m_hCard; - U16 m_wAIMode; - U32 m_dwScanIntrv; - U16 m_wScanChans; - HANDLE m_hMem; - U16 *m_pAIBuf; - U16 m_wRange; - int m_oldY[4]; - int m_oldX[4]; - U32 m_dwReadCount; - U16 m_wReTrigger; - - // Generated message map functions - virtual BOOL OnInitDialog(); - afx_msg void OnSysCommand(UINT nID, LPARAM lParam); - afx_msg void OnPaint(); - afx_msg HCURSOR OnQueryDragIcon(); - DECLARE_MESSAGE_MAP() - -public: - WORD max_val; - WORD min_val; - double max_range; - double min_range; - int n_PlotWidth; - int n_PlotHeight; - int y_divider; - int x_divider; - int m_DisplayScale; - HBRUSH OnBrush; - HBRUSH OffBrush; - CPen RedPen; - CPen GreenPen; - CPen YellowPen; - CPen BluePen; - void redraw_display_area(void); - afx_msg void OnDestroy(); - afx_msg void OnVScroll(UINT nSBCode, UINT nPos, CScrollBar* pScrollBar); - afx_msg void OnStart(); - int display_buffer_data(U16* pBuf, U32 dwDataNum); - afx_msg void OnCh0(); - afx_msg void OnCh1(); - afx_msg void OnCh2(); - afx_msg void OnCh3(); - afx_msg void OnTimer(UINT_PTR nIDEvent); - afx_msg void OnStop(); -}; diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116PostTrg/9118SPtg.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116PostTrg/9118SPtg.suo deleted file mode 100644 index d1ebf27..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116PostTrg/9118SPtg.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116PostTrg/CardIDDlg.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116PostTrg/CardIDDlg.cpp deleted file mode 100644 index c760c78..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116PostTrg/CardIDDlg.cpp +++ /dev/null @@ -1,74 +0,0 @@ -// CardIDDlg.cpp : implementation file -// -#include "stdafx.h" -#include "9116SPTg.h" -#include "9116SPTgDlg.h" -#include "CardIDDlg.h" - -// CCardIDDlg dialog - -IMPLEMENT_DYNAMIC(CCardIDDlg, CDialog) - -CCardIDDlg::CCardIDDlg(int nCardIdx, CWnd* pParent /*=NULL*/) - : CDialog(CCardIDDlg::IDD, pParent) -{ - m_nCardIdx = nCardIdx; -} - -CCardIDDlg::~CCardIDDlg() -{ -} - -void CCardIDDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); - DDX_Control(pDX, IDC_COMBO_CARDID, m_cbCardID); - DDX_Control(pDX, IDC_COMBO_CARDTYPE, m_cbAIMode); -} - - -BEGIN_MESSAGE_MAP(CCardIDDlg, CDialog) -// ON_CBN_SELCHANGE(IDC_COMBO_CARDID, &CCardIDDlg::OnCbnSelchangeComboCardid) -ON_BN_CLICKED(IDOK, &CCardIDDlg::OnBnClickedOk) -//ON_WM_CTLCOLOR() -END_MESSAGE_MAP() - - -// CCardIDDlg message handlers - - -void CCardIDDlg::OnBnClickedOk() -{ - // TODO: Add your control notification handler code here - -// UpdateData(TRUE); - m_nCardIdx = m_cbCardID.GetCurSel(); - m_wAIMode = AI_MODE_DMA + m_cbAIMode.GetCurSel(); - - OnOK(); -} - -BOOL CCardIDDlg::OnInitDialog() -{ - CDialog::OnInitDialog(); - - // TODO: Add extra initialization here - m_cbCardID.SetCurSel( m_nCardIdx ); - - m_cbAIMode.SetCurSel( 0 ); - m_wAIMode = AI_MODE_DMA; - - return TRUE; // return TRUE unless you set the focus to a control - // EXCEPTION: OCX Property Pages should return FALSE -} - -// the function to get the selected CardID -int CCardIDDlg::GetCardID(void) -{ - return m_nCardIdx; -} - -U16 CCardIDDlg::GetAIMode(void) -{ - return m_wAIMode; -} \ No newline at end of file diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116PostTrg/CardIDDlg.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116PostTrg/CardIDDlg.h deleted file mode 100644 index cb0643a..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116PostTrg/CardIDDlg.h +++ /dev/null @@ -1,35 +0,0 @@ -#pragma once -#include "afxwin.h" - -#include "Dask64.h" - -// CCardIDDlg dialog - -class CCardIDDlg : public CDialog -{ - DECLARE_DYNAMIC(CCardIDDlg) - -public: - CCardIDDlg(int nCardIdx, CWnd* pParent = NULL); // standard constructor - virtual ~CCardIDDlg(); - -// Dialog Data - enum { IDD = IDD_CARDID_DIALOG }; - -protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - - DECLARE_MESSAGE_MAP() -public: - virtual BOOL OnInitDialog(); - afx_msg void OnBnClickedOk(); - // the setting of CardID ComboBox - int m_nCardIdx; - U16 m_wAIMode; - // the control of CardID ComboBox - CComboBox m_cbCardID; - CComboBox m_cbAIMode; - // the function to get the selected CardID - int GetCardID(void); - U16 GetAIMode(void); -}; diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116PostTrg/ReadMe.txt b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116PostTrg/ReadMe.txt deleted file mode 100644 index bfd5882..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116PostTrg/ReadMe.txt +++ /dev/null @@ -1,93 +0,0 @@ -================================================================================ - MICROSOFT FOUNDATION CLASS LIBRARY : 9116SPTg Project Overview -=============================================================================== - -The application wizard has created this 9116SPTg application for -you. This application not only demonstrates the basics of using the Microsoft -Foundation Classes but is also a starting point for writing your application. - -This file contains a summary of what you will find in each of the files that -make up your 9116SPTg application. - -9116SPTg.vcproj - This is the main project file for VC++ projects generated using an application wizard. - It contains information about the version of Visual C++ that generated the file, and - information about the platforms, configurations, and project features selected with the - application wizard. - -9116SPTg.h - This is the main header file for the application. It includes other - project specific headers (including Resource.h) and declares the - C9116SPTgApp application class. - -9116SPTg.cpp - This is the main application source file that contains the application - class C9116SPTgApp. - -9116SPTg.rc - This is a listing of all of the Microsoft Windows resources that the - program uses. It includes the icons, bitmaps, and cursors that are stored - in the RES subdirectory. This file can be directly edited in Microsoft - Visual C++. Your project resources are in 1033. - -res\9116SPTg.ico - This is an icon file, which is used as the application's icon. This - icon is included by the main resource file 9116SPTg.rc. - -res\My9116SPTg.rc2 - This file contains resources that are not edited by Microsoft - Visual C++. You should place all resources not editable by - the resource editor in this file. - - -///////////////////////////////////////////////////////////////////////////// - -The application wizard creates one dialog class: - -9116SPTgDlg.h, 9116SPTgDlg.cpp - the dialog - These files contain your C9116SPTgDlg class. This class defines - the behavior of your application's main dialog. The dialog's template is - in 9116SPTg.rc, which can be edited in Microsoft Visual C++. - - -///////////////////////////////////////////////////////////////////////////// - -Other Features: - -ActiveX Controls - The application includes support to use ActiveX controls. - -///////////////////////////////////////////////////////////////////////////// - -Other standard files: - -StdAfx.h, StdAfx.cpp - These files are used to build a precompiled header (PCH) file - named 9116SPTg.pch and a precompiled types file named StdAfx.obj. - -Resource.h - This is the standard header file, which defines new resource IDs. - Microsoft Visual C++ reads and updates this file. - -9116SPTg.manifest - Application manifest files are used by Windows XP to describe an applications - dependency on specific versions of Side-by-Side assemblies. The loader uses this - information to load the appropriate assembly from the assembly cache or private - from the application. The Application manifest maybe included for redistribution - as an external .manifest file that is installed in the same folder as the application - executable or it may be included in the executable in the form of a resource. -///////////////////////////////////////////////////////////////////////////// - -Other notes: - -The application wizard uses "TODO:" to indicate parts of the source code you -should add to or customize. - -If your application uses MFC in a shared DLL, you will need -to redistribute the MFC DLLs. If your application is in a language -other than the operating system's locale, you will also have to -redistribute the corresponding localized resources MFC90XXX.DLL. -For more information on both of these topics, please see the section on -redistributing Visual C++ applications in MSDN documentation. - -///////////////////////////////////////////////////////////////////////////// diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116PostTrg/res/9116SPTg.ico b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116PostTrg/res/9116SPTg.ico deleted file mode 100644 index d56fbcd..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116PostTrg/res/9116SPTg.ico and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116PostTrg/res/My9116SPTg.rc2 b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116PostTrg/res/My9116SPTg.rc2 deleted file mode 100644 index 383cde2..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116PostTrg/res/My9116SPTg.rc2 +++ /dev/null @@ -1,13 +0,0 @@ -// -// My9111int.RC2 - resources Microsoft Visual C++ does not edit directly -// - -#ifdef APSTUDIO_INVOKED -#error this file is not editable by Microsoft Visual C++ -#endif //APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// Add manually edited resources here... - -///////////////////////////////////////////////////////////////////////////// diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116PostTrg/res/ch_set1.bmp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116PostTrg/res/ch_set1.bmp deleted file mode 100644 index f2374ed..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116PostTrg/res/ch_set1.bmp and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116PostTrg/res/ch_set2.bmp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116PostTrg/res/ch_set2.bmp deleted file mode 100644 index 32d0915..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116PostTrg/res/ch_set2.bmp and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116PostTrg/resource.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116PostTrg/resource.h deleted file mode 100644 index 100c6ae..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116PostTrg/resource.h +++ /dev/null @@ -1,40 +0,0 @@ -//{{NO_DEPENDENCIES}} -// Microsoft Visual C++ generated include file. -// Used by 9116SPTg.rc -// -#define IDM_ABOUTBOX 0x0010 -#define IDD_ABOUTBOX 100 -#define IDS_ABOUTBOX 101 -#define IDD_9116DMA_DIALOG 102 -#define IDR_MAINFRAME 128 -#define IDD_CARDID_DIALOG 129 -#define IDB_BITMAP_SET1 131 -#define IDB_BITMAP_SET2 132 -#define IDC_STATIC_DRAW 1000 -#define IDC_COMBO_CARDID 1001 -#define IDC_BT_START 1002 -#define IDC_COMBO_CARDTYPE 1002 -#define IDC_EDIT_SAMPLE_RATE 1003 -#define IDC_SCROLLBAR_RATE 1004 -#define IDC_RADIO_CH0 1005 -#define IDC_RADIO_CH1 1006 -#define IDC_RADIO_CH2 1007 -#define IDC_RADIO_CH3 1008 -#define IDC_STATIC_01 1009 -#define IDC_EDIT_BUF_SIZE 1010 -#define IDC_STATIC_2 1011 -#define IDC_BT_STOP 1012 -#define IDC_EDIT_BUF_SIZE2 1013 -#define IDC_EDIT_TRACE_CNT 1014 -#define IDC_STATIC_TRACE_CNT 1015 - -// Next default values for new objects -// -#ifdef APSTUDIO_INVOKED -#ifndef APSTUDIO_READONLY_SYMBOLS -#define _APS_NEXT_RESOURCE_VALUE 134 -#define _APS_NEXT_COMMAND_VALUE 32771 -#define _APS_NEXT_CONTROL_VALUE 1016 -#define _APS_NEXT_SYMED_VALUE 103 -#endif -#endif diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116PostTrg/stdafx.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116PostTrg/stdafx.cpp deleted file mode 100644 index ef80626..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116PostTrg/stdafx.cpp +++ /dev/null @@ -1,8 +0,0 @@ - -// stdafx.cpp : source file that includes just the standard includes -// 9111int.pch will be the pre-compiled header -// stdafx.obj will contain the pre-compiled type information - -#include "stdafx.h" - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116PostTrg/stdafx.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116PostTrg/stdafx.h deleted file mode 100644 index 12123e2..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116PostTrg/stdafx.h +++ /dev/null @@ -1,60 +0,0 @@ - -// stdafx.h : include file for standard system include files, -// or project specific include files that are used frequently, -// but are changed infrequently - -#pragma once - -#ifndef _SECURE_ATL -#define _SECURE_ATL 1 -#endif - -#ifndef VC_EXTRALEAN -#define VC_EXTRALEAN // Exclude rarely-used stuff from Windows headers -#endif - -#include "targetver.h" - -#define _ATL_CSTRING_EXPLICIT_CONSTRUCTORS // some CString constructors will be explicit - -// turns off MFC's hiding of some common and often safely ignored warning messages -#define _AFX_ALL_WARNINGS - -#include // MFC core and standard components -#include // MFC extensions - - -#include // MFC Automation classes - - - -#ifndef _AFX_NO_OLE_SUPPORT -#include // MFC support for Internet Explorer 4 Common Controls -#endif -#ifndef _AFX_NO_AFXCMN_SUPPORT -#include // MFC support for Windows Common Controls -#endif // _AFX_NO_AFXCMN_SUPPORT - -#include // MFC support for ribbons and control bars - - - - - - - - - -#ifdef _UNICODE -#if defined _M_IX86 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='x86' publicKeyToken='6595b64144ccf1df' language='*'\"") -#elif defined _M_IA64 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='ia64' publicKeyToken='6595b64144ccf1df' language='*'\"") -#elif defined _M_X64 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='amd64' publicKeyToken='6595b64144ccf1df' language='*'\"") -#else -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='*' publicKeyToken='6595b64144ccf1df' language='*'\"") -#endif -#endif - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116PostTrg/targetver.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116PostTrg/targetver.h deleted file mode 100644 index 11730d5..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116PostTrg/targetver.h +++ /dev/null @@ -1,26 +0,0 @@ - -#pragma once - -// The following macros define the minimum required platform. The minimum required platform -// is the earliest version of Windows, Internet Explorer etc. that has the necessary features to run -// your application. The macros work by enabling all features available on platform versions up to and -// including the version specified. - -// Modify the following defines if you have to target a platform prior to the ones specified below. -// Refer to MSDN for the latest info on corresponding values for different platforms. -#ifndef WINVER // Specifies that the minimum required platform is Windows Vista. -#define WINVER 0x0600 // Change this to the appropriate value to target other versions of Windows. -#endif - -#ifndef _WIN32_WINNT // Specifies that the minimum required platform is Windows Vista. -#define _WIN32_WINNT 0x0600 // Change this to the appropriate value to target other versions of Windows. -#endif - -#ifndef _WIN32_WINDOWS // Specifies that the minimum required platform is Windows 98. -#define _WIN32_WINDOWS 0x0410 // Change this to the appropriate value to target Windows Me or later. -#endif - -#ifndef _WIN32_IE // Specifies that the minimum required platform is Internet Explorer 7.0. -#define _WIN32_IE 0x0700 // Change this to the appropriate value to target other versions of IE. -#endif - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116ScanDma/9111int.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116ScanDma/9111int.suo deleted file mode 100644 index 1d7a5ee..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116ScanDma/9111int.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116ScanDma/9116dma.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116ScanDma/9116dma.cpp deleted file mode 100644 index 191ac4f..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116ScanDma/9116dma.cpp +++ /dev/null @@ -1,111 +0,0 @@ - -// 9116dma.cpp : Defines the class behaviors for the application. -// - -#include "stdafx.h" -#include "9116dma.h" -#include "9116dmaDlg.h" -#include "CardIDDlg.h" - -#ifdef _DEBUG -#define new DEBUG_NEW -#endif - - -// C9116dmaApp - -BEGIN_MESSAGE_MAP(C9116dmaApp, CWinAppEx) - ON_COMMAND(ID_HELP, &CWinApp::OnHelp) -END_MESSAGE_MAP() - - -// C9116dmaApp construction - -C9116dmaApp::C9116dmaApp() -{ - // TODO: add construction code here, - // Place all significant initialization in InitInstance -} - - -// The one and only C9116dmaApp object - -C9116dmaApp theApp; - - -// C9116dmaApp initialization - -BOOL C9116dmaApp::InitInstance() -{ - int nCardID = 0; - I16 hCard; - U16 wAIMode; - CString strTemp; - INT_PTR nResponse; - - // InitCommonControlsEx() is required on Windows XP if an application - // manifest specifies use of ComCtl32.dll version 6 or later to enable - // visual styles. Otherwise, any window creation will fail. - INITCOMMONCONTROLSEX InitCtrls; - InitCtrls.dwSize = sizeof(InitCtrls); - // Set this to include all the common control classes you want to use - // in your application. - InitCtrls.dwICC = ICC_WIN95_CLASSES; - InitCommonControlsEx(&InitCtrls); - - CWinAppEx::InitInstance(); - - AfxEnableControlContainer(); - - // Standard initialization - // If you are not using these features and wish to reduce the size - // of your final executable, you should remove from the following - // the specific initialization routines you do not need - // Change the registry key under which our settings are stored - // TODO: You should modify this string to be something appropriate - // such as the name of your company or organization - SetRegistryKey(_T("Local AppWizard-Generated Applications")); - - CCardIDDlg CardDlg( nCardID ); - - nResponse = CardDlg.DoModal(); - if (nResponse == IDOK) - { - nCardID = CardDlg.GetCardID(); - wAIMode = CardDlg.GetAIMode(); - - if ((hCard=Register_Card(PCI_9116, nCardID)) < 0) - { - strTemp.Format( TEXT("Register_Card Error = %d"), hCard); - AfxMessageBox( strTemp ); - } - else - { - C9116dmaDlg dlg(hCard, wAIMode); - m_pMainWnd = &dlg; - nResponse = dlg.DoModal(); - if (nResponse == IDOK) - { - // TODO: Place code here to handle when the dialog is - // dismissed with OK - } - else if (nResponse == IDCANCEL) - { - // TODO: Place code here to handle when the dialog is - // dismissed with Cancel - } - - if (hCard >= 0) Release_Card(hCard); - } - - } - else if (nResponse == IDCANCEL) - { - // TODO: Place code here to handle when the dialog is - // dismissed with Cancel - } - - // Since the dialog has been closed, return FALSE so that we exit the - // application, rather than start the application's message pump. - return FALSE; -} diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116ScanDma/9116dma.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116ScanDma/9116dma.h deleted file mode 100644 index 107bff4..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116ScanDma/9116dma.h +++ /dev/null @@ -1,34 +0,0 @@ - -// 9116dma.h : main header file for the PROJECT_NAME application -// - -#pragma once - -#ifndef __AFXWIN_H__ - #error "include 'stdafx.h' before including this file for PCH" -#endif - -#include "resource.h" // main symbols - -#define AI_MODE_DMA 0 -#define AI_MODE_INT 1 - -// C9116dmaApp: -// See 9116dma.cpp for the implementation of this class -// - -class C9116dmaApp : public CWinAppEx -{ -public: - C9116dmaApp(); - -// Overrides - public: - virtual BOOL InitInstance(); - -// Implementation - - DECLARE_MESSAGE_MAP() -}; - -extern C9116dmaApp theApp; \ No newline at end of file diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116ScanDma/9116dma.rc b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116ScanDma/9116dma.rc deleted file mode 100644 index 952ddfb..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116ScanDma/9116dma.rc +++ /dev/null @@ -1,293 +0,0 @@ -// Microsoft Visual C++ generated resource script. -// -#include "resource.h" - -#define APSTUDIO_READONLY_SYMBOLS -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 2 resource. -// -#ifndef APSTUDIO_INVOKED -#include "targetver.h" -#endif -#include "afxres.h" - -///////////////////////////////////////////////////////////////////////////// -#undef APSTUDIO_READONLY_SYMBOLS - -///////////////////////////////////////////////////////////////////////////// -// Chinese (Taiwan) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_CHT) -#ifdef _WIN32 -LANGUAGE LANG_CHINESE, SUBLANG_CHINESE_TRADITIONAL -#pragma code_page(950) -#endif //_WIN32 - -#ifdef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// TEXTINCLUDE -// - -1 TEXTINCLUDE -BEGIN - "resource.h\0" -END - -2 TEXTINCLUDE -BEGIN - "#ifndef APSTUDIO_INVOKED\r\n" - "#include ""targetver.h""\r\n" - "#endif\r\n" - "#include ""afxres.h""\r\n" - "\0" -END - -3 TEXTINCLUDE -BEGIN - "#define _AFX_NO_SPLITTER_RESOURCES\r\n" - "#define _AFX_NO_OLE_RESOURCES\r\n" - "#define _AFX_NO_TRACKER_RESOURCES\r\n" - "#define _AFX_NO_PROPERTY_RESOURCES\r\n" - "\r\n" - "#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)\r\n" - "LANGUAGE 9, 1\r\n" - "#pragma code_page(1252)\r\n" - "#include ""res\\My9116dma.rc2"" // non-Microsoft Visual C++ edited resources\r\n" - "#include ""afxres.rc"" // Standard components\r\n" - "#endif\r\n" - "\0" -END - -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// Icon -// - -// Icon with lowest ID value placed first to ensure application icon -// remains consistent on all systems. -IDR_MAINFRAME ICON "res\\9116dma.ico" -#endif // Chinese (Taiwan) resources -///////////////////////////////////////////////////////////////////////////// - - -///////////////////////////////////////////////////////////////////////////// -// English (U.S.) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -#ifdef _WIN32 -LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US -#pragma code_page(1252) -#endif //_WIN32 - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog -// - -IDD_ABOUTBOX DIALOGEX 0, 0, 170, 62 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "About 9116dma" -FONT 8, "MS Shell Dlg", 0, 0, 0x1 -BEGIN - ICON IDR_MAINFRAME,IDC_STATIC,14,14,21,20 - LTEXT "9116dma, Version 1.0",IDC_STATIC,42,14,114,8,SS_NOPREFIX - LTEXT "Copyright (C) 2010",IDC_STATIC,42,26,114,8 - DEFPUSHBUTTON "OK",IDOK,113,41,50,14,WS_GROUP -END - -IDD_9116DMA_DIALOG DIALOGEX 0, 0, 365, 232 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU -EXSTYLE WS_EX_APPWINDOW -CAPTION "PCI-9116 Autoscan" -FONT 8, "MS Shell Dlg", 0, 0, 0x1 -BEGIN - GROUPBOX "",IDC_STATIC_DRAW,45,9,227,161,NOT WS_VISIBLE - CONTROL 132,IDC_STATIC,"Static",SS_BITMAP,327,28,11,45 - CONTROL 131,IDC_STATIC,"Static",SS_BITMAP,298,29,9,44 - LTEXT "0",IDC_STATIC,286,29,10,11 - LTEXT "1",IDC_STATIC,286,40,10,11 - LTEXT "2",IDC_STATIC,286,51,10,11 - LTEXT "3",IDC_STATIC,286,63,10,11 - LTEXT "4",IDC_STATIC,318,29,10,11 - LTEXT "5",IDC_STATIC,318,40,10,11 - LTEXT "6",IDC_STATIC,318,51,10,11 - LTEXT "7",IDC_STATIC,318,63,10,11 - LTEXT "Range : +/- 5V",IDC_STATIC,283,130,57,15 - COMBOBOX IDC_COMBO_SCANCHAN,171,197,74,17,CBS_DROPDOWN | WS_VSCROLL | WS_TABSTOP - LTEXT "Scan Channels",IDC_STATIC,171,182,53,9 - EDITTEXT IDC_EDIT_SCAN_ITERVAL,57,197,39,12,ES_AUTOHSCROLL | ES_READONLY - LTEXT "Sample Interval :",IDC_STATIC,57,182,57,9 - LTEXT "KHz",IDC_STATIC,109,198,15,9 - SCROLLBAR IDC_SCROLLBAR_RATE,97,195,9,11,SBS_VERT - PUSHBUTTON "Start",IDC_BT_START,275,188,75,22 -END - -IDD_CARDID_DIALOG DIALOGEX 0, 0, 165, 114 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "Card ID" -FONT 8, "MS Shell Dlg", 400, 0, 0x1 -BEGIN - COMBOBOX IDC_COMBO_CARDID,83,24,71,126,CBS_DROPDOWN | WS_VSCROLL | WS_TABSTOP - LTEXT "Card Number",IDC_STATIC_01,29,25,46,12 - PUSHBUTTON "OK",IDOK,22,72,58,19 - PUSHBUTTON "CANCEL",IDCANCEL,86,72,58,19 - COMBOBOX IDC_COMBO_CARDTYPE,82,46,71,126,CBS_DROPDOWN | WS_VSCROLL | WS_TABSTOP - LTEXT "Analog Input Mode",IDC_STATIC_2,9,47,64,12 -END - - -///////////////////////////////////////////////////////////////////////////// -// -// Version -// - -VS_VERSION_INFO VERSIONINFO - FILEVERSION 1,0,0,1 - PRODUCTVERSION 1,0,0,1 - FILEFLAGSMASK 0x3fL -#ifdef _DEBUG - FILEFLAGS 0x1L -#else - FILEFLAGS 0x0L -#endif - FILEOS 0x4L - FILETYPE 0x1L - FILESUBTYPE 0x0L -BEGIN - BLOCK "StringFileInfo" - BEGIN - BLOCK "040904e4" - BEGIN - VALUE "CompanyName", "TODO: " - VALUE "FileDescription", "TODO: " - VALUE "FileVersion", "1.0.0.1" - VALUE "InternalName", "9116dma.exe" - VALUE "LegalCopyright", "TODO: (c) . All rights reserved." - VALUE "OriginalFilename", "9116dma.exe" - VALUE "ProductName", "TODO: " - VALUE "ProductVersion", "1.0.0.1" - END - END - BLOCK "VarFileInfo" - BEGIN - VALUE "Translation", 0x409, 1252 - END -END - - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog Info -// - -IDD_CARDID_DIALOG DLGINIT -BEGIN - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0030, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0031, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0032, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0033, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0034, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0035, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0036, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0037, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0038, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0039, - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3031, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3131, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3231, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3331, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3431, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3531, "\000" - IDC_COMBO_CARDTYPE, 0x403, 4, 0 -0x4d44, 0x0041, - IDC_COMBO_CARDTYPE, 0x403, 4, 0 -0x4e49, 0x0054, - 0 -END - -IDD_9116DMA_DIALOG DLGINIT -BEGIN - IDC_COMBO_SCANCHAN, 0x403, 4, 0 -0x4843, 0x0030, - IDC_COMBO_SCANCHAN, 0x403, 8, 0 -0x4843, 0x7e30, 0x4843, 0x0031, - IDC_COMBO_SCANCHAN, 0x403, 8, 0 -0x4843, 0x7e30, 0x4843, 0x0032, - IDC_COMBO_SCANCHAN, 0x403, 8, 0 -0x4843, 0x7e30, 0x4843, 0x0033, - IDC_COMBO_SCANCHAN, 0x403, 8, 0 -0x4843, 0x7e30, 0x4843, 0x0034, - IDC_COMBO_SCANCHAN, 0x403, 8, 0 -0x4843, 0x7e30, 0x4843, 0x0035, - IDC_COMBO_SCANCHAN, 0x403, 8, 0 -0x4843, 0x7e30, 0x4843, 0x0036, - IDC_COMBO_SCANCHAN, 0x403, 8, 0 -0x4843, 0x7e30, 0x4843, 0x0037, - 0 -END - - -///////////////////////////////////////////////////////////////////////////// -// -// Bitmap -// - -IDB_BITMAP_SET1 BITMAP "res\\ch_set1.bmp" -IDB_BITMAP_SET2 BITMAP "res\\ch_set2.bmp" - -///////////////////////////////////////////////////////////////////////////// -// -// String Table -// - -STRINGTABLE -BEGIN - IDS_ABOUTBOX "&About 9116dma..." -END - -#endif // English (U.S.) resources -///////////////////////////////////////////////////////////////////////////// - - - -#ifndef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 3 resource. -// -#define _AFX_NO_SPLITTER_RESOURCES -#define _AFX_NO_OLE_RESOURCES -#define _AFX_NO_TRACKER_RESOURCES -#define _AFX_NO_PROPERTY_RESOURCES - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -LANGUAGE 9, 1 -#pragma code_page(1252) -#include "res\My9116dma.rc2" // non-Microsoft Visual C++ edited resources -#include "afxres.rc" // Standard components -#endif - -///////////////////////////////////////////////////////////////////////////// -#endif // not APSTUDIO_INVOKED - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116ScanDma/9116dma.sln b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116ScanDma/9116dma.sln deleted file mode 100644 index 250ea7d..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116ScanDma/9116dma.sln +++ /dev/null @@ -1,20 +0,0 @@ - -Microsoft Visual Studio Solution File, Format Version 10.00 -# Visual Studio 2008 -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "9116dma", "9116dma.vcproj", "{702163FB-B6DF-4EF5-9491-FC54D71509BC}" -EndProject -Global - GlobalSection(SolutionConfigurationPlatforms) = preSolution - Debug|x64 = Debug|x64 - Release|x64 = Release|x64 - EndGlobalSection - GlobalSection(ProjectConfigurationPlatforms) = postSolution - {702163FB-B6DF-4EF5-9491-FC54D71509BC}.Debug|x64.ActiveCfg = Debug|x64 - {702163FB-B6DF-4EF5-9491-FC54D71509BC}.Debug|x64.Build.0 = Debug|x64 - {702163FB-B6DF-4EF5-9491-FC54D71509BC}.Release|x64.ActiveCfg = Release|x64 - {702163FB-B6DF-4EF5-9491-FC54D71509BC}.Release|x64.Build.0 = Release|x64 - EndGlobalSection - GlobalSection(SolutionProperties) = preSolution - HideSolutionNode = FALSE - EndGlobalSection -EndGlobal diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116ScanDma/9116dma.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116ScanDma/9116dma.suo deleted file mode 100644 index 212a74f..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116ScanDma/9116dma.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116ScanDma/9116dma.vcproj b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116ScanDma/9116dma.vcproj deleted file mode 100644 index 1756102..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116ScanDma/9116dma.vcproj +++ /dev/null @@ -1,294 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116ScanDma/9116dmaDlg.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116ScanDma/9116dmaDlg.cpp deleted file mode 100644 index 94db6ea..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116ScanDma/9116dmaDlg.cpp +++ /dev/null @@ -1,521 +0,0 @@ - -// 9116dmaDlg.cpp : implementation file -// - -#include "stdafx.h" -#include "9116dma.h" -#include "9116dmaDlg.h" - -#ifdef _DEBUG -#define new DEBUG_NEW -#endif - -CRect plotRect; -#define AI_SAMPLE_COUNT 4000 - -// CAboutDlg dialog used for App About - -class CAboutDlg : public CDialog -{ -public: - CAboutDlg(); - -// Dialog Data - enum { IDD = IDD_ABOUTBOX }; - - protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - -// Implementation -protected: - DECLARE_MESSAGE_MAP() -}; - -CAboutDlg::CAboutDlg() : CDialog(CAboutDlg::IDD) -{ -} - -void CAboutDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); -} - -BEGIN_MESSAGE_MAP(CAboutDlg, CDialog) -END_MESSAGE_MAP() - - -// C9116dmaDlg dialog - - - - -C9116dmaDlg::C9116dmaDlg(I16 hCard, U16 wAIMode, CWnd* pParent /*=NULL*/) - : CDialog(C9116dmaDlg::IDD, pParent) -{ - m_hIcon = AfxGetApp()->LoadIcon(IDR_MAINFRAME); - - n_PlotWidth = n_PlotHeight = -1; - OnBrush = OffBrush = NULL; - - min_val = 0x00; - max_val = 0xFFFF; - - m_dwSampIntrv = 240; - - m_hCard = hCard; - m_wAIMode = wAIMode; - m_wScanChans = 0; - m_nTimer = -1; - m_hMem=NULL; - - m_wRange = AD_B_5_V; - -} - -void C9116dmaDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); - DDX_Control(pDX, IDC_COMBO_SCANCHAN, m_cbScanChans); -} - -BEGIN_MESSAGE_MAP(C9116dmaDlg, CDialog) - ON_WM_SYSCOMMAND() - ON_WM_PAINT() - ON_WM_QUERYDRAGICON() - //}}AFX_MSG_MAP - ON_WM_DESTROY() - ON_WM_VSCROLL() - ON_CBN_SELCHANGE(IDC_COMBO_SCANCHAN, &C9116dmaDlg::OnScanChanSelchange) - ON_BN_CLICKED(IDC_BT_START, &C9116dmaDlg::OnStart) - ON_WM_TIMER() -END_MESSAGE_MAP() - - -// C9116dmaDlg message handlers - -BOOL C9116dmaDlg::OnInitDialog() -{ - CDialog::OnInitDialog(); - - // Add "About..." menu item to system menu. - - // IDM_ABOUTBOX must be in the system command range. - ASSERT((IDM_ABOUTBOX & 0xFFF0) == IDM_ABOUTBOX); - ASSERT(IDM_ABOUTBOX < 0xF000); - - CMenu* pSysMenu = GetSystemMenu(FALSE); - if (pSysMenu != NULL) - { - BOOL bNameValid; - CString strAboutMenu; - bNameValid = strAboutMenu.LoadString(IDS_ABOUTBOX); - ASSERT(bNameValid); - if (!strAboutMenu.IsEmpty()) - { - pSysMenu->AppendMenu(MF_SEPARATOR); - pSysMenu->AppendMenu(MF_STRING, IDM_ABOUTBOX, strAboutMenu); - } - } - - // Set the icon for this dialog. The framework does this automatically - // when the application's main window is not a dialog - SetIcon(m_hIcon, TRUE); // Set big icon - SetIcon(m_hIcon, FALSE); // Set small icon - - // TODO: Add extra initialization here - x_divider = 5; y_divider = 4; - - OnBrush = CreateSolidBrush( RGB(255,0,0) ); - OffBrush = CreateSolidBrush( RGB(125,0,0) ); - - RedPen.CreatePen( PS_SOLID, 1, RGB(255,0,0)); - GreenPen.CreatePen( PS_SOLID, 1, RGB(0,255,0)); - YellowPen.CreatePen( PS_SOLID, 1, RGB(255,255,0)); - BluePen.CreatePen( PS_SOLID, 1, RGB(0,0,255)); - LTBluePen.CreatePen( PS_SOLID, 1, RGB(0,128,255)); - LTRedPen.CreatePen( PS_SOLID, 1, RGB(255,128,0)); - LTGreenPen.CreatePen( PS_SOLID, 1, RGB(0,128,0)); - WhitePen.CreatePen( PS_SOLID, 1, RGB(255,255,255)); - - if( n_PlotWidth == -1 && n_PlotHeight == -1 ) - { - ((CWnd*)GetDlgItem(IDC_STATIC_DRAW))->GetWindowRect(&plotRect); - ScreenToClient(&plotRect); - - n_PlotWidth = min( plotRect.Width(), 512); - n_PlotHeight = plotRect.Height() - 10; - } - - - // set the default SampleRate - SetDlgItemInt( IDC_EDIT_SCAN_ITERVAL, (UINT)(m_dwSampIntrv) ); - m_cbScanChans.SetCurSel( 0 ); - - max_range = 5.0; - min_range = -5.0; - - return TRUE; // return TRUE unless you set the focus to a control -} - -void C9116dmaDlg::OnSysCommand(UINT nID, LPARAM lParam) -{ - if ((nID & 0xFFF0) == IDM_ABOUTBOX) - { - CAboutDlg dlgAbout; - dlgAbout.DoModal(); - } - else - { - CDialog::OnSysCommand(nID, lParam); - } -} - -// If you add a minimize button to your dialog, you will need the code below -// to draw the icon. For MFC applications using the document/view model, -// this is automatically done for you by the framework. - -void C9116dmaDlg::OnPaint() -{ - if (IsIconic()) - { - CPaintDC dc(this); // device context for painting - - SendMessage(WM_ICONERASEBKGND, reinterpret_cast(dc.GetSafeHdc()), 0); - - // Center icon in client rectangle - int cxIcon = GetSystemMetrics(SM_CXICON); - int cyIcon = GetSystemMetrics(SM_CYICON); - CRect rect; - GetClientRect(&rect); - int x = (rect.Width() - cxIcon + 1) / 2; - int y = (rect.Height() - cyIcon + 1) / 2; - - // Draw the icon - dc.DrawIcon(x, y, m_hIcon); - } - else - { - redraw_display_area(); - CDialog::OnPaint(); - } -} - -// The system calls this function to obtain the cursor to display while the user drags -// the minimized window. -HCURSOR C9116dmaDlg::OnQueryDragIcon() -{ - return static_cast(m_hIcon); -} - - -void C9116dmaDlg::redraw_display_area(void) -{ - CPen *oldPen; - - int oldMode; - COLORREF oldColor; - - CString y_lable; - - CPen minor_tick( PS_SOLID,1,RGB(132,130,132) ); -// CPen y_grid( PS_SOLID,1,RGB(206,203,132) ); - - int i, x_intv, y_intv; -// long total_sec; - - CClientDC dc_plot(this); - - // draw the base-line for x-y axises - oldPen = (CPen *)dc_plot.SelectStockObject(BLACK_PEN); - - // redraw the background - dc_plot.FillSolidRect( plotRect, RGB(0,0,0) ); - - // Re-Draw the AREA for Y-Lable - { - CBrush DIALOG_BRUSH; - CRect redraw_area, full_client; - - GetClientRect(&full_client); - ScreenToClient(&full_client); - - redraw_area.left = full_client.left; - redraw_area.top = plotRect.top - 5; - redraw_area.right = plotRect.left - 3; - redraw_area.bottom = plotRect.bottom + 10; - - DIALOG_BRUSH.CreateSysColorBrush( COLOR_3DFACE ); - - dc_plot.FillRect( redraw_area, &DIALOG_BRUSH ); - - DIALOG_BRUSH.DeleteObject(); - } - - dc_plot.MoveTo( plotRect.left - 3, plotRect.top ); - dc_plot.LineTo( plotRect.left - 3, plotRect.bottom ); - - // calculate the interval for tick/grid - y_intv = (plotRect.Height() - 10) /y_divider; - x_intv = plotRect.Width()/x_divider; - - - // set the color for tick - oldColor = dc_plot.SetTextColor( RGB(0,0,0) ); - oldMode = dc_plot.SetBkMode( TRANSPARENT ); - - for( i=0; i<= y_divider; i++ ) - { - CString tick_str; - CRect tmp_rect, tick_rect; - - // draw the tick for y-axis - dc_plot.MoveTo( plotRect.left -12, plotRect.bottom -5 - (i*y_intv) ); - dc_plot.LineTo( plotRect.left -3, plotRect.bottom -5 - (i*y_intv) ); - - tick_str.Format( _T("%.1f"), ( ((max_range-min_range)/y_divider) * i)+min_range ); - - // calculate the rectangle for text - dc_plot.DrawText( tick_str, &tmp_rect, DT_CALCRECT|DT_SINGLELINE ); - tick_rect.right = plotRect.left -14; - tick_rect.left = tick_rect.right - tmp_rect.Width(); - tick_rect.top = plotRect.bottom -5 - (i*y_intv) - tmp_rect.Height()/2; - tick_rect.bottom = tick_rect.top + tmp_rect.Height(); - - // draw the text - dc_plot.DrawText( tick_str, &tick_rect, DT_SINGLELINE|DT_RIGHT ); - - } - - // draw the minor_tick for Y axises - dc_plot.SelectObject(&minor_tick); - for( i=0; i< y_divider; i++ ) - { - dc_plot.MoveTo( plotRect.left -9, plotRect.bottom -5 - (i*y_intv) - y_intv/2 ); - dc_plot.LineTo( plotRect.left -4, plotRect.bottom -5 - (i*y_intv) - y_intv/2 ); - } - - dc_plot.SetTextColor( oldColor ); - dc_plot.SetBkMode( oldMode ); - dc_plot.SelectObject( oldPen ); -} - -void C9116dmaDlg::OnDestroy() -{ - CDialog::OnDestroy(); - - // TODO: Add your message handler code here - if( m_nTimer != -1 ) - { - KillTimer( m_nTimer ); - m_nTimer = -1; - } - - if (m_hMem != NULL) - { - GlobalUnfix(m_hMem); - GlobalUnlock(m_hMem); - GlobalFree(m_hMem); - - m_hMem = NULL; - } - - if( OnBrush != NULL ) - ::DeleteObject( OnBrush ); - - if( OffBrush != NULL ) - ::DeleteObject( OffBrush ); - - RedPen.DeleteObject(); - GreenPen.DeleteObject(); - YellowPen.DeleteObject(); - BluePen.DeleteObject(); - LTBluePen.DeleteObject(); - LTRedPen.DeleteObject(); - LTGreenPen.DeleteObject(); - WhitePen.DeleteObject(); -} - -void C9116dmaDlg::OnVScroll(UINT nSBCode, UINT nPos, CScrollBar* pScrollBar) -{ - // TODO: Add your message handler code here and/or call default - switch ( nSBCode ) - { - case SB_LINEUP : - m_dwSampIntrv += 240; - if (m_dwSampIntrv > 24000 ) m_dwSampIntrv = 24000; - break; - case SB_LINEDOWN: - m_dwSampIntrv -= 240; - if (m_dwSampIntrv < 240 ) m_dwSampIntrv = 240; - break; - } - - SetDlgItemInt( IDC_EDIT_SCAN_ITERVAL, (UINT)(m_dwSampIntrv) ); - - CDialog::OnVScroll(nSBCode, nPos, pScrollBar); -} - -void C9116dmaDlg::OnScanChanSelchange() -{ - // TODO: Add your control notification handler code here - int nIndex; - - nIndex = m_cbScanChans.GetCurSel(); - m_wScanChans = (U16)nIndex; -} - -void C9116dmaDlg::OnStart() -{ - // TODO: Add your control notification handler code here - DWORD mem_size; - CString strTemp; - I16 err; - - GetDlgItem( IDC_BT_START )->EnableWindow(FALSE); - - if (m_hMem != NULL) - { - GlobalUnfix(m_hMem); - GlobalUnlock(m_hMem); - GlobalFree(m_hMem); - - m_hMem = NULL; - } - - // allocate a memory for user DMA buffer - mem_size = AI_SAMPLE_COUNT * (m_wScanChans+1) * sizeof(I16); - m_hMem = GlobalAlloc(GMEM_ZEROINIT, mem_size); - m_pAIBuf = (U16*) GlobalLock(m_hMem); - - if (m_pAIBuf == NULL ) - { - AfxMessageBox( TEXT("Memory allocation failed"), MB_OK); - } - - GlobalFix(m_hMem); - - m_oldY[0] = m_oldY[1] = m_oldY[2] = m_oldY[3] = m_oldY[4] = m_oldY[5] = m_oldY[6] = m_oldY[7] = -1; - m_oldX[0] = m_oldX[1] = m_oldX[2] = m_oldX[3] = m_oldX[4] = m_oldX[5] = m_oldX[6] = m_oldX[7] = -1; - - if( m_wAIMode == AI_MODE_DMA ) - err = AI_9116_Config(m_hCard, 0, P9116_AI_DMA, 0, 0, 0); - else - err = AI_9116_Config(m_hCard, 0, P9116_AI_INT, 0, 0, 0); - - if (err!=0) - { - strTemp.Format( TEXT("AI_9116_Config error=%d"), err); - AfxMessageBox( strTemp ); - } - - err=AI_AsyncDblBufferMode(m_hCard, 0); // single-buffer mode - if (err!=0) - { - strTemp.Format( TEXT("AI_DblBufferMode error=%d"), err); - AfxMessageBox( strTemp ); - } - - err = AI_9116_CounterInterval(m_hCard, m_dwSampIntrv * (m_wScanChans+1), m_dwSampIntrv); - - err = AI_ContScanChannels(m_hCard, m_wScanChans, m_wRange, (U16*)m_pAIBuf, AI_SAMPLE_COUNT, (F32)1, ASYNCH_OP); - if (err!=0) - { - strTemp.Format( TEXT("AI_ContReadChannel error=%d"), err); - AfxMessageBox( strTemp ); - } - - m_nTimer = SetTimer( 1, 20, NULL ); - -} - -int C9116dmaDlg::display_buffer_data(U16* pBuf) -{ - CClientDC dc_plot(this); - int nDraw_Origin_Y; - int cur_channel; - - int newY = -1; - int newX = -1; - U32 index; - I16 ai_data; - - dc_plot.FillSolidRect( plotRect, RGB(0,0,0) ); - - nDraw_Origin_Y = ( plotRect.bottom - 5 ) - n_PlotHeight/2; - - for( index=0; index> 16) ); // ( n_PlotHeight * ai_data / 65536) ); // ( (n_PlotHeight/2) * ai_data/32768 ) ); - - newX = (int)( index*n_PlotWidth/AI_SAMPLE_COUNT + plotRect.left ); - - switch(cur_channel) - { - case 0: - dc_plot.SelectObject(&YellowPen); - break; - case 1: - dc_plot.SelectObject(<GreenPen); - break; - case 2: - dc_plot.SelectObject(&BluePen); - break; - case 3: - dc_plot.SelectObject(&RedPen); - break; - case 4: - dc_plot.SelectObject(<BluePen); - break; - case 5: - dc_plot.SelectObject(<RedPen); - break; - case 6: - dc_plot.SelectObject(&GreenPen); - break; - case 7: - dc_plot.SelectObject(&WhitePen); - break; - } - - if ( m_oldX[cur_channel] == -1 ) - { - dc_plot.MoveTo( newX, newY ); - } - else - { - dc_plot.MoveTo( m_oldX[cur_channel], m_oldY[cur_channel] ); - dc_plot.LineTo( newX, newY ); - } - - m_oldX[cur_channel] = newX; - m_oldY[cur_channel] = newY; - } - - return 0; -} - -void C9116dmaDlg::OnTimer(UINT_PTR nIDEvent) -{ - // TODO: Add your message handler code here and/or call default - BOOLEAN fstop; - U32 count; - - AI_AsyncCheck(m_hCard, &fstop, &count); - - if( fstop == TRUE ) - { - AI_AsyncClear(m_hCard, &count); - - KillTimer( m_nTimer ); - m_nTimer = -1; - - display_buffer_data( m_pAIBuf ); - - GetDlgItem( IDC_BT_START )->EnableWindow(TRUE); - } - - CDialog::OnTimer(nIDEvent); -} diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116ScanDma/9116dmaDlg.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116ScanDma/9116dmaDlg.h deleted file mode 100644 index de5aca6..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116ScanDma/9116dmaDlg.h +++ /dev/null @@ -1,76 +0,0 @@ - -// 9116dmaDlg.h : header file -#pragma once -#include "afxcmn.h" -#include "afxwin.h" - -#include "Dask64.h" - -#ifndef MAX_CHAN_9116 -#define MAX_CHAN_9116 16 -#endif - -// C9116dmaDlg dialog -class C9116dmaDlg : public CDialog -{ -// Construction -public: - C9116dmaDlg(I16 hCard, U16 wAIMode, CWnd* pParent = NULL); // standard constructor - -// Dialog Data - enum { IDD = IDD_9116DMA_DIALOG }; - - protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - - -// Implementation -protected: - HICON m_hIcon; - UINT_PTR m_nTimer; - I16 m_hCard; - U16 m_wAIMode; - U32 m_dwSampIntrv; - U16 m_wScanChans; - HANDLE m_hMem; - U16 *m_pAIBuf; - U16 m_wRange; - int m_oldY[8]; - int m_oldX[8]; - - // Generated message map functions - virtual BOOL OnInitDialog(); - afx_msg void OnSysCommand(UINT nID, LPARAM lParam); - afx_msg void OnPaint(); - afx_msg HCURSOR OnQueryDragIcon(); - DECLARE_MESSAGE_MAP() - -public: - WORD max_val; - WORD min_val; - double max_range; - double min_range; - int n_PlotWidth; - int n_PlotHeight; - int y_divider; - int x_divider; - int m_DisplayScale; - HBRUSH OnBrush; - HBRUSH OffBrush; - CPen RedPen; - CPen GreenPen; - CPen YellowPen; - CPen BluePen; - CPen LTBluePen; - CPen LTRedPen; - CPen LTGreenPen; - CPen WhitePen; - void redraw_display_area(void); - afx_msg void OnDestroy(); - CComboBox m_cbScanChans; - afx_msg void OnVScroll(UINT nSBCode, UINT nPos, CScrollBar* pScrollBar); - afx_msg void OnScanChanSelchange(); - afx_msg void OnStart(); - int display_buffer_data(U16* pBuf); - afx_msg void OnTimer(UINT_PTR nIDEvent); -}; diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116ScanDma/CardIDDlg.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116ScanDma/CardIDDlg.cpp deleted file mode 100644 index 726c3a6..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116ScanDma/CardIDDlg.cpp +++ /dev/null @@ -1,75 +0,0 @@ -// CardIDDlg.cpp : implementation file -// -#include "stdafx.h" -#include "9116dma.h" -#include "9116dmaDlg.h" -#include "CardIDDlg.h" - -// CCardIDDlg dialog - -IMPLEMENT_DYNAMIC(CCardIDDlg, CDialog) - -CCardIDDlg::CCardIDDlg(int nCardIdx, CWnd* pParent /*=NULL*/) - : CDialog(CCardIDDlg::IDD, pParent) -{ - m_nCardIdx = nCardIdx; -} - -CCardIDDlg::~CCardIDDlg() -{ -} - -void CCardIDDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); - DDX_Control(pDX, IDC_COMBO_CARDID, m_cbCardID); - DDX_Control(pDX, IDC_COMBO_CARDTYPE, m_cbAIMode); -} - - -BEGIN_MESSAGE_MAP(CCardIDDlg, CDialog) -// ON_CBN_SELCHANGE(IDC_COMBO_CARDID, &CCardIDDlg::OnCbnSelchangeComboCardid) -ON_BN_CLICKED(IDOK, &CCardIDDlg::OnBnClickedOk) -//ON_WM_CTLCOLOR() -END_MESSAGE_MAP() - - -// CCardIDDlg message handlers - - -void CCardIDDlg::OnBnClickedOk() -{ - // TODO: Add your control notification handler code here - -// UpdateData(TRUE); - m_nCardIdx = m_cbCardID.GetCurSel(); - m_wAIMode = AI_MODE_DMA + m_cbAIMode.GetCurSel(); - - OnOK(); -} - -BOOL CCardIDDlg::OnInitDialog() -{ - CDialog::OnInitDialog(); - - // TODO: Add extra initialization here - m_cbCardID.SetCurSel( m_nCardIdx ); - - m_cbAIMode.SetCurSel( 0 ); - m_wAIMode = AI_MODE_DMA; - - return TRUE; // return TRUE unless you set the focus to a control - // EXCEPTION: OCX Property Pages should return FALSE -} - -// the function to get the selected CardID -int CCardIDDlg::GetCardID(void) -{ - return m_nCardIdx; -} - - -U16 CCardIDDlg::GetAIMode(void) -{ - return m_wAIMode; -} \ No newline at end of file diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116ScanDma/CardIDDlg.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116ScanDma/CardIDDlg.h deleted file mode 100644 index cb0643a..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116ScanDma/CardIDDlg.h +++ /dev/null @@ -1,35 +0,0 @@ -#pragma once -#include "afxwin.h" - -#include "Dask64.h" - -// CCardIDDlg dialog - -class CCardIDDlg : public CDialog -{ - DECLARE_DYNAMIC(CCardIDDlg) - -public: - CCardIDDlg(int nCardIdx, CWnd* pParent = NULL); // standard constructor - virtual ~CCardIDDlg(); - -// Dialog Data - enum { IDD = IDD_CARDID_DIALOG }; - -protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - - DECLARE_MESSAGE_MAP() -public: - virtual BOOL OnInitDialog(); - afx_msg void OnBnClickedOk(); - // the setting of CardID ComboBox - int m_nCardIdx; - U16 m_wAIMode; - // the control of CardID ComboBox - CComboBox m_cbCardID; - CComboBox m_cbAIMode; - // the function to get the selected CardID - int GetCardID(void); - U16 GetAIMode(void); -}; diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116ScanDma/ReadMe.txt b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116ScanDma/ReadMe.txt deleted file mode 100644 index 7cb065f..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116ScanDma/ReadMe.txt +++ /dev/null @@ -1,93 +0,0 @@ -================================================================================ - MICROSOFT FOUNDATION CLASS LIBRARY : 9116dma Project Overview -=============================================================================== - -The application wizard has created this 9116dma application for -you. This application not only demonstrates the basics of using the Microsoft -Foundation Classes but is also a starting point for writing your application. - -This file contains a summary of what you will find in each of the files that -make up your 9116dma application. - -9116dma.vcproj - This is the main project file for VC++ projects generated using an application wizard. - It contains information about the version of Visual C++ that generated the file, and - information about the platforms, configurations, and project features selected with the - application wizard. - -9116dma.h - This is the main header file for the application. It includes other - project specific headers (including Resource.h) and declares the - C9116dmaApp application class. - -9116dma.cpp - This is the main application source file that contains the application - class C9116dmaApp. - -9116dma.rc - This is a listing of all of the Microsoft Windows resources that the - program uses. It includes the icons, bitmaps, and cursors that are stored - in the RES subdirectory. This file can be directly edited in Microsoft - Visual C++. Your project resources are in 1033. - -res\9116dma.ico - This is an icon file, which is used as the application's icon. This - icon is included by the main resource file 9116dma.rc. - -res\My9116dma.rc2 - This file contains resources that are not edited by Microsoft - Visual C++. You should place all resources not editable by - the resource editor in this file. - - -///////////////////////////////////////////////////////////////////////////// - -The application wizard creates one dialog class: - -9116dmaDlg.h, 9116dmaDlg.cpp - the dialog - These files contain your C9116dmaDlg class. This class defines - the behavior of your application's main dialog. The dialog's template is - in 9116dma.rc, which can be edited in Microsoft Visual C++. - - -///////////////////////////////////////////////////////////////////////////// - -Other Features: - -ActiveX Controls - The application includes support to use ActiveX controls. - -///////////////////////////////////////////////////////////////////////////// - -Other standard files: - -StdAfx.h, StdAfx.cpp - These files are used to build a precompiled header (PCH) file - named 9116dma.pch and a precompiled types file named StdAfx.obj. - -Resource.h - This is the standard header file, which defines new resource IDs. - Microsoft Visual C++ reads and updates this file. - -9116dma.manifest - Application manifest files are used by Windows XP to describe an applications - dependency on specific versions of Side-by-Side assemblies. The loader uses this - information to load the appropriate assembly from the assembly cache or private - from the application. The Application manifest maybe included for redistribution - as an external .manifest file that is installed in the same folder as the application - executable or it may be included in the executable in the form of a resource. -///////////////////////////////////////////////////////////////////////////// - -Other notes: - -The application wizard uses "TODO:" to indicate parts of the source code you -should add to or customize. - -If your application uses MFC in a shared DLL, you will need -to redistribute the MFC DLLs. If your application is in a language -other than the operating system's locale, you will also have to -redistribute the corresponding localized resources MFC90XXX.DLL. -For more information on both of these topics, please see the section on -redistributing Visual C++ applications in MSDN documentation. - -///////////////////////////////////////////////////////////////////////////// diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116ScanDma/res/9116dma.ico b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116ScanDma/res/9116dma.ico deleted file mode 100644 index d56fbcd..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116ScanDma/res/9116dma.ico and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116ScanDma/res/My9116dma.rc2 b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116ScanDma/res/My9116dma.rc2 deleted file mode 100644 index 383cde2..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116ScanDma/res/My9116dma.rc2 +++ /dev/null @@ -1,13 +0,0 @@ -// -// My9111int.RC2 - resources Microsoft Visual C++ does not edit directly -// - -#ifdef APSTUDIO_INVOKED -#error this file is not editable by Microsoft Visual C++ -#endif //APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// Add manually edited resources here... - -///////////////////////////////////////////////////////////////////////////// diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116ScanDma/res/ch_set1.bmp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116ScanDma/res/ch_set1.bmp deleted file mode 100644 index f2374ed..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116ScanDma/res/ch_set1.bmp and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116ScanDma/res/ch_set2.bmp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116ScanDma/res/ch_set2.bmp deleted file mode 100644 index 32d0915..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116ScanDma/res/ch_set2.bmp and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116ScanDma/resource.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116ScanDma/resource.h deleted file mode 100644 index fa00bb1..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116ScanDma/resource.h +++ /dev/null @@ -1,33 +0,0 @@ -//{{NO_DEPENDENCIES}} -// Microsoft Visual C++ generated include file. -// Used by 9116dma.rc -// -#define IDM_ABOUTBOX 0x0010 -#define IDD_ABOUTBOX 100 -#define IDS_ABOUTBOX 101 -#define IDD_9116DMA_DIALOG 102 -#define IDR_MAINFRAME 128 -#define IDD_CARDID_DIALOG 129 -#define IDB_BITMAP_SET1 131 -#define IDB_BITMAP_SET2 132 -#define IDC_STATIC_DRAW 1000 -#define IDC_COMBO_CARDID 1001 -#define IDC_COMBO_SCANCHAN 1001 -#define IDC_COMBO_CARDTYPE 1002 -#define IDC_BUTTON1 1002 -#define IDC_BT_START 1002 -#define IDC_EDIT_SCAN_ITERVAL 1003 -#define IDC_SCROLLBAR_RATE 1006 -#define IDC_STATIC_01 1014 -#define IDC_STATIC_2 1015 - -// Next default values for new objects -// -#ifdef APSTUDIO_INVOKED -#ifndef APSTUDIO_READONLY_SYMBOLS -#define _APS_NEXT_RESOURCE_VALUE 134 -#define _APS_NEXT_COMMAND_VALUE 32771 -#define _APS_NEXT_CONTROL_VALUE 1003 -#define _APS_NEXT_SYMED_VALUE 101 -#endif -#endif diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116ScanDma/stdafx.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116ScanDma/stdafx.cpp deleted file mode 100644 index ef80626..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116ScanDma/stdafx.cpp +++ /dev/null @@ -1,8 +0,0 @@ - -// stdafx.cpp : source file that includes just the standard includes -// 9111int.pch will be the pre-compiled header -// stdafx.obj will contain the pre-compiled type information - -#include "stdafx.h" - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116ScanDma/stdafx.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116ScanDma/stdafx.h deleted file mode 100644 index 12123e2..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116ScanDma/stdafx.h +++ /dev/null @@ -1,60 +0,0 @@ - -// stdafx.h : include file for standard system include files, -// or project specific include files that are used frequently, -// but are changed infrequently - -#pragma once - -#ifndef _SECURE_ATL -#define _SECURE_ATL 1 -#endif - -#ifndef VC_EXTRALEAN -#define VC_EXTRALEAN // Exclude rarely-used stuff from Windows headers -#endif - -#include "targetver.h" - -#define _ATL_CSTRING_EXPLICIT_CONSTRUCTORS // some CString constructors will be explicit - -// turns off MFC's hiding of some common and often safely ignored warning messages -#define _AFX_ALL_WARNINGS - -#include // MFC core and standard components -#include // MFC extensions - - -#include // MFC Automation classes - - - -#ifndef _AFX_NO_OLE_SUPPORT -#include // MFC support for Internet Explorer 4 Common Controls -#endif -#ifndef _AFX_NO_AFXCMN_SUPPORT -#include // MFC support for Windows Common Controls -#endif // _AFX_NO_AFXCMN_SUPPORT - -#include // MFC support for ribbons and control bars - - - - - - - - - -#ifdef _UNICODE -#if defined _M_IX86 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='x86' publicKeyToken='6595b64144ccf1df' language='*'\"") -#elif defined _M_IA64 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='ia64' publicKeyToken='6595b64144ccf1df' language='*'\"") -#elif defined _M_X64 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='amd64' publicKeyToken='6595b64144ccf1df' language='*'\"") -#else -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='*' publicKeyToken='6595b64144ccf1df' language='*'\"") -#endif -#endif - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116ScanDma/targetver.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116ScanDma/targetver.h deleted file mode 100644 index 11730d5..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9116/SDK9116ScanDma/targetver.h +++ /dev/null @@ -1,26 +0,0 @@ - -#pragma once - -// The following macros define the minimum required platform. The minimum required platform -// is the earliest version of Windows, Internet Explorer etc. that has the necessary features to run -// your application. The macros work by enabling all features available on platform versions up to and -// including the version specified. - -// Modify the following defines if you have to target a platform prior to the ones specified below. -// Refer to MSDN for the latest info on corresponding values for different platforms. -#ifndef WINVER // Specifies that the minimum required platform is Windows Vista. -#define WINVER 0x0600 // Change this to the appropriate value to target other versions of Windows. -#endif - -#ifndef _WIN32_WINNT // Specifies that the minimum required platform is Windows Vista. -#define _WIN32_WINNT 0x0600 // Change this to the appropriate value to target other versions of Windows. -#endif - -#ifndef _WIN32_WINDOWS // Specifies that the minimum required platform is Windows 98. -#define _WIN32_WINDOWS 0x0410 // Change this to the appropriate value to target Windows Me or later. -#endif - -#ifndef _WIN32_IE // Specifies that the minimum required platform is Internet Explorer 7.0. -#define _WIN32_IE 0x0700 // Change this to the appropriate value to target other versions of IE. -#endif - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118/CardIDDlg.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118/CardIDDlg.cpp deleted file mode 100644 index eb767e6..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118/CardIDDlg.cpp +++ /dev/null @@ -1,106 +0,0 @@ -// CardIDDlg.cpp : implementation file -// - -#include "stdafx.h" -#include "Util9118.h" -#include "CardIDDlg.h" - -// CCardIDDlg dialog - -IMPLEMENT_DYNAMIC(CCardIDDlg, CDialog) - -CCardIDDlg::CCardIDDlg(int nCardIdx, CWnd* pParent /*=NULL*/) - : CDialog(CCardIDDlg::IDD, pParent) -{ - m_nCardIdx = nCardIdx; -} - -CCardIDDlg::~CCardIDDlg() -{ -} - -void CCardIDDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); - DDX_Control(pDX, IDC_COMBO_CARDID, m_cbCardID); - DDX_Control(pDX, IDC_COMBO_CARDTYPE, m_cbCardType); - DDX_Control(pDX, IDC_COMBO_INPUT_SIGNAL, m_cbInputSignal); - DDX_Control(pDX, IDC_COMBO_INPUT_MODE, m_cbInputMode); -} - - -BEGIN_MESSAGE_MAP(CCardIDDlg, CDialog) -// ON_CBN_SELCHANGE(IDC_COMBO_CARDID, &CCardIDDlg::OnCbnSelchangeComboCardid) -ON_BN_CLICKED(IDOK, &CCardIDDlg::OnBnClickedOk) -//ON_WM_CTLCOLOR() -END_MESSAGE_MAP() - - -// CCardIDDlg message handlers - - -void CCardIDDlg::OnBnClickedOk() -{ - // TODO: Add your control notification handler code here - int nIndex; - -// UpdateData(TRUE); - m_nCardIdx = m_cbCardID.GetCurSel(); - m_CardType = PCI_9118DG + (m_cbCardType.GetCurSel() * 2); // PCI_9118DG or PCI_9118HR - - nIndex = m_cbInputSignal.GetCurSel(); - if( nIndex == 0 ) - m_InputSignal = P9118_AI_BiPolar; - else - m_InputSignal = P9118_AI_UniPolar; - - nIndex = m_cbInputMode.GetCurSel(); - if( nIndex == 0 ) - m_InputMode = P9118_AI_SingEnded; - else - m_InputMode = P9118_AI_Differential; - - OnOK(); -} - -BOOL CCardIDDlg::OnInitDialog() -{ - CDialog::OnInitDialog(); - - // TODO: Add extra initialization here - m_cbCardID.SetCurSel( m_nCardIdx ); - - m_cbCardType.SetCurSel( 0 ); - m_CardType = PCI_9118DG; - - m_cbInputSignal.SetCurSel( 0 ); - m_InputSignal = P9118_AI_BiPolar; - - m_cbInputMode.SetCurSel( 0 ); - m_InputMode = P9118_AI_SingEnded; - - return TRUE; // return TRUE unless you set the focus to a control - // EXCEPTION: OCX Property Pages should return FALSE -} - -// the function to get the selected CardID -int CCardIDDlg::GetCardID(void) -{ - return m_nCardIdx; -} - - -U16 CCardIDDlg::GetCardType(void) -{ - return m_CardType; -} - -U16 CCardIDDlg::GetInputSignal(void) -{ - return m_InputSignal; -} - -U16 CCardIDDlg::GetInputMode(void) -{ - return m_InputMode; -} \ No newline at end of file diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118/CardIDDlg.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118/CardIDDlg.h deleted file mode 100644 index 7f16120..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118/CardIDDlg.h +++ /dev/null @@ -1,41 +0,0 @@ -#pragma once -#include "afxwin.h" - -#include "Dask64.h" - -// CCardIDDlg dialog - -class CCardIDDlg : public CDialog -{ - DECLARE_DYNAMIC(CCardIDDlg) - -public: - CCardIDDlg(int nCardIdx, CWnd* pParent = NULL); // standard constructor - virtual ~CCardIDDlg(); - -// Dialog Data - enum { IDD = IDD_CARDID_DIALOG }; - -protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - - DECLARE_MESSAGE_MAP() -public: - virtual BOOL OnInitDialog(); - afx_msg void OnBnClickedOk(); - // the setting of CardID ComboBox - int m_nCardIdx; - U16 m_CardType; - U16 m_InputSignal; - U16 m_InputMode; - // the control of CardID ComboBox - CComboBox m_cbCardID; - CComboBox m_cbCardType; - CComboBox m_cbInputSignal; - CComboBox m_cbInputMode; - // the function to get the selected CardID - int GetCardID(void); - U16 GetCardType(void); - U16 GetInputSignal(void); - U16 GetInputMode(void); -}; diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118/ReadMe.txt b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118/ReadMe.txt deleted file mode 100644 index 2f4f511..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118/ReadMe.txt +++ /dev/null @@ -1,93 +0,0 @@ -================================================================================ - MICROSOFT FOUNDATION CLASS LIBRARY : Util9118 Project Overview -=============================================================================== - -The application wizard has created this Util9118 application for -you. This application not only demonstrates the basics of using the Microsoft -Foundation Classes but is also a starting point for writing your application. - -This file contains a summary of what you will find in each of the files that -make up your Util9118 application. - -Util9118.vcproj - This is the main project file for VC++ projects generated using an application wizard. - It contains information about the version of Visual C++ that generated the file, and - information about the platforms, configurations, and project features selected with the - application wizard. - -Util9118.h - This is the main header file for the application. It includes other - project specific headers (including Resource.h) and declares the - CUtil9118App application class. - -Util9118.cpp - This is the main application source file that contains the application - class CUtil9118App. - -Util9118.rc - This is a listing of all of the Microsoft Windows resources that the - program uses. It includes the icons, bitmaps, and cursors that are stored - in the RES subdirectory. This file can be directly edited in Microsoft - Visual C++. Your project resources are in 1033. - -res\Util9118.ico - This is an icon file, which is used as the application's icon. This - icon is included by the main resource file Util9118.rc. - -res\Util9118.rc2 - This file contains resources that are not edited by Microsoft - Visual C++. You should place all resources not editable by - the resource editor in this file. - - -///////////////////////////////////////////////////////////////////////////// - -The application wizard creates one dialog class: - -Util9118Dlg.h, Util9118Dlg.cpp - the dialog - These files contain your CUtil9118Dlg class. This class defines - the behavior of your application's main dialog. The dialog's template is - in Util9118.rc, which can be edited in Microsoft Visual C++. - - -///////////////////////////////////////////////////////////////////////////// - -Other Features: - -ActiveX Controls - The application includes support to use ActiveX controls. - -///////////////////////////////////////////////////////////////////////////// - -Other standard files: - -StdAfx.h, StdAfx.cpp - These files are used to build a precompiled header (PCH) file - named Util9118.pch and a precompiled types file named StdAfx.obj. - -Resource.h - This is the standard header file, which defines new resource IDs. - Microsoft Visual C++ reads and updates this file. - -Util9118.manifest - Application manifest files are used by Windows XP to describe an applications - dependency on specific versions of Side-by-Side assemblies. The loader uses this - information to load the appropriate assembly from the assembly cache or private - from the application. The Application manifest maybe included for redistribution - as an external .manifest file that is installed in the same folder as the application - executable or it may be included in the executable in the form of a resource. -///////////////////////////////////////////////////////////////////////////// - -Other notes: - -The application wizard uses "TODO:" to indicate parts of the source code you -should add to or customize. - -If your application uses MFC in a shared DLL, you will need -to redistribute the MFC DLLs. If your application is in a language -other than the operating system's locale, you will also have to -redistribute the corresponding localized resources MFC90XXX.DLL. -For more information on both of these topics, please see the section on -redistributing Visual C++ applications in MSDN documentation. - -///////////////////////////////////////////////////////////////////////////// diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118/Util9111.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118/Util9111.suo deleted file mode 100644 index 6b7218e..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118/Util9111.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118/Util9118.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118/Util9118.cpp deleted file mode 100644 index 66eefb0..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118/Util9118.cpp +++ /dev/null @@ -1,115 +0,0 @@ - -// Util9118.cpp : Defines the class behaviors for the application. -// - -#include "stdafx.h" -#include "Util9118.h" -#include "Util9118Dlg.h" -#include "CardIDDlg.h" - -#ifdef _DEBUG -#define new DEBUG_NEW -#endif - - -// CUtil9118App - -BEGIN_MESSAGE_MAP(CUtil9118App, CWinAppEx) - ON_COMMAND(ID_HELP, &CWinApp::OnHelp) -END_MESSAGE_MAP() - - -// CUtil9118App construction - -CUtil9118App::CUtil9118App() -{ - // TODO: add construction code here, - // Place all significant initialization in InitInstance -} - - -// The one and only CUtil9118App object - -CUtil9118App theApp; - - -// CUtil9118App initialization - -BOOL CUtil9118App::InitInstance() -{ - int nCardID = 0; - I16 hCard; - U16 wCardType, wInputSignal, wInputMode; - CString strTemp; - INT_PTR nResponse; - - // InitCommonControlsEx() is required on Windows XP if an application - // manifest specifies use of ComCtl32.dll version 6 or later to enable - // visual styles. Otherwise, any window creation will fail. - INITCOMMONCONTROLSEX InitCtrls; - InitCtrls.dwSize = sizeof(InitCtrls); - // Set this to include all the common control classes you want to use - // in your application. - InitCtrls.dwICC = ICC_WIN95_CLASSES; - InitCommonControlsEx(&InitCtrls); - - CWinAppEx::InitInstance(); - - AfxEnableControlContainer(); - - // Standard initialization - // If you are not using these features and wish to reduce the size - // of your final executable, you should remove from the following - // the specific initialization routines you do not need - // Change the registry key under which our settings are stored - // TODO: You should modify this string to be something appropriate - // such as the name of your company or organization - SetRegistryKey(_T("Local AppWizard-Generated Applications")); - - CCardIDDlg CardDlg( nCardID ); - - nResponse = CardDlg.DoModal(); - if (nResponse == IDOK) - { - nCardID = CardDlg.GetCardID(); - wCardType = CardDlg.GetCardType(); - wInputSignal = CardDlg.GetInputSignal(); - wInputMode = CardDlg.GetInputMode(); - - if ((hCard=Register_Card(wCardType, nCardID)) < 0) - { - strTemp.Format( TEXT("Register_Card Error = %d"), hCard); - AfxMessageBox( strTemp ); - } - else - { - CUtil9118Dlg dlg(hCard, wCardType, wInputSignal, wInputMode ); - m_pMainWnd = &dlg; - nResponse = dlg.DoModal(); - if (nResponse == IDOK) - { - // TODO: Place code here to handle when the dialog is - // dismissed with OK - } - else if (nResponse == IDCANCEL) - { - // TODO: Place code here to handle when the dialog is - // dismissed with Cancel - } - - if (hCard >= 0) Release_Card(hCard); - } - - } - else if (nResponse == IDCANCEL) - { - // TODO: Place code here to handle when the dialog is - // dismissed with Cancel - } - - - - // Since the dialog has been closed, return FALSE so that we exit the - // application, rather than start the application's message pump. - return FALSE; -} diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118/Util9118.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118/Util9118.h deleted file mode 100644 index afe5022..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118/Util9118.h +++ /dev/null @@ -1,32 +0,0 @@ - -// Util9118.h : main header file for the PROJECT_NAME application -// - -#pragma once - -#ifndef __AFXWIN_H__ - #error "include 'stdafx.h' before including this file for PCH" -#endif - -#include "resource.h" // main symbols - - -// CUtil9118App: -// See Util9118.cpp for the implementation of this class -// - -class CUtil9118App : public CWinAppEx -{ -public: - CUtil9118App(); - -// Overrides - public: - virtual BOOL InitInstance(); - -// Implementation - - DECLARE_MESSAGE_MAP() -}; - -extern CUtil9118App theApp; \ No newline at end of file diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118/Util9118.rc b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118/Util9118.rc deleted file mode 100644 index 3e69aea..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118/Util9118.rc +++ /dev/null @@ -1,352 +0,0 @@ -// Microsoft Visual C++ generated resource script. -// -#include "resource.h" - -#define APSTUDIO_READONLY_SYMBOLS -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 2 resource. -// -#ifndef APSTUDIO_INVOKED -#include "targetver.h" -#endif -#include "afxres.h" - -///////////////////////////////////////////////////////////////////////////// -#undef APSTUDIO_READONLY_SYMBOLS - -///////////////////////////////////////////////////////////////////////////// -// Chinese (Taiwan) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_CHT) -#ifdef _WIN32 -LANGUAGE LANG_CHINESE, SUBLANG_CHINESE_TRADITIONAL -#pragma code_page(950) -#endif //_WIN32 - -#ifdef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// TEXTINCLUDE -// - -1 TEXTINCLUDE -BEGIN - "resource.h\0" -END - -2 TEXTINCLUDE -BEGIN - "#ifndef APSTUDIO_INVOKED\r\n" - "#include ""targetver.h""\r\n" - "#endif\r\n" - "#include ""afxres.h""\r\n" - "\0" -END - -3 TEXTINCLUDE -BEGIN - "#define _AFX_NO_SPLITTER_RESOURCES\r\n" - "#define _AFX_NO_OLE_RESOURCES\r\n" - "#define _AFX_NO_TRACKER_RESOURCES\r\n" - "#define _AFX_NO_PROPERTY_RESOURCES\r\n" - "\r\n" - "#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)\r\n" - "LANGUAGE 9, 1\r\n" - "#pragma code_page(1252)\r\n" - "#include ""res\\Util9118.rc2"" // non-Microsoft Visual C++ edited resources\r\n" - "#include ""afxres.rc"" // Standard components\r\n" - "#endif\r\n" - "\0" -END - -#endif // APSTUDIO_INVOKED - -#endif // Chinese (Taiwan) resources -///////////////////////////////////////////////////////////////////////////// - - -///////////////////////////////////////////////////////////////////////////// -// English (U.S.) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -#ifdef _WIN32 -LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US -#pragma code_page(1252) -#endif //_WIN32 - -///////////////////////////////////////////////////////////////////////////// -// -// Icon -// - -// Icon with lowest ID value placed first to ensure application icon -// remains consistent on all systems. -IDR_MAINFRAME ICON "res\\Util9118.ico" -IDI_ICON_BLACK ICON "res\\black.ico" -IDI_ICON_RED ICON "res\\red.ico" - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog -// - -IDD_ABOUTBOX DIALOGEX 0, 0, 170, 62 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "About Util9118" -FONT 8, "MS Shell Dlg", 0, 0, 0x1 -BEGIN - ICON IDR_MAINFRAME,IDC_STATIC,14,14,21,20 - LTEXT "Util9118, Version 1.0",IDC_STATIC,42,14,114,8,SS_NOPREFIX - LTEXT "Copyright (C) 2010",IDC_STATIC,42,26,114,8 - DEFPUSHBUTTON "OK",IDOK,113,41,50,14,WS_GROUP -END - -IDD_UTIL9118_DIALOG DIALOGEX 0, 0, 345, 217 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU -EXSTYLE WS_EX_APPWINDOW -CAPTION "PCI-9118DG / PCI-9118HR" -FONT 8, "MS Shell Dlg", 0, 0, 0x1 -BEGIN - ICON IDI_ICON_BLACK,IDC_ICON_DI00,316,163,20,20 - ICON IDI_ICON_BLACK,IDC_ICON_DI01,298,163,20,20 - ICON IDI_ICON_BLACK,IDC_ICON_DI02,280,163,20,20 - ICON IDI_ICON_BLACK,IDC_ICON_DI03,262,163,20,20 - CONTROL "",IDC_CHECK_DO00,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE | WS_TABSTOP,322,183,12,12 - CONTROL "",IDC_CHECK_DO01,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE | WS_TABSTOP,304,183,12,12 - CONTROL "",IDC_CHECK_DO02,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE | WS_TABSTOP,286,183,12,12 - CONTROL "",IDC_CHECK_DO03,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE | WS_TABSTOP,268,183,12,12 - SCROLLBAR IDC_SCROLLBAR1,71,185,144,12,NOT WS_VISIBLE | WS_DISABLED - GROUPBOX "",IDC_STATIC_DRAW0,45,9,213,75,NOT WS_VISIBLE - GROUPBOX "",IDC_STATIC_DRAW1,45,90,213,75,NOT WS_VISIBLE - CONTROL 132,IDC_STATIC,"Static",SS_BITMAP,289,20,9,44 - CONTROL "0",IDC_RADIO_CH0,"Button",BS_AUTOCHECKBOX | BS_LEFTTEXT | BS_PUSHLIKE,268,21,17,10 - CONTROL "1",IDC_RADIO_CH1,"Button",BS_AUTOCHECKBOX | BS_LEFTTEXT | BS_PUSHLIKE,268,32,17,10 - CONTROL "2",IDC_RADIO_CH2,"Button",BS_AUTOCHECKBOX | BS_LEFTTEXT | BS_PUSHLIKE,268,43,17,10 - CONTROL "3",IDC_RADIO_CH3,"Button",BS_AUTOCHECKBOX | BS_LEFTTEXT | BS_PUSHLIKE,268,54,17,10 - CONTROL "4",IDC_RADIO_CH4,"Button",BS_AUTOCHECKBOX | BS_LEFTTEXT | BS_PUSHLIKE,303,21,17,10 - CONTROL "5",IDC_RADIO_CH5,"Button",BS_AUTOCHECKBOX | BS_LEFTTEXT | BS_PUSHLIKE,303,32,17,10 - CONTROL "6",IDC_RADIO_CH6,"Button",BS_AUTOCHECKBOX | BS_LEFTTEXT | BS_PUSHLIKE,303,43,17,10 - CONTROL "7",IDC_RADIO_CH7,"Button",BS_AUTOCHECKBOX | BS_LEFTTEXT | BS_PUSHLIKE,303,54,17,10 - CONTROL 132,IDC_STATIC,"Static",SS_BITMAP,288,111,9,44 - CONTROL 133,IDC_STATIC,"Static",SS_BITMAP,321,111,11,45 - CONTROL "8",IDC_RADIO_CH8,"Button",BS_AUTOCHECKBOX | BS_LEFTTEXT | BS_PUSHLIKE,266,112,17,10 - CONTROL "9",IDC_RADIO_CH9,"Button",BS_AUTOCHECKBOX | BS_LEFTTEXT | BS_PUSHLIKE,266,123,17,10 - CONTROL "10",IDC_RADIO_CH10,"Button",BS_AUTOCHECKBOX | BS_LEFTTEXT | BS_PUSHLIKE,266,134,17,10 - CONTROL "11",IDC_RADIO_CH11,"Button",BS_AUTOCHECKBOX | BS_LEFTTEXT | BS_PUSHLIKE,266,146,17,10 - CONTROL "12",IDC_RADIO_CH12,"Button",BS_AUTOCHECKBOX | BS_LEFTTEXT | BS_PUSHLIKE,302,112,17,10 - CONTROL "13",IDC_RADIO_CH13,"Button",BS_AUTOCHECKBOX | BS_LEFTTEXT | BS_PUSHLIKE,302,123,17,10 - CONTROL "14",IDC_RADIO_CH14,"Button",BS_AUTOCHECKBOX | BS_LEFTTEXT | BS_PUSHLIKE,302,134,17,10 - CONTROL "15",IDC_RADIO_CH15,"Button",BS_AUTOCHECKBOX | BS_LEFTTEXT | BS_PUSHLIKE,302,146,17,10 - CONTROL 133,IDC_STATIC,"Static",SS_BITMAP,322,20,11,45 - COMBOBOX IDC_COMBO_AI_RANGE,266,89,67,13,CBS_DROPDOWN | WS_VSCROLL | WS_TABSTOP - LTEXT "Input Range",IDC_STATIC,265,75,45,12 - LTEXT "-10 -6 -4 -2 0 2 4 6 10",IDC_STATIC,82,173,133,12,NOT WS_VISIBLE - LTEXT "Analog Output",IDC_STATIC,9,185,51,13,NOT WS_VISIBLE - EDITTEXT IDC_EDIT_AO,222,184,29,14,ES_AUTOHSCROLL | ES_READONLY | NOT WS_VISIBLE - LTEXT "3 0",IDC_STATIC,270,198,64,11 -END - -IDD_CARDID_DIALOG DIALOGEX 0, 0, 170, 129 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "Card ID" -FONT 8, "MS Shell Dlg", 400, 0, 0x1 -BEGIN - COMBOBOX IDC_COMBO_CARDID,73,35,71,126,CBS_DROPDOWN | WS_VSCROLL | WS_TABSTOP - LTEXT "Card Number",IDC_STATIC_01,19,36,46,12 - PUSHBUTTON "OK",IDOK,23,97,58,19 - PUSHBUTTON "CANCEL",IDCANCEL,87,97,58,19 - COMBOBOX IDC_COMBO_CARDTYPE,73,17,71,126,CBS_DROPDOWN | WS_VSCROLL | WS_TABSTOP - LTEXT "Card Type",IDC_STATIC_2,27,18,37,12 - COMBOBOX IDC_COMBO_INPUT_SIGNAL,73,53,71,126,CBS_DROPDOWN | WS_VSCROLL | WS_TABSTOP - LTEXT "Input Signal",IDC_STATIC_3,23,54,42,12 - COMBOBOX IDC_COMBO_INPUT_MODE,74,72,71,126,CBS_DROPDOWN | WS_VSCROLL | WS_TABSTOP - LTEXT "Input Model",IDC_STATIC_4,24,73,42,12 -END - - -///////////////////////////////////////////////////////////////////////////// -// -// Version -// - -VS_VERSION_INFO VERSIONINFO - FILEVERSION 1,0,0,1 - PRODUCTVERSION 1,0,0,1 - FILEFLAGSMASK 0x3fL -#ifdef _DEBUG - FILEFLAGS 0x1L -#else - FILEFLAGS 0x0L -#endif - FILEOS 0x4L - FILETYPE 0x1L - FILESUBTYPE 0x0L -BEGIN - BLOCK "StringFileInfo" - BEGIN - BLOCK "040904e4" - BEGIN - VALUE "CompanyName", "TODO: " - VALUE "FileDescription", "TODO: " - VALUE "FileVersion", "1.0.0.1" - VALUE "InternalName", "Util9118.exe" - VALUE "LegalCopyright", "TODO: (c) . All rights reserved." - VALUE "OriginalFilename", "Util9118.exe" - VALUE "ProductName", "TODO: " - VALUE "ProductVersion", "1.0.0.1" - END - END - BLOCK "VarFileInfo" - BEGIN - VALUE "Translation", 0x409, 1252 - END -END - - -///////////////////////////////////////////////////////////////////////////// -// -// DESIGNINFO -// - -#ifdef APSTUDIO_INVOKED -GUIDELINES DESIGNINFO -BEGIN - IDD_ABOUTBOX, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 163 - TOPMARGIN, 7 - BOTTOMMARGIN, 55 - END - - IDD_CARDID_DIALOG, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 163 - TOPMARGIN, 6 - BOTTOMMARGIN, 122 - END -END -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// Bitmap -// - -IDB_BITMAP_SET1 BITMAP "res\\ch_set1.bmp" -IDB_BITMAP_SET2 BITMAP "res\\ch_set2.bmp" - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog Info -// - -IDD_UTIL9118_DIALOG DLGINIT -BEGIN - IDC_COMBO_AI_RANGE, 0x403, 6, 0 -0x2f2b, 0x352d, 0x0056, - IDC_COMBO_AI_RANGE, 0x403, 8, 0 -0x2f2b, 0x322d, 0x352e, 0x0056, - IDC_COMBO_AI_RANGE, 0x403, 9, 0 -0x2f2b, 0x312d, 0x322e, 0x5635, "\000" - IDC_COMBO_AI_RANGE, 0x403, 10, 0 -0x2f2b, 0x302d, 0x362e, 0x3532, 0x0056, - IDC_COMBO_AI_RANGE, 0x403, 6, 0 -0x7e30, 0x3031, 0x0056, - IDC_COMBO_AI_RANGE, 0x403, 5, 0 -0x7e30, 0x5635, "\000" - IDC_COMBO_AI_RANGE, 0x403, 7, 0 -0x7e30, 0x2e32, 0x5635, "\000" - IDC_COMBO_AI_RANGE, 0x403, 8, 0 -0x7e30, 0x2e31, 0x3532, 0x0056, - 0 -END - -IDD_CARDID_DIALOG DLGINIT -BEGIN - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0030, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0031, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0032, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0033, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0034, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0035, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0036, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0037, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0038, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0039, - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3031, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3131, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3231, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3331, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3431, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3531, "\000" - IDC_COMBO_CARDTYPE, 0x403, 11, 0 -0x4350, 0x5f49, 0x3139, 0x3831, 0x4744, "\000" - IDC_COMBO_CARDTYPE, 0x403, 11, 0 -0x4350, 0x5f49, 0x3139, 0x3831, 0x5248, "\000" - IDC_COMBO_INPUT_SIGNAL, 0x403, 8, 0 -0x6942, 0x6f70, 0x616c, 0x0072, - IDC_COMBO_INPUT_SIGNAL, 0x403, 9, 0 -0x6e55, 0x7069, 0x6c6f, 0x7261, "\000" - IDC_COMBO_INPUT_MODE, 0x403, 13, 0 -0x6953, 0x676e, 0x656c, 0x4520, 0x646e, 0x6465, "\000" - IDC_COMBO_INPUT_MODE, 0x403, 14, 0 -0x4420, 0x6669, 0x6566, 0x6572, 0x746e, 0x6169, 0x006c, - 0 -END - - -///////////////////////////////////////////////////////////////////////////// -// -// String Table -// - -STRINGTABLE -BEGIN - IDS_ABOUTBOX "&About Util9118..." -END - -#endif // English (U.S.) resources -///////////////////////////////////////////////////////////////////////////// - - - -#ifndef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 3 resource. -// -#define _AFX_NO_SPLITTER_RESOURCES -#define _AFX_NO_OLE_RESOURCES -#define _AFX_NO_TRACKER_RESOURCES -#define _AFX_NO_PROPERTY_RESOURCES - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -LANGUAGE 9, 1 -#pragma code_page(1252) -#include "res\Util9118.rc2" // non-Microsoft Visual C++ edited resources -#include "afxres.rc" // Standard components -#endif - -///////////////////////////////////////////////////////////////////////////// -#endif // not APSTUDIO_INVOKED - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118/Util9118.sln b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118/Util9118.sln deleted file mode 100644 index e1b185b..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118/Util9118.sln +++ /dev/null @@ -1,20 +0,0 @@ - -Microsoft Visual Studio Solution File, Format Version 10.00 -# Visual Studio 2008 -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "Util9118", "Util9118.vcproj", "{EA91AA3F-533F-4BE6-8BD6-78C091590751}" -EndProject -Global - GlobalSection(SolutionConfigurationPlatforms) = preSolution - Debug|x64 = Debug|x64 - Release|x64 = Release|x64 - EndGlobalSection - GlobalSection(ProjectConfigurationPlatforms) = postSolution - {EA91AA3F-533F-4BE6-8BD6-78C091590751}.Debug|x64.ActiveCfg = Debug|x64 - {EA91AA3F-533F-4BE6-8BD6-78C091590751}.Debug|x64.Build.0 = Debug|x64 - {EA91AA3F-533F-4BE6-8BD6-78C091590751}.Release|x64.ActiveCfg = Release|x64 - {EA91AA3F-533F-4BE6-8BD6-78C091590751}.Release|x64.Build.0 = Release|x64 - EndGlobalSection - GlobalSection(SolutionProperties) = preSolution - HideSolutionNode = FALSE - EndGlobalSection -EndGlobal diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118/Util9118.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118/Util9118.suo deleted file mode 100644 index 0ca65ff..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118/Util9118.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118/Util9118.vcproj b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118/Util9118.vcproj deleted file mode 100644 index 5781fd4..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118/Util9118.vcproj +++ /dev/null @@ -1,306 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118/Util9118Dlg.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118/Util9118Dlg.cpp deleted file mode 100644 index 51382e5..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118/Util9118Dlg.cpp +++ /dev/null @@ -1,1094 +0,0 @@ - -// Util9118Dlg.cpp : implementation file -// - -#include "stdafx.h" -#include "Util9118.h" -#include "Util9118Dlg.h" - -#ifdef _DEBUG -#define new DEBUG_NEW -#endif - -CRect plotRect0, plotRect1; - - -// CAboutDlg dialog used for App About - -class CAboutDlg : public CDialog -{ -public: - CAboutDlg(); - -// Dialog Data - enum { IDD = IDD_ABOUTBOX }; - - protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - -// Implementation -protected: - DECLARE_MESSAGE_MAP() -}; - -CAboutDlg::CAboutDlg() : CDialog(CAboutDlg::IDD) -{ -} - -void CAboutDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); -} - -BEGIN_MESSAGE_MAP(CAboutDlg, CDialog) -END_MESSAGE_MAP() - - -// CUtil9118Dlg dialog - - - - -CUtil9118Dlg::CUtil9118Dlg(I16 hCard, U16 wCardType, U16 wInputSignal, U16 wInputMode, CWnd* pParent /*=NULL*/) - : CDialog(CUtil9118Dlg::IDD, pParent) -{ - m_hIcon = AfxGetApp()->LoadIcon(IDR_MAINFRAME); - - m_hCard = hCard; - m_wCardType = wCardType; - m_wInputSignal = wInputSignal; - m_wInputMode = wInputMode; - - n_PlotWidth = n_PlotHeight = -1; - OnBrush = OffBrush = NULL; - - min_val = 0x00; - max_val = 0x0FFF; - - for( int i=0; iAppendMenu(MF_SEPARATOR); - pSysMenu->AppendMenu(MF_STRING, IDM_ABOUTBOX, strAboutMenu); - } - } - - // Set the icon for this dialog. The framework does this automatically - // when the application's main window is not a dialog - SetIcon(m_hIcon, TRUE); // Set big icon - SetIcon(m_hIcon, FALSE); // Set small icon - - x_divider = 5; y_divider = 2; - - OnBrush = CreateSolidBrush( RGB(255,0,0) ); - OffBrush = CreateSolidBrush( RGB(125,0,0) ); - - RedPen.CreatePen( PS_SOLID, 1, RGB(255,0,0)); - GreenPen.CreatePen( PS_SOLID, 1, RGB(0,255,0)); - YellowPen.CreatePen( PS_SOLID, 1, RGB(255,255,0)); - BluePen.CreatePen( PS_SOLID, 1, RGB(0,0,255)); - LTBluePen.CreatePen( PS_SOLID, 1, RGB(0,128,255)); - LTRedPen.CreatePen( PS_SOLID, 1, RGB(255,128,0)); - LTGreenPen.CreatePen( PS_SOLID, 1, RGB(0,128,0)); - WhitePen.CreatePen( PS_SOLID, 1, RGB(255,255,255)); - - if( n_PlotWidth == -1 && n_PlotHeight == -1 ) - { - ((CWnd*)GetDlgItem(IDC_STATIC_DRAW0))->GetWindowRect(&plotRect0); - ScreenToClient(&plotRect0); - - n_PlotWidth = min( plotRect0.Width(), 512); - n_PlotHeight = plotRect0.Height(); - - ((CWnd*)GetDlgItem(IDC_STATIC_DRAW1))->GetWindowRect(&plotRect1); - ScreenToClient(&plotRect1); - } - - - // TODO: Add extra initialization here - info.cbSize = sizeof(SCROLLINFO); - info.fMask = SIF_ALL; - info.nMin = 0; - info.nMax = 4095; - info.nPage = 2; - info.nPos = 0; - info.nTrackPos = 2; - m_scBarAO.SetScrollInfo(&info); - m_nAOValue = 0; - - m_cbAIRange.SetCurSel( 0 ); - max_range = 5.0; - min_range = -5.0; - m_wAdRange = AD_B_5_V; - - - AI_9118_Config(m_hCard, (m_wInputSignal|m_wInputMode),0 ,0 ,0 ); - - m_nTimer = SetTimer( 1, 100, NULL ); - - return TRUE; // return TRUE unless you set the focus to a control -} - -void CUtil9118Dlg::OnSysCommand(UINT nID, LPARAM lParam) -{ - if ((nID & 0xFFF0) == IDM_ABOUTBOX) - { - CAboutDlg dlgAbout; - dlgAbout.DoModal(); - } - else - { - CDialog::OnSysCommand(nID, lParam); - } -} - -// If you add a minimize button to your dialog, you will need the code below -// to draw the icon. For MFC applications using the document/view model, -// this is automatically done for you by the framework. - -void CUtil9118Dlg::OnPaint() -{ - if (IsIconic()) - { - CPaintDC dc(this); // device context for painting - - SendMessage(WM_ICONERASEBKGND, reinterpret_cast(dc.GetSafeHdc()), 0); - - // Center icon in client rectangle - int cxIcon = GetSystemMetrics(SM_CXICON); - int cyIcon = GetSystemMetrics(SM_CYICON); - CRect rect; - GetClientRect(&rect); - int x = (rect.Width() - cxIcon + 1) / 2; - int y = (rect.Height() - cyIcon + 1) / 2; - - // Draw the icon - dc.DrawIcon(x, y, m_hIcon); - } - else - { - redraw_display_area(); - CDialog::OnPaint(); - } -} - -// The system calls this function to obtain the cursor to display while the user drags -// the minimized window. -HCURSOR CUtil9118Dlg::OnQueryDragIcon() -{ - return static_cast(m_hIcon); -} - - -void CUtil9118Dlg::OnHScroll(UINT nSBCode, UINT nPos, CScrollBar* pScrollBar) -{ - // TODO: Add your message handler code here and/or call default - int minpos; - int maxpos; - double fAOValue; - CString strTmp; - - m_scBarAO.GetScrollRange(&minpos, &maxpos); - maxpos = m_scBarAO.GetScrollLimit(); - - // Get the current position of scroll box. - int curpos = m_scBarAO.GetScrollPos(); - - // Determine the new position of scroll box. - switch (nSBCode) - { - case SB_LINELEFT: // Scroll left. - if (curpos > minpos) - curpos--; - break; - - case SB_LINERIGHT: // Scroll right. - if (curpos < maxpos) - curpos++; - break; - - case SB_THUMBPOSITION: // Scroll to absolute position. nPos is the position - curpos = nPos; // of the scroll box at the end of the drag operation. - - break; - - case SB_LEFT: // Scroll to far left. - case SB_RIGHT: // Scroll to far right. - case SB_ENDSCROLL: // End scroll. - case SB_PAGELEFT: // Scroll one page left. - case SB_PAGERIGHT: // Scroll one page right. - case SB_THUMBTRACK: // Drag scroll box to specified position. nPos is the - - break; - } - - // Set the new position of the thumb (scroll box). - m_scBarAO.SetScrollPos(curpos); - - if( m_nAOValue != curpos ) - { - // update the m_nAOValue value, and output AO - m_nAOValue = curpos; - fAOValue = ( 20.0 * (double)curpos / (double)(maxpos - minpos) ) - 10.0; - strTmp.Format( TEXT("%.02f"), fAOValue ); - SetDlgItemText( IDC_EDIT_AO, strTmp ); - - AO_WriteChannel(m_hCard, 0, curpos); - } - - - CDialog::OnHScroll(nSBCode, nPos, pScrollBar); -} - - - -void CUtil9118Dlg::OnDestroy() -{ - CDialog::OnDestroy(); - - // TODO: Add your message handler code here - - if( m_nTimer != -1 ) - { - KillTimer( m_nTimer ); - m_nTimer = -1; - } - - if( OnBrush != NULL ) - ::DeleteObject( OnBrush ); - - if( OffBrush != NULL ) - ::DeleteObject( OffBrush ); - - RedPen.DeleteObject(); - GreenPen.DeleteObject(); - YellowPen.DeleteObject(); - BluePen.DeleteObject(); - LTBluePen.DeleteObject(); - LTRedPen.DeleteObject(); - LTGreenPen.DeleteObject(); - WhitePen.DeleteObject(); -} - -void CUtil9118Dlg::OnAIRangeSelchange() -{ - // TODO: Add your control notification handler code here - U16 tmpAdRange; - int nIndex; - double maxRange, minRange; - - nIndex = m_cbAIRange.GetCurSel(); - switch( nIndex ) - { - case 0: - tmpAdRange = AD_B_5_V; - maxRange = 5.0; - minRange = -5.0; - break; - case 1: - tmpAdRange = AD_B_2_5_V; - maxRange = 2.5; - minRange = -2.5; - break; - case 2: - tmpAdRange = AD_B_1_25_V; - maxRange = 1.25; - minRange = -1.25; - break; - case 3: - tmpAdRange = AD_B_0_625_V; - maxRange = 0.625; - minRange = -0.625; - break; - case 4: - tmpAdRange = AD_U_10_V; - maxRange = 10.0; - minRange = 0.0; - break; - case 5: - tmpAdRange = AD_U_5_V; - maxRange = 5.0; - minRange = 0.0; - break; - case 6: - tmpAdRange = AD_U_2_5_V; - maxRange = 2.5; - minRange = 0.0; - break; - case 7: - tmpAdRange = AD_U_1_25_V; - maxRange = 1.25; - minRange = 0.0; - break; - } - - - if( tmpAdRange != m_wAdRange ) - { // update m_InPortA and configure the target Port - m_wAdRange = tmpAdRange; - - max_range = maxRange; - min_range = minRange; - - redraw_display_area(); - - } - -} - -void CUtil9118Dlg::OnAI00Enable() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_RADIO_CH0 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_AIEnable[0] = 0x01; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_AIEnable[0] = 0x00; - } -} - -void CUtil9118Dlg::OnAI01Enable() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_RADIO_CH1 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_AIEnable[1] = 0x01; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_AIEnable[1] = 0x00; - } -} - -void CUtil9118Dlg::OnAI02Enable() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_RADIO_CH2 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_AIEnable[2] = 0x01; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_AIEnable[2] = 0x00; - } -} - -void CUtil9118Dlg::OnAI03Enable() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_RADIO_CH3 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_AIEnable[3] = 0x01; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_AIEnable[3] = 0x00; - } -} - -void CUtil9118Dlg::OnAI04Enable() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_RADIO_CH4 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_AIEnable[4] = 0x01; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_AIEnable[4] = 0x00; - } -} - -void CUtil9118Dlg::OnAI05Enable() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_RADIO_CH5 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_AIEnable[5] = 0x01; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_AIEnable[5] = 0x00; - } -} - -void CUtil9118Dlg::OnAI06Enable() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_RADIO_CH6 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_AIEnable[6] = 0x01; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_AIEnable[6] = 0x00; - } -} - -void CUtil9118Dlg::OnAI07Enable() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_RADIO_CH7 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_AIEnable[7] = 0x01; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_AIEnable[7] = 0x00; - } -} - -void CUtil9118Dlg::OnAI08Enable() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_RADIO_CH8 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_AIEnable[8] = 0x01; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_AIEnable[8] = 0x00; - } -} - -void CUtil9118Dlg::OnAI09Enable() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_RADIO_CH9 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_AIEnable[9] = 0x01; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_AIEnable[9] = 0x00; - } -} - -void CUtil9118Dlg::OnAI10Enable() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_RADIO_CH10 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_AIEnable[10] = 0x01; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_AIEnable[10] = 0x00; - } -} - -void CUtil9118Dlg::OnAI11Enable() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_RADIO_CH11 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_AIEnable[11] = 0x01; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_AIEnable[11] = 0x00; - } -} - -void CUtil9118Dlg::OnAI12Enable() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_RADIO_CH12 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_AIEnable[12] = 0x01; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_AIEnable[12] = 0x00; - } -} - -void CUtil9118Dlg::OnAI13Enable() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_RADIO_CH13 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_AIEnable[13] = 0x01; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_AIEnable[13] = 0x00; - } -} - -void CUtil9118Dlg::OnAI14Enable() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_RADIO_CH14 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_AIEnable[14] = 0x01; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_AIEnable[14] = 0x00; - } -} - -void CUtil9118Dlg::OnAI15Enable() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_RADIO_CH15 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_AIEnable[15] = 0x01; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_AIEnable[15] = 0x00; - } -} - -void CUtil9118Dlg::OnDo00() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_DO00 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_OutData |= 0x01; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_OutData &= (~0x01); - } - - DO_WritePort(m_hCard, 0, m_OutData); -} - -void CUtil9118Dlg::OnDo01() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_DO01 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_OutData |= 0x02; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_OutData &= (~0x02); - } - - DO_WritePort(m_hCard, 0, m_OutData); -} - -void CUtil9118Dlg::OnDo02() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_DO02 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_OutData |= 0x04; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_OutData &= (~0x04); - } - - DO_WritePort(m_hCard, 0, m_OutData); -} - -void CUtil9118Dlg::OnDo03() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_DO03 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_OutData |= 0x08; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_OutData &= (~0x08); - } - - DO_WritePort(m_hCard, 0, m_OutData); -} - - -void CUtil9118Dlg::OnTimer(UINT_PTR nIDEvent) -{ - // TODO: Add your message handler code here and/or call default - U32 dwPortData,dwChangeMask; - I16 err; - - err = DI_ReadPort(m_hCard, 0, &dwPortData); - dwChangeMask = dwPortData ^ m_InData; - - if( dwChangeMask != 0x00 ) // Input had been changed - { - - m_InData = dwPortData; - - if( (dwChangeMask & 0x0001) == 0x0001 ) // if the target bit is changed - { - if( (dwPortData & 0x0001) == 0x0001 ) - { - m_Icon_IN00.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_IN00.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - - if( (dwChangeMask & 0x0002) == 0x0002 ) // if the target bit is changed - { - if( (dwPortData & 0x0002) == 0x0002 ) - { - m_Icon_IN01.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_IN01.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - if( (dwChangeMask & 0x0004) == 0x0004 ) // if the target bit is changed - { - if( (dwPortData & 0x0004) == 0x0004 ) - { - m_Icon_IN02.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_IN02.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - if( (dwChangeMask & 0x0008) == 0x0008 ) // if the target bit is changed - { - if( (dwPortData & 0x0008) == 0x0008 ) - { - m_Icon_IN03.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_IN03.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - } - - for( int i=0; i> 16) ); // ( n_PlotHeight * ai_data / 65536) ); // ( (n_PlotHeight/2) * ai_data/32768 ) ); - } - else // m_wCardType == PCI_9118DG - { - U16 ai_data; - - ai_data = (U16)(m_AIData[i]) >> 4; - newY = (int)( nDraw_Bottom - ((n_PlotHeight * ai_data) >> 12 ) ); // (n_PlotHeight * ai_data / 4096 ) ); // ( (n_PlotHeight/2) * ai_data/2048 ) ); - } - - if ( m_oldY[i] !=-1 ) - { - if( i < 8 ) - { - dc_plot.MoveTo( plotRect0.left+2, newY ); - dc_plot.LineTo( plotRect0.left+5, m_oldY[i] ); - } - else - { - dc_plot.MoveTo( plotRect1.left+2, newY ); - dc_plot.LineTo( plotRect1.left+5, m_oldY[i] ); - } - } - - m_oldY[i] = newY; - } - } - - return 0; -} diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118/Util9118Dlg.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118/Util9118Dlg.h deleted file mode 100644 index 098a967..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118/Util9118Dlg.h +++ /dev/null @@ -1,107 +0,0 @@ - -// Util9118Dlg.h : header file -// - -#pragma once -#include "afxcmn.h" -#include "afxwin.h" - -#include "Dask64.h" - -#ifndef MAX_CHAN_9118 -#define MAX_CHAN_9118 16 -#endif - -// CUtil9118Dlg dialog -class CUtil9118Dlg : public CDialog -{ -// Construction -public: - CUtil9118Dlg(I16 hCard, U16 wCardType, U16 wInputSignal, U16 wInputMode, CWnd* pParent = NULL); // standard constructor - -// Dialog Data - enum { IDD = IDD_UTIL9118_DIALOG }; - - protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - - -// Implementation -protected: - HICON m_hIcon; - UINT_PTR m_nTimer; - I16 m_hCard; - U16 m_wCardType; - U16 m_wInputSignal; - U16 m_wInputMode; - int m_nAOValue; - U16 m_wAdRange; - U8 m_AIEnable[MAX_CHAN_9118]; - U16 m_AIData[MAX_CHAN_9118]; - U32 m_OutData; - U32 m_InData; - - // Generated message map functions - virtual BOOL OnInitDialog(); - afx_msg void OnSysCommand(UINT nID, LPARAM lParam); - afx_msg void OnPaint(); - afx_msg HCURSOR OnQueryDragIcon(); - DECLARE_MESSAGE_MAP() -public: - CScrollBar m_scBarAO; - afx_msg void OnHScroll(UINT nSBCode, UINT nPos, CScrollBar* pScrollBar); - CComboBox m_cbAIRange; - WORD max_val; - WORD min_val; - double max_range; - double min_range; - int n_PlotWidth; - int n_PlotHeight; - int y_divider; - int x_divider; - int m_DisplayScale; - int m_oldY[MAX_CHAN_9118]; - HBRUSH OnBrush; - HBRUSH OffBrush; - CPen RedPen; - CPen GreenPen; - CPen YellowPen; - CPen BluePen; - CPen LTBluePen; - CPen LTRedPen; - CPen LTGreenPen; - CPen WhitePen; - -private: - void redraw_display_area(void); -public: - afx_msg void OnDestroy(); - afx_msg void OnAIRangeSelchange(); - afx_msg void OnAI00Enable(); - afx_msg void OnAI01Enable(); - afx_msg void OnAI02Enable(); - afx_msg void OnAI03Enable(); - afx_msg void OnAI04Enable(); - afx_msg void OnAI05Enable(); - afx_msg void OnAI06Enable(); - afx_msg void OnAI07Enable(); - afx_msg void OnAI08Enable(); - afx_msg void OnAI09Enable(); - afx_msg void OnAI10Enable(); - afx_msg void OnAI11Enable(); - afx_msg void OnAI12Enable(); - afx_msg void OnAI13Enable(); - afx_msg void OnAI14Enable(); - afx_msg void OnAI15Enable(); - afx_msg void OnDo00(); - afx_msg void OnDo01(); - afx_msg void OnDo02(); - afx_msg void OnDo03(); - afx_msg void OnTimer(UINT_PTR nIDEvent); - CStatic m_Icon_IN00; - CStatic m_Icon_IN01; - CStatic m_Icon_IN02; - CStatic m_Icon_IN03; -private: - int display_buffer_data(void); -}; diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118/res/Util9118.ico b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118/res/Util9118.ico deleted file mode 100644 index d56fbcd..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118/res/Util9118.ico and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118/res/Util9118.rc2 b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118/res/Util9118.rc2 deleted file mode 100644 index 4b43b56..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118/res/Util9118.rc2 +++ /dev/null @@ -1,13 +0,0 @@ -// -// Util9111.RC2 - resources Microsoft Visual C++ does not edit directly -// - -#ifdef APSTUDIO_INVOKED -#error this file is not editable by Microsoft Visual C++ -#endif //APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// Add manually edited resources here... - -///////////////////////////////////////////////////////////////////////////// diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118/res/black.ico b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118/res/black.ico deleted file mode 100644 index b5c375f..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118/res/black.ico and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118/res/blue.ico b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118/res/blue.ico deleted file mode 100644 index 1df4b39..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118/res/blue.ico and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118/res/ch_set1.bmp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118/res/ch_set1.bmp deleted file mode 100644 index f2374ed..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118/res/ch_set1.bmp and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118/res/ch_set2.bmp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118/res/ch_set2.bmp deleted file mode 100644 index 32d0915..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118/res/ch_set2.bmp and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118/res/green.ico b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118/res/green.ico deleted file mode 100644 index d9a9fd3..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118/res/green.ico and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118/res/icon1.ico b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118/res/icon1.ico deleted file mode 100644 index f1282c6..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118/res/icon1.ico and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118/res/pink.ico b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118/res/pink.ico deleted file mode 100644 index 18bdaad..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118/res/pink.ico and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118/res/red.ico b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118/res/red.ico deleted file mode 100644 index 7644596..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118/res/red.ico and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118/res/yellow.ico b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118/res/yellow.ico deleted file mode 100644 index 3449de2..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118/res/yellow.ico and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118/resource.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118/resource.h deleted file mode 100644 index 21da6c9..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118/resource.h +++ /dev/null @@ -1,63 +0,0 @@ -//{{NO_DEPENDENCIES}} -// Microsoft Visual C++ generated include file. -// Used by Util9118.rc -// -#define IDM_ABOUTBOX 0x0010 -#define IDD_ABOUTBOX 100 -#define IDS_ABOUTBOX 101 -#define IDD_UTIL9118_DIALOG 102 -#define IDR_MAINFRAME 128 -#define IDI_ICON_BLACK 130 -#define IDI_ICON_RED 131 -#define IDB_BITMAP_SET1 132 -#define IDB_BITMAP_SET2 133 -#define IDD_CARDID_DIALOG 135 -#define IDC_STATIC_DRAW0 1000 -#define IDC_STATIC_DRAW1 1001 -#define IDC_COMBO_CARDID 1002 -#define IDC_SCROLLBAR1 1003 -#define IDC_COMBO_INPUT_SIGNAL 1003 -#define IDC_COMBO_CARDTYPE 1004 -#define IDC_ICON_DI00 1005 -#define IDC_COMBO_INPUT_SIGNAL2 1005 -#define IDC_COMBO_INPUT_MODE 1005 -#define IDC_ICON_DI01 1006 -#define IDC_ICON_DI02 1007 -#define IDC_ICON_DI03 1008 -#define IDC_STATIC_01 1009 -#define IDC_STATIC_2 1010 -#define IDC_RADIO_CH0 1011 -#define IDC_STATIC_3 1011 -#define IDC_RADIO_CH1 1012 -#define IDC_STATIC_4 1012 -#define IDC_RADIO_CH2 1013 -#define IDC_RADIO_CH3 1014 -#define IDC_RADIO_CH4 1015 -#define IDC_RADIO_CH5 1016 -#define IDC_RADIO_CH6 1017 -#define IDC_RADIO_CH7 1018 -#define IDC_RADIO_CH8 1019 -#define IDC_RADIO_CH9 1020 -#define IDC_RADIO_CH10 1021 -#define IDC_RADIO_CH11 1022 -#define IDC_RADIO_CH12 1023 -#define IDC_RADIO_CH13 1024 -#define IDC_RADIO_CH14 1025 -#define IDC_RADIO_CH15 1026 -#define IDC_CHECK_DO00 1027 -#define IDC_CHECK_DO01 1028 -#define IDC_CHECK_DO02 1029 -#define IDC_CHECK_DO03 1030 -#define IDC_COMBO_AI_RANGE 1031 -#define IDC_EDIT_AO 1032 - -// Next default values for new objects -// -#ifdef APSTUDIO_INVOKED -#ifndef APSTUDIO_READONLY_SYMBOLS -#define _APS_NEXT_RESOURCE_VALUE 137 -#define _APS_NEXT_COMMAND_VALUE 32771 -#define _APS_NEXT_CONTROL_VALUE 1033 -#define _APS_NEXT_SYMED_VALUE 101 -#endif -#endif diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118/stdafx.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118/stdafx.cpp deleted file mode 100644 index c8c8934..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118/stdafx.cpp +++ /dev/null @@ -1,8 +0,0 @@ - -// stdafx.cpp : source file that includes just the standard includes -// Util9111.pch will be the pre-compiled header -// stdafx.obj will contain the pre-compiled type information - -#include "stdafx.h" - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118/stdafx.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118/stdafx.h deleted file mode 100644 index 12123e2..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118/stdafx.h +++ /dev/null @@ -1,60 +0,0 @@ - -// stdafx.h : include file for standard system include files, -// or project specific include files that are used frequently, -// but are changed infrequently - -#pragma once - -#ifndef _SECURE_ATL -#define _SECURE_ATL 1 -#endif - -#ifndef VC_EXTRALEAN -#define VC_EXTRALEAN // Exclude rarely-used stuff from Windows headers -#endif - -#include "targetver.h" - -#define _ATL_CSTRING_EXPLICIT_CONSTRUCTORS // some CString constructors will be explicit - -// turns off MFC's hiding of some common and often safely ignored warning messages -#define _AFX_ALL_WARNINGS - -#include // MFC core and standard components -#include // MFC extensions - - -#include // MFC Automation classes - - - -#ifndef _AFX_NO_OLE_SUPPORT -#include // MFC support for Internet Explorer 4 Common Controls -#endif -#ifndef _AFX_NO_AFXCMN_SUPPORT -#include // MFC support for Windows Common Controls -#endif // _AFX_NO_AFXCMN_SUPPORT - -#include // MFC support for ribbons and control bars - - - - - - - - - -#ifdef _UNICODE -#if defined _M_IX86 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='x86' publicKeyToken='6595b64144ccf1df' language='*'\"") -#elif defined _M_IA64 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='ia64' publicKeyToken='6595b64144ccf1df' language='*'\"") -#elif defined _M_X64 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='amd64' publicKeyToken='6595b64144ccf1df' language='*'\"") -#else -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='*' publicKeyToken='6595b64144ccf1df' language='*'\"") -#endif -#endif - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118/targetver.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118/targetver.h deleted file mode 100644 index 11730d5..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118/targetver.h +++ /dev/null @@ -1,26 +0,0 @@ - -#pragma once - -// The following macros define the minimum required platform. The minimum required platform -// is the earliest version of Windows, Internet Explorer etc. that has the necessary features to run -// your application. The macros work by enabling all features available on platform versions up to and -// including the version specified. - -// Modify the following defines if you have to target a platform prior to the ones specified below. -// Refer to MSDN for the latest info on corresponding values for different platforms. -#ifndef WINVER // Specifies that the minimum required platform is Windows Vista. -#define WINVER 0x0600 // Change this to the appropriate value to target other versions of Windows. -#endif - -#ifndef _WIN32_WINNT // Specifies that the minimum required platform is Windows Vista. -#define _WIN32_WINNT 0x0600 // Change this to the appropriate value to target other versions of Windows. -#endif - -#ifndef _WIN32_WINDOWS // Specifies that the minimum required platform is Windows 98. -#define _WIN32_WINDOWS 0x0410 // Change this to the appropriate value to target Windows Me or later. -#endif - -#ifndef _WIN32_IE // Specifies that the minimum required platform is Internet Explorer 7.0. -#define _WIN32_IE 0x0700 // Change this to the appropriate value to target other versions of IE. -#endif - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118AboutTrg/9111int.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118AboutTrg/9111int.suo deleted file mode 100644 index 8a4412a..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118AboutTrg/9111int.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118AboutTrg/9118SATg.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118AboutTrg/9118SATg.cpp deleted file mode 100644 index 9f8508b..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118AboutTrg/9118SATg.cpp +++ /dev/null @@ -1,109 +0,0 @@ - -// 9118SATg.cpp : Defines the class behaviors for the application. -// - -#include "stdafx.h" -#include "9118SATg.h" -#include "9118SATgDlg.h" -#include "CardIDDlg.h" - -#ifdef _DEBUG -#define new DEBUG_NEW -#endif - - -// C9118SATgApp - -BEGIN_MESSAGE_MAP(C9118SATgApp, CWinAppEx) - ON_COMMAND(ID_HELP, &CWinApp::OnHelp) -END_MESSAGE_MAP() - - -// C9118SATgApp construction - -C9118SATgApp::C9118SATgApp() -{ - // TODO: add construction code here, - // Place all significant initialization in InitInstance -} - - -// The one and only C9118SATgApp object - -C9118SATgApp theApp; - - -// C9118SATgApp initialization - -BOOL C9118SATgApp::InitInstance() -{ - int nCardID = 0; - I16 hCard; - CString strTemp; - INT_PTR nResponse; - - // InitCommonControlsEx() is required on Windows XP if an application - // manifest specifies use of ComCtl32.dll version 6 or later to enable - // visual styles. Otherwise, any window creation will fail. - INITCOMMONCONTROLSEX InitCtrls; - InitCtrls.dwSize = sizeof(InitCtrls); - // Set this to include all the common control classes you want to use - // in your application. - InitCtrls.dwICC = ICC_WIN95_CLASSES; - InitCommonControlsEx(&InitCtrls); - - CWinAppEx::InitInstance(); - - AfxEnableControlContainer(); - - // Standard initialization - // If you are not using these features and wish to reduce the size - // of your final executable, you should remove from the following - // the specific initialization routines you do not need - // Change the registry key under which our settings are stored - // TODO: You should modify this string to be something appropriate - // such as the name of your company or organization - SetRegistryKey(_T("Local AppWizard-Generated Applications")); - - CCardIDDlg CardDlg( nCardID ); - - nResponse = CardDlg.DoModal(); - if (nResponse == IDOK) - { - nCardID = CardDlg.GetCardID(); - - if ((hCard=Register_Card(PCI_9118DG, nCardID)) < 0) - { - strTemp.Format( TEXT("Register_Card Error = %d"), hCard); - AfxMessageBox( strTemp ); - } - else - { - C9118SATgDlg dlg(hCard); - m_pMainWnd = &dlg; - nResponse = dlg.DoModal(); - if (nResponse == IDOK) - { - // TODO: Place code here to handle when the dialog is - // dismissed with OK - } - else if (nResponse == IDCANCEL) - { - // TODO: Place code here to handle when the dialog is - // dismissed with Cancel - } - - if (hCard >= 0) Release_Card(hCard); - } - - } - else if (nResponse == IDCANCEL) - { - // TODO: Place code here to handle when the dialog is - // dismissed with Cancel - } - - // Since the dialog has been closed, return FALSE so that we exit the - // application, rather than start the application's message pump. - return FALSE; -} diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118AboutTrg/9118SATg.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118AboutTrg/9118SATg.h deleted file mode 100644 index a211353..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118AboutTrg/9118SATg.h +++ /dev/null @@ -1,32 +0,0 @@ - -// 9118SATg.h : main header file for the PROJECT_NAME application -// - -#pragma once - -#ifndef __AFXWIN_H__ - #error "include 'stdafx.h' before including this file for PCH" -#endif - -#include "resource.h" // main symbols - - -// C9118SATgApp: -// See 9118SATg.cpp for the implementation of this class -// - -class C9118SATgApp : public CWinAppEx -{ -public: - C9118SATgApp(); - -// Overrides - public: - virtual BOOL InitInstance(); - -// Implementation - - DECLARE_MESSAGE_MAP() -}; - -extern C9118SATgApp theApp; \ No newline at end of file diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118AboutTrg/9118SATg.rc b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118AboutTrg/9118SATg.rc deleted file mode 100644 index 5f23c93..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118AboutTrg/9118SATg.rc +++ /dev/null @@ -1,302 +0,0 @@ -// Microsoft Visual C++ generated resource script. -// -#include "resource.h" - -#define APSTUDIO_READONLY_SYMBOLS -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 2 resource. -// -#ifndef APSTUDIO_INVOKED -#include "targetver.h" -#endif -#include "afxres.h" - -///////////////////////////////////////////////////////////////////////////// -#undef APSTUDIO_READONLY_SYMBOLS - -///////////////////////////////////////////////////////////////////////////// -// Chinese (Taiwan) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_CHT) -#ifdef _WIN32 -LANGUAGE LANG_CHINESE, SUBLANG_CHINESE_TRADITIONAL -#pragma code_page(950) -#endif //_WIN32 - -#ifdef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// TEXTINCLUDE -// - -1 TEXTINCLUDE -BEGIN - "resource.h\0" -END - -2 TEXTINCLUDE -BEGIN - "#ifndef APSTUDIO_INVOKED\r\n" - "#include ""targetver.h""\r\n" - "#endif\r\n" - "#include ""afxres.h""\r\n" - "\0" -END - -3 TEXTINCLUDE -BEGIN - "#define _AFX_NO_SPLITTER_RESOURCES\r\n" - "#define _AFX_NO_OLE_RESOURCES\r\n" - "#define _AFX_NO_TRACKER_RESOURCES\r\n" - "#define _AFX_NO_PROPERTY_RESOURCES\r\n" - "\r\n" - "#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)\r\n" - "LANGUAGE 9, 1\r\n" - "#pragma code_page(1252)\r\n" - "#include ""res\\My9118SATg.rc2"" // non-Microsoft Visual C++ edited resources\r\n" - "#include ""afxres.rc"" // Standard components\r\n" - "#endif\r\n" - "\0" -END - -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// Icon -// - -// Icon with lowest ID value placed first to ensure application icon -// remains consistent on all systems. -IDR_MAINFRAME ICON "res\\9118SATg.ico" -#endif // Chinese (Taiwan) resources -///////////////////////////////////////////////////////////////////////////// - - -///////////////////////////////////////////////////////////////////////////// -// English (U.S.) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -#ifdef _WIN32 -LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US -#pragma code_page(1252) -#endif //_WIN32 - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog -// - -IDD_ABOUTBOX DIALOGEX 0, 0, 170, 62 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "About 9118SATg" -FONT 8, "MS Shell Dlg", 0, 0, 0x1 -BEGIN - ICON IDR_MAINFRAME,IDC_STATIC,14,14,21,20 - LTEXT "9118SATg, Version 1.0",IDC_STATIC,42,14,114,8,SS_NOPREFIX - LTEXT "Copyright (C) 2010",IDC_STATIC,42,26,114,8 - DEFPUSHBUTTON "OK",IDOK,113,41,50,14,WS_GROUP -END - -IDD_9118DMA_DIALOG DIALOGEX 0, 0, 365, 232 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU -EXSTYLE WS_EX_APPWINDOW -CAPTION "PCI-9118HR Single Buffer DMA by About Trigger Mode" -FONT 8, "MS Shell Dlg", 0, 0, 0x1 -BEGIN - GROUPBOX "",IDC_STATIC_DRAW,45,9,248,161,NOT WS_VISIBLE - LTEXT "Range : +/- 5V",IDC_STATIC,299,129,52,15 - LTEXT "Buffer Size",IDC_STATIC,124,182,42,9 - EDITTEXT IDC_EDIT_SAMPLE_RATE,47,196,39,14,ES_AUTOHSCROLL | ES_READONLY - LTEXT "Sample Rate :",IDC_STATIC,47,182,49,9 - LTEXT "KHz",IDC_STATIC,99,199,15,9 - SCROLLBAR IDC_SCROLLBAR_RATE,87,196,9,11,SBS_VERT - PUSHBUTTON "Start",IDC_BT_START,230,188,55,22 - CONTROL "0",IDC_RADIO_CH0,"Button",BS_AUTORADIOBUTTON | BS_LEFTTEXT,307,20,16,12 - CONTROL "1",IDC_RADIO_CH1,"Button",BS_AUTORADIOBUTTON | BS_LEFTTEXT,307,35,16,12 - CONTROL "2",IDC_RADIO_CH2,"Button",BS_AUTORADIOBUTTON | BS_LEFTTEXT,307,49,16,12 - CONTROL "3",IDC_RADIO_CH3,"Button",BS_AUTORADIOBUTTON | BS_LEFTTEXT,307,64,16,12 - CONTROL "4",IDC_RADIO_CH4,"Button",BS_AUTORADIOBUTTON | BS_LEFTTEXT,331,20,16,12 - CONTROL "5",IDC_RADIO_CH5,"Button",BS_AUTORADIOBUTTON | BS_LEFTTEXT,331,35,16,12 - CONTROL "6",IDC_RADIO_CH6,"Button",BS_AUTORADIOBUTTON | BS_LEFTTEXT,331,49,16,12 - CONTROL "7",IDC_RADIO_CH7,"Button",BS_AUTORADIOBUTTON | BS_LEFTTEXT,331,64,16,12 - EDITTEXT IDC_EDIT_BUF_SIZE,122,196,46,14,ES_AUTOHSCROLL - PUSHBUTTON "Stop",IDC_BT_STOP,291,188,55,22 - LTEXT "Post Count",IDC_STATIC_TRACE_CNT,181,182,42,9,NOT WS_VISIBLE - EDITTEXT IDC_EDIT_TRACE_CNT,179,196,46,14,ES_AUTOHSCROLL | NOT WS_VISIBLE -END - -IDD_CARDID_DIALOG DIALOGEX 0, 0, 174, 95 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "Card ID" -FONT 8, "MS Shell Dlg", 400, 0, 0x1 -BEGIN - COMBOBOX IDC_COMBO_CARDID,75,24,71,126,CBS_DROPDOWN | WS_VSCROLL | WS_TABSTOP - LTEXT "Card Number",IDC_STATIC_01,21,25,46,12 - PUSHBUTTON "OK",IDOK,22,57,58,19 - PUSHBUTTON "CANCEL",IDCANCEL,86,57,58,19 -END - - -///////////////////////////////////////////////////////////////////////////// -// -// Version -// - -VS_VERSION_INFO VERSIONINFO - FILEVERSION 1,0,0,1 - PRODUCTVERSION 1,0,0,1 - FILEFLAGSMASK 0x3fL -#ifdef _DEBUG - FILEFLAGS 0x1L -#else - FILEFLAGS 0x0L -#endif - FILEOS 0x4L - FILETYPE 0x1L - FILESUBTYPE 0x0L -BEGIN - BLOCK "StringFileInfo" - BEGIN - BLOCK "040904e4" - BEGIN - VALUE "CompanyName", "TODO: " - VALUE "FileDescription", "TODO: " - VALUE "FileVersion", "1.0.0.1" - VALUE "InternalName", "9118SATg.exe" - VALUE "LegalCopyright", "TODO: (c) . All rights reserved." - VALUE "OriginalFilename", "9118SATg.exe" - VALUE "ProductName", "TODO: " - VALUE "ProductVersion", "1.0.0.1" - END - END - BLOCK "VarFileInfo" - BEGIN - VALUE "Translation", 0x409, 1252 - END -END - - -///////////////////////////////////////////////////////////////////////////// -// -// DESIGNINFO -// - -#ifdef APSTUDIO_INVOKED -GUIDELINES DESIGNINFO -BEGIN - IDD_ABOUTBOX, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 163 - TOPMARGIN, 7 - BOTTOMMARGIN, 55 - END - - IDD_9118DMA_DIALOG, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 358 - TOPMARGIN, 7 - BOTTOMMARGIN, 225 - END - - IDD_CARDID_DIALOG, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 167 - TOPMARGIN, 7 - BOTTOMMARGIN, 88 - END -END -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog Info -// - -IDD_CARDID_DIALOG DLGINIT -BEGIN - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0030, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0031, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0032, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0033, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0034, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0035, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0036, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0037, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0038, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0039, - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3031, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3131, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3231, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3331, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3431, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3531, "\000" - 0 -END - - -///////////////////////////////////////////////////////////////////////////// -// -// Bitmap -// - -IDB_BITMAP_SET1 BITMAP "res\\ch_set1.bmp" -IDB_BITMAP_SET2 BITMAP "res\\ch_set2.bmp" - -///////////////////////////////////////////////////////////////////////////// -// -// String Table -// - -STRINGTABLE -BEGIN - IDS_ABOUTBOX "&About 9118SATg..." -END - -#endif // English (U.S.) resources -///////////////////////////////////////////////////////////////////////////// - - - -#ifndef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 3 resource. -// -#define _AFX_NO_SPLITTER_RESOURCES -#define _AFX_NO_OLE_RESOURCES -#define _AFX_NO_TRACKER_RESOURCES -#define _AFX_NO_PROPERTY_RESOURCES - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -LANGUAGE 9, 1 -#pragma code_page(1252) -#include "res\My9118SATg.rc2" // non-Microsoft Visual C++ edited resources -#include "afxres.rc" // Standard components -#endif - -///////////////////////////////////////////////////////////////////////////// -#endif // not APSTUDIO_INVOKED - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118AboutTrg/9118SATg.sln b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118AboutTrg/9118SATg.sln deleted file mode 100644 index 9310821..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118AboutTrg/9118SATg.sln +++ /dev/null @@ -1,20 +0,0 @@ - -Microsoft Visual Studio Solution File, Format Version 10.00 -# Visual Studio 2008 -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "9118SATg", "9118SATg.vcproj", "{702163FB-B6DF-4EF5-9491-FC54D71509BC}" -EndProject -Global - GlobalSection(SolutionConfigurationPlatforms) = preSolution - Debug|x64 = Debug|x64 - Release|x64 = Release|x64 - EndGlobalSection - GlobalSection(ProjectConfigurationPlatforms) = postSolution - {702163FB-B6DF-4EF5-9491-FC54D71509BC}.Debug|x64.ActiveCfg = Debug|x64 - {702163FB-B6DF-4EF5-9491-FC54D71509BC}.Debug|x64.Build.0 = Debug|x64 - {702163FB-B6DF-4EF5-9491-FC54D71509BC}.Release|x64.ActiveCfg = Release|x64 - {702163FB-B6DF-4EF5-9491-FC54D71509BC}.Release|x64.Build.0 = Release|x64 - EndGlobalSection - GlobalSection(SolutionProperties) = preSolution - HideSolutionNode = FALSE - EndGlobalSection -EndGlobal diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118AboutTrg/9118SATg.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118AboutTrg/9118SATg.suo deleted file mode 100644 index 9a67652..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118AboutTrg/9118SATg.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118AboutTrg/9118SATg.vcproj b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118AboutTrg/9118SATg.vcproj deleted file mode 100644 index 58a1054..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118AboutTrg/9118SATg.vcproj +++ /dev/null @@ -1,294 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118AboutTrg/9118SATgDlg.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118AboutTrg/9118SATgDlg.cpp deleted file mode 100644 index 8976fd1..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118AboutTrg/9118SATgDlg.cpp +++ /dev/null @@ -1,633 +0,0 @@ - -// 9118SATgDlg.cpp : implementation file -// - -#include "stdafx.h" -#include "9118SATg.h" -#include "9118SATgDlg.h" - -#ifdef _DEBUG -#define new DEBUG_NEW -#endif - -CRect plotRect; - -// CAboutDlg dialog used for App About - -class CAboutDlg : public CDialog -{ -public: - CAboutDlg(); - -// Dialog Data - enum { IDD = IDD_ABOUTBOX }; - - protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - -// Implementation -protected: - DECLARE_MESSAGE_MAP() -}; - -CAboutDlg::CAboutDlg() : CDialog(CAboutDlg::IDD) -{ -} - -void CAboutDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); -} - -BEGIN_MESSAGE_MAP(CAboutDlg, CDialog) -END_MESSAGE_MAP() - - -// C9118SATgDlg dialog - - - - -C9118SATgDlg::C9118SATgDlg(I16 hCard, CWnd* pParent /*=NULL*/) - : CDialog(C9118SATgDlg::IDD, pParent) -{ - m_hIcon = AfxGetApp()->LoadIcon(IDR_MAINFRAME); - - n_PlotWidth = n_PlotHeight = -1; - OnBrush = OffBrush = NULL; - - min_val = 0x00; - max_val = 0x0FFF; - - m_fSampleRate = 10000.0; // 10KHz - - m_hCard = hCard; - - m_wScanChans = 0; - m_nTimer = -1; - m_hMem=NULL; - - m_wRange = AD_B_5_V; - m_dwReadCount = 1000; - m_wChannel = 0; - - m_wCardType = PCI_9118HR; -} - -void C9118SATgDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); -} - -BEGIN_MESSAGE_MAP(C9118SATgDlg, CDialog) - ON_WM_SYSCOMMAND() - ON_WM_PAINT() - ON_WM_QUERYDRAGICON() - //}}AFX_MSG_MAP - ON_WM_DESTROY() - ON_WM_VSCROLL() - ON_BN_CLICKED(IDC_BT_START, &C9118SATgDlg::OnStart) - ON_BN_CLICKED(IDC_RADIO_CH0, &C9118SATgDlg::OnCh0) - ON_BN_CLICKED(IDC_RADIO_CH1, &C9118SATgDlg::OnCh1) - ON_BN_CLICKED(IDC_RADIO_CH2, &C9118SATgDlg::OnCh2) - ON_BN_CLICKED(IDC_RADIO_CH3, &C9118SATgDlg::OnCh3) - ON_BN_CLICKED(IDC_RADIO_CH4, &C9118SATgDlg::OnCh4) - ON_BN_CLICKED(IDC_RADIO_CH5, &C9118SATgDlg::OnCh5) - ON_BN_CLICKED(IDC_RADIO_CH6, &C9118SATgDlg::OnCh6) - ON_BN_CLICKED(IDC_RADIO_CH7, &C9118SATgDlg::OnCh7) - ON_WM_TIMER() - ON_BN_CLICKED(IDC_BT_STOP, &C9118SATgDlg::OnStop) -END_MESSAGE_MAP() - - -// C9118SATgDlg message handlers - -BOOL C9118SATgDlg::OnInitDialog() -{ - CDialog::OnInitDialog(); - - // Add "About..." menu item to system menu. - - // IDM_ABOUTBOX must be in the system command range. - ASSERT((IDM_ABOUTBOX & 0xFFF0) == IDM_ABOUTBOX); - ASSERT(IDM_ABOUTBOX < 0xF000); - - CMenu* pSysMenu = GetSystemMenu(FALSE); - if (pSysMenu != NULL) - { - BOOL bNameValid; - CString strAboutMenu; - bNameValid = strAboutMenu.LoadString(IDS_ABOUTBOX); - ASSERT(bNameValid); - if (!strAboutMenu.IsEmpty()) - { - pSysMenu->AppendMenu(MF_SEPARATOR); - pSysMenu->AppendMenu(MF_STRING, IDM_ABOUTBOX, strAboutMenu); - } - } - - // Set the icon for this dialog. The framework does this automatically - // when the application's main window is not a dialog - SetIcon(m_hIcon, TRUE); // Set big icon - SetIcon(m_hIcon, FALSE); // Set small icon - - // TODO: Add extra initialization here - x_divider = 5; y_divider = 4; - - OnBrush = CreateSolidBrush( RGB(255,0,0) ); - OffBrush = CreateSolidBrush( RGB(125,0,0) ); - - RedPen.CreatePen( PS_SOLID, 1, RGB(255,0,0)); - - - if( n_PlotWidth == -1 && n_PlotHeight == -1 ) - { - ((CWnd*)GetDlgItem(IDC_STATIC_DRAW))->GetWindowRect(&plotRect); - ScreenToClient(&plotRect); - - n_PlotWidth = min( plotRect.Width(), 512); - n_PlotHeight = plotRect.Height() - 10; - } - - GetDlgItem( IDC_STATIC_TRACE_CNT )->ShowWindow(TRUE); - GetDlgItem( IDC_EDIT_TRACE_CNT )->ShowWindow(TRUE); - - m_wTraceCount = 512; - SetDlgItemInt( IDC_EDIT_TRACE_CNT, (UINT)m_wTraceCount ); - - - // set the default SampleRate - SetDlgItemInt( IDC_EDIT_SAMPLE_RATE, (UINT)(m_fSampleRate/1000) ); - SetDlgItemInt( IDC_EDIT_BUF_SIZE, (UINT)(m_dwReadCount) ); - ((CButton*)GetDlgItem( IDC_RADIO_CH0 ))->SetCheck( TRUE ); - - m_dwReadCount = 1024; - m_wChannel = 0; - - max_range = 5.0; - min_range = -5.0; - - return TRUE; // return TRUE unless you set the focus to a control -} - -void C9118SATgDlg::OnSysCommand(UINT nID, LPARAM lParam) -{ - if ((nID & 0xFFF0) == IDM_ABOUTBOX) - { - CAboutDlg dlgAbout; - dlgAbout.DoModal(); - } - else - { - CDialog::OnSysCommand(nID, lParam); - } -} - -// If you add a minimize button to your dialog, you will need the code below -// to draw the icon. For MFC applications using the document/view model, -// this is automatically done for you by the framework. - -void C9118SATgDlg::OnPaint() -{ - if (IsIconic()) - { - CPaintDC dc(this); // device context for painting - - SendMessage(WM_ICONERASEBKGND, reinterpret_cast(dc.GetSafeHdc()), 0); - - // Center icon in client rectangle - int cxIcon = GetSystemMetrics(SM_CXICON); - int cyIcon = GetSystemMetrics(SM_CYICON); - CRect rect; - GetClientRect(&rect); - int x = (rect.Width() - cxIcon + 1) / 2; - int y = (rect.Height() - cyIcon + 1) / 2; - - // Draw the icon - dc.DrawIcon(x, y, m_hIcon); - } - else - { - redraw_display_area(); - CDialog::OnPaint(); - } -} - -// The system calls this function to obtain the cursor to display while the user drags -// the minimized window. -HCURSOR C9118SATgDlg::OnQueryDragIcon() -{ - return static_cast(m_hIcon); -} - - -void C9118SATgDlg::redraw_display_area(void) -{ - CPen *oldPen; - - int oldMode; - COLORREF oldColor; - - CString y_lable; - - CPen minor_tick( PS_SOLID,1,RGB(132,130,132) ); -// CPen y_grid( PS_SOLID,1,RGB(206,203,132) ); - - int i, x_intv, y_intv; -// long total_sec; - - CClientDC dc_plot(this); - - // draw the base-line for x-y axises - oldPen = (CPen *)dc_plot.SelectStockObject(BLACK_PEN); - - // redraw the background - dc_plot.FillSolidRect( plotRect, RGB(0,0,0) ); - - // Re-Draw the AREA for Y-Lable - { - CBrush DIALOG_BRUSH; - CRect redraw_area, full_client; - - GetClientRect(&full_client); - ScreenToClient(&full_client); - - redraw_area.left = full_client.left; - redraw_area.top = plotRect.top - 5; - redraw_area.right = plotRect.left - 3; - redraw_area.bottom = plotRect.bottom + 10; - - DIALOG_BRUSH.CreateSysColorBrush( COLOR_3DFACE ); - - dc_plot.FillRect( redraw_area, &DIALOG_BRUSH ); - - DIALOG_BRUSH.DeleteObject(); - } - - dc_plot.MoveTo( plotRect.left - 3, plotRect.top ); - dc_plot.LineTo( plotRect.left - 3, plotRect.bottom ); - - // calculate the interval for tick/grid - y_intv = (plotRect.Height() - 10) /y_divider; - x_intv = plotRect.Width()/x_divider; - - - // set the color for tick - oldColor = dc_plot.SetTextColor( RGB(0,0,0) ); - oldMode = dc_plot.SetBkMode( TRANSPARENT ); - - for( i=0; i<= y_divider; i++ ) - { - CString tick_str; - CRect tmp_rect, tick_rect; - - // draw the tick for y-axis - dc_plot.MoveTo( plotRect.left -12, plotRect.bottom -5 - (i*y_intv) ); - dc_plot.LineTo( plotRect.left -3, plotRect.bottom -5 - (i*y_intv) ); - - tick_str.Format( _T("%.1f"), ( ((max_range-min_range)/y_divider) * i)+min_range ); - - // calculate the rectangle for text - dc_plot.DrawText( tick_str, &tmp_rect, DT_CALCRECT|DT_SINGLELINE ); - tick_rect.right = plotRect.left -14; - tick_rect.left = tick_rect.right - tmp_rect.Width(); - tick_rect.top = plotRect.bottom -5 - (i*y_intv) - tmp_rect.Height()/2; - tick_rect.bottom = tick_rect.top + tmp_rect.Height(); - - // draw the text - dc_plot.DrawText( tick_str, &tick_rect, DT_SINGLELINE|DT_RIGHT ); - - } - - // draw the minor_tick for Y axises - dc_plot.SelectObject(&minor_tick); - for( i=0; i< y_divider; i++ ) - { - dc_plot.MoveTo( plotRect.left -9, plotRect.bottom -5 - (i*y_intv) - y_intv/2 ); - dc_plot.LineTo( plotRect.left -4, plotRect.bottom -5 - (i*y_intv) - y_intv/2 ); - } - - dc_plot.SetTextColor( oldColor ); - dc_plot.SetBkMode( oldMode ); - dc_plot.SelectObject( oldPen ); -} - -void C9118SATgDlg::OnDestroy() -{ - CDialog::OnDestroy(); - - // TODO: Add your message handler code here - if( m_nTimer != -1 ) - { - KillTimer( m_nTimer ); - m_nTimer = -1; - } - - if (m_hMem != NULL) - { - GlobalUnfix(m_hMem); - GlobalUnlock(m_hMem); - GlobalFree(m_hMem); - - m_hMem = NULL; - } - - if( OnBrush != NULL ) - ::DeleteObject( OnBrush ); - - if( OffBrush != NULL ) - ::DeleteObject( OffBrush ); - - RedPen.DeleteObject(); - -} - -void C9118SATgDlg::OnVScroll(UINT nSBCode, UINT nPos, CScrollBar* pScrollBar) -{ - // TODO: Add your message handler code here and/or call default - switch ( nSBCode ) - { - case SB_LINEUP : - m_fSampleRate += 5000.0; - if (m_fSampleRate > 50000.0 ) m_fSampleRate = 50000.0; - break; - case SB_LINEDOWN: - m_fSampleRate -= 5000.0; - if (m_fSampleRate < 5000.0 ) m_fSampleRate = 5000.0; - break; - } - - SetDlgItemInt( IDC_EDIT_SAMPLE_RATE, (UINT)(m_fSampleRate/1000) ); - - CDialog::OnVScroll(nSBCode, nPos, pScrollBar); -} - - -void C9118SATgDlg::OnStop() -{ - // TODO: Add your control notification handler code here - U32 count; - - - AI_AsyncClear(m_hCard, &count); - - if( m_nTimer != -1 ) - { - KillTimer( m_nTimer ); - m_nTimer = -1; - } - - GetDlgItem( IDC_BT_START )->EnableWindow(TRUE); -} - -void C9118SATgDlg::OnStart() -{ - // TODO: Add your control notification handler code here - DWORD mem_size; - CString strTemp; - I16 err; - - GetDlgItem( IDC_BT_START )->EnableWindow(FALSE); - - m_dwReadCount = GetDlgItemInt(IDC_EDIT_BUF_SIZE); - m_wTraceCount = GetDlgItemInt(IDC_EDIT_TRACE_CNT); - - - if (m_dwReadCount <= m_wTraceCount) - { - strTemp.Format( TEXT("Buffer Size have to be larger than %d"), m_wTraceCount+2); - AfxMessageBox( strTemp ); - return; - } - - if (m_hMem != NULL) - { - GlobalUnfix(m_hMem); - GlobalUnlock(m_hMem); - GlobalFree(m_hMem); - - m_hMem = NULL; - } - - // allocate a memory for user DMA buffer - mem_size = m_dwReadCount * sizeof(I16); - m_hMem = GlobalAlloc(GMEM_ZEROINIT, mem_size); - m_pAIBuf = (U16*) GlobalLock(m_hMem); - if (m_pAIBuf == NULL ) - { - AfxMessageBox( TEXT("Memory allocation failed") ); - return; - } - - GlobalFix(m_hMem); - - err = AI_9118_Config(m_hCard, P9118_AI_BiPolar|P9118_AI_SingEnded, P9118_AI_DtrgPositive|P9118_AI_EtrgPositive|P9118_AI_AboutTrgEn, 0, m_wTraceCount); - if (err!=0) - { - strTemp.Format( TEXT("AI_9118_Config error=%d"), err); - AfxMessageBox( strTemp ); - } - - err=AI_AsyncDblBufferMode(m_hCard, 0); // single-buffer mode - if (err!=0) - { - strTemp.Format( TEXT("AI_DblBufferMode error=%d"), err); - AfxMessageBox( strTemp ); - } - - err=AI_ContReadChannel (m_hCard, m_wChannel, m_wRange, (U16*)m_pAIBuf, m_dwReadCount, (F64)m_fSampleRate, ASYNCH_OP); - if (err!=0) - { - strTemp.Format( TEXT("AI_ContReadChannel error=%d"), err); - AfxMessageBox( strTemp ); - } - - m_nTimer = SetTimer( 1, 50, NULL ); - -} - -int C9118SATgDlg::display_buffer_data(U16* pBuf, int acquisition_count ) -{ - CClientDC dc_plot(this); - int nDraw_Origin_Y; - int cur_channel; - - int newY = -1; - int newX = -1; - int index; - - // redraw the background - dc_plot.FillSolidRect( plotRect, RGB(0,0,0) ); - - dc_plot.SelectObject(&RedPen); - nDraw_Origin_Y = ( plotRect.bottom - 5 ); // - n_PlotHeight/2; - - for( index=0; index> 16) ); // ( n_PlotHeight * ai_data / 65536) ); // ( (n_PlotHeight/2) * ai_data/32768 ) ); - } - else // PCI_9118DG & PCI_9118HG - { - U16 ai_data; - - cur_channel = pBuf[index] & 0x0f; - ai_data = (U16)(pBuf[index]) >> 4; - newY = (int)( nDraw_Origin_Y - ((n_PlotHeight * ai_data) >> 12 ) ); // (n_PlotHeight * ai_data / 4096 ) ); // ( (n_PlotHeight/2) * ai_data/2048 ) ); - } - - newX = (int)( index*n_PlotWidth/m_dwReadCount + plotRect.left ); - - if ( index == 0 ) - { - dc_plot.MoveTo( newX, newY ); - } - else - { - dc_plot.MoveTo( m_oldX, m_oldY ); - dc_plot.LineTo( newX, newY ); - } - - m_oldX = newX; - m_oldY = newY; - } - - return 0; -} - -void C9118SATgDlg::OnTimer(UINT_PTR nIDEvent) -{ - // TODO: Add your message handler code here and/or call default - BOOLEAN fstop; - U32 count; - - AI_AsyncCheck(m_hCard, &fstop, &count); - - if( fstop == TRUE ) - { - AI_AsyncClear(m_hCard, &count); - - KillTimer( m_nTimer ); - m_nTimer = -1; - - display_buffer_data( m_pAIBuf, count ); - - GetDlgItem( IDC_BT_START )->EnableWindow(TRUE); - } - - CDialog::OnTimer(nIDEvent); -} - -void C9118SATgDlg::OnCh0() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_RADIO_CH0 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_wChannel = 0; - } - -} - -void C9118SATgDlg::OnCh1() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_RADIO_CH1 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_wChannel = 1; - } -} - -void C9118SATgDlg::OnCh2() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_RADIO_CH2 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_wChannel = 2; - } -} - -void C9118SATgDlg::OnCh3() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_RADIO_CH3 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_wChannel = 3; - } -} - -void C9118SATgDlg::OnCh4() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_RADIO_CH4 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_wChannel = 4; - } -} - -void C9118SATgDlg::OnCh5() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_RADIO_CH5 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_wChannel = 5; - } -} - -void C9118SATgDlg::OnCh6() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_RADIO_CH6 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_wChannel = 6; - } -} - -void C9118SATgDlg::OnCh7() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_RADIO_CH7 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_wChannel = 7; - } -} - - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118AboutTrg/9118SATgDlg.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118AboutTrg/9118SATgDlg.h deleted file mode 100644 index 2fb8273..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118AboutTrg/9118SATgDlg.h +++ /dev/null @@ -1,75 +0,0 @@ - -// 9118SATgDlg.h : header file -#pragma once -#include "afxcmn.h" -#include "afxwin.h" - -#include "Dask64.h" - -// C9118SATgDlg dialog -class C9118SATgDlg : public CDialog -{ -// Construction -public: - C9118SATgDlg(I16 hCard, CWnd* pParent = NULL); // standard constructor - -// Dialog Data - enum { IDD = IDD_9118DMA_DIALOG }; - - protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - - -// Implementation -protected: - HICON m_hIcon; - UINT_PTR m_nTimer; - I16 m_hCard; - U16 m_wCardType; - double m_fSampleRate; - U16 m_wScanChans; - HANDLE m_hMem; - U16 *m_pAIBuf; - U16 m_wRange; - int m_oldY; - int m_oldX; - U32 m_dwReadCount; - U16 m_wChannel; - U16 m_wTraceCount; - - // Generated message map functions - virtual BOOL OnInitDialog(); - afx_msg void OnSysCommand(UINT nID, LPARAM lParam); - afx_msg void OnPaint(); - afx_msg HCURSOR OnQueryDragIcon(); - DECLARE_MESSAGE_MAP() - -public: - WORD max_val; - WORD min_val; - double max_range; - double min_range; - int n_PlotWidth; - int n_PlotHeight; - int y_divider; - int x_divider; - int m_DisplayScale; - HBRUSH OnBrush; - HBRUSH OffBrush; - CPen RedPen; - void redraw_display_area(void); - afx_msg void OnDestroy(); - afx_msg void OnVScroll(UINT nSBCode, UINT nPos, CScrollBar* pScrollBar); - afx_msg void OnStart(); - int display_buffer_data(U16* pBuf, int acquisition_count); - afx_msg void OnCh0(); - afx_msg void OnCh1(); - afx_msg void OnCh2(); - afx_msg void OnCh3(); - afx_msg void OnCh4(); - afx_msg void OnCh5(); - afx_msg void OnCh6(); - afx_msg void OnCh7(); - afx_msg void OnTimer(UINT_PTR nIDEvent); - afx_msg void OnStop(); -}; diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118AboutTrg/9118SPtg.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118AboutTrg/9118SPtg.suo deleted file mode 100644 index fa45f96..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118AboutTrg/9118SPtg.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118AboutTrg/CardIDDlg.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118AboutTrg/CardIDDlg.cpp deleted file mode 100644 index 9da8e75..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118AboutTrg/CardIDDlg.cpp +++ /dev/null @@ -1,65 +0,0 @@ -// CardIDDlg.cpp : implementation file -// -#include "stdafx.h" -#include "9118SATg.h" -#include "9118SATgDlg.h" -#include "CardIDDlg.h" - -// CCardIDDlg dialog - -IMPLEMENT_DYNAMIC(CCardIDDlg, CDialog) - -CCardIDDlg::CCardIDDlg(int nCardIdx, CWnd* pParent /*=NULL*/) - : CDialog(CCardIDDlg::IDD, pParent) -{ - m_nCardIdx = nCardIdx; -} - -CCardIDDlg::~CCardIDDlg() -{ -} - -void CCardIDDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); - DDX_Control(pDX, IDC_COMBO_CARDID, m_cbCardID); -} - - -BEGIN_MESSAGE_MAP(CCardIDDlg, CDialog) -// ON_CBN_SELCHANGE(IDC_COMBO_CARDID, &CCardIDDlg::OnCbnSelchangeComboCardid) -ON_BN_CLICKED(IDOK, &CCardIDDlg::OnBnClickedOk) -//ON_WM_CTLCOLOR() -END_MESSAGE_MAP() - - -// CCardIDDlg message handlers - - -void CCardIDDlg::OnBnClickedOk() -{ - // TODO: Add your control notification handler code here - -// UpdateData(TRUE); - m_nCardIdx = m_cbCardID.GetCurSel(); - - OnOK(); -} - -BOOL CCardIDDlg::OnInitDialog() -{ - CDialog::OnInitDialog(); - - // TODO: Add extra initialization here - m_cbCardID.SetCurSel( m_nCardIdx ); - - return TRUE; // return TRUE unless you set the focus to a control - // EXCEPTION: OCX Property Pages should return FALSE -} - -// the function to get the selected CardID -int CCardIDDlg::GetCardID(void) -{ - return m_nCardIdx; -} - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118AboutTrg/CardIDDlg.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118AboutTrg/CardIDDlg.h deleted file mode 100644 index 9c02c58..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118AboutTrg/CardIDDlg.h +++ /dev/null @@ -1,32 +0,0 @@ -#pragma once -#include "afxwin.h" - -#include "Dask64.h" - -// CCardIDDlg dialog - -class CCardIDDlg : public CDialog -{ - DECLARE_DYNAMIC(CCardIDDlg) - -public: - CCardIDDlg(int nCardIdx, CWnd* pParent = NULL); // standard constructor - virtual ~CCardIDDlg(); - -// Dialog Data - enum { IDD = IDD_CARDID_DIALOG }; - -protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - - DECLARE_MESSAGE_MAP() -public: - virtual BOOL OnInitDialog(); - afx_msg void OnBnClickedOk(); - // the setting of CardID ComboBox - int m_nCardIdx; - // the control of CardID ComboBox - CComboBox m_cbCardID; - // the function to get the selected CardID - int GetCardID(void); -}; diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118AboutTrg/ReadMe.txt b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118AboutTrg/ReadMe.txt deleted file mode 100644 index 76beebf..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118AboutTrg/ReadMe.txt +++ /dev/null @@ -1,93 +0,0 @@ -================================================================================ - MICROSOFT FOUNDATION CLASS LIBRARY : 9118SATg Project Overview -=============================================================================== - -The application wizard has created this 9118SATg application for -you. This application not only demonstrates the basics of using the Microsoft -Foundation Classes but is also a starting point for writing your application. - -This file contains a summary of what you will find in each of the files that -make up your 9118SATg application. - -9118SATg.vcproj - This is the main project file for VC++ projects generated using an application wizard. - It contains information about the version of Visual C++ that generated the file, and - information about the platforms, configurations, and project features selected with the - application wizard. - -9118SATg.h - This is the main header file for the application. It includes other - project specific headers (including Resource.h) and declares the - C9118SATgApp application class. - -9118SATg.cpp - This is the main application source file that contains the application - class C9118SATgApp. - -9118SATg.rc - This is a listing of all of the Microsoft Windows resources that the - program uses. It includes the icons, bitmaps, and cursors that are stored - in the RES subdirectory. This file can be directly edited in Microsoft - Visual C++. Your project resources are in 1033. - -res\9118SATg.ico - This is an icon file, which is used as the application's icon. This - icon is included by the main resource file 9118SATg.rc. - -res\My9118SATg.rc2 - This file contains resources that are not edited by Microsoft - Visual C++. You should place all resources not editable by - the resource editor in this file. - - -///////////////////////////////////////////////////////////////////////////// - -The application wizard creates one dialog class: - -9118SATgDlg.h, 9118SATgDlg.cpp - the dialog - These files contain your C9118SATgDlg class. This class defines - the behavior of your application's main dialog. The dialog's template is - in 9118SATg.rc, which can be edited in Microsoft Visual C++. - - -///////////////////////////////////////////////////////////////////////////// - -Other Features: - -ActiveX Controls - The application includes support to use ActiveX controls. - -///////////////////////////////////////////////////////////////////////////// - -Other standard files: - -StdAfx.h, StdAfx.cpp - These files are used to build a precompiled header (PCH) file - named 9118SATg.pch and a precompiled types file named StdAfx.obj. - -Resource.h - This is the standard header file, which defines new resource IDs. - Microsoft Visual C++ reads and updates this file. - -9118SATg.manifest - Application manifest files are used by Windows XP to describe an applications - dependency on specific versions of Side-by-Side assemblies. The loader uses this - information to load the appropriate assembly from the assembly cache or private - from the application. The Application manifest maybe included for redistribution - as an external .manifest file that is installed in the same folder as the application - executable or it may be included in the executable in the form of a resource. -///////////////////////////////////////////////////////////////////////////// - -Other notes: - -The application wizard uses "TODO:" to indicate parts of the source code you -should add to or customize. - -If your application uses MFC in a shared DLL, you will need -to redistribute the MFC DLLs. If your application is in a language -other than the operating system's locale, you will also have to -redistribute the corresponding localized resources MFC90XXX.DLL. -For more information on both of these topics, please see the section on -redistributing Visual C++ applications in MSDN documentation. - -///////////////////////////////////////////////////////////////////////////// diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118AboutTrg/res/9118SATg.ico b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118AboutTrg/res/9118SATg.ico deleted file mode 100644 index d56fbcd..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118AboutTrg/res/9118SATg.ico and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118AboutTrg/res/My9118SATg.rc2 b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118AboutTrg/res/My9118SATg.rc2 deleted file mode 100644 index 383cde2..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118AboutTrg/res/My9118SATg.rc2 +++ /dev/null @@ -1,13 +0,0 @@ -// -// My9111int.RC2 - resources Microsoft Visual C++ does not edit directly -// - -#ifdef APSTUDIO_INVOKED -#error this file is not editable by Microsoft Visual C++ -#endif //APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// Add manually edited resources here... - -///////////////////////////////////////////////////////////////////////////// diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118AboutTrg/res/ch_set1.bmp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118AboutTrg/res/ch_set1.bmp deleted file mode 100644 index f2374ed..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118AboutTrg/res/ch_set1.bmp and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118AboutTrg/res/ch_set2.bmp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118AboutTrg/res/ch_set2.bmp deleted file mode 100644 index 32d0915..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118AboutTrg/res/ch_set2.bmp and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118AboutTrg/resource.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118AboutTrg/resource.h deleted file mode 100644 index a7b7d02..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118AboutTrg/resource.h +++ /dev/null @@ -1,43 +0,0 @@ -//{{NO_DEPENDENCIES}} -// Microsoft Visual C++ generated include file. -// Used by 9118SATg.rc -// -#define IDM_ABOUTBOX 0x0010 -#define IDD_ABOUTBOX 100 -#define IDS_ABOUTBOX 101 -#define IDD_9118DMA_DIALOG 102 -#define IDR_MAINFRAME 128 -#define IDD_CARDID_DIALOG 129 -#define IDB_BITMAP_SET1 131 -#define IDB_BITMAP_SET2 132 -#define IDC_STATIC_DRAW 1000 -#define IDC_COMBO_CARDID 1001 -#define IDC_BT_START 1002 -#define IDC_EDIT_SAMPLE_RATE 1003 -#define IDC_SCROLLBAR_RATE 1004 -#define IDC_RADIO_CH0 1005 -#define IDC_RADIO_CH1 1006 -#define IDC_RADIO_CH2 1007 -#define IDC_RADIO_CH3 1008 -#define IDC_RADIO_CH4 1009 -#define IDC_RADIO_CH5 1010 -#define IDC_RADIO_CH6 1011 -#define IDC_RADIO_CH7 1012 -#define IDC_STATIC_01 1013 -#define IDC_EDIT_BUF_SIZE 1014 -#define IDC_STATIC_2 1015 -#define IDC_BT_STOP 1016 -#define IDC_EDIT_BUF_SIZE2 1017 -#define IDC_EDIT_TRACE_CNT 1018 -#define IDC_STATIC_TRACE_CNT 1019 - -// Next default values for new objects -// -#ifdef APSTUDIO_INVOKED -#ifndef APSTUDIO_READONLY_SYMBOLS -#define _APS_NEXT_RESOURCE_VALUE 134 -#define _APS_NEXT_COMMAND_VALUE 32771 -#define _APS_NEXT_CONTROL_VALUE 1020 -#define _APS_NEXT_SYMED_VALUE 103 -#endif -#endif diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118AboutTrg/stdafx.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118AboutTrg/stdafx.cpp deleted file mode 100644 index ef80626..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118AboutTrg/stdafx.cpp +++ /dev/null @@ -1,8 +0,0 @@ - -// stdafx.cpp : source file that includes just the standard includes -// 9111int.pch will be the pre-compiled header -// stdafx.obj will contain the pre-compiled type information - -#include "stdafx.h" - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118AboutTrg/stdafx.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118AboutTrg/stdafx.h deleted file mode 100644 index 12123e2..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118AboutTrg/stdafx.h +++ /dev/null @@ -1,60 +0,0 @@ - -// stdafx.h : include file for standard system include files, -// or project specific include files that are used frequently, -// but are changed infrequently - -#pragma once - -#ifndef _SECURE_ATL -#define _SECURE_ATL 1 -#endif - -#ifndef VC_EXTRALEAN -#define VC_EXTRALEAN // Exclude rarely-used stuff from Windows headers -#endif - -#include "targetver.h" - -#define _ATL_CSTRING_EXPLICIT_CONSTRUCTORS // some CString constructors will be explicit - -// turns off MFC's hiding of some common and often safely ignored warning messages -#define _AFX_ALL_WARNINGS - -#include // MFC core and standard components -#include // MFC extensions - - -#include // MFC Automation classes - - - -#ifndef _AFX_NO_OLE_SUPPORT -#include // MFC support for Internet Explorer 4 Common Controls -#endif -#ifndef _AFX_NO_AFXCMN_SUPPORT -#include // MFC support for Windows Common Controls -#endif // _AFX_NO_AFXCMN_SUPPORT - -#include // MFC support for ribbons and control bars - - - - - - - - - -#ifdef _UNICODE -#if defined _M_IX86 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='x86' publicKeyToken='6595b64144ccf1df' language='*'\"") -#elif defined _M_IA64 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='ia64' publicKeyToken='6595b64144ccf1df' language='*'\"") -#elif defined _M_X64 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='amd64' publicKeyToken='6595b64144ccf1df' language='*'\"") -#else -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='*' publicKeyToken='6595b64144ccf1df' language='*'\"") -#endif -#endif - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118AboutTrg/targetver.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118AboutTrg/targetver.h deleted file mode 100644 index 11730d5..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118AboutTrg/targetver.h +++ /dev/null @@ -1,26 +0,0 @@ - -#pragma once - -// The following macros define the minimum required platform. The minimum required platform -// is the earliest version of Windows, Internet Explorer etc. that has the necessary features to run -// your application. The macros work by enabling all features available on platform versions up to and -// including the version specified. - -// Modify the following defines if you have to target a platform prior to the ones specified below. -// Refer to MSDN for the latest info on corresponding values for different platforms. -#ifndef WINVER // Specifies that the minimum required platform is Windows Vista. -#define WINVER 0x0600 // Change this to the appropriate value to target other versions of Windows. -#endif - -#ifndef _WIN32_WINNT // Specifies that the minimum required platform is Windows Vista. -#define _WIN32_WINNT 0x0600 // Change this to the appropriate value to target other versions of Windows. -#endif - -#ifndef _WIN32_WINDOWS // Specifies that the minimum required platform is Windows 98. -#define _WIN32_WINDOWS 0x0410 // Change this to the appropriate value to target Windows Me or later. -#endif - -#ifndef _WIN32_IE // Specifies that the minimum required platform is Internet Explorer 7.0. -#define _WIN32_IE 0x0700 // Change this to the appropriate value to target other versions of IE. -#endif - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118BurstDma/9111int.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118BurstDma/9111int.suo deleted file mode 100644 index 789e10b..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118BurstDma/9111int.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118BurstDma/9118bDMA.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118BurstDma/9118bDMA.cpp deleted file mode 100644 index 2873cde..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118BurstDma/9118bDMA.cpp +++ /dev/null @@ -1,113 +0,0 @@ - -// 9118bDMA.cpp : Defines the class behaviors for the application. -// - -#include "stdafx.h" -#include "9118bDMA.h" -#include "9118bDMADlg.h" -#include "CardIDDlg.h" - -#ifdef _DEBUG -#define new DEBUG_NEW -#endif - - -// C9118bDMAApp - -BEGIN_MESSAGE_MAP(C9118bDMAApp, CWinAppEx) - ON_COMMAND(ID_HELP, &CWinApp::OnHelp) -END_MESSAGE_MAP() - - -// C9118bDMAApp construction - -C9118bDMAApp::C9118bDMAApp() -{ - // TODO: add construction code here, - // Place all significant initialization in InitInstance -} - - -// The one and only C9118bDMAApp object - -C9118bDMAApp theApp; - - -// C9118bDMAApp initialization - -BOOL C9118bDMAApp::InitInstance() -{ - int nCardID = 0; - I16 hCard; - U16 wBurstCount; - U16 wSampleHold; - CString strTemp; - INT_PTR nResponse; - - // InitCommonControlsEx() is required on Windows XP if an application - // manifest specifies use of ComCtl32.dll version 6 or later to enable - // visual styles. Otherwise, any window creation will fail. - INITCOMMONCONTROLSEX InitCtrls; - InitCtrls.dwSize = sizeof(InitCtrls); - // Set this to include all the common control classes you want to use - // in your application. - InitCtrls.dwICC = ICC_WIN95_CLASSES; - InitCommonControlsEx(&InitCtrls); - - CWinAppEx::InitInstance(); - - AfxEnableControlContainer(); - - // Standard initialization - // If you are not using these features and wish to reduce the size - // of your final executable, you should remove from the following - // the specific initialization routines you do not need - // Change the registry key under which our settings are stored - // TODO: You should modify this string to be something appropriate - // such as the name of your company or organization - SetRegistryKey(_T("Local AppWizard-Generated Applications")); - - CCardIDDlg CardDlg( nCardID ); - - nResponse = CardDlg.DoModal(); - if (nResponse == IDOK) - { - nCardID = CardDlg.GetCardID(); - wBurstCount = CardDlg.GetBurstCount(); - wSampleHold = CardDlg.GetSampleHold(); - - if ((hCard=Register_Card(PCI_9118DG, nCardID)) < 0) - { - strTemp.Format( TEXT("Register_Card Error = %d"), hCard); - AfxMessageBox( strTemp ); - } - else - { - C9118bDMADlg dlg(hCard, wBurstCount, wSampleHold); - m_pMainWnd = &dlg; - nResponse = dlg.DoModal(); - if (nResponse == IDOK) - { - // TODO: Place code here to handle when the dialog is - // dismissed with OK - } - else if (nResponse == IDCANCEL) - { - // TODO: Place code here to handle when the dialog is - // dismissed with Cancel - } - - if (hCard >= 0) Release_Card(hCard); - } - - } - else if (nResponse == IDCANCEL) - { - // TODO: Place code here to handle when the dialog is - // dismissed with Cancel - } - - // Since the dialog has been closed, return FALSE so that we exit the - // application, rather than start the application's message pump. - return FALSE; -} diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118BurstDma/9118bDMA.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118BurstDma/9118bDMA.h deleted file mode 100644 index 4d4aca0..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118BurstDma/9118bDMA.h +++ /dev/null @@ -1,32 +0,0 @@ - -// 9118bDMA.h : main header file for the PROJECT_NAME application -// - -#pragma once - -#ifndef __AFXWIN_H__ - #error "include 'stdafx.h' before including this file for PCH" -#endif - -#include "resource.h" // main symbols - - -// C9118bDMAApp: -// See 9118bDMA.cpp for the implementation of this class -// - -class C9118bDMAApp : public CWinAppEx -{ -public: - C9118bDMAApp(); - -// Overrides - public: - virtual BOOL InitInstance(); - -// Implementation - - DECLARE_MESSAGE_MAP() -}; - -extern C9118bDMAApp theApp; \ No newline at end of file diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118BurstDma/9118bDMA.rc b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118BurstDma/9118bDMA.rc deleted file mode 100644 index 5d48b10..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118BurstDma/9118bDMA.rc +++ /dev/null @@ -1,325 +0,0 @@ -// Microsoft Visual C++ generated resource script. -// -#include "resource.h" - -#define APSTUDIO_READONLY_SYMBOLS -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 2 resource. -// -#ifndef APSTUDIO_INVOKED -#include "targetver.h" -#endif -#include "afxres.h" - -///////////////////////////////////////////////////////////////////////////// -#undef APSTUDIO_READONLY_SYMBOLS - -///////////////////////////////////////////////////////////////////////////// -// Chinese (Taiwan) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_CHT) -#ifdef _WIN32 -LANGUAGE LANG_CHINESE, SUBLANG_CHINESE_TRADITIONAL -#pragma code_page(950) -#endif //_WIN32 - -#ifdef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// TEXTINCLUDE -// - -1 TEXTINCLUDE -BEGIN - "resource.h\0" -END - -2 TEXTINCLUDE -BEGIN - "#ifndef APSTUDIO_INVOKED\r\n" - "#include ""targetver.h""\r\n" - "#endif\r\n" - "#include ""afxres.h""\r\n" - "\0" -END - -3 TEXTINCLUDE -BEGIN - "#define _AFX_NO_SPLITTER_RESOURCES\r\n" - "#define _AFX_NO_OLE_RESOURCES\r\n" - "#define _AFX_NO_TRACKER_RESOURCES\r\n" - "#define _AFX_NO_PROPERTY_RESOURCES\r\n" - "\r\n" - "#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)\r\n" - "LANGUAGE 9, 1\r\n" - "#pragma code_page(1252)\r\n" - "#include ""res\\My9118bDMA.rc2"" // non-Microsoft Visual C++ edited resources\r\n" - "#include ""afxres.rc"" // Standard components\r\n" - "#endif\r\n" - "\0" -END - -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// Icon -// - -// Icon with lowest ID value placed first to ensure application icon -// remains consistent on all systems. -IDR_MAINFRAME ICON "res\\9118bDMA.ico" -#endif // Chinese (Taiwan) resources -///////////////////////////////////////////////////////////////////////////// - - -///////////////////////////////////////////////////////////////////////////// -// English (U.S.) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -#ifdef _WIN32 -LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US -#pragma code_page(1252) -#endif //_WIN32 - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog -// - -IDD_ABOUTBOX DIALOGEX 0, 0, 170, 62 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "About 9118bDMA" -FONT 8, "MS Shell Dlg", 0, 0, 0x1 -BEGIN - ICON IDR_MAINFRAME,IDC_STATIC,14,14,21,20 - LTEXT "9118bDMA, Version 1.0",IDC_STATIC,42,14,114,8,SS_NOPREFIX - LTEXT "Copyright (C) 2010",IDC_STATIC,42,26,114,8 - DEFPUSHBUTTON "OK",IDOK,113,41,50,14,WS_GROUP -END - -IDD_9118DMA_DIALOG DIALOGEX 0, 0, 365, 232 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU -EXSTYLE WS_EX_APPWINDOW -CAPTION "PCI-9118DG Autoscan DMA with Burst Mode (Single-End Signal)" -FONT 8, "MS Shell Dlg", 0, 0, 0x1 -BEGIN - GROUPBOX "",IDC_STATIC_DRAW,45,9,227,161,NOT WS_VISIBLE - CONTROL 132,IDC_STATIC,"Static",SS_BITMAP,327,28,11,45 - CONTROL 131,IDC_STATIC,"Static",SS_BITMAP,298,29,9,44 - LTEXT "0",IDC_STATIC,286,29,10,11 - LTEXT "1",IDC_STATIC,286,40,10,11 - LTEXT "2",IDC_STATIC,286,51,10,11 - LTEXT "3",IDC_STATIC,286,63,10,11 - LTEXT "4",IDC_STATIC,318,29,10,11 - LTEXT "5",IDC_STATIC,318,40,10,11 - LTEXT "6",IDC_STATIC,318,51,10,11 - LTEXT "7",IDC_STATIC,318,63,10,11 - LTEXT "Range : +/- 5V",IDC_STATIC,283,130,57,15 - COMBOBOX IDC_COMBO_SCANCHAN,171,197,74,17,CBS_DROPDOWN | WS_VSCROLL | WS_TABSTOP - LTEXT "Scan Channels",IDC_STATIC,171,182,53,9 - EDITTEXT IDC_EDIT_SAMPLE_RATE,57,197,39,12,ES_AUTOHSCROLL | ES_READONLY - LTEXT "Sample Rate :",IDC_STATIC,57,182,49,9 - LTEXT "KHz",IDC_STATIC,109,198,15,9 - SCROLLBAR IDC_SCROLLBAR_RATE,97,195,9,11,SBS_VERT - PUSHBUTTON "Start",IDC_BT_START,275,188,75,22 -END - -IDD_CARDID_DIALOG DIALOGEX 0, 0, 165, 117 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "Card ID" -FONT 8, "MS Shell Dlg", 400, 0, 0x1 -BEGIN - COMBOBOX IDC_COMBO_CARDID,75,16,71,126,CBS_DROPDOWN | WS_VSCROLL | WS_TABSTOP - LTEXT "Card Number",IDC_STATIC_01,21,17,46,12 - PUSHBUTTON "OK",IDOK,22,87,58,19 - PUSHBUTTON "CANCEL",IDCANCEL,86,87,58,19 - EDITTEXT IDC_EDIT_BURST_NUMBER,75,35,71,12,ES_AUTOHSCROLL - LTEXT "Burst Number",IDC_STATIC,21,36,46,12 - CONTROL " Sample and Hold",IDC_CHECK_SAMPLEHOLD,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,23,53,120,15 -END - - -///////////////////////////////////////////////////////////////////////////// -// -// Version -// - -VS_VERSION_INFO VERSIONINFO - FILEVERSION 1,0,0,1 - PRODUCTVERSION 1,0,0,1 - FILEFLAGSMASK 0x3fL -#ifdef _DEBUG - FILEFLAGS 0x1L -#else - FILEFLAGS 0x0L -#endif - FILEOS 0x4L - FILETYPE 0x1L - FILESUBTYPE 0x0L -BEGIN - BLOCK "StringFileInfo" - BEGIN - BLOCK "040904e4" - BEGIN - VALUE "CompanyName", "TODO: " - VALUE "FileDescription", "TODO: " - VALUE "FileVersion", "1.0.0.1" - VALUE "InternalName", "9118bDMA.exe" - VALUE "LegalCopyright", "TODO: (c) . All rights reserved." - VALUE "OriginalFilename", "9118bDMA.exe" - VALUE "ProductName", "TODO: " - VALUE "ProductVersion", "1.0.0.1" - END - END - BLOCK "VarFileInfo" - BEGIN - VALUE "Translation", 0x409, 1252 - END -END - - -///////////////////////////////////////////////////////////////////////////// -// -// DESIGNINFO -// - -#ifdef APSTUDIO_INVOKED -GUIDELINES DESIGNINFO -BEGIN - IDD_ABOUTBOX, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 163 - TOPMARGIN, 7 - BOTTOMMARGIN, 55 - END - - IDD_9118DMA_DIALOG, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 358 - TOPMARGIN, 7 - BOTTOMMARGIN, 225 - END - - IDD_CARDID_DIALOG, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 158 - TOPMARGIN, 7 - BOTTOMMARGIN, 113 - END -END -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog Info -// - -IDD_CARDID_DIALOG DLGINIT -BEGIN - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0030, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0031, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0032, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0033, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0034, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0035, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0036, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0037, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0038, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0039, - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3031, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3131, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3231, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3331, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3431, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3531, "\000" - 0 -END - -IDD_9118DMA_DIALOG DLGINIT -BEGIN - IDC_COMBO_SCANCHAN, 0x403, 4, 0 -0x4843, 0x0030, - IDC_COMBO_SCANCHAN, 0x403, 8, 0 -0x4843, 0x7e30, 0x4843, 0x0031, - IDC_COMBO_SCANCHAN, 0x403, 8, 0 -0x4843, 0x7e30, 0x4843, 0x0032, - IDC_COMBO_SCANCHAN, 0x403, 8, 0 -0x4843, 0x7e30, 0x4843, 0x0033, - IDC_COMBO_SCANCHAN, 0x403, 8, 0 -0x4843, 0x7e30, 0x4843, 0x0034, - IDC_COMBO_SCANCHAN, 0x403, 8, 0 -0x4843, 0x7e30, 0x4843, 0x0035, - IDC_COMBO_SCANCHAN, 0x403, 8, 0 -0x4843, 0x7e30, 0x4843, 0x0036, - IDC_COMBO_SCANCHAN, 0x403, 8, 0 -0x4843, 0x7e30, 0x4843, 0x0037, - 0 -END - - -///////////////////////////////////////////////////////////////////////////// -// -// Bitmap -// - -IDB_BITMAP_SET1 BITMAP "res\\ch_set1.bmp" -IDB_BITMAP_SET2 BITMAP "res\\ch_set2.bmp" - -///////////////////////////////////////////////////////////////////////////// -// -// String Table -// - -STRINGTABLE -BEGIN - IDS_ABOUTBOX "&About 9118bDMA..." -END - -#endif // English (U.S.) resources -///////////////////////////////////////////////////////////////////////////// - - - -#ifndef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 3 resource. -// -#define _AFX_NO_SPLITTER_RESOURCES -#define _AFX_NO_OLE_RESOURCES -#define _AFX_NO_TRACKER_RESOURCES -#define _AFX_NO_PROPERTY_RESOURCES - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -LANGUAGE 9, 1 -#pragma code_page(1252) -#include "res\My9118bDMA.rc2" // non-Microsoft Visual C++ edited resources -#include "afxres.rc" // Standard components -#endif - -///////////////////////////////////////////////////////////////////////////// -#endif // not APSTUDIO_INVOKED - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118BurstDma/9118bDMA.sln b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118BurstDma/9118bDMA.sln deleted file mode 100644 index 12091fd..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118BurstDma/9118bDMA.sln +++ /dev/null @@ -1,20 +0,0 @@ - -Microsoft Visual Studio Solution File, Format Version 10.00 -# Visual Studio 2008 -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "9118bDMA", "9118bDMA.vcproj", "{702163FB-B6DF-4EF5-9491-FC54D71509BC}" -EndProject -Global - GlobalSection(SolutionConfigurationPlatforms) = preSolution - Debug|x64 = Debug|x64 - Release|x64 = Release|x64 - EndGlobalSection - GlobalSection(ProjectConfigurationPlatforms) = postSolution - {702163FB-B6DF-4EF5-9491-FC54D71509BC}.Debug|x64.ActiveCfg = Debug|x64 - {702163FB-B6DF-4EF5-9491-FC54D71509BC}.Debug|x64.Build.0 = Debug|x64 - {702163FB-B6DF-4EF5-9491-FC54D71509BC}.Release|x64.ActiveCfg = Release|x64 - {702163FB-B6DF-4EF5-9491-FC54D71509BC}.Release|x64.Build.0 = Release|x64 - EndGlobalSection - GlobalSection(SolutionProperties) = preSolution - HideSolutionNode = FALSE - EndGlobalSection -EndGlobal diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118BurstDma/9118bDMA.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118BurstDma/9118bDMA.suo deleted file mode 100644 index 1fab7eb..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118BurstDma/9118bDMA.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118BurstDma/9118bDMA.vcproj b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118BurstDma/9118bDMA.vcproj deleted file mode 100644 index 88fde09..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118BurstDma/9118bDMA.vcproj +++ /dev/null @@ -1,294 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118BurstDma/9118bDMADlg.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118BurstDma/9118bDMADlg.cpp deleted file mode 100644 index 0ba4c1a..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118BurstDma/9118bDMADlg.cpp +++ /dev/null @@ -1,532 +0,0 @@ - -// 9118bDMADlg.cpp : implementation file -// - -#include "stdafx.h" -#include "9118bDMA.h" -#include "9118bDMADlg.h" - -#ifdef _DEBUG -#define new DEBUG_NEW -#endif - -CRect plotRect; -#define AI_SAMPLE_COUNT 4000 - -// CAboutDlg dialog used for App About - -class CAboutDlg : public CDialog -{ -public: - CAboutDlg(); - -// Dialog Data - enum { IDD = IDD_ABOUTBOX }; - - protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - -// Implementation -protected: - DECLARE_MESSAGE_MAP() -}; - -CAboutDlg::CAboutDlg() : CDialog(CAboutDlg::IDD) -{ -} - -void CAboutDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); -} - -BEGIN_MESSAGE_MAP(CAboutDlg, CDialog) -END_MESSAGE_MAP() - - -// C9118bDMADlg dialog - - - - -C9118bDMADlg::C9118bDMADlg(I16 hCard, U16 wBurstCount, U16 wSampleHold, CWnd* pParent /*=NULL*/) - : CDialog(C9118bDMADlg::IDD, pParent) -{ - m_hIcon = AfxGetApp()->LoadIcon(IDR_MAINFRAME); - - n_PlotWidth = n_PlotHeight = -1; - OnBrush = OffBrush = NULL; - - min_val = 0x00; - max_val = 0xFFFF; - - m_fSampleRate = 10000.0; // 10KHz - - m_hCard = hCard; - m_wBurstCount = wBurstCount; - m_wSampleHold = wSampleHold; - - m_wScanChans = 0; - m_nTimer = -1; - m_hMem=NULL; - - m_wRange = AD_B_5_V; - - m_wCardType = PCI_9118DG; -} - -void C9118bDMADlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); - DDX_Control(pDX, IDC_COMBO_SCANCHAN, m_cbScanChans); -} - -BEGIN_MESSAGE_MAP(C9118bDMADlg, CDialog) - ON_WM_SYSCOMMAND() - ON_WM_PAINT() - ON_WM_QUERYDRAGICON() - //}}AFX_MSG_MAP - ON_WM_DESTROY() - ON_WM_VSCROLL() - ON_CBN_SELCHANGE(IDC_COMBO_SCANCHAN, &C9118bDMADlg::OnScanChanSelchange) - ON_BN_CLICKED(IDC_BT_START, &C9118bDMADlg::OnStart) - ON_WM_TIMER() -END_MESSAGE_MAP() - - -// C9118bDMADlg message handlers - -BOOL C9118bDMADlg::OnInitDialog() -{ - CDialog::OnInitDialog(); - - // Add "About..." menu item to system menu. - - // IDM_ABOUTBOX must be in the system command range. - ASSERT((IDM_ABOUTBOX & 0xFFF0) == IDM_ABOUTBOX); - ASSERT(IDM_ABOUTBOX < 0xF000); - - CMenu* pSysMenu = GetSystemMenu(FALSE); - if (pSysMenu != NULL) - { - BOOL bNameValid; - CString strAboutMenu; - bNameValid = strAboutMenu.LoadString(IDS_ABOUTBOX); - ASSERT(bNameValid); - if (!strAboutMenu.IsEmpty()) - { - pSysMenu->AppendMenu(MF_SEPARATOR); - pSysMenu->AppendMenu(MF_STRING, IDM_ABOUTBOX, strAboutMenu); - } - } - - // Set the icon for this dialog. The framework does this automatically - // when the application's main window is not a dialog - SetIcon(m_hIcon, TRUE); // Set big icon - SetIcon(m_hIcon, FALSE); // Set small icon - - // TODO: Add extra initialization here - x_divider = 5; y_divider = 4; - - OnBrush = CreateSolidBrush( RGB(255,0,0) ); - OffBrush = CreateSolidBrush( RGB(125,0,0) ); - - RedPen.CreatePen( PS_SOLID, 1, RGB(255,0,0)); - GreenPen.CreatePen( PS_SOLID, 1, RGB(0,255,0)); - YellowPen.CreatePen( PS_SOLID, 1, RGB(255,255,0)); - BluePen.CreatePen( PS_SOLID, 1, RGB(0,0,255)); - LTBluePen.CreatePen( PS_SOLID, 1, RGB(0,128,255)); - LTRedPen.CreatePen( PS_SOLID, 1, RGB(255,128,0)); - LTGreenPen.CreatePen( PS_SOLID, 1, RGB(0,128,0)); - WhitePen.CreatePen( PS_SOLID, 1, RGB(255,255,255)); - - if( n_PlotWidth == -1 && n_PlotHeight == -1 ) - { - ((CWnd*)GetDlgItem(IDC_STATIC_DRAW))->GetWindowRect(&plotRect); - ScreenToClient(&plotRect); - - n_PlotWidth = min( plotRect.Width(), 512); - n_PlotHeight = plotRect.Height() - 10; - } - - - // set the default SampleRate - SetDlgItemInt( IDC_EDIT_SAMPLE_RATE, (UINT)(m_fSampleRate/1000) ); - m_cbScanChans.SetCurSel( 0 ); - - max_range = 5.0; - min_range = -5.0; - - return TRUE; // return TRUE unless you set the focus to a control -} - -void C9118bDMADlg::OnSysCommand(UINT nID, LPARAM lParam) -{ - if ((nID & 0xFFF0) == IDM_ABOUTBOX) - { - CAboutDlg dlgAbout; - dlgAbout.DoModal(); - } - else - { - CDialog::OnSysCommand(nID, lParam); - } -} - -// If you add a minimize button to your dialog, you will need the code below -// to draw the icon. For MFC applications using the document/view model, -// this is automatically done for you by the framework. - -void C9118bDMADlg::OnPaint() -{ - if (IsIconic()) - { - CPaintDC dc(this); // device context for painting - - SendMessage(WM_ICONERASEBKGND, reinterpret_cast(dc.GetSafeHdc()), 0); - - // Center icon in client rectangle - int cxIcon = GetSystemMetrics(SM_CXICON); - int cyIcon = GetSystemMetrics(SM_CYICON); - CRect rect; - GetClientRect(&rect); - int x = (rect.Width() - cxIcon + 1) / 2; - int y = (rect.Height() - cyIcon + 1) / 2; - - // Draw the icon - dc.DrawIcon(x, y, m_hIcon); - } - else - { - redraw_display_area(); - CDialog::OnPaint(); - } -} - -// The system calls this function to obtain the cursor to display while the user drags -// the minimized window. -HCURSOR C9118bDMADlg::OnQueryDragIcon() -{ - return static_cast(m_hIcon); -} - - -void C9118bDMADlg::redraw_display_area(void) -{ - CPen *oldPen; - - int oldMode; - COLORREF oldColor; - - CString y_lable; - - CPen minor_tick( PS_SOLID,1,RGB(132,130,132) ); -// CPen y_grid( PS_SOLID,1,RGB(206,203,132) ); - - int i, x_intv, y_intv; -// long total_sec; - - CClientDC dc_plot(this); - - // draw the base-line for x-y axises - oldPen = (CPen *)dc_plot.SelectStockObject(BLACK_PEN); - - // redraw the background - dc_plot.FillSolidRect( plotRect, RGB(0,0,0) ); - - // Re-Draw the AREA for Y-Lable - { - CBrush DIALOG_BRUSH; - CRect redraw_area, full_client; - - GetClientRect(&full_client); - ScreenToClient(&full_client); - - redraw_area.left = full_client.left; - redraw_area.top = plotRect.top - 5; - redraw_area.right = plotRect.left - 3; - redraw_area.bottom = plotRect.bottom + 10; - - DIALOG_BRUSH.CreateSysColorBrush( COLOR_3DFACE ); - - dc_plot.FillRect( redraw_area, &DIALOG_BRUSH ); - - DIALOG_BRUSH.DeleteObject(); - } - - dc_plot.MoveTo( plotRect.left - 3, plotRect.top ); - dc_plot.LineTo( plotRect.left - 3, plotRect.bottom ); - - // calculate the interval for tick/grid - y_intv = (plotRect.Height() - 10) /y_divider; - x_intv = plotRect.Width()/x_divider; - - - // set the color for tick - oldColor = dc_plot.SetTextColor( RGB(0,0,0) ); - oldMode = dc_plot.SetBkMode( TRANSPARENT ); - - for( i=0; i<= y_divider; i++ ) - { - CString tick_str; - CRect tmp_rect, tick_rect; - - // draw the tick for y-axis - dc_plot.MoveTo( plotRect.left -12, plotRect.bottom -5 - (i*y_intv) ); - dc_plot.LineTo( plotRect.left -3, plotRect.bottom -5 - (i*y_intv) ); - - tick_str.Format( _T("%.1f"), ( ((max_range-min_range)/y_divider) * i)+min_range ); - - // calculate the rectangle for text - dc_plot.DrawText( tick_str, &tmp_rect, DT_CALCRECT|DT_SINGLELINE ); - tick_rect.right = plotRect.left -14; - tick_rect.left = tick_rect.right - tmp_rect.Width(); - tick_rect.top = plotRect.bottom -5 - (i*y_intv) - tmp_rect.Height()/2; - tick_rect.bottom = tick_rect.top + tmp_rect.Height(); - - // draw the text - dc_plot.DrawText( tick_str, &tick_rect, DT_SINGLELINE|DT_RIGHT ); - - } - - // draw the minor_tick for Y axises - dc_plot.SelectObject(&minor_tick); - for( i=0; i< y_divider; i++ ) - { - dc_plot.MoveTo( plotRect.left -9, plotRect.bottom -5 - (i*y_intv) - y_intv/2 ); - dc_plot.LineTo( plotRect.left -4, plotRect.bottom -5 - (i*y_intv) - y_intv/2 ); - } - - dc_plot.SetTextColor( oldColor ); - dc_plot.SetBkMode( oldMode ); - dc_plot.SelectObject( oldPen ); -} - -void C9118bDMADlg::OnDestroy() -{ - CDialog::OnDestroy(); - - // TODO: Add your message handler code here - if( m_nTimer != -1 ) - { - KillTimer( m_nTimer ); - m_nTimer = -1; - } - - if (m_hMem != NULL) - { - GlobalUnfix(m_hMem); - GlobalUnlock(m_hMem); - GlobalFree(m_hMem); - - m_hMem = NULL; - } - - if( OnBrush != NULL ) - ::DeleteObject( OnBrush ); - - if( OffBrush != NULL ) - ::DeleteObject( OffBrush ); - - RedPen.DeleteObject(); - GreenPen.DeleteObject(); - YellowPen.DeleteObject(); - BluePen.DeleteObject(); - LTBluePen.DeleteObject(); - LTRedPen.DeleteObject(); - LTGreenPen.DeleteObject(); - WhitePen.DeleteObject(); -} - -void C9118bDMADlg::OnVScroll(UINT nSBCode, UINT nPos, CScrollBar* pScrollBar) -{ - // TODO: Add your message handler code here and/or call default - switch ( nSBCode ) - { - case SB_LINEUP : - m_fSampleRate += 1000.0; - if (m_fSampleRate > 100000.0 ) m_fSampleRate = 100000.0; - break; - case SB_LINEDOWN: - m_fSampleRate -= 1000; - if (m_fSampleRate < 1000.0 ) m_fSampleRate = 1000.0; - break; - } - - SetDlgItemInt( IDC_EDIT_SAMPLE_RATE, (UINT)(m_fSampleRate/1000) ); - - CDialog::OnVScroll(nSBCode, nPos, pScrollBar); -} - -void C9118bDMADlg::OnScanChanSelchange() -{ - // TODO: Add your control notification handler code here - int nIndex; - - nIndex = m_cbScanChans.GetCurSel(); - m_wScanChans = (U16)nIndex; -} - -void C9118bDMADlg::OnStart() -{ - // TODO: Add your control notification handler code here - DWORD mem_size; - CString strTemp; - I16 err; - - GetDlgItem( IDC_BT_START )->EnableWindow(FALSE); - - if (m_hMem != NULL) - { - GlobalUnfix(m_hMem); - GlobalUnlock(m_hMem); - GlobalFree(m_hMem); - - m_hMem = NULL; - } - - // allocate a memory for user DMA buffer - mem_size = AI_SAMPLE_COUNT * sizeof(I16); - m_hMem = GlobalAlloc(GMEM_ZEROINIT, mem_size); - m_pAIBuf = (U16*) GlobalLock(m_hMem); - - if (m_pAIBuf == NULL ) - { - AfxMessageBox( TEXT("Memory allocation failed"), MB_OK); - } - - GlobalFix(m_hMem); - - m_oldY[0] = m_oldY[1] = m_oldY[2] = m_oldY[3] = m_oldY[4] = m_oldY[5] = m_oldY[6] = m_oldY[7] = -1; - m_oldX[0] = m_oldX[1] = m_oldX[2] = m_oldX[3] = m_oldX[4] = m_oldX[5] = m_oldX[6] = m_oldX[7] = -1; - - err = AI_9118_Config(m_hCard, P9118_AI_BiPolar|P9118_AI_SingEnded, P9118_AI_BurstModeEn|m_wSampleHold, m_wBurstCount, 0); - - if (err!=0) - { - strTemp.Format( TEXT("AI_9118_Config error=%d"), err); - AfxMessageBox( strTemp ); - } - - err=AI_AsyncDblBufferMode(m_hCard, 0); // single-buffer mode - if (err!=0) - { - strTemp.Format( TEXT("AI_DblBufferMode error=%d"), err); - AfxMessageBox( strTemp ); - } - - err=AI_ContScanChannels (m_hCard, m_wScanChans, m_wRange, (U16*)m_pAIBuf, AI_SAMPLE_COUNT, (F64)m_fSampleRate, ASYNCH_OP); - if (err!=0) - { - strTemp.Format( TEXT("AI_ContReadChannel error=%d"), err); - AfxMessageBox( strTemp ); - } - - m_nTimer = SetTimer( 1, 100, NULL ); - -} - -int C9118bDMADlg::display_buffer_data(U16* pBuf) -{ - CClientDC dc_plot(this); - int nDraw_Origin_Y; - int cur_channel; - - int newY = -1; - int newX = -1; - U32 index; - - - dc_plot.FillSolidRect( plotRect, RGB(0,0,0) ); - - nDraw_Origin_Y = ( plotRect.bottom - 5 ); // - n_PlotHeight/2; - - for( index=0; index> 16) ); // ( n_PlotHeight * ai_data / 65536) ); // ( (n_PlotHeight/2) * ai_data/32768 ) ); - } - else // m_wCardType == PCI_9118DG / PCI_9118HG - { - U16 ai_data; - - ai_data = (U16)(pBuf[index]) >> 4; - cur_channel = pBuf[index] & 0x0f; - newY = (int)( nDraw_Origin_Y - ((n_PlotHeight * ai_data) >> 12 ) ); // (n_PlotHeight * ai_data / 4096 ) ); // ( (n_PlotHeight/2) * ai_data/2048 ) ); - } - - newX = (int)( index*n_PlotWidth/AI_SAMPLE_COUNT + plotRect.left ); - - switch(cur_channel) - { - case 0: - dc_plot.SelectObject(&YellowPen); - break; - case 1: - dc_plot.SelectObject(<GreenPen); - break; - case 2: - dc_plot.SelectObject(&BluePen); - break; - case 3: - dc_plot.SelectObject(&RedPen); - break; - case 4: - dc_plot.SelectObject(<BluePen); - break; - case 5: - dc_plot.SelectObject(<RedPen); - break; - case 6: - dc_plot.SelectObject(&GreenPen); - break; - case 7: - dc_plot.SelectObject(&WhitePen); - break; - } - - if ( m_oldX[cur_channel] == -1 ) - { - dc_plot.MoveTo( newX, newY ); - } - else - { - dc_plot.MoveTo( m_oldX[cur_channel], m_oldY[cur_channel] ); - dc_plot.LineTo( newX, newY ); - } - - m_oldX[cur_channel] = newX; - m_oldY[cur_channel] = newY; - } - - return 0; -} - -void C9118bDMADlg::OnTimer(UINT_PTR nIDEvent) -{ - // TODO: Add your message handler code here and/or call default - BOOLEAN fstop; - U32 count; - - AI_AsyncCheck(m_hCard, &fstop, &count); - - if( fstop == TRUE ) - { - AI_AsyncClear(m_hCard, &count); - - KillTimer( m_nTimer ); - m_nTimer = -1; - - display_buffer_data( m_pAIBuf ); - - GetDlgItem( IDC_BT_START )->EnableWindow(TRUE); - } - - CDialog::OnTimer(nIDEvent); -} diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118BurstDma/9118bDMADlg.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118BurstDma/9118bDMADlg.h deleted file mode 100644 index cd66349..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118BurstDma/9118bDMADlg.h +++ /dev/null @@ -1,74 +0,0 @@ - -// 9118bDMADlg.h : header file -#pragma once -#include "afxcmn.h" -#include "afxwin.h" - -#include "Dask64.h" - -// C9118bDMADlg dialog -class C9118bDMADlg : public CDialog -{ -// Construction -public: - C9118bDMADlg(I16 hCard, U16 wBurstCount, U16 wSampleHold, CWnd* pParent = NULL); // standard constructor - -// Dialog Data - enum { IDD = IDD_9118DMA_DIALOG }; - - protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - - -// Implementation -protected: - HICON m_hIcon; - UINT_PTR m_nTimer; - I16 m_hCard; - U16 m_wCardType; - double m_fSampleRate; - U16 m_wScanChans; - U16 m_wBurstCount; - U16 m_wSampleHold; - HANDLE m_hMem; - U16 *m_pAIBuf; - U16 m_wRange; - int m_oldY[8]; - int m_oldX[8]; - - // Generated message map functions - virtual BOOL OnInitDialog(); - afx_msg void OnSysCommand(UINT nID, LPARAM lParam); - afx_msg void OnPaint(); - afx_msg HCURSOR OnQueryDragIcon(); - DECLARE_MESSAGE_MAP() - -public: - WORD max_val; - WORD min_val; - double max_range; - double min_range; - int n_PlotWidth; - int n_PlotHeight; - int y_divider; - int x_divider; - int m_DisplayScale; - HBRUSH OnBrush; - HBRUSH OffBrush; - CPen RedPen; - CPen GreenPen; - CPen YellowPen; - CPen BluePen; - CPen LTBluePen; - CPen LTRedPen; - CPen LTGreenPen; - CPen WhitePen; - void redraw_display_area(void); - afx_msg void OnDestroy(); - CComboBox m_cbScanChans; - afx_msg void OnVScroll(UINT nSBCode, UINT nPos, CScrollBar* pScrollBar); - afx_msg void OnScanChanSelchange(); - afx_msg void OnStart(); - int display_buffer_data(U16* pBuf); - afx_msg void OnTimer(UINT_PTR nIDEvent); -}; diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118BurstDma/CardIDDlg.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118BurstDma/CardIDDlg.cpp deleted file mode 100644 index 6fcd41b..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118BurstDma/CardIDDlg.cpp +++ /dev/null @@ -1,95 +0,0 @@ -// CardIDDlg.cpp : implementation file -// -#include "stdafx.h" -#include "9118bDMA.h" -#include "9118bDMADlg.h" -#include "CardIDDlg.h" - -// CCardIDDlg dialog - -IMPLEMENT_DYNAMIC(CCardIDDlg, CDialog) - -CCardIDDlg::CCardIDDlg(int nCardIdx, CWnd* pParent /*=NULL*/) - : CDialog(CCardIDDlg::IDD, pParent) -{ - m_nCardIdx = nCardIdx; - m_BurstNum = 4; - m_SampleHold = 0x00; // disable P9118_AI_SampleHold -} - -CCardIDDlg::~CCardIDDlg() -{ -} - -void CCardIDDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); - DDX_Control(pDX, IDC_COMBO_CARDID, m_cbCardID); -} - - -BEGIN_MESSAGE_MAP(CCardIDDlg, CDialog) -// ON_CBN_SELCHANGE(IDC_COMBO_CARDID, &CCardIDDlg::OnCbnSelchangeComboCardid) -ON_BN_CLICKED(IDOK, &CCardIDDlg::OnBnClickedOk) -//ON_WM_CTLCOLOR() -END_MESSAGE_MAP() - - -// CCardIDDlg message handlers - - -void CCardIDDlg::OnBnClickedOk() -{ - // TODO: Add your control notification handler code here - int CheckSts; - -// UpdateData(TRUE); - m_nCardIdx = m_cbCardID.GetCurSel(); - m_BurstNum = (U16)( GetDlgItemInt( IDC_EDIT_BURST_NUMBER ) ); - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_SAMPLEHOLD ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_SampleHold = P9118_AI_SampleHold; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_SampleHold = 0x00; - } - - OnOK(); -} - -BOOL CCardIDDlg::OnInitDialog() -{ - CDialog::OnInitDialog(); - - // TODO: Add extra initialization here - m_cbCardID.SetCurSel( m_nCardIdx ); - - SetDlgItemInt( IDC_EDIT_BURST_NUMBER, (UINT)m_BurstNum ); - - - return TRUE; // return TRUE unless you set the focus to a control - // EXCEPTION: OCX Property Pages should return FALSE -} - - -// the function to get the selected CardID -int CCardIDDlg::GetCardID(void) -{ - return m_nCardIdx; -} - - -U16 CCardIDDlg::GetBurstCount(void) -{ - return m_BurstNum; -} - -U16 CCardIDDlg::GetSampleHold(void) -{ - return m_SampleHold; -} - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118BurstDma/CardIDDlg.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118BurstDma/CardIDDlg.h deleted file mode 100644 index 322a0e8..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118BurstDma/CardIDDlg.h +++ /dev/null @@ -1,36 +0,0 @@ -#pragma once -#include "afxwin.h" - -#include "Dask64.h" - -// CCardIDDlg dialog - -class CCardIDDlg : public CDialog -{ - DECLARE_DYNAMIC(CCardIDDlg) - -public: - CCardIDDlg(int nCardIdx, CWnd* pParent = NULL); // standard constructor - virtual ~CCardIDDlg(); - -// Dialog Data - enum { IDD = IDD_CARDID_DIALOG }; - -protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - - DECLARE_MESSAGE_MAP() -public: - virtual BOOL OnInitDialog(); - afx_msg void OnBnClickedOk(); - // the setting of CardID ComboBox - int m_nCardIdx; - U16 m_SampleHold; - U16 m_BurstNum; - // the control of CardID ComboBox - CComboBox m_cbCardID; - // the function to get the selected CardID - int GetCardID(void); - U16 GetBurstCount(void); - U16 GetSampleHold(void); -}; diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118BurstDma/ReadMe.txt b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118BurstDma/ReadMe.txt deleted file mode 100644 index 1d75527..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118BurstDma/ReadMe.txt +++ /dev/null @@ -1,93 +0,0 @@ -================================================================================ - MICROSOFT FOUNDATION CLASS LIBRARY : 9118bDMA Project Overview -=============================================================================== - -The application wizard has created this 9118bDMA application for -you. This application not only demonstrates the basics of using the Microsoft -Foundation Classes but is also a starting point for writing your application. - -This file contains a summary of what you will find in each of the files that -make up your 9118bDMA application. - -9118bDMA.vcproj - This is the main project file for VC++ projects generated using an application wizard. - It contains information about the version of Visual C++ that generated the file, and - information about the platforms, configurations, and project features selected with the - application wizard. - -9118bDMA.h - This is the main header file for the application. It includes other - project specific headers (including Resource.h) and declares the - C9118bDMAApp application class. - -9118bDMA.cpp - This is the main application source file that contains the application - class C9118bDMAApp. - -9118bDMA.rc - This is a listing of all of the Microsoft Windows resources that the - program uses. It includes the icons, bitmaps, and cursors that are stored - in the RES subdirectory. This file can be directly edited in Microsoft - Visual C++. Your project resources are in 1033. - -res\9118bDMA.ico - This is an icon file, which is used as the application's icon. This - icon is included by the main resource file 9118bDMA.rc. - -res\My9118bDMA.rc2 - This file contains resources that are not edited by Microsoft - Visual C++. You should place all resources not editable by - the resource editor in this file. - - -///////////////////////////////////////////////////////////////////////////// - -The application wizard creates one dialog class: - -9118bDMADlg.h, 9118bDMADlg.cpp - the dialog - These files contain your C9118bDMADlg class. This class defines - the behavior of your application's main dialog. The dialog's template is - in 9118bDMA.rc, which can be edited in Microsoft Visual C++. - - -///////////////////////////////////////////////////////////////////////////// - -Other Features: - -ActiveX Controls - The application includes support to use ActiveX controls. - -///////////////////////////////////////////////////////////////////////////// - -Other standard files: - -StdAfx.h, StdAfx.cpp - These files are used to build a precompiled header (PCH) file - named 9118bDMA.pch and a precompiled types file named StdAfx.obj. - -Resource.h - This is the standard header file, which defines new resource IDs. - Microsoft Visual C++ reads and updates this file. - -9118bDMA.manifest - Application manifest files are used by Windows XP to describe an applications - dependency on specific versions of Side-by-Side assemblies. The loader uses this - information to load the appropriate assembly from the assembly cache or private - from the application. The Application manifest maybe included for redistribution - as an external .manifest file that is installed in the same folder as the application - executable or it may be included in the executable in the form of a resource. -///////////////////////////////////////////////////////////////////////////// - -Other notes: - -The application wizard uses "TODO:" to indicate parts of the source code you -should add to or customize. - -If your application uses MFC in a shared DLL, you will need -to redistribute the MFC DLLs. If your application is in a language -other than the operating system's locale, you will also have to -redistribute the corresponding localized resources MFC90XXX.DLL. -For more information on both of these topics, please see the section on -redistributing Visual C++ applications in MSDN documentation. - -///////////////////////////////////////////////////////////////////////////// diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118BurstDma/res/9118bDMA.ico b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118BurstDma/res/9118bDMA.ico deleted file mode 100644 index d56fbcd..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118BurstDma/res/9118bDMA.ico and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118BurstDma/res/My9118bDMA.rc2 b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118BurstDma/res/My9118bDMA.rc2 deleted file mode 100644 index 383cde2..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118BurstDma/res/My9118bDMA.rc2 +++ /dev/null @@ -1,13 +0,0 @@ -// -// My9111int.RC2 - resources Microsoft Visual C++ does not edit directly -// - -#ifdef APSTUDIO_INVOKED -#error this file is not editable by Microsoft Visual C++ -#endif //APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// Add manually edited resources here... - -///////////////////////////////////////////////////////////////////////////// diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118BurstDma/res/ch_set1.bmp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118BurstDma/res/ch_set1.bmp deleted file mode 100644 index f2374ed..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118BurstDma/res/ch_set1.bmp and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118BurstDma/res/ch_set2.bmp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118BurstDma/res/ch_set2.bmp deleted file mode 100644 index 32d0915..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118BurstDma/res/ch_set2.bmp and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118BurstDma/resource.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118BurstDma/resource.h deleted file mode 100644 index 5031d2c..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118BurstDma/resource.h +++ /dev/null @@ -1,36 +0,0 @@ -//{{NO_DEPENDENCIES}} -// Microsoft Visual C++ generated include file. -// Used by 9118bDMA.rc -// -#define IDM_ABOUTBOX 0x0010 -#define IDD_ABOUTBOX 100 -#define IDS_ABOUTBOX 101 -#define IDD_9118DMA_DIALOG 102 -#define IDR_MAINFRAME 128 -#define IDD_CARDID_DIALOG 129 -#define IDB_BITMAP_SET1 131 -#define IDB_BITMAP_SET2 132 -#define IDC_STATIC_DRAW 1000 -#define IDC_COMBO_CARDID 1001 -#define IDC_COMBO_SCANCHAN 1001 -#define IDC_COMBO_CARDTYPE 1002 -#define IDC_BUTTON1 1002 -#define IDC_BT_START 1002 -#define IDC_EDIT_SAMPLE_RATE 1003 -#define IDC_EDIT_BURST_NUMBER 1003 -#define IDC_CHECK1 1004 -#define IDC_CHECK_SAMPLEHOLD 1004 -#define IDC_SCROLLBAR_RATE 1006 -#define IDC_STATIC_01 1014 -#define IDC_STATIC_2 1015 - -// Next default values for new objects -// -#ifdef APSTUDIO_INVOKED -#ifndef APSTUDIO_READONLY_SYMBOLS -#define _APS_NEXT_RESOURCE_VALUE 134 -#define _APS_NEXT_COMMAND_VALUE 32771 -#define _APS_NEXT_CONTROL_VALUE 1005 -#define _APS_NEXT_SYMED_VALUE 101 -#endif -#endif diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118BurstDma/stdafx.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118BurstDma/stdafx.cpp deleted file mode 100644 index ef80626..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118BurstDma/stdafx.cpp +++ /dev/null @@ -1,8 +0,0 @@ - -// stdafx.cpp : source file that includes just the standard includes -// 9111int.pch will be the pre-compiled header -// stdafx.obj will contain the pre-compiled type information - -#include "stdafx.h" - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118BurstDma/stdafx.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118BurstDma/stdafx.h deleted file mode 100644 index 12123e2..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118BurstDma/stdafx.h +++ /dev/null @@ -1,60 +0,0 @@ - -// stdafx.h : include file for standard system include files, -// or project specific include files that are used frequently, -// but are changed infrequently - -#pragma once - -#ifndef _SECURE_ATL -#define _SECURE_ATL 1 -#endif - -#ifndef VC_EXTRALEAN -#define VC_EXTRALEAN // Exclude rarely-used stuff from Windows headers -#endif - -#include "targetver.h" - -#define _ATL_CSTRING_EXPLICIT_CONSTRUCTORS // some CString constructors will be explicit - -// turns off MFC's hiding of some common and often safely ignored warning messages -#define _AFX_ALL_WARNINGS - -#include // MFC core and standard components -#include // MFC extensions - - -#include // MFC Automation classes - - - -#ifndef _AFX_NO_OLE_SUPPORT -#include // MFC support for Internet Explorer 4 Common Controls -#endif -#ifndef _AFX_NO_AFXCMN_SUPPORT -#include // MFC support for Windows Common Controls -#endif // _AFX_NO_AFXCMN_SUPPORT - -#include // MFC support for ribbons and control bars - - - - - - - - - -#ifdef _UNICODE -#if defined _M_IX86 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='x86' publicKeyToken='6595b64144ccf1df' language='*'\"") -#elif defined _M_IA64 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='ia64' publicKeyToken='6595b64144ccf1df' language='*'\"") -#elif defined _M_X64 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='amd64' publicKeyToken='6595b64144ccf1df' language='*'\"") -#else -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='*' publicKeyToken='6595b64144ccf1df' language='*'\"") -#endif -#endif - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118BurstDma/targetver.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118BurstDma/targetver.h deleted file mode 100644 index 11730d5..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118BurstDma/targetver.h +++ /dev/null @@ -1,26 +0,0 @@ - -#pragma once - -// The following macros define the minimum required platform. The minimum required platform -// is the earliest version of Windows, Internet Explorer etc. that has the necessary features to run -// your application. The macros work by enabling all features available on platform versions up to and -// including the version specified. - -// Modify the following defines if you have to target a platform prior to the ones specified below. -// Refer to MSDN for the latest info on corresponding values for different platforms. -#ifndef WINVER // Specifies that the minimum required platform is Windows Vista. -#define WINVER 0x0600 // Change this to the appropriate value to target other versions of Windows. -#endif - -#ifndef _WIN32_WINNT // Specifies that the minimum required platform is Windows Vista. -#define _WIN32_WINNT 0x0600 // Change this to the appropriate value to target other versions of Windows. -#endif - -#ifndef _WIN32_WINDOWS // Specifies that the minimum required platform is Windows 98. -#define _WIN32_WINDOWS 0x0410 // Change this to the appropriate value to target Windows Me or later. -#endif - -#ifndef _WIN32_IE // Specifies that the minimum required platform is Internet Explorer 7.0. -#define _WIN32_IE 0x0700 // Change this to the appropriate value to target other versions of IE. -#endif - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118DbfAboutTrg/9111DbInt.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118DbfAboutTrg/9111DbInt.suo deleted file mode 100644 index 3fde864..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118DbfAboutTrg/9111DbInt.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118DbfAboutTrg/9111PostTg.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118DbfAboutTrg/9111PostTg.suo deleted file mode 100644 index c59a833..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118DbfAboutTrg/9111PostTg.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118DbfAboutTrg/9111int.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118DbfAboutTrg/9111int.suo deleted file mode 100644 index aaca7d8..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118DbfAboutTrg/9111int.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118DbfAboutTrg/9118Atrg.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118DbfAboutTrg/9118Atrg.cpp deleted file mode 100644 index 985a459..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118DbfAboutTrg/9118Atrg.cpp +++ /dev/null @@ -1,109 +0,0 @@ - -// 9118Atrg.cpp : Defines the class behaviors for the application. -// - -#include "stdafx.h" -#include "9118Atrg.h" -#include "9118AtrgDlg.h" -#include "CardIDDlg.h" - -#ifdef _DEBUG -#define new DEBUG_NEW -#endif - - -// C9118AtrgApp - -BEGIN_MESSAGE_MAP(C9118AtrgApp, CWinAppEx) - ON_COMMAND(ID_HELP, &CWinApp::OnHelp) -END_MESSAGE_MAP() - - -// C9118AtrgApp construction - -C9118AtrgApp::C9118AtrgApp() -{ - // TODO: add construction code here, - // Place all significant initialization in InitInstance -} - - -// The one and only C9118AtrgApp object - -C9118AtrgApp theApp; - - -// C9118AtrgApp initialization - -BOOL C9118AtrgApp::InitInstance() -{ - int nCardID = 0; - I16 hCard; - CString strTemp; - INT_PTR nResponse; - - // InitCommonControlsEx() is required on Windows XP if an application - // manifest specifies use of ComCtl32.dll version 6 or later to enable - // visual styles. Otherwise, any window creation will fail. - INITCOMMONCONTROLSEX InitCtrls; - InitCtrls.dwSize = sizeof(InitCtrls); - // Set this to include all the common control classes you want to use - // in your application. - InitCtrls.dwICC = ICC_WIN95_CLASSES; - InitCommonControlsEx(&InitCtrls); - - CWinAppEx::InitInstance(); - - AfxEnableControlContainer(); - - // Standard initialization - // If you are not using these features and wish to reduce the size - // of your final executable, you should remove from the following - // the specific initialization routines you do not need - // Change the registry key under which our settings are stored - // TODO: You should modify this string to be something appropriate - // such as the name of your company or organization - SetRegistryKey(_T("Local AppWizard-Generated Applications")); - - CCardIDDlg CardDlg( nCardID ); - - nResponse = CardDlg.DoModal(); - if (nResponse == IDOK) - { - nCardID = CardDlg.GetCardID(); - - if ((hCard=Register_Card(PCI_9118DG, nCardID)) < 0) - { - strTemp.Format( TEXT("Register_Card Error = %d"), hCard); - AfxMessageBox( strTemp ); - } - else - { - C9118AtrgDlg dlg(hCard); - m_pMainWnd = &dlg; - nResponse = dlg.DoModal(); - if (nResponse == IDOK) - { - // TODO: Place code here to handle when the dialog is - // dismissed with OK - } - else if (nResponse == IDCANCEL) - { - // TODO: Place code here to handle when the dialog is - // dismissed with Cancel - } - - if (hCard >= 0) Release_Card(hCard); - } - - } - else if (nResponse == IDCANCEL) - { - // TODO: Place code here to handle when the dialog is - // dismissed with Cancel - } - - // Since the dialog has been closed, return FALSE so that we exit the - // application, rather than start the application's message pump. - return FALSE; -} diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118DbfAboutTrg/9118Atrg.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118DbfAboutTrg/9118Atrg.h deleted file mode 100644 index 3857212..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118DbfAboutTrg/9118Atrg.h +++ /dev/null @@ -1,32 +0,0 @@ - -// 9118Atrg.h : main header file for the PROJECT_NAME application -// - -#pragma once - -#ifndef __AFXWIN_H__ - #error "include 'stdafx.h' before including this file for PCH" -#endif - -#include "resource.h" // main symbols - - -// C9118AtrgApp: -// See 9118Atrg.cpp for the implementation of this class -// - -class C9118AtrgApp : public CWinAppEx -{ -public: - C9118AtrgApp(); - -// Overrides - public: - virtual BOOL InitInstance(); - -// Implementation - - DECLARE_MESSAGE_MAP() -}; - -extern C9118AtrgApp theApp; \ No newline at end of file diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118DbfAboutTrg/9118Atrg.rc b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118DbfAboutTrg/9118Atrg.rc deleted file mode 100644 index ef60cd1..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118DbfAboutTrg/9118Atrg.rc +++ /dev/null @@ -1,295 +0,0 @@ -// Microsoft Visual C++ generated resource script. -// -#include "resource.h" - -#define APSTUDIO_READONLY_SYMBOLS -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 2 resource. -// -#ifndef APSTUDIO_INVOKED -#include "targetver.h" -#endif -#include "afxres.h" - -///////////////////////////////////////////////////////////////////////////// -#undef APSTUDIO_READONLY_SYMBOLS - -///////////////////////////////////////////////////////////////////////////// -// Chinese (Taiwan) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_CHT) -#ifdef _WIN32 -LANGUAGE LANG_CHINESE, SUBLANG_CHINESE_TRADITIONAL -#pragma code_page(950) -#endif //_WIN32 - -#ifdef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// TEXTINCLUDE -// - -1 TEXTINCLUDE -BEGIN - "resource.h\0" -END - -2 TEXTINCLUDE -BEGIN - "#ifndef APSTUDIO_INVOKED\r\n" - "#include ""targetver.h""\r\n" - "#endif\r\n" - "#include ""afxres.h""\r\n" - "\0" -END - -3 TEXTINCLUDE -BEGIN - "#define _AFX_NO_SPLITTER_RESOURCES\r\n" - "#define _AFX_NO_OLE_RESOURCES\r\n" - "#define _AFX_NO_TRACKER_RESOURCES\r\n" - "#define _AFX_NO_PROPERTY_RESOURCES\r\n" - "\r\n" - "#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)\r\n" - "LANGUAGE 9, 1\r\n" - "#pragma code_page(1252)\r\n" - "#include ""res\\My9118Atrg.rc2"" // non-Microsoft Visual C++ edited resources\r\n" - "#include ""afxres.rc"" // Standard components\r\n" - "#endif\r\n" - "\0" -END - -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// Icon -// - -// Icon with lowest ID value placed first to ensure application icon -// remains consistent on all systems. -IDR_MAINFRAME ICON "res\\9118Atrg.ico" -#endif // Chinese (Taiwan) resources -///////////////////////////////////////////////////////////////////////////// - - -///////////////////////////////////////////////////////////////////////////// -// English (U.S.) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -#ifdef _WIN32 -LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US -#pragma code_page(1252) -#endif //_WIN32 - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog -// - -IDD_ABOUTBOX DIALOGEX 0, 0, 170, 62 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "About 9118Atrg" -FONT 8, "MS Shell Dlg", 0, 0, 0x1 -BEGIN - ICON IDR_MAINFRAME,IDC_STATIC,14,14,21,20 - LTEXT "9118Atrg, Version 1.0",IDC_STATIC,42,14,114,8,SS_NOPREFIX - LTEXT "Copyright (C) 2010",IDC_STATIC,42,26,114,8 - DEFPUSHBUTTON "OK",IDOK,113,41,50,14,WS_GROUP -END - -IDD_9118DMA_DIALOG DIALOGEX 0, 0, 365, 232 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU -EXSTYLE WS_EX_APPWINDOW -CAPTION -"PCI-9118DG Double-Buffered DMA with Abort Trigger (Single-End Signal)" -FONT 8, "MS Shell Dlg", 0, 0, 0x1 -BEGIN - GROUPBOX "",IDC_STATIC_DRAW,45,9,248,161,NOT WS_VISIBLE - LTEXT "Range : +/- 5V",IDC_STATIC,299,129,52,15 - LTEXT "Buffer Size",IDC_STATIC,106,183,42,9 - EDITTEXT IDC_EDIT_SAMPLE_RATE,29,196,39,14,ES_AUTOHSCROLL | ES_READONLY - LTEXT "Sample Rate :",IDC_STATIC,29,182,49,9 - LTEXT "KHz",IDC_STATIC,81,199,15,9 - SCROLLBAR IDC_SCROLLBAR_RATE,69,196,9,11,SBS_VERT - PUSHBUTTON "Start",IDC_BT_START,230,188,55,22 - CONTROL "0",IDC_RADIO_CH0,"Button",BS_AUTORADIOBUTTON | BS_LEFTTEXT,307,20,16,12 - CONTROL "1",IDC_RADIO_CH1,"Button",BS_AUTORADIOBUTTON | BS_LEFTTEXT,307,35,16,12 - CONTROL "2",IDC_RADIO_CH2,"Button",BS_AUTORADIOBUTTON | BS_LEFTTEXT,307,49,16,12 - CONTROL "3",IDC_RADIO_CH3,"Button",BS_AUTORADIOBUTTON | BS_LEFTTEXT,307,64,16,12 - CONTROL "4",IDC_RADIO_CH4,"Button",BS_AUTORADIOBUTTON | BS_LEFTTEXT,331,20,16,12 - CONTROL "5",IDC_RADIO_CH5,"Button",BS_AUTORADIOBUTTON | BS_LEFTTEXT,331,35,16,12 - CONTROL "6",IDC_RADIO_CH6,"Button",BS_AUTORADIOBUTTON | BS_LEFTTEXT,331,49,16,12 - CONTROL "7",IDC_RADIO_CH7,"Button",BS_AUTORADIOBUTTON | BS_LEFTTEXT,331,64,16,12 - EDITTEXT IDC_EDIT_BUF_SIZE,104,196,46,14,ES_AUTOHSCROLL - PUSHBUTTON "Stop",IDC_BT_STOP,291,188,55,22 - LTEXT "Post Count",IDC_STATIC_TRACE_CNT,163,182,42,9 - EDITTEXT IDC_EDIT_TRACE_CNT,161,196,46,14,ES_AUTOHSCROLL -END - -IDD_CARDID_DIALOG DIALOGEX 0, 0, 174, 108 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "Card ID" -FONT 8, "MS Shell Dlg", 400, 0, 0x1 -BEGIN - COMBOBOX IDC_COMBO_CARDID,75,24,71,126,CBS_DROPDOWN | WS_VSCROLL | WS_TABSTOP - LTEXT "Card Number",IDC_STATIC_01,21,25,46,12 - PUSHBUTTON "OK",IDOK,22,70,58,19 - PUSHBUTTON "CANCEL",IDCANCEL,86,70,58,19 -END - - -///////////////////////////////////////////////////////////////////////////// -// -// Version -// - -VS_VERSION_INFO VERSIONINFO - FILEVERSION 1,0,0,1 - PRODUCTVERSION 1,0,0,1 - FILEFLAGSMASK 0x3fL -#ifdef _DEBUG - FILEFLAGS 0x1L -#else - FILEFLAGS 0x0L -#endif - FILEOS 0x4L - FILETYPE 0x1L - FILESUBTYPE 0x0L -BEGIN - BLOCK "StringFileInfo" - BEGIN - BLOCK "040904e4" - BEGIN - VALUE "CompanyName", "TODO: " - VALUE "FileDescription", "TODO: " - VALUE "FileVersion", "1.0.0.1" - VALUE "InternalName", "9118Atrg.exe" - VALUE "LegalCopyright", "TODO: (c) . All rights reserved." - VALUE "OriginalFilename", "9118Atrg.exe" - VALUE "ProductName", "TODO: " - VALUE "ProductVersion", "1.0.0.1" - END - END - BLOCK "VarFileInfo" - BEGIN - VALUE "Translation", 0x409, 1252 - END -END - - -///////////////////////////////////////////////////////////////////////////// -// -// DESIGNINFO -// - -#ifdef APSTUDIO_INVOKED -GUIDELINES DESIGNINFO -BEGIN - IDD_ABOUTBOX, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 163 - TOPMARGIN, 7 - BOTTOMMARGIN, 55 - END - - IDD_CARDID_DIALOG, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 167 - TOPMARGIN, 7 - BOTTOMMARGIN, 101 - END -END -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog Info -// - -IDD_CARDID_DIALOG DLGINIT -BEGIN - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0030, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0031, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0032, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0033, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0034, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0035, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0036, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0037, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0038, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0039, - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3031, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3131, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3231, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3331, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3431, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3531, "\000" - 0 -END - - -///////////////////////////////////////////////////////////////////////////// -// -// Bitmap -// - -IDB_BITMAP_SET1 BITMAP "res\\ch_set1.bmp" -IDB_BITMAP_SET2 BITMAP "res\\ch_set2.bmp" - -///////////////////////////////////////////////////////////////////////////// -// -// String Table -// - -STRINGTABLE -BEGIN - IDS_ABOUTBOX "&About 9118Atrg..." -END - -#endif // English (U.S.) resources -///////////////////////////////////////////////////////////////////////////// - - - -#ifndef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 3 resource. -// -#define _AFX_NO_SPLITTER_RESOURCES -#define _AFX_NO_OLE_RESOURCES -#define _AFX_NO_TRACKER_RESOURCES -#define _AFX_NO_PROPERTY_RESOURCES - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -LANGUAGE 9, 1 -#pragma code_page(1252) -#include "res\My9118Atrg.rc2" // non-Microsoft Visual C++ edited resources -#include "afxres.rc" // Standard components -#endif - -///////////////////////////////////////////////////////////////////////////// -#endif // not APSTUDIO_INVOKED - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118DbfAboutTrg/9118Atrg.sln b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118DbfAboutTrg/9118Atrg.sln deleted file mode 100644 index 44bc929..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118DbfAboutTrg/9118Atrg.sln +++ /dev/null @@ -1,20 +0,0 @@ - -Microsoft Visual Studio Solution File, Format Version 10.00 -# Visual Studio 2008 -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "9118Atrg", "9118Atrg.vcproj", "{702163FB-B6DF-4EF5-9491-FC54D71509BC}" -EndProject -Global - GlobalSection(SolutionConfigurationPlatforms) = preSolution - Debug|x64 = Debug|x64 - Release|x64 = Release|x64 - EndGlobalSection - GlobalSection(ProjectConfigurationPlatforms) = postSolution - {702163FB-B6DF-4EF5-9491-FC54D71509BC}.Debug|x64.ActiveCfg = Debug|x64 - {702163FB-B6DF-4EF5-9491-FC54D71509BC}.Debug|x64.Build.0 = Debug|x64 - {702163FB-B6DF-4EF5-9491-FC54D71509BC}.Release|x64.ActiveCfg = Release|x64 - {702163FB-B6DF-4EF5-9491-FC54D71509BC}.Release|x64.Build.0 = Release|x64 - EndGlobalSection - GlobalSection(SolutionProperties) = preSolution - HideSolutionNode = FALSE - EndGlobalSection -EndGlobal diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118DbfAboutTrg/9118Atrg.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118DbfAboutTrg/9118Atrg.suo deleted file mode 100644 index 5070003..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118DbfAboutTrg/9118Atrg.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118DbfAboutTrg/9118Atrg.vcproj b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118DbfAboutTrg/9118Atrg.vcproj deleted file mode 100644 index 1cc1e80..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118DbfAboutTrg/9118Atrg.vcproj +++ /dev/null @@ -1,294 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118DbfAboutTrg/9118AtrgDlg.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118DbfAboutTrg/9118AtrgDlg.cpp deleted file mode 100644 index de973d2..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118DbfAboutTrg/9118AtrgDlg.cpp +++ /dev/null @@ -1,666 +0,0 @@ - -// 9118AtrgDlg.cpp : implementation file -// - -#include "stdafx.h" -#include "9118Atrg.h" -#include "9118AtrgDlg.h" - -#ifdef _DEBUG -#define new DEBUG_NEW -#endif - -CRect plotRect; - -// CAboutDlg dialog used for App About - -class CAboutDlg : public CDialog -{ -public: - CAboutDlg(); - -// Dialog Data - enum { IDD = IDD_ABOUTBOX }; - - protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - -// Implementation -protected: - DECLARE_MESSAGE_MAP() -}; - -CAboutDlg::CAboutDlg() : CDialog(CAboutDlg::IDD) -{ -} - -void CAboutDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); -} - -BEGIN_MESSAGE_MAP(CAboutDlg, CDialog) -END_MESSAGE_MAP() - - -// C9118AtrgDlg dialog - - - - -C9118AtrgDlg::C9118AtrgDlg(I16 hCard, CWnd* pParent /*=NULL*/) - : CDialog(C9118AtrgDlg::IDD, pParent) -{ - m_hIcon = AfxGetApp()->LoadIcon(IDR_MAINFRAME); - - n_PlotWidth = n_PlotHeight = -1; - OnBrush = OffBrush = NULL; - - min_val = 0x00; - max_val = 0xFFFF; - - m_fSampleRate = 10000.0; // 10KHz - - m_hCard = hCard; - - m_wScanChans = 0; - m_nTimer = -1; - m_hMem=NULL; - - m_wRange = AD_B_5_V; - m_dwReadCount = 1024; - m_wPostCount = 1024; - m_wChannel = 0; - - m_wCardType = PCI_9118DG; - -} - -void C9118AtrgDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); -} - -BEGIN_MESSAGE_MAP(C9118AtrgDlg, CDialog) - ON_WM_SYSCOMMAND() - ON_WM_PAINT() - ON_WM_QUERYDRAGICON() - //}}AFX_MSG_MAP - ON_WM_DESTROY() - ON_WM_VSCROLL() - ON_BN_CLICKED(IDC_BT_START, &C9118AtrgDlg::OnStart) - ON_BN_CLICKED(IDC_RADIO_CH0, &C9118AtrgDlg::OnCh0) - ON_BN_CLICKED(IDC_RADIO_CH1, &C9118AtrgDlg::OnCh1) - ON_BN_CLICKED(IDC_RADIO_CH2, &C9118AtrgDlg::OnCh2) - ON_BN_CLICKED(IDC_RADIO_CH3, &C9118AtrgDlg::OnCh3) - ON_BN_CLICKED(IDC_RADIO_CH4, &C9118AtrgDlg::OnCh4) - ON_BN_CLICKED(IDC_RADIO_CH5, &C9118AtrgDlg::OnCh5) - ON_BN_CLICKED(IDC_RADIO_CH6, &C9118AtrgDlg::OnCh6) - ON_BN_CLICKED(IDC_RADIO_CH7, &C9118AtrgDlg::OnCh7) - ON_WM_TIMER() - ON_BN_CLICKED(IDC_BT_STOP, &C9118AtrgDlg::OnStop) -END_MESSAGE_MAP() - - -// C9118AtrgDlg message handlers - -BOOL C9118AtrgDlg::OnInitDialog() -{ - CDialog::OnInitDialog(); - - // Add "About..." menu item to system menu. - - // IDM_ABOUTBOX must be in the system command range. - ASSERT((IDM_ABOUTBOX & 0xFFF0) == IDM_ABOUTBOX); - ASSERT(IDM_ABOUTBOX < 0xF000); - - CMenu* pSysMenu = GetSystemMenu(FALSE); - if (pSysMenu != NULL) - { - BOOL bNameValid; - CString strAboutMenu; - bNameValid = strAboutMenu.LoadString(IDS_ABOUTBOX); - ASSERT(bNameValid); - if (!strAboutMenu.IsEmpty()) - { - pSysMenu->AppendMenu(MF_SEPARATOR); - pSysMenu->AppendMenu(MF_STRING, IDM_ABOUTBOX, strAboutMenu); - } - } - - // Set the icon for this dialog. The framework does this automatically - // when the application's main window is not a dialog - SetIcon(m_hIcon, TRUE); // Set big icon - SetIcon(m_hIcon, FALSE); // Set small icon - - // TODO: Add extra initialization here - x_divider = 5; y_divider = 4; - - OnBrush = CreateSolidBrush( RGB(255,0,0) ); - OffBrush = CreateSolidBrush( RGB(125,0,0) ); - - RedPen.CreatePen( PS_SOLID, 1, RGB(255,0,0)); - - - if( n_PlotWidth == -1 && n_PlotHeight == -1 ) - { - ((CWnd*)GetDlgItem(IDC_STATIC_DRAW))->GetWindowRect(&plotRect); - ScreenToClient(&plotRect); - - n_PlotWidth = min( plotRect.Width(), 512); - n_PlotHeight = plotRect.Height() - 10; - } - - // set the default SampleRate - SetDlgItemInt( IDC_EDIT_SAMPLE_RATE, (UINT)(m_fSampleRate/1000) ); - SetDlgItemInt( IDC_EDIT_BUF_SIZE, (UINT)(m_dwReadCount) ); - SetDlgItemInt( IDC_EDIT_TRACE_CNT, (UINT)(m_wPostCount) ); - ((CButton*)GetDlgItem( IDC_RADIO_CH0 ))->SetCheck( TRUE ); - - m_wChannel = 0; - - max_range = 5.0; - min_range = -5.0; - - return TRUE; // return TRUE unless you set the focus to a control -} - -void C9118AtrgDlg::OnSysCommand(UINT nID, LPARAM lParam) -{ - if ((nID & 0xFFF0) == IDM_ABOUTBOX) - { - CAboutDlg dlgAbout; - dlgAbout.DoModal(); - } - else - { - CDialog::OnSysCommand(nID, lParam); - } -} - -// If you add a minimize button to your dialog, you will need the code below -// to draw the icon. For MFC applications using the document/view model, -// this is automatically done for you by the framework. - -void C9118AtrgDlg::OnPaint() -{ - if (IsIconic()) - { - CPaintDC dc(this); // device context for painting - - SendMessage(WM_ICONERASEBKGND, reinterpret_cast(dc.GetSafeHdc()), 0); - - // Center icon in client rectangle - int cxIcon = GetSystemMetrics(SM_CXICON); - int cyIcon = GetSystemMetrics(SM_CYICON); - CRect rect; - GetClientRect(&rect); - int x = (rect.Width() - cxIcon + 1) / 2; - int y = (rect.Height() - cyIcon + 1) / 2; - - // Draw the icon - dc.DrawIcon(x, y, m_hIcon); - } - else - { - redraw_display_area(); - CDialog::OnPaint(); - } -} - -// The system calls this function to obtain the cursor to display while the user drags -// the minimized window. -HCURSOR C9118AtrgDlg::OnQueryDragIcon() -{ - return static_cast(m_hIcon); -} - - -void C9118AtrgDlg::redraw_display_area(void) -{ - CPen *oldPen; - - int oldMode; - COLORREF oldColor; - - CString y_lable; - - CPen minor_tick( PS_SOLID,1,RGB(132,130,132) ); -// CPen y_grid( PS_SOLID,1,RGB(206,203,132) ); - - int i, x_intv, y_intv; -// long total_sec; - - CClientDC dc_plot(this); - - // draw the base-line for x-y axises - oldPen = (CPen *)dc_plot.SelectStockObject(BLACK_PEN); - - // redraw the background - dc_plot.FillSolidRect( plotRect, RGB(0,0,0) ); - - // Re-Draw the AREA for Y-Lable - { - CBrush DIALOG_BRUSH; - CRect redraw_area, full_client; - - GetClientRect(&full_client); - ScreenToClient(&full_client); - - redraw_area.left = full_client.left; - redraw_area.top = plotRect.top - 5; - redraw_area.right = plotRect.left - 3; - redraw_area.bottom = plotRect.bottom + 10; - - DIALOG_BRUSH.CreateSysColorBrush( COLOR_3DFACE ); - - dc_plot.FillRect( redraw_area, &DIALOG_BRUSH ); - - DIALOG_BRUSH.DeleteObject(); - } - - dc_plot.MoveTo( plotRect.left - 3, plotRect.top ); - dc_plot.LineTo( plotRect.left - 3, plotRect.bottom ); - - // calculate the interval for tick/grid - y_intv = (plotRect.Height() - 10) /y_divider; - x_intv = plotRect.Width()/x_divider; - - - // set the color for tick - oldColor = dc_plot.SetTextColor( RGB(0,0,0) ); - oldMode = dc_plot.SetBkMode( TRANSPARENT ); - - for( i=0; i<= y_divider; i++ ) - { - CString tick_str; - CRect tmp_rect, tick_rect; - - // draw the tick for y-axis - dc_plot.MoveTo( plotRect.left -12, plotRect.bottom -5 - (i*y_intv) ); - dc_plot.LineTo( plotRect.left -3, plotRect.bottom -5 - (i*y_intv) ); - - tick_str.Format( _T("%.1f"), ( ((max_range-min_range)/y_divider) * i)+min_range ); - - // calculate the rectangle for text - dc_plot.DrawText( tick_str, &tmp_rect, DT_CALCRECT|DT_SINGLELINE ); - tick_rect.right = plotRect.left -14; - tick_rect.left = tick_rect.right - tmp_rect.Width(); - tick_rect.top = plotRect.bottom -5 - (i*y_intv) - tmp_rect.Height()/2; - tick_rect.bottom = tick_rect.top + tmp_rect.Height(); - - // draw the text - dc_plot.DrawText( tick_str, &tick_rect, DT_SINGLELINE|DT_RIGHT ); - - } - - // draw the minor_tick for Y axises - dc_plot.SelectObject(&minor_tick); - for( i=0; i< y_divider; i++ ) - { - dc_plot.MoveTo( plotRect.left -9, plotRect.bottom -5 - (i*y_intv) - y_intv/2 ); - dc_plot.LineTo( plotRect.left -4, plotRect.bottom -5 - (i*y_intv) - y_intv/2 ); - } - - dc_plot.SetTextColor( oldColor ); - dc_plot.SetBkMode( oldMode ); - dc_plot.SelectObject( oldPen ); -} - -void C9118AtrgDlg::OnDestroy() -{ - CDialog::OnDestroy(); - - // TODO: Add your message handler code here - if( m_nTimer != -1 ) - { - KillTimer( m_nTimer ); - m_nTimer = -1; - } - - if (m_hMem != NULL) - { - GlobalUnfix(m_hMem); - GlobalUnlock(m_hMem); - GlobalFree(m_hMem); - - m_hMem = NULL; - } - - if( OnBrush != NULL ) - ::DeleteObject( OnBrush ); - - if( OffBrush != NULL ) - ::DeleteObject( OffBrush ); - - RedPen.DeleteObject(); - -} - -void C9118AtrgDlg::OnVScroll(UINT nSBCode, UINT nPos, CScrollBar* pScrollBar) -{ - // TODO: Add your message handler code here and/or call default - switch ( nSBCode ) - { - case SB_LINEUP : - m_fSampleRate += 5000.0; - if (m_fSampleRate > 50000.0 ) m_fSampleRate = 50000.0; - break; - case SB_LINEDOWN: - m_fSampleRate -= 5000.0; - if (m_fSampleRate < 5000.0 ) m_fSampleRate = 5000.0; - break; - } - - SetDlgItemInt( IDC_EDIT_SAMPLE_RATE, (UINT)(m_fSampleRate/1000) ); - - CDialog::OnVScroll(nSBCode, nPos, pScrollBar); -} - - -void C9118AtrgDlg::OnStop() -{ - // TODO: Add your control notification handler code here - U32 count; - - AI_AsyncClear(m_hCard, &count); - - if( m_nTimer != -1 ) - { - KillTimer( m_nTimer ); - m_nTimer = -1; - } - - GetDlgItem( IDC_BT_START )->EnableWindow(TRUE); - - GetDlgItem( IDC_RADIO_CH0 )->EnableWindow(TRUE); - GetDlgItem( IDC_RADIO_CH1 )->EnableWindow(TRUE); - GetDlgItem( IDC_RADIO_CH2 )->EnableWindow(TRUE); - GetDlgItem( IDC_RADIO_CH3 )->EnableWindow(TRUE); - GetDlgItem( IDC_RADIO_CH4 )->EnableWindow(TRUE); - GetDlgItem( IDC_RADIO_CH5 )->EnableWindow(TRUE); - GetDlgItem( IDC_RADIO_CH6 )->EnableWindow(TRUE); - GetDlgItem( IDC_RADIO_CH7 )->EnableWindow(TRUE); -} - -void C9118AtrgDlg::OnStart() -{ - // TODO: Add your control notification handler code here - DWORD mem_size; - CString strTemp; - I16 err; - - GetDlgItem( IDC_BT_START )->EnableWindow(FALSE); - - GetDlgItem( IDC_RADIO_CH0 )->EnableWindow(FALSE); - GetDlgItem( IDC_RADIO_CH1 )->EnableWindow(FALSE); - GetDlgItem( IDC_RADIO_CH2 )->EnableWindow(FALSE); - GetDlgItem( IDC_RADIO_CH3 )->EnableWindow(FALSE); - GetDlgItem( IDC_RADIO_CH4 )->EnableWindow(FALSE); - GetDlgItem( IDC_RADIO_CH5 )->EnableWindow(FALSE); - GetDlgItem( IDC_RADIO_CH6 )->EnableWindow(FALSE); - GetDlgItem( IDC_RADIO_CH7 )->EnableWindow(FALSE); - - m_dwReadCount = GetDlgItemInt(IDC_EDIT_BUF_SIZE); - - if (m_hMem != NULL) - { - GlobalUnfix(m_hMem); - GlobalUnlock(m_hMem); - GlobalFree(m_hMem); - - m_hMem = NULL; - } - - // allocate a memory for user DMA buffer - mem_size = m_dwReadCount * sizeof(I16); - m_hMem = GlobalAlloc(GMEM_ZEROINIT, mem_size); - m_pAIBuf = (U16*) GlobalLock(m_hMem); - if (m_pAIBuf == NULL ) - { - AfxMessageBox( TEXT("Memory allocation failed"), MB_OK); - return; - } - - GlobalFix(m_hMem); - - err = AI_9118_Config(m_hCard, P9118_AI_BiPolar|P9118_AI_SingEnded ,P9118_AI_DtrgPositive|P9118_AI_EtrgPositive|P9118_AI_AboutTrgEn, 0, m_wPostCount); - if (err!=0) - { - strTemp.Format( TEXT("AI_9118_Config error=%d"), err); - AfxMessageBox( strTemp ); - } - - err=AI_AsyncDblBufferMode(m_hCard, 1); // single-buffer mode - if (err!=0) - { - strTemp.Format( TEXT("AI_DblBufferMode error=%d"), err); - AfxMessageBox( strTemp ); - } - - err=AI_ContReadChannel (m_hCard, m_wChannel, m_wRange, (U16*)m_pAIBuf, m_dwReadCount, (F64)m_fSampleRate, ASYNCH_OP); - if (err!=0) - { - strTemp.Format( TEXT("AI_ContReadChannel error=%d"), err); - AfxMessageBox( strTemp ); - } - - m_nTimer = SetTimer( 1, 20, NULL ); - -} - -int C9118AtrgDlg::display_buffer_data(U16* pBuf, U32 dwDataSize) -{ - CClientDC dc_plot(this); - int nDraw_Origin_Y; - int cur_channel; - - int newY = -1; - int newX = -1; - U32 dwReadCount = (m_dwReadCount/2); // for double-buffer operation - U32 index; - - - // redraw the background - dc_plot.FillSolidRect( plotRect, RGB(0,0,0) ); - - dc_plot.SelectObject(&RedPen); - nDraw_Origin_Y = ( plotRect.bottom - 5 ); // - n_PlotHeight/2; - - for( index=0; index> 16) ); // (n_PlotHeight/2) * ai_data/32768 ) --> ( n_PlotHeight * ai_data / 65536) ) --> (n_PlotHeight * ai_data) >> 16) - } - else // m_wCardType == PCI_9118DG / PCI_9118HG - { - U16 ai_data; - - ai_data = (U16)(pBuf[index]) >> 4; - cur_channel = pBuf[index] & 0x0f; - newY = (int)( nDraw_Origin_Y - ((n_PlotHeight * ai_data) >> 12 ) ); // (n_PlotHeight/2) * ai_data/2048 ) --> (n_PlotHeight * ai_data / 4096 ) --> (n_PlotHeight * ai_data) >> 12 ) - } - - newX = (int)( index*n_PlotWidth/dwReadCount + plotRect.left ); - - if ( index == 0 ) - { - dc_plot.MoveTo( newX, newY ); - } - else - { - dc_plot.MoveTo( m_oldX, m_oldY ); - dc_plot.LineTo( newX, newY ); - } - - m_oldX = newX; - m_oldY = newY; - } - - return 0; -} - - -void C9118AtrgDlg::OnTimer(UINT_PTR nIDEvent) -{ - // TODO: Add your message handler code here and/or call default - BOOLEAN HalfReady; - BOOLEAN fstop; - U32 count; - - AI_AsyncDblBufferHalfReady(m_hCard, &HalfReady, &fstop); - - if( fstop == FALSE ) - { - if( HalfReady == TRUE ) // half-buffer is ready - { - AI_AsyncDblBufferTransfer(m_hCard, m_pAIBuf); - display_buffer_data( m_pAIBuf, m_dwReadCount/2 ); - } - } - else // AI operation stops - { - AI_AsyncDblBufferHalfReady(m_hCard, &HalfReady, &fstop); //Get the index of working buffer of Double Buffer - AI_AsyncClear(m_hCard, &count); - - if( (count > 0) && (count < (m_dwReadCount/2)) ) - { - AI_AsyncDblBufferTransfer(m_hCard, m_pAIBuf); - display_buffer_data( m_pAIBuf, count ); - } - - if( m_nTimer != -1 ) - { - KillTimer( m_nTimer ); - m_nTimer = -1; - } - - GetDlgItem( IDC_BT_START )->EnableWindow(TRUE); - - GetDlgItem( IDC_RADIO_CH0 )->EnableWindow(TRUE); - GetDlgItem( IDC_RADIO_CH1 )->EnableWindow(TRUE); - GetDlgItem( IDC_RADIO_CH2 )->EnableWindow(TRUE); - GetDlgItem( IDC_RADIO_CH3 )->EnableWindow(TRUE); - GetDlgItem( IDC_RADIO_CH4 )->EnableWindow(TRUE); - GetDlgItem( IDC_RADIO_CH5 )->EnableWindow(TRUE); - GetDlgItem( IDC_RADIO_CH6 )->EnableWindow(TRUE); - GetDlgItem( IDC_RADIO_CH7 )->EnableWindow(TRUE); - - } - - CDialog::OnTimer(nIDEvent); -} - -void C9118AtrgDlg::OnCh0() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_RADIO_CH0 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_wChannel = 0; - } - -} - -void C9118AtrgDlg::OnCh1() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_RADIO_CH1 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_wChannel = 1; - } -} - -void C9118AtrgDlg::OnCh2() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_RADIO_CH2 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_wChannel = 2; - } -} - -void C9118AtrgDlg::OnCh3() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_RADIO_CH3 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_wChannel = 3; - } -} - -void C9118AtrgDlg::OnCh4() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_RADIO_CH4 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_wChannel = 4; - } -} - -void C9118AtrgDlg::OnCh5() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_RADIO_CH5 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_wChannel = 5; - } -} - -void C9118AtrgDlg::OnCh6() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_RADIO_CH6 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_wChannel = 6; - } -} - -void C9118AtrgDlg::OnCh7() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_RADIO_CH7 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_wChannel = 7; - } -} - - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118DbfAboutTrg/9118AtrgDlg.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118DbfAboutTrg/9118AtrgDlg.h deleted file mode 100644 index 1001500..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118DbfAboutTrg/9118AtrgDlg.h +++ /dev/null @@ -1,79 +0,0 @@ - -// 9118AtrgDlg.h : header file -#pragma once -#include "afxcmn.h" -#include "afxwin.h" - -#include "Dask64.h" - -#ifndef MAX_CHAN_9118 -#define MAX_CHAN_9118 16 -#endif - -// C9118AtrgDlg dialog -class C9118AtrgDlg : public CDialog -{ -// Construction -public: - C9118AtrgDlg(I16 hCard, CWnd* pParent = NULL); // standard constructor - -// Dialog Data - enum { IDD = IDD_9118DMA_DIALOG }; - - protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - - -// Implementation -protected: - HICON m_hIcon; - UINT_PTR m_nTimer; - I16 m_hCard; - U16 m_wCardType; - double m_fSampleRate; - U16 m_wScanChans; - HANDLE m_hMem; - U16 *m_pAIBuf; - U16 m_wRange; - int m_oldY; - int m_oldX; - U32 m_dwReadCount; - U16 m_wChannel; - U16 m_wPostCount; - - // Generated message map functions - virtual BOOL OnInitDialog(); - afx_msg void OnSysCommand(UINT nID, LPARAM lParam); - afx_msg void OnPaint(); - afx_msg HCURSOR OnQueryDragIcon(); - DECLARE_MESSAGE_MAP() - -public: - WORD max_val; - WORD min_val; - double max_range; - double min_range; - int n_PlotWidth; - int n_PlotHeight; - int y_divider; - int x_divider; - int m_DisplayScale; - HBRUSH OnBrush; - HBRUSH OffBrush; - CPen RedPen; - void redraw_display_area(void); - afx_msg void OnDestroy(); - afx_msg void OnVScroll(UINT nSBCode, UINT nPos, CScrollBar* pScrollBar); - afx_msg void OnStart(); - int display_buffer_data(U16* pBuf, U32 dwDataSize); - afx_msg void OnCh0(); - afx_msg void OnCh1(); - afx_msg void OnCh2(); - afx_msg void OnCh3(); - afx_msg void OnCh4(); - afx_msg void OnCh5(); - afx_msg void OnCh6(); - afx_msg void OnCh7(); - afx_msg void OnTimer(UINT_PTR nIDEvent); - afx_msg void OnStop(); -}; diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118DbfAboutTrg/9118cdma.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118DbfAboutTrg/9118cdma.suo deleted file mode 100644 index d5c8a50..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118DbfAboutTrg/9118cdma.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118DbfAboutTrg/CardIDDlg.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118DbfAboutTrg/CardIDDlg.cpp deleted file mode 100644 index d4654c2..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118DbfAboutTrg/CardIDDlg.cpp +++ /dev/null @@ -1,66 +0,0 @@ -// CardIDDlg.cpp : implementation file -// -#include "stdafx.h" -#include "9118Atrg.h" -#include "9118AtrgDlg.h" -#include "CardIDDlg.h" - -// CCardIDDlg dialog - -IMPLEMENT_DYNAMIC(CCardIDDlg, CDialog) - -CCardIDDlg::CCardIDDlg(int nCardIdx, CWnd* pParent /*=NULL*/) - : CDialog(CCardIDDlg::IDD, pParent) -{ - m_nCardIdx = nCardIdx; -} - -CCardIDDlg::~CCardIDDlg() -{ -} - -void CCardIDDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); - DDX_Control(pDX, IDC_COMBO_CARDID, m_cbCardID); -} - - -BEGIN_MESSAGE_MAP(CCardIDDlg, CDialog) -// ON_CBN_SELCHANGE(IDC_COMBO_CARDID, &CCardIDDlg::OnCbnSelchangeComboCardid) -ON_BN_CLICKED(IDOK, &CCardIDDlg::OnBnClickedOk) -//ON_WM_CTLCOLOR() -END_MESSAGE_MAP() - - -// CCardIDDlg message handlers - - -void CCardIDDlg::OnBnClickedOk() -{ - // TODO: Add your control notification handler code here - -// UpdateData(TRUE); - m_nCardIdx = m_cbCardID.GetCurSel(); - - OnOK(); -} - -BOOL CCardIDDlg::OnInitDialog() -{ - CDialog::OnInitDialog(); - - // TODO: Add extra initialization here - m_cbCardID.SetCurSel( m_nCardIdx ); - - return TRUE; // return TRUE unless you set the focus to a control - // EXCEPTION: OCX Property Pages should return FALSE -} - -// the function to get the selected CardID -int CCardIDDlg::GetCardID(void) -{ - return m_nCardIdx; -} - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118DbfAboutTrg/CardIDDlg.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118DbfAboutTrg/CardIDDlg.h deleted file mode 100644 index 9c02c58..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118DbfAboutTrg/CardIDDlg.h +++ /dev/null @@ -1,32 +0,0 @@ -#pragma once -#include "afxwin.h" - -#include "Dask64.h" - -// CCardIDDlg dialog - -class CCardIDDlg : public CDialog -{ - DECLARE_DYNAMIC(CCardIDDlg) - -public: - CCardIDDlg(int nCardIdx, CWnd* pParent = NULL); // standard constructor - virtual ~CCardIDDlg(); - -// Dialog Data - enum { IDD = IDD_CARDID_DIALOG }; - -protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - - DECLARE_MESSAGE_MAP() -public: - virtual BOOL OnInitDialog(); - afx_msg void OnBnClickedOk(); - // the setting of CardID ComboBox - int m_nCardIdx; - // the control of CardID ComboBox - CComboBox m_cbCardID; - // the function to get the selected CardID - int GetCardID(void); -}; diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118DbfAboutTrg/ReadMe.txt b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118DbfAboutTrg/ReadMe.txt deleted file mode 100644 index a8f2916..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118DbfAboutTrg/ReadMe.txt +++ /dev/null @@ -1,93 +0,0 @@ -================================================================================ - MICROSOFT FOUNDATION CLASS LIBRARY : 9118Atrg Project Overview -=============================================================================== - -The application wizard has created this 9118Atrg application for -you. This application not only demonstrates the basics of using the Microsoft -Foundation Classes but is also a starting point for writing your application. - -This file contains a summary of what you will find in each of the files that -make up your 9118Atrg application. - -9118Atrg.vcproj - This is the main project file for VC++ projects generated using an application wizard. - It contains information about the version of Visual C++ that generated the file, and - information about the platforms, configurations, and project features selected with the - application wizard. - -9118Atrg.h - This is the main header file for the application. It includes other - project specific headers (including Resource.h) and declares the - C9118AtrgApp application class. - -9118Atrg.cpp - This is the main application source file that contains the application - class C9118AtrgApp. - -9118Atrg.rc - This is a listing of all of the Microsoft Windows resources that the - program uses. It includes the icons, bitmaps, and cursors that are stored - in the RES subdirectory. This file can be directly edited in Microsoft - Visual C++. Your project resources are in 1033. - -res\9118Atrg.ico - This is an icon file, which is used as the application's icon. This - icon is included by the main resource file 9118Atrg.rc. - -res\My9118Atrg.rc2 - This file contains resources that are not edited by Microsoft - Visual C++. You should place all resources not editable by - the resource editor in this file. - - -///////////////////////////////////////////////////////////////////////////// - -The application wizard creates one dialog class: - -9118AtrgDlg.h, 9118AtrgDlg.cpp - the dialog - These files contain your C9118AtrgDlg class. This class defines - the behavior of your application's main dialog. The dialog's template is - in 9118Atrg.rc, which can be edited in Microsoft Visual C++. - - -///////////////////////////////////////////////////////////////////////////// - -Other Features: - -ActiveX Controls - The application includes support to use ActiveX controls. - -///////////////////////////////////////////////////////////////////////////// - -Other standard files: - -StdAfx.h, StdAfx.cpp - These files are used to build a precompiled header (PCH) file - named 9118Atrg.pch and a precompiled types file named StdAfx.obj. - -Resource.h - This is the standard header file, which defines new resource IDs. - Microsoft Visual C++ reads and updates this file. - -9118Atrg.manifest - Application manifest files are used by Windows XP to describe an applications - dependency on specific versions of Side-by-Side assemblies. The loader uses this - information to load the appropriate assembly from the assembly cache or private - from the application. The Application manifest maybe included for redistribution - as an external .manifest file that is installed in the same folder as the application - executable or it may be included in the executable in the form of a resource. -///////////////////////////////////////////////////////////////////////////// - -Other notes: - -The application wizard uses "TODO:" to indicate parts of the source code you -should add to or customize. - -If your application uses MFC in a shared DLL, you will need -to redistribute the MFC DLLs. If your application is in a language -other than the operating system's locale, you will also have to -redistribute the corresponding localized resources MFC90XXX.DLL. -For more information on both of these topics, please see the section on -redistributing Visual C++ applications in MSDN documentation. - -///////////////////////////////////////////////////////////////////////////// diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118DbfAboutTrg/res/9118Atrg.ico b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118DbfAboutTrg/res/9118Atrg.ico deleted file mode 100644 index d56fbcd..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118DbfAboutTrg/res/9118Atrg.ico and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118DbfAboutTrg/res/My9118Atrg.rc2 b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118DbfAboutTrg/res/My9118Atrg.rc2 deleted file mode 100644 index 383cde2..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118DbfAboutTrg/res/My9118Atrg.rc2 +++ /dev/null @@ -1,13 +0,0 @@ -// -// My9111int.RC2 - resources Microsoft Visual C++ does not edit directly -// - -#ifdef APSTUDIO_INVOKED -#error this file is not editable by Microsoft Visual C++ -#endif //APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// Add manually edited resources here... - -///////////////////////////////////////////////////////////////////////////// diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118DbfAboutTrg/res/ch_set1.bmp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118DbfAboutTrg/res/ch_set1.bmp deleted file mode 100644 index f2374ed..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118DbfAboutTrg/res/ch_set1.bmp and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118DbfAboutTrg/res/ch_set2.bmp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118DbfAboutTrg/res/ch_set2.bmp deleted file mode 100644 index 32d0915..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118DbfAboutTrg/res/ch_set2.bmp and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118DbfAboutTrg/resource.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118DbfAboutTrg/resource.h deleted file mode 100644 index 8d0f1a2..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118DbfAboutTrg/resource.h +++ /dev/null @@ -1,42 +0,0 @@ -//{{NO_DEPENDENCIES}} -// Microsoft Visual C++ generated include file. -// Used by 9118Atrg.rc -// -#define IDM_ABOUTBOX 0x0010 -#define IDD_ABOUTBOX 100 -#define IDS_ABOUTBOX 101 -#define IDD_9118DMA_DIALOG 102 -#define IDR_MAINFRAME 128 -#define IDD_CARDID_DIALOG 129 -#define IDB_BITMAP_SET1 131 -#define IDB_BITMAP_SET2 132 -#define IDC_STATIC_DRAW 1000 -#define IDC_COMBO_CARDID 1001 -#define IDC_BT_STOP 1002 -#define IDC_BT_START 1003 -#define IDC_EDIT_SAMPLE_RATE 1004 -#define IDC_SCROLLBAR_RATE 1005 -#define IDC_RADIO_CH0 1006 -#define IDC_RADIO_CH1 1007 -#define IDC_RADIO_CH2 1008 -#define IDC_RADIO_CH3 1009 -#define IDC_RADIO_CH4 1010 -#define IDC_RADIO_CH5 1011 -#define IDC_RADIO_CH6 1012 -#define IDC_RADIO_CH7 1013 -#define IDC_STATIC_01 1014 -#define IDC_EDIT_BUF_SIZE 1014 -#define IDC_STATIC_2 1015 -#define IDC_EDIT_TRACE_CNT 1018 -#define IDC_STATIC_TRACE_CNT 1019 - -// Next default values for new objects -// -#ifdef APSTUDIO_INVOKED -#ifndef APSTUDIO_READONLY_SYMBOLS -#define _APS_NEXT_RESOURCE_VALUE 134 -#define _APS_NEXT_COMMAND_VALUE 32771 -#define _APS_NEXT_CONTROL_VALUE 1016 -#define _APS_NEXT_SYMED_VALUE 101 -#endif -#endif diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118DbfAboutTrg/stdafx.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118DbfAboutTrg/stdafx.cpp deleted file mode 100644 index ef80626..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118DbfAboutTrg/stdafx.cpp +++ /dev/null @@ -1,8 +0,0 @@ - -// stdafx.cpp : source file that includes just the standard includes -// 9111int.pch will be the pre-compiled header -// stdafx.obj will contain the pre-compiled type information - -#include "stdafx.h" - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118DbfAboutTrg/stdafx.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118DbfAboutTrg/stdafx.h deleted file mode 100644 index 12123e2..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118DbfAboutTrg/stdafx.h +++ /dev/null @@ -1,60 +0,0 @@ - -// stdafx.h : include file for standard system include files, -// or project specific include files that are used frequently, -// but are changed infrequently - -#pragma once - -#ifndef _SECURE_ATL -#define _SECURE_ATL 1 -#endif - -#ifndef VC_EXTRALEAN -#define VC_EXTRALEAN // Exclude rarely-used stuff from Windows headers -#endif - -#include "targetver.h" - -#define _ATL_CSTRING_EXPLICIT_CONSTRUCTORS // some CString constructors will be explicit - -// turns off MFC's hiding of some common and often safely ignored warning messages -#define _AFX_ALL_WARNINGS - -#include // MFC core and standard components -#include // MFC extensions - - -#include // MFC Automation classes - - - -#ifndef _AFX_NO_OLE_SUPPORT -#include // MFC support for Internet Explorer 4 Common Controls -#endif -#ifndef _AFX_NO_AFXCMN_SUPPORT -#include // MFC support for Windows Common Controls -#endif // _AFX_NO_AFXCMN_SUPPORT - -#include // MFC support for ribbons and control bars - - - - - - - - - -#ifdef _UNICODE -#if defined _M_IX86 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='x86' publicKeyToken='6595b64144ccf1df' language='*'\"") -#elif defined _M_IA64 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='ia64' publicKeyToken='6595b64144ccf1df' language='*'\"") -#elif defined _M_X64 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='amd64' publicKeyToken='6595b64144ccf1df' language='*'\"") -#else -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='*' publicKeyToken='6595b64144ccf1df' language='*'\"") -#endif -#endif - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118DbfAboutTrg/targetver.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118DbfAboutTrg/targetver.h deleted file mode 100644 index 11730d5..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118DbfAboutTrg/targetver.h +++ /dev/null @@ -1,26 +0,0 @@ - -#pragma once - -// The following macros define the minimum required platform. The minimum required platform -// is the earliest version of Windows, Internet Explorer etc. that has the necessary features to run -// your application. The macros work by enabling all features available on platform versions up to and -// including the version specified. - -// Modify the following defines if you have to target a platform prior to the ones specified below. -// Refer to MSDN for the latest info on corresponding values for different platforms. -#ifndef WINVER // Specifies that the minimum required platform is Windows Vista. -#define WINVER 0x0600 // Change this to the appropriate value to target other versions of Windows. -#endif - -#ifndef _WIN32_WINNT // Specifies that the minimum required platform is Windows Vista. -#define _WIN32_WINNT 0x0600 // Change this to the appropriate value to target other versions of Windows. -#endif - -#ifndef _WIN32_WINDOWS // Specifies that the minimum required platform is Windows 98. -#define _WIN32_WINDOWS 0x0410 // Change this to the appropriate value to target Windows Me or later. -#endif - -#ifndef _WIN32_IE // Specifies that the minimum required platform is Internet Explorer 7.0. -#define _WIN32_IE 0x0700 // Change this to the appropriate value to target other versions of IE. -#endif - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118DbfDma/9111DbInt.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118DbfDma/9111DbInt.suo deleted file mode 100644 index 3fde864..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118DbfDma/9111DbInt.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118DbfDma/9111PostTg.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118DbfDma/9111PostTg.suo deleted file mode 100644 index c59a833..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118DbfDma/9111PostTg.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118DbfDma/9111int.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118DbfDma/9111int.suo deleted file mode 100644 index aaca7d8..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118DbfDma/9111int.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118DbfDma/9118cdma.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118DbfDma/9118cdma.cpp deleted file mode 100644 index 92c5921..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118DbfDma/9118cdma.cpp +++ /dev/null @@ -1,109 +0,0 @@ - -// 9118cdma.cpp : Defines the class behaviors for the application. -// - -#include "stdafx.h" -#include "9118cdma.h" -#include "9118cdmaDlg.h" -#include "CardIDDlg.h" - -#ifdef _DEBUG -#define new DEBUG_NEW -#endif - - -// C9118cdmaApp - -BEGIN_MESSAGE_MAP(C9118cdmaApp, CWinAppEx) - ON_COMMAND(ID_HELP, &CWinApp::OnHelp) -END_MESSAGE_MAP() - - -// C9118cdmaApp construction - -C9118cdmaApp::C9118cdmaApp() -{ - // TODO: add construction code here, - // Place all significant initialization in InitInstance -} - - -// The one and only C9118cdmaApp object - -C9118cdmaApp theApp; - - -// C9118cdmaApp initialization - -BOOL C9118cdmaApp::InitInstance() -{ - int nCardID = 0; - I16 hCard; - CString strTemp; - INT_PTR nResponse; - - // InitCommonControlsEx() is required on Windows XP if an application - // manifest specifies use of ComCtl32.dll version 6 or later to enable - // visual styles. Otherwise, any window creation will fail. - INITCOMMONCONTROLSEX InitCtrls; - InitCtrls.dwSize = sizeof(InitCtrls); - // Set this to include all the common control classes you want to use - // in your application. - InitCtrls.dwICC = ICC_WIN95_CLASSES; - InitCommonControlsEx(&InitCtrls); - - CWinAppEx::InitInstance(); - - AfxEnableControlContainer(); - - // Standard initialization - // If you are not using these features and wish to reduce the size - // of your final executable, you should remove from the following - // the specific initialization routines you do not need - // Change the registry key under which our settings are stored - // TODO: You should modify this string to be something appropriate - // such as the name of your company or organization - SetRegistryKey(_T("Local AppWizard-Generated Applications")); - - CCardIDDlg CardDlg( nCardID ); - - nResponse = CardDlg.DoModal(); - if (nResponse == IDOK) - { - nCardID = CardDlg.GetCardID(); - - if ((hCard=Register_Card(PCI_9118DG, nCardID)) < 0) - { - strTemp.Format( TEXT("Register_Card Error = %d"), hCard); - AfxMessageBox( strTemp ); - } - else - { - C9118cdmaDlg dlg(hCard); - m_pMainWnd = &dlg; - nResponse = dlg.DoModal(); - if (nResponse == IDOK) - { - // TODO: Place code here to handle when the dialog is - // dismissed with OK - } - else if (nResponse == IDCANCEL) - { - // TODO: Place code here to handle when the dialog is - // dismissed with Cancel - } - - if (hCard >= 0) Release_Card(hCard); - } - - } - else if (nResponse == IDCANCEL) - { - // TODO: Place code here to handle when the dialog is - // dismissed with Cancel - } - - // Since the dialog has been closed, return FALSE so that we exit the - // application, rather than start the application's message pump. - return FALSE; -} diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118DbfDma/9118cdma.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118DbfDma/9118cdma.h deleted file mode 100644 index 17b89a2..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118DbfDma/9118cdma.h +++ /dev/null @@ -1,32 +0,0 @@ - -// 9118cdma.h : main header file for the PROJECT_NAME application -// - -#pragma once - -#ifndef __AFXWIN_H__ - #error "include 'stdafx.h' before including this file for PCH" -#endif - -#include "resource.h" // main symbols - - -// C9118cdmaApp: -// See 9118cdma.cpp for the implementation of this class -// - -class C9118cdmaApp : public CWinAppEx -{ -public: - C9118cdmaApp(); - -// Overrides - public: - virtual BOOL InitInstance(); - -// Implementation - - DECLARE_MESSAGE_MAP() -}; - -extern C9118cdmaApp theApp; \ No newline at end of file diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118DbfDma/9118cdma.rc b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118DbfDma/9118cdma.rc deleted file mode 100644 index c649dd4..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118DbfDma/9118cdma.rc +++ /dev/null @@ -1,292 +0,0 @@ -// Microsoft Visual C++ generated resource script. -// -#include "resource.h" - -#define APSTUDIO_READONLY_SYMBOLS -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 2 resource. -// -#ifndef APSTUDIO_INVOKED -#include "targetver.h" -#endif -#include "afxres.h" - -///////////////////////////////////////////////////////////////////////////// -#undef APSTUDIO_READONLY_SYMBOLS - -///////////////////////////////////////////////////////////////////////////// -// Chinese (Taiwan) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_CHT) -#ifdef _WIN32 -LANGUAGE LANG_CHINESE, SUBLANG_CHINESE_TRADITIONAL -#pragma code_page(950) -#endif //_WIN32 - -#ifdef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// TEXTINCLUDE -// - -1 TEXTINCLUDE -BEGIN - "resource.h\0" -END - -2 TEXTINCLUDE -BEGIN - "#ifndef APSTUDIO_INVOKED\r\n" - "#include ""targetver.h""\r\n" - "#endif\r\n" - "#include ""afxres.h""\r\n" - "\0" -END - -3 TEXTINCLUDE -BEGIN - "#define _AFX_NO_SPLITTER_RESOURCES\r\n" - "#define _AFX_NO_OLE_RESOURCES\r\n" - "#define _AFX_NO_TRACKER_RESOURCES\r\n" - "#define _AFX_NO_PROPERTY_RESOURCES\r\n" - "\r\n" - "#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)\r\n" - "LANGUAGE 9, 1\r\n" - "#pragma code_page(1252)\r\n" - "#include ""res\\My9118cdma.rc2"" // non-Microsoft Visual C++ edited resources\r\n" - "#include ""afxres.rc"" // Standard components\r\n" - "#endif\r\n" - "\0" -END - -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// Icon -// - -// Icon with lowest ID value placed first to ensure application icon -// remains consistent on all systems. -IDR_MAINFRAME ICON "res\\9118cdma.ico" -#endif // Chinese (Taiwan) resources -///////////////////////////////////////////////////////////////////////////// - - -///////////////////////////////////////////////////////////////////////////// -// English (U.S.) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -#ifdef _WIN32 -LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US -#pragma code_page(1252) -#endif //_WIN32 - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog -// - -IDD_ABOUTBOX DIALOGEX 0, 0, 170, 62 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "About 9118cdma" -FONT 8, "MS Shell Dlg", 0, 0, 0x1 -BEGIN - ICON IDR_MAINFRAME,IDC_STATIC,14,14,21,20 - LTEXT "9118cdma, Version 1.0",IDC_STATIC,42,14,114,8,SS_NOPREFIX - LTEXT "Copyright (C) 2010",IDC_STATIC,42,26,114,8 - DEFPUSHBUTTON "OK",IDOK,113,41,50,14,WS_GROUP -END - -IDD_9118DMA_DIALOG DIALOGEX 0, 0, 365, 232 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU -EXSTYLE WS_EX_APPWINDOW -CAPTION "PCI-9118DG Double-Buffered Interrupt (Single-End Signal)" -FONT 8, "MS Shell Dlg", 0, 0, 0x1 -BEGIN - GROUPBOX "",IDC_STATIC_DRAW,45,9,248,161,NOT WS_VISIBLE - LTEXT "Range : +/- 5V",IDC_STATIC,299,129,52,15 - LTEXT "Buffer Size",IDC_STATIC,124,183,42,9 - EDITTEXT IDC_EDIT_SAMPLE_RATE,47,196,39,14,ES_AUTOHSCROLL | ES_READONLY - LTEXT "Sample Rate :",IDC_STATIC,47,182,49,9 - LTEXT "KHz",IDC_STATIC,99,199,15,9 - SCROLLBAR IDC_SCROLLBAR_RATE,87,196,9,11,SBS_VERT - PUSHBUTTON "Start",IDC_BT_START,230,188,55,22 - CONTROL "0",IDC_RADIO_CH0,"Button",BS_AUTORADIOBUTTON | BS_LEFTTEXT,307,20,16,12 - CONTROL "1",IDC_RADIO_CH1,"Button",BS_AUTORADIOBUTTON | BS_LEFTTEXT,307,35,16,12 - CONTROL "2",IDC_RADIO_CH2,"Button",BS_AUTORADIOBUTTON | BS_LEFTTEXT,307,49,16,12 - CONTROL "3",IDC_RADIO_CH3,"Button",BS_AUTORADIOBUTTON | BS_LEFTTEXT,307,64,16,12 - CONTROL "4",IDC_RADIO_CH4,"Button",BS_AUTORADIOBUTTON | BS_LEFTTEXT,331,20,16,12 - CONTROL "5",IDC_RADIO_CH5,"Button",BS_AUTORADIOBUTTON | BS_LEFTTEXT,331,35,16,12 - CONTROL "6",IDC_RADIO_CH6,"Button",BS_AUTORADIOBUTTON | BS_LEFTTEXT,331,49,16,12 - CONTROL "7",IDC_RADIO_CH7,"Button",BS_AUTORADIOBUTTON | BS_LEFTTEXT,331,64,16,12 - EDITTEXT IDC_EDIT_BUF_SIZE,122,196,46,14,ES_AUTOHSCROLL - PUSHBUTTON "Stop",IDC_BT_STOP,291,188,55,22 -END - -IDD_CARDID_DIALOG DIALOGEX 0, 0, 174, 108 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "Card ID" -FONT 8, "MS Shell Dlg", 400, 0, 0x1 -BEGIN - COMBOBOX IDC_COMBO_CARDID,75,24,71,126,CBS_DROPDOWN | WS_VSCROLL | WS_TABSTOP - LTEXT "Card Number",IDC_STATIC_01,21,25,46,12 - PUSHBUTTON "OK",IDOK,22,70,58,19 - PUSHBUTTON "CANCEL",IDCANCEL,86,70,58,19 -END - - -///////////////////////////////////////////////////////////////////////////// -// -// Version -// - -VS_VERSION_INFO VERSIONINFO - FILEVERSION 1,0,0,1 - PRODUCTVERSION 1,0,0,1 - FILEFLAGSMASK 0x3fL -#ifdef _DEBUG - FILEFLAGS 0x1L -#else - FILEFLAGS 0x0L -#endif - FILEOS 0x4L - FILETYPE 0x1L - FILESUBTYPE 0x0L -BEGIN - BLOCK "StringFileInfo" - BEGIN - BLOCK "040904e4" - BEGIN - VALUE "CompanyName", "TODO: " - VALUE "FileDescription", "TODO: " - VALUE "FileVersion", "1.0.0.1" - VALUE "InternalName", "9118cdma.exe" - VALUE "LegalCopyright", "TODO: (c) . All rights reserved." - VALUE "OriginalFilename", "9118cdma.exe" - VALUE "ProductName", "TODO: " - VALUE "ProductVersion", "1.0.0.1" - END - END - BLOCK "VarFileInfo" - BEGIN - VALUE "Translation", 0x409, 1252 - END -END - - -///////////////////////////////////////////////////////////////////////////// -// -// DESIGNINFO -// - -#ifdef APSTUDIO_INVOKED -GUIDELINES DESIGNINFO -BEGIN - IDD_ABOUTBOX, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 163 - TOPMARGIN, 7 - BOTTOMMARGIN, 55 - END - - IDD_CARDID_DIALOG, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 167 - TOPMARGIN, 7 - BOTTOMMARGIN, 101 - END -END -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog Info -// - -IDD_CARDID_DIALOG DLGINIT -BEGIN - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0030, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0031, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0032, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0033, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0034, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0035, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0036, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0037, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0038, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0039, - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3031, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3131, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3231, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3331, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3431, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3531, "\000" - 0 -END - - -///////////////////////////////////////////////////////////////////////////// -// -// Bitmap -// - -IDB_BITMAP_SET1 BITMAP "res\\ch_set1.bmp" -IDB_BITMAP_SET2 BITMAP "res\\ch_set2.bmp" - -///////////////////////////////////////////////////////////////////////////// -// -// String Table -// - -STRINGTABLE -BEGIN - IDS_ABOUTBOX "&About 9118cdma..." -END - -#endif // English (U.S.) resources -///////////////////////////////////////////////////////////////////////////// - - - -#ifndef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 3 resource. -// -#define _AFX_NO_SPLITTER_RESOURCES -#define _AFX_NO_OLE_RESOURCES -#define _AFX_NO_TRACKER_RESOURCES -#define _AFX_NO_PROPERTY_RESOURCES - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -LANGUAGE 9, 1 -#pragma code_page(1252) -#include "res\My9118cdma.rc2" // non-Microsoft Visual C++ edited resources -#include "afxres.rc" // Standard components -#endif - -///////////////////////////////////////////////////////////////////////////// -#endif // not APSTUDIO_INVOKED - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118DbfDma/9118cdma.sln b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118DbfDma/9118cdma.sln deleted file mode 100644 index 4586828..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118DbfDma/9118cdma.sln +++ /dev/null @@ -1,20 +0,0 @@ - -Microsoft Visual Studio Solution File, Format Version 10.00 -# Visual Studio 2008 -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "9118cdma", "9118cdma.vcproj", "{702163FB-B6DF-4EF5-9491-FC54D71509BC}" -EndProject -Global - GlobalSection(SolutionConfigurationPlatforms) = preSolution - Debug|x64 = Debug|x64 - Release|x64 = Release|x64 - EndGlobalSection - GlobalSection(ProjectConfigurationPlatforms) = postSolution - {702163FB-B6DF-4EF5-9491-FC54D71509BC}.Debug|x64.ActiveCfg = Debug|x64 - {702163FB-B6DF-4EF5-9491-FC54D71509BC}.Debug|x64.Build.0 = Debug|x64 - {702163FB-B6DF-4EF5-9491-FC54D71509BC}.Release|x64.ActiveCfg = Release|x64 - {702163FB-B6DF-4EF5-9491-FC54D71509BC}.Release|x64.Build.0 = Release|x64 - EndGlobalSection - GlobalSection(SolutionProperties) = preSolution - HideSolutionNode = FALSE - EndGlobalSection -EndGlobal diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118DbfDma/9118cdma.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118DbfDma/9118cdma.suo deleted file mode 100644 index 7db5f59..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118DbfDma/9118cdma.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118DbfDma/9118cdma.vcproj b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118DbfDma/9118cdma.vcproj deleted file mode 100644 index 4eec52d..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118DbfDma/9118cdma.vcproj +++ /dev/null @@ -1,294 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118DbfDma/9118cdmaDlg.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118DbfDma/9118cdmaDlg.cpp deleted file mode 100644 index 00b6fd5..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118DbfDma/9118cdmaDlg.cpp +++ /dev/null @@ -1,631 +0,0 @@ - -// 9118cdmaDlg.cpp : implementation file -// - -#include "stdafx.h" -#include "9118cdma.h" -#include "9118cdmaDlg.h" - -#ifdef _DEBUG -#define new DEBUG_NEW -#endif - -CRect plotRect; - -// CAboutDlg dialog used for App About - -class CAboutDlg : public CDialog -{ -public: - CAboutDlg(); - -// Dialog Data - enum { IDD = IDD_ABOUTBOX }; - - protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - -// Implementation -protected: - DECLARE_MESSAGE_MAP() -}; - -CAboutDlg::CAboutDlg() : CDialog(CAboutDlg::IDD) -{ -} - -void CAboutDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); -} - -BEGIN_MESSAGE_MAP(CAboutDlg, CDialog) -END_MESSAGE_MAP() - - -// C9118cdmaDlg dialog - - - - -C9118cdmaDlg::C9118cdmaDlg(I16 hCard, CWnd* pParent /*=NULL*/) - : CDialog(C9118cdmaDlg::IDD, pParent) -{ - m_hIcon = AfxGetApp()->LoadIcon(IDR_MAINFRAME); - - n_PlotWidth = n_PlotHeight = -1; - OnBrush = OffBrush = NULL; - - min_val = 0x00; - max_val = 0xFFFF; - - m_fSampleRate = 10000.0; // 10KHz - - m_hCard = hCard; - - m_wScanChans = 0; - m_nTimer = -1; - m_hMem=NULL; - - m_wRange = AD_B_5_V; - m_dwReadCount = 1000; - m_wPostCount = 512; - m_wChannel = 0; - - m_wCardType = PCI_9118DG; - -} - -void C9118cdmaDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); -} - -BEGIN_MESSAGE_MAP(C9118cdmaDlg, CDialog) - ON_WM_SYSCOMMAND() - ON_WM_PAINT() - ON_WM_QUERYDRAGICON() - //}}AFX_MSG_MAP - ON_WM_DESTROY() - ON_WM_VSCROLL() - ON_BN_CLICKED(IDC_BT_START, &C9118cdmaDlg::OnStart) - ON_BN_CLICKED(IDC_RADIO_CH0, &C9118cdmaDlg::OnCh0) - ON_BN_CLICKED(IDC_RADIO_CH1, &C9118cdmaDlg::OnCh1) - ON_BN_CLICKED(IDC_RADIO_CH2, &C9118cdmaDlg::OnCh2) - ON_BN_CLICKED(IDC_RADIO_CH3, &C9118cdmaDlg::OnCh3) - ON_BN_CLICKED(IDC_RADIO_CH4, &C9118cdmaDlg::OnCh4) - ON_BN_CLICKED(IDC_RADIO_CH5, &C9118cdmaDlg::OnCh5) - ON_BN_CLICKED(IDC_RADIO_CH6, &C9118cdmaDlg::OnCh6) - ON_BN_CLICKED(IDC_RADIO_CH7, &C9118cdmaDlg::OnCh7) - ON_WM_TIMER() - ON_BN_CLICKED(IDC_BT_STOP, &C9118cdmaDlg::OnStop) -END_MESSAGE_MAP() - - -// C9118cdmaDlg message handlers - -BOOL C9118cdmaDlg::OnInitDialog() -{ - CDialog::OnInitDialog(); - - // Add "About..." menu item to system menu. - - // IDM_ABOUTBOX must be in the system command range. - ASSERT((IDM_ABOUTBOX & 0xFFF0) == IDM_ABOUTBOX); - ASSERT(IDM_ABOUTBOX < 0xF000); - - CMenu* pSysMenu = GetSystemMenu(FALSE); - if (pSysMenu != NULL) - { - BOOL bNameValid; - CString strAboutMenu; - bNameValid = strAboutMenu.LoadString(IDS_ABOUTBOX); - ASSERT(bNameValid); - if (!strAboutMenu.IsEmpty()) - { - pSysMenu->AppendMenu(MF_SEPARATOR); - pSysMenu->AppendMenu(MF_STRING, IDM_ABOUTBOX, strAboutMenu); - } - } - - // Set the icon for this dialog. The framework does this automatically - // when the application's main window is not a dialog - SetIcon(m_hIcon, TRUE); // Set big icon - SetIcon(m_hIcon, FALSE); // Set small icon - - // TODO: Add extra initialization here - x_divider = 5; y_divider = 4; - - OnBrush = CreateSolidBrush( RGB(255,0,0) ); - OffBrush = CreateSolidBrush( RGB(125,0,0) ); - - RedPen.CreatePen( PS_SOLID, 1, RGB(255,0,0)); - - - if( n_PlotWidth == -1 && n_PlotHeight == -1 ) - { - ((CWnd*)GetDlgItem(IDC_STATIC_DRAW))->GetWindowRect(&plotRect); - ScreenToClient(&plotRect); - - n_PlotWidth = min( plotRect.Width(), 512); - n_PlotHeight = plotRect.Height() - 10; - } - - // set the default SampleRate - SetDlgItemInt( IDC_EDIT_SAMPLE_RATE, (UINT)(m_fSampleRate/1000) ); - SetDlgItemInt( IDC_EDIT_BUF_SIZE, (UINT)(m_dwReadCount) ); - ((CButton*)GetDlgItem( IDC_RADIO_CH0 ))->SetCheck( TRUE ); - - m_wChannel = 0; - - max_range = 5.0; - min_range = -5.0; - - return TRUE; // return TRUE unless you set the focus to a control -} - -void C9118cdmaDlg::OnSysCommand(UINT nID, LPARAM lParam) -{ - if ((nID & 0xFFF0) == IDM_ABOUTBOX) - { - CAboutDlg dlgAbout; - dlgAbout.DoModal(); - } - else - { - CDialog::OnSysCommand(nID, lParam); - } -} - -// If you add a minimize button to your dialog, you will need the code below -// to draw the icon. For MFC applications using the document/view model, -// this is automatically done for you by the framework. - -void C9118cdmaDlg::OnPaint() -{ - if (IsIconic()) - { - CPaintDC dc(this); // device context for painting - - SendMessage(WM_ICONERASEBKGND, reinterpret_cast(dc.GetSafeHdc()), 0); - - // Center icon in client rectangle - int cxIcon = GetSystemMetrics(SM_CXICON); - int cyIcon = GetSystemMetrics(SM_CYICON); - CRect rect; - GetClientRect(&rect); - int x = (rect.Width() - cxIcon + 1) / 2; - int y = (rect.Height() - cyIcon + 1) / 2; - - // Draw the icon - dc.DrawIcon(x, y, m_hIcon); - } - else - { - redraw_display_area(); - CDialog::OnPaint(); - } -} - -// The system calls this function to obtain the cursor to display while the user drags -// the minimized window. -HCURSOR C9118cdmaDlg::OnQueryDragIcon() -{ - return static_cast(m_hIcon); -} - - -void C9118cdmaDlg::redraw_display_area(void) -{ - CPen *oldPen; - - int oldMode; - COLORREF oldColor; - - CString y_lable; - - CPen minor_tick( PS_SOLID,1,RGB(132,130,132) ); -// CPen y_grid( PS_SOLID,1,RGB(206,203,132) ); - - int i, x_intv, y_intv; -// long total_sec; - - CClientDC dc_plot(this); - - // draw the base-line for x-y axises - oldPen = (CPen *)dc_plot.SelectStockObject(BLACK_PEN); - - // redraw the background - dc_plot.FillSolidRect( plotRect, RGB(0,0,0) ); - - // Re-Draw the AREA for Y-Lable - { - CBrush DIALOG_BRUSH; - CRect redraw_area, full_client; - - GetClientRect(&full_client); - ScreenToClient(&full_client); - - redraw_area.left = full_client.left; - redraw_area.top = plotRect.top - 5; - redraw_area.right = plotRect.left - 3; - redraw_area.bottom = plotRect.bottom + 10; - - DIALOG_BRUSH.CreateSysColorBrush( COLOR_3DFACE ); - - dc_plot.FillRect( redraw_area, &DIALOG_BRUSH ); - - DIALOG_BRUSH.DeleteObject(); - } - - dc_plot.MoveTo( plotRect.left - 3, plotRect.top ); - dc_plot.LineTo( plotRect.left - 3, plotRect.bottom ); - - // calculate the interval for tick/grid - y_intv = (plotRect.Height() - 10) /y_divider; - x_intv = plotRect.Width()/x_divider; - - - // set the color for tick - oldColor = dc_plot.SetTextColor( RGB(0,0,0) ); - oldMode = dc_plot.SetBkMode( TRANSPARENT ); - - for( i=0; i<= y_divider; i++ ) - { - CString tick_str; - CRect tmp_rect, tick_rect; - - // draw the tick for y-axis - dc_plot.MoveTo( plotRect.left -12, plotRect.bottom -5 - (i*y_intv) ); - dc_plot.LineTo( plotRect.left -3, plotRect.bottom -5 - (i*y_intv) ); - - tick_str.Format( _T("%.1f"), ( ((max_range-min_range)/y_divider) * i)+min_range ); - - // calculate the rectangle for text - dc_plot.DrawText( tick_str, &tmp_rect, DT_CALCRECT|DT_SINGLELINE ); - tick_rect.right = plotRect.left -14; - tick_rect.left = tick_rect.right - tmp_rect.Width(); - tick_rect.top = plotRect.bottom -5 - (i*y_intv) - tmp_rect.Height()/2; - tick_rect.bottom = tick_rect.top + tmp_rect.Height(); - - // draw the text - dc_plot.DrawText( tick_str, &tick_rect, DT_SINGLELINE|DT_RIGHT ); - - } - - // draw the minor_tick for Y axises - dc_plot.SelectObject(&minor_tick); - for( i=0; i< y_divider; i++ ) - { - dc_plot.MoveTo( plotRect.left -9, plotRect.bottom -5 - (i*y_intv) - y_intv/2 ); - dc_plot.LineTo( plotRect.left -4, plotRect.bottom -5 - (i*y_intv) - y_intv/2 ); - } - - dc_plot.SetTextColor( oldColor ); - dc_plot.SetBkMode( oldMode ); - dc_plot.SelectObject( oldPen ); -} - -void C9118cdmaDlg::OnDestroy() -{ - CDialog::OnDestroy(); - - // TODO: Add your message handler code here - if( m_nTimer != -1 ) - { - KillTimer( m_nTimer ); - m_nTimer = -1; - } - - if (m_hMem != NULL) - { - GlobalUnfix(m_hMem); - GlobalUnlock(m_hMem); - GlobalFree(m_hMem); - - m_hMem = NULL; - } - - if( OnBrush != NULL ) - ::DeleteObject( OnBrush ); - - if( OffBrush != NULL ) - ::DeleteObject( OffBrush ); - - RedPen.DeleteObject(); - -} - -void C9118cdmaDlg::OnVScroll(UINT nSBCode, UINT nPos, CScrollBar* pScrollBar) -{ - // TODO: Add your message handler code here and/or call default - switch ( nSBCode ) - { - case SB_LINEUP : - m_fSampleRate += 5000.0; - if (m_fSampleRate > 50000.0 ) m_fSampleRate = 50000.0; - break; - case SB_LINEDOWN: - m_fSampleRate -= 5000.0; - if (m_fSampleRate < 5000.0 ) m_fSampleRate = 5000.0; - break; - } - - SetDlgItemInt( IDC_EDIT_SAMPLE_RATE, (UINT)(m_fSampleRate/1000) ); - - CDialog::OnVScroll(nSBCode, nPos, pScrollBar); -} - - -void C9118cdmaDlg::OnStop() -{ - // TODO: Add your control notification handler code here - U32 count; - - AI_AsyncClear(m_hCard, &count); - - if( m_nTimer != -1 ) - { - KillTimer( m_nTimer ); - m_nTimer = -1; - } - - GetDlgItem( IDC_BT_START )->EnableWindow(TRUE); - - GetDlgItem( IDC_RADIO_CH0 )->EnableWindow(TRUE); - GetDlgItem( IDC_RADIO_CH1 )->EnableWindow(TRUE); - GetDlgItem( IDC_RADIO_CH2 )->EnableWindow(TRUE); - GetDlgItem( IDC_RADIO_CH3 )->EnableWindow(TRUE); - GetDlgItem( IDC_RADIO_CH4 )->EnableWindow(TRUE); - GetDlgItem( IDC_RADIO_CH5 )->EnableWindow(TRUE); - GetDlgItem( IDC_RADIO_CH6 )->EnableWindow(TRUE); - GetDlgItem( IDC_RADIO_CH7 )->EnableWindow(TRUE); -} - -void C9118cdmaDlg::OnStart() -{ - // TODO: Add your control notification handler code here - DWORD mem_size; - CString strTemp; - I16 err; - - GetDlgItem( IDC_BT_START )->EnableWindow(FALSE); - - GetDlgItem( IDC_RADIO_CH0 )->EnableWindow(FALSE); - GetDlgItem( IDC_RADIO_CH1 )->EnableWindow(FALSE); - GetDlgItem( IDC_RADIO_CH2 )->EnableWindow(FALSE); - GetDlgItem( IDC_RADIO_CH3 )->EnableWindow(FALSE); - GetDlgItem( IDC_RADIO_CH4 )->EnableWindow(FALSE); - GetDlgItem( IDC_RADIO_CH5 )->EnableWindow(FALSE); - GetDlgItem( IDC_RADIO_CH6 )->EnableWindow(FALSE); - GetDlgItem( IDC_RADIO_CH7 )->EnableWindow(FALSE); - - m_dwReadCount = GetDlgItemInt(IDC_EDIT_BUF_SIZE); - - if (m_hMem != NULL) - { - GlobalUnfix(m_hMem); - GlobalUnlock(m_hMem); - GlobalFree(m_hMem); - - m_hMem = NULL; - } - - // allocate a memory for user DMA buffer - mem_size = m_dwReadCount * sizeof(I16); - m_hMem = GlobalAlloc(GMEM_ZEROINIT, mem_size); - m_pAIBuf = (U16*) GlobalLock(m_hMem); - if (m_pAIBuf == NULL ) - { - AfxMessageBox( TEXT("Memory allocation failed"), MB_OK); - return; - } - - GlobalFix(m_hMem); - - err = AI_9118_Config(m_hCard, P9118_AI_BiPolar|P9118_AI_SingEnded ,0, 0, 0); - if (err!=0) - { - strTemp.Format( TEXT("AI_9118_Config error=%d"), err); - AfxMessageBox( strTemp ); - } - - err=AI_AsyncDblBufferMode(m_hCard, 1); // single-buffer mode - if (err!=0) - { - strTemp.Format( TEXT("AI_DblBufferMode error=%d"), err); - AfxMessageBox( strTemp ); - } - - err=AI_ContReadChannel (m_hCard, m_wChannel, m_wRange, (U16*)m_pAIBuf, m_dwReadCount, (F64)m_fSampleRate, ASYNCH_OP); - if (err!=0) - { - strTemp.Format( TEXT("AI_ContReadChannel error=%d"), err); - AfxMessageBox( strTemp ); - } - - m_nTimer = SetTimer( 1, 20, NULL ); - -} - -int C9118cdmaDlg::display_buffer_data(U16* pBuf) -{ - CClientDC dc_plot(this); - int nDraw_Origin_Y; - int cur_channel; - - int newY = -1; - int newX = -1; - U32 index; - U32 dwDataSize = (m_dwReadCount/2); - - // redraw the background - dc_plot.FillSolidRect( plotRect, RGB(0,0,0) ); - - dc_plot.SelectObject(&RedPen); - nDraw_Origin_Y = ( plotRect.bottom - 5 ); // - n_PlotHeight/2; - - for( index=0; index> 16) ); // (n_PlotHeight/2) * ai_data/32768 ) --> ( n_PlotHeight * ai_data / 65536) ) --> (n_PlotHeight * ai_data) >> 16) - - } - else // m_wCardType == PCI_9111HR - { - U16 ai_data; - - ai_data = (U16)(pBuf[index]) >> 4; - cur_channel = pBuf[index] & 0x0f; - newY = (int)( nDraw_Origin_Y - ((n_PlotHeight * ai_data) >> 12 ) ); // (n_PlotHeight/2) * ai_data/2048 ) --> (n_PlotHeight * ai_data / 4096 ) --> (n_PlotHeight * ai_data) >> 12 - } - - newX = (int)( index*n_PlotWidth/dwDataSize + plotRect.left ); - - if ( index == 0 ) - { - dc_plot.MoveTo( newX, newY ); - } - else - { - dc_plot.MoveTo( m_oldX, m_oldY ); - dc_plot.LineTo( newX, newY ); - } - - m_oldX = newX; - m_oldY = newY; - } - - return 0; -} - -void C9118cdmaDlg::OnTimer(UINT_PTR nIDEvent) -{ - // TODO: Add your message handler code here and/or call default - BOOLEAN HalfReady; - BOOLEAN fstop; - - AI_AsyncDblBufferHalfReady(m_hCard, &HalfReady, &fstop); - - if( HalfReady ) // half-buffer ready - { - AI_AsyncDblBufferTransfer(m_hCard, m_pAIBuf); - display_buffer_data( m_pAIBuf ); - } - - CDialog::OnTimer(nIDEvent); -} - -void C9118cdmaDlg::OnCh0() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_RADIO_CH0 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_wChannel = 0; - } - -} - -void C9118cdmaDlg::OnCh1() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_RADIO_CH1 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_wChannel = 1; - } -} - -void C9118cdmaDlg::OnCh2() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_RADIO_CH2 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_wChannel = 2; - } -} - -void C9118cdmaDlg::OnCh3() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_RADIO_CH3 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_wChannel = 3; - } -} - -void C9118cdmaDlg::OnCh4() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_RADIO_CH4 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_wChannel = 4; - } -} - -void C9118cdmaDlg::OnCh5() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_RADIO_CH5 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_wChannel = 5; - } -} - -void C9118cdmaDlg::OnCh6() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_RADIO_CH6 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_wChannel = 6; - } -} - -void C9118cdmaDlg::OnCh7() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_RADIO_CH7 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_wChannel = 7; - } -} - - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118DbfDma/9118cdmaDlg.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118DbfDma/9118cdmaDlg.h deleted file mode 100644 index ba06939..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118DbfDma/9118cdmaDlg.h +++ /dev/null @@ -1,79 +0,0 @@ - -// 9118cdmaDlg.h : header file -#pragma once -#include "afxcmn.h" -#include "afxwin.h" - -#include "Dask64.h" - -#ifndef MAX_CHAN_9118 -#define MAX_CHAN_9118 16 -#endif - -// C9118cdmaDlg dialog -class C9118cdmaDlg : public CDialog -{ -// Construction -public: - C9118cdmaDlg(I16 hCard, CWnd* pParent = NULL); // standard constructor - -// Dialog Data - enum { IDD = IDD_9118DMA_DIALOG }; - - protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - - -// Implementation -protected: - HICON m_hIcon; - UINT_PTR m_nTimer; - I16 m_hCard; - U16 m_wCardType; - double m_fSampleRate; - U16 m_wScanChans; - HANDLE m_hMem; - U16 *m_pAIBuf; - U16 m_wRange; - int m_oldY; - int m_oldX; - U32 m_dwReadCount; - U16 m_wChannel; - U16 m_wPostCount; - - // Generated message map functions - virtual BOOL OnInitDialog(); - afx_msg void OnSysCommand(UINT nID, LPARAM lParam); - afx_msg void OnPaint(); - afx_msg HCURSOR OnQueryDragIcon(); - DECLARE_MESSAGE_MAP() - -public: - WORD max_val; - WORD min_val; - double max_range; - double min_range; - int n_PlotWidth; - int n_PlotHeight; - int y_divider; - int x_divider; - int m_DisplayScale; - HBRUSH OnBrush; - HBRUSH OffBrush; - CPen RedPen; - void redraw_display_area(void); - afx_msg void OnDestroy(); - afx_msg void OnVScroll(UINT nSBCode, UINT nPos, CScrollBar* pScrollBar); - afx_msg void OnStart(); - int display_buffer_data(U16* pBuf); - afx_msg void OnCh0(); - afx_msg void OnCh1(); - afx_msg void OnCh2(); - afx_msg void OnCh3(); - afx_msg void OnCh4(); - afx_msg void OnCh5(); - afx_msg void OnCh6(); - afx_msg void OnCh7(); - afx_msg void OnTimer(UINT_PTR nIDEvent); - afx_msg void OnStop(); -}; diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118DbfDma/CardIDDlg.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118DbfDma/CardIDDlg.cpp deleted file mode 100644 index f308122..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118DbfDma/CardIDDlg.cpp +++ /dev/null @@ -1,66 +0,0 @@ -// CardIDDlg.cpp : implementation file -// -#include "stdafx.h" -#include "9118cdma.h" -#include "9118cdmaDlg.h" -#include "CardIDDlg.h" - -// CCardIDDlg dialog - -IMPLEMENT_DYNAMIC(CCardIDDlg, CDialog) - -CCardIDDlg::CCardIDDlg(int nCardIdx, CWnd* pParent /*=NULL*/) - : CDialog(CCardIDDlg::IDD, pParent) -{ - m_nCardIdx = nCardIdx; -} - -CCardIDDlg::~CCardIDDlg() -{ -} - -void CCardIDDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); - DDX_Control(pDX, IDC_COMBO_CARDID, m_cbCardID); -} - - -BEGIN_MESSAGE_MAP(CCardIDDlg, CDialog) -// ON_CBN_SELCHANGE(IDC_COMBO_CARDID, &CCardIDDlg::OnCbnSelchangeComboCardid) -ON_BN_CLICKED(IDOK, &CCardIDDlg::OnBnClickedOk) -//ON_WM_CTLCOLOR() -END_MESSAGE_MAP() - - -// CCardIDDlg message handlers - - -void CCardIDDlg::OnBnClickedOk() -{ - // TODO: Add your control notification handler code here - -// UpdateData(TRUE); - m_nCardIdx = m_cbCardID.GetCurSel(); - - OnOK(); -} - -BOOL CCardIDDlg::OnInitDialog() -{ - CDialog::OnInitDialog(); - - // TODO: Add extra initialization here - m_cbCardID.SetCurSel( m_nCardIdx ); - - return TRUE; // return TRUE unless you set the focus to a control - // EXCEPTION: OCX Property Pages should return FALSE -} - -// the function to get the selected CardID -int CCardIDDlg::GetCardID(void) -{ - return m_nCardIdx; -} - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118DbfDma/CardIDDlg.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118DbfDma/CardIDDlg.h deleted file mode 100644 index 9c02c58..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118DbfDma/CardIDDlg.h +++ /dev/null @@ -1,32 +0,0 @@ -#pragma once -#include "afxwin.h" - -#include "Dask64.h" - -// CCardIDDlg dialog - -class CCardIDDlg : public CDialog -{ - DECLARE_DYNAMIC(CCardIDDlg) - -public: - CCardIDDlg(int nCardIdx, CWnd* pParent = NULL); // standard constructor - virtual ~CCardIDDlg(); - -// Dialog Data - enum { IDD = IDD_CARDID_DIALOG }; - -protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - - DECLARE_MESSAGE_MAP() -public: - virtual BOOL OnInitDialog(); - afx_msg void OnBnClickedOk(); - // the setting of CardID ComboBox - int m_nCardIdx; - // the control of CardID ComboBox - CComboBox m_cbCardID; - // the function to get the selected CardID - int GetCardID(void); -}; diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118DbfDma/ReadMe.txt b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118DbfDma/ReadMe.txt deleted file mode 100644 index cf5a781..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118DbfDma/ReadMe.txt +++ /dev/null @@ -1,93 +0,0 @@ -================================================================================ - MICROSOFT FOUNDATION CLASS LIBRARY : 9118cdma Project Overview -=============================================================================== - -The application wizard has created this 9118cdma application for -you. This application not only demonstrates the basics of using the Microsoft -Foundation Classes but is also a starting point for writing your application. - -This file contains a summary of what you will find in each of the files that -make up your 9118cdma application. - -9118cdma.vcproj - This is the main project file for VC++ projects generated using an application wizard. - It contains information about the version of Visual C++ that generated the file, and - information about the platforms, configurations, and project features selected with the - application wizard. - -9118cdma.h - This is the main header file for the application. It includes other - project specific headers (including Resource.h) and declares the - C9118cdmaApp application class. - -9118cdma.cpp - This is the main application source file that contains the application - class C9118cdmaApp. - -9118cdma.rc - This is a listing of all of the Microsoft Windows resources that the - program uses. It includes the icons, bitmaps, and cursors that are stored - in the RES subdirectory. This file can be directly edited in Microsoft - Visual C++. Your project resources are in 1033. - -res\9118cdma.ico - This is an icon file, which is used as the application's icon. This - icon is included by the main resource file 9118cdma.rc. - -res\My9118cdma.rc2 - This file contains resources that are not edited by Microsoft - Visual C++. You should place all resources not editable by - the resource editor in this file. - - -///////////////////////////////////////////////////////////////////////////// - -The application wizard creates one dialog class: - -9118cdmaDlg.h, 9118cdmaDlg.cpp - the dialog - These files contain your C9118cdmaDlg class. This class defines - the behavior of your application's main dialog. The dialog's template is - in 9118cdma.rc, which can be edited in Microsoft Visual C++. - - -///////////////////////////////////////////////////////////////////////////// - -Other Features: - -ActiveX Controls - The application includes support to use ActiveX controls. - -///////////////////////////////////////////////////////////////////////////// - -Other standard files: - -StdAfx.h, StdAfx.cpp - These files are used to build a precompiled header (PCH) file - named 9118cdma.pch and a precompiled types file named StdAfx.obj. - -Resource.h - This is the standard header file, which defines new resource IDs. - Microsoft Visual C++ reads and updates this file. - -9118cdma.manifest - Application manifest files are used by Windows XP to describe an applications - dependency on specific versions of Side-by-Side assemblies. The loader uses this - information to load the appropriate assembly from the assembly cache or private - from the application. The Application manifest maybe included for redistribution - as an external .manifest file that is installed in the same folder as the application - executable or it may be included in the executable in the form of a resource. -///////////////////////////////////////////////////////////////////////////// - -Other notes: - -The application wizard uses "TODO:" to indicate parts of the source code you -should add to or customize. - -If your application uses MFC in a shared DLL, you will need -to redistribute the MFC DLLs. If your application is in a language -other than the operating system's locale, you will also have to -redistribute the corresponding localized resources MFC90XXX.DLL. -For more information on both of these topics, please see the section on -redistributing Visual C++ applications in MSDN documentation. - -///////////////////////////////////////////////////////////////////////////// diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118DbfDma/res/9118cdma.ico b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118DbfDma/res/9118cdma.ico deleted file mode 100644 index d56fbcd..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118DbfDma/res/9118cdma.ico and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118DbfDma/res/My9118cdma.rc2 b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118DbfDma/res/My9118cdma.rc2 deleted file mode 100644 index 383cde2..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118DbfDma/res/My9118cdma.rc2 +++ /dev/null @@ -1,13 +0,0 @@ -// -// My9111int.RC2 - resources Microsoft Visual C++ does not edit directly -// - -#ifdef APSTUDIO_INVOKED -#error this file is not editable by Microsoft Visual C++ -#endif //APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// Add manually edited resources here... - -///////////////////////////////////////////////////////////////////////////// diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118DbfDma/res/ch_set1.bmp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118DbfDma/res/ch_set1.bmp deleted file mode 100644 index f2374ed..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118DbfDma/res/ch_set1.bmp and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118DbfDma/res/ch_set2.bmp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118DbfDma/res/ch_set2.bmp deleted file mode 100644 index 32d0915..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118DbfDma/res/ch_set2.bmp and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118DbfDma/resource.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118DbfDma/resource.h deleted file mode 100644 index 9a6a53d..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118DbfDma/resource.h +++ /dev/null @@ -1,40 +0,0 @@ -//{{NO_DEPENDENCIES}} -// Microsoft Visual C++ generated include file. -// Used by 9118cdma.rc -// -#define IDM_ABOUTBOX 0x0010 -#define IDD_ABOUTBOX 100 -#define IDS_ABOUTBOX 101 -#define IDD_9118DMA_DIALOG 102 -#define IDR_MAINFRAME 128 -#define IDD_CARDID_DIALOG 129 -#define IDB_BITMAP_SET1 131 -#define IDB_BITMAP_SET2 132 -#define IDC_STATIC_DRAW 1000 -#define IDC_COMBO_CARDID 1001 -#define IDC_BT_STOP 1002 -#define IDC_BT_START 1003 -#define IDC_EDIT_SAMPLE_RATE 1004 -#define IDC_SCROLLBAR_RATE 1005 -#define IDC_RADIO_CH0 1006 -#define IDC_RADIO_CH1 1007 -#define IDC_RADIO_CH2 1008 -#define IDC_RADIO_CH3 1009 -#define IDC_RADIO_CH4 1010 -#define IDC_RADIO_CH5 1011 -#define IDC_RADIO_CH6 1012 -#define IDC_RADIO_CH7 1013 -#define IDC_STATIC_01 1014 -#define IDC_EDIT_BUF_SIZE 1014 -#define IDC_STATIC_2 1015 - -// Next default values for new objects -// -#ifdef APSTUDIO_INVOKED -#ifndef APSTUDIO_READONLY_SYMBOLS -#define _APS_NEXT_RESOURCE_VALUE 134 -#define _APS_NEXT_COMMAND_VALUE 32771 -#define _APS_NEXT_CONTROL_VALUE 1016 -#define _APS_NEXT_SYMED_VALUE 101 -#endif -#endif diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118DbfDma/stdafx.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118DbfDma/stdafx.cpp deleted file mode 100644 index ef80626..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118DbfDma/stdafx.cpp +++ /dev/null @@ -1,8 +0,0 @@ - -// stdafx.cpp : source file that includes just the standard includes -// 9111int.pch will be the pre-compiled header -// stdafx.obj will contain the pre-compiled type information - -#include "stdafx.h" - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118DbfDma/stdafx.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118DbfDma/stdafx.h deleted file mode 100644 index 12123e2..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118DbfDma/stdafx.h +++ /dev/null @@ -1,60 +0,0 @@ - -// stdafx.h : include file for standard system include files, -// or project specific include files that are used frequently, -// but are changed infrequently - -#pragma once - -#ifndef _SECURE_ATL -#define _SECURE_ATL 1 -#endif - -#ifndef VC_EXTRALEAN -#define VC_EXTRALEAN // Exclude rarely-used stuff from Windows headers -#endif - -#include "targetver.h" - -#define _ATL_CSTRING_EXPLICIT_CONSTRUCTORS // some CString constructors will be explicit - -// turns off MFC's hiding of some common and often safely ignored warning messages -#define _AFX_ALL_WARNINGS - -#include // MFC core and standard components -#include // MFC extensions - - -#include // MFC Automation classes - - - -#ifndef _AFX_NO_OLE_SUPPORT -#include // MFC support for Internet Explorer 4 Common Controls -#endif -#ifndef _AFX_NO_AFXCMN_SUPPORT -#include // MFC support for Windows Common Controls -#endif // _AFX_NO_AFXCMN_SUPPORT - -#include // MFC support for ribbons and control bars - - - - - - - - - -#ifdef _UNICODE -#if defined _M_IX86 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='x86' publicKeyToken='6595b64144ccf1df' language='*'\"") -#elif defined _M_IA64 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='ia64' publicKeyToken='6595b64144ccf1df' language='*'\"") -#elif defined _M_X64 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='amd64' publicKeyToken='6595b64144ccf1df' language='*'\"") -#else -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='*' publicKeyToken='6595b64144ccf1df' language='*'\"") -#endif -#endif - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118DbfDma/targetver.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118DbfDma/targetver.h deleted file mode 100644 index 11730d5..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118DbfDma/targetver.h +++ /dev/null @@ -1,26 +0,0 @@ - -#pragma once - -// The following macros define the minimum required platform. The minimum required platform -// is the earliest version of Windows, Internet Explorer etc. that has the necessary features to run -// your application. The macros work by enabling all features available on platform versions up to and -// including the version specified. - -// Modify the following defines if you have to target a platform prior to the ones specified below. -// Refer to MSDN for the latest info on corresponding values for different platforms. -#ifndef WINVER // Specifies that the minimum required platform is Windows Vista. -#define WINVER 0x0600 // Change this to the appropriate value to target other versions of Windows. -#endif - -#ifndef _WIN32_WINNT // Specifies that the minimum required platform is Windows Vista. -#define _WIN32_WINNT 0x0600 // Change this to the appropriate value to target other versions of Windows. -#endif - -#ifndef _WIN32_WINDOWS // Specifies that the minimum required platform is Windows 98. -#define _WIN32_WINDOWS 0x0410 // Change this to the appropriate value to target Windows Me or later. -#endif - -#ifndef _WIN32_IE // Specifies that the minimum required platform is Internet Explorer 7.0. -#define _WIN32_IE 0x0700 // Change this to the appropriate value to target other versions of IE. -#endif - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118DbfPostTrg/9111DbInt.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118DbfPostTrg/9111DbInt.suo deleted file mode 100644 index 3fde864..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118DbfPostTrg/9111DbInt.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118DbfPostTrg/9111PostTg.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118DbfPostTrg/9111PostTg.suo deleted file mode 100644 index c59a833..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118DbfPostTrg/9111PostTg.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118DbfPostTrg/9111int.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118DbfPostTrg/9111int.suo deleted file mode 100644 index aaca7d8..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118DbfPostTrg/9111int.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118DbfPostTrg/9118Atrg.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118DbfPostTrg/9118Atrg.suo deleted file mode 100644 index e40fe72..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118DbfPostTrg/9118Atrg.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118DbfPostTrg/9118Prtg.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118DbfPostTrg/9118Prtg.suo deleted file mode 100644 index abe2567..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118DbfPostTrg/9118Prtg.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118DbfPostTrg/9118Ptrg.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118DbfPostTrg/9118Ptrg.cpp deleted file mode 100644 index 822b75f..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118DbfPostTrg/9118Ptrg.cpp +++ /dev/null @@ -1,109 +0,0 @@ - -// 9118Ptrg.cpp : Defines the class behaviors for the application. -// - -#include "stdafx.h" -#include "9118Ptrg.h" -#include "9118PtrgDlg.h" -#include "CardIDDlg.h" - -#ifdef _DEBUG -#define new DEBUG_NEW -#endif - - -// C9118PtrgApp - -BEGIN_MESSAGE_MAP(C9118PtrgApp, CWinAppEx) - ON_COMMAND(ID_HELP, &CWinApp::OnHelp) -END_MESSAGE_MAP() - - -// C9118PtrgApp construction - -C9118PtrgApp::C9118PtrgApp() -{ - // TODO: add construction code here, - // Place all significant initialization in InitInstance -} - - -// The one and only C9118PtrgApp object - -C9118PtrgApp theApp; - - -// C9118PtrgApp initialization - -BOOL C9118PtrgApp::InitInstance() -{ - int nCardID = 0; - I16 hCard; - CString strTemp; - INT_PTR nResponse; - - // InitCommonControlsEx() is required on Windows XP if an application - // manifest specifies use of ComCtl32.dll version 6 or later to enable - // visual styles. Otherwise, any window creation will fail. - INITCOMMONCONTROLSEX InitCtrls; - InitCtrls.dwSize = sizeof(InitCtrls); - // Set this to include all the common control classes you want to use - // in your application. - InitCtrls.dwICC = ICC_WIN95_CLASSES; - InitCommonControlsEx(&InitCtrls); - - CWinAppEx::InitInstance(); - - AfxEnableControlContainer(); - - // Standard initialization - // If you are not using these features and wish to reduce the size - // of your final executable, you should remove from the following - // the specific initialization routines you do not need - // Change the registry key under which our settings are stored - // TODO: You should modify this string to be something appropriate - // such as the name of your company or organization - SetRegistryKey(_T("Local AppWizard-Generated Applications")); - - CCardIDDlg CardDlg( nCardID ); - - nResponse = CardDlg.DoModal(); - if (nResponse == IDOK) - { - nCardID = CardDlg.GetCardID(); - - if ((hCard=Register_Card(PCI_9118DG, nCardID)) < 0) - { - strTemp.Format( TEXT("Register_Card Error = %d"), hCard); - AfxMessageBox( strTemp ); - } - else - { - C9118PtrgDlg dlg(hCard); - m_pMainWnd = &dlg; - nResponse = dlg.DoModal(); - if (nResponse == IDOK) - { - // TODO: Place code here to handle when the dialog is - // dismissed with OK - } - else if (nResponse == IDCANCEL) - { - // TODO: Place code here to handle when the dialog is - // dismissed with Cancel - } - - if (hCard >= 0) Release_Card(hCard); - } - - } - else if (nResponse == IDCANCEL) - { - // TODO: Place code here to handle when the dialog is - // dismissed with Cancel - } - - // Since the dialog has been closed, return FALSE so that we exit the - // application, rather than start the application's message pump. - return FALSE; -} diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118DbfPostTrg/9118Ptrg.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118DbfPostTrg/9118Ptrg.h deleted file mode 100644 index a9f7172..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118DbfPostTrg/9118Ptrg.h +++ /dev/null @@ -1,32 +0,0 @@ - -// 9118Ptrg.h : main header file for the PROJECT_NAME application -// - -#pragma once - -#ifndef __AFXWIN_H__ - #error "include 'stdafx.h' before including this file for PCH" -#endif - -#include "resource.h" // main symbols - - -// C9118PtrgApp: -// See 9118Ptrg.cpp for the implementation of this class -// - -class C9118PtrgApp : public CWinAppEx -{ -public: - C9118PtrgApp(); - -// Overrides - public: - virtual BOOL InitInstance(); - -// Implementation - - DECLARE_MESSAGE_MAP() -}; - -extern C9118PtrgApp theApp; \ No newline at end of file diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118DbfPostTrg/9118Ptrg.rc b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118DbfPostTrg/9118Ptrg.rc deleted file mode 100644 index 2162531..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118DbfPostTrg/9118Ptrg.rc +++ /dev/null @@ -1,294 +0,0 @@ -// Microsoft Visual C++ generated resource script. -// -#include "resource.h" - -#define APSTUDIO_READONLY_SYMBOLS -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 2 resource. -// -#ifndef APSTUDIO_INVOKED -#include "targetver.h" -#endif -#include "afxres.h" - -///////////////////////////////////////////////////////////////////////////// -#undef APSTUDIO_READONLY_SYMBOLS - -///////////////////////////////////////////////////////////////////////////// -// Chinese (Taiwan) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_CHT) -#ifdef _WIN32 -LANGUAGE LANG_CHINESE, SUBLANG_CHINESE_TRADITIONAL -#pragma code_page(950) -#endif //_WIN32 - -#ifdef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// TEXTINCLUDE -// - -1 TEXTINCLUDE -BEGIN - "resource.h\0" -END - -2 TEXTINCLUDE -BEGIN - "#ifndef APSTUDIO_INVOKED\r\n" - "#include ""targetver.h""\r\n" - "#endif\r\n" - "#include ""afxres.h""\r\n" - "\0" -END - -3 TEXTINCLUDE -BEGIN - "#define _AFX_NO_SPLITTER_RESOURCES\r\n" - "#define _AFX_NO_OLE_RESOURCES\r\n" - "#define _AFX_NO_TRACKER_RESOURCES\r\n" - "#define _AFX_NO_PROPERTY_RESOURCES\r\n" - "\r\n" - "#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)\r\n" - "LANGUAGE 9, 1\r\n" - "#pragma code_page(1252)\r\n" - "#include ""res\\My9118Ptrg.rc2"" // non-Microsoft Visual C++ edited resources\r\n" - "#include ""afxres.rc"" // Standard components\r\n" - "#endif\r\n" - "\0" -END - -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// Icon -// - -// Icon with lowest ID value placed first to ensure application icon -// remains consistent on all systems. -IDR_MAINFRAME ICON "res\\9118Ptrg.ico" -#endif // Chinese (Taiwan) resources -///////////////////////////////////////////////////////////////////////////// - - -///////////////////////////////////////////////////////////////////////////// -// English (U.S.) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -#ifdef _WIN32 -LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US -#pragma code_page(1252) -#endif //_WIN32 - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog -// - -IDD_ABOUTBOX DIALOGEX 0, 0, 170, 62 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "About 9118Ptrg" -FONT 8, "MS Shell Dlg", 0, 0, 0x1 -BEGIN - ICON IDR_MAINFRAME,IDC_STATIC,14,14,21,20 - LTEXT "9118Ptrg, Version 1.0",IDC_STATIC,42,14,114,8,SS_NOPREFIX - LTEXT "Copyright (C) 2010",IDC_STATIC,42,26,114,8 - DEFPUSHBUTTON "OK",IDOK,113,41,50,14,WS_GROUP -END - -IDD_9118DMA_DIALOG DIALOGEX 0, 0, 365, 232 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU -EXSTYLE WS_EX_APPWINDOW -CAPTION "PCI-9118DG Double-Buffered DMA with Post Trigger (Single-End Signal)" -FONT 8, "MS Shell Dlg", 0, 0, 0x1 -BEGIN - GROUPBOX "",IDC_STATIC_DRAW,45,9,248,161,NOT WS_VISIBLE - LTEXT "Range : +/- 5V",IDC_STATIC,299,129,52,15 - LTEXT "Buffer Size",IDC_STATIC,106,183,42,9 - EDITTEXT IDC_EDIT_SAMPLE_RATE,29,196,39,14,ES_AUTOHSCROLL | ES_READONLY - LTEXT "Sample Rate :",IDC_STATIC,29,182,49,9 - LTEXT "KHz",IDC_STATIC,81,199,15,9 - SCROLLBAR IDC_SCROLLBAR_RATE,69,196,9,11,SBS_VERT - PUSHBUTTON "Start",IDC_BT_START,230,188,55,22 - CONTROL "0",IDC_RADIO_CH0,"Button",BS_AUTORADIOBUTTON | BS_LEFTTEXT,307,20,16,12 - CONTROL "1",IDC_RADIO_CH1,"Button",BS_AUTORADIOBUTTON | BS_LEFTTEXT,307,35,16,12 - CONTROL "2",IDC_RADIO_CH2,"Button",BS_AUTORADIOBUTTON | BS_LEFTTEXT,307,49,16,12 - CONTROL "3",IDC_RADIO_CH3,"Button",BS_AUTORADIOBUTTON | BS_LEFTTEXT,307,64,16,12 - CONTROL "4",IDC_RADIO_CH4,"Button",BS_AUTORADIOBUTTON | BS_LEFTTEXT,331,20,16,12 - CONTROL "5",IDC_RADIO_CH5,"Button",BS_AUTORADIOBUTTON | BS_LEFTTEXT,331,35,16,12 - CONTROL "6",IDC_RADIO_CH6,"Button",BS_AUTORADIOBUTTON | BS_LEFTTEXT,331,49,16,12 - CONTROL "7",IDC_RADIO_CH7,"Button",BS_AUTORADIOBUTTON | BS_LEFTTEXT,331,64,16,12 - EDITTEXT IDC_EDIT_BUF_SIZE,104,196,46,14,ES_AUTOHSCROLL - PUSHBUTTON "Stop",IDC_BT_STOP,291,188,55,22 - LTEXT "Post Count",IDC_STATIC_TRACE_CNT,163,182,42,9 - EDITTEXT IDC_EDIT_TRACE_CNT,161,196,46,14,ES_AUTOHSCROLL -END - -IDD_CARDID_DIALOG DIALOGEX 0, 0, 174, 108 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "Card ID" -FONT 8, "MS Shell Dlg", 400, 0, 0x1 -BEGIN - COMBOBOX IDC_COMBO_CARDID,75,24,71,126,CBS_DROPDOWN | WS_VSCROLL | WS_TABSTOP - LTEXT "Card Number",IDC_STATIC_01,21,25,46,12 - PUSHBUTTON "OK",IDOK,22,70,58,19 - PUSHBUTTON "CANCEL",IDCANCEL,86,70,58,19 -END - - -///////////////////////////////////////////////////////////////////////////// -// -// Version -// - -VS_VERSION_INFO VERSIONINFO - FILEVERSION 1,0,0,1 - PRODUCTVERSION 1,0,0,1 - FILEFLAGSMASK 0x3fL -#ifdef _DEBUG - FILEFLAGS 0x1L -#else - FILEFLAGS 0x0L -#endif - FILEOS 0x4L - FILETYPE 0x1L - FILESUBTYPE 0x0L -BEGIN - BLOCK "StringFileInfo" - BEGIN - BLOCK "040904e4" - BEGIN - VALUE "CompanyName", "TODO: " - VALUE "FileDescription", "TODO: " - VALUE "FileVersion", "1.0.0.1" - VALUE "InternalName", "9118Ptrg.exe" - VALUE "LegalCopyright", "TODO: (c) . All rights reserved." - VALUE "OriginalFilename", "9118Ptrg.exe" - VALUE "ProductName", "TODO: " - VALUE "ProductVersion", "1.0.0.1" - END - END - BLOCK "VarFileInfo" - BEGIN - VALUE "Translation", 0x409, 1252 - END -END - - -///////////////////////////////////////////////////////////////////////////// -// -// DESIGNINFO -// - -#ifdef APSTUDIO_INVOKED -GUIDELINES DESIGNINFO -BEGIN - IDD_ABOUTBOX, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 163 - TOPMARGIN, 7 - BOTTOMMARGIN, 55 - END - - IDD_CARDID_DIALOG, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 167 - TOPMARGIN, 7 - BOTTOMMARGIN, 101 - END -END -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog Info -// - -IDD_CARDID_DIALOG DLGINIT -BEGIN - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0030, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0031, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0032, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0033, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0034, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0035, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0036, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0037, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0038, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0039, - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3031, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3131, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3231, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3331, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3431, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3531, "\000" - 0 -END - - -///////////////////////////////////////////////////////////////////////////// -// -// Bitmap -// - -IDB_BITMAP_SET1 BITMAP "res\\ch_set1.bmp" -IDB_BITMAP_SET2 BITMAP "res\\ch_set2.bmp" - -///////////////////////////////////////////////////////////////////////////// -// -// String Table -// - -STRINGTABLE -BEGIN - IDS_ABOUTBOX "&About 9118Ptrg..." -END - -#endif // English (U.S.) resources -///////////////////////////////////////////////////////////////////////////// - - - -#ifndef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 3 resource. -// -#define _AFX_NO_SPLITTER_RESOURCES -#define _AFX_NO_OLE_RESOURCES -#define _AFX_NO_TRACKER_RESOURCES -#define _AFX_NO_PROPERTY_RESOURCES - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -LANGUAGE 9, 1 -#pragma code_page(1252) -#include "res\My9118Ptrg.rc2" // non-Microsoft Visual C++ edited resources -#include "afxres.rc" // Standard components -#endif - -///////////////////////////////////////////////////////////////////////////// -#endif // not APSTUDIO_INVOKED - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118DbfPostTrg/9118Ptrg.sln b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118DbfPostTrg/9118Ptrg.sln deleted file mode 100644 index 9da5f52..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118DbfPostTrg/9118Ptrg.sln +++ /dev/null @@ -1,20 +0,0 @@ - -Microsoft Visual Studio Solution File, Format Version 10.00 -# Visual Studio 2008 -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "9118Ptrg", "9118Ptrg.vcproj", "{702163FB-B6DF-4EF5-9491-FC54D71509BC}" -EndProject -Global - GlobalSection(SolutionConfigurationPlatforms) = preSolution - Debug|x64 = Debug|x64 - Release|x64 = Release|x64 - EndGlobalSection - GlobalSection(ProjectConfigurationPlatforms) = postSolution - {702163FB-B6DF-4EF5-9491-FC54D71509BC}.Debug|x64.ActiveCfg = Debug|x64 - {702163FB-B6DF-4EF5-9491-FC54D71509BC}.Debug|x64.Build.0 = Debug|x64 - {702163FB-B6DF-4EF5-9491-FC54D71509BC}.Release|x64.ActiveCfg = Release|x64 - {702163FB-B6DF-4EF5-9491-FC54D71509BC}.Release|x64.Build.0 = Release|x64 - EndGlobalSection - GlobalSection(SolutionProperties) = preSolution - HideSolutionNode = FALSE - EndGlobalSection -EndGlobal diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118DbfPostTrg/9118Ptrg.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118DbfPostTrg/9118Ptrg.suo deleted file mode 100644 index 03e7932..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118DbfPostTrg/9118Ptrg.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118DbfPostTrg/9118Ptrg.vcproj b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118DbfPostTrg/9118Ptrg.vcproj deleted file mode 100644 index dc72b78..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118DbfPostTrg/9118Ptrg.vcproj +++ /dev/null @@ -1,294 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118DbfPostTrg/9118PtrgDlg.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118DbfPostTrg/9118PtrgDlg.cpp deleted file mode 100644 index 4beaa16..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118DbfPostTrg/9118PtrgDlg.cpp +++ /dev/null @@ -1,668 +0,0 @@ - -// 9118PtrgDlg.cpp : implementation file -// - -#include "stdafx.h" -#include "9118Ptrg.h" -#include "9118PtrgDlg.h" - -#ifdef _DEBUG -#define new DEBUG_NEW -#endif - -CRect plotRect; - -// CAboutDlg dialog used for App About - -class CAboutDlg : public CDialog -{ -public: - CAboutDlg(); - -// Dialog Data - enum { IDD = IDD_ABOUTBOX }; - - protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - -// Implementation -protected: - DECLARE_MESSAGE_MAP() -}; - -CAboutDlg::CAboutDlg() : CDialog(CAboutDlg::IDD) -{ -} - -void CAboutDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); -} - -BEGIN_MESSAGE_MAP(CAboutDlg, CDialog) -END_MESSAGE_MAP() - - -// C9118PtrgDlg dialog - - - - -C9118PtrgDlg::C9118PtrgDlg(I16 hCard, CWnd* pParent /*=NULL*/) - : CDialog(C9118PtrgDlg::IDD, pParent) -{ - m_hIcon = AfxGetApp()->LoadIcon(IDR_MAINFRAME); - - n_PlotWidth = n_PlotHeight = -1; - OnBrush = OffBrush = NULL; - - min_val = 0x00; - max_val = 0xFFFF; - - m_fSampleRate = 10000.0; // 10KHz - - m_hCard = hCard; - - m_wScanChans = 0; - m_nTimer = -1; - m_hMem=NULL; - - m_wRange = AD_B_5_V; - m_dwReadCount = 1000; - m_wPostCount = 512; - m_wChannel = 0; - - m_wCardType = PCI_9118DG; - -} - -void C9118PtrgDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); -} - -BEGIN_MESSAGE_MAP(C9118PtrgDlg, CDialog) - ON_WM_SYSCOMMAND() - ON_WM_PAINT() - ON_WM_QUERYDRAGICON() - //}}AFX_MSG_MAP - ON_WM_DESTROY() - ON_WM_VSCROLL() - ON_BN_CLICKED(IDC_BT_START, &C9118PtrgDlg::OnStart) - ON_BN_CLICKED(IDC_RADIO_CH0, &C9118PtrgDlg::OnCh0) - ON_BN_CLICKED(IDC_RADIO_CH1, &C9118PtrgDlg::OnCh1) - ON_BN_CLICKED(IDC_RADIO_CH2, &C9118PtrgDlg::OnCh2) - ON_BN_CLICKED(IDC_RADIO_CH3, &C9118PtrgDlg::OnCh3) - ON_BN_CLICKED(IDC_RADIO_CH4, &C9118PtrgDlg::OnCh4) - ON_BN_CLICKED(IDC_RADIO_CH5, &C9118PtrgDlg::OnCh5) - ON_BN_CLICKED(IDC_RADIO_CH6, &C9118PtrgDlg::OnCh6) - ON_BN_CLICKED(IDC_RADIO_CH7, &C9118PtrgDlg::OnCh7) - ON_WM_TIMER() - ON_BN_CLICKED(IDC_BT_STOP, &C9118PtrgDlg::OnStop) -END_MESSAGE_MAP() - - -// C9118PtrgDlg message handlers - -BOOL C9118PtrgDlg::OnInitDialog() -{ - CDialog::OnInitDialog(); - - // Add "About..." menu item to system menu. - - // IDM_ABOUTBOX must be in the system command range. - ASSERT((IDM_ABOUTBOX & 0xFFF0) == IDM_ABOUTBOX); - ASSERT(IDM_ABOUTBOX < 0xF000); - - CMenu* pSysMenu = GetSystemMenu(FALSE); - if (pSysMenu != NULL) - { - BOOL bNameValid; - CString strAboutMenu; - bNameValid = strAboutMenu.LoadString(IDS_ABOUTBOX); - ASSERT(bNameValid); - if (!strAboutMenu.IsEmpty()) - { - pSysMenu->AppendMenu(MF_SEPARATOR); - pSysMenu->AppendMenu(MF_STRING, IDM_ABOUTBOX, strAboutMenu); - } - } - - // Set the icon for this dialog. The framework does this automatically - // when the application's main window is not a dialog - SetIcon(m_hIcon, TRUE); // Set big icon - SetIcon(m_hIcon, FALSE); // Set small icon - - // TODO: Add extra initialization here - x_divider = 5; y_divider = 4; - - OnBrush = CreateSolidBrush( RGB(255,0,0) ); - OffBrush = CreateSolidBrush( RGB(125,0,0) ); - - RedPen.CreatePen( PS_SOLID, 1, RGB(255,0,0)); - - - if( n_PlotWidth == -1 && n_PlotHeight == -1 ) - { - ((CWnd*)GetDlgItem(IDC_STATIC_DRAW))->GetWindowRect(&plotRect); - ScreenToClient(&plotRect); - - n_PlotWidth = min( plotRect.Width(), 512); - n_PlotHeight = plotRect.Height() - 10; - } - - // set the default SampleRate - SetDlgItemInt( IDC_EDIT_SAMPLE_RATE, (UINT)(m_fSampleRate/1000) ); - SetDlgItemInt( IDC_EDIT_BUF_SIZE, (UINT)(m_dwReadCount) ); - SetDlgItemInt( IDC_EDIT_TRACE_CNT, (UINT)(m_wPostCount) ); - ((CButton*)GetDlgItem( IDC_RADIO_CH0 ))->SetCheck( TRUE ); - - m_wChannel = 0; - - max_range = 5.0; - min_range = -5.0; - - return TRUE; // return TRUE unless you set the focus to a control -} - -void C9118PtrgDlg::OnSysCommand(UINT nID, LPARAM lParam) -{ - if ((nID & 0xFFF0) == IDM_ABOUTBOX) - { - CAboutDlg dlgAbout; - dlgAbout.DoModal(); - } - else - { - CDialog::OnSysCommand(nID, lParam); - } -} - -// If you add a minimize button to your dialog, you will need the code below -// to draw the icon. For MFC applications using the document/view model, -// this is automatically done for you by the framework. - -void C9118PtrgDlg::OnPaint() -{ - if (IsIconic()) - { - CPaintDC dc(this); // device context for painting - - SendMessage(WM_ICONERASEBKGND, reinterpret_cast(dc.GetSafeHdc()), 0); - - // Center icon in client rectangle - int cxIcon = GetSystemMetrics(SM_CXICON); - int cyIcon = GetSystemMetrics(SM_CYICON); - CRect rect; - GetClientRect(&rect); - int x = (rect.Width() - cxIcon + 1) / 2; - int y = (rect.Height() - cyIcon + 1) / 2; - - // Draw the icon - dc.DrawIcon(x, y, m_hIcon); - } - else - { - redraw_display_area(); - CDialog::OnPaint(); - } -} - -// The system calls this function to obtain the cursor to display while the user drags -// the minimized window. -HCURSOR C9118PtrgDlg::OnQueryDragIcon() -{ - return static_cast(m_hIcon); -} - - -void C9118PtrgDlg::redraw_display_area(void) -{ - CPen *oldPen; - - int oldMode; - COLORREF oldColor; - - CString y_lable; - - CPen minor_tick( PS_SOLID,1,RGB(132,130,132) ); -// CPen y_grid( PS_SOLID,1,RGB(206,203,132) ); - - int i, x_intv, y_intv; -// long total_sec; - - CClientDC dc_plot(this); - - // draw the base-line for x-y axises - oldPen = (CPen *)dc_plot.SelectStockObject(BLACK_PEN); - - // redraw the background - dc_plot.FillSolidRect( plotRect, RGB(0,0,0) ); - - // Re-Draw the AREA for Y-Lable - { - CBrush DIALOG_BRUSH; - CRect redraw_area, full_client; - - GetClientRect(&full_client); - ScreenToClient(&full_client); - - redraw_area.left = full_client.left; - redraw_area.top = plotRect.top - 5; - redraw_area.right = plotRect.left - 3; - redraw_area.bottom = plotRect.bottom + 10; - - DIALOG_BRUSH.CreateSysColorBrush( COLOR_3DFACE ); - - dc_plot.FillRect( redraw_area, &DIALOG_BRUSH ); - - DIALOG_BRUSH.DeleteObject(); - } - - dc_plot.MoveTo( plotRect.left - 3, plotRect.top ); - dc_plot.LineTo( plotRect.left - 3, plotRect.bottom ); - - // calculate the interval for tick/grid - y_intv = (plotRect.Height() - 10) /y_divider; - x_intv = plotRect.Width()/x_divider; - - - // set the color for tick - oldColor = dc_plot.SetTextColor( RGB(0,0,0) ); - oldMode = dc_plot.SetBkMode( TRANSPARENT ); - - for( i=0; i<= y_divider; i++ ) - { - CString tick_str; - CRect tmp_rect, tick_rect; - - // draw the tick for y-axis - dc_plot.MoveTo( plotRect.left -12, plotRect.bottom -5 - (i*y_intv) ); - dc_plot.LineTo( plotRect.left -3, plotRect.bottom -5 - (i*y_intv) ); - - tick_str.Format( _T("%.1f"), ( ((max_range-min_range)/y_divider) * i)+min_range ); - - // calculate the rectangle for text - dc_plot.DrawText( tick_str, &tmp_rect, DT_CALCRECT|DT_SINGLELINE ); - tick_rect.right = plotRect.left -14; - tick_rect.left = tick_rect.right - tmp_rect.Width(); - tick_rect.top = plotRect.bottom -5 - (i*y_intv) - tmp_rect.Height()/2; - tick_rect.bottom = tick_rect.top + tmp_rect.Height(); - - // draw the text - dc_plot.DrawText( tick_str, &tick_rect, DT_SINGLELINE|DT_RIGHT ); - - } - - // draw the minor_tick for Y axises - dc_plot.SelectObject(&minor_tick); - for( i=0; i< y_divider; i++ ) - { - dc_plot.MoveTo( plotRect.left -9, plotRect.bottom -5 - (i*y_intv) - y_intv/2 ); - dc_plot.LineTo( plotRect.left -4, plotRect.bottom -5 - (i*y_intv) - y_intv/2 ); - } - - dc_plot.SetTextColor( oldColor ); - dc_plot.SetBkMode( oldMode ); - dc_plot.SelectObject( oldPen ); -} - -void C9118PtrgDlg::OnDestroy() -{ - CDialog::OnDestroy(); - - // TODO: Add your message handler code here - if( m_nTimer != -1 ) - { - KillTimer( m_nTimer ); - m_nTimer = -1; - } - - if (m_hMem != NULL) - { - GlobalUnfix(m_hMem); - GlobalUnlock(m_hMem); - GlobalFree(m_hMem); - - m_hMem = NULL; - } - - if( OnBrush != NULL ) - ::DeleteObject( OnBrush ); - - if( OffBrush != NULL ) - ::DeleteObject( OffBrush ); - - RedPen.DeleteObject(); - -} - -void C9118PtrgDlg::OnVScroll(UINT nSBCode, UINT nPos, CScrollBar* pScrollBar) -{ - // TODO: Add your message handler code here and/or call default - switch ( nSBCode ) - { - case SB_LINEUP : - m_fSampleRate += 5000.0; - if (m_fSampleRate > 50000.0 ) m_fSampleRate = 50000.0; - break; - case SB_LINEDOWN: - m_fSampleRate -= 5000.0; - if (m_fSampleRate < 5000.0 ) m_fSampleRate = 5000.0; - break; - } - - SetDlgItemInt( IDC_EDIT_SAMPLE_RATE, (UINT)(m_fSampleRate/1000) ); - - CDialog::OnVScroll(nSBCode, nPos, pScrollBar); -} - - -void C9118PtrgDlg::OnStop() -{ - // TODO: Add your control notification handler code here - U32 count; - - AI_AsyncClear(m_hCard, &count); - - if( m_nTimer != -1 ) - { - KillTimer( m_nTimer ); - m_nTimer = -1; - } - - GetDlgItem( IDC_BT_START )->EnableWindow(TRUE); - - GetDlgItem( IDC_RADIO_CH0 )->EnableWindow(TRUE); - GetDlgItem( IDC_RADIO_CH1 )->EnableWindow(TRUE); - GetDlgItem( IDC_RADIO_CH2 )->EnableWindow(TRUE); - GetDlgItem( IDC_RADIO_CH3 )->EnableWindow(TRUE); - GetDlgItem( IDC_RADIO_CH4 )->EnableWindow(TRUE); - GetDlgItem( IDC_RADIO_CH5 )->EnableWindow(TRUE); - GetDlgItem( IDC_RADIO_CH6 )->EnableWindow(TRUE); - GetDlgItem( IDC_RADIO_CH7 )->EnableWindow(TRUE); -} - -void C9118PtrgDlg::OnStart() -{ - // TODO: Add your control notification handler code here - DWORD mem_size; - CString strTemp; - I16 err; - - GetDlgItem( IDC_BT_START )->EnableWindow(FALSE); - - GetDlgItem( IDC_RADIO_CH0 )->EnableWindow(FALSE); - GetDlgItem( IDC_RADIO_CH1 )->EnableWindow(FALSE); - GetDlgItem( IDC_RADIO_CH2 )->EnableWindow(FALSE); - GetDlgItem( IDC_RADIO_CH3 )->EnableWindow(FALSE); - GetDlgItem( IDC_RADIO_CH4 )->EnableWindow(FALSE); - GetDlgItem( IDC_RADIO_CH5 )->EnableWindow(FALSE); - GetDlgItem( IDC_RADIO_CH6 )->EnableWindow(FALSE); - GetDlgItem( IDC_RADIO_CH7 )->EnableWindow(FALSE); - - m_dwReadCount = GetDlgItemInt(IDC_EDIT_BUF_SIZE); - - m_wPostCount = GetDlgItemInt(IDC_EDIT_TRACE_CNT); - - if (m_hMem != NULL) - { - GlobalUnfix(m_hMem); - GlobalUnlock(m_hMem); - GlobalFree(m_hMem); - - m_hMem = NULL; - } - - // allocate a memory for user DMA buffer - mem_size = m_dwReadCount * sizeof(I16); - m_hMem = GlobalAlloc(GMEM_ZEROINIT, mem_size); - m_pAIBuf = (U16*) GlobalLock(m_hMem); - if (m_pAIBuf == NULL ) - { - AfxMessageBox( TEXT("Memory allocation failed"), MB_OK); - return; - } - - GlobalFix(m_hMem); - - err = AI_9118_Config(m_hCard, P9118_AI_BiPolar|P9118_AI_SingEnded, P9118_AI_DtrgPositive|P9118_AI_EtrgPositive|P9118_AI_AboutTrgEn, 0, 0x1); - if (err!=0) - { - strTemp.Format( TEXT("AI_9118_Config error=%d"), err); - AfxMessageBox( strTemp ); - } - - err=AI_AsyncDblBufferMode(m_hCard, 1); // single-buffer mode - if (err!=0) - { - strTemp.Format( TEXT("AI_DblBufferMode error=%d"), err); - AfxMessageBox( strTemp ); - } - - err=AI_ContReadChannel (m_hCard, m_wChannel, m_wRange, (U16*)m_pAIBuf, m_dwReadCount, (F64)m_fSampleRate, ASYNCH_OP); - if (err!=0) - { - strTemp.Format( TEXT("AI_ContReadChannel error=%d"), err); - AfxMessageBox( strTemp ); - } - - m_nTimer = SetTimer( 1, 20, NULL ); - -} - -int C9118PtrgDlg::display_buffer_data(U16* pBuf, U32 dwDataSize) -{ - CClientDC dc_plot(this); - int nDraw_Origin_Y; - int cur_channel; - - int newY = -1; - int newX = -1; - U32 dwReadCount = (m_dwReadCount/2); // for double-buffer operation - U32 index; - - - // redraw the background - dc_plot.FillSolidRect( plotRect, RGB(0,0,0) ); - - dc_plot.SelectObject(&RedPen); - nDraw_Origin_Y = ( plotRect.bottom - 5 ); // - n_PlotHeight/2; - - for( index=0; index> 16) ); // (n_PlotHeight/2) * ai_data/32768 ) --> ( n_PlotHeight * ai_data / 65536) ) --> (n_PlotHeight * ai_data) >> 16) - } - else // m_wCardType == PCI_9111HR - { - U16 ai_data; - - ai_data = (U16)(pBuf[index]) >> 4; - cur_channel = pBuf[index] & 0x0f; - newY = (int)( nDraw_Origin_Y - ((n_PlotHeight * ai_data) >> 12 ) ); // (n_PlotHeight/2) * ai_data/2048 ) --> (n_PlotHeight * ai_data / 4096 ) --> (n_PlotHeight * ai_data) >> 12 ) - } - - newX = (int)( index*n_PlotWidth/dwReadCount + plotRect.left ); - - if ( index == 0 ) - { - dc_plot.MoveTo( newX, newY ); - } - else - { - dc_plot.MoveTo( m_oldX, m_oldY ); - dc_plot.LineTo( newX, newY ); - } - - m_oldX = newX; - m_oldY = newY; - } - - return 0; -} - - -void C9118PtrgDlg::OnTimer(UINT_PTR nIDEvent) -{ - // TODO: Add your message handler code here and/or call default - BOOLEAN HalfReady; - BOOLEAN fstop; - U32 count; - - AI_AsyncDblBufferHalfReady(m_hCard, &HalfReady, &fstop); - - if( fstop == FALSE ) - { - if( HalfReady == TRUE ) // half-buffer is ready - { - AI_AsyncDblBufferTransfer(m_hCard, m_pAIBuf); - display_buffer_data( m_pAIBuf, m_dwReadCount/2 ); - } - } - else // AI operation stops - { - AI_AsyncDblBufferHalfReady(m_hCard, &HalfReady, &fstop); //Get the index of working buffer of Double Buffer - AI_AsyncClear(m_hCard, &count); - - if( (count > 0) && (count < (m_dwReadCount/2)) ) - { - AI_AsyncDblBufferTransfer(m_hCard, m_pAIBuf); - display_buffer_data( m_pAIBuf, count ); - } - - if( m_nTimer != -1 ) - { - KillTimer( m_nTimer ); - m_nTimer = -1; - } - - GetDlgItem( IDC_BT_START )->EnableWindow(TRUE); - - GetDlgItem( IDC_RADIO_CH0 )->EnableWindow(TRUE); - GetDlgItem( IDC_RADIO_CH1 )->EnableWindow(TRUE); - GetDlgItem( IDC_RADIO_CH2 )->EnableWindow(TRUE); - GetDlgItem( IDC_RADIO_CH3 )->EnableWindow(TRUE); - GetDlgItem( IDC_RADIO_CH4 )->EnableWindow(TRUE); - GetDlgItem( IDC_RADIO_CH5 )->EnableWindow(TRUE); - GetDlgItem( IDC_RADIO_CH6 )->EnableWindow(TRUE); - GetDlgItem( IDC_RADIO_CH7 )->EnableWindow(TRUE); - - } - - CDialog::OnTimer(nIDEvent); -} - -void C9118PtrgDlg::OnCh0() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_RADIO_CH0 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_wChannel = 0; - } - -} - -void C9118PtrgDlg::OnCh1() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_RADIO_CH1 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_wChannel = 1; - } -} - -void C9118PtrgDlg::OnCh2() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_RADIO_CH2 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_wChannel = 2; - } -} - -void C9118PtrgDlg::OnCh3() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_RADIO_CH3 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_wChannel = 3; - } -} - -void C9118PtrgDlg::OnCh4() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_RADIO_CH4 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_wChannel = 4; - } -} - -void C9118PtrgDlg::OnCh5() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_RADIO_CH5 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_wChannel = 5; - } -} - -void C9118PtrgDlg::OnCh6() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_RADIO_CH6 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_wChannel = 6; - } -} - -void C9118PtrgDlg::OnCh7() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_RADIO_CH7 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_wChannel = 7; - } -} - - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118DbfPostTrg/9118PtrgDlg.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118DbfPostTrg/9118PtrgDlg.h deleted file mode 100644 index cb4c91b..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118DbfPostTrg/9118PtrgDlg.h +++ /dev/null @@ -1,79 +0,0 @@ - -// 9118PtrgDlg.h : header file -#pragma once -#include "afxcmn.h" -#include "afxwin.h" - -#include "Dask64.h" - -#ifndef MAX_CHAN_9118 -#define MAX_CHAN_9118 16 -#endif - -// C9118PtrgDlg dialog -class C9118PtrgDlg : public CDialog -{ -// Construction -public: - C9118PtrgDlg(I16 hCard, CWnd* pParent = NULL); // standard constructor - -// Dialog Data - enum { IDD = IDD_9118DMA_DIALOG }; - - protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - - -// Implementation -protected: - HICON m_hIcon; - UINT_PTR m_nTimer; - I16 m_hCard; - U16 m_wCardType; - double m_fSampleRate; - U16 m_wScanChans; - HANDLE m_hMem; - U16 *m_pAIBuf; - U16 m_wRange; - int m_oldY; - int m_oldX; - U32 m_dwReadCount; - U16 m_wChannel; - U16 m_wPostCount; - - // Generated message map functions - virtual BOOL OnInitDialog(); - afx_msg void OnSysCommand(UINT nID, LPARAM lParam); - afx_msg void OnPaint(); - afx_msg HCURSOR OnQueryDragIcon(); - DECLARE_MESSAGE_MAP() - -public: - WORD max_val; - WORD min_val; - double max_range; - double min_range; - int n_PlotWidth; - int n_PlotHeight; - int y_divider; - int x_divider; - int m_DisplayScale; - HBRUSH OnBrush; - HBRUSH OffBrush; - CPen RedPen; - void redraw_display_area(void); - afx_msg void OnDestroy(); - afx_msg void OnVScroll(UINT nSBCode, UINT nPos, CScrollBar* pScrollBar); - afx_msg void OnStart(); - int display_buffer_data(U16* pBuf, U32 dwDataSize); - afx_msg void OnCh0(); - afx_msg void OnCh1(); - afx_msg void OnCh2(); - afx_msg void OnCh3(); - afx_msg void OnCh4(); - afx_msg void OnCh5(); - afx_msg void OnCh6(); - afx_msg void OnCh7(); - afx_msg void OnTimer(UINT_PTR nIDEvent); - afx_msg void OnStop(); -}; diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118DbfPostTrg/9118cdma.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118DbfPostTrg/9118cdma.suo deleted file mode 100644 index d5c8a50..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118DbfPostTrg/9118cdma.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118DbfPostTrg/CardIDDlg.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118DbfPostTrg/CardIDDlg.cpp deleted file mode 100644 index 124053c..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118DbfPostTrg/CardIDDlg.cpp +++ /dev/null @@ -1,66 +0,0 @@ -// CardIDDlg.cpp : implementation file -// -#include "stdafx.h" -#include "9118Ptrg.h" -#include "9118PtrgDlg.h" -#include "CardIDDlg.h" - -// CCardIDDlg dialog - -IMPLEMENT_DYNAMIC(CCardIDDlg, CDialog) - -CCardIDDlg::CCardIDDlg(int nCardIdx, CWnd* pParent /*=NULL*/) - : CDialog(CCardIDDlg::IDD, pParent) -{ - m_nCardIdx = nCardIdx; -} - -CCardIDDlg::~CCardIDDlg() -{ -} - -void CCardIDDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); - DDX_Control(pDX, IDC_COMBO_CARDID, m_cbCardID); -} - - -BEGIN_MESSAGE_MAP(CCardIDDlg, CDialog) -// ON_CBN_SELCHANGE(IDC_COMBO_CARDID, &CCardIDDlg::OnCbnSelchangeComboCardid) -ON_BN_CLICKED(IDOK, &CCardIDDlg::OnBnClickedOk) -//ON_WM_CTLCOLOR() -END_MESSAGE_MAP() - - -// CCardIDDlg message handlers - - -void CCardIDDlg::OnBnClickedOk() -{ - // TODO: Add your control notification handler code here - -// UpdateData(TRUE); - m_nCardIdx = m_cbCardID.GetCurSel(); - - OnOK(); -} - -BOOL CCardIDDlg::OnInitDialog() -{ - CDialog::OnInitDialog(); - - // TODO: Add extra initialization here - m_cbCardID.SetCurSel( m_nCardIdx ); - - return TRUE; // return TRUE unless you set the focus to a control - // EXCEPTION: OCX Property Pages should return FALSE -} - -// the function to get the selected CardID -int CCardIDDlg::GetCardID(void) -{ - return m_nCardIdx; -} - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118DbfPostTrg/CardIDDlg.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118DbfPostTrg/CardIDDlg.h deleted file mode 100644 index 9c02c58..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118DbfPostTrg/CardIDDlg.h +++ /dev/null @@ -1,32 +0,0 @@ -#pragma once -#include "afxwin.h" - -#include "Dask64.h" - -// CCardIDDlg dialog - -class CCardIDDlg : public CDialog -{ - DECLARE_DYNAMIC(CCardIDDlg) - -public: - CCardIDDlg(int nCardIdx, CWnd* pParent = NULL); // standard constructor - virtual ~CCardIDDlg(); - -// Dialog Data - enum { IDD = IDD_CARDID_DIALOG }; - -protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - - DECLARE_MESSAGE_MAP() -public: - virtual BOOL OnInitDialog(); - afx_msg void OnBnClickedOk(); - // the setting of CardID ComboBox - int m_nCardIdx; - // the control of CardID ComboBox - CComboBox m_cbCardID; - // the function to get the selected CardID - int GetCardID(void); -}; diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118DbfPostTrg/ReadMe.txt b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118DbfPostTrg/ReadMe.txt deleted file mode 100644 index 90f2356..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118DbfPostTrg/ReadMe.txt +++ /dev/null @@ -1,93 +0,0 @@ -================================================================================ - MICROSOFT FOUNDATION CLASS LIBRARY : 9118Ptrg Project Overview -=============================================================================== - -The application wizard has created this 9118Ptrg application for -you. This application not only demonstrates the basics of using the Microsoft -Foundation Classes but is also a starting point for writing your application. - -This file contains a summary of what you will find in each of the files that -make up your 9118Ptrg application. - -9118Ptrg.vcproj - This is the main project file for VC++ projects generated using an application wizard. - It contains information about the version of Visual C++ that generated the file, and - information about the platforms, configurations, and project features selected with the - application wizard. - -9118Ptrg.h - This is the main header file for the application. It includes other - project specific headers (including Resource.h) and declares the - C9118PtrgApp application class. - -9118Ptrg.cpp - This is the main application source file that contains the application - class C9118PtrgApp. - -9118Ptrg.rc - This is a listing of all of the Microsoft Windows resources that the - program uses. It includes the icons, bitmaps, and cursors that are stored - in the RES subdirectory. This file can be directly edited in Microsoft - Visual C++. Your project resources are in 1033. - -res\9118Ptrg.ico - This is an icon file, which is used as the application's icon. This - icon is included by the main resource file 9118Ptrg.rc. - -res\My9118Ptrg.rc2 - This file contains resources that are not edited by Microsoft - Visual C++. You should place all resources not editable by - the resource editor in this file. - - -///////////////////////////////////////////////////////////////////////////// - -The application wizard creates one dialog class: - -9118PtrgDlg.h, 9118PtrgDlg.cpp - the dialog - These files contain your C9118PtrgDlg class. This class defines - the behavior of your application's main dialog. The dialog's template is - in 9118Ptrg.rc, which can be edited in Microsoft Visual C++. - - -///////////////////////////////////////////////////////////////////////////// - -Other Features: - -ActiveX Controls - The application includes support to use ActiveX controls. - -///////////////////////////////////////////////////////////////////////////// - -Other standard files: - -StdAfx.h, StdAfx.cpp - These files are used to build a precompiled header (PCH) file - named 9118Ptrg.pch and a precompiled types file named StdAfx.obj. - -Resource.h - This is the standard header file, which defines new resource IDs. - Microsoft Visual C++ reads and updates this file. - -9118Ptrg.manifest - Application manifest files are used by Windows XP to describe an applications - dependency on specific versions of Side-by-Side assemblies. The loader uses this - information to load the appropriate assembly from the assembly cache or private - from the application. The Application manifest maybe included for redistribution - as an external .manifest file that is installed in the same folder as the application - executable or it may be included in the executable in the form of a resource. -///////////////////////////////////////////////////////////////////////////// - -Other notes: - -The application wizard uses "TODO:" to indicate parts of the source code you -should add to or customize. - -If your application uses MFC in a shared DLL, you will need -to redistribute the MFC DLLs. If your application is in a language -other than the operating system's locale, you will also have to -redistribute the corresponding localized resources MFC90XXX.DLL. -For more information on both of these topics, please see the section on -redistributing Visual C++ applications in MSDN documentation. - -///////////////////////////////////////////////////////////////////////////// diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118DbfPostTrg/res/9118Ptrg.ico b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118DbfPostTrg/res/9118Ptrg.ico deleted file mode 100644 index d56fbcd..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118DbfPostTrg/res/9118Ptrg.ico and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118DbfPostTrg/res/My9118Ptrg.rc2 b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118DbfPostTrg/res/My9118Ptrg.rc2 deleted file mode 100644 index 383cde2..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118DbfPostTrg/res/My9118Ptrg.rc2 +++ /dev/null @@ -1,13 +0,0 @@ -// -// My9111int.RC2 - resources Microsoft Visual C++ does not edit directly -// - -#ifdef APSTUDIO_INVOKED -#error this file is not editable by Microsoft Visual C++ -#endif //APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// Add manually edited resources here... - -///////////////////////////////////////////////////////////////////////////// diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118DbfPostTrg/res/ch_set1.bmp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118DbfPostTrg/res/ch_set1.bmp deleted file mode 100644 index f2374ed..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118DbfPostTrg/res/ch_set1.bmp and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118DbfPostTrg/res/ch_set2.bmp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118DbfPostTrg/res/ch_set2.bmp deleted file mode 100644 index 32d0915..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118DbfPostTrg/res/ch_set2.bmp and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118DbfPostTrg/resource.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118DbfPostTrg/resource.h deleted file mode 100644 index 538d26c..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118DbfPostTrg/resource.h +++ /dev/null @@ -1,42 +0,0 @@ -//{{NO_DEPENDENCIES}} -// Microsoft Visual C++ generated include file. -// Used by 9118Ptrg.rc -// -#define IDM_ABOUTBOX 0x0010 -#define IDD_ABOUTBOX 100 -#define IDS_ABOUTBOX 101 -#define IDD_9118DMA_DIALOG 102 -#define IDR_MAINFRAME 128 -#define IDD_CARDID_DIALOG 129 -#define IDB_BITMAP_SET1 131 -#define IDB_BITMAP_SET2 132 -#define IDC_STATIC_DRAW 1000 -#define IDC_COMBO_CARDID 1001 -#define IDC_BT_STOP 1002 -#define IDC_BT_START 1003 -#define IDC_EDIT_SAMPLE_RATE 1004 -#define IDC_SCROLLBAR_RATE 1005 -#define IDC_RADIO_CH0 1006 -#define IDC_RADIO_CH1 1007 -#define IDC_RADIO_CH2 1008 -#define IDC_RADIO_CH3 1009 -#define IDC_RADIO_CH4 1010 -#define IDC_RADIO_CH5 1011 -#define IDC_RADIO_CH6 1012 -#define IDC_RADIO_CH7 1013 -#define IDC_STATIC_01 1014 -#define IDC_EDIT_BUF_SIZE 1014 -#define IDC_STATIC_2 1015 -#define IDC_EDIT_TRACE_CNT 1018 -#define IDC_STATIC_TRACE_CNT 1019 - -// Next default values for new objects -// -#ifdef APSTUDIO_INVOKED -#ifndef APSTUDIO_READONLY_SYMBOLS -#define _APS_NEXT_RESOURCE_VALUE 134 -#define _APS_NEXT_COMMAND_VALUE 32771 -#define _APS_NEXT_CONTROL_VALUE 1016 -#define _APS_NEXT_SYMED_VALUE 101 -#endif -#endif diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118DbfPostTrg/stdafx.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118DbfPostTrg/stdafx.cpp deleted file mode 100644 index ef80626..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118DbfPostTrg/stdafx.cpp +++ /dev/null @@ -1,8 +0,0 @@ - -// stdafx.cpp : source file that includes just the standard includes -// 9111int.pch will be the pre-compiled header -// stdafx.obj will contain the pre-compiled type information - -#include "stdafx.h" - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118DbfPostTrg/stdafx.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118DbfPostTrg/stdafx.h deleted file mode 100644 index 12123e2..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118DbfPostTrg/stdafx.h +++ /dev/null @@ -1,60 +0,0 @@ - -// stdafx.h : include file for standard system include files, -// or project specific include files that are used frequently, -// but are changed infrequently - -#pragma once - -#ifndef _SECURE_ATL -#define _SECURE_ATL 1 -#endif - -#ifndef VC_EXTRALEAN -#define VC_EXTRALEAN // Exclude rarely-used stuff from Windows headers -#endif - -#include "targetver.h" - -#define _ATL_CSTRING_EXPLICIT_CONSTRUCTORS // some CString constructors will be explicit - -// turns off MFC's hiding of some common and often safely ignored warning messages -#define _AFX_ALL_WARNINGS - -#include // MFC core and standard components -#include // MFC extensions - - -#include // MFC Automation classes - - - -#ifndef _AFX_NO_OLE_SUPPORT -#include // MFC support for Internet Explorer 4 Common Controls -#endif -#ifndef _AFX_NO_AFXCMN_SUPPORT -#include // MFC support for Windows Common Controls -#endif // _AFX_NO_AFXCMN_SUPPORT - -#include // MFC support for ribbons and control bars - - - - - - - - - -#ifdef _UNICODE -#if defined _M_IX86 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='x86' publicKeyToken='6595b64144ccf1df' language='*'\"") -#elif defined _M_IA64 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='ia64' publicKeyToken='6595b64144ccf1df' language='*'\"") -#elif defined _M_X64 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='amd64' publicKeyToken='6595b64144ccf1df' language='*'\"") -#else -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='*' publicKeyToken='6595b64144ccf1df' language='*'\"") -#endif -#endif - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118DbfPostTrg/targetver.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118DbfPostTrg/targetver.h deleted file mode 100644 index 11730d5..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118DbfPostTrg/targetver.h +++ /dev/null @@ -1,26 +0,0 @@ - -#pragma once - -// The following macros define the minimum required platform. The minimum required platform -// is the earliest version of Windows, Internet Explorer etc. that has the necessary features to run -// your application. The macros work by enabling all features available on platform versions up to and -// including the version specified. - -// Modify the following defines if you have to target a platform prior to the ones specified below. -// Refer to MSDN for the latest info on corresponding values for different platforms. -#ifndef WINVER // Specifies that the minimum required platform is Windows Vista. -#define WINVER 0x0600 // Change this to the appropriate value to target other versions of Windows. -#endif - -#ifndef _WIN32_WINNT // Specifies that the minimum required platform is Windows Vista. -#define _WIN32_WINNT 0x0600 // Change this to the appropriate value to target other versions of Windows. -#endif - -#ifndef _WIN32_WINDOWS // Specifies that the minimum required platform is Windows 98. -#define _WIN32_WINDOWS 0x0410 // Change this to the appropriate value to target Windows Me or later. -#endif - -#ifndef _WIN32_IE // Specifies that the minimum required platform is Internet Explorer 7.0. -#define _WIN32_IE 0x0700 // Change this to the appropriate value to target other versions of IE. -#endif - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118DbfPreTrg/9111DbInt.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118DbfPreTrg/9111DbInt.suo deleted file mode 100644 index 3fde864..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118DbfPreTrg/9111DbInt.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118DbfPreTrg/9111PostTg.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118DbfPreTrg/9111PostTg.suo deleted file mode 100644 index c59a833..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118DbfPreTrg/9111PostTg.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118DbfPreTrg/9111int.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118DbfPreTrg/9111int.suo deleted file mode 100644 index aaca7d8..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118DbfPreTrg/9111int.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118DbfPreTrg/9118Atrg.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118DbfPreTrg/9118Atrg.suo deleted file mode 100644 index e40fe72..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118DbfPreTrg/9118Atrg.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118DbfPreTrg/9118Prtg.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118DbfPreTrg/9118Prtg.cpp deleted file mode 100644 index b0b80d9..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118DbfPreTrg/9118Prtg.cpp +++ /dev/null @@ -1,109 +0,0 @@ - -// 9118Prtg.cpp : Defines the class behaviors for the application. -// - -#include "stdafx.h" -#include "9118Prtg.h" -#include "9118PrtgDlg.h" -#include "CardIDDlg.h" - -#ifdef _DEBUG -#define new DEBUG_NEW -#endif - - -// C9118PrtgApp - -BEGIN_MESSAGE_MAP(C9118PrtgApp, CWinAppEx) - ON_COMMAND(ID_HELP, &CWinApp::OnHelp) -END_MESSAGE_MAP() - - -// C9118PrtgApp construction - -C9118PrtgApp::C9118PrtgApp() -{ - // TODO: add construction code here, - // Place all significant initialization in InitInstance -} - - -// The one and only C9118PrtgApp object - -C9118PrtgApp theApp; - - -// C9118PrtgApp initialization - -BOOL C9118PrtgApp::InitInstance() -{ - int nCardID = 0; - I16 hCard; - CString strTemp; - INT_PTR nResponse; - - // InitCommonControlsEx() is required on Windows XP if an application - // manifest specifies use of ComCtl32.dll version 6 or later to enable - // visual styles. Otherwise, any window creation will fail. - INITCOMMONCONTROLSEX InitCtrls; - InitCtrls.dwSize = sizeof(InitCtrls); - // Set this to include all the common control classes you want to use - // in your application. - InitCtrls.dwICC = ICC_WIN95_CLASSES; - InitCommonControlsEx(&InitCtrls); - - CWinAppEx::InitInstance(); - - AfxEnableControlContainer(); - - // Standard initialization - // If you are not using these features and wish to reduce the size - // of your final executable, you should remove from the following - // the specific initialization routines you do not need - // Change the registry key under which our settings are stored - // TODO: You should modify this string to be something appropriate - // such as the name of your company or organization - SetRegistryKey(_T("Local AppWizard-Generated Applications")); - - CCardIDDlg CardDlg( nCardID ); - - nResponse = CardDlg.DoModal(); - if (nResponse == IDOK) - { - nCardID = CardDlg.GetCardID(); - - if ((hCard=Register_Card(PCI_9118DG, nCardID)) < 0) - { - strTemp.Format( TEXT("Register_Card Error = %d"), hCard); - AfxMessageBox( strTemp ); - } - else - { - C9118PrtgDlg dlg(hCard); - m_pMainWnd = &dlg; - nResponse = dlg.DoModal(); - if (nResponse == IDOK) - { - // TODO: Place code here to handle when the dialog is - // dismissed with OK - } - else if (nResponse == IDCANCEL) - { - // TODO: Place code here to handle when the dialog is - // dismissed with Cancel - } - - if (hCard >= 0) Release_Card(hCard); - } - - } - else if (nResponse == IDCANCEL) - { - // TODO: Place code here to handle when the dialog is - // dismissed with Cancel - } - - // Since the dialog has been closed, return FALSE so that we exit the - // application, rather than start the application's message pump. - return FALSE; -} diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118DbfPreTrg/9118Prtg.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118DbfPreTrg/9118Prtg.h deleted file mode 100644 index 632bdef..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118DbfPreTrg/9118Prtg.h +++ /dev/null @@ -1,32 +0,0 @@ - -// 9118Prtg.h : main header file for the PROJECT_NAME application -// - -#pragma once - -#ifndef __AFXWIN_H__ - #error "include 'stdafx.h' before including this file for PCH" -#endif - -#include "resource.h" // main symbols - - -// C9118PrtgApp: -// See 9118Prtg.cpp for the implementation of this class -// - -class C9118PrtgApp : public CWinAppEx -{ -public: - C9118PrtgApp(); - -// Overrides - public: - virtual BOOL InitInstance(); - -// Implementation - - DECLARE_MESSAGE_MAP() -}; - -extern C9118PrtgApp theApp; \ No newline at end of file diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118DbfPreTrg/9118Prtg.rc b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118DbfPreTrg/9118Prtg.rc deleted file mode 100644 index d1835db..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118DbfPreTrg/9118Prtg.rc +++ /dev/null @@ -1,292 +0,0 @@ -// Microsoft Visual C++ generated resource script. -// -#include "resource.h" - -#define APSTUDIO_READONLY_SYMBOLS -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 2 resource. -// -#ifndef APSTUDIO_INVOKED -#include "targetver.h" -#endif -#include "afxres.h" - -///////////////////////////////////////////////////////////////////////////// -#undef APSTUDIO_READONLY_SYMBOLS - -///////////////////////////////////////////////////////////////////////////// -// Chinese (Taiwan) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_CHT) -#ifdef _WIN32 -LANGUAGE LANG_CHINESE, SUBLANG_CHINESE_TRADITIONAL -#pragma code_page(950) -#endif //_WIN32 - -#ifdef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// TEXTINCLUDE -// - -1 TEXTINCLUDE -BEGIN - "resource.h\0" -END - -2 TEXTINCLUDE -BEGIN - "#ifndef APSTUDIO_INVOKED\r\n" - "#include ""targetver.h""\r\n" - "#endif\r\n" - "#include ""afxres.h""\r\n" - "\0" -END - -3 TEXTINCLUDE -BEGIN - "#define _AFX_NO_SPLITTER_RESOURCES\r\n" - "#define _AFX_NO_OLE_RESOURCES\r\n" - "#define _AFX_NO_TRACKER_RESOURCES\r\n" - "#define _AFX_NO_PROPERTY_RESOURCES\r\n" - "\r\n" - "#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)\r\n" - "LANGUAGE 9, 1\r\n" - "#pragma code_page(1252)\r\n" - "#include ""res\\My9118Prtg.rc2"" // non-Microsoft Visual C++ edited resources\r\n" - "#include ""afxres.rc"" // Standard components\r\n" - "#endif\r\n" - "\0" -END - -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// Icon -// - -// Icon with lowest ID value placed first to ensure application icon -// remains consistent on all systems. -IDR_MAINFRAME ICON "res\\9118Prtg.ico" -#endif // Chinese (Taiwan) resources -///////////////////////////////////////////////////////////////////////////// - - -///////////////////////////////////////////////////////////////////////////// -// English (U.S.) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -#ifdef _WIN32 -LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US -#pragma code_page(1252) -#endif //_WIN32 - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog -// - -IDD_ABOUTBOX DIALOGEX 0, 0, 170, 62 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "About 9118Prtg" -FONT 8, "MS Shell Dlg", 0, 0, 0x1 -BEGIN - ICON IDR_MAINFRAME,IDC_STATIC,14,14,21,20 - LTEXT "9118Prtg, Version 1.0",IDC_STATIC,42,14,114,8,SS_NOPREFIX - LTEXT "Copyright (C) 2010",IDC_STATIC,42,26,114,8 - DEFPUSHBUTTON "OK",IDOK,113,41,50,14,WS_GROUP -END - -IDD_9118DMA_DIALOG DIALOGEX 0, 0, 365, 232 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU -EXSTYLE WS_EX_APPWINDOW -CAPTION "PCI-9118DG Double-Buffered DMA with Pre-Trigger (Single-End Signal)" -FONT 8, "MS Shell Dlg", 0, 0, 0x1 -BEGIN - GROUPBOX "",IDC_STATIC_DRAW,45,9,248,161,NOT WS_VISIBLE - LTEXT "Range : +/- 5V",IDC_STATIC,299,129,52,15 - LTEXT "Buffer Size",IDC_STATIC,106,183,42,9 - EDITTEXT IDC_EDIT_SAMPLE_RATE,29,196,39,14,ES_AUTOHSCROLL | ES_READONLY - LTEXT "Sample Rate :",IDC_STATIC,29,182,49,9 - LTEXT "KHz",IDC_STATIC,81,199,15,9 - SCROLLBAR IDC_SCROLLBAR_RATE,69,196,9,11,SBS_VERT - PUSHBUTTON "Start",IDC_BT_START,230,188,55,22 - CONTROL "0",IDC_RADIO_CH0,"Button",BS_AUTORADIOBUTTON | BS_LEFTTEXT,307,20,16,12 - CONTROL "1",IDC_RADIO_CH1,"Button",BS_AUTORADIOBUTTON | BS_LEFTTEXT,307,35,16,12 - CONTROL "2",IDC_RADIO_CH2,"Button",BS_AUTORADIOBUTTON | BS_LEFTTEXT,307,49,16,12 - CONTROL "3",IDC_RADIO_CH3,"Button",BS_AUTORADIOBUTTON | BS_LEFTTEXT,307,64,16,12 - CONTROL "4",IDC_RADIO_CH4,"Button",BS_AUTORADIOBUTTON | BS_LEFTTEXT,331,20,16,12 - CONTROL "5",IDC_RADIO_CH5,"Button",BS_AUTORADIOBUTTON | BS_LEFTTEXT,331,35,16,12 - CONTROL "6",IDC_RADIO_CH6,"Button",BS_AUTORADIOBUTTON | BS_LEFTTEXT,331,49,16,12 - CONTROL "7",IDC_RADIO_CH7,"Button",BS_AUTORADIOBUTTON | BS_LEFTTEXT,331,64,16,12 - EDITTEXT IDC_EDIT_BUF_SIZE,104,196,46,14,ES_AUTOHSCROLL - PUSHBUTTON "Stop",IDC_BT_STOP,291,188,55,22 -END - -IDD_CARDID_DIALOG DIALOGEX 0, 0, 174, 98 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "Card ID" -FONT 8, "MS Shell Dlg", 400, 0, 0x1 -BEGIN - COMBOBOX IDC_COMBO_CARDID,75,24,71,126,CBS_DROPDOWN | WS_VSCROLL | WS_TABSTOP - LTEXT "Card Number",IDC_STATIC_01,21,25,46,12 - PUSHBUTTON "OK",IDOK,22,59,58,19 - PUSHBUTTON "CANCEL",IDCANCEL,86,59,58,19 -END - - -///////////////////////////////////////////////////////////////////////////// -// -// Version -// - -VS_VERSION_INFO VERSIONINFO - FILEVERSION 1,0,0,1 - PRODUCTVERSION 1,0,0,1 - FILEFLAGSMASK 0x3fL -#ifdef _DEBUG - FILEFLAGS 0x1L -#else - FILEFLAGS 0x0L -#endif - FILEOS 0x4L - FILETYPE 0x1L - FILESUBTYPE 0x0L -BEGIN - BLOCK "StringFileInfo" - BEGIN - BLOCK "040904e4" - BEGIN - VALUE "CompanyName", "TODO: " - VALUE "FileDescription", "TODO: " - VALUE "FileVersion", "1.0.0.1" - VALUE "InternalName", "9118Prtg.exe" - VALUE "LegalCopyright", "TODO: (c) . All rights reserved." - VALUE "OriginalFilename", "9118Prtg.exe" - VALUE "ProductName", "TODO: " - VALUE "ProductVersion", "1.0.0.1" - END - END - BLOCK "VarFileInfo" - BEGIN - VALUE "Translation", 0x409, 1252 - END -END - - -///////////////////////////////////////////////////////////////////////////// -// -// DESIGNINFO -// - -#ifdef APSTUDIO_INVOKED -GUIDELINES DESIGNINFO -BEGIN - IDD_ABOUTBOX, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 163 - TOPMARGIN, 7 - BOTTOMMARGIN, 55 - END - - IDD_CARDID_DIALOG, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 167 - TOPMARGIN, 7 - BOTTOMMARGIN, 91 - END -END -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog Info -// - -IDD_CARDID_DIALOG DLGINIT -BEGIN - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0030, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0031, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0032, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0033, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0034, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0035, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0036, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0037, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0038, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0039, - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3031, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3131, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3231, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3331, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3431, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3531, "\000" - 0 -END - - -///////////////////////////////////////////////////////////////////////////// -// -// Bitmap -// - -IDB_BITMAP_SET1 BITMAP "res\\ch_set1.bmp" -IDB_BITMAP_SET2 BITMAP "res\\ch_set2.bmp" - -///////////////////////////////////////////////////////////////////////////// -// -// String Table -// - -STRINGTABLE -BEGIN - IDS_ABOUTBOX "&About 9118Prtg..." -END - -#endif // English (U.S.) resources -///////////////////////////////////////////////////////////////////////////// - - - -#ifndef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 3 resource. -// -#define _AFX_NO_SPLITTER_RESOURCES -#define _AFX_NO_OLE_RESOURCES -#define _AFX_NO_TRACKER_RESOURCES -#define _AFX_NO_PROPERTY_RESOURCES - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -LANGUAGE 9, 1 -#pragma code_page(1252) -#include "res\My9118Prtg.rc2" // non-Microsoft Visual C++ edited resources -#include "afxres.rc" // Standard components -#endif - -///////////////////////////////////////////////////////////////////////////// -#endif // not APSTUDIO_INVOKED - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118DbfPreTrg/9118Prtg.sln b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118DbfPreTrg/9118Prtg.sln deleted file mode 100644 index faf24aa..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118DbfPreTrg/9118Prtg.sln +++ /dev/null @@ -1,20 +0,0 @@ - -Microsoft Visual Studio Solution File, Format Version 10.00 -# Visual Studio 2008 -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "9118Prtg", "9118Prtg.vcproj", "{702163FB-B6DF-4EF5-9491-FC54D71509BC}" -EndProject -Global - GlobalSection(SolutionConfigurationPlatforms) = preSolution - Debug|x64 = Debug|x64 - Release|x64 = Release|x64 - EndGlobalSection - GlobalSection(ProjectConfigurationPlatforms) = postSolution - {702163FB-B6DF-4EF5-9491-FC54D71509BC}.Debug|x64.ActiveCfg = Debug|x64 - {702163FB-B6DF-4EF5-9491-FC54D71509BC}.Debug|x64.Build.0 = Debug|x64 - {702163FB-B6DF-4EF5-9491-FC54D71509BC}.Release|x64.ActiveCfg = Release|x64 - {702163FB-B6DF-4EF5-9491-FC54D71509BC}.Release|x64.Build.0 = Release|x64 - EndGlobalSection - GlobalSection(SolutionProperties) = preSolution - HideSolutionNode = FALSE - EndGlobalSection -EndGlobal diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118DbfPreTrg/9118Prtg.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118DbfPreTrg/9118Prtg.suo deleted file mode 100644 index d6f3d89..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118DbfPreTrg/9118Prtg.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118DbfPreTrg/9118Prtg.vcproj b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118DbfPreTrg/9118Prtg.vcproj deleted file mode 100644 index 16f00cc..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118DbfPreTrg/9118Prtg.vcproj +++ /dev/null @@ -1,294 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118DbfPreTrg/9118PrtgDlg.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118DbfPreTrg/9118PrtgDlg.cpp deleted file mode 100644 index f52b0ad..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118DbfPreTrg/9118PrtgDlg.cpp +++ /dev/null @@ -1,665 +0,0 @@ - -// 9118PrtgDlg.cpp : implementation file -// - -#include "stdafx.h" -#include "9118Prtg.h" -#include "9118PrtgDlg.h" - -#ifdef _DEBUG -#define new DEBUG_NEW -#endif - -CRect plotRect; - -// CAboutDlg dialog used for App About - -class CAboutDlg : public CDialog -{ -public: - CAboutDlg(); - -// Dialog Data - enum { IDD = IDD_ABOUTBOX }; - - protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - -// Implementation -protected: - DECLARE_MESSAGE_MAP() -}; - -CAboutDlg::CAboutDlg() : CDialog(CAboutDlg::IDD) -{ -} - -void CAboutDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); -} - -BEGIN_MESSAGE_MAP(CAboutDlg, CDialog) -END_MESSAGE_MAP() - - -// C9118PrtgDlg dialog - - - - -C9118PrtgDlg::C9118PrtgDlg(I16 hCard, CWnd* pParent /*=NULL*/) - : CDialog(C9118PrtgDlg::IDD, pParent) -{ - m_hIcon = AfxGetApp()->LoadIcon(IDR_MAINFRAME); - - n_PlotWidth = n_PlotHeight = -1; - OnBrush = OffBrush = NULL; - - min_val = 0x00; - max_val = 0xFFFF; - - m_fSampleRate = 10000.0; // 10KHz - - m_hCard = hCard; - - m_wScanChans = 0; - m_nTimer = -1; - m_hMem=NULL; - - m_wRange = AD_B_5_V; - m_dwReadCount = 1024; - m_wPostCount = 1024; - m_wChannel = 0; - - m_wCardType = PCI_9118DG; - -} - -void C9118PrtgDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); -} - -BEGIN_MESSAGE_MAP(C9118PrtgDlg, CDialog) - ON_WM_SYSCOMMAND() - ON_WM_PAINT() - ON_WM_QUERYDRAGICON() - //}}AFX_MSG_MAP - ON_WM_DESTROY() - ON_WM_VSCROLL() - ON_BN_CLICKED(IDC_BT_START, &C9118PrtgDlg::OnStart) - ON_BN_CLICKED(IDC_RADIO_CH0, &C9118PrtgDlg::OnCh0) - ON_BN_CLICKED(IDC_RADIO_CH1, &C9118PrtgDlg::OnCh1) - ON_BN_CLICKED(IDC_RADIO_CH2, &C9118PrtgDlg::OnCh2) - ON_BN_CLICKED(IDC_RADIO_CH3, &C9118PrtgDlg::OnCh3) - ON_BN_CLICKED(IDC_RADIO_CH4, &C9118PrtgDlg::OnCh4) - ON_BN_CLICKED(IDC_RADIO_CH5, &C9118PrtgDlg::OnCh5) - ON_BN_CLICKED(IDC_RADIO_CH6, &C9118PrtgDlg::OnCh6) - ON_BN_CLICKED(IDC_RADIO_CH7, &C9118PrtgDlg::OnCh7) - ON_WM_TIMER() - ON_BN_CLICKED(IDC_BT_STOP, &C9118PrtgDlg::OnStop) -END_MESSAGE_MAP() - - -// C9118PrtgDlg message handlers - -BOOL C9118PrtgDlg::OnInitDialog() -{ - CDialog::OnInitDialog(); - - // Add "About..." menu item to system menu. - - // IDM_ABOUTBOX must be in the system command range. - ASSERT((IDM_ABOUTBOX & 0xFFF0) == IDM_ABOUTBOX); - ASSERT(IDM_ABOUTBOX < 0xF000); - - CMenu* pSysMenu = GetSystemMenu(FALSE); - if (pSysMenu != NULL) - { - BOOL bNameValid; - CString strAboutMenu; - bNameValid = strAboutMenu.LoadString(IDS_ABOUTBOX); - ASSERT(bNameValid); - if (!strAboutMenu.IsEmpty()) - { - pSysMenu->AppendMenu(MF_SEPARATOR); - pSysMenu->AppendMenu(MF_STRING, IDM_ABOUTBOX, strAboutMenu); - } - } - - // Set the icon for this dialog. The framework does this automatically - // when the application's main window is not a dialog - SetIcon(m_hIcon, TRUE); // Set big icon - SetIcon(m_hIcon, FALSE); // Set small icon - - // TODO: Add extra initialization here - x_divider = 5; y_divider = 4; - - OnBrush = CreateSolidBrush( RGB(255,0,0) ); - OffBrush = CreateSolidBrush( RGB(125,0,0) ); - - RedPen.CreatePen( PS_SOLID, 1, RGB(255,0,0)); - - - if( n_PlotWidth == -1 && n_PlotHeight == -1 ) - { - ((CWnd*)GetDlgItem(IDC_STATIC_DRAW))->GetWindowRect(&plotRect); - ScreenToClient(&plotRect); - - n_PlotWidth = min( plotRect.Width(), 512); - n_PlotHeight = plotRect.Height() - 10; - } - - // set the default SampleRate - SetDlgItemInt( IDC_EDIT_SAMPLE_RATE, (UINT)(m_fSampleRate/1000) ); - SetDlgItemInt( IDC_EDIT_BUF_SIZE, (UINT)(m_dwReadCount) ); - ((CButton*)GetDlgItem( IDC_RADIO_CH0 ))->SetCheck( TRUE ); - - m_wChannel = 0; - - max_range = 5.0; - min_range = -5.0; - - return TRUE; // return TRUE unless you set the focus to a control -} - -void C9118PrtgDlg::OnSysCommand(UINT nID, LPARAM lParam) -{ - if ((nID & 0xFFF0) == IDM_ABOUTBOX) - { - CAboutDlg dlgAbout; - dlgAbout.DoModal(); - } - else - { - CDialog::OnSysCommand(nID, lParam); - } -} - -// If you add a minimize button to your dialog, you will need the code below -// to draw the icon. For MFC applications using the document/view model, -// this is automatically done for you by the framework. - -void C9118PrtgDlg::OnPaint() -{ - if (IsIconic()) - { - CPaintDC dc(this); // device context for painting - - SendMessage(WM_ICONERASEBKGND, reinterpret_cast(dc.GetSafeHdc()), 0); - - // Center icon in client rectangle - int cxIcon = GetSystemMetrics(SM_CXICON); - int cyIcon = GetSystemMetrics(SM_CYICON); - CRect rect; - GetClientRect(&rect); - int x = (rect.Width() - cxIcon + 1) / 2; - int y = (rect.Height() - cyIcon + 1) / 2; - - // Draw the icon - dc.DrawIcon(x, y, m_hIcon); - } - else - { - redraw_display_area(); - CDialog::OnPaint(); - } -} - -// The system calls this function to obtain the cursor to display while the user drags -// the minimized window. -HCURSOR C9118PrtgDlg::OnQueryDragIcon() -{ - return static_cast(m_hIcon); -} - - -void C9118PrtgDlg::redraw_display_area(void) -{ - CPen *oldPen; - - int oldMode; - COLORREF oldColor; - - CString y_lable; - - CPen minor_tick( PS_SOLID,1,RGB(132,130,132) ); -// CPen y_grid( PS_SOLID,1,RGB(206,203,132) ); - - int i, x_intv, y_intv; -// long total_sec; - - CClientDC dc_plot(this); - - // draw the base-line for x-y axises - oldPen = (CPen *)dc_plot.SelectStockObject(BLACK_PEN); - - // redraw the background - dc_plot.FillSolidRect( plotRect, RGB(0,0,0) ); - - // Re-Draw the AREA for Y-Lable - { - CBrush DIALOG_BRUSH; - CRect redraw_area, full_client; - - GetClientRect(&full_client); - ScreenToClient(&full_client); - - redraw_area.left = full_client.left; - redraw_area.top = plotRect.top - 5; - redraw_area.right = plotRect.left - 3; - redraw_area.bottom = plotRect.bottom + 10; - - DIALOG_BRUSH.CreateSysColorBrush( COLOR_3DFACE ); - - dc_plot.FillRect( redraw_area, &DIALOG_BRUSH ); - - DIALOG_BRUSH.DeleteObject(); - } - - dc_plot.MoveTo( plotRect.left - 3, plotRect.top ); - dc_plot.LineTo( plotRect.left - 3, plotRect.bottom ); - - // calculate the interval for tick/grid - y_intv = (plotRect.Height() - 10) /y_divider; - x_intv = plotRect.Width()/x_divider; - - - // set the color for tick - oldColor = dc_plot.SetTextColor( RGB(0,0,0) ); - oldMode = dc_plot.SetBkMode( TRANSPARENT ); - - for( i=0; i<= y_divider; i++ ) - { - CString tick_str; - CRect tmp_rect, tick_rect; - - // draw the tick for y-axis - dc_plot.MoveTo( plotRect.left -12, plotRect.bottom -5 - (i*y_intv) ); - dc_plot.LineTo( plotRect.left -3, plotRect.bottom -5 - (i*y_intv) ); - - tick_str.Format( _T("%.1f"), ( ((max_range-min_range)/y_divider) * i)+min_range ); - - // calculate the rectangle for text - dc_plot.DrawText( tick_str, &tmp_rect, DT_CALCRECT|DT_SINGLELINE ); - tick_rect.right = plotRect.left -14; - tick_rect.left = tick_rect.right - tmp_rect.Width(); - tick_rect.top = plotRect.bottom -5 - (i*y_intv) - tmp_rect.Height()/2; - tick_rect.bottom = tick_rect.top + tmp_rect.Height(); - - // draw the text - dc_plot.DrawText( tick_str, &tick_rect, DT_SINGLELINE|DT_RIGHT ); - - } - - // draw the minor_tick for Y axises - dc_plot.SelectObject(&minor_tick); - for( i=0; i< y_divider; i++ ) - { - dc_plot.MoveTo( plotRect.left -9, plotRect.bottom -5 - (i*y_intv) - y_intv/2 ); - dc_plot.LineTo( plotRect.left -4, plotRect.bottom -5 - (i*y_intv) - y_intv/2 ); - } - - dc_plot.SetTextColor( oldColor ); - dc_plot.SetBkMode( oldMode ); - dc_plot.SelectObject( oldPen ); -} - -void C9118PrtgDlg::OnDestroy() -{ - CDialog::OnDestroy(); - - // TODO: Add your message handler code here - if( m_nTimer != -1 ) - { - KillTimer( m_nTimer ); - m_nTimer = -1; - } - - if (m_hMem != NULL) - { - GlobalUnfix(m_hMem); - GlobalUnlock(m_hMem); - GlobalFree(m_hMem); - - m_hMem = NULL; - } - - if( OnBrush != NULL ) - ::DeleteObject( OnBrush ); - - if( OffBrush != NULL ) - ::DeleteObject( OffBrush ); - - RedPen.DeleteObject(); - -} - -void C9118PrtgDlg::OnVScroll(UINT nSBCode, UINT nPos, CScrollBar* pScrollBar) -{ - // TODO: Add your message handler code here and/or call default - switch ( nSBCode ) - { - case SB_LINEUP : - m_fSampleRate += 5000.0; - if (m_fSampleRate > 50000.0 ) m_fSampleRate = 50000.0; - break; - case SB_LINEDOWN: - m_fSampleRate -= 5000.0; - if (m_fSampleRate < 5000.0 ) m_fSampleRate = 5000.0; - break; - } - - SetDlgItemInt( IDC_EDIT_SAMPLE_RATE, (UINT)(m_fSampleRate/1000) ); - - CDialog::OnVScroll(nSBCode, nPos, pScrollBar); -} - - -void C9118PrtgDlg::OnStop() -{ - // TODO: Add your control notification handler code here - U32 count; - - AI_AsyncClear(m_hCard, &count); - - if( m_nTimer != -1 ) - { - KillTimer( m_nTimer ); - m_nTimer = -1; - } - - GetDlgItem( IDC_BT_START )->EnableWindow(TRUE); - - GetDlgItem( IDC_RADIO_CH0 )->EnableWindow(TRUE); - GetDlgItem( IDC_RADIO_CH1 )->EnableWindow(TRUE); - GetDlgItem( IDC_RADIO_CH2 )->EnableWindow(TRUE); - GetDlgItem( IDC_RADIO_CH3 )->EnableWindow(TRUE); - GetDlgItem( IDC_RADIO_CH4 )->EnableWindow(TRUE); - GetDlgItem( IDC_RADIO_CH5 )->EnableWindow(TRUE); - GetDlgItem( IDC_RADIO_CH6 )->EnableWindow(TRUE); - GetDlgItem( IDC_RADIO_CH7 )->EnableWindow(TRUE); -} - -void C9118PrtgDlg::OnStart() -{ - // TODO: Add your control notification handler code here - DWORD mem_size; - CString strTemp; - I16 err; - - GetDlgItem( IDC_BT_START )->EnableWindow(FALSE); - - GetDlgItem( IDC_RADIO_CH0 )->EnableWindow(FALSE); - GetDlgItem( IDC_RADIO_CH1 )->EnableWindow(FALSE); - GetDlgItem( IDC_RADIO_CH2 )->EnableWindow(FALSE); - GetDlgItem( IDC_RADIO_CH3 )->EnableWindow(FALSE); - GetDlgItem( IDC_RADIO_CH4 )->EnableWindow(FALSE); - GetDlgItem( IDC_RADIO_CH5 )->EnableWindow(FALSE); - GetDlgItem( IDC_RADIO_CH6 )->EnableWindow(FALSE); - GetDlgItem( IDC_RADIO_CH7 )->EnableWindow(FALSE); - - m_dwReadCount = GetDlgItemInt(IDC_EDIT_BUF_SIZE); - - if (m_hMem != NULL) - { - GlobalUnfix(m_hMem); - GlobalUnlock(m_hMem); - GlobalFree(m_hMem); - - m_hMem = NULL; - } - - // allocate a memory for user DMA buffer - mem_size = m_dwReadCount * sizeof(I16); - m_hMem = GlobalAlloc(GMEM_ZEROINIT, mem_size); - m_pAIBuf = (U16*) GlobalLock(m_hMem); - if (m_pAIBuf == NULL ) - { - AfxMessageBox( TEXT("Memory allocation failed"), MB_OK); - return; - } - - GlobalFix(m_hMem); - - err = AI_9118_Config(m_hCard, P9118_AI_BiPolar|P9118_AI_SingEnded, P9118_AI_DtrgPositive|P9118_AI_EtrgPositive|P9118_AI_AboutTrgEn, 0, 0x1); - if (err!=0) - { - strTemp.Format( TEXT("AI_9118_Config error=%d"), err); - AfxMessageBox( strTemp ); - } - - err=AI_AsyncDblBufferMode(m_hCard, 1); // single-buffer mode - if (err!=0) - { - strTemp.Format( TEXT("AI_DblBufferMode error=%d"), err); - AfxMessageBox( strTemp ); - } - - err=AI_ContReadChannel (m_hCard, m_wChannel, m_wRange, (U16*)m_pAIBuf, m_dwReadCount, (F64)m_fSampleRate, ASYNCH_OP); - if (err!=0) - { - strTemp.Format( TEXT("AI_ContReadChannel error=%d"), err); - AfxMessageBox( strTemp ); - } - - m_nTimer = SetTimer( 1, 20, NULL ); - -} - -int C9118PrtgDlg::display_buffer_data(U16* pBuf, U32 dwDataSize) -{ - CClientDC dc_plot(this); - int nDraw_Origin_Y; - int cur_channel; - - int newY = -1; - int newX = -1; - U32 dwReadCount = (m_dwReadCount/2); // for double-buffer operation - U32 index; - - - // redraw the background - dc_plot.FillSolidRect( plotRect, RGB(0,0,0) ); - - dc_plot.SelectObject(&RedPen); - nDraw_Origin_Y = ( plotRect.bottom - 5 ); // - n_PlotHeight/2; - - for( index=0; index> 16) ); // (n_PlotHeight/2) * ai_data/32768 ) --> ( n_PlotHeight * ai_data / 65536) ) --> (n_PlotHeight * ai_data) >> 16) - } - else // m_wCardType == PCI_9111HR - { - U16 ai_data; - - ai_data = (U16)(pBuf[index]) >> 4; - cur_channel = pBuf[index] & 0x0f; - newY = (int)( nDraw_Origin_Y - ((n_PlotHeight * ai_data) >> 12 ) ); // (n_PlotHeight/2) * ai_data/2048 ) --> (n_PlotHeight * ai_data / 4096 ) --> (n_PlotHeight * ai_data) >> 12 ) - } - - newX = (int)( index*n_PlotWidth/dwReadCount + plotRect.left ); - - if ( index == 0 ) - { - dc_plot.MoveTo( newX, newY ); - } - else - { - dc_plot.MoveTo( m_oldX, m_oldY ); - dc_plot.LineTo( newX, newY ); - } - - m_oldX = newX; - m_oldY = newY; - } - - return 0; -} - - -void C9118PrtgDlg::OnTimer(UINT_PTR nIDEvent) -{ - // TODO: Add your message handler code here and/or call default - BOOLEAN HalfReady; - BOOLEAN fstop; - U32 count; - - AI_AsyncDblBufferHalfReady(m_hCard, &HalfReady, &fstop); - - if( fstop == FALSE ) - { - if( HalfReady == TRUE ) // half-buffer is ready - { - AI_AsyncDblBufferTransfer(m_hCard, m_pAIBuf); - display_buffer_data( m_pAIBuf, m_dwReadCount/2 ); - } - } - else // AI operation stops - { - AI_AsyncDblBufferHalfReady(m_hCard, &HalfReady, &fstop); //Get the index of working buffer of Double Buffer - AI_AsyncClear(m_hCard, &count); - - if( (count > 0) && (count < (m_dwReadCount/2)) ) - { - AI_AsyncDblBufferTransfer(m_hCard, m_pAIBuf); - display_buffer_data( m_pAIBuf, count ); - } - - if( m_nTimer != -1 ) - { - KillTimer( m_nTimer ); - m_nTimer = -1; - } - - GetDlgItem( IDC_BT_START )->EnableWindow(TRUE); - - GetDlgItem( IDC_RADIO_CH0 )->EnableWindow(TRUE); - GetDlgItem( IDC_RADIO_CH1 )->EnableWindow(TRUE); - GetDlgItem( IDC_RADIO_CH2 )->EnableWindow(TRUE); - GetDlgItem( IDC_RADIO_CH3 )->EnableWindow(TRUE); - GetDlgItem( IDC_RADIO_CH4 )->EnableWindow(TRUE); - GetDlgItem( IDC_RADIO_CH5 )->EnableWindow(TRUE); - GetDlgItem( IDC_RADIO_CH6 )->EnableWindow(TRUE); - GetDlgItem( IDC_RADIO_CH7 )->EnableWindow(TRUE); - - } - - CDialog::OnTimer(nIDEvent); -} - -void C9118PrtgDlg::OnCh0() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_RADIO_CH0 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_wChannel = 0; - } - -} - -void C9118PrtgDlg::OnCh1() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_RADIO_CH1 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_wChannel = 1; - } -} - -void C9118PrtgDlg::OnCh2() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_RADIO_CH2 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_wChannel = 2; - } -} - -void C9118PrtgDlg::OnCh3() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_RADIO_CH3 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_wChannel = 3; - } -} - -void C9118PrtgDlg::OnCh4() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_RADIO_CH4 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_wChannel = 4; - } -} - -void C9118PrtgDlg::OnCh5() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_RADIO_CH5 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_wChannel = 5; - } -} - -void C9118PrtgDlg::OnCh6() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_RADIO_CH6 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_wChannel = 6; - } -} - -void C9118PrtgDlg::OnCh7() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_RADIO_CH7 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_wChannel = 7; - } -} - - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118DbfPreTrg/9118PrtgDlg.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118DbfPreTrg/9118PrtgDlg.h deleted file mode 100644 index aa15291..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118DbfPreTrg/9118PrtgDlg.h +++ /dev/null @@ -1,79 +0,0 @@ - -// 9118PrtgDlg.h : header file -#pragma once -#include "afxcmn.h" -#include "afxwin.h" - -#include "Dask64.h" - -#ifndef MAX_CHAN_9118 -#define MAX_CHAN_9118 16 -#endif - -// C9118PrtgDlg dialog -class C9118PrtgDlg : public CDialog -{ -// Construction -public: - C9118PrtgDlg(I16 hCard, CWnd* pParent = NULL); // standard constructor - -// Dialog Data - enum { IDD = IDD_9118DMA_DIALOG }; - - protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - - -// Implementation -protected: - HICON m_hIcon; - UINT_PTR m_nTimer; - I16 m_hCard; - U16 m_wCardType; - double m_fSampleRate; - U16 m_wScanChans; - HANDLE m_hMem; - U16 *m_pAIBuf; - U16 m_wRange; - int m_oldY; - int m_oldX; - U32 m_dwReadCount; - U16 m_wChannel; - U16 m_wPostCount; - - // Generated message map functions - virtual BOOL OnInitDialog(); - afx_msg void OnSysCommand(UINT nID, LPARAM lParam); - afx_msg void OnPaint(); - afx_msg HCURSOR OnQueryDragIcon(); - DECLARE_MESSAGE_MAP() - -public: - WORD max_val; - WORD min_val; - double max_range; - double min_range; - int n_PlotWidth; - int n_PlotHeight; - int y_divider; - int x_divider; - int m_DisplayScale; - HBRUSH OnBrush; - HBRUSH OffBrush; - CPen RedPen; - void redraw_display_area(void); - afx_msg void OnDestroy(); - afx_msg void OnVScroll(UINT nSBCode, UINT nPos, CScrollBar* pScrollBar); - afx_msg void OnStart(); - int display_buffer_data(U16* pBuf, U32 dwDataSize); - afx_msg void OnCh0(); - afx_msg void OnCh1(); - afx_msg void OnCh2(); - afx_msg void OnCh3(); - afx_msg void OnCh4(); - afx_msg void OnCh5(); - afx_msg void OnCh6(); - afx_msg void OnCh7(); - afx_msg void OnTimer(UINT_PTR nIDEvent); - afx_msg void OnStop(); -}; diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118DbfPreTrg/9118cdma.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118DbfPreTrg/9118cdma.suo deleted file mode 100644 index d5c8a50..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118DbfPreTrg/9118cdma.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118DbfPreTrg/CardIDDlg.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118DbfPreTrg/CardIDDlg.cpp deleted file mode 100644 index a8d3498..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118DbfPreTrg/CardIDDlg.cpp +++ /dev/null @@ -1,66 +0,0 @@ -// CardIDDlg.cpp : implementation file -// -#include "stdafx.h" -#include "9118Prtg.h" -#include "9118PrtgDlg.h" -#include "CardIDDlg.h" - -// CCardIDDlg dialog - -IMPLEMENT_DYNAMIC(CCardIDDlg, CDialog) - -CCardIDDlg::CCardIDDlg(int nCardIdx, CWnd* pParent /*=NULL*/) - : CDialog(CCardIDDlg::IDD, pParent) -{ - m_nCardIdx = nCardIdx; -} - -CCardIDDlg::~CCardIDDlg() -{ -} - -void CCardIDDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); - DDX_Control(pDX, IDC_COMBO_CARDID, m_cbCardID); -} - - -BEGIN_MESSAGE_MAP(CCardIDDlg, CDialog) -// ON_CBN_SELCHANGE(IDC_COMBO_CARDID, &CCardIDDlg::OnCbnSelchangeComboCardid) -ON_BN_CLICKED(IDOK, &CCardIDDlg::OnBnClickedOk) -//ON_WM_CTLCOLOR() -END_MESSAGE_MAP() - - -// CCardIDDlg message handlers - - -void CCardIDDlg::OnBnClickedOk() -{ - // TODO: Add your control notification handler code here - -// UpdateData(TRUE); - m_nCardIdx = m_cbCardID.GetCurSel(); - - OnOK(); -} - -BOOL CCardIDDlg::OnInitDialog() -{ - CDialog::OnInitDialog(); - - // TODO: Add extra initialization here - m_cbCardID.SetCurSel( m_nCardIdx ); - - return TRUE; // return TRUE unless you set the focus to a control - // EXCEPTION: OCX Property Pages should return FALSE -} - -// the function to get the selected CardID -int CCardIDDlg::GetCardID(void) -{ - return m_nCardIdx; -} - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118DbfPreTrg/CardIDDlg.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118DbfPreTrg/CardIDDlg.h deleted file mode 100644 index 9c02c58..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118DbfPreTrg/CardIDDlg.h +++ /dev/null @@ -1,32 +0,0 @@ -#pragma once -#include "afxwin.h" - -#include "Dask64.h" - -// CCardIDDlg dialog - -class CCardIDDlg : public CDialog -{ - DECLARE_DYNAMIC(CCardIDDlg) - -public: - CCardIDDlg(int nCardIdx, CWnd* pParent = NULL); // standard constructor - virtual ~CCardIDDlg(); - -// Dialog Data - enum { IDD = IDD_CARDID_DIALOG }; - -protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - - DECLARE_MESSAGE_MAP() -public: - virtual BOOL OnInitDialog(); - afx_msg void OnBnClickedOk(); - // the setting of CardID ComboBox - int m_nCardIdx; - // the control of CardID ComboBox - CComboBox m_cbCardID; - // the function to get the selected CardID - int GetCardID(void); -}; diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118DbfPreTrg/ReadMe.txt b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118DbfPreTrg/ReadMe.txt deleted file mode 100644 index 005656f..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118DbfPreTrg/ReadMe.txt +++ /dev/null @@ -1,93 +0,0 @@ -================================================================================ - MICROSOFT FOUNDATION CLASS LIBRARY : 9118Prtg Project Overview -=============================================================================== - -The application wizard has created this 9118Prtg application for -you. This application not only demonstrates the basics of using the Microsoft -Foundation Classes but is also a starting point for writing your application. - -This file contains a summary of what you will find in each of the files that -make up your 9118Prtg application. - -9118Prtg.vcproj - This is the main project file for VC++ projects generated using an application wizard. - It contains information about the version of Visual C++ that generated the file, and - information about the platforms, configurations, and project features selected with the - application wizard. - -9118Prtg.h - This is the main header file for the application. It includes other - project specific headers (including Resource.h) and declares the - C9118PrtgApp application class. - -9118Prtg.cpp - This is the main application source file that contains the application - class C9118PrtgApp. - -9118Prtg.rc - This is a listing of all of the Microsoft Windows resources that the - program uses. It includes the icons, bitmaps, and cursors that are stored - in the RES subdirectory. This file can be directly edited in Microsoft - Visual C++. Your project resources are in 1033. - -res\9118Prtg.ico - This is an icon file, which is used as the application's icon. This - icon is included by the main resource file 9118Prtg.rc. - -res\My9118Prtg.rc2 - This file contains resources that are not edited by Microsoft - Visual C++. You should place all resources not editable by - the resource editor in this file. - - -///////////////////////////////////////////////////////////////////////////// - -The application wizard creates one dialog class: - -9118PrtgDlg.h, 9118PrtgDlg.cpp - the dialog - These files contain your C9118PrtgDlg class. This class defines - the behavior of your application's main dialog. The dialog's template is - in 9118Prtg.rc, which can be edited in Microsoft Visual C++. - - -///////////////////////////////////////////////////////////////////////////// - -Other Features: - -ActiveX Controls - The application includes support to use ActiveX controls. - -///////////////////////////////////////////////////////////////////////////// - -Other standard files: - -StdAfx.h, StdAfx.cpp - These files are used to build a precompiled header (PCH) file - named 9118Prtg.pch and a precompiled types file named StdAfx.obj. - -Resource.h - This is the standard header file, which defines new resource IDs. - Microsoft Visual C++ reads and updates this file. - -9118Prtg.manifest - Application manifest files are used by Windows XP to describe an applications - dependency on specific versions of Side-by-Side assemblies. The loader uses this - information to load the appropriate assembly from the assembly cache or private - from the application. The Application manifest maybe included for redistribution - as an external .manifest file that is installed in the same folder as the application - executable or it may be included in the executable in the form of a resource. -///////////////////////////////////////////////////////////////////////////// - -Other notes: - -The application wizard uses "TODO:" to indicate parts of the source code you -should add to or customize. - -If your application uses MFC in a shared DLL, you will need -to redistribute the MFC DLLs. If your application is in a language -other than the operating system's locale, you will also have to -redistribute the corresponding localized resources MFC90XXX.DLL. -For more information on both of these topics, please see the section on -redistributing Visual C++ applications in MSDN documentation. - -///////////////////////////////////////////////////////////////////////////// diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118DbfPreTrg/res/9118Prtg.ico b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118DbfPreTrg/res/9118Prtg.ico deleted file mode 100644 index d56fbcd..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118DbfPreTrg/res/9118Prtg.ico and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118DbfPreTrg/res/My9118Prtg.rc2 b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118DbfPreTrg/res/My9118Prtg.rc2 deleted file mode 100644 index 383cde2..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118DbfPreTrg/res/My9118Prtg.rc2 +++ /dev/null @@ -1,13 +0,0 @@ -// -// My9111int.RC2 - resources Microsoft Visual C++ does not edit directly -// - -#ifdef APSTUDIO_INVOKED -#error this file is not editable by Microsoft Visual C++ -#endif //APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// Add manually edited resources here... - -///////////////////////////////////////////////////////////////////////////// diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118DbfPreTrg/res/ch_set1.bmp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118DbfPreTrg/res/ch_set1.bmp deleted file mode 100644 index f2374ed..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118DbfPreTrg/res/ch_set1.bmp and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118DbfPreTrg/res/ch_set2.bmp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118DbfPreTrg/res/ch_set2.bmp deleted file mode 100644 index 32d0915..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118DbfPreTrg/res/ch_set2.bmp and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118DbfPreTrg/resource.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118DbfPreTrg/resource.h deleted file mode 100644 index 3d0b7ca..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118DbfPreTrg/resource.h +++ /dev/null @@ -1,40 +0,0 @@ -//{{NO_DEPENDENCIES}} -// Microsoft Visual C++ generated include file. -// Used by 9118Prtg.rc -// -#define IDM_ABOUTBOX 0x0010 -#define IDD_ABOUTBOX 100 -#define IDS_ABOUTBOX 101 -#define IDD_9118DMA_DIALOG 102 -#define IDR_MAINFRAME 128 -#define IDD_CARDID_DIALOG 129 -#define IDB_BITMAP_SET1 131 -#define IDB_BITMAP_SET2 132 -#define IDC_STATIC_DRAW 1000 -#define IDC_COMBO_CARDID 1001 -#define IDC_BT_STOP 1002 -#define IDC_BT_START 1003 -#define IDC_EDIT_SAMPLE_RATE 1004 -#define IDC_SCROLLBAR_RATE 1005 -#define IDC_RADIO_CH0 1006 -#define IDC_RADIO_CH1 1007 -#define IDC_RADIO_CH2 1008 -#define IDC_RADIO_CH3 1009 -#define IDC_RADIO_CH4 1010 -#define IDC_RADIO_CH5 1011 -#define IDC_RADIO_CH6 1012 -#define IDC_RADIO_CH7 1013 -#define IDC_STATIC_01 1014 -#define IDC_EDIT_BUF_SIZE 1014 -#define IDC_STATIC_2 1015 - -// Next default values for new objects -// -#ifdef APSTUDIO_INVOKED -#ifndef APSTUDIO_READONLY_SYMBOLS -#define _APS_NEXT_RESOURCE_VALUE 134 -#define _APS_NEXT_COMMAND_VALUE 32771 -#define _APS_NEXT_CONTROL_VALUE 1016 -#define _APS_NEXT_SYMED_VALUE 101 -#endif -#endif diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118DbfPreTrg/stdafx.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118DbfPreTrg/stdafx.cpp deleted file mode 100644 index ef80626..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118DbfPreTrg/stdafx.cpp +++ /dev/null @@ -1,8 +0,0 @@ - -// stdafx.cpp : source file that includes just the standard includes -// 9111int.pch will be the pre-compiled header -// stdafx.obj will contain the pre-compiled type information - -#include "stdafx.h" - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118DbfPreTrg/stdafx.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118DbfPreTrg/stdafx.h deleted file mode 100644 index 12123e2..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118DbfPreTrg/stdafx.h +++ /dev/null @@ -1,60 +0,0 @@ - -// stdafx.h : include file for standard system include files, -// or project specific include files that are used frequently, -// but are changed infrequently - -#pragma once - -#ifndef _SECURE_ATL -#define _SECURE_ATL 1 -#endif - -#ifndef VC_EXTRALEAN -#define VC_EXTRALEAN // Exclude rarely-used stuff from Windows headers -#endif - -#include "targetver.h" - -#define _ATL_CSTRING_EXPLICIT_CONSTRUCTORS // some CString constructors will be explicit - -// turns off MFC's hiding of some common and often safely ignored warning messages -#define _AFX_ALL_WARNINGS - -#include // MFC core and standard components -#include // MFC extensions - - -#include // MFC Automation classes - - - -#ifndef _AFX_NO_OLE_SUPPORT -#include // MFC support for Internet Explorer 4 Common Controls -#endif -#ifndef _AFX_NO_AFXCMN_SUPPORT -#include // MFC support for Windows Common Controls -#endif // _AFX_NO_AFXCMN_SUPPORT - -#include // MFC support for ribbons and control bars - - - - - - - - - -#ifdef _UNICODE -#if defined _M_IX86 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='x86' publicKeyToken='6595b64144ccf1df' language='*'\"") -#elif defined _M_IA64 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='ia64' publicKeyToken='6595b64144ccf1df' language='*'\"") -#elif defined _M_X64 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='amd64' publicKeyToken='6595b64144ccf1df' language='*'\"") -#else -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='*' publicKeyToken='6595b64144ccf1df' language='*'\"") -#endif -#endif - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118DbfPreTrg/targetver.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118DbfPreTrg/targetver.h deleted file mode 100644 index 11730d5..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118DbfPreTrg/targetver.h +++ /dev/null @@ -1,26 +0,0 @@ - -#pragma once - -// The following macros define the minimum required platform. The minimum required platform -// is the earliest version of Windows, Internet Explorer etc. that has the necessary features to run -// your application. The macros work by enabling all features available on platform versions up to and -// including the version specified. - -// Modify the following defines if you have to target a platform prior to the ones specified below. -// Refer to MSDN for the latest info on corresponding values for different platforms. -#ifndef WINVER // Specifies that the minimum required platform is Windows Vista. -#define WINVER 0x0600 // Change this to the appropriate value to target other versions of Windows. -#endif - -#ifndef _WIN32_WINNT // Specifies that the minimum required platform is Windows Vista. -#define _WIN32_WINNT 0x0600 // Change this to the appropriate value to target other versions of Windows. -#endif - -#ifndef _WIN32_WINDOWS // Specifies that the minimum required platform is Windows 98. -#define _WIN32_WINDOWS 0x0410 // Change this to the appropriate value to target Windows Me or later. -#endif - -#ifndef _WIN32_IE // Specifies that the minimum required platform is Internet Explorer 7.0. -#define _WIN32_IE 0x0700 // Change this to the appropriate value to target other versions of IE. -#endif - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118HG/CardIDDlg.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118HG/CardIDDlg.cpp deleted file mode 100644 index afcc106..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118HG/CardIDDlg.cpp +++ /dev/null @@ -1,105 +0,0 @@ -// CardIDDlg.cpp : implementation file -// - -#include "stdafx.h" -#include "Util9118.h" -#include "CardIDDlg.h" - -// CCardIDDlg dialog - -IMPLEMENT_DYNAMIC(CCardIDDlg, CDialog) - -CCardIDDlg::CCardIDDlg(int nCardIdx, CWnd* pParent /*=NULL*/) - : CDialog(CCardIDDlg::IDD, pParent) -{ - m_nCardIdx = nCardIdx; -} - -CCardIDDlg::~CCardIDDlg() -{ -} - -void CCardIDDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); - DDX_Control(pDX, IDC_COMBO_CARDID, m_cbCardID); - DDX_Control(pDX, IDC_COMBO_CARDTYPE, m_cbCardType); - DDX_Control(pDX, IDC_COMBO_INPUT_SIGNAL, m_cbInputSignal); - DDX_Control(pDX, IDC_COMBO_INPUT_MODE, m_cbInputMode); -} - - -BEGIN_MESSAGE_MAP(CCardIDDlg, CDialog) -// ON_CBN_SELCHANGE(IDC_COMBO_CARDID, &CCardIDDlg::OnCbnSelchangeComboCardid) -ON_BN_CLICKED(IDOK, &CCardIDDlg::OnBnClickedOk) -//ON_WM_CTLCOLOR() -END_MESSAGE_MAP() - - -// CCardIDDlg message handlers - - -void CCardIDDlg::OnBnClickedOk() -{ - // TODO: Add your control notification handler code here - int nIndex; - -// UpdateData(TRUE); - m_nCardIdx = m_cbCardID.GetCurSel(); - m_CardType = PCI_9118HG; - - nIndex = m_cbInputSignal.GetCurSel(); - if( nIndex == 0 ) - m_InputSignal = P9118_AI_BiPolar; - else - m_InputSignal = P9118_AI_UniPolar; - - nIndex = m_cbInputMode.GetCurSel(); - if( nIndex == 0 ) - m_InputMode = P9118_AI_SingEnded; - else - m_InputMode = P9118_AI_Differential; - - OnOK(); -} - -BOOL CCardIDDlg::OnInitDialog() -{ - CDialog::OnInitDialog(); - - // TODO: Add extra initialization here - m_cbCardID.SetCurSel( m_nCardIdx ); - - m_CardType = PCI_9118HG; - - m_cbInputSignal.SetCurSel( 0 ); - m_InputSignal = P9118_AI_BiPolar; - - m_cbInputMode.SetCurSel( 0 ); - m_InputMode = P9118_AI_SingEnded; - - return TRUE; // return TRUE unless you set the focus to a control - // EXCEPTION: OCX Property Pages should return FALSE -} - -// the function to get the selected CardID -int CCardIDDlg::GetCardID(void) -{ - return m_nCardIdx; -} - - -U16 CCardIDDlg::GetCardType(void) -{ - return m_CardType; -} - -U16 CCardIDDlg::GetInputSignal(void) -{ - return m_InputSignal; -} - -U16 CCardIDDlg::GetInputMode(void) -{ - return m_InputMode; -} \ No newline at end of file diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118HG/CardIDDlg.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118HG/CardIDDlg.h deleted file mode 100644 index 7f16120..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118HG/CardIDDlg.h +++ /dev/null @@ -1,41 +0,0 @@ -#pragma once -#include "afxwin.h" - -#include "Dask64.h" - -// CCardIDDlg dialog - -class CCardIDDlg : public CDialog -{ - DECLARE_DYNAMIC(CCardIDDlg) - -public: - CCardIDDlg(int nCardIdx, CWnd* pParent = NULL); // standard constructor - virtual ~CCardIDDlg(); - -// Dialog Data - enum { IDD = IDD_CARDID_DIALOG }; - -protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - - DECLARE_MESSAGE_MAP() -public: - virtual BOOL OnInitDialog(); - afx_msg void OnBnClickedOk(); - // the setting of CardID ComboBox - int m_nCardIdx; - U16 m_CardType; - U16 m_InputSignal; - U16 m_InputMode; - // the control of CardID ComboBox - CComboBox m_cbCardID; - CComboBox m_cbCardType; - CComboBox m_cbInputSignal; - CComboBox m_cbInputMode; - // the function to get the selected CardID - int GetCardID(void); - U16 GetCardType(void); - U16 GetInputSignal(void); - U16 GetInputMode(void); -}; diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118HG/ReadMe.txt b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118HG/ReadMe.txt deleted file mode 100644 index 2f4f511..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118HG/ReadMe.txt +++ /dev/null @@ -1,93 +0,0 @@ -================================================================================ - MICROSOFT FOUNDATION CLASS LIBRARY : Util9118 Project Overview -=============================================================================== - -The application wizard has created this Util9118 application for -you. This application not only demonstrates the basics of using the Microsoft -Foundation Classes but is also a starting point for writing your application. - -This file contains a summary of what you will find in each of the files that -make up your Util9118 application. - -Util9118.vcproj - This is the main project file for VC++ projects generated using an application wizard. - It contains information about the version of Visual C++ that generated the file, and - information about the platforms, configurations, and project features selected with the - application wizard. - -Util9118.h - This is the main header file for the application. It includes other - project specific headers (including Resource.h) and declares the - CUtil9118App application class. - -Util9118.cpp - This is the main application source file that contains the application - class CUtil9118App. - -Util9118.rc - This is a listing of all of the Microsoft Windows resources that the - program uses. It includes the icons, bitmaps, and cursors that are stored - in the RES subdirectory. This file can be directly edited in Microsoft - Visual C++. Your project resources are in 1033. - -res\Util9118.ico - This is an icon file, which is used as the application's icon. This - icon is included by the main resource file Util9118.rc. - -res\Util9118.rc2 - This file contains resources that are not edited by Microsoft - Visual C++. You should place all resources not editable by - the resource editor in this file. - - -///////////////////////////////////////////////////////////////////////////// - -The application wizard creates one dialog class: - -Util9118Dlg.h, Util9118Dlg.cpp - the dialog - These files contain your CUtil9118Dlg class. This class defines - the behavior of your application's main dialog. The dialog's template is - in Util9118.rc, which can be edited in Microsoft Visual C++. - - -///////////////////////////////////////////////////////////////////////////// - -Other Features: - -ActiveX Controls - The application includes support to use ActiveX controls. - -///////////////////////////////////////////////////////////////////////////// - -Other standard files: - -StdAfx.h, StdAfx.cpp - These files are used to build a precompiled header (PCH) file - named Util9118.pch and a precompiled types file named StdAfx.obj. - -Resource.h - This is the standard header file, which defines new resource IDs. - Microsoft Visual C++ reads and updates this file. - -Util9118.manifest - Application manifest files are used by Windows XP to describe an applications - dependency on specific versions of Side-by-Side assemblies. The loader uses this - information to load the appropriate assembly from the assembly cache or private - from the application. The Application manifest maybe included for redistribution - as an external .manifest file that is installed in the same folder as the application - executable or it may be included in the executable in the form of a resource. -///////////////////////////////////////////////////////////////////////////// - -Other notes: - -The application wizard uses "TODO:" to indicate parts of the source code you -should add to or customize. - -If your application uses MFC in a shared DLL, you will need -to redistribute the MFC DLLs. If your application is in a language -other than the operating system's locale, you will also have to -redistribute the corresponding localized resources MFC90XXX.DLL. -For more information on both of these topics, please see the section on -redistributing Visual C++ applications in MSDN documentation. - -///////////////////////////////////////////////////////////////////////////// diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118HG/Util9111.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118HG/Util9111.suo deleted file mode 100644 index 6b7218e..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118HG/Util9111.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118HG/Util9118.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118HG/Util9118.cpp deleted file mode 100644 index 66eefb0..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118HG/Util9118.cpp +++ /dev/null @@ -1,115 +0,0 @@ - -// Util9118.cpp : Defines the class behaviors for the application. -// - -#include "stdafx.h" -#include "Util9118.h" -#include "Util9118Dlg.h" -#include "CardIDDlg.h" - -#ifdef _DEBUG -#define new DEBUG_NEW -#endif - - -// CUtil9118App - -BEGIN_MESSAGE_MAP(CUtil9118App, CWinAppEx) - ON_COMMAND(ID_HELP, &CWinApp::OnHelp) -END_MESSAGE_MAP() - - -// CUtil9118App construction - -CUtil9118App::CUtil9118App() -{ - // TODO: add construction code here, - // Place all significant initialization in InitInstance -} - - -// The one and only CUtil9118App object - -CUtil9118App theApp; - - -// CUtil9118App initialization - -BOOL CUtil9118App::InitInstance() -{ - int nCardID = 0; - I16 hCard; - U16 wCardType, wInputSignal, wInputMode; - CString strTemp; - INT_PTR nResponse; - - // InitCommonControlsEx() is required on Windows XP if an application - // manifest specifies use of ComCtl32.dll version 6 or later to enable - // visual styles. Otherwise, any window creation will fail. - INITCOMMONCONTROLSEX InitCtrls; - InitCtrls.dwSize = sizeof(InitCtrls); - // Set this to include all the common control classes you want to use - // in your application. - InitCtrls.dwICC = ICC_WIN95_CLASSES; - InitCommonControlsEx(&InitCtrls); - - CWinAppEx::InitInstance(); - - AfxEnableControlContainer(); - - // Standard initialization - // If you are not using these features and wish to reduce the size - // of your final executable, you should remove from the following - // the specific initialization routines you do not need - // Change the registry key under which our settings are stored - // TODO: You should modify this string to be something appropriate - // such as the name of your company or organization - SetRegistryKey(_T("Local AppWizard-Generated Applications")); - - CCardIDDlg CardDlg( nCardID ); - - nResponse = CardDlg.DoModal(); - if (nResponse == IDOK) - { - nCardID = CardDlg.GetCardID(); - wCardType = CardDlg.GetCardType(); - wInputSignal = CardDlg.GetInputSignal(); - wInputMode = CardDlg.GetInputMode(); - - if ((hCard=Register_Card(wCardType, nCardID)) < 0) - { - strTemp.Format( TEXT("Register_Card Error = %d"), hCard); - AfxMessageBox( strTemp ); - } - else - { - CUtil9118Dlg dlg(hCard, wCardType, wInputSignal, wInputMode ); - m_pMainWnd = &dlg; - nResponse = dlg.DoModal(); - if (nResponse == IDOK) - { - // TODO: Place code here to handle when the dialog is - // dismissed with OK - } - else if (nResponse == IDCANCEL) - { - // TODO: Place code here to handle when the dialog is - // dismissed with Cancel - } - - if (hCard >= 0) Release_Card(hCard); - } - - } - else if (nResponse == IDCANCEL) - { - // TODO: Place code here to handle when the dialog is - // dismissed with Cancel - } - - - - // Since the dialog has been closed, return FALSE so that we exit the - // application, rather than start the application's message pump. - return FALSE; -} diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118HG/Util9118.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118HG/Util9118.h deleted file mode 100644 index afe5022..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118HG/Util9118.h +++ /dev/null @@ -1,32 +0,0 @@ - -// Util9118.h : main header file for the PROJECT_NAME application -// - -#pragma once - -#ifndef __AFXWIN_H__ - #error "include 'stdafx.h' before including this file for PCH" -#endif - -#include "resource.h" // main symbols - - -// CUtil9118App: -// See Util9118.cpp for the implementation of this class -// - -class CUtil9118App : public CWinAppEx -{ -public: - CUtil9118App(); - -// Overrides - public: - virtual BOOL InitInstance(); - -// Implementation - - DECLARE_MESSAGE_MAP() -}; - -extern CUtil9118App theApp; \ No newline at end of file diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118HG/Util9118.rc b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118HG/Util9118.rc deleted file mode 100644 index ba63046..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118HG/Util9118.rc +++ /dev/null @@ -1,352 +0,0 @@ -// Microsoft Visual C++ generated resource script. -// -#include "resource.h" - -#define APSTUDIO_READONLY_SYMBOLS -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 2 resource. -// -#ifndef APSTUDIO_INVOKED -#include "targetver.h" -#endif -#include "afxres.h" - -///////////////////////////////////////////////////////////////////////////// -#undef APSTUDIO_READONLY_SYMBOLS - -///////////////////////////////////////////////////////////////////////////// -// Chinese (Taiwan) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_CHT) -#ifdef _WIN32 -LANGUAGE LANG_CHINESE, SUBLANG_CHINESE_TRADITIONAL -#pragma code_page(950) -#endif //_WIN32 - -#ifdef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// TEXTINCLUDE -// - -1 TEXTINCLUDE -BEGIN - "resource.h\0" -END - -2 TEXTINCLUDE -BEGIN - "#ifndef APSTUDIO_INVOKED\r\n" - "#include ""targetver.h""\r\n" - "#endif\r\n" - "#include ""afxres.h""\r\n" - "\0" -END - -3 TEXTINCLUDE -BEGIN - "#define _AFX_NO_SPLITTER_RESOURCES\r\n" - "#define _AFX_NO_OLE_RESOURCES\r\n" - "#define _AFX_NO_TRACKER_RESOURCES\r\n" - "#define _AFX_NO_PROPERTY_RESOURCES\r\n" - "\r\n" - "#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)\r\n" - "LANGUAGE 9, 1\r\n" - "#pragma code_page(1252)\r\n" - "#include ""res\\Util9118.rc2"" // non-Microsoft Visual C++ edited resources\r\n" - "#include ""afxres.rc"" // Standard components\r\n" - "#endif\r\n" - "\0" -END - -#endif // APSTUDIO_INVOKED - -#endif // Chinese (Taiwan) resources -///////////////////////////////////////////////////////////////////////////// - - -///////////////////////////////////////////////////////////////////////////// -// English (U.S.) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -#ifdef _WIN32 -LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US -#pragma code_page(1252) -#endif //_WIN32 - -///////////////////////////////////////////////////////////////////////////// -// -// Icon -// - -// Icon with lowest ID value placed first to ensure application icon -// remains consistent on all systems. -IDR_MAINFRAME ICON "res\\Util9118.ico" -IDI_ICON_BLACK ICON "res\\black.ico" -IDI_ICON_RED ICON "res\\red.ico" - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog -// - -IDD_ABOUTBOX DIALOGEX 0, 0, 170, 62 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "About Util9118" -FONT 8, "MS Shell Dlg", 0, 0, 0x1 -BEGIN - ICON IDR_MAINFRAME,IDC_STATIC,14,14,21,20 - LTEXT "Util9118, Version 1.0",IDC_STATIC,42,14,114,8,SS_NOPREFIX - LTEXT "Copyright (C) 2010",IDC_STATIC,42,26,114,8 - DEFPUSHBUTTON "OK",IDOK,113,41,50,14,WS_GROUP -END - -IDD_UTIL9118_DIALOG DIALOGEX 0, 0, 345, 217 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU -EXSTYLE WS_EX_APPWINDOW -CAPTION "PCI-9118HG" -FONT 8, "MS Shell Dlg", 0, 0, 0x1 -BEGIN - ICON IDI_ICON_BLACK,IDC_ICON_DI00,316,163,20,20 - ICON IDI_ICON_BLACK,IDC_ICON_DI01,298,163,20,20 - ICON IDI_ICON_BLACK,IDC_ICON_DI02,280,163,20,20 - ICON IDI_ICON_BLACK,IDC_ICON_DI03,262,163,20,20 - CONTROL "",IDC_CHECK_DO00,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE | WS_TABSTOP,322,183,12,12 - CONTROL "",IDC_CHECK_DO01,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE | WS_TABSTOP,304,183,12,12 - CONTROL "",IDC_CHECK_DO02,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE | WS_TABSTOP,286,183,12,12 - CONTROL "",IDC_CHECK_DO03,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE | WS_TABSTOP,268,183,12,12 - SCROLLBAR IDC_SCROLLBAR1,71,185,144,12,NOT WS_VISIBLE | WS_DISABLED - GROUPBOX "",IDC_STATIC_DRAW0,45,9,213,75,NOT WS_VISIBLE - GROUPBOX "",IDC_STATIC_DRAW1,45,90,213,75,NOT WS_VISIBLE - CONTROL 132,IDC_STATIC,"Static",SS_BITMAP,289,20,9,44 - CONTROL "0",IDC_RADIO_CH0,"Button",BS_AUTOCHECKBOX | BS_LEFTTEXT | BS_PUSHLIKE,268,21,17,10 - CONTROL "1",IDC_RADIO_CH1,"Button",BS_AUTOCHECKBOX | BS_LEFTTEXT | BS_PUSHLIKE,268,32,17,10 - CONTROL "2",IDC_RADIO_CH2,"Button",BS_AUTOCHECKBOX | BS_LEFTTEXT | BS_PUSHLIKE,268,43,17,10 - CONTROL "3",IDC_RADIO_CH3,"Button",BS_AUTOCHECKBOX | BS_LEFTTEXT | BS_PUSHLIKE,268,54,17,10 - CONTROL "4",IDC_RADIO_CH4,"Button",BS_AUTOCHECKBOX | BS_LEFTTEXT | BS_PUSHLIKE,303,21,17,10 - CONTROL "5",IDC_RADIO_CH5,"Button",BS_AUTOCHECKBOX | BS_LEFTTEXT | BS_PUSHLIKE,303,32,17,10 - CONTROL "6",IDC_RADIO_CH6,"Button",BS_AUTOCHECKBOX | BS_LEFTTEXT | BS_PUSHLIKE,303,43,17,10 - CONTROL "7",IDC_RADIO_CH7,"Button",BS_AUTOCHECKBOX | BS_LEFTTEXT | BS_PUSHLIKE,303,54,17,10 - CONTROL 132,IDC_STATIC,"Static",SS_BITMAP,288,111,9,44 - CONTROL 133,IDC_STATIC,"Static",SS_BITMAP,321,111,11,45 - CONTROL "8",IDC_RADIO_CH8,"Button",BS_AUTOCHECKBOX | BS_LEFTTEXT | BS_PUSHLIKE,266,112,17,10 - CONTROL "9",IDC_RADIO_CH9,"Button",BS_AUTOCHECKBOX | BS_LEFTTEXT | BS_PUSHLIKE,266,123,17,10 - CONTROL "10",IDC_RADIO_CH10,"Button",BS_AUTOCHECKBOX | BS_LEFTTEXT | BS_PUSHLIKE,266,134,17,10 - CONTROL "11",IDC_RADIO_CH11,"Button",BS_AUTOCHECKBOX | BS_LEFTTEXT | BS_PUSHLIKE,266,146,17,10 - CONTROL "12",IDC_RADIO_CH12,"Button",BS_AUTOCHECKBOX | BS_LEFTTEXT | BS_PUSHLIKE,302,112,17,10 - CONTROL "13",IDC_RADIO_CH13,"Button",BS_AUTOCHECKBOX | BS_LEFTTEXT | BS_PUSHLIKE,302,123,17,10 - CONTROL "14",IDC_RADIO_CH14,"Button",BS_AUTOCHECKBOX | BS_LEFTTEXT | BS_PUSHLIKE,302,134,17,10 - CONTROL "15",IDC_RADIO_CH15,"Button",BS_AUTOCHECKBOX | BS_LEFTTEXT | BS_PUSHLIKE,302,146,17,10 - CONTROL 133,IDC_STATIC,"Static",SS_BITMAP,322,20,11,45 - COMBOBOX IDC_COMBO_AI_RANGE,266,89,67,13,CBS_DROPDOWN | WS_VSCROLL | WS_TABSTOP - LTEXT "Input Range",IDC_STATIC,265,75,45,12 - LTEXT "-10 -6 -4 -2 0 2 4 6 10",IDC_STATIC,82,173,133,12,NOT WS_VISIBLE - LTEXT "Analog Output",IDC_STATIC,9,185,51,13,NOT WS_VISIBLE - EDITTEXT IDC_EDIT_AO,222,184,29,14,ES_AUTOHSCROLL | ES_READONLY | NOT WS_VISIBLE - LTEXT "3 0",IDC_STATIC,270,198,64,11 -END - -IDD_CARDID_DIALOG DIALOGEX 0, 0, 170, 129 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "Card ID" -FONT 8, "MS Shell Dlg", 400, 0, 0x1 -BEGIN - COMBOBOX IDC_COMBO_CARDID,73,35,71,126,CBS_DROPDOWN | WS_VSCROLL | WS_TABSTOP - LTEXT "Card Number",IDC_STATIC_01,19,36,46,12 - PUSHBUTTON "OK",IDOK,23,97,58,19 - PUSHBUTTON "CANCEL",IDCANCEL,87,97,58,19 - COMBOBOX IDC_COMBO_CARDTYPE,73,17,71,126,CBS_DROPDOWN | NOT WS_VISIBLE | WS_DISABLED | WS_VSCROLL | WS_TABSTOP - LTEXT "Card Type",IDC_STATIC_2,27,18,37,12,NOT WS_VISIBLE - COMBOBOX IDC_COMBO_INPUT_SIGNAL,73,53,71,126,CBS_DROPDOWN | WS_VSCROLL | WS_TABSTOP - LTEXT "Input Signal",IDC_STATIC_3,23,54,42,12 - COMBOBOX IDC_COMBO_INPUT_MODE,74,72,71,126,CBS_DROPDOWN | WS_VSCROLL | WS_TABSTOP - LTEXT "Input Model",IDC_STATIC_4,24,73,42,12 -END - - -///////////////////////////////////////////////////////////////////////////// -// -// Version -// - -VS_VERSION_INFO VERSIONINFO - FILEVERSION 1,0,0,1 - PRODUCTVERSION 1,0,0,1 - FILEFLAGSMASK 0x3fL -#ifdef _DEBUG - FILEFLAGS 0x1L -#else - FILEFLAGS 0x0L -#endif - FILEOS 0x4L - FILETYPE 0x1L - FILESUBTYPE 0x0L -BEGIN - BLOCK "StringFileInfo" - BEGIN - BLOCK "040904e4" - BEGIN - VALUE "CompanyName", "TODO: " - VALUE "FileDescription", "TODO: " - VALUE "FileVersion", "1.0.0.1" - VALUE "InternalName", "Util9118.exe" - VALUE "LegalCopyright", "TODO: (c) . All rights reserved." - VALUE "OriginalFilename", "Util9118.exe" - VALUE "ProductName", "TODO: " - VALUE "ProductVersion", "1.0.0.1" - END - END - BLOCK "VarFileInfo" - BEGIN - VALUE "Translation", 0x409, 1252 - END -END - - -///////////////////////////////////////////////////////////////////////////// -// -// DESIGNINFO -// - -#ifdef APSTUDIO_INVOKED -GUIDELINES DESIGNINFO -BEGIN - IDD_ABOUTBOX, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 163 - TOPMARGIN, 7 - BOTTOMMARGIN, 55 - END - - IDD_CARDID_DIALOG, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 163 - TOPMARGIN, 6 - BOTTOMMARGIN, 122 - END -END -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// Bitmap -// - -IDB_BITMAP_SET1 BITMAP "res\\ch_set1.bmp" -IDB_BITMAP_SET2 BITMAP "res\\ch_set2.bmp" - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog Info -// - -IDD_UTIL9118_DIALOG DLGINIT -BEGIN - IDC_COMBO_AI_RANGE, 0x403, 6, 0 -0x2f2b, 0x352d, 0x0056, - IDC_COMBO_AI_RANGE, 0x403, 8, 0 -0x2f2b, 0x302d, 0x352e, 0x0056, - IDC_COMBO_AI_RANGE, 0x403, 9, 0 -0x2f2b, 0x302d, 0x302e, 0x5635, "\000" - IDC_COMBO_AI_RANGE, 0x403, 10, 0 -0x2f2b, 0x302d, 0x302e, 0x3530, 0x0056, - IDC_COMBO_AI_RANGE, 0x403, 6, 0 -0x7e30, 0x3031, 0x0056, - IDC_COMBO_AI_RANGE, 0x403, 5, 0 -0x7e30, 0x5631, "\000" - IDC_COMBO_AI_RANGE, 0x403, 7, 0 -0x7e30, 0x2e30, 0x5631, "\000" - IDC_COMBO_AI_RANGE, 0x403, 8, 0 -0x7e30, 0x2e30, 0x3130, 0x0056, - 0 -END - -IDD_CARDID_DIALOG DLGINIT -BEGIN - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0030, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0031, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0032, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0033, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0034, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0035, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0036, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0037, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0038, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0039, - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3031, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3131, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3231, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3331, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3431, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3531, "\000" - IDC_COMBO_CARDTYPE, 0x403, 11, 0 -0x4350, 0x5f49, 0x3139, 0x3831, 0x4744, "\000" - IDC_COMBO_CARDTYPE, 0x403, 11, 0 -0x4350, 0x5f49, 0x3139, 0x3831, 0x4748, "\000" - IDC_COMBO_INPUT_SIGNAL, 0x403, 8, 0 -0x6942, 0x6f70, 0x616c, 0x0072, - IDC_COMBO_INPUT_SIGNAL, 0x403, 9, 0 -0x6e55, 0x7069, 0x6c6f, 0x7261, "\000" - IDC_COMBO_INPUT_MODE, 0x403, 13, 0 -0x6953, 0x676e, 0x656c, 0x4520, 0x646e, 0x6465, "\000" - IDC_COMBO_INPUT_MODE, 0x403, 14, 0 -0x4420, 0x6669, 0x6566, 0x6572, 0x746e, 0x6169, 0x006c, - 0 -END - - -///////////////////////////////////////////////////////////////////////////// -// -// String Table -// - -STRINGTABLE -BEGIN - IDS_ABOUTBOX "&About Util9118..." -END - -#endif // English (U.S.) resources -///////////////////////////////////////////////////////////////////////////// - - - -#ifndef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 3 resource. -// -#define _AFX_NO_SPLITTER_RESOURCES -#define _AFX_NO_OLE_RESOURCES -#define _AFX_NO_TRACKER_RESOURCES -#define _AFX_NO_PROPERTY_RESOURCES - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -LANGUAGE 9, 1 -#pragma code_page(1252) -#include "res\Util9118.rc2" // non-Microsoft Visual C++ edited resources -#include "afxres.rc" // Standard components -#endif - -///////////////////////////////////////////////////////////////////////////// -#endif // not APSTUDIO_INVOKED - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118HG/Util9118.sln b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118HG/Util9118.sln deleted file mode 100644 index e1b185b..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118HG/Util9118.sln +++ /dev/null @@ -1,20 +0,0 @@ - -Microsoft Visual Studio Solution File, Format Version 10.00 -# Visual Studio 2008 -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "Util9118", "Util9118.vcproj", "{EA91AA3F-533F-4BE6-8BD6-78C091590751}" -EndProject -Global - GlobalSection(SolutionConfigurationPlatforms) = preSolution - Debug|x64 = Debug|x64 - Release|x64 = Release|x64 - EndGlobalSection - GlobalSection(ProjectConfigurationPlatforms) = postSolution - {EA91AA3F-533F-4BE6-8BD6-78C091590751}.Debug|x64.ActiveCfg = Debug|x64 - {EA91AA3F-533F-4BE6-8BD6-78C091590751}.Debug|x64.Build.0 = Debug|x64 - {EA91AA3F-533F-4BE6-8BD6-78C091590751}.Release|x64.ActiveCfg = Release|x64 - {EA91AA3F-533F-4BE6-8BD6-78C091590751}.Release|x64.Build.0 = Release|x64 - EndGlobalSection - GlobalSection(SolutionProperties) = preSolution - HideSolutionNode = FALSE - EndGlobalSection -EndGlobal diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118HG/Util9118.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118HG/Util9118.suo deleted file mode 100644 index 417c9be..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118HG/Util9118.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118HG/Util9118.vcproj b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118HG/Util9118.vcproj deleted file mode 100644 index 5781fd4..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118HG/Util9118.vcproj +++ /dev/null @@ -1,306 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118HG/Util9118Dlg.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118HG/Util9118Dlg.cpp deleted file mode 100644 index 7844387..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118HG/Util9118Dlg.cpp +++ /dev/null @@ -1,1077 +0,0 @@ - -// Util9118Dlg.cpp : implementation file -// - -#include "stdafx.h" -#include "Util9118.h" -#include "Util9118Dlg.h" - -#ifdef _DEBUG -#define new DEBUG_NEW -#endif - -CRect plotRect0, plotRect1; - - -// CAboutDlg dialog used for App About - -class CAboutDlg : public CDialog -{ -public: - CAboutDlg(); - -// Dialog Data - enum { IDD = IDD_ABOUTBOX }; - - protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - -// Implementation -protected: - DECLARE_MESSAGE_MAP() -}; - -CAboutDlg::CAboutDlg() : CDialog(CAboutDlg::IDD) -{ -} - -void CAboutDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); -} - -BEGIN_MESSAGE_MAP(CAboutDlg, CDialog) -END_MESSAGE_MAP() - - -// CUtil9118Dlg dialog - - - - -CUtil9118Dlg::CUtil9118Dlg(I16 hCard, U16 wCardType, U16 wInputSignal, U16 wInputMode, CWnd* pParent /*=NULL*/) - : CDialog(CUtil9118Dlg::IDD, pParent) -{ - m_hIcon = AfxGetApp()->LoadIcon(IDR_MAINFRAME); - - m_hCard = hCard; - m_wCardType = wCardType; - m_wInputSignal = wInputSignal; - m_wInputMode = wInputMode; - - n_PlotWidth = n_PlotHeight = -1; - OnBrush = OffBrush = NULL; - - min_val = 0x00; - max_val = 0x0FFF; - - for( int i=0; iAppendMenu(MF_SEPARATOR); - pSysMenu->AppendMenu(MF_STRING, IDM_ABOUTBOX, strAboutMenu); - } - } - - // Set the icon for this dialog. The framework does this automatically - // when the application's main window is not a dialog - SetIcon(m_hIcon, TRUE); // Set big icon - SetIcon(m_hIcon, FALSE); // Set small icon - - x_divider = 5; y_divider = 2; - - OnBrush = CreateSolidBrush( RGB(255,0,0) ); - OffBrush = CreateSolidBrush( RGB(125,0,0) ); - - RedPen.CreatePen( PS_SOLID, 1, RGB(255,0,0)); - GreenPen.CreatePen( PS_SOLID, 1, RGB(0,255,0)); - YellowPen.CreatePen( PS_SOLID, 1, RGB(255,255,0)); - BluePen.CreatePen( PS_SOLID, 1, RGB(0,0,255)); - LTBluePen.CreatePen( PS_SOLID, 1, RGB(0,128,255)); - LTRedPen.CreatePen( PS_SOLID, 1, RGB(255,128,0)); - LTGreenPen.CreatePen( PS_SOLID, 1, RGB(0,128,0)); - WhitePen.CreatePen( PS_SOLID, 1, RGB(255,255,255)); - - if( n_PlotWidth == -1 && n_PlotHeight == -1 ) - { - ((CWnd*)GetDlgItem(IDC_STATIC_DRAW0))->GetWindowRect(&plotRect0); - ScreenToClient(&plotRect0); - - n_PlotWidth = min( plotRect0.Width(), 512); - n_PlotHeight = plotRect0.Height() - 10; - - ((CWnd*)GetDlgItem(IDC_STATIC_DRAW1))->GetWindowRect(&plotRect1); - ScreenToClient(&plotRect1); - } - - - // TODO: Add extra initialization here - info.cbSize = sizeof(SCROLLINFO); - info.fMask = SIF_ALL; - info.nMin = 0; - info.nMax = 4095; - info.nPage = 2; - info.nPos = 0; - info.nTrackPos = 2; - m_scBarAO.SetScrollInfo(&info); - m_nAOValue = 0; - - m_cbAIRange.SetCurSel( 0 ); - max_range = 5.0; - min_range = -5.0; - m_wAdRange = AD_B_5_V; - - - AI_9118_Config(m_hCard, (m_wInputSignal|m_wInputMode),0 ,0 ,0 ); - - m_nTimer = SetTimer( 1, 100, NULL ); - - return TRUE; // return TRUE unless you set the focus to a control -} - -void CUtil9118Dlg::OnSysCommand(UINT nID, LPARAM lParam) -{ - if ((nID & 0xFFF0) == IDM_ABOUTBOX) - { - CAboutDlg dlgAbout; - dlgAbout.DoModal(); - } - else - { - CDialog::OnSysCommand(nID, lParam); - } -} - -// If you add a minimize button to your dialog, you will need the code below -// to draw the icon. For MFC applications using the document/view model, -// this is automatically done for you by the framework. - -void CUtil9118Dlg::OnPaint() -{ - if (IsIconic()) - { - CPaintDC dc(this); // device context for painting - - SendMessage(WM_ICONERASEBKGND, reinterpret_cast(dc.GetSafeHdc()), 0); - - // Center icon in client rectangle - int cxIcon = GetSystemMetrics(SM_CXICON); - int cyIcon = GetSystemMetrics(SM_CYICON); - CRect rect; - GetClientRect(&rect); - int x = (rect.Width() - cxIcon + 1) / 2; - int y = (rect.Height() - cyIcon + 1) / 2; - - // Draw the icon - dc.DrawIcon(x, y, m_hIcon); - } - else - { - redraw_display_area(); - CDialog::OnPaint(); - } -} - -// The system calls this function to obtain the cursor to display while the user drags -// the minimized window. -HCURSOR CUtil9118Dlg::OnQueryDragIcon() -{ - return static_cast(m_hIcon); -} - - -void CUtil9118Dlg::OnHScroll(UINT nSBCode, UINT nPos, CScrollBar* pScrollBar) -{ - // TODO: Add your message handler code here and/or call default - int minpos; - int maxpos; - double fAOValue; - CString strTmp; - - m_scBarAO.GetScrollRange(&minpos, &maxpos); - maxpos = m_scBarAO.GetScrollLimit(); - - // Get the current position of scroll box. - int curpos = m_scBarAO.GetScrollPos(); - - // Determine the new position of scroll box. - switch (nSBCode) - { - case SB_LINELEFT: // Scroll left. - if (curpos > minpos) - curpos--; - break; - - case SB_LINERIGHT: // Scroll right. - if (curpos < maxpos) - curpos++; - break; - - case SB_THUMBPOSITION: // Scroll to absolute position. nPos is the position - curpos = nPos; // of the scroll box at the end of the drag operation. - - break; - - case SB_LEFT: // Scroll to far left. - case SB_RIGHT: // Scroll to far right. - case SB_ENDSCROLL: // End scroll. - case SB_PAGELEFT: // Scroll one page left. - case SB_PAGERIGHT: // Scroll one page right. - case SB_THUMBTRACK: // Drag scroll box to specified position. nPos is the - - break; - } - - // Set the new position of the thumb (scroll box). - m_scBarAO.SetScrollPos(curpos); - - if( m_nAOValue != curpos ) - { - // update the m_nAOValue value, and output AO - m_nAOValue = curpos; - fAOValue = ( 20.0 * (double)curpos / (double)(maxpos - minpos) ) - 10.0; - strTmp.Format( TEXT("%.02f"), fAOValue ); - SetDlgItemText( IDC_EDIT_AO, strTmp ); - - AO_WriteChannel(m_hCard, 0, curpos); - } - - - CDialog::OnHScroll(nSBCode, nPos, pScrollBar); -} - - - -void CUtil9118Dlg::OnDestroy() -{ - CDialog::OnDestroy(); - - // TODO: Add your message handler code here - - if( m_nTimer != -1 ) - { - KillTimer( m_nTimer ); - m_nTimer = -1; - } - - if( OnBrush != NULL ) - ::DeleteObject( OnBrush ); - - if( OffBrush != NULL ) - ::DeleteObject( OffBrush ); - - RedPen.DeleteObject(); - GreenPen.DeleteObject(); - YellowPen.DeleteObject(); - BluePen.DeleteObject(); - LTBluePen.DeleteObject(); - LTRedPen.DeleteObject(); - LTGreenPen.DeleteObject(); - WhitePen.DeleteObject(); -} - -void CUtil9118Dlg::OnAIRangeSelchange() -{ - // TODO: Add your control notification handler code here - U16 tmpAdRange; - int nIndex; - double maxRange, minRange; - - nIndex = m_cbAIRange.GetCurSel(); - switch( nIndex ) - { - case 0: - tmpAdRange = AD_B_5_V; - maxRange = 5.0; - minRange = -5.0; - break; - case 1: - - tmpAdRange = AD_B_0_5_V; - maxRange = 0.5; - minRange = -0.5; - break; - case 2: - tmpAdRange = AD_B_0_05_V; - maxRange = 0.05; - minRange = -0.05; - break; - case 3: - tmpAdRange = AD_B_0_005_V; - maxRange = 0.005; - minRange = -0.005; - break; - case 4: - tmpAdRange = AD_U_10_V; - maxRange = 10.0; - minRange = 0.0; - break; - case 5: - tmpAdRange = AD_U_1_V; - maxRange = 1.0; - minRange = 0.0; - break; - case 6: - tmpAdRange = AD_U_0_1_V; - maxRange = 0.1; - minRange = 0.0; - break; - case 7: - tmpAdRange = AD_U_0_01_V; - maxRange = 0.01; - minRange = 0.0; - break; - } - - - if( tmpAdRange != m_wAdRange ) - { // update m_InPortA and configure the target Port - m_wAdRange = tmpAdRange; - - max_range = maxRange; - min_range = minRange; - - redraw_display_area(); - - } - -} - -void CUtil9118Dlg::OnAI00Enable() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_RADIO_CH0 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_AIEnable[0] = 0x01; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_AIEnable[0] = 0x00; - } -} - -void CUtil9118Dlg::OnAI01Enable() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_RADIO_CH1 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_AIEnable[1] = 0x01; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_AIEnable[1] = 0x00; - } -} - -void CUtil9118Dlg::OnAI02Enable() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_RADIO_CH2 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_AIEnable[2] = 0x01; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_AIEnable[2] = 0x00; - } -} - -void CUtil9118Dlg::OnAI03Enable() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_RADIO_CH3 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_AIEnable[3] = 0x01; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_AIEnable[3] = 0x00; - } -} - -void CUtil9118Dlg::OnAI04Enable() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_RADIO_CH4 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_AIEnable[4] = 0x01; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_AIEnable[4] = 0x00; - } -} - -void CUtil9118Dlg::OnAI05Enable() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_RADIO_CH5 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_AIEnable[5] = 0x01; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_AIEnable[5] = 0x00; - } -} - -void CUtil9118Dlg::OnAI06Enable() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_RADIO_CH6 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_AIEnable[6] = 0x01; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_AIEnable[6] = 0x00; - } -} - -void CUtil9118Dlg::OnAI07Enable() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_RADIO_CH7 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_AIEnable[7] = 0x01; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_AIEnable[7] = 0x00; - } -} - -void CUtil9118Dlg::OnAI08Enable() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_RADIO_CH8 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_AIEnable[8] = 0x01; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_AIEnable[8] = 0x00; - } -} - -void CUtil9118Dlg::OnAI09Enable() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_RADIO_CH9 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_AIEnable[9] = 0x01; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_AIEnable[9] = 0x00; - } -} - -void CUtil9118Dlg::OnAI10Enable() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_RADIO_CH10 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_AIEnable[10] = 0x01; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_AIEnable[10] = 0x00; - } -} - -void CUtil9118Dlg::OnAI11Enable() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_RADIO_CH11 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_AIEnable[11] = 0x01; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_AIEnable[11] = 0x00; - } -} - -void CUtil9118Dlg::OnAI12Enable() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_RADIO_CH12 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_AIEnable[12] = 0x01; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_AIEnable[12] = 0x00; - } -} - -void CUtil9118Dlg::OnAI13Enable() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_RADIO_CH13 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_AIEnable[13] = 0x01; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_AIEnable[13] = 0x00; - } -} - -void CUtil9118Dlg::OnAI14Enable() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_RADIO_CH14 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_AIEnable[14] = 0x01; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_AIEnable[14] = 0x00; - } -} - -void CUtil9118Dlg::OnAI15Enable() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_RADIO_CH15 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_AIEnable[15] = 0x01; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_AIEnable[15] = 0x00; - } -} - -void CUtil9118Dlg::OnDo00() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_DO00 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_OutData |= 0x01; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_OutData &= (~0x01); - } - - DO_WritePort(m_hCard, 0, m_OutData); -} - -void CUtil9118Dlg::OnDo01() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_DO01 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_OutData |= 0x02; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_OutData &= (~0x02); - } - - DO_WritePort(m_hCard, 0, m_OutData); -} - -void CUtil9118Dlg::OnDo02() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_DO02 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_OutData |= 0x04; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_OutData &= (~0x04); - } - - DO_WritePort(m_hCard, 0, m_OutData); -} - -void CUtil9118Dlg::OnDo03() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_DO03 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_OutData |= 0x08; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_OutData &= (~0x08); - } - - DO_WritePort(m_hCard, 0, m_OutData); -} - - -void CUtil9118Dlg::OnTimer(UINT_PTR nIDEvent) -{ - // TODO: Add your message handler code here and/or call default - U32 dwPortData,dwChangeMask; - I16 err; - - err = DI_ReadPort(m_hCard, 0, &dwPortData); - dwChangeMask = dwPortData ^ m_InData; - - if( dwChangeMask != 0x00 ) // Input had been changed - { - - m_InData = dwPortData; - - if( (dwChangeMask & 0x0001) == 0x0001 ) // if the target bit is changed - { - if( (dwPortData & 0x0001) == 0x0001 ) - { - m_Icon_IN00.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_IN00.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - - if( (dwChangeMask & 0x0002) == 0x0002 ) // if the target bit is changed - { - if( (dwPortData & 0x0002) == 0x0002 ) - { - m_Icon_IN01.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_IN01.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - if( (dwChangeMask & 0x0004) == 0x0004 ) // if the target bit is changed - { - if( (dwPortData & 0x0004) == 0x0004 ) - { - m_Icon_IN02.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_IN02.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - if( (dwChangeMask & 0x0008) == 0x0008 ) // if the target bit is changed - { - if( (dwPortData & 0x0008) == 0x0008 ) - { - m_Icon_IN03.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_IN03.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - } - - for( int i=0; i> 4; - newY = (int)( nDraw_Bottom - ((n_PlotHeight * ai_data) >> 12 ) ); // (n_PlotHeight * ai_data / 4096 ) ); // ( (n_PlotHeight/2) * ai_data/2048 ) ); - - if ( m_oldY[i] !=-1 ) - { - dc_plot.MoveTo( plotRect0.left+2, newY ); - dc_plot.LineTo( plotRect0.left+5, m_oldY[i] ); - } - - m_oldY[i] = newY; - } - } - - return 0; -} diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118HG/Util9118Dlg.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118HG/Util9118Dlg.h deleted file mode 100644 index 098a967..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118HG/Util9118Dlg.h +++ /dev/null @@ -1,107 +0,0 @@ - -// Util9118Dlg.h : header file -// - -#pragma once -#include "afxcmn.h" -#include "afxwin.h" - -#include "Dask64.h" - -#ifndef MAX_CHAN_9118 -#define MAX_CHAN_9118 16 -#endif - -// CUtil9118Dlg dialog -class CUtil9118Dlg : public CDialog -{ -// Construction -public: - CUtil9118Dlg(I16 hCard, U16 wCardType, U16 wInputSignal, U16 wInputMode, CWnd* pParent = NULL); // standard constructor - -// Dialog Data - enum { IDD = IDD_UTIL9118_DIALOG }; - - protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - - -// Implementation -protected: - HICON m_hIcon; - UINT_PTR m_nTimer; - I16 m_hCard; - U16 m_wCardType; - U16 m_wInputSignal; - U16 m_wInputMode; - int m_nAOValue; - U16 m_wAdRange; - U8 m_AIEnable[MAX_CHAN_9118]; - U16 m_AIData[MAX_CHAN_9118]; - U32 m_OutData; - U32 m_InData; - - // Generated message map functions - virtual BOOL OnInitDialog(); - afx_msg void OnSysCommand(UINT nID, LPARAM lParam); - afx_msg void OnPaint(); - afx_msg HCURSOR OnQueryDragIcon(); - DECLARE_MESSAGE_MAP() -public: - CScrollBar m_scBarAO; - afx_msg void OnHScroll(UINT nSBCode, UINT nPos, CScrollBar* pScrollBar); - CComboBox m_cbAIRange; - WORD max_val; - WORD min_val; - double max_range; - double min_range; - int n_PlotWidth; - int n_PlotHeight; - int y_divider; - int x_divider; - int m_DisplayScale; - int m_oldY[MAX_CHAN_9118]; - HBRUSH OnBrush; - HBRUSH OffBrush; - CPen RedPen; - CPen GreenPen; - CPen YellowPen; - CPen BluePen; - CPen LTBluePen; - CPen LTRedPen; - CPen LTGreenPen; - CPen WhitePen; - -private: - void redraw_display_area(void); -public: - afx_msg void OnDestroy(); - afx_msg void OnAIRangeSelchange(); - afx_msg void OnAI00Enable(); - afx_msg void OnAI01Enable(); - afx_msg void OnAI02Enable(); - afx_msg void OnAI03Enable(); - afx_msg void OnAI04Enable(); - afx_msg void OnAI05Enable(); - afx_msg void OnAI06Enable(); - afx_msg void OnAI07Enable(); - afx_msg void OnAI08Enable(); - afx_msg void OnAI09Enable(); - afx_msg void OnAI10Enable(); - afx_msg void OnAI11Enable(); - afx_msg void OnAI12Enable(); - afx_msg void OnAI13Enable(); - afx_msg void OnAI14Enable(); - afx_msg void OnAI15Enable(); - afx_msg void OnDo00(); - afx_msg void OnDo01(); - afx_msg void OnDo02(); - afx_msg void OnDo03(); - afx_msg void OnTimer(UINT_PTR nIDEvent); - CStatic m_Icon_IN00; - CStatic m_Icon_IN01; - CStatic m_Icon_IN02; - CStatic m_Icon_IN03; -private: - int display_buffer_data(void); -}; diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118HG/res/Util9118.ico b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118HG/res/Util9118.ico deleted file mode 100644 index d56fbcd..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118HG/res/Util9118.ico and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118HG/res/Util9118.rc2 b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118HG/res/Util9118.rc2 deleted file mode 100644 index 4b43b56..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118HG/res/Util9118.rc2 +++ /dev/null @@ -1,13 +0,0 @@ -// -// Util9111.RC2 - resources Microsoft Visual C++ does not edit directly -// - -#ifdef APSTUDIO_INVOKED -#error this file is not editable by Microsoft Visual C++ -#endif //APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// Add manually edited resources here... - -///////////////////////////////////////////////////////////////////////////// diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118HG/res/black.ico b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118HG/res/black.ico deleted file mode 100644 index b5c375f..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118HG/res/black.ico and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118HG/res/blue.ico b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118HG/res/blue.ico deleted file mode 100644 index 1df4b39..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118HG/res/blue.ico and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118HG/res/ch_set1.bmp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118HG/res/ch_set1.bmp deleted file mode 100644 index f2374ed..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118HG/res/ch_set1.bmp and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118HG/res/ch_set2.bmp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118HG/res/ch_set2.bmp deleted file mode 100644 index 32d0915..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118HG/res/ch_set2.bmp and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118HG/res/green.ico b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118HG/res/green.ico deleted file mode 100644 index d9a9fd3..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118HG/res/green.ico and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118HG/res/icon1.ico b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118HG/res/icon1.ico deleted file mode 100644 index f1282c6..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118HG/res/icon1.ico and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118HG/res/pink.ico b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118HG/res/pink.ico deleted file mode 100644 index 18bdaad..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118HG/res/pink.ico and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118HG/res/red.ico b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118HG/res/red.ico deleted file mode 100644 index 7644596..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118HG/res/red.ico and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118HG/res/yellow.ico b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118HG/res/yellow.ico deleted file mode 100644 index 3449de2..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118HG/res/yellow.ico and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118HG/resource.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118HG/resource.h deleted file mode 100644 index 21da6c9..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118HG/resource.h +++ /dev/null @@ -1,63 +0,0 @@ -//{{NO_DEPENDENCIES}} -// Microsoft Visual C++ generated include file. -// Used by Util9118.rc -// -#define IDM_ABOUTBOX 0x0010 -#define IDD_ABOUTBOX 100 -#define IDS_ABOUTBOX 101 -#define IDD_UTIL9118_DIALOG 102 -#define IDR_MAINFRAME 128 -#define IDI_ICON_BLACK 130 -#define IDI_ICON_RED 131 -#define IDB_BITMAP_SET1 132 -#define IDB_BITMAP_SET2 133 -#define IDD_CARDID_DIALOG 135 -#define IDC_STATIC_DRAW0 1000 -#define IDC_STATIC_DRAW1 1001 -#define IDC_COMBO_CARDID 1002 -#define IDC_SCROLLBAR1 1003 -#define IDC_COMBO_INPUT_SIGNAL 1003 -#define IDC_COMBO_CARDTYPE 1004 -#define IDC_ICON_DI00 1005 -#define IDC_COMBO_INPUT_SIGNAL2 1005 -#define IDC_COMBO_INPUT_MODE 1005 -#define IDC_ICON_DI01 1006 -#define IDC_ICON_DI02 1007 -#define IDC_ICON_DI03 1008 -#define IDC_STATIC_01 1009 -#define IDC_STATIC_2 1010 -#define IDC_RADIO_CH0 1011 -#define IDC_STATIC_3 1011 -#define IDC_RADIO_CH1 1012 -#define IDC_STATIC_4 1012 -#define IDC_RADIO_CH2 1013 -#define IDC_RADIO_CH3 1014 -#define IDC_RADIO_CH4 1015 -#define IDC_RADIO_CH5 1016 -#define IDC_RADIO_CH6 1017 -#define IDC_RADIO_CH7 1018 -#define IDC_RADIO_CH8 1019 -#define IDC_RADIO_CH9 1020 -#define IDC_RADIO_CH10 1021 -#define IDC_RADIO_CH11 1022 -#define IDC_RADIO_CH12 1023 -#define IDC_RADIO_CH13 1024 -#define IDC_RADIO_CH14 1025 -#define IDC_RADIO_CH15 1026 -#define IDC_CHECK_DO00 1027 -#define IDC_CHECK_DO01 1028 -#define IDC_CHECK_DO02 1029 -#define IDC_CHECK_DO03 1030 -#define IDC_COMBO_AI_RANGE 1031 -#define IDC_EDIT_AO 1032 - -// Next default values for new objects -// -#ifdef APSTUDIO_INVOKED -#ifndef APSTUDIO_READONLY_SYMBOLS -#define _APS_NEXT_RESOURCE_VALUE 137 -#define _APS_NEXT_COMMAND_VALUE 32771 -#define _APS_NEXT_CONTROL_VALUE 1033 -#define _APS_NEXT_SYMED_VALUE 101 -#endif -#endif diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118HG/stdafx.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118HG/stdafx.cpp deleted file mode 100644 index c8c8934..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118HG/stdafx.cpp +++ /dev/null @@ -1,8 +0,0 @@ - -// stdafx.cpp : source file that includes just the standard includes -// Util9111.pch will be the pre-compiled header -// stdafx.obj will contain the pre-compiled type information - -#include "stdafx.h" - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118HG/stdafx.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118HG/stdafx.h deleted file mode 100644 index 12123e2..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118HG/stdafx.h +++ /dev/null @@ -1,60 +0,0 @@ - -// stdafx.h : include file for standard system include files, -// or project specific include files that are used frequently, -// but are changed infrequently - -#pragma once - -#ifndef _SECURE_ATL -#define _SECURE_ATL 1 -#endif - -#ifndef VC_EXTRALEAN -#define VC_EXTRALEAN // Exclude rarely-used stuff from Windows headers -#endif - -#include "targetver.h" - -#define _ATL_CSTRING_EXPLICIT_CONSTRUCTORS // some CString constructors will be explicit - -// turns off MFC's hiding of some common and often safely ignored warning messages -#define _AFX_ALL_WARNINGS - -#include // MFC core and standard components -#include // MFC extensions - - -#include // MFC Automation classes - - - -#ifndef _AFX_NO_OLE_SUPPORT -#include // MFC support for Internet Explorer 4 Common Controls -#endif -#ifndef _AFX_NO_AFXCMN_SUPPORT -#include // MFC support for Windows Common Controls -#endif // _AFX_NO_AFXCMN_SUPPORT - -#include // MFC support for ribbons and control bars - - - - - - - - - -#ifdef _UNICODE -#if defined _M_IX86 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='x86' publicKeyToken='6595b64144ccf1df' language='*'\"") -#elif defined _M_IA64 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='ia64' publicKeyToken='6595b64144ccf1df' language='*'\"") -#elif defined _M_X64 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='amd64' publicKeyToken='6595b64144ccf1df' language='*'\"") -#else -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='*' publicKeyToken='6595b64144ccf1df' language='*'\"") -#endif -#endif - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118HG/targetver.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118HG/targetver.h deleted file mode 100644 index 11730d5..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118HG/targetver.h +++ /dev/null @@ -1,26 +0,0 @@ - -#pragma once - -// The following macros define the minimum required platform. The minimum required platform -// is the earliest version of Windows, Internet Explorer etc. that has the necessary features to run -// your application. The macros work by enabling all features available on platform versions up to and -// including the version specified. - -// Modify the following defines if you have to target a platform prior to the ones specified below. -// Refer to MSDN for the latest info on corresponding values for different platforms. -#ifndef WINVER // Specifies that the minimum required platform is Windows Vista. -#define WINVER 0x0600 // Change this to the appropriate value to target other versions of Windows. -#endif - -#ifndef _WIN32_WINNT // Specifies that the minimum required platform is Windows Vista. -#define _WIN32_WINNT 0x0600 // Change this to the appropriate value to target other versions of Windows. -#endif - -#ifndef _WIN32_WINDOWS // Specifies that the minimum required platform is Windows 98. -#define _WIN32_WINDOWS 0x0410 // Change this to the appropriate value to target Windows Me or later. -#endif - -#ifndef _WIN32_IE // Specifies that the minimum required platform is Internet Explorer 7.0. -#define _WIN32_IE 0x0700 // Change this to the appropriate value to target other versions of IE. -#endif - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118SPostTrg/9111int.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118SPostTrg/9111int.suo deleted file mode 100644 index 8a4412a..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118SPostTrg/9111int.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118SPostTrg/9118SPtg.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118SPostTrg/9118SPtg.cpp deleted file mode 100644 index 8a3678c..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118SPostTrg/9118SPtg.cpp +++ /dev/null @@ -1,109 +0,0 @@ - -// 9118SPtg.cpp : Defines the class behaviors for the application. -// - -#include "stdafx.h" -#include "9118SPtg.h" -#include "9118SPtgDlg.h" -#include "CardIDDlg.h" - -#ifdef _DEBUG -#define new DEBUG_NEW -#endif - - -// C9118SPtgApp - -BEGIN_MESSAGE_MAP(C9118SPtgApp, CWinAppEx) - ON_COMMAND(ID_HELP, &CWinApp::OnHelp) -END_MESSAGE_MAP() - - -// C9118SPtgApp construction - -C9118SPtgApp::C9118SPtgApp() -{ - // TODO: add construction code here, - // Place all significant initialization in InitInstance -} - - -// The one and only C9118SPtgApp object - -C9118SPtgApp theApp; - - -// C9118SPtgApp initialization - -BOOL C9118SPtgApp::InitInstance() -{ - int nCardID = 0; - I16 hCard; - CString strTemp; - INT_PTR nResponse; - - // InitCommonControlsEx() is required on Windows XP if an application - // manifest specifies use of ComCtl32.dll version 6 or later to enable - // visual styles. Otherwise, any window creation will fail. - INITCOMMONCONTROLSEX InitCtrls; - InitCtrls.dwSize = sizeof(InitCtrls); - // Set this to include all the common control classes you want to use - // in your application. - InitCtrls.dwICC = ICC_WIN95_CLASSES; - InitCommonControlsEx(&InitCtrls); - - CWinAppEx::InitInstance(); - - AfxEnableControlContainer(); - - // Standard initialization - // If you are not using these features and wish to reduce the size - // of your final executable, you should remove from the following - // the specific initialization routines you do not need - // Change the registry key under which our settings are stored - // TODO: You should modify this string to be something appropriate - // such as the name of your company or organization - SetRegistryKey(_T("Local AppWizard-Generated Applications")); - - CCardIDDlg CardDlg( nCardID ); - - nResponse = CardDlg.DoModal(); - if (nResponse == IDOK) - { - nCardID = CardDlg.GetCardID(); - - if ((hCard=Register_Card(PCI_9118DG, nCardID)) < 0) - { - strTemp.Format( TEXT("Register_Card Error = %d"), hCard); - AfxMessageBox( strTemp ); - } - else - { - C9118SPtgDlg dlg(hCard); - m_pMainWnd = &dlg; - nResponse = dlg.DoModal(); - if (nResponse == IDOK) - { - // TODO: Place code here to handle when the dialog is - // dismissed with OK - } - else if (nResponse == IDCANCEL) - { - // TODO: Place code here to handle when the dialog is - // dismissed with Cancel - } - - if (hCard >= 0) Release_Card(hCard); - } - - } - else if (nResponse == IDCANCEL) - { - // TODO: Place code here to handle when the dialog is - // dismissed with Cancel - } - - // Since the dialog has been closed, return FALSE so that we exit the - // application, rather than start the application's message pump. - return FALSE; -} diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118SPostTrg/9118SPtg.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118SPostTrg/9118SPtg.h deleted file mode 100644 index 0bb06a2..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118SPostTrg/9118SPtg.h +++ /dev/null @@ -1,32 +0,0 @@ - -// 9118SPtg.h : main header file for the PROJECT_NAME application -// - -#pragma once - -#ifndef __AFXWIN_H__ - #error "include 'stdafx.h' before including this file for PCH" -#endif - -#include "resource.h" // main symbols - - -// C9118SPtgApp: -// See 9118SPtg.cpp for the implementation of this class -// - -class C9118SPtgApp : public CWinAppEx -{ -public: - C9118SPtgApp(); - -// Overrides - public: - virtual BOOL InitInstance(); - -// Implementation - - DECLARE_MESSAGE_MAP() -}; - -extern C9118SPtgApp theApp; \ No newline at end of file diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118SPostTrg/9118SPtg.rc b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118SPostTrg/9118SPtg.rc deleted file mode 100644 index 59e208b..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118SPostTrg/9118SPtg.rc +++ /dev/null @@ -1,302 +0,0 @@ -// Microsoft Visual C++ generated resource script. -// -#include "resource.h" - -#define APSTUDIO_READONLY_SYMBOLS -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 2 resource. -// -#ifndef APSTUDIO_INVOKED -#include "targetver.h" -#endif -#include "afxres.h" - -///////////////////////////////////////////////////////////////////////////// -#undef APSTUDIO_READONLY_SYMBOLS - -///////////////////////////////////////////////////////////////////////////// -// Chinese (Taiwan) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_CHT) -#ifdef _WIN32 -LANGUAGE LANG_CHINESE, SUBLANG_CHINESE_TRADITIONAL -#pragma code_page(950) -#endif //_WIN32 - -#ifdef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// TEXTINCLUDE -// - -1 TEXTINCLUDE -BEGIN - "resource.h\0" -END - -2 TEXTINCLUDE -BEGIN - "#ifndef APSTUDIO_INVOKED\r\n" - "#include ""targetver.h""\r\n" - "#endif\r\n" - "#include ""afxres.h""\r\n" - "\0" -END - -3 TEXTINCLUDE -BEGIN - "#define _AFX_NO_SPLITTER_RESOURCES\r\n" - "#define _AFX_NO_OLE_RESOURCES\r\n" - "#define _AFX_NO_TRACKER_RESOURCES\r\n" - "#define _AFX_NO_PROPERTY_RESOURCES\r\n" - "\r\n" - "#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)\r\n" - "LANGUAGE 9, 1\r\n" - "#pragma code_page(1252)\r\n" - "#include ""res\\My9118SPtg.rc2"" // non-Microsoft Visual C++ edited resources\r\n" - "#include ""afxres.rc"" // Standard components\r\n" - "#endif\r\n" - "\0" -END - -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// Icon -// - -// Icon with lowest ID value placed first to ensure application icon -// remains consistent on all systems. -IDR_MAINFRAME ICON "res\\9118SPtg.ico" -#endif // Chinese (Taiwan) resources -///////////////////////////////////////////////////////////////////////////// - - -///////////////////////////////////////////////////////////////////////////// -// English (U.S.) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -#ifdef _WIN32 -LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US -#pragma code_page(1252) -#endif //_WIN32 - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog -// - -IDD_ABOUTBOX DIALOGEX 0, 0, 170, 62 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "About 9118SPtg" -FONT 8, "MS Shell Dlg", 0, 0, 0x1 -BEGIN - ICON IDR_MAINFRAME,IDC_STATIC,14,14,21,20 - LTEXT "9118SPtg, Version 1.0",IDC_STATIC,42,14,114,8,SS_NOPREFIX - LTEXT "Copyright (C) 2010",IDC_STATIC,42,26,114,8 - DEFPUSHBUTTON "OK",IDOK,113,41,50,14,WS_GROUP -END - -IDD_9118DMA_DIALOG DIALOGEX 0, 0, 365, 232 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU -EXSTYLE WS_EX_APPWINDOW -CAPTION "PCI-9118DG Single Buffer DMA by Post Trigger Mode" -FONT 8, "MS Shell Dlg", 0, 0, 0x1 -BEGIN - GROUPBOX "",IDC_STATIC_DRAW,45,9,248,161,NOT WS_VISIBLE - LTEXT "Range : +/- 5V",IDC_STATIC,299,129,52,15 - LTEXT "Buffer Size",IDC_STATIC,124,183,42,9 - EDITTEXT IDC_EDIT_SAMPLE_RATE,47,196,39,14,ES_AUTOHSCROLL | ES_READONLY - LTEXT "Sample Rate :",IDC_STATIC,47,182,49,9 - LTEXT "KHz",IDC_STATIC,99,199,15,9 - SCROLLBAR IDC_SCROLLBAR_RATE,87,196,9,11,SBS_VERT - PUSHBUTTON "Start",IDC_BT_START,230,188,55,22 - CONTROL "0",IDC_RADIO_CH0,"Button",BS_AUTORADIOBUTTON | BS_LEFTTEXT,307,20,16,12 - CONTROL "1",IDC_RADIO_CH1,"Button",BS_AUTORADIOBUTTON | BS_LEFTTEXT,307,35,16,12 - CONTROL "2",IDC_RADIO_CH2,"Button",BS_AUTORADIOBUTTON | BS_LEFTTEXT,307,49,16,12 - CONTROL "3",IDC_RADIO_CH3,"Button",BS_AUTORADIOBUTTON | BS_LEFTTEXT,307,64,16,12 - CONTROL "4",IDC_RADIO_CH4,"Button",BS_AUTORADIOBUTTON | BS_LEFTTEXT,331,20,16,12 - CONTROL "5",IDC_RADIO_CH5,"Button",BS_AUTORADIOBUTTON | BS_LEFTTEXT,331,35,16,12 - CONTROL "6",IDC_RADIO_CH6,"Button",BS_AUTORADIOBUTTON | BS_LEFTTEXT,331,49,16,12 - CONTROL "7",IDC_RADIO_CH7,"Button",BS_AUTORADIOBUTTON | BS_LEFTTEXT,331,64,16,12 - EDITTEXT IDC_EDIT_BUF_SIZE,122,196,46,14,ES_AUTOHSCROLL - PUSHBUTTON "Stop",IDC_BT_STOP,291,188,55,22 - LTEXT "Post Count",IDC_STATIC_TRACE_CNT,181,182,42,9,NOT WS_VISIBLE - EDITTEXT IDC_EDIT_TRACE_CNT,179,195,46,14,ES_AUTOHSCROLL | NOT WS_VISIBLE -END - -IDD_CARDID_DIALOG DIALOGEX 0, 0, 174, 82 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "Card ID" -FONT 8, "MS Shell Dlg", 400, 0, 0x1 -BEGIN - COMBOBOX IDC_COMBO_CARDID,75,24,71,126,CBS_DROPDOWN | WS_VSCROLL | WS_TABSTOP - LTEXT "Card Number",IDC_STATIC_01,21,25,46,12 - PUSHBUTTON "OK",IDOK,22,44,58,19 - PUSHBUTTON "CANCEL",IDCANCEL,86,44,58,19 -END - - -///////////////////////////////////////////////////////////////////////////// -// -// Version -// - -VS_VERSION_INFO VERSIONINFO - FILEVERSION 1,0,0,1 - PRODUCTVERSION 1,0,0,1 - FILEFLAGSMASK 0x3fL -#ifdef _DEBUG - FILEFLAGS 0x1L -#else - FILEFLAGS 0x0L -#endif - FILEOS 0x4L - FILETYPE 0x1L - FILESUBTYPE 0x0L -BEGIN - BLOCK "StringFileInfo" - BEGIN - BLOCK "040904e4" - BEGIN - VALUE "CompanyName", "TODO: " - VALUE "FileDescription", "TODO: " - VALUE "FileVersion", "1.0.0.1" - VALUE "InternalName", "9118SPtg.exe" - VALUE "LegalCopyright", "TODO: (c) . All rights reserved." - VALUE "OriginalFilename", "9118SPtg.exe" - VALUE "ProductName", "TODO: " - VALUE "ProductVersion", "1.0.0.1" - END - END - BLOCK "VarFileInfo" - BEGIN - VALUE "Translation", 0x409, 1252 - END -END - - -///////////////////////////////////////////////////////////////////////////// -// -// DESIGNINFO -// - -#ifdef APSTUDIO_INVOKED -GUIDELINES DESIGNINFO -BEGIN - IDD_ABOUTBOX, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 163 - TOPMARGIN, 7 - BOTTOMMARGIN, 55 - END - - IDD_9118DMA_DIALOG, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 358 - TOPMARGIN, 7 - BOTTOMMARGIN, 225 - END - - IDD_CARDID_DIALOG, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 167 - TOPMARGIN, 7 - BOTTOMMARGIN, 75 - END -END -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog Info -// - -IDD_CARDID_DIALOG DLGINIT -BEGIN - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0030, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0031, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0032, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0033, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0034, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0035, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0036, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0037, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0038, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0039, - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3031, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3131, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3231, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3331, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3431, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3531, "\000" - 0 -END - - -///////////////////////////////////////////////////////////////////////////// -// -// Bitmap -// - -IDB_BITMAP_SET1 BITMAP "res\\ch_set1.bmp" -IDB_BITMAP_SET2 BITMAP "res\\ch_set2.bmp" - -///////////////////////////////////////////////////////////////////////////// -// -// String Table -// - -STRINGTABLE -BEGIN - IDS_ABOUTBOX "&About 9118SPtg..." -END - -#endif // English (U.S.) resources -///////////////////////////////////////////////////////////////////////////// - - - -#ifndef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 3 resource. -// -#define _AFX_NO_SPLITTER_RESOURCES -#define _AFX_NO_OLE_RESOURCES -#define _AFX_NO_TRACKER_RESOURCES -#define _AFX_NO_PROPERTY_RESOURCES - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -LANGUAGE 9, 1 -#pragma code_page(1252) -#include "res\My9118SPtg.rc2" // non-Microsoft Visual C++ edited resources -#include "afxres.rc" // Standard components -#endif - -///////////////////////////////////////////////////////////////////////////// -#endif // not APSTUDIO_INVOKED - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118SPostTrg/9118SPtg.sln b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118SPostTrg/9118SPtg.sln deleted file mode 100644 index 316d40f..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118SPostTrg/9118SPtg.sln +++ /dev/null @@ -1,20 +0,0 @@ - -Microsoft Visual Studio Solution File, Format Version 10.00 -# Visual Studio 2008 -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "9118SPtg", "9118SPtg.vcproj", "{702163FB-B6DF-4EF5-9491-FC54D71509BC}" -EndProject -Global - GlobalSection(SolutionConfigurationPlatforms) = preSolution - Debug|x64 = Debug|x64 - Release|x64 = Release|x64 - EndGlobalSection - GlobalSection(ProjectConfigurationPlatforms) = postSolution - {702163FB-B6DF-4EF5-9491-FC54D71509BC}.Debug|x64.ActiveCfg = Debug|x64 - {702163FB-B6DF-4EF5-9491-FC54D71509BC}.Debug|x64.Build.0 = Debug|x64 - {702163FB-B6DF-4EF5-9491-FC54D71509BC}.Release|x64.ActiveCfg = Release|x64 - {702163FB-B6DF-4EF5-9491-FC54D71509BC}.Release|x64.Build.0 = Release|x64 - EndGlobalSection - GlobalSection(SolutionProperties) = preSolution - HideSolutionNode = FALSE - EndGlobalSection -EndGlobal diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118SPostTrg/9118SPtg.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118SPostTrg/9118SPtg.suo deleted file mode 100644 index 74cfb81..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118SPostTrg/9118SPtg.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118SPostTrg/9118SPtg.vcproj b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118SPostTrg/9118SPtg.vcproj deleted file mode 100644 index f94265c..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118SPostTrg/9118SPtg.vcproj +++ /dev/null @@ -1,294 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118SPostTrg/9118SPtgDlg.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118SPostTrg/9118SPtgDlg.cpp deleted file mode 100644 index 4e9a516..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118SPostTrg/9118SPtgDlg.cpp +++ /dev/null @@ -1,633 +0,0 @@ - -// 9118SPtgDlg.cpp : implementation file -// - -#include "stdafx.h" -#include "9118SPtg.h" -#include "9118SPtgDlg.h" - -#ifdef _DEBUG -#define new DEBUG_NEW -#endif - -CRect plotRect; - -// CAboutDlg dialog used for App About - -class CAboutDlg : public CDialog -{ -public: - CAboutDlg(); - -// Dialog Data - enum { IDD = IDD_ABOUTBOX }; - - protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - -// Implementation -protected: - DECLARE_MESSAGE_MAP() -}; - -CAboutDlg::CAboutDlg() : CDialog(CAboutDlg::IDD) -{ -} - -void CAboutDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); -} - -BEGIN_MESSAGE_MAP(CAboutDlg, CDialog) -END_MESSAGE_MAP() - - -// C9118SPtgDlg dialog - - - - -C9118SPtgDlg::C9118SPtgDlg(I16 hCard, CWnd* pParent /*=NULL*/) - : CDialog(C9118SPtgDlg::IDD, pParent) -{ - m_hIcon = AfxGetApp()->LoadIcon(IDR_MAINFRAME); - - n_PlotWidth = n_PlotHeight = -1; - OnBrush = OffBrush = NULL; - - min_val = 0x00; - max_val = 0x0FFF; - - m_fSampleRate = 10000.0; // 10KHz - - m_hCard = hCard; - - m_wScanChans = 0; - m_nTimer = -1; - m_hMem=NULL; - - m_wRange = AD_B_5_V; - m_dwReadCount = 1000; - m_wChannel = 0; - - m_wCardType = PCI_9118DG; -} - -void C9118SPtgDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); -} - -BEGIN_MESSAGE_MAP(C9118SPtgDlg, CDialog) - ON_WM_SYSCOMMAND() - ON_WM_PAINT() - ON_WM_QUERYDRAGICON() - //}}AFX_MSG_MAP - ON_WM_DESTROY() - ON_WM_VSCROLL() - ON_BN_CLICKED(IDC_BT_START, &C9118SPtgDlg::OnStart) - ON_BN_CLICKED(IDC_RADIO_CH0, &C9118SPtgDlg::OnCh0) - ON_BN_CLICKED(IDC_RADIO_CH1, &C9118SPtgDlg::OnCh1) - ON_BN_CLICKED(IDC_RADIO_CH2, &C9118SPtgDlg::OnCh2) - ON_BN_CLICKED(IDC_RADIO_CH3, &C9118SPtgDlg::OnCh3) - ON_BN_CLICKED(IDC_RADIO_CH4, &C9118SPtgDlg::OnCh4) - ON_BN_CLICKED(IDC_RADIO_CH5, &C9118SPtgDlg::OnCh5) - ON_BN_CLICKED(IDC_RADIO_CH6, &C9118SPtgDlg::OnCh6) - ON_BN_CLICKED(IDC_RADIO_CH7, &C9118SPtgDlg::OnCh7) - ON_WM_TIMER() - ON_BN_CLICKED(IDC_BT_STOP, &C9118SPtgDlg::OnStop) -END_MESSAGE_MAP() - - -// C9118SPtgDlg message handlers - -BOOL C9118SPtgDlg::OnInitDialog() -{ - CDialog::OnInitDialog(); - - // Add "About..." menu item to system menu. - - // IDM_ABOUTBOX must be in the system command range. - ASSERT((IDM_ABOUTBOX & 0xFFF0) == IDM_ABOUTBOX); - ASSERT(IDM_ABOUTBOX < 0xF000); - - CMenu* pSysMenu = GetSystemMenu(FALSE); - if (pSysMenu != NULL) - { - BOOL bNameValid; - CString strAboutMenu; - bNameValid = strAboutMenu.LoadString(IDS_ABOUTBOX); - ASSERT(bNameValid); - if (!strAboutMenu.IsEmpty()) - { - pSysMenu->AppendMenu(MF_SEPARATOR); - pSysMenu->AppendMenu(MF_STRING, IDM_ABOUTBOX, strAboutMenu); - } - } - - // Set the icon for this dialog. The framework does this automatically - // when the application's main window is not a dialog - SetIcon(m_hIcon, TRUE); // Set big icon - SetIcon(m_hIcon, FALSE); // Set small icon - - // TODO: Add extra initialization here - x_divider = 5; y_divider = 4; - - OnBrush = CreateSolidBrush( RGB(255,0,0) ); - OffBrush = CreateSolidBrush( RGB(125,0,0) ); - - RedPen.CreatePen( PS_SOLID, 1, RGB(255,0,0)); - - - if( n_PlotWidth == -1 && n_PlotHeight == -1 ) - { - ((CWnd*)GetDlgItem(IDC_STATIC_DRAW))->GetWindowRect(&plotRect); - ScreenToClient(&plotRect); - - n_PlotWidth = min( plotRect.Width(), 512); - n_PlotHeight = plotRect.Height() - 10; - } - - GetDlgItem( IDC_STATIC_TRACE_CNT )->ShowWindow(TRUE); - GetDlgItem( IDC_EDIT_TRACE_CNT )->ShowWindow(TRUE); - - m_wTraceCount = 512; - SetDlgItemInt( IDC_EDIT_TRACE_CNT, (UINT)m_wTraceCount ); - - - // set the default SampleRate - SetDlgItemInt( IDC_EDIT_SAMPLE_RATE, (UINT)(m_fSampleRate/1000) ); - SetDlgItemInt( IDC_EDIT_BUF_SIZE, (UINT)(m_dwReadCount) ); - ((CButton*)GetDlgItem( IDC_RADIO_CH0 ))->SetCheck( TRUE ); - - m_dwReadCount = 1024; - m_wChannel = 0; - - max_range = 5.0; - min_range = -5.0; - - return TRUE; // return TRUE unless you set the focus to a control -} - -void C9118SPtgDlg::OnSysCommand(UINT nID, LPARAM lParam) -{ - if ((nID & 0xFFF0) == IDM_ABOUTBOX) - { - CAboutDlg dlgAbout; - dlgAbout.DoModal(); - } - else - { - CDialog::OnSysCommand(nID, lParam); - } -} - -// If you add a minimize button to your dialog, you will need the code below -// to draw the icon. For MFC applications using the document/view model, -// this is automatically done for you by the framework. - -void C9118SPtgDlg::OnPaint() -{ - if (IsIconic()) - { - CPaintDC dc(this); // device context for painting - - SendMessage(WM_ICONERASEBKGND, reinterpret_cast(dc.GetSafeHdc()), 0); - - // Center icon in client rectangle - int cxIcon = GetSystemMetrics(SM_CXICON); - int cyIcon = GetSystemMetrics(SM_CYICON); - CRect rect; - GetClientRect(&rect); - int x = (rect.Width() - cxIcon + 1) / 2; - int y = (rect.Height() - cyIcon + 1) / 2; - - // Draw the icon - dc.DrawIcon(x, y, m_hIcon); - } - else - { - redraw_display_area(); - CDialog::OnPaint(); - } -} - -// The system calls this function to obtain the cursor to display while the user drags -// the minimized window. -HCURSOR C9118SPtgDlg::OnQueryDragIcon() -{ - return static_cast(m_hIcon); -} - - -void C9118SPtgDlg::redraw_display_area(void) -{ - CPen *oldPen; - - int oldMode; - COLORREF oldColor; - - CString y_lable; - - CPen minor_tick( PS_SOLID,1,RGB(132,130,132) ); -// CPen y_grid( PS_SOLID,1,RGB(206,203,132) ); - - int i, x_intv, y_intv; -// long total_sec; - - CClientDC dc_plot(this); - - // draw the base-line for x-y axises - oldPen = (CPen *)dc_plot.SelectStockObject(BLACK_PEN); - - // redraw the background - dc_plot.FillSolidRect( plotRect, RGB(0,0,0) ); - - // Re-Draw the AREA for Y-Lable - { - CBrush DIALOG_BRUSH; - CRect redraw_area, full_client; - - GetClientRect(&full_client); - ScreenToClient(&full_client); - - redraw_area.left = full_client.left; - redraw_area.top = plotRect.top - 5; - redraw_area.right = plotRect.left - 3; - redraw_area.bottom = plotRect.bottom + 10; - - DIALOG_BRUSH.CreateSysColorBrush( COLOR_3DFACE ); - - dc_plot.FillRect( redraw_area, &DIALOG_BRUSH ); - - DIALOG_BRUSH.DeleteObject(); - } - - dc_plot.MoveTo( plotRect.left - 3, plotRect.top ); - dc_plot.LineTo( plotRect.left - 3, plotRect.bottom ); - - // calculate the interval for tick/grid - y_intv = (plotRect.Height() - 10) /y_divider; - x_intv = plotRect.Width()/x_divider; - - - // set the color for tick - oldColor = dc_plot.SetTextColor( RGB(0,0,0) ); - oldMode = dc_plot.SetBkMode( TRANSPARENT ); - - for( i=0; i<= y_divider; i++ ) - { - CString tick_str; - CRect tmp_rect, tick_rect; - - // draw the tick for y-axis - dc_plot.MoveTo( plotRect.left -12, plotRect.bottom -5 - (i*y_intv) ); - dc_plot.LineTo( plotRect.left -3, plotRect.bottom -5 - (i*y_intv) ); - - tick_str.Format( _T("%.1f"), ( ((max_range-min_range)/y_divider) * i)+min_range ); - - // calculate the rectangle for text - dc_plot.DrawText( tick_str, &tmp_rect, DT_CALCRECT|DT_SINGLELINE ); - tick_rect.right = plotRect.left -14; - tick_rect.left = tick_rect.right - tmp_rect.Width(); - tick_rect.top = plotRect.bottom -5 - (i*y_intv) - tmp_rect.Height()/2; - tick_rect.bottom = tick_rect.top + tmp_rect.Height(); - - // draw the text - dc_plot.DrawText( tick_str, &tick_rect, DT_SINGLELINE|DT_RIGHT ); - - } - - // draw the minor_tick for Y axises - dc_plot.SelectObject(&minor_tick); - for( i=0; i< y_divider; i++ ) - { - dc_plot.MoveTo( plotRect.left -9, plotRect.bottom -5 - (i*y_intv) - y_intv/2 ); - dc_plot.LineTo( plotRect.left -4, plotRect.bottom -5 - (i*y_intv) - y_intv/2 ); - } - - dc_plot.SetTextColor( oldColor ); - dc_plot.SetBkMode( oldMode ); - dc_plot.SelectObject( oldPen ); -} - -void C9118SPtgDlg::OnDestroy() -{ - CDialog::OnDestroy(); - - // TODO: Add your message handler code here - if( m_nTimer != -1 ) - { - KillTimer( m_nTimer ); - m_nTimer = -1; - } - - if (m_hMem != NULL) - { - GlobalUnfix(m_hMem); - GlobalUnlock(m_hMem); - GlobalFree(m_hMem); - - m_hMem = NULL; - } - - if( OnBrush != NULL ) - ::DeleteObject( OnBrush ); - - if( OffBrush != NULL ) - ::DeleteObject( OffBrush ); - - RedPen.DeleteObject(); - -} - -void C9118SPtgDlg::OnVScroll(UINT nSBCode, UINT nPos, CScrollBar* pScrollBar) -{ - // TODO: Add your message handler code here and/or call default - switch ( nSBCode ) - { - case SB_LINEUP : - m_fSampleRate += 5000.0; - if (m_fSampleRate > 50000.0 ) m_fSampleRate = 50000.0; - break; - case SB_LINEDOWN: - m_fSampleRate -= 5000.0; - if (m_fSampleRate < 5000.0 ) m_fSampleRate = 5000.0; - break; - } - - SetDlgItemInt( IDC_EDIT_SAMPLE_RATE, (UINT)(m_fSampleRate/1000) ); - - CDialog::OnVScroll(nSBCode, nPos, pScrollBar); -} - - -void C9118SPtgDlg::OnStop() -{ - // TODO: Add your control notification handler code here - U32 count; - - - AI_AsyncClear(m_hCard, &count); - - if( m_nTimer != -1 ) - { - KillTimer( m_nTimer ); - m_nTimer = -1; - } - - GetDlgItem( IDC_BT_START )->EnableWindow(TRUE); -} - -void C9118SPtgDlg::OnStart() -{ - // TODO: Add your control notification handler code here - DWORD mem_size; - CString strTemp; - I16 err; - - GetDlgItem( IDC_BT_START )->EnableWindow(FALSE); - - m_dwReadCount = GetDlgItemInt(IDC_EDIT_BUF_SIZE); - m_wTraceCount = GetDlgItemInt(IDC_EDIT_TRACE_CNT); - - - if (m_dwReadCount <= m_wTraceCount) - { - strTemp.Format( TEXT("Buffer Size have to be larger than %d"), m_wTraceCount+2); - AfxMessageBox( strTemp ); - return; - } - - if (m_hMem != NULL) - { - GlobalUnfix(m_hMem); - GlobalUnlock(m_hMem); - GlobalFree(m_hMem); - - m_hMem = NULL; - } - - // allocate a memory for user DMA buffer - mem_size = m_dwReadCount * sizeof(I16); - m_hMem = GlobalAlloc(GMEM_ZEROINIT, mem_size); - m_pAIBuf = (U16*) GlobalLock(m_hMem); - if (m_pAIBuf == NULL ) - { - AfxMessageBox( TEXT("Memory allocation failed") ); - return; - } - - GlobalFix(m_hMem); - - err = AI_9118_Config(m_hCard, P9118_AI_BiPolar|P9118_AI_SingEnded, P9118_AI_DtrgPositive|P9118_AI_EtrgPositive|P9118_AI_PostTrgEn, 0, m_wTraceCount); - if (err!=0) - { - strTemp.Format( TEXT("AI_9118_Config error=%d"), err); - AfxMessageBox( strTemp ); - } - - err=AI_AsyncDblBufferMode(m_hCard, 0); // single-buffer mode - if (err!=0) - { - strTemp.Format( TEXT("AI_DblBufferMode error=%d"), err); - AfxMessageBox( strTemp ); - } - - err=AI_ContReadChannel (m_hCard, m_wChannel, m_wRange, (U16*)m_pAIBuf, m_dwReadCount, (F64)m_fSampleRate, ASYNCH_OP); - if (err!=0) - { - strTemp.Format( TEXT("AI_ContReadChannel error=%d"), err); - AfxMessageBox( strTemp ); - } - - m_nTimer = SetTimer( 1, 50, NULL ); - -} - -int C9118SPtgDlg::display_buffer_data(U16* pBuf) -{ - CClientDC dc_plot(this); - int nDraw_Origin_Y; - int cur_channel; - - int newY = -1; - int newX = -1; - U32 index; - - // redraw the background - dc_plot.FillSolidRect( plotRect, RGB(0,0,0) ); - - dc_plot.SelectObject(&RedPen); - nDraw_Origin_Y = ( plotRect.bottom - 5 ); // - n_PlotHeight/2; - - for( index=0; index> 16) ); // ( n_PlotHeight * ai_data / 65536) ); // ( (n_PlotHeight/2) * ai_data/32768 ) ); - } - else // PCI_9118DG & PCI_9118HG - { - U16 ai_data; - - cur_channel = pBuf[index] & 0x0f; - ai_data = (U16)(pBuf[index]) >> 4; - newY = (int)( nDraw_Origin_Y - ((n_PlotHeight * ai_data) >> 12 ) ); // (n_PlotHeight * ai_data / 4096 ) ); // ( (n_PlotHeight/2) * ai_data/2048 ) ); - } - - newX = (int)( index*n_PlotWidth/m_dwReadCount + plotRect.left ); - - if ( index == 0 ) - { - dc_plot.MoveTo( newX, newY ); - } - else - { - dc_plot.MoveTo( m_oldX, m_oldY ); - dc_plot.LineTo( newX, newY ); - } - - m_oldX = newX; - m_oldY = newY; - } - - return 0; -} - -void C9118SPtgDlg::OnTimer(UINT_PTR nIDEvent) -{ - // TODO: Add your message handler code here and/or call default - BOOLEAN fstop; - U32 count; - - AI_AsyncCheck(m_hCard, &fstop, &count); - - if( fstop == TRUE ) - { - AI_AsyncClear(m_hCard, &count); - - KillTimer( m_nTimer ); - m_nTimer = -1; - - display_buffer_data( m_pAIBuf ); - - GetDlgItem( IDC_BT_START )->EnableWindow(TRUE); - } - - CDialog::OnTimer(nIDEvent); -} - -void C9118SPtgDlg::OnCh0() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_RADIO_CH0 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_wChannel = 0; - } - -} - -void C9118SPtgDlg::OnCh1() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_RADIO_CH1 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_wChannel = 1; - } -} - -void C9118SPtgDlg::OnCh2() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_RADIO_CH2 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_wChannel = 2; - } -} - -void C9118SPtgDlg::OnCh3() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_RADIO_CH3 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_wChannel = 3; - } -} - -void C9118SPtgDlg::OnCh4() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_RADIO_CH4 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_wChannel = 4; - } -} - -void C9118SPtgDlg::OnCh5() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_RADIO_CH5 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_wChannel = 5; - } -} - -void C9118SPtgDlg::OnCh6() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_RADIO_CH6 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_wChannel = 6; - } -} - -void C9118SPtgDlg::OnCh7() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_RADIO_CH7 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_wChannel = 7; - } -} - - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118SPostTrg/9118SPtgDlg.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118SPostTrg/9118SPtgDlg.h deleted file mode 100644 index 81bfc56..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118SPostTrg/9118SPtgDlg.h +++ /dev/null @@ -1,75 +0,0 @@ - -// 9118SPtgDlg.h : header file -#pragma once -#include "afxcmn.h" -#include "afxwin.h" - -#include "Dask64.h" - -// C9118SPtgDlg dialog -class C9118SPtgDlg : public CDialog -{ -// Construction -public: - C9118SPtgDlg(I16 hCard, CWnd* pParent = NULL); // standard constructor - -// Dialog Data - enum { IDD = IDD_9118DMA_DIALOG }; - - protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - - -// Implementation -protected: - HICON m_hIcon; - UINT_PTR m_nTimer; - I16 m_hCard; - U16 m_wCardType; - double m_fSampleRate; - U16 m_wScanChans; - HANDLE m_hMem; - U16 *m_pAIBuf; - U16 m_wRange; - int m_oldY; - int m_oldX; - U32 m_dwReadCount; - U16 m_wChannel; - U16 m_wTraceCount; - - // Generated message map functions - virtual BOOL OnInitDialog(); - afx_msg void OnSysCommand(UINT nID, LPARAM lParam); - afx_msg void OnPaint(); - afx_msg HCURSOR OnQueryDragIcon(); - DECLARE_MESSAGE_MAP() - -public: - WORD max_val; - WORD min_val; - double max_range; - double min_range; - int n_PlotWidth; - int n_PlotHeight; - int y_divider; - int x_divider; - int m_DisplayScale; - HBRUSH OnBrush; - HBRUSH OffBrush; - CPen RedPen; - void redraw_display_area(void); - afx_msg void OnDestroy(); - afx_msg void OnVScroll(UINT nSBCode, UINT nPos, CScrollBar* pScrollBar); - afx_msg void OnStart(); - int display_buffer_data(U16* pBuf); - afx_msg void OnCh0(); - afx_msg void OnCh1(); - afx_msg void OnCh2(); - afx_msg void OnCh3(); - afx_msg void OnCh4(); - afx_msg void OnCh5(); - afx_msg void OnCh6(); - afx_msg void OnCh7(); - afx_msg void OnTimer(UINT_PTR nIDEvent); - afx_msg void OnStop(); -}; diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118SPostTrg/CardIDDlg.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118SPostTrg/CardIDDlg.cpp deleted file mode 100644 index 3853287..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118SPostTrg/CardIDDlg.cpp +++ /dev/null @@ -1,65 +0,0 @@ -// CardIDDlg.cpp : implementation file -// -#include "stdafx.h" -#include "9118SPtg.h" -#include "9118SPtgDlg.h" -#include "CardIDDlg.h" - -// CCardIDDlg dialog - -IMPLEMENT_DYNAMIC(CCardIDDlg, CDialog) - -CCardIDDlg::CCardIDDlg(int nCardIdx, CWnd* pParent /*=NULL*/) - : CDialog(CCardIDDlg::IDD, pParent) -{ - m_nCardIdx = nCardIdx; -} - -CCardIDDlg::~CCardIDDlg() -{ -} - -void CCardIDDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); - DDX_Control(pDX, IDC_COMBO_CARDID, m_cbCardID); -} - - -BEGIN_MESSAGE_MAP(CCardIDDlg, CDialog) -// ON_CBN_SELCHANGE(IDC_COMBO_CARDID, &CCardIDDlg::OnCbnSelchangeComboCardid) -ON_BN_CLICKED(IDOK, &CCardIDDlg::OnBnClickedOk) -//ON_WM_CTLCOLOR() -END_MESSAGE_MAP() - - -// CCardIDDlg message handlers - - -void CCardIDDlg::OnBnClickedOk() -{ - // TODO: Add your control notification handler code here - -// UpdateData(TRUE); - m_nCardIdx = m_cbCardID.GetCurSel(); - - OnOK(); -} - -BOOL CCardIDDlg::OnInitDialog() -{ - CDialog::OnInitDialog(); - - // TODO: Add extra initialization here - m_cbCardID.SetCurSel( m_nCardIdx ); - - return TRUE; // return TRUE unless you set the focus to a control - // EXCEPTION: OCX Property Pages should return FALSE -} - -// the function to get the selected CardID -int CCardIDDlg::GetCardID(void) -{ - return m_nCardIdx; -} - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118SPostTrg/CardIDDlg.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118SPostTrg/CardIDDlg.h deleted file mode 100644 index 9c02c58..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118SPostTrg/CardIDDlg.h +++ /dev/null @@ -1,32 +0,0 @@ -#pragma once -#include "afxwin.h" - -#include "Dask64.h" - -// CCardIDDlg dialog - -class CCardIDDlg : public CDialog -{ - DECLARE_DYNAMIC(CCardIDDlg) - -public: - CCardIDDlg(int nCardIdx, CWnd* pParent = NULL); // standard constructor - virtual ~CCardIDDlg(); - -// Dialog Data - enum { IDD = IDD_CARDID_DIALOG }; - -protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - - DECLARE_MESSAGE_MAP() -public: - virtual BOOL OnInitDialog(); - afx_msg void OnBnClickedOk(); - // the setting of CardID ComboBox - int m_nCardIdx; - // the control of CardID ComboBox - CComboBox m_cbCardID; - // the function to get the selected CardID - int GetCardID(void); -}; diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118SPostTrg/ReadMe.txt b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118SPostTrg/ReadMe.txt deleted file mode 100644 index 0f88784..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118SPostTrg/ReadMe.txt +++ /dev/null @@ -1,93 +0,0 @@ -================================================================================ - MICROSOFT FOUNDATION CLASS LIBRARY : 9118SPtg Project Overview -=============================================================================== - -The application wizard has created this 9118SPtg application for -you. This application not only demonstrates the basics of using the Microsoft -Foundation Classes but is also a starting point for writing your application. - -This file contains a summary of what you will find in each of the files that -make up your 9118SPtg application. - -9118SPtg.vcproj - This is the main project file for VC++ projects generated using an application wizard. - It contains information about the version of Visual C++ that generated the file, and - information about the platforms, configurations, and project features selected with the - application wizard. - -9118SPtg.h - This is the main header file for the application. It includes other - project specific headers (including Resource.h) and declares the - C9118SPtgApp application class. - -9118SPtg.cpp - This is the main application source file that contains the application - class C9118SPtgApp. - -9118SPtg.rc - This is a listing of all of the Microsoft Windows resources that the - program uses. It includes the icons, bitmaps, and cursors that are stored - in the RES subdirectory. This file can be directly edited in Microsoft - Visual C++. Your project resources are in 1033. - -res\9118SPtg.ico - This is an icon file, which is used as the application's icon. This - icon is included by the main resource file 9118SPtg.rc. - -res\My9118SPtg.rc2 - This file contains resources that are not edited by Microsoft - Visual C++. You should place all resources not editable by - the resource editor in this file. - - -///////////////////////////////////////////////////////////////////////////// - -The application wizard creates one dialog class: - -9118SPtgDlg.h, 9118SPtgDlg.cpp - the dialog - These files contain your C9118SPtgDlg class. This class defines - the behavior of your application's main dialog. The dialog's template is - in 9118SPtg.rc, which can be edited in Microsoft Visual C++. - - -///////////////////////////////////////////////////////////////////////////// - -Other Features: - -ActiveX Controls - The application includes support to use ActiveX controls. - -///////////////////////////////////////////////////////////////////////////// - -Other standard files: - -StdAfx.h, StdAfx.cpp - These files are used to build a precompiled header (PCH) file - named 9118SPtg.pch and a precompiled types file named StdAfx.obj. - -Resource.h - This is the standard header file, which defines new resource IDs. - Microsoft Visual C++ reads and updates this file. - -9118SPtg.manifest - Application manifest files are used by Windows XP to describe an applications - dependency on specific versions of Side-by-Side assemblies. The loader uses this - information to load the appropriate assembly from the assembly cache or private - from the application. The Application manifest maybe included for redistribution - as an external .manifest file that is installed in the same folder as the application - executable or it may be included in the executable in the form of a resource. -///////////////////////////////////////////////////////////////////////////// - -Other notes: - -The application wizard uses "TODO:" to indicate parts of the source code you -should add to or customize. - -If your application uses MFC in a shared DLL, you will need -to redistribute the MFC DLLs. If your application is in a language -other than the operating system's locale, you will also have to -redistribute the corresponding localized resources MFC90XXX.DLL. -For more information on both of these topics, please see the section on -redistributing Visual C++ applications in MSDN documentation. - -///////////////////////////////////////////////////////////////////////////// diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118SPostTrg/res/9118SPtg.ico b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118SPostTrg/res/9118SPtg.ico deleted file mode 100644 index d56fbcd..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118SPostTrg/res/9118SPtg.ico and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118SPostTrg/res/My9118SPtg.rc2 b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118SPostTrg/res/My9118SPtg.rc2 deleted file mode 100644 index 383cde2..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118SPostTrg/res/My9118SPtg.rc2 +++ /dev/null @@ -1,13 +0,0 @@ -// -// My9111int.RC2 - resources Microsoft Visual C++ does not edit directly -// - -#ifdef APSTUDIO_INVOKED -#error this file is not editable by Microsoft Visual C++ -#endif //APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// Add manually edited resources here... - -///////////////////////////////////////////////////////////////////////////// diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118SPostTrg/res/ch_set1.bmp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118SPostTrg/res/ch_set1.bmp deleted file mode 100644 index f2374ed..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118SPostTrg/res/ch_set1.bmp and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118SPostTrg/res/ch_set2.bmp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118SPostTrg/res/ch_set2.bmp deleted file mode 100644 index 32d0915..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118SPostTrg/res/ch_set2.bmp and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118SPostTrg/resource.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118SPostTrg/resource.h deleted file mode 100644 index 5958ace..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118SPostTrg/resource.h +++ /dev/null @@ -1,43 +0,0 @@ -//{{NO_DEPENDENCIES}} -// Microsoft Visual C++ generated include file. -// Used by 9118SPtg.rc -// -#define IDM_ABOUTBOX 0x0010 -#define IDD_ABOUTBOX 100 -#define IDS_ABOUTBOX 101 -#define IDD_9118DMA_DIALOG 102 -#define IDR_MAINFRAME 128 -#define IDD_CARDID_DIALOG 129 -#define IDB_BITMAP_SET1 131 -#define IDB_BITMAP_SET2 132 -#define IDC_STATIC_DRAW 1000 -#define IDC_COMBO_CARDID 1001 -#define IDC_BT_START 1002 -#define IDC_EDIT_SAMPLE_RATE 1003 -#define IDC_SCROLLBAR_RATE 1004 -#define IDC_RADIO_CH0 1005 -#define IDC_RADIO_CH1 1006 -#define IDC_RADIO_CH2 1007 -#define IDC_RADIO_CH3 1008 -#define IDC_RADIO_CH4 1009 -#define IDC_RADIO_CH5 1010 -#define IDC_RADIO_CH6 1011 -#define IDC_RADIO_CH7 1012 -#define IDC_STATIC_01 1013 -#define IDC_EDIT_BUF_SIZE 1014 -#define IDC_STATIC_2 1015 -#define IDC_BT_STOP 1016 -#define IDC_EDIT_BUF_SIZE2 1017 -#define IDC_EDIT_TRACE_CNT 1018 -#define IDC_STATIC_TRACE_CNT 1019 - -// Next default values for new objects -// -#ifdef APSTUDIO_INVOKED -#ifndef APSTUDIO_READONLY_SYMBOLS -#define _APS_NEXT_RESOURCE_VALUE 134 -#define _APS_NEXT_COMMAND_VALUE 32771 -#define _APS_NEXT_CONTROL_VALUE 1020 -#define _APS_NEXT_SYMED_VALUE 103 -#endif -#endif diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118SPostTrg/stdafx.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118SPostTrg/stdafx.cpp deleted file mode 100644 index ef80626..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118SPostTrg/stdafx.cpp +++ /dev/null @@ -1,8 +0,0 @@ - -// stdafx.cpp : source file that includes just the standard includes -// 9111int.pch will be the pre-compiled header -// stdafx.obj will contain the pre-compiled type information - -#include "stdafx.h" - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118SPostTrg/stdafx.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118SPostTrg/stdafx.h deleted file mode 100644 index 12123e2..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118SPostTrg/stdafx.h +++ /dev/null @@ -1,60 +0,0 @@ - -// stdafx.h : include file for standard system include files, -// or project specific include files that are used frequently, -// but are changed infrequently - -#pragma once - -#ifndef _SECURE_ATL -#define _SECURE_ATL 1 -#endif - -#ifndef VC_EXTRALEAN -#define VC_EXTRALEAN // Exclude rarely-used stuff from Windows headers -#endif - -#include "targetver.h" - -#define _ATL_CSTRING_EXPLICIT_CONSTRUCTORS // some CString constructors will be explicit - -// turns off MFC's hiding of some common and often safely ignored warning messages -#define _AFX_ALL_WARNINGS - -#include // MFC core and standard components -#include // MFC extensions - - -#include // MFC Automation classes - - - -#ifndef _AFX_NO_OLE_SUPPORT -#include // MFC support for Internet Explorer 4 Common Controls -#endif -#ifndef _AFX_NO_AFXCMN_SUPPORT -#include // MFC support for Windows Common Controls -#endif // _AFX_NO_AFXCMN_SUPPORT - -#include // MFC support for ribbons and control bars - - - - - - - - - -#ifdef _UNICODE -#if defined _M_IX86 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='x86' publicKeyToken='6595b64144ccf1df' language='*'\"") -#elif defined _M_IA64 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='ia64' publicKeyToken='6595b64144ccf1df' language='*'\"") -#elif defined _M_X64 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='amd64' publicKeyToken='6595b64144ccf1df' language='*'\"") -#else -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='*' publicKeyToken='6595b64144ccf1df' language='*'\"") -#endif -#endif - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118SPostTrg/targetver.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118SPostTrg/targetver.h deleted file mode 100644 index 11730d5..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118SPostTrg/targetver.h +++ /dev/null @@ -1,26 +0,0 @@ - -#pragma once - -// The following macros define the minimum required platform. The minimum required platform -// is the earliest version of Windows, Internet Explorer etc. that has the necessary features to run -// your application. The macros work by enabling all features available on platform versions up to and -// including the version specified. - -// Modify the following defines if you have to target a platform prior to the ones specified below. -// Refer to MSDN for the latest info on corresponding values for different platforms. -#ifndef WINVER // Specifies that the minimum required platform is Windows Vista. -#define WINVER 0x0600 // Change this to the appropriate value to target other versions of Windows. -#endif - -#ifndef _WIN32_WINNT // Specifies that the minimum required platform is Windows Vista. -#define _WIN32_WINNT 0x0600 // Change this to the appropriate value to target other versions of Windows. -#endif - -#ifndef _WIN32_WINDOWS // Specifies that the minimum required platform is Windows 98. -#define _WIN32_WINDOWS 0x0410 // Change this to the appropriate value to target Windows Me or later. -#endif - -#ifndef _WIN32_IE // Specifies that the minimum required platform is Internet Explorer 7.0. -#define _WIN32_IE 0x0700 // Change this to the appropriate value to target other versions of IE. -#endif - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118ScanDma/9111int.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118ScanDma/9111int.suo deleted file mode 100644 index 78a64b3..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118ScanDma/9111int.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118ScanDma/9114int.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118ScanDma/9114int.suo deleted file mode 100644 index 8aeb8ce..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118ScanDma/9114int.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118ScanDma/9118dma.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118ScanDma/9118dma.cpp deleted file mode 100644 index 6dbe10a..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118ScanDma/9118dma.cpp +++ /dev/null @@ -1,109 +0,0 @@ - -// 9118dma.cpp : Defines the class behaviors for the application. -// - -#include "stdafx.h" -#include "9118dma.h" -#include "9118dmaDlg.h" -#include "CardIDDlg.h" - -#ifdef _DEBUG -#define new DEBUG_NEW -#endif - - -// C9118dmaApp - -BEGIN_MESSAGE_MAP(C9118dmaApp, CWinAppEx) - ON_COMMAND(ID_HELP, &CWinApp::OnHelp) -END_MESSAGE_MAP() - - -// C9118dmaApp construction - -C9118dmaApp::C9118dmaApp() -{ - // TODO: add construction code here, - // Place all significant initialization in InitInstance -} - - -// The one and only C9118dmaApp object - -C9118dmaApp theApp; - - -// C9118dmaApp initialization - -BOOL C9118dmaApp::InitInstance() -{ - int nCardID = 0; - I16 hCard; - CString strTemp; - INT_PTR nResponse; - - // InitCommonControlsEx() is required on Windows XP if an application - // manifest specifies use of ComCtl32.dll version 6 or later to enable - // visual styles. Otherwise, any window creation will fail. - INITCOMMONCONTROLSEX InitCtrls; - InitCtrls.dwSize = sizeof(InitCtrls); - // Set this to include all the common control classes you want to use - // in your application. - InitCtrls.dwICC = ICC_WIN95_CLASSES; - InitCommonControlsEx(&InitCtrls); - - CWinAppEx::InitInstance(); - - AfxEnableControlContainer(); - - // Standard initialization - // If you are not using these features and wish to reduce the size - // of your final executable, you should remove from the following - // the specific initialization routines you do not need - // Change the registry key under which our settings are stored - // TODO: You should modify this string to be something appropriate - // such as the name of your company or organization - SetRegistryKey(_T("Local AppWizard-Generated Applications")); - - CCardIDDlg CardDlg( nCardID ); - - nResponse = CardDlg.DoModal(); - if (nResponse == IDOK) - { - nCardID = CardDlg.GetCardID(); - - if ((hCard=Register_Card(PCI_9118DG, nCardID)) < 0) - { - strTemp.Format( TEXT("Register_Card Error = %d"), hCard); - AfxMessageBox( strTemp ); - } - else - { - C9118dmaDlg dlg(hCard); - m_pMainWnd = &dlg; - nResponse = dlg.DoModal(); - if (nResponse == IDOK) - { - // TODO: Place code here to handle when the dialog is - // dismissed with OK - } - else if (nResponse == IDCANCEL) - { - // TODO: Place code here to handle when the dialog is - // dismissed with Cancel - } - - if (hCard >= 0) Release_Card(hCard); - } - - } - else if (nResponse == IDCANCEL) - { - // TODO: Place code here to handle when the dialog is - // dismissed with Cancel - } - - // Since the dialog has been closed, return FALSE so that we exit the - // application, rather than start the application's message pump. - return FALSE; -} diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118ScanDma/9118dma.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118ScanDma/9118dma.h deleted file mode 100644 index 90008f1..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118ScanDma/9118dma.h +++ /dev/null @@ -1,32 +0,0 @@ - -// 9118dma.h : main header file for the PROJECT_NAME application -// - -#pragma once - -#ifndef __AFXWIN_H__ - #error "include 'stdafx.h' before including this file for PCH" -#endif - -#include "resource.h" // main symbols - - -// C9118dmaApp: -// See 9118dma.cpp for the implementation of this class -// - -class C9118dmaApp : public CWinAppEx -{ -public: - C9118dmaApp(); - -// Overrides - public: - virtual BOOL InitInstance(); - -// Implementation - - DECLARE_MESSAGE_MAP() -}; - -extern C9118dmaApp theApp; \ No newline at end of file diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118ScanDma/9118dma.rc b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118ScanDma/9118dma.rc deleted file mode 100644 index a0389f7..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118ScanDma/9118dma.rc +++ /dev/null @@ -1,303 +0,0 @@ -// Microsoft Visual C++ generated resource script. -// -#include "resource.h" - -#define APSTUDIO_READONLY_SYMBOLS -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 2 resource. -// -#ifndef APSTUDIO_INVOKED -#include "targetver.h" -#endif -#include "afxres.h" - -///////////////////////////////////////////////////////////////////////////// -#undef APSTUDIO_READONLY_SYMBOLS - -///////////////////////////////////////////////////////////////////////////// -// Chinese (Taiwan) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_CHT) -#ifdef _WIN32 -LANGUAGE LANG_CHINESE, SUBLANG_CHINESE_TRADITIONAL -#pragma code_page(950) -#endif //_WIN32 - -#ifdef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// TEXTINCLUDE -// - -1 TEXTINCLUDE -BEGIN - "resource.h\0" -END - -2 TEXTINCLUDE -BEGIN - "#ifndef APSTUDIO_INVOKED\r\n" - "#include ""targetver.h""\r\n" - "#endif\r\n" - "#include ""afxres.h""\r\n" - "\0" -END - -3 TEXTINCLUDE -BEGIN - "#define _AFX_NO_SPLITTER_RESOURCES\r\n" - "#define _AFX_NO_OLE_RESOURCES\r\n" - "#define _AFX_NO_TRACKER_RESOURCES\r\n" - "#define _AFX_NO_PROPERTY_RESOURCES\r\n" - "\r\n" - "#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)\r\n" - "LANGUAGE 9, 1\r\n" - "#pragma code_page(1252)\r\n" - "#include ""res\\My9118dma.rc2"" // non-Microsoft Visual C++ edited resources\r\n" - "#include ""afxres.rc"" // Standard components\r\n" - "#endif\r\n" - "\0" -END - -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// Icon -// - -// Icon with lowest ID value placed first to ensure application icon -// remains consistent on all systems. -IDR_MAINFRAME ICON "res\\9118dma.ico" -#endif // Chinese (Taiwan) resources -///////////////////////////////////////////////////////////////////////////// - - -///////////////////////////////////////////////////////////////////////////// -// English (U.S.) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -#ifdef _WIN32 -LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US -#pragma code_page(1252) -#endif //_WIN32 - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog -// - -IDD_ABOUTBOX DIALOGEX 0, 0, 170, 62 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "About 9118dma" -FONT 8, "MS Shell Dlg", 0, 0, 0x1 -BEGIN - ICON IDR_MAINFRAME,IDC_STATIC,14,14,21,20 - LTEXT "9118dma, Version 1.0",IDC_STATIC,42,14,114,8,SS_NOPREFIX - LTEXT "Copyright (C) 2010",IDC_STATIC,42,26,114,8 - DEFPUSHBUTTON "OK",IDOK,113,41,50,14,WS_GROUP -END - -IDD_9118DMA_DIALOG DIALOGEX 0, 0, 365, 232 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU -EXSTYLE WS_EX_APPWINDOW -CAPTION "PCI-9118DG Autoscan DMA (Single-End Signal)" -FONT 8, "MS Shell Dlg", 0, 0, 0x1 -BEGIN - GROUPBOX "",IDC_STATIC_DRAW,45,9,227,161,NOT WS_VISIBLE - CONTROL 132,IDC_STATIC,"Static",SS_BITMAP,327,28,11,45 - CONTROL 131,IDC_STATIC,"Static",SS_BITMAP,298,29,9,44 - LTEXT "0",IDC_STATIC,286,29,10,11 - LTEXT "1",IDC_STATIC,286,40,10,11 - LTEXT "2",IDC_STATIC,286,51,10,11 - LTEXT "3",IDC_STATIC,286,63,10,11 - LTEXT "4",IDC_STATIC,318,29,10,11 - LTEXT "5",IDC_STATIC,318,40,10,11 - LTEXT "6",IDC_STATIC,318,51,10,11 - LTEXT "7",IDC_STATIC,318,63,10,11 - LTEXT "Range : +/- 5V",IDC_STATIC,283,130,57,15 - COMBOBOX IDC_COMBO_SCANCHAN,171,197,74,17,CBS_DROPDOWN | WS_VSCROLL | WS_TABSTOP - LTEXT "Scan Channels",IDC_STATIC,171,182,53,9 - EDITTEXT IDC_EDIT_SAMPLE_RATE,57,197,39,12,ES_AUTOHSCROLL | ES_READONLY - LTEXT "Sample Rate :",IDC_STATIC,57,182,49,9 - LTEXT "KHz",IDC_STATIC,109,198,15,9 - SCROLLBAR IDC_SCROLLBAR_RATE,97,195,9,11,SBS_VERT - PUSHBUTTON "Start",IDC_BT_START,275,188,75,22 -END - -IDD_CARDID_DIALOG DIALOGEX 0, 0, 165, 82 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "Card ID" -FONT 8, "MS Shell Dlg", 400, 0, 0x1 -BEGIN - COMBOBOX IDC_COMBO_CARDID,75,24,71,126,CBS_DROPDOWN | WS_VSCROLL | WS_TABSTOP - LTEXT "Card Number",IDC_STATIC_01,21,25,46,12 - PUSHBUTTON "OK",IDOK,22,50,58,19 - PUSHBUTTON "CANCEL",IDCANCEL,86,50,58,19 -END - - -///////////////////////////////////////////////////////////////////////////// -// -// Version -// - -VS_VERSION_INFO VERSIONINFO - FILEVERSION 1,0,0,1 - PRODUCTVERSION 1,0,0,1 - FILEFLAGSMASK 0x3fL -#ifdef _DEBUG - FILEFLAGS 0x1L -#else - FILEFLAGS 0x0L -#endif - FILEOS 0x4L - FILETYPE 0x1L - FILESUBTYPE 0x0L -BEGIN - BLOCK "StringFileInfo" - BEGIN - BLOCK "040904e4" - BEGIN - VALUE "CompanyName", "TODO: " - VALUE "FileDescription", "TODO: " - VALUE "FileVersion", "1.0.0.1" - VALUE "InternalName", "9118dma.exe" - VALUE "LegalCopyright", "TODO: (c) . All rights reserved." - VALUE "OriginalFilename", "9118dma.exe" - VALUE "ProductName", "TODO: " - VALUE "ProductVersion", "1.0.0.1" - END - END - BLOCK "VarFileInfo" - BEGIN - VALUE "Translation", 0x409, 1252 - END -END - - -///////////////////////////////////////////////////////////////////////////// -// -// DESIGNINFO -// - -#ifdef APSTUDIO_INVOKED -GUIDELINES DESIGNINFO -BEGIN - IDD_CARDID_DIALOG, DIALOG - BEGIN - BOTTOMMARGIN, 80 - END -END -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog Info -// - -IDD_CARDID_DIALOG DLGINIT -BEGIN - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0030, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0031, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0032, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0033, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0034, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0035, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0036, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0037, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0038, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0039, - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3031, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3131, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3231, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3331, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3431, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3531, "\000" - 0 -END - -IDD_9118DMA_DIALOG DLGINIT -BEGIN - IDC_COMBO_SCANCHAN, 0x403, 4, 0 -0x4843, 0x0030, - IDC_COMBO_SCANCHAN, 0x403, 8, 0 -0x4843, 0x7e30, 0x4843, 0x0031, - IDC_COMBO_SCANCHAN, 0x403, 8, 0 -0x4843, 0x7e30, 0x4843, 0x0032, - IDC_COMBO_SCANCHAN, 0x403, 8, 0 -0x4843, 0x7e30, 0x4843, 0x0033, - IDC_COMBO_SCANCHAN, 0x403, 8, 0 -0x4843, 0x7e30, 0x4843, 0x0034, - IDC_COMBO_SCANCHAN, 0x403, 8, 0 -0x4843, 0x7e30, 0x4843, 0x0035, - IDC_COMBO_SCANCHAN, 0x403, 8, 0 -0x4843, 0x7e30, 0x4843, 0x0036, - IDC_COMBO_SCANCHAN, 0x403, 8, 0 -0x4843, 0x7e30, 0x4843, 0x0037, - 0 -END - - -///////////////////////////////////////////////////////////////////////////// -// -// Bitmap -// - -IDB_BITMAP_SET1 BITMAP "res\\ch_set1.bmp" -IDB_BITMAP_SET2 BITMAP "res\\ch_set2.bmp" - -///////////////////////////////////////////////////////////////////////////// -// -// String Table -// - -STRINGTABLE -BEGIN - IDS_ABOUTBOX "&About 9118dma..." -END - -#endif // English (U.S.) resources -///////////////////////////////////////////////////////////////////////////// - - - -#ifndef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 3 resource. -// -#define _AFX_NO_SPLITTER_RESOURCES -#define _AFX_NO_OLE_RESOURCES -#define _AFX_NO_TRACKER_RESOURCES -#define _AFX_NO_PROPERTY_RESOURCES - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -LANGUAGE 9, 1 -#pragma code_page(1252) -#include "res\My9118dma.rc2" // non-Microsoft Visual C++ edited resources -#include "afxres.rc" // Standard components -#endif - -///////////////////////////////////////////////////////////////////////////// -#endif // not APSTUDIO_INVOKED - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118ScanDma/9118dma.sln b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118ScanDma/9118dma.sln deleted file mode 100644 index 5d5e194..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118ScanDma/9118dma.sln +++ /dev/null @@ -1,20 +0,0 @@ - -Microsoft Visual Studio Solution File, Format Version 10.00 -# Visual Studio 2008 -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "9118dma", "9118dma.vcproj", "{702163FB-B6DF-4EF5-9491-FC54D71509BC}" -EndProject -Global - GlobalSection(SolutionConfigurationPlatforms) = preSolution - Debug|x64 = Debug|x64 - Release|x64 = Release|x64 - EndGlobalSection - GlobalSection(ProjectConfigurationPlatforms) = postSolution - {702163FB-B6DF-4EF5-9491-FC54D71509BC}.Debug|x64.ActiveCfg = Debug|x64 - {702163FB-B6DF-4EF5-9491-FC54D71509BC}.Debug|x64.Build.0 = Debug|x64 - {702163FB-B6DF-4EF5-9491-FC54D71509BC}.Release|x64.ActiveCfg = Release|x64 - {702163FB-B6DF-4EF5-9491-FC54D71509BC}.Release|x64.Build.0 = Release|x64 - EndGlobalSection - GlobalSection(SolutionProperties) = preSolution - HideSolutionNode = FALSE - EndGlobalSection -EndGlobal diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118ScanDma/9118dma.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118ScanDma/9118dma.suo deleted file mode 100644 index 5af3a2a..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118ScanDma/9118dma.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118ScanDma/9118dma.vcproj b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118ScanDma/9118dma.vcproj deleted file mode 100644 index 8cac401..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118ScanDma/9118dma.vcproj +++ /dev/null @@ -1,294 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118ScanDma/9118dmaDlg.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118ScanDma/9118dmaDlg.cpp deleted file mode 100644 index a8ad44a..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118ScanDma/9118dmaDlg.cpp +++ /dev/null @@ -1,506 +0,0 @@ - -// 9118dmaDlg.cpp : implementation file -// - -#include "stdafx.h" -#include "9118dma.h" -#include "9118dmaDlg.h" - -#ifdef _DEBUG -#define new DEBUG_NEW -#endif - -CRect plotRect; -#define AI_SAMPLE_COUNT 4000 - -// CAboutDlg dialog used for App About - -class CAboutDlg : public CDialog -{ -public: - CAboutDlg(); - -// Dialog Data - enum { IDD = IDD_ABOUTBOX }; - - protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - -// Implementation -protected: - DECLARE_MESSAGE_MAP() -}; - -CAboutDlg::CAboutDlg() : CDialog(CAboutDlg::IDD) -{ -} - -void CAboutDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); -} - -BEGIN_MESSAGE_MAP(CAboutDlg, CDialog) -END_MESSAGE_MAP() - - -// C9118dmaDlg dialog - - - - -C9118dmaDlg::C9118dmaDlg(I16 hCard, CWnd* pParent /*=NULL*/) - : CDialog(C9118dmaDlg::IDD, pParent) -{ - m_hIcon = AfxGetApp()->LoadIcon(IDR_MAINFRAME); - - n_PlotWidth = n_PlotHeight = -1; - OnBrush = OffBrush = NULL; - - min_val = 0x00; - max_val = 0x0FFF; - - m_fSampleRate = 10000.0; // 10KHz - - m_hCard = hCard; - m_wScanChans = 0; - m_nTimer = -1; - m_hMem=NULL; - - m_wRange = AD_B_5_V; - - m_wCardType = PCI_9118DG; - -} - -void C9118dmaDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); - DDX_Control(pDX, IDC_COMBO_SCANCHAN, m_cbScanChans); -} - -BEGIN_MESSAGE_MAP(C9118dmaDlg, CDialog) - ON_WM_SYSCOMMAND() - ON_WM_PAINT() - ON_WM_QUERYDRAGICON() - //}}AFX_MSG_MAP - ON_WM_DESTROY() - ON_WM_VSCROLL() - ON_CBN_SELCHANGE(IDC_COMBO_SCANCHAN, &C9118dmaDlg::OnScanChanSelchange) - ON_BN_CLICKED(IDC_BT_START, &C9118dmaDlg::OnStart) -END_MESSAGE_MAP() - - -// C9118dmaDlg message handlers - -BOOL C9118dmaDlg::OnInitDialog() -{ - CDialog::OnInitDialog(); - - // Add "About..." menu item to system menu. - - // IDM_ABOUTBOX must be in the system command range. - ASSERT((IDM_ABOUTBOX & 0xFFF0) == IDM_ABOUTBOX); - ASSERT(IDM_ABOUTBOX < 0xF000); - - CMenu* pSysMenu = GetSystemMenu(FALSE); - if (pSysMenu != NULL) - { - BOOL bNameValid; - CString strAboutMenu; - bNameValid = strAboutMenu.LoadString(IDS_ABOUTBOX); - ASSERT(bNameValid); - if (!strAboutMenu.IsEmpty()) - { - pSysMenu->AppendMenu(MF_SEPARATOR); - pSysMenu->AppendMenu(MF_STRING, IDM_ABOUTBOX, strAboutMenu); - } - } - - // Set the icon for this dialog. The framework does this automatically - // when the application's main window is not a dialog - SetIcon(m_hIcon, TRUE); // Set big icon - SetIcon(m_hIcon, FALSE); // Set small icon - - // TODO: Add extra initialization here - x_divider = 5; y_divider = 4; - - OnBrush = CreateSolidBrush( RGB(255,0,0) ); - OffBrush = CreateSolidBrush( RGB(125,0,0) ); - - RedPen.CreatePen( PS_SOLID, 1, RGB(255,0,0)); - GreenPen.CreatePen( PS_SOLID, 1, RGB(0,255,0)); - YellowPen.CreatePen( PS_SOLID, 1, RGB(255,255,0)); - BluePen.CreatePen( PS_SOLID, 1, RGB(0,0,255)); - LTBluePen.CreatePen( PS_SOLID, 1, RGB(0,128,255)); - LTRedPen.CreatePen( PS_SOLID, 1, RGB(255,128,0)); - LTGreenPen.CreatePen( PS_SOLID, 1, RGB(0,128,0)); - WhitePen.CreatePen( PS_SOLID, 1, RGB(255,255,255)); - - if( n_PlotWidth == -1 && n_PlotHeight == -1 ) - { - ((CWnd*)GetDlgItem(IDC_STATIC_DRAW))->GetWindowRect(&plotRect); - ScreenToClient(&plotRect); - - n_PlotWidth = min( plotRect.Width(), 512); - n_PlotHeight = plotRect.Height() - 10; - } - - - // set the default SampleRate - SetDlgItemInt( IDC_EDIT_SAMPLE_RATE, (UINT)(m_fSampleRate/1000) ); - m_cbScanChans.SetCurSel( 0 ); - - max_range = 5.0; - min_range = -5.0; - - return TRUE; // return TRUE unless you set the focus to a control -} - -void C9118dmaDlg::OnSysCommand(UINT nID, LPARAM lParam) -{ - if ((nID & 0xFFF0) == IDM_ABOUTBOX) - { - CAboutDlg dlgAbout; - dlgAbout.DoModal(); - } - else - { - CDialog::OnSysCommand(nID, lParam); - } -} - -// If you add a minimize button to your dialog, you will need the code below -// to draw the icon. For MFC applications using the document/view model, -// this is automatically done for you by the framework. - -void C9118dmaDlg::OnPaint() -{ - if (IsIconic()) - { - CPaintDC dc(this); // device context for painting - - SendMessage(WM_ICONERASEBKGND, reinterpret_cast(dc.GetSafeHdc()), 0); - - // Center icon in client rectangle - int cxIcon = GetSystemMetrics(SM_CXICON); - int cyIcon = GetSystemMetrics(SM_CYICON); - CRect rect; - GetClientRect(&rect); - int x = (rect.Width() - cxIcon + 1) / 2; - int y = (rect.Height() - cyIcon + 1) / 2; - - // Draw the icon - dc.DrawIcon(x, y, m_hIcon); - } - else - { - redraw_display_area(); - CDialog::OnPaint(); - } -} - -// The system calls this function to obtain the cursor to display while the user drags -// the minimized window. -HCURSOR C9118dmaDlg::OnQueryDragIcon() -{ - return static_cast(m_hIcon); -} - - -void C9118dmaDlg::redraw_display_area(void) -{ - CPen *oldPen; - - int oldMode; - COLORREF oldColor; - - CString y_lable; - - CPen minor_tick( PS_SOLID,1,RGB(132,130,132) ); -// CPen y_grid( PS_SOLID,1,RGB(206,203,132) ); - - int i, x_intv, y_intv; -// long total_sec; - - CClientDC dc_plot(this); - - // draw the base-line for x-y axises - oldPen = (CPen *)dc_plot.SelectStockObject(BLACK_PEN); - - // redraw the background - dc_plot.FillSolidRect( plotRect, RGB(0,0,0) ); - - // Re-Draw the AREA for Y-Lable - { - CBrush DIALOG_BRUSH; - CRect redraw_area, full_client; - - GetClientRect(&full_client); - ScreenToClient(&full_client); - - redraw_area.left = full_client.left; - redraw_area.top = plotRect.top - 5; - redraw_area.right = plotRect.left - 3; - redraw_area.bottom = plotRect.bottom + 10; - - DIALOG_BRUSH.CreateSysColorBrush( COLOR_3DFACE ); - - dc_plot.FillRect( redraw_area, &DIALOG_BRUSH ); - - DIALOG_BRUSH.DeleteObject(); - } - - dc_plot.MoveTo( plotRect.left - 3, plotRect.top ); - dc_plot.LineTo( plotRect.left - 3, plotRect.bottom ); - - // calculate the interval for tick/grid - y_intv = (plotRect.Height() - 10) /y_divider; - x_intv = plotRect.Width()/x_divider; - - - // set the color for tick - oldColor = dc_plot.SetTextColor( RGB(0,0,0) ); - oldMode = dc_plot.SetBkMode( TRANSPARENT ); - - for( i=0; i<= y_divider; i++ ) - { - CString tick_str; - CRect tmp_rect, tick_rect; - - // draw the tick for y-axis - dc_plot.MoveTo( plotRect.left -12, plotRect.bottom -5 - (i*y_intv) ); - dc_plot.LineTo( plotRect.left -3, plotRect.bottom -5 - (i*y_intv) ); - - tick_str.Format( _T("%.1f"), ( ((max_range-min_range)/y_divider) * i)+min_range ); - - // calculate the rectangle for text - dc_plot.DrawText( tick_str, &tmp_rect, DT_CALCRECT|DT_SINGLELINE ); - tick_rect.right = plotRect.left -14; - tick_rect.left = tick_rect.right - tmp_rect.Width(); - tick_rect.top = plotRect.bottom -5 - (i*y_intv) - tmp_rect.Height()/2; - tick_rect.bottom = tick_rect.top + tmp_rect.Height(); - - // draw the text - dc_plot.DrawText( tick_str, &tick_rect, DT_SINGLELINE|DT_RIGHT ); - - } - - // draw the minor_tick for Y axises - dc_plot.SelectObject(&minor_tick); - for( i=0; i< y_divider; i++ ) - { - dc_plot.MoveTo( plotRect.left -9, plotRect.bottom -5 - (i*y_intv) - y_intv/2 ); - dc_plot.LineTo( plotRect.left -4, plotRect.bottom -5 - (i*y_intv) - y_intv/2 ); - } - - dc_plot.SetTextColor( oldColor ); - dc_plot.SetBkMode( oldMode ); - dc_plot.SelectObject( oldPen ); -} - -void C9118dmaDlg::OnDestroy() -{ - CDialog::OnDestroy(); - - // TODO: Add your message handler code here - if( m_nTimer != -1 ) - { - KillTimer( m_nTimer ); - m_nTimer = -1; - } - - if (m_hMem != NULL) - { - GlobalUnfix(m_hMem); - GlobalUnlock(m_hMem); - GlobalFree(m_hMem); - - m_hMem = NULL; - } - - if( OnBrush != NULL ) - ::DeleteObject( OnBrush ); - - if( OffBrush != NULL ) - ::DeleteObject( OffBrush ); - - RedPen.DeleteObject(); - GreenPen.DeleteObject(); - YellowPen.DeleteObject(); - BluePen.DeleteObject(); - LTBluePen.DeleteObject(); - LTRedPen.DeleteObject(); - LTGreenPen.DeleteObject(); - WhitePen.DeleteObject(); -} - -void C9118dmaDlg::OnVScroll(UINT nSBCode, UINT nPos, CScrollBar* pScrollBar) -{ - // TODO: Add your message handler code here and/or call default - switch ( nSBCode ) - { - case SB_LINEUP : - m_fSampleRate += 1000.0; - if (m_fSampleRate > 100000.0 ) m_fSampleRate = 100000.0; - break; - case SB_LINEDOWN: - m_fSampleRate -= 1000; - if (m_fSampleRate < 1000 ) m_fSampleRate = 1000; - break; - } - - SetDlgItemInt( IDC_EDIT_SAMPLE_RATE, (UINT)(m_fSampleRate/1000) ); - - CDialog::OnVScroll(nSBCode, nPos, pScrollBar); -} - -void C9118dmaDlg::OnScanChanSelchange() -{ - // TODO: Add your control notification handler code here - int nIndex; - - nIndex = m_cbScanChans.GetCurSel(); - m_wScanChans = (U16)nIndex; -} - -void C9118dmaDlg::OnStart() -{ - // TODO: Add your control notification handler code here - DWORD mem_size; - CString strTemp; - I16 err; - - GetDlgItem( IDC_BT_START )->EnableWindow(FALSE); - - if (m_hMem != NULL) - { - GlobalUnfix(m_hMem); - GlobalUnlock(m_hMem); - GlobalFree(m_hMem); - - m_hMem = NULL; - } - - // allocate a memory for user DMA buffer - mem_size = AI_SAMPLE_COUNT * sizeof(I16); - m_hMem = GlobalAlloc(GMEM_ZEROINIT, mem_size); - m_pAIBuf = (U16*) GlobalLock(m_hMem); - - if (m_pAIBuf == NULL ) - { - AfxMessageBox( TEXT("Memory allocation failed"), MB_OK); - } - - GlobalFix(m_hMem); - - m_oldY[0] = m_oldY[1] = m_oldY[2] = m_oldY[3] = m_oldY[4] = m_oldY[5] = m_oldY[6] = m_oldY[7] = -1; - m_oldX[0] = m_oldX[1] = m_oldX[2] = m_oldX[3] = m_oldX[4] = m_oldX[5] = m_oldX[6] = m_oldX[7] = -1; - - err = AI_9118_Config(m_hCard, P9118_AI_BiPolar|P9118_AI_SingEnded, 0, 0, 0); - if (err!=0) - { - strTemp.Format( TEXT("AI_9118_Config error=%d"), err); - AfxMessageBox( strTemp ); - } - - err=AI_AsyncDblBufferMode(m_hCard, 0); // single-buffer mode - if (err!=0) - { - strTemp.Format( TEXT("AI_DblBufferMode error=%d"), err); - AfxMessageBox( strTemp ); - } - - err=AI_ContScanChannels (m_hCard, m_wScanChans, m_wRange, (U16*)m_pAIBuf, AI_SAMPLE_COUNT, (F64)m_fSampleRate, SYNCH_OP); - if (err!=0) - { - strTemp.Format( TEXT("AI_ContScanChannels error=%d"), err); - AfxMessageBox( strTemp ); - } - - display_buffer_data(m_pAIBuf); - - GetDlgItem( IDC_BT_START )->EnableWindow(TRUE); - -} - -int C9118dmaDlg::display_buffer_data(U16* pBuf) -{ - CClientDC dc_plot(this); - int nDraw_Origin_Y; - int cur_channel; - - int newY = -1; - int newX = -1; - U32 index; - - nDraw_Origin_Y = ( plotRect.bottom - 5 ); // - n_PlotHeight/2; - - // redraw the background - dc_plot.FillSolidRect( plotRect, RGB(0,0,0) ); - - for( index=0; index> 16) ); // ( n_PlotHeight * ai_data / 65536) ); // ( (n_PlotHeight/2) * ai_data/32768 ) ); - } - else // PCI_9118DG & PCI_9118HG - { - U16 ai_data; - - cur_channel = pBuf[index] & 0x0f; - ai_data = (U16)(pBuf[index]) >> 4; - newY = (int)( nDraw_Origin_Y - ((n_PlotHeight * ai_data) >> 12 ) ); // (n_PlotHeight * ai_data / 4096 ) ); // ( (n_PlotHeight/2) * ai_data/2048 ) ); - } - - newX = (int)( index*n_PlotWidth/AI_SAMPLE_COUNT + plotRect.left ); - - switch(cur_channel) - { - case 0: - dc_plot.SelectObject(&YellowPen); - break; - case 1: - dc_plot.SelectObject(<GreenPen); - break; - case 2: - dc_plot.SelectObject(&BluePen); - break; - case 3: - dc_plot.SelectObject(&RedPen); - break; - case 4: - dc_plot.SelectObject(<BluePen); - break; - case 5: - dc_plot.SelectObject(<RedPen); - break; - case 6: - dc_plot.SelectObject(&GreenPen); - break; - case 7: - dc_plot.SelectObject(&WhitePen); - break; - } - - if ( m_oldX[cur_channel] == -1 ) - { - dc_plot.MoveTo( newX, newY ); - } - else - { - dc_plot.MoveTo( m_oldX[cur_channel], m_oldY[cur_channel] ); - dc_plot.LineTo( newX, newY ); - } - - m_oldX[cur_channel] = newX; - m_oldY[cur_channel] = newY; - } - - return 0; -} diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118ScanDma/9118dmaDlg.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118ScanDma/9118dmaDlg.h deleted file mode 100644 index 9b53e6f..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118ScanDma/9118dmaDlg.h +++ /dev/null @@ -1,72 +0,0 @@ - -// 9118dmaDlg.h : header file -#pragma once -#include "afxcmn.h" -#include "afxwin.h" - -#include "Dask64.h" - - -// C9118dmaDlg dialog -class C9118dmaDlg : public CDialog -{ -// Construction -public: - C9118dmaDlg(I16 hCard, CWnd* pParent = NULL); // standard constructor - -// Dialog Data - enum { IDD = IDD_9118DMA_DIALOG }; - - protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - - -// Implementation -protected: - HICON m_hIcon; - UINT_PTR m_nTimer; - I16 m_hCard; - U16 m_wCardType; - double m_fSampleRate; - U16 m_wScanChans; - HANDLE m_hMem; - U16 *m_pAIBuf; - U16 m_wRange; - int m_oldY[8]; - int m_oldX[8]; - - // Generated message map functions - virtual BOOL OnInitDialog(); - afx_msg void OnSysCommand(UINT nID, LPARAM lParam); - afx_msg void OnPaint(); - afx_msg HCURSOR OnQueryDragIcon(); - DECLARE_MESSAGE_MAP() - -public: - WORD max_val; - WORD min_val; - double max_range; - double min_range; - int n_PlotWidth; - int n_PlotHeight; - int y_divider; - int x_divider; - int m_DisplayScale; - HBRUSH OnBrush; - HBRUSH OffBrush; - CPen RedPen; - CPen GreenPen; - CPen YellowPen; - CPen BluePen; - CPen LTBluePen; - CPen LTRedPen; - CPen LTGreenPen; - CPen WhitePen; - void redraw_display_area(void); - afx_msg void OnDestroy(); - CComboBox m_cbScanChans; - afx_msg void OnVScroll(UINT nSBCode, UINT nPos, CScrollBar* pScrollBar); - afx_msg void OnScanChanSelchange(); - afx_msg void OnStart(); - int display_buffer_data(U16* pBuf); -}; diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118ScanDma/CardIDDlg.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118ScanDma/CardIDDlg.cpp deleted file mode 100644 index 9ec8a93..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118ScanDma/CardIDDlg.cpp +++ /dev/null @@ -1,64 +0,0 @@ -// CardIDDlg.cpp : implementation file -// -#include "stdafx.h" -#include "9118dma.h" -#include "9118dmaDlg.h" -#include "CardIDDlg.h" - -// CCardIDDlg dialog - -IMPLEMENT_DYNAMIC(CCardIDDlg, CDialog) - -CCardIDDlg::CCardIDDlg(int nCardIdx, CWnd* pParent /*=NULL*/) - : CDialog(CCardIDDlg::IDD, pParent) -{ - m_nCardIdx = nCardIdx; -} - -CCardIDDlg::~CCardIDDlg() -{ -} - -void CCardIDDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); - DDX_Control(pDX, IDC_COMBO_CARDID, m_cbCardID); -} - - -BEGIN_MESSAGE_MAP(CCardIDDlg, CDialog) -// ON_CBN_SELCHANGE(IDC_COMBO_CARDID, &CCardIDDlg::OnCbnSelchangeComboCardid) -ON_BN_CLICKED(IDOK, &CCardIDDlg::OnBnClickedOk) -//ON_WM_CTLCOLOR() -END_MESSAGE_MAP() - - -// CCardIDDlg message handlers - - -void CCardIDDlg::OnBnClickedOk() -{ - // TODO: Add your control notification handler code here - -// UpdateData(TRUE); - m_nCardIdx = m_cbCardID.GetCurSel(); - - OnOK(); -} - -BOOL CCardIDDlg::OnInitDialog() -{ - CDialog::OnInitDialog(); - - // TODO: Add extra initialization here - m_cbCardID.SetCurSel( m_nCardIdx ); - - return TRUE; // return TRUE unless you set the focus to a control - // EXCEPTION: OCX Property Pages should return FALSE -} - -// the function to get the selected CardID -int CCardIDDlg::GetCardID(void) -{ - return m_nCardIdx; -} diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118ScanDma/CardIDDlg.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118ScanDma/CardIDDlg.h deleted file mode 100644 index 9c02c58..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118ScanDma/CardIDDlg.h +++ /dev/null @@ -1,32 +0,0 @@ -#pragma once -#include "afxwin.h" - -#include "Dask64.h" - -// CCardIDDlg dialog - -class CCardIDDlg : public CDialog -{ - DECLARE_DYNAMIC(CCardIDDlg) - -public: - CCardIDDlg(int nCardIdx, CWnd* pParent = NULL); // standard constructor - virtual ~CCardIDDlg(); - -// Dialog Data - enum { IDD = IDD_CARDID_DIALOG }; - -protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - - DECLARE_MESSAGE_MAP() -public: - virtual BOOL OnInitDialog(); - afx_msg void OnBnClickedOk(); - // the setting of CardID ComboBox - int m_nCardIdx; - // the control of CardID ComboBox - CComboBox m_cbCardID; - // the function to get the selected CardID - int GetCardID(void); -}; diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118ScanDma/ReadMe.txt b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118ScanDma/ReadMe.txt deleted file mode 100644 index dc52a76..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118ScanDma/ReadMe.txt +++ /dev/null @@ -1,93 +0,0 @@ -================================================================================ - MICROSOFT FOUNDATION CLASS LIBRARY : 9118dma Project Overview -=============================================================================== - -The application wizard has created this 9118dma application for -you. This application not only demonstrates the basics of using the Microsoft -Foundation Classes but is also a starting point for writing your application. - -This file contains a summary of what you will find in each of the files that -make up your 9118dma application. - -9118dma.vcproj - This is the main project file for VC++ projects generated using an application wizard. - It contains information about the version of Visual C++ that generated the file, and - information about the platforms, configurations, and project features selected with the - application wizard. - -9118dma.h - This is the main header file for the application. It includes other - project specific headers (including Resource.h) and declares the - C9118dmaApp application class. - -9118dma.cpp - This is the main application source file that contains the application - class C9118dmaApp. - -9118dma.rc - This is a listing of all of the Microsoft Windows resources that the - program uses. It includes the icons, bitmaps, and cursors that are stored - in the RES subdirectory. This file can be directly edited in Microsoft - Visual C++. Your project resources are in 1033. - -res\9118dma.ico - This is an icon file, which is used as the application's icon. This - icon is included by the main resource file 9118dma.rc. - -res\My9118dma.rc2 - This file contains resources that are not edited by Microsoft - Visual C++. You should place all resources not editable by - the resource editor in this file. - - -///////////////////////////////////////////////////////////////////////////// - -The application wizard creates one dialog class: - -9118dmaDlg.h, 9118dmaDlg.cpp - the dialog - These files contain your C9118dmaDlg class. This class defines - the behavior of your application's main dialog. The dialog's template is - in 9118dma.rc, which can be edited in Microsoft Visual C++. - - -///////////////////////////////////////////////////////////////////////////// - -Other Features: - -ActiveX Controls - The application includes support to use ActiveX controls. - -///////////////////////////////////////////////////////////////////////////// - -Other standard files: - -StdAfx.h, StdAfx.cpp - These files are used to build a precompiled header (PCH) file - named 9118dma.pch and a precompiled types file named StdAfx.obj. - -Resource.h - This is the standard header file, which defines new resource IDs. - Microsoft Visual C++ reads and updates this file. - -9118dma.manifest - Application manifest files are used by Windows XP to describe an applications - dependency on specific versions of Side-by-Side assemblies. The loader uses this - information to load the appropriate assembly from the assembly cache or private - from the application. The Application manifest maybe included for redistribution - as an external .manifest file that is installed in the same folder as the application - executable or it may be included in the executable in the form of a resource. -///////////////////////////////////////////////////////////////////////////// - -Other notes: - -The application wizard uses "TODO:" to indicate parts of the source code you -should add to or customize. - -If your application uses MFC in a shared DLL, you will need -to redistribute the MFC DLLs. If your application is in a language -other than the operating system's locale, you will also have to -redistribute the corresponding localized resources MFC90XXX.DLL. -For more information on both of these topics, please see the section on -redistributing Visual C++ applications in MSDN documentation. - -///////////////////////////////////////////////////////////////////////////// diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118ScanDma/res/9118dma.ico b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118ScanDma/res/9118dma.ico deleted file mode 100644 index d56fbcd..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118ScanDma/res/9118dma.ico and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118ScanDma/res/My9118dma.rc2 b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118ScanDma/res/My9118dma.rc2 deleted file mode 100644 index 64653dc..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118ScanDma/res/My9118dma.rc2 +++ /dev/null @@ -1,13 +0,0 @@ -// -// My9118dma.rc2 - resources Microsoft Visual C++ does not edit directly -// - -#ifdef APSTUDIO_INVOKED -#error this file is not editable by Microsoft Visual C++ -#endif //APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// Add manually edited resources here... - -///////////////////////////////////////////////////////////////////////////// diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118ScanDma/res/ch_set1.bmp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118ScanDma/res/ch_set1.bmp deleted file mode 100644 index f2374ed..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118ScanDma/res/ch_set1.bmp and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118ScanDma/res/ch_set2.bmp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118ScanDma/res/ch_set2.bmp deleted file mode 100644 index 32d0915..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118ScanDma/res/ch_set2.bmp and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118ScanDma/resource.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118ScanDma/resource.h deleted file mode 100644 index 68aa97e..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118ScanDma/resource.h +++ /dev/null @@ -1,31 +0,0 @@ -//{{NO_DEPENDENCIES}} -// Microsoft Visual C++ generated include file. -// Used by 9118dma.rc -// -#define IDM_ABOUTBOX 0x0010 -#define IDD_ABOUTBOX 100 -#define IDS_ABOUTBOX 101 -#define IDD_9118DMA_DIALOG 102 -#define IDR_MAINFRAME 128 -#define IDD_CARDID_DIALOG 129 -#define IDB_BITMAP_SET1 131 -#define IDB_BITMAP_SET2 132 -#define IDC_STATIC_DRAW 1000 -#define IDC_COMBO_CARDID 1001 -#define IDC_COMBO_SCANCHAN 1002 -#define IDC_BT_START 1003 -#define IDC_EDIT_SAMPLE_RATE 1004 -#define IDC_SCROLLBAR_RATE 1005 -#define IDC_STATIC_01 1006 -#define IDC_STATIC_2 1007 - -// Next default values for new objects -// -#ifdef APSTUDIO_INVOKED -#ifndef APSTUDIO_READONLY_SYMBOLS -#define _APS_NEXT_RESOURCE_VALUE 133 -#define _APS_NEXT_COMMAND_VALUE 32771 -#define _APS_NEXT_CONTROL_VALUE 1008 -#define _APS_NEXT_SYMED_VALUE 103 -#endif -#endif diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118ScanDma/stdafx.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118ScanDma/stdafx.cpp deleted file mode 100644 index ef80626..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118ScanDma/stdafx.cpp +++ /dev/null @@ -1,8 +0,0 @@ - -// stdafx.cpp : source file that includes just the standard includes -// 9111int.pch will be the pre-compiled header -// stdafx.obj will contain the pre-compiled type information - -#include "stdafx.h" - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118ScanDma/stdafx.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118ScanDma/stdafx.h deleted file mode 100644 index 12123e2..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118ScanDma/stdafx.h +++ /dev/null @@ -1,60 +0,0 @@ - -// stdafx.h : include file for standard system include files, -// or project specific include files that are used frequently, -// but are changed infrequently - -#pragma once - -#ifndef _SECURE_ATL -#define _SECURE_ATL 1 -#endif - -#ifndef VC_EXTRALEAN -#define VC_EXTRALEAN // Exclude rarely-used stuff from Windows headers -#endif - -#include "targetver.h" - -#define _ATL_CSTRING_EXPLICIT_CONSTRUCTORS // some CString constructors will be explicit - -// turns off MFC's hiding of some common and often safely ignored warning messages -#define _AFX_ALL_WARNINGS - -#include // MFC core and standard components -#include // MFC extensions - - -#include // MFC Automation classes - - - -#ifndef _AFX_NO_OLE_SUPPORT -#include // MFC support for Internet Explorer 4 Common Controls -#endif -#ifndef _AFX_NO_AFXCMN_SUPPORT -#include // MFC support for Windows Common Controls -#endif // _AFX_NO_AFXCMN_SUPPORT - -#include // MFC support for ribbons and control bars - - - - - - - - - -#ifdef _UNICODE -#if defined _M_IX86 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='x86' publicKeyToken='6595b64144ccf1df' language='*'\"") -#elif defined _M_IA64 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='ia64' publicKeyToken='6595b64144ccf1df' language='*'\"") -#elif defined _M_X64 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='amd64' publicKeyToken='6595b64144ccf1df' language='*'\"") -#else -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='*' publicKeyToken='6595b64144ccf1df' language='*'\"") -#endif -#endif - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118ScanDma/targetver.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118ScanDma/targetver.h deleted file mode 100644 index 11730d5..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9118/SDK9118ScanDma/targetver.h +++ /dev/null @@ -1,26 +0,0 @@ - -#pragma once - -// The following macros define the minimum required platform. The minimum required platform -// is the earliest version of Windows, Internet Explorer etc. that has the necessary features to run -// your application. The macros work by enabling all features available on platform versions up to and -// including the version specified. - -// Modify the following defines if you have to target a platform prior to the ones specified below. -// Refer to MSDN for the latest info on corresponding values for different platforms. -#ifndef WINVER // Specifies that the minimum required platform is Windows Vista. -#define WINVER 0x0600 // Change this to the appropriate value to target other versions of Windows. -#endif - -#ifndef _WIN32_WINNT // Specifies that the minimum required platform is Windows Vista. -#define _WIN32_WINNT 0x0600 // Change this to the appropriate value to target other versions of Windows. -#endif - -#ifndef _WIN32_WINDOWS // Specifies that the minimum required platform is Windows 98. -#define _WIN32_WINDOWS 0x0410 // Change this to the appropriate value to target Windows Me or later. -#endif - -#ifndef _WIN32_IE // Specifies that the minimum required platform is Internet Explorer 7.0. -#define _WIN32_IE 0x0700 // Change this to the appropriate value to target other versions of IE. -#endif - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9221/SDK9221/CardIDDlg.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9221/SDK9221/CardIDDlg.cpp deleted file mode 100644 index e6cf353..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9221/SDK9221/CardIDDlg.cpp +++ /dev/null @@ -1,65 +0,0 @@ -// CardIDDlg.cpp : implementation file -// - -#include "stdafx.h" -#include "Util9221.h" -#include "CardIDDlg.h" - -// CCardIDDlg dialog - -IMPLEMENT_DYNAMIC(CCardIDDlg, CDialog) - -CCardIDDlg::CCardIDDlg(int nCardIdx, CWnd* pParent /*=NULL*/) - : CDialog(CCardIDDlg::IDD, pParent) -{ - m_nCardIdx = nCardIdx; -} - -CCardIDDlg::~CCardIDDlg() -{ -} - -void CCardIDDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); - DDX_Control(pDX, IDC_COMBO_CARDID, m_cbCardID); -} - - -BEGIN_MESSAGE_MAP(CCardIDDlg, CDialog) -// ON_CBN_SELCHANGE(IDC_COMBO_CARDID, &CCardIDDlg::OnCbnSelchangeComboCardid) -ON_BN_CLICKED(IDOK, &CCardIDDlg::OnBnClickedOk) -//ON_WM_CTLCOLOR() -END_MESSAGE_MAP() - - -// CCardIDDlg message handlers - - -void CCardIDDlg::OnBnClickedOk() -{ - // TODO: Add your control notification handler code here - -// UpdateData(TRUE); - m_nCardIdx = m_cbCardID.GetCurSel(); - - OnOK(); -} - -BOOL CCardIDDlg::OnInitDialog() -{ - CDialog::OnInitDialog(); - - // TODO: Add extra initialization here - m_cbCardID.SetCurSel( m_nCardIdx ); - - return TRUE; // return TRUE unless you set the focus to a control - // EXCEPTION: OCX Property Pages should return FALSE -} - -// the function to get the selected CardID -int CCardIDDlg::GetCardID(void) -{ - return m_nCardIdx; -} - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9221/SDK9221/CardIDDlg.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9221/SDK9221/CardIDDlg.h deleted file mode 100644 index 9c02c58..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9221/SDK9221/CardIDDlg.h +++ /dev/null @@ -1,32 +0,0 @@ -#pragma once -#include "afxwin.h" - -#include "Dask64.h" - -// CCardIDDlg dialog - -class CCardIDDlg : public CDialog -{ - DECLARE_DYNAMIC(CCardIDDlg) - -public: - CCardIDDlg(int nCardIdx, CWnd* pParent = NULL); // standard constructor - virtual ~CCardIDDlg(); - -// Dialog Data - enum { IDD = IDD_CARDID_DIALOG }; - -protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - - DECLARE_MESSAGE_MAP() -public: - virtual BOOL OnInitDialog(); - afx_msg void OnBnClickedOk(); - // the setting of CardID ComboBox - int m_nCardIdx; - // the control of CardID ComboBox - CComboBox m_cbCardID; - // the function to get the selected CardID - int GetCardID(void); -}; diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9221/SDK9221/ReadMe.txt b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9221/SDK9221/ReadMe.txt deleted file mode 100644 index e45b2f1..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9221/SDK9221/ReadMe.txt +++ /dev/null @@ -1,93 +0,0 @@ -================================================================================ - MICROSOFT FOUNDATION CLASS LIBRARY : Util9221 Project Overview -=============================================================================== - -The application wizard has created this Util9221 application for -you. This application not only demonstrates the basics of using the Microsoft -Foundation Classes but is also a starting point for writing your application. - -This file contains a summary of what you will find in each of the files that -make up your Util9221 application. - -Util9221.vcproj - This is the main project file for VC++ projects generated using an application wizard. - It contains information about the version of Visual C++ that generated the file, and - information about the platforms, configurations, and project features selected with the - application wizard. - -Util9221.h - This is the main header file for the application. It includes other - project specific headers (including Resource.h) and declares the - CUtil9221App application class. - -Util9221.cpp - This is the main application source file that contains the application - class CUtil9221App. - -Util9221.rc - This is a listing of all of the Microsoft Windows resources that the - program uses. It includes the icons, bitmaps, and cursors that are stored - in the RES subdirectory. This file can be directly edited in Microsoft - Visual C++. Your project resources are in 1033. - -res\Util9221.ico - This is an icon file, which is used as the application's icon. This - icon is included by the main resource file Util9221.rc. - -res\Util9221.rc2 - This file contains resources that are not edited by Microsoft - Visual C++. You should place all resources not editable by - the resource editor in this file. - - -///////////////////////////////////////////////////////////////////////////// - -The application wizard creates one dialog class: - -Util9221Dlg.h, Util9221Dlg.cpp - the dialog - These files contain your CUtil9221Dlg class. This class defines - the behavior of your application's main dialog. The dialog's template is - in Util9221.rc, which can be edited in Microsoft Visual C++. - - -///////////////////////////////////////////////////////////////////////////// - -Other Features: - -ActiveX Controls - The application includes support to use ActiveX controls. - -///////////////////////////////////////////////////////////////////////////// - -Other standard files: - -StdAfx.h, StdAfx.cpp - These files are used to build a precompiled header (PCH) file - named Util9221.pch and a precompiled types file named StdAfx.obj. - -Resource.h - This is the standard header file, which defines new resource IDs. - Microsoft Visual C++ reads and updates this file. - -Util9221.manifest - Application manifest files are used by Windows XP to describe an applications - dependency on specific versions of Side-by-Side assemblies. The loader uses this - information to load the appropriate assembly from the assembly cache or private - from the application. The Application manifest maybe included for redistribution - as an external .manifest file that is installed in the same folder as the application - executable or it may be included in the executable in the form of a resource. -///////////////////////////////////////////////////////////////////////////// - -Other notes: - -The application wizard uses "TODO:" to indicate parts of the source code you -should add to or customize. - -If your application uses MFC in a shared DLL, you will need -to redistribute the MFC DLLs. If your application is in a language -other than the operating system's locale, you will also have to -redistribute the corresponding localized resources MFC90XXX.DLL. -For more information on both of these topics, please see the section on -redistributing Visual C++ applications in MSDN documentation. - -///////////////////////////////////////////////////////////////////////////// diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9221/SDK9221/Util9111.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9221/SDK9221/Util9111.suo deleted file mode 100644 index 6b7218e..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9221/SDK9221/Util9111.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9221/SDK9221/Util9221.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9221/SDK9221/Util9221.cpp deleted file mode 100644 index a69521e..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9221/SDK9221/Util9221.cpp +++ /dev/null @@ -1,111 +0,0 @@ - -// Util9221.cpp : Defines the class behaviors for the application. -// - -#include "stdafx.h" -#include "Util9221.h" -#include "Util9221Dlg.h" -#include "CardIDDlg.h" - -#ifdef _DEBUG -#define new DEBUG_NEW -#endif - - -// CUtil9221App - -BEGIN_MESSAGE_MAP(CUtil9221App, CWinAppEx) - ON_COMMAND(ID_HELP, &CWinApp::OnHelp) -END_MESSAGE_MAP() - - -// CUtil9221App construction - -CUtil9221App::CUtil9221App() -{ - // TODO: add construction code here, - // Place all significant initialization in InitInstance -} - - -// The one and only CUtil9221App object - -CUtil9221App theApp; - - -// CUtil9221App initialization - -BOOL CUtil9221App::InitInstance() -{ - int nCardID = 0; - I16 hCard; - CString strTemp; - INT_PTR nResponse; - - // InitCommonControlsEx() is required on Windows XP if an application - // manifest specifies use of ComCtl32.dll version 6 or later to enable - // visual styles. Otherwise, any window creation will fail. - INITCOMMONCONTROLSEX InitCtrls; - InitCtrls.dwSize = sizeof(InitCtrls); - // Set this to include all the common control classes you want to use - // in your application. - InitCtrls.dwICC = ICC_WIN95_CLASSES; - InitCommonControlsEx(&InitCtrls); - - CWinAppEx::InitInstance(); - - AfxEnableControlContainer(); - - // Standard initialization - // If you are not using these features and wish to reduce the size - // of your final executable, you should remove from the following - // the specific initialization routines you do not need - // Change the registry key under which our settings are stored - // TODO: You should modify this string to be something appropriate - // such as the name of your company or organization - SetRegistryKey(_T("Local AppWizard-Generated Applications")); - - CCardIDDlg CardDlg( nCardID ); - - nResponse = CardDlg.DoModal(); - if (nResponse == IDOK) - { - nCardID = CardDlg.GetCardID(); - - if ((hCard=Register_Card(PCI_9221, nCardID)) < 0) - { - strTemp.Format( TEXT("Register_Card Error = %d"), hCard); - AfxMessageBox( strTemp ); - } - else - { - CUtil9221Dlg dlg(hCard); - m_pMainWnd = &dlg; - nResponse = dlg.DoModal(); - if (nResponse == IDOK) - { - // TODO: Place code here to handle when the dialog is - // dismissed with OK - } - else if (nResponse == IDCANCEL) - { - // TODO: Place code here to handle when the dialog is - // dismissed with Cancel - } - - if (hCard >= 0) Release_Card(hCard); - } - - } - else if (nResponse == IDCANCEL) - { - // TODO: Place code here to handle when the dialog is - // dismissed with Cancel - } - - - - // Since the dialog has been closed, return FALSE so that we exit the - // application, rather than start the application's message pump. - return FALSE; -} diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9221/SDK9221/Util9221.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9221/SDK9221/Util9221.h deleted file mode 100644 index b31a81b..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9221/SDK9221/Util9221.h +++ /dev/null @@ -1,32 +0,0 @@ - -// Util9221.h : main header file for the PROJECT_NAME application -// - -#pragma once - -#ifndef __AFXWIN_H__ - #error "include 'stdafx.h' before including this file for PCH" -#endif - -#include "resource.h" // main symbols - - -// CUtil9221App: -// See Util9221.cpp for the implementation of this class -// - -class CUtil9221App : public CWinAppEx -{ -public: - CUtil9221App(); - -// Overrides - public: - virtual BOOL InitInstance(); - -// Implementation - - DECLARE_MESSAGE_MAP() -}; - -extern CUtil9221App theApp; \ No newline at end of file diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9221/SDK9221/Util9221.rc b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9221/SDK9221/Util9221.rc deleted file mode 100644 index c98f49d..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9221/SDK9221/Util9221.rc +++ /dev/null @@ -1,337 +0,0 @@ -// Microsoft Visual C++ generated resource script. -// -#include "resource.h" - -#define APSTUDIO_READONLY_SYMBOLS -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 2 resource. -// -#ifndef APSTUDIO_INVOKED -#include "targetver.h" -#endif -#include "afxres.h" - -///////////////////////////////////////////////////////////////////////////// -#undef APSTUDIO_READONLY_SYMBOLS - -///////////////////////////////////////////////////////////////////////////// -// Chinese (Taiwan) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_CHT) -#ifdef _WIN32 -LANGUAGE LANG_CHINESE, SUBLANG_CHINESE_TRADITIONAL -#pragma code_page(950) -#endif //_WIN32 - -#ifdef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// TEXTINCLUDE -// - -1 TEXTINCLUDE -BEGIN - "resource.h\0" -END - -2 TEXTINCLUDE -BEGIN - "#ifndef APSTUDIO_INVOKED\r\n" - "#include ""targetver.h""\r\n" - "#endif\r\n" - "#include ""afxres.h""\r\n" - "\0" -END - -3 TEXTINCLUDE -BEGIN - "#define _AFX_NO_SPLITTER_RESOURCES\r\n" - "#define _AFX_NO_OLE_RESOURCES\r\n" - "#define _AFX_NO_TRACKER_RESOURCES\r\n" - "#define _AFX_NO_PROPERTY_RESOURCES\r\n" - "\r\n" - "#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)\r\n" - "LANGUAGE 9, 1\r\n" - "#pragma code_page(1252)\r\n" - "#include ""res\\Util9221.rc2"" // non-Microsoft Visual C++ edited resources\r\n" - "#include ""afxres.rc"" // Standard components\r\n" - "#endif\r\n" - "\0" -END - -#endif // APSTUDIO_INVOKED - -#endif // Chinese (Taiwan) resources -///////////////////////////////////////////////////////////////////////////// - - -///////////////////////////////////////////////////////////////////////////// -// English (U.S.) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -#ifdef _WIN32 -LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US -#pragma code_page(1252) -#endif //_WIN32 - -///////////////////////////////////////////////////////////////////////////// -// -// Icon -// - -// Icon with lowest ID value placed first to ensure application icon -// remains consistent on all systems. -IDR_MAINFRAME ICON "res\\Util9221.ico" -IDI_ICON_BLACK ICON "res\\black.ico" -IDI_ICON_RED ICON "res\\red.ico" - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog -// - -IDD_ABOUTBOX DIALOGEX 0, 0, 170, 62 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "About Util9221" -FONT 8, "MS Shell Dlg", 0, 0, 0x1 -BEGIN - ICON IDR_MAINFRAME,IDC_STATIC,14,14,21,20 - LTEXT "Util9221, Version 1.0",IDC_STATIC,42,14,114,8,SS_NOPREFIX - LTEXT "Copyright (C) 2010",IDC_STATIC,42,26,114,8 - DEFPUSHBUTTON "OK",IDOK,113,41,50,14,WS_GROUP -END - -IDD_UTIL9221_DIALOG DIALOGEX 0, 0, 345, 232 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU -EXSTYLE WS_EX_APPWINDOW -CAPTION "PCI-9221" -FONT 8, "MS Shell Dlg", 0, 0, 0x1 -BEGIN - ICON IDI_ICON_BLACK,IDC_ICON_DI00,236,199,20,20 - ICON IDI_ICON_BLACK,IDC_ICON_DI01,218,199,20,20 - ICON IDI_ICON_BLACK,IDC_ICON_DI02,200,199,20,20 - ICON IDI_ICON_BLACK,IDC_ICON_DI03,182,199,20,20 - ICON IDI_ICON_BLACK,IDC_ICON_DI04,164,199,20,20 - ICON IDI_ICON_BLACK,IDC_ICON_DI05,146,199,20,20 - ICON IDI_ICON_BLACK,IDC_ICON_DI06,128,199,20,20 - ICON IDI_ICON_BLACK,IDC_ICON_DI07,110,199,20,20 - CONTROL "",IDC_CHECK_DO00,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE | WS_TABSTOP,317,205,12,12 - CONTROL "",IDC_CHECK_DO01,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE | WS_TABSTOP,299,205,12,12 - CONTROL "",IDC_CHECK_DO02,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE | WS_TABSTOP,281,205,12,12 - CONTROL "",IDC_CHECK_DO03,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE | WS_TABSTOP,263,205,12,12 - SCROLLBAR IDC_SCROLLBAR1,128,181,162,12 - GROUPBOX "",IDC_STATIC_DRAW0,45,9,213,75,NOT WS_VISIBLE - GROUPBOX "",IDC_STATIC_DRAW1,45,90,213,75,NOT WS_VISIBLE - CONTROL 132,IDC_STATIC,"Static",SS_BITMAP,289,20,9,44 - CONTROL "0",IDC_RADIO_CH0,"Button",BS_AUTOCHECKBOX | BS_LEFTTEXT | BS_PUSHLIKE,268,21,17,10 - CONTROL "1",IDC_RADIO_CH1,"Button",BS_AUTOCHECKBOX | BS_LEFTTEXT | BS_PUSHLIKE,268,32,17,10 - CONTROL "2",IDC_RADIO_CH2,"Button",BS_AUTOCHECKBOX | BS_LEFTTEXT | BS_PUSHLIKE,268,43,17,10 - CONTROL "3",IDC_RADIO_CH3,"Button",BS_AUTOCHECKBOX | BS_LEFTTEXT | BS_PUSHLIKE,268,54,17,10 - CONTROL "4",IDC_RADIO_CH4,"Button",BS_AUTOCHECKBOX | BS_LEFTTEXT | BS_PUSHLIKE,303,21,17,10 - CONTROL "5",IDC_RADIO_CH5,"Button",BS_AUTOCHECKBOX | BS_LEFTTEXT | BS_PUSHLIKE,303,32,17,10 - CONTROL "6",IDC_RADIO_CH6,"Button",BS_AUTOCHECKBOX | BS_LEFTTEXT | BS_PUSHLIKE,303,43,17,10 - CONTROL "7",IDC_RADIO_CH7,"Button",BS_AUTOCHECKBOX | BS_LEFTTEXT | BS_PUSHLIKE,303,54,17,10 - CONTROL 132,IDC_STATIC,"Static",SS_BITMAP,288,111,9,44 - CONTROL 133,IDC_STATIC,"Static",SS_BITMAP,321,111,11,45 - CONTROL "8",IDC_RADIO_CH8,"Button",BS_AUTOCHECKBOX | BS_LEFTTEXT | BS_PUSHLIKE,266,112,17,10 - CONTROL "9",IDC_RADIO_CH9,"Button",BS_AUTOCHECKBOX | BS_LEFTTEXT | BS_PUSHLIKE,266,123,17,10 - CONTROL "10",IDC_RADIO_CH10,"Button",BS_AUTOCHECKBOX | BS_LEFTTEXT | BS_PUSHLIKE,266,134,17,10 - CONTROL "11",IDC_RADIO_CH11,"Button",BS_AUTOCHECKBOX | BS_LEFTTEXT | BS_PUSHLIKE,266,146,17,10 - CONTROL "12",IDC_RADIO_CH12,"Button",BS_AUTOCHECKBOX | BS_LEFTTEXT | BS_PUSHLIKE,302,112,17,10 - CONTROL "13",IDC_RADIO_CH13,"Button",BS_AUTOCHECKBOX | BS_LEFTTEXT | BS_PUSHLIKE,302,123,17,10 - CONTROL "14",IDC_RADIO_CH14,"Button",BS_AUTOCHECKBOX | BS_LEFTTEXT | BS_PUSHLIKE,302,134,17,10 - CONTROL "15",IDC_RADIO_CH15,"Button",BS_AUTOCHECKBOX | BS_LEFTTEXT | BS_PUSHLIKE,302,146,17,10 - CONTROL 133,IDC_STATIC,"Static",SS_BITMAP,322,20,11,45 - COMBOBOX IDC_COMBO_AI_RANGE,266,89,67,13,CBS_DROPDOWN | WS_VSCROLL | WS_TABSTOP - LTEXT "Input Range",IDC_STATIC,265,75,45,12 - LTEXT "-5 0 5",IDC_STATIC,139,169,147,12 - LTEXT "AO-0",IDC_STATIC,105,180,18,13 - EDITTEXT IDC_EDIT_AO,298,180,29,14,ES_AUTOHSCROLL | ES_READONLY -END - -IDD_CARDID_DIALOG DIALOGEX 0, 0, 165, 102 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "Card ID" -FONT 8, "MS Shell Dlg", 400, 0, 0x1 -BEGIN - COMBOBOX IDC_COMBO_CARDID,75,24,71,126,CBS_DROPDOWN | WS_VSCROLL | WS_TABSTOP - LTEXT "Card Number",IDC_STATIC_01,21,25,46,12 - PUSHBUTTON "OK",IDOK,23,61,58,19 - PUSHBUTTON "CANCEL",IDCANCEL,87,61,58,19 -END - - -///////////////////////////////////////////////////////////////////////////// -// -// Version -// - -VS_VERSION_INFO VERSIONINFO - FILEVERSION 1,0,0,1 - PRODUCTVERSION 1,0,0,1 - FILEFLAGSMASK 0x3fL -#ifdef _DEBUG - FILEFLAGS 0x1L -#else - FILEFLAGS 0x0L -#endif - FILEOS 0x4L - FILETYPE 0x1L - FILESUBTYPE 0x0L -BEGIN - BLOCK "StringFileInfo" - BEGIN - BLOCK "040904e4" - BEGIN - VALUE "CompanyName", "TODO: " - VALUE "FileDescription", "TODO: " - VALUE "FileVersion", "1.0.0.1" - VALUE "InternalName", "Util9221.exe" - VALUE "LegalCopyright", "TODO: (c) . All rights reserved." - VALUE "OriginalFilename", "Util9221.exe" - VALUE "ProductName", "TODO: " - VALUE "ProductVersion", "1.0.0.1" - END - END - BLOCK "VarFileInfo" - BEGIN - VALUE "Translation", 0x409, 1252 - END -END - - -///////////////////////////////////////////////////////////////////////////// -// -// DESIGNINFO -// - -#ifdef APSTUDIO_INVOKED -GUIDELINES DESIGNINFO -BEGIN - IDD_ABOUTBOX, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 163 - TOPMARGIN, 7 - BOTTOMMARGIN, 55 - END - - IDD_UTIL9221_DIALOG, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 338 - TOPMARGIN, 7 - BOTTOMMARGIN, 225 - END - - IDD_CARDID_DIALOG, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 158 - TOPMARGIN, 6 - BOTTOMMARGIN, 95 - END -END -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// Bitmap -// - -IDB_BITMAP_SET1 BITMAP "res\\ch_set1.bmp" -IDB_BITMAP_SET2 BITMAP "res\\ch_set2.bmp" - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog Info -// - -IDD_UTIL9221_DIALOG DLGINIT -BEGIN - IDC_COMBO_AI_RANGE, 0x403, 7, 0 -0x2f2b, 0x202d, 0x5635, "\000" - IDC_COMBO_AI_RANGE, 0x403, 8, 0 -0x2f2b, 0x312d, 0x302e, 0x0056, - IDC_COMBO_AI_RANGE, 0x403, 9, 0 -0x2f2b, 0x202d, 0x2e30, 0x5635, "\000" - IDC_COMBO_AI_RANGE, 0x403, 8, 0 -0x2f2b, 0x302d, 0x322e, 0x0056, - 0 -END - -IDD_CARDID_DIALOG DLGINIT -BEGIN - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0030, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0031, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0032, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0033, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0034, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0035, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0036, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0037, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0038, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0039, - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3031, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3131, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3231, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3331, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3431, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3531, "\000" - 0 -END - - -///////////////////////////////////////////////////////////////////////////// -// -// String Table -// - -STRINGTABLE -BEGIN - IDS_ABOUTBOX "&About Util9221..." -END - -#endif // English (U.S.) resources -///////////////////////////////////////////////////////////////////////////// - - - -#ifndef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 3 resource. -// -#define _AFX_NO_SPLITTER_RESOURCES -#define _AFX_NO_OLE_RESOURCES -#define _AFX_NO_TRACKER_RESOURCES -#define _AFX_NO_PROPERTY_RESOURCES - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -LANGUAGE 9, 1 -#pragma code_page(1252) -#include "res\Util9221.rc2" // non-Microsoft Visual C++ edited resources -#include "afxres.rc" // Standard components -#endif - -///////////////////////////////////////////////////////////////////////////// -#endif // not APSTUDIO_INVOKED - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9221/SDK9221/Util9221.sln b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9221/SDK9221/Util9221.sln deleted file mode 100644 index b3ac5ea..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9221/SDK9221/Util9221.sln +++ /dev/null @@ -1,20 +0,0 @@ - -Microsoft Visual Studio Solution File, Format Version 10.00 -# Visual Studio 2008 -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "Util9221", "Util9221.vcproj", "{EA91AA3F-533F-4BE6-8BD6-78C091590751}" -EndProject -Global - GlobalSection(SolutionConfigurationPlatforms) = preSolution - Debug|x64 = Debug|x64 - Release|x64 = Release|x64 - EndGlobalSection - GlobalSection(ProjectConfigurationPlatforms) = postSolution - {EA91AA3F-533F-4BE6-8BD6-78C091590751}.Debug|x64.ActiveCfg = Debug|x64 - {EA91AA3F-533F-4BE6-8BD6-78C091590751}.Debug|x64.Build.0 = Debug|x64 - {EA91AA3F-533F-4BE6-8BD6-78C091590751}.Release|x64.ActiveCfg = Release|x64 - {EA91AA3F-533F-4BE6-8BD6-78C091590751}.Release|x64.Build.0 = Release|x64 - EndGlobalSection - GlobalSection(SolutionProperties) = preSolution - HideSolutionNode = FALSE - EndGlobalSection -EndGlobal diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9221/SDK9221/Util9221.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9221/SDK9221/Util9221.suo deleted file mode 100644 index 26c1417..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9221/SDK9221/Util9221.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9221/SDK9221/Util9221.vcproj b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9221/SDK9221/Util9221.vcproj deleted file mode 100644 index 240b2af..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9221/SDK9221/Util9221.vcproj +++ /dev/null @@ -1,306 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9221/SDK9221/Util9221Dlg.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9221/SDK9221/Util9221Dlg.cpp deleted file mode 100644 index 8711230..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9221/SDK9221/Util9221Dlg.cpp +++ /dev/null @@ -1,1102 +0,0 @@ - -// Util9221Dlg.cpp : implementation file -// - -#include "stdafx.h" -#include "Util9221.h" -#include "Util9221Dlg.h" - -#ifdef _DEBUG -#define new DEBUG_NEW -#endif - -CRect plotRect0, plotRect1; - - -// CAboutDlg dialog used for App About - -class CAboutDlg : public CDialog -{ -public: - CAboutDlg(); - -// Dialog Data - enum { IDD = IDD_ABOUTBOX }; - - protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - -// Implementation -protected: - DECLARE_MESSAGE_MAP() -}; - -CAboutDlg::CAboutDlg() : CDialog(CAboutDlg::IDD) -{ -} - -void CAboutDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); -} - -BEGIN_MESSAGE_MAP(CAboutDlg, CDialog) -END_MESSAGE_MAP() - - -// CUtil9221Dlg dialog - - - - -CUtil9221Dlg::CUtil9221Dlg(I16 hCard, CWnd* pParent /*=NULL*/) - : CDialog(CUtil9221Dlg::IDD, pParent) -{ - m_hIcon = AfxGetApp()->LoadIcon(IDR_MAINFRAME); - - m_hCard = hCard; - - n_PlotWidth = n_PlotHeight = -1; - OnBrush = OffBrush = NULL; - - min_val = 0x00; - max_val = 0xFFFF; - - for( int i=0; iAppendMenu(MF_SEPARATOR); - pSysMenu->AppendMenu(MF_STRING, IDM_ABOUTBOX, strAboutMenu); - } - } - - // Set the icon for this dialog. The framework does this automatically - // when the application's main window is not a dialog - SetIcon(m_hIcon, TRUE); // Set big icon - SetIcon(m_hIcon, FALSE); // Set small icon - - x_divider = 5; y_divider = 2; - - OnBrush = CreateSolidBrush( RGB(255,0,0) ); - OffBrush = CreateSolidBrush( RGB(125,0,0) ); - - RedPen.CreatePen( PS_SOLID, 1, RGB(255,0,0)); - GreenPen.CreatePen( PS_SOLID, 1, RGB(0,255,0)); - YellowPen.CreatePen( PS_SOLID, 1, RGB(255,255,0)); - BluePen.CreatePen( PS_SOLID, 1, RGB(0,0,255)); - LTBluePen.CreatePen( PS_SOLID, 1, RGB(0,128,255)); - LTRedPen.CreatePen( PS_SOLID, 1, RGB(255,128,0)); - LTGreenPen.CreatePen( PS_SOLID, 1, RGB(0,128,0)); - WhitePen.CreatePen( PS_SOLID, 1, RGB(255,255,255)); - - - if( n_PlotWidth == -1 && n_PlotHeight == -1 ) - { - ((CWnd*)GetDlgItem(IDC_STATIC_DRAW0))->GetWindowRect(&plotRect0); - ScreenToClient(&plotRect0); - - n_PlotWidth = min( plotRect0.Width(), 512); - n_PlotHeight = plotRect0.Height(); - - ((CWnd*)GetDlgItem(IDC_STATIC_DRAW1))->GetWindowRect(&plotRect1); - ScreenToClient(&plotRect1); - } - - - // TODO: Add extra initialization here - info.cbSize = sizeof(SCROLLINFO); - info.fMask = SIF_ALL; - info.nMin = 0; - info.nMax = 4096; - info.nPage = 2; - info.nPos = 0; - info.nTrackPos = 2; - m_scBarAO.SetScrollInfo(&info); - m_nAOValue = 0; - - m_cbAIRange.SetCurSel( 0 ); - max_range = 5.0; - min_range = -5.0; - m_wAdRange = AD_B_5_V; - - m_nTimer = SetTimer( 1, 100, NULL ); - - return TRUE; // return TRUE unless you set the focus to a control -} - -void CUtil9221Dlg::OnSysCommand(UINT nID, LPARAM lParam) -{ - if ((nID & 0xFFF0) == IDM_ABOUTBOX) - { - CAboutDlg dlgAbout; - dlgAbout.DoModal(); - } - else - { - CDialog::OnSysCommand(nID, lParam); - } -} - -// If you add a minimize button to your dialog, you will need the code below -// to draw the icon. For MFC applications using the document/view model, -// this is automatically done for you by the framework. - -void CUtil9221Dlg::OnPaint() -{ - if (IsIconic()) - { - CPaintDC dc(this); // device context for painting - - SendMessage(WM_ICONERASEBKGND, reinterpret_cast(dc.GetSafeHdc()), 0); - - // Center icon in client rectangle - int cxIcon = GetSystemMetrics(SM_CXICON); - int cyIcon = GetSystemMetrics(SM_CYICON); - CRect rect; - GetClientRect(&rect); - int x = (rect.Width() - cxIcon + 1) / 2; - int y = (rect.Height() - cyIcon + 1) / 2; - - // Draw the icon - dc.DrawIcon(x, y, m_hIcon); - } - else - { - redraw_display_area(); - CDialog::OnPaint(); - } -} - -// The system calls this function to obtain the cursor to display while the user drags -// the minimized window. -HCURSOR CUtil9221Dlg::OnQueryDragIcon() -{ - return static_cast(m_hIcon); -} - - -void CUtil9221Dlg::OnHScroll(UINT nSBCode, UINT nPos, CScrollBar* pScrollBar) -{ - // TODO: Add your message handler code here and/or call default - int minpos; - int maxpos; - double fAOValue; - CString strTmp; - - m_scBarAO.GetScrollRange(&minpos, &maxpos); - maxpos = m_scBarAO.GetScrollLimit(); - - // Get the current position of scroll box. - int curpos = m_scBarAO.GetScrollPos(); - - // Determine the new position of scroll box. - switch (nSBCode) - { - case SB_LINELEFT: // Scroll left. - if (curpos > minpos) - curpos--; - break; - - case SB_LINERIGHT: // Scroll right. - if (curpos < maxpos) - curpos++; - break; - - case SB_THUMBPOSITION: // Scroll to absolute position. nPos is the position - curpos = nPos; // of the scroll box at the end of the drag operation. - - break; - - case SB_LEFT: // Scroll to far left. - case SB_RIGHT: // Scroll to far right. - case SB_ENDSCROLL: // End scroll. - case SB_PAGELEFT: // Scroll one page left. - case SB_PAGERIGHT: // Scroll one page right. - case SB_THUMBTRACK: // Drag scroll box to specified position. nPos is the - - break; - } - - // Set the new position of the thumb (scroll box). - m_scBarAO.SetScrollPos(curpos); - - if( m_nAOValue != curpos ) - { - // update the m_nAOValue value, and output AO - m_nAOValue = curpos; - fAOValue = ( 10.0 * (double)curpos / (double)(maxpos - minpos) ) - 5.0; - strTmp.Format( TEXT("%.02f"), fAOValue ); - SetDlgItemText( IDC_EDIT_AO, strTmp ); - - AO_VWriteChannel(m_hCard, 0, fAOValue ); - } - - - CDialog::OnHScroll(nSBCode, nPos, pScrollBar); -} - - - -void CUtil9221Dlg::OnDestroy() -{ - CDialog::OnDestroy(); - - // TODO: Add your message handler code here - - if( m_nTimer != -1 ) - { - KillTimer( m_nTimer ); - m_nTimer = -1; - } - - if( OnBrush != NULL ) - ::DeleteObject( OnBrush ); - - if( OffBrush != NULL ) - ::DeleteObject( OffBrush ); - - RedPen.DeleteObject(); - GreenPen.DeleteObject(); - YellowPen.DeleteObject(); - BluePen.DeleteObject(); - LTBluePen.DeleteObject(); - LTRedPen.DeleteObject(); - LTGreenPen.DeleteObject(); - WhitePen.DeleteObject(); -} - -void CUtil9221Dlg::OnAIRangeSelchange() -{ - // TODO: Add your control notification handler code here - U16 tmpAdRange; - int nIndex; - double maxRange, minRange; - - nIndex = m_cbAIRange.GetCurSel(); - switch( nIndex ) - { - case 0: - tmpAdRange = AD_B_5_V; - maxRange = 5.0; - minRange = -5.0; - break; - case 1: - tmpAdRange = AD_B_1_V; - maxRange = 1.0; - minRange = -1.0; - break; - case 2: - tmpAdRange = AD_B_0_5_V; - maxRange = 0.5; - minRange = -0.5; - break; - case 3: - tmpAdRange = AD_B_0_2_V; - maxRange = 0.2; - minRange = -0.2; - break; - } - - - if( tmpAdRange != m_wAdRange ) - { // update m_InPortA and configure the target Port - m_wAdRange = tmpAdRange; - - max_range = maxRange; - min_range = minRange; - - redraw_display_area(); - - } - -} - -void CUtil9221Dlg::OnAI00Enable() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_RADIO_CH0 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_AIEnable[0] = 0x01; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_AIEnable[0] = 0x00; - } -} - -void CUtil9221Dlg::OnAI01Enable() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_RADIO_CH1 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_AIEnable[1] = 0x01; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_AIEnable[1] = 0x00; - } -} - -void CUtil9221Dlg::OnAI02Enable() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_RADIO_CH2 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_AIEnable[2] = 0x01; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_AIEnable[2] = 0x00; - } -} - -void CUtil9221Dlg::OnAI03Enable() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_RADIO_CH3 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_AIEnable[3] = 0x01; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_AIEnable[3] = 0x00; - } -} - -void CUtil9221Dlg::OnAI04Enable() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_RADIO_CH4 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_AIEnable[4] = 0x01; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_AIEnable[4] = 0x00; - } -} - -void CUtil9221Dlg::OnAI05Enable() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_RADIO_CH5 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_AIEnable[5] = 0x01; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_AIEnable[5] = 0x00; - } -} - -void CUtil9221Dlg::OnAI06Enable() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_RADIO_CH6 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_AIEnable[6] = 0x01; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_AIEnable[6] = 0x00; - } -} - -void CUtil9221Dlg::OnAI07Enable() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_RADIO_CH7 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_AIEnable[7] = 0x01; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_AIEnable[7] = 0x00; - } -} - -void CUtil9221Dlg::OnAI08Enable() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_RADIO_CH8 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_AIEnable[8] = 0x01; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_AIEnable[8] = 0x00; - } -} - -void CUtil9221Dlg::OnAI09Enable() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_RADIO_CH9 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_AIEnable[9] = 0x01; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_AIEnable[9] = 0x00; - } -} - -void CUtil9221Dlg::OnAI10Enable() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_RADIO_CH10 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_AIEnable[10] = 0x01; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_AIEnable[10] = 0x00; - } -} - -void CUtil9221Dlg::OnAI11Enable() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_RADIO_CH11 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_AIEnable[11] = 0x01; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_AIEnable[11] = 0x00; - } -} - -void CUtil9221Dlg::OnAI12Enable() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_RADIO_CH12 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_AIEnable[12] = 0x01; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_AIEnable[12] = 0x00; - } -} - -void CUtil9221Dlg::OnAI13Enable() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_RADIO_CH13 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_AIEnable[13] = 0x01; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_AIEnable[13] = 0x00; - } -} - -void CUtil9221Dlg::OnAI14Enable() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_RADIO_CH14 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_AIEnable[14] = 0x01; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_AIEnable[14] = 0x00; - } -} - -void CUtil9221Dlg::OnAI15Enable() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_RADIO_CH15 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_AIEnable[15] = 0x01; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_AIEnable[15] = 0x00; - } -} - -void CUtil9221Dlg::OnDo00() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_DO00 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_OutData |= 0x01; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_OutData &= (~0x01); - } - - DO_WritePort(m_hCard, 0, m_OutData); -} - -void CUtil9221Dlg::OnDo01() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_DO01 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_OutData |= 0x02; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_OutData &= (~0x02); - } - - DO_WritePort(m_hCard, 0, m_OutData); -} - -void CUtil9221Dlg::OnDo02() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_DO02 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_OutData |= 0x04; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_OutData &= (~0x04); - } - - DO_WritePort(m_hCard, 0, m_OutData); -} - -void CUtil9221Dlg::OnDo03() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_DO03 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_OutData |= 0x08; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_OutData &= (~0x08); - } - - DO_WritePort(m_hCard, 0, m_OutData); -} - - -void CUtil9221Dlg::OnTimer(UINT_PTR nIDEvent) -{ - // TODO: Add your message handler code here and/or call default - U32 dwPortData,dwChangeMask; - I16 err; - - err = DI_ReadPort(m_hCard, P9111_CHANNEL_DI, &dwPortData); - dwChangeMask = dwPortData ^ m_InData; - - if( dwChangeMask != 0x00 ) // Input had been changed - { - - m_InData = dwPortData; - - if( (dwChangeMask & 0x0001) == 0x0001 ) // if the target bit is changed - { - if( (dwPortData & 0x0001) == 0x0001 ) - { - m_Icon_IN00.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_IN00.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - - if( (dwChangeMask & 0x0002) == 0x0002 ) // if the target bit is changed - { - if( (dwPortData & 0x0002) == 0x0002 ) - { - m_Icon_IN01.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_IN01.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - if( (dwChangeMask & 0x0004) == 0x0004 ) // if the target bit is changed - { - if( (dwPortData & 0x0004) == 0x0004 ) - { - m_Icon_IN02.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_IN02.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - if( (dwChangeMask & 0x0008) == 0x0008 ) // if the target bit is changed - { - if( (dwPortData & 0x0008) == 0x0008 ) - { - m_Icon_IN03.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_IN03.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - if( (dwChangeMask & 0x0010) == 0x0010 ) // if the target bit is changed - { - if( (dwPortData & 0x0010) == 0x0010 ) - { - m_Icon_IN04.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_IN04.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - if( (dwChangeMask & 0x0020) == 0x0020 ) // if the target bit is changed - { - if( (dwPortData & 0x0020) == 0x0020 ) - { - m_Icon_IN05.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_IN05.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - if( (dwChangeMask & 0x0040) == 0x0040 ) // if the target bit is changed - { - if( (dwPortData & 0x0040) == 0x0040 ) - { - m_Icon_IN06.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_IN06.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - if( (dwChangeMask & 0x0080) == 0x0080 ) // if the target bit is changed - { - if( (dwPortData & 0x0080) == 0x0080 ) - { - m_Icon_IN07.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_IN07.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - } - - for( int i=0; i> 16) ); // ( n_PlotHeight * ai_data / 65536) ); // ( (n_PlotHeight/2) * ai_data/32768 ) ); - - if ( m_oldY[i] !=-1 ) - { - dc_plot.MoveTo( plotRect0.left+2, newY ); - dc_plot.LineTo( plotRect0.left+5, m_oldY[i] ); - } - - m_oldY[i] = newY; - } - } - - return 0; -} diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9221/SDK9221/Util9221Dlg.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9221/SDK9221/Util9221Dlg.h deleted file mode 100644 index 4d2770b..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9221/SDK9221/Util9221Dlg.h +++ /dev/null @@ -1,108 +0,0 @@ - -// Util9221Dlg.h : header file -// - -#pragma once -#include "afxcmn.h" -#include "afxwin.h" - -#include "Dask64.h" - -#ifndef MAX_CHAN_9221 -#define MAX_CHAN_9221 16 -#endif - -// CUtil9221Dlg dialog -class CUtil9221Dlg : public CDialog -{ -// Construction -public: - CUtil9221Dlg(I16 hCard, CWnd* pParent = NULL); // standard constructor - -// Dialog Data - enum { IDD = IDD_UTIL9221_DIALOG }; - - protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - - -// Implementation -protected: - HICON m_hIcon; - UINT_PTR m_nTimer; - I16 m_hCard; - int m_nAOValue; - U16 m_wAdRange; - U8 m_AIEnable[MAX_CHAN_9221]; - U16 m_AIData[MAX_CHAN_9221]; - U32 m_OutData; - U32 m_InData; - - // Generated message map functions - virtual BOOL OnInitDialog(); - afx_msg void OnSysCommand(UINT nID, LPARAM lParam); - afx_msg void OnPaint(); - afx_msg HCURSOR OnQueryDragIcon(); - DECLARE_MESSAGE_MAP() -public: - CScrollBar m_scBarAO; - afx_msg void OnHScroll(UINT nSBCode, UINT nPos, CScrollBar* pScrollBar); - CComboBox m_cbAIRange; - WORD max_val; - WORD min_val; - double max_range; - double min_range; - int n_PlotWidth; - int n_PlotHeight; - int y_divider; - int x_divider; - int m_DisplayScale; - int m_oldY[MAX_CHAN_9221]; - HBRUSH OnBrush; - HBRUSH OffBrush; - CPen RedPen; - CPen GreenPen; - CPen YellowPen; - CPen BluePen; - CPen LTBluePen; - CPen LTRedPen; - CPen LTGreenPen; - CPen WhitePen; - -private: - void redraw_display_area(void); -public: - afx_msg void OnDestroy(); - afx_msg void OnAIRangeSelchange(); - afx_msg void OnAI00Enable(); - afx_msg void OnAI01Enable(); - afx_msg void OnAI02Enable(); - afx_msg void OnAI03Enable(); - afx_msg void OnAI04Enable(); - afx_msg void OnAI05Enable(); - afx_msg void OnAI06Enable(); - afx_msg void OnAI07Enable(); - afx_msg void OnAI08Enable(); - afx_msg void OnAI09Enable(); - afx_msg void OnAI10Enable(); - afx_msg void OnAI11Enable(); - afx_msg void OnAI12Enable(); - afx_msg void OnAI13Enable(); - afx_msg void OnAI14Enable(); - afx_msg void OnAI15Enable(); - afx_msg void OnDo00(); - afx_msg void OnDo01(); - afx_msg void OnDo02(); - afx_msg void OnDo03(); - afx_msg void OnTimer(UINT_PTR nIDEvent); - CStatic m_Icon_IN00; - CStatic m_Icon_IN01; - CStatic m_Icon_IN02; - CStatic m_Icon_IN03; - CStatic m_Icon_IN04; - CStatic m_Icon_IN05; - CStatic m_Icon_IN06; - CStatic m_Icon_IN07; -private: - int display_buffer_data(void); -}; diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9221/SDK9221/res/Util9221.ico b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9221/SDK9221/res/Util9221.ico deleted file mode 100644 index d56fbcd..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9221/SDK9221/res/Util9221.ico and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9221/SDK9221/res/Util9221.rc2 b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9221/SDK9221/res/Util9221.rc2 deleted file mode 100644 index 4b43b56..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9221/SDK9221/res/Util9221.rc2 +++ /dev/null @@ -1,13 +0,0 @@ -// -// Util9111.RC2 - resources Microsoft Visual C++ does not edit directly -// - -#ifdef APSTUDIO_INVOKED -#error this file is not editable by Microsoft Visual C++ -#endif //APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// Add manually edited resources here... - -///////////////////////////////////////////////////////////////////////////// diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9221/SDK9221/res/black.ico b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9221/SDK9221/res/black.ico deleted file mode 100644 index b5c375f..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9221/SDK9221/res/black.ico and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9221/SDK9221/res/blue.ico b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9221/SDK9221/res/blue.ico deleted file mode 100644 index 1df4b39..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9221/SDK9221/res/blue.ico and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9221/SDK9221/res/ch_set1.bmp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9221/SDK9221/res/ch_set1.bmp deleted file mode 100644 index f2374ed..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9221/SDK9221/res/ch_set1.bmp and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9221/SDK9221/res/ch_set2.bmp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9221/SDK9221/res/ch_set2.bmp deleted file mode 100644 index 32d0915..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9221/SDK9221/res/ch_set2.bmp and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9221/SDK9221/res/green.ico b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9221/SDK9221/res/green.ico deleted file mode 100644 index d9a9fd3..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9221/SDK9221/res/green.ico and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9221/SDK9221/res/pink.ico b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9221/SDK9221/res/pink.ico deleted file mode 100644 index 18bdaad..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9221/SDK9221/res/pink.ico and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9221/SDK9221/res/red.ico b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9221/SDK9221/res/red.ico deleted file mode 100644 index 7644596..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9221/SDK9221/res/red.ico and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9221/SDK9221/res/yellow.ico b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9221/SDK9221/res/yellow.ico deleted file mode 100644 index 3449de2..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9221/SDK9221/res/yellow.ico and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9221/SDK9221/resource.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9221/SDK9221/resource.h deleted file mode 100644 index 72bc472..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9221/SDK9221/resource.h +++ /dev/null @@ -1,61 +0,0 @@ -//{{NO_DEPENDENCIES}} -// Microsoft Visual C++ generated include file. -// Used by Util9221.rc -// -#define IDM_ABOUTBOX 0x0010 -#define IDD_ABOUTBOX 100 -#define IDS_ABOUTBOX 101 -#define IDD_UTIL9221_DIALOG 102 -#define IDR_MAINFRAME 128 -#define IDI_ICON_BLACK 130 -#define IDI_ICON_RED 131 -#define IDB_BITMAP_SET1 132 -#define IDB_BITMAP_SET2 133 -#define IDD_CARDID_DIALOG 135 -#define IDC_STATIC_DRAW0 1000 -#define IDC_COMBO_CARDID 1000 -#define IDC_SCROLLBAR1 1001 -#define IDC_STATIC_DRAW1 1002 -#define IDC_ICON_DI00 1003 -#define IDC_ICON_DI01 1004 -#define IDC_ICON_DI02 1005 -#define IDC_ICON_DI03 1006 -#define IDC_ICON_DI04 1007 -#define IDC_ICON_DI05 1008 -#define IDC_ICON_DI06 1009 -#define IDC_ICON_DI07 1010 -#define IDC_STATIC_01 1011 -#define IDC_STATIC_2 1012 -#define IDC_RADIO_CH0 1013 -#define IDC_RADIO_CH1 1014 -#define IDC_RADIO_CH2 1015 -#define IDC_RADIO_CH3 1016 -#define IDC_RADIO_CH4 1017 -#define IDC_RADIO_CH5 1018 -#define IDC_RADIO_CH6 1019 -#define IDC_RADIO_CH7 1020 -#define IDC_RADIO_CH8 1021 -#define IDC_RADIO_CH9 1022 -#define IDC_RADIO_CH10 1023 -#define IDC_RADIO_CH11 1024 -#define IDC_RADIO_CH12 1025 -#define IDC_RADIO_CH13 1026 -#define IDC_RADIO_CH14 1027 -#define IDC_RADIO_CH15 1028 -#define IDC_CHECK_DO00 1029 -#define IDC_CHECK_DO01 1030 -#define IDC_CHECK_DO02 1031 -#define IDC_CHECK_DO03 1032 -#define IDC_COMBO_AI_RANGE 1033 -#define IDC_EDIT_AO 1034 - -// Next default values for new objects -// -#ifdef APSTUDIO_INVOKED -#ifndef APSTUDIO_READONLY_SYMBOLS -#define _APS_NEXT_RESOURCE_VALUE 137 -#define _APS_NEXT_COMMAND_VALUE 32771 -#define _APS_NEXT_CONTROL_VALUE 1035 -#define _APS_NEXT_SYMED_VALUE 101 -#endif -#endif diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9221/SDK9221/stdafx.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9221/SDK9221/stdafx.cpp deleted file mode 100644 index c8c8934..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9221/SDK9221/stdafx.cpp +++ /dev/null @@ -1,8 +0,0 @@ - -// stdafx.cpp : source file that includes just the standard includes -// Util9111.pch will be the pre-compiled header -// stdafx.obj will contain the pre-compiled type information - -#include "stdafx.h" - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9221/SDK9221/stdafx.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9221/SDK9221/stdafx.h deleted file mode 100644 index 12123e2..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9221/SDK9221/stdafx.h +++ /dev/null @@ -1,60 +0,0 @@ - -// stdafx.h : include file for standard system include files, -// or project specific include files that are used frequently, -// but are changed infrequently - -#pragma once - -#ifndef _SECURE_ATL -#define _SECURE_ATL 1 -#endif - -#ifndef VC_EXTRALEAN -#define VC_EXTRALEAN // Exclude rarely-used stuff from Windows headers -#endif - -#include "targetver.h" - -#define _ATL_CSTRING_EXPLICIT_CONSTRUCTORS // some CString constructors will be explicit - -// turns off MFC's hiding of some common and often safely ignored warning messages -#define _AFX_ALL_WARNINGS - -#include // MFC core and standard components -#include // MFC extensions - - -#include // MFC Automation classes - - - -#ifndef _AFX_NO_OLE_SUPPORT -#include // MFC support for Internet Explorer 4 Common Controls -#endif -#ifndef _AFX_NO_AFXCMN_SUPPORT -#include // MFC support for Windows Common Controls -#endif // _AFX_NO_AFXCMN_SUPPORT - -#include // MFC support for ribbons and control bars - - - - - - - - - -#ifdef _UNICODE -#if defined _M_IX86 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='x86' publicKeyToken='6595b64144ccf1df' language='*'\"") -#elif defined _M_IA64 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='ia64' publicKeyToken='6595b64144ccf1df' language='*'\"") -#elif defined _M_X64 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='amd64' publicKeyToken='6595b64144ccf1df' language='*'\"") -#else -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='*' publicKeyToken='6595b64144ccf1df' language='*'\"") -#endif -#endif - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9221/SDK9221/targetver.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9221/SDK9221/targetver.h deleted file mode 100644 index 11730d5..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9221/SDK9221/targetver.h +++ /dev/null @@ -1,26 +0,0 @@ - -#pragma once - -// The following macros define the minimum required platform. The minimum required platform -// is the earliest version of Windows, Internet Explorer etc. that has the necessary features to run -// your application. The macros work by enabling all features available on platform versions up to and -// including the version specified. - -// Modify the following defines if you have to target a platform prior to the ones specified below. -// Refer to MSDN for the latest info on corresponding values for different platforms. -#ifndef WINVER // Specifies that the minimum required platform is Windows Vista. -#define WINVER 0x0600 // Change this to the appropriate value to target other versions of Windows. -#endif - -#ifndef _WIN32_WINNT // Specifies that the minimum required platform is Windows Vista. -#define _WIN32_WINNT 0x0600 // Change this to the appropriate value to target other versions of Windows. -#endif - -#ifndef _WIN32_WINDOWS // Specifies that the minimum required platform is Windows 98. -#define _WIN32_WINDOWS 0x0410 // Change this to the appropriate value to target Windows Me or later. -#endif - -#ifndef _WIN32_IE // Specifies that the minimum required platform is Internet Explorer 7.0. -#define _WIN32_IE 0x0700 // Change this to the appropriate value to target other versions of IE. -#endif - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9221/SDK9221AIDma/9111int.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9221/SDK9221AIDma/9111int.suo deleted file mode 100644 index 1d7a5ee..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9221/SDK9221AIDma/9111int.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9221/SDK9221AIDma/9116dma.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9221/SDK9221AIDma/9116dma.suo deleted file mode 100644 index ac40639..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9221/SDK9221AIDma/9116dma.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9221/SDK9221AIDma/9221dma.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9221/SDK9221AIDma/9221dma.cpp deleted file mode 100644 index cecde33..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9221/SDK9221AIDma/9221dma.cpp +++ /dev/null @@ -1,109 +0,0 @@ - -// 9221dma.cpp : Defines the class behaviors for the application. -// - -#include "stdafx.h" -#include "9221dma.h" -#include "9221dmaDlg.h" -#include "CardIDDlg.h" - -#ifdef _DEBUG -#define new DEBUG_NEW -#endif - - -// C9221dmaApp - -BEGIN_MESSAGE_MAP(C9221dmaApp, CWinAppEx) - ON_COMMAND(ID_HELP, &CWinApp::OnHelp) -END_MESSAGE_MAP() - - -// C9221dmaApp construction - -C9221dmaApp::C9221dmaApp() -{ - // TODO: add construction code here, - // Place all significant initialization in InitInstance -} - - -// The one and only C9221dmaApp object - -C9221dmaApp theApp; - - -// C9221dmaApp initialization - -BOOL C9221dmaApp::InitInstance() -{ - int nCardID = 0; - I16 hCard; - CString strTemp; - INT_PTR nResponse; - - // InitCommonControlsEx() is required on Windows XP if an application - // manifest specifies use of ComCtl32.dll version 6 or later to enable - // visual styles. Otherwise, any window creation will fail. - INITCOMMONCONTROLSEX InitCtrls; - InitCtrls.dwSize = sizeof(InitCtrls); - // Set this to include all the common control classes you want to use - // in your application. - InitCtrls.dwICC = ICC_WIN95_CLASSES; - InitCommonControlsEx(&InitCtrls); - - CWinAppEx::InitInstance(); - - AfxEnableControlContainer(); - - // Standard initialization - // If you are not using these features and wish to reduce the size - // of your final executable, you should remove from the following - // the specific initialization routines you do not need - // Change the registry key under which our settings are stored - // TODO: You should modify this string to be something appropriate - // such as the name of your company or organization - SetRegistryKey(_T("Local AppWizard-Generated Applications")); - - CCardIDDlg CardDlg( nCardID ); - - nResponse = CardDlg.DoModal(); - if (nResponse == IDOK) - { - nCardID = CardDlg.GetCardID(); - - if ((hCard=Register_Card(PCI_9221, nCardID)) < 0) - { - strTemp.Format( TEXT("Register_Card Error = %d"), hCard); - AfxMessageBox( strTemp ); - } - else - { - C9221dmaDlg dlg(hCard); - m_pMainWnd = &dlg; - nResponse = dlg.DoModal(); - if (nResponse == IDOK) - { - // TODO: Place code here to handle when the dialog is - // dismissed with OK - } - else if (nResponse == IDCANCEL) - { - // TODO: Place code here to handle when the dialog is - // dismissed with Cancel - } - - if (hCard >= 0) Release_Card(hCard); - } - - } - else if (nResponse == IDCANCEL) - { - // TODO: Place code here to handle when the dialog is - // dismissed with Cancel - } - - // Since the dialog has been closed, return FALSE so that we exit the - // application, rather than start the application's message pump. - return FALSE; -} diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9221/SDK9221AIDma/9221dma.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9221/SDK9221AIDma/9221dma.h deleted file mode 100644 index 21e5885..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9221/SDK9221AIDma/9221dma.h +++ /dev/null @@ -1,34 +0,0 @@ - -// 9221dma.h : main header file for the PROJECT_NAME application -// - -#pragma once - -#ifndef __AFXWIN_H__ - #error "include 'stdafx.h' before including this file for PCH" -#endif - -#include "resource.h" // main symbols - -#define AI_MODE_DMA 0 -#define AI_MODE_INT 1 - -// C9221dmaApp: -// See 9221dma.cpp for the implementation of this class -// - -class C9221dmaApp : public CWinAppEx -{ -public: - C9221dmaApp(); - -// Overrides - public: - virtual BOOL InitInstance(); - -// Implementation - - DECLARE_MESSAGE_MAP() -}; - -extern C9221dmaApp theApp; \ No newline at end of file diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9221/SDK9221AIDma/9221dma.rc b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9221/SDK9221AIDma/9221dma.rc deleted file mode 100644 index 46df83c..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9221/SDK9221AIDma/9221dma.rc +++ /dev/null @@ -1,286 +0,0 @@ -// Microsoft Visual C++ generated resource script. -// -#include "resource.h" - -#define APSTUDIO_READONLY_SYMBOLS -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 2 resource. -// -#ifndef APSTUDIO_INVOKED -#include "targetver.h" -#endif -#include "afxres.h" - -///////////////////////////////////////////////////////////////////////////// -#undef APSTUDIO_READONLY_SYMBOLS - -///////////////////////////////////////////////////////////////////////////// -// Chinese (Taiwan) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_CHT) -#ifdef _WIN32 -LANGUAGE LANG_CHINESE, SUBLANG_CHINESE_TRADITIONAL -#pragma code_page(950) -#endif //_WIN32 - -#ifdef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// TEXTINCLUDE -// - -1 TEXTINCLUDE -BEGIN - "resource.h\0" -END - -2 TEXTINCLUDE -BEGIN - "#ifndef APSTUDIO_INVOKED\r\n" - "#include ""targetver.h""\r\n" - "#endif\r\n" - "#include ""afxres.h""\r\n" - "\0" -END - -3 TEXTINCLUDE -BEGIN - "#define _AFX_NO_SPLITTER_RESOURCES\r\n" - "#define _AFX_NO_OLE_RESOURCES\r\n" - "#define _AFX_NO_TRACKER_RESOURCES\r\n" - "#define _AFX_NO_PROPERTY_RESOURCES\r\n" - "\r\n" - "#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)\r\n" - "LANGUAGE 9, 1\r\n" - "#pragma code_page(1252)\r\n" - "#include ""res\\My9221dma.rc2"" // non-Microsoft Visual C++ edited resources\r\n" - "#include ""afxres.rc"" // Standard components\r\n" - "#endif\r\n" - "\0" -END - -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// Icon -// - -// Icon with lowest ID value placed first to ensure application icon -// remains consistent on all systems. -IDR_MAINFRAME ICON "res\\9221dma.ico" -#endif // Chinese (Taiwan) resources -///////////////////////////////////////////////////////////////////////////// - - -///////////////////////////////////////////////////////////////////////////// -// English (U.S.) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -#ifdef _WIN32 -LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US -#pragma code_page(1252) -#endif //_WIN32 - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog -// - -IDD_ABOUTBOX DIALOGEX 0, 0, 170, 62 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "About 9221dma" -FONT 8, "MS Shell Dlg", 0, 0, 0x1 -BEGIN - ICON IDR_MAINFRAME,IDC_STATIC,14,14,21,20 - LTEXT "9221dma, Version 1.0",IDC_STATIC,42,14,114,8,SS_NOPREFIX - LTEXT "Copyright (C) 2010",IDC_STATIC,42,26,114,8 - DEFPUSHBUTTON "OK",IDOK,113,41,50,14,WS_GROUP -END - -IDD_9221DMA_DIALOG DIALOGEX 0, 0, 365, 232 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU -EXSTYLE WS_EX_APPWINDOW -CAPTION "PCI-9221 Autoscan (Single-End Signal)" -FONT 8, "MS Shell Dlg", 0, 0, 0x1 -BEGIN - GROUPBOX "",IDC_STATIC_DRAW,45,9,227,161,NOT WS_VISIBLE - CONTROL 132,IDC_STATIC,"Static",SS_BITMAP,327,28,11,45 - CONTROL 131,IDC_STATIC,"Static",SS_BITMAP,298,29,9,44 - LTEXT "0",IDC_STATIC,286,29,10,11 - LTEXT "1",IDC_STATIC,286,40,10,11 - LTEXT "2",IDC_STATIC,286,51,10,11 - LTEXT "3",IDC_STATIC,286,63,10,11 - LTEXT "4",IDC_STATIC,318,29,10,11 - LTEXT "5",IDC_STATIC,318,40,10,11 - LTEXT "6",IDC_STATIC,318,51,10,11 - LTEXT "7",IDC_STATIC,318,63,10,11 - LTEXT "Range : +/- 5V",IDC_STATIC,283,130,57,15 - COMBOBOX IDC_COMBO_SCANCHAN,171,197,74,17,CBS_DROPDOWN | WS_VSCROLL | WS_TABSTOP - LTEXT "Scan Channels",IDC_STATIC,171,182,53,9 - EDITTEXT IDC_EDIT_SCAN_ITERVAL,57,197,39,12,ES_AUTOHSCROLL | ES_READONLY - LTEXT "Sample Interval :",IDC_STATIC,57,182,57,9 - SCROLLBAR IDC_SCROLLBAR_RATE,97,195,9,11,SBS_VERT - PUSHBUTTON "Start",IDC_BT_START,275,188,75,22 -END - -IDD_CARDID_DIALOG DIALOGEX 0, 0, 165, 95 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "Card ID" -FONT 8, "MS Shell Dlg", 400, 0, 0x1 -BEGIN - COMBOBOX IDC_COMBO_CARDID,74,24,71,126,CBS_DROPDOWN | WS_VSCROLL | WS_TABSTOP - LTEXT "Card Number",IDC_STATIC_01,20,25,46,12 - PUSHBUTTON "OK",IDOK,22,62,58,19 - PUSHBUTTON "CANCEL",IDCANCEL,86,62,58,19 -END - - -///////////////////////////////////////////////////////////////////////////// -// -// Version -// - -VS_VERSION_INFO VERSIONINFO - FILEVERSION 1,0,0,1 - PRODUCTVERSION 1,0,0,1 - FILEFLAGSMASK 0x3fL -#ifdef _DEBUG - FILEFLAGS 0x1L -#else - FILEFLAGS 0x0L -#endif - FILEOS 0x4L - FILETYPE 0x1L - FILESUBTYPE 0x0L -BEGIN - BLOCK "StringFileInfo" - BEGIN - BLOCK "040904e4" - BEGIN - VALUE "CompanyName", "TODO: " - VALUE "FileDescription", "TODO: " - VALUE "FileVersion", "1.0.0.1" - VALUE "InternalName", "9221dma.exe" - VALUE "LegalCopyright", "TODO: (c) . All rights reserved." - VALUE "OriginalFilename", "9221dma.exe" - VALUE "ProductName", "TODO: " - VALUE "ProductVersion", "1.0.0.1" - END - END - BLOCK "VarFileInfo" - BEGIN - VALUE "Translation", 0x409, 1252 - END -END - - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog Info -// - -IDD_CARDID_DIALOG DLGINIT -BEGIN - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0030, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0031, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0032, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0033, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0034, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0035, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0036, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0037, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0038, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0039, - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3031, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3131, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3231, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3331, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3431, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3531, "\000" - 0 -END - -IDD_9221DMA_DIALOG DLGINIT -BEGIN - IDC_COMBO_SCANCHAN, 0x403, 4, 0 -0x4843, 0x0030, - IDC_COMBO_SCANCHAN, 0x403, 8, 0 -0x4843, 0x7e30, 0x4843, 0x0031, - IDC_COMBO_SCANCHAN, 0x403, 8, 0 -0x4843, 0x7e30, 0x4843, 0x0032, - IDC_COMBO_SCANCHAN, 0x403, 8, 0 -0x4843, 0x7e30, 0x4843, 0x0033, - IDC_COMBO_SCANCHAN, 0x403, 8, 0 -0x4843, 0x7e30, 0x4843, 0x0034, - IDC_COMBO_SCANCHAN, 0x403, 8, 0 -0x4843, 0x7e30, 0x4843, 0x0035, - IDC_COMBO_SCANCHAN, 0x403, 8, 0 -0x4843, 0x7e30, 0x4843, 0x0036, - IDC_COMBO_SCANCHAN, 0x403, 8, 0 -0x4843, 0x7e30, 0x4843, 0x0037, - 0 -END - - -///////////////////////////////////////////////////////////////////////////// -// -// Bitmap -// - -IDB_BITMAP_SET1 BITMAP "res\\ch_set1.bmp" -IDB_BITMAP_SET2 BITMAP "res\\ch_set2.bmp" - -///////////////////////////////////////////////////////////////////////////// -// -// String Table -// - -STRINGTABLE -BEGIN - IDS_ABOUTBOX "&About 9221dma..." -END - -#endif // English (U.S.) resources -///////////////////////////////////////////////////////////////////////////// - - - -#ifndef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 3 resource. -// -#define _AFX_NO_SPLITTER_RESOURCES -#define _AFX_NO_OLE_RESOURCES -#define _AFX_NO_TRACKER_RESOURCES -#define _AFX_NO_PROPERTY_RESOURCES - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -LANGUAGE 9, 1 -#pragma code_page(1252) -#include "res\My9221dma.rc2" // non-Microsoft Visual C++ edited resources -#include "afxres.rc" // Standard components -#endif - -///////////////////////////////////////////////////////////////////////////// -#endif // not APSTUDIO_INVOKED - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9221/SDK9221AIDma/9221dma.sln b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9221/SDK9221AIDma/9221dma.sln deleted file mode 100644 index 2efd94c..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9221/SDK9221AIDma/9221dma.sln +++ /dev/null @@ -1,20 +0,0 @@ - -Microsoft Visual Studio Solution File, Format Version 10.00 -# Visual Studio 2008 -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "9221dma", "9221dma.vcproj", "{702163FB-B6DF-4EF5-9491-FC54D71509BC}" -EndProject -Global - GlobalSection(SolutionConfigurationPlatforms) = preSolution - Debug|x64 = Debug|x64 - Release|x64 = Release|x64 - EndGlobalSection - GlobalSection(ProjectConfigurationPlatforms) = postSolution - {702163FB-B6DF-4EF5-9491-FC54D71509BC}.Debug|x64.ActiveCfg = Debug|x64 - {702163FB-B6DF-4EF5-9491-FC54D71509BC}.Debug|x64.Build.0 = Debug|x64 - {702163FB-B6DF-4EF5-9491-FC54D71509BC}.Release|x64.ActiveCfg = Release|x64 - {702163FB-B6DF-4EF5-9491-FC54D71509BC}.Release|x64.Build.0 = Release|x64 - EndGlobalSection - GlobalSection(SolutionProperties) = preSolution - HideSolutionNode = FALSE - EndGlobalSection -EndGlobal diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9221/SDK9221AIDma/9221dma.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9221/SDK9221AIDma/9221dma.suo deleted file mode 100644 index 5659036..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9221/SDK9221AIDma/9221dma.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9221/SDK9221AIDma/9221dma.vcproj b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9221/SDK9221AIDma/9221dma.vcproj deleted file mode 100644 index 931e3d3..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9221/SDK9221AIDma/9221dma.vcproj +++ /dev/null @@ -1,294 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9221/SDK9221AIDma/9221dmaDlg.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9221/SDK9221AIDma/9221dmaDlg.cpp deleted file mode 100644 index cccf46f..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9221/SDK9221AIDma/9221dmaDlg.cpp +++ /dev/null @@ -1,576 +0,0 @@ - -// 9221dmaDlg.cpp : implementation file -// - -#include "stdafx.h" -#include "9221dma.h" -#include "9221dmaDlg.h" - -#ifdef _DEBUG -#define new DEBUG_NEW -#endif - -CRect plotRect; -#define AI_SAMPLE_COUNT 40000 - -// CAboutDlg dialog used for App About - -class CAboutDlg : public CDialog -{ -public: - CAboutDlg(); - -// Dialog Data - enum { IDD = IDD_ABOUTBOX }; - - protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - -// Implementation -protected: - DECLARE_MESSAGE_MAP() -}; - -CAboutDlg::CAboutDlg() : CDialog(CAboutDlg::IDD) -{ -} - -void CAboutDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); -} - -BEGIN_MESSAGE_MAP(CAboutDlg, CDialog) -END_MESSAGE_MAP() - - -// C9221dmaDlg dialog - - - - -C9221dmaDlg::C9221dmaDlg(I16 hCard, CWnd* pParent /*=NULL*/) - : CDialog(C9221dmaDlg::IDD, pParent) -{ - m_hIcon = AfxGetApp()->LoadIcon(IDR_MAINFRAME); - - n_PlotWidth = n_PlotHeight = -1; - OnBrush = OffBrush = NULL; - - min_val = 0x00; - max_val = 0xFFFF; - - m_dwSampIntrv = 160; - - m_hCard = hCard; - m_wScanChans = 0; - m_nTimer = -1; - -#if 1 - m_pAIBuf = NULL; -#else - m_hMem = NULL; -#endif - - m_wRange = AD_B_5_V; - -} - -void C9221dmaDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); - DDX_Control(pDX, IDC_COMBO_SCANCHAN, m_cbScanChans); -} - -BEGIN_MESSAGE_MAP(C9221dmaDlg, CDialog) - ON_WM_SYSCOMMAND() - ON_WM_PAINT() - ON_WM_QUERYDRAGICON() - //}}AFX_MSG_MAP - ON_WM_DESTROY() - ON_WM_VSCROLL() - ON_CBN_SELCHANGE(IDC_COMBO_SCANCHAN, &C9221dmaDlg::OnScanChanSelchange) - ON_BN_CLICKED(IDC_BT_START, &C9221dmaDlg::OnStart) - ON_WM_TIMER() -END_MESSAGE_MAP() - - -// C9221dmaDlg message handlers - -BOOL C9221dmaDlg::OnInitDialog() -{ - CDialog::OnInitDialog(); - - // Add "About..." menu item to system menu. - - // IDM_ABOUTBOX must be in the system command range. - ASSERT((IDM_ABOUTBOX & 0xFFF0) == IDM_ABOUTBOX); - ASSERT(IDM_ABOUTBOX < 0xF000); - - CMenu* pSysMenu = GetSystemMenu(FALSE); - if (pSysMenu != NULL) - { - BOOL bNameValid; - CString strAboutMenu; - bNameValid = strAboutMenu.LoadString(IDS_ABOUTBOX); - ASSERT(bNameValid); - if (!strAboutMenu.IsEmpty()) - { - pSysMenu->AppendMenu(MF_SEPARATOR); - pSysMenu->AppendMenu(MF_STRING, IDM_ABOUTBOX, strAboutMenu); - } - } - - // Set the icon for this dialog. The framework does this automatically - // when the application's main window is not a dialog - SetIcon(m_hIcon, TRUE); // Set big icon - SetIcon(m_hIcon, FALSE); // Set small icon - - // TODO: Add extra initialization here - x_divider = 5; y_divider = 4; - - OnBrush = CreateSolidBrush( RGB(255,0,0) ); - OffBrush = CreateSolidBrush( RGB(125,0,0) ); - - RedPen.CreatePen( PS_SOLID, 1, RGB(255,0,0)); - GreenPen.CreatePen( PS_SOLID, 1, RGB(0,255,0)); - YellowPen.CreatePen( PS_SOLID, 1, RGB(255,255,0)); - BluePen.CreatePen( PS_SOLID, 1, RGB(0,0,255)); - LTBluePen.CreatePen( PS_SOLID, 1, RGB(0,128,255)); - LTRedPen.CreatePen( PS_SOLID, 1, RGB(255,128,0)); - LTGreenPen.CreatePen( PS_SOLID, 1, RGB(0,128,0)); - WhitePen.CreatePen( PS_SOLID, 1, RGB(255,255,255)); - - if( n_PlotWidth == -1 && n_PlotHeight == -1 ) - { - ((CWnd*)GetDlgItem(IDC_STATIC_DRAW))->GetWindowRect(&plotRect); - ScreenToClient(&plotRect); - - n_PlotWidth = min( plotRect.Width(), 512); - n_PlotHeight = plotRect.Height() - 10; - } - - - // set the default SampleRate - SetDlgItemInt( IDC_EDIT_SCAN_ITERVAL, (UINT)(m_dwSampIntrv) ); - m_cbScanChans.SetCurSel( 0 ); - - max_range = 5.0; - min_range = -5.0; - - return TRUE; // return TRUE unless you set the focus to a control -} - -void C9221dmaDlg::OnSysCommand(UINT nID, LPARAM lParam) -{ - if ((nID & 0xFFF0) == IDM_ABOUTBOX) - { - CAboutDlg dlgAbout; - dlgAbout.DoModal(); - } - else - { - CDialog::OnSysCommand(nID, lParam); - } -} - -// If you add a minimize button to your dialog, you will need the code below -// to draw the icon. For MFC applications using the document/view model, -// this is automatically done for you by the framework. - -void C9221dmaDlg::OnPaint() -{ - if (IsIconic()) - { - CPaintDC dc(this); // device context for painting - - SendMessage(WM_ICONERASEBKGND, reinterpret_cast(dc.GetSafeHdc()), 0); - - // Center icon in client rectangle - int cxIcon = GetSystemMetrics(SM_CXICON); - int cyIcon = GetSystemMetrics(SM_CYICON); - CRect rect; - GetClientRect(&rect); - int x = (rect.Width() - cxIcon + 1) / 2; - int y = (rect.Height() - cyIcon + 1) / 2; - - // Draw the icon - dc.DrawIcon(x, y, m_hIcon); - } - else - { - redraw_display_area(); - CDialog::OnPaint(); - } -} - -// The system calls this function to obtain the cursor to display while the user drags -// the minimized window. -HCURSOR C9221dmaDlg::OnQueryDragIcon() -{ - return static_cast(m_hIcon); -} - - -void C9221dmaDlg::redraw_display_area(void) -{ - CPen *oldPen; - - int oldMode; - COLORREF oldColor; - - CString y_lable; - - CPen minor_tick( PS_SOLID,1,RGB(132,130,132) ); -// CPen y_grid( PS_SOLID,1,RGB(206,203,132) ); - - int i, x_intv, y_intv; -// long total_sec; - - CClientDC dc_plot(this); - - // draw the base-line for x-y axises - oldPen = (CPen *)dc_plot.SelectStockObject(BLACK_PEN); - - // redraw the background - dc_plot.FillSolidRect( plotRect, RGB(0,0,0) ); - - // Re-Draw the AREA for Y-Lable - { - CBrush DIALOG_BRUSH; - CRect redraw_area, full_client; - - GetClientRect(&full_client); - ScreenToClient(&full_client); - - redraw_area.left = full_client.left; - redraw_area.top = plotRect.top - 5; - redraw_area.right = plotRect.left - 3; - redraw_area.bottom = plotRect.bottom + 10; - - DIALOG_BRUSH.CreateSysColorBrush( COLOR_3DFACE ); - - dc_plot.FillRect( redraw_area, &DIALOG_BRUSH ); - - DIALOG_BRUSH.DeleteObject(); - } - - dc_plot.MoveTo( plotRect.left - 3, plotRect.top ); - dc_plot.LineTo( plotRect.left - 3, plotRect.bottom ); - - // calculate the interval for tick/grid - y_intv = (plotRect.Height() - 10) /y_divider; - x_intv = plotRect.Width()/x_divider; - - - // set the color for tick - oldColor = dc_plot.SetTextColor( RGB(0,0,0) ); - oldMode = dc_plot.SetBkMode( TRANSPARENT ); - - for( i=0; i<= y_divider; i++ ) - { - CString tick_str; - CRect tmp_rect, tick_rect; - - // draw the tick for y-axis - dc_plot.MoveTo( plotRect.left -12, plotRect.bottom -5 - (i*y_intv) ); - dc_plot.LineTo( plotRect.left -3, plotRect.bottom -5 - (i*y_intv) ); - - tick_str.Format( _T("%.1f"), ( ((max_range-min_range)/y_divider) * i)+min_range ); - - // calculate the rectangle for text - dc_plot.DrawText( tick_str, &tmp_rect, DT_CALCRECT|DT_SINGLELINE ); - tick_rect.right = plotRect.left -14; - tick_rect.left = tick_rect.right - tmp_rect.Width(); - tick_rect.top = plotRect.bottom -5 - (i*y_intv) - tmp_rect.Height()/2; - tick_rect.bottom = tick_rect.top + tmp_rect.Height(); - - // draw the text - dc_plot.DrawText( tick_str, &tick_rect, DT_SINGLELINE|DT_RIGHT ); - - } - - // draw the minor_tick for Y axises - dc_plot.SelectObject(&minor_tick); - for( i=0; i< y_divider; i++ ) - { - dc_plot.MoveTo( plotRect.left -9, plotRect.bottom -5 - (i*y_intv) - y_intv/2 ); - dc_plot.LineTo( plotRect.left -4, plotRect.bottom -5 - (i*y_intv) - y_intv/2 ); - } - - dc_plot.SetTextColor( oldColor ); - dc_plot.SetBkMode( oldMode ); - dc_plot.SelectObject( oldPen ); -} - -void C9221dmaDlg::OnDestroy() -{ - CDialog::OnDestroy(); - - // TODO: Add your message handler code here - if( m_nTimer != -1 ) - { - KillTimer( m_nTimer ); - m_nTimer = -1; - } - -#if 1 - if (m_pAIBuf != NULL) - { - free( m_pAIBuf ); - m_pAIBuf = NULL; - } - -#else - if (m_hMem != NULL) - { - GlobalUnfix(m_hMem); - GlobalUnlock(m_hMem); - GlobalFree(m_hMem); - - m_hMem = NULL; - } -#endif - - if( OnBrush != NULL ) - ::DeleteObject( OnBrush ); - - if( OffBrush != NULL ) - ::DeleteObject( OffBrush ); - - RedPen.DeleteObject(); - GreenPen.DeleteObject(); - YellowPen.DeleteObject(); - BluePen.DeleteObject(); - LTBluePen.DeleteObject(); - LTRedPen.DeleteObject(); - LTGreenPen.DeleteObject(); - WhitePen.DeleteObject(); -} - -void C9221dmaDlg::OnVScroll(UINT nSBCode, UINT nPos, CScrollBar* pScrollBar) -{ - // TODO: Add your message handler code here and/or call default - switch ( nSBCode ) - { - case SB_LINEUP : - m_dwSampIntrv += 160; - if (m_dwSampIntrv > 40000 ) m_dwSampIntrv = 40000; - - break; - case SB_LINEDOWN: - m_dwSampIntrv -= 160; - if (m_dwSampIntrv < 160 ) m_dwSampIntrv = 160; - - break; - } - - SetDlgItemInt( IDC_EDIT_SCAN_ITERVAL, (UINT)(m_dwSampIntrv) ); - - CDialog::OnVScroll(nSBCode, nPos, pScrollBar); -} - -void C9221dmaDlg::OnScanChanSelchange() -{ - // TODO: Add your control notification handler code here - int nIndex; - - nIndex = m_cbScanChans.GetCurSel(); - m_wScanChans = (U16)nIndex; -} - -void C9221dmaDlg::OnStart() -{ - // TODO: Add your control notification handler code here - DWORD mem_size; - CString strTemp; - I16 err; - - GetDlgItem( IDC_BT_START )->EnableWindow(FALSE); - -#if 1 - if (m_pAIBuf != NULL) - { - free( m_pAIBuf ); - m_pAIBuf = NULL; - } - - // allocate a memory for user DMA buffer - mem_size = AI_SAMPLE_COUNT * (m_wScanChans+1) * sizeof(I16); - - m_pAIBuf = (U16*)malloc( mem_size ); - if (m_pAIBuf == NULL ) - { - AfxMessageBox( TEXT("Memory allocation failed"), MB_OK); - } - else - { - memset( m_pAIBuf, '\0', mem_size ); - } - -#else - - if (m_hMem != NULL) - { - GlobalUnfix(m_hMem); - GlobalUnlock(m_hMem); - GlobalFree(m_hMem); - m_hMem = NULL; - } - - // allocate a memory for user DMA buffer - mem_size = AI_SAMPLE_COUNT * (m_wScanChans+1) * sizeof(I16); - - m_hMem = GlobalAlloc(GMEM_ZEROINIT, mem_size); - m_pAIBuf = (U16*) GlobalLock(m_hMem); - - if (m_pAIBuf == NULL ) - { - AfxMessageBox( TEXT("Memory allocation failed"), MB_OK); - } - - GlobalFix(m_hMem); - -#endif - - m_oldY[0] = m_oldY[1] = m_oldY[2] = m_oldY[3] = m_oldY[4] = m_oldY[5] = m_oldY[6] = m_oldY[7] = -1; - m_oldX[0] = m_oldX[1] = m_oldX[2] = m_oldX[3] = m_oldX[4] = m_oldX[5] = m_oldX[6] = m_oldX[7] = -1; - - err = AI_9221_Config (m_hCard, P9221_AI_SingEnded|P9221_AI_IntTimeBase, P9221_TRGMOD_SOFT, 0); - if (err!=0) - { - strTemp.Format( TEXT("AI_9221_Config error=%d"), err); - AfxMessageBox( strTemp ); - return; - } - - err = AI_AsyncDblBufferMode(m_hCard, 0); // single-buffer mode - if (err!=0) - { - strTemp.Format( TEXT("AI_DblBufferMode error=%d"), err); - AfxMessageBox( strTemp ); - return; - } - - err = AI_9221_CounterInterval(m_hCard, m_dwSampIntrv * (m_wScanChans+1), m_dwSampIntrv); - if (err!=0) - { - strTemp.Format( TEXT("AI_9116_CounterInterval error=%d"), err); - AfxMessageBox( strTemp ); - return; - } - - err = AI_ContBufferSetup (m_hCard, m_pAIBuf, AI_SAMPLE_COUNT, &m_wBufferID); - if (err!=0) - { - strTemp.Format( TEXT("AI_ContBufferSetup error=%d"), err); - AfxMessageBox( strTemp ); - return; - } - - err = AI_ContScanChannels(m_hCard, m_wScanChans, m_wRange, &m_wBufferID, AI_SAMPLE_COUNT, 0, ASYNCH_OP); - if (err!=0) - { - AI_ContBufferReset(m_hCard); - strTemp.Format( TEXT("AI_ContScanChannels error=%d"), err); - AfxMessageBox( strTemp ); - return; - } - - m_nTimer = SetTimer( 1, 20, NULL ); - -} - -int C9221dmaDlg::display_buffer_data(U16* pBuf) -{ - CClientDC dc_plot(this); - int nDraw_Origin_Y; - int cur_channel; - - int newY = -1; - int newX = -1; - U32 index; - I16 ai_data; - - dc_plot.FillSolidRect( plotRect, RGB(0,0,0) ); - - nDraw_Origin_Y = ( plotRect.bottom - 5 ) - n_PlotHeight/2; - - for( index=0; index> 16) ); // ( n_PlotHeight * ai_data / 65536) ); // ( (n_PlotHeight/2) * ai_data/32768 ) ); - - newX = (int)( index*n_PlotWidth/AI_SAMPLE_COUNT + plotRect.left ); - - switch(cur_channel) - { - case 0: - dc_plot.SelectObject(&YellowPen); - break; - case 1: - dc_plot.SelectObject(<GreenPen); - break; - case 2: - dc_plot.SelectObject(&BluePen); - break; - case 3: - dc_plot.SelectObject(&RedPen); - break; - case 4: - dc_plot.SelectObject(<BluePen); - break; - case 5: - dc_plot.SelectObject(<RedPen); - break; - case 6: - dc_plot.SelectObject(&GreenPen); - break; - case 7: - dc_plot.SelectObject(&WhitePen); - break; - } - - if ( m_oldX[cur_channel] == -1 ) - { - dc_plot.MoveTo( newX, newY ); - } - else - { - dc_plot.MoveTo( m_oldX[cur_channel], m_oldY[cur_channel] ); - dc_plot.LineTo( newX, newY ); - } - - m_oldX[cur_channel] = newX; - m_oldY[cur_channel] = newY; - } - - return 0; -} - -void C9221dmaDlg::OnTimer(UINT_PTR nIDEvent) -{ - // TODO: Add your message handler code here and/or call default - BOOLEAN fstop; - U32 count; - - AI_AsyncCheck(m_hCard, &fstop, &count); - - if( fstop == TRUE ) - { - AI_AsyncClear(m_hCard, &count); - - KillTimer( m_nTimer ); - m_nTimer = -1; - - display_buffer_data( m_pAIBuf ); - - AI_ContBufferReset(m_hCard); - - GetDlgItem( IDC_BT_START )->EnableWindow(TRUE); - } - - CDialog::OnTimer(nIDEvent); -} diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9221/SDK9221AIDma/9221dmaDlg.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9221/SDK9221AIDma/9221dmaDlg.h deleted file mode 100644 index a246500..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9221/SDK9221AIDma/9221dmaDlg.h +++ /dev/null @@ -1,78 +0,0 @@ - -// 9221dmaDlg.h : header file -#pragma once -#include "afxcmn.h" -#include "afxwin.h" - -#include "Dask64.h" - -#ifndef MAX_CHAN_9221 -#define MAX_CHAN_9221 16 -#endif - -// C9221dmaDlg dialog -class C9221dmaDlg : public CDialog -{ -// Construction -public: - C9221dmaDlg(I16 hCard, CWnd* pParent = NULL); // standard constructor - -// Dialog Data - enum { IDD = IDD_9221DMA_DIALOG }; - - protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - - -// Implementation -protected: - HICON m_hIcon; - UINT_PTR m_nTimer; - I16 m_hCard; - U32 m_dwSampIntrv; - U16 m_wScanChans; - U16 m_wBufferID; -#if 0 - HANDLE m_hMem; -#endif - U16 *m_pAIBuf; - U16 m_wRange; - int m_oldY[8]; - int m_oldX[8]; - - // Generated message map functions - virtual BOOL OnInitDialog(); - afx_msg void OnSysCommand(UINT nID, LPARAM lParam); - afx_msg void OnPaint(); - afx_msg HCURSOR OnQueryDragIcon(); - DECLARE_MESSAGE_MAP() - -public: - WORD max_val; - WORD min_val; - double max_range; - double min_range; - int n_PlotWidth; - int n_PlotHeight; - int y_divider; - int x_divider; - int m_DisplayScale; - HBRUSH OnBrush; - HBRUSH OffBrush; - CPen RedPen; - CPen GreenPen; - CPen YellowPen; - CPen BluePen; - CPen LTBluePen; - CPen LTRedPen; - CPen LTGreenPen; - CPen WhitePen; - void redraw_display_area(void); - afx_msg void OnDestroy(); - CComboBox m_cbScanChans; - afx_msg void OnVScroll(UINT nSBCode, UINT nPos, CScrollBar* pScrollBar); - afx_msg void OnScanChanSelchange(); - afx_msg void OnStart(); - int display_buffer_data(U16* pBuf); - afx_msg void OnTimer(UINT_PTR nIDEvent); -}; diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9221/SDK9221AIDma/CardIDDlg.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9221/SDK9221AIDma/CardIDDlg.cpp deleted file mode 100644 index 3c71fb8..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9221/SDK9221AIDma/CardIDDlg.cpp +++ /dev/null @@ -1,64 +0,0 @@ -// CardIDDlg.cpp : implementation file -// -#include "stdafx.h" -#include "9221dma.h" -#include "9221dmaDlg.h" -#include "CardIDDlg.h" - -// CCardIDDlg dialog - -IMPLEMENT_DYNAMIC(CCardIDDlg, CDialog) - -CCardIDDlg::CCardIDDlg(int nCardIdx, CWnd* pParent /*=NULL*/) - : CDialog(CCardIDDlg::IDD, pParent) -{ - m_nCardIdx = nCardIdx; -} - -CCardIDDlg::~CCardIDDlg() -{ -} - -void CCardIDDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); - DDX_Control(pDX, IDC_COMBO_CARDID, m_cbCardID); -} - - -BEGIN_MESSAGE_MAP(CCardIDDlg, CDialog) -// ON_CBN_SELCHANGE(IDC_COMBO_CARDID, &CCardIDDlg::OnCbnSelchangeComboCardid) -ON_BN_CLICKED(IDOK, &CCardIDDlg::OnBnClickedOk) -//ON_WM_CTLCOLOR() -END_MESSAGE_MAP() - - -// CCardIDDlg message handlers - - -void CCardIDDlg::OnBnClickedOk() -{ - // TODO: Add your control notification handler code here - -// UpdateData(TRUE); - m_nCardIdx = m_cbCardID.GetCurSel(); - - OnOK(); -} - -BOOL CCardIDDlg::OnInitDialog() -{ - CDialog::OnInitDialog(); - - // TODO: Add extra initialization here - m_cbCardID.SetCurSel( m_nCardIdx ); - - return TRUE; // return TRUE unless you set the focus to a control - // EXCEPTION: OCX Property Pages should return FALSE -} - -// the function to get the selected CardID -int CCardIDDlg::GetCardID(void) -{ - return m_nCardIdx; -} diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9221/SDK9221AIDma/CardIDDlg.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9221/SDK9221AIDma/CardIDDlg.h deleted file mode 100644 index 9c02c58..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9221/SDK9221AIDma/CardIDDlg.h +++ /dev/null @@ -1,32 +0,0 @@ -#pragma once -#include "afxwin.h" - -#include "Dask64.h" - -// CCardIDDlg dialog - -class CCardIDDlg : public CDialog -{ - DECLARE_DYNAMIC(CCardIDDlg) - -public: - CCardIDDlg(int nCardIdx, CWnd* pParent = NULL); // standard constructor - virtual ~CCardIDDlg(); - -// Dialog Data - enum { IDD = IDD_CARDID_DIALOG }; - -protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - - DECLARE_MESSAGE_MAP() -public: - virtual BOOL OnInitDialog(); - afx_msg void OnBnClickedOk(); - // the setting of CardID ComboBox - int m_nCardIdx; - // the control of CardID ComboBox - CComboBox m_cbCardID; - // the function to get the selected CardID - int GetCardID(void); -}; diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9221/SDK9221AIDma/ReadMe.txt b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9221/SDK9221AIDma/ReadMe.txt deleted file mode 100644 index 5dcd397..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9221/SDK9221AIDma/ReadMe.txt +++ /dev/null @@ -1,93 +0,0 @@ -================================================================================ - MICROSOFT FOUNDATION CLASS LIBRARY : 9221dma Project Overview -=============================================================================== - -The application wizard has created this 9221dma application for -you. This application not only demonstrates the basics of using the Microsoft -Foundation Classes but is also a starting point for writing your application. - -This file contains a summary of what you will find in each of the files that -make up your 9221dma application. - -9221dma.vcproj - This is the main project file for VC++ projects generated using an application wizard. - It contains information about the version of Visual C++ that generated the file, and - information about the platforms, configurations, and project features selected with the - application wizard. - -9221dma.h - This is the main header file for the application. It includes other - project specific headers (including Resource.h) and declares the - C9221dmaApp application class. - -9221dma.cpp - This is the main application source file that contains the application - class C9221dmaApp. - -9221dma.rc - This is a listing of all of the Microsoft Windows resources that the - program uses. It includes the icons, bitmaps, and cursors that are stored - in the RES subdirectory. This file can be directly edited in Microsoft - Visual C++. Your project resources are in 1033. - -res\9221dma.ico - This is an icon file, which is used as the application's icon. This - icon is included by the main resource file 9221dma.rc. - -res\My9221dma.rc2 - This file contains resources that are not edited by Microsoft - Visual C++. You should place all resources not editable by - the resource editor in this file. - - -///////////////////////////////////////////////////////////////////////////// - -The application wizard creates one dialog class: - -9221dmaDlg.h, 9221dmaDlg.cpp - the dialog - These files contain your C9221dmaDlg class. This class defines - the behavior of your application's main dialog. The dialog's template is - in 9221dma.rc, which can be edited in Microsoft Visual C++. - - -///////////////////////////////////////////////////////////////////////////// - -Other Features: - -ActiveX Controls - The application includes support to use ActiveX controls. - -///////////////////////////////////////////////////////////////////////////// - -Other standard files: - -StdAfx.h, StdAfx.cpp - These files are used to build a precompiled header (PCH) file - named 9221dma.pch and a precompiled types file named StdAfx.obj. - -Resource.h - This is the standard header file, which defines new resource IDs. - Microsoft Visual C++ reads and updates this file. - -9221dma.manifest - Application manifest files are used by Windows XP to describe an applications - dependency on specific versions of Side-by-Side assemblies. The loader uses this - information to load the appropriate assembly from the assembly cache or private - from the application. The Application manifest maybe included for redistribution - as an external .manifest file that is installed in the same folder as the application - executable or it may be included in the executable in the form of a resource. -///////////////////////////////////////////////////////////////////////////// - -Other notes: - -The application wizard uses "TODO:" to indicate parts of the source code you -should add to or customize. - -If your application uses MFC in a shared DLL, you will need -to redistribute the MFC DLLs. If your application is in a language -other than the operating system's locale, you will also have to -redistribute the corresponding localized resources MFC90XXX.DLL. -For more information on both of these topics, please see the section on -redistributing Visual C++ applications in MSDN documentation. - -///////////////////////////////////////////////////////////////////////////// diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9221/SDK9221AIDma/res/9221dma.ico b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9221/SDK9221AIDma/res/9221dma.ico deleted file mode 100644 index d56fbcd..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9221/SDK9221AIDma/res/9221dma.ico and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9221/SDK9221AIDma/res/My9221dma.rc2 b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9221/SDK9221AIDma/res/My9221dma.rc2 deleted file mode 100644 index 383cde2..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9221/SDK9221AIDma/res/My9221dma.rc2 +++ /dev/null @@ -1,13 +0,0 @@ -// -// My9111int.RC2 - resources Microsoft Visual C++ does not edit directly -// - -#ifdef APSTUDIO_INVOKED -#error this file is not editable by Microsoft Visual C++ -#endif //APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// Add manually edited resources here... - -///////////////////////////////////////////////////////////////////////////// diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9221/SDK9221AIDma/res/ch_set1.bmp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9221/SDK9221AIDma/res/ch_set1.bmp deleted file mode 100644 index f2374ed..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9221/SDK9221AIDma/res/ch_set1.bmp and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9221/SDK9221AIDma/res/ch_set2.bmp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9221/SDK9221AIDma/res/ch_set2.bmp deleted file mode 100644 index 32d0915..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9221/SDK9221AIDma/res/ch_set2.bmp and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9221/SDK9221AIDma/resource.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9221/SDK9221AIDma/resource.h deleted file mode 100644 index dcae722..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9221/SDK9221AIDma/resource.h +++ /dev/null @@ -1,33 +0,0 @@ -//{{NO_DEPENDENCIES}} -// Microsoft Visual C++ generated include file. -// Used by 9221dma.rc -// -#define IDM_ABOUTBOX 0x0010 -#define IDD_ABOUTBOX 100 -#define IDS_ABOUTBOX 101 -#define IDD_9221DMA_DIALOG 102 -#define IDR_MAINFRAME 128 -#define IDD_CARDID_DIALOG 129 -#define IDB_BITMAP_SET1 131 -#define IDB_BITMAP_SET2 132 -#define IDC_STATIC_DRAW 1000 -#define IDC_COMBO_CARDID 1001 -#define IDC_COMBO_SCANCHAN 1001 -#define IDC_COMBO_CARDTYPE 1002 -#define IDC_BUTTON1 1002 -#define IDC_BT_START 1002 -#define IDC_EDIT_SCAN_ITERVAL 1003 -#define IDC_SCROLLBAR_RATE 1006 -#define IDC_STATIC_01 1014 -#define IDC_STATIC_2 1015 - -// Next default values for new objects -// -#ifdef APSTUDIO_INVOKED -#ifndef APSTUDIO_READONLY_SYMBOLS -#define _APS_NEXT_RESOURCE_VALUE 134 -#define _APS_NEXT_COMMAND_VALUE 32771 -#define _APS_NEXT_CONTROL_VALUE 1003 -#define _APS_NEXT_SYMED_VALUE 101 -#endif -#endif diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9221/SDK9221AIDma/stdafx.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9221/SDK9221AIDma/stdafx.cpp deleted file mode 100644 index ef80626..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9221/SDK9221AIDma/stdafx.cpp +++ /dev/null @@ -1,8 +0,0 @@ - -// stdafx.cpp : source file that includes just the standard includes -// 9111int.pch will be the pre-compiled header -// stdafx.obj will contain the pre-compiled type information - -#include "stdafx.h" - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9221/SDK9221AIDma/stdafx.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9221/SDK9221AIDma/stdafx.h deleted file mode 100644 index 12123e2..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9221/SDK9221AIDma/stdafx.h +++ /dev/null @@ -1,60 +0,0 @@ - -// stdafx.h : include file for standard system include files, -// or project specific include files that are used frequently, -// but are changed infrequently - -#pragma once - -#ifndef _SECURE_ATL -#define _SECURE_ATL 1 -#endif - -#ifndef VC_EXTRALEAN -#define VC_EXTRALEAN // Exclude rarely-used stuff from Windows headers -#endif - -#include "targetver.h" - -#define _ATL_CSTRING_EXPLICIT_CONSTRUCTORS // some CString constructors will be explicit - -// turns off MFC's hiding of some common and often safely ignored warning messages -#define _AFX_ALL_WARNINGS - -#include // MFC core and standard components -#include // MFC extensions - - -#include // MFC Automation classes - - - -#ifndef _AFX_NO_OLE_SUPPORT -#include // MFC support for Internet Explorer 4 Common Controls -#endif -#ifndef _AFX_NO_AFXCMN_SUPPORT -#include // MFC support for Windows Common Controls -#endif // _AFX_NO_AFXCMN_SUPPORT - -#include // MFC support for ribbons and control bars - - - - - - - - - -#ifdef _UNICODE -#if defined _M_IX86 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='x86' publicKeyToken='6595b64144ccf1df' language='*'\"") -#elif defined _M_IA64 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='ia64' publicKeyToken='6595b64144ccf1df' language='*'\"") -#elif defined _M_X64 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='amd64' publicKeyToken='6595b64144ccf1df' language='*'\"") -#else -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='*' publicKeyToken='6595b64144ccf1df' language='*'\"") -#endif -#endif - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9221/SDK9221AIDma/targetver.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9221/SDK9221AIDma/targetver.h deleted file mode 100644 index 11730d5..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9221/SDK9221AIDma/targetver.h +++ /dev/null @@ -1,26 +0,0 @@ - -#pragma once - -// The following macros define the minimum required platform. The minimum required platform -// is the earliest version of Windows, Internet Explorer etc. that has the necessary features to run -// your application. The macros work by enabling all features available on platform versions up to and -// including the version specified. - -// Modify the following defines if you have to target a platform prior to the ones specified below. -// Refer to MSDN for the latest info on corresponding values for different platforms. -#ifndef WINVER // Specifies that the minimum required platform is Windows Vista. -#define WINVER 0x0600 // Change this to the appropriate value to target other versions of Windows. -#endif - -#ifndef _WIN32_WINNT // Specifies that the minimum required platform is Windows Vista. -#define _WIN32_WINNT 0x0600 // Change this to the appropriate value to target other versions of Windows. -#endif - -#ifndef _WIN32_WINDOWS // Specifies that the minimum required platform is Windows 98. -#define _WIN32_WINDOWS 0x0410 // Change this to the appropriate value to target Windows Me or later. -#endif - -#ifndef _WIN32_IE // Specifies that the minimum required platform is Internet Explorer 7.0. -#define _WIN32_IE 0x0700 // Change this to the appropriate value to target other versions of IE. -#endif - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9221/SDK9221AIDmaDbf/9111DbInt.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9221/SDK9221AIDmaDbf/9111DbInt.suo deleted file mode 100644 index 3fde864..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9221/SDK9221AIDmaDbf/9111DbInt.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9221/SDK9221AIDmaDbf/9111PostTg.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9221/SDK9221AIDmaDbf/9111PostTg.suo deleted file mode 100644 index c59a833..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9221/SDK9221AIDmaDbf/9111PostTg.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9221/SDK9221AIDmaDbf/9111int.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9221/SDK9221AIDmaDbf/9111int.suo deleted file mode 100644 index aaca7d8..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9221/SDK9221AIDmaDbf/9111int.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9221/SDK9221AIDmaDbf/9116cdma.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9221/SDK9221AIDmaDbf/9116cdma.suo deleted file mode 100644 index df9f193..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9221/SDK9221AIDmaDbf/9116cdma.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9221/SDK9221AIDmaDbf/9118cdma.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9221/SDK9221AIDmaDbf/9118cdma.suo deleted file mode 100644 index 9318437..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9221/SDK9221AIDmaDbf/9118cdma.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9221/SDK9221AIDmaDbf/9221cdma.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9221/SDK9221AIDmaDbf/9221cdma.cpp deleted file mode 100644 index ded5223..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9221/SDK9221AIDmaDbf/9221cdma.cpp +++ /dev/null @@ -1,109 +0,0 @@ - -// 9221cdma.cpp : Defines the class behaviors for the application. -// - -#include "stdafx.h" -#include "9221cdma.h" -#include "9221cdmaDlg.h" -#include "CardIDDlg.h" - -#ifdef _DEBUG -#define new DEBUG_NEW -#endif - - -// C9221cdmaApp - -BEGIN_MESSAGE_MAP(C9221cdmaApp, CWinAppEx) - ON_COMMAND(ID_HELP, &CWinApp::OnHelp) -END_MESSAGE_MAP() - - -// C9221cdmaApp construction - -C9221cdmaApp::C9221cdmaApp() -{ - // TODO: add construction code here, - // Place all significant initialization in InitInstance -} - - -// The one and only C9221cdmaApp object - -C9221cdmaApp theApp; - - -// C9221cdmaApp initialization - -BOOL C9221cdmaApp::InitInstance() -{ - int nCardID = 0; - I16 hCard; - CString strTemp; - INT_PTR nResponse; - - // InitCommonControlsEx() is required on Windows XP if an application - // manifest specifies use of ComCtl32.dll version 6 or later to enable - // visual styles. Otherwise, any window creation will fail. - INITCOMMONCONTROLSEX InitCtrls; - InitCtrls.dwSize = sizeof(InitCtrls); - // Set this to include all the common control classes you want to use - // in your application. - InitCtrls.dwICC = ICC_WIN95_CLASSES; - InitCommonControlsEx(&InitCtrls); - - CWinAppEx::InitInstance(); - - AfxEnableControlContainer(); - - // Standard initialization - // If you are not using these features and wish to reduce the size - // of your final executable, you should remove from the following - // the specific initialization routines you do not need - // Change the registry key under which our settings are stored - // TODO: You should modify this string to be something appropriate - // such as the name of your company or organization - SetRegistryKey(_T("Local AppWizard-Generated Applications")); - - CCardIDDlg CardDlg( nCardID ); - - nResponse = CardDlg.DoModal(); - if (nResponse == IDOK) - { - nCardID = CardDlg.GetCardID(); - - if ((hCard=Register_Card(PCI_9221, nCardID)) < 0) - { - strTemp.Format( TEXT("Register_Card Error = %d"), hCard); - AfxMessageBox( strTemp ); - } - else - { - C9221cdmaDlg dlg(hCard); - m_pMainWnd = &dlg; - nResponse = dlg.DoModal(); - if (nResponse == IDOK) - { - // TODO: Place code here to handle when the dialog is - // dismissed with OK - } - else if (nResponse == IDCANCEL) - { - // TODO: Place code here to handle when the dialog is - // dismissed with Cancel - } - - if (hCard >= 0) Release_Card(hCard); - } - - } - else if (nResponse == IDCANCEL) - { - // TODO: Place code here to handle when the dialog is - // dismissed with Cancel - } - - // Since the dialog has been closed, return FALSE so that we exit the - // application, rather than start the application's message pump. - return FALSE; -} diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9221/SDK9221AIDmaDbf/9221cdma.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9221/SDK9221AIDmaDbf/9221cdma.h deleted file mode 100644 index 09e095a..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9221/SDK9221AIDmaDbf/9221cdma.h +++ /dev/null @@ -1,34 +0,0 @@ - -// 9221cdma.h : main header file for the PROJECT_NAME application -// - -#pragma once - -#ifndef __AFXWIN_H__ - #error "include 'stdafx.h' before including this file for PCH" -#endif - -#include "resource.h" // main symbols - -#define AI_MODE_DMA 0 -#define AI_MODE_INT 1 - -// C9221cdmaApp: -// See 9221cdma.cpp for the implementation of this class -// - -class C9221cdmaApp : public CWinAppEx -{ -public: - C9221cdmaApp(); - -// Overrides - public: - virtual BOOL InitInstance(); - -// Implementation - - DECLARE_MESSAGE_MAP() -}; - -extern C9221cdmaApp theApp; \ No newline at end of file diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9221/SDK9221AIDmaDbf/9221cdma.rc b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9221/SDK9221AIDmaDbf/9221cdma.rc deleted file mode 100644 index 49b54cc..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9221/SDK9221AIDmaDbf/9221cdma.rc +++ /dev/null @@ -1,291 +0,0 @@ -// Microsoft Visual C++ generated resource script. -// -#include "resource.h" - -#define APSTUDIO_READONLY_SYMBOLS -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 2 resource. -// -#ifndef APSTUDIO_INVOKED -#include "targetver.h" -#endif -#include "afxres.h" - -///////////////////////////////////////////////////////////////////////////// -#undef APSTUDIO_READONLY_SYMBOLS - -///////////////////////////////////////////////////////////////////////////// -// Chinese (Taiwan) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_CHT) -#ifdef _WIN32 -LANGUAGE LANG_CHINESE, SUBLANG_CHINESE_TRADITIONAL -#pragma code_page(950) -#endif //_WIN32 - -#ifdef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// TEXTINCLUDE -// - -1 TEXTINCLUDE -BEGIN - "resource.h\0" -END - -2 TEXTINCLUDE -BEGIN - "#ifndef APSTUDIO_INVOKED\r\n" - "#include ""targetver.h""\r\n" - "#endif\r\n" - "#include ""afxres.h""\r\n" - "\0" -END - -3 TEXTINCLUDE -BEGIN - "#define _AFX_NO_SPLITTER_RESOURCES\r\n" - "#define _AFX_NO_OLE_RESOURCES\r\n" - "#define _AFX_NO_TRACKER_RESOURCES\r\n" - "#define _AFX_NO_PROPERTY_RESOURCES\r\n" - "\r\n" - "#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)\r\n" - "LANGUAGE 9, 1\r\n" - "#pragma code_page(1252)\r\n" - "#include ""res\\My9221cdma.rc2"" // non-Microsoft Visual C++ edited resources\r\n" - "#include ""afxres.rc"" // Standard components\r\n" - "#endif\r\n" - "\0" -END - -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// Icon -// - -// Icon with lowest ID value placed first to ensure application icon -// remains consistent on all systems. -IDR_MAINFRAME ICON "res\\9221cdma.ico" -#endif // Chinese (Taiwan) resources -///////////////////////////////////////////////////////////////////////////// - - -///////////////////////////////////////////////////////////////////////////// -// English (U.S.) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -#ifdef _WIN32 -LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US -#pragma code_page(1252) -#endif //_WIN32 - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog -// - -IDD_ABOUTBOX DIALOGEX 0, 0, 170, 62 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "About 9221cdma" -FONT 8, "MS Shell Dlg", 0, 0, 0x1 -BEGIN - ICON IDR_MAINFRAME,IDC_STATIC,14,14,21,20 - LTEXT "9221cdma, Version 1.0",IDC_STATIC,42,14,114,8,SS_NOPREFIX - LTEXT "Copyright (C) 2010",IDC_STATIC,42,26,114,8 - DEFPUSHBUTTON "OK",IDOK,113,41,50,14,WS_GROUP -END - -IDD_9221DMA_DIALOG DIALOGEX 0, 0, 365, 232 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU -EXSTYLE WS_EX_APPWINDOW -CAPTION "PCI-9221 Double-Buffered DMA (Single-End Singal)" -FONT 8, "MS Shell Dlg", 0, 0, 0x1 -BEGIN - GROUPBOX "",IDC_STATIC_DRAW,45,9,248,161,NOT WS_VISIBLE - LTEXT "Range : +/- 5V",IDC_STATIC,299,129,52,15 - LTEXT "Buffer Size :",IDC_STATIC,124,183,42,9 - EDITTEXT IDC_EDIT_SCAN_ITERVAL,47,196,39,14,ES_AUTOHSCROLL | ES_READONLY - LTEXT "Sample Interval :",IDC_STATIC,47,182,60,9 - SCROLLBAR IDC_SCROLLBAR_RATE,87,196,9,11,SBS_VERT - PUSHBUTTON "Start",IDC_BT_START,230,188,55,22 - CONTROL "0",IDC_RADIO_CH0,"Button",BS_AUTORADIOBUTTON | BS_LEFTTEXT,307,20,16,12 - CONTROL "1",IDC_RADIO_CH1,"Button",BS_AUTORADIOBUTTON | BS_LEFTTEXT,307,35,16,12 - CONTROL "2",IDC_RADIO_CH2,"Button",BS_AUTORADIOBUTTON | BS_LEFTTEXT,307,49,16,12 - CONTROL "3",IDC_RADIO_CH3,"Button",BS_AUTORADIOBUTTON | BS_LEFTTEXT,307,64,16,12 - CONTROL "4",IDC_RADIO_CH4,"Button",BS_AUTORADIOBUTTON | BS_LEFTTEXT,331,20,16,12 - CONTROL "5",IDC_RADIO_CH5,"Button",BS_AUTORADIOBUTTON | BS_LEFTTEXT,331,35,16,12 - CONTROL "6",IDC_RADIO_CH6,"Button",BS_AUTORADIOBUTTON | BS_LEFTTEXT,331,49,16,12 - CONTROL "7",IDC_RADIO_CH7,"Button",BS_AUTORADIOBUTTON | BS_LEFTTEXT,331,64,16,12 - EDITTEXT IDC_EDIT_BUF_SIZE,122,196,46,14,ES_AUTOHSCROLL - PUSHBUTTON "Stop",IDC_BT_STOP,291,188,55,22 -END - -IDD_CARDID_DIALOG DIALOGEX 0, 0, 174, 108 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "Card ID" -FONT 8, "MS Shell Dlg", 400, 0, 0x1 -BEGIN - COMBOBOX IDC_COMBO_CARDID,78,24,71,126,CBS_DROPDOWN | WS_VSCROLL | WS_TABSTOP - LTEXT "Card Number",IDC_STATIC_01,23,25,46,12 - PUSHBUTTON "OK",IDOK,22,70,58,19 - PUSHBUTTON "CANCEL",IDCANCEL,86,70,58,19 -END - - -///////////////////////////////////////////////////////////////////////////// -// -// Version -// - -VS_VERSION_INFO VERSIONINFO - FILEVERSION 1,0,0,1 - PRODUCTVERSION 1,0,0,1 - FILEFLAGSMASK 0x3fL -#ifdef _DEBUG - FILEFLAGS 0x1L -#else - FILEFLAGS 0x0L -#endif - FILEOS 0x4L - FILETYPE 0x1L - FILESUBTYPE 0x0L -BEGIN - BLOCK "StringFileInfo" - BEGIN - BLOCK "040904e4" - BEGIN - VALUE "CompanyName", "TODO: " - VALUE "FileDescription", "TODO: " - VALUE "FileVersion", "1.0.0.1" - VALUE "InternalName", "9221cdma.exe" - VALUE "LegalCopyright", "TODO: (c) . All rights reserved." - VALUE "OriginalFilename", "9221cdma.exe" - VALUE "ProductName", "TODO: " - VALUE "ProductVersion", "1.0.0.1" - END - END - BLOCK "VarFileInfo" - BEGIN - VALUE "Translation", 0x409, 1252 - END -END - - -///////////////////////////////////////////////////////////////////////////// -// -// DESIGNINFO -// - -#ifdef APSTUDIO_INVOKED -GUIDELINES DESIGNINFO -BEGIN - IDD_ABOUTBOX, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 163 - TOPMARGIN, 7 - BOTTOMMARGIN, 55 - END - - IDD_CARDID_DIALOG, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 167 - TOPMARGIN, 7 - BOTTOMMARGIN, 101 - END -END -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog Info -// - -IDD_CARDID_DIALOG DLGINIT -BEGIN - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0030, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0031, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0032, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0033, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0034, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0035, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0036, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0037, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0038, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0039, - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3031, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3131, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3231, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3331, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3431, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3531, "\000" - 0 -END - - -///////////////////////////////////////////////////////////////////////////// -// -// Bitmap -// - -IDB_BITMAP_SET1 BITMAP "res\\ch_set1.bmp" -IDB_BITMAP_SET2 BITMAP "res\\ch_set2.bmp" - -///////////////////////////////////////////////////////////////////////////// -// -// String Table -// - -STRINGTABLE -BEGIN - IDS_ABOUTBOX "&About 9221cdma..." -END - -#endif // English (U.S.) resources -///////////////////////////////////////////////////////////////////////////// - - - -#ifndef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 3 resource. -// -#define _AFX_NO_SPLITTER_RESOURCES -#define _AFX_NO_OLE_RESOURCES -#define _AFX_NO_TRACKER_RESOURCES -#define _AFX_NO_PROPERTY_RESOURCES - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -LANGUAGE 9, 1 -#pragma code_page(1252) -#include "res\My9221cdma.rc2" // non-Microsoft Visual C++ edited resources -#include "afxres.rc" // Standard components -#endif - -///////////////////////////////////////////////////////////////////////////// -#endif // not APSTUDIO_INVOKED - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9221/SDK9221AIDmaDbf/9221cdma.sln b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9221/SDK9221AIDmaDbf/9221cdma.sln deleted file mode 100644 index fecec53..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9221/SDK9221AIDmaDbf/9221cdma.sln +++ /dev/null @@ -1,20 +0,0 @@ - -Microsoft Visual Studio Solution File, Format Version 10.00 -# Visual Studio 2008 -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "9221cdma", "9221cdma.vcproj", "{702163FB-B6DF-4EF5-9491-FC54D71509BC}" -EndProject -Global - GlobalSection(SolutionConfigurationPlatforms) = preSolution - Debug|x64 = Debug|x64 - Release|x64 = Release|x64 - EndGlobalSection - GlobalSection(ProjectConfigurationPlatforms) = postSolution - {702163FB-B6DF-4EF5-9491-FC54D71509BC}.Debug|x64.ActiveCfg = Debug|x64 - {702163FB-B6DF-4EF5-9491-FC54D71509BC}.Debug|x64.Build.0 = Debug|x64 - {702163FB-B6DF-4EF5-9491-FC54D71509BC}.Release|x64.ActiveCfg = Release|x64 - {702163FB-B6DF-4EF5-9491-FC54D71509BC}.Release|x64.Build.0 = Release|x64 - EndGlobalSection - GlobalSection(SolutionProperties) = preSolution - HideSolutionNode = FALSE - EndGlobalSection -EndGlobal diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9221/SDK9221AIDmaDbf/9221cdma.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9221/SDK9221AIDmaDbf/9221cdma.suo deleted file mode 100644 index 7613bcf..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9221/SDK9221AIDmaDbf/9221cdma.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9221/SDK9221AIDmaDbf/9221cdma.vcproj b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9221/SDK9221AIDmaDbf/9221cdma.vcproj deleted file mode 100644 index b356e4c..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9221/SDK9221AIDmaDbf/9221cdma.vcproj +++ /dev/null @@ -1,294 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9221/SDK9221AIDmaDbf/9221cdmaDlg.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9221/SDK9221AIDmaDbf/9221cdmaDlg.cpp deleted file mode 100644 index 6825cee..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9221/SDK9221AIDmaDbf/9221cdmaDlg.cpp +++ /dev/null @@ -1,738 +0,0 @@ - -// 9221cdmaDlg.cpp : implementation file -// - -#include "stdafx.h" -#include "9221cdma.h" -#include "9221cdmaDlg.h" - -#ifdef _DEBUG -#define new DEBUG_NEW -#endif - -CRect plotRect; - -// CAboutDlg dialog used for App About - -class CAboutDlg : public CDialog -{ -public: - CAboutDlg(); - -// Dialog Data - enum { IDD = IDD_ABOUTBOX }; - - protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - -// Implementation -protected: - DECLARE_MESSAGE_MAP() -}; - -CAboutDlg::CAboutDlg() : CDialog(CAboutDlg::IDD) -{ -} - -void CAboutDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); -} - -BEGIN_MESSAGE_MAP(CAboutDlg, CDialog) -END_MESSAGE_MAP() - - -// C9221cdmaDlg dialog - - - - -C9221cdmaDlg::C9221cdmaDlg(I16 hCard, CWnd* pParent /*=NULL*/) - : CDialog(C9221cdmaDlg::IDD, pParent) -{ - m_hIcon = AfxGetApp()->LoadIcon(IDR_MAINFRAME); - - n_PlotWidth = n_PlotHeight = -1; - OnBrush = OffBrush = NULL; - - min_val = 0x00; - max_val = 0xFFFF; - - m_dwSampIntrv = 3200; - - m_hCard = hCard; - - m_wScanChans = 0; - m_nTimer = -1; - m_hMem1 = NULL; - m_hMem2 = NULL; - - m_wRange = AD_B_5_V; - m_dwReadCount = 4000; - m_wPostCount = 512; - - -} - -void C9221cdmaDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); -} - -BEGIN_MESSAGE_MAP(C9221cdmaDlg, CDialog) - ON_WM_SYSCOMMAND() - ON_WM_PAINT() - ON_WM_QUERYDRAGICON() - //}}AFX_MSG_MAP - ON_WM_DESTROY() - ON_WM_VSCROLL() - ON_BN_CLICKED(IDC_BT_START, &C9221cdmaDlg::OnStart) - ON_BN_CLICKED(IDC_RADIO_CH0, &C9221cdmaDlg::OnCh0) - ON_BN_CLICKED(IDC_RADIO_CH1, &C9221cdmaDlg::OnCh1) - ON_BN_CLICKED(IDC_RADIO_CH2, &C9221cdmaDlg::OnCh2) - ON_BN_CLICKED(IDC_RADIO_CH3, &C9221cdmaDlg::OnCh3) - ON_BN_CLICKED(IDC_RADIO_CH4, &C9221cdmaDlg::OnCh4) - ON_BN_CLICKED(IDC_RADIO_CH5, &C9221cdmaDlg::OnCh5) - ON_BN_CLICKED(IDC_RADIO_CH6, &C9221cdmaDlg::OnCh6) - ON_BN_CLICKED(IDC_RADIO_CH7, &C9221cdmaDlg::OnCh7) - ON_WM_TIMER() - ON_BN_CLICKED(IDC_BT_STOP, &C9221cdmaDlg::OnStop) -END_MESSAGE_MAP() - - -// C9221cdmaDlg message handlers - -BOOL C9221cdmaDlg::OnInitDialog() -{ - CDialog::OnInitDialog(); - - // Add "About..." menu item to system menu. - - // IDM_ABOUTBOX must be in the system command range. - ASSERT((IDM_ABOUTBOX & 0xFFF0) == IDM_ABOUTBOX); - ASSERT(IDM_ABOUTBOX < 0xF000); - - CMenu* pSysMenu = GetSystemMenu(FALSE); - if (pSysMenu != NULL) - { - BOOL bNameValid; - CString strAboutMenu; - bNameValid = strAboutMenu.LoadString(IDS_ABOUTBOX); - ASSERT(bNameValid); - if (!strAboutMenu.IsEmpty()) - { - pSysMenu->AppendMenu(MF_SEPARATOR); - pSysMenu->AppendMenu(MF_STRING, IDM_ABOUTBOX, strAboutMenu); - } - } - - // Set the icon for this dialog. The framework does this automatically - // when the application's main window is not a dialog - SetIcon(m_hIcon, TRUE); // Set big icon - SetIcon(m_hIcon, FALSE); // Set small icon - - // TODO: Add extra initialization here - x_divider = 5; y_divider = 4; - - OnBrush = CreateSolidBrush( RGB(255,0,0) ); - OffBrush = CreateSolidBrush( RGB(125,0,0) ); - - RedPen.CreatePen( PS_SOLID, 1, RGB(255,0,0)); - GreenPen.CreatePen( PS_SOLID, 1, RGB(0,255,0)); - YellowPen.CreatePen( PS_SOLID, 1, RGB(255,255,0)); - BluePen.CreatePen( PS_SOLID, 1, RGB(0,0,255)); - LTBluePen.CreatePen( PS_SOLID, 1, RGB(0,128,255)); - LTRedPen.CreatePen( PS_SOLID, 1, RGB(255,128,0)); - LTGreenPen.CreatePen( PS_SOLID, 1, RGB(0,128,0)); - WhitePen.CreatePen( PS_SOLID, 1, RGB(255,255,255)); - - - if( n_PlotWidth == -1 && n_PlotHeight == -1 ) - { - ((CWnd*)GetDlgItem(IDC_STATIC_DRAW))->GetWindowRect(&plotRect); - ScreenToClient(&plotRect); - - n_PlotWidth = min( plotRect.Width(), 512); - n_PlotHeight = plotRect.Height() - 10; - } - - // set the default SampleRate - SetDlgItemInt( IDC_EDIT_SAMPLE_RATE, (UINT)(m_dwSampIntrv) ); - SetDlgItemInt( IDC_EDIT_BUF_SIZE, (UINT)(m_dwReadCount) ); - ((CButton*)GetDlgItem( IDC_RADIO_CH0 ))->SetCheck( TRUE ); - - max_range = 5.0; - min_range = -5.0; - - return TRUE; // return TRUE unless you set the focus to a control -} - -void C9221cdmaDlg::OnSysCommand(UINT nID, LPARAM lParam) -{ - if ((nID & 0xFFF0) == IDM_ABOUTBOX) - { - CAboutDlg dlgAbout; - dlgAbout.DoModal(); - } - else - { - CDialog::OnSysCommand(nID, lParam); - } -} - -// If you add a minimize button to your dialog, you will need the code below -// to draw the icon. For MFC applications using the document/view model, -// this is automatically done for you by the framework. - -void C9221cdmaDlg::OnPaint() -{ - if (IsIconic()) - { - CPaintDC dc(this); // device context for painting - - SendMessage(WM_ICONERASEBKGND, reinterpret_cast(dc.GetSafeHdc()), 0); - - // Center icon in client rectangle - int cxIcon = GetSystemMetrics(SM_CXICON); - int cyIcon = GetSystemMetrics(SM_CYICON); - CRect rect; - GetClientRect(&rect); - int x = (rect.Width() - cxIcon + 1) / 2; - int y = (rect.Height() - cyIcon + 1) / 2; - - // Draw the icon - dc.DrawIcon(x, y, m_hIcon); - } - else - { - redraw_display_area(); - CDialog::OnPaint(); - } -} - -// The system calls this function to obtain the cursor to display while the user drags -// the minimized window. -HCURSOR C9221cdmaDlg::OnQueryDragIcon() -{ - return static_cast(m_hIcon); -} - - -void C9221cdmaDlg::redraw_display_area(void) -{ - CPen *oldPen; - - int oldMode; - COLORREF oldColor; - - CString y_lable; - - CPen minor_tick( PS_SOLID,1,RGB(132,130,132) ); -// CPen y_grid( PS_SOLID,1,RGB(206,203,132) ); - - int i, x_intv, y_intv; -// long total_sec; - - CClientDC dc_plot(this); - - // draw the base-line for x-y axises - oldPen = (CPen *)dc_plot.SelectStockObject(BLACK_PEN); - - // redraw the background - dc_plot.FillSolidRect( plotRect, RGB(0,0,0) ); - - // Re-Draw the AREA for Y-Lable - { - CBrush DIALOG_BRUSH; - CRect redraw_area, full_client; - - GetClientRect(&full_client); - ScreenToClient(&full_client); - - redraw_area.left = full_client.left; - redraw_area.top = plotRect.top - 5; - redraw_area.right = plotRect.left - 3; - redraw_area.bottom = plotRect.bottom + 10; - - DIALOG_BRUSH.CreateSysColorBrush( COLOR_3DFACE ); - - dc_plot.FillRect( redraw_area, &DIALOG_BRUSH ); - - DIALOG_BRUSH.DeleteObject(); - } - - dc_plot.MoveTo( plotRect.left - 3, plotRect.top ); - dc_plot.LineTo( plotRect.left - 3, plotRect.bottom ); - - // calculate the interval for tick/grid - y_intv = (plotRect.Height() - 10) /y_divider; - x_intv = plotRect.Width()/x_divider; - - - // set the color for tick - oldColor = dc_plot.SetTextColor( RGB(0,0,0) ); - oldMode = dc_plot.SetBkMode( TRANSPARENT ); - - for( i=0; i<= y_divider; i++ ) - { - CString tick_str; - CRect tmp_rect, tick_rect; - - // draw the tick for y-axis - dc_plot.MoveTo( plotRect.left -12, plotRect.bottom -5 - (i*y_intv) ); - dc_plot.LineTo( plotRect.left -3, plotRect.bottom -5 - (i*y_intv) ); - - tick_str.Format( _T("%.1f"), ( ((max_range-min_range)/y_divider) * i)+min_range ); - - // calculate the rectangle for text - dc_plot.DrawText( tick_str, &tmp_rect, DT_CALCRECT|DT_SINGLELINE ); - tick_rect.right = plotRect.left -14; - tick_rect.left = tick_rect.right - tmp_rect.Width(); - tick_rect.top = plotRect.bottom -5 - (i*y_intv) - tmp_rect.Height()/2; - tick_rect.bottom = tick_rect.top + tmp_rect.Height(); - - // draw the text - dc_plot.DrawText( tick_str, &tick_rect, DT_SINGLELINE|DT_RIGHT ); - - } - - // draw the minor_tick for Y axises - dc_plot.SelectObject(&minor_tick); - for( i=0; i< y_divider; i++ ) - { - dc_plot.MoveTo( plotRect.left -9, plotRect.bottom -5 - (i*y_intv) - y_intv/2 ); - dc_plot.LineTo( plotRect.left -4, plotRect.bottom -5 - (i*y_intv) - y_intv/2 ); - } - - dc_plot.SetTextColor( oldColor ); - dc_plot.SetBkMode( oldMode ); - dc_plot.SelectObject( oldPen ); -} - -void C9221cdmaDlg::OnDestroy() -{ - CDialog::OnDestroy(); - - AI_ContBufferReset( m_hCard ); - - // TODO: Add your message handler code here - if( m_nTimer != -1 ) - { - KillTimer( m_nTimer ); - m_nTimer = -1; - } - - if (m_hMem1 != NULL) - { - GlobalUnfix(m_hMem1); - GlobalUnlock(m_hMem1); - GlobalFree(m_hMem1); - - m_hMem1 = NULL; - } - - if (m_hMem2 != NULL) - { - GlobalUnfix(m_hMem2); - GlobalUnlock(m_hMem2); - GlobalFree(m_hMem2); - - m_hMem2 = NULL; - } - - if( OnBrush != NULL ) - ::DeleteObject( OnBrush ); - - if( OffBrush != NULL ) - ::DeleteObject( OffBrush ); - - RedPen.DeleteObject(); - GreenPen.DeleteObject(); - YellowPen.DeleteObject(); - BluePen.DeleteObject(); - LTBluePen.DeleteObject(); - LTRedPen.DeleteObject(); - LTGreenPen.DeleteObject(); - WhitePen.DeleteObject(); - -} - -void C9221cdmaDlg::OnVScroll(UINT nSBCode, UINT nPos, CScrollBar* pScrollBar) -{ - // TODO: Add your message handler code here and/or call default - switch ( nSBCode ) - { - case SB_LINEUP : - m_dwSampIntrv += 160; - if (m_dwSampIntrv > 40000 ) m_dwSampIntrv = 40000; - break; - case SB_LINEDOWN: - m_dwSampIntrv -= 160; - if (m_dwSampIntrv < 160 ) m_dwSampIntrv = 160; - break; - } - - SetDlgItemInt( IDC_EDIT_SCAN_ITERVAL, (UINT)(m_dwSampIntrv) ); - - CDialog::OnVScroll(nSBCode, nPos, pScrollBar); -} - - -void C9221cdmaDlg::OnStop() -{ - // TODO: Add your control notification handler code here - U32 count; - - if( m_nTimer != -1 ) - { - KillTimer( m_nTimer ); - m_nTimer = -1; - } - - AI_AsyncClear(m_hCard, &count); - -/* - if( count > m_dwReadCount ) - { - if(m_bView == 0) - { - display_buffer_data( m_pAIBuf1 ); - m_bView = 1; - } - else - { - display_buffer_data( m_pAIBuf2 ); - m_bView= 0; - } - } -*/ - - AI_ContBufferReset ( m_hCard ); - - GetDlgItem( IDC_BT_START )->EnableWindow(TRUE); - - GetDlgItem( IDC_RADIO_CH0 )->EnableWindow(TRUE); - GetDlgItem( IDC_RADIO_CH1 )->EnableWindow(TRUE); - GetDlgItem( IDC_RADIO_CH2 )->EnableWindow(TRUE); - GetDlgItem( IDC_RADIO_CH3 )->EnableWindow(TRUE); - GetDlgItem( IDC_RADIO_CH4 )->EnableWindow(TRUE); - GetDlgItem( IDC_RADIO_CH5 )->EnableWindow(TRUE); - GetDlgItem( IDC_RADIO_CH6 )->EnableWindow(TRUE); - GetDlgItem( IDC_RADIO_CH7 )->EnableWindow(TRUE); -} - -void C9221cdmaDlg::OnStart() -{ - // TODO: Add your control notification handler code here - DWORD mem_size; - CString strTemp; - I16 err; - - GetDlgItem( IDC_BT_START )->EnableWindow(FALSE); - - GetDlgItem( IDC_RADIO_CH0 )->EnableWindow(FALSE); - GetDlgItem( IDC_RADIO_CH1 )->EnableWindow(FALSE); - GetDlgItem( IDC_RADIO_CH2 )->EnableWindow(FALSE); - GetDlgItem( IDC_RADIO_CH3 )->EnableWindow(FALSE); - GetDlgItem( IDC_RADIO_CH4 )->EnableWindow(FALSE); - GetDlgItem( IDC_RADIO_CH5 )->EnableWindow(FALSE); - GetDlgItem( IDC_RADIO_CH6 )->EnableWindow(FALSE); - GetDlgItem( IDC_RADIO_CH7 )->EnableWindow(FALSE); - - m_dwReadCount = GetDlgItemInt(IDC_EDIT_BUF_SIZE); - - if (m_hMem1 != NULL) - { - GlobalUnfix(m_hMem1); - GlobalUnlock(m_hMem1); - GlobalFree(m_hMem1); - - m_hMem1 = NULL; - } - - if (m_hMem2 != NULL) - { - GlobalUnfix(m_hMem2); - GlobalUnlock(m_hMem2); - GlobalFree(m_hMem2); - - m_hMem2 = NULL; - } - - // allocate a memory for user DMA buffer - mem_size = m_dwReadCount * sizeof(I16); - - m_hMem1 = GlobalAlloc(GMEM_FIXED | GMEM_ZEROINIT, mem_size); - m_pAIBuf1 = (U16*) GlobalLock(m_hMem1); - if (m_pAIBuf1 == NULL ) - { - AfxMessageBox( TEXT("Memory allocation failed"), MB_OK); - return; - } - GlobalFix(m_hMem1); - - m_hMem2 = GlobalAlloc(GMEM_FIXED | GMEM_ZEROINIT, mem_size); - m_pAIBuf2 = (U16*) GlobalLock(m_hMem2); - if (m_pAIBuf2 == NULL ) - { - AfxMessageBox( TEXT("Memory allocation failed"), MB_OK); - return; - } - GlobalFix(m_hMem2); - - m_oldY[0] = m_oldY[1] = m_oldY[2] = m_oldY[3] = m_oldY[4] = m_oldY[5] = m_oldY[6] = m_oldY[7] = -1; - m_oldX[0] = m_oldX[1] = m_oldX[2] = m_oldX[3] = m_oldX[4] = m_oldX[5] = m_oldX[6] = m_oldX[7] = -1; - - if ((err = AI_9221_Config(m_hCard, P9221_AI_SingEnded|P9221_AI_IntTimeBase, P9221_TRGMOD_SOFT, 0)) != NoError) - { - strTemp.Format( TEXT("AI_9221_Config error=%d"), err); - AfxMessageBox( strTemp ); - return; - } - - if ((err = AI_9221_CounterInterval(m_hCard, m_dwSampIntrv, m_dwSampIntrv)) != NoError) - { - strTemp.Format( TEXT("AI_9221_CounterInterval error=%d"), err); - AfxMessageBox( strTemp ); - return; - } - - if ((err = AI_AsyncDblBufferMode (m_hCard, 1)) != NoError) - { - strTemp.Format( TEXT("AI_AsyncDblBufferMode error=%d"), err); - AfxMessageBox( strTemp ); - return; - } - - if ((err = AI_ContBufferSetup (m_hCard, m_pAIBuf1, m_dwReadCount, &m_wBufferID1)) != NoError) - { - strTemp.Format( TEXT("AI_ContBufferSetup error=%d"), err); - AfxMessageBox( strTemp ); - return; - } - - if ((err = AI_ContBufferSetup (m_hCard, m_pAIBuf2, m_dwReadCount, &m_wBufferID2)) != NoError) - { - strTemp.Format( TEXT("AI_ContBufferSetup error=%d"), err); - AfxMessageBox( strTemp ); - return; - } - - m_bView = 0; - - if ((err=AI_ContReadChannel(m_hCard, m_wScanChans, AD_B_5_V, &m_wBufferID1, m_dwReadCount, 0, ASYNCH_OP)) != NoError) - { - strTemp.Format( TEXT("AI_ContBufferSetup error=%d"), err); - AfxMessageBox( strTemp ); - return; - } - - m_nTimer = SetTimer( 1, 20, NULL ); - -} - -int C9221cdmaDlg::display_buffer_data(U16* pBuf) -{ - CClientDC dc_plot(this); - int nDraw_Origin_Y; - int cur_channel; - - int newY = -1; - int newX = -1; - U32 index; - I16 ai_data; - U32 dwDataSize = m_dwReadCount; - - // redraw the background - dc_plot.FillSolidRect( plotRect, RGB(0,0,0) ); - - dc_plot.SelectObject(&RedPen); - nDraw_Origin_Y = ( plotRect.bottom - 5 ) - n_PlotHeight/2; - - for( index=0; index> 16) ); // ( n_PlotHeight * ai_data / 65536) ); // ( (n_PlotHeight/2) * ai_data/32768 ) ); - - newX = (int)( index*n_PlotWidth/dwDataSize + plotRect.left ); - - switch(cur_channel) - { - case 0: - dc_plot.SelectObject(&YellowPen); - break; - case 1: - dc_plot.SelectObject(<GreenPen); - break; - case 2: - dc_plot.SelectObject(&BluePen); - break; - case 3: - dc_plot.SelectObject(&RedPen); - break; - case 4: - dc_plot.SelectObject(<BluePen); - break; - case 5: - dc_plot.SelectObject(<RedPen); - break; - case 6: - dc_plot.SelectObject(&GreenPen); - break; - case 7: - dc_plot.SelectObject(&WhitePen); - break; - } - - if ( index == 0 ) - { - dc_plot.MoveTo( newX, newY ); - } - else - { - dc_plot.MoveTo( m_oldX[cur_channel], m_oldY[cur_channel] ); - dc_plot.LineTo( newX, newY ); - } - - m_oldX[cur_channel] = newX; - m_oldY[cur_channel] = newY; - } - - return 0; -} - -void C9221cdmaDlg::OnTimer(UINT_PTR nIDEvent) -{ - // TODO: Add your message handler code here and/or call default - BOOLEAN HalfReady; - BOOLEAN fstop; - - AI_AsyncDblBufferHalfReady(m_hCard, &HalfReady, &fstop); - - if( HalfReady ) // half-buffer ready - { - if(m_bView == 0) - { - display_buffer_data( m_pAIBuf1 ); - m_bView = 1; - } - else - { - display_buffer_data( m_pAIBuf2 ); - m_bView= 0; - } - } - - CDialog::OnTimer(nIDEvent); -} - -void C9221cdmaDlg::OnCh0() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_RADIO_CH0 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_wScanChans = 0; - } - -} - -void C9221cdmaDlg::OnCh1() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_RADIO_CH1 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_wScanChans = 1; - } -} - -void C9221cdmaDlg::OnCh2() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_RADIO_CH2 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_wScanChans = 2; - } -} - -void C9221cdmaDlg::OnCh3() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_RADIO_CH3 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_wScanChans = 3; - } -} - -void C9221cdmaDlg::OnCh4() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_RADIO_CH4 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_wScanChans = 4; - } -} - -void C9221cdmaDlg::OnCh5() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_RADIO_CH5 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_wScanChans = 5; - } -} - -void C9221cdmaDlg::OnCh6() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_RADIO_CH6 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_wScanChans = 6; - } -} - -void C9221cdmaDlg::OnCh7() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_RADIO_CH7 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_wScanChans = 7; - } -} - - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9221/SDK9221AIDmaDbf/9221cdmaDlg.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9221/SDK9221AIDmaDbf/9221cdmaDlg.h deleted file mode 100644 index 324212d..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9221/SDK9221AIDmaDbf/9221cdmaDlg.h +++ /dev/null @@ -1,89 +0,0 @@ - -// 9221cdmaDlg.h : header file -#pragma once -#include "afxcmn.h" -#include "afxwin.h" - -#include "Dask64.h" - -#ifndef MAX_CHAN_9221 -#define MAX_CHAN_9221 16 -#endif - -// C9221cdmaDlg dialog -class C9221cdmaDlg : public CDialog -{ -// Construction -public: - C9221cdmaDlg(I16 hCard, CWnd* pParent = NULL); // standard constructor - -// Dialog Data - enum { IDD = IDD_9221DMA_DIALOG }; - - protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - - -// Implementation -protected: - HICON m_hIcon; - UINT_PTR m_nTimer; - I16 m_hCard; - U32 m_dwSampIntrv; - U16 m_wScanChans; - HANDLE m_hMem1; - HANDLE m_hMem2; - U16 *m_pAIBuf1; - U16 *m_pAIBuf2; - U16 m_wBufferID1; - U16 m_wBufferID2; - U16 m_wRange; - int m_oldY[8]; - int m_oldX[8]; - U32 m_dwReadCount; - U16 m_wPostCount; - U8 m_bView; - - // Generated message map functions - virtual BOOL OnInitDialog(); - afx_msg void OnSysCommand(UINT nID, LPARAM lParam); - afx_msg void OnPaint(); - afx_msg HCURSOR OnQueryDragIcon(); - DECLARE_MESSAGE_MAP() - -public: - WORD max_val; - WORD min_val; - double max_range; - double min_range; - int n_PlotWidth; - int n_PlotHeight; - int y_divider; - int x_divider; - int m_DisplayScale; - HBRUSH OnBrush; - HBRUSH OffBrush; - CPen RedPen; - CPen GreenPen; - CPen YellowPen; - CPen BluePen; - CPen LTBluePen; - CPen LTRedPen; - CPen LTGreenPen; - CPen WhitePen; - void redraw_display_area(void); - afx_msg void OnDestroy(); - afx_msg void OnVScroll(UINT nSBCode, UINT nPos, CScrollBar* pScrollBar); - afx_msg void OnStart(); - int display_buffer_data(U16* pBuf); - afx_msg void OnCh0(); - afx_msg void OnCh1(); - afx_msg void OnCh2(); - afx_msg void OnCh3(); - afx_msg void OnCh4(); - afx_msg void OnCh5(); - afx_msg void OnCh6(); - afx_msg void OnCh7(); - afx_msg void OnTimer(UINT_PTR nIDEvent); - afx_msg void OnStop(); -}; diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9221/SDK9221AIDmaDbf/CardIDDlg.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9221/SDK9221AIDmaDbf/CardIDDlg.cpp deleted file mode 100644 index 0af4e63..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9221/SDK9221AIDmaDbf/CardIDDlg.cpp +++ /dev/null @@ -1,64 +0,0 @@ -// CardIDDlg.cpp : implementation file -// -#include "stdafx.h" -#include "9221cdma.h" -#include "9221cdmaDlg.h" -#include "CardIDDlg.h" - -// CCardIDDlg dialog - -IMPLEMENT_DYNAMIC(CCardIDDlg, CDialog) - -CCardIDDlg::CCardIDDlg(int nCardIdx, CWnd* pParent /*=NULL*/) - : CDialog(CCardIDDlg::IDD, pParent) -{ - m_nCardIdx = nCardIdx; -} - -CCardIDDlg::~CCardIDDlg() -{ -} - -void CCardIDDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); - DDX_Control(pDX, IDC_COMBO_CARDID, m_cbCardID); -} - - -BEGIN_MESSAGE_MAP(CCardIDDlg, CDialog) -// ON_CBN_SELCHANGE(IDC_COMBO_CARDID, &CCardIDDlg::OnCbnSelchangeComboCardid) -ON_BN_CLICKED(IDOK, &CCardIDDlg::OnBnClickedOk) -//ON_WM_CTLCOLOR() -END_MESSAGE_MAP() - - -// CCardIDDlg message handlers - - -void CCardIDDlg::OnBnClickedOk() -{ - // TODO: Add your control notification handler code here - -// UpdateData(TRUE); - m_nCardIdx = m_cbCardID.GetCurSel(); - - OnOK(); -} - -BOOL CCardIDDlg::OnInitDialog() -{ - CDialog::OnInitDialog(); - - // TODO: Add extra initialization here - m_cbCardID.SetCurSel( m_nCardIdx ); - - return TRUE; // return TRUE unless you set the focus to a control - // EXCEPTION: OCX Property Pages should return FALSE -} - -// the function to get the selected CardID -int CCardIDDlg::GetCardID(void) -{ - return m_nCardIdx; -} diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9221/SDK9221AIDmaDbf/CardIDDlg.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9221/SDK9221AIDmaDbf/CardIDDlg.h deleted file mode 100644 index 9c02c58..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9221/SDK9221AIDmaDbf/CardIDDlg.h +++ /dev/null @@ -1,32 +0,0 @@ -#pragma once -#include "afxwin.h" - -#include "Dask64.h" - -// CCardIDDlg dialog - -class CCardIDDlg : public CDialog -{ - DECLARE_DYNAMIC(CCardIDDlg) - -public: - CCardIDDlg(int nCardIdx, CWnd* pParent = NULL); // standard constructor - virtual ~CCardIDDlg(); - -// Dialog Data - enum { IDD = IDD_CARDID_DIALOG }; - -protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - - DECLARE_MESSAGE_MAP() -public: - virtual BOOL OnInitDialog(); - afx_msg void OnBnClickedOk(); - // the setting of CardID ComboBox - int m_nCardIdx; - // the control of CardID ComboBox - CComboBox m_cbCardID; - // the function to get the selected CardID - int GetCardID(void); -}; diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9221/SDK9221AIDmaDbf/ReadMe.txt b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9221/SDK9221AIDmaDbf/ReadMe.txt deleted file mode 100644 index 8030e27..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9221/SDK9221AIDmaDbf/ReadMe.txt +++ /dev/null @@ -1,93 +0,0 @@ -================================================================================ - MICROSOFT FOUNDATION CLASS LIBRARY : 9221cdma Project Overview -=============================================================================== - -The application wizard has created this 9221cdma application for -you. This application not only demonstrates the basics of using the Microsoft -Foundation Classes but is also a starting point for writing your application. - -This file contains a summary of what you will find in each of the files that -make up your 9221cdma application. - -9221cdma.vcproj - This is the main project file for VC++ projects generated using an application wizard. - It contains information about the version of Visual C++ that generated the file, and - information about the platforms, configurations, and project features selected with the - application wizard. - -9221cdma.h - This is the main header file for the application. It includes other - project specific headers (including Resource.h) and declares the - C9221cdmaApp application class. - -9221cdma.cpp - This is the main application source file that contains the application - class C9221cdmaApp. - -9221cdma.rc - This is a listing of all of the Microsoft Windows resources that the - program uses. It includes the icons, bitmaps, and cursors that are stored - in the RES subdirectory. This file can be directly edited in Microsoft - Visual C++. Your project resources are in 1033. - -res\9221cdma.ico - This is an icon file, which is used as the application's icon. This - icon is included by the main resource file 9221cdma.rc. - -res\My9221cdma.rc2 - This file contains resources that are not edited by Microsoft - Visual C++. You should place all resources not editable by - the resource editor in this file. - - -///////////////////////////////////////////////////////////////////////////// - -The application wizard creates one dialog class: - -9221cdmaDlg.h, 9221cdmaDlg.cpp - the dialog - These files contain your C9221cdmaDlg class. This class defines - the behavior of your application's main dialog. The dialog's template is - in 9221cdma.rc, which can be edited in Microsoft Visual C++. - - -///////////////////////////////////////////////////////////////////////////// - -Other Features: - -ActiveX Controls - The application includes support to use ActiveX controls. - -///////////////////////////////////////////////////////////////////////////// - -Other standard files: - -StdAfx.h, StdAfx.cpp - These files are used to build a precompiled header (PCH) file - named 9221cdma.pch and a precompiled types file named StdAfx.obj. - -Resource.h - This is the standard header file, which defines new resource IDs. - Microsoft Visual C++ reads and updates this file. - -9221cdma.manifest - Application manifest files are used by Windows XP to describe an applications - dependency on specific versions of Side-by-Side assemblies. The loader uses this - information to load the appropriate assembly from the assembly cache or private - from the application. The Application manifest maybe included for redistribution - as an external .manifest file that is installed in the same folder as the application - executable or it may be included in the executable in the form of a resource. -///////////////////////////////////////////////////////////////////////////// - -Other notes: - -The application wizard uses "TODO:" to indicate parts of the source code you -should add to or customize. - -If your application uses MFC in a shared DLL, you will need -to redistribute the MFC DLLs. If your application is in a language -other than the operating system's locale, you will also have to -redistribute the corresponding localized resources MFC90XXX.DLL. -For more information on both of these topics, please see the section on -redistributing Visual C++ applications in MSDN documentation. - -///////////////////////////////////////////////////////////////////////////// diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9221/SDK9221AIDmaDbf/res/9221cdma.ico b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9221/SDK9221AIDmaDbf/res/9221cdma.ico deleted file mode 100644 index d56fbcd..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9221/SDK9221AIDmaDbf/res/9221cdma.ico and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9221/SDK9221AIDmaDbf/res/My9221cdma.rc2 b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9221/SDK9221AIDmaDbf/res/My9221cdma.rc2 deleted file mode 100644 index 383cde2..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9221/SDK9221AIDmaDbf/res/My9221cdma.rc2 +++ /dev/null @@ -1,13 +0,0 @@ -// -// My9111int.RC2 - resources Microsoft Visual C++ does not edit directly -// - -#ifdef APSTUDIO_INVOKED -#error this file is not editable by Microsoft Visual C++ -#endif //APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// Add manually edited resources here... - -///////////////////////////////////////////////////////////////////////////// diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9221/SDK9221AIDmaDbf/res/ch_set1.bmp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9221/SDK9221AIDmaDbf/res/ch_set1.bmp deleted file mode 100644 index f2374ed..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9221/SDK9221AIDmaDbf/res/ch_set1.bmp and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9221/SDK9221AIDmaDbf/res/ch_set2.bmp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9221/SDK9221AIDmaDbf/res/ch_set2.bmp deleted file mode 100644 index 32d0915..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9221/SDK9221AIDmaDbf/res/ch_set2.bmp and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9221/SDK9221AIDmaDbf/resource.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9221/SDK9221AIDmaDbf/resource.h deleted file mode 100644 index ef6b7f1..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9221/SDK9221AIDmaDbf/resource.h +++ /dev/null @@ -1,42 +0,0 @@ -//{{NO_DEPENDENCIES}} -// Microsoft Visual C++ generated include file. -// Used by 9221cdma.rc -// -#define IDM_ABOUTBOX 0x0010 -#define IDD_ABOUTBOX 100 -#define IDS_ABOUTBOX 101 -#define IDD_9221DMA_DIALOG 102 -#define IDR_MAINFRAME 128 -#define IDD_CARDID_DIALOG 129 -#define IDB_BITMAP_SET1 131 -#define IDB_BITMAP_SET2 132 -#define IDC_STATIC_DRAW 1000 -#define IDC_COMBO_CARDID 1001 -#define IDC_BT_STOP 1002 -#define IDC_COMBO_CARDTYPE 1002 -#define IDC_BT_START 1003 -#define IDC_EDIT_SAMPLE_RATE 1004 -#define IDC_EDIT_SCAN_ITERVAL 1004 -#define IDC_SCROLLBAR_RATE 1005 -#define IDC_RADIO_CH0 1006 -#define IDC_RADIO_CH1 1007 -#define IDC_RADIO_CH2 1008 -#define IDC_RADIO_CH3 1009 -#define IDC_RADIO_CH4 1010 -#define IDC_RADIO_CH5 1011 -#define IDC_RADIO_CH6 1012 -#define IDC_RADIO_CH7 1013 -#define IDC_STATIC_01 1014 -#define IDC_EDIT_BUF_SIZE 1014 -#define IDC_STATIC_2 1015 - -// Next default values for new objects -// -#ifdef APSTUDIO_INVOKED -#ifndef APSTUDIO_READONLY_SYMBOLS -#define _APS_NEXT_RESOURCE_VALUE 134 -#define _APS_NEXT_COMMAND_VALUE 32771 -#define _APS_NEXT_CONTROL_VALUE 1016 -#define _APS_NEXT_SYMED_VALUE 101 -#endif -#endif diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9221/SDK9221AIDmaDbf/stdafx.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9221/SDK9221AIDmaDbf/stdafx.cpp deleted file mode 100644 index ef80626..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9221/SDK9221AIDmaDbf/stdafx.cpp +++ /dev/null @@ -1,8 +0,0 @@ - -// stdafx.cpp : source file that includes just the standard includes -// 9111int.pch will be the pre-compiled header -// stdafx.obj will contain the pre-compiled type information - -#include "stdafx.h" - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9221/SDK9221AIDmaDbf/stdafx.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9221/SDK9221AIDmaDbf/stdafx.h deleted file mode 100644 index 12123e2..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9221/SDK9221AIDmaDbf/stdafx.h +++ /dev/null @@ -1,60 +0,0 @@ - -// stdafx.h : include file for standard system include files, -// or project specific include files that are used frequently, -// but are changed infrequently - -#pragma once - -#ifndef _SECURE_ATL -#define _SECURE_ATL 1 -#endif - -#ifndef VC_EXTRALEAN -#define VC_EXTRALEAN // Exclude rarely-used stuff from Windows headers -#endif - -#include "targetver.h" - -#define _ATL_CSTRING_EXPLICIT_CONSTRUCTORS // some CString constructors will be explicit - -// turns off MFC's hiding of some common and often safely ignored warning messages -#define _AFX_ALL_WARNINGS - -#include // MFC core and standard components -#include // MFC extensions - - -#include // MFC Automation classes - - - -#ifndef _AFX_NO_OLE_SUPPORT -#include // MFC support for Internet Explorer 4 Common Controls -#endif -#ifndef _AFX_NO_AFXCMN_SUPPORT -#include // MFC support for Windows Common Controls -#endif // _AFX_NO_AFXCMN_SUPPORT - -#include // MFC support for ribbons and control bars - - - - - - - - - -#ifdef _UNICODE -#if defined _M_IX86 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='x86' publicKeyToken='6595b64144ccf1df' language='*'\"") -#elif defined _M_IA64 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='ia64' publicKeyToken='6595b64144ccf1df' language='*'\"") -#elif defined _M_X64 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='amd64' publicKeyToken='6595b64144ccf1df' language='*'\"") -#else -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='*' publicKeyToken='6595b64144ccf1df' language='*'\"") -#endif -#endif - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9221/SDK9221AIDmaDbf/targetver.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9221/SDK9221AIDmaDbf/targetver.h deleted file mode 100644 index 11730d5..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9221/SDK9221AIDmaDbf/targetver.h +++ /dev/null @@ -1,26 +0,0 @@ - -#pragma once - -// The following macros define the minimum required platform. The minimum required platform -// is the earliest version of Windows, Internet Explorer etc. that has the necessary features to run -// your application. The macros work by enabling all features available on platform versions up to and -// including the version specified. - -// Modify the following defines if you have to target a platform prior to the ones specified below. -// Refer to MSDN for the latest info on corresponding values for different platforms. -#ifndef WINVER // Specifies that the minimum required platform is Windows Vista. -#define WINVER 0x0600 // Change this to the appropriate value to target other versions of Windows. -#endif - -#ifndef _WIN32_WINNT // Specifies that the minimum required platform is Windows Vista. -#define _WIN32_WINNT 0x0600 // Change this to the appropriate value to target other versions of Windows. -#endif - -#ifndef _WIN32_WINDOWS // Specifies that the minimum required platform is Windows 98. -#define _WIN32_WINDOWS 0x0410 // Change this to the appropriate value to target Windows Me or later. -#endif - -#ifndef _WIN32_IE // Specifies that the minimum required platform is Internet Explorer 7.0. -#define _WIN32_IE 0x0700 // Change this to the appropriate value to target other versions of IE. -#endif - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9221/SDK9221AIDma_ExtD/9111int.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9221/SDK9221AIDma_ExtD/9111int.suo deleted file mode 100644 index 1d7a5ee..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9221/SDK9221AIDma_ExtD/9111int.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9221/SDK9221AIDma_ExtD/9116dma.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9221/SDK9221AIDma_ExtD/9116dma.suo deleted file mode 100644 index ac40639..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9221/SDK9221AIDma_ExtD/9116dma.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9221/SDK9221AIDma_ExtD/9221dma.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9221/SDK9221AIDma_ExtD/9221dma.cpp deleted file mode 100644 index cecde33..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9221/SDK9221AIDma_ExtD/9221dma.cpp +++ /dev/null @@ -1,109 +0,0 @@ - -// 9221dma.cpp : Defines the class behaviors for the application. -// - -#include "stdafx.h" -#include "9221dma.h" -#include "9221dmaDlg.h" -#include "CardIDDlg.h" - -#ifdef _DEBUG -#define new DEBUG_NEW -#endif - - -// C9221dmaApp - -BEGIN_MESSAGE_MAP(C9221dmaApp, CWinAppEx) - ON_COMMAND(ID_HELP, &CWinApp::OnHelp) -END_MESSAGE_MAP() - - -// C9221dmaApp construction - -C9221dmaApp::C9221dmaApp() -{ - // TODO: add construction code here, - // Place all significant initialization in InitInstance -} - - -// The one and only C9221dmaApp object - -C9221dmaApp theApp; - - -// C9221dmaApp initialization - -BOOL C9221dmaApp::InitInstance() -{ - int nCardID = 0; - I16 hCard; - CString strTemp; - INT_PTR nResponse; - - // InitCommonControlsEx() is required on Windows XP if an application - // manifest specifies use of ComCtl32.dll version 6 or later to enable - // visual styles. Otherwise, any window creation will fail. - INITCOMMONCONTROLSEX InitCtrls; - InitCtrls.dwSize = sizeof(InitCtrls); - // Set this to include all the common control classes you want to use - // in your application. - InitCtrls.dwICC = ICC_WIN95_CLASSES; - InitCommonControlsEx(&InitCtrls); - - CWinAppEx::InitInstance(); - - AfxEnableControlContainer(); - - // Standard initialization - // If you are not using these features and wish to reduce the size - // of your final executable, you should remove from the following - // the specific initialization routines you do not need - // Change the registry key under which our settings are stored - // TODO: You should modify this string to be something appropriate - // such as the name of your company or organization - SetRegistryKey(_T("Local AppWizard-Generated Applications")); - - CCardIDDlg CardDlg( nCardID ); - - nResponse = CardDlg.DoModal(); - if (nResponse == IDOK) - { - nCardID = CardDlg.GetCardID(); - - if ((hCard=Register_Card(PCI_9221, nCardID)) < 0) - { - strTemp.Format( TEXT("Register_Card Error = %d"), hCard); - AfxMessageBox( strTemp ); - } - else - { - C9221dmaDlg dlg(hCard); - m_pMainWnd = &dlg; - nResponse = dlg.DoModal(); - if (nResponse == IDOK) - { - // TODO: Place code here to handle when the dialog is - // dismissed with OK - } - else if (nResponse == IDCANCEL) - { - // TODO: Place code here to handle when the dialog is - // dismissed with Cancel - } - - if (hCard >= 0) Release_Card(hCard); - } - - } - else if (nResponse == IDCANCEL) - { - // TODO: Place code here to handle when the dialog is - // dismissed with Cancel - } - - // Since the dialog has been closed, return FALSE so that we exit the - // application, rather than start the application's message pump. - return FALSE; -} diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9221/SDK9221AIDma_ExtD/9221dma.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9221/SDK9221AIDma_ExtD/9221dma.h deleted file mode 100644 index 21e5885..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9221/SDK9221AIDma_ExtD/9221dma.h +++ /dev/null @@ -1,34 +0,0 @@ - -// 9221dma.h : main header file for the PROJECT_NAME application -// - -#pragma once - -#ifndef __AFXWIN_H__ - #error "include 'stdafx.h' before including this file for PCH" -#endif - -#include "resource.h" // main symbols - -#define AI_MODE_DMA 0 -#define AI_MODE_INT 1 - -// C9221dmaApp: -// See 9221dma.cpp for the implementation of this class -// - -class C9221dmaApp : public CWinAppEx -{ -public: - C9221dmaApp(); - -// Overrides - public: - virtual BOOL InitInstance(); - -// Implementation - - DECLARE_MESSAGE_MAP() -}; - -extern C9221dmaApp theApp; \ No newline at end of file diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9221/SDK9221AIDma_ExtD/9221dma.rc b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9221/SDK9221AIDma_ExtD/9221dma.rc deleted file mode 100644 index c800430..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9221/SDK9221AIDma_ExtD/9221dma.rc +++ /dev/null @@ -1,288 +0,0 @@ -// Microsoft Visual C++ generated resource script. -// -#include "resource.h" - -#define APSTUDIO_READONLY_SYMBOLS -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 2 resource. -// -#ifndef APSTUDIO_INVOKED -#include "targetver.h" -#endif -#include "afxres.h" - -///////////////////////////////////////////////////////////////////////////// -#undef APSTUDIO_READONLY_SYMBOLS - -///////////////////////////////////////////////////////////////////////////// -// Chinese (Taiwan) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_CHT) -#ifdef _WIN32 -LANGUAGE LANG_CHINESE, SUBLANG_CHINESE_TRADITIONAL -#pragma code_page(950) -#endif //_WIN32 - -#ifdef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// TEXTINCLUDE -// - -1 TEXTINCLUDE -BEGIN - "resource.h\0" -END - -2 TEXTINCLUDE -BEGIN - "#ifndef APSTUDIO_INVOKED\r\n" - "#include ""targetver.h""\r\n" - "#endif\r\n" - "#include ""afxres.h""\r\n" - "\0" -END - -3 TEXTINCLUDE -BEGIN - "#define _AFX_NO_SPLITTER_RESOURCES\r\n" - "#define _AFX_NO_OLE_RESOURCES\r\n" - "#define _AFX_NO_TRACKER_RESOURCES\r\n" - "#define _AFX_NO_PROPERTY_RESOURCES\r\n" - "\r\n" - "#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)\r\n" - "LANGUAGE 9, 1\r\n" - "#pragma code_page(1252)\r\n" - "#include ""res\\My9221dma.rc2"" // non-Microsoft Visual C++ edited resources\r\n" - "#include ""afxres.rc"" // Standard components\r\n" - "#endif\r\n" - "\0" -END - -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// Icon -// - -// Icon with lowest ID value placed first to ensure application icon -// remains consistent on all systems. -IDR_MAINFRAME ICON "res\\9221dma.ico" -#endif // Chinese (Taiwan) resources -///////////////////////////////////////////////////////////////////////////// - - -///////////////////////////////////////////////////////////////////////////// -// English (U.S.) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -#ifdef _WIN32 -LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US -#pragma code_page(1252) -#endif //_WIN32 - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog -// - -IDD_ABOUTBOX DIALOGEX 0, 0, 170, 62 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "About 9221dma" -FONT 8, "MS Shell Dlg", 0, 0, 0x1 -BEGIN - ICON IDR_MAINFRAME,IDC_STATIC,14,14,21,20 - LTEXT "9221dma, Version 1.0",IDC_STATIC,42,14,114,8,SS_NOPREFIX - LTEXT "Copyright (C) 2010",IDC_STATIC,42,26,114,8 - DEFPUSHBUTTON "OK",IDOK,113,41,50,14,WS_GROUP -END - -IDD_9221DMA_DIALOG DIALOGEX 0, 0, 365, 232 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU -EXSTYLE WS_EX_APPWINDOW -CAPTION -"PCI-9221 Autoscan with External Digital Trigger (GPI1) (Single-End Signal)" -FONT 8, "MS Shell Dlg", 0, 0, 0x1 -BEGIN - GROUPBOX "",IDC_STATIC_DRAW,45,9,227,161,NOT WS_VISIBLE - CONTROL 132,IDC_STATIC,"Static",SS_BITMAP,327,28,11,45 - CONTROL 131,IDC_STATIC,"Static",SS_BITMAP,298,29,9,44 - LTEXT "0",IDC_STATIC,286,29,10,11 - LTEXT "1",IDC_STATIC,286,40,10,11 - LTEXT "2",IDC_STATIC,286,51,10,11 - LTEXT "3",IDC_STATIC,286,63,10,11 - LTEXT "4",IDC_STATIC,318,29,10,11 - LTEXT "5",IDC_STATIC,318,40,10,11 - LTEXT "6",IDC_STATIC,318,51,10,11 - LTEXT "7",IDC_STATIC,318,63,10,11 - LTEXT "Range : +/- 5V",IDC_STATIC,283,130,57,15 - COMBOBOX IDC_COMBO_SCANCHAN,171,197,74,17,CBS_DROPDOWN | WS_VSCROLL | WS_TABSTOP - LTEXT "Scan Channels",IDC_STATIC,171,182,53,9 - EDITTEXT IDC_EDIT_SCAN_ITERVAL,57,197,39,12,ES_AUTOHSCROLL | ES_READONLY - LTEXT "Sample Interval :",IDC_STATIC,57,182,57,9 - SCROLLBAR IDC_SCROLLBAR_RATE,97,195,9,11,SBS_VERT - PUSHBUTTON "Start",IDC_BT_START,275,188,75,22 - CONTROL "",IDC_CHECK_DO01,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE | WS_TABSTOP,345,214,12,12 -END - -IDD_CARDID_DIALOG DIALOGEX 0, 0, 165, 95 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "Card ID" -FONT 8, "MS Shell Dlg", 400, 0, 0x1 -BEGIN - COMBOBOX IDC_COMBO_CARDID,74,24,71,126,CBS_DROPDOWN | WS_VSCROLL | WS_TABSTOP - LTEXT "Card Number",IDC_STATIC_01,20,25,46,12 - PUSHBUTTON "OK",IDOK,22,62,58,19 - PUSHBUTTON "CANCEL",IDCANCEL,86,62,58,19 -END - - -///////////////////////////////////////////////////////////////////////////// -// -// Version -// - -VS_VERSION_INFO VERSIONINFO - FILEVERSION 1,0,0,1 - PRODUCTVERSION 1,0,0,1 - FILEFLAGSMASK 0x3fL -#ifdef _DEBUG - FILEFLAGS 0x1L -#else - FILEFLAGS 0x0L -#endif - FILEOS 0x4L - FILETYPE 0x1L - FILESUBTYPE 0x0L -BEGIN - BLOCK "StringFileInfo" - BEGIN - BLOCK "040904e4" - BEGIN - VALUE "CompanyName", "TODO: " - VALUE "FileDescription", "TODO: " - VALUE "FileVersion", "1.0.0.1" - VALUE "InternalName", "9221dma.exe" - VALUE "LegalCopyright", "TODO: (c) . All rights reserved." - VALUE "OriginalFilename", "9221dma.exe" - VALUE "ProductName", "TODO: " - VALUE "ProductVersion", "1.0.0.1" - END - END - BLOCK "VarFileInfo" - BEGIN - VALUE "Translation", 0x409, 1252 - END -END - - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog Info -// - -IDD_CARDID_DIALOG DLGINIT -BEGIN - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0030, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0031, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0032, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0033, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0034, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0035, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0036, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0037, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0038, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0039, - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3031, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3131, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3231, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3331, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3431, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3531, "\000" - 0 -END - -IDD_9221DMA_DIALOG DLGINIT -BEGIN - IDC_COMBO_SCANCHAN, 0x403, 4, 0 -0x4843, 0x0030, - IDC_COMBO_SCANCHAN, 0x403, 8, 0 -0x4843, 0x7e30, 0x4843, 0x0031, - IDC_COMBO_SCANCHAN, 0x403, 8, 0 -0x4843, 0x7e30, 0x4843, 0x0032, - IDC_COMBO_SCANCHAN, 0x403, 8, 0 -0x4843, 0x7e30, 0x4843, 0x0033, - IDC_COMBO_SCANCHAN, 0x403, 8, 0 -0x4843, 0x7e30, 0x4843, 0x0034, - IDC_COMBO_SCANCHAN, 0x403, 8, 0 -0x4843, 0x7e30, 0x4843, 0x0035, - IDC_COMBO_SCANCHAN, 0x403, 8, 0 -0x4843, 0x7e30, 0x4843, 0x0036, - IDC_COMBO_SCANCHAN, 0x403, 8, 0 -0x4843, 0x7e30, 0x4843, 0x0037, - 0 -END - - -///////////////////////////////////////////////////////////////////////////// -// -// Bitmap -// - -IDB_BITMAP_SET1 BITMAP "res\\ch_set1.bmp" -IDB_BITMAP_SET2 BITMAP "res\\ch_set2.bmp" - -///////////////////////////////////////////////////////////////////////////// -// -// String Table -// - -STRINGTABLE -BEGIN - IDS_ABOUTBOX "&About 9221dma..." -END - -#endif // English (U.S.) resources -///////////////////////////////////////////////////////////////////////////// - - - -#ifndef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 3 resource. -// -#define _AFX_NO_SPLITTER_RESOURCES -#define _AFX_NO_OLE_RESOURCES -#define _AFX_NO_TRACKER_RESOURCES -#define _AFX_NO_PROPERTY_RESOURCES - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -LANGUAGE 9, 1 -#pragma code_page(1252) -#include "res\My9221dma.rc2" // non-Microsoft Visual C++ edited resources -#include "afxres.rc" // Standard components -#endif - -///////////////////////////////////////////////////////////////////////////// -#endif // not APSTUDIO_INVOKED - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9221/SDK9221AIDma_ExtD/9221dma.sln b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9221/SDK9221AIDma_ExtD/9221dma.sln deleted file mode 100644 index 2efd94c..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9221/SDK9221AIDma_ExtD/9221dma.sln +++ /dev/null @@ -1,20 +0,0 @@ - -Microsoft Visual Studio Solution File, Format Version 10.00 -# Visual Studio 2008 -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "9221dma", "9221dma.vcproj", "{702163FB-B6DF-4EF5-9491-FC54D71509BC}" -EndProject -Global - GlobalSection(SolutionConfigurationPlatforms) = preSolution - Debug|x64 = Debug|x64 - Release|x64 = Release|x64 - EndGlobalSection - GlobalSection(ProjectConfigurationPlatforms) = postSolution - {702163FB-B6DF-4EF5-9491-FC54D71509BC}.Debug|x64.ActiveCfg = Debug|x64 - {702163FB-B6DF-4EF5-9491-FC54D71509BC}.Debug|x64.Build.0 = Debug|x64 - {702163FB-B6DF-4EF5-9491-FC54D71509BC}.Release|x64.ActiveCfg = Release|x64 - {702163FB-B6DF-4EF5-9491-FC54D71509BC}.Release|x64.Build.0 = Release|x64 - EndGlobalSection - GlobalSection(SolutionProperties) = preSolution - HideSolutionNode = FALSE - EndGlobalSection -EndGlobal diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9221/SDK9221AIDma_ExtD/9221dma.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9221/SDK9221AIDma_ExtD/9221dma.suo deleted file mode 100644 index 13325db..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9221/SDK9221AIDma_ExtD/9221dma.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9221/SDK9221AIDma_ExtD/9221dma.vcproj b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9221/SDK9221AIDma_ExtD/9221dma.vcproj deleted file mode 100644 index 931e3d3..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9221/SDK9221AIDma_ExtD/9221dma.vcproj +++ /dev/null @@ -1,294 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9221/SDK9221AIDma_ExtD/9221dmaDlg.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9221/SDK9221AIDma_ExtD/9221dmaDlg.cpp deleted file mode 100644 index 018435f..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9221/SDK9221AIDma_ExtD/9221dmaDlg.cpp +++ /dev/null @@ -1,558 +0,0 @@ - -// 9221dmaDlg.cpp : implementation file -// - -#include "stdafx.h" -#include "9221dma.h" -#include "9221dmaDlg.h" - -#ifdef _DEBUG -#define new DEBUG_NEW -#endif - -CRect plotRect; -#define AI_SAMPLE_COUNT 4000 - -// CAboutDlg dialog used for App About - -class CAboutDlg : public CDialog -{ -public: - CAboutDlg(); - -// Dialog Data - enum { IDD = IDD_ABOUTBOX }; - - protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - -// Implementation -protected: - DECLARE_MESSAGE_MAP() -}; - -CAboutDlg::CAboutDlg() : CDialog(CAboutDlg::IDD) -{ -} - -void CAboutDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); -} - -BEGIN_MESSAGE_MAP(CAboutDlg, CDialog) -END_MESSAGE_MAP() - - -// C9221dmaDlg dialog - - - - -C9221dmaDlg::C9221dmaDlg(I16 hCard, CWnd* pParent /*=NULL*/) - : CDialog(C9221dmaDlg::IDD, pParent) -{ - m_hIcon = AfxGetApp()->LoadIcon(IDR_MAINFRAME); - - n_PlotWidth = n_PlotHeight = -1; - OnBrush = OffBrush = NULL; - - min_val = 0x00; - max_val = 0xFFFF; - - m_dwSampIntrv = 160; - - m_hCard = hCard; - m_wScanChans = 0; - m_nTimer = -1; - m_hMem=NULL; - - m_wRange = AD_B_5_V; - -} - -void C9221dmaDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); - DDX_Control(pDX, IDC_COMBO_SCANCHAN, m_cbScanChans); -} - -BEGIN_MESSAGE_MAP(C9221dmaDlg, CDialog) - ON_WM_SYSCOMMAND() - ON_WM_PAINT() - ON_WM_QUERYDRAGICON() - //}}AFX_MSG_MAP - ON_WM_DESTROY() - ON_WM_VSCROLL() - ON_CBN_SELCHANGE(IDC_COMBO_SCANCHAN, &C9221dmaDlg::OnScanChanSelchange) - ON_BN_CLICKED(IDC_BT_START, &C9221dmaDlg::OnStart) - ON_WM_TIMER() - ON_BN_CLICKED(IDC_CHECK_DO01, &C9221dmaDlg::OnDO01) -END_MESSAGE_MAP() - - -// C9221dmaDlg message handlers - -BOOL C9221dmaDlg::OnInitDialog() -{ - CDialog::OnInitDialog(); - - // Add "About..." menu item to system menu. - - // IDM_ABOUTBOX must be in the system command range. - ASSERT((IDM_ABOUTBOX & 0xFFF0) == IDM_ABOUTBOX); - ASSERT(IDM_ABOUTBOX < 0xF000); - - CMenu* pSysMenu = GetSystemMenu(FALSE); - if (pSysMenu != NULL) - { - BOOL bNameValid; - CString strAboutMenu; - bNameValid = strAboutMenu.LoadString(IDS_ABOUTBOX); - ASSERT(bNameValid); - if (!strAboutMenu.IsEmpty()) - { - pSysMenu->AppendMenu(MF_SEPARATOR); - pSysMenu->AppendMenu(MF_STRING, IDM_ABOUTBOX, strAboutMenu); - } - } - - // Set the icon for this dialog. The framework does this automatically - // when the application's main window is not a dialog - SetIcon(m_hIcon, TRUE); // Set big icon - SetIcon(m_hIcon, FALSE); // Set small icon - - // TODO: Add extra initialization here - x_divider = 5; y_divider = 4; - - OnBrush = CreateSolidBrush( RGB(255,0,0) ); - OffBrush = CreateSolidBrush( RGB(125,0,0) ); - - RedPen.CreatePen( PS_SOLID, 1, RGB(255,0,0)); - GreenPen.CreatePen( PS_SOLID, 1, RGB(0,255,0)); - YellowPen.CreatePen( PS_SOLID, 1, RGB(255,255,0)); - BluePen.CreatePen( PS_SOLID, 1, RGB(0,0,255)); - LTBluePen.CreatePen( PS_SOLID, 1, RGB(0,128,255)); - LTRedPen.CreatePen( PS_SOLID, 1, RGB(255,128,0)); - LTGreenPen.CreatePen( PS_SOLID, 1, RGB(0,128,0)); - WhitePen.CreatePen( PS_SOLID, 1, RGB(255,255,255)); - - if( n_PlotWidth == -1 && n_PlotHeight == -1 ) - { - ((CWnd*)GetDlgItem(IDC_STATIC_DRAW))->GetWindowRect(&plotRect); - ScreenToClient(&plotRect); - - n_PlotWidth = min( plotRect.Width(), 512); - n_PlotHeight = plotRect.Height() - 10; - } - - - // set the default SampleRate - SetDlgItemInt( IDC_EDIT_SCAN_ITERVAL, (UINT)(m_dwSampIntrv) ); - m_cbScanChans.SetCurSel( 0 ); - - max_range = 5.0; - min_range = -5.0; - - return TRUE; // return TRUE unless you set the focus to a control -} - -void C9221dmaDlg::OnSysCommand(UINT nID, LPARAM lParam) -{ - if ((nID & 0xFFF0) == IDM_ABOUTBOX) - { - CAboutDlg dlgAbout; - dlgAbout.DoModal(); - } - else - { - CDialog::OnSysCommand(nID, lParam); - } -} - -// If you add a minimize button to your dialog, you will need the code below -// to draw the icon. For MFC applications using the document/view model, -// this is automatically done for you by the framework. - -void C9221dmaDlg::OnPaint() -{ - if (IsIconic()) - { - CPaintDC dc(this); // device context for painting - - SendMessage(WM_ICONERASEBKGND, reinterpret_cast(dc.GetSafeHdc()), 0); - - // Center icon in client rectangle - int cxIcon = GetSystemMetrics(SM_CXICON); - int cyIcon = GetSystemMetrics(SM_CYICON); - CRect rect; - GetClientRect(&rect); - int x = (rect.Width() - cxIcon + 1) / 2; - int y = (rect.Height() - cyIcon + 1) / 2; - - // Draw the icon - dc.DrawIcon(x, y, m_hIcon); - } - else - { - redraw_display_area(); - CDialog::OnPaint(); - } -} - -// The system calls this function to obtain the cursor to display while the user drags -// the minimized window. -HCURSOR C9221dmaDlg::OnQueryDragIcon() -{ - return static_cast(m_hIcon); -} - - -void C9221dmaDlg::redraw_display_area(void) -{ - CPen *oldPen; - - int oldMode; - COLORREF oldColor; - - CString y_lable; - - CPen minor_tick( PS_SOLID,1,RGB(132,130,132) ); -// CPen y_grid( PS_SOLID,1,RGB(206,203,132) ); - - int i, x_intv, y_intv; -// long total_sec; - - CClientDC dc_plot(this); - - // draw the base-line for x-y axises - oldPen = (CPen *)dc_plot.SelectStockObject(BLACK_PEN); - - // redraw the background - dc_plot.FillSolidRect( plotRect, RGB(0,0,0) ); - - // Re-Draw the AREA for Y-Lable - { - CBrush DIALOG_BRUSH; - CRect redraw_area, full_client; - - GetClientRect(&full_client); - ScreenToClient(&full_client); - - redraw_area.left = full_client.left; - redraw_area.top = plotRect.top - 5; - redraw_area.right = plotRect.left - 3; - redraw_area.bottom = plotRect.bottom + 10; - - DIALOG_BRUSH.CreateSysColorBrush( COLOR_3DFACE ); - - dc_plot.FillRect( redraw_area, &DIALOG_BRUSH ); - - DIALOG_BRUSH.DeleteObject(); - } - - dc_plot.MoveTo( plotRect.left - 3, plotRect.top ); - dc_plot.LineTo( plotRect.left - 3, plotRect.bottom ); - - // calculate the interval for tick/grid - y_intv = (plotRect.Height() - 10) /y_divider; - x_intv = plotRect.Width()/x_divider; - - - // set the color for tick - oldColor = dc_plot.SetTextColor( RGB(0,0,0) ); - oldMode = dc_plot.SetBkMode( TRANSPARENT ); - - for( i=0; i<= y_divider; i++ ) - { - CString tick_str; - CRect tmp_rect, tick_rect; - - // draw the tick for y-axis - dc_plot.MoveTo( plotRect.left -12, plotRect.bottom -5 - (i*y_intv) ); - dc_plot.LineTo( plotRect.left -3, plotRect.bottom -5 - (i*y_intv) ); - - tick_str.Format( _T("%.1f"), ( ((max_range-min_range)/y_divider) * i)+min_range ); - - // calculate the rectangle for text - dc_plot.DrawText( tick_str, &tmp_rect, DT_CALCRECT|DT_SINGLELINE ); - tick_rect.right = plotRect.left -14; - tick_rect.left = tick_rect.right - tmp_rect.Width(); - tick_rect.top = plotRect.bottom -5 - (i*y_intv) - tmp_rect.Height()/2; - tick_rect.bottom = tick_rect.top + tmp_rect.Height(); - - // draw the text - dc_plot.DrawText( tick_str, &tick_rect, DT_SINGLELINE|DT_RIGHT ); - - } - - // draw the minor_tick for Y axises - dc_plot.SelectObject(&minor_tick); - for( i=0; i< y_divider; i++ ) - { - dc_plot.MoveTo( plotRect.left -9, plotRect.bottom -5 - (i*y_intv) - y_intv/2 ); - dc_plot.LineTo( plotRect.left -4, plotRect.bottom -5 - (i*y_intv) - y_intv/2 ); - } - - dc_plot.SetTextColor( oldColor ); - dc_plot.SetBkMode( oldMode ); - dc_plot.SelectObject( oldPen ); -} - -void C9221dmaDlg::OnDestroy() -{ - CDialog::OnDestroy(); - - // TODO: Add your message handler code here - if( m_nTimer != -1 ) - { - KillTimer( m_nTimer ); - m_nTimer = -1; - } - - if (m_hMem != NULL) - { - GlobalUnfix(m_hMem); - GlobalUnlock(m_hMem); - GlobalFree(m_hMem); - - m_hMem = NULL; - } - - if( OnBrush != NULL ) - ::DeleteObject( OnBrush ); - - if( OffBrush != NULL ) - ::DeleteObject( OffBrush ); - - RedPen.DeleteObject(); - GreenPen.DeleteObject(); - YellowPen.DeleteObject(); - BluePen.DeleteObject(); - LTBluePen.DeleteObject(); - LTRedPen.DeleteObject(); - LTGreenPen.DeleteObject(); - WhitePen.DeleteObject(); -} - -void C9221dmaDlg::OnVScroll(UINT nSBCode, UINT nPos, CScrollBar* pScrollBar) -{ - // TODO: Add your message handler code here and/or call default - switch ( nSBCode ) - { - case SB_LINEUP : - m_dwSampIntrv += 160; - if (m_dwSampIntrv > 40000 ) m_dwSampIntrv = 40000; - - break; - case SB_LINEDOWN: - m_dwSampIntrv -= 160; - if (m_dwSampIntrv < 160 ) m_dwSampIntrv = 160; - - break; - } - - SetDlgItemInt( IDC_EDIT_SCAN_ITERVAL, (UINT)(m_dwSampIntrv) ); - - CDialog::OnVScroll(nSBCode, nPos, pScrollBar); -} - -void C9221dmaDlg::OnScanChanSelchange() -{ - // TODO: Add your control notification handler code here - int nIndex; - - nIndex = m_cbScanChans.GetCurSel(); - m_wScanChans = (U16)nIndex; -} - -void C9221dmaDlg::OnStart() -{ - // TODO: Add your control notification handler code here - DWORD mem_size; - CString strTemp; - I16 err; - - GetDlgItem( IDC_BT_START )->EnableWindow(FALSE); - -DO_WritePort(m_hCard, 0, 0x00); - - if (m_hMem != NULL) - { - GlobalUnfix(m_hMem); - GlobalUnlock(m_hMem); - GlobalFree(m_hMem); - - m_hMem = NULL; - } - - // allocate a memory for user DMA buffer - mem_size = AI_SAMPLE_COUNT * (m_wScanChans+1) * sizeof(I16); - m_hMem = GlobalAlloc(GMEM_ZEROINIT, mem_size); - m_pAIBuf = (U16*) GlobalLock(m_hMem); - - if (m_pAIBuf == NULL ) - { - AfxMessageBox( TEXT("Memory allocation failed"), MB_OK); - } - - GlobalFix(m_hMem); - - m_oldY[0] = m_oldY[1] = m_oldY[2] = m_oldY[3] = m_oldY[4] = m_oldY[5] = m_oldY[6] = m_oldY[7] = -1; - m_oldX[0] = m_oldX[1] = m_oldX[2] = m_oldX[3] = m_oldX[4] = m_oldX[5] = m_oldX[6] = m_oldX[7] = -1; - - err = AI_9221_Config (m_hCard, P9221_AI_SingEnded|P9221_AI_IntTimeBase, P9221_TRGMOD_ExtD|P9221_TRGSRC_GPI1, 0); - if (err!=0) - { - strTemp.Format( TEXT("AI_9221_Config error=%d"), err); - AfxMessageBox( strTemp ); - return; - } - - err = AI_AsyncDblBufferMode(m_hCard, 0); // single-buffer mode - if (err!=0) - { - strTemp.Format( TEXT("AI_DblBufferMode error=%d"), err); - AfxMessageBox( strTemp ); - return; - } - - err = AI_9221_CounterInterval(m_hCard, m_dwSampIntrv * (m_wScanChans+1), m_dwSampIntrv); - if (err!=0) - { - strTemp.Format( TEXT("AI_9116_CounterInterval error=%d"), err); - AfxMessageBox( strTemp ); - return; - } - - err = AI_ContBufferSetup (m_hCard, m_pAIBuf, AI_SAMPLE_COUNT, &m_wBufferID); - if (err!=0) - { - strTemp.Format( TEXT("AI_ContBufferSetup error=%d"), err); - AfxMessageBox( strTemp ); - return; - } - - err = AI_ContReadChannel(m_hCard, m_wScanChans, m_wRange, &m_wBufferID, AI_SAMPLE_COUNT, 0, ASYNCH_OP); - if (err!=0) - { - strTemp.Format( TEXT("AI_ContScanChannels error=%d"), err); - AfxMessageBox( strTemp ); - return; - } - - m_nTimer = SetTimer( 1, 20, NULL ); - -} - -int C9221dmaDlg::display_buffer_data(U16* pBuf) -{ - CClientDC dc_plot(this); - int nDraw_Origin_Y; - int cur_channel; - - int newY = -1; - int newX = -1; - U32 index; - I16 ai_data; - - dc_plot.FillSolidRect( plotRect, RGB(0,0,0) ); - - nDraw_Origin_Y = ( plotRect.bottom - 5 ) - n_PlotHeight/2; - - for( index=0; index> 16) ); // ( n_PlotHeight * ai_data / 65536) ); // ( (n_PlotHeight/2) * ai_data/32768 ) ); - - newX = (int)( index*n_PlotWidth/AI_SAMPLE_COUNT + plotRect.left ); - - switch(cur_channel) - { - case 0: - dc_plot.SelectObject(&YellowPen); - break; - case 1: - dc_plot.SelectObject(<GreenPen); - break; - case 2: - dc_plot.SelectObject(&BluePen); - break; - case 3: - dc_plot.SelectObject(&RedPen); - break; - case 4: - dc_plot.SelectObject(<BluePen); - break; - case 5: - dc_plot.SelectObject(<RedPen); - break; - case 6: - dc_plot.SelectObject(&GreenPen); - break; - case 7: - dc_plot.SelectObject(&WhitePen); - break; - } - - if ( m_oldX[cur_channel] == -1 ) - { - dc_plot.MoveTo( newX, newY ); - } - else - { - dc_plot.MoveTo( m_oldX[cur_channel], m_oldY[cur_channel] ); - dc_plot.LineTo( newX, newY ); - } - - m_oldX[cur_channel] = newX; - m_oldY[cur_channel] = newY; - } - - return 0; -} - -void C9221dmaDlg::OnTimer(UINT_PTR nIDEvent) -{ - // TODO: Add your message handler code here and/or call default - BOOLEAN fstop; - U32 count; - - AI_AsyncCheck(m_hCard, &fstop, &count); - - if( fstop == TRUE ) - { - AI_AsyncClear(m_hCard, &count); - - KillTimer( m_nTimer ); - m_nTimer = -1; - - display_buffer_data( m_pAIBuf ); - - AI_ContBufferReset(m_hCard); - - GetDlgItem( IDC_BT_START )->EnableWindow(TRUE); - } - - CDialog::OnTimer(nIDEvent); -} - -void C9221dmaDlg::OnDO01() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_DO01 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - DO_WritePort(m_hCard, 0, 0x02); - } - else if( CheckSts == BST_UNCHECKED ) - { - DO_WritePort(m_hCard, 0, 0x00); - } - -} diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9221/SDK9221AIDma_ExtD/9221dmaDlg.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9221/SDK9221AIDma_ExtD/9221dmaDlg.h deleted file mode 100644 index 947c25b..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9221/SDK9221AIDma_ExtD/9221dmaDlg.h +++ /dev/null @@ -1,77 +0,0 @@ - -// 9221dmaDlg.h : header file -#pragma once -#include "afxcmn.h" -#include "afxwin.h" - -#include "Dask64.h" - -#ifndef MAX_CHAN_9221 -#define MAX_CHAN_9221 16 -#endif - -// C9221dmaDlg dialog -class C9221dmaDlg : public CDialog -{ -// Construction -public: - C9221dmaDlg(I16 hCard, CWnd* pParent = NULL); // standard constructor - -// Dialog Data - enum { IDD = IDD_9221DMA_DIALOG }; - - protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - - -// Implementation -protected: - HICON m_hIcon; - UINT_PTR m_nTimer; - I16 m_hCard; - U32 m_dwSampIntrv; - U16 m_wScanChans; - U16 m_wBufferID; - HANDLE m_hMem; - U16 *m_pAIBuf; - U16 m_wRange; - int m_oldY[8]; - int m_oldX[8]; - - // Generated message map functions - virtual BOOL OnInitDialog(); - afx_msg void OnSysCommand(UINT nID, LPARAM lParam); - afx_msg void OnPaint(); - afx_msg HCURSOR OnQueryDragIcon(); - DECLARE_MESSAGE_MAP() - -public: - WORD max_val; - WORD min_val; - double max_range; - double min_range; - int n_PlotWidth; - int n_PlotHeight; - int y_divider; - int x_divider; - int m_DisplayScale; - HBRUSH OnBrush; - HBRUSH OffBrush; - CPen RedPen; - CPen GreenPen; - CPen YellowPen; - CPen BluePen; - CPen LTBluePen; - CPen LTRedPen; - CPen LTGreenPen; - CPen WhitePen; - void redraw_display_area(void); - afx_msg void OnDestroy(); - CComboBox m_cbScanChans; - afx_msg void OnVScroll(UINT nSBCode, UINT nPos, CScrollBar* pScrollBar); - afx_msg void OnScanChanSelchange(); - afx_msg void OnStart(); - int display_buffer_data(U16* pBuf); - afx_msg void OnTimer(UINT_PTR nIDEvent); - afx_msg void OnDO01(); -}; diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9221/SDK9221AIDma_ExtD/CardIDDlg.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9221/SDK9221AIDma_ExtD/CardIDDlg.cpp deleted file mode 100644 index 3c71fb8..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9221/SDK9221AIDma_ExtD/CardIDDlg.cpp +++ /dev/null @@ -1,64 +0,0 @@ -// CardIDDlg.cpp : implementation file -// -#include "stdafx.h" -#include "9221dma.h" -#include "9221dmaDlg.h" -#include "CardIDDlg.h" - -// CCardIDDlg dialog - -IMPLEMENT_DYNAMIC(CCardIDDlg, CDialog) - -CCardIDDlg::CCardIDDlg(int nCardIdx, CWnd* pParent /*=NULL*/) - : CDialog(CCardIDDlg::IDD, pParent) -{ - m_nCardIdx = nCardIdx; -} - -CCardIDDlg::~CCardIDDlg() -{ -} - -void CCardIDDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); - DDX_Control(pDX, IDC_COMBO_CARDID, m_cbCardID); -} - - -BEGIN_MESSAGE_MAP(CCardIDDlg, CDialog) -// ON_CBN_SELCHANGE(IDC_COMBO_CARDID, &CCardIDDlg::OnCbnSelchangeComboCardid) -ON_BN_CLICKED(IDOK, &CCardIDDlg::OnBnClickedOk) -//ON_WM_CTLCOLOR() -END_MESSAGE_MAP() - - -// CCardIDDlg message handlers - - -void CCardIDDlg::OnBnClickedOk() -{ - // TODO: Add your control notification handler code here - -// UpdateData(TRUE); - m_nCardIdx = m_cbCardID.GetCurSel(); - - OnOK(); -} - -BOOL CCardIDDlg::OnInitDialog() -{ - CDialog::OnInitDialog(); - - // TODO: Add extra initialization here - m_cbCardID.SetCurSel( m_nCardIdx ); - - return TRUE; // return TRUE unless you set the focus to a control - // EXCEPTION: OCX Property Pages should return FALSE -} - -// the function to get the selected CardID -int CCardIDDlg::GetCardID(void) -{ - return m_nCardIdx; -} diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9221/SDK9221AIDma_ExtD/CardIDDlg.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9221/SDK9221AIDma_ExtD/CardIDDlg.h deleted file mode 100644 index 9c02c58..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9221/SDK9221AIDma_ExtD/CardIDDlg.h +++ /dev/null @@ -1,32 +0,0 @@ -#pragma once -#include "afxwin.h" - -#include "Dask64.h" - -// CCardIDDlg dialog - -class CCardIDDlg : public CDialog -{ - DECLARE_DYNAMIC(CCardIDDlg) - -public: - CCardIDDlg(int nCardIdx, CWnd* pParent = NULL); // standard constructor - virtual ~CCardIDDlg(); - -// Dialog Data - enum { IDD = IDD_CARDID_DIALOG }; - -protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - - DECLARE_MESSAGE_MAP() -public: - virtual BOOL OnInitDialog(); - afx_msg void OnBnClickedOk(); - // the setting of CardID ComboBox - int m_nCardIdx; - // the control of CardID ComboBox - CComboBox m_cbCardID; - // the function to get the selected CardID - int GetCardID(void); -}; diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9221/SDK9221AIDma_ExtD/ReadMe.txt b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9221/SDK9221AIDma_ExtD/ReadMe.txt deleted file mode 100644 index 5dcd397..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9221/SDK9221AIDma_ExtD/ReadMe.txt +++ /dev/null @@ -1,93 +0,0 @@ -================================================================================ - MICROSOFT FOUNDATION CLASS LIBRARY : 9221dma Project Overview -=============================================================================== - -The application wizard has created this 9221dma application for -you. This application not only demonstrates the basics of using the Microsoft -Foundation Classes but is also a starting point for writing your application. - -This file contains a summary of what you will find in each of the files that -make up your 9221dma application. - -9221dma.vcproj - This is the main project file for VC++ projects generated using an application wizard. - It contains information about the version of Visual C++ that generated the file, and - information about the platforms, configurations, and project features selected with the - application wizard. - -9221dma.h - This is the main header file for the application. It includes other - project specific headers (including Resource.h) and declares the - C9221dmaApp application class. - -9221dma.cpp - This is the main application source file that contains the application - class C9221dmaApp. - -9221dma.rc - This is a listing of all of the Microsoft Windows resources that the - program uses. It includes the icons, bitmaps, and cursors that are stored - in the RES subdirectory. This file can be directly edited in Microsoft - Visual C++. Your project resources are in 1033. - -res\9221dma.ico - This is an icon file, which is used as the application's icon. This - icon is included by the main resource file 9221dma.rc. - -res\My9221dma.rc2 - This file contains resources that are not edited by Microsoft - Visual C++. You should place all resources not editable by - the resource editor in this file. - - -///////////////////////////////////////////////////////////////////////////// - -The application wizard creates one dialog class: - -9221dmaDlg.h, 9221dmaDlg.cpp - the dialog - These files contain your C9221dmaDlg class. This class defines - the behavior of your application's main dialog. The dialog's template is - in 9221dma.rc, which can be edited in Microsoft Visual C++. - - -///////////////////////////////////////////////////////////////////////////// - -Other Features: - -ActiveX Controls - The application includes support to use ActiveX controls. - -///////////////////////////////////////////////////////////////////////////// - -Other standard files: - -StdAfx.h, StdAfx.cpp - These files are used to build a precompiled header (PCH) file - named 9221dma.pch and a precompiled types file named StdAfx.obj. - -Resource.h - This is the standard header file, which defines new resource IDs. - Microsoft Visual C++ reads and updates this file. - -9221dma.manifest - Application manifest files are used by Windows XP to describe an applications - dependency on specific versions of Side-by-Side assemblies. The loader uses this - information to load the appropriate assembly from the assembly cache or private - from the application. The Application manifest maybe included for redistribution - as an external .manifest file that is installed in the same folder as the application - executable or it may be included in the executable in the form of a resource. -///////////////////////////////////////////////////////////////////////////// - -Other notes: - -The application wizard uses "TODO:" to indicate parts of the source code you -should add to or customize. - -If your application uses MFC in a shared DLL, you will need -to redistribute the MFC DLLs. If your application is in a language -other than the operating system's locale, you will also have to -redistribute the corresponding localized resources MFC90XXX.DLL. -For more information on both of these topics, please see the section on -redistributing Visual C++ applications in MSDN documentation. - -///////////////////////////////////////////////////////////////////////////// diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9221/SDK9221AIDma_ExtD/res/9221dma.ico b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9221/SDK9221AIDma_ExtD/res/9221dma.ico deleted file mode 100644 index d56fbcd..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9221/SDK9221AIDma_ExtD/res/9221dma.ico and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9221/SDK9221AIDma_ExtD/res/My9221dma.rc2 b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9221/SDK9221AIDma_ExtD/res/My9221dma.rc2 deleted file mode 100644 index 383cde2..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9221/SDK9221AIDma_ExtD/res/My9221dma.rc2 +++ /dev/null @@ -1,13 +0,0 @@ -// -// My9111int.RC2 - resources Microsoft Visual C++ does not edit directly -// - -#ifdef APSTUDIO_INVOKED -#error this file is not editable by Microsoft Visual C++ -#endif //APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// Add manually edited resources here... - -///////////////////////////////////////////////////////////////////////////// diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9221/SDK9221AIDma_ExtD/res/ch_set1.bmp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9221/SDK9221AIDma_ExtD/res/ch_set1.bmp deleted file mode 100644 index f2374ed..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9221/SDK9221AIDma_ExtD/res/ch_set1.bmp and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9221/SDK9221AIDma_ExtD/res/ch_set2.bmp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9221/SDK9221AIDma_ExtD/res/ch_set2.bmp deleted file mode 100644 index 32d0915..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9221/SDK9221AIDma_ExtD/res/ch_set2.bmp and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9221/SDK9221AIDma_ExtD/resource.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9221/SDK9221AIDma_ExtD/resource.h deleted file mode 100644 index 7db5854..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9221/SDK9221AIDma_ExtD/resource.h +++ /dev/null @@ -1,34 +0,0 @@ -//{{NO_DEPENDENCIES}} -// Microsoft Visual C++ generated include file. -// Used by 9221dma.rc -// -#define IDM_ABOUTBOX 0x0010 -#define IDD_ABOUTBOX 100 -#define IDS_ABOUTBOX 101 -#define IDD_9221DMA_DIALOG 102 -#define IDR_MAINFRAME 128 -#define IDD_CARDID_DIALOG 129 -#define IDB_BITMAP_SET1 131 -#define IDB_BITMAP_SET2 132 -#define IDC_STATIC_DRAW 1000 -#define IDC_COMBO_CARDID 1001 -#define IDC_COMBO_SCANCHAN 1001 -#define IDC_COMBO_CARDTYPE 1002 -#define IDC_BUTTON1 1002 -#define IDC_BT_START 1002 -#define IDC_EDIT_SCAN_ITERVAL 1003 -#define IDC_SCROLLBAR_RATE 1006 -#define IDC_STATIC_01 1014 -#define IDC_STATIC_2 1015 -#define IDC_CHECK_DO01 1030 - -// Next default values for new objects -// -#ifdef APSTUDIO_INVOKED -#ifndef APSTUDIO_READONLY_SYMBOLS -#define _APS_NEXT_RESOURCE_VALUE 134 -#define _APS_NEXT_COMMAND_VALUE 32771 -#define _APS_NEXT_CONTROL_VALUE 1003 -#define _APS_NEXT_SYMED_VALUE 101 -#endif -#endif diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9221/SDK9221AIDma_ExtD/stdafx.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9221/SDK9221AIDma_ExtD/stdafx.cpp deleted file mode 100644 index ef80626..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9221/SDK9221AIDma_ExtD/stdafx.cpp +++ /dev/null @@ -1,8 +0,0 @@ - -// stdafx.cpp : source file that includes just the standard includes -// 9111int.pch will be the pre-compiled header -// stdafx.obj will contain the pre-compiled type information - -#include "stdafx.h" - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9221/SDK9221AIDma_ExtD/stdafx.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9221/SDK9221AIDma_ExtD/stdafx.h deleted file mode 100644 index 12123e2..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9221/SDK9221AIDma_ExtD/stdafx.h +++ /dev/null @@ -1,60 +0,0 @@ - -// stdafx.h : include file for standard system include files, -// or project specific include files that are used frequently, -// but are changed infrequently - -#pragma once - -#ifndef _SECURE_ATL -#define _SECURE_ATL 1 -#endif - -#ifndef VC_EXTRALEAN -#define VC_EXTRALEAN // Exclude rarely-used stuff from Windows headers -#endif - -#include "targetver.h" - -#define _ATL_CSTRING_EXPLICIT_CONSTRUCTORS // some CString constructors will be explicit - -// turns off MFC's hiding of some common and often safely ignored warning messages -#define _AFX_ALL_WARNINGS - -#include // MFC core and standard components -#include // MFC extensions - - -#include // MFC Automation classes - - - -#ifndef _AFX_NO_OLE_SUPPORT -#include // MFC support for Internet Explorer 4 Common Controls -#endif -#ifndef _AFX_NO_AFXCMN_SUPPORT -#include // MFC support for Windows Common Controls -#endif // _AFX_NO_AFXCMN_SUPPORT - -#include // MFC support for ribbons and control bars - - - - - - - - - -#ifdef _UNICODE -#if defined _M_IX86 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='x86' publicKeyToken='6595b64144ccf1df' language='*'\"") -#elif defined _M_IA64 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='ia64' publicKeyToken='6595b64144ccf1df' language='*'\"") -#elif defined _M_X64 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='amd64' publicKeyToken='6595b64144ccf1df' language='*'\"") -#else -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='*' publicKeyToken='6595b64144ccf1df' language='*'\"") -#endif -#endif - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9221/SDK9221AIDma_ExtD/targetver.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9221/SDK9221AIDma_ExtD/targetver.h deleted file mode 100644 index 11730d5..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9221/SDK9221AIDma_ExtD/targetver.h +++ /dev/null @@ -1,26 +0,0 @@ - -#pragma once - -// The following macros define the minimum required platform. The minimum required platform -// is the earliest version of Windows, Internet Explorer etc. that has the necessary features to run -// your application. The macros work by enabling all features available on platform versions up to and -// including the version specified. - -// Modify the following defines if you have to target a platform prior to the ones specified below. -// Refer to MSDN for the latest info on corresponding values for different platforms. -#ifndef WINVER // Specifies that the minimum required platform is Windows Vista. -#define WINVER 0x0600 // Change this to the appropriate value to target other versions of Windows. -#endif - -#ifndef _WIN32_WINNT // Specifies that the minimum required platform is Windows Vista. -#define _WIN32_WINNT 0x0600 // Change this to the appropriate value to target other versions of Windows. -#endif - -#ifndef _WIN32_WINDOWS // Specifies that the minimum required platform is Windows 98. -#define _WIN32_WINDOWS 0x0410 // Change this to the appropriate value to target Windows Me or later. -#endif - -#ifndef _WIN32_IE // Specifies that the minimum required platform is Internet Explorer 7.0. -#define _WIN32_IE 0x0700 // Change this to the appropriate value to target other versions of IE. -#endif - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/C9222_AI_DMA_DBFtoFile/ai.c b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/C9222_AI_DMA_DBFtoFile/ai.c deleted file mode 100644 index 8e7bfec..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/C9222_AI_DMA_DBFtoFile/ai.c +++ /dev/null @@ -1,176 +0,0 @@ -/*----------------------------------------------------------------------------*/ -/* Company : ADLINK */ -/* Date : 2008/07/30 */ -/* */ -/* This sample performs infinite AI acquisition by double buffer mode. */ -/* There are 16(Single Ended Mode)/8(Differetial Mode) AI channels in */ -/* PCI-9222. You can use polling mode or DMA to acquired data from specified */ -/* channels. */ -/*----------------------------------------------------------------------------*/ -#include -#include -#include -#include -#include -#include "dask64.h" - -#define AI_COUNT 4000 -#define CHANNELCOUNT 4 -#define P922X_TIMEBASE 80000000.0 - -int main(int argc, char **argv) -{ - I16 card, err; - U16 card_num; - U16 ConfigCtrl = P922x_AI_SingEnded|P922x_AI_CONVSRC_INT; - U16 TrigCtrl = P922x_AI_TRGMOD_POST|P922x_AI_TRGSRC_SOFT; - U32 ReTriggerCount = 0; /*Ignore in Double Buffer Mode*/ - BOOLEAN AutoResetBuf = 1; /*Auto Reset Buffer Descriptor in Driver*/ - U32 ScanIntrv = 20000*CHANNELCOUNT; /*Scan Rate: P922X_TIMEBASE/20000/4 = 1K Hz*/ - U32 SampIntrv = 20000; /*Sampling Rate: P922X_TIMEBASE/20000 = 4K Hz*/ - U16 RDBuffer0[AI_COUNT]; /*Buffer to be setup*/ - U16 RDBuffer1[AI_COUNT]; /*Buffer to be setup*/ - U32 AI_ReadCount = AI_COUNT; /*AI read count per one buffer*/ - U16 BufferId0; - U16 BufferId1; - U16 NumChans = CHANNELCOUNT; /*AI Channel Counts to be read*/ - U16 Chans[CHANNELCOUNT]; /*AI Channels array*/ - U16 AdRanges[CHANNELCOUNT]; /*AI Ranges array*/ - BOOLEAN Stopped; - BOOLEAN HalfReady; - U32 AccessCnt = 0; - U16 BufIdx = 0; - U8 FileName[] = "ai_data"; - U32 i, j; - /*--------------------------------*/ - - memset(RDBuffer0, '\0', AI_COUNT*sizeof(U16)); - memset(RDBuffer1, '\0', AI_COUNT*sizeof(U16)); - /*randon 4 channels*/ - srand(time(NULL)); - i = 0; - do{ - Chans[i] = rand()%16; - for(j=0; j - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/C9222_Calibration/calibration.c b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/C9222_Calibration/calibration.c deleted file mode 100644 index a25cc38..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/C9222_Calibration/calibration.c +++ /dev/null @@ -1,67 +0,0 @@ -/*----------------------------------------------------------------------------*/ -/* Company : ADLINK */ -/* Date : 2008/07/25 */ -/* */ -/* This sample performs AI/AO auto calibration for PCI-9222. */ -/* There are two EEPROM banks, default bank and user bank, to store AI/AO */ -/* calibration constants. The driver loads calibration constants and writes */ -/* them to ADC/DAC during the period of driver loaded. */ -/* User can use PCI_DB_Auto_Calibration_ALL() to perform auto calibration, */ -/* and those auto calibration constants will be written to ADC/DAC */ -/* automatically. Then, User can use PCI_EEPROM_CAL_Constant_Update() to */ -/* store the auto calibration constants to user bank of EEPROM. */ -/* PCI_Load_CAL_Data() is used to load the calibration constants from default */ -/* or user bank of EEPROM to ADC/DAC. */ -/*----------------------------------------------------------------------------*/ -#include -#include -#include -#include -#include "dask64.h" - -int main(int argc, char **argv) -{ - I16 card, err; - U16 card_num; - U8 fWriteEE; - - printf("The sample performs AI/AO auto calibration.\n"); - - printf("Card Number: "); - scanf(" %hd", &card_num); - card = Register_Card(PCI_9222, card_num); - if(card<0){ - printf("Register_Card Error: %d\n", card); - exit(1); - } - - printf("Press any key to start AI/AO auto calibration.\n"); - getch(); - printf("Auto Calibration is performing... It will take some minites...\n"); - err = PCI_DB_Auto_Calibration_ALL(card); - if(err<0){ - printf("Auto Calibration Error: %d\n", err); - Release_Card(card); - exit(1); - } - printf("\nAuto Calibration is done...\n"); - - printf("\nStore the auto calibration constants to EEPROM?\n"); - printf("Press 'Y' to store them to EEPROM, and others to exit.\n"); - fWriteEE = getch(); - if((fWriteEE=='Y')||(fWriteEE=='y')){ - printf("Store auto calibration constants to user bank of EEPROM...\n"); - err = PCI_EEPROM_CAL_Constant_Update(card, EEPROM_USER_BANK1); - if(err<0){ - printf("Save Calibration Constants to EEProm Error: %d\n", err); - Release_Card(card); - exit(1); - } - printf("\nAuto calibration constants are stored to EEPROM completely.\n"); - } - - printf("\nPress any key to exit...\n"); - getch(); - Release_Card(card); - return 0; -} diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/C9222_Calibration/calibration.sln b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/C9222_Calibration/calibration.sln deleted file mode 100644 index 46d35ce..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/C9222_Calibration/calibration.sln +++ /dev/null @@ -1,20 +0,0 @@ - -Microsoft Visual Studio Solution File, Format Version 10.00 -# Visual Studio 2008 -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "calibration", "calibration.vcproj", "{B5074F91-F38B-4191-85B7-9D8E561D76D1}" -EndProject -Global - GlobalSection(SolutionConfigurationPlatforms) = preSolution - Debug|x64 = Debug|x64 - Release|x64 = Release|x64 - EndGlobalSection - GlobalSection(ProjectConfigurationPlatforms) = postSolution - {B5074F91-F38B-4191-85B7-9D8E561D76D1}.Debug|x64.ActiveCfg = Debug|x64 - {B5074F91-F38B-4191-85B7-9D8E561D76D1}.Debug|x64.Build.0 = Debug|x64 - {B5074F91-F38B-4191-85B7-9D8E561D76D1}.Release|x64.ActiveCfg = Release|x64 - {B5074F91-F38B-4191-85B7-9D8E561D76D1}.Release|x64.Build.0 = Release|x64 - EndGlobalSection - GlobalSection(SolutionProperties) = preSolution - HideSolutionNode = FALSE - EndGlobalSection -EndGlobal diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/C9222_Calibration/calibration.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/C9222_Calibration/calibration.suo deleted file mode 100644 index 69137a7..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/C9222_Calibration/calibration.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/C9222_Calibration/calibration.vcproj b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/C9222_Calibration/calibration.vcproj deleted file mode 100644 index 4068c8e..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/C9222_Calibration/calibration.vcproj +++ /dev/null @@ -1,247 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222/CardIDDlg.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222/CardIDDlg.cpp deleted file mode 100644 index 522ba49..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222/CardIDDlg.cpp +++ /dev/null @@ -1,65 +0,0 @@ -// CardIDDlg.cpp : implementation file -// - -#include "stdafx.h" -#include "Util9222.h" -#include "CardIDDlg.h" - -// CCardIDDlg dialog - -IMPLEMENT_DYNAMIC(CCardIDDlg, CDialog) - -CCardIDDlg::CCardIDDlg(int nCardIdx, CWnd* pParent /*=NULL*/) - : CDialog(CCardIDDlg::IDD, pParent) -{ - m_nCardIdx = nCardIdx; -} - -CCardIDDlg::~CCardIDDlg() -{ -} - -void CCardIDDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); - DDX_Control(pDX, IDC_COMBO_CARDID, m_cbCardID); -} - - -BEGIN_MESSAGE_MAP(CCardIDDlg, CDialog) -// ON_CBN_SELCHANGE(IDC_COMBO_CARDID, &CCardIDDlg::OnCbnSelchangeComboCardid) -ON_BN_CLICKED(IDOK, &CCardIDDlg::OnBnClickedOk) -//ON_WM_CTLCOLOR() -END_MESSAGE_MAP() - - -// CCardIDDlg message handlers - - -void CCardIDDlg::OnBnClickedOk() -{ - // TODO: Add your control notification handler code here - -// UpdateData(TRUE); - m_nCardIdx = m_cbCardID.GetCurSel(); - - OnOK(); -} - -BOOL CCardIDDlg::OnInitDialog() -{ - CDialog::OnInitDialog(); - - // TODO: Add extra initialization here - m_cbCardID.SetCurSel( m_nCardIdx ); - - return TRUE; // return TRUE unless you set the focus to a control - // EXCEPTION: OCX Property Pages should return FALSE -} - -// the function to get the selected CardID -int CCardIDDlg::GetCardID(void) -{ - return m_nCardIdx; -} - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222/CardIDDlg.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222/CardIDDlg.h deleted file mode 100644 index 9c02c58..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222/CardIDDlg.h +++ /dev/null @@ -1,32 +0,0 @@ -#pragma once -#include "afxwin.h" - -#include "Dask64.h" - -// CCardIDDlg dialog - -class CCardIDDlg : public CDialog -{ - DECLARE_DYNAMIC(CCardIDDlg) - -public: - CCardIDDlg(int nCardIdx, CWnd* pParent = NULL); // standard constructor - virtual ~CCardIDDlg(); - -// Dialog Data - enum { IDD = IDD_CARDID_DIALOG }; - -protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - - DECLARE_MESSAGE_MAP() -public: - virtual BOOL OnInitDialog(); - afx_msg void OnBnClickedOk(); - // the setting of CardID ComboBox - int m_nCardIdx; - // the control of CardID ComboBox - CComboBox m_cbCardID; - // the function to get the selected CardID - int GetCardID(void); -}; diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222/ReadMe.txt b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222/ReadMe.txt deleted file mode 100644 index bc6b806..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222/ReadMe.txt +++ /dev/null @@ -1,93 +0,0 @@ -================================================================================ - MICROSOFT FOUNDATION CLASS LIBRARY : Util9222 Project Overview -=============================================================================== - -The application wizard has created this Util9222 application for -you. This application not only demonstrates the basics of using the Microsoft -Foundation Classes but is also a starting point for writing your application. - -This file contains a summary of what you will find in each of the files that -make up your Util9222 application. - -Util9222.vcproj - This is the main project file for VC++ projects generated using an application wizard. - It contains information about the version of Visual C++ that generated the file, and - information about the platforms, configurations, and project features selected with the - application wizard. - -Util9222.h - This is the main header file for the application. It includes other - project specific headers (including Resource.h) and declares the - CUtil9222App application class. - -Util9222.cpp - This is the main application source file that contains the application - class CUtil9222App. - -Util9222.rc - This is a listing of all of the Microsoft Windows resources that the - program uses. It includes the icons, bitmaps, and cursors that are stored - in the RES subdirectory. This file can be directly edited in Microsoft - Visual C++. Your project resources are in 1033. - -res\Util9222.ico - This is an icon file, which is used as the application's icon. This - icon is included by the main resource file Util9222.rc. - -res\Util9222.rc2 - This file contains resources that are not edited by Microsoft - Visual C++. You should place all resources not editable by - the resource editor in this file. - - -///////////////////////////////////////////////////////////////////////////// - -The application wizard creates one dialog class: - -Util9222Dlg.h, Util9222Dlg.cpp - the dialog - These files contain your CUtil9222Dlg class. This class defines - the behavior of your application's main dialog. The dialog's template is - in Util9222.rc, which can be edited in Microsoft Visual C++. - - -///////////////////////////////////////////////////////////////////////////// - -Other Features: - -ActiveX Controls - The application includes support to use ActiveX controls. - -///////////////////////////////////////////////////////////////////////////// - -Other standard files: - -StdAfx.h, StdAfx.cpp - These files are used to build a precompiled header (PCH) file - named Util9222.pch and a precompiled types file named StdAfx.obj. - -Resource.h - This is the standard header file, which defines new resource IDs. - Microsoft Visual C++ reads and updates this file. - -Util9222.manifest - Application manifest files are used by Windows XP to describe an applications - dependency on specific versions of Side-by-Side assemblies. The loader uses this - information to load the appropriate assembly from the assembly cache or private - from the application. The Application manifest maybe included for redistribution - as an external .manifest file that is installed in the same folder as the application - executable or it may be included in the executable in the form of a resource. -///////////////////////////////////////////////////////////////////////////// - -Other notes: - -The application wizard uses "TODO:" to indicate parts of the source code you -should add to or customize. - -If your application uses MFC in a shared DLL, you will need -to redistribute the MFC DLLs. If your application is in a language -other than the operating system's locale, you will also have to -redistribute the corresponding localized resources MFC90XXX.DLL. -For more information on both of these topics, please see the section on -redistributing Visual C++ applications in MSDN documentation. - -///////////////////////////////////////////////////////////////////////////// diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222/Util9111.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222/Util9111.suo deleted file mode 100644 index 6b7218e..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222/Util9111.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222/Util9221.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222/Util9221.suo deleted file mode 100644 index 4e61ea9..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222/Util9221.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222/Util9222.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222/Util9222.cpp deleted file mode 100644 index aea1a30..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222/Util9222.cpp +++ /dev/null @@ -1,111 +0,0 @@ - -// Util9222.cpp : Defines the class behaviors for the application. -// - -#include "stdafx.h" -#include "Util9222.h" -#include "Util9222Dlg.h" -#include "CardIDDlg.h" - -#ifdef _DEBUG -#define new DEBUG_NEW -#endif - - -// CUtil9222App - -BEGIN_MESSAGE_MAP(CUtil9222App, CWinAppEx) - ON_COMMAND(ID_HELP, &CWinApp::OnHelp) -END_MESSAGE_MAP() - - -// CUtil9222App construction - -CUtil9222App::CUtil9222App() -{ - // TODO: add construction code here, - // Place all significant initialization in InitInstance -} - - -// The one and only CUtil9222App object - -CUtil9222App theApp; - - -// CUtil9222App initialization - -BOOL CUtil9222App::InitInstance() -{ - int nCardID = 0; - I16 hCard; - CString strTemp; - INT_PTR nResponse; - - // InitCommonControlsEx() is required on Windows XP if an application - // manifest specifies use of ComCtl32.dll version 6 or later to enable - // visual styles. Otherwise, any window creation will fail. - INITCOMMONCONTROLSEX InitCtrls; - InitCtrls.dwSize = sizeof(InitCtrls); - // Set this to include all the common control classes you want to use - // in your application. - InitCtrls.dwICC = ICC_WIN95_CLASSES; - InitCommonControlsEx(&InitCtrls); - - CWinAppEx::InitInstance(); - - AfxEnableControlContainer(); - - // Standard initialization - // If you are not using these features and wish to reduce the size - // of your final executable, you should remove from the following - // the specific initialization routines you do not need - // Change the registry key under which our settings are stored - // TODO: You should modify this string to be something appropriate - // such as the name of your company or organization - SetRegistryKey(_T("Local AppWizard-Generated Applications")); - - CCardIDDlg CardDlg( nCardID ); - - nResponse = CardDlg.DoModal(); - if (nResponse == IDOK) - { - nCardID = CardDlg.GetCardID(); - - if ((hCard=Register_Card(PCI_9222, nCardID)) < 0) - { - strTemp.Format( TEXT("Register_Card Error = %d"), hCard); - AfxMessageBox( strTemp ); - } - else - { - CUtil9222Dlg dlg(hCard); - m_pMainWnd = &dlg; - nResponse = dlg.DoModal(); - if (nResponse == IDOK) - { - // TODO: Place code here to handle when the dialog is - // dismissed with OK - } - else if (nResponse == IDCANCEL) - { - // TODO: Place code here to handle when the dialog is - // dismissed with Cancel - } - - if (hCard >= 0) Release_Card(hCard); - } - - } - else if (nResponse == IDCANCEL) - { - // TODO: Place code here to handle when the dialog is - // dismissed with Cancel - } - - - - // Since the dialog has been closed, return FALSE so that we exit the - // application, rather than start the application's message pump. - return FALSE; -} diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222/Util9222.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222/Util9222.h deleted file mode 100644 index ca6f010..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222/Util9222.h +++ /dev/null @@ -1,32 +0,0 @@ - -// Util9222.h : main header file for the PROJECT_NAME application -// - -#pragma once - -#ifndef __AFXWIN_H__ - #error "include 'stdafx.h' before including this file for PCH" -#endif - -#include "resource.h" // main symbols - - -// CUtil9222App: -// See Util9222.cpp for the implementation of this class -// - -class CUtil9222App : public CWinAppEx -{ -public: - CUtil9222App(); - -// Overrides - public: - virtual BOOL InitInstance(); - -// Implementation - - DECLARE_MESSAGE_MAP() -}; - -extern CUtil9222App theApp; \ No newline at end of file diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222/Util9222.rc b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222/Util9222.rc deleted file mode 100644 index 8febdd2..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222/Util9222.rc +++ /dev/null @@ -1,362 +0,0 @@ -// Microsoft Visual C++ generated resource script. -// -#include "resource.h" - -#define APSTUDIO_READONLY_SYMBOLS -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 2 resource. -// -#ifndef APSTUDIO_INVOKED -#include "targetver.h" -#endif -#include "afxres.h" - -///////////////////////////////////////////////////////////////////////////// -#undef APSTUDIO_READONLY_SYMBOLS - -///////////////////////////////////////////////////////////////////////////// -// Chinese (Taiwan) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_CHT) -#ifdef _WIN32 -LANGUAGE LANG_CHINESE, SUBLANG_CHINESE_TRADITIONAL -#pragma code_page(950) -#endif //_WIN32 - -#ifdef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// TEXTINCLUDE -// - -1 TEXTINCLUDE -BEGIN - "resource.h\0" -END - -2 TEXTINCLUDE -BEGIN - "#ifndef APSTUDIO_INVOKED\r\n" - "#include ""targetver.h""\r\n" - "#endif\r\n" - "#include ""afxres.h""\r\n" - "\0" -END - -3 TEXTINCLUDE -BEGIN - "#define _AFX_NO_SPLITTER_RESOURCES\r\n" - "#define _AFX_NO_OLE_RESOURCES\r\n" - "#define _AFX_NO_TRACKER_RESOURCES\r\n" - "#define _AFX_NO_PROPERTY_RESOURCES\r\n" - "\r\n" - "#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)\r\n" - "LANGUAGE 9, 1\r\n" - "#pragma code_page(1252)\r\n" - "#include ""res\\Util9222.rc2"" // non-Microsoft Visual C++ edited resources\r\n" - "#include ""afxres.rc"" // Standard components\r\n" - "#endif\r\n" - "\0" -END - -#endif // APSTUDIO_INVOKED - -#endif // Chinese (Taiwan) resources -///////////////////////////////////////////////////////////////////////////// - - -///////////////////////////////////////////////////////////////////////////// -// English (U.S.) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -#ifdef _WIN32 -LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US -#pragma code_page(1252) -#endif //_WIN32 - -///////////////////////////////////////////////////////////////////////////// -// -// Icon -// - -// Icon with lowest ID value placed first to ensure application icon -// remains consistent on all systems. -IDR_MAINFRAME ICON "res\\Util9222.ico" -IDI_ICON_BLACK ICON "res\\black.ico" -IDI_ICON_RED ICON "res\\red.ico" - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog -// - -IDD_ABOUTBOX DIALOGEX 0, 0, 170, 62 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "About Util9222" -FONT 8, "MS Shell Dlg", 0, 0, 0x1 -BEGIN - ICON IDR_MAINFRAME,IDC_STATIC,14,14,21,20 - LTEXT "Util9222, Version 1.0",IDC_STATIC,42,14,114,8,SS_NOPREFIX - LTEXT "Copyright (C) 2010",IDC_STATIC,42,26,114,8 - DEFPUSHBUTTON "OK",IDOK,113,41,50,14,WS_GROUP -END - -IDD_UTIL9222_DIALOG DIALOGEX 0, 0, 345, 249 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU -EXSTYLE WS_EX_APPWINDOW -CAPTION "PCI-9222" -FONT 8, "MS Shell Dlg", 0, 0, 0x1 -BEGIN - ICON IDI_ICON_BLACK,IDC_ICON_DI00,312,199,20,20 - ICON IDI_ICON_BLACK,IDC_ICON_DI01,294,199,20,20 - ICON IDI_ICON_BLACK,IDC_ICON_DI02,276,199,20,20 - ICON IDI_ICON_BLACK,IDC_ICON_DI03,258,199,20,20 - ICON IDI_ICON_BLACK,IDC_ICON_DI04,240,199,20,20 - ICON IDI_ICON_BLACK,IDC_ICON_DI05,222,199,20,20 - ICON IDI_ICON_BLACK,IDC_ICON_DI06,204,199,20,20 - ICON IDI_ICON_BLACK,IDC_ICON_DI07,186,199,20,20 - ICON IDI_ICON_BLACK,IDC_ICON_DI08,167,199,20,20 - ICON IDI_ICON_BLACK,IDC_ICON_DI09,149,199,20,20 - ICON IDI_ICON_BLACK,IDC_ICON_DI10,131,199,20,20 - ICON IDI_ICON_BLACK,IDC_ICON_DI11,113,199,20,20 - ICON IDI_ICON_BLACK,IDC_ICON_DI12,95,199,20,20 - ICON IDI_ICON_BLACK,IDC_ICON_DI13,77,199,20,20 - ICON IDI_ICON_BLACK,IDC_ICON_DI14,59,199,20,20 - ICON IDI_ICON_BLACK,IDC_ICON_DI15,41,199,20,20 - CONTROL "",IDC_CHECK_DO00,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE | WS_TABSTOP,317,225,12,12 - CONTROL "",IDC_CHECK_DO01,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE | WS_TABSTOP,299,225,12,12 - CONTROL "",IDC_CHECK_DO02,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE | WS_TABSTOP,281,225,12,12 - CONTROL "",IDC_CHECK_DO03,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE | WS_TABSTOP,263,225,12,12 - CONTROL "",IDC_CHECK_DO04,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE | WS_TABSTOP,246,225,12,12 - CONTROL "",IDC_CHECK_DO05,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE | WS_TABSTOP,228,225,12,12 - CONTROL "",IDC_CHECK_DO06,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE | WS_TABSTOP,210,225,12,12 - CONTROL "",IDC_CHECK_DO07,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE | WS_TABSTOP,192,225,12,12 - CONTROL "",IDC_CHECK_DO08,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE | WS_TABSTOP,174,225,12,12 - CONTROL "",IDC_CHECK_DO09,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE | WS_TABSTOP,156,225,12,12 - CONTROL "",IDC_CHECK_DO10,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE | WS_TABSTOP,138,225,12,12 - CONTROL "",IDC_CHECK_DO11,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE | WS_TABSTOP,120,225,12,12 - CONTROL "",IDC_CHECK_DO12,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE | WS_TABSTOP,102,225,12,12 - CONTROL "",IDC_CHECK_DO13,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE | WS_TABSTOP,84,225,12,12 - CONTROL "",IDC_CHECK_DO14,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE | WS_TABSTOP,66,225,12,12 - CONTROL "",IDC_CHECK_DO15,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE | WS_TABSTOP,48,225,12,12 - SCROLLBAR IDC_SCROLLBAR1,128,181,162,12 - GROUPBOX "",IDC_STATIC_DRAW0,45,9,213,75,NOT WS_VISIBLE - GROUPBOX "",IDC_STATIC_DRAW1,45,90,213,75,NOT WS_VISIBLE - CONTROL 132,IDC_STATIC,"Static",SS_BITMAP,289,20,9,44 - CONTROL "0",IDC_RADIO_CH0,"Button",BS_AUTOCHECKBOX | BS_LEFTTEXT | BS_PUSHLIKE,268,21,17,10 - CONTROL "1",IDC_RADIO_CH1,"Button",BS_AUTOCHECKBOX | BS_LEFTTEXT | BS_PUSHLIKE,268,32,17,10 - CONTROL "2",IDC_RADIO_CH2,"Button",BS_AUTOCHECKBOX | BS_LEFTTEXT | BS_PUSHLIKE,268,43,17,10 - CONTROL "3",IDC_RADIO_CH3,"Button",BS_AUTOCHECKBOX | BS_LEFTTEXT | BS_PUSHLIKE,268,54,17,10 - CONTROL "4",IDC_RADIO_CH4,"Button",BS_AUTOCHECKBOX | BS_LEFTTEXT | BS_PUSHLIKE,303,21,17,10 - CONTROL "5",IDC_RADIO_CH5,"Button",BS_AUTOCHECKBOX | BS_LEFTTEXT | BS_PUSHLIKE,303,32,17,10 - CONTROL "6",IDC_RADIO_CH6,"Button",BS_AUTOCHECKBOX | BS_LEFTTEXT | BS_PUSHLIKE,303,43,17,10 - CONTROL "7",IDC_RADIO_CH7,"Button",BS_AUTOCHECKBOX | BS_LEFTTEXT | BS_PUSHLIKE,303,54,17,10 - CONTROL 132,IDC_STATIC,"Static",SS_BITMAP,288,111,9,44 - CONTROL 133,IDC_STATIC,"Static",SS_BITMAP,321,111,11,45 - CONTROL "8",IDC_RADIO_CH8,"Button",BS_AUTOCHECKBOX | BS_LEFTTEXT | BS_PUSHLIKE,266,112,17,10 - CONTROL "9",IDC_RADIO_CH9,"Button",BS_AUTOCHECKBOX | BS_LEFTTEXT | BS_PUSHLIKE,266,123,17,10 - CONTROL "10",IDC_RADIO_CH10,"Button",BS_AUTOCHECKBOX | BS_LEFTTEXT | BS_PUSHLIKE,266,134,17,10 - CONTROL "11",IDC_RADIO_CH11,"Button",BS_AUTOCHECKBOX | BS_LEFTTEXT | BS_PUSHLIKE,266,146,17,10 - CONTROL "12",IDC_RADIO_CH12,"Button",BS_AUTOCHECKBOX | BS_LEFTTEXT | BS_PUSHLIKE,302,112,17,10 - CONTROL "13",IDC_RADIO_CH13,"Button",BS_AUTOCHECKBOX | BS_LEFTTEXT | BS_PUSHLIKE,302,123,17,10 - CONTROL "14",IDC_RADIO_CH14,"Button",BS_AUTOCHECKBOX | BS_LEFTTEXT | BS_PUSHLIKE,302,134,17,10 - CONTROL "15",IDC_RADIO_CH15,"Button",BS_AUTOCHECKBOX | BS_LEFTTEXT | BS_PUSHLIKE,302,146,17,10 - CONTROL 133,IDC_STATIC,"Static",SS_BITMAP,322,20,11,45 - COMBOBOX IDC_COMBO_AI_RANGE,266,89,67,13,CBS_DROPDOWN | WS_VSCROLL | WS_TABSTOP - LTEXT "Input Range",IDC_STATIC,265,75,45,12 - LTEXT "-10 0 10",IDC_STATIC,131,169,159,12 - LTEXT "AO Channel",IDC_STATIC,39,180,41,13 - EDITTEXT IDC_EDIT_AO,298,180,29,14,ES_AUTOHSCROLL | ES_READONLY - COMBOBOX IDC_COMBO_AO_CHANNEL,84,179,35,14,CBS_DROPDOWN | WS_VSCROLL | WS_TABSTOP -END - -IDD_CARDID_DIALOG DIALOGEX 0, 0, 165, 102 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "Card ID" -FONT 8, "MS Shell Dlg", 400, 0, 0x1 -BEGIN - COMBOBOX IDC_COMBO_CARDID,75,24,71,126,CBS_DROPDOWN | WS_VSCROLL | WS_TABSTOP - LTEXT "Card Number",IDC_STATIC_01,21,25,46,12 - PUSHBUTTON "OK",IDOK,23,61,58,19 - PUSHBUTTON "CANCEL",IDCANCEL,87,61,58,19 -END - - -///////////////////////////////////////////////////////////////////////////// -// -// Version -// - -VS_VERSION_INFO VERSIONINFO - FILEVERSION 1,0,0,1 - PRODUCTVERSION 1,0,0,1 - FILEFLAGSMASK 0x3fL -#ifdef _DEBUG - FILEFLAGS 0x1L -#else - FILEFLAGS 0x0L -#endif - FILEOS 0x4L - FILETYPE 0x1L - FILESUBTYPE 0x0L -BEGIN - BLOCK "StringFileInfo" - BEGIN - BLOCK "040904e4" - BEGIN - VALUE "CompanyName", "TODO: " - VALUE "FileDescription", "TODO: " - VALUE "FileVersion", "1.0.0.1" - VALUE "InternalName", "Util9222.exe" - VALUE "LegalCopyright", "TODO: (c) . All rights reserved." - VALUE "OriginalFilename", "Util9222.exe" - VALUE "ProductName", "TODO: " - VALUE "ProductVersion", "1.0.0.1" - END - END - BLOCK "VarFileInfo" - BEGIN - VALUE "Translation", 0x409, 1252 - END -END - - -///////////////////////////////////////////////////////////////////////////// -// -// DESIGNINFO -// - -#ifdef APSTUDIO_INVOKED -GUIDELINES DESIGNINFO -BEGIN - IDD_ABOUTBOX, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 163 - TOPMARGIN, 7 - BOTTOMMARGIN, 55 - END - - IDD_UTIL9222_DIALOG, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 338 - TOPMARGIN, 7 - BOTTOMMARGIN, 242 - END - - IDD_CARDID_DIALOG, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 158 - TOPMARGIN, 6 - BOTTOMMARGIN, 95 - END -END -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// Bitmap -// - -IDB_BITMAP_SET1 BITMAP "res\\ch_set1.bmp" -IDB_BITMAP_SET2 BITMAP "res\\ch_set2.bmp" - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog Info -// - -IDD_UTIL9222_DIALOG DLGINIT -BEGIN - IDC_COMBO_AI_RANGE, 0x403, 8, 0 -0x2f2b, 0x202d, 0x3031, 0x0056, - IDC_COMBO_AI_RANGE, 0x403, 6, 0 -0x2f2b, 0x352d, 0x0056, - IDC_COMBO_AI_RANGE, 0x403, 9, 0 -0x2f2b, 0x202d, 0x2e32, 0x5635, "\000" - IDC_COMBO_AI_RANGE, 0x403, 6, 0 -0x2f2b, 0x322d, 0x0056, - IDC_COMBO_AO_CHANNEL, 0x403, 4, 0 -0x4941, 0x0030, - IDC_COMBO_AO_CHANNEL, 0x403, 4, 0 -0x4941, 0x0031, - 0 -END - -IDD_CARDID_DIALOG DLGINIT -BEGIN - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0030, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0031, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0032, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0033, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0034, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0035, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0036, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0037, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0038, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0039, - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3031, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3131, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3231, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3331, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3431, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3531, "\000" - 0 -END - - -///////////////////////////////////////////////////////////////////////////// -// -// String Table -// - -STRINGTABLE -BEGIN - IDS_ABOUTBOX "&About Util9222..." -END - -#endif // English (U.S.) resources -///////////////////////////////////////////////////////////////////////////// - - - -#ifndef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 3 resource. -// -#define _AFX_NO_SPLITTER_RESOURCES -#define _AFX_NO_OLE_RESOURCES -#define _AFX_NO_TRACKER_RESOURCES -#define _AFX_NO_PROPERTY_RESOURCES - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -LANGUAGE 9, 1 -#pragma code_page(1252) -#include "res\Util9222.rc2" // non-Microsoft Visual C++ edited resources -#include "afxres.rc" // Standard components -#endif - -///////////////////////////////////////////////////////////////////////////// -#endif // not APSTUDIO_INVOKED - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222/Util9222.sln b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222/Util9222.sln deleted file mode 100644 index 95d5558..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222/Util9222.sln +++ /dev/null @@ -1,20 +0,0 @@ - -Microsoft Visual Studio Solution File, Format Version 10.00 -# Visual Studio 2008 -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "Util9222", "Util9222.vcproj", "{EA91AA3F-533F-4BE6-8BD6-78C091590751}" -EndProject -Global - GlobalSection(SolutionConfigurationPlatforms) = preSolution - Debug|x64 = Debug|x64 - Release|x64 = Release|x64 - EndGlobalSection - GlobalSection(ProjectConfigurationPlatforms) = postSolution - {EA91AA3F-533F-4BE6-8BD6-78C091590751}.Debug|x64.ActiveCfg = Debug|x64 - {EA91AA3F-533F-4BE6-8BD6-78C091590751}.Debug|x64.Build.0 = Debug|x64 - {EA91AA3F-533F-4BE6-8BD6-78C091590751}.Release|x64.ActiveCfg = Release|x64 - {EA91AA3F-533F-4BE6-8BD6-78C091590751}.Release|x64.Build.0 = Release|x64 - EndGlobalSection - GlobalSection(SolutionProperties) = preSolution - HideSolutionNode = FALSE - EndGlobalSection -EndGlobal diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222/Util9222.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222/Util9222.suo deleted file mode 100644 index ebbe790..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222/Util9222.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222/Util9222.vcproj b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222/Util9222.vcproj deleted file mode 100644 index 938fa7d..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222/Util9222.vcproj +++ /dev/null @@ -1,306 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222/Util9222Dlg.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222/Util9222Dlg.cpp deleted file mode 100644 index a906be0..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222/Util9222Dlg.cpp +++ /dev/null @@ -1,1487 +0,0 @@ - -// Util9222Dlg.cpp : implementation file -// - -#include "stdafx.h" -#include "Util9222.h" -#include "Util9222Dlg.h" - -#ifdef _DEBUG -#define new DEBUG_NEW -#endif - -CRect plotRect0, plotRect1; - - -// CAboutDlg dialog used for App About - -class CAboutDlg : public CDialog -{ -public: - CAboutDlg(); - -// Dialog Data - enum { IDD = IDD_ABOUTBOX }; - - protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - -// Implementation -protected: - DECLARE_MESSAGE_MAP() -}; - -CAboutDlg::CAboutDlg() : CDialog(CAboutDlg::IDD) -{ -} - -void CAboutDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); -} - -BEGIN_MESSAGE_MAP(CAboutDlg, CDialog) -END_MESSAGE_MAP() - - -// CUtil9222Dlg dialog - - - - -CUtil9222Dlg::CUtil9222Dlg(I16 hCard, CWnd* pParent /*=NULL*/) - : CDialog(CUtil9222Dlg::IDD, pParent) -{ - m_hIcon = AfxGetApp()->LoadIcon(IDR_MAINFRAME); - - m_hCard = hCard; - - n_PlotWidth = n_PlotHeight = -1; - OnBrush = OffBrush = NULL; - - min_val = 0x00; - max_val = 0xFFFF; - - for( int i=0; iAppendMenu(MF_SEPARATOR); - pSysMenu->AppendMenu(MF_STRING, IDM_ABOUTBOX, strAboutMenu); - } - } - - // Set the icon for this dialog. The framework does this automatically - // when the application's main window is not a dialog - SetIcon(m_hIcon, TRUE); // Set big icon - SetIcon(m_hIcon, FALSE); // Set small icon - - x_divider = 5; y_divider = 2; - - OnBrush = CreateSolidBrush( RGB(255,0,0) ); - OffBrush = CreateSolidBrush( RGB(125,0,0) ); - - RedPen.CreatePen( PS_SOLID, 1, RGB(255,0,0)); - GreenPen.CreatePen( PS_SOLID, 1, RGB(0,255,0)); - YellowPen.CreatePen( PS_SOLID, 1, RGB(255,255,0)); - BluePen.CreatePen( PS_SOLID, 1, RGB(0,0,255)); - LTBluePen.CreatePen( PS_SOLID, 1, RGB(0,128,255)); - LTRedPen.CreatePen( PS_SOLID, 1, RGB(255,128,0)); - LTGreenPen.CreatePen( PS_SOLID, 1, RGB(0,128,0)); - WhitePen.CreatePen( PS_SOLID, 1, RGB(255,255,255)); - - - if( n_PlotWidth == -1 && n_PlotHeight == -1 ) - { - ((CWnd*)GetDlgItem(IDC_STATIC_DRAW0))->GetWindowRect(&plotRect0); - ScreenToClient(&plotRect0); - - n_PlotWidth = min( plotRect0.Width(), 512); - // n_PlotHeight = plotRect0.Height() - 10; - n_PlotHeight = plotRect0.Height(); - - ((CWnd*)GetDlgItem(IDC_STATIC_DRAW1))->GetWindowRect(&plotRect1); - ScreenToClient(&plotRect1); - } - - - // TODO: Add extra initialization here - info.cbSize = sizeof(SCROLLINFO); - info.fMask = SIF_ALL; - info.nMin = 0; - info.nMax = 4096; - info.nPage = 2; - info.nPos = 0; - info.nTrackPos = 2; - m_scBarAO.SetScrollInfo(&info); - m_nAOValue = 0; - - m_cbAIRange.SetCurSel( 0 ); - max_range = 10.0; - min_range = -10.0; - m_wAdRange = AD_B_10_V; - - m_cbAOChannel.SetCurSel( 0 ); - m_wAOChannel = 0; - - m_nTimer = SetTimer( 1, 100, NULL ); - - return TRUE; // return TRUE unless you set the focus to a control -} - -void CUtil9222Dlg::OnSysCommand(UINT nID, LPARAM lParam) -{ - if ((nID & 0xFFF0) == IDM_ABOUTBOX) - { - CAboutDlg dlgAbout; - dlgAbout.DoModal(); - } - else - { - CDialog::OnSysCommand(nID, lParam); - } -} - -// If you add a minimize button to your dialog, you will need the code below -// to draw the icon. For MFC applications using the document/view model, -// this is automatically done for you by the framework. - -void CUtil9222Dlg::OnPaint() -{ - if (IsIconic()) - { - CPaintDC dc(this); // device context for painting - - SendMessage(WM_ICONERASEBKGND, reinterpret_cast(dc.GetSafeHdc()), 0); - - // Center icon in client rectangle - int cxIcon = GetSystemMetrics(SM_CXICON); - int cyIcon = GetSystemMetrics(SM_CYICON); - CRect rect; - GetClientRect(&rect); - int x = (rect.Width() - cxIcon + 1) / 2; - int y = (rect.Height() - cyIcon + 1) / 2; - - // Draw the icon - dc.DrawIcon(x, y, m_hIcon); - } - else - { - redraw_display_area(); - CDialog::OnPaint(); - } -} - -// The system calls this function to obtain the cursor to display while the user drags -// the minimized window. -HCURSOR CUtil9222Dlg::OnQueryDragIcon() -{ - return static_cast(m_hIcon); -} - - -void CUtil9222Dlg::OnHScroll(UINT nSBCode, UINT nPos, CScrollBar* pScrollBar) -{ - // TODO: Add your message handler code here and/or call default - int minpos; - int maxpos; - double fAOValue; - CString strTmp; - - m_scBarAO.GetScrollRange(&minpos, &maxpos); - maxpos = m_scBarAO.GetScrollLimit(); - - // Get the current position of scroll box. - int curpos = m_scBarAO.GetScrollPos(); - - // Determine the new position of scroll box. - switch (nSBCode) - { - case SB_LINELEFT: // Scroll left. - if (curpos > minpos) - curpos--; - break; - - case SB_LINERIGHT: // Scroll right. - if (curpos < maxpos) - curpos++; - break; - - case SB_THUMBPOSITION: // Scroll to absolute position. nPos is the position - curpos = nPos; // of the scroll box at the end of the drag operation. - - break; - - case SB_LEFT: // Scroll to far left. - case SB_RIGHT: // Scroll to far right. - case SB_ENDSCROLL: // End scroll. - case SB_PAGELEFT: // Scroll one page left. - case SB_PAGERIGHT: // Scroll one page right. - case SB_THUMBTRACK: // Drag scroll box to specified position. nPos is the - - break; - } - - // Set the new position of the thumb (scroll box). - m_scBarAO.SetScrollPos(curpos); - - if( m_nAOValue != curpos ) - { - // update the m_nAOValue value, and output AO - m_nAOValue = curpos; - fAOValue = ( 20.0 * (double)curpos / (double)(maxpos - minpos) ) - 10.0; - strTmp.Format( TEXT("%.02f"), fAOValue ); - SetDlgItemText( IDC_EDIT_AO, strTmp ); - - AO_VWriteChannel(m_hCard, m_wAOChannel, fAOValue ); - } - - - CDialog::OnHScroll(nSBCode, nPos, pScrollBar); -} - - - -void CUtil9222Dlg::OnDestroy() -{ - CDialog::OnDestroy(); - - // TODO: Add your message handler code here - - if( m_nTimer != -1 ) - { - KillTimer( m_nTimer ); - m_nTimer = -1; - } - - if( OnBrush != NULL ) - ::DeleteObject( OnBrush ); - - if( OffBrush != NULL ) - ::DeleteObject( OffBrush ); - - RedPen.DeleteObject(); - GreenPen.DeleteObject(); - YellowPen.DeleteObject(); - BluePen.DeleteObject(); - LTBluePen.DeleteObject(); - LTRedPen.DeleteObject(); - LTGreenPen.DeleteObject(); - WhitePen.DeleteObject(); -} - -void CUtil9222Dlg::OnAIRangeSelchange() -{ - // TODO: Add your control notification handler code here - U16 tmpAdRange; - int nIndex; - double maxRange, minRange; - - nIndex = m_cbAIRange.GetCurSel(); - switch( nIndex ) - { - case 0: - tmpAdRange = AD_B_10_V; - maxRange = 10.0; - minRange = -10.0; - break; - case 1: - tmpAdRange = AD_B_5_V; - maxRange = 5.0; - minRange = -5.0; - break; - case 2: - tmpAdRange = AD_B_2_5_V; - maxRange = 2.5; - minRange = -2.5; - break; - case 3: - tmpAdRange = AD_B_2_V; - maxRange = 2.0; - minRange = -2.0; - break; - } - - - if( tmpAdRange != m_wAdRange ) - { // update m_InPortA and configure the target Port - m_wAdRange = tmpAdRange; - - max_range = maxRange; - min_range = minRange; - - redraw_display_area(); - - } - -} - -void CUtil9222Dlg::OnAOChannelSelchange() -{ - // TODO: Add your control notification handler code here - U16 tmpAOChannel; - int nIndex; - - nIndex = m_cbAOChannel.GetCurSel(); - switch( nIndex ) - { - case 0: - tmpAOChannel = 0; - break; - case 1: - tmpAOChannel = 1; - break; - } - - - if( tmpAOChannel != m_wAOChannel ) - { // update m_InPortA and configure the target Port - m_wAOChannel = tmpAOChannel; - } - -} - - - -void CUtil9222Dlg::OnAI00Enable() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_RADIO_CH0 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_AIEnable[0] = 0x01; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_AIEnable[0] = 0x00; - } -} - -void CUtil9222Dlg::OnAI01Enable() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_RADIO_CH1 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_AIEnable[1] = 0x01; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_AIEnable[1] = 0x00; - } -} - -void CUtil9222Dlg::OnAI02Enable() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_RADIO_CH2 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_AIEnable[2] = 0x01; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_AIEnable[2] = 0x00; - } -} - -void CUtil9222Dlg::OnAI03Enable() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_RADIO_CH3 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_AIEnable[3] = 0x01; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_AIEnable[3] = 0x00; - } -} - -void CUtil9222Dlg::OnAI04Enable() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_RADIO_CH4 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_AIEnable[4] = 0x01; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_AIEnable[4] = 0x00; - } -} - -void CUtil9222Dlg::OnAI05Enable() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_RADIO_CH5 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_AIEnable[5] = 0x01; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_AIEnable[5] = 0x00; - } -} - -void CUtil9222Dlg::OnAI06Enable() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_RADIO_CH6 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_AIEnable[6] = 0x01; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_AIEnable[6] = 0x00; - } -} - -void CUtil9222Dlg::OnAI07Enable() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_RADIO_CH7 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_AIEnable[7] = 0x01; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_AIEnable[7] = 0x00; - } -} - -void CUtil9222Dlg::OnAI08Enable() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_RADIO_CH8 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_AIEnable[8] = 0x01; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_AIEnable[8] = 0x00; - } -} - -void CUtil9222Dlg::OnAI09Enable() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_RADIO_CH9 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_AIEnable[9] = 0x01; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_AIEnable[9] = 0x00; - } -} - -void CUtil9222Dlg::OnAI10Enable() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_RADIO_CH10 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_AIEnable[10] = 0x01; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_AIEnable[10] = 0x00; - } -} - -void CUtil9222Dlg::OnAI11Enable() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_RADIO_CH11 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_AIEnable[11] = 0x01; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_AIEnable[11] = 0x00; - } -} - -void CUtil9222Dlg::OnAI12Enable() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_RADIO_CH12 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_AIEnable[12] = 0x01; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_AIEnable[12] = 0x00; - } -} - -void CUtil9222Dlg::OnAI13Enable() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_RADIO_CH13 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_AIEnable[13] = 0x01; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_AIEnable[13] = 0x00; - } -} - -void CUtil9222Dlg::OnAI14Enable() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_RADIO_CH14 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_AIEnable[14] = 0x01; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_AIEnable[14] = 0x00; - } -} - -void CUtil9222Dlg::OnAI15Enable() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_RADIO_CH15 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_AIEnable[15] = 0x01; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_AIEnable[15] = 0x00; - } -} - -void CUtil9222Dlg::OnDo00() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_DO00 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_OutData |= 0x01; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_OutData &= (~0x01); - } - - DO_WritePort(m_hCard, 0, m_OutData); -} - -void CUtil9222Dlg::OnDo01() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_DO01 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_OutData |= 0x02; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_OutData &= (~0x02); - } - - DO_WritePort(m_hCard, 0, m_OutData); -} - -void CUtil9222Dlg::OnDo02() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_DO02 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_OutData |= 0x04; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_OutData &= (~0x04); - } - - DO_WritePort(m_hCard, 0, m_OutData); -} - -void CUtil9222Dlg::OnDo03() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_DO03 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_OutData |= 0x08; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_OutData &= (~0x08); - } - - DO_WritePort(m_hCard, 0, m_OutData); -} - -void CUtil9222Dlg::OnDo04() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_DO04 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_OutData |= 0x10; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_OutData &= (~0x10); - } - - DO_WritePort(m_hCard, 0, m_OutData); -} - -void CUtil9222Dlg::OnDo05() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_DO05 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_OutData |= 0x20; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_OutData &= (~0x20); - } - - DO_WritePort(m_hCard, 0, m_OutData); -} - -void CUtil9222Dlg::OnDo06() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_DO06 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_OutData |= 0x40; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_OutData &= (~0x40); - } - - DO_WritePort(m_hCard, 0, m_OutData); -} - -void CUtil9222Dlg::OnDo07() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_DO07 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_OutData |= 0x80; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_OutData &= (~0x80); - } - - DO_WritePort(m_hCard, 0, m_OutData); -} - -void CUtil9222Dlg::OnDo08() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_DO08 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_OutData |= 0x100; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_OutData &= (~0x100); - } - - DO_WritePort(m_hCard, 0, m_OutData); -} - -void CUtil9222Dlg::OnDo09() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_DO09 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_OutData |= 0x200; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_OutData &= (~0x200); - } - - DO_WritePort(m_hCard, 0, m_OutData); -} - -void CUtil9222Dlg::OnDo10() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_DO10 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_OutData |= 0x400; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_OutData &= (~0x400); - } - - DO_WritePort(m_hCard, 0, m_OutData); -} - -void CUtil9222Dlg::OnDo11() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_DO11 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_OutData |= 0x800; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_OutData &= (~0x800); - } - - DO_WritePort(m_hCard, 0, m_OutData); -} - -void CUtil9222Dlg::OnDo12() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_DO12 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_OutData |= 0x1000; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_OutData &= (~0x1000); - } - - DO_WritePort(m_hCard, 0, m_OutData); -} - -void CUtil9222Dlg::OnDo13() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_DO13 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_OutData |= 0x2000; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_OutData &= (~0x2000); - } - - DO_WritePort(m_hCard, 0, m_OutData); -} - -void CUtil9222Dlg::OnDo14() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_DO14 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_OutData |= 0x4000; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_OutData &= (~0x4000); - } - - DO_WritePort(m_hCard, 0, m_OutData); -} - -void CUtil9222Dlg::OnDo15() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_DO15 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_OutData |= 0x8000; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_OutData &= (~0x8000); - } - - DO_WritePort(m_hCard, 0, m_OutData); -} - -void CUtil9222Dlg::OnTimer(UINT_PTR nIDEvent) -{ - // TODO: Add your message handler code here and/or call default - U32 dwPortData,dwChangeMask; - I16 err; - - err = DI_ReadPort(m_hCard, P9111_CHANNEL_DI, &dwPortData); - dwChangeMask = dwPortData ^ m_InData; - - if( dwChangeMask != 0x00 ) // Input had been changed - { - - m_InData = dwPortData; - - if( (dwChangeMask & 0x0001) == 0x0001 ) // if the target bit is changed - { - if( (dwPortData & 0x0001) == 0x0001 ) - { - m_Icon_IN00.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_IN00.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - - if( (dwChangeMask & 0x0002) == 0x0002 ) // if the target bit is changed - { - if( (dwPortData & 0x0002) == 0x0002 ) - { - m_Icon_IN01.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_IN01.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - if( (dwChangeMask & 0x0004) == 0x0004 ) // if the target bit is changed - { - if( (dwPortData & 0x0004) == 0x0004 ) - { - m_Icon_IN02.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_IN02.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - if( (dwChangeMask & 0x0008) == 0x0008 ) // if the target bit is changed - { - if( (dwPortData & 0x0008) == 0x0008 ) - { - m_Icon_IN03.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_IN03.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - if( (dwChangeMask & 0x0010) == 0x0010 ) // if the target bit is changed - { - if( (dwPortData & 0x0010) == 0x0010 ) - { - m_Icon_IN04.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_IN04.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - if( (dwChangeMask & 0x0020) == 0x0020 ) // if the target bit is changed - { - if( (dwPortData & 0x0020) == 0x0020 ) - { - m_Icon_IN05.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_IN05.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - if( (dwChangeMask & 0x0040) == 0x0040 ) // if the target bit is changed - { - if( (dwPortData & 0x0040) == 0x0040 ) - { - m_Icon_IN06.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_IN06.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - if( (dwChangeMask & 0x0080) == 0x0080 ) // if the target bit is changed - { - if( (dwPortData & 0x0080) == 0x0080 ) - { - m_Icon_IN07.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_IN07.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - if( (dwChangeMask & 0x0100) == 0x0100 ) // if the target bit is changed - { - if( (dwPortData & 0x0100) == 0x0100 ) - { - m_Icon_IN08.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_IN08.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - - if( (dwChangeMask & 0x0200) == 0x0200 ) // if the target bit is changed - { - if( (dwPortData & 0x0200) == 0x0200 ) - { - m_Icon_IN09.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_IN09.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - if( (dwChangeMask & 0x0400) == 0x0400 ) // if the target bit is changed - { - if( (dwPortData & 0x0400) == 0x0400 ) - { - m_Icon_IN10.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_IN10.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - if( (dwChangeMask & 0x0800) == 0x0800 ) // if the target bit is changed - { - if( (dwPortData & 0x0800) == 0x0800 ) - { - m_Icon_IN11.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_IN11.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - if( (dwChangeMask & 0x1000) == 0x1000 ) // if the target bit is changed - { - if( (dwPortData & 0x1000) == 0x1000 ) - { - m_Icon_IN12.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_IN12.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - if( (dwChangeMask & 0x2000) == 0x2000 ) // if the target bit is changed - { - if( (dwPortData & 0x2000) == 0x2000 ) - { - m_Icon_IN13.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_IN13.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - if( (dwChangeMask & 0x4000) == 0x4000 ) // if the target bit is changed - { - if( (dwPortData & 0x4000) == 0x4000 ) - { - m_Icon_IN14.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_IN14.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - if( (dwChangeMask & 0x8000) == 0x8000 ) // if the target bit is changed - { - if( (dwPortData & 0x8000) == 0x8000 ) - { - m_Icon_IN15.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_IN15.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - } - - for( int i=0; i> 16) ); // ( n_PlotHeight * ai_data / 65536) ); // ( (n_PlotHeight/2) * ai_data/32768 ) ); - - - if ( m_oldY[i] !=-1 ) - { - if( i< 8 ) - { - dc_plot.MoveTo( plotRect0.left+2, newY ); - dc_plot.LineTo( plotRect0.left+5, m_oldY[i] ); - } - else - { - dc_plot.MoveTo( plotRect1.left+2, newY ); - dc_plot.LineTo( plotRect1.left+5, m_oldY[i] ); - } - } - - m_oldY[i] = newY; - } - } - - return 0; -} diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222/Util9222Dlg.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222/Util9222Dlg.h deleted file mode 100644 index 9fa7e42..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222/Util9222Dlg.h +++ /dev/null @@ -1,131 +0,0 @@ - -// Util9222Dlg.h : header file -// - -#pragma once -#include "afxcmn.h" -#include "afxwin.h" - -#include "Dask64.h" - -#ifndef MAX_CHAN_9222 -#define MAX_CHAN_9222 16 -#endif - -// CUtil9222Dlg dialog -class CUtil9222Dlg : public CDialog -{ -// Construction -public: - CUtil9222Dlg(I16 hCard, CWnd* pParent = NULL); // standard constructor - -// Dialog Data - enum { IDD = IDD_UTIL9222_DIALOG }; - - protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - - -// Implementation -protected: - HICON m_hIcon; - UINT_PTR m_nTimer; - I16 m_hCard; - int m_nAOValue; - U16 m_wAdRange; - U16 m_wAOChannel; - U8 m_AIEnable[MAX_CHAN_9222]; - U16 m_AIData[MAX_CHAN_9222]; - U32 m_OutData; - U32 m_InData; - - // Generated message map functions - virtual BOOL OnInitDialog(); - afx_msg void OnSysCommand(UINT nID, LPARAM lParam); - afx_msg void OnPaint(); - afx_msg HCURSOR OnQueryDragIcon(); - DECLARE_MESSAGE_MAP() -public: - CScrollBar m_scBarAO; - afx_msg void OnHScroll(UINT nSBCode, UINT nPos, CScrollBar* pScrollBar); - CComboBox m_cbAIRange; - CComboBox m_cbAOChannel; - WORD max_val; - WORD min_val; - double max_range; - double min_range; - int n_PlotWidth; - int n_PlotHeight; - int y_divider; - int x_divider; - int m_DisplayScale; - int m_oldY[MAX_CHAN_9222]; - HBRUSH OnBrush; - HBRUSH OffBrush; - CPen RedPen; - CPen GreenPen; - CPen YellowPen; - CPen BluePen; - CPen LTBluePen; - CPen LTRedPen; - CPen LTGreenPen; - CPen WhitePen; - -private: - void redraw_display_area(void); -public: - afx_msg void OnDestroy(); - afx_msg void OnAIRangeSelchange(); - afx_msg void OnAOChannelSelchange(); - afx_msg void OnAI00Enable(); - afx_msg void OnAI01Enable(); - afx_msg void OnAI02Enable(); - afx_msg void OnAI03Enable(); - afx_msg void OnAI04Enable(); - afx_msg void OnAI05Enable(); - afx_msg void OnAI06Enable(); - afx_msg void OnAI07Enable(); - afx_msg void OnAI08Enable(); - afx_msg void OnAI09Enable(); - afx_msg void OnAI10Enable(); - afx_msg void OnAI11Enable(); - afx_msg void OnAI12Enable(); - afx_msg void OnAI13Enable(); - afx_msg void OnAI14Enable(); - afx_msg void OnAI15Enable(); - afx_msg void OnDo00(); - afx_msg void OnDo01(); - afx_msg void OnDo02(); - afx_msg void OnDo03(); - afx_msg void OnDo04(); - afx_msg void OnDo05(); - afx_msg void OnDo06(); - afx_msg void OnDo07(); - afx_msg void OnDo08(); - afx_msg void OnDo09(); - afx_msg void OnDo10(); - afx_msg void OnDo11(); - afx_msg void OnDo12(); - afx_msg void OnDo13(); - afx_msg void OnDo14(); - afx_msg void OnDo15(); - afx_msg void OnTimer(UINT_PTR nIDEvent); - CStatic m_Icon_IN00; - CStatic m_Icon_IN01; - CStatic m_Icon_IN02; - CStatic m_Icon_IN03; - CStatic m_Icon_IN04; - CStatic m_Icon_IN05; - CStatic m_Icon_IN06; - CStatic m_Icon_IN07; - CStatic m_Icon_IN08; - CStatic m_Icon_IN09; - CStatic m_Icon_IN10; - CStatic m_Icon_IN11; - CStatic m_Icon_IN12; - CStatic m_Icon_IN13; - CStatic m_Icon_IN14; - CStatic m_Icon_IN15; -private: - int display_buffer_data(void); -}; diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222/res/Util9222.ico b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222/res/Util9222.ico deleted file mode 100644 index d56fbcd..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222/res/Util9222.ico and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222/res/Util9222.rc2 b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222/res/Util9222.rc2 deleted file mode 100644 index 4b43b56..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222/res/Util9222.rc2 +++ /dev/null @@ -1,13 +0,0 @@ -// -// Util9111.RC2 - resources Microsoft Visual C++ does not edit directly -// - -#ifdef APSTUDIO_INVOKED -#error this file is not editable by Microsoft Visual C++ -#endif //APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// Add manually edited resources here... - -///////////////////////////////////////////////////////////////////////////// diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222/res/black.ico b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222/res/black.ico deleted file mode 100644 index b5c375f..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222/res/black.ico and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222/res/blue.ico b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222/res/blue.ico deleted file mode 100644 index 1df4b39..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222/res/blue.ico and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222/res/ch_set1.bmp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222/res/ch_set1.bmp deleted file mode 100644 index f2374ed..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222/res/ch_set1.bmp and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222/res/ch_set2.bmp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222/res/ch_set2.bmp deleted file mode 100644 index 32d0915..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222/res/ch_set2.bmp and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222/res/green.ico b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222/res/green.ico deleted file mode 100644 index d9a9fd3..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222/res/green.ico and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222/res/pink.ico b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222/res/pink.ico deleted file mode 100644 index 18bdaad..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222/res/pink.ico and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222/res/red.ico b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222/res/red.ico deleted file mode 100644 index 7644596..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222/res/red.ico and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222/res/yellow.ico b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222/res/yellow.ico deleted file mode 100644 index 3449de2..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222/res/yellow.ico and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222/resource.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222/resource.h deleted file mode 100644 index 5d9bc68..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222/resource.h +++ /dev/null @@ -1,83 +0,0 @@ -//{{NO_DEPENDENCIES}} -// Microsoft Visual C++ generated include file. -// Used by Util9222.rc -// -#define IDM_ABOUTBOX 0x0010 -#define IDD_ABOUTBOX 100 -#define IDS_ABOUTBOX 101 -#define IDD_UTIL9222_DIALOG 102 -#define IDR_MAINFRAME 128 -#define IDI_ICON_BLACK 130 -#define IDI_ICON_RED 131 -#define IDB_BITMAP_SET1 132 -#define IDB_BITMAP_SET2 133 -#define IDD_CARDID_DIALOG 135 -#define IDC_STATIC_DRAW0 1000 -#define IDC_COMBO_CARDID 1000 -#define IDC_SCROLLBAR1 1001 -#define IDC_STATIC_DRAW1 1002 -#define IDC_ICON_DI00 1003 -#define IDC_ICON_DI01 1004 -#define IDC_ICON_DI02 1005 -#define IDC_ICON_DI03 1006 -#define IDC_ICON_DI04 1007 -#define IDC_ICON_DI05 1008 -#define IDC_ICON_DI06 1009 -#define IDC_ICON_DI07 1010 -#define IDC_ICON_DI08 1011 -#define IDC_ICON_DI09 1012 -#define IDC_ICON_DI10 1013 -#define IDC_ICON_DI11 1014 -#define IDC_ICON_DI12 1015 -#define IDC_ICON_DI13 1016 -#define IDC_ICON_DI14 1017 -#define IDC_ICON_DI15 1018 -#define IDC_STATIC_01 1019 -#define IDC_STATIC_2 1020 -#define IDC_RADIO_CH0 1021 -#define IDC_RADIO_CH1 1022 -#define IDC_RADIO_CH2 1023 -#define IDC_RADIO_CH3 1024 -#define IDC_RADIO_CH4 1025 -#define IDC_RADIO_CH5 1026 -#define IDC_RADIO_CH6 1027 -#define IDC_RADIO_CH7 1028 -#define IDC_RADIO_CH8 1029 -#define IDC_RADIO_CH9 1030 -#define IDC_RADIO_CH10 1031 -#define IDC_RADIO_CH11 1032 -#define IDC_RADIO_CH12 1033 -#define IDC_RADIO_CH13 1034 -#define IDC_RADIO_CH14 1035 -#define IDC_RADIO_CH15 1036 -#define IDC_CHECK_DO00 1037 -#define IDC_CHECK_DO01 1038 -#define IDC_CHECK_DO02 1039 -#define IDC_CHECK_DO03 1040 -#define IDC_CHECK_DO04 1041 -#define IDC_CHECK_DO05 1042 -#define IDC_CHECK_DO06 1043 -#define IDC_CHECK_DO07 1044 -#define IDC_CHECK_DO08 1045 -#define IDC_CHECK_DO09 1046 -#define IDC_CHECK_DO10 1047 -#define IDC_CHECK_DO11 1048 -#define IDC_CHECK_DO12 1049 -#define IDC_CHECK_DO13 1050 -#define IDC_CHECK_DO14 1051 -#define IDC_CHECK_DO15 1052 -#define IDC_COMBO_AI_RANGE 1053 -#define IDC_EDIT_AO 1054 -#define IDC_COMBO1 1055 -#define IDC_COMBO_AO_CHANNEL 1055 - -// Next default values for new objects -// -#ifdef APSTUDIO_INVOKED -#ifndef APSTUDIO_READONLY_SYMBOLS -#define _APS_NEXT_RESOURCE_VALUE 137 -#define _APS_NEXT_COMMAND_VALUE 32771 -#define _APS_NEXT_CONTROL_VALUE 1056 -#define _APS_NEXT_SYMED_VALUE 101 -#endif -#endif diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222/stdafx.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222/stdafx.cpp deleted file mode 100644 index c8c8934..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222/stdafx.cpp +++ /dev/null @@ -1,8 +0,0 @@ - -// stdafx.cpp : source file that includes just the standard includes -// Util9111.pch will be the pre-compiled header -// stdafx.obj will contain the pre-compiled type information - -#include "stdafx.h" - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222/stdafx.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222/stdafx.h deleted file mode 100644 index 12123e2..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222/stdafx.h +++ /dev/null @@ -1,60 +0,0 @@ - -// stdafx.h : include file for standard system include files, -// or project specific include files that are used frequently, -// but are changed infrequently - -#pragma once - -#ifndef _SECURE_ATL -#define _SECURE_ATL 1 -#endif - -#ifndef VC_EXTRALEAN -#define VC_EXTRALEAN // Exclude rarely-used stuff from Windows headers -#endif - -#include "targetver.h" - -#define _ATL_CSTRING_EXPLICIT_CONSTRUCTORS // some CString constructors will be explicit - -// turns off MFC's hiding of some common and often safely ignored warning messages -#define _AFX_ALL_WARNINGS - -#include // MFC core and standard components -#include // MFC extensions - - -#include // MFC Automation classes - - - -#ifndef _AFX_NO_OLE_SUPPORT -#include // MFC support for Internet Explorer 4 Common Controls -#endif -#ifndef _AFX_NO_AFXCMN_SUPPORT -#include // MFC support for Windows Common Controls -#endif // _AFX_NO_AFXCMN_SUPPORT - -#include // MFC support for ribbons and control bars - - - - - - - - - -#ifdef _UNICODE -#if defined _M_IX86 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='x86' publicKeyToken='6595b64144ccf1df' language='*'\"") -#elif defined _M_IA64 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='ia64' publicKeyToken='6595b64144ccf1df' language='*'\"") -#elif defined _M_X64 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='amd64' publicKeyToken='6595b64144ccf1df' language='*'\"") -#else -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='*' publicKeyToken='6595b64144ccf1df' language='*'\"") -#endif -#endif - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222/targetver.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222/targetver.h deleted file mode 100644 index 11730d5..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222/targetver.h +++ /dev/null @@ -1,26 +0,0 @@ - -#pragma once - -// The following macros define the minimum required platform. The minimum required platform -// is the earliest version of Windows, Internet Explorer etc. that has the necessary features to run -// your application. The macros work by enabling all features available on platform versions up to and -// including the version specified. - -// Modify the following defines if you have to target a platform prior to the ones specified below. -// Refer to MSDN for the latest info on corresponding values for different platforms. -#ifndef WINVER // Specifies that the minimum required platform is Windows Vista. -#define WINVER 0x0600 // Change this to the appropriate value to target other versions of Windows. -#endif - -#ifndef _WIN32_WINNT // Specifies that the minimum required platform is Windows Vista. -#define _WIN32_WINNT 0x0600 // Change this to the appropriate value to target other versions of Windows. -#endif - -#ifndef _WIN32_WINDOWS // Specifies that the minimum required platform is Windows 98. -#define _WIN32_WINDOWS 0x0410 // Change this to the appropriate value to target Windows Me or later. -#endif - -#ifndef _WIN32_IE // Specifies that the minimum required platform is Internet Explorer 7.0. -#define _WIN32_IE 0x0700 // Change this to the appropriate value to target other versions of IE. -#endif - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AIDma/9111int.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AIDma/9111int.suo deleted file mode 100644 index 1d7a5ee..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AIDma/9111int.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AIDma/9116dma.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AIDma/9116dma.suo deleted file mode 100644 index ac40639..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AIDma/9116dma.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AIDma/9221dma.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AIDma/9221dma.suo deleted file mode 100644 index dcc1d84..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AIDma/9221dma.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AIDma/9222dma.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AIDma/9222dma.cpp deleted file mode 100644 index 9b8192a..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AIDma/9222dma.cpp +++ /dev/null @@ -1,109 +0,0 @@ - -// 9222dma.cpp : Defines the class behaviors for the application. -// - -#include "stdafx.h" -#include "9222dma.h" -#include "9222dmaDlg.h" -#include "CardIDDlg.h" - -#ifdef _DEBUG -#define new DEBUG_NEW -#endif - - -// C9222dmaApp - -BEGIN_MESSAGE_MAP(C9222dmaApp, CWinAppEx) - ON_COMMAND(ID_HELP, &CWinApp::OnHelp) -END_MESSAGE_MAP() - - -// C9222dmaApp construction - -C9222dmaApp::C9222dmaApp() -{ - // TODO: add construction code here, - // Place all significant initialization in InitInstance -} - - -// The one and only C9222dmaApp object - -C9222dmaApp theApp; - - -// C9222dmaApp initialization - -BOOL C9222dmaApp::InitInstance() -{ - int nCardID = 0; - I16 hCard; - CString strTemp; - INT_PTR nResponse; - - // InitCommonControlsEx() is required on Windows XP if an application - // manifest specifies use of ComCtl32.dll version 6 or later to enable - // visual styles. Otherwise, any window creation will fail. - INITCOMMONCONTROLSEX InitCtrls; - InitCtrls.dwSize = sizeof(InitCtrls); - // Set this to include all the common control classes you want to use - // in your application. - InitCtrls.dwICC = ICC_WIN95_CLASSES; - InitCommonControlsEx(&InitCtrls); - - CWinAppEx::InitInstance(); - - AfxEnableControlContainer(); - - // Standard initialization - // If you are not using these features and wish to reduce the size - // of your final executable, you should remove from the following - // the specific initialization routines you do not need - // Change the registry key under which our settings are stored - // TODO: You should modify this string to be something appropriate - // such as the name of your company or organization - SetRegistryKey(_T("Local AppWizard-Generated Applications")); - - CCardIDDlg CardDlg( nCardID ); - - nResponse = CardDlg.DoModal(); - if (nResponse == IDOK) - { - nCardID = CardDlg.GetCardID(); - - if ((hCard=Register_Card(PCI_9222, nCardID)) < 0) - { - strTemp.Format( TEXT("Register_Card Error = %d"), hCard); - AfxMessageBox( strTemp ); - } - else - { - C9222dmaDlg dlg(hCard); - m_pMainWnd = &dlg; - nResponse = dlg.DoModal(); - if (nResponse == IDOK) - { - // TODO: Place code here to handle when the dialog is - // dismissed with OK - } - else if (nResponse == IDCANCEL) - { - // TODO: Place code here to handle when the dialog is - // dismissed with Cancel - } - - if (hCard >= 0) Release_Card(hCard); - } - - } - else if (nResponse == IDCANCEL) - { - // TODO: Place code here to handle when the dialog is - // dismissed with Cancel - } - - // Since the dialog has been closed, return FALSE so that we exit the - // application, rather than start the application's message pump. - return FALSE; -} diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AIDma/9222dma.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AIDma/9222dma.h deleted file mode 100644 index 4ad0cfa..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AIDma/9222dma.h +++ /dev/null @@ -1,34 +0,0 @@ - -// 9222dma.h : main header file for the PROJECT_NAME application -// - -#pragma once - -#ifndef __AFXWIN_H__ - #error "include 'stdafx.h' before including this file for PCH" -#endif - -#include "resource.h" // main symbols - -#define AI_MODE_DMA 0 -#define AI_MODE_INT 1 - -// C9222dmaApp: -// See 9222dma.cpp for the implementation of this class -// - -class C9222dmaApp : public CWinAppEx -{ -public: - C9222dmaApp(); - -// Overrides - public: - virtual BOOL InitInstance(); - -// Implementation - - DECLARE_MESSAGE_MAP() -}; - -extern C9222dmaApp theApp; \ No newline at end of file diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AIDma/9222dma.rc b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AIDma/9222dma.rc deleted file mode 100644 index a2955ca..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AIDma/9222dma.rc +++ /dev/null @@ -1,286 +0,0 @@ -// Microsoft Visual C++ generated resource script. -// -#include "resource.h" - -#define APSTUDIO_READONLY_SYMBOLS -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 2 resource. -// -#ifndef APSTUDIO_INVOKED -#include "targetver.h" -#endif -#include "afxres.h" - -///////////////////////////////////////////////////////////////////////////// -#undef APSTUDIO_READONLY_SYMBOLS - -///////////////////////////////////////////////////////////////////////////// -// Chinese (Taiwan) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_CHT) -#ifdef _WIN32 -LANGUAGE LANG_CHINESE, SUBLANG_CHINESE_TRADITIONAL -#pragma code_page(950) -#endif //_WIN32 - -#ifdef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// TEXTINCLUDE -// - -1 TEXTINCLUDE -BEGIN - "resource.h\0" -END - -2 TEXTINCLUDE -BEGIN - "#ifndef APSTUDIO_INVOKED\r\n" - "#include ""targetver.h""\r\n" - "#endif\r\n" - "#include ""afxres.h""\r\n" - "\0" -END - -3 TEXTINCLUDE -BEGIN - "#define _AFX_NO_SPLITTER_RESOURCES\r\n" - "#define _AFX_NO_OLE_RESOURCES\r\n" - "#define _AFX_NO_TRACKER_RESOURCES\r\n" - "#define _AFX_NO_PROPERTY_RESOURCES\r\n" - "\r\n" - "#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)\r\n" - "LANGUAGE 9, 1\r\n" - "#pragma code_page(1252)\r\n" - "#include ""res\\My9222dma.rc2"" // non-Microsoft Visual C++ edited resources\r\n" - "#include ""afxres.rc"" // Standard components\r\n" - "#endif\r\n" - "\0" -END - -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// Icon -// - -// Icon with lowest ID value placed first to ensure application icon -// remains consistent on all systems. -IDR_MAINFRAME ICON "res\\9222dma.ico" -#endif // Chinese (Taiwan) resources -///////////////////////////////////////////////////////////////////////////// - - -///////////////////////////////////////////////////////////////////////////// -// English (U.S.) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -#ifdef _WIN32 -LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US -#pragma code_page(1252) -#endif //_WIN32 - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog -// - -IDD_ABOUTBOX DIALOGEX 0, 0, 170, 62 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "About 9222dma" -FONT 8, "MS Shell Dlg", 0, 0, 0x1 -BEGIN - ICON IDR_MAINFRAME,IDC_STATIC,14,14,21,20 - LTEXT "9222dma, Version 1.0",IDC_STATIC,42,14,114,8,SS_NOPREFIX - LTEXT "Copyright (C) 2010",IDC_STATIC,42,26,114,8 - DEFPUSHBUTTON "OK",IDOK,113,41,50,14,WS_GROUP -END - -IDD_9222DMA_DIALOG DIALOGEX 0, 0, 365, 232 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU -EXSTYLE WS_EX_APPWINDOW -CAPTION "PCI-9222 AI Channel Read (Single-End Signal)" -FONT 8, "MS Shell Dlg", 0, 0, 0x1 -BEGIN - GROUPBOX "",IDC_STATIC_DRAW,45,9,227,161,NOT WS_VISIBLE - CONTROL 132,IDC_STATIC,"Static",SS_BITMAP,327,28,11,45 - CONTROL 131,IDC_STATIC,"Static",SS_BITMAP,298,29,9,44 - LTEXT "0",IDC_STATIC,286,29,10,11 - LTEXT "1",IDC_STATIC,286,40,10,11 - LTEXT "2",IDC_STATIC,286,51,10,11 - LTEXT "3",IDC_STATIC,286,63,10,11 - LTEXT "4",IDC_STATIC,318,29,10,11 - LTEXT "5",IDC_STATIC,318,40,10,11 - LTEXT "6",IDC_STATIC,318,51,10,11 - LTEXT "7",IDC_STATIC,318,63,10,11 - LTEXT "Range : +/- 10V",IDC_STATIC,283,130,57,15 - COMBOBOX IDC_COMBO_SCANCHAN,171,197,74,17,CBS_DROPDOWN | WS_VSCROLL | WS_TABSTOP - LTEXT "Read Channel",IDC_STATIC,171,182,53,9 - EDITTEXT IDC_EDIT_SCAN_ITERVAL,57,197,39,12,ES_AUTOHSCROLL | ES_READONLY - LTEXT "Sample Interval :",IDC_STATIC,57,182,57,9 - SCROLLBAR IDC_SCROLLBAR_RATE,97,195,9,11,SBS_VERT - PUSHBUTTON "Start",IDC_BT_START,275,188,75,22 -END - -IDD_CARDID_DIALOG DIALOGEX 0, 0, 165, 95 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "Card ID" -FONT 8, "MS Shell Dlg", 400, 0, 0x1 -BEGIN - COMBOBOX IDC_COMBO_CARDID,74,24,71,126,CBS_DROPDOWN | WS_VSCROLL | WS_TABSTOP - LTEXT "Card Number",IDC_STATIC_01,20,25,46,12 - PUSHBUTTON "OK",IDOK,22,62,58,19 - PUSHBUTTON "CANCEL",IDCANCEL,86,62,58,19 -END - - -///////////////////////////////////////////////////////////////////////////// -// -// Version -// - -VS_VERSION_INFO VERSIONINFO - FILEVERSION 1,0,0,1 - PRODUCTVERSION 1,0,0,1 - FILEFLAGSMASK 0x3fL -#ifdef _DEBUG - FILEFLAGS 0x1L -#else - FILEFLAGS 0x0L -#endif - FILEOS 0x4L - FILETYPE 0x1L - FILESUBTYPE 0x0L -BEGIN - BLOCK "StringFileInfo" - BEGIN - BLOCK "040904e4" - BEGIN - VALUE "CompanyName", "TODO: " - VALUE "FileDescription", "TODO: " - VALUE "FileVersion", "1.0.0.1" - VALUE "InternalName", "9222dma.exe" - VALUE "LegalCopyright", "TODO: (c) . All rights reserved." - VALUE "OriginalFilename", "9222dma.exe" - VALUE "ProductName", "TODO: " - VALUE "ProductVersion", "1.0.0.1" - END - END - BLOCK "VarFileInfo" - BEGIN - VALUE "Translation", 0x409, 1252 - END -END - - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog Info -// - -IDD_CARDID_DIALOG DLGINIT -BEGIN - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0030, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0031, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0032, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0033, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0034, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0035, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0036, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0037, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0038, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0039, - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3031, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3131, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3231, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3331, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3431, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3531, "\000" - 0 -END - -IDD_9222DMA_DIALOG DLGINIT -BEGIN - IDC_COMBO_SCANCHAN, 0x403, 4, 0 -0x4843, 0x0030, - IDC_COMBO_SCANCHAN, 0x403, 4, 0 -0x4843, 0x0031, - IDC_COMBO_SCANCHAN, 0x403, 4, 0 -0x4843, 0x0032, - IDC_COMBO_SCANCHAN, 0x403, 4, 0 -0x4843, 0x0033, - IDC_COMBO_SCANCHAN, 0x403, 4, 0 -0x4843, 0x0034, - IDC_COMBO_SCANCHAN, 0x403, 4, 0 -0x4843, 0x0035, - IDC_COMBO_SCANCHAN, 0x403, 4, 0 -0x4843, 0x0036, - IDC_COMBO_SCANCHAN, 0x403, 4, 0 -0x4843, 0x0037, - 0 -END - - -///////////////////////////////////////////////////////////////////////////// -// -// Bitmap -// - -IDB_BITMAP_SET1 BITMAP "res\\ch_set1.bmp" -IDB_BITMAP_SET2 BITMAP "res\\ch_set2.bmp" - -///////////////////////////////////////////////////////////////////////////// -// -// String Table -// - -STRINGTABLE -BEGIN - IDS_ABOUTBOX "&About 9222dma..." -END - -#endif // English (U.S.) resources -///////////////////////////////////////////////////////////////////////////// - - - -#ifndef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 3 resource. -// -#define _AFX_NO_SPLITTER_RESOURCES -#define _AFX_NO_OLE_RESOURCES -#define _AFX_NO_TRACKER_RESOURCES -#define _AFX_NO_PROPERTY_RESOURCES - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -LANGUAGE 9, 1 -#pragma code_page(1252) -#include "res\My9222dma.rc2" // non-Microsoft Visual C++ edited resources -#include "afxres.rc" // Standard components -#endif - -///////////////////////////////////////////////////////////////////////////// -#endif // not APSTUDIO_INVOKED - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AIDma/9222dma.sln b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AIDma/9222dma.sln deleted file mode 100644 index cdce59d..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AIDma/9222dma.sln +++ /dev/null @@ -1,20 +0,0 @@ - -Microsoft Visual Studio Solution File, Format Version 10.00 -# Visual Studio 2008 -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "9222dma", "9222dma.vcproj", "{702163FB-B6DF-4EF5-9491-FC54D71509BC}" -EndProject -Global - GlobalSection(SolutionConfigurationPlatforms) = preSolution - Debug|x64 = Debug|x64 - Release|x64 = Release|x64 - EndGlobalSection - GlobalSection(ProjectConfigurationPlatforms) = postSolution - {702163FB-B6DF-4EF5-9491-FC54D71509BC}.Debug|x64.ActiveCfg = Debug|x64 - {702163FB-B6DF-4EF5-9491-FC54D71509BC}.Debug|x64.Build.0 = Debug|x64 - {702163FB-B6DF-4EF5-9491-FC54D71509BC}.Release|x64.ActiveCfg = Release|x64 - {702163FB-B6DF-4EF5-9491-FC54D71509BC}.Release|x64.Build.0 = Release|x64 - EndGlobalSection - GlobalSection(SolutionProperties) = preSolution - HideSolutionNode = FALSE - EndGlobalSection -EndGlobal diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AIDma/9222dma.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AIDma/9222dma.suo deleted file mode 100644 index 52f7865..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AIDma/9222dma.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AIDma/9222dma.vcproj b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AIDma/9222dma.vcproj deleted file mode 100644 index 834136f..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AIDma/9222dma.vcproj +++ /dev/null @@ -1,294 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AIDma/9222dmaDlg.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AIDma/9222dmaDlg.cpp deleted file mode 100644 index 2f17496..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AIDma/9222dmaDlg.cpp +++ /dev/null @@ -1,542 +0,0 @@ - -// 9222dmaDlg.cpp : implementation file -// - -#include "stdafx.h" -#include "9222dma.h" -#include "9222dmaDlg.h" - -#ifdef _DEBUG -#define new DEBUG_NEW -#endif - -CRect plotRect; -#define AI_SAMPLE_COUNT 40000 -#define P922X_TIMEBASE 80000000.0 - -// CAboutDlg dialog used for App About - -class CAboutDlg : public CDialog -{ -public: - CAboutDlg(); - -// Dialog Data - enum { IDD = IDD_ABOUTBOX }; - - protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - -// Implementation -protected: - DECLARE_MESSAGE_MAP() -}; - -CAboutDlg::CAboutDlg() : CDialog(CAboutDlg::IDD) -{ -} - -void CAboutDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); -} - -BEGIN_MESSAGE_MAP(CAboutDlg, CDialog) -END_MESSAGE_MAP() - - -// C9222dmaDlg dialog - - - - -C9222dmaDlg::C9222dmaDlg(I16 hCard, CWnd* pParent /*=NULL*/) - : CDialog(C9222dmaDlg::IDD, pParent) -{ - m_hIcon = AfxGetApp()->LoadIcon(IDR_MAINFRAME); - - n_PlotWidth = n_PlotHeight = -1; - OnBrush = OffBrush = NULL; - - min_val = 0x00; - max_val = 0xFFFF; - - m_dwSampIntrv = 320; - - m_hCard = hCard; - m_wScanChans = 0; - m_nTimer = -1; - -#if 1 - m_pAIBuf = NULL; -#else - m_hMem = NULL; -#endif - - m_wRange = AD_B_10_V; - - max_range = 10.0; - min_range = -10.0; -} - -void C9222dmaDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); - DDX_Control(pDX, IDC_COMBO_SCANCHAN, m_cbScanChans); -} - -BEGIN_MESSAGE_MAP(C9222dmaDlg, CDialog) - ON_WM_SYSCOMMAND() - ON_WM_PAINT() - ON_WM_QUERYDRAGICON() - //}}AFX_MSG_MAP - ON_WM_DESTROY() - ON_WM_VSCROLL() - ON_CBN_SELCHANGE(IDC_COMBO_SCANCHAN, &C9222dmaDlg::OnScanChanSelchange) - ON_BN_CLICKED(IDC_BT_START, &C9222dmaDlg::OnStart) - ON_WM_TIMER() -END_MESSAGE_MAP() - - -// C9222dmaDlg message handlers - -BOOL C9222dmaDlg::OnInitDialog() -{ - CDialog::OnInitDialog(); - - // Add "About..." menu item to system menu. - - // IDM_ABOUTBOX must be in the system command range. - ASSERT((IDM_ABOUTBOX & 0xFFF0) == IDM_ABOUTBOX); - ASSERT(IDM_ABOUTBOX < 0xF000); - - CMenu* pSysMenu = GetSystemMenu(FALSE); - if (pSysMenu != NULL) - { - BOOL bNameValid; - CString strAboutMenu; - bNameValid = strAboutMenu.LoadString(IDS_ABOUTBOX); - ASSERT(bNameValid); - if (!strAboutMenu.IsEmpty()) - { - pSysMenu->AppendMenu(MF_SEPARATOR); - pSysMenu->AppendMenu(MF_STRING, IDM_ABOUTBOX, strAboutMenu); - } - } - - // Set the icon for this dialog. The framework does this automatically - // when the application's main window is not a dialog - SetIcon(m_hIcon, TRUE); // Set big icon - SetIcon(m_hIcon, FALSE); // Set small icon - - // TODO: Add extra initialization here - x_divider = 5; y_divider = 4; - - OnBrush = CreateSolidBrush( RGB(255,0,0) ); - OffBrush = CreateSolidBrush( RGB(125,0,0) ); - - RedPen.CreatePen( PS_SOLID, 1, RGB(255,0,0)); - GreenPen.CreatePen( PS_SOLID, 1, RGB(0,255,0)); - YellowPen.CreatePen( PS_SOLID, 1, RGB(255,255,0)); - BluePen.CreatePen( PS_SOLID, 1, RGB(0,0,255)); - LTBluePen.CreatePen( PS_SOLID, 1, RGB(0,128,255)); - LTRedPen.CreatePen( PS_SOLID, 1, RGB(255,128,0)); - LTGreenPen.CreatePen( PS_SOLID, 1, RGB(0,128,0)); - WhitePen.CreatePen( PS_SOLID, 1, RGB(255,255,255)); - - if( n_PlotWidth == -1 && n_PlotHeight == -1 ) - { - ((CWnd*)GetDlgItem(IDC_STATIC_DRAW))->GetWindowRect(&plotRect); - ScreenToClient(&plotRect); - - n_PlotWidth = min( plotRect.Width(), 512); - n_PlotHeight = plotRect.Height() - 10; - } - - - // set the default SampleRate - SetDlgItemInt( IDC_EDIT_SCAN_ITERVAL, (UINT)(m_dwSampIntrv) ); - m_cbScanChans.SetCurSel( 0 ); - - return TRUE; // return TRUE unless you set the focus to a control -} - -void C9222dmaDlg::OnSysCommand(UINT nID, LPARAM lParam) -{ - if ((nID & 0xFFF0) == IDM_ABOUTBOX) - { - CAboutDlg dlgAbout; - dlgAbout.DoModal(); - } - else - { - CDialog::OnSysCommand(nID, lParam); - } -} - -// If you add a minimize button to your dialog, you will need the code below -// to draw the icon. For MFC applications using the document/view model, -// this is automatically done for you by the framework. - -void C9222dmaDlg::OnPaint() -{ - if (IsIconic()) - { - CPaintDC dc(this); // device context for painting - - SendMessage(WM_ICONERASEBKGND, reinterpret_cast(dc.GetSafeHdc()), 0); - - // Center icon in client rectangle - int cxIcon = GetSystemMetrics(SM_CXICON); - int cyIcon = GetSystemMetrics(SM_CYICON); - CRect rect; - GetClientRect(&rect); - int x = (rect.Width() - cxIcon + 1) / 2; - int y = (rect.Height() - cyIcon + 1) / 2; - - // Draw the icon - dc.DrawIcon(x, y, m_hIcon); - } - else - { - redraw_display_area(); - CDialog::OnPaint(); - } -} - -// The system calls this function to obtain the cursor to display while the user drags -// the minimized window. -HCURSOR C9222dmaDlg::OnQueryDragIcon() -{ - return static_cast(m_hIcon); -} - - -void C9222dmaDlg::redraw_display_area(void) -{ - CPen *oldPen; - - int oldMode; - COLORREF oldColor; - - CString y_lable; - - CPen minor_tick( PS_SOLID,1,RGB(132,130,132) ); -// CPen y_grid( PS_SOLID,1,RGB(206,203,132) ); - - int i, x_intv, y_intv; -// long total_sec; - - CClientDC dc_plot(this); - - // draw the base-line for x-y axises - oldPen = (CPen *)dc_plot.SelectStockObject(BLACK_PEN); - - // redraw the background - dc_plot.FillSolidRect( plotRect, RGB(0,0,0) ); - - // Re-Draw the AREA for Y-Lable - { - CBrush DIALOG_BRUSH; - CRect redraw_area, full_client; - - GetClientRect(&full_client); - ScreenToClient(&full_client); - - redraw_area.left = full_client.left; - redraw_area.top = plotRect.top - 5; - redraw_area.right = plotRect.left - 3; - redraw_area.bottom = plotRect.bottom + 10; - - DIALOG_BRUSH.CreateSysColorBrush( COLOR_3DFACE ); - - dc_plot.FillRect( redraw_area, &DIALOG_BRUSH ); - - DIALOG_BRUSH.DeleteObject(); - } - - dc_plot.MoveTo( plotRect.left - 3, plotRect.top ); - dc_plot.LineTo( plotRect.left - 3, plotRect.bottom ); - - // calculate the interval for tick/grid - y_intv = (plotRect.Height() - 10) /y_divider; - x_intv = plotRect.Width()/x_divider; - - - // set the color for tick - oldColor = dc_plot.SetTextColor( RGB(0,0,0) ); - oldMode = dc_plot.SetBkMode( TRANSPARENT ); - - for( i=0; i<= y_divider; i++ ) - { - CString tick_str; - CRect tmp_rect, tick_rect; - - // draw the tick for y-axis - dc_plot.MoveTo( plotRect.left -12, plotRect.bottom -5 - (i*y_intv) ); - dc_plot.LineTo( plotRect.left -3, plotRect.bottom -5 - (i*y_intv) ); - - tick_str.Format( _T("%.1f"), ( ((max_range-min_range)/y_divider) * i)+min_range ); - - // calculate the rectangle for text - dc_plot.DrawText( tick_str, &tmp_rect, DT_CALCRECT|DT_SINGLELINE ); - tick_rect.right = plotRect.left -14; - tick_rect.left = tick_rect.right - tmp_rect.Width(); - tick_rect.top = plotRect.bottom -5 - (i*y_intv) - tmp_rect.Height()/2; - tick_rect.bottom = tick_rect.top + tmp_rect.Height(); - - // draw the text - dc_plot.DrawText( tick_str, &tick_rect, DT_SINGLELINE|DT_RIGHT ); - - } - - // draw the minor_tick for Y axises - dc_plot.SelectObject(&minor_tick); - for( i=0; i< y_divider; i++ ) - { - dc_plot.MoveTo( plotRect.left -9, plotRect.bottom -5 - (i*y_intv) - y_intv/2 ); - dc_plot.LineTo( plotRect.left -4, plotRect.bottom -5 - (i*y_intv) - y_intv/2 ); - } - - dc_plot.SetTextColor( oldColor ); - dc_plot.SetBkMode( oldMode ); - dc_plot.SelectObject( oldPen ); -} - -void C9222dmaDlg::OnDestroy() -{ - CDialog::OnDestroy(); - - // TODO: Add your message handler code here - if( m_nTimer != -1 ) - { - KillTimer( m_nTimer ); - m_nTimer = -1; - } - - if (m_pAIBuf != NULL) - { - free( m_pAIBuf ); - m_pAIBuf = NULL; - } - - - if( OnBrush != NULL ) - ::DeleteObject( OnBrush ); - - if( OffBrush != NULL ) - ::DeleteObject( OffBrush ); - - RedPen.DeleteObject(); - GreenPen.DeleteObject(); - YellowPen.DeleteObject(); - BluePen.DeleteObject(); - LTBluePen.DeleteObject(); - LTRedPen.DeleteObject(); - LTGreenPen.DeleteObject(); - WhitePen.DeleteObject(); -} - -void C9222dmaDlg::OnVScroll(UINT nSBCode, UINT nPos, CScrollBar* pScrollBar) -{ - // TODO: Add your message handler code here and/or call default - switch ( nSBCode ) - { - case SB_LINEUP : - m_dwSampIntrv += 160; - if (m_dwSampIntrv > 40000 ) m_dwSampIntrv = 40000; - - break; - case SB_LINEDOWN: - m_dwSampIntrv -= 160; - if (m_dwSampIntrv < 320 ) m_dwSampIntrv = 320; - - break; - } - - SetDlgItemInt( IDC_EDIT_SCAN_ITERVAL, (UINT)(m_dwSampIntrv) ); - - CDialog::OnVScroll(nSBCode, nPos, pScrollBar); -} - -void C9222dmaDlg::OnScanChanSelchange() -{ - // TODO: Add your control notification handler code here - int nIndex; - - nIndex = m_cbScanChans.GetCurSel(); - m_wScanChans = (U16)nIndex; -} - -void C9222dmaDlg::OnStart() -{ - // TODO: Add your control notification handler code here - DWORD mem_size; - CString strTemp; - I16 err; - - GetDlgItem( IDC_BT_START )->EnableWindow(FALSE); - - if (m_pAIBuf != NULL) - { - free( m_pAIBuf ); - m_pAIBuf = NULL; - } - - // allocate a memory for user DMA buffer - mem_size = AI_SAMPLE_COUNT * sizeof(I16); - - m_pAIBuf = (U16*)malloc( mem_size ); - if (m_pAIBuf == NULL ) - { - AfxMessageBox( TEXT("Memory allocation failed"), MB_OK); - } - else - { - memset( m_pAIBuf, '\0', mem_size ); - } - - - m_oldY[0] = m_oldY[1] = m_oldY[2] = m_oldY[3] = m_oldY[4] = m_oldY[5] = m_oldY[6] = m_oldY[7] = -1; - m_oldX[0] = m_oldX[1] = m_oldX[2] = m_oldX[3] = m_oldX[4] = m_oldX[5] = m_oldX[6] = m_oldX[7] = -1; - - /*Configure AI*/ - err = AI_9222_Config(m_hCard, (P922x_AI_SingEnded|P922x_AI_CONVSRC_INT), (P922x_AI_TRGMOD_POST|P922x_AI_TRGSRC_SOFT), 0, TRUE); - if (err!=0) - { - strTemp.Format( TEXT("AI_9222_Config error=%d"), err); - AfxMessageBox( strTemp ); - return; - } - - /*Set Scan and Sampling Rate*/ - err = AI_9222_CounterInterval(m_hCard, m_dwSampIntrv, m_dwSampIntrv); - if (err!=0) - { - strTemp.Format( TEXT("AI_9222_CounterInterval error=%d"), err); - AfxMessageBox( strTemp ); - return; - } - - /*Disable Double Buffer Mode*/ - err = AI_AsyncDblBufferMode(m_hCard, 0); // single-buffer mode - if (err!=0) - { - strTemp.Format( TEXT("AI_DblBufferMode error=%d"), err); - AfxMessageBox( strTemp ); - return; - } - - err = AI_ContBufferSetup (m_hCard, m_pAIBuf, AI_SAMPLE_COUNT, &m_wBufferID); - if (err!=0) - { - strTemp.Format( TEXT("AI_ContBufferSetup error=%d"), err); - AfxMessageBox( strTemp ); - return; - } - - err = AI_ContReadChannel(m_hCard, m_wScanChans, m_wRange, &m_wBufferID, AI_SAMPLE_COUNT, 0/*Ignore*/, ASYNCH_OP); - if (err!=0) - { - strTemp.Format( TEXT("AI_ContScanChannels error=%d"), err); - AfxMessageBox( strTemp ); - return; - } - - m_nTimer = SetTimer( 1, 20, NULL ); - -} - -int C9222dmaDlg::display_buffer_data(U16* pBuf) -{ - CClientDC dc_plot(this); - int nDraw_Origin_Y; - int cur_channel; - - int newY = -1; - int newX = -1; - U32 index; - I16 ai_data; - - dc_plot.FillSolidRect( plotRect, RGB(0,0,0) ); - - switch(m_wScanChans) - { - case 0: - dc_plot.SelectObject(&YellowPen); - break; - case 1: - dc_plot.SelectObject(<GreenPen); - break; - case 2: - dc_plot.SelectObject(&BluePen); - break; - case 3: - dc_plot.SelectObject(&RedPen); - break; - case 4: - dc_plot.SelectObject(<BluePen); - break; - case 5: - dc_plot.SelectObject(<RedPen); - break; - case 6: - dc_plot.SelectObject(&GreenPen); - break; - case 7: - dc_plot.SelectObject(&WhitePen); - break; - } - - cur_channel = m_wScanChans; - - - nDraw_Origin_Y = ( plotRect.bottom - 5 ) - n_PlotHeight/2; - - for( index=0; index> 16) ); // ( n_PlotHeight * ai_data / 65536) ); // ( (n_PlotHeight/2) * ai_data/32768 ) ); - - newX = (int)( index*n_PlotWidth/AI_SAMPLE_COUNT + plotRect.left ); - - if ( m_oldX[cur_channel] == -1 ) - { - dc_plot.MoveTo( newX, newY ); - } - else - { - dc_plot.MoveTo( m_oldX[cur_channel], m_oldY[cur_channel] ); - dc_plot.LineTo( newX, newY ); - } - - m_oldX[cur_channel] = newX; - m_oldY[cur_channel] = newY; - } - - return 0; -} - -void C9222dmaDlg::OnTimer(UINT_PTR nIDEvent) -{ - // TODO: Add your message handler code here and/or call default - BOOLEAN fstop; - U32 count; - - AI_AsyncCheck(m_hCard, &fstop, &count); - - if( fstop == TRUE ) - { - AI_AsyncClear(m_hCard, &count); - - KillTimer( m_nTimer ); - m_nTimer = -1; - - display_buffer_data( m_pAIBuf ); - - GetDlgItem( IDC_BT_START )->EnableWindow(TRUE); - } - - CDialog::OnTimer(nIDEvent); -} diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AIDma/9222dmaDlg.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AIDma/9222dmaDlg.h deleted file mode 100644 index 14d0fce..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AIDma/9222dmaDlg.h +++ /dev/null @@ -1,75 +0,0 @@ - -// 9222dmaDlg.h : header file -#pragma once -#include "afxcmn.h" -#include "afxwin.h" - -#include "Dask64.h" - - -// C9222dmaDlg dialog -class C9222dmaDlg : public CDialog -{ -// Construction -public: - C9222dmaDlg(I16 hCard, CWnd* pParent = NULL); // standard constructor - -// Dialog Data - enum { IDD = IDD_9222DMA_DIALOG }; - - protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - - -// Implementation -protected: - HICON m_hIcon; - UINT_PTR m_nTimer; - I16 m_hCard; - U32 m_dwSampIntrv; - U16 m_wScanChans; - U16 m_wBufferID; -#if 0 - HANDLE m_hMem; -#endif - U16 *m_pAIBuf; - U16 m_wRange; - int m_oldY[8]; - int m_oldX[8]; - - // Generated message map functions - virtual BOOL OnInitDialog(); - afx_msg void OnSysCommand(UINT nID, LPARAM lParam); - afx_msg void OnPaint(); - afx_msg HCURSOR OnQueryDragIcon(); - DECLARE_MESSAGE_MAP() - -public: - WORD max_val; - WORD min_val; - double max_range; - double min_range; - int n_PlotWidth; - int n_PlotHeight; - int y_divider; - int x_divider; - int m_DisplayScale; - HBRUSH OnBrush; - HBRUSH OffBrush; - CPen RedPen; - CPen GreenPen; - CPen YellowPen; - CPen BluePen; - CPen LTBluePen; - CPen LTRedPen; - CPen LTGreenPen; - CPen WhitePen; - void redraw_display_area(void); - afx_msg void OnDestroy(); - CComboBox m_cbScanChans; - afx_msg void OnVScroll(UINT nSBCode, UINT nPos, CScrollBar* pScrollBar); - afx_msg void OnScanChanSelchange(); - afx_msg void OnStart(); - int display_buffer_data(U16* pBuf); - afx_msg void OnTimer(UINT_PTR nIDEvent); -}; diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AIDma/CardIDDlg.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AIDma/CardIDDlg.cpp deleted file mode 100644 index 4029641..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AIDma/CardIDDlg.cpp +++ /dev/null @@ -1,64 +0,0 @@ -// CardIDDlg.cpp : implementation file -// -#include "stdafx.h" -#include "9222dma.h" -#include "9222dmaDlg.h" -#include "CardIDDlg.h" - -// CCardIDDlg dialog - -IMPLEMENT_DYNAMIC(CCardIDDlg, CDialog) - -CCardIDDlg::CCardIDDlg(int nCardIdx, CWnd* pParent /*=NULL*/) - : CDialog(CCardIDDlg::IDD, pParent) -{ - m_nCardIdx = nCardIdx; -} - -CCardIDDlg::~CCardIDDlg() -{ -} - -void CCardIDDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); - DDX_Control(pDX, IDC_COMBO_CARDID, m_cbCardID); -} - - -BEGIN_MESSAGE_MAP(CCardIDDlg, CDialog) -// ON_CBN_SELCHANGE(IDC_COMBO_CARDID, &CCardIDDlg::OnCbnSelchangeComboCardid) -ON_BN_CLICKED(IDOK, &CCardIDDlg::OnBnClickedOk) -//ON_WM_CTLCOLOR() -END_MESSAGE_MAP() - - -// CCardIDDlg message handlers - - -void CCardIDDlg::OnBnClickedOk() -{ - // TODO: Add your control notification handler code here - -// UpdateData(TRUE); - m_nCardIdx = m_cbCardID.GetCurSel(); - - OnOK(); -} - -BOOL CCardIDDlg::OnInitDialog() -{ - CDialog::OnInitDialog(); - - // TODO: Add extra initialization here - m_cbCardID.SetCurSel( m_nCardIdx ); - - return TRUE; // return TRUE unless you set the focus to a control - // EXCEPTION: OCX Property Pages should return FALSE -} - -// the function to get the selected CardID -int CCardIDDlg::GetCardID(void) -{ - return m_nCardIdx; -} diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AIDma/CardIDDlg.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AIDma/CardIDDlg.h deleted file mode 100644 index 9c02c58..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AIDma/CardIDDlg.h +++ /dev/null @@ -1,32 +0,0 @@ -#pragma once -#include "afxwin.h" - -#include "Dask64.h" - -// CCardIDDlg dialog - -class CCardIDDlg : public CDialog -{ - DECLARE_DYNAMIC(CCardIDDlg) - -public: - CCardIDDlg(int nCardIdx, CWnd* pParent = NULL); // standard constructor - virtual ~CCardIDDlg(); - -// Dialog Data - enum { IDD = IDD_CARDID_DIALOG }; - -protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - - DECLARE_MESSAGE_MAP() -public: - virtual BOOL OnInitDialog(); - afx_msg void OnBnClickedOk(); - // the setting of CardID ComboBox - int m_nCardIdx; - // the control of CardID ComboBox - CComboBox m_cbCardID; - // the function to get the selected CardID - int GetCardID(void); -}; diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AIDma/ReadMe.txt b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AIDma/ReadMe.txt deleted file mode 100644 index be98684..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AIDma/ReadMe.txt +++ /dev/null @@ -1,93 +0,0 @@ -================================================================================ - MICROSOFT FOUNDATION CLASS LIBRARY : 9222dma Project Overview -=============================================================================== - -The application wizard has created this 9222dma application for -you. This application not only demonstrates the basics of using the Microsoft -Foundation Classes but is also a starting point for writing your application. - -This file contains a summary of what you will find in each of the files that -make up your 9222dma application. - -9222dma.vcproj - This is the main project file for VC++ projects generated using an application wizard. - It contains information about the version of Visual C++ that generated the file, and - information about the platforms, configurations, and project features selected with the - application wizard. - -9222dma.h - This is the main header file for the application. It includes other - project specific headers (including Resource.h) and declares the - C9222dmaApp application class. - -9222dma.cpp - This is the main application source file that contains the application - class C9222dmaApp. - -9222dma.rc - This is a listing of all of the Microsoft Windows resources that the - program uses. It includes the icons, bitmaps, and cursors that are stored - in the RES subdirectory. This file can be directly edited in Microsoft - Visual C++. Your project resources are in 1033. - -res\9222dma.ico - This is an icon file, which is used as the application's icon. This - icon is included by the main resource file 9222dma.rc. - -res\My9222dma.rc2 - This file contains resources that are not edited by Microsoft - Visual C++. You should place all resources not editable by - the resource editor in this file. - - -///////////////////////////////////////////////////////////////////////////// - -The application wizard creates one dialog class: - -9222dmaDlg.h, 9222dmaDlg.cpp - the dialog - These files contain your C9222dmaDlg class. This class defines - the behavior of your application's main dialog. The dialog's template is - in 9222dma.rc, which can be edited in Microsoft Visual C++. - - -///////////////////////////////////////////////////////////////////////////// - -Other Features: - -ActiveX Controls - The application includes support to use ActiveX controls. - -///////////////////////////////////////////////////////////////////////////// - -Other standard files: - -StdAfx.h, StdAfx.cpp - These files are used to build a precompiled header (PCH) file - named 9222dma.pch and a precompiled types file named StdAfx.obj. - -Resource.h - This is the standard header file, which defines new resource IDs. - Microsoft Visual C++ reads and updates this file. - -9222dma.manifest - Application manifest files are used by Windows XP to describe an applications - dependency on specific versions of Side-by-Side assemblies. The loader uses this - information to load the appropriate assembly from the assembly cache or private - from the application. The Application manifest maybe included for redistribution - as an external .manifest file that is installed in the same folder as the application - executable or it may be included in the executable in the form of a resource. -///////////////////////////////////////////////////////////////////////////// - -Other notes: - -The application wizard uses "TODO:" to indicate parts of the source code you -should add to or customize. - -If your application uses MFC in a shared DLL, you will need -to redistribute the MFC DLLs. If your application is in a language -other than the operating system's locale, you will also have to -redistribute the corresponding localized resources MFC90XXX.DLL. -For more information on both of these topics, please see the section on -redistributing Visual C++ applications in MSDN documentation. - -///////////////////////////////////////////////////////////////////////////// diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AIDma/res/9222dma.ico b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AIDma/res/9222dma.ico deleted file mode 100644 index d56fbcd..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AIDma/res/9222dma.ico and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AIDma/res/My9222dma.rc2 b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AIDma/res/My9222dma.rc2 deleted file mode 100644 index 383cde2..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AIDma/res/My9222dma.rc2 +++ /dev/null @@ -1,13 +0,0 @@ -// -// My9111int.RC2 - resources Microsoft Visual C++ does not edit directly -// - -#ifdef APSTUDIO_INVOKED -#error this file is not editable by Microsoft Visual C++ -#endif //APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// Add manually edited resources here... - -///////////////////////////////////////////////////////////////////////////// diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AIDma/res/ch_set1.bmp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AIDma/res/ch_set1.bmp deleted file mode 100644 index f2374ed..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AIDma/res/ch_set1.bmp and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AIDma/res/ch_set2.bmp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AIDma/res/ch_set2.bmp deleted file mode 100644 index 32d0915..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AIDma/res/ch_set2.bmp and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AIDma/resource.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AIDma/resource.h deleted file mode 100644 index 0f63bf4..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AIDma/resource.h +++ /dev/null @@ -1,33 +0,0 @@ -//{{NO_DEPENDENCIES}} -// Microsoft Visual C++ generated include file. -// Used by 9222dma.rc -// -#define IDM_ABOUTBOX 0x0010 -#define IDD_ABOUTBOX 100 -#define IDS_ABOUTBOX 101 -#define IDD_9222DMA_DIALOG 102 -#define IDR_MAINFRAME 128 -#define IDD_CARDID_DIALOG 129 -#define IDB_BITMAP_SET1 131 -#define IDB_BITMAP_SET2 132 -#define IDC_STATIC_DRAW 1000 -#define IDC_COMBO_CARDID 1001 -#define IDC_COMBO_SCANCHAN 1001 -#define IDC_COMBO_CARDTYPE 1002 -#define IDC_BUTTON1 1002 -#define IDC_BT_START 1002 -#define IDC_EDIT_SCAN_ITERVAL 1003 -#define IDC_SCROLLBAR_RATE 1006 -#define IDC_STATIC_01 1014 -#define IDC_STATIC_2 1015 - -// Next default values for new objects -// -#ifdef APSTUDIO_INVOKED -#ifndef APSTUDIO_READONLY_SYMBOLS -#define _APS_NEXT_RESOURCE_VALUE 134 -#define _APS_NEXT_COMMAND_VALUE 32771 -#define _APS_NEXT_CONTROL_VALUE 1003 -#define _APS_NEXT_SYMED_VALUE 101 -#endif -#endif diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AIDma/stdafx.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AIDma/stdafx.cpp deleted file mode 100644 index ef80626..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AIDma/stdafx.cpp +++ /dev/null @@ -1,8 +0,0 @@ - -// stdafx.cpp : source file that includes just the standard includes -// 9111int.pch will be the pre-compiled header -// stdafx.obj will contain the pre-compiled type information - -#include "stdafx.h" - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AIDma/stdafx.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AIDma/stdafx.h deleted file mode 100644 index 12123e2..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AIDma/stdafx.h +++ /dev/null @@ -1,60 +0,0 @@ - -// stdafx.h : include file for standard system include files, -// or project specific include files that are used frequently, -// but are changed infrequently - -#pragma once - -#ifndef _SECURE_ATL -#define _SECURE_ATL 1 -#endif - -#ifndef VC_EXTRALEAN -#define VC_EXTRALEAN // Exclude rarely-used stuff from Windows headers -#endif - -#include "targetver.h" - -#define _ATL_CSTRING_EXPLICIT_CONSTRUCTORS // some CString constructors will be explicit - -// turns off MFC's hiding of some common and often safely ignored warning messages -#define _AFX_ALL_WARNINGS - -#include // MFC core and standard components -#include // MFC extensions - - -#include // MFC Automation classes - - - -#ifndef _AFX_NO_OLE_SUPPORT -#include // MFC support for Internet Explorer 4 Common Controls -#endif -#ifndef _AFX_NO_AFXCMN_SUPPORT -#include // MFC support for Windows Common Controls -#endif // _AFX_NO_AFXCMN_SUPPORT - -#include // MFC support for ribbons and control bars - - - - - - - - - -#ifdef _UNICODE -#if defined _M_IX86 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='x86' publicKeyToken='6595b64144ccf1df' language='*'\"") -#elif defined _M_IA64 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='ia64' publicKeyToken='6595b64144ccf1df' language='*'\"") -#elif defined _M_X64 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='amd64' publicKeyToken='6595b64144ccf1df' language='*'\"") -#else -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='*' publicKeyToken='6595b64144ccf1df' language='*'\"") -#endif -#endif - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AIDma/targetver.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AIDma/targetver.h deleted file mode 100644 index 11730d5..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AIDma/targetver.h +++ /dev/null @@ -1,26 +0,0 @@ - -#pragma once - -// The following macros define the minimum required platform. The minimum required platform -// is the earliest version of Windows, Internet Explorer etc. that has the necessary features to run -// your application. The macros work by enabling all features available on platform versions up to and -// including the version specified. - -// Modify the following defines if you have to target a platform prior to the ones specified below. -// Refer to MSDN for the latest info on corresponding values for different platforms. -#ifndef WINVER // Specifies that the minimum required platform is Windows Vista. -#define WINVER 0x0600 // Change this to the appropriate value to target other versions of Windows. -#endif - -#ifndef _WIN32_WINNT // Specifies that the minimum required platform is Windows Vista. -#define _WIN32_WINNT 0x0600 // Change this to the appropriate value to target other versions of Windows. -#endif - -#ifndef _WIN32_WINDOWS // Specifies that the minimum required platform is Windows 98. -#define _WIN32_WINDOWS 0x0410 // Change this to the appropriate value to target Windows Me or later. -#endif - -#ifndef _WIN32_IE // Specifies that the minimum required platform is Internet Explorer 7.0. -#define _WIN32_IE 0x0700 // Change this to the appropriate value to target other versions of IE. -#endif - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AIDma_Dbf/9111DbInt.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AIDma_Dbf/9111DbInt.suo deleted file mode 100644 index 3fde864..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AIDma_Dbf/9111DbInt.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AIDma_Dbf/9111PostTg.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AIDma_Dbf/9111PostTg.suo deleted file mode 100644 index c59a833..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AIDma_Dbf/9111PostTg.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AIDma_Dbf/9111int.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AIDma_Dbf/9111int.suo deleted file mode 100644 index aaca7d8..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AIDma_Dbf/9111int.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AIDma_Dbf/9116cdma.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AIDma_Dbf/9116cdma.suo deleted file mode 100644 index df9f193..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AIDma_Dbf/9116cdma.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AIDma_Dbf/9118cdma.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AIDma_Dbf/9118cdma.suo deleted file mode 100644 index 9318437..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AIDma_Dbf/9118cdma.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AIDma_Dbf/9221cdma.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AIDma_Dbf/9221cdma.suo deleted file mode 100644 index 9cb61ca..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AIDma_Dbf/9221cdma.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AIDma_Dbf/9222cdma.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AIDma_Dbf/9222cdma.cpp deleted file mode 100644 index 7ddb019..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AIDma_Dbf/9222cdma.cpp +++ /dev/null @@ -1,109 +0,0 @@ - -// 9222cdma.cpp : Defines the class behaviors for the application. -// - -#include "stdafx.h" -#include "9222cdma.h" -#include "9222cdmaDlg.h" -#include "CardIDDlg.h" - -#ifdef _DEBUG -#define new DEBUG_NEW -#endif - - -// C9222cdmaApp - -BEGIN_MESSAGE_MAP(C9222cdmaApp, CWinAppEx) - ON_COMMAND(ID_HELP, &CWinApp::OnHelp) -END_MESSAGE_MAP() - - -// C9222cdmaApp construction - -C9222cdmaApp::C9222cdmaApp() -{ - // TODO: add construction code here, - // Place all significant initialization in InitInstance -} - - -// The one and only C9222cdmaApp object - -C9222cdmaApp theApp; - - -// C9222cdmaApp initialization - -BOOL C9222cdmaApp::InitInstance() -{ - int nCardID = 0; - I16 hCard; - CString strTemp; - INT_PTR nResponse; - - // InitCommonControlsEx() is required on Windows XP if an application - // manifest specifies use of ComCtl32.dll version 6 or later to enable - // visual styles. Otherwise, any window creation will fail. - INITCOMMONCONTROLSEX InitCtrls; - InitCtrls.dwSize = sizeof(InitCtrls); - // Set this to include all the common control classes you want to use - // in your application. - InitCtrls.dwICC = ICC_WIN95_CLASSES; - InitCommonControlsEx(&InitCtrls); - - CWinAppEx::InitInstance(); - - AfxEnableControlContainer(); - - // Standard initialization - // If you are not using these features and wish to reduce the size - // of your final executable, you should remove from the following - // the specific initialization routines you do not need - // Change the registry key under which our settings are stored - // TODO: You should modify this string to be something appropriate - // such as the name of your company or organization - SetRegistryKey(_T("Local AppWizard-Generated Applications")); - - CCardIDDlg CardDlg( nCardID ); - - nResponse = CardDlg.DoModal(); - if (nResponse == IDOK) - { - nCardID = CardDlg.GetCardID(); - - if ((hCard=Register_Card(PCI_9222, nCardID)) < 0) - { - strTemp.Format( TEXT("Register_Card Error = %d"), hCard); - AfxMessageBox( strTemp ); - } - else - { - C9222cdmaDlg dlg(hCard); - m_pMainWnd = &dlg; - nResponse = dlg.DoModal(); - if (nResponse == IDOK) - { - // TODO: Place code here to handle when the dialog is - // dismissed with OK - } - else if (nResponse == IDCANCEL) - { - // TODO: Place code here to handle when the dialog is - // dismissed with Cancel - } - - if (hCard >= 0) Release_Card(hCard); - } - - } - else if (nResponse == IDCANCEL) - { - // TODO: Place code here to handle when the dialog is - // dismissed with Cancel - } - - // Since the dialog has been closed, return FALSE so that we exit the - // application, rather than start the application's message pump. - return FALSE; -} diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AIDma_Dbf/9222cdma.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AIDma_Dbf/9222cdma.h deleted file mode 100644 index 16a6900..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AIDma_Dbf/9222cdma.h +++ /dev/null @@ -1,34 +0,0 @@ - -// 9222cdma.h : main header file for the PROJECT_NAME application -// - -#pragma once - -#ifndef __AFXWIN_H__ - #error "include 'stdafx.h' before including this file for PCH" -#endif - -#include "resource.h" // main symbols - -#define AI_MODE_DMA 0 -#define AI_MODE_INT 1 - -// C9222cdmaApp: -// See 9222cdma.cpp for the implementation of this class -// - -class C9222cdmaApp : public CWinAppEx -{ -public: - C9222cdmaApp(); - -// Overrides - public: - virtual BOOL InitInstance(); - -// Implementation - - DECLARE_MESSAGE_MAP() -}; - -extern C9222cdmaApp theApp; \ No newline at end of file diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AIDma_Dbf/9222cdma.rc b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AIDma_Dbf/9222cdma.rc deleted file mode 100644 index 9c37ec7..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AIDma_Dbf/9222cdma.rc +++ /dev/null @@ -1,293 +0,0 @@ -// Microsoft Visual C++ generated resource script. -// -#include "resource.h" - -#define APSTUDIO_READONLY_SYMBOLS -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 2 resource. -// -#ifndef APSTUDIO_INVOKED -#include "targetver.h" -#endif -#include "afxres.h" - -///////////////////////////////////////////////////////////////////////////// -#undef APSTUDIO_READONLY_SYMBOLS - -///////////////////////////////////////////////////////////////////////////// -// Chinese (Taiwan) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_CHT) -#ifdef _WIN32 -LANGUAGE LANG_CHINESE, SUBLANG_CHINESE_TRADITIONAL -#pragma code_page(950) -#endif //_WIN32 - -#ifdef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// TEXTINCLUDE -// - -1 TEXTINCLUDE -BEGIN - "resource.h\0" -END - -2 TEXTINCLUDE -BEGIN - "#ifndef APSTUDIO_INVOKED\r\n" - "#include ""targetver.h""\r\n" - "#endif\r\n" - "#include ""afxres.h""\r\n" - "\0" -END - -3 TEXTINCLUDE -BEGIN - "#define _AFX_NO_SPLITTER_RESOURCES\r\n" - "#define _AFX_NO_OLE_RESOURCES\r\n" - "#define _AFX_NO_TRACKER_RESOURCES\r\n" - "#define _AFX_NO_PROPERTY_RESOURCES\r\n" - "\r\n" - "#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)\r\n" - "LANGUAGE 9, 1\r\n" - "#pragma code_page(1252)\r\n" - "#include ""res\\My9222cdma.rc2"" // non-Microsoft Visual C++ edited resources\r\n" - "#include ""afxres.rc"" // Standard components\r\n" - "#endif\r\n" - "\0" -END - -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// Icon -// - -// Icon with lowest ID value placed first to ensure application icon -// remains consistent on all systems. -IDR_MAINFRAME ICON "res\\9222cdma.ico" -#endif // Chinese (Taiwan) resources -///////////////////////////////////////////////////////////////////////////// - - -///////////////////////////////////////////////////////////////////////////// -// English (U.S.) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -#ifdef _WIN32 -LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US -#pragma code_page(1252) -#endif //_WIN32 - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog -// - -IDD_ABOUTBOX DIALOGEX 0, 0, 170, 62 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "About 9222cdma" -FONT 8, "MS Shell Dlg", 0, 0, 0x1 -BEGIN - ICON IDR_MAINFRAME,IDC_STATIC,14,14,21,20 - LTEXT "9222cdma, Version 1.0",IDC_STATIC,42,14,114,8,SS_NOPREFIX - LTEXT "Copyright (C) 2010",IDC_STATIC,42,26,114,8 - DEFPUSHBUTTON "OK",IDOK,113,41,50,14,WS_GROUP -END - -IDD_9222DMA_DIALOG DIALOGEX 0, 0, 365, 232 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU -EXSTYLE WS_EX_APPWINDOW -CAPTION "PCI-9222 Double-Buffered DMA (Single-End Singal)" -FONT 8, "MS Shell Dlg", 0, 0, 0x1 -BEGIN - GROUPBOX "",IDC_STATIC_DRAW,45,9,248,161,NOT WS_VISIBLE - LTEXT "Range : +/- 10V",IDC_STATIC,299,129,52,15 - LTEXT "Buffer Size :",IDC_STATIC,124,184,42,9 - EDITTEXT IDC_EDIT_SCAN_ITERVAL,47,198,39,14,ES_AUTOHSCROLL | ES_READONLY - LTEXT "Sample Interval :",IDC_STATIC,47,184,60,9 - SCROLLBAR IDC_SCROLLBAR_RATE,87,198,9,11,SBS_VERT - PUSHBUTTON "Start",IDC_BT_START,230,188,55,22 - CONTROL "0",IDC_RADIO_CH0,"Button",BS_AUTORADIOBUTTON | BS_LEFTTEXT,307,20,16,12 - CONTROL "1",IDC_RADIO_CH1,"Button",BS_AUTORADIOBUTTON | BS_LEFTTEXT,307,35,16,12 - CONTROL "2",IDC_RADIO_CH2,"Button",BS_AUTORADIOBUTTON | BS_LEFTTEXT,307,49,16,12 - CONTROL "3",IDC_RADIO_CH3,"Button",BS_AUTORADIOBUTTON | BS_LEFTTEXT,307,64,16,12 - CONTROL "4",IDC_RADIO_CH4,"Button",BS_AUTORADIOBUTTON | BS_LEFTTEXT,331,20,16,12 - CONTROL "5",IDC_RADIO_CH5,"Button",BS_AUTORADIOBUTTON | BS_LEFTTEXT,331,35,16,12 - CONTROL "6",IDC_RADIO_CH6,"Button",BS_AUTORADIOBUTTON | BS_LEFTTEXT,331,49,16,12 - CONTROL "7",IDC_RADIO_CH7,"Button",BS_AUTORADIOBUTTON | BS_LEFTTEXT,331,64,16,12 - EDITTEXT IDC_EDIT_BUF_SIZE,122,198,46,14,ES_AUTOHSCROLL - PUSHBUTTON "Stop",IDC_BT_STOP,291,188,55,22 - LTEXT "Overrun :",IDC_STATIC,182,184,36,9 - EDITTEXT IDC_EDIT_OVERRUN,180,198,36,14,ES_AUTOHSCROLL | ES_READONLY -END - -IDD_CARDID_DIALOG DIALOGEX 0, 0, 174, 108 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "Card ID" -FONT 8, "MS Shell Dlg", 400, 0, 0x1 -BEGIN - COMBOBOX IDC_COMBO_CARDID,78,24,71,126,CBS_DROPDOWN | WS_VSCROLL | WS_TABSTOP - LTEXT "Card Number",IDC_STATIC_01,23,25,46,12 - PUSHBUTTON "OK",IDOK,22,70,58,19 - PUSHBUTTON "CANCEL",IDCANCEL,86,70,58,19 -END - - -///////////////////////////////////////////////////////////////////////////// -// -// Version -// - -VS_VERSION_INFO VERSIONINFO - FILEVERSION 1,0,0,1 - PRODUCTVERSION 1,0,0,1 - FILEFLAGSMASK 0x3fL -#ifdef _DEBUG - FILEFLAGS 0x1L -#else - FILEFLAGS 0x0L -#endif - FILEOS 0x4L - FILETYPE 0x1L - FILESUBTYPE 0x0L -BEGIN - BLOCK "StringFileInfo" - BEGIN - BLOCK "040904e4" - BEGIN - VALUE "CompanyName", "TODO: " - VALUE "FileDescription", "TODO: " - VALUE "FileVersion", "1.0.0.1" - VALUE "InternalName", "9222cdma.exe" - VALUE "LegalCopyright", "TODO: (c) . All rights reserved." - VALUE "OriginalFilename", "9222cdma.exe" - VALUE "ProductName", "TODO: " - VALUE "ProductVersion", "1.0.0.1" - END - END - BLOCK "VarFileInfo" - BEGIN - VALUE "Translation", 0x409, 1252 - END -END - - -///////////////////////////////////////////////////////////////////////////// -// -// DESIGNINFO -// - -#ifdef APSTUDIO_INVOKED -GUIDELINES DESIGNINFO -BEGIN - IDD_ABOUTBOX, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 163 - TOPMARGIN, 7 - BOTTOMMARGIN, 55 - END - - IDD_CARDID_DIALOG, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 167 - TOPMARGIN, 7 - BOTTOMMARGIN, 101 - END -END -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog Info -// - -IDD_CARDID_DIALOG DLGINIT -BEGIN - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0030, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0031, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0032, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0033, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0034, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0035, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0036, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0037, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0038, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0039, - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3031, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3131, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3231, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3331, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3431, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3531, "\000" - 0 -END - - -///////////////////////////////////////////////////////////////////////////// -// -// Bitmap -// - -IDB_BITMAP_SET1 BITMAP "res\\ch_set1.bmp" -IDB_BITMAP_SET2 BITMAP "res\\ch_set2.bmp" - -///////////////////////////////////////////////////////////////////////////// -// -// String Table -// - -STRINGTABLE -BEGIN - IDS_ABOUTBOX "&About 9222cdma..." -END - -#endif // English (U.S.) resources -///////////////////////////////////////////////////////////////////////////// - - - -#ifndef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 3 resource. -// -#define _AFX_NO_SPLITTER_RESOURCES -#define _AFX_NO_OLE_RESOURCES -#define _AFX_NO_TRACKER_RESOURCES -#define _AFX_NO_PROPERTY_RESOURCES - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -LANGUAGE 9, 1 -#pragma code_page(1252) -#include "res\My9222cdma.rc2" // non-Microsoft Visual C++ edited resources -#include "afxres.rc" // Standard components -#endif - -///////////////////////////////////////////////////////////////////////////// -#endif // not APSTUDIO_INVOKED - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AIDma_Dbf/9222cdma.sln b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AIDma_Dbf/9222cdma.sln deleted file mode 100644 index dab32f7..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AIDma_Dbf/9222cdma.sln +++ /dev/null @@ -1,20 +0,0 @@ - -Microsoft Visual Studio Solution File, Format Version 10.00 -# Visual Studio 2008 -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "9222cdma", "9222cdma.vcproj", "{702163FB-B6DF-4EF5-9491-FC54D71509BC}" -EndProject -Global - GlobalSection(SolutionConfigurationPlatforms) = preSolution - Debug|x64 = Debug|x64 - Release|x64 = Release|x64 - EndGlobalSection - GlobalSection(ProjectConfigurationPlatforms) = postSolution - {702163FB-B6DF-4EF5-9491-FC54D71509BC}.Debug|x64.ActiveCfg = Debug|x64 - {702163FB-B6DF-4EF5-9491-FC54D71509BC}.Debug|x64.Build.0 = Debug|x64 - {702163FB-B6DF-4EF5-9491-FC54D71509BC}.Release|x64.ActiveCfg = Release|x64 - {702163FB-B6DF-4EF5-9491-FC54D71509BC}.Release|x64.Build.0 = Release|x64 - EndGlobalSection - GlobalSection(SolutionProperties) = preSolution - HideSolutionNode = FALSE - EndGlobalSection -EndGlobal diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AIDma_Dbf/9222cdma.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AIDma_Dbf/9222cdma.suo deleted file mode 100644 index 162d0e2..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AIDma_Dbf/9222cdma.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AIDma_Dbf/9222cdma.vcproj b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AIDma_Dbf/9222cdma.vcproj deleted file mode 100644 index 6564bd4..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AIDma_Dbf/9222cdma.vcproj +++ /dev/null @@ -1,294 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AIDma_Dbf/9222cdmaDlg.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AIDma_Dbf/9222cdmaDlg.cpp deleted file mode 100644 index 6d9c7b9..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AIDma_Dbf/9222cdmaDlg.cpp +++ /dev/null @@ -1,742 +0,0 @@ - -// 9222cdmaDlg.cpp : implementation file -// - -#include "stdafx.h" -#include "9222cdma.h" -#include "9222cdmaDlg.h" - -#ifdef _DEBUG -#define new DEBUG_NEW -#endif - -#define P922X_TIMEBASE 80000000.0 - -CRect plotRect; - -// CAboutDlg dialog used for App About - -class CAboutDlg : public CDialog -{ -public: - CAboutDlg(); - -// Dialog Data - enum { IDD = IDD_ABOUTBOX }; - - protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - -// Implementation -protected: - DECLARE_MESSAGE_MAP() -}; - -CAboutDlg::CAboutDlg() : CDialog(CAboutDlg::IDD) -{ -} - -void CAboutDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); -} - -BEGIN_MESSAGE_MAP(CAboutDlg, CDialog) -END_MESSAGE_MAP() - - -// C9222cdmaDlg dialog - - - - -C9222cdmaDlg::C9222cdmaDlg(I16 hCard, CWnd* pParent /*=NULL*/) - : CDialog(C9222cdmaDlg::IDD, pParent) -{ - m_hIcon = AfxGetApp()->LoadIcon(IDR_MAINFRAME); - - n_PlotWidth = n_PlotHeight = -1; - OnBrush = OffBrush = NULL; - - min_val = 0x00; - max_val = 0xFFFF; - - m_dwSampIntrv = 2000; - - m_hCard = hCard; - - m_wScanChans = 0; - m_nTimer = -1; - m_hMem1 = NULL; - m_hMem2 = NULL; - - m_wRange = AD_B_10_V; - max_range = 10.0; - min_range = -10.0; - - m_dwReadCount = 4000; - m_wPostCount = 512; - - m_dwOverrunCnt = 0; - - -} - -void C9222cdmaDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); -} - -BEGIN_MESSAGE_MAP(C9222cdmaDlg, CDialog) - ON_WM_SYSCOMMAND() - ON_WM_PAINT() - ON_WM_QUERYDRAGICON() - //}}AFX_MSG_MAP - ON_WM_DESTROY() - ON_WM_VSCROLL() - ON_BN_CLICKED(IDC_BT_START, &C9222cdmaDlg::OnStart) - ON_BN_CLICKED(IDC_RADIO_CH0, &C9222cdmaDlg::OnCh0) - ON_BN_CLICKED(IDC_RADIO_CH1, &C9222cdmaDlg::OnCh1) - ON_BN_CLICKED(IDC_RADIO_CH2, &C9222cdmaDlg::OnCh2) - ON_BN_CLICKED(IDC_RADIO_CH3, &C9222cdmaDlg::OnCh3) - ON_BN_CLICKED(IDC_RADIO_CH4, &C9222cdmaDlg::OnCh4) - ON_BN_CLICKED(IDC_RADIO_CH5, &C9222cdmaDlg::OnCh5) - ON_BN_CLICKED(IDC_RADIO_CH6, &C9222cdmaDlg::OnCh6) - ON_BN_CLICKED(IDC_RADIO_CH7, &C9222cdmaDlg::OnCh7) - ON_WM_TIMER() - ON_BN_CLICKED(IDC_BT_STOP, &C9222cdmaDlg::OnStop) -END_MESSAGE_MAP() - - -// C9222cdmaDlg message handlers - -BOOL C9222cdmaDlg::OnInitDialog() -{ - CDialog::OnInitDialog(); - - // Add "About..." menu item to system menu. - - // IDM_ABOUTBOX must be in the system command range. - ASSERT((IDM_ABOUTBOX & 0xFFF0) == IDM_ABOUTBOX); - ASSERT(IDM_ABOUTBOX < 0xF000); - - CMenu* pSysMenu = GetSystemMenu(FALSE); - if (pSysMenu != NULL) - { - BOOL bNameValid; - CString strAboutMenu; - bNameValid = strAboutMenu.LoadString(IDS_ABOUTBOX); - ASSERT(bNameValid); - if (!strAboutMenu.IsEmpty()) - { - pSysMenu->AppendMenu(MF_SEPARATOR); - pSysMenu->AppendMenu(MF_STRING, IDM_ABOUTBOX, strAboutMenu); - } - } - - // Set the icon for this dialog. The framework does this automatically - // when the application's main window is not a dialog - SetIcon(m_hIcon, TRUE); // Set big icon - SetIcon(m_hIcon, FALSE); // Set small icon - - // TODO: Add extra initialization here - x_divider = 5; y_divider = 4; - - OnBrush = CreateSolidBrush( RGB(255,0,0) ); - OffBrush = CreateSolidBrush( RGB(125,0,0) ); - - RedPen.CreatePen( PS_SOLID, 1, RGB(255,0,0)); - GreenPen.CreatePen( PS_SOLID, 1, RGB(0,255,0)); - YellowPen.CreatePen( PS_SOLID, 1, RGB(255,255,0)); - BluePen.CreatePen( PS_SOLID, 1, RGB(0,0,255)); - LTBluePen.CreatePen( PS_SOLID, 1, RGB(0,128,255)); - LTRedPen.CreatePen( PS_SOLID, 1, RGB(255,128,0)); - LTGreenPen.CreatePen( PS_SOLID, 1, RGB(0,128,0)); - WhitePen.CreatePen( PS_SOLID, 1, RGB(255,255,255)); - - - if( n_PlotWidth == -1 && n_PlotHeight == -1 ) - { - ((CWnd*)GetDlgItem(IDC_STATIC_DRAW))->GetWindowRect(&plotRect); - ScreenToClient(&plotRect); - - n_PlotWidth = min( plotRect.Width(), 512); - n_PlotHeight = plotRect.Height() - 10; - } - - // set the default SampleRate - - SetDlgItemInt( IDC_EDIT_SAMPLE_RATE, (UINT)(m_dwSampIntrv) ); - SetDlgItemInt( IDC_EDIT_BUF_SIZE, (UINT)(m_dwReadCount) ); - ((CButton*)GetDlgItem( IDC_RADIO_CH0 ))->SetCheck( TRUE ); - - SetDlgItemInt( IDC_EDIT_OVERRUN, (UINT)(m_dwOverrunCnt) ); - - return TRUE; // return TRUE unless you set the focus to a control -} - -void C9222cdmaDlg::OnSysCommand(UINT nID, LPARAM lParam) -{ - if ((nID & 0xFFF0) == IDM_ABOUTBOX) - { - CAboutDlg dlgAbout; - dlgAbout.DoModal(); - } - else - { - CDialog::OnSysCommand(nID, lParam); - } -} - -// If you add a minimize button to your dialog, you will need the code below -// to draw the icon. For MFC applications using the document/view model, -// this is automatically done for you by the framework. - -void C9222cdmaDlg::OnPaint() -{ - if (IsIconic()) - { - CPaintDC dc(this); // device context for painting - - SendMessage(WM_ICONERASEBKGND, reinterpret_cast(dc.GetSafeHdc()), 0); - - // Center icon in client rectangle - int cxIcon = GetSystemMetrics(SM_CXICON); - int cyIcon = GetSystemMetrics(SM_CYICON); - CRect rect; - GetClientRect(&rect); - int x = (rect.Width() - cxIcon + 1) / 2; - int y = (rect.Height() - cyIcon + 1) / 2; - - // Draw the icon - dc.DrawIcon(x, y, m_hIcon); - } - else - { - redraw_display_area(); - CDialog::OnPaint(); - } -} - -// The system calls this function to obtain the cursor to display while the user drags -// the minimized window. -HCURSOR C9222cdmaDlg::OnQueryDragIcon() -{ - return static_cast(m_hIcon); -} - - -void C9222cdmaDlg::redraw_display_area(void) -{ - CPen *oldPen; - - int oldMode; - COLORREF oldColor; - - CString y_lable; - - CPen minor_tick( PS_SOLID,1,RGB(132,130,132) ); -// CPen y_grid( PS_SOLID,1,RGB(206,203,132) ); - - int i, x_intv, y_intv; -// long total_sec; - - CClientDC dc_plot(this); - - // draw the base-line for x-y axises - oldPen = (CPen *)dc_plot.SelectStockObject(BLACK_PEN); - - // redraw the background - dc_plot.FillSolidRect( plotRect, RGB(0,0,0) ); - - // Re-Draw the AREA for Y-Lable - { - CBrush DIALOG_BRUSH; - CRect redraw_area, full_client; - - GetClientRect(&full_client); - ScreenToClient(&full_client); - - redraw_area.left = full_client.left; - redraw_area.top = plotRect.top - 5; - redraw_area.right = plotRect.left - 3; - redraw_area.bottom = plotRect.bottom + 10; - - DIALOG_BRUSH.CreateSysColorBrush( COLOR_3DFACE ); - - dc_plot.FillRect( redraw_area, &DIALOG_BRUSH ); - - DIALOG_BRUSH.DeleteObject(); - } - - dc_plot.MoveTo( plotRect.left - 3, plotRect.top ); - dc_plot.LineTo( plotRect.left - 3, plotRect.bottom ); - - // calculate the interval for tick/grid - y_intv = (plotRect.Height() - 10) /y_divider; - x_intv = plotRect.Width()/x_divider; - - - // set the color for tick - oldColor = dc_plot.SetTextColor( RGB(0,0,0) ); - oldMode = dc_plot.SetBkMode( TRANSPARENT ); - - for( i=0; i<= y_divider; i++ ) - { - CString tick_str; - CRect tmp_rect, tick_rect; - - // draw the tick for y-axis - dc_plot.MoveTo( plotRect.left -12, plotRect.bottom -5 - (i*y_intv) ); - dc_plot.LineTo( plotRect.left -3, plotRect.bottom -5 - (i*y_intv) ); - - tick_str.Format( _T("%.1f"), ( ((max_range-min_range)/y_divider) * i)+min_range ); - - // calculate the rectangle for text - dc_plot.DrawText( tick_str, &tmp_rect, DT_CALCRECT|DT_SINGLELINE ); - tick_rect.right = plotRect.left -14; - tick_rect.left = tick_rect.right - tmp_rect.Width(); - tick_rect.top = plotRect.bottom -5 - (i*y_intv) - tmp_rect.Height()/2; - tick_rect.bottom = tick_rect.top + tmp_rect.Height(); - - // draw the text - dc_plot.DrawText( tick_str, &tick_rect, DT_SINGLELINE|DT_RIGHT ); - - } - - // draw the minor_tick for Y axises - dc_plot.SelectObject(&minor_tick); - for( i=0; i< y_divider; i++ ) - { - dc_plot.MoveTo( plotRect.left -9, plotRect.bottom -5 - (i*y_intv) - y_intv/2 ); - dc_plot.LineTo( plotRect.left -4, plotRect.bottom -5 - (i*y_intv) - y_intv/2 ); - } - - dc_plot.SetTextColor( oldColor ); - dc_plot.SetBkMode( oldMode ); - dc_plot.SelectObject( oldPen ); -} - -void C9222cdmaDlg::OnDestroy() -{ - CDialog::OnDestroy(); - - // TODO: Add your message handler code here - if( m_nTimer != -1 ) - { - KillTimer( m_nTimer ); - m_nTimer = -1; - } - - if (m_hMem1 != NULL) - { - GlobalUnfix(m_hMem1); - GlobalUnlock(m_hMem1); - GlobalFree(m_hMem1); - - m_hMem1 = NULL; - } - - if (m_hMem2 != NULL) - { - GlobalUnfix(m_hMem2); - GlobalUnlock(m_hMem2); - GlobalFree(m_hMem2); - - m_hMem2 = NULL; - } - - if( OnBrush != NULL ) - ::DeleteObject( OnBrush ); - - if( OffBrush != NULL ) - ::DeleteObject( OffBrush ); - - RedPen.DeleteObject(); - GreenPen.DeleteObject(); - YellowPen.DeleteObject(); - BluePen.DeleteObject(); - LTBluePen.DeleteObject(); - LTRedPen.DeleteObject(); - LTGreenPen.DeleteObject(); - WhitePen.DeleteObject(); - -} - -void C9222cdmaDlg::OnVScroll(UINT nSBCode, UINT nPos, CScrollBar* pScrollBar) -{ - // TODO: Add your message handler code here and/or call default - switch ( nSBCode ) - { - case SB_LINEUP : - m_dwSampIntrv += 160; - if (m_dwSampIntrv > 40000 ) m_dwSampIntrv = 40000; - break; - case SB_LINEDOWN: - m_dwSampIntrv -= 160; - if (m_dwSampIntrv < 320 ) m_dwSampIntrv = 320; - break; - } - - SetDlgItemInt( IDC_EDIT_SCAN_ITERVAL, (UINT)(m_dwSampIntrv) ); - - CDialog::OnVScroll(nSBCode, nPos, pScrollBar); -} - - -void C9222cdmaDlg::OnStop() -{ - // TODO: Add your control notification handler code here - U32 count; - - if( m_nTimer != -1 ) - { - KillTimer( m_nTimer ); - m_nTimer = -1; - } - - AI_AsyncClear(m_hCard, &count); - - GetDlgItem( IDC_BT_START )->EnableWindow(TRUE); - - GetDlgItem( IDC_RADIO_CH0 )->EnableWindow(TRUE); - GetDlgItem( IDC_RADIO_CH1 )->EnableWindow(TRUE); - GetDlgItem( IDC_RADIO_CH2 )->EnableWindow(TRUE); - GetDlgItem( IDC_RADIO_CH3 )->EnableWindow(TRUE); - GetDlgItem( IDC_RADIO_CH4 )->EnableWindow(TRUE); - GetDlgItem( IDC_RADIO_CH5 )->EnableWindow(TRUE); - GetDlgItem( IDC_RADIO_CH6 )->EnableWindow(TRUE); - GetDlgItem( IDC_RADIO_CH7 )->EnableWindow(TRUE); -} - -void C9222cdmaDlg::OnStart() -{ - // TODO: Add your control notification handler code here - DWORD mem_size; - CString strTemp; - I16 err; - - GetDlgItem( IDC_BT_START )->EnableWindow(FALSE); - - GetDlgItem( IDC_RADIO_CH0 )->EnableWindow(FALSE); - GetDlgItem( IDC_RADIO_CH1 )->EnableWindow(FALSE); - GetDlgItem( IDC_RADIO_CH2 )->EnableWindow(FALSE); - GetDlgItem( IDC_RADIO_CH3 )->EnableWindow(FALSE); - GetDlgItem( IDC_RADIO_CH4 )->EnableWindow(FALSE); - GetDlgItem( IDC_RADIO_CH5 )->EnableWindow(FALSE); - GetDlgItem( IDC_RADIO_CH6 )->EnableWindow(FALSE); - GetDlgItem( IDC_RADIO_CH7 )->EnableWindow(FALSE); - - m_dwReadCount = GetDlgItemInt(IDC_EDIT_BUF_SIZE); - - if (m_hMem1 != NULL) - { - GlobalUnfix(m_hMem1); - GlobalUnlock(m_hMem1); - GlobalFree(m_hMem1); - - m_hMem1 = NULL; - } - - if (m_hMem2 != NULL) - { - GlobalUnfix(m_hMem2); - GlobalUnlock(m_hMem2); - GlobalFree(m_hMem2); - - m_hMem2 = NULL; - } - - // allocate a memory for user DMA buffer - mem_size = m_dwReadCount * sizeof(I16); - - m_hMem1 = GlobalAlloc(GMEM_FIXED | GMEM_ZEROINIT, mem_size); - m_pAIBuf1 = (U16*) GlobalLock(m_hMem1); - if (m_pAIBuf1 == NULL ) - { - AfxMessageBox( TEXT("Memory allocation failed"), MB_OK); - return; - } - GlobalFix(m_hMem1); - - m_hMem2 = GlobalAlloc(GMEM_FIXED | GMEM_ZEROINIT, mem_size); - m_pAIBuf2 = (U16*) GlobalLock(m_hMem2); - if (m_pAIBuf2 == NULL ) - { - AfxMessageBox( TEXT("Memory allocation failed"), MB_OK); - return; - } - GlobalFix(m_hMem2); - - m_oldY[0] = m_oldY[1] = m_oldY[2] = m_oldY[3] = m_oldY[4] = m_oldY[5] = m_oldY[6] = m_oldY[7] = -1; - m_oldX[0] = m_oldX[1] = m_oldX[2] = m_oldX[3] = m_oldX[4] = m_oldX[5] = m_oldX[6] = m_oldX[7] = -1; - - if ((err = AI_9222_Config(m_hCard, P922x_AI_SingEnded|P922x_AI_CONVSRC_INT, P922x_AI_TRGMOD_POST|P922x_AI_TRGSRC_SOFT, 0, TRUE)) != NoError) - { - strTemp.Format( TEXT("AI_9222_Config error=%d"), err); - AfxMessageBox( strTemp ); - return; - } - - if ((err = AI_9222_CounterInterval(m_hCard, m_dwSampIntrv, m_dwSampIntrv)) != NoError) - { - strTemp.Format( TEXT("AI_9221_CounterInterval error=%d"), err); - AfxMessageBox( strTemp ); - return; - } - - if ((err = AI_AsyncDblBufferMode (m_hCard, 1)) != NoError) - { - strTemp.Format( TEXT("AI_AsyncDblBufferMode error=%d"), err); - AfxMessageBox( strTemp ); - return; - } - - if ((err = AI_ContBufferSetup (m_hCard, m_pAIBuf1, m_dwReadCount, &m_wBufferID1)) != NoError) - { - strTemp.Format( TEXT("AI_ContBufferSetup error=%d"), err); - AfxMessageBox( strTemp ); - return; - } - - if ((err = AI_ContBufferSetup (m_hCard, m_pAIBuf2, m_dwReadCount, &m_wBufferID2)) != NoError) - { - strTemp.Format( TEXT("AI_ContBufferSetup error=%d"), err); - AfxMessageBox( strTemp ); - return; - } - - m_bView = 0; - - if ((err=AI_ContReadChannel(m_hCard, m_wScanChans, m_wRange, &m_wBufferID1, m_dwReadCount, 0, ASYNCH_OP)) != NoError) - { - strTemp.Format( TEXT("AI_ContReadChannel error=%d"), err); - AfxMessageBox( strTemp ); - return; - } - - m_nTimer = SetTimer( 1, 20, NULL ); - -} - -int C9222cdmaDlg::display_buffer_data(U16* pBuf) -{ - CClientDC dc_plot(this); - int nDraw_Origin_Y; - int cur_channel; - - int newY = -1; - int newX = -1; - U32 index; - I16 ai_data; - U32 dwDataSize = m_dwReadCount; - - // redraw the background - dc_plot.FillSolidRect( plotRect, RGB(0,0,0) ); - - cur_channel = m_wScanChans; - - switch(cur_channel) - { - case 0: - dc_plot.SelectObject(&YellowPen); - break; - case 1: - dc_plot.SelectObject(<GreenPen); - break; - case 2: - dc_plot.SelectObject(&BluePen); - break; - case 3: - dc_plot.SelectObject(&RedPen); - break; - case 4: - dc_plot.SelectObject(<BluePen); - break; - case 5: - dc_plot.SelectObject(<RedPen); - break; - case 6: - dc_plot.SelectObject(&GreenPen); - break; - case 7: - dc_plot.SelectObject(&WhitePen); - break; - } - - nDraw_Origin_Y = ( plotRect.bottom - 5 ) - n_PlotHeight/2; - - - - for( index=0; index> 16) ); // ( n_PlotHeight * ai_data / 65536) ); // ( (n_PlotHeight/2) * ai_data/32768 ) ); - - newX = (int)( index*n_PlotWidth/dwDataSize + plotRect.left ); - - - if ( index == 0 ) - { - dc_plot.MoveTo( newX, newY ); - } - else - { - dc_plot.MoveTo( m_oldX[cur_channel], m_oldY[cur_channel] ); - dc_plot.LineTo( newX, newY ); - } - - m_oldX[cur_channel] = newX; - m_oldY[cur_channel] = newY; - } - - return 0; -} - -void C9222cdmaDlg::OnTimer(UINT_PTR nIDEvent) -{ - // TODO: Add your message handler code here and/or call default - BOOLEAN HalfReady; - BOOLEAN fstop; - U16 OverrunFlag; - - AI_AsyncDblBufferHalfReady(m_hCard, &HalfReady, &fstop); - - if( HalfReady ) // half-buffer ready - { - if(m_bView == 0) - { - display_buffer_data( m_pAIBuf1 ); - m_bView = 1; - } - else - { - display_buffer_data( m_pAIBuf2 ); - m_bView= 0; - } - - AI_AsyncDblBufferHandled( m_hCard ); - AI_AsyncDblBufferOverrun( m_hCard, 0, &OverrunFlag); - - if(OverrunFlag) - { - m_dwOverrunCnt++; - AI_AsyncDblBufferOverrun( m_hCard, 1, NULL ); - SetDlgItemInt( IDC_EDIT_OVERRUN, (UINT)(m_dwOverrunCnt) ); - } - - - } - - CDialog::OnTimer(nIDEvent); -} - -void C9222cdmaDlg::OnCh0() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_RADIO_CH0 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_wScanChans = 0; - } - -} - -void C9222cdmaDlg::OnCh1() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_RADIO_CH1 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_wScanChans = 1; - } -} - -void C9222cdmaDlg::OnCh2() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_RADIO_CH2 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_wScanChans = 2; - } -} - -void C9222cdmaDlg::OnCh3() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_RADIO_CH3 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_wScanChans = 3; - } -} - -void C9222cdmaDlg::OnCh4() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_RADIO_CH4 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_wScanChans = 4; - } -} - -void C9222cdmaDlg::OnCh5() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_RADIO_CH5 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_wScanChans = 5; - } -} - -void C9222cdmaDlg::OnCh6() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_RADIO_CH6 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_wScanChans = 6; - } -} - -void C9222cdmaDlg::OnCh7() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_RADIO_CH7 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_wScanChans = 7; - } -} - - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AIDma_Dbf/9222cdmaDlg.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AIDma_Dbf/9222cdmaDlg.h deleted file mode 100644 index 2fc09ed..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AIDma_Dbf/9222cdmaDlg.h +++ /dev/null @@ -1,86 +0,0 @@ - -// 9222cdmaDlg.h : header file -#pragma once -#include "afxcmn.h" -#include "afxwin.h" - -#include "Dask64.h" - -// C9222cdmaDlg dialog -class C9222cdmaDlg : public CDialog -{ -// Construction -public: - C9222cdmaDlg(I16 hCard, CWnd* pParent = NULL); // standard constructor - -// Dialog Data - enum { IDD = IDD_9222DMA_DIALOG }; - - protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - - -// Implementation -protected: - HICON m_hIcon; - UINT_PTR m_nTimer; - I16 m_hCard; - U32 m_dwSampIntrv; - U16 m_wScanChans; - HANDLE m_hMem1; - HANDLE m_hMem2; - U16 *m_pAIBuf1; - U16 *m_pAIBuf2; - U16 m_wBufferID1; - U16 m_wBufferID2; - U16 m_wRange; - int m_oldY[8]; - int m_oldX[8]; - U32 m_dwReadCount; - U16 m_wPostCount; - U8 m_bView; - U32 m_dwOverrunCnt; - - // Generated message map functions - virtual BOOL OnInitDialog(); - afx_msg void OnSysCommand(UINT nID, LPARAM lParam); - afx_msg void OnPaint(); - afx_msg HCURSOR OnQueryDragIcon(); - DECLARE_MESSAGE_MAP() - -public: - WORD max_val; - WORD min_val; - double max_range; - double min_range; - int n_PlotWidth; - int n_PlotHeight; - int y_divider; - int x_divider; - int m_DisplayScale; - HBRUSH OnBrush; - HBRUSH OffBrush; - CPen RedPen; - CPen GreenPen; - CPen YellowPen; - CPen BluePen; - CPen LTBluePen; - CPen LTRedPen; - CPen LTGreenPen; - CPen WhitePen; - void redraw_display_area(void); - afx_msg void OnDestroy(); - afx_msg void OnVScroll(UINT nSBCode, UINT nPos, CScrollBar* pScrollBar); - afx_msg void OnStart(); - int display_buffer_data(U16* pBuf); - afx_msg void OnCh0(); - afx_msg void OnCh1(); - afx_msg void OnCh2(); - afx_msg void OnCh3(); - afx_msg void OnCh4(); - afx_msg void OnCh5(); - afx_msg void OnCh6(); - afx_msg void OnCh7(); - afx_msg void OnTimer(UINT_PTR nIDEvent); - afx_msg void OnStop(); -}; diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AIDma_Dbf/CardIDDlg.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AIDma_Dbf/CardIDDlg.cpp deleted file mode 100644 index 55c0363..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AIDma_Dbf/CardIDDlg.cpp +++ /dev/null @@ -1,64 +0,0 @@ -// CardIDDlg.cpp : implementation file -// -#include "stdafx.h" -#include "9222cdma.h" -#include "9222cdmaDlg.h" -#include "CardIDDlg.h" - -// CCardIDDlg dialog - -IMPLEMENT_DYNAMIC(CCardIDDlg, CDialog) - -CCardIDDlg::CCardIDDlg(int nCardIdx, CWnd* pParent /*=NULL*/) - : CDialog(CCardIDDlg::IDD, pParent) -{ - m_nCardIdx = nCardIdx; -} - -CCardIDDlg::~CCardIDDlg() -{ -} - -void CCardIDDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); - DDX_Control(pDX, IDC_COMBO_CARDID, m_cbCardID); -} - - -BEGIN_MESSAGE_MAP(CCardIDDlg, CDialog) -// ON_CBN_SELCHANGE(IDC_COMBO_CARDID, &CCardIDDlg::OnCbnSelchangeComboCardid) -ON_BN_CLICKED(IDOK, &CCardIDDlg::OnBnClickedOk) -//ON_WM_CTLCOLOR() -END_MESSAGE_MAP() - - -// CCardIDDlg message handlers - - -void CCardIDDlg::OnBnClickedOk() -{ - // TODO: Add your control notification handler code here - -// UpdateData(TRUE); - m_nCardIdx = m_cbCardID.GetCurSel(); - - OnOK(); -} - -BOOL CCardIDDlg::OnInitDialog() -{ - CDialog::OnInitDialog(); - - // TODO: Add extra initialization here - m_cbCardID.SetCurSel( m_nCardIdx ); - - return TRUE; // return TRUE unless you set the focus to a control - // EXCEPTION: OCX Property Pages should return FALSE -} - -// the function to get the selected CardID -int CCardIDDlg::GetCardID(void) -{ - return m_nCardIdx; -} diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AIDma_Dbf/CardIDDlg.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AIDma_Dbf/CardIDDlg.h deleted file mode 100644 index 9c02c58..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AIDma_Dbf/CardIDDlg.h +++ /dev/null @@ -1,32 +0,0 @@ -#pragma once -#include "afxwin.h" - -#include "Dask64.h" - -// CCardIDDlg dialog - -class CCardIDDlg : public CDialog -{ - DECLARE_DYNAMIC(CCardIDDlg) - -public: - CCardIDDlg(int nCardIdx, CWnd* pParent = NULL); // standard constructor - virtual ~CCardIDDlg(); - -// Dialog Data - enum { IDD = IDD_CARDID_DIALOG }; - -protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - - DECLARE_MESSAGE_MAP() -public: - virtual BOOL OnInitDialog(); - afx_msg void OnBnClickedOk(); - // the setting of CardID ComboBox - int m_nCardIdx; - // the control of CardID ComboBox - CComboBox m_cbCardID; - // the function to get the selected CardID - int GetCardID(void); -}; diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AIDma_Dbf/ReadMe.txt b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AIDma_Dbf/ReadMe.txt deleted file mode 100644 index 6e83f34..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AIDma_Dbf/ReadMe.txt +++ /dev/null @@ -1,93 +0,0 @@ -================================================================================ - MICROSOFT FOUNDATION CLASS LIBRARY : 9222cdma Project Overview -=============================================================================== - -The application wizard has created this 9222cdma application for -you. This application not only demonstrates the basics of using the Microsoft -Foundation Classes but is also a starting point for writing your application. - -This file contains a summary of what you will find in each of the files that -make up your 9222cdma application. - -9222cdma.vcproj - This is the main project file for VC++ projects generated using an application wizard. - It contains information about the version of Visual C++ that generated the file, and - information about the platforms, configurations, and project features selected with the - application wizard. - -9222cdma.h - This is the main header file for the application. It includes other - project specific headers (including Resource.h) and declares the - C9222cdmaApp application class. - -9222cdma.cpp - This is the main application source file that contains the application - class C9222cdmaApp. - -9222cdma.rc - This is a listing of all of the Microsoft Windows resources that the - program uses. It includes the icons, bitmaps, and cursors that are stored - in the RES subdirectory. This file can be directly edited in Microsoft - Visual C++. Your project resources are in 1033. - -res\9222cdma.ico - This is an icon file, which is used as the application's icon. This - icon is included by the main resource file 9222cdma.rc. - -res\My9222cdma.rc2 - This file contains resources that are not edited by Microsoft - Visual C++. You should place all resources not editable by - the resource editor in this file. - - -///////////////////////////////////////////////////////////////////////////// - -The application wizard creates one dialog class: - -9222cdmaDlg.h, 9222cdmaDlg.cpp - the dialog - These files contain your C9222cdmaDlg class. This class defines - the behavior of your application's main dialog. The dialog's template is - in 9222cdma.rc, which can be edited in Microsoft Visual C++. - - -///////////////////////////////////////////////////////////////////////////// - -Other Features: - -ActiveX Controls - The application includes support to use ActiveX controls. - -///////////////////////////////////////////////////////////////////////////// - -Other standard files: - -StdAfx.h, StdAfx.cpp - These files are used to build a precompiled header (PCH) file - named 9222cdma.pch and a precompiled types file named StdAfx.obj. - -Resource.h - This is the standard header file, which defines new resource IDs. - Microsoft Visual C++ reads and updates this file. - -9222cdma.manifest - Application manifest files are used by Windows XP to describe an applications - dependency on specific versions of Side-by-Side assemblies. The loader uses this - information to load the appropriate assembly from the assembly cache or private - from the application. The Application manifest maybe included for redistribution - as an external .manifest file that is installed in the same folder as the application - executable or it may be included in the executable in the form of a resource. -///////////////////////////////////////////////////////////////////////////// - -Other notes: - -The application wizard uses "TODO:" to indicate parts of the source code you -should add to or customize. - -If your application uses MFC in a shared DLL, you will need -to redistribute the MFC DLLs. If your application is in a language -other than the operating system's locale, you will also have to -redistribute the corresponding localized resources MFC90XXX.DLL. -For more information on both of these topics, please see the section on -redistributing Visual C++ applications in MSDN documentation. - -///////////////////////////////////////////////////////////////////////////// diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AIDma_Dbf/res/9222cdma.ico b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AIDma_Dbf/res/9222cdma.ico deleted file mode 100644 index d56fbcd..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AIDma_Dbf/res/9222cdma.ico and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AIDma_Dbf/res/My9222cdma.rc2 b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AIDma_Dbf/res/My9222cdma.rc2 deleted file mode 100644 index 383cde2..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AIDma_Dbf/res/My9222cdma.rc2 +++ /dev/null @@ -1,13 +0,0 @@ -// -// My9111int.RC2 - resources Microsoft Visual C++ does not edit directly -// - -#ifdef APSTUDIO_INVOKED -#error this file is not editable by Microsoft Visual C++ -#endif //APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// Add manually edited resources here... - -///////////////////////////////////////////////////////////////////////////// diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AIDma_Dbf/res/ch_set1.bmp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AIDma_Dbf/res/ch_set1.bmp deleted file mode 100644 index f2374ed..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AIDma_Dbf/res/ch_set1.bmp and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AIDma_Dbf/res/ch_set2.bmp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AIDma_Dbf/res/ch_set2.bmp deleted file mode 100644 index 32d0915..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AIDma_Dbf/res/ch_set2.bmp and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AIDma_Dbf/resource.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AIDma_Dbf/resource.h deleted file mode 100644 index aac2ccc..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AIDma_Dbf/resource.h +++ /dev/null @@ -1,44 +0,0 @@ -//{{NO_DEPENDENCIES}} -// Microsoft Visual C++ generated include file. -// Used by 9222cdma.rc -// -#define IDM_ABOUTBOX 0x0010 -#define IDD_ABOUTBOX 100 -#define IDS_ABOUTBOX 101 -#define IDD_9222DMA_DIALOG 102 -#define IDR_MAINFRAME 128 -#define IDD_CARDID_DIALOG 129 -#define IDB_BITMAP_SET1 131 -#define IDB_BITMAP_SET2 132 -#define IDC_STATIC_DRAW 1000 -#define IDC_COMBO_CARDID 1001 -#define IDC_BT_STOP 1002 -#define IDC_COMBO_CARDTYPE 1002 -#define IDC_BT_START 1003 -#define IDC_EDIT_SAMPLE_RATE 1004 -#define IDC_EDIT_SCAN_ITERVAL 1004 -#define IDC_SCROLLBAR_RATE 1005 -#define IDC_RADIO_CH0 1006 -#define IDC_RADIO_CH1 1007 -#define IDC_RADIO_CH2 1008 -#define IDC_RADIO_CH3 1009 -#define IDC_RADIO_CH4 1010 -#define IDC_RADIO_CH5 1011 -#define IDC_RADIO_CH6 1012 -#define IDC_RADIO_CH7 1013 -#define IDC_STATIC_01 1014 -#define IDC_EDIT_BUF_SIZE 1014 -#define IDC_STATIC_2 1015 -#define IDC_EDIT1 1016 -#define IDC_EDIT_OVERRUN 1016 - -// Next default values for new objects -// -#ifdef APSTUDIO_INVOKED -#ifndef APSTUDIO_READONLY_SYMBOLS -#define _APS_NEXT_RESOURCE_VALUE 134 -#define _APS_NEXT_COMMAND_VALUE 32771 -#define _APS_NEXT_CONTROL_VALUE 1017 -#define _APS_NEXT_SYMED_VALUE 101 -#endif -#endif diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AIDma_Dbf/stdafx.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AIDma_Dbf/stdafx.cpp deleted file mode 100644 index ef80626..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AIDma_Dbf/stdafx.cpp +++ /dev/null @@ -1,8 +0,0 @@ - -// stdafx.cpp : source file that includes just the standard includes -// 9111int.pch will be the pre-compiled header -// stdafx.obj will contain the pre-compiled type information - -#include "stdafx.h" - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AIDma_Dbf/stdafx.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AIDma_Dbf/stdafx.h deleted file mode 100644 index 12123e2..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AIDma_Dbf/stdafx.h +++ /dev/null @@ -1,60 +0,0 @@ - -// stdafx.h : include file for standard system include files, -// or project specific include files that are used frequently, -// but are changed infrequently - -#pragma once - -#ifndef _SECURE_ATL -#define _SECURE_ATL 1 -#endif - -#ifndef VC_EXTRALEAN -#define VC_EXTRALEAN // Exclude rarely-used stuff from Windows headers -#endif - -#include "targetver.h" - -#define _ATL_CSTRING_EXPLICIT_CONSTRUCTORS // some CString constructors will be explicit - -// turns off MFC's hiding of some common and often safely ignored warning messages -#define _AFX_ALL_WARNINGS - -#include // MFC core and standard components -#include // MFC extensions - - -#include // MFC Automation classes - - - -#ifndef _AFX_NO_OLE_SUPPORT -#include // MFC support for Internet Explorer 4 Common Controls -#endif -#ifndef _AFX_NO_AFXCMN_SUPPORT -#include // MFC support for Windows Common Controls -#endif // _AFX_NO_AFXCMN_SUPPORT - -#include // MFC support for ribbons and control bars - - - - - - - - - -#ifdef _UNICODE -#if defined _M_IX86 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='x86' publicKeyToken='6595b64144ccf1df' language='*'\"") -#elif defined _M_IA64 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='ia64' publicKeyToken='6595b64144ccf1df' language='*'\"") -#elif defined _M_X64 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='amd64' publicKeyToken='6595b64144ccf1df' language='*'\"") -#else -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='*' publicKeyToken='6595b64144ccf1df' language='*'\"") -#endif -#endif - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AIDma_Dbf/targetver.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AIDma_Dbf/targetver.h deleted file mode 100644 index 11730d5..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AIDma_Dbf/targetver.h +++ /dev/null @@ -1,26 +0,0 @@ - -#pragma once - -// The following macros define the minimum required platform. The minimum required platform -// is the earliest version of Windows, Internet Explorer etc. that has the necessary features to run -// your application. The macros work by enabling all features available on platform versions up to and -// including the version specified. - -// Modify the following defines if you have to target a platform prior to the ones specified below. -// Refer to MSDN for the latest info on corresponding values for different platforms. -#ifndef WINVER // Specifies that the minimum required platform is Windows Vista. -#define WINVER 0x0600 // Change this to the appropriate value to target other versions of Windows. -#endif - -#ifndef _WIN32_WINNT // Specifies that the minimum required platform is Windows Vista. -#define _WIN32_WINNT 0x0600 // Change this to the appropriate value to target other versions of Windows. -#endif - -#ifndef _WIN32_WINDOWS // Specifies that the minimum required platform is Windows 98. -#define _WIN32_WINDOWS 0x0410 // Change this to the appropriate value to target Windows Me or later. -#endif - -#ifndef _WIN32_IE // Specifies that the minimum required platform is Internet Explorer 7.0. -#define _WIN32_IE 0x0700 // Change this to the appropriate value to target other versions of IE. -#endif - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AIDma_ExtD/9111int.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AIDma_ExtD/9111int.suo deleted file mode 100644 index 1d7a5ee..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AIDma_ExtD/9111int.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AIDma_ExtD/9116dma.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AIDma_ExtD/9116dma.suo deleted file mode 100644 index ac40639..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AIDma_ExtD/9116dma.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AIDma_ExtD/9221dma.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AIDma_ExtD/9221dma.suo deleted file mode 100644 index dcc1d84..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AIDma_ExtD/9221dma.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AIDma_ExtD/9222dma.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AIDma_ExtD/9222dma.cpp deleted file mode 100644 index 9b8192a..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AIDma_ExtD/9222dma.cpp +++ /dev/null @@ -1,109 +0,0 @@ - -// 9222dma.cpp : Defines the class behaviors for the application. -// - -#include "stdafx.h" -#include "9222dma.h" -#include "9222dmaDlg.h" -#include "CardIDDlg.h" - -#ifdef _DEBUG -#define new DEBUG_NEW -#endif - - -// C9222dmaApp - -BEGIN_MESSAGE_MAP(C9222dmaApp, CWinAppEx) - ON_COMMAND(ID_HELP, &CWinApp::OnHelp) -END_MESSAGE_MAP() - - -// C9222dmaApp construction - -C9222dmaApp::C9222dmaApp() -{ - // TODO: add construction code here, - // Place all significant initialization in InitInstance -} - - -// The one and only C9222dmaApp object - -C9222dmaApp theApp; - - -// C9222dmaApp initialization - -BOOL C9222dmaApp::InitInstance() -{ - int nCardID = 0; - I16 hCard; - CString strTemp; - INT_PTR nResponse; - - // InitCommonControlsEx() is required on Windows XP if an application - // manifest specifies use of ComCtl32.dll version 6 or later to enable - // visual styles. Otherwise, any window creation will fail. - INITCOMMONCONTROLSEX InitCtrls; - InitCtrls.dwSize = sizeof(InitCtrls); - // Set this to include all the common control classes you want to use - // in your application. - InitCtrls.dwICC = ICC_WIN95_CLASSES; - InitCommonControlsEx(&InitCtrls); - - CWinAppEx::InitInstance(); - - AfxEnableControlContainer(); - - // Standard initialization - // If you are not using these features and wish to reduce the size - // of your final executable, you should remove from the following - // the specific initialization routines you do not need - // Change the registry key under which our settings are stored - // TODO: You should modify this string to be something appropriate - // such as the name of your company or organization - SetRegistryKey(_T("Local AppWizard-Generated Applications")); - - CCardIDDlg CardDlg( nCardID ); - - nResponse = CardDlg.DoModal(); - if (nResponse == IDOK) - { - nCardID = CardDlg.GetCardID(); - - if ((hCard=Register_Card(PCI_9222, nCardID)) < 0) - { - strTemp.Format( TEXT("Register_Card Error = %d"), hCard); - AfxMessageBox( strTemp ); - } - else - { - C9222dmaDlg dlg(hCard); - m_pMainWnd = &dlg; - nResponse = dlg.DoModal(); - if (nResponse == IDOK) - { - // TODO: Place code here to handle when the dialog is - // dismissed with OK - } - else if (nResponse == IDCANCEL) - { - // TODO: Place code here to handle when the dialog is - // dismissed with Cancel - } - - if (hCard >= 0) Release_Card(hCard); - } - - } - else if (nResponse == IDCANCEL) - { - // TODO: Place code here to handle when the dialog is - // dismissed with Cancel - } - - // Since the dialog has been closed, return FALSE so that we exit the - // application, rather than start the application's message pump. - return FALSE; -} diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AIDma_ExtD/9222dma.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AIDma_ExtD/9222dma.h deleted file mode 100644 index 4ad0cfa..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AIDma_ExtD/9222dma.h +++ /dev/null @@ -1,34 +0,0 @@ - -// 9222dma.h : main header file for the PROJECT_NAME application -// - -#pragma once - -#ifndef __AFXWIN_H__ - #error "include 'stdafx.h' before including this file for PCH" -#endif - -#include "resource.h" // main symbols - -#define AI_MODE_DMA 0 -#define AI_MODE_INT 1 - -// C9222dmaApp: -// See 9222dma.cpp for the implementation of this class -// - -class C9222dmaApp : public CWinAppEx -{ -public: - C9222dmaApp(); - -// Overrides - public: - virtual BOOL InitInstance(); - -// Implementation - - DECLARE_MESSAGE_MAP() -}; - -extern C9222dmaApp theApp; \ No newline at end of file diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AIDma_ExtD/9222dma.rc b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AIDma_ExtD/9222dma.rc deleted file mode 100644 index 24fc026..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AIDma_ExtD/9222dma.rc +++ /dev/null @@ -1,287 +0,0 @@ -// Microsoft Visual C++ generated resource script. -// -#include "resource.h" - -#define APSTUDIO_READONLY_SYMBOLS -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 2 resource. -// -#ifndef APSTUDIO_INVOKED -#include "targetver.h" -#endif -#include "afxres.h" - -///////////////////////////////////////////////////////////////////////////// -#undef APSTUDIO_READONLY_SYMBOLS - -///////////////////////////////////////////////////////////////////////////// -// Chinese (Taiwan) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_CHT) -#ifdef _WIN32 -LANGUAGE LANG_CHINESE, SUBLANG_CHINESE_TRADITIONAL -#pragma code_page(950) -#endif //_WIN32 - -#ifdef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// TEXTINCLUDE -// - -1 TEXTINCLUDE -BEGIN - "resource.h\0" -END - -2 TEXTINCLUDE -BEGIN - "#ifndef APSTUDIO_INVOKED\r\n" - "#include ""targetver.h""\r\n" - "#endif\r\n" - "#include ""afxres.h""\r\n" - "\0" -END - -3 TEXTINCLUDE -BEGIN - "#define _AFX_NO_SPLITTER_RESOURCES\r\n" - "#define _AFX_NO_OLE_RESOURCES\r\n" - "#define _AFX_NO_TRACKER_RESOURCES\r\n" - "#define _AFX_NO_PROPERTY_RESOURCES\r\n" - "\r\n" - "#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)\r\n" - "LANGUAGE 9, 1\r\n" - "#pragma code_page(1252)\r\n" - "#include ""res\\My9222dma.rc2"" // non-Microsoft Visual C++ edited resources\r\n" - "#include ""afxres.rc"" // Standard components\r\n" - "#endif\r\n" - "\0" -END - -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// Icon -// - -// Icon with lowest ID value placed first to ensure application icon -// remains consistent on all systems. -IDR_MAINFRAME ICON "res\\9222dma.ico" -#endif // Chinese (Taiwan) resources -///////////////////////////////////////////////////////////////////////////// - - -///////////////////////////////////////////////////////////////////////////// -// English (U.S.) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -#ifdef _WIN32 -LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US -#pragma code_page(1252) -#endif //_WIN32 - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog -// - -IDD_ABOUTBOX DIALOGEX 0, 0, 170, 62 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "About 9222dma" -FONT 8, "MS Shell Dlg", 0, 0, 0x1 -BEGIN - ICON IDR_MAINFRAME,IDC_STATIC,14,14,21,20 - LTEXT "9222dma, Version 1.0",IDC_STATIC,42,14,114,8,SS_NOPREFIX - LTEXT "Copyright (C) 2010",IDC_STATIC,42,26,114,8 - DEFPUSHBUTTON "OK",IDOK,113,41,50,14,WS_GROUP -END - -IDD_9222DMA_DIALOG DIALOGEX 0, 0, 365, 232 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU -EXSTYLE WS_EX_APPWINDOW -CAPTION -"PCI-9222 AI Channel Read /w External Digital Trigger (Single-End Signal)" -FONT 8, "MS Shell Dlg", 0, 0, 0x1 -BEGIN - GROUPBOX "",IDC_STATIC_DRAW,45,9,227,161,NOT WS_VISIBLE - CONTROL 132,IDC_STATIC,"Static",SS_BITMAP,327,28,11,45 - CONTROL 131,IDC_STATIC,"Static",SS_BITMAP,298,29,9,44 - LTEXT "0",IDC_STATIC,286,29,10,11 - LTEXT "1",IDC_STATIC,286,40,10,11 - LTEXT "2",IDC_STATIC,286,51,10,11 - LTEXT "3",IDC_STATIC,286,63,10,11 - LTEXT "4",IDC_STATIC,318,29,10,11 - LTEXT "5",IDC_STATIC,318,40,10,11 - LTEXT "6",IDC_STATIC,318,51,10,11 - LTEXT "7",IDC_STATIC,318,63,10,11 - LTEXT "Range : +/- 10V",IDC_STATIC,283,130,57,15 - COMBOBOX IDC_COMBO_SCANCHAN,171,197,74,17,CBS_DROPDOWN | WS_VSCROLL | WS_TABSTOP - LTEXT "Read Channel",IDC_STATIC,171,182,53,9 - EDITTEXT IDC_EDIT_SCAN_ITERVAL,57,197,39,12,ES_AUTOHSCROLL | ES_READONLY - LTEXT "Sample Interval :",IDC_STATIC,57,182,57,9 - SCROLLBAR IDC_SCROLLBAR_RATE,97,195,9,11,SBS_VERT - PUSHBUTTON "Start",IDC_BT_START,275,188,75,22 -END - -IDD_CARDID_DIALOG DIALOGEX 0, 0, 165, 95 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "Card ID" -FONT 8, "MS Shell Dlg", 400, 0, 0x1 -BEGIN - COMBOBOX IDC_COMBO_CARDID,74,24,71,126,CBS_DROPDOWN | WS_VSCROLL | WS_TABSTOP - LTEXT "Card Number",IDC_STATIC_01,20,25,46,12 - PUSHBUTTON "OK",IDOK,22,62,58,19 - PUSHBUTTON "CANCEL",IDCANCEL,86,62,58,19 -END - - -///////////////////////////////////////////////////////////////////////////// -// -// Version -// - -VS_VERSION_INFO VERSIONINFO - FILEVERSION 1,0,0,1 - PRODUCTVERSION 1,0,0,1 - FILEFLAGSMASK 0x3fL -#ifdef _DEBUG - FILEFLAGS 0x1L -#else - FILEFLAGS 0x0L -#endif - FILEOS 0x4L - FILETYPE 0x1L - FILESUBTYPE 0x0L -BEGIN - BLOCK "StringFileInfo" - BEGIN - BLOCK "040904e4" - BEGIN - VALUE "CompanyName", "TODO: " - VALUE "FileDescription", "TODO: " - VALUE "FileVersion", "1.0.0.1" - VALUE "InternalName", "9222dma.exe" - VALUE "LegalCopyright", "TODO: (c) . All rights reserved." - VALUE "OriginalFilename", "9222dma.exe" - VALUE "ProductName", "TODO: " - VALUE "ProductVersion", "1.0.0.1" - END - END - BLOCK "VarFileInfo" - BEGIN - VALUE "Translation", 0x409, 1252 - END -END - - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog Info -// - -IDD_CARDID_DIALOG DLGINIT -BEGIN - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0030, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0031, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0032, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0033, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0034, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0035, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0036, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0037, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0038, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0039, - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3031, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3131, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3231, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3331, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3431, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3531, "\000" - 0 -END - -IDD_9222DMA_DIALOG DLGINIT -BEGIN - IDC_COMBO_SCANCHAN, 0x403, 4, 0 -0x4843, 0x0030, - IDC_COMBO_SCANCHAN, 0x403, 4, 0 -0x4843, 0x0031, - IDC_COMBO_SCANCHAN, 0x403, 4, 0 -0x4843, 0x0032, - IDC_COMBO_SCANCHAN, 0x403, 4, 0 -0x4843, 0x0033, - IDC_COMBO_SCANCHAN, 0x403, 4, 0 -0x4843, 0x0034, - IDC_COMBO_SCANCHAN, 0x403, 4, 0 -0x4843, 0x0035, - IDC_COMBO_SCANCHAN, 0x403, 4, 0 -0x4843, 0x0036, - IDC_COMBO_SCANCHAN, 0x403, 4, 0 -0x4843, 0x0037, - 0 -END - - -///////////////////////////////////////////////////////////////////////////// -// -// Bitmap -// - -IDB_BITMAP_SET1 BITMAP "res\\ch_set1.bmp" -IDB_BITMAP_SET2 BITMAP "res\\ch_set2.bmp" - -///////////////////////////////////////////////////////////////////////////// -// -// String Table -// - -STRINGTABLE -BEGIN - IDS_ABOUTBOX "&About 9222dma..." -END - -#endif // English (U.S.) resources -///////////////////////////////////////////////////////////////////////////// - - - -#ifndef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 3 resource. -// -#define _AFX_NO_SPLITTER_RESOURCES -#define _AFX_NO_OLE_RESOURCES -#define _AFX_NO_TRACKER_RESOURCES -#define _AFX_NO_PROPERTY_RESOURCES - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -LANGUAGE 9, 1 -#pragma code_page(1252) -#include "res\My9222dma.rc2" // non-Microsoft Visual C++ edited resources -#include "afxres.rc" // Standard components -#endif - -///////////////////////////////////////////////////////////////////////////// -#endif // not APSTUDIO_INVOKED - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AIDma_ExtD/9222dma.sln b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AIDma_ExtD/9222dma.sln deleted file mode 100644 index cdce59d..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AIDma_ExtD/9222dma.sln +++ /dev/null @@ -1,20 +0,0 @@ - -Microsoft Visual Studio Solution File, Format Version 10.00 -# Visual Studio 2008 -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "9222dma", "9222dma.vcproj", "{702163FB-B6DF-4EF5-9491-FC54D71509BC}" -EndProject -Global - GlobalSection(SolutionConfigurationPlatforms) = preSolution - Debug|x64 = Debug|x64 - Release|x64 = Release|x64 - EndGlobalSection - GlobalSection(ProjectConfigurationPlatforms) = postSolution - {702163FB-B6DF-4EF5-9491-FC54D71509BC}.Debug|x64.ActiveCfg = Debug|x64 - {702163FB-B6DF-4EF5-9491-FC54D71509BC}.Debug|x64.Build.0 = Debug|x64 - {702163FB-B6DF-4EF5-9491-FC54D71509BC}.Release|x64.ActiveCfg = Release|x64 - {702163FB-B6DF-4EF5-9491-FC54D71509BC}.Release|x64.Build.0 = Release|x64 - EndGlobalSection - GlobalSection(SolutionProperties) = preSolution - HideSolutionNode = FALSE - EndGlobalSection -EndGlobal diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AIDma_ExtD/9222dma.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AIDma_ExtD/9222dma.suo deleted file mode 100644 index d0f1aa3..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AIDma_ExtD/9222dma.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AIDma_ExtD/9222dma.vcproj b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AIDma_ExtD/9222dma.vcproj deleted file mode 100644 index 834136f..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AIDma_ExtD/9222dma.vcproj +++ /dev/null @@ -1,294 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AIDma_ExtD/9222dmaDlg.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AIDma_ExtD/9222dmaDlg.cpp deleted file mode 100644 index 6aefb3c..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AIDma_ExtD/9222dmaDlg.cpp +++ /dev/null @@ -1,538 +0,0 @@ - -// 9222dmaDlg.cpp : implementation file -// - -#include "stdafx.h" -#include "9222dma.h" -#include "9222dmaDlg.h" - -#ifdef _DEBUG -#define new DEBUG_NEW -#endif - -CRect plotRect; -#define AI_SAMPLE_COUNT 40000 -#define P922X_TIMEBASE 80000000.0 - -// CAboutDlg dialog used for App About - -class CAboutDlg : public CDialog -{ -public: - CAboutDlg(); - -// Dialog Data - enum { IDD = IDD_ABOUTBOX }; - - protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - -// Implementation -protected: - DECLARE_MESSAGE_MAP() -}; - -CAboutDlg::CAboutDlg() : CDialog(CAboutDlg::IDD) -{ -} - -void CAboutDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); -} - -BEGIN_MESSAGE_MAP(CAboutDlg, CDialog) -END_MESSAGE_MAP() - - -// C9222dmaDlg dialog - - - - -C9222dmaDlg::C9222dmaDlg(I16 hCard, CWnd* pParent /*=NULL*/) - : CDialog(C9222dmaDlg::IDD, pParent) -{ - m_hIcon = AfxGetApp()->LoadIcon(IDR_MAINFRAME); - - n_PlotWidth = n_PlotHeight = -1; - OnBrush = OffBrush = NULL; - - min_val = 0x00; - max_val = 0xFFFF; - - m_dwSampIntrv = 320; - - m_hCard = hCard; - m_wScanChans = 0; - m_nTimer = -1; - -#if 1 - m_pAIBuf = NULL; -#else - m_hMem = NULL; -#endif - - m_wRange = AD_B_10_V; - - max_range = 10.0; - min_range = -10.0; -} - -void C9222dmaDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); - DDX_Control(pDX, IDC_COMBO_SCANCHAN, m_cbScanChans); -} - -BEGIN_MESSAGE_MAP(C9222dmaDlg, CDialog) - ON_WM_SYSCOMMAND() - ON_WM_PAINT() - ON_WM_QUERYDRAGICON() - //}}AFX_MSG_MAP - ON_WM_DESTROY() - ON_WM_VSCROLL() - ON_CBN_SELCHANGE(IDC_COMBO_SCANCHAN, &C9222dmaDlg::OnScanChanSelchange) - ON_BN_CLICKED(IDC_BT_START, &C9222dmaDlg::OnStart) - ON_WM_TIMER() -END_MESSAGE_MAP() - - -// C9222dmaDlg message handlers - -BOOL C9222dmaDlg::OnInitDialog() -{ - CDialog::OnInitDialog(); - - // Add "About..." menu item to system menu. - - // IDM_ABOUTBOX must be in the system command range. - ASSERT((IDM_ABOUTBOX & 0xFFF0) == IDM_ABOUTBOX); - ASSERT(IDM_ABOUTBOX < 0xF000); - - CMenu* pSysMenu = GetSystemMenu(FALSE); - if (pSysMenu != NULL) - { - BOOL bNameValid; - CString strAboutMenu; - bNameValid = strAboutMenu.LoadString(IDS_ABOUTBOX); - ASSERT(bNameValid); - if (!strAboutMenu.IsEmpty()) - { - pSysMenu->AppendMenu(MF_SEPARATOR); - pSysMenu->AppendMenu(MF_STRING, IDM_ABOUTBOX, strAboutMenu); - } - } - - // Set the icon for this dialog. The framework does this automatically - // when the application's main window is not a dialog - SetIcon(m_hIcon, TRUE); // Set big icon - SetIcon(m_hIcon, FALSE); // Set small icon - - // TODO: Add extra initialization here - x_divider = 5; y_divider = 4; - - OnBrush = CreateSolidBrush( RGB(255,0,0) ); - OffBrush = CreateSolidBrush( RGB(125,0,0) ); - - RedPen.CreatePen( PS_SOLID, 1, RGB(255,0,0)); - GreenPen.CreatePen( PS_SOLID, 1, RGB(0,255,0)); - YellowPen.CreatePen( PS_SOLID, 1, RGB(255,255,0)); - BluePen.CreatePen( PS_SOLID, 1, RGB(0,0,255)); - LTBluePen.CreatePen( PS_SOLID, 1, RGB(0,128,255)); - LTRedPen.CreatePen( PS_SOLID, 1, RGB(255,128,0)); - LTGreenPen.CreatePen( PS_SOLID, 1, RGB(0,128,0)); - WhitePen.CreatePen( PS_SOLID, 1, RGB(255,255,255)); - - if( n_PlotWidth == -1 && n_PlotHeight == -1 ) - { - ((CWnd*)GetDlgItem(IDC_STATIC_DRAW))->GetWindowRect(&plotRect); - ScreenToClient(&plotRect); - - n_PlotWidth = min( plotRect.Width(), 512); - n_PlotHeight = plotRect.Height() - 10; - } - - - // set the default SampleRate - SetDlgItemInt( IDC_EDIT_SCAN_ITERVAL, (UINT)(m_dwSampIntrv) ); - m_cbScanChans.SetCurSel( 0 ); - - return TRUE; // return TRUE unless you set the focus to a control -} - -void C9222dmaDlg::OnSysCommand(UINT nID, LPARAM lParam) -{ - if ((nID & 0xFFF0) == IDM_ABOUTBOX) - { - CAboutDlg dlgAbout; - dlgAbout.DoModal(); - } - else - { - CDialog::OnSysCommand(nID, lParam); - } -} - -// If you add a minimize button to your dialog, you will need the code below -// to draw the icon. For MFC applications using the document/view model, -// this is automatically done for you by the framework. - -void C9222dmaDlg::OnPaint() -{ - if (IsIconic()) - { - CPaintDC dc(this); // device context for painting - - SendMessage(WM_ICONERASEBKGND, reinterpret_cast(dc.GetSafeHdc()), 0); - - // Center icon in client rectangle - int cxIcon = GetSystemMetrics(SM_CXICON); - int cyIcon = GetSystemMetrics(SM_CYICON); - CRect rect; - GetClientRect(&rect); - int x = (rect.Width() - cxIcon + 1) / 2; - int y = (rect.Height() - cyIcon + 1) / 2; - - // Draw the icon - dc.DrawIcon(x, y, m_hIcon); - } - else - { - redraw_display_area(); - CDialog::OnPaint(); - } -} - -// The system calls this function to obtain the cursor to display while the user drags -// the minimized window. -HCURSOR C9222dmaDlg::OnQueryDragIcon() -{ - return static_cast(m_hIcon); -} - - -void C9222dmaDlg::redraw_display_area(void) -{ - CPen *oldPen; - - int oldMode; - COLORREF oldColor; - - CString y_lable; - - CPen minor_tick( PS_SOLID,1,RGB(132,130,132) ); -// CPen y_grid( PS_SOLID,1,RGB(206,203,132) ); - - int i, x_intv, y_intv; -// long total_sec; - - CClientDC dc_plot(this); - - // draw the base-line for x-y axises - oldPen = (CPen *)dc_plot.SelectStockObject(BLACK_PEN); - - // redraw the background - dc_plot.FillSolidRect( plotRect, RGB(0,0,0) ); - - // Re-Draw the AREA for Y-Lable - { - CBrush DIALOG_BRUSH; - CRect redraw_area, full_client; - - GetClientRect(&full_client); - ScreenToClient(&full_client); - - redraw_area.left = full_client.left; - redraw_area.top = plotRect.top - 5; - redraw_area.right = plotRect.left - 3; - redraw_area.bottom = plotRect.bottom + 10; - - DIALOG_BRUSH.CreateSysColorBrush( COLOR_3DFACE ); - - dc_plot.FillRect( redraw_area, &DIALOG_BRUSH ); - - DIALOG_BRUSH.DeleteObject(); - } - - dc_plot.MoveTo( plotRect.left - 3, plotRect.top ); - dc_plot.LineTo( plotRect.left - 3, plotRect.bottom ); - - // calculate the interval for tick/grid - y_intv = (plotRect.Height() - 10) /y_divider; - x_intv = plotRect.Width()/x_divider; - - - // set the color for tick - oldColor = dc_plot.SetTextColor( RGB(0,0,0) ); - oldMode = dc_plot.SetBkMode( TRANSPARENT ); - - for( i=0; i<= y_divider; i++ ) - { - CString tick_str; - CRect tmp_rect, tick_rect; - - // draw the tick for y-axis - dc_plot.MoveTo( plotRect.left -12, plotRect.bottom -5 - (i*y_intv) ); - dc_plot.LineTo( plotRect.left -3, plotRect.bottom -5 - (i*y_intv) ); - - tick_str.Format( _T("%.1f"), ( ((max_range-min_range)/y_divider) * i)+min_range ); - - // calculate the rectangle for text - dc_plot.DrawText( tick_str, &tmp_rect, DT_CALCRECT|DT_SINGLELINE ); - tick_rect.right = plotRect.left -14; - tick_rect.left = tick_rect.right - tmp_rect.Width(); - tick_rect.top = plotRect.bottom -5 - (i*y_intv) - tmp_rect.Height()/2; - tick_rect.bottom = tick_rect.top + tmp_rect.Height(); - - // draw the text - dc_plot.DrawText( tick_str, &tick_rect, DT_SINGLELINE|DT_RIGHT ); - - } - - // draw the minor_tick for Y axises - dc_plot.SelectObject(&minor_tick); - for( i=0; i< y_divider; i++ ) - { - dc_plot.MoveTo( plotRect.left -9, plotRect.bottom -5 - (i*y_intv) - y_intv/2 ); - dc_plot.LineTo( plotRect.left -4, plotRect.bottom -5 - (i*y_intv) - y_intv/2 ); - } - - dc_plot.SetTextColor( oldColor ); - dc_plot.SetBkMode( oldMode ); - dc_plot.SelectObject( oldPen ); -} - -void C9222dmaDlg::OnDestroy() -{ - CDialog::OnDestroy(); - - // TODO: Add your message handler code here - if( m_nTimer != -1 ) - { - KillTimer( m_nTimer ); - m_nTimer = -1; - } - - if (m_pAIBuf != NULL) - { - free( m_pAIBuf ); - m_pAIBuf = NULL; - } - - - if( OnBrush != NULL ) - ::DeleteObject( OnBrush ); - - if( OffBrush != NULL ) - ::DeleteObject( OffBrush ); - - RedPen.DeleteObject(); - GreenPen.DeleteObject(); - YellowPen.DeleteObject(); - BluePen.DeleteObject(); - LTBluePen.DeleteObject(); - LTRedPen.DeleteObject(); - LTGreenPen.DeleteObject(); - WhitePen.DeleteObject(); -} - -void C9222dmaDlg::OnVScroll(UINT nSBCode, UINT nPos, CScrollBar* pScrollBar) -{ - // TODO: Add your message handler code here and/or call default - switch ( nSBCode ) - { - case SB_LINEUP : - m_dwSampIntrv += 160; - if (m_dwSampIntrv > 40000 ) m_dwSampIntrv = 40000; - - break; - case SB_LINEDOWN: - m_dwSampIntrv -= 160; - if (m_dwSampIntrv < 320 ) m_dwSampIntrv = 320; - - break; - } - - SetDlgItemInt( IDC_EDIT_SCAN_ITERVAL, (UINT)(m_dwSampIntrv) ); - - CDialog::OnVScroll(nSBCode, nPos, pScrollBar); -} - -void C9222dmaDlg::OnScanChanSelchange() -{ - // TODO: Add your control notification handler code here - int nIndex; - - nIndex = m_cbScanChans.GetCurSel(); - m_wScanChans = (U16)nIndex; -} - -void C9222dmaDlg::OnStart() -{ - // TODO: Add your control notification handler code here - DWORD mem_size; - CString strTemp; - I16 err; - - GetDlgItem( IDC_BT_START )->EnableWindow(FALSE); - - if (m_pAIBuf != NULL) - { - free( m_pAIBuf ); - m_pAIBuf = NULL; - } - - // allocate a memory for user DMA buffer - mem_size = AI_SAMPLE_COUNT * sizeof(I16); - - m_pAIBuf = (U16*)malloc( mem_size ); - if (m_pAIBuf == NULL ) - { - AfxMessageBox( TEXT("Memory allocation failed"), MB_OK); - } - else - { - memset( m_pAIBuf, '\0', mem_size ); - } - - - m_oldY[0] = m_oldY[1] = m_oldY[2] = m_oldY[3] = m_oldY[4] = m_oldY[5] = m_oldY[6] = m_oldY[7] = -1; - m_oldX[0] = m_oldX[1] = m_oldX[2] = m_oldX[3] = m_oldX[4] = m_oldX[5] = m_oldX[6] = m_oldX[7] = -1; - - /*Configure AI*/ - err = AI_9222_Config(m_hCard, (P922x_AI_SingEnded|P922x_AI_CONVSRC_INT), (P922x_AI_TRGMOD_POST|P922x_AI_TRGSRC_GPI0), 0, 1); - if (err!=0) - { - strTemp.Format( TEXT("AI_9222_Config error=%d"), err); - AfxMessageBox( strTemp ); - return; - } - - /*Set Scan and Sampling Rate*/ - err = AI_9222_CounterInterval(m_hCard, m_dwSampIntrv, m_dwSampIntrv); - if (err!=0) - { - strTemp.Format( TEXT("AI_9222_CounterInterval error=%d"), err); - AfxMessageBox( strTemp ); - return; - } - - /*Disable Double Buffer Mode*/ - err = AI_AsyncDblBufferMode(m_hCard, 0); // single-buffer mode - if (err!=0) - { - strTemp.Format( TEXT("AI_DblBufferMode error=%d"), err); - AfxMessageBox( strTemp ); - return; - } - - err = AI_ContBufferSetup (m_hCard, m_pAIBuf, AI_SAMPLE_COUNT, &m_wBufferID); - if (err!=0) - { - strTemp.Format( TEXT("AI_ContBufferSetup error=%d"), err); - AfxMessageBox( strTemp ); - return; - } - - err = AI_ContReadChannel(m_hCard, m_wScanChans, m_wRange, &m_wBufferID, AI_SAMPLE_COUNT, 0/*Ignore*/, ASYNCH_OP); - if (err!=0) - { - strTemp.Format( TEXT("AI_ContScanChannels error=%d"), err); - AfxMessageBox( strTemp ); - return; - } - - m_nTimer = SetTimer( 1, 20, NULL ); - -} - -int C9222dmaDlg::display_buffer_data(U16* pBuf) -{ - CClientDC dc_plot(this); - int nDraw_Origin_Y; - int cur_channel; - - int newY = -1; - int newX = -1; - U32 index; - I16 ai_data; - - dc_plot.FillSolidRect( plotRect, RGB(0,0,0) ); - - switch(m_wScanChans) - { - case 0: - dc_plot.SelectObject(&YellowPen); - break; - case 1: - dc_plot.SelectObject(<GreenPen); - break; - case 2: - dc_plot.SelectObject(&BluePen); - break; - case 3: - dc_plot.SelectObject(&RedPen); - break; - case 4: - dc_plot.SelectObject(<BluePen); - break; - case 5: - dc_plot.SelectObject(<RedPen); - break; - case 6: - dc_plot.SelectObject(&GreenPen); - break; - case 7: - dc_plot.SelectObject(&WhitePen); - break; - } - - nDraw_Origin_Y = ( plotRect.bottom - 5 ) - n_PlotHeight/2; - cur_channel = m_wScanChans; - - for( index=0; index> 16) ); // ( n_PlotHeight * ai_data / 65536) ); // ( (n_PlotHeight/2) * ai_data/32768 ) ); - newX = (int)( index*n_PlotWidth/AI_SAMPLE_COUNT + plotRect.left ); - - if ( m_oldX[cur_channel] == -1 ) - { - dc_plot.MoveTo( newX, newY ); - } - else - { - dc_plot.MoveTo( m_oldX[cur_channel], m_oldY[cur_channel] ); - dc_plot.LineTo( newX, newY ); - } - - m_oldX[cur_channel] = newX; - m_oldY[cur_channel] = newY; - } - - return 0; -} - -void C9222dmaDlg::OnTimer(UINT_PTR nIDEvent) -{ - // TODO: Add your message handler code here and/or call default - BOOLEAN fstop; - U32 count; - - AI_AsyncCheck(m_hCard, &fstop, &count); - - if( fstop == TRUE ) - { - AI_AsyncClear( m_hCard, &count ); - - KillTimer( m_nTimer ); - m_nTimer = -1; - - display_buffer_data( m_pAIBuf ); - - GetDlgItem( IDC_BT_START )->EnableWindow( TRUE ); - } - - CDialog::OnTimer(nIDEvent); -} diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AIDma_ExtD/9222dmaDlg.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AIDma_ExtD/9222dmaDlg.h deleted file mode 100644 index 14d0fce..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AIDma_ExtD/9222dmaDlg.h +++ /dev/null @@ -1,75 +0,0 @@ - -// 9222dmaDlg.h : header file -#pragma once -#include "afxcmn.h" -#include "afxwin.h" - -#include "Dask64.h" - - -// C9222dmaDlg dialog -class C9222dmaDlg : public CDialog -{ -// Construction -public: - C9222dmaDlg(I16 hCard, CWnd* pParent = NULL); // standard constructor - -// Dialog Data - enum { IDD = IDD_9222DMA_DIALOG }; - - protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - - -// Implementation -protected: - HICON m_hIcon; - UINT_PTR m_nTimer; - I16 m_hCard; - U32 m_dwSampIntrv; - U16 m_wScanChans; - U16 m_wBufferID; -#if 0 - HANDLE m_hMem; -#endif - U16 *m_pAIBuf; - U16 m_wRange; - int m_oldY[8]; - int m_oldX[8]; - - // Generated message map functions - virtual BOOL OnInitDialog(); - afx_msg void OnSysCommand(UINT nID, LPARAM lParam); - afx_msg void OnPaint(); - afx_msg HCURSOR OnQueryDragIcon(); - DECLARE_MESSAGE_MAP() - -public: - WORD max_val; - WORD min_val; - double max_range; - double min_range; - int n_PlotWidth; - int n_PlotHeight; - int y_divider; - int x_divider; - int m_DisplayScale; - HBRUSH OnBrush; - HBRUSH OffBrush; - CPen RedPen; - CPen GreenPen; - CPen YellowPen; - CPen BluePen; - CPen LTBluePen; - CPen LTRedPen; - CPen LTGreenPen; - CPen WhitePen; - void redraw_display_area(void); - afx_msg void OnDestroy(); - CComboBox m_cbScanChans; - afx_msg void OnVScroll(UINT nSBCode, UINT nPos, CScrollBar* pScrollBar); - afx_msg void OnScanChanSelchange(); - afx_msg void OnStart(); - int display_buffer_data(U16* pBuf); - afx_msg void OnTimer(UINT_PTR nIDEvent); -}; diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AIDma_ExtD/CardIDDlg.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AIDma_ExtD/CardIDDlg.cpp deleted file mode 100644 index 4029641..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AIDma_ExtD/CardIDDlg.cpp +++ /dev/null @@ -1,64 +0,0 @@ -// CardIDDlg.cpp : implementation file -// -#include "stdafx.h" -#include "9222dma.h" -#include "9222dmaDlg.h" -#include "CardIDDlg.h" - -// CCardIDDlg dialog - -IMPLEMENT_DYNAMIC(CCardIDDlg, CDialog) - -CCardIDDlg::CCardIDDlg(int nCardIdx, CWnd* pParent /*=NULL*/) - : CDialog(CCardIDDlg::IDD, pParent) -{ - m_nCardIdx = nCardIdx; -} - -CCardIDDlg::~CCardIDDlg() -{ -} - -void CCardIDDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); - DDX_Control(pDX, IDC_COMBO_CARDID, m_cbCardID); -} - - -BEGIN_MESSAGE_MAP(CCardIDDlg, CDialog) -// ON_CBN_SELCHANGE(IDC_COMBO_CARDID, &CCardIDDlg::OnCbnSelchangeComboCardid) -ON_BN_CLICKED(IDOK, &CCardIDDlg::OnBnClickedOk) -//ON_WM_CTLCOLOR() -END_MESSAGE_MAP() - - -// CCardIDDlg message handlers - - -void CCardIDDlg::OnBnClickedOk() -{ - // TODO: Add your control notification handler code here - -// UpdateData(TRUE); - m_nCardIdx = m_cbCardID.GetCurSel(); - - OnOK(); -} - -BOOL CCardIDDlg::OnInitDialog() -{ - CDialog::OnInitDialog(); - - // TODO: Add extra initialization here - m_cbCardID.SetCurSel( m_nCardIdx ); - - return TRUE; // return TRUE unless you set the focus to a control - // EXCEPTION: OCX Property Pages should return FALSE -} - -// the function to get the selected CardID -int CCardIDDlg::GetCardID(void) -{ - return m_nCardIdx; -} diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AIDma_ExtD/CardIDDlg.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AIDma_ExtD/CardIDDlg.h deleted file mode 100644 index 9c02c58..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AIDma_ExtD/CardIDDlg.h +++ /dev/null @@ -1,32 +0,0 @@ -#pragma once -#include "afxwin.h" - -#include "Dask64.h" - -// CCardIDDlg dialog - -class CCardIDDlg : public CDialog -{ - DECLARE_DYNAMIC(CCardIDDlg) - -public: - CCardIDDlg(int nCardIdx, CWnd* pParent = NULL); // standard constructor - virtual ~CCardIDDlg(); - -// Dialog Data - enum { IDD = IDD_CARDID_DIALOG }; - -protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - - DECLARE_MESSAGE_MAP() -public: - virtual BOOL OnInitDialog(); - afx_msg void OnBnClickedOk(); - // the setting of CardID ComboBox - int m_nCardIdx; - // the control of CardID ComboBox - CComboBox m_cbCardID; - // the function to get the selected CardID - int GetCardID(void); -}; diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AIDma_ExtD/ReadMe.txt b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AIDma_ExtD/ReadMe.txt deleted file mode 100644 index be98684..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AIDma_ExtD/ReadMe.txt +++ /dev/null @@ -1,93 +0,0 @@ -================================================================================ - MICROSOFT FOUNDATION CLASS LIBRARY : 9222dma Project Overview -=============================================================================== - -The application wizard has created this 9222dma application for -you. This application not only demonstrates the basics of using the Microsoft -Foundation Classes but is also a starting point for writing your application. - -This file contains a summary of what you will find in each of the files that -make up your 9222dma application. - -9222dma.vcproj - This is the main project file for VC++ projects generated using an application wizard. - It contains information about the version of Visual C++ that generated the file, and - information about the platforms, configurations, and project features selected with the - application wizard. - -9222dma.h - This is the main header file for the application. It includes other - project specific headers (including Resource.h) and declares the - C9222dmaApp application class. - -9222dma.cpp - This is the main application source file that contains the application - class C9222dmaApp. - -9222dma.rc - This is a listing of all of the Microsoft Windows resources that the - program uses. It includes the icons, bitmaps, and cursors that are stored - in the RES subdirectory. This file can be directly edited in Microsoft - Visual C++. Your project resources are in 1033. - -res\9222dma.ico - This is an icon file, which is used as the application's icon. This - icon is included by the main resource file 9222dma.rc. - -res\My9222dma.rc2 - This file contains resources that are not edited by Microsoft - Visual C++. You should place all resources not editable by - the resource editor in this file. - - -///////////////////////////////////////////////////////////////////////////// - -The application wizard creates one dialog class: - -9222dmaDlg.h, 9222dmaDlg.cpp - the dialog - These files contain your C9222dmaDlg class. This class defines - the behavior of your application's main dialog. The dialog's template is - in 9222dma.rc, which can be edited in Microsoft Visual C++. - - -///////////////////////////////////////////////////////////////////////////// - -Other Features: - -ActiveX Controls - The application includes support to use ActiveX controls. - -///////////////////////////////////////////////////////////////////////////// - -Other standard files: - -StdAfx.h, StdAfx.cpp - These files are used to build a precompiled header (PCH) file - named 9222dma.pch and a precompiled types file named StdAfx.obj. - -Resource.h - This is the standard header file, which defines new resource IDs. - Microsoft Visual C++ reads and updates this file. - -9222dma.manifest - Application manifest files are used by Windows XP to describe an applications - dependency on specific versions of Side-by-Side assemblies. The loader uses this - information to load the appropriate assembly from the assembly cache or private - from the application. The Application manifest maybe included for redistribution - as an external .manifest file that is installed in the same folder as the application - executable or it may be included in the executable in the form of a resource. -///////////////////////////////////////////////////////////////////////////// - -Other notes: - -The application wizard uses "TODO:" to indicate parts of the source code you -should add to or customize. - -If your application uses MFC in a shared DLL, you will need -to redistribute the MFC DLLs. If your application is in a language -other than the operating system's locale, you will also have to -redistribute the corresponding localized resources MFC90XXX.DLL. -For more information on both of these topics, please see the section on -redistributing Visual C++ applications in MSDN documentation. - -///////////////////////////////////////////////////////////////////////////// diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AIDma_ExtD/res/9222dma.ico b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AIDma_ExtD/res/9222dma.ico deleted file mode 100644 index d56fbcd..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AIDma_ExtD/res/9222dma.ico and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AIDma_ExtD/res/My9222dma.rc2 b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AIDma_ExtD/res/My9222dma.rc2 deleted file mode 100644 index 383cde2..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AIDma_ExtD/res/My9222dma.rc2 +++ /dev/null @@ -1,13 +0,0 @@ -// -// My9111int.RC2 - resources Microsoft Visual C++ does not edit directly -// - -#ifdef APSTUDIO_INVOKED -#error this file is not editable by Microsoft Visual C++ -#endif //APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// Add manually edited resources here... - -///////////////////////////////////////////////////////////////////////////// diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AIDma_ExtD/res/ch_set1.bmp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AIDma_ExtD/res/ch_set1.bmp deleted file mode 100644 index f2374ed..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AIDma_ExtD/res/ch_set1.bmp and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AIDma_ExtD/res/ch_set2.bmp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AIDma_ExtD/res/ch_set2.bmp deleted file mode 100644 index 32d0915..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AIDma_ExtD/res/ch_set2.bmp and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AIDma_ExtD/resource.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AIDma_ExtD/resource.h deleted file mode 100644 index 0f63bf4..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AIDma_ExtD/resource.h +++ /dev/null @@ -1,33 +0,0 @@ -//{{NO_DEPENDENCIES}} -// Microsoft Visual C++ generated include file. -// Used by 9222dma.rc -// -#define IDM_ABOUTBOX 0x0010 -#define IDD_ABOUTBOX 100 -#define IDS_ABOUTBOX 101 -#define IDD_9222DMA_DIALOG 102 -#define IDR_MAINFRAME 128 -#define IDD_CARDID_DIALOG 129 -#define IDB_BITMAP_SET1 131 -#define IDB_BITMAP_SET2 132 -#define IDC_STATIC_DRAW 1000 -#define IDC_COMBO_CARDID 1001 -#define IDC_COMBO_SCANCHAN 1001 -#define IDC_COMBO_CARDTYPE 1002 -#define IDC_BUTTON1 1002 -#define IDC_BT_START 1002 -#define IDC_EDIT_SCAN_ITERVAL 1003 -#define IDC_SCROLLBAR_RATE 1006 -#define IDC_STATIC_01 1014 -#define IDC_STATIC_2 1015 - -// Next default values for new objects -// -#ifdef APSTUDIO_INVOKED -#ifndef APSTUDIO_READONLY_SYMBOLS -#define _APS_NEXT_RESOURCE_VALUE 134 -#define _APS_NEXT_COMMAND_VALUE 32771 -#define _APS_NEXT_CONTROL_VALUE 1003 -#define _APS_NEXT_SYMED_VALUE 101 -#endif -#endif diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AIDma_ExtD/stdafx.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AIDma_ExtD/stdafx.cpp deleted file mode 100644 index ef80626..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AIDma_ExtD/stdafx.cpp +++ /dev/null @@ -1,8 +0,0 @@ - -// stdafx.cpp : source file that includes just the standard includes -// 9111int.pch will be the pre-compiled header -// stdafx.obj will contain the pre-compiled type information - -#include "stdafx.h" - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AIDma_ExtD/stdafx.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AIDma_ExtD/stdafx.h deleted file mode 100644 index 12123e2..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AIDma_ExtD/stdafx.h +++ /dev/null @@ -1,60 +0,0 @@ - -// stdafx.h : include file for standard system include files, -// or project specific include files that are used frequently, -// but are changed infrequently - -#pragma once - -#ifndef _SECURE_ATL -#define _SECURE_ATL 1 -#endif - -#ifndef VC_EXTRALEAN -#define VC_EXTRALEAN // Exclude rarely-used stuff from Windows headers -#endif - -#include "targetver.h" - -#define _ATL_CSTRING_EXPLICIT_CONSTRUCTORS // some CString constructors will be explicit - -// turns off MFC's hiding of some common and often safely ignored warning messages -#define _AFX_ALL_WARNINGS - -#include // MFC core and standard components -#include // MFC extensions - - -#include // MFC Automation classes - - - -#ifndef _AFX_NO_OLE_SUPPORT -#include // MFC support for Internet Explorer 4 Common Controls -#endif -#ifndef _AFX_NO_AFXCMN_SUPPORT -#include // MFC support for Windows Common Controls -#endif // _AFX_NO_AFXCMN_SUPPORT - -#include // MFC support for ribbons and control bars - - - - - - - - - -#ifdef _UNICODE -#if defined _M_IX86 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='x86' publicKeyToken='6595b64144ccf1df' language='*'\"") -#elif defined _M_IA64 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='ia64' publicKeyToken='6595b64144ccf1df' language='*'\"") -#elif defined _M_X64 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='amd64' publicKeyToken='6595b64144ccf1df' language='*'\"") -#else -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='*' publicKeyToken='6595b64144ccf1df' language='*'\"") -#endif -#endif - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AIDma_ExtD/targetver.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AIDma_ExtD/targetver.h deleted file mode 100644 index 11730d5..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AIDma_ExtD/targetver.h +++ /dev/null @@ -1,26 +0,0 @@ - -#pragma once - -// The following macros define the minimum required platform. The minimum required platform -// is the earliest version of Windows, Internet Explorer etc. that has the necessary features to run -// your application. The macros work by enabling all features available on platform versions up to and -// including the version specified. - -// Modify the following defines if you have to target a platform prior to the ones specified below. -// Refer to MSDN for the latest info on corresponding values for different platforms. -#ifndef WINVER // Specifies that the minimum required platform is Windows Vista. -#define WINVER 0x0600 // Change this to the appropriate value to target other versions of Windows. -#endif - -#ifndef _WIN32_WINNT // Specifies that the minimum required platform is Windows Vista. -#define _WIN32_WINNT 0x0600 // Change this to the appropriate value to target other versions of Windows. -#endif - -#ifndef _WIN32_WINDOWS // Specifies that the minimum required platform is Windows 98. -#define _WIN32_WINDOWS 0x0410 // Change this to the appropriate value to target Windows Me or later. -#endif - -#ifndef _WIN32_IE // Specifies that the minimum required platform is Internet Explorer 7.0. -#define _WIN32_IE 0x0700 // Change this to the appropriate value to target other versions of IE. -#endif - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AIDma_GateTrigger/9111int.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AIDma_GateTrigger/9111int.suo deleted file mode 100644 index 1d7a5ee..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AIDma_GateTrigger/9111int.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AIDma_GateTrigger/9116dma.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AIDma_GateTrigger/9116dma.suo deleted file mode 100644 index ac40639..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AIDma_GateTrigger/9116dma.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AIDma_GateTrigger/9221dma.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AIDma_GateTrigger/9221dma.suo deleted file mode 100644 index dcc1d84..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AIDma_GateTrigger/9221dma.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AIDma_GateTrigger/9222dma.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AIDma_GateTrigger/9222dma.cpp deleted file mode 100644 index 9b8192a..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AIDma_GateTrigger/9222dma.cpp +++ /dev/null @@ -1,109 +0,0 @@ - -// 9222dma.cpp : Defines the class behaviors for the application. -// - -#include "stdafx.h" -#include "9222dma.h" -#include "9222dmaDlg.h" -#include "CardIDDlg.h" - -#ifdef _DEBUG -#define new DEBUG_NEW -#endif - - -// C9222dmaApp - -BEGIN_MESSAGE_MAP(C9222dmaApp, CWinAppEx) - ON_COMMAND(ID_HELP, &CWinApp::OnHelp) -END_MESSAGE_MAP() - - -// C9222dmaApp construction - -C9222dmaApp::C9222dmaApp() -{ - // TODO: add construction code here, - // Place all significant initialization in InitInstance -} - - -// The one and only C9222dmaApp object - -C9222dmaApp theApp; - - -// C9222dmaApp initialization - -BOOL C9222dmaApp::InitInstance() -{ - int nCardID = 0; - I16 hCard; - CString strTemp; - INT_PTR nResponse; - - // InitCommonControlsEx() is required on Windows XP if an application - // manifest specifies use of ComCtl32.dll version 6 or later to enable - // visual styles. Otherwise, any window creation will fail. - INITCOMMONCONTROLSEX InitCtrls; - InitCtrls.dwSize = sizeof(InitCtrls); - // Set this to include all the common control classes you want to use - // in your application. - InitCtrls.dwICC = ICC_WIN95_CLASSES; - InitCommonControlsEx(&InitCtrls); - - CWinAppEx::InitInstance(); - - AfxEnableControlContainer(); - - // Standard initialization - // If you are not using these features and wish to reduce the size - // of your final executable, you should remove from the following - // the specific initialization routines you do not need - // Change the registry key under which our settings are stored - // TODO: You should modify this string to be something appropriate - // such as the name of your company or organization - SetRegistryKey(_T("Local AppWizard-Generated Applications")); - - CCardIDDlg CardDlg( nCardID ); - - nResponse = CardDlg.DoModal(); - if (nResponse == IDOK) - { - nCardID = CardDlg.GetCardID(); - - if ((hCard=Register_Card(PCI_9222, nCardID)) < 0) - { - strTemp.Format( TEXT("Register_Card Error = %d"), hCard); - AfxMessageBox( strTemp ); - } - else - { - C9222dmaDlg dlg(hCard); - m_pMainWnd = &dlg; - nResponse = dlg.DoModal(); - if (nResponse == IDOK) - { - // TODO: Place code here to handle when the dialog is - // dismissed with OK - } - else if (nResponse == IDCANCEL) - { - // TODO: Place code here to handle when the dialog is - // dismissed with Cancel - } - - if (hCard >= 0) Release_Card(hCard); - } - - } - else if (nResponse == IDCANCEL) - { - // TODO: Place code here to handle when the dialog is - // dismissed with Cancel - } - - // Since the dialog has been closed, return FALSE so that we exit the - // application, rather than start the application's message pump. - return FALSE; -} diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AIDma_GateTrigger/9222dma.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AIDma_GateTrigger/9222dma.h deleted file mode 100644 index 4ad0cfa..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AIDma_GateTrigger/9222dma.h +++ /dev/null @@ -1,34 +0,0 @@ - -// 9222dma.h : main header file for the PROJECT_NAME application -// - -#pragma once - -#ifndef __AFXWIN_H__ - #error "include 'stdafx.h' before including this file for PCH" -#endif - -#include "resource.h" // main symbols - -#define AI_MODE_DMA 0 -#define AI_MODE_INT 1 - -// C9222dmaApp: -// See 9222dma.cpp for the implementation of this class -// - -class C9222dmaApp : public CWinAppEx -{ -public: - C9222dmaApp(); - -// Overrides - public: - virtual BOOL InitInstance(); - -// Implementation - - DECLARE_MESSAGE_MAP() -}; - -extern C9222dmaApp theApp; \ No newline at end of file diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AIDma_GateTrigger/9222dma.rc b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AIDma_GateTrigger/9222dma.rc deleted file mode 100644 index 0e86872..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AIDma_GateTrigger/9222dma.rc +++ /dev/null @@ -1,287 +0,0 @@ -// Microsoft Visual C++ generated resource script. -// -#include "resource.h" - -#define APSTUDIO_READONLY_SYMBOLS -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 2 resource. -// -#ifndef APSTUDIO_INVOKED -#include "targetver.h" -#endif -#include "afxres.h" - -///////////////////////////////////////////////////////////////////////////// -#undef APSTUDIO_READONLY_SYMBOLS - -///////////////////////////////////////////////////////////////////////////// -// Chinese (Taiwan) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_CHT) -#ifdef _WIN32 -LANGUAGE LANG_CHINESE, SUBLANG_CHINESE_TRADITIONAL -#pragma code_page(950) -#endif //_WIN32 - -#ifdef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// TEXTINCLUDE -// - -1 TEXTINCLUDE -BEGIN - "resource.h\0" -END - -2 TEXTINCLUDE -BEGIN - "#ifndef APSTUDIO_INVOKED\r\n" - "#include ""targetver.h""\r\n" - "#endif\r\n" - "#include ""afxres.h""\r\n" - "\0" -END - -3 TEXTINCLUDE -BEGIN - "#define _AFX_NO_SPLITTER_RESOURCES\r\n" - "#define _AFX_NO_OLE_RESOURCES\r\n" - "#define _AFX_NO_TRACKER_RESOURCES\r\n" - "#define _AFX_NO_PROPERTY_RESOURCES\r\n" - "\r\n" - "#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)\r\n" - "LANGUAGE 9, 1\r\n" - "#pragma code_page(1252)\r\n" - "#include ""res\\My9222dma.rc2"" // non-Microsoft Visual C++ edited resources\r\n" - "#include ""afxres.rc"" // Standard components\r\n" - "#endif\r\n" - "\0" -END - -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// Icon -// - -// Icon with lowest ID value placed first to ensure application icon -// remains consistent on all systems. -IDR_MAINFRAME ICON "res\\9222dma.ico" -#endif // Chinese (Taiwan) resources -///////////////////////////////////////////////////////////////////////////// - - -///////////////////////////////////////////////////////////////////////////// -// English (U.S.) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -#ifdef _WIN32 -LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US -#pragma code_page(1252) -#endif //_WIN32 - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog -// - -IDD_ABOUTBOX DIALOGEX 0, 0, 170, 62 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "About 9222dma" -FONT 8, "MS Shell Dlg", 0, 0, 0x1 -BEGIN - ICON IDR_MAINFRAME,IDC_STATIC,14,14,21,20 - LTEXT "9222dma, Version 1.0",IDC_STATIC,42,14,114,8,SS_NOPREFIX - LTEXT "Copyright (C) 2010",IDC_STATIC,42,26,114,8 - DEFPUSHBUTTON "OK",IDOK,113,41,50,14,WS_GROUP -END - -IDD_9222DMA_DIALOG DIALOGEX 0, 0, 365, 232 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU -EXSTYLE WS_EX_APPWINDOW -CAPTION -"PCI-9222 AI Gated Trigger /w External Digital Trigger GPI0 (Single-End Signal)" -FONT 8, "MS Shell Dlg", 0, 0, 0x1 -BEGIN - GROUPBOX "",IDC_STATIC_DRAW,45,9,227,161,NOT WS_VISIBLE - CONTROL 132,IDC_STATIC,"Static",SS_BITMAP,327,28,11,45 - CONTROL 131,IDC_STATIC,"Static",SS_BITMAP,298,29,9,44 - LTEXT "0",IDC_STATIC,286,29,10,11 - LTEXT "1",IDC_STATIC,286,40,10,11 - LTEXT "2",IDC_STATIC,286,51,10,11 - LTEXT "3",IDC_STATIC,286,63,10,11 - LTEXT "4",IDC_STATIC,318,29,10,11 - LTEXT "5",IDC_STATIC,318,40,10,11 - LTEXT "6",IDC_STATIC,318,51,10,11 - LTEXT "7",IDC_STATIC,318,63,10,11 - LTEXT "Range : +/- 10V",IDC_STATIC,283,130,57,15 - COMBOBOX IDC_COMBO_SCANCHAN,171,197,74,17,CBS_DROPDOWN | WS_VSCROLL | WS_TABSTOP - LTEXT "Read Channel",IDC_STATIC,171,182,53,9 - EDITTEXT IDC_EDIT_SCAN_ITERVAL,57,197,39,12,ES_AUTOHSCROLL | ES_READONLY - LTEXT "Sample Interval :",IDC_STATIC,57,182,57,9 - SCROLLBAR IDC_SCROLLBAR_RATE,97,195,9,11,SBS_VERT - PUSHBUTTON "Start",IDC_BT_START,275,188,75,22 -END - -IDD_CARDID_DIALOG DIALOGEX 0, 0, 165, 95 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "Card ID" -FONT 8, "MS Shell Dlg", 400, 0, 0x1 -BEGIN - COMBOBOX IDC_COMBO_CARDID,74,24,71,126,CBS_DROPDOWN | WS_VSCROLL | WS_TABSTOP - LTEXT "Card Number",IDC_STATIC_01,20,25,46,12 - PUSHBUTTON "OK",IDOK,22,62,58,19 - PUSHBUTTON "CANCEL",IDCANCEL,86,62,58,19 -END - - -///////////////////////////////////////////////////////////////////////////// -// -// Version -// - -VS_VERSION_INFO VERSIONINFO - FILEVERSION 1,0,0,1 - PRODUCTVERSION 1,0,0,1 - FILEFLAGSMASK 0x3fL -#ifdef _DEBUG - FILEFLAGS 0x1L -#else - FILEFLAGS 0x0L -#endif - FILEOS 0x4L - FILETYPE 0x1L - FILESUBTYPE 0x0L -BEGIN - BLOCK "StringFileInfo" - BEGIN - BLOCK "040904e4" - BEGIN - VALUE "CompanyName", "TODO: " - VALUE "FileDescription", "TODO: " - VALUE "FileVersion", "1.0.0.1" - VALUE "InternalName", "9222dma.exe" - VALUE "LegalCopyright", "TODO: (c) . All rights reserved." - VALUE "OriginalFilename", "9222dma.exe" - VALUE "ProductName", "TODO: " - VALUE "ProductVersion", "1.0.0.1" - END - END - BLOCK "VarFileInfo" - BEGIN - VALUE "Translation", 0x409, 1252 - END -END - - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog Info -// - -IDD_CARDID_DIALOG DLGINIT -BEGIN - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0030, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0031, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0032, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0033, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0034, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0035, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0036, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0037, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0038, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0039, - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3031, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3131, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3231, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3331, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3431, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3531, "\000" - 0 -END - -IDD_9222DMA_DIALOG DLGINIT -BEGIN - IDC_COMBO_SCANCHAN, 0x403, 4, 0 -0x4843, 0x0030, - IDC_COMBO_SCANCHAN, 0x403, 4, 0 -0x4843, 0x0031, - IDC_COMBO_SCANCHAN, 0x403, 4, 0 -0x4843, 0x0032, - IDC_COMBO_SCANCHAN, 0x403, 4, 0 -0x4843, 0x0033, - IDC_COMBO_SCANCHAN, 0x403, 4, 0 -0x4843, 0x0034, - IDC_COMBO_SCANCHAN, 0x403, 4, 0 -0x4843, 0x0035, - IDC_COMBO_SCANCHAN, 0x403, 4, 0 -0x4843, 0x0036, - IDC_COMBO_SCANCHAN, 0x403, 4, 0 -0x4843, 0x0037, - 0 -END - - -///////////////////////////////////////////////////////////////////////////// -// -// Bitmap -// - -IDB_BITMAP_SET1 BITMAP "res\\ch_set1.bmp" -IDB_BITMAP_SET2 BITMAP "res\\ch_set2.bmp" - -///////////////////////////////////////////////////////////////////////////// -// -// String Table -// - -STRINGTABLE -BEGIN - IDS_ABOUTBOX "&About 9222dma..." -END - -#endif // English (U.S.) resources -///////////////////////////////////////////////////////////////////////////// - - - -#ifndef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 3 resource. -// -#define _AFX_NO_SPLITTER_RESOURCES -#define _AFX_NO_OLE_RESOURCES -#define _AFX_NO_TRACKER_RESOURCES -#define _AFX_NO_PROPERTY_RESOURCES - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -LANGUAGE 9, 1 -#pragma code_page(1252) -#include "res\My9222dma.rc2" // non-Microsoft Visual C++ edited resources -#include "afxres.rc" // Standard components -#endif - -///////////////////////////////////////////////////////////////////////////// -#endif // not APSTUDIO_INVOKED - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AIDma_GateTrigger/9222dma.sln b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AIDma_GateTrigger/9222dma.sln deleted file mode 100644 index cdce59d..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AIDma_GateTrigger/9222dma.sln +++ /dev/null @@ -1,20 +0,0 @@ - -Microsoft Visual Studio Solution File, Format Version 10.00 -# Visual Studio 2008 -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "9222dma", "9222dma.vcproj", "{702163FB-B6DF-4EF5-9491-FC54D71509BC}" -EndProject -Global - GlobalSection(SolutionConfigurationPlatforms) = preSolution - Debug|x64 = Debug|x64 - Release|x64 = Release|x64 - EndGlobalSection - GlobalSection(ProjectConfigurationPlatforms) = postSolution - {702163FB-B6DF-4EF5-9491-FC54D71509BC}.Debug|x64.ActiveCfg = Debug|x64 - {702163FB-B6DF-4EF5-9491-FC54D71509BC}.Debug|x64.Build.0 = Debug|x64 - {702163FB-B6DF-4EF5-9491-FC54D71509BC}.Release|x64.ActiveCfg = Release|x64 - {702163FB-B6DF-4EF5-9491-FC54D71509BC}.Release|x64.Build.0 = Release|x64 - EndGlobalSection - GlobalSection(SolutionProperties) = preSolution - HideSolutionNode = FALSE - EndGlobalSection -EndGlobal diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AIDma_GateTrigger/9222dma.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AIDma_GateTrigger/9222dma.suo deleted file mode 100644 index 706a226..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AIDma_GateTrigger/9222dma.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AIDma_GateTrigger/9222dma.vcproj b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AIDma_GateTrigger/9222dma.vcproj deleted file mode 100644 index 834136f..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AIDma_GateTrigger/9222dma.vcproj +++ /dev/null @@ -1,294 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AIDma_GateTrigger/9222dmaDlg.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AIDma_GateTrigger/9222dmaDlg.cpp deleted file mode 100644 index e9cbc7b..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AIDma_GateTrigger/9222dmaDlg.cpp +++ /dev/null @@ -1,541 +0,0 @@ - -// 9222dmaDlg.cpp : implementation file -// - -#include "stdafx.h" -#include "9222dma.h" -#include "9222dmaDlg.h" - -#ifdef _DEBUG -#define new DEBUG_NEW -#endif - -CRect plotRect; -#define AI_SAMPLE_COUNT 40000 -#define P922X_TIMEBASE 80000000.0 - -// CAboutDlg dialog used for App About - -class CAboutDlg : public CDialog -{ -public: - CAboutDlg(); - -// Dialog Data - enum { IDD = IDD_ABOUTBOX }; - - protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - -// Implementation -protected: - DECLARE_MESSAGE_MAP() -}; - -CAboutDlg::CAboutDlg() : CDialog(CAboutDlg::IDD) -{ -} - -void CAboutDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); -} - -BEGIN_MESSAGE_MAP(CAboutDlg, CDialog) -END_MESSAGE_MAP() - - -// C9222dmaDlg dialog - - - - -C9222dmaDlg::C9222dmaDlg(I16 hCard, CWnd* pParent /*=NULL*/) - : CDialog(C9222dmaDlg::IDD, pParent) -{ - m_hIcon = AfxGetApp()->LoadIcon(IDR_MAINFRAME); - - n_PlotWidth = n_PlotHeight = -1; - OnBrush = OffBrush = NULL; - - min_val = 0x00; - max_val = 0xFFFF; - - m_dwSampIntrv = 320; - - m_hCard = hCard; - m_wScanChans = 0; - m_nTimer = -1; - -#if 1 - m_pAIBuf = NULL; -#else - m_hMem = NULL; -#endif - - m_wRange = AD_B_10_V; - - max_range = 10.0; - min_range = -10.0; -} - -void C9222dmaDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); - DDX_Control(pDX, IDC_COMBO_SCANCHAN, m_cbScanChans); -} - -BEGIN_MESSAGE_MAP(C9222dmaDlg, CDialog) - ON_WM_SYSCOMMAND() - ON_WM_PAINT() - ON_WM_QUERYDRAGICON() - //}}AFX_MSG_MAP - ON_WM_DESTROY() - ON_WM_VSCROLL() - ON_CBN_SELCHANGE(IDC_COMBO_SCANCHAN, &C9222dmaDlg::OnScanChanSelchange) - ON_BN_CLICKED(IDC_BT_START, &C9222dmaDlg::OnStart) - ON_WM_TIMER() -END_MESSAGE_MAP() - - -// C9222dmaDlg message handlers - -BOOL C9222dmaDlg::OnInitDialog() -{ - CDialog::OnInitDialog(); - - // Add "About..." menu item to system menu. - - // IDM_ABOUTBOX must be in the system command range. - ASSERT((IDM_ABOUTBOX & 0xFFF0) == IDM_ABOUTBOX); - ASSERT(IDM_ABOUTBOX < 0xF000); - - CMenu* pSysMenu = GetSystemMenu(FALSE); - if (pSysMenu != NULL) - { - BOOL bNameValid; - CString strAboutMenu; - bNameValid = strAboutMenu.LoadString(IDS_ABOUTBOX); - ASSERT(bNameValid); - if (!strAboutMenu.IsEmpty()) - { - pSysMenu->AppendMenu(MF_SEPARATOR); - pSysMenu->AppendMenu(MF_STRING, IDM_ABOUTBOX, strAboutMenu); - } - } - - // Set the icon for this dialog. The framework does this automatically - // when the application's main window is not a dialog - SetIcon(m_hIcon, TRUE); // Set big icon - SetIcon(m_hIcon, FALSE); // Set small icon - - // TODO: Add extra initialization here - x_divider = 5; y_divider = 4; - - OnBrush = CreateSolidBrush( RGB(255,0,0) ); - OffBrush = CreateSolidBrush( RGB(125,0,0) ); - - RedPen.CreatePen( PS_SOLID, 1, RGB(255,0,0)); - GreenPen.CreatePen( PS_SOLID, 1, RGB(0,255,0)); - YellowPen.CreatePen( PS_SOLID, 1, RGB(255,255,0)); - BluePen.CreatePen( PS_SOLID, 1, RGB(0,0,255)); - LTBluePen.CreatePen( PS_SOLID, 1, RGB(0,128,255)); - LTRedPen.CreatePen( PS_SOLID, 1, RGB(255,128,0)); - LTGreenPen.CreatePen( PS_SOLID, 1, RGB(0,128,0)); - WhitePen.CreatePen( PS_SOLID, 1, RGB(255,255,255)); - - if( n_PlotWidth == -1 && n_PlotHeight == -1 ) - { - ((CWnd*)GetDlgItem(IDC_STATIC_DRAW))->GetWindowRect(&plotRect); - ScreenToClient(&plotRect); - - n_PlotWidth = min( plotRect.Width(), 512); - n_PlotHeight = plotRect.Height() - 10; - } - - - // set the default SampleRate - SetDlgItemInt( IDC_EDIT_SCAN_ITERVAL, (UINT)(m_dwSampIntrv) ); - m_cbScanChans.SetCurSel( 0 ); - - return TRUE; // return TRUE unless you set the focus to a control -} - -void C9222dmaDlg::OnSysCommand(UINT nID, LPARAM lParam) -{ - if ((nID & 0xFFF0) == IDM_ABOUTBOX) - { - CAboutDlg dlgAbout; - dlgAbout.DoModal(); - } - else - { - CDialog::OnSysCommand(nID, lParam); - } -} - -// If you add a minimize button to your dialog, you will need the code below -// to draw the icon. For MFC applications using the document/view model, -// this is automatically done for you by the framework. - -void C9222dmaDlg::OnPaint() -{ - if (IsIconic()) - { - CPaintDC dc(this); // device context for painting - - SendMessage(WM_ICONERASEBKGND, reinterpret_cast(dc.GetSafeHdc()), 0); - - // Center icon in client rectangle - int cxIcon = GetSystemMetrics(SM_CXICON); - int cyIcon = GetSystemMetrics(SM_CYICON); - CRect rect; - GetClientRect(&rect); - int x = (rect.Width() - cxIcon + 1) / 2; - int y = (rect.Height() - cyIcon + 1) / 2; - - // Draw the icon - dc.DrawIcon(x, y, m_hIcon); - } - else - { - redraw_display_area(); - CDialog::OnPaint(); - } -} - -// The system calls this function to obtain the cursor to display while the user drags -// the minimized window. -HCURSOR C9222dmaDlg::OnQueryDragIcon() -{ - return static_cast(m_hIcon); -} - - -void C9222dmaDlg::redraw_display_area(void) -{ - CPen *oldPen; - - int oldMode; - COLORREF oldColor; - - CString y_lable; - - CPen minor_tick( PS_SOLID,1,RGB(132,130,132) ); -// CPen y_grid( PS_SOLID,1,RGB(206,203,132) ); - - int i, x_intv, y_intv; -// long total_sec; - - CClientDC dc_plot(this); - - // draw the base-line for x-y axises - oldPen = (CPen *)dc_plot.SelectStockObject(BLACK_PEN); - - // redraw the background - dc_plot.FillSolidRect( plotRect, RGB(0,0,0) ); - - // Re-Draw the AREA for Y-Lable - { - CBrush DIALOG_BRUSH; - CRect redraw_area, full_client; - - GetClientRect(&full_client); - ScreenToClient(&full_client); - - redraw_area.left = full_client.left; - redraw_area.top = plotRect.top - 5; - redraw_area.right = plotRect.left - 3; - redraw_area.bottom = plotRect.bottom + 10; - - DIALOG_BRUSH.CreateSysColorBrush( COLOR_3DFACE ); - - dc_plot.FillRect( redraw_area, &DIALOG_BRUSH ); - - DIALOG_BRUSH.DeleteObject(); - } - - dc_plot.MoveTo( plotRect.left - 3, plotRect.top ); - dc_plot.LineTo( plotRect.left - 3, plotRect.bottom ); - - // calculate the interval for tick/grid - y_intv = (plotRect.Height() - 10) /y_divider; - x_intv = plotRect.Width()/x_divider; - - - // set the color for tick - oldColor = dc_plot.SetTextColor( RGB(0,0,0) ); - oldMode = dc_plot.SetBkMode( TRANSPARENT ); - - for( i=0; i<= y_divider; i++ ) - { - CString tick_str; - CRect tmp_rect, tick_rect; - - // draw the tick for y-axis - dc_plot.MoveTo( plotRect.left -12, plotRect.bottom -5 - (i*y_intv) ); - dc_plot.LineTo( plotRect.left -3, plotRect.bottom -5 - (i*y_intv) ); - - tick_str.Format( _T("%.1f"), ( ((max_range-min_range)/y_divider) * i)+min_range ); - - // calculate the rectangle for text - dc_plot.DrawText( tick_str, &tmp_rect, DT_CALCRECT|DT_SINGLELINE ); - tick_rect.right = plotRect.left -14; - tick_rect.left = tick_rect.right - tmp_rect.Width(); - tick_rect.top = plotRect.bottom -5 - (i*y_intv) - tmp_rect.Height()/2; - tick_rect.bottom = tick_rect.top + tmp_rect.Height(); - - // draw the text - dc_plot.DrawText( tick_str, &tick_rect, DT_SINGLELINE|DT_RIGHT ); - - } - - // draw the minor_tick for Y axises - dc_plot.SelectObject(&minor_tick); - for( i=0; i< y_divider; i++ ) - { - dc_plot.MoveTo( plotRect.left -9, plotRect.bottom -5 - (i*y_intv) - y_intv/2 ); - dc_plot.LineTo( plotRect.left -4, plotRect.bottom -5 - (i*y_intv) - y_intv/2 ); - } - - dc_plot.SetTextColor( oldColor ); - dc_plot.SetBkMode( oldMode ); - dc_plot.SelectObject( oldPen ); -} - -void C9222dmaDlg::OnDestroy() -{ - CDialog::OnDestroy(); - - // TODO: Add your message handler code here - if( m_nTimer != -1 ) - { - KillTimer( m_nTimer ); - m_nTimer = -1; - } - - if (m_pAIBuf != NULL) - { - free( m_pAIBuf ); - m_pAIBuf = NULL; - } - - - if( OnBrush != NULL ) - ::DeleteObject( OnBrush ); - - if( OffBrush != NULL ) - ::DeleteObject( OffBrush ); - - RedPen.DeleteObject(); - GreenPen.DeleteObject(); - YellowPen.DeleteObject(); - BluePen.DeleteObject(); - LTBluePen.DeleteObject(); - LTRedPen.DeleteObject(); - LTGreenPen.DeleteObject(); - WhitePen.DeleteObject(); -} - -void C9222dmaDlg::OnVScroll(UINT nSBCode, UINT nPos, CScrollBar* pScrollBar) -{ - // TODO: Add your message handler code here and/or call default - switch ( nSBCode ) - { - case SB_LINEUP : - m_dwSampIntrv += 160; - if (m_dwSampIntrv > 40000 ) m_dwSampIntrv = 40000; - - break; - case SB_LINEDOWN: - m_dwSampIntrv -= 160; - if (m_dwSampIntrv < 320 ) m_dwSampIntrv = 320; - - break; - } - - SetDlgItemInt( IDC_EDIT_SCAN_ITERVAL, (UINT)(m_dwSampIntrv) ); - - CDialog::OnVScroll(nSBCode, nPos, pScrollBar); -} - -void C9222dmaDlg::OnScanChanSelchange() -{ - // TODO: Add your control notification handler code here - int nIndex; - - nIndex = m_cbScanChans.GetCurSel(); - m_wScanChans = (U16)nIndex; -} - -void C9222dmaDlg::OnStart() -{ - // TODO: Add your control notification handler code here - DWORD mem_size; - CString strTemp; - I16 err; - - GetDlgItem( IDC_BT_START )->EnableWindow(FALSE); - - if (m_pAIBuf != NULL) - { - free( m_pAIBuf ); - m_pAIBuf = NULL; - } - - // allocate a memory for user DMA buffer - // 32-bit format is applied to Gate-Trigger mode - mem_size = AI_SAMPLE_COUNT * sizeof(U32); - - m_pAIBuf = (U32*)malloc( mem_size ); - if (m_pAIBuf == NULL ) - { - AfxMessageBox( TEXT("Memory allocation failed"), MB_OK); - } - else - { - memset( m_pAIBuf, '\0', mem_size ); - } - - - m_oldY[0] = m_oldY[1] = m_oldY[2] = m_oldY[3] = m_oldY[4] = m_oldY[5] = m_oldY[6] = m_oldY[7] = -1; - m_oldX[0] = m_oldX[1] = m_oldX[2] = m_oldX[3] = m_oldX[4] = m_oldX[5] = m_oldX[6] = m_oldX[7] = -1; - - /*Configure AI*/ - err = AI_9222_Config(m_hCard, (P922x_AI_SingEnded|P922x_AI_CONVSRC_INT), (P922x_AI_TRGMOD_GATED|P922x_AI_TRGSRC_GPI0|P922x_AI_TrgPositive), 0, TRUE); - if (err!=0) - { - strTemp.Format( TEXT("AI_9222_Config error=%d"), err); - AfxMessageBox( strTemp ); - return; - } - - /*Set Scan and Sampling Rate*/ - err = AI_9222_CounterInterval(m_hCard, m_dwSampIntrv, m_dwSampIntrv); - if (err!=0) - { - strTemp.Format( TEXT("AI_9222_CounterInterval error=%d"), err); - AfxMessageBox( strTemp ); - return; - } - - /*Disable Double Buffer Mode*/ - err = AI_AsyncDblBufferMode(m_hCard, 0); // single-buffer mode - if (err!=0) - { - strTemp.Format( TEXT("AI_DblBufferMode error=%d"), err); - AfxMessageBox( strTemp ); - return; - } - - err = AI_ContBufferSetup (m_hCard, m_pAIBuf, AI_SAMPLE_COUNT, &m_wBufferID); - if (err!=0) - { - strTemp.Format( TEXT("AI_ContBufferSetup error=%d"), err); - AfxMessageBox( strTemp ); - return; - } - - err = AI_ContReadChannel(m_hCard, m_wScanChans, m_wRange, &m_wBufferID, AI_SAMPLE_COUNT, 0/*Ignore*/, ASYNCH_OP); - if (err!=0) - { - strTemp.Format( TEXT("AI_ContScanChannels error=%d"), err); - AfxMessageBox( strTemp ); - return; - } - - m_nTimer = SetTimer( 1, 20, NULL ); - -} - -int C9222dmaDlg::display_buffer_data(U32* pBuf) -{ - CClientDC dc_plot(this); - int nDraw_Origin_Y; - int cur_channel; - - int newY = -1; - int newX = -1; - U32 index; - I16 ai_data; - - dc_plot.FillSolidRect( plotRect, RGB(0,0,0) ); - - switch(m_wScanChans) - { - case 0: - dc_plot.SelectObject(&YellowPen); - break; - case 1: - dc_plot.SelectObject(<GreenPen); - break; - case 2: - dc_plot.SelectObject(&BluePen); - break; - case 3: - dc_plot.SelectObject(&RedPen); - break; - case 4: - dc_plot.SelectObject(<BluePen); - break; - case 5: - dc_plot.SelectObject(<RedPen); - break; - case 6: - dc_plot.SelectObject(&GreenPen); - break; - case 7: - dc_plot.SelectObject(&WhitePen); - break; - } - - nDraw_Origin_Y = ( plotRect.bottom - 5 ) - n_PlotHeight/2; - - for( index=0; index> 16) ); // ( n_PlotHeight * ai_data / 65536) ); // ( (n_PlotHeight/2) * ai_data/32768 ) ); - - newX = (int)( index*n_PlotWidth/AI_SAMPLE_COUNT + plotRect.left ); - - if ( m_oldX[cur_channel] == -1 ) - { - dc_plot.MoveTo( newX, newY ); - } - else - { - dc_plot.MoveTo( m_oldX[cur_channel], m_oldY[cur_channel] ); - dc_plot.LineTo( newX, newY ); - } - - m_oldX[cur_channel] = newX; - m_oldY[cur_channel] = newY; - } - - return 0; -} - -void C9222dmaDlg::OnTimer(UINT_PTR nIDEvent) -{ - // TODO: Add your message handler code here and/or call default - BOOLEAN fstop; - U32 count; - - AI_AsyncCheck(m_hCard, &fstop, &count); - - if( fstop == TRUE ) - { - AI_AsyncClear( m_hCard, &count ); - - KillTimer( m_nTimer ); - m_nTimer = -1; - - display_buffer_data( m_pAIBuf ); - - GetDlgItem( IDC_BT_START )->EnableWindow( TRUE ); - } - - CDialog::OnTimer(nIDEvent); -} diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AIDma_GateTrigger/9222dmaDlg.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AIDma_GateTrigger/9222dmaDlg.h deleted file mode 100644 index e18a654..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AIDma_GateTrigger/9222dmaDlg.h +++ /dev/null @@ -1,75 +0,0 @@ - -// 9222dmaDlg.h : header file -#pragma once -#include "afxcmn.h" -#include "afxwin.h" - -#include "Dask64.h" - - -// C9222dmaDlg dialog -class C9222dmaDlg : public CDialog -{ -// Construction -public: - C9222dmaDlg(I16 hCard, CWnd* pParent = NULL); // standard constructor - -// Dialog Data - enum { IDD = IDD_9222DMA_DIALOG }; - - protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - - -// Implementation -protected: - HICON m_hIcon; - UINT_PTR m_nTimer; - I16 m_hCard; - U32 m_dwSampIntrv; - U16 m_wScanChans; - U16 m_wBufferID; -#if 0 - HANDLE m_hMem; -#endif - U32 *m_pAIBuf; - U16 m_wRange; - int m_oldY[8]; - int m_oldX[8]; - - // Generated message map functions - virtual BOOL OnInitDialog(); - afx_msg void OnSysCommand(UINT nID, LPARAM lParam); - afx_msg void OnPaint(); - afx_msg HCURSOR OnQueryDragIcon(); - DECLARE_MESSAGE_MAP() - -public: - WORD max_val; - WORD min_val; - double max_range; - double min_range; - int n_PlotWidth; - int n_PlotHeight; - int y_divider; - int x_divider; - int m_DisplayScale; - HBRUSH OnBrush; - HBRUSH OffBrush; - CPen RedPen; - CPen GreenPen; - CPen YellowPen; - CPen BluePen; - CPen LTBluePen; - CPen LTRedPen; - CPen LTGreenPen; - CPen WhitePen; - void redraw_display_area(void); - afx_msg void OnDestroy(); - CComboBox m_cbScanChans; - afx_msg void OnVScroll(UINT nSBCode, UINT nPos, CScrollBar* pScrollBar); - afx_msg void OnScanChanSelchange(); - afx_msg void OnStart(); - int display_buffer_data(U32* pBuf); - afx_msg void OnTimer(UINT_PTR nIDEvent); -}; diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AIDma_GateTrigger/CardIDDlg.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AIDma_GateTrigger/CardIDDlg.cpp deleted file mode 100644 index 4029641..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AIDma_GateTrigger/CardIDDlg.cpp +++ /dev/null @@ -1,64 +0,0 @@ -// CardIDDlg.cpp : implementation file -// -#include "stdafx.h" -#include "9222dma.h" -#include "9222dmaDlg.h" -#include "CardIDDlg.h" - -// CCardIDDlg dialog - -IMPLEMENT_DYNAMIC(CCardIDDlg, CDialog) - -CCardIDDlg::CCardIDDlg(int nCardIdx, CWnd* pParent /*=NULL*/) - : CDialog(CCardIDDlg::IDD, pParent) -{ - m_nCardIdx = nCardIdx; -} - -CCardIDDlg::~CCardIDDlg() -{ -} - -void CCardIDDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); - DDX_Control(pDX, IDC_COMBO_CARDID, m_cbCardID); -} - - -BEGIN_MESSAGE_MAP(CCardIDDlg, CDialog) -// ON_CBN_SELCHANGE(IDC_COMBO_CARDID, &CCardIDDlg::OnCbnSelchangeComboCardid) -ON_BN_CLICKED(IDOK, &CCardIDDlg::OnBnClickedOk) -//ON_WM_CTLCOLOR() -END_MESSAGE_MAP() - - -// CCardIDDlg message handlers - - -void CCardIDDlg::OnBnClickedOk() -{ - // TODO: Add your control notification handler code here - -// UpdateData(TRUE); - m_nCardIdx = m_cbCardID.GetCurSel(); - - OnOK(); -} - -BOOL CCardIDDlg::OnInitDialog() -{ - CDialog::OnInitDialog(); - - // TODO: Add extra initialization here - m_cbCardID.SetCurSel( m_nCardIdx ); - - return TRUE; // return TRUE unless you set the focus to a control - // EXCEPTION: OCX Property Pages should return FALSE -} - -// the function to get the selected CardID -int CCardIDDlg::GetCardID(void) -{ - return m_nCardIdx; -} diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AIDma_GateTrigger/CardIDDlg.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AIDma_GateTrigger/CardIDDlg.h deleted file mode 100644 index 9c02c58..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AIDma_GateTrigger/CardIDDlg.h +++ /dev/null @@ -1,32 +0,0 @@ -#pragma once -#include "afxwin.h" - -#include "Dask64.h" - -// CCardIDDlg dialog - -class CCardIDDlg : public CDialog -{ - DECLARE_DYNAMIC(CCardIDDlg) - -public: - CCardIDDlg(int nCardIdx, CWnd* pParent = NULL); // standard constructor - virtual ~CCardIDDlg(); - -// Dialog Data - enum { IDD = IDD_CARDID_DIALOG }; - -protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - - DECLARE_MESSAGE_MAP() -public: - virtual BOOL OnInitDialog(); - afx_msg void OnBnClickedOk(); - // the setting of CardID ComboBox - int m_nCardIdx; - // the control of CardID ComboBox - CComboBox m_cbCardID; - // the function to get the selected CardID - int GetCardID(void); -}; diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AIDma_GateTrigger/ReadMe.txt b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AIDma_GateTrigger/ReadMe.txt deleted file mode 100644 index be98684..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AIDma_GateTrigger/ReadMe.txt +++ /dev/null @@ -1,93 +0,0 @@ -================================================================================ - MICROSOFT FOUNDATION CLASS LIBRARY : 9222dma Project Overview -=============================================================================== - -The application wizard has created this 9222dma application for -you. This application not only demonstrates the basics of using the Microsoft -Foundation Classes but is also a starting point for writing your application. - -This file contains a summary of what you will find in each of the files that -make up your 9222dma application. - -9222dma.vcproj - This is the main project file for VC++ projects generated using an application wizard. - It contains information about the version of Visual C++ that generated the file, and - information about the platforms, configurations, and project features selected with the - application wizard. - -9222dma.h - This is the main header file for the application. It includes other - project specific headers (including Resource.h) and declares the - C9222dmaApp application class. - -9222dma.cpp - This is the main application source file that contains the application - class C9222dmaApp. - -9222dma.rc - This is a listing of all of the Microsoft Windows resources that the - program uses. It includes the icons, bitmaps, and cursors that are stored - in the RES subdirectory. This file can be directly edited in Microsoft - Visual C++. Your project resources are in 1033. - -res\9222dma.ico - This is an icon file, which is used as the application's icon. This - icon is included by the main resource file 9222dma.rc. - -res\My9222dma.rc2 - This file contains resources that are not edited by Microsoft - Visual C++. You should place all resources not editable by - the resource editor in this file. - - -///////////////////////////////////////////////////////////////////////////// - -The application wizard creates one dialog class: - -9222dmaDlg.h, 9222dmaDlg.cpp - the dialog - These files contain your C9222dmaDlg class. This class defines - the behavior of your application's main dialog. The dialog's template is - in 9222dma.rc, which can be edited in Microsoft Visual C++. - - -///////////////////////////////////////////////////////////////////////////// - -Other Features: - -ActiveX Controls - The application includes support to use ActiveX controls. - -///////////////////////////////////////////////////////////////////////////// - -Other standard files: - -StdAfx.h, StdAfx.cpp - These files are used to build a precompiled header (PCH) file - named 9222dma.pch and a precompiled types file named StdAfx.obj. - -Resource.h - This is the standard header file, which defines new resource IDs. - Microsoft Visual C++ reads and updates this file. - -9222dma.manifest - Application manifest files are used by Windows XP to describe an applications - dependency on specific versions of Side-by-Side assemblies. The loader uses this - information to load the appropriate assembly from the assembly cache or private - from the application. The Application manifest maybe included for redistribution - as an external .manifest file that is installed in the same folder as the application - executable or it may be included in the executable in the form of a resource. -///////////////////////////////////////////////////////////////////////////// - -Other notes: - -The application wizard uses "TODO:" to indicate parts of the source code you -should add to or customize. - -If your application uses MFC in a shared DLL, you will need -to redistribute the MFC DLLs. If your application is in a language -other than the operating system's locale, you will also have to -redistribute the corresponding localized resources MFC90XXX.DLL. -For more information on both of these topics, please see the section on -redistributing Visual C++ applications in MSDN documentation. - -///////////////////////////////////////////////////////////////////////////// diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AIDma_GateTrigger/res/9222dma.ico b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AIDma_GateTrigger/res/9222dma.ico deleted file mode 100644 index d56fbcd..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AIDma_GateTrigger/res/9222dma.ico and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AIDma_GateTrigger/res/My9222dma.rc2 b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AIDma_GateTrigger/res/My9222dma.rc2 deleted file mode 100644 index 383cde2..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AIDma_GateTrigger/res/My9222dma.rc2 +++ /dev/null @@ -1,13 +0,0 @@ -// -// My9111int.RC2 - resources Microsoft Visual C++ does not edit directly -// - -#ifdef APSTUDIO_INVOKED -#error this file is not editable by Microsoft Visual C++ -#endif //APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// Add manually edited resources here... - -///////////////////////////////////////////////////////////////////////////// diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AIDma_GateTrigger/res/ch_set1.bmp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AIDma_GateTrigger/res/ch_set1.bmp deleted file mode 100644 index f2374ed..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AIDma_GateTrigger/res/ch_set1.bmp and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AIDma_GateTrigger/res/ch_set2.bmp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AIDma_GateTrigger/res/ch_set2.bmp deleted file mode 100644 index 32d0915..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AIDma_GateTrigger/res/ch_set2.bmp and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AIDma_GateTrigger/resource.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AIDma_GateTrigger/resource.h deleted file mode 100644 index 0f63bf4..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AIDma_GateTrigger/resource.h +++ /dev/null @@ -1,33 +0,0 @@ -//{{NO_DEPENDENCIES}} -// Microsoft Visual C++ generated include file. -// Used by 9222dma.rc -// -#define IDM_ABOUTBOX 0x0010 -#define IDD_ABOUTBOX 100 -#define IDS_ABOUTBOX 101 -#define IDD_9222DMA_DIALOG 102 -#define IDR_MAINFRAME 128 -#define IDD_CARDID_DIALOG 129 -#define IDB_BITMAP_SET1 131 -#define IDB_BITMAP_SET2 132 -#define IDC_STATIC_DRAW 1000 -#define IDC_COMBO_CARDID 1001 -#define IDC_COMBO_SCANCHAN 1001 -#define IDC_COMBO_CARDTYPE 1002 -#define IDC_BUTTON1 1002 -#define IDC_BT_START 1002 -#define IDC_EDIT_SCAN_ITERVAL 1003 -#define IDC_SCROLLBAR_RATE 1006 -#define IDC_STATIC_01 1014 -#define IDC_STATIC_2 1015 - -// Next default values for new objects -// -#ifdef APSTUDIO_INVOKED -#ifndef APSTUDIO_READONLY_SYMBOLS -#define _APS_NEXT_RESOURCE_VALUE 134 -#define _APS_NEXT_COMMAND_VALUE 32771 -#define _APS_NEXT_CONTROL_VALUE 1003 -#define _APS_NEXT_SYMED_VALUE 101 -#endif -#endif diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AIDma_GateTrigger/stdafx.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AIDma_GateTrigger/stdafx.cpp deleted file mode 100644 index ef80626..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AIDma_GateTrigger/stdafx.cpp +++ /dev/null @@ -1,8 +0,0 @@ - -// stdafx.cpp : source file that includes just the standard includes -// 9111int.pch will be the pre-compiled header -// stdafx.obj will contain the pre-compiled type information - -#include "stdafx.h" - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AIDma_GateTrigger/stdafx.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AIDma_GateTrigger/stdafx.h deleted file mode 100644 index 12123e2..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AIDma_GateTrigger/stdafx.h +++ /dev/null @@ -1,60 +0,0 @@ - -// stdafx.h : include file for standard system include files, -// or project specific include files that are used frequently, -// but are changed infrequently - -#pragma once - -#ifndef _SECURE_ATL -#define _SECURE_ATL 1 -#endif - -#ifndef VC_EXTRALEAN -#define VC_EXTRALEAN // Exclude rarely-used stuff from Windows headers -#endif - -#include "targetver.h" - -#define _ATL_CSTRING_EXPLICIT_CONSTRUCTORS // some CString constructors will be explicit - -// turns off MFC's hiding of some common and often safely ignored warning messages -#define _AFX_ALL_WARNINGS - -#include // MFC core and standard components -#include // MFC extensions - - -#include // MFC Automation classes - - - -#ifndef _AFX_NO_OLE_SUPPORT -#include // MFC support for Internet Explorer 4 Common Controls -#endif -#ifndef _AFX_NO_AFXCMN_SUPPORT -#include // MFC support for Windows Common Controls -#endif // _AFX_NO_AFXCMN_SUPPORT - -#include // MFC support for ribbons and control bars - - - - - - - - - -#ifdef _UNICODE -#if defined _M_IX86 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='x86' publicKeyToken='6595b64144ccf1df' language='*'\"") -#elif defined _M_IA64 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='ia64' publicKeyToken='6595b64144ccf1df' language='*'\"") -#elif defined _M_X64 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='amd64' publicKeyToken='6595b64144ccf1df' language='*'\"") -#else -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='*' publicKeyToken='6595b64144ccf1df' language='*'\"") -#endif -#endif - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AIDma_GateTrigger/targetver.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AIDma_GateTrigger/targetver.h deleted file mode 100644 index 11730d5..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AIDma_GateTrigger/targetver.h +++ /dev/null @@ -1,26 +0,0 @@ - -#pragma once - -// The following macros define the minimum required platform. The minimum required platform -// is the earliest version of Windows, Internet Explorer etc. that has the necessary features to run -// your application. The macros work by enabling all features available on platform versions up to and -// including the version specified. - -// Modify the following defines if you have to target a platform prior to the ones specified below. -// Refer to MSDN for the latest info on corresponding values for different platforms. -#ifndef WINVER // Specifies that the minimum required platform is Windows Vista. -#define WINVER 0x0600 // Change this to the appropriate value to target other versions of Windows. -#endif - -#ifndef _WIN32_WINNT // Specifies that the minimum required platform is Windows Vista. -#define _WIN32_WINNT 0x0600 // Change this to the appropriate value to target other versions of Windows. -#endif - -#ifndef _WIN32_WINDOWS // Specifies that the minimum required platform is Windows 98. -#define _WIN32_WINDOWS 0x0410 // Change this to the appropriate value to target Windows Me or later. -#endif - -#ifndef _WIN32_IE // Specifies that the minimum required platform is Internet Explorer 7.0. -#define _WIN32_IE 0x0700 // Change this to the appropriate value to target other versions of IE. -#endif - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AIDma_InfiniteReTrigger/9111DbInt.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AIDma_InfiniteReTrigger/9111DbInt.suo deleted file mode 100644 index 3fde864..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AIDma_InfiniteReTrigger/9111DbInt.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AIDma_InfiniteReTrigger/9111PostTg.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AIDma_InfiniteReTrigger/9111PostTg.suo deleted file mode 100644 index c59a833..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AIDma_InfiniteReTrigger/9111PostTg.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AIDma_InfiniteReTrigger/9111int.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AIDma_InfiniteReTrigger/9111int.suo deleted file mode 100644 index aaca7d8..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AIDma_InfiniteReTrigger/9111int.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AIDma_InfiniteReTrigger/9116cdma.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AIDma_InfiniteReTrigger/9116cdma.suo deleted file mode 100644 index df9f193..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AIDma_InfiniteReTrigger/9116cdma.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AIDma_InfiniteReTrigger/9118cdma.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AIDma_InfiniteReTrigger/9118cdma.suo deleted file mode 100644 index 9318437..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AIDma_InfiniteReTrigger/9118cdma.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AIDma_InfiniteReTrigger/9221cdma.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AIDma_InfiniteReTrigger/9221cdma.suo deleted file mode 100644 index 9cb61ca..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AIDma_InfiniteReTrigger/9221cdma.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AIDma_InfiniteReTrigger/9222cdma.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AIDma_InfiniteReTrigger/9222cdma.cpp deleted file mode 100644 index 7ddb019..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AIDma_InfiniteReTrigger/9222cdma.cpp +++ /dev/null @@ -1,109 +0,0 @@ - -// 9222cdma.cpp : Defines the class behaviors for the application. -// - -#include "stdafx.h" -#include "9222cdma.h" -#include "9222cdmaDlg.h" -#include "CardIDDlg.h" - -#ifdef _DEBUG -#define new DEBUG_NEW -#endif - - -// C9222cdmaApp - -BEGIN_MESSAGE_MAP(C9222cdmaApp, CWinAppEx) - ON_COMMAND(ID_HELP, &CWinApp::OnHelp) -END_MESSAGE_MAP() - - -// C9222cdmaApp construction - -C9222cdmaApp::C9222cdmaApp() -{ - // TODO: add construction code here, - // Place all significant initialization in InitInstance -} - - -// The one and only C9222cdmaApp object - -C9222cdmaApp theApp; - - -// C9222cdmaApp initialization - -BOOL C9222cdmaApp::InitInstance() -{ - int nCardID = 0; - I16 hCard; - CString strTemp; - INT_PTR nResponse; - - // InitCommonControlsEx() is required on Windows XP if an application - // manifest specifies use of ComCtl32.dll version 6 or later to enable - // visual styles. Otherwise, any window creation will fail. - INITCOMMONCONTROLSEX InitCtrls; - InitCtrls.dwSize = sizeof(InitCtrls); - // Set this to include all the common control classes you want to use - // in your application. - InitCtrls.dwICC = ICC_WIN95_CLASSES; - InitCommonControlsEx(&InitCtrls); - - CWinAppEx::InitInstance(); - - AfxEnableControlContainer(); - - // Standard initialization - // If you are not using these features and wish to reduce the size - // of your final executable, you should remove from the following - // the specific initialization routines you do not need - // Change the registry key under which our settings are stored - // TODO: You should modify this string to be something appropriate - // such as the name of your company or organization - SetRegistryKey(_T("Local AppWizard-Generated Applications")); - - CCardIDDlg CardDlg( nCardID ); - - nResponse = CardDlg.DoModal(); - if (nResponse == IDOK) - { - nCardID = CardDlg.GetCardID(); - - if ((hCard=Register_Card(PCI_9222, nCardID)) < 0) - { - strTemp.Format( TEXT("Register_Card Error = %d"), hCard); - AfxMessageBox( strTemp ); - } - else - { - C9222cdmaDlg dlg(hCard); - m_pMainWnd = &dlg; - nResponse = dlg.DoModal(); - if (nResponse == IDOK) - { - // TODO: Place code here to handle when the dialog is - // dismissed with OK - } - else if (nResponse == IDCANCEL) - { - // TODO: Place code here to handle when the dialog is - // dismissed with Cancel - } - - if (hCard >= 0) Release_Card(hCard); - } - - } - else if (nResponse == IDCANCEL) - { - // TODO: Place code here to handle when the dialog is - // dismissed with Cancel - } - - // Since the dialog has been closed, return FALSE so that we exit the - // application, rather than start the application's message pump. - return FALSE; -} diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AIDma_InfiniteReTrigger/9222cdma.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AIDma_InfiniteReTrigger/9222cdma.h deleted file mode 100644 index 16a6900..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AIDma_InfiniteReTrigger/9222cdma.h +++ /dev/null @@ -1,34 +0,0 @@ - -// 9222cdma.h : main header file for the PROJECT_NAME application -// - -#pragma once - -#ifndef __AFXWIN_H__ - #error "include 'stdafx.h' before including this file for PCH" -#endif - -#include "resource.h" // main symbols - -#define AI_MODE_DMA 0 -#define AI_MODE_INT 1 - -// C9222cdmaApp: -// See 9222cdma.cpp for the implementation of this class -// - -class C9222cdmaApp : public CWinAppEx -{ -public: - C9222cdmaApp(); - -// Overrides - public: - virtual BOOL InitInstance(); - -// Implementation - - DECLARE_MESSAGE_MAP() -}; - -extern C9222cdmaApp theApp; \ No newline at end of file diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AIDma_InfiniteReTrigger/9222cdma.rc b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AIDma_InfiniteReTrigger/9222cdma.rc deleted file mode 100644 index a14a4e9..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AIDma_InfiniteReTrigger/9222cdma.rc +++ /dev/null @@ -1,291 +0,0 @@ -// Microsoft Visual C++ generated resource script. -// -#include "resource.h" - -#define APSTUDIO_READONLY_SYMBOLS -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 2 resource. -// -#ifndef APSTUDIO_INVOKED -#include "targetver.h" -#endif -#include "afxres.h" - -///////////////////////////////////////////////////////////////////////////// -#undef APSTUDIO_READONLY_SYMBOLS - -///////////////////////////////////////////////////////////////////////////// -// Chinese (Taiwan) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_CHT) -#ifdef _WIN32 -LANGUAGE LANG_CHINESE, SUBLANG_CHINESE_TRADITIONAL -#pragma code_page(950) -#endif //_WIN32 - -#ifdef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// TEXTINCLUDE -// - -1 TEXTINCLUDE -BEGIN - "resource.h\0" -END - -2 TEXTINCLUDE -BEGIN - "#ifndef APSTUDIO_INVOKED\r\n" - "#include ""targetver.h""\r\n" - "#endif\r\n" - "#include ""afxres.h""\r\n" - "\0" -END - -3 TEXTINCLUDE -BEGIN - "#define _AFX_NO_SPLITTER_RESOURCES\r\n" - "#define _AFX_NO_OLE_RESOURCES\r\n" - "#define _AFX_NO_TRACKER_RESOURCES\r\n" - "#define _AFX_NO_PROPERTY_RESOURCES\r\n" - "\r\n" - "#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)\r\n" - "LANGUAGE 9, 1\r\n" - "#pragma code_page(1252)\r\n" - "#include ""res\\My9222cdma.rc2"" // non-Microsoft Visual C++ edited resources\r\n" - "#include ""afxres.rc"" // Standard components\r\n" - "#endif\r\n" - "\0" -END - -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// Icon -// - -// Icon with lowest ID value placed first to ensure application icon -// remains consistent on all systems. -IDR_MAINFRAME ICON "res\\9222cdma.ico" -#endif // Chinese (Taiwan) resources -///////////////////////////////////////////////////////////////////////////// - - -///////////////////////////////////////////////////////////////////////////// -// English (U.S.) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -#ifdef _WIN32 -LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US -#pragma code_page(1252) -#endif //_WIN32 - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog -// - -IDD_ABOUTBOX DIALOGEX 0, 0, 170, 62 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "About 9222cdma" -FONT 8, "MS Shell Dlg", 0, 0, 0x1 -BEGIN - ICON IDR_MAINFRAME,IDC_STATIC,14,14,21,20 - LTEXT "9222cdma, Version 1.0",IDC_STATIC,42,14,114,8,SS_NOPREFIX - LTEXT "Copyright (C) 2010",IDC_STATIC,42,26,114,8 - DEFPUSHBUTTON "OK",IDOK,113,41,50,14,WS_GROUP -END - -IDD_9222DMA_DIALOG DIALOGEX 0, 0, 365, 232 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU -EXSTYLE WS_EX_APPWINDOW -CAPTION "PCI-9222 Infinite Re-Trigger DMA (Single-End Singal)" -FONT 8, "MS Shell Dlg", 0, 0, 0x1 -BEGIN - GROUPBOX "",IDC_STATIC_DRAW,45,9,248,161,NOT WS_VISIBLE - LTEXT "Range : +/- 10V",IDC_STATIC,299,129,52,15 - LTEXT "Buffer Size :",IDC_STATIC,124,184,42,9 - EDITTEXT IDC_EDIT_SCAN_ITERVAL,47,198,39,14,ES_AUTOHSCROLL | ES_READONLY - LTEXT "Sample Interval :",IDC_STATIC,47,184,60,9 - SCROLLBAR IDC_SCROLLBAR_RATE,87,198,9,11,SBS_VERT - PUSHBUTTON "Start",IDC_BT_START,230,188,55,22 - CONTROL "0",IDC_RADIO_CH0,"Button",BS_AUTORADIOBUTTON | BS_LEFTTEXT,307,20,16,12 - CONTROL "1",IDC_RADIO_CH1,"Button",BS_AUTORADIOBUTTON | BS_LEFTTEXT,307,35,16,12 - CONTROL "2",IDC_RADIO_CH2,"Button",BS_AUTORADIOBUTTON | BS_LEFTTEXT,307,49,16,12 - CONTROL "3",IDC_RADIO_CH3,"Button",BS_AUTORADIOBUTTON | BS_LEFTTEXT,307,64,16,12 - CONTROL "4",IDC_RADIO_CH4,"Button",BS_AUTORADIOBUTTON | BS_LEFTTEXT,331,20,16,12 - CONTROL "5",IDC_RADIO_CH5,"Button",BS_AUTORADIOBUTTON | BS_LEFTTEXT,331,35,16,12 - CONTROL "6",IDC_RADIO_CH6,"Button",BS_AUTORADIOBUTTON | BS_LEFTTEXT,331,49,16,12 - CONTROL "7",IDC_RADIO_CH7,"Button",BS_AUTORADIOBUTTON | BS_LEFTTEXT,331,64,16,12 - EDITTEXT IDC_EDIT_BUF_SIZE,122,198,46,14,ES_AUTOHSCROLL - PUSHBUTTON "Stop",IDC_BT_STOP,291,188,55,22 -END - -IDD_CARDID_DIALOG DIALOGEX 0, 0, 174, 108 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "Card ID" -FONT 8, "MS Shell Dlg", 400, 0, 0x1 -BEGIN - COMBOBOX IDC_COMBO_CARDID,78,24,71,126,CBS_DROPDOWN | WS_VSCROLL | WS_TABSTOP - LTEXT "Card Number",IDC_STATIC_01,23,25,46,12 - PUSHBUTTON "OK",IDOK,22,70,58,19 - PUSHBUTTON "CANCEL",IDCANCEL,86,70,58,19 -END - - -///////////////////////////////////////////////////////////////////////////// -// -// Version -// - -VS_VERSION_INFO VERSIONINFO - FILEVERSION 1,0,0,1 - PRODUCTVERSION 1,0,0,1 - FILEFLAGSMASK 0x3fL -#ifdef _DEBUG - FILEFLAGS 0x1L -#else - FILEFLAGS 0x0L -#endif - FILEOS 0x4L - FILETYPE 0x1L - FILESUBTYPE 0x0L -BEGIN - BLOCK "StringFileInfo" - BEGIN - BLOCK "040904e4" - BEGIN - VALUE "CompanyName", "TODO: " - VALUE "FileDescription", "TODO: " - VALUE "FileVersion", "1.0.0.1" - VALUE "InternalName", "9222cdma.exe" - VALUE "LegalCopyright", "TODO: (c) . All rights reserved." - VALUE "OriginalFilename", "9222cdma.exe" - VALUE "ProductName", "TODO: " - VALUE "ProductVersion", "1.0.0.1" - END - END - BLOCK "VarFileInfo" - BEGIN - VALUE "Translation", 0x409, 1252 - END -END - - -///////////////////////////////////////////////////////////////////////////// -// -// DESIGNINFO -// - -#ifdef APSTUDIO_INVOKED -GUIDELINES DESIGNINFO -BEGIN - IDD_ABOUTBOX, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 163 - TOPMARGIN, 7 - BOTTOMMARGIN, 55 - END - - IDD_CARDID_DIALOG, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 167 - TOPMARGIN, 7 - BOTTOMMARGIN, 101 - END -END -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog Info -// - -IDD_CARDID_DIALOG DLGINIT -BEGIN - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0030, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0031, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0032, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0033, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0034, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0035, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0036, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0037, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0038, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0039, - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3031, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3131, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3231, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3331, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3431, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3531, "\000" - 0 -END - - -///////////////////////////////////////////////////////////////////////////// -// -// Bitmap -// - -IDB_BITMAP_SET1 BITMAP "res\\ch_set1.bmp" -IDB_BITMAP_SET2 BITMAP "res\\ch_set2.bmp" - -///////////////////////////////////////////////////////////////////////////// -// -// String Table -// - -STRINGTABLE -BEGIN - IDS_ABOUTBOX "&About 9222cdma..." -END - -#endif // English (U.S.) resources -///////////////////////////////////////////////////////////////////////////// - - - -#ifndef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 3 resource. -// -#define _AFX_NO_SPLITTER_RESOURCES -#define _AFX_NO_OLE_RESOURCES -#define _AFX_NO_TRACKER_RESOURCES -#define _AFX_NO_PROPERTY_RESOURCES - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -LANGUAGE 9, 1 -#pragma code_page(1252) -#include "res\My9222cdma.rc2" // non-Microsoft Visual C++ edited resources -#include "afxres.rc" // Standard components -#endif - -///////////////////////////////////////////////////////////////////////////// -#endif // not APSTUDIO_INVOKED - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AIDma_InfiniteReTrigger/9222cdma.sln b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AIDma_InfiniteReTrigger/9222cdma.sln deleted file mode 100644 index dab32f7..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AIDma_InfiniteReTrigger/9222cdma.sln +++ /dev/null @@ -1,20 +0,0 @@ - -Microsoft Visual Studio Solution File, Format Version 10.00 -# Visual Studio 2008 -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "9222cdma", "9222cdma.vcproj", "{702163FB-B6DF-4EF5-9491-FC54D71509BC}" -EndProject -Global - GlobalSection(SolutionConfigurationPlatforms) = preSolution - Debug|x64 = Debug|x64 - Release|x64 = Release|x64 - EndGlobalSection - GlobalSection(ProjectConfigurationPlatforms) = postSolution - {702163FB-B6DF-4EF5-9491-FC54D71509BC}.Debug|x64.ActiveCfg = Debug|x64 - {702163FB-B6DF-4EF5-9491-FC54D71509BC}.Debug|x64.Build.0 = Debug|x64 - {702163FB-B6DF-4EF5-9491-FC54D71509BC}.Release|x64.ActiveCfg = Release|x64 - {702163FB-B6DF-4EF5-9491-FC54D71509BC}.Release|x64.Build.0 = Release|x64 - EndGlobalSection - GlobalSection(SolutionProperties) = preSolution - HideSolutionNode = FALSE - EndGlobalSection -EndGlobal diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AIDma_InfiniteReTrigger/9222cdma.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AIDma_InfiniteReTrigger/9222cdma.suo deleted file mode 100644 index ca66796..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AIDma_InfiniteReTrigger/9222cdma.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AIDma_InfiniteReTrigger/9222cdma.vcproj b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AIDma_InfiniteReTrigger/9222cdma.vcproj deleted file mode 100644 index 6564bd4..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AIDma_InfiniteReTrigger/9222cdma.vcproj +++ /dev/null @@ -1,294 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AIDma_InfiniteReTrigger/9222cdmaDlg.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AIDma_InfiniteReTrigger/9222cdmaDlg.cpp deleted file mode 100644 index 211f5f6..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AIDma_InfiniteReTrigger/9222cdmaDlg.cpp +++ /dev/null @@ -1,719 +0,0 @@ - -// 9222cdmaDlg.cpp : implementation file -// - -#include "stdafx.h" -#include "9222cdma.h" -#include "9222cdmaDlg.h" - -#ifdef _DEBUG -#define new DEBUG_NEW -#endif - -#define P922X_TIMEBASE 80000000.0 - -CRect plotRect; - -// CAboutDlg dialog used for App About - -class CAboutDlg : public CDialog -{ -public: - CAboutDlg(); - -// Dialog Data - enum { IDD = IDD_ABOUTBOX }; - - protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - -// Implementation -protected: - DECLARE_MESSAGE_MAP() -}; - -CAboutDlg::CAboutDlg() : CDialog(CAboutDlg::IDD) -{ -} - -void CAboutDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); -} - -BEGIN_MESSAGE_MAP(CAboutDlg, CDialog) -END_MESSAGE_MAP() - - -// C9222cdmaDlg dialog - - - - -C9222cdmaDlg::C9222cdmaDlg(I16 hCard, CWnd* pParent /*=NULL*/) - : CDialog(C9222cdmaDlg::IDD, pParent) -{ - m_hIcon = AfxGetApp()->LoadIcon(IDR_MAINFRAME); - - n_PlotWidth = n_PlotHeight = -1; - OnBrush = OffBrush = NULL; - - min_val = 0x00; - max_val = 0xFFFF; - - m_dwSampIntrv = 2000; - - m_hCard = hCard; - - m_wScanChans = 0; - m_nTimer = -1; - m_hMem1 = NULL; - m_hMem2 = NULL; - - m_wRange = AD_B_10_V; - max_range = 10.0; - min_range = -10.0; - - m_dwReadCount = 4000; - m_wPostCount = 512; - -} - -void C9222cdmaDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); -} - -BEGIN_MESSAGE_MAP(C9222cdmaDlg, CDialog) - ON_WM_SYSCOMMAND() - ON_WM_PAINT() - ON_WM_QUERYDRAGICON() - //}}AFX_MSG_MAP - ON_WM_DESTROY() - ON_WM_VSCROLL() - ON_BN_CLICKED(IDC_BT_START, &C9222cdmaDlg::OnStart) - ON_BN_CLICKED(IDC_RADIO_CH0, &C9222cdmaDlg::OnCh0) - ON_BN_CLICKED(IDC_RADIO_CH1, &C9222cdmaDlg::OnCh1) - ON_BN_CLICKED(IDC_RADIO_CH2, &C9222cdmaDlg::OnCh2) - ON_BN_CLICKED(IDC_RADIO_CH3, &C9222cdmaDlg::OnCh3) - ON_BN_CLICKED(IDC_RADIO_CH4, &C9222cdmaDlg::OnCh4) - ON_BN_CLICKED(IDC_RADIO_CH5, &C9222cdmaDlg::OnCh5) - ON_BN_CLICKED(IDC_RADIO_CH6, &C9222cdmaDlg::OnCh6) - ON_BN_CLICKED(IDC_RADIO_CH7, &C9222cdmaDlg::OnCh7) - ON_WM_TIMER() - ON_BN_CLICKED(IDC_BT_STOP, &C9222cdmaDlg::OnStop) -END_MESSAGE_MAP() - - -// C9222cdmaDlg message handlers - -BOOL C9222cdmaDlg::OnInitDialog() -{ - CDialog::OnInitDialog(); - - // Add "About..." menu item to system menu. - - // IDM_ABOUTBOX must be in the system command range. - ASSERT((IDM_ABOUTBOX & 0xFFF0) == IDM_ABOUTBOX); - ASSERT(IDM_ABOUTBOX < 0xF000); - - CMenu* pSysMenu = GetSystemMenu(FALSE); - if (pSysMenu != NULL) - { - BOOL bNameValid; - CString strAboutMenu; - bNameValid = strAboutMenu.LoadString(IDS_ABOUTBOX); - ASSERT(bNameValid); - if (!strAboutMenu.IsEmpty()) - { - pSysMenu->AppendMenu(MF_SEPARATOR); - pSysMenu->AppendMenu(MF_STRING, IDM_ABOUTBOX, strAboutMenu); - } - } - - // Set the icon for this dialog. The framework does this automatically - // when the application's main window is not a dialog - SetIcon(m_hIcon, TRUE); // Set big icon - SetIcon(m_hIcon, FALSE); // Set small icon - - // TODO: Add extra initialization here - x_divider = 5; y_divider = 4; - - OnBrush = CreateSolidBrush( RGB(255,0,0) ); - OffBrush = CreateSolidBrush( RGB(125,0,0) ); - - RedPen.CreatePen( PS_SOLID, 1, RGB(255,0,0)); - GreenPen.CreatePen( PS_SOLID, 1, RGB(0,255,0)); - YellowPen.CreatePen( PS_SOLID, 1, RGB(255,255,0)); - BluePen.CreatePen( PS_SOLID, 1, RGB(0,0,255)); - LTBluePen.CreatePen( PS_SOLID, 1, RGB(0,128,255)); - LTRedPen.CreatePen( PS_SOLID, 1, RGB(255,128,0)); - LTGreenPen.CreatePen( PS_SOLID, 1, RGB(0,128,0)); - WhitePen.CreatePen( PS_SOLID, 1, RGB(255,255,255)); - - - if( n_PlotWidth == -1 && n_PlotHeight == -1 ) - { - ((CWnd*)GetDlgItem(IDC_STATIC_DRAW))->GetWindowRect(&plotRect); - ScreenToClient(&plotRect); - - n_PlotWidth = min( plotRect.Width(), 512); - n_PlotHeight = plotRect.Height() - 10; - } - - // set the default SampleRate - - SetDlgItemInt( IDC_EDIT_SAMPLE_RATE, (UINT)(m_dwSampIntrv) ); - SetDlgItemInt( IDC_EDIT_BUF_SIZE, (UINT)(m_dwReadCount) ); - ((CButton*)GetDlgItem( IDC_RADIO_CH0 ))->SetCheck( TRUE ); - - return TRUE; // return TRUE unless you set the focus to a control -} - -void C9222cdmaDlg::OnSysCommand(UINT nID, LPARAM lParam) -{ - if ((nID & 0xFFF0) == IDM_ABOUTBOX) - { - CAboutDlg dlgAbout; - dlgAbout.DoModal(); - } - else - { - CDialog::OnSysCommand(nID, lParam); - } -} - -// If you add a minimize button to your dialog, you will need the code below -// to draw the icon. For MFC applications using the document/view model, -// this is automatically done for you by the framework. - -void C9222cdmaDlg::OnPaint() -{ - if (IsIconic()) - { - CPaintDC dc(this); // device context for painting - - SendMessage(WM_ICONERASEBKGND, reinterpret_cast(dc.GetSafeHdc()), 0); - - // Center icon in client rectangle - int cxIcon = GetSystemMetrics(SM_CXICON); - int cyIcon = GetSystemMetrics(SM_CYICON); - CRect rect; - GetClientRect(&rect); - int x = (rect.Width() - cxIcon + 1) / 2; - int y = (rect.Height() - cyIcon + 1) / 2; - - // Draw the icon - dc.DrawIcon(x, y, m_hIcon); - } - else - { - redraw_display_area(); - CDialog::OnPaint(); - } -} - -// The system calls this function to obtain the cursor to display while the user drags -// the minimized window. -HCURSOR C9222cdmaDlg::OnQueryDragIcon() -{ - return static_cast(m_hIcon); -} - - -void C9222cdmaDlg::redraw_display_area(void) -{ - CPen *oldPen; - - int oldMode; - COLORREF oldColor; - - CString y_lable; - - CPen minor_tick( PS_SOLID,1,RGB(132,130,132) ); -// CPen y_grid( PS_SOLID,1,RGB(206,203,132) ); - - int i, x_intv, y_intv; -// long total_sec; - - CClientDC dc_plot(this); - - // draw the base-line for x-y axises - oldPen = (CPen *)dc_plot.SelectStockObject(BLACK_PEN); - - // redraw the background - dc_plot.FillSolidRect( plotRect, RGB(0,0,0) ); - - // Re-Draw the AREA for Y-Lable - { - CBrush DIALOG_BRUSH; - CRect redraw_area, full_client; - - GetClientRect(&full_client); - ScreenToClient(&full_client); - - redraw_area.left = full_client.left; - redraw_area.top = plotRect.top - 5; - redraw_area.right = plotRect.left - 3; - redraw_area.bottom = plotRect.bottom + 10; - - DIALOG_BRUSH.CreateSysColorBrush( COLOR_3DFACE ); - - dc_plot.FillRect( redraw_area, &DIALOG_BRUSH ); - - DIALOG_BRUSH.DeleteObject(); - } - - dc_plot.MoveTo( plotRect.left - 3, plotRect.top ); - dc_plot.LineTo( plotRect.left - 3, plotRect.bottom ); - - // calculate the interval for tick/grid - y_intv = (plotRect.Height() - 10) /y_divider; - x_intv = plotRect.Width()/x_divider; - - - // set the color for tick - oldColor = dc_plot.SetTextColor( RGB(0,0,0) ); - oldMode = dc_plot.SetBkMode( TRANSPARENT ); - - for( i=0; i<= y_divider; i++ ) - { - CString tick_str; - CRect tmp_rect, tick_rect; - - // draw the tick for y-axis - dc_plot.MoveTo( plotRect.left -12, plotRect.bottom -5 - (i*y_intv) ); - dc_plot.LineTo( plotRect.left -3, plotRect.bottom -5 - (i*y_intv) ); - - tick_str.Format( _T("%.1f"), ( ((max_range-min_range)/y_divider) * i)+min_range ); - - // calculate the rectangle for text - dc_plot.DrawText( tick_str, &tmp_rect, DT_CALCRECT|DT_SINGLELINE ); - tick_rect.right = plotRect.left -14; - tick_rect.left = tick_rect.right - tmp_rect.Width(); - tick_rect.top = plotRect.bottom -5 - (i*y_intv) - tmp_rect.Height()/2; - tick_rect.bottom = tick_rect.top + tmp_rect.Height(); - - // draw the text - dc_plot.DrawText( tick_str, &tick_rect, DT_SINGLELINE|DT_RIGHT ); - - } - - // draw the minor_tick for Y axises - dc_plot.SelectObject(&minor_tick); - for( i=0; i< y_divider; i++ ) - { - dc_plot.MoveTo( plotRect.left -9, plotRect.bottom -5 - (i*y_intv) - y_intv/2 ); - dc_plot.LineTo( plotRect.left -4, plotRect.bottom -5 - (i*y_intv) - y_intv/2 ); - } - - dc_plot.SetTextColor( oldColor ); - dc_plot.SetBkMode( oldMode ); - dc_plot.SelectObject( oldPen ); -} - -void C9222cdmaDlg::OnDestroy() -{ - CDialog::OnDestroy(); - - // TODO: Add your message handler code here - if( m_nTimer != -1 ) - { - KillTimer( m_nTimer ); - m_nTimer = -1; - } - - if (m_hMem1 != NULL) - { - GlobalUnfix(m_hMem1); - GlobalUnlock(m_hMem1); - GlobalFree(m_hMem1); - - m_hMem1 = NULL; - } - - if (m_hMem2 != NULL) - { - GlobalUnfix(m_hMem2); - GlobalUnlock(m_hMem2); - GlobalFree(m_hMem2); - - m_hMem2 = NULL; - } - - if( OnBrush != NULL ) - ::DeleteObject( OnBrush ); - - if( OffBrush != NULL ) - ::DeleteObject( OffBrush ); - - RedPen.DeleteObject(); - GreenPen.DeleteObject(); - YellowPen.DeleteObject(); - BluePen.DeleteObject(); - LTBluePen.DeleteObject(); - LTRedPen.DeleteObject(); - LTGreenPen.DeleteObject(); - WhitePen.DeleteObject(); - -} - -void C9222cdmaDlg::OnVScroll(UINT nSBCode, UINT nPos, CScrollBar* pScrollBar) -{ - // TODO: Add your message handler code here and/or call default - switch ( nSBCode ) - { - case SB_LINEUP : - m_dwSampIntrv += 160; - if (m_dwSampIntrv > 40000 ) m_dwSampIntrv = 40000; - break; - case SB_LINEDOWN: - m_dwSampIntrv -= 160; - if (m_dwSampIntrv < 320 ) m_dwSampIntrv = 320; - break; - } - - SetDlgItemInt( IDC_EDIT_SCAN_ITERVAL, (UINT)(m_dwSampIntrv) ); - - CDialog::OnVScroll(nSBCode, nPos, pScrollBar); -} - - -void C9222cdmaDlg::OnStop() -{ - // TODO: Add your control notification handler code here - U32 count; - - if( m_nTimer != -1 ) - { - KillTimer( m_nTimer ); - m_nTimer = -1; - } - - AI_AsyncClear(m_hCard, &count); - - GetDlgItem( IDC_BT_START )->EnableWindow(TRUE); - - GetDlgItem( IDC_RADIO_CH0 )->EnableWindow(TRUE); - GetDlgItem( IDC_RADIO_CH1 )->EnableWindow(TRUE); - GetDlgItem( IDC_RADIO_CH2 )->EnableWindow(TRUE); - GetDlgItem( IDC_RADIO_CH3 )->EnableWindow(TRUE); - GetDlgItem( IDC_RADIO_CH4 )->EnableWindow(TRUE); - GetDlgItem( IDC_RADIO_CH5 )->EnableWindow(TRUE); - GetDlgItem( IDC_RADIO_CH6 )->EnableWindow(TRUE); - GetDlgItem( IDC_RADIO_CH7 )->EnableWindow(TRUE); -} - -void C9222cdmaDlg::OnStart() -{ - // TODO: Add your control notification handler code here - DWORD mem_size; - CString strTemp; - I16 err; - - GetDlgItem( IDC_BT_START )->EnableWindow(FALSE); - - GetDlgItem( IDC_RADIO_CH0 )->EnableWindow(FALSE); - GetDlgItem( IDC_RADIO_CH1 )->EnableWindow(FALSE); - GetDlgItem( IDC_RADIO_CH2 )->EnableWindow(FALSE); - GetDlgItem( IDC_RADIO_CH3 )->EnableWindow(FALSE); - GetDlgItem( IDC_RADIO_CH4 )->EnableWindow(FALSE); - GetDlgItem( IDC_RADIO_CH5 )->EnableWindow(FALSE); - GetDlgItem( IDC_RADIO_CH6 )->EnableWindow(FALSE); - GetDlgItem( IDC_RADIO_CH7 )->EnableWindow(FALSE); - - m_dwReadCount = GetDlgItemInt(IDC_EDIT_BUF_SIZE); - - if (m_hMem1 != NULL) - { - GlobalUnfix(m_hMem1); - GlobalUnlock(m_hMem1); - GlobalFree(m_hMem1); - - m_hMem1 = NULL; - } - - if (m_hMem2 != NULL) - { - GlobalUnfix(m_hMem2); - GlobalUnlock(m_hMem2); - GlobalFree(m_hMem2); - - m_hMem2 = NULL; - } - - // allocate a memory for user DMA buffer - mem_size = m_dwReadCount * sizeof(I16); - - m_hMem1 = GlobalAlloc(GMEM_FIXED | GMEM_ZEROINIT, mem_size); - m_pAIBuf1 = (U16*) GlobalLock(m_hMem1); - if (m_pAIBuf1 == NULL ) - { - AfxMessageBox( TEXT("Memory allocation failed"), MB_OK); - return; - } - GlobalFix(m_hMem1); - - m_hMem2 = GlobalAlloc(GMEM_FIXED | GMEM_ZEROINIT, mem_size); - m_pAIBuf2 = (U16*) GlobalLock(m_hMem2); - if (m_pAIBuf2 == NULL ) - { - AfxMessageBox( TEXT("Memory allocation failed"), MB_OK); - return; - } - GlobalFix(m_hMem2); - - m_oldY[0] = m_oldY[1] = m_oldY[2] = m_oldY[3] = m_oldY[4] = m_oldY[5] = m_oldY[6] = m_oldY[7] = -1; - m_oldX[0] = m_oldX[1] = m_oldX[2] = m_oldX[3] = m_oldX[4] = m_oldX[5] = m_oldX[6] = m_oldX[7] = -1; - - if ((err = AI_9222_Config(m_hCard, P922x_AI_SingEnded|P922x_AI_CONVSRC_INT, P922x_AI_TRGMOD_POST|P922x_AI_TRGSRC_GPI0|P922x_AI_EnReTigger, 0, TRUE)) != NoError) - { - strTemp.Format( TEXT("AI_9222_Config error=%d"), err); - AfxMessageBox( strTemp ); - return; - } - - if ((err = AI_9222_CounterInterval(m_hCard, m_dwSampIntrv, m_dwSampIntrv)) != NoError) - { - strTemp.Format( TEXT("AI_9221_CounterInterval error=%d"), err); - AfxMessageBox( strTemp ); - return; - } - - if ((err = AI_ContBufferSetup (m_hCard, m_pAIBuf1, m_dwReadCount, &m_wBufferID1)) != NoError) - { - strTemp.Format( TEXT("AI_ContBufferSetup error=%d"), err); - AfxMessageBox( strTemp ); - return; - } - - if ((err = AI_ContBufferSetup (m_hCard, m_pAIBuf2, m_dwReadCount, &m_wBufferID2)) != NoError) - { - strTemp.Format( TEXT("AI_ContBufferSetup error=%d"), err); - AfxMessageBox( strTemp ); - return; - } - - m_bView = 0; - - if ((err=AI_ContReadChannel(m_hCard, m_wScanChans, m_wRange, &m_wBufferID1, m_dwReadCount, 0, ASYNCH_OP)) != NoError) - { - strTemp.Format( TEXT("AI_ContBufferSetup error=%d"), err); - AfxMessageBox( strTemp ); - return; - } - - m_nTimer = SetTimer( 1, 20, NULL ); - -} - -int C9222cdmaDlg::display_buffer_data(U16* pBuf) -{ - CClientDC dc_plot(this); - int nDraw_Origin_Y; - int cur_channel; - - int newY = -1; - int newX = -1; - U32 index; - I16 ai_data; - U32 dwDataSize = m_dwReadCount; - - // redraw the background - dc_plot.FillSolidRect( plotRect, RGB(0,0,0) ); - - nDraw_Origin_Y = ( plotRect.bottom - 5 ) - n_PlotHeight/2; - - cur_channel = m_wScanChans; - - switch(cur_channel) - { - case 0: - dc_plot.SelectObject(&YellowPen); - break; - case 1: - dc_plot.SelectObject(<GreenPen); - break; - case 2: - dc_plot.SelectObject(&BluePen); - break; - case 3: - dc_plot.SelectObject(&RedPen); - break; - case 4: - dc_plot.SelectObject(<BluePen); - break; - case 5: - dc_plot.SelectObject(<RedPen); - break; - case 6: - dc_plot.SelectObject(&GreenPen); - break; - case 7: - dc_plot.SelectObject(&WhitePen); - break; - } - - for( index=0; index> 16) ); // ( n_PlotHeight * ai_data / 65536) ); // ( (n_PlotHeight/2) * ai_data/32768 ) ); - - newX = (int)( index*n_PlotWidth/dwDataSize + plotRect.left ); - - - - if ( index == 0 ) - { - dc_plot.MoveTo( newX, newY ); - } - else - { - dc_plot.MoveTo( m_oldX[cur_channel], m_oldY[cur_channel] ); - dc_plot.LineTo( newX, newY ); - } - - m_oldX[cur_channel] = newX; - m_oldY[cur_channel] = newY; - } - - return 0; -} - -void C9222cdmaDlg::OnTimer(UINT_PTR nIDEvent) -{ - // TODO: Add your message handler code here and/or call default - BOOLEAN HalfReady; - BOOLEAN fstop; - U16 RdyTrigCnt; - - AI_AsyncReTrigNextReady(m_hCard, &HalfReady, &fstop, &RdyTrigCnt); - - if( HalfReady ) // half-buffer ready - { - - if(RdyTrigCnt==0) - { - display_buffer_data( m_pAIBuf1 ); - m_bView = 1; - } - else - { - display_buffer_data( m_pAIBuf2 ); - m_bView= 0; - } - - } - - CDialog::OnTimer(nIDEvent); -} - -void C9222cdmaDlg::OnCh0() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_RADIO_CH0 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_wScanChans = 0; - } - -} - -void C9222cdmaDlg::OnCh1() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_RADIO_CH1 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_wScanChans = 1; - } -} - -void C9222cdmaDlg::OnCh2() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_RADIO_CH2 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_wScanChans = 2; - } -} - -void C9222cdmaDlg::OnCh3() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_RADIO_CH3 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_wScanChans = 3; - } -} - -void C9222cdmaDlg::OnCh4() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_RADIO_CH4 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_wScanChans = 4; - } -} - -void C9222cdmaDlg::OnCh5() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_RADIO_CH5 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_wScanChans = 5; - } -} - -void C9222cdmaDlg::OnCh6() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_RADIO_CH6 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_wScanChans = 6; - } -} - -void C9222cdmaDlg::OnCh7() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_RADIO_CH7 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_wScanChans = 7; - } -} - - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AIDma_InfiniteReTrigger/9222cdmaDlg.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AIDma_InfiniteReTrigger/9222cdmaDlg.h deleted file mode 100644 index 7e84ca5..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AIDma_InfiniteReTrigger/9222cdmaDlg.h +++ /dev/null @@ -1,85 +0,0 @@ - -// 9222cdmaDlg.h : header file -#pragma once -#include "afxcmn.h" -#include "afxwin.h" - -#include "Dask64.h" - -// C9222cdmaDlg dialog -class C9222cdmaDlg : public CDialog -{ -// Construction -public: - C9222cdmaDlg(I16 hCard, CWnd* pParent = NULL); // standard constructor - -// Dialog Data - enum { IDD = IDD_9222DMA_DIALOG }; - - protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - - -// Implementation -protected: - HICON m_hIcon; - UINT_PTR m_nTimer; - I16 m_hCard; - U32 m_dwSampIntrv; - U16 m_wScanChans; - HANDLE m_hMem1; - HANDLE m_hMem2; - U16 *m_pAIBuf1; - U16 *m_pAIBuf2; - U16 m_wBufferID1; - U16 m_wBufferID2; - U16 m_wRange; - int m_oldY[8]; - int m_oldX[8]; - U32 m_dwReadCount; - U16 m_wPostCount; - U8 m_bView; - - // Generated message map functions - virtual BOOL OnInitDialog(); - afx_msg void OnSysCommand(UINT nID, LPARAM lParam); - afx_msg void OnPaint(); - afx_msg HCURSOR OnQueryDragIcon(); - DECLARE_MESSAGE_MAP() - -public: - WORD max_val; - WORD min_val; - double max_range; - double min_range; - int n_PlotWidth; - int n_PlotHeight; - int y_divider; - int x_divider; - int m_DisplayScale; - HBRUSH OnBrush; - HBRUSH OffBrush; - CPen RedPen; - CPen GreenPen; - CPen YellowPen; - CPen BluePen; - CPen LTBluePen; - CPen LTRedPen; - CPen LTGreenPen; - CPen WhitePen; - void redraw_display_area(void); - afx_msg void OnDestroy(); - afx_msg void OnVScroll(UINT nSBCode, UINT nPos, CScrollBar* pScrollBar); - afx_msg void OnStart(); - int display_buffer_data(U16* pBuf); - afx_msg void OnCh0(); - afx_msg void OnCh1(); - afx_msg void OnCh2(); - afx_msg void OnCh3(); - afx_msg void OnCh4(); - afx_msg void OnCh5(); - afx_msg void OnCh6(); - afx_msg void OnCh7(); - afx_msg void OnTimer(UINT_PTR nIDEvent); - afx_msg void OnStop(); -}; diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AIDma_InfiniteReTrigger/CardIDDlg.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AIDma_InfiniteReTrigger/CardIDDlg.cpp deleted file mode 100644 index 55c0363..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AIDma_InfiniteReTrigger/CardIDDlg.cpp +++ /dev/null @@ -1,64 +0,0 @@ -// CardIDDlg.cpp : implementation file -// -#include "stdafx.h" -#include "9222cdma.h" -#include "9222cdmaDlg.h" -#include "CardIDDlg.h" - -// CCardIDDlg dialog - -IMPLEMENT_DYNAMIC(CCardIDDlg, CDialog) - -CCardIDDlg::CCardIDDlg(int nCardIdx, CWnd* pParent /*=NULL*/) - : CDialog(CCardIDDlg::IDD, pParent) -{ - m_nCardIdx = nCardIdx; -} - -CCardIDDlg::~CCardIDDlg() -{ -} - -void CCardIDDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); - DDX_Control(pDX, IDC_COMBO_CARDID, m_cbCardID); -} - - -BEGIN_MESSAGE_MAP(CCardIDDlg, CDialog) -// ON_CBN_SELCHANGE(IDC_COMBO_CARDID, &CCardIDDlg::OnCbnSelchangeComboCardid) -ON_BN_CLICKED(IDOK, &CCardIDDlg::OnBnClickedOk) -//ON_WM_CTLCOLOR() -END_MESSAGE_MAP() - - -// CCardIDDlg message handlers - - -void CCardIDDlg::OnBnClickedOk() -{ - // TODO: Add your control notification handler code here - -// UpdateData(TRUE); - m_nCardIdx = m_cbCardID.GetCurSel(); - - OnOK(); -} - -BOOL CCardIDDlg::OnInitDialog() -{ - CDialog::OnInitDialog(); - - // TODO: Add extra initialization here - m_cbCardID.SetCurSel( m_nCardIdx ); - - return TRUE; // return TRUE unless you set the focus to a control - // EXCEPTION: OCX Property Pages should return FALSE -} - -// the function to get the selected CardID -int CCardIDDlg::GetCardID(void) -{ - return m_nCardIdx; -} diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AIDma_InfiniteReTrigger/CardIDDlg.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AIDma_InfiniteReTrigger/CardIDDlg.h deleted file mode 100644 index 9c02c58..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AIDma_InfiniteReTrigger/CardIDDlg.h +++ /dev/null @@ -1,32 +0,0 @@ -#pragma once -#include "afxwin.h" - -#include "Dask64.h" - -// CCardIDDlg dialog - -class CCardIDDlg : public CDialog -{ - DECLARE_DYNAMIC(CCardIDDlg) - -public: - CCardIDDlg(int nCardIdx, CWnd* pParent = NULL); // standard constructor - virtual ~CCardIDDlg(); - -// Dialog Data - enum { IDD = IDD_CARDID_DIALOG }; - -protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - - DECLARE_MESSAGE_MAP() -public: - virtual BOOL OnInitDialog(); - afx_msg void OnBnClickedOk(); - // the setting of CardID ComboBox - int m_nCardIdx; - // the control of CardID ComboBox - CComboBox m_cbCardID; - // the function to get the selected CardID - int GetCardID(void); -}; diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AIDma_InfiniteReTrigger/ReadMe.txt b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AIDma_InfiniteReTrigger/ReadMe.txt deleted file mode 100644 index 6e83f34..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AIDma_InfiniteReTrigger/ReadMe.txt +++ /dev/null @@ -1,93 +0,0 @@ -================================================================================ - MICROSOFT FOUNDATION CLASS LIBRARY : 9222cdma Project Overview -=============================================================================== - -The application wizard has created this 9222cdma application for -you. This application not only demonstrates the basics of using the Microsoft -Foundation Classes but is also a starting point for writing your application. - -This file contains a summary of what you will find in each of the files that -make up your 9222cdma application. - -9222cdma.vcproj - This is the main project file for VC++ projects generated using an application wizard. - It contains information about the version of Visual C++ that generated the file, and - information about the platforms, configurations, and project features selected with the - application wizard. - -9222cdma.h - This is the main header file for the application. It includes other - project specific headers (including Resource.h) and declares the - C9222cdmaApp application class. - -9222cdma.cpp - This is the main application source file that contains the application - class C9222cdmaApp. - -9222cdma.rc - This is a listing of all of the Microsoft Windows resources that the - program uses. It includes the icons, bitmaps, and cursors that are stored - in the RES subdirectory. This file can be directly edited in Microsoft - Visual C++. Your project resources are in 1033. - -res\9222cdma.ico - This is an icon file, which is used as the application's icon. This - icon is included by the main resource file 9222cdma.rc. - -res\My9222cdma.rc2 - This file contains resources that are not edited by Microsoft - Visual C++. You should place all resources not editable by - the resource editor in this file. - - -///////////////////////////////////////////////////////////////////////////// - -The application wizard creates one dialog class: - -9222cdmaDlg.h, 9222cdmaDlg.cpp - the dialog - These files contain your C9222cdmaDlg class. This class defines - the behavior of your application's main dialog. The dialog's template is - in 9222cdma.rc, which can be edited in Microsoft Visual C++. - - -///////////////////////////////////////////////////////////////////////////// - -Other Features: - -ActiveX Controls - The application includes support to use ActiveX controls. - -///////////////////////////////////////////////////////////////////////////// - -Other standard files: - -StdAfx.h, StdAfx.cpp - These files are used to build a precompiled header (PCH) file - named 9222cdma.pch and a precompiled types file named StdAfx.obj. - -Resource.h - This is the standard header file, which defines new resource IDs. - Microsoft Visual C++ reads and updates this file. - -9222cdma.manifest - Application manifest files are used by Windows XP to describe an applications - dependency on specific versions of Side-by-Side assemblies. The loader uses this - information to load the appropriate assembly from the assembly cache or private - from the application. The Application manifest maybe included for redistribution - as an external .manifest file that is installed in the same folder as the application - executable or it may be included in the executable in the form of a resource. -///////////////////////////////////////////////////////////////////////////// - -Other notes: - -The application wizard uses "TODO:" to indicate parts of the source code you -should add to or customize. - -If your application uses MFC in a shared DLL, you will need -to redistribute the MFC DLLs. If your application is in a language -other than the operating system's locale, you will also have to -redistribute the corresponding localized resources MFC90XXX.DLL. -For more information on both of these topics, please see the section on -redistributing Visual C++ applications in MSDN documentation. - -///////////////////////////////////////////////////////////////////////////// diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AIDma_InfiniteReTrigger/res/9222cdma.ico b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AIDma_InfiniteReTrigger/res/9222cdma.ico deleted file mode 100644 index d56fbcd..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AIDma_InfiniteReTrigger/res/9222cdma.ico and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AIDma_InfiniteReTrigger/res/My9222cdma.rc2 b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AIDma_InfiniteReTrigger/res/My9222cdma.rc2 deleted file mode 100644 index 383cde2..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AIDma_InfiniteReTrigger/res/My9222cdma.rc2 +++ /dev/null @@ -1,13 +0,0 @@ -// -// My9111int.RC2 - resources Microsoft Visual C++ does not edit directly -// - -#ifdef APSTUDIO_INVOKED -#error this file is not editable by Microsoft Visual C++ -#endif //APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// Add manually edited resources here... - -///////////////////////////////////////////////////////////////////////////// diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AIDma_InfiniteReTrigger/res/ch_set1.bmp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AIDma_InfiniteReTrigger/res/ch_set1.bmp deleted file mode 100644 index f2374ed..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AIDma_InfiniteReTrigger/res/ch_set1.bmp and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AIDma_InfiniteReTrigger/res/ch_set2.bmp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AIDma_InfiniteReTrigger/res/ch_set2.bmp deleted file mode 100644 index 32d0915..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AIDma_InfiniteReTrigger/res/ch_set2.bmp and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AIDma_InfiniteReTrigger/resource.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AIDma_InfiniteReTrigger/resource.h deleted file mode 100644 index 5dd8022..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AIDma_InfiniteReTrigger/resource.h +++ /dev/null @@ -1,42 +0,0 @@ -//{{NO_DEPENDENCIES}} -// Microsoft Visual C++ generated include file. -// Used by 9222cdma.rc -// -#define IDM_ABOUTBOX 0x0010 -#define IDD_ABOUTBOX 100 -#define IDS_ABOUTBOX 101 -#define IDD_9222DMA_DIALOG 102 -#define IDR_MAINFRAME 128 -#define IDD_CARDID_DIALOG 129 -#define IDB_BITMAP_SET1 131 -#define IDB_BITMAP_SET2 132 -#define IDC_STATIC_DRAW 1000 -#define IDC_COMBO_CARDID 1001 -#define IDC_BT_STOP 1002 -#define IDC_COMBO_CARDTYPE 1002 -#define IDC_BT_START 1003 -#define IDC_EDIT_SAMPLE_RATE 1004 -#define IDC_EDIT_SCAN_ITERVAL 1004 -#define IDC_SCROLLBAR_RATE 1005 -#define IDC_RADIO_CH0 1006 -#define IDC_RADIO_CH1 1007 -#define IDC_RADIO_CH2 1008 -#define IDC_RADIO_CH3 1009 -#define IDC_RADIO_CH4 1010 -#define IDC_RADIO_CH5 1011 -#define IDC_RADIO_CH6 1012 -#define IDC_RADIO_CH7 1013 -#define IDC_STATIC_01 1014 -#define IDC_EDIT_BUF_SIZE 1014 -#define IDC_STATIC_2 1015 - -// Next default values for new objects -// -#ifdef APSTUDIO_INVOKED -#ifndef APSTUDIO_READONLY_SYMBOLS -#define _APS_NEXT_RESOURCE_VALUE 134 -#define _APS_NEXT_COMMAND_VALUE 32771 -#define _APS_NEXT_CONTROL_VALUE 1017 -#define _APS_NEXT_SYMED_VALUE 101 -#endif -#endif diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AIDma_InfiniteReTrigger/stdafx.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AIDma_InfiniteReTrigger/stdafx.cpp deleted file mode 100644 index ef80626..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AIDma_InfiniteReTrigger/stdafx.cpp +++ /dev/null @@ -1,8 +0,0 @@ - -// stdafx.cpp : source file that includes just the standard includes -// 9111int.pch will be the pre-compiled header -// stdafx.obj will contain the pre-compiled type information - -#include "stdafx.h" - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AIDma_InfiniteReTrigger/stdafx.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AIDma_InfiniteReTrigger/stdafx.h deleted file mode 100644 index 12123e2..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AIDma_InfiniteReTrigger/stdafx.h +++ /dev/null @@ -1,60 +0,0 @@ - -// stdafx.h : include file for standard system include files, -// or project specific include files that are used frequently, -// but are changed infrequently - -#pragma once - -#ifndef _SECURE_ATL -#define _SECURE_ATL 1 -#endif - -#ifndef VC_EXTRALEAN -#define VC_EXTRALEAN // Exclude rarely-used stuff from Windows headers -#endif - -#include "targetver.h" - -#define _ATL_CSTRING_EXPLICIT_CONSTRUCTORS // some CString constructors will be explicit - -// turns off MFC's hiding of some common and often safely ignored warning messages -#define _AFX_ALL_WARNINGS - -#include // MFC core and standard components -#include // MFC extensions - - -#include // MFC Automation classes - - - -#ifndef _AFX_NO_OLE_SUPPORT -#include // MFC support for Internet Explorer 4 Common Controls -#endif -#ifndef _AFX_NO_AFXCMN_SUPPORT -#include // MFC support for Windows Common Controls -#endif // _AFX_NO_AFXCMN_SUPPORT - -#include // MFC support for ribbons and control bars - - - - - - - - - -#ifdef _UNICODE -#if defined _M_IX86 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='x86' publicKeyToken='6595b64144ccf1df' language='*'\"") -#elif defined _M_IA64 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='ia64' publicKeyToken='6595b64144ccf1df' language='*'\"") -#elif defined _M_X64 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='amd64' publicKeyToken='6595b64144ccf1df' language='*'\"") -#else -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='*' publicKeyToken='6595b64144ccf1df' language='*'\"") -#endif -#endif - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AIDma_InfiniteReTrigger/targetver.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AIDma_InfiniteReTrigger/targetver.h deleted file mode 100644 index 11730d5..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AIDma_InfiniteReTrigger/targetver.h +++ /dev/null @@ -1,26 +0,0 @@ - -#pragma once - -// The following macros define the minimum required platform. The minimum required platform -// is the earliest version of Windows, Internet Explorer etc. that has the necessary features to run -// your application. The macros work by enabling all features available on platform versions up to and -// including the version specified. - -// Modify the following defines if you have to target a platform prior to the ones specified below. -// Refer to MSDN for the latest info on corresponding values for different platforms. -#ifndef WINVER // Specifies that the minimum required platform is Windows Vista. -#define WINVER 0x0600 // Change this to the appropriate value to target other versions of Windows. -#endif - -#ifndef _WIN32_WINNT // Specifies that the minimum required platform is Windows Vista. -#define _WIN32_WINNT 0x0600 // Change this to the appropriate value to target other versions of Windows. -#endif - -#ifndef _WIN32_WINDOWS // Specifies that the minimum required platform is Windows 98. -#define _WIN32_WINDOWS 0x0410 // Change this to the appropriate value to target Windows Me or later. -#endif - -#ifndef _WIN32_IE // Specifies that the minimum required platform is Internet Explorer 7.0. -#define _WIN32_IE 0x0700 // Change this to the appropriate value to target other versions of IE. -#endif - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AIDma_ReTrigger/9111DbInt.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AIDma_ReTrigger/9111DbInt.suo deleted file mode 100644 index 3fde864..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AIDma_ReTrigger/9111DbInt.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AIDma_ReTrigger/9111PostTg.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AIDma_ReTrigger/9111PostTg.suo deleted file mode 100644 index c59a833..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AIDma_ReTrigger/9111PostTg.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AIDma_ReTrigger/9111int.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AIDma_ReTrigger/9111int.suo deleted file mode 100644 index aaca7d8..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AIDma_ReTrigger/9111int.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AIDma_ReTrigger/9116cdma.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AIDma_ReTrigger/9116cdma.suo deleted file mode 100644 index df9f193..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AIDma_ReTrigger/9116cdma.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AIDma_ReTrigger/9118cdma.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AIDma_ReTrigger/9118cdma.suo deleted file mode 100644 index 9318437..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AIDma_ReTrigger/9118cdma.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AIDma_ReTrigger/9221cdma.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AIDma_ReTrigger/9221cdma.suo deleted file mode 100644 index 9cb61ca..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AIDma_ReTrigger/9221cdma.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AIDma_ReTrigger/9222cdma.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AIDma_ReTrigger/9222cdma.cpp deleted file mode 100644 index 7ddb019..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AIDma_ReTrigger/9222cdma.cpp +++ /dev/null @@ -1,109 +0,0 @@ - -// 9222cdma.cpp : Defines the class behaviors for the application. -// - -#include "stdafx.h" -#include "9222cdma.h" -#include "9222cdmaDlg.h" -#include "CardIDDlg.h" - -#ifdef _DEBUG -#define new DEBUG_NEW -#endif - - -// C9222cdmaApp - -BEGIN_MESSAGE_MAP(C9222cdmaApp, CWinAppEx) - ON_COMMAND(ID_HELP, &CWinApp::OnHelp) -END_MESSAGE_MAP() - - -// C9222cdmaApp construction - -C9222cdmaApp::C9222cdmaApp() -{ - // TODO: add construction code here, - // Place all significant initialization in InitInstance -} - - -// The one and only C9222cdmaApp object - -C9222cdmaApp theApp; - - -// C9222cdmaApp initialization - -BOOL C9222cdmaApp::InitInstance() -{ - int nCardID = 0; - I16 hCard; - CString strTemp; - INT_PTR nResponse; - - // InitCommonControlsEx() is required on Windows XP if an application - // manifest specifies use of ComCtl32.dll version 6 or later to enable - // visual styles. Otherwise, any window creation will fail. - INITCOMMONCONTROLSEX InitCtrls; - InitCtrls.dwSize = sizeof(InitCtrls); - // Set this to include all the common control classes you want to use - // in your application. - InitCtrls.dwICC = ICC_WIN95_CLASSES; - InitCommonControlsEx(&InitCtrls); - - CWinAppEx::InitInstance(); - - AfxEnableControlContainer(); - - // Standard initialization - // If you are not using these features and wish to reduce the size - // of your final executable, you should remove from the following - // the specific initialization routines you do not need - // Change the registry key under which our settings are stored - // TODO: You should modify this string to be something appropriate - // such as the name of your company or organization - SetRegistryKey(_T("Local AppWizard-Generated Applications")); - - CCardIDDlg CardDlg( nCardID ); - - nResponse = CardDlg.DoModal(); - if (nResponse == IDOK) - { - nCardID = CardDlg.GetCardID(); - - if ((hCard=Register_Card(PCI_9222, nCardID)) < 0) - { - strTemp.Format( TEXT("Register_Card Error = %d"), hCard); - AfxMessageBox( strTemp ); - } - else - { - C9222cdmaDlg dlg(hCard); - m_pMainWnd = &dlg; - nResponse = dlg.DoModal(); - if (nResponse == IDOK) - { - // TODO: Place code here to handle when the dialog is - // dismissed with OK - } - else if (nResponse == IDCANCEL) - { - // TODO: Place code here to handle when the dialog is - // dismissed with Cancel - } - - if (hCard >= 0) Release_Card(hCard); - } - - } - else if (nResponse == IDCANCEL) - { - // TODO: Place code here to handle when the dialog is - // dismissed with Cancel - } - - // Since the dialog has been closed, return FALSE so that we exit the - // application, rather than start the application's message pump. - return FALSE; -} diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AIDma_ReTrigger/9222cdma.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AIDma_ReTrigger/9222cdma.h deleted file mode 100644 index 16a6900..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AIDma_ReTrigger/9222cdma.h +++ /dev/null @@ -1,34 +0,0 @@ - -// 9222cdma.h : main header file for the PROJECT_NAME application -// - -#pragma once - -#ifndef __AFXWIN_H__ - #error "include 'stdafx.h' before including this file for PCH" -#endif - -#include "resource.h" // main symbols - -#define AI_MODE_DMA 0 -#define AI_MODE_INT 1 - -// C9222cdmaApp: -// See 9222cdma.cpp for the implementation of this class -// - -class C9222cdmaApp : public CWinAppEx -{ -public: - C9222cdmaApp(); - -// Overrides - public: - virtual BOOL InitInstance(); - -// Implementation - - DECLARE_MESSAGE_MAP() -}; - -extern C9222cdmaApp theApp; \ No newline at end of file diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AIDma_ReTrigger/9222cdma.rc b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AIDma_ReTrigger/9222cdma.rc deleted file mode 100644 index 0f3ad0a..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AIDma_ReTrigger/9222cdma.rc +++ /dev/null @@ -1,291 +0,0 @@ -// Microsoft Visual C++ generated resource script. -// -#include "resource.h" - -#define APSTUDIO_READONLY_SYMBOLS -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 2 resource. -// -#ifndef APSTUDIO_INVOKED -#include "targetver.h" -#endif -#include "afxres.h" - -///////////////////////////////////////////////////////////////////////////// -#undef APSTUDIO_READONLY_SYMBOLS - -///////////////////////////////////////////////////////////////////////////// -// Chinese (Taiwan) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_CHT) -#ifdef _WIN32 -LANGUAGE LANG_CHINESE, SUBLANG_CHINESE_TRADITIONAL -#pragma code_page(950) -#endif //_WIN32 - -#ifdef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// TEXTINCLUDE -// - -1 TEXTINCLUDE -BEGIN - "resource.h\0" -END - -2 TEXTINCLUDE -BEGIN - "#ifndef APSTUDIO_INVOKED\r\n" - "#include ""targetver.h""\r\n" - "#endif\r\n" - "#include ""afxres.h""\r\n" - "\0" -END - -3 TEXTINCLUDE -BEGIN - "#define _AFX_NO_SPLITTER_RESOURCES\r\n" - "#define _AFX_NO_OLE_RESOURCES\r\n" - "#define _AFX_NO_TRACKER_RESOURCES\r\n" - "#define _AFX_NO_PROPERTY_RESOURCES\r\n" - "\r\n" - "#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)\r\n" - "LANGUAGE 9, 1\r\n" - "#pragma code_page(1252)\r\n" - "#include ""res\\My9222cdma.rc2"" // non-Microsoft Visual C++ edited resources\r\n" - "#include ""afxres.rc"" // Standard components\r\n" - "#endif\r\n" - "\0" -END - -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// Icon -// - -// Icon with lowest ID value placed first to ensure application icon -// remains consistent on all systems. -IDR_MAINFRAME ICON "res\\9222cdma.ico" -#endif // Chinese (Taiwan) resources -///////////////////////////////////////////////////////////////////////////// - - -///////////////////////////////////////////////////////////////////////////// -// English (U.S.) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -#ifdef _WIN32 -LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US -#pragma code_page(1252) -#endif //_WIN32 - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog -// - -IDD_ABOUTBOX DIALOGEX 0, 0, 170, 62 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "About 9222cdma" -FONT 8, "MS Shell Dlg", 0, 0, 0x1 -BEGIN - ICON IDR_MAINFRAME,IDC_STATIC,14,14,21,20 - LTEXT "9222cdma, Version 1.0",IDC_STATIC,42,14,114,8,SS_NOPREFIX - LTEXT "Copyright (C) 2010",IDC_STATIC,42,26,114,8 - DEFPUSHBUTTON "OK",IDOK,113,41,50,14,WS_GROUP -END - -IDD_9222DMA_DIALOG DIALOGEX 0, 0, 365, 232 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU -EXSTYLE WS_EX_APPWINDOW -CAPTION "PCI-9222 5 Re-Trigger DMA (Single-End Singal)" -FONT 8, "MS Shell Dlg", 0, 0, 0x1 -BEGIN - GROUPBOX "",IDC_STATIC_DRAW,45,9,248,161,NOT WS_VISIBLE - LTEXT "Range : +/- 10V",IDC_STATIC,299,129,52,15 - LTEXT "Buffer Size :",IDC_STATIC,124,184,42,9 - EDITTEXT IDC_EDIT_SCAN_ITERVAL,47,198,39,14,ES_AUTOHSCROLL | ES_READONLY - LTEXT "Sample Interval :",IDC_STATIC,47,184,60,9 - SCROLLBAR IDC_SCROLLBAR_RATE,87,198,9,11,SBS_VERT - PUSHBUTTON "Start",IDC_BT_START,230,188,55,22 - CONTROL "0",IDC_RADIO_CH0,"Button",BS_AUTORADIOBUTTON | BS_LEFTTEXT,307,20,16,12 - CONTROL "1",IDC_RADIO_CH1,"Button",BS_AUTORADIOBUTTON | BS_LEFTTEXT,307,35,16,12 - CONTROL "2",IDC_RADIO_CH2,"Button",BS_AUTORADIOBUTTON | BS_LEFTTEXT,307,49,16,12 - CONTROL "3",IDC_RADIO_CH3,"Button",BS_AUTORADIOBUTTON | BS_LEFTTEXT,307,64,16,12 - CONTROL "4",IDC_RADIO_CH4,"Button",BS_AUTORADIOBUTTON | BS_LEFTTEXT,331,20,16,12 - CONTROL "5",IDC_RADIO_CH5,"Button",BS_AUTORADIOBUTTON | BS_LEFTTEXT,331,35,16,12 - CONTROL "6",IDC_RADIO_CH6,"Button",BS_AUTORADIOBUTTON | BS_LEFTTEXT,331,49,16,12 - CONTROL "7",IDC_RADIO_CH7,"Button",BS_AUTORADIOBUTTON | BS_LEFTTEXT,331,64,16,12 - EDITTEXT IDC_EDIT_BUF_SIZE,122,198,46,14,ES_AUTOHSCROLL - PUSHBUTTON "Stop",IDC_BT_STOP,291,188,55,22 -END - -IDD_CARDID_DIALOG DIALOGEX 0, 0, 174, 108 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "Card ID" -FONT 8, "MS Shell Dlg", 400, 0, 0x1 -BEGIN - COMBOBOX IDC_COMBO_CARDID,78,24,71,126,CBS_DROPDOWN | WS_VSCROLL | WS_TABSTOP - LTEXT "Card Number",IDC_STATIC_01,23,25,46,12 - PUSHBUTTON "OK",IDOK,22,70,58,19 - PUSHBUTTON "CANCEL",IDCANCEL,86,70,58,19 -END - - -///////////////////////////////////////////////////////////////////////////// -// -// Version -// - -VS_VERSION_INFO VERSIONINFO - FILEVERSION 1,0,0,1 - PRODUCTVERSION 1,0,0,1 - FILEFLAGSMASK 0x3fL -#ifdef _DEBUG - FILEFLAGS 0x1L -#else - FILEFLAGS 0x0L -#endif - FILEOS 0x4L - FILETYPE 0x1L - FILESUBTYPE 0x0L -BEGIN - BLOCK "StringFileInfo" - BEGIN - BLOCK "040904e4" - BEGIN - VALUE "CompanyName", "TODO: " - VALUE "FileDescription", "TODO: " - VALUE "FileVersion", "1.0.0.1" - VALUE "InternalName", "9222cdma.exe" - VALUE "LegalCopyright", "TODO: (c) . All rights reserved." - VALUE "OriginalFilename", "9222cdma.exe" - VALUE "ProductName", "TODO: " - VALUE "ProductVersion", "1.0.0.1" - END - END - BLOCK "VarFileInfo" - BEGIN - VALUE "Translation", 0x409, 1252 - END -END - - -///////////////////////////////////////////////////////////////////////////// -// -// DESIGNINFO -// - -#ifdef APSTUDIO_INVOKED -GUIDELINES DESIGNINFO -BEGIN - IDD_ABOUTBOX, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 163 - TOPMARGIN, 7 - BOTTOMMARGIN, 55 - END - - IDD_CARDID_DIALOG, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 167 - TOPMARGIN, 7 - BOTTOMMARGIN, 101 - END -END -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog Info -// - -IDD_CARDID_DIALOG DLGINIT -BEGIN - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0030, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0031, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0032, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0033, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0034, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0035, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0036, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0037, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0038, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0039, - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3031, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3131, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3231, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3331, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3431, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3531, "\000" - 0 -END - - -///////////////////////////////////////////////////////////////////////////// -// -// Bitmap -// - -IDB_BITMAP_SET1 BITMAP "res\\ch_set1.bmp" -IDB_BITMAP_SET2 BITMAP "res\\ch_set2.bmp" - -///////////////////////////////////////////////////////////////////////////// -// -// String Table -// - -STRINGTABLE -BEGIN - IDS_ABOUTBOX "&About 9222cdma..." -END - -#endif // English (U.S.) resources -///////////////////////////////////////////////////////////////////////////// - - - -#ifndef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 3 resource. -// -#define _AFX_NO_SPLITTER_RESOURCES -#define _AFX_NO_OLE_RESOURCES -#define _AFX_NO_TRACKER_RESOURCES -#define _AFX_NO_PROPERTY_RESOURCES - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -LANGUAGE 9, 1 -#pragma code_page(1252) -#include "res\My9222cdma.rc2" // non-Microsoft Visual C++ edited resources -#include "afxres.rc" // Standard components -#endif - -///////////////////////////////////////////////////////////////////////////// -#endif // not APSTUDIO_INVOKED - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AIDma_ReTrigger/9222cdma.sln b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AIDma_ReTrigger/9222cdma.sln deleted file mode 100644 index dab32f7..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AIDma_ReTrigger/9222cdma.sln +++ /dev/null @@ -1,20 +0,0 @@ - -Microsoft Visual Studio Solution File, Format Version 10.00 -# Visual Studio 2008 -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "9222cdma", "9222cdma.vcproj", "{702163FB-B6DF-4EF5-9491-FC54D71509BC}" -EndProject -Global - GlobalSection(SolutionConfigurationPlatforms) = preSolution - Debug|x64 = Debug|x64 - Release|x64 = Release|x64 - EndGlobalSection - GlobalSection(ProjectConfigurationPlatforms) = postSolution - {702163FB-B6DF-4EF5-9491-FC54D71509BC}.Debug|x64.ActiveCfg = Debug|x64 - {702163FB-B6DF-4EF5-9491-FC54D71509BC}.Debug|x64.Build.0 = Debug|x64 - {702163FB-B6DF-4EF5-9491-FC54D71509BC}.Release|x64.ActiveCfg = Release|x64 - {702163FB-B6DF-4EF5-9491-FC54D71509BC}.Release|x64.Build.0 = Release|x64 - EndGlobalSection - GlobalSection(SolutionProperties) = preSolution - HideSolutionNode = FALSE - EndGlobalSection -EndGlobal diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AIDma_ReTrigger/9222cdma.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AIDma_ReTrigger/9222cdma.suo deleted file mode 100644 index 0afb208..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AIDma_ReTrigger/9222cdma.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AIDma_ReTrigger/9222cdma.vcproj b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AIDma_ReTrigger/9222cdma.vcproj deleted file mode 100644 index 6564bd4..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AIDma_ReTrigger/9222cdma.vcproj +++ /dev/null @@ -1,294 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AIDma_ReTrigger/9222cdmaDlg.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AIDma_ReTrigger/9222cdmaDlg.cpp deleted file mode 100644 index d9b666e..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AIDma_ReTrigger/9222cdmaDlg.cpp +++ /dev/null @@ -1,714 +0,0 @@ - -// 9222cdmaDlg.cpp : implementation file -// - -#include "stdafx.h" -#include "9222cdma.h" -#include "9222cdmaDlg.h" - -#ifdef _DEBUG -#define new DEBUG_NEW -#endif - -#define P922X_TIMEBASE 80000000.0 - -CRect plotRect; - -// CAboutDlg dialog used for App About - -class CAboutDlg : public CDialog -{ -public: - CAboutDlg(); - -// Dialog Data - enum { IDD = IDD_ABOUTBOX }; - - protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - -// Implementation -protected: - DECLARE_MESSAGE_MAP() -}; - -CAboutDlg::CAboutDlg() : CDialog(CAboutDlg::IDD) -{ -} - -void CAboutDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); -} - -BEGIN_MESSAGE_MAP(CAboutDlg, CDialog) -END_MESSAGE_MAP() - - -// C9222cdmaDlg dialog - - - - -C9222cdmaDlg::C9222cdmaDlg(I16 hCard, CWnd* pParent /*=NULL*/) - : CDialog(C9222cdmaDlg::IDD, pParent) -{ - m_hIcon = AfxGetApp()->LoadIcon(IDR_MAINFRAME); - - n_PlotWidth = n_PlotHeight = -1; - OnBrush = OffBrush = NULL; - - min_val = 0x00; - max_val = 0xFFFF; - - m_dwSampIntrv = 2000; - - m_hCard = hCard; - - m_wScanChans = 0; - m_nTimer = -1; - m_hMem1 = NULL; - m_hMem2 = NULL; - - m_wRange = AD_B_10_V; - max_range = 10.0; - min_range = -10.0; - - m_dwReadCount = 4000; - m_wPostCount = 512; - m_wReTrigCount = 4; - -} - -void C9222cdmaDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); -} - -BEGIN_MESSAGE_MAP(C9222cdmaDlg, CDialog) - ON_WM_SYSCOMMAND() - ON_WM_PAINT() - ON_WM_QUERYDRAGICON() - //}}AFX_MSG_MAP - ON_WM_DESTROY() - ON_WM_VSCROLL() - ON_BN_CLICKED(IDC_BT_START, &C9222cdmaDlg::OnStart) - ON_BN_CLICKED(IDC_RADIO_CH0, &C9222cdmaDlg::OnCh0) - ON_BN_CLICKED(IDC_RADIO_CH1, &C9222cdmaDlg::OnCh1) - ON_BN_CLICKED(IDC_RADIO_CH2, &C9222cdmaDlg::OnCh2) - ON_BN_CLICKED(IDC_RADIO_CH3, &C9222cdmaDlg::OnCh3) - ON_BN_CLICKED(IDC_RADIO_CH4, &C9222cdmaDlg::OnCh4) - ON_BN_CLICKED(IDC_RADIO_CH5, &C9222cdmaDlg::OnCh5) - ON_BN_CLICKED(IDC_RADIO_CH6, &C9222cdmaDlg::OnCh6) - ON_BN_CLICKED(IDC_RADIO_CH7, &C9222cdmaDlg::OnCh7) - ON_WM_TIMER() - ON_BN_CLICKED(IDC_BT_STOP, &C9222cdmaDlg::OnStop) -END_MESSAGE_MAP() - - -// C9222cdmaDlg message handlers - -BOOL C9222cdmaDlg::OnInitDialog() -{ - CDialog::OnInitDialog(); - - // Add "About..." menu item to system menu. - - // IDM_ABOUTBOX must be in the system command range. - ASSERT((IDM_ABOUTBOX & 0xFFF0) == IDM_ABOUTBOX); - ASSERT(IDM_ABOUTBOX < 0xF000); - - CMenu* pSysMenu = GetSystemMenu(FALSE); - if (pSysMenu != NULL) - { - BOOL bNameValid; - CString strAboutMenu; - bNameValid = strAboutMenu.LoadString(IDS_ABOUTBOX); - ASSERT(bNameValid); - if (!strAboutMenu.IsEmpty()) - { - pSysMenu->AppendMenu(MF_SEPARATOR); - pSysMenu->AppendMenu(MF_STRING, IDM_ABOUTBOX, strAboutMenu); - } - } - - // Set the icon for this dialog. The framework does this automatically - // when the application's main window is not a dialog - SetIcon(m_hIcon, TRUE); // Set big icon - SetIcon(m_hIcon, FALSE); // Set small icon - - // TODO: Add extra initialization here - x_divider = 5; y_divider = 4; - - OnBrush = CreateSolidBrush( RGB(255,0,0) ); - OffBrush = CreateSolidBrush( RGB(125,0,0) ); - - RedPen.CreatePen( PS_SOLID, 1, RGB(255,0,0)); - GreenPen.CreatePen( PS_SOLID, 1, RGB(0,255,0)); - YellowPen.CreatePen( PS_SOLID, 1, RGB(255,255,0)); - BluePen.CreatePen( PS_SOLID, 1, RGB(0,0,255)); - LTBluePen.CreatePen( PS_SOLID, 1, RGB(0,128,255)); - LTRedPen.CreatePen( PS_SOLID, 1, RGB(255,128,0)); - LTGreenPen.CreatePen( PS_SOLID, 1, RGB(0,128,0)); - WhitePen.CreatePen( PS_SOLID, 1, RGB(255,255,255)); - - - if( n_PlotWidth == -1 && n_PlotHeight == -1 ) - { - ((CWnd*)GetDlgItem(IDC_STATIC_DRAW))->GetWindowRect(&plotRect); - ScreenToClient(&plotRect); - - n_PlotWidth = min( plotRect.Width(), 512); - n_PlotHeight = plotRect.Height() - 10; - } - - // set the default SampleRate - - SetDlgItemInt( IDC_EDIT_SAMPLE_RATE, (UINT)(m_dwSampIntrv) ); - SetDlgItemInt( IDC_EDIT_BUF_SIZE, (UINT)(m_dwReadCount) ); - ((CButton*)GetDlgItem( IDC_RADIO_CH0 ))->SetCheck( TRUE ); - - return TRUE; // return TRUE unless you set the focus to a control -} - -void C9222cdmaDlg::OnSysCommand(UINT nID, LPARAM lParam) -{ - if ((nID & 0xFFF0) == IDM_ABOUTBOX) - { - CAboutDlg dlgAbout; - dlgAbout.DoModal(); - } - else - { - CDialog::OnSysCommand(nID, lParam); - } -} - -// If you add a minimize button to your dialog, you will need the code below -// to draw the icon. For MFC applications using the document/view model, -// this is automatically done for you by the framework. - -void C9222cdmaDlg::OnPaint() -{ - if (IsIconic()) - { - CPaintDC dc(this); // device context for painting - - SendMessage(WM_ICONERASEBKGND, reinterpret_cast(dc.GetSafeHdc()), 0); - - // Center icon in client rectangle - int cxIcon = GetSystemMetrics(SM_CXICON); - int cyIcon = GetSystemMetrics(SM_CYICON); - CRect rect; - GetClientRect(&rect); - int x = (rect.Width() - cxIcon + 1) / 2; - int y = (rect.Height() - cyIcon + 1) / 2; - - // Draw the icon - dc.DrawIcon(x, y, m_hIcon); - } - else - { - redraw_display_area(); - CDialog::OnPaint(); - } -} - -// The system calls this function to obtain the cursor to display while the user drags -// the minimized window. -HCURSOR C9222cdmaDlg::OnQueryDragIcon() -{ - return static_cast(m_hIcon); -} - - -void C9222cdmaDlg::redraw_display_area(void) -{ - CPen *oldPen; - - int oldMode; - COLORREF oldColor; - - CString y_lable; - - CPen minor_tick( PS_SOLID,1,RGB(132,130,132) ); -// CPen y_grid( PS_SOLID,1,RGB(206,203,132) ); - - int i, x_intv, y_intv; -// long total_sec; - - CClientDC dc_plot(this); - - // draw the base-line for x-y axises - oldPen = (CPen *)dc_plot.SelectStockObject(BLACK_PEN); - - // redraw the background - dc_plot.FillSolidRect( plotRect, RGB(0,0,0) ); - - // Re-Draw the AREA for Y-Lable - { - CBrush DIALOG_BRUSH; - CRect redraw_area, full_client; - - GetClientRect(&full_client); - ScreenToClient(&full_client); - - redraw_area.left = full_client.left; - redraw_area.top = plotRect.top - 5; - redraw_area.right = plotRect.left - 3; - redraw_area.bottom = plotRect.bottom + 10; - - DIALOG_BRUSH.CreateSysColorBrush( COLOR_3DFACE ); - - dc_plot.FillRect( redraw_area, &DIALOG_BRUSH ); - - DIALOG_BRUSH.DeleteObject(); - } - - dc_plot.MoveTo( plotRect.left - 3, plotRect.top ); - dc_plot.LineTo( plotRect.left - 3, plotRect.bottom ); - - // calculate the interval for tick/grid - y_intv = (plotRect.Height() - 10) /y_divider; - x_intv = plotRect.Width()/x_divider; - - - // set the color for tick - oldColor = dc_plot.SetTextColor( RGB(0,0,0) ); - oldMode = dc_plot.SetBkMode( TRANSPARENT ); - - for( i=0; i<= y_divider; i++ ) - { - CString tick_str; - CRect tmp_rect, tick_rect; - - // draw the tick for y-axis - dc_plot.MoveTo( plotRect.left -12, plotRect.bottom -5 - (i*y_intv) ); - dc_plot.LineTo( plotRect.left -3, plotRect.bottom -5 - (i*y_intv) ); - - tick_str.Format( _T("%.1f"), ( ((max_range-min_range)/y_divider) * i)+min_range ); - - // calculate the rectangle for text - dc_plot.DrawText( tick_str, &tmp_rect, DT_CALCRECT|DT_SINGLELINE ); - tick_rect.right = plotRect.left -14; - tick_rect.left = tick_rect.right - tmp_rect.Width(); - tick_rect.top = plotRect.bottom -5 - (i*y_intv) - tmp_rect.Height()/2; - tick_rect.bottom = tick_rect.top + tmp_rect.Height(); - - // draw the text - dc_plot.DrawText( tick_str, &tick_rect, DT_SINGLELINE|DT_RIGHT ); - - } - - // draw the minor_tick for Y axises - dc_plot.SelectObject(&minor_tick); - for( i=0; i< y_divider; i++ ) - { - dc_plot.MoveTo( plotRect.left -9, plotRect.bottom -5 - (i*y_intv) - y_intv/2 ); - dc_plot.LineTo( plotRect.left -4, plotRect.bottom -5 - (i*y_intv) - y_intv/2 ); - } - - dc_plot.SetTextColor( oldColor ); - dc_plot.SetBkMode( oldMode ); - dc_plot.SelectObject( oldPen ); -} - -void C9222cdmaDlg::OnDestroy() -{ - CDialog::OnDestroy(); - - // TODO: Add your message handler code here - if( m_nTimer != -1 ) - { - KillTimer( m_nTimer ); - m_nTimer = -1; - } - - if (m_hMem1 != NULL) - { - GlobalUnfix(m_hMem1); - GlobalUnlock(m_hMem1); - GlobalFree(m_hMem1); - - m_hMem1 = NULL; - } - - if (m_hMem2 != NULL) - { - GlobalUnfix(m_hMem2); - GlobalUnlock(m_hMem2); - GlobalFree(m_hMem2); - - m_hMem2 = NULL; - } - - if( OnBrush != NULL ) - ::DeleteObject( OnBrush ); - - if( OffBrush != NULL ) - ::DeleteObject( OffBrush ); - - RedPen.DeleteObject(); - GreenPen.DeleteObject(); - YellowPen.DeleteObject(); - BluePen.DeleteObject(); - LTBluePen.DeleteObject(); - LTRedPen.DeleteObject(); - LTGreenPen.DeleteObject(); - WhitePen.DeleteObject(); - -} - -void C9222cdmaDlg::OnVScroll(UINT nSBCode, UINT nPos, CScrollBar* pScrollBar) -{ - // TODO: Add your message handler code here and/or call default - switch ( nSBCode ) - { - case SB_LINEUP : - m_dwSampIntrv += 160; - if (m_dwSampIntrv > 40000 ) m_dwSampIntrv = 40000; - break; - case SB_LINEDOWN: - m_dwSampIntrv -= 160; - if (m_dwSampIntrv < 320 ) m_dwSampIntrv = 320; - break; - } - - SetDlgItemInt( IDC_EDIT_SCAN_ITERVAL, (UINT)(m_dwSampIntrv) ); - - CDialog::OnVScroll(nSBCode, nPos, pScrollBar); -} - - -void C9222cdmaDlg::OnStop() -{ - // TODO: Add your control notification handler code here - U32 count; - - if( m_nTimer != -1 ) - { - KillTimer( m_nTimer ); - m_nTimer = -1; - } - - AI_AsyncClear(m_hCard, &count); - - GetDlgItem( IDC_BT_START )->EnableWindow(TRUE); - - GetDlgItem( IDC_RADIO_CH0 )->EnableWindow(TRUE); - GetDlgItem( IDC_RADIO_CH1 )->EnableWindow(TRUE); - GetDlgItem( IDC_RADIO_CH2 )->EnableWindow(TRUE); - GetDlgItem( IDC_RADIO_CH3 )->EnableWindow(TRUE); - GetDlgItem( IDC_RADIO_CH4 )->EnableWindow(TRUE); - GetDlgItem( IDC_RADIO_CH5 )->EnableWindow(TRUE); - GetDlgItem( IDC_RADIO_CH6 )->EnableWindow(TRUE); - GetDlgItem( IDC_RADIO_CH7 )->EnableWindow(TRUE); -} - -void C9222cdmaDlg::OnStart() -{ - // TODO: Add your control notification handler code here - DWORD mem_size; - CString strTemp; - I16 err; - - GetDlgItem( IDC_BT_START )->EnableWindow(FALSE); - - GetDlgItem( IDC_RADIO_CH0 )->EnableWindow(FALSE); - GetDlgItem( IDC_RADIO_CH1 )->EnableWindow(FALSE); - GetDlgItem( IDC_RADIO_CH2 )->EnableWindow(FALSE); - GetDlgItem( IDC_RADIO_CH3 )->EnableWindow(FALSE); - GetDlgItem( IDC_RADIO_CH4 )->EnableWindow(FALSE); - GetDlgItem( IDC_RADIO_CH5 )->EnableWindow(FALSE); - GetDlgItem( IDC_RADIO_CH6 )->EnableWindow(FALSE); - GetDlgItem( IDC_RADIO_CH7 )->EnableWindow(FALSE); - - m_dwReadCount = GetDlgItemInt(IDC_EDIT_BUF_SIZE); - - if (m_hMem1 != NULL) - { - GlobalUnfix(m_hMem1); - GlobalUnlock(m_hMem1); - GlobalFree(m_hMem1); - - m_hMem1 = NULL; - } - - if (m_hMem2 != NULL) - { - GlobalUnfix(m_hMem2); - GlobalUnlock(m_hMem2); - GlobalFree(m_hMem2); - - m_hMem2 = NULL; - } - - // allocate a memory for user DMA buffer - mem_size = m_dwReadCount * (m_wReTrigCount+1) * sizeof(I16); - - m_hMem1 = GlobalAlloc(GMEM_FIXED | GMEM_ZEROINIT, mem_size); - m_pAIBuf1 = (U16*) GlobalLock(m_hMem1); - if (m_pAIBuf1 == NULL ) - { - AfxMessageBox( TEXT("Memory allocation failed"), MB_OK); - return; - } - GlobalFix(m_hMem1); - - - m_oldY[0] = m_oldY[1] = m_oldY[2] = m_oldY[3] = m_oldY[4] = m_oldY[5] = m_oldY[6] = m_oldY[7] = -1; - m_oldX[0] = m_oldX[1] = m_oldX[2] = m_oldX[3] = m_oldX[4] = m_oldX[5] = m_oldX[6] = m_oldX[7] = -1; - - if ((err = AI_9222_Config(m_hCard, P922x_AI_SingEnded|P922x_AI_CONVSRC_INT, P922x_AI_TRGMOD_POST|P922x_AI_TRGSRC_GPI0|P922x_AI_EnReTigger, m_wReTrigCount, TRUE)) != NoError) - { - strTemp.Format( TEXT("AI_9222_Config error=%d"), err); - AfxMessageBox( strTemp ); - return; - } - - if ((err = AI_9222_CounterInterval(m_hCard, m_dwSampIntrv, m_dwSampIntrv)) != NoError) - { - strTemp.Format( TEXT("AI_9222_CounterInterval error=%d"), err); - AfxMessageBox( strTemp ); - return; - } - - /*Disable Double Buffer Mode*/ - if ((err = AI_AsyncDblBufferMode(m_hCard, 0)) != NoError) - { - strTemp.Format( TEXT("AI_AsyncDblBufferMode error=%d"), err); - AfxMessageBox( strTemp ); - return; - } - - if ((err = AI_ContBufferSetup (m_hCard, m_pAIBuf1, (m_dwReadCount*(m_wReTrigCount+1)), &m_wBufferID1)) != NoError) - { - strTemp.Format( TEXT("AI_ContBufferSetup error=%d"), err); - AfxMessageBox( strTemp ); - return; - } - - if ((err=AI_ContReadChannel(m_hCard, m_wScanChans, m_wRange, &m_wBufferID1, m_dwReadCount, 0, ASYNCH_OP)) != NoError) - { - strTemp.Format( TEXT("AI_ContBufferSetup error=%d"), err); - AfxMessageBox( strTemp ); - return; - } - - m_nTimer = SetTimer( 1, 20, NULL ); - -} - -int C9222cdmaDlg::display_buffer_data(U16* pBuf) -{ - CClientDC dc_plot(this); - int nDraw_Origin_Y; - int cur_channel; - - int newY = -1; - int newX = -1; - U32 index; - I16 ai_data; - U32 dwDataSize = m_dwReadCount; - - // redraw the background - dc_plot.FillSolidRect( plotRect, RGB(0,0,0) ); - - cur_channel = m_wScanChans; - switch(cur_channel) - { - case 0: - dc_plot.SelectObject(&YellowPen); - break; - case 1: - dc_plot.SelectObject(<GreenPen); - break; - case 2: - dc_plot.SelectObject(&BluePen); - break; - case 3: - dc_plot.SelectObject(&RedPen); - break; - case 4: - dc_plot.SelectObject(<BluePen); - break; - case 5: - dc_plot.SelectObject(<RedPen); - break; - case 6: - dc_plot.SelectObject(&GreenPen); - break; - case 7: - dc_plot.SelectObject(&WhitePen); - break; - } - - nDraw_Origin_Y = ( plotRect.bottom - 5 ) - n_PlotHeight/2; - - for( index=0; index> 16) ); // ( n_PlotHeight * ai_data / 65536) ); // ( (n_PlotHeight/2) * ai_data/32768 ) ); - - newX = (int)( index*n_PlotWidth/dwDataSize + plotRect.left ); - - - if ( index == 0 ) - { - dc_plot.MoveTo( newX, newY ); - } - else - { - dc_plot.MoveTo( m_oldX[cur_channel], m_oldY[cur_channel] ); - dc_plot.LineTo( newX, newY ); - } - - m_oldX[cur_channel] = newX; - m_oldY[cur_channel] = newY; - } - - return 0; -} - -void C9222cdmaDlg::OnTimer(UINT_PTR nIDEvent) -{ - // TODO: Add your message handler code here and/or call default - BOOLEAN Ready, StopFlag; - U32 count; - I16 err; - U16 RdyTrigCnt; - - err = AI_AsyncReTrigNextReady( m_hCard, &Ready, &StopFlag, &RdyTrigCnt); - - if( Ready ) - { - display_buffer_data( &(m_pAIBuf1[(RdyTrigCnt-1)*m_dwReadCount]) ); - } - - if( StopFlag ) - { - // stop timer - KillTimer( m_nTimer ); - m_nTimer = -1; - - // reset the Button status - GetDlgItem( IDC_BT_START )->EnableWindow( TRUE ); - GetDlgItem( IDC_BT_STOP )->EnableWindow( TRUE); - - err = AI_AsyncClear( m_hCard, &count ); - - display_buffer_data( &(m_pAIBuf1[(RdyTrigCnt-1)*m_dwReadCount]) ); - } - - - - CDialog::OnTimer(nIDEvent); -} - -void C9222cdmaDlg::OnCh0() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_RADIO_CH0 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_wScanChans = 0; - } - -} - -void C9222cdmaDlg::OnCh1() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_RADIO_CH1 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_wScanChans = 1; - } -} - -void C9222cdmaDlg::OnCh2() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_RADIO_CH2 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_wScanChans = 2; - } -} - -void C9222cdmaDlg::OnCh3() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_RADIO_CH3 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_wScanChans = 3; - } -} - -void C9222cdmaDlg::OnCh4() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_RADIO_CH4 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_wScanChans = 4; - } -} - -void C9222cdmaDlg::OnCh5() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_RADIO_CH5 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_wScanChans = 5; - } -} - -void C9222cdmaDlg::OnCh6() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_RADIO_CH6 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_wScanChans = 6; - } -} - -void C9222cdmaDlg::OnCh7() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_RADIO_CH7 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_wScanChans = 7; - } -} - - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AIDma_ReTrigger/9222cdmaDlg.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AIDma_ReTrigger/9222cdmaDlg.h deleted file mode 100644 index af1a84b..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AIDma_ReTrigger/9222cdmaDlg.h +++ /dev/null @@ -1,86 +0,0 @@ - -// 9222cdmaDlg.h : header file -#pragma once -#include "afxcmn.h" -#include "afxwin.h" - -#include "Dask64.h" - -// C9222cdmaDlg dialog -class C9222cdmaDlg : public CDialog -{ -// Construction -public: - C9222cdmaDlg(I16 hCard, CWnd* pParent = NULL); // standard constructor - -// Dialog Data - enum { IDD = IDD_9222DMA_DIALOG }; - - protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - - -// Implementation -protected: - HICON m_hIcon; - UINT_PTR m_nTimer; - I16 m_hCard; - U32 m_dwSampIntrv; - U16 m_wScanChans; - HANDLE m_hMem1; - HANDLE m_hMem2; - U16 *m_pAIBuf1; - U16 *m_pAIBuf2; - U16 m_wBufferID1; - U16 m_wBufferID2; - U16 m_wRange; - int m_oldY[8]; - int m_oldX[8]; - U32 m_dwReadCount; - U16 m_wPostCount; - U16 m_wReTrigCount; - U8 m_bView; - - // Generated message map functions - virtual BOOL OnInitDialog(); - afx_msg void OnSysCommand(UINT nID, LPARAM lParam); - afx_msg void OnPaint(); - afx_msg HCURSOR OnQueryDragIcon(); - DECLARE_MESSAGE_MAP() - -public: - WORD max_val; - WORD min_val; - double max_range; - double min_range; - int n_PlotWidth; - int n_PlotHeight; - int y_divider; - int x_divider; - int m_DisplayScale; - HBRUSH OnBrush; - HBRUSH OffBrush; - CPen RedPen; - CPen GreenPen; - CPen YellowPen; - CPen BluePen; - CPen LTBluePen; - CPen LTRedPen; - CPen LTGreenPen; - CPen WhitePen; - void redraw_display_area(void); - afx_msg void OnDestroy(); - afx_msg void OnVScroll(UINT nSBCode, UINT nPos, CScrollBar* pScrollBar); - afx_msg void OnStart(); - int display_buffer_data(U16* pBuf); - afx_msg void OnCh0(); - afx_msg void OnCh1(); - afx_msg void OnCh2(); - afx_msg void OnCh3(); - afx_msg void OnCh4(); - afx_msg void OnCh5(); - afx_msg void OnCh6(); - afx_msg void OnCh7(); - afx_msg void OnTimer(UINT_PTR nIDEvent); - afx_msg void OnStop(); -}; diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AIDma_ReTrigger/CardIDDlg.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AIDma_ReTrigger/CardIDDlg.cpp deleted file mode 100644 index 55c0363..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AIDma_ReTrigger/CardIDDlg.cpp +++ /dev/null @@ -1,64 +0,0 @@ -// CardIDDlg.cpp : implementation file -// -#include "stdafx.h" -#include "9222cdma.h" -#include "9222cdmaDlg.h" -#include "CardIDDlg.h" - -// CCardIDDlg dialog - -IMPLEMENT_DYNAMIC(CCardIDDlg, CDialog) - -CCardIDDlg::CCardIDDlg(int nCardIdx, CWnd* pParent /*=NULL*/) - : CDialog(CCardIDDlg::IDD, pParent) -{ - m_nCardIdx = nCardIdx; -} - -CCardIDDlg::~CCardIDDlg() -{ -} - -void CCardIDDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); - DDX_Control(pDX, IDC_COMBO_CARDID, m_cbCardID); -} - - -BEGIN_MESSAGE_MAP(CCardIDDlg, CDialog) -// ON_CBN_SELCHANGE(IDC_COMBO_CARDID, &CCardIDDlg::OnCbnSelchangeComboCardid) -ON_BN_CLICKED(IDOK, &CCardIDDlg::OnBnClickedOk) -//ON_WM_CTLCOLOR() -END_MESSAGE_MAP() - - -// CCardIDDlg message handlers - - -void CCardIDDlg::OnBnClickedOk() -{ - // TODO: Add your control notification handler code here - -// UpdateData(TRUE); - m_nCardIdx = m_cbCardID.GetCurSel(); - - OnOK(); -} - -BOOL CCardIDDlg::OnInitDialog() -{ - CDialog::OnInitDialog(); - - // TODO: Add extra initialization here - m_cbCardID.SetCurSel( m_nCardIdx ); - - return TRUE; // return TRUE unless you set the focus to a control - // EXCEPTION: OCX Property Pages should return FALSE -} - -// the function to get the selected CardID -int CCardIDDlg::GetCardID(void) -{ - return m_nCardIdx; -} diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AIDma_ReTrigger/CardIDDlg.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AIDma_ReTrigger/CardIDDlg.h deleted file mode 100644 index 9c02c58..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AIDma_ReTrigger/CardIDDlg.h +++ /dev/null @@ -1,32 +0,0 @@ -#pragma once -#include "afxwin.h" - -#include "Dask64.h" - -// CCardIDDlg dialog - -class CCardIDDlg : public CDialog -{ - DECLARE_DYNAMIC(CCardIDDlg) - -public: - CCardIDDlg(int nCardIdx, CWnd* pParent = NULL); // standard constructor - virtual ~CCardIDDlg(); - -// Dialog Data - enum { IDD = IDD_CARDID_DIALOG }; - -protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - - DECLARE_MESSAGE_MAP() -public: - virtual BOOL OnInitDialog(); - afx_msg void OnBnClickedOk(); - // the setting of CardID ComboBox - int m_nCardIdx; - // the control of CardID ComboBox - CComboBox m_cbCardID; - // the function to get the selected CardID - int GetCardID(void); -}; diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AIDma_ReTrigger/ReadMe.txt b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AIDma_ReTrigger/ReadMe.txt deleted file mode 100644 index 6e83f34..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AIDma_ReTrigger/ReadMe.txt +++ /dev/null @@ -1,93 +0,0 @@ -================================================================================ - MICROSOFT FOUNDATION CLASS LIBRARY : 9222cdma Project Overview -=============================================================================== - -The application wizard has created this 9222cdma application for -you. This application not only demonstrates the basics of using the Microsoft -Foundation Classes but is also a starting point for writing your application. - -This file contains a summary of what you will find in each of the files that -make up your 9222cdma application. - -9222cdma.vcproj - This is the main project file for VC++ projects generated using an application wizard. - It contains information about the version of Visual C++ that generated the file, and - information about the platforms, configurations, and project features selected with the - application wizard. - -9222cdma.h - This is the main header file for the application. It includes other - project specific headers (including Resource.h) and declares the - C9222cdmaApp application class. - -9222cdma.cpp - This is the main application source file that contains the application - class C9222cdmaApp. - -9222cdma.rc - This is a listing of all of the Microsoft Windows resources that the - program uses. It includes the icons, bitmaps, and cursors that are stored - in the RES subdirectory. This file can be directly edited in Microsoft - Visual C++. Your project resources are in 1033. - -res\9222cdma.ico - This is an icon file, which is used as the application's icon. This - icon is included by the main resource file 9222cdma.rc. - -res\My9222cdma.rc2 - This file contains resources that are not edited by Microsoft - Visual C++. You should place all resources not editable by - the resource editor in this file. - - -///////////////////////////////////////////////////////////////////////////// - -The application wizard creates one dialog class: - -9222cdmaDlg.h, 9222cdmaDlg.cpp - the dialog - These files contain your C9222cdmaDlg class. This class defines - the behavior of your application's main dialog. The dialog's template is - in 9222cdma.rc, which can be edited in Microsoft Visual C++. - - -///////////////////////////////////////////////////////////////////////////// - -Other Features: - -ActiveX Controls - The application includes support to use ActiveX controls. - -///////////////////////////////////////////////////////////////////////////// - -Other standard files: - -StdAfx.h, StdAfx.cpp - These files are used to build a precompiled header (PCH) file - named 9222cdma.pch and a precompiled types file named StdAfx.obj. - -Resource.h - This is the standard header file, which defines new resource IDs. - Microsoft Visual C++ reads and updates this file. - -9222cdma.manifest - Application manifest files are used by Windows XP to describe an applications - dependency on specific versions of Side-by-Side assemblies. The loader uses this - information to load the appropriate assembly from the assembly cache or private - from the application. The Application manifest maybe included for redistribution - as an external .manifest file that is installed in the same folder as the application - executable or it may be included in the executable in the form of a resource. -///////////////////////////////////////////////////////////////////////////// - -Other notes: - -The application wizard uses "TODO:" to indicate parts of the source code you -should add to or customize. - -If your application uses MFC in a shared DLL, you will need -to redistribute the MFC DLLs. If your application is in a language -other than the operating system's locale, you will also have to -redistribute the corresponding localized resources MFC90XXX.DLL. -For more information on both of these topics, please see the section on -redistributing Visual C++ applications in MSDN documentation. - -///////////////////////////////////////////////////////////////////////////// diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AIDma_ReTrigger/res/9222cdma.ico b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AIDma_ReTrigger/res/9222cdma.ico deleted file mode 100644 index d56fbcd..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AIDma_ReTrigger/res/9222cdma.ico and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AIDma_ReTrigger/res/My9222cdma.rc2 b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AIDma_ReTrigger/res/My9222cdma.rc2 deleted file mode 100644 index 383cde2..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AIDma_ReTrigger/res/My9222cdma.rc2 +++ /dev/null @@ -1,13 +0,0 @@ -// -// My9111int.RC2 - resources Microsoft Visual C++ does not edit directly -// - -#ifdef APSTUDIO_INVOKED -#error this file is not editable by Microsoft Visual C++ -#endif //APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// Add manually edited resources here... - -///////////////////////////////////////////////////////////////////////////// diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AIDma_ReTrigger/res/ch_set1.bmp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AIDma_ReTrigger/res/ch_set1.bmp deleted file mode 100644 index f2374ed..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AIDma_ReTrigger/res/ch_set1.bmp and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AIDma_ReTrigger/res/ch_set2.bmp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AIDma_ReTrigger/res/ch_set2.bmp deleted file mode 100644 index 32d0915..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AIDma_ReTrigger/res/ch_set2.bmp and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AIDma_ReTrigger/resource.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AIDma_ReTrigger/resource.h deleted file mode 100644 index 5dd8022..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AIDma_ReTrigger/resource.h +++ /dev/null @@ -1,42 +0,0 @@ -//{{NO_DEPENDENCIES}} -// Microsoft Visual C++ generated include file. -// Used by 9222cdma.rc -// -#define IDM_ABOUTBOX 0x0010 -#define IDD_ABOUTBOX 100 -#define IDS_ABOUTBOX 101 -#define IDD_9222DMA_DIALOG 102 -#define IDR_MAINFRAME 128 -#define IDD_CARDID_DIALOG 129 -#define IDB_BITMAP_SET1 131 -#define IDB_BITMAP_SET2 132 -#define IDC_STATIC_DRAW 1000 -#define IDC_COMBO_CARDID 1001 -#define IDC_BT_STOP 1002 -#define IDC_COMBO_CARDTYPE 1002 -#define IDC_BT_START 1003 -#define IDC_EDIT_SAMPLE_RATE 1004 -#define IDC_EDIT_SCAN_ITERVAL 1004 -#define IDC_SCROLLBAR_RATE 1005 -#define IDC_RADIO_CH0 1006 -#define IDC_RADIO_CH1 1007 -#define IDC_RADIO_CH2 1008 -#define IDC_RADIO_CH3 1009 -#define IDC_RADIO_CH4 1010 -#define IDC_RADIO_CH5 1011 -#define IDC_RADIO_CH6 1012 -#define IDC_RADIO_CH7 1013 -#define IDC_STATIC_01 1014 -#define IDC_EDIT_BUF_SIZE 1014 -#define IDC_STATIC_2 1015 - -// Next default values for new objects -// -#ifdef APSTUDIO_INVOKED -#ifndef APSTUDIO_READONLY_SYMBOLS -#define _APS_NEXT_RESOURCE_VALUE 134 -#define _APS_NEXT_COMMAND_VALUE 32771 -#define _APS_NEXT_CONTROL_VALUE 1017 -#define _APS_NEXT_SYMED_VALUE 101 -#endif -#endif diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AIDma_ReTrigger/stdafx.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AIDma_ReTrigger/stdafx.cpp deleted file mode 100644 index ef80626..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AIDma_ReTrigger/stdafx.cpp +++ /dev/null @@ -1,8 +0,0 @@ - -// stdafx.cpp : source file that includes just the standard includes -// 9111int.pch will be the pre-compiled header -// stdafx.obj will contain the pre-compiled type information - -#include "stdafx.h" - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AIDma_ReTrigger/stdafx.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AIDma_ReTrigger/stdafx.h deleted file mode 100644 index 12123e2..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AIDma_ReTrigger/stdafx.h +++ /dev/null @@ -1,60 +0,0 @@ - -// stdafx.h : include file for standard system include files, -// or project specific include files that are used frequently, -// but are changed infrequently - -#pragma once - -#ifndef _SECURE_ATL -#define _SECURE_ATL 1 -#endif - -#ifndef VC_EXTRALEAN -#define VC_EXTRALEAN // Exclude rarely-used stuff from Windows headers -#endif - -#include "targetver.h" - -#define _ATL_CSTRING_EXPLICIT_CONSTRUCTORS // some CString constructors will be explicit - -// turns off MFC's hiding of some common and often safely ignored warning messages -#define _AFX_ALL_WARNINGS - -#include // MFC core and standard components -#include // MFC extensions - - -#include // MFC Automation classes - - - -#ifndef _AFX_NO_OLE_SUPPORT -#include // MFC support for Internet Explorer 4 Common Controls -#endif -#ifndef _AFX_NO_AFXCMN_SUPPORT -#include // MFC support for Windows Common Controls -#endif // _AFX_NO_AFXCMN_SUPPORT - -#include // MFC support for ribbons and control bars - - - - - - - - - -#ifdef _UNICODE -#if defined _M_IX86 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='x86' publicKeyToken='6595b64144ccf1df' language='*'\"") -#elif defined _M_IA64 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='ia64' publicKeyToken='6595b64144ccf1df' language='*'\"") -#elif defined _M_X64 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='amd64' publicKeyToken='6595b64144ccf1df' language='*'\"") -#else -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='*' publicKeyToken='6595b64144ccf1df' language='*'\"") -#endif -#endif - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AIDma_ReTrigger/targetver.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AIDma_ReTrigger/targetver.h deleted file mode 100644 index 11730d5..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AIDma_ReTrigger/targetver.h +++ /dev/null @@ -1,26 +0,0 @@ - -#pragma once - -// The following macros define the minimum required platform. The minimum required platform -// is the earliest version of Windows, Internet Explorer etc. that has the necessary features to run -// your application. The macros work by enabling all features available on platform versions up to and -// including the version specified. - -// Modify the following defines if you have to target a platform prior to the ones specified below. -// Refer to MSDN for the latest info on corresponding values for different platforms. -#ifndef WINVER // Specifies that the minimum required platform is Windows Vista. -#define WINVER 0x0600 // Change this to the appropriate value to target other versions of Windows. -#endif - -#ifndef _WIN32_WINNT // Specifies that the minimum required platform is Windows Vista. -#define _WIN32_WINNT 0x0600 // Change this to the appropriate value to target other versions of Windows. -#endif - -#ifndef _WIN32_WINDOWS // Specifies that the minimum required platform is Windows 98. -#define _WIN32_WINDOWS 0x0410 // Change this to the appropriate value to target Windows Me or later. -#endif - -#ifndef _WIN32_IE // Specifies that the minimum required platform is Internet Explorer 7.0. -#define _WIN32_IE 0x0700 // Change this to the appropriate value to target other versions of IE. -#endif - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AODma_Dbf/9111DbInt.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AODma_Dbf/9111DbInt.suo deleted file mode 100644 index 3fde864..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AODma_Dbf/9111DbInt.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AODma_Dbf/9111PostTg.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AODma_Dbf/9111PostTg.suo deleted file mode 100644 index c59a833..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AODma_Dbf/9111PostTg.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AODma_Dbf/9111int.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AODma_Dbf/9111int.suo deleted file mode 100644 index aaca7d8..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AODma_Dbf/9111int.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AODma_Dbf/9116cdma.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AODma_Dbf/9116cdma.suo deleted file mode 100644 index df9f193..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AODma_Dbf/9116cdma.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AODma_Dbf/9118cdma.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AODma_Dbf/9118cdma.suo deleted file mode 100644 index 9318437..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AODma_Dbf/9118cdma.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AODma_Dbf/9221cdma.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AODma_Dbf/9221cdma.suo deleted file mode 100644 index 9cb61ca..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AODma_Dbf/9221cdma.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AODma_Dbf/9222cdma.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AODma_Dbf/9222cdma.cpp deleted file mode 100644 index 7ddb019..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AODma_Dbf/9222cdma.cpp +++ /dev/null @@ -1,109 +0,0 @@ - -// 9222cdma.cpp : Defines the class behaviors for the application. -// - -#include "stdafx.h" -#include "9222cdma.h" -#include "9222cdmaDlg.h" -#include "CardIDDlg.h" - -#ifdef _DEBUG -#define new DEBUG_NEW -#endif - - -// C9222cdmaApp - -BEGIN_MESSAGE_MAP(C9222cdmaApp, CWinAppEx) - ON_COMMAND(ID_HELP, &CWinApp::OnHelp) -END_MESSAGE_MAP() - - -// C9222cdmaApp construction - -C9222cdmaApp::C9222cdmaApp() -{ - // TODO: add construction code here, - // Place all significant initialization in InitInstance -} - - -// The one and only C9222cdmaApp object - -C9222cdmaApp theApp; - - -// C9222cdmaApp initialization - -BOOL C9222cdmaApp::InitInstance() -{ - int nCardID = 0; - I16 hCard; - CString strTemp; - INT_PTR nResponse; - - // InitCommonControlsEx() is required on Windows XP if an application - // manifest specifies use of ComCtl32.dll version 6 or later to enable - // visual styles. Otherwise, any window creation will fail. - INITCOMMONCONTROLSEX InitCtrls; - InitCtrls.dwSize = sizeof(InitCtrls); - // Set this to include all the common control classes you want to use - // in your application. - InitCtrls.dwICC = ICC_WIN95_CLASSES; - InitCommonControlsEx(&InitCtrls); - - CWinAppEx::InitInstance(); - - AfxEnableControlContainer(); - - // Standard initialization - // If you are not using these features and wish to reduce the size - // of your final executable, you should remove from the following - // the specific initialization routines you do not need - // Change the registry key under which our settings are stored - // TODO: You should modify this string to be something appropriate - // such as the name of your company or organization - SetRegistryKey(_T("Local AppWizard-Generated Applications")); - - CCardIDDlg CardDlg( nCardID ); - - nResponse = CardDlg.DoModal(); - if (nResponse == IDOK) - { - nCardID = CardDlg.GetCardID(); - - if ((hCard=Register_Card(PCI_9222, nCardID)) < 0) - { - strTemp.Format( TEXT("Register_Card Error = %d"), hCard); - AfxMessageBox( strTemp ); - } - else - { - C9222cdmaDlg dlg(hCard); - m_pMainWnd = &dlg; - nResponse = dlg.DoModal(); - if (nResponse == IDOK) - { - // TODO: Place code here to handle when the dialog is - // dismissed with OK - } - else if (nResponse == IDCANCEL) - { - // TODO: Place code here to handle when the dialog is - // dismissed with Cancel - } - - if (hCard >= 0) Release_Card(hCard); - } - - } - else if (nResponse == IDCANCEL) - { - // TODO: Place code here to handle when the dialog is - // dismissed with Cancel - } - - // Since the dialog has been closed, return FALSE so that we exit the - // application, rather than start the application's message pump. - return FALSE; -} diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AODma_Dbf/9222cdma.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AODma_Dbf/9222cdma.h deleted file mode 100644 index 16a6900..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AODma_Dbf/9222cdma.h +++ /dev/null @@ -1,34 +0,0 @@ - -// 9222cdma.h : main header file for the PROJECT_NAME application -// - -#pragma once - -#ifndef __AFXWIN_H__ - #error "include 'stdafx.h' before including this file for PCH" -#endif - -#include "resource.h" // main symbols - -#define AI_MODE_DMA 0 -#define AI_MODE_INT 1 - -// C9222cdmaApp: -// See 9222cdma.cpp for the implementation of this class -// - -class C9222cdmaApp : public CWinAppEx -{ -public: - C9222cdmaApp(); - -// Overrides - public: - virtual BOOL InitInstance(); - -// Implementation - - DECLARE_MESSAGE_MAP() -}; - -extern C9222cdmaApp theApp; \ No newline at end of file diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AODma_Dbf/9222cdma.rc b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AODma_Dbf/9222cdma.rc deleted file mode 100644 index bad56ba..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AODma_Dbf/9222cdma.rc +++ /dev/null @@ -1,284 +0,0 @@ -// Microsoft Visual C++ generated resource script. -// -#include "resource.h" - -#define APSTUDIO_READONLY_SYMBOLS -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 2 resource. -// -#ifndef APSTUDIO_INVOKED -#include "targetver.h" -#endif -#include "afxres.h" - -///////////////////////////////////////////////////////////////////////////// -#undef APSTUDIO_READONLY_SYMBOLS - -///////////////////////////////////////////////////////////////////////////// -// Chinese (Taiwan) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_CHT) -#ifdef _WIN32 -LANGUAGE LANG_CHINESE, SUBLANG_CHINESE_TRADITIONAL -#pragma code_page(950) -#endif //_WIN32 - -#ifdef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// TEXTINCLUDE -// - -1 TEXTINCLUDE -BEGIN - "resource.h\0" -END - -2 TEXTINCLUDE -BEGIN - "#ifndef APSTUDIO_INVOKED\r\n" - "#include ""targetver.h""\r\n" - "#endif\r\n" - "#include ""afxres.h""\r\n" - "\0" -END - -3 TEXTINCLUDE -BEGIN - "#define _AFX_NO_SPLITTER_RESOURCES\r\n" - "#define _AFX_NO_OLE_RESOURCES\r\n" - "#define _AFX_NO_TRACKER_RESOURCES\r\n" - "#define _AFX_NO_PROPERTY_RESOURCES\r\n" - "\r\n" - "#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)\r\n" - "LANGUAGE 9, 1\r\n" - "#pragma code_page(1252)\r\n" - "#include ""res\\My9222cdma.rc2"" // non-Microsoft Visual C++ edited resources\r\n" - "#include ""afxres.rc"" // Standard components\r\n" - "#endif\r\n" - "\0" -END - -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// Icon -// - -// Icon with lowest ID value placed first to ensure application icon -// remains consistent on all systems. -IDR_MAINFRAME ICON "res\\9222cdma.ico" -#endif // Chinese (Taiwan) resources -///////////////////////////////////////////////////////////////////////////// - - -///////////////////////////////////////////////////////////////////////////// -// English (U.S.) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -#ifdef _WIN32 -LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US -#pragma code_page(1252) -#endif //_WIN32 - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog -// - -IDD_ABOUTBOX DIALOGEX 0, 0, 170, 62 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "About 9222cdma" -FONT 8, "MS Shell Dlg", 0, 0, 0x1 -BEGIN - ICON IDR_MAINFRAME,IDC_STATIC,14,14,21,20 - LTEXT "9222cdma, Version 1.0",IDC_STATIC,42,14,114,8,SS_NOPREFIX - LTEXT "Copyright (C) 2010",IDC_STATIC,42,26,114,8 - DEFPUSHBUTTON "OK",IDOK,113,41,50,14,WS_GROUP -END - -IDD_9222DMA_DIALOG DIALOGEX 0, 0, 353, 233 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU -EXSTYLE WS_EX_APPWINDOW -CAPTION "PCI-9222 Double-Buffered DMA (Single-End Singal)" -FONT 8, "MS Shell Dlg", 0, 0, 0x1 -BEGIN - GROUPBOX "",IDC_STATIC_DRAW,46,63,299,161,NOT WS_VISIBLE - LTEXT "Range : +/- 10V",IDC_STATIC,294,54,52,11 - LTEXT "Write Count :",IDC_STATIC,149,21,44,9 - EDITTEXT IDC_EDIT_SCAN_ITERVAL,63,36,49,14,ES_AUTOHSCROLL | ES_READONLY - LTEXT "Update Interval :",IDC_STATIC,65,21,57,9 - SCROLLBAR IDC_SCROLLBAR_RATE,113,36,9,11,SBS_VERT - PUSHBUTTON "Start",IDC_BT_START,227,28,55,22 - EDITTEXT IDC_EDIT_BUF_SIZE,143,36,51,14,ES_AUTOHSCROLL - PUSHBUTTON "Stop",IDC_BT_STOP,289,28,55,22 - LTEXT "Please check the AO0 (pin-16) to AI0 (pin-34) , and the analog output will be loggeg in following panel.",IDC_STATIC,16,7,328,15 -END - -IDD_CARDID_DIALOG DIALOGEX 0, 0, 174, 96 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "Card ID" -FONT 8, "MS Shell Dlg", 400, 0, 0x1 -BEGIN - COMBOBOX IDC_COMBO_CARDID,78,24,71,126,CBS_DROPDOWN | WS_VSCROLL | WS_TABSTOP - LTEXT "Card Number",IDC_STATIC_01,23,25,46,12 - PUSHBUTTON "OK",IDOK,22,59,58,19 - PUSHBUTTON "CANCEL",IDCANCEL,86,59,58,19 -END - - -///////////////////////////////////////////////////////////////////////////// -// -// Version -// - -VS_VERSION_INFO VERSIONINFO - FILEVERSION 1,0,0,1 - PRODUCTVERSION 1,0,0,1 - FILEFLAGSMASK 0x3fL -#ifdef _DEBUG - FILEFLAGS 0x1L -#else - FILEFLAGS 0x0L -#endif - FILEOS 0x4L - FILETYPE 0x1L - FILESUBTYPE 0x0L -BEGIN - BLOCK "StringFileInfo" - BEGIN - BLOCK "040904e4" - BEGIN - VALUE "CompanyName", "TODO: " - VALUE "FileDescription", "TODO: " - VALUE "FileVersion", "1.0.0.1" - VALUE "InternalName", "9222cdma.exe" - VALUE "LegalCopyright", "TODO: (c) . All rights reserved." - VALUE "OriginalFilename", "9222cdma.exe" - VALUE "ProductName", "TODO: " - VALUE "ProductVersion", "1.0.0.1" - END - END - BLOCK "VarFileInfo" - BEGIN - VALUE "Translation", 0x409, 1252 - END -END - - -///////////////////////////////////////////////////////////////////////////// -// -// DESIGNINFO -// - -#ifdef APSTUDIO_INVOKED -GUIDELINES DESIGNINFO -BEGIN - IDD_ABOUTBOX, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 163 - TOPMARGIN, 7 - BOTTOMMARGIN, 55 - END - - IDD_CARDID_DIALOG, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 167 - TOPMARGIN, 7 - BOTTOMMARGIN, 89 - END -END -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog Info -// - -IDD_CARDID_DIALOG DLGINIT -BEGIN - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0030, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0031, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0032, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0033, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0034, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0035, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0036, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0037, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0038, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0039, - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3031, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3131, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3231, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3331, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3431, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3531, "\000" - 0 -END - - -///////////////////////////////////////////////////////////////////////////// -// -// Bitmap -// - -IDB_BITMAP_SET1 BITMAP "res\\ch_set1.bmp" -IDB_BITMAP_SET2 BITMAP "res\\ch_set2.bmp" - -///////////////////////////////////////////////////////////////////////////// -// -// String Table -// - -STRINGTABLE -BEGIN - IDS_ABOUTBOX "&About 9222cdma..." -END - -#endif // English (U.S.) resources -///////////////////////////////////////////////////////////////////////////// - - - -#ifndef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 3 resource. -// -#define _AFX_NO_SPLITTER_RESOURCES -#define _AFX_NO_OLE_RESOURCES -#define _AFX_NO_TRACKER_RESOURCES -#define _AFX_NO_PROPERTY_RESOURCES - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -LANGUAGE 9, 1 -#pragma code_page(1252) -#include "res\My9222cdma.rc2" // non-Microsoft Visual C++ edited resources -#include "afxres.rc" // Standard components -#endif - -///////////////////////////////////////////////////////////////////////////// -#endif // not APSTUDIO_INVOKED - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AODma_Dbf/9222cdma.sln b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AODma_Dbf/9222cdma.sln deleted file mode 100644 index dab32f7..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AODma_Dbf/9222cdma.sln +++ /dev/null @@ -1,20 +0,0 @@ - -Microsoft Visual Studio Solution File, Format Version 10.00 -# Visual Studio 2008 -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "9222cdma", "9222cdma.vcproj", "{702163FB-B6DF-4EF5-9491-FC54D71509BC}" -EndProject -Global - GlobalSection(SolutionConfigurationPlatforms) = preSolution - Debug|x64 = Debug|x64 - Release|x64 = Release|x64 - EndGlobalSection - GlobalSection(ProjectConfigurationPlatforms) = postSolution - {702163FB-B6DF-4EF5-9491-FC54D71509BC}.Debug|x64.ActiveCfg = Debug|x64 - {702163FB-B6DF-4EF5-9491-FC54D71509BC}.Debug|x64.Build.0 = Debug|x64 - {702163FB-B6DF-4EF5-9491-FC54D71509BC}.Release|x64.ActiveCfg = Release|x64 - {702163FB-B6DF-4EF5-9491-FC54D71509BC}.Release|x64.Build.0 = Release|x64 - EndGlobalSection - GlobalSection(SolutionProperties) = preSolution - HideSolutionNode = FALSE - EndGlobalSection -EndGlobal diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AODma_Dbf/9222cdma.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AODma_Dbf/9222cdma.suo deleted file mode 100644 index 3ce668b..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AODma_Dbf/9222cdma.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AODma_Dbf/9222cdma.vcproj b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AODma_Dbf/9222cdma.vcproj deleted file mode 100644 index 6564bd4..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AODma_Dbf/9222cdma.vcproj +++ /dev/null @@ -1,294 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AODma_Dbf/9222cdmaDlg.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AODma_Dbf/9222cdmaDlg.cpp deleted file mode 100644 index 9f087ba..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AODma_Dbf/9222cdmaDlg.cpp +++ /dev/null @@ -1,771 +0,0 @@ - -// 9222cdmaDlg.cpp : implementation file -// - -#include "stdafx.h" -#include "9222cdma.h" -#include "9222cdmaDlg.h" -#include "math.h" - -#ifdef _DEBUG -#define new DEBUG_NEW -#endif - -#ifndef M_PI -#define M_PI 3.14159265359 -#endif - -#define P922X_TIMEBASE 80000000.0 -#define AI_READ_COUNT 8000 -#define AI_SAMPLE_INTERV 10000 - -#define PATTERN_SIZE 1024 - -U32 wPattern1[PATTERN_SIZE]; // SineWave -U32 wPattern2[PATTERN_SIZE]; // Triangle - -CRect plotRect; - -// CAboutDlg dialog used for App About - -class CAboutDlg : public CDialog -{ -public: - CAboutDlg(); - -// Dialog Data - enum { IDD = IDD_ABOUTBOX }; - - protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - -// Implementation -protected: - DECLARE_MESSAGE_MAP() -}; - -CAboutDlg::CAboutDlg() : CDialog(CAboutDlg::IDD) -{ -} - -void CAboutDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); -} - -BEGIN_MESSAGE_MAP(CAboutDlg, CDialog) -END_MESSAGE_MAP() - - -// C9222cdmaDlg dialog - - - - -C9222cdmaDlg::C9222cdmaDlg(I16 hCard, CWnd* pParent /*=NULL*/) - : CDialog(C9222cdmaDlg::IDD, pParent) -{ - U32 vi; - double fTmp; - - m_hIcon = AfxGetApp()->LoadIcon(IDR_MAINFRAME); - - n_PlotWidth = n_PlotHeight = -1; - OnBrush = OffBrush = NULL; - - min_val = 0x00; - max_val = 0xFFFF; - - m_dwSampIntrv = 10000; - - m_hCard = hCard; - - m_nTimer = -1; - m_hAIMem1 = NULL; - m_hAIMem2 = NULL; - - m_hAOMem1 = NULL; - m_hAOMem2 = NULL; - - m_wRange = AD_B_10_V; - max_range = 10.0; - min_range = -10.0; - - m_dwWriteCount = 4096; - m_wPostCount = 512; - - m_dwOverrunCnt = 0; - - m_dwRdyBufCnt = 0; - - // Setup the patterns - - for(vi=0; vi= 256) && ( vi < 768) ) - { - fTmp = 32768.0 - 128.0 * (double)( vi - 256 ); - } - else if( vi < 1024 ) - { - fTmp = 128.0 * (double)( vi - 768 ) - 32768.0; - } - - fTmp = (fTmp)/2; - wPattern2[vi] = (U16)(fTmp)+0x00008000; - - } - -} - -void C9222cdmaDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); -} - -BEGIN_MESSAGE_MAP(C9222cdmaDlg, CDialog) - ON_WM_SYSCOMMAND() - ON_WM_PAINT() - ON_WM_QUERYDRAGICON() - //}}AFX_MSG_MAP - ON_WM_DESTROY() - ON_WM_VSCROLL() - ON_BN_CLICKED(IDC_BT_START, &C9222cdmaDlg::OnStart) - ON_BN_CLICKED(IDC_BT_STOP, &C9222cdmaDlg::OnStop) - ON_WM_TIMER() -END_MESSAGE_MAP() - - -// C9222cdmaDlg message handlers - -BOOL C9222cdmaDlg::OnInitDialog() -{ - CDialog::OnInitDialog(); - - // Add "About..." menu item to system menu. - - // IDM_ABOUTBOX must be in the system command range. - ASSERT((IDM_ABOUTBOX & 0xFFF0) == IDM_ABOUTBOX); - ASSERT(IDM_ABOUTBOX < 0xF000); - - CMenu* pSysMenu = GetSystemMenu(FALSE); - if (pSysMenu != NULL) - { - BOOL bNameValid; - CString strAboutMenu; - bNameValid = strAboutMenu.LoadString(IDS_ABOUTBOX); - ASSERT(bNameValid); - if (!strAboutMenu.IsEmpty()) - { - pSysMenu->AppendMenu(MF_SEPARATOR); - pSysMenu->AppendMenu(MF_STRING, IDM_ABOUTBOX, strAboutMenu); - } - } - - // Set the icon for this dialog. The framework does this automatically - // when the application's main window is not a dialog - SetIcon(m_hIcon, TRUE); // Set big icon - SetIcon(m_hIcon, FALSE); // Set small icon - - // TODO: Add extra initialization here - x_divider = 5; y_divider = 4; - - OnBrush = CreateSolidBrush( RGB(255,0,0) ); - OffBrush = CreateSolidBrush( RGB(125,0,0) ); - - RedPen.CreatePen( PS_SOLID, 1, RGB(255,0,0)); - GreenPen.CreatePen( PS_SOLID, 1, RGB(0,255,0)); - YellowPen.CreatePen( PS_SOLID, 1, RGB(255,255,0)); - BluePen.CreatePen( PS_SOLID, 1, RGB(0,0,255)); - LTBluePen.CreatePen( PS_SOLID, 1, RGB(0,128,255)); - LTRedPen.CreatePen( PS_SOLID, 1, RGB(255,128,0)); - LTGreenPen.CreatePen( PS_SOLID, 1, RGB(0,128,0)); - WhitePen.CreatePen( PS_SOLID, 1, RGB(255,255,255)); - - - if( n_PlotWidth == -1 && n_PlotHeight == -1 ) - { - ((CWnd*)GetDlgItem(IDC_STATIC_DRAW))->GetWindowRect(&plotRect); - ScreenToClient(&plotRect); - - n_PlotWidth = min( plotRect.Width(), 512); - n_PlotHeight = plotRect.Height() - 10; - } - - // set the default SampleRate - - SetDlgItemInt( IDC_EDIT_BUF_SIZE, (UINT)(m_dwWriteCount) ); - SetDlgItemInt( IDC_EDIT_SCAN_ITERVAL, (UINT)(m_dwSampIntrv) ); - - return TRUE; // return TRUE unless you set the focus to a control -} - -void C9222cdmaDlg::OnSysCommand(UINT nID, LPARAM lParam) -{ - if ((nID & 0xFFF0) == IDM_ABOUTBOX) - { - CAboutDlg dlgAbout; - dlgAbout.DoModal(); - } - else - { - CDialog::OnSysCommand(nID, lParam); - } -} - -// If you add a minimize button to your dialog, you will need the code below -// to draw the icon. For MFC applications using the document/view model, -// this is automatically done for you by the framework. - -void C9222cdmaDlg::OnPaint() -{ - if (IsIconic()) - { - CPaintDC dc(this); // device context for painting - - SendMessage(WM_ICONERASEBKGND, reinterpret_cast(dc.GetSafeHdc()), 0); - - // Center icon in client rectangle - int cxIcon = GetSystemMetrics(SM_CXICON); - int cyIcon = GetSystemMetrics(SM_CYICON); - CRect rect; - GetClientRect(&rect); - int x = (rect.Width() - cxIcon + 1) / 2; - int y = (rect.Height() - cyIcon + 1) / 2; - - // Draw the icon - dc.DrawIcon(x, y, m_hIcon); - } - else - { - redraw_display_area(); - CDialog::OnPaint(); - } -} - -// The system calls this function to obtain the cursor to display while the user drags -// the minimized window. -HCURSOR C9222cdmaDlg::OnQueryDragIcon() -{ - return static_cast(m_hIcon); -} - - -void C9222cdmaDlg::redraw_display_area(void) -{ - CPen *oldPen; - - int oldMode; - COLORREF oldColor; - - CString y_lable; - - CPen minor_tick( PS_SOLID,1,RGB(132,130,132) ); -// CPen y_grid( PS_SOLID,1,RGB(206,203,132) ); - - int i, x_intv, y_intv; -// long total_sec; - - CClientDC dc_plot(this); - - // draw the base-line for x-y axises - oldPen = (CPen *)dc_plot.SelectStockObject(BLACK_PEN); - - // redraw the background - dc_plot.FillSolidRect( plotRect, RGB(0,0,0) ); - - // Re-Draw the AREA for Y-Lable - { - CBrush DIALOG_BRUSH; - CRect redraw_area, full_client; - - GetClientRect(&full_client); - ScreenToClient(&full_client); - - redraw_area.left = full_client.left; - redraw_area.top = plotRect.top - 5; - redraw_area.right = plotRect.left - 3; - redraw_area.bottom = plotRect.bottom + 10; - - DIALOG_BRUSH.CreateSysColorBrush( COLOR_3DFACE ); - - dc_plot.FillRect( redraw_area, &DIALOG_BRUSH ); - - DIALOG_BRUSH.DeleteObject(); - } - - dc_plot.MoveTo( plotRect.left - 3, plotRect.top ); - dc_plot.LineTo( plotRect.left - 3, plotRect.bottom ); - - // calculate the interval for tick/grid - y_intv = (plotRect.Height() - 10) /y_divider; - x_intv = plotRect.Width()/x_divider; - - - // set the color for tick - oldColor = dc_plot.SetTextColor( RGB(0,0,0) ); - oldMode = dc_plot.SetBkMode( TRANSPARENT ); - - for( i=0; i<= y_divider; i++ ) - { - CString tick_str; - CRect tmp_rect, tick_rect; - - // draw the tick for y-axis - dc_plot.MoveTo( plotRect.left -12, plotRect.bottom -5 - (i*y_intv) ); - dc_plot.LineTo( plotRect.left -3, plotRect.bottom -5 - (i*y_intv) ); - - tick_str.Format( _T("%.1f"), ( ((max_range-min_range)/y_divider) * i)+min_range ); - - // calculate the rectangle for text - dc_plot.DrawText( tick_str, &tmp_rect, DT_CALCRECT|DT_SINGLELINE ); - tick_rect.right = plotRect.left -14; - tick_rect.left = tick_rect.right - tmp_rect.Width(); - tick_rect.top = plotRect.bottom -5 - (i*y_intv) - tmp_rect.Height()/2; - tick_rect.bottom = tick_rect.top + tmp_rect.Height(); - - // draw the text - dc_plot.DrawText( tick_str, &tick_rect, DT_SINGLELINE|DT_RIGHT ); - - } - - // draw the minor_tick for Y axises - dc_plot.SelectObject(&minor_tick); - for( i=0; i< y_divider; i++ ) - { - dc_plot.MoveTo( plotRect.left -9, plotRect.bottom -5 - (i*y_intv) - y_intv/2 ); - dc_plot.LineTo( plotRect.left -4, plotRect.bottom -5 - (i*y_intv) - y_intv/2 ); - } - - dc_plot.SetTextColor( oldColor ); - dc_plot.SetBkMode( oldMode ); - dc_plot.SelectObject( oldPen ); -} - -void C9222cdmaDlg::OnDestroy() -{ - CDialog::OnDestroy(); - - // TODO: Add your message handler code here - if( m_nTimer != -1 ) - { - KillTimer( m_nTimer ); - m_nTimer = -1; - } - - // AI buffer - if (m_hAIMem1 != NULL) - { - GlobalUnfix(m_hAIMem1); - GlobalUnlock(m_hAIMem1); - GlobalFree(m_hAIMem1); - - m_hAIMem1 = NULL; - } - - if (m_hAIMem2 != NULL) - { - GlobalUnfix(m_hAIMem2); - GlobalUnlock(m_hAIMem2); - GlobalFree(m_hAIMem2); - - m_hAIMem2 = NULL; - } - - - if( OnBrush != NULL ) - ::DeleteObject( OnBrush ); - - if( OffBrush != NULL ) - ::DeleteObject( OffBrush ); - - RedPen.DeleteObject(); - GreenPen.DeleteObject(); - YellowPen.DeleteObject(); - BluePen.DeleteObject(); - LTBluePen.DeleteObject(); - LTRedPen.DeleteObject(); - LTGreenPen.DeleteObject(); - WhitePen.DeleteObject(); - -} - -void C9222cdmaDlg::OnVScroll(UINT nSBCode, UINT nPos, CScrollBar* pScrollBar) -{ - // TODO: Add your message handler code here and/or call default - switch ( nSBCode ) - { - case SB_LINEUP : - m_dwSampIntrv += 160; - if (m_dwSampIntrv > 40000 ) m_dwSampIntrv = 40000; - break; - case SB_LINEDOWN: - m_dwSampIntrv -= 160; - if (m_dwSampIntrv < 80 ) m_dwSampIntrv = 80; - break; - } - - SetDlgItemInt( IDC_EDIT_SCAN_ITERVAL, (UINT)(m_dwSampIntrv) ); - - CDialog::OnVScroll(nSBCode, nPos, pScrollBar); -} - - -void C9222cdmaDlg::OnStop() -{ - // TODO: Add your control notification handler code here - U32 count; - - if( m_nTimer != -1 ) - { - KillTimer( m_nTimer ); - m_nTimer = -1; - } - - AI_AsyncClear(m_hCard, &count); - AO_AsyncClear(m_hCard, &count, 0); - - GetDlgItem( IDC_BT_START )->EnableWindow(TRUE); -} - -void C9222cdmaDlg::OnStart() -{ - // TODO: Add your control notification handler code here - DWORD mem_size; - CString strTemp; - I16 err; - - GetDlgItem( IDC_BT_START )->EnableWindow(FALSE); - - /***************** begin of AI buffer setup *****************/ - if (m_hAIMem1 != NULL) - { - GlobalUnfix(m_hAIMem1); - GlobalUnlock(m_hAIMem1); - GlobalFree(m_hAIMem1); - - m_hAIMem1 = NULL; - } - - if (m_hAIMem2 != NULL) - { - GlobalUnfix(m_hAIMem2); - GlobalUnlock(m_hAIMem2); - GlobalFree(m_hAIMem2); - - m_hAIMem2 = NULL; - } - - // allocate a memory for user DMA buffer - mem_size = AI_READ_COUNT * sizeof(I16); - - m_hAIMem1 = GlobalAlloc(GMEM_FIXED | GMEM_ZEROINIT, mem_size); - m_pAIBuf1 = (U16*) GlobalLock(m_hAIMem1); - if (m_pAIBuf1 == NULL ) - { - AfxMessageBox( TEXT("AI Memory allocation failed"), MB_OK); - return; - } - GlobalFix(m_hAIMem1); - - m_hAIMem2 = GlobalAlloc(GMEM_FIXED | GMEM_ZEROINIT, mem_size); - m_pAIBuf2 = (U16*) GlobalLock(m_hAIMem2); - if (m_pAIBuf2 == NULL ) - { - AfxMessageBox( TEXT("AI Memory allocation failed"), MB_OK); - return; - } - GlobalFix(m_hAIMem2); - - /***************** end of AI buffer setup *****************/ - - /***************** begin of AO buffer setup *****************/ - m_dwWriteCount = GetDlgItemInt(IDC_EDIT_BUF_SIZE); - - if (m_hAOMem1 != NULL) - { - GlobalUnfix(m_hAOMem1); - GlobalUnlock(m_hAOMem1); - GlobalFree(m_hAOMem1); - - m_hAOMem1 = NULL; - } - - if (m_hAOMem2 != NULL) - { - GlobalUnfix(m_hAOMem2); - GlobalUnlock(m_hAOMem2); - GlobalFree(m_hAOMem2); - - m_hAOMem2 = NULL; - } - - // allocate a memory for user DMA buffer - mem_size = m_dwWriteCount * sizeof(U32); - - m_hAOMem1 = GlobalAlloc(GMEM_FIXED | GMEM_ZEROINIT, mem_size); - m_pAOBuf1 = (U32*) GlobalLock(m_hAOMem1); - if (m_pAOBuf1 == NULL ) - { - AfxMessageBox( TEXT("AO Memory allocation failed"), MB_OK); - return; - } - GlobalFix(m_hAOMem1); - - m_hAOMem2 = GlobalAlloc(GMEM_FIXED | GMEM_ZEROINIT, mem_size); - m_pAOBuf2 = (U32*) GlobalLock(m_hAOMem2); - if (m_pAOBuf2 == NULL ) - { - AfxMessageBox( TEXT("AO Memory allocation failed"), MB_OK); - return; - } - GlobalFix(m_hAOMem2); - - UpdatePattern( 1, wPattern1 ); - UpdatePattern( 2, wPattern1 ); - /***************** end of AI buffer setup *****************/ - - m_oldY[0] = m_oldY[1] = m_oldY[2] = m_oldY[3] = m_oldY[4] = m_oldY[5] = m_oldY[6] = m_oldY[7] = -1; - m_oldX[0] = m_oldX[1] = m_oldX[2] = m_oldX[3] = m_oldX[4] = m_oldX[5] = m_oldX[6] = m_oldX[7] = -1; - - if ((err = AI_9222_Config(m_hCard, P922x_AI_SingEnded|P922x_AI_CONVSRC_INT, P922x_AI_TRGMOD_POST|P922x_AI_TRGSRC_SOFT, 0, TRUE)) != NoError) - { - strTemp.Format( TEXT("AI_9222_Config error=%d"), err); - AfxMessageBox( strTemp ); - return; - } - - if ((err = AI_9222_CounterInterval(m_hCard, AI_SAMPLE_INTERV, AI_SAMPLE_INTERV)) != NoError) - { - strTemp.Format( TEXT("AI_9222_CounterInterval error=%d"), err); - AfxMessageBox( strTemp ); - return; - } - - if ((err = AI_AsyncDblBufferMode (m_hCard, 1)) != NoError) - { - strTemp.Format( TEXT("AI_AsyncDblBufferMode error=%d"), err); - AfxMessageBox( strTemp ); - return; - } - - if ((err = AI_ContBufferSetup (m_hCard, m_pAIBuf1, AI_READ_COUNT, &m_wAIBufID1)) != NoError) - { - strTemp.Format( TEXT("AI_ContBufferSetup error=%d"), err); - AfxMessageBox( strTemp ); - return; - } - - if ((err = AI_ContBufferSetup (m_hCard, m_pAIBuf2, AI_READ_COUNT, &m_wAIBufID2)) != NoError) - { - strTemp.Format( TEXT("AI_ContBufferSetup error=%d"), err); - AfxMessageBox( strTemp ); - return; - } - - if ((err = AO_9222_Config(m_hCard, P922x_AO_CONVSRC_INT, (P922x_AO_TRGMOD_POST|P922x_AO_TRGSRC_SOFT), 0, 0, 0, TRUE)) != NoError) - { - strTemp.Format( TEXT("AO_9222_Config error=%d"), err); - AfxMessageBox( strTemp ); - return; - } - - /*Enable Double Buffer Mode*/ - if ((err = AO_AsyncDblBufferMode(m_hCard, 1)) != NoError) - { - strTemp.Format( TEXT("AO_AsyncDblBufferMode error=%d"), err); - AfxMessageBox( strTemp ); - return; - } - - /*Setup buffer*/ - if ((err = AO_ContBufferSetup(m_hCard, m_pAOBuf1, m_dwWriteCount, &m_wAOBufID1)) != NoError) - { - strTemp.Format( TEXT("AO_ContBufferSetup error=%d"), err); - AfxMessageBox( strTemp ); - return; - } - - if ((err = AO_ContBufferSetup(m_hCard, m_pAOBuf2, m_dwWriteCount, &m_wAOBufID2)) != NoError) - { - strTemp.Format( TEXT("AO_ContBufferSetup error=%d"), err); - AfxMessageBox( strTemp ); - return; - } - - m_bView = 0; - - if ((err = AI_ContReadChannel(m_hCard, 0, m_wRange, &m_wAIBufID1, AI_READ_COUNT, 0, ASYNCH_OP)) != NoError) - { - strTemp.Format( TEXT("AI_ContBufferSetup error=%d"), err); - AfxMessageBox( strTemp ); - return; - } - - - /*Start AO0 DAC, Infinite repeate*/ - m_dwRdyBufCnt = 0; - - if ((err = AO_ContWriteChannel(m_hCard, 0, m_wAOBufID1, m_dwWriteCount, 0, m_dwSampIntrv, 0, ASYNCH_OP)) != NoError) - { - strTemp.Format( TEXT("AO_ContWriteChannel error=%d"), err); - AfxMessageBox( strTemp ); - return; - } - - m_nTimer = SetTimer( 1, 20, NULL ); - -} - -int C9222cdmaDlg::display_buffer_data(U16* pBuf) -{ - CClientDC dc_plot(this); - int nDraw_Origin_Y; - int cur_channel; - - int newY = -1; - int newX = -1; - U32 index; - I16 ai_data; - U32 dwDataSize = AI_READ_COUNT; - - // redraw the background - dc_plot.FillSolidRect( plotRect, RGB(0,0,0) ); - - dc_plot.SelectObject(&YellowPen); - - nDraw_Origin_Y = ( plotRect.bottom - 5 ) - n_PlotHeight/2; - - cur_channel = 0; - - for( index=0; index> 16) ); // ( n_PlotHeight * ai_data / 65536) ); // ( (n_PlotHeight/2) * ai_data/32768 ) ); - newX = (int)( index*n_PlotWidth/dwDataSize + plotRect.left ); - - if ( index == 0 ) - { - dc_plot.MoveTo( newX, newY ); - } - else - { - dc_plot.MoveTo( m_oldX[cur_channel], m_oldY[cur_channel] ); - dc_plot.LineTo( newX, newY ); - } - - m_oldX[cur_channel] = newX; - m_oldY[cur_channel] = newY; - } - - return 0; -} - -void C9222cdmaDlg::OnTimer(UINT_PTR nIDEvent) -{ - // TODO: Add your message handler code here and/or call default - BOOLEAN HalfReady; - BOOLEAN fstop; - U16 OverrunFlag; - - AO_AsyncDblBufferHalfReady(m_hCard, &HalfReady); - if( HalfReady ) // half-buffer ready - { - m_dwRdyBufCnt ++; - - if(m_dwRdyBufCnt%4 == 1) - { - UpdatePattern( 1, wPattern2 ); - } - else if(m_dwRdyBufCnt%4 == 2) - { - UpdatePattern( 2, wPattern1 ); - } - else if(m_dwRdyBufCnt%4 == 3) - { - UpdatePattern( 1, wPattern1 ); - } - else - { - UpdatePattern( 2, wPattern2 ); - } - } - - AI_AsyncDblBufferHalfReady(m_hCard, &HalfReady, &fstop); - - if( HalfReady ) // half-buffer ready - { - if(m_bView == 0) - { - display_buffer_data( m_pAIBuf1 ); - m_bView = 1; - } - else - { - display_buffer_data( m_pAIBuf2 ); - m_bView= 0; - } - - AI_AsyncDblBufferHandled( m_hCard ); - AI_AsyncDblBufferOverrun( m_hCard, 0, &OverrunFlag); - - if(OverrunFlag) - { - m_dwOverrunCnt++; - AI_AsyncDblBufferOverrun( m_hCard, 1, NULL ); - } - - - } - - CDialog::OnTimer(nIDEvent); -} - - -void C9222cdmaDlg::UpdatePattern(int nAOBufIdx, U32* pPatternAddr) -{ - U32 vi; - - if( nAOBufIdx == 1 ) // m_pAOBuf1 - { - for(vi=0; vi= PATTERN_SIZE ) - { - memcpy( &(m_pAOBuf1[vi]), pPatternAddr, PATTERN_SIZE * sizeof(U32) ); - } - else - { - memcpy( &(m_pAOBuf1[vi]), pPatternAddr, (m_dwWriteCount - vi) * sizeof(U32) ); - } - - vi += PATTERN_SIZE; - } - } - else // m_pAOBuf2 - { - for(vi=0; vi= PATTERN_SIZE ) - { - memcpy( &(m_pAOBuf2[vi]), pPatternAddr, PATTERN_SIZE * sizeof(U32) ); - } - else - { - memcpy( &(m_pAOBuf2[vi]), pPatternAddr, (m_dwWriteCount - vi) * sizeof(U32) ); - } - - vi += PATTERN_SIZE; - } - } -} diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AODma_Dbf/9222cdmaDlg.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AODma_Dbf/9222cdmaDlg.h deleted file mode 100644 index 0bde3a3..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AODma_Dbf/9222cdmaDlg.h +++ /dev/null @@ -1,85 +0,0 @@ - -// 9222cdmaDlg.h : header file -#pragma once -#include "afxcmn.h" -#include "afxwin.h" - -#include "Dask64.h" - -// C9222cdmaDlg dialog -class C9222cdmaDlg : public CDialog -{ -// Construction -public: - C9222cdmaDlg(I16 hCard, CWnd* pParent = NULL); // standard constructor - -// Dialog Data - enum { IDD = IDD_9222DMA_DIALOG }; - - protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - - -// Implementation -protected: - HICON m_hIcon; - UINT_PTR m_nTimer; - I16 m_hCard; - U32 m_dwSampIntrv; - HANDLE m_hAIMem1; - HANDLE m_hAIMem2; - U16 *m_pAIBuf1; - U16 *m_pAIBuf2; - U16 m_wAIBufID1; - U16 m_wAIBufID2; - HANDLE m_hAOMem1; - HANDLE m_hAOMem2; - U32 *m_pAOBuf1; - U32 *m_pAOBuf2; - U16 m_wAOBufID1; - U16 m_wAOBufID2; - U16 m_wRange; - int m_oldY[8]; - int m_oldX[8]; - U32 m_dwWriteCount; - U16 m_wPostCount; - U8 m_bView; - U32 m_dwOverrunCnt; - U32 m_dwRdyBufCnt; - - // Generated message map functions - virtual BOOL OnInitDialog(); - afx_msg void OnSysCommand(UINT nID, LPARAM lParam); - afx_msg void OnPaint(); - afx_msg HCURSOR OnQueryDragIcon(); - DECLARE_MESSAGE_MAP() - -public: - WORD max_val; - WORD min_val; - double max_range; - double min_range; - int n_PlotWidth; - int n_PlotHeight; - int y_divider; - int x_divider; - int m_DisplayScale; - HBRUSH OnBrush; - HBRUSH OffBrush; - CPen RedPen; - CPen GreenPen; - CPen YellowPen; - CPen BluePen; - CPen LTBluePen; - CPen LTRedPen; - CPen LTGreenPen; - CPen WhitePen; - void redraw_display_area(void); - afx_msg void OnDestroy(); - afx_msg void OnVScroll(UINT nSBCode, UINT nPos, CScrollBar* pScrollBar); - afx_msg void OnStart(); - int display_buffer_data(U16* pBuf); - afx_msg void OnTimer(UINT_PTR nIDEvent); - afx_msg void OnStop(); - void UpdatePattern(int nAOBufIdx, U32* pPatternAddr); -}; diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AODma_Dbf/CardIDDlg.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AODma_Dbf/CardIDDlg.cpp deleted file mode 100644 index 55c0363..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AODma_Dbf/CardIDDlg.cpp +++ /dev/null @@ -1,64 +0,0 @@ -// CardIDDlg.cpp : implementation file -// -#include "stdafx.h" -#include "9222cdma.h" -#include "9222cdmaDlg.h" -#include "CardIDDlg.h" - -// CCardIDDlg dialog - -IMPLEMENT_DYNAMIC(CCardIDDlg, CDialog) - -CCardIDDlg::CCardIDDlg(int nCardIdx, CWnd* pParent /*=NULL*/) - : CDialog(CCardIDDlg::IDD, pParent) -{ - m_nCardIdx = nCardIdx; -} - -CCardIDDlg::~CCardIDDlg() -{ -} - -void CCardIDDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); - DDX_Control(pDX, IDC_COMBO_CARDID, m_cbCardID); -} - - -BEGIN_MESSAGE_MAP(CCardIDDlg, CDialog) -// ON_CBN_SELCHANGE(IDC_COMBO_CARDID, &CCardIDDlg::OnCbnSelchangeComboCardid) -ON_BN_CLICKED(IDOK, &CCardIDDlg::OnBnClickedOk) -//ON_WM_CTLCOLOR() -END_MESSAGE_MAP() - - -// CCardIDDlg message handlers - - -void CCardIDDlg::OnBnClickedOk() -{ - // TODO: Add your control notification handler code here - -// UpdateData(TRUE); - m_nCardIdx = m_cbCardID.GetCurSel(); - - OnOK(); -} - -BOOL CCardIDDlg::OnInitDialog() -{ - CDialog::OnInitDialog(); - - // TODO: Add extra initialization here - m_cbCardID.SetCurSel( m_nCardIdx ); - - return TRUE; // return TRUE unless you set the focus to a control - // EXCEPTION: OCX Property Pages should return FALSE -} - -// the function to get the selected CardID -int CCardIDDlg::GetCardID(void) -{ - return m_nCardIdx; -} diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AODma_Dbf/CardIDDlg.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AODma_Dbf/CardIDDlg.h deleted file mode 100644 index 9c02c58..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AODma_Dbf/CardIDDlg.h +++ /dev/null @@ -1,32 +0,0 @@ -#pragma once -#include "afxwin.h" - -#include "Dask64.h" - -// CCardIDDlg dialog - -class CCardIDDlg : public CDialog -{ - DECLARE_DYNAMIC(CCardIDDlg) - -public: - CCardIDDlg(int nCardIdx, CWnd* pParent = NULL); // standard constructor - virtual ~CCardIDDlg(); - -// Dialog Data - enum { IDD = IDD_CARDID_DIALOG }; - -protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - - DECLARE_MESSAGE_MAP() -public: - virtual BOOL OnInitDialog(); - afx_msg void OnBnClickedOk(); - // the setting of CardID ComboBox - int m_nCardIdx; - // the control of CardID ComboBox - CComboBox m_cbCardID; - // the function to get the selected CardID - int GetCardID(void); -}; diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AODma_Dbf/ReadMe.txt b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AODma_Dbf/ReadMe.txt deleted file mode 100644 index 6e83f34..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AODma_Dbf/ReadMe.txt +++ /dev/null @@ -1,93 +0,0 @@ -================================================================================ - MICROSOFT FOUNDATION CLASS LIBRARY : 9222cdma Project Overview -=============================================================================== - -The application wizard has created this 9222cdma application for -you. This application not only demonstrates the basics of using the Microsoft -Foundation Classes but is also a starting point for writing your application. - -This file contains a summary of what you will find in each of the files that -make up your 9222cdma application. - -9222cdma.vcproj - This is the main project file for VC++ projects generated using an application wizard. - It contains information about the version of Visual C++ that generated the file, and - information about the platforms, configurations, and project features selected with the - application wizard. - -9222cdma.h - This is the main header file for the application. It includes other - project specific headers (including Resource.h) and declares the - C9222cdmaApp application class. - -9222cdma.cpp - This is the main application source file that contains the application - class C9222cdmaApp. - -9222cdma.rc - This is a listing of all of the Microsoft Windows resources that the - program uses. It includes the icons, bitmaps, and cursors that are stored - in the RES subdirectory. This file can be directly edited in Microsoft - Visual C++. Your project resources are in 1033. - -res\9222cdma.ico - This is an icon file, which is used as the application's icon. This - icon is included by the main resource file 9222cdma.rc. - -res\My9222cdma.rc2 - This file contains resources that are not edited by Microsoft - Visual C++. You should place all resources not editable by - the resource editor in this file. - - -///////////////////////////////////////////////////////////////////////////// - -The application wizard creates one dialog class: - -9222cdmaDlg.h, 9222cdmaDlg.cpp - the dialog - These files contain your C9222cdmaDlg class. This class defines - the behavior of your application's main dialog. The dialog's template is - in 9222cdma.rc, which can be edited in Microsoft Visual C++. - - -///////////////////////////////////////////////////////////////////////////// - -Other Features: - -ActiveX Controls - The application includes support to use ActiveX controls. - -///////////////////////////////////////////////////////////////////////////// - -Other standard files: - -StdAfx.h, StdAfx.cpp - These files are used to build a precompiled header (PCH) file - named 9222cdma.pch and a precompiled types file named StdAfx.obj. - -Resource.h - This is the standard header file, which defines new resource IDs. - Microsoft Visual C++ reads and updates this file. - -9222cdma.manifest - Application manifest files are used by Windows XP to describe an applications - dependency on specific versions of Side-by-Side assemblies. The loader uses this - information to load the appropriate assembly from the assembly cache or private - from the application. The Application manifest maybe included for redistribution - as an external .manifest file that is installed in the same folder as the application - executable or it may be included in the executable in the form of a resource. -///////////////////////////////////////////////////////////////////////////// - -Other notes: - -The application wizard uses "TODO:" to indicate parts of the source code you -should add to or customize. - -If your application uses MFC in a shared DLL, you will need -to redistribute the MFC DLLs. If your application is in a language -other than the operating system's locale, you will also have to -redistribute the corresponding localized resources MFC90XXX.DLL. -For more information on both of these topics, please see the section on -redistributing Visual C++ applications in MSDN documentation. - -///////////////////////////////////////////////////////////////////////////// diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AODma_Dbf/res/9222cdma.ico b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AODma_Dbf/res/9222cdma.ico deleted file mode 100644 index d56fbcd..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AODma_Dbf/res/9222cdma.ico and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AODma_Dbf/res/My9222cdma.rc2 b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AODma_Dbf/res/My9222cdma.rc2 deleted file mode 100644 index 383cde2..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AODma_Dbf/res/My9222cdma.rc2 +++ /dev/null @@ -1,13 +0,0 @@ -// -// My9111int.RC2 - resources Microsoft Visual C++ does not edit directly -// - -#ifdef APSTUDIO_INVOKED -#error this file is not editable by Microsoft Visual C++ -#endif //APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// Add manually edited resources here... - -///////////////////////////////////////////////////////////////////////////// diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AODma_Dbf/res/ch_set1.bmp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AODma_Dbf/res/ch_set1.bmp deleted file mode 100644 index f2374ed..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AODma_Dbf/res/ch_set1.bmp and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AODma_Dbf/res/ch_set2.bmp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AODma_Dbf/res/ch_set2.bmp deleted file mode 100644 index 32d0915..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AODma_Dbf/res/ch_set2.bmp and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AODma_Dbf/resource.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AODma_Dbf/resource.h deleted file mode 100644 index 3b3de56..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AODma_Dbf/resource.h +++ /dev/null @@ -1,35 +0,0 @@ -//{{NO_DEPENDENCIES}} -// Microsoft Visual C++ generated include file. -// Used by 9222cdma.rc -// -#define IDM_ABOUTBOX 0x0010 -#define IDD_ABOUTBOX 100 -#define IDS_ABOUTBOX 101 -#define IDD_9222DMA_DIALOG 102 -#define IDR_MAINFRAME 128 -#define IDD_CARDID_DIALOG 129 -#define IDB_BITMAP_SET1 131 -#define IDB_BITMAP_SET2 132 -#define IDC_STATIC_DRAW 1000 -#define IDC_COMBO_CARDID 1001 -#define IDC_BT_STOP 1002 -#define IDC_COMBO_CARDTYPE 1003 -#define IDC_BT_START 1004 -#define IDC_EDIT_SCAN_ITERVAL 1005 -#define IDC_SCROLLBAR_RATE 1006 -#define IDC_STATIC_01 1007 -#define IDC_EDIT_BUF_SIZE 1008 -#define IDC_STATIC_2 1009 -#define IDC_EDIT1 1010 -#define IDC_EDIT_OVERRUN 1011 - -// Next default values for new objects -// -#ifdef APSTUDIO_INVOKED -#ifndef APSTUDIO_READONLY_SYMBOLS -#define _APS_NEXT_RESOURCE_VALUE 134 -#define _APS_NEXT_COMMAND_VALUE 32771 -#define _APS_NEXT_CONTROL_VALUE 1012 -#define _APS_NEXT_SYMED_VALUE 101 -#endif -#endif diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AODma_Dbf/stdafx.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AODma_Dbf/stdafx.cpp deleted file mode 100644 index ef80626..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AODma_Dbf/stdafx.cpp +++ /dev/null @@ -1,8 +0,0 @@ - -// stdafx.cpp : source file that includes just the standard includes -// 9111int.pch will be the pre-compiled header -// stdafx.obj will contain the pre-compiled type information - -#include "stdafx.h" - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AODma_Dbf/stdafx.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AODma_Dbf/stdafx.h deleted file mode 100644 index 12123e2..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AODma_Dbf/stdafx.h +++ /dev/null @@ -1,60 +0,0 @@ - -// stdafx.h : include file for standard system include files, -// or project specific include files that are used frequently, -// but are changed infrequently - -#pragma once - -#ifndef _SECURE_ATL -#define _SECURE_ATL 1 -#endif - -#ifndef VC_EXTRALEAN -#define VC_EXTRALEAN // Exclude rarely-used stuff from Windows headers -#endif - -#include "targetver.h" - -#define _ATL_CSTRING_EXPLICIT_CONSTRUCTORS // some CString constructors will be explicit - -// turns off MFC's hiding of some common and often safely ignored warning messages -#define _AFX_ALL_WARNINGS - -#include // MFC core and standard components -#include // MFC extensions - - -#include // MFC Automation classes - - - -#ifndef _AFX_NO_OLE_SUPPORT -#include // MFC support for Internet Explorer 4 Common Controls -#endif -#ifndef _AFX_NO_AFXCMN_SUPPORT -#include // MFC support for Windows Common Controls -#endif // _AFX_NO_AFXCMN_SUPPORT - -#include // MFC support for ribbons and control bars - - - - - - - - - -#ifdef _UNICODE -#if defined _M_IX86 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='x86' publicKeyToken='6595b64144ccf1df' language='*'\"") -#elif defined _M_IA64 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='ia64' publicKeyToken='6595b64144ccf1df' language='*'\"") -#elif defined _M_X64 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='amd64' publicKeyToken='6595b64144ccf1df' language='*'\"") -#else -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='*' publicKeyToken='6595b64144ccf1df' language='*'\"") -#endif -#endif - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AODma_Dbf/targetver.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AODma_Dbf/targetver.h deleted file mode 100644 index 11730d5..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AODma_Dbf/targetver.h +++ /dev/null @@ -1,26 +0,0 @@ - -#pragma once - -// The following macros define the minimum required platform. The minimum required platform -// is the earliest version of Windows, Internet Explorer etc. that has the necessary features to run -// your application. The macros work by enabling all features available on platform versions up to and -// including the version specified. - -// Modify the following defines if you have to target a platform prior to the ones specified below. -// Refer to MSDN for the latest info on corresponding values for different platforms. -#ifndef WINVER // Specifies that the minimum required platform is Windows Vista. -#define WINVER 0x0600 // Change this to the appropriate value to target other versions of Windows. -#endif - -#ifndef _WIN32_WINNT // Specifies that the minimum required platform is Windows Vista. -#define _WIN32_WINNT 0x0600 // Change this to the appropriate value to target other versions of Windows. -#endif - -#ifndef _WIN32_WINDOWS // Specifies that the minimum required platform is Windows 98. -#define _WIN32_WINDOWS 0x0410 // Change this to the appropriate value to target Windows Me or later. -#endif - -#ifndef _WIN32_IE // Specifies that the minimum required platform is Internet Explorer 7.0. -#define _WIN32_IE 0x0700 // Change this to the appropriate value to target other versions of IE. -#endif - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AODma_ExtConvSrc/9111DbInt.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AODma_ExtConvSrc/9111DbInt.suo deleted file mode 100644 index 3fde864..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AODma_ExtConvSrc/9111DbInt.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AODma_ExtConvSrc/9111PostTg.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AODma_ExtConvSrc/9111PostTg.suo deleted file mode 100644 index c59a833..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AODma_ExtConvSrc/9111PostTg.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AODma_ExtConvSrc/9111int.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AODma_ExtConvSrc/9111int.suo deleted file mode 100644 index aaca7d8..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AODma_ExtConvSrc/9111int.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AODma_ExtConvSrc/9116cdma.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AODma_ExtConvSrc/9116cdma.suo deleted file mode 100644 index df9f193..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AODma_ExtConvSrc/9116cdma.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AODma_ExtConvSrc/9118cdma.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AODma_ExtConvSrc/9118cdma.suo deleted file mode 100644 index 9318437..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AODma_ExtConvSrc/9118cdma.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AODma_ExtConvSrc/9221cdma.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AODma_ExtConvSrc/9221cdma.suo deleted file mode 100644 index 9cb61ca..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AODma_ExtConvSrc/9221cdma.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AODma_ExtConvSrc/9222cdma.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AODma_ExtConvSrc/9222cdma.cpp deleted file mode 100644 index 7ddb019..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AODma_ExtConvSrc/9222cdma.cpp +++ /dev/null @@ -1,109 +0,0 @@ - -// 9222cdma.cpp : Defines the class behaviors for the application. -// - -#include "stdafx.h" -#include "9222cdma.h" -#include "9222cdmaDlg.h" -#include "CardIDDlg.h" - -#ifdef _DEBUG -#define new DEBUG_NEW -#endif - - -// C9222cdmaApp - -BEGIN_MESSAGE_MAP(C9222cdmaApp, CWinAppEx) - ON_COMMAND(ID_HELP, &CWinApp::OnHelp) -END_MESSAGE_MAP() - - -// C9222cdmaApp construction - -C9222cdmaApp::C9222cdmaApp() -{ - // TODO: add construction code here, - // Place all significant initialization in InitInstance -} - - -// The one and only C9222cdmaApp object - -C9222cdmaApp theApp; - - -// C9222cdmaApp initialization - -BOOL C9222cdmaApp::InitInstance() -{ - int nCardID = 0; - I16 hCard; - CString strTemp; - INT_PTR nResponse; - - // InitCommonControlsEx() is required on Windows XP if an application - // manifest specifies use of ComCtl32.dll version 6 or later to enable - // visual styles. Otherwise, any window creation will fail. - INITCOMMONCONTROLSEX InitCtrls; - InitCtrls.dwSize = sizeof(InitCtrls); - // Set this to include all the common control classes you want to use - // in your application. - InitCtrls.dwICC = ICC_WIN95_CLASSES; - InitCommonControlsEx(&InitCtrls); - - CWinAppEx::InitInstance(); - - AfxEnableControlContainer(); - - // Standard initialization - // If you are not using these features and wish to reduce the size - // of your final executable, you should remove from the following - // the specific initialization routines you do not need - // Change the registry key under which our settings are stored - // TODO: You should modify this string to be something appropriate - // such as the name of your company or organization - SetRegistryKey(_T("Local AppWizard-Generated Applications")); - - CCardIDDlg CardDlg( nCardID ); - - nResponse = CardDlg.DoModal(); - if (nResponse == IDOK) - { - nCardID = CardDlg.GetCardID(); - - if ((hCard=Register_Card(PCI_9222, nCardID)) < 0) - { - strTemp.Format( TEXT("Register_Card Error = %d"), hCard); - AfxMessageBox( strTemp ); - } - else - { - C9222cdmaDlg dlg(hCard); - m_pMainWnd = &dlg; - nResponse = dlg.DoModal(); - if (nResponse == IDOK) - { - // TODO: Place code here to handle when the dialog is - // dismissed with OK - } - else if (nResponse == IDCANCEL) - { - // TODO: Place code here to handle when the dialog is - // dismissed with Cancel - } - - if (hCard >= 0) Release_Card(hCard); - } - - } - else if (nResponse == IDCANCEL) - { - // TODO: Place code here to handle when the dialog is - // dismissed with Cancel - } - - // Since the dialog has been closed, return FALSE so that we exit the - // application, rather than start the application's message pump. - return FALSE; -} diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AODma_ExtConvSrc/9222cdma.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AODma_ExtConvSrc/9222cdma.h deleted file mode 100644 index 16a6900..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AODma_ExtConvSrc/9222cdma.h +++ /dev/null @@ -1,34 +0,0 @@ - -// 9222cdma.h : main header file for the PROJECT_NAME application -// - -#pragma once - -#ifndef __AFXWIN_H__ - #error "include 'stdafx.h' before including this file for PCH" -#endif - -#include "resource.h" // main symbols - -#define AI_MODE_DMA 0 -#define AI_MODE_INT 1 - -// C9222cdmaApp: -// See 9222cdma.cpp for the implementation of this class -// - -class C9222cdmaApp : public CWinAppEx -{ -public: - C9222cdmaApp(); - -// Overrides - public: - virtual BOOL InitInstance(); - -// Implementation - - DECLARE_MESSAGE_MAP() -}; - -extern C9222cdmaApp theApp; \ No newline at end of file diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AODma_ExtConvSrc/9222cdma.rc b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AODma_ExtConvSrc/9222cdma.rc deleted file mode 100644 index 9d783d5..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AODma_ExtConvSrc/9222cdma.rc +++ /dev/null @@ -1,285 +0,0 @@ -// Microsoft Visual C++ generated resource script. -// -#include "resource.h" - -#define APSTUDIO_READONLY_SYMBOLS -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 2 resource. -// -#ifndef APSTUDIO_INVOKED -#include "targetver.h" -#endif -#include "afxres.h" - -///////////////////////////////////////////////////////////////////////////// -#undef APSTUDIO_READONLY_SYMBOLS - -///////////////////////////////////////////////////////////////////////////// -// Chinese (Taiwan) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_CHT) -#ifdef _WIN32 -LANGUAGE LANG_CHINESE, SUBLANG_CHINESE_TRADITIONAL -#pragma code_page(950) -#endif //_WIN32 - -#ifdef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// TEXTINCLUDE -// - -1 TEXTINCLUDE -BEGIN - "resource.h\0" -END - -2 TEXTINCLUDE -BEGIN - "#ifndef APSTUDIO_INVOKED\r\n" - "#include ""targetver.h""\r\n" - "#endif\r\n" - "#include ""afxres.h""\r\n" - "\0" -END - -3 TEXTINCLUDE -BEGIN - "#define _AFX_NO_SPLITTER_RESOURCES\r\n" - "#define _AFX_NO_OLE_RESOURCES\r\n" - "#define _AFX_NO_TRACKER_RESOURCES\r\n" - "#define _AFX_NO_PROPERTY_RESOURCES\r\n" - "\r\n" - "#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)\r\n" - "LANGUAGE 9, 1\r\n" - "#pragma code_page(1252)\r\n" - "#include ""res\\My9222cdma.rc2"" // non-Microsoft Visual C++ edited resources\r\n" - "#include ""afxres.rc"" // Standard components\r\n" - "#endif\r\n" - "\0" -END - -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// Icon -// - -// Icon with lowest ID value placed first to ensure application icon -// remains consistent on all systems. -IDR_MAINFRAME ICON "res\\9222cdma.ico" -#endif // Chinese (Taiwan) resources -///////////////////////////////////////////////////////////////////////////// - - -///////////////////////////////////////////////////////////////////////////// -// English (U.S.) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -#ifdef _WIN32 -LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US -#pragma code_page(1252) -#endif //_WIN32 - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog -// - -IDD_ABOUTBOX DIALOGEX 0, 0, 170, 62 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "About 9222cdma" -FONT 8, "MS Shell Dlg", 0, 0, 0x1 -BEGIN - ICON IDR_MAINFRAME,IDC_STATIC,14,14,21,20 - LTEXT "9222cdma, Version 1.0",IDC_STATIC,42,14,114,8,SS_NOPREFIX - LTEXT "Copyright (C) 2010",IDC_STATIC,42,26,114,8 - DEFPUSHBUTTON "OK",IDOK,113,41,50,14,WS_GROUP -END - -IDD_9222DMA_DIALOG DIALOGEX 0, 0, 353, 250 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU -EXSTYLE WS_EX_APPWINDOW -CAPTION "PCI-9222 AO Repeat-Wave /w External Conversion Source" -FONT 8, "MS Shell Dlg", 0, 0, 0x1 -BEGIN - GROUPBOX "",IDC_STATIC_DRAW,46,80,299,161,NOT WS_VISIBLE - LTEXT "Range : +/- 10V",IDC_STATIC,294,69,52,11 - LTEXT "Write Count :",IDC_STATIC,149,36,44,9 - EDITTEXT IDC_EDIT_SCAN_ITERVAL,63,51,49,14,ES_AUTOHSCROLL | ES_READONLY - LTEXT "Update Interval :",IDC_STATIC,65,36,57,9 - SCROLLBAR IDC_SCROLLBAR_RATE,113,51,9,11,SBS_VERT - PUSHBUTTON "Start",IDC_BT_START,227,43,55,22 - EDITTEXT IDC_EDIT_BUF_SIZE,143,51,51,14,ES_AUTOHSCROLL - PUSHBUTTON "Stop",IDC_BT_STOP,289,43,55,22 - LTEXT "Please check the AO0 (pin-16) to AI0 (pin-34) , and the analog output will be loggeg in following panel.",IDC_STATIC,16,7,328,15 - LTEXT "The external convertion signal is connected to GPI0",IDC_STATIC,15,18,169,15 -END - -IDD_CARDID_DIALOG DIALOGEX 0, 0, 174, 96 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "Card ID" -FONT 8, "MS Shell Dlg", 400, 0, 0x1 -BEGIN - COMBOBOX IDC_COMBO_CARDID,78,24,71,126,CBS_DROPDOWN | WS_VSCROLL | WS_TABSTOP - LTEXT "Card Number",IDC_STATIC_01,23,25,46,12 - PUSHBUTTON "OK",IDOK,22,59,58,19 - PUSHBUTTON "CANCEL",IDCANCEL,86,59,58,19 -END - - -///////////////////////////////////////////////////////////////////////////// -// -// Version -// - -VS_VERSION_INFO VERSIONINFO - FILEVERSION 1,0,0,1 - PRODUCTVERSION 1,0,0,1 - FILEFLAGSMASK 0x3fL -#ifdef _DEBUG - FILEFLAGS 0x1L -#else - FILEFLAGS 0x0L -#endif - FILEOS 0x4L - FILETYPE 0x1L - FILESUBTYPE 0x0L -BEGIN - BLOCK "StringFileInfo" - BEGIN - BLOCK "040904e4" - BEGIN - VALUE "CompanyName", "TODO: " - VALUE "FileDescription", "TODO: " - VALUE "FileVersion", "1.0.0.1" - VALUE "InternalName", "9222cdma.exe" - VALUE "LegalCopyright", "TODO: (c) . All rights reserved." - VALUE "OriginalFilename", "9222cdma.exe" - VALUE "ProductName", "TODO: " - VALUE "ProductVersion", "1.0.0.1" - END - END - BLOCK "VarFileInfo" - BEGIN - VALUE "Translation", 0x409, 1252 - END -END - - -///////////////////////////////////////////////////////////////////////////// -// -// DESIGNINFO -// - -#ifdef APSTUDIO_INVOKED -GUIDELINES DESIGNINFO -BEGIN - IDD_ABOUTBOX, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 163 - TOPMARGIN, 7 - BOTTOMMARGIN, 55 - END - - IDD_CARDID_DIALOG, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 167 - TOPMARGIN, 7 - BOTTOMMARGIN, 89 - END -END -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog Info -// - -IDD_CARDID_DIALOG DLGINIT -BEGIN - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0030, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0031, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0032, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0033, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0034, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0035, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0036, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0037, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0038, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0039, - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3031, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3131, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3231, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3331, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3431, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3531, "\000" - 0 -END - - -///////////////////////////////////////////////////////////////////////////// -// -// Bitmap -// - -IDB_BITMAP_SET1 BITMAP "res\\ch_set1.bmp" -IDB_BITMAP_SET2 BITMAP "res\\ch_set2.bmp" - -///////////////////////////////////////////////////////////////////////////// -// -// String Table -// - -STRINGTABLE -BEGIN - IDS_ABOUTBOX "&About 9222cdma..." -END - -#endif // English (U.S.) resources -///////////////////////////////////////////////////////////////////////////// - - - -#ifndef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 3 resource. -// -#define _AFX_NO_SPLITTER_RESOURCES -#define _AFX_NO_OLE_RESOURCES -#define _AFX_NO_TRACKER_RESOURCES -#define _AFX_NO_PROPERTY_RESOURCES - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -LANGUAGE 9, 1 -#pragma code_page(1252) -#include "res\My9222cdma.rc2" // non-Microsoft Visual C++ edited resources -#include "afxres.rc" // Standard components -#endif - -///////////////////////////////////////////////////////////////////////////// -#endif // not APSTUDIO_INVOKED - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AODma_ExtConvSrc/9222cdma.sln b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AODma_ExtConvSrc/9222cdma.sln deleted file mode 100644 index dab32f7..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AODma_ExtConvSrc/9222cdma.sln +++ /dev/null @@ -1,20 +0,0 @@ - -Microsoft Visual Studio Solution File, Format Version 10.00 -# Visual Studio 2008 -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "9222cdma", "9222cdma.vcproj", "{702163FB-B6DF-4EF5-9491-FC54D71509BC}" -EndProject -Global - GlobalSection(SolutionConfigurationPlatforms) = preSolution - Debug|x64 = Debug|x64 - Release|x64 = Release|x64 - EndGlobalSection - GlobalSection(ProjectConfigurationPlatforms) = postSolution - {702163FB-B6DF-4EF5-9491-FC54D71509BC}.Debug|x64.ActiveCfg = Debug|x64 - {702163FB-B6DF-4EF5-9491-FC54D71509BC}.Debug|x64.Build.0 = Debug|x64 - {702163FB-B6DF-4EF5-9491-FC54D71509BC}.Release|x64.ActiveCfg = Release|x64 - {702163FB-B6DF-4EF5-9491-FC54D71509BC}.Release|x64.Build.0 = Release|x64 - EndGlobalSection - GlobalSection(SolutionProperties) = preSolution - HideSolutionNode = FALSE - EndGlobalSection -EndGlobal diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AODma_ExtConvSrc/9222cdma.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AODma_ExtConvSrc/9222cdma.suo deleted file mode 100644 index bf10e61..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AODma_ExtConvSrc/9222cdma.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AODma_ExtConvSrc/9222cdma.vcproj b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AODma_ExtConvSrc/9222cdma.vcproj deleted file mode 100644 index 6564bd4..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AODma_ExtConvSrc/9222cdma.vcproj +++ /dev/null @@ -1,294 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AODma_ExtConvSrc/9222cdmaDlg.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AODma_ExtConvSrc/9222cdmaDlg.cpp deleted file mode 100644 index 26303e7..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AODma_ExtConvSrc/9222cdmaDlg.cpp +++ /dev/null @@ -1,665 +0,0 @@ - -// 9222cdmaDlg.cpp : implementation file -// - -#include "stdafx.h" -#include "9222cdma.h" -#include "9222cdmaDlg.h" -#include "math.h" - -#ifdef _DEBUG -#define new DEBUG_NEW -#endif - -#ifndef M_PI -#define M_PI 3.14159265359 -#endif - -#define P922X_TIMEBASE 80000000.0 -#define AI_READ_COUNT 8000 -#define AI_SAMPLE_INTERV 10000 - -CRect plotRect; - -// CAboutDlg dialog used for App About - -class CAboutDlg : public CDialog -{ -public: - CAboutDlg(); - -// Dialog Data - enum { IDD = IDD_ABOUTBOX }; - - protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - -// Implementation -protected: - DECLARE_MESSAGE_MAP() -}; - -CAboutDlg::CAboutDlg() : CDialog(CAboutDlg::IDD) -{ -} - -void CAboutDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); -} - -BEGIN_MESSAGE_MAP(CAboutDlg, CDialog) -END_MESSAGE_MAP() - - -// C9222cdmaDlg dialog - - - - -C9222cdmaDlg::C9222cdmaDlg(I16 hCard, CWnd* pParent /*=NULL*/) - : CDialog(C9222cdmaDlg::IDD, pParent) -{ - m_hIcon = AfxGetApp()->LoadIcon(IDR_MAINFRAME); - - n_PlotWidth = n_PlotHeight = -1; - OnBrush = OffBrush = NULL; - - min_val = 0x00; - max_val = 0xFFFF; - - m_dwSampIntrv = 10000; - - m_hCard = hCard; - - m_nTimer = -1; - m_hAIMem1 = NULL; - m_hAIMem2 = NULL; - - m_hAOMem1 = NULL; - m_hAOMem2 = NULL; - - m_wRange = AD_B_10_V; - max_range = 10.0; - min_range = -10.0; - - m_dwWriteCount = 4096; - m_wPostCount = 512; - - m_dwOverrunCnt = 0; - - -} - -void C9222cdmaDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); -} - -BEGIN_MESSAGE_MAP(C9222cdmaDlg, CDialog) - ON_WM_SYSCOMMAND() - ON_WM_PAINT() - ON_WM_QUERYDRAGICON() - //}}AFX_MSG_MAP - ON_WM_DESTROY() - ON_WM_VSCROLL() - ON_BN_CLICKED(IDC_BT_START, &C9222cdmaDlg::OnStart) - ON_BN_CLICKED(IDC_BT_STOP, &C9222cdmaDlg::OnStop) - ON_WM_TIMER() -END_MESSAGE_MAP() - - -// C9222cdmaDlg message handlers - -BOOL C9222cdmaDlg::OnInitDialog() -{ - CDialog::OnInitDialog(); - - // Add "About..." menu item to system menu. - - // IDM_ABOUTBOX must be in the system command range. - ASSERT((IDM_ABOUTBOX & 0xFFF0) == IDM_ABOUTBOX); - ASSERT(IDM_ABOUTBOX < 0xF000); - - CMenu* pSysMenu = GetSystemMenu(FALSE); - if (pSysMenu != NULL) - { - BOOL bNameValid; - CString strAboutMenu; - bNameValid = strAboutMenu.LoadString(IDS_ABOUTBOX); - ASSERT(bNameValid); - if (!strAboutMenu.IsEmpty()) - { - pSysMenu->AppendMenu(MF_SEPARATOR); - pSysMenu->AppendMenu(MF_STRING, IDM_ABOUTBOX, strAboutMenu); - } - } - - // Set the icon for this dialog. The framework does this automatically - // when the application's main window is not a dialog - SetIcon(m_hIcon, TRUE); // Set big icon - SetIcon(m_hIcon, FALSE); // Set small icon - - // TODO: Add extra initialization here - x_divider = 5; y_divider = 4; - - OnBrush = CreateSolidBrush( RGB(255,0,0) ); - OffBrush = CreateSolidBrush( RGB(125,0,0) ); - - RedPen.CreatePen( PS_SOLID, 1, RGB(255,0,0)); - GreenPen.CreatePen( PS_SOLID, 1, RGB(0,255,0)); - YellowPen.CreatePen( PS_SOLID, 1, RGB(255,255,0)); - BluePen.CreatePen( PS_SOLID, 1, RGB(0,0,255)); - LTBluePen.CreatePen( PS_SOLID, 1, RGB(0,128,255)); - LTRedPen.CreatePen( PS_SOLID, 1, RGB(255,128,0)); - LTGreenPen.CreatePen( PS_SOLID, 1, RGB(0,128,0)); - WhitePen.CreatePen( PS_SOLID, 1, RGB(255,255,255)); - - - if( n_PlotWidth == -1 && n_PlotHeight == -1 ) - { - ((CWnd*)GetDlgItem(IDC_STATIC_DRAW))->GetWindowRect(&plotRect); - ScreenToClient(&plotRect); - - n_PlotWidth = min( plotRect.Width(), 512); - n_PlotHeight = plotRect.Height() - 10; - } - - // set the default SampleRate - - SetDlgItemInt( IDC_EDIT_BUF_SIZE, (UINT)(m_dwWriteCount) ); - SetDlgItemInt( IDC_EDIT_SCAN_ITERVAL, (UINT)(m_dwSampIntrv) ); - - return TRUE; // return TRUE unless you set the focus to a control -} - -void C9222cdmaDlg::OnSysCommand(UINT nID, LPARAM lParam) -{ - if ((nID & 0xFFF0) == IDM_ABOUTBOX) - { - CAboutDlg dlgAbout; - dlgAbout.DoModal(); - } - else - { - CDialog::OnSysCommand(nID, lParam); - } -} - -// If you add a minimize button to your dialog, you will need the code below -// to draw the icon. For MFC applications using the document/view model, -// this is automatically done for you by the framework. - -void C9222cdmaDlg::OnPaint() -{ - if (IsIconic()) - { - CPaintDC dc(this); // device context for painting - - SendMessage(WM_ICONERASEBKGND, reinterpret_cast(dc.GetSafeHdc()), 0); - - // Center icon in client rectangle - int cxIcon = GetSystemMetrics(SM_CXICON); - int cyIcon = GetSystemMetrics(SM_CYICON); - CRect rect; - GetClientRect(&rect); - int x = (rect.Width() - cxIcon + 1) / 2; - int y = (rect.Height() - cyIcon + 1) / 2; - - // Draw the icon - dc.DrawIcon(x, y, m_hIcon); - } - else - { - redraw_display_area(); - CDialog::OnPaint(); - } -} - -// The system calls this function to obtain the cursor to display while the user drags -// the minimized window. -HCURSOR C9222cdmaDlg::OnQueryDragIcon() -{ - return static_cast(m_hIcon); -} - - -void C9222cdmaDlg::redraw_display_area(void) -{ - CPen *oldPen; - - int oldMode; - COLORREF oldColor; - - CString y_lable; - - CPen minor_tick( PS_SOLID,1,RGB(132,130,132) ); -// CPen y_grid( PS_SOLID,1,RGB(206,203,132) ); - - int i, x_intv, y_intv; -// long total_sec; - - CClientDC dc_plot(this); - - // draw the base-line for x-y axises - oldPen = (CPen *)dc_plot.SelectStockObject(BLACK_PEN); - - // redraw the background - dc_plot.FillSolidRect( plotRect, RGB(0,0,0) ); - - // Re-Draw the AREA for Y-Lable - { - CBrush DIALOG_BRUSH; - CRect redraw_area, full_client; - - GetClientRect(&full_client); - ScreenToClient(&full_client); - - redraw_area.left = full_client.left; - redraw_area.top = plotRect.top - 5; - redraw_area.right = plotRect.left - 3; - redraw_area.bottom = plotRect.bottom + 10; - - DIALOG_BRUSH.CreateSysColorBrush( COLOR_3DFACE ); - - dc_plot.FillRect( redraw_area, &DIALOG_BRUSH ); - - DIALOG_BRUSH.DeleteObject(); - } - - dc_plot.MoveTo( plotRect.left - 3, plotRect.top ); - dc_plot.LineTo( plotRect.left - 3, plotRect.bottom ); - - // calculate the interval for tick/grid - y_intv = (plotRect.Height() - 10) /y_divider; - x_intv = plotRect.Width()/x_divider; - - - // set the color for tick - oldColor = dc_plot.SetTextColor( RGB(0,0,0) ); - oldMode = dc_plot.SetBkMode( TRANSPARENT ); - - for( i=0; i<= y_divider; i++ ) - { - CString tick_str; - CRect tmp_rect, tick_rect; - - // draw the tick for y-axis - dc_plot.MoveTo( plotRect.left -12, plotRect.bottom -5 - (i*y_intv) ); - dc_plot.LineTo( plotRect.left -3, plotRect.bottom -5 - (i*y_intv) ); - - tick_str.Format( _T("%.1f"), ( ((max_range-min_range)/y_divider) * i)+min_range ); - - // calculate the rectangle for text - dc_plot.DrawText( tick_str, &tmp_rect, DT_CALCRECT|DT_SINGLELINE ); - tick_rect.right = plotRect.left -14; - tick_rect.left = tick_rect.right - tmp_rect.Width(); - tick_rect.top = plotRect.bottom -5 - (i*y_intv) - tmp_rect.Height()/2; - tick_rect.bottom = tick_rect.top + tmp_rect.Height(); - - // draw the text - dc_plot.DrawText( tick_str, &tick_rect, DT_SINGLELINE|DT_RIGHT ); - - } - - // draw the minor_tick for Y axises - dc_plot.SelectObject(&minor_tick); - for( i=0; i< y_divider; i++ ) - { - dc_plot.MoveTo( plotRect.left -9, plotRect.bottom -5 - (i*y_intv) - y_intv/2 ); - dc_plot.LineTo( plotRect.left -4, plotRect.bottom -5 - (i*y_intv) - y_intv/2 ); - } - - dc_plot.SetTextColor( oldColor ); - dc_plot.SetBkMode( oldMode ); - dc_plot.SelectObject( oldPen ); -} - -void C9222cdmaDlg::OnDestroy() -{ - CDialog::OnDestroy(); - - // TODO: Add your message handler code here - if( m_nTimer != -1 ) - { - KillTimer( m_nTimer ); - m_nTimer = -1; - } - - // AI buffer - if (m_hAIMem1 != NULL) - { - GlobalUnfix(m_hAIMem1); - GlobalUnlock(m_hAIMem1); - GlobalFree(m_hAIMem1); - - m_hAIMem1 = NULL; - } - - if (m_hAIMem2 != NULL) - { - GlobalUnfix(m_hAIMem2); - GlobalUnlock(m_hAIMem2); - GlobalFree(m_hAIMem2); - - m_hAIMem2 = NULL; - } - - - if( OnBrush != NULL ) - ::DeleteObject( OnBrush ); - - if( OffBrush != NULL ) - ::DeleteObject( OffBrush ); - - RedPen.DeleteObject(); - GreenPen.DeleteObject(); - YellowPen.DeleteObject(); - BluePen.DeleteObject(); - LTBluePen.DeleteObject(); - LTRedPen.DeleteObject(); - LTGreenPen.DeleteObject(); - WhitePen.DeleteObject(); - -} - -void C9222cdmaDlg::OnVScroll(UINT nSBCode, UINT nPos, CScrollBar* pScrollBar) -{ - // TODO: Add your message handler code here and/or call default - switch ( nSBCode ) - { - case SB_LINEUP : - m_dwSampIntrv += 160; - if (m_dwSampIntrv > 40000 ) m_dwSampIntrv = 40000; - break; - case SB_LINEDOWN: - m_dwSampIntrv -= 160; - if (m_dwSampIntrv < 80 ) m_dwSampIntrv = 80; - break; - } - - SetDlgItemInt( IDC_EDIT_SCAN_ITERVAL, (UINT)(m_dwSampIntrv) ); - - CDialog::OnVScroll(nSBCode, nPos, pScrollBar); -} - - -void C9222cdmaDlg::OnStop() -{ - // TODO: Add your control notification handler code here - U32 count; - - if( m_nTimer != -1 ) - { - KillTimer( m_nTimer ); - m_nTimer = -1; - } - - AI_AsyncClear(m_hCard, &count); - AO_AsyncClear(m_hCard, &count, 0); - - GetDlgItem( IDC_BT_START )->EnableWindow(TRUE); -} - -void C9222cdmaDlg::OnStart() -{ - // TODO: Add your control notification handler code here - DWORD mem_size; - CString strTemp; - I16 err; - U32 vi; - double fTmp; - - GetDlgItem( IDC_BT_START )->EnableWindow(FALSE); - - /***************** begin of AI buffer setup *****************/ - if (m_hAIMem1 != NULL) - { - GlobalUnfix(m_hAIMem1); - GlobalUnlock(m_hAIMem1); - GlobalFree(m_hAIMem1); - - m_hAIMem1 = NULL; - } - - if (m_hAIMem2 != NULL) - { - GlobalUnfix(m_hAIMem2); - GlobalUnlock(m_hAIMem2); - GlobalFree(m_hAIMem2); - - m_hAIMem2 = NULL; - } - - // allocate a memory for user DMA buffer - mem_size = AI_READ_COUNT * sizeof(I16); - - m_hAIMem1 = GlobalAlloc(GMEM_FIXED | GMEM_ZEROINIT, mem_size); - m_pAIBuf1 = (U16*) GlobalLock(m_hAIMem1); - if (m_pAIBuf1 == NULL ) - { - AfxMessageBox( TEXT("AI Memory allocation failed"), MB_OK); - return; - } - GlobalFix(m_hAIMem1); - - m_hAIMem2 = GlobalAlloc(GMEM_FIXED | GMEM_ZEROINIT, mem_size); - m_pAIBuf2 = (U16*) GlobalLock(m_hAIMem2); - if (m_pAIBuf2 == NULL ) - { - AfxMessageBox( TEXT("AI Memory allocation failed"), MB_OK); - return; - } - GlobalFix(m_hAIMem2); - - /***************** end of AI buffer setup *****************/ - - /***************** begin of AO buffer setup *****************/ - m_dwWriteCount = GetDlgItemInt(IDC_EDIT_BUF_SIZE); - - if (m_hAOMem1 != NULL) - { - GlobalUnfix(m_hAOMem1); - GlobalUnlock(m_hAOMem1); - GlobalFree(m_hAOMem1); - - m_hAOMem1 = NULL; - } - - if (m_hAOMem2 != NULL) - { - GlobalUnfix(m_hAOMem2); - GlobalUnlock(m_hAOMem2); - GlobalFree(m_hAOMem2); - - m_hAOMem2 = NULL; - } - - // allocate a memory for user DMA buffer - mem_size = m_dwWriteCount * sizeof(U32); - - m_hAOMem1 = GlobalAlloc(GMEM_FIXED | GMEM_ZEROINIT, mem_size); - m_pAOBuf1 = (U32*) GlobalLock(m_hAOMem1); - if (m_pAOBuf1 == NULL ) - { - AfxMessageBox( TEXT("AO Memory allocation failed"), MB_OK); - return; - } - GlobalFix(m_hAOMem1); - - for(vi=0; vi> 16) ); // ( n_PlotHeight * ai_data / 65536) ); // ( (n_PlotHeight/2) * ai_data/32768 ) ); - newX = (int)( index*n_PlotWidth/dwDataSize + plotRect.left ); - - if ( index == 0 ) - { - dc_plot.MoveTo( newX, newY ); - } - else - { - dc_plot.MoveTo( m_oldX[cur_channel], m_oldY[cur_channel] ); - dc_plot.LineTo( newX, newY ); - } - - m_oldX[cur_channel] = newX; - m_oldY[cur_channel] = newY; - } - - return 0; -} - -void C9222cdmaDlg::OnTimer(UINT_PTR nIDEvent) -{ - // TODO: Add your message handler code here and/or call default - BOOLEAN HalfReady; - BOOLEAN fstop; - U16 OverrunFlag; - - AI_AsyncDblBufferHalfReady(m_hCard, &HalfReady, &fstop); - - if( HalfReady ) // half-buffer ready - { - if(m_bView == 0) - { - display_buffer_data( m_pAIBuf1 ); - m_bView = 1; - } - else - { - display_buffer_data( m_pAIBuf2 ); - m_bView= 0; - } - - AI_AsyncDblBufferHandled( m_hCard ); - AI_AsyncDblBufferOverrun( m_hCard, 0, &OverrunFlag); - - if(OverrunFlag) - { - m_dwOverrunCnt++; - AI_AsyncDblBufferOverrun( m_hCard, 1, NULL ); - } - - - } - - CDialog::OnTimer(nIDEvent); -} - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AODma_ExtConvSrc/9222cdmaDlg.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AODma_ExtConvSrc/9222cdmaDlg.h deleted file mode 100644 index 2d7b972..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AODma_ExtConvSrc/9222cdmaDlg.h +++ /dev/null @@ -1,83 +0,0 @@ - -// 9222cdmaDlg.h : header file -#pragma once -#include "afxcmn.h" -#include "afxwin.h" - -#include "Dask64.h" - -// C9222cdmaDlg dialog -class C9222cdmaDlg : public CDialog -{ -// Construction -public: - C9222cdmaDlg(I16 hCard, CWnd* pParent = NULL); // standard constructor - -// Dialog Data - enum { IDD = IDD_9222DMA_DIALOG }; - - protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - - -// Implementation -protected: - HICON m_hIcon; - UINT_PTR m_nTimer; - I16 m_hCard; - U32 m_dwSampIntrv; - HANDLE m_hAIMem1; - HANDLE m_hAIMem2; - U16 *m_pAIBuf1; - U16 *m_pAIBuf2; - U16 m_wAIBufID1; - U16 m_wAIBufID2; - HANDLE m_hAOMem1; - HANDLE m_hAOMem2; - U32 *m_pAOBuf1; - U32 *m_pAOBuf2; - U16 m_wAOBufID1; - U16 m_wAOBufID2; - U16 m_wRange; - int m_oldY[8]; - int m_oldX[8]; - U32 m_dwWriteCount; - U16 m_wPostCount; - U8 m_bView; - U32 m_dwOverrunCnt; - - // Generated message map functions - virtual BOOL OnInitDialog(); - afx_msg void OnSysCommand(UINT nID, LPARAM lParam); - afx_msg void OnPaint(); - afx_msg HCURSOR OnQueryDragIcon(); - DECLARE_MESSAGE_MAP() - -public: - WORD max_val; - WORD min_val; - double max_range; - double min_range; - int n_PlotWidth; - int n_PlotHeight; - int y_divider; - int x_divider; - int m_DisplayScale; - HBRUSH OnBrush; - HBRUSH OffBrush; - CPen RedPen; - CPen GreenPen; - CPen YellowPen; - CPen BluePen; - CPen LTBluePen; - CPen LTRedPen; - CPen LTGreenPen; - CPen WhitePen; - void redraw_display_area(void); - afx_msg void OnDestroy(); - afx_msg void OnVScroll(UINT nSBCode, UINT nPos, CScrollBar* pScrollBar); - afx_msg void OnStart(); - int display_buffer_data(U16* pBuf); - afx_msg void OnTimer(UINT_PTR nIDEvent); - afx_msg void OnStop(); -}; diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AODma_ExtConvSrc/CardIDDlg.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AODma_ExtConvSrc/CardIDDlg.cpp deleted file mode 100644 index 55c0363..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AODma_ExtConvSrc/CardIDDlg.cpp +++ /dev/null @@ -1,64 +0,0 @@ -// CardIDDlg.cpp : implementation file -// -#include "stdafx.h" -#include "9222cdma.h" -#include "9222cdmaDlg.h" -#include "CardIDDlg.h" - -// CCardIDDlg dialog - -IMPLEMENT_DYNAMIC(CCardIDDlg, CDialog) - -CCardIDDlg::CCardIDDlg(int nCardIdx, CWnd* pParent /*=NULL*/) - : CDialog(CCardIDDlg::IDD, pParent) -{ - m_nCardIdx = nCardIdx; -} - -CCardIDDlg::~CCardIDDlg() -{ -} - -void CCardIDDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); - DDX_Control(pDX, IDC_COMBO_CARDID, m_cbCardID); -} - - -BEGIN_MESSAGE_MAP(CCardIDDlg, CDialog) -// ON_CBN_SELCHANGE(IDC_COMBO_CARDID, &CCardIDDlg::OnCbnSelchangeComboCardid) -ON_BN_CLICKED(IDOK, &CCardIDDlg::OnBnClickedOk) -//ON_WM_CTLCOLOR() -END_MESSAGE_MAP() - - -// CCardIDDlg message handlers - - -void CCardIDDlg::OnBnClickedOk() -{ - // TODO: Add your control notification handler code here - -// UpdateData(TRUE); - m_nCardIdx = m_cbCardID.GetCurSel(); - - OnOK(); -} - -BOOL CCardIDDlg::OnInitDialog() -{ - CDialog::OnInitDialog(); - - // TODO: Add extra initialization here - m_cbCardID.SetCurSel( m_nCardIdx ); - - return TRUE; // return TRUE unless you set the focus to a control - // EXCEPTION: OCX Property Pages should return FALSE -} - -// the function to get the selected CardID -int CCardIDDlg::GetCardID(void) -{ - return m_nCardIdx; -} diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AODma_ExtConvSrc/CardIDDlg.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AODma_ExtConvSrc/CardIDDlg.h deleted file mode 100644 index 9c02c58..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AODma_ExtConvSrc/CardIDDlg.h +++ /dev/null @@ -1,32 +0,0 @@ -#pragma once -#include "afxwin.h" - -#include "Dask64.h" - -// CCardIDDlg dialog - -class CCardIDDlg : public CDialog -{ - DECLARE_DYNAMIC(CCardIDDlg) - -public: - CCardIDDlg(int nCardIdx, CWnd* pParent = NULL); // standard constructor - virtual ~CCardIDDlg(); - -// Dialog Data - enum { IDD = IDD_CARDID_DIALOG }; - -protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - - DECLARE_MESSAGE_MAP() -public: - virtual BOOL OnInitDialog(); - afx_msg void OnBnClickedOk(); - // the setting of CardID ComboBox - int m_nCardIdx; - // the control of CardID ComboBox - CComboBox m_cbCardID; - // the function to get the selected CardID - int GetCardID(void); -}; diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AODma_ExtConvSrc/ReadMe.txt b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AODma_ExtConvSrc/ReadMe.txt deleted file mode 100644 index 6e83f34..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AODma_ExtConvSrc/ReadMe.txt +++ /dev/null @@ -1,93 +0,0 @@ -================================================================================ - MICROSOFT FOUNDATION CLASS LIBRARY : 9222cdma Project Overview -=============================================================================== - -The application wizard has created this 9222cdma application for -you. This application not only demonstrates the basics of using the Microsoft -Foundation Classes but is also a starting point for writing your application. - -This file contains a summary of what you will find in each of the files that -make up your 9222cdma application. - -9222cdma.vcproj - This is the main project file for VC++ projects generated using an application wizard. - It contains information about the version of Visual C++ that generated the file, and - information about the platforms, configurations, and project features selected with the - application wizard. - -9222cdma.h - This is the main header file for the application. It includes other - project specific headers (including Resource.h) and declares the - C9222cdmaApp application class. - -9222cdma.cpp - This is the main application source file that contains the application - class C9222cdmaApp. - -9222cdma.rc - This is a listing of all of the Microsoft Windows resources that the - program uses. It includes the icons, bitmaps, and cursors that are stored - in the RES subdirectory. This file can be directly edited in Microsoft - Visual C++. Your project resources are in 1033. - -res\9222cdma.ico - This is an icon file, which is used as the application's icon. This - icon is included by the main resource file 9222cdma.rc. - -res\My9222cdma.rc2 - This file contains resources that are not edited by Microsoft - Visual C++. You should place all resources not editable by - the resource editor in this file. - - -///////////////////////////////////////////////////////////////////////////// - -The application wizard creates one dialog class: - -9222cdmaDlg.h, 9222cdmaDlg.cpp - the dialog - These files contain your C9222cdmaDlg class. This class defines - the behavior of your application's main dialog. The dialog's template is - in 9222cdma.rc, which can be edited in Microsoft Visual C++. - - -///////////////////////////////////////////////////////////////////////////// - -Other Features: - -ActiveX Controls - The application includes support to use ActiveX controls. - -///////////////////////////////////////////////////////////////////////////// - -Other standard files: - -StdAfx.h, StdAfx.cpp - These files are used to build a precompiled header (PCH) file - named 9222cdma.pch and a precompiled types file named StdAfx.obj. - -Resource.h - This is the standard header file, which defines new resource IDs. - Microsoft Visual C++ reads and updates this file. - -9222cdma.manifest - Application manifest files are used by Windows XP to describe an applications - dependency on specific versions of Side-by-Side assemblies. The loader uses this - information to load the appropriate assembly from the assembly cache or private - from the application. The Application manifest maybe included for redistribution - as an external .manifest file that is installed in the same folder as the application - executable or it may be included in the executable in the form of a resource. -///////////////////////////////////////////////////////////////////////////// - -Other notes: - -The application wizard uses "TODO:" to indicate parts of the source code you -should add to or customize. - -If your application uses MFC in a shared DLL, you will need -to redistribute the MFC DLLs. If your application is in a language -other than the operating system's locale, you will also have to -redistribute the corresponding localized resources MFC90XXX.DLL. -For more information on both of these topics, please see the section on -redistributing Visual C++ applications in MSDN documentation. - -///////////////////////////////////////////////////////////////////////////// diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AODma_ExtConvSrc/res/9222cdma.ico b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AODma_ExtConvSrc/res/9222cdma.ico deleted file mode 100644 index d56fbcd..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AODma_ExtConvSrc/res/9222cdma.ico and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AODma_ExtConvSrc/res/My9222cdma.rc2 b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AODma_ExtConvSrc/res/My9222cdma.rc2 deleted file mode 100644 index 383cde2..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AODma_ExtConvSrc/res/My9222cdma.rc2 +++ /dev/null @@ -1,13 +0,0 @@ -// -// My9111int.RC2 - resources Microsoft Visual C++ does not edit directly -// - -#ifdef APSTUDIO_INVOKED -#error this file is not editable by Microsoft Visual C++ -#endif //APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// Add manually edited resources here... - -///////////////////////////////////////////////////////////////////////////// diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AODma_ExtConvSrc/res/ch_set1.bmp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AODma_ExtConvSrc/res/ch_set1.bmp deleted file mode 100644 index f2374ed..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AODma_ExtConvSrc/res/ch_set1.bmp and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AODma_ExtConvSrc/res/ch_set2.bmp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AODma_ExtConvSrc/res/ch_set2.bmp deleted file mode 100644 index 32d0915..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AODma_ExtConvSrc/res/ch_set2.bmp and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AODma_ExtConvSrc/resource.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AODma_ExtConvSrc/resource.h deleted file mode 100644 index 3b3de56..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AODma_ExtConvSrc/resource.h +++ /dev/null @@ -1,35 +0,0 @@ -//{{NO_DEPENDENCIES}} -// Microsoft Visual C++ generated include file. -// Used by 9222cdma.rc -// -#define IDM_ABOUTBOX 0x0010 -#define IDD_ABOUTBOX 100 -#define IDS_ABOUTBOX 101 -#define IDD_9222DMA_DIALOG 102 -#define IDR_MAINFRAME 128 -#define IDD_CARDID_DIALOG 129 -#define IDB_BITMAP_SET1 131 -#define IDB_BITMAP_SET2 132 -#define IDC_STATIC_DRAW 1000 -#define IDC_COMBO_CARDID 1001 -#define IDC_BT_STOP 1002 -#define IDC_COMBO_CARDTYPE 1003 -#define IDC_BT_START 1004 -#define IDC_EDIT_SCAN_ITERVAL 1005 -#define IDC_SCROLLBAR_RATE 1006 -#define IDC_STATIC_01 1007 -#define IDC_EDIT_BUF_SIZE 1008 -#define IDC_STATIC_2 1009 -#define IDC_EDIT1 1010 -#define IDC_EDIT_OVERRUN 1011 - -// Next default values for new objects -// -#ifdef APSTUDIO_INVOKED -#ifndef APSTUDIO_READONLY_SYMBOLS -#define _APS_NEXT_RESOURCE_VALUE 134 -#define _APS_NEXT_COMMAND_VALUE 32771 -#define _APS_NEXT_CONTROL_VALUE 1012 -#define _APS_NEXT_SYMED_VALUE 101 -#endif -#endif diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AODma_ExtConvSrc/stdafx.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AODma_ExtConvSrc/stdafx.cpp deleted file mode 100644 index ef80626..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AODma_ExtConvSrc/stdafx.cpp +++ /dev/null @@ -1,8 +0,0 @@ - -// stdafx.cpp : source file that includes just the standard includes -// 9111int.pch will be the pre-compiled header -// stdafx.obj will contain the pre-compiled type information - -#include "stdafx.h" - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AODma_ExtConvSrc/stdafx.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AODma_ExtConvSrc/stdafx.h deleted file mode 100644 index 12123e2..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AODma_ExtConvSrc/stdafx.h +++ /dev/null @@ -1,60 +0,0 @@ - -// stdafx.h : include file for standard system include files, -// or project specific include files that are used frequently, -// but are changed infrequently - -#pragma once - -#ifndef _SECURE_ATL -#define _SECURE_ATL 1 -#endif - -#ifndef VC_EXTRALEAN -#define VC_EXTRALEAN // Exclude rarely-used stuff from Windows headers -#endif - -#include "targetver.h" - -#define _ATL_CSTRING_EXPLICIT_CONSTRUCTORS // some CString constructors will be explicit - -// turns off MFC's hiding of some common and often safely ignored warning messages -#define _AFX_ALL_WARNINGS - -#include // MFC core and standard components -#include // MFC extensions - - -#include // MFC Automation classes - - - -#ifndef _AFX_NO_OLE_SUPPORT -#include // MFC support for Internet Explorer 4 Common Controls -#endif -#ifndef _AFX_NO_AFXCMN_SUPPORT -#include // MFC support for Windows Common Controls -#endif // _AFX_NO_AFXCMN_SUPPORT - -#include // MFC support for ribbons and control bars - - - - - - - - - -#ifdef _UNICODE -#if defined _M_IX86 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='x86' publicKeyToken='6595b64144ccf1df' language='*'\"") -#elif defined _M_IA64 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='ia64' publicKeyToken='6595b64144ccf1df' language='*'\"") -#elif defined _M_X64 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='amd64' publicKeyToken='6595b64144ccf1df' language='*'\"") -#else -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='*' publicKeyToken='6595b64144ccf1df' language='*'\"") -#endif -#endif - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AODma_ExtConvSrc/targetver.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AODma_ExtConvSrc/targetver.h deleted file mode 100644 index 11730d5..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AODma_ExtConvSrc/targetver.h +++ /dev/null @@ -1,26 +0,0 @@ - -#pragma once - -// The following macros define the minimum required platform. The minimum required platform -// is the earliest version of Windows, Internet Explorer etc. that has the necessary features to run -// your application. The macros work by enabling all features available on platform versions up to and -// including the version specified. - -// Modify the following defines if you have to target a platform prior to the ones specified below. -// Refer to MSDN for the latest info on corresponding values for different platforms. -#ifndef WINVER // Specifies that the minimum required platform is Windows Vista. -#define WINVER 0x0600 // Change this to the appropriate value to target other versions of Windows. -#endif - -#ifndef _WIN32_WINNT // Specifies that the minimum required platform is Windows Vista. -#define _WIN32_WINNT 0x0600 // Change this to the appropriate value to target other versions of Windows. -#endif - -#ifndef _WIN32_WINDOWS // Specifies that the minimum required platform is Windows 98. -#define _WIN32_WINDOWS 0x0410 // Change this to the appropriate value to target Windows Me or later. -#endif - -#ifndef _WIN32_IE // Specifies that the minimum required platform is Internet Explorer 7.0. -#define _WIN32_IE 0x0700 // Change this to the appropriate value to target other versions of IE. -#endif - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AODma_InfiniteDReTrigger/9111DbInt.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AODma_InfiniteDReTrigger/9111DbInt.suo deleted file mode 100644 index 3fde864..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AODma_InfiniteDReTrigger/9111DbInt.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AODma_InfiniteDReTrigger/9111PostTg.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AODma_InfiniteDReTrigger/9111PostTg.suo deleted file mode 100644 index c59a833..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AODma_InfiniteDReTrigger/9111PostTg.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AODma_InfiniteDReTrigger/9111int.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AODma_InfiniteDReTrigger/9111int.suo deleted file mode 100644 index aaca7d8..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AODma_InfiniteDReTrigger/9111int.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AODma_InfiniteDReTrigger/9116cdma.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AODma_InfiniteDReTrigger/9116cdma.suo deleted file mode 100644 index df9f193..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AODma_InfiniteDReTrigger/9116cdma.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AODma_InfiniteDReTrigger/9118cdma.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AODma_InfiniteDReTrigger/9118cdma.suo deleted file mode 100644 index 9318437..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AODma_InfiniteDReTrigger/9118cdma.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AODma_InfiniteDReTrigger/9221cdma.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AODma_InfiniteDReTrigger/9221cdma.suo deleted file mode 100644 index 9cb61ca..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AODma_InfiniteDReTrigger/9221cdma.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AODma_InfiniteDReTrigger/9222cdma.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AODma_InfiniteDReTrigger/9222cdma.cpp deleted file mode 100644 index 7ddb019..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AODma_InfiniteDReTrigger/9222cdma.cpp +++ /dev/null @@ -1,109 +0,0 @@ - -// 9222cdma.cpp : Defines the class behaviors for the application. -// - -#include "stdafx.h" -#include "9222cdma.h" -#include "9222cdmaDlg.h" -#include "CardIDDlg.h" - -#ifdef _DEBUG -#define new DEBUG_NEW -#endif - - -// C9222cdmaApp - -BEGIN_MESSAGE_MAP(C9222cdmaApp, CWinAppEx) - ON_COMMAND(ID_HELP, &CWinApp::OnHelp) -END_MESSAGE_MAP() - - -// C9222cdmaApp construction - -C9222cdmaApp::C9222cdmaApp() -{ - // TODO: add construction code here, - // Place all significant initialization in InitInstance -} - - -// The one and only C9222cdmaApp object - -C9222cdmaApp theApp; - - -// C9222cdmaApp initialization - -BOOL C9222cdmaApp::InitInstance() -{ - int nCardID = 0; - I16 hCard; - CString strTemp; - INT_PTR nResponse; - - // InitCommonControlsEx() is required on Windows XP if an application - // manifest specifies use of ComCtl32.dll version 6 or later to enable - // visual styles. Otherwise, any window creation will fail. - INITCOMMONCONTROLSEX InitCtrls; - InitCtrls.dwSize = sizeof(InitCtrls); - // Set this to include all the common control classes you want to use - // in your application. - InitCtrls.dwICC = ICC_WIN95_CLASSES; - InitCommonControlsEx(&InitCtrls); - - CWinAppEx::InitInstance(); - - AfxEnableControlContainer(); - - // Standard initialization - // If you are not using these features and wish to reduce the size - // of your final executable, you should remove from the following - // the specific initialization routines you do not need - // Change the registry key under which our settings are stored - // TODO: You should modify this string to be something appropriate - // such as the name of your company or organization - SetRegistryKey(_T("Local AppWizard-Generated Applications")); - - CCardIDDlg CardDlg( nCardID ); - - nResponse = CardDlg.DoModal(); - if (nResponse == IDOK) - { - nCardID = CardDlg.GetCardID(); - - if ((hCard=Register_Card(PCI_9222, nCardID)) < 0) - { - strTemp.Format( TEXT("Register_Card Error = %d"), hCard); - AfxMessageBox( strTemp ); - } - else - { - C9222cdmaDlg dlg(hCard); - m_pMainWnd = &dlg; - nResponse = dlg.DoModal(); - if (nResponse == IDOK) - { - // TODO: Place code here to handle when the dialog is - // dismissed with OK - } - else if (nResponse == IDCANCEL) - { - // TODO: Place code here to handle when the dialog is - // dismissed with Cancel - } - - if (hCard >= 0) Release_Card(hCard); - } - - } - else if (nResponse == IDCANCEL) - { - // TODO: Place code here to handle when the dialog is - // dismissed with Cancel - } - - // Since the dialog has been closed, return FALSE so that we exit the - // application, rather than start the application's message pump. - return FALSE; -} diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AODma_InfiniteDReTrigger/9222cdma.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AODma_InfiniteDReTrigger/9222cdma.h deleted file mode 100644 index 16a6900..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AODma_InfiniteDReTrigger/9222cdma.h +++ /dev/null @@ -1,34 +0,0 @@ - -// 9222cdma.h : main header file for the PROJECT_NAME application -// - -#pragma once - -#ifndef __AFXWIN_H__ - #error "include 'stdafx.h' before including this file for PCH" -#endif - -#include "resource.h" // main symbols - -#define AI_MODE_DMA 0 -#define AI_MODE_INT 1 - -// C9222cdmaApp: -// See 9222cdma.cpp for the implementation of this class -// - -class C9222cdmaApp : public CWinAppEx -{ -public: - C9222cdmaApp(); - -// Overrides - public: - virtual BOOL InitInstance(); - -// Implementation - - DECLARE_MESSAGE_MAP() -}; - -extern C9222cdmaApp theApp; \ No newline at end of file diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AODma_InfiniteDReTrigger/9222cdma.rc b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AODma_InfiniteDReTrigger/9222cdma.rc deleted file mode 100644 index 7763965..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AODma_InfiniteDReTrigger/9222cdma.rc +++ /dev/null @@ -1,285 +0,0 @@ -// Microsoft Visual C++ generated resource script. -// -#include "resource.h" - -#define APSTUDIO_READONLY_SYMBOLS -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 2 resource. -// -#ifndef APSTUDIO_INVOKED -#include "targetver.h" -#endif -#include "afxres.h" - -///////////////////////////////////////////////////////////////////////////// -#undef APSTUDIO_READONLY_SYMBOLS - -///////////////////////////////////////////////////////////////////////////// -// Chinese (Taiwan) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_CHT) -#ifdef _WIN32 -LANGUAGE LANG_CHINESE, SUBLANG_CHINESE_TRADITIONAL -#pragma code_page(950) -#endif //_WIN32 - -#ifdef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// TEXTINCLUDE -// - -1 TEXTINCLUDE -BEGIN - "resource.h\0" -END - -2 TEXTINCLUDE -BEGIN - "#ifndef APSTUDIO_INVOKED\r\n" - "#include ""targetver.h""\r\n" - "#endif\r\n" - "#include ""afxres.h""\r\n" - "\0" -END - -3 TEXTINCLUDE -BEGIN - "#define _AFX_NO_SPLITTER_RESOURCES\r\n" - "#define _AFX_NO_OLE_RESOURCES\r\n" - "#define _AFX_NO_TRACKER_RESOURCES\r\n" - "#define _AFX_NO_PROPERTY_RESOURCES\r\n" - "\r\n" - "#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)\r\n" - "LANGUAGE 9, 1\r\n" - "#pragma code_page(1252)\r\n" - "#include ""res\\My9222cdma.rc2"" // non-Microsoft Visual C++ edited resources\r\n" - "#include ""afxres.rc"" // Standard components\r\n" - "#endif\r\n" - "\0" -END - -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// Icon -// - -// Icon with lowest ID value placed first to ensure application icon -// remains consistent on all systems. -IDR_MAINFRAME ICON "res\\9222cdma.ico" -#endif // Chinese (Taiwan) resources -///////////////////////////////////////////////////////////////////////////// - - -///////////////////////////////////////////////////////////////////////////// -// English (U.S.) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -#ifdef _WIN32 -LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US -#pragma code_page(1252) -#endif //_WIN32 - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog -// - -IDD_ABOUTBOX DIALOGEX 0, 0, 170, 62 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "About 9222cdma" -FONT 8, "MS Shell Dlg", 0, 0, 0x1 -BEGIN - ICON IDR_MAINFRAME,IDC_STATIC,14,14,21,20 - LTEXT "9222cdma, Version 1.0",IDC_STATIC,42,14,114,8,SS_NOPREFIX - LTEXT "Copyright (C) 2010",IDC_STATIC,42,26,114,8 - DEFPUSHBUTTON "OK",IDOK,113,41,50,14,WS_GROUP -END - -IDD_9222DMA_DIALOG DIALOGEX 0, 0, 353, 239 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU -EXSTYLE WS_EX_APPWINDOW -CAPTION "PCI-9222 AO Infinite Re-trigger " -FONT 8, "MS Shell Dlg", 0, 0, 0x1 -BEGIN - GROUPBOX "",IDC_STATIC_DRAW,46,71,299,161,NOT WS_VISIBLE - LTEXT "Range : +/- 10V",IDC_STATIC,294,62,52,11 - LTEXT "Write Count :",IDC_STATIC,149,31,44,9 - EDITTEXT IDC_EDIT_SCAN_ITERVAL,63,44,49,14,ES_AUTOHSCROLL | ES_READONLY - LTEXT "Update Interval :",IDC_STATIC,65,31,57,9 - SCROLLBAR IDC_SCROLLBAR_RATE,113,44,9,11,SBS_VERT - PUSHBUTTON "Start",IDC_BT_START,227,36,55,22 - EDITTEXT IDC_EDIT_BUF_SIZE,143,44,51,14,ES_AUTOHSCROLL - PUSHBUTTON "Stop",IDC_BT_STOP,289,36,55,22 - LTEXT "Please check the AO0 (pin-16) to AI0 (pin-34) , and the analog output will be loggeg in following panel.",IDC_STATIC,16,7,328,15 - LTEXT "The extrenal digital trigger : GPI0 ",IDC_STATIC,15,18,328,15 -END - -IDD_CARDID_DIALOG DIALOGEX 0, 0, 174, 96 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "Card ID" -FONT 8, "MS Shell Dlg", 400, 0, 0x1 -BEGIN - COMBOBOX IDC_COMBO_CARDID,78,24,71,126,CBS_DROPDOWN | WS_VSCROLL | WS_TABSTOP - LTEXT "Card Number",IDC_STATIC_01,23,25,46,12 - PUSHBUTTON "OK",IDOK,22,59,58,19 - PUSHBUTTON "CANCEL",IDCANCEL,86,59,58,19 -END - - -///////////////////////////////////////////////////////////////////////////// -// -// Version -// - -VS_VERSION_INFO VERSIONINFO - FILEVERSION 1,0,0,1 - PRODUCTVERSION 1,0,0,1 - FILEFLAGSMASK 0x3fL -#ifdef _DEBUG - FILEFLAGS 0x1L -#else - FILEFLAGS 0x0L -#endif - FILEOS 0x4L - FILETYPE 0x1L - FILESUBTYPE 0x0L -BEGIN - BLOCK "StringFileInfo" - BEGIN - BLOCK "040904e4" - BEGIN - VALUE "CompanyName", "TODO: " - VALUE "FileDescription", "TODO: " - VALUE "FileVersion", "1.0.0.1" - VALUE "InternalName", "9222cdma.exe" - VALUE "LegalCopyright", "TODO: (c) . All rights reserved." - VALUE "OriginalFilename", "9222cdma.exe" - VALUE "ProductName", "TODO: " - VALUE "ProductVersion", "1.0.0.1" - END - END - BLOCK "VarFileInfo" - BEGIN - VALUE "Translation", 0x409, 1252 - END -END - - -///////////////////////////////////////////////////////////////////////////// -// -// DESIGNINFO -// - -#ifdef APSTUDIO_INVOKED -GUIDELINES DESIGNINFO -BEGIN - IDD_ABOUTBOX, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 163 - TOPMARGIN, 7 - BOTTOMMARGIN, 55 - END - - IDD_CARDID_DIALOG, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 167 - TOPMARGIN, 7 - BOTTOMMARGIN, 89 - END -END -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog Info -// - -IDD_CARDID_DIALOG DLGINIT -BEGIN - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0030, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0031, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0032, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0033, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0034, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0035, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0036, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0037, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0038, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0039, - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3031, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3131, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3231, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3331, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3431, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3531, "\000" - 0 -END - - -///////////////////////////////////////////////////////////////////////////// -// -// Bitmap -// - -IDB_BITMAP_SET1 BITMAP "res\\ch_set1.bmp" -IDB_BITMAP_SET2 BITMAP "res\\ch_set2.bmp" - -///////////////////////////////////////////////////////////////////////////// -// -// String Table -// - -STRINGTABLE -BEGIN - IDS_ABOUTBOX "&About 9222cdma..." -END - -#endif // English (U.S.) resources -///////////////////////////////////////////////////////////////////////////// - - - -#ifndef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 3 resource. -// -#define _AFX_NO_SPLITTER_RESOURCES -#define _AFX_NO_OLE_RESOURCES -#define _AFX_NO_TRACKER_RESOURCES -#define _AFX_NO_PROPERTY_RESOURCES - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -LANGUAGE 9, 1 -#pragma code_page(1252) -#include "res\My9222cdma.rc2" // non-Microsoft Visual C++ edited resources -#include "afxres.rc" // Standard components -#endif - -///////////////////////////////////////////////////////////////////////////// -#endif // not APSTUDIO_INVOKED - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AODma_InfiniteDReTrigger/9222cdma.sln b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AODma_InfiniteDReTrigger/9222cdma.sln deleted file mode 100644 index dab32f7..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AODma_InfiniteDReTrigger/9222cdma.sln +++ /dev/null @@ -1,20 +0,0 @@ - -Microsoft Visual Studio Solution File, Format Version 10.00 -# Visual Studio 2008 -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "9222cdma", "9222cdma.vcproj", "{702163FB-B6DF-4EF5-9491-FC54D71509BC}" -EndProject -Global - GlobalSection(SolutionConfigurationPlatforms) = preSolution - Debug|x64 = Debug|x64 - Release|x64 = Release|x64 - EndGlobalSection - GlobalSection(ProjectConfigurationPlatforms) = postSolution - {702163FB-B6DF-4EF5-9491-FC54D71509BC}.Debug|x64.ActiveCfg = Debug|x64 - {702163FB-B6DF-4EF5-9491-FC54D71509BC}.Debug|x64.Build.0 = Debug|x64 - {702163FB-B6DF-4EF5-9491-FC54D71509BC}.Release|x64.ActiveCfg = Release|x64 - {702163FB-B6DF-4EF5-9491-FC54D71509BC}.Release|x64.Build.0 = Release|x64 - EndGlobalSection - GlobalSection(SolutionProperties) = preSolution - HideSolutionNode = FALSE - EndGlobalSection -EndGlobal diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AODma_InfiniteDReTrigger/9222cdma.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AODma_InfiniteDReTrigger/9222cdma.suo deleted file mode 100644 index afd3bea..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AODma_InfiniteDReTrigger/9222cdma.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AODma_InfiniteDReTrigger/9222cdma.vcproj b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AODma_InfiniteDReTrigger/9222cdma.vcproj deleted file mode 100644 index 6564bd4..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AODma_InfiniteDReTrigger/9222cdma.vcproj +++ /dev/null @@ -1,294 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AODma_InfiniteDReTrigger/9222cdmaDlg.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AODma_InfiniteDReTrigger/9222cdmaDlg.cpp deleted file mode 100644 index 831f43e..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AODma_InfiniteDReTrigger/9222cdmaDlg.cpp +++ /dev/null @@ -1,665 +0,0 @@ - -// 9222cdmaDlg.cpp : implementation file -// - -#include "stdafx.h" -#include "9222cdma.h" -#include "9222cdmaDlg.h" -#include "math.h" - -#ifdef _DEBUG -#define new DEBUG_NEW -#endif - -#ifndef M_PI -#define M_PI 3.14159265359 -#endif - -#define P922X_TIMEBASE 80000000.0 -#define AI_READ_COUNT 8000 -#define AI_SAMPLE_INTERV 10000 - -CRect plotRect; - -// CAboutDlg dialog used for App About - -class CAboutDlg : public CDialog -{ -public: - CAboutDlg(); - -// Dialog Data - enum { IDD = IDD_ABOUTBOX }; - - protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - -// Implementation -protected: - DECLARE_MESSAGE_MAP() -}; - -CAboutDlg::CAboutDlg() : CDialog(CAboutDlg::IDD) -{ -} - -void CAboutDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); -} - -BEGIN_MESSAGE_MAP(CAboutDlg, CDialog) -END_MESSAGE_MAP() - - -// C9222cdmaDlg dialog - - - - -C9222cdmaDlg::C9222cdmaDlg(I16 hCard, CWnd* pParent /*=NULL*/) - : CDialog(C9222cdmaDlg::IDD, pParent) -{ - m_hIcon = AfxGetApp()->LoadIcon(IDR_MAINFRAME); - - n_PlotWidth = n_PlotHeight = -1; - OnBrush = OffBrush = NULL; - - min_val = 0x00; - max_val = 0xFFFF; - - m_dwSampIntrv = 10000; - - m_hCard = hCard; - - m_nTimer = -1; - m_hAIMem1 = NULL; - m_hAIMem2 = NULL; - - m_hAOMem1 = NULL; - m_hAOMem2 = NULL; - - m_wRange = AD_B_10_V; - max_range = 10.0; - min_range = -10.0; - - m_dwWriteCount = 4096; - m_wPostCount = 512; - - m_dwOverrunCnt = 0; - - -} - -void C9222cdmaDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); -} - -BEGIN_MESSAGE_MAP(C9222cdmaDlg, CDialog) - ON_WM_SYSCOMMAND() - ON_WM_PAINT() - ON_WM_QUERYDRAGICON() - //}}AFX_MSG_MAP - ON_WM_DESTROY() - ON_WM_VSCROLL() - ON_BN_CLICKED(IDC_BT_START, &C9222cdmaDlg::OnStart) - ON_BN_CLICKED(IDC_BT_STOP, &C9222cdmaDlg::OnStop) - ON_WM_TIMER() -END_MESSAGE_MAP() - - -// C9222cdmaDlg message handlers - -BOOL C9222cdmaDlg::OnInitDialog() -{ - CDialog::OnInitDialog(); - - // Add "About..." menu item to system menu. - - // IDM_ABOUTBOX must be in the system command range. - ASSERT((IDM_ABOUTBOX & 0xFFF0) == IDM_ABOUTBOX); - ASSERT(IDM_ABOUTBOX < 0xF000); - - CMenu* pSysMenu = GetSystemMenu(FALSE); - if (pSysMenu != NULL) - { - BOOL bNameValid; - CString strAboutMenu; - bNameValid = strAboutMenu.LoadString(IDS_ABOUTBOX); - ASSERT(bNameValid); - if (!strAboutMenu.IsEmpty()) - { - pSysMenu->AppendMenu(MF_SEPARATOR); - pSysMenu->AppendMenu(MF_STRING, IDM_ABOUTBOX, strAboutMenu); - } - } - - // Set the icon for this dialog. The framework does this automatically - // when the application's main window is not a dialog - SetIcon(m_hIcon, TRUE); // Set big icon - SetIcon(m_hIcon, FALSE); // Set small icon - - // TODO: Add extra initialization here - x_divider = 5; y_divider = 4; - - OnBrush = CreateSolidBrush( RGB(255,0,0) ); - OffBrush = CreateSolidBrush( RGB(125,0,0) ); - - RedPen.CreatePen( PS_SOLID, 1, RGB(255,0,0)); - GreenPen.CreatePen( PS_SOLID, 1, RGB(0,255,0)); - YellowPen.CreatePen( PS_SOLID, 1, RGB(255,255,0)); - BluePen.CreatePen( PS_SOLID, 1, RGB(0,0,255)); - LTBluePen.CreatePen( PS_SOLID, 1, RGB(0,128,255)); - LTRedPen.CreatePen( PS_SOLID, 1, RGB(255,128,0)); - LTGreenPen.CreatePen( PS_SOLID, 1, RGB(0,128,0)); - WhitePen.CreatePen( PS_SOLID, 1, RGB(255,255,255)); - - - if( n_PlotWidth == -1 && n_PlotHeight == -1 ) - { - ((CWnd*)GetDlgItem(IDC_STATIC_DRAW))->GetWindowRect(&plotRect); - ScreenToClient(&plotRect); - - n_PlotWidth = min( plotRect.Width(), 512); - n_PlotHeight = plotRect.Height() - 10; - } - - // set the default SampleRate - - SetDlgItemInt( IDC_EDIT_BUF_SIZE, (UINT)(m_dwWriteCount) ); - SetDlgItemInt( IDC_EDIT_SCAN_ITERVAL, (UINT)(m_dwSampIntrv) ); - - return TRUE; // return TRUE unless you set the focus to a control -} - -void C9222cdmaDlg::OnSysCommand(UINT nID, LPARAM lParam) -{ - if ((nID & 0xFFF0) == IDM_ABOUTBOX) - { - CAboutDlg dlgAbout; - dlgAbout.DoModal(); - } - else - { - CDialog::OnSysCommand(nID, lParam); - } -} - -// If you add a minimize button to your dialog, you will need the code below -// to draw the icon. For MFC applications using the document/view model, -// this is automatically done for you by the framework. - -void C9222cdmaDlg::OnPaint() -{ - if (IsIconic()) - { - CPaintDC dc(this); // device context for painting - - SendMessage(WM_ICONERASEBKGND, reinterpret_cast(dc.GetSafeHdc()), 0); - - // Center icon in client rectangle - int cxIcon = GetSystemMetrics(SM_CXICON); - int cyIcon = GetSystemMetrics(SM_CYICON); - CRect rect; - GetClientRect(&rect); - int x = (rect.Width() - cxIcon + 1) / 2; - int y = (rect.Height() - cyIcon + 1) / 2; - - // Draw the icon - dc.DrawIcon(x, y, m_hIcon); - } - else - { - redraw_display_area(); - CDialog::OnPaint(); - } -} - -// The system calls this function to obtain the cursor to display while the user drags -// the minimized window. -HCURSOR C9222cdmaDlg::OnQueryDragIcon() -{ - return static_cast(m_hIcon); -} - - -void C9222cdmaDlg::redraw_display_area(void) -{ - CPen *oldPen; - - int oldMode; - COLORREF oldColor; - - CString y_lable; - - CPen minor_tick( PS_SOLID,1,RGB(132,130,132) ); -// CPen y_grid( PS_SOLID,1,RGB(206,203,132) ); - - int i, x_intv, y_intv; -// long total_sec; - - CClientDC dc_plot(this); - - // draw the base-line for x-y axises - oldPen = (CPen *)dc_plot.SelectStockObject(BLACK_PEN); - - // redraw the background - dc_plot.FillSolidRect( plotRect, RGB(0,0,0) ); - - // Re-Draw the AREA for Y-Lable - { - CBrush DIALOG_BRUSH; - CRect redraw_area, full_client; - - GetClientRect(&full_client); - ScreenToClient(&full_client); - - redraw_area.left = full_client.left; - redraw_area.top = plotRect.top - 5; - redraw_area.right = plotRect.left - 3; - redraw_area.bottom = plotRect.bottom + 10; - - DIALOG_BRUSH.CreateSysColorBrush( COLOR_3DFACE ); - - dc_plot.FillRect( redraw_area, &DIALOG_BRUSH ); - - DIALOG_BRUSH.DeleteObject(); - } - - dc_plot.MoveTo( plotRect.left - 3, plotRect.top ); - dc_plot.LineTo( plotRect.left - 3, plotRect.bottom ); - - // calculate the interval for tick/grid - y_intv = (plotRect.Height() - 10) /y_divider; - x_intv = plotRect.Width()/x_divider; - - - // set the color for tick - oldColor = dc_plot.SetTextColor( RGB(0,0,0) ); - oldMode = dc_plot.SetBkMode( TRANSPARENT ); - - for( i=0; i<= y_divider; i++ ) - { - CString tick_str; - CRect tmp_rect, tick_rect; - - // draw the tick for y-axis - dc_plot.MoveTo( plotRect.left -12, plotRect.bottom -5 - (i*y_intv) ); - dc_plot.LineTo( plotRect.left -3, plotRect.bottom -5 - (i*y_intv) ); - - tick_str.Format( _T("%.1f"), ( ((max_range-min_range)/y_divider) * i)+min_range ); - - // calculate the rectangle for text - dc_plot.DrawText( tick_str, &tmp_rect, DT_CALCRECT|DT_SINGLELINE ); - tick_rect.right = plotRect.left -14; - tick_rect.left = tick_rect.right - tmp_rect.Width(); - tick_rect.top = plotRect.bottom -5 - (i*y_intv) - tmp_rect.Height()/2; - tick_rect.bottom = tick_rect.top + tmp_rect.Height(); - - // draw the text - dc_plot.DrawText( tick_str, &tick_rect, DT_SINGLELINE|DT_RIGHT ); - - } - - // draw the minor_tick for Y axises - dc_plot.SelectObject(&minor_tick); - for( i=0; i< y_divider; i++ ) - { - dc_plot.MoveTo( plotRect.left -9, plotRect.bottom -5 - (i*y_intv) - y_intv/2 ); - dc_plot.LineTo( plotRect.left -4, plotRect.bottom -5 - (i*y_intv) - y_intv/2 ); - } - - dc_plot.SetTextColor( oldColor ); - dc_plot.SetBkMode( oldMode ); - dc_plot.SelectObject( oldPen ); -} - -void C9222cdmaDlg::OnDestroy() -{ - CDialog::OnDestroy(); - - // TODO: Add your message handler code here - if( m_nTimer != -1 ) - { - KillTimer( m_nTimer ); - m_nTimer = -1; - } - - // AI buffer - if (m_hAIMem1 != NULL) - { - GlobalUnfix(m_hAIMem1); - GlobalUnlock(m_hAIMem1); - GlobalFree(m_hAIMem1); - - m_hAIMem1 = NULL; - } - - if (m_hAIMem2 != NULL) - { - GlobalUnfix(m_hAIMem2); - GlobalUnlock(m_hAIMem2); - GlobalFree(m_hAIMem2); - - m_hAIMem2 = NULL; - } - - - if( OnBrush != NULL ) - ::DeleteObject( OnBrush ); - - if( OffBrush != NULL ) - ::DeleteObject( OffBrush ); - - RedPen.DeleteObject(); - GreenPen.DeleteObject(); - YellowPen.DeleteObject(); - BluePen.DeleteObject(); - LTBluePen.DeleteObject(); - LTRedPen.DeleteObject(); - LTGreenPen.DeleteObject(); - WhitePen.DeleteObject(); - -} - -void C9222cdmaDlg::OnVScroll(UINT nSBCode, UINT nPos, CScrollBar* pScrollBar) -{ - // TODO: Add your message handler code here and/or call default - switch ( nSBCode ) - { - case SB_LINEUP : - m_dwSampIntrv += 160; - if (m_dwSampIntrv > 40000 ) m_dwSampIntrv = 40000; - break; - case SB_LINEDOWN: - m_dwSampIntrv -= 160; - if (m_dwSampIntrv < 80 ) m_dwSampIntrv = 80; - break; - } - - SetDlgItemInt( IDC_EDIT_SCAN_ITERVAL, (UINT)(m_dwSampIntrv) ); - - CDialog::OnVScroll(nSBCode, nPos, pScrollBar); -} - - -void C9222cdmaDlg::OnStop() -{ - // TODO: Add your control notification handler code here - U32 count; - - if( m_nTimer != -1 ) - { - KillTimer( m_nTimer ); - m_nTimer = -1; - } - - AI_AsyncClear(m_hCard, &count); - AO_AsyncClear(m_hCard, &count, 0); - - GetDlgItem( IDC_BT_START )->EnableWindow(TRUE); -} - -void C9222cdmaDlg::OnStart() -{ - // TODO: Add your control notification handler code here - DWORD mem_size; - CString strTemp; - I16 err; - U32 vi; - double fTmp; - - GetDlgItem( IDC_BT_START )->EnableWindow(FALSE); - - /***************** begin of AI buffer setup *****************/ - if (m_hAIMem1 != NULL) - { - GlobalUnfix(m_hAIMem1); - GlobalUnlock(m_hAIMem1); - GlobalFree(m_hAIMem1); - - m_hAIMem1 = NULL; - } - - if (m_hAIMem2 != NULL) - { - GlobalUnfix(m_hAIMem2); - GlobalUnlock(m_hAIMem2); - GlobalFree(m_hAIMem2); - - m_hAIMem2 = NULL; - } - - // allocate a memory for user DMA buffer - mem_size = AI_READ_COUNT * sizeof(I16); - - m_hAIMem1 = GlobalAlloc(GMEM_FIXED | GMEM_ZEROINIT, mem_size); - m_pAIBuf1 = (U16*) GlobalLock(m_hAIMem1); - if (m_pAIBuf1 == NULL ) - { - AfxMessageBox( TEXT("AI Memory allocation failed"), MB_OK); - return; - } - GlobalFix(m_hAIMem1); - - m_hAIMem2 = GlobalAlloc(GMEM_FIXED | GMEM_ZEROINIT, mem_size); - m_pAIBuf2 = (U16*) GlobalLock(m_hAIMem2); - if (m_pAIBuf2 == NULL ) - { - AfxMessageBox( TEXT("AI Memory allocation failed"), MB_OK); - return; - } - GlobalFix(m_hAIMem2); - - /***************** end of AI buffer setup *****************/ - - /***************** begin of AO buffer setup *****************/ - m_dwWriteCount = GetDlgItemInt(IDC_EDIT_BUF_SIZE); - - if (m_hAOMem1 != NULL) - { - GlobalUnfix(m_hAOMem1); - GlobalUnlock(m_hAOMem1); - GlobalFree(m_hAOMem1); - - m_hAOMem1 = NULL; - } - - if (m_hAOMem2 != NULL) - { - GlobalUnfix(m_hAOMem2); - GlobalUnlock(m_hAOMem2); - GlobalFree(m_hAOMem2); - - m_hAOMem2 = NULL; - } - - // allocate a memory for user DMA buffer - mem_size = m_dwWriteCount * sizeof(U32); - - m_hAOMem1 = GlobalAlloc(GMEM_FIXED | GMEM_ZEROINIT, mem_size); - m_pAOBuf1 = (U32*) GlobalLock(m_hAOMem1); - if (m_pAOBuf1 == NULL ) - { - AfxMessageBox( TEXT("AO Memory allocation failed"), MB_OK); - return; - } - GlobalFix(m_hAOMem1); - - for(vi=0; vi> 16) ); // ( n_PlotHeight * ai_data / 65536) ); // ( (n_PlotHeight/2) * ai_data/32768 ) ); - newX = (int)( index*n_PlotWidth/dwDataSize + plotRect.left ); - - if ( index == 0 ) - { - dc_plot.MoveTo( newX, newY ); - } - else - { - dc_plot.MoveTo( m_oldX[cur_channel], m_oldY[cur_channel] ); - dc_plot.LineTo( newX, newY ); - } - - m_oldX[cur_channel] = newX; - m_oldY[cur_channel] = newY; - } - - return 0; -} - -void C9222cdmaDlg::OnTimer(UINT_PTR nIDEvent) -{ - // TODO: Add your message handler code here and/or call default - BOOLEAN HalfReady; - BOOLEAN fstop; - U16 OverrunFlag; - - AI_AsyncDblBufferHalfReady(m_hCard, &HalfReady, &fstop); - - if( HalfReady ) // half-buffer ready - { - if(m_bView == 0) - { - display_buffer_data( m_pAIBuf1 ); - m_bView = 1; - } - else - { - display_buffer_data( m_pAIBuf2 ); - m_bView= 0; - } - - AI_AsyncDblBufferHandled( m_hCard ); - AI_AsyncDblBufferOverrun( m_hCard, 0, &OverrunFlag); - - if(OverrunFlag) - { - m_dwOverrunCnt++; - AI_AsyncDblBufferOverrun( m_hCard, 1, NULL ); - } - - - } - - CDialog::OnTimer(nIDEvent); -} - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AODma_InfiniteDReTrigger/9222cdmaDlg.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AODma_InfiniteDReTrigger/9222cdmaDlg.h deleted file mode 100644 index 2d7b972..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AODma_InfiniteDReTrigger/9222cdmaDlg.h +++ /dev/null @@ -1,83 +0,0 @@ - -// 9222cdmaDlg.h : header file -#pragma once -#include "afxcmn.h" -#include "afxwin.h" - -#include "Dask64.h" - -// C9222cdmaDlg dialog -class C9222cdmaDlg : public CDialog -{ -// Construction -public: - C9222cdmaDlg(I16 hCard, CWnd* pParent = NULL); // standard constructor - -// Dialog Data - enum { IDD = IDD_9222DMA_DIALOG }; - - protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - - -// Implementation -protected: - HICON m_hIcon; - UINT_PTR m_nTimer; - I16 m_hCard; - U32 m_dwSampIntrv; - HANDLE m_hAIMem1; - HANDLE m_hAIMem2; - U16 *m_pAIBuf1; - U16 *m_pAIBuf2; - U16 m_wAIBufID1; - U16 m_wAIBufID2; - HANDLE m_hAOMem1; - HANDLE m_hAOMem2; - U32 *m_pAOBuf1; - U32 *m_pAOBuf2; - U16 m_wAOBufID1; - U16 m_wAOBufID2; - U16 m_wRange; - int m_oldY[8]; - int m_oldX[8]; - U32 m_dwWriteCount; - U16 m_wPostCount; - U8 m_bView; - U32 m_dwOverrunCnt; - - // Generated message map functions - virtual BOOL OnInitDialog(); - afx_msg void OnSysCommand(UINT nID, LPARAM lParam); - afx_msg void OnPaint(); - afx_msg HCURSOR OnQueryDragIcon(); - DECLARE_MESSAGE_MAP() - -public: - WORD max_val; - WORD min_val; - double max_range; - double min_range; - int n_PlotWidth; - int n_PlotHeight; - int y_divider; - int x_divider; - int m_DisplayScale; - HBRUSH OnBrush; - HBRUSH OffBrush; - CPen RedPen; - CPen GreenPen; - CPen YellowPen; - CPen BluePen; - CPen LTBluePen; - CPen LTRedPen; - CPen LTGreenPen; - CPen WhitePen; - void redraw_display_area(void); - afx_msg void OnDestroy(); - afx_msg void OnVScroll(UINT nSBCode, UINT nPos, CScrollBar* pScrollBar); - afx_msg void OnStart(); - int display_buffer_data(U16* pBuf); - afx_msg void OnTimer(UINT_PTR nIDEvent); - afx_msg void OnStop(); -}; diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AODma_InfiniteDReTrigger/CardIDDlg.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AODma_InfiniteDReTrigger/CardIDDlg.cpp deleted file mode 100644 index 55c0363..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AODma_InfiniteDReTrigger/CardIDDlg.cpp +++ /dev/null @@ -1,64 +0,0 @@ -// CardIDDlg.cpp : implementation file -// -#include "stdafx.h" -#include "9222cdma.h" -#include "9222cdmaDlg.h" -#include "CardIDDlg.h" - -// CCardIDDlg dialog - -IMPLEMENT_DYNAMIC(CCardIDDlg, CDialog) - -CCardIDDlg::CCardIDDlg(int nCardIdx, CWnd* pParent /*=NULL*/) - : CDialog(CCardIDDlg::IDD, pParent) -{ - m_nCardIdx = nCardIdx; -} - -CCardIDDlg::~CCardIDDlg() -{ -} - -void CCardIDDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); - DDX_Control(pDX, IDC_COMBO_CARDID, m_cbCardID); -} - - -BEGIN_MESSAGE_MAP(CCardIDDlg, CDialog) -// ON_CBN_SELCHANGE(IDC_COMBO_CARDID, &CCardIDDlg::OnCbnSelchangeComboCardid) -ON_BN_CLICKED(IDOK, &CCardIDDlg::OnBnClickedOk) -//ON_WM_CTLCOLOR() -END_MESSAGE_MAP() - - -// CCardIDDlg message handlers - - -void CCardIDDlg::OnBnClickedOk() -{ - // TODO: Add your control notification handler code here - -// UpdateData(TRUE); - m_nCardIdx = m_cbCardID.GetCurSel(); - - OnOK(); -} - -BOOL CCardIDDlg::OnInitDialog() -{ - CDialog::OnInitDialog(); - - // TODO: Add extra initialization here - m_cbCardID.SetCurSel( m_nCardIdx ); - - return TRUE; // return TRUE unless you set the focus to a control - // EXCEPTION: OCX Property Pages should return FALSE -} - -// the function to get the selected CardID -int CCardIDDlg::GetCardID(void) -{ - return m_nCardIdx; -} diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AODma_InfiniteDReTrigger/CardIDDlg.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AODma_InfiniteDReTrigger/CardIDDlg.h deleted file mode 100644 index 9c02c58..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AODma_InfiniteDReTrigger/CardIDDlg.h +++ /dev/null @@ -1,32 +0,0 @@ -#pragma once -#include "afxwin.h" - -#include "Dask64.h" - -// CCardIDDlg dialog - -class CCardIDDlg : public CDialog -{ - DECLARE_DYNAMIC(CCardIDDlg) - -public: - CCardIDDlg(int nCardIdx, CWnd* pParent = NULL); // standard constructor - virtual ~CCardIDDlg(); - -// Dialog Data - enum { IDD = IDD_CARDID_DIALOG }; - -protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - - DECLARE_MESSAGE_MAP() -public: - virtual BOOL OnInitDialog(); - afx_msg void OnBnClickedOk(); - // the setting of CardID ComboBox - int m_nCardIdx; - // the control of CardID ComboBox - CComboBox m_cbCardID; - // the function to get the selected CardID - int GetCardID(void); -}; diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AODma_InfiniteDReTrigger/ReadMe.txt b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AODma_InfiniteDReTrigger/ReadMe.txt deleted file mode 100644 index 6e83f34..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AODma_InfiniteDReTrigger/ReadMe.txt +++ /dev/null @@ -1,93 +0,0 @@ -================================================================================ - MICROSOFT FOUNDATION CLASS LIBRARY : 9222cdma Project Overview -=============================================================================== - -The application wizard has created this 9222cdma application for -you. This application not only demonstrates the basics of using the Microsoft -Foundation Classes but is also a starting point for writing your application. - -This file contains a summary of what you will find in each of the files that -make up your 9222cdma application. - -9222cdma.vcproj - This is the main project file for VC++ projects generated using an application wizard. - It contains information about the version of Visual C++ that generated the file, and - information about the platforms, configurations, and project features selected with the - application wizard. - -9222cdma.h - This is the main header file for the application. It includes other - project specific headers (including Resource.h) and declares the - C9222cdmaApp application class. - -9222cdma.cpp - This is the main application source file that contains the application - class C9222cdmaApp. - -9222cdma.rc - This is a listing of all of the Microsoft Windows resources that the - program uses. It includes the icons, bitmaps, and cursors that are stored - in the RES subdirectory. This file can be directly edited in Microsoft - Visual C++. Your project resources are in 1033. - -res\9222cdma.ico - This is an icon file, which is used as the application's icon. This - icon is included by the main resource file 9222cdma.rc. - -res\My9222cdma.rc2 - This file contains resources that are not edited by Microsoft - Visual C++. You should place all resources not editable by - the resource editor in this file. - - -///////////////////////////////////////////////////////////////////////////// - -The application wizard creates one dialog class: - -9222cdmaDlg.h, 9222cdmaDlg.cpp - the dialog - These files contain your C9222cdmaDlg class. This class defines - the behavior of your application's main dialog. The dialog's template is - in 9222cdma.rc, which can be edited in Microsoft Visual C++. - - -///////////////////////////////////////////////////////////////////////////// - -Other Features: - -ActiveX Controls - The application includes support to use ActiveX controls. - -///////////////////////////////////////////////////////////////////////////// - -Other standard files: - -StdAfx.h, StdAfx.cpp - These files are used to build a precompiled header (PCH) file - named 9222cdma.pch and a precompiled types file named StdAfx.obj. - -Resource.h - This is the standard header file, which defines new resource IDs. - Microsoft Visual C++ reads and updates this file. - -9222cdma.manifest - Application manifest files are used by Windows XP to describe an applications - dependency on specific versions of Side-by-Side assemblies. The loader uses this - information to load the appropriate assembly from the assembly cache or private - from the application. The Application manifest maybe included for redistribution - as an external .manifest file that is installed in the same folder as the application - executable or it may be included in the executable in the form of a resource. -///////////////////////////////////////////////////////////////////////////// - -Other notes: - -The application wizard uses "TODO:" to indicate parts of the source code you -should add to or customize. - -If your application uses MFC in a shared DLL, you will need -to redistribute the MFC DLLs. If your application is in a language -other than the operating system's locale, you will also have to -redistribute the corresponding localized resources MFC90XXX.DLL. -For more information on both of these topics, please see the section on -redistributing Visual C++ applications in MSDN documentation. - -///////////////////////////////////////////////////////////////////////////// diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AODma_InfiniteDReTrigger/res/9222cdma.ico b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AODma_InfiniteDReTrigger/res/9222cdma.ico deleted file mode 100644 index d56fbcd..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AODma_InfiniteDReTrigger/res/9222cdma.ico and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AODma_InfiniteDReTrigger/res/My9222cdma.rc2 b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AODma_InfiniteDReTrigger/res/My9222cdma.rc2 deleted file mode 100644 index 383cde2..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AODma_InfiniteDReTrigger/res/My9222cdma.rc2 +++ /dev/null @@ -1,13 +0,0 @@ -// -// My9111int.RC2 - resources Microsoft Visual C++ does not edit directly -// - -#ifdef APSTUDIO_INVOKED -#error this file is not editable by Microsoft Visual C++ -#endif //APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// Add manually edited resources here... - -///////////////////////////////////////////////////////////////////////////// diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AODma_InfiniteDReTrigger/res/ch_set1.bmp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AODma_InfiniteDReTrigger/res/ch_set1.bmp deleted file mode 100644 index f2374ed..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AODma_InfiniteDReTrigger/res/ch_set1.bmp and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AODma_InfiniteDReTrigger/res/ch_set2.bmp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AODma_InfiniteDReTrigger/res/ch_set2.bmp deleted file mode 100644 index 32d0915..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AODma_InfiniteDReTrigger/res/ch_set2.bmp and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AODma_InfiniteDReTrigger/resource.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AODma_InfiniteDReTrigger/resource.h deleted file mode 100644 index 3b3de56..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AODma_InfiniteDReTrigger/resource.h +++ /dev/null @@ -1,35 +0,0 @@ -//{{NO_DEPENDENCIES}} -// Microsoft Visual C++ generated include file. -// Used by 9222cdma.rc -// -#define IDM_ABOUTBOX 0x0010 -#define IDD_ABOUTBOX 100 -#define IDS_ABOUTBOX 101 -#define IDD_9222DMA_DIALOG 102 -#define IDR_MAINFRAME 128 -#define IDD_CARDID_DIALOG 129 -#define IDB_BITMAP_SET1 131 -#define IDB_BITMAP_SET2 132 -#define IDC_STATIC_DRAW 1000 -#define IDC_COMBO_CARDID 1001 -#define IDC_BT_STOP 1002 -#define IDC_COMBO_CARDTYPE 1003 -#define IDC_BT_START 1004 -#define IDC_EDIT_SCAN_ITERVAL 1005 -#define IDC_SCROLLBAR_RATE 1006 -#define IDC_STATIC_01 1007 -#define IDC_EDIT_BUF_SIZE 1008 -#define IDC_STATIC_2 1009 -#define IDC_EDIT1 1010 -#define IDC_EDIT_OVERRUN 1011 - -// Next default values for new objects -// -#ifdef APSTUDIO_INVOKED -#ifndef APSTUDIO_READONLY_SYMBOLS -#define _APS_NEXT_RESOURCE_VALUE 134 -#define _APS_NEXT_COMMAND_VALUE 32771 -#define _APS_NEXT_CONTROL_VALUE 1012 -#define _APS_NEXT_SYMED_VALUE 101 -#endif -#endif diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AODma_InfiniteDReTrigger/stdafx.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AODma_InfiniteDReTrigger/stdafx.cpp deleted file mode 100644 index ef80626..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AODma_InfiniteDReTrigger/stdafx.cpp +++ /dev/null @@ -1,8 +0,0 @@ - -// stdafx.cpp : source file that includes just the standard includes -// 9111int.pch will be the pre-compiled header -// stdafx.obj will contain the pre-compiled type information - -#include "stdafx.h" - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AODma_InfiniteDReTrigger/stdafx.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AODma_InfiniteDReTrigger/stdafx.h deleted file mode 100644 index 12123e2..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AODma_InfiniteDReTrigger/stdafx.h +++ /dev/null @@ -1,60 +0,0 @@ - -// stdafx.h : include file for standard system include files, -// or project specific include files that are used frequently, -// but are changed infrequently - -#pragma once - -#ifndef _SECURE_ATL -#define _SECURE_ATL 1 -#endif - -#ifndef VC_EXTRALEAN -#define VC_EXTRALEAN // Exclude rarely-used stuff from Windows headers -#endif - -#include "targetver.h" - -#define _ATL_CSTRING_EXPLICIT_CONSTRUCTORS // some CString constructors will be explicit - -// turns off MFC's hiding of some common and often safely ignored warning messages -#define _AFX_ALL_WARNINGS - -#include // MFC core and standard components -#include // MFC extensions - - -#include // MFC Automation classes - - - -#ifndef _AFX_NO_OLE_SUPPORT -#include // MFC support for Internet Explorer 4 Common Controls -#endif -#ifndef _AFX_NO_AFXCMN_SUPPORT -#include // MFC support for Windows Common Controls -#endif // _AFX_NO_AFXCMN_SUPPORT - -#include // MFC support for ribbons and control bars - - - - - - - - - -#ifdef _UNICODE -#if defined _M_IX86 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='x86' publicKeyToken='6595b64144ccf1df' language='*'\"") -#elif defined _M_IA64 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='ia64' publicKeyToken='6595b64144ccf1df' language='*'\"") -#elif defined _M_X64 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='amd64' publicKeyToken='6595b64144ccf1df' language='*'\"") -#else -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='*' publicKeyToken='6595b64144ccf1df' language='*'\"") -#endif -#endif - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AODma_InfiniteDReTrigger/targetver.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AODma_InfiniteDReTrigger/targetver.h deleted file mode 100644 index 11730d5..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AODma_InfiniteDReTrigger/targetver.h +++ /dev/null @@ -1,26 +0,0 @@ - -#pragma once - -// The following macros define the minimum required platform. The minimum required platform -// is the earliest version of Windows, Internet Explorer etc. that has the necessary features to run -// your application. The macros work by enabling all features available on platform versions up to and -// including the version specified. - -// Modify the following defines if you have to target a platform prior to the ones specified below. -// Refer to MSDN for the latest info on corresponding values for different platforms. -#ifndef WINVER // Specifies that the minimum required platform is Windows Vista. -#define WINVER 0x0600 // Change this to the appropriate value to target other versions of Windows. -#endif - -#ifndef _WIN32_WINNT // Specifies that the minimum required platform is Windows Vista. -#define _WIN32_WINNT 0x0600 // Change this to the appropriate value to target other versions of Windows. -#endif - -#ifndef _WIN32_WINDOWS // Specifies that the minimum required platform is Windows 98. -#define _WIN32_WINDOWS 0x0410 // Change this to the appropriate value to target Windows Me or later. -#endif - -#ifndef _WIN32_IE // Specifies that the minimum required platform is Internet Explorer 7.0. -#define _WIN32_IE 0x0700 // Change this to the appropriate value to target other versions of IE. -#endif - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AODma_ReTrigger/9111DbInt.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AODma_ReTrigger/9111DbInt.suo deleted file mode 100644 index 3fde864..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AODma_ReTrigger/9111DbInt.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AODma_ReTrigger/9111PostTg.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AODma_ReTrigger/9111PostTg.suo deleted file mode 100644 index c59a833..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AODma_ReTrigger/9111PostTg.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AODma_ReTrigger/9111int.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AODma_ReTrigger/9111int.suo deleted file mode 100644 index aaca7d8..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AODma_ReTrigger/9111int.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AODma_ReTrigger/9116cdma.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AODma_ReTrigger/9116cdma.suo deleted file mode 100644 index df9f193..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AODma_ReTrigger/9116cdma.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AODma_ReTrigger/9118cdma.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AODma_ReTrigger/9118cdma.suo deleted file mode 100644 index 9318437..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AODma_ReTrigger/9118cdma.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AODma_ReTrigger/9221cdma.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AODma_ReTrigger/9221cdma.suo deleted file mode 100644 index 9cb61ca..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AODma_ReTrigger/9221cdma.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AODma_ReTrigger/9222cdma.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AODma_ReTrigger/9222cdma.cpp deleted file mode 100644 index 7ddb019..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AODma_ReTrigger/9222cdma.cpp +++ /dev/null @@ -1,109 +0,0 @@ - -// 9222cdma.cpp : Defines the class behaviors for the application. -// - -#include "stdafx.h" -#include "9222cdma.h" -#include "9222cdmaDlg.h" -#include "CardIDDlg.h" - -#ifdef _DEBUG -#define new DEBUG_NEW -#endif - - -// C9222cdmaApp - -BEGIN_MESSAGE_MAP(C9222cdmaApp, CWinAppEx) - ON_COMMAND(ID_HELP, &CWinApp::OnHelp) -END_MESSAGE_MAP() - - -// C9222cdmaApp construction - -C9222cdmaApp::C9222cdmaApp() -{ - // TODO: add construction code here, - // Place all significant initialization in InitInstance -} - - -// The one and only C9222cdmaApp object - -C9222cdmaApp theApp; - - -// C9222cdmaApp initialization - -BOOL C9222cdmaApp::InitInstance() -{ - int nCardID = 0; - I16 hCard; - CString strTemp; - INT_PTR nResponse; - - // InitCommonControlsEx() is required on Windows XP if an application - // manifest specifies use of ComCtl32.dll version 6 or later to enable - // visual styles. Otherwise, any window creation will fail. - INITCOMMONCONTROLSEX InitCtrls; - InitCtrls.dwSize = sizeof(InitCtrls); - // Set this to include all the common control classes you want to use - // in your application. - InitCtrls.dwICC = ICC_WIN95_CLASSES; - InitCommonControlsEx(&InitCtrls); - - CWinAppEx::InitInstance(); - - AfxEnableControlContainer(); - - // Standard initialization - // If you are not using these features and wish to reduce the size - // of your final executable, you should remove from the following - // the specific initialization routines you do not need - // Change the registry key under which our settings are stored - // TODO: You should modify this string to be something appropriate - // such as the name of your company or organization - SetRegistryKey(_T("Local AppWizard-Generated Applications")); - - CCardIDDlg CardDlg( nCardID ); - - nResponse = CardDlg.DoModal(); - if (nResponse == IDOK) - { - nCardID = CardDlg.GetCardID(); - - if ((hCard=Register_Card(PCI_9222, nCardID)) < 0) - { - strTemp.Format( TEXT("Register_Card Error = %d"), hCard); - AfxMessageBox( strTemp ); - } - else - { - C9222cdmaDlg dlg(hCard); - m_pMainWnd = &dlg; - nResponse = dlg.DoModal(); - if (nResponse == IDOK) - { - // TODO: Place code here to handle when the dialog is - // dismissed with OK - } - else if (nResponse == IDCANCEL) - { - // TODO: Place code here to handle when the dialog is - // dismissed with Cancel - } - - if (hCard >= 0) Release_Card(hCard); - } - - } - else if (nResponse == IDCANCEL) - { - // TODO: Place code here to handle when the dialog is - // dismissed with Cancel - } - - // Since the dialog has been closed, return FALSE so that we exit the - // application, rather than start the application's message pump. - return FALSE; -} diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AODma_ReTrigger/9222cdma.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AODma_ReTrigger/9222cdma.h deleted file mode 100644 index 16a6900..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AODma_ReTrigger/9222cdma.h +++ /dev/null @@ -1,34 +0,0 @@ - -// 9222cdma.h : main header file for the PROJECT_NAME application -// - -#pragma once - -#ifndef __AFXWIN_H__ - #error "include 'stdafx.h' before including this file for PCH" -#endif - -#include "resource.h" // main symbols - -#define AI_MODE_DMA 0 -#define AI_MODE_INT 1 - -// C9222cdmaApp: -// See 9222cdma.cpp for the implementation of this class -// - -class C9222cdmaApp : public CWinAppEx -{ -public: - C9222cdmaApp(); - -// Overrides - public: - virtual BOOL InitInstance(); - -// Implementation - - DECLARE_MESSAGE_MAP() -}; - -extern C9222cdmaApp theApp; \ No newline at end of file diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AODma_ReTrigger/9222cdma.rc b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AODma_ReTrigger/9222cdma.rc deleted file mode 100644 index 4fb9918..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AODma_ReTrigger/9222cdma.rc +++ /dev/null @@ -1,285 +0,0 @@ -// Microsoft Visual C++ generated resource script. -// -#include "resource.h" - -#define APSTUDIO_READONLY_SYMBOLS -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 2 resource. -// -#ifndef APSTUDIO_INVOKED -#include "targetver.h" -#endif -#include "afxres.h" - -///////////////////////////////////////////////////////////////////////////// -#undef APSTUDIO_READONLY_SYMBOLS - -///////////////////////////////////////////////////////////////////////////// -// Chinese (Taiwan) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_CHT) -#ifdef _WIN32 -LANGUAGE LANG_CHINESE, SUBLANG_CHINESE_TRADITIONAL -#pragma code_page(950) -#endif //_WIN32 - -#ifdef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// TEXTINCLUDE -// - -1 TEXTINCLUDE -BEGIN - "resource.h\0" -END - -2 TEXTINCLUDE -BEGIN - "#ifndef APSTUDIO_INVOKED\r\n" - "#include ""targetver.h""\r\n" - "#endif\r\n" - "#include ""afxres.h""\r\n" - "\0" -END - -3 TEXTINCLUDE -BEGIN - "#define _AFX_NO_SPLITTER_RESOURCES\r\n" - "#define _AFX_NO_OLE_RESOURCES\r\n" - "#define _AFX_NO_TRACKER_RESOURCES\r\n" - "#define _AFX_NO_PROPERTY_RESOURCES\r\n" - "\r\n" - "#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)\r\n" - "LANGUAGE 9, 1\r\n" - "#pragma code_page(1252)\r\n" - "#include ""res\\My9222cdma.rc2"" // non-Microsoft Visual C++ edited resources\r\n" - "#include ""afxres.rc"" // Standard components\r\n" - "#endif\r\n" - "\0" -END - -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// Icon -// - -// Icon with lowest ID value placed first to ensure application icon -// remains consistent on all systems. -IDR_MAINFRAME ICON "res\\9222cdma.ico" -#endif // Chinese (Taiwan) resources -///////////////////////////////////////////////////////////////////////////// - - -///////////////////////////////////////////////////////////////////////////// -// English (U.S.) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -#ifdef _WIN32 -LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US -#pragma code_page(1252) -#endif //_WIN32 - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog -// - -IDD_ABOUTBOX DIALOGEX 0, 0, 170, 62 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "About 9222cdma" -FONT 8, "MS Shell Dlg", 0, 0, 0x1 -BEGIN - ICON IDR_MAINFRAME,IDC_STATIC,14,14,21,20 - LTEXT "9222cdma, Version 1.0",IDC_STATIC,42,14,114,8,SS_NOPREFIX - LTEXT "Copyright (C) 2010",IDC_STATIC,42,26,114,8 - DEFPUSHBUTTON "OK",IDOK,113,41,50,14,WS_GROUP -END - -IDD_9222DMA_DIALOG DIALOGEX 0, 0, 353, 239 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU -EXSTYLE WS_EX_APPWINDOW -CAPTION "PCI-9222 AO ReTrigger (total 4 pattern output)" -FONT 8, "MS Shell Dlg", 0, 0, 0x1 -BEGIN - GROUPBOX "",IDC_STATIC_DRAW,46,71,299,161,NOT WS_VISIBLE - LTEXT "Range : +/- 10V",IDC_STATIC,294,62,52,11 - LTEXT "Write Count :",IDC_STATIC,149,31,44,9 - EDITTEXT IDC_EDIT_SCAN_ITERVAL,63,44,49,14,ES_AUTOHSCROLL | ES_READONLY - LTEXT "Update Interval :",IDC_STATIC,65,31,57,9 - SCROLLBAR IDC_SCROLLBAR_RATE,113,44,9,11,SBS_VERT - PUSHBUTTON "Start",IDC_BT_START,227,36,55,22 - EDITTEXT IDC_EDIT_BUF_SIZE,143,44,51,14,ES_AUTOHSCROLL - PUSHBUTTON "Stop",IDC_BT_STOP,289,36,55,22 - LTEXT "Please check the AO0 (pin-16) to AI0 (pin-34) , and the analog output will be loggeg in following panel.",IDC_STATIC,16,7,328,15 - LTEXT "The extrenal digital trigger : GPI0 ",IDC_STATIC,15,18,328,15 -END - -IDD_CARDID_DIALOG DIALOGEX 0, 0, 174, 96 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "Card ID" -FONT 8, "MS Shell Dlg", 400, 0, 0x1 -BEGIN - COMBOBOX IDC_COMBO_CARDID,78,24,71,126,CBS_DROPDOWN | WS_VSCROLL | WS_TABSTOP - LTEXT "Card Number",IDC_STATIC_01,23,25,46,12 - PUSHBUTTON "OK",IDOK,22,59,58,19 - PUSHBUTTON "CANCEL",IDCANCEL,86,59,58,19 -END - - -///////////////////////////////////////////////////////////////////////////// -// -// Version -// - -VS_VERSION_INFO VERSIONINFO - FILEVERSION 1,0,0,1 - PRODUCTVERSION 1,0,0,1 - FILEFLAGSMASK 0x3fL -#ifdef _DEBUG - FILEFLAGS 0x1L -#else - FILEFLAGS 0x0L -#endif - FILEOS 0x4L - FILETYPE 0x1L - FILESUBTYPE 0x0L -BEGIN - BLOCK "StringFileInfo" - BEGIN - BLOCK "040904e4" - BEGIN - VALUE "CompanyName", "TODO: " - VALUE "FileDescription", "TODO: " - VALUE "FileVersion", "1.0.0.1" - VALUE "InternalName", "9222cdma.exe" - VALUE "LegalCopyright", "TODO: (c) . All rights reserved." - VALUE "OriginalFilename", "9222cdma.exe" - VALUE "ProductName", "TODO: " - VALUE "ProductVersion", "1.0.0.1" - END - END - BLOCK "VarFileInfo" - BEGIN - VALUE "Translation", 0x409, 1252 - END -END - - -///////////////////////////////////////////////////////////////////////////// -// -// DESIGNINFO -// - -#ifdef APSTUDIO_INVOKED -GUIDELINES DESIGNINFO -BEGIN - IDD_ABOUTBOX, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 163 - TOPMARGIN, 7 - BOTTOMMARGIN, 55 - END - - IDD_CARDID_DIALOG, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 167 - TOPMARGIN, 7 - BOTTOMMARGIN, 89 - END -END -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog Info -// - -IDD_CARDID_DIALOG DLGINIT -BEGIN - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0030, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0031, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0032, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0033, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0034, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0035, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0036, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0037, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0038, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0039, - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3031, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3131, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3231, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3331, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3431, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3531, "\000" - 0 -END - - -///////////////////////////////////////////////////////////////////////////// -// -// Bitmap -// - -IDB_BITMAP_SET1 BITMAP "res\\ch_set1.bmp" -IDB_BITMAP_SET2 BITMAP "res\\ch_set2.bmp" - -///////////////////////////////////////////////////////////////////////////// -// -// String Table -// - -STRINGTABLE -BEGIN - IDS_ABOUTBOX "&About 9222cdma..." -END - -#endif // English (U.S.) resources -///////////////////////////////////////////////////////////////////////////// - - - -#ifndef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 3 resource. -// -#define _AFX_NO_SPLITTER_RESOURCES -#define _AFX_NO_OLE_RESOURCES -#define _AFX_NO_TRACKER_RESOURCES -#define _AFX_NO_PROPERTY_RESOURCES - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -LANGUAGE 9, 1 -#pragma code_page(1252) -#include "res\My9222cdma.rc2" // non-Microsoft Visual C++ edited resources -#include "afxres.rc" // Standard components -#endif - -///////////////////////////////////////////////////////////////////////////// -#endif // not APSTUDIO_INVOKED - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AODma_ReTrigger/9222cdma.sln b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AODma_ReTrigger/9222cdma.sln deleted file mode 100644 index dab32f7..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AODma_ReTrigger/9222cdma.sln +++ /dev/null @@ -1,20 +0,0 @@ - -Microsoft Visual Studio Solution File, Format Version 10.00 -# Visual Studio 2008 -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "9222cdma", "9222cdma.vcproj", "{702163FB-B6DF-4EF5-9491-FC54D71509BC}" -EndProject -Global - GlobalSection(SolutionConfigurationPlatforms) = preSolution - Debug|x64 = Debug|x64 - Release|x64 = Release|x64 - EndGlobalSection - GlobalSection(ProjectConfigurationPlatforms) = postSolution - {702163FB-B6DF-4EF5-9491-FC54D71509BC}.Debug|x64.ActiveCfg = Debug|x64 - {702163FB-B6DF-4EF5-9491-FC54D71509BC}.Debug|x64.Build.0 = Debug|x64 - {702163FB-B6DF-4EF5-9491-FC54D71509BC}.Release|x64.ActiveCfg = Release|x64 - {702163FB-B6DF-4EF5-9491-FC54D71509BC}.Release|x64.Build.0 = Release|x64 - EndGlobalSection - GlobalSection(SolutionProperties) = preSolution - HideSolutionNode = FALSE - EndGlobalSection -EndGlobal diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AODma_ReTrigger/9222cdma.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AODma_ReTrigger/9222cdma.suo deleted file mode 100644 index 35fa1aa..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AODma_ReTrigger/9222cdma.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AODma_ReTrigger/9222cdma.vcproj b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AODma_ReTrigger/9222cdma.vcproj deleted file mode 100644 index 6564bd4..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AODma_ReTrigger/9222cdma.vcproj +++ /dev/null @@ -1,294 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AODma_ReTrigger/9222cdmaDlg.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AODma_ReTrigger/9222cdmaDlg.cpp deleted file mode 100644 index f1fdf15..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AODma_ReTrigger/9222cdmaDlg.cpp +++ /dev/null @@ -1,665 +0,0 @@ - -// 9222cdmaDlg.cpp : implementation file -// - -#include "stdafx.h" -#include "9222cdma.h" -#include "9222cdmaDlg.h" -#include "math.h" - -#ifdef _DEBUG -#define new DEBUG_NEW -#endif - -#ifndef M_PI -#define M_PI 3.14159265359 -#endif - -#define P922X_TIMEBASE 80000000.0 -#define AI_READ_COUNT 8000 -#define AI_SAMPLE_INTERV 10000 - -CRect plotRect; - -// CAboutDlg dialog used for App About - -class CAboutDlg : public CDialog -{ -public: - CAboutDlg(); - -// Dialog Data - enum { IDD = IDD_ABOUTBOX }; - - protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - -// Implementation -protected: - DECLARE_MESSAGE_MAP() -}; - -CAboutDlg::CAboutDlg() : CDialog(CAboutDlg::IDD) -{ -} - -void CAboutDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); -} - -BEGIN_MESSAGE_MAP(CAboutDlg, CDialog) -END_MESSAGE_MAP() - - -// C9222cdmaDlg dialog - - - - -C9222cdmaDlg::C9222cdmaDlg(I16 hCard, CWnd* pParent /*=NULL*/) - : CDialog(C9222cdmaDlg::IDD, pParent) -{ - m_hIcon = AfxGetApp()->LoadIcon(IDR_MAINFRAME); - - n_PlotWidth = n_PlotHeight = -1; - OnBrush = OffBrush = NULL; - - min_val = 0x00; - max_val = 0xFFFF; - - m_dwSampIntrv = 10000; - - m_hCard = hCard; - - m_nTimer = -1; - m_hAIMem1 = NULL; - m_hAIMem2 = NULL; - - m_hAOMem1 = NULL; - m_hAOMem2 = NULL; - - m_wRange = AD_B_10_V; - max_range = 10.0; - min_range = -10.0; - - m_dwWriteCount = 4096; - m_wPostCount = 512; - - m_dwOverrunCnt = 0; - - -} - -void C9222cdmaDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); -} - -BEGIN_MESSAGE_MAP(C9222cdmaDlg, CDialog) - ON_WM_SYSCOMMAND() - ON_WM_PAINT() - ON_WM_QUERYDRAGICON() - //}}AFX_MSG_MAP - ON_WM_DESTROY() - ON_WM_VSCROLL() - ON_BN_CLICKED(IDC_BT_START, &C9222cdmaDlg::OnStart) - ON_BN_CLICKED(IDC_BT_STOP, &C9222cdmaDlg::OnStop) - ON_WM_TIMER() -END_MESSAGE_MAP() - - -// C9222cdmaDlg message handlers - -BOOL C9222cdmaDlg::OnInitDialog() -{ - CDialog::OnInitDialog(); - - // Add "About..." menu item to system menu. - - // IDM_ABOUTBOX must be in the system command range. - ASSERT((IDM_ABOUTBOX & 0xFFF0) == IDM_ABOUTBOX); - ASSERT(IDM_ABOUTBOX < 0xF000); - - CMenu* pSysMenu = GetSystemMenu(FALSE); - if (pSysMenu != NULL) - { - BOOL bNameValid; - CString strAboutMenu; - bNameValid = strAboutMenu.LoadString(IDS_ABOUTBOX); - ASSERT(bNameValid); - if (!strAboutMenu.IsEmpty()) - { - pSysMenu->AppendMenu(MF_SEPARATOR); - pSysMenu->AppendMenu(MF_STRING, IDM_ABOUTBOX, strAboutMenu); - } - } - - // Set the icon for this dialog. The framework does this automatically - // when the application's main window is not a dialog - SetIcon(m_hIcon, TRUE); // Set big icon - SetIcon(m_hIcon, FALSE); // Set small icon - - // TODO: Add extra initialization here - x_divider = 5; y_divider = 4; - - OnBrush = CreateSolidBrush( RGB(255,0,0) ); - OffBrush = CreateSolidBrush( RGB(125,0,0) ); - - RedPen.CreatePen( PS_SOLID, 1, RGB(255,0,0)); - GreenPen.CreatePen( PS_SOLID, 1, RGB(0,255,0)); - YellowPen.CreatePen( PS_SOLID, 1, RGB(255,255,0)); - BluePen.CreatePen( PS_SOLID, 1, RGB(0,0,255)); - LTBluePen.CreatePen( PS_SOLID, 1, RGB(0,128,255)); - LTRedPen.CreatePen( PS_SOLID, 1, RGB(255,128,0)); - LTGreenPen.CreatePen( PS_SOLID, 1, RGB(0,128,0)); - WhitePen.CreatePen( PS_SOLID, 1, RGB(255,255,255)); - - - if( n_PlotWidth == -1 && n_PlotHeight == -1 ) - { - ((CWnd*)GetDlgItem(IDC_STATIC_DRAW))->GetWindowRect(&plotRect); - ScreenToClient(&plotRect); - - n_PlotWidth = min( plotRect.Width(), 512); - n_PlotHeight = plotRect.Height() - 10; - } - - // set the default SampleRate - - SetDlgItemInt( IDC_EDIT_BUF_SIZE, (UINT)(m_dwWriteCount) ); - SetDlgItemInt( IDC_EDIT_SCAN_ITERVAL, (UINT)(m_dwSampIntrv) ); - - return TRUE; // return TRUE unless you set the focus to a control -} - -void C9222cdmaDlg::OnSysCommand(UINT nID, LPARAM lParam) -{ - if ((nID & 0xFFF0) == IDM_ABOUTBOX) - { - CAboutDlg dlgAbout; - dlgAbout.DoModal(); - } - else - { - CDialog::OnSysCommand(nID, lParam); - } -} - -// If you add a minimize button to your dialog, you will need the code below -// to draw the icon. For MFC applications using the document/view model, -// this is automatically done for you by the framework. - -void C9222cdmaDlg::OnPaint() -{ - if (IsIconic()) - { - CPaintDC dc(this); // device context for painting - - SendMessage(WM_ICONERASEBKGND, reinterpret_cast(dc.GetSafeHdc()), 0); - - // Center icon in client rectangle - int cxIcon = GetSystemMetrics(SM_CXICON); - int cyIcon = GetSystemMetrics(SM_CYICON); - CRect rect; - GetClientRect(&rect); - int x = (rect.Width() - cxIcon + 1) / 2; - int y = (rect.Height() - cyIcon + 1) / 2; - - // Draw the icon - dc.DrawIcon(x, y, m_hIcon); - } - else - { - redraw_display_area(); - CDialog::OnPaint(); - } -} - -// The system calls this function to obtain the cursor to display while the user drags -// the minimized window. -HCURSOR C9222cdmaDlg::OnQueryDragIcon() -{ - return static_cast(m_hIcon); -} - - -void C9222cdmaDlg::redraw_display_area(void) -{ - CPen *oldPen; - - int oldMode; - COLORREF oldColor; - - CString y_lable; - - CPen minor_tick( PS_SOLID,1,RGB(132,130,132) ); -// CPen y_grid( PS_SOLID,1,RGB(206,203,132) ); - - int i, x_intv, y_intv; -// long total_sec; - - CClientDC dc_plot(this); - - // draw the base-line for x-y axises - oldPen = (CPen *)dc_plot.SelectStockObject(BLACK_PEN); - - // redraw the background - dc_plot.FillSolidRect( plotRect, RGB(0,0,0) ); - - // Re-Draw the AREA for Y-Lable - { - CBrush DIALOG_BRUSH; - CRect redraw_area, full_client; - - GetClientRect(&full_client); - ScreenToClient(&full_client); - - redraw_area.left = full_client.left; - redraw_area.top = plotRect.top - 5; - redraw_area.right = plotRect.left - 3; - redraw_area.bottom = plotRect.bottom + 10; - - DIALOG_BRUSH.CreateSysColorBrush( COLOR_3DFACE ); - - dc_plot.FillRect( redraw_area, &DIALOG_BRUSH ); - - DIALOG_BRUSH.DeleteObject(); - } - - dc_plot.MoveTo( plotRect.left - 3, plotRect.top ); - dc_plot.LineTo( plotRect.left - 3, plotRect.bottom ); - - // calculate the interval for tick/grid - y_intv = (plotRect.Height() - 10) /y_divider; - x_intv = plotRect.Width()/x_divider; - - - // set the color for tick - oldColor = dc_plot.SetTextColor( RGB(0,0,0) ); - oldMode = dc_plot.SetBkMode( TRANSPARENT ); - - for( i=0; i<= y_divider; i++ ) - { - CString tick_str; - CRect tmp_rect, tick_rect; - - // draw the tick for y-axis - dc_plot.MoveTo( plotRect.left -12, plotRect.bottom -5 - (i*y_intv) ); - dc_plot.LineTo( plotRect.left -3, plotRect.bottom -5 - (i*y_intv) ); - - tick_str.Format( _T("%.1f"), ( ((max_range-min_range)/y_divider) * i)+min_range ); - - // calculate the rectangle for text - dc_plot.DrawText( tick_str, &tmp_rect, DT_CALCRECT|DT_SINGLELINE ); - tick_rect.right = plotRect.left -14; - tick_rect.left = tick_rect.right - tmp_rect.Width(); - tick_rect.top = plotRect.bottom -5 - (i*y_intv) - tmp_rect.Height()/2; - tick_rect.bottom = tick_rect.top + tmp_rect.Height(); - - // draw the text - dc_plot.DrawText( tick_str, &tick_rect, DT_SINGLELINE|DT_RIGHT ); - - } - - // draw the minor_tick for Y axises - dc_plot.SelectObject(&minor_tick); - for( i=0; i< y_divider; i++ ) - { - dc_plot.MoveTo( plotRect.left -9, plotRect.bottom -5 - (i*y_intv) - y_intv/2 ); - dc_plot.LineTo( plotRect.left -4, plotRect.bottom -5 - (i*y_intv) - y_intv/2 ); - } - - dc_plot.SetTextColor( oldColor ); - dc_plot.SetBkMode( oldMode ); - dc_plot.SelectObject( oldPen ); -} - -void C9222cdmaDlg::OnDestroy() -{ - CDialog::OnDestroy(); - - // TODO: Add your message handler code here - if( m_nTimer != -1 ) - { - KillTimer( m_nTimer ); - m_nTimer = -1; - } - - // AI buffer - if (m_hAIMem1 != NULL) - { - GlobalUnfix(m_hAIMem1); - GlobalUnlock(m_hAIMem1); - GlobalFree(m_hAIMem1); - - m_hAIMem1 = NULL; - } - - if (m_hAIMem2 != NULL) - { - GlobalUnfix(m_hAIMem2); - GlobalUnlock(m_hAIMem2); - GlobalFree(m_hAIMem2); - - m_hAIMem2 = NULL; - } - - - if( OnBrush != NULL ) - ::DeleteObject( OnBrush ); - - if( OffBrush != NULL ) - ::DeleteObject( OffBrush ); - - RedPen.DeleteObject(); - GreenPen.DeleteObject(); - YellowPen.DeleteObject(); - BluePen.DeleteObject(); - LTBluePen.DeleteObject(); - LTRedPen.DeleteObject(); - LTGreenPen.DeleteObject(); - WhitePen.DeleteObject(); - -} - -void C9222cdmaDlg::OnVScroll(UINT nSBCode, UINT nPos, CScrollBar* pScrollBar) -{ - // TODO: Add your message handler code here and/or call default - switch ( nSBCode ) - { - case SB_LINEUP : - m_dwSampIntrv += 160; - if (m_dwSampIntrv > 40000 ) m_dwSampIntrv = 40000; - break; - case SB_LINEDOWN: - m_dwSampIntrv -= 160; - if (m_dwSampIntrv < 80 ) m_dwSampIntrv = 80; - break; - } - - SetDlgItemInt( IDC_EDIT_SCAN_ITERVAL, (UINT)(m_dwSampIntrv) ); - - CDialog::OnVScroll(nSBCode, nPos, pScrollBar); -} - - -void C9222cdmaDlg::OnStop() -{ - // TODO: Add your control notification handler code here - U32 count; - - if( m_nTimer != -1 ) - { - KillTimer( m_nTimer ); - m_nTimer = -1; - } - - AI_AsyncClear(m_hCard, &count); - AO_AsyncClear(m_hCard, &count, 0); - - GetDlgItem( IDC_BT_START )->EnableWindow(TRUE); -} - -void C9222cdmaDlg::OnStart() -{ - // TODO: Add your control notification handler code here - DWORD mem_size; - CString strTemp; - I16 err; - U32 vi; - double fTmp; - - GetDlgItem( IDC_BT_START )->EnableWindow(FALSE); - - /***************** begin of AI buffer setup *****************/ - if (m_hAIMem1 != NULL) - { - GlobalUnfix(m_hAIMem1); - GlobalUnlock(m_hAIMem1); - GlobalFree(m_hAIMem1); - - m_hAIMem1 = NULL; - } - - if (m_hAIMem2 != NULL) - { - GlobalUnfix(m_hAIMem2); - GlobalUnlock(m_hAIMem2); - GlobalFree(m_hAIMem2); - - m_hAIMem2 = NULL; - } - - // allocate a memory for user DMA buffer - mem_size = AI_READ_COUNT * sizeof(I16); - - m_hAIMem1 = GlobalAlloc(GMEM_FIXED | GMEM_ZEROINIT, mem_size); - m_pAIBuf1 = (U16*) GlobalLock(m_hAIMem1); - if (m_pAIBuf1 == NULL ) - { - AfxMessageBox( TEXT("AI Memory allocation failed"), MB_OK); - return; - } - GlobalFix(m_hAIMem1); - - m_hAIMem2 = GlobalAlloc(GMEM_FIXED | GMEM_ZEROINIT, mem_size); - m_pAIBuf2 = (U16*) GlobalLock(m_hAIMem2); - if (m_pAIBuf2 == NULL ) - { - AfxMessageBox( TEXT("AI Memory allocation failed"), MB_OK); - return; - } - GlobalFix(m_hAIMem2); - - /***************** end of AI buffer setup *****************/ - - /***************** begin of AO buffer setup *****************/ - m_dwWriteCount = GetDlgItemInt(IDC_EDIT_BUF_SIZE); - - if (m_hAOMem1 != NULL) - { - GlobalUnfix(m_hAOMem1); - GlobalUnlock(m_hAOMem1); - GlobalFree(m_hAOMem1); - - m_hAOMem1 = NULL; - } - - if (m_hAOMem2 != NULL) - { - GlobalUnfix(m_hAOMem2); - GlobalUnlock(m_hAOMem2); - GlobalFree(m_hAOMem2); - - m_hAOMem2 = NULL; - } - - // allocate a memory for user DMA buffer - mem_size = m_dwWriteCount * sizeof(U32); - - m_hAOMem1 = GlobalAlloc(GMEM_FIXED | GMEM_ZEROINIT, mem_size); - m_pAOBuf1 = (U32*) GlobalLock(m_hAOMem1); - if (m_pAOBuf1 == NULL ) - { - AfxMessageBox( TEXT("AO Memory allocation failed"), MB_OK); - return; - } - GlobalFix(m_hAOMem1); - - for(vi=0; vi> 16) ); // ( n_PlotHeight * ai_data / 65536) ); // ( (n_PlotHeight/2) * ai_data/32768 ) ); - newX = (int)( index*n_PlotWidth/dwDataSize + plotRect.left ); - - if ( index == 0 ) - { - dc_plot.MoveTo( newX, newY ); - } - else - { - dc_plot.MoveTo( m_oldX[cur_channel], m_oldY[cur_channel] ); - dc_plot.LineTo( newX, newY ); - } - - m_oldX[cur_channel] = newX; - m_oldY[cur_channel] = newY; - } - - return 0; -} - -void C9222cdmaDlg::OnTimer(UINT_PTR nIDEvent) -{ - // TODO: Add your message handler code here and/or call default - BOOLEAN HalfReady; - BOOLEAN fstop; - U16 OverrunFlag; - - AI_AsyncDblBufferHalfReady(m_hCard, &HalfReady, &fstop); - - if( HalfReady ) // half-buffer ready - { - if(m_bView == 0) - { - display_buffer_data( m_pAIBuf1 ); - m_bView = 1; - } - else - { - display_buffer_data( m_pAIBuf2 ); - m_bView= 0; - } - - AI_AsyncDblBufferHandled( m_hCard ); - AI_AsyncDblBufferOverrun( m_hCard, 0, &OverrunFlag); - - if(OverrunFlag) - { - m_dwOverrunCnt++; - AI_AsyncDblBufferOverrun( m_hCard, 1, NULL ); - } - - - } - - CDialog::OnTimer(nIDEvent); -} - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AODma_ReTrigger/9222cdmaDlg.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AODma_ReTrigger/9222cdmaDlg.h deleted file mode 100644 index 2d7b972..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AODma_ReTrigger/9222cdmaDlg.h +++ /dev/null @@ -1,83 +0,0 @@ - -// 9222cdmaDlg.h : header file -#pragma once -#include "afxcmn.h" -#include "afxwin.h" - -#include "Dask64.h" - -// C9222cdmaDlg dialog -class C9222cdmaDlg : public CDialog -{ -// Construction -public: - C9222cdmaDlg(I16 hCard, CWnd* pParent = NULL); // standard constructor - -// Dialog Data - enum { IDD = IDD_9222DMA_DIALOG }; - - protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - - -// Implementation -protected: - HICON m_hIcon; - UINT_PTR m_nTimer; - I16 m_hCard; - U32 m_dwSampIntrv; - HANDLE m_hAIMem1; - HANDLE m_hAIMem2; - U16 *m_pAIBuf1; - U16 *m_pAIBuf2; - U16 m_wAIBufID1; - U16 m_wAIBufID2; - HANDLE m_hAOMem1; - HANDLE m_hAOMem2; - U32 *m_pAOBuf1; - U32 *m_pAOBuf2; - U16 m_wAOBufID1; - U16 m_wAOBufID2; - U16 m_wRange; - int m_oldY[8]; - int m_oldX[8]; - U32 m_dwWriteCount; - U16 m_wPostCount; - U8 m_bView; - U32 m_dwOverrunCnt; - - // Generated message map functions - virtual BOOL OnInitDialog(); - afx_msg void OnSysCommand(UINT nID, LPARAM lParam); - afx_msg void OnPaint(); - afx_msg HCURSOR OnQueryDragIcon(); - DECLARE_MESSAGE_MAP() - -public: - WORD max_val; - WORD min_val; - double max_range; - double min_range; - int n_PlotWidth; - int n_PlotHeight; - int y_divider; - int x_divider; - int m_DisplayScale; - HBRUSH OnBrush; - HBRUSH OffBrush; - CPen RedPen; - CPen GreenPen; - CPen YellowPen; - CPen BluePen; - CPen LTBluePen; - CPen LTRedPen; - CPen LTGreenPen; - CPen WhitePen; - void redraw_display_area(void); - afx_msg void OnDestroy(); - afx_msg void OnVScroll(UINT nSBCode, UINT nPos, CScrollBar* pScrollBar); - afx_msg void OnStart(); - int display_buffer_data(U16* pBuf); - afx_msg void OnTimer(UINT_PTR nIDEvent); - afx_msg void OnStop(); -}; diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AODma_ReTrigger/CardIDDlg.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AODma_ReTrigger/CardIDDlg.cpp deleted file mode 100644 index 55c0363..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AODma_ReTrigger/CardIDDlg.cpp +++ /dev/null @@ -1,64 +0,0 @@ -// CardIDDlg.cpp : implementation file -// -#include "stdafx.h" -#include "9222cdma.h" -#include "9222cdmaDlg.h" -#include "CardIDDlg.h" - -// CCardIDDlg dialog - -IMPLEMENT_DYNAMIC(CCardIDDlg, CDialog) - -CCardIDDlg::CCardIDDlg(int nCardIdx, CWnd* pParent /*=NULL*/) - : CDialog(CCardIDDlg::IDD, pParent) -{ - m_nCardIdx = nCardIdx; -} - -CCardIDDlg::~CCardIDDlg() -{ -} - -void CCardIDDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); - DDX_Control(pDX, IDC_COMBO_CARDID, m_cbCardID); -} - - -BEGIN_MESSAGE_MAP(CCardIDDlg, CDialog) -// ON_CBN_SELCHANGE(IDC_COMBO_CARDID, &CCardIDDlg::OnCbnSelchangeComboCardid) -ON_BN_CLICKED(IDOK, &CCardIDDlg::OnBnClickedOk) -//ON_WM_CTLCOLOR() -END_MESSAGE_MAP() - - -// CCardIDDlg message handlers - - -void CCardIDDlg::OnBnClickedOk() -{ - // TODO: Add your control notification handler code here - -// UpdateData(TRUE); - m_nCardIdx = m_cbCardID.GetCurSel(); - - OnOK(); -} - -BOOL CCardIDDlg::OnInitDialog() -{ - CDialog::OnInitDialog(); - - // TODO: Add extra initialization here - m_cbCardID.SetCurSel( m_nCardIdx ); - - return TRUE; // return TRUE unless you set the focus to a control - // EXCEPTION: OCX Property Pages should return FALSE -} - -// the function to get the selected CardID -int CCardIDDlg::GetCardID(void) -{ - return m_nCardIdx; -} diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AODma_ReTrigger/CardIDDlg.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AODma_ReTrigger/CardIDDlg.h deleted file mode 100644 index 9c02c58..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AODma_ReTrigger/CardIDDlg.h +++ /dev/null @@ -1,32 +0,0 @@ -#pragma once -#include "afxwin.h" - -#include "Dask64.h" - -// CCardIDDlg dialog - -class CCardIDDlg : public CDialog -{ - DECLARE_DYNAMIC(CCardIDDlg) - -public: - CCardIDDlg(int nCardIdx, CWnd* pParent = NULL); // standard constructor - virtual ~CCardIDDlg(); - -// Dialog Data - enum { IDD = IDD_CARDID_DIALOG }; - -protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - - DECLARE_MESSAGE_MAP() -public: - virtual BOOL OnInitDialog(); - afx_msg void OnBnClickedOk(); - // the setting of CardID ComboBox - int m_nCardIdx; - // the control of CardID ComboBox - CComboBox m_cbCardID; - // the function to get the selected CardID - int GetCardID(void); -}; diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AODma_ReTrigger/ReadMe.txt b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AODma_ReTrigger/ReadMe.txt deleted file mode 100644 index 6e83f34..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AODma_ReTrigger/ReadMe.txt +++ /dev/null @@ -1,93 +0,0 @@ -================================================================================ - MICROSOFT FOUNDATION CLASS LIBRARY : 9222cdma Project Overview -=============================================================================== - -The application wizard has created this 9222cdma application for -you. This application not only demonstrates the basics of using the Microsoft -Foundation Classes but is also a starting point for writing your application. - -This file contains a summary of what you will find in each of the files that -make up your 9222cdma application. - -9222cdma.vcproj - This is the main project file for VC++ projects generated using an application wizard. - It contains information about the version of Visual C++ that generated the file, and - information about the platforms, configurations, and project features selected with the - application wizard. - -9222cdma.h - This is the main header file for the application. It includes other - project specific headers (including Resource.h) and declares the - C9222cdmaApp application class. - -9222cdma.cpp - This is the main application source file that contains the application - class C9222cdmaApp. - -9222cdma.rc - This is a listing of all of the Microsoft Windows resources that the - program uses. It includes the icons, bitmaps, and cursors that are stored - in the RES subdirectory. This file can be directly edited in Microsoft - Visual C++. Your project resources are in 1033. - -res\9222cdma.ico - This is an icon file, which is used as the application's icon. This - icon is included by the main resource file 9222cdma.rc. - -res\My9222cdma.rc2 - This file contains resources that are not edited by Microsoft - Visual C++. You should place all resources not editable by - the resource editor in this file. - - -///////////////////////////////////////////////////////////////////////////// - -The application wizard creates one dialog class: - -9222cdmaDlg.h, 9222cdmaDlg.cpp - the dialog - These files contain your C9222cdmaDlg class. This class defines - the behavior of your application's main dialog. The dialog's template is - in 9222cdma.rc, which can be edited in Microsoft Visual C++. - - -///////////////////////////////////////////////////////////////////////////// - -Other Features: - -ActiveX Controls - The application includes support to use ActiveX controls. - -///////////////////////////////////////////////////////////////////////////// - -Other standard files: - -StdAfx.h, StdAfx.cpp - These files are used to build a precompiled header (PCH) file - named 9222cdma.pch and a precompiled types file named StdAfx.obj. - -Resource.h - This is the standard header file, which defines new resource IDs. - Microsoft Visual C++ reads and updates this file. - -9222cdma.manifest - Application manifest files are used by Windows XP to describe an applications - dependency on specific versions of Side-by-Side assemblies. The loader uses this - information to load the appropriate assembly from the assembly cache or private - from the application. The Application manifest maybe included for redistribution - as an external .manifest file that is installed in the same folder as the application - executable or it may be included in the executable in the form of a resource. -///////////////////////////////////////////////////////////////////////////// - -Other notes: - -The application wizard uses "TODO:" to indicate parts of the source code you -should add to or customize. - -If your application uses MFC in a shared DLL, you will need -to redistribute the MFC DLLs. If your application is in a language -other than the operating system's locale, you will also have to -redistribute the corresponding localized resources MFC90XXX.DLL. -For more information on both of these topics, please see the section on -redistributing Visual C++ applications in MSDN documentation. - -///////////////////////////////////////////////////////////////////////////// diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AODma_ReTrigger/res/9222cdma.ico b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AODma_ReTrigger/res/9222cdma.ico deleted file mode 100644 index d56fbcd..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AODma_ReTrigger/res/9222cdma.ico and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AODma_ReTrigger/res/My9222cdma.rc2 b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AODma_ReTrigger/res/My9222cdma.rc2 deleted file mode 100644 index 383cde2..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AODma_ReTrigger/res/My9222cdma.rc2 +++ /dev/null @@ -1,13 +0,0 @@ -// -// My9111int.RC2 - resources Microsoft Visual C++ does not edit directly -// - -#ifdef APSTUDIO_INVOKED -#error this file is not editable by Microsoft Visual C++ -#endif //APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// Add manually edited resources here... - -///////////////////////////////////////////////////////////////////////////// diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AODma_ReTrigger/res/ch_set1.bmp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AODma_ReTrigger/res/ch_set1.bmp deleted file mode 100644 index f2374ed..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AODma_ReTrigger/res/ch_set1.bmp and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AODma_ReTrigger/res/ch_set2.bmp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AODma_ReTrigger/res/ch_set2.bmp deleted file mode 100644 index 32d0915..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AODma_ReTrigger/res/ch_set2.bmp and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AODma_ReTrigger/resource.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AODma_ReTrigger/resource.h deleted file mode 100644 index 3b3de56..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AODma_ReTrigger/resource.h +++ /dev/null @@ -1,35 +0,0 @@ -//{{NO_DEPENDENCIES}} -// Microsoft Visual C++ generated include file. -// Used by 9222cdma.rc -// -#define IDM_ABOUTBOX 0x0010 -#define IDD_ABOUTBOX 100 -#define IDS_ABOUTBOX 101 -#define IDD_9222DMA_DIALOG 102 -#define IDR_MAINFRAME 128 -#define IDD_CARDID_DIALOG 129 -#define IDB_BITMAP_SET1 131 -#define IDB_BITMAP_SET2 132 -#define IDC_STATIC_DRAW 1000 -#define IDC_COMBO_CARDID 1001 -#define IDC_BT_STOP 1002 -#define IDC_COMBO_CARDTYPE 1003 -#define IDC_BT_START 1004 -#define IDC_EDIT_SCAN_ITERVAL 1005 -#define IDC_SCROLLBAR_RATE 1006 -#define IDC_STATIC_01 1007 -#define IDC_EDIT_BUF_SIZE 1008 -#define IDC_STATIC_2 1009 -#define IDC_EDIT1 1010 -#define IDC_EDIT_OVERRUN 1011 - -// Next default values for new objects -// -#ifdef APSTUDIO_INVOKED -#ifndef APSTUDIO_READONLY_SYMBOLS -#define _APS_NEXT_RESOURCE_VALUE 134 -#define _APS_NEXT_COMMAND_VALUE 32771 -#define _APS_NEXT_CONTROL_VALUE 1012 -#define _APS_NEXT_SYMED_VALUE 101 -#endif -#endif diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AODma_ReTrigger/stdafx.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AODma_ReTrigger/stdafx.cpp deleted file mode 100644 index ef80626..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AODma_ReTrigger/stdafx.cpp +++ /dev/null @@ -1,8 +0,0 @@ - -// stdafx.cpp : source file that includes just the standard includes -// 9111int.pch will be the pre-compiled header -// stdafx.obj will contain the pre-compiled type information - -#include "stdafx.h" - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AODma_ReTrigger/stdafx.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AODma_ReTrigger/stdafx.h deleted file mode 100644 index 12123e2..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AODma_ReTrigger/stdafx.h +++ /dev/null @@ -1,60 +0,0 @@ - -// stdafx.h : include file for standard system include files, -// or project specific include files that are used frequently, -// but are changed infrequently - -#pragma once - -#ifndef _SECURE_ATL -#define _SECURE_ATL 1 -#endif - -#ifndef VC_EXTRALEAN -#define VC_EXTRALEAN // Exclude rarely-used stuff from Windows headers -#endif - -#include "targetver.h" - -#define _ATL_CSTRING_EXPLICIT_CONSTRUCTORS // some CString constructors will be explicit - -// turns off MFC's hiding of some common and often safely ignored warning messages -#define _AFX_ALL_WARNINGS - -#include // MFC core and standard components -#include // MFC extensions - - -#include // MFC Automation classes - - - -#ifndef _AFX_NO_OLE_SUPPORT -#include // MFC support for Internet Explorer 4 Common Controls -#endif -#ifndef _AFX_NO_AFXCMN_SUPPORT -#include // MFC support for Windows Common Controls -#endif // _AFX_NO_AFXCMN_SUPPORT - -#include // MFC support for ribbons and control bars - - - - - - - - - -#ifdef _UNICODE -#if defined _M_IX86 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='x86' publicKeyToken='6595b64144ccf1df' language='*'\"") -#elif defined _M_IA64 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='ia64' publicKeyToken='6595b64144ccf1df' language='*'\"") -#elif defined _M_X64 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='amd64' publicKeyToken='6595b64144ccf1df' language='*'\"") -#else -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='*' publicKeyToken='6595b64144ccf1df' language='*'\"") -#endif -#endif - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AODma_ReTrigger/targetver.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AODma_ReTrigger/targetver.h deleted file mode 100644 index 11730d5..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AODma_ReTrigger/targetver.h +++ /dev/null @@ -1,26 +0,0 @@ - -#pragma once - -// The following macros define the minimum required platform. The minimum required platform -// is the earliest version of Windows, Internet Explorer etc. that has the necessary features to run -// your application. The macros work by enabling all features available on platform versions up to and -// including the version specified. - -// Modify the following defines if you have to target a platform prior to the ones specified below. -// Refer to MSDN for the latest info on corresponding values for different platforms. -#ifndef WINVER // Specifies that the minimum required platform is Windows Vista. -#define WINVER 0x0600 // Change this to the appropriate value to target other versions of Windows. -#endif - -#ifndef _WIN32_WINNT // Specifies that the minimum required platform is Windows Vista. -#define _WIN32_WINNT 0x0600 // Change this to the appropriate value to target other versions of Windows. -#endif - -#ifndef _WIN32_WINDOWS // Specifies that the minimum required platform is Windows 98. -#define _WIN32_WINDOWS 0x0410 // Change this to the appropriate value to target Windows Me or later. -#endif - -#ifndef _WIN32_IE // Specifies that the minimum required platform is Internet Explorer 7.0. -#define _WIN32_IE 0x0700 // Change this to the appropriate value to target other versions of IE. -#endif - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AODma_SimuWrites/9111DbInt.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AODma_SimuWrites/9111DbInt.suo deleted file mode 100644 index 3fde864..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AODma_SimuWrites/9111DbInt.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AODma_SimuWrites/9111PostTg.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AODma_SimuWrites/9111PostTg.suo deleted file mode 100644 index c59a833..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AODma_SimuWrites/9111PostTg.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AODma_SimuWrites/9111int.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AODma_SimuWrites/9111int.suo deleted file mode 100644 index aaca7d8..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AODma_SimuWrites/9111int.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AODma_SimuWrites/9116cdma.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AODma_SimuWrites/9116cdma.suo deleted file mode 100644 index df9f193..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AODma_SimuWrites/9116cdma.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AODma_SimuWrites/9118cdma.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AODma_SimuWrites/9118cdma.suo deleted file mode 100644 index 9318437..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AODma_SimuWrites/9118cdma.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AODma_SimuWrites/9221cdma.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AODma_SimuWrites/9221cdma.suo deleted file mode 100644 index 9cb61ca..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AODma_SimuWrites/9221cdma.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AODma_SimuWrites/9222cdma.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AODma_SimuWrites/9222cdma.cpp deleted file mode 100644 index 7ddb019..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AODma_SimuWrites/9222cdma.cpp +++ /dev/null @@ -1,109 +0,0 @@ - -// 9222cdma.cpp : Defines the class behaviors for the application. -// - -#include "stdafx.h" -#include "9222cdma.h" -#include "9222cdmaDlg.h" -#include "CardIDDlg.h" - -#ifdef _DEBUG -#define new DEBUG_NEW -#endif - - -// C9222cdmaApp - -BEGIN_MESSAGE_MAP(C9222cdmaApp, CWinAppEx) - ON_COMMAND(ID_HELP, &CWinApp::OnHelp) -END_MESSAGE_MAP() - - -// C9222cdmaApp construction - -C9222cdmaApp::C9222cdmaApp() -{ - // TODO: add construction code here, - // Place all significant initialization in InitInstance -} - - -// The one and only C9222cdmaApp object - -C9222cdmaApp theApp; - - -// C9222cdmaApp initialization - -BOOL C9222cdmaApp::InitInstance() -{ - int nCardID = 0; - I16 hCard; - CString strTemp; - INT_PTR nResponse; - - // InitCommonControlsEx() is required on Windows XP if an application - // manifest specifies use of ComCtl32.dll version 6 or later to enable - // visual styles. Otherwise, any window creation will fail. - INITCOMMONCONTROLSEX InitCtrls; - InitCtrls.dwSize = sizeof(InitCtrls); - // Set this to include all the common control classes you want to use - // in your application. - InitCtrls.dwICC = ICC_WIN95_CLASSES; - InitCommonControlsEx(&InitCtrls); - - CWinAppEx::InitInstance(); - - AfxEnableControlContainer(); - - // Standard initialization - // If you are not using these features and wish to reduce the size - // of your final executable, you should remove from the following - // the specific initialization routines you do not need - // Change the registry key under which our settings are stored - // TODO: You should modify this string to be something appropriate - // such as the name of your company or organization - SetRegistryKey(_T("Local AppWizard-Generated Applications")); - - CCardIDDlg CardDlg( nCardID ); - - nResponse = CardDlg.DoModal(); - if (nResponse == IDOK) - { - nCardID = CardDlg.GetCardID(); - - if ((hCard=Register_Card(PCI_9222, nCardID)) < 0) - { - strTemp.Format( TEXT("Register_Card Error = %d"), hCard); - AfxMessageBox( strTemp ); - } - else - { - C9222cdmaDlg dlg(hCard); - m_pMainWnd = &dlg; - nResponse = dlg.DoModal(); - if (nResponse == IDOK) - { - // TODO: Place code here to handle when the dialog is - // dismissed with OK - } - else if (nResponse == IDCANCEL) - { - // TODO: Place code here to handle when the dialog is - // dismissed with Cancel - } - - if (hCard >= 0) Release_Card(hCard); - } - - } - else if (nResponse == IDCANCEL) - { - // TODO: Place code here to handle when the dialog is - // dismissed with Cancel - } - - // Since the dialog has been closed, return FALSE so that we exit the - // application, rather than start the application's message pump. - return FALSE; -} diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AODma_SimuWrites/9222cdma.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AODma_SimuWrites/9222cdma.h deleted file mode 100644 index 16a6900..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AODma_SimuWrites/9222cdma.h +++ /dev/null @@ -1,34 +0,0 @@ - -// 9222cdma.h : main header file for the PROJECT_NAME application -// - -#pragma once - -#ifndef __AFXWIN_H__ - #error "include 'stdafx.h' before including this file for PCH" -#endif - -#include "resource.h" // main symbols - -#define AI_MODE_DMA 0 -#define AI_MODE_INT 1 - -// C9222cdmaApp: -// See 9222cdma.cpp for the implementation of this class -// - -class C9222cdmaApp : public CWinAppEx -{ -public: - C9222cdmaApp(); - -// Overrides - public: - virtual BOOL InitInstance(); - -// Implementation - - DECLARE_MESSAGE_MAP() -}; - -extern C9222cdmaApp theApp; \ No newline at end of file diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AODma_SimuWrites/9222cdma.rc b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AODma_SimuWrites/9222cdma.rc deleted file mode 100644 index 0266114..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AODma_SimuWrites/9222cdma.rc +++ /dev/null @@ -1,284 +0,0 @@ -// Microsoft Visual C++ generated resource script. -// -#include "resource.h" - -#define APSTUDIO_READONLY_SYMBOLS -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 2 resource. -// -#ifndef APSTUDIO_INVOKED -#include "targetver.h" -#endif -#include "afxres.h" - -///////////////////////////////////////////////////////////////////////////// -#undef APSTUDIO_READONLY_SYMBOLS - -///////////////////////////////////////////////////////////////////////////// -// Chinese (Taiwan) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_CHT) -#ifdef _WIN32 -LANGUAGE LANG_CHINESE, SUBLANG_CHINESE_TRADITIONAL -#pragma code_page(950) -#endif //_WIN32 - -#ifdef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// TEXTINCLUDE -// - -1 TEXTINCLUDE -BEGIN - "resource.h\0" -END - -2 TEXTINCLUDE -BEGIN - "#ifndef APSTUDIO_INVOKED\r\n" - "#include ""targetver.h""\r\n" - "#endif\r\n" - "#include ""afxres.h""\r\n" - "\0" -END - -3 TEXTINCLUDE -BEGIN - "#define _AFX_NO_SPLITTER_RESOURCES\r\n" - "#define _AFX_NO_OLE_RESOURCES\r\n" - "#define _AFX_NO_TRACKER_RESOURCES\r\n" - "#define _AFX_NO_PROPERTY_RESOURCES\r\n" - "\r\n" - "#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)\r\n" - "LANGUAGE 9, 1\r\n" - "#pragma code_page(1252)\r\n" - "#include ""res\\My9222cdma.rc2"" // non-Microsoft Visual C++ edited resources\r\n" - "#include ""afxres.rc"" // Standard components\r\n" - "#endif\r\n" - "\0" -END - -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// Icon -// - -// Icon with lowest ID value placed first to ensure application icon -// remains consistent on all systems. -IDR_MAINFRAME ICON "res\\9222cdma.ico" -#endif // Chinese (Taiwan) resources -///////////////////////////////////////////////////////////////////////////// - - -///////////////////////////////////////////////////////////////////////////// -// English (U.S.) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -#ifdef _WIN32 -LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US -#pragma code_page(1252) -#endif //_WIN32 - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog -// - -IDD_ABOUTBOX DIALOGEX 0, 0, 170, 62 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "About 9222cdma" -FONT 8, "MS Shell Dlg", 0, 0, 0x1 -BEGIN - ICON IDR_MAINFRAME,IDC_STATIC,14,14,21,20 - LTEXT "9222cdma, Version 1.0",IDC_STATIC,42,14,114,8,SS_NOPREFIX - LTEXT "Copyright (C) 2010",IDC_STATIC,42,26,114,8 - DEFPUSHBUTTON "OK",IDOK,113,41,50,14,WS_GROUP -END - -IDD_9222DMA_DIALOG DIALOGEX 0, 0, 353, 239 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU -EXSTYLE WS_EX_APPWINDOW -CAPTION "PCI-9222 AO Simutaneous Channel Write" -FONT 8, "MS Shell Dlg", 0, 0, 0x1 -BEGIN - GROUPBOX "",IDC_STATIC_DRAW,46,66,299,161,NOT WS_VISIBLE - LTEXT "Range : +/- 10V",IDC_STATIC,294,54,52,11 - LTEXT "Write Count :",IDC_STATIC,149,21,44,9 - EDITTEXT IDC_EDIT_SCAN_ITERVAL,63,36,49,14,ES_AUTOHSCROLL | ES_READONLY - LTEXT "Update Interval :",IDC_STATIC,65,21,57,9 - SCROLLBAR IDC_SCROLLBAR_RATE,113,36,9,11,SBS_VERT - PUSHBUTTON "Start",IDC_BT_START,227,28,55,22 - EDITTEXT IDC_EDIT_BUF_SIZE,143,36,51,14,ES_AUTOHSCROLL - PUSHBUTTON "Stop",IDC_BT_STOP,289,28,55,22 - LTEXT "Please check the AO0 (pin-16) to AI0 (pin-34) , and the AO0 output will be loggeg in following panel.",IDC_STATIC,16,7,328,15 -END - -IDD_CARDID_DIALOG DIALOGEX 0, 0, 174, 96 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "Card ID" -FONT 8, "MS Shell Dlg", 400, 0, 0x1 -BEGIN - COMBOBOX IDC_COMBO_CARDID,78,24,71,126,CBS_DROPDOWN | WS_VSCROLL | WS_TABSTOP - LTEXT "Card Number",IDC_STATIC_01,23,25,46,12 - PUSHBUTTON "OK",IDOK,22,59,58,19 - PUSHBUTTON "CANCEL",IDCANCEL,86,59,58,19 -END - - -///////////////////////////////////////////////////////////////////////////// -// -// Version -// - -VS_VERSION_INFO VERSIONINFO - FILEVERSION 1,0,0,1 - PRODUCTVERSION 1,0,0,1 - FILEFLAGSMASK 0x3fL -#ifdef _DEBUG - FILEFLAGS 0x1L -#else - FILEFLAGS 0x0L -#endif - FILEOS 0x4L - FILETYPE 0x1L - FILESUBTYPE 0x0L -BEGIN - BLOCK "StringFileInfo" - BEGIN - BLOCK "040904e4" - BEGIN - VALUE "CompanyName", "TODO: " - VALUE "FileDescription", "TODO: " - VALUE "FileVersion", "1.0.0.1" - VALUE "InternalName", "9222cdma.exe" - VALUE "LegalCopyright", "TODO: (c) . All rights reserved." - VALUE "OriginalFilename", "9222cdma.exe" - VALUE "ProductName", "TODO: " - VALUE "ProductVersion", "1.0.0.1" - END - END - BLOCK "VarFileInfo" - BEGIN - VALUE "Translation", 0x409, 1252 - END -END - - -///////////////////////////////////////////////////////////////////////////// -// -// DESIGNINFO -// - -#ifdef APSTUDIO_INVOKED -GUIDELINES DESIGNINFO -BEGIN - IDD_ABOUTBOX, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 163 - TOPMARGIN, 7 - BOTTOMMARGIN, 55 - END - - IDD_CARDID_DIALOG, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 167 - TOPMARGIN, 7 - BOTTOMMARGIN, 89 - END -END -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog Info -// - -IDD_CARDID_DIALOG DLGINIT -BEGIN - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0030, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0031, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0032, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0033, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0034, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0035, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0036, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0037, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0038, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0039, - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3031, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3131, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3231, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3331, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3431, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3531, "\000" - 0 -END - - -///////////////////////////////////////////////////////////////////////////// -// -// Bitmap -// - -IDB_BITMAP_SET1 BITMAP "res\\ch_set1.bmp" -IDB_BITMAP_SET2 BITMAP "res\\ch_set2.bmp" - -///////////////////////////////////////////////////////////////////////////// -// -// String Table -// - -STRINGTABLE -BEGIN - IDS_ABOUTBOX "&About 9222cdma..." -END - -#endif // English (U.S.) resources -///////////////////////////////////////////////////////////////////////////// - - - -#ifndef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 3 resource. -// -#define _AFX_NO_SPLITTER_RESOURCES -#define _AFX_NO_OLE_RESOURCES -#define _AFX_NO_TRACKER_RESOURCES -#define _AFX_NO_PROPERTY_RESOURCES - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -LANGUAGE 9, 1 -#pragma code_page(1252) -#include "res\My9222cdma.rc2" // non-Microsoft Visual C++ edited resources -#include "afxres.rc" // Standard components -#endif - -///////////////////////////////////////////////////////////////////////////// -#endif // not APSTUDIO_INVOKED - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AODma_SimuWrites/9222cdma.sln b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AODma_SimuWrites/9222cdma.sln deleted file mode 100644 index dab32f7..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AODma_SimuWrites/9222cdma.sln +++ /dev/null @@ -1,20 +0,0 @@ - -Microsoft Visual Studio Solution File, Format Version 10.00 -# Visual Studio 2008 -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "9222cdma", "9222cdma.vcproj", "{702163FB-B6DF-4EF5-9491-FC54D71509BC}" -EndProject -Global - GlobalSection(SolutionConfigurationPlatforms) = preSolution - Debug|x64 = Debug|x64 - Release|x64 = Release|x64 - EndGlobalSection - GlobalSection(ProjectConfigurationPlatforms) = postSolution - {702163FB-B6DF-4EF5-9491-FC54D71509BC}.Debug|x64.ActiveCfg = Debug|x64 - {702163FB-B6DF-4EF5-9491-FC54D71509BC}.Debug|x64.Build.0 = Debug|x64 - {702163FB-B6DF-4EF5-9491-FC54D71509BC}.Release|x64.ActiveCfg = Release|x64 - {702163FB-B6DF-4EF5-9491-FC54D71509BC}.Release|x64.Build.0 = Release|x64 - EndGlobalSection - GlobalSection(SolutionProperties) = preSolution - HideSolutionNode = FALSE - EndGlobalSection -EndGlobal diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AODma_SimuWrites/9222cdma.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AODma_SimuWrites/9222cdma.suo deleted file mode 100644 index 72275ad..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AODma_SimuWrites/9222cdma.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AODma_SimuWrites/9222cdma.vcproj b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AODma_SimuWrites/9222cdma.vcproj deleted file mode 100644 index 6564bd4..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AODma_SimuWrites/9222cdma.vcproj +++ /dev/null @@ -1,294 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AODma_SimuWrites/9222cdmaDlg.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AODma_SimuWrites/9222cdmaDlg.cpp deleted file mode 100644 index add4c9e..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AODma_SimuWrites/9222cdmaDlg.cpp +++ /dev/null @@ -1,721 +0,0 @@ - -// 9222cdmaDlg.cpp : implementation file -// - -#include "stdafx.h" -#include "9222cdma.h" -#include "9222cdmaDlg.h" -#include "math.h" - -#ifdef _DEBUG -#define new DEBUG_NEW -#endif - -#ifndef M_PI -#define M_PI 3.14159265359 -#endif - -#define P922X_TIMEBASE 80000000.0 -#define AI_READ_COUNT 8000 -#define AI_SAMPLE_INTERV 10000 - -CRect plotRect; - -// CAboutDlg dialog used for App About - -class CAboutDlg : public CDialog -{ -public: - CAboutDlg(); - -// Dialog Data - enum { IDD = IDD_ABOUTBOX }; - - protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - -// Implementation -protected: - DECLARE_MESSAGE_MAP() -}; - -CAboutDlg::CAboutDlg() : CDialog(CAboutDlg::IDD) -{ -} - -void CAboutDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); -} - -BEGIN_MESSAGE_MAP(CAboutDlg, CDialog) -END_MESSAGE_MAP() - - -// C9222cdmaDlg dialog - - - - -C9222cdmaDlg::C9222cdmaDlg(I16 hCard, CWnd* pParent /*=NULL*/) - : CDialog(C9222cdmaDlg::IDD, pParent) -{ - m_hIcon = AfxGetApp()->LoadIcon(IDR_MAINFRAME); - - n_PlotWidth = n_PlotHeight = -1; - OnBrush = OffBrush = NULL; - - min_val = 0x00; - max_val = 0xFFFF; - - m_dwSampIntrv = 10000; - - m_hCard = hCard; - - m_nTimer = -1; - m_hAIMem1 = NULL; - m_hAIMem2 = NULL; - - m_hAOMem1 = NULL; - m_hAOMem2 = NULL; - - m_wRange = AD_B_10_V; - max_range = 10.0; - min_range = -10.0; - - m_dwWriteCount = 4096; - m_wPostCount = 512; - - m_dwOverrunCnt = 0; - - m_wChans[0] = 0; - m_wChans[1] = 1; - -} - -void C9222cdmaDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); -} - -BEGIN_MESSAGE_MAP(C9222cdmaDlg, CDialog) - ON_WM_SYSCOMMAND() - ON_WM_PAINT() - ON_WM_QUERYDRAGICON() - //}}AFX_MSG_MAP - ON_WM_DESTROY() - ON_WM_VSCROLL() - ON_BN_CLICKED(IDC_BT_START, &C9222cdmaDlg::OnStart) - ON_BN_CLICKED(IDC_BT_STOP, &C9222cdmaDlg::OnStop) - ON_WM_TIMER() -END_MESSAGE_MAP() - - -// C9222cdmaDlg message handlers - -BOOL C9222cdmaDlg::OnInitDialog() -{ - CDialog::OnInitDialog(); - - // Add "About..." menu item to system menu. - - // IDM_ABOUTBOX must be in the system command range. - ASSERT((IDM_ABOUTBOX & 0xFFF0) == IDM_ABOUTBOX); - ASSERT(IDM_ABOUTBOX < 0xF000); - - CMenu* pSysMenu = GetSystemMenu(FALSE); - if (pSysMenu != NULL) - { - BOOL bNameValid; - CString strAboutMenu; - bNameValid = strAboutMenu.LoadString(IDS_ABOUTBOX); - ASSERT(bNameValid); - if (!strAboutMenu.IsEmpty()) - { - pSysMenu->AppendMenu(MF_SEPARATOR); - pSysMenu->AppendMenu(MF_STRING, IDM_ABOUTBOX, strAboutMenu); - } - } - - // Set the icon for this dialog. The framework does this automatically - // when the application's main window is not a dialog - SetIcon(m_hIcon, TRUE); // Set big icon - SetIcon(m_hIcon, FALSE); // Set small icon - - // TODO: Add extra initialization here - x_divider = 5; y_divider = 4; - - OnBrush = CreateSolidBrush( RGB(255,0,0) ); - OffBrush = CreateSolidBrush( RGB(125,0,0) ); - - RedPen.CreatePen( PS_SOLID, 1, RGB(255,0,0)); - GreenPen.CreatePen( PS_SOLID, 1, RGB(0,255,0)); - YellowPen.CreatePen( PS_SOLID, 1, RGB(255,255,0)); - BluePen.CreatePen( PS_SOLID, 1, RGB(0,0,255)); - LTBluePen.CreatePen( PS_SOLID, 1, RGB(0,128,255)); - LTRedPen.CreatePen( PS_SOLID, 1, RGB(255,128,0)); - LTGreenPen.CreatePen( PS_SOLID, 1, RGB(0,128,0)); - WhitePen.CreatePen( PS_SOLID, 1, RGB(255,255,255)); - - - if( n_PlotWidth == -1 && n_PlotHeight == -1 ) - { - ((CWnd*)GetDlgItem(IDC_STATIC_DRAW))->GetWindowRect(&plotRect); - ScreenToClient(&plotRect); - - n_PlotWidth = min( plotRect.Width(), 512); - n_PlotHeight = plotRect.Height() - 10; - } - - // set the default SampleRate - - SetDlgItemInt( IDC_EDIT_BUF_SIZE, (UINT)(m_dwWriteCount) ); - SetDlgItemInt( IDC_EDIT_SCAN_ITERVAL, (UINT)(m_dwSampIntrv) ); - - return TRUE; // return TRUE unless you set the focus to a control -} - -void C9222cdmaDlg::OnSysCommand(UINT nID, LPARAM lParam) -{ - if ((nID & 0xFFF0) == IDM_ABOUTBOX) - { - CAboutDlg dlgAbout; - dlgAbout.DoModal(); - } - else - { - CDialog::OnSysCommand(nID, lParam); - } -} - -// If you add a minimize button to your dialog, you will need the code below -// to draw the icon. For MFC applications using the document/view model, -// this is automatically done for you by the framework. - -void C9222cdmaDlg::OnPaint() -{ - if (IsIconic()) - { - CPaintDC dc(this); // device context for painting - - SendMessage(WM_ICONERASEBKGND, reinterpret_cast(dc.GetSafeHdc()), 0); - - // Center icon in client rectangle - int cxIcon = GetSystemMetrics(SM_CXICON); - int cyIcon = GetSystemMetrics(SM_CYICON); - CRect rect; - GetClientRect(&rect); - int x = (rect.Width() - cxIcon + 1) / 2; - int y = (rect.Height() - cyIcon + 1) / 2; - - // Draw the icon - dc.DrawIcon(x, y, m_hIcon); - } - else - { - redraw_display_area(); - CDialog::OnPaint(); - } -} - -// The system calls this function to obtain the cursor to display while the user drags -// the minimized window. -HCURSOR C9222cdmaDlg::OnQueryDragIcon() -{ - return static_cast(m_hIcon); -} - - -void C9222cdmaDlg::redraw_display_area(void) -{ - CPen *oldPen; - - int oldMode; - COLORREF oldColor; - - CString y_lable; - - CPen minor_tick( PS_SOLID,1,RGB(132,130,132) ); - - int i, x_intv, y_intv; - - CClientDC dc_plot(this); - - // draw the base-line for x-y axises - oldPen = (CPen *)dc_plot.SelectStockObject(BLACK_PEN); - - // redraw the background - dc_plot.FillSolidRect( plotRect, RGB(0,0,0) ); - - // Re-Draw the AREA for Y-Lable - { - CBrush DIALOG_BRUSH; - CRect redraw_area, full_client; - - GetClientRect(&full_client); - ScreenToClient(&full_client); - - redraw_area.left = full_client.left; - redraw_area.top = plotRect.top - 5; - redraw_area.right = plotRect.left - 3; - redraw_area.bottom = plotRect.bottom + 10; - - DIALOG_BRUSH.CreateSysColorBrush( COLOR_3DFACE ); - - dc_plot.FillRect( redraw_area, &DIALOG_BRUSH ); - - DIALOG_BRUSH.DeleteObject(); - } - - dc_plot.MoveTo( plotRect.left - 3, plotRect.top ); - dc_plot.LineTo( plotRect.left - 3, plotRect.bottom ); - - // calculate the interval for tick/grid - y_intv = (plotRect.Height() - 10) /y_divider; - x_intv = plotRect.Width()/x_divider; - - - // set the color for tick - oldColor = dc_plot.SetTextColor( RGB(0,0,0) ); - oldMode = dc_plot.SetBkMode( TRANSPARENT ); - - for( i=0; i<= y_divider; i++ ) - { - CString tick_str; - CRect tmp_rect, tick_rect; - - // draw the tick for y-axis - dc_plot.MoveTo( plotRect.left -12, plotRect.bottom -5 - (i*y_intv) ); - dc_plot.LineTo( plotRect.left -3, plotRect.bottom -5 - (i*y_intv) ); - - tick_str.Format( _T("%.1f"), ( ((max_range-min_range)/y_divider) * i)+min_range ); - - // calculate the rectangle for text - dc_plot.DrawText( tick_str, &tmp_rect, DT_CALCRECT|DT_SINGLELINE ); - tick_rect.right = plotRect.left -14; - tick_rect.left = tick_rect.right - tmp_rect.Width(); - tick_rect.top = plotRect.bottom -5 - (i*y_intv) - tmp_rect.Height()/2; - tick_rect.bottom = tick_rect.top + tmp_rect.Height(); - - // draw the text - dc_plot.DrawText( tick_str, &tick_rect, DT_SINGLELINE|DT_RIGHT ); - - } - - // draw the minor_tick for Y axises - dc_plot.SelectObject(&minor_tick); - for( i=0; i< y_divider; i++ ) - { - dc_plot.MoveTo( plotRect.left -9, plotRect.bottom -5 - (i*y_intv) - y_intv/2 ); - dc_plot.LineTo( plotRect.left -4, plotRect.bottom -5 - (i*y_intv) - y_intv/2 ); - } - - dc_plot.SetTextColor( oldColor ); - dc_plot.SetBkMode( oldMode ); - dc_plot.SelectObject( oldPen ); -} - -void C9222cdmaDlg::OnDestroy() -{ - CDialog::OnDestroy(); - - // TODO: Add your message handler code here - if( m_nTimer != -1 ) - { - KillTimer( m_nTimer ); - m_nTimer = -1; - } - - // AI buffer - if (m_hAIMem1 != NULL) - { - GlobalUnfix(m_hAIMem1); - GlobalUnlock(m_hAIMem1); - GlobalFree(m_hAIMem1); - - m_hAIMem1 = NULL; - } - - if (m_hAIMem2 != NULL) - { - GlobalUnfix(m_hAIMem2); - GlobalUnlock(m_hAIMem2); - GlobalFree(m_hAIMem2); - - m_hAIMem2 = NULL; - } - - - if( OnBrush != NULL ) - ::DeleteObject( OnBrush ); - - if( OffBrush != NULL ) - ::DeleteObject( OffBrush ); - - RedPen.DeleteObject(); - GreenPen.DeleteObject(); - YellowPen.DeleteObject(); - BluePen.DeleteObject(); - LTBluePen.DeleteObject(); - LTRedPen.DeleteObject(); - LTGreenPen.DeleteObject(); - WhitePen.DeleteObject(); - -} - -void C9222cdmaDlg::OnVScroll(UINT nSBCode, UINT nPos, CScrollBar* pScrollBar) -{ - // TODO: Add your message handler code here and/or call default - switch ( nSBCode ) - { - case SB_LINEUP : - m_dwSampIntrv += 160; - if (m_dwSampIntrv > 40000 ) m_dwSampIntrv = 40000; - break; - case SB_LINEDOWN: - m_dwSampIntrv -= 160; - if (m_dwSampIntrv < 80 ) m_dwSampIntrv = 80; - break; - } - - SetDlgItemInt( IDC_EDIT_SCAN_ITERVAL, (UINT)(m_dwSampIntrv) ); - - CDialog::OnVScroll(nSBCode, nPos, pScrollBar); -} - - -void C9222cdmaDlg::OnStop() -{ - // TODO: Add your control notification handler code here - U32 count; - - if( m_nTimer != -1 ) - { - KillTimer( m_nTimer ); - m_nTimer = -1; - } - - AI_AsyncClear(m_hCard, &count); - AO_AsyncClear(m_hCard, &count, 0); - - GetDlgItem( IDC_BT_START )->EnableWindow(TRUE); -} - -void C9222cdmaDlg::OnStart() -{ - // TODO: Add your control notification handler code here - DWORD mem_size; - CString strTemp; - I16 err; - U32 vi, i; - double fTmp; - - m_dwWriteCount = GetDlgItemInt(IDC_EDIT_BUF_SIZE); - - if( m_dwWriteCount < 1024 ) - { - AfxMessageBox( TEXT("For sample limitation, the sample count must be larger than 1024") ); - } - - GetDlgItem( IDC_BT_START )->EnableWindow(FALSE); - - /***************** begin of AI buffer setup *****************/ - if (m_hAIMem1 != NULL) - { - GlobalUnfix(m_hAIMem1); - GlobalUnlock(m_hAIMem1); - GlobalFree(m_hAIMem1); - - m_hAIMem1 = NULL; - } - - if (m_hAIMem2 != NULL) - { - GlobalUnfix(m_hAIMem2); - GlobalUnlock(m_hAIMem2); - GlobalFree(m_hAIMem2); - - m_hAIMem2 = NULL; - } - - // allocate a memory for user DMA buffer - mem_size = AI_READ_COUNT * sizeof(I16); - - m_hAIMem1 = GlobalAlloc(GMEM_FIXED | GMEM_ZEROINIT, mem_size); - m_pAIBuf1 = (U16*) GlobalLock(m_hAIMem1); - if (m_pAIBuf1 == NULL ) - { - AfxMessageBox( TEXT("AI Memory allocation failed"), MB_OK); - return; - } - GlobalFix(m_hAIMem1); - - m_hAIMem2 = GlobalAlloc(GMEM_FIXED | GMEM_ZEROINIT, mem_size); - m_pAIBuf2 = (U16*) GlobalLock(m_hAIMem2); - if (m_pAIBuf2 == NULL ) - { - AfxMessageBox( TEXT("AI Memory allocation failed"), MB_OK); - return; - } - GlobalFix(m_hAIMem2); - - /***************** end of AI buffer setup *****************/ - - /***************** begin of AO buffer setup *****************/ - - if (m_hAOMem1 != NULL) - { - GlobalUnfix(m_hAOMem1); - GlobalUnlock(m_hAOMem1); - GlobalFree(m_hAOMem1); - - m_hAOMem1 = NULL; - } - - if (m_hAOMem2 != NULL) - { - GlobalUnfix(m_hAOMem2); - GlobalUnlock(m_hAOMem2); - GlobalFree(m_hAOMem2); - - m_hAOMem2 = NULL; - } - - // memory for Pattern - mem_size = m_dwWriteCount * sizeof(U32); - - m_hAOMem1 = GlobalAlloc(GMEM_FIXED | GMEM_ZEROINIT, mem_size); - m_pPattern = (U32*) GlobalLock(m_hAOMem1); - if (m_pPattern == NULL ) - { - AfxMessageBox( TEXT("AO Memory allocation failed"), MB_OK); - return; - } - GlobalFix(m_hAOMem1); - - // memory for continuous output - - m_hAOMem2 = GlobalAlloc(GMEM_FIXED | GMEM_ZEROINIT, (mem_size*2) ); - m_pAOBuf = (U32*) GlobalLock(m_hAOMem2); - if (m_pAOBuf == NULL ) - { - AfxMessageBox( TEXT("AO Memory allocation failed"), MB_OK); - return; - } - GlobalFix(m_hAOMem2); - - - /***************** end of AI buffer setup *****************/ - - m_oldY[0] = m_oldY[1] = m_oldY[2] = m_oldY[3] = m_oldY[4] = m_oldY[5] = m_oldY[6] = m_oldY[7] = -1; - m_oldX[0] = m_oldX[1] = m_oldX[2] = m_oldX[3] = m_oldX[4] = m_oldX[5] = m_oldX[6] = m_oldX[7] = -1; - - if ((err = AI_9222_Config(m_hCard, P922x_AI_SingEnded|P922x_AI_CONVSRC_INT, P922x_AI_TRGMOD_POST|P922x_AI_TRGSRC_SOFT, 0, TRUE)) != NoError) - { - strTemp.Format( TEXT("AI_9222_Config error=%d"), err); - AfxMessageBox( strTemp ); - return; - } - - if ((err = AI_9222_CounterInterval(m_hCard, AI_SAMPLE_INTERV, AI_SAMPLE_INTERV)) != NoError) - { - strTemp.Format( TEXT("AI_9222_CounterInterval error=%d"), err); - AfxMessageBox( strTemp ); - return; - } - - if ((err = AI_AsyncDblBufferMode (m_hCard, 1)) != NoError) - { - strTemp.Format( TEXT("AI_AsyncDblBufferMode error=%d"), err); - AfxMessageBox( strTemp ); - return; - } - - if ((err = AI_ContBufferSetup (m_hCard, m_pAIBuf1, AI_READ_COUNT, &m_wAIBufID1)) != NoError) - { - strTemp.Format( TEXT("AI_ContBufferSetup error=%d"), err); - AfxMessageBox( strTemp ); - return; - } - - if ((err = AI_ContBufferSetup (m_hCard, m_pAIBuf2, AI_READ_COUNT, &m_wAIBufID2)) != NoError) - { - strTemp.Format( TEXT("AI_ContBufferSetup error=%d"), err); - AfxMessageBox( strTemp ); - return; - } - - if ((err = AO_9222_Config(m_hCard, P922x_AO_CONVSRC_INT, (P922x_AO_TRGMOD_POST|P922x_AO_TRGSRC_SOFT), 0, 0, 0, TRUE)) != NoError) - { - strTemp.Format( TEXT("AO_9222_Config error=%d"), err); - AfxMessageBox( strTemp ); - return; - } - - /*Enable Double Buffer Mode*/ - if ((err = AO_AsyncDblBufferMode(m_hCard, 0)) != NoError) - { - strTemp.Format( TEXT("AO_AsyncDblBufferMode error=%d"), err); - AfxMessageBox( strTemp ); - return; - } - - // Pattern Build-up - for(vi=0; vi= 256) && ( i < 768) ) - { - fTmp = 32768.0 - 128.0 * (double)( i - 256 ); - } - else if( i < 1024 ) - { - fTmp = 128.0 * (double)( i - 768 ) - 32768.0; - } - - fTmp = (fTmp)/2; - m_pPattern[vi] = (U16)(fTmp)+0x00008000; - } - - if ((err = AO_ContBufferCompose(m_hCard, 2, m_wChans[1], m_dwWriteCount, m_pAOBuf, m_pPattern)) != NoError) - { - strTemp.Format( TEXT("AO_ContBufferCompose error=%d"), err); - AfxMessageBox( strTemp ); - return; - } - - - - /*Setup buffer*/ - if ((err = AO_ContBufferSetup(m_hCard, m_pAOBuf, (m_dwWriteCount*2), &m_wAOBufID1)) != NoError) - { - strTemp.Format( TEXT("AO_ContBufferSetup error=%d"), err); - AfxMessageBox( strTemp ); - return; - } - - m_bView = 0; - - if ((err = AI_ContReadChannel(m_hCard, 0, m_wRange, &m_wAIBufID1, AI_READ_COUNT, 0, ASYNCH_OP)) != NoError) - { - strTemp.Format( TEXT("AI_ContBufferSetup error=%d"), err); - AfxMessageBox( strTemp ); - return; - } - - - /*Start AO0 DAC, Infinite repeate*/ - if ((err = AO_ContWriteMultiChannels(m_hCard, 2, m_wChans, m_wAOBufID1, m_dwWriteCount, 0, m_dwSampIntrv, 0, ASYNCH_OP)) != NoError) - { - strTemp.Format( TEXT("AO_ContWriteMultiChannels error=%d"), err); - AfxMessageBox( strTemp ); - return; - } - - m_nTimer = SetTimer( 1, 20, NULL ); - -} - -int C9222cdmaDlg::display_buffer_data(U16* pBuf) -{ - CClientDC dc_plot(this); - int nDraw_Origin_Y; - int cur_channel; - - int newY = -1; - int newX = -1; - U32 index; - I16 ai_data; - U32 dwDataSize = AI_READ_COUNT; - - // redraw the background - dc_plot.FillSolidRect( plotRect, RGB(0,0,0) ); - - dc_plot.SelectObject(&YellowPen); - - nDraw_Origin_Y = ( plotRect.bottom - 5 ) - n_PlotHeight/2; - - cur_channel = 0; - - for( index=0; index> 16) ); // ( n_PlotHeight * ai_data / 65536) ); // ( (n_PlotHeight/2) * ai_data/32768 ) ); - newX = (int)( index*n_PlotWidth/dwDataSize + plotRect.left ); - - if ( index == 0 ) - { - dc_plot.MoveTo( newX, newY ); - } - else - { - dc_plot.MoveTo( m_oldX[cur_channel], m_oldY[cur_channel] ); - dc_plot.LineTo( newX, newY ); - } - - m_oldX[cur_channel] = newX; - m_oldY[cur_channel] = newY; - } - - return 0; -} - -void C9222cdmaDlg::OnTimer(UINT_PTR nIDEvent) -{ - // TODO: Add your message handler code here and/or call default - BOOLEAN HalfReady; - BOOLEAN fstop; - U16 OverrunFlag; - - AI_AsyncDblBufferHalfReady(m_hCard, &HalfReady, &fstop); - - if( HalfReady ) // half-buffer ready - { - if(m_bView == 0) - { - display_buffer_data( m_pAIBuf1 ); - m_bView = 1; - } - else - { - display_buffer_data( m_pAIBuf2 ); - m_bView= 0; - } - - AI_AsyncDblBufferHandled( m_hCard ); - AI_AsyncDblBufferOverrun( m_hCard, 0, &OverrunFlag); - - if(OverrunFlag) - { - m_dwOverrunCnt++; - AI_AsyncDblBufferOverrun( m_hCard, 1, NULL ); - } - - - } - - CDialog::OnTimer(nIDEvent); -} - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AODma_SimuWrites/9222cdmaDlg.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AODma_SimuWrites/9222cdmaDlg.h deleted file mode 100644 index d17b31c..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AODma_SimuWrites/9222cdmaDlg.h +++ /dev/null @@ -1,84 +0,0 @@ - -// 9222cdmaDlg.h : header file -#pragma once -#include "afxcmn.h" -#include "afxwin.h" - -#include "Dask64.h" - -// C9222cdmaDlg dialog -class C9222cdmaDlg : public CDialog -{ -// Construction -public: - C9222cdmaDlg(I16 hCard, CWnd* pParent = NULL); // standard constructor - -// Dialog Data - enum { IDD = IDD_9222DMA_DIALOG }; - - protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - - -// Implementation -protected: - HICON m_hIcon; - UINT_PTR m_nTimer; - I16 m_hCard; - U32 m_dwSampIntrv; - HANDLE m_hAIMem1; - HANDLE m_hAIMem2; - U16 *m_pAIBuf1; - U16 *m_pAIBuf2; - U16 m_wAIBufID1; - U16 m_wAIBufID2; - HANDLE m_hAOMem1; - HANDLE m_hAOMem2; - U32 *m_pPattern; - U32 *m_pAOBuf; - U16 m_wAOBufID1; - U16 m_wAOBufID2; - U16 m_wChans[2]; - U16 m_wRange; - int m_oldY[8]; - int m_oldX[8]; - U32 m_dwWriteCount; - U16 m_wPostCount; - U8 m_bView; - U32 m_dwOverrunCnt; - - // Generated message map functions - virtual BOOL OnInitDialog(); - afx_msg void OnSysCommand(UINT nID, LPARAM lParam); - afx_msg void OnPaint(); - afx_msg HCURSOR OnQueryDragIcon(); - DECLARE_MESSAGE_MAP() - -public: - WORD max_val; - WORD min_val; - double max_range; - double min_range; - int n_PlotWidth; - int n_PlotHeight; - int y_divider; - int x_divider; - int m_DisplayScale; - HBRUSH OnBrush; - HBRUSH OffBrush; - CPen RedPen; - CPen GreenPen; - CPen YellowPen; - CPen BluePen; - CPen LTBluePen; - CPen LTRedPen; - CPen LTGreenPen; - CPen WhitePen; - void redraw_display_area(void); - afx_msg void OnDestroy(); - afx_msg void OnVScroll(UINT nSBCode, UINT nPos, CScrollBar* pScrollBar); - afx_msg void OnStart(); - int display_buffer_data(U16* pBuf); - afx_msg void OnTimer(UINT_PTR nIDEvent); - afx_msg void OnStop(); -}; diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AODma_SimuWrites/CardIDDlg.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AODma_SimuWrites/CardIDDlg.cpp deleted file mode 100644 index 55c0363..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AODma_SimuWrites/CardIDDlg.cpp +++ /dev/null @@ -1,64 +0,0 @@ -// CardIDDlg.cpp : implementation file -// -#include "stdafx.h" -#include "9222cdma.h" -#include "9222cdmaDlg.h" -#include "CardIDDlg.h" - -// CCardIDDlg dialog - -IMPLEMENT_DYNAMIC(CCardIDDlg, CDialog) - -CCardIDDlg::CCardIDDlg(int nCardIdx, CWnd* pParent /*=NULL*/) - : CDialog(CCardIDDlg::IDD, pParent) -{ - m_nCardIdx = nCardIdx; -} - -CCardIDDlg::~CCardIDDlg() -{ -} - -void CCardIDDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); - DDX_Control(pDX, IDC_COMBO_CARDID, m_cbCardID); -} - - -BEGIN_MESSAGE_MAP(CCardIDDlg, CDialog) -// ON_CBN_SELCHANGE(IDC_COMBO_CARDID, &CCardIDDlg::OnCbnSelchangeComboCardid) -ON_BN_CLICKED(IDOK, &CCardIDDlg::OnBnClickedOk) -//ON_WM_CTLCOLOR() -END_MESSAGE_MAP() - - -// CCardIDDlg message handlers - - -void CCardIDDlg::OnBnClickedOk() -{ - // TODO: Add your control notification handler code here - -// UpdateData(TRUE); - m_nCardIdx = m_cbCardID.GetCurSel(); - - OnOK(); -} - -BOOL CCardIDDlg::OnInitDialog() -{ - CDialog::OnInitDialog(); - - // TODO: Add extra initialization here - m_cbCardID.SetCurSel( m_nCardIdx ); - - return TRUE; // return TRUE unless you set the focus to a control - // EXCEPTION: OCX Property Pages should return FALSE -} - -// the function to get the selected CardID -int CCardIDDlg::GetCardID(void) -{ - return m_nCardIdx; -} diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AODma_SimuWrites/CardIDDlg.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AODma_SimuWrites/CardIDDlg.h deleted file mode 100644 index 9c02c58..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AODma_SimuWrites/CardIDDlg.h +++ /dev/null @@ -1,32 +0,0 @@ -#pragma once -#include "afxwin.h" - -#include "Dask64.h" - -// CCardIDDlg dialog - -class CCardIDDlg : public CDialog -{ - DECLARE_DYNAMIC(CCardIDDlg) - -public: - CCardIDDlg(int nCardIdx, CWnd* pParent = NULL); // standard constructor - virtual ~CCardIDDlg(); - -// Dialog Data - enum { IDD = IDD_CARDID_DIALOG }; - -protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - - DECLARE_MESSAGE_MAP() -public: - virtual BOOL OnInitDialog(); - afx_msg void OnBnClickedOk(); - // the setting of CardID ComboBox - int m_nCardIdx; - // the control of CardID ComboBox - CComboBox m_cbCardID; - // the function to get the selected CardID - int GetCardID(void); -}; diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AODma_SimuWrites/ReadMe.txt b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AODma_SimuWrites/ReadMe.txt deleted file mode 100644 index 6e83f34..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AODma_SimuWrites/ReadMe.txt +++ /dev/null @@ -1,93 +0,0 @@ -================================================================================ - MICROSOFT FOUNDATION CLASS LIBRARY : 9222cdma Project Overview -=============================================================================== - -The application wizard has created this 9222cdma application for -you. This application not only demonstrates the basics of using the Microsoft -Foundation Classes but is also a starting point for writing your application. - -This file contains a summary of what you will find in each of the files that -make up your 9222cdma application. - -9222cdma.vcproj - This is the main project file for VC++ projects generated using an application wizard. - It contains information about the version of Visual C++ that generated the file, and - information about the platforms, configurations, and project features selected with the - application wizard. - -9222cdma.h - This is the main header file for the application. It includes other - project specific headers (including Resource.h) and declares the - C9222cdmaApp application class. - -9222cdma.cpp - This is the main application source file that contains the application - class C9222cdmaApp. - -9222cdma.rc - This is a listing of all of the Microsoft Windows resources that the - program uses. It includes the icons, bitmaps, and cursors that are stored - in the RES subdirectory. This file can be directly edited in Microsoft - Visual C++. Your project resources are in 1033. - -res\9222cdma.ico - This is an icon file, which is used as the application's icon. This - icon is included by the main resource file 9222cdma.rc. - -res\My9222cdma.rc2 - This file contains resources that are not edited by Microsoft - Visual C++. You should place all resources not editable by - the resource editor in this file. - - -///////////////////////////////////////////////////////////////////////////// - -The application wizard creates one dialog class: - -9222cdmaDlg.h, 9222cdmaDlg.cpp - the dialog - These files contain your C9222cdmaDlg class. This class defines - the behavior of your application's main dialog. The dialog's template is - in 9222cdma.rc, which can be edited in Microsoft Visual C++. - - -///////////////////////////////////////////////////////////////////////////// - -Other Features: - -ActiveX Controls - The application includes support to use ActiveX controls. - -///////////////////////////////////////////////////////////////////////////// - -Other standard files: - -StdAfx.h, StdAfx.cpp - These files are used to build a precompiled header (PCH) file - named 9222cdma.pch and a precompiled types file named StdAfx.obj. - -Resource.h - This is the standard header file, which defines new resource IDs. - Microsoft Visual C++ reads and updates this file. - -9222cdma.manifest - Application manifest files are used by Windows XP to describe an applications - dependency on specific versions of Side-by-Side assemblies. The loader uses this - information to load the appropriate assembly from the assembly cache or private - from the application. The Application manifest maybe included for redistribution - as an external .manifest file that is installed in the same folder as the application - executable or it may be included in the executable in the form of a resource. -///////////////////////////////////////////////////////////////////////////// - -Other notes: - -The application wizard uses "TODO:" to indicate parts of the source code you -should add to or customize. - -If your application uses MFC in a shared DLL, you will need -to redistribute the MFC DLLs. If your application is in a language -other than the operating system's locale, you will also have to -redistribute the corresponding localized resources MFC90XXX.DLL. -For more information on both of these topics, please see the section on -redistributing Visual C++ applications in MSDN documentation. - -///////////////////////////////////////////////////////////////////////////// diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AODma_SimuWrites/res/9222cdma.ico b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AODma_SimuWrites/res/9222cdma.ico deleted file mode 100644 index d56fbcd..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AODma_SimuWrites/res/9222cdma.ico and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AODma_SimuWrites/res/My9222cdma.rc2 b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AODma_SimuWrites/res/My9222cdma.rc2 deleted file mode 100644 index 383cde2..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AODma_SimuWrites/res/My9222cdma.rc2 +++ /dev/null @@ -1,13 +0,0 @@ -// -// My9111int.RC2 - resources Microsoft Visual C++ does not edit directly -// - -#ifdef APSTUDIO_INVOKED -#error this file is not editable by Microsoft Visual C++ -#endif //APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// Add manually edited resources here... - -///////////////////////////////////////////////////////////////////////////// diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AODma_SimuWrites/res/ch_set1.bmp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AODma_SimuWrites/res/ch_set1.bmp deleted file mode 100644 index f2374ed..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AODma_SimuWrites/res/ch_set1.bmp and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AODma_SimuWrites/res/ch_set2.bmp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AODma_SimuWrites/res/ch_set2.bmp deleted file mode 100644 index 32d0915..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AODma_SimuWrites/res/ch_set2.bmp and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AODma_SimuWrites/resource.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AODma_SimuWrites/resource.h deleted file mode 100644 index 3b3de56..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AODma_SimuWrites/resource.h +++ /dev/null @@ -1,35 +0,0 @@ -//{{NO_DEPENDENCIES}} -// Microsoft Visual C++ generated include file. -// Used by 9222cdma.rc -// -#define IDM_ABOUTBOX 0x0010 -#define IDD_ABOUTBOX 100 -#define IDS_ABOUTBOX 101 -#define IDD_9222DMA_DIALOG 102 -#define IDR_MAINFRAME 128 -#define IDD_CARDID_DIALOG 129 -#define IDB_BITMAP_SET1 131 -#define IDB_BITMAP_SET2 132 -#define IDC_STATIC_DRAW 1000 -#define IDC_COMBO_CARDID 1001 -#define IDC_BT_STOP 1002 -#define IDC_COMBO_CARDTYPE 1003 -#define IDC_BT_START 1004 -#define IDC_EDIT_SCAN_ITERVAL 1005 -#define IDC_SCROLLBAR_RATE 1006 -#define IDC_STATIC_01 1007 -#define IDC_EDIT_BUF_SIZE 1008 -#define IDC_STATIC_2 1009 -#define IDC_EDIT1 1010 -#define IDC_EDIT_OVERRUN 1011 - -// Next default values for new objects -// -#ifdef APSTUDIO_INVOKED -#ifndef APSTUDIO_READONLY_SYMBOLS -#define _APS_NEXT_RESOURCE_VALUE 134 -#define _APS_NEXT_COMMAND_VALUE 32771 -#define _APS_NEXT_CONTROL_VALUE 1012 -#define _APS_NEXT_SYMED_VALUE 101 -#endif -#endif diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AODma_SimuWrites/stdafx.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AODma_SimuWrites/stdafx.cpp deleted file mode 100644 index ef80626..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AODma_SimuWrites/stdafx.cpp +++ /dev/null @@ -1,8 +0,0 @@ - -// stdafx.cpp : source file that includes just the standard includes -// 9111int.pch will be the pre-compiled header -// stdafx.obj will contain the pre-compiled type information - -#include "stdafx.h" - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AODma_SimuWrites/stdafx.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AODma_SimuWrites/stdafx.h deleted file mode 100644 index 12123e2..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AODma_SimuWrites/stdafx.h +++ /dev/null @@ -1,60 +0,0 @@ - -// stdafx.h : include file for standard system include files, -// or project specific include files that are used frequently, -// but are changed infrequently - -#pragma once - -#ifndef _SECURE_ATL -#define _SECURE_ATL 1 -#endif - -#ifndef VC_EXTRALEAN -#define VC_EXTRALEAN // Exclude rarely-used stuff from Windows headers -#endif - -#include "targetver.h" - -#define _ATL_CSTRING_EXPLICIT_CONSTRUCTORS // some CString constructors will be explicit - -// turns off MFC's hiding of some common and often safely ignored warning messages -#define _AFX_ALL_WARNINGS - -#include // MFC core and standard components -#include // MFC extensions - - -#include // MFC Automation classes - - - -#ifndef _AFX_NO_OLE_SUPPORT -#include // MFC support for Internet Explorer 4 Common Controls -#endif -#ifndef _AFX_NO_AFXCMN_SUPPORT -#include // MFC support for Windows Common Controls -#endif // _AFX_NO_AFXCMN_SUPPORT - -#include // MFC support for ribbons and control bars - - - - - - - - - -#ifdef _UNICODE -#if defined _M_IX86 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='x86' publicKeyToken='6595b64144ccf1df' language='*'\"") -#elif defined _M_IA64 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='ia64' publicKeyToken='6595b64144ccf1df' language='*'\"") -#elif defined _M_X64 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='amd64' publicKeyToken='6595b64144ccf1df' language='*'\"") -#else -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='*' publicKeyToken='6595b64144ccf1df' language='*'\"") -#endif -#endif - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AODma_SimuWrites/targetver.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AODma_SimuWrites/targetver.h deleted file mode 100644 index 11730d5..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AODma_SimuWrites/targetver.h +++ /dev/null @@ -1,26 +0,0 @@ - -#pragma once - -// The following macros define the minimum required platform. The minimum required platform -// is the earliest version of Windows, Internet Explorer etc. that has the necessary features to run -// your application. The macros work by enabling all features available on platform versions up to and -// including the version specified. - -// Modify the following defines if you have to target a platform prior to the ones specified below. -// Refer to MSDN for the latest info on corresponding values for different platforms. -#ifndef WINVER // Specifies that the minimum required platform is Windows Vista. -#define WINVER 0x0600 // Change this to the appropriate value to target other versions of Windows. -#endif - -#ifndef _WIN32_WINNT // Specifies that the minimum required platform is Windows Vista. -#define _WIN32_WINNT 0x0600 // Change this to the appropriate value to target other versions of Windows. -#endif - -#ifndef _WIN32_WINDOWS // Specifies that the minimum required platform is Windows 98. -#define _WIN32_WINDOWS 0x0410 // Change this to the appropriate value to target Windows Me or later. -#endif - -#ifndef _WIN32_IE // Specifies that the minimum required platform is Internet Explorer 7.0. -#define _WIN32_IE 0x0700 // Change this to the appropriate value to target other versions of IE. -#endif - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AODma_WaveRepeat/9111DbInt.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AODma_WaveRepeat/9111DbInt.suo deleted file mode 100644 index 3fde864..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AODma_WaveRepeat/9111DbInt.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AODma_WaveRepeat/9111PostTg.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AODma_WaveRepeat/9111PostTg.suo deleted file mode 100644 index c59a833..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AODma_WaveRepeat/9111PostTg.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AODma_WaveRepeat/9111int.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AODma_WaveRepeat/9111int.suo deleted file mode 100644 index aaca7d8..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AODma_WaveRepeat/9111int.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AODma_WaveRepeat/9116cdma.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AODma_WaveRepeat/9116cdma.suo deleted file mode 100644 index df9f193..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AODma_WaveRepeat/9116cdma.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AODma_WaveRepeat/9118cdma.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AODma_WaveRepeat/9118cdma.suo deleted file mode 100644 index 9318437..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AODma_WaveRepeat/9118cdma.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AODma_WaveRepeat/9221cdma.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AODma_WaveRepeat/9221cdma.suo deleted file mode 100644 index 9cb61ca..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AODma_WaveRepeat/9221cdma.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AODma_WaveRepeat/9222cdma.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AODma_WaveRepeat/9222cdma.cpp deleted file mode 100644 index 7ddb019..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AODma_WaveRepeat/9222cdma.cpp +++ /dev/null @@ -1,109 +0,0 @@ - -// 9222cdma.cpp : Defines the class behaviors for the application. -// - -#include "stdafx.h" -#include "9222cdma.h" -#include "9222cdmaDlg.h" -#include "CardIDDlg.h" - -#ifdef _DEBUG -#define new DEBUG_NEW -#endif - - -// C9222cdmaApp - -BEGIN_MESSAGE_MAP(C9222cdmaApp, CWinAppEx) - ON_COMMAND(ID_HELP, &CWinApp::OnHelp) -END_MESSAGE_MAP() - - -// C9222cdmaApp construction - -C9222cdmaApp::C9222cdmaApp() -{ - // TODO: add construction code here, - // Place all significant initialization in InitInstance -} - - -// The one and only C9222cdmaApp object - -C9222cdmaApp theApp; - - -// C9222cdmaApp initialization - -BOOL C9222cdmaApp::InitInstance() -{ - int nCardID = 0; - I16 hCard; - CString strTemp; - INT_PTR nResponse; - - // InitCommonControlsEx() is required on Windows XP if an application - // manifest specifies use of ComCtl32.dll version 6 or later to enable - // visual styles. Otherwise, any window creation will fail. - INITCOMMONCONTROLSEX InitCtrls; - InitCtrls.dwSize = sizeof(InitCtrls); - // Set this to include all the common control classes you want to use - // in your application. - InitCtrls.dwICC = ICC_WIN95_CLASSES; - InitCommonControlsEx(&InitCtrls); - - CWinAppEx::InitInstance(); - - AfxEnableControlContainer(); - - // Standard initialization - // If you are not using these features and wish to reduce the size - // of your final executable, you should remove from the following - // the specific initialization routines you do not need - // Change the registry key under which our settings are stored - // TODO: You should modify this string to be something appropriate - // such as the name of your company or organization - SetRegistryKey(_T("Local AppWizard-Generated Applications")); - - CCardIDDlg CardDlg( nCardID ); - - nResponse = CardDlg.DoModal(); - if (nResponse == IDOK) - { - nCardID = CardDlg.GetCardID(); - - if ((hCard=Register_Card(PCI_9222, nCardID)) < 0) - { - strTemp.Format( TEXT("Register_Card Error = %d"), hCard); - AfxMessageBox( strTemp ); - } - else - { - C9222cdmaDlg dlg(hCard); - m_pMainWnd = &dlg; - nResponse = dlg.DoModal(); - if (nResponse == IDOK) - { - // TODO: Place code here to handle when the dialog is - // dismissed with OK - } - else if (nResponse == IDCANCEL) - { - // TODO: Place code here to handle when the dialog is - // dismissed with Cancel - } - - if (hCard >= 0) Release_Card(hCard); - } - - } - else if (nResponse == IDCANCEL) - { - // TODO: Place code here to handle when the dialog is - // dismissed with Cancel - } - - // Since the dialog has been closed, return FALSE so that we exit the - // application, rather than start the application's message pump. - return FALSE; -} diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AODma_WaveRepeat/9222cdma.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AODma_WaveRepeat/9222cdma.h deleted file mode 100644 index 16a6900..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AODma_WaveRepeat/9222cdma.h +++ /dev/null @@ -1,34 +0,0 @@ - -// 9222cdma.h : main header file for the PROJECT_NAME application -// - -#pragma once - -#ifndef __AFXWIN_H__ - #error "include 'stdafx.h' before including this file for PCH" -#endif - -#include "resource.h" // main symbols - -#define AI_MODE_DMA 0 -#define AI_MODE_INT 1 - -// C9222cdmaApp: -// See 9222cdma.cpp for the implementation of this class -// - -class C9222cdmaApp : public CWinAppEx -{ -public: - C9222cdmaApp(); - -// Overrides - public: - virtual BOOL InitInstance(); - -// Implementation - - DECLARE_MESSAGE_MAP() -}; - -extern C9222cdmaApp theApp; \ No newline at end of file diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AODma_WaveRepeat/9222cdma.rc b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AODma_WaveRepeat/9222cdma.rc deleted file mode 100644 index cda0c23..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AODma_WaveRepeat/9222cdma.rc +++ /dev/null @@ -1,284 +0,0 @@ -// Microsoft Visual C++ generated resource script. -// -#include "resource.h" - -#define APSTUDIO_READONLY_SYMBOLS -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 2 resource. -// -#ifndef APSTUDIO_INVOKED -#include "targetver.h" -#endif -#include "afxres.h" - -///////////////////////////////////////////////////////////////////////////// -#undef APSTUDIO_READONLY_SYMBOLS - -///////////////////////////////////////////////////////////////////////////// -// Chinese (Taiwan) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_CHT) -#ifdef _WIN32 -LANGUAGE LANG_CHINESE, SUBLANG_CHINESE_TRADITIONAL -#pragma code_page(950) -#endif //_WIN32 - -#ifdef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// TEXTINCLUDE -// - -1 TEXTINCLUDE -BEGIN - "resource.h\0" -END - -2 TEXTINCLUDE -BEGIN - "#ifndef APSTUDIO_INVOKED\r\n" - "#include ""targetver.h""\r\n" - "#endif\r\n" - "#include ""afxres.h""\r\n" - "\0" -END - -3 TEXTINCLUDE -BEGIN - "#define _AFX_NO_SPLITTER_RESOURCES\r\n" - "#define _AFX_NO_OLE_RESOURCES\r\n" - "#define _AFX_NO_TRACKER_RESOURCES\r\n" - "#define _AFX_NO_PROPERTY_RESOURCES\r\n" - "\r\n" - "#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)\r\n" - "LANGUAGE 9, 1\r\n" - "#pragma code_page(1252)\r\n" - "#include ""res\\My9222cdma.rc2"" // non-Microsoft Visual C++ edited resources\r\n" - "#include ""afxres.rc"" // Standard components\r\n" - "#endif\r\n" - "\0" -END - -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// Icon -// - -// Icon with lowest ID value placed first to ensure application icon -// remains consistent on all systems. -IDR_MAINFRAME ICON "res\\9222cdma.ico" -#endif // Chinese (Taiwan) resources -///////////////////////////////////////////////////////////////////////////// - - -///////////////////////////////////////////////////////////////////////////// -// English (U.S.) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -#ifdef _WIN32 -LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US -#pragma code_page(1252) -#endif //_WIN32 - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog -// - -IDD_ABOUTBOX DIALOGEX 0, 0, 170, 62 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "About 9222cdma" -FONT 8, "MS Shell Dlg", 0, 0, 0x1 -BEGIN - ICON IDR_MAINFRAME,IDC_STATIC,14,14,21,20 - LTEXT "9222cdma, Version 1.0",IDC_STATIC,42,14,114,8,SS_NOPREFIX - LTEXT "Copyright (C) 2010",IDC_STATIC,42,26,114,8 - DEFPUSHBUTTON "OK",IDOK,113,41,50,14,WS_GROUP -END - -IDD_9222DMA_DIALOG DIALOGEX 0, 0, 353, 239 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU -EXSTYLE WS_EX_APPWINDOW -CAPTION "PCI-9222 AO Repeat-Wave" -FONT 8, "MS Shell Dlg", 0, 0, 0x1 -BEGIN - GROUPBOX "",IDC_STATIC_DRAW,46,66,299,161,NOT WS_VISIBLE - LTEXT "Range : +/- 10V",IDC_STATIC,294,54,52,11 - LTEXT "Write Count :",IDC_STATIC,149,21,44,9 - EDITTEXT IDC_EDIT_SCAN_ITERVAL,63,36,49,14,ES_AUTOHSCROLL | ES_READONLY - LTEXT "Update Interval :",IDC_STATIC,65,21,57,9 - SCROLLBAR IDC_SCROLLBAR_RATE,113,36,9,11,SBS_VERT - PUSHBUTTON "Start",IDC_BT_START,227,28,55,22 - EDITTEXT IDC_EDIT_BUF_SIZE,143,36,51,14,ES_AUTOHSCROLL - PUSHBUTTON "Stop",IDC_BT_STOP,289,28,55,22 - LTEXT "Please check the AO0 (pin-16) to AI0 (pin-34) , and the analog output will be loggeg in following panel.",IDC_STATIC,16,7,328,15 -END - -IDD_CARDID_DIALOG DIALOGEX 0, 0, 174, 96 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "Card ID" -FONT 8, "MS Shell Dlg", 400, 0, 0x1 -BEGIN - COMBOBOX IDC_COMBO_CARDID,78,24,71,126,CBS_DROPDOWN | WS_VSCROLL | WS_TABSTOP - LTEXT "Card Number",IDC_STATIC_01,23,25,46,12 - PUSHBUTTON "OK",IDOK,22,59,58,19 - PUSHBUTTON "CANCEL",IDCANCEL,86,59,58,19 -END - - -///////////////////////////////////////////////////////////////////////////// -// -// Version -// - -VS_VERSION_INFO VERSIONINFO - FILEVERSION 1,0,0,1 - PRODUCTVERSION 1,0,0,1 - FILEFLAGSMASK 0x3fL -#ifdef _DEBUG - FILEFLAGS 0x1L -#else - FILEFLAGS 0x0L -#endif - FILEOS 0x4L - FILETYPE 0x1L - FILESUBTYPE 0x0L -BEGIN - BLOCK "StringFileInfo" - BEGIN - BLOCK "040904e4" - BEGIN - VALUE "CompanyName", "TODO: " - VALUE "FileDescription", "TODO: " - VALUE "FileVersion", "1.0.0.1" - VALUE "InternalName", "9222cdma.exe" - VALUE "LegalCopyright", "TODO: (c) . All rights reserved." - VALUE "OriginalFilename", "9222cdma.exe" - VALUE "ProductName", "TODO: " - VALUE "ProductVersion", "1.0.0.1" - END - END - BLOCK "VarFileInfo" - BEGIN - VALUE "Translation", 0x409, 1252 - END -END - - -///////////////////////////////////////////////////////////////////////////// -// -// DESIGNINFO -// - -#ifdef APSTUDIO_INVOKED -GUIDELINES DESIGNINFO -BEGIN - IDD_ABOUTBOX, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 163 - TOPMARGIN, 7 - BOTTOMMARGIN, 55 - END - - IDD_CARDID_DIALOG, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 167 - TOPMARGIN, 7 - BOTTOMMARGIN, 89 - END -END -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog Info -// - -IDD_CARDID_DIALOG DLGINIT -BEGIN - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0030, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0031, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0032, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0033, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0034, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0035, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0036, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0037, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0038, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0039, - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3031, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3131, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3231, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3331, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3431, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3531, "\000" - 0 -END - - -///////////////////////////////////////////////////////////////////////////// -// -// Bitmap -// - -IDB_BITMAP_SET1 BITMAP "res\\ch_set1.bmp" -IDB_BITMAP_SET2 BITMAP "res\\ch_set2.bmp" - -///////////////////////////////////////////////////////////////////////////// -// -// String Table -// - -STRINGTABLE -BEGIN - IDS_ABOUTBOX "&About 9222cdma..." -END - -#endif // English (U.S.) resources -///////////////////////////////////////////////////////////////////////////// - - - -#ifndef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 3 resource. -// -#define _AFX_NO_SPLITTER_RESOURCES -#define _AFX_NO_OLE_RESOURCES -#define _AFX_NO_TRACKER_RESOURCES -#define _AFX_NO_PROPERTY_RESOURCES - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -LANGUAGE 9, 1 -#pragma code_page(1252) -#include "res\My9222cdma.rc2" // non-Microsoft Visual C++ edited resources -#include "afxres.rc" // Standard components -#endif - -///////////////////////////////////////////////////////////////////////////// -#endif // not APSTUDIO_INVOKED - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AODma_WaveRepeat/9222cdma.sln b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AODma_WaveRepeat/9222cdma.sln deleted file mode 100644 index dab32f7..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AODma_WaveRepeat/9222cdma.sln +++ /dev/null @@ -1,20 +0,0 @@ - -Microsoft Visual Studio Solution File, Format Version 10.00 -# Visual Studio 2008 -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "9222cdma", "9222cdma.vcproj", "{702163FB-B6DF-4EF5-9491-FC54D71509BC}" -EndProject -Global - GlobalSection(SolutionConfigurationPlatforms) = preSolution - Debug|x64 = Debug|x64 - Release|x64 = Release|x64 - EndGlobalSection - GlobalSection(ProjectConfigurationPlatforms) = postSolution - {702163FB-B6DF-4EF5-9491-FC54D71509BC}.Debug|x64.ActiveCfg = Debug|x64 - {702163FB-B6DF-4EF5-9491-FC54D71509BC}.Debug|x64.Build.0 = Debug|x64 - {702163FB-B6DF-4EF5-9491-FC54D71509BC}.Release|x64.ActiveCfg = Release|x64 - {702163FB-B6DF-4EF5-9491-FC54D71509BC}.Release|x64.Build.0 = Release|x64 - EndGlobalSection - GlobalSection(SolutionProperties) = preSolution - HideSolutionNode = FALSE - EndGlobalSection -EndGlobal diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AODma_WaveRepeat/9222cdma.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AODma_WaveRepeat/9222cdma.suo deleted file mode 100644 index cde6650..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AODma_WaveRepeat/9222cdma.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AODma_WaveRepeat/9222cdma.vcproj b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AODma_WaveRepeat/9222cdma.vcproj deleted file mode 100644 index 6564bd4..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AODma_WaveRepeat/9222cdma.vcproj +++ /dev/null @@ -1,294 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AODma_WaveRepeat/9222cdmaDlg.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AODma_WaveRepeat/9222cdmaDlg.cpp deleted file mode 100644 index 6062b75..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AODma_WaveRepeat/9222cdmaDlg.cpp +++ /dev/null @@ -1,665 +0,0 @@ - -// 9222cdmaDlg.cpp : implementation file -// - -#include "stdafx.h" -#include "9222cdma.h" -#include "9222cdmaDlg.h" -#include "math.h" - -#ifdef _DEBUG -#define new DEBUG_NEW -#endif - -#ifndef M_PI -#define M_PI 3.14159265359 -#endif - -#define P922X_TIMEBASE 80000000.0 -#define AI_READ_COUNT 8000 -#define AI_SAMPLE_INTERV 10000 - -CRect plotRect; - -// CAboutDlg dialog used for App About - -class CAboutDlg : public CDialog -{ -public: - CAboutDlg(); - -// Dialog Data - enum { IDD = IDD_ABOUTBOX }; - - protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - -// Implementation -protected: - DECLARE_MESSAGE_MAP() -}; - -CAboutDlg::CAboutDlg() : CDialog(CAboutDlg::IDD) -{ -} - -void CAboutDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); -} - -BEGIN_MESSAGE_MAP(CAboutDlg, CDialog) -END_MESSAGE_MAP() - - -// C9222cdmaDlg dialog - - - - -C9222cdmaDlg::C9222cdmaDlg(I16 hCard, CWnd* pParent /*=NULL*/) - : CDialog(C9222cdmaDlg::IDD, pParent) -{ - m_hIcon = AfxGetApp()->LoadIcon(IDR_MAINFRAME); - - n_PlotWidth = n_PlotHeight = -1; - OnBrush = OffBrush = NULL; - - min_val = 0x00; - max_val = 0xFFFF; - - m_dwSampIntrv = 10000; - - m_hCard = hCard; - - m_nTimer = -1; - m_hAIMem1 = NULL; - m_hAIMem2 = NULL; - - m_hAOMem1 = NULL; - m_hAOMem2 = NULL; - - m_wRange = AD_B_10_V; - max_range = 10.0; - min_range = -10.0; - - m_dwWriteCount = 4096; - m_wPostCount = 512; - - m_dwOverrunCnt = 0; - - -} - -void C9222cdmaDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); -} - -BEGIN_MESSAGE_MAP(C9222cdmaDlg, CDialog) - ON_WM_SYSCOMMAND() - ON_WM_PAINT() - ON_WM_QUERYDRAGICON() - //}}AFX_MSG_MAP - ON_WM_DESTROY() - ON_WM_VSCROLL() - ON_BN_CLICKED(IDC_BT_START, &C9222cdmaDlg::OnStart) - ON_BN_CLICKED(IDC_BT_STOP, &C9222cdmaDlg::OnStop) - ON_WM_TIMER() -END_MESSAGE_MAP() - - -// C9222cdmaDlg message handlers - -BOOL C9222cdmaDlg::OnInitDialog() -{ - CDialog::OnInitDialog(); - - // Add "About..." menu item to system menu. - - // IDM_ABOUTBOX must be in the system command range. - ASSERT((IDM_ABOUTBOX & 0xFFF0) == IDM_ABOUTBOX); - ASSERT(IDM_ABOUTBOX < 0xF000); - - CMenu* pSysMenu = GetSystemMenu(FALSE); - if (pSysMenu != NULL) - { - BOOL bNameValid; - CString strAboutMenu; - bNameValid = strAboutMenu.LoadString(IDS_ABOUTBOX); - ASSERT(bNameValid); - if (!strAboutMenu.IsEmpty()) - { - pSysMenu->AppendMenu(MF_SEPARATOR); - pSysMenu->AppendMenu(MF_STRING, IDM_ABOUTBOX, strAboutMenu); - } - } - - // Set the icon for this dialog. The framework does this automatically - // when the application's main window is not a dialog - SetIcon(m_hIcon, TRUE); // Set big icon - SetIcon(m_hIcon, FALSE); // Set small icon - - // TODO: Add extra initialization here - x_divider = 5; y_divider = 4; - - OnBrush = CreateSolidBrush( RGB(255,0,0) ); - OffBrush = CreateSolidBrush( RGB(125,0,0) ); - - RedPen.CreatePen( PS_SOLID, 1, RGB(255,0,0)); - GreenPen.CreatePen( PS_SOLID, 1, RGB(0,255,0)); - YellowPen.CreatePen( PS_SOLID, 1, RGB(255,255,0)); - BluePen.CreatePen( PS_SOLID, 1, RGB(0,0,255)); - LTBluePen.CreatePen( PS_SOLID, 1, RGB(0,128,255)); - LTRedPen.CreatePen( PS_SOLID, 1, RGB(255,128,0)); - LTGreenPen.CreatePen( PS_SOLID, 1, RGB(0,128,0)); - WhitePen.CreatePen( PS_SOLID, 1, RGB(255,255,255)); - - - if( n_PlotWidth == -1 && n_PlotHeight == -1 ) - { - ((CWnd*)GetDlgItem(IDC_STATIC_DRAW))->GetWindowRect(&plotRect); - ScreenToClient(&plotRect); - - n_PlotWidth = min( plotRect.Width(), 512); - n_PlotHeight = plotRect.Height() - 10; - } - - // set the default SampleRate - - SetDlgItemInt( IDC_EDIT_BUF_SIZE, (UINT)(m_dwWriteCount) ); - SetDlgItemInt( IDC_EDIT_SCAN_ITERVAL, (UINT)(m_dwSampIntrv) ); - - return TRUE; // return TRUE unless you set the focus to a control -} - -void C9222cdmaDlg::OnSysCommand(UINT nID, LPARAM lParam) -{ - if ((nID & 0xFFF0) == IDM_ABOUTBOX) - { - CAboutDlg dlgAbout; - dlgAbout.DoModal(); - } - else - { - CDialog::OnSysCommand(nID, lParam); - } -} - -// If you add a minimize button to your dialog, you will need the code below -// to draw the icon. For MFC applications using the document/view model, -// this is automatically done for you by the framework. - -void C9222cdmaDlg::OnPaint() -{ - if (IsIconic()) - { - CPaintDC dc(this); // device context for painting - - SendMessage(WM_ICONERASEBKGND, reinterpret_cast(dc.GetSafeHdc()), 0); - - // Center icon in client rectangle - int cxIcon = GetSystemMetrics(SM_CXICON); - int cyIcon = GetSystemMetrics(SM_CYICON); - CRect rect; - GetClientRect(&rect); - int x = (rect.Width() - cxIcon + 1) / 2; - int y = (rect.Height() - cyIcon + 1) / 2; - - // Draw the icon - dc.DrawIcon(x, y, m_hIcon); - } - else - { - redraw_display_area(); - CDialog::OnPaint(); - } -} - -// The system calls this function to obtain the cursor to display while the user drags -// the minimized window. -HCURSOR C9222cdmaDlg::OnQueryDragIcon() -{ - return static_cast(m_hIcon); -} - - -void C9222cdmaDlg::redraw_display_area(void) -{ - CPen *oldPen; - - int oldMode; - COLORREF oldColor; - - CString y_lable; - - CPen minor_tick( PS_SOLID,1,RGB(132,130,132) ); -// CPen y_grid( PS_SOLID,1,RGB(206,203,132) ); - - int i, x_intv, y_intv; -// long total_sec; - - CClientDC dc_plot(this); - - // draw the base-line for x-y axises - oldPen = (CPen *)dc_plot.SelectStockObject(BLACK_PEN); - - // redraw the background - dc_plot.FillSolidRect( plotRect, RGB(0,0,0) ); - - // Re-Draw the AREA for Y-Lable - { - CBrush DIALOG_BRUSH; - CRect redraw_area, full_client; - - GetClientRect(&full_client); - ScreenToClient(&full_client); - - redraw_area.left = full_client.left; - redraw_area.top = plotRect.top - 5; - redraw_area.right = plotRect.left - 3; - redraw_area.bottom = plotRect.bottom + 10; - - DIALOG_BRUSH.CreateSysColorBrush( COLOR_3DFACE ); - - dc_plot.FillRect( redraw_area, &DIALOG_BRUSH ); - - DIALOG_BRUSH.DeleteObject(); - } - - dc_plot.MoveTo( plotRect.left - 3, plotRect.top ); - dc_plot.LineTo( plotRect.left - 3, plotRect.bottom ); - - // calculate the interval for tick/grid - y_intv = (plotRect.Height() - 10) /y_divider; - x_intv = plotRect.Width()/x_divider; - - - // set the color for tick - oldColor = dc_plot.SetTextColor( RGB(0,0,0) ); - oldMode = dc_plot.SetBkMode( TRANSPARENT ); - - for( i=0; i<= y_divider; i++ ) - { - CString tick_str; - CRect tmp_rect, tick_rect; - - // draw the tick for y-axis - dc_plot.MoveTo( plotRect.left -12, plotRect.bottom -5 - (i*y_intv) ); - dc_plot.LineTo( plotRect.left -3, plotRect.bottom -5 - (i*y_intv) ); - - tick_str.Format( _T("%.1f"), ( ((max_range-min_range)/y_divider) * i)+min_range ); - - // calculate the rectangle for text - dc_plot.DrawText( tick_str, &tmp_rect, DT_CALCRECT|DT_SINGLELINE ); - tick_rect.right = plotRect.left -14; - tick_rect.left = tick_rect.right - tmp_rect.Width(); - tick_rect.top = plotRect.bottom -5 - (i*y_intv) - tmp_rect.Height()/2; - tick_rect.bottom = tick_rect.top + tmp_rect.Height(); - - // draw the text - dc_plot.DrawText( tick_str, &tick_rect, DT_SINGLELINE|DT_RIGHT ); - - } - - // draw the minor_tick for Y axises - dc_plot.SelectObject(&minor_tick); - for( i=0; i< y_divider; i++ ) - { - dc_plot.MoveTo( plotRect.left -9, plotRect.bottom -5 - (i*y_intv) - y_intv/2 ); - dc_plot.LineTo( plotRect.left -4, plotRect.bottom -5 - (i*y_intv) - y_intv/2 ); - } - - dc_plot.SetTextColor( oldColor ); - dc_plot.SetBkMode( oldMode ); - dc_plot.SelectObject( oldPen ); -} - -void C9222cdmaDlg::OnDestroy() -{ - CDialog::OnDestroy(); - - // TODO: Add your message handler code here - if( m_nTimer != -1 ) - { - KillTimer( m_nTimer ); - m_nTimer = -1; - } - - // AI buffer - if (m_hAIMem1 != NULL) - { - GlobalUnfix(m_hAIMem1); - GlobalUnlock(m_hAIMem1); - GlobalFree(m_hAIMem1); - - m_hAIMem1 = NULL; - } - - if (m_hAIMem2 != NULL) - { - GlobalUnfix(m_hAIMem2); - GlobalUnlock(m_hAIMem2); - GlobalFree(m_hAIMem2); - - m_hAIMem2 = NULL; - } - - - if( OnBrush != NULL ) - ::DeleteObject( OnBrush ); - - if( OffBrush != NULL ) - ::DeleteObject( OffBrush ); - - RedPen.DeleteObject(); - GreenPen.DeleteObject(); - YellowPen.DeleteObject(); - BluePen.DeleteObject(); - LTBluePen.DeleteObject(); - LTRedPen.DeleteObject(); - LTGreenPen.DeleteObject(); - WhitePen.DeleteObject(); - -} - -void C9222cdmaDlg::OnVScroll(UINT nSBCode, UINT nPos, CScrollBar* pScrollBar) -{ - // TODO: Add your message handler code here and/or call default - switch ( nSBCode ) - { - case SB_LINEUP : - m_dwSampIntrv += 160; - if (m_dwSampIntrv > 40000 ) m_dwSampIntrv = 40000; - break; - case SB_LINEDOWN: - m_dwSampIntrv -= 160; - if (m_dwSampIntrv < 80 ) m_dwSampIntrv = 80; - break; - } - - SetDlgItemInt( IDC_EDIT_SCAN_ITERVAL, (UINT)(m_dwSampIntrv) ); - - CDialog::OnVScroll(nSBCode, nPos, pScrollBar); -} - - -void C9222cdmaDlg::OnStop() -{ - // TODO: Add your control notification handler code here - U32 count; - - if( m_nTimer != -1 ) - { - KillTimer( m_nTimer ); - m_nTimer = -1; - } - - AI_AsyncClear(m_hCard, &count); - AO_AsyncClear(m_hCard, &count, 0); - - GetDlgItem( IDC_BT_START )->EnableWindow(TRUE); -} - -void C9222cdmaDlg::OnStart() -{ - // TODO: Add your control notification handler code here - DWORD mem_size; - CString strTemp; - I16 err; - U32 vi; - double fTmp; - - GetDlgItem( IDC_BT_START )->EnableWindow(FALSE); - - /***************** begin of AI buffer setup *****************/ - if (m_hAIMem1 != NULL) - { - GlobalUnfix(m_hAIMem1); - GlobalUnlock(m_hAIMem1); - GlobalFree(m_hAIMem1); - - m_hAIMem1 = NULL; - } - - if (m_hAIMem2 != NULL) - { - GlobalUnfix(m_hAIMem2); - GlobalUnlock(m_hAIMem2); - GlobalFree(m_hAIMem2); - - m_hAIMem2 = NULL; - } - - // allocate a memory for user DMA buffer - mem_size = AI_READ_COUNT * sizeof(I16); - - m_hAIMem1 = GlobalAlloc(GMEM_FIXED | GMEM_ZEROINIT, mem_size); - m_pAIBuf1 = (U16*) GlobalLock(m_hAIMem1); - if (m_pAIBuf1 == NULL ) - { - AfxMessageBox( TEXT("AI Memory allocation failed"), MB_OK); - return; - } - GlobalFix(m_hAIMem1); - - m_hAIMem2 = GlobalAlloc(GMEM_FIXED | GMEM_ZEROINIT, mem_size); - m_pAIBuf2 = (U16*) GlobalLock(m_hAIMem2); - if (m_pAIBuf2 == NULL ) - { - AfxMessageBox( TEXT("AI Memory allocation failed"), MB_OK); - return; - } - GlobalFix(m_hAIMem2); - - /***************** end of AI buffer setup *****************/ - - /***************** begin of AO buffer setup *****************/ - m_dwWriteCount = GetDlgItemInt(IDC_EDIT_BUF_SIZE); - - if (m_hAOMem1 != NULL) - { - GlobalUnfix(m_hAOMem1); - GlobalUnlock(m_hAOMem1); - GlobalFree(m_hAOMem1); - - m_hAOMem1 = NULL; - } - - if (m_hAOMem2 != NULL) - { - GlobalUnfix(m_hAOMem2); - GlobalUnlock(m_hAOMem2); - GlobalFree(m_hAOMem2); - - m_hAOMem2 = NULL; - } - - // allocate a memory for user DMA buffer - mem_size = m_dwWriteCount * sizeof(U32); - - m_hAOMem1 = GlobalAlloc(GMEM_FIXED | GMEM_ZEROINIT, mem_size); - m_pAOBuf1 = (U32*) GlobalLock(m_hAOMem1); - if (m_pAOBuf1 == NULL ) - { - AfxMessageBox( TEXT("AO Memory allocation failed"), MB_OK); - return; - } - GlobalFix(m_hAOMem1); - - for(vi=0; vi> 16) ); // ( n_PlotHeight * ai_data / 65536) ); // ( (n_PlotHeight/2) * ai_data/32768 ) ); - newX = (int)( index*n_PlotWidth/dwDataSize + plotRect.left ); - - if ( index == 0 ) - { - dc_plot.MoveTo( newX, newY ); - } - else - { - dc_plot.MoveTo( m_oldX[cur_channel], m_oldY[cur_channel] ); - dc_plot.LineTo( newX, newY ); - } - - m_oldX[cur_channel] = newX; - m_oldY[cur_channel] = newY; - } - - return 0; -} - -void C9222cdmaDlg::OnTimer(UINT_PTR nIDEvent) -{ - // TODO: Add your message handler code here and/or call default - BOOLEAN HalfReady; - BOOLEAN fstop; - U16 OverrunFlag; - - AI_AsyncDblBufferHalfReady(m_hCard, &HalfReady, &fstop); - - if( HalfReady ) // half-buffer ready - { - if(m_bView == 0) - { - display_buffer_data( m_pAIBuf1 ); - m_bView = 1; - } - else - { - display_buffer_data( m_pAIBuf2 ); - m_bView= 0; - } - - AI_AsyncDblBufferHandled( m_hCard ); - AI_AsyncDblBufferOverrun( m_hCard, 0, &OverrunFlag); - - if(OverrunFlag) - { - m_dwOverrunCnt++; - AI_AsyncDblBufferOverrun( m_hCard, 1, NULL ); - } - - - } - - CDialog::OnTimer(nIDEvent); -} - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AODma_WaveRepeat/9222cdmaDlg.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AODma_WaveRepeat/9222cdmaDlg.h deleted file mode 100644 index 2d7b972..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AODma_WaveRepeat/9222cdmaDlg.h +++ /dev/null @@ -1,83 +0,0 @@ - -// 9222cdmaDlg.h : header file -#pragma once -#include "afxcmn.h" -#include "afxwin.h" - -#include "Dask64.h" - -// C9222cdmaDlg dialog -class C9222cdmaDlg : public CDialog -{ -// Construction -public: - C9222cdmaDlg(I16 hCard, CWnd* pParent = NULL); // standard constructor - -// Dialog Data - enum { IDD = IDD_9222DMA_DIALOG }; - - protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - - -// Implementation -protected: - HICON m_hIcon; - UINT_PTR m_nTimer; - I16 m_hCard; - U32 m_dwSampIntrv; - HANDLE m_hAIMem1; - HANDLE m_hAIMem2; - U16 *m_pAIBuf1; - U16 *m_pAIBuf2; - U16 m_wAIBufID1; - U16 m_wAIBufID2; - HANDLE m_hAOMem1; - HANDLE m_hAOMem2; - U32 *m_pAOBuf1; - U32 *m_pAOBuf2; - U16 m_wAOBufID1; - U16 m_wAOBufID2; - U16 m_wRange; - int m_oldY[8]; - int m_oldX[8]; - U32 m_dwWriteCount; - U16 m_wPostCount; - U8 m_bView; - U32 m_dwOverrunCnt; - - // Generated message map functions - virtual BOOL OnInitDialog(); - afx_msg void OnSysCommand(UINT nID, LPARAM lParam); - afx_msg void OnPaint(); - afx_msg HCURSOR OnQueryDragIcon(); - DECLARE_MESSAGE_MAP() - -public: - WORD max_val; - WORD min_val; - double max_range; - double min_range; - int n_PlotWidth; - int n_PlotHeight; - int y_divider; - int x_divider; - int m_DisplayScale; - HBRUSH OnBrush; - HBRUSH OffBrush; - CPen RedPen; - CPen GreenPen; - CPen YellowPen; - CPen BluePen; - CPen LTBluePen; - CPen LTRedPen; - CPen LTGreenPen; - CPen WhitePen; - void redraw_display_area(void); - afx_msg void OnDestroy(); - afx_msg void OnVScroll(UINT nSBCode, UINT nPos, CScrollBar* pScrollBar); - afx_msg void OnStart(); - int display_buffer_data(U16* pBuf); - afx_msg void OnTimer(UINT_PTR nIDEvent); - afx_msg void OnStop(); -}; diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AODma_WaveRepeat/CardIDDlg.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AODma_WaveRepeat/CardIDDlg.cpp deleted file mode 100644 index 55c0363..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AODma_WaveRepeat/CardIDDlg.cpp +++ /dev/null @@ -1,64 +0,0 @@ -// CardIDDlg.cpp : implementation file -// -#include "stdafx.h" -#include "9222cdma.h" -#include "9222cdmaDlg.h" -#include "CardIDDlg.h" - -// CCardIDDlg dialog - -IMPLEMENT_DYNAMIC(CCardIDDlg, CDialog) - -CCardIDDlg::CCardIDDlg(int nCardIdx, CWnd* pParent /*=NULL*/) - : CDialog(CCardIDDlg::IDD, pParent) -{ - m_nCardIdx = nCardIdx; -} - -CCardIDDlg::~CCardIDDlg() -{ -} - -void CCardIDDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); - DDX_Control(pDX, IDC_COMBO_CARDID, m_cbCardID); -} - - -BEGIN_MESSAGE_MAP(CCardIDDlg, CDialog) -// ON_CBN_SELCHANGE(IDC_COMBO_CARDID, &CCardIDDlg::OnCbnSelchangeComboCardid) -ON_BN_CLICKED(IDOK, &CCardIDDlg::OnBnClickedOk) -//ON_WM_CTLCOLOR() -END_MESSAGE_MAP() - - -// CCardIDDlg message handlers - - -void CCardIDDlg::OnBnClickedOk() -{ - // TODO: Add your control notification handler code here - -// UpdateData(TRUE); - m_nCardIdx = m_cbCardID.GetCurSel(); - - OnOK(); -} - -BOOL CCardIDDlg::OnInitDialog() -{ - CDialog::OnInitDialog(); - - // TODO: Add extra initialization here - m_cbCardID.SetCurSel( m_nCardIdx ); - - return TRUE; // return TRUE unless you set the focus to a control - // EXCEPTION: OCX Property Pages should return FALSE -} - -// the function to get the selected CardID -int CCardIDDlg::GetCardID(void) -{ - return m_nCardIdx; -} diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AODma_WaveRepeat/CardIDDlg.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AODma_WaveRepeat/CardIDDlg.h deleted file mode 100644 index 9c02c58..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AODma_WaveRepeat/CardIDDlg.h +++ /dev/null @@ -1,32 +0,0 @@ -#pragma once -#include "afxwin.h" - -#include "Dask64.h" - -// CCardIDDlg dialog - -class CCardIDDlg : public CDialog -{ - DECLARE_DYNAMIC(CCardIDDlg) - -public: - CCardIDDlg(int nCardIdx, CWnd* pParent = NULL); // standard constructor - virtual ~CCardIDDlg(); - -// Dialog Data - enum { IDD = IDD_CARDID_DIALOG }; - -protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - - DECLARE_MESSAGE_MAP() -public: - virtual BOOL OnInitDialog(); - afx_msg void OnBnClickedOk(); - // the setting of CardID ComboBox - int m_nCardIdx; - // the control of CardID ComboBox - CComboBox m_cbCardID; - // the function to get the selected CardID - int GetCardID(void); -}; diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AODma_WaveRepeat/ReadMe.txt b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AODma_WaveRepeat/ReadMe.txt deleted file mode 100644 index 6e83f34..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AODma_WaveRepeat/ReadMe.txt +++ /dev/null @@ -1,93 +0,0 @@ -================================================================================ - MICROSOFT FOUNDATION CLASS LIBRARY : 9222cdma Project Overview -=============================================================================== - -The application wizard has created this 9222cdma application for -you. This application not only demonstrates the basics of using the Microsoft -Foundation Classes but is also a starting point for writing your application. - -This file contains a summary of what you will find in each of the files that -make up your 9222cdma application. - -9222cdma.vcproj - This is the main project file for VC++ projects generated using an application wizard. - It contains information about the version of Visual C++ that generated the file, and - information about the platforms, configurations, and project features selected with the - application wizard. - -9222cdma.h - This is the main header file for the application. It includes other - project specific headers (including Resource.h) and declares the - C9222cdmaApp application class. - -9222cdma.cpp - This is the main application source file that contains the application - class C9222cdmaApp. - -9222cdma.rc - This is a listing of all of the Microsoft Windows resources that the - program uses. It includes the icons, bitmaps, and cursors that are stored - in the RES subdirectory. This file can be directly edited in Microsoft - Visual C++. Your project resources are in 1033. - -res\9222cdma.ico - This is an icon file, which is used as the application's icon. This - icon is included by the main resource file 9222cdma.rc. - -res\My9222cdma.rc2 - This file contains resources that are not edited by Microsoft - Visual C++. You should place all resources not editable by - the resource editor in this file. - - -///////////////////////////////////////////////////////////////////////////// - -The application wizard creates one dialog class: - -9222cdmaDlg.h, 9222cdmaDlg.cpp - the dialog - These files contain your C9222cdmaDlg class. This class defines - the behavior of your application's main dialog. The dialog's template is - in 9222cdma.rc, which can be edited in Microsoft Visual C++. - - -///////////////////////////////////////////////////////////////////////////// - -Other Features: - -ActiveX Controls - The application includes support to use ActiveX controls. - -///////////////////////////////////////////////////////////////////////////// - -Other standard files: - -StdAfx.h, StdAfx.cpp - These files are used to build a precompiled header (PCH) file - named 9222cdma.pch and a precompiled types file named StdAfx.obj. - -Resource.h - This is the standard header file, which defines new resource IDs. - Microsoft Visual C++ reads and updates this file. - -9222cdma.manifest - Application manifest files are used by Windows XP to describe an applications - dependency on specific versions of Side-by-Side assemblies. The loader uses this - information to load the appropriate assembly from the assembly cache or private - from the application. The Application manifest maybe included for redistribution - as an external .manifest file that is installed in the same folder as the application - executable or it may be included in the executable in the form of a resource. -///////////////////////////////////////////////////////////////////////////// - -Other notes: - -The application wizard uses "TODO:" to indicate parts of the source code you -should add to or customize. - -If your application uses MFC in a shared DLL, you will need -to redistribute the MFC DLLs. If your application is in a language -other than the operating system's locale, you will also have to -redistribute the corresponding localized resources MFC90XXX.DLL. -For more information on both of these topics, please see the section on -redistributing Visual C++ applications in MSDN documentation. - -///////////////////////////////////////////////////////////////////////////// diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AODma_WaveRepeat/res/9222cdma.ico b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AODma_WaveRepeat/res/9222cdma.ico deleted file mode 100644 index d56fbcd..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AODma_WaveRepeat/res/9222cdma.ico and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AODma_WaveRepeat/res/My9222cdma.rc2 b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AODma_WaveRepeat/res/My9222cdma.rc2 deleted file mode 100644 index 383cde2..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AODma_WaveRepeat/res/My9222cdma.rc2 +++ /dev/null @@ -1,13 +0,0 @@ -// -// My9111int.RC2 - resources Microsoft Visual C++ does not edit directly -// - -#ifdef APSTUDIO_INVOKED -#error this file is not editable by Microsoft Visual C++ -#endif //APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// Add manually edited resources here... - -///////////////////////////////////////////////////////////////////////////// diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AODma_WaveRepeat/res/ch_set1.bmp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AODma_WaveRepeat/res/ch_set1.bmp deleted file mode 100644 index f2374ed..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AODma_WaveRepeat/res/ch_set1.bmp and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AODma_WaveRepeat/res/ch_set2.bmp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AODma_WaveRepeat/res/ch_set2.bmp deleted file mode 100644 index 32d0915..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AODma_WaveRepeat/res/ch_set2.bmp and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AODma_WaveRepeat/resource.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AODma_WaveRepeat/resource.h deleted file mode 100644 index 3b3de56..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AODma_WaveRepeat/resource.h +++ /dev/null @@ -1,35 +0,0 @@ -//{{NO_DEPENDENCIES}} -// Microsoft Visual C++ generated include file. -// Used by 9222cdma.rc -// -#define IDM_ABOUTBOX 0x0010 -#define IDD_ABOUTBOX 100 -#define IDS_ABOUTBOX 101 -#define IDD_9222DMA_DIALOG 102 -#define IDR_MAINFRAME 128 -#define IDD_CARDID_DIALOG 129 -#define IDB_BITMAP_SET1 131 -#define IDB_BITMAP_SET2 132 -#define IDC_STATIC_DRAW 1000 -#define IDC_COMBO_CARDID 1001 -#define IDC_BT_STOP 1002 -#define IDC_COMBO_CARDTYPE 1003 -#define IDC_BT_START 1004 -#define IDC_EDIT_SCAN_ITERVAL 1005 -#define IDC_SCROLLBAR_RATE 1006 -#define IDC_STATIC_01 1007 -#define IDC_EDIT_BUF_SIZE 1008 -#define IDC_STATIC_2 1009 -#define IDC_EDIT1 1010 -#define IDC_EDIT_OVERRUN 1011 - -// Next default values for new objects -// -#ifdef APSTUDIO_INVOKED -#ifndef APSTUDIO_READONLY_SYMBOLS -#define _APS_NEXT_RESOURCE_VALUE 134 -#define _APS_NEXT_COMMAND_VALUE 32771 -#define _APS_NEXT_CONTROL_VALUE 1012 -#define _APS_NEXT_SYMED_VALUE 101 -#endif -#endif diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AODma_WaveRepeat/stdafx.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AODma_WaveRepeat/stdafx.cpp deleted file mode 100644 index ef80626..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AODma_WaveRepeat/stdafx.cpp +++ /dev/null @@ -1,8 +0,0 @@ - -// stdafx.cpp : source file that includes just the standard includes -// 9111int.pch will be the pre-compiled header -// stdafx.obj will contain the pre-compiled type information - -#include "stdafx.h" - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AODma_WaveRepeat/stdafx.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AODma_WaveRepeat/stdafx.h deleted file mode 100644 index 12123e2..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AODma_WaveRepeat/stdafx.h +++ /dev/null @@ -1,60 +0,0 @@ - -// stdafx.h : include file for standard system include files, -// or project specific include files that are used frequently, -// but are changed infrequently - -#pragma once - -#ifndef _SECURE_ATL -#define _SECURE_ATL 1 -#endif - -#ifndef VC_EXTRALEAN -#define VC_EXTRALEAN // Exclude rarely-used stuff from Windows headers -#endif - -#include "targetver.h" - -#define _ATL_CSTRING_EXPLICIT_CONSTRUCTORS // some CString constructors will be explicit - -// turns off MFC's hiding of some common and often safely ignored warning messages -#define _AFX_ALL_WARNINGS - -#include // MFC core and standard components -#include // MFC extensions - - -#include // MFC Automation classes - - - -#ifndef _AFX_NO_OLE_SUPPORT -#include // MFC support for Internet Explorer 4 Common Controls -#endif -#ifndef _AFX_NO_AFXCMN_SUPPORT -#include // MFC support for Windows Common Controls -#endif // _AFX_NO_AFXCMN_SUPPORT - -#include // MFC support for ribbons and control bars - - - - - - - - - -#ifdef _UNICODE -#if defined _M_IX86 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='x86' publicKeyToken='6595b64144ccf1df' language='*'\"") -#elif defined _M_IA64 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='ia64' publicKeyToken='6595b64144ccf1df' language='*'\"") -#elif defined _M_X64 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='amd64' publicKeyToken='6595b64144ccf1df' language='*'\"") -#else -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='*' publicKeyToken='6595b64144ccf1df' language='*'\"") -#endif -#endif - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AODma_WaveRepeat/targetver.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AODma_WaveRepeat/targetver.h deleted file mode 100644 index 11730d5..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222AODma_WaveRepeat/targetver.h +++ /dev/null @@ -1,26 +0,0 @@ - -#pragma once - -// The following macros define the minimum required platform. The minimum required platform -// is the earliest version of Windows, Internet Explorer etc. that has the necessary features to run -// your application. The macros work by enabling all features available on platform versions up to and -// including the version specified. - -// Modify the following defines if you have to target a platform prior to the ones specified below. -// Refer to MSDN for the latest info on corresponding values for different platforms. -#ifndef WINVER // Specifies that the minimum required platform is Windows Vista. -#define WINVER 0x0600 // Change this to the appropriate value to target other versions of Windows. -#endif - -#ifndef _WIN32_WINNT // Specifies that the minimum required platform is Windows Vista. -#define _WIN32_WINNT 0x0600 // Change this to the appropriate value to target other versions of Windows. -#endif - -#ifndef _WIN32_WINDOWS // Specifies that the minimum required platform is Windows 98. -#define _WIN32_WINDOWS 0x0410 // Change this to the appropriate value to target Windows Me or later. -#endif - -#ifndef _WIN32_IE // Specifies that the minimum required platform is Internet Explorer 7.0. -#define _WIN32_IE 0x0700 // Change this to the appropriate value to target other versions of IE. -#endif - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222DIOWave/7200Wav.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222DIOWave/7200Wav.suo deleted file mode 100644 index bc032e1..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222DIOWave/7200Wav.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222DIOWave/9222Wav.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222DIOWave/9222Wav.cpp deleted file mode 100644 index 7619449..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222DIOWave/9222Wav.cpp +++ /dev/null @@ -1,110 +0,0 @@ - -// 9222Wav.cpp : Defines the class behaviors for the application. -// - -#include "stdafx.h" -#include "9222Wav.h" -#include "9222WavDlg.h" -#include "CardIDDlg.h" - -#ifdef _DEBUG -#define new DEBUG_NEW -#endif - - -// C9222WavApp - -BEGIN_MESSAGE_MAP(C9222WavApp, CWinAppEx) - ON_COMMAND(ID_HELP, &CWinApp::OnHelp) -END_MESSAGE_MAP() - - -// C9222WavApp construction - -C9222WavApp::C9222WavApp() -{ - // TODO: add construction code here, - // Place all significant initialization in InitInstance -} - - -// The one and only C9222WavApp object - -C9222WavApp theApp; - - -// C9222WavApp initialization - -BOOL C9222WavApp::InitInstance() -{ - int nCardID = 0; - I16 hCard; - CString strTemp; - INT_PTR nResponse; - - // InitCommonControlsEx() is required on Windows XP if an application - // manifest specifies use of ComCtl32.dll version 6 or later to enable - // visual styles. Otherwise, any window creation will fail. - INITCOMMONCONTROLSEX InitCtrls; - InitCtrls.dwSize = sizeof(InitCtrls); - // Set this to include all the common control classes you want to use - // in your application. - InitCtrls.dwICC = ICC_WIN95_CLASSES; - InitCommonControlsEx(&InitCtrls); - - CWinAppEx::InitInstance(); - - AfxEnableControlContainer(); - - // Standard initialization - // If you are not using these features and wish to reduce the size - // of your final executable, you should remove from the following - // the specific initialization routines you do not need - // Change the registry key under which our settings are stored - // TODO: You should modify this string to be something appropriate - // such as the name of your company or organization - SetRegistryKey(_T("Local AppWizard-Generated Applications")); - - CCardIDDlg CardDlg( nCardID ); - - nResponse = CardDlg.DoModal(); - if (nResponse == IDOK) - { - nCardID = CardDlg.GetCardID(); - - if ((hCard=Register_Card(PCI_9222, nCardID)) < 0) - { - strTemp.Format( TEXT("Register_Card Error = %d"), hCard); - AfxMessageBox( strTemp ); - } - else - { - C9222WavDlg dlg(hCard); - m_pMainWnd = &dlg; - nResponse = dlg.DoModal(); - if (nResponse == IDOK) - { - // TODO: Place code here to handle when the dialog is - // dismissed with OK - } - else if (nResponse == IDCANCEL) - { - // TODO: Place code here to handle when the dialog is - // dismissed with Cancel - } - - if (hCard >= 0) Release_Card(hCard); - } - - } - else if (nResponse == IDCANCEL) - { - // TODO: Place code here to handle when the dialog is - // dismissed with Cancel - } - - - // Since the dialog has been closed, return FALSE so that we exit the - // application, rather than start the application's message pump. - return FALSE; -} diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222DIOWave/9222Wav.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222DIOWave/9222Wav.h deleted file mode 100644 index 122b975..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222DIOWave/9222Wav.h +++ /dev/null @@ -1,32 +0,0 @@ - -// 9222Wav.h : main header file for the PROJECT_NAME application -// - -#pragma once - -#ifndef __AFXWIN_H__ - #error "include 'stdafx.h' before including this file for PCH" -#endif - -#include "resource.h" // main symbols - - -// C9222WavApp: -// See 9222Wav.cpp for the implementation of this class -// - -class C9222WavApp : public CWinAppEx -{ -public: - C9222WavApp(); - -// Overrides - public: - virtual BOOL InitInstance(); - -// Implementation - - DECLARE_MESSAGE_MAP() -}; - -extern C9222WavApp theApp; \ No newline at end of file diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222DIOWave/9222Wav.rc b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222DIOWave/9222Wav.rc deleted file mode 100644 index 7ae1aa6..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222DIOWave/9222Wav.rc +++ /dev/null @@ -1,283 +0,0 @@ -// Microsoft Visual C++ generated resource script. -// -#include "resource.h" - -#define APSTUDIO_READONLY_SYMBOLS -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 2 resource. -// -#ifndef APSTUDIO_INVOKED -#include "targetver.h" -#endif -#include "afxres.h" - -///////////////////////////////////////////////////////////////////////////// -#undef APSTUDIO_READONLY_SYMBOLS - -///////////////////////////////////////////////////////////////////////////// -// Chinese (Taiwan) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_CHT) -#ifdef _WIN32 -LANGUAGE LANG_CHINESE, SUBLANG_CHINESE_TRADITIONAL -#pragma code_page(950) -#endif //_WIN32 - -#ifdef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// TEXTINCLUDE -// - -1 TEXTINCLUDE -BEGIN - "resource.h\0" -END - -2 TEXTINCLUDE -BEGIN - "#ifndef APSTUDIO_INVOKED\r\n" - "#include ""targetver.h""\r\n" - "#endif\r\n" - "#include ""afxres.h""\r\n" - "\0" -END - -3 TEXTINCLUDE -BEGIN - "#define _AFX_NO_SPLITTER_RESOURCES\r\n" - "#define _AFX_NO_OLE_RESOURCES\r\n" - "#define _AFX_NO_TRACKER_RESOURCES\r\n" - "#define _AFX_NO_PROPERTY_RESOURCES\r\n" - "\r\n" - "#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)\r\n" - "LANGUAGE 9, 1\r\n" - "#pragma code_page(1252)\r\n" - "#include ""res\\My9222Wav.rc2"" // non-Microsoft Visual C++ edited resources\r\n" - "#include ""afxres.rc"" // Standard components\r\n" - "#endif\r\n" - "\0" -END - -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// Icon -// - -// Icon with lowest ID value placed first to ensure application icon -// remains consistent on all systems. -IDR_MAINFRAME ICON "res\\9222Wav.ico" -#endif // Chinese (Taiwan) resources -///////////////////////////////////////////////////////////////////////////// - - -///////////////////////////////////////////////////////////////////////////// -// English (U.S.) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -#ifdef _WIN32 -LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US -#pragma code_page(1252) -#endif //_WIN32 - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog -// - -IDD_ABOUTBOX DIALOGEX 0, 0, 170, 62 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "About 9222Wav" -FONT 8, "MS Shell Dlg", 0, 0, 0x1 -BEGIN - ICON IDR_MAINFRAME,IDC_STATIC,14,14,21,20 - LTEXT "9222Wav, Version 1.0",IDC_STATIC,42,14,114,8,SS_NOPREFIX - LTEXT "Copyright (C) 2010",IDC_STATIC,42,26,114,8 - DEFPUSHBUTTON "OK",IDOK,113,41,50,14,WS_GROUP -END - -IDD_MY9222WAV_DIALOG DIALOGEX 0, 0, 354, 201 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU -EXSTYLE WS_EX_APPWINDOW -CAPTION "PCI-9222 DI/DO DMA" -FONT 8, "MS Shell Dlg", 0, 0, 0x1 -BEGIN - GROUPBOX "",IDC_STATIC_DRAW,49,7,293,138,NOT WS_VISIBLE - EDITTEXT IDC_EDIT_SAMPLE,113,153,51,12,ES_AUTOHSCROLL - LTEXT "DI Samples :",IDC_STATIC,64,154,45,9 - EDITTEXT IDC_EDIT_SAMPLE_RATE,227,154,30,12,ES_AUTOHSCROLL | ES_READONLY - LTEXT "Sample Rate :",IDC_STATIC,174,154,49,9 - LTEXT "KHz",IDC_STATIC,270,156,15,9 - SCROLLBAR IDC_SCROLLBAR_RATE,258,154,9,11,SBS_VERT - PUSHBUTTON "Start",IDC_BT_START,293,151,48,17 - PUSHBUTTON "Stop",IDC_BT_STOP,293,170,48,17 -END - -IDD_CARDID_DIALOG DIALOGEX 0, 0, 170, 89 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "Card ID" -FONT 8, "MS Shell Dlg", 400, 0, 0x1 -BEGIN - COMBOBOX IDC_COMBO_CARDID,75,17,71,126,CBS_DROPDOWN | WS_VSCROLL | WS_TABSTOP - LTEXT "Card Number",IDC_STATIC_01,21,18,46,12 - PUSHBUTTON "OK",IDOK,22,50,58,19 - PUSHBUTTON "CANCEL",IDCANCEL,86,50,58,19 -END - - -///////////////////////////////////////////////////////////////////////////// -// -// Version -// - -VS_VERSION_INFO VERSIONINFO - FILEVERSION 1,0,0,1 - PRODUCTVERSION 1,0,0,1 - FILEFLAGSMASK 0x3fL -#ifdef _DEBUG - FILEFLAGS 0x1L -#else - FILEFLAGS 0x0L -#endif - FILEOS 0x4L - FILETYPE 0x1L - FILESUBTYPE 0x0L -BEGIN - BLOCK "StringFileInfo" - BEGIN - BLOCK "040904e4" - BEGIN - VALUE "CompanyName", "TODO: " - VALUE "FileDescription", "TODO: " - VALUE "FileVersion", "1.0.0.1" - VALUE "InternalName", "9222Wav.exe" - VALUE "LegalCopyright", "TODO: (c) . All rights reserved." - VALUE "OriginalFilename", "9222Wav.exe" - VALUE "ProductName", "TODO: " - VALUE "ProductVersion", "1.0.0.1" - END - END - BLOCK "VarFileInfo" - BEGIN - VALUE "Translation", 0x409, 1252 - END -END - - -///////////////////////////////////////////////////////////////////////////// -// -// DESIGNINFO -// - -#ifdef APSTUDIO_INVOKED -GUIDELINES DESIGNINFO -BEGIN - IDD_ABOUTBOX, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 163 - TOPMARGIN, 7 - BOTTOMMARGIN, 55 - END - - IDD_MY9222WAV_DIALOG, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 347 - TOPMARGIN, 7 - BOTTOMMARGIN, 194 - END - - IDD_CARDID_DIALOG, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 163 - TOPMARGIN, 7 - BOTTOMMARGIN, 82 - END -END -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog Info -// - -IDD_CARDID_DIALOG DLGINIT -BEGIN - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0030, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0031, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0032, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0033, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0034, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0035, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0036, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0037, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0038, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0039, - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3031, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3131, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3231, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3331, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3431, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3531, "\000" - 0 -END - - -///////////////////////////////////////////////////////////////////////////// -// -// String Table -// - -STRINGTABLE -BEGIN - IDS_ABOUTBOX "&About 9222Wav..." -END - -#endif // English (U.S.) resources -///////////////////////////////////////////////////////////////////////////// - - - -#ifndef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 3 resource. -// -#define _AFX_NO_SPLITTER_RESOURCES -#define _AFX_NO_OLE_RESOURCES -#define _AFX_NO_TRACKER_RESOURCES -#define _AFX_NO_PROPERTY_RESOURCES - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -LANGUAGE 9, 1 -#pragma code_page(1252) -#include "res\My9222Wav.rc2" // non-Microsoft Visual C++ edited resources -#include "afxres.rc" // Standard components -#endif - -///////////////////////////////////////////////////////////////////////////// -#endif // not APSTUDIO_INVOKED - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222DIOWave/9222Wav.sln b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222DIOWave/9222Wav.sln deleted file mode 100644 index e787234..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222DIOWave/9222Wav.sln +++ /dev/null @@ -1,20 +0,0 @@ - -Microsoft Visual Studio Solution File, Format Version 10.00 -# Visual Studio 2008 -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "9222Wav", "9222Wav.vcproj", "{EBDB6610-7CE5-413C-A150-121068BFDB22}" -EndProject -Global - GlobalSection(SolutionConfigurationPlatforms) = preSolution - Debug|x64 = Debug|x64 - Release|x64 = Release|x64 - EndGlobalSection - GlobalSection(ProjectConfigurationPlatforms) = postSolution - {EBDB6610-7CE5-413C-A150-121068BFDB22}.Debug|x64.ActiveCfg = Debug|x64 - {EBDB6610-7CE5-413C-A150-121068BFDB22}.Debug|x64.Build.0 = Debug|x64 - {EBDB6610-7CE5-413C-A150-121068BFDB22}.Release|x64.ActiveCfg = Release|x64 - {EBDB6610-7CE5-413C-A150-121068BFDB22}.Release|x64.Build.0 = Release|x64 - EndGlobalSection - GlobalSection(SolutionProperties) = preSolution - HideSolutionNode = FALSE - EndGlobalSection -EndGlobal diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222DIOWave/9222Wav.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222DIOWave/9222Wav.suo deleted file mode 100644 index 9e5dda0..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222DIOWave/9222Wav.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222DIOWave/9222Wav.vcproj b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222DIOWave/9222Wav.vcproj deleted file mode 100644 index 2b9f053..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222DIOWave/9222Wav.vcproj +++ /dev/null @@ -1,286 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222DIOWave/9222WavDlg.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222DIOWave/9222WavDlg.cpp deleted file mode 100644 index 2f626c1..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222DIOWave/9222WavDlg.cpp +++ /dev/null @@ -1,559 +0,0 @@ - -// 9222WavDlg.cpp : implementation file -// - -#include "stdafx.h" -#include "9222Wav.h" -#include "9222WavDlg.h" -#include "math.h" - -#ifndef M_PI -#define M_PI 3.14159265359 -#endif - -#ifdef _DEBUG -#define new DEBUG_NEW -#endif - -CRect plotRect; - -#define PCI9222_DIO_STATUS_TIMER 1 - -#ifdef _SELF_OUTPUT_ -U16 DoBuf[10240]; -BOOLEAN bOutStopped; -ULONG out_count; -#endif - -// CAboutDlg dialog used for App About - -class CAboutDlg : public CDialog -{ -public: - CAboutDlg(); - -// Dialog Data - enum { IDD = IDD_ABOUTBOX }; - - protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - -// Implementation -protected: - DECLARE_MESSAGE_MAP() -}; - -CAboutDlg::CAboutDlg() : CDialog(CAboutDlg::IDD) -{ -} - -void CAboutDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); -} - -BEGIN_MESSAGE_MAP(CAboutDlg, CDialog) -END_MESSAGE_MAP() - - -// C9222WavDlg dialog - - -C9222WavDlg::C9222WavDlg(I16 hCard, CWnd* pParent /*=NULL*/) - : CDialog(C9222WavDlg::IDD, pParent) -{ - m_hIcon = AfxGetApp()->LoadIcon(IDR_MAINFRAME); - - m_hCard = hCard; - - OnBrush = OffBrush = NULL; - - n_PlotWidth = -1; - n_PlotHeight = -1; - - min_val = 0x00; - max_val = 0xFFFF; - - m_fSampleRate = 4000.0; // 100KHz - m_dwDISamples = 8000; - m_pDIAddr = NULL; - - m_nTimer = -1; - -#ifdef _SELF_OUTPUT_ - for (int i=0; i<10240; i++) - DoBuf[i] = (U16)(sin((double)i/1024*M_PI)*0x00007FFF)+0x00008000; -#endif - -} - -void C9222WavDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); -} - -BEGIN_MESSAGE_MAP(C9222WavDlg, CDialog) - ON_WM_SYSCOMMAND() - ON_WM_PAINT() - ON_WM_QUERYDRAGICON() - //}}AFX_MSG_MAP - ON_WM_DESTROY() - ON_BN_CLICKED(IDC_BT_START, &C9222WavDlg::OnStart) - ON_BN_CLICKED(IDC_BT_STOP, &C9222WavDlg::OnStop) - ON_WM_TIMER() - ON_WM_VSCROLL() -END_MESSAGE_MAP() - - -// C9222WavDlg message handlers - -BOOL C9222WavDlg::OnInitDialog() -{ - CString strTemp; - - CDialog::OnInitDialog(); - - // Add "About..." menu item to system menu. - - // IDM_ABOUTBOX must be in the system command range. - ASSERT((IDM_ABOUTBOX & 0xFFF0) == IDM_ABOUTBOX); - ASSERT(IDM_ABOUTBOX < 0xF000); - - CMenu* pSysMenu = GetSystemMenu(FALSE); - if (pSysMenu != NULL) - { - BOOL bNameValid; - CString strAboutMenu; - bNameValid = strAboutMenu.LoadString(IDS_ABOUTBOX); - ASSERT(bNameValid); - if (!strAboutMenu.IsEmpty()) - { - pSysMenu->AppendMenu(MF_SEPARATOR); - pSysMenu->AppendMenu(MF_STRING, IDM_ABOUTBOX, strAboutMenu); - } - } - - // Set the icon for this dialog. The framework does this automatically - // when the application's main window is not a dialog - SetIcon(m_hIcon, TRUE); // Set big icon - SetIcon(m_hIcon, FALSE); // Set small icon - - // TODO: Add extra initialization here - x_divider = 5; y_divider = 2; - - OnBrush = CreateSolidBrush( RGB(255,0,0) ); - OffBrush = CreateSolidBrush( RGB(125,0,0) ); - - RedPen.CreatePen( PS_SOLID, 1, RGB(255,0,0)); - GreenPen.CreatePen( PS_SOLID, 1, RGB(0,255,0)); - - if( n_PlotWidth == -1 && n_PlotHeight == -1 ) - { - ((CWnd*)GetDlgItem(IDC_STATIC_DRAW))->GetWindowRect(&plotRect); - ScreenToClient(&plotRect); - - n_PlotWidth = min( plotRect.Width(), 512); - n_PlotHeight = plotRect.Height() - 10; - } - - // set the default SampleRate - SetDlgItemInt( IDC_EDIT_SAMPLE_RATE, (UINT)(m_fSampleRate/1000) ); - - // Set the default DI Sample - SetDlgItemInt( IDC_EDIT_SAMPLE, (UINT)(m_dwDISamples) ); - - - return TRUE; // return TRUE unless you set the focus to a control -} - -void C9222WavDlg::OnSysCommand(UINT nID, LPARAM lParam) -{ - if ((nID & 0xFFF0) == IDM_ABOUTBOX) - { - CAboutDlg dlgAbout; - dlgAbout.DoModal(); - } - else - { - CDialog::OnSysCommand(nID, lParam); - } -} - -// If you add a minimize button to your dialog, you will need the code below -// to draw the icon. For MFC applications using the document/view model, -// this is automatically done for you by the framework. - -void C9222WavDlg::OnPaint() -{ - if (IsIconic()) - { - CPaintDC dc(this); // device context for painting - - SendMessage(WM_ICONERASEBKGND, reinterpret_cast(dc.GetSafeHdc()), 0); - - // Center icon in client rectangle - int cxIcon = GetSystemMetrics(SM_CXICON); - int cyIcon = GetSystemMetrics(SM_CYICON); - CRect rect; - GetClientRect(&rect); - int x = (rect.Width() - cxIcon + 1) / 2; - int y = (rect.Height() - cyIcon + 1) / 2; - - // Draw the icon - dc.DrawIcon(x, y, m_hIcon); - } - else - { - redraw_display_area(); - CDialog::OnPaint(); - } -} - -// The system calls this function to obtain the cursor to display while the user drags -// the minimized window. -HCURSOR C9222WavDlg::OnQueryDragIcon() -{ - return static_cast(m_hIcon); -} - - -void C9222WavDlg::OnDestroy() -{ - U32 count; - - CDialog::OnDestroy(); - - // TODO: Add your message handler code here - if( OnBrush != NULL ) - ::DeleteObject( OnBrush ); - - if( OffBrush != NULL ) - ::DeleteObject( OffBrush ); - - RedPen.DeleteObject(); - GreenPen.DeleteObject(); - - if( m_nTimer != -1 ) - { - KillTimer( m_nTimer ); - m_nTimer = -1; - } - - if( m_pDIAddr != NULL ) - { - free( m_pDIAddr ); - m_pDIAddr = NULL; - } - - DI_AsyncClear( m_hCard, &count ); - -#ifdef _SELF_OUTPUT_ - DO_AsyncClear( m_hCard, &count ); -#endif - - -} - -void C9222WavDlg::OnStart() -{ - // TODO: Add your control notification handler code here - U32 dwMemSize, dwDISamples; - void* pMem; - I16 err; - CString strMsg; - - dwDISamples = GetDlgItemInt( IDC_EDIT_SAMPLE ); - - if( dwDISamples != m_dwDISamples ) - { - if( m_pDIAddr != NULL ) - { - free( m_pDIAddr ); - m_pDIAddr = NULL; - } - m_dwDISamples = dwDISamples; - } - - - dwMemSize = m_dwDISamples * sizeof(U16); - pMem = malloc( dwMemSize ); - if( pMem == NULL ) - { - AfxMessageBox( TEXT("Memory allocated failed") ); - return; - } - else - { - m_pDIAddr = (U16*) pMem; - memset( m_pDIAddr, '\0', dwMemSize ); - } - - -#ifdef _SELF_OUTPUT_ - - if ((err=DO_9222_Config(m_hCard, P922x_DO_CONVSRC_INT, (P922x_DO_TRGMOD_POST|P922x_DO_TRGSRC_SOFT), 0, 0, 0, 1)) != NoError) - { - strMsg.Format( TEXT("DO_9222_Config Error = %d") ,err ); - AfxMessageBox( strMsg ); - return; - } - - if ((err = DO_ContBufferSetup(m_hCard, DoBuf, 6000/*10240*/, &m_wDOBufferId)) != NoError) - { - strMsg.Format( TEXT("DO_ContBufferSetup Error = %d") ,err ); - AfxMessageBox( strMsg ); - return; - } - -#endif - - if ((err=DI_9222_Config(m_hCard, P922x_DI_CONVSRC_INT, (P922x_DI_TRGMOD_POST|P922x_DI_TRGSRC_SOFT), 0, 1)) != NoError) - { - strMsg.Format( TEXT("DI_9222_Config Error = %d") ,err ); - AfxMessageBox( strMsg ); - return; - } - - if ((err=DI_AsyncDblBufferMode (m_hCard, 0)) != NoError) - { - strMsg.Format( TEXT("DI_AsyncDblBufferMode Error = %d\n"), err ); - AfxMessageBox( strMsg ); - return; - } - - /*Setup Buffer for DI DMA Transfer*/ - if ((err=DI_ContBufferSetup(m_hCard, m_pDIAddr, m_dwDISamples, &m_wDIBufferId)) != NoError) - { - strMsg.Format( TEXT("DI_ContBufferSetup Error = %d") ,err ); - AfxMessageBox( strMsg ); - return; - } - - // clear display area - redraw_display_area(); - - if ((err = DI_ContReadPort(m_hCard, 0, &m_wDIBufferId, m_dwDISamples, m_fSampleRate, ASYNCH_OP)) != NoError) - { - DI_ContBufferReset(m_hCard); - strMsg.Format( TEXT("DI_ContReadPort Error = %d\n"), err); - AfxMessageBox( strMsg ); - return; - } - -#ifdef _SELF_OUTPUT_ - if ((err = DO_ContWritePort(m_hCard, 0, &m_wDOBufferId, 6000/*10240*/, 1, m_fSampleRate, ASYNCH_OP)) != NoError) - { - DO_ContBufferReset(m_hCard); - strMsg.Format( TEXT("DO_ContWritePort Error = %d") ,err ); - AfxMessageBox( strMsg ); - return; - } -#endif - - if( m_nTimer == -1 ) - { - m_nTimer = SetTimer( PCI9222_DIO_STATUS_TIMER, 20, NULL ); - } - - GetDlgItem( IDC_BT_START )->EnableWindow( FALSE ); - GetDlgItem( IDC_BT_STOP )->EnableWindow( TRUE ); - -} - -void C9222WavDlg::OnStop() -{ - // TODO: Add your control notification handler code here - U32 count; - - DI_AsyncClear(m_hCard, &count); - DI_ContBufferReset(m_hCard); - -#ifdef _SELF_OUTPUT_ - DO_AsyncClear(m_hCard, &count); - DO_ContBufferReset( m_hCard ); -#endif - - GetDlgItem( IDC_BT_START )->EnableWindow( TRUE ); - GetDlgItem( IDC_BT_STOP )->EnableWindow( FALSE); -} - -void C9222WavDlg::OnTimer(UINT_PTR nIDEvent) -{ - // TODO: Add your message handler code here and/or call default - BOOLEAN bStopped; - U32 count; - I16 err; - - err = DI_AsyncCheck( m_hCard, &bStopped, &count ); - - if( bStopped ) - { - // stop timer - KillTimer( m_nTimer ); - m_nTimer = -1; - - // reset the Button status - GetDlgItem( IDC_BT_START )->EnableWindow( TRUE ); - GetDlgItem( IDC_BT_STOP )->EnableWindow( TRUE); - - err = DI_AsyncClear( m_hCard, &count ); - err = DI_ContBufferReset( m_hCard ); -#ifdef _SELF_OUTPUT_ - err = DO_AsyncClear( m_hCard, &count ); - err = DO_ContBufferReset( m_hCard ); -#endif - - display_buffer_data(m_pDIAddr); - } - - CDialog::OnTimer(nIDEvent); -} - - -void C9222WavDlg::display_buffer_data(U16* pBuf) -{ - CClientDC dc_plot(this); - int nDraw_Bottom; - - int newY, oldY = -1; - int newX, oldX = -1; - U32 index; - U16 di_data; - -// redraw the background - dc_plot.FillSolidRect( plotRect, RGB(0,0,0) ); - - nDraw_Bottom = ( plotRect.bottom - 5 ); - dc_plot.SelectObject( &GreenPen ); - - for( index=0; index 2000000.0 ) m_fSampleRate = 2000000.0; - break; - case SB_LINEDOWN: - m_fSampleRate -= 50000; - if (m_fSampleRate < 50000 ) m_fSampleRate = 50000; - break; - } - - SetDlgItemInt( IDC_EDIT_SAMPLE_RATE, (UINT)(m_fSampleRate/1000) ); - - CDialog::OnVScroll(nSBCode, nPos, pScrollBar); -} diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222DIOWave/9222WavDlg.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222DIOWave/9222WavDlg.h deleted file mode 100644 index f760ff7..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222DIOWave/9222WavDlg.h +++ /dev/null @@ -1,61 +0,0 @@ - -// 9222WavDlg.h : header file -// -#include "Dask64.h" - -#pragma once - - -// C9222WavDlg dialog -class C9222WavDlg : public CDialog -{ -// Construction -public: - C9222WavDlg(I16 hCard, CWnd* pParent = NULL); // standard constructor - -// Dialog Data - enum { IDD = IDD_MY9222WAV_DIALOG }; - - protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - - -// Implementation -protected: - HICON m_hIcon; - I16 m_hCard; - UINT_PTR m_nTimer; - U16* m_pDIAddr; - U32 m_dwDISamples; - HBRUSH OnBrush; - HBRUSH OffBrush; - CPen RedPen; - CPen GreenPen; - DWORD max_val; - DWORD min_val; - int y_divider; - int x_divider; - int m_DisplayScale; - double m_fSampleRate; - U16 m_wDOBufferId; - U16 m_wDIBufferId; - - // Generated message map functions - virtual BOOL OnInitDialog(); - afx_msg void OnSysCommand(UINT nID, LPARAM lParam); - afx_msg void OnPaint(); - afx_msg HCURSOR OnQueryDragIcon(); - DECLARE_MESSAGE_MAP() -public: - afx_msg void OnDestroy(); - afx_msg void OnStart(); - afx_msg void OnStop(); - afx_msg void OnTimer(UINT_PTR nIDEvent); - void display_buffer_data(U16* pBuf); - void redraw_display_area(void); - afx_msg void OnVScroll(UINT nSBCode, UINT nPos, CScrollBar* pScrollBar); - -private: - int n_PlotHeight; - int n_PlotWidth; -}; diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222DIOWave/CardIDDlg.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222DIOWave/CardIDDlg.cpp deleted file mode 100644 index bfc053b..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222DIOWave/CardIDDlg.cpp +++ /dev/null @@ -1,67 +0,0 @@ -// CardIDDlg.cpp : implementation file -// - -#include "stdafx.h" -#include "9222Wav.h" -#include "CardIDDlg.h" - - -// CCardIDDlg dialog - -IMPLEMENT_DYNAMIC(CCardIDDlg, CDialog) - -CCardIDDlg::CCardIDDlg(int nCardIdx, CWnd* pParent /*=NULL*/) - : CDialog(CCardIDDlg::IDD, pParent) -{ - m_nCardIdx = nCardIdx; -} - -CCardIDDlg::~CCardIDDlg() -{ -} - -void CCardIDDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); - DDX_Control(pDX, IDC_COMBO_CARDID, m_cbCardID); -} - - -BEGIN_MESSAGE_MAP(CCardIDDlg, CDialog) -// ON_CBN_SELCHANGE(IDC_COMBO_CARDID, &CCardIDDlg::OnCbnSelchangeComboCardid) -ON_BN_CLICKED(IDOK, &CCardIDDlg::OnBnClickedOk) -//ON_WM_CTLCOLOR() -END_MESSAGE_MAP() - - -// CCardIDDlg message handlers - - -void CCardIDDlg::OnBnClickedOk() -{ - // TODO: Add your control notification handler code here - -// UpdateData(TRUE); - m_nCardIdx = m_cbCardID.GetCurSel(); - - OnOK(); -} - -BOOL CCardIDDlg::OnInitDialog() -{ - CDialog::OnInitDialog(); - - // TODO: Add extra initialization here - m_cbCardID.SetCurSel( m_nCardIdx ); - - return TRUE; // return TRUE unless you set the focus to a control - // EXCEPTION: OCX Property Pages should return FALSE -} - -// the function to get the selected CardID -int CCardIDDlg::GetCardID(void) -{ - return m_nCardIdx; -} - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222DIOWave/CardIDDlg.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222DIOWave/CardIDDlg.h deleted file mode 100644 index 54628ea..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222DIOWave/CardIDDlg.h +++ /dev/null @@ -1,33 +0,0 @@ -#pragma once -#include "afxwin.h" - - -// CCardIDDlg dialog - -class CCardIDDlg : public CDialog -{ - DECLARE_DYNAMIC(CCardIDDlg) - -public: - CCardIDDlg(int nCardIdx, CWnd* pParent = NULL); // standard constructor - virtual ~CCardIDDlg(); - -// Dialog Data - enum { IDD = IDD_CARDID_DIALOG }; - -protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - - DECLARE_MESSAGE_MAP() -public: -// afx_msg void OnCbnSelchangeComboCardid(); - afx_msg void OnBnClickedOk(); - // the setting of CardID ComboBox - int m_nCardIdx; - virtual BOOL OnInitDialog(); - // the control of CardID ComboBox - CComboBox m_cbCardID; - // the function to get the selected CardID - int GetCardID(void); -// afx_msg HBRUSH OnCtlColor(CDC* pDC, CWnd* pWnd, UINT nCtlColor); -}; diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222DIOWave/ReadMe.txt b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222DIOWave/ReadMe.txt deleted file mode 100644 index 1eb0f35..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222DIOWave/ReadMe.txt +++ /dev/null @@ -1,93 +0,0 @@ -================================================================================ - MICROSOFT FOUNDATION CLASS LIBRARY : 9222Wav Project Overview -=============================================================================== - -The application wizard has created this 9222Wav application for -you. This application not only demonstrates the basics of using the Microsoft -Foundation Classes but is also a starting point for writing your application. - -This file contains a summary of what you will find in each of the files that -make up your 9222Wav application. - -9222Wav.vcproj - This is the main project file for VC++ projects generated using an application wizard. - It contains information about the version of Visual C++ that generated the file, and - information about the platforms, configurations, and project features selected with the - application wizard. - -9222Wav.h - This is the main header file for the application. It includes other - project specific headers (including Resource.h) and declares the - C9222WavApp application class. - -9222Wav.cpp - This is the main application source file that contains the application - class C9222WavApp. - -9222Wav.rc - This is a listing of all of the Microsoft Windows resources that the - program uses. It includes the icons, bitmaps, and cursors that are stored - in the RES subdirectory. This file can be directly edited in Microsoft - Visual C++. Your project resources are in 1033. - -res\9222Wav.ico - This is an icon file, which is used as the application's icon. This - icon is included by the main resource file 9222Wav.rc. - -res\My9222Wav.rc2 - This file contains resources that are not edited by Microsoft - Visual C++. You should place all resources not editable by - the resource editor in this file. - - -///////////////////////////////////////////////////////////////////////////// - -The application wizard creates one dialog class: - -9222WavDlg.h, 9222WavDlg.cpp - the dialog - These files contain your C9222WavDlg class. This class defines - the behavior of your application's main dialog. The dialog's template is - in 9222Wav.rc, which can be edited in Microsoft Visual C++. - - -///////////////////////////////////////////////////////////////////////////// - -Other Features: - -ActiveX Controls - The application includes support to use ActiveX controls. - -///////////////////////////////////////////////////////////////////////////// - -Other standard files: - -StdAfx.h, StdAfx.cpp - These files are used to build a precompiled header (PCH) file - named 9222Wav.pch and a precompiled types file named StdAfx.obj. - -Resource.h - This is the standard header file, which defines new resource IDs. - Microsoft Visual C++ reads and updates this file. - -9222Wav.manifest - Application manifest files are used by Windows XP to describe an applications - dependency on specific versions of Side-by-Side assemblies. The loader uses this - information to load the appropriate assembly from the assembly cache or private - from the application. The Application manifest maybe included for redistribution - as an external .manifest file that is installed in the same folder as the application - executable or it may be included in the executable in the form of a resource. -///////////////////////////////////////////////////////////////////////////// - -Other notes: - -The application wizard uses "TODO:" to indicate parts of the source code you -should add to or customize. - -If your application uses MFC in a shared DLL, you will need -to redistribute the MFC DLLs. If your application is in a language -other than the operating system's locale, you will also have to -redistribute the corresponding localized resources MFC90XXX.DLL. -For more information on both of these topics, please see the section on -redistributing Visual C++ applications in MSDN documentation. - -///////////////////////////////////////////////////////////////////////////// diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222DIOWave/res/9222Wav.ico b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222DIOWave/res/9222Wav.ico deleted file mode 100644 index d56fbcd..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222DIOWave/res/9222Wav.ico and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222DIOWave/res/My9222Wav.rc2 b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222DIOWave/res/My9222Wav.rc2 deleted file mode 100644 index 440d4a5..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222DIOWave/res/My9222Wav.rc2 +++ /dev/null @@ -1,13 +0,0 @@ -// -// My7200Wav.RC2 - resources Microsoft Visual C++ does not edit directly -// - -#ifdef APSTUDIO_INVOKED -#error this file is not editable by Microsoft Visual C++ -#endif //APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// Add manually edited resources here... - -///////////////////////////////////////////////////////////////////////////// diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222DIOWave/resource.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222DIOWave/resource.h deleted file mode 100644 index 4af9b16..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222DIOWave/resource.h +++ /dev/null @@ -1,29 +0,0 @@ -//{{NO_DEPENDENCIES}} -// Microsoft Visual C++ generated include file. -// Used by 9222Wav.rc -// -#define IDM_ABOUTBOX 0x0010 -#define IDD_ABOUTBOX 100 -#define IDS_ABOUTBOX 101 -#define IDD_MY9222WAV_DIALOG 102 -#define IDR_MAINFRAME 128 -#define IDD_CARDID_DIALOG 129 -#define IDC_STATIC_DRAW 1000 -#define IDC_EDIT_SAMPLE 1001 -#define IDC_EDIT_SAMPLE_RATE 1003 -#define IDC_SCROLLBAR_RATE 1006 -#define IDC_COMBO_CARDID 1007 -#define IDC_BT_START 1008 -#define IDC_BT_STOP 1009 -#define IDC_STATIC_01 1014 - -// Next default values for new objects -// -#ifdef APSTUDIO_INVOKED -#ifndef APSTUDIO_READONLY_SYMBOLS -#define _APS_NEXT_RESOURCE_VALUE 131 -#define _APS_NEXT_COMMAND_VALUE 32771 -#define _APS_NEXT_CONTROL_VALUE 1000 -#define _APS_NEXT_SYMED_VALUE 101 -#endif -#endif diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222DIOWave/stdafx.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222DIOWave/stdafx.cpp deleted file mode 100644 index b5184d9..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222DIOWave/stdafx.cpp +++ /dev/null @@ -1,8 +0,0 @@ - -// stdafx.cpp : source file that includes just the standard includes -// 7200Wav.pch will be the pre-compiled header -// stdafx.obj will contain the pre-compiled type information - -#include "stdafx.h" - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222DIOWave/stdafx.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222DIOWave/stdafx.h deleted file mode 100644 index 12123e2..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222DIOWave/stdafx.h +++ /dev/null @@ -1,60 +0,0 @@ - -// stdafx.h : include file for standard system include files, -// or project specific include files that are used frequently, -// but are changed infrequently - -#pragma once - -#ifndef _SECURE_ATL -#define _SECURE_ATL 1 -#endif - -#ifndef VC_EXTRALEAN -#define VC_EXTRALEAN // Exclude rarely-used stuff from Windows headers -#endif - -#include "targetver.h" - -#define _ATL_CSTRING_EXPLICIT_CONSTRUCTORS // some CString constructors will be explicit - -// turns off MFC's hiding of some common and often safely ignored warning messages -#define _AFX_ALL_WARNINGS - -#include // MFC core and standard components -#include // MFC extensions - - -#include // MFC Automation classes - - - -#ifndef _AFX_NO_OLE_SUPPORT -#include // MFC support for Internet Explorer 4 Common Controls -#endif -#ifndef _AFX_NO_AFXCMN_SUPPORT -#include // MFC support for Windows Common Controls -#endif // _AFX_NO_AFXCMN_SUPPORT - -#include // MFC support for ribbons and control bars - - - - - - - - - -#ifdef _UNICODE -#if defined _M_IX86 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='x86' publicKeyToken='6595b64144ccf1df' language='*'\"") -#elif defined _M_IA64 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='ia64' publicKeyToken='6595b64144ccf1df' language='*'\"") -#elif defined _M_X64 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='amd64' publicKeyToken='6595b64144ccf1df' language='*'\"") -#else -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='*' publicKeyToken='6595b64144ccf1df' language='*'\"") -#endif -#endif - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222DIOWave/targetver.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222DIOWave/targetver.h deleted file mode 100644 index 11730d5..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222DIOWave/targetver.h +++ /dev/null @@ -1,26 +0,0 @@ - -#pragma once - -// The following macros define the minimum required platform. The minimum required platform -// is the earliest version of Windows, Internet Explorer etc. that has the necessary features to run -// your application. The macros work by enabling all features available on platform versions up to and -// including the version specified. - -// Modify the following defines if you have to target a platform prior to the ones specified below. -// Refer to MSDN for the latest info on corresponding values for different platforms. -#ifndef WINVER // Specifies that the minimum required platform is Windows Vista. -#define WINVER 0x0600 // Change this to the appropriate value to target other versions of Windows. -#endif - -#ifndef _WIN32_WINNT // Specifies that the minimum required platform is Windows Vista. -#define _WIN32_WINNT 0x0600 // Change this to the appropriate value to target other versions of Windows. -#endif - -#ifndef _WIN32_WINDOWS // Specifies that the minimum required platform is Windows 98. -#define _WIN32_WINDOWS 0x0410 // Change this to the appropriate value to target Windows Me or later. -#endif - -#ifndef _WIN32_IE // Specifies that the minimum required platform is Internet Explorer 7.0. -#define _WIN32_IE 0x0700 // Change this to the appropriate value to target other versions of IE. -#endif - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222DIWave_Dbf/7200Wav.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222DIWave_Dbf/7200Wav.suo deleted file mode 100644 index bc032e1..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222DIWave_Dbf/7200Wav.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222DIWave_Dbf/9222Wav.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222DIWave_Dbf/9222Wav.cpp deleted file mode 100644 index 7619449..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222DIWave_Dbf/9222Wav.cpp +++ /dev/null @@ -1,110 +0,0 @@ - -// 9222Wav.cpp : Defines the class behaviors for the application. -// - -#include "stdafx.h" -#include "9222Wav.h" -#include "9222WavDlg.h" -#include "CardIDDlg.h" - -#ifdef _DEBUG -#define new DEBUG_NEW -#endif - - -// C9222WavApp - -BEGIN_MESSAGE_MAP(C9222WavApp, CWinAppEx) - ON_COMMAND(ID_HELP, &CWinApp::OnHelp) -END_MESSAGE_MAP() - - -// C9222WavApp construction - -C9222WavApp::C9222WavApp() -{ - // TODO: add construction code here, - // Place all significant initialization in InitInstance -} - - -// The one and only C9222WavApp object - -C9222WavApp theApp; - - -// C9222WavApp initialization - -BOOL C9222WavApp::InitInstance() -{ - int nCardID = 0; - I16 hCard; - CString strTemp; - INT_PTR nResponse; - - // InitCommonControlsEx() is required on Windows XP if an application - // manifest specifies use of ComCtl32.dll version 6 or later to enable - // visual styles. Otherwise, any window creation will fail. - INITCOMMONCONTROLSEX InitCtrls; - InitCtrls.dwSize = sizeof(InitCtrls); - // Set this to include all the common control classes you want to use - // in your application. - InitCtrls.dwICC = ICC_WIN95_CLASSES; - InitCommonControlsEx(&InitCtrls); - - CWinAppEx::InitInstance(); - - AfxEnableControlContainer(); - - // Standard initialization - // If you are not using these features and wish to reduce the size - // of your final executable, you should remove from the following - // the specific initialization routines you do not need - // Change the registry key under which our settings are stored - // TODO: You should modify this string to be something appropriate - // such as the name of your company or organization - SetRegistryKey(_T("Local AppWizard-Generated Applications")); - - CCardIDDlg CardDlg( nCardID ); - - nResponse = CardDlg.DoModal(); - if (nResponse == IDOK) - { - nCardID = CardDlg.GetCardID(); - - if ((hCard=Register_Card(PCI_9222, nCardID)) < 0) - { - strTemp.Format( TEXT("Register_Card Error = %d"), hCard); - AfxMessageBox( strTemp ); - } - else - { - C9222WavDlg dlg(hCard); - m_pMainWnd = &dlg; - nResponse = dlg.DoModal(); - if (nResponse == IDOK) - { - // TODO: Place code here to handle when the dialog is - // dismissed with OK - } - else if (nResponse == IDCANCEL) - { - // TODO: Place code here to handle when the dialog is - // dismissed with Cancel - } - - if (hCard >= 0) Release_Card(hCard); - } - - } - else if (nResponse == IDCANCEL) - { - // TODO: Place code here to handle when the dialog is - // dismissed with Cancel - } - - - // Since the dialog has been closed, return FALSE so that we exit the - // application, rather than start the application's message pump. - return FALSE; -} diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222DIWave_Dbf/9222Wav.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222DIWave_Dbf/9222Wav.h deleted file mode 100644 index 122b975..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222DIWave_Dbf/9222Wav.h +++ /dev/null @@ -1,32 +0,0 @@ - -// 9222Wav.h : main header file for the PROJECT_NAME application -// - -#pragma once - -#ifndef __AFXWIN_H__ - #error "include 'stdafx.h' before including this file for PCH" -#endif - -#include "resource.h" // main symbols - - -// C9222WavApp: -// See 9222Wav.cpp for the implementation of this class -// - -class C9222WavApp : public CWinAppEx -{ -public: - C9222WavApp(); - -// Overrides - public: - virtual BOOL InitInstance(); - -// Implementation - - DECLARE_MESSAGE_MAP() -}; - -extern C9222WavApp theApp; \ No newline at end of file diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222DIWave_Dbf/9222Wav.rc b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222DIWave_Dbf/9222Wav.rc deleted file mode 100644 index 7ae1aa6..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222DIWave_Dbf/9222Wav.rc +++ /dev/null @@ -1,283 +0,0 @@ -// Microsoft Visual C++ generated resource script. -// -#include "resource.h" - -#define APSTUDIO_READONLY_SYMBOLS -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 2 resource. -// -#ifndef APSTUDIO_INVOKED -#include "targetver.h" -#endif -#include "afxres.h" - -///////////////////////////////////////////////////////////////////////////// -#undef APSTUDIO_READONLY_SYMBOLS - -///////////////////////////////////////////////////////////////////////////// -// Chinese (Taiwan) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_CHT) -#ifdef _WIN32 -LANGUAGE LANG_CHINESE, SUBLANG_CHINESE_TRADITIONAL -#pragma code_page(950) -#endif //_WIN32 - -#ifdef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// TEXTINCLUDE -// - -1 TEXTINCLUDE -BEGIN - "resource.h\0" -END - -2 TEXTINCLUDE -BEGIN - "#ifndef APSTUDIO_INVOKED\r\n" - "#include ""targetver.h""\r\n" - "#endif\r\n" - "#include ""afxres.h""\r\n" - "\0" -END - -3 TEXTINCLUDE -BEGIN - "#define _AFX_NO_SPLITTER_RESOURCES\r\n" - "#define _AFX_NO_OLE_RESOURCES\r\n" - "#define _AFX_NO_TRACKER_RESOURCES\r\n" - "#define _AFX_NO_PROPERTY_RESOURCES\r\n" - "\r\n" - "#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)\r\n" - "LANGUAGE 9, 1\r\n" - "#pragma code_page(1252)\r\n" - "#include ""res\\My9222Wav.rc2"" // non-Microsoft Visual C++ edited resources\r\n" - "#include ""afxres.rc"" // Standard components\r\n" - "#endif\r\n" - "\0" -END - -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// Icon -// - -// Icon with lowest ID value placed first to ensure application icon -// remains consistent on all systems. -IDR_MAINFRAME ICON "res\\9222Wav.ico" -#endif // Chinese (Taiwan) resources -///////////////////////////////////////////////////////////////////////////// - - -///////////////////////////////////////////////////////////////////////////// -// English (U.S.) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -#ifdef _WIN32 -LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US -#pragma code_page(1252) -#endif //_WIN32 - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog -// - -IDD_ABOUTBOX DIALOGEX 0, 0, 170, 62 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "About 9222Wav" -FONT 8, "MS Shell Dlg", 0, 0, 0x1 -BEGIN - ICON IDR_MAINFRAME,IDC_STATIC,14,14,21,20 - LTEXT "9222Wav, Version 1.0",IDC_STATIC,42,14,114,8,SS_NOPREFIX - LTEXT "Copyright (C) 2010",IDC_STATIC,42,26,114,8 - DEFPUSHBUTTON "OK",IDOK,113,41,50,14,WS_GROUP -END - -IDD_MY9222WAV_DIALOG DIALOGEX 0, 0, 354, 201 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU -EXSTYLE WS_EX_APPWINDOW -CAPTION "PCI-9222 DI/DO DMA" -FONT 8, "MS Shell Dlg", 0, 0, 0x1 -BEGIN - GROUPBOX "",IDC_STATIC_DRAW,49,7,293,138,NOT WS_VISIBLE - EDITTEXT IDC_EDIT_SAMPLE,113,153,51,12,ES_AUTOHSCROLL - LTEXT "DI Samples :",IDC_STATIC,64,154,45,9 - EDITTEXT IDC_EDIT_SAMPLE_RATE,227,154,30,12,ES_AUTOHSCROLL | ES_READONLY - LTEXT "Sample Rate :",IDC_STATIC,174,154,49,9 - LTEXT "KHz",IDC_STATIC,270,156,15,9 - SCROLLBAR IDC_SCROLLBAR_RATE,258,154,9,11,SBS_VERT - PUSHBUTTON "Start",IDC_BT_START,293,151,48,17 - PUSHBUTTON "Stop",IDC_BT_STOP,293,170,48,17 -END - -IDD_CARDID_DIALOG DIALOGEX 0, 0, 170, 89 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "Card ID" -FONT 8, "MS Shell Dlg", 400, 0, 0x1 -BEGIN - COMBOBOX IDC_COMBO_CARDID,75,17,71,126,CBS_DROPDOWN | WS_VSCROLL | WS_TABSTOP - LTEXT "Card Number",IDC_STATIC_01,21,18,46,12 - PUSHBUTTON "OK",IDOK,22,50,58,19 - PUSHBUTTON "CANCEL",IDCANCEL,86,50,58,19 -END - - -///////////////////////////////////////////////////////////////////////////// -// -// Version -// - -VS_VERSION_INFO VERSIONINFO - FILEVERSION 1,0,0,1 - PRODUCTVERSION 1,0,0,1 - FILEFLAGSMASK 0x3fL -#ifdef _DEBUG - FILEFLAGS 0x1L -#else - FILEFLAGS 0x0L -#endif - FILEOS 0x4L - FILETYPE 0x1L - FILESUBTYPE 0x0L -BEGIN - BLOCK "StringFileInfo" - BEGIN - BLOCK "040904e4" - BEGIN - VALUE "CompanyName", "TODO: " - VALUE "FileDescription", "TODO: " - VALUE "FileVersion", "1.0.0.1" - VALUE "InternalName", "9222Wav.exe" - VALUE "LegalCopyright", "TODO: (c) . All rights reserved." - VALUE "OriginalFilename", "9222Wav.exe" - VALUE "ProductName", "TODO: " - VALUE "ProductVersion", "1.0.0.1" - END - END - BLOCK "VarFileInfo" - BEGIN - VALUE "Translation", 0x409, 1252 - END -END - - -///////////////////////////////////////////////////////////////////////////// -// -// DESIGNINFO -// - -#ifdef APSTUDIO_INVOKED -GUIDELINES DESIGNINFO -BEGIN - IDD_ABOUTBOX, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 163 - TOPMARGIN, 7 - BOTTOMMARGIN, 55 - END - - IDD_MY9222WAV_DIALOG, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 347 - TOPMARGIN, 7 - BOTTOMMARGIN, 194 - END - - IDD_CARDID_DIALOG, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 163 - TOPMARGIN, 7 - BOTTOMMARGIN, 82 - END -END -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog Info -// - -IDD_CARDID_DIALOG DLGINIT -BEGIN - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0030, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0031, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0032, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0033, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0034, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0035, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0036, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0037, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0038, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0039, - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3031, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3131, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3231, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3331, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3431, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3531, "\000" - 0 -END - - -///////////////////////////////////////////////////////////////////////////// -// -// String Table -// - -STRINGTABLE -BEGIN - IDS_ABOUTBOX "&About 9222Wav..." -END - -#endif // English (U.S.) resources -///////////////////////////////////////////////////////////////////////////// - - - -#ifndef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 3 resource. -// -#define _AFX_NO_SPLITTER_RESOURCES -#define _AFX_NO_OLE_RESOURCES -#define _AFX_NO_TRACKER_RESOURCES -#define _AFX_NO_PROPERTY_RESOURCES - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -LANGUAGE 9, 1 -#pragma code_page(1252) -#include "res\My9222Wav.rc2" // non-Microsoft Visual C++ edited resources -#include "afxres.rc" // Standard components -#endif - -///////////////////////////////////////////////////////////////////////////// -#endif // not APSTUDIO_INVOKED - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222DIWave_Dbf/9222Wav.sln b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222DIWave_Dbf/9222Wav.sln deleted file mode 100644 index e787234..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222DIWave_Dbf/9222Wav.sln +++ /dev/null @@ -1,20 +0,0 @@ - -Microsoft Visual Studio Solution File, Format Version 10.00 -# Visual Studio 2008 -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "9222Wav", "9222Wav.vcproj", "{EBDB6610-7CE5-413C-A150-121068BFDB22}" -EndProject -Global - GlobalSection(SolutionConfigurationPlatforms) = preSolution - Debug|x64 = Debug|x64 - Release|x64 = Release|x64 - EndGlobalSection - GlobalSection(ProjectConfigurationPlatforms) = postSolution - {EBDB6610-7CE5-413C-A150-121068BFDB22}.Debug|x64.ActiveCfg = Debug|x64 - {EBDB6610-7CE5-413C-A150-121068BFDB22}.Debug|x64.Build.0 = Debug|x64 - {EBDB6610-7CE5-413C-A150-121068BFDB22}.Release|x64.ActiveCfg = Release|x64 - {EBDB6610-7CE5-413C-A150-121068BFDB22}.Release|x64.Build.0 = Release|x64 - EndGlobalSection - GlobalSection(SolutionProperties) = preSolution - HideSolutionNode = FALSE - EndGlobalSection -EndGlobal diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222DIWave_Dbf/9222Wav.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222DIWave_Dbf/9222Wav.suo deleted file mode 100644 index 9169f25..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222DIWave_Dbf/9222Wav.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222DIWave_Dbf/9222Wav.vcproj b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222DIWave_Dbf/9222Wav.vcproj deleted file mode 100644 index 2b9f053..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222DIWave_Dbf/9222Wav.vcproj +++ /dev/null @@ -1,286 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222DIWave_Dbf/9222WavDlg.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222DIWave_Dbf/9222WavDlg.cpp deleted file mode 100644 index 7dcc60e..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222DIWave_Dbf/9222WavDlg.cpp +++ /dev/null @@ -1,601 +0,0 @@ - -// 9222WavDlg.cpp : implementation file -// - -#include "stdafx.h" -#include "9222Wav.h" -#include "9222WavDlg.h" -#include "math.h" - -#ifndef M_PI -#define M_PI 3.14159265359 -#endif - -#ifdef _DEBUG -#define new DEBUG_NEW -#endif - -CRect plotRect; - -#define PCI9222_DIO_STATUS_TIMER 1 - -#ifdef _SELF_OUTPUT_ -U16 DoBuf[10240]; -BOOLEAN bOutStopped; -ULONG out_count; -#endif - -// CAboutDlg dialog used for App About - -class CAboutDlg : public CDialog -{ -public: - CAboutDlg(); - -// Dialog Data - enum { IDD = IDD_ABOUTBOX }; - - protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - -// Implementation -protected: - DECLARE_MESSAGE_MAP() -}; - -CAboutDlg::CAboutDlg() : CDialog(CAboutDlg::IDD) -{ -} - -void CAboutDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); -} - -BEGIN_MESSAGE_MAP(CAboutDlg, CDialog) -END_MESSAGE_MAP() - - -// C9222WavDlg dialog - - -C9222WavDlg::C9222WavDlg(I16 hCard, CWnd* pParent /*=NULL*/) - : CDialog(C9222WavDlg::IDD, pParent) -{ - m_hIcon = AfxGetApp()->LoadIcon(IDR_MAINFRAME); - - m_hCard = hCard; - - OnBrush = OffBrush = NULL; - - n_PlotWidth = -1; - n_PlotHeight = -1; - - min_val = 0x00; - max_val = 0xFFFF; - - m_fSampleRate = 4000.0; // 100KHz - m_dwDISamples = 8000; - m_pDIAddr1 = NULL; - m_pDIAddr2 = NULL; - - m_nTimer = -1; - - m_dwOverrunCnt = 0; - -#ifdef _SELF_OUTPUT_ - for (int i=0; i<10240; i++) - DoBuf[i] = (U16)(sin((double)i/1024*M_PI)*0x00007FFF)+0x00008000; -#endif - -} - -void C9222WavDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); -} - -BEGIN_MESSAGE_MAP(C9222WavDlg, CDialog) - ON_WM_SYSCOMMAND() - ON_WM_PAINT() - ON_WM_QUERYDRAGICON() - //}}AFX_MSG_MAP - ON_WM_DESTROY() - ON_BN_CLICKED(IDC_BT_START, &C9222WavDlg::OnStart) - ON_BN_CLICKED(IDC_BT_STOP, &C9222WavDlg::OnStop) - ON_WM_TIMER() - ON_WM_VSCROLL() -END_MESSAGE_MAP() - - -// C9222WavDlg message handlers - -BOOL C9222WavDlg::OnInitDialog() -{ - CString strTemp; - - CDialog::OnInitDialog(); - - // Add "About..." menu item to system menu. - - // IDM_ABOUTBOX must be in the system command range. - ASSERT((IDM_ABOUTBOX & 0xFFF0) == IDM_ABOUTBOX); - ASSERT(IDM_ABOUTBOX < 0xF000); - - CMenu* pSysMenu = GetSystemMenu(FALSE); - if (pSysMenu != NULL) - { - BOOL bNameValid; - CString strAboutMenu; - bNameValid = strAboutMenu.LoadString(IDS_ABOUTBOX); - ASSERT(bNameValid); - if (!strAboutMenu.IsEmpty()) - { - pSysMenu->AppendMenu(MF_SEPARATOR); - pSysMenu->AppendMenu(MF_STRING, IDM_ABOUTBOX, strAboutMenu); - } - } - - // Set the icon for this dialog. The framework does this automatically - // when the application's main window is not a dialog - SetIcon(m_hIcon, TRUE); // Set big icon - SetIcon(m_hIcon, FALSE); // Set small icon - - // TODO: Add extra initialization here - x_divider = 5; y_divider = 2; - - OnBrush = CreateSolidBrush( RGB(255,0,0) ); - OffBrush = CreateSolidBrush( RGB(125,0,0) ); - - RedPen.CreatePen( PS_SOLID, 1, RGB(255,0,0)); - GreenPen.CreatePen( PS_SOLID, 1, RGB(0,255,0)); - - if( n_PlotWidth == -1 && n_PlotHeight == -1 ) - { - ((CWnd*)GetDlgItem(IDC_STATIC_DRAW))->GetWindowRect(&plotRect); - ScreenToClient(&plotRect); - - n_PlotWidth = min( plotRect.Width(), 512); - n_PlotHeight = plotRect.Height() - 10; - } - - // set the default SampleRate - SetDlgItemInt( IDC_EDIT_SAMPLE_RATE, (UINT)(m_fSampleRate/1000) ); - - // Set the default DI Sample - SetDlgItemInt( IDC_EDIT_SAMPLE, (UINT)(m_dwDISamples) ); - - - return TRUE; // return TRUE unless you set the focus to a control -} - -void C9222WavDlg::OnSysCommand(UINT nID, LPARAM lParam) -{ - if ((nID & 0xFFF0) == IDM_ABOUTBOX) - { - CAboutDlg dlgAbout; - dlgAbout.DoModal(); - } - else - { - CDialog::OnSysCommand(nID, lParam); - } -} - -// If you add a minimize button to your dialog, you will need the code below -// to draw the icon. For MFC applications using the document/view model, -// this is automatically done for you by the framework. - -void C9222WavDlg::OnPaint() -{ - if (IsIconic()) - { - CPaintDC dc(this); // device context for painting - - SendMessage(WM_ICONERASEBKGND, reinterpret_cast(dc.GetSafeHdc()), 0); - - // Center icon in client rectangle - int cxIcon = GetSystemMetrics(SM_CXICON); - int cyIcon = GetSystemMetrics(SM_CYICON); - CRect rect; - GetClientRect(&rect); - int x = (rect.Width() - cxIcon + 1) / 2; - int y = (rect.Height() - cyIcon + 1) / 2; - - // Draw the icon - dc.DrawIcon(x, y, m_hIcon); - } - else - { - redraw_display_area(); - CDialog::OnPaint(); - } -} - -// The system calls this function to obtain the cursor to display while the user drags -// the minimized window. -HCURSOR C9222WavDlg::OnQueryDragIcon() -{ - return static_cast(m_hIcon); -} - - -void C9222WavDlg::OnDestroy() -{ - U32 count; - - CDialog::OnDestroy(); - - // TODO: Add your message handler code here - if( OnBrush != NULL ) - ::DeleteObject( OnBrush ); - - if( OffBrush != NULL ) - ::DeleteObject( OffBrush ); - - RedPen.DeleteObject(); - GreenPen.DeleteObject(); - - if( m_nTimer != -1 ) - { - KillTimer( m_nTimer ); - m_nTimer = -1; - } - - if( m_pDIAddr1 != NULL ) - { - free( m_pDIAddr1 ); - m_pDIAddr1 = NULL; - } - - if( m_pDIAddr2 != NULL ) - { - free( m_pDIAddr2 ); - m_pDIAddr2 = NULL; - } - - DI_AsyncClear( m_hCard, &count ); - -#ifdef _SELF_OUTPUT_ - DO_AsyncClear( m_hCard, &count ); -#endif - - -} - -void C9222WavDlg::OnStart() -{ - // TODO: Add your control notification handler code here - U32 dwMemSize, dwDISamples; - void* pMem; - I16 err; - CString strMsg; - - dwDISamples = GetDlgItemInt( IDC_EDIT_SAMPLE ); - - if( dwDISamples != m_dwDISamples ) - { - if( m_pDIAddr1 != NULL ) - { - free( m_pDIAddr1 ); - m_pDIAddr1 = NULL; - } - - if( m_pDIAddr2 != NULL ) - { - free( m_pDIAddr2 ); - m_pDIAddr2 = NULL; - } - - m_dwDISamples = dwDISamples; - } - - - dwMemSize = m_dwDISamples * sizeof(U16); - pMem = malloc( dwMemSize ); - if( pMem == NULL ) - { - AfxMessageBox( TEXT("Memory allocated failed") ); - return; - } - else - { - m_pDIAddr1 = (U16*) pMem; - memset( m_pDIAddr1, '\0', dwMemSize ); - } - - pMem = malloc( dwMemSize ); - if( pMem == NULL ) - { - AfxMessageBox( TEXT("Memory allocated failed") ); - return; - } - else - { - m_pDIAddr2 = (U16*) pMem; - memset( m_pDIAddr2, '\0', dwMemSize ); - } - -#ifdef _SELF_OUTPUT_ - - if ((err=DO_9222_Config(m_hCard, P922x_DO_CONVSRC_INT, (P922x_DO_TRGMOD_POST|P922x_DO_TRGSRC_SOFT), 0, 0, 0, 1)) != NoError) - { - strMsg.Format( TEXT("DO_9222_Config Error = %d") ,err ); - AfxMessageBox( strMsg ); - return; - } - - if ((err = DO_ContBufferSetup(m_hCard, DoBuf, 5120/*10240*/, &m_wDOBufferId)) != NoError) - { - strMsg.Format( TEXT("DO_ContBufferSetup Error = %d") ,err ); - AfxMessageBox( strMsg ); - return; - } - -#endif - - if ((err=DI_9222_Config(m_hCard, P922x_DI_CONVSRC_INT, (P922x_DI_TRGMOD_POST|P922x_DI_TRGSRC_SOFT), 0, 1)) != NoError) - { - strMsg.Format( TEXT("DI_9222_Config Error = %d") ,err ); - AfxMessageBox( strMsg ); - return; - } - - if ((err=DI_AsyncDblBufferMode (m_hCard, 1)) != NoError) - { - strMsg.Format( TEXT("DI_AsyncDblBufferMode Error = %d\n"), err ); - AfxMessageBox( strMsg ); - return; - } - - /*Setup Buffer for DI DMA Transfer*/ - if ((err=DI_ContBufferSetup(m_hCard, m_pDIAddr1, m_dwDISamples, &m_wDIBufId1)) != NoError) - { - strMsg.Format( TEXT("DI_ContBufferSetup Error = %d") ,err ); - AfxMessageBox( strMsg ); - return; - } - - /*Setup Buffer for DI DMA Transfer*/ - if ((err=DI_ContBufferSetup(m_hCard, m_pDIAddr2, m_dwDISamples, &m_wDIBufId2)) != NoError) - { - strMsg.Format( TEXT("DI_ContBufferSetup Error = %d") ,err ); - AfxMessageBox( strMsg ); - return; - } - - // clear display area - redraw_display_area(); - m_bView = 0; - - if ((err = DI_ContReadPort(m_hCard, 0, &m_wDIBufId1, m_dwDISamples, m_fSampleRate, ASYNCH_OP)) != NoError) - { - DI_ContBufferReset(m_hCard); - strMsg.Format( TEXT("DI_ContReadPort Error = %d\n"), err); - AfxMessageBox( strMsg ); - return; - } - -#ifdef _SELF_OUTPUT_ - if ((err = DO_ContWritePort(m_hCard, 0, &m_wDOBufferId, 5120/*10240*/, 1, m_fSampleRate, ASYNCH_OP)) != NoError) - { - DO_ContBufferReset(m_hCard); - strMsg.Format( TEXT("DO_ContWritePort Error = %d") ,err ); - AfxMessageBox( strMsg ); - return; - } -#endif - - if( m_nTimer == -1 ) - { - m_nTimer = SetTimer( PCI9222_DIO_STATUS_TIMER, 20, NULL ); - } - - GetDlgItem( IDC_BT_START )->EnableWindow( FALSE ); - GetDlgItem( IDC_BT_STOP )->EnableWindow( TRUE ); - -} - -void C9222WavDlg::OnStop() -{ - // TODO: Add your control notification handler code here - U32 count; - - DI_AsyncClear(m_hCard, &count); - DI_ContBufferReset(m_hCard); - -#ifdef _SELF_OUTPUT_ - DO_AsyncClear(m_hCard, &count); - DO_ContBufferReset( m_hCard ); -#endif - - GetDlgItem( IDC_BT_START )->EnableWindow( TRUE ); - GetDlgItem( IDC_BT_STOP )->EnableWindow( FALSE); -} - -void C9222WavDlg::OnTimer(UINT_PTR nIDEvent) -{ - // TODO: Add your message handler code here and/or call default - BOOLEAN HalfReady; - U16 OverrunFlag; - I16 err; - - err = DI_AsyncDblBufferHalfReady(m_hCard, &HalfReady); - - if( HalfReady ) // half-buffer ready - { - if(m_bView == 0) - { - display_buffer_data( m_pDIAddr1 ); - m_bView = 1; - } - else - { - display_buffer_data( m_pDIAddr2 ); - m_bView= 0; - } - - DI_AsyncDblBufferHandled( m_hCard ); - DI_AsyncDblBufferOverrun( m_hCard, 0, &OverrunFlag); - - if(OverrunFlag) - { - m_dwOverrunCnt++; - DI_AsyncDblBufferOverrun( m_hCard, 1, NULL ); -// SetDlgItemInt( IDC_EDIT_OVERRUN, (UINT)(m_dwOverrunCnt) ); - } - - } - - - CDialog::OnTimer(nIDEvent); -} - - -void C9222WavDlg::display_buffer_data(U16* pBuf) -{ - CClientDC dc_plot(this); - int nDraw_Bottom; - - int newY, oldY = -1; - int newX, oldX = -1; - U32 index; - U16 di_data; - - // redraw the background - dc_plot.FillSolidRect( plotRect, RGB(0,0,0) ); - - dc_plot.SelectObject( &GreenPen ); - nDraw_Bottom = ( plotRect.bottom - 5 ); - - for( index=0; index 2000000.0 ) m_fSampleRate = 2000000.0; - break; - case SB_LINEDOWN: - m_fSampleRate -= 50000; - if (m_fSampleRate < 50000 ) m_fSampleRate = 50000; - break; - } - - SetDlgItemInt( IDC_EDIT_SAMPLE_RATE, (UINT)(m_fSampleRate/1000) ); - - CDialog::OnVScroll(nSBCode, nPos, pScrollBar); -} diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222DIWave_Dbf/9222WavDlg.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222DIWave_Dbf/9222WavDlg.h deleted file mode 100644 index 3c366e7..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222DIWave_Dbf/9222WavDlg.h +++ /dev/null @@ -1,65 +0,0 @@ - -// 9222WavDlg.h : header file -// -#include "Dask64.h" - -#pragma once - - -// C9222WavDlg dialog -class C9222WavDlg : public CDialog -{ -// Construction -public: - C9222WavDlg(I16 hCard, CWnd* pParent = NULL); // standard constructor - -// Dialog Data - enum { IDD = IDD_MY9222WAV_DIALOG }; - - protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - - -// Implementation -protected: - HICON m_hIcon; - I16 m_hCard; - UINT_PTR m_nTimer; - U16* m_pDIAddr1; - U16* m_pDIAddr2; - U32 m_dwDISamples; - HBRUSH OnBrush; - HBRUSH OffBrush; - CPen RedPen; - CPen GreenPen; - DWORD max_val; - DWORD min_val; - int y_divider; - int x_divider; - int m_DisplayScale; - double m_fSampleRate; - U16 m_wDOBufferId; - U16 m_wDIBufId1; - U16 m_wDIBufId2; - U8 m_bView; - U32 m_dwOverrunCnt; - - // Generated message map functions - virtual BOOL OnInitDialog(); - afx_msg void OnSysCommand(UINT nID, LPARAM lParam); - afx_msg void OnPaint(); - afx_msg HCURSOR OnQueryDragIcon(); - DECLARE_MESSAGE_MAP() -public: - afx_msg void OnDestroy(); - afx_msg void OnStart(); - afx_msg void OnStop(); - afx_msg void OnTimer(UINT_PTR nIDEvent); - void display_buffer_data(U16* pBuf); - void redraw_display_area(void); - afx_msg void OnVScroll(UINT nSBCode, UINT nPos, CScrollBar* pScrollBar); - -private: - int n_PlotHeight; - int n_PlotWidth; -}; diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222DIWave_Dbf/CardIDDlg.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222DIWave_Dbf/CardIDDlg.cpp deleted file mode 100644 index bfc053b..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222DIWave_Dbf/CardIDDlg.cpp +++ /dev/null @@ -1,67 +0,0 @@ -// CardIDDlg.cpp : implementation file -// - -#include "stdafx.h" -#include "9222Wav.h" -#include "CardIDDlg.h" - - -// CCardIDDlg dialog - -IMPLEMENT_DYNAMIC(CCardIDDlg, CDialog) - -CCardIDDlg::CCardIDDlg(int nCardIdx, CWnd* pParent /*=NULL*/) - : CDialog(CCardIDDlg::IDD, pParent) -{ - m_nCardIdx = nCardIdx; -} - -CCardIDDlg::~CCardIDDlg() -{ -} - -void CCardIDDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); - DDX_Control(pDX, IDC_COMBO_CARDID, m_cbCardID); -} - - -BEGIN_MESSAGE_MAP(CCardIDDlg, CDialog) -// ON_CBN_SELCHANGE(IDC_COMBO_CARDID, &CCardIDDlg::OnCbnSelchangeComboCardid) -ON_BN_CLICKED(IDOK, &CCardIDDlg::OnBnClickedOk) -//ON_WM_CTLCOLOR() -END_MESSAGE_MAP() - - -// CCardIDDlg message handlers - - -void CCardIDDlg::OnBnClickedOk() -{ - // TODO: Add your control notification handler code here - -// UpdateData(TRUE); - m_nCardIdx = m_cbCardID.GetCurSel(); - - OnOK(); -} - -BOOL CCardIDDlg::OnInitDialog() -{ - CDialog::OnInitDialog(); - - // TODO: Add extra initialization here - m_cbCardID.SetCurSel( m_nCardIdx ); - - return TRUE; // return TRUE unless you set the focus to a control - // EXCEPTION: OCX Property Pages should return FALSE -} - -// the function to get the selected CardID -int CCardIDDlg::GetCardID(void) -{ - return m_nCardIdx; -} - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222DIWave_Dbf/CardIDDlg.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222DIWave_Dbf/CardIDDlg.h deleted file mode 100644 index 54628ea..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222DIWave_Dbf/CardIDDlg.h +++ /dev/null @@ -1,33 +0,0 @@ -#pragma once -#include "afxwin.h" - - -// CCardIDDlg dialog - -class CCardIDDlg : public CDialog -{ - DECLARE_DYNAMIC(CCardIDDlg) - -public: - CCardIDDlg(int nCardIdx, CWnd* pParent = NULL); // standard constructor - virtual ~CCardIDDlg(); - -// Dialog Data - enum { IDD = IDD_CARDID_DIALOG }; - -protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - - DECLARE_MESSAGE_MAP() -public: -// afx_msg void OnCbnSelchangeComboCardid(); - afx_msg void OnBnClickedOk(); - // the setting of CardID ComboBox - int m_nCardIdx; - virtual BOOL OnInitDialog(); - // the control of CardID ComboBox - CComboBox m_cbCardID; - // the function to get the selected CardID - int GetCardID(void); -// afx_msg HBRUSH OnCtlColor(CDC* pDC, CWnd* pWnd, UINT nCtlColor); -}; diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222DIWave_Dbf/ReadMe.txt b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222DIWave_Dbf/ReadMe.txt deleted file mode 100644 index 1eb0f35..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222DIWave_Dbf/ReadMe.txt +++ /dev/null @@ -1,93 +0,0 @@ -================================================================================ - MICROSOFT FOUNDATION CLASS LIBRARY : 9222Wav Project Overview -=============================================================================== - -The application wizard has created this 9222Wav application for -you. This application not only demonstrates the basics of using the Microsoft -Foundation Classes but is also a starting point for writing your application. - -This file contains a summary of what you will find in each of the files that -make up your 9222Wav application. - -9222Wav.vcproj - This is the main project file for VC++ projects generated using an application wizard. - It contains information about the version of Visual C++ that generated the file, and - information about the platforms, configurations, and project features selected with the - application wizard. - -9222Wav.h - This is the main header file for the application. It includes other - project specific headers (including Resource.h) and declares the - C9222WavApp application class. - -9222Wav.cpp - This is the main application source file that contains the application - class C9222WavApp. - -9222Wav.rc - This is a listing of all of the Microsoft Windows resources that the - program uses. It includes the icons, bitmaps, and cursors that are stored - in the RES subdirectory. This file can be directly edited in Microsoft - Visual C++. Your project resources are in 1033. - -res\9222Wav.ico - This is an icon file, which is used as the application's icon. This - icon is included by the main resource file 9222Wav.rc. - -res\My9222Wav.rc2 - This file contains resources that are not edited by Microsoft - Visual C++. You should place all resources not editable by - the resource editor in this file. - - -///////////////////////////////////////////////////////////////////////////// - -The application wizard creates one dialog class: - -9222WavDlg.h, 9222WavDlg.cpp - the dialog - These files contain your C9222WavDlg class. This class defines - the behavior of your application's main dialog. The dialog's template is - in 9222Wav.rc, which can be edited in Microsoft Visual C++. - - -///////////////////////////////////////////////////////////////////////////// - -Other Features: - -ActiveX Controls - The application includes support to use ActiveX controls. - -///////////////////////////////////////////////////////////////////////////// - -Other standard files: - -StdAfx.h, StdAfx.cpp - These files are used to build a precompiled header (PCH) file - named 9222Wav.pch and a precompiled types file named StdAfx.obj. - -Resource.h - This is the standard header file, which defines new resource IDs. - Microsoft Visual C++ reads and updates this file. - -9222Wav.manifest - Application manifest files are used by Windows XP to describe an applications - dependency on specific versions of Side-by-Side assemblies. The loader uses this - information to load the appropriate assembly from the assembly cache or private - from the application. The Application manifest maybe included for redistribution - as an external .manifest file that is installed in the same folder as the application - executable or it may be included in the executable in the form of a resource. -///////////////////////////////////////////////////////////////////////////// - -Other notes: - -The application wizard uses "TODO:" to indicate parts of the source code you -should add to or customize. - -If your application uses MFC in a shared DLL, you will need -to redistribute the MFC DLLs. If your application is in a language -other than the operating system's locale, you will also have to -redistribute the corresponding localized resources MFC90XXX.DLL. -For more information on both of these topics, please see the section on -redistributing Visual C++ applications in MSDN documentation. - -///////////////////////////////////////////////////////////////////////////// diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222DIWave_Dbf/res/9222Wav.ico b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222DIWave_Dbf/res/9222Wav.ico deleted file mode 100644 index d56fbcd..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222DIWave_Dbf/res/9222Wav.ico and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222DIWave_Dbf/res/My9222Wav.rc2 b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222DIWave_Dbf/res/My9222Wav.rc2 deleted file mode 100644 index 440d4a5..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222DIWave_Dbf/res/My9222Wav.rc2 +++ /dev/null @@ -1,13 +0,0 @@ -// -// My7200Wav.RC2 - resources Microsoft Visual C++ does not edit directly -// - -#ifdef APSTUDIO_INVOKED -#error this file is not editable by Microsoft Visual C++ -#endif //APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// Add manually edited resources here... - -///////////////////////////////////////////////////////////////////////////// diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222DIWave_Dbf/resource.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222DIWave_Dbf/resource.h deleted file mode 100644 index 4af9b16..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222DIWave_Dbf/resource.h +++ /dev/null @@ -1,29 +0,0 @@ -//{{NO_DEPENDENCIES}} -// Microsoft Visual C++ generated include file. -// Used by 9222Wav.rc -// -#define IDM_ABOUTBOX 0x0010 -#define IDD_ABOUTBOX 100 -#define IDS_ABOUTBOX 101 -#define IDD_MY9222WAV_DIALOG 102 -#define IDR_MAINFRAME 128 -#define IDD_CARDID_DIALOG 129 -#define IDC_STATIC_DRAW 1000 -#define IDC_EDIT_SAMPLE 1001 -#define IDC_EDIT_SAMPLE_RATE 1003 -#define IDC_SCROLLBAR_RATE 1006 -#define IDC_COMBO_CARDID 1007 -#define IDC_BT_START 1008 -#define IDC_BT_STOP 1009 -#define IDC_STATIC_01 1014 - -// Next default values for new objects -// -#ifdef APSTUDIO_INVOKED -#ifndef APSTUDIO_READONLY_SYMBOLS -#define _APS_NEXT_RESOURCE_VALUE 131 -#define _APS_NEXT_COMMAND_VALUE 32771 -#define _APS_NEXT_CONTROL_VALUE 1000 -#define _APS_NEXT_SYMED_VALUE 101 -#endif -#endif diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222DIWave_Dbf/stdafx.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222DIWave_Dbf/stdafx.cpp deleted file mode 100644 index b5184d9..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222DIWave_Dbf/stdafx.cpp +++ /dev/null @@ -1,8 +0,0 @@ - -// stdafx.cpp : source file that includes just the standard includes -// 7200Wav.pch will be the pre-compiled header -// stdafx.obj will contain the pre-compiled type information - -#include "stdafx.h" - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222DIWave_Dbf/stdafx.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222DIWave_Dbf/stdafx.h deleted file mode 100644 index 12123e2..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222DIWave_Dbf/stdafx.h +++ /dev/null @@ -1,60 +0,0 @@ - -// stdafx.h : include file for standard system include files, -// or project specific include files that are used frequently, -// but are changed infrequently - -#pragma once - -#ifndef _SECURE_ATL -#define _SECURE_ATL 1 -#endif - -#ifndef VC_EXTRALEAN -#define VC_EXTRALEAN // Exclude rarely-used stuff from Windows headers -#endif - -#include "targetver.h" - -#define _ATL_CSTRING_EXPLICIT_CONSTRUCTORS // some CString constructors will be explicit - -// turns off MFC's hiding of some common and often safely ignored warning messages -#define _AFX_ALL_WARNINGS - -#include // MFC core and standard components -#include // MFC extensions - - -#include // MFC Automation classes - - - -#ifndef _AFX_NO_OLE_SUPPORT -#include // MFC support for Internet Explorer 4 Common Controls -#endif -#ifndef _AFX_NO_AFXCMN_SUPPORT -#include // MFC support for Windows Common Controls -#endif // _AFX_NO_AFXCMN_SUPPORT - -#include // MFC support for ribbons and control bars - - - - - - - - - -#ifdef _UNICODE -#if defined _M_IX86 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='x86' publicKeyToken='6595b64144ccf1df' language='*'\"") -#elif defined _M_IA64 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='ia64' publicKeyToken='6595b64144ccf1df' language='*'\"") -#elif defined _M_X64 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='amd64' publicKeyToken='6595b64144ccf1df' language='*'\"") -#else -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='*' publicKeyToken='6595b64144ccf1df' language='*'\"") -#endif -#endif - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222DIWave_Dbf/targetver.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222DIWave_Dbf/targetver.h deleted file mode 100644 index 11730d5..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222DIWave_Dbf/targetver.h +++ /dev/null @@ -1,26 +0,0 @@ - -#pragma once - -// The following macros define the minimum required platform. The minimum required platform -// is the earliest version of Windows, Internet Explorer etc. that has the necessary features to run -// your application. The macros work by enabling all features available on platform versions up to and -// including the version specified. - -// Modify the following defines if you have to target a platform prior to the ones specified below. -// Refer to MSDN for the latest info on corresponding values for different platforms. -#ifndef WINVER // Specifies that the minimum required platform is Windows Vista. -#define WINVER 0x0600 // Change this to the appropriate value to target other versions of Windows. -#endif - -#ifndef _WIN32_WINNT // Specifies that the minimum required platform is Windows Vista. -#define _WIN32_WINNT 0x0600 // Change this to the appropriate value to target other versions of Windows. -#endif - -#ifndef _WIN32_WINDOWS // Specifies that the minimum required platform is Windows 98. -#define _WIN32_WINDOWS 0x0410 // Change this to the appropriate value to target Windows Me or later. -#endif - -#ifndef _WIN32_IE // Specifies that the minimum required platform is Internet Explorer 7.0. -#define _WIN32_IE 0x0700 // Change this to the appropriate value to target other versions of IE. -#endif - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222DIWave_ReTrigger/7200Wav.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222DIWave_ReTrigger/7200Wav.suo deleted file mode 100644 index bc032e1..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222DIWave_ReTrigger/7200Wav.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222DIWave_ReTrigger/9222Wav.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222DIWave_ReTrigger/9222Wav.cpp deleted file mode 100644 index 7619449..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222DIWave_ReTrigger/9222Wav.cpp +++ /dev/null @@ -1,110 +0,0 @@ - -// 9222Wav.cpp : Defines the class behaviors for the application. -// - -#include "stdafx.h" -#include "9222Wav.h" -#include "9222WavDlg.h" -#include "CardIDDlg.h" - -#ifdef _DEBUG -#define new DEBUG_NEW -#endif - - -// C9222WavApp - -BEGIN_MESSAGE_MAP(C9222WavApp, CWinAppEx) - ON_COMMAND(ID_HELP, &CWinApp::OnHelp) -END_MESSAGE_MAP() - - -// C9222WavApp construction - -C9222WavApp::C9222WavApp() -{ - // TODO: add construction code here, - // Place all significant initialization in InitInstance -} - - -// The one and only C9222WavApp object - -C9222WavApp theApp; - - -// C9222WavApp initialization - -BOOL C9222WavApp::InitInstance() -{ - int nCardID = 0; - I16 hCard; - CString strTemp; - INT_PTR nResponse; - - // InitCommonControlsEx() is required on Windows XP if an application - // manifest specifies use of ComCtl32.dll version 6 or later to enable - // visual styles. Otherwise, any window creation will fail. - INITCOMMONCONTROLSEX InitCtrls; - InitCtrls.dwSize = sizeof(InitCtrls); - // Set this to include all the common control classes you want to use - // in your application. - InitCtrls.dwICC = ICC_WIN95_CLASSES; - InitCommonControlsEx(&InitCtrls); - - CWinAppEx::InitInstance(); - - AfxEnableControlContainer(); - - // Standard initialization - // If you are not using these features and wish to reduce the size - // of your final executable, you should remove from the following - // the specific initialization routines you do not need - // Change the registry key under which our settings are stored - // TODO: You should modify this string to be something appropriate - // such as the name of your company or organization - SetRegistryKey(_T("Local AppWizard-Generated Applications")); - - CCardIDDlg CardDlg( nCardID ); - - nResponse = CardDlg.DoModal(); - if (nResponse == IDOK) - { - nCardID = CardDlg.GetCardID(); - - if ((hCard=Register_Card(PCI_9222, nCardID)) < 0) - { - strTemp.Format( TEXT("Register_Card Error = %d"), hCard); - AfxMessageBox( strTemp ); - } - else - { - C9222WavDlg dlg(hCard); - m_pMainWnd = &dlg; - nResponse = dlg.DoModal(); - if (nResponse == IDOK) - { - // TODO: Place code here to handle when the dialog is - // dismissed with OK - } - else if (nResponse == IDCANCEL) - { - // TODO: Place code here to handle when the dialog is - // dismissed with Cancel - } - - if (hCard >= 0) Release_Card(hCard); - } - - } - else if (nResponse == IDCANCEL) - { - // TODO: Place code here to handle when the dialog is - // dismissed with Cancel - } - - - // Since the dialog has been closed, return FALSE so that we exit the - // application, rather than start the application's message pump. - return FALSE; -} diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222DIWave_ReTrigger/9222Wav.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222DIWave_ReTrigger/9222Wav.h deleted file mode 100644 index 122b975..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222DIWave_ReTrigger/9222Wav.h +++ /dev/null @@ -1,32 +0,0 @@ - -// 9222Wav.h : main header file for the PROJECT_NAME application -// - -#pragma once - -#ifndef __AFXWIN_H__ - #error "include 'stdafx.h' before including this file for PCH" -#endif - -#include "resource.h" // main symbols - - -// C9222WavApp: -// See 9222Wav.cpp for the implementation of this class -// - -class C9222WavApp : public CWinAppEx -{ -public: - C9222WavApp(); - -// Overrides - public: - virtual BOOL InitInstance(); - -// Implementation - - DECLARE_MESSAGE_MAP() -}; - -extern C9222WavApp theApp; \ No newline at end of file diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222DIWave_ReTrigger/9222Wav.rc b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222DIWave_ReTrigger/9222Wav.rc deleted file mode 100644 index 8695533..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222DIWave_ReTrigger/9222Wav.rc +++ /dev/null @@ -1,283 +0,0 @@ -// Microsoft Visual C++ generated resource script. -// -#include "resource.h" - -#define APSTUDIO_READONLY_SYMBOLS -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 2 resource. -// -#ifndef APSTUDIO_INVOKED -#include "targetver.h" -#endif -#include "afxres.h" - -///////////////////////////////////////////////////////////////////////////// -#undef APSTUDIO_READONLY_SYMBOLS - -///////////////////////////////////////////////////////////////////////////// -// Chinese (Taiwan) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_CHT) -#ifdef _WIN32 -LANGUAGE LANG_CHINESE, SUBLANG_CHINESE_TRADITIONAL -#pragma code_page(950) -#endif //_WIN32 - -#ifdef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// TEXTINCLUDE -// - -1 TEXTINCLUDE -BEGIN - "resource.h\0" -END - -2 TEXTINCLUDE -BEGIN - "#ifndef APSTUDIO_INVOKED\r\n" - "#include ""targetver.h""\r\n" - "#endif\r\n" - "#include ""afxres.h""\r\n" - "\0" -END - -3 TEXTINCLUDE -BEGIN - "#define _AFX_NO_SPLITTER_RESOURCES\r\n" - "#define _AFX_NO_OLE_RESOURCES\r\n" - "#define _AFX_NO_TRACKER_RESOURCES\r\n" - "#define _AFX_NO_PROPERTY_RESOURCES\r\n" - "\r\n" - "#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)\r\n" - "LANGUAGE 9, 1\r\n" - "#pragma code_page(1252)\r\n" - "#include ""res\\My9222Wav.rc2"" // non-Microsoft Visual C++ edited resources\r\n" - "#include ""afxres.rc"" // Standard components\r\n" - "#endif\r\n" - "\0" -END - -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// Icon -// - -// Icon with lowest ID value placed first to ensure application icon -// remains consistent on all systems. -IDR_MAINFRAME ICON "res\\9222Wav.ico" -#endif // Chinese (Taiwan) resources -///////////////////////////////////////////////////////////////////////////// - - -///////////////////////////////////////////////////////////////////////////// -// English (U.S.) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -#ifdef _WIN32 -LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US -#pragma code_page(1252) -#endif //_WIN32 - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog -// - -IDD_ABOUTBOX DIALOGEX 0, 0, 170, 62 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "About 9222Wav" -FONT 8, "MS Shell Dlg", 0, 0, 0x1 -BEGIN - ICON IDR_MAINFRAME,IDC_STATIC,14,14,21,20 - LTEXT "9222Wav, Version 1.0",IDC_STATIC,42,14,114,8,SS_NOPREFIX - LTEXT "Copyright (C) 2010",IDC_STATIC,42,26,114,8 - DEFPUSHBUTTON "OK",IDOK,113,41,50,14,WS_GROUP -END - -IDD_MY9222WAV_DIALOG DIALOGEX 0, 0, 354, 201 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU -EXSTYLE WS_EX_APPWINDOW -CAPTION "PCI-9222 DI Re-Trigger DMA (total 4 DI operation)" -FONT 8, "MS Shell Dlg", 0, 0, 0x1 -BEGIN - GROUPBOX "",IDC_STATIC_DRAW,49,7,293,138,NOT WS_VISIBLE - EDITTEXT IDC_EDIT_SAMPLE,113,153,51,12,ES_AUTOHSCROLL - LTEXT "DI Samples :",IDC_STATIC,64,154,45,9 - EDITTEXT IDC_EDIT_SAMPLE_RATE,227,154,30,12,ES_AUTOHSCROLL | ES_READONLY - LTEXT "Sample Rate :",IDC_STATIC,174,154,49,9 - LTEXT "KHz",IDC_STATIC,270,156,15,9 - SCROLLBAR IDC_SCROLLBAR_RATE,258,154,9,11,SBS_VERT - PUSHBUTTON "Start",IDC_BT_START,293,151,48,17 - PUSHBUTTON "Stop",IDC_BT_STOP,293,170,48,17 -END - -IDD_CARDID_DIALOG DIALOGEX 0, 0, 170, 89 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "Card ID" -FONT 8, "MS Shell Dlg", 400, 0, 0x1 -BEGIN - COMBOBOX IDC_COMBO_CARDID,75,17,71,126,CBS_DROPDOWN | WS_VSCROLL | WS_TABSTOP - LTEXT "Card Number",IDC_STATIC_01,21,18,46,12 - PUSHBUTTON "OK",IDOK,22,50,58,19 - PUSHBUTTON "CANCEL",IDCANCEL,86,50,58,19 -END - - -///////////////////////////////////////////////////////////////////////////// -// -// Version -// - -VS_VERSION_INFO VERSIONINFO - FILEVERSION 1,0,0,1 - PRODUCTVERSION 1,0,0,1 - FILEFLAGSMASK 0x3fL -#ifdef _DEBUG - FILEFLAGS 0x1L -#else - FILEFLAGS 0x0L -#endif - FILEOS 0x4L - FILETYPE 0x1L - FILESUBTYPE 0x0L -BEGIN - BLOCK "StringFileInfo" - BEGIN - BLOCK "040904e4" - BEGIN - VALUE "CompanyName", "TODO: " - VALUE "FileDescription", "TODO: " - VALUE "FileVersion", "1.0.0.1" - VALUE "InternalName", "9222Wav.exe" - VALUE "LegalCopyright", "TODO: (c) . All rights reserved." - VALUE "OriginalFilename", "9222Wav.exe" - VALUE "ProductName", "TODO: " - VALUE "ProductVersion", "1.0.0.1" - END - END - BLOCK "VarFileInfo" - BEGIN - VALUE "Translation", 0x409, 1252 - END -END - - -///////////////////////////////////////////////////////////////////////////// -// -// DESIGNINFO -// - -#ifdef APSTUDIO_INVOKED -GUIDELINES DESIGNINFO -BEGIN - IDD_ABOUTBOX, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 163 - TOPMARGIN, 7 - BOTTOMMARGIN, 55 - END - - IDD_MY9222WAV_DIALOG, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 347 - TOPMARGIN, 7 - BOTTOMMARGIN, 194 - END - - IDD_CARDID_DIALOG, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 163 - TOPMARGIN, 7 - BOTTOMMARGIN, 82 - END -END -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog Info -// - -IDD_CARDID_DIALOG DLGINIT -BEGIN - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0030, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0031, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0032, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0033, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0034, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0035, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0036, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0037, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0038, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0039, - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3031, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3131, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3231, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3331, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3431, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3531, "\000" - 0 -END - - -///////////////////////////////////////////////////////////////////////////// -// -// String Table -// - -STRINGTABLE -BEGIN - IDS_ABOUTBOX "&About 9222Wav..." -END - -#endif // English (U.S.) resources -///////////////////////////////////////////////////////////////////////////// - - - -#ifndef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 3 resource. -// -#define _AFX_NO_SPLITTER_RESOURCES -#define _AFX_NO_OLE_RESOURCES -#define _AFX_NO_TRACKER_RESOURCES -#define _AFX_NO_PROPERTY_RESOURCES - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -LANGUAGE 9, 1 -#pragma code_page(1252) -#include "res\My9222Wav.rc2" // non-Microsoft Visual C++ edited resources -#include "afxres.rc" // Standard components -#endif - -///////////////////////////////////////////////////////////////////////////// -#endif // not APSTUDIO_INVOKED - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222DIWave_ReTrigger/9222Wav.sln b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222DIWave_ReTrigger/9222Wav.sln deleted file mode 100644 index e787234..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222DIWave_ReTrigger/9222Wav.sln +++ /dev/null @@ -1,20 +0,0 @@ - -Microsoft Visual Studio Solution File, Format Version 10.00 -# Visual Studio 2008 -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "9222Wav", "9222Wav.vcproj", "{EBDB6610-7CE5-413C-A150-121068BFDB22}" -EndProject -Global - GlobalSection(SolutionConfigurationPlatforms) = preSolution - Debug|x64 = Debug|x64 - Release|x64 = Release|x64 - EndGlobalSection - GlobalSection(ProjectConfigurationPlatforms) = postSolution - {EBDB6610-7CE5-413C-A150-121068BFDB22}.Debug|x64.ActiveCfg = Debug|x64 - {EBDB6610-7CE5-413C-A150-121068BFDB22}.Debug|x64.Build.0 = Debug|x64 - {EBDB6610-7CE5-413C-A150-121068BFDB22}.Release|x64.ActiveCfg = Release|x64 - {EBDB6610-7CE5-413C-A150-121068BFDB22}.Release|x64.Build.0 = Release|x64 - EndGlobalSection - GlobalSection(SolutionProperties) = preSolution - HideSolutionNode = FALSE - EndGlobalSection -EndGlobal diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222DIWave_ReTrigger/9222Wav.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222DIWave_ReTrigger/9222Wav.suo deleted file mode 100644 index 4abe22a..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222DIWave_ReTrigger/9222Wav.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222DIWave_ReTrigger/9222Wav.vcproj b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222DIWave_ReTrigger/9222Wav.vcproj deleted file mode 100644 index 2b9f053..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222DIWave_ReTrigger/9222Wav.vcproj +++ /dev/null @@ -1,286 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222DIWave_ReTrigger/9222WavDlg.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222DIWave_ReTrigger/9222WavDlg.cpp deleted file mode 100644 index c397982..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222DIWave_ReTrigger/9222WavDlg.cpp +++ /dev/null @@ -1,567 +0,0 @@ - -// 9222WavDlg.cpp : implementation file -// - -#include "stdafx.h" -#include "9222Wav.h" -#include "9222WavDlg.h" -#include "math.h" - -#ifndef M_PI -#define M_PI 3.14159265359 -#endif - -#ifdef _DEBUG -#define new DEBUG_NEW -#endif - -CRect plotRect; - -#define PCI9222_DIO_STATUS_TIMER 1 - -#ifdef _SELF_OUTPUT_ -U16 DoBuf[10240]; -BOOLEAN bOutStopped; -ULONG out_count; -#endif - -// CAboutDlg dialog used for App About - -class CAboutDlg : public CDialog -{ -public: - CAboutDlg(); - -// Dialog Data - enum { IDD = IDD_ABOUTBOX }; - - protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - -// Implementation -protected: - DECLARE_MESSAGE_MAP() -}; - -CAboutDlg::CAboutDlg() : CDialog(CAboutDlg::IDD) -{ -} - -void CAboutDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); -} - -BEGIN_MESSAGE_MAP(CAboutDlg, CDialog) -END_MESSAGE_MAP() - - -// C9222WavDlg dialog - - -C9222WavDlg::C9222WavDlg(I16 hCard, CWnd* pParent /*=NULL*/) - : CDialog(C9222WavDlg::IDD, pParent) -{ - m_hIcon = AfxGetApp()->LoadIcon(IDR_MAINFRAME); - - m_hCard = hCard; - - OnBrush = OffBrush = NULL; - - n_PlotWidth = -1; - n_PlotHeight = -1; - - min_val = 0x00; - max_val = 0xFFFF; - - m_fSampleRate = 4000.0; // 100KHz - m_dwDISamples = 8000; - m_pDIAddr = NULL; - - m_wReTrigCount = 3; - - m_nTimer = -1; - -#ifdef _SELF_OUTPUT_ - for (int i=0; i<10240; i++) - DoBuf[i] = (U16)(sin((double)i/1024*M_PI)*0x00007FFF)+0x00008000; -#endif - -} - -void C9222WavDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); -} - -BEGIN_MESSAGE_MAP(C9222WavDlg, CDialog) - ON_WM_SYSCOMMAND() - ON_WM_PAINT() - ON_WM_QUERYDRAGICON() - //}}AFX_MSG_MAP - ON_WM_DESTROY() - ON_BN_CLICKED(IDC_BT_START, &C9222WavDlg::OnStart) - ON_BN_CLICKED(IDC_BT_STOP, &C9222WavDlg::OnStop) - ON_WM_TIMER() - ON_WM_VSCROLL() -END_MESSAGE_MAP() - - -// C9222WavDlg message handlers - -BOOL C9222WavDlg::OnInitDialog() -{ - CString strTemp; - - CDialog::OnInitDialog(); - - // Add "About..." menu item to system menu. - - // IDM_ABOUTBOX must be in the system command range. - ASSERT((IDM_ABOUTBOX & 0xFFF0) == IDM_ABOUTBOX); - ASSERT(IDM_ABOUTBOX < 0xF000); - - CMenu* pSysMenu = GetSystemMenu(FALSE); - if (pSysMenu != NULL) - { - BOOL bNameValid; - CString strAboutMenu; - bNameValid = strAboutMenu.LoadString(IDS_ABOUTBOX); - ASSERT(bNameValid); - if (!strAboutMenu.IsEmpty()) - { - pSysMenu->AppendMenu(MF_SEPARATOR); - pSysMenu->AppendMenu(MF_STRING, IDM_ABOUTBOX, strAboutMenu); - } - } - - // Set the icon for this dialog. The framework does this automatically - // when the application's main window is not a dialog - SetIcon(m_hIcon, TRUE); // Set big icon - SetIcon(m_hIcon, FALSE); // Set small icon - - // TODO: Add extra initialization here - x_divider = 5; y_divider = 2; - - OnBrush = CreateSolidBrush( RGB(255,0,0) ); - OffBrush = CreateSolidBrush( RGB(125,0,0) ); - - RedPen.CreatePen( PS_SOLID, 1, RGB(255,0,0)); - GreenPen.CreatePen( PS_SOLID, 1, RGB(0,255,0)); - - if( n_PlotWidth == -1 && n_PlotHeight == -1 ) - { - ((CWnd*)GetDlgItem(IDC_STATIC_DRAW))->GetWindowRect(&plotRect); - ScreenToClient(&plotRect); - - n_PlotWidth = min( plotRect.Width(), 512); - n_PlotHeight = plotRect.Height() - 10; - } - - // set the default SampleRate - SetDlgItemInt( IDC_EDIT_SAMPLE_RATE, (UINT)(m_fSampleRate/1000) ); - - // Set the default DI Sample - SetDlgItemInt( IDC_EDIT_SAMPLE, (UINT)(m_dwDISamples) ); - - - return TRUE; // return TRUE unless you set the focus to a control -} - -void C9222WavDlg::OnSysCommand(UINT nID, LPARAM lParam) -{ - if ((nID & 0xFFF0) == IDM_ABOUTBOX) - { - CAboutDlg dlgAbout; - dlgAbout.DoModal(); - } - else - { - CDialog::OnSysCommand(nID, lParam); - } -} - -// If you add a minimize button to your dialog, you will need the code below -// to draw the icon. For MFC applications using the document/view model, -// this is automatically done for you by the framework. - -void C9222WavDlg::OnPaint() -{ - if (IsIconic()) - { - CPaintDC dc(this); // device context for painting - - SendMessage(WM_ICONERASEBKGND, reinterpret_cast(dc.GetSafeHdc()), 0); - - // Center icon in client rectangle - int cxIcon = GetSystemMetrics(SM_CXICON); - int cyIcon = GetSystemMetrics(SM_CYICON); - CRect rect; - GetClientRect(&rect); - int x = (rect.Width() - cxIcon + 1) / 2; - int y = (rect.Height() - cyIcon + 1) / 2; - - // Draw the icon - dc.DrawIcon(x, y, m_hIcon); - } - else - { - redraw_display_area(); - CDialog::OnPaint(); - } -} - -// The system calls this function to obtain the cursor to display while the user drags -// the minimized window. -HCURSOR C9222WavDlg::OnQueryDragIcon() -{ - return static_cast(m_hIcon); -} - - -void C9222WavDlg::OnDestroy() -{ - U32 count; - - CDialog::OnDestroy(); - - // TODO: Add your message handler code here - if( OnBrush != NULL ) - ::DeleteObject( OnBrush ); - - if( OffBrush != NULL ) - ::DeleteObject( OffBrush ); - - RedPen.DeleteObject(); - GreenPen.DeleteObject(); - - if( m_nTimer != -1 ) - { - KillTimer( m_nTimer ); - m_nTimer = -1; - } - - if( m_pDIAddr != NULL ) - { - free( m_pDIAddr ); - m_pDIAddr = NULL; - } - - DI_AsyncClear( m_hCard, &count ); - -#ifdef _SELF_OUTPUT_ - DO_AsyncClear( m_hCard, &count ); -#endif - - -} - -void C9222WavDlg::OnStart() -{ - // TODO: Add your control notification handler code here - U32 dwMemSize, dwDISamples; - void* pMem; - I16 err; - CString strMsg; - - dwDISamples = GetDlgItemInt( IDC_EDIT_SAMPLE ); - - if( dwDISamples != m_dwDISamples ) - { - if( m_pDIAddr != NULL ) - { - free( m_pDIAddr ); - m_pDIAddr = NULL; - } - m_dwDISamples = dwDISamples; - } - - - dwMemSize = m_dwDISamples * (m_wReTrigCount+1) * sizeof(U16); - pMem = malloc( dwMemSize ); - if( pMem == NULL ) - { - AfxMessageBox( TEXT("Memory allocated failed") ); - return; - } - else - { - m_pDIAddr = (U16*) pMem; - memset( m_pDIAddr, '\0', dwMemSize ); - } - - -#ifdef _SELF_OUTPUT_ - - if ((err=DO_9222_Config(m_hCard, P922x_DO_CONVSRC_INT, (P922x_DO_TRGMOD_POST|P922x_DO_TRGSRC_SOFT), 0, 0, 0, 1)) != NoError) - { - strMsg.Format( TEXT("DO_9222_Config Error = %d") ,err ); - AfxMessageBox( strMsg ); - return; - } - - if ((err = DO_ContBufferSetup(m_hCard, DoBuf, 5120/*10240*/, &m_wDOBufferId)) != NoError) - { - strMsg.Format( TEXT("DO_ContBufferSetup Error = %d") ,err ); - AfxMessageBox( strMsg ); - return; - } - -#endif - - if ((err=DI_9222_Config(m_hCard, P922x_DI_CONVSRC_INT, (P922x_DI_TRGMOD_POST|P922x_DI_TRGSRC_GPI0|P922x_DI_EnReTigger), m_wReTrigCount, 1)) != NoError) - { - strMsg.Format( TEXT("DI_9222_Config Error = %d") ,err ); - AfxMessageBox( strMsg ); - return; - } - - if ((err=DI_AsyncDblBufferMode (m_hCard, 0)) != NoError) - { - strMsg.Format( TEXT("DI_AsyncDblBufferMode Error = %d\n"), err ); - AfxMessageBox( strMsg ); - return; - } - - /*Setup Buffer for DI DMA Transfer*/ - if ((err=DI_ContBufferSetup(m_hCard, m_pDIAddr, (m_dwDISamples * (m_wReTrigCount+1) ), &m_wDIBufferId)) != NoError) - { - strMsg.Format( TEXT("DI_ContBufferSetup Error = %d") ,err ); - AfxMessageBox( strMsg ); - return; - } - - // clear display area - redraw_display_area(); - - if ((err = DI_ContReadPort(m_hCard, 0, &m_wDIBufferId, m_dwDISamples, m_fSampleRate, ASYNCH_OP)) != NoError) - { - DI_ContBufferReset(m_hCard); - strMsg.Format( TEXT("DI_ContReadPort Error = %d\n"), err); - AfxMessageBox( strMsg ); - return; - } - -#ifdef _SELF_OUTPUT_ - if ((err = DO_ContWritePort(m_hCard, 0, &m_wDOBufferId, 5120/*10240*/, 1, m_fSampleRate, ASYNCH_OP)) != NoError) - { - DO_ContBufferReset(m_hCard); - strMsg.Format( TEXT("DO_ContWritePort Error = %d") ,err ); - AfxMessageBox( strMsg ); - return; - } -#endif - - if( m_nTimer == -1 ) - { - m_nTimer = SetTimer( PCI9222_DIO_STATUS_TIMER, 20, NULL ); - } - - GetDlgItem( IDC_BT_START )->EnableWindow( FALSE ); - GetDlgItem( IDC_BT_STOP )->EnableWindow( TRUE ); - -} - -void C9222WavDlg::OnStop() -{ - // TODO: Add your control notification handler code here - U32 count; - - DI_AsyncClear(m_hCard, &count); - DI_ContBufferReset(m_hCard); - -#ifdef _SELF_OUTPUT_ - DO_AsyncClear(m_hCard, &count); - DO_ContBufferReset( m_hCard ); -#endif - - GetDlgItem( IDC_BT_START )->EnableWindow( TRUE ); - GetDlgItem( IDC_BT_STOP )->EnableWindow( FALSE); -} - -void C9222WavDlg::OnTimer(UINT_PTR nIDEvent) -{ - // TODO: Add your message handler code here and/or call default - BOOLEAN Ready, StopFlag; - U32 count; - I16 err; - U16 RdyTrigCnt; - - err = DI_AsyncReTrigNextReady( m_hCard, &Ready, &StopFlag, &RdyTrigCnt); - - if( Ready ) - { - display_buffer_data( &(m_pDIAddr[(RdyTrigCnt-1)*m_dwDISamples]) ); - } - - if( StopFlag ) - { - // stop timer - KillTimer( m_nTimer ); - m_nTimer = -1; - - // reset the Button status - GetDlgItem( IDC_BT_START )->EnableWindow( TRUE ); - GetDlgItem( IDC_BT_STOP )->EnableWindow( TRUE); - - err = DI_AsyncClear( m_hCard, &count ); - err = DI_ContBufferReset( m_hCard ); -#ifdef _SELF_OUTPUT_ - err = DO_AsyncClear( m_hCard, &count ); - err = DO_ContBufferReset( m_hCard ); -#endif - - display_buffer_data( &(m_pDIAddr[(RdyTrigCnt-1)*m_dwDISamples]) ); - } - - CDialog::OnTimer(nIDEvent); -} - - -void C9222WavDlg::display_buffer_data(U16* pBuf) -{ - CClientDC dc_plot(this); - int nDraw_Bottom; - - int newY, oldY = -1; - int newX, oldX = -1; - U32 index; - U16 di_data; - - // redraw the background - dc_plot.FillSolidRect( plotRect, RGB(0,0,0) ); - - dc_plot.SelectObject( &GreenPen ); - nDraw_Bottom = ( plotRect.bottom - 5 ); - - for( index=0; index 2000000.0 ) m_fSampleRate = 2000000.0; - break; - case SB_LINEDOWN: - m_fSampleRate -= 50000; - if (m_fSampleRate < 50000 ) m_fSampleRate = 50000; - break; - } - - SetDlgItemInt( IDC_EDIT_SAMPLE_RATE, (UINT)(m_fSampleRate/1000) ); - - CDialog::OnVScroll(nSBCode, nPos, pScrollBar); -} diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222DIWave_ReTrigger/9222WavDlg.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222DIWave_ReTrigger/9222WavDlg.h deleted file mode 100644 index d5f8971..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222DIWave_ReTrigger/9222WavDlg.h +++ /dev/null @@ -1,62 +0,0 @@ - -// 9222WavDlg.h : header file -// -#include "Dask64.h" - -#pragma once - - -// C9222WavDlg dialog -class C9222WavDlg : public CDialog -{ -// Construction -public: - C9222WavDlg(I16 hCard, CWnd* pParent = NULL); // standard constructor - -// Dialog Data - enum { IDD = IDD_MY9222WAV_DIALOG }; - - protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - - -// Implementation -protected: - HICON m_hIcon; - I16 m_hCard; - UINT_PTR m_nTimer; - U16* m_pDIAddr; - U32 m_dwDISamples; - HBRUSH OnBrush; - HBRUSH OffBrush; - CPen RedPen; - CPen GreenPen; - DWORD max_val; - DWORD min_val; - int y_divider; - int x_divider; - int m_DisplayScale; - double m_fSampleRate; - U16 m_wDOBufferId; - U16 m_wDIBufferId; - U16 m_wReTrigCount; - - // Generated message map functions - virtual BOOL OnInitDialog(); - afx_msg void OnSysCommand(UINT nID, LPARAM lParam); - afx_msg void OnPaint(); - afx_msg HCURSOR OnQueryDragIcon(); - DECLARE_MESSAGE_MAP() -public: - afx_msg void OnDestroy(); - afx_msg void OnStart(); - afx_msg void OnStop(); - afx_msg void OnTimer(UINT_PTR nIDEvent); - void display_buffer_data(U16* pBuf); - void redraw_display_area(void); - afx_msg void OnVScroll(UINT nSBCode, UINT nPos, CScrollBar* pScrollBar); - -private: - int n_PlotHeight; - int n_PlotWidth; -}; diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222DIWave_ReTrigger/CardIDDlg.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222DIWave_ReTrigger/CardIDDlg.cpp deleted file mode 100644 index bfc053b..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222DIWave_ReTrigger/CardIDDlg.cpp +++ /dev/null @@ -1,67 +0,0 @@ -// CardIDDlg.cpp : implementation file -// - -#include "stdafx.h" -#include "9222Wav.h" -#include "CardIDDlg.h" - - -// CCardIDDlg dialog - -IMPLEMENT_DYNAMIC(CCardIDDlg, CDialog) - -CCardIDDlg::CCardIDDlg(int nCardIdx, CWnd* pParent /*=NULL*/) - : CDialog(CCardIDDlg::IDD, pParent) -{ - m_nCardIdx = nCardIdx; -} - -CCardIDDlg::~CCardIDDlg() -{ -} - -void CCardIDDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); - DDX_Control(pDX, IDC_COMBO_CARDID, m_cbCardID); -} - - -BEGIN_MESSAGE_MAP(CCardIDDlg, CDialog) -// ON_CBN_SELCHANGE(IDC_COMBO_CARDID, &CCardIDDlg::OnCbnSelchangeComboCardid) -ON_BN_CLICKED(IDOK, &CCardIDDlg::OnBnClickedOk) -//ON_WM_CTLCOLOR() -END_MESSAGE_MAP() - - -// CCardIDDlg message handlers - - -void CCardIDDlg::OnBnClickedOk() -{ - // TODO: Add your control notification handler code here - -// UpdateData(TRUE); - m_nCardIdx = m_cbCardID.GetCurSel(); - - OnOK(); -} - -BOOL CCardIDDlg::OnInitDialog() -{ - CDialog::OnInitDialog(); - - // TODO: Add extra initialization here - m_cbCardID.SetCurSel( m_nCardIdx ); - - return TRUE; // return TRUE unless you set the focus to a control - // EXCEPTION: OCX Property Pages should return FALSE -} - -// the function to get the selected CardID -int CCardIDDlg::GetCardID(void) -{ - return m_nCardIdx; -} - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222DIWave_ReTrigger/CardIDDlg.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222DIWave_ReTrigger/CardIDDlg.h deleted file mode 100644 index 54628ea..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222DIWave_ReTrigger/CardIDDlg.h +++ /dev/null @@ -1,33 +0,0 @@ -#pragma once -#include "afxwin.h" - - -// CCardIDDlg dialog - -class CCardIDDlg : public CDialog -{ - DECLARE_DYNAMIC(CCardIDDlg) - -public: - CCardIDDlg(int nCardIdx, CWnd* pParent = NULL); // standard constructor - virtual ~CCardIDDlg(); - -// Dialog Data - enum { IDD = IDD_CARDID_DIALOG }; - -protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - - DECLARE_MESSAGE_MAP() -public: -// afx_msg void OnCbnSelchangeComboCardid(); - afx_msg void OnBnClickedOk(); - // the setting of CardID ComboBox - int m_nCardIdx; - virtual BOOL OnInitDialog(); - // the control of CardID ComboBox - CComboBox m_cbCardID; - // the function to get the selected CardID - int GetCardID(void); -// afx_msg HBRUSH OnCtlColor(CDC* pDC, CWnd* pWnd, UINT nCtlColor); -}; diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222DIWave_ReTrigger/ReadMe.txt b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222DIWave_ReTrigger/ReadMe.txt deleted file mode 100644 index 1eb0f35..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222DIWave_ReTrigger/ReadMe.txt +++ /dev/null @@ -1,93 +0,0 @@ -================================================================================ - MICROSOFT FOUNDATION CLASS LIBRARY : 9222Wav Project Overview -=============================================================================== - -The application wizard has created this 9222Wav application for -you. This application not only demonstrates the basics of using the Microsoft -Foundation Classes but is also a starting point for writing your application. - -This file contains a summary of what you will find in each of the files that -make up your 9222Wav application. - -9222Wav.vcproj - This is the main project file for VC++ projects generated using an application wizard. - It contains information about the version of Visual C++ that generated the file, and - information about the platforms, configurations, and project features selected with the - application wizard. - -9222Wav.h - This is the main header file for the application. It includes other - project specific headers (including Resource.h) and declares the - C9222WavApp application class. - -9222Wav.cpp - This is the main application source file that contains the application - class C9222WavApp. - -9222Wav.rc - This is a listing of all of the Microsoft Windows resources that the - program uses. It includes the icons, bitmaps, and cursors that are stored - in the RES subdirectory. This file can be directly edited in Microsoft - Visual C++. Your project resources are in 1033. - -res\9222Wav.ico - This is an icon file, which is used as the application's icon. This - icon is included by the main resource file 9222Wav.rc. - -res\My9222Wav.rc2 - This file contains resources that are not edited by Microsoft - Visual C++. You should place all resources not editable by - the resource editor in this file. - - -///////////////////////////////////////////////////////////////////////////// - -The application wizard creates one dialog class: - -9222WavDlg.h, 9222WavDlg.cpp - the dialog - These files contain your C9222WavDlg class. This class defines - the behavior of your application's main dialog. The dialog's template is - in 9222Wav.rc, which can be edited in Microsoft Visual C++. - - -///////////////////////////////////////////////////////////////////////////// - -Other Features: - -ActiveX Controls - The application includes support to use ActiveX controls. - -///////////////////////////////////////////////////////////////////////////// - -Other standard files: - -StdAfx.h, StdAfx.cpp - These files are used to build a precompiled header (PCH) file - named 9222Wav.pch and a precompiled types file named StdAfx.obj. - -Resource.h - This is the standard header file, which defines new resource IDs. - Microsoft Visual C++ reads and updates this file. - -9222Wav.manifest - Application manifest files are used by Windows XP to describe an applications - dependency on specific versions of Side-by-Side assemblies. The loader uses this - information to load the appropriate assembly from the assembly cache or private - from the application. The Application manifest maybe included for redistribution - as an external .manifest file that is installed in the same folder as the application - executable or it may be included in the executable in the form of a resource. -///////////////////////////////////////////////////////////////////////////// - -Other notes: - -The application wizard uses "TODO:" to indicate parts of the source code you -should add to or customize. - -If your application uses MFC in a shared DLL, you will need -to redistribute the MFC DLLs. If your application is in a language -other than the operating system's locale, you will also have to -redistribute the corresponding localized resources MFC90XXX.DLL. -For more information on both of these topics, please see the section on -redistributing Visual C++ applications in MSDN documentation. - -///////////////////////////////////////////////////////////////////////////// diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222DIWave_ReTrigger/res/9222Wav.ico b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222DIWave_ReTrigger/res/9222Wav.ico deleted file mode 100644 index d56fbcd..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222DIWave_ReTrigger/res/9222Wav.ico and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222DIWave_ReTrigger/res/My9222Wav.rc2 b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222DIWave_ReTrigger/res/My9222Wav.rc2 deleted file mode 100644 index 440d4a5..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222DIWave_ReTrigger/res/My9222Wav.rc2 +++ /dev/null @@ -1,13 +0,0 @@ -// -// My7200Wav.RC2 - resources Microsoft Visual C++ does not edit directly -// - -#ifdef APSTUDIO_INVOKED -#error this file is not editable by Microsoft Visual C++ -#endif //APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// Add manually edited resources here... - -///////////////////////////////////////////////////////////////////////////// diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222DIWave_ReTrigger/resource.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222DIWave_ReTrigger/resource.h deleted file mode 100644 index 4af9b16..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222DIWave_ReTrigger/resource.h +++ /dev/null @@ -1,29 +0,0 @@ -//{{NO_DEPENDENCIES}} -// Microsoft Visual C++ generated include file. -// Used by 9222Wav.rc -// -#define IDM_ABOUTBOX 0x0010 -#define IDD_ABOUTBOX 100 -#define IDS_ABOUTBOX 101 -#define IDD_MY9222WAV_DIALOG 102 -#define IDR_MAINFRAME 128 -#define IDD_CARDID_DIALOG 129 -#define IDC_STATIC_DRAW 1000 -#define IDC_EDIT_SAMPLE 1001 -#define IDC_EDIT_SAMPLE_RATE 1003 -#define IDC_SCROLLBAR_RATE 1006 -#define IDC_COMBO_CARDID 1007 -#define IDC_BT_START 1008 -#define IDC_BT_STOP 1009 -#define IDC_STATIC_01 1014 - -// Next default values for new objects -// -#ifdef APSTUDIO_INVOKED -#ifndef APSTUDIO_READONLY_SYMBOLS -#define _APS_NEXT_RESOURCE_VALUE 131 -#define _APS_NEXT_COMMAND_VALUE 32771 -#define _APS_NEXT_CONTROL_VALUE 1000 -#define _APS_NEXT_SYMED_VALUE 101 -#endif -#endif diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222DIWave_ReTrigger/stdafx.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222DIWave_ReTrigger/stdafx.cpp deleted file mode 100644 index b5184d9..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222DIWave_ReTrigger/stdafx.cpp +++ /dev/null @@ -1,8 +0,0 @@ - -// stdafx.cpp : source file that includes just the standard includes -// 7200Wav.pch will be the pre-compiled header -// stdafx.obj will contain the pre-compiled type information - -#include "stdafx.h" - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222DIWave_ReTrigger/stdafx.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222DIWave_ReTrigger/stdafx.h deleted file mode 100644 index 12123e2..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222DIWave_ReTrigger/stdafx.h +++ /dev/null @@ -1,60 +0,0 @@ - -// stdafx.h : include file for standard system include files, -// or project specific include files that are used frequently, -// but are changed infrequently - -#pragma once - -#ifndef _SECURE_ATL -#define _SECURE_ATL 1 -#endif - -#ifndef VC_EXTRALEAN -#define VC_EXTRALEAN // Exclude rarely-used stuff from Windows headers -#endif - -#include "targetver.h" - -#define _ATL_CSTRING_EXPLICIT_CONSTRUCTORS // some CString constructors will be explicit - -// turns off MFC's hiding of some common and often safely ignored warning messages -#define _AFX_ALL_WARNINGS - -#include // MFC core and standard components -#include // MFC extensions - - -#include // MFC Automation classes - - - -#ifndef _AFX_NO_OLE_SUPPORT -#include // MFC support for Internet Explorer 4 Common Controls -#endif -#ifndef _AFX_NO_AFXCMN_SUPPORT -#include // MFC support for Windows Common Controls -#endif // _AFX_NO_AFXCMN_SUPPORT - -#include // MFC support for ribbons and control bars - - - - - - - - - -#ifdef _UNICODE -#if defined _M_IX86 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='x86' publicKeyToken='6595b64144ccf1df' language='*'\"") -#elif defined _M_IA64 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='ia64' publicKeyToken='6595b64144ccf1df' language='*'\"") -#elif defined _M_X64 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='amd64' publicKeyToken='6595b64144ccf1df' language='*'\"") -#else -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='*' publicKeyToken='6595b64144ccf1df' language='*'\"") -#endif -#endif - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222DIWave_ReTrigger/targetver.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222DIWave_ReTrigger/targetver.h deleted file mode 100644 index 11730d5..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222DIWave_ReTrigger/targetver.h +++ /dev/null @@ -1,26 +0,0 @@ - -#pragma once - -// The following macros define the minimum required platform. The minimum required platform -// is the earliest version of Windows, Internet Explorer etc. that has the necessary features to run -// your application. The macros work by enabling all features available on platform versions up to and -// including the version specified. - -// Modify the following defines if you have to target a platform prior to the ones specified below. -// Refer to MSDN for the latest info on corresponding values for different platforms. -#ifndef WINVER // Specifies that the minimum required platform is Windows Vista. -#define WINVER 0x0600 // Change this to the appropriate value to target other versions of Windows. -#endif - -#ifndef _WIN32_WINNT // Specifies that the minimum required platform is Windows Vista. -#define _WIN32_WINNT 0x0600 // Change this to the appropriate value to target other versions of Windows. -#endif - -#ifndef _WIN32_WINDOWS // Specifies that the minimum required platform is Windows 98. -#define _WIN32_WINDOWS 0x0410 // Change this to the appropriate value to target Windows Me or later. -#endif - -#ifndef _WIN32_IE // Specifies that the minimum required platform is Internet Explorer 7.0. -#define _WIN32_IE 0x0700 // Change this to the appropriate value to target other versions of IE. -#endif - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222DOWave_DelayTrigger/7200Wav.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222DOWave_DelayTrigger/7200Wav.suo deleted file mode 100644 index bc032e1..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222DOWave_DelayTrigger/7200Wav.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222DOWave_DelayTrigger/9222Wav.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222DOWave_DelayTrigger/9222Wav.cpp deleted file mode 100644 index 7619449..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222DOWave_DelayTrigger/9222Wav.cpp +++ /dev/null @@ -1,110 +0,0 @@ - -// 9222Wav.cpp : Defines the class behaviors for the application. -// - -#include "stdafx.h" -#include "9222Wav.h" -#include "9222WavDlg.h" -#include "CardIDDlg.h" - -#ifdef _DEBUG -#define new DEBUG_NEW -#endif - - -// C9222WavApp - -BEGIN_MESSAGE_MAP(C9222WavApp, CWinAppEx) - ON_COMMAND(ID_HELP, &CWinApp::OnHelp) -END_MESSAGE_MAP() - - -// C9222WavApp construction - -C9222WavApp::C9222WavApp() -{ - // TODO: add construction code here, - // Place all significant initialization in InitInstance -} - - -// The one and only C9222WavApp object - -C9222WavApp theApp; - - -// C9222WavApp initialization - -BOOL C9222WavApp::InitInstance() -{ - int nCardID = 0; - I16 hCard; - CString strTemp; - INT_PTR nResponse; - - // InitCommonControlsEx() is required on Windows XP if an application - // manifest specifies use of ComCtl32.dll version 6 or later to enable - // visual styles. Otherwise, any window creation will fail. - INITCOMMONCONTROLSEX InitCtrls; - InitCtrls.dwSize = sizeof(InitCtrls); - // Set this to include all the common control classes you want to use - // in your application. - InitCtrls.dwICC = ICC_WIN95_CLASSES; - InitCommonControlsEx(&InitCtrls); - - CWinAppEx::InitInstance(); - - AfxEnableControlContainer(); - - // Standard initialization - // If you are not using these features and wish to reduce the size - // of your final executable, you should remove from the following - // the specific initialization routines you do not need - // Change the registry key under which our settings are stored - // TODO: You should modify this string to be something appropriate - // such as the name of your company or organization - SetRegistryKey(_T("Local AppWizard-Generated Applications")); - - CCardIDDlg CardDlg( nCardID ); - - nResponse = CardDlg.DoModal(); - if (nResponse == IDOK) - { - nCardID = CardDlg.GetCardID(); - - if ((hCard=Register_Card(PCI_9222, nCardID)) < 0) - { - strTemp.Format( TEXT("Register_Card Error = %d"), hCard); - AfxMessageBox( strTemp ); - } - else - { - C9222WavDlg dlg(hCard); - m_pMainWnd = &dlg; - nResponse = dlg.DoModal(); - if (nResponse == IDOK) - { - // TODO: Place code here to handle when the dialog is - // dismissed with OK - } - else if (nResponse == IDCANCEL) - { - // TODO: Place code here to handle when the dialog is - // dismissed with Cancel - } - - if (hCard >= 0) Release_Card(hCard); - } - - } - else if (nResponse == IDCANCEL) - { - // TODO: Place code here to handle when the dialog is - // dismissed with Cancel - } - - - // Since the dialog has been closed, return FALSE so that we exit the - // application, rather than start the application's message pump. - return FALSE; -} diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222DOWave_DelayTrigger/9222Wav.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222DOWave_DelayTrigger/9222Wav.h deleted file mode 100644 index 122b975..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222DOWave_DelayTrigger/9222Wav.h +++ /dev/null @@ -1,32 +0,0 @@ - -// 9222Wav.h : main header file for the PROJECT_NAME application -// - -#pragma once - -#ifndef __AFXWIN_H__ - #error "include 'stdafx.h' before including this file for PCH" -#endif - -#include "resource.h" // main symbols - - -// C9222WavApp: -// See 9222Wav.cpp for the implementation of this class -// - -class C9222WavApp : public CWinAppEx -{ -public: - C9222WavApp(); - -// Overrides - public: - virtual BOOL InitInstance(); - -// Implementation - - DECLARE_MESSAGE_MAP() -}; - -extern C9222WavApp theApp; \ No newline at end of file diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222DOWave_DelayTrigger/9222Wav.rc b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222DOWave_DelayTrigger/9222Wav.rc deleted file mode 100644 index a1dfbfd..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222DOWave_DelayTrigger/9222Wav.rc +++ /dev/null @@ -1,285 +0,0 @@ -// Microsoft Visual C++ generated resource script. -// -#include "resource.h" - -#define APSTUDIO_READONLY_SYMBOLS -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 2 resource. -// -#ifndef APSTUDIO_INVOKED -#include "targetver.h" -#endif -#include "afxres.h" - -///////////////////////////////////////////////////////////////////////////// -#undef APSTUDIO_READONLY_SYMBOLS - -///////////////////////////////////////////////////////////////////////////// -// Chinese (Taiwan) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_CHT) -#ifdef _WIN32 -LANGUAGE LANG_CHINESE, SUBLANG_CHINESE_TRADITIONAL -#pragma code_page(950) -#endif //_WIN32 - -#ifdef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// TEXTINCLUDE -// - -1 TEXTINCLUDE -BEGIN - "resource.h\0" -END - -2 TEXTINCLUDE -BEGIN - "#ifndef APSTUDIO_INVOKED\r\n" - "#include ""targetver.h""\r\n" - "#endif\r\n" - "#include ""afxres.h""\r\n" - "\0" -END - -3 TEXTINCLUDE -BEGIN - "#define _AFX_NO_SPLITTER_RESOURCES\r\n" - "#define _AFX_NO_OLE_RESOURCES\r\n" - "#define _AFX_NO_TRACKER_RESOURCES\r\n" - "#define _AFX_NO_PROPERTY_RESOURCES\r\n" - "\r\n" - "#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)\r\n" - "LANGUAGE 9, 1\r\n" - "#pragma code_page(1252)\r\n" - "#include ""res\\My9222Wav.rc2"" // non-Microsoft Visual C++ edited resources\r\n" - "#include ""afxres.rc"" // Standard components\r\n" - "#endif\r\n" - "\0" -END - -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// Icon -// - -// Icon with lowest ID value placed first to ensure application icon -// remains consistent on all systems. -IDR_MAINFRAME ICON "res\\9222Wav.ico" -#endif // Chinese (Taiwan) resources -///////////////////////////////////////////////////////////////////////////// - - -///////////////////////////////////////////////////////////////////////////// -// English (U.S.) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -#ifdef _WIN32 -LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US -#pragma code_page(1252) -#endif //_WIN32 - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog -// - -IDD_ABOUTBOX DIALOGEX 0, 0, 170, 62 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "About 9222Wav" -FONT 8, "MS Shell Dlg", 0, 0, 0x1 -BEGIN - ICON IDR_MAINFRAME,IDC_STATIC,14,14,21,20 - LTEXT "9222Wav, Version 1.0",IDC_STATIC,42,14,114,8,SS_NOPREFIX - LTEXT "Copyright (C) 2010",IDC_STATIC,42,26,114,8 - DEFPUSHBUTTON "OK",IDOK,113,41,50,14,WS_GROUP -END - -IDD_MY9222WAV_DIALOG DIALOGEX 0, 0, 354, 228 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU -EXSTYLE WS_EX_APPWINDOW -CAPTION "PCI-9222 DO Delay-Trigger DMA" -FONT 8, "MS Shell Dlg", 0, 0, 0x1 -BEGIN - GROUPBOX "",IDC_STATIC_DRAW,49,35,293,138,NOT WS_VISIBLE - EDITTEXT IDC_EDIT_SAMPLE,113,181,51,12,ES_AUTOHSCROLL - LTEXT "DI Samples :",IDC_STATIC,64,182,45,9 - EDITTEXT IDC_EDIT_SAMPLE_RATE,227,182,30,12,ES_AUTOHSCROLL | ES_READONLY - LTEXT "Sample Rate :",IDC_STATIC,174,182,49,9 - LTEXT "KHz",IDC_STATIC,270,184,15,9 - SCROLLBAR IDC_SCROLLBAR_RATE,258,182,9,11,SBS_VERT - PUSHBUTTON "Start",IDC_BT_START,293,179,48,17 - PUSHBUTTON "Stop",IDC_BT_STOP,293,198,48,17 - LTEXT "Please connect DO1~DO15 to DI1~DI15 (the DI0 will be the digital trigger input)",IDC_STATIC,14,7,277,12 - LTEXT "The DO output pattern will be logged into following panel.",IDC_STATIC,14,21,277,12 -END - -IDD_CARDID_DIALOG DIALOGEX 0, 0, 170, 89 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "Card ID" -FONT 8, "MS Shell Dlg", 400, 0, 0x1 -BEGIN - COMBOBOX IDC_COMBO_CARDID,75,17,71,126,CBS_DROPDOWN | WS_VSCROLL | WS_TABSTOP - LTEXT "Card Number",IDC_STATIC_01,21,18,46,12 - PUSHBUTTON "OK",IDOK,22,50,58,19 - PUSHBUTTON "CANCEL",IDCANCEL,86,50,58,19 -END - - -///////////////////////////////////////////////////////////////////////////// -// -// Version -// - -VS_VERSION_INFO VERSIONINFO - FILEVERSION 1,0,0,1 - PRODUCTVERSION 1,0,0,1 - FILEFLAGSMASK 0x3fL -#ifdef _DEBUG - FILEFLAGS 0x1L -#else - FILEFLAGS 0x0L -#endif - FILEOS 0x4L - FILETYPE 0x1L - FILESUBTYPE 0x0L -BEGIN - BLOCK "StringFileInfo" - BEGIN - BLOCK "040904e4" - BEGIN - VALUE "CompanyName", "TODO: " - VALUE "FileDescription", "TODO: " - VALUE "FileVersion", "1.0.0.1" - VALUE "InternalName", "9222Wav.exe" - VALUE "LegalCopyright", "TODO: (c) . All rights reserved." - VALUE "OriginalFilename", "9222Wav.exe" - VALUE "ProductName", "TODO: " - VALUE "ProductVersion", "1.0.0.1" - END - END - BLOCK "VarFileInfo" - BEGIN - VALUE "Translation", 0x409, 1252 - END -END - - -///////////////////////////////////////////////////////////////////////////// -// -// DESIGNINFO -// - -#ifdef APSTUDIO_INVOKED -GUIDELINES DESIGNINFO -BEGIN - IDD_ABOUTBOX, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 163 - TOPMARGIN, 7 - BOTTOMMARGIN, 55 - END - - IDD_MY9222WAV_DIALOG, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 347 - TOPMARGIN, 7 - BOTTOMMARGIN, 221 - END - - IDD_CARDID_DIALOG, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 163 - TOPMARGIN, 7 - BOTTOMMARGIN, 82 - END -END -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog Info -// - -IDD_CARDID_DIALOG DLGINIT -BEGIN - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0030, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0031, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0032, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0033, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0034, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0035, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0036, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0037, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0038, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0039, - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3031, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3131, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3231, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3331, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3431, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3531, "\000" - 0 -END - - -///////////////////////////////////////////////////////////////////////////// -// -// String Table -// - -STRINGTABLE -BEGIN - IDS_ABOUTBOX "&About 9222Wav..." -END - -#endif // English (U.S.) resources -///////////////////////////////////////////////////////////////////////////// - - - -#ifndef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 3 resource. -// -#define _AFX_NO_SPLITTER_RESOURCES -#define _AFX_NO_OLE_RESOURCES -#define _AFX_NO_TRACKER_RESOURCES -#define _AFX_NO_PROPERTY_RESOURCES - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -LANGUAGE 9, 1 -#pragma code_page(1252) -#include "res\My9222Wav.rc2" // non-Microsoft Visual C++ edited resources -#include "afxres.rc" // Standard components -#endif - -///////////////////////////////////////////////////////////////////////////// -#endif // not APSTUDIO_INVOKED - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222DOWave_DelayTrigger/9222Wav.sln b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222DOWave_DelayTrigger/9222Wav.sln deleted file mode 100644 index e787234..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222DOWave_DelayTrigger/9222Wav.sln +++ /dev/null @@ -1,20 +0,0 @@ - -Microsoft Visual Studio Solution File, Format Version 10.00 -# Visual Studio 2008 -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "9222Wav", "9222Wav.vcproj", "{EBDB6610-7CE5-413C-A150-121068BFDB22}" -EndProject -Global - GlobalSection(SolutionConfigurationPlatforms) = preSolution - Debug|x64 = Debug|x64 - Release|x64 = Release|x64 - EndGlobalSection - GlobalSection(ProjectConfigurationPlatforms) = postSolution - {EBDB6610-7CE5-413C-A150-121068BFDB22}.Debug|x64.ActiveCfg = Debug|x64 - {EBDB6610-7CE5-413C-A150-121068BFDB22}.Debug|x64.Build.0 = Debug|x64 - {EBDB6610-7CE5-413C-A150-121068BFDB22}.Release|x64.ActiveCfg = Release|x64 - {EBDB6610-7CE5-413C-A150-121068BFDB22}.Release|x64.Build.0 = Release|x64 - EndGlobalSection - GlobalSection(SolutionProperties) = preSolution - HideSolutionNode = FALSE - EndGlobalSection -EndGlobal diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222DOWave_DelayTrigger/9222Wav.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222DOWave_DelayTrigger/9222Wav.suo deleted file mode 100644 index b0a9475..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222DOWave_DelayTrigger/9222Wav.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222DOWave_DelayTrigger/9222Wav.vcproj b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222DOWave_DelayTrigger/9222Wav.vcproj deleted file mode 100644 index 2b9f053..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222DOWave_DelayTrigger/9222Wav.vcproj +++ /dev/null @@ -1,286 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222DOWave_DelayTrigger/9222WavDlg.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222DOWave_DelayTrigger/9222WavDlg.cpp deleted file mode 100644 index c023074..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222DOWave_DelayTrigger/9222WavDlg.cpp +++ /dev/null @@ -1,587 +0,0 @@ - -// 9222WavDlg.cpp : implementation file -// - -#include "stdafx.h" -#include "9222Wav.h" -#include "9222WavDlg.h" -#include "math.h" - -#ifndef M_PI -#define M_PI 3.14159265359 -#endif - -#ifdef _DEBUG -#define new DEBUG_NEW -#endif - -CRect plotRect; - -#define PCI9222_DIO_STATUS_TIMER 1 - -U16 DoBuf[10240]; -BOOLEAN bOutStopped; -ULONG out_count; - -// CAboutDlg dialog used for App About - -class CAboutDlg : public CDialog -{ -public: - CAboutDlg(); - -// Dialog Data - enum { IDD = IDD_ABOUTBOX }; - - protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - -// Implementation -protected: - DECLARE_MESSAGE_MAP() -}; - -CAboutDlg::CAboutDlg() : CDialog(CAboutDlg::IDD) -{ -} - -void CAboutDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); -} - -BEGIN_MESSAGE_MAP(CAboutDlg, CDialog) -END_MESSAGE_MAP() - - -// C9222WavDlg dialog - - -C9222WavDlg::C9222WavDlg(I16 hCard, CWnd* pParent /*=NULL*/) - : CDialog(C9222WavDlg::IDD, pParent) -{ - m_hIcon = AfxGetApp()->LoadIcon(IDR_MAINFRAME); - - m_hCard = hCard; - - OnBrush = OffBrush = NULL; - - n_PlotWidth = -1; - n_PlotHeight = -1; - - min_val = 0x00; - max_val = 0xFFFF; - - m_fSampleRate = 4000.0; // 100KHz - m_dwDISamples = 8000; - m_pDIAddr1 = NULL; - m_pDIAddr2 = NULL; - - m_nTimer = -1; - - m_dwOverrunCnt = 0; - - for (int i=0; i<10240; i++) - DoBuf[i] = (U16)(sin((double)i/1024*M_PI)*0x00007FFF)+0x00008000; - -} - -void C9222WavDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); -} - -BEGIN_MESSAGE_MAP(C9222WavDlg, CDialog) - ON_WM_SYSCOMMAND() - ON_WM_PAINT() - ON_WM_QUERYDRAGICON() - //}}AFX_MSG_MAP - ON_WM_DESTROY() - ON_BN_CLICKED(IDC_BT_START, &C9222WavDlg::OnStart) - ON_BN_CLICKED(IDC_BT_STOP, &C9222WavDlg::OnStop) - ON_WM_TIMER() - ON_WM_VSCROLL() -END_MESSAGE_MAP() - - -// C9222WavDlg message handlers - -BOOL C9222WavDlg::OnInitDialog() -{ - CString strTemp; - - CDialog::OnInitDialog(); - - // Add "About..." menu item to system menu. - - // IDM_ABOUTBOX must be in the system command range. - ASSERT((IDM_ABOUTBOX & 0xFFF0) == IDM_ABOUTBOX); - ASSERT(IDM_ABOUTBOX < 0xF000); - - CMenu* pSysMenu = GetSystemMenu(FALSE); - if (pSysMenu != NULL) - { - BOOL bNameValid; - CString strAboutMenu; - bNameValid = strAboutMenu.LoadString(IDS_ABOUTBOX); - ASSERT(bNameValid); - if (!strAboutMenu.IsEmpty()) - { - pSysMenu->AppendMenu(MF_SEPARATOR); - pSysMenu->AppendMenu(MF_STRING, IDM_ABOUTBOX, strAboutMenu); - } - } - - // Set the icon for this dialog. The framework does this automatically - // when the application's main window is not a dialog - SetIcon(m_hIcon, TRUE); // Set big icon - SetIcon(m_hIcon, FALSE); // Set small icon - - // TODO: Add extra initialization here - x_divider = 5; y_divider = 2; - - OnBrush = CreateSolidBrush( RGB(255,0,0) ); - OffBrush = CreateSolidBrush( RGB(125,0,0) ); - - RedPen.CreatePen( PS_SOLID, 1, RGB(255,0,0)); - GreenPen.CreatePen( PS_SOLID, 1, RGB(0,255,0)); - - if( n_PlotWidth == -1 && n_PlotHeight == -1 ) - { - ((CWnd*)GetDlgItem(IDC_STATIC_DRAW))->GetWindowRect(&plotRect); - ScreenToClient(&plotRect); - - n_PlotWidth = min( plotRect.Width(), 512); - n_PlotHeight = plotRect.Height() - 10; - } - - // set the default SampleRate - SetDlgItemInt( IDC_EDIT_SAMPLE_RATE, (UINT)(m_fSampleRate/1000) ); - - // Set the default DI Sample - SetDlgItemInt( IDC_EDIT_SAMPLE, (UINT)(m_dwDISamples) ); - - - return TRUE; // return TRUE unless you set the focus to a control -} - -void C9222WavDlg::OnSysCommand(UINT nID, LPARAM lParam) -{ - if ((nID & 0xFFF0) == IDM_ABOUTBOX) - { - CAboutDlg dlgAbout; - dlgAbout.DoModal(); - } - else - { - CDialog::OnSysCommand(nID, lParam); - } -} - -// If you add a minimize button to your dialog, you will need the code below -// to draw the icon. For MFC applications using the document/view model, -// this is automatically done for you by the framework. - -void C9222WavDlg::OnPaint() -{ - if (IsIconic()) - { - CPaintDC dc(this); // device context for painting - - SendMessage(WM_ICONERASEBKGND, reinterpret_cast(dc.GetSafeHdc()), 0); - - // Center icon in client rectangle - int cxIcon = GetSystemMetrics(SM_CXICON); - int cyIcon = GetSystemMetrics(SM_CYICON); - CRect rect; - GetClientRect(&rect); - int x = (rect.Width() - cxIcon + 1) / 2; - int y = (rect.Height() - cyIcon + 1) / 2; - - // Draw the icon - dc.DrawIcon(x, y, m_hIcon); - } - else - { - redraw_display_area(); - CDialog::OnPaint(); - } -} - -// The system calls this function to obtain the cursor to display while the user drags -// the minimized window. -HCURSOR C9222WavDlg::OnQueryDragIcon() -{ - return static_cast(m_hIcon); -} - - -void C9222WavDlg::OnDestroy() -{ - U32 count; - - CDialog::OnDestroy(); - - // TODO: Add your message handler code here - if( OnBrush != NULL ) - ::DeleteObject( OnBrush ); - - if( OffBrush != NULL ) - ::DeleteObject( OffBrush ); - - RedPen.DeleteObject(); - GreenPen.DeleteObject(); - - if( m_nTimer != -1 ) - { - KillTimer( m_nTimer ); - m_nTimer = -1; - } - - if( m_pDIAddr1 != NULL ) - { - free( m_pDIAddr1 ); - m_pDIAddr1 = NULL; - } - - if( m_pDIAddr2 != NULL ) - { - free( m_pDIAddr2 ); - m_pDIAddr2 = NULL; - } - - DI_AsyncClear( m_hCard, &count ); - - DO_AsyncClear( m_hCard, &count ); - - -} - -void C9222WavDlg::OnStart() -{ - // TODO: Add your control notification handler code here - U32 dwMemSize, dwDISamples; - void* pMem; - I16 err; - CString strMsg; - - dwDISamples = GetDlgItemInt( IDC_EDIT_SAMPLE ); - - if( dwDISamples != m_dwDISamples ) - { - if( m_pDIAddr1 != NULL ) - { - free( m_pDIAddr1 ); - m_pDIAddr1 = NULL; - } - - if( m_pDIAddr2 != NULL ) - { - free( m_pDIAddr2 ); - m_pDIAddr2 = NULL; - } - - m_dwDISamples = dwDISamples; - } - - - dwMemSize = m_dwDISamples * sizeof(U16); - pMem = malloc( dwMemSize ); - if( pMem == NULL ) - { - AfxMessageBox( TEXT("Memory allocated failed") ); - return; - } - else - { - m_pDIAddr1 = (U16*) pMem; - memset( m_pDIAddr1, '\0', dwMemSize ); - } - - pMem = malloc( dwMemSize ); - if( pMem == NULL ) - { - AfxMessageBox( TEXT("Memory allocated failed") ); - return; - } - else - { - m_pDIAddr2 = (U16*) pMem; - memset( m_pDIAddr2, '\0', dwMemSize ); - } - - if ((err=DO_9222_Config(m_hCard, P922x_DO_CONVSRC_INT, (P922x_DO_TRGMOD_DELAY|P922x_DO_TRGSRC_GPI0), 0, 40000000, 0, 1)) != NoError) - { - strMsg.Format( TEXT("DO_9222_Config Error = %d") ,err ); - AfxMessageBox( strMsg ); - return; - } - - if ((err = DO_ContBufferSetup(m_hCard, DoBuf, 5120/*10240*/, &m_wDOBufferId)) != NoError) - { - strMsg.Format( TEXT("DO_ContBufferSetup Error = %d") ,err ); - AfxMessageBox( strMsg ); - return; - } - - if ((err=DI_9222_Config(m_hCard, P922x_DI_CONVSRC_INT, (P922x_DI_TRGMOD_POST|P922x_DI_TRGSRC_SOFT), 0, 1)) != NoError) - { - strMsg.Format( TEXT("DI_9222_Config Error = %d") ,err ); - AfxMessageBox( strMsg ); - return; - } - - if ((err=DI_AsyncDblBufferMode (m_hCard, 1)) != NoError) - { - strMsg.Format( TEXT("DI_AsyncDblBufferMode Error = %d\n"), err ); - AfxMessageBox( strMsg ); - return; - } - - /*Setup Buffer for DI DMA Transfer*/ - if ((err=DI_ContBufferSetup(m_hCard, m_pDIAddr1, m_dwDISamples, &m_wDIBufId1)) != NoError) - { - strMsg.Format( TEXT("DI_ContBufferSetup Error = %d") ,err ); - AfxMessageBox( strMsg ); - return; - } - - /*Setup Buffer for DI DMA Transfer*/ - if ((err=DI_ContBufferSetup(m_hCard, m_pDIAddr2, m_dwDISamples, &m_wDIBufId2)) != NoError) - { - strMsg.Format( TEXT("DI_ContBufferSetup Error = %d") ,err ); - AfxMessageBox( strMsg ); - return; - } - - // clear display area - redraw_display_area(); - m_bView = 0; - - if ((err = DI_ContReadPort(m_hCard, 0, &m_wDIBufId1, m_dwDISamples, m_fSampleRate, ASYNCH_OP)) != NoError) - { - DI_ContBufferReset(m_hCard); - strMsg.Format( TEXT("DI_ContReadPort Error = %d\n"), err); - AfxMessageBox( strMsg ); - return; - } - - if ((err = DO_ContWritePort(m_hCard, 0, &m_wDOBufferId, 5120/*10240*/, 1, m_fSampleRate, ASYNCH_OP)) != NoError) - { - DO_ContBufferReset(m_hCard); - strMsg.Format( TEXT("DO_ContWritePort Error = %d") ,err ); - AfxMessageBox( strMsg ); - return; - } - - if( m_nTimer == -1 ) - { - m_nTimer = SetTimer( PCI9222_DIO_STATUS_TIMER, 20, NULL ); - } - - GetDlgItem( IDC_BT_START )->EnableWindow( FALSE ); - GetDlgItem( IDC_BT_STOP )->EnableWindow( TRUE ); - -} - -void C9222WavDlg::OnStop() -{ - // TODO: Add your control notification handler code here - U32 count; - - DI_AsyncClear(m_hCard, &count); - DI_ContBufferReset(m_hCard); - - DO_AsyncClear(m_hCard, &count); - DO_ContBufferReset( m_hCard ); - - GetDlgItem( IDC_BT_START )->EnableWindow( TRUE ); - GetDlgItem( IDC_BT_STOP )->EnableWindow( FALSE); -} - -void C9222WavDlg::OnTimer(UINT_PTR nIDEvent) -{ - // TODO: Add your message handler code here and/or call default - BOOLEAN HalfReady; - U16 OverrunFlag; - I16 err; - - err = DI_AsyncDblBufferHalfReady(m_hCard, &HalfReady); - - if( HalfReady ) // half-buffer ready - { - if(m_bView == 0) - { - display_buffer_data( m_pDIAddr1 ); - m_bView = 1; - } - else - { - display_buffer_data( m_pDIAddr2 ); - m_bView= 0; - } - - DI_AsyncDblBufferHandled( m_hCard ); - DI_AsyncDblBufferOverrun( m_hCard, 0, &OverrunFlag); - - if(OverrunFlag) - { - m_dwOverrunCnt++; - DI_AsyncDblBufferOverrun( m_hCard, 1, NULL ); -// SetDlgItemInt( IDC_EDIT_OVERRUN, (UINT)(m_dwOverrunCnt) ); - } - - } - - - CDialog::OnTimer(nIDEvent); -} - - -void C9222WavDlg::display_buffer_data(U16* pBuf) -{ - CClientDC dc_plot(this); - int nDraw_Bottom; - - int newY, oldY = -1; - int newX, oldX = -1; - U32 index; - U16 di_data; - - // redraw the background - dc_plot.FillSolidRect( plotRect, RGB(0,0,0) ); - - dc_plot.SelectObject( &GreenPen ); - nDraw_Bottom = ( plotRect.bottom - 5 ); - - for( index=0; index 2000000.0 ) m_fSampleRate = 2000000.0; - break; - case SB_LINEDOWN: - m_fSampleRate -= 50000; - if (m_fSampleRate < 50000 ) m_fSampleRate = 50000; - break; - } - - SetDlgItemInt( IDC_EDIT_SAMPLE_RATE, (UINT)(m_fSampleRate/1000) ); - - CDialog::OnVScroll(nSBCode, nPos, pScrollBar); -} diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222DOWave_DelayTrigger/9222WavDlg.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222DOWave_DelayTrigger/9222WavDlg.h deleted file mode 100644 index 3c366e7..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222DOWave_DelayTrigger/9222WavDlg.h +++ /dev/null @@ -1,65 +0,0 @@ - -// 9222WavDlg.h : header file -// -#include "Dask64.h" - -#pragma once - - -// C9222WavDlg dialog -class C9222WavDlg : public CDialog -{ -// Construction -public: - C9222WavDlg(I16 hCard, CWnd* pParent = NULL); // standard constructor - -// Dialog Data - enum { IDD = IDD_MY9222WAV_DIALOG }; - - protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - - -// Implementation -protected: - HICON m_hIcon; - I16 m_hCard; - UINT_PTR m_nTimer; - U16* m_pDIAddr1; - U16* m_pDIAddr2; - U32 m_dwDISamples; - HBRUSH OnBrush; - HBRUSH OffBrush; - CPen RedPen; - CPen GreenPen; - DWORD max_val; - DWORD min_val; - int y_divider; - int x_divider; - int m_DisplayScale; - double m_fSampleRate; - U16 m_wDOBufferId; - U16 m_wDIBufId1; - U16 m_wDIBufId2; - U8 m_bView; - U32 m_dwOverrunCnt; - - // Generated message map functions - virtual BOOL OnInitDialog(); - afx_msg void OnSysCommand(UINT nID, LPARAM lParam); - afx_msg void OnPaint(); - afx_msg HCURSOR OnQueryDragIcon(); - DECLARE_MESSAGE_MAP() -public: - afx_msg void OnDestroy(); - afx_msg void OnStart(); - afx_msg void OnStop(); - afx_msg void OnTimer(UINT_PTR nIDEvent); - void display_buffer_data(U16* pBuf); - void redraw_display_area(void); - afx_msg void OnVScroll(UINT nSBCode, UINT nPos, CScrollBar* pScrollBar); - -private: - int n_PlotHeight; - int n_PlotWidth; -}; diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222DOWave_DelayTrigger/CardIDDlg.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222DOWave_DelayTrigger/CardIDDlg.cpp deleted file mode 100644 index bfc053b..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222DOWave_DelayTrigger/CardIDDlg.cpp +++ /dev/null @@ -1,67 +0,0 @@ -// CardIDDlg.cpp : implementation file -// - -#include "stdafx.h" -#include "9222Wav.h" -#include "CardIDDlg.h" - - -// CCardIDDlg dialog - -IMPLEMENT_DYNAMIC(CCardIDDlg, CDialog) - -CCardIDDlg::CCardIDDlg(int nCardIdx, CWnd* pParent /*=NULL*/) - : CDialog(CCardIDDlg::IDD, pParent) -{ - m_nCardIdx = nCardIdx; -} - -CCardIDDlg::~CCardIDDlg() -{ -} - -void CCardIDDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); - DDX_Control(pDX, IDC_COMBO_CARDID, m_cbCardID); -} - - -BEGIN_MESSAGE_MAP(CCardIDDlg, CDialog) -// ON_CBN_SELCHANGE(IDC_COMBO_CARDID, &CCardIDDlg::OnCbnSelchangeComboCardid) -ON_BN_CLICKED(IDOK, &CCardIDDlg::OnBnClickedOk) -//ON_WM_CTLCOLOR() -END_MESSAGE_MAP() - - -// CCardIDDlg message handlers - - -void CCardIDDlg::OnBnClickedOk() -{ - // TODO: Add your control notification handler code here - -// UpdateData(TRUE); - m_nCardIdx = m_cbCardID.GetCurSel(); - - OnOK(); -} - -BOOL CCardIDDlg::OnInitDialog() -{ - CDialog::OnInitDialog(); - - // TODO: Add extra initialization here - m_cbCardID.SetCurSel( m_nCardIdx ); - - return TRUE; // return TRUE unless you set the focus to a control - // EXCEPTION: OCX Property Pages should return FALSE -} - -// the function to get the selected CardID -int CCardIDDlg::GetCardID(void) -{ - return m_nCardIdx; -} - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222DOWave_DelayTrigger/CardIDDlg.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222DOWave_DelayTrigger/CardIDDlg.h deleted file mode 100644 index 54628ea..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222DOWave_DelayTrigger/CardIDDlg.h +++ /dev/null @@ -1,33 +0,0 @@ -#pragma once -#include "afxwin.h" - - -// CCardIDDlg dialog - -class CCardIDDlg : public CDialog -{ - DECLARE_DYNAMIC(CCardIDDlg) - -public: - CCardIDDlg(int nCardIdx, CWnd* pParent = NULL); // standard constructor - virtual ~CCardIDDlg(); - -// Dialog Data - enum { IDD = IDD_CARDID_DIALOG }; - -protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - - DECLARE_MESSAGE_MAP() -public: -// afx_msg void OnCbnSelchangeComboCardid(); - afx_msg void OnBnClickedOk(); - // the setting of CardID ComboBox - int m_nCardIdx; - virtual BOOL OnInitDialog(); - // the control of CardID ComboBox - CComboBox m_cbCardID; - // the function to get the selected CardID - int GetCardID(void); -// afx_msg HBRUSH OnCtlColor(CDC* pDC, CWnd* pWnd, UINT nCtlColor); -}; diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222DOWave_DelayTrigger/ReadMe.txt b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222DOWave_DelayTrigger/ReadMe.txt deleted file mode 100644 index 1eb0f35..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222DOWave_DelayTrigger/ReadMe.txt +++ /dev/null @@ -1,93 +0,0 @@ -================================================================================ - MICROSOFT FOUNDATION CLASS LIBRARY : 9222Wav Project Overview -=============================================================================== - -The application wizard has created this 9222Wav application for -you. This application not only demonstrates the basics of using the Microsoft -Foundation Classes but is also a starting point for writing your application. - -This file contains a summary of what you will find in each of the files that -make up your 9222Wav application. - -9222Wav.vcproj - This is the main project file for VC++ projects generated using an application wizard. - It contains information about the version of Visual C++ that generated the file, and - information about the platforms, configurations, and project features selected with the - application wizard. - -9222Wav.h - This is the main header file for the application. It includes other - project specific headers (including Resource.h) and declares the - C9222WavApp application class. - -9222Wav.cpp - This is the main application source file that contains the application - class C9222WavApp. - -9222Wav.rc - This is a listing of all of the Microsoft Windows resources that the - program uses. It includes the icons, bitmaps, and cursors that are stored - in the RES subdirectory. This file can be directly edited in Microsoft - Visual C++. Your project resources are in 1033. - -res\9222Wav.ico - This is an icon file, which is used as the application's icon. This - icon is included by the main resource file 9222Wav.rc. - -res\My9222Wav.rc2 - This file contains resources that are not edited by Microsoft - Visual C++. You should place all resources not editable by - the resource editor in this file. - - -///////////////////////////////////////////////////////////////////////////// - -The application wizard creates one dialog class: - -9222WavDlg.h, 9222WavDlg.cpp - the dialog - These files contain your C9222WavDlg class. This class defines - the behavior of your application's main dialog. The dialog's template is - in 9222Wav.rc, which can be edited in Microsoft Visual C++. - - -///////////////////////////////////////////////////////////////////////////// - -Other Features: - -ActiveX Controls - The application includes support to use ActiveX controls. - -///////////////////////////////////////////////////////////////////////////// - -Other standard files: - -StdAfx.h, StdAfx.cpp - These files are used to build a precompiled header (PCH) file - named 9222Wav.pch and a precompiled types file named StdAfx.obj. - -Resource.h - This is the standard header file, which defines new resource IDs. - Microsoft Visual C++ reads and updates this file. - -9222Wav.manifest - Application manifest files are used by Windows XP to describe an applications - dependency on specific versions of Side-by-Side assemblies. The loader uses this - information to load the appropriate assembly from the assembly cache or private - from the application. The Application manifest maybe included for redistribution - as an external .manifest file that is installed in the same folder as the application - executable or it may be included in the executable in the form of a resource. -///////////////////////////////////////////////////////////////////////////// - -Other notes: - -The application wizard uses "TODO:" to indicate parts of the source code you -should add to or customize. - -If your application uses MFC in a shared DLL, you will need -to redistribute the MFC DLLs. If your application is in a language -other than the operating system's locale, you will also have to -redistribute the corresponding localized resources MFC90XXX.DLL. -For more information on both of these topics, please see the section on -redistributing Visual C++ applications in MSDN documentation. - -///////////////////////////////////////////////////////////////////////////// diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222DOWave_DelayTrigger/res/9222Wav.ico b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222DOWave_DelayTrigger/res/9222Wav.ico deleted file mode 100644 index d56fbcd..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222DOWave_DelayTrigger/res/9222Wav.ico and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222DOWave_DelayTrigger/res/My9222Wav.rc2 b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222DOWave_DelayTrigger/res/My9222Wav.rc2 deleted file mode 100644 index 440d4a5..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222DOWave_DelayTrigger/res/My9222Wav.rc2 +++ /dev/null @@ -1,13 +0,0 @@ -// -// My7200Wav.RC2 - resources Microsoft Visual C++ does not edit directly -// - -#ifdef APSTUDIO_INVOKED -#error this file is not editable by Microsoft Visual C++ -#endif //APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// Add manually edited resources here... - -///////////////////////////////////////////////////////////////////////////// diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222DOWave_DelayTrigger/resource.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222DOWave_DelayTrigger/resource.h deleted file mode 100644 index 4af9b16..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222DOWave_DelayTrigger/resource.h +++ /dev/null @@ -1,29 +0,0 @@ -//{{NO_DEPENDENCIES}} -// Microsoft Visual C++ generated include file. -// Used by 9222Wav.rc -// -#define IDM_ABOUTBOX 0x0010 -#define IDD_ABOUTBOX 100 -#define IDS_ABOUTBOX 101 -#define IDD_MY9222WAV_DIALOG 102 -#define IDR_MAINFRAME 128 -#define IDD_CARDID_DIALOG 129 -#define IDC_STATIC_DRAW 1000 -#define IDC_EDIT_SAMPLE 1001 -#define IDC_EDIT_SAMPLE_RATE 1003 -#define IDC_SCROLLBAR_RATE 1006 -#define IDC_COMBO_CARDID 1007 -#define IDC_BT_START 1008 -#define IDC_BT_STOP 1009 -#define IDC_STATIC_01 1014 - -// Next default values for new objects -// -#ifdef APSTUDIO_INVOKED -#ifndef APSTUDIO_READONLY_SYMBOLS -#define _APS_NEXT_RESOURCE_VALUE 131 -#define _APS_NEXT_COMMAND_VALUE 32771 -#define _APS_NEXT_CONTROL_VALUE 1000 -#define _APS_NEXT_SYMED_VALUE 101 -#endif -#endif diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222DOWave_DelayTrigger/stdafx.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222DOWave_DelayTrigger/stdafx.cpp deleted file mode 100644 index b5184d9..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222DOWave_DelayTrigger/stdafx.cpp +++ /dev/null @@ -1,8 +0,0 @@ - -// stdafx.cpp : source file that includes just the standard includes -// 7200Wav.pch will be the pre-compiled header -// stdafx.obj will contain the pre-compiled type information - -#include "stdafx.h" - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222DOWave_DelayTrigger/stdafx.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222DOWave_DelayTrigger/stdafx.h deleted file mode 100644 index 12123e2..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222DOWave_DelayTrigger/stdafx.h +++ /dev/null @@ -1,60 +0,0 @@ - -// stdafx.h : include file for standard system include files, -// or project specific include files that are used frequently, -// but are changed infrequently - -#pragma once - -#ifndef _SECURE_ATL -#define _SECURE_ATL 1 -#endif - -#ifndef VC_EXTRALEAN -#define VC_EXTRALEAN // Exclude rarely-used stuff from Windows headers -#endif - -#include "targetver.h" - -#define _ATL_CSTRING_EXPLICIT_CONSTRUCTORS // some CString constructors will be explicit - -// turns off MFC's hiding of some common and often safely ignored warning messages -#define _AFX_ALL_WARNINGS - -#include // MFC core and standard components -#include // MFC extensions - - -#include // MFC Automation classes - - - -#ifndef _AFX_NO_OLE_SUPPORT -#include // MFC support for Internet Explorer 4 Common Controls -#endif -#ifndef _AFX_NO_AFXCMN_SUPPORT -#include // MFC support for Windows Common Controls -#endif // _AFX_NO_AFXCMN_SUPPORT - -#include // MFC support for ribbons and control bars - - - - - - - - - -#ifdef _UNICODE -#if defined _M_IX86 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='x86' publicKeyToken='6595b64144ccf1df' language='*'\"") -#elif defined _M_IA64 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='ia64' publicKeyToken='6595b64144ccf1df' language='*'\"") -#elif defined _M_X64 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='amd64' publicKeyToken='6595b64144ccf1df' language='*'\"") -#else -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='*' publicKeyToken='6595b64144ccf1df' language='*'\"") -#endif -#endif - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222DOWave_DelayTrigger/targetver.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222DOWave_DelayTrigger/targetver.h deleted file mode 100644 index 11730d5..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222DOWave_DelayTrigger/targetver.h +++ /dev/null @@ -1,26 +0,0 @@ - -#pragma once - -// The following macros define the minimum required platform. The minimum required platform -// is the earliest version of Windows, Internet Explorer etc. that has the necessary features to run -// your application. The macros work by enabling all features available on platform versions up to and -// including the version specified. - -// Modify the following defines if you have to target a platform prior to the ones specified below. -// Refer to MSDN for the latest info on corresponding values for different platforms. -#ifndef WINVER // Specifies that the minimum required platform is Windows Vista. -#define WINVER 0x0600 // Change this to the appropriate value to target other versions of Windows. -#endif - -#ifndef _WIN32_WINNT // Specifies that the minimum required platform is Windows Vista. -#define _WIN32_WINNT 0x0600 // Change this to the appropriate value to target other versions of Windows. -#endif - -#ifndef _WIN32_WINDOWS // Specifies that the minimum required platform is Windows 98. -#define _WIN32_WINDOWS 0x0410 // Change this to the appropriate value to target Windows Me or later. -#endif - -#ifndef _WIN32_IE // Specifies that the minimum required platform is Internet Explorer 7.0. -#define _WIN32_IE 0x0700 // Change this to the appropriate value to target other versions of IE. -#endif - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222DOWave_InfiniteReTrigger/7200Wav.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222DOWave_InfiniteReTrigger/7200Wav.suo deleted file mode 100644 index bc032e1..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222DOWave_InfiniteReTrigger/7200Wav.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222DOWave_InfiniteReTrigger/9222Wav.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222DOWave_InfiniteReTrigger/9222Wav.cpp deleted file mode 100644 index 7619449..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222DOWave_InfiniteReTrigger/9222Wav.cpp +++ /dev/null @@ -1,110 +0,0 @@ - -// 9222Wav.cpp : Defines the class behaviors for the application. -// - -#include "stdafx.h" -#include "9222Wav.h" -#include "9222WavDlg.h" -#include "CardIDDlg.h" - -#ifdef _DEBUG -#define new DEBUG_NEW -#endif - - -// C9222WavApp - -BEGIN_MESSAGE_MAP(C9222WavApp, CWinAppEx) - ON_COMMAND(ID_HELP, &CWinApp::OnHelp) -END_MESSAGE_MAP() - - -// C9222WavApp construction - -C9222WavApp::C9222WavApp() -{ - // TODO: add construction code here, - // Place all significant initialization in InitInstance -} - - -// The one and only C9222WavApp object - -C9222WavApp theApp; - - -// C9222WavApp initialization - -BOOL C9222WavApp::InitInstance() -{ - int nCardID = 0; - I16 hCard; - CString strTemp; - INT_PTR nResponse; - - // InitCommonControlsEx() is required on Windows XP if an application - // manifest specifies use of ComCtl32.dll version 6 or later to enable - // visual styles. Otherwise, any window creation will fail. - INITCOMMONCONTROLSEX InitCtrls; - InitCtrls.dwSize = sizeof(InitCtrls); - // Set this to include all the common control classes you want to use - // in your application. - InitCtrls.dwICC = ICC_WIN95_CLASSES; - InitCommonControlsEx(&InitCtrls); - - CWinAppEx::InitInstance(); - - AfxEnableControlContainer(); - - // Standard initialization - // If you are not using these features and wish to reduce the size - // of your final executable, you should remove from the following - // the specific initialization routines you do not need - // Change the registry key under which our settings are stored - // TODO: You should modify this string to be something appropriate - // such as the name of your company or organization - SetRegistryKey(_T("Local AppWizard-Generated Applications")); - - CCardIDDlg CardDlg( nCardID ); - - nResponse = CardDlg.DoModal(); - if (nResponse == IDOK) - { - nCardID = CardDlg.GetCardID(); - - if ((hCard=Register_Card(PCI_9222, nCardID)) < 0) - { - strTemp.Format( TEXT("Register_Card Error = %d"), hCard); - AfxMessageBox( strTemp ); - } - else - { - C9222WavDlg dlg(hCard); - m_pMainWnd = &dlg; - nResponse = dlg.DoModal(); - if (nResponse == IDOK) - { - // TODO: Place code here to handle when the dialog is - // dismissed with OK - } - else if (nResponse == IDCANCEL) - { - // TODO: Place code here to handle when the dialog is - // dismissed with Cancel - } - - if (hCard >= 0) Release_Card(hCard); - } - - } - else if (nResponse == IDCANCEL) - { - // TODO: Place code here to handle when the dialog is - // dismissed with Cancel - } - - - // Since the dialog has been closed, return FALSE so that we exit the - // application, rather than start the application's message pump. - return FALSE; -} diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222DOWave_InfiniteReTrigger/9222Wav.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222DOWave_InfiniteReTrigger/9222Wav.h deleted file mode 100644 index 122b975..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222DOWave_InfiniteReTrigger/9222Wav.h +++ /dev/null @@ -1,32 +0,0 @@ - -// 9222Wav.h : main header file for the PROJECT_NAME application -// - -#pragma once - -#ifndef __AFXWIN_H__ - #error "include 'stdafx.h' before including this file for PCH" -#endif - -#include "resource.h" // main symbols - - -// C9222WavApp: -// See 9222Wav.cpp for the implementation of this class -// - -class C9222WavApp : public CWinAppEx -{ -public: - C9222WavApp(); - -// Overrides - public: - virtual BOOL InitInstance(); - -// Implementation - - DECLARE_MESSAGE_MAP() -}; - -extern C9222WavApp theApp; \ No newline at end of file diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222DOWave_InfiniteReTrigger/9222Wav.rc b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222DOWave_InfiniteReTrigger/9222Wav.rc deleted file mode 100644 index 53b1557..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222DOWave_InfiniteReTrigger/9222Wav.rc +++ /dev/null @@ -1,285 +0,0 @@ -// Microsoft Visual C++ generated resource script. -// -#include "resource.h" - -#define APSTUDIO_READONLY_SYMBOLS -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 2 resource. -// -#ifndef APSTUDIO_INVOKED -#include "targetver.h" -#endif -#include "afxres.h" - -///////////////////////////////////////////////////////////////////////////// -#undef APSTUDIO_READONLY_SYMBOLS - -///////////////////////////////////////////////////////////////////////////// -// Chinese (Taiwan) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_CHT) -#ifdef _WIN32 -LANGUAGE LANG_CHINESE, SUBLANG_CHINESE_TRADITIONAL -#pragma code_page(950) -#endif //_WIN32 - -#ifdef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// TEXTINCLUDE -// - -1 TEXTINCLUDE -BEGIN - "resource.h\0" -END - -2 TEXTINCLUDE -BEGIN - "#ifndef APSTUDIO_INVOKED\r\n" - "#include ""targetver.h""\r\n" - "#endif\r\n" - "#include ""afxres.h""\r\n" - "\0" -END - -3 TEXTINCLUDE -BEGIN - "#define _AFX_NO_SPLITTER_RESOURCES\r\n" - "#define _AFX_NO_OLE_RESOURCES\r\n" - "#define _AFX_NO_TRACKER_RESOURCES\r\n" - "#define _AFX_NO_PROPERTY_RESOURCES\r\n" - "\r\n" - "#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)\r\n" - "LANGUAGE 9, 1\r\n" - "#pragma code_page(1252)\r\n" - "#include ""res\\My9222Wav.rc2"" // non-Microsoft Visual C++ edited resources\r\n" - "#include ""afxres.rc"" // Standard components\r\n" - "#endif\r\n" - "\0" -END - -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// Icon -// - -// Icon with lowest ID value placed first to ensure application icon -// remains consistent on all systems. -IDR_MAINFRAME ICON "res\\9222Wav.ico" -#endif // Chinese (Taiwan) resources -///////////////////////////////////////////////////////////////////////////// - - -///////////////////////////////////////////////////////////////////////////// -// English (U.S.) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -#ifdef _WIN32 -LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US -#pragma code_page(1252) -#endif //_WIN32 - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog -// - -IDD_ABOUTBOX DIALOGEX 0, 0, 170, 62 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "About 9222Wav" -FONT 8, "MS Shell Dlg", 0, 0, 0x1 -BEGIN - ICON IDR_MAINFRAME,IDC_STATIC,14,14,21,20 - LTEXT "9222Wav, Version 1.0",IDC_STATIC,42,14,114,8,SS_NOPREFIX - LTEXT "Copyright (C) 2010",IDC_STATIC,42,26,114,8 - DEFPUSHBUTTON "OK",IDOK,113,41,50,14,WS_GROUP -END - -IDD_MY9222WAV_DIALOG DIALOGEX 0, 0, 354, 232 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU -EXSTYLE WS_EX_APPWINDOW -CAPTION "PCI-9222 DO Infinite Re-trigger DMA" -FONT 8, "MS Shell Dlg", 0, 0, 0x1 -BEGIN - GROUPBOX "",IDC_STATIC_DRAW,49,38,293,138,NOT WS_VISIBLE - EDITTEXT IDC_EDIT_SAMPLE,113,184,51,12,ES_AUTOHSCROLL - LTEXT "DI Samples :",IDC_STATIC,64,185,45,9 - EDITTEXT IDC_EDIT_SAMPLE_RATE,227,185,30,12,ES_AUTOHSCROLL | ES_READONLY - LTEXT "Sample Rate :",IDC_STATIC,174,185,49,9 - LTEXT "KHz",IDC_STATIC,270,187,15,9 - SCROLLBAR IDC_SCROLLBAR_RATE,258,185,9,11,SBS_VERT - PUSHBUTTON "Start",IDC_BT_START,293,182,48,17 - PUSHBUTTON "Stop",IDC_BT_STOP,293,201,48,17 - LTEXT "Please connect DO1~DO15 to DI1~DI15 (the DI0 will be the digital trigger input)",IDC_STATIC,14,7,277,12 - LTEXT "The DO output pattern will be logged into following panel.",IDC_STATIC,14,21,277,12 -END - -IDD_CARDID_DIALOG DIALOGEX 0, 0, 170, 89 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "Card ID" -FONT 8, "MS Shell Dlg", 400, 0, 0x1 -BEGIN - COMBOBOX IDC_COMBO_CARDID,75,17,71,126,CBS_DROPDOWN | WS_VSCROLL | WS_TABSTOP - LTEXT "Card Number",IDC_STATIC_01,21,18,46,12 - PUSHBUTTON "OK",IDOK,22,50,58,19 - PUSHBUTTON "CANCEL",IDCANCEL,86,50,58,19 -END - - -///////////////////////////////////////////////////////////////////////////// -// -// Version -// - -VS_VERSION_INFO VERSIONINFO - FILEVERSION 1,0,0,1 - PRODUCTVERSION 1,0,0,1 - FILEFLAGSMASK 0x3fL -#ifdef _DEBUG - FILEFLAGS 0x1L -#else - FILEFLAGS 0x0L -#endif - FILEOS 0x4L - FILETYPE 0x1L - FILESUBTYPE 0x0L -BEGIN - BLOCK "StringFileInfo" - BEGIN - BLOCK "040904e4" - BEGIN - VALUE "CompanyName", "TODO: " - VALUE "FileDescription", "TODO: " - VALUE "FileVersion", "1.0.0.1" - VALUE "InternalName", "9222Wav.exe" - VALUE "LegalCopyright", "TODO: (c) . All rights reserved." - VALUE "OriginalFilename", "9222Wav.exe" - VALUE "ProductName", "TODO: " - VALUE "ProductVersion", "1.0.0.1" - END - END - BLOCK "VarFileInfo" - BEGIN - VALUE "Translation", 0x409, 1252 - END -END - - -///////////////////////////////////////////////////////////////////////////// -// -// DESIGNINFO -// - -#ifdef APSTUDIO_INVOKED -GUIDELINES DESIGNINFO -BEGIN - IDD_ABOUTBOX, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 163 - TOPMARGIN, 7 - BOTTOMMARGIN, 55 - END - - IDD_MY9222WAV_DIALOG, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 347 - TOPMARGIN, 7 - BOTTOMMARGIN, 225 - END - - IDD_CARDID_DIALOG, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 163 - TOPMARGIN, 7 - BOTTOMMARGIN, 82 - END -END -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog Info -// - -IDD_CARDID_DIALOG DLGINIT -BEGIN - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0030, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0031, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0032, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0033, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0034, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0035, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0036, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0037, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0038, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0039, - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3031, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3131, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3231, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3331, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3431, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3531, "\000" - 0 -END - - -///////////////////////////////////////////////////////////////////////////// -// -// String Table -// - -STRINGTABLE -BEGIN - IDS_ABOUTBOX "&About 9222Wav..." -END - -#endif // English (U.S.) resources -///////////////////////////////////////////////////////////////////////////// - - - -#ifndef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 3 resource. -// -#define _AFX_NO_SPLITTER_RESOURCES -#define _AFX_NO_OLE_RESOURCES -#define _AFX_NO_TRACKER_RESOURCES -#define _AFX_NO_PROPERTY_RESOURCES - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -LANGUAGE 9, 1 -#pragma code_page(1252) -#include "res\My9222Wav.rc2" // non-Microsoft Visual C++ edited resources -#include "afxres.rc" // Standard components -#endif - -///////////////////////////////////////////////////////////////////////////// -#endif // not APSTUDIO_INVOKED - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222DOWave_InfiniteReTrigger/9222Wav.sln b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222DOWave_InfiniteReTrigger/9222Wav.sln deleted file mode 100644 index e787234..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222DOWave_InfiniteReTrigger/9222Wav.sln +++ /dev/null @@ -1,20 +0,0 @@ - -Microsoft Visual Studio Solution File, Format Version 10.00 -# Visual Studio 2008 -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "9222Wav", "9222Wav.vcproj", "{EBDB6610-7CE5-413C-A150-121068BFDB22}" -EndProject -Global - GlobalSection(SolutionConfigurationPlatforms) = preSolution - Debug|x64 = Debug|x64 - Release|x64 = Release|x64 - EndGlobalSection - GlobalSection(ProjectConfigurationPlatforms) = postSolution - {EBDB6610-7CE5-413C-A150-121068BFDB22}.Debug|x64.ActiveCfg = Debug|x64 - {EBDB6610-7CE5-413C-A150-121068BFDB22}.Debug|x64.Build.0 = Debug|x64 - {EBDB6610-7CE5-413C-A150-121068BFDB22}.Release|x64.ActiveCfg = Release|x64 - {EBDB6610-7CE5-413C-A150-121068BFDB22}.Release|x64.Build.0 = Release|x64 - EndGlobalSection - GlobalSection(SolutionProperties) = preSolution - HideSolutionNode = FALSE - EndGlobalSection -EndGlobal diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222DOWave_InfiniteReTrigger/9222Wav.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222DOWave_InfiniteReTrigger/9222Wav.suo deleted file mode 100644 index 5746928..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222DOWave_InfiniteReTrigger/9222Wav.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222DOWave_InfiniteReTrigger/9222Wav.vcproj b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222DOWave_InfiniteReTrigger/9222Wav.vcproj deleted file mode 100644 index 2b9f053..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222DOWave_InfiniteReTrigger/9222Wav.vcproj +++ /dev/null @@ -1,286 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222DOWave_InfiniteReTrigger/9222WavDlg.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222DOWave_InfiniteReTrigger/9222WavDlg.cpp deleted file mode 100644 index 547c8ff..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222DOWave_InfiniteReTrigger/9222WavDlg.cpp +++ /dev/null @@ -1,588 +0,0 @@ - -// 9222WavDlg.cpp : implementation file -// - -#include "stdafx.h" -#include "9222Wav.h" -#include "9222WavDlg.h" -#include "math.h" - -#ifndef M_PI -#define M_PI 3.14159265359 -#endif - -#ifdef _DEBUG -#define new DEBUG_NEW -#endif - -CRect plotRect; - -#define PCI9222_DIO_STATUS_TIMER 1 - -U16 DoBuf[10240]; -BOOLEAN bOutStopped; -ULONG out_count; - -// CAboutDlg dialog used for App About - -class CAboutDlg : public CDialog -{ -public: - CAboutDlg(); - -// Dialog Data - enum { IDD = IDD_ABOUTBOX }; - - protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - -// Implementation -protected: - DECLARE_MESSAGE_MAP() -}; - -CAboutDlg::CAboutDlg() : CDialog(CAboutDlg::IDD) -{ -} - -void CAboutDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); -} - -BEGIN_MESSAGE_MAP(CAboutDlg, CDialog) -END_MESSAGE_MAP() - - -// C9222WavDlg dialog - - -C9222WavDlg::C9222WavDlg(I16 hCard, CWnd* pParent /*=NULL*/) - : CDialog(C9222WavDlg::IDD, pParent) -{ - m_hIcon = AfxGetApp()->LoadIcon(IDR_MAINFRAME); - - m_hCard = hCard; - - OnBrush = OffBrush = NULL; - - n_PlotWidth = -1; - n_PlotHeight = -1; - - min_val = 0x00; - max_val = 0xFFFF; - - m_fSampleRate = 4000.0; // 100KHz - m_dwDISamples = 8000; - m_pDIAddr1 = NULL; - m_pDIAddr2 = NULL; - - m_nTimer = -1; - - m_dwOverrunCnt = 0; - - for (int i=0; i<10240; i++) - DoBuf[i] = (U16)(sin((double)i/1024*M_PI)*0x00007FFF)+0x00008000; - -} - -void C9222WavDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); -} - -BEGIN_MESSAGE_MAP(C9222WavDlg, CDialog) - ON_WM_SYSCOMMAND() - ON_WM_PAINT() - ON_WM_QUERYDRAGICON() - //}}AFX_MSG_MAP - ON_WM_DESTROY() - ON_BN_CLICKED(IDC_BT_START, &C9222WavDlg::OnStart) - ON_BN_CLICKED(IDC_BT_STOP, &C9222WavDlg::OnStop) - ON_WM_TIMER() - ON_WM_VSCROLL() -END_MESSAGE_MAP() - - -// C9222WavDlg message handlers - -BOOL C9222WavDlg::OnInitDialog() -{ - CString strTemp; - - CDialog::OnInitDialog(); - - // Add "About..." menu item to system menu. - - // IDM_ABOUTBOX must be in the system command range. - ASSERT((IDM_ABOUTBOX & 0xFFF0) == IDM_ABOUTBOX); - ASSERT(IDM_ABOUTBOX < 0xF000); - - CMenu* pSysMenu = GetSystemMenu(FALSE); - if (pSysMenu != NULL) - { - BOOL bNameValid; - CString strAboutMenu; - bNameValid = strAboutMenu.LoadString(IDS_ABOUTBOX); - ASSERT(bNameValid); - if (!strAboutMenu.IsEmpty()) - { - pSysMenu->AppendMenu(MF_SEPARATOR); - pSysMenu->AppendMenu(MF_STRING, IDM_ABOUTBOX, strAboutMenu); - } - } - - // Set the icon for this dialog. The framework does this automatically - // when the application's main window is not a dialog - SetIcon(m_hIcon, TRUE); // Set big icon - SetIcon(m_hIcon, FALSE); // Set small icon - - // TODO: Add extra initialization here - x_divider = 5; y_divider = 2; - - OnBrush = CreateSolidBrush( RGB(255,0,0) ); - OffBrush = CreateSolidBrush( RGB(125,0,0) ); - - RedPen.CreatePen( PS_SOLID, 1, RGB(255,0,0)); - GreenPen.CreatePen( PS_SOLID, 1, RGB(0,255,0)); - - if( n_PlotWidth == -1 && n_PlotHeight == -1 ) - { - ((CWnd*)GetDlgItem(IDC_STATIC_DRAW))->GetWindowRect(&plotRect); - ScreenToClient(&plotRect); - - n_PlotWidth = min( plotRect.Width(), 512); - n_PlotHeight = plotRect.Height() - 10; - } - - // set the default SampleRate - SetDlgItemInt( IDC_EDIT_SAMPLE_RATE, (UINT)(m_fSampleRate/1000) ); - - // Set the default DI Sample - SetDlgItemInt( IDC_EDIT_SAMPLE, (UINT)(m_dwDISamples) ); - - - return TRUE; // return TRUE unless you set the focus to a control -} - -void C9222WavDlg::OnSysCommand(UINT nID, LPARAM lParam) -{ - if ((nID & 0xFFF0) == IDM_ABOUTBOX) - { - CAboutDlg dlgAbout; - dlgAbout.DoModal(); - } - else - { - CDialog::OnSysCommand(nID, lParam); - } -} - -// If you add a minimize button to your dialog, you will need the code below -// to draw the icon. For MFC applications using the document/view model, -// this is automatically done for you by the framework. - -void C9222WavDlg::OnPaint() -{ - if (IsIconic()) - { - CPaintDC dc(this); // device context for painting - - SendMessage(WM_ICONERASEBKGND, reinterpret_cast(dc.GetSafeHdc()), 0); - - // Center icon in client rectangle - int cxIcon = GetSystemMetrics(SM_CXICON); - int cyIcon = GetSystemMetrics(SM_CYICON); - CRect rect; - GetClientRect(&rect); - int x = (rect.Width() - cxIcon + 1) / 2; - int y = (rect.Height() - cyIcon + 1) / 2; - - // Draw the icon - dc.DrawIcon(x, y, m_hIcon); - } - else - { - redraw_display_area(); - CDialog::OnPaint(); - } -} - -// The system calls this function to obtain the cursor to display while the user drags -// the minimized window. -HCURSOR C9222WavDlg::OnQueryDragIcon() -{ - return static_cast(m_hIcon); -} - - -void C9222WavDlg::OnDestroy() -{ - U32 count; - - CDialog::OnDestroy(); - - // TODO: Add your message handler code here - if( OnBrush != NULL ) - ::DeleteObject( OnBrush ); - - if( OffBrush != NULL ) - ::DeleteObject( OffBrush ); - - RedPen.DeleteObject(); - GreenPen.DeleteObject(); - - if( m_nTimer != -1 ) - { - KillTimer( m_nTimer ); - m_nTimer = -1; - } - - if( m_pDIAddr1 != NULL ) - { - free( m_pDIAddr1 ); - m_pDIAddr1 = NULL; - } - - if( m_pDIAddr2 != NULL ) - { - free( m_pDIAddr2 ); - m_pDIAddr2 = NULL; - } - - DI_AsyncClear( m_hCard, &count ); - - DO_AsyncClear( m_hCard, &count ); - - -} - -void C9222WavDlg::OnStart() -{ - // TODO: Add your control notification handler code here - U32 dwMemSize, dwDISamples; - void* pMem; - I16 err; - CString strMsg; - - dwDISamples = GetDlgItemInt( IDC_EDIT_SAMPLE ); - - if( dwDISamples != m_dwDISamples ) - { - if( m_pDIAddr1 != NULL ) - { - free( m_pDIAddr1 ); - m_pDIAddr1 = NULL; - } - - if( m_pDIAddr2 != NULL ) - { - free( m_pDIAddr2 ); - m_pDIAddr2 = NULL; - } - - m_dwDISamples = dwDISamples; - } - - - dwMemSize = m_dwDISamples * sizeof(U16); - pMem = malloc( dwMemSize ); - if( pMem == NULL ) - { - AfxMessageBox( TEXT("Memory allocated failed") ); - return; - } - else - { - m_pDIAddr1 = (U16*) pMem; - memset( m_pDIAddr1, '\0', dwMemSize ); - } - - pMem = malloc( dwMemSize ); - if( pMem == NULL ) - { - AfxMessageBox( TEXT("Memory allocated failed") ); - return; - } - else - { - m_pDIAddr2 = (U16*) pMem; - memset( m_pDIAddr2, '\0', dwMemSize ); - } - - if ((err=DO_9222_Config(m_hCard, P922x_DO_CONVSRC_INT, (P922x_DO_TRGMOD_POST|P922x_DO_TRGSRC_GPI0|P922x_DO_EnReTigger), 0, 0, 0, 1)) != NoError) - { - strMsg.Format( TEXT("DO_9222_Config Error = %d") ,err ); - AfxMessageBox( strMsg ); - return; - } - - if ((err = DO_ContBufferSetup(m_hCard, DoBuf, 5120/*10240*/, &m_wDOBufferId)) != NoError) - { - strMsg.Format( TEXT("DO_ContBufferSetup Error = %d") ,err ); - AfxMessageBox( strMsg ); - return; - } - - if ((err=DI_9222_Config(m_hCard, P922x_DI_CONVSRC_INT, (P922x_DI_TRGMOD_POST|P922x_DI_TRGSRC_SOFT), 0, 1)) != NoError) - { - strMsg.Format( TEXT("DI_9222_Config Error = %d") ,err ); - AfxMessageBox( strMsg ); - return; - } - - if ((err=DI_AsyncDblBufferMode (m_hCard, 1)) != NoError) - { - strMsg.Format( TEXT("DI_AsyncDblBufferMode Error = %d\n"), err ); - AfxMessageBox( strMsg ); - return; - } - - /*Setup Buffer for DI DMA Transfer*/ - if ((err=DI_ContBufferSetup(m_hCard, m_pDIAddr1, m_dwDISamples, &m_wDIBufId1)) != NoError) - { - strMsg.Format( TEXT("DI_ContBufferSetup Error = %d") ,err ); - AfxMessageBox( strMsg ); - return; - } - - /*Setup Buffer for DI DMA Transfer*/ - if ((err=DI_ContBufferSetup(m_hCard, m_pDIAddr2, m_dwDISamples, &m_wDIBufId2)) != NoError) - { - strMsg.Format( TEXT("DI_ContBufferSetup Error = %d") ,err ); - AfxMessageBox( strMsg ); - return; - } - - // clear display area - redraw_display_area(); - m_bView = 0; - - if ((err = DI_ContReadPort(m_hCard, 0, &m_wDIBufId1, m_dwDISamples, m_fSampleRate, ASYNCH_OP)) != NoError) - { - DI_ContBufferReset(m_hCard); - strMsg.Format( TEXT("DI_ContReadPort Error = %d\n"), err); - AfxMessageBox( strMsg ); - return; - } - - if ((err = DO_ContWritePort(m_hCard, 0, &m_wDOBufferId, 5120/*10240*/, 1, m_fSampleRate, ASYNCH_OP)) != NoError) - { - DO_ContBufferReset(m_hCard); - strMsg.Format( TEXT("DO_ContWritePort Error = %d") ,err ); - AfxMessageBox( strMsg ); - return; - } - - if( m_nTimer == -1 ) - { - m_nTimer = SetTimer( PCI9222_DIO_STATUS_TIMER, 20, NULL ); - } - - GetDlgItem( IDC_BT_START )->EnableWindow( FALSE ); - GetDlgItem( IDC_BT_STOP )->EnableWindow( TRUE ); - -} - -void C9222WavDlg::OnStop() -{ - // TODO: Add your control notification handler code here - U32 count; - - DI_AsyncClear(m_hCard, &count); - DI_ContBufferReset(m_hCard); - - DO_AsyncClear(m_hCard, &count); - DO_ContBufferReset( m_hCard ); - - GetDlgItem( IDC_BT_START )->EnableWindow( TRUE ); - GetDlgItem( IDC_BT_STOP )->EnableWindow( FALSE); -} - -void C9222WavDlg::OnTimer(UINT_PTR nIDEvent) -{ - // TODO: Add your message handler code here and/or call default - BOOLEAN HalfReady; - BOOLEAN fstop; - U16 OverrunFlag; - I16 err; - - err = DI_AsyncDblBufferHalfReady(m_hCard, &HalfReady); - - if( HalfReady ) // half-buffer ready - { - if(m_bView == 0) - { - display_buffer_data( m_pDIAddr1 ); - m_bView = 1; - } - else - { - display_buffer_data( m_pDIAddr2 ); - m_bView= 0; - } - - DI_AsyncDblBufferHandled( m_hCard ); - DI_AsyncDblBufferOverrun( m_hCard, 0, &OverrunFlag); - - if(OverrunFlag) - { - m_dwOverrunCnt++; - DI_AsyncDblBufferOverrun( m_hCard, 1, NULL ); -// SetDlgItemInt( IDC_EDIT_OVERRUN, (UINT)(m_dwOverrunCnt) ); - } - - } - - - CDialog::OnTimer(nIDEvent); -} - - -void C9222WavDlg::display_buffer_data(U16* pBuf) -{ - CClientDC dc_plot(this); - int nDraw_Bottom; - - int newY, oldY = -1; - int newX, oldX = -1; - U32 index; - U16 di_data; - - // redraw the background - dc_plot.FillSolidRect( plotRect, RGB(0,0,0) ); - - dc_plot.SelectObject( &GreenPen ); - nDraw_Bottom = ( plotRect.bottom - 5 ); - - for( index=0; index 2000000.0 ) m_fSampleRate = 2000000.0; - break; - case SB_LINEDOWN: - m_fSampleRate -= 50000; - if (m_fSampleRate < 50000 ) m_fSampleRate = 50000; - break; - } - - SetDlgItemInt( IDC_EDIT_SAMPLE_RATE, (UINT)(m_fSampleRate/1000) ); - - CDialog::OnVScroll(nSBCode, nPos, pScrollBar); -} diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222DOWave_InfiniteReTrigger/9222WavDlg.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222DOWave_InfiniteReTrigger/9222WavDlg.h deleted file mode 100644 index 3c366e7..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222DOWave_InfiniteReTrigger/9222WavDlg.h +++ /dev/null @@ -1,65 +0,0 @@ - -// 9222WavDlg.h : header file -// -#include "Dask64.h" - -#pragma once - - -// C9222WavDlg dialog -class C9222WavDlg : public CDialog -{ -// Construction -public: - C9222WavDlg(I16 hCard, CWnd* pParent = NULL); // standard constructor - -// Dialog Data - enum { IDD = IDD_MY9222WAV_DIALOG }; - - protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - - -// Implementation -protected: - HICON m_hIcon; - I16 m_hCard; - UINT_PTR m_nTimer; - U16* m_pDIAddr1; - U16* m_pDIAddr2; - U32 m_dwDISamples; - HBRUSH OnBrush; - HBRUSH OffBrush; - CPen RedPen; - CPen GreenPen; - DWORD max_val; - DWORD min_val; - int y_divider; - int x_divider; - int m_DisplayScale; - double m_fSampleRate; - U16 m_wDOBufferId; - U16 m_wDIBufId1; - U16 m_wDIBufId2; - U8 m_bView; - U32 m_dwOverrunCnt; - - // Generated message map functions - virtual BOOL OnInitDialog(); - afx_msg void OnSysCommand(UINT nID, LPARAM lParam); - afx_msg void OnPaint(); - afx_msg HCURSOR OnQueryDragIcon(); - DECLARE_MESSAGE_MAP() -public: - afx_msg void OnDestroy(); - afx_msg void OnStart(); - afx_msg void OnStop(); - afx_msg void OnTimer(UINT_PTR nIDEvent); - void display_buffer_data(U16* pBuf); - void redraw_display_area(void); - afx_msg void OnVScroll(UINT nSBCode, UINT nPos, CScrollBar* pScrollBar); - -private: - int n_PlotHeight; - int n_PlotWidth; -}; diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222DOWave_InfiniteReTrigger/CardIDDlg.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222DOWave_InfiniteReTrigger/CardIDDlg.cpp deleted file mode 100644 index bfc053b..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222DOWave_InfiniteReTrigger/CardIDDlg.cpp +++ /dev/null @@ -1,67 +0,0 @@ -// CardIDDlg.cpp : implementation file -// - -#include "stdafx.h" -#include "9222Wav.h" -#include "CardIDDlg.h" - - -// CCardIDDlg dialog - -IMPLEMENT_DYNAMIC(CCardIDDlg, CDialog) - -CCardIDDlg::CCardIDDlg(int nCardIdx, CWnd* pParent /*=NULL*/) - : CDialog(CCardIDDlg::IDD, pParent) -{ - m_nCardIdx = nCardIdx; -} - -CCardIDDlg::~CCardIDDlg() -{ -} - -void CCardIDDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); - DDX_Control(pDX, IDC_COMBO_CARDID, m_cbCardID); -} - - -BEGIN_MESSAGE_MAP(CCardIDDlg, CDialog) -// ON_CBN_SELCHANGE(IDC_COMBO_CARDID, &CCardIDDlg::OnCbnSelchangeComboCardid) -ON_BN_CLICKED(IDOK, &CCardIDDlg::OnBnClickedOk) -//ON_WM_CTLCOLOR() -END_MESSAGE_MAP() - - -// CCardIDDlg message handlers - - -void CCardIDDlg::OnBnClickedOk() -{ - // TODO: Add your control notification handler code here - -// UpdateData(TRUE); - m_nCardIdx = m_cbCardID.GetCurSel(); - - OnOK(); -} - -BOOL CCardIDDlg::OnInitDialog() -{ - CDialog::OnInitDialog(); - - // TODO: Add extra initialization here - m_cbCardID.SetCurSel( m_nCardIdx ); - - return TRUE; // return TRUE unless you set the focus to a control - // EXCEPTION: OCX Property Pages should return FALSE -} - -// the function to get the selected CardID -int CCardIDDlg::GetCardID(void) -{ - return m_nCardIdx; -} - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222DOWave_InfiniteReTrigger/CardIDDlg.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222DOWave_InfiniteReTrigger/CardIDDlg.h deleted file mode 100644 index 54628ea..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222DOWave_InfiniteReTrigger/CardIDDlg.h +++ /dev/null @@ -1,33 +0,0 @@ -#pragma once -#include "afxwin.h" - - -// CCardIDDlg dialog - -class CCardIDDlg : public CDialog -{ - DECLARE_DYNAMIC(CCardIDDlg) - -public: - CCardIDDlg(int nCardIdx, CWnd* pParent = NULL); // standard constructor - virtual ~CCardIDDlg(); - -// Dialog Data - enum { IDD = IDD_CARDID_DIALOG }; - -protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - - DECLARE_MESSAGE_MAP() -public: -// afx_msg void OnCbnSelchangeComboCardid(); - afx_msg void OnBnClickedOk(); - // the setting of CardID ComboBox - int m_nCardIdx; - virtual BOOL OnInitDialog(); - // the control of CardID ComboBox - CComboBox m_cbCardID; - // the function to get the selected CardID - int GetCardID(void); -// afx_msg HBRUSH OnCtlColor(CDC* pDC, CWnd* pWnd, UINT nCtlColor); -}; diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222DOWave_InfiniteReTrigger/ReadMe.txt b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222DOWave_InfiniteReTrigger/ReadMe.txt deleted file mode 100644 index 1eb0f35..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222DOWave_InfiniteReTrigger/ReadMe.txt +++ /dev/null @@ -1,93 +0,0 @@ -================================================================================ - MICROSOFT FOUNDATION CLASS LIBRARY : 9222Wav Project Overview -=============================================================================== - -The application wizard has created this 9222Wav application for -you. This application not only demonstrates the basics of using the Microsoft -Foundation Classes but is also a starting point for writing your application. - -This file contains a summary of what you will find in each of the files that -make up your 9222Wav application. - -9222Wav.vcproj - This is the main project file for VC++ projects generated using an application wizard. - It contains information about the version of Visual C++ that generated the file, and - information about the platforms, configurations, and project features selected with the - application wizard. - -9222Wav.h - This is the main header file for the application. It includes other - project specific headers (including Resource.h) and declares the - C9222WavApp application class. - -9222Wav.cpp - This is the main application source file that contains the application - class C9222WavApp. - -9222Wav.rc - This is a listing of all of the Microsoft Windows resources that the - program uses. It includes the icons, bitmaps, and cursors that are stored - in the RES subdirectory. This file can be directly edited in Microsoft - Visual C++. Your project resources are in 1033. - -res\9222Wav.ico - This is an icon file, which is used as the application's icon. This - icon is included by the main resource file 9222Wav.rc. - -res\My9222Wav.rc2 - This file contains resources that are not edited by Microsoft - Visual C++. You should place all resources not editable by - the resource editor in this file. - - -///////////////////////////////////////////////////////////////////////////// - -The application wizard creates one dialog class: - -9222WavDlg.h, 9222WavDlg.cpp - the dialog - These files contain your C9222WavDlg class. This class defines - the behavior of your application's main dialog. The dialog's template is - in 9222Wav.rc, which can be edited in Microsoft Visual C++. - - -///////////////////////////////////////////////////////////////////////////// - -Other Features: - -ActiveX Controls - The application includes support to use ActiveX controls. - -///////////////////////////////////////////////////////////////////////////// - -Other standard files: - -StdAfx.h, StdAfx.cpp - These files are used to build a precompiled header (PCH) file - named 9222Wav.pch and a precompiled types file named StdAfx.obj. - -Resource.h - This is the standard header file, which defines new resource IDs. - Microsoft Visual C++ reads and updates this file. - -9222Wav.manifest - Application manifest files are used by Windows XP to describe an applications - dependency on specific versions of Side-by-Side assemblies. The loader uses this - information to load the appropriate assembly from the assembly cache or private - from the application. The Application manifest maybe included for redistribution - as an external .manifest file that is installed in the same folder as the application - executable or it may be included in the executable in the form of a resource. -///////////////////////////////////////////////////////////////////////////// - -Other notes: - -The application wizard uses "TODO:" to indicate parts of the source code you -should add to or customize. - -If your application uses MFC in a shared DLL, you will need -to redistribute the MFC DLLs. If your application is in a language -other than the operating system's locale, you will also have to -redistribute the corresponding localized resources MFC90XXX.DLL. -For more information on both of these topics, please see the section on -redistributing Visual C++ applications in MSDN documentation. - -///////////////////////////////////////////////////////////////////////////// diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222DOWave_InfiniteReTrigger/res/9222Wav.ico b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222DOWave_InfiniteReTrigger/res/9222Wav.ico deleted file mode 100644 index d56fbcd..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222DOWave_InfiniteReTrigger/res/9222Wav.ico and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222DOWave_InfiniteReTrigger/res/My9222Wav.rc2 b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222DOWave_InfiniteReTrigger/res/My9222Wav.rc2 deleted file mode 100644 index 440d4a5..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222DOWave_InfiniteReTrigger/res/My9222Wav.rc2 +++ /dev/null @@ -1,13 +0,0 @@ -// -// My7200Wav.RC2 - resources Microsoft Visual C++ does not edit directly -// - -#ifdef APSTUDIO_INVOKED -#error this file is not editable by Microsoft Visual C++ -#endif //APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// Add manually edited resources here... - -///////////////////////////////////////////////////////////////////////////// diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222DOWave_InfiniteReTrigger/resource.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222DOWave_InfiniteReTrigger/resource.h deleted file mode 100644 index 4af9b16..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222DOWave_InfiniteReTrigger/resource.h +++ /dev/null @@ -1,29 +0,0 @@ -//{{NO_DEPENDENCIES}} -// Microsoft Visual C++ generated include file. -// Used by 9222Wav.rc -// -#define IDM_ABOUTBOX 0x0010 -#define IDD_ABOUTBOX 100 -#define IDS_ABOUTBOX 101 -#define IDD_MY9222WAV_DIALOG 102 -#define IDR_MAINFRAME 128 -#define IDD_CARDID_DIALOG 129 -#define IDC_STATIC_DRAW 1000 -#define IDC_EDIT_SAMPLE 1001 -#define IDC_EDIT_SAMPLE_RATE 1003 -#define IDC_SCROLLBAR_RATE 1006 -#define IDC_COMBO_CARDID 1007 -#define IDC_BT_START 1008 -#define IDC_BT_STOP 1009 -#define IDC_STATIC_01 1014 - -// Next default values for new objects -// -#ifdef APSTUDIO_INVOKED -#ifndef APSTUDIO_READONLY_SYMBOLS -#define _APS_NEXT_RESOURCE_VALUE 131 -#define _APS_NEXT_COMMAND_VALUE 32771 -#define _APS_NEXT_CONTROL_VALUE 1000 -#define _APS_NEXT_SYMED_VALUE 101 -#endif -#endif diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222DOWave_InfiniteReTrigger/stdafx.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222DOWave_InfiniteReTrigger/stdafx.cpp deleted file mode 100644 index b5184d9..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222DOWave_InfiniteReTrigger/stdafx.cpp +++ /dev/null @@ -1,8 +0,0 @@ - -// stdafx.cpp : source file that includes just the standard includes -// 7200Wav.pch will be the pre-compiled header -// stdafx.obj will contain the pre-compiled type information - -#include "stdafx.h" - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222DOWave_InfiniteReTrigger/stdafx.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222DOWave_InfiniteReTrigger/stdafx.h deleted file mode 100644 index 12123e2..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222DOWave_InfiniteReTrigger/stdafx.h +++ /dev/null @@ -1,60 +0,0 @@ - -// stdafx.h : include file for standard system include files, -// or project specific include files that are used frequently, -// but are changed infrequently - -#pragma once - -#ifndef _SECURE_ATL -#define _SECURE_ATL 1 -#endif - -#ifndef VC_EXTRALEAN -#define VC_EXTRALEAN // Exclude rarely-used stuff from Windows headers -#endif - -#include "targetver.h" - -#define _ATL_CSTRING_EXPLICIT_CONSTRUCTORS // some CString constructors will be explicit - -// turns off MFC's hiding of some common and often safely ignored warning messages -#define _AFX_ALL_WARNINGS - -#include // MFC core and standard components -#include // MFC extensions - - -#include // MFC Automation classes - - - -#ifndef _AFX_NO_OLE_SUPPORT -#include // MFC support for Internet Explorer 4 Common Controls -#endif -#ifndef _AFX_NO_AFXCMN_SUPPORT -#include // MFC support for Windows Common Controls -#endif // _AFX_NO_AFXCMN_SUPPORT - -#include // MFC support for ribbons and control bars - - - - - - - - - -#ifdef _UNICODE -#if defined _M_IX86 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='x86' publicKeyToken='6595b64144ccf1df' language='*'\"") -#elif defined _M_IA64 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='ia64' publicKeyToken='6595b64144ccf1df' language='*'\"") -#elif defined _M_X64 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='amd64' publicKeyToken='6595b64144ccf1df' language='*'\"") -#else -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='*' publicKeyToken='6595b64144ccf1df' language='*'\"") -#endif -#endif - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222DOWave_InfiniteReTrigger/targetver.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222DOWave_InfiniteReTrigger/targetver.h deleted file mode 100644 index 11730d5..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222DOWave_InfiniteReTrigger/targetver.h +++ /dev/null @@ -1,26 +0,0 @@ - -#pragma once - -// The following macros define the minimum required platform. The minimum required platform -// is the earliest version of Windows, Internet Explorer etc. that has the necessary features to run -// your application. The macros work by enabling all features available on platform versions up to and -// including the version specified. - -// Modify the following defines if you have to target a platform prior to the ones specified below. -// Refer to MSDN for the latest info on corresponding values for different platforms. -#ifndef WINVER // Specifies that the minimum required platform is Windows Vista. -#define WINVER 0x0600 // Change this to the appropriate value to target other versions of Windows. -#endif - -#ifndef _WIN32_WINNT // Specifies that the minimum required platform is Windows Vista. -#define _WIN32_WINNT 0x0600 // Change this to the appropriate value to target other versions of Windows. -#endif - -#ifndef _WIN32_WINDOWS // Specifies that the minimum required platform is Windows 98. -#define _WIN32_WINDOWS 0x0410 // Change this to the appropriate value to target Windows Me or later. -#endif - -#ifndef _WIN32_IE // Specifies that the minimum required platform is Internet Explorer 7.0. -#define _WIN32_IE 0x0700 // Change this to the appropriate value to target other versions of IE. -#endif - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222DOWave_ReTrigger/7200Wav.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222DOWave_ReTrigger/7200Wav.suo deleted file mode 100644 index bc032e1..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222DOWave_ReTrigger/7200Wav.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222DOWave_ReTrigger/9222Wav.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222DOWave_ReTrigger/9222Wav.cpp deleted file mode 100644 index 7619449..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222DOWave_ReTrigger/9222Wav.cpp +++ /dev/null @@ -1,110 +0,0 @@ - -// 9222Wav.cpp : Defines the class behaviors for the application. -// - -#include "stdafx.h" -#include "9222Wav.h" -#include "9222WavDlg.h" -#include "CardIDDlg.h" - -#ifdef _DEBUG -#define new DEBUG_NEW -#endif - - -// C9222WavApp - -BEGIN_MESSAGE_MAP(C9222WavApp, CWinAppEx) - ON_COMMAND(ID_HELP, &CWinApp::OnHelp) -END_MESSAGE_MAP() - - -// C9222WavApp construction - -C9222WavApp::C9222WavApp() -{ - // TODO: add construction code here, - // Place all significant initialization in InitInstance -} - - -// The one and only C9222WavApp object - -C9222WavApp theApp; - - -// C9222WavApp initialization - -BOOL C9222WavApp::InitInstance() -{ - int nCardID = 0; - I16 hCard; - CString strTemp; - INT_PTR nResponse; - - // InitCommonControlsEx() is required on Windows XP if an application - // manifest specifies use of ComCtl32.dll version 6 or later to enable - // visual styles. Otherwise, any window creation will fail. - INITCOMMONCONTROLSEX InitCtrls; - InitCtrls.dwSize = sizeof(InitCtrls); - // Set this to include all the common control classes you want to use - // in your application. - InitCtrls.dwICC = ICC_WIN95_CLASSES; - InitCommonControlsEx(&InitCtrls); - - CWinAppEx::InitInstance(); - - AfxEnableControlContainer(); - - // Standard initialization - // If you are not using these features and wish to reduce the size - // of your final executable, you should remove from the following - // the specific initialization routines you do not need - // Change the registry key under which our settings are stored - // TODO: You should modify this string to be something appropriate - // such as the name of your company or organization - SetRegistryKey(_T("Local AppWizard-Generated Applications")); - - CCardIDDlg CardDlg( nCardID ); - - nResponse = CardDlg.DoModal(); - if (nResponse == IDOK) - { - nCardID = CardDlg.GetCardID(); - - if ((hCard=Register_Card(PCI_9222, nCardID)) < 0) - { - strTemp.Format( TEXT("Register_Card Error = %d"), hCard); - AfxMessageBox( strTemp ); - } - else - { - C9222WavDlg dlg(hCard); - m_pMainWnd = &dlg; - nResponse = dlg.DoModal(); - if (nResponse == IDOK) - { - // TODO: Place code here to handle when the dialog is - // dismissed with OK - } - else if (nResponse == IDCANCEL) - { - // TODO: Place code here to handle when the dialog is - // dismissed with Cancel - } - - if (hCard >= 0) Release_Card(hCard); - } - - } - else if (nResponse == IDCANCEL) - { - // TODO: Place code here to handle when the dialog is - // dismissed with Cancel - } - - - // Since the dialog has been closed, return FALSE so that we exit the - // application, rather than start the application's message pump. - return FALSE; -} diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222DOWave_ReTrigger/9222Wav.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222DOWave_ReTrigger/9222Wav.h deleted file mode 100644 index 122b975..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222DOWave_ReTrigger/9222Wav.h +++ /dev/null @@ -1,32 +0,0 @@ - -// 9222Wav.h : main header file for the PROJECT_NAME application -// - -#pragma once - -#ifndef __AFXWIN_H__ - #error "include 'stdafx.h' before including this file for PCH" -#endif - -#include "resource.h" // main symbols - - -// C9222WavApp: -// See 9222Wav.cpp for the implementation of this class -// - -class C9222WavApp : public CWinAppEx -{ -public: - C9222WavApp(); - -// Overrides - public: - virtual BOOL InitInstance(); - -// Implementation - - DECLARE_MESSAGE_MAP() -}; - -extern C9222WavApp theApp; \ No newline at end of file diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222DOWave_ReTrigger/9222Wav.rc b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222DOWave_ReTrigger/9222Wav.rc deleted file mode 100644 index e225b41..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222DOWave_ReTrigger/9222Wav.rc +++ /dev/null @@ -1,285 +0,0 @@ -// Microsoft Visual C++ generated resource script. -// -#include "resource.h" - -#define APSTUDIO_READONLY_SYMBOLS -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 2 resource. -// -#ifndef APSTUDIO_INVOKED -#include "targetver.h" -#endif -#include "afxres.h" - -///////////////////////////////////////////////////////////////////////////// -#undef APSTUDIO_READONLY_SYMBOLS - -///////////////////////////////////////////////////////////////////////////// -// Chinese (Taiwan) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_CHT) -#ifdef _WIN32 -LANGUAGE LANG_CHINESE, SUBLANG_CHINESE_TRADITIONAL -#pragma code_page(950) -#endif //_WIN32 - -#ifdef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// TEXTINCLUDE -// - -1 TEXTINCLUDE -BEGIN - "resource.h\0" -END - -2 TEXTINCLUDE -BEGIN - "#ifndef APSTUDIO_INVOKED\r\n" - "#include ""targetver.h""\r\n" - "#endif\r\n" - "#include ""afxres.h""\r\n" - "\0" -END - -3 TEXTINCLUDE -BEGIN - "#define _AFX_NO_SPLITTER_RESOURCES\r\n" - "#define _AFX_NO_OLE_RESOURCES\r\n" - "#define _AFX_NO_TRACKER_RESOURCES\r\n" - "#define _AFX_NO_PROPERTY_RESOURCES\r\n" - "\r\n" - "#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)\r\n" - "LANGUAGE 9, 1\r\n" - "#pragma code_page(1252)\r\n" - "#include ""res\\My9222Wav.rc2"" // non-Microsoft Visual C++ edited resources\r\n" - "#include ""afxres.rc"" // Standard components\r\n" - "#endif\r\n" - "\0" -END - -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// Icon -// - -// Icon with lowest ID value placed first to ensure application icon -// remains consistent on all systems. -IDR_MAINFRAME ICON "res\\9222Wav.ico" -#endif // Chinese (Taiwan) resources -///////////////////////////////////////////////////////////////////////////// - - -///////////////////////////////////////////////////////////////////////////// -// English (U.S.) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -#ifdef _WIN32 -LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US -#pragma code_page(1252) -#endif //_WIN32 - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog -// - -IDD_ABOUTBOX DIALOGEX 0, 0, 170, 62 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "About 9222Wav" -FONT 8, "MS Shell Dlg", 0, 0, 0x1 -BEGIN - ICON IDR_MAINFRAME,IDC_STATIC,14,14,21,20 - LTEXT "9222Wav, Version 1.0",IDC_STATIC,42,14,114,8,SS_NOPREFIX - LTEXT "Copyright (C) 2010",IDC_STATIC,42,26,114,8 - DEFPUSHBUTTON "OK",IDOK,113,41,50,14,WS_GROUP -END - -IDD_MY9222WAV_DIALOG DIALOGEX 0, 0, 354, 231 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU -EXSTYLE WS_EX_APPWINDOW -CAPTION "PCI-9222 DO Re-Trigger DMA (total 4 DO output)" -FONT 8, "MS Shell Dlg", 0, 0, 0x1 -BEGIN - GROUPBOX "",IDC_STATIC_DRAW,49,36,293,138,NOT WS_VISIBLE - EDITTEXT IDC_EDIT_SAMPLE,113,182,51,12,ES_AUTOHSCROLL - LTEXT "DI Samples :",IDC_STATIC,64,183,45,9 - EDITTEXT IDC_EDIT_SAMPLE_RATE,227,183,30,12,ES_AUTOHSCROLL | ES_READONLY - LTEXT "Sample Rate :",IDC_STATIC,174,183,49,9 - LTEXT "KHz",IDC_STATIC,270,185,15,9 - SCROLLBAR IDC_SCROLLBAR_RATE,258,183,9,11,SBS_VERT - PUSHBUTTON "Start",IDC_BT_START,293,180,48,17 - PUSHBUTTON "Stop",IDC_BT_STOP,293,199,48,17 - LTEXT "Please connect DO1~DO15 to DI1~DI15 (the DI0 will be the digital trigger input)",IDC_STATIC,14,7,277,12 - LTEXT "The DO output pattern will be logged into following panel.",IDC_STATIC,14,21,277,12 -END - -IDD_CARDID_DIALOG DIALOGEX 0, 0, 170, 89 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "Card ID" -FONT 8, "MS Shell Dlg", 400, 0, 0x1 -BEGIN - COMBOBOX IDC_COMBO_CARDID,75,17,71,126,CBS_DROPDOWN | WS_VSCROLL | WS_TABSTOP - LTEXT "Card Number",IDC_STATIC_01,21,18,46,12 - PUSHBUTTON "OK",IDOK,22,50,58,19 - PUSHBUTTON "CANCEL",IDCANCEL,86,50,58,19 -END - - -///////////////////////////////////////////////////////////////////////////// -// -// Version -// - -VS_VERSION_INFO VERSIONINFO - FILEVERSION 1,0,0,1 - PRODUCTVERSION 1,0,0,1 - FILEFLAGSMASK 0x3fL -#ifdef _DEBUG - FILEFLAGS 0x1L -#else - FILEFLAGS 0x0L -#endif - FILEOS 0x4L - FILETYPE 0x1L - FILESUBTYPE 0x0L -BEGIN - BLOCK "StringFileInfo" - BEGIN - BLOCK "040904e4" - BEGIN - VALUE "CompanyName", "TODO: " - VALUE "FileDescription", "TODO: " - VALUE "FileVersion", "1.0.0.1" - VALUE "InternalName", "9222Wav.exe" - VALUE "LegalCopyright", "TODO: (c) . All rights reserved." - VALUE "OriginalFilename", "9222Wav.exe" - VALUE "ProductName", "TODO: " - VALUE "ProductVersion", "1.0.0.1" - END - END - BLOCK "VarFileInfo" - BEGIN - VALUE "Translation", 0x409, 1252 - END -END - - -///////////////////////////////////////////////////////////////////////////// -// -// DESIGNINFO -// - -#ifdef APSTUDIO_INVOKED -GUIDELINES DESIGNINFO -BEGIN - IDD_ABOUTBOX, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 163 - TOPMARGIN, 7 - BOTTOMMARGIN, 55 - END - - IDD_MY9222WAV_DIALOG, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 347 - TOPMARGIN, 7 - BOTTOMMARGIN, 224 - END - - IDD_CARDID_DIALOG, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 163 - TOPMARGIN, 7 - BOTTOMMARGIN, 82 - END -END -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog Info -// - -IDD_CARDID_DIALOG DLGINIT -BEGIN - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0030, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0031, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0032, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0033, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0034, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0035, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0036, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0037, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0038, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0039, - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3031, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3131, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3231, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3331, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3431, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3531, "\000" - 0 -END - - -///////////////////////////////////////////////////////////////////////////// -// -// String Table -// - -STRINGTABLE -BEGIN - IDS_ABOUTBOX "&About 9222Wav..." -END - -#endif // English (U.S.) resources -///////////////////////////////////////////////////////////////////////////// - - - -#ifndef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 3 resource. -// -#define _AFX_NO_SPLITTER_RESOURCES -#define _AFX_NO_OLE_RESOURCES -#define _AFX_NO_TRACKER_RESOURCES -#define _AFX_NO_PROPERTY_RESOURCES - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -LANGUAGE 9, 1 -#pragma code_page(1252) -#include "res\My9222Wav.rc2" // non-Microsoft Visual C++ edited resources -#include "afxres.rc" // Standard components -#endif - -///////////////////////////////////////////////////////////////////////////// -#endif // not APSTUDIO_INVOKED - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222DOWave_ReTrigger/9222Wav.sln b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222DOWave_ReTrigger/9222Wav.sln deleted file mode 100644 index e787234..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222DOWave_ReTrigger/9222Wav.sln +++ /dev/null @@ -1,20 +0,0 @@ - -Microsoft Visual Studio Solution File, Format Version 10.00 -# Visual Studio 2008 -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "9222Wav", "9222Wav.vcproj", "{EBDB6610-7CE5-413C-A150-121068BFDB22}" -EndProject -Global - GlobalSection(SolutionConfigurationPlatforms) = preSolution - Debug|x64 = Debug|x64 - Release|x64 = Release|x64 - EndGlobalSection - GlobalSection(ProjectConfigurationPlatforms) = postSolution - {EBDB6610-7CE5-413C-A150-121068BFDB22}.Debug|x64.ActiveCfg = Debug|x64 - {EBDB6610-7CE5-413C-A150-121068BFDB22}.Debug|x64.Build.0 = Debug|x64 - {EBDB6610-7CE5-413C-A150-121068BFDB22}.Release|x64.ActiveCfg = Release|x64 - {EBDB6610-7CE5-413C-A150-121068BFDB22}.Release|x64.Build.0 = Release|x64 - EndGlobalSection - GlobalSection(SolutionProperties) = preSolution - HideSolutionNode = FALSE - EndGlobalSection -EndGlobal diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222DOWave_ReTrigger/9222Wav.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222DOWave_ReTrigger/9222Wav.suo deleted file mode 100644 index 0bac8b2..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222DOWave_ReTrigger/9222Wav.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222DOWave_ReTrigger/9222Wav.vcproj b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222DOWave_ReTrigger/9222Wav.vcproj deleted file mode 100644 index 2b9f053..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222DOWave_ReTrigger/9222Wav.vcproj +++ /dev/null @@ -1,286 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222DOWave_ReTrigger/9222WavDlg.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222DOWave_ReTrigger/9222WavDlg.cpp deleted file mode 100644 index 36c0a62..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222DOWave_ReTrigger/9222WavDlg.cpp +++ /dev/null @@ -1,587 +0,0 @@ - -// 9222WavDlg.cpp : implementation file -// - -#include "stdafx.h" -#include "9222Wav.h" -#include "9222WavDlg.h" -#include "math.h" - -#ifndef M_PI -#define M_PI 3.14159265359 -#endif - -#ifdef _DEBUG -#define new DEBUG_NEW -#endif - -CRect plotRect; - -#define PCI9222_DIO_STATUS_TIMER 1 - -U16 DoBuf[10240]; -BOOLEAN bOutStopped; -ULONG out_count; - -// CAboutDlg dialog used for App About - -class CAboutDlg : public CDialog -{ -public: - CAboutDlg(); - -// Dialog Data - enum { IDD = IDD_ABOUTBOX }; - - protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - -// Implementation -protected: - DECLARE_MESSAGE_MAP() -}; - -CAboutDlg::CAboutDlg() : CDialog(CAboutDlg::IDD) -{ -} - -void CAboutDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); -} - -BEGIN_MESSAGE_MAP(CAboutDlg, CDialog) -END_MESSAGE_MAP() - - -// C9222WavDlg dialog - - -C9222WavDlg::C9222WavDlg(I16 hCard, CWnd* pParent /*=NULL*/) - : CDialog(C9222WavDlg::IDD, pParent) -{ - m_hIcon = AfxGetApp()->LoadIcon(IDR_MAINFRAME); - - m_hCard = hCard; - - OnBrush = OffBrush = NULL; - - n_PlotWidth = -1; - n_PlotHeight = -1; - - min_val = 0x00; - max_val = 0xFFFF; - - m_fSampleRate = 4000.0; // 100KHz - m_dwDISamples = 8000; - m_pDIAddr1 = NULL; - m_pDIAddr2 = NULL; - - m_nTimer = -1; - - m_dwOverrunCnt = 0; - - for (int i=0; i<10240; i++) - DoBuf[i] = (U16)(sin((double)i/1024*M_PI)*0x00007FFF)+0x00008000; - -} - -void C9222WavDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); -} - -BEGIN_MESSAGE_MAP(C9222WavDlg, CDialog) - ON_WM_SYSCOMMAND() - ON_WM_PAINT() - ON_WM_QUERYDRAGICON() - //}}AFX_MSG_MAP - ON_WM_DESTROY() - ON_BN_CLICKED(IDC_BT_START, &C9222WavDlg::OnStart) - ON_BN_CLICKED(IDC_BT_STOP, &C9222WavDlg::OnStop) - ON_WM_TIMER() - ON_WM_VSCROLL() -END_MESSAGE_MAP() - - -// C9222WavDlg message handlers - -BOOL C9222WavDlg::OnInitDialog() -{ - CString strTemp; - - CDialog::OnInitDialog(); - - // Add "About..." menu item to system menu. - - // IDM_ABOUTBOX must be in the system command range. - ASSERT((IDM_ABOUTBOX & 0xFFF0) == IDM_ABOUTBOX); - ASSERT(IDM_ABOUTBOX < 0xF000); - - CMenu* pSysMenu = GetSystemMenu(FALSE); - if (pSysMenu != NULL) - { - BOOL bNameValid; - CString strAboutMenu; - bNameValid = strAboutMenu.LoadString(IDS_ABOUTBOX); - ASSERT(bNameValid); - if (!strAboutMenu.IsEmpty()) - { - pSysMenu->AppendMenu(MF_SEPARATOR); - pSysMenu->AppendMenu(MF_STRING, IDM_ABOUTBOX, strAboutMenu); - } - } - - // Set the icon for this dialog. The framework does this automatically - // when the application's main window is not a dialog - SetIcon(m_hIcon, TRUE); // Set big icon - SetIcon(m_hIcon, FALSE); // Set small icon - - // TODO: Add extra initialization here - x_divider = 5; y_divider = 2; - - OnBrush = CreateSolidBrush( RGB(255,0,0) ); - OffBrush = CreateSolidBrush( RGB(125,0,0) ); - - RedPen.CreatePen( PS_SOLID, 1, RGB(255,0,0)); - GreenPen.CreatePen( PS_SOLID, 1, RGB(0,255,0)); - - if( n_PlotWidth == -1 && n_PlotHeight == -1 ) - { - ((CWnd*)GetDlgItem(IDC_STATIC_DRAW))->GetWindowRect(&plotRect); - ScreenToClient(&plotRect); - - n_PlotWidth = min( plotRect.Width(), 512); - n_PlotHeight = plotRect.Height() - 10; - } - - // set the default SampleRate - SetDlgItemInt( IDC_EDIT_SAMPLE_RATE, (UINT)(m_fSampleRate/1000) ); - - // Set the default DI Sample - SetDlgItemInt( IDC_EDIT_SAMPLE, (UINT)(m_dwDISamples) ); - - - return TRUE; // return TRUE unless you set the focus to a control -} - -void C9222WavDlg::OnSysCommand(UINT nID, LPARAM lParam) -{ - if ((nID & 0xFFF0) == IDM_ABOUTBOX) - { - CAboutDlg dlgAbout; - dlgAbout.DoModal(); - } - else - { - CDialog::OnSysCommand(nID, lParam); - } -} - -// If you add a minimize button to your dialog, you will need the code below -// to draw the icon. For MFC applications using the document/view model, -// this is automatically done for you by the framework. - -void C9222WavDlg::OnPaint() -{ - if (IsIconic()) - { - CPaintDC dc(this); // device context for painting - - SendMessage(WM_ICONERASEBKGND, reinterpret_cast(dc.GetSafeHdc()), 0); - - // Center icon in client rectangle - int cxIcon = GetSystemMetrics(SM_CXICON); - int cyIcon = GetSystemMetrics(SM_CYICON); - CRect rect; - GetClientRect(&rect); - int x = (rect.Width() - cxIcon + 1) / 2; - int y = (rect.Height() - cyIcon + 1) / 2; - - // Draw the icon - dc.DrawIcon(x, y, m_hIcon); - } - else - { - redraw_display_area(); - CDialog::OnPaint(); - } -} - -// The system calls this function to obtain the cursor to display while the user drags -// the minimized window. -HCURSOR C9222WavDlg::OnQueryDragIcon() -{ - return static_cast(m_hIcon); -} - - -void C9222WavDlg::OnDestroy() -{ - U32 count; - - CDialog::OnDestroy(); - - // TODO: Add your message handler code here - if( OnBrush != NULL ) - ::DeleteObject( OnBrush ); - - if( OffBrush != NULL ) - ::DeleteObject( OffBrush ); - - RedPen.DeleteObject(); - GreenPen.DeleteObject(); - - if( m_nTimer != -1 ) - { - KillTimer( m_nTimer ); - m_nTimer = -1; - } - - if( m_pDIAddr1 != NULL ) - { - free( m_pDIAddr1 ); - m_pDIAddr1 = NULL; - } - - if( m_pDIAddr2 != NULL ) - { - free( m_pDIAddr2 ); - m_pDIAddr2 = NULL; - } - - DI_AsyncClear( m_hCard, &count ); - - DO_AsyncClear( m_hCard, &count ); - - -} - -void C9222WavDlg::OnStart() -{ - // TODO: Add your control notification handler code here - U32 dwMemSize, dwDISamples; - void* pMem; - I16 err; - CString strMsg; - - dwDISamples = GetDlgItemInt( IDC_EDIT_SAMPLE ); - - if( dwDISamples != m_dwDISamples ) - { - if( m_pDIAddr1 != NULL ) - { - free( m_pDIAddr1 ); - m_pDIAddr1 = NULL; - } - - if( m_pDIAddr2 != NULL ) - { - free( m_pDIAddr2 ); - m_pDIAddr2 = NULL; - } - - m_dwDISamples = dwDISamples; - } - - - dwMemSize = m_dwDISamples * sizeof(U16); - pMem = malloc( dwMemSize ); - if( pMem == NULL ) - { - AfxMessageBox( TEXT("Memory allocated failed") ); - return; - } - else - { - m_pDIAddr1 = (U16*) pMem; - memset( m_pDIAddr1, '\0', dwMemSize ); - } - - pMem = malloc( dwMemSize ); - if( pMem == NULL ) - { - AfxMessageBox( TEXT("Memory allocated failed") ); - return; - } - else - { - m_pDIAddr2 = (U16*) pMem; - memset( m_pDIAddr2, '\0', dwMemSize ); - } - - if ((err=DO_9222_Config(m_hCard, P922x_DO_CONVSRC_INT, (P922x_DO_TRGMOD_POST|P922x_DO_TRGSRC_GPI0|P922x_DO_EnReTigger), 3, 0, 0, 1)) != NoError) - { - strMsg.Format( TEXT("DO_9222_Config Error = %d") ,err ); - AfxMessageBox( strMsg ); - return; - } - - if ((err = DO_ContBufferSetup(m_hCard, DoBuf, 5120/*10240*/, &m_wDOBufferId)) != NoError) - { - strMsg.Format( TEXT("DO_ContBufferSetup Error = %d") ,err ); - AfxMessageBox( strMsg ); - return; - } - - if ((err=DI_9222_Config(m_hCard, P922x_DI_CONVSRC_INT, (P922x_DI_TRGMOD_POST|P922x_DI_TRGSRC_SOFT), 0, 1)) != NoError) - { - strMsg.Format( TEXT("DI_9222_Config Error = %d") ,err ); - AfxMessageBox( strMsg ); - return; - } - - if ((err=DI_AsyncDblBufferMode (m_hCard, 1)) != NoError) - { - strMsg.Format( TEXT("DI_AsyncDblBufferMode Error = %d\n"), err ); - AfxMessageBox( strMsg ); - return; - } - - /*Setup Buffer for DI DMA Transfer*/ - if ((err=DI_ContBufferSetup(m_hCard, m_pDIAddr1, m_dwDISamples, &m_wDIBufId1)) != NoError) - { - strMsg.Format( TEXT("DI_ContBufferSetup Error = %d") ,err ); - AfxMessageBox( strMsg ); - return; - } - - /*Setup Buffer for DI DMA Transfer*/ - if ((err=DI_ContBufferSetup(m_hCard, m_pDIAddr2, m_dwDISamples, &m_wDIBufId2)) != NoError) - { - strMsg.Format( TEXT("DI_ContBufferSetup Error = %d") ,err ); - AfxMessageBox( strMsg ); - return; - } - - // clear display area - redraw_display_area(); - m_bView = 0; - - if ((err = DI_ContReadPort(m_hCard, 0, &m_wDIBufId1, m_dwDISamples, m_fSampleRate, ASYNCH_OP)) != NoError) - { - DI_ContBufferReset(m_hCard); - strMsg.Format( TEXT("DI_ContReadPort Error = %d\n"), err); - AfxMessageBox( strMsg ); - return; - } - - if ((err = DO_ContWritePort(m_hCard, 0, &m_wDOBufferId, 5120/*10240*/, 1, m_fSampleRate, ASYNCH_OP)) != NoError) - { - DO_ContBufferReset(m_hCard); - strMsg.Format( TEXT("DO_ContWritePort Error = %d") ,err ); - AfxMessageBox( strMsg ); - return; - } - - if( m_nTimer == -1 ) - { - m_nTimer = SetTimer( PCI9222_DIO_STATUS_TIMER, 20, NULL ); - } - - GetDlgItem( IDC_BT_START )->EnableWindow( FALSE ); - GetDlgItem( IDC_BT_STOP )->EnableWindow( TRUE ); - -} - -void C9222WavDlg::OnStop() -{ - // TODO: Add your control notification handler code here - U32 count; - - DI_AsyncClear(m_hCard, &count); - DI_ContBufferReset(m_hCard); - - DO_AsyncClear(m_hCard, &count); - DO_ContBufferReset( m_hCard ); - - GetDlgItem( IDC_BT_START )->EnableWindow( TRUE ); - GetDlgItem( IDC_BT_STOP )->EnableWindow( FALSE); -} - -void C9222WavDlg::OnTimer(UINT_PTR nIDEvent) -{ - // TODO: Add your message handler code here and/or call default - BOOLEAN HalfReady; - U16 OverrunFlag; - I16 err; - - err = DI_AsyncDblBufferHalfReady(m_hCard, &HalfReady); - - if( HalfReady ) // half-buffer ready - { - if(m_bView == 0) - { - display_buffer_data( m_pDIAddr1 ); - m_bView = 1; - } - else - { - display_buffer_data( m_pDIAddr2 ); - m_bView= 0; - } - - DI_AsyncDblBufferHandled( m_hCard ); - DI_AsyncDblBufferOverrun( m_hCard, 0, &OverrunFlag); - - if(OverrunFlag) - { - m_dwOverrunCnt++; - DI_AsyncDblBufferOverrun( m_hCard, 1, NULL ); -// SetDlgItemInt( IDC_EDIT_OVERRUN, (UINT)(m_dwOverrunCnt) ); - } - - } - - - CDialog::OnTimer(nIDEvent); -} - - -void C9222WavDlg::display_buffer_data(U16* pBuf) -{ - CClientDC dc_plot(this); - int nDraw_Bottom; - - int newY, oldY = -1; - int newX, oldX = -1; - U32 index; - U16 di_data; - - // redraw the background - dc_plot.FillSolidRect( plotRect, RGB(0,0,0) ); - - dc_plot.SelectObject( &GreenPen ); - nDraw_Bottom = ( plotRect.bottom - 5 ); - - for( index=0; index 2000000.0 ) m_fSampleRate = 2000000.0; - break; - case SB_LINEDOWN: - m_fSampleRate -= 50000; - if (m_fSampleRate < 50000 ) m_fSampleRate = 50000; - break; - } - - SetDlgItemInt( IDC_EDIT_SAMPLE_RATE, (UINT)(m_fSampleRate/1000) ); - - CDialog::OnVScroll(nSBCode, nPos, pScrollBar); -} diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222DOWave_ReTrigger/9222WavDlg.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222DOWave_ReTrigger/9222WavDlg.h deleted file mode 100644 index 3c366e7..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222DOWave_ReTrigger/9222WavDlg.h +++ /dev/null @@ -1,65 +0,0 @@ - -// 9222WavDlg.h : header file -// -#include "Dask64.h" - -#pragma once - - -// C9222WavDlg dialog -class C9222WavDlg : public CDialog -{ -// Construction -public: - C9222WavDlg(I16 hCard, CWnd* pParent = NULL); // standard constructor - -// Dialog Data - enum { IDD = IDD_MY9222WAV_DIALOG }; - - protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - - -// Implementation -protected: - HICON m_hIcon; - I16 m_hCard; - UINT_PTR m_nTimer; - U16* m_pDIAddr1; - U16* m_pDIAddr2; - U32 m_dwDISamples; - HBRUSH OnBrush; - HBRUSH OffBrush; - CPen RedPen; - CPen GreenPen; - DWORD max_val; - DWORD min_val; - int y_divider; - int x_divider; - int m_DisplayScale; - double m_fSampleRate; - U16 m_wDOBufferId; - U16 m_wDIBufId1; - U16 m_wDIBufId2; - U8 m_bView; - U32 m_dwOverrunCnt; - - // Generated message map functions - virtual BOOL OnInitDialog(); - afx_msg void OnSysCommand(UINT nID, LPARAM lParam); - afx_msg void OnPaint(); - afx_msg HCURSOR OnQueryDragIcon(); - DECLARE_MESSAGE_MAP() -public: - afx_msg void OnDestroy(); - afx_msg void OnStart(); - afx_msg void OnStop(); - afx_msg void OnTimer(UINT_PTR nIDEvent); - void display_buffer_data(U16* pBuf); - void redraw_display_area(void); - afx_msg void OnVScroll(UINT nSBCode, UINT nPos, CScrollBar* pScrollBar); - -private: - int n_PlotHeight; - int n_PlotWidth; -}; diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222DOWave_ReTrigger/CardIDDlg.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222DOWave_ReTrigger/CardIDDlg.cpp deleted file mode 100644 index bfc053b..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222DOWave_ReTrigger/CardIDDlg.cpp +++ /dev/null @@ -1,67 +0,0 @@ -// CardIDDlg.cpp : implementation file -// - -#include "stdafx.h" -#include "9222Wav.h" -#include "CardIDDlg.h" - - -// CCardIDDlg dialog - -IMPLEMENT_DYNAMIC(CCardIDDlg, CDialog) - -CCardIDDlg::CCardIDDlg(int nCardIdx, CWnd* pParent /*=NULL*/) - : CDialog(CCardIDDlg::IDD, pParent) -{ - m_nCardIdx = nCardIdx; -} - -CCardIDDlg::~CCardIDDlg() -{ -} - -void CCardIDDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); - DDX_Control(pDX, IDC_COMBO_CARDID, m_cbCardID); -} - - -BEGIN_MESSAGE_MAP(CCardIDDlg, CDialog) -// ON_CBN_SELCHANGE(IDC_COMBO_CARDID, &CCardIDDlg::OnCbnSelchangeComboCardid) -ON_BN_CLICKED(IDOK, &CCardIDDlg::OnBnClickedOk) -//ON_WM_CTLCOLOR() -END_MESSAGE_MAP() - - -// CCardIDDlg message handlers - - -void CCardIDDlg::OnBnClickedOk() -{ - // TODO: Add your control notification handler code here - -// UpdateData(TRUE); - m_nCardIdx = m_cbCardID.GetCurSel(); - - OnOK(); -} - -BOOL CCardIDDlg::OnInitDialog() -{ - CDialog::OnInitDialog(); - - // TODO: Add extra initialization here - m_cbCardID.SetCurSel( m_nCardIdx ); - - return TRUE; // return TRUE unless you set the focus to a control - // EXCEPTION: OCX Property Pages should return FALSE -} - -// the function to get the selected CardID -int CCardIDDlg::GetCardID(void) -{ - return m_nCardIdx; -} - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222DOWave_ReTrigger/CardIDDlg.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222DOWave_ReTrigger/CardIDDlg.h deleted file mode 100644 index 54628ea..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222DOWave_ReTrigger/CardIDDlg.h +++ /dev/null @@ -1,33 +0,0 @@ -#pragma once -#include "afxwin.h" - - -// CCardIDDlg dialog - -class CCardIDDlg : public CDialog -{ - DECLARE_DYNAMIC(CCardIDDlg) - -public: - CCardIDDlg(int nCardIdx, CWnd* pParent = NULL); // standard constructor - virtual ~CCardIDDlg(); - -// Dialog Data - enum { IDD = IDD_CARDID_DIALOG }; - -protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - - DECLARE_MESSAGE_MAP() -public: -// afx_msg void OnCbnSelchangeComboCardid(); - afx_msg void OnBnClickedOk(); - // the setting of CardID ComboBox - int m_nCardIdx; - virtual BOOL OnInitDialog(); - // the control of CardID ComboBox - CComboBox m_cbCardID; - // the function to get the selected CardID - int GetCardID(void); -// afx_msg HBRUSH OnCtlColor(CDC* pDC, CWnd* pWnd, UINT nCtlColor); -}; diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222DOWave_ReTrigger/ReadMe.txt b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222DOWave_ReTrigger/ReadMe.txt deleted file mode 100644 index 1eb0f35..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222DOWave_ReTrigger/ReadMe.txt +++ /dev/null @@ -1,93 +0,0 @@ -================================================================================ - MICROSOFT FOUNDATION CLASS LIBRARY : 9222Wav Project Overview -=============================================================================== - -The application wizard has created this 9222Wav application for -you. This application not only demonstrates the basics of using the Microsoft -Foundation Classes but is also a starting point for writing your application. - -This file contains a summary of what you will find in each of the files that -make up your 9222Wav application. - -9222Wav.vcproj - This is the main project file for VC++ projects generated using an application wizard. - It contains information about the version of Visual C++ that generated the file, and - information about the platforms, configurations, and project features selected with the - application wizard. - -9222Wav.h - This is the main header file for the application. It includes other - project specific headers (including Resource.h) and declares the - C9222WavApp application class. - -9222Wav.cpp - This is the main application source file that contains the application - class C9222WavApp. - -9222Wav.rc - This is a listing of all of the Microsoft Windows resources that the - program uses. It includes the icons, bitmaps, and cursors that are stored - in the RES subdirectory. This file can be directly edited in Microsoft - Visual C++. Your project resources are in 1033. - -res\9222Wav.ico - This is an icon file, which is used as the application's icon. This - icon is included by the main resource file 9222Wav.rc. - -res\My9222Wav.rc2 - This file contains resources that are not edited by Microsoft - Visual C++. You should place all resources not editable by - the resource editor in this file. - - -///////////////////////////////////////////////////////////////////////////// - -The application wizard creates one dialog class: - -9222WavDlg.h, 9222WavDlg.cpp - the dialog - These files contain your C9222WavDlg class. This class defines - the behavior of your application's main dialog. The dialog's template is - in 9222Wav.rc, which can be edited in Microsoft Visual C++. - - -///////////////////////////////////////////////////////////////////////////// - -Other Features: - -ActiveX Controls - The application includes support to use ActiveX controls. - -///////////////////////////////////////////////////////////////////////////// - -Other standard files: - -StdAfx.h, StdAfx.cpp - These files are used to build a precompiled header (PCH) file - named 9222Wav.pch and a precompiled types file named StdAfx.obj. - -Resource.h - This is the standard header file, which defines new resource IDs. - Microsoft Visual C++ reads and updates this file. - -9222Wav.manifest - Application manifest files are used by Windows XP to describe an applications - dependency on specific versions of Side-by-Side assemblies. The loader uses this - information to load the appropriate assembly from the assembly cache or private - from the application. The Application manifest maybe included for redistribution - as an external .manifest file that is installed in the same folder as the application - executable or it may be included in the executable in the form of a resource. -///////////////////////////////////////////////////////////////////////////// - -Other notes: - -The application wizard uses "TODO:" to indicate parts of the source code you -should add to or customize. - -If your application uses MFC in a shared DLL, you will need -to redistribute the MFC DLLs. If your application is in a language -other than the operating system's locale, you will also have to -redistribute the corresponding localized resources MFC90XXX.DLL. -For more information on both of these topics, please see the section on -redistributing Visual C++ applications in MSDN documentation. - -///////////////////////////////////////////////////////////////////////////// diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222DOWave_ReTrigger/res/9222Wav.ico b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222DOWave_ReTrigger/res/9222Wav.ico deleted file mode 100644 index d56fbcd..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222DOWave_ReTrigger/res/9222Wav.ico and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222DOWave_ReTrigger/res/My9222Wav.rc2 b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222DOWave_ReTrigger/res/My9222Wav.rc2 deleted file mode 100644 index 440d4a5..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222DOWave_ReTrigger/res/My9222Wav.rc2 +++ /dev/null @@ -1,13 +0,0 @@ -// -// My7200Wav.RC2 - resources Microsoft Visual C++ does not edit directly -// - -#ifdef APSTUDIO_INVOKED -#error this file is not editable by Microsoft Visual C++ -#endif //APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// Add manually edited resources here... - -///////////////////////////////////////////////////////////////////////////// diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222DOWave_ReTrigger/resource.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222DOWave_ReTrigger/resource.h deleted file mode 100644 index 4af9b16..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222DOWave_ReTrigger/resource.h +++ /dev/null @@ -1,29 +0,0 @@ -//{{NO_DEPENDENCIES}} -// Microsoft Visual C++ generated include file. -// Used by 9222Wav.rc -// -#define IDM_ABOUTBOX 0x0010 -#define IDD_ABOUTBOX 100 -#define IDS_ABOUTBOX 101 -#define IDD_MY9222WAV_DIALOG 102 -#define IDR_MAINFRAME 128 -#define IDD_CARDID_DIALOG 129 -#define IDC_STATIC_DRAW 1000 -#define IDC_EDIT_SAMPLE 1001 -#define IDC_EDIT_SAMPLE_RATE 1003 -#define IDC_SCROLLBAR_RATE 1006 -#define IDC_COMBO_CARDID 1007 -#define IDC_BT_START 1008 -#define IDC_BT_STOP 1009 -#define IDC_STATIC_01 1014 - -// Next default values for new objects -// -#ifdef APSTUDIO_INVOKED -#ifndef APSTUDIO_READONLY_SYMBOLS -#define _APS_NEXT_RESOURCE_VALUE 131 -#define _APS_NEXT_COMMAND_VALUE 32771 -#define _APS_NEXT_CONTROL_VALUE 1000 -#define _APS_NEXT_SYMED_VALUE 101 -#endif -#endif diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222DOWave_ReTrigger/stdafx.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222DOWave_ReTrigger/stdafx.cpp deleted file mode 100644 index b5184d9..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222DOWave_ReTrigger/stdafx.cpp +++ /dev/null @@ -1,8 +0,0 @@ - -// stdafx.cpp : source file that includes just the standard includes -// 7200Wav.pch will be the pre-compiled header -// stdafx.obj will contain the pre-compiled type information - -#include "stdafx.h" - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222DOWave_ReTrigger/stdafx.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222DOWave_ReTrigger/stdafx.h deleted file mode 100644 index 12123e2..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222DOWave_ReTrigger/stdafx.h +++ /dev/null @@ -1,60 +0,0 @@ - -// stdafx.h : include file for standard system include files, -// or project specific include files that are used frequently, -// but are changed infrequently - -#pragma once - -#ifndef _SECURE_ATL -#define _SECURE_ATL 1 -#endif - -#ifndef VC_EXTRALEAN -#define VC_EXTRALEAN // Exclude rarely-used stuff from Windows headers -#endif - -#include "targetver.h" - -#define _ATL_CSTRING_EXPLICIT_CONSTRUCTORS // some CString constructors will be explicit - -// turns off MFC's hiding of some common and often safely ignored warning messages -#define _AFX_ALL_WARNINGS - -#include // MFC core and standard components -#include // MFC extensions - - -#include // MFC Automation classes - - - -#ifndef _AFX_NO_OLE_SUPPORT -#include // MFC support for Internet Explorer 4 Common Controls -#endif -#ifndef _AFX_NO_AFXCMN_SUPPORT -#include // MFC support for Windows Common Controls -#endif // _AFX_NO_AFXCMN_SUPPORT - -#include // MFC support for ribbons and control bars - - - - - - - - - -#ifdef _UNICODE -#if defined _M_IX86 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='x86' publicKeyToken='6595b64144ccf1df' language='*'\"") -#elif defined _M_IA64 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='ia64' publicKeyToken='6595b64144ccf1df' language='*'\"") -#elif defined _M_X64 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='amd64' publicKeyToken='6595b64144ccf1df' language='*'\"") -#else -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='*' publicKeyToken='6595b64144ccf1df' language='*'\"") -#endif -#endif - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222DOWave_ReTrigger/targetver.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222DOWave_ReTrigger/targetver.h deleted file mode 100644 index 11730d5..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222DOWave_ReTrigger/targetver.h +++ /dev/null @@ -1,26 +0,0 @@ - -#pragma once - -// The following macros define the minimum required platform. The minimum required platform -// is the earliest version of Windows, Internet Explorer etc. that has the necessary features to run -// your application. The macros work by enabling all features available on platform versions up to and -// including the version specified. - -// Modify the following defines if you have to target a platform prior to the ones specified below. -// Refer to MSDN for the latest info on corresponding values for different platforms. -#ifndef WINVER // Specifies that the minimum required platform is Windows Vista. -#define WINVER 0x0600 // Change this to the appropriate value to target other versions of Windows. -#endif - -#ifndef _WIN32_WINNT // Specifies that the minimum required platform is Windows Vista. -#define _WIN32_WINNT 0x0600 // Change this to the appropriate value to target other versions of Windows. -#endif - -#ifndef _WIN32_WINDOWS // Specifies that the minimum required platform is Windows 98. -#define _WIN32_WINDOWS 0x0410 // Change this to the appropriate value to target Windows Me or later. -#endif - -#ifndef _WIN32_IE // Specifies that the minimum required platform is Internet Explorer 7.0. -#define _WIN32_IE 0x0700 // Change this to the appropriate value to target other versions of IE. -#endif - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222GPTC/CardIDDlg.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222GPTC/CardIDDlg.cpp deleted file mode 100644 index d1f6457..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222GPTC/CardIDDlg.cpp +++ /dev/null @@ -1,67 +0,0 @@ -// CardIDDlg.cpp : implementation file -// - -#include "stdafx.h" -#include "SDK9222GPTC.h" -#include "CardIDDlg.h" - - -// CCardIDDlg dialog - -IMPLEMENT_DYNAMIC(CCardIDDlg, CDialog) - -CCardIDDlg::CCardIDDlg(int nCardIdx, CWnd* pParent /*=NULL*/) - : CDialog(CCardIDDlg::IDD, pParent) -{ - m_nCardIdx = nCardIdx; -} - -CCardIDDlg::~CCardIDDlg() -{ -} - -void CCardIDDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); - DDX_Control(pDX, IDC_COMBO_CARDID, m_cbCardID); -} - - -BEGIN_MESSAGE_MAP(CCardIDDlg, CDialog) -// ON_CBN_SELCHANGE(IDC_COMBO_CARDID, &CCardIDDlg::OnCbnSelchangeComboCardid) -ON_BN_CLICKED(IDOK, &CCardIDDlg::OnBnClickedOk) -//ON_WM_CTLCOLOR() -END_MESSAGE_MAP() - - -// CCardIDDlg message handlers - - -void CCardIDDlg::OnBnClickedOk() -{ - // TODO: Add your control notification handler code here - -// UpdateData(TRUE); - m_nCardIdx = m_cbCardID.GetCurSel(); - - OnOK(); -} - -BOOL CCardIDDlg::OnInitDialog() -{ - CDialog::OnInitDialog(); - - // TODO: Add extra initialization here - m_cbCardID.SetCurSel( m_nCardIdx ); - - return TRUE; // return TRUE unless you set the focus to a control - // EXCEPTION: OCX Property Pages should return FALSE -} - -// the function to get the selected CardID -int CCardIDDlg::GetCardID(void) -{ - return m_nCardIdx; -} - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222GPTC/CardIDDlg.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222GPTC/CardIDDlg.h deleted file mode 100644 index 54628ea..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222GPTC/CardIDDlg.h +++ /dev/null @@ -1,33 +0,0 @@ -#pragma once -#include "afxwin.h" - - -// CCardIDDlg dialog - -class CCardIDDlg : public CDialog -{ - DECLARE_DYNAMIC(CCardIDDlg) - -public: - CCardIDDlg(int nCardIdx, CWnd* pParent = NULL); // standard constructor - virtual ~CCardIDDlg(); - -// Dialog Data - enum { IDD = IDD_CARDID_DIALOG }; - -protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - - DECLARE_MESSAGE_MAP() -public: -// afx_msg void OnCbnSelchangeComboCardid(); - afx_msg void OnBnClickedOk(); - // the setting of CardID ComboBox - int m_nCardIdx; - virtual BOOL OnInitDialog(); - // the control of CardID ComboBox - CComboBox m_cbCardID; - // the function to get the selected CardID - int GetCardID(void); -// afx_msg HBRUSH OnCtlColor(CDC* pDC, CWnd* pWnd, UINT nCtlColor); -}; diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222GPTC/ReadMe.txt b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222GPTC/ReadMe.txt deleted file mode 100644 index 8a8904a..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222GPTC/ReadMe.txt +++ /dev/null @@ -1,93 +0,0 @@ -================================================================================ - MICROSOFT FOUNDATION CLASS LIBRARY : SDK9222GPTC Project Overview -=============================================================================== - -The application wizard has created this SDK9222GPTC application for -you. This application not only demonstrates the basics of using the Microsoft -Foundation Classes but is also a starting point for writing your application. - -This file contains a summary of what you will find in each of the files that -make up your SDK9222GPTC application. - -SDK9222GPTC.vcproj - This is the main project file for VC++ projects generated using an application wizard. - It contains information about the version of Visual C++ that generated the file, and - information about the platforms, configurations, and project features selected with the - application wizard. - -SDK9222GPTC.h - This is the main header file for the application. It includes other - project specific headers (including Resource.h) and declares the - CSDK9222GPTCApp application class. - -SDK9222GPTC.cpp - This is the main application source file that contains the application - class CSDK9222GPTCApp. - -SDK9222GPTC.rc - This is a listing of all of the Microsoft Windows resources that the - program uses. It includes the icons, bitmaps, and cursors that are stored - in the RES subdirectory. This file can be directly edited in Microsoft - Visual C++. Your project resources are in 1033. - -res\SDK9222GPTC.ico - This is an icon file, which is used as the application's icon. This - icon is included by the main resource file SDK9222GPTC.rc. - -res\SDK9222GPTC.rc2 - This file contains resources that are not edited by Microsoft - Visual C++. You should place all resources not editable by - the resource editor in this file. - - -///////////////////////////////////////////////////////////////////////////// - -The application wizard creates one dialog class: - -SDK9222GPTCDlg.h, SDK9222GPTCDlg.cpp - the dialog - These files contain your CSDK9222GPTCDlg class. This class defines - the behavior of your application's main dialog. The dialog's template is - in SDK9222GPTC.rc, which can be edited in Microsoft Visual C++. - - -///////////////////////////////////////////////////////////////////////////// - -Other Features: - -ActiveX Controls - The application includes support to use ActiveX controls. - -///////////////////////////////////////////////////////////////////////////// - -Other standard files: - -StdAfx.h, StdAfx.cpp - These files are used to build a precompiled header (PCH) file - named SDK9222GPTC.pch and a precompiled types file named StdAfx.obj. - -Resource.h - This is the standard header file, which defines new resource IDs. - Microsoft Visual C++ reads and updates this file. - -SDK9222GPTC.manifest - Application manifest files are used by Windows XP to describe an applications - dependency on specific versions of Side-by-Side assemblies. The loader uses this - information to load the appropriate assembly from the assembly cache or private - from the application. The Application manifest maybe included for redistribution - as an external .manifest file that is installed in the same folder as the application - executable or it may be included in the executable in the form of a resource. -///////////////////////////////////////////////////////////////////////////// - -Other notes: - -The application wizard uses "TODO:" to indicate parts of the source code you -should add to or customize. - -If your application uses MFC in a shared DLL, you will need -to redistribute the MFC DLLs. If your application is in a language -other than the operating system's locale, you will also have to -redistribute the corresponding localized resources MFC90XXX.DLL. -For more information on both of these topics, please see the section on -redistributing Visual C++ applications in MSDN documentation. - -///////////////////////////////////////////////////////////////////////////// diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222GPTC/SDK9222GPTC.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222GPTC/SDK9222GPTC.cpp deleted file mode 100644 index 92f9d1a..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222GPTC/SDK9222GPTC.cpp +++ /dev/null @@ -1,109 +0,0 @@ - -// SDK9222GPTC.cpp : Defines the class behaviors for the application. -// - -#include "stdafx.h" -#include "SDK9222GPTC.h" -#include "SDK9222GPTCDlg.h" -#include "CardIDDlg.h" - -#ifdef _DEBUG -#define new DEBUG_NEW -#endif - - -// CSDK9222GPTCApp - -BEGIN_MESSAGE_MAP(CSDK9222GPTCApp, CWinAppEx) - ON_COMMAND(ID_HELP, &CWinApp::OnHelp) -END_MESSAGE_MAP() - - -// CSDK9222GPTCApp construction - -CSDK9222GPTCApp::CSDK9222GPTCApp() -{ - // TODO: add construction code here, - // Place all significant initialization in InitInstance -} - - -// The one and only CSDK9222GPTCApp object - -CSDK9222GPTCApp theApp; - - -// CSDK9222GPTCApp initialization - -BOOL CSDK9222GPTCApp::InitInstance() -{ - int nCardID = 0; - I16 hCard; - CString strTemp; - INT_PTR nResponse; - - // InitCommonControlsEx() is required on Windows XP if an application - // manifest specifies use of ComCtl32.dll version 6 or later to enable - // visual styles. Otherwise, any window creation will fail. - INITCOMMONCONTROLSEX InitCtrls; - InitCtrls.dwSize = sizeof(InitCtrls); - // Set this to include all the common control classes you want to use - // in your application. - InitCtrls.dwICC = ICC_WIN95_CLASSES; - InitCommonControlsEx(&InitCtrls); - - CWinAppEx::InitInstance(); - - AfxEnableControlContainer(); - - // Standard initialization - // If you are not using these features and wish to reduce the size - // of your final executable, you should remove from the following - // the specific initialization routines you do not need - // Change the registry key under which our settings are stored - // TODO: You should modify this string to be something appropriate - // such as the name of your company or organization - SetRegistryKey(_T("Local AppWizard-Generated Applications")); - - CCardIDDlg CardDlg( nCardID ); - - nResponse = CardDlg.DoModal(); - if (nResponse == IDOK) - { - nCardID = CardDlg.GetCardID(); - - if ((hCard=Register_Card(PCI_9222, nCardID)) < 0) - { - strTemp.Format( TEXT("Register_Card Error = %d"), hCard); - AfxMessageBox( strTemp ); - } - else - { - CSDK9222GPTCDlg dlg(hCard); - m_pMainWnd = &dlg; - nResponse = dlg.DoModal(); - if (nResponse == IDOK) - { - // TODO: Place code here to handle when the dialog is - // dismissed with OK - } - else if (nResponse == IDCANCEL) - { - // TODO: Place code here to handle when the dialog is - // dismissed with Cancel - } - - if (hCard >= 0) Release_Card(hCard); - } - - } - else if (nResponse == IDCANCEL) - { - // TODO: Place code here to handle when the dialog is - // dismissed with Cancel - } - - // Since the dialog has been closed, return FALSE so that we exit the - // application, rather than start the application's message pump. - return FALSE; -} diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222GPTC/SDK9222GPTC.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222GPTC/SDK9222GPTC.h deleted file mode 100644 index f3fd5da..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222GPTC/SDK9222GPTC.h +++ /dev/null @@ -1,32 +0,0 @@ - -// SDK9222GPTC.h : main header file for the PROJECT_NAME application -// - -#pragma once - -#ifndef __AFXWIN_H__ - #error "include 'stdafx.h' before including this file for PCH" -#endif - -#include "resource.h" // main symbols - - -// CSDK9222GPTCApp: -// See SDK9222GPTC.cpp for the implementation of this class -// - -class CSDK9222GPTCApp : public CWinAppEx -{ -public: - CSDK9222GPTCApp(); - -// Overrides - public: - virtual BOOL InitInstance(); - -// Implementation - - DECLARE_MESSAGE_MAP() -}; - -extern CSDK9222GPTCApp theApp; \ No newline at end of file diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222GPTC/SDK9222GPTC.rc b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222GPTC/SDK9222GPTC.rc deleted file mode 100644 index ada8c50..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222GPTC/SDK9222GPTC.rc +++ /dev/null @@ -1,373 +0,0 @@ -// Microsoft Visual C++ generated resource script. -// -#include "resource.h" - -#define APSTUDIO_READONLY_SYMBOLS -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 2 resource. -// -#ifndef APSTUDIO_INVOKED -#include "targetver.h" -#endif -#include "afxres.h" - -///////////////////////////////////////////////////////////////////////////// -#undef APSTUDIO_READONLY_SYMBOLS - -///////////////////////////////////////////////////////////////////////////// -// Chinese (Taiwan) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_CHT) -#ifdef _WIN32 -LANGUAGE LANG_CHINESE, SUBLANG_CHINESE_TRADITIONAL -#pragma code_page(950) -#endif //_WIN32 - -#ifdef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// TEXTINCLUDE -// - -1 TEXTINCLUDE -BEGIN - "resource.h\0" -END - -2 TEXTINCLUDE -BEGIN - "#ifndef APSTUDIO_INVOKED\r\n" - "#include ""targetver.h""\r\n" - "#endif\r\n" - "#include ""afxres.h""\r\n" - "\0" -END - -3 TEXTINCLUDE -BEGIN - "#define _AFX_NO_SPLITTER_RESOURCES\r\n" - "#define _AFX_NO_OLE_RESOURCES\r\n" - "#define _AFX_NO_TRACKER_RESOURCES\r\n" - "#define _AFX_NO_PROPERTY_RESOURCES\r\n" - "\r\n" - "#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)\r\n" - "LANGUAGE 9, 1\r\n" - "#pragma code_page(1252)\r\n" - "#include ""res\\SDK9222GPTC.rc2"" // non-Microsoft Visual C++ edited resources\r\n" - "#include ""afxres.rc"" // Standard components\r\n" - "#endif\r\n" - "\0" -END - -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// Icon -// - -// Icon with lowest ID value placed first to ensure application icon -// remains consistent on all systems. -IDR_MAINFRAME ICON "res\\SDK9222GPTC.ico" - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog -// - -IDD_CARDID_DIALOG DIALOGEX 0, 0, 172, 103 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "Card ID" -FONT 8, "MS Shell Dlg", 400, 0, 0x1 -BEGIN - COMBOBOX IDC_COMBO_CARDID,75,24,71,126,CBS_DROPDOWN | WS_VSCROLL | WS_TABSTOP - LTEXT "Card Number",IDC_STATIC_01,21,25,46,12 - PUSHBUTTON "OK",IDOK,23,61,58,19 - PUSHBUTTON "CANCEL",IDCANCEL,87,61,58,19 -END - - -///////////////////////////////////////////////////////////////////////////// -// -// DESIGNINFO -// - -#ifdef APSTUDIO_INVOKED -GUIDELINES DESIGNINFO -BEGIN - IDD_CARDID_DIALOG, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 165 - TOPMARGIN, 7 - BOTTOMMARGIN, 96 - END -END -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog Info -// - -IDD_CARDID_DIALOG DLGINIT -BEGIN - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0030, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0031, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0032, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0033, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0034, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0035, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0036, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0037, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0038, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0039, - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3031, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3131, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3231, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3331, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3431, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3531, "\000" - 0 -END - -#endif // Chinese (Taiwan) resources -///////////////////////////////////////////////////////////////////////////// - - -///////////////////////////////////////////////////////////////////////////// -// English (U.S.) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -#ifdef _WIN32 -LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US -#pragma code_page(1252) -#endif //_WIN32 - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog -// - -IDD_ABOUTBOX DIALOGEX 0, 0, 170, 62 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "About SDK9222GPTC" -FONT 8, "MS Shell Dlg", 0, 0, 0x1 -BEGIN - ICON IDR_MAINFRAME,IDC_STATIC,14,14,21,20 - LTEXT "SDK9222GPTC, Version 1.0",IDC_STATIC,42,14,114,8,SS_NOPREFIX - LTEXT "Copyright (C) 2010",IDC_STATIC,42,26,114,8 - DEFPUSHBUTTON "OK",IDOK,113,41,50,14,WS_GROUP -END - -IDD_SDK9222GPTC_DIALOG DIALOGEX 0, 0, 418, 309 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU -EXSTYLE WS_EX_APPWINDOW -CAPTION "PCI-9222 General Purpuse Timer Counter" -FONT 8, "MS Shell Dlg", 0, 0, 0x1 -BEGIN - GROUPBOX "",IDC_STATIC,7,46,190,112 - GROUPBOX "",IDC_STATIC,208,46,190,112 - GROUPBOX "",IDC_STATIC,7,181,190,112 - GROUPBOX "",IDC_STATIC,208,181,190,112 - CONTROL "Simple Gated Event Count Mode",IDC_RADIO_MODE0,"Button",BS_AUTORADIOBUTTON | WS_GROUP,7,33,188,15 - CONTROL "Pulse Measurement Mode",IDC_RADIO_MODE1,"Button",BS_AUTORADIOBUTTON,208,33,188,15 - CONTROL "Single Pulse Generation Mode",IDC_RADIO_MODE2,"Button",BS_AUTORADIOBUTTON,7,166,188,15 - CONTROL "Pulse Train Generation Mode",IDC_RADIO_MODE3,"Button",BS_AUTORADIOBUTTON,209,166,188,15 - PUSHBUTTON "Start",IDC_BT_MODE0,130,132,57,21 - LTEXT "Initial Count :",IDC_STATIC,18,64,48,11 - EDITTEXT IDC_EDIT_INIT_CNT0,91,61,72,15,ES_AUTOHSCROLL | ES_READONLY - LTEXT "Current Status :",IDC_STATIC,18,82,57,11 - EDITTEXT IDC_EDIT_STATUS0,91,83,72,15,ES_AUTOHSCROLL | ES_READONLY - COMBOBOX IDC_COMBO_MODE1,224,64,137,53,CBS_DROPDOWN | WS_VSCROLL | WS_TABSTOP - LTEXT "Select the GPTC :",IDC_STATIC,7,7,61,12 - COMBOBOX IDC_COMBO_GPTC,76,7,97,37,CBS_DROPDOWN | CBS_SORT | WS_VSCROLL | WS_TABSTOP - LTEXT "Measure pulse period of a pulse from GPTC/GTAED pin.",IDC_STATIC_MODE1,217,106,171,19 - LTEXT "Pulse Period: sec.",IDC_STATIC_RESULT01,217,88,171,16 - COMBOBOX IDC_COMBO_MODE2,21,198,137,53,CBS_DROPDOWN | WS_VSCROLL | WS_TABSTOP - LTEXT "Pulse Period: sec.",IDC_STATIC_RESULT2,18,221,171,18 - LTEXT "Generate pulse to GPTC out pin while GATED pin is high.",IDC_STATIC_MODE2,18,244,171,20 - COMBOBOX IDC_COMBO_MODE3,219,198,171,53,CBS_DROPDOWN | WS_VSCROLL | WS_TABSTOP - LTEXT "Generate pulse train to GPTC/OUT pin while GATED pin is high.",IDC_STATIC_MODE3,218,244,171,20 - LTEXT "Pulse Period: sec.",IDC_STATIC_RESULT3,217,221,171,18 - PUSHBUTTON "Start",IDC_BT_MODE1,333,132,57,21 - PUSHBUTTON "Start",IDC_BT_MODE2,133,268,57,21 - PUSHBUTTON "Start",IDC_BT_MODE3,333,268,57,21 -END - - -///////////////////////////////////////////////////////////////////////////// -// -// Version -// - -VS_VERSION_INFO VERSIONINFO - FILEVERSION 1,0,0,1 - PRODUCTVERSION 1,0,0,1 - FILEFLAGSMASK 0x3fL -#ifdef _DEBUG - FILEFLAGS 0x1L -#else - FILEFLAGS 0x0L -#endif - FILEOS 0x4L - FILETYPE 0x1L - FILESUBTYPE 0x0L -BEGIN - BLOCK "StringFileInfo" - BEGIN - BLOCK "040904e4" - BEGIN - VALUE "CompanyName", "TODO: " - VALUE "FileDescription", "TODO: " - VALUE "FileVersion", "1.0.0.1" - VALUE "InternalName", "SDK9222GPTC.exe" - VALUE "LegalCopyright", "TODO: (c) . All rights reserved." - VALUE "OriginalFilename", "SDK9222GPTC.exe" - VALUE "ProductName", "TODO: " - VALUE "ProductVersion", "1.0.0.1" - END - END - BLOCK "VarFileInfo" - BEGIN - VALUE "Translation", 0x409, 1252 - END -END - - -///////////////////////////////////////////////////////////////////////////// -// -// DESIGNINFO -// - -#ifdef APSTUDIO_INVOKED -GUIDELINES DESIGNINFO -BEGIN - IDD_ABOUTBOX, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 163 - TOPMARGIN, 7 - BOTTOMMARGIN, 55 - END - - IDD_SDK9222GPTC_DIALOG, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 411 - TOPMARGIN, 7 - BOTTOMMARGIN, 302 - END -END -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog Info -// - -IDD_SDK9222GPTC_DIALOG DLGINIT -BEGIN - IDC_COMBO_MODE1, 0x403, 25, 0 -0x7550, 0x736c, 0x2065, 0x6550, 0x6972, 0x646f, 0x4d20, 0x6165, 0x7573, -0x6572, 0x656d, 0x746e, "\000" - IDC_COMBO_MODE1, 0x403, 24, 0 -0x7550, 0x736c, 0x2065, 0x6957, 0x7464, 0x2068, 0x654d, 0x7361, 0x7275, -0x6d65, 0x6e65, 0x0074, - IDC_COMBO_MODE1, 0x403, 34, 0 -0x7550, 0x736c, 0x2065, 0x6445, 0x6567, 0x5320, 0x7065, 0x7261, 0x7461, -0x6f69, 0x206e, 0x654d, 0x7361, 0x7275, 0x6d65, 0x6e65, 0x0074, - IDC_COMBO_GPTC, 0x403, 7, 0 -0x5047, 0x4354, 0x3023, "\000" - IDC_COMBO_GPTC, 0x403, 7, 0 -0x5047, 0x4354, 0x3123, "\000" - IDC_COMBO_GPTC, 0x403, 7, 0 -0x5047, 0x4354, 0x3223, "\000" - IDC_COMBO_GPTC, 0x403, 7, 0 -0x5047, 0x4354, 0x3323, "\000" - IDC_COMBO_MODE2, 0x403, 30, 0 -0x6953, 0x676e, 0x656c, 0x4720, 0x7461, 0x6465, 0x5020, 0x6c75, 0x6573, -0x4720, 0x6e65, 0x7265, 0x7461, 0x6f69, 0x006e, - IDC_COMBO_MODE2, 0x403, 37, 0 -0x6953, 0x676e, 0x656c, 0x5020, 0x6c75, 0x6573, 0x4720, 0x6e65, 0x7265, -0x7461, 0x6f69, 0x206e, 0x6977, 0x6874, 0x7420, 0x6972, 0x6767, 0x7265, -"\000" - IDC_COMBO_MODE2, 0x403, 40, 0 -0x6953, 0x676e, 0x656c, 0x5020, 0x6c75, 0x6573, 0x4720, 0x6e65, 0x7265, -0x7461, 0x6f69, 0x206e, 0x6977, 0x6874, 0x5220, 0x2d65, 0x7274, 0x6769, -0x6567, 0x0072, - IDC_COMBO_MODE3, 0x403, 45, 0 -0x6f43, 0x746e, 0x6e69, 0x6f75, 0x7375, 0x5020, 0x6c75, 0x6573, 0x5420, -0x6172, 0x6e69, 0x4720, 0x6e65, 0x7265, 0x7461, 0x6f69, 0x206e, 0x6977, -0x6874, 0x4720, 0x7461, 0x6465, "\000" - IDC_COMBO_MODE3, 0x403, 47, 0 -0x6f43, 0x746e, 0x6e69, 0x6f75, 0x7375, 0x5020, 0x6c75, 0x6573, 0x5420, -0x6172, 0x6e69, 0x4720, 0x6e65, 0x7265, 0x7461, 0x6f69, 0x206e, 0x6977, -0x6874, 0x7420, 0x6972, 0x6767, 0x7265, "\000" - IDC_COMBO_MODE3, 0x403, 38, 0 -0x6f43, 0x746e, 0x6e69, 0x6f75, 0x7375, 0x5020, 0x4d57, 0x5020, 0x6c75, -0x6573, 0x5420, 0x6172, 0x6e69, 0x4720, 0x6e65, 0x7265, 0x7461, 0x6f69, -0x006e, - IDC_COMBO_MODE3, 0x403, 51, 0 -0x6f43, 0x746e, 0x6e69, 0x6f75, 0x7375, 0x5020, 0x4d57, 0x5020, 0x6c75, -0x6573, 0x5420, 0x6172, 0x6e69, 0x4720, 0x6e65, 0x7265, 0x7461, 0x6f69, -0x206e, 0x6977, 0x6874, 0x7420, 0x6972, 0x6767, 0x7265, "\000" - 0 -END - - -///////////////////////////////////////////////////////////////////////////// -// -// String Table -// - -STRINGTABLE -BEGIN - IDS_ABOUTBOX "&About SDK9222GPTC..." -END - -#endif // English (U.S.) resources -///////////////////////////////////////////////////////////////////////////// - - - -#ifndef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 3 resource. -// -#define _AFX_NO_SPLITTER_RESOURCES -#define _AFX_NO_OLE_RESOURCES -#define _AFX_NO_TRACKER_RESOURCES -#define _AFX_NO_PROPERTY_RESOURCES - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -LANGUAGE 9, 1 -#pragma code_page(1252) -#include "res\SDK9222GPTC.rc2" // non-Microsoft Visual C++ edited resources -#include "afxres.rc" // Standard components -#endif - -///////////////////////////////////////////////////////////////////////////// -#endif // not APSTUDIO_INVOKED - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222GPTC/SDK9222GPTC.sln b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222GPTC/SDK9222GPTC.sln deleted file mode 100644 index ce694f1..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222GPTC/SDK9222GPTC.sln +++ /dev/null @@ -1,20 +0,0 @@ - -Microsoft Visual Studio Solution File, Format Version 10.00 -# Visual Studio 2008 -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "SDK9222GPTC", "SDK9222GPTC.vcproj", "{E44C0848-3913-45FB-B4DD-E6FE7B7DA86E}" -EndProject -Global - GlobalSection(SolutionConfigurationPlatforms) = preSolution - Debug|x64 = Debug|x64 - Release|x64 = Release|x64 - EndGlobalSection - GlobalSection(ProjectConfigurationPlatforms) = postSolution - {E44C0848-3913-45FB-B4DD-E6FE7B7DA86E}.Debug|x64.ActiveCfg = Debug|x64 - {E44C0848-3913-45FB-B4DD-E6FE7B7DA86E}.Debug|x64.Build.0 = Debug|x64 - {E44C0848-3913-45FB-B4DD-E6FE7B7DA86E}.Release|x64.ActiveCfg = Release|x64 - {E44C0848-3913-45FB-B4DD-E6FE7B7DA86E}.Release|x64.Build.0 = Release|x64 - EndGlobalSection - GlobalSection(SolutionProperties) = preSolution - HideSolutionNode = FALSE - EndGlobalSection -EndGlobal diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222GPTC/SDK9222GPTC.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222GPTC/SDK9222GPTC.suo deleted file mode 100644 index 641317f..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222GPTC/SDK9222GPTC.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222GPTC/SDK9222GPTC.vcproj b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222GPTC/SDK9222GPTC.vcproj deleted file mode 100644 index a02e582..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222GPTC/SDK9222GPTC.vcproj +++ /dev/null @@ -1,286 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222GPTC/SDK9222GPTCDlg.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222GPTC/SDK9222GPTCDlg.cpp deleted file mode 100644 index aaf21d8..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222GPTC/SDK9222GPTCDlg.cpp +++ /dev/null @@ -1,775 +0,0 @@ - -// SDK9222GPTCDlg.cpp : implementation file -// - -#include "stdafx.h" -#include "SDK9222GPTC.h" -#include "SDK9222GPTCDlg.h" - -#ifdef _DEBUG -#define new DEBUG_NEW -#endif - -#define TIMEBASE 80000000 - -#define TIMER_GPTC_MAJOR_MODE0 1 -#define TIMER_GPTC_MAJOR_MODE1 2 - -// CAboutDlg dialog used for App About - -class CAboutDlg : public CDialog -{ -public: - CAboutDlg(); - -// Dialog Data - enum { IDD = IDD_ABOUTBOX }; - - protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - -// Implementation -protected: - DECLARE_MESSAGE_MAP() -}; - -CAboutDlg::CAboutDlg() : CDialog(CAboutDlg::IDD) -{ -} - -void CAboutDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); -} - -BEGIN_MESSAGE_MAP(CAboutDlg, CDialog) -END_MESSAGE_MAP() - - -// CSDK9222GPTCDlg dialog - - -CSDK9222GPTCDlg::CSDK9222GPTCDlg(I16 hCard, CWnd* pParent /*=NULL*/) - : CDialog(CSDK9222GPTCDlg::IDD, pParent) -{ - m_hIcon = AfxGetApp()->LoadIcon(IDR_MAINFRAME); - - m_nTimer0 = NULL; - m_nTimer1 = NULL; - - m_bRunning0 = 0; - m_bRunning1 = 0; - m_bRunning2 = 0; - m_bRunning3 = 0; - - m_wPolCtrl = 0; - - m_hCard = hCard; -} - -void CSDK9222GPTCDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); - DDX_Control(pDX, IDC_COMBO_GPTC, m_cbGPTCNo); - DDX_Control(pDX, IDC_COMBO_MODE1, m_cbMode1Option); - DDX_Control(pDX, IDC_COMBO_MODE2, m_cbMode2Option); - DDX_Control(pDX, IDC_COMBO_MODE3, m_cbMode3Option); -} - -BEGIN_MESSAGE_MAP(CSDK9222GPTCDlg, CDialog) - ON_WM_SYSCOMMAND() - ON_WM_PAINT() - ON_WM_QUERYDRAGICON() - //}}AFX_MSG_MAP - ON_BN_CLICKED(IDC_RADIO_MODE0, &CSDK9222GPTCDlg::OnRadioMode0) - ON_BN_CLICKED(IDC_RADIO_MODE1, &CSDK9222GPTCDlg::OnRadioMode1) - ON_BN_CLICKED(IDC_RADIO_MODE2, &CSDK9222GPTCDlg::OnRadioMode2) - ON_BN_CLICKED(IDC_RADIO_MODE3, &CSDK9222GPTCDlg::OnRadioMode3) - ON_CBN_SELCHANGE(IDC_COMBO_GPTC, &CSDK9222GPTCDlg::OnGPTCNoSelchange) - ON_CBN_SELCHANGE(IDC_COMBO_MODE1, &CSDK9222GPTCDlg::OnComboMode1Selchange) - ON_CBN_SELCHANGE(IDC_COMBO_MODE2, &CSDK9222GPTCDlg::OnComboMode2Selchange) - ON_CBN_SELCHANGE(IDC_COMBO_MODE3, &CSDK9222GPTCDlg::OnComboMode3Selchange) - ON_BN_CLICKED(IDC_BT_MODE0, &CSDK9222GPTCDlg::OnGPTCMode0Start) - ON_BN_CLICKED(IDC_BT_MODE1, &CSDK9222GPTCDlg::OnGPTCMode1Start) - ON_BN_CLICKED(IDC_BT_MODE2, &CSDK9222GPTCDlg::OnGPTCMode2Start) - ON_BN_CLICKED(IDC_BT_MODE3, &CSDK9222GPTCDlg::OnGPTCMode3Start) - ON_WM_TIMER() -END_MESSAGE_MAP() - - -// CSDK9222GPTCDlg message handlers - -BOOL CSDK9222GPTCDlg::OnInitDialog() -{ - CDialog::OnInitDialog(); - - // Add "About..." menu item to system menu. - - // IDM_ABOUTBOX must be in the system command range. - ASSERT((IDM_ABOUTBOX & 0xFFF0) == IDM_ABOUTBOX); - ASSERT(IDM_ABOUTBOX < 0xF000); - - CMenu* pSysMenu = GetSystemMenu(FALSE); - if (pSysMenu != NULL) - { - BOOL bNameValid; - CString strAboutMenu; - bNameValid = strAboutMenu.LoadString(IDS_ABOUTBOX); - ASSERT(bNameValid); - if (!strAboutMenu.IsEmpty()) - { - pSysMenu->AppendMenu(MF_SEPARATOR); - pSysMenu->AppendMenu(MF_STRING, IDM_ABOUTBOX, strAboutMenu); - } - } - - // Set the icon for this dialog. The framework does this automatically - // when the application's main window is not a dialog - SetIcon(m_hIcon, TRUE); // Set big icon - SetIcon(m_hIcon, FALSE); // Set small icon - - // TODO: Add extra initialization here - m_wGPTCNo = 0; - m_cbGPTCNo.SetCurSel( (int) m_wGPTCNo ); - SetDlgItemText( IDC_EDIT_INIT_CNT0, TEXT("0x7fffffff") ); - - m_cbMode1Option.SetCurSel( 0 ); - m_cbMode2Option.SetCurSel( 0 ); - m_cbMode3Option.SetCurSel( 0 ); - - ((CButton*)GetDlgItem( IDC_RADIO_MODE0 ))->SetCheck( TRUE ); - OnRadioMode0(); - - return TRUE; // return TRUE unless you set the focus to a control -} - -void CSDK9222GPTCDlg::OnSysCommand(UINT nID, LPARAM lParam) -{ - if ((nID & 0xFFF0) == IDM_ABOUTBOX) - { - CAboutDlg dlgAbout; - dlgAbout.DoModal(); - } - else - { - CDialog::OnSysCommand(nID, lParam); - } -} - -// If you add a minimize button to your dialog, you will need the code below -// to draw the icon. For MFC applications using the document/view model, -// this is automatically done for you by the framework. - -void CSDK9222GPTCDlg::OnPaint() -{ - if (IsIconic()) - { - CPaintDC dc(this); // device context for painting - - SendMessage(WM_ICONERASEBKGND, reinterpret_cast(dc.GetSafeHdc()), 0); - - // Center icon in client rectangle - int cxIcon = GetSystemMetrics(SM_CXICON); - int cyIcon = GetSystemMetrics(SM_CYICON); - CRect rect; - GetClientRect(&rect); - int x = (rect.Width() - cxIcon + 1) / 2; - int y = (rect.Height() - cyIcon + 1) / 2; - - // Draw the icon - dc.DrawIcon(x, y, m_hIcon); - } - else - { - CDialog::OnPaint(); - } -} - -// The system calls this function to obtain the cursor to display while the user drags -// the minimized window. -HCURSOR CSDK9222GPTCDlg::OnQueryDragIcon() -{ - return static_cast(m_hIcon); -} - - -void CSDK9222GPTCDlg::OnRadioMode0() -{ - // TODO: Add your control notification handler code here - m_dwLReg1_Val = 0x7fffffff; //Initial value - m_dwLReg2_Val = 0; - m_wSrcCtrl = 0; - m_wPolCtrl = 0; - - m_GPTCMode = SimpleGatedEventCNT; - m_wSrcCtrl = GPTC_GATE_SRC_Ext; - - - Update_UI(0); -} - -void CSDK9222GPTCDlg::OnRadioMode1() -{ - // TODO: Add your control notification handler code here - m_dwLReg1_Val = 0; - m_dwLReg2_Val = 0; - m_wSrcCtrl = 0; - m_wPolCtrl = 0; - - m_GPTCMode = SinglePeriodMSR; - m_cbMode1Option.SetCurSel( 0 ); - OnComboMode1Selchange(); - - Update_UI(1); -} - -void CSDK9222GPTCDlg::OnRadioMode2() -{ - // TODO: Add your control notification handler code here - // Reset the GPTC mode - m_dwLReg1_Val = 40000000; - m_dwLReg2_Val = 0; - m_wSrcCtrl = 0; - m_wPolCtrl = 0; - - m_cbMode2Option.SetCurSel( 0 ); - OnComboMode2Selchange(); - - Update_UI(2); -} - -void CSDK9222GPTCDlg::OnRadioMode3() -{ - // TODO: Add your control notification handler code here - m_dwLReg1_Val = 0; - m_dwLReg2_Val = 0; - m_wSrcCtrl = 0; - m_wPolCtrl = 0; - - m_cbMode3Option.SetCurSel( 0 ); - OnComboMode3Selchange(); - - Update_UI(3); -} - -void CSDK9222GPTCDlg::Update_UI(int BlockIdx) -{ - switch( BlockIdx ) - { - case 0: - GetDlgItem(IDC_EDIT_INIT_CNT0)->EnableWindow( TRUE ); - GetDlgItem(IDC_COMBO_MODE1)->EnableWindow( FALSE ); - GetDlgItem(IDC_COMBO_MODE2)->EnableWindow( FALSE ); - GetDlgItem(IDC_COMBO_MODE3)->EnableWindow( FALSE ); - - GetDlgItem(IDC_BT_MODE0)->EnableWindow( TRUE ); - GetDlgItem(IDC_BT_MODE1)->EnableWindow( FALSE ); - GetDlgItem(IDC_BT_MODE2)->EnableWindow( FALSE ); - GetDlgItem(IDC_BT_MODE3)->EnableWindow( FALSE ); - - break; - - case 1: - GetDlgItem(IDC_EDIT_INIT_CNT0)->EnableWindow( FALSE ); - GetDlgItem(IDC_COMBO_MODE1)->EnableWindow( TRUE ); - GetDlgItem(IDC_COMBO_MODE2)->EnableWindow( FALSE ); - GetDlgItem(IDC_COMBO_MODE3)->EnableWindow( FALSE ); - - GetDlgItem(IDC_BT_MODE0)->EnableWindow( FALSE ); - GetDlgItem(IDC_BT_MODE1)->EnableWindow( TRUE ); - GetDlgItem(IDC_BT_MODE2)->EnableWindow( FALSE ); - GetDlgItem(IDC_BT_MODE3)->EnableWindow( FALSE ); - break; - - case 2: - GetDlgItem(IDC_EDIT_INIT_CNT0)->EnableWindow( FALSE ); - GetDlgItem(IDC_COMBO_MODE1)->EnableWindow( FALSE ); - GetDlgItem(IDC_COMBO_MODE2)->EnableWindow( TRUE ); - GetDlgItem(IDC_COMBO_MODE3)->EnableWindow( FALSE ); - - GetDlgItem(IDC_BT_MODE0)->EnableWindow( FALSE ); - GetDlgItem(IDC_BT_MODE1)->EnableWindow( FALSE ); - GetDlgItem(IDC_BT_MODE2)->EnableWindow( TRUE ); - GetDlgItem(IDC_BT_MODE3)->EnableWindow( FALSE ); - break; - - case 3: - GetDlgItem(IDC_EDIT_INIT_CNT0)->EnableWindow( FALSE ); - GetDlgItem(IDC_COMBO_MODE1)->EnableWindow( FALSE ); - GetDlgItem(IDC_COMBO_MODE2)->EnableWindow( FALSE ); - GetDlgItem(IDC_COMBO_MODE3)->EnableWindow( TRUE ); - - GetDlgItem(IDC_BT_MODE0)->EnableWindow( FALSE ); - GetDlgItem(IDC_BT_MODE1)->EnableWindow( FALSE ); - GetDlgItem(IDC_BT_MODE2)->EnableWindow( FALSE ); - GetDlgItem(IDC_BT_MODE3)->EnableWindow( TRUE ); - - break; - - case 4: - GetDlgItem(IDC_EDIT_INIT_CNT0)->EnableWindow( FALSE ); - GetDlgItem(IDC_COMBO_MODE1)->EnableWindow( FALSE ); - GetDlgItem(IDC_COMBO_MODE2)->EnableWindow( FALSE ); - GetDlgItem(IDC_COMBO_MODE3)->EnableWindow( FALSE ); - - GetDlgItem(IDC_BT_MODE0)->EnableWindow( FALSE ); - GetDlgItem(IDC_BT_MODE1)->EnableWindow( FALSE ); - GetDlgItem(IDC_BT_MODE2)->EnableWindow( FALSE ); - GetDlgItem(IDC_BT_MODE3)->EnableWindow( FALSE ); - break; - - } -} - -void CSDK9222GPTCDlg::OnGPTCNoSelchange() -{ - // TODO: Add your control notification handler code here - int nIndex; - - nIndex = m_cbGPTCNo.GetCurSel(); - switch( nIndex ) - { - case 0: - m_wGPTCNo = 0; - break; - case 1: - m_wGPTCNo = 1; - break; - case 2: - m_wGPTCNo = 2; - break; - case 3: - m_wGPTCNo = 3; - break; - } - -} - -void CSDK9222GPTCDlg::OnComboMode1Selchange() -{ - // TODO: Add your control notification handler code here - int nIndex; - - nIndex = m_cbMode1Option.GetCurSel(); - switch( nIndex ) - { - case 0: - SetDlgItemText( IDC_STATIC_MODE1, TEXT("Measure pulse period of a pulse from GPTC/GTAED pin.") ); - - m_GPTCMode = SinglePeriodMSR; - break; - case 1: - SetDlgItemText( IDC_STATIC_MODE1, TEXT("Measure pulse width of a pulse from GPTC/GTAED pin.") ); - - m_GPTCMode = SinglePulseWidthMSR; - break; - case 2: - SetDlgItemText( IDC_STATIC_MODE1, TEXT("Measure edge separation between pulses from GPTC/GTAED and GPTC/AUX pin.") ); - - m_GPTCMode = EdgeSeparationMSR; - break; - } - - m_wSrcCtrl = GPTC_GATE_SRC_Ext; //Set External gate for measuring a pulse from GATED pin - -} - -void CSDK9222GPTCDlg::OnComboMode2Selchange() -{ - // TODO: Add your control notification handler code here - int nIndex; - - F32 fTemp; - CString strTmp; - - - fTemp = (F32)(m_dwLReg1_Val+m_dwLReg1_Val)/TIMEBASE; - - nIndex = m_cbMode2Option.GetCurSel(); - switch( nIndex ) - { - case 0: - SetDlgItemText( IDC_STATIC_MODE2, TEXT("Generate pulse to GPTC out pin while GATED pin is high.") ); - - m_GPTCMode = SingleGatedPulseGen; - m_wSrcCtrl = GPTC_GATE_SRC_Ext; - - strTmp.Format( TEXT("A %f sec. period pulse will be generated while GATED is high..."), fTemp); - SetDlgItemText( IDC_STATIC_RESULT2, strTmp ); - - break; - case 1: - SetDlgItemText( IDC_STATIC_MODE2, TEXT("Generate pulse to GPTC out pin if trigger is comming from GATED pin.") ); - - m_GPTCMode = SingleTrigPulseGen; - m_wSrcCtrl = GPTC_GATE_SRC_Ext; - - strTmp.Format( TEXT("Wait trigger to generate a %f sec. period pulse..."), fTemp); - SetDlgItemText( IDC_STATIC_RESULT2, strTmp ); - - break; - case 2: - SetDlgItemText( IDC_STATIC_MODE2, TEXT("Generate pulse to GPTC out pin if a trigger is comming from GATED pin.") ); - - m_GPTCMode = RetrigSinglePulseGen; - m_wSrcCtrl = GPTC_GATE_SRC_Ext; - - strTmp.Format( TEXT("Wait retrigger to generate a %f sec. period pulse..."), fTemp); - SetDlgItemText( IDC_STATIC_RESULT2, strTmp ); - - break; - } - -} - -void CSDK9222GPTCDlg::OnComboMode3Selchange() -{ - // TODO: Add your control notification handler code here - int nIndex; - - F32 fDuty, fOutRate; - CString strTmp; - - nIndex = m_cbMode3Option.GetCurSel(); - switch( nIndex ) - { - case 0: - SetDlgItemText( IDC_STATIC_MODE3, TEXT("Generate pulse train to GPTC/OUT pin while GATED pin is high.") ); - - m_GPTCMode = ContGatedPulseGen; - m_wSrcCtrl = GPTC_GATE_SRC_Ext; - m_dwLReg1_Val = 40000000; - - fOutRate = (F32)TIMEBASE/(m_dwLReg1_Val + m_dwLReg1_Val); - - strTmp.Format( TEXT("Out rate: %f Hz, pulse train will be generated while GATED pin is high..."), fOutRate); - SetDlgItemText( IDC_STATIC_RESULT3, strTmp ); - - break; - case 1: - SetDlgItemText( IDC_STATIC_MODE3, TEXT("Generate pulse train to GPTC/OUT pin if trigger is comming from GPTC/GATED pin.") ); - - m_GPTCMode = SingleTrigContPulseGen; - m_wSrcCtrl = GPTC_GATE_SRC_Ext; - m_dwLReg1_Val = 40000000; - - fOutRate = (F32)TIMEBASE/(m_dwLReg1_Val + m_dwLReg1_Val); - - strTmp.Format( TEXT("Wait trigger to generate, out rate: %f Hz, pulse train..."), fOutRate); - SetDlgItemText( IDC_STATIC_RESULT3, strTmp ); - - break; - case 2: - SetDlgItemText( IDC_STATIC_MODE3, TEXT("Generate PWM pulse train to GPTC/OUT pin while GATED pin is high.") ); - - m_GPTCMode = ContGatedPulseGenPWM; - m_wSrcCtrl = GPTC_GATE_SRC_Ext; - m_dwLReg1_Val = 20000000; - m_dwLReg2_Val = 60000000; - - fDuty = (F32)m_dwLReg2_Val/(m_dwLReg1_Val+m_dwLReg2_Val); - fOutRate = (F32)TIMEBASE/(m_dwLReg1_Val+m_dwLReg2_Val); - - strTmp.Format( TEXT("Out rate: %f Hz, duty cycle: %4.2f %%, pulse train will be generated while GATED pin is high..."), fOutRate, fDuty); - SetDlgItemText( IDC_STATIC_RESULT3, strTmp ); - - break; - case 3: - SetDlgItemText( IDC_STATIC_MODE3, TEXT("Generate PWM pulse train to GPTC/OUT pin if trigger is comming from GPTC/GATED pin.") ); - - m_GPTCMode = SingleTrigContPulseGenPWM; - m_wSrcCtrl = GPTC_GATE_SRC_Ext; - m_dwLReg1_Val = 20000000; - m_dwLReg2_Val = 60000000; - - fDuty = (F32)m_dwLReg2_Val/(m_dwLReg1_Val+m_dwLReg2_Val); - fOutRate = (F32)TIMEBASE/(m_dwLReg1_Val+m_dwLReg2_Val); - - strTmp.Format( TEXT("Wait trigger to generate, out rate: %f Hz, duty cycle: %4.2f %%, pulse train..."), fOutRate, fDuty); - SetDlgItemText( IDC_STATIC_RESULT3, strTmp ); - - break; - } - -} - -void CSDK9222GPTCDlg::OnGPTCMode0Start() -{ - // TODO: Add your control notification handler code here - I16 err; - CString strTmp; - - if( m_bRunning0 == 1 ) - { - err = GPTC_Clear(m_hCard, m_wGPTCNo); - - if( m_nTimer0 != NULL ) - { - KillTimer( m_nTimer0 ); - m_nTimer0 = NULL; - } - - m_bRunning0 = 0; - SetDlgItemText( IDC_BT_MODE0, TEXT("Start") ); - - } - else - { - if( m_nTimer0 == NULL ) - { - m_nTimer0 = SetTimer( TIMER_GPTC_MAJOR_MODE0, 20, NULL ); - } - - m_dwLReg1_Val = 0x7fffffff; //Initial value - m_dwLReg2_Val = 0; - m_wSrcCtrl = 0; - m_wPolCtrl = 0; - - m_GPTCMode = SimpleGatedEventCNT; - m_wSrcCtrl = GPTC_GATE_SRC_Ext; - - /*Setup GPTC*/ - err = GPTC_Setup(m_hCard, m_wGPTCNo, m_GPTCMode, m_wSrcCtrl, m_wPolCtrl, m_dwLReg1_Val, m_dwLReg2_Val); - if( err<0 ) - { - strTmp.Format( TEXT("GPTC_Setup Error: %d"), err ); - AfxMessageBox( strTmp ); - return; - } - - /*Internal Control UpDown Source - 0: DownCount; 1: UpCount*/ - err = GPTC_Control(m_hCard, m_wGPTCNo, IntUpDnCTR, 0); - if(err<0) - { - strTmp.Format( TEXT("GPTC_Control Error: %d"), err ); - AfxMessageBox( strTmp ); - return; - } - - /*Enable Counter*/ - err = GPTC_Control(m_hCard, m_wGPTCNo, IntENABLE, 1); - if(err<0) - { - strTmp.Format( TEXT("GPTC_Control Error: %d"), err ); - AfxMessageBox( strTmp ); - return; - } - - m_bRunning0 = 1; - SetDlgItemText( IDC_BT_MODE0, TEXT("Stop") ); - - } -} - -void CSDK9222GPTCDlg::OnGPTCMode1Start() -{ - // TODO: Add your control notification handler code here - I16 err; - CString strTmp; - - if( m_bRunning1 == 1 ) - { - err = GPTC_Clear(m_hCard, m_wGPTCNo); - - if( m_nTimer1 != NULL ) - { - KillTimer( m_nTimer1 ); - m_nTimer1 = NULL; - } - - - m_bRunning1 = 0; - SetDlgItemText( IDC_BT_MODE1, TEXT("Start") ); - - } - else - { - if( m_nTimer1 == NULL ) - { - m_nTimer1 = SetTimer( TIMER_GPTC_MAJOR_MODE1, 20, NULL ); - } - - err = GPTC_Setup(m_hCard, m_wGPTCNo, m_GPTCMode, m_wSrcCtrl, m_wPolCtrl, m_dwLReg1_Val, m_dwLReg2_Val); - if(err<0) - { - strTmp.Format( TEXT("GPTC_Setup Error: %d"), err ); - AfxMessageBox( strTmp ); - return; - } - - /*Internal Control UpDown Source*/ - //Set Counter count up - err = GPTC_Control(m_hCard, m_wGPTCNo, IntUpDnCTR, 1); - if(err<0) - { - strTmp.Format( TEXT("GPTC_Control Error: %d"), err ); - AfxMessageBox( strTmp ); - return; - } - - /*Enable Counter*/ - err = GPTC_Control(m_hCard, m_wGPTCNo, IntENABLE, 1); - if(err<0) - { - strTmp.Format( TEXT("GPTC_Control Error: %d"), err ); - AfxMessageBox( strTmp ); - return; - } - - m_bRunning1 = 1; - SetDlgItemText( IDC_BT_MODE1, TEXT("Stop") ); - } -} - -void CSDK9222GPTCDlg::OnGPTCMode2Start() -{ - // TODO: Add your control notification handler code here - I16 err; - CString strTmp; - - if( m_bRunning2 == 1 ) - { - err = GPTC_Clear(m_hCard, m_wGPTCNo); - - m_bRunning2 = 0; - SetDlgItemText( IDC_BT_MODE2, TEXT("Start") ); - - } - else - { - - /*Setup GPTC*/ - err = GPTC_Setup(m_hCard, m_wGPTCNo, m_GPTCMode, m_wSrcCtrl, m_wPolCtrl, m_dwLReg1_Val, m_dwLReg2_Val); - if(err<0) - { - strTmp.Format( TEXT("GPTC_Setup Error: %d"), err ); - AfxMessageBox( strTmp ); - return; - } - - err = GPTC_Control(m_hCard, m_wGPTCNo, IntENABLE, 1); - if(err<0) - { - strTmp.Format( TEXT("GPTC_Control Error: %d"), err ); - AfxMessageBox( strTmp ); - return; - } - - m_bRunning2 = 1; - SetDlgItemText( IDC_BT_MODE2, TEXT("Stop") ); - } -} - -void CSDK9222GPTCDlg::OnGPTCMode3Start() -{ - // TODO: Add your control notification handler code here - I16 err; - CString strTmp; - - if( m_bRunning3 == 1 ) - { - err = GPTC_Clear(m_hCard, m_wGPTCNo); - - m_bRunning3 = 0; - SetDlgItemText( IDC_BT_MODE3, TEXT("Start") ); - - } - else - { - /*Setup GPTC*/ - err = GPTC_Setup(m_hCard, m_wGPTCNo, m_GPTCMode, m_wSrcCtrl, m_wPolCtrl, m_dwLReg1_Val, m_dwLReg2_Val); - if(err<0) - { - strTmp.Format( TEXT("GPTC_Setup Error: %d"), err ); - AfxMessageBox( strTmp ); - return; - } - - /*Enable Counter*/ - err = GPTC_Control(m_hCard, m_wGPTCNo, IntENABLE, 1); - if(err<0) - { - strTmp.Format( TEXT("GPTC_Control Error: %d"), err ); - AfxMessageBox( strTmp ); - return; - } - - - m_bRunning3 = 1; - SetDlgItemText( IDC_BT_MODE3, TEXT("Stop") ); - } -} - -void CSDK9222GPTCDlg::GPTC_Major_Process0(void) -{ - I16 err; - U32 dwGPTC_Val; - - err = GPTC_Read(m_hCard, m_wGPTCNo, &dwGPTC_Val); - SetDlgItemInt( IDC_EDIT_STATUS0, (UINT)dwGPTC_Val); -} - -void CSDK9222GPTCDlg::GPTC_Major_Process1(void) -{ - I16 err; - U16 wStatus; - U32 dwGPTC_Val; - CString strTmp; - - err = GPTC_Status(m_hCard, m_wGPTCNo, &wStatus); - - if((wStatus>>1)&0x01) - { - /*Read GPTC value*/ - err = GPTC_Read(m_hCard, m_wGPTCNo, &dwGPTC_Val); - - switch( m_GPTCMode ) - { - case SinglePeriodMSR: - strTmp.Format( TEXT("GPTC%d Value: 0x%08X\nPulse Period: %lf sec."), m_wGPTCNo, dwGPTC_Val, (F32)dwGPTC_Val/TIMEBASE ); - SetDlgItemText( IDC_STATIC_RESULT01, strTmp ); - break; - - case SinglePulseWidthMSR: - strTmp.Format( TEXT("GPTC%d Value: 0x%08X\nPulse Width: %lf sec."), m_wGPTCNo, dwGPTC_Val, (F32)dwGPTC_Val/TIMEBASE ); - SetDlgItemText( IDC_STATIC_RESULT01, strTmp ); - break; - - case EdgeSeparationMSR: - strTmp.Format( TEXT("GPTC%d Value: 0x%08X\nPulse Edge Separation: %lf sec."), m_wGPTCNo, dwGPTC_Val, (F32)dwGPTC_Val/TIMEBASE ); - SetDlgItemText( IDC_STATIC_RESULT01, strTmp ); - break; - } - - err = GPTC_Clear(m_hCard, m_wGPTCNo); - - if( m_nTimer1 != NULL ) - { - KillTimer( m_nTimer1 ); - m_nTimer1 = NULL; - } - - - m_bRunning1 = 0; - SetDlgItemText( IDC_BT_MODE1, TEXT("Start") ); - } - -} - - -void CSDK9222GPTCDlg::OnTimer(UINT_PTR nIDEvent) -{ - // TODO: Add your message handler code here and/or call default - switch( nIDEvent ) - { - case TIMER_GPTC_MAJOR_MODE0: - GPTC_Major_Process0(); - break; - - case TIMER_GPTC_MAJOR_MODE1: - GPTC_Major_Process1(); - break; - } - - CDialog::OnTimer(nIDEvent); -} diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222GPTC/SDK9222GPTCDlg.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222GPTC/SDK9222GPTCDlg.h deleted file mode 100644 index e1fc0ca..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222GPTC/SDK9222GPTCDlg.h +++ /dev/null @@ -1,73 +0,0 @@ - -// SDK9222GPTCDlg.h : header file -// - -#pragma once -#include "afxwin.h" - -#include "Dask64.h" - -// CSDK9222GPTCDlg dialog -class CSDK9222GPTCDlg : public CDialog -{ -// Construction -public: - CSDK9222GPTCDlg(I16 hCard, CWnd* pParent = NULL); // standard constructor - -// Dialog Data - enum { IDD = IDD_SDK9222GPTC_DIALOG }; - - protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - - -// Implementation -protected: - HICON m_hIcon; - I16 m_hCard; - U16 m_wGPTCNo; - U16 m_GPTCMode; - U16 m_wSrcCtrl; - U16 m_wPolCtrl; - - U32 m_dwLReg1_Val; - U32 m_dwLReg2_Val; - - UINT_PTR m_nTimer0; - UINT_PTR m_nTimer1; - - U8 m_bRunning0; - U8 m_bRunning1; - U8 m_bRunning2; - U8 m_bRunning3; - - - // Generated message map functions - virtual BOOL OnInitDialog(); - afx_msg void OnSysCommand(UINT nID, LPARAM lParam); - afx_msg void OnPaint(); - afx_msg HCURSOR OnQueryDragIcon(); - DECLARE_MESSAGE_MAP() -public: - CComboBox m_cbGPTCNo; - CComboBox m_cbMode1Option; - CComboBox m_cbMode2Option; - CComboBox m_cbMode3Option; - afx_msg void OnRadioMode0(); - afx_msg void OnRadioMode1(); - afx_msg void OnRadioMode2(); - afx_msg void OnRadioMode3(); - - void Update_UI(int BlockIdx); - afx_msg void OnGPTCNoSelchange(); - afx_msg void OnComboMode1Selchange(); - afx_msg void OnComboMode2Selchange(); - afx_msg void OnComboMode3Selchange(); - afx_msg void OnGPTCMode0Start(); - afx_msg void OnGPTCMode1Start(); - afx_msg void OnGPTCMode2Start(); - afx_msg void OnGPTCMode3Start(); - void GPTC_Major_Process0(void); - void GPTC_Major_Process1(void); - afx_msg void OnTimer(UINT_PTR nIDEvent); -}; diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222GPTC/res/SDK9222GPTC.ico b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222GPTC/res/SDK9222GPTC.ico deleted file mode 100644 index d56fbcd..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222GPTC/res/SDK9222GPTC.ico and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222GPTC/res/SDK9222GPTC.rc2 b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222GPTC/res/SDK9222GPTC.rc2 deleted file mode 100644 index d97271e..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222GPTC/res/SDK9222GPTC.rc2 +++ /dev/null @@ -1,13 +0,0 @@ -// -// SDK9222GPTC.RC2 - resources Microsoft Visual C++ does not edit directly -// - -#ifdef APSTUDIO_INVOKED -#error this file is not editable by Microsoft Visual C++ -#endif //APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// Add manually edited resources here... - -///////////////////////////////////////////////////////////////////////////// diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222GPTC/resource.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222GPTC/resource.h deleted file mode 100644 index 43f953d..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222GPTC/resource.h +++ /dev/null @@ -1,44 +0,0 @@ -//{{NO_DEPENDENCIES}} -// Microsoft Visual C++ generated include file. -// Used by SDK9222GPTC.rc -// -#define IDM_ABOUTBOX 0x0010 -#define IDD_ABOUTBOX 100 -#define IDS_ABOUTBOX 101 -#define IDD_SDK9222GPTC_DIALOG 102 -#define IDR_MAINFRAME 128 -#define IDD_SIDD_CARDID_DIALOG 131 -#define IDD_CARDID_DIALOG 131 -#define IDC_RADIO_MODE0 1000 -#define IDC_COMBO_CARDID 1000 -#define IDC_BT_MODE0 1001 -#define IDC_RADIO_MODE1 1002 -#define IDC_RADIO_MODE2 1003 -#define IDC_RADIO_MODE3 1004 -#define IDC_EDIT_INIT_CNT0 1005 -#define IDC_EDIT_STATUS0 1006 -#define IDC_COMBO_MODE1 1007 -#define IDC_COMBO_GPTC 1008 -#define IDC_STATIC_MODE1 1009 -#define IDC_STATIC_RESULT01 1010 -#define IDC_COMBO_MODE2 1011 -#define IDC_STATIC_RESULT2 1012 -#define IDC_STATIC_MODE2 1013 -#define IDC_COMBO_MODE3 1014 -#define IDC_BT_MODE1 1015 -#define IDC_STATIC_MODE3 1016 -#define IDC_STATIC_RESULT3 1017 -#define IDC_BT_MODE2 1018 -#define IDC_BT_MODE3 1019 -#define IDC_STATIC_01 1019 - -// Next default values for new objects -// -#ifdef APSTUDIO_INVOKED -#ifndef APSTUDIO_READONLY_SYMBOLS -#define _APS_NEXT_RESOURCE_VALUE 133 -#define _APS_NEXT_COMMAND_VALUE 32771 -#define _APS_NEXT_CONTROL_VALUE 1011 -#define _APS_NEXT_SYMED_VALUE 101 -#endif -#endif diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222GPTC/stdafx.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222GPTC/stdafx.cpp deleted file mode 100644 index 83f89a7..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222GPTC/stdafx.cpp +++ /dev/null @@ -1,8 +0,0 @@ - -// stdafx.cpp : source file that includes just the standard includes -// SDK9222GPTC.pch will be the pre-compiled header -// stdafx.obj will contain the pre-compiled type information - -#include "stdafx.h" - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222GPTC/stdafx.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222GPTC/stdafx.h deleted file mode 100644 index 12123e2..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222GPTC/stdafx.h +++ /dev/null @@ -1,60 +0,0 @@ - -// stdafx.h : include file for standard system include files, -// or project specific include files that are used frequently, -// but are changed infrequently - -#pragma once - -#ifndef _SECURE_ATL -#define _SECURE_ATL 1 -#endif - -#ifndef VC_EXTRALEAN -#define VC_EXTRALEAN // Exclude rarely-used stuff from Windows headers -#endif - -#include "targetver.h" - -#define _ATL_CSTRING_EXPLICIT_CONSTRUCTORS // some CString constructors will be explicit - -// turns off MFC's hiding of some common and often safely ignored warning messages -#define _AFX_ALL_WARNINGS - -#include // MFC core and standard components -#include // MFC extensions - - -#include // MFC Automation classes - - - -#ifndef _AFX_NO_OLE_SUPPORT -#include // MFC support for Internet Explorer 4 Common Controls -#endif -#ifndef _AFX_NO_AFXCMN_SUPPORT -#include // MFC support for Windows Common Controls -#endif // _AFX_NO_AFXCMN_SUPPORT - -#include // MFC support for ribbons and control bars - - - - - - - - - -#ifdef _UNICODE -#if defined _M_IX86 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='x86' publicKeyToken='6595b64144ccf1df' language='*'\"") -#elif defined _M_IA64 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='ia64' publicKeyToken='6595b64144ccf1df' language='*'\"") -#elif defined _M_X64 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='amd64' publicKeyToken='6595b64144ccf1df' language='*'\"") -#else -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='*' publicKeyToken='6595b64144ccf1df' language='*'\"") -#endif -#endif - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222GPTC/targetver.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222GPTC/targetver.h deleted file mode 100644 index 11730d5..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9222/SDK9222GPTC/targetver.h +++ /dev/null @@ -1,26 +0,0 @@ - -#pragma once - -// The following macros define the minimum required platform. The minimum required platform -// is the earliest version of Windows, Internet Explorer etc. that has the necessary features to run -// your application. The macros work by enabling all features available on platform versions up to and -// including the version specified. - -// Modify the following defines if you have to target a platform prior to the ones specified below. -// Refer to MSDN for the latest info on corresponding values for different platforms. -#ifndef WINVER // Specifies that the minimum required platform is Windows Vista. -#define WINVER 0x0600 // Change this to the appropriate value to target other versions of Windows. -#endif - -#ifndef _WIN32_WINNT // Specifies that the minimum required platform is Windows Vista. -#define _WIN32_WINNT 0x0600 // Change this to the appropriate value to target other versions of Windows. -#endif - -#ifndef _WIN32_WINDOWS // Specifies that the minimum required platform is Windows 98. -#define _WIN32_WINDOWS 0x0410 // Change this to the appropriate value to target Windows Me or later. -#endif - -#ifndef _WIN32_IE // Specifies that the minimum required platform is Internet Explorer 7.0. -#define _WIN32_IE 0x0700 // Change this to the appropriate value to target other versions of IE. -#endif - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/C9223_Calibration/calibration.c b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/C9223_Calibration/calibration.c deleted file mode 100644 index be8d4eb..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/C9223_Calibration/calibration.c +++ /dev/null @@ -1,67 +0,0 @@ -/*----------------------------------------------------------------------------*/ -/* Company : ADLINK */ -/* Date : 2008/08/19 */ -/* */ -/* This sample performs AI/AO auto calibration for PCI-9223. */ -/* There are two EEPROM banks, default bank and user bank, to store AI/AO */ -/* calibration constants. The driver loads calibration constants and writes */ -/* them to ADC/DAC during the period of driver loaded. */ -/* User can use PCI_DB_Auto_Calibration_ALL() to perform auto calibration, */ -/* and those auto calibration constants will be written to ADC/DAC */ -/* automatically. Then, User can use PCI_EEPROM_CAL_Constant_Update() to */ -/* store the auto calibration constants to user bank of EEPROM. */ -/* PCI_Load_CAL_Data() is used to load the calibration constants from default */ -/* or user bank of EEPROM to ADC/DAC. */ -/*----------------------------------------------------------------------------*/ -#include -#include -#include -#include -#include "dask.h" - -int main(int argc, char **argv) -{ - I16 card, err; - U16 card_num; - U8 fWriteEE; - - printf("The sample performs AI/AO auto calibration.\n"); - - printf("Card Number: "); - scanf(" %hd", &card_num); - card = Register_Card(PCI_9223, card_num); - if(card<0){ - printf("Register_Card Error: %d\n", card); - exit(1); - } - - printf("Press any key to start AI/AO auto calibration.\n"); - getch(); - printf("Auto Calibration is performing... It will take some minites...\n"); - err = PCI_DB_Auto_Calibration_ALL(card); - if(err<0){ - printf("Auto Calibration Error: %d\n", err); - Release_Card(card); - exit(1); - } - printf("\nAuto Calibration is done...\n"); - - printf("\nStore the auto calibration constants to EEPROM?\n"); - printf("Press 'Y' to store them to EEPROM, and others to exit.\n"); - fWriteEE = getch(); - if((fWriteEE=='Y')||(fWriteEE=='y')){ - printf("Store auto calibration constants to user bank of EEPROM...\n"); - err = PCI_EEPROM_CAL_Constant_Update(card, EEPROM_USER_BANK1); - if(err<0){ - printf("Save Calibration Constants to EEProm Error: %d\n", err); - Release_Card(card); - exit(1); - } - printf("\nAuto calibration constants are stored to EEPROM completely.\n"); - } - - printf("\nPress any key to exit...\n"); - getch(); - Release_Card(card); - return 0; -} diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/C9223_Calibration/calibration.sln b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/C9223_Calibration/calibration.sln deleted file mode 100644 index b6fe8e3..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/C9223_Calibration/calibration.sln +++ /dev/null @@ -1,20 +0,0 @@ - -Microsoft Visual Studio Solution File, Format Version 10.00 -# Visual Studio 2008 -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "calibration", "calibration.vcproj", "{457363ED-9E52-428E-BB5A-424B394076A2}" -EndProject -Global - GlobalSection(SolutionConfigurationPlatforms) = preSolution - Debug|x64 = Debug|x64 - Release|x64 = Release|x64 - EndGlobalSection - GlobalSection(ProjectConfigurationPlatforms) = postSolution - {457363ED-9E52-428E-BB5A-424B394076A2}.Debug|x64.ActiveCfg = Release|x64 - {457363ED-9E52-428E-BB5A-424B394076A2}.Debug|x64.Build.0 = Release|x64 - {457363ED-9E52-428E-BB5A-424B394076A2}.Release|x64.ActiveCfg = Release|x64 - {457363ED-9E52-428E-BB5A-424B394076A2}.Release|x64.Build.0 = Release|x64 - EndGlobalSection - GlobalSection(SolutionProperties) = preSolution - HideSolutionNode = FALSE - EndGlobalSection -EndGlobal diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/C9223_Calibration/calibration.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/C9223_Calibration/calibration.suo deleted file mode 100644 index 4fb2ea7..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/C9223_Calibration/calibration.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/C9223_Calibration/calibration.vcproj b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/C9223_Calibration/calibration.vcproj deleted file mode 100644 index fd43ea1..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/C9223_Calibration/calibration.vcproj +++ /dev/null @@ -1,451 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223/CardIDDlg.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223/CardIDDlg.cpp deleted file mode 100644 index 0c90f2e..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223/CardIDDlg.cpp +++ /dev/null @@ -1,65 +0,0 @@ -// CardIDDlg.cpp : implementation file -// - -#include "stdafx.h" -#include "Util9223.h" -#include "CardIDDlg.h" - -// CCardIDDlg dialog - -IMPLEMENT_DYNAMIC(CCardIDDlg, CDialog) - -CCardIDDlg::CCardIDDlg(int nCardIdx, CWnd* pParent /*=NULL*/) - : CDialog(CCardIDDlg::IDD, pParent) -{ - m_nCardIdx = nCardIdx; -} - -CCardIDDlg::~CCardIDDlg() -{ -} - -void CCardIDDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); - DDX_Control(pDX, IDC_COMBO_CARDID, m_cbCardID); -} - - -BEGIN_MESSAGE_MAP(CCardIDDlg, CDialog) -// ON_CBN_SELCHANGE(IDC_COMBO_CARDID, &CCardIDDlg::OnCbnSelchangeComboCardid) -ON_BN_CLICKED(IDOK, &CCardIDDlg::OnBnClickedOk) -//ON_WM_CTLCOLOR() -END_MESSAGE_MAP() - - -// CCardIDDlg message handlers - - -void CCardIDDlg::OnBnClickedOk() -{ - // TODO: Add your control notification handler code here - -// UpdateData(TRUE); - m_nCardIdx = m_cbCardID.GetCurSel(); - - OnOK(); -} - -BOOL CCardIDDlg::OnInitDialog() -{ - CDialog::OnInitDialog(); - - // TODO: Add extra initialization here - m_cbCardID.SetCurSel( m_nCardIdx ); - - return TRUE; // return TRUE unless you set the focus to a control - // EXCEPTION: OCX Property Pages should return FALSE -} - -// the function to get the selected CardID -int CCardIDDlg::GetCardID(void) -{ - return m_nCardIdx; -} - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223/CardIDDlg.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223/CardIDDlg.h deleted file mode 100644 index 9c02c58..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223/CardIDDlg.h +++ /dev/null @@ -1,32 +0,0 @@ -#pragma once -#include "afxwin.h" - -#include "Dask64.h" - -// CCardIDDlg dialog - -class CCardIDDlg : public CDialog -{ - DECLARE_DYNAMIC(CCardIDDlg) - -public: - CCardIDDlg(int nCardIdx, CWnd* pParent = NULL); // standard constructor - virtual ~CCardIDDlg(); - -// Dialog Data - enum { IDD = IDD_CARDID_DIALOG }; - -protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - - DECLARE_MESSAGE_MAP() -public: - virtual BOOL OnInitDialog(); - afx_msg void OnBnClickedOk(); - // the setting of CardID ComboBox - int m_nCardIdx; - // the control of CardID ComboBox - CComboBox m_cbCardID; - // the function to get the selected CardID - int GetCardID(void); -}; diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223/ReadMe.txt b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223/ReadMe.txt deleted file mode 100644 index a213b56..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223/ReadMe.txt +++ /dev/null @@ -1,93 +0,0 @@ -================================================================================ - MICROSOFT FOUNDATION CLASS LIBRARY : Util9223 Project Overview -=============================================================================== - -The application wizard has created this Util9223 application for -you. This application not only demonstrates the basics of using the Microsoft -Foundation Classes but is also a starting point for writing your application. - -This file contains a summary of what you will find in each of the files that -make up your Util9223 application. - -Util9223.vcproj - This is the main project file for VC++ projects generated using an application wizard. - It contains information about the version of Visual C++ that generated the file, and - information about the platforms, configurations, and project features selected with the - application wizard. - -Util9223.h - This is the main header file for the application. It includes other - project specific headers (including Resource.h) and declares the - CUtil9223App application class. - -Util9223.cpp - This is the main application source file that contains the application - class CUtil9223App. - -Util9223.rc - This is a listing of all of the Microsoft Windows resources that the - program uses. It includes the icons, bitmaps, and cursors that are stored - in the RES subdirectory. This file can be directly edited in Microsoft - Visual C++. Your project resources are in 1033. - -res\Util9223.ico - This is an icon file, which is used as the application's icon. This - icon is included by the main resource file Util9223.rc. - -res\Util9223.rc2 - This file contains resources that are not edited by Microsoft - Visual C++. You should place all resources not editable by - the resource editor in this file. - - -///////////////////////////////////////////////////////////////////////////// - -The application wizard creates one dialog class: - -Util9223Dlg.h, Util9223Dlg.cpp - the dialog - These files contain your CUtil9223Dlg class. This class defines - the behavior of your application's main dialog. The dialog's template is - in Util9223.rc, which can be edited in Microsoft Visual C++. - - -///////////////////////////////////////////////////////////////////////////// - -Other Features: - -ActiveX Controls - The application includes support to use ActiveX controls. - -///////////////////////////////////////////////////////////////////////////// - -Other standard files: - -StdAfx.h, StdAfx.cpp - These files are used to build a precompiled header (PCH) file - named Util9223.pch and a precompiled types file named StdAfx.obj. - -Resource.h - This is the standard header file, which defines new resource IDs. - Microsoft Visual C++ reads and updates this file. - -Util9223.manifest - Application manifest files are used by Windows XP to describe an applications - dependency on specific versions of Side-by-Side assemblies. The loader uses this - information to load the appropriate assembly from the assembly cache or private - from the application. The Application manifest maybe included for redistribution - as an external .manifest file that is installed in the same folder as the application - executable or it may be included in the executable in the form of a resource. -///////////////////////////////////////////////////////////////////////////// - -Other notes: - -The application wizard uses "TODO:" to indicate parts of the source code you -should add to or customize. - -If your application uses MFC in a shared DLL, you will need -to redistribute the MFC DLLs. If your application is in a language -other than the operating system's locale, you will also have to -redistribute the corresponding localized resources MFC90XXX.DLL. -For more information on both of these topics, please see the section on -redistributing Visual C++ applications in MSDN documentation. - -///////////////////////////////////////////////////////////////////////////// diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223/Util9111.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223/Util9111.suo deleted file mode 100644 index 6b7218e..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223/Util9111.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223/Util9221.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223/Util9221.suo deleted file mode 100644 index 4e61ea9..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223/Util9221.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223/Util9222.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223/Util9222.suo deleted file mode 100644 index 20947ba..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223/Util9222.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223/Util9223.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223/Util9223.cpp deleted file mode 100644 index 9462ca6..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223/Util9223.cpp +++ /dev/null @@ -1,111 +0,0 @@ - -// Util9223.cpp : Defines the class behaviors for the application. -// - -#include "stdafx.h" -#include "Util9223.h" -#include "Util9223Dlg.h" -#include "CardIDDlg.h" - -#ifdef _DEBUG -#define new DEBUG_NEW -#endif - - -// CUtil9223App - -BEGIN_MESSAGE_MAP(CUtil9223App, CWinAppEx) - ON_COMMAND(ID_HELP, &CWinApp::OnHelp) -END_MESSAGE_MAP() - - -// CUtil9223App construction - -CUtil9223App::CUtil9223App() -{ - // TODO: add construction code here, - // Place all significant initialization in InitInstance -} - - -// The one and only CUtil9223App object - -CUtil9223App theApp; - - -// CUtil9223App initialization - -BOOL CUtil9223App::InitInstance() -{ - int nCardID = 0; - I16 hCard; - CString strTemp; - INT_PTR nResponse; - - // InitCommonControlsEx() is required on Windows XP if an application - // manifest specifies use of ComCtl32.dll version 6 or later to enable - // visual styles. Otherwise, any window creation will fail. - INITCOMMONCONTROLSEX InitCtrls; - InitCtrls.dwSize = sizeof(InitCtrls); - // Set this to include all the common control classes you want to use - // in your application. - InitCtrls.dwICC = ICC_WIN95_CLASSES; - InitCommonControlsEx(&InitCtrls); - - CWinAppEx::InitInstance(); - - AfxEnableControlContainer(); - - // Standard initialization - // If you are not using these features and wish to reduce the size - // of your final executable, you should remove from the following - // the specific initialization routines you do not need - // Change the registry key under which our settings are stored - // TODO: You should modify this string to be something appropriate - // such as the name of your company or organization - SetRegistryKey(_T("Local AppWizard-Generated Applications")); - - CCardIDDlg CardDlg( nCardID ); - - nResponse = CardDlg.DoModal(); - if (nResponse == IDOK) - { - nCardID = CardDlg.GetCardID(); - - if ((hCard=Register_Card(PCI_9223, nCardID)) < 0) - { - strTemp.Format( TEXT("Register_Card Error = %d"), hCard); - AfxMessageBox( strTemp ); - } - else - { - CUtil9223Dlg dlg(hCard); - m_pMainWnd = &dlg; - nResponse = dlg.DoModal(); - if (nResponse == IDOK) - { - // TODO: Place code here to handle when the dialog is - // dismissed with OK - } - else if (nResponse == IDCANCEL) - { - // TODO: Place code here to handle when the dialog is - // dismissed with Cancel - } - - if (hCard >= 0) Release_Card(hCard); - } - - } - else if (nResponse == IDCANCEL) - { - // TODO: Place code here to handle when the dialog is - // dismissed with Cancel - } - - - - // Since the dialog has been closed, return FALSE so that we exit the - // application, rather than start the application's message pump. - return FALSE; -} diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223/Util9223.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223/Util9223.h deleted file mode 100644 index ee78630..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223/Util9223.h +++ /dev/null @@ -1,32 +0,0 @@ - -// Util9223.h : main header file for the PROJECT_NAME application -// - -#pragma once - -#ifndef __AFXWIN_H__ - #error "include 'stdafx.h' before including this file for PCH" -#endif - -#include "resource.h" // main symbols - - -// CUtil9223App: -// See Util9223.cpp for the implementation of this class -// - -class CUtil9223App : public CWinAppEx -{ -public: - CUtil9223App(); - -// Overrides - public: - virtual BOOL InitInstance(); - -// Implementation - - DECLARE_MESSAGE_MAP() -}; - -extern CUtil9223App theApp; \ No newline at end of file diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223/Util9223.rc b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223/Util9223.rc deleted file mode 100644 index 76fd495..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223/Util9223.rc +++ /dev/null @@ -1,362 +0,0 @@ -// Microsoft Visual C++ generated resource script. -// -#include "resource.h" - -#define APSTUDIO_READONLY_SYMBOLS -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 2 resource. -// -#ifndef APSTUDIO_INVOKED -#include "targetver.h" -#endif -#include "afxres.h" - -///////////////////////////////////////////////////////////////////////////// -#undef APSTUDIO_READONLY_SYMBOLS - -///////////////////////////////////////////////////////////////////////////// -// Chinese (Taiwan) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_CHT) -#ifdef _WIN32 -LANGUAGE LANG_CHINESE, SUBLANG_CHINESE_TRADITIONAL -#pragma code_page(950) -#endif //_WIN32 - -#ifdef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// TEXTINCLUDE -// - -1 TEXTINCLUDE -BEGIN - "resource.h\0" -END - -2 TEXTINCLUDE -BEGIN - "#ifndef APSTUDIO_INVOKED\r\n" - "#include ""targetver.h""\r\n" - "#endif\r\n" - "#include ""afxres.h""\r\n" - "\0" -END - -3 TEXTINCLUDE -BEGIN - "#define _AFX_NO_SPLITTER_RESOURCES\r\n" - "#define _AFX_NO_OLE_RESOURCES\r\n" - "#define _AFX_NO_TRACKER_RESOURCES\r\n" - "#define _AFX_NO_PROPERTY_RESOURCES\r\n" - "\r\n" - "#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)\r\n" - "LANGUAGE 9, 1\r\n" - "#pragma code_page(1252)\r\n" - "#include ""res\\Util9223.rc2"" // non-Microsoft Visual C++ edited resources\r\n" - "#include ""afxres.rc"" // Standard components\r\n" - "#endif\r\n" - "\0" -END - -#endif // APSTUDIO_INVOKED - -#endif // Chinese (Taiwan) resources -///////////////////////////////////////////////////////////////////////////// - - -///////////////////////////////////////////////////////////////////////////// -// English (U.S.) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -#ifdef _WIN32 -LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US -#pragma code_page(1252) -#endif //_WIN32 - -///////////////////////////////////////////////////////////////////////////// -// -// Icon -// - -// Icon with lowest ID value placed first to ensure application icon -// remains consistent on all systems. -IDR_MAINFRAME ICON "res\\Util9223.ico" -IDI_ICON_BLACK ICON "res\\black.ico" -IDI_ICON_RED ICON "res\\red.ico" - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog -// - -IDD_ABOUTBOX DIALOGEX 0, 0, 170, 62 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "About Util9223" -FONT 8, "MS Shell Dlg", 0, 0, 0x1 -BEGIN - ICON IDR_MAINFRAME,IDC_STATIC,14,14,21,20 - LTEXT "Util9223, Version 1.0",IDC_STATIC,42,14,114,8,SS_NOPREFIX - LTEXT "Copyright (C) 2010",IDC_STATIC,42,26,114,8 - DEFPUSHBUTTON "OK",IDOK,113,41,50,14,WS_GROUP -END - -IDD_UTIL9223_DIALOG DIALOGEX 0, 0, 345, 249 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU -EXSTYLE WS_EX_APPWINDOW -CAPTION "PCI-9223" -FONT 8, "MS Shell Dlg", 0, 0, 0x1 -BEGIN - ICON IDI_ICON_BLACK,IDC_ICON_DI00,312,199,20,20 - ICON IDI_ICON_BLACK,IDC_ICON_DI01,294,199,20,20 - ICON IDI_ICON_BLACK,IDC_ICON_DI02,276,199,20,20 - ICON IDI_ICON_BLACK,IDC_ICON_DI03,258,199,20,20 - ICON IDI_ICON_BLACK,IDC_ICON_DI04,240,199,20,20 - ICON IDI_ICON_BLACK,IDC_ICON_DI05,222,199,20,20 - ICON IDI_ICON_BLACK,IDC_ICON_DI06,204,199,20,20 - ICON IDI_ICON_BLACK,IDC_ICON_DI07,186,199,20,20 - ICON IDI_ICON_BLACK,IDC_ICON_DI08,167,199,20,20 - ICON IDI_ICON_BLACK,IDC_ICON_DI09,149,199,20,20 - ICON IDI_ICON_BLACK,IDC_ICON_DI10,131,199,20,20 - ICON IDI_ICON_BLACK,IDC_ICON_DI11,113,199,20,20 - ICON IDI_ICON_BLACK,IDC_ICON_DI12,95,199,20,20 - ICON IDI_ICON_BLACK,IDC_ICON_DI13,77,199,20,20 - ICON IDI_ICON_BLACK,IDC_ICON_DI14,59,199,20,20 - ICON IDI_ICON_BLACK,IDC_ICON_DI15,41,199,20,20 - CONTROL "",IDC_CHECK_DO00,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE | WS_TABSTOP,317,225,12,12 - CONTROL "",IDC_CHECK_DO01,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE | WS_TABSTOP,299,225,12,12 - CONTROL "",IDC_CHECK_DO02,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE | WS_TABSTOP,281,225,12,12 - CONTROL "",IDC_CHECK_DO03,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE | WS_TABSTOP,263,225,12,12 - CONTROL "",IDC_CHECK_DO04,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE | WS_TABSTOP,246,225,12,12 - CONTROL "",IDC_CHECK_DO05,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE | WS_TABSTOP,228,225,12,12 - CONTROL "",IDC_CHECK_DO06,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE | WS_TABSTOP,210,225,12,12 - CONTROL "",IDC_CHECK_DO07,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE | WS_TABSTOP,192,225,12,12 - CONTROL "",IDC_CHECK_DO08,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE | WS_TABSTOP,174,225,12,12 - CONTROL "",IDC_CHECK_DO09,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE | WS_TABSTOP,156,225,12,12 - CONTROL "",IDC_CHECK_DO10,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE | WS_TABSTOP,138,225,12,12 - CONTROL "",IDC_CHECK_DO11,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE | WS_TABSTOP,120,225,12,12 - CONTROL "",IDC_CHECK_DO12,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE | WS_TABSTOP,102,225,12,12 - CONTROL "",IDC_CHECK_DO13,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE | WS_TABSTOP,84,225,12,12 - CONTROL "",IDC_CHECK_DO14,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE | WS_TABSTOP,66,225,12,12 - CONTROL "",IDC_CHECK_DO15,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE | WS_TABSTOP,48,225,12,12 - SCROLLBAR IDC_SCROLLBAR1,128,181,162,12 - GROUPBOX "",IDC_STATIC_DRAW0,45,9,213,75,NOT WS_VISIBLE - GROUPBOX "",IDC_STATIC_DRAW1,45,90,213,75,NOT WS_VISIBLE - CONTROL 132,IDC_STATIC,"Static",SS_BITMAP,289,20,9,44 - CONTROL "0",IDC_RADIO_CH0,"Button",BS_AUTOCHECKBOX | BS_LEFTTEXT | BS_PUSHLIKE,268,21,17,10 - CONTROL "1",IDC_RADIO_CH1,"Button",BS_AUTOCHECKBOX | BS_LEFTTEXT | BS_PUSHLIKE,268,32,17,10 - CONTROL "2",IDC_RADIO_CH2,"Button",BS_AUTOCHECKBOX | BS_LEFTTEXT | BS_PUSHLIKE,268,43,17,10 - CONTROL "3",IDC_RADIO_CH3,"Button",BS_AUTOCHECKBOX | BS_LEFTTEXT | BS_PUSHLIKE,268,54,17,10 - CONTROL "4",IDC_RADIO_CH4,"Button",BS_AUTOCHECKBOX | BS_LEFTTEXT | BS_PUSHLIKE,303,21,17,10 - CONTROL "5",IDC_RADIO_CH5,"Button",BS_AUTOCHECKBOX | BS_LEFTTEXT | BS_PUSHLIKE,303,32,17,10 - CONTROL "6",IDC_RADIO_CH6,"Button",BS_AUTOCHECKBOX | BS_LEFTTEXT | BS_PUSHLIKE,303,43,17,10 - CONTROL "7",IDC_RADIO_CH7,"Button",BS_AUTOCHECKBOX | BS_LEFTTEXT | BS_PUSHLIKE,303,54,17,10 - CONTROL 132,IDC_STATIC,"Static",SS_BITMAP,288,111,9,44 - CONTROL 133,IDC_STATIC,"Static",SS_BITMAP,321,111,11,45 - CONTROL "8",IDC_RADIO_CH8,"Button",BS_AUTOCHECKBOX | BS_LEFTTEXT | BS_PUSHLIKE,266,112,17,10 - CONTROL "9",IDC_RADIO_CH9,"Button",BS_AUTOCHECKBOX | BS_LEFTTEXT | BS_PUSHLIKE,266,123,17,10 - CONTROL "10",IDC_RADIO_CH10,"Button",BS_AUTOCHECKBOX | BS_LEFTTEXT | BS_PUSHLIKE,266,134,17,10 - CONTROL "11",IDC_RADIO_CH11,"Button",BS_AUTOCHECKBOX | BS_LEFTTEXT | BS_PUSHLIKE,266,146,17,10 - CONTROL "12",IDC_RADIO_CH12,"Button",BS_AUTOCHECKBOX | BS_LEFTTEXT | BS_PUSHLIKE,302,112,17,10 - CONTROL "13",IDC_RADIO_CH13,"Button",BS_AUTOCHECKBOX | BS_LEFTTEXT | BS_PUSHLIKE,302,123,17,10 - CONTROL "14",IDC_RADIO_CH14,"Button",BS_AUTOCHECKBOX | BS_LEFTTEXT | BS_PUSHLIKE,302,134,17,10 - CONTROL "15",IDC_RADIO_CH15,"Button",BS_AUTOCHECKBOX | BS_LEFTTEXT | BS_PUSHLIKE,302,146,17,10 - CONTROL 133,IDC_STATIC,"Static",SS_BITMAP,322,20,11,45 - COMBOBOX IDC_COMBO_AI_RANGE,266,89,67,13,CBS_DROPDOWN | WS_VSCROLL | WS_TABSTOP - LTEXT "Input Range",IDC_STATIC,265,75,45,12 - LTEXT "-10 0 10",IDC_STATIC,131,169,159,12 - LTEXT "AO Channel",IDC_STATIC,39,180,41,13 - EDITTEXT IDC_EDIT_AO,298,180,29,14,ES_AUTOHSCROLL | ES_READONLY - COMBOBOX IDC_COMBO_AO_CHANNEL,84,179,35,14,CBS_DROPDOWN | WS_VSCROLL | WS_TABSTOP -END - -IDD_CARDID_DIALOG DIALOGEX 0, 0, 165, 102 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "Card ID" -FONT 8, "MS Shell Dlg", 400, 0, 0x1 -BEGIN - COMBOBOX IDC_COMBO_CARDID,75,24,71,126,CBS_DROPDOWN | WS_VSCROLL | WS_TABSTOP - LTEXT "Card Number",IDC_STATIC_01,21,25,46,12 - PUSHBUTTON "OK",IDOK,23,61,58,19 - PUSHBUTTON "CANCEL",IDCANCEL,87,61,58,19 -END - - -///////////////////////////////////////////////////////////////////////////// -// -// Version -// - -VS_VERSION_INFO VERSIONINFO - FILEVERSION 1,0,0,1 - PRODUCTVERSION 1,0,0,1 - FILEFLAGSMASK 0x3fL -#ifdef _DEBUG - FILEFLAGS 0x1L -#else - FILEFLAGS 0x0L -#endif - FILEOS 0x4L - FILETYPE 0x1L - FILESUBTYPE 0x0L -BEGIN - BLOCK "StringFileInfo" - BEGIN - BLOCK "040904e4" - BEGIN - VALUE "CompanyName", "TODO: " - VALUE "FileDescription", "TODO: " - VALUE "FileVersion", "1.0.0.1" - VALUE "InternalName", "Util9223.exe" - VALUE "LegalCopyright", "TODO: (c) . All rights reserved." - VALUE "OriginalFilename", "Util9223.exe" - VALUE "ProductName", "TODO: " - VALUE "ProductVersion", "1.0.0.1" - END - END - BLOCK "VarFileInfo" - BEGIN - VALUE "Translation", 0x409, 1252 - END -END - - -///////////////////////////////////////////////////////////////////////////// -// -// DESIGNINFO -// - -#ifdef APSTUDIO_INVOKED -GUIDELINES DESIGNINFO -BEGIN - IDD_ABOUTBOX, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 163 - TOPMARGIN, 7 - BOTTOMMARGIN, 55 - END - - IDD_UTIL9223_DIALOG, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 338 - TOPMARGIN, 7 - BOTTOMMARGIN, 242 - END - - IDD_CARDID_DIALOG, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 158 - TOPMARGIN, 6 - BOTTOMMARGIN, 95 - END -END -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// Bitmap -// - -IDB_BITMAP_SET1 BITMAP "res\\ch_set1.bmp" -IDB_BITMAP_SET2 BITMAP "res\\ch_set2.bmp" - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog Info -// - -IDD_UTIL9223_DIALOG DLGINIT -BEGIN - IDC_COMBO_AI_RANGE, 0x403, 8, 0 -0x2f2b, 0x202d, 0x3031, 0x0056, - IDC_COMBO_AI_RANGE, 0x403, 6, 0 -0x2f2b, 0x352d, 0x0056, - IDC_COMBO_AI_RANGE, 0x403, 9, 0 -0x2f2b, 0x202d, 0x2e32, 0x5635, "\000" - IDC_COMBO_AI_RANGE, 0x403, 6, 0 -0x2f2b, 0x322d, 0x0056, - IDC_COMBO_AO_CHANNEL, 0x403, 4, 0 -0x4941, 0x0030, - IDC_COMBO_AO_CHANNEL, 0x403, 4, 0 -0x4941, 0x0031, - 0 -END - -IDD_CARDID_DIALOG DLGINIT -BEGIN - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0030, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0031, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0032, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0033, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0034, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0035, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0036, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0037, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0038, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0039, - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3031, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3131, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3231, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3331, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3431, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3531, "\000" - 0 -END - - -///////////////////////////////////////////////////////////////////////////// -// -// String Table -// - -STRINGTABLE -BEGIN - IDS_ABOUTBOX "&About Util9223..." -END - -#endif // English (U.S.) resources -///////////////////////////////////////////////////////////////////////////// - - - -#ifndef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 3 resource. -// -#define _AFX_NO_SPLITTER_RESOURCES -#define _AFX_NO_OLE_RESOURCES -#define _AFX_NO_TRACKER_RESOURCES -#define _AFX_NO_PROPERTY_RESOURCES - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -LANGUAGE 9, 1 -#pragma code_page(1252) -#include "res\Util9223.rc2" // non-Microsoft Visual C++ edited resources -#include "afxres.rc" // Standard components -#endif - -///////////////////////////////////////////////////////////////////////////// -#endif // not APSTUDIO_INVOKED - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223/Util9223.sln b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223/Util9223.sln deleted file mode 100644 index 1d426f0..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223/Util9223.sln +++ /dev/null @@ -1,20 +0,0 @@ - -Microsoft Visual Studio Solution File, Format Version 10.00 -# Visual Studio 2008 -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "Util9223", "Util9223.vcproj", "{EA91AA3F-533F-4BE6-8BD6-78C091590751}" -EndProject -Global - GlobalSection(SolutionConfigurationPlatforms) = preSolution - Debug|x64 = Debug|x64 - Release|x64 = Release|x64 - EndGlobalSection - GlobalSection(ProjectConfigurationPlatforms) = postSolution - {EA91AA3F-533F-4BE6-8BD6-78C091590751}.Debug|x64.ActiveCfg = Release|x64 - {EA91AA3F-533F-4BE6-8BD6-78C091590751}.Debug|x64.Build.0 = Release|x64 - {EA91AA3F-533F-4BE6-8BD6-78C091590751}.Release|x64.ActiveCfg = Release|x64 - {EA91AA3F-533F-4BE6-8BD6-78C091590751}.Release|x64.Build.0 = Release|x64 - EndGlobalSection - GlobalSection(SolutionProperties) = preSolution - HideSolutionNode = FALSE - EndGlobalSection -EndGlobal diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223/Util9223.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223/Util9223.suo deleted file mode 100644 index f015749..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223/Util9223.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223/Util9223.vcproj b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223/Util9223.vcproj deleted file mode 100644 index f5e38c7..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223/Util9223.vcproj +++ /dev/null @@ -1,491 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223/Util9223Dlg.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223/Util9223Dlg.cpp deleted file mode 100644 index 1c622b9..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223/Util9223Dlg.cpp +++ /dev/null @@ -1,1487 +0,0 @@ - -// Util9223Dlg.cpp : implementation file -// - -#include "stdafx.h" -#include "Util9223.h" -#include "Util9223Dlg.h" - -#ifdef _DEBUG -#define new DEBUG_NEW -#endif - -CRect plotRect0, plotRect1; - - -// CAboutDlg dialog used for App About - -class CAboutDlg : public CDialog -{ -public: - CAboutDlg(); - -// Dialog Data - enum { IDD = IDD_ABOUTBOX }; - - protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - -// Implementation -protected: - DECLARE_MESSAGE_MAP() -}; - -CAboutDlg::CAboutDlg() : CDialog(CAboutDlg::IDD) -{ -} - -void CAboutDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); -} - -BEGIN_MESSAGE_MAP(CAboutDlg, CDialog) -END_MESSAGE_MAP() - - -// CUtil9223Dlg dialog - - - - -CUtil9223Dlg::CUtil9223Dlg(I16 hCard, CWnd* pParent /*=NULL*/) - : CDialog(CUtil9223Dlg::IDD, pParent) -{ - m_hIcon = AfxGetApp()->LoadIcon(IDR_MAINFRAME); - - m_hCard = hCard; - - n_PlotWidth = n_PlotHeight = -1; - OnBrush = OffBrush = NULL; - - min_val = 0x00; - max_val = 0xFFFF; - - for( int i=0; iAppendMenu(MF_SEPARATOR); - pSysMenu->AppendMenu(MF_STRING, IDM_ABOUTBOX, strAboutMenu); - } - } - - // Set the icon for this dialog. The framework does this automatically - // when the application's main window is not a dialog - SetIcon(m_hIcon, TRUE); // Set big icon - SetIcon(m_hIcon, FALSE); // Set small icon - - x_divider = 5; y_divider = 2; - - OnBrush = CreateSolidBrush( RGB(255,0,0) ); - OffBrush = CreateSolidBrush( RGB(125,0,0) ); - - RedPen.CreatePen( PS_SOLID, 1, RGB(255,0,0)); - GreenPen.CreatePen( PS_SOLID, 1, RGB(0,255,0)); - YellowPen.CreatePen( PS_SOLID, 1, RGB(255,255,0)); - BluePen.CreatePen( PS_SOLID, 1, RGB(0,0,255)); - LTBluePen.CreatePen( PS_SOLID, 1, RGB(0,128,255)); - LTRedPen.CreatePen( PS_SOLID, 1, RGB(255,128,0)); - LTGreenPen.CreatePen( PS_SOLID, 1, RGB(0,128,0)); - WhitePen.CreatePen( PS_SOLID, 1, RGB(255,255,255)); - - - if( n_PlotWidth == -1 && n_PlotHeight == -1 ) - { - ((CWnd*)GetDlgItem(IDC_STATIC_DRAW0))->GetWindowRect(&plotRect0); - ScreenToClient(&plotRect0); - - n_PlotWidth = min( plotRect0.Width(), 512); - // n_PlotHeight = plotRect0.Height() - 10; - n_PlotHeight = plotRect0.Height(); - - ((CWnd*)GetDlgItem(IDC_STATIC_DRAW1))->GetWindowRect(&plotRect1); - ScreenToClient(&plotRect1); - } - - - // TODO: Add extra initialization here - info.cbSize = sizeof(SCROLLINFO); - info.fMask = SIF_ALL; - info.nMin = 0; - info.nMax = 4096; - info.nPage = 2; - info.nPos = 0; - info.nTrackPos = 2; - m_scBarAO.SetScrollInfo(&info); - m_nAOValue = 0; - - m_cbAIRange.SetCurSel( 0 ); - max_range = 10.0; - min_range = -10.0; - m_wAdRange = AD_B_10_V; - - m_cbAOChannel.SetCurSel( 0 ); - m_wAOChannel = 0; - - m_nTimer = SetTimer( 1, 100, NULL ); - - return TRUE; // return TRUE unless you set the focus to a control -} - -void CUtil9223Dlg::OnSysCommand(UINT nID, LPARAM lParam) -{ - if ((nID & 0xFFF0) == IDM_ABOUTBOX) - { - CAboutDlg dlgAbout; - dlgAbout.DoModal(); - } - else - { - CDialog::OnSysCommand(nID, lParam); - } -} - -// If you add a minimize button to your dialog, you will need the code below -// to draw the icon. For MFC applications using the document/view model, -// this is automatically done for you by the framework. - -void CUtil9223Dlg::OnPaint() -{ - if (IsIconic()) - { - CPaintDC dc(this); // device context for painting - - SendMessage(WM_ICONERASEBKGND, reinterpret_cast(dc.GetSafeHdc()), 0); - - // Center icon in client rectangle - int cxIcon = GetSystemMetrics(SM_CXICON); - int cyIcon = GetSystemMetrics(SM_CYICON); - CRect rect; - GetClientRect(&rect); - int x = (rect.Width() - cxIcon + 1) / 2; - int y = (rect.Height() - cyIcon + 1) / 2; - - // Draw the icon - dc.DrawIcon(x, y, m_hIcon); - } - else - { - redraw_display_area(); - CDialog::OnPaint(); - } -} - -// The system calls this function to obtain the cursor to display while the user drags -// the minimized window. -HCURSOR CUtil9223Dlg::OnQueryDragIcon() -{ - return static_cast(m_hIcon); -} - - -void CUtil9223Dlg::OnHScroll(UINT nSBCode, UINT nPos, CScrollBar* pScrollBar) -{ - // TODO: Add your message handler code here and/or call default - int minpos; - int maxpos; - double fAOValue; - CString strTmp; - - m_scBarAO.GetScrollRange(&minpos, &maxpos); - maxpos = m_scBarAO.GetScrollLimit(); - - // Get the current position of scroll box. - int curpos = m_scBarAO.GetScrollPos(); - - // Determine the new position of scroll box. - switch (nSBCode) - { - case SB_LINELEFT: // Scroll left. - if (curpos > minpos) - curpos--; - break; - - case SB_LINERIGHT: // Scroll right. - if (curpos < maxpos) - curpos++; - break; - - case SB_THUMBPOSITION: // Scroll to absolute position. nPos is the position - curpos = nPos; // of the scroll box at the end of the drag operation. - - break; - - case SB_LEFT: // Scroll to far left. - case SB_RIGHT: // Scroll to far right. - case SB_ENDSCROLL: // End scroll. - case SB_PAGELEFT: // Scroll one page left. - case SB_PAGERIGHT: // Scroll one page right. - case SB_THUMBTRACK: // Drag scroll box to specified position. nPos is the - - break; - } - - // Set the new position of the thumb (scroll box). - m_scBarAO.SetScrollPos(curpos); - - if( m_nAOValue != curpos ) - { - // update the m_nAOValue value, and output AO - m_nAOValue = curpos; - fAOValue = ( 20.0 * (double)curpos / (double)(maxpos - minpos) ) - 10.0; - strTmp.Format( TEXT("%.02f"), fAOValue ); - SetDlgItemText( IDC_EDIT_AO, strTmp ); - - AO_VWriteChannel(m_hCard, m_wAOChannel, fAOValue ); - } - - - CDialog::OnHScroll(nSBCode, nPos, pScrollBar); -} - - - -void CUtil9223Dlg::OnDestroy() -{ - CDialog::OnDestroy(); - - // TODO: Add your message handler code here - - if( m_nTimer != -1 ) - { - KillTimer( m_nTimer ); - m_nTimer = -1; - } - - if( OnBrush != NULL ) - ::DeleteObject( OnBrush ); - - if( OffBrush != NULL ) - ::DeleteObject( OffBrush ); - - RedPen.DeleteObject(); - GreenPen.DeleteObject(); - YellowPen.DeleteObject(); - BluePen.DeleteObject(); - LTBluePen.DeleteObject(); - LTRedPen.DeleteObject(); - LTGreenPen.DeleteObject(); - WhitePen.DeleteObject(); -} - -void CUtil9223Dlg::OnAIRangeSelchange() -{ - // TODO: Add your control notification handler code here - U16 tmpAdRange; - int nIndex; - double maxRange, minRange; - - nIndex = m_cbAIRange.GetCurSel(); - switch( nIndex ) - { - case 0: - tmpAdRange = AD_B_10_V; - maxRange = 10.0; - minRange = -10.0; - break; - case 1: - tmpAdRange = AD_B_5_V; - maxRange = 5.0; - minRange = -5.0; - break; - case 2: - tmpAdRange = AD_B_2_5_V; - maxRange = 2.5; - minRange = -2.5; - break; - case 3: - tmpAdRange = AD_B_2_V; - maxRange = 2.0; - minRange = -2.0; - break; - } - - - if( tmpAdRange != m_wAdRange ) - { // update m_InPortA and configure the target Port - m_wAdRange = tmpAdRange; - - max_range = maxRange; - min_range = minRange; - - redraw_display_area(); - - } - -} - -void CUtil9223Dlg::OnAOChannelSelchange() -{ - // TODO: Add your control notification handler code here - U16 tmpAOChannel; - int nIndex; - - nIndex = m_cbAOChannel.GetCurSel(); - switch( nIndex ) - { - case 0: - tmpAOChannel = 0; - break; - case 1: - tmpAOChannel = 1; - break; - } - - - if( tmpAOChannel != m_wAOChannel ) - { // update m_InPortA and configure the target Port - m_wAOChannel = tmpAOChannel; - } - -} - - - -void CUtil9223Dlg::OnAI00Enable() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_RADIO_CH0 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_AIEnable[0] = 0x01; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_AIEnable[0] = 0x00; - } -} - -void CUtil9223Dlg::OnAI01Enable() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_RADIO_CH1 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_AIEnable[1] = 0x01; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_AIEnable[1] = 0x00; - } -} - -void CUtil9223Dlg::OnAI02Enable() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_RADIO_CH2 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_AIEnable[2] = 0x01; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_AIEnable[2] = 0x00; - } -} - -void CUtil9223Dlg::OnAI03Enable() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_RADIO_CH3 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_AIEnable[3] = 0x01; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_AIEnable[3] = 0x00; - } -} - -void CUtil9223Dlg::OnAI04Enable() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_RADIO_CH4 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_AIEnable[4] = 0x01; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_AIEnable[4] = 0x00; - } -} - -void CUtil9223Dlg::OnAI05Enable() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_RADIO_CH5 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_AIEnable[5] = 0x01; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_AIEnable[5] = 0x00; - } -} - -void CUtil9223Dlg::OnAI06Enable() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_RADIO_CH6 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_AIEnable[6] = 0x01; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_AIEnable[6] = 0x00; - } -} - -void CUtil9223Dlg::OnAI07Enable() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_RADIO_CH7 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_AIEnable[7] = 0x01; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_AIEnable[7] = 0x00; - } -} - -void CUtil9223Dlg::OnAI08Enable() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_RADIO_CH8 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_AIEnable[8] = 0x01; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_AIEnable[8] = 0x00; - } -} - -void CUtil9223Dlg::OnAI09Enable() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_RADIO_CH9 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_AIEnable[9] = 0x01; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_AIEnable[9] = 0x00; - } -} - -void CUtil9223Dlg::OnAI10Enable() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_RADIO_CH10 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_AIEnable[10] = 0x01; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_AIEnable[10] = 0x00; - } -} - -void CUtil9223Dlg::OnAI11Enable() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_RADIO_CH11 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_AIEnable[11] = 0x01; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_AIEnable[11] = 0x00; - } -} - -void CUtil9223Dlg::OnAI12Enable() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_RADIO_CH12 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_AIEnable[12] = 0x01; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_AIEnable[12] = 0x00; - } -} - -void CUtil9223Dlg::OnAI13Enable() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_RADIO_CH13 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_AIEnable[13] = 0x01; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_AIEnable[13] = 0x00; - } -} - -void CUtil9223Dlg::OnAI14Enable() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_RADIO_CH14 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_AIEnable[14] = 0x01; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_AIEnable[14] = 0x00; - } -} - -void CUtil9223Dlg::OnAI15Enable() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_RADIO_CH15 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_AIEnable[15] = 0x01; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_AIEnable[15] = 0x00; - } -} - -void CUtil9223Dlg::OnDo00() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_DO00 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_OutData |= 0x01; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_OutData &= (~0x01); - } - - DO_WritePort(m_hCard, 0, m_OutData); -} - -void CUtil9223Dlg::OnDo01() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_DO01 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_OutData |= 0x02; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_OutData &= (~0x02); - } - - DO_WritePort(m_hCard, 0, m_OutData); -} - -void CUtil9223Dlg::OnDo02() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_DO02 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_OutData |= 0x04; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_OutData &= (~0x04); - } - - DO_WritePort(m_hCard, 0, m_OutData); -} - -void CUtil9223Dlg::OnDo03() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_DO03 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_OutData |= 0x08; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_OutData &= (~0x08); - } - - DO_WritePort(m_hCard, 0, m_OutData); -} - -void CUtil9223Dlg::OnDo04() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_DO04 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_OutData |= 0x10; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_OutData &= (~0x10); - } - - DO_WritePort(m_hCard, 0, m_OutData); -} - -void CUtil9223Dlg::OnDo05() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_DO05 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_OutData |= 0x20; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_OutData &= (~0x20); - } - - DO_WritePort(m_hCard, 0, m_OutData); -} - -void CUtil9223Dlg::OnDo06() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_DO06 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_OutData |= 0x40; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_OutData &= (~0x40); - } - - DO_WritePort(m_hCard, 0, m_OutData); -} - -void CUtil9223Dlg::OnDo07() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_DO07 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_OutData |= 0x80; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_OutData &= (~0x80); - } - - DO_WritePort(m_hCard, 0, m_OutData); -} - -void CUtil9223Dlg::OnDo08() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_DO08 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_OutData |= 0x100; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_OutData &= (~0x100); - } - - DO_WritePort(m_hCard, 0, m_OutData); -} - -void CUtil9223Dlg::OnDo09() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_DO09 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_OutData |= 0x200; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_OutData &= (~0x200); - } - - DO_WritePort(m_hCard, 0, m_OutData); -} - -void CUtil9223Dlg::OnDo10() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_DO10 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_OutData |= 0x400; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_OutData &= (~0x400); - } - - DO_WritePort(m_hCard, 0, m_OutData); -} - -void CUtil9223Dlg::OnDo11() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_DO11 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_OutData |= 0x800; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_OutData &= (~0x800); - } - - DO_WritePort(m_hCard, 0, m_OutData); -} - -void CUtil9223Dlg::OnDo12() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_DO12 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_OutData |= 0x1000; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_OutData &= (~0x1000); - } - - DO_WritePort(m_hCard, 0, m_OutData); -} - -void CUtil9223Dlg::OnDo13() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_DO13 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_OutData |= 0x2000; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_OutData &= (~0x2000); - } - - DO_WritePort(m_hCard, 0, m_OutData); -} - -void CUtil9223Dlg::OnDo14() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_DO14 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_OutData |= 0x4000; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_OutData &= (~0x4000); - } - - DO_WritePort(m_hCard, 0, m_OutData); -} - -void CUtil9223Dlg::OnDo15() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_DO15 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_OutData |= 0x8000; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_OutData &= (~0x8000); - } - - DO_WritePort(m_hCard, 0, m_OutData); -} - -void CUtil9223Dlg::OnTimer(UINT_PTR nIDEvent) -{ - // TODO: Add your message handler code here and/or call default - U32 dwPortData,dwChangeMask; - I16 err; - - err = DI_ReadPort(m_hCard, P9111_CHANNEL_DI, &dwPortData); - dwChangeMask = dwPortData ^ m_InData; - - if( dwChangeMask != 0x00 ) // Input had been changed - { - - m_InData = dwPortData; - - if( (dwChangeMask & 0x0001) == 0x0001 ) // if the target bit is changed - { - if( (dwPortData & 0x0001) == 0x0001 ) - { - m_Icon_IN00.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_IN00.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - - if( (dwChangeMask & 0x0002) == 0x0002 ) // if the target bit is changed - { - if( (dwPortData & 0x0002) == 0x0002 ) - { - m_Icon_IN01.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_IN01.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - if( (dwChangeMask & 0x0004) == 0x0004 ) // if the target bit is changed - { - if( (dwPortData & 0x0004) == 0x0004 ) - { - m_Icon_IN02.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_IN02.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - if( (dwChangeMask & 0x0008) == 0x0008 ) // if the target bit is changed - { - if( (dwPortData & 0x0008) == 0x0008 ) - { - m_Icon_IN03.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_IN03.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - if( (dwChangeMask & 0x0010) == 0x0010 ) // if the target bit is changed - { - if( (dwPortData & 0x0010) == 0x0010 ) - { - m_Icon_IN04.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_IN04.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - if( (dwChangeMask & 0x0020) == 0x0020 ) // if the target bit is changed - { - if( (dwPortData & 0x0020) == 0x0020 ) - { - m_Icon_IN05.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_IN05.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - if( (dwChangeMask & 0x0040) == 0x0040 ) // if the target bit is changed - { - if( (dwPortData & 0x0040) == 0x0040 ) - { - m_Icon_IN06.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_IN06.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - if( (dwChangeMask & 0x0080) == 0x0080 ) // if the target bit is changed - { - if( (dwPortData & 0x0080) == 0x0080 ) - { - m_Icon_IN07.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_IN07.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - if( (dwChangeMask & 0x0100) == 0x0100 ) // if the target bit is changed - { - if( (dwPortData & 0x0100) == 0x0100 ) - { - m_Icon_IN08.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_IN08.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - - if( (dwChangeMask & 0x0200) == 0x0200 ) // if the target bit is changed - { - if( (dwPortData & 0x0200) == 0x0200 ) - { - m_Icon_IN09.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_IN09.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - if( (dwChangeMask & 0x0400) == 0x0400 ) // if the target bit is changed - { - if( (dwPortData & 0x0400) == 0x0400 ) - { - m_Icon_IN10.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_IN10.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - if( (dwChangeMask & 0x0800) == 0x0800 ) // if the target bit is changed - { - if( (dwPortData & 0x0800) == 0x0800 ) - { - m_Icon_IN11.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_IN11.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - if( (dwChangeMask & 0x1000) == 0x1000 ) // if the target bit is changed - { - if( (dwPortData & 0x1000) == 0x1000 ) - { - m_Icon_IN12.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_IN12.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - if( (dwChangeMask & 0x2000) == 0x2000 ) // if the target bit is changed - { - if( (dwPortData & 0x2000) == 0x2000 ) - { - m_Icon_IN13.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_IN13.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - if( (dwChangeMask & 0x4000) == 0x4000 ) // if the target bit is changed - { - if( (dwPortData & 0x4000) == 0x4000 ) - { - m_Icon_IN14.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_IN14.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - if( (dwChangeMask & 0x8000) == 0x8000 ) // if the target bit is changed - { - if( (dwPortData & 0x8000) == 0x8000 ) - { - m_Icon_IN15.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_IN15.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - } - - for( int i=0; i> 16) ); // ( n_PlotHeight * ai_data / 65536) ); // ( (n_PlotHeight/2) * ai_data/32768 ) ); - - - if ( m_oldY[i] !=-1 ) - { - if( i< 8 ) - { - dc_plot.MoveTo( plotRect0.left+2, newY ); - dc_plot.LineTo( plotRect0.left+5, m_oldY[i] ); - } - else - { - dc_plot.MoveTo( plotRect1.left+2, newY ); - dc_plot.LineTo( plotRect1.left+5, m_oldY[i] ); - } - } - - m_oldY[i] = newY; - } - } - - return 0; -} diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223/Util9223Dlg.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223/Util9223Dlg.h deleted file mode 100644 index aa0206f..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223/Util9223Dlg.h +++ /dev/null @@ -1,131 +0,0 @@ - -// Util9223Dlg.h : header file -// - -#pragma once -#include "afxcmn.h" -#include "afxwin.h" - -#include "Dask64.h" - -#ifndef MAX_CHAN_9222 -#define MAX_CHAN_9222 16 -#endif - -// CUtil9223Dlg dialog -class CUtil9223Dlg : public CDialog -{ -// Construction -public: - CUtil9223Dlg(I16 hCard, CWnd* pParent = NULL); // standard constructor - -// Dialog Data - enum { IDD = IDD_UTIL9223_DIALOG }; - - protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - - -// Implementation -protected: - HICON m_hIcon; - UINT_PTR m_nTimer; - I16 m_hCard; - int m_nAOValue; - U16 m_wAdRange; - U16 m_wAOChannel; - U8 m_AIEnable[MAX_CHAN_9222]; - U16 m_AIData[MAX_CHAN_9222]; - U32 m_OutData; - U32 m_InData; - - // Generated message map functions - virtual BOOL OnInitDialog(); - afx_msg void OnSysCommand(UINT nID, LPARAM lParam); - afx_msg void OnPaint(); - afx_msg HCURSOR OnQueryDragIcon(); - DECLARE_MESSAGE_MAP() -public: - CScrollBar m_scBarAO; - afx_msg void OnHScroll(UINT nSBCode, UINT nPos, CScrollBar* pScrollBar); - CComboBox m_cbAIRange; - CComboBox m_cbAOChannel; - WORD max_val; - WORD min_val; - double max_range; - double min_range; - int n_PlotWidth; - int n_PlotHeight; - int y_divider; - int x_divider; - int m_DisplayScale; - int m_oldY[MAX_CHAN_9222]; - HBRUSH OnBrush; - HBRUSH OffBrush; - CPen RedPen; - CPen GreenPen; - CPen YellowPen; - CPen BluePen; - CPen LTBluePen; - CPen LTRedPen; - CPen LTGreenPen; - CPen WhitePen; - -private: - void redraw_display_area(void); -public: - afx_msg void OnDestroy(); - afx_msg void OnAIRangeSelchange(); - afx_msg void OnAOChannelSelchange(); - afx_msg void OnAI00Enable(); - afx_msg void OnAI01Enable(); - afx_msg void OnAI02Enable(); - afx_msg void OnAI03Enable(); - afx_msg void OnAI04Enable(); - afx_msg void OnAI05Enable(); - afx_msg void OnAI06Enable(); - afx_msg void OnAI07Enable(); - afx_msg void OnAI08Enable(); - afx_msg void OnAI09Enable(); - afx_msg void OnAI10Enable(); - afx_msg void OnAI11Enable(); - afx_msg void OnAI12Enable(); - afx_msg void OnAI13Enable(); - afx_msg void OnAI14Enable(); - afx_msg void OnAI15Enable(); - afx_msg void OnDo00(); - afx_msg void OnDo01(); - afx_msg void OnDo02(); - afx_msg void OnDo03(); - afx_msg void OnDo04(); - afx_msg void OnDo05(); - afx_msg void OnDo06(); - afx_msg void OnDo07(); - afx_msg void OnDo08(); - afx_msg void OnDo09(); - afx_msg void OnDo10(); - afx_msg void OnDo11(); - afx_msg void OnDo12(); - afx_msg void OnDo13(); - afx_msg void OnDo14(); - afx_msg void OnDo15(); - afx_msg void OnTimer(UINT_PTR nIDEvent); - CStatic m_Icon_IN00; - CStatic m_Icon_IN01; - CStatic m_Icon_IN02; - CStatic m_Icon_IN03; - CStatic m_Icon_IN04; - CStatic m_Icon_IN05; - CStatic m_Icon_IN06; - CStatic m_Icon_IN07; - CStatic m_Icon_IN08; - CStatic m_Icon_IN09; - CStatic m_Icon_IN10; - CStatic m_Icon_IN11; - CStatic m_Icon_IN12; - CStatic m_Icon_IN13; - CStatic m_Icon_IN14; - CStatic m_Icon_IN15; -private: - int display_buffer_data(void); -}; diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223/res/Util9223.ico b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223/res/Util9223.ico deleted file mode 100644 index d56fbcd..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223/res/Util9223.ico and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223/res/Util9223.rc2 b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223/res/Util9223.rc2 deleted file mode 100644 index 4b43b56..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223/res/Util9223.rc2 +++ /dev/null @@ -1,13 +0,0 @@ -// -// Util9111.RC2 - resources Microsoft Visual C++ does not edit directly -// - -#ifdef APSTUDIO_INVOKED -#error this file is not editable by Microsoft Visual C++ -#endif //APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// Add manually edited resources here... - -///////////////////////////////////////////////////////////////////////////// diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223/res/black.ico b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223/res/black.ico deleted file mode 100644 index b5c375f..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223/res/black.ico and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223/res/blue.ico b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223/res/blue.ico deleted file mode 100644 index 1df4b39..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223/res/blue.ico and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223/res/ch_set1.bmp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223/res/ch_set1.bmp deleted file mode 100644 index f2374ed..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223/res/ch_set1.bmp and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223/res/ch_set2.bmp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223/res/ch_set2.bmp deleted file mode 100644 index 32d0915..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223/res/ch_set2.bmp and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223/res/green.ico b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223/res/green.ico deleted file mode 100644 index d9a9fd3..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223/res/green.ico and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223/res/pink.ico b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223/res/pink.ico deleted file mode 100644 index 18bdaad..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223/res/pink.ico and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223/res/red.ico b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223/res/red.ico deleted file mode 100644 index 7644596..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223/res/red.ico and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223/res/yellow.ico b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223/res/yellow.ico deleted file mode 100644 index 3449de2..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223/res/yellow.ico and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223/resource.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223/resource.h deleted file mode 100644 index 0e3e4e6..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223/resource.h +++ /dev/null @@ -1,83 +0,0 @@ -//{{NO_DEPENDENCIES}} -// Microsoft Visual C++ generated include file. -// Used by Util9223.rc -// -#define IDM_ABOUTBOX 0x0010 -#define IDD_ABOUTBOX 100 -#define IDS_ABOUTBOX 101 -#define IDD_UTIL9223_DIALOG 102 -#define IDR_MAINFRAME 128 -#define IDI_ICON_BLACK 130 -#define IDI_ICON_RED 131 -#define IDB_BITMAP_SET1 132 -#define IDB_BITMAP_SET2 133 -#define IDD_CARDID_DIALOG 135 -#define IDC_STATIC_DRAW0 1000 -#define IDC_COMBO_CARDID 1000 -#define IDC_SCROLLBAR1 1001 -#define IDC_STATIC_DRAW1 1002 -#define IDC_ICON_DI00 1003 -#define IDC_ICON_DI01 1004 -#define IDC_ICON_DI02 1005 -#define IDC_ICON_DI03 1006 -#define IDC_ICON_DI04 1007 -#define IDC_ICON_DI05 1008 -#define IDC_ICON_DI06 1009 -#define IDC_ICON_DI07 1010 -#define IDC_ICON_DI08 1011 -#define IDC_ICON_DI09 1012 -#define IDC_ICON_DI10 1013 -#define IDC_ICON_DI11 1014 -#define IDC_ICON_DI12 1015 -#define IDC_ICON_DI13 1016 -#define IDC_ICON_DI14 1017 -#define IDC_ICON_DI15 1018 -#define IDC_STATIC_01 1019 -#define IDC_STATIC_2 1020 -#define IDC_RADIO_CH0 1021 -#define IDC_RADIO_CH1 1022 -#define IDC_RADIO_CH2 1023 -#define IDC_RADIO_CH3 1024 -#define IDC_RADIO_CH4 1025 -#define IDC_RADIO_CH5 1026 -#define IDC_RADIO_CH6 1027 -#define IDC_RADIO_CH7 1028 -#define IDC_RADIO_CH8 1029 -#define IDC_RADIO_CH9 1030 -#define IDC_RADIO_CH10 1031 -#define IDC_RADIO_CH11 1032 -#define IDC_RADIO_CH12 1033 -#define IDC_RADIO_CH13 1034 -#define IDC_RADIO_CH14 1035 -#define IDC_RADIO_CH15 1036 -#define IDC_CHECK_DO00 1037 -#define IDC_CHECK_DO01 1038 -#define IDC_CHECK_DO02 1039 -#define IDC_CHECK_DO03 1040 -#define IDC_CHECK_DO04 1041 -#define IDC_CHECK_DO05 1042 -#define IDC_CHECK_DO06 1043 -#define IDC_CHECK_DO07 1044 -#define IDC_CHECK_DO08 1045 -#define IDC_CHECK_DO09 1046 -#define IDC_CHECK_DO10 1047 -#define IDC_CHECK_DO11 1048 -#define IDC_CHECK_DO12 1049 -#define IDC_CHECK_DO13 1050 -#define IDC_CHECK_DO14 1051 -#define IDC_CHECK_DO15 1052 -#define IDC_COMBO_AI_RANGE 1053 -#define IDC_EDIT_AO 1054 -#define IDC_COMBO1 1055 -#define IDC_COMBO_AO_CHANNEL 1055 - -// Next default values for new objects -// -#ifdef APSTUDIO_INVOKED -#ifndef APSTUDIO_READONLY_SYMBOLS -#define _APS_NEXT_RESOURCE_VALUE 137 -#define _APS_NEXT_COMMAND_VALUE 32771 -#define _APS_NEXT_CONTROL_VALUE 1056 -#define _APS_NEXT_SYMED_VALUE 101 -#endif -#endif diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223/stdafx.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223/stdafx.cpp deleted file mode 100644 index c8c8934..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223/stdafx.cpp +++ /dev/null @@ -1,8 +0,0 @@ - -// stdafx.cpp : source file that includes just the standard includes -// Util9111.pch will be the pre-compiled header -// stdafx.obj will contain the pre-compiled type information - -#include "stdafx.h" - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223/stdafx.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223/stdafx.h deleted file mode 100644 index 12123e2..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223/stdafx.h +++ /dev/null @@ -1,60 +0,0 @@ - -// stdafx.h : include file for standard system include files, -// or project specific include files that are used frequently, -// but are changed infrequently - -#pragma once - -#ifndef _SECURE_ATL -#define _SECURE_ATL 1 -#endif - -#ifndef VC_EXTRALEAN -#define VC_EXTRALEAN // Exclude rarely-used stuff from Windows headers -#endif - -#include "targetver.h" - -#define _ATL_CSTRING_EXPLICIT_CONSTRUCTORS // some CString constructors will be explicit - -// turns off MFC's hiding of some common and often safely ignored warning messages -#define _AFX_ALL_WARNINGS - -#include // MFC core and standard components -#include // MFC extensions - - -#include // MFC Automation classes - - - -#ifndef _AFX_NO_OLE_SUPPORT -#include // MFC support for Internet Explorer 4 Common Controls -#endif -#ifndef _AFX_NO_AFXCMN_SUPPORT -#include // MFC support for Windows Common Controls -#endif // _AFX_NO_AFXCMN_SUPPORT - -#include // MFC support for ribbons and control bars - - - - - - - - - -#ifdef _UNICODE -#if defined _M_IX86 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='x86' publicKeyToken='6595b64144ccf1df' language='*'\"") -#elif defined _M_IA64 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='ia64' publicKeyToken='6595b64144ccf1df' language='*'\"") -#elif defined _M_X64 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='amd64' publicKeyToken='6595b64144ccf1df' language='*'\"") -#else -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='*' publicKeyToken='6595b64144ccf1df' language='*'\"") -#endif -#endif - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223/targetver.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223/targetver.h deleted file mode 100644 index 11730d5..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223/targetver.h +++ /dev/null @@ -1,26 +0,0 @@ - -#pragma once - -// The following macros define the minimum required platform. The minimum required platform -// is the earliest version of Windows, Internet Explorer etc. that has the necessary features to run -// your application. The macros work by enabling all features available on platform versions up to and -// including the version specified. - -// Modify the following defines if you have to target a platform prior to the ones specified below. -// Refer to MSDN for the latest info on corresponding values for different platforms. -#ifndef WINVER // Specifies that the minimum required platform is Windows Vista. -#define WINVER 0x0600 // Change this to the appropriate value to target other versions of Windows. -#endif - -#ifndef _WIN32_WINNT // Specifies that the minimum required platform is Windows Vista. -#define _WIN32_WINNT 0x0600 // Change this to the appropriate value to target other versions of Windows. -#endif - -#ifndef _WIN32_WINDOWS // Specifies that the minimum required platform is Windows 98. -#define _WIN32_WINDOWS 0x0410 // Change this to the appropriate value to target Windows Me or later. -#endif - -#ifndef _WIN32_IE // Specifies that the minimum required platform is Internet Explorer 7.0. -#define _WIN32_IE 0x0700 // Change this to the appropriate value to target other versions of IE. -#endif - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AIDma/9111int.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AIDma/9111int.suo deleted file mode 100644 index 1d7a5ee..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AIDma/9111int.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AIDma/9116dma.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AIDma/9116dma.suo deleted file mode 100644 index ac40639..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AIDma/9116dma.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AIDma/9221dma.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AIDma/9221dma.suo deleted file mode 100644 index dcc1d84..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AIDma/9221dma.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AIDma/9222dma.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AIDma/9222dma.suo deleted file mode 100644 index 907197b..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AIDma/9222dma.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AIDma/9223dma.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AIDma/9223dma.cpp deleted file mode 100644 index 7c0f647..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AIDma/9223dma.cpp +++ /dev/null @@ -1,109 +0,0 @@ - -// 9223dma.cpp : Defines the class behaviors for the application. -// - -#include "stdafx.h" -#include "9223dma.h" -#include "9223dmaDlg.h" -#include "CardIDDlg.h" - -#ifdef _DEBUG -#define new DEBUG_NEW -#endif - - -// C9223dmaApp - -BEGIN_MESSAGE_MAP(C9223dmaApp, CWinAppEx) - ON_COMMAND(ID_HELP, &CWinApp::OnHelp) -END_MESSAGE_MAP() - - -// C9223dmaApp construction - -C9223dmaApp::C9223dmaApp() -{ - // TODO: add construction code here, - // Place all significant initialization in InitInstance -} - - -// The one and only C9223dmaApp object - -C9223dmaApp theApp; - - -// C9223dmaApp initialization - -BOOL C9223dmaApp::InitInstance() -{ - int nCardID = 0; - I16 hCard; - CString strTemp; - INT_PTR nResponse; - - // InitCommonControlsEx() is required on Windows XP if an application - // manifest specifies use of ComCtl32.dll version 6 or later to enable - // visual styles. Otherwise, any window creation will fail. - INITCOMMONCONTROLSEX InitCtrls; - InitCtrls.dwSize = sizeof(InitCtrls); - // Set this to include all the common control classes you want to use - // in your application. - InitCtrls.dwICC = ICC_WIN95_CLASSES; - InitCommonControlsEx(&InitCtrls); - - CWinAppEx::InitInstance(); - - AfxEnableControlContainer(); - - // Standard initialization - // If you are not using these features and wish to reduce the size - // of your final executable, you should remove from the following - // the specific initialization routines you do not need - // Change the registry key under which our settings are stored - // TODO: You should modify this string to be something appropriate - // such as the name of your company or organization - SetRegistryKey(_T("Local AppWizard-Generated Applications")); - - CCardIDDlg CardDlg( nCardID ); - - nResponse = CardDlg.DoModal(); - if (nResponse == IDOK) - { - nCardID = CardDlg.GetCardID(); - - if ((hCard=Register_Card(PCI_9223, nCardID)) < 0) - { - strTemp.Format( TEXT("Register_Card Error = %d"), hCard); - AfxMessageBox( strTemp ); - } - else - { - C9223dmaDlg dlg(hCard); - m_pMainWnd = &dlg; - nResponse = dlg.DoModal(); - if (nResponse == IDOK) - { - // TODO: Place code here to handle when the dialog is - // dismissed with OK - } - else if (nResponse == IDCANCEL) - { - // TODO: Place code here to handle when the dialog is - // dismissed with Cancel - } - - if (hCard >= 0) Release_Card(hCard); - } - - } - else if (nResponse == IDCANCEL) - { - // TODO: Place code here to handle when the dialog is - // dismissed with Cancel - } - - // Since the dialog has been closed, return FALSE so that we exit the - // application, rather than start the application's message pump. - return FALSE; -} diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AIDma/9223dma.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AIDma/9223dma.h deleted file mode 100644 index b0f6ce2..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AIDma/9223dma.h +++ /dev/null @@ -1,34 +0,0 @@ - -// 9223dma.h : main header file for the PROJECT_NAME application -// - -#pragma once - -#ifndef __AFXWIN_H__ - #error "include 'stdafx.h' before including this file for PCH" -#endif - -#include "resource.h" // main symbols - -#define AI_MODE_DMA 0 -#define AI_MODE_INT 1 - -// C9223dmaApp: -// See 9223dma.cpp for the implementation of this class -// - -class C9223dmaApp : public CWinAppEx -{ -public: - C9223dmaApp(); - -// Overrides - public: - virtual BOOL InitInstance(); - -// Implementation - - DECLARE_MESSAGE_MAP() -}; - -extern C9223dmaApp theApp; \ No newline at end of file diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AIDma/9223dma.rc b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AIDma/9223dma.rc deleted file mode 100644 index 5964127..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AIDma/9223dma.rc +++ /dev/null @@ -1,286 +0,0 @@ -// Microsoft Visual C++ generated resource script. -// -#include "resource.h" - -#define APSTUDIO_READONLY_SYMBOLS -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 2 resource. -// -#ifndef APSTUDIO_INVOKED -#include "targetver.h" -#endif -#include "afxres.h" - -///////////////////////////////////////////////////////////////////////////// -#undef APSTUDIO_READONLY_SYMBOLS - -///////////////////////////////////////////////////////////////////////////// -// Chinese (Taiwan) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_CHT) -#ifdef _WIN32 -LANGUAGE LANG_CHINESE, SUBLANG_CHINESE_TRADITIONAL -#pragma code_page(950) -#endif //_WIN32 - -#ifdef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// TEXTINCLUDE -// - -1 TEXTINCLUDE -BEGIN - "resource.h\0" -END - -2 TEXTINCLUDE -BEGIN - "#ifndef APSTUDIO_INVOKED\r\n" - "#include ""targetver.h""\r\n" - "#endif\r\n" - "#include ""afxres.h""\r\n" - "\0" -END - -3 TEXTINCLUDE -BEGIN - "#define _AFX_NO_SPLITTER_RESOURCES\r\n" - "#define _AFX_NO_OLE_RESOURCES\r\n" - "#define _AFX_NO_TRACKER_RESOURCES\r\n" - "#define _AFX_NO_PROPERTY_RESOURCES\r\n" - "\r\n" - "#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)\r\n" - "LANGUAGE 9, 1\r\n" - "#pragma code_page(1252)\r\n" - "#include ""res\\My9223dma.rc2"" // non-Microsoft Visual C++ edited resources\r\n" - "#include ""afxres.rc"" // Standard components\r\n" - "#endif\r\n" - "\0" -END - -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// Icon -// - -// Icon with lowest ID value placed first to ensure application icon -// remains consistent on all systems. -IDR_MAINFRAME ICON "res\\9223dma.ico" -#endif // Chinese (Taiwan) resources -///////////////////////////////////////////////////////////////////////////// - - -///////////////////////////////////////////////////////////////////////////// -// English (U.S.) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -#ifdef _WIN32 -LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US -#pragma code_page(1252) -#endif //_WIN32 - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog -// - -IDD_ABOUTBOX DIALOGEX 0, 0, 170, 62 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "About 9223dma" -FONT 8, "MS Shell Dlg", 0, 0, 0x1 -BEGIN - ICON IDR_MAINFRAME,IDC_STATIC,14,14,21,20 - LTEXT "9223dma, Version 1.0",IDC_STATIC,42,14,114,8,SS_NOPREFIX - LTEXT "Copyright (C) 2010",IDC_STATIC,42,26,114,8 - DEFPUSHBUTTON "OK",IDOK,113,41,50,14,WS_GROUP -END - -IDD_9223DMA_DIALOG DIALOGEX 0, 0, 365, 232 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU -EXSTYLE WS_EX_APPWINDOW -CAPTION "PCI-9223 AI Channel Read (Single-End Signal)" -FONT 8, "MS Shell Dlg", 0, 0, 0x1 -BEGIN - GROUPBOX "",IDC_STATIC_DRAW,45,9,227,161,NOT WS_VISIBLE - CONTROL 132,IDC_STATIC,"Static",SS_BITMAP,327,28,11,45 - CONTROL 131,IDC_STATIC,"Static",SS_BITMAP,298,29,9,44 - LTEXT "0",IDC_STATIC,286,29,10,11 - LTEXT "1",IDC_STATIC,286,40,10,11 - LTEXT "2",IDC_STATIC,286,51,10,11 - LTEXT "3",IDC_STATIC,286,63,10,11 - LTEXT "4",IDC_STATIC,318,29,10,11 - LTEXT "5",IDC_STATIC,318,40,10,11 - LTEXT "6",IDC_STATIC,318,51,10,11 - LTEXT "7",IDC_STATIC,318,63,10,11 - LTEXT "Range : +/- 10V",IDC_STATIC,283,130,57,15 - COMBOBOX IDC_COMBO_SCANCHAN,171,197,74,17,CBS_DROPDOWN | WS_VSCROLL | WS_TABSTOP - LTEXT "Read Channel",IDC_STATIC,171,182,53,9 - EDITTEXT IDC_EDIT_SCAN_ITERVAL,57,197,39,12,ES_AUTOHSCROLL | ES_READONLY - LTEXT "Sample Interval :",IDC_STATIC,57,182,57,9 - SCROLLBAR IDC_SCROLLBAR_RATE,97,195,9,11,SBS_VERT - PUSHBUTTON "Start",IDC_BT_START,275,188,75,22 -END - -IDD_CARDID_DIALOG DIALOGEX 0, 0, 165, 95 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "Card ID" -FONT 8, "MS Shell Dlg", 400, 0, 0x1 -BEGIN - COMBOBOX IDC_COMBO_CARDID,74,24,71,126,CBS_DROPDOWN | WS_VSCROLL | WS_TABSTOP - LTEXT "Card Number",IDC_STATIC_01,20,25,46,12 - PUSHBUTTON "OK",IDOK,22,62,58,19 - PUSHBUTTON "CANCEL",IDCANCEL,86,62,58,19 -END - - -///////////////////////////////////////////////////////////////////////////// -// -// Version -// - -VS_VERSION_INFO VERSIONINFO - FILEVERSION 1,0,0,1 - PRODUCTVERSION 1,0,0,1 - FILEFLAGSMASK 0x3fL -#ifdef _DEBUG - FILEFLAGS 0x1L -#else - FILEFLAGS 0x0L -#endif - FILEOS 0x4L - FILETYPE 0x1L - FILESUBTYPE 0x0L -BEGIN - BLOCK "StringFileInfo" - BEGIN - BLOCK "040904e4" - BEGIN - VALUE "CompanyName", "TODO: " - VALUE "FileDescription", "TODO: " - VALUE "FileVersion", "1.0.0.1" - VALUE "InternalName", "9223dma.exe" - VALUE "LegalCopyright", "TODO: (c) . All rights reserved." - VALUE "OriginalFilename", "9223dma.exe" - VALUE "ProductName", "TODO: " - VALUE "ProductVersion", "1.0.0.1" - END - END - BLOCK "VarFileInfo" - BEGIN - VALUE "Translation", 0x409, 1252 - END -END - - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog Info -// - -IDD_CARDID_DIALOG DLGINIT -BEGIN - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0030, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0031, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0032, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0033, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0034, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0035, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0036, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0037, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0038, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0039, - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3031, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3131, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3231, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3331, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3431, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3531, "\000" - 0 -END - -IDD_9223DMA_DIALOG DLGINIT -BEGIN - IDC_COMBO_SCANCHAN, 0x403, 4, 0 -0x4843, 0x0030, - IDC_COMBO_SCANCHAN, 0x403, 4, 0 -0x4843, 0x0031, - IDC_COMBO_SCANCHAN, 0x403, 4, 0 -0x4843, 0x0032, - IDC_COMBO_SCANCHAN, 0x403, 4, 0 -0x4843, 0x0033, - IDC_COMBO_SCANCHAN, 0x403, 4, 0 -0x4843, 0x0034, - IDC_COMBO_SCANCHAN, 0x403, 4, 0 -0x4843, 0x0035, - IDC_COMBO_SCANCHAN, 0x403, 4, 0 -0x4843, 0x0036, - IDC_COMBO_SCANCHAN, 0x403, 4, 0 -0x4843, 0x0037, - 0 -END - - -///////////////////////////////////////////////////////////////////////////// -// -// Bitmap -// - -IDB_BITMAP_SET1 BITMAP "res\\ch_set1.bmp" -IDB_BITMAP_SET2 BITMAP "res\\ch_set2.bmp" - -///////////////////////////////////////////////////////////////////////////// -// -// String Table -// - -STRINGTABLE -BEGIN - IDS_ABOUTBOX "&About 9223dma..." -END - -#endif // English (U.S.) resources -///////////////////////////////////////////////////////////////////////////// - - - -#ifndef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 3 resource. -// -#define _AFX_NO_SPLITTER_RESOURCES -#define _AFX_NO_OLE_RESOURCES -#define _AFX_NO_TRACKER_RESOURCES -#define _AFX_NO_PROPERTY_RESOURCES - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -LANGUAGE 9, 1 -#pragma code_page(1252) -#include "res\My9223dma.rc2" // non-Microsoft Visual C++ edited resources -#include "afxres.rc" // Standard components -#endif - -///////////////////////////////////////////////////////////////////////////// -#endif // not APSTUDIO_INVOKED - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AIDma/9223dma.sln b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AIDma/9223dma.sln deleted file mode 100644 index f13ebd0..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AIDma/9223dma.sln +++ /dev/null @@ -1,20 +0,0 @@ - -Microsoft Visual Studio Solution File, Format Version 10.00 -# Visual Studio 2008 -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "9223dma", "9223dma.vcproj", "{702163FB-B6DF-4EF5-9491-FC54D71509BC}" -EndProject -Global - GlobalSection(SolutionConfigurationPlatforms) = preSolution - Debug|x64 = Debug|x64 - Release|x64 = Release|x64 - EndGlobalSection - GlobalSection(ProjectConfigurationPlatforms) = postSolution - {702163FB-B6DF-4EF5-9491-FC54D71509BC}.Debug|x64.ActiveCfg = Release|x64 - {702163FB-B6DF-4EF5-9491-FC54D71509BC}.Debug|x64.Build.0 = Release|x64 - {702163FB-B6DF-4EF5-9491-FC54D71509BC}.Release|x64.ActiveCfg = Release|x64 - {702163FB-B6DF-4EF5-9491-FC54D71509BC}.Release|x64.Build.0 = Release|x64 - EndGlobalSection - GlobalSection(SolutionProperties) = preSolution - HideSolutionNode = FALSE - EndGlobalSection -EndGlobal diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AIDma/9223dma.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AIDma/9223dma.suo deleted file mode 100644 index 5e2a2d2..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AIDma/9223dma.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AIDma/9223dma.vcproj b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AIDma/9223dma.vcproj deleted file mode 100644 index 6423151..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AIDma/9223dma.vcproj +++ /dev/null @@ -1,294 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AIDma/9223dmaDlg.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AIDma/9223dmaDlg.cpp deleted file mode 100644 index a31f046..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AIDma/9223dmaDlg.cpp +++ /dev/null @@ -1,542 +0,0 @@ - -// 9223dmaDlg.cpp : implementation file -// - -#include "stdafx.h" -#include "9223dma.h" -#include "9223dmaDlg.h" - -#ifdef _DEBUG -#define new DEBUG_NEW -#endif - -CRect plotRect; -#define AI_SAMPLE_COUNT 40000 -#define P922X_TIMEBASE 80000000.0 - -// CAboutDlg dialog used for App About - -class CAboutDlg : public CDialog -{ -public: - CAboutDlg(); - -// Dialog Data - enum { IDD = IDD_ABOUTBOX }; - - protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - -// Implementation -protected: - DECLARE_MESSAGE_MAP() -}; - -CAboutDlg::CAboutDlg() : CDialog(CAboutDlg::IDD) -{ -} - -void CAboutDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); -} - -BEGIN_MESSAGE_MAP(CAboutDlg, CDialog) -END_MESSAGE_MAP() - - -// C9223dmaDlg dialog - - - - -C9223dmaDlg::C9223dmaDlg(I16 hCard, CWnd* pParent /*=NULL*/) - : CDialog(C9223dmaDlg::IDD, pParent) -{ - m_hIcon = AfxGetApp()->LoadIcon(IDR_MAINFRAME); - - n_PlotWidth = n_PlotHeight = -1; - OnBrush = OffBrush = NULL; - - min_val = 0x00; - max_val = 0xFFFF; - - m_dwSampIntrv = 320; - - m_hCard = hCard; - m_wScanChans = 0; - m_nTimer = -1; - -#if 1 - m_pAIBuf = NULL; -#else - m_hMem = NULL; -#endif - - m_wRange = AD_B_10_V; - - max_range = 10.0; - min_range = -10.0; -} - -void C9223dmaDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); - DDX_Control(pDX, IDC_COMBO_SCANCHAN, m_cbScanChans); -} - -BEGIN_MESSAGE_MAP(C9223dmaDlg, CDialog) - ON_WM_SYSCOMMAND() - ON_WM_PAINT() - ON_WM_QUERYDRAGICON() - //}}AFX_MSG_MAP - ON_WM_DESTROY() - ON_WM_VSCROLL() - ON_CBN_SELCHANGE(IDC_COMBO_SCANCHAN, &C9223dmaDlg::OnScanChanSelchange) - ON_BN_CLICKED(IDC_BT_START, &C9223dmaDlg::OnStart) - ON_WM_TIMER() -END_MESSAGE_MAP() - - -// C9223dmaDlg message handlers - -BOOL C9223dmaDlg::OnInitDialog() -{ - CDialog::OnInitDialog(); - - // Add "About..." menu item to system menu. - - // IDM_ABOUTBOX must be in the system command range. - ASSERT((IDM_ABOUTBOX & 0xFFF0) == IDM_ABOUTBOX); - ASSERT(IDM_ABOUTBOX < 0xF000); - - CMenu* pSysMenu = GetSystemMenu(FALSE); - if (pSysMenu != NULL) - { - BOOL bNameValid; - CString strAboutMenu; - bNameValid = strAboutMenu.LoadString(IDS_ABOUTBOX); - ASSERT(bNameValid); - if (!strAboutMenu.IsEmpty()) - { - pSysMenu->AppendMenu(MF_SEPARATOR); - pSysMenu->AppendMenu(MF_STRING, IDM_ABOUTBOX, strAboutMenu); - } - } - - // Set the icon for this dialog. The framework does this automatically - // when the application's main window is not a dialog - SetIcon(m_hIcon, TRUE); // Set big icon - SetIcon(m_hIcon, FALSE); // Set small icon - - // TODO: Add extra initialization here - x_divider = 5; y_divider = 4; - - OnBrush = CreateSolidBrush( RGB(255,0,0) ); - OffBrush = CreateSolidBrush( RGB(125,0,0) ); - - RedPen.CreatePen( PS_SOLID, 1, RGB(255,0,0)); - GreenPen.CreatePen( PS_SOLID, 1, RGB(0,255,0)); - YellowPen.CreatePen( PS_SOLID, 1, RGB(255,255,0)); - BluePen.CreatePen( PS_SOLID, 1, RGB(0,0,255)); - LTBluePen.CreatePen( PS_SOLID, 1, RGB(0,128,255)); - LTRedPen.CreatePen( PS_SOLID, 1, RGB(255,128,0)); - LTGreenPen.CreatePen( PS_SOLID, 1, RGB(0,128,0)); - WhitePen.CreatePen( PS_SOLID, 1, RGB(255,255,255)); - - if( n_PlotWidth == -1 && n_PlotHeight == -1 ) - { - ((CWnd*)GetDlgItem(IDC_STATIC_DRAW))->GetWindowRect(&plotRect); - ScreenToClient(&plotRect); - - n_PlotWidth = min( plotRect.Width(), 512); - n_PlotHeight = plotRect.Height() - 10; - } - - - // set the default SampleRate - SetDlgItemInt( IDC_EDIT_SCAN_ITERVAL, (UINT)(m_dwSampIntrv) ); - m_cbScanChans.SetCurSel( 0 ); - - return TRUE; // return TRUE unless you set the focus to a control -} - -void C9223dmaDlg::OnSysCommand(UINT nID, LPARAM lParam) -{ - if ((nID & 0xFFF0) == IDM_ABOUTBOX) - { - CAboutDlg dlgAbout; - dlgAbout.DoModal(); - } - else - { - CDialog::OnSysCommand(nID, lParam); - } -} - -// If you add a minimize button to your dialog, you will need the code below -// to draw the icon. For MFC applications using the document/view model, -// this is automatically done for you by the framework. - -void C9223dmaDlg::OnPaint() -{ - if (IsIconic()) - { - CPaintDC dc(this); // device context for painting - - SendMessage(WM_ICONERASEBKGND, reinterpret_cast(dc.GetSafeHdc()), 0); - - // Center icon in client rectangle - int cxIcon = GetSystemMetrics(SM_CXICON); - int cyIcon = GetSystemMetrics(SM_CYICON); - CRect rect; - GetClientRect(&rect); - int x = (rect.Width() - cxIcon + 1) / 2; - int y = (rect.Height() - cyIcon + 1) / 2; - - // Draw the icon - dc.DrawIcon(x, y, m_hIcon); - } - else - { - redraw_display_area(); - CDialog::OnPaint(); - } -} - -// The system calls this function to obtain the cursor to display while the user drags -// the minimized window. -HCURSOR C9223dmaDlg::OnQueryDragIcon() -{ - return static_cast(m_hIcon); -} - - -void C9223dmaDlg::redraw_display_area(void) -{ - CPen *oldPen; - - int oldMode; - COLORREF oldColor; - - CString y_lable; - - CPen minor_tick( PS_SOLID,1,RGB(132,130,132) ); -// CPen y_grid( PS_SOLID,1,RGB(206,203,132) ); - - int i, x_intv, y_intv; -// long total_sec; - - CClientDC dc_plot(this); - - // draw the base-line for x-y axises - oldPen = (CPen *)dc_plot.SelectStockObject(BLACK_PEN); - - // redraw the background - dc_plot.FillSolidRect( plotRect, RGB(0,0,0) ); - - // Re-Draw the AREA for Y-Lable - { - CBrush DIALOG_BRUSH; - CRect redraw_area, full_client; - - GetClientRect(&full_client); - ScreenToClient(&full_client); - - redraw_area.left = full_client.left; - redraw_area.top = plotRect.top - 5; - redraw_area.right = plotRect.left - 3; - redraw_area.bottom = plotRect.bottom + 10; - - DIALOG_BRUSH.CreateSysColorBrush( COLOR_3DFACE ); - - dc_plot.FillRect( redraw_area, &DIALOG_BRUSH ); - - DIALOG_BRUSH.DeleteObject(); - } - - dc_plot.MoveTo( plotRect.left - 3, plotRect.top ); - dc_plot.LineTo( plotRect.left - 3, plotRect.bottom ); - - // calculate the interval for tick/grid - y_intv = (plotRect.Height() - 10) /y_divider; - x_intv = plotRect.Width()/x_divider; - - - // set the color for tick - oldColor = dc_plot.SetTextColor( RGB(0,0,0) ); - oldMode = dc_plot.SetBkMode( TRANSPARENT ); - - for( i=0; i<= y_divider; i++ ) - { - CString tick_str; - CRect tmp_rect, tick_rect; - - // draw the tick for y-axis - dc_plot.MoveTo( plotRect.left -12, plotRect.bottom -5 - (i*y_intv) ); - dc_plot.LineTo( plotRect.left -3, plotRect.bottom -5 - (i*y_intv) ); - - tick_str.Format( _T("%.1f"), ( ((max_range-min_range)/y_divider) * i)+min_range ); - - // calculate the rectangle for text - dc_plot.DrawText( tick_str, &tmp_rect, DT_CALCRECT|DT_SINGLELINE ); - tick_rect.right = plotRect.left -14; - tick_rect.left = tick_rect.right - tmp_rect.Width(); - tick_rect.top = plotRect.bottom -5 - (i*y_intv) - tmp_rect.Height()/2; - tick_rect.bottom = tick_rect.top + tmp_rect.Height(); - - // draw the text - dc_plot.DrawText( tick_str, &tick_rect, DT_SINGLELINE|DT_RIGHT ); - - } - - // draw the minor_tick for Y axises - dc_plot.SelectObject(&minor_tick); - for( i=0; i< y_divider; i++ ) - { - dc_plot.MoveTo( plotRect.left -9, plotRect.bottom -5 - (i*y_intv) - y_intv/2 ); - dc_plot.LineTo( plotRect.left -4, plotRect.bottom -5 - (i*y_intv) - y_intv/2 ); - } - - dc_plot.SetTextColor( oldColor ); - dc_plot.SetBkMode( oldMode ); - dc_plot.SelectObject( oldPen ); -} - -void C9223dmaDlg::OnDestroy() -{ - CDialog::OnDestroy(); - - // TODO: Add your message handler code here - if( m_nTimer != -1 ) - { - KillTimer( m_nTimer ); - m_nTimer = -1; - } - - if (m_pAIBuf != NULL) - { - free( m_pAIBuf ); - m_pAIBuf = NULL; - } - - - if( OnBrush != NULL ) - ::DeleteObject( OnBrush ); - - if( OffBrush != NULL ) - ::DeleteObject( OffBrush ); - - RedPen.DeleteObject(); - GreenPen.DeleteObject(); - YellowPen.DeleteObject(); - BluePen.DeleteObject(); - LTBluePen.DeleteObject(); - LTRedPen.DeleteObject(); - LTGreenPen.DeleteObject(); - WhitePen.DeleteObject(); -} - -void C9223dmaDlg::OnVScroll(UINT nSBCode, UINT nPos, CScrollBar* pScrollBar) -{ - // TODO: Add your message handler code here and/or call default - switch ( nSBCode ) - { - case SB_LINEUP : - m_dwSampIntrv += 160; - if (m_dwSampIntrv > 40000 ) m_dwSampIntrv = 40000; - - break; - case SB_LINEDOWN: - m_dwSampIntrv -= 160; - if (m_dwSampIntrv < 160 ) m_dwSampIntrv = 160; - - break; - } - - SetDlgItemInt( IDC_EDIT_SCAN_ITERVAL, (UINT)(m_dwSampIntrv) ); - - CDialog::OnVScroll(nSBCode, nPos, pScrollBar); -} - -void C9223dmaDlg::OnScanChanSelchange() -{ - // TODO: Add your control notification handler code here - int nIndex; - - nIndex = m_cbScanChans.GetCurSel(); - m_wScanChans = (U16)nIndex; -} - -void C9223dmaDlg::OnStart() -{ - // TODO: Add your control notification handler code here - DWORD mem_size; - CString strTemp; - I16 err; - - GetDlgItem( IDC_BT_START )->EnableWindow(FALSE); - - if (m_pAIBuf != NULL) - { - free( m_pAIBuf ); - m_pAIBuf = NULL; - } - - // allocate a memory for user DMA buffer - mem_size = AI_SAMPLE_COUNT * sizeof(I16); - - m_pAIBuf = (U16*)malloc( mem_size ); - if (m_pAIBuf == NULL ) - { - AfxMessageBox( TEXT("Memory allocation failed"), MB_OK); - } - else - { - memset( m_pAIBuf, '\0', mem_size ); - } - - - m_oldY[0] = m_oldY[1] = m_oldY[2] = m_oldY[3] = m_oldY[4] = m_oldY[5] = m_oldY[6] = m_oldY[7] = -1; - m_oldX[0] = m_oldX[1] = m_oldX[2] = m_oldX[3] = m_oldX[4] = m_oldX[5] = m_oldX[6] = m_oldX[7] = -1; - - /*Configure AI*/ - err = AI_9222_Config(m_hCard, (P922x_AI_SingEnded|P922x_AI_CONVSRC_INT), (P922x_AI_TRGMOD_POST|P922x_AI_TRGSRC_SOFT), 0, TRUE); - if (err!=0) - { - strTemp.Format( TEXT("AI_9222_Config error=%d"), err); - AfxMessageBox( strTemp ); - return; - } - - /*Set Scan and Sampling Rate*/ - err = AI_9222_CounterInterval(m_hCard, m_dwSampIntrv, m_dwSampIntrv); - if (err!=0) - { - strTemp.Format( TEXT("AI_9222_CounterInterval error=%d"), err); - AfxMessageBox( strTemp ); - return; - } - - /*Disable Double Buffer Mode*/ - err = AI_AsyncDblBufferMode(m_hCard, 0); // single-buffer mode - if (err!=0) - { - strTemp.Format( TEXT("AI_DblBufferMode error=%d"), err); - AfxMessageBox( strTemp ); - return; - } - - err = AI_ContBufferSetup (m_hCard, m_pAIBuf, AI_SAMPLE_COUNT, &m_wBufferID); - if (err!=0) - { - strTemp.Format( TEXT("AI_ContBufferSetup error=%d"), err); - AfxMessageBox( strTemp ); - return; - } - - err = AI_ContReadChannel(m_hCard, m_wScanChans, m_wRange, &m_wBufferID, AI_SAMPLE_COUNT, 0/*Ignore*/, ASYNCH_OP); - if (err!=0) - { - strTemp.Format( TEXT("AI_ContScanChannels error=%d"), err); - AfxMessageBox( strTemp ); - return; - } - - m_nTimer = SetTimer( 1, 20, NULL ); - -} - -int C9223dmaDlg::display_buffer_data(U16* pBuf) -{ - CClientDC dc_plot(this); - int nDraw_Origin_Y; - int cur_channel; - - int newY = -1; - int newX = -1; - U32 index; - I16 ai_data; - - dc_plot.FillSolidRect( plotRect, RGB(0,0,0) ); - - switch(m_wScanChans) - { - case 0: - dc_plot.SelectObject(&YellowPen); - break; - case 1: - dc_plot.SelectObject(<GreenPen); - break; - case 2: - dc_plot.SelectObject(&BluePen); - break; - case 3: - dc_plot.SelectObject(&RedPen); - break; - case 4: - dc_plot.SelectObject(<BluePen); - break; - case 5: - dc_plot.SelectObject(<RedPen); - break; - case 6: - dc_plot.SelectObject(&GreenPen); - break; - case 7: - dc_plot.SelectObject(&WhitePen); - break; - } - - cur_channel = m_wScanChans; - - - nDraw_Origin_Y = ( plotRect.bottom - 5 ) - n_PlotHeight/2; - - for( index=0; index> 16) ); // ( n_PlotHeight * ai_data / 65536) ); // ( (n_PlotHeight/2) * ai_data/32768 ) ); - - newX = (int)( index*n_PlotWidth/AI_SAMPLE_COUNT + plotRect.left ); - - if ( m_oldX[cur_channel] == -1 ) - { - dc_plot.MoveTo( newX, newY ); - } - else - { - dc_plot.MoveTo( m_oldX[cur_channel], m_oldY[cur_channel] ); - dc_plot.LineTo( newX, newY ); - } - - m_oldX[cur_channel] = newX; - m_oldY[cur_channel] = newY; - } - - return 0; -} - -void C9223dmaDlg::OnTimer(UINT_PTR nIDEvent) -{ - // TODO: Add your message handler code here and/or call default - BOOLEAN fstop; - U32 count; - - AI_AsyncCheck(m_hCard, &fstop, &count); - - if( fstop == TRUE ) - { - AI_AsyncClear(m_hCard, &count); - - KillTimer( m_nTimer ); - m_nTimer = -1; - - display_buffer_data( m_pAIBuf ); - - GetDlgItem( IDC_BT_START )->EnableWindow(TRUE); - } - - CDialog::OnTimer(nIDEvent); -} diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AIDma/9223dmaDlg.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AIDma/9223dmaDlg.h deleted file mode 100644 index 2251903..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AIDma/9223dmaDlg.h +++ /dev/null @@ -1,75 +0,0 @@ - -// 9223dmaDlg.h : header file -#pragma once -#include "afxcmn.h" -#include "afxwin.h" - -#include "Dask64.h" - - -// C9223dmaDlg dialog -class C9223dmaDlg : public CDialog -{ -// Construction -public: - C9223dmaDlg(I16 hCard, CWnd* pParent = NULL); // standard constructor - -// Dialog Data - enum { IDD = IDD_9223DMA_DIALOG }; - - protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - - -// Implementation -protected: - HICON m_hIcon; - UINT_PTR m_nTimer; - I16 m_hCard; - U32 m_dwSampIntrv; - U16 m_wScanChans; - U16 m_wBufferID; -#if 0 - HANDLE m_hMem; -#endif - U16 *m_pAIBuf; - U16 m_wRange; - int m_oldY[8]; - int m_oldX[8]; - - // Generated message map functions - virtual BOOL OnInitDialog(); - afx_msg void OnSysCommand(UINT nID, LPARAM lParam); - afx_msg void OnPaint(); - afx_msg HCURSOR OnQueryDragIcon(); - DECLARE_MESSAGE_MAP() - -public: - WORD max_val; - WORD min_val; - double max_range; - double min_range; - int n_PlotWidth; - int n_PlotHeight; - int y_divider; - int x_divider; - int m_DisplayScale; - HBRUSH OnBrush; - HBRUSH OffBrush; - CPen RedPen; - CPen GreenPen; - CPen YellowPen; - CPen BluePen; - CPen LTBluePen; - CPen LTRedPen; - CPen LTGreenPen; - CPen WhitePen; - void redraw_display_area(void); - afx_msg void OnDestroy(); - CComboBox m_cbScanChans; - afx_msg void OnVScroll(UINT nSBCode, UINT nPos, CScrollBar* pScrollBar); - afx_msg void OnScanChanSelchange(); - afx_msg void OnStart(); - int display_buffer_data(U16* pBuf); - afx_msg void OnTimer(UINT_PTR nIDEvent); -}; diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AIDma/CardIDDlg.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AIDma/CardIDDlg.cpp deleted file mode 100644 index 5ba0991..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AIDma/CardIDDlg.cpp +++ /dev/null @@ -1,64 +0,0 @@ -// CardIDDlg.cpp : implementation file -// -#include "stdafx.h" -#include "9223dma.h" -#include "9223dmaDlg.h" -#include "CardIDDlg.h" - -// CCardIDDlg dialog - -IMPLEMENT_DYNAMIC(CCardIDDlg, CDialog) - -CCardIDDlg::CCardIDDlg(int nCardIdx, CWnd* pParent /*=NULL*/) - : CDialog(CCardIDDlg::IDD, pParent) -{ - m_nCardIdx = nCardIdx; -} - -CCardIDDlg::~CCardIDDlg() -{ -} - -void CCardIDDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); - DDX_Control(pDX, IDC_COMBO_CARDID, m_cbCardID); -} - - -BEGIN_MESSAGE_MAP(CCardIDDlg, CDialog) -// ON_CBN_SELCHANGE(IDC_COMBO_CARDID, &CCardIDDlg::OnCbnSelchangeComboCardid) -ON_BN_CLICKED(IDOK, &CCardIDDlg::OnBnClickedOk) -//ON_WM_CTLCOLOR() -END_MESSAGE_MAP() - - -// CCardIDDlg message handlers - - -void CCardIDDlg::OnBnClickedOk() -{ - // TODO: Add your control notification handler code here - -// UpdateData(TRUE); - m_nCardIdx = m_cbCardID.GetCurSel(); - - OnOK(); -} - -BOOL CCardIDDlg::OnInitDialog() -{ - CDialog::OnInitDialog(); - - // TODO: Add extra initialization here - m_cbCardID.SetCurSel( m_nCardIdx ); - - return TRUE; // return TRUE unless you set the focus to a control - // EXCEPTION: OCX Property Pages should return FALSE -} - -// the function to get the selected CardID -int CCardIDDlg::GetCardID(void) -{ - return m_nCardIdx; -} diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AIDma/CardIDDlg.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AIDma/CardIDDlg.h deleted file mode 100644 index 9c02c58..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AIDma/CardIDDlg.h +++ /dev/null @@ -1,32 +0,0 @@ -#pragma once -#include "afxwin.h" - -#include "Dask64.h" - -// CCardIDDlg dialog - -class CCardIDDlg : public CDialog -{ - DECLARE_DYNAMIC(CCardIDDlg) - -public: - CCardIDDlg(int nCardIdx, CWnd* pParent = NULL); // standard constructor - virtual ~CCardIDDlg(); - -// Dialog Data - enum { IDD = IDD_CARDID_DIALOG }; - -protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - - DECLARE_MESSAGE_MAP() -public: - virtual BOOL OnInitDialog(); - afx_msg void OnBnClickedOk(); - // the setting of CardID ComboBox - int m_nCardIdx; - // the control of CardID ComboBox - CComboBox m_cbCardID; - // the function to get the selected CardID - int GetCardID(void); -}; diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AIDma/ReadMe.txt b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AIDma/ReadMe.txt deleted file mode 100644 index 13fee67..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AIDma/ReadMe.txt +++ /dev/null @@ -1,93 +0,0 @@ -================================================================================ - MICROSOFT FOUNDATION CLASS LIBRARY : 9223dma Project Overview -=============================================================================== - -The application wizard has created this 9223dma application for -you. This application not only demonstrates the basics of using the Microsoft -Foundation Classes but is also a starting point for writing your application. - -This file contains a summary of what you will find in each of the files that -make up your 9223dma application. - -9223dma.vcproj - This is the main project file for VC++ projects generated using an application wizard. - It contains information about the version of Visual C++ that generated the file, and - information about the platforms, configurations, and project features selected with the - application wizard. - -9223dma.h - This is the main header file for the application. It includes other - project specific headers (including Resource.h) and declares the - C9223dmaApp application class. - -9223dma.cpp - This is the main application source file that contains the application - class C9223dmaApp. - -9223dma.rc - This is a listing of all of the Microsoft Windows resources that the - program uses. It includes the icons, bitmaps, and cursors that are stored - in the RES subdirectory. This file can be directly edited in Microsoft - Visual C++. Your project resources are in 1033. - -res\9223dma.ico - This is an icon file, which is used as the application's icon. This - icon is included by the main resource file 9223dma.rc. - -res\My9223dma.rc2 - This file contains resources that are not edited by Microsoft - Visual C++. You should place all resources not editable by - the resource editor in this file. - - -///////////////////////////////////////////////////////////////////////////// - -The application wizard creates one dialog class: - -9223dmaDlg.h, 9223dmaDlg.cpp - the dialog - These files contain your C9223dmaDlg class. This class defines - the behavior of your application's main dialog. The dialog's template is - in 9223dma.rc, which can be edited in Microsoft Visual C++. - - -///////////////////////////////////////////////////////////////////////////// - -Other Features: - -ActiveX Controls - The application includes support to use ActiveX controls. - -///////////////////////////////////////////////////////////////////////////// - -Other standard files: - -StdAfx.h, StdAfx.cpp - These files are used to build a precompiled header (PCH) file - named 9223dma.pch and a precompiled types file named StdAfx.obj. - -Resource.h - This is the standard header file, which defines new resource IDs. - Microsoft Visual C++ reads and updates this file. - -9223dma.manifest - Application manifest files are used by Windows XP to describe an applications - dependency on specific versions of Side-by-Side assemblies. The loader uses this - information to load the appropriate assembly from the assembly cache or private - from the application. The Application manifest maybe included for redistribution - as an external .manifest file that is installed in the same folder as the application - executable or it may be included in the executable in the form of a resource. -///////////////////////////////////////////////////////////////////////////// - -Other notes: - -The application wizard uses "TODO:" to indicate parts of the source code you -should add to or customize. - -If your application uses MFC in a shared DLL, you will need -to redistribute the MFC DLLs. If your application is in a language -other than the operating system's locale, you will also have to -redistribute the corresponding localized resources MFC90XXX.DLL. -For more information on both of these topics, please see the section on -redistributing Visual C++ applications in MSDN documentation. - -///////////////////////////////////////////////////////////////////////////// diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AIDma/res/9223dma.ico b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AIDma/res/9223dma.ico deleted file mode 100644 index d56fbcd..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AIDma/res/9223dma.ico and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AIDma/res/My9223dma.rc2 b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AIDma/res/My9223dma.rc2 deleted file mode 100644 index 383cde2..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AIDma/res/My9223dma.rc2 +++ /dev/null @@ -1,13 +0,0 @@ -// -// My9111int.RC2 - resources Microsoft Visual C++ does not edit directly -// - -#ifdef APSTUDIO_INVOKED -#error this file is not editable by Microsoft Visual C++ -#endif //APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// Add manually edited resources here... - -///////////////////////////////////////////////////////////////////////////// diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AIDma/res/ch_set1.bmp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AIDma/res/ch_set1.bmp deleted file mode 100644 index f2374ed..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AIDma/res/ch_set1.bmp and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AIDma/res/ch_set2.bmp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AIDma/res/ch_set2.bmp deleted file mode 100644 index 32d0915..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AIDma/res/ch_set2.bmp and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AIDma/resource.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AIDma/resource.h deleted file mode 100644 index c4cb6ab..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AIDma/resource.h +++ /dev/null @@ -1,33 +0,0 @@ -//{{NO_DEPENDENCIES}} -// Microsoft Visual C++ generated include file. -// Used by 9223dma.rc -// -#define IDM_ABOUTBOX 0x0010 -#define IDD_ABOUTBOX 100 -#define IDS_ABOUTBOX 101 -#define IDD_9223DMA_DIALOG 102 -#define IDR_MAINFRAME 128 -#define IDD_CARDID_DIALOG 129 -#define IDB_BITMAP_SET1 131 -#define IDB_BITMAP_SET2 132 -#define IDC_STATIC_DRAW 1000 -#define IDC_COMBO_CARDID 1001 -#define IDC_COMBO_SCANCHAN 1001 -#define IDC_COMBO_CARDTYPE 1002 -#define IDC_BUTTON1 1002 -#define IDC_BT_START 1002 -#define IDC_EDIT_SCAN_ITERVAL 1003 -#define IDC_SCROLLBAR_RATE 1006 -#define IDC_STATIC_01 1014 -#define IDC_STATIC_2 1015 - -// Next default values for new objects -// -#ifdef APSTUDIO_INVOKED -#ifndef APSTUDIO_READONLY_SYMBOLS -#define _APS_NEXT_RESOURCE_VALUE 134 -#define _APS_NEXT_COMMAND_VALUE 32771 -#define _APS_NEXT_CONTROL_VALUE 1003 -#define _APS_NEXT_SYMED_VALUE 101 -#endif -#endif diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AIDma/stdafx.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AIDma/stdafx.cpp deleted file mode 100644 index a27df68..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AIDma/stdafx.cpp +++ /dev/null @@ -1,8 +0,0 @@ - -// stdafx.cpp : source file that includes just the standard includes -// 9223dma.pch will be the pre-compiled header -// stdafx.obj will contain the pre-compiled type information - -#include "stdafx.h" - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AIDma/stdafx.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AIDma/stdafx.h deleted file mode 100644 index 12123e2..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AIDma/stdafx.h +++ /dev/null @@ -1,60 +0,0 @@ - -// stdafx.h : include file for standard system include files, -// or project specific include files that are used frequently, -// but are changed infrequently - -#pragma once - -#ifndef _SECURE_ATL -#define _SECURE_ATL 1 -#endif - -#ifndef VC_EXTRALEAN -#define VC_EXTRALEAN // Exclude rarely-used stuff from Windows headers -#endif - -#include "targetver.h" - -#define _ATL_CSTRING_EXPLICIT_CONSTRUCTORS // some CString constructors will be explicit - -// turns off MFC's hiding of some common and often safely ignored warning messages -#define _AFX_ALL_WARNINGS - -#include // MFC core and standard components -#include // MFC extensions - - -#include // MFC Automation classes - - - -#ifndef _AFX_NO_OLE_SUPPORT -#include // MFC support for Internet Explorer 4 Common Controls -#endif -#ifndef _AFX_NO_AFXCMN_SUPPORT -#include // MFC support for Windows Common Controls -#endif // _AFX_NO_AFXCMN_SUPPORT - -#include // MFC support for ribbons and control bars - - - - - - - - - -#ifdef _UNICODE -#if defined _M_IX86 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='x86' publicKeyToken='6595b64144ccf1df' language='*'\"") -#elif defined _M_IA64 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='ia64' publicKeyToken='6595b64144ccf1df' language='*'\"") -#elif defined _M_X64 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='amd64' publicKeyToken='6595b64144ccf1df' language='*'\"") -#else -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='*' publicKeyToken='6595b64144ccf1df' language='*'\"") -#endif -#endif - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AIDma/targetver.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AIDma/targetver.h deleted file mode 100644 index 11730d5..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AIDma/targetver.h +++ /dev/null @@ -1,26 +0,0 @@ - -#pragma once - -// The following macros define the minimum required platform. The minimum required platform -// is the earliest version of Windows, Internet Explorer etc. that has the necessary features to run -// your application. The macros work by enabling all features available on platform versions up to and -// including the version specified. - -// Modify the following defines if you have to target a platform prior to the ones specified below. -// Refer to MSDN for the latest info on corresponding values for different platforms. -#ifndef WINVER // Specifies that the minimum required platform is Windows Vista. -#define WINVER 0x0600 // Change this to the appropriate value to target other versions of Windows. -#endif - -#ifndef _WIN32_WINNT // Specifies that the minimum required platform is Windows Vista. -#define _WIN32_WINNT 0x0600 // Change this to the appropriate value to target other versions of Windows. -#endif - -#ifndef _WIN32_WINDOWS // Specifies that the minimum required platform is Windows 98. -#define _WIN32_WINDOWS 0x0410 // Change this to the appropriate value to target Windows Me or later. -#endif - -#ifndef _WIN32_IE // Specifies that the minimum required platform is Internet Explorer 7.0. -#define _WIN32_IE 0x0700 // Change this to the appropriate value to target other versions of IE. -#endif - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AIDma_Dbf/9111DbInt.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AIDma_Dbf/9111DbInt.suo deleted file mode 100644 index 3fde864..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AIDma_Dbf/9111DbInt.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AIDma_Dbf/9111PostTg.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AIDma_Dbf/9111PostTg.suo deleted file mode 100644 index c59a833..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AIDma_Dbf/9111PostTg.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AIDma_Dbf/9111int.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AIDma_Dbf/9111int.suo deleted file mode 100644 index aaca7d8..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AIDma_Dbf/9111int.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AIDma_Dbf/9116cdma.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AIDma_Dbf/9116cdma.suo deleted file mode 100644 index df9f193..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AIDma_Dbf/9116cdma.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AIDma_Dbf/9118cdma.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AIDma_Dbf/9118cdma.suo deleted file mode 100644 index 9318437..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AIDma_Dbf/9118cdma.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AIDma_Dbf/9221cdma.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AIDma_Dbf/9221cdma.suo deleted file mode 100644 index 9cb61ca..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AIDma_Dbf/9221cdma.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AIDma_Dbf/9222cdma.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AIDma_Dbf/9222cdma.suo deleted file mode 100644 index 1ace763..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AIDma_Dbf/9222cdma.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AIDma_Dbf/9223cdma.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AIDma_Dbf/9223cdma.cpp deleted file mode 100644 index f121734..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AIDma_Dbf/9223cdma.cpp +++ /dev/null @@ -1,109 +0,0 @@ - -// 9223cdma.cpp : Defines the class behaviors for the application. -// - -#include "stdafx.h" -#include "9223cdma.h" -#include "9223cdmaDlg.h" -#include "CardIDDlg.h" - -#ifdef _DEBUG -#define new DEBUG_NEW -#endif - - -// C9223cdmaApp - -BEGIN_MESSAGE_MAP(C9223cdmaApp, CWinAppEx) - ON_COMMAND(ID_HELP, &CWinApp::OnHelp) -END_MESSAGE_MAP() - - -// C9223cdmaApp construction - -C9223cdmaApp::C9223cdmaApp() -{ - // TODO: add construction code here, - // Place all significant initialization in InitInstance -} - - -// The one and only C9223cdmaApp object - -C9223cdmaApp theApp; - - -// C9223cdmaApp initialization - -BOOL C9223cdmaApp::InitInstance() -{ - int nCardID = 0; - I16 hCard; - CString strTemp; - INT_PTR nResponse; - - // InitCommonControlsEx() is required on Windows XP if an application - // manifest specifies use of ComCtl32.dll version 6 or later to enable - // visual styles. Otherwise, any window creation will fail. - INITCOMMONCONTROLSEX InitCtrls; - InitCtrls.dwSize = sizeof(InitCtrls); - // Set this to include all the common control classes you want to use - // in your application. - InitCtrls.dwICC = ICC_WIN95_CLASSES; - InitCommonControlsEx(&InitCtrls); - - CWinAppEx::InitInstance(); - - AfxEnableControlContainer(); - - // Standard initialization - // If you are not using these features and wish to reduce the size - // of your final executable, you should remove from the following - // the specific initialization routines you do not need - // Change the registry key under which our settings are stored - // TODO: You should modify this string to be something appropriate - // such as the name of your company or organization - SetRegistryKey(_T("Local AppWizard-Generated Applications")); - - CCardIDDlg CardDlg( nCardID ); - - nResponse = CardDlg.DoModal(); - if (nResponse == IDOK) - { - nCardID = CardDlg.GetCardID(); - - if ((hCard=Register_Card(PCI_9223, nCardID)) < 0) - { - strTemp.Format( TEXT("Register_Card Error = %d"), hCard); - AfxMessageBox( strTemp ); - } - else - { - C9223cdmaDlg dlg(hCard); - m_pMainWnd = &dlg; - nResponse = dlg.DoModal(); - if (nResponse == IDOK) - { - // TODO: Place code here to handle when the dialog is - // dismissed with OK - } - else if (nResponse == IDCANCEL) - { - // TODO: Place code here to handle when the dialog is - // dismissed with Cancel - } - - if (hCard >= 0) Release_Card(hCard); - } - - } - else if (nResponse == IDCANCEL) - { - // TODO: Place code here to handle when the dialog is - // dismissed with Cancel - } - - // Since the dialog has been closed, return FALSE so that we exit the - // application, rather than start the application's message pump. - return FALSE; -} diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AIDma_Dbf/9223cdma.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AIDma_Dbf/9223cdma.h deleted file mode 100644 index 27ba83d..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AIDma_Dbf/9223cdma.h +++ /dev/null @@ -1,34 +0,0 @@ - -// 9223cdma.h : main header file for the PROJECT_NAME application -// - -#pragma once - -#ifndef __AFXWIN_H__ - #error "include 'stdafx.h' before including this file for PCH" -#endif - -#include "resource.h" // main symbols - -#define AI_MODE_DMA 0 -#define AI_MODE_INT 1 - -// C9223cdmaApp: -// See 9223cdma.cpp for the implementation of this class -// - -class C9223cdmaApp : public CWinAppEx -{ -public: - C9223cdmaApp(); - -// Overrides - public: - virtual BOOL InitInstance(); - -// Implementation - - DECLARE_MESSAGE_MAP() -}; - -extern C9223cdmaApp theApp; \ No newline at end of file diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AIDma_Dbf/9223cdma.rc b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AIDma_Dbf/9223cdma.rc deleted file mode 100644 index 5470371..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AIDma_Dbf/9223cdma.rc +++ /dev/null @@ -1,293 +0,0 @@ -// Microsoft Visual C++ generated resource script. -// -#include "resource.h" - -#define APSTUDIO_READONLY_SYMBOLS -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 2 resource. -// -#ifndef APSTUDIO_INVOKED -#include "targetver.h" -#endif -#include "afxres.h" - -///////////////////////////////////////////////////////////////////////////// -#undef APSTUDIO_READONLY_SYMBOLS - -///////////////////////////////////////////////////////////////////////////// -// Chinese (Taiwan) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_CHT) -#ifdef _WIN32 -LANGUAGE LANG_CHINESE, SUBLANG_CHINESE_TRADITIONAL -#pragma code_page(950) -#endif //_WIN32 - -#ifdef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// TEXTINCLUDE -// - -1 TEXTINCLUDE -BEGIN - "resource.h\0" -END - -2 TEXTINCLUDE -BEGIN - "#ifndef APSTUDIO_INVOKED\r\n" - "#include ""targetver.h""\r\n" - "#endif\r\n" - "#include ""afxres.h""\r\n" - "\0" -END - -3 TEXTINCLUDE -BEGIN - "#define _AFX_NO_SPLITTER_RESOURCES\r\n" - "#define _AFX_NO_OLE_RESOURCES\r\n" - "#define _AFX_NO_TRACKER_RESOURCES\r\n" - "#define _AFX_NO_PROPERTY_RESOURCES\r\n" - "\r\n" - "#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)\r\n" - "LANGUAGE 9, 1\r\n" - "#pragma code_page(1252)\r\n" - "#include ""res\\My9223cdma.rc2"" // non-Microsoft Visual C++ edited resources\r\n" - "#include ""afxres.rc"" // Standard components\r\n" - "#endif\r\n" - "\0" -END - -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// Icon -// - -// Icon with lowest ID value placed first to ensure application icon -// remains consistent on all systems. -IDR_MAINFRAME ICON "res\\9223cdma.ico" -#endif // Chinese (Taiwan) resources -///////////////////////////////////////////////////////////////////////////// - - -///////////////////////////////////////////////////////////////////////////// -// English (U.S.) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -#ifdef _WIN32 -LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US -#pragma code_page(1252) -#endif //_WIN32 - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog -// - -IDD_ABOUTBOX DIALOGEX 0, 0, 170, 62 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "About 9223cdma" -FONT 8, "MS Shell Dlg", 0, 0, 0x1 -BEGIN - ICON IDR_MAINFRAME,IDC_STATIC,14,14,21,20 - LTEXT "9223cdma, Version 1.0",IDC_STATIC,42,14,114,8,SS_NOPREFIX - LTEXT "Copyright (C) 2010",IDC_STATIC,42,26,114,8 - DEFPUSHBUTTON "OK",IDOK,113,41,50,14,WS_GROUP -END - -IDD_9223DMA_DIALOG DIALOGEX 0, 0, 365, 232 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU -EXSTYLE WS_EX_APPWINDOW -CAPTION "PCI-9223 Double-Buffered DMA (Single-End Singal)" -FONT 8, "MS Shell Dlg", 0, 0, 0x1 -BEGIN - GROUPBOX "",IDC_STATIC_DRAW,45,9,248,161,NOT WS_VISIBLE - LTEXT "Range : +/- 10V",IDC_STATIC,299,129,52,15 - LTEXT "Buffer Size :",IDC_STATIC,124,184,42,9 - EDITTEXT IDC_EDIT_SCAN_ITERVAL,47,198,39,14,ES_AUTOHSCROLL | ES_READONLY - LTEXT "Sample Interval :",IDC_STATIC,47,184,60,9 - SCROLLBAR IDC_SCROLLBAR_RATE,87,198,9,11,SBS_VERT - PUSHBUTTON "Start",IDC_BT_START,230,188,55,22 - CONTROL "0",IDC_RADIO_CH0,"Button",BS_AUTORADIOBUTTON | BS_LEFTTEXT,307,20,16,12 - CONTROL "1",IDC_RADIO_CH1,"Button",BS_AUTORADIOBUTTON | BS_LEFTTEXT,307,35,16,12 - CONTROL "2",IDC_RADIO_CH2,"Button",BS_AUTORADIOBUTTON | BS_LEFTTEXT,307,49,16,12 - CONTROL "3",IDC_RADIO_CH3,"Button",BS_AUTORADIOBUTTON | BS_LEFTTEXT,307,64,16,12 - CONTROL "4",IDC_RADIO_CH4,"Button",BS_AUTORADIOBUTTON | BS_LEFTTEXT,331,20,16,12 - CONTROL "5",IDC_RADIO_CH5,"Button",BS_AUTORADIOBUTTON | BS_LEFTTEXT,331,35,16,12 - CONTROL "6",IDC_RADIO_CH6,"Button",BS_AUTORADIOBUTTON | BS_LEFTTEXT,331,49,16,12 - CONTROL "7",IDC_RADIO_CH7,"Button",BS_AUTORADIOBUTTON | BS_LEFTTEXT,331,64,16,12 - EDITTEXT IDC_EDIT_BUF_SIZE,122,198,46,14,ES_AUTOHSCROLL - PUSHBUTTON "Stop",IDC_BT_STOP,291,188,55,22 - LTEXT "Overrun :",IDC_STATIC,182,184,36,9 - EDITTEXT IDC_EDIT_OVERRUN,180,198,36,14,ES_AUTOHSCROLL | ES_READONLY -END - -IDD_CARDID_DIALOG DIALOGEX 0, 0, 174, 108 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "Card ID" -FONT 8, "MS Shell Dlg", 400, 0, 0x1 -BEGIN - COMBOBOX IDC_COMBO_CARDID,78,24,71,126,CBS_DROPDOWN | WS_VSCROLL | WS_TABSTOP - LTEXT "Card Number",IDC_STATIC_01,23,25,46,12 - PUSHBUTTON "OK",IDOK,22,70,58,19 - PUSHBUTTON "CANCEL",IDCANCEL,86,70,58,19 -END - - -///////////////////////////////////////////////////////////////////////////// -// -// Version -// - -VS_VERSION_INFO VERSIONINFO - FILEVERSION 1,0,0,1 - PRODUCTVERSION 1,0,0,1 - FILEFLAGSMASK 0x3fL -#ifdef _DEBUG - FILEFLAGS 0x1L -#else - FILEFLAGS 0x0L -#endif - FILEOS 0x4L - FILETYPE 0x1L - FILESUBTYPE 0x0L -BEGIN - BLOCK "StringFileInfo" - BEGIN - BLOCK "040904e4" - BEGIN - VALUE "CompanyName", "TODO: " - VALUE "FileDescription", "TODO: " - VALUE "FileVersion", "1.0.0.1" - VALUE "InternalName", "9223cdma.exe" - VALUE "LegalCopyright", "TODO: (c) . All rights reserved." - VALUE "OriginalFilename", "9223cdma.exe" - VALUE "ProductName", "TODO: " - VALUE "ProductVersion", "1.0.0.1" - END - END - BLOCK "VarFileInfo" - BEGIN - VALUE "Translation", 0x409, 1252 - END -END - - -///////////////////////////////////////////////////////////////////////////// -// -// DESIGNINFO -// - -#ifdef APSTUDIO_INVOKED -GUIDELINES DESIGNINFO -BEGIN - IDD_ABOUTBOX, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 163 - TOPMARGIN, 7 - BOTTOMMARGIN, 55 - END - - IDD_CARDID_DIALOG, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 167 - TOPMARGIN, 7 - BOTTOMMARGIN, 101 - END -END -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog Info -// - -IDD_CARDID_DIALOG DLGINIT -BEGIN - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0030, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0031, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0032, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0033, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0034, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0035, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0036, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0037, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0038, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0039, - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3031, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3131, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3231, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3331, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3431, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3531, "\000" - 0 -END - - -///////////////////////////////////////////////////////////////////////////// -// -// Bitmap -// - -IDB_BITMAP_SET1 BITMAP "res\\ch_set1.bmp" -IDB_BITMAP_SET2 BITMAP "res\\ch_set2.bmp" - -///////////////////////////////////////////////////////////////////////////// -// -// String Table -// - -STRINGTABLE -BEGIN - IDS_ABOUTBOX "&About 9223cdma..." -END - -#endif // English (U.S.) resources -///////////////////////////////////////////////////////////////////////////// - - - -#ifndef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 3 resource. -// -#define _AFX_NO_SPLITTER_RESOURCES -#define _AFX_NO_OLE_RESOURCES -#define _AFX_NO_TRACKER_RESOURCES -#define _AFX_NO_PROPERTY_RESOURCES - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -LANGUAGE 9, 1 -#pragma code_page(1252) -#include "res\My9223cdma.rc2" // non-Microsoft Visual C++ edited resources -#include "afxres.rc" // Standard components -#endif - -///////////////////////////////////////////////////////////////////////////// -#endif // not APSTUDIO_INVOKED - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AIDma_Dbf/9223cdma.sln b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AIDma_Dbf/9223cdma.sln deleted file mode 100644 index 538cc7b..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AIDma_Dbf/9223cdma.sln +++ /dev/null @@ -1,20 +0,0 @@ - -Microsoft Visual Studio Solution File, Format Version 10.00 -# Visual Studio 2008 -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "9223cdma", "9223cdma.vcproj", "{702163FB-B6DF-4EF5-9491-FC54D71509BC}" -EndProject -Global - GlobalSection(SolutionConfigurationPlatforms) = preSolution - Debug|x64 = Debug|x64 - Release|x64 = Release|x64 - EndGlobalSection - GlobalSection(ProjectConfigurationPlatforms) = postSolution - {702163FB-B6DF-4EF5-9491-FC54D71509BC}.Debug|x64.ActiveCfg = Debug|x64 - {702163FB-B6DF-4EF5-9491-FC54D71509BC}.Debug|x64.Build.0 = Debug|x64 - {702163FB-B6DF-4EF5-9491-FC54D71509BC}.Release|x64.ActiveCfg = Release|x64 - {702163FB-B6DF-4EF5-9491-FC54D71509BC}.Release|x64.Build.0 = Release|x64 - EndGlobalSection - GlobalSection(SolutionProperties) = preSolution - HideSolutionNode = FALSE - EndGlobalSection -EndGlobal diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AIDma_Dbf/9223cdma.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AIDma_Dbf/9223cdma.suo deleted file mode 100644 index 3062813..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AIDma_Dbf/9223cdma.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AIDma_Dbf/9223cdma.vcproj b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AIDma_Dbf/9223cdma.vcproj deleted file mode 100644 index c3e2af5..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AIDma_Dbf/9223cdma.vcproj +++ /dev/null @@ -1,294 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AIDma_Dbf/9223cdmaDlg.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AIDma_Dbf/9223cdmaDlg.cpp deleted file mode 100644 index 23476e4..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AIDma_Dbf/9223cdmaDlg.cpp +++ /dev/null @@ -1,742 +0,0 @@ - -// 9223cdmaDlg.cpp : implementation file -// - -#include "stdafx.h" -#include "9223cdma.h" -#include "9223cdmaDlg.h" - -#ifdef _DEBUG -#define new DEBUG_NEW -#endif - -#define P922X_TIMEBASE 80000000.0 - -CRect plotRect; - -// CAboutDlg dialog used for App About - -class CAboutDlg : public CDialog -{ -public: - CAboutDlg(); - -// Dialog Data - enum { IDD = IDD_ABOUTBOX }; - - protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - -// Implementation -protected: - DECLARE_MESSAGE_MAP() -}; - -CAboutDlg::CAboutDlg() : CDialog(CAboutDlg::IDD) -{ -} - -void CAboutDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); -} - -BEGIN_MESSAGE_MAP(CAboutDlg, CDialog) -END_MESSAGE_MAP() - - -// C9223cdmaDlg dialog - - - - -C9223cdmaDlg::C9223cdmaDlg(I16 hCard, CWnd* pParent /*=NULL*/) - : CDialog(C9223cdmaDlg::IDD, pParent) -{ - m_hIcon = AfxGetApp()->LoadIcon(IDR_MAINFRAME); - - n_PlotWidth = n_PlotHeight = -1; - OnBrush = OffBrush = NULL; - - min_val = 0x00; - max_val = 0xFFFF; - - m_dwSampIntrv = 2000; - - m_hCard = hCard; - - m_wScanChans = 0; - m_nTimer = -1; - m_hMem1 = NULL; - m_hMem2 = NULL; - - m_wRange = AD_B_10_V; - max_range = 10.0; - min_range = -10.0; - - m_dwReadCount = 4000; - m_wPostCount = 512; - - m_dwOverrunCnt = 0; - - -} - -void C9223cdmaDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); -} - -BEGIN_MESSAGE_MAP(C9223cdmaDlg, CDialog) - ON_WM_SYSCOMMAND() - ON_WM_PAINT() - ON_WM_QUERYDRAGICON() - //}}AFX_MSG_MAP - ON_WM_DESTROY() - ON_WM_VSCROLL() - ON_BN_CLICKED(IDC_BT_START, &C9223cdmaDlg::OnStart) - ON_BN_CLICKED(IDC_RADIO_CH0, &C9223cdmaDlg::OnCh0) - ON_BN_CLICKED(IDC_RADIO_CH1, &C9223cdmaDlg::OnCh1) - ON_BN_CLICKED(IDC_RADIO_CH2, &C9223cdmaDlg::OnCh2) - ON_BN_CLICKED(IDC_RADIO_CH3, &C9223cdmaDlg::OnCh3) - ON_BN_CLICKED(IDC_RADIO_CH4, &C9223cdmaDlg::OnCh4) - ON_BN_CLICKED(IDC_RADIO_CH5, &C9223cdmaDlg::OnCh5) - ON_BN_CLICKED(IDC_RADIO_CH6, &C9223cdmaDlg::OnCh6) - ON_BN_CLICKED(IDC_RADIO_CH7, &C9223cdmaDlg::OnCh7) - ON_WM_TIMER() - ON_BN_CLICKED(IDC_BT_STOP, &C9223cdmaDlg::OnStop) -END_MESSAGE_MAP() - - -// C9223cdmaDlg message handlers - -BOOL C9223cdmaDlg::OnInitDialog() -{ - CDialog::OnInitDialog(); - - // Add "About..." menu item to system menu. - - // IDM_ABOUTBOX must be in the system command range. - ASSERT((IDM_ABOUTBOX & 0xFFF0) == IDM_ABOUTBOX); - ASSERT(IDM_ABOUTBOX < 0xF000); - - CMenu* pSysMenu = GetSystemMenu(FALSE); - if (pSysMenu != NULL) - { - BOOL bNameValid; - CString strAboutMenu; - bNameValid = strAboutMenu.LoadString(IDS_ABOUTBOX); - ASSERT(bNameValid); - if (!strAboutMenu.IsEmpty()) - { - pSysMenu->AppendMenu(MF_SEPARATOR); - pSysMenu->AppendMenu(MF_STRING, IDM_ABOUTBOX, strAboutMenu); - } - } - - // Set the icon for this dialog. The framework does this automatically - // when the application's main window is not a dialog - SetIcon(m_hIcon, TRUE); // Set big icon - SetIcon(m_hIcon, FALSE); // Set small icon - - // TODO: Add extra initialization here - x_divider = 5; y_divider = 4; - - OnBrush = CreateSolidBrush( RGB(255,0,0) ); - OffBrush = CreateSolidBrush( RGB(125,0,0) ); - - RedPen.CreatePen( PS_SOLID, 1, RGB(255,0,0)); - GreenPen.CreatePen( PS_SOLID, 1, RGB(0,255,0)); - YellowPen.CreatePen( PS_SOLID, 1, RGB(255,255,0)); - BluePen.CreatePen( PS_SOLID, 1, RGB(0,0,255)); - LTBluePen.CreatePen( PS_SOLID, 1, RGB(0,128,255)); - LTRedPen.CreatePen( PS_SOLID, 1, RGB(255,128,0)); - LTGreenPen.CreatePen( PS_SOLID, 1, RGB(0,128,0)); - WhitePen.CreatePen( PS_SOLID, 1, RGB(255,255,255)); - - - if( n_PlotWidth == -1 && n_PlotHeight == -1 ) - { - ((CWnd*)GetDlgItem(IDC_STATIC_DRAW))->GetWindowRect(&plotRect); - ScreenToClient(&plotRect); - - n_PlotWidth = min( plotRect.Width(), 512); - n_PlotHeight = plotRect.Height() - 10; - } - - // set the default SampleRate - - SetDlgItemInt( IDC_EDIT_SAMPLE_RATE, (UINT)(m_dwSampIntrv) ); - SetDlgItemInt( IDC_EDIT_BUF_SIZE, (UINT)(m_dwReadCount) ); - ((CButton*)GetDlgItem( IDC_RADIO_CH0 ))->SetCheck( TRUE ); - - SetDlgItemInt( IDC_EDIT_OVERRUN, (UINT)(m_dwOverrunCnt) ); - - return TRUE; // return TRUE unless you set the focus to a control -} - -void C9223cdmaDlg::OnSysCommand(UINT nID, LPARAM lParam) -{ - if ((nID & 0xFFF0) == IDM_ABOUTBOX) - { - CAboutDlg dlgAbout; - dlgAbout.DoModal(); - } - else - { - CDialog::OnSysCommand(nID, lParam); - } -} - -// If you add a minimize button to your dialog, you will need the code below -// to draw the icon. For MFC applications using the document/view model, -// this is automatically done for you by the framework. - -void C9223cdmaDlg::OnPaint() -{ - if (IsIconic()) - { - CPaintDC dc(this); // device context for painting - - SendMessage(WM_ICONERASEBKGND, reinterpret_cast(dc.GetSafeHdc()), 0); - - // Center icon in client rectangle - int cxIcon = GetSystemMetrics(SM_CXICON); - int cyIcon = GetSystemMetrics(SM_CYICON); - CRect rect; - GetClientRect(&rect); - int x = (rect.Width() - cxIcon + 1) / 2; - int y = (rect.Height() - cyIcon + 1) / 2; - - // Draw the icon - dc.DrawIcon(x, y, m_hIcon); - } - else - { - redraw_display_area(); - CDialog::OnPaint(); - } -} - -// The system calls this function to obtain the cursor to display while the user drags -// the minimized window. -HCURSOR C9223cdmaDlg::OnQueryDragIcon() -{ - return static_cast(m_hIcon); -} - - -void C9223cdmaDlg::redraw_display_area(void) -{ - CPen *oldPen; - - int oldMode; - COLORREF oldColor; - - CString y_lable; - - CPen minor_tick( PS_SOLID,1,RGB(132,130,132) ); -// CPen y_grid( PS_SOLID,1,RGB(206,203,132) ); - - int i, x_intv, y_intv; -// long total_sec; - - CClientDC dc_plot(this); - - // draw the base-line for x-y axises - oldPen = (CPen *)dc_plot.SelectStockObject(BLACK_PEN); - - // redraw the background - dc_plot.FillSolidRect( plotRect, RGB(0,0,0) ); - - // Re-Draw the AREA for Y-Lable - { - CBrush DIALOG_BRUSH; - CRect redraw_area, full_client; - - GetClientRect(&full_client); - ScreenToClient(&full_client); - - redraw_area.left = full_client.left; - redraw_area.top = plotRect.top - 5; - redraw_area.right = plotRect.left - 3; - redraw_area.bottom = plotRect.bottom + 10; - - DIALOG_BRUSH.CreateSysColorBrush( COLOR_3DFACE ); - - dc_plot.FillRect( redraw_area, &DIALOG_BRUSH ); - - DIALOG_BRUSH.DeleteObject(); - } - - dc_plot.MoveTo( plotRect.left - 3, plotRect.top ); - dc_plot.LineTo( plotRect.left - 3, plotRect.bottom ); - - // calculate the interval for tick/grid - y_intv = (plotRect.Height() - 10) /y_divider; - x_intv = plotRect.Width()/x_divider; - - - // set the color for tick - oldColor = dc_plot.SetTextColor( RGB(0,0,0) ); - oldMode = dc_plot.SetBkMode( TRANSPARENT ); - - for( i=0; i<= y_divider; i++ ) - { - CString tick_str; - CRect tmp_rect, tick_rect; - - // draw the tick for y-axis - dc_plot.MoveTo( plotRect.left -12, plotRect.bottom -5 - (i*y_intv) ); - dc_plot.LineTo( plotRect.left -3, plotRect.bottom -5 - (i*y_intv) ); - - tick_str.Format( _T("%.1f"), ( ((max_range-min_range)/y_divider) * i)+min_range ); - - // calculate the rectangle for text - dc_plot.DrawText( tick_str, &tmp_rect, DT_CALCRECT|DT_SINGLELINE ); - tick_rect.right = plotRect.left -14; - tick_rect.left = tick_rect.right - tmp_rect.Width(); - tick_rect.top = plotRect.bottom -5 - (i*y_intv) - tmp_rect.Height()/2; - tick_rect.bottom = tick_rect.top + tmp_rect.Height(); - - // draw the text - dc_plot.DrawText( tick_str, &tick_rect, DT_SINGLELINE|DT_RIGHT ); - - } - - // draw the minor_tick for Y axises - dc_plot.SelectObject(&minor_tick); - for( i=0; i< y_divider; i++ ) - { - dc_plot.MoveTo( plotRect.left -9, plotRect.bottom -5 - (i*y_intv) - y_intv/2 ); - dc_plot.LineTo( plotRect.left -4, plotRect.bottom -5 - (i*y_intv) - y_intv/2 ); - } - - dc_plot.SetTextColor( oldColor ); - dc_plot.SetBkMode( oldMode ); - dc_plot.SelectObject( oldPen ); -} - -void C9223cdmaDlg::OnDestroy() -{ - CDialog::OnDestroy(); - - // TODO: Add your message handler code here - if( m_nTimer != -1 ) - { - KillTimer( m_nTimer ); - m_nTimer = -1; - } - - if (m_hMem1 != NULL) - { - GlobalUnfix(m_hMem1); - GlobalUnlock(m_hMem1); - GlobalFree(m_hMem1); - - m_hMem1 = NULL; - } - - if (m_hMem2 != NULL) - { - GlobalUnfix(m_hMem2); - GlobalUnlock(m_hMem2); - GlobalFree(m_hMem2); - - m_hMem2 = NULL; - } - - if( OnBrush != NULL ) - ::DeleteObject( OnBrush ); - - if( OffBrush != NULL ) - ::DeleteObject( OffBrush ); - - RedPen.DeleteObject(); - GreenPen.DeleteObject(); - YellowPen.DeleteObject(); - BluePen.DeleteObject(); - LTBluePen.DeleteObject(); - LTRedPen.DeleteObject(); - LTGreenPen.DeleteObject(); - WhitePen.DeleteObject(); - -} - -void C9223cdmaDlg::OnVScroll(UINT nSBCode, UINT nPos, CScrollBar* pScrollBar) -{ - // TODO: Add your message handler code here and/or call default - switch ( nSBCode ) - { - case SB_LINEUP : - m_dwSampIntrv += 160; - if (m_dwSampIntrv > 40000 ) m_dwSampIntrv = 40000; - break; - case SB_LINEDOWN: - m_dwSampIntrv -= 160; - if (m_dwSampIntrv < 160 ) m_dwSampIntrv = 160; - break; - } - - SetDlgItemInt( IDC_EDIT_SCAN_ITERVAL, (UINT)(m_dwSampIntrv) ); - - CDialog::OnVScroll(nSBCode, nPos, pScrollBar); -} - - -void C9223cdmaDlg::OnStop() -{ - // TODO: Add your control notification handler code here - U32 count; - - if( m_nTimer != -1 ) - { - KillTimer( m_nTimer ); - m_nTimer = -1; - } - - AI_AsyncClear(m_hCard, &count); - - GetDlgItem( IDC_BT_START )->EnableWindow(TRUE); - - GetDlgItem( IDC_RADIO_CH0 )->EnableWindow(TRUE); - GetDlgItem( IDC_RADIO_CH1 )->EnableWindow(TRUE); - GetDlgItem( IDC_RADIO_CH2 )->EnableWindow(TRUE); - GetDlgItem( IDC_RADIO_CH3 )->EnableWindow(TRUE); - GetDlgItem( IDC_RADIO_CH4 )->EnableWindow(TRUE); - GetDlgItem( IDC_RADIO_CH5 )->EnableWindow(TRUE); - GetDlgItem( IDC_RADIO_CH6 )->EnableWindow(TRUE); - GetDlgItem( IDC_RADIO_CH7 )->EnableWindow(TRUE); -} - -void C9223cdmaDlg::OnStart() -{ - // TODO: Add your control notification handler code here - DWORD mem_size; - CString strTemp; - I16 err; - - GetDlgItem( IDC_BT_START )->EnableWindow(FALSE); - - GetDlgItem( IDC_RADIO_CH0 )->EnableWindow(FALSE); - GetDlgItem( IDC_RADIO_CH1 )->EnableWindow(FALSE); - GetDlgItem( IDC_RADIO_CH2 )->EnableWindow(FALSE); - GetDlgItem( IDC_RADIO_CH3 )->EnableWindow(FALSE); - GetDlgItem( IDC_RADIO_CH4 )->EnableWindow(FALSE); - GetDlgItem( IDC_RADIO_CH5 )->EnableWindow(FALSE); - GetDlgItem( IDC_RADIO_CH6 )->EnableWindow(FALSE); - GetDlgItem( IDC_RADIO_CH7 )->EnableWindow(FALSE); - - m_dwReadCount = GetDlgItemInt(IDC_EDIT_BUF_SIZE); - - if (m_hMem1 != NULL) - { - GlobalUnfix(m_hMem1); - GlobalUnlock(m_hMem1); - GlobalFree(m_hMem1); - - m_hMem1 = NULL; - } - - if (m_hMem2 != NULL) - { - GlobalUnfix(m_hMem2); - GlobalUnlock(m_hMem2); - GlobalFree(m_hMem2); - - m_hMem2 = NULL; - } - - // allocate a memory for user DMA buffer - mem_size = m_dwReadCount * sizeof(I16); - - m_hMem1 = GlobalAlloc(GMEM_FIXED | GMEM_ZEROINIT, mem_size); - m_pAIBuf1 = (U16*) GlobalLock(m_hMem1); - if (m_pAIBuf1 == NULL ) - { - AfxMessageBox( TEXT("Memory allocation failed"), MB_OK); - return; - } - GlobalFix(m_hMem1); - - m_hMem2 = GlobalAlloc(GMEM_FIXED | GMEM_ZEROINIT, mem_size); - m_pAIBuf2 = (U16*) GlobalLock(m_hMem2); - if (m_pAIBuf2 == NULL ) - { - AfxMessageBox( TEXT("Memory allocation failed"), MB_OK); - return; - } - GlobalFix(m_hMem2); - - m_oldY[0] = m_oldY[1] = m_oldY[2] = m_oldY[3] = m_oldY[4] = m_oldY[5] = m_oldY[6] = m_oldY[7] = -1; - m_oldX[0] = m_oldX[1] = m_oldX[2] = m_oldX[3] = m_oldX[4] = m_oldX[5] = m_oldX[6] = m_oldX[7] = -1; - - if ((err = AI_9222_Config(m_hCard, P922x_AI_SingEnded|P922x_AI_CONVSRC_INT, P922x_AI_TRGMOD_POST|P922x_AI_TRGSRC_SOFT, 0, TRUE)) != NoError) - { - strTemp.Format( TEXT("AI_9222_Config error=%d"), err); - AfxMessageBox( strTemp ); - return; - } - - if ((err = AI_9222_CounterInterval(m_hCard, m_dwSampIntrv, m_dwSampIntrv)) != NoError) - { - strTemp.Format( TEXT("AI_9221_CounterInterval error=%d"), err); - AfxMessageBox( strTemp ); - return; - } - - if ((err = AI_AsyncDblBufferMode (m_hCard, 1)) != NoError) - { - strTemp.Format( TEXT("AI_AsyncDblBufferMode error=%d"), err); - AfxMessageBox( strTemp ); - return; - } - - if ((err = AI_ContBufferSetup (m_hCard, m_pAIBuf1, m_dwReadCount, &m_wBufferID1)) != NoError) - { - strTemp.Format( TEXT("AI_ContBufferSetup error=%d"), err); - AfxMessageBox( strTemp ); - return; - } - - if ((err = AI_ContBufferSetup (m_hCard, m_pAIBuf2, m_dwReadCount, &m_wBufferID2)) != NoError) - { - strTemp.Format( TEXT("AI_ContBufferSetup error=%d"), err); - AfxMessageBox( strTemp ); - return; - } - - m_bView = 0; - - if ((err=AI_ContReadChannel(m_hCard, m_wScanChans, m_wRange, &m_wBufferID1, m_dwReadCount, 0, ASYNCH_OP)) != NoError) - { - strTemp.Format( TEXT("AI_ContReadChannel error=%d"), err); - AfxMessageBox( strTemp ); - return; - } - - m_nTimer = SetTimer( 1, 20, NULL ); - -} - -int C9223cdmaDlg::display_buffer_data(U16* pBuf) -{ - CClientDC dc_plot(this); - int nDraw_Origin_Y; - int cur_channel; - - int newY = -1; - int newX = -1; - U32 index; - I16 ai_data; - U32 dwDataSize = m_dwReadCount; - - // redraw the background - dc_plot.FillSolidRect( plotRect, RGB(0,0,0) ); - - cur_channel = m_wScanChans; - - switch(cur_channel) - { - case 0: - dc_plot.SelectObject(&YellowPen); - break; - case 1: - dc_plot.SelectObject(<GreenPen); - break; - case 2: - dc_plot.SelectObject(&BluePen); - break; - case 3: - dc_plot.SelectObject(&RedPen); - break; - case 4: - dc_plot.SelectObject(<BluePen); - break; - case 5: - dc_plot.SelectObject(<RedPen); - break; - case 6: - dc_plot.SelectObject(&GreenPen); - break; - case 7: - dc_plot.SelectObject(&WhitePen); - break; - } - - nDraw_Origin_Y = ( plotRect.bottom - 5 ) - n_PlotHeight/2; - - - - for( index=0; index> 16) ); // ( n_PlotHeight * ai_data / 65536) ); // ( (n_PlotHeight/2) * ai_data/32768 ) ); - - newX = (int)( index*n_PlotWidth/dwDataSize + plotRect.left ); - - - if ( index == 0 ) - { - dc_plot.MoveTo( newX, newY ); - } - else - { - dc_plot.MoveTo( m_oldX[cur_channel], m_oldY[cur_channel] ); - dc_plot.LineTo( newX, newY ); - } - - m_oldX[cur_channel] = newX; - m_oldY[cur_channel] = newY; - } - - return 0; -} - -void C9223cdmaDlg::OnTimer(UINT_PTR nIDEvent) -{ - // TODO: Add your message handler code here and/or call default - BOOLEAN HalfReady; - BOOLEAN fstop; - U16 OverrunFlag; - - AI_AsyncDblBufferHalfReady(m_hCard, &HalfReady, &fstop); - - if( HalfReady ) // half-buffer ready - { - if(m_bView == 0) - { - display_buffer_data( m_pAIBuf1 ); - m_bView = 1; - } - else - { - display_buffer_data( m_pAIBuf2 ); - m_bView= 0; - } - - AI_AsyncDblBufferHandled( m_hCard ); - AI_AsyncDblBufferOverrun( m_hCard, 0, &OverrunFlag); - - if(OverrunFlag) - { - m_dwOverrunCnt++; - AI_AsyncDblBufferOverrun( m_hCard, 1, NULL ); - SetDlgItemInt( IDC_EDIT_OVERRUN, (UINT)(m_dwOverrunCnt) ); - } - - - } - - CDialog::OnTimer(nIDEvent); -} - -void C9223cdmaDlg::OnCh0() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_RADIO_CH0 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_wScanChans = 0; - } - -} - -void C9223cdmaDlg::OnCh1() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_RADIO_CH1 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_wScanChans = 1; - } -} - -void C9223cdmaDlg::OnCh2() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_RADIO_CH2 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_wScanChans = 2; - } -} - -void C9223cdmaDlg::OnCh3() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_RADIO_CH3 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_wScanChans = 3; - } -} - -void C9223cdmaDlg::OnCh4() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_RADIO_CH4 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_wScanChans = 4; - } -} - -void C9223cdmaDlg::OnCh5() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_RADIO_CH5 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_wScanChans = 5; - } -} - -void C9223cdmaDlg::OnCh6() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_RADIO_CH6 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_wScanChans = 6; - } -} - -void C9223cdmaDlg::OnCh7() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_RADIO_CH7 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_wScanChans = 7; - } -} - - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AIDma_Dbf/9223cdmaDlg.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AIDma_Dbf/9223cdmaDlg.h deleted file mode 100644 index 35f60ee..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AIDma_Dbf/9223cdmaDlg.h +++ /dev/null @@ -1,86 +0,0 @@ - -// 9223cdmaDlg.h : header file -#pragma once -#include "afxcmn.h" -#include "afxwin.h" - -#include "Dask64.h" - -// C9223cdmaDlg dialog -class C9223cdmaDlg : public CDialog -{ -// Construction -public: - C9223cdmaDlg(I16 hCard, CWnd* pParent = NULL); // standard constructor - -// Dialog Data - enum { IDD = IDD_9223DMA_DIALOG }; - - protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - - -// Implementation -protected: - HICON m_hIcon; - UINT_PTR m_nTimer; - I16 m_hCard; - U32 m_dwSampIntrv; - U16 m_wScanChans; - HANDLE m_hMem1; - HANDLE m_hMem2; - U16 *m_pAIBuf1; - U16 *m_pAIBuf2; - U16 m_wBufferID1; - U16 m_wBufferID2; - U16 m_wRange; - int m_oldY[8]; - int m_oldX[8]; - U32 m_dwReadCount; - U16 m_wPostCount; - U8 m_bView; - U32 m_dwOverrunCnt; - - // Generated message map functions - virtual BOOL OnInitDialog(); - afx_msg void OnSysCommand(UINT nID, LPARAM lParam); - afx_msg void OnPaint(); - afx_msg HCURSOR OnQueryDragIcon(); - DECLARE_MESSAGE_MAP() - -public: - WORD max_val; - WORD min_val; - double max_range; - double min_range; - int n_PlotWidth; - int n_PlotHeight; - int y_divider; - int x_divider; - int m_DisplayScale; - HBRUSH OnBrush; - HBRUSH OffBrush; - CPen RedPen; - CPen GreenPen; - CPen YellowPen; - CPen BluePen; - CPen LTBluePen; - CPen LTRedPen; - CPen LTGreenPen; - CPen WhitePen; - void redraw_display_area(void); - afx_msg void OnDestroy(); - afx_msg void OnVScroll(UINT nSBCode, UINT nPos, CScrollBar* pScrollBar); - afx_msg void OnStart(); - int display_buffer_data(U16* pBuf); - afx_msg void OnCh0(); - afx_msg void OnCh1(); - afx_msg void OnCh2(); - afx_msg void OnCh3(); - afx_msg void OnCh4(); - afx_msg void OnCh5(); - afx_msg void OnCh6(); - afx_msg void OnCh7(); - afx_msg void OnTimer(UINT_PTR nIDEvent); - afx_msg void OnStop(); -}; diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AIDma_Dbf/CardIDDlg.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AIDma_Dbf/CardIDDlg.cpp deleted file mode 100644 index dfa5652..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AIDma_Dbf/CardIDDlg.cpp +++ /dev/null @@ -1,64 +0,0 @@ -// CardIDDlg.cpp : implementation file -// -#include "stdafx.h" -#include "9223cdma.h" -#include "9223cdmaDlg.h" -#include "CardIDDlg.h" - -// CCardIDDlg dialog - -IMPLEMENT_DYNAMIC(CCardIDDlg, CDialog) - -CCardIDDlg::CCardIDDlg(int nCardIdx, CWnd* pParent /*=NULL*/) - : CDialog(CCardIDDlg::IDD, pParent) -{ - m_nCardIdx = nCardIdx; -} - -CCardIDDlg::~CCardIDDlg() -{ -} - -void CCardIDDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); - DDX_Control(pDX, IDC_COMBO_CARDID, m_cbCardID); -} - - -BEGIN_MESSAGE_MAP(CCardIDDlg, CDialog) -// ON_CBN_SELCHANGE(IDC_COMBO_CARDID, &CCardIDDlg::OnCbnSelchangeComboCardid) -ON_BN_CLICKED(IDOK, &CCardIDDlg::OnBnClickedOk) -//ON_WM_CTLCOLOR() -END_MESSAGE_MAP() - - -// CCardIDDlg message handlers - - -void CCardIDDlg::OnBnClickedOk() -{ - // TODO: Add your control notification handler code here - -// UpdateData(TRUE); - m_nCardIdx = m_cbCardID.GetCurSel(); - - OnOK(); -} - -BOOL CCardIDDlg::OnInitDialog() -{ - CDialog::OnInitDialog(); - - // TODO: Add extra initialization here - m_cbCardID.SetCurSel( m_nCardIdx ); - - return TRUE; // return TRUE unless you set the focus to a control - // EXCEPTION: OCX Property Pages should return FALSE -} - -// the function to get the selected CardID -int CCardIDDlg::GetCardID(void) -{ - return m_nCardIdx; -} diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AIDma_Dbf/CardIDDlg.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AIDma_Dbf/CardIDDlg.h deleted file mode 100644 index 9c02c58..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AIDma_Dbf/CardIDDlg.h +++ /dev/null @@ -1,32 +0,0 @@ -#pragma once -#include "afxwin.h" - -#include "Dask64.h" - -// CCardIDDlg dialog - -class CCardIDDlg : public CDialog -{ - DECLARE_DYNAMIC(CCardIDDlg) - -public: - CCardIDDlg(int nCardIdx, CWnd* pParent = NULL); // standard constructor - virtual ~CCardIDDlg(); - -// Dialog Data - enum { IDD = IDD_CARDID_DIALOG }; - -protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - - DECLARE_MESSAGE_MAP() -public: - virtual BOOL OnInitDialog(); - afx_msg void OnBnClickedOk(); - // the setting of CardID ComboBox - int m_nCardIdx; - // the control of CardID ComboBox - CComboBox m_cbCardID; - // the function to get the selected CardID - int GetCardID(void); -}; diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AIDma_Dbf/ReadMe.txt b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AIDma_Dbf/ReadMe.txt deleted file mode 100644 index d1c88f4..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AIDma_Dbf/ReadMe.txt +++ /dev/null @@ -1,93 +0,0 @@ -================================================================================ - MICROSOFT FOUNDATION CLASS LIBRARY : 9223cdma Project Overview -=============================================================================== - -The application wizard has created this 9223cdma application for -you. This application not only demonstrates the basics of using the Microsoft -Foundation Classes but is also a starting point for writing your application. - -This file contains a summary of what you will find in each of the files that -make up your 9223cdma application. - -9223cdma.vcproj - This is the main project file for VC++ projects generated using an application wizard. - It contains information about the version of Visual C++ that generated the file, and - information about the platforms, configurations, and project features selected with the - application wizard. - -9223cdma.h - This is the main header file for the application. It includes other - project specific headers (including Resource.h) and declares the - C9223cdmaApp application class. - -9223cdma.cpp - This is the main application source file that contains the application - class C9223cdmaApp. - -9223cdma.rc - This is a listing of all of the Microsoft Windows resources that the - program uses. It includes the icons, bitmaps, and cursors that are stored - in the RES subdirectory. This file can be directly edited in Microsoft - Visual C++. Your project resources are in 1033. - -res\9223cdma.ico - This is an icon file, which is used as the application's icon. This - icon is included by the main resource file 9223cdma.rc. - -res\My9223cdma.rc2 - This file contains resources that are not edited by Microsoft - Visual C++. You should place all resources not editable by - the resource editor in this file. - - -///////////////////////////////////////////////////////////////////////////// - -The application wizard creates one dialog class: - -9223cdmaDlg.h, 9223cdmaDlg.cpp - the dialog - These files contain your C9223cdmaDlg class. This class defines - the behavior of your application's main dialog. The dialog's template is - in 9223cdma.rc, which can be edited in Microsoft Visual C++. - - -///////////////////////////////////////////////////////////////////////////// - -Other Features: - -ActiveX Controls - The application includes support to use ActiveX controls. - -///////////////////////////////////////////////////////////////////////////// - -Other standard files: - -StdAfx.h, StdAfx.cpp - These files are used to build a precompiled header (PCH) file - named 9223cdma.pch and a precompiled types file named StdAfx.obj. - -Resource.h - This is the standard header file, which defines new resource IDs. - Microsoft Visual C++ reads and updates this file. - -9223cdma.manifest - Application manifest files are used by Windows XP to describe an applications - dependency on specific versions of Side-by-Side assemblies. The loader uses this - information to load the appropriate assembly from the assembly cache or private - from the application. The Application manifest maybe included for redistribution - as an external .manifest file that is installed in the same folder as the application - executable or it may be included in the executable in the form of a resource. -///////////////////////////////////////////////////////////////////////////// - -Other notes: - -The application wizard uses "TODO:" to indicate parts of the source code you -should add to or customize. - -If your application uses MFC in a shared DLL, you will need -to redistribute the MFC DLLs. If your application is in a language -other than the operating system's locale, you will also have to -redistribute the corresponding localized resources MFC90XXX.DLL. -For more information on both of these topics, please see the section on -redistributing Visual C++ applications in MSDN documentation. - -///////////////////////////////////////////////////////////////////////////// diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AIDma_Dbf/res/9223cdma.ico b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AIDma_Dbf/res/9223cdma.ico deleted file mode 100644 index d56fbcd..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AIDma_Dbf/res/9223cdma.ico and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AIDma_Dbf/res/My9223cdma.rc2 b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AIDma_Dbf/res/My9223cdma.rc2 deleted file mode 100644 index 383cde2..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AIDma_Dbf/res/My9223cdma.rc2 +++ /dev/null @@ -1,13 +0,0 @@ -// -// My9111int.RC2 - resources Microsoft Visual C++ does not edit directly -// - -#ifdef APSTUDIO_INVOKED -#error this file is not editable by Microsoft Visual C++ -#endif //APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// Add manually edited resources here... - -///////////////////////////////////////////////////////////////////////////// diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AIDma_Dbf/res/ch_set1.bmp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AIDma_Dbf/res/ch_set1.bmp deleted file mode 100644 index f2374ed..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AIDma_Dbf/res/ch_set1.bmp and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AIDma_Dbf/res/ch_set2.bmp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AIDma_Dbf/res/ch_set2.bmp deleted file mode 100644 index 32d0915..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AIDma_Dbf/res/ch_set2.bmp and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AIDma_Dbf/resource.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AIDma_Dbf/resource.h deleted file mode 100644 index ea31c62..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AIDma_Dbf/resource.h +++ /dev/null @@ -1,44 +0,0 @@ -//{{NO_DEPENDENCIES}} -// Microsoft Visual C++ generated include file. -// Used by 9223cdma.rc -// -#define IDM_ABOUTBOX 0x0010 -#define IDD_ABOUTBOX 100 -#define IDS_ABOUTBOX 101 -#define IDD_9223DMA_DIALOG 102 -#define IDR_MAINFRAME 128 -#define IDD_CARDID_DIALOG 129 -#define IDB_BITMAP_SET1 131 -#define IDB_BITMAP_SET2 132 -#define IDC_STATIC_DRAW 1000 -#define IDC_COMBO_CARDID 1001 -#define IDC_BT_STOP 1002 -#define IDC_COMBO_CARDTYPE 1002 -#define IDC_BT_START 1003 -#define IDC_EDIT_SAMPLE_RATE 1004 -#define IDC_EDIT_SCAN_ITERVAL 1004 -#define IDC_SCROLLBAR_RATE 1005 -#define IDC_RADIO_CH0 1006 -#define IDC_RADIO_CH1 1007 -#define IDC_RADIO_CH2 1008 -#define IDC_RADIO_CH3 1009 -#define IDC_RADIO_CH4 1010 -#define IDC_RADIO_CH5 1011 -#define IDC_RADIO_CH6 1012 -#define IDC_RADIO_CH7 1013 -#define IDC_STATIC_01 1014 -#define IDC_EDIT_BUF_SIZE 1014 -#define IDC_STATIC_2 1015 -#define IDC_EDIT1 1016 -#define IDC_EDIT_OVERRUN 1016 - -// Next default values for new objects -// -#ifdef APSTUDIO_INVOKED -#ifndef APSTUDIO_READONLY_SYMBOLS -#define _APS_NEXT_RESOURCE_VALUE 134 -#define _APS_NEXT_COMMAND_VALUE 32771 -#define _APS_NEXT_CONTROL_VALUE 1017 -#define _APS_NEXT_SYMED_VALUE 101 -#endif -#endif diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AIDma_Dbf/stdafx.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AIDma_Dbf/stdafx.cpp deleted file mode 100644 index ef80626..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AIDma_Dbf/stdafx.cpp +++ /dev/null @@ -1,8 +0,0 @@ - -// stdafx.cpp : source file that includes just the standard includes -// 9111int.pch will be the pre-compiled header -// stdafx.obj will contain the pre-compiled type information - -#include "stdafx.h" - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AIDma_Dbf/stdafx.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AIDma_Dbf/stdafx.h deleted file mode 100644 index 12123e2..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AIDma_Dbf/stdafx.h +++ /dev/null @@ -1,60 +0,0 @@ - -// stdafx.h : include file for standard system include files, -// or project specific include files that are used frequently, -// but are changed infrequently - -#pragma once - -#ifndef _SECURE_ATL -#define _SECURE_ATL 1 -#endif - -#ifndef VC_EXTRALEAN -#define VC_EXTRALEAN // Exclude rarely-used stuff from Windows headers -#endif - -#include "targetver.h" - -#define _ATL_CSTRING_EXPLICIT_CONSTRUCTORS // some CString constructors will be explicit - -// turns off MFC's hiding of some common and often safely ignored warning messages -#define _AFX_ALL_WARNINGS - -#include // MFC core and standard components -#include // MFC extensions - - -#include // MFC Automation classes - - - -#ifndef _AFX_NO_OLE_SUPPORT -#include // MFC support for Internet Explorer 4 Common Controls -#endif -#ifndef _AFX_NO_AFXCMN_SUPPORT -#include // MFC support for Windows Common Controls -#endif // _AFX_NO_AFXCMN_SUPPORT - -#include // MFC support for ribbons and control bars - - - - - - - - - -#ifdef _UNICODE -#if defined _M_IX86 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='x86' publicKeyToken='6595b64144ccf1df' language='*'\"") -#elif defined _M_IA64 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='ia64' publicKeyToken='6595b64144ccf1df' language='*'\"") -#elif defined _M_X64 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='amd64' publicKeyToken='6595b64144ccf1df' language='*'\"") -#else -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='*' publicKeyToken='6595b64144ccf1df' language='*'\"") -#endif -#endif - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AIDma_Dbf/targetver.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AIDma_Dbf/targetver.h deleted file mode 100644 index 11730d5..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AIDma_Dbf/targetver.h +++ /dev/null @@ -1,26 +0,0 @@ - -#pragma once - -// The following macros define the minimum required platform. The minimum required platform -// is the earliest version of Windows, Internet Explorer etc. that has the necessary features to run -// your application. The macros work by enabling all features available on platform versions up to and -// including the version specified. - -// Modify the following defines if you have to target a platform prior to the ones specified below. -// Refer to MSDN for the latest info on corresponding values for different platforms. -#ifndef WINVER // Specifies that the minimum required platform is Windows Vista. -#define WINVER 0x0600 // Change this to the appropriate value to target other versions of Windows. -#endif - -#ifndef _WIN32_WINNT // Specifies that the minimum required platform is Windows Vista. -#define _WIN32_WINNT 0x0600 // Change this to the appropriate value to target other versions of Windows. -#endif - -#ifndef _WIN32_WINDOWS // Specifies that the minimum required platform is Windows 98. -#define _WIN32_WINDOWS 0x0410 // Change this to the appropriate value to target Windows Me or later. -#endif - -#ifndef _WIN32_IE // Specifies that the minimum required platform is Internet Explorer 7.0. -#define _WIN32_IE 0x0700 // Change this to the appropriate value to target other versions of IE. -#endif - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AIDma_ExtD/9111int.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AIDma_ExtD/9111int.suo deleted file mode 100644 index 1d7a5ee..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AIDma_ExtD/9111int.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AIDma_ExtD/9116dma.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AIDma_ExtD/9116dma.suo deleted file mode 100644 index ac40639..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AIDma_ExtD/9116dma.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AIDma_ExtD/9221dma.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AIDma_ExtD/9221dma.suo deleted file mode 100644 index dcc1d84..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AIDma_ExtD/9221dma.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AIDma_ExtD/9222dma.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AIDma_ExtD/9222dma.suo deleted file mode 100644 index 8c4a1e2..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AIDma_ExtD/9222dma.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AIDma_ExtD/9223dma.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AIDma_ExtD/9223dma.cpp deleted file mode 100644 index 7c0f647..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AIDma_ExtD/9223dma.cpp +++ /dev/null @@ -1,109 +0,0 @@ - -// 9223dma.cpp : Defines the class behaviors for the application. -// - -#include "stdafx.h" -#include "9223dma.h" -#include "9223dmaDlg.h" -#include "CardIDDlg.h" - -#ifdef _DEBUG -#define new DEBUG_NEW -#endif - - -// C9223dmaApp - -BEGIN_MESSAGE_MAP(C9223dmaApp, CWinAppEx) - ON_COMMAND(ID_HELP, &CWinApp::OnHelp) -END_MESSAGE_MAP() - - -// C9223dmaApp construction - -C9223dmaApp::C9223dmaApp() -{ - // TODO: add construction code here, - // Place all significant initialization in InitInstance -} - - -// The one and only C9223dmaApp object - -C9223dmaApp theApp; - - -// C9223dmaApp initialization - -BOOL C9223dmaApp::InitInstance() -{ - int nCardID = 0; - I16 hCard; - CString strTemp; - INT_PTR nResponse; - - // InitCommonControlsEx() is required on Windows XP if an application - // manifest specifies use of ComCtl32.dll version 6 or later to enable - // visual styles. Otherwise, any window creation will fail. - INITCOMMONCONTROLSEX InitCtrls; - InitCtrls.dwSize = sizeof(InitCtrls); - // Set this to include all the common control classes you want to use - // in your application. - InitCtrls.dwICC = ICC_WIN95_CLASSES; - InitCommonControlsEx(&InitCtrls); - - CWinAppEx::InitInstance(); - - AfxEnableControlContainer(); - - // Standard initialization - // If you are not using these features and wish to reduce the size - // of your final executable, you should remove from the following - // the specific initialization routines you do not need - // Change the registry key under which our settings are stored - // TODO: You should modify this string to be something appropriate - // such as the name of your company or organization - SetRegistryKey(_T("Local AppWizard-Generated Applications")); - - CCardIDDlg CardDlg( nCardID ); - - nResponse = CardDlg.DoModal(); - if (nResponse == IDOK) - { - nCardID = CardDlg.GetCardID(); - - if ((hCard=Register_Card(PCI_9223, nCardID)) < 0) - { - strTemp.Format( TEXT("Register_Card Error = %d"), hCard); - AfxMessageBox( strTemp ); - } - else - { - C9223dmaDlg dlg(hCard); - m_pMainWnd = &dlg; - nResponse = dlg.DoModal(); - if (nResponse == IDOK) - { - // TODO: Place code here to handle when the dialog is - // dismissed with OK - } - else if (nResponse == IDCANCEL) - { - // TODO: Place code here to handle when the dialog is - // dismissed with Cancel - } - - if (hCard >= 0) Release_Card(hCard); - } - - } - else if (nResponse == IDCANCEL) - { - // TODO: Place code here to handle when the dialog is - // dismissed with Cancel - } - - // Since the dialog has been closed, return FALSE so that we exit the - // application, rather than start the application's message pump. - return FALSE; -} diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AIDma_ExtD/9223dma.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AIDma_ExtD/9223dma.h deleted file mode 100644 index b0f6ce2..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AIDma_ExtD/9223dma.h +++ /dev/null @@ -1,34 +0,0 @@ - -// 9223dma.h : main header file for the PROJECT_NAME application -// - -#pragma once - -#ifndef __AFXWIN_H__ - #error "include 'stdafx.h' before including this file for PCH" -#endif - -#include "resource.h" // main symbols - -#define AI_MODE_DMA 0 -#define AI_MODE_INT 1 - -// C9223dmaApp: -// See 9223dma.cpp for the implementation of this class -// - -class C9223dmaApp : public CWinAppEx -{ -public: - C9223dmaApp(); - -// Overrides - public: - virtual BOOL InitInstance(); - -// Implementation - - DECLARE_MESSAGE_MAP() -}; - -extern C9223dmaApp theApp; \ No newline at end of file diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AIDma_ExtD/9223dma.rc b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AIDma_ExtD/9223dma.rc deleted file mode 100644 index 55594e2..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AIDma_ExtD/9223dma.rc +++ /dev/null @@ -1,287 +0,0 @@ -// Microsoft Visual C++ generated resource script. -// -#include "resource.h" - -#define APSTUDIO_READONLY_SYMBOLS -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 2 resource. -// -#ifndef APSTUDIO_INVOKED -#include "targetver.h" -#endif -#include "afxres.h" - -///////////////////////////////////////////////////////////////////////////// -#undef APSTUDIO_READONLY_SYMBOLS - -///////////////////////////////////////////////////////////////////////////// -// Chinese (Taiwan) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_CHT) -#ifdef _WIN32 -LANGUAGE LANG_CHINESE, SUBLANG_CHINESE_TRADITIONAL -#pragma code_page(950) -#endif //_WIN32 - -#ifdef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// TEXTINCLUDE -// - -1 TEXTINCLUDE -BEGIN - "resource.h\0" -END - -2 TEXTINCLUDE -BEGIN - "#ifndef APSTUDIO_INVOKED\r\n" - "#include ""targetver.h""\r\n" - "#endif\r\n" - "#include ""afxres.h""\r\n" - "\0" -END - -3 TEXTINCLUDE -BEGIN - "#define _AFX_NO_SPLITTER_RESOURCES\r\n" - "#define _AFX_NO_OLE_RESOURCES\r\n" - "#define _AFX_NO_TRACKER_RESOURCES\r\n" - "#define _AFX_NO_PROPERTY_RESOURCES\r\n" - "\r\n" - "#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)\r\n" - "LANGUAGE 9, 1\r\n" - "#pragma code_page(1252)\r\n" - "#include ""res\\My9223dma.rc2"" // non-Microsoft Visual C++ edited resources\r\n" - "#include ""afxres.rc"" // Standard components\r\n" - "#endif\r\n" - "\0" -END - -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// Icon -// - -// Icon with lowest ID value placed first to ensure application icon -// remains consistent on all systems. -IDR_MAINFRAME ICON "res\\9223dma.ico" -#endif // Chinese (Taiwan) resources -///////////////////////////////////////////////////////////////////////////// - - -///////////////////////////////////////////////////////////////////////////// -// English (U.S.) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -#ifdef _WIN32 -LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US -#pragma code_page(1252) -#endif //_WIN32 - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog -// - -IDD_ABOUTBOX DIALOGEX 0, 0, 170, 62 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "About 9223dma" -FONT 8, "MS Shell Dlg", 0, 0, 0x1 -BEGIN - ICON IDR_MAINFRAME,IDC_STATIC,14,14,21,20 - LTEXT "9223dma, Version 1.0",IDC_STATIC,42,14,114,8,SS_NOPREFIX - LTEXT "Copyright (C) 2010",IDC_STATIC,42,26,114,8 - DEFPUSHBUTTON "OK",IDOK,113,41,50,14,WS_GROUP -END - -IDD_9223DMA_DIALOG DIALOGEX 0, 0, 365, 232 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU -EXSTYLE WS_EX_APPWINDOW -CAPTION -"PCI-9223 AI Channel Read /w External Digital Trigger (Single-End Signal)" -FONT 8, "MS Shell Dlg", 0, 0, 0x1 -BEGIN - GROUPBOX "",IDC_STATIC_DRAW,45,9,227,161,NOT WS_VISIBLE - CONTROL 132,IDC_STATIC,"Static",SS_BITMAP,327,28,11,45 - CONTROL 131,IDC_STATIC,"Static",SS_BITMAP,298,29,9,44 - LTEXT "0",IDC_STATIC,286,29,10,11 - LTEXT "1",IDC_STATIC,286,40,10,11 - LTEXT "2",IDC_STATIC,286,51,10,11 - LTEXT "3",IDC_STATIC,286,63,10,11 - LTEXT "4",IDC_STATIC,318,29,10,11 - LTEXT "5",IDC_STATIC,318,40,10,11 - LTEXT "6",IDC_STATIC,318,51,10,11 - LTEXT "7",IDC_STATIC,318,63,10,11 - LTEXT "Range : +/- 10V",IDC_STATIC,283,130,57,15 - COMBOBOX IDC_COMBO_SCANCHAN,171,197,74,17,CBS_DROPDOWN | WS_VSCROLL | WS_TABSTOP - LTEXT "Read Channel",IDC_STATIC,171,182,53,9 - EDITTEXT IDC_EDIT_SCAN_ITERVAL,57,197,39,12,ES_AUTOHSCROLL | ES_READONLY - LTEXT "Sample Interval :",IDC_STATIC,57,182,57,9 - SCROLLBAR IDC_SCROLLBAR_RATE,97,195,9,11,SBS_VERT - PUSHBUTTON "Start",IDC_BT_START,275,188,75,22 -END - -IDD_CARDID_DIALOG DIALOGEX 0, 0, 165, 95 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "Card ID" -FONT 8, "MS Shell Dlg", 400, 0, 0x1 -BEGIN - COMBOBOX IDC_COMBO_CARDID,74,24,71,126,CBS_DROPDOWN | WS_VSCROLL | WS_TABSTOP - LTEXT "Card Number",IDC_STATIC_01,20,25,46,12 - PUSHBUTTON "OK",IDOK,22,62,58,19 - PUSHBUTTON "CANCEL",IDCANCEL,86,62,58,19 -END - - -///////////////////////////////////////////////////////////////////////////// -// -// Version -// - -VS_VERSION_INFO VERSIONINFO - FILEVERSION 1,0,0,1 - PRODUCTVERSION 1,0,0,1 - FILEFLAGSMASK 0x3fL -#ifdef _DEBUG - FILEFLAGS 0x1L -#else - FILEFLAGS 0x0L -#endif - FILEOS 0x4L - FILETYPE 0x1L - FILESUBTYPE 0x0L -BEGIN - BLOCK "StringFileInfo" - BEGIN - BLOCK "040904e4" - BEGIN - VALUE "CompanyName", "TODO: " - VALUE "FileDescription", "TODO: " - VALUE "FileVersion", "1.0.0.1" - VALUE "InternalName", "9223dma.exe" - VALUE "LegalCopyright", "TODO: (c) . All rights reserved." - VALUE "OriginalFilename", "9223dma.exe" - VALUE "ProductName", "TODO: " - VALUE "ProductVersion", "1.0.0.1" - END - END - BLOCK "VarFileInfo" - BEGIN - VALUE "Translation", 0x409, 1252 - END -END - - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog Info -// - -IDD_CARDID_DIALOG DLGINIT -BEGIN - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0030, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0031, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0032, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0033, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0034, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0035, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0036, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0037, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0038, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0039, - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3031, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3131, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3231, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3331, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3431, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3531, "\000" - 0 -END - -IDD_9223DMA_DIALOG DLGINIT -BEGIN - IDC_COMBO_SCANCHAN, 0x403, 4, 0 -0x4843, 0x0030, - IDC_COMBO_SCANCHAN, 0x403, 4, 0 -0x4843, 0x0031, - IDC_COMBO_SCANCHAN, 0x403, 4, 0 -0x4843, 0x0032, - IDC_COMBO_SCANCHAN, 0x403, 4, 0 -0x4843, 0x0033, - IDC_COMBO_SCANCHAN, 0x403, 4, 0 -0x4843, 0x0034, - IDC_COMBO_SCANCHAN, 0x403, 4, 0 -0x4843, 0x0035, - IDC_COMBO_SCANCHAN, 0x403, 4, 0 -0x4843, 0x0036, - IDC_COMBO_SCANCHAN, 0x403, 4, 0 -0x4843, 0x0037, - 0 -END - - -///////////////////////////////////////////////////////////////////////////// -// -// Bitmap -// - -IDB_BITMAP_SET1 BITMAP "res\\ch_set1.bmp" -IDB_BITMAP_SET2 BITMAP "res\\ch_set2.bmp" - -///////////////////////////////////////////////////////////////////////////// -// -// String Table -// - -STRINGTABLE -BEGIN - IDS_ABOUTBOX "&About 9223dma..." -END - -#endif // English (U.S.) resources -///////////////////////////////////////////////////////////////////////////// - - - -#ifndef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 3 resource. -// -#define _AFX_NO_SPLITTER_RESOURCES -#define _AFX_NO_OLE_RESOURCES -#define _AFX_NO_TRACKER_RESOURCES -#define _AFX_NO_PROPERTY_RESOURCES - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -LANGUAGE 9, 1 -#pragma code_page(1252) -#include "res\My9223dma.rc2" // non-Microsoft Visual C++ edited resources -#include "afxres.rc" // Standard components -#endif - -///////////////////////////////////////////////////////////////////////////// -#endif // not APSTUDIO_INVOKED - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AIDma_ExtD/9223dma.sln b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AIDma_ExtD/9223dma.sln deleted file mode 100644 index 146ecf8..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AIDma_ExtD/9223dma.sln +++ /dev/null @@ -1,20 +0,0 @@ - -Microsoft Visual Studio Solution File, Format Version 10.00 -# Visual Studio 2008 -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "9223dma", "9223dma.vcproj", "{702163FB-B6DF-4EF5-9491-FC54D71509BC}" -EndProject -Global - GlobalSection(SolutionConfigurationPlatforms) = preSolution - Debug|x64 = Debug|x64 - Release|x64 = Release|x64 - EndGlobalSection - GlobalSection(ProjectConfigurationPlatforms) = postSolution - {702163FB-B6DF-4EF5-9491-FC54D71509BC}.Debug|x64.ActiveCfg = Debug|x64 - {702163FB-B6DF-4EF5-9491-FC54D71509BC}.Debug|x64.Build.0 = Debug|x64 - {702163FB-B6DF-4EF5-9491-FC54D71509BC}.Release|x64.ActiveCfg = Release|x64 - {702163FB-B6DF-4EF5-9491-FC54D71509BC}.Release|x64.Build.0 = Release|x64 - EndGlobalSection - GlobalSection(SolutionProperties) = preSolution - HideSolutionNode = FALSE - EndGlobalSection -EndGlobal diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AIDma_ExtD/9223dma.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AIDma_ExtD/9223dma.suo deleted file mode 100644 index dd20fc8..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AIDma_ExtD/9223dma.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AIDma_ExtD/9223dma.vcproj b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AIDma_ExtD/9223dma.vcproj deleted file mode 100644 index 6423151..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AIDma_ExtD/9223dma.vcproj +++ /dev/null @@ -1,294 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AIDma_ExtD/9223dmaDlg.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AIDma_ExtD/9223dmaDlg.cpp deleted file mode 100644 index 41517f7..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AIDma_ExtD/9223dmaDlg.cpp +++ /dev/null @@ -1,538 +0,0 @@ - -// 9223dmaDlg.cpp : implementation file -// - -#include "stdafx.h" -#include "9223dma.h" -#include "9223dmaDlg.h" - -#ifdef _DEBUG -#define new DEBUG_NEW -#endif - -CRect plotRect; -#define AI_SAMPLE_COUNT 40000 -#define P922X_TIMEBASE 80000000.0 - -// CAboutDlg dialog used for App About - -class CAboutDlg : public CDialog -{ -public: - CAboutDlg(); - -// Dialog Data - enum { IDD = IDD_ABOUTBOX }; - - protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - -// Implementation -protected: - DECLARE_MESSAGE_MAP() -}; - -CAboutDlg::CAboutDlg() : CDialog(CAboutDlg::IDD) -{ -} - -void CAboutDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); -} - -BEGIN_MESSAGE_MAP(CAboutDlg, CDialog) -END_MESSAGE_MAP() - - -// C9223dmaDlg dialog - - - - -C9223dmaDlg::C9223dmaDlg(I16 hCard, CWnd* pParent /*=NULL*/) - : CDialog(C9223dmaDlg::IDD, pParent) -{ - m_hIcon = AfxGetApp()->LoadIcon(IDR_MAINFRAME); - - n_PlotWidth = n_PlotHeight = -1; - OnBrush = OffBrush = NULL; - - min_val = 0x00; - max_val = 0xFFFF; - - m_dwSampIntrv = 320; - - m_hCard = hCard; - m_wScanChans = 0; - m_nTimer = -1; - -#if 1 - m_pAIBuf = NULL; -#else - m_hMem = NULL; -#endif - - m_wRange = AD_B_10_V; - - max_range = 10.0; - min_range = -10.0; -} - -void C9223dmaDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); - DDX_Control(pDX, IDC_COMBO_SCANCHAN, m_cbScanChans); -} - -BEGIN_MESSAGE_MAP(C9223dmaDlg, CDialog) - ON_WM_SYSCOMMAND() - ON_WM_PAINT() - ON_WM_QUERYDRAGICON() - //}}AFX_MSG_MAP - ON_WM_DESTROY() - ON_WM_VSCROLL() - ON_CBN_SELCHANGE(IDC_COMBO_SCANCHAN, &C9223dmaDlg::OnScanChanSelchange) - ON_BN_CLICKED(IDC_BT_START, &C9223dmaDlg::OnStart) - ON_WM_TIMER() -END_MESSAGE_MAP() - - -// C9223dmaDlg message handlers - -BOOL C9223dmaDlg::OnInitDialog() -{ - CDialog::OnInitDialog(); - - // Add "About..." menu item to system menu. - - // IDM_ABOUTBOX must be in the system command range. - ASSERT((IDM_ABOUTBOX & 0xFFF0) == IDM_ABOUTBOX); - ASSERT(IDM_ABOUTBOX < 0xF000); - - CMenu* pSysMenu = GetSystemMenu(FALSE); - if (pSysMenu != NULL) - { - BOOL bNameValid; - CString strAboutMenu; - bNameValid = strAboutMenu.LoadString(IDS_ABOUTBOX); - ASSERT(bNameValid); - if (!strAboutMenu.IsEmpty()) - { - pSysMenu->AppendMenu(MF_SEPARATOR); - pSysMenu->AppendMenu(MF_STRING, IDM_ABOUTBOX, strAboutMenu); - } - } - - // Set the icon for this dialog. The framework does this automatically - // when the application's main window is not a dialog - SetIcon(m_hIcon, TRUE); // Set big icon - SetIcon(m_hIcon, FALSE); // Set small icon - - // TODO: Add extra initialization here - x_divider = 5; y_divider = 4; - - OnBrush = CreateSolidBrush( RGB(255,0,0) ); - OffBrush = CreateSolidBrush( RGB(125,0,0) ); - - RedPen.CreatePen( PS_SOLID, 1, RGB(255,0,0)); - GreenPen.CreatePen( PS_SOLID, 1, RGB(0,255,0)); - YellowPen.CreatePen( PS_SOLID, 1, RGB(255,255,0)); - BluePen.CreatePen( PS_SOLID, 1, RGB(0,0,255)); - LTBluePen.CreatePen( PS_SOLID, 1, RGB(0,128,255)); - LTRedPen.CreatePen( PS_SOLID, 1, RGB(255,128,0)); - LTGreenPen.CreatePen( PS_SOLID, 1, RGB(0,128,0)); - WhitePen.CreatePen( PS_SOLID, 1, RGB(255,255,255)); - - if( n_PlotWidth == -1 && n_PlotHeight == -1 ) - { - ((CWnd*)GetDlgItem(IDC_STATIC_DRAW))->GetWindowRect(&plotRect); - ScreenToClient(&plotRect); - - n_PlotWidth = min( plotRect.Width(), 512); - n_PlotHeight = plotRect.Height() - 10; - } - - - // set the default SampleRate - SetDlgItemInt( IDC_EDIT_SCAN_ITERVAL, (UINT)(m_dwSampIntrv) ); - m_cbScanChans.SetCurSel( 0 ); - - return TRUE; // return TRUE unless you set the focus to a control -} - -void C9223dmaDlg::OnSysCommand(UINT nID, LPARAM lParam) -{ - if ((nID & 0xFFF0) == IDM_ABOUTBOX) - { - CAboutDlg dlgAbout; - dlgAbout.DoModal(); - } - else - { - CDialog::OnSysCommand(nID, lParam); - } -} - -// If you add a minimize button to your dialog, you will need the code below -// to draw the icon. For MFC applications using the document/view model, -// this is automatically done for you by the framework. - -void C9223dmaDlg::OnPaint() -{ - if (IsIconic()) - { - CPaintDC dc(this); // device context for painting - - SendMessage(WM_ICONERASEBKGND, reinterpret_cast(dc.GetSafeHdc()), 0); - - // Center icon in client rectangle - int cxIcon = GetSystemMetrics(SM_CXICON); - int cyIcon = GetSystemMetrics(SM_CYICON); - CRect rect; - GetClientRect(&rect); - int x = (rect.Width() - cxIcon + 1) / 2; - int y = (rect.Height() - cyIcon + 1) / 2; - - // Draw the icon - dc.DrawIcon(x, y, m_hIcon); - } - else - { - redraw_display_area(); - CDialog::OnPaint(); - } -} - -// The system calls this function to obtain the cursor to display while the user drags -// the minimized window. -HCURSOR C9223dmaDlg::OnQueryDragIcon() -{ - return static_cast(m_hIcon); -} - - -void C9223dmaDlg::redraw_display_area(void) -{ - CPen *oldPen; - - int oldMode; - COLORREF oldColor; - - CString y_lable; - - CPen minor_tick( PS_SOLID,1,RGB(132,130,132) ); -// CPen y_grid( PS_SOLID,1,RGB(206,203,132) ); - - int i, x_intv, y_intv; -// long total_sec; - - CClientDC dc_plot(this); - - // draw the base-line for x-y axises - oldPen = (CPen *)dc_plot.SelectStockObject(BLACK_PEN); - - // redraw the background - dc_plot.FillSolidRect( plotRect, RGB(0,0,0) ); - - // Re-Draw the AREA for Y-Lable - { - CBrush DIALOG_BRUSH; - CRect redraw_area, full_client; - - GetClientRect(&full_client); - ScreenToClient(&full_client); - - redraw_area.left = full_client.left; - redraw_area.top = plotRect.top - 5; - redraw_area.right = plotRect.left - 3; - redraw_area.bottom = plotRect.bottom + 10; - - DIALOG_BRUSH.CreateSysColorBrush( COLOR_3DFACE ); - - dc_plot.FillRect( redraw_area, &DIALOG_BRUSH ); - - DIALOG_BRUSH.DeleteObject(); - } - - dc_plot.MoveTo( plotRect.left - 3, plotRect.top ); - dc_plot.LineTo( plotRect.left - 3, plotRect.bottom ); - - // calculate the interval for tick/grid - y_intv = (plotRect.Height() - 10) /y_divider; - x_intv = plotRect.Width()/x_divider; - - - // set the color for tick - oldColor = dc_plot.SetTextColor( RGB(0,0,0) ); - oldMode = dc_plot.SetBkMode( TRANSPARENT ); - - for( i=0; i<= y_divider; i++ ) - { - CString tick_str; - CRect tmp_rect, tick_rect; - - // draw the tick for y-axis - dc_plot.MoveTo( plotRect.left -12, plotRect.bottom -5 - (i*y_intv) ); - dc_plot.LineTo( plotRect.left -3, plotRect.bottom -5 - (i*y_intv) ); - - tick_str.Format( _T("%.1f"), ( ((max_range-min_range)/y_divider) * i)+min_range ); - - // calculate the rectangle for text - dc_plot.DrawText( tick_str, &tmp_rect, DT_CALCRECT|DT_SINGLELINE ); - tick_rect.right = plotRect.left -14; - tick_rect.left = tick_rect.right - tmp_rect.Width(); - tick_rect.top = plotRect.bottom -5 - (i*y_intv) - tmp_rect.Height()/2; - tick_rect.bottom = tick_rect.top + tmp_rect.Height(); - - // draw the text - dc_plot.DrawText( tick_str, &tick_rect, DT_SINGLELINE|DT_RIGHT ); - - } - - // draw the minor_tick for Y axises - dc_plot.SelectObject(&minor_tick); - for( i=0; i< y_divider; i++ ) - { - dc_plot.MoveTo( plotRect.left -9, plotRect.bottom -5 - (i*y_intv) - y_intv/2 ); - dc_plot.LineTo( plotRect.left -4, plotRect.bottom -5 - (i*y_intv) - y_intv/2 ); - } - - dc_plot.SetTextColor( oldColor ); - dc_plot.SetBkMode( oldMode ); - dc_plot.SelectObject( oldPen ); -} - -void C9223dmaDlg::OnDestroy() -{ - CDialog::OnDestroy(); - - // TODO: Add your message handler code here - if( m_nTimer != -1 ) - { - KillTimer( m_nTimer ); - m_nTimer = -1; - } - - if (m_pAIBuf != NULL) - { - free( m_pAIBuf ); - m_pAIBuf = NULL; - } - - - if( OnBrush != NULL ) - ::DeleteObject( OnBrush ); - - if( OffBrush != NULL ) - ::DeleteObject( OffBrush ); - - RedPen.DeleteObject(); - GreenPen.DeleteObject(); - YellowPen.DeleteObject(); - BluePen.DeleteObject(); - LTBluePen.DeleteObject(); - LTRedPen.DeleteObject(); - LTGreenPen.DeleteObject(); - WhitePen.DeleteObject(); -} - -void C9223dmaDlg::OnVScroll(UINT nSBCode, UINT nPos, CScrollBar* pScrollBar) -{ - // TODO: Add your message handler code here and/or call default - switch ( nSBCode ) - { - case SB_LINEUP : - m_dwSampIntrv += 160; - if (m_dwSampIntrv > 40000 ) m_dwSampIntrv = 40000; - - break; - case SB_LINEDOWN: - m_dwSampIntrv -= 160; - if (m_dwSampIntrv < 160 ) m_dwSampIntrv = 160; - - break; - } - - SetDlgItemInt( IDC_EDIT_SCAN_ITERVAL, (UINT)(m_dwSampIntrv) ); - - CDialog::OnVScroll(nSBCode, nPos, pScrollBar); -} - -void C9223dmaDlg::OnScanChanSelchange() -{ - // TODO: Add your control notification handler code here - int nIndex; - - nIndex = m_cbScanChans.GetCurSel(); - m_wScanChans = (U16)nIndex; -} - -void C9223dmaDlg::OnStart() -{ - // TODO: Add your control notification handler code here - DWORD mem_size; - CString strTemp; - I16 err; - - GetDlgItem( IDC_BT_START )->EnableWindow(FALSE); - - if (m_pAIBuf != NULL) - { - free( m_pAIBuf ); - m_pAIBuf = NULL; - } - - // allocate a memory for user DMA buffer - mem_size = AI_SAMPLE_COUNT * sizeof(I16); - - m_pAIBuf = (U16*)malloc( mem_size ); - if (m_pAIBuf == NULL ) - { - AfxMessageBox( TEXT("Memory allocation failed"), MB_OK); - } - else - { - memset( m_pAIBuf, '\0', mem_size ); - } - - - m_oldY[0] = m_oldY[1] = m_oldY[2] = m_oldY[3] = m_oldY[4] = m_oldY[5] = m_oldY[6] = m_oldY[7] = -1; - m_oldX[0] = m_oldX[1] = m_oldX[2] = m_oldX[3] = m_oldX[4] = m_oldX[5] = m_oldX[6] = m_oldX[7] = -1; - - /*Configure AI*/ - err = AI_9222_Config(m_hCard, (P922x_AI_SingEnded|P922x_AI_CONVSRC_INT), (P922x_AI_TRGMOD_POST|P922x_AI_TRGSRC_GPI0), 0, 1); - if (err!=0) - { - strTemp.Format( TEXT("AI_9222_Config error=%d"), err); - AfxMessageBox( strTemp ); - return; - } - - /*Set Scan and Sampling Rate*/ - err = AI_9222_CounterInterval(m_hCard, m_dwSampIntrv, m_dwSampIntrv); - if (err!=0) - { - strTemp.Format( TEXT("AI_9222_CounterInterval error=%d"), err); - AfxMessageBox( strTemp ); - return; - } - - /*Disable Double Buffer Mode*/ - err = AI_AsyncDblBufferMode(m_hCard, 0); // single-buffer mode - if (err!=0) - { - strTemp.Format( TEXT("AI_DblBufferMode error=%d"), err); - AfxMessageBox( strTemp ); - return; - } - - err = AI_ContBufferSetup (m_hCard, m_pAIBuf, AI_SAMPLE_COUNT, &m_wBufferID); - if (err!=0) - { - strTemp.Format( TEXT("AI_ContBufferSetup error=%d"), err); - AfxMessageBox( strTemp ); - return; - } - - err = AI_ContReadChannel(m_hCard, m_wScanChans, m_wRange, &m_wBufferID, AI_SAMPLE_COUNT, 0/*Ignore*/, ASYNCH_OP); - if (err!=0) - { - strTemp.Format( TEXT("AI_ContScanChannels error=%d"), err); - AfxMessageBox( strTemp ); - return; - } - - m_nTimer = SetTimer( 1, 20, NULL ); - -} - -int C9223dmaDlg::display_buffer_data(U16* pBuf) -{ - CClientDC dc_plot(this); - int nDraw_Origin_Y; - int cur_channel; - - int newY = -1; - int newX = -1; - U32 index; - I16 ai_data; - - dc_plot.FillSolidRect( plotRect, RGB(0,0,0) ); - - switch(m_wScanChans) - { - case 0: - dc_plot.SelectObject(&YellowPen); - break; - case 1: - dc_plot.SelectObject(<GreenPen); - break; - case 2: - dc_plot.SelectObject(&BluePen); - break; - case 3: - dc_plot.SelectObject(&RedPen); - break; - case 4: - dc_plot.SelectObject(<BluePen); - break; - case 5: - dc_plot.SelectObject(<RedPen); - break; - case 6: - dc_plot.SelectObject(&GreenPen); - break; - case 7: - dc_plot.SelectObject(&WhitePen); - break; - } - - nDraw_Origin_Y = ( plotRect.bottom - 5 ) - n_PlotHeight/2; - cur_channel = m_wScanChans; - - for( index=0; index> 16) ); // ( n_PlotHeight * ai_data / 65536) ); // ( (n_PlotHeight/2) * ai_data/32768 ) ); - newX = (int)( index*n_PlotWidth/AI_SAMPLE_COUNT + plotRect.left ); - - if ( m_oldX[cur_channel] == -1 ) - { - dc_plot.MoveTo( newX, newY ); - } - else - { - dc_plot.MoveTo( m_oldX[cur_channel], m_oldY[cur_channel] ); - dc_plot.LineTo( newX, newY ); - } - - m_oldX[cur_channel] = newX; - m_oldY[cur_channel] = newY; - } - - return 0; -} - -void C9223dmaDlg::OnTimer(UINT_PTR nIDEvent) -{ - // TODO: Add your message handler code here and/or call default - BOOLEAN fstop; - U32 count; - - AI_AsyncCheck(m_hCard, &fstop, &count); - - if( fstop == TRUE ) - { - AI_AsyncClear( m_hCard, &count ); - - KillTimer( m_nTimer ); - m_nTimer = -1; - - display_buffer_data( m_pAIBuf ); - - GetDlgItem( IDC_BT_START )->EnableWindow( TRUE ); - } - - CDialog::OnTimer(nIDEvent); -} diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AIDma_ExtD/9223dmaDlg.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AIDma_ExtD/9223dmaDlg.h deleted file mode 100644 index 2251903..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AIDma_ExtD/9223dmaDlg.h +++ /dev/null @@ -1,75 +0,0 @@ - -// 9223dmaDlg.h : header file -#pragma once -#include "afxcmn.h" -#include "afxwin.h" - -#include "Dask64.h" - - -// C9223dmaDlg dialog -class C9223dmaDlg : public CDialog -{ -// Construction -public: - C9223dmaDlg(I16 hCard, CWnd* pParent = NULL); // standard constructor - -// Dialog Data - enum { IDD = IDD_9223DMA_DIALOG }; - - protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - - -// Implementation -protected: - HICON m_hIcon; - UINT_PTR m_nTimer; - I16 m_hCard; - U32 m_dwSampIntrv; - U16 m_wScanChans; - U16 m_wBufferID; -#if 0 - HANDLE m_hMem; -#endif - U16 *m_pAIBuf; - U16 m_wRange; - int m_oldY[8]; - int m_oldX[8]; - - // Generated message map functions - virtual BOOL OnInitDialog(); - afx_msg void OnSysCommand(UINT nID, LPARAM lParam); - afx_msg void OnPaint(); - afx_msg HCURSOR OnQueryDragIcon(); - DECLARE_MESSAGE_MAP() - -public: - WORD max_val; - WORD min_val; - double max_range; - double min_range; - int n_PlotWidth; - int n_PlotHeight; - int y_divider; - int x_divider; - int m_DisplayScale; - HBRUSH OnBrush; - HBRUSH OffBrush; - CPen RedPen; - CPen GreenPen; - CPen YellowPen; - CPen BluePen; - CPen LTBluePen; - CPen LTRedPen; - CPen LTGreenPen; - CPen WhitePen; - void redraw_display_area(void); - afx_msg void OnDestroy(); - CComboBox m_cbScanChans; - afx_msg void OnVScroll(UINT nSBCode, UINT nPos, CScrollBar* pScrollBar); - afx_msg void OnScanChanSelchange(); - afx_msg void OnStart(); - int display_buffer_data(U16* pBuf); - afx_msg void OnTimer(UINT_PTR nIDEvent); -}; diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AIDma_ExtD/CardIDDlg.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AIDma_ExtD/CardIDDlg.cpp deleted file mode 100644 index 5ba0991..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AIDma_ExtD/CardIDDlg.cpp +++ /dev/null @@ -1,64 +0,0 @@ -// CardIDDlg.cpp : implementation file -// -#include "stdafx.h" -#include "9223dma.h" -#include "9223dmaDlg.h" -#include "CardIDDlg.h" - -// CCardIDDlg dialog - -IMPLEMENT_DYNAMIC(CCardIDDlg, CDialog) - -CCardIDDlg::CCardIDDlg(int nCardIdx, CWnd* pParent /*=NULL*/) - : CDialog(CCardIDDlg::IDD, pParent) -{ - m_nCardIdx = nCardIdx; -} - -CCardIDDlg::~CCardIDDlg() -{ -} - -void CCardIDDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); - DDX_Control(pDX, IDC_COMBO_CARDID, m_cbCardID); -} - - -BEGIN_MESSAGE_MAP(CCardIDDlg, CDialog) -// ON_CBN_SELCHANGE(IDC_COMBO_CARDID, &CCardIDDlg::OnCbnSelchangeComboCardid) -ON_BN_CLICKED(IDOK, &CCardIDDlg::OnBnClickedOk) -//ON_WM_CTLCOLOR() -END_MESSAGE_MAP() - - -// CCardIDDlg message handlers - - -void CCardIDDlg::OnBnClickedOk() -{ - // TODO: Add your control notification handler code here - -// UpdateData(TRUE); - m_nCardIdx = m_cbCardID.GetCurSel(); - - OnOK(); -} - -BOOL CCardIDDlg::OnInitDialog() -{ - CDialog::OnInitDialog(); - - // TODO: Add extra initialization here - m_cbCardID.SetCurSel( m_nCardIdx ); - - return TRUE; // return TRUE unless you set the focus to a control - // EXCEPTION: OCX Property Pages should return FALSE -} - -// the function to get the selected CardID -int CCardIDDlg::GetCardID(void) -{ - return m_nCardIdx; -} diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AIDma_ExtD/CardIDDlg.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AIDma_ExtD/CardIDDlg.h deleted file mode 100644 index 9c02c58..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AIDma_ExtD/CardIDDlg.h +++ /dev/null @@ -1,32 +0,0 @@ -#pragma once -#include "afxwin.h" - -#include "Dask64.h" - -// CCardIDDlg dialog - -class CCardIDDlg : public CDialog -{ - DECLARE_DYNAMIC(CCardIDDlg) - -public: - CCardIDDlg(int nCardIdx, CWnd* pParent = NULL); // standard constructor - virtual ~CCardIDDlg(); - -// Dialog Data - enum { IDD = IDD_CARDID_DIALOG }; - -protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - - DECLARE_MESSAGE_MAP() -public: - virtual BOOL OnInitDialog(); - afx_msg void OnBnClickedOk(); - // the setting of CardID ComboBox - int m_nCardIdx; - // the control of CardID ComboBox - CComboBox m_cbCardID; - // the function to get the selected CardID - int GetCardID(void); -}; diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AIDma_ExtD/ReadMe.txt b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AIDma_ExtD/ReadMe.txt deleted file mode 100644 index 13fee67..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AIDma_ExtD/ReadMe.txt +++ /dev/null @@ -1,93 +0,0 @@ -================================================================================ - MICROSOFT FOUNDATION CLASS LIBRARY : 9223dma Project Overview -=============================================================================== - -The application wizard has created this 9223dma application for -you. This application not only demonstrates the basics of using the Microsoft -Foundation Classes but is also a starting point for writing your application. - -This file contains a summary of what you will find in each of the files that -make up your 9223dma application. - -9223dma.vcproj - This is the main project file for VC++ projects generated using an application wizard. - It contains information about the version of Visual C++ that generated the file, and - information about the platforms, configurations, and project features selected with the - application wizard. - -9223dma.h - This is the main header file for the application. It includes other - project specific headers (including Resource.h) and declares the - C9223dmaApp application class. - -9223dma.cpp - This is the main application source file that contains the application - class C9223dmaApp. - -9223dma.rc - This is a listing of all of the Microsoft Windows resources that the - program uses. It includes the icons, bitmaps, and cursors that are stored - in the RES subdirectory. This file can be directly edited in Microsoft - Visual C++. Your project resources are in 1033. - -res\9223dma.ico - This is an icon file, which is used as the application's icon. This - icon is included by the main resource file 9223dma.rc. - -res\My9223dma.rc2 - This file contains resources that are not edited by Microsoft - Visual C++. You should place all resources not editable by - the resource editor in this file. - - -///////////////////////////////////////////////////////////////////////////// - -The application wizard creates one dialog class: - -9223dmaDlg.h, 9223dmaDlg.cpp - the dialog - These files contain your C9223dmaDlg class. This class defines - the behavior of your application's main dialog. The dialog's template is - in 9223dma.rc, which can be edited in Microsoft Visual C++. - - -///////////////////////////////////////////////////////////////////////////// - -Other Features: - -ActiveX Controls - The application includes support to use ActiveX controls. - -///////////////////////////////////////////////////////////////////////////// - -Other standard files: - -StdAfx.h, StdAfx.cpp - These files are used to build a precompiled header (PCH) file - named 9223dma.pch and a precompiled types file named StdAfx.obj. - -Resource.h - This is the standard header file, which defines new resource IDs. - Microsoft Visual C++ reads and updates this file. - -9223dma.manifest - Application manifest files are used by Windows XP to describe an applications - dependency on specific versions of Side-by-Side assemblies. The loader uses this - information to load the appropriate assembly from the assembly cache or private - from the application. The Application manifest maybe included for redistribution - as an external .manifest file that is installed in the same folder as the application - executable or it may be included in the executable in the form of a resource. -///////////////////////////////////////////////////////////////////////////// - -Other notes: - -The application wizard uses "TODO:" to indicate parts of the source code you -should add to or customize. - -If your application uses MFC in a shared DLL, you will need -to redistribute the MFC DLLs. If your application is in a language -other than the operating system's locale, you will also have to -redistribute the corresponding localized resources MFC90XXX.DLL. -For more information on both of these topics, please see the section on -redistributing Visual C++ applications in MSDN documentation. - -///////////////////////////////////////////////////////////////////////////// diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AIDma_ExtD/res/9223dma.ico b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AIDma_ExtD/res/9223dma.ico deleted file mode 100644 index d56fbcd..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AIDma_ExtD/res/9223dma.ico and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AIDma_ExtD/res/My9223dma.rc2 b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AIDma_ExtD/res/My9223dma.rc2 deleted file mode 100644 index 383cde2..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AIDma_ExtD/res/My9223dma.rc2 +++ /dev/null @@ -1,13 +0,0 @@ -// -// My9111int.RC2 - resources Microsoft Visual C++ does not edit directly -// - -#ifdef APSTUDIO_INVOKED -#error this file is not editable by Microsoft Visual C++ -#endif //APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// Add manually edited resources here... - -///////////////////////////////////////////////////////////////////////////// diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AIDma_ExtD/res/ch_set1.bmp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AIDma_ExtD/res/ch_set1.bmp deleted file mode 100644 index f2374ed..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AIDma_ExtD/res/ch_set1.bmp and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AIDma_ExtD/res/ch_set2.bmp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AIDma_ExtD/res/ch_set2.bmp deleted file mode 100644 index 32d0915..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AIDma_ExtD/res/ch_set2.bmp and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AIDma_ExtD/resource.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AIDma_ExtD/resource.h deleted file mode 100644 index c4cb6ab..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AIDma_ExtD/resource.h +++ /dev/null @@ -1,33 +0,0 @@ -//{{NO_DEPENDENCIES}} -// Microsoft Visual C++ generated include file. -// Used by 9223dma.rc -// -#define IDM_ABOUTBOX 0x0010 -#define IDD_ABOUTBOX 100 -#define IDS_ABOUTBOX 101 -#define IDD_9223DMA_DIALOG 102 -#define IDR_MAINFRAME 128 -#define IDD_CARDID_DIALOG 129 -#define IDB_BITMAP_SET1 131 -#define IDB_BITMAP_SET2 132 -#define IDC_STATIC_DRAW 1000 -#define IDC_COMBO_CARDID 1001 -#define IDC_COMBO_SCANCHAN 1001 -#define IDC_COMBO_CARDTYPE 1002 -#define IDC_BUTTON1 1002 -#define IDC_BT_START 1002 -#define IDC_EDIT_SCAN_ITERVAL 1003 -#define IDC_SCROLLBAR_RATE 1006 -#define IDC_STATIC_01 1014 -#define IDC_STATIC_2 1015 - -// Next default values for new objects -// -#ifdef APSTUDIO_INVOKED -#ifndef APSTUDIO_READONLY_SYMBOLS -#define _APS_NEXT_RESOURCE_VALUE 134 -#define _APS_NEXT_COMMAND_VALUE 32771 -#define _APS_NEXT_CONTROL_VALUE 1003 -#define _APS_NEXT_SYMED_VALUE 101 -#endif -#endif diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AIDma_ExtD/stdafx.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AIDma_ExtD/stdafx.cpp deleted file mode 100644 index ef80626..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AIDma_ExtD/stdafx.cpp +++ /dev/null @@ -1,8 +0,0 @@ - -// stdafx.cpp : source file that includes just the standard includes -// 9111int.pch will be the pre-compiled header -// stdafx.obj will contain the pre-compiled type information - -#include "stdafx.h" - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AIDma_ExtD/stdafx.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AIDma_ExtD/stdafx.h deleted file mode 100644 index 12123e2..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AIDma_ExtD/stdafx.h +++ /dev/null @@ -1,60 +0,0 @@ - -// stdafx.h : include file for standard system include files, -// or project specific include files that are used frequently, -// but are changed infrequently - -#pragma once - -#ifndef _SECURE_ATL -#define _SECURE_ATL 1 -#endif - -#ifndef VC_EXTRALEAN -#define VC_EXTRALEAN // Exclude rarely-used stuff from Windows headers -#endif - -#include "targetver.h" - -#define _ATL_CSTRING_EXPLICIT_CONSTRUCTORS // some CString constructors will be explicit - -// turns off MFC's hiding of some common and often safely ignored warning messages -#define _AFX_ALL_WARNINGS - -#include // MFC core and standard components -#include // MFC extensions - - -#include // MFC Automation classes - - - -#ifndef _AFX_NO_OLE_SUPPORT -#include // MFC support for Internet Explorer 4 Common Controls -#endif -#ifndef _AFX_NO_AFXCMN_SUPPORT -#include // MFC support for Windows Common Controls -#endif // _AFX_NO_AFXCMN_SUPPORT - -#include // MFC support for ribbons and control bars - - - - - - - - - -#ifdef _UNICODE -#if defined _M_IX86 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='x86' publicKeyToken='6595b64144ccf1df' language='*'\"") -#elif defined _M_IA64 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='ia64' publicKeyToken='6595b64144ccf1df' language='*'\"") -#elif defined _M_X64 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='amd64' publicKeyToken='6595b64144ccf1df' language='*'\"") -#else -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='*' publicKeyToken='6595b64144ccf1df' language='*'\"") -#endif -#endif - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AIDma_ExtD/targetver.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AIDma_ExtD/targetver.h deleted file mode 100644 index 11730d5..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AIDma_ExtD/targetver.h +++ /dev/null @@ -1,26 +0,0 @@ - -#pragma once - -// The following macros define the minimum required platform. The minimum required platform -// is the earliest version of Windows, Internet Explorer etc. that has the necessary features to run -// your application. The macros work by enabling all features available on platform versions up to and -// including the version specified. - -// Modify the following defines if you have to target a platform prior to the ones specified below. -// Refer to MSDN for the latest info on corresponding values for different platforms. -#ifndef WINVER // Specifies that the minimum required platform is Windows Vista. -#define WINVER 0x0600 // Change this to the appropriate value to target other versions of Windows. -#endif - -#ifndef _WIN32_WINNT // Specifies that the minimum required platform is Windows Vista. -#define _WIN32_WINNT 0x0600 // Change this to the appropriate value to target other versions of Windows. -#endif - -#ifndef _WIN32_WINDOWS // Specifies that the minimum required platform is Windows 98. -#define _WIN32_WINDOWS 0x0410 // Change this to the appropriate value to target Windows Me or later. -#endif - -#ifndef _WIN32_IE // Specifies that the minimum required platform is Internet Explorer 7.0. -#define _WIN32_IE 0x0700 // Change this to the appropriate value to target other versions of IE. -#endif - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AIDma_GateTrigger/9111int.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AIDma_GateTrigger/9111int.suo deleted file mode 100644 index 1d7a5ee..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AIDma_GateTrigger/9111int.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AIDma_GateTrigger/9116dma.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AIDma_GateTrigger/9116dma.suo deleted file mode 100644 index ac40639..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AIDma_GateTrigger/9116dma.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AIDma_GateTrigger/9221dma.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AIDma_GateTrigger/9221dma.suo deleted file mode 100644 index dcc1d84..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AIDma_GateTrigger/9221dma.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AIDma_GateTrigger/9222dma.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AIDma_GateTrigger/9222dma.suo deleted file mode 100644 index 21aa670..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AIDma_GateTrigger/9222dma.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AIDma_GateTrigger/9223dma.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AIDma_GateTrigger/9223dma.cpp deleted file mode 100644 index 7c0f647..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AIDma_GateTrigger/9223dma.cpp +++ /dev/null @@ -1,109 +0,0 @@ - -// 9223dma.cpp : Defines the class behaviors for the application. -// - -#include "stdafx.h" -#include "9223dma.h" -#include "9223dmaDlg.h" -#include "CardIDDlg.h" - -#ifdef _DEBUG -#define new DEBUG_NEW -#endif - - -// C9223dmaApp - -BEGIN_MESSAGE_MAP(C9223dmaApp, CWinAppEx) - ON_COMMAND(ID_HELP, &CWinApp::OnHelp) -END_MESSAGE_MAP() - - -// C9223dmaApp construction - -C9223dmaApp::C9223dmaApp() -{ - // TODO: add construction code here, - // Place all significant initialization in InitInstance -} - - -// The one and only C9223dmaApp object - -C9223dmaApp theApp; - - -// C9223dmaApp initialization - -BOOL C9223dmaApp::InitInstance() -{ - int nCardID = 0; - I16 hCard; - CString strTemp; - INT_PTR nResponse; - - // InitCommonControlsEx() is required on Windows XP if an application - // manifest specifies use of ComCtl32.dll version 6 or later to enable - // visual styles. Otherwise, any window creation will fail. - INITCOMMONCONTROLSEX InitCtrls; - InitCtrls.dwSize = sizeof(InitCtrls); - // Set this to include all the common control classes you want to use - // in your application. - InitCtrls.dwICC = ICC_WIN95_CLASSES; - InitCommonControlsEx(&InitCtrls); - - CWinAppEx::InitInstance(); - - AfxEnableControlContainer(); - - // Standard initialization - // If you are not using these features and wish to reduce the size - // of your final executable, you should remove from the following - // the specific initialization routines you do not need - // Change the registry key under which our settings are stored - // TODO: You should modify this string to be something appropriate - // such as the name of your company or organization - SetRegistryKey(_T("Local AppWizard-Generated Applications")); - - CCardIDDlg CardDlg( nCardID ); - - nResponse = CardDlg.DoModal(); - if (nResponse == IDOK) - { - nCardID = CardDlg.GetCardID(); - - if ((hCard=Register_Card(PCI_9223, nCardID)) < 0) - { - strTemp.Format( TEXT("Register_Card Error = %d"), hCard); - AfxMessageBox( strTemp ); - } - else - { - C9223dmaDlg dlg(hCard); - m_pMainWnd = &dlg; - nResponse = dlg.DoModal(); - if (nResponse == IDOK) - { - // TODO: Place code here to handle when the dialog is - // dismissed with OK - } - else if (nResponse == IDCANCEL) - { - // TODO: Place code here to handle when the dialog is - // dismissed with Cancel - } - - if (hCard >= 0) Release_Card(hCard); - } - - } - else if (nResponse == IDCANCEL) - { - // TODO: Place code here to handle when the dialog is - // dismissed with Cancel - } - - // Since the dialog has been closed, return FALSE so that we exit the - // application, rather than start the application's message pump. - return FALSE; -} diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AIDma_GateTrigger/9223dma.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AIDma_GateTrigger/9223dma.h deleted file mode 100644 index b0f6ce2..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AIDma_GateTrigger/9223dma.h +++ /dev/null @@ -1,34 +0,0 @@ - -// 9223dma.h : main header file for the PROJECT_NAME application -// - -#pragma once - -#ifndef __AFXWIN_H__ - #error "include 'stdafx.h' before including this file for PCH" -#endif - -#include "resource.h" // main symbols - -#define AI_MODE_DMA 0 -#define AI_MODE_INT 1 - -// C9223dmaApp: -// See 9223dma.cpp for the implementation of this class -// - -class C9223dmaApp : public CWinAppEx -{ -public: - C9223dmaApp(); - -// Overrides - public: - virtual BOOL InitInstance(); - -// Implementation - - DECLARE_MESSAGE_MAP() -}; - -extern C9223dmaApp theApp; \ No newline at end of file diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AIDma_GateTrigger/9223dma.rc b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AIDma_GateTrigger/9223dma.rc deleted file mode 100644 index 2ced91b..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AIDma_GateTrigger/9223dma.rc +++ /dev/null @@ -1,287 +0,0 @@ -// Microsoft Visual C++ generated resource script. -// -#include "resource.h" - -#define APSTUDIO_READONLY_SYMBOLS -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 2 resource. -// -#ifndef APSTUDIO_INVOKED -#include "targetver.h" -#endif -#include "afxres.h" - -///////////////////////////////////////////////////////////////////////////// -#undef APSTUDIO_READONLY_SYMBOLS - -///////////////////////////////////////////////////////////////////////////// -// Chinese (Taiwan) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_CHT) -#ifdef _WIN32 -LANGUAGE LANG_CHINESE, SUBLANG_CHINESE_TRADITIONAL -#pragma code_page(950) -#endif //_WIN32 - -#ifdef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// TEXTINCLUDE -// - -1 TEXTINCLUDE -BEGIN - "resource.h\0" -END - -2 TEXTINCLUDE -BEGIN - "#ifndef APSTUDIO_INVOKED\r\n" - "#include ""targetver.h""\r\n" - "#endif\r\n" - "#include ""afxres.h""\r\n" - "\0" -END - -3 TEXTINCLUDE -BEGIN - "#define _AFX_NO_SPLITTER_RESOURCES\r\n" - "#define _AFX_NO_OLE_RESOURCES\r\n" - "#define _AFX_NO_TRACKER_RESOURCES\r\n" - "#define _AFX_NO_PROPERTY_RESOURCES\r\n" - "\r\n" - "#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)\r\n" - "LANGUAGE 9, 1\r\n" - "#pragma code_page(1252)\r\n" - "#include ""res\\My9223dma.rc2"" // non-Microsoft Visual C++ edited resources\r\n" - "#include ""afxres.rc"" // Standard components\r\n" - "#endif\r\n" - "\0" -END - -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// Icon -// - -// Icon with lowest ID value placed first to ensure application icon -// remains consistent on all systems. -IDR_MAINFRAME ICON "res\\9223dma.ico" -#endif // Chinese (Taiwan) resources -///////////////////////////////////////////////////////////////////////////// - - -///////////////////////////////////////////////////////////////////////////// -// English (U.S.) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -#ifdef _WIN32 -LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US -#pragma code_page(1252) -#endif //_WIN32 - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog -// - -IDD_ABOUTBOX DIALOGEX 0, 0, 170, 62 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "About 9223dma" -FONT 8, "MS Shell Dlg", 0, 0, 0x1 -BEGIN - ICON IDR_MAINFRAME,IDC_STATIC,14,14,21,20 - LTEXT "9223dma, Version 1.0",IDC_STATIC,42,14,114,8,SS_NOPREFIX - LTEXT "Copyright (C) 2010",IDC_STATIC,42,26,114,8 - DEFPUSHBUTTON "OK",IDOK,113,41,50,14,WS_GROUP -END - -IDD_9223DMA_DIALOG DIALOGEX 0, 0, 365, 232 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU -EXSTYLE WS_EX_APPWINDOW -CAPTION -"PCI-9222 AI Gated Trigger /w External Digital Trigger GPI0 (Single-End Signal)" -FONT 8, "MS Shell Dlg", 0, 0, 0x1 -BEGIN - GROUPBOX "",IDC_STATIC_DRAW,45,9,227,161,NOT WS_VISIBLE - CONTROL 132,IDC_STATIC,"Static",SS_BITMAP,327,28,11,45 - CONTROL 131,IDC_STATIC,"Static",SS_BITMAP,298,29,9,44 - LTEXT "0",IDC_STATIC,286,29,10,11 - LTEXT "1",IDC_STATIC,286,40,10,11 - LTEXT "2",IDC_STATIC,286,51,10,11 - LTEXT "3",IDC_STATIC,286,63,10,11 - LTEXT "4",IDC_STATIC,318,29,10,11 - LTEXT "5",IDC_STATIC,318,40,10,11 - LTEXT "6",IDC_STATIC,318,51,10,11 - LTEXT "7",IDC_STATIC,318,63,10,11 - LTEXT "Range : +/- 10V",IDC_STATIC,283,130,57,15 - COMBOBOX IDC_COMBO_SCANCHAN,171,197,74,17,CBS_DROPDOWN | WS_VSCROLL | WS_TABSTOP - LTEXT "Read Channel",IDC_STATIC,171,182,53,9 - EDITTEXT IDC_EDIT_SCAN_ITERVAL,57,197,39,12,ES_AUTOHSCROLL | ES_READONLY - LTEXT "Sample Interval :",IDC_STATIC,57,182,57,9 - SCROLLBAR IDC_SCROLLBAR_RATE,97,195,9,11,SBS_VERT - PUSHBUTTON "Start",IDC_BT_START,275,188,75,22 -END - -IDD_CARDID_DIALOG DIALOGEX 0, 0, 165, 95 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "Card ID" -FONT 8, "MS Shell Dlg", 400, 0, 0x1 -BEGIN - COMBOBOX IDC_COMBO_CARDID,74,24,71,126,CBS_DROPDOWN | WS_VSCROLL | WS_TABSTOP - LTEXT "Card Number",IDC_STATIC_01,20,25,46,12 - PUSHBUTTON "OK",IDOK,22,62,58,19 - PUSHBUTTON "CANCEL",IDCANCEL,86,62,58,19 -END - - -///////////////////////////////////////////////////////////////////////////// -// -// Version -// - -VS_VERSION_INFO VERSIONINFO - FILEVERSION 1,0,0,1 - PRODUCTVERSION 1,0,0,1 - FILEFLAGSMASK 0x3fL -#ifdef _DEBUG - FILEFLAGS 0x1L -#else - FILEFLAGS 0x0L -#endif - FILEOS 0x4L - FILETYPE 0x1L - FILESUBTYPE 0x0L -BEGIN - BLOCK "StringFileInfo" - BEGIN - BLOCK "040904e4" - BEGIN - VALUE "CompanyName", "TODO: " - VALUE "FileDescription", "TODO: " - VALUE "FileVersion", "1.0.0.1" - VALUE "InternalName", "9223dma.exe" - VALUE "LegalCopyright", "TODO: (c) . All rights reserved." - VALUE "OriginalFilename", "9223dma.exe" - VALUE "ProductName", "TODO: " - VALUE "ProductVersion", "1.0.0.1" - END - END - BLOCK "VarFileInfo" - BEGIN - VALUE "Translation", 0x409, 1252 - END -END - - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog Info -// - -IDD_CARDID_DIALOG DLGINIT -BEGIN - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0030, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0031, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0032, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0033, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0034, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0035, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0036, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0037, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0038, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0039, - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3031, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3131, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3231, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3331, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3431, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3531, "\000" - 0 -END - -IDD_9223DMA_DIALOG DLGINIT -BEGIN - IDC_COMBO_SCANCHAN, 0x403, 4, 0 -0x4843, 0x0030, - IDC_COMBO_SCANCHAN, 0x403, 4, 0 -0x4843, 0x0031, - IDC_COMBO_SCANCHAN, 0x403, 4, 0 -0x4843, 0x0032, - IDC_COMBO_SCANCHAN, 0x403, 4, 0 -0x4843, 0x0033, - IDC_COMBO_SCANCHAN, 0x403, 4, 0 -0x4843, 0x0034, - IDC_COMBO_SCANCHAN, 0x403, 4, 0 -0x4843, 0x0035, - IDC_COMBO_SCANCHAN, 0x403, 4, 0 -0x4843, 0x0036, - IDC_COMBO_SCANCHAN, 0x403, 4, 0 -0x4843, 0x0037, - 0 -END - - -///////////////////////////////////////////////////////////////////////////// -// -// Bitmap -// - -IDB_BITMAP_SET1 BITMAP "res\\ch_set1.bmp" -IDB_BITMAP_SET2 BITMAP "res\\ch_set2.bmp" - -///////////////////////////////////////////////////////////////////////////// -// -// String Table -// - -STRINGTABLE -BEGIN - IDS_ABOUTBOX "&About 9223dma..." -END - -#endif // English (U.S.) resources -///////////////////////////////////////////////////////////////////////////// - - - -#ifndef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 3 resource. -// -#define _AFX_NO_SPLITTER_RESOURCES -#define _AFX_NO_OLE_RESOURCES -#define _AFX_NO_TRACKER_RESOURCES -#define _AFX_NO_PROPERTY_RESOURCES - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -LANGUAGE 9, 1 -#pragma code_page(1252) -#include "res\My9223dma.rc2" // non-Microsoft Visual C++ edited resources -#include "afxres.rc" // Standard components -#endif - -///////////////////////////////////////////////////////////////////////////// -#endif // not APSTUDIO_INVOKED - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AIDma_GateTrigger/9223dma.sln b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AIDma_GateTrigger/9223dma.sln deleted file mode 100644 index 146ecf8..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AIDma_GateTrigger/9223dma.sln +++ /dev/null @@ -1,20 +0,0 @@ - -Microsoft Visual Studio Solution File, Format Version 10.00 -# Visual Studio 2008 -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "9223dma", "9223dma.vcproj", "{702163FB-B6DF-4EF5-9491-FC54D71509BC}" -EndProject -Global - GlobalSection(SolutionConfigurationPlatforms) = preSolution - Debug|x64 = Debug|x64 - Release|x64 = Release|x64 - EndGlobalSection - GlobalSection(ProjectConfigurationPlatforms) = postSolution - {702163FB-B6DF-4EF5-9491-FC54D71509BC}.Debug|x64.ActiveCfg = Debug|x64 - {702163FB-B6DF-4EF5-9491-FC54D71509BC}.Debug|x64.Build.0 = Debug|x64 - {702163FB-B6DF-4EF5-9491-FC54D71509BC}.Release|x64.ActiveCfg = Release|x64 - {702163FB-B6DF-4EF5-9491-FC54D71509BC}.Release|x64.Build.0 = Release|x64 - EndGlobalSection - GlobalSection(SolutionProperties) = preSolution - HideSolutionNode = FALSE - EndGlobalSection -EndGlobal diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AIDma_GateTrigger/9223dma.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AIDma_GateTrigger/9223dma.suo deleted file mode 100644 index 5b9c956..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AIDma_GateTrigger/9223dma.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AIDma_GateTrigger/9223dma.vcproj b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AIDma_GateTrigger/9223dma.vcproj deleted file mode 100644 index 6423151..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AIDma_GateTrigger/9223dma.vcproj +++ /dev/null @@ -1,294 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AIDma_GateTrigger/9223dmaDlg.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AIDma_GateTrigger/9223dmaDlg.cpp deleted file mode 100644 index cde9788..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AIDma_GateTrigger/9223dmaDlg.cpp +++ /dev/null @@ -1,541 +0,0 @@ - -// 9223dmaDlg.cpp : implementation file -// - -#include "stdafx.h" -#include "9223dma.h" -#include "9223dmaDlg.h" - -#ifdef _DEBUG -#define new DEBUG_NEW -#endif - -CRect plotRect; -#define AI_SAMPLE_COUNT 40000 -#define P922X_TIMEBASE 80000000.0 - -// CAboutDlg dialog used for App About - -class CAboutDlg : public CDialog -{ -public: - CAboutDlg(); - -// Dialog Data - enum { IDD = IDD_ABOUTBOX }; - - protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - -// Implementation -protected: - DECLARE_MESSAGE_MAP() -}; - -CAboutDlg::CAboutDlg() : CDialog(CAboutDlg::IDD) -{ -} - -void CAboutDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); -} - -BEGIN_MESSAGE_MAP(CAboutDlg, CDialog) -END_MESSAGE_MAP() - - -// C9223dmaDlg dialog - - - - -C9223dmaDlg::C9223dmaDlg(I16 hCard, CWnd* pParent /*=NULL*/) - : CDialog(C9223dmaDlg::IDD, pParent) -{ - m_hIcon = AfxGetApp()->LoadIcon(IDR_MAINFRAME); - - n_PlotWidth = n_PlotHeight = -1; - OnBrush = OffBrush = NULL; - - min_val = 0x00; - max_val = 0xFFFF; - - m_dwSampIntrv = 320; - - m_hCard = hCard; - m_wScanChans = 0; - m_nTimer = -1; - -#if 1 - m_pAIBuf = NULL; -#else - m_hMem = NULL; -#endif - - m_wRange = AD_B_10_V; - - max_range = 10.0; - min_range = -10.0; -} - -void C9223dmaDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); - DDX_Control(pDX, IDC_COMBO_SCANCHAN, m_cbScanChans); -} - -BEGIN_MESSAGE_MAP(C9223dmaDlg, CDialog) - ON_WM_SYSCOMMAND() - ON_WM_PAINT() - ON_WM_QUERYDRAGICON() - //}}AFX_MSG_MAP - ON_WM_DESTROY() - ON_WM_VSCROLL() - ON_CBN_SELCHANGE(IDC_COMBO_SCANCHAN, &C9223dmaDlg::OnScanChanSelchange) - ON_BN_CLICKED(IDC_BT_START, &C9223dmaDlg::OnStart) - ON_WM_TIMER() -END_MESSAGE_MAP() - - -// C9223dmaDlg message handlers - -BOOL C9223dmaDlg::OnInitDialog() -{ - CDialog::OnInitDialog(); - - // Add "About..." menu item to system menu. - - // IDM_ABOUTBOX must be in the system command range. - ASSERT((IDM_ABOUTBOX & 0xFFF0) == IDM_ABOUTBOX); - ASSERT(IDM_ABOUTBOX < 0xF000); - - CMenu* pSysMenu = GetSystemMenu(FALSE); - if (pSysMenu != NULL) - { - BOOL bNameValid; - CString strAboutMenu; - bNameValid = strAboutMenu.LoadString(IDS_ABOUTBOX); - ASSERT(bNameValid); - if (!strAboutMenu.IsEmpty()) - { - pSysMenu->AppendMenu(MF_SEPARATOR); - pSysMenu->AppendMenu(MF_STRING, IDM_ABOUTBOX, strAboutMenu); - } - } - - // Set the icon for this dialog. The framework does this automatically - // when the application's main window is not a dialog - SetIcon(m_hIcon, TRUE); // Set big icon - SetIcon(m_hIcon, FALSE); // Set small icon - - // TODO: Add extra initialization here - x_divider = 5; y_divider = 4; - - OnBrush = CreateSolidBrush( RGB(255,0,0) ); - OffBrush = CreateSolidBrush( RGB(125,0,0) ); - - RedPen.CreatePen( PS_SOLID, 1, RGB(255,0,0)); - GreenPen.CreatePen( PS_SOLID, 1, RGB(0,255,0)); - YellowPen.CreatePen( PS_SOLID, 1, RGB(255,255,0)); - BluePen.CreatePen( PS_SOLID, 1, RGB(0,0,255)); - LTBluePen.CreatePen( PS_SOLID, 1, RGB(0,128,255)); - LTRedPen.CreatePen( PS_SOLID, 1, RGB(255,128,0)); - LTGreenPen.CreatePen( PS_SOLID, 1, RGB(0,128,0)); - WhitePen.CreatePen( PS_SOLID, 1, RGB(255,255,255)); - - if( n_PlotWidth == -1 && n_PlotHeight == -1 ) - { - ((CWnd*)GetDlgItem(IDC_STATIC_DRAW))->GetWindowRect(&plotRect); - ScreenToClient(&plotRect); - - n_PlotWidth = min( plotRect.Width(), 512); - n_PlotHeight = plotRect.Height() - 10; - } - - - // set the default SampleRate - SetDlgItemInt( IDC_EDIT_SCAN_ITERVAL, (UINT)(m_dwSampIntrv) ); - m_cbScanChans.SetCurSel( 0 ); - - return TRUE; // return TRUE unless you set the focus to a control -} - -void C9223dmaDlg::OnSysCommand(UINT nID, LPARAM lParam) -{ - if ((nID & 0xFFF0) == IDM_ABOUTBOX) - { - CAboutDlg dlgAbout; - dlgAbout.DoModal(); - } - else - { - CDialog::OnSysCommand(nID, lParam); - } -} - -// If you add a minimize button to your dialog, you will need the code below -// to draw the icon. For MFC applications using the document/view model, -// this is automatically done for you by the framework. - -void C9223dmaDlg::OnPaint() -{ - if (IsIconic()) - { - CPaintDC dc(this); // device context for painting - - SendMessage(WM_ICONERASEBKGND, reinterpret_cast(dc.GetSafeHdc()), 0); - - // Center icon in client rectangle - int cxIcon = GetSystemMetrics(SM_CXICON); - int cyIcon = GetSystemMetrics(SM_CYICON); - CRect rect; - GetClientRect(&rect); - int x = (rect.Width() - cxIcon + 1) / 2; - int y = (rect.Height() - cyIcon + 1) / 2; - - // Draw the icon - dc.DrawIcon(x, y, m_hIcon); - } - else - { - redraw_display_area(); - CDialog::OnPaint(); - } -} - -// The system calls this function to obtain the cursor to display while the user drags -// the minimized window. -HCURSOR C9223dmaDlg::OnQueryDragIcon() -{ - return static_cast(m_hIcon); -} - - -void C9223dmaDlg::redraw_display_area(void) -{ - CPen *oldPen; - - int oldMode; - COLORREF oldColor; - - CString y_lable; - - CPen minor_tick( PS_SOLID,1,RGB(132,130,132) ); -// CPen y_grid( PS_SOLID,1,RGB(206,203,132) ); - - int i, x_intv, y_intv; -// long total_sec; - - CClientDC dc_plot(this); - - // draw the base-line for x-y axises - oldPen = (CPen *)dc_plot.SelectStockObject(BLACK_PEN); - - // redraw the background - dc_plot.FillSolidRect( plotRect, RGB(0,0,0) ); - - // Re-Draw the AREA for Y-Lable - { - CBrush DIALOG_BRUSH; - CRect redraw_area, full_client; - - GetClientRect(&full_client); - ScreenToClient(&full_client); - - redraw_area.left = full_client.left; - redraw_area.top = plotRect.top - 5; - redraw_area.right = plotRect.left - 3; - redraw_area.bottom = plotRect.bottom + 10; - - DIALOG_BRUSH.CreateSysColorBrush( COLOR_3DFACE ); - - dc_plot.FillRect( redraw_area, &DIALOG_BRUSH ); - - DIALOG_BRUSH.DeleteObject(); - } - - dc_plot.MoveTo( plotRect.left - 3, plotRect.top ); - dc_plot.LineTo( plotRect.left - 3, plotRect.bottom ); - - // calculate the interval for tick/grid - y_intv = (plotRect.Height() - 10) /y_divider; - x_intv = plotRect.Width()/x_divider; - - - // set the color for tick - oldColor = dc_plot.SetTextColor( RGB(0,0,0) ); - oldMode = dc_plot.SetBkMode( TRANSPARENT ); - - for( i=0; i<= y_divider; i++ ) - { - CString tick_str; - CRect tmp_rect, tick_rect; - - // draw the tick for y-axis - dc_plot.MoveTo( plotRect.left -12, plotRect.bottom -5 - (i*y_intv) ); - dc_plot.LineTo( plotRect.left -3, plotRect.bottom -5 - (i*y_intv) ); - - tick_str.Format( _T("%.1f"), ( ((max_range-min_range)/y_divider) * i)+min_range ); - - // calculate the rectangle for text - dc_plot.DrawText( tick_str, &tmp_rect, DT_CALCRECT|DT_SINGLELINE ); - tick_rect.right = plotRect.left -14; - tick_rect.left = tick_rect.right - tmp_rect.Width(); - tick_rect.top = plotRect.bottom -5 - (i*y_intv) - tmp_rect.Height()/2; - tick_rect.bottom = tick_rect.top + tmp_rect.Height(); - - // draw the text - dc_plot.DrawText( tick_str, &tick_rect, DT_SINGLELINE|DT_RIGHT ); - - } - - // draw the minor_tick for Y axises - dc_plot.SelectObject(&minor_tick); - for( i=0; i< y_divider; i++ ) - { - dc_plot.MoveTo( plotRect.left -9, plotRect.bottom -5 - (i*y_intv) - y_intv/2 ); - dc_plot.LineTo( plotRect.left -4, plotRect.bottom -5 - (i*y_intv) - y_intv/2 ); - } - - dc_plot.SetTextColor( oldColor ); - dc_plot.SetBkMode( oldMode ); - dc_plot.SelectObject( oldPen ); -} - -void C9223dmaDlg::OnDestroy() -{ - CDialog::OnDestroy(); - - // TODO: Add your message handler code here - if( m_nTimer != -1 ) - { - KillTimer( m_nTimer ); - m_nTimer = -1; - } - - if (m_pAIBuf != NULL) - { - free( m_pAIBuf ); - m_pAIBuf = NULL; - } - - - if( OnBrush != NULL ) - ::DeleteObject( OnBrush ); - - if( OffBrush != NULL ) - ::DeleteObject( OffBrush ); - - RedPen.DeleteObject(); - GreenPen.DeleteObject(); - YellowPen.DeleteObject(); - BluePen.DeleteObject(); - LTBluePen.DeleteObject(); - LTRedPen.DeleteObject(); - LTGreenPen.DeleteObject(); - WhitePen.DeleteObject(); -} - -void C9223dmaDlg::OnVScroll(UINT nSBCode, UINT nPos, CScrollBar* pScrollBar) -{ - // TODO: Add your message handler code here and/or call default - switch ( nSBCode ) - { - case SB_LINEUP : - m_dwSampIntrv += 160; - if (m_dwSampIntrv > 40000 ) m_dwSampIntrv = 40000; - - break; - case SB_LINEDOWN: - m_dwSampIntrv -= 160; - if (m_dwSampIntrv < 160 ) m_dwSampIntrv = 160; - - break; - } - - SetDlgItemInt( IDC_EDIT_SCAN_ITERVAL, (UINT)(m_dwSampIntrv) ); - - CDialog::OnVScroll(nSBCode, nPos, pScrollBar); -} - -void C9223dmaDlg::OnScanChanSelchange() -{ - // TODO: Add your control notification handler code here - int nIndex; - - nIndex = m_cbScanChans.GetCurSel(); - m_wScanChans = (U16)nIndex; -} - -void C9223dmaDlg::OnStart() -{ - // TODO: Add your control notification handler code here - DWORD mem_size; - CString strTemp; - I16 err; - - GetDlgItem( IDC_BT_START )->EnableWindow(FALSE); - - if (m_pAIBuf != NULL) - { - free( m_pAIBuf ); - m_pAIBuf = NULL; - } - - // allocate a memory for user DMA buffer - // 32-bit format is applied to Gate-Trigger mode - mem_size = AI_SAMPLE_COUNT * sizeof(U32); - - m_pAIBuf = (U32*)malloc( mem_size ); - if (m_pAIBuf == NULL ) - { - AfxMessageBox( TEXT("Memory allocation failed"), MB_OK); - } - else - { - memset( m_pAIBuf, '\0', mem_size ); - } - - - m_oldY[0] = m_oldY[1] = m_oldY[2] = m_oldY[3] = m_oldY[4] = m_oldY[5] = m_oldY[6] = m_oldY[7] = -1; - m_oldX[0] = m_oldX[1] = m_oldX[2] = m_oldX[3] = m_oldX[4] = m_oldX[5] = m_oldX[6] = m_oldX[7] = -1; - - /*Configure AI*/ - err = AI_9222_Config(m_hCard, (P922x_AI_SingEnded|P922x_AI_CONVSRC_INT), (P922x_AI_TRGMOD_GATED|P922x_AI_TRGSRC_GPI0|P922x_AI_TrgPositive), 0, TRUE); - if (err!=0) - { - strTemp.Format( TEXT("AI_9222_Config error=%d"), err); - AfxMessageBox( strTemp ); - return; - } - - /*Set Scan and Sampling Rate*/ - err = AI_9222_CounterInterval(m_hCard, m_dwSampIntrv, m_dwSampIntrv); - if (err!=0) - { - strTemp.Format( TEXT("AI_9222_CounterInterval error=%d"), err); - AfxMessageBox( strTemp ); - return; - } - - /*Disable Double Buffer Mode*/ - err = AI_AsyncDblBufferMode(m_hCard, 0); // single-buffer mode - if (err!=0) - { - strTemp.Format( TEXT("AI_DblBufferMode error=%d"), err); - AfxMessageBox( strTemp ); - return; - } - - err = AI_ContBufferSetup (m_hCard, m_pAIBuf, AI_SAMPLE_COUNT, &m_wBufferID); - if (err!=0) - { - strTemp.Format( TEXT("AI_ContBufferSetup error=%d"), err); - AfxMessageBox( strTemp ); - return; - } - - err = AI_ContReadChannel(m_hCard, m_wScanChans, m_wRange, &m_wBufferID, AI_SAMPLE_COUNT, 0/*Ignore*/, ASYNCH_OP); - if (err!=0) - { - strTemp.Format( TEXT("AI_ContScanChannels error=%d"), err); - AfxMessageBox( strTemp ); - return; - } - - m_nTimer = SetTimer( 1, 20, NULL ); - -} - -int C9223dmaDlg::display_buffer_data(U32* pBuf) -{ - CClientDC dc_plot(this); - int nDraw_Origin_Y; - int cur_channel; - - int newY = -1; - int newX = -1; - U32 index; - I16 ai_data; - - dc_plot.FillSolidRect( plotRect, RGB(0,0,0) ); - - switch(m_wScanChans) - { - case 0: - dc_plot.SelectObject(&YellowPen); - break; - case 1: - dc_plot.SelectObject(<GreenPen); - break; - case 2: - dc_plot.SelectObject(&BluePen); - break; - case 3: - dc_plot.SelectObject(&RedPen); - break; - case 4: - dc_plot.SelectObject(<BluePen); - break; - case 5: - dc_plot.SelectObject(<RedPen); - break; - case 6: - dc_plot.SelectObject(&GreenPen); - break; - case 7: - dc_plot.SelectObject(&WhitePen); - break; - } - - nDraw_Origin_Y = ( plotRect.bottom - 5 ) - n_PlotHeight/2; - - for( index=0; index> 16) ); // ( n_PlotHeight * ai_data / 65536) ); // ( (n_PlotHeight/2) * ai_data/32768 ) ); - - newX = (int)( index*n_PlotWidth/AI_SAMPLE_COUNT + plotRect.left ); - - if ( m_oldX[cur_channel] == -1 ) - { - dc_plot.MoveTo( newX, newY ); - } - else - { - dc_plot.MoveTo( m_oldX[cur_channel], m_oldY[cur_channel] ); - dc_plot.LineTo( newX, newY ); - } - - m_oldX[cur_channel] = newX; - m_oldY[cur_channel] = newY; - } - - return 0; -} - -void C9223dmaDlg::OnTimer(UINT_PTR nIDEvent) -{ - // TODO: Add your message handler code here and/or call default - BOOLEAN fstop; - U32 count; - - AI_AsyncCheck(m_hCard, &fstop, &count); - - if( fstop == TRUE ) - { - AI_AsyncClear( m_hCard, &count ); - - KillTimer( m_nTimer ); - m_nTimer = -1; - - display_buffer_data( m_pAIBuf ); - - GetDlgItem( IDC_BT_START )->EnableWindow( TRUE ); - } - - CDialog::OnTimer(nIDEvent); -} diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AIDma_GateTrigger/9223dmaDlg.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AIDma_GateTrigger/9223dmaDlg.h deleted file mode 100644 index f74a5f4..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AIDma_GateTrigger/9223dmaDlg.h +++ /dev/null @@ -1,75 +0,0 @@ - -// 9223dmaDlg.h : header file -#pragma once -#include "afxcmn.h" -#include "afxwin.h" - -#include "Dask64.h" - - -// C9223dmaDlg dialog -class C9223dmaDlg : public CDialog -{ -// Construction -public: - C9223dmaDlg(I16 hCard, CWnd* pParent = NULL); // standard constructor - -// Dialog Data - enum { IDD = IDD_9223DMA_DIALOG }; - - protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - - -// Implementation -protected: - HICON m_hIcon; - UINT_PTR m_nTimer; - I16 m_hCard; - U32 m_dwSampIntrv; - U16 m_wScanChans; - U16 m_wBufferID; -#if 0 - HANDLE m_hMem; -#endif - U32 *m_pAIBuf; - U16 m_wRange; - int m_oldY[8]; - int m_oldX[8]; - - // Generated message map functions - virtual BOOL OnInitDialog(); - afx_msg void OnSysCommand(UINT nID, LPARAM lParam); - afx_msg void OnPaint(); - afx_msg HCURSOR OnQueryDragIcon(); - DECLARE_MESSAGE_MAP() - -public: - WORD max_val; - WORD min_val; - double max_range; - double min_range; - int n_PlotWidth; - int n_PlotHeight; - int y_divider; - int x_divider; - int m_DisplayScale; - HBRUSH OnBrush; - HBRUSH OffBrush; - CPen RedPen; - CPen GreenPen; - CPen YellowPen; - CPen BluePen; - CPen LTBluePen; - CPen LTRedPen; - CPen LTGreenPen; - CPen WhitePen; - void redraw_display_area(void); - afx_msg void OnDestroy(); - CComboBox m_cbScanChans; - afx_msg void OnVScroll(UINT nSBCode, UINT nPos, CScrollBar* pScrollBar); - afx_msg void OnScanChanSelchange(); - afx_msg void OnStart(); - int display_buffer_data(U32* pBuf); - afx_msg void OnTimer(UINT_PTR nIDEvent); -}; diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AIDma_GateTrigger/CardIDDlg.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AIDma_GateTrigger/CardIDDlg.cpp deleted file mode 100644 index 5ba0991..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AIDma_GateTrigger/CardIDDlg.cpp +++ /dev/null @@ -1,64 +0,0 @@ -// CardIDDlg.cpp : implementation file -// -#include "stdafx.h" -#include "9223dma.h" -#include "9223dmaDlg.h" -#include "CardIDDlg.h" - -// CCardIDDlg dialog - -IMPLEMENT_DYNAMIC(CCardIDDlg, CDialog) - -CCardIDDlg::CCardIDDlg(int nCardIdx, CWnd* pParent /*=NULL*/) - : CDialog(CCardIDDlg::IDD, pParent) -{ - m_nCardIdx = nCardIdx; -} - -CCardIDDlg::~CCardIDDlg() -{ -} - -void CCardIDDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); - DDX_Control(pDX, IDC_COMBO_CARDID, m_cbCardID); -} - - -BEGIN_MESSAGE_MAP(CCardIDDlg, CDialog) -// ON_CBN_SELCHANGE(IDC_COMBO_CARDID, &CCardIDDlg::OnCbnSelchangeComboCardid) -ON_BN_CLICKED(IDOK, &CCardIDDlg::OnBnClickedOk) -//ON_WM_CTLCOLOR() -END_MESSAGE_MAP() - - -// CCardIDDlg message handlers - - -void CCardIDDlg::OnBnClickedOk() -{ - // TODO: Add your control notification handler code here - -// UpdateData(TRUE); - m_nCardIdx = m_cbCardID.GetCurSel(); - - OnOK(); -} - -BOOL CCardIDDlg::OnInitDialog() -{ - CDialog::OnInitDialog(); - - // TODO: Add extra initialization here - m_cbCardID.SetCurSel( m_nCardIdx ); - - return TRUE; // return TRUE unless you set the focus to a control - // EXCEPTION: OCX Property Pages should return FALSE -} - -// the function to get the selected CardID -int CCardIDDlg::GetCardID(void) -{ - return m_nCardIdx; -} diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AIDma_GateTrigger/CardIDDlg.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AIDma_GateTrigger/CardIDDlg.h deleted file mode 100644 index 9c02c58..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AIDma_GateTrigger/CardIDDlg.h +++ /dev/null @@ -1,32 +0,0 @@ -#pragma once -#include "afxwin.h" - -#include "Dask64.h" - -// CCardIDDlg dialog - -class CCardIDDlg : public CDialog -{ - DECLARE_DYNAMIC(CCardIDDlg) - -public: - CCardIDDlg(int nCardIdx, CWnd* pParent = NULL); // standard constructor - virtual ~CCardIDDlg(); - -// Dialog Data - enum { IDD = IDD_CARDID_DIALOG }; - -protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - - DECLARE_MESSAGE_MAP() -public: - virtual BOOL OnInitDialog(); - afx_msg void OnBnClickedOk(); - // the setting of CardID ComboBox - int m_nCardIdx; - // the control of CardID ComboBox - CComboBox m_cbCardID; - // the function to get the selected CardID - int GetCardID(void); -}; diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AIDma_GateTrigger/ReadMe.txt b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AIDma_GateTrigger/ReadMe.txt deleted file mode 100644 index 13fee67..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AIDma_GateTrigger/ReadMe.txt +++ /dev/null @@ -1,93 +0,0 @@ -================================================================================ - MICROSOFT FOUNDATION CLASS LIBRARY : 9223dma Project Overview -=============================================================================== - -The application wizard has created this 9223dma application for -you. This application not only demonstrates the basics of using the Microsoft -Foundation Classes but is also a starting point for writing your application. - -This file contains a summary of what you will find in each of the files that -make up your 9223dma application. - -9223dma.vcproj - This is the main project file for VC++ projects generated using an application wizard. - It contains information about the version of Visual C++ that generated the file, and - information about the platforms, configurations, and project features selected with the - application wizard. - -9223dma.h - This is the main header file for the application. It includes other - project specific headers (including Resource.h) and declares the - C9223dmaApp application class. - -9223dma.cpp - This is the main application source file that contains the application - class C9223dmaApp. - -9223dma.rc - This is a listing of all of the Microsoft Windows resources that the - program uses. It includes the icons, bitmaps, and cursors that are stored - in the RES subdirectory. This file can be directly edited in Microsoft - Visual C++. Your project resources are in 1033. - -res\9223dma.ico - This is an icon file, which is used as the application's icon. This - icon is included by the main resource file 9223dma.rc. - -res\My9223dma.rc2 - This file contains resources that are not edited by Microsoft - Visual C++. You should place all resources not editable by - the resource editor in this file. - - -///////////////////////////////////////////////////////////////////////////// - -The application wizard creates one dialog class: - -9223dmaDlg.h, 9223dmaDlg.cpp - the dialog - These files contain your C9223dmaDlg class. This class defines - the behavior of your application's main dialog. The dialog's template is - in 9223dma.rc, which can be edited in Microsoft Visual C++. - - -///////////////////////////////////////////////////////////////////////////// - -Other Features: - -ActiveX Controls - The application includes support to use ActiveX controls. - -///////////////////////////////////////////////////////////////////////////// - -Other standard files: - -StdAfx.h, StdAfx.cpp - These files are used to build a precompiled header (PCH) file - named 9223dma.pch and a precompiled types file named StdAfx.obj. - -Resource.h - This is the standard header file, which defines new resource IDs. - Microsoft Visual C++ reads and updates this file. - -9223dma.manifest - Application manifest files are used by Windows XP to describe an applications - dependency on specific versions of Side-by-Side assemblies. The loader uses this - information to load the appropriate assembly from the assembly cache or private - from the application. The Application manifest maybe included for redistribution - as an external .manifest file that is installed in the same folder as the application - executable or it may be included in the executable in the form of a resource. -///////////////////////////////////////////////////////////////////////////// - -Other notes: - -The application wizard uses "TODO:" to indicate parts of the source code you -should add to or customize. - -If your application uses MFC in a shared DLL, you will need -to redistribute the MFC DLLs. If your application is in a language -other than the operating system's locale, you will also have to -redistribute the corresponding localized resources MFC90XXX.DLL. -For more information on both of these topics, please see the section on -redistributing Visual C++ applications in MSDN documentation. - -///////////////////////////////////////////////////////////////////////////// diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AIDma_GateTrigger/res/9223dma.ico b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AIDma_GateTrigger/res/9223dma.ico deleted file mode 100644 index d56fbcd..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AIDma_GateTrigger/res/9223dma.ico and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AIDma_GateTrigger/res/My9223dma.rc2 b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AIDma_GateTrigger/res/My9223dma.rc2 deleted file mode 100644 index 383cde2..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AIDma_GateTrigger/res/My9223dma.rc2 +++ /dev/null @@ -1,13 +0,0 @@ -// -// My9111int.RC2 - resources Microsoft Visual C++ does not edit directly -// - -#ifdef APSTUDIO_INVOKED -#error this file is not editable by Microsoft Visual C++ -#endif //APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// Add manually edited resources here... - -///////////////////////////////////////////////////////////////////////////// diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AIDma_GateTrigger/res/ch_set1.bmp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AIDma_GateTrigger/res/ch_set1.bmp deleted file mode 100644 index f2374ed..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AIDma_GateTrigger/res/ch_set1.bmp and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AIDma_GateTrigger/res/ch_set2.bmp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AIDma_GateTrigger/res/ch_set2.bmp deleted file mode 100644 index 32d0915..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AIDma_GateTrigger/res/ch_set2.bmp and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AIDma_GateTrigger/resource.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AIDma_GateTrigger/resource.h deleted file mode 100644 index c4cb6ab..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AIDma_GateTrigger/resource.h +++ /dev/null @@ -1,33 +0,0 @@ -//{{NO_DEPENDENCIES}} -// Microsoft Visual C++ generated include file. -// Used by 9223dma.rc -// -#define IDM_ABOUTBOX 0x0010 -#define IDD_ABOUTBOX 100 -#define IDS_ABOUTBOX 101 -#define IDD_9223DMA_DIALOG 102 -#define IDR_MAINFRAME 128 -#define IDD_CARDID_DIALOG 129 -#define IDB_BITMAP_SET1 131 -#define IDB_BITMAP_SET2 132 -#define IDC_STATIC_DRAW 1000 -#define IDC_COMBO_CARDID 1001 -#define IDC_COMBO_SCANCHAN 1001 -#define IDC_COMBO_CARDTYPE 1002 -#define IDC_BUTTON1 1002 -#define IDC_BT_START 1002 -#define IDC_EDIT_SCAN_ITERVAL 1003 -#define IDC_SCROLLBAR_RATE 1006 -#define IDC_STATIC_01 1014 -#define IDC_STATIC_2 1015 - -// Next default values for new objects -// -#ifdef APSTUDIO_INVOKED -#ifndef APSTUDIO_READONLY_SYMBOLS -#define _APS_NEXT_RESOURCE_VALUE 134 -#define _APS_NEXT_COMMAND_VALUE 32771 -#define _APS_NEXT_CONTROL_VALUE 1003 -#define _APS_NEXT_SYMED_VALUE 101 -#endif -#endif diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AIDma_GateTrigger/stdafx.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AIDma_GateTrigger/stdafx.cpp deleted file mode 100644 index ef80626..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AIDma_GateTrigger/stdafx.cpp +++ /dev/null @@ -1,8 +0,0 @@ - -// stdafx.cpp : source file that includes just the standard includes -// 9111int.pch will be the pre-compiled header -// stdafx.obj will contain the pre-compiled type information - -#include "stdafx.h" - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AIDma_GateTrigger/stdafx.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AIDma_GateTrigger/stdafx.h deleted file mode 100644 index 12123e2..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AIDma_GateTrigger/stdafx.h +++ /dev/null @@ -1,60 +0,0 @@ - -// stdafx.h : include file for standard system include files, -// or project specific include files that are used frequently, -// but are changed infrequently - -#pragma once - -#ifndef _SECURE_ATL -#define _SECURE_ATL 1 -#endif - -#ifndef VC_EXTRALEAN -#define VC_EXTRALEAN // Exclude rarely-used stuff from Windows headers -#endif - -#include "targetver.h" - -#define _ATL_CSTRING_EXPLICIT_CONSTRUCTORS // some CString constructors will be explicit - -// turns off MFC's hiding of some common and often safely ignored warning messages -#define _AFX_ALL_WARNINGS - -#include // MFC core and standard components -#include // MFC extensions - - -#include // MFC Automation classes - - - -#ifndef _AFX_NO_OLE_SUPPORT -#include // MFC support for Internet Explorer 4 Common Controls -#endif -#ifndef _AFX_NO_AFXCMN_SUPPORT -#include // MFC support for Windows Common Controls -#endif // _AFX_NO_AFXCMN_SUPPORT - -#include // MFC support for ribbons and control bars - - - - - - - - - -#ifdef _UNICODE -#if defined _M_IX86 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='x86' publicKeyToken='6595b64144ccf1df' language='*'\"") -#elif defined _M_IA64 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='ia64' publicKeyToken='6595b64144ccf1df' language='*'\"") -#elif defined _M_X64 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='amd64' publicKeyToken='6595b64144ccf1df' language='*'\"") -#else -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='*' publicKeyToken='6595b64144ccf1df' language='*'\"") -#endif -#endif - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AIDma_GateTrigger/targetver.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AIDma_GateTrigger/targetver.h deleted file mode 100644 index 11730d5..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AIDma_GateTrigger/targetver.h +++ /dev/null @@ -1,26 +0,0 @@ - -#pragma once - -// The following macros define the minimum required platform. The minimum required platform -// is the earliest version of Windows, Internet Explorer etc. that has the necessary features to run -// your application. The macros work by enabling all features available on platform versions up to and -// including the version specified. - -// Modify the following defines if you have to target a platform prior to the ones specified below. -// Refer to MSDN for the latest info on corresponding values for different platforms. -#ifndef WINVER // Specifies that the minimum required platform is Windows Vista. -#define WINVER 0x0600 // Change this to the appropriate value to target other versions of Windows. -#endif - -#ifndef _WIN32_WINNT // Specifies that the minimum required platform is Windows Vista. -#define _WIN32_WINNT 0x0600 // Change this to the appropriate value to target other versions of Windows. -#endif - -#ifndef _WIN32_WINDOWS // Specifies that the minimum required platform is Windows 98. -#define _WIN32_WINDOWS 0x0410 // Change this to the appropriate value to target Windows Me or later. -#endif - -#ifndef _WIN32_IE // Specifies that the minimum required platform is Internet Explorer 7.0. -#define _WIN32_IE 0x0700 // Change this to the appropriate value to target other versions of IE. -#endif - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AIDma_InfiniteReTrigger/9111DbInt.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AIDma_InfiniteReTrigger/9111DbInt.suo deleted file mode 100644 index 3fde864..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AIDma_InfiniteReTrigger/9111DbInt.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AIDma_InfiniteReTrigger/9111PostTg.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AIDma_InfiniteReTrigger/9111PostTg.suo deleted file mode 100644 index c59a833..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AIDma_InfiniteReTrigger/9111PostTg.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AIDma_InfiniteReTrigger/9111int.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AIDma_InfiniteReTrigger/9111int.suo deleted file mode 100644 index aaca7d8..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AIDma_InfiniteReTrigger/9111int.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AIDma_InfiniteReTrigger/9116cdma.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AIDma_InfiniteReTrigger/9116cdma.suo deleted file mode 100644 index df9f193..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AIDma_InfiniteReTrigger/9116cdma.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AIDma_InfiniteReTrigger/9118cdma.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AIDma_InfiniteReTrigger/9118cdma.suo deleted file mode 100644 index 9318437..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AIDma_InfiniteReTrigger/9118cdma.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AIDma_InfiniteReTrigger/9221cdma.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AIDma_InfiniteReTrigger/9221cdma.suo deleted file mode 100644 index 9cb61ca..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AIDma_InfiniteReTrigger/9221cdma.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AIDma_InfiniteReTrigger/9222cdma.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AIDma_InfiniteReTrigger/9222cdma.suo deleted file mode 100644 index 35f653b..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AIDma_InfiniteReTrigger/9222cdma.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AIDma_InfiniteReTrigger/9223cdma.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AIDma_InfiniteReTrigger/9223cdma.cpp deleted file mode 100644 index f121734..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AIDma_InfiniteReTrigger/9223cdma.cpp +++ /dev/null @@ -1,109 +0,0 @@ - -// 9223cdma.cpp : Defines the class behaviors for the application. -// - -#include "stdafx.h" -#include "9223cdma.h" -#include "9223cdmaDlg.h" -#include "CardIDDlg.h" - -#ifdef _DEBUG -#define new DEBUG_NEW -#endif - - -// C9223cdmaApp - -BEGIN_MESSAGE_MAP(C9223cdmaApp, CWinAppEx) - ON_COMMAND(ID_HELP, &CWinApp::OnHelp) -END_MESSAGE_MAP() - - -// C9223cdmaApp construction - -C9223cdmaApp::C9223cdmaApp() -{ - // TODO: add construction code here, - // Place all significant initialization in InitInstance -} - - -// The one and only C9223cdmaApp object - -C9223cdmaApp theApp; - - -// C9223cdmaApp initialization - -BOOL C9223cdmaApp::InitInstance() -{ - int nCardID = 0; - I16 hCard; - CString strTemp; - INT_PTR nResponse; - - // InitCommonControlsEx() is required on Windows XP if an application - // manifest specifies use of ComCtl32.dll version 6 or later to enable - // visual styles. Otherwise, any window creation will fail. - INITCOMMONCONTROLSEX InitCtrls; - InitCtrls.dwSize = sizeof(InitCtrls); - // Set this to include all the common control classes you want to use - // in your application. - InitCtrls.dwICC = ICC_WIN95_CLASSES; - InitCommonControlsEx(&InitCtrls); - - CWinAppEx::InitInstance(); - - AfxEnableControlContainer(); - - // Standard initialization - // If you are not using these features and wish to reduce the size - // of your final executable, you should remove from the following - // the specific initialization routines you do not need - // Change the registry key under which our settings are stored - // TODO: You should modify this string to be something appropriate - // such as the name of your company or organization - SetRegistryKey(_T("Local AppWizard-Generated Applications")); - - CCardIDDlg CardDlg( nCardID ); - - nResponse = CardDlg.DoModal(); - if (nResponse == IDOK) - { - nCardID = CardDlg.GetCardID(); - - if ((hCard=Register_Card(PCI_9223, nCardID)) < 0) - { - strTemp.Format( TEXT("Register_Card Error = %d"), hCard); - AfxMessageBox( strTemp ); - } - else - { - C9223cdmaDlg dlg(hCard); - m_pMainWnd = &dlg; - nResponse = dlg.DoModal(); - if (nResponse == IDOK) - { - // TODO: Place code here to handle when the dialog is - // dismissed with OK - } - else if (nResponse == IDCANCEL) - { - // TODO: Place code here to handle when the dialog is - // dismissed with Cancel - } - - if (hCard >= 0) Release_Card(hCard); - } - - } - else if (nResponse == IDCANCEL) - { - // TODO: Place code here to handle when the dialog is - // dismissed with Cancel - } - - // Since the dialog has been closed, return FALSE so that we exit the - // application, rather than start the application's message pump. - return FALSE; -} diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AIDma_InfiniteReTrigger/9223cdma.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AIDma_InfiniteReTrigger/9223cdma.h deleted file mode 100644 index 27ba83d..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AIDma_InfiniteReTrigger/9223cdma.h +++ /dev/null @@ -1,34 +0,0 @@ - -// 9223cdma.h : main header file for the PROJECT_NAME application -// - -#pragma once - -#ifndef __AFXWIN_H__ - #error "include 'stdafx.h' before including this file for PCH" -#endif - -#include "resource.h" // main symbols - -#define AI_MODE_DMA 0 -#define AI_MODE_INT 1 - -// C9223cdmaApp: -// See 9223cdma.cpp for the implementation of this class -// - -class C9223cdmaApp : public CWinAppEx -{ -public: - C9223cdmaApp(); - -// Overrides - public: - virtual BOOL InitInstance(); - -// Implementation - - DECLARE_MESSAGE_MAP() -}; - -extern C9223cdmaApp theApp; \ No newline at end of file diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AIDma_InfiniteReTrigger/9223cdma.rc b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AIDma_InfiniteReTrigger/9223cdma.rc deleted file mode 100644 index 99e9d09..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AIDma_InfiniteReTrigger/9223cdma.rc +++ /dev/null @@ -1,291 +0,0 @@ -// Microsoft Visual C++ generated resource script. -// -#include "resource.h" - -#define APSTUDIO_READONLY_SYMBOLS -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 2 resource. -// -#ifndef APSTUDIO_INVOKED -#include "targetver.h" -#endif -#include "afxres.h" - -///////////////////////////////////////////////////////////////////////////// -#undef APSTUDIO_READONLY_SYMBOLS - -///////////////////////////////////////////////////////////////////////////// -// Chinese (Taiwan) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_CHT) -#ifdef _WIN32 -LANGUAGE LANG_CHINESE, SUBLANG_CHINESE_TRADITIONAL -#pragma code_page(950) -#endif //_WIN32 - -#ifdef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// TEXTINCLUDE -// - -1 TEXTINCLUDE -BEGIN - "resource.h\0" -END - -2 TEXTINCLUDE -BEGIN - "#ifndef APSTUDIO_INVOKED\r\n" - "#include ""targetver.h""\r\n" - "#endif\r\n" - "#include ""afxres.h""\r\n" - "\0" -END - -3 TEXTINCLUDE -BEGIN - "#define _AFX_NO_SPLITTER_RESOURCES\r\n" - "#define _AFX_NO_OLE_RESOURCES\r\n" - "#define _AFX_NO_TRACKER_RESOURCES\r\n" - "#define _AFX_NO_PROPERTY_RESOURCES\r\n" - "\r\n" - "#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)\r\n" - "LANGUAGE 9, 1\r\n" - "#pragma code_page(1252)\r\n" - "#include ""res\\My9223cdma.rc2"" // non-Microsoft Visual C++ edited resources\r\n" - "#include ""afxres.rc"" // Standard components\r\n" - "#endif\r\n" - "\0" -END - -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// Icon -// - -// Icon with lowest ID value placed first to ensure application icon -// remains consistent on all systems. -IDR_MAINFRAME ICON "res\\9223cdma.ico" -#endif // Chinese (Taiwan) resources -///////////////////////////////////////////////////////////////////////////// - - -///////////////////////////////////////////////////////////////////////////// -// English (U.S.) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -#ifdef _WIN32 -LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US -#pragma code_page(1252) -#endif //_WIN32 - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog -// - -IDD_ABOUTBOX DIALOGEX 0, 0, 170, 62 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "About 9223cdma" -FONT 8, "MS Shell Dlg", 0, 0, 0x1 -BEGIN - ICON IDR_MAINFRAME,IDC_STATIC,14,14,21,20 - LTEXT "9223cdma, Version 1.0",IDC_STATIC,42,14,114,8,SS_NOPREFIX - LTEXT "Copyright (C) 2010",IDC_STATIC,42,26,114,8 - DEFPUSHBUTTON "OK",IDOK,113,41,50,14,WS_GROUP -END - -IDD_9223DMA_DIALOG DIALOGEX 0, 0, 365, 232 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU -EXSTYLE WS_EX_APPWINDOW -CAPTION "PCI-9223 Infinite Re-Trigger DMA (Single-End Singal)" -FONT 8, "MS Shell Dlg", 0, 0, 0x1 -BEGIN - GROUPBOX "",IDC_STATIC_DRAW,45,9,248,161,NOT WS_VISIBLE - LTEXT "Range : +/- 10V",IDC_STATIC,299,129,52,15 - LTEXT "Buffer Size :",IDC_STATIC,124,184,42,9 - EDITTEXT IDC_EDIT_SCAN_ITERVAL,47,198,39,14,ES_AUTOHSCROLL | ES_READONLY - LTEXT "Sample Interval :",IDC_STATIC,47,184,60,9 - SCROLLBAR IDC_SCROLLBAR_RATE,87,198,9,11,SBS_VERT - PUSHBUTTON "Start",IDC_BT_START,230,188,55,22 - CONTROL "0",IDC_RADIO_CH0,"Button",BS_AUTORADIOBUTTON | BS_LEFTTEXT,307,20,16,12 - CONTROL "1",IDC_RADIO_CH1,"Button",BS_AUTORADIOBUTTON | BS_LEFTTEXT,307,35,16,12 - CONTROL "2",IDC_RADIO_CH2,"Button",BS_AUTORADIOBUTTON | BS_LEFTTEXT,307,49,16,12 - CONTROL "3",IDC_RADIO_CH3,"Button",BS_AUTORADIOBUTTON | BS_LEFTTEXT,307,64,16,12 - CONTROL "4",IDC_RADIO_CH4,"Button",BS_AUTORADIOBUTTON | BS_LEFTTEXT,331,20,16,12 - CONTROL "5",IDC_RADIO_CH5,"Button",BS_AUTORADIOBUTTON | BS_LEFTTEXT,331,35,16,12 - CONTROL "6",IDC_RADIO_CH6,"Button",BS_AUTORADIOBUTTON | BS_LEFTTEXT,331,49,16,12 - CONTROL "7",IDC_RADIO_CH7,"Button",BS_AUTORADIOBUTTON | BS_LEFTTEXT,331,64,16,12 - EDITTEXT IDC_EDIT_BUF_SIZE,122,198,46,14,ES_AUTOHSCROLL - PUSHBUTTON "Stop",IDC_BT_STOP,291,188,55,22 -END - -IDD_CARDID_DIALOG DIALOGEX 0, 0, 174, 108 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "Card ID" -FONT 8, "MS Shell Dlg", 400, 0, 0x1 -BEGIN - COMBOBOX IDC_COMBO_CARDID,78,24,71,126,CBS_DROPDOWN | WS_VSCROLL | WS_TABSTOP - LTEXT "Card Number",IDC_STATIC_01,23,25,46,12 - PUSHBUTTON "OK",IDOK,22,70,58,19 - PUSHBUTTON "CANCEL",IDCANCEL,86,70,58,19 -END - - -///////////////////////////////////////////////////////////////////////////// -// -// Version -// - -VS_VERSION_INFO VERSIONINFO - FILEVERSION 1,0,0,1 - PRODUCTVERSION 1,0,0,1 - FILEFLAGSMASK 0x3fL -#ifdef _DEBUG - FILEFLAGS 0x1L -#else - FILEFLAGS 0x0L -#endif - FILEOS 0x4L - FILETYPE 0x1L - FILESUBTYPE 0x0L -BEGIN - BLOCK "StringFileInfo" - BEGIN - BLOCK "040904e4" - BEGIN - VALUE "CompanyName", "TODO: " - VALUE "FileDescription", "TODO: " - VALUE "FileVersion", "1.0.0.1" - VALUE "InternalName", "9223cdma.exe" - VALUE "LegalCopyright", "TODO: (c) . All rights reserved." - VALUE "OriginalFilename", "9223cdma.exe" - VALUE "ProductName", "TODO: " - VALUE "ProductVersion", "1.0.0.1" - END - END - BLOCK "VarFileInfo" - BEGIN - VALUE "Translation", 0x409, 1252 - END -END - - -///////////////////////////////////////////////////////////////////////////// -// -// DESIGNINFO -// - -#ifdef APSTUDIO_INVOKED -GUIDELINES DESIGNINFO -BEGIN - IDD_ABOUTBOX, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 163 - TOPMARGIN, 7 - BOTTOMMARGIN, 55 - END - - IDD_CARDID_DIALOG, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 167 - TOPMARGIN, 7 - BOTTOMMARGIN, 101 - END -END -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog Info -// - -IDD_CARDID_DIALOG DLGINIT -BEGIN - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0030, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0031, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0032, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0033, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0034, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0035, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0036, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0037, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0038, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0039, - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3031, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3131, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3231, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3331, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3431, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3531, "\000" - 0 -END - - -///////////////////////////////////////////////////////////////////////////// -// -// Bitmap -// - -IDB_BITMAP_SET1 BITMAP "res\\ch_set1.bmp" -IDB_BITMAP_SET2 BITMAP "res\\ch_set2.bmp" - -///////////////////////////////////////////////////////////////////////////// -// -// String Table -// - -STRINGTABLE -BEGIN - IDS_ABOUTBOX "&About 9223cdma..." -END - -#endif // English (U.S.) resources -///////////////////////////////////////////////////////////////////////////// - - - -#ifndef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 3 resource. -// -#define _AFX_NO_SPLITTER_RESOURCES -#define _AFX_NO_OLE_RESOURCES -#define _AFX_NO_TRACKER_RESOURCES -#define _AFX_NO_PROPERTY_RESOURCES - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -LANGUAGE 9, 1 -#pragma code_page(1252) -#include "res\My9223cdma.rc2" // non-Microsoft Visual C++ edited resources -#include "afxres.rc" // Standard components -#endif - -///////////////////////////////////////////////////////////////////////////// -#endif // not APSTUDIO_INVOKED - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AIDma_InfiniteReTrigger/9223cdma.sln b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AIDma_InfiniteReTrigger/9223cdma.sln deleted file mode 100644 index 538cc7b..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AIDma_InfiniteReTrigger/9223cdma.sln +++ /dev/null @@ -1,20 +0,0 @@ - -Microsoft Visual Studio Solution File, Format Version 10.00 -# Visual Studio 2008 -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "9223cdma", "9223cdma.vcproj", "{702163FB-B6DF-4EF5-9491-FC54D71509BC}" -EndProject -Global - GlobalSection(SolutionConfigurationPlatforms) = preSolution - Debug|x64 = Debug|x64 - Release|x64 = Release|x64 - EndGlobalSection - GlobalSection(ProjectConfigurationPlatforms) = postSolution - {702163FB-B6DF-4EF5-9491-FC54D71509BC}.Debug|x64.ActiveCfg = Debug|x64 - {702163FB-B6DF-4EF5-9491-FC54D71509BC}.Debug|x64.Build.0 = Debug|x64 - {702163FB-B6DF-4EF5-9491-FC54D71509BC}.Release|x64.ActiveCfg = Release|x64 - {702163FB-B6DF-4EF5-9491-FC54D71509BC}.Release|x64.Build.0 = Release|x64 - EndGlobalSection - GlobalSection(SolutionProperties) = preSolution - HideSolutionNode = FALSE - EndGlobalSection -EndGlobal diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AIDma_InfiniteReTrigger/9223cdma.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AIDma_InfiniteReTrigger/9223cdma.suo deleted file mode 100644 index 272b945..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AIDma_InfiniteReTrigger/9223cdma.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AIDma_InfiniteReTrigger/9223cdma.vcproj b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AIDma_InfiniteReTrigger/9223cdma.vcproj deleted file mode 100644 index c3e2af5..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AIDma_InfiniteReTrigger/9223cdma.vcproj +++ /dev/null @@ -1,294 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AIDma_InfiniteReTrigger/9223cdmaDlg.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AIDma_InfiniteReTrigger/9223cdmaDlg.cpp deleted file mode 100644 index caa7544..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AIDma_InfiniteReTrigger/9223cdmaDlg.cpp +++ /dev/null @@ -1,719 +0,0 @@ - -// 9223cdmaDlg.cpp : implementation file -// - -#include "stdafx.h" -#include "9223cdma.h" -#include "9223cdmaDlg.h" - -#ifdef _DEBUG -#define new DEBUG_NEW -#endif - -#define P922X_TIMEBASE 80000000.0 - -CRect plotRect; - -// CAboutDlg dialog used for App About - -class CAboutDlg : public CDialog -{ -public: - CAboutDlg(); - -// Dialog Data - enum { IDD = IDD_ABOUTBOX }; - - protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - -// Implementation -protected: - DECLARE_MESSAGE_MAP() -}; - -CAboutDlg::CAboutDlg() : CDialog(CAboutDlg::IDD) -{ -} - -void CAboutDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); -} - -BEGIN_MESSAGE_MAP(CAboutDlg, CDialog) -END_MESSAGE_MAP() - - -// C9223cdmaDlg dialog - - - - -C9223cdmaDlg::C9223cdmaDlg(I16 hCard, CWnd* pParent /*=NULL*/) - : CDialog(C9223cdmaDlg::IDD, pParent) -{ - m_hIcon = AfxGetApp()->LoadIcon(IDR_MAINFRAME); - - n_PlotWidth = n_PlotHeight = -1; - OnBrush = OffBrush = NULL; - - min_val = 0x00; - max_val = 0xFFFF; - - m_dwSampIntrv = 2000; - - m_hCard = hCard; - - m_wScanChans = 0; - m_nTimer = -1; - m_hMem1 = NULL; - m_hMem2 = NULL; - - m_wRange = AD_B_10_V; - max_range = 10.0; - min_range = -10.0; - - m_dwReadCount = 4000; - m_wPostCount = 512; - -} - -void C9223cdmaDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); -} - -BEGIN_MESSAGE_MAP(C9223cdmaDlg, CDialog) - ON_WM_SYSCOMMAND() - ON_WM_PAINT() - ON_WM_QUERYDRAGICON() - //}}AFX_MSG_MAP - ON_WM_DESTROY() - ON_WM_VSCROLL() - ON_BN_CLICKED(IDC_BT_START, &C9223cdmaDlg::OnStart) - ON_BN_CLICKED(IDC_RADIO_CH0, &C9223cdmaDlg::OnCh0) - ON_BN_CLICKED(IDC_RADIO_CH1, &C9223cdmaDlg::OnCh1) - ON_BN_CLICKED(IDC_RADIO_CH2, &C9223cdmaDlg::OnCh2) - ON_BN_CLICKED(IDC_RADIO_CH3, &C9223cdmaDlg::OnCh3) - ON_BN_CLICKED(IDC_RADIO_CH4, &C9223cdmaDlg::OnCh4) - ON_BN_CLICKED(IDC_RADIO_CH5, &C9223cdmaDlg::OnCh5) - ON_BN_CLICKED(IDC_RADIO_CH6, &C9223cdmaDlg::OnCh6) - ON_BN_CLICKED(IDC_RADIO_CH7, &C9223cdmaDlg::OnCh7) - ON_WM_TIMER() - ON_BN_CLICKED(IDC_BT_STOP, &C9223cdmaDlg::OnStop) -END_MESSAGE_MAP() - - -// C9223cdmaDlg message handlers - -BOOL C9223cdmaDlg::OnInitDialog() -{ - CDialog::OnInitDialog(); - - // Add "About..." menu item to system menu. - - // IDM_ABOUTBOX must be in the system command range. - ASSERT((IDM_ABOUTBOX & 0xFFF0) == IDM_ABOUTBOX); - ASSERT(IDM_ABOUTBOX < 0xF000); - - CMenu* pSysMenu = GetSystemMenu(FALSE); - if (pSysMenu != NULL) - { - BOOL bNameValid; - CString strAboutMenu; - bNameValid = strAboutMenu.LoadString(IDS_ABOUTBOX); - ASSERT(bNameValid); - if (!strAboutMenu.IsEmpty()) - { - pSysMenu->AppendMenu(MF_SEPARATOR); - pSysMenu->AppendMenu(MF_STRING, IDM_ABOUTBOX, strAboutMenu); - } - } - - // Set the icon for this dialog. The framework does this automatically - // when the application's main window is not a dialog - SetIcon(m_hIcon, TRUE); // Set big icon - SetIcon(m_hIcon, FALSE); // Set small icon - - // TODO: Add extra initialization here - x_divider = 5; y_divider = 4; - - OnBrush = CreateSolidBrush( RGB(255,0,0) ); - OffBrush = CreateSolidBrush( RGB(125,0,0) ); - - RedPen.CreatePen( PS_SOLID, 1, RGB(255,0,0)); - GreenPen.CreatePen( PS_SOLID, 1, RGB(0,255,0)); - YellowPen.CreatePen( PS_SOLID, 1, RGB(255,255,0)); - BluePen.CreatePen( PS_SOLID, 1, RGB(0,0,255)); - LTBluePen.CreatePen( PS_SOLID, 1, RGB(0,128,255)); - LTRedPen.CreatePen( PS_SOLID, 1, RGB(255,128,0)); - LTGreenPen.CreatePen( PS_SOLID, 1, RGB(0,128,0)); - WhitePen.CreatePen( PS_SOLID, 1, RGB(255,255,255)); - - - if( n_PlotWidth == -1 && n_PlotHeight == -1 ) - { - ((CWnd*)GetDlgItem(IDC_STATIC_DRAW))->GetWindowRect(&plotRect); - ScreenToClient(&plotRect); - - n_PlotWidth = min( plotRect.Width(), 512); - n_PlotHeight = plotRect.Height() - 10; - } - - // set the default SampleRate - - SetDlgItemInt( IDC_EDIT_SAMPLE_RATE, (UINT)(m_dwSampIntrv) ); - SetDlgItemInt( IDC_EDIT_BUF_SIZE, (UINT)(m_dwReadCount) ); - ((CButton*)GetDlgItem( IDC_RADIO_CH0 ))->SetCheck( TRUE ); - - return TRUE; // return TRUE unless you set the focus to a control -} - -void C9223cdmaDlg::OnSysCommand(UINT nID, LPARAM lParam) -{ - if ((nID & 0xFFF0) == IDM_ABOUTBOX) - { - CAboutDlg dlgAbout; - dlgAbout.DoModal(); - } - else - { - CDialog::OnSysCommand(nID, lParam); - } -} - -// If you add a minimize button to your dialog, you will need the code below -// to draw the icon. For MFC applications using the document/view model, -// this is automatically done for you by the framework. - -void C9223cdmaDlg::OnPaint() -{ - if (IsIconic()) - { - CPaintDC dc(this); // device context for painting - - SendMessage(WM_ICONERASEBKGND, reinterpret_cast(dc.GetSafeHdc()), 0); - - // Center icon in client rectangle - int cxIcon = GetSystemMetrics(SM_CXICON); - int cyIcon = GetSystemMetrics(SM_CYICON); - CRect rect; - GetClientRect(&rect); - int x = (rect.Width() - cxIcon + 1) / 2; - int y = (rect.Height() - cyIcon + 1) / 2; - - // Draw the icon - dc.DrawIcon(x, y, m_hIcon); - } - else - { - redraw_display_area(); - CDialog::OnPaint(); - } -} - -// The system calls this function to obtain the cursor to display while the user drags -// the minimized window. -HCURSOR C9223cdmaDlg::OnQueryDragIcon() -{ - return static_cast(m_hIcon); -} - - -void C9223cdmaDlg::redraw_display_area(void) -{ - CPen *oldPen; - - int oldMode; - COLORREF oldColor; - - CString y_lable; - - CPen minor_tick( PS_SOLID,1,RGB(132,130,132) ); -// CPen y_grid( PS_SOLID,1,RGB(206,203,132) ); - - int i, x_intv, y_intv; -// long total_sec; - - CClientDC dc_plot(this); - - // draw the base-line for x-y axises - oldPen = (CPen *)dc_plot.SelectStockObject(BLACK_PEN); - - // redraw the background - dc_plot.FillSolidRect( plotRect, RGB(0,0,0) ); - - // Re-Draw the AREA for Y-Lable - { - CBrush DIALOG_BRUSH; - CRect redraw_area, full_client; - - GetClientRect(&full_client); - ScreenToClient(&full_client); - - redraw_area.left = full_client.left; - redraw_area.top = plotRect.top - 5; - redraw_area.right = plotRect.left - 3; - redraw_area.bottom = plotRect.bottom + 10; - - DIALOG_BRUSH.CreateSysColorBrush( COLOR_3DFACE ); - - dc_plot.FillRect( redraw_area, &DIALOG_BRUSH ); - - DIALOG_BRUSH.DeleteObject(); - } - - dc_plot.MoveTo( plotRect.left - 3, plotRect.top ); - dc_plot.LineTo( plotRect.left - 3, plotRect.bottom ); - - // calculate the interval for tick/grid - y_intv = (plotRect.Height() - 10) /y_divider; - x_intv = plotRect.Width()/x_divider; - - - // set the color for tick - oldColor = dc_plot.SetTextColor( RGB(0,0,0) ); - oldMode = dc_plot.SetBkMode( TRANSPARENT ); - - for( i=0; i<= y_divider; i++ ) - { - CString tick_str; - CRect tmp_rect, tick_rect; - - // draw the tick for y-axis - dc_plot.MoveTo( plotRect.left -12, plotRect.bottom -5 - (i*y_intv) ); - dc_plot.LineTo( plotRect.left -3, plotRect.bottom -5 - (i*y_intv) ); - - tick_str.Format( _T("%.1f"), ( ((max_range-min_range)/y_divider) * i)+min_range ); - - // calculate the rectangle for text - dc_plot.DrawText( tick_str, &tmp_rect, DT_CALCRECT|DT_SINGLELINE ); - tick_rect.right = plotRect.left -14; - tick_rect.left = tick_rect.right - tmp_rect.Width(); - tick_rect.top = plotRect.bottom -5 - (i*y_intv) - tmp_rect.Height()/2; - tick_rect.bottom = tick_rect.top + tmp_rect.Height(); - - // draw the text - dc_plot.DrawText( tick_str, &tick_rect, DT_SINGLELINE|DT_RIGHT ); - - } - - // draw the minor_tick for Y axises - dc_plot.SelectObject(&minor_tick); - for( i=0; i< y_divider; i++ ) - { - dc_plot.MoveTo( plotRect.left -9, plotRect.bottom -5 - (i*y_intv) - y_intv/2 ); - dc_plot.LineTo( plotRect.left -4, plotRect.bottom -5 - (i*y_intv) - y_intv/2 ); - } - - dc_plot.SetTextColor( oldColor ); - dc_plot.SetBkMode( oldMode ); - dc_plot.SelectObject( oldPen ); -} - -void C9223cdmaDlg::OnDestroy() -{ - CDialog::OnDestroy(); - - // TODO: Add your message handler code here - if( m_nTimer != -1 ) - { - KillTimer( m_nTimer ); - m_nTimer = -1; - } - - if (m_hMem1 != NULL) - { - GlobalUnfix(m_hMem1); - GlobalUnlock(m_hMem1); - GlobalFree(m_hMem1); - - m_hMem1 = NULL; - } - - if (m_hMem2 != NULL) - { - GlobalUnfix(m_hMem2); - GlobalUnlock(m_hMem2); - GlobalFree(m_hMem2); - - m_hMem2 = NULL; - } - - if( OnBrush != NULL ) - ::DeleteObject( OnBrush ); - - if( OffBrush != NULL ) - ::DeleteObject( OffBrush ); - - RedPen.DeleteObject(); - GreenPen.DeleteObject(); - YellowPen.DeleteObject(); - BluePen.DeleteObject(); - LTBluePen.DeleteObject(); - LTRedPen.DeleteObject(); - LTGreenPen.DeleteObject(); - WhitePen.DeleteObject(); - -} - -void C9223cdmaDlg::OnVScroll(UINT nSBCode, UINT nPos, CScrollBar* pScrollBar) -{ - // TODO: Add your message handler code here and/or call default - switch ( nSBCode ) - { - case SB_LINEUP : - m_dwSampIntrv += 160; - if (m_dwSampIntrv > 40000 ) m_dwSampIntrv = 40000; - break; - case SB_LINEDOWN: - m_dwSampIntrv -= 160; - if (m_dwSampIntrv < 160 ) m_dwSampIntrv = 160; - break; - } - - SetDlgItemInt( IDC_EDIT_SCAN_ITERVAL, (UINT)(m_dwSampIntrv) ); - - CDialog::OnVScroll(nSBCode, nPos, pScrollBar); -} - - -void C9223cdmaDlg::OnStop() -{ - // TODO: Add your control notification handler code here - U32 count; - - if( m_nTimer != -1 ) - { - KillTimer( m_nTimer ); - m_nTimer = -1; - } - - AI_AsyncClear(m_hCard, &count); - - GetDlgItem( IDC_BT_START )->EnableWindow(TRUE); - - GetDlgItem( IDC_RADIO_CH0 )->EnableWindow(TRUE); - GetDlgItem( IDC_RADIO_CH1 )->EnableWindow(TRUE); - GetDlgItem( IDC_RADIO_CH2 )->EnableWindow(TRUE); - GetDlgItem( IDC_RADIO_CH3 )->EnableWindow(TRUE); - GetDlgItem( IDC_RADIO_CH4 )->EnableWindow(TRUE); - GetDlgItem( IDC_RADIO_CH5 )->EnableWindow(TRUE); - GetDlgItem( IDC_RADIO_CH6 )->EnableWindow(TRUE); - GetDlgItem( IDC_RADIO_CH7 )->EnableWindow(TRUE); -} - -void C9223cdmaDlg::OnStart() -{ - // TODO: Add your control notification handler code here - DWORD mem_size; - CString strTemp; - I16 err; - - GetDlgItem( IDC_BT_START )->EnableWindow(FALSE); - - GetDlgItem( IDC_RADIO_CH0 )->EnableWindow(FALSE); - GetDlgItem( IDC_RADIO_CH1 )->EnableWindow(FALSE); - GetDlgItem( IDC_RADIO_CH2 )->EnableWindow(FALSE); - GetDlgItem( IDC_RADIO_CH3 )->EnableWindow(FALSE); - GetDlgItem( IDC_RADIO_CH4 )->EnableWindow(FALSE); - GetDlgItem( IDC_RADIO_CH5 )->EnableWindow(FALSE); - GetDlgItem( IDC_RADIO_CH6 )->EnableWindow(FALSE); - GetDlgItem( IDC_RADIO_CH7 )->EnableWindow(FALSE); - - m_dwReadCount = GetDlgItemInt(IDC_EDIT_BUF_SIZE); - - if (m_hMem1 != NULL) - { - GlobalUnfix(m_hMem1); - GlobalUnlock(m_hMem1); - GlobalFree(m_hMem1); - - m_hMem1 = NULL; - } - - if (m_hMem2 != NULL) - { - GlobalUnfix(m_hMem2); - GlobalUnlock(m_hMem2); - GlobalFree(m_hMem2); - - m_hMem2 = NULL; - } - - // allocate a memory for user DMA buffer - mem_size = m_dwReadCount * sizeof(I16); - - m_hMem1 = GlobalAlloc(GMEM_FIXED | GMEM_ZEROINIT, mem_size); - m_pAIBuf1 = (U16*) GlobalLock(m_hMem1); - if (m_pAIBuf1 == NULL ) - { - AfxMessageBox( TEXT("Memory allocation failed"), MB_OK); - return; - } - GlobalFix(m_hMem1); - - m_hMem2 = GlobalAlloc(GMEM_FIXED | GMEM_ZEROINIT, mem_size); - m_pAIBuf2 = (U16*) GlobalLock(m_hMem2); - if (m_pAIBuf2 == NULL ) - { - AfxMessageBox( TEXT("Memory allocation failed"), MB_OK); - return; - } - GlobalFix(m_hMem2); - - m_oldY[0] = m_oldY[1] = m_oldY[2] = m_oldY[3] = m_oldY[4] = m_oldY[5] = m_oldY[6] = m_oldY[7] = -1; - m_oldX[0] = m_oldX[1] = m_oldX[2] = m_oldX[3] = m_oldX[4] = m_oldX[5] = m_oldX[6] = m_oldX[7] = -1; - - if ((err = AI_9222_Config(m_hCard, P922x_AI_SingEnded|P922x_AI_CONVSRC_INT, P922x_AI_TRGMOD_POST|P922x_AI_TRGSRC_GPI0|P922x_AI_EnReTigger, 0, TRUE)) != NoError) - { - strTemp.Format( TEXT("AI_9222_Config error=%d"), err); - AfxMessageBox( strTemp ); - return; - } - - if ((err = AI_9222_CounterInterval(m_hCard, m_dwSampIntrv, m_dwSampIntrv)) != NoError) - { - strTemp.Format( TEXT("AI_9221_CounterInterval error=%d"), err); - AfxMessageBox( strTemp ); - return; - } - - if ((err = AI_ContBufferSetup (m_hCard, m_pAIBuf1, m_dwReadCount, &m_wBufferID1)) != NoError) - { - strTemp.Format( TEXT("AI_ContBufferSetup error=%d"), err); - AfxMessageBox( strTemp ); - return; - } - - if ((err = AI_ContBufferSetup (m_hCard, m_pAIBuf2, m_dwReadCount, &m_wBufferID2)) != NoError) - { - strTemp.Format( TEXT("AI_ContBufferSetup error=%d"), err); - AfxMessageBox( strTemp ); - return; - } - - m_bView = 0; - - if ((err=AI_ContReadChannel(m_hCard, m_wScanChans, m_wRange, &m_wBufferID1, m_dwReadCount, 0, ASYNCH_OP)) != NoError) - { - strTemp.Format( TEXT("AI_ContBufferSetup error=%d"), err); - AfxMessageBox( strTemp ); - return; - } - - m_nTimer = SetTimer( 1, 20, NULL ); - -} - -int C9223cdmaDlg::display_buffer_data(U16* pBuf) -{ - CClientDC dc_plot(this); - int nDraw_Origin_Y; - int cur_channel; - - int newY = -1; - int newX = -1; - U32 index; - I16 ai_data; - U32 dwDataSize = m_dwReadCount; - - // redraw the background - dc_plot.FillSolidRect( plotRect, RGB(0,0,0) ); - - nDraw_Origin_Y = ( plotRect.bottom - 5 ) - n_PlotHeight/2; - - cur_channel = m_wScanChans; - - switch(cur_channel) - { - case 0: - dc_plot.SelectObject(&YellowPen); - break; - case 1: - dc_plot.SelectObject(<GreenPen); - break; - case 2: - dc_plot.SelectObject(&BluePen); - break; - case 3: - dc_plot.SelectObject(&RedPen); - break; - case 4: - dc_plot.SelectObject(<BluePen); - break; - case 5: - dc_plot.SelectObject(<RedPen); - break; - case 6: - dc_plot.SelectObject(&GreenPen); - break; - case 7: - dc_plot.SelectObject(&WhitePen); - break; - } - - for( index=0; index> 16) ); // ( n_PlotHeight * ai_data / 65536) ); // ( (n_PlotHeight/2) * ai_data/32768 ) ); - - newX = (int)( index*n_PlotWidth/dwDataSize + plotRect.left ); - - - - if ( index == 0 ) - { - dc_plot.MoveTo( newX, newY ); - } - else - { - dc_plot.MoveTo( m_oldX[cur_channel], m_oldY[cur_channel] ); - dc_plot.LineTo( newX, newY ); - } - - m_oldX[cur_channel] = newX; - m_oldY[cur_channel] = newY; - } - - return 0; -} - -void C9223cdmaDlg::OnTimer(UINT_PTR nIDEvent) -{ - // TODO: Add your message handler code here and/or call default - BOOLEAN HalfReady; - BOOLEAN fstop; - U16 RdyTrigCnt; - - AI_AsyncReTrigNextReady(m_hCard, &HalfReady, &fstop, &RdyTrigCnt); - - if( HalfReady ) // half-buffer ready - { - - if(RdyTrigCnt==0) - { - display_buffer_data( m_pAIBuf1 ); - m_bView = 1; - } - else - { - display_buffer_data( m_pAIBuf2 ); - m_bView= 0; - } - - } - - CDialog::OnTimer(nIDEvent); -} - -void C9223cdmaDlg::OnCh0() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_RADIO_CH0 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_wScanChans = 0; - } - -} - -void C9223cdmaDlg::OnCh1() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_RADIO_CH1 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_wScanChans = 1; - } -} - -void C9223cdmaDlg::OnCh2() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_RADIO_CH2 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_wScanChans = 2; - } -} - -void C9223cdmaDlg::OnCh3() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_RADIO_CH3 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_wScanChans = 3; - } -} - -void C9223cdmaDlg::OnCh4() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_RADIO_CH4 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_wScanChans = 4; - } -} - -void C9223cdmaDlg::OnCh5() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_RADIO_CH5 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_wScanChans = 5; - } -} - -void C9223cdmaDlg::OnCh6() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_RADIO_CH6 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_wScanChans = 6; - } -} - -void C9223cdmaDlg::OnCh7() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_RADIO_CH7 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_wScanChans = 7; - } -} - - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AIDma_InfiniteReTrigger/9223cdmaDlg.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AIDma_InfiniteReTrigger/9223cdmaDlg.h deleted file mode 100644 index c781c23..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AIDma_InfiniteReTrigger/9223cdmaDlg.h +++ /dev/null @@ -1,85 +0,0 @@ - -// 9223cdmaDlg.h : header file -#pragma once -#include "afxcmn.h" -#include "afxwin.h" - -#include "Dask64.h" - -// C9223cdmaDlg dialog -class C9223cdmaDlg : public CDialog -{ -// Construction -public: - C9223cdmaDlg(I16 hCard, CWnd* pParent = NULL); // standard constructor - -// Dialog Data - enum { IDD = IDD_9223DMA_DIALOG }; - - protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - - -// Implementation -protected: - HICON m_hIcon; - UINT_PTR m_nTimer; - I16 m_hCard; - U32 m_dwSampIntrv; - U16 m_wScanChans; - HANDLE m_hMem1; - HANDLE m_hMem2; - U16 *m_pAIBuf1; - U16 *m_pAIBuf2; - U16 m_wBufferID1; - U16 m_wBufferID2; - U16 m_wRange; - int m_oldY[8]; - int m_oldX[8]; - U32 m_dwReadCount; - U16 m_wPostCount; - U8 m_bView; - - // Generated message map functions - virtual BOOL OnInitDialog(); - afx_msg void OnSysCommand(UINT nID, LPARAM lParam); - afx_msg void OnPaint(); - afx_msg HCURSOR OnQueryDragIcon(); - DECLARE_MESSAGE_MAP() - -public: - WORD max_val; - WORD min_val; - double max_range; - double min_range; - int n_PlotWidth; - int n_PlotHeight; - int y_divider; - int x_divider; - int m_DisplayScale; - HBRUSH OnBrush; - HBRUSH OffBrush; - CPen RedPen; - CPen GreenPen; - CPen YellowPen; - CPen BluePen; - CPen LTBluePen; - CPen LTRedPen; - CPen LTGreenPen; - CPen WhitePen; - void redraw_display_area(void); - afx_msg void OnDestroy(); - afx_msg void OnVScroll(UINT nSBCode, UINT nPos, CScrollBar* pScrollBar); - afx_msg void OnStart(); - int display_buffer_data(U16* pBuf); - afx_msg void OnCh0(); - afx_msg void OnCh1(); - afx_msg void OnCh2(); - afx_msg void OnCh3(); - afx_msg void OnCh4(); - afx_msg void OnCh5(); - afx_msg void OnCh6(); - afx_msg void OnCh7(); - afx_msg void OnTimer(UINT_PTR nIDEvent); - afx_msg void OnStop(); -}; diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AIDma_InfiniteReTrigger/CardIDDlg.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AIDma_InfiniteReTrigger/CardIDDlg.cpp deleted file mode 100644 index dfa5652..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AIDma_InfiniteReTrigger/CardIDDlg.cpp +++ /dev/null @@ -1,64 +0,0 @@ -// CardIDDlg.cpp : implementation file -// -#include "stdafx.h" -#include "9223cdma.h" -#include "9223cdmaDlg.h" -#include "CardIDDlg.h" - -// CCardIDDlg dialog - -IMPLEMENT_DYNAMIC(CCardIDDlg, CDialog) - -CCardIDDlg::CCardIDDlg(int nCardIdx, CWnd* pParent /*=NULL*/) - : CDialog(CCardIDDlg::IDD, pParent) -{ - m_nCardIdx = nCardIdx; -} - -CCardIDDlg::~CCardIDDlg() -{ -} - -void CCardIDDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); - DDX_Control(pDX, IDC_COMBO_CARDID, m_cbCardID); -} - - -BEGIN_MESSAGE_MAP(CCardIDDlg, CDialog) -// ON_CBN_SELCHANGE(IDC_COMBO_CARDID, &CCardIDDlg::OnCbnSelchangeComboCardid) -ON_BN_CLICKED(IDOK, &CCardIDDlg::OnBnClickedOk) -//ON_WM_CTLCOLOR() -END_MESSAGE_MAP() - - -// CCardIDDlg message handlers - - -void CCardIDDlg::OnBnClickedOk() -{ - // TODO: Add your control notification handler code here - -// UpdateData(TRUE); - m_nCardIdx = m_cbCardID.GetCurSel(); - - OnOK(); -} - -BOOL CCardIDDlg::OnInitDialog() -{ - CDialog::OnInitDialog(); - - // TODO: Add extra initialization here - m_cbCardID.SetCurSel( m_nCardIdx ); - - return TRUE; // return TRUE unless you set the focus to a control - // EXCEPTION: OCX Property Pages should return FALSE -} - -// the function to get the selected CardID -int CCardIDDlg::GetCardID(void) -{ - return m_nCardIdx; -} diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AIDma_InfiniteReTrigger/CardIDDlg.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AIDma_InfiniteReTrigger/CardIDDlg.h deleted file mode 100644 index 9c02c58..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AIDma_InfiniteReTrigger/CardIDDlg.h +++ /dev/null @@ -1,32 +0,0 @@ -#pragma once -#include "afxwin.h" - -#include "Dask64.h" - -// CCardIDDlg dialog - -class CCardIDDlg : public CDialog -{ - DECLARE_DYNAMIC(CCardIDDlg) - -public: - CCardIDDlg(int nCardIdx, CWnd* pParent = NULL); // standard constructor - virtual ~CCardIDDlg(); - -// Dialog Data - enum { IDD = IDD_CARDID_DIALOG }; - -protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - - DECLARE_MESSAGE_MAP() -public: - virtual BOOL OnInitDialog(); - afx_msg void OnBnClickedOk(); - // the setting of CardID ComboBox - int m_nCardIdx; - // the control of CardID ComboBox - CComboBox m_cbCardID; - // the function to get the selected CardID - int GetCardID(void); -}; diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AIDma_InfiniteReTrigger/ReadMe.txt b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AIDma_InfiniteReTrigger/ReadMe.txt deleted file mode 100644 index d1c88f4..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AIDma_InfiniteReTrigger/ReadMe.txt +++ /dev/null @@ -1,93 +0,0 @@ -================================================================================ - MICROSOFT FOUNDATION CLASS LIBRARY : 9223cdma Project Overview -=============================================================================== - -The application wizard has created this 9223cdma application for -you. This application not only demonstrates the basics of using the Microsoft -Foundation Classes but is also a starting point for writing your application. - -This file contains a summary of what you will find in each of the files that -make up your 9223cdma application. - -9223cdma.vcproj - This is the main project file for VC++ projects generated using an application wizard. - It contains information about the version of Visual C++ that generated the file, and - information about the platforms, configurations, and project features selected with the - application wizard. - -9223cdma.h - This is the main header file for the application. It includes other - project specific headers (including Resource.h) and declares the - C9223cdmaApp application class. - -9223cdma.cpp - This is the main application source file that contains the application - class C9223cdmaApp. - -9223cdma.rc - This is a listing of all of the Microsoft Windows resources that the - program uses. It includes the icons, bitmaps, and cursors that are stored - in the RES subdirectory. This file can be directly edited in Microsoft - Visual C++. Your project resources are in 1033. - -res\9223cdma.ico - This is an icon file, which is used as the application's icon. This - icon is included by the main resource file 9223cdma.rc. - -res\My9223cdma.rc2 - This file contains resources that are not edited by Microsoft - Visual C++. You should place all resources not editable by - the resource editor in this file. - - -///////////////////////////////////////////////////////////////////////////// - -The application wizard creates one dialog class: - -9223cdmaDlg.h, 9223cdmaDlg.cpp - the dialog - These files contain your C9223cdmaDlg class. This class defines - the behavior of your application's main dialog. The dialog's template is - in 9223cdma.rc, which can be edited in Microsoft Visual C++. - - -///////////////////////////////////////////////////////////////////////////// - -Other Features: - -ActiveX Controls - The application includes support to use ActiveX controls. - -///////////////////////////////////////////////////////////////////////////// - -Other standard files: - -StdAfx.h, StdAfx.cpp - These files are used to build a precompiled header (PCH) file - named 9223cdma.pch and a precompiled types file named StdAfx.obj. - -Resource.h - This is the standard header file, which defines new resource IDs. - Microsoft Visual C++ reads and updates this file. - -9223cdma.manifest - Application manifest files are used by Windows XP to describe an applications - dependency on specific versions of Side-by-Side assemblies. The loader uses this - information to load the appropriate assembly from the assembly cache or private - from the application. The Application manifest maybe included for redistribution - as an external .manifest file that is installed in the same folder as the application - executable or it may be included in the executable in the form of a resource. -///////////////////////////////////////////////////////////////////////////// - -Other notes: - -The application wizard uses "TODO:" to indicate parts of the source code you -should add to or customize. - -If your application uses MFC in a shared DLL, you will need -to redistribute the MFC DLLs. If your application is in a language -other than the operating system's locale, you will also have to -redistribute the corresponding localized resources MFC90XXX.DLL. -For more information on both of these topics, please see the section on -redistributing Visual C++ applications in MSDN documentation. - -///////////////////////////////////////////////////////////////////////////// diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AIDma_InfiniteReTrigger/res/9223cdma.ico b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AIDma_InfiniteReTrigger/res/9223cdma.ico deleted file mode 100644 index d56fbcd..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AIDma_InfiniteReTrigger/res/9223cdma.ico and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AIDma_InfiniteReTrigger/res/My9223cdma.rc2 b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AIDma_InfiniteReTrigger/res/My9223cdma.rc2 deleted file mode 100644 index 383cde2..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AIDma_InfiniteReTrigger/res/My9223cdma.rc2 +++ /dev/null @@ -1,13 +0,0 @@ -// -// My9111int.RC2 - resources Microsoft Visual C++ does not edit directly -// - -#ifdef APSTUDIO_INVOKED -#error this file is not editable by Microsoft Visual C++ -#endif //APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// Add manually edited resources here... - -///////////////////////////////////////////////////////////////////////////// diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AIDma_InfiniteReTrigger/res/ch_set1.bmp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AIDma_InfiniteReTrigger/res/ch_set1.bmp deleted file mode 100644 index f2374ed..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AIDma_InfiniteReTrigger/res/ch_set1.bmp and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AIDma_InfiniteReTrigger/res/ch_set2.bmp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AIDma_InfiniteReTrigger/res/ch_set2.bmp deleted file mode 100644 index 32d0915..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AIDma_InfiniteReTrigger/res/ch_set2.bmp and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AIDma_InfiniteReTrigger/resource.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AIDma_InfiniteReTrigger/resource.h deleted file mode 100644 index 24da3ec..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AIDma_InfiniteReTrigger/resource.h +++ /dev/null @@ -1,42 +0,0 @@ -//{{NO_DEPENDENCIES}} -// Microsoft Visual C++ generated include file. -// Used by 9223cdma.rc -// -#define IDM_ABOUTBOX 0x0010 -#define IDD_ABOUTBOX 100 -#define IDS_ABOUTBOX 101 -#define IDD_9223DMA_DIALOG 102 -#define IDR_MAINFRAME 128 -#define IDD_CARDID_DIALOG 129 -#define IDB_BITMAP_SET1 131 -#define IDB_BITMAP_SET2 132 -#define IDC_STATIC_DRAW 1000 -#define IDC_COMBO_CARDID 1001 -#define IDC_BT_STOP 1002 -#define IDC_COMBO_CARDTYPE 1002 -#define IDC_BT_START 1003 -#define IDC_EDIT_SAMPLE_RATE 1004 -#define IDC_EDIT_SCAN_ITERVAL 1004 -#define IDC_SCROLLBAR_RATE 1005 -#define IDC_RADIO_CH0 1006 -#define IDC_RADIO_CH1 1007 -#define IDC_RADIO_CH2 1008 -#define IDC_RADIO_CH3 1009 -#define IDC_RADIO_CH4 1010 -#define IDC_RADIO_CH5 1011 -#define IDC_RADIO_CH6 1012 -#define IDC_RADIO_CH7 1013 -#define IDC_STATIC_01 1014 -#define IDC_EDIT_BUF_SIZE 1014 -#define IDC_STATIC_2 1015 - -// Next default values for new objects -// -#ifdef APSTUDIO_INVOKED -#ifndef APSTUDIO_READONLY_SYMBOLS -#define _APS_NEXT_RESOURCE_VALUE 134 -#define _APS_NEXT_COMMAND_VALUE 32771 -#define _APS_NEXT_CONTROL_VALUE 1017 -#define _APS_NEXT_SYMED_VALUE 101 -#endif -#endif diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AIDma_InfiniteReTrigger/stdafx.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AIDma_InfiniteReTrigger/stdafx.cpp deleted file mode 100644 index ef80626..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AIDma_InfiniteReTrigger/stdafx.cpp +++ /dev/null @@ -1,8 +0,0 @@ - -// stdafx.cpp : source file that includes just the standard includes -// 9111int.pch will be the pre-compiled header -// stdafx.obj will contain the pre-compiled type information - -#include "stdafx.h" - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AIDma_InfiniteReTrigger/stdafx.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AIDma_InfiniteReTrigger/stdafx.h deleted file mode 100644 index 12123e2..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AIDma_InfiniteReTrigger/stdafx.h +++ /dev/null @@ -1,60 +0,0 @@ - -// stdafx.h : include file for standard system include files, -// or project specific include files that are used frequently, -// but are changed infrequently - -#pragma once - -#ifndef _SECURE_ATL -#define _SECURE_ATL 1 -#endif - -#ifndef VC_EXTRALEAN -#define VC_EXTRALEAN // Exclude rarely-used stuff from Windows headers -#endif - -#include "targetver.h" - -#define _ATL_CSTRING_EXPLICIT_CONSTRUCTORS // some CString constructors will be explicit - -// turns off MFC's hiding of some common and often safely ignored warning messages -#define _AFX_ALL_WARNINGS - -#include // MFC core and standard components -#include // MFC extensions - - -#include // MFC Automation classes - - - -#ifndef _AFX_NO_OLE_SUPPORT -#include // MFC support for Internet Explorer 4 Common Controls -#endif -#ifndef _AFX_NO_AFXCMN_SUPPORT -#include // MFC support for Windows Common Controls -#endif // _AFX_NO_AFXCMN_SUPPORT - -#include // MFC support for ribbons and control bars - - - - - - - - - -#ifdef _UNICODE -#if defined _M_IX86 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='x86' publicKeyToken='6595b64144ccf1df' language='*'\"") -#elif defined _M_IA64 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='ia64' publicKeyToken='6595b64144ccf1df' language='*'\"") -#elif defined _M_X64 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='amd64' publicKeyToken='6595b64144ccf1df' language='*'\"") -#else -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='*' publicKeyToken='6595b64144ccf1df' language='*'\"") -#endif -#endif - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AIDma_InfiniteReTrigger/targetver.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AIDma_InfiniteReTrigger/targetver.h deleted file mode 100644 index 11730d5..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AIDma_InfiniteReTrigger/targetver.h +++ /dev/null @@ -1,26 +0,0 @@ - -#pragma once - -// The following macros define the minimum required platform. The minimum required platform -// is the earliest version of Windows, Internet Explorer etc. that has the necessary features to run -// your application. The macros work by enabling all features available on platform versions up to and -// including the version specified. - -// Modify the following defines if you have to target a platform prior to the ones specified below. -// Refer to MSDN for the latest info on corresponding values for different platforms. -#ifndef WINVER // Specifies that the minimum required platform is Windows Vista. -#define WINVER 0x0600 // Change this to the appropriate value to target other versions of Windows. -#endif - -#ifndef _WIN32_WINNT // Specifies that the minimum required platform is Windows Vista. -#define _WIN32_WINNT 0x0600 // Change this to the appropriate value to target other versions of Windows. -#endif - -#ifndef _WIN32_WINDOWS // Specifies that the minimum required platform is Windows 98. -#define _WIN32_WINDOWS 0x0410 // Change this to the appropriate value to target Windows Me or later. -#endif - -#ifndef _WIN32_IE // Specifies that the minimum required platform is Internet Explorer 7.0. -#define _WIN32_IE 0x0700 // Change this to the appropriate value to target other versions of IE. -#endif - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AIDma_ReTrigger/9111DbInt.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AIDma_ReTrigger/9111DbInt.suo deleted file mode 100644 index 3fde864..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AIDma_ReTrigger/9111DbInt.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AIDma_ReTrigger/9111PostTg.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AIDma_ReTrigger/9111PostTg.suo deleted file mode 100644 index c59a833..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AIDma_ReTrigger/9111PostTg.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AIDma_ReTrigger/9111int.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AIDma_ReTrigger/9111int.suo deleted file mode 100644 index aaca7d8..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AIDma_ReTrigger/9111int.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AIDma_ReTrigger/9116cdma.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AIDma_ReTrigger/9116cdma.suo deleted file mode 100644 index df9f193..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AIDma_ReTrigger/9116cdma.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AIDma_ReTrigger/9118cdma.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AIDma_ReTrigger/9118cdma.suo deleted file mode 100644 index 9318437..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AIDma_ReTrigger/9118cdma.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AIDma_ReTrigger/9221cdma.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AIDma_ReTrigger/9221cdma.suo deleted file mode 100644 index 9cb61ca..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AIDma_ReTrigger/9221cdma.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AIDma_ReTrigger/9222cdma.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AIDma_ReTrigger/9222cdma.suo deleted file mode 100644 index a5bc539..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AIDma_ReTrigger/9222cdma.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AIDma_ReTrigger/9223cdma.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AIDma_ReTrigger/9223cdma.cpp deleted file mode 100644 index f121734..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AIDma_ReTrigger/9223cdma.cpp +++ /dev/null @@ -1,109 +0,0 @@ - -// 9223cdma.cpp : Defines the class behaviors for the application. -// - -#include "stdafx.h" -#include "9223cdma.h" -#include "9223cdmaDlg.h" -#include "CardIDDlg.h" - -#ifdef _DEBUG -#define new DEBUG_NEW -#endif - - -// C9223cdmaApp - -BEGIN_MESSAGE_MAP(C9223cdmaApp, CWinAppEx) - ON_COMMAND(ID_HELP, &CWinApp::OnHelp) -END_MESSAGE_MAP() - - -// C9223cdmaApp construction - -C9223cdmaApp::C9223cdmaApp() -{ - // TODO: add construction code here, - // Place all significant initialization in InitInstance -} - - -// The one and only C9223cdmaApp object - -C9223cdmaApp theApp; - - -// C9223cdmaApp initialization - -BOOL C9223cdmaApp::InitInstance() -{ - int nCardID = 0; - I16 hCard; - CString strTemp; - INT_PTR nResponse; - - // InitCommonControlsEx() is required on Windows XP if an application - // manifest specifies use of ComCtl32.dll version 6 or later to enable - // visual styles. Otherwise, any window creation will fail. - INITCOMMONCONTROLSEX InitCtrls; - InitCtrls.dwSize = sizeof(InitCtrls); - // Set this to include all the common control classes you want to use - // in your application. - InitCtrls.dwICC = ICC_WIN95_CLASSES; - InitCommonControlsEx(&InitCtrls); - - CWinAppEx::InitInstance(); - - AfxEnableControlContainer(); - - // Standard initialization - // If you are not using these features and wish to reduce the size - // of your final executable, you should remove from the following - // the specific initialization routines you do not need - // Change the registry key under which our settings are stored - // TODO: You should modify this string to be something appropriate - // such as the name of your company or organization - SetRegistryKey(_T("Local AppWizard-Generated Applications")); - - CCardIDDlg CardDlg( nCardID ); - - nResponse = CardDlg.DoModal(); - if (nResponse == IDOK) - { - nCardID = CardDlg.GetCardID(); - - if ((hCard=Register_Card(PCI_9223, nCardID)) < 0) - { - strTemp.Format( TEXT("Register_Card Error = %d"), hCard); - AfxMessageBox( strTemp ); - } - else - { - C9223cdmaDlg dlg(hCard); - m_pMainWnd = &dlg; - nResponse = dlg.DoModal(); - if (nResponse == IDOK) - { - // TODO: Place code here to handle when the dialog is - // dismissed with OK - } - else if (nResponse == IDCANCEL) - { - // TODO: Place code here to handle when the dialog is - // dismissed with Cancel - } - - if (hCard >= 0) Release_Card(hCard); - } - - } - else if (nResponse == IDCANCEL) - { - // TODO: Place code here to handle when the dialog is - // dismissed with Cancel - } - - // Since the dialog has been closed, return FALSE so that we exit the - // application, rather than start the application's message pump. - return FALSE; -} diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AIDma_ReTrigger/9223cdma.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AIDma_ReTrigger/9223cdma.h deleted file mode 100644 index 27ba83d..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AIDma_ReTrigger/9223cdma.h +++ /dev/null @@ -1,34 +0,0 @@ - -// 9223cdma.h : main header file for the PROJECT_NAME application -// - -#pragma once - -#ifndef __AFXWIN_H__ - #error "include 'stdafx.h' before including this file for PCH" -#endif - -#include "resource.h" // main symbols - -#define AI_MODE_DMA 0 -#define AI_MODE_INT 1 - -// C9223cdmaApp: -// See 9223cdma.cpp for the implementation of this class -// - -class C9223cdmaApp : public CWinAppEx -{ -public: - C9223cdmaApp(); - -// Overrides - public: - virtual BOOL InitInstance(); - -// Implementation - - DECLARE_MESSAGE_MAP() -}; - -extern C9223cdmaApp theApp; \ No newline at end of file diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AIDma_ReTrigger/9223cdma.rc b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AIDma_ReTrigger/9223cdma.rc deleted file mode 100644 index 8d36ae5..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AIDma_ReTrigger/9223cdma.rc +++ /dev/null @@ -1,291 +0,0 @@ -// Microsoft Visual C++ generated resource script. -// -#include "resource.h" - -#define APSTUDIO_READONLY_SYMBOLS -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 2 resource. -// -#ifndef APSTUDIO_INVOKED -#include "targetver.h" -#endif -#include "afxres.h" - -///////////////////////////////////////////////////////////////////////////// -#undef APSTUDIO_READONLY_SYMBOLS - -///////////////////////////////////////////////////////////////////////////// -// Chinese (Taiwan) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_CHT) -#ifdef _WIN32 -LANGUAGE LANG_CHINESE, SUBLANG_CHINESE_TRADITIONAL -#pragma code_page(950) -#endif //_WIN32 - -#ifdef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// TEXTINCLUDE -// - -1 TEXTINCLUDE -BEGIN - "resource.h\0" -END - -2 TEXTINCLUDE -BEGIN - "#ifndef APSTUDIO_INVOKED\r\n" - "#include ""targetver.h""\r\n" - "#endif\r\n" - "#include ""afxres.h""\r\n" - "\0" -END - -3 TEXTINCLUDE -BEGIN - "#define _AFX_NO_SPLITTER_RESOURCES\r\n" - "#define _AFX_NO_OLE_RESOURCES\r\n" - "#define _AFX_NO_TRACKER_RESOURCES\r\n" - "#define _AFX_NO_PROPERTY_RESOURCES\r\n" - "\r\n" - "#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)\r\n" - "LANGUAGE 9, 1\r\n" - "#pragma code_page(1252)\r\n" - "#include ""res\\My9223cdma.rc2"" // non-Microsoft Visual C++ edited resources\r\n" - "#include ""afxres.rc"" // Standard components\r\n" - "#endif\r\n" - "\0" -END - -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// Icon -// - -// Icon with lowest ID value placed first to ensure application icon -// remains consistent on all systems. -IDR_MAINFRAME ICON "res\\9223cdma.ico" -#endif // Chinese (Taiwan) resources -///////////////////////////////////////////////////////////////////////////// - - -///////////////////////////////////////////////////////////////////////////// -// English (U.S.) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -#ifdef _WIN32 -LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US -#pragma code_page(1252) -#endif //_WIN32 - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog -// - -IDD_ABOUTBOX DIALOGEX 0, 0, 170, 62 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "About 9223cdma" -FONT 8, "MS Shell Dlg", 0, 0, 0x1 -BEGIN - ICON IDR_MAINFRAME,IDC_STATIC,14,14,21,20 - LTEXT "9223cdma, Version 1.0",IDC_STATIC,42,14,114,8,SS_NOPREFIX - LTEXT "Copyright (C) 2010",IDC_STATIC,42,26,114,8 - DEFPUSHBUTTON "OK",IDOK,113,41,50,14,WS_GROUP -END - -IDD_9223DMA_DIALOG DIALOGEX 0, 0, 365, 232 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU -EXSTYLE WS_EX_APPWINDOW -CAPTION "PCI-9223 Re-Trigger DMA (total 5 AI acquisition, Single-End Singal)" -FONT 8, "MS Shell Dlg", 0, 0, 0x1 -BEGIN - GROUPBOX "",IDC_STATIC_DRAW,45,9,248,161,NOT WS_VISIBLE - LTEXT "Range : +/- 10V",IDC_STATIC,299,129,52,15 - LTEXT "Buffer Size :",IDC_STATIC,124,184,42,9 - EDITTEXT IDC_EDIT_SCAN_ITERVAL,47,198,39,14,ES_AUTOHSCROLL | ES_READONLY - LTEXT "Sample Interval :",IDC_STATIC,47,184,60,9 - SCROLLBAR IDC_SCROLLBAR_RATE,87,198,9,11,SBS_VERT - PUSHBUTTON "Start",IDC_BT_START,230,188,55,22 - CONTROL "0",IDC_RADIO_CH0,"Button",BS_AUTORADIOBUTTON | BS_LEFTTEXT,307,20,16,12 - CONTROL "1",IDC_RADIO_CH1,"Button",BS_AUTORADIOBUTTON | BS_LEFTTEXT,307,35,16,12 - CONTROL "2",IDC_RADIO_CH2,"Button",BS_AUTORADIOBUTTON | BS_LEFTTEXT,307,49,16,12 - CONTROL "3",IDC_RADIO_CH3,"Button",BS_AUTORADIOBUTTON | BS_LEFTTEXT,307,64,16,12 - CONTROL "4",IDC_RADIO_CH4,"Button",BS_AUTORADIOBUTTON | BS_LEFTTEXT,331,20,16,12 - CONTROL "5",IDC_RADIO_CH5,"Button",BS_AUTORADIOBUTTON | BS_LEFTTEXT,331,35,16,12 - CONTROL "6",IDC_RADIO_CH6,"Button",BS_AUTORADIOBUTTON | BS_LEFTTEXT,331,49,16,12 - CONTROL "7",IDC_RADIO_CH7,"Button",BS_AUTORADIOBUTTON | BS_LEFTTEXT,331,64,16,12 - EDITTEXT IDC_EDIT_BUF_SIZE,122,198,46,14,ES_AUTOHSCROLL - PUSHBUTTON "Stop",IDC_BT_STOP,291,188,55,22 -END - -IDD_CARDID_DIALOG DIALOGEX 0, 0, 174, 108 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "Card ID" -FONT 8, "MS Shell Dlg", 400, 0, 0x1 -BEGIN - COMBOBOX IDC_COMBO_CARDID,78,24,71,126,CBS_DROPDOWN | WS_VSCROLL | WS_TABSTOP - LTEXT "Card Number",IDC_STATIC_01,23,25,46,12 - PUSHBUTTON "OK",IDOK,22,70,58,19 - PUSHBUTTON "CANCEL",IDCANCEL,86,70,58,19 -END - - -///////////////////////////////////////////////////////////////////////////// -// -// Version -// - -VS_VERSION_INFO VERSIONINFO - FILEVERSION 1,0,0,1 - PRODUCTVERSION 1,0,0,1 - FILEFLAGSMASK 0x3fL -#ifdef _DEBUG - FILEFLAGS 0x1L -#else - FILEFLAGS 0x0L -#endif - FILEOS 0x4L - FILETYPE 0x1L - FILESUBTYPE 0x0L -BEGIN - BLOCK "StringFileInfo" - BEGIN - BLOCK "040904e4" - BEGIN - VALUE "CompanyName", "TODO: " - VALUE "FileDescription", "TODO: " - VALUE "FileVersion", "1.0.0.1" - VALUE "InternalName", "9223cdma.exe" - VALUE "LegalCopyright", "TODO: (c) . All rights reserved." - VALUE "OriginalFilename", "9223cdma.exe" - VALUE "ProductName", "TODO: " - VALUE "ProductVersion", "1.0.0.1" - END - END - BLOCK "VarFileInfo" - BEGIN - VALUE "Translation", 0x409, 1252 - END -END - - -///////////////////////////////////////////////////////////////////////////// -// -// DESIGNINFO -// - -#ifdef APSTUDIO_INVOKED -GUIDELINES DESIGNINFO -BEGIN - IDD_ABOUTBOX, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 163 - TOPMARGIN, 7 - BOTTOMMARGIN, 55 - END - - IDD_CARDID_DIALOG, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 167 - TOPMARGIN, 7 - BOTTOMMARGIN, 101 - END -END -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog Info -// - -IDD_CARDID_DIALOG DLGINIT -BEGIN - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0030, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0031, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0032, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0033, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0034, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0035, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0036, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0037, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0038, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0039, - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3031, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3131, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3231, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3331, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3431, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3531, "\000" - 0 -END - - -///////////////////////////////////////////////////////////////////////////// -// -// Bitmap -// - -IDB_BITMAP_SET1 BITMAP "res\\ch_set1.bmp" -IDB_BITMAP_SET2 BITMAP "res\\ch_set2.bmp" - -///////////////////////////////////////////////////////////////////////////// -// -// String Table -// - -STRINGTABLE -BEGIN - IDS_ABOUTBOX "&About 9223cdma..." -END - -#endif // English (U.S.) resources -///////////////////////////////////////////////////////////////////////////// - - - -#ifndef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 3 resource. -// -#define _AFX_NO_SPLITTER_RESOURCES -#define _AFX_NO_OLE_RESOURCES -#define _AFX_NO_TRACKER_RESOURCES -#define _AFX_NO_PROPERTY_RESOURCES - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -LANGUAGE 9, 1 -#pragma code_page(1252) -#include "res\My9223cdma.rc2" // non-Microsoft Visual C++ edited resources -#include "afxres.rc" // Standard components -#endif - -///////////////////////////////////////////////////////////////////////////// -#endif // not APSTUDIO_INVOKED - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AIDma_ReTrigger/9223cdma.sln b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AIDma_ReTrigger/9223cdma.sln deleted file mode 100644 index 538cc7b..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AIDma_ReTrigger/9223cdma.sln +++ /dev/null @@ -1,20 +0,0 @@ - -Microsoft Visual Studio Solution File, Format Version 10.00 -# Visual Studio 2008 -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "9223cdma", "9223cdma.vcproj", "{702163FB-B6DF-4EF5-9491-FC54D71509BC}" -EndProject -Global - GlobalSection(SolutionConfigurationPlatforms) = preSolution - Debug|x64 = Debug|x64 - Release|x64 = Release|x64 - EndGlobalSection - GlobalSection(ProjectConfigurationPlatforms) = postSolution - {702163FB-B6DF-4EF5-9491-FC54D71509BC}.Debug|x64.ActiveCfg = Debug|x64 - {702163FB-B6DF-4EF5-9491-FC54D71509BC}.Debug|x64.Build.0 = Debug|x64 - {702163FB-B6DF-4EF5-9491-FC54D71509BC}.Release|x64.ActiveCfg = Release|x64 - {702163FB-B6DF-4EF5-9491-FC54D71509BC}.Release|x64.Build.0 = Release|x64 - EndGlobalSection - GlobalSection(SolutionProperties) = preSolution - HideSolutionNode = FALSE - EndGlobalSection -EndGlobal diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AIDma_ReTrigger/9223cdma.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AIDma_ReTrigger/9223cdma.suo deleted file mode 100644 index 68c1758..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AIDma_ReTrigger/9223cdma.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AIDma_ReTrigger/9223cdma.vcproj b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AIDma_ReTrigger/9223cdma.vcproj deleted file mode 100644 index c3e2af5..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AIDma_ReTrigger/9223cdma.vcproj +++ /dev/null @@ -1,294 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AIDma_ReTrigger/9223cdmaDlg.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AIDma_ReTrigger/9223cdmaDlg.cpp deleted file mode 100644 index e0c8921..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AIDma_ReTrigger/9223cdmaDlg.cpp +++ /dev/null @@ -1,714 +0,0 @@ - -// 9223cdmaDlg.cpp : implementation file -// - -#include "stdafx.h" -#include "9223cdma.h" -#include "9223cdmaDlg.h" - -#ifdef _DEBUG -#define new DEBUG_NEW -#endif - -#define P922X_TIMEBASE 80000000.0 - -CRect plotRect; - -// CAboutDlg dialog used for App About - -class CAboutDlg : public CDialog -{ -public: - CAboutDlg(); - -// Dialog Data - enum { IDD = IDD_ABOUTBOX }; - - protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - -// Implementation -protected: - DECLARE_MESSAGE_MAP() -}; - -CAboutDlg::CAboutDlg() : CDialog(CAboutDlg::IDD) -{ -} - -void CAboutDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); -} - -BEGIN_MESSAGE_MAP(CAboutDlg, CDialog) -END_MESSAGE_MAP() - - -// C9223cdmaDlg dialog - - - - -C9223cdmaDlg::C9223cdmaDlg(I16 hCard, CWnd* pParent /*=NULL*/) - : CDialog(C9223cdmaDlg::IDD, pParent) -{ - m_hIcon = AfxGetApp()->LoadIcon(IDR_MAINFRAME); - - n_PlotWidth = n_PlotHeight = -1; - OnBrush = OffBrush = NULL; - - min_val = 0x00; - max_val = 0xFFFF; - - m_dwSampIntrv = 2000; - - m_hCard = hCard; - - m_wScanChans = 0; - m_nTimer = -1; - m_hMem1 = NULL; - m_hMem2 = NULL; - - m_wRange = AD_B_10_V; - max_range = 10.0; - min_range = -10.0; - - m_dwReadCount = 4000; - m_wPostCount = 512; - m_wReTrigCount = 4; - -} - -void C9223cdmaDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); -} - -BEGIN_MESSAGE_MAP(C9223cdmaDlg, CDialog) - ON_WM_SYSCOMMAND() - ON_WM_PAINT() - ON_WM_QUERYDRAGICON() - //}}AFX_MSG_MAP - ON_WM_DESTROY() - ON_WM_VSCROLL() - ON_BN_CLICKED(IDC_BT_START, &C9223cdmaDlg::OnStart) - ON_BN_CLICKED(IDC_RADIO_CH0, &C9223cdmaDlg::OnCh0) - ON_BN_CLICKED(IDC_RADIO_CH1, &C9223cdmaDlg::OnCh1) - ON_BN_CLICKED(IDC_RADIO_CH2, &C9223cdmaDlg::OnCh2) - ON_BN_CLICKED(IDC_RADIO_CH3, &C9223cdmaDlg::OnCh3) - ON_BN_CLICKED(IDC_RADIO_CH4, &C9223cdmaDlg::OnCh4) - ON_BN_CLICKED(IDC_RADIO_CH5, &C9223cdmaDlg::OnCh5) - ON_BN_CLICKED(IDC_RADIO_CH6, &C9223cdmaDlg::OnCh6) - ON_BN_CLICKED(IDC_RADIO_CH7, &C9223cdmaDlg::OnCh7) - ON_WM_TIMER() - ON_BN_CLICKED(IDC_BT_STOP, &C9223cdmaDlg::OnStop) -END_MESSAGE_MAP() - - -// C9223cdmaDlg message handlers - -BOOL C9223cdmaDlg::OnInitDialog() -{ - CDialog::OnInitDialog(); - - // Add "About..." menu item to system menu. - - // IDM_ABOUTBOX must be in the system command range. - ASSERT((IDM_ABOUTBOX & 0xFFF0) == IDM_ABOUTBOX); - ASSERT(IDM_ABOUTBOX < 0xF000); - - CMenu* pSysMenu = GetSystemMenu(FALSE); - if (pSysMenu != NULL) - { - BOOL bNameValid; - CString strAboutMenu; - bNameValid = strAboutMenu.LoadString(IDS_ABOUTBOX); - ASSERT(bNameValid); - if (!strAboutMenu.IsEmpty()) - { - pSysMenu->AppendMenu(MF_SEPARATOR); - pSysMenu->AppendMenu(MF_STRING, IDM_ABOUTBOX, strAboutMenu); - } - } - - // Set the icon for this dialog. The framework does this automatically - // when the application's main window is not a dialog - SetIcon(m_hIcon, TRUE); // Set big icon - SetIcon(m_hIcon, FALSE); // Set small icon - - // TODO: Add extra initialization here - x_divider = 5; y_divider = 4; - - OnBrush = CreateSolidBrush( RGB(255,0,0) ); - OffBrush = CreateSolidBrush( RGB(125,0,0) ); - - RedPen.CreatePen( PS_SOLID, 1, RGB(255,0,0)); - GreenPen.CreatePen( PS_SOLID, 1, RGB(0,255,0)); - YellowPen.CreatePen( PS_SOLID, 1, RGB(255,255,0)); - BluePen.CreatePen( PS_SOLID, 1, RGB(0,0,255)); - LTBluePen.CreatePen( PS_SOLID, 1, RGB(0,128,255)); - LTRedPen.CreatePen( PS_SOLID, 1, RGB(255,128,0)); - LTGreenPen.CreatePen( PS_SOLID, 1, RGB(0,128,0)); - WhitePen.CreatePen( PS_SOLID, 1, RGB(255,255,255)); - - - if( n_PlotWidth == -1 && n_PlotHeight == -1 ) - { - ((CWnd*)GetDlgItem(IDC_STATIC_DRAW))->GetWindowRect(&plotRect); - ScreenToClient(&plotRect); - - n_PlotWidth = min( plotRect.Width(), 512); - n_PlotHeight = plotRect.Height() - 10; - } - - // set the default SampleRate - - SetDlgItemInt( IDC_EDIT_SAMPLE_RATE, (UINT)(m_dwSampIntrv) ); - SetDlgItemInt( IDC_EDIT_BUF_SIZE, (UINT)(m_dwReadCount) ); - ((CButton*)GetDlgItem( IDC_RADIO_CH0 ))->SetCheck( TRUE ); - - return TRUE; // return TRUE unless you set the focus to a control -} - -void C9223cdmaDlg::OnSysCommand(UINT nID, LPARAM lParam) -{ - if ((nID & 0xFFF0) == IDM_ABOUTBOX) - { - CAboutDlg dlgAbout; - dlgAbout.DoModal(); - } - else - { - CDialog::OnSysCommand(nID, lParam); - } -} - -// If you add a minimize button to your dialog, you will need the code below -// to draw the icon. For MFC applications using the document/view model, -// this is automatically done for you by the framework. - -void C9223cdmaDlg::OnPaint() -{ - if (IsIconic()) - { - CPaintDC dc(this); // device context for painting - - SendMessage(WM_ICONERASEBKGND, reinterpret_cast(dc.GetSafeHdc()), 0); - - // Center icon in client rectangle - int cxIcon = GetSystemMetrics(SM_CXICON); - int cyIcon = GetSystemMetrics(SM_CYICON); - CRect rect; - GetClientRect(&rect); - int x = (rect.Width() - cxIcon + 1) / 2; - int y = (rect.Height() - cyIcon + 1) / 2; - - // Draw the icon - dc.DrawIcon(x, y, m_hIcon); - } - else - { - redraw_display_area(); - CDialog::OnPaint(); - } -} - -// The system calls this function to obtain the cursor to display while the user drags -// the minimized window. -HCURSOR C9223cdmaDlg::OnQueryDragIcon() -{ - return static_cast(m_hIcon); -} - - -void C9223cdmaDlg::redraw_display_area(void) -{ - CPen *oldPen; - - int oldMode; - COLORREF oldColor; - - CString y_lable; - - CPen minor_tick( PS_SOLID,1,RGB(132,130,132) ); -// CPen y_grid( PS_SOLID,1,RGB(206,203,132) ); - - int i, x_intv, y_intv; -// long total_sec; - - CClientDC dc_plot(this); - - // draw the base-line for x-y axises - oldPen = (CPen *)dc_plot.SelectStockObject(BLACK_PEN); - - // redraw the background - dc_plot.FillSolidRect( plotRect, RGB(0,0,0) ); - - // Re-Draw the AREA for Y-Lable - { - CBrush DIALOG_BRUSH; - CRect redraw_area, full_client; - - GetClientRect(&full_client); - ScreenToClient(&full_client); - - redraw_area.left = full_client.left; - redraw_area.top = plotRect.top - 5; - redraw_area.right = plotRect.left - 3; - redraw_area.bottom = plotRect.bottom + 10; - - DIALOG_BRUSH.CreateSysColorBrush( COLOR_3DFACE ); - - dc_plot.FillRect( redraw_area, &DIALOG_BRUSH ); - - DIALOG_BRUSH.DeleteObject(); - } - - dc_plot.MoveTo( plotRect.left - 3, plotRect.top ); - dc_plot.LineTo( plotRect.left - 3, plotRect.bottom ); - - // calculate the interval for tick/grid - y_intv = (plotRect.Height() - 10) /y_divider; - x_intv = plotRect.Width()/x_divider; - - - // set the color for tick - oldColor = dc_plot.SetTextColor( RGB(0,0,0) ); - oldMode = dc_plot.SetBkMode( TRANSPARENT ); - - for( i=0; i<= y_divider; i++ ) - { - CString tick_str; - CRect tmp_rect, tick_rect; - - // draw the tick for y-axis - dc_plot.MoveTo( plotRect.left -12, plotRect.bottom -5 - (i*y_intv) ); - dc_plot.LineTo( plotRect.left -3, plotRect.bottom -5 - (i*y_intv) ); - - tick_str.Format( _T("%.1f"), ( ((max_range-min_range)/y_divider) * i)+min_range ); - - // calculate the rectangle for text - dc_plot.DrawText( tick_str, &tmp_rect, DT_CALCRECT|DT_SINGLELINE ); - tick_rect.right = plotRect.left -14; - tick_rect.left = tick_rect.right - tmp_rect.Width(); - tick_rect.top = plotRect.bottom -5 - (i*y_intv) - tmp_rect.Height()/2; - tick_rect.bottom = tick_rect.top + tmp_rect.Height(); - - // draw the text - dc_plot.DrawText( tick_str, &tick_rect, DT_SINGLELINE|DT_RIGHT ); - - } - - // draw the minor_tick for Y axises - dc_plot.SelectObject(&minor_tick); - for( i=0; i< y_divider; i++ ) - { - dc_plot.MoveTo( plotRect.left -9, plotRect.bottom -5 - (i*y_intv) - y_intv/2 ); - dc_plot.LineTo( plotRect.left -4, plotRect.bottom -5 - (i*y_intv) - y_intv/2 ); - } - - dc_plot.SetTextColor( oldColor ); - dc_plot.SetBkMode( oldMode ); - dc_plot.SelectObject( oldPen ); -} - -void C9223cdmaDlg::OnDestroy() -{ - CDialog::OnDestroy(); - - // TODO: Add your message handler code here - if( m_nTimer != -1 ) - { - KillTimer( m_nTimer ); - m_nTimer = -1; - } - - if (m_hMem1 != NULL) - { - GlobalUnfix(m_hMem1); - GlobalUnlock(m_hMem1); - GlobalFree(m_hMem1); - - m_hMem1 = NULL; - } - - if (m_hMem2 != NULL) - { - GlobalUnfix(m_hMem2); - GlobalUnlock(m_hMem2); - GlobalFree(m_hMem2); - - m_hMem2 = NULL; - } - - if( OnBrush != NULL ) - ::DeleteObject( OnBrush ); - - if( OffBrush != NULL ) - ::DeleteObject( OffBrush ); - - RedPen.DeleteObject(); - GreenPen.DeleteObject(); - YellowPen.DeleteObject(); - BluePen.DeleteObject(); - LTBluePen.DeleteObject(); - LTRedPen.DeleteObject(); - LTGreenPen.DeleteObject(); - WhitePen.DeleteObject(); - -} - -void C9223cdmaDlg::OnVScroll(UINT nSBCode, UINT nPos, CScrollBar* pScrollBar) -{ - // TODO: Add your message handler code here and/or call default - switch ( nSBCode ) - { - case SB_LINEUP : - m_dwSampIntrv += 160; - if (m_dwSampIntrv > 40000 ) m_dwSampIntrv = 40000; - break; - case SB_LINEDOWN: - m_dwSampIntrv -= 160; - if (m_dwSampIntrv < 160 ) m_dwSampIntrv = 160; - break; - } - - SetDlgItemInt( IDC_EDIT_SCAN_ITERVAL, (UINT)(m_dwSampIntrv) ); - - CDialog::OnVScroll(nSBCode, nPos, pScrollBar); -} - - -void C9223cdmaDlg::OnStop() -{ - // TODO: Add your control notification handler code here - U32 count; - - if( m_nTimer != -1 ) - { - KillTimer( m_nTimer ); - m_nTimer = -1; - } - - AI_AsyncClear(m_hCard, &count); - - GetDlgItem( IDC_BT_START )->EnableWindow(TRUE); - - GetDlgItem( IDC_RADIO_CH0 )->EnableWindow(TRUE); - GetDlgItem( IDC_RADIO_CH1 )->EnableWindow(TRUE); - GetDlgItem( IDC_RADIO_CH2 )->EnableWindow(TRUE); - GetDlgItem( IDC_RADIO_CH3 )->EnableWindow(TRUE); - GetDlgItem( IDC_RADIO_CH4 )->EnableWindow(TRUE); - GetDlgItem( IDC_RADIO_CH5 )->EnableWindow(TRUE); - GetDlgItem( IDC_RADIO_CH6 )->EnableWindow(TRUE); - GetDlgItem( IDC_RADIO_CH7 )->EnableWindow(TRUE); -} - -void C9223cdmaDlg::OnStart() -{ - // TODO: Add your control notification handler code here - DWORD mem_size; - CString strTemp; - I16 err; - - GetDlgItem( IDC_BT_START )->EnableWindow(FALSE); - - GetDlgItem( IDC_RADIO_CH0 )->EnableWindow(FALSE); - GetDlgItem( IDC_RADIO_CH1 )->EnableWindow(FALSE); - GetDlgItem( IDC_RADIO_CH2 )->EnableWindow(FALSE); - GetDlgItem( IDC_RADIO_CH3 )->EnableWindow(FALSE); - GetDlgItem( IDC_RADIO_CH4 )->EnableWindow(FALSE); - GetDlgItem( IDC_RADIO_CH5 )->EnableWindow(FALSE); - GetDlgItem( IDC_RADIO_CH6 )->EnableWindow(FALSE); - GetDlgItem( IDC_RADIO_CH7 )->EnableWindow(FALSE); - - m_dwReadCount = GetDlgItemInt(IDC_EDIT_BUF_SIZE); - - if (m_hMem1 != NULL) - { - GlobalUnfix(m_hMem1); - GlobalUnlock(m_hMem1); - GlobalFree(m_hMem1); - - m_hMem1 = NULL; - } - - if (m_hMem2 != NULL) - { - GlobalUnfix(m_hMem2); - GlobalUnlock(m_hMem2); - GlobalFree(m_hMem2); - - m_hMem2 = NULL; - } - - // allocate a memory for user DMA buffer - mem_size = m_dwReadCount * (m_wReTrigCount+1) * sizeof(I16); - - m_hMem1 = GlobalAlloc(GMEM_FIXED | GMEM_ZEROINIT, mem_size); - m_pAIBuf1 = (U16*) GlobalLock(m_hMem1); - if (m_pAIBuf1 == NULL ) - { - AfxMessageBox( TEXT("Memory allocation failed"), MB_OK); - return; - } - GlobalFix(m_hMem1); - - - m_oldY[0] = m_oldY[1] = m_oldY[2] = m_oldY[3] = m_oldY[4] = m_oldY[5] = m_oldY[6] = m_oldY[7] = -1; - m_oldX[0] = m_oldX[1] = m_oldX[2] = m_oldX[3] = m_oldX[4] = m_oldX[5] = m_oldX[6] = m_oldX[7] = -1; - - if ((err = AI_9222_Config(m_hCard, P922x_AI_SingEnded|P922x_AI_CONVSRC_INT, P922x_AI_TRGMOD_POST|P922x_AI_TRGSRC_GPI0|P922x_AI_EnReTigger, m_wReTrigCount, TRUE)) != NoError) - { - strTemp.Format( TEXT("AI_9222_Config error=%d"), err); - AfxMessageBox( strTemp ); - return; - } - - if ((err = AI_9222_CounterInterval(m_hCard, m_dwSampIntrv, m_dwSampIntrv)) != NoError) - { - strTemp.Format( TEXT("AI_9222_CounterInterval error=%d"), err); - AfxMessageBox( strTemp ); - return; - } - - /*Disable Double Buffer Mode*/ - if ((err = AI_AsyncDblBufferMode(m_hCard, 0)) != NoError) - { - strTemp.Format( TEXT("AI_AsyncDblBufferMode error=%d"), err); - AfxMessageBox( strTemp ); - return; - } - - if ((err = AI_ContBufferSetup (m_hCard, m_pAIBuf1, (m_dwReadCount*(m_wReTrigCount+1)), &m_wBufferID1)) != NoError) - { - strTemp.Format( TEXT("AI_ContBufferSetup error=%d"), err); - AfxMessageBox( strTemp ); - return; - } - - if ((err=AI_ContReadChannel(m_hCard, m_wScanChans, m_wRange, &m_wBufferID1, m_dwReadCount, 0, ASYNCH_OP)) != NoError) - { - strTemp.Format( TEXT("AI_ContBufferSetup error=%d"), err); - AfxMessageBox( strTemp ); - return; - } - - m_nTimer = SetTimer( 1, 20, NULL ); - -} - -int C9223cdmaDlg::display_buffer_data(U16* pBuf) -{ - CClientDC dc_plot(this); - int nDraw_Origin_Y; - int cur_channel; - - int newY = -1; - int newX = -1; - U32 index; - I16 ai_data; - U32 dwDataSize = m_dwReadCount; - - // redraw the background - dc_plot.FillSolidRect( plotRect, RGB(0,0,0) ); - - cur_channel = m_wScanChans; - switch(cur_channel) - { - case 0: - dc_plot.SelectObject(&YellowPen); - break; - case 1: - dc_plot.SelectObject(<GreenPen); - break; - case 2: - dc_plot.SelectObject(&BluePen); - break; - case 3: - dc_plot.SelectObject(&RedPen); - break; - case 4: - dc_plot.SelectObject(<BluePen); - break; - case 5: - dc_plot.SelectObject(<RedPen); - break; - case 6: - dc_plot.SelectObject(&GreenPen); - break; - case 7: - dc_plot.SelectObject(&WhitePen); - break; - } - - nDraw_Origin_Y = ( plotRect.bottom - 5 ) - n_PlotHeight/2; - - for( index=0; index> 16) ); // ( n_PlotHeight * ai_data / 65536) ); // ( (n_PlotHeight/2) * ai_data/32768 ) ); - - newX = (int)( index*n_PlotWidth/dwDataSize + plotRect.left ); - - - if ( index == 0 ) - { - dc_plot.MoveTo( newX, newY ); - } - else - { - dc_plot.MoveTo( m_oldX[cur_channel], m_oldY[cur_channel] ); - dc_plot.LineTo( newX, newY ); - } - - m_oldX[cur_channel] = newX; - m_oldY[cur_channel] = newY; - } - - return 0; -} - -void C9223cdmaDlg::OnTimer(UINT_PTR nIDEvent) -{ - // TODO: Add your message handler code here and/or call default - BOOLEAN Ready, StopFlag; - U32 count; - I16 err; - U16 RdyTrigCnt; - - err = AI_AsyncReTrigNextReady( m_hCard, &Ready, &StopFlag, &RdyTrigCnt); - - if( Ready ) - { - display_buffer_data( &(m_pAIBuf1[(RdyTrigCnt-1)*m_dwReadCount]) ); - } - - if( StopFlag ) - { - // stop timer - KillTimer( m_nTimer ); - m_nTimer = -1; - - // reset the Button status - GetDlgItem( IDC_BT_START )->EnableWindow( TRUE ); - GetDlgItem( IDC_BT_STOP )->EnableWindow( TRUE); - - err = AI_AsyncClear( m_hCard, &count ); - - display_buffer_data( &(m_pAIBuf1[(RdyTrigCnt-1)*m_dwReadCount]) ); - } - - - - CDialog::OnTimer(nIDEvent); -} - -void C9223cdmaDlg::OnCh0() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_RADIO_CH0 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_wScanChans = 0; - } - -} - -void C9223cdmaDlg::OnCh1() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_RADIO_CH1 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_wScanChans = 1; - } -} - -void C9223cdmaDlg::OnCh2() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_RADIO_CH2 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_wScanChans = 2; - } -} - -void C9223cdmaDlg::OnCh3() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_RADIO_CH3 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_wScanChans = 3; - } -} - -void C9223cdmaDlg::OnCh4() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_RADIO_CH4 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_wScanChans = 4; - } -} - -void C9223cdmaDlg::OnCh5() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_RADIO_CH5 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_wScanChans = 5; - } -} - -void C9223cdmaDlg::OnCh6() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_RADIO_CH6 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_wScanChans = 6; - } -} - -void C9223cdmaDlg::OnCh7() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_RADIO_CH7 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_wScanChans = 7; - } -} - - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AIDma_ReTrigger/9223cdmaDlg.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AIDma_ReTrigger/9223cdmaDlg.h deleted file mode 100644 index dd9b242..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AIDma_ReTrigger/9223cdmaDlg.h +++ /dev/null @@ -1,86 +0,0 @@ - -// 9223cdmaDlg.h : header file -#pragma once -#include "afxcmn.h" -#include "afxwin.h" - -#include "Dask64.h" - -// C9223cdmaDlg dialog -class C9223cdmaDlg : public CDialog -{ -// Construction -public: - C9223cdmaDlg(I16 hCard, CWnd* pParent = NULL); // standard constructor - -// Dialog Data - enum { IDD = IDD_9223DMA_DIALOG }; - - protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - - -// Implementation -protected: - HICON m_hIcon; - UINT_PTR m_nTimer; - I16 m_hCard; - U32 m_dwSampIntrv; - U16 m_wScanChans; - HANDLE m_hMem1; - HANDLE m_hMem2; - U16 *m_pAIBuf1; - U16 *m_pAIBuf2; - U16 m_wBufferID1; - U16 m_wBufferID2; - U16 m_wRange; - int m_oldY[8]; - int m_oldX[8]; - U32 m_dwReadCount; - U16 m_wPostCount; - U16 m_wReTrigCount; - U8 m_bView; - - // Generated message map functions - virtual BOOL OnInitDialog(); - afx_msg void OnSysCommand(UINT nID, LPARAM lParam); - afx_msg void OnPaint(); - afx_msg HCURSOR OnQueryDragIcon(); - DECLARE_MESSAGE_MAP() - -public: - WORD max_val; - WORD min_val; - double max_range; - double min_range; - int n_PlotWidth; - int n_PlotHeight; - int y_divider; - int x_divider; - int m_DisplayScale; - HBRUSH OnBrush; - HBRUSH OffBrush; - CPen RedPen; - CPen GreenPen; - CPen YellowPen; - CPen BluePen; - CPen LTBluePen; - CPen LTRedPen; - CPen LTGreenPen; - CPen WhitePen; - void redraw_display_area(void); - afx_msg void OnDestroy(); - afx_msg void OnVScroll(UINT nSBCode, UINT nPos, CScrollBar* pScrollBar); - afx_msg void OnStart(); - int display_buffer_data(U16* pBuf); - afx_msg void OnCh0(); - afx_msg void OnCh1(); - afx_msg void OnCh2(); - afx_msg void OnCh3(); - afx_msg void OnCh4(); - afx_msg void OnCh5(); - afx_msg void OnCh6(); - afx_msg void OnCh7(); - afx_msg void OnTimer(UINT_PTR nIDEvent); - afx_msg void OnStop(); -}; diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AIDma_ReTrigger/CardIDDlg.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AIDma_ReTrigger/CardIDDlg.cpp deleted file mode 100644 index dfa5652..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AIDma_ReTrigger/CardIDDlg.cpp +++ /dev/null @@ -1,64 +0,0 @@ -// CardIDDlg.cpp : implementation file -// -#include "stdafx.h" -#include "9223cdma.h" -#include "9223cdmaDlg.h" -#include "CardIDDlg.h" - -// CCardIDDlg dialog - -IMPLEMENT_DYNAMIC(CCardIDDlg, CDialog) - -CCardIDDlg::CCardIDDlg(int nCardIdx, CWnd* pParent /*=NULL*/) - : CDialog(CCardIDDlg::IDD, pParent) -{ - m_nCardIdx = nCardIdx; -} - -CCardIDDlg::~CCardIDDlg() -{ -} - -void CCardIDDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); - DDX_Control(pDX, IDC_COMBO_CARDID, m_cbCardID); -} - - -BEGIN_MESSAGE_MAP(CCardIDDlg, CDialog) -// ON_CBN_SELCHANGE(IDC_COMBO_CARDID, &CCardIDDlg::OnCbnSelchangeComboCardid) -ON_BN_CLICKED(IDOK, &CCardIDDlg::OnBnClickedOk) -//ON_WM_CTLCOLOR() -END_MESSAGE_MAP() - - -// CCardIDDlg message handlers - - -void CCardIDDlg::OnBnClickedOk() -{ - // TODO: Add your control notification handler code here - -// UpdateData(TRUE); - m_nCardIdx = m_cbCardID.GetCurSel(); - - OnOK(); -} - -BOOL CCardIDDlg::OnInitDialog() -{ - CDialog::OnInitDialog(); - - // TODO: Add extra initialization here - m_cbCardID.SetCurSel( m_nCardIdx ); - - return TRUE; // return TRUE unless you set the focus to a control - // EXCEPTION: OCX Property Pages should return FALSE -} - -// the function to get the selected CardID -int CCardIDDlg::GetCardID(void) -{ - return m_nCardIdx; -} diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AIDma_ReTrigger/CardIDDlg.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AIDma_ReTrigger/CardIDDlg.h deleted file mode 100644 index 9c02c58..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AIDma_ReTrigger/CardIDDlg.h +++ /dev/null @@ -1,32 +0,0 @@ -#pragma once -#include "afxwin.h" - -#include "Dask64.h" - -// CCardIDDlg dialog - -class CCardIDDlg : public CDialog -{ - DECLARE_DYNAMIC(CCardIDDlg) - -public: - CCardIDDlg(int nCardIdx, CWnd* pParent = NULL); // standard constructor - virtual ~CCardIDDlg(); - -// Dialog Data - enum { IDD = IDD_CARDID_DIALOG }; - -protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - - DECLARE_MESSAGE_MAP() -public: - virtual BOOL OnInitDialog(); - afx_msg void OnBnClickedOk(); - // the setting of CardID ComboBox - int m_nCardIdx; - // the control of CardID ComboBox - CComboBox m_cbCardID; - // the function to get the selected CardID - int GetCardID(void); -}; diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AIDma_ReTrigger/ReadMe.txt b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AIDma_ReTrigger/ReadMe.txt deleted file mode 100644 index d1c88f4..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AIDma_ReTrigger/ReadMe.txt +++ /dev/null @@ -1,93 +0,0 @@ -================================================================================ - MICROSOFT FOUNDATION CLASS LIBRARY : 9223cdma Project Overview -=============================================================================== - -The application wizard has created this 9223cdma application for -you. This application not only demonstrates the basics of using the Microsoft -Foundation Classes but is also a starting point for writing your application. - -This file contains a summary of what you will find in each of the files that -make up your 9223cdma application. - -9223cdma.vcproj - This is the main project file for VC++ projects generated using an application wizard. - It contains information about the version of Visual C++ that generated the file, and - information about the platforms, configurations, and project features selected with the - application wizard. - -9223cdma.h - This is the main header file for the application. It includes other - project specific headers (including Resource.h) and declares the - C9223cdmaApp application class. - -9223cdma.cpp - This is the main application source file that contains the application - class C9223cdmaApp. - -9223cdma.rc - This is a listing of all of the Microsoft Windows resources that the - program uses. It includes the icons, bitmaps, and cursors that are stored - in the RES subdirectory. This file can be directly edited in Microsoft - Visual C++. Your project resources are in 1033. - -res\9223cdma.ico - This is an icon file, which is used as the application's icon. This - icon is included by the main resource file 9223cdma.rc. - -res\My9223cdma.rc2 - This file contains resources that are not edited by Microsoft - Visual C++. You should place all resources not editable by - the resource editor in this file. - - -///////////////////////////////////////////////////////////////////////////// - -The application wizard creates one dialog class: - -9223cdmaDlg.h, 9223cdmaDlg.cpp - the dialog - These files contain your C9223cdmaDlg class. This class defines - the behavior of your application's main dialog. The dialog's template is - in 9223cdma.rc, which can be edited in Microsoft Visual C++. - - -///////////////////////////////////////////////////////////////////////////// - -Other Features: - -ActiveX Controls - The application includes support to use ActiveX controls. - -///////////////////////////////////////////////////////////////////////////// - -Other standard files: - -StdAfx.h, StdAfx.cpp - These files are used to build a precompiled header (PCH) file - named 9223cdma.pch and a precompiled types file named StdAfx.obj. - -Resource.h - This is the standard header file, which defines new resource IDs. - Microsoft Visual C++ reads and updates this file. - -9223cdma.manifest - Application manifest files are used by Windows XP to describe an applications - dependency on specific versions of Side-by-Side assemblies. The loader uses this - information to load the appropriate assembly from the assembly cache or private - from the application. The Application manifest maybe included for redistribution - as an external .manifest file that is installed in the same folder as the application - executable or it may be included in the executable in the form of a resource. -///////////////////////////////////////////////////////////////////////////// - -Other notes: - -The application wizard uses "TODO:" to indicate parts of the source code you -should add to or customize. - -If your application uses MFC in a shared DLL, you will need -to redistribute the MFC DLLs. If your application is in a language -other than the operating system's locale, you will also have to -redistribute the corresponding localized resources MFC90XXX.DLL. -For more information on both of these topics, please see the section on -redistributing Visual C++ applications in MSDN documentation. - -///////////////////////////////////////////////////////////////////////////// diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AIDma_ReTrigger/res/9223cdma.ico b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AIDma_ReTrigger/res/9223cdma.ico deleted file mode 100644 index d56fbcd..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AIDma_ReTrigger/res/9223cdma.ico and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AIDma_ReTrigger/res/My9223cdma.rc2 b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AIDma_ReTrigger/res/My9223cdma.rc2 deleted file mode 100644 index 383cde2..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AIDma_ReTrigger/res/My9223cdma.rc2 +++ /dev/null @@ -1,13 +0,0 @@ -// -// My9111int.RC2 - resources Microsoft Visual C++ does not edit directly -// - -#ifdef APSTUDIO_INVOKED -#error this file is not editable by Microsoft Visual C++ -#endif //APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// Add manually edited resources here... - -///////////////////////////////////////////////////////////////////////////// diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AIDma_ReTrigger/res/ch_set1.bmp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AIDma_ReTrigger/res/ch_set1.bmp deleted file mode 100644 index f2374ed..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AIDma_ReTrigger/res/ch_set1.bmp and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AIDma_ReTrigger/res/ch_set2.bmp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AIDma_ReTrigger/res/ch_set2.bmp deleted file mode 100644 index 32d0915..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AIDma_ReTrigger/res/ch_set2.bmp and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AIDma_ReTrigger/resource.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AIDma_ReTrigger/resource.h deleted file mode 100644 index 24da3ec..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AIDma_ReTrigger/resource.h +++ /dev/null @@ -1,42 +0,0 @@ -//{{NO_DEPENDENCIES}} -// Microsoft Visual C++ generated include file. -// Used by 9223cdma.rc -// -#define IDM_ABOUTBOX 0x0010 -#define IDD_ABOUTBOX 100 -#define IDS_ABOUTBOX 101 -#define IDD_9223DMA_DIALOG 102 -#define IDR_MAINFRAME 128 -#define IDD_CARDID_DIALOG 129 -#define IDB_BITMAP_SET1 131 -#define IDB_BITMAP_SET2 132 -#define IDC_STATIC_DRAW 1000 -#define IDC_COMBO_CARDID 1001 -#define IDC_BT_STOP 1002 -#define IDC_COMBO_CARDTYPE 1002 -#define IDC_BT_START 1003 -#define IDC_EDIT_SAMPLE_RATE 1004 -#define IDC_EDIT_SCAN_ITERVAL 1004 -#define IDC_SCROLLBAR_RATE 1005 -#define IDC_RADIO_CH0 1006 -#define IDC_RADIO_CH1 1007 -#define IDC_RADIO_CH2 1008 -#define IDC_RADIO_CH3 1009 -#define IDC_RADIO_CH4 1010 -#define IDC_RADIO_CH5 1011 -#define IDC_RADIO_CH6 1012 -#define IDC_RADIO_CH7 1013 -#define IDC_STATIC_01 1014 -#define IDC_EDIT_BUF_SIZE 1014 -#define IDC_STATIC_2 1015 - -// Next default values for new objects -// -#ifdef APSTUDIO_INVOKED -#ifndef APSTUDIO_READONLY_SYMBOLS -#define _APS_NEXT_RESOURCE_VALUE 134 -#define _APS_NEXT_COMMAND_VALUE 32771 -#define _APS_NEXT_CONTROL_VALUE 1017 -#define _APS_NEXT_SYMED_VALUE 101 -#endif -#endif diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AIDma_ReTrigger/stdafx.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AIDma_ReTrigger/stdafx.cpp deleted file mode 100644 index ef80626..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AIDma_ReTrigger/stdafx.cpp +++ /dev/null @@ -1,8 +0,0 @@ - -// stdafx.cpp : source file that includes just the standard includes -// 9111int.pch will be the pre-compiled header -// stdafx.obj will contain the pre-compiled type information - -#include "stdafx.h" - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AIDma_ReTrigger/stdafx.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AIDma_ReTrigger/stdafx.h deleted file mode 100644 index 12123e2..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AIDma_ReTrigger/stdafx.h +++ /dev/null @@ -1,60 +0,0 @@ - -// stdafx.h : include file for standard system include files, -// or project specific include files that are used frequently, -// but are changed infrequently - -#pragma once - -#ifndef _SECURE_ATL -#define _SECURE_ATL 1 -#endif - -#ifndef VC_EXTRALEAN -#define VC_EXTRALEAN // Exclude rarely-used stuff from Windows headers -#endif - -#include "targetver.h" - -#define _ATL_CSTRING_EXPLICIT_CONSTRUCTORS // some CString constructors will be explicit - -// turns off MFC's hiding of some common and often safely ignored warning messages -#define _AFX_ALL_WARNINGS - -#include // MFC core and standard components -#include // MFC extensions - - -#include // MFC Automation classes - - - -#ifndef _AFX_NO_OLE_SUPPORT -#include // MFC support for Internet Explorer 4 Common Controls -#endif -#ifndef _AFX_NO_AFXCMN_SUPPORT -#include // MFC support for Windows Common Controls -#endif // _AFX_NO_AFXCMN_SUPPORT - -#include // MFC support for ribbons and control bars - - - - - - - - - -#ifdef _UNICODE -#if defined _M_IX86 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='x86' publicKeyToken='6595b64144ccf1df' language='*'\"") -#elif defined _M_IA64 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='ia64' publicKeyToken='6595b64144ccf1df' language='*'\"") -#elif defined _M_X64 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='amd64' publicKeyToken='6595b64144ccf1df' language='*'\"") -#else -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='*' publicKeyToken='6595b64144ccf1df' language='*'\"") -#endif -#endif - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AIDma_ReTrigger/targetver.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AIDma_ReTrigger/targetver.h deleted file mode 100644 index 11730d5..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AIDma_ReTrigger/targetver.h +++ /dev/null @@ -1,26 +0,0 @@ - -#pragma once - -// The following macros define the minimum required platform. The minimum required platform -// is the earliest version of Windows, Internet Explorer etc. that has the necessary features to run -// your application. The macros work by enabling all features available on platform versions up to and -// including the version specified. - -// Modify the following defines if you have to target a platform prior to the ones specified below. -// Refer to MSDN for the latest info on corresponding values for different platforms. -#ifndef WINVER // Specifies that the minimum required platform is Windows Vista. -#define WINVER 0x0600 // Change this to the appropriate value to target other versions of Windows. -#endif - -#ifndef _WIN32_WINNT // Specifies that the minimum required platform is Windows Vista. -#define _WIN32_WINNT 0x0600 // Change this to the appropriate value to target other versions of Windows. -#endif - -#ifndef _WIN32_WINDOWS // Specifies that the minimum required platform is Windows 98. -#define _WIN32_WINDOWS 0x0410 // Change this to the appropriate value to target Windows Me or later. -#endif - -#ifndef _WIN32_IE // Specifies that the minimum required platform is Internet Explorer 7.0. -#define _WIN32_IE 0x0700 // Change this to the appropriate value to target other versions of IE. -#endif - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AODma_Dbf/9111DbInt.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AODma_Dbf/9111DbInt.suo deleted file mode 100644 index 3fde864..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AODma_Dbf/9111DbInt.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AODma_Dbf/9111PostTg.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AODma_Dbf/9111PostTg.suo deleted file mode 100644 index c59a833..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AODma_Dbf/9111PostTg.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AODma_Dbf/9111int.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AODma_Dbf/9111int.suo deleted file mode 100644 index aaca7d8..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AODma_Dbf/9111int.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AODma_Dbf/9116cdma.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AODma_Dbf/9116cdma.suo deleted file mode 100644 index df9f193..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AODma_Dbf/9116cdma.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AODma_Dbf/9118cdma.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AODma_Dbf/9118cdma.suo deleted file mode 100644 index 9318437..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AODma_Dbf/9118cdma.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AODma_Dbf/9221cdma.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AODma_Dbf/9221cdma.suo deleted file mode 100644 index 9cb61ca..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AODma_Dbf/9221cdma.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AODma_Dbf/9222cdma.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AODma_Dbf/9222cdma.suo deleted file mode 100644 index 4823d44..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AODma_Dbf/9222cdma.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AODma_Dbf/9223cdma.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AODma_Dbf/9223cdma.cpp deleted file mode 100644 index f121734..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AODma_Dbf/9223cdma.cpp +++ /dev/null @@ -1,109 +0,0 @@ - -// 9223cdma.cpp : Defines the class behaviors for the application. -// - -#include "stdafx.h" -#include "9223cdma.h" -#include "9223cdmaDlg.h" -#include "CardIDDlg.h" - -#ifdef _DEBUG -#define new DEBUG_NEW -#endif - - -// C9223cdmaApp - -BEGIN_MESSAGE_MAP(C9223cdmaApp, CWinAppEx) - ON_COMMAND(ID_HELP, &CWinApp::OnHelp) -END_MESSAGE_MAP() - - -// C9223cdmaApp construction - -C9223cdmaApp::C9223cdmaApp() -{ - // TODO: add construction code here, - // Place all significant initialization in InitInstance -} - - -// The one and only C9223cdmaApp object - -C9223cdmaApp theApp; - - -// C9223cdmaApp initialization - -BOOL C9223cdmaApp::InitInstance() -{ - int nCardID = 0; - I16 hCard; - CString strTemp; - INT_PTR nResponse; - - // InitCommonControlsEx() is required on Windows XP if an application - // manifest specifies use of ComCtl32.dll version 6 or later to enable - // visual styles. Otherwise, any window creation will fail. - INITCOMMONCONTROLSEX InitCtrls; - InitCtrls.dwSize = sizeof(InitCtrls); - // Set this to include all the common control classes you want to use - // in your application. - InitCtrls.dwICC = ICC_WIN95_CLASSES; - InitCommonControlsEx(&InitCtrls); - - CWinAppEx::InitInstance(); - - AfxEnableControlContainer(); - - // Standard initialization - // If you are not using these features and wish to reduce the size - // of your final executable, you should remove from the following - // the specific initialization routines you do not need - // Change the registry key under which our settings are stored - // TODO: You should modify this string to be something appropriate - // such as the name of your company or organization - SetRegistryKey(_T("Local AppWizard-Generated Applications")); - - CCardIDDlg CardDlg( nCardID ); - - nResponse = CardDlg.DoModal(); - if (nResponse == IDOK) - { - nCardID = CardDlg.GetCardID(); - - if ((hCard=Register_Card(PCI_9223, nCardID)) < 0) - { - strTemp.Format( TEXT("Register_Card Error = %d"), hCard); - AfxMessageBox( strTemp ); - } - else - { - C9223cdmaDlg dlg(hCard); - m_pMainWnd = &dlg; - nResponse = dlg.DoModal(); - if (nResponse == IDOK) - { - // TODO: Place code here to handle when the dialog is - // dismissed with OK - } - else if (nResponse == IDCANCEL) - { - // TODO: Place code here to handle when the dialog is - // dismissed with Cancel - } - - if (hCard >= 0) Release_Card(hCard); - } - - } - else if (nResponse == IDCANCEL) - { - // TODO: Place code here to handle when the dialog is - // dismissed with Cancel - } - - // Since the dialog has been closed, return FALSE so that we exit the - // application, rather than start the application's message pump. - return FALSE; -} diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AODma_Dbf/9223cdma.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AODma_Dbf/9223cdma.h deleted file mode 100644 index 27ba83d..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AODma_Dbf/9223cdma.h +++ /dev/null @@ -1,34 +0,0 @@ - -// 9223cdma.h : main header file for the PROJECT_NAME application -// - -#pragma once - -#ifndef __AFXWIN_H__ - #error "include 'stdafx.h' before including this file for PCH" -#endif - -#include "resource.h" // main symbols - -#define AI_MODE_DMA 0 -#define AI_MODE_INT 1 - -// C9223cdmaApp: -// See 9223cdma.cpp for the implementation of this class -// - -class C9223cdmaApp : public CWinAppEx -{ -public: - C9223cdmaApp(); - -// Overrides - public: - virtual BOOL InitInstance(); - -// Implementation - - DECLARE_MESSAGE_MAP() -}; - -extern C9223cdmaApp theApp; \ No newline at end of file diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AODma_Dbf/9223cdma.rc b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AODma_Dbf/9223cdma.rc deleted file mode 100644 index c5ed0ca..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AODma_Dbf/9223cdma.rc +++ /dev/null @@ -1,284 +0,0 @@ -// Microsoft Visual C++ generated resource script. -// -#include "resource.h" - -#define APSTUDIO_READONLY_SYMBOLS -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 2 resource. -// -#ifndef APSTUDIO_INVOKED -#include "targetver.h" -#endif -#include "afxres.h" - -///////////////////////////////////////////////////////////////////////////// -#undef APSTUDIO_READONLY_SYMBOLS - -///////////////////////////////////////////////////////////////////////////// -// Chinese (Taiwan) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_CHT) -#ifdef _WIN32 -LANGUAGE LANG_CHINESE, SUBLANG_CHINESE_TRADITIONAL -#pragma code_page(950) -#endif //_WIN32 - -#ifdef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// TEXTINCLUDE -// - -1 TEXTINCLUDE -BEGIN - "resource.h\0" -END - -2 TEXTINCLUDE -BEGIN - "#ifndef APSTUDIO_INVOKED\r\n" - "#include ""targetver.h""\r\n" - "#endif\r\n" - "#include ""afxres.h""\r\n" - "\0" -END - -3 TEXTINCLUDE -BEGIN - "#define _AFX_NO_SPLITTER_RESOURCES\r\n" - "#define _AFX_NO_OLE_RESOURCES\r\n" - "#define _AFX_NO_TRACKER_RESOURCES\r\n" - "#define _AFX_NO_PROPERTY_RESOURCES\r\n" - "\r\n" - "#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)\r\n" - "LANGUAGE 9, 1\r\n" - "#pragma code_page(1252)\r\n" - "#include ""res\\My9223cdma.rc2"" // non-Microsoft Visual C++ edited resources\r\n" - "#include ""afxres.rc"" // Standard components\r\n" - "#endif\r\n" - "\0" -END - -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// Icon -// - -// Icon with lowest ID value placed first to ensure application icon -// remains consistent on all systems. -IDR_MAINFRAME ICON "res\\9223cdma.ico" -#endif // Chinese (Taiwan) resources -///////////////////////////////////////////////////////////////////////////// - - -///////////////////////////////////////////////////////////////////////////// -// English (U.S.) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -#ifdef _WIN32 -LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US -#pragma code_page(1252) -#endif //_WIN32 - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog -// - -IDD_ABOUTBOX DIALOGEX 0, 0, 170, 62 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "About 9223cdma" -FONT 8, "MS Shell Dlg", 0, 0, 0x1 -BEGIN - ICON IDR_MAINFRAME,IDC_STATIC,14,14,21,20 - LTEXT "9223cdma, Version 1.0",IDC_STATIC,42,14,114,8,SS_NOPREFIX - LTEXT "Copyright (C) 2010",IDC_STATIC,42,26,114,8 - DEFPUSHBUTTON "OK",IDOK,113,41,50,14,WS_GROUP -END - -IDD_9223DMA_DIALOG DIALOGEX 0, 0, 353, 233 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU -EXSTYLE WS_EX_APPWINDOW -CAPTION "PCI-9223 Double-Buffered DMA (Single-End Singal)" -FONT 8, "MS Shell Dlg", 0, 0, 0x1 -BEGIN - GROUPBOX "",IDC_STATIC_DRAW,46,63,299,161,NOT WS_VISIBLE - LTEXT "Range : +/- 10V",IDC_STATIC,294,54,52,11 - LTEXT "Write Count :",IDC_STATIC,149,21,44,9 - EDITTEXT IDC_EDIT_SCAN_ITERVAL,63,36,49,14,ES_AUTOHSCROLL | ES_READONLY - LTEXT "Update Interval :",IDC_STATIC,65,21,57,9 - SCROLLBAR IDC_SCROLLBAR_RATE,113,36,9,11,SBS_VERT - PUSHBUTTON "Start",IDC_BT_START,227,28,55,22 - EDITTEXT IDC_EDIT_BUF_SIZE,143,36,51,14,ES_AUTOHSCROLL - PUSHBUTTON "Stop",IDC_BT_STOP,289,28,55,22 - LTEXT "Please check the AO0 (pin-16) to AI0 (pin-34) , and the analog output will be loggeg in following panel.",IDC_STATIC,16,7,328,15 -END - -IDD_CARDID_DIALOG DIALOGEX 0, 0, 174, 96 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "Card ID" -FONT 8, "MS Shell Dlg", 400, 0, 0x1 -BEGIN - COMBOBOX IDC_COMBO_CARDID,78,24,71,126,CBS_DROPDOWN | WS_VSCROLL | WS_TABSTOP - LTEXT "Card Number",IDC_STATIC_01,23,25,46,12 - PUSHBUTTON "OK",IDOK,22,59,58,19 - PUSHBUTTON "CANCEL",IDCANCEL,86,59,58,19 -END - - -///////////////////////////////////////////////////////////////////////////// -// -// Version -// - -VS_VERSION_INFO VERSIONINFO - FILEVERSION 1,0,0,1 - PRODUCTVERSION 1,0,0,1 - FILEFLAGSMASK 0x3fL -#ifdef _DEBUG - FILEFLAGS 0x1L -#else - FILEFLAGS 0x0L -#endif - FILEOS 0x4L - FILETYPE 0x1L - FILESUBTYPE 0x0L -BEGIN - BLOCK "StringFileInfo" - BEGIN - BLOCK "040904e4" - BEGIN - VALUE "CompanyName", "TODO: " - VALUE "FileDescription", "TODO: " - VALUE "FileVersion", "1.0.0.1" - VALUE "InternalName", "9223cdma.exe" - VALUE "LegalCopyright", "TODO: (c) . All rights reserved." - VALUE "OriginalFilename", "9223cdma.exe" - VALUE "ProductName", "TODO: " - VALUE "ProductVersion", "1.0.0.1" - END - END - BLOCK "VarFileInfo" - BEGIN - VALUE "Translation", 0x409, 1252 - END -END - - -///////////////////////////////////////////////////////////////////////////// -// -// DESIGNINFO -// - -#ifdef APSTUDIO_INVOKED -GUIDELINES DESIGNINFO -BEGIN - IDD_ABOUTBOX, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 163 - TOPMARGIN, 7 - BOTTOMMARGIN, 55 - END - - IDD_CARDID_DIALOG, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 167 - TOPMARGIN, 7 - BOTTOMMARGIN, 89 - END -END -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog Info -// - -IDD_CARDID_DIALOG DLGINIT -BEGIN - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0030, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0031, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0032, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0033, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0034, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0035, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0036, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0037, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0038, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0039, - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3031, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3131, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3231, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3331, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3431, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3531, "\000" - 0 -END - - -///////////////////////////////////////////////////////////////////////////// -// -// Bitmap -// - -IDB_BITMAP_SET1 BITMAP "res\\ch_set1.bmp" -IDB_BITMAP_SET2 BITMAP "res\\ch_set2.bmp" - -///////////////////////////////////////////////////////////////////////////// -// -// String Table -// - -STRINGTABLE -BEGIN - IDS_ABOUTBOX "&About 9223cdma..." -END - -#endif // English (U.S.) resources -///////////////////////////////////////////////////////////////////////////// - - - -#ifndef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 3 resource. -// -#define _AFX_NO_SPLITTER_RESOURCES -#define _AFX_NO_OLE_RESOURCES -#define _AFX_NO_TRACKER_RESOURCES -#define _AFX_NO_PROPERTY_RESOURCES - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -LANGUAGE 9, 1 -#pragma code_page(1252) -#include "res\My9223cdma.rc2" // non-Microsoft Visual C++ edited resources -#include "afxres.rc" // Standard components -#endif - -///////////////////////////////////////////////////////////////////////////// -#endif // not APSTUDIO_INVOKED - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AODma_Dbf/9223cdma.sln b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AODma_Dbf/9223cdma.sln deleted file mode 100644 index 538cc7b..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AODma_Dbf/9223cdma.sln +++ /dev/null @@ -1,20 +0,0 @@ - -Microsoft Visual Studio Solution File, Format Version 10.00 -# Visual Studio 2008 -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "9223cdma", "9223cdma.vcproj", "{702163FB-B6DF-4EF5-9491-FC54D71509BC}" -EndProject -Global - GlobalSection(SolutionConfigurationPlatforms) = preSolution - Debug|x64 = Debug|x64 - Release|x64 = Release|x64 - EndGlobalSection - GlobalSection(ProjectConfigurationPlatforms) = postSolution - {702163FB-B6DF-4EF5-9491-FC54D71509BC}.Debug|x64.ActiveCfg = Debug|x64 - {702163FB-B6DF-4EF5-9491-FC54D71509BC}.Debug|x64.Build.0 = Debug|x64 - {702163FB-B6DF-4EF5-9491-FC54D71509BC}.Release|x64.ActiveCfg = Release|x64 - {702163FB-B6DF-4EF5-9491-FC54D71509BC}.Release|x64.Build.0 = Release|x64 - EndGlobalSection - GlobalSection(SolutionProperties) = preSolution - HideSolutionNode = FALSE - EndGlobalSection -EndGlobal diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AODma_Dbf/9223cdma.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AODma_Dbf/9223cdma.suo deleted file mode 100644 index bfb5587..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AODma_Dbf/9223cdma.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AODma_Dbf/9223cdma.vcproj b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AODma_Dbf/9223cdma.vcproj deleted file mode 100644 index c3e2af5..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AODma_Dbf/9223cdma.vcproj +++ /dev/null @@ -1,294 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AODma_Dbf/9223cdmaDlg.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AODma_Dbf/9223cdmaDlg.cpp deleted file mode 100644 index f7385ee..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AODma_Dbf/9223cdmaDlg.cpp +++ /dev/null @@ -1,769 +0,0 @@ - -// 9223cdmaDlg.cpp : implementation file -// - -#include "stdafx.h" -#include "9223cdma.h" -#include "9223cdmaDlg.h" -#include "math.h" - -#ifdef _DEBUG -#define new DEBUG_NEW -#endif - -#ifndef M_PI -#define M_PI 3.14159265359 -#endif - -#define P922X_TIMEBASE 80000000.0 -#define AI_READ_COUNT 8000 -#define AI_SAMPLE_INTERV 10000 - -#define PATTERN_SIZE 1024 - -U32 wPattern1[PATTERN_SIZE]; // SineWave -U32 wPattern2[PATTERN_SIZE]; // Triangle - -CRect plotRect; - -// CAboutDlg dialog used for App About - -class CAboutDlg : public CDialog -{ -public: - CAboutDlg(); - -// Dialog Data - enum { IDD = IDD_ABOUTBOX }; - - protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - -// Implementation -protected: - DECLARE_MESSAGE_MAP() -}; - -CAboutDlg::CAboutDlg() : CDialog(CAboutDlg::IDD) -{ -} - -void CAboutDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); -} - -BEGIN_MESSAGE_MAP(CAboutDlg, CDialog) -END_MESSAGE_MAP() - - -// C9223cdmaDlg dialog - - - - -C9223cdmaDlg::C9223cdmaDlg(I16 hCard, CWnd* pParent /*=NULL*/) - : CDialog(C9223cdmaDlg::IDD, pParent) -{ - U32 vi; - double fTmp; - - m_hIcon = AfxGetApp()->LoadIcon(IDR_MAINFRAME); - - n_PlotWidth = n_PlotHeight = -1; - OnBrush = OffBrush = NULL; - - min_val = 0x00; - max_val = 0xFFFF; - - m_dwSampIntrv = 10000; - - m_hCard = hCard; - - m_nTimer = -1; - m_hAIMem1 = NULL; - m_hAIMem2 = NULL; - - m_hAOMem1 = NULL; - m_hAOMem2 = NULL; - - m_wRange = AD_B_10_V; - max_range = 10.0; - min_range = -10.0; - - m_dwWriteCount = 4096; - m_wPostCount = 512; - - m_dwOverrunCnt = 0; - - m_dwRdyBufCnt = 0; - - // Setup the patterns - - for(vi=0; vi= 256) && ( vi < 768) ) - { - fTmp = 32767.0 - 128.0 * (double)( vi - 256 ); - } - else if( vi < 1024 ) - { - fTmp = 128.0 * (double)( vi - 768 ) - 32768.0; - } - - wPattern2[vi] = (U32)(fTmp)+0x00008000; - - } - -} - -void C9223cdmaDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); -} - -BEGIN_MESSAGE_MAP(C9223cdmaDlg, CDialog) - ON_WM_SYSCOMMAND() - ON_WM_PAINT() - ON_WM_QUERYDRAGICON() - //}}AFX_MSG_MAP - ON_WM_DESTROY() - ON_WM_VSCROLL() - ON_BN_CLICKED(IDC_BT_START, &C9223cdmaDlg::OnStart) - ON_BN_CLICKED(IDC_BT_STOP, &C9223cdmaDlg::OnStop) - ON_WM_TIMER() -END_MESSAGE_MAP() - - -// C9223cdmaDlg message handlers - -BOOL C9223cdmaDlg::OnInitDialog() -{ - CDialog::OnInitDialog(); - - // Add "About..." menu item to system menu. - - // IDM_ABOUTBOX must be in the system command range. - ASSERT((IDM_ABOUTBOX & 0xFFF0) == IDM_ABOUTBOX); - ASSERT(IDM_ABOUTBOX < 0xF000); - - CMenu* pSysMenu = GetSystemMenu(FALSE); - if (pSysMenu != NULL) - { - BOOL bNameValid; - CString strAboutMenu; - bNameValid = strAboutMenu.LoadString(IDS_ABOUTBOX); - ASSERT(bNameValid); - if (!strAboutMenu.IsEmpty()) - { - pSysMenu->AppendMenu(MF_SEPARATOR); - pSysMenu->AppendMenu(MF_STRING, IDM_ABOUTBOX, strAboutMenu); - } - } - - // Set the icon for this dialog. The framework does this automatically - // when the application's main window is not a dialog - SetIcon(m_hIcon, TRUE); // Set big icon - SetIcon(m_hIcon, FALSE); // Set small icon - - // TODO: Add extra initialization here - x_divider = 5; y_divider = 4; - - OnBrush = CreateSolidBrush( RGB(255,0,0) ); - OffBrush = CreateSolidBrush( RGB(125,0,0) ); - - RedPen.CreatePen( PS_SOLID, 1, RGB(255,0,0)); - GreenPen.CreatePen( PS_SOLID, 1, RGB(0,255,0)); - YellowPen.CreatePen( PS_SOLID, 1, RGB(255,255,0)); - BluePen.CreatePen( PS_SOLID, 1, RGB(0,0,255)); - LTBluePen.CreatePen( PS_SOLID, 1, RGB(0,128,255)); - LTRedPen.CreatePen( PS_SOLID, 1, RGB(255,128,0)); - LTGreenPen.CreatePen( PS_SOLID, 1, RGB(0,128,0)); - WhitePen.CreatePen( PS_SOLID, 1, RGB(255,255,255)); - - - if( n_PlotWidth == -1 && n_PlotHeight == -1 ) - { - ((CWnd*)GetDlgItem(IDC_STATIC_DRAW))->GetWindowRect(&plotRect); - ScreenToClient(&plotRect); - - n_PlotWidth = min( plotRect.Width(), 512); - n_PlotHeight = plotRect.Height() - 10; - } - - // set the default SampleRate - - SetDlgItemInt( IDC_EDIT_BUF_SIZE, (UINT)(m_dwWriteCount) ); - SetDlgItemInt( IDC_EDIT_SCAN_ITERVAL, (UINT)(m_dwSampIntrv) ); - - return TRUE; // return TRUE unless you set the focus to a control -} - -void C9223cdmaDlg::OnSysCommand(UINT nID, LPARAM lParam) -{ - if ((nID & 0xFFF0) == IDM_ABOUTBOX) - { - CAboutDlg dlgAbout; - dlgAbout.DoModal(); - } - else - { - CDialog::OnSysCommand(nID, lParam); - } -} - -// If you add a minimize button to your dialog, you will need the code below -// to draw the icon. For MFC applications using the document/view model, -// this is automatically done for you by the framework. - -void C9223cdmaDlg::OnPaint() -{ - if (IsIconic()) - { - CPaintDC dc(this); // device context for painting - - SendMessage(WM_ICONERASEBKGND, reinterpret_cast(dc.GetSafeHdc()), 0); - - // Center icon in client rectangle - int cxIcon = GetSystemMetrics(SM_CXICON); - int cyIcon = GetSystemMetrics(SM_CYICON); - CRect rect; - GetClientRect(&rect); - int x = (rect.Width() - cxIcon + 1) / 2; - int y = (rect.Height() - cyIcon + 1) / 2; - - // Draw the icon - dc.DrawIcon(x, y, m_hIcon); - } - else - { - redraw_display_area(); - CDialog::OnPaint(); - } -} - -// The system calls this function to obtain the cursor to display while the user drags -// the minimized window. -HCURSOR C9223cdmaDlg::OnQueryDragIcon() -{ - return static_cast(m_hIcon); -} - - -void C9223cdmaDlg::redraw_display_area(void) -{ - CPen *oldPen; - - int oldMode; - COLORREF oldColor; - - CString y_lable; - - CPen minor_tick( PS_SOLID,1,RGB(132,130,132) ); -// CPen y_grid( PS_SOLID,1,RGB(206,203,132) ); - - int i, x_intv, y_intv; -// long total_sec; - - CClientDC dc_plot(this); - - // draw the base-line for x-y axises - oldPen = (CPen *)dc_plot.SelectStockObject(BLACK_PEN); - - // redraw the background - dc_plot.FillSolidRect( plotRect, RGB(0,0,0) ); - - // Re-Draw the AREA for Y-Lable - { - CBrush DIALOG_BRUSH; - CRect redraw_area, full_client; - - GetClientRect(&full_client); - ScreenToClient(&full_client); - - redraw_area.left = full_client.left; - redraw_area.top = plotRect.top - 5; - redraw_area.right = plotRect.left - 3; - redraw_area.bottom = plotRect.bottom + 10; - - DIALOG_BRUSH.CreateSysColorBrush( COLOR_3DFACE ); - - dc_plot.FillRect( redraw_area, &DIALOG_BRUSH ); - - DIALOG_BRUSH.DeleteObject(); - } - - dc_plot.MoveTo( plotRect.left - 3, plotRect.top ); - dc_plot.LineTo( plotRect.left - 3, plotRect.bottom ); - - // calculate the interval for tick/grid - y_intv = (plotRect.Height() - 10) /y_divider; - x_intv = plotRect.Width()/x_divider; - - - // set the color for tick - oldColor = dc_plot.SetTextColor( RGB(0,0,0) ); - oldMode = dc_plot.SetBkMode( TRANSPARENT ); - - for( i=0; i<= y_divider; i++ ) - { - CString tick_str; - CRect tmp_rect, tick_rect; - - // draw the tick for y-axis - dc_plot.MoveTo( plotRect.left -12, plotRect.bottom -5 - (i*y_intv) ); - dc_plot.LineTo( plotRect.left -3, plotRect.bottom -5 - (i*y_intv) ); - - tick_str.Format( _T("%.1f"), ( ((max_range-min_range)/y_divider) * i)+min_range ); - - // calculate the rectangle for text - dc_plot.DrawText( tick_str, &tmp_rect, DT_CALCRECT|DT_SINGLELINE ); - tick_rect.right = plotRect.left -14; - tick_rect.left = tick_rect.right - tmp_rect.Width(); - tick_rect.top = plotRect.bottom -5 - (i*y_intv) - tmp_rect.Height()/2; - tick_rect.bottom = tick_rect.top + tmp_rect.Height(); - - // draw the text - dc_plot.DrawText( tick_str, &tick_rect, DT_SINGLELINE|DT_RIGHT ); - - } - - // draw the minor_tick for Y axises - dc_plot.SelectObject(&minor_tick); - for( i=0; i< y_divider; i++ ) - { - dc_plot.MoveTo( plotRect.left -9, plotRect.bottom -5 - (i*y_intv) - y_intv/2 ); - dc_plot.LineTo( plotRect.left -4, plotRect.bottom -5 - (i*y_intv) - y_intv/2 ); - } - - dc_plot.SetTextColor( oldColor ); - dc_plot.SetBkMode( oldMode ); - dc_plot.SelectObject( oldPen ); -} - -void C9223cdmaDlg::OnDestroy() -{ - CDialog::OnDestroy(); - - // TODO: Add your message handler code here - if( m_nTimer != -1 ) - { - KillTimer( m_nTimer ); - m_nTimer = -1; - } - - // AI buffer - if (m_hAIMem1 != NULL) - { - GlobalUnfix(m_hAIMem1); - GlobalUnlock(m_hAIMem1); - GlobalFree(m_hAIMem1); - - m_hAIMem1 = NULL; - } - - if (m_hAIMem2 != NULL) - { - GlobalUnfix(m_hAIMem2); - GlobalUnlock(m_hAIMem2); - GlobalFree(m_hAIMem2); - - m_hAIMem2 = NULL; - } - - - if( OnBrush != NULL ) - ::DeleteObject( OnBrush ); - - if( OffBrush != NULL ) - ::DeleteObject( OffBrush ); - - RedPen.DeleteObject(); - GreenPen.DeleteObject(); - YellowPen.DeleteObject(); - BluePen.DeleteObject(); - LTBluePen.DeleteObject(); - LTRedPen.DeleteObject(); - LTGreenPen.DeleteObject(); - WhitePen.DeleteObject(); - -} - -void C9223cdmaDlg::OnVScroll(UINT nSBCode, UINT nPos, CScrollBar* pScrollBar) -{ - // TODO: Add your message handler code here and/or call default - switch ( nSBCode ) - { - case SB_LINEUP : - m_dwSampIntrv += 160; - if (m_dwSampIntrv > 40000 ) m_dwSampIntrv = 40000; - break; - case SB_LINEDOWN: - m_dwSampIntrv -= 160; - if (m_dwSampIntrv < 160 ) m_dwSampIntrv = 160; - break; - } - - SetDlgItemInt( IDC_EDIT_SCAN_ITERVAL, (UINT)(m_dwSampIntrv) ); - - CDialog::OnVScroll(nSBCode, nPos, pScrollBar); -} - - -void C9223cdmaDlg::OnStop() -{ - // TODO: Add your control notification handler code here - U32 count; - - if( m_nTimer != -1 ) - { - KillTimer( m_nTimer ); - m_nTimer = -1; - } - - AI_AsyncClear(m_hCard, &count); - AO_AsyncClear(m_hCard, &count, 0); - - GetDlgItem( IDC_BT_START )->EnableWindow(TRUE); -} - -void C9223cdmaDlg::OnStart() -{ - // TODO: Add your control notification handler code here - DWORD mem_size; - CString strTemp; - I16 err; - - GetDlgItem( IDC_BT_START )->EnableWindow(FALSE); - - /***************** begin of AI buffer setup *****************/ - if (m_hAIMem1 != NULL) - { - GlobalUnfix(m_hAIMem1); - GlobalUnlock(m_hAIMem1); - GlobalFree(m_hAIMem1); - - m_hAIMem1 = NULL; - } - - if (m_hAIMem2 != NULL) - { - GlobalUnfix(m_hAIMem2); - GlobalUnlock(m_hAIMem2); - GlobalFree(m_hAIMem2); - - m_hAIMem2 = NULL; - } - - // allocate a memory for user DMA buffer - mem_size = AI_READ_COUNT * sizeof(I16); - - m_hAIMem1 = GlobalAlloc(GMEM_FIXED | GMEM_ZEROINIT, mem_size); - m_pAIBuf1 = (U16*) GlobalLock(m_hAIMem1); - if (m_pAIBuf1 == NULL ) - { - AfxMessageBox( TEXT("AI Memory allocation failed"), MB_OK); - return; - } - GlobalFix(m_hAIMem1); - - m_hAIMem2 = GlobalAlloc(GMEM_FIXED | GMEM_ZEROINIT, mem_size); - m_pAIBuf2 = (U16*) GlobalLock(m_hAIMem2); - if (m_pAIBuf2 == NULL ) - { - AfxMessageBox( TEXT("AI Memory allocation failed"), MB_OK); - return; - } - GlobalFix(m_hAIMem2); - - /***************** end of AI buffer setup *****************/ - - /***************** begin of AO buffer setup *****************/ - m_dwWriteCount = GetDlgItemInt(IDC_EDIT_BUF_SIZE); - - if (m_hAOMem1 != NULL) - { - GlobalUnfix(m_hAOMem1); - GlobalUnlock(m_hAOMem1); - GlobalFree(m_hAOMem1); - - m_hAOMem1 = NULL; - } - - if (m_hAOMem2 != NULL) - { - GlobalUnfix(m_hAOMem2); - GlobalUnlock(m_hAOMem2); - GlobalFree(m_hAOMem2); - - m_hAOMem2 = NULL; - } - - // allocate a memory for user DMA buffer - mem_size = m_dwWriteCount * sizeof(U32); - - m_hAOMem1 = GlobalAlloc(GMEM_FIXED | GMEM_ZEROINIT, mem_size); - m_pAOBuf1 = (U32*) GlobalLock(m_hAOMem1); - if (m_pAOBuf1 == NULL ) - { - AfxMessageBox( TEXT("AO Memory allocation failed"), MB_OK); - return; - } - GlobalFix(m_hAOMem1); - - m_hAOMem2 = GlobalAlloc(GMEM_FIXED | GMEM_ZEROINIT, mem_size); - m_pAOBuf2 = (U32*) GlobalLock(m_hAOMem2); - if (m_pAOBuf2 == NULL ) - { - AfxMessageBox( TEXT("AO Memory allocation failed"), MB_OK); - return; - } - GlobalFix(m_hAOMem2); - - UpdatePattern( 1, wPattern1 ); - UpdatePattern( 2, wPattern1 ); - /***************** end of AI buffer setup *****************/ - - m_oldY[0] = m_oldY[1] = m_oldY[2] = m_oldY[3] = m_oldY[4] = m_oldY[5] = m_oldY[6] = m_oldY[7] = -1; - m_oldX[0] = m_oldX[1] = m_oldX[2] = m_oldX[3] = m_oldX[4] = m_oldX[5] = m_oldX[6] = m_oldX[7] = -1; - - if ((err = AI_9222_Config(m_hCard, P922x_AI_SingEnded|P922x_AI_CONVSRC_INT, P922x_AI_TRGMOD_POST|P922x_AI_TRGSRC_SOFT, 0, TRUE)) != NoError) - { - strTemp.Format( TEXT("AI_9222_Config error=%d"), err); - AfxMessageBox( strTemp ); - return; - } - - if ((err = AI_9222_CounterInterval(m_hCard, AI_SAMPLE_INTERV, AI_SAMPLE_INTERV)) != NoError) - { - strTemp.Format( TEXT("AI_9222_CounterInterval error=%d"), err); - AfxMessageBox( strTemp ); - return; - } - - if ((err = AI_AsyncDblBufferMode (m_hCard, 1)) != NoError) - { - strTemp.Format( TEXT("AI_AsyncDblBufferMode error=%d"), err); - AfxMessageBox( strTemp ); - return; - } - - if ((err = AI_ContBufferSetup (m_hCard, m_pAIBuf1, AI_READ_COUNT, &m_wAIBufID1)) != NoError) - { - strTemp.Format( TEXT("AI_ContBufferSetup error=%d"), err); - AfxMessageBox( strTemp ); - return; - } - - if ((err = AI_ContBufferSetup (m_hCard, m_pAIBuf2, AI_READ_COUNT, &m_wAIBufID2)) != NoError) - { - strTemp.Format( TEXT("AI_ContBufferSetup error=%d"), err); - AfxMessageBox( strTemp ); - return; - } - - if ((err = AO_9222_Config(m_hCard, P922x_AO_CONVSRC_INT, (P922x_AO_TRGMOD_POST|P922x_AO_TRGSRC_SOFT), 0, 0, 0, TRUE)) != NoError) - { - strTemp.Format( TEXT("AO_9222_Config error=%d"), err); - AfxMessageBox( strTemp ); - return; - } - - /*Enable Double Buffer Mode*/ - if ((err = AO_AsyncDblBufferMode(m_hCard, 1)) != NoError) - { - strTemp.Format( TEXT("AO_AsyncDblBufferMode error=%d"), err); - AfxMessageBox( strTemp ); - return; - } - - /*Setup buffer*/ - if ((err = AO_ContBufferSetup(m_hCard, m_pAOBuf1, m_dwWriteCount, &m_wAOBufID1)) != NoError) - { - strTemp.Format( TEXT("AO_ContBufferSetup error=%d"), err); - AfxMessageBox( strTemp ); - return; - } - - if ((err = AO_ContBufferSetup(m_hCard, m_pAOBuf2, m_dwWriteCount, &m_wAOBufID2)) != NoError) - { - strTemp.Format( TEXT("AO_ContBufferSetup error=%d"), err); - AfxMessageBox( strTemp ); - return; - } - - m_bView = 0; - - if ((err = AI_ContReadChannel(m_hCard, 0, m_wRange, &m_wAIBufID1, AI_READ_COUNT, 0, ASYNCH_OP)) != NoError) - { - strTemp.Format( TEXT("AI_ContBufferSetup error=%d"), err); - AfxMessageBox( strTemp ); - return; - } - - - /*Start AO0 DAC, Infinite repeate*/ - m_dwRdyBufCnt = 0; - - if ((err = AO_ContWriteChannel(m_hCard, 0, m_wAOBufID1, m_dwWriteCount, 0, m_dwSampIntrv, 0, ASYNCH_OP)) != NoError) - { - strTemp.Format( TEXT("AO_ContWriteChannel error=%d"), err); - AfxMessageBox( strTemp ); - return; - } - - m_nTimer = SetTimer( 1, 20, NULL ); - -} - -int C9223cdmaDlg::display_buffer_data(U16* pBuf) -{ - CClientDC dc_plot(this); - int nDraw_Origin_Y; - int cur_channel; - - int newY = -1; - int newX = -1; - U32 index; - I16 ai_data; - U32 dwDataSize = AI_READ_COUNT; - - // redraw the background - dc_plot.FillSolidRect( plotRect, RGB(0,0,0) ); - - dc_plot.SelectObject(&YellowPen); - - nDraw_Origin_Y = ( plotRect.bottom - 5 ) - n_PlotHeight/2; - - cur_channel = 0; - - for( index=0; index> 16) ); // ( n_PlotHeight * ai_data / 65536) ); // ( (n_PlotHeight/2) * ai_data/32768 ) ); - newX = (int)( index*n_PlotWidth/dwDataSize + plotRect.left ); - - if ( index == 0 ) - { - dc_plot.MoveTo( newX, newY ); - } - else - { - dc_plot.MoveTo( m_oldX[cur_channel], m_oldY[cur_channel] ); - dc_plot.LineTo( newX, newY ); - } - - m_oldX[cur_channel] = newX; - m_oldY[cur_channel] = newY; - } - - return 0; -} - -void C9223cdmaDlg::OnTimer(UINT_PTR nIDEvent) -{ - // TODO: Add your message handler code here and/or call default - BOOLEAN HalfReady; - BOOLEAN fstop; - U16 OverrunFlag; - - AO_AsyncDblBufferHalfReady(m_hCard, &HalfReady); - if( HalfReady ) // half-buffer ready - { - m_dwRdyBufCnt ++; - - if(m_dwRdyBufCnt%4 == 1) - { - UpdatePattern( 1, wPattern2 ); - } - else if(m_dwRdyBufCnt%4 == 2) - { - UpdatePattern( 2, wPattern1 ); - } - else if(m_dwRdyBufCnt%4 == 3) - { - UpdatePattern( 1, wPattern1 ); - } - else - { - UpdatePattern( 2, wPattern2 ); - } - } - - AI_AsyncDblBufferHalfReady(m_hCard, &HalfReady, &fstop); - - if( HalfReady ) // half-buffer ready - { - if(m_bView == 0) - { - display_buffer_data( m_pAIBuf1 ); - m_bView = 1; - } - else - { - display_buffer_data( m_pAIBuf2 ); - m_bView= 0; - } - - AI_AsyncDblBufferHandled( m_hCard ); - AI_AsyncDblBufferOverrun( m_hCard, 0, &OverrunFlag); - - if(OverrunFlag) - { - m_dwOverrunCnt++; - AI_AsyncDblBufferOverrun( m_hCard, 1, NULL ); - } - - - } - - CDialog::OnTimer(nIDEvent); -} - - -void C9223cdmaDlg::UpdatePattern(int nAOBufIdx, U32* pPatternAddr) -{ - U32 vi; - - if( nAOBufIdx == 1 ) // m_pAOBuf1 - { - for(vi=0; vi= PATTERN_SIZE ) - { - memcpy( &(m_pAOBuf1[vi]), pPatternAddr, PATTERN_SIZE * sizeof(U32) ); - } - else - { - memcpy( &(m_pAOBuf1[vi]), pPatternAddr, (m_dwWriteCount - vi) * sizeof(U32) ); - } - - vi += PATTERN_SIZE; - } - } - else // m_pAOBuf2 - { - for(vi=0; vi= PATTERN_SIZE ) - { - memcpy( &(m_pAOBuf2[vi]), pPatternAddr, PATTERN_SIZE * sizeof(U32) ); - } - else - { - memcpy( &(m_pAOBuf2[vi]), pPatternAddr, (m_dwWriteCount - vi) * sizeof(U32) ); - } - - vi += PATTERN_SIZE; - } - } -} diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AODma_Dbf/9223cdmaDlg.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AODma_Dbf/9223cdmaDlg.h deleted file mode 100644 index a2114bf..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AODma_Dbf/9223cdmaDlg.h +++ /dev/null @@ -1,85 +0,0 @@ - -// 9223cdmaDlg.h : header file -#pragma once -#include "afxcmn.h" -#include "afxwin.h" - -#include "Dask64.h" - -// C9223cdmaDlg dialog -class C9223cdmaDlg : public CDialog -{ -// Construction -public: - C9223cdmaDlg(I16 hCard, CWnd* pParent = NULL); // standard constructor - -// Dialog Data - enum { IDD = IDD_9223DMA_DIALOG }; - - protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - - -// Implementation -protected: - HICON m_hIcon; - UINT_PTR m_nTimer; - I16 m_hCard; - U32 m_dwSampIntrv; - HANDLE m_hAIMem1; - HANDLE m_hAIMem2; - U16 *m_pAIBuf1; - U16 *m_pAIBuf2; - U16 m_wAIBufID1; - U16 m_wAIBufID2; - HANDLE m_hAOMem1; - HANDLE m_hAOMem2; - U32 *m_pAOBuf1; - U32 *m_pAOBuf2; - U16 m_wAOBufID1; - U16 m_wAOBufID2; - U16 m_wRange; - int m_oldY[8]; - int m_oldX[8]; - U32 m_dwWriteCount; - U16 m_wPostCount; - U8 m_bView; - U32 m_dwOverrunCnt; - U32 m_dwRdyBufCnt; - - // Generated message map functions - virtual BOOL OnInitDialog(); - afx_msg void OnSysCommand(UINT nID, LPARAM lParam); - afx_msg void OnPaint(); - afx_msg HCURSOR OnQueryDragIcon(); - DECLARE_MESSAGE_MAP() - -public: - WORD max_val; - WORD min_val; - double max_range; - double min_range; - int n_PlotWidth; - int n_PlotHeight; - int y_divider; - int x_divider; - int m_DisplayScale; - HBRUSH OnBrush; - HBRUSH OffBrush; - CPen RedPen; - CPen GreenPen; - CPen YellowPen; - CPen BluePen; - CPen LTBluePen; - CPen LTRedPen; - CPen LTGreenPen; - CPen WhitePen; - void redraw_display_area(void); - afx_msg void OnDestroy(); - afx_msg void OnVScroll(UINT nSBCode, UINT nPos, CScrollBar* pScrollBar); - afx_msg void OnStart(); - int display_buffer_data(U16* pBuf); - afx_msg void OnTimer(UINT_PTR nIDEvent); - afx_msg void OnStop(); - void UpdatePattern(int nAOBufIdx, U32* pPatternAddr); -}; diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AODma_Dbf/CardIDDlg.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AODma_Dbf/CardIDDlg.cpp deleted file mode 100644 index dfa5652..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AODma_Dbf/CardIDDlg.cpp +++ /dev/null @@ -1,64 +0,0 @@ -// CardIDDlg.cpp : implementation file -// -#include "stdafx.h" -#include "9223cdma.h" -#include "9223cdmaDlg.h" -#include "CardIDDlg.h" - -// CCardIDDlg dialog - -IMPLEMENT_DYNAMIC(CCardIDDlg, CDialog) - -CCardIDDlg::CCardIDDlg(int nCardIdx, CWnd* pParent /*=NULL*/) - : CDialog(CCardIDDlg::IDD, pParent) -{ - m_nCardIdx = nCardIdx; -} - -CCardIDDlg::~CCardIDDlg() -{ -} - -void CCardIDDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); - DDX_Control(pDX, IDC_COMBO_CARDID, m_cbCardID); -} - - -BEGIN_MESSAGE_MAP(CCardIDDlg, CDialog) -// ON_CBN_SELCHANGE(IDC_COMBO_CARDID, &CCardIDDlg::OnCbnSelchangeComboCardid) -ON_BN_CLICKED(IDOK, &CCardIDDlg::OnBnClickedOk) -//ON_WM_CTLCOLOR() -END_MESSAGE_MAP() - - -// CCardIDDlg message handlers - - -void CCardIDDlg::OnBnClickedOk() -{ - // TODO: Add your control notification handler code here - -// UpdateData(TRUE); - m_nCardIdx = m_cbCardID.GetCurSel(); - - OnOK(); -} - -BOOL CCardIDDlg::OnInitDialog() -{ - CDialog::OnInitDialog(); - - // TODO: Add extra initialization here - m_cbCardID.SetCurSel( m_nCardIdx ); - - return TRUE; // return TRUE unless you set the focus to a control - // EXCEPTION: OCX Property Pages should return FALSE -} - -// the function to get the selected CardID -int CCardIDDlg::GetCardID(void) -{ - return m_nCardIdx; -} diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AODma_Dbf/CardIDDlg.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AODma_Dbf/CardIDDlg.h deleted file mode 100644 index 9c02c58..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AODma_Dbf/CardIDDlg.h +++ /dev/null @@ -1,32 +0,0 @@ -#pragma once -#include "afxwin.h" - -#include "Dask64.h" - -// CCardIDDlg dialog - -class CCardIDDlg : public CDialog -{ - DECLARE_DYNAMIC(CCardIDDlg) - -public: - CCardIDDlg(int nCardIdx, CWnd* pParent = NULL); // standard constructor - virtual ~CCardIDDlg(); - -// Dialog Data - enum { IDD = IDD_CARDID_DIALOG }; - -protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - - DECLARE_MESSAGE_MAP() -public: - virtual BOOL OnInitDialog(); - afx_msg void OnBnClickedOk(); - // the setting of CardID ComboBox - int m_nCardIdx; - // the control of CardID ComboBox - CComboBox m_cbCardID; - // the function to get the selected CardID - int GetCardID(void); -}; diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AODma_Dbf/ReadMe.txt b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AODma_Dbf/ReadMe.txt deleted file mode 100644 index d1c88f4..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AODma_Dbf/ReadMe.txt +++ /dev/null @@ -1,93 +0,0 @@ -================================================================================ - MICROSOFT FOUNDATION CLASS LIBRARY : 9223cdma Project Overview -=============================================================================== - -The application wizard has created this 9223cdma application for -you. This application not only demonstrates the basics of using the Microsoft -Foundation Classes but is also a starting point for writing your application. - -This file contains a summary of what you will find in each of the files that -make up your 9223cdma application. - -9223cdma.vcproj - This is the main project file for VC++ projects generated using an application wizard. - It contains information about the version of Visual C++ that generated the file, and - information about the platforms, configurations, and project features selected with the - application wizard. - -9223cdma.h - This is the main header file for the application. It includes other - project specific headers (including Resource.h) and declares the - C9223cdmaApp application class. - -9223cdma.cpp - This is the main application source file that contains the application - class C9223cdmaApp. - -9223cdma.rc - This is a listing of all of the Microsoft Windows resources that the - program uses. It includes the icons, bitmaps, and cursors that are stored - in the RES subdirectory. This file can be directly edited in Microsoft - Visual C++. Your project resources are in 1033. - -res\9223cdma.ico - This is an icon file, which is used as the application's icon. This - icon is included by the main resource file 9223cdma.rc. - -res\My9223cdma.rc2 - This file contains resources that are not edited by Microsoft - Visual C++. You should place all resources not editable by - the resource editor in this file. - - -///////////////////////////////////////////////////////////////////////////// - -The application wizard creates one dialog class: - -9223cdmaDlg.h, 9223cdmaDlg.cpp - the dialog - These files contain your C9223cdmaDlg class. This class defines - the behavior of your application's main dialog. The dialog's template is - in 9223cdma.rc, which can be edited in Microsoft Visual C++. - - -///////////////////////////////////////////////////////////////////////////// - -Other Features: - -ActiveX Controls - The application includes support to use ActiveX controls. - -///////////////////////////////////////////////////////////////////////////// - -Other standard files: - -StdAfx.h, StdAfx.cpp - These files are used to build a precompiled header (PCH) file - named 9223cdma.pch and a precompiled types file named StdAfx.obj. - -Resource.h - This is the standard header file, which defines new resource IDs. - Microsoft Visual C++ reads and updates this file. - -9223cdma.manifest - Application manifest files are used by Windows XP to describe an applications - dependency on specific versions of Side-by-Side assemblies. The loader uses this - information to load the appropriate assembly from the assembly cache or private - from the application. The Application manifest maybe included for redistribution - as an external .manifest file that is installed in the same folder as the application - executable or it may be included in the executable in the form of a resource. -///////////////////////////////////////////////////////////////////////////// - -Other notes: - -The application wizard uses "TODO:" to indicate parts of the source code you -should add to or customize. - -If your application uses MFC in a shared DLL, you will need -to redistribute the MFC DLLs. If your application is in a language -other than the operating system's locale, you will also have to -redistribute the corresponding localized resources MFC90XXX.DLL. -For more information on both of these topics, please see the section on -redistributing Visual C++ applications in MSDN documentation. - -///////////////////////////////////////////////////////////////////////////// diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AODma_Dbf/res/9223cdma.ico b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AODma_Dbf/res/9223cdma.ico deleted file mode 100644 index d56fbcd..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AODma_Dbf/res/9223cdma.ico and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AODma_Dbf/res/My9223cdma.rc2 b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AODma_Dbf/res/My9223cdma.rc2 deleted file mode 100644 index 383cde2..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AODma_Dbf/res/My9223cdma.rc2 +++ /dev/null @@ -1,13 +0,0 @@ -// -// My9111int.RC2 - resources Microsoft Visual C++ does not edit directly -// - -#ifdef APSTUDIO_INVOKED -#error this file is not editable by Microsoft Visual C++ -#endif //APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// Add manually edited resources here... - -///////////////////////////////////////////////////////////////////////////// diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AODma_Dbf/res/ch_set1.bmp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AODma_Dbf/res/ch_set1.bmp deleted file mode 100644 index f2374ed..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AODma_Dbf/res/ch_set1.bmp and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AODma_Dbf/res/ch_set2.bmp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AODma_Dbf/res/ch_set2.bmp deleted file mode 100644 index 32d0915..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AODma_Dbf/res/ch_set2.bmp and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AODma_Dbf/resource.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AODma_Dbf/resource.h deleted file mode 100644 index 80a78c9..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AODma_Dbf/resource.h +++ /dev/null @@ -1,35 +0,0 @@ -//{{NO_DEPENDENCIES}} -// Microsoft Visual C++ generated include file. -// Used by 9223cdma.rc -// -#define IDM_ABOUTBOX 0x0010 -#define IDD_ABOUTBOX 100 -#define IDS_ABOUTBOX 101 -#define IDD_9223DMA_DIALOG 102 -#define IDR_MAINFRAME 128 -#define IDD_CARDID_DIALOG 129 -#define IDB_BITMAP_SET1 131 -#define IDB_BITMAP_SET2 132 -#define IDC_STATIC_DRAW 1000 -#define IDC_COMBO_CARDID 1001 -#define IDC_BT_STOP 1002 -#define IDC_COMBO_CARDTYPE 1003 -#define IDC_BT_START 1004 -#define IDC_EDIT_SCAN_ITERVAL 1005 -#define IDC_SCROLLBAR_RATE 1006 -#define IDC_STATIC_01 1007 -#define IDC_EDIT_BUF_SIZE 1008 -#define IDC_STATIC_2 1009 -#define IDC_EDIT1 1010 -#define IDC_EDIT_OVERRUN 1011 - -// Next default values for new objects -// -#ifdef APSTUDIO_INVOKED -#ifndef APSTUDIO_READONLY_SYMBOLS -#define _APS_NEXT_RESOURCE_VALUE 134 -#define _APS_NEXT_COMMAND_VALUE 32771 -#define _APS_NEXT_CONTROL_VALUE 1012 -#define _APS_NEXT_SYMED_VALUE 101 -#endif -#endif diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AODma_Dbf/stdafx.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AODma_Dbf/stdafx.cpp deleted file mode 100644 index ef80626..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AODma_Dbf/stdafx.cpp +++ /dev/null @@ -1,8 +0,0 @@ - -// stdafx.cpp : source file that includes just the standard includes -// 9111int.pch will be the pre-compiled header -// stdafx.obj will contain the pre-compiled type information - -#include "stdafx.h" - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AODma_Dbf/stdafx.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AODma_Dbf/stdafx.h deleted file mode 100644 index 12123e2..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AODma_Dbf/stdafx.h +++ /dev/null @@ -1,60 +0,0 @@ - -// stdafx.h : include file for standard system include files, -// or project specific include files that are used frequently, -// but are changed infrequently - -#pragma once - -#ifndef _SECURE_ATL -#define _SECURE_ATL 1 -#endif - -#ifndef VC_EXTRALEAN -#define VC_EXTRALEAN // Exclude rarely-used stuff from Windows headers -#endif - -#include "targetver.h" - -#define _ATL_CSTRING_EXPLICIT_CONSTRUCTORS // some CString constructors will be explicit - -// turns off MFC's hiding of some common and often safely ignored warning messages -#define _AFX_ALL_WARNINGS - -#include // MFC core and standard components -#include // MFC extensions - - -#include // MFC Automation classes - - - -#ifndef _AFX_NO_OLE_SUPPORT -#include // MFC support for Internet Explorer 4 Common Controls -#endif -#ifndef _AFX_NO_AFXCMN_SUPPORT -#include // MFC support for Windows Common Controls -#endif // _AFX_NO_AFXCMN_SUPPORT - -#include // MFC support for ribbons and control bars - - - - - - - - - -#ifdef _UNICODE -#if defined _M_IX86 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='x86' publicKeyToken='6595b64144ccf1df' language='*'\"") -#elif defined _M_IA64 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='ia64' publicKeyToken='6595b64144ccf1df' language='*'\"") -#elif defined _M_X64 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='amd64' publicKeyToken='6595b64144ccf1df' language='*'\"") -#else -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='*' publicKeyToken='6595b64144ccf1df' language='*'\"") -#endif -#endif - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AODma_Dbf/targetver.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AODma_Dbf/targetver.h deleted file mode 100644 index 11730d5..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AODma_Dbf/targetver.h +++ /dev/null @@ -1,26 +0,0 @@ - -#pragma once - -// The following macros define the minimum required platform. The minimum required platform -// is the earliest version of Windows, Internet Explorer etc. that has the necessary features to run -// your application. The macros work by enabling all features available on platform versions up to and -// including the version specified. - -// Modify the following defines if you have to target a platform prior to the ones specified below. -// Refer to MSDN for the latest info on corresponding values for different platforms. -#ifndef WINVER // Specifies that the minimum required platform is Windows Vista. -#define WINVER 0x0600 // Change this to the appropriate value to target other versions of Windows. -#endif - -#ifndef _WIN32_WINNT // Specifies that the minimum required platform is Windows Vista. -#define _WIN32_WINNT 0x0600 // Change this to the appropriate value to target other versions of Windows. -#endif - -#ifndef _WIN32_WINDOWS // Specifies that the minimum required platform is Windows 98. -#define _WIN32_WINDOWS 0x0410 // Change this to the appropriate value to target Windows Me or later. -#endif - -#ifndef _WIN32_IE // Specifies that the minimum required platform is Internet Explorer 7.0. -#define _WIN32_IE 0x0700 // Change this to the appropriate value to target other versions of IE. -#endif - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AODma_ExtConvSrc/9111DbInt.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AODma_ExtConvSrc/9111DbInt.suo deleted file mode 100644 index 3fde864..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AODma_ExtConvSrc/9111DbInt.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AODma_ExtConvSrc/9111PostTg.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AODma_ExtConvSrc/9111PostTg.suo deleted file mode 100644 index c59a833..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AODma_ExtConvSrc/9111PostTg.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AODma_ExtConvSrc/9111int.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AODma_ExtConvSrc/9111int.suo deleted file mode 100644 index aaca7d8..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AODma_ExtConvSrc/9111int.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AODma_ExtConvSrc/9116cdma.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AODma_ExtConvSrc/9116cdma.suo deleted file mode 100644 index df9f193..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AODma_ExtConvSrc/9116cdma.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AODma_ExtConvSrc/9118cdma.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AODma_ExtConvSrc/9118cdma.suo deleted file mode 100644 index 9318437..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AODma_ExtConvSrc/9118cdma.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AODma_ExtConvSrc/9221cdma.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AODma_ExtConvSrc/9221cdma.suo deleted file mode 100644 index 9cb61ca..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AODma_ExtConvSrc/9221cdma.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AODma_ExtConvSrc/9222cdma.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AODma_ExtConvSrc/9222cdma.suo deleted file mode 100644 index ca781a3..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AODma_ExtConvSrc/9222cdma.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AODma_ExtConvSrc/9223cdma.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AODma_ExtConvSrc/9223cdma.cpp deleted file mode 100644 index f121734..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AODma_ExtConvSrc/9223cdma.cpp +++ /dev/null @@ -1,109 +0,0 @@ - -// 9223cdma.cpp : Defines the class behaviors for the application. -// - -#include "stdafx.h" -#include "9223cdma.h" -#include "9223cdmaDlg.h" -#include "CardIDDlg.h" - -#ifdef _DEBUG -#define new DEBUG_NEW -#endif - - -// C9223cdmaApp - -BEGIN_MESSAGE_MAP(C9223cdmaApp, CWinAppEx) - ON_COMMAND(ID_HELP, &CWinApp::OnHelp) -END_MESSAGE_MAP() - - -// C9223cdmaApp construction - -C9223cdmaApp::C9223cdmaApp() -{ - // TODO: add construction code here, - // Place all significant initialization in InitInstance -} - - -// The one and only C9223cdmaApp object - -C9223cdmaApp theApp; - - -// C9223cdmaApp initialization - -BOOL C9223cdmaApp::InitInstance() -{ - int nCardID = 0; - I16 hCard; - CString strTemp; - INT_PTR nResponse; - - // InitCommonControlsEx() is required on Windows XP if an application - // manifest specifies use of ComCtl32.dll version 6 or later to enable - // visual styles. Otherwise, any window creation will fail. - INITCOMMONCONTROLSEX InitCtrls; - InitCtrls.dwSize = sizeof(InitCtrls); - // Set this to include all the common control classes you want to use - // in your application. - InitCtrls.dwICC = ICC_WIN95_CLASSES; - InitCommonControlsEx(&InitCtrls); - - CWinAppEx::InitInstance(); - - AfxEnableControlContainer(); - - // Standard initialization - // If you are not using these features and wish to reduce the size - // of your final executable, you should remove from the following - // the specific initialization routines you do not need - // Change the registry key under which our settings are stored - // TODO: You should modify this string to be something appropriate - // such as the name of your company or organization - SetRegistryKey(_T("Local AppWizard-Generated Applications")); - - CCardIDDlg CardDlg( nCardID ); - - nResponse = CardDlg.DoModal(); - if (nResponse == IDOK) - { - nCardID = CardDlg.GetCardID(); - - if ((hCard=Register_Card(PCI_9223, nCardID)) < 0) - { - strTemp.Format( TEXT("Register_Card Error = %d"), hCard); - AfxMessageBox( strTemp ); - } - else - { - C9223cdmaDlg dlg(hCard); - m_pMainWnd = &dlg; - nResponse = dlg.DoModal(); - if (nResponse == IDOK) - { - // TODO: Place code here to handle when the dialog is - // dismissed with OK - } - else if (nResponse == IDCANCEL) - { - // TODO: Place code here to handle when the dialog is - // dismissed with Cancel - } - - if (hCard >= 0) Release_Card(hCard); - } - - } - else if (nResponse == IDCANCEL) - { - // TODO: Place code here to handle when the dialog is - // dismissed with Cancel - } - - // Since the dialog has been closed, return FALSE so that we exit the - // application, rather than start the application's message pump. - return FALSE; -} diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AODma_ExtConvSrc/9223cdma.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AODma_ExtConvSrc/9223cdma.h deleted file mode 100644 index 27ba83d..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AODma_ExtConvSrc/9223cdma.h +++ /dev/null @@ -1,34 +0,0 @@ - -// 9223cdma.h : main header file for the PROJECT_NAME application -// - -#pragma once - -#ifndef __AFXWIN_H__ - #error "include 'stdafx.h' before including this file for PCH" -#endif - -#include "resource.h" // main symbols - -#define AI_MODE_DMA 0 -#define AI_MODE_INT 1 - -// C9223cdmaApp: -// See 9223cdma.cpp for the implementation of this class -// - -class C9223cdmaApp : public CWinAppEx -{ -public: - C9223cdmaApp(); - -// Overrides - public: - virtual BOOL InitInstance(); - -// Implementation - - DECLARE_MESSAGE_MAP() -}; - -extern C9223cdmaApp theApp; \ No newline at end of file diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AODma_ExtConvSrc/9223cdma.rc b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AODma_ExtConvSrc/9223cdma.rc deleted file mode 100644 index 68cfa7b..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AODma_ExtConvSrc/9223cdma.rc +++ /dev/null @@ -1,285 +0,0 @@ -// Microsoft Visual C++ generated resource script. -// -#include "resource.h" - -#define APSTUDIO_READONLY_SYMBOLS -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 2 resource. -// -#ifndef APSTUDIO_INVOKED -#include "targetver.h" -#endif -#include "afxres.h" - -///////////////////////////////////////////////////////////////////////////// -#undef APSTUDIO_READONLY_SYMBOLS - -///////////////////////////////////////////////////////////////////////////// -// Chinese (Taiwan) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_CHT) -#ifdef _WIN32 -LANGUAGE LANG_CHINESE, SUBLANG_CHINESE_TRADITIONAL -#pragma code_page(950) -#endif //_WIN32 - -#ifdef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// TEXTINCLUDE -// - -1 TEXTINCLUDE -BEGIN - "resource.h\0" -END - -2 TEXTINCLUDE -BEGIN - "#ifndef APSTUDIO_INVOKED\r\n" - "#include ""targetver.h""\r\n" - "#endif\r\n" - "#include ""afxres.h""\r\n" - "\0" -END - -3 TEXTINCLUDE -BEGIN - "#define _AFX_NO_SPLITTER_RESOURCES\r\n" - "#define _AFX_NO_OLE_RESOURCES\r\n" - "#define _AFX_NO_TRACKER_RESOURCES\r\n" - "#define _AFX_NO_PROPERTY_RESOURCES\r\n" - "\r\n" - "#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)\r\n" - "LANGUAGE 9, 1\r\n" - "#pragma code_page(1252)\r\n" - "#include ""res\\My9223cdma.rc2"" // non-Microsoft Visual C++ edited resources\r\n" - "#include ""afxres.rc"" // Standard components\r\n" - "#endif\r\n" - "\0" -END - -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// Icon -// - -// Icon with lowest ID value placed first to ensure application icon -// remains consistent on all systems. -IDR_MAINFRAME ICON "res\\9223cdma.ico" -#endif // Chinese (Taiwan) resources -///////////////////////////////////////////////////////////////////////////// - - -///////////////////////////////////////////////////////////////////////////// -// English (U.S.) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -#ifdef _WIN32 -LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US -#pragma code_page(1252) -#endif //_WIN32 - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog -// - -IDD_ABOUTBOX DIALOGEX 0, 0, 170, 62 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "About 9223cdma" -FONT 8, "MS Shell Dlg", 0, 0, 0x1 -BEGIN - ICON IDR_MAINFRAME,IDC_STATIC,14,14,21,20 - LTEXT "9223cdma, Version 1.0",IDC_STATIC,42,14,114,8,SS_NOPREFIX - LTEXT "Copyright (C) 2010",IDC_STATIC,42,26,114,8 - DEFPUSHBUTTON "OK",IDOK,113,41,50,14,WS_GROUP -END - -IDD_9223DMA_DIALOG DIALOGEX 0, 0, 353, 250 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU -EXSTYLE WS_EX_APPWINDOW -CAPTION "PCI-9223 AO Repeat-Wave /w External Conversion Source" -FONT 8, "MS Shell Dlg", 0, 0, 0x1 -BEGIN - GROUPBOX "",IDC_STATIC_DRAW,46,80,299,161,NOT WS_VISIBLE - LTEXT "Range : +/- 10V",IDC_STATIC,294,69,52,11 - LTEXT "Write Count :",IDC_STATIC,149,36,44,9 - EDITTEXT IDC_EDIT_SCAN_ITERVAL,63,51,49,14,ES_AUTOHSCROLL | ES_READONLY - LTEXT "Update Interval :",IDC_STATIC,65,36,57,9 - SCROLLBAR IDC_SCROLLBAR_RATE,113,51,9,11,SBS_VERT - PUSHBUTTON "Start",IDC_BT_START,227,43,55,22 - EDITTEXT IDC_EDIT_BUF_SIZE,143,51,51,14,ES_AUTOHSCROLL - PUSHBUTTON "Stop",IDC_BT_STOP,289,43,55,22 - LTEXT "Please check the AO0 (pin-16) to AI0 (pin-34) , and the analog output will be loggeg in following panel.",IDC_STATIC,16,7,328,15 - LTEXT "The external convertion signal is connected to GPI0",IDC_STATIC,15,18,169,15 -END - -IDD_CARDID_DIALOG DIALOGEX 0, 0, 174, 96 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "Card ID" -FONT 8, "MS Shell Dlg", 400, 0, 0x1 -BEGIN - COMBOBOX IDC_COMBO_CARDID,78,24,71,126,CBS_DROPDOWN | WS_VSCROLL | WS_TABSTOP - LTEXT "Card Number",IDC_STATIC_01,23,25,46,12 - PUSHBUTTON "OK",IDOK,22,59,58,19 - PUSHBUTTON "CANCEL",IDCANCEL,86,59,58,19 -END - - -///////////////////////////////////////////////////////////////////////////// -// -// Version -// - -VS_VERSION_INFO VERSIONINFO - FILEVERSION 1,0,0,1 - PRODUCTVERSION 1,0,0,1 - FILEFLAGSMASK 0x3fL -#ifdef _DEBUG - FILEFLAGS 0x1L -#else - FILEFLAGS 0x0L -#endif - FILEOS 0x4L - FILETYPE 0x1L - FILESUBTYPE 0x0L -BEGIN - BLOCK "StringFileInfo" - BEGIN - BLOCK "040904e4" - BEGIN - VALUE "CompanyName", "TODO: " - VALUE "FileDescription", "TODO: " - VALUE "FileVersion", "1.0.0.1" - VALUE "InternalName", "9223cdma.exe" - VALUE "LegalCopyright", "TODO: (c) . All rights reserved." - VALUE "OriginalFilename", "9223cdma.exe" - VALUE "ProductName", "TODO: " - VALUE "ProductVersion", "1.0.0.1" - END - END - BLOCK "VarFileInfo" - BEGIN - VALUE "Translation", 0x409, 1252 - END -END - - -///////////////////////////////////////////////////////////////////////////// -// -// DESIGNINFO -// - -#ifdef APSTUDIO_INVOKED -GUIDELINES DESIGNINFO -BEGIN - IDD_ABOUTBOX, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 163 - TOPMARGIN, 7 - BOTTOMMARGIN, 55 - END - - IDD_CARDID_DIALOG, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 167 - TOPMARGIN, 7 - BOTTOMMARGIN, 89 - END -END -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog Info -// - -IDD_CARDID_DIALOG DLGINIT -BEGIN - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0030, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0031, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0032, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0033, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0034, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0035, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0036, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0037, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0038, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0039, - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3031, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3131, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3231, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3331, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3431, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3531, "\000" - 0 -END - - -///////////////////////////////////////////////////////////////////////////// -// -// Bitmap -// - -IDB_BITMAP_SET1 BITMAP "res\\ch_set1.bmp" -IDB_BITMAP_SET2 BITMAP "res\\ch_set2.bmp" - -///////////////////////////////////////////////////////////////////////////// -// -// String Table -// - -STRINGTABLE -BEGIN - IDS_ABOUTBOX "&About 9223cdma..." -END - -#endif // English (U.S.) resources -///////////////////////////////////////////////////////////////////////////// - - - -#ifndef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 3 resource. -// -#define _AFX_NO_SPLITTER_RESOURCES -#define _AFX_NO_OLE_RESOURCES -#define _AFX_NO_TRACKER_RESOURCES -#define _AFX_NO_PROPERTY_RESOURCES - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -LANGUAGE 9, 1 -#pragma code_page(1252) -#include "res\My9223cdma.rc2" // non-Microsoft Visual C++ edited resources -#include "afxres.rc" // Standard components -#endif - -///////////////////////////////////////////////////////////////////////////// -#endif // not APSTUDIO_INVOKED - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AODma_ExtConvSrc/9223cdma.sln b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AODma_ExtConvSrc/9223cdma.sln deleted file mode 100644 index 538cc7b..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AODma_ExtConvSrc/9223cdma.sln +++ /dev/null @@ -1,20 +0,0 @@ - -Microsoft Visual Studio Solution File, Format Version 10.00 -# Visual Studio 2008 -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "9223cdma", "9223cdma.vcproj", "{702163FB-B6DF-4EF5-9491-FC54D71509BC}" -EndProject -Global - GlobalSection(SolutionConfigurationPlatforms) = preSolution - Debug|x64 = Debug|x64 - Release|x64 = Release|x64 - EndGlobalSection - GlobalSection(ProjectConfigurationPlatforms) = postSolution - {702163FB-B6DF-4EF5-9491-FC54D71509BC}.Debug|x64.ActiveCfg = Debug|x64 - {702163FB-B6DF-4EF5-9491-FC54D71509BC}.Debug|x64.Build.0 = Debug|x64 - {702163FB-B6DF-4EF5-9491-FC54D71509BC}.Release|x64.ActiveCfg = Release|x64 - {702163FB-B6DF-4EF5-9491-FC54D71509BC}.Release|x64.Build.0 = Release|x64 - EndGlobalSection - GlobalSection(SolutionProperties) = preSolution - HideSolutionNode = FALSE - EndGlobalSection -EndGlobal diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AODma_ExtConvSrc/9223cdma.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AODma_ExtConvSrc/9223cdma.suo deleted file mode 100644 index 03da93d..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AODma_ExtConvSrc/9223cdma.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AODma_ExtConvSrc/9223cdma.vcproj b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AODma_ExtConvSrc/9223cdma.vcproj deleted file mode 100644 index c3e2af5..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AODma_ExtConvSrc/9223cdma.vcproj +++ /dev/null @@ -1,294 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AODma_ExtConvSrc/9223cdmaDlg.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AODma_ExtConvSrc/9223cdmaDlg.cpp deleted file mode 100644 index c29498e..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AODma_ExtConvSrc/9223cdmaDlg.cpp +++ /dev/null @@ -1,664 +0,0 @@ - -// 9223cdmaDlg.cpp : implementation file -// - -#include "stdafx.h" -#include "9223cdma.h" -#include "9223cdmaDlg.h" -#include "math.h" - -#ifdef _DEBUG -#define new DEBUG_NEW -#endif - -#ifndef M_PI -#define M_PI 3.14159265359 -#endif - -#define P922X_TIMEBASE 80000000.0 -#define AI_READ_COUNT 8000 -#define AI_SAMPLE_INTERV 10000 - -CRect plotRect; - -// CAboutDlg dialog used for App About - -class CAboutDlg : public CDialog -{ -public: - CAboutDlg(); - -// Dialog Data - enum { IDD = IDD_ABOUTBOX }; - - protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - -// Implementation -protected: - DECLARE_MESSAGE_MAP() -}; - -CAboutDlg::CAboutDlg() : CDialog(CAboutDlg::IDD) -{ -} - -void CAboutDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); -} - -BEGIN_MESSAGE_MAP(CAboutDlg, CDialog) -END_MESSAGE_MAP() - - -// C9223cdmaDlg dialog - - - - -C9223cdmaDlg::C9223cdmaDlg(I16 hCard, CWnd* pParent /*=NULL*/) - : CDialog(C9223cdmaDlg::IDD, pParent) -{ - m_hIcon = AfxGetApp()->LoadIcon(IDR_MAINFRAME); - - n_PlotWidth = n_PlotHeight = -1; - OnBrush = OffBrush = NULL; - - min_val = 0x00; - max_val = 0xFFFF; - - m_dwSampIntrv = 10000; - - m_hCard = hCard; - - m_nTimer = -1; - m_hAIMem1 = NULL; - m_hAIMem2 = NULL; - - m_hAOMem1 = NULL; - m_hAOMem2 = NULL; - - m_wRange = AD_B_10_V; - max_range = 10.0; - min_range = -10.0; - - m_dwWriteCount = 4096; - m_wPostCount = 512; - - m_dwOverrunCnt = 0; - - -} - -void C9223cdmaDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); -} - -BEGIN_MESSAGE_MAP(C9223cdmaDlg, CDialog) - ON_WM_SYSCOMMAND() - ON_WM_PAINT() - ON_WM_QUERYDRAGICON() - //}}AFX_MSG_MAP - ON_WM_DESTROY() - ON_WM_VSCROLL() - ON_BN_CLICKED(IDC_BT_START, &C9223cdmaDlg::OnStart) - ON_BN_CLICKED(IDC_BT_STOP, &C9223cdmaDlg::OnStop) - ON_WM_TIMER() -END_MESSAGE_MAP() - - -// C9223cdmaDlg message handlers - -BOOL C9223cdmaDlg::OnInitDialog() -{ - CDialog::OnInitDialog(); - - // Add "About..." menu item to system menu. - - // IDM_ABOUTBOX must be in the system command range. - ASSERT((IDM_ABOUTBOX & 0xFFF0) == IDM_ABOUTBOX); - ASSERT(IDM_ABOUTBOX < 0xF000); - - CMenu* pSysMenu = GetSystemMenu(FALSE); - if (pSysMenu != NULL) - { - BOOL bNameValid; - CString strAboutMenu; - bNameValid = strAboutMenu.LoadString(IDS_ABOUTBOX); - ASSERT(bNameValid); - if (!strAboutMenu.IsEmpty()) - { - pSysMenu->AppendMenu(MF_SEPARATOR); - pSysMenu->AppendMenu(MF_STRING, IDM_ABOUTBOX, strAboutMenu); - } - } - - // Set the icon for this dialog. The framework does this automatically - // when the application's main window is not a dialog - SetIcon(m_hIcon, TRUE); // Set big icon - SetIcon(m_hIcon, FALSE); // Set small icon - - // TODO: Add extra initialization here - x_divider = 5; y_divider = 4; - - OnBrush = CreateSolidBrush( RGB(255,0,0) ); - OffBrush = CreateSolidBrush( RGB(125,0,0) ); - - RedPen.CreatePen( PS_SOLID, 1, RGB(255,0,0)); - GreenPen.CreatePen( PS_SOLID, 1, RGB(0,255,0)); - YellowPen.CreatePen( PS_SOLID, 1, RGB(255,255,0)); - BluePen.CreatePen( PS_SOLID, 1, RGB(0,0,255)); - LTBluePen.CreatePen( PS_SOLID, 1, RGB(0,128,255)); - LTRedPen.CreatePen( PS_SOLID, 1, RGB(255,128,0)); - LTGreenPen.CreatePen( PS_SOLID, 1, RGB(0,128,0)); - WhitePen.CreatePen( PS_SOLID, 1, RGB(255,255,255)); - - - if( n_PlotWidth == -1 && n_PlotHeight == -1 ) - { - ((CWnd*)GetDlgItem(IDC_STATIC_DRAW))->GetWindowRect(&plotRect); - ScreenToClient(&plotRect); - - n_PlotWidth = min( plotRect.Width(), 512); - n_PlotHeight = plotRect.Height() - 10; - } - - // set the default SampleRate - - SetDlgItemInt( IDC_EDIT_BUF_SIZE, (UINT)(m_dwWriteCount) ); - SetDlgItemInt( IDC_EDIT_SCAN_ITERVAL, (UINT)(m_dwSampIntrv) ); - - return TRUE; // return TRUE unless you set the focus to a control -} - -void C9223cdmaDlg::OnSysCommand(UINT nID, LPARAM lParam) -{ - if ((nID & 0xFFF0) == IDM_ABOUTBOX) - { - CAboutDlg dlgAbout; - dlgAbout.DoModal(); - } - else - { - CDialog::OnSysCommand(nID, lParam); - } -} - -// If you add a minimize button to your dialog, you will need the code below -// to draw the icon. For MFC applications using the document/view model, -// this is automatically done for you by the framework. - -void C9223cdmaDlg::OnPaint() -{ - if (IsIconic()) - { - CPaintDC dc(this); // device context for painting - - SendMessage(WM_ICONERASEBKGND, reinterpret_cast(dc.GetSafeHdc()), 0); - - // Center icon in client rectangle - int cxIcon = GetSystemMetrics(SM_CXICON); - int cyIcon = GetSystemMetrics(SM_CYICON); - CRect rect; - GetClientRect(&rect); - int x = (rect.Width() - cxIcon + 1) / 2; - int y = (rect.Height() - cyIcon + 1) / 2; - - // Draw the icon - dc.DrawIcon(x, y, m_hIcon); - } - else - { - redraw_display_area(); - CDialog::OnPaint(); - } -} - -// The system calls this function to obtain the cursor to display while the user drags -// the minimized window. -HCURSOR C9223cdmaDlg::OnQueryDragIcon() -{ - return static_cast(m_hIcon); -} - - -void C9223cdmaDlg::redraw_display_area(void) -{ - CPen *oldPen; - - int oldMode; - COLORREF oldColor; - - CString y_lable; - - CPen minor_tick( PS_SOLID,1,RGB(132,130,132) ); -// CPen y_grid( PS_SOLID,1,RGB(206,203,132) ); - - int i, x_intv, y_intv; -// long total_sec; - - CClientDC dc_plot(this); - - // draw the base-line for x-y axises - oldPen = (CPen *)dc_plot.SelectStockObject(BLACK_PEN); - - // redraw the background - dc_plot.FillSolidRect( plotRect, RGB(0,0,0) ); - - // Re-Draw the AREA for Y-Lable - { - CBrush DIALOG_BRUSH; - CRect redraw_area, full_client; - - GetClientRect(&full_client); - ScreenToClient(&full_client); - - redraw_area.left = full_client.left; - redraw_area.top = plotRect.top - 5; - redraw_area.right = plotRect.left - 3; - redraw_area.bottom = plotRect.bottom + 10; - - DIALOG_BRUSH.CreateSysColorBrush( COLOR_3DFACE ); - - dc_plot.FillRect( redraw_area, &DIALOG_BRUSH ); - - DIALOG_BRUSH.DeleteObject(); - } - - dc_plot.MoveTo( plotRect.left - 3, plotRect.top ); - dc_plot.LineTo( plotRect.left - 3, plotRect.bottom ); - - // calculate the interval for tick/grid - y_intv = (plotRect.Height() - 10) /y_divider; - x_intv = plotRect.Width()/x_divider; - - - // set the color for tick - oldColor = dc_plot.SetTextColor( RGB(0,0,0) ); - oldMode = dc_plot.SetBkMode( TRANSPARENT ); - - for( i=0; i<= y_divider; i++ ) - { - CString tick_str; - CRect tmp_rect, tick_rect; - - // draw the tick for y-axis - dc_plot.MoveTo( plotRect.left -12, plotRect.bottom -5 - (i*y_intv) ); - dc_plot.LineTo( plotRect.left -3, plotRect.bottom -5 - (i*y_intv) ); - - tick_str.Format( _T("%.1f"), ( ((max_range-min_range)/y_divider) * i)+min_range ); - - // calculate the rectangle for text - dc_plot.DrawText( tick_str, &tmp_rect, DT_CALCRECT|DT_SINGLELINE ); - tick_rect.right = plotRect.left -14; - tick_rect.left = tick_rect.right - tmp_rect.Width(); - tick_rect.top = plotRect.bottom -5 - (i*y_intv) - tmp_rect.Height()/2; - tick_rect.bottom = tick_rect.top + tmp_rect.Height(); - - // draw the text - dc_plot.DrawText( tick_str, &tick_rect, DT_SINGLELINE|DT_RIGHT ); - - } - - // draw the minor_tick for Y axises - dc_plot.SelectObject(&minor_tick); - for( i=0; i< y_divider; i++ ) - { - dc_plot.MoveTo( plotRect.left -9, plotRect.bottom -5 - (i*y_intv) - y_intv/2 ); - dc_plot.LineTo( plotRect.left -4, plotRect.bottom -5 - (i*y_intv) - y_intv/2 ); - } - - dc_plot.SetTextColor( oldColor ); - dc_plot.SetBkMode( oldMode ); - dc_plot.SelectObject( oldPen ); -} - -void C9223cdmaDlg::OnDestroy() -{ - CDialog::OnDestroy(); - - // TODO: Add your message handler code here - if( m_nTimer != -1 ) - { - KillTimer( m_nTimer ); - m_nTimer = -1; - } - - // AI buffer - if (m_hAIMem1 != NULL) - { - GlobalUnfix(m_hAIMem1); - GlobalUnlock(m_hAIMem1); - GlobalFree(m_hAIMem1); - - m_hAIMem1 = NULL; - } - - if (m_hAIMem2 != NULL) - { - GlobalUnfix(m_hAIMem2); - GlobalUnlock(m_hAIMem2); - GlobalFree(m_hAIMem2); - - m_hAIMem2 = NULL; - } - - - if( OnBrush != NULL ) - ::DeleteObject( OnBrush ); - - if( OffBrush != NULL ) - ::DeleteObject( OffBrush ); - - RedPen.DeleteObject(); - GreenPen.DeleteObject(); - YellowPen.DeleteObject(); - BluePen.DeleteObject(); - LTBluePen.DeleteObject(); - LTRedPen.DeleteObject(); - LTGreenPen.DeleteObject(); - WhitePen.DeleteObject(); - -} - -void C9223cdmaDlg::OnVScroll(UINT nSBCode, UINT nPos, CScrollBar* pScrollBar) -{ - // TODO: Add your message handler code here and/or call default - switch ( nSBCode ) - { - case SB_LINEUP : - m_dwSampIntrv += 160; - if (m_dwSampIntrv > 40000 ) m_dwSampIntrv = 40000; - break; - case SB_LINEDOWN: - m_dwSampIntrv -= 160; - if (m_dwSampIntrv < 160 ) m_dwSampIntrv = 160; - break; - } - - SetDlgItemInt( IDC_EDIT_SCAN_ITERVAL, (UINT)(m_dwSampIntrv) ); - - CDialog::OnVScroll(nSBCode, nPos, pScrollBar); -} - - -void C9223cdmaDlg::OnStop() -{ - // TODO: Add your control notification handler code here - U32 count; - - if( m_nTimer != -1 ) - { - KillTimer( m_nTimer ); - m_nTimer = -1; - } - - AI_AsyncClear(m_hCard, &count); - AO_AsyncClear(m_hCard, &count, 0); - - GetDlgItem( IDC_BT_START )->EnableWindow(TRUE); -} - -void C9223cdmaDlg::OnStart() -{ - // TODO: Add your control notification handler code here - DWORD mem_size; - CString strTemp; - I16 err; - U32 vi; - double fTmp; - - GetDlgItem( IDC_BT_START )->EnableWindow(FALSE); - - /***************** begin of AI buffer setup *****************/ - if (m_hAIMem1 != NULL) - { - GlobalUnfix(m_hAIMem1); - GlobalUnlock(m_hAIMem1); - GlobalFree(m_hAIMem1); - - m_hAIMem1 = NULL; - } - - if (m_hAIMem2 != NULL) - { - GlobalUnfix(m_hAIMem2); - GlobalUnlock(m_hAIMem2); - GlobalFree(m_hAIMem2); - - m_hAIMem2 = NULL; - } - - // allocate a memory for user DMA buffer - mem_size = AI_READ_COUNT * sizeof(I16); - - m_hAIMem1 = GlobalAlloc(GMEM_FIXED | GMEM_ZEROINIT, mem_size); - m_pAIBuf1 = (U16*) GlobalLock(m_hAIMem1); - if (m_pAIBuf1 == NULL ) - { - AfxMessageBox( TEXT("AI Memory allocation failed"), MB_OK); - return; - } - GlobalFix(m_hAIMem1); - - m_hAIMem2 = GlobalAlloc(GMEM_FIXED | GMEM_ZEROINIT, mem_size); - m_pAIBuf2 = (U16*) GlobalLock(m_hAIMem2); - if (m_pAIBuf2 == NULL ) - { - AfxMessageBox( TEXT("AI Memory allocation failed"), MB_OK); - return; - } - GlobalFix(m_hAIMem2); - - /***************** end of AI buffer setup *****************/ - - /***************** begin of AO buffer setup *****************/ - m_dwWriteCount = GetDlgItemInt(IDC_EDIT_BUF_SIZE); - - if (m_hAOMem1 != NULL) - { - GlobalUnfix(m_hAOMem1); - GlobalUnlock(m_hAOMem1); - GlobalFree(m_hAOMem1); - - m_hAOMem1 = NULL; - } - - if (m_hAOMem2 != NULL) - { - GlobalUnfix(m_hAOMem2); - GlobalUnlock(m_hAOMem2); - GlobalFree(m_hAOMem2); - - m_hAOMem2 = NULL; - } - - // allocate a memory for user DMA buffer - mem_size = m_dwWriteCount * sizeof(U32); - - m_hAOMem1 = GlobalAlloc(GMEM_FIXED | GMEM_ZEROINIT, mem_size); - m_pAOBuf1 = (U32*) GlobalLock(m_hAOMem1); - if (m_pAOBuf1 == NULL ) - { - AfxMessageBox( TEXT("AO Memory allocation failed"), MB_OK); - return; - } - GlobalFix(m_hAOMem1); - - for(vi=0; vi> 16) ); // ( n_PlotHeight * ai_data / 65536) ); // ( (n_PlotHeight/2) * ai_data/32768 ) ); - newX = (int)( index*n_PlotWidth/dwDataSize + plotRect.left ); - - if ( index == 0 ) - { - dc_plot.MoveTo( newX, newY ); - } - else - { - dc_plot.MoveTo( m_oldX[cur_channel], m_oldY[cur_channel] ); - dc_plot.LineTo( newX, newY ); - } - - m_oldX[cur_channel] = newX; - m_oldY[cur_channel] = newY; - } - - return 0; -} - -void C9223cdmaDlg::OnTimer(UINT_PTR nIDEvent) -{ - // TODO: Add your message handler code here and/or call default - BOOLEAN HalfReady; - BOOLEAN fstop; - U16 OverrunFlag; - - AI_AsyncDblBufferHalfReady(m_hCard, &HalfReady, &fstop); - - if( HalfReady ) // half-buffer ready - { - if(m_bView == 0) - { - display_buffer_data( m_pAIBuf1 ); - m_bView = 1; - } - else - { - display_buffer_data( m_pAIBuf2 ); - m_bView= 0; - } - - AI_AsyncDblBufferHandled( m_hCard ); - AI_AsyncDblBufferOverrun( m_hCard, 0, &OverrunFlag); - - if(OverrunFlag) - { - m_dwOverrunCnt++; - AI_AsyncDblBufferOverrun( m_hCard, 1, NULL ); - } - - - } - - CDialog::OnTimer(nIDEvent); -} - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AODma_ExtConvSrc/9223cdmaDlg.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AODma_ExtConvSrc/9223cdmaDlg.h deleted file mode 100644 index 76f7227..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AODma_ExtConvSrc/9223cdmaDlg.h +++ /dev/null @@ -1,83 +0,0 @@ - -// 9223cdmaDlg.h : header file -#pragma once -#include "afxcmn.h" -#include "afxwin.h" - -#include "Dask64.h" - -// C9223cdmaDlg dialog -class C9223cdmaDlg : public CDialog -{ -// Construction -public: - C9223cdmaDlg(I16 hCard, CWnd* pParent = NULL); // standard constructor - -// Dialog Data - enum { IDD = IDD_9223DMA_DIALOG }; - - protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - - -// Implementation -protected: - HICON m_hIcon; - UINT_PTR m_nTimer; - I16 m_hCard; - U32 m_dwSampIntrv; - HANDLE m_hAIMem1; - HANDLE m_hAIMem2; - U16 *m_pAIBuf1; - U16 *m_pAIBuf2; - U16 m_wAIBufID1; - U16 m_wAIBufID2; - HANDLE m_hAOMem1; - HANDLE m_hAOMem2; - U32 *m_pAOBuf1; - U32 *m_pAOBuf2; - U16 m_wAOBufID1; - U16 m_wAOBufID2; - U16 m_wRange; - int m_oldY[8]; - int m_oldX[8]; - U32 m_dwWriteCount; - U16 m_wPostCount; - U8 m_bView; - U32 m_dwOverrunCnt; - - // Generated message map functions - virtual BOOL OnInitDialog(); - afx_msg void OnSysCommand(UINT nID, LPARAM lParam); - afx_msg void OnPaint(); - afx_msg HCURSOR OnQueryDragIcon(); - DECLARE_MESSAGE_MAP() - -public: - WORD max_val; - WORD min_val; - double max_range; - double min_range; - int n_PlotWidth; - int n_PlotHeight; - int y_divider; - int x_divider; - int m_DisplayScale; - HBRUSH OnBrush; - HBRUSH OffBrush; - CPen RedPen; - CPen GreenPen; - CPen YellowPen; - CPen BluePen; - CPen LTBluePen; - CPen LTRedPen; - CPen LTGreenPen; - CPen WhitePen; - void redraw_display_area(void); - afx_msg void OnDestroy(); - afx_msg void OnVScroll(UINT nSBCode, UINT nPos, CScrollBar* pScrollBar); - afx_msg void OnStart(); - int display_buffer_data(U16* pBuf); - afx_msg void OnTimer(UINT_PTR nIDEvent); - afx_msg void OnStop(); -}; diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AODma_ExtConvSrc/CardIDDlg.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AODma_ExtConvSrc/CardIDDlg.cpp deleted file mode 100644 index dfa5652..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AODma_ExtConvSrc/CardIDDlg.cpp +++ /dev/null @@ -1,64 +0,0 @@ -// CardIDDlg.cpp : implementation file -// -#include "stdafx.h" -#include "9223cdma.h" -#include "9223cdmaDlg.h" -#include "CardIDDlg.h" - -// CCardIDDlg dialog - -IMPLEMENT_DYNAMIC(CCardIDDlg, CDialog) - -CCardIDDlg::CCardIDDlg(int nCardIdx, CWnd* pParent /*=NULL*/) - : CDialog(CCardIDDlg::IDD, pParent) -{ - m_nCardIdx = nCardIdx; -} - -CCardIDDlg::~CCardIDDlg() -{ -} - -void CCardIDDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); - DDX_Control(pDX, IDC_COMBO_CARDID, m_cbCardID); -} - - -BEGIN_MESSAGE_MAP(CCardIDDlg, CDialog) -// ON_CBN_SELCHANGE(IDC_COMBO_CARDID, &CCardIDDlg::OnCbnSelchangeComboCardid) -ON_BN_CLICKED(IDOK, &CCardIDDlg::OnBnClickedOk) -//ON_WM_CTLCOLOR() -END_MESSAGE_MAP() - - -// CCardIDDlg message handlers - - -void CCardIDDlg::OnBnClickedOk() -{ - // TODO: Add your control notification handler code here - -// UpdateData(TRUE); - m_nCardIdx = m_cbCardID.GetCurSel(); - - OnOK(); -} - -BOOL CCardIDDlg::OnInitDialog() -{ - CDialog::OnInitDialog(); - - // TODO: Add extra initialization here - m_cbCardID.SetCurSel( m_nCardIdx ); - - return TRUE; // return TRUE unless you set the focus to a control - // EXCEPTION: OCX Property Pages should return FALSE -} - -// the function to get the selected CardID -int CCardIDDlg::GetCardID(void) -{ - return m_nCardIdx; -} diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AODma_ExtConvSrc/CardIDDlg.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AODma_ExtConvSrc/CardIDDlg.h deleted file mode 100644 index 9c02c58..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AODma_ExtConvSrc/CardIDDlg.h +++ /dev/null @@ -1,32 +0,0 @@ -#pragma once -#include "afxwin.h" - -#include "Dask64.h" - -// CCardIDDlg dialog - -class CCardIDDlg : public CDialog -{ - DECLARE_DYNAMIC(CCardIDDlg) - -public: - CCardIDDlg(int nCardIdx, CWnd* pParent = NULL); // standard constructor - virtual ~CCardIDDlg(); - -// Dialog Data - enum { IDD = IDD_CARDID_DIALOG }; - -protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - - DECLARE_MESSAGE_MAP() -public: - virtual BOOL OnInitDialog(); - afx_msg void OnBnClickedOk(); - // the setting of CardID ComboBox - int m_nCardIdx; - // the control of CardID ComboBox - CComboBox m_cbCardID; - // the function to get the selected CardID - int GetCardID(void); -}; diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AODma_ExtConvSrc/ReadMe.txt b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AODma_ExtConvSrc/ReadMe.txt deleted file mode 100644 index d1c88f4..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AODma_ExtConvSrc/ReadMe.txt +++ /dev/null @@ -1,93 +0,0 @@ -================================================================================ - MICROSOFT FOUNDATION CLASS LIBRARY : 9223cdma Project Overview -=============================================================================== - -The application wizard has created this 9223cdma application for -you. This application not only demonstrates the basics of using the Microsoft -Foundation Classes but is also a starting point for writing your application. - -This file contains a summary of what you will find in each of the files that -make up your 9223cdma application. - -9223cdma.vcproj - This is the main project file for VC++ projects generated using an application wizard. - It contains information about the version of Visual C++ that generated the file, and - information about the platforms, configurations, and project features selected with the - application wizard. - -9223cdma.h - This is the main header file for the application. It includes other - project specific headers (including Resource.h) and declares the - C9223cdmaApp application class. - -9223cdma.cpp - This is the main application source file that contains the application - class C9223cdmaApp. - -9223cdma.rc - This is a listing of all of the Microsoft Windows resources that the - program uses. It includes the icons, bitmaps, and cursors that are stored - in the RES subdirectory. This file can be directly edited in Microsoft - Visual C++. Your project resources are in 1033. - -res\9223cdma.ico - This is an icon file, which is used as the application's icon. This - icon is included by the main resource file 9223cdma.rc. - -res\My9223cdma.rc2 - This file contains resources that are not edited by Microsoft - Visual C++. You should place all resources not editable by - the resource editor in this file. - - -///////////////////////////////////////////////////////////////////////////// - -The application wizard creates one dialog class: - -9223cdmaDlg.h, 9223cdmaDlg.cpp - the dialog - These files contain your C9223cdmaDlg class. This class defines - the behavior of your application's main dialog. The dialog's template is - in 9223cdma.rc, which can be edited in Microsoft Visual C++. - - -///////////////////////////////////////////////////////////////////////////// - -Other Features: - -ActiveX Controls - The application includes support to use ActiveX controls. - -///////////////////////////////////////////////////////////////////////////// - -Other standard files: - -StdAfx.h, StdAfx.cpp - These files are used to build a precompiled header (PCH) file - named 9223cdma.pch and a precompiled types file named StdAfx.obj. - -Resource.h - This is the standard header file, which defines new resource IDs. - Microsoft Visual C++ reads and updates this file. - -9223cdma.manifest - Application manifest files are used by Windows XP to describe an applications - dependency on specific versions of Side-by-Side assemblies. The loader uses this - information to load the appropriate assembly from the assembly cache or private - from the application. The Application manifest maybe included for redistribution - as an external .manifest file that is installed in the same folder as the application - executable or it may be included in the executable in the form of a resource. -///////////////////////////////////////////////////////////////////////////// - -Other notes: - -The application wizard uses "TODO:" to indicate parts of the source code you -should add to or customize. - -If your application uses MFC in a shared DLL, you will need -to redistribute the MFC DLLs. If your application is in a language -other than the operating system's locale, you will also have to -redistribute the corresponding localized resources MFC90XXX.DLL. -For more information on both of these topics, please see the section on -redistributing Visual C++ applications in MSDN documentation. - -///////////////////////////////////////////////////////////////////////////// diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AODma_ExtConvSrc/res/9223cdma.ico b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AODma_ExtConvSrc/res/9223cdma.ico deleted file mode 100644 index d56fbcd..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AODma_ExtConvSrc/res/9223cdma.ico and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AODma_ExtConvSrc/res/My9223cdma.rc2 b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AODma_ExtConvSrc/res/My9223cdma.rc2 deleted file mode 100644 index 383cde2..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AODma_ExtConvSrc/res/My9223cdma.rc2 +++ /dev/null @@ -1,13 +0,0 @@ -// -// My9111int.RC2 - resources Microsoft Visual C++ does not edit directly -// - -#ifdef APSTUDIO_INVOKED -#error this file is not editable by Microsoft Visual C++ -#endif //APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// Add manually edited resources here... - -///////////////////////////////////////////////////////////////////////////// diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AODma_ExtConvSrc/res/ch_set1.bmp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AODma_ExtConvSrc/res/ch_set1.bmp deleted file mode 100644 index f2374ed..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AODma_ExtConvSrc/res/ch_set1.bmp and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AODma_ExtConvSrc/res/ch_set2.bmp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AODma_ExtConvSrc/res/ch_set2.bmp deleted file mode 100644 index 32d0915..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AODma_ExtConvSrc/res/ch_set2.bmp and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AODma_ExtConvSrc/resource.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AODma_ExtConvSrc/resource.h deleted file mode 100644 index 80a78c9..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AODma_ExtConvSrc/resource.h +++ /dev/null @@ -1,35 +0,0 @@ -//{{NO_DEPENDENCIES}} -// Microsoft Visual C++ generated include file. -// Used by 9223cdma.rc -// -#define IDM_ABOUTBOX 0x0010 -#define IDD_ABOUTBOX 100 -#define IDS_ABOUTBOX 101 -#define IDD_9223DMA_DIALOG 102 -#define IDR_MAINFRAME 128 -#define IDD_CARDID_DIALOG 129 -#define IDB_BITMAP_SET1 131 -#define IDB_BITMAP_SET2 132 -#define IDC_STATIC_DRAW 1000 -#define IDC_COMBO_CARDID 1001 -#define IDC_BT_STOP 1002 -#define IDC_COMBO_CARDTYPE 1003 -#define IDC_BT_START 1004 -#define IDC_EDIT_SCAN_ITERVAL 1005 -#define IDC_SCROLLBAR_RATE 1006 -#define IDC_STATIC_01 1007 -#define IDC_EDIT_BUF_SIZE 1008 -#define IDC_STATIC_2 1009 -#define IDC_EDIT1 1010 -#define IDC_EDIT_OVERRUN 1011 - -// Next default values for new objects -// -#ifdef APSTUDIO_INVOKED -#ifndef APSTUDIO_READONLY_SYMBOLS -#define _APS_NEXT_RESOURCE_VALUE 134 -#define _APS_NEXT_COMMAND_VALUE 32771 -#define _APS_NEXT_CONTROL_VALUE 1012 -#define _APS_NEXT_SYMED_VALUE 101 -#endif -#endif diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AODma_ExtConvSrc/stdafx.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AODma_ExtConvSrc/stdafx.cpp deleted file mode 100644 index ef80626..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AODma_ExtConvSrc/stdafx.cpp +++ /dev/null @@ -1,8 +0,0 @@ - -// stdafx.cpp : source file that includes just the standard includes -// 9111int.pch will be the pre-compiled header -// stdafx.obj will contain the pre-compiled type information - -#include "stdafx.h" - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AODma_ExtConvSrc/stdafx.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AODma_ExtConvSrc/stdafx.h deleted file mode 100644 index 12123e2..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AODma_ExtConvSrc/stdafx.h +++ /dev/null @@ -1,60 +0,0 @@ - -// stdafx.h : include file for standard system include files, -// or project specific include files that are used frequently, -// but are changed infrequently - -#pragma once - -#ifndef _SECURE_ATL -#define _SECURE_ATL 1 -#endif - -#ifndef VC_EXTRALEAN -#define VC_EXTRALEAN // Exclude rarely-used stuff from Windows headers -#endif - -#include "targetver.h" - -#define _ATL_CSTRING_EXPLICIT_CONSTRUCTORS // some CString constructors will be explicit - -// turns off MFC's hiding of some common and often safely ignored warning messages -#define _AFX_ALL_WARNINGS - -#include // MFC core and standard components -#include // MFC extensions - - -#include // MFC Automation classes - - - -#ifndef _AFX_NO_OLE_SUPPORT -#include // MFC support for Internet Explorer 4 Common Controls -#endif -#ifndef _AFX_NO_AFXCMN_SUPPORT -#include // MFC support for Windows Common Controls -#endif // _AFX_NO_AFXCMN_SUPPORT - -#include // MFC support for ribbons and control bars - - - - - - - - - -#ifdef _UNICODE -#if defined _M_IX86 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='x86' publicKeyToken='6595b64144ccf1df' language='*'\"") -#elif defined _M_IA64 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='ia64' publicKeyToken='6595b64144ccf1df' language='*'\"") -#elif defined _M_X64 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='amd64' publicKeyToken='6595b64144ccf1df' language='*'\"") -#else -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='*' publicKeyToken='6595b64144ccf1df' language='*'\"") -#endif -#endif - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AODma_ExtConvSrc/targetver.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AODma_ExtConvSrc/targetver.h deleted file mode 100644 index 11730d5..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AODma_ExtConvSrc/targetver.h +++ /dev/null @@ -1,26 +0,0 @@ - -#pragma once - -// The following macros define the minimum required platform. The minimum required platform -// is the earliest version of Windows, Internet Explorer etc. that has the necessary features to run -// your application. The macros work by enabling all features available on platform versions up to and -// including the version specified. - -// Modify the following defines if you have to target a platform prior to the ones specified below. -// Refer to MSDN for the latest info on corresponding values for different platforms. -#ifndef WINVER // Specifies that the minimum required platform is Windows Vista. -#define WINVER 0x0600 // Change this to the appropriate value to target other versions of Windows. -#endif - -#ifndef _WIN32_WINNT // Specifies that the minimum required platform is Windows Vista. -#define _WIN32_WINNT 0x0600 // Change this to the appropriate value to target other versions of Windows. -#endif - -#ifndef _WIN32_WINDOWS // Specifies that the minimum required platform is Windows 98. -#define _WIN32_WINDOWS 0x0410 // Change this to the appropriate value to target Windows Me or later. -#endif - -#ifndef _WIN32_IE // Specifies that the minimum required platform is Internet Explorer 7.0. -#define _WIN32_IE 0x0700 // Change this to the appropriate value to target other versions of IE. -#endif - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AODma_InfiniteDReTrigger/9111DbInt.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AODma_InfiniteDReTrigger/9111DbInt.suo deleted file mode 100644 index 3fde864..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AODma_InfiniteDReTrigger/9111DbInt.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AODma_InfiniteDReTrigger/9111PostTg.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AODma_InfiniteDReTrigger/9111PostTg.suo deleted file mode 100644 index c59a833..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AODma_InfiniteDReTrigger/9111PostTg.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AODma_InfiniteDReTrigger/9111int.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AODma_InfiniteDReTrigger/9111int.suo deleted file mode 100644 index aaca7d8..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AODma_InfiniteDReTrigger/9111int.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AODma_InfiniteDReTrigger/9116cdma.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AODma_InfiniteDReTrigger/9116cdma.suo deleted file mode 100644 index df9f193..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AODma_InfiniteDReTrigger/9116cdma.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AODma_InfiniteDReTrigger/9118cdma.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AODma_InfiniteDReTrigger/9118cdma.suo deleted file mode 100644 index 9318437..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AODma_InfiniteDReTrigger/9118cdma.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AODma_InfiniteDReTrigger/9221cdma.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AODma_InfiniteDReTrigger/9221cdma.suo deleted file mode 100644 index 9cb61ca..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AODma_InfiniteDReTrigger/9221cdma.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AODma_InfiniteDReTrigger/9222cdma.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AODma_InfiniteDReTrigger/9222cdma.suo deleted file mode 100644 index be7be28..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AODma_InfiniteDReTrigger/9222cdma.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AODma_InfiniteDReTrigger/9223cdma.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AODma_InfiniteDReTrigger/9223cdma.cpp deleted file mode 100644 index f121734..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AODma_InfiniteDReTrigger/9223cdma.cpp +++ /dev/null @@ -1,109 +0,0 @@ - -// 9223cdma.cpp : Defines the class behaviors for the application. -// - -#include "stdafx.h" -#include "9223cdma.h" -#include "9223cdmaDlg.h" -#include "CardIDDlg.h" - -#ifdef _DEBUG -#define new DEBUG_NEW -#endif - - -// C9223cdmaApp - -BEGIN_MESSAGE_MAP(C9223cdmaApp, CWinAppEx) - ON_COMMAND(ID_HELP, &CWinApp::OnHelp) -END_MESSAGE_MAP() - - -// C9223cdmaApp construction - -C9223cdmaApp::C9223cdmaApp() -{ - // TODO: add construction code here, - // Place all significant initialization in InitInstance -} - - -// The one and only C9223cdmaApp object - -C9223cdmaApp theApp; - - -// C9223cdmaApp initialization - -BOOL C9223cdmaApp::InitInstance() -{ - int nCardID = 0; - I16 hCard; - CString strTemp; - INT_PTR nResponse; - - // InitCommonControlsEx() is required on Windows XP if an application - // manifest specifies use of ComCtl32.dll version 6 or later to enable - // visual styles. Otherwise, any window creation will fail. - INITCOMMONCONTROLSEX InitCtrls; - InitCtrls.dwSize = sizeof(InitCtrls); - // Set this to include all the common control classes you want to use - // in your application. - InitCtrls.dwICC = ICC_WIN95_CLASSES; - InitCommonControlsEx(&InitCtrls); - - CWinAppEx::InitInstance(); - - AfxEnableControlContainer(); - - // Standard initialization - // If you are not using these features and wish to reduce the size - // of your final executable, you should remove from the following - // the specific initialization routines you do not need - // Change the registry key under which our settings are stored - // TODO: You should modify this string to be something appropriate - // such as the name of your company or organization - SetRegistryKey(_T("Local AppWizard-Generated Applications")); - - CCardIDDlg CardDlg( nCardID ); - - nResponse = CardDlg.DoModal(); - if (nResponse == IDOK) - { - nCardID = CardDlg.GetCardID(); - - if ((hCard=Register_Card(PCI_9223, nCardID)) < 0) - { - strTemp.Format( TEXT("Register_Card Error = %d"), hCard); - AfxMessageBox( strTemp ); - } - else - { - C9223cdmaDlg dlg(hCard); - m_pMainWnd = &dlg; - nResponse = dlg.DoModal(); - if (nResponse == IDOK) - { - // TODO: Place code here to handle when the dialog is - // dismissed with OK - } - else if (nResponse == IDCANCEL) - { - // TODO: Place code here to handle when the dialog is - // dismissed with Cancel - } - - if (hCard >= 0) Release_Card(hCard); - } - - } - else if (nResponse == IDCANCEL) - { - // TODO: Place code here to handle when the dialog is - // dismissed with Cancel - } - - // Since the dialog has been closed, return FALSE so that we exit the - // application, rather than start the application's message pump. - return FALSE; -} diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AODma_InfiniteDReTrigger/9223cdma.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AODma_InfiniteDReTrigger/9223cdma.h deleted file mode 100644 index 27ba83d..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AODma_InfiniteDReTrigger/9223cdma.h +++ /dev/null @@ -1,34 +0,0 @@ - -// 9223cdma.h : main header file for the PROJECT_NAME application -// - -#pragma once - -#ifndef __AFXWIN_H__ - #error "include 'stdafx.h' before including this file for PCH" -#endif - -#include "resource.h" // main symbols - -#define AI_MODE_DMA 0 -#define AI_MODE_INT 1 - -// C9223cdmaApp: -// See 9223cdma.cpp for the implementation of this class -// - -class C9223cdmaApp : public CWinAppEx -{ -public: - C9223cdmaApp(); - -// Overrides - public: - virtual BOOL InitInstance(); - -// Implementation - - DECLARE_MESSAGE_MAP() -}; - -extern C9223cdmaApp theApp; \ No newline at end of file diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AODma_InfiniteDReTrigger/9223cdma.rc b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AODma_InfiniteDReTrigger/9223cdma.rc deleted file mode 100644 index e5bf814..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AODma_InfiniteDReTrigger/9223cdma.rc +++ /dev/null @@ -1,286 +0,0 @@ -// Microsoft Visual C++ generated resource script. -// -#include "resource.h" - -#define APSTUDIO_READONLY_SYMBOLS -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 2 resource. -// -#ifndef APSTUDIO_INVOKED -#include "targetver.h" -#endif -#include "afxres.h" - -///////////////////////////////////////////////////////////////////////////// -#undef APSTUDIO_READONLY_SYMBOLS - -///////////////////////////////////////////////////////////////////////////// -// Chinese (Taiwan) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_CHT) -#ifdef _WIN32 -LANGUAGE LANG_CHINESE, SUBLANG_CHINESE_TRADITIONAL -#pragma code_page(950) -#endif //_WIN32 - -#ifdef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// TEXTINCLUDE -// - -1 TEXTINCLUDE -BEGIN - "resource.h\0" -END - -2 TEXTINCLUDE -BEGIN - "#ifndef APSTUDIO_INVOKED\r\n" - "#include ""targetver.h""\r\n" - "#endif\r\n" - "#include ""afxres.h""\r\n" - "\0" -END - -3 TEXTINCLUDE -BEGIN - "#define _AFX_NO_SPLITTER_RESOURCES\r\n" - "#define _AFX_NO_OLE_RESOURCES\r\n" - "#define _AFX_NO_TRACKER_RESOURCES\r\n" - "#define _AFX_NO_PROPERTY_RESOURCES\r\n" - "\r\n" - "#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)\r\n" - "LANGUAGE 9, 1\r\n" - "#pragma code_page(1252)\r\n" - "#include ""res\\My9223cdma.rc2"" // non-Microsoft Visual C++ edited resources\r\n" - "#include ""afxres.rc"" // Standard components\r\n" - "#endif\r\n" - "\0" -END - -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// Icon -// - -// Icon with lowest ID value placed first to ensure application icon -// remains consistent on all systems. -IDR_MAINFRAME ICON "res\\9223cdma.ico" -#endif // Chinese (Taiwan) resources -///////////////////////////////////////////////////////////////////////////// - - -///////////////////////////////////////////////////////////////////////////// -// English (U.S.) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -#ifdef _WIN32 -LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US -#pragma code_page(1252) -#endif //_WIN32 - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog -// - -IDD_ABOUTBOX DIALOGEX 0, 0, 170, 62 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "About 9223cdma" -FONT 8, "MS Shell Dlg", 0, 0, 0x1 -BEGIN - ICON IDR_MAINFRAME,IDC_STATIC,14,14,21,20 - LTEXT "9223cdma, Version 1.0",IDC_STATIC,42,14,114,8,SS_NOPREFIX - LTEXT "Copyright (C) 2010",IDC_STATIC,42,26,114,8 - DEFPUSHBUTTON "OK",IDOK,113,41,50,14,WS_GROUP -END - -IDD_9223DMA_DIALOG DIALOGEX 0, 0, 353, 239 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU -EXSTYLE WS_EX_APPWINDOW -CAPTION -"PCI-9223 AO Infinite Re-trigger (four sine-wave pattern /w each trigger)" -FONT 8, "MS Shell Dlg", 0, 0, 0x1 -BEGIN - GROUPBOX "",IDC_STATIC_DRAW,46,71,299,161,NOT WS_VISIBLE - LTEXT "Range : +/- 10V",IDC_STATIC,294,62,52,11 - LTEXT "Write Count :",IDC_STATIC,149,31,44,9 - EDITTEXT IDC_EDIT_SCAN_ITERVAL,63,44,49,14,ES_AUTOHSCROLL | ES_READONLY - LTEXT "Update Interval :",IDC_STATIC,65,31,57,9 - SCROLLBAR IDC_SCROLLBAR_RATE,113,44,9,11,SBS_VERT - PUSHBUTTON "Start",IDC_BT_START,227,36,55,22 - EDITTEXT IDC_EDIT_BUF_SIZE,143,44,51,14,ES_AUTOHSCROLL - PUSHBUTTON "Stop",IDC_BT_STOP,289,36,55,22 - LTEXT "Please check the AO0 (pin-16) to AI0 (pin-34) , and the analog output will be loggeg in following panel.",IDC_STATIC,16,7,328,15 - LTEXT "The extrenal digital trigger : GPI0 ",IDC_STATIC,15,18,328,15 -END - -IDD_CARDID_DIALOG DIALOGEX 0, 0, 174, 96 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "Card ID" -FONT 8, "MS Shell Dlg", 400, 0, 0x1 -BEGIN - COMBOBOX IDC_COMBO_CARDID,78,24,71,126,CBS_DROPDOWN | WS_VSCROLL | WS_TABSTOP - LTEXT "Card Number",IDC_STATIC_01,23,25,46,12 - PUSHBUTTON "OK",IDOK,22,59,58,19 - PUSHBUTTON "CANCEL",IDCANCEL,86,59,58,19 -END - - -///////////////////////////////////////////////////////////////////////////// -// -// Version -// - -VS_VERSION_INFO VERSIONINFO - FILEVERSION 1,0,0,1 - PRODUCTVERSION 1,0,0,1 - FILEFLAGSMASK 0x3fL -#ifdef _DEBUG - FILEFLAGS 0x1L -#else - FILEFLAGS 0x0L -#endif - FILEOS 0x4L - FILETYPE 0x1L - FILESUBTYPE 0x0L -BEGIN - BLOCK "StringFileInfo" - BEGIN - BLOCK "040904e4" - BEGIN - VALUE "CompanyName", "TODO: " - VALUE "FileDescription", "TODO: " - VALUE "FileVersion", "1.0.0.1" - VALUE "InternalName", "9223cdma.exe" - VALUE "LegalCopyright", "TODO: (c) . All rights reserved." - VALUE "OriginalFilename", "9223cdma.exe" - VALUE "ProductName", "TODO: " - VALUE "ProductVersion", "1.0.0.1" - END - END - BLOCK "VarFileInfo" - BEGIN - VALUE "Translation", 0x409, 1252 - END -END - - -///////////////////////////////////////////////////////////////////////////// -// -// DESIGNINFO -// - -#ifdef APSTUDIO_INVOKED -GUIDELINES DESIGNINFO -BEGIN - IDD_ABOUTBOX, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 163 - TOPMARGIN, 7 - BOTTOMMARGIN, 55 - END - - IDD_CARDID_DIALOG, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 167 - TOPMARGIN, 7 - BOTTOMMARGIN, 89 - END -END -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog Info -// - -IDD_CARDID_DIALOG DLGINIT -BEGIN - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0030, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0031, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0032, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0033, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0034, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0035, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0036, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0037, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0038, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0039, - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3031, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3131, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3231, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3331, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3431, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3531, "\000" - 0 -END - - -///////////////////////////////////////////////////////////////////////////// -// -// Bitmap -// - -IDB_BITMAP_SET1 BITMAP "res\\ch_set1.bmp" -IDB_BITMAP_SET2 BITMAP "res\\ch_set2.bmp" - -///////////////////////////////////////////////////////////////////////////// -// -// String Table -// - -STRINGTABLE -BEGIN - IDS_ABOUTBOX "&About 9223cdma..." -END - -#endif // English (U.S.) resources -///////////////////////////////////////////////////////////////////////////// - - - -#ifndef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 3 resource. -// -#define _AFX_NO_SPLITTER_RESOURCES -#define _AFX_NO_OLE_RESOURCES -#define _AFX_NO_TRACKER_RESOURCES -#define _AFX_NO_PROPERTY_RESOURCES - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -LANGUAGE 9, 1 -#pragma code_page(1252) -#include "res\My9223cdma.rc2" // non-Microsoft Visual C++ edited resources -#include "afxres.rc" // Standard components -#endif - -///////////////////////////////////////////////////////////////////////////// -#endif // not APSTUDIO_INVOKED - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AODma_InfiniteDReTrigger/9223cdma.sln b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AODma_InfiniteDReTrigger/9223cdma.sln deleted file mode 100644 index 538cc7b..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AODma_InfiniteDReTrigger/9223cdma.sln +++ /dev/null @@ -1,20 +0,0 @@ - -Microsoft Visual Studio Solution File, Format Version 10.00 -# Visual Studio 2008 -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "9223cdma", "9223cdma.vcproj", "{702163FB-B6DF-4EF5-9491-FC54D71509BC}" -EndProject -Global - GlobalSection(SolutionConfigurationPlatforms) = preSolution - Debug|x64 = Debug|x64 - Release|x64 = Release|x64 - EndGlobalSection - GlobalSection(ProjectConfigurationPlatforms) = postSolution - {702163FB-B6DF-4EF5-9491-FC54D71509BC}.Debug|x64.ActiveCfg = Debug|x64 - {702163FB-B6DF-4EF5-9491-FC54D71509BC}.Debug|x64.Build.0 = Debug|x64 - {702163FB-B6DF-4EF5-9491-FC54D71509BC}.Release|x64.ActiveCfg = Release|x64 - {702163FB-B6DF-4EF5-9491-FC54D71509BC}.Release|x64.Build.0 = Release|x64 - EndGlobalSection - GlobalSection(SolutionProperties) = preSolution - HideSolutionNode = FALSE - EndGlobalSection -EndGlobal diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AODma_InfiniteDReTrigger/9223cdma.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AODma_InfiniteDReTrigger/9223cdma.suo deleted file mode 100644 index 84c4d0e..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AODma_InfiniteDReTrigger/9223cdma.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AODma_InfiniteDReTrigger/9223cdma.vcproj b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AODma_InfiniteDReTrigger/9223cdma.vcproj deleted file mode 100644 index c3e2af5..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AODma_InfiniteDReTrigger/9223cdma.vcproj +++ /dev/null @@ -1,294 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AODma_InfiniteDReTrigger/9223cdmaDlg.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AODma_InfiniteDReTrigger/9223cdmaDlg.cpp deleted file mode 100644 index 812c6fe..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AODma_InfiniteDReTrigger/9223cdmaDlg.cpp +++ /dev/null @@ -1,664 +0,0 @@ - -// 9223cdmaDlg.cpp : implementation file -// - -#include "stdafx.h" -#include "9223cdma.h" -#include "9223cdmaDlg.h" -#include "math.h" - -#ifdef _DEBUG -#define new DEBUG_NEW -#endif - -#ifndef M_PI -#define M_PI 3.14159265359 -#endif - -#define P922X_TIMEBASE 80000000.0 -#define AI_READ_COUNT 8000 -#define AI_SAMPLE_INTERV 10000 - -CRect plotRect; - -// CAboutDlg dialog used for App About - -class CAboutDlg : public CDialog -{ -public: - CAboutDlg(); - -// Dialog Data - enum { IDD = IDD_ABOUTBOX }; - - protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - -// Implementation -protected: - DECLARE_MESSAGE_MAP() -}; - -CAboutDlg::CAboutDlg() : CDialog(CAboutDlg::IDD) -{ -} - -void CAboutDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); -} - -BEGIN_MESSAGE_MAP(CAboutDlg, CDialog) -END_MESSAGE_MAP() - - -// C9223cdmaDlg dialog - - - - -C9223cdmaDlg::C9223cdmaDlg(I16 hCard, CWnd* pParent /*=NULL*/) - : CDialog(C9223cdmaDlg::IDD, pParent) -{ - m_hIcon = AfxGetApp()->LoadIcon(IDR_MAINFRAME); - - n_PlotWidth = n_PlotHeight = -1; - OnBrush = OffBrush = NULL; - - min_val = 0x00; - max_val = 0xFFFF; - - m_dwSampIntrv = 10000; - - m_hCard = hCard; - - m_nTimer = -1; - m_hAIMem1 = NULL; - m_hAIMem2 = NULL; - - m_hAOMem1 = NULL; - m_hAOMem2 = NULL; - - m_wRange = AD_B_10_V; - max_range = 10.0; - min_range = -10.0; - - m_dwWriteCount = 4096; - m_wPostCount = 512; - - m_dwOverrunCnt = 0; - - -} - -void C9223cdmaDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); -} - -BEGIN_MESSAGE_MAP(C9223cdmaDlg, CDialog) - ON_WM_SYSCOMMAND() - ON_WM_PAINT() - ON_WM_QUERYDRAGICON() - //}}AFX_MSG_MAP - ON_WM_DESTROY() - ON_WM_VSCROLL() - ON_BN_CLICKED(IDC_BT_START, &C9223cdmaDlg::OnStart) - ON_BN_CLICKED(IDC_BT_STOP, &C9223cdmaDlg::OnStop) - ON_WM_TIMER() -END_MESSAGE_MAP() - - -// C9223cdmaDlg message handlers - -BOOL C9223cdmaDlg::OnInitDialog() -{ - CDialog::OnInitDialog(); - - // Add "About..." menu item to system menu. - - // IDM_ABOUTBOX must be in the system command range. - ASSERT((IDM_ABOUTBOX & 0xFFF0) == IDM_ABOUTBOX); - ASSERT(IDM_ABOUTBOX < 0xF000); - - CMenu* pSysMenu = GetSystemMenu(FALSE); - if (pSysMenu != NULL) - { - BOOL bNameValid; - CString strAboutMenu; - bNameValid = strAboutMenu.LoadString(IDS_ABOUTBOX); - ASSERT(bNameValid); - if (!strAboutMenu.IsEmpty()) - { - pSysMenu->AppendMenu(MF_SEPARATOR); - pSysMenu->AppendMenu(MF_STRING, IDM_ABOUTBOX, strAboutMenu); - } - } - - // Set the icon for this dialog. The framework does this automatically - // when the application's main window is not a dialog - SetIcon(m_hIcon, TRUE); // Set big icon - SetIcon(m_hIcon, FALSE); // Set small icon - - // TODO: Add extra initialization here - x_divider = 5; y_divider = 4; - - OnBrush = CreateSolidBrush( RGB(255,0,0) ); - OffBrush = CreateSolidBrush( RGB(125,0,0) ); - - RedPen.CreatePen( PS_SOLID, 1, RGB(255,0,0)); - GreenPen.CreatePen( PS_SOLID, 1, RGB(0,255,0)); - YellowPen.CreatePen( PS_SOLID, 1, RGB(255,255,0)); - BluePen.CreatePen( PS_SOLID, 1, RGB(0,0,255)); - LTBluePen.CreatePen( PS_SOLID, 1, RGB(0,128,255)); - LTRedPen.CreatePen( PS_SOLID, 1, RGB(255,128,0)); - LTGreenPen.CreatePen( PS_SOLID, 1, RGB(0,128,0)); - WhitePen.CreatePen( PS_SOLID, 1, RGB(255,255,255)); - - - if( n_PlotWidth == -1 && n_PlotHeight == -1 ) - { - ((CWnd*)GetDlgItem(IDC_STATIC_DRAW))->GetWindowRect(&plotRect); - ScreenToClient(&plotRect); - - n_PlotWidth = min( plotRect.Width(), 512); - n_PlotHeight = plotRect.Height() - 10; - } - - // set the default SampleRate - - SetDlgItemInt( IDC_EDIT_BUF_SIZE, (UINT)(m_dwWriteCount) ); - SetDlgItemInt( IDC_EDIT_SCAN_ITERVAL, (UINT)(m_dwSampIntrv) ); - - return TRUE; // return TRUE unless you set the focus to a control -} - -void C9223cdmaDlg::OnSysCommand(UINT nID, LPARAM lParam) -{ - if ((nID & 0xFFF0) == IDM_ABOUTBOX) - { - CAboutDlg dlgAbout; - dlgAbout.DoModal(); - } - else - { - CDialog::OnSysCommand(nID, lParam); - } -} - -// If you add a minimize button to your dialog, you will need the code below -// to draw the icon. For MFC applications using the document/view model, -// this is automatically done for you by the framework. - -void C9223cdmaDlg::OnPaint() -{ - if (IsIconic()) - { - CPaintDC dc(this); // device context for painting - - SendMessage(WM_ICONERASEBKGND, reinterpret_cast(dc.GetSafeHdc()), 0); - - // Center icon in client rectangle - int cxIcon = GetSystemMetrics(SM_CXICON); - int cyIcon = GetSystemMetrics(SM_CYICON); - CRect rect; - GetClientRect(&rect); - int x = (rect.Width() - cxIcon + 1) / 2; - int y = (rect.Height() - cyIcon + 1) / 2; - - // Draw the icon - dc.DrawIcon(x, y, m_hIcon); - } - else - { - redraw_display_area(); - CDialog::OnPaint(); - } -} - -// The system calls this function to obtain the cursor to display while the user drags -// the minimized window. -HCURSOR C9223cdmaDlg::OnQueryDragIcon() -{ - return static_cast(m_hIcon); -} - - -void C9223cdmaDlg::redraw_display_area(void) -{ - CPen *oldPen; - - int oldMode; - COLORREF oldColor; - - CString y_lable; - - CPen minor_tick( PS_SOLID,1,RGB(132,130,132) ); -// CPen y_grid( PS_SOLID,1,RGB(206,203,132) ); - - int i, x_intv, y_intv; -// long total_sec; - - CClientDC dc_plot(this); - - // draw the base-line for x-y axises - oldPen = (CPen *)dc_plot.SelectStockObject(BLACK_PEN); - - // redraw the background - dc_plot.FillSolidRect( plotRect, RGB(0,0,0) ); - - // Re-Draw the AREA for Y-Lable - { - CBrush DIALOG_BRUSH; - CRect redraw_area, full_client; - - GetClientRect(&full_client); - ScreenToClient(&full_client); - - redraw_area.left = full_client.left; - redraw_area.top = plotRect.top - 5; - redraw_area.right = plotRect.left - 3; - redraw_area.bottom = plotRect.bottom + 10; - - DIALOG_BRUSH.CreateSysColorBrush( COLOR_3DFACE ); - - dc_plot.FillRect( redraw_area, &DIALOG_BRUSH ); - - DIALOG_BRUSH.DeleteObject(); - } - - dc_plot.MoveTo( plotRect.left - 3, plotRect.top ); - dc_plot.LineTo( plotRect.left - 3, plotRect.bottom ); - - // calculate the interval for tick/grid - y_intv = (plotRect.Height() - 10) /y_divider; - x_intv = plotRect.Width()/x_divider; - - - // set the color for tick - oldColor = dc_plot.SetTextColor( RGB(0,0,0) ); - oldMode = dc_plot.SetBkMode( TRANSPARENT ); - - for( i=0; i<= y_divider; i++ ) - { - CString tick_str; - CRect tmp_rect, tick_rect; - - // draw the tick for y-axis - dc_plot.MoveTo( plotRect.left -12, plotRect.bottom -5 - (i*y_intv) ); - dc_plot.LineTo( plotRect.left -3, plotRect.bottom -5 - (i*y_intv) ); - - tick_str.Format( _T("%.1f"), ( ((max_range-min_range)/y_divider) * i)+min_range ); - - // calculate the rectangle for text - dc_plot.DrawText( tick_str, &tmp_rect, DT_CALCRECT|DT_SINGLELINE ); - tick_rect.right = plotRect.left -14; - tick_rect.left = tick_rect.right - tmp_rect.Width(); - tick_rect.top = plotRect.bottom -5 - (i*y_intv) - tmp_rect.Height()/2; - tick_rect.bottom = tick_rect.top + tmp_rect.Height(); - - // draw the text - dc_plot.DrawText( tick_str, &tick_rect, DT_SINGLELINE|DT_RIGHT ); - - } - - // draw the minor_tick for Y axises - dc_plot.SelectObject(&minor_tick); - for( i=0; i< y_divider; i++ ) - { - dc_plot.MoveTo( plotRect.left -9, plotRect.bottom -5 - (i*y_intv) - y_intv/2 ); - dc_plot.LineTo( plotRect.left -4, plotRect.bottom -5 - (i*y_intv) - y_intv/2 ); - } - - dc_plot.SetTextColor( oldColor ); - dc_plot.SetBkMode( oldMode ); - dc_plot.SelectObject( oldPen ); -} - -void C9223cdmaDlg::OnDestroy() -{ - CDialog::OnDestroy(); - - // TODO: Add your message handler code here - if( m_nTimer != -1 ) - { - KillTimer( m_nTimer ); - m_nTimer = -1; - } - - // AI buffer - if (m_hAIMem1 != NULL) - { - GlobalUnfix(m_hAIMem1); - GlobalUnlock(m_hAIMem1); - GlobalFree(m_hAIMem1); - - m_hAIMem1 = NULL; - } - - if (m_hAIMem2 != NULL) - { - GlobalUnfix(m_hAIMem2); - GlobalUnlock(m_hAIMem2); - GlobalFree(m_hAIMem2); - - m_hAIMem2 = NULL; - } - - - if( OnBrush != NULL ) - ::DeleteObject( OnBrush ); - - if( OffBrush != NULL ) - ::DeleteObject( OffBrush ); - - RedPen.DeleteObject(); - GreenPen.DeleteObject(); - YellowPen.DeleteObject(); - BluePen.DeleteObject(); - LTBluePen.DeleteObject(); - LTRedPen.DeleteObject(); - LTGreenPen.DeleteObject(); - WhitePen.DeleteObject(); - -} - -void C9223cdmaDlg::OnVScroll(UINT nSBCode, UINT nPos, CScrollBar* pScrollBar) -{ - // TODO: Add your message handler code here and/or call default - switch ( nSBCode ) - { - case SB_LINEUP : - m_dwSampIntrv += 160; - if (m_dwSampIntrv > 40000 ) m_dwSampIntrv = 40000; - break; - case SB_LINEDOWN: - m_dwSampIntrv -= 160; - if (m_dwSampIntrv < 160 ) m_dwSampIntrv = 160; - break; - } - - SetDlgItemInt( IDC_EDIT_SCAN_ITERVAL, (UINT)(m_dwSampIntrv) ); - - CDialog::OnVScroll(nSBCode, nPos, pScrollBar); -} - - -void C9223cdmaDlg::OnStop() -{ - // TODO: Add your control notification handler code here - U32 count; - - if( m_nTimer != -1 ) - { - KillTimer( m_nTimer ); - m_nTimer = -1; - } - - AI_AsyncClear(m_hCard, &count); - AO_AsyncClear(m_hCard, &count, 0); - - GetDlgItem( IDC_BT_START )->EnableWindow(TRUE); -} - -void C9223cdmaDlg::OnStart() -{ - // TODO: Add your control notification handler code here - DWORD mem_size; - CString strTemp; - I16 err; - U32 vi; - double fTmp; - - GetDlgItem( IDC_BT_START )->EnableWindow(FALSE); - - /***************** begin of AI buffer setup *****************/ - if (m_hAIMem1 != NULL) - { - GlobalUnfix(m_hAIMem1); - GlobalUnlock(m_hAIMem1); - GlobalFree(m_hAIMem1); - - m_hAIMem1 = NULL; - } - - if (m_hAIMem2 != NULL) - { - GlobalUnfix(m_hAIMem2); - GlobalUnlock(m_hAIMem2); - GlobalFree(m_hAIMem2); - - m_hAIMem2 = NULL; - } - - // allocate a memory for user DMA buffer - mem_size = AI_READ_COUNT * sizeof(I16); - - m_hAIMem1 = GlobalAlloc(GMEM_FIXED | GMEM_ZEROINIT, mem_size); - m_pAIBuf1 = (U16*) GlobalLock(m_hAIMem1); - if (m_pAIBuf1 == NULL ) - { - AfxMessageBox( TEXT("AI Memory allocation failed"), MB_OK); - return; - } - GlobalFix(m_hAIMem1); - - m_hAIMem2 = GlobalAlloc(GMEM_FIXED | GMEM_ZEROINIT, mem_size); - m_pAIBuf2 = (U16*) GlobalLock(m_hAIMem2); - if (m_pAIBuf2 == NULL ) - { - AfxMessageBox( TEXT("AI Memory allocation failed"), MB_OK); - return; - } - GlobalFix(m_hAIMem2); - - /***************** end of AI buffer setup *****************/ - - /***************** begin of AO buffer setup *****************/ - m_dwWriteCount = GetDlgItemInt(IDC_EDIT_BUF_SIZE); - - if (m_hAOMem1 != NULL) - { - GlobalUnfix(m_hAOMem1); - GlobalUnlock(m_hAOMem1); - GlobalFree(m_hAOMem1); - - m_hAOMem1 = NULL; - } - - if (m_hAOMem2 != NULL) - { - GlobalUnfix(m_hAOMem2); - GlobalUnlock(m_hAOMem2); - GlobalFree(m_hAOMem2); - - m_hAOMem2 = NULL; - } - - // allocate a memory for user DMA buffer - mem_size = m_dwWriteCount * sizeof(U32); - - m_hAOMem1 = GlobalAlloc(GMEM_FIXED | GMEM_ZEROINIT, mem_size); - m_pAOBuf1 = (U32*) GlobalLock(m_hAOMem1); - if (m_pAOBuf1 == NULL ) - { - AfxMessageBox( TEXT("AO Memory allocation failed"), MB_OK); - return; - } - GlobalFix(m_hAOMem1); - - for(vi=0; vi> 16) ); // ( n_PlotHeight * ai_data / 65536) ); // ( (n_PlotHeight/2) * ai_data/32768 ) ); - newX = (int)( index*n_PlotWidth/dwDataSize + plotRect.left ); - - if ( index == 0 ) - { - dc_plot.MoveTo( newX, newY ); - } - else - { - dc_plot.MoveTo( m_oldX[cur_channel], m_oldY[cur_channel] ); - dc_plot.LineTo( newX, newY ); - } - - m_oldX[cur_channel] = newX; - m_oldY[cur_channel] = newY; - } - - return 0; -} - -void C9223cdmaDlg::OnTimer(UINT_PTR nIDEvent) -{ - // TODO: Add your message handler code here and/or call default - BOOLEAN HalfReady; - BOOLEAN fstop; - U16 OverrunFlag; - - AI_AsyncDblBufferHalfReady(m_hCard, &HalfReady, &fstop); - - if( HalfReady ) // half-buffer ready - { - if(m_bView == 0) - { - display_buffer_data( m_pAIBuf1 ); - m_bView = 1; - } - else - { - display_buffer_data( m_pAIBuf2 ); - m_bView= 0; - } - - AI_AsyncDblBufferHandled( m_hCard ); - AI_AsyncDblBufferOverrun( m_hCard, 0, &OverrunFlag); - - if(OverrunFlag) - { - m_dwOverrunCnt++; - AI_AsyncDblBufferOverrun( m_hCard, 1, NULL ); - } - - - } - - CDialog::OnTimer(nIDEvent); -} - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AODma_InfiniteDReTrigger/9223cdmaDlg.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AODma_InfiniteDReTrigger/9223cdmaDlg.h deleted file mode 100644 index 76f7227..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AODma_InfiniteDReTrigger/9223cdmaDlg.h +++ /dev/null @@ -1,83 +0,0 @@ - -// 9223cdmaDlg.h : header file -#pragma once -#include "afxcmn.h" -#include "afxwin.h" - -#include "Dask64.h" - -// C9223cdmaDlg dialog -class C9223cdmaDlg : public CDialog -{ -// Construction -public: - C9223cdmaDlg(I16 hCard, CWnd* pParent = NULL); // standard constructor - -// Dialog Data - enum { IDD = IDD_9223DMA_DIALOG }; - - protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - - -// Implementation -protected: - HICON m_hIcon; - UINT_PTR m_nTimer; - I16 m_hCard; - U32 m_dwSampIntrv; - HANDLE m_hAIMem1; - HANDLE m_hAIMem2; - U16 *m_pAIBuf1; - U16 *m_pAIBuf2; - U16 m_wAIBufID1; - U16 m_wAIBufID2; - HANDLE m_hAOMem1; - HANDLE m_hAOMem2; - U32 *m_pAOBuf1; - U32 *m_pAOBuf2; - U16 m_wAOBufID1; - U16 m_wAOBufID2; - U16 m_wRange; - int m_oldY[8]; - int m_oldX[8]; - U32 m_dwWriteCount; - U16 m_wPostCount; - U8 m_bView; - U32 m_dwOverrunCnt; - - // Generated message map functions - virtual BOOL OnInitDialog(); - afx_msg void OnSysCommand(UINT nID, LPARAM lParam); - afx_msg void OnPaint(); - afx_msg HCURSOR OnQueryDragIcon(); - DECLARE_MESSAGE_MAP() - -public: - WORD max_val; - WORD min_val; - double max_range; - double min_range; - int n_PlotWidth; - int n_PlotHeight; - int y_divider; - int x_divider; - int m_DisplayScale; - HBRUSH OnBrush; - HBRUSH OffBrush; - CPen RedPen; - CPen GreenPen; - CPen YellowPen; - CPen BluePen; - CPen LTBluePen; - CPen LTRedPen; - CPen LTGreenPen; - CPen WhitePen; - void redraw_display_area(void); - afx_msg void OnDestroy(); - afx_msg void OnVScroll(UINT nSBCode, UINT nPos, CScrollBar* pScrollBar); - afx_msg void OnStart(); - int display_buffer_data(U16* pBuf); - afx_msg void OnTimer(UINT_PTR nIDEvent); - afx_msg void OnStop(); -}; diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AODma_InfiniteDReTrigger/CardIDDlg.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AODma_InfiniteDReTrigger/CardIDDlg.cpp deleted file mode 100644 index dfa5652..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AODma_InfiniteDReTrigger/CardIDDlg.cpp +++ /dev/null @@ -1,64 +0,0 @@ -// CardIDDlg.cpp : implementation file -// -#include "stdafx.h" -#include "9223cdma.h" -#include "9223cdmaDlg.h" -#include "CardIDDlg.h" - -// CCardIDDlg dialog - -IMPLEMENT_DYNAMIC(CCardIDDlg, CDialog) - -CCardIDDlg::CCardIDDlg(int nCardIdx, CWnd* pParent /*=NULL*/) - : CDialog(CCardIDDlg::IDD, pParent) -{ - m_nCardIdx = nCardIdx; -} - -CCardIDDlg::~CCardIDDlg() -{ -} - -void CCardIDDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); - DDX_Control(pDX, IDC_COMBO_CARDID, m_cbCardID); -} - - -BEGIN_MESSAGE_MAP(CCardIDDlg, CDialog) -// ON_CBN_SELCHANGE(IDC_COMBO_CARDID, &CCardIDDlg::OnCbnSelchangeComboCardid) -ON_BN_CLICKED(IDOK, &CCardIDDlg::OnBnClickedOk) -//ON_WM_CTLCOLOR() -END_MESSAGE_MAP() - - -// CCardIDDlg message handlers - - -void CCardIDDlg::OnBnClickedOk() -{ - // TODO: Add your control notification handler code here - -// UpdateData(TRUE); - m_nCardIdx = m_cbCardID.GetCurSel(); - - OnOK(); -} - -BOOL CCardIDDlg::OnInitDialog() -{ - CDialog::OnInitDialog(); - - // TODO: Add extra initialization here - m_cbCardID.SetCurSel( m_nCardIdx ); - - return TRUE; // return TRUE unless you set the focus to a control - // EXCEPTION: OCX Property Pages should return FALSE -} - -// the function to get the selected CardID -int CCardIDDlg::GetCardID(void) -{ - return m_nCardIdx; -} diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AODma_InfiniteDReTrigger/CardIDDlg.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AODma_InfiniteDReTrigger/CardIDDlg.h deleted file mode 100644 index 9c02c58..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AODma_InfiniteDReTrigger/CardIDDlg.h +++ /dev/null @@ -1,32 +0,0 @@ -#pragma once -#include "afxwin.h" - -#include "Dask64.h" - -// CCardIDDlg dialog - -class CCardIDDlg : public CDialog -{ - DECLARE_DYNAMIC(CCardIDDlg) - -public: - CCardIDDlg(int nCardIdx, CWnd* pParent = NULL); // standard constructor - virtual ~CCardIDDlg(); - -// Dialog Data - enum { IDD = IDD_CARDID_DIALOG }; - -protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - - DECLARE_MESSAGE_MAP() -public: - virtual BOOL OnInitDialog(); - afx_msg void OnBnClickedOk(); - // the setting of CardID ComboBox - int m_nCardIdx; - // the control of CardID ComboBox - CComboBox m_cbCardID; - // the function to get the selected CardID - int GetCardID(void); -}; diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AODma_InfiniteDReTrigger/ReadMe.txt b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AODma_InfiniteDReTrigger/ReadMe.txt deleted file mode 100644 index d1c88f4..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AODma_InfiniteDReTrigger/ReadMe.txt +++ /dev/null @@ -1,93 +0,0 @@ -================================================================================ - MICROSOFT FOUNDATION CLASS LIBRARY : 9223cdma Project Overview -=============================================================================== - -The application wizard has created this 9223cdma application for -you. This application not only demonstrates the basics of using the Microsoft -Foundation Classes but is also a starting point for writing your application. - -This file contains a summary of what you will find in each of the files that -make up your 9223cdma application. - -9223cdma.vcproj - This is the main project file for VC++ projects generated using an application wizard. - It contains information about the version of Visual C++ that generated the file, and - information about the platforms, configurations, and project features selected with the - application wizard. - -9223cdma.h - This is the main header file for the application. It includes other - project specific headers (including Resource.h) and declares the - C9223cdmaApp application class. - -9223cdma.cpp - This is the main application source file that contains the application - class C9223cdmaApp. - -9223cdma.rc - This is a listing of all of the Microsoft Windows resources that the - program uses. It includes the icons, bitmaps, and cursors that are stored - in the RES subdirectory. This file can be directly edited in Microsoft - Visual C++. Your project resources are in 1033. - -res\9223cdma.ico - This is an icon file, which is used as the application's icon. This - icon is included by the main resource file 9223cdma.rc. - -res\My9223cdma.rc2 - This file contains resources that are not edited by Microsoft - Visual C++. You should place all resources not editable by - the resource editor in this file. - - -///////////////////////////////////////////////////////////////////////////// - -The application wizard creates one dialog class: - -9223cdmaDlg.h, 9223cdmaDlg.cpp - the dialog - These files contain your C9223cdmaDlg class. This class defines - the behavior of your application's main dialog. The dialog's template is - in 9223cdma.rc, which can be edited in Microsoft Visual C++. - - -///////////////////////////////////////////////////////////////////////////// - -Other Features: - -ActiveX Controls - The application includes support to use ActiveX controls. - -///////////////////////////////////////////////////////////////////////////// - -Other standard files: - -StdAfx.h, StdAfx.cpp - These files are used to build a precompiled header (PCH) file - named 9223cdma.pch and a precompiled types file named StdAfx.obj. - -Resource.h - This is the standard header file, which defines new resource IDs. - Microsoft Visual C++ reads and updates this file. - -9223cdma.manifest - Application manifest files are used by Windows XP to describe an applications - dependency on specific versions of Side-by-Side assemblies. The loader uses this - information to load the appropriate assembly from the assembly cache or private - from the application. The Application manifest maybe included for redistribution - as an external .manifest file that is installed in the same folder as the application - executable or it may be included in the executable in the form of a resource. -///////////////////////////////////////////////////////////////////////////// - -Other notes: - -The application wizard uses "TODO:" to indicate parts of the source code you -should add to or customize. - -If your application uses MFC in a shared DLL, you will need -to redistribute the MFC DLLs. If your application is in a language -other than the operating system's locale, you will also have to -redistribute the corresponding localized resources MFC90XXX.DLL. -For more information on both of these topics, please see the section on -redistributing Visual C++ applications in MSDN documentation. - -///////////////////////////////////////////////////////////////////////////// diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AODma_InfiniteDReTrigger/res/9223cdma.ico b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AODma_InfiniteDReTrigger/res/9223cdma.ico deleted file mode 100644 index d56fbcd..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AODma_InfiniteDReTrigger/res/9223cdma.ico and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AODma_InfiniteDReTrigger/res/My9223cdma.rc2 b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AODma_InfiniteDReTrigger/res/My9223cdma.rc2 deleted file mode 100644 index 383cde2..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AODma_InfiniteDReTrigger/res/My9223cdma.rc2 +++ /dev/null @@ -1,13 +0,0 @@ -// -// My9111int.RC2 - resources Microsoft Visual C++ does not edit directly -// - -#ifdef APSTUDIO_INVOKED -#error this file is not editable by Microsoft Visual C++ -#endif //APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// Add manually edited resources here... - -///////////////////////////////////////////////////////////////////////////// diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AODma_InfiniteDReTrigger/res/ch_set1.bmp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AODma_InfiniteDReTrigger/res/ch_set1.bmp deleted file mode 100644 index f2374ed..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AODma_InfiniteDReTrigger/res/ch_set1.bmp and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AODma_InfiniteDReTrigger/res/ch_set2.bmp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AODma_InfiniteDReTrigger/res/ch_set2.bmp deleted file mode 100644 index 32d0915..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AODma_InfiniteDReTrigger/res/ch_set2.bmp and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AODma_InfiniteDReTrigger/resource.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AODma_InfiniteDReTrigger/resource.h deleted file mode 100644 index 80a78c9..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AODma_InfiniteDReTrigger/resource.h +++ /dev/null @@ -1,35 +0,0 @@ -//{{NO_DEPENDENCIES}} -// Microsoft Visual C++ generated include file. -// Used by 9223cdma.rc -// -#define IDM_ABOUTBOX 0x0010 -#define IDD_ABOUTBOX 100 -#define IDS_ABOUTBOX 101 -#define IDD_9223DMA_DIALOG 102 -#define IDR_MAINFRAME 128 -#define IDD_CARDID_DIALOG 129 -#define IDB_BITMAP_SET1 131 -#define IDB_BITMAP_SET2 132 -#define IDC_STATIC_DRAW 1000 -#define IDC_COMBO_CARDID 1001 -#define IDC_BT_STOP 1002 -#define IDC_COMBO_CARDTYPE 1003 -#define IDC_BT_START 1004 -#define IDC_EDIT_SCAN_ITERVAL 1005 -#define IDC_SCROLLBAR_RATE 1006 -#define IDC_STATIC_01 1007 -#define IDC_EDIT_BUF_SIZE 1008 -#define IDC_STATIC_2 1009 -#define IDC_EDIT1 1010 -#define IDC_EDIT_OVERRUN 1011 - -// Next default values for new objects -// -#ifdef APSTUDIO_INVOKED -#ifndef APSTUDIO_READONLY_SYMBOLS -#define _APS_NEXT_RESOURCE_VALUE 134 -#define _APS_NEXT_COMMAND_VALUE 32771 -#define _APS_NEXT_CONTROL_VALUE 1012 -#define _APS_NEXT_SYMED_VALUE 101 -#endif -#endif diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AODma_InfiniteDReTrigger/stdafx.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AODma_InfiniteDReTrigger/stdafx.cpp deleted file mode 100644 index ef80626..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AODma_InfiniteDReTrigger/stdafx.cpp +++ /dev/null @@ -1,8 +0,0 @@ - -// stdafx.cpp : source file that includes just the standard includes -// 9111int.pch will be the pre-compiled header -// stdafx.obj will contain the pre-compiled type information - -#include "stdafx.h" - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AODma_InfiniteDReTrigger/stdafx.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AODma_InfiniteDReTrigger/stdafx.h deleted file mode 100644 index 12123e2..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AODma_InfiniteDReTrigger/stdafx.h +++ /dev/null @@ -1,60 +0,0 @@ - -// stdafx.h : include file for standard system include files, -// or project specific include files that are used frequently, -// but are changed infrequently - -#pragma once - -#ifndef _SECURE_ATL -#define _SECURE_ATL 1 -#endif - -#ifndef VC_EXTRALEAN -#define VC_EXTRALEAN // Exclude rarely-used stuff from Windows headers -#endif - -#include "targetver.h" - -#define _ATL_CSTRING_EXPLICIT_CONSTRUCTORS // some CString constructors will be explicit - -// turns off MFC's hiding of some common and often safely ignored warning messages -#define _AFX_ALL_WARNINGS - -#include // MFC core and standard components -#include // MFC extensions - - -#include // MFC Automation classes - - - -#ifndef _AFX_NO_OLE_SUPPORT -#include // MFC support for Internet Explorer 4 Common Controls -#endif -#ifndef _AFX_NO_AFXCMN_SUPPORT -#include // MFC support for Windows Common Controls -#endif // _AFX_NO_AFXCMN_SUPPORT - -#include // MFC support for ribbons and control bars - - - - - - - - - -#ifdef _UNICODE -#if defined _M_IX86 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='x86' publicKeyToken='6595b64144ccf1df' language='*'\"") -#elif defined _M_IA64 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='ia64' publicKeyToken='6595b64144ccf1df' language='*'\"") -#elif defined _M_X64 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='amd64' publicKeyToken='6595b64144ccf1df' language='*'\"") -#else -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='*' publicKeyToken='6595b64144ccf1df' language='*'\"") -#endif -#endif - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AODma_InfiniteDReTrigger/targetver.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AODma_InfiniteDReTrigger/targetver.h deleted file mode 100644 index 11730d5..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AODma_InfiniteDReTrigger/targetver.h +++ /dev/null @@ -1,26 +0,0 @@ - -#pragma once - -// The following macros define the minimum required platform. The minimum required platform -// is the earliest version of Windows, Internet Explorer etc. that has the necessary features to run -// your application. The macros work by enabling all features available on platform versions up to and -// including the version specified. - -// Modify the following defines if you have to target a platform prior to the ones specified below. -// Refer to MSDN for the latest info on corresponding values for different platforms. -#ifndef WINVER // Specifies that the minimum required platform is Windows Vista. -#define WINVER 0x0600 // Change this to the appropriate value to target other versions of Windows. -#endif - -#ifndef _WIN32_WINNT // Specifies that the minimum required platform is Windows Vista. -#define _WIN32_WINNT 0x0600 // Change this to the appropriate value to target other versions of Windows. -#endif - -#ifndef _WIN32_WINDOWS // Specifies that the minimum required platform is Windows 98. -#define _WIN32_WINDOWS 0x0410 // Change this to the appropriate value to target Windows Me or later. -#endif - -#ifndef _WIN32_IE // Specifies that the minimum required platform is Internet Explorer 7.0. -#define _WIN32_IE 0x0700 // Change this to the appropriate value to target other versions of IE. -#endif - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AODma_ReTrigger/9111DbInt.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AODma_ReTrigger/9111DbInt.suo deleted file mode 100644 index 3fde864..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AODma_ReTrigger/9111DbInt.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AODma_ReTrigger/9111PostTg.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AODma_ReTrigger/9111PostTg.suo deleted file mode 100644 index c59a833..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AODma_ReTrigger/9111PostTg.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AODma_ReTrigger/9111int.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AODma_ReTrigger/9111int.suo deleted file mode 100644 index aaca7d8..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AODma_ReTrigger/9111int.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AODma_ReTrigger/9116cdma.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AODma_ReTrigger/9116cdma.suo deleted file mode 100644 index df9f193..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AODma_ReTrigger/9116cdma.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AODma_ReTrigger/9118cdma.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AODma_ReTrigger/9118cdma.suo deleted file mode 100644 index 9318437..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AODma_ReTrigger/9118cdma.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AODma_ReTrigger/9221cdma.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AODma_ReTrigger/9221cdma.suo deleted file mode 100644 index 9cb61ca..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AODma_ReTrigger/9221cdma.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AODma_ReTrigger/9222cdma.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AODma_ReTrigger/9222cdma.suo deleted file mode 100644 index 5824d6b..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AODma_ReTrigger/9222cdma.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AODma_ReTrigger/9223cdma.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AODma_ReTrigger/9223cdma.cpp deleted file mode 100644 index f121734..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AODma_ReTrigger/9223cdma.cpp +++ /dev/null @@ -1,109 +0,0 @@ - -// 9223cdma.cpp : Defines the class behaviors for the application. -// - -#include "stdafx.h" -#include "9223cdma.h" -#include "9223cdmaDlg.h" -#include "CardIDDlg.h" - -#ifdef _DEBUG -#define new DEBUG_NEW -#endif - - -// C9223cdmaApp - -BEGIN_MESSAGE_MAP(C9223cdmaApp, CWinAppEx) - ON_COMMAND(ID_HELP, &CWinApp::OnHelp) -END_MESSAGE_MAP() - - -// C9223cdmaApp construction - -C9223cdmaApp::C9223cdmaApp() -{ - // TODO: add construction code here, - // Place all significant initialization in InitInstance -} - - -// The one and only C9223cdmaApp object - -C9223cdmaApp theApp; - - -// C9223cdmaApp initialization - -BOOL C9223cdmaApp::InitInstance() -{ - int nCardID = 0; - I16 hCard; - CString strTemp; - INT_PTR nResponse; - - // InitCommonControlsEx() is required on Windows XP if an application - // manifest specifies use of ComCtl32.dll version 6 or later to enable - // visual styles. Otherwise, any window creation will fail. - INITCOMMONCONTROLSEX InitCtrls; - InitCtrls.dwSize = sizeof(InitCtrls); - // Set this to include all the common control classes you want to use - // in your application. - InitCtrls.dwICC = ICC_WIN95_CLASSES; - InitCommonControlsEx(&InitCtrls); - - CWinAppEx::InitInstance(); - - AfxEnableControlContainer(); - - // Standard initialization - // If you are not using these features and wish to reduce the size - // of your final executable, you should remove from the following - // the specific initialization routines you do not need - // Change the registry key under which our settings are stored - // TODO: You should modify this string to be something appropriate - // such as the name of your company or organization - SetRegistryKey(_T("Local AppWizard-Generated Applications")); - - CCardIDDlg CardDlg( nCardID ); - - nResponse = CardDlg.DoModal(); - if (nResponse == IDOK) - { - nCardID = CardDlg.GetCardID(); - - if ((hCard=Register_Card(PCI_9223, nCardID)) < 0) - { - strTemp.Format( TEXT("Register_Card Error = %d"), hCard); - AfxMessageBox( strTemp ); - } - else - { - C9223cdmaDlg dlg(hCard); - m_pMainWnd = &dlg; - nResponse = dlg.DoModal(); - if (nResponse == IDOK) - { - // TODO: Place code here to handle when the dialog is - // dismissed with OK - } - else if (nResponse == IDCANCEL) - { - // TODO: Place code here to handle when the dialog is - // dismissed with Cancel - } - - if (hCard >= 0) Release_Card(hCard); - } - - } - else if (nResponse == IDCANCEL) - { - // TODO: Place code here to handle when the dialog is - // dismissed with Cancel - } - - // Since the dialog has been closed, return FALSE so that we exit the - // application, rather than start the application's message pump. - return FALSE; -} diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AODma_ReTrigger/9223cdma.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AODma_ReTrigger/9223cdma.h deleted file mode 100644 index 27ba83d..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AODma_ReTrigger/9223cdma.h +++ /dev/null @@ -1,34 +0,0 @@ - -// 9223cdma.h : main header file for the PROJECT_NAME application -// - -#pragma once - -#ifndef __AFXWIN_H__ - #error "include 'stdafx.h' before including this file for PCH" -#endif - -#include "resource.h" // main symbols - -#define AI_MODE_DMA 0 -#define AI_MODE_INT 1 - -// C9223cdmaApp: -// See 9223cdma.cpp for the implementation of this class -// - -class C9223cdmaApp : public CWinAppEx -{ -public: - C9223cdmaApp(); - -// Overrides - public: - virtual BOOL InitInstance(); - -// Implementation - - DECLARE_MESSAGE_MAP() -}; - -extern C9223cdmaApp theApp; \ No newline at end of file diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AODma_ReTrigger/9223cdma.rc b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AODma_ReTrigger/9223cdma.rc deleted file mode 100644 index 36ef22e..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AODma_ReTrigger/9223cdma.rc +++ /dev/null @@ -1,290 +0,0 @@ -// Microsoft Visual C++ generated resource script. -// -#include "resource.h" - -#define APSTUDIO_READONLY_SYMBOLS -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 2 resource. -// -#ifndef APSTUDIO_INVOKED -#include "targetver.h" -#endif -#include "afxres.h" - -///////////////////////////////////////////////////////////////////////////// -#undef APSTUDIO_READONLY_SYMBOLS - -///////////////////////////////////////////////////////////////////////////// -// Chinese (Taiwan) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_CHT) -#ifdef _WIN32 -LANGUAGE LANG_CHINESE, SUBLANG_CHINESE_TRADITIONAL -#pragma code_page(950) -#endif //_WIN32 - -#ifdef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// TEXTINCLUDE -// - -1 TEXTINCLUDE -BEGIN - "resource.h\0" -END - -2 TEXTINCLUDE -BEGIN - "#ifndef APSTUDIO_INVOKED\r\n" - "#include ""targetver.h""\r\n" - "#endif\r\n" - "#include ""afxres.h""\r\n" - "\0" -END - -3 TEXTINCLUDE -BEGIN - "#define _AFX_NO_SPLITTER_RESOURCES\r\n" - "#define _AFX_NO_OLE_RESOURCES\r\n" - "#define _AFX_NO_TRACKER_RESOURCES\r\n" - "#define _AFX_NO_PROPERTY_RESOURCES\r\n" - "\r\n" - "#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)\r\n" - "LANGUAGE 9, 1\r\n" - "#pragma code_page(1252)\r\n" - "#include ""res\\My9223cdma.rc2"" // non-Microsoft Visual C++ edited resources\r\n" - "#include ""afxres.rc"" // Standard components\r\n" - "#endif\r\n" - "\0" -END - -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// Icon -// - -// Icon with lowest ID value placed first to ensure application icon -// remains consistent on all systems. -IDR_MAINFRAME ICON "res\\9223cdma.ico" -#endif // Chinese (Taiwan) resources -///////////////////////////////////////////////////////////////////////////// - - -///////////////////////////////////////////////////////////////////////////// -// English (U.S.) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -#ifdef _WIN32 -LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US -#pragma code_page(1252) -#endif //_WIN32 - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog -// - -IDD_ABOUTBOX DIALOGEX 0, 0, 170, 62 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "About 9223cdma" -FONT 8, "MS Shell Dlg", 0, 0, 0x1 -BEGIN - ICON IDR_MAINFRAME,IDC_STATIC,14,14,21,20 - LTEXT "9223cdma, Version 1.0",IDC_STATIC,42,14,114,8,SS_NOPREFIX - LTEXT "Copyright (C) 2010",IDC_STATIC,42,26,114,8 - DEFPUSHBUTTON "OK",IDOK,113,41,50,14,WS_GROUP -END - -IDD_9223DMA_DIALOG DIALOGEX 0, 0, 353, 246 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU -EXSTYLE WS_EX_APPWINDOW -CAPTION "PCI-9223 AO ReTrigger (total 4 pattern output)" -FONT 8, "MS Shell Dlg", 0, 0, 0x1 -BEGIN - GROUPBOX "",IDC_STATIC_DRAW,46,78,299,161,NOT WS_VISIBLE - LTEXT "Range : +/- 10V",IDC_STATIC,294,62,52,11 - LTEXT "Write Count :",IDC_STATIC,149,31,44,9 - EDITTEXT IDC_EDIT_SCAN_ITERVAL,63,44,49,14,ES_AUTOHSCROLL | ES_READONLY - LTEXT "Update Interval :",IDC_STATIC,65,31,57,9 - SCROLLBAR IDC_SCROLLBAR_RATE,113,44,9,11,SBS_VERT - PUSHBUTTON "Start",IDC_BT_START,227,36,55,22 - EDITTEXT IDC_EDIT_BUF_SIZE,143,44,51,14,ES_AUTOHSCROLL - PUSHBUTTON "Stop",IDC_BT_STOP,289,36,55,22 - LTEXT "Please check the AO0 (pin-16) to AI0 (pin-34) , and the analog output will be loggeg in following panel.",IDC_STATIC,16,7,328,15 - LTEXT "The extrenal digital trigger : GPI0 ",IDC_STATIC,15,18,328,15 -END - -IDD_CARDID_DIALOG DIALOGEX 0, 0, 174, 96 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "Card ID" -FONT 8, "MS Shell Dlg", 400, 0, 0x1 -BEGIN - COMBOBOX IDC_COMBO_CARDID,78,24,71,126,CBS_DROPDOWN | WS_VSCROLL | WS_TABSTOP - LTEXT "Card Number",IDC_STATIC_01,23,25,46,12 - PUSHBUTTON "OK",IDOK,22,59,58,19 - PUSHBUTTON "CANCEL",IDCANCEL,86,59,58,19 -END - - -///////////////////////////////////////////////////////////////////////////// -// -// Version -// - -VS_VERSION_INFO VERSIONINFO - FILEVERSION 1,0,0,1 - PRODUCTVERSION 1,0,0,1 - FILEFLAGSMASK 0x3fL -#ifdef _DEBUG - FILEFLAGS 0x1L -#else - FILEFLAGS 0x0L -#endif - FILEOS 0x4L - FILETYPE 0x1L - FILESUBTYPE 0x0L -BEGIN - BLOCK "StringFileInfo" - BEGIN - BLOCK "040904e4" - BEGIN - VALUE "CompanyName", "TODO: " - VALUE "FileDescription", "TODO: " - VALUE "FileVersion", "1.0.0.1" - VALUE "InternalName", "9223cdma.exe" - VALUE "LegalCopyright", "TODO: (c) . All rights reserved." - VALUE "OriginalFilename", "9223cdma.exe" - VALUE "ProductName", "TODO: " - VALUE "ProductVersion", "1.0.0.1" - END - END - BLOCK "VarFileInfo" - BEGIN - VALUE "Translation", 0x409, 1252 - END -END - - -///////////////////////////////////////////////////////////////////////////// -// -// DESIGNINFO -// - -#ifdef APSTUDIO_INVOKED -GUIDELINES DESIGNINFO -BEGIN - IDD_ABOUTBOX, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 163 - TOPMARGIN, 7 - BOTTOMMARGIN, 55 - END - - IDD_9223DMA_DIALOG, DIALOG - BEGIN - BOTTOMMARGIN, 239 - END - - IDD_CARDID_DIALOG, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 167 - TOPMARGIN, 7 - BOTTOMMARGIN, 89 - END -END -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog Info -// - -IDD_CARDID_DIALOG DLGINIT -BEGIN - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0030, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0031, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0032, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0033, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0034, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0035, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0036, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0037, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0038, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0039, - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3031, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3131, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3231, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3331, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3431, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3531, "\000" - 0 -END - - -///////////////////////////////////////////////////////////////////////////// -// -// Bitmap -// - -IDB_BITMAP_SET1 BITMAP "res\\ch_set1.bmp" -IDB_BITMAP_SET2 BITMAP "res\\ch_set2.bmp" - -///////////////////////////////////////////////////////////////////////////// -// -// String Table -// - -STRINGTABLE -BEGIN - IDS_ABOUTBOX "&About 9223cdma..." -END - -#endif // English (U.S.) resources -///////////////////////////////////////////////////////////////////////////// - - - -#ifndef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 3 resource. -// -#define _AFX_NO_SPLITTER_RESOURCES -#define _AFX_NO_OLE_RESOURCES -#define _AFX_NO_TRACKER_RESOURCES -#define _AFX_NO_PROPERTY_RESOURCES - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -LANGUAGE 9, 1 -#pragma code_page(1252) -#include "res\My9223cdma.rc2" // non-Microsoft Visual C++ edited resources -#include "afxres.rc" // Standard components -#endif - -///////////////////////////////////////////////////////////////////////////// -#endif // not APSTUDIO_INVOKED - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AODma_ReTrigger/9223cdma.sln b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AODma_ReTrigger/9223cdma.sln deleted file mode 100644 index 538cc7b..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AODma_ReTrigger/9223cdma.sln +++ /dev/null @@ -1,20 +0,0 @@ - -Microsoft Visual Studio Solution File, Format Version 10.00 -# Visual Studio 2008 -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "9223cdma", "9223cdma.vcproj", "{702163FB-B6DF-4EF5-9491-FC54D71509BC}" -EndProject -Global - GlobalSection(SolutionConfigurationPlatforms) = preSolution - Debug|x64 = Debug|x64 - Release|x64 = Release|x64 - EndGlobalSection - GlobalSection(ProjectConfigurationPlatforms) = postSolution - {702163FB-B6DF-4EF5-9491-FC54D71509BC}.Debug|x64.ActiveCfg = Debug|x64 - {702163FB-B6DF-4EF5-9491-FC54D71509BC}.Debug|x64.Build.0 = Debug|x64 - {702163FB-B6DF-4EF5-9491-FC54D71509BC}.Release|x64.ActiveCfg = Release|x64 - {702163FB-B6DF-4EF5-9491-FC54D71509BC}.Release|x64.Build.0 = Release|x64 - EndGlobalSection - GlobalSection(SolutionProperties) = preSolution - HideSolutionNode = FALSE - EndGlobalSection -EndGlobal diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AODma_ReTrigger/9223cdma.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AODma_ReTrigger/9223cdma.suo deleted file mode 100644 index 1e5fc6a..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AODma_ReTrigger/9223cdma.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AODma_ReTrigger/9223cdma.vcproj b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AODma_ReTrigger/9223cdma.vcproj deleted file mode 100644 index c3e2af5..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AODma_ReTrigger/9223cdma.vcproj +++ /dev/null @@ -1,294 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AODma_ReTrigger/9223cdmaDlg.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AODma_ReTrigger/9223cdmaDlg.cpp deleted file mode 100644 index fd98333..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AODma_ReTrigger/9223cdmaDlg.cpp +++ /dev/null @@ -1,682 +0,0 @@ - -// 9223cdmaDlg.cpp : implementation file -// - -#include "stdafx.h" -#include "9223cdma.h" -#include "9223cdmaDlg.h" -#include "math.h" - -#ifdef _DEBUG -#define new DEBUG_NEW -#endif - -#ifndef M_PI -#define M_PI 3.14159265359 -#endif - -#define P922X_TIMEBASE 80000000.0 -#define AI_READ_COUNT 8000 -#define AI_SAMPLE_INTERV 10000 - -CRect plotRect; - -// CAboutDlg dialog used for App About - -class CAboutDlg : public CDialog -{ -public: - CAboutDlg(); - -// Dialog Data - enum { IDD = IDD_ABOUTBOX }; - - protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - -// Implementation -protected: - DECLARE_MESSAGE_MAP() -}; - -CAboutDlg::CAboutDlg() : CDialog(CAboutDlg::IDD) -{ -} - -void CAboutDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); -} - -BEGIN_MESSAGE_MAP(CAboutDlg, CDialog) -END_MESSAGE_MAP() - - -// C9223cdmaDlg dialog - - - - -C9223cdmaDlg::C9223cdmaDlg(I16 hCard, CWnd* pParent /*=NULL*/) - : CDialog(C9223cdmaDlg::IDD, pParent) -{ - m_hIcon = AfxGetApp()->LoadIcon(IDR_MAINFRAME); - - n_PlotWidth = n_PlotHeight = -1; - OnBrush = OffBrush = NULL; - - min_val = 0x00; - max_val = 0xFFFF; - - m_dwSampIntrv = 10000; - - m_hCard = hCard; - - m_nTimer = -1; - m_hAIMem1 = NULL; - m_hAIMem2 = NULL; - - m_hAOMem1 = NULL; - m_hAOMem2 = NULL; - - m_wRange = AD_B_10_V; - max_range = 10.0; - min_range = -10.0; - - m_dwWriteCount = 4096; - m_wPostCount = 512; - - m_dwOverrunCnt = 0; - - m_fAOStop = FALSE; - - -} - -void C9223cdmaDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); -} - -BEGIN_MESSAGE_MAP(C9223cdmaDlg, CDialog) - ON_WM_SYSCOMMAND() - ON_WM_PAINT() - ON_WM_QUERYDRAGICON() - //}}AFX_MSG_MAP - ON_WM_DESTROY() - ON_WM_VSCROLL() - ON_BN_CLICKED(IDC_BT_START, &C9223cdmaDlg::OnStart) - ON_BN_CLICKED(IDC_BT_STOP, &C9223cdmaDlg::OnStop) - ON_WM_TIMER() -END_MESSAGE_MAP() - - -// C9223cdmaDlg message handlers - -BOOL C9223cdmaDlg::OnInitDialog() -{ - CDialog::OnInitDialog(); - - // Add "About..." menu item to system menu. - - // IDM_ABOUTBOX must be in the system command range. - ASSERT((IDM_ABOUTBOX & 0xFFF0) == IDM_ABOUTBOX); - ASSERT(IDM_ABOUTBOX < 0xF000); - - CMenu* pSysMenu = GetSystemMenu(FALSE); - if (pSysMenu != NULL) - { - BOOL bNameValid; - CString strAboutMenu; - bNameValid = strAboutMenu.LoadString(IDS_ABOUTBOX); - ASSERT(bNameValid); - if (!strAboutMenu.IsEmpty()) - { - pSysMenu->AppendMenu(MF_SEPARATOR); - pSysMenu->AppendMenu(MF_STRING, IDM_ABOUTBOX, strAboutMenu); - } - } - - // Set the icon for this dialog. The framework does this automatically - // when the application's main window is not a dialog - SetIcon(m_hIcon, TRUE); // Set big icon - SetIcon(m_hIcon, FALSE); // Set small icon - - // TODO: Add extra initialization here - x_divider = 5; y_divider = 4; - - OnBrush = CreateSolidBrush( RGB(255,0,0) ); - OffBrush = CreateSolidBrush( RGB(125,0,0) ); - - RedPen.CreatePen( PS_SOLID, 1, RGB(255,0,0)); - GreenPen.CreatePen( PS_SOLID, 1, RGB(0,255,0)); - YellowPen.CreatePen( PS_SOLID, 1, RGB(255,255,0)); - BluePen.CreatePen( PS_SOLID, 1, RGB(0,0,255)); - LTBluePen.CreatePen( PS_SOLID, 1, RGB(0,128,255)); - LTRedPen.CreatePen( PS_SOLID, 1, RGB(255,128,0)); - LTGreenPen.CreatePen( PS_SOLID, 1, RGB(0,128,0)); - WhitePen.CreatePen( PS_SOLID, 1, RGB(255,255,255)); - - - if( n_PlotWidth == -1 && n_PlotHeight == -1 ) - { - ((CWnd*)GetDlgItem(IDC_STATIC_DRAW))->GetWindowRect(&plotRect); - ScreenToClient(&plotRect); - - n_PlotWidth = min( plotRect.Width(), 512); - n_PlotHeight = plotRect.Height() - 10; - } - - // set the default SampleRate - - SetDlgItemInt( IDC_EDIT_BUF_SIZE, (UINT)(m_dwWriteCount) ); - SetDlgItemInt( IDC_EDIT_SCAN_ITERVAL, (UINT)(m_dwSampIntrv) ); - - return TRUE; // return TRUE unless you set the focus to a control -} - -void C9223cdmaDlg::OnSysCommand(UINT nID, LPARAM lParam) -{ - if ((nID & 0xFFF0) == IDM_ABOUTBOX) - { - CAboutDlg dlgAbout; - dlgAbout.DoModal(); - } - else - { - CDialog::OnSysCommand(nID, lParam); - } -} - -// If you add a minimize button to your dialog, you will need the code below -// to draw the icon. For MFC applications using the document/view model, -// this is automatically done for you by the framework. - -void C9223cdmaDlg::OnPaint() -{ - if (IsIconic()) - { - CPaintDC dc(this); // device context for painting - - SendMessage(WM_ICONERASEBKGND, reinterpret_cast(dc.GetSafeHdc()), 0); - - // Center icon in client rectangle - int cxIcon = GetSystemMetrics(SM_CXICON); - int cyIcon = GetSystemMetrics(SM_CYICON); - CRect rect; - GetClientRect(&rect); - int x = (rect.Width() - cxIcon + 1) / 2; - int y = (rect.Height() - cyIcon + 1) / 2; - - // Draw the icon - dc.DrawIcon(x, y, m_hIcon); - } - else - { - redraw_display_area(); - CDialog::OnPaint(); - } -} - -// The system calls this function to obtain the cursor to display while the user drags -// the minimized window. -HCURSOR C9223cdmaDlg::OnQueryDragIcon() -{ - return static_cast(m_hIcon); -} - - -void C9223cdmaDlg::redraw_display_area(void) -{ - CPen *oldPen; - - int oldMode; - COLORREF oldColor; - - CString y_lable; - - CPen minor_tick( PS_SOLID,1,RGB(132,130,132) ); -// CPen y_grid( PS_SOLID,1,RGB(206,203,132) ); - - int i, x_intv, y_intv; -// long total_sec; - - CClientDC dc_plot(this); - - // draw the base-line for x-y axises - oldPen = (CPen *)dc_plot.SelectStockObject(BLACK_PEN); - - // redraw the background - dc_plot.FillSolidRect( plotRect, RGB(0,0,0) ); - - // Re-Draw the AREA for Y-Lable - { - CBrush DIALOG_BRUSH; - CRect redraw_area, full_client; - - GetClientRect(&full_client); - ScreenToClient(&full_client); - - redraw_area.left = full_client.left; - redraw_area.top = plotRect.top - 5; - redraw_area.right = plotRect.left - 3; - redraw_area.bottom = plotRect.bottom + 10; - - DIALOG_BRUSH.CreateSysColorBrush( COLOR_3DFACE ); - - dc_plot.FillRect( redraw_area, &DIALOG_BRUSH ); - - DIALOG_BRUSH.DeleteObject(); - } - - dc_plot.MoveTo( plotRect.left - 3, plotRect.top ); - dc_plot.LineTo( plotRect.left - 3, plotRect.bottom ); - - // calculate the interval for tick/grid - y_intv = (plotRect.Height() - 10) /y_divider; - x_intv = plotRect.Width()/x_divider; - - - // set the color for tick - oldColor = dc_plot.SetTextColor( RGB(0,0,0) ); - oldMode = dc_plot.SetBkMode( TRANSPARENT ); - - for( i=0; i<= y_divider; i++ ) - { - CString tick_str; - CRect tmp_rect, tick_rect; - - // draw the tick for y-axis - dc_plot.MoveTo( plotRect.left -12, plotRect.bottom -5 - (i*y_intv) ); - dc_plot.LineTo( plotRect.left -3, plotRect.bottom -5 - (i*y_intv) ); - - tick_str.Format( _T("%.1f"), ( ((max_range-min_range)/y_divider) * i)+min_range ); - - // calculate the rectangle for text - dc_plot.DrawText( tick_str, &tmp_rect, DT_CALCRECT|DT_SINGLELINE ); - tick_rect.right = plotRect.left -14; - tick_rect.left = tick_rect.right - tmp_rect.Width(); - tick_rect.top = plotRect.bottom -5 - (i*y_intv) - tmp_rect.Height()/2; - tick_rect.bottom = tick_rect.top + tmp_rect.Height(); - - // draw the text - dc_plot.DrawText( tick_str, &tick_rect, DT_SINGLELINE|DT_RIGHT ); - - } - - // draw the minor_tick for Y axises - dc_plot.SelectObject(&minor_tick); - for( i=0; i< y_divider; i++ ) - { - dc_plot.MoveTo( plotRect.left -9, plotRect.bottom -5 - (i*y_intv) - y_intv/2 ); - dc_plot.LineTo( plotRect.left -4, plotRect.bottom -5 - (i*y_intv) - y_intv/2 ); - } - - dc_plot.SetTextColor( oldColor ); - dc_plot.SetBkMode( oldMode ); - dc_plot.SelectObject( oldPen ); -} - -void C9223cdmaDlg::OnDestroy() -{ - CDialog::OnDestroy(); - - // TODO: Add your message handler code here - if( m_nTimer != -1 ) - { - KillTimer( m_nTimer ); - m_nTimer = -1; - } - - // AI buffer - if (m_hAIMem1 != NULL) - { - GlobalUnfix(m_hAIMem1); - GlobalUnlock(m_hAIMem1); - GlobalFree(m_hAIMem1); - - m_hAIMem1 = NULL; - } - - if (m_hAIMem2 != NULL) - { - GlobalUnfix(m_hAIMem2); - GlobalUnlock(m_hAIMem2); - GlobalFree(m_hAIMem2); - - m_hAIMem2 = NULL; - } - - - if( OnBrush != NULL ) - ::DeleteObject( OnBrush ); - - if( OffBrush != NULL ) - ::DeleteObject( OffBrush ); - - RedPen.DeleteObject(); - GreenPen.DeleteObject(); - YellowPen.DeleteObject(); - BluePen.DeleteObject(); - LTBluePen.DeleteObject(); - LTRedPen.DeleteObject(); - LTGreenPen.DeleteObject(); - WhitePen.DeleteObject(); - -} - -void C9223cdmaDlg::OnVScroll(UINT nSBCode, UINT nPos, CScrollBar* pScrollBar) -{ - // TODO: Add your message handler code here and/or call default - switch ( nSBCode ) - { - case SB_LINEUP : - m_dwSampIntrv += 160; - if (m_dwSampIntrv > 40000 ) m_dwSampIntrv = 40000; - break; - case SB_LINEDOWN: - m_dwSampIntrv -= 160; - if (m_dwSampIntrv < 160 ) m_dwSampIntrv = 160; - break; - } - - SetDlgItemInt( IDC_EDIT_SCAN_ITERVAL, (UINT)(m_dwSampIntrv) ); - - CDialog::OnVScroll(nSBCode, nPos, pScrollBar); -} - - -void C9223cdmaDlg::OnStop() -{ - // TODO: Add your control notification handler code here - U32 count; - - if( m_nTimer != -1 ) - { - KillTimer( m_nTimer ); - m_nTimer = -1; - } - - AI_AsyncClear(m_hCard, &count); - AO_AsyncClear(m_hCard, &count, 0); - - GetDlgItem( IDC_BT_START )->EnableWindow(TRUE); -} - -void C9223cdmaDlg::OnStart() -{ - // TODO: Add your control notification handler code here - DWORD mem_size; - CString strTemp; - I16 err; - U32 vi; - double fTmp; - - GetDlgItem( IDC_BT_START )->EnableWindow(FALSE); - - /***************** begin of AI buffer setup *****************/ - if (m_hAIMem1 != NULL) - { - GlobalUnfix(m_hAIMem1); - GlobalUnlock(m_hAIMem1); - GlobalFree(m_hAIMem1); - - m_hAIMem1 = NULL; - } - - if (m_hAIMem2 != NULL) - { - GlobalUnfix(m_hAIMem2); - GlobalUnlock(m_hAIMem2); - GlobalFree(m_hAIMem2); - - m_hAIMem2 = NULL; - } - - // allocate a memory for user DMA buffer - mem_size = AI_READ_COUNT * sizeof(I16); - - m_hAIMem1 = GlobalAlloc(GMEM_FIXED | GMEM_ZEROINIT, mem_size); - m_pAIBuf1 = (U16*) GlobalLock(m_hAIMem1); - if (m_pAIBuf1 == NULL ) - { - AfxMessageBox( TEXT("AI Memory allocation failed"), MB_OK); - return; - } - GlobalFix(m_hAIMem1); - - m_hAIMem2 = GlobalAlloc(GMEM_FIXED | GMEM_ZEROINIT, mem_size); - m_pAIBuf2 = (U16*) GlobalLock(m_hAIMem2); - if (m_pAIBuf2 == NULL ) - { - AfxMessageBox( TEXT("AI Memory allocation failed"), MB_OK); - return; - } - GlobalFix(m_hAIMem2); - - /***************** end of AI buffer setup *****************/ - - /***************** begin of AO buffer setup *****************/ - m_dwWriteCount = GetDlgItemInt(IDC_EDIT_BUF_SIZE); - - if (m_hAOMem1 != NULL) - { - GlobalUnfix(m_hAOMem1); - GlobalUnlock(m_hAOMem1); - GlobalFree(m_hAOMem1); - - m_hAOMem1 = NULL; - } - - if (m_hAOMem2 != NULL) - { - GlobalUnfix(m_hAOMem2); - GlobalUnlock(m_hAOMem2); - GlobalFree(m_hAOMem2); - - m_hAOMem2 = NULL; - } - - // allocate a memory for user DMA buffer - mem_size = m_dwWriteCount * sizeof(U32); - - m_hAOMem1 = GlobalAlloc(GMEM_FIXED | GMEM_ZEROINIT, mem_size); - m_pAOBuf1 = (U32*) GlobalLock(m_hAOMem1); - if (m_pAOBuf1 == NULL ) - { - AfxMessageBox( TEXT("AO Memory allocation failed"), MB_OK); - return; - } - GlobalFix(m_hAOMem1); - - for(vi=0; vi> 16) ); // ( n_PlotHeight * ai_data / 65536) ); // ( (n_PlotHeight/2) * ai_data/32768 ) ); - newX = (int)( index*n_PlotWidth/dwDataSize + plotRect.left ); - - if ( index == 0 ) - { - dc_plot.MoveTo( newX, newY ); - } - else - { - dc_plot.MoveTo( m_oldX[cur_channel], m_oldY[cur_channel] ); - dc_plot.LineTo( newX, newY ); - } - - m_oldX[cur_channel] = newX; - m_oldY[cur_channel] = newY; - } - - return 0; -} - -void C9223cdmaDlg::OnTimer(UINT_PTR nIDEvent) -{ - // TODO: Add your message handler code here and/or call default - BOOLEAN HalfReady; - BOOLEAN fstop; - U16 OverrunFlag; - U32 AccessCnt; - - AI_AsyncDblBufferHalfReady(m_hCard, &HalfReady, &fstop); - - if( HalfReady ) // half-buffer ready - { - if(m_bView == 0) - { - display_buffer_data( m_pAIBuf1 ); - m_bView = 1; - } - else - { - display_buffer_data( m_pAIBuf2 ); - m_bView= 0; - } - - AI_AsyncDblBufferHandled( m_hCard ); - AI_AsyncDblBufferOverrun( m_hCard, 0, &OverrunFlag); - - if(OverrunFlag) - { - m_dwOverrunCnt++; - AI_AsyncDblBufferOverrun( m_hCard, 1, NULL ); - } - - if( m_fAOStop == TRUE ) - { - KillTimer( m_nTimer ); - m_nTimer = -1; - - AI_AsyncClear(m_hCard, &AccessCnt); - GetDlgItem( IDC_BT_START )->EnableWindow(TRUE); - } - - } - - AO_AsyncCheck(m_hCard, &m_fAOStop, &AccessCnt); - if( m_fAOStop == TRUE ) - { - AO_AsyncClear(m_hCard, &AccessCnt, 0); - } - - CDialog::OnTimer(nIDEvent); -} - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AODma_ReTrigger/9223cdmaDlg.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AODma_ReTrigger/9223cdmaDlg.h deleted file mode 100644 index 903c8a5..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AODma_ReTrigger/9223cdmaDlg.h +++ /dev/null @@ -1,84 +0,0 @@ - -// 9223cdmaDlg.h : header file -#pragma once -#include "afxcmn.h" -#include "afxwin.h" - -#include "Dask64.h" - -// C9223cdmaDlg dialog -class C9223cdmaDlg : public CDialog -{ -// Construction -public: - C9223cdmaDlg(I16 hCard, CWnd* pParent = NULL); // standard constructor - -// Dialog Data - enum { IDD = IDD_9223DMA_DIALOG }; - - protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - - -// Implementation -protected: - HICON m_hIcon; - UINT_PTR m_nTimer; - I16 m_hCard; - U32 m_dwSampIntrv; - HANDLE m_hAIMem1; - HANDLE m_hAIMem2; - U16 *m_pAIBuf1; - U16 *m_pAIBuf2; - U16 m_wAIBufID1; - U16 m_wAIBufID2; - HANDLE m_hAOMem1; - HANDLE m_hAOMem2; - U32 *m_pAOBuf1; - U32 *m_pAOBuf2; - U16 m_wAOBufID1; - U16 m_wAOBufID2; - U16 m_wRange; - int m_oldY[8]; - int m_oldX[8]; - U32 m_dwWriteCount; - U16 m_wPostCount; - U8 m_bView; - U32 m_dwOverrunCnt; - BOOLEAN m_fAOStop; - - // Generated message map functions - virtual BOOL OnInitDialog(); - afx_msg void OnSysCommand(UINT nID, LPARAM lParam); - afx_msg void OnPaint(); - afx_msg HCURSOR OnQueryDragIcon(); - DECLARE_MESSAGE_MAP() - -public: - WORD max_val; - WORD min_val; - double max_range; - double min_range; - int n_PlotWidth; - int n_PlotHeight; - int y_divider; - int x_divider; - int m_DisplayScale; - HBRUSH OnBrush; - HBRUSH OffBrush; - CPen RedPen; - CPen GreenPen; - CPen YellowPen; - CPen BluePen; - CPen LTBluePen; - CPen LTRedPen; - CPen LTGreenPen; - CPen WhitePen; - void redraw_display_area(void); - afx_msg void OnDestroy(); - afx_msg void OnVScroll(UINT nSBCode, UINT nPos, CScrollBar* pScrollBar); - afx_msg void OnStart(); - int display_buffer_data(U16* pBuf); - afx_msg void OnTimer(UINT_PTR nIDEvent); - afx_msg void OnStop(); -}; diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AODma_ReTrigger/CardIDDlg.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AODma_ReTrigger/CardIDDlg.cpp deleted file mode 100644 index dfa5652..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AODma_ReTrigger/CardIDDlg.cpp +++ /dev/null @@ -1,64 +0,0 @@ -// CardIDDlg.cpp : implementation file -// -#include "stdafx.h" -#include "9223cdma.h" -#include "9223cdmaDlg.h" -#include "CardIDDlg.h" - -// CCardIDDlg dialog - -IMPLEMENT_DYNAMIC(CCardIDDlg, CDialog) - -CCardIDDlg::CCardIDDlg(int nCardIdx, CWnd* pParent /*=NULL*/) - : CDialog(CCardIDDlg::IDD, pParent) -{ - m_nCardIdx = nCardIdx; -} - -CCardIDDlg::~CCardIDDlg() -{ -} - -void CCardIDDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); - DDX_Control(pDX, IDC_COMBO_CARDID, m_cbCardID); -} - - -BEGIN_MESSAGE_MAP(CCardIDDlg, CDialog) -// ON_CBN_SELCHANGE(IDC_COMBO_CARDID, &CCardIDDlg::OnCbnSelchangeComboCardid) -ON_BN_CLICKED(IDOK, &CCardIDDlg::OnBnClickedOk) -//ON_WM_CTLCOLOR() -END_MESSAGE_MAP() - - -// CCardIDDlg message handlers - - -void CCardIDDlg::OnBnClickedOk() -{ - // TODO: Add your control notification handler code here - -// UpdateData(TRUE); - m_nCardIdx = m_cbCardID.GetCurSel(); - - OnOK(); -} - -BOOL CCardIDDlg::OnInitDialog() -{ - CDialog::OnInitDialog(); - - // TODO: Add extra initialization here - m_cbCardID.SetCurSel( m_nCardIdx ); - - return TRUE; // return TRUE unless you set the focus to a control - // EXCEPTION: OCX Property Pages should return FALSE -} - -// the function to get the selected CardID -int CCardIDDlg::GetCardID(void) -{ - return m_nCardIdx; -} diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AODma_ReTrigger/CardIDDlg.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AODma_ReTrigger/CardIDDlg.h deleted file mode 100644 index 9c02c58..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AODma_ReTrigger/CardIDDlg.h +++ /dev/null @@ -1,32 +0,0 @@ -#pragma once -#include "afxwin.h" - -#include "Dask64.h" - -// CCardIDDlg dialog - -class CCardIDDlg : public CDialog -{ - DECLARE_DYNAMIC(CCardIDDlg) - -public: - CCardIDDlg(int nCardIdx, CWnd* pParent = NULL); // standard constructor - virtual ~CCardIDDlg(); - -// Dialog Data - enum { IDD = IDD_CARDID_DIALOG }; - -protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - - DECLARE_MESSAGE_MAP() -public: - virtual BOOL OnInitDialog(); - afx_msg void OnBnClickedOk(); - // the setting of CardID ComboBox - int m_nCardIdx; - // the control of CardID ComboBox - CComboBox m_cbCardID; - // the function to get the selected CardID - int GetCardID(void); -}; diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AODma_ReTrigger/ReadMe.txt b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AODma_ReTrigger/ReadMe.txt deleted file mode 100644 index d1c88f4..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AODma_ReTrigger/ReadMe.txt +++ /dev/null @@ -1,93 +0,0 @@ -================================================================================ - MICROSOFT FOUNDATION CLASS LIBRARY : 9223cdma Project Overview -=============================================================================== - -The application wizard has created this 9223cdma application for -you. This application not only demonstrates the basics of using the Microsoft -Foundation Classes but is also a starting point for writing your application. - -This file contains a summary of what you will find in each of the files that -make up your 9223cdma application. - -9223cdma.vcproj - This is the main project file for VC++ projects generated using an application wizard. - It contains information about the version of Visual C++ that generated the file, and - information about the platforms, configurations, and project features selected with the - application wizard. - -9223cdma.h - This is the main header file for the application. It includes other - project specific headers (including Resource.h) and declares the - C9223cdmaApp application class. - -9223cdma.cpp - This is the main application source file that contains the application - class C9223cdmaApp. - -9223cdma.rc - This is a listing of all of the Microsoft Windows resources that the - program uses. It includes the icons, bitmaps, and cursors that are stored - in the RES subdirectory. This file can be directly edited in Microsoft - Visual C++. Your project resources are in 1033. - -res\9223cdma.ico - This is an icon file, which is used as the application's icon. This - icon is included by the main resource file 9223cdma.rc. - -res\My9223cdma.rc2 - This file contains resources that are not edited by Microsoft - Visual C++. You should place all resources not editable by - the resource editor in this file. - - -///////////////////////////////////////////////////////////////////////////// - -The application wizard creates one dialog class: - -9223cdmaDlg.h, 9223cdmaDlg.cpp - the dialog - These files contain your C9223cdmaDlg class. This class defines - the behavior of your application's main dialog. The dialog's template is - in 9223cdma.rc, which can be edited in Microsoft Visual C++. - - -///////////////////////////////////////////////////////////////////////////// - -Other Features: - -ActiveX Controls - The application includes support to use ActiveX controls. - -///////////////////////////////////////////////////////////////////////////// - -Other standard files: - -StdAfx.h, StdAfx.cpp - These files are used to build a precompiled header (PCH) file - named 9223cdma.pch and a precompiled types file named StdAfx.obj. - -Resource.h - This is the standard header file, which defines new resource IDs. - Microsoft Visual C++ reads and updates this file. - -9223cdma.manifest - Application manifest files are used by Windows XP to describe an applications - dependency on specific versions of Side-by-Side assemblies. The loader uses this - information to load the appropriate assembly from the assembly cache or private - from the application. The Application manifest maybe included for redistribution - as an external .manifest file that is installed in the same folder as the application - executable or it may be included in the executable in the form of a resource. -///////////////////////////////////////////////////////////////////////////// - -Other notes: - -The application wizard uses "TODO:" to indicate parts of the source code you -should add to or customize. - -If your application uses MFC in a shared DLL, you will need -to redistribute the MFC DLLs. If your application is in a language -other than the operating system's locale, you will also have to -redistribute the corresponding localized resources MFC90XXX.DLL. -For more information on both of these topics, please see the section on -redistributing Visual C++ applications in MSDN documentation. - -///////////////////////////////////////////////////////////////////////////// diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AODma_ReTrigger/res/9223cdma.ico b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AODma_ReTrigger/res/9223cdma.ico deleted file mode 100644 index d56fbcd..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AODma_ReTrigger/res/9223cdma.ico and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AODma_ReTrigger/res/My9223cdma.rc2 b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AODma_ReTrigger/res/My9223cdma.rc2 deleted file mode 100644 index 383cde2..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AODma_ReTrigger/res/My9223cdma.rc2 +++ /dev/null @@ -1,13 +0,0 @@ -// -// My9111int.RC2 - resources Microsoft Visual C++ does not edit directly -// - -#ifdef APSTUDIO_INVOKED -#error this file is not editable by Microsoft Visual C++ -#endif //APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// Add manually edited resources here... - -///////////////////////////////////////////////////////////////////////////// diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AODma_ReTrigger/res/ch_set1.bmp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AODma_ReTrigger/res/ch_set1.bmp deleted file mode 100644 index f2374ed..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AODma_ReTrigger/res/ch_set1.bmp and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AODma_ReTrigger/res/ch_set2.bmp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AODma_ReTrigger/res/ch_set2.bmp deleted file mode 100644 index 32d0915..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AODma_ReTrigger/res/ch_set2.bmp and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AODma_ReTrigger/resource.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AODma_ReTrigger/resource.h deleted file mode 100644 index 80a78c9..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AODma_ReTrigger/resource.h +++ /dev/null @@ -1,35 +0,0 @@ -//{{NO_DEPENDENCIES}} -// Microsoft Visual C++ generated include file. -// Used by 9223cdma.rc -// -#define IDM_ABOUTBOX 0x0010 -#define IDD_ABOUTBOX 100 -#define IDS_ABOUTBOX 101 -#define IDD_9223DMA_DIALOG 102 -#define IDR_MAINFRAME 128 -#define IDD_CARDID_DIALOG 129 -#define IDB_BITMAP_SET1 131 -#define IDB_BITMAP_SET2 132 -#define IDC_STATIC_DRAW 1000 -#define IDC_COMBO_CARDID 1001 -#define IDC_BT_STOP 1002 -#define IDC_COMBO_CARDTYPE 1003 -#define IDC_BT_START 1004 -#define IDC_EDIT_SCAN_ITERVAL 1005 -#define IDC_SCROLLBAR_RATE 1006 -#define IDC_STATIC_01 1007 -#define IDC_EDIT_BUF_SIZE 1008 -#define IDC_STATIC_2 1009 -#define IDC_EDIT1 1010 -#define IDC_EDIT_OVERRUN 1011 - -// Next default values for new objects -// -#ifdef APSTUDIO_INVOKED -#ifndef APSTUDIO_READONLY_SYMBOLS -#define _APS_NEXT_RESOURCE_VALUE 134 -#define _APS_NEXT_COMMAND_VALUE 32771 -#define _APS_NEXT_CONTROL_VALUE 1012 -#define _APS_NEXT_SYMED_VALUE 101 -#endif -#endif diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AODma_ReTrigger/stdafx.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AODma_ReTrigger/stdafx.cpp deleted file mode 100644 index ef80626..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AODma_ReTrigger/stdafx.cpp +++ /dev/null @@ -1,8 +0,0 @@ - -// stdafx.cpp : source file that includes just the standard includes -// 9111int.pch will be the pre-compiled header -// stdafx.obj will contain the pre-compiled type information - -#include "stdafx.h" - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AODma_ReTrigger/stdafx.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AODma_ReTrigger/stdafx.h deleted file mode 100644 index 12123e2..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AODma_ReTrigger/stdafx.h +++ /dev/null @@ -1,60 +0,0 @@ - -// stdafx.h : include file for standard system include files, -// or project specific include files that are used frequently, -// but are changed infrequently - -#pragma once - -#ifndef _SECURE_ATL -#define _SECURE_ATL 1 -#endif - -#ifndef VC_EXTRALEAN -#define VC_EXTRALEAN // Exclude rarely-used stuff from Windows headers -#endif - -#include "targetver.h" - -#define _ATL_CSTRING_EXPLICIT_CONSTRUCTORS // some CString constructors will be explicit - -// turns off MFC's hiding of some common and often safely ignored warning messages -#define _AFX_ALL_WARNINGS - -#include // MFC core and standard components -#include // MFC extensions - - -#include // MFC Automation classes - - - -#ifndef _AFX_NO_OLE_SUPPORT -#include // MFC support for Internet Explorer 4 Common Controls -#endif -#ifndef _AFX_NO_AFXCMN_SUPPORT -#include // MFC support for Windows Common Controls -#endif // _AFX_NO_AFXCMN_SUPPORT - -#include // MFC support for ribbons and control bars - - - - - - - - - -#ifdef _UNICODE -#if defined _M_IX86 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='x86' publicKeyToken='6595b64144ccf1df' language='*'\"") -#elif defined _M_IA64 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='ia64' publicKeyToken='6595b64144ccf1df' language='*'\"") -#elif defined _M_X64 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='amd64' publicKeyToken='6595b64144ccf1df' language='*'\"") -#else -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='*' publicKeyToken='6595b64144ccf1df' language='*'\"") -#endif -#endif - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AODma_ReTrigger/targetver.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AODma_ReTrigger/targetver.h deleted file mode 100644 index 11730d5..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AODma_ReTrigger/targetver.h +++ /dev/null @@ -1,26 +0,0 @@ - -#pragma once - -// The following macros define the minimum required platform. The minimum required platform -// is the earliest version of Windows, Internet Explorer etc. that has the necessary features to run -// your application. The macros work by enabling all features available on platform versions up to and -// including the version specified. - -// Modify the following defines if you have to target a platform prior to the ones specified below. -// Refer to MSDN for the latest info on corresponding values for different platforms. -#ifndef WINVER // Specifies that the minimum required platform is Windows Vista. -#define WINVER 0x0600 // Change this to the appropriate value to target other versions of Windows. -#endif - -#ifndef _WIN32_WINNT // Specifies that the minimum required platform is Windows Vista. -#define _WIN32_WINNT 0x0600 // Change this to the appropriate value to target other versions of Windows. -#endif - -#ifndef _WIN32_WINDOWS // Specifies that the minimum required platform is Windows 98. -#define _WIN32_WINDOWS 0x0410 // Change this to the appropriate value to target Windows Me or later. -#endif - -#ifndef _WIN32_IE // Specifies that the minimum required platform is Internet Explorer 7.0. -#define _WIN32_IE 0x0700 // Change this to the appropriate value to target other versions of IE. -#endif - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AODma_SimuWrites/9111DbInt.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AODma_SimuWrites/9111DbInt.suo deleted file mode 100644 index 3fde864..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AODma_SimuWrites/9111DbInt.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AODma_SimuWrites/9111PostTg.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AODma_SimuWrites/9111PostTg.suo deleted file mode 100644 index c59a833..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AODma_SimuWrites/9111PostTg.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AODma_SimuWrites/9111int.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AODma_SimuWrites/9111int.suo deleted file mode 100644 index aaca7d8..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AODma_SimuWrites/9111int.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AODma_SimuWrites/9116cdma.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AODma_SimuWrites/9116cdma.suo deleted file mode 100644 index df9f193..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AODma_SimuWrites/9116cdma.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AODma_SimuWrites/9118cdma.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AODma_SimuWrites/9118cdma.suo deleted file mode 100644 index 9318437..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AODma_SimuWrites/9118cdma.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AODma_SimuWrites/9221cdma.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AODma_SimuWrites/9221cdma.suo deleted file mode 100644 index 9cb61ca..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AODma_SimuWrites/9221cdma.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AODma_SimuWrites/9222cdma.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AODma_SimuWrites/9222cdma.suo deleted file mode 100644 index 2ec9ef0..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AODma_SimuWrites/9222cdma.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AODma_SimuWrites/9223cdma.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AODma_SimuWrites/9223cdma.cpp deleted file mode 100644 index f121734..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AODma_SimuWrites/9223cdma.cpp +++ /dev/null @@ -1,109 +0,0 @@ - -// 9223cdma.cpp : Defines the class behaviors for the application. -// - -#include "stdafx.h" -#include "9223cdma.h" -#include "9223cdmaDlg.h" -#include "CardIDDlg.h" - -#ifdef _DEBUG -#define new DEBUG_NEW -#endif - - -// C9223cdmaApp - -BEGIN_MESSAGE_MAP(C9223cdmaApp, CWinAppEx) - ON_COMMAND(ID_HELP, &CWinApp::OnHelp) -END_MESSAGE_MAP() - - -// C9223cdmaApp construction - -C9223cdmaApp::C9223cdmaApp() -{ - // TODO: add construction code here, - // Place all significant initialization in InitInstance -} - - -// The one and only C9223cdmaApp object - -C9223cdmaApp theApp; - - -// C9223cdmaApp initialization - -BOOL C9223cdmaApp::InitInstance() -{ - int nCardID = 0; - I16 hCard; - CString strTemp; - INT_PTR nResponse; - - // InitCommonControlsEx() is required on Windows XP if an application - // manifest specifies use of ComCtl32.dll version 6 or later to enable - // visual styles. Otherwise, any window creation will fail. - INITCOMMONCONTROLSEX InitCtrls; - InitCtrls.dwSize = sizeof(InitCtrls); - // Set this to include all the common control classes you want to use - // in your application. - InitCtrls.dwICC = ICC_WIN95_CLASSES; - InitCommonControlsEx(&InitCtrls); - - CWinAppEx::InitInstance(); - - AfxEnableControlContainer(); - - // Standard initialization - // If you are not using these features and wish to reduce the size - // of your final executable, you should remove from the following - // the specific initialization routines you do not need - // Change the registry key under which our settings are stored - // TODO: You should modify this string to be something appropriate - // such as the name of your company or organization - SetRegistryKey(_T("Local AppWizard-Generated Applications")); - - CCardIDDlg CardDlg( nCardID ); - - nResponse = CardDlg.DoModal(); - if (nResponse == IDOK) - { - nCardID = CardDlg.GetCardID(); - - if ((hCard=Register_Card(PCI_9223, nCardID)) < 0) - { - strTemp.Format( TEXT("Register_Card Error = %d"), hCard); - AfxMessageBox( strTemp ); - } - else - { - C9223cdmaDlg dlg(hCard); - m_pMainWnd = &dlg; - nResponse = dlg.DoModal(); - if (nResponse == IDOK) - { - // TODO: Place code here to handle when the dialog is - // dismissed with OK - } - else if (nResponse == IDCANCEL) - { - // TODO: Place code here to handle when the dialog is - // dismissed with Cancel - } - - if (hCard >= 0) Release_Card(hCard); - } - - } - else if (nResponse == IDCANCEL) - { - // TODO: Place code here to handle when the dialog is - // dismissed with Cancel - } - - // Since the dialog has been closed, return FALSE so that we exit the - // application, rather than start the application's message pump. - return FALSE; -} diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AODma_SimuWrites/9223cdma.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AODma_SimuWrites/9223cdma.h deleted file mode 100644 index 27ba83d..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AODma_SimuWrites/9223cdma.h +++ /dev/null @@ -1,34 +0,0 @@ - -// 9223cdma.h : main header file for the PROJECT_NAME application -// - -#pragma once - -#ifndef __AFXWIN_H__ - #error "include 'stdafx.h' before including this file for PCH" -#endif - -#include "resource.h" // main symbols - -#define AI_MODE_DMA 0 -#define AI_MODE_INT 1 - -// C9223cdmaApp: -// See 9223cdma.cpp for the implementation of this class -// - -class C9223cdmaApp : public CWinAppEx -{ -public: - C9223cdmaApp(); - -// Overrides - public: - virtual BOOL InitInstance(); - -// Implementation - - DECLARE_MESSAGE_MAP() -}; - -extern C9223cdmaApp theApp; \ No newline at end of file diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AODma_SimuWrites/9223cdma.rc b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AODma_SimuWrites/9223cdma.rc deleted file mode 100644 index 1eb6c64..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AODma_SimuWrites/9223cdma.rc +++ /dev/null @@ -1,285 +0,0 @@ -// Microsoft Visual C++ generated resource script. -// -#include "resource.h" - -#define APSTUDIO_READONLY_SYMBOLS -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 2 resource. -// -#ifndef APSTUDIO_INVOKED -#include "targetver.h" -#endif -#include "afxres.h" - -///////////////////////////////////////////////////////////////////////////// -#undef APSTUDIO_READONLY_SYMBOLS - -///////////////////////////////////////////////////////////////////////////// -// Chinese (Taiwan) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_CHT) -#ifdef _WIN32 -LANGUAGE LANG_CHINESE, SUBLANG_CHINESE_TRADITIONAL -#pragma code_page(950) -#endif //_WIN32 - -#ifdef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// TEXTINCLUDE -// - -1 TEXTINCLUDE -BEGIN - "resource.h\0" -END - -2 TEXTINCLUDE -BEGIN - "#ifndef APSTUDIO_INVOKED\r\n" - "#include ""targetver.h""\r\n" - "#endif\r\n" - "#include ""afxres.h""\r\n" - "\0" -END - -3 TEXTINCLUDE -BEGIN - "#define _AFX_NO_SPLITTER_RESOURCES\r\n" - "#define _AFX_NO_OLE_RESOURCES\r\n" - "#define _AFX_NO_TRACKER_RESOURCES\r\n" - "#define _AFX_NO_PROPERTY_RESOURCES\r\n" - "\r\n" - "#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)\r\n" - "LANGUAGE 9, 1\r\n" - "#pragma code_page(1252)\r\n" - "#include ""res\\My9223cdma.rc2"" // non-Microsoft Visual C++ edited resources\r\n" - "#include ""afxres.rc"" // Standard components\r\n" - "#endif\r\n" - "\0" -END - -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// Icon -// - -// Icon with lowest ID value placed first to ensure application icon -// remains consistent on all systems. -IDR_MAINFRAME ICON "res\\9223cdma.ico" -#endif // Chinese (Taiwan) resources -///////////////////////////////////////////////////////////////////////////// - - -///////////////////////////////////////////////////////////////////////////// -// English (U.S.) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -#ifdef _WIN32 -LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US -#pragma code_page(1252) -#endif //_WIN32 - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog -// - -IDD_ABOUTBOX DIALOGEX 0, 0, 170, 62 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "About 9223cdma" -FONT 8, "MS Shell Dlg", 0, 0, 0x1 -BEGIN - ICON IDR_MAINFRAME,IDC_STATIC,14,14,21,20 - LTEXT "9223cdma, Version 1.0",IDC_STATIC,42,14,114,8,SS_NOPREFIX - LTEXT "Copyright (C) 2010",IDC_STATIC,42,26,114,8 - DEFPUSHBUTTON "OK",IDOK,113,41,50,14,WS_GROUP -END - -IDD_9223DMA_DIALOG DIALOGEX 0, 0, 353, 250 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU -EXSTYLE WS_EX_APPWINDOW -CAPTION "PCI-9223 AO Simutaneous Channel Write" -FONT 8, "MS Shell Dlg", 0, 0, 0x1 -BEGIN - GROUPBOX "",IDC_STATIC_DRAW,46,82,299,161,NOT WS_VISIBLE - LTEXT "Range : +/- 10V",IDC_STATIC,294,70,52,11 - LTEXT "Write Count :",IDC_STATIC,149,37,44,9 - EDITTEXT IDC_EDIT_SCAN_ITERVAL,63,52,49,14,ES_AUTOHSCROLL | ES_READONLY - LTEXT "Update Interval :",IDC_STATIC,65,37,57,9 - SCROLLBAR IDC_SCROLLBAR_RATE,113,52,9,11,SBS_VERT - PUSHBUTTON "Start",IDC_BT_START,227,44,55,22 - EDITTEXT IDC_EDIT_BUF_SIZE,143,52,51,14,ES_AUTOHSCROLL - PUSHBUTTON "Stop",IDC_BT_STOP,289,44,55,22 - LTEXT "Please check the AO0 (pin-16) to AI0 (pin-34) , and the AO0 output will be loggeg in following panel.",IDC_STATIC,16,23,328,15 - LTEXT "One sine-wave will be ouput by AO0; and triangle-wave will be output by AO1 simutaneously",IDC_STATIC,15,7,328,15 -END - -IDD_CARDID_DIALOG DIALOGEX 0, 0, 174, 96 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "Card ID" -FONT 8, "MS Shell Dlg", 400, 0, 0x1 -BEGIN - COMBOBOX IDC_COMBO_CARDID,78,24,71,126,CBS_DROPDOWN | WS_VSCROLL | WS_TABSTOP - LTEXT "Card Number",IDC_STATIC_01,23,25,46,12 - PUSHBUTTON "OK",IDOK,22,59,58,19 - PUSHBUTTON "CANCEL",IDCANCEL,86,59,58,19 -END - - -///////////////////////////////////////////////////////////////////////////// -// -// Version -// - -VS_VERSION_INFO VERSIONINFO - FILEVERSION 1,0,0,1 - PRODUCTVERSION 1,0,0,1 - FILEFLAGSMASK 0x3fL -#ifdef _DEBUG - FILEFLAGS 0x1L -#else - FILEFLAGS 0x0L -#endif - FILEOS 0x4L - FILETYPE 0x1L - FILESUBTYPE 0x0L -BEGIN - BLOCK "StringFileInfo" - BEGIN - BLOCK "040904e4" - BEGIN - VALUE "CompanyName", "TODO: " - VALUE "FileDescription", "TODO: " - VALUE "FileVersion", "1.0.0.1" - VALUE "InternalName", "9223cdma.exe" - VALUE "LegalCopyright", "TODO: (c) . All rights reserved." - VALUE "OriginalFilename", "9223cdma.exe" - VALUE "ProductName", "TODO: " - VALUE "ProductVersion", "1.0.0.1" - END - END - BLOCK "VarFileInfo" - BEGIN - VALUE "Translation", 0x409, 1252 - END -END - - -///////////////////////////////////////////////////////////////////////////// -// -// DESIGNINFO -// - -#ifdef APSTUDIO_INVOKED -GUIDELINES DESIGNINFO -BEGIN - IDD_ABOUTBOX, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 163 - TOPMARGIN, 7 - BOTTOMMARGIN, 55 - END - - IDD_CARDID_DIALOG, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 167 - TOPMARGIN, 7 - BOTTOMMARGIN, 89 - END -END -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog Info -// - -IDD_CARDID_DIALOG DLGINIT -BEGIN - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0030, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0031, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0032, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0033, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0034, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0035, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0036, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0037, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0038, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0039, - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3031, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3131, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3231, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3331, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3431, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3531, "\000" - 0 -END - - -///////////////////////////////////////////////////////////////////////////// -// -// Bitmap -// - -IDB_BITMAP_SET1 BITMAP "res\\ch_set1.bmp" -IDB_BITMAP_SET2 BITMAP "res\\ch_set2.bmp" - -///////////////////////////////////////////////////////////////////////////// -// -// String Table -// - -STRINGTABLE -BEGIN - IDS_ABOUTBOX "&About 9223cdma..." -END - -#endif // English (U.S.) resources -///////////////////////////////////////////////////////////////////////////// - - - -#ifndef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 3 resource. -// -#define _AFX_NO_SPLITTER_RESOURCES -#define _AFX_NO_OLE_RESOURCES -#define _AFX_NO_TRACKER_RESOURCES -#define _AFX_NO_PROPERTY_RESOURCES - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -LANGUAGE 9, 1 -#pragma code_page(1252) -#include "res\My9223cdma.rc2" // non-Microsoft Visual C++ edited resources -#include "afxres.rc" // Standard components -#endif - -///////////////////////////////////////////////////////////////////////////// -#endif // not APSTUDIO_INVOKED - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AODma_SimuWrites/9223cdma.sln b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AODma_SimuWrites/9223cdma.sln deleted file mode 100644 index 538cc7b..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AODma_SimuWrites/9223cdma.sln +++ /dev/null @@ -1,20 +0,0 @@ - -Microsoft Visual Studio Solution File, Format Version 10.00 -# Visual Studio 2008 -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "9223cdma", "9223cdma.vcproj", "{702163FB-B6DF-4EF5-9491-FC54D71509BC}" -EndProject -Global - GlobalSection(SolutionConfigurationPlatforms) = preSolution - Debug|x64 = Debug|x64 - Release|x64 = Release|x64 - EndGlobalSection - GlobalSection(ProjectConfigurationPlatforms) = postSolution - {702163FB-B6DF-4EF5-9491-FC54D71509BC}.Debug|x64.ActiveCfg = Debug|x64 - {702163FB-B6DF-4EF5-9491-FC54D71509BC}.Debug|x64.Build.0 = Debug|x64 - {702163FB-B6DF-4EF5-9491-FC54D71509BC}.Release|x64.ActiveCfg = Release|x64 - {702163FB-B6DF-4EF5-9491-FC54D71509BC}.Release|x64.Build.0 = Release|x64 - EndGlobalSection - GlobalSection(SolutionProperties) = preSolution - HideSolutionNode = FALSE - EndGlobalSection -EndGlobal diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AODma_SimuWrites/9223cdma.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AODma_SimuWrites/9223cdma.suo deleted file mode 100644 index 46a6e4b..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AODma_SimuWrites/9223cdma.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AODma_SimuWrites/9223cdma.vcproj b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AODma_SimuWrites/9223cdma.vcproj deleted file mode 100644 index c3e2af5..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AODma_SimuWrites/9223cdma.vcproj +++ /dev/null @@ -1,294 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AODma_SimuWrites/9223cdmaDlg.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AODma_SimuWrites/9223cdmaDlg.cpp deleted file mode 100644 index 8e0b68b..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AODma_SimuWrites/9223cdmaDlg.cpp +++ /dev/null @@ -1,719 +0,0 @@ - -// 9223cdmaDlg.cpp : implementation file -// - -#include "stdafx.h" -#include "9223cdma.h" -#include "9223cdmaDlg.h" -#include "math.h" - -#ifdef _DEBUG -#define new DEBUG_NEW -#endif - -#ifndef M_PI -#define M_PI 3.14159265359 -#endif - -#define P922X_TIMEBASE 80000000.0 -#define AI_READ_COUNT 8000 -#define AI_SAMPLE_INTERV 10000 - -CRect plotRect; - -// CAboutDlg dialog used for App About - -class CAboutDlg : public CDialog -{ -public: - CAboutDlg(); - -// Dialog Data - enum { IDD = IDD_ABOUTBOX }; - - protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - -// Implementation -protected: - DECLARE_MESSAGE_MAP() -}; - -CAboutDlg::CAboutDlg() : CDialog(CAboutDlg::IDD) -{ -} - -void CAboutDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); -} - -BEGIN_MESSAGE_MAP(CAboutDlg, CDialog) -END_MESSAGE_MAP() - - -// C9223cdmaDlg dialog - - - - -C9223cdmaDlg::C9223cdmaDlg(I16 hCard, CWnd* pParent /*=NULL*/) - : CDialog(C9223cdmaDlg::IDD, pParent) -{ - m_hIcon = AfxGetApp()->LoadIcon(IDR_MAINFRAME); - - n_PlotWidth = n_PlotHeight = -1; - OnBrush = OffBrush = NULL; - - min_val = 0x00; - max_val = 0xFFFF; - - m_dwSampIntrv = 10000; - - m_hCard = hCard; - - m_nTimer = -1; - m_hAIMem1 = NULL; - m_hAIMem2 = NULL; - - m_hAOMem1 = NULL; - m_hAOMem2 = NULL; - - m_wRange = AD_B_10_V; - max_range = 10.0; - min_range = -10.0; - - m_dwWriteCount = 4096; - m_wPostCount = 512; - - m_dwOverrunCnt = 0; - - m_wChans[0] = 0; - m_wChans[1] = 1; - -} - -void C9223cdmaDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); -} - -BEGIN_MESSAGE_MAP(C9223cdmaDlg, CDialog) - ON_WM_SYSCOMMAND() - ON_WM_PAINT() - ON_WM_QUERYDRAGICON() - //}}AFX_MSG_MAP - ON_WM_DESTROY() - ON_WM_VSCROLL() - ON_BN_CLICKED(IDC_BT_START, &C9223cdmaDlg::OnStart) - ON_BN_CLICKED(IDC_BT_STOP, &C9223cdmaDlg::OnStop) - ON_WM_TIMER() -END_MESSAGE_MAP() - - -// C9223cdmaDlg message handlers - -BOOL C9223cdmaDlg::OnInitDialog() -{ - CDialog::OnInitDialog(); - - // Add "About..." menu item to system menu. - - // IDM_ABOUTBOX must be in the system command range. - ASSERT((IDM_ABOUTBOX & 0xFFF0) == IDM_ABOUTBOX); - ASSERT(IDM_ABOUTBOX < 0xF000); - - CMenu* pSysMenu = GetSystemMenu(FALSE); - if (pSysMenu != NULL) - { - BOOL bNameValid; - CString strAboutMenu; - bNameValid = strAboutMenu.LoadString(IDS_ABOUTBOX); - ASSERT(bNameValid); - if (!strAboutMenu.IsEmpty()) - { - pSysMenu->AppendMenu(MF_SEPARATOR); - pSysMenu->AppendMenu(MF_STRING, IDM_ABOUTBOX, strAboutMenu); - } - } - - // Set the icon for this dialog. The framework does this automatically - // when the application's main window is not a dialog - SetIcon(m_hIcon, TRUE); // Set big icon - SetIcon(m_hIcon, FALSE); // Set small icon - - // TODO: Add extra initialization here - x_divider = 5; y_divider = 4; - - OnBrush = CreateSolidBrush( RGB(255,0,0) ); - OffBrush = CreateSolidBrush( RGB(125,0,0) ); - - RedPen.CreatePen( PS_SOLID, 1, RGB(255,0,0)); - GreenPen.CreatePen( PS_SOLID, 1, RGB(0,255,0)); - YellowPen.CreatePen( PS_SOLID, 1, RGB(255,255,0)); - BluePen.CreatePen( PS_SOLID, 1, RGB(0,0,255)); - LTBluePen.CreatePen( PS_SOLID, 1, RGB(0,128,255)); - LTRedPen.CreatePen( PS_SOLID, 1, RGB(255,128,0)); - LTGreenPen.CreatePen( PS_SOLID, 1, RGB(0,128,0)); - WhitePen.CreatePen( PS_SOLID, 1, RGB(255,255,255)); - - - if( n_PlotWidth == -1 && n_PlotHeight == -1 ) - { - ((CWnd*)GetDlgItem(IDC_STATIC_DRAW))->GetWindowRect(&plotRect); - ScreenToClient(&plotRect); - - n_PlotWidth = min( plotRect.Width(), 512); - n_PlotHeight = plotRect.Height() - 10; - } - - // set the default SampleRate - - SetDlgItemInt( IDC_EDIT_BUF_SIZE, (UINT)(m_dwWriteCount) ); - SetDlgItemInt( IDC_EDIT_SCAN_ITERVAL, (UINT)(m_dwSampIntrv) ); - - return TRUE; // return TRUE unless you set the focus to a control -} - -void C9223cdmaDlg::OnSysCommand(UINT nID, LPARAM lParam) -{ - if ((nID & 0xFFF0) == IDM_ABOUTBOX) - { - CAboutDlg dlgAbout; - dlgAbout.DoModal(); - } - else - { - CDialog::OnSysCommand(nID, lParam); - } -} - -// If you add a minimize button to your dialog, you will need the code below -// to draw the icon. For MFC applications using the document/view model, -// this is automatically done for you by the framework. - -void C9223cdmaDlg::OnPaint() -{ - if (IsIconic()) - { - CPaintDC dc(this); // device context for painting - - SendMessage(WM_ICONERASEBKGND, reinterpret_cast(dc.GetSafeHdc()), 0); - - // Center icon in client rectangle - int cxIcon = GetSystemMetrics(SM_CXICON); - int cyIcon = GetSystemMetrics(SM_CYICON); - CRect rect; - GetClientRect(&rect); - int x = (rect.Width() - cxIcon + 1) / 2; - int y = (rect.Height() - cyIcon + 1) / 2; - - // Draw the icon - dc.DrawIcon(x, y, m_hIcon); - } - else - { - redraw_display_area(); - CDialog::OnPaint(); - } -} - -// The system calls this function to obtain the cursor to display while the user drags -// the minimized window. -HCURSOR C9223cdmaDlg::OnQueryDragIcon() -{ - return static_cast(m_hIcon); -} - - -void C9223cdmaDlg::redraw_display_area(void) -{ - CPen *oldPen; - - int oldMode; - COLORREF oldColor; - - CString y_lable; - - CPen minor_tick( PS_SOLID,1,RGB(132,130,132) ); - - int i, x_intv, y_intv; - - CClientDC dc_plot(this); - - // draw the base-line for x-y axises - oldPen = (CPen *)dc_plot.SelectStockObject(BLACK_PEN); - - // redraw the background - dc_plot.FillSolidRect( plotRect, RGB(0,0,0) ); - - // Re-Draw the AREA for Y-Lable - { - CBrush DIALOG_BRUSH; - CRect redraw_area, full_client; - - GetClientRect(&full_client); - ScreenToClient(&full_client); - - redraw_area.left = full_client.left; - redraw_area.top = plotRect.top - 5; - redraw_area.right = plotRect.left - 3; - redraw_area.bottom = plotRect.bottom + 10; - - DIALOG_BRUSH.CreateSysColorBrush( COLOR_3DFACE ); - - dc_plot.FillRect( redraw_area, &DIALOG_BRUSH ); - - DIALOG_BRUSH.DeleteObject(); - } - - dc_plot.MoveTo( plotRect.left - 3, plotRect.top ); - dc_plot.LineTo( plotRect.left - 3, plotRect.bottom ); - - // calculate the interval for tick/grid - y_intv = (plotRect.Height() - 10) /y_divider; - x_intv = plotRect.Width()/x_divider; - - - // set the color for tick - oldColor = dc_plot.SetTextColor( RGB(0,0,0) ); - oldMode = dc_plot.SetBkMode( TRANSPARENT ); - - for( i=0; i<= y_divider; i++ ) - { - CString tick_str; - CRect tmp_rect, tick_rect; - - // draw the tick for y-axis - dc_plot.MoveTo( plotRect.left -12, plotRect.bottom -5 - (i*y_intv) ); - dc_plot.LineTo( plotRect.left -3, plotRect.bottom -5 - (i*y_intv) ); - - tick_str.Format( _T("%.1f"), ( ((max_range-min_range)/y_divider) * i)+min_range ); - - // calculate the rectangle for text - dc_plot.DrawText( tick_str, &tmp_rect, DT_CALCRECT|DT_SINGLELINE ); - tick_rect.right = plotRect.left -14; - tick_rect.left = tick_rect.right - tmp_rect.Width(); - tick_rect.top = plotRect.bottom -5 - (i*y_intv) - tmp_rect.Height()/2; - tick_rect.bottom = tick_rect.top + tmp_rect.Height(); - - // draw the text - dc_plot.DrawText( tick_str, &tick_rect, DT_SINGLELINE|DT_RIGHT ); - - } - - // draw the minor_tick for Y axises - dc_plot.SelectObject(&minor_tick); - for( i=0; i< y_divider; i++ ) - { - dc_plot.MoveTo( plotRect.left -9, plotRect.bottom -5 - (i*y_intv) - y_intv/2 ); - dc_plot.LineTo( plotRect.left -4, plotRect.bottom -5 - (i*y_intv) - y_intv/2 ); - } - - dc_plot.SetTextColor( oldColor ); - dc_plot.SetBkMode( oldMode ); - dc_plot.SelectObject( oldPen ); -} - -void C9223cdmaDlg::OnDestroy() -{ - CDialog::OnDestroy(); - - // TODO: Add your message handler code here - if( m_nTimer != -1 ) - { - KillTimer( m_nTimer ); - m_nTimer = -1; - } - - // AI buffer - if (m_hAIMem1 != NULL) - { - GlobalUnfix(m_hAIMem1); - GlobalUnlock(m_hAIMem1); - GlobalFree(m_hAIMem1); - - m_hAIMem1 = NULL; - } - - if (m_hAIMem2 != NULL) - { - GlobalUnfix(m_hAIMem2); - GlobalUnlock(m_hAIMem2); - GlobalFree(m_hAIMem2); - - m_hAIMem2 = NULL; - } - - - if( OnBrush != NULL ) - ::DeleteObject( OnBrush ); - - if( OffBrush != NULL ) - ::DeleteObject( OffBrush ); - - RedPen.DeleteObject(); - GreenPen.DeleteObject(); - YellowPen.DeleteObject(); - BluePen.DeleteObject(); - LTBluePen.DeleteObject(); - LTRedPen.DeleteObject(); - LTGreenPen.DeleteObject(); - WhitePen.DeleteObject(); - -} - -void C9223cdmaDlg::OnVScroll(UINT nSBCode, UINT nPos, CScrollBar* pScrollBar) -{ - // TODO: Add your message handler code here and/or call default - switch ( nSBCode ) - { - case SB_LINEUP : - m_dwSampIntrv += 160; - if (m_dwSampIntrv > 40000 ) m_dwSampIntrv = 40000; - break; - case SB_LINEDOWN: - m_dwSampIntrv -= 160; - if (m_dwSampIntrv < 160 ) m_dwSampIntrv = 160; - break; - } - - SetDlgItemInt( IDC_EDIT_SCAN_ITERVAL, (UINT)(m_dwSampIntrv) ); - - CDialog::OnVScroll(nSBCode, nPos, pScrollBar); -} - - -void C9223cdmaDlg::OnStop() -{ - // TODO: Add your control notification handler code here - U32 count; - - if( m_nTimer != -1 ) - { - KillTimer( m_nTimer ); - m_nTimer = -1; - } - - AI_AsyncClear(m_hCard, &count); - AO_AsyncClear(m_hCard, &count, 0); - - GetDlgItem( IDC_BT_START )->EnableWindow(TRUE); -} - -void C9223cdmaDlg::OnStart() -{ - // TODO: Add your control notification handler code here - DWORD mem_size; - CString strTemp; - I16 err; - U32 vi, i; - double fTmp; - - m_dwWriteCount = GetDlgItemInt(IDC_EDIT_BUF_SIZE); - - if( m_dwWriteCount < 1024 ) - { - AfxMessageBox( TEXT("For sample limitation, the sample count must be larger than 1024") ); - } - - GetDlgItem( IDC_BT_START )->EnableWindow(FALSE); - - /***************** begin of AI buffer setup *****************/ - if (m_hAIMem1 != NULL) - { - GlobalUnfix(m_hAIMem1); - GlobalUnlock(m_hAIMem1); - GlobalFree(m_hAIMem1); - - m_hAIMem1 = NULL; - } - - if (m_hAIMem2 != NULL) - { - GlobalUnfix(m_hAIMem2); - GlobalUnlock(m_hAIMem2); - GlobalFree(m_hAIMem2); - - m_hAIMem2 = NULL; - } - - // allocate a memory for user DMA buffer - mem_size = AI_READ_COUNT * sizeof(I16); - - m_hAIMem1 = GlobalAlloc(GMEM_FIXED | GMEM_ZEROINIT, mem_size); - m_pAIBuf1 = (U16*) GlobalLock(m_hAIMem1); - if (m_pAIBuf1 == NULL ) - { - AfxMessageBox( TEXT("AI Memory allocation failed"), MB_OK); - return; - } - GlobalFix(m_hAIMem1); - - m_hAIMem2 = GlobalAlloc(GMEM_FIXED | GMEM_ZEROINIT, mem_size); - m_pAIBuf2 = (U16*) GlobalLock(m_hAIMem2); - if (m_pAIBuf2 == NULL ) - { - AfxMessageBox( TEXT("AI Memory allocation failed"), MB_OK); - return; - } - GlobalFix(m_hAIMem2); - - /***************** end of AI buffer setup *****************/ - - /***************** begin of AO buffer setup *****************/ - - if (m_hAOMem1 != NULL) - { - GlobalUnfix(m_hAOMem1); - GlobalUnlock(m_hAOMem1); - GlobalFree(m_hAOMem1); - - m_hAOMem1 = NULL; - } - - if (m_hAOMem2 != NULL) - { - GlobalUnfix(m_hAOMem2); - GlobalUnlock(m_hAOMem2); - GlobalFree(m_hAOMem2); - - m_hAOMem2 = NULL; - } - - // memory for Pattern - mem_size = m_dwWriteCount * sizeof(U32); - - m_hAOMem1 = GlobalAlloc(GMEM_FIXED | GMEM_ZEROINIT, mem_size); - m_pPattern = (U32*) GlobalLock(m_hAOMem1); - if (m_pPattern == NULL ) - { - AfxMessageBox( TEXT("AO Memory allocation failed"), MB_OK); - return; - } - GlobalFix(m_hAOMem1); - - // memory for continuous output - - m_hAOMem2 = GlobalAlloc(GMEM_FIXED | GMEM_ZEROINIT, (mem_size*2) ); - m_pAOBuf = (U32*) GlobalLock(m_hAOMem2); - if (m_pAOBuf == NULL ) - { - AfxMessageBox( TEXT("AO Memory allocation failed"), MB_OK); - return; - } - GlobalFix(m_hAOMem2); - - - /***************** end of AI buffer setup *****************/ - - m_oldY[0] = m_oldY[1] = m_oldY[2] = m_oldY[3] = m_oldY[4] = m_oldY[5] = m_oldY[6] = m_oldY[7] = -1; - m_oldX[0] = m_oldX[1] = m_oldX[2] = m_oldX[3] = m_oldX[4] = m_oldX[5] = m_oldX[6] = m_oldX[7] = -1; - - if ((err = AI_9222_Config(m_hCard, P922x_AI_SingEnded|P922x_AI_CONVSRC_INT, P922x_AI_TRGMOD_POST|P922x_AI_TRGSRC_SOFT, 0, TRUE)) != NoError) - { - strTemp.Format( TEXT("AI_9222_Config error=%d"), err); - AfxMessageBox( strTemp ); - return; - } - - if ((err = AI_9222_CounterInterval(m_hCard, AI_SAMPLE_INTERV, AI_SAMPLE_INTERV)) != NoError) - { - strTemp.Format( TEXT("AI_9222_CounterInterval error=%d"), err); - AfxMessageBox( strTemp ); - return; - } - - if ((err = AI_AsyncDblBufferMode (m_hCard, 1)) != NoError) - { - strTemp.Format( TEXT("AI_AsyncDblBufferMode error=%d"), err); - AfxMessageBox( strTemp ); - return; - } - - if ((err = AI_ContBufferSetup (m_hCard, m_pAIBuf1, AI_READ_COUNT, &m_wAIBufID1)) != NoError) - { - strTemp.Format( TEXT("AI_ContBufferSetup error=%d"), err); - AfxMessageBox( strTemp ); - return; - } - - if ((err = AI_ContBufferSetup (m_hCard, m_pAIBuf2, AI_READ_COUNT, &m_wAIBufID2)) != NoError) - { - strTemp.Format( TEXT("AI_ContBufferSetup error=%d"), err); - AfxMessageBox( strTemp ); - return; - } - - if ((err = AO_9222_Config(m_hCard, P922x_AO_CONVSRC_INT, (P922x_AO_TRGMOD_POST|P922x_AO_TRGSRC_SOFT), 0, 0, 0, TRUE)) != NoError) - { - strTemp.Format( TEXT("AO_9222_Config error=%d"), err); - AfxMessageBox( strTemp ); - return; - } - - /*Enable Double Buffer Mode*/ - if ((err = AO_AsyncDblBufferMode(m_hCard, 0)) != NoError) - { - strTemp.Format( TEXT("AO_AsyncDblBufferMode error=%d"), err); - AfxMessageBox( strTemp ); - return; - } - - // Pattern Build-up - for(vi=0; vi= 256) && ( i < 768) ) - { - fTmp = 32767.0 - 128.0 * (double)( i - 256 ); - } - else if( i < 1024 ) - { - fTmp = 128.0 * (double)( i - 768 ) - 32768.0; - } - - m_pPattern[vi] = (U16)(fTmp)+0x00008000; - } - - if ((err = AO_ContBufferCompose(m_hCard, 2, m_wChans[1], m_dwWriteCount, m_pAOBuf, m_pPattern)) != NoError) - { - strTemp.Format( TEXT("AO_ContBufferCompose error=%d"), err); - AfxMessageBox( strTemp ); - return; - } - - - - /*Setup buffer*/ - if ((err = AO_ContBufferSetup(m_hCard, m_pAOBuf, (m_dwWriteCount*2), &m_wAOBufID1)) != NoError) - { - strTemp.Format( TEXT("AO_ContBufferSetup error=%d"), err); - AfxMessageBox( strTemp ); - return; - } - - m_bView = 0; - - if ((err = AI_ContReadChannel(m_hCard, 0, m_wRange, &m_wAIBufID1, AI_READ_COUNT, 0, ASYNCH_OP)) != NoError) - { - strTemp.Format( TEXT("AI_ContBufferSetup error=%d"), err); - AfxMessageBox( strTemp ); - return; - } - - - /*Start AO0 DAC, Infinite repeate*/ - if ((err = AO_ContWriteMultiChannels(m_hCard, 2, m_wChans, m_wAOBufID1, m_dwWriteCount, 0, m_dwSampIntrv, 0, ASYNCH_OP)) != NoError) - { - strTemp.Format( TEXT("AO_ContWriteMultiChannels error=%d"), err); - AfxMessageBox( strTemp ); - return; - } - - m_nTimer = SetTimer( 1, 20, NULL ); - -} - -int C9223cdmaDlg::display_buffer_data(U16* pBuf) -{ - CClientDC dc_plot(this); - int nDraw_Origin_Y; - int cur_channel; - - int newY = -1; - int newX = -1; - U32 index; - I16 ai_data; - U32 dwDataSize = AI_READ_COUNT; - - // redraw the background - dc_plot.FillSolidRect( plotRect, RGB(0,0,0) ); - - dc_plot.SelectObject(&YellowPen); - - nDraw_Origin_Y = ( plotRect.bottom - 5 ) - n_PlotHeight/2; - - cur_channel = 0; - - for( index=0; index> 16) ); // ( n_PlotHeight * ai_data / 65536) ); // ( (n_PlotHeight/2) * ai_data/32768 ) ); - newX = (int)( index*n_PlotWidth/dwDataSize + plotRect.left ); - - if ( index == 0 ) - { - dc_plot.MoveTo( newX, newY ); - } - else - { - dc_plot.MoveTo( m_oldX[cur_channel], m_oldY[cur_channel] ); - dc_plot.LineTo( newX, newY ); - } - - m_oldX[cur_channel] = newX; - m_oldY[cur_channel] = newY; - } - - return 0; -} - -void C9223cdmaDlg::OnTimer(UINT_PTR nIDEvent) -{ - // TODO: Add your message handler code here and/or call default - BOOLEAN HalfReady; - BOOLEAN fstop; - U16 OverrunFlag; - - AI_AsyncDblBufferHalfReady(m_hCard, &HalfReady, &fstop); - - if( HalfReady ) // half-buffer ready - { - if(m_bView == 0) - { - display_buffer_data( m_pAIBuf1 ); - m_bView = 1; - } - else - { - display_buffer_data( m_pAIBuf2 ); - m_bView= 0; - } - - AI_AsyncDblBufferHandled( m_hCard ); - AI_AsyncDblBufferOverrun( m_hCard, 0, &OverrunFlag); - - if(OverrunFlag) - { - m_dwOverrunCnt++; - AI_AsyncDblBufferOverrun( m_hCard, 1, NULL ); - } - - - } - - CDialog::OnTimer(nIDEvent); -} - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AODma_SimuWrites/9223cdmaDlg.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AODma_SimuWrites/9223cdmaDlg.h deleted file mode 100644 index ecceabf..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AODma_SimuWrites/9223cdmaDlg.h +++ /dev/null @@ -1,84 +0,0 @@ - -// 9223cdmaDlg.h : header file -#pragma once -#include "afxcmn.h" -#include "afxwin.h" - -#include "Dask64.h" - -// C9223cdmaDlg dialog -class C9223cdmaDlg : public CDialog -{ -// Construction -public: - C9223cdmaDlg(I16 hCard, CWnd* pParent = NULL); // standard constructor - -// Dialog Data - enum { IDD = IDD_9223DMA_DIALOG }; - - protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - - -// Implementation -protected: - HICON m_hIcon; - UINT_PTR m_nTimer; - I16 m_hCard; - U32 m_dwSampIntrv; - HANDLE m_hAIMem1; - HANDLE m_hAIMem2; - U16 *m_pAIBuf1; - U16 *m_pAIBuf2; - U16 m_wAIBufID1; - U16 m_wAIBufID2; - HANDLE m_hAOMem1; - HANDLE m_hAOMem2; - U32 *m_pPattern; - U32 *m_pAOBuf; - U16 m_wAOBufID1; - U16 m_wAOBufID2; - U16 m_wChans[2]; - U16 m_wRange; - int m_oldY[8]; - int m_oldX[8]; - U32 m_dwWriteCount; - U16 m_wPostCount; - U8 m_bView; - U32 m_dwOverrunCnt; - - // Generated message map functions - virtual BOOL OnInitDialog(); - afx_msg void OnSysCommand(UINT nID, LPARAM lParam); - afx_msg void OnPaint(); - afx_msg HCURSOR OnQueryDragIcon(); - DECLARE_MESSAGE_MAP() - -public: - WORD max_val; - WORD min_val; - double max_range; - double min_range; - int n_PlotWidth; - int n_PlotHeight; - int y_divider; - int x_divider; - int m_DisplayScale; - HBRUSH OnBrush; - HBRUSH OffBrush; - CPen RedPen; - CPen GreenPen; - CPen YellowPen; - CPen BluePen; - CPen LTBluePen; - CPen LTRedPen; - CPen LTGreenPen; - CPen WhitePen; - void redraw_display_area(void); - afx_msg void OnDestroy(); - afx_msg void OnVScroll(UINT nSBCode, UINT nPos, CScrollBar* pScrollBar); - afx_msg void OnStart(); - int display_buffer_data(U16* pBuf); - afx_msg void OnTimer(UINT_PTR nIDEvent); - afx_msg void OnStop(); -}; diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AODma_SimuWrites/CardIDDlg.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AODma_SimuWrites/CardIDDlg.cpp deleted file mode 100644 index dfa5652..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AODma_SimuWrites/CardIDDlg.cpp +++ /dev/null @@ -1,64 +0,0 @@ -// CardIDDlg.cpp : implementation file -// -#include "stdafx.h" -#include "9223cdma.h" -#include "9223cdmaDlg.h" -#include "CardIDDlg.h" - -// CCardIDDlg dialog - -IMPLEMENT_DYNAMIC(CCardIDDlg, CDialog) - -CCardIDDlg::CCardIDDlg(int nCardIdx, CWnd* pParent /*=NULL*/) - : CDialog(CCardIDDlg::IDD, pParent) -{ - m_nCardIdx = nCardIdx; -} - -CCardIDDlg::~CCardIDDlg() -{ -} - -void CCardIDDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); - DDX_Control(pDX, IDC_COMBO_CARDID, m_cbCardID); -} - - -BEGIN_MESSAGE_MAP(CCardIDDlg, CDialog) -// ON_CBN_SELCHANGE(IDC_COMBO_CARDID, &CCardIDDlg::OnCbnSelchangeComboCardid) -ON_BN_CLICKED(IDOK, &CCardIDDlg::OnBnClickedOk) -//ON_WM_CTLCOLOR() -END_MESSAGE_MAP() - - -// CCardIDDlg message handlers - - -void CCardIDDlg::OnBnClickedOk() -{ - // TODO: Add your control notification handler code here - -// UpdateData(TRUE); - m_nCardIdx = m_cbCardID.GetCurSel(); - - OnOK(); -} - -BOOL CCardIDDlg::OnInitDialog() -{ - CDialog::OnInitDialog(); - - // TODO: Add extra initialization here - m_cbCardID.SetCurSel( m_nCardIdx ); - - return TRUE; // return TRUE unless you set the focus to a control - // EXCEPTION: OCX Property Pages should return FALSE -} - -// the function to get the selected CardID -int CCardIDDlg::GetCardID(void) -{ - return m_nCardIdx; -} diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AODma_SimuWrites/CardIDDlg.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AODma_SimuWrites/CardIDDlg.h deleted file mode 100644 index 9c02c58..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AODma_SimuWrites/CardIDDlg.h +++ /dev/null @@ -1,32 +0,0 @@ -#pragma once -#include "afxwin.h" - -#include "Dask64.h" - -// CCardIDDlg dialog - -class CCardIDDlg : public CDialog -{ - DECLARE_DYNAMIC(CCardIDDlg) - -public: - CCardIDDlg(int nCardIdx, CWnd* pParent = NULL); // standard constructor - virtual ~CCardIDDlg(); - -// Dialog Data - enum { IDD = IDD_CARDID_DIALOG }; - -protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - - DECLARE_MESSAGE_MAP() -public: - virtual BOOL OnInitDialog(); - afx_msg void OnBnClickedOk(); - // the setting of CardID ComboBox - int m_nCardIdx; - // the control of CardID ComboBox - CComboBox m_cbCardID; - // the function to get the selected CardID - int GetCardID(void); -}; diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AODma_SimuWrites/ReadMe.txt b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AODma_SimuWrites/ReadMe.txt deleted file mode 100644 index d1c88f4..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AODma_SimuWrites/ReadMe.txt +++ /dev/null @@ -1,93 +0,0 @@ -================================================================================ - MICROSOFT FOUNDATION CLASS LIBRARY : 9223cdma Project Overview -=============================================================================== - -The application wizard has created this 9223cdma application for -you. This application not only demonstrates the basics of using the Microsoft -Foundation Classes but is also a starting point for writing your application. - -This file contains a summary of what you will find in each of the files that -make up your 9223cdma application. - -9223cdma.vcproj - This is the main project file for VC++ projects generated using an application wizard. - It contains information about the version of Visual C++ that generated the file, and - information about the platforms, configurations, and project features selected with the - application wizard. - -9223cdma.h - This is the main header file for the application. It includes other - project specific headers (including Resource.h) and declares the - C9223cdmaApp application class. - -9223cdma.cpp - This is the main application source file that contains the application - class C9223cdmaApp. - -9223cdma.rc - This is a listing of all of the Microsoft Windows resources that the - program uses. It includes the icons, bitmaps, and cursors that are stored - in the RES subdirectory. This file can be directly edited in Microsoft - Visual C++. Your project resources are in 1033. - -res\9223cdma.ico - This is an icon file, which is used as the application's icon. This - icon is included by the main resource file 9223cdma.rc. - -res\My9223cdma.rc2 - This file contains resources that are not edited by Microsoft - Visual C++. You should place all resources not editable by - the resource editor in this file. - - -///////////////////////////////////////////////////////////////////////////// - -The application wizard creates one dialog class: - -9223cdmaDlg.h, 9223cdmaDlg.cpp - the dialog - These files contain your C9223cdmaDlg class. This class defines - the behavior of your application's main dialog. The dialog's template is - in 9223cdma.rc, which can be edited in Microsoft Visual C++. - - -///////////////////////////////////////////////////////////////////////////// - -Other Features: - -ActiveX Controls - The application includes support to use ActiveX controls. - -///////////////////////////////////////////////////////////////////////////// - -Other standard files: - -StdAfx.h, StdAfx.cpp - These files are used to build a precompiled header (PCH) file - named 9223cdma.pch and a precompiled types file named StdAfx.obj. - -Resource.h - This is the standard header file, which defines new resource IDs. - Microsoft Visual C++ reads and updates this file. - -9223cdma.manifest - Application manifest files are used by Windows XP to describe an applications - dependency on specific versions of Side-by-Side assemblies. The loader uses this - information to load the appropriate assembly from the assembly cache or private - from the application. The Application manifest maybe included for redistribution - as an external .manifest file that is installed in the same folder as the application - executable or it may be included in the executable in the form of a resource. -///////////////////////////////////////////////////////////////////////////// - -Other notes: - -The application wizard uses "TODO:" to indicate parts of the source code you -should add to or customize. - -If your application uses MFC in a shared DLL, you will need -to redistribute the MFC DLLs. If your application is in a language -other than the operating system's locale, you will also have to -redistribute the corresponding localized resources MFC90XXX.DLL. -For more information on both of these topics, please see the section on -redistributing Visual C++ applications in MSDN documentation. - -///////////////////////////////////////////////////////////////////////////// diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AODma_SimuWrites/res/9223cdma.ico b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AODma_SimuWrites/res/9223cdma.ico deleted file mode 100644 index d56fbcd..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AODma_SimuWrites/res/9223cdma.ico and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AODma_SimuWrites/res/My9223cdma.rc2 b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AODma_SimuWrites/res/My9223cdma.rc2 deleted file mode 100644 index 383cde2..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AODma_SimuWrites/res/My9223cdma.rc2 +++ /dev/null @@ -1,13 +0,0 @@ -// -// My9111int.RC2 - resources Microsoft Visual C++ does not edit directly -// - -#ifdef APSTUDIO_INVOKED -#error this file is not editable by Microsoft Visual C++ -#endif //APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// Add manually edited resources here... - -///////////////////////////////////////////////////////////////////////////// diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AODma_SimuWrites/res/ch_set1.bmp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AODma_SimuWrites/res/ch_set1.bmp deleted file mode 100644 index f2374ed..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AODma_SimuWrites/res/ch_set1.bmp and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AODma_SimuWrites/res/ch_set2.bmp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AODma_SimuWrites/res/ch_set2.bmp deleted file mode 100644 index 32d0915..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AODma_SimuWrites/res/ch_set2.bmp and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AODma_SimuWrites/resource.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AODma_SimuWrites/resource.h deleted file mode 100644 index 80a78c9..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AODma_SimuWrites/resource.h +++ /dev/null @@ -1,35 +0,0 @@ -//{{NO_DEPENDENCIES}} -// Microsoft Visual C++ generated include file. -// Used by 9223cdma.rc -// -#define IDM_ABOUTBOX 0x0010 -#define IDD_ABOUTBOX 100 -#define IDS_ABOUTBOX 101 -#define IDD_9223DMA_DIALOG 102 -#define IDR_MAINFRAME 128 -#define IDD_CARDID_DIALOG 129 -#define IDB_BITMAP_SET1 131 -#define IDB_BITMAP_SET2 132 -#define IDC_STATIC_DRAW 1000 -#define IDC_COMBO_CARDID 1001 -#define IDC_BT_STOP 1002 -#define IDC_COMBO_CARDTYPE 1003 -#define IDC_BT_START 1004 -#define IDC_EDIT_SCAN_ITERVAL 1005 -#define IDC_SCROLLBAR_RATE 1006 -#define IDC_STATIC_01 1007 -#define IDC_EDIT_BUF_SIZE 1008 -#define IDC_STATIC_2 1009 -#define IDC_EDIT1 1010 -#define IDC_EDIT_OVERRUN 1011 - -// Next default values for new objects -// -#ifdef APSTUDIO_INVOKED -#ifndef APSTUDIO_READONLY_SYMBOLS -#define _APS_NEXT_RESOURCE_VALUE 134 -#define _APS_NEXT_COMMAND_VALUE 32771 -#define _APS_NEXT_CONTROL_VALUE 1012 -#define _APS_NEXT_SYMED_VALUE 101 -#endif -#endif diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AODma_SimuWrites/stdafx.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AODma_SimuWrites/stdafx.cpp deleted file mode 100644 index ef80626..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AODma_SimuWrites/stdafx.cpp +++ /dev/null @@ -1,8 +0,0 @@ - -// stdafx.cpp : source file that includes just the standard includes -// 9111int.pch will be the pre-compiled header -// stdafx.obj will contain the pre-compiled type information - -#include "stdafx.h" - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AODma_SimuWrites/stdafx.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AODma_SimuWrites/stdafx.h deleted file mode 100644 index 12123e2..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AODma_SimuWrites/stdafx.h +++ /dev/null @@ -1,60 +0,0 @@ - -// stdafx.h : include file for standard system include files, -// or project specific include files that are used frequently, -// but are changed infrequently - -#pragma once - -#ifndef _SECURE_ATL -#define _SECURE_ATL 1 -#endif - -#ifndef VC_EXTRALEAN -#define VC_EXTRALEAN // Exclude rarely-used stuff from Windows headers -#endif - -#include "targetver.h" - -#define _ATL_CSTRING_EXPLICIT_CONSTRUCTORS // some CString constructors will be explicit - -// turns off MFC's hiding of some common and often safely ignored warning messages -#define _AFX_ALL_WARNINGS - -#include // MFC core and standard components -#include // MFC extensions - - -#include // MFC Automation classes - - - -#ifndef _AFX_NO_OLE_SUPPORT -#include // MFC support for Internet Explorer 4 Common Controls -#endif -#ifndef _AFX_NO_AFXCMN_SUPPORT -#include // MFC support for Windows Common Controls -#endif // _AFX_NO_AFXCMN_SUPPORT - -#include // MFC support for ribbons and control bars - - - - - - - - - -#ifdef _UNICODE -#if defined _M_IX86 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='x86' publicKeyToken='6595b64144ccf1df' language='*'\"") -#elif defined _M_IA64 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='ia64' publicKeyToken='6595b64144ccf1df' language='*'\"") -#elif defined _M_X64 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='amd64' publicKeyToken='6595b64144ccf1df' language='*'\"") -#else -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='*' publicKeyToken='6595b64144ccf1df' language='*'\"") -#endif -#endif - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AODma_SimuWrites/targetver.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AODma_SimuWrites/targetver.h deleted file mode 100644 index 11730d5..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AODma_SimuWrites/targetver.h +++ /dev/null @@ -1,26 +0,0 @@ - -#pragma once - -// The following macros define the minimum required platform. The minimum required platform -// is the earliest version of Windows, Internet Explorer etc. that has the necessary features to run -// your application. The macros work by enabling all features available on platform versions up to and -// including the version specified. - -// Modify the following defines if you have to target a platform prior to the ones specified below. -// Refer to MSDN for the latest info on corresponding values for different platforms. -#ifndef WINVER // Specifies that the minimum required platform is Windows Vista. -#define WINVER 0x0600 // Change this to the appropriate value to target other versions of Windows. -#endif - -#ifndef _WIN32_WINNT // Specifies that the minimum required platform is Windows Vista. -#define _WIN32_WINNT 0x0600 // Change this to the appropriate value to target other versions of Windows. -#endif - -#ifndef _WIN32_WINDOWS // Specifies that the minimum required platform is Windows 98. -#define _WIN32_WINDOWS 0x0410 // Change this to the appropriate value to target Windows Me or later. -#endif - -#ifndef _WIN32_IE // Specifies that the minimum required platform is Internet Explorer 7.0. -#define _WIN32_IE 0x0700 // Change this to the appropriate value to target other versions of IE. -#endif - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AODma_WaveRepeat/9111DbInt.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AODma_WaveRepeat/9111DbInt.suo deleted file mode 100644 index 3fde864..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AODma_WaveRepeat/9111DbInt.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AODma_WaveRepeat/9111PostTg.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AODma_WaveRepeat/9111PostTg.suo deleted file mode 100644 index c59a833..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AODma_WaveRepeat/9111PostTg.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AODma_WaveRepeat/9111int.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AODma_WaveRepeat/9111int.suo deleted file mode 100644 index aaca7d8..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AODma_WaveRepeat/9111int.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AODma_WaveRepeat/9116cdma.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AODma_WaveRepeat/9116cdma.suo deleted file mode 100644 index df9f193..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AODma_WaveRepeat/9116cdma.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AODma_WaveRepeat/9118cdma.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AODma_WaveRepeat/9118cdma.suo deleted file mode 100644 index 9318437..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AODma_WaveRepeat/9118cdma.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AODma_WaveRepeat/9221cdma.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AODma_WaveRepeat/9221cdma.suo deleted file mode 100644 index 9cb61ca..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AODma_WaveRepeat/9221cdma.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AODma_WaveRepeat/9222cdma.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AODma_WaveRepeat/9222cdma.suo deleted file mode 100644 index fdc5eb9..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AODma_WaveRepeat/9222cdma.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AODma_WaveRepeat/9223cdma.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AODma_WaveRepeat/9223cdma.cpp deleted file mode 100644 index f121734..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AODma_WaveRepeat/9223cdma.cpp +++ /dev/null @@ -1,109 +0,0 @@ - -// 9223cdma.cpp : Defines the class behaviors for the application. -// - -#include "stdafx.h" -#include "9223cdma.h" -#include "9223cdmaDlg.h" -#include "CardIDDlg.h" - -#ifdef _DEBUG -#define new DEBUG_NEW -#endif - - -// C9223cdmaApp - -BEGIN_MESSAGE_MAP(C9223cdmaApp, CWinAppEx) - ON_COMMAND(ID_HELP, &CWinApp::OnHelp) -END_MESSAGE_MAP() - - -// C9223cdmaApp construction - -C9223cdmaApp::C9223cdmaApp() -{ - // TODO: add construction code here, - // Place all significant initialization in InitInstance -} - - -// The one and only C9223cdmaApp object - -C9223cdmaApp theApp; - - -// C9223cdmaApp initialization - -BOOL C9223cdmaApp::InitInstance() -{ - int nCardID = 0; - I16 hCard; - CString strTemp; - INT_PTR nResponse; - - // InitCommonControlsEx() is required on Windows XP if an application - // manifest specifies use of ComCtl32.dll version 6 or later to enable - // visual styles. Otherwise, any window creation will fail. - INITCOMMONCONTROLSEX InitCtrls; - InitCtrls.dwSize = sizeof(InitCtrls); - // Set this to include all the common control classes you want to use - // in your application. - InitCtrls.dwICC = ICC_WIN95_CLASSES; - InitCommonControlsEx(&InitCtrls); - - CWinAppEx::InitInstance(); - - AfxEnableControlContainer(); - - // Standard initialization - // If you are not using these features and wish to reduce the size - // of your final executable, you should remove from the following - // the specific initialization routines you do not need - // Change the registry key under which our settings are stored - // TODO: You should modify this string to be something appropriate - // such as the name of your company or organization - SetRegistryKey(_T("Local AppWizard-Generated Applications")); - - CCardIDDlg CardDlg( nCardID ); - - nResponse = CardDlg.DoModal(); - if (nResponse == IDOK) - { - nCardID = CardDlg.GetCardID(); - - if ((hCard=Register_Card(PCI_9223, nCardID)) < 0) - { - strTemp.Format( TEXT("Register_Card Error = %d"), hCard); - AfxMessageBox( strTemp ); - } - else - { - C9223cdmaDlg dlg(hCard); - m_pMainWnd = &dlg; - nResponse = dlg.DoModal(); - if (nResponse == IDOK) - { - // TODO: Place code here to handle when the dialog is - // dismissed with OK - } - else if (nResponse == IDCANCEL) - { - // TODO: Place code here to handle when the dialog is - // dismissed with Cancel - } - - if (hCard >= 0) Release_Card(hCard); - } - - } - else if (nResponse == IDCANCEL) - { - // TODO: Place code here to handle when the dialog is - // dismissed with Cancel - } - - // Since the dialog has been closed, return FALSE so that we exit the - // application, rather than start the application's message pump. - return FALSE; -} diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AODma_WaveRepeat/9223cdma.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AODma_WaveRepeat/9223cdma.h deleted file mode 100644 index 27ba83d..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AODma_WaveRepeat/9223cdma.h +++ /dev/null @@ -1,34 +0,0 @@ - -// 9223cdma.h : main header file for the PROJECT_NAME application -// - -#pragma once - -#ifndef __AFXWIN_H__ - #error "include 'stdafx.h' before including this file for PCH" -#endif - -#include "resource.h" // main symbols - -#define AI_MODE_DMA 0 -#define AI_MODE_INT 1 - -// C9223cdmaApp: -// See 9223cdma.cpp for the implementation of this class -// - -class C9223cdmaApp : public CWinAppEx -{ -public: - C9223cdmaApp(); - -// Overrides - public: - virtual BOOL InitInstance(); - -// Implementation - - DECLARE_MESSAGE_MAP() -}; - -extern C9223cdmaApp theApp; \ No newline at end of file diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AODma_WaveRepeat/9223cdma.rc b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AODma_WaveRepeat/9223cdma.rc deleted file mode 100644 index 6454d94..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AODma_WaveRepeat/9223cdma.rc +++ /dev/null @@ -1,284 +0,0 @@ -// Microsoft Visual C++ generated resource script. -// -#include "resource.h" - -#define APSTUDIO_READONLY_SYMBOLS -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 2 resource. -// -#ifndef APSTUDIO_INVOKED -#include "targetver.h" -#endif -#include "afxres.h" - -///////////////////////////////////////////////////////////////////////////// -#undef APSTUDIO_READONLY_SYMBOLS - -///////////////////////////////////////////////////////////////////////////// -// Chinese (Taiwan) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_CHT) -#ifdef _WIN32 -LANGUAGE LANG_CHINESE, SUBLANG_CHINESE_TRADITIONAL -#pragma code_page(950) -#endif //_WIN32 - -#ifdef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// TEXTINCLUDE -// - -1 TEXTINCLUDE -BEGIN - "resource.h\0" -END - -2 TEXTINCLUDE -BEGIN - "#ifndef APSTUDIO_INVOKED\r\n" - "#include ""targetver.h""\r\n" - "#endif\r\n" - "#include ""afxres.h""\r\n" - "\0" -END - -3 TEXTINCLUDE -BEGIN - "#define _AFX_NO_SPLITTER_RESOURCES\r\n" - "#define _AFX_NO_OLE_RESOURCES\r\n" - "#define _AFX_NO_TRACKER_RESOURCES\r\n" - "#define _AFX_NO_PROPERTY_RESOURCES\r\n" - "\r\n" - "#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)\r\n" - "LANGUAGE 9, 1\r\n" - "#pragma code_page(1252)\r\n" - "#include ""res\\My9223cdma.rc2"" // non-Microsoft Visual C++ edited resources\r\n" - "#include ""afxres.rc"" // Standard components\r\n" - "#endif\r\n" - "\0" -END - -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// Icon -// - -// Icon with lowest ID value placed first to ensure application icon -// remains consistent on all systems. -IDR_MAINFRAME ICON "res\\9223cdma.ico" -#endif // Chinese (Taiwan) resources -///////////////////////////////////////////////////////////////////////////// - - -///////////////////////////////////////////////////////////////////////////// -// English (U.S.) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -#ifdef _WIN32 -LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US -#pragma code_page(1252) -#endif //_WIN32 - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog -// - -IDD_ABOUTBOX DIALOGEX 0, 0, 170, 62 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "About 9223cdma" -FONT 8, "MS Shell Dlg", 0, 0, 0x1 -BEGIN - ICON IDR_MAINFRAME,IDC_STATIC,14,14,21,20 - LTEXT "9223cdma, Version 1.0",IDC_STATIC,42,14,114,8,SS_NOPREFIX - LTEXT "Copyright (C) 2010",IDC_STATIC,42,26,114,8 - DEFPUSHBUTTON "OK",IDOK,113,41,50,14,WS_GROUP -END - -IDD_9223DMA_DIALOG DIALOGEX 0, 0, 353, 239 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU -EXSTYLE WS_EX_APPWINDOW -CAPTION "PCI-9223 AO Repeat-Wave" -FONT 8, "MS Shell Dlg", 0, 0, 0x1 -BEGIN - GROUPBOX "",IDC_STATIC_DRAW,46,66,299,161,NOT WS_VISIBLE - LTEXT "Range : +/- 10V",IDC_STATIC,294,54,52,11 - LTEXT "Write Count :",IDC_STATIC,149,21,44,9 - EDITTEXT IDC_EDIT_SCAN_ITERVAL,63,36,49,14,ES_AUTOHSCROLL | ES_READONLY - LTEXT "Update Interval :",IDC_STATIC,65,21,57,9 - SCROLLBAR IDC_SCROLLBAR_RATE,113,36,9,11,SBS_VERT - PUSHBUTTON "Start",IDC_BT_START,227,28,55,22 - EDITTEXT IDC_EDIT_BUF_SIZE,143,36,51,14,ES_AUTOHSCROLL - PUSHBUTTON "Stop",IDC_BT_STOP,289,28,55,22 - LTEXT "Please check the AO0 (pin-16) to AI0 (pin-34) , and the analog output will be loggeg in following panel.",IDC_STATIC,16,7,328,15 -END - -IDD_CARDID_DIALOG DIALOGEX 0, 0, 174, 96 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "Card ID" -FONT 8, "MS Shell Dlg", 400, 0, 0x1 -BEGIN - COMBOBOX IDC_COMBO_CARDID,78,24,71,126,CBS_DROPDOWN | WS_VSCROLL | WS_TABSTOP - LTEXT "Card Number",IDC_STATIC_01,23,25,46,12 - PUSHBUTTON "OK",IDOK,22,59,58,19 - PUSHBUTTON "CANCEL",IDCANCEL,86,59,58,19 -END - - -///////////////////////////////////////////////////////////////////////////// -// -// Version -// - -VS_VERSION_INFO VERSIONINFO - FILEVERSION 1,0,0,1 - PRODUCTVERSION 1,0,0,1 - FILEFLAGSMASK 0x3fL -#ifdef _DEBUG - FILEFLAGS 0x1L -#else - FILEFLAGS 0x0L -#endif - FILEOS 0x4L - FILETYPE 0x1L - FILESUBTYPE 0x0L -BEGIN - BLOCK "StringFileInfo" - BEGIN - BLOCK "040904e4" - BEGIN - VALUE "CompanyName", "TODO: " - VALUE "FileDescription", "TODO: " - VALUE "FileVersion", "1.0.0.1" - VALUE "InternalName", "9223cdma.exe" - VALUE "LegalCopyright", "TODO: (c) . All rights reserved." - VALUE "OriginalFilename", "9223cdma.exe" - VALUE "ProductName", "TODO: " - VALUE "ProductVersion", "1.0.0.1" - END - END - BLOCK "VarFileInfo" - BEGIN - VALUE "Translation", 0x409, 1252 - END -END - - -///////////////////////////////////////////////////////////////////////////// -// -// DESIGNINFO -// - -#ifdef APSTUDIO_INVOKED -GUIDELINES DESIGNINFO -BEGIN - IDD_ABOUTBOX, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 163 - TOPMARGIN, 7 - BOTTOMMARGIN, 55 - END - - IDD_CARDID_DIALOG, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 167 - TOPMARGIN, 7 - BOTTOMMARGIN, 89 - END -END -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog Info -// - -IDD_CARDID_DIALOG DLGINIT -BEGIN - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0030, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0031, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0032, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0033, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0034, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0035, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0036, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0037, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0038, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0039, - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3031, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3131, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3231, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3331, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3431, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3531, "\000" - 0 -END - - -///////////////////////////////////////////////////////////////////////////// -// -// Bitmap -// - -IDB_BITMAP_SET1 BITMAP "res\\ch_set1.bmp" -IDB_BITMAP_SET2 BITMAP "res\\ch_set2.bmp" - -///////////////////////////////////////////////////////////////////////////// -// -// String Table -// - -STRINGTABLE -BEGIN - IDS_ABOUTBOX "&About 9223cdma..." -END - -#endif // English (U.S.) resources -///////////////////////////////////////////////////////////////////////////// - - - -#ifndef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 3 resource. -// -#define _AFX_NO_SPLITTER_RESOURCES -#define _AFX_NO_OLE_RESOURCES -#define _AFX_NO_TRACKER_RESOURCES -#define _AFX_NO_PROPERTY_RESOURCES - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -LANGUAGE 9, 1 -#pragma code_page(1252) -#include "res\My9223cdma.rc2" // non-Microsoft Visual C++ edited resources -#include "afxres.rc" // Standard components -#endif - -///////////////////////////////////////////////////////////////////////////// -#endif // not APSTUDIO_INVOKED - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AODma_WaveRepeat/9223cdma.sln b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AODma_WaveRepeat/9223cdma.sln deleted file mode 100644 index 538cc7b..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AODma_WaveRepeat/9223cdma.sln +++ /dev/null @@ -1,20 +0,0 @@ - -Microsoft Visual Studio Solution File, Format Version 10.00 -# Visual Studio 2008 -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "9223cdma", "9223cdma.vcproj", "{702163FB-B6DF-4EF5-9491-FC54D71509BC}" -EndProject -Global - GlobalSection(SolutionConfigurationPlatforms) = preSolution - Debug|x64 = Debug|x64 - Release|x64 = Release|x64 - EndGlobalSection - GlobalSection(ProjectConfigurationPlatforms) = postSolution - {702163FB-B6DF-4EF5-9491-FC54D71509BC}.Debug|x64.ActiveCfg = Debug|x64 - {702163FB-B6DF-4EF5-9491-FC54D71509BC}.Debug|x64.Build.0 = Debug|x64 - {702163FB-B6DF-4EF5-9491-FC54D71509BC}.Release|x64.ActiveCfg = Release|x64 - {702163FB-B6DF-4EF5-9491-FC54D71509BC}.Release|x64.Build.0 = Release|x64 - EndGlobalSection - GlobalSection(SolutionProperties) = preSolution - HideSolutionNode = FALSE - EndGlobalSection -EndGlobal diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AODma_WaveRepeat/9223cdma.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AODma_WaveRepeat/9223cdma.suo deleted file mode 100644 index 35e1dec..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AODma_WaveRepeat/9223cdma.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AODma_WaveRepeat/9223cdma.vcproj b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AODma_WaveRepeat/9223cdma.vcproj deleted file mode 100644 index c3e2af5..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AODma_WaveRepeat/9223cdma.vcproj +++ /dev/null @@ -1,294 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AODma_WaveRepeat/9223cdmaDlg.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AODma_WaveRepeat/9223cdmaDlg.cpp deleted file mode 100644 index 54e8b52..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AODma_WaveRepeat/9223cdmaDlg.cpp +++ /dev/null @@ -1,664 +0,0 @@ - -// 9223cdmaDlg.cpp : implementation file -// - -#include "stdafx.h" -#include "9223cdma.h" -#include "9223cdmaDlg.h" -#include "math.h" - -#ifdef _DEBUG -#define new DEBUG_NEW -#endif - -#ifndef M_PI -#define M_PI 3.14159265359 -#endif - -#define P922X_TIMEBASE 80000000.0 -#define AI_READ_COUNT 8000 -#define AI_SAMPLE_INTERV 10000 - -CRect plotRect; - -// CAboutDlg dialog used for App About - -class CAboutDlg : public CDialog -{ -public: - CAboutDlg(); - -// Dialog Data - enum { IDD = IDD_ABOUTBOX }; - - protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - -// Implementation -protected: - DECLARE_MESSAGE_MAP() -}; - -CAboutDlg::CAboutDlg() : CDialog(CAboutDlg::IDD) -{ -} - -void CAboutDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); -} - -BEGIN_MESSAGE_MAP(CAboutDlg, CDialog) -END_MESSAGE_MAP() - - -// C9223cdmaDlg dialog - - - - -C9223cdmaDlg::C9223cdmaDlg(I16 hCard, CWnd* pParent /*=NULL*/) - : CDialog(C9223cdmaDlg::IDD, pParent) -{ - m_hIcon = AfxGetApp()->LoadIcon(IDR_MAINFRAME); - - n_PlotWidth = n_PlotHeight = -1; - OnBrush = OffBrush = NULL; - - min_val = 0x00; - max_val = 0xFFFF; - - m_dwSampIntrv = 10000; - - m_hCard = hCard; - - m_nTimer = -1; - m_hAIMem1 = NULL; - m_hAIMem2 = NULL; - - m_hAOMem1 = NULL; - m_hAOMem2 = NULL; - - m_wRange = AD_B_10_V; - max_range = 10.0; - min_range = -10.0; - - m_dwWriteCount = 4096; - m_wPostCount = 512; - - m_dwOverrunCnt = 0; - - -} - -void C9223cdmaDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); -} - -BEGIN_MESSAGE_MAP(C9223cdmaDlg, CDialog) - ON_WM_SYSCOMMAND() - ON_WM_PAINT() - ON_WM_QUERYDRAGICON() - //}}AFX_MSG_MAP - ON_WM_DESTROY() - ON_WM_VSCROLL() - ON_BN_CLICKED(IDC_BT_START, &C9223cdmaDlg::OnStart) - ON_BN_CLICKED(IDC_BT_STOP, &C9223cdmaDlg::OnStop) - ON_WM_TIMER() -END_MESSAGE_MAP() - - -// C9223cdmaDlg message handlers - -BOOL C9223cdmaDlg::OnInitDialog() -{ - CDialog::OnInitDialog(); - - // Add "About..." menu item to system menu. - - // IDM_ABOUTBOX must be in the system command range. - ASSERT((IDM_ABOUTBOX & 0xFFF0) == IDM_ABOUTBOX); - ASSERT(IDM_ABOUTBOX < 0xF000); - - CMenu* pSysMenu = GetSystemMenu(FALSE); - if (pSysMenu != NULL) - { - BOOL bNameValid; - CString strAboutMenu; - bNameValid = strAboutMenu.LoadString(IDS_ABOUTBOX); - ASSERT(bNameValid); - if (!strAboutMenu.IsEmpty()) - { - pSysMenu->AppendMenu(MF_SEPARATOR); - pSysMenu->AppendMenu(MF_STRING, IDM_ABOUTBOX, strAboutMenu); - } - } - - // Set the icon for this dialog. The framework does this automatically - // when the application's main window is not a dialog - SetIcon(m_hIcon, TRUE); // Set big icon - SetIcon(m_hIcon, FALSE); // Set small icon - - // TODO: Add extra initialization here - x_divider = 5; y_divider = 4; - - OnBrush = CreateSolidBrush( RGB(255,0,0) ); - OffBrush = CreateSolidBrush( RGB(125,0,0) ); - - RedPen.CreatePen( PS_SOLID, 1, RGB(255,0,0)); - GreenPen.CreatePen( PS_SOLID, 1, RGB(0,255,0)); - YellowPen.CreatePen( PS_SOLID, 1, RGB(255,255,0)); - BluePen.CreatePen( PS_SOLID, 1, RGB(0,0,255)); - LTBluePen.CreatePen( PS_SOLID, 1, RGB(0,128,255)); - LTRedPen.CreatePen( PS_SOLID, 1, RGB(255,128,0)); - LTGreenPen.CreatePen( PS_SOLID, 1, RGB(0,128,0)); - WhitePen.CreatePen( PS_SOLID, 1, RGB(255,255,255)); - - - if( n_PlotWidth == -1 && n_PlotHeight == -1 ) - { - ((CWnd*)GetDlgItem(IDC_STATIC_DRAW))->GetWindowRect(&plotRect); - ScreenToClient(&plotRect); - - n_PlotWidth = min( plotRect.Width(), 512); - n_PlotHeight = plotRect.Height() - 10; - } - - // set the default SampleRate - - SetDlgItemInt( IDC_EDIT_BUF_SIZE, (UINT)(m_dwWriteCount) ); - SetDlgItemInt( IDC_EDIT_SCAN_ITERVAL, (UINT)(m_dwSampIntrv) ); - - return TRUE; // return TRUE unless you set the focus to a control -} - -void C9223cdmaDlg::OnSysCommand(UINT nID, LPARAM lParam) -{ - if ((nID & 0xFFF0) == IDM_ABOUTBOX) - { - CAboutDlg dlgAbout; - dlgAbout.DoModal(); - } - else - { - CDialog::OnSysCommand(nID, lParam); - } -} - -// If you add a minimize button to your dialog, you will need the code below -// to draw the icon. For MFC applications using the document/view model, -// this is automatically done for you by the framework. - -void C9223cdmaDlg::OnPaint() -{ - if (IsIconic()) - { - CPaintDC dc(this); // device context for painting - - SendMessage(WM_ICONERASEBKGND, reinterpret_cast(dc.GetSafeHdc()), 0); - - // Center icon in client rectangle - int cxIcon = GetSystemMetrics(SM_CXICON); - int cyIcon = GetSystemMetrics(SM_CYICON); - CRect rect; - GetClientRect(&rect); - int x = (rect.Width() - cxIcon + 1) / 2; - int y = (rect.Height() - cyIcon + 1) / 2; - - // Draw the icon - dc.DrawIcon(x, y, m_hIcon); - } - else - { - redraw_display_area(); - CDialog::OnPaint(); - } -} - -// The system calls this function to obtain the cursor to display while the user drags -// the minimized window. -HCURSOR C9223cdmaDlg::OnQueryDragIcon() -{ - return static_cast(m_hIcon); -} - - -void C9223cdmaDlg::redraw_display_area(void) -{ - CPen *oldPen; - - int oldMode; - COLORREF oldColor; - - CString y_lable; - - CPen minor_tick( PS_SOLID,1,RGB(132,130,132) ); -// CPen y_grid( PS_SOLID,1,RGB(206,203,132) ); - - int i, x_intv, y_intv; -// long total_sec; - - CClientDC dc_plot(this); - - // draw the base-line for x-y axises - oldPen = (CPen *)dc_plot.SelectStockObject(BLACK_PEN); - - // redraw the background - dc_plot.FillSolidRect( plotRect, RGB(0,0,0) ); - - // Re-Draw the AREA for Y-Lable - { - CBrush DIALOG_BRUSH; - CRect redraw_area, full_client; - - GetClientRect(&full_client); - ScreenToClient(&full_client); - - redraw_area.left = full_client.left; - redraw_area.top = plotRect.top - 5; - redraw_area.right = plotRect.left - 3; - redraw_area.bottom = plotRect.bottom + 10; - - DIALOG_BRUSH.CreateSysColorBrush( COLOR_3DFACE ); - - dc_plot.FillRect( redraw_area, &DIALOG_BRUSH ); - - DIALOG_BRUSH.DeleteObject(); - } - - dc_plot.MoveTo( plotRect.left - 3, plotRect.top ); - dc_plot.LineTo( plotRect.left - 3, plotRect.bottom ); - - // calculate the interval for tick/grid - y_intv = (plotRect.Height() - 10) /y_divider; - x_intv = plotRect.Width()/x_divider; - - - // set the color for tick - oldColor = dc_plot.SetTextColor( RGB(0,0,0) ); - oldMode = dc_plot.SetBkMode( TRANSPARENT ); - - for( i=0; i<= y_divider; i++ ) - { - CString tick_str; - CRect tmp_rect, tick_rect; - - // draw the tick for y-axis - dc_plot.MoveTo( plotRect.left -12, plotRect.bottom -5 - (i*y_intv) ); - dc_plot.LineTo( plotRect.left -3, plotRect.bottom -5 - (i*y_intv) ); - - tick_str.Format( _T("%.1f"), ( ((max_range-min_range)/y_divider) * i)+min_range ); - - // calculate the rectangle for text - dc_plot.DrawText( tick_str, &tmp_rect, DT_CALCRECT|DT_SINGLELINE ); - tick_rect.right = plotRect.left -14; - tick_rect.left = tick_rect.right - tmp_rect.Width(); - tick_rect.top = plotRect.bottom -5 - (i*y_intv) - tmp_rect.Height()/2; - tick_rect.bottom = tick_rect.top + tmp_rect.Height(); - - // draw the text - dc_plot.DrawText( tick_str, &tick_rect, DT_SINGLELINE|DT_RIGHT ); - - } - - // draw the minor_tick for Y axises - dc_plot.SelectObject(&minor_tick); - for( i=0; i< y_divider; i++ ) - { - dc_plot.MoveTo( plotRect.left -9, plotRect.bottom -5 - (i*y_intv) - y_intv/2 ); - dc_plot.LineTo( plotRect.left -4, plotRect.bottom -5 - (i*y_intv) - y_intv/2 ); - } - - dc_plot.SetTextColor( oldColor ); - dc_plot.SetBkMode( oldMode ); - dc_plot.SelectObject( oldPen ); -} - -void C9223cdmaDlg::OnDestroy() -{ - CDialog::OnDestroy(); - - // TODO: Add your message handler code here - if( m_nTimer != -1 ) - { - KillTimer( m_nTimer ); - m_nTimer = -1; - } - - // AI buffer - if (m_hAIMem1 != NULL) - { - GlobalUnfix(m_hAIMem1); - GlobalUnlock(m_hAIMem1); - GlobalFree(m_hAIMem1); - - m_hAIMem1 = NULL; - } - - if (m_hAIMem2 != NULL) - { - GlobalUnfix(m_hAIMem2); - GlobalUnlock(m_hAIMem2); - GlobalFree(m_hAIMem2); - - m_hAIMem2 = NULL; - } - - - if( OnBrush != NULL ) - ::DeleteObject( OnBrush ); - - if( OffBrush != NULL ) - ::DeleteObject( OffBrush ); - - RedPen.DeleteObject(); - GreenPen.DeleteObject(); - YellowPen.DeleteObject(); - BluePen.DeleteObject(); - LTBluePen.DeleteObject(); - LTRedPen.DeleteObject(); - LTGreenPen.DeleteObject(); - WhitePen.DeleteObject(); - -} - -void C9223cdmaDlg::OnVScroll(UINT nSBCode, UINT nPos, CScrollBar* pScrollBar) -{ - // TODO: Add your message handler code here and/or call default - switch ( nSBCode ) - { - case SB_LINEUP : - m_dwSampIntrv += 160; - if (m_dwSampIntrv > 40000 ) m_dwSampIntrv = 40000; - break; - case SB_LINEDOWN: - m_dwSampIntrv -= 160; - if (m_dwSampIntrv < 160 ) m_dwSampIntrv = 160; - break; - } - - SetDlgItemInt( IDC_EDIT_SCAN_ITERVAL, (UINT)(m_dwSampIntrv) ); - - CDialog::OnVScroll(nSBCode, nPos, pScrollBar); -} - - -void C9223cdmaDlg::OnStop() -{ - // TODO: Add your control notification handler code here - U32 count; - - if( m_nTimer != -1 ) - { - KillTimer( m_nTimer ); - m_nTimer = -1; - } - - AI_AsyncClear(m_hCard, &count); - AO_AsyncClear(m_hCard, &count, 0); - - GetDlgItem( IDC_BT_START )->EnableWindow(TRUE); -} - -void C9223cdmaDlg::OnStart() -{ - // TODO: Add your control notification handler code here - DWORD mem_size; - CString strTemp; - I16 err; - U32 vi; - double fTmp; - - GetDlgItem( IDC_BT_START )->EnableWindow(FALSE); - - /***************** begin of AI buffer setup *****************/ - if (m_hAIMem1 != NULL) - { - GlobalUnfix(m_hAIMem1); - GlobalUnlock(m_hAIMem1); - GlobalFree(m_hAIMem1); - - m_hAIMem1 = NULL; - } - - if (m_hAIMem2 != NULL) - { - GlobalUnfix(m_hAIMem2); - GlobalUnlock(m_hAIMem2); - GlobalFree(m_hAIMem2); - - m_hAIMem2 = NULL; - } - - // allocate a memory for user DMA buffer - mem_size = AI_READ_COUNT * sizeof(I16); - - m_hAIMem1 = GlobalAlloc(GMEM_FIXED | GMEM_ZEROINIT, mem_size); - m_pAIBuf1 = (U16*) GlobalLock(m_hAIMem1); - if (m_pAIBuf1 == NULL ) - { - AfxMessageBox( TEXT("AI Memory allocation failed"), MB_OK); - return; - } - GlobalFix(m_hAIMem1); - - m_hAIMem2 = GlobalAlloc(GMEM_FIXED | GMEM_ZEROINIT, mem_size); - m_pAIBuf2 = (U16*) GlobalLock(m_hAIMem2); - if (m_pAIBuf2 == NULL ) - { - AfxMessageBox( TEXT("AI Memory allocation failed"), MB_OK); - return; - } - GlobalFix(m_hAIMem2); - - /***************** end of AI buffer setup *****************/ - - /***************** begin of AO buffer setup *****************/ - m_dwWriteCount = GetDlgItemInt(IDC_EDIT_BUF_SIZE); - - if (m_hAOMem1 != NULL) - { - GlobalUnfix(m_hAOMem1); - GlobalUnlock(m_hAOMem1); - GlobalFree(m_hAOMem1); - - m_hAOMem1 = NULL; - } - - if (m_hAOMem2 != NULL) - { - GlobalUnfix(m_hAOMem2); - GlobalUnlock(m_hAOMem2); - GlobalFree(m_hAOMem2); - - m_hAOMem2 = NULL; - } - - // allocate a memory for user DMA buffer - mem_size = m_dwWriteCount * sizeof(U32); - - m_hAOMem1 = GlobalAlloc(GMEM_FIXED | GMEM_ZEROINIT, mem_size); - m_pAOBuf1 = (U32*) GlobalLock(m_hAOMem1); - if (m_pAOBuf1 == NULL ) - { - AfxMessageBox( TEXT("AO Memory allocation failed"), MB_OK); - return; - } - GlobalFix(m_hAOMem1); - - for(vi=0; vi> 16) ); // ( n_PlotHeight * ai_data / 65536) ); // ( (n_PlotHeight/2) * ai_data/32768 ) ); - newX = (int)( index*n_PlotWidth/dwDataSize + plotRect.left ); - - if ( index == 0 ) - { - dc_plot.MoveTo( newX, newY ); - } - else - { - dc_plot.MoveTo( m_oldX[cur_channel], m_oldY[cur_channel] ); - dc_plot.LineTo( newX, newY ); - } - - m_oldX[cur_channel] = newX; - m_oldY[cur_channel] = newY; - } - - return 0; -} - -void C9223cdmaDlg::OnTimer(UINT_PTR nIDEvent) -{ - // TODO: Add your message handler code here and/or call default - BOOLEAN HalfReady; - BOOLEAN fstop; - U16 OverrunFlag; - - AI_AsyncDblBufferHalfReady(m_hCard, &HalfReady, &fstop); - - if( HalfReady ) // half-buffer ready - { - if(m_bView == 0) - { - display_buffer_data( m_pAIBuf1 ); - m_bView = 1; - } - else - { - display_buffer_data( m_pAIBuf2 ); - m_bView= 0; - } - - AI_AsyncDblBufferHandled( m_hCard ); - AI_AsyncDblBufferOverrun( m_hCard, 0, &OverrunFlag); - - if(OverrunFlag) - { - m_dwOverrunCnt++; - AI_AsyncDblBufferOverrun( m_hCard, 1, NULL ); - } - - - } - - CDialog::OnTimer(nIDEvent); -} - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AODma_WaveRepeat/9223cdmaDlg.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AODma_WaveRepeat/9223cdmaDlg.h deleted file mode 100644 index 76f7227..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AODma_WaveRepeat/9223cdmaDlg.h +++ /dev/null @@ -1,83 +0,0 @@ - -// 9223cdmaDlg.h : header file -#pragma once -#include "afxcmn.h" -#include "afxwin.h" - -#include "Dask64.h" - -// C9223cdmaDlg dialog -class C9223cdmaDlg : public CDialog -{ -// Construction -public: - C9223cdmaDlg(I16 hCard, CWnd* pParent = NULL); // standard constructor - -// Dialog Data - enum { IDD = IDD_9223DMA_DIALOG }; - - protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - - -// Implementation -protected: - HICON m_hIcon; - UINT_PTR m_nTimer; - I16 m_hCard; - U32 m_dwSampIntrv; - HANDLE m_hAIMem1; - HANDLE m_hAIMem2; - U16 *m_pAIBuf1; - U16 *m_pAIBuf2; - U16 m_wAIBufID1; - U16 m_wAIBufID2; - HANDLE m_hAOMem1; - HANDLE m_hAOMem2; - U32 *m_pAOBuf1; - U32 *m_pAOBuf2; - U16 m_wAOBufID1; - U16 m_wAOBufID2; - U16 m_wRange; - int m_oldY[8]; - int m_oldX[8]; - U32 m_dwWriteCount; - U16 m_wPostCount; - U8 m_bView; - U32 m_dwOverrunCnt; - - // Generated message map functions - virtual BOOL OnInitDialog(); - afx_msg void OnSysCommand(UINT nID, LPARAM lParam); - afx_msg void OnPaint(); - afx_msg HCURSOR OnQueryDragIcon(); - DECLARE_MESSAGE_MAP() - -public: - WORD max_val; - WORD min_val; - double max_range; - double min_range; - int n_PlotWidth; - int n_PlotHeight; - int y_divider; - int x_divider; - int m_DisplayScale; - HBRUSH OnBrush; - HBRUSH OffBrush; - CPen RedPen; - CPen GreenPen; - CPen YellowPen; - CPen BluePen; - CPen LTBluePen; - CPen LTRedPen; - CPen LTGreenPen; - CPen WhitePen; - void redraw_display_area(void); - afx_msg void OnDestroy(); - afx_msg void OnVScroll(UINT nSBCode, UINT nPos, CScrollBar* pScrollBar); - afx_msg void OnStart(); - int display_buffer_data(U16* pBuf); - afx_msg void OnTimer(UINT_PTR nIDEvent); - afx_msg void OnStop(); -}; diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AODma_WaveRepeat/CardIDDlg.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AODma_WaveRepeat/CardIDDlg.cpp deleted file mode 100644 index dfa5652..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AODma_WaveRepeat/CardIDDlg.cpp +++ /dev/null @@ -1,64 +0,0 @@ -// CardIDDlg.cpp : implementation file -// -#include "stdafx.h" -#include "9223cdma.h" -#include "9223cdmaDlg.h" -#include "CardIDDlg.h" - -// CCardIDDlg dialog - -IMPLEMENT_DYNAMIC(CCardIDDlg, CDialog) - -CCardIDDlg::CCardIDDlg(int nCardIdx, CWnd* pParent /*=NULL*/) - : CDialog(CCardIDDlg::IDD, pParent) -{ - m_nCardIdx = nCardIdx; -} - -CCardIDDlg::~CCardIDDlg() -{ -} - -void CCardIDDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); - DDX_Control(pDX, IDC_COMBO_CARDID, m_cbCardID); -} - - -BEGIN_MESSAGE_MAP(CCardIDDlg, CDialog) -// ON_CBN_SELCHANGE(IDC_COMBO_CARDID, &CCardIDDlg::OnCbnSelchangeComboCardid) -ON_BN_CLICKED(IDOK, &CCardIDDlg::OnBnClickedOk) -//ON_WM_CTLCOLOR() -END_MESSAGE_MAP() - - -// CCardIDDlg message handlers - - -void CCardIDDlg::OnBnClickedOk() -{ - // TODO: Add your control notification handler code here - -// UpdateData(TRUE); - m_nCardIdx = m_cbCardID.GetCurSel(); - - OnOK(); -} - -BOOL CCardIDDlg::OnInitDialog() -{ - CDialog::OnInitDialog(); - - // TODO: Add extra initialization here - m_cbCardID.SetCurSel( m_nCardIdx ); - - return TRUE; // return TRUE unless you set the focus to a control - // EXCEPTION: OCX Property Pages should return FALSE -} - -// the function to get the selected CardID -int CCardIDDlg::GetCardID(void) -{ - return m_nCardIdx; -} diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AODma_WaveRepeat/CardIDDlg.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AODma_WaveRepeat/CardIDDlg.h deleted file mode 100644 index 9c02c58..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AODma_WaveRepeat/CardIDDlg.h +++ /dev/null @@ -1,32 +0,0 @@ -#pragma once -#include "afxwin.h" - -#include "Dask64.h" - -// CCardIDDlg dialog - -class CCardIDDlg : public CDialog -{ - DECLARE_DYNAMIC(CCardIDDlg) - -public: - CCardIDDlg(int nCardIdx, CWnd* pParent = NULL); // standard constructor - virtual ~CCardIDDlg(); - -// Dialog Data - enum { IDD = IDD_CARDID_DIALOG }; - -protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - - DECLARE_MESSAGE_MAP() -public: - virtual BOOL OnInitDialog(); - afx_msg void OnBnClickedOk(); - // the setting of CardID ComboBox - int m_nCardIdx; - // the control of CardID ComboBox - CComboBox m_cbCardID; - // the function to get the selected CardID - int GetCardID(void); -}; diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AODma_WaveRepeat/ReadMe.txt b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AODma_WaveRepeat/ReadMe.txt deleted file mode 100644 index d1c88f4..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AODma_WaveRepeat/ReadMe.txt +++ /dev/null @@ -1,93 +0,0 @@ -================================================================================ - MICROSOFT FOUNDATION CLASS LIBRARY : 9223cdma Project Overview -=============================================================================== - -The application wizard has created this 9223cdma application for -you. This application not only demonstrates the basics of using the Microsoft -Foundation Classes but is also a starting point for writing your application. - -This file contains a summary of what you will find in each of the files that -make up your 9223cdma application. - -9223cdma.vcproj - This is the main project file for VC++ projects generated using an application wizard. - It contains information about the version of Visual C++ that generated the file, and - information about the platforms, configurations, and project features selected with the - application wizard. - -9223cdma.h - This is the main header file for the application. It includes other - project specific headers (including Resource.h) and declares the - C9223cdmaApp application class. - -9223cdma.cpp - This is the main application source file that contains the application - class C9223cdmaApp. - -9223cdma.rc - This is a listing of all of the Microsoft Windows resources that the - program uses. It includes the icons, bitmaps, and cursors that are stored - in the RES subdirectory. This file can be directly edited in Microsoft - Visual C++. Your project resources are in 1033. - -res\9223cdma.ico - This is an icon file, which is used as the application's icon. This - icon is included by the main resource file 9223cdma.rc. - -res\My9223cdma.rc2 - This file contains resources that are not edited by Microsoft - Visual C++. You should place all resources not editable by - the resource editor in this file. - - -///////////////////////////////////////////////////////////////////////////// - -The application wizard creates one dialog class: - -9223cdmaDlg.h, 9223cdmaDlg.cpp - the dialog - These files contain your C9223cdmaDlg class. This class defines - the behavior of your application's main dialog. The dialog's template is - in 9223cdma.rc, which can be edited in Microsoft Visual C++. - - -///////////////////////////////////////////////////////////////////////////// - -Other Features: - -ActiveX Controls - The application includes support to use ActiveX controls. - -///////////////////////////////////////////////////////////////////////////// - -Other standard files: - -StdAfx.h, StdAfx.cpp - These files are used to build a precompiled header (PCH) file - named 9223cdma.pch and a precompiled types file named StdAfx.obj. - -Resource.h - This is the standard header file, which defines new resource IDs. - Microsoft Visual C++ reads and updates this file. - -9223cdma.manifest - Application manifest files are used by Windows XP to describe an applications - dependency on specific versions of Side-by-Side assemblies. The loader uses this - information to load the appropriate assembly from the assembly cache or private - from the application. The Application manifest maybe included for redistribution - as an external .manifest file that is installed in the same folder as the application - executable or it may be included in the executable in the form of a resource. -///////////////////////////////////////////////////////////////////////////// - -Other notes: - -The application wizard uses "TODO:" to indicate parts of the source code you -should add to or customize. - -If your application uses MFC in a shared DLL, you will need -to redistribute the MFC DLLs. If your application is in a language -other than the operating system's locale, you will also have to -redistribute the corresponding localized resources MFC90XXX.DLL. -For more information on both of these topics, please see the section on -redistributing Visual C++ applications in MSDN documentation. - -///////////////////////////////////////////////////////////////////////////// diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AODma_WaveRepeat/res/9223cdma.ico b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AODma_WaveRepeat/res/9223cdma.ico deleted file mode 100644 index d56fbcd..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AODma_WaveRepeat/res/9223cdma.ico and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AODma_WaveRepeat/res/My9223cdma.rc2 b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AODma_WaveRepeat/res/My9223cdma.rc2 deleted file mode 100644 index 383cde2..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AODma_WaveRepeat/res/My9223cdma.rc2 +++ /dev/null @@ -1,13 +0,0 @@ -// -// My9111int.RC2 - resources Microsoft Visual C++ does not edit directly -// - -#ifdef APSTUDIO_INVOKED -#error this file is not editable by Microsoft Visual C++ -#endif //APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// Add manually edited resources here... - -///////////////////////////////////////////////////////////////////////////// diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AODma_WaveRepeat/res/ch_set1.bmp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AODma_WaveRepeat/res/ch_set1.bmp deleted file mode 100644 index f2374ed..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AODma_WaveRepeat/res/ch_set1.bmp and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AODma_WaveRepeat/res/ch_set2.bmp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AODma_WaveRepeat/res/ch_set2.bmp deleted file mode 100644 index 32d0915..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AODma_WaveRepeat/res/ch_set2.bmp and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AODma_WaveRepeat/resource.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AODma_WaveRepeat/resource.h deleted file mode 100644 index 80a78c9..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AODma_WaveRepeat/resource.h +++ /dev/null @@ -1,35 +0,0 @@ -//{{NO_DEPENDENCIES}} -// Microsoft Visual C++ generated include file. -// Used by 9223cdma.rc -// -#define IDM_ABOUTBOX 0x0010 -#define IDD_ABOUTBOX 100 -#define IDS_ABOUTBOX 101 -#define IDD_9223DMA_DIALOG 102 -#define IDR_MAINFRAME 128 -#define IDD_CARDID_DIALOG 129 -#define IDB_BITMAP_SET1 131 -#define IDB_BITMAP_SET2 132 -#define IDC_STATIC_DRAW 1000 -#define IDC_COMBO_CARDID 1001 -#define IDC_BT_STOP 1002 -#define IDC_COMBO_CARDTYPE 1003 -#define IDC_BT_START 1004 -#define IDC_EDIT_SCAN_ITERVAL 1005 -#define IDC_SCROLLBAR_RATE 1006 -#define IDC_STATIC_01 1007 -#define IDC_EDIT_BUF_SIZE 1008 -#define IDC_STATIC_2 1009 -#define IDC_EDIT1 1010 -#define IDC_EDIT_OVERRUN 1011 - -// Next default values for new objects -// -#ifdef APSTUDIO_INVOKED -#ifndef APSTUDIO_READONLY_SYMBOLS -#define _APS_NEXT_RESOURCE_VALUE 134 -#define _APS_NEXT_COMMAND_VALUE 32771 -#define _APS_NEXT_CONTROL_VALUE 1012 -#define _APS_NEXT_SYMED_VALUE 101 -#endif -#endif diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AODma_WaveRepeat/stdafx.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AODma_WaveRepeat/stdafx.cpp deleted file mode 100644 index ef80626..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AODma_WaveRepeat/stdafx.cpp +++ /dev/null @@ -1,8 +0,0 @@ - -// stdafx.cpp : source file that includes just the standard includes -// 9111int.pch will be the pre-compiled header -// stdafx.obj will contain the pre-compiled type information - -#include "stdafx.h" - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AODma_WaveRepeat/stdafx.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AODma_WaveRepeat/stdafx.h deleted file mode 100644 index 12123e2..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AODma_WaveRepeat/stdafx.h +++ /dev/null @@ -1,60 +0,0 @@ - -// stdafx.h : include file for standard system include files, -// or project specific include files that are used frequently, -// but are changed infrequently - -#pragma once - -#ifndef _SECURE_ATL -#define _SECURE_ATL 1 -#endif - -#ifndef VC_EXTRALEAN -#define VC_EXTRALEAN // Exclude rarely-used stuff from Windows headers -#endif - -#include "targetver.h" - -#define _ATL_CSTRING_EXPLICIT_CONSTRUCTORS // some CString constructors will be explicit - -// turns off MFC's hiding of some common and often safely ignored warning messages -#define _AFX_ALL_WARNINGS - -#include // MFC core and standard components -#include // MFC extensions - - -#include // MFC Automation classes - - - -#ifndef _AFX_NO_OLE_SUPPORT -#include // MFC support for Internet Explorer 4 Common Controls -#endif -#ifndef _AFX_NO_AFXCMN_SUPPORT -#include // MFC support for Windows Common Controls -#endif // _AFX_NO_AFXCMN_SUPPORT - -#include // MFC support for ribbons and control bars - - - - - - - - - -#ifdef _UNICODE -#if defined _M_IX86 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='x86' publicKeyToken='6595b64144ccf1df' language='*'\"") -#elif defined _M_IA64 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='ia64' publicKeyToken='6595b64144ccf1df' language='*'\"") -#elif defined _M_X64 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='amd64' publicKeyToken='6595b64144ccf1df' language='*'\"") -#else -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='*' publicKeyToken='6595b64144ccf1df' language='*'\"") -#endif -#endif - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AODma_WaveRepeat/targetver.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AODma_WaveRepeat/targetver.h deleted file mode 100644 index 11730d5..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223AODma_WaveRepeat/targetver.h +++ /dev/null @@ -1,26 +0,0 @@ - -#pragma once - -// The following macros define the minimum required platform. The minimum required platform -// is the earliest version of Windows, Internet Explorer etc. that has the necessary features to run -// your application. The macros work by enabling all features available on platform versions up to and -// including the version specified. - -// Modify the following defines if you have to target a platform prior to the ones specified below. -// Refer to MSDN for the latest info on corresponding values for different platforms. -#ifndef WINVER // Specifies that the minimum required platform is Windows Vista. -#define WINVER 0x0600 // Change this to the appropriate value to target other versions of Windows. -#endif - -#ifndef _WIN32_WINNT // Specifies that the minimum required platform is Windows Vista. -#define _WIN32_WINNT 0x0600 // Change this to the appropriate value to target other versions of Windows. -#endif - -#ifndef _WIN32_WINDOWS // Specifies that the minimum required platform is Windows 98. -#define _WIN32_WINDOWS 0x0410 // Change this to the appropriate value to target Windows Me or later. -#endif - -#ifndef _WIN32_IE // Specifies that the minimum required platform is Internet Explorer 7.0. -#define _WIN32_IE 0x0700 // Change this to the appropriate value to target other versions of IE. -#endif - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223DIOWave/7200Wav.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223DIOWave/7200Wav.suo deleted file mode 100644 index bc032e1..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223DIOWave/7200Wav.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223DIOWave/9222Wav.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223DIOWave/9222Wav.suo deleted file mode 100644 index c087d22..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223DIOWave/9222Wav.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223DIOWave/9223Wav.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223DIOWave/9223Wav.cpp deleted file mode 100644 index 2f4e185..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223DIOWave/9223Wav.cpp +++ /dev/null @@ -1,110 +0,0 @@ - -// 9223Wav.cpp : Defines the class behaviors for the application. -// - -#include "stdafx.h" -#include "9223Wav.h" -#include "9223WavDlg.h" -#include "CardIDDlg.h" - -#ifdef _DEBUG -#define new DEBUG_NEW -#endif - - -// C9223WavApp - -BEGIN_MESSAGE_MAP(C9223WavApp, CWinAppEx) - ON_COMMAND(ID_HELP, &CWinApp::OnHelp) -END_MESSAGE_MAP() - - -// C9223WavApp construction - -C9223WavApp::C9223WavApp() -{ - // TODO: add construction code here, - // Place all significant initialization in InitInstance -} - - -// The one and only C9223WavApp object - -C9223WavApp theApp; - - -// C9223WavApp initialization - -BOOL C9223WavApp::InitInstance() -{ - int nCardID = 0; - I16 hCard; - CString strTemp; - INT_PTR nResponse; - - // InitCommonControlsEx() is required on Windows XP if an application - // manifest specifies use of ComCtl32.dll version 6 or later to enable - // visual styles. Otherwise, any window creation will fail. - INITCOMMONCONTROLSEX InitCtrls; - InitCtrls.dwSize = sizeof(InitCtrls); - // Set this to include all the common control classes you want to use - // in your application. - InitCtrls.dwICC = ICC_WIN95_CLASSES; - InitCommonControlsEx(&InitCtrls); - - CWinAppEx::InitInstance(); - - AfxEnableControlContainer(); - - // Standard initialization - // If you are not using these features and wish to reduce the size - // of your final executable, you should remove from the following - // the specific initialization routines you do not need - // Change the registry key under which our settings are stored - // TODO: You should modify this string to be something appropriate - // such as the name of your company or organization - SetRegistryKey(_T("Local AppWizard-Generated Applications")); - - CCardIDDlg CardDlg( nCardID ); - - nResponse = CardDlg.DoModal(); - if (nResponse == IDOK) - { - nCardID = CardDlg.GetCardID(); - - if ((hCard=Register_Card(PCI_9223, nCardID)) < 0) - { - strTemp.Format( TEXT("Register_Card Error = %d"), hCard); - AfxMessageBox( strTemp ); - } - else - { - C9223WavDlg dlg(hCard); - m_pMainWnd = &dlg; - nResponse = dlg.DoModal(); - if (nResponse == IDOK) - { - // TODO: Place code here to handle when the dialog is - // dismissed with OK - } - else if (nResponse == IDCANCEL) - { - // TODO: Place code here to handle when the dialog is - // dismissed with Cancel - } - - if (hCard >= 0) Release_Card(hCard); - } - - } - else if (nResponse == IDCANCEL) - { - // TODO: Place code here to handle when the dialog is - // dismissed with Cancel - } - - - // Since the dialog has been closed, return FALSE so that we exit the - // application, rather than start the application's message pump. - return FALSE; -} diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223DIOWave/9223Wav.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223DIOWave/9223Wav.h deleted file mode 100644 index 6d55d8b..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223DIOWave/9223Wav.h +++ /dev/null @@ -1,32 +0,0 @@ - -// 9223Wav.h : main header file for the PROJECT_NAME application -// - -#pragma once - -#ifndef __AFXWIN_H__ - #error "include 'stdafx.h' before including this file for PCH" -#endif - -#include "resource.h" // main symbols - - -// C9223WavApp: -// See 9223Wav.cpp for the implementation of this class -// - -class C9223WavApp : public CWinAppEx -{ -public: - C9223WavApp(); - -// Overrides - public: - virtual BOOL InitInstance(); - -// Implementation - - DECLARE_MESSAGE_MAP() -}; - -extern C9223WavApp theApp; \ No newline at end of file diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223DIOWave/9223Wav.rc b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223DIOWave/9223Wav.rc deleted file mode 100644 index 7279571..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223DIOWave/9223Wav.rc +++ /dev/null @@ -1,283 +0,0 @@ -// Microsoft Visual C++ generated resource script. -// -#include "resource.h" - -#define APSTUDIO_READONLY_SYMBOLS -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 2 resource. -// -#ifndef APSTUDIO_INVOKED -#include "targetver.h" -#endif -#include "afxres.h" - -///////////////////////////////////////////////////////////////////////////// -#undef APSTUDIO_READONLY_SYMBOLS - -///////////////////////////////////////////////////////////////////////////// -// Chinese (Taiwan) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_CHT) -#ifdef _WIN32 -LANGUAGE LANG_CHINESE, SUBLANG_CHINESE_TRADITIONAL -#pragma code_page(950) -#endif //_WIN32 - -#ifdef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// TEXTINCLUDE -// - -1 TEXTINCLUDE -BEGIN - "resource.h\0" -END - -2 TEXTINCLUDE -BEGIN - "#ifndef APSTUDIO_INVOKED\r\n" - "#include ""targetver.h""\r\n" - "#endif\r\n" - "#include ""afxres.h""\r\n" - "\0" -END - -3 TEXTINCLUDE -BEGIN - "#define _AFX_NO_SPLITTER_RESOURCES\r\n" - "#define _AFX_NO_OLE_RESOURCES\r\n" - "#define _AFX_NO_TRACKER_RESOURCES\r\n" - "#define _AFX_NO_PROPERTY_RESOURCES\r\n" - "\r\n" - "#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)\r\n" - "LANGUAGE 9, 1\r\n" - "#pragma code_page(1252)\r\n" - "#include ""res\\My9223Wav.rc2"" // non-Microsoft Visual C++ edited resources\r\n" - "#include ""afxres.rc"" // Standard components\r\n" - "#endif\r\n" - "\0" -END - -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// Icon -// - -// Icon with lowest ID value placed first to ensure application icon -// remains consistent on all systems. -IDR_MAINFRAME ICON "res\\9223Wav.ico" -#endif // Chinese (Taiwan) resources -///////////////////////////////////////////////////////////////////////////// - - -///////////////////////////////////////////////////////////////////////////// -// English (U.S.) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -#ifdef _WIN32 -LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US -#pragma code_page(1252) -#endif //_WIN32 - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog -// - -IDD_ABOUTBOX DIALOGEX 0, 0, 170, 62 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "About 9223Wav" -FONT 8, "MS Shell Dlg", 0, 0, 0x1 -BEGIN - ICON IDR_MAINFRAME,IDC_STATIC,14,14,21,20 - LTEXT "9223Wav, Version 1.0",IDC_STATIC,42,14,114,8,SS_NOPREFIX - LTEXT "Copyright (C) 2010",IDC_STATIC,42,26,114,8 - DEFPUSHBUTTON "OK",IDOK,113,41,50,14,WS_GROUP -END - -IDD_MY9223WAV_DIALOG DIALOGEX 0, 0, 354, 201 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU -EXSTYLE WS_EX_APPWINDOW -CAPTION "PCI-9223 DI/DO DMA - the sine-wave will be transmitted /w 16 DI/DO" -FONT 8, "MS Shell Dlg", 0, 0, 0x1 -BEGIN - GROUPBOX "",IDC_STATIC_DRAW,49,7,293,138,NOT WS_VISIBLE - EDITTEXT IDC_EDIT_SAMPLE,113,153,51,12,ES_AUTOHSCROLL - LTEXT "DI Samples :",IDC_STATIC,64,154,45,9 - EDITTEXT IDC_EDIT_SAMPLE_RATE,227,154,30,12,ES_AUTOHSCROLL | ES_READONLY - LTEXT "Sample Rate :",IDC_STATIC,174,154,49,9 - LTEXT "KHz",IDC_STATIC,270,156,15,9 - SCROLLBAR IDC_SCROLLBAR_RATE,258,154,9,11,SBS_VERT - PUSHBUTTON "Start",IDC_BT_START,293,151,48,17 - PUSHBUTTON "Stop",IDC_BT_STOP,293,170,48,17 -END - -IDD_CARDID_DIALOG DIALOGEX 0, 0, 170, 89 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "Card ID" -FONT 8, "MS Shell Dlg", 400, 0, 0x1 -BEGIN - COMBOBOX IDC_COMBO_CARDID,75,17,71,126,CBS_DROPDOWN | WS_VSCROLL | WS_TABSTOP - LTEXT "Card Number",IDC_STATIC_01,21,18,46,12 - PUSHBUTTON "OK",IDOK,22,50,58,19 - PUSHBUTTON "CANCEL",IDCANCEL,86,50,58,19 -END - - -///////////////////////////////////////////////////////////////////////////// -// -// Version -// - -VS_VERSION_INFO VERSIONINFO - FILEVERSION 1,0,0,1 - PRODUCTVERSION 1,0,0,1 - FILEFLAGSMASK 0x3fL -#ifdef _DEBUG - FILEFLAGS 0x1L -#else - FILEFLAGS 0x0L -#endif - FILEOS 0x4L - FILETYPE 0x1L - FILESUBTYPE 0x0L -BEGIN - BLOCK "StringFileInfo" - BEGIN - BLOCK "040904e4" - BEGIN - VALUE "CompanyName", "TODO: " - VALUE "FileDescription", "TODO: " - VALUE "FileVersion", "1.0.0.1" - VALUE "InternalName", "9223Wav.exe" - VALUE "LegalCopyright", "TODO: (c) . All rights reserved." - VALUE "OriginalFilename", "9223Wav.exe" - VALUE "ProductName", "TODO: " - VALUE "ProductVersion", "1.0.0.1" - END - END - BLOCK "VarFileInfo" - BEGIN - VALUE "Translation", 0x409, 1252 - END -END - - -///////////////////////////////////////////////////////////////////////////// -// -// DESIGNINFO -// - -#ifdef APSTUDIO_INVOKED -GUIDELINES DESIGNINFO -BEGIN - IDD_ABOUTBOX, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 163 - TOPMARGIN, 7 - BOTTOMMARGIN, 55 - END - - IDD_MY9223WAV_DIALOG, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 347 - TOPMARGIN, 7 - BOTTOMMARGIN, 194 - END - - IDD_CARDID_DIALOG, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 163 - TOPMARGIN, 7 - BOTTOMMARGIN, 82 - END -END -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog Info -// - -IDD_CARDID_DIALOG DLGINIT -BEGIN - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0030, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0031, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0032, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0033, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0034, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0035, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0036, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0037, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0038, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0039, - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3031, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3131, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3231, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3331, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3431, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3531, "\000" - 0 -END - - -///////////////////////////////////////////////////////////////////////////// -// -// String Table -// - -STRINGTABLE -BEGIN - IDS_ABOUTBOX "&About 9223Wav..." -END - -#endif // English (U.S.) resources -///////////////////////////////////////////////////////////////////////////// - - - -#ifndef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 3 resource. -// -#define _AFX_NO_SPLITTER_RESOURCES -#define _AFX_NO_OLE_RESOURCES -#define _AFX_NO_TRACKER_RESOURCES -#define _AFX_NO_PROPERTY_RESOURCES - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -LANGUAGE 9, 1 -#pragma code_page(1252) -#include "res\My9223Wav.rc2" // non-Microsoft Visual C++ edited resources -#include "afxres.rc" // Standard components -#endif - -///////////////////////////////////////////////////////////////////////////// -#endif // not APSTUDIO_INVOKED - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223DIOWave/9223Wav.sln b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223DIOWave/9223Wav.sln deleted file mode 100644 index 1d09bcd..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223DIOWave/9223Wav.sln +++ /dev/null @@ -1,20 +0,0 @@ - -Microsoft Visual Studio Solution File, Format Version 10.00 -# Visual Studio 2008 -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "9223Wav", "9223Wav.vcproj", "{EBDB6610-7CE5-413C-A150-121068BFDB22}" -EndProject -Global - GlobalSection(SolutionConfigurationPlatforms) = preSolution - Debug|x64 = Debug|x64 - Release|x64 = Release|x64 - EndGlobalSection - GlobalSection(ProjectConfigurationPlatforms) = postSolution - {EBDB6610-7CE5-413C-A150-121068BFDB22}.Debug|x64.ActiveCfg = Debug|x64 - {EBDB6610-7CE5-413C-A150-121068BFDB22}.Debug|x64.Build.0 = Debug|x64 - {EBDB6610-7CE5-413C-A150-121068BFDB22}.Release|x64.ActiveCfg = Release|x64 - {EBDB6610-7CE5-413C-A150-121068BFDB22}.Release|x64.Build.0 = Release|x64 - EndGlobalSection - GlobalSection(SolutionProperties) = preSolution - HideSolutionNode = FALSE - EndGlobalSection -EndGlobal diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223DIOWave/9223Wav.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223DIOWave/9223Wav.suo deleted file mode 100644 index 80f38e2..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223DIOWave/9223Wav.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223DIOWave/9223Wav.vcproj b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223DIOWave/9223Wav.vcproj deleted file mode 100644 index 1b22987..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223DIOWave/9223Wav.vcproj +++ /dev/null @@ -1,286 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223DIOWave/9223WavDlg.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223DIOWave/9223WavDlg.cpp deleted file mode 100644 index fa04c8a..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223DIOWave/9223WavDlg.cpp +++ /dev/null @@ -1,558 +0,0 @@ - -// 9223WavDlg.cpp : implementation file -// - -#include "stdafx.h" -#include "9223Wav.h" -#include "9223WavDlg.h" -#include "math.h" - -#ifndef M_PI -#define M_PI 3.14159265359 -#endif - -#ifdef _DEBUG -#define new DEBUG_NEW -#endif - -CRect plotRect; - -#define PCI9222_DIO_STATUS_TIMER 1 - -#ifdef _SELF_OUTPUT_ -U32 DoBuf[10240]; -BOOLEAN bOutStopped; -ULONG out_count; -#endif - -// CAboutDlg dialog used for App About - -class CAboutDlg : public CDialog -{ -public: - CAboutDlg(); - -// Dialog Data - enum { IDD = IDD_ABOUTBOX }; - - protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - -// Implementation -protected: - DECLARE_MESSAGE_MAP() -}; - -CAboutDlg::CAboutDlg() : CDialog(CAboutDlg::IDD) -{ -} - -void CAboutDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); -} - -BEGIN_MESSAGE_MAP(CAboutDlg, CDialog) -END_MESSAGE_MAP() - - -// C9223WavDlg dialog - - -C9223WavDlg::C9223WavDlg(I16 hCard, CWnd* pParent /*=NULL*/) - : CDialog(C9223WavDlg::IDD, pParent) -{ - m_hIcon = AfxGetApp()->LoadIcon(IDR_MAINFRAME); - - m_hCard = hCard; - - OnBrush = OffBrush = NULL; - - n_PlotWidth = -1; - n_PlotHeight = -1; - - min_val = 0x00; - max_val = 0xFFFF; - - m_fSampleRate = 4000.0; // 100KHz - m_dwDISamples = 5120; - m_pDIAddr = NULL; - - m_nTimer = -1; - -#ifdef _SELF_OUTPUT_ - - for (int i=0; i<10240; i++) - DoBuf[i] = (U16)(sin((double)i/1024*M_PI)*0x00007FFF)+0x00008000; - -#endif - -} - -void C9223WavDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); -} - -BEGIN_MESSAGE_MAP(C9223WavDlg, CDialog) - ON_WM_SYSCOMMAND() - ON_WM_PAINT() - ON_WM_QUERYDRAGICON() - //}}AFX_MSG_MAP - ON_WM_DESTROY() - ON_BN_CLICKED(IDC_BT_START, &C9223WavDlg::OnStart) - ON_BN_CLICKED(IDC_BT_STOP, &C9223WavDlg::OnStop) - ON_WM_TIMER() - ON_WM_VSCROLL() -END_MESSAGE_MAP() - - -// C9223WavDlg message handlers - -BOOL C9223WavDlg::OnInitDialog() -{ - CString strTemp; - - CDialog::OnInitDialog(); - - // Add "About..." menu item to system menu. - - // IDM_ABOUTBOX must be in the system command range. - ASSERT((IDM_ABOUTBOX & 0xFFF0) == IDM_ABOUTBOX); - ASSERT(IDM_ABOUTBOX < 0xF000); - - CMenu* pSysMenu = GetSystemMenu(FALSE); - if (pSysMenu != NULL) - { - BOOL bNameValid; - CString strAboutMenu; - bNameValid = strAboutMenu.LoadString(IDS_ABOUTBOX); - ASSERT(bNameValid); - if (!strAboutMenu.IsEmpty()) - { - pSysMenu->AppendMenu(MF_SEPARATOR); - pSysMenu->AppendMenu(MF_STRING, IDM_ABOUTBOX, strAboutMenu); - } - } - - // Set the icon for this dialog. The framework does this automatically - // when the application's main window is not a dialog - SetIcon(m_hIcon, TRUE); // Set big icon - SetIcon(m_hIcon, FALSE); // Set small icon - - // TODO: Add extra initialization here - x_divider = 5; y_divider = 2; - - OnBrush = CreateSolidBrush( RGB(255,0,0) ); - OffBrush = CreateSolidBrush( RGB(125,0,0) ); - - RedPen.CreatePen( PS_SOLID, 1, RGB(255,0,0)); - GreenPen.CreatePen( PS_SOLID, 1, RGB(0,255,0)); - - if( n_PlotWidth == -1 && n_PlotHeight == -1 ) - { - ((CWnd*)GetDlgItem(IDC_STATIC_DRAW))->GetWindowRect(&plotRect); - ScreenToClient(&plotRect); - - n_PlotWidth = min( plotRect.Width(), 512); - n_PlotHeight = plotRect.Height() - 10; - } - - // set the default SampleRate - SetDlgItemInt( IDC_EDIT_SAMPLE_RATE, (UINT)(m_fSampleRate/1000) ); - - // Set the default DI Sample - SetDlgItemInt( IDC_EDIT_SAMPLE, (UINT)(m_dwDISamples) ); - - - return TRUE; // return TRUE unless you set the focus to a control -} - -void C9223WavDlg::OnSysCommand(UINT nID, LPARAM lParam) -{ - if ((nID & 0xFFF0) == IDM_ABOUTBOX) - { - CAboutDlg dlgAbout; - dlgAbout.DoModal(); - } - else - { - CDialog::OnSysCommand(nID, lParam); - } -} - -// If you add a minimize button to your dialog, you will need the code below -// to draw the icon. For MFC applications using the document/view model, -// this is automatically done for you by the framework. - -void C9223WavDlg::OnPaint() -{ - if (IsIconic()) - { - CPaintDC dc(this); // device context for painting - - SendMessage(WM_ICONERASEBKGND, reinterpret_cast(dc.GetSafeHdc()), 0); - - // Center icon in client rectangle - int cxIcon = GetSystemMetrics(SM_CXICON); - int cyIcon = GetSystemMetrics(SM_CYICON); - CRect rect; - GetClientRect(&rect); - int x = (rect.Width() - cxIcon + 1) / 2; - int y = (rect.Height() - cyIcon + 1) / 2; - - // Draw the icon - dc.DrawIcon(x, y, m_hIcon); - } - else - { - redraw_display_area(); - CDialog::OnPaint(); - } -} - -// The system calls this function to obtain the cursor to display while the user drags -// the minimized window. -HCURSOR C9223WavDlg::OnQueryDragIcon() -{ - return static_cast(m_hIcon); -} - - -void C9223WavDlg::OnDestroy() -{ - U32 count; - - CDialog::OnDestroy(); - - // TODO: Add your message handler code here - if( OnBrush != NULL ) - ::DeleteObject( OnBrush ); - - if( OffBrush != NULL ) - ::DeleteObject( OffBrush ); - - RedPen.DeleteObject(); - GreenPen.DeleteObject(); - - if( m_nTimer != -1 ) - { - KillTimer( m_nTimer ); - m_nTimer = -1; - } - - if( m_pDIAddr != NULL ) - { - free( m_pDIAddr ); - m_pDIAddr = NULL; - } - - DI_AsyncClear( m_hCard, &count ); - -#ifdef _SELF_OUTPUT_ - DO_AsyncClear( m_hCard, &count ); -#endif - - -} - -void C9223WavDlg::OnStart() -{ - // TODO: Add your control notification handler code here - U32 dwMemSize, dwDISamples; - void* pMem; - I16 err; - CString strMsg; - - dwDISamples = GetDlgItemInt( IDC_EDIT_SAMPLE ); - - if( dwDISamples != m_dwDISamples ) - { - if( m_pDIAddr != NULL ) - { - free( m_pDIAddr ); - m_pDIAddr = NULL; - } - m_dwDISamples = dwDISamples; - } - - - dwMemSize = m_dwDISamples * sizeof(U16); - pMem = malloc( dwMemSize ); - if( pMem == NULL ) - { - AfxMessageBox( TEXT("Memory allocated failed") ); - return; - } - else - { - m_pDIAddr = (U16*) pMem; - memset( m_pDIAddr, '\0', dwMemSize ); - } - - -#ifdef _SELF_OUTPUT_ - - if ((err=DO_9222_Config(m_hCard, P922x_DO_CONVSRC_INT, (P922x_DO_TRGMOD_POST|P922x_DO_TRGSRC_SOFT), 0, 0, 0, 1)) != NoError) - { - strMsg.Format( TEXT("DO_9222_Config Error = %d") ,err ); - AfxMessageBox( strMsg ); - return; - } - - if ((err = DO_ContBufferSetup(m_hCard, DoBuf, 10240, &m_wDOBufferId)) != NoError) - { - strMsg.Format( TEXT("DO_ContBufferSetup Error = %d") ,err ); - AfxMessageBox( strMsg ); - return; - } - -#endif - - if ((err=DI_9222_Config(m_hCard, P922x_DI_CONVSRC_INT, (P922x_DI_TRGMOD_POST|P922x_DI_TRGSRC_SOFT), 0, 1)) != NoError) - { - strMsg.Format( TEXT("DI_9222_Config Error = %d") ,err ); - AfxMessageBox( strMsg ); - return; - } - - if ((err=DI_AsyncDblBufferMode (m_hCard, 0)) != NoError) - { - strMsg.Format( TEXT("DI_AsyncDblBufferMode Error = %d\n"), err ); - AfxMessageBox( strMsg ); - return; - } - - /*Setup Buffer for DI DMA Transfer*/ - if ((err=DI_ContBufferSetup(m_hCard, m_pDIAddr, m_dwDISamples, &m_wDIBufferId)) != NoError) - { - strMsg.Format( TEXT("DI_ContBufferSetup Error = %d") ,err ); - AfxMessageBox( strMsg ); - return; - } - - // clear display area - redraw_display_area(); - - if ((err = DI_ContReadPort(m_hCard, 0, &m_wDIBufferId, m_dwDISamples, m_fSampleRate, ASYNCH_OP)) != NoError) - { - DI_ContBufferReset(m_hCard); - strMsg.Format( TEXT("DI_ContReadPort Error = %d\n"), err); - AfxMessageBox( strMsg ); - return; - } - -#ifdef _SELF_OUTPUT_ - if ((err = DO_ContWritePort(m_hCard, 0, &m_wDOBufferId, 10240, 1, m_fSampleRate, ASYNCH_OP)) != NoError) - { - DO_ContBufferReset(m_hCard); - strMsg.Format( TEXT("DO_ContWritePort Error = %d") ,err ); - AfxMessageBox( strMsg ); - return; - } -#endif - - if( m_nTimer == -1 ) - { - m_nTimer = SetTimer( PCI9222_DIO_STATUS_TIMER, 20, NULL ); - } - - GetDlgItem( IDC_BT_START )->EnableWindow( FALSE ); - GetDlgItem( IDC_BT_STOP )->EnableWindow( TRUE ); - -} - -void C9223WavDlg::OnStop() -{ - // TODO: Add your control notification handler code here - U32 count; - - DI_AsyncClear(m_hCard, &count); - DI_ContBufferReset(m_hCard); - -#ifdef _SELF_OUTPUT_ - DO_AsyncClear(m_hCard, &count); - DO_ContBufferReset( m_hCard ); -#endif - - GetDlgItem( IDC_BT_START )->EnableWindow( TRUE ); - GetDlgItem( IDC_BT_STOP )->EnableWindow( FALSE); -} - -void C9223WavDlg::OnTimer(UINT_PTR nIDEvent) -{ - // TODO: Add your message handler code here and/or call default - BOOLEAN bStopped; - U32 count; - I16 err; - - err = DI_AsyncCheck( m_hCard, &bStopped, &count ); - - if( bStopped ) - { - // stop timer - KillTimer( m_nTimer ); - m_nTimer = -1; - - // reset the Button status - GetDlgItem( IDC_BT_START )->EnableWindow( TRUE ); - GetDlgItem( IDC_BT_STOP )->EnableWindow( TRUE); - - err = DI_AsyncClear( m_hCard, &count ); - err = DI_ContBufferReset( m_hCard ); -#ifdef _SELF_OUTPUT_ - err = DO_AsyncClear( m_hCard, &count ); - err = DO_ContBufferReset( m_hCard ); -#endif - - display_buffer_data(m_pDIAddr); - } - - CDialog::OnTimer(nIDEvent); -} - - -void C9223WavDlg::display_buffer_data(U16* pBuf) -{ - CClientDC dc_plot(this); - int nDraw_Bottom; - - int newY, oldY = -1; - int newX, oldX = -1; - U32 index; - U16 di_data; - - nDraw_Bottom = ( plotRect.bottom - 5 ); - dc_plot.SelectObject( &GreenPen ); - - for( index=0; index 2000000.0 ) m_fSampleRate = 2000000.0; - break; - case SB_LINEDOWN: - m_fSampleRate -= 50000; - if (m_fSampleRate < 50000 ) m_fSampleRate = 50000; - break; - } - - SetDlgItemInt( IDC_EDIT_SAMPLE_RATE, (UINT)(m_fSampleRate/1000) ); - - CDialog::OnVScroll(nSBCode, nPos, pScrollBar); -} diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223DIOWave/9223WavDlg.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223DIOWave/9223WavDlg.h deleted file mode 100644 index a9ee22d..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223DIOWave/9223WavDlg.h +++ /dev/null @@ -1,61 +0,0 @@ - -// 9223WavDlg.h : header file -// -#include "Dask.h" - -#pragma once - - -// C9223WavDlg dialog -class C9223WavDlg : public CDialog -{ -// Construction -public: - C9223WavDlg(I16 hCard, CWnd* pParent = NULL); // standard constructor - -// Dialog Data - enum { IDD = IDD_MY9223WAV_DIALOG }; - - protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - - -// Implementation -protected: - HICON m_hIcon; - I16 m_hCard; - UINT_PTR m_nTimer; - U16* m_pDIAddr; - U32 m_dwDISamples; - HBRUSH OnBrush; - HBRUSH OffBrush; - CPen RedPen; - CPen GreenPen; - DWORD max_val; - DWORD min_val; - int y_divider; - int x_divider; - int m_DisplayScale; - double m_fSampleRate; - U16 m_wDOBufferId; - U16 m_wDIBufferId; - - // Generated message map functions - virtual BOOL OnInitDialog(); - afx_msg void OnSysCommand(UINT nID, LPARAM lParam); - afx_msg void OnPaint(); - afx_msg HCURSOR OnQueryDragIcon(); - DECLARE_MESSAGE_MAP() -public: - afx_msg void OnDestroy(); - afx_msg void OnStart(); - afx_msg void OnStop(); - afx_msg void OnTimer(UINT_PTR nIDEvent); - void display_buffer_data(U16* pBuf); - void redraw_display_area(void); - afx_msg void OnVScroll(UINT nSBCode, UINT nPos, CScrollBar* pScrollBar); - -private: - int n_PlotHeight; - int n_PlotWidth; -}; diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223DIOWave/CardIDDlg.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223DIOWave/CardIDDlg.cpp deleted file mode 100644 index 1c5061b..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223DIOWave/CardIDDlg.cpp +++ /dev/null @@ -1,67 +0,0 @@ -// CardIDDlg.cpp : implementation file -// - -#include "stdafx.h" -#include "9223Wav.h" -#include "CardIDDlg.h" - - -// CCardIDDlg dialog - -IMPLEMENT_DYNAMIC(CCardIDDlg, CDialog) - -CCardIDDlg::CCardIDDlg(int nCardIdx, CWnd* pParent /*=NULL*/) - : CDialog(CCardIDDlg::IDD, pParent) -{ - m_nCardIdx = nCardIdx; -} - -CCardIDDlg::~CCardIDDlg() -{ -} - -void CCardIDDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); - DDX_Control(pDX, IDC_COMBO_CARDID, m_cbCardID); -} - - -BEGIN_MESSAGE_MAP(CCardIDDlg, CDialog) -// ON_CBN_SELCHANGE(IDC_COMBO_CARDID, &CCardIDDlg::OnCbnSelchangeComboCardid) -ON_BN_CLICKED(IDOK, &CCardIDDlg::OnBnClickedOk) -//ON_WM_CTLCOLOR() -END_MESSAGE_MAP() - - -// CCardIDDlg message handlers - - -void CCardIDDlg::OnBnClickedOk() -{ - // TODO: Add your control notification handler code here - -// UpdateData(TRUE); - m_nCardIdx = m_cbCardID.GetCurSel(); - - OnOK(); -} - -BOOL CCardIDDlg::OnInitDialog() -{ - CDialog::OnInitDialog(); - - // TODO: Add extra initialization here - m_cbCardID.SetCurSel( m_nCardIdx ); - - return TRUE; // return TRUE unless you set the focus to a control - // EXCEPTION: OCX Property Pages should return FALSE -} - -// the function to get the selected CardID -int CCardIDDlg::GetCardID(void) -{ - return m_nCardIdx; -} - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223DIOWave/CardIDDlg.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223DIOWave/CardIDDlg.h deleted file mode 100644 index 54628ea..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223DIOWave/CardIDDlg.h +++ /dev/null @@ -1,33 +0,0 @@ -#pragma once -#include "afxwin.h" - - -// CCardIDDlg dialog - -class CCardIDDlg : public CDialog -{ - DECLARE_DYNAMIC(CCardIDDlg) - -public: - CCardIDDlg(int nCardIdx, CWnd* pParent = NULL); // standard constructor - virtual ~CCardIDDlg(); - -// Dialog Data - enum { IDD = IDD_CARDID_DIALOG }; - -protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - - DECLARE_MESSAGE_MAP() -public: -// afx_msg void OnCbnSelchangeComboCardid(); - afx_msg void OnBnClickedOk(); - // the setting of CardID ComboBox - int m_nCardIdx; - virtual BOOL OnInitDialog(); - // the control of CardID ComboBox - CComboBox m_cbCardID; - // the function to get the selected CardID - int GetCardID(void); -// afx_msg HBRUSH OnCtlColor(CDC* pDC, CWnd* pWnd, UINT nCtlColor); -}; diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223DIOWave/ReadMe.txt b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223DIOWave/ReadMe.txt deleted file mode 100644 index 7cae3bc..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223DIOWave/ReadMe.txt +++ /dev/null @@ -1,93 +0,0 @@ -================================================================================ - MICROSOFT FOUNDATION CLASS LIBRARY : 9223Wav Project Overview -=============================================================================== - -The application wizard has created this 9223Wav application for -you. This application not only demonstrates the basics of using the Microsoft -Foundation Classes but is also a starting point for writing your application. - -This file contains a summary of what you will find in each of the files that -make up your 9223Wav application. - -9223Wav.vcproj - This is the main project file for VC++ projects generated using an application wizard. - It contains information about the version of Visual C++ that generated the file, and - information about the platforms, configurations, and project features selected with the - application wizard. - -9223Wav.h - This is the main header file for the application. It includes other - project specific headers (including Resource.h) and declares the - C9223WavApp application class. - -9223Wav.cpp - This is the main application source file that contains the application - class C9223WavApp. - -9223Wav.rc - This is a listing of all of the Microsoft Windows resources that the - program uses. It includes the icons, bitmaps, and cursors that are stored - in the RES subdirectory. This file can be directly edited in Microsoft - Visual C++. Your project resources are in 1033. - -res\9223Wav.ico - This is an icon file, which is used as the application's icon. This - icon is included by the main resource file 9223Wav.rc. - -res\My9223Wav.rc2 - This file contains resources that are not edited by Microsoft - Visual C++. You should place all resources not editable by - the resource editor in this file. - - -///////////////////////////////////////////////////////////////////////////// - -The application wizard creates one dialog class: - -9223WavDlg.h, 9223WavDlg.cpp - the dialog - These files contain your C9223WavDlg class. This class defines - the behavior of your application's main dialog. The dialog's template is - in 9223Wav.rc, which can be edited in Microsoft Visual C++. - - -///////////////////////////////////////////////////////////////////////////// - -Other Features: - -ActiveX Controls - The application includes support to use ActiveX controls. - -///////////////////////////////////////////////////////////////////////////// - -Other standard files: - -StdAfx.h, StdAfx.cpp - These files are used to build a precompiled header (PCH) file - named 9223Wav.pch and a precompiled types file named StdAfx.obj. - -Resource.h - This is the standard header file, which defines new resource IDs. - Microsoft Visual C++ reads and updates this file. - -9223Wav.manifest - Application manifest files are used by Windows XP to describe an applications - dependency on specific versions of Side-by-Side assemblies. The loader uses this - information to load the appropriate assembly from the assembly cache or private - from the application. The Application manifest maybe included for redistribution - as an external .manifest file that is installed in the same folder as the application - executable or it may be included in the executable in the form of a resource. -///////////////////////////////////////////////////////////////////////////// - -Other notes: - -The application wizard uses "TODO:" to indicate parts of the source code you -should add to or customize. - -If your application uses MFC in a shared DLL, you will need -to redistribute the MFC DLLs. If your application is in a language -other than the operating system's locale, you will also have to -redistribute the corresponding localized resources MFC90XXX.DLL. -For more information on both of these topics, please see the section on -redistributing Visual C++ applications in MSDN documentation. - -///////////////////////////////////////////////////////////////////////////// diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223DIOWave/res/9223Wav.ico b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223DIOWave/res/9223Wav.ico deleted file mode 100644 index d56fbcd..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223DIOWave/res/9223Wav.ico and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223DIOWave/res/My9223Wav.rc2 b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223DIOWave/res/My9223Wav.rc2 deleted file mode 100644 index 440d4a5..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223DIOWave/res/My9223Wav.rc2 +++ /dev/null @@ -1,13 +0,0 @@ -// -// My7200Wav.RC2 - resources Microsoft Visual C++ does not edit directly -// - -#ifdef APSTUDIO_INVOKED -#error this file is not editable by Microsoft Visual C++ -#endif //APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// Add manually edited resources here... - -///////////////////////////////////////////////////////////////////////////// diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223DIOWave/resource.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223DIOWave/resource.h deleted file mode 100644 index 75c8a35..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223DIOWave/resource.h +++ /dev/null @@ -1,29 +0,0 @@ -//{{NO_DEPENDENCIES}} -// Microsoft Visual C++ generated include file. -// Used by 9223Wav.rc -// -#define IDM_ABOUTBOX 0x0010 -#define IDD_ABOUTBOX 100 -#define IDS_ABOUTBOX 101 -#define IDD_MY9223WAV_DIALOG 102 -#define IDR_MAINFRAME 128 -#define IDD_CARDID_DIALOG 129 -#define IDC_STATIC_DRAW 1000 -#define IDC_EDIT_SAMPLE 1001 -#define IDC_EDIT_SAMPLE_RATE 1003 -#define IDC_SCROLLBAR_RATE 1006 -#define IDC_COMBO_CARDID 1007 -#define IDC_BT_START 1008 -#define IDC_BT_STOP 1009 -#define IDC_STATIC_01 1014 - -// Next default values for new objects -// -#ifdef APSTUDIO_INVOKED -#ifndef APSTUDIO_READONLY_SYMBOLS -#define _APS_NEXT_RESOURCE_VALUE 131 -#define _APS_NEXT_COMMAND_VALUE 32771 -#define _APS_NEXT_CONTROL_VALUE 1000 -#define _APS_NEXT_SYMED_VALUE 101 -#endif -#endif diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223DIOWave/stdafx.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223DIOWave/stdafx.cpp deleted file mode 100644 index b5184d9..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223DIOWave/stdafx.cpp +++ /dev/null @@ -1,8 +0,0 @@ - -// stdafx.cpp : source file that includes just the standard includes -// 7200Wav.pch will be the pre-compiled header -// stdafx.obj will contain the pre-compiled type information - -#include "stdafx.h" - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223DIOWave/stdafx.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223DIOWave/stdafx.h deleted file mode 100644 index 12123e2..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223DIOWave/stdafx.h +++ /dev/null @@ -1,60 +0,0 @@ - -// stdafx.h : include file for standard system include files, -// or project specific include files that are used frequently, -// but are changed infrequently - -#pragma once - -#ifndef _SECURE_ATL -#define _SECURE_ATL 1 -#endif - -#ifndef VC_EXTRALEAN -#define VC_EXTRALEAN // Exclude rarely-used stuff from Windows headers -#endif - -#include "targetver.h" - -#define _ATL_CSTRING_EXPLICIT_CONSTRUCTORS // some CString constructors will be explicit - -// turns off MFC's hiding of some common and often safely ignored warning messages -#define _AFX_ALL_WARNINGS - -#include // MFC core and standard components -#include // MFC extensions - - -#include // MFC Automation classes - - - -#ifndef _AFX_NO_OLE_SUPPORT -#include // MFC support for Internet Explorer 4 Common Controls -#endif -#ifndef _AFX_NO_AFXCMN_SUPPORT -#include // MFC support for Windows Common Controls -#endif // _AFX_NO_AFXCMN_SUPPORT - -#include // MFC support for ribbons and control bars - - - - - - - - - -#ifdef _UNICODE -#if defined _M_IX86 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='x86' publicKeyToken='6595b64144ccf1df' language='*'\"") -#elif defined _M_IA64 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='ia64' publicKeyToken='6595b64144ccf1df' language='*'\"") -#elif defined _M_X64 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='amd64' publicKeyToken='6595b64144ccf1df' language='*'\"") -#else -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='*' publicKeyToken='6595b64144ccf1df' language='*'\"") -#endif -#endif - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223DIOWave/targetver.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223DIOWave/targetver.h deleted file mode 100644 index 11730d5..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223DIOWave/targetver.h +++ /dev/null @@ -1,26 +0,0 @@ - -#pragma once - -// The following macros define the minimum required platform. The minimum required platform -// is the earliest version of Windows, Internet Explorer etc. that has the necessary features to run -// your application. The macros work by enabling all features available on platform versions up to and -// including the version specified. - -// Modify the following defines if you have to target a platform prior to the ones specified below. -// Refer to MSDN for the latest info on corresponding values for different platforms. -#ifndef WINVER // Specifies that the minimum required platform is Windows Vista. -#define WINVER 0x0600 // Change this to the appropriate value to target other versions of Windows. -#endif - -#ifndef _WIN32_WINNT // Specifies that the minimum required platform is Windows Vista. -#define _WIN32_WINNT 0x0600 // Change this to the appropriate value to target other versions of Windows. -#endif - -#ifndef _WIN32_WINDOWS // Specifies that the minimum required platform is Windows 98. -#define _WIN32_WINDOWS 0x0410 // Change this to the appropriate value to target Windows Me or later. -#endif - -#ifndef _WIN32_IE // Specifies that the minimum required platform is Internet Explorer 7.0. -#define _WIN32_IE 0x0700 // Change this to the appropriate value to target other versions of IE. -#endif - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223DIWave_Dbf/7200Wav.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223DIWave_Dbf/7200Wav.suo deleted file mode 100644 index bc032e1..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223DIWave_Dbf/7200Wav.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223DIWave_Dbf/9222Wav.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223DIWave_Dbf/9222Wav.suo deleted file mode 100644 index 2d86552..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223DIWave_Dbf/9222Wav.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223DIWave_Dbf/9223Wav.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223DIWave_Dbf/9223Wav.cpp deleted file mode 100644 index 2f4e185..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223DIWave_Dbf/9223Wav.cpp +++ /dev/null @@ -1,110 +0,0 @@ - -// 9223Wav.cpp : Defines the class behaviors for the application. -// - -#include "stdafx.h" -#include "9223Wav.h" -#include "9223WavDlg.h" -#include "CardIDDlg.h" - -#ifdef _DEBUG -#define new DEBUG_NEW -#endif - - -// C9223WavApp - -BEGIN_MESSAGE_MAP(C9223WavApp, CWinAppEx) - ON_COMMAND(ID_HELP, &CWinApp::OnHelp) -END_MESSAGE_MAP() - - -// C9223WavApp construction - -C9223WavApp::C9223WavApp() -{ - // TODO: add construction code here, - // Place all significant initialization in InitInstance -} - - -// The one and only C9223WavApp object - -C9223WavApp theApp; - - -// C9223WavApp initialization - -BOOL C9223WavApp::InitInstance() -{ - int nCardID = 0; - I16 hCard; - CString strTemp; - INT_PTR nResponse; - - // InitCommonControlsEx() is required on Windows XP if an application - // manifest specifies use of ComCtl32.dll version 6 or later to enable - // visual styles. Otherwise, any window creation will fail. - INITCOMMONCONTROLSEX InitCtrls; - InitCtrls.dwSize = sizeof(InitCtrls); - // Set this to include all the common control classes you want to use - // in your application. - InitCtrls.dwICC = ICC_WIN95_CLASSES; - InitCommonControlsEx(&InitCtrls); - - CWinAppEx::InitInstance(); - - AfxEnableControlContainer(); - - // Standard initialization - // If you are not using these features and wish to reduce the size - // of your final executable, you should remove from the following - // the specific initialization routines you do not need - // Change the registry key under which our settings are stored - // TODO: You should modify this string to be something appropriate - // such as the name of your company or organization - SetRegistryKey(_T("Local AppWizard-Generated Applications")); - - CCardIDDlg CardDlg( nCardID ); - - nResponse = CardDlg.DoModal(); - if (nResponse == IDOK) - { - nCardID = CardDlg.GetCardID(); - - if ((hCard=Register_Card(PCI_9223, nCardID)) < 0) - { - strTemp.Format( TEXT("Register_Card Error = %d"), hCard); - AfxMessageBox( strTemp ); - } - else - { - C9223WavDlg dlg(hCard); - m_pMainWnd = &dlg; - nResponse = dlg.DoModal(); - if (nResponse == IDOK) - { - // TODO: Place code here to handle when the dialog is - // dismissed with OK - } - else if (nResponse == IDCANCEL) - { - // TODO: Place code here to handle when the dialog is - // dismissed with Cancel - } - - if (hCard >= 0) Release_Card(hCard); - } - - } - else if (nResponse == IDCANCEL) - { - // TODO: Place code here to handle when the dialog is - // dismissed with Cancel - } - - - // Since the dialog has been closed, return FALSE so that we exit the - // application, rather than start the application's message pump. - return FALSE; -} diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223DIWave_Dbf/9223Wav.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223DIWave_Dbf/9223Wav.h deleted file mode 100644 index 6d55d8b..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223DIWave_Dbf/9223Wav.h +++ /dev/null @@ -1,32 +0,0 @@ - -// 9223Wav.h : main header file for the PROJECT_NAME application -// - -#pragma once - -#ifndef __AFXWIN_H__ - #error "include 'stdafx.h' before including this file for PCH" -#endif - -#include "resource.h" // main symbols - - -// C9223WavApp: -// See 9223Wav.cpp for the implementation of this class -// - -class C9223WavApp : public CWinAppEx -{ -public: - C9223WavApp(); - -// Overrides - public: - virtual BOOL InitInstance(); - -// Implementation - - DECLARE_MESSAGE_MAP() -}; - -extern C9223WavApp theApp; \ No newline at end of file diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223DIWave_Dbf/9223Wav.rc b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223DIWave_Dbf/9223Wav.rc deleted file mode 100644 index 27e23ee..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223DIWave_Dbf/9223Wav.rc +++ /dev/null @@ -1,283 +0,0 @@ -// Microsoft Visual C++ generated resource script. -// -#include "resource.h" - -#define APSTUDIO_READONLY_SYMBOLS -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 2 resource. -// -#ifndef APSTUDIO_INVOKED -#include "targetver.h" -#endif -#include "afxres.h" - -///////////////////////////////////////////////////////////////////////////// -#undef APSTUDIO_READONLY_SYMBOLS - -///////////////////////////////////////////////////////////////////////////// -// Chinese (Taiwan) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_CHT) -#ifdef _WIN32 -LANGUAGE LANG_CHINESE, SUBLANG_CHINESE_TRADITIONAL -#pragma code_page(950) -#endif //_WIN32 - -#ifdef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// TEXTINCLUDE -// - -1 TEXTINCLUDE -BEGIN - "resource.h\0" -END - -2 TEXTINCLUDE -BEGIN - "#ifndef APSTUDIO_INVOKED\r\n" - "#include ""targetver.h""\r\n" - "#endif\r\n" - "#include ""afxres.h""\r\n" - "\0" -END - -3 TEXTINCLUDE -BEGIN - "#define _AFX_NO_SPLITTER_RESOURCES\r\n" - "#define _AFX_NO_OLE_RESOURCES\r\n" - "#define _AFX_NO_TRACKER_RESOURCES\r\n" - "#define _AFX_NO_PROPERTY_RESOURCES\r\n" - "\r\n" - "#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)\r\n" - "LANGUAGE 9, 1\r\n" - "#pragma code_page(1252)\r\n" - "#include ""res\\My9223Wav.rc2"" // non-Microsoft Visual C++ edited resources\r\n" - "#include ""afxres.rc"" // Standard components\r\n" - "#endif\r\n" - "\0" -END - -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// Icon -// - -// Icon with lowest ID value placed first to ensure application icon -// remains consistent on all systems. -IDR_MAINFRAME ICON "res\\9223Wav.ico" -#endif // Chinese (Taiwan) resources -///////////////////////////////////////////////////////////////////////////// - - -///////////////////////////////////////////////////////////////////////////// -// English (U.S.) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -#ifdef _WIN32 -LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US -#pragma code_page(1252) -#endif //_WIN32 - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog -// - -IDD_ABOUTBOX DIALOGEX 0, 0, 170, 62 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "About 9223Wav" -FONT 8, "MS Shell Dlg", 0, 0, 0x1 -BEGIN - ICON IDR_MAINFRAME,IDC_STATIC,14,14,21,20 - LTEXT "9223Wav, Version 1.0",IDC_STATIC,42,14,114,8,SS_NOPREFIX - LTEXT "Copyright (C) 2010",IDC_STATIC,42,26,114,8 - DEFPUSHBUTTON "OK",IDOK,113,41,50,14,WS_GROUP -END - -IDD_MY9223WAV_DIALOG DIALOGEX 0, 0, 354, 201 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU -EXSTYLE WS_EX_APPWINDOW -CAPTION "PCI-9223 DI/DO Double Buffer DMA " -FONT 8, "MS Shell Dlg", 0, 0, 0x1 -BEGIN - GROUPBOX "",IDC_STATIC_DRAW,49,7,293,138,NOT WS_VISIBLE - EDITTEXT IDC_EDIT_SAMPLE,113,153,51,12,ES_AUTOHSCROLL - LTEXT "DI Samples :",IDC_STATIC,64,154,45,9 - EDITTEXT IDC_EDIT_SAMPLE_RATE,227,154,30,12,ES_AUTOHSCROLL | ES_READONLY - LTEXT "Sample Rate :",IDC_STATIC,174,154,49,9 - LTEXT "KHz",IDC_STATIC,270,156,15,9 - SCROLLBAR IDC_SCROLLBAR_RATE,258,154,9,11,SBS_VERT - PUSHBUTTON "Start",IDC_BT_START,293,151,48,17 - PUSHBUTTON "Stop",IDC_BT_STOP,293,170,48,17 -END - -IDD_CARDID_DIALOG DIALOGEX 0, 0, 170, 89 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "Card ID" -FONT 8, "MS Shell Dlg", 400, 0, 0x1 -BEGIN - COMBOBOX IDC_COMBO_CARDID,75,17,71,126,CBS_DROPDOWN | WS_VSCROLL | WS_TABSTOP - LTEXT "Card Number",IDC_STATIC_01,21,18,46,12 - PUSHBUTTON "OK",IDOK,22,50,58,19 - PUSHBUTTON "CANCEL",IDCANCEL,86,50,58,19 -END - - -///////////////////////////////////////////////////////////////////////////// -// -// Version -// - -VS_VERSION_INFO VERSIONINFO - FILEVERSION 1,0,0,1 - PRODUCTVERSION 1,0,0,1 - FILEFLAGSMASK 0x3fL -#ifdef _DEBUG - FILEFLAGS 0x1L -#else - FILEFLAGS 0x0L -#endif - FILEOS 0x4L - FILETYPE 0x1L - FILESUBTYPE 0x0L -BEGIN - BLOCK "StringFileInfo" - BEGIN - BLOCK "040904e4" - BEGIN - VALUE "CompanyName", "TODO: " - VALUE "FileDescription", "TODO: " - VALUE "FileVersion", "1.0.0.1" - VALUE "InternalName", "9223Wav.exe" - VALUE "LegalCopyright", "TODO: (c) . All rights reserved." - VALUE "OriginalFilename", "9223Wav.exe" - VALUE "ProductName", "TODO: " - VALUE "ProductVersion", "1.0.0.1" - END - END - BLOCK "VarFileInfo" - BEGIN - VALUE "Translation", 0x409, 1252 - END -END - - -///////////////////////////////////////////////////////////////////////////// -// -// DESIGNINFO -// - -#ifdef APSTUDIO_INVOKED -GUIDELINES DESIGNINFO -BEGIN - IDD_ABOUTBOX, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 163 - TOPMARGIN, 7 - BOTTOMMARGIN, 55 - END - - IDD_MY9223WAV_DIALOG, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 347 - TOPMARGIN, 7 - BOTTOMMARGIN, 194 - END - - IDD_CARDID_DIALOG, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 163 - TOPMARGIN, 7 - BOTTOMMARGIN, 82 - END -END -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog Info -// - -IDD_CARDID_DIALOG DLGINIT -BEGIN - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0030, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0031, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0032, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0033, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0034, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0035, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0036, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0037, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0038, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0039, - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3031, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3131, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3231, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3331, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3431, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3531, "\000" - 0 -END - - -///////////////////////////////////////////////////////////////////////////// -// -// String Table -// - -STRINGTABLE -BEGIN - IDS_ABOUTBOX "&About 9223Wav..." -END - -#endif // English (U.S.) resources -///////////////////////////////////////////////////////////////////////////// - - - -#ifndef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 3 resource. -// -#define _AFX_NO_SPLITTER_RESOURCES -#define _AFX_NO_OLE_RESOURCES -#define _AFX_NO_TRACKER_RESOURCES -#define _AFX_NO_PROPERTY_RESOURCES - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -LANGUAGE 9, 1 -#pragma code_page(1252) -#include "res\My9223Wav.rc2" // non-Microsoft Visual C++ edited resources -#include "afxres.rc" // Standard components -#endif - -///////////////////////////////////////////////////////////////////////////// -#endif // not APSTUDIO_INVOKED - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223DIWave_Dbf/9223Wav.sln b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223DIWave_Dbf/9223Wav.sln deleted file mode 100644 index 1d09bcd..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223DIWave_Dbf/9223Wav.sln +++ /dev/null @@ -1,20 +0,0 @@ - -Microsoft Visual Studio Solution File, Format Version 10.00 -# Visual Studio 2008 -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "9223Wav", "9223Wav.vcproj", "{EBDB6610-7CE5-413C-A150-121068BFDB22}" -EndProject -Global - GlobalSection(SolutionConfigurationPlatforms) = preSolution - Debug|x64 = Debug|x64 - Release|x64 = Release|x64 - EndGlobalSection - GlobalSection(ProjectConfigurationPlatforms) = postSolution - {EBDB6610-7CE5-413C-A150-121068BFDB22}.Debug|x64.ActiveCfg = Debug|x64 - {EBDB6610-7CE5-413C-A150-121068BFDB22}.Debug|x64.Build.0 = Debug|x64 - {EBDB6610-7CE5-413C-A150-121068BFDB22}.Release|x64.ActiveCfg = Release|x64 - {EBDB6610-7CE5-413C-A150-121068BFDB22}.Release|x64.Build.0 = Release|x64 - EndGlobalSection - GlobalSection(SolutionProperties) = preSolution - HideSolutionNode = FALSE - EndGlobalSection -EndGlobal diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223DIWave_Dbf/9223Wav.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223DIWave_Dbf/9223Wav.suo deleted file mode 100644 index 67a6825..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223DIWave_Dbf/9223Wav.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223DIWave_Dbf/9223Wav.vcproj b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223DIWave_Dbf/9223Wav.vcproj deleted file mode 100644 index 1b22987..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223DIWave_Dbf/9223Wav.vcproj +++ /dev/null @@ -1,286 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223DIWave_Dbf/9223WavDlg.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223DIWave_Dbf/9223WavDlg.cpp deleted file mode 100644 index 688a215..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223DIWave_Dbf/9223WavDlg.cpp +++ /dev/null @@ -1,601 +0,0 @@ - -// 9223WavDlg.cpp : implementation file -// - -#include "stdafx.h" -#include "9223Wav.h" -#include "9223WavDlg.h" -#include "math.h" - -#ifndef M_PI -#define M_PI 3.14159265359 -#endif - -#ifdef _DEBUG -#define new DEBUG_NEW -#endif - -CRect plotRect; - -#define PCI9222_DIO_STATUS_TIMER 1 - -#ifdef _SELF_OUTPUT_ -U32 DoBuf[10240]; -BOOLEAN bOutStopped; -ULONG out_count; -#endif - -// CAboutDlg dialog used for App About - -class CAboutDlg : public CDialog -{ -public: - CAboutDlg(); - -// Dialog Data - enum { IDD = IDD_ABOUTBOX }; - - protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - -// Implementation -protected: - DECLARE_MESSAGE_MAP() -}; - -CAboutDlg::CAboutDlg() : CDialog(CAboutDlg::IDD) -{ -} - -void CAboutDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); -} - -BEGIN_MESSAGE_MAP(CAboutDlg, CDialog) -END_MESSAGE_MAP() - - -// C9223WavDlg dialog - - -C9223WavDlg::C9223WavDlg(I16 hCard, CWnd* pParent /*=NULL*/) - : CDialog(C9223WavDlg::IDD, pParent) -{ - m_hIcon = AfxGetApp()->LoadIcon(IDR_MAINFRAME); - - m_hCard = hCard; - - OnBrush = OffBrush = NULL; - - n_PlotWidth = -1; - n_PlotHeight = -1; - - min_val = 0x00; - max_val = 0xFFFF; - - m_fSampleRate = 4000.0; // 100KHz - m_dwDISamples = 5120; - m_pDIAddr1 = NULL; - m_pDIAddr2 = NULL; - - m_nTimer = -1; - - m_dwOverrunCnt = 0; - -#ifdef _SELF_OUTPUT_ - for (int i=0; i<10240; i++) - DoBuf[i] = (U16)(sin((double)i/1024*M_PI)*0x00007FFF)+0x00008000; -#endif - -} - -void C9223WavDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); -} - -BEGIN_MESSAGE_MAP(C9223WavDlg, CDialog) - ON_WM_SYSCOMMAND() - ON_WM_PAINT() - ON_WM_QUERYDRAGICON() - //}}AFX_MSG_MAP - ON_WM_DESTROY() - ON_BN_CLICKED(IDC_BT_START, &C9223WavDlg::OnStart) - ON_BN_CLICKED(IDC_BT_STOP, &C9223WavDlg::OnStop) - ON_WM_TIMER() - ON_WM_VSCROLL() -END_MESSAGE_MAP() - - -// C9223WavDlg message handlers - -BOOL C9223WavDlg::OnInitDialog() -{ - CString strTemp; - - CDialog::OnInitDialog(); - - // Add "About..." menu item to system menu. - - // IDM_ABOUTBOX must be in the system command range. - ASSERT((IDM_ABOUTBOX & 0xFFF0) == IDM_ABOUTBOX); - ASSERT(IDM_ABOUTBOX < 0xF000); - - CMenu* pSysMenu = GetSystemMenu(FALSE); - if (pSysMenu != NULL) - { - BOOL bNameValid; - CString strAboutMenu; - bNameValid = strAboutMenu.LoadString(IDS_ABOUTBOX); - ASSERT(bNameValid); - if (!strAboutMenu.IsEmpty()) - { - pSysMenu->AppendMenu(MF_SEPARATOR); - pSysMenu->AppendMenu(MF_STRING, IDM_ABOUTBOX, strAboutMenu); - } - } - - // Set the icon for this dialog. The framework does this automatically - // when the application's main window is not a dialog - SetIcon(m_hIcon, TRUE); // Set big icon - SetIcon(m_hIcon, FALSE); // Set small icon - - // TODO: Add extra initialization here - x_divider = 5; y_divider = 2; - - OnBrush = CreateSolidBrush( RGB(255,0,0) ); - OffBrush = CreateSolidBrush( RGB(125,0,0) ); - - RedPen.CreatePen( PS_SOLID, 1, RGB(255,0,0)); - GreenPen.CreatePen( PS_SOLID, 1, RGB(0,255,0)); - - if( n_PlotWidth == -1 && n_PlotHeight == -1 ) - { - ((CWnd*)GetDlgItem(IDC_STATIC_DRAW))->GetWindowRect(&plotRect); - ScreenToClient(&plotRect); - - n_PlotWidth = min( plotRect.Width(), 512); - n_PlotHeight = plotRect.Height() - 10; - } - - // set the default SampleRate - SetDlgItemInt( IDC_EDIT_SAMPLE_RATE, (UINT)(m_fSampleRate/1000) ); - - // Set the default DI Sample - SetDlgItemInt( IDC_EDIT_SAMPLE, (UINT)(m_dwDISamples) ); - - - return TRUE; // return TRUE unless you set the focus to a control -} - -void C9223WavDlg::OnSysCommand(UINT nID, LPARAM lParam) -{ - if ((nID & 0xFFF0) == IDM_ABOUTBOX) - { - CAboutDlg dlgAbout; - dlgAbout.DoModal(); - } - else - { - CDialog::OnSysCommand(nID, lParam); - } -} - -// If you add a minimize button to your dialog, you will need the code below -// to draw the icon. For MFC applications using the document/view model, -// this is automatically done for you by the framework. - -void C9223WavDlg::OnPaint() -{ - if (IsIconic()) - { - CPaintDC dc(this); // device context for painting - - SendMessage(WM_ICONERASEBKGND, reinterpret_cast(dc.GetSafeHdc()), 0); - - // Center icon in client rectangle - int cxIcon = GetSystemMetrics(SM_CXICON); - int cyIcon = GetSystemMetrics(SM_CYICON); - CRect rect; - GetClientRect(&rect); - int x = (rect.Width() - cxIcon + 1) / 2; - int y = (rect.Height() - cyIcon + 1) / 2; - - // Draw the icon - dc.DrawIcon(x, y, m_hIcon); - } - else - { - redraw_display_area(); - CDialog::OnPaint(); - } -} - -// The system calls this function to obtain the cursor to display while the user drags -// the minimized window. -HCURSOR C9223WavDlg::OnQueryDragIcon() -{ - return static_cast(m_hIcon); -} - - -void C9223WavDlg::OnDestroy() -{ - U32 count; - - CDialog::OnDestroy(); - - // TODO: Add your message handler code here - if( OnBrush != NULL ) - ::DeleteObject( OnBrush ); - - if( OffBrush != NULL ) - ::DeleteObject( OffBrush ); - - RedPen.DeleteObject(); - GreenPen.DeleteObject(); - - if( m_nTimer != -1 ) - { - KillTimer( m_nTimer ); - m_nTimer = -1; - } - - if( m_pDIAddr1 != NULL ) - { - free( m_pDIAddr1 ); - m_pDIAddr1 = NULL; - } - - if( m_pDIAddr2 != NULL ) - { - free( m_pDIAddr2 ); - m_pDIAddr2 = NULL; - } - - DI_AsyncClear( m_hCard, &count ); - -#ifdef _SELF_OUTPUT_ - DO_AsyncClear( m_hCard, &count ); -#endif - - -} - -void C9223WavDlg::OnStart() -{ - // TODO: Add your control notification handler code here - U32 dwMemSize, dwDISamples; - void* pMem; - I16 err; - CString strMsg; - - dwDISamples = GetDlgItemInt( IDC_EDIT_SAMPLE ); - - if( dwDISamples != m_dwDISamples ) - { - if( m_pDIAddr1 != NULL ) - { - free( m_pDIAddr1 ); - m_pDIAddr1 = NULL; - } - - if( m_pDIAddr2 != NULL ) - { - free( m_pDIAddr2 ); - m_pDIAddr2 = NULL; - } - - m_dwDISamples = dwDISamples; - } - - - dwMemSize = m_dwDISamples * sizeof(U16); - pMem = malloc( dwMemSize ); - if( pMem == NULL ) - { - AfxMessageBox( TEXT("Memory allocated failed") ); - return; - } - else - { - m_pDIAddr1 = (U16*) pMem; - memset( m_pDIAddr1, '\0', dwMemSize ); - } - - pMem = malloc( dwMemSize ); - if( pMem == NULL ) - { - AfxMessageBox( TEXT("Memory allocated failed") ); - return; - } - else - { - m_pDIAddr2 = (U16*) pMem; - memset( m_pDIAddr2, '\0', dwMemSize ); - } - -#ifdef _SELF_OUTPUT_ - - if ((err=DO_9222_Config(m_hCard, P922x_DO_CONVSRC_INT, (P922x_DO_TRGMOD_POST|P922x_DO_TRGSRC_SOFT), 0, 0, 0, 1)) != NoError) - { - strMsg.Format( TEXT("DO_9222_Config Error = %d") ,err ); - AfxMessageBox( strMsg ); - return; - } - - if ((err = DO_ContBufferSetup(m_hCard, DoBuf, 10240, &m_wDOBufferId)) != NoError) - { - strMsg.Format( TEXT("DO_ContBufferSetup Error = %d") ,err ); - AfxMessageBox( strMsg ); - return; - } - -#endif - - if ((err=DI_9222_Config(m_hCard, P922x_DI_CONVSRC_INT, (P922x_DI_TRGMOD_POST|P922x_DI_TRGSRC_SOFT), 0, 1)) != NoError) - { - strMsg.Format( TEXT("DI_9222_Config Error = %d") ,err ); - AfxMessageBox( strMsg ); - return; - } - - if ((err=DI_AsyncDblBufferMode (m_hCard, 1)) != NoError) - { - strMsg.Format( TEXT("DI_AsyncDblBufferMode Error = %d\n"), err ); - AfxMessageBox( strMsg ); - return; - } - - /*Setup Buffer for DI DMA Transfer*/ - if ((err=DI_ContBufferSetup(m_hCard, m_pDIAddr1, m_dwDISamples, &m_wDIBufId1)) != NoError) - { - strMsg.Format( TEXT("DI_ContBufferSetup Error = %d") ,err ); - AfxMessageBox( strMsg ); - return; - } - - /*Setup Buffer for DI DMA Transfer*/ - if ((err=DI_ContBufferSetup(m_hCard, m_pDIAddr2, m_dwDISamples, &m_wDIBufId2)) != NoError) - { - strMsg.Format( TEXT("DI_ContBufferSetup Error = %d") ,err ); - AfxMessageBox( strMsg ); - return; - } - - // clear display area - redraw_display_area(); - m_bView = 0; - - if ((err = DI_ContReadPort(m_hCard, 0, &m_wDIBufId1, m_dwDISamples, m_fSampleRate, ASYNCH_OP)) != NoError) - { - DI_ContBufferReset(m_hCard); - strMsg.Format( TEXT("DI_ContReadPort Error = %d\n"), err); - AfxMessageBox( strMsg ); - return; - } - -#ifdef _SELF_OUTPUT_ - if ((err = DO_ContWritePort(m_hCard, 0, &m_wDOBufferId, 10240, 1, m_fSampleRate, ASYNCH_OP)) != NoError) - { - DO_ContBufferReset(m_hCard); - strMsg.Format( TEXT("DO_ContWritePort Error = %d") ,err ); - AfxMessageBox( strMsg ); - return; - } -#endif - - if( m_nTimer == -1 ) - { - m_nTimer = SetTimer( PCI9222_DIO_STATUS_TIMER, 20, NULL ); - } - - GetDlgItem( IDC_BT_START )->EnableWindow( FALSE ); - GetDlgItem( IDC_BT_STOP )->EnableWindow( TRUE ); - -} - -void C9223WavDlg::OnStop() -{ - // TODO: Add your control notification handler code here - U32 count; - - DI_AsyncClear(m_hCard, &count); - DI_ContBufferReset(m_hCard); - -#ifdef _SELF_OUTPUT_ - DO_AsyncClear(m_hCard, &count); - DO_ContBufferReset( m_hCard ); -#endif - - GetDlgItem( IDC_BT_START )->EnableWindow( TRUE ); - GetDlgItem( IDC_BT_STOP )->EnableWindow( FALSE); -} - -void C9223WavDlg::OnTimer(UINT_PTR nIDEvent) -{ - // TODO: Add your message handler code here and/or call default - BOOLEAN HalfReady; - U16 OverrunFlag; - I16 err; - - err = DI_AsyncDblBufferHalfReady(m_hCard, &HalfReady); - - if( HalfReady ) // half-buffer ready - { - if(m_bView == 0) - { - display_buffer_data( m_pDIAddr1 ); - m_bView = 1; - } - else - { - display_buffer_data( m_pDIAddr2 ); - m_bView= 0; - } - - DI_AsyncDblBufferHandled( m_hCard ); - DI_AsyncDblBufferOverrun( m_hCard, 0, &OverrunFlag); - - if(OverrunFlag) - { - m_dwOverrunCnt++; - DI_AsyncDblBufferOverrun( m_hCard, 1, NULL ); -// SetDlgItemInt( IDC_EDIT_OVERRUN, (UINT)(m_dwOverrunCnt) ); - } - - } - - - CDialog::OnTimer(nIDEvent); -} - - -void C9223WavDlg::display_buffer_data(U16* pBuf) -{ - CClientDC dc_plot(this); - int nDraw_Bottom; - - int newY, oldY = -1; - int newX, oldX = -1; - U32 index; - U16 di_data; - - // redraw the background - dc_plot.FillSolidRect( plotRect, RGB(0,0,0) ); - - dc_plot.SelectObject( &GreenPen ); - nDraw_Bottom = ( plotRect.bottom - 5 ); - - for( index=0; index 2000000.0 ) m_fSampleRate = 2000000.0; - break; - case SB_LINEDOWN: - m_fSampleRate -= 50000; - if (m_fSampleRate < 50000 ) m_fSampleRate = 50000; - break; - } - - SetDlgItemInt( IDC_EDIT_SAMPLE_RATE, (UINT)(m_fSampleRate/1000) ); - - CDialog::OnVScroll(nSBCode, nPos, pScrollBar); -} diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223DIWave_Dbf/9223WavDlg.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223DIWave_Dbf/9223WavDlg.h deleted file mode 100644 index c592e64..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223DIWave_Dbf/9223WavDlg.h +++ /dev/null @@ -1,65 +0,0 @@ - -// 9223WavDlg.h : header file -// -#include "Dask.h" - -#pragma once - - -// C9223WavDlg dialog -class C9223WavDlg : public CDialog -{ -// Construction -public: - C9223WavDlg(I16 hCard, CWnd* pParent = NULL); // standard constructor - -// Dialog Data - enum { IDD = IDD_MY9223WAV_DIALOG }; - - protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - - -// Implementation -protected: - HICON m_hIcon; - I16 m_hCard; - UINT_PTR m_nTimer; - U16* m_pDIAddr1; - U16* m_pDIAddr2; - U32 m_dwDISamples; - HBRUSH OnBrush; - HBRUSH OffBrush; - CPen RedPen; - CPen GreenPen; - DWORD max_val; - DWORD min_val; - int y_divider; - int x_divider; - int m_DisplayScale; - double m_fSampleRate; - U16 m_wDOBufferId; - U16 m_wDIBufId1; - U16 m_wDIBufId2; - U8 m_bView; - U32 m_dwOverrunCnt; - - // Generated message map functions - virtual BOOL OnInitDialog(); - afx_msg void OnSysCommand(UINT nID, LPARAM lParam); - afx_msg void OnPaint(); - afx_msg HCURSOR OnQueryDragIcon(); - DECLARE_MESSAGE_MAP() -public: - afx_msg void OnDestroy(); - afx_msg void OnStart(); - afx_msg void OnStop(); - afx_msg void OnTimer(UINT_PTR nIDEvent); - void display_buffer_data(U16* pBuf); - void redraw_display_area(void); - afx_msg void OnVScroll(UINT nSBCode, UINT nPos, CScrollBar* pScrollBar); - -private: - int n_PlotHeight; - int n_PlotWidth; -}; diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223DIWave_Dbf/CardIDDlg.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223DIWave_Dbf/CardIDDlg.cpp deleted file mode 100644 index 1c5061b..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223DIWave_Dbf/CardIDDlg.cpp +++ /dev/null @@ -1,67 +0,0 @@ -// CardIDDlg.cpp : implementation file -// - -#include "stdafx.h" -#include "9223Wav.h" -#include "CardIDDlg.h" - - -// CCardIDDlg dialog - -IMPLEMENT_DYNAMIC(CCardIDDlg, CDialog) - -CCardIDDlg::CCardIDDlg(int nCardIdx, CWnd* pParent /*=NULL*/) - : CDialog(CCardIDDlg::IDD, pParent) -{ - m_nCardIdx = nCardIdx; -} - -CCardIDDlg::~CCardIDDlg() -{ -} - -void CCardIDDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); - DDX_Control(pDX, IDC_COMBO_CARDID, m_cbCardID); -} - - -BEGIN_MESSAGE_MAP(CCardIDDlg, CDialog) -// ON_CBN_SELCHANGE(IDC_COMBO_CARDID, &CCardIDDlg::OnCbnSelchangeComboCardid) -ON_BN_CLICKED(IDOK, &CCardIDDlg::OnBnClickedOk) -//ON_WM_CTLCOLOR() -END_MESSAGE_MAP() - - -// CCardIDDlg message handlers - - -void CCardIDDlg::OnBnClickedOk() -{ - // TODO: Add your control notification handler code here - -// UpdateData(TRUE); - m_nCardIdx = m_cbCardID.GetCurSel(); - - OnOK(); -} - -BOOL CCardIDDlg::OnInitDialog() -{ - CDialog::OnInitDialog(); - - // TODO: Add extra initialization here - m_cbCardID.SetCurSel( m_nCardIdx ); - - return TRUE; // return TRUE unless you set the focus to a control - // EXCEPTION: OCX Property Pages should return FALSE -} - -// the function to get the selected CardID -int CCardIDDlg::GetCardID(void) -{ - return m_nCardIdx; -} - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223DIWave_Dbf/CardIDDlg.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223DIWave_Dbf/CardIDDlg.h deleted file mode 100644 index 54628ea..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223DIWave_Dbf/CardIDDlg.h +++ /dev/null @@ -1,33 +0,0 @@ -#pragma once -#include "afxwin.h" - - -// CCardIDDlg dialog - -class CCardIDDlg : public CDialog -{ - DECLARE_DYNAMIC(CCardIDDlg) - -public: - CCardIDDlg(int nCardIdx, CWnd* pParent = NULL); // standard constructor - virtual ~CCardIDDlg(); - -// Dialog Data - enum { IDD = IDD_CARDID_DIALOG }; - -protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - - DECLARE_MESSAGE_MAP() -public: -// afx_msg void OnCbnSelchangeComboCardid(); - afx_msg void OnBnClickedOk(); - // the setting of CardID ComboBox - int m_nCardIdx; - virtual BOOL OnInitDialog(); - // the control of CardID ComboBox - CComboBox m_cbCardID; - // the function to get the selected CardID - int GetCardID(void); -// afx_msg HBRUSH OnCtlColor(CDC* pDC, CWnd* pWnd, UINT nCtlColor); -}; diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223DIWave_Dbf/ReadMe.txt b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223DIWave_Dbf/ReadMe.txt deleted file mode 100644 index 7cae3bc..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223DIWave_Dbf/ReadMe.txt +++ /dev/null @@ -1,93 +0,0 @@ -================================================================================ - MICROSOFT FOUNDATION CLASS LIBRARY : 9223Wav Project Overview -=============================================================================== - -The application wizard has created this 9223Wav application for -you. This application not only demonstrates the basics of using the Microsoft -Foundation Classes but is also a starting point for writing your application. - -This file contains a summary of what you will find in each of the files that -make up your 9223Wav application. - -9223Wav.vcproj - This is the main project file for VC++ projects generated using an application wizard. - It contains information about the version of Visual C++ that generated the file, and - information about the platforms, configurations, and project features selected with the - application wizard. - -9223Wav.h - This is the main header file for the application. It includes other - project specific headers (including Resource.h) and declares the - C9223WavApp application class. - -9223Wav.cpp - This is the main application source file that contains the application - class C9223WavApp. - -9223Wav.rc - This is a listing of all of the Microsoft Windows resources that the - program uses. It includes the icons, bitmaps, and cursors that are stored - in the RES subdirectory. This file can be directly edited in Microsoft - Visual C++. Your project resources are in 1033. - -res\9223Wav.ico - This is an icon file, which is used as the application's icon. This - icon is included by the main resource file 9223Wav.rc. - -res\My9223Wav.rc2 - This file contains resources that are not edited by Microsoft - Visual C++. You should place all resources not editable by - the resource editor in this file. - - -///////////////////////////////////////////////////////////////////////////// - -The application wizard creates one dialog class: - -9223WavDlg.h, 9223WavDlg.cpp - the dialog - These files contain your C9223WavDlg class. This class defines - the behavior of your application's main dialog. The dialog's template is - in 9223Wav.rc, which can be edited in Microsoft Visual C++. - - -///////////////////////////////////////////////////////////////////////////// - -Other Features: - -ActiveX Controls - The application includes support to use ActiveX controls. - -///////////////////////////////////////////////////////////////////////////// - -Other standard files: - -StdAfx.h, StdAfx.cpp - These files are used to build a precompiled header (PCH) file - named 9223Wav.pch and a precompiled types file named StdAfx.obj. - -Resource.h - This is the standard header file, which defines new resource IDs. - Microsoft Visual C++ reads and updates this file. - -9223Wav.manifest - Application manifest files are used by Windows XP to describe an applications - dependency on specific versions of Side-by-Side assemblies. The loader uses this - information to load the appropriate assembly from the assembly cache or private - from the application. The Application manifest maybe included for redistribution - as an external .manifest file that is installed in the same folder as the application - executable or it may be included in the executable in the form of a resource. -///////////////////////////////////////////////////////////////////////////// - -Other notes: - -The application wizard uses "TODO:" to indicate parts of the source code you -should add to or customize. - -If your application uses MFC in a shared DLL, you will need -to redistribute the MFC DLLs. If your application is in a language -other than the operating system's locale, you will also have to -redistribute the corresponding localized resources MFC90XXX.DLL. -For more information on both of these topics, please see the section on -redistributing Visual C++ applications in MSDN documentation. - -///////////////////////////////////////////////////////////////////////////// diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223DIWave_Dbf/res/9223Wav.ico b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223DIWave_Dbf/res/9223Wav.ico deleted file mode 100644 index d56fbcd..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223DIWave_Dbf/res/9223Wav.ico and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223DIWave_Dbf/res/My9223Wav.rc2 b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223DIWave_Dbf/res/My9223Wav.rc2 deleted file mode 100644 index 440d4a5..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223DIWave_Dbf/res/My9223Wav.rc2 +++ /dev/null @@ -1,13 +0,0 @@ -// -// My7200Wav.RC2 - resources Microsoft Visual C++ does not edit directly -// - -#ifdef APSTUDIO_INVOKED -#error this file is not editable by Microsoft Visual C++ -#endif //APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// Add manually edited resources here... - -///////////////////////////////////////////////////////////////////////////// diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223DIWave_Dbf/resource.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223DIWave_Dbf/resource.h deleted file mode 100644 index 75c8a35..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223DIWave_Dbf/resource.h +++ /dev/null @@ -1,29 +0,0 @@ -//{{NO_DEPENDENCIES}} -// Microsoft Visual C++ generated include file. -// Used by 9223Wav.rc -// -#define IDM_ABOUTBOX 0x0010 -#define IDD_ABOUTBOX 100 -#define IDS_ABOUTBOX 101 -#define IDD_MY9223WAV_DIALOG 102 -#define IDR_MAINFRAME 128 -#define IDD_CARDID_DIALOG 129 -#define IDC_STATIC_DRAW 1000 -#define IDC_EDIT_SAMPLE 1001 -#define IDC_EDIT_SAMPLE_RATE 1003 -#define IDC_SCROLLBAR_RATE 1006 -#define IDC_COMBO_CARDID 1007 -#define IDC_BT_START 1008 -#define IDC_BT_STOP 1009 -#define IDC_STATIC_01 1014 - -// Next default values for new objects -// -#ifdef APSTUDIO_INVOKED -#ifndef APSTUDIO_READONLY_SYMBOLS -#define _APS_NEXT_RESOURCE_VALUE 131 -#define _APS_NEXT_COMMAND_VALUE 32771 -#define _APS_NEXT_CONTROL_VALUE 1000 -#define _APS_NEXT_SYMED_VALUE 101 -#endif -#endif diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223DIWave_Dbf/stdafx.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223DIWave_Dbf/stdafx.cpp deleted file mode 100644 index b5184d9..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223DIWave_Dbf/stdafx.cpp +++ /dev/null @@ -1,8 +0,0 @@ - -// stdafx.cpp : source file that includes just the standard includes -// 7200Wav.pch will be the pre-compiled header -// stdafx.obj will contain the pre-compiled type information - -#include "stdafx.h" - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223DIWave_Dbf/stdafx.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223DIWave_Dbf/stdafx.h deleted file mode 100644 index 12123e2..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223DIWave_Dbf/stdafx.h +++ /dev/null @@ -1,60 +0,0 @@ - -// stdafx.h : include file for standard system include files, -// or project specific include files that are used frequently, -// but are changed infrequently - -#pragma once - -#ifndef _SECURE_ATL -#define _SECURE_ATL 1 -#endif - -#ifndef VC_EXTRALEAN -#define VC_EXTRALEAN // Exclude rarely-used stuff from Windows headers -#endif - -#include "targetver.h" - -#define _ATL_CSTRING_EXPLICIT_CONSTRUCTORS // some CString constructors will be explicit - -// turns off MFC's hiding of some common and often safely ignored warning messages -#define _AFX_ALL_WARNINGS - -#include // MFC core and standard components -#include // MFC extensions - - -#include // MFC Automation classes - - - -#ifndef _AFX_NO_OLE_SUPPORT -#include // MFC support for Internet Explorer 4 Common Controls -#endif -#ifndef _AFX_NO_AFXCMN_SUPPORT -#include // MFC support for Windows Common Controls -#endif // _AFX_NO_AFXCMN_SUPPORT - -#include // MFC support for ribbons and control bars - - - - - - - - - -#ifdef _UNICODE -#if defined _M_IX86 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='x86' publicKeyToken='6595b64144ccf1df' language='*'\"") -#elif defined _M_IA64 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='ia64' publicKeyToken='6595b64144ccf1df' language='*'\"") -#elif defined _M_X64 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='amd64' publicKeyToken='6595b64144ccf1df' language='*'\"") -#else -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='*' publicKeyToken='6595b64144ccf1df' language='*'\"") -#endif -#endif - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223DIWave_Dbf/targetver.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223DIWave_Dbf/targetver.h deleted file mode 100644 index 11730d5..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223DIWave_Dbf/targetver.h +++ /dev/null @@ -1,26 +0,0 @@ - -#pragma once - -// The following macros define the minimum required platform. The minimum required platform -// is the earliest version of Windows, Internet Explorer etc. that has the necessary features to run -// your application. The macros work by enabling all features available on platform versions up to and -// including the version specified. - -// Modify the following defines if you have to target a platform prior to the ones specified below. -// Refer to MSDN for the latest info on corresponding values for different platforms. -#ifndef WINVER // Specifies that the minimum required platform is Windows Vista. -#define WINVER 0x0600 // Change this to the appropriate value to target other versions of Windows. -#endif - -#ifndef _WIN32_WINNT // Specifies that the minimum required platform is Windows Vista. -#define _WIN32_WINNT 0x0600 // Change this to the appropriate value to target other versions of Windows. -#endif - -#ifndef _WIN32_WINDOWS // Specifies that the minimum required platform is Windows 98. -#define _WIN32_WINDOWS 0x0410 // Change this to the appropriate value to target Windows Me or later. -#endif - -#ifndef _WIN32_IE // Specifies that the minimum required platform is Internet Explorer 7.0. -#define _WIN32_IE 0x0700 // Change this to the appropriate value to target other versions of IE. -#endif - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223DIWave_ReTrigger/7200Wav.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223DIWave_ReTrigger/7200Wav.suo deleted file mode 100644 index bc032e1..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223DIWave_ReTrigger/7200Wav.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223DIWave_ReTrigger/9222Wav.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223DIWave_ReTrigger/9222Wav.suo deleted file mode 100644 index df30445..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223DIWave_ReTrigger/9222Wav.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223DIWave_ReTrigger/9223Wav.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223DIWave_ReTrigger/9223Wav.cpp deleted file mode 100644 index 2f4e185..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223DIWave_ReTrigger/9223Wav.cpp +++ /dev/null @@ -1,110 +0,0 @@ - -// 9223Wav.cpp : Defines the class behaviors for the application. -// - -#include "stdafx.h" -#include "9223Wav.h" -#include "9223WavDlg.h" -#include "CardIDDlg.h" - -#ifdef _DEBUG -#define new DEBUG_NEW -#endif - - -// C9223WavApp - -BEGIN_MESSAGE_MAP(C9223WavApp, CWinAppEx) - ON_COMMAND(ID_HELP, &CWinApp::OnHelp) -END_MESSAGE_MAP() - - -// C9223WavApp construction - -C9223WavApp::C9223WavApp() -{ - // TODO: add construction code here, - // Place all significant initialization in InitInstance -} - - -// The one and only C9223WavApp object - -C9223WavApp theApp; - - -// C9223WavApp initialization - -BOOL C9223WavApp::InitInstance() -{ - int nCardID = 0; - I16 hCard; - CString strTemp; - INT_PTR nResponse; - - // InitCommonControlsEx() is required on Windows XP if an application - // manifest specifies use of ComCtl32.dll version 6 or later to enable - // visual styles. Otherwise, any window creation will fail. - INITCOMMONCONTROLSEX InitCtrls; - InitCtrls.dwSize = sizeof(InitCtrls); - // Set this to include all the common control classes you want to use - // in your application. - InitCtrls.dwICC = ICC_WIN95_CLASSES; - InitCommonControlsEx(&InitCtrls); - - CWinAppEx::InitInstance(); - - AfxEnableControlContainer(); - - // Standard initialization - // If you are not using these features and wish to reduce the size - // of your final executable, you should remove from the following - // the specific initialization routines you do not need - // Change the registry key under which our settings are stored - // TODO: You should modify this string to be something appropriate - // such as the name of your company or organization - SetRegistryKey(_T("Local AppWizard-Generated Applications")); - - CCardIDDlg CardDlg( nCardID ); - - nResponse = CardDlg.DoModal(); - if (nResponse == IDOK) - { - nCardID = CardDlg.GetCardID(); - - if ((hCard=Register_Card(PCI_9223, nCardID)) < 0) - { - strTemp.Format( TEXT("Register_Card Error = %d"), hCard); - AfxMessageBox( strTemp ); - } - else - { - C9223WavDlg dlg(hCard); - m_pMainWnd = &dlg; - nResponse = dlg.DoModal(); - if (nResponse == IDOK) - { - // TODO: Place code here to handle when the dialog is - // dismissed with OK - } - else if (nResponse == IDCANCEL) - { - // TODO: Place code here to handle when the dialog is - // dismissed with Cancel - } - - if (hCard >= 0) Release_Card(hCard); - } - - } - else if (nResponse == IDCANCEL) - { - // TODO: Place code here to handle when the dialog is - // dismissed with Cancel - } - - - // Since the dialog has been closed, return FALSE so that we exit the - // application, rather than start the application's message pump. - return FALSE; -} diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223DIWave_ReTrigger/9223Wav.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223DIWave_ReTrigger/9223Wav.h deleted file mode 100644 index 6d55d8b..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223DIWave_ReTrigger/9223Wav.h +++ /dev/null @@ -1,32 +0,0 @@ - -// 9223Wav.h : main header file for the PROJECT_NAME application -// - -#pragma once - -#ifndef __AFXWIN_H__ - #error "include 'stdafx.h' before including this file for PCH" -#endif - -#include "resource.h" // main symbols - - -// C9223WavApp: -// See 9223Wav.cpp for the implementation of this class -// - -class C9223WavApp : public CWinAppEx -{ -public: - C9223WavApp(); - -// Overrides - public: - virtual BOOL InitInstance(); - -// Implementation - - DECLARE_MESSAGE_MAP() -}; - -extern C9223WavApp theApp; \ No newline at end of file diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223DIWave_ReTrigger/9223Wav.rc b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223DIWave_ReTrigger/9223Wav.rc deleted file mode 100644 index a49b4f3..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223DIWave_ReTrigger/9223Wav.rc +++ /dev/null @@ -1,283 +0,0 @@ -// Microsoft Visual C++ generated resource script. -// -#include "resource.h" - -#define APSTUDIO_READONLY_SYMBOLS -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 2 resource. -// -#ifndef APSTUDIO_INVOKED -#include "targetver.h" -#endif -#include "afxres.h" - -///////////////////////////////////////////////////////////////////////////// -#undef APSTUDIO_READONLY_SYMBOLS - -///////////////////////////////////////////////////////////////////////////// -// Chinese (Taiwan) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_CHT) -#ifdef _WIN32 -LANGUAGE LANG_CHINESE, SUBLANG_CHINESE_TRADITIONAL -#pragma code_page(950) -#endif //_WIN32 - -#ifdef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// TEXTINCLUDE -// - -1 TEXTINCLUDE -BEGIN - "resource.h\0" -END - -2 TEXTINCLUDE -BEGIN - "#ifndef APSTUDIO_INVOKED\r\n" - "#include ""targetver.h""\r\n" - "#endif\r\n" - "#include ""afxres.h""\r\n" - "\0" -END - -3 TEXTINCLUDE -BEGIN - "#define _AFX_NO_SPLITTER_RESOURCES\r\n" - "#define _AFX_NO_OLE_RESOURCES\r\n" - "#define _AFX_NO_TRACKER_RESOURCES\r\n" - "#define _AFX_NO_PROPERTY_RESOURCES\r\n" - "\r\n" - "#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)\r\n" - "LANGUAGE 9, 1\r\n" - "#pragma code_page(1252)\r\n" - "#include ""res\\My9223Wav.rc2"" // non-Microsoft Visual C++ edited resources\r\n" - "#include ""afxres.rc"" // Standard components\r\n" - "#endif\r\n" - "\0" -END - -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// Icon -// - -// Icon with lowest ID value placed first to ensure application icon -// remains consistent on all systems. -IDR_MAINFRAME ICON "res\\9223Wav.ico" -#endif // Chinese (Taiwan) resources -///////////////////////////////////////////////////////////////////////////// - - -///////////////////////////////////////////////////////////////////////////// -// English (U.S.) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -#ifdef _WIN32 -LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US -#pragma code_page(1252) -#endif //_WIN32 - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog -// - -IDD_ABOUTBOX DIALOGEX 0, 0, 170, 62 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "About 9223Wav" -FONT 8, "MS Shell Dlg", 0, 0, 0x1 -BEGIN - ICON IDR_MAINFRAME,IDC_STATIC,14,14,21,20 - LTEXT "9223Wav, Version 1.0",IDC_STATIC,42,14,114,8,SS_NOPREFIX - LTEXT "Copyright (C) 2010",IDC_STATIC,42,26,114,8 - DEFPUSHBUTTON "OK",IDOK,113,41,50,14,WS_GROUP -END - -IDD_MY9223WAV_DIALOG DIALOGEX 0, 0, 354, 201 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU -EXSTYLE WS_EX_APPWINDOW -CAPTION "PCI-9223 DI Re-Trigger DMA (total 4 DI operation)" -FONT 8, "MS Shell Dlg", 0, 0, 0x1 -BEGIN - GROUPBOX "",IDC_STATIC_DRAW,49,7,293,138,NOT WS_VISIBLE - EDITTEXT IDC_EDIT_SAMPLE,113,153,51,12,ES_AUTOHSCROLL - LTEXT "DI Samples :",IDC_STATIC,64,154,45,9 - EDITTEXT IDC_EDIT_SAMPLE_RATE,227,154,30,12,ES_AUTOHSCROLL | ES_READONLY - LTEXT "Sample Rate :",IDC_STATIC,174,154,49,9 - LTEXT "KHz",IDC_STATIC,270,156,15,9 - SCROLLBAR IDC_SCROLLBAR_RATE,258,154,9,11,SBS_VERT - PUSHBUTTON "Start",IDC_BT_START,293,151,48,17 - PUSHBUTTON "Stop",IDC_BT_STOP,293,170,48,17 -END - -IDD_CARDID_DIALOG DIALOGEX 0, 0, 170, 89 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "Card ID" -FONT 8, "MS Shell Dlg", 400, 0, 0x1 -BEGIN - COMBOBOX IDC_COMBO_CARDID,75,17,71,126,CBS_DROPDOWN | WS_VSCROLL | WS_TABSTOP - LTEXT "Card Number",IDC_STATIC_01,21,18,46,12 - PUSHBUTTON "OK",IDOK,22,50,58,19 - PUSHBUTTON "CANCEL",IDCANCEL,86,50,58,19 -END - - -///////////////////////////////////////////////////////////////////////////// -// -// Version -// - -VS_VERSION_INFO VERSIONINFO - FILEVERSION 1,0,0,1 - PRODUCTVERSION 1,0,0,1 - FILEFLAGSMASK 0x3fL -#ifdef _DEBUG - FILEFLAGS 0x1L -#else - FILEFLAGS 0x0L -#endif - FILEOS 0x4L - FILETYPE 0x1L - FILESUBTYPE 0x0L -BEGIN - BLOCK "StringFileInfo" - BEGIN - BLOCK "040904e4" - BEGIN - VALUE "CompanyName", "TODO: " - VALUE "FileDescription", "TODO: " - VALUE "FileVersion", "1.0.0.1" - VALUE "InternalName", "9223Wav.exe" - VALUE "LegalCopyright", "TODO: (c) . All rights reserved." - VALUE "OriginalFilename", "9223Wav.exe" - VALUE "ProductName", "TODO: " - VALUE "ProductVersion", "1.0.0.1" - END - END - BLOCK "VarFileInfo" - BEGIN - VALUE "Translation", 0x409, 1252 - END -END - - -///////////////////////////////////////////////////////////////////////////// -// -// DESIGNINFO -// - -#ifdef APSTUDIO_INVOKED -GUIDELINES DESIGNINFO -BEGIN - IDD_ABOUTBOX, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 163 - TOPMARGIN, 7 - BOTTOMMARGIN, 55 - END - - IDD_MY9223WAV_DIALOG, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 347 - TOPMARGIN, 7 - BOTTOMMARGIN, 194 - END - - IDD_CARDID_DIALOG, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 163 - TOPMARGIN, 7 - BOTTOMMARGIN, 82 - END -END -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog Info -// - -IDD_CARDID_DIALOG DLGINIT -BEGIN - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0030, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0031, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0032, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0033, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0034, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0035, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0036, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0037, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0038, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0039, - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3031, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3131, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3231, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3331, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3431, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3531, "\000" - 0 -END - - -///////////////////////////////////////////////////////////////////////////// -// -// String Table -// - -STRINGTABLE -BEGIN - IDS_ABOUTBOX "&About 9223Wav..." -END - -#endif // English (U.S.) resources -///////////////////////////////////////////////////////////////////////////// - - - -#ifndef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 3 resource. -// -#define _AFX_NO_SPLITTER_RESOURCES -#define _AFX_NO_OLE_RESOURCES -#define _AFX_NO_TRACKER_RESOURCES -#define _AFX_NO_PROPERTY_RESOURCES - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -LANGUAGE 9, 1 -#pragma code_page(1252) -#include "res\My9223Wav.rc2" // non-Microsoft Visual C++ edited resources -#include "afxres.rc" // Standard components -#endif - -///////////////////////////////////////////////////////////////////////////// -#endif // not APSTUDIO_INVOKED - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223DIWave_ReTrigger/9223Wav.sln b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223DIWave_ReTrigger/9223Wav.sln deleted file mode 100644 index 1d09bcd..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223DIWave_ReTrigger/9223Wav.sln +++ /dev/null @@ -1,20 +0,0 @@ - -Microsoft Visual Studio Solution File, Format Version 10.00 -# Visual Studio 2008 -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "9223Wav", "9223Wav.vcproj", "{EBDB6610-7CE5-413C-A150-121068BFDB22}" -EndProject -Global - GlobalSection(SolutionConfigurationPlatforms) = preSolution - Debug|x64 = Debug|x64 - Release|x64 = Release|x64 - EndGlobalSection - GlobalSection(ProjectConfigurationPlatforms) = postSolution - {EBDB6610-7CE5-413C-A150-121068BFDB22}.Debug|x64.ActiveCfg = Debug|x64 - {EBDB6610-7CE5-413C-A150-121068BFDB22}.Debug|x64.Build.0 = Debug|x64 - {EBDB6610-7CE5-413C-A150-121068BFDB22}.Release|x64.ActiveCfg = Release|x64 - {EBDB6610-7CE5-413C-A150-121068BFDB22}.Release|x64.Build.0 = Release|x64 - EndGlobalSection - GlobalSection(SolutionProperties) = preSolution - HideSolutionNode = FALSE - EndGlobalSection -EndGlobal diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223DIWave_ReTrigger/9223Wav.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223DIWave_ReTrigger/9223Wav.suo deleted file mode 100644 index a91f4f3..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223DIWave_ReTrigger/9223Wav.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223DIWave_ReTrigger/9223Wav.vcproj b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223DIWave_ReTrigger/9223Wav.vcproj deleted file mode 100644 index 1b22987..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223DIWave_ReTrigger/9223Wav.vcproj +++ /dev/null @@ -1,286 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223DIWave_ReTrigger/9223WavDlg.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223DIWave_ReTrigger/9223WavDlg.cpp deleted file mode 100644 index f322c81..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223DIWave_ReTrigger/9223WavDlg.cpp +++ /dev/null @@ -1,567 +0,0 @@ - -// 9223WavDlg.cpp : implementation file -// - -#include "stdafx.h" -#include "9223Wav.h" -#include "9223WavDlg.h" -#include "math.h" - -#ifndef M_PI -#define M_PI 3.14159265359 -#endif - -#ifdef _DEBUG -#define new DEBUG_NEW -#endif - -CRect plotRect; - -#define PCI9222_DIO_STATUS_TIMER 1 - -#ifdef _SELF_OUTPUT_ -U32 DoBuf[10240]; -BOOLEAN bOutStopped; -ULONG out_count; -#endif - -// CAboutDlg dialog used for App About - -class CAboutDlg : public CDialog -{ -public: - CAboutDlg(); - -// Dialog Data - enum { IDD = IDD_ABOUTBOX }; - - protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - -// Implementation -protected: - DECLARE_MESSAGE_MAP() -}; - -CAboutDlg::CAboutDlg() : CDialog(CAboutDlg::IDD) -{ -} - -void CAboutDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); -} - -BEGIN_MESSAGE_MAP(CAboutDlg, CDialog) -END_MESSAGE_MAP() - - -// C9223WavDlg dialog - - -C9223WavDlg::C9223WavDlg(I16 hCard, CWnd* pParent /*=NULL*/) - : CDialog(C9223WavDlg::IDD, pParent) -{ - m_hIcon = AfxGetApp()->LoadIcon(IDR_MAINFRAME); - - m_hCard = hCard; - - OnBrush = OffBrush = NULL; - - n_PlotWidth = -1; - n_PlotHeight = -1; - - min_val = 0x00; - max_val = 0xFFFF; - - m_fSampleRate = 4000.0; // 100KHz - m_dwDISamples = 8000; - m_pDIAddr = NULL; - - m_wReTrigCount = 3; - - m_nTimer = -1; - -#ifdef _SELF_OUTPUT_ - for (int i=0; i<10240; i++) - DoBuf[i] = (U16)(sin((double)i/1024*M_PI)*0x00007FFF)+0x00008000; -#endif - -} - -void C9223WavDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); -} - -BEGIN_MESSAGE_MAP(C9223WavDlg, CDialog) - ON_WM_SYSCOMMAND() - ON_WM_PAINT() - ON_WM_QUERYDRAGICON() - //}}AFX_MSG_MAP - ON_WM_DESTROY() - ON_BN_CLICKED(IDC_BT_START, &C9223WavDlg::OnStart) - ON_BN_CLICKED(IDC_BT_STOP, &C9223WavDlg::OnStop) - ON_WM_TIMER() - ON_WM_VSCROLL() -END_MESSAGE_MAP() - - -// C9223WavDlg message handlers - -BOOL C9223WavDlg::OnInitDialog() -{ - CString strTemp; - - CDialog::OnInitDialog(); - - // Add "About..." menu item to system menu. - - // IDM_ABOUTBOX must be in the system command range. - ASSERT((IDM_ABOUTBOX & 0xFFF0) == IDM_ABOUTBOX); - ASSERT(IDM_ABOUTBOX < 0xF000); - - CMenu* pSysMenu = GetSystemMenu(FALSE); - if (pSysMenu != NULL) - { - BOOL bNameValid; - CString strAboutMenu; - bNameValid = strAboutMenu.LoadString(IDS_ABOUTBOX); - ASSERT(bNameValid); - if (!strAboutMenu.IsEmpty()) - { - pSysMenu->AppendMenu(MF_SEPARATOR); - pSysMenu->AppendMenu(MF_STRING, IDM_ABOUTBOX, strAboutMenu); - } - } - - // Set the icon for this dialog. The framework does this automatically - // when the application's main window is not a dialog - SetIcon(m_hIcon, TRUE); // Set big icon - SetIcon(m_hIcon, FALSE); // Set small icon - - // TODO: Add extra initialization here - x_divider = 5; y_divider = 2; - - OnBrush = CreateSolidBrush( RGB(255,0,0) ); - OffBrush = CreateSolidBrush( RGB(125,0,0) ); - - RedPen.CreatePen( PS_SOLID, 1, RGB(255,0,0)); - GreenPen.CreatePen( PS_SOLID, 1, RGB(0,255,0)); - - if( n_PlotWidth == -1 && n_PlotHeight == -1 ) - { - ((CWnd*)GetDlgItem(IDC_STATIC_DRAW))->GetWindowRect(&plotRect); - ScreenToClient(&plotRect); - - n_PlotWidth = min( plotRect.Width(), 512); - n_PlotHeight = plotRect.Height() - 10; - } - - // set the default SampleRate - SetDlgItemInt( IDC_EDIT_SAMPLE_RATE, (UINT)(m_fSampleRate/1000) ); - - // Set the default DI Sample - SetDlgItemInt( IDC_EDIT_SAMPLE, (UINT)(m_dwDISamples) ); - - - return TRUE; // return TRUE unless you set the focus to a control -} - -void C9223WavDlg::OnSysCommand(UINT nID, LPARAM lParam) -{ - if ((nID & 0xFFF0) == IDM_ABOUTBOX) - { - CAboutDlg dlgAbout; - dlgAbout.DoModal(); - } - else - { - CDialog::OnSysCommand(nID, lParam); - } -} - -// If you add a minimize button to your dialog, you will need the code below -// to draw the icon. For MFC applications using the document/view model, -// this is automatically done for you by the framework. - -void C9223WavDlg::OnPaint() -{ - if (IsIconic()) - { - CPaintDC dc(this); // device context for painting - - SendMessage(WM_ICONERASEBKGND, reinterpret_cast(dc.GetSafeHdc()), 0); - - // Center icon in client rectangle - int cxIcon = GetSystemMetrics(SM_CXICON); - int cyIcon = GetSystemMetrics(SM_CYICON); - CRect rect; - GetClientRect(&rect); - int x = (rect.Width() - cxIcon + 1) / 2; - int y = (rect.Height() - cyIcon + 1) / 2; - - // Draw the icon - dc.DrawIcon(x, y, m_hIcon); - } - else - { - redraw_display_area(); - CDialog::OnPaint(); - } -} - -// The system calls this function to obtain the cursor to display while the user drags -// the minimized window. -HCURSOR C9223WavDlg::OnQueryDragIcon() -{ - return static_cast(m_hIcon); -} - - -void C9223WavDlg::OnDestroy() -{ - U32 count; - - CDialog::OnDestroy(); - - // TODO: Add your message handler code here - if( OnBrush != NULL ) - ::DeleteObject( OnBrush ); - - if( OffBrush != NULL ) - ::DeleteObject( OffBrush ); - - RedPen.DeleteObject(); - GreenPen.DeleteObject(); - - if( m_nTimer != -1 ) - { - KillTimer( m_nTimer ); - m_nTimer = -1; - } - - if( m_pDIAddr != NULL ) - { - free( m_pDIAddr ); - m_pDIAddr = NULL; - } - - DI_AsyncClear( m_hCard, &count ); - -#ifdef _SELF_OUTPUT_ - DO_AsyncClear( m_hCard, &count ); -#endif - - -} - -void C9223WavDlg::OnStart() -{ - // TODO: Add your control notification handler code here - U32 dwMemSize, dwDISamples; - void* pMem; - I16 err; - CString strMsg; - - dwDISamples = GetDlgItemInt( IDC_EDIT_SAMPLE ); - - if( dwDISamples != m_dwDISamples ) - { - if( m_pDIAddr != NULL ) - { - free( m_pDIAddr ); - m_pDIAddr = NULL; - } - m_dwDISamples = dwDISamples; - } - - - dwMemSize = m_dwDISamples * (m_wReTrigCount+1) * sizeof(U16); - pMem = malloc( dwMemSize ); - if( pMem == NULL ) - { - AfxMessageBox( TEXT("Memory allocated failed") ); - return; - } - else - { - m_pDIAddr = (U16*) pMem; - memset( m_pDIAddr, '\0', dwMemSize ); - } - - -#ifdef _SELF_OUTPUT_ - - if ((err=DO_9222_Config(m_hCard, P922x_DO_CONVSRC_INT, (P922x_DO_TRGMOD_POST|P922x_DO_TRGSRC_SOFT), 0, 0, 0, 1)) != NoError) - { - strMsg.Format( TEXT("DO_9222_Config Error = %d") ,err ); - AfxMessageBox( strMsg ); - return; - } - - if ((err = DO_ContBufferSetup(m_hCard, DoBuf, 10240, &m_wDOBufferId)) != NoError) - { - strMsg.Format( TEXT("DO_ContBufferSetup Error = %d") ,err ); - AfxMessageBox( strMsg ); - return; - } - -#endif - - if ((err=DI_9222_Config(m_hCard, P922x_DI_CONVSRC_INT, (P922x_DI_TRGMOD_POST|P922x_DI_TRGSRC_GPI0|P922x_DI_EnReTigger), m_wReTrigCount, 1)) != NoError) - { - strMsg.Format( TEXT("DI_9222_Config Error = %d") ,err ); - AfxMessageBox( strMsg ); - return; - } - - if ((err=DI_AsyncDblBufferMode (m_hCard, 0)) != NoError) - { - strMsg.Format( TEXT("DI_AsyncDblBufferMode Error = %d\n"), err ); - AfxMessageBox( strMsg ); - return; - } - - /*Setup Buffer for DI DMA Transfer*/ - if ((err=DI_ContBufferSetup(m_hCard, m_pDIAddr, (m_dwDISamples * (m_wReTrigCount+1) ), &m_wDIBufferId)) != NoError) - { - strMsg.Format( TEXT("DI_ContBufferSetup Error = %d") ,err ); - AfxMessageBox( strMsg ); - return; - } - - // clear display area - redraw_display_area(); - - if ((err = DI_ContReadPort(m_hCard, 0, &m_wDIBufferId, m_dwDISamples, m_fSampleRate, ASYNCH_OP)) != NoError) - { - DI_ContBufferReset(m_hCard); - strMsg.Format( TEXT("DI_ContReadPort Error = %d\n"), err); - AfxMessageBox( strMsg ); - return; - } - -#ifdef _SELF_OUTPUT_ - if ((err = DO_ContWritePort(m_hCard, 0, &m_wDOBufferId, 10240, 1, m_fSampleRate, ASYNCH_OP)) != NoError) - { - DO_ContBufferReset(m_hCard); - strMsg.Format( TEXT("DO_ContWritePort Error = %d") ,err ); - AfxMessageBox( strMsg ); - return; - } -#endif - - if( m_nTimer == -1 ) - { - m_nTimer = SetTimer( PCI9222_DIO_STATUS_TIMER, 20, NULL ); - } - - GetDlgItem( IDC_BT_START )->EnableWindow( FALSE ); - GetDlgItem( IDC_BT_STOP )->EnableWindow( TRUE ); - -} - -void C9223WavDlg::OnStop() -{ - // TODO: Add your control notification handler code here - U32 count; - - DI_AsyncClear(m_hCard, &count); - DI_ContBufferReset(m_hCard); - -#ifdef _SELF_OUTPUT_ - DO_AsyncClear(m_hCard, &count); - DO_ContBufferReset( m_hCard ); -#endif - - GetDlgItem( IDC_BT_START )->EnableWindow( TRUE ); - GetDlgItem( IDC_BT_STOP )->EnableWindow( FALSE); -} - -void C9223WavDlg::OnTimer(UINT_PTR nIDEvent) -{ - // TODO: Add your message handler code here and/or call default - BOOLEAN Ready, StopFlag; - U32 count; - I16 err; - U16 RdyTrigCnt; - - err = DI_AsyncReTrigNextReady( m_hCard, &Ready, &StopFlag, &RdyTrigCnt); - - if( Ready ) - { - display_buffer_data( &(m_pDIAddr[(RdyTrigCnt-1)*m_dwDISamples]) ); - } - - if( StopFlag ) - { - // stop timer - KillTimer( m_nTimer ); - m_nTimer = -1; - - // reset the Button status - GetDlgItem( IDC_BT_START )->EnableWindow( TRUE ); - GetDlgItem( IDC_BT_STOP )->EnableWindow( TRUE); - - err = DI_AsyncClear( m_hCard, &count ); - err = DI_ContBufferReset( m_hCard ); -#ifdef _SELF_OUTPUT_ - err = DO_AsyncClear( m_hCard, &count ); - err = DO_ContBufferReset( m_hCard ); -#endif - - display_buffer_data( &(m_pDIAddr[(RdyTrigCnt-1)*m_dwDISamples]) ); - } - - CDialog::OnTimer(nIDEvent); -} - - -void C9223WavDlg::display_buffer_data(U16* pBuf) -{ - CClientDC dc_plot(this); - int nDraw_Bottom; - - int newY, oldY = -1; - int newX, oldX = -1; - U32 index; - U16 di_data; - - // redraw the background - dc_plot.FillSolidRect( plotRect, RGB(0,0,0) ); - - dc_plot.SelectObject( &GreenPen ); - nDraw_Bottom = ( plotRect.bottom - 5 ); - - for( index=0; index 2000000.0 ) m_fSampleRate = 2000000.0; - break; - case SB_LINEDOWN: - m_fSampleRate -= 50000; - if (m_fSampleRate < 50000 ) m_fSampleRate = 50000; - break; - } - - SetDlgItemInt( IDC_EDIT_SAMPLE_RATE, (UINT)(m_fSampleRate/1000) ); - - CDialog::OnVScroll(nSBCode, nPos, pScrollBar); -} diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223DIWave_ReTrigger/9223WavDlg.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223DIWave_ReTrigger/9223WavDlg.h deleted file mode 100644 index 11ae7a0..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223DIWave_ReTrigger/9223WavDlg.h +++ /dev/null @@ -1,62 +0,0 @@ - -// 9223WavDlg.h : header file -// -#include "Dask.h" - -#pragma once - - -// C9223WavDlg dialog -class C9223WavDlg : public CDialog -{ -// Construction -public: - C9223WavDlg(I16 hCard, CWnd* pParent = NULL); // standard constructor - -// Dialog Data - enum { IDD = IDD_MY9223WAV_DIALOG }; - - protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - - -// Implementation -protected: - HICON m_hIcon; - I16 m_hCard; - UINT_PTR m_nTimer; - U16* m_pDIAddr; - U32 m_dwDISamples; - HBRUSH OnBrush; - HBRUSH OffBrush; - CPen RedPen; - CPen GreenPen; - DWORD max_val; - DWORD min_val; - int y_divider; - int x_divider; - int m_DisplayScale; - double m_fSampleRate; - U16 m_wDOBufferId; - U16 m_wDIBufferId; - U16 m_wReTrigCount; - - // Generated message map functions - virtual BOOL OnInitDialog(); - afx_msg void OnSysCommand(UINT nID, LPARAM lParam); - afx_msg void OnPaint(); - afx_msg HCURSOR OnQueryDragIcon(); - DECLARE_MESSAGE_MAP() -public: - afx_msg void OnDestroy(); - afx_msg void OnStart(); - afx_msg void OnStop(); - afx_msg void OnTimer(UINT_PTR nIDEvent); - void display_buffer_data(U16* pBuf); - void redraw_display_area(void); - afx_msg void OnVScroll(UINT nSBCode, UINT nPos, CScrollBar* pScrollBar); - -private: - int n_PlotHeight; - int n_PlotWidth; -}; diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223DIWave_ReTrigger/CardIDDlg.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223DIWave_ReTrigger/CardIDDlg.cpp deleted file mode 100644 index 1c5061b..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223DIWave_ReTrigger/CardIDDlg.cpp +++ /dev/null @@ -1,67 +0,0 @@ -// CardIDDlg.cpp : implementation file -// - -#include "stdafx.h" -#include "9223Wav.h" -#include "CardIDDlg.h" - - -// CCardIDDlg dialog - -IMPLEMENT_DYNAMIC(CCardIDDlg, CDialog) - -CCardIDDlg::CCardIDDlg(int nCardIdx, CWnd* pParent /*=NULL*/) - : CDialog(CCardIDDlg::IDD, pParent) -{ - m_nCardIdx = nCardIdx; -} - -CCardIDDlg::~CCardIDDlg() -{ -} - -void CCardIDDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); - DDX_Control(pDX, IDC_COMBO_CARDID, m_cbCardID); -} - - -BEGIN_MESSAGE_MAP(CCardIDDlg, CDialog) -// ON_CBN_SELCHANGE(IDC_COMBO_CARDID, &CCardIDDlg::OnCbnSelchangeComboCardid) -ON_BN_CLICKED(IDOK, &CCardIDDlg::OnBnClickedOk) -//ON_WM_CTLCOLOR() -END_MESSAGE_MAP() - - -// CCardIDDlg message handlers - - -void CCardIDDlg::OnBnClickedOk() -{ - // TODO: Add your control notification handler code here - -// UpdateData(TRUE); - m_nCardIdx = m_cbCardID.GetCurSel(); - - OnOK(); -} - -BOOL CCardIDDlg::OnInitDialog() -{ - CDialog::OnInitDialog(); - - // TODO: Add extra initialization here - m_cbCardID.SetCurSel( m_nCardIdx ); - - return TRUE; // return TRUE unless you set the focus to a control - // EXCEPTION: OCX Property Pages should return FALSE -} - -// the function to get the selected CardID -int CCardIDDlg::GetCardID(void) -{ - return m_nCardIdx; -} - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223DIWave_ReTrigger/CardIDDlg.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223DIWave_ReTrigger/CardIDDlg.h deleted file mode 100644 index 54628ea..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223DIWave_ReTrigger/CardIDDlg.h +++ /dev/null @@ -1,33 +0,0 @@ -#pragma once -#include "afxwin.h" - - -// CCardIDDlg dialog - -class CCardIDDlg : public CDialog -{ - DECLARE_DYNAMIC(CCardIDDlg) - -public: - CCardIDDlg(int nCardIdx, CWnd* pParent = NULL); // standard constructor - virtual ~CCardIDDlg(); - -// Dialog Data - enum { IDD = IDD_CARDID_DIALOG }; - -protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - - DECLARE_MESSAGE_MAP() -public: -// afx_msg void OnCbnSelchangeComboCardid(); - afx_msg void OnBnClickedOk(); - // the setting of CardID ComboBox - int m_nCardIdx; - virtual BOOL OnInitDialog(); - // the control of CardID ComboBox - CComboBox m_cbCardID; - // the function to get the selected CardID - int GetCardID(void); -// afx_msg HBRUSH OnCtlColor(CDC* pDC, CWnd* pWnd, UINT nCtlColor); -}; diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223DIWave_ReTrigger/ReadMe.txt b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223DIWave_ReTrigger/ReadMe.txt deleted file mode 100644 index 7cae3bc..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223DIWave_ReTrigger/ReadMe.txt +++ /dev/null @@ -1,93 +0,0 @@ -================================================================================ - MICROSOFT FOUNDATION CLASS LIBRARY : 9223Wav Project Overview -=============================================================================== - -The application wizard has created this 9223Wav application for -you. This application not only demonstrates the basics of using the Microsoft -Foundation Classes but is also a starting point for writing your application. - -This file contains a summary of what you will find in each of the files that -make up your 9223Wav application. - -9223Wav.vcproj - This is the main project file for VC++ projects generated using an application wizard. - It contains information about the version of Visual C++ that generated the file, and - information about the platforms, configurations, and project features selected with the - application wizard. - -9223Wav.h - This is the main header file for the application. It includes other - project specific headers (including Resource.h) and declares the - C9223WavApp application class. - -9223Wav.cpp - This is the main application source file that contains the application - class C9223WavApp. - -9223Wav.rc - This is a listing of all of the Microsoft Windows resources that the - program uses. It includes the icons, bitmaps, and cursors that are stored - in the RES subdirectory. This file can be directly edited in Microsoft - Visual C++. Your project resources are in 1033. - -res\9223Wav.ico - This is an icon file, which is used as the application's icon. This - icon is included by the main resource file 9223Wav.rc. - -res\My9223Wav.rc2 - This file contains resources that are not edited by Microsoft - Visual C++. You should place all resources not editable by - the resource editor in this file. - - -///////////////////////////////////////////////////////////////////////////// - -The application wizard creates one dialog class: - -9223WavDlg.h, 9223WavDlg.cpp - the dialog - These files contain your C9223WavDlg class. This class defines - the behavior of your application's main dialog. The dialog's template is - in 9223Wav.rc, which can be edited in Microsoft Visual C++. - - -///////////////////////////////////////////////////////////////////////////// - -Other Features: - -ActiveX Controls - The application includes support to use ActiveX controls. - -///////////////////////////////////////////////////////////////////////////// - -Other standard files: - -StdAfx.h, StdAfx.cpp - These files are used to build a precompiled header (PCH) file - named 9223Wav.pch and a precompiled types file named StdAfx.obj. - -Resource.h - This is the standard header file, which defines new resource IDs. - Microsoft Visual C++ reads and updates this file. - -9223Wav.manifest - Application manifest files are used by Windows XP to describe an applications - dependency on specific versions of Side-by-Side assemblies. The loader uses this - information to load the appropriate assembly from the assembly cache or private - from the application. The Application manifest maybe included for redistribution - as an external .manifest file that is installed in the same folder as the application - executable or it may be included in the executable in the form of a resource. -///////////////////////////////////////////////////////////////////////////// - -Other notes: - -The application wizard uses "TODO:" to indicate parts of the source code you -should add to or customize. - -If your application uses MFC in a shared DLL, you will need -to redistribute the MFC DLLs. If your application is in a language -other than the operating system's locale, you will also have to -redistribute the corresponding localized resources MFC90XXX.DLL. -For more information on both of these topics, please see the section on -redistributing Visual C++ applications in MSDN documentation. - -///////////////////////////////////////////////////////////////////////////// diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223DIWave_ReTrigger/res/9223Wav.ico b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223DIWave_ReTrigger/res/9223Wav.ico deleted file mode 100644 index d56fbcd..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223DIWave_ReTrigger/res/9223Wav.ico and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223DIWave_ReTrigger/res/My9223Wav.rc2 b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223DIWave_ReTrigger/res/My9223Wav.rc2 deleted file mode 100644 index 440d4a5..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223DIWave_ReTrigger/res/My9223Wav.rc2 +++ /dev/null @@ -1,13 +0,0 @@ -// -// My7200Wav.RC2 - resources Microsoft Visual C++ does not edit directly -// - -#ifdef APSTUDIO_INVOKED -#error this file is not editable by Microsoft Visual C++ -#endif //APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// Add manually edited resources here... - -///////////////////////////////////////////////////////////////////////////// diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223DIWave_ReTrigger/resource.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223DIWave_ReTrigger/resource.h deleted file mode 100644 index 75c8a35..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223DIWave_ReTrigger/resource.h +++ /dev/null @@ -1,29 +0,0 @@ -//{{NO_DEPENDENCIES}} -// Microsoft Visual C++ generated include file. -// Used by 9223Wav.rc -// -#define IDM_ABOUTBOX 0x0010 -#define IDD_ABOUTBOX 100 -#define IDS_ABOUTBOX 101 -#define IDD_MY9223WAV_DIALOG 102 -#define IDR_MAINFRAME 128 -#define IDD_CARDID_DIALOG 129 -#define IDC_STATIC_DRAW 1000 -#define IDC_EDIT_SAMPLE 1001 -#define IDC_EDIT_SAMPLE_RATE 1003 -#define IDC_SCROLLBAR_RATE 1006 -#define IDC_COMBO_CARDID 1007 -#define IDC_BT_START 1008 -#define IDC_BT_STOP 1009 -#define IDC_STATIC_01 1014 - -// Next default values for new objects -// -#ifdef APSTUDIO_INVOKED -#ifndef APSTUDIO_READONLY_SYMBOLS -#define _APS_NEXT_RESOURCE_VALUE 131 -#define _APS_NEXT_COMMAND_VALUE 32771 -#define _APS_NEXT_CONTROL_VALUE 1000 -#define _APS_NEXT_SYMED_VALUE 101 -#endif -#endif diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223DIWave_ReTrigger/stdafx.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223DIWave_ReTrigger/stdafx.cpp deleted file mode 100644 index b5184d9..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223DIWave_ReTrigger/stdafx.cpp +++ /dev/null @@ -1,8 +0,0 @@ - -// stdafx.cpp : source file that includes just the standard includes -// 7200Wav.pch will be the pre-compiled header -// stdafx.obj will contain the pre-compiled type information - -#include "stdafx.h" - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223DIWave_ReTrigger/stdafx.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223DIWave_ReTrigger/stdafx.h deleted file mode 100644 index 12123e2..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223DIWave_ReTrigger/stdafx.h +++ /dev/null @@ -1,60 +0,0 @@ - -// stdafx.h : include file for standard system include files, -// or project specific include files that are used frequently, -// but are changed infrequently - -#pragma once - -#ifndef _SECURE_ATL -#define _SECURE_ATL 1 -#endif - -#ifndef VC_EXTRALEAN -#define VC_EXTRALEAN // Exclude rarely-used stuff from Windows headers -#endif - -#include "targetver.h" - -#define _ATL_CSTRING_EXPLICIT_CONSTRUCTORS // some CString constructors will be explicit - -// turns off MFC's hiding of some common and often safely ignored warning messages -#define _AFX_ALL_WARNINGS - -#include // MFC core and standard components -#include // MFC extensions - - -#include // MFC Automation classes - - - -#ifndef _AFX_NO_OLE_SUPPORT -#include // MFC support for Internet Explorer 4 Common Controls -#endif -#ifndef _AFX_NO_AFXCMN_SUPPORT -#include // MFC support for Windows Common Controls -#endif // _AFX_NO_AFXCMN_SUPPORT - -#include // MFC support for ribbons and control bars - - - - - - - - - -#ifdef _UNICODE -#if defined _M_IX86 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='x86' publicKeyToken='6595b64144ccf1df' language='*'\"") -#elif defined _M_IA64 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='ia64' publicKeyToken='6595b64144ccf1df' language='*'\"") -#elif defined _M_X64 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='amd64' publicKeyToken='6595b64144ccf1df' language='*'\"") -#else -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='*' publicKeyToken='6595b64144ccf1df' language='*'\"") -#endif -#endif - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223DIWave_ReTrigger/targetver.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223DIWave_ReTrigger/targetver.h deleted file mode 100644 index 11730d5..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223DIWave_ReTrigger/targetver.h +++ /dev/null @@ -1,26 +0,0 @@ - -#pragma once - -// The following macros define the minimum required platform. The minimum required platform -// is the earliest version of Windows, Internet Explorer etc. that has the necessary features to run -// your application. The macros work by enabling all features available on platform versions up to and -// including the version specified. - -// Modify the following defines if you have to target a platform prior to the ones specified below. -// Refer to MSDN for the latest info on corresponding values for different platforms. -#ifndef WINVER // Specifies that the minimum required platform is Windows Vista. -#define WINVER 0x0600 // Change this to the appropriate value to target other versions of Windows. -#endif - -#ifndef _WIN32_WINNT // Specifies that the minimum required platform is Windows Vista. -#define _WIN32_WINNT 0x0600 // Change this to the appropriate value to target other versions of Windows. -#endif - -#ifndef _WIN32_WINDOWS // Specifies that the minimum required platform is Windows 98. -#define _WIN32_WINDOWS 0x0410 // Change this to the appropriate value to target Windows Me or later. -#endif - -#ifndef _WIN32_IE // Specifies that the minimum required platform is Internet Explorer 7.0. -#define _WIN32_IE 0x0700 // Change this to the appropriate value to target other versions of IE. -#endif - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223DOWave_DelayTrigger/7200Wav.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223DOWave_DelayTrigger/7200Wav.suo deleted file mode 100644 index bc032e1..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223DOWave_DelayTrigger/7200Wav.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223DOWave_DelayTrigger/9222Wav.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223DOWave_DelayTrigger/9222Wav.suo deleted file mode 100644 index e98d36a..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223DOWave_DelayTrigger/9222Wav.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223DOWave_DelayTrigger/9223Wav.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223DOWave_DelayTrigger/9223Wav.cpp deleted file mode 100644 index 2f4e185..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223DOWave_DelayTrigger/9223Wav.cpp +++ /dev/null @@ -1,110 +0,0 @@ - -// 9223Wav.cpp : Defines the class behaviors for the application. -// - -#include "stdafx.h" -#include "9223Wav.h" -#include "9223WavDlg.h" -#include "CardIDDlg.h" - -#ifdef _DEBUG -#define new DEBUG_NEW -#endif - - -// C9223WavApp - -BEGIN_MESSAGE_MAP(C9223WavApp, CWinAppEx) - ON_COMMAND(ID_HELP, &CWinApp::OnHelp) -END_MESSAGE_MAP() - - -// C9223WavApp construction - -C9223WavApp::C9223WavApp() -{ - // TODO: add construction code here, - // Place all significant initialization in InitInstance -} - - -// The one and only C9223WavApp object - -C9223WavApp theApp; - - -// C9223WavApp initialization - -BOOL C9223WavApp::InitInstance() -{ - int nCardID = 0; - I16 hCard; - CString strTemp; - INT_PTR nResponse; - - // InitCommonControlsEx() is required on Windows XP if an application - // manifest specifies use of ComCtl32.dll version 6 or later to enable - // visual styles. Otherwise, any window creation will fail. - INITCOMMONCONTROLSEX InitCtrls; - InitCtrls.dwSize = sizeof(InitCtrls); - // Set this to include all the common control classes you want to use - // in your application. - InitCtrls.dwICC = ICC_WIN95_CLASSES; - InitCommonControlsEx(&InitCtrls); - - CWinAppEx::InitInstance(); - - AfxEnableControlContainer(); - - // Standard initialization - // If you are not using these features and wish to reduce the size - // of your final executable, you should remove from the following - // the specific initialization routines you do not need - // Change the registry key under which our settings are stored - // TODO: You should modify this string to be something appropriate - // such as the name of your company or organization - SetRegistryKey(_T("Local AppWizard-Generated Applications")); - - CCardIDDlg CardDlg( nCardID ); - - nResponse = CardDlg.DoModal(); - if (nResponse == IDOK) - { - nCardID = CardDlg.GetCardID(); - - if ((hCard=Register_Card(PCI_9223, nCardID)) < 0) - { - strTemp.Format( TEXT("Register_Card Error = %d"), hCard); - AfxMessageBox( strTemp ); - } - else - { - C9223WavDlg dlg(hCard); - m_pMainWnd = &dlg; - nResponse = dlg.DoModal(); - if (nResponse == IDOK) - { - // TODO: Place code here to handle when the dialog is - // dismissed with OK - } - else if (nResponse == IDCANCEL) - { - // TODO: Place code here to handle when the dialog is - // dismissed with Cancel - } - - if (hCard >= 0) Release_Card(hCard); - } - - } - else if (nResponse == IDCANCEL) - { - // TODO: Place code here to handle when the dialog is - // dismissed with Cancel - } - - - // Since the dialog has been closed, return FALSE so that we exit the - // application, rather than start the application's message pump. - return FALSE; -} diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223DOWave_DelayTrigger/9223Wav.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223DOWave_DelayTrigger/9223Wav.h deleted file mode 100644 index 6d55d8b..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223DOWave_DelayTrigger/9223Wav.h +++ /dev/null @@ -1,32 +0,0 @@ - -// 9223Wav.h : main header file for the PROJECT_NAME application -// - -#pragma once - -#ifndef __AFXWIN_H__ - #error "include 'stdafx.h' before including this file for PCH" -#endif - -#include "resource.h" // main symbols - - -// C9223WavApp: -// See 9223Wav.cpp for the implementation of this class -// - -class C9223WavApp : public CWinAppEx -{ -public: - C9223WavApp(); - -// Overrides - public: - virtual BOOL InitInstance(); - -// Implementation - - DECLARE_MESSAGE_MAP() -}; - -extern C9223WavApp theApp; \ No newline at end of file diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223DOWave_DelayTrigger/9223Wav.rc b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223DOWave_DelayTrigger/9223Wav.rc deleted file mode 100644 index 7d78396..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223DOWave_DelayTrigger/9223Wav.rc +++ /dev/null @@ -1,285 +0,0 @@ -// Microsoft Visual C++ generated resource script. -// -#include "resource.h" - -#define APSTUDIO_READONLY_SYMBOLS -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 2 resource. -// -#ifndef APSTUDIO_INVOKED -#include "targetver.h" -#endif -#include "afxres.h" - -///////////////////////////////////////////////////////////////////////////// -#undef APSTUDIO_READONLY_SYMBOLS - -///////////////////////////////////////////////////////////////////////////// -// Chinese (Taiwan) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_CHT) -#ifdef _WIN32 -LANGUAGE LANG_CHINESE, SUBLANG_CHINESE_TRADITIONAL -#pragma code_page(950) -#endif //_WIN32 - -#ifdef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// TEXTINCLUDE -// - -1 TEXTINCLUDE -BEGIN - "resource.h\0" -END - -2 TEXTINCLUDE -BEGIN - "#ifndef APSTUDIO_INVOKED\r\n" - "#include ""targetver.h""\r\n" - "#endif\r\n" - "#include ""afxres.h""\r\n" - "\0" -END - -3 TEXTINCLUDE -BEGIN - "#define _AFX_NO_SPLITTER_RESOURCES\r\n" - "#define _AFX_NO_OLE_RESOURCES\r\n" - "#define _AFX_NO_TRACKER_RESOURCES\r\n" - "#define _AFX_NO_PROPERTY_RESOURCES\r\n" - "\r\n" - "#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)\r\n" - "LANGUAGE 9, 1\r\n" - "#pragma code_page(1252)\r\n" - "#include ""res\\My9223Wav.rc2"" // non-Microsoft Visual C++ edited resources\r\n" - "#include ""afxres.rc"" // Standard components\r\n" - "#endif\r\n" - "\0" -END - -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// Icon -// - -// Icon with lowest ID value placed first to ensure application icon -// remains consistent on all systems. -IDR_MAINFRAME ICON "res\\9223Wav.ico" -#endif // Chinese (Taiwan) resources -///////////////////////////////////////////////////////////////////////////// - - -///////////////////////////////////////////////////////////////////////////// -// English (U.S.) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -#ifdef _WIN32 -LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US -#pragma code_page(1252) -#endif //_WIN32 - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog -// - -IDD_ABOUTBOX DIALOGEX 0, 0, 170, 62 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "About 9223Wav" -FONT 8, "MS Shell Dlg", 0, 0, 0x1 -BEGIN - ICON IDR_MAINFRAME,IDC_STATIC,14,14,21,20 - LTEXT "9223Wav, Version 1.0",IDC_STATIC,42,14,114,8,SS_NOPREFIX - LTEXT "Copyright (C) 2010",IDC_STATIC,42,26,114,8 - DEFPUSHBUTTON "OK",IDOK,113,41,50,14,WS_GROUP -END - -IDD_MY9223WAV_DIALOG DIALOGEX 0, 0, 354, 228 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU -EXSTYLE WS_EX_APPWINDOW -CAPTION "PCI-9223 DO Delay-Trigger DMA" -FONT 8, "MS Shell Dlg", 0, 0, 0x1 -BEGIN - GROUPBOX "",IDC_STATIC_DRAW,49,35,293,138,NOT WS_VISIBLE - EDITTEXT IDC_EDIT_SAMPLE,113,181,51,12,ES_AUTOHSCROLL - LTEXT "DI Samples :",IDC_STATIC,64,182,45,9 - EDITTEXT IDC_EDIT_SAMPLE_RATE,227,182,30,12,ES_AUTOHSCROLL | ES_READONLY - LTEXT "Sample Rate :",IDC_STATIC,174,182,49,9 - LTEXT "KHz",IDC_STATIC,270,184,15,9 - SCROLLBAR IDC_SCROLLBAR_RATE,258,182,9,11,SBS_VERT - PUSHBUTTON "Start",IDC_BT_START,293,179,48,17 - PUSHBUTTON "Stop",IDC_BT_STOP,293,198,48,17 - LTEXT "Please connect DO1~DO15 to DI1~DI15 (the DI0 will be the digital trigger input)",IDC_STATIC,14,7,277,12 - LTEXT "The DO output pattern will be logged into following panel.",IDC_STATIC,14,21,277,12 -END - -IDD_CARDID_DIALOG DIALOGEX 0, 0, 170, 89 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "Card ID" -FONT 8, "MS Shell Dlg", 400, 0, 0x1 -BEGIN - COMBOBOX IDC_COMBO_CARDID,75,17,71,126,CBS_DROPDOWN | WS_VSCROLL | WS_TABSTOP - LTEXT "Card Number",IDC_STATIC_01,21,18,46,12 - PUSHBUTTON "OK",IDOK,22,50,58,19 - PUSHBUTTON "CANCEL",IDCANCEL,86,50,58,19 -END - - -///////////////////////////////////////////////////////////////////////////// -// -// Version -// - -VS_VERSION_INFO VERSIONINFO - FILEVERSION 1,0,0,1 - PRODUCTVERSION 1,0,0,1 - FILEFLAGSMASK 0x3fL -#ifdef _DEBUG - FILEFLAGS 0x1L -#else - FILEFLAGS 0x0L -#endif - FILEOS 0x4L - FILETYPE 0x1L - FILESUBTYPE 0x0L -BEGIN - BLOCK "StringFileInfo" - BEGIN - BLOCK "040904e4" - BEGIN - VALUE "CompanyName", "TODO: " - VALUE "FileDescription", "TODO: " - VALUE "FileVersion", "1.0.0.1" - VALUE "InternalName", "9223Wav.exe" - VALUE "LegalCopyright", "TODO: (c) . All rights reserved." - VALUE "OriginalFilename", "9223Wav.exe" - VALUE "ProductName", "TODO: " - VALUE "ProductVersion", "1.0.0.1" - END - END - BLOCK "VarFileInfo" - BEGIN - VALUE "Translation", 0x409, 1252 - END -END - - -///////////////////////////////////////////////////////////////////////////// -// -// DESIGNINFO -// - -#ifdef APSTUDIO_INVOKED -GUIDELINES DESIGNINFO -BEGIN - IDD_ABOUTBOX, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 163 - TOPMARGIN, 7 - BOTTOMMARGIN, 55 - END - - IDD_MY9223WAV_DIALOG, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 347 - TOPMARGIN, 7 - BOTTOMMARGIN, 221 - END - - IDD_CARDID_DIALOG, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 163 - TOPMARGIN, 7 - BOTTOMMARGIN, 82 - END -END -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog Info -// - -IDD_CARDID_DIALOG DLGINIT -BEGIN - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0030, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0031, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0032, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0033, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0034, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0035, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0036, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0037, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0038, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0039, - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3031, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3131, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3231, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3331, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3431, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3531, "\000" - 0 -END - - -///////////////////////////////////////////////////////////////////////////// -// -// String Table -// - -STRINGTABLE -BEGIN - IDS_ABOUTBOX "&About 9223Wav..." -END - -#endif // English (U.S.) resources -///////////////////////////////////////////////////////////////////////////// - - - -#ifndef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 3 resource. -// -#define _AFX_NO_SPLITTER_RESOURCES -#define _AFX_NO_OLE_RESOURCES -#define _AFX_NO_TRACKER_RESOURCES -#define _AFX_NO_PROPERTY_RESOURCES - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -LANGUAGE 9, 1 -#pragma code_page(1252) -#include "res\My9223Wav.rc2" // non-Microsoft Visual C++ edited resources -#include "afxres.rc" // Standard components -#endif - -///////////////////////////////////////////////////////////////////////////// -#endif // not APSTUDIO_INVOKED - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223DOWave_DelayTrigger/9223Wav.sln b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223DOWave_DelayTrigger/9223Wav.sln deleted file mode 100644 index 1d09bcd..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223DOWave_DelayTrigger/9223Wav.sln +++ /dev/null @@ -1,20 +0,0 @@ - -Microsoft Visual Studio Solution File, Format Version 10.00 -# Visual Studio 2008 -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "9223Wav", "9223Wav.vcproj", "{EBDB6610-7CE5-413C-A150-121068BFDB22}" -EndProject -Global - GlobalSection(SolutionConfigurationPlatforms) = preSolution - Debug|x64 = Debug|x64 - Release|x64 = Release|x64 - EndGlobalSection - GlobalSection(ProjectConfigurationPlatforms) = postSolution - {EBDB6610-7CE5-413C-A150-121068BFDB22}.Debug|x64.ActiveCfg = Debug|x64 - {EBDB6610-7CE5-413C-A150-121068BFDB22}.Debug|x64.Build.0 = Debug|x64 - {EBDB6610-7CE5-413C-A150-121068BFDB22}.Release|x64.ActiveCfg = Release|x64 - {EBDB6610-7CE5-413C-A150-121068BFDB22}.Release|x64.Build.0 = Release|x64 - EndGlobalSection - GlobalSection(SolutionProperties) = preSolution - HideSolutionNode = FALSE - EndGlobalSection -EndGlobal diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223DOWave_DelayTrigger/9223Wav.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223DOWave_DelayTrigger/9223Wav.suo deleted file mode 100644 index 12d56d0..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223DOWave_DelayTrigger/9223Wav.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223DOWave_DelayTrigger/9223Wav.vcproj b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223DOWave_DelayTrigger/9223Wav.vcproj deleted file mode 100644 index 1b22987..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223DOWave_DelayTrigger/9223Wav.vcproj +++ /dev/null @@ -1,286 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223DOWave_DelayTrigger/9223WavDlg.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223DOWave_DelayTrigger/9223WavDlg.cpp deleted file mode 100644 index f183902..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223DOWave_DelayTrigger/9223WavDlg.cpp +++ /dev/null @@ -1,606 +0,0 @@ - -// 9223WavDlg.cpp : implementation file -// - -#include "stdafx.h" -#include "9223Wav.h" -#include "9223WavDlg.h" -#include "math.h" - -#ifndef M_PI -#define M_PI 3.14159265359 -#endif - -#ifdef _DEBUG -#define new DEBUG_NEW -#endif - -CRect plotRect; - -#define PCI9222_DIO_STATUS_TIMER 1 - -U32 DoBuf[10240]; -BOOLEAN bOutStopped; -ULONG out_count; - -// CAboutDlg dialog used for App About - -class CAboutDlg : public CDialog -{ -public: - CAboutDlg(); - -// Dialog Data - enum { IDD = IDD_ABOUTBOX }; - - protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - -// Implementation -protected: - DECLARE_MESSAGE_MAP() -}; - -CAboutDlg::CAboutDlg() : CDialog(CAboutDlg::IDD) -{ -} - -void CAboutDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); -} - -BEGIN_MESSAGE_MAP(CAboutDlg, CDialog) -END_MESSAGE_MAP() - - -// C9223WavDlg dialog - - -C9223WavDlg::C9223WavDlg(I16 hCard, CWnd* pParent /*=NULL*/) - : CDialog(C9223WavDlg::IDD, pParent) -{ - m_hIcon = AfxGetApp()->LoadIcon(IDR_MAINFRAME); - - m_hCard = hCard; - - OnBrush = OffBrush = NULL; - - n_PlotWidth = -1; - n_PlotHeight = -1; - - min_val = 0x00; - max_val = 0xFFFF; - - m_fSampleRate = 4000.0; // 100KHz - m_dwDISamples = 8000; - m_pDIAddr1 = NULL; - m_pDIAddr2 = NULL; - - m_nTimer = -1; - - m_dwOverrunCnt = 0; - - m_fDOStop = FALSE; - - for (int i=0; i<10240; i++) - DoBuf[i] = (U16)(sin((double)i/1024*M_PI)*0x00007FFF)+0x00008000; - -} - -void C9223WavDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); -} - -BEGIN_MESSAGE_MAP(C9223WavDlg, CDialog) - ON_WM_SYSCOMMAND() - ON_WM_PAINT() - ON_WM_QUERYDRAGICON() - //}}AFX_MSG_MAP - ON_WM_DESTROY() - ON_BN_CLICKED(IDC_BT_START, &C9223WavDlg::OnStart) - ON_BN_CLICKED(IDC_BT_STOP, &C9223WavDlg::OnStop) - ON_WM_TIMER() - ON_WM_VSCROLL() -END_MESSAGE_MAP() - - -// C9223WavDlg message handlers - -BOOL C9223WavDlg::OnInitDialog() -{ - CString strTemp; - - CDialog::OnInitDialog(); - - // Add "About..." menu item to system menu. - - // IDM_ABOUTBOX must be in the system command range. - ASSERT((IDM_ABOUTBOX & 0xFFF0) == IDM_ABOUTBOX); - ASSERT(IDM_ABOUTBOX < 0xF000); - - CMenu* pSysMenu = GetSystemMenu(FALSE); - if (pSysMenu != NULL) - { - BOOL bNameValid; - CString strAboutMenu; - bNameValid = strAboutMenu.LoadString(IDS_ABOUTBOX); - ASSERT(bNameValid); - if (!strAboutMenu.IsEmpty()) - { - pSysMenu->AppendMenu(MF_SEPARATOR); - pSysMenu->AppendMenu(MF_STRING, IDM_ABOUTBOX, strAboutMenu); - } - } - - // Set the icon for this dialog. The framework does this automatically - // when the application's main window is not a dialog - SetIcon(m_hIcon, TRUE); // Set big icon - SetIcon(m_hIcon, FALSE); // Set small icon - - // TODO: Add extra initialization here - x_divider = 5; y_divider = 2; - - OnBrush = CreateSolidBrush( RGB(255,0,0) ); - OffBrush = CreateSolidBrush( RGB(125,0,0) ); - - RedPen.CreatePen( PS_SOLID, 1, RGB(255,0,0)); - GreenPen.CreatePen( PS_SOLID, 1, RGB(0,255,0)); - - if( n_PlotWidth == -1 && n_PlotHeight == -1 ) - { - ((CWnd*)GetDlgItem(IDC_STATIC_DRAW))->GetWindowRect(&plotRect); - ScreenToClient(&plotRect); - - n_PlotWidth = min( plotRect.Width(), 512); - n_PlotHeight = plotRect.Height() - 10; - } - - // set the default SampleRate - SetDlgItemInt( IDC_EDIT_SAMPLE_RATE, (UINT)(m_fSampleRate/1000) ); - - // Set the default DI Sample - SetDlgItemInt( IDC_EDIT_SAMPLE, (UINT)(m_dwDISamples) ); - - - return TRUE; // return TRUE unless you set the focus to a control -} - -void C9223WavDlg::OnSysCommand(UINT nID, LPARAM lParam) -{ - if ((nID & 0xFFF0) == IDM_ABOUTBOX) - { - CAboutDlg dlgAbout; - dlgAbout.DoModal(); - } - else - { - CDialog::OnSysCommand(nID, lParam); - } -} - -// If you add a minimize button to your dialog, you will need the code below -// to draw the icon. For MFC applications using the document/view model, -// this is automatically done for you by the framework. - -void C9223WavDlg::OnPaint() -{ - if (IsIconic()) - { - CPaintDC dc(this); // device context for painting - - SendMessage(WM_ICONERASEBKGND, reinterpret_cast(dc.GetSafeHdc()), 0); - - // Center icon in client rectangle - int cxIcon = GetSystemMetrics(SM_CXICON); - int cyIcon = GetSystemMetrics(SM_CYICON); - CRect rect; - GetClientRect(&rect); - int x = (rect.Width() - cxIcon + 1) / 2; - int y = (rect.Height() - cyIcon + 1) / 2; - - // Draw the icon - dc.DrawIcon(x, y, m_hIcon); - } - else - { - redraw_display_area(); - CDialog::OnPaint(); - } -} - -// The system calls this function to obtain the cursor to display while the user drags -// the minimized window. -HCURSOR C9223WavDlg::OnQueryDragIcon() -{ - return static_cast(m_hIcon); -} - - -void C9223WavDlg::OnDestroy() -{ - U32 count; - - CDialog::OnDestroy(); - - // TODO: Add your message handler code here - if( OnBrush != NULL ) - ::DeleteObject( OnBrush ); - - if( OffBrush != NULL ) - ::DeleteObject( OffBrush ); - - RedPen.DeleteObject(); - GreenPen.DeleteObject(); - - if( m_nTimer != -1 ) - { - KillTimer( m_nTimer ); - m_nTimer = -1; - } - - if( m_pDIAddr1 != NULL ) - { - free( m_pDIAddr1 ); - m_pDIAddr1 = NULL; - } - - if( m_pDIAddr2 != NULL ) - { - free( m_pDIAddr2 ); - m_pDIAddr2 = NULL; - } - - DI_AsyncClear( m_hCard, &count ); - - DO_AsyncClear( m_hCard, &count ); - - -} - -void C9223WavDlg::OnStart() -{ - // TODO: Add your control notification handler code here - U32 dwMemSize, dwDISamples; - void* pMem; - I16 err; - CString strMsg; - - dwDISamples = GetDlgItemInt( IDC_EDIT_SAMPLE ); - - if( dwDISamples != m_dwDISamples ) - { - if( m_pDIAddr1 != NULL ) - { - free( m_pDIAddr1 ); - m_pDIAddr1 = NULL; - } - - if( m_pDIAddr2 != NULL ) - { - free( m_pDIAddr2 ); - m_pDIAddr2 = NULL; - } - - m_dwDISamples = dwDISamples; - } - - - dwMemSize = m_dwDISamples * sizeof(U16); - pMem = malloc( dwMemSize ); - if( pMem == NULL ) - { - AfxMessageBox( TEXT("Memory allocated failed") ); - return; - } - else - { - m_pDIAddr1 = (U16*) pMem; - memset( m_pDIAddr1, '\0', dwMemSize ); - } - - pMem = malloc( dwMemSize ); - if( pMem == NULL ) - { - AfxMessageBox( TEXT("Memory allocated failed") ); - return; - } - else - { - m_pDIAddr2 = (U16*) pMem; - memset( m_pDIAddr2, '\0', dwMemSize ); - } - - if ((err=DO_9222_Config(m_hCard, P922x_DO_CONVSRC_INT, (P922x_DO_TRGMOD_DELAY|P922x_DO_TRGSRC_GPI0), 0, 40000000, 0, 1)) != NoError) - { - strMsg.Format( TEXT("DO_9222_Config Error = %d") ,err ); - AfxMessageBox( strMsg ); - return; - } - - if ((err = DO_ContBufferSetup(m_hCard, DoBuf, 10240, &m_wDOBufferId)) != NoError) - { - strMsg.Format( TEXT("DO_ContBufferSetup Error = %d") ,err ); - AfxMessageBox( strMsg ); - return; - } - - if ((err=DI_9222_Config(m_hCard, P922x_DI_CONVSRC_INT, (P922x_DI_TRGMOD_POST|P922x_DI_TRGSRC_SOFT), 0, 1)) != NoError) - { - strMsg.Format( TEXT("DI_9222_Config Error = %d") ,err ); - AfxMessageBox( strMsg ); - return; - } - - if ((err=DI_AsyncDblBufferMode (m_hCard, 1)) != NoError) - { - strMsg.Format( TEXT("DI_AsyncDblBufferMode Error = %d\n"), err ); - AfxMessageBox( strMsg ); - return; - } - - /*Setup Buffer for DI DMA Transfer*/ - if ((err=DI_ContBufferSetup(m_hCard, m_pDIAddr1, m_dwDISamples, &m_wDIBufId1)) != NoError) - { - strMsg.Format( TEXT("DI_ContBufferSetup Error = %d") ,err ); - AfxMessageBox( strMsg ); - return; - } - - /*Setup Buffer for DI DMA Transfer*/ - if ((err=DI_ContBufferSetup(m_hCard, m_pDIAddr2, m_dwDISamples, &m_wDIBufId2)) != NoError) - { - strMsg.Format( TEXT("DI_ContBufferSetup Error = %d") ,err ); - AfxMessageBox( strMsg ); - return; - } - - // clear display area - redraw_display_area(); - m_bView = 0; - - if ((err = DI_ContReadPort(m_hCard, 0, &m_wDIBufId1, m_dwDISamples, m_fSampleRate, ASYNCH_OP)) != NoError) - { - DI_ContBufferReset(m_hCard); - strMsg.Format( TEXT("DI_ContReadPort Error = %d\n"), err); - AfxMessageBox( strMsg ); - return; - } - - if ((err = DO_ContWritePort(m_hCard, 0, &m_wDOBufferId, 10240, 1, m_fSampleRate, ASYNCH_OP)) != NoError) - { - DO_ContBufferReset(m_hCard); - strMsg.Format( TEXT("DO_ContWritePort Error = %d") ,err ); - AfxMessageBox( strMsg ); - return; - } - - m_fDOStop = FALSE; - if( m_nTimer == -1 ) - { - m_nTimer = SetTimer( PCI9222_DIO_STATUS_TIMER, 20, NULL ); - } - - GetDlgItem( IDC_BT_START )->EnableWindow( FALSE ); - GetDlgItem( IDC_BT_STOP )->EnableWindow( TRUE ); - -} - -void C9223WavDlg::OnStop() -{ - // TODO: Add your control notification handler code here - U32 count; - - DI_AsyncClear(m_hCard, &count); - DI_ContBufferReset(m_hCard); - - DO_AsyncClear(m_hCard, &count); - DO_ContBufferReset( m_hCard ); - - GetDlgItem( IDC_BT_START )->EnableWindow( TRUE ); - GetDlgItem( IDC_BT_STOP )->EnableWindow( FALSE); -} - -void C9223WavDlg::OnTimer(UINT_PTR nIDEvent) -{ - // TODO: Add your message handler code here and/or call default - BOOLEAN HalfReady; - U16 OverrunFlag; - U32 AccssCount; - I16 err; - - err = DI_AsyncDblBufferHalfReady(m_hCard, &HalfReady); - - if( HalfReady ) // half-buffer ready - { - if(m_bView == 0) - { - display_buffer_data( m_pDIAddr1 ); - m_bView = 1; - } - else - { - display_buffer_data( m_pDIAddr2 ); - m_bView= 0; - } - - DI_AsyncDblBufferHandled( m_hCard ); - DI_AsyncDblBufferOverrun( m_hCard, 0, &OverrunFlag); - - if(OverrunFlag) - { - m_dwOverrunCnt++; - DI_AsyncDblBufferOverrun( m_hCard, 1, NULL ); -// SetDlgItemInt( IDC_EDIT_OVERRUN, (UINT)(m_dwOverrunCnt) ); - } - - if( m_fDOStop == TRUE ) - { - DI_AsyncClear(m_hCard, &AccssCount); - DI_ContBufferReset(m_hCard); - - GetDlgItem( IDC_BT_START )->EnableWindow( TRUE ); - } - - } - - err = DO_AsyncCheck(m_hCard, &m_fDOStop, &AccssCount); - if( m_fDOStop == TRUE ) - { - DO_AsyncClear( m_hCard, &AccssCount); - DO_ContBufferReset(m_hCard); - } - - - CDialog::OnTimer(nIDEvent); -} - - -void C9223WavDlg::display_buffer_data(U16* pBuf) -{ - CClientDC dc_plot(this); - int nDraw_Bottom; - - int newY, oldY = -1; - int newX, oldX = -1; - U32 index; - U16 di_data; - - // redraw the background - dc_plot.FillSolidRect( plotRect, RGB(0,0,0) ); - - dc_plot.SelectObject( &GreenPen ); - nDraw_Bottom = ( plotRect.bottom - 5 ); - - for( index=0; index 2000000.0 ) m_fSampleRate = 2000000.0; - break; - case SB_LINEDOWN: - m_fSampleRate -= 50000; - if (m_fSampleRate < 50000 ) m_fSampleRate = 50000; - break; - } - - SetDlgItemInt( IDC_EDIT_SAMPLE_RATE, (UINT)(m_fSampleRate/1000) ); - - CDialog::OnVScroll(nSBCode, nPos, pScrollBar); -} diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223DOWave_DelayTrigger/9223WavDlg.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223DOWave_DelayTrigger/9223WavDlg.h deleted file mode 100644 index 24013d4..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223DOWave_DelayTrigger/9223WavDlg.h +++ /dev/null @@ -1,66 +0,0 @@ - -// 9223WavDlg.h : header file -// -#include "Dask.h" - -#pragma once - - -// C9223WavDlg dialog -class C9223WavDlg : public CDialog -{ -// Construction -public: - C9223WavDlg(I16 hCard, CWnd* pParent = NULL); // standard constructor - -// Dialog Data - enum { IDD = IDD_MY9223WAV_DIALOG }; - - protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - - -// Implementation -protected: - HICON m_hIcon; - I16 m_hCard; - UINT_PTR m_nTimer; - U16* m_pDIAddr1; - U16* m_pDIAddr2; - U32 m_dwDISamples; - HBRUSH OnBrush; - HBRUSH OffBrush; - CPen RedPen; - CPen GreenPen; - DWORD max_val; - DWORD min_val; - int y_divider; - int x_divider; - int m_DisplayScale; - double m_fSampleRate; - U16 m_wDOBufferId; - U16 m_wDIBufId1; - U16 m_wDIBufId2; - U8 m_bView; - U32 m_dwOverrunCnt; - BOOLEAN m_fDOStop; - - // Generated message map functions - virtual BOOL OnInitDialog(); - afx_msg void OnSysCommand(UINT nID, LPARAM lParam); - afx_msg void OnPaint(); - afx_msg HCURSOR OnQueryDragIcon(); - DECLARE_MESSAGE_MAP() -public: - afx_msg void OnDestroy(); - afx_msg void OnStart(); - afx_msg void OnStop(); - afx_msg void OnTimer(UINT_PTR nIDEvent); - void display_buffer_data(U16* pBuf); - void redraw_display_area(void); - afx_msg void OnVScroll(UINT nSBCode, UINT nPos, CScrollBar* pScrollBar); - -private: - int n_PlotHeight; - int n_PlotWidth; -}; diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223DOWave_DelayTrigger/CardIDDlg.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223DOWave_DelayTrigger/CardIDDlg.cpp deleted file mode 100644 index 1c5061b..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223DOWave_DelayTrigger/CardIDDlg.cpp +++ /dev/null @@ -1,67 +0,0 @@ -// CardIDDlg.cpp : implementation file -// - -#include "stdafx.h" -#include "9223Wav.h" -#include "CardIDDlg.h" - - -// CCardIDDlg dialog - -IMPLEMENT_DYNAMIC(CCardIDDlg, CDialog) - -CCardIDDlg::CCardIDDlg(int nCardIdx, CWnd* pParent /*=NULL*/) - : CDialog(CCardIDDlg::IDD, pParent) -{ - m_nCardIdx = nCardIdx; -} - -CCardIDDlg::~CCardIDDlg() -{ -} - -void CCardIDDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); - DDX_Control(pDX, IDC_COMBO_CARDID, m_cbCardID); -} - - -BEGIN_MESSAGE_MAP(CCardIDDlg, CDialog) -// ON_CBN_SELCHANGE(IDC_COMBO_CARDID, &CCardIDDlg::OnCbnSelchangeComboCardid) -ON_BN_CLICKED(IDOK, &CCardIDDlg::OnBnClickedOk) -//ON_WM_CTLCOLOR() -END_MESSAGE_MAP() - - -// CCardIDDlg message handlers - - -void CCardIDDlg::OnBnClickedOk() -{ - // TODO: Add your control notification handler code here - -// UpdateData(TRUE); - m_nCardIdx = m_cbCardID.GetCurSel(); - - OnOK(); -} - -BOOL CCardIDDlg::OnInitDialog() -{ - CDialog::OnInitDialog(); - - // TODO: Add extra initialization here - m_cbCardID.SetCurSel( m_nCardIdx ); - - return TRUE; // return TRUE unless you set the focus to a control - // EXCEPTION: OCX Property Pages should return FALSE -} - -// the function to get the selected CardID -int CCardIDDlg::GetCardID(void) -{ - return m_nCardIdx; -} - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223DOWave_DelayTrigger/CardIDDlg.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223DOWave_DelayTrigger/CardIDDlg.h deleted file mode 100644 index 54628ea..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223DOWave_DelayTrigger/CardIDDlg.h +++ /dev/null @@ -1,33 +0,0 @@ -#pragma once -#include "afxwin.h" - - -// CCardIDDlg dialog - -class CCardIDDlg : public CDialog -{ - DECLARE_DYNAMIC(CCardIDDlg) - -public: - CCardIDDlg(int nCardIdx, CWnd* pParent = NULL); // standard constructor - virtual ~CCardIDDlg(); - -// Dialog Data - enum { IDD = IDD_CARDID_DIALOG }; - -protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - - DECLARE_MESSAGE_MAP() -public: -// afx_msg void OnCbnSelchangeComboCardid(); - afx_msg void OnBnClickedOk(); - // the setting of CardID ComboBox - int m_nCardIdx; - virtual BOOL OnInitDialog(); - // the control of CardID ComboBox - CComboBox m_cbCardID; - // the function to get the selected CardID - int GetCardID(void); -// afx_msg HBRUSH OnCtlColor(CDC* pDC, CWnd* pWnd, UINT nCtlColor); -}; diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223DOWave_DelayTrigger/ReadMe.txt b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223DOWave_DelayTrigger/ReadMe.txt deleted file mode 100644 index 7cae3bc..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223DOWave_DelayTrigger/ReadMe.txt +++ /dev/null @@ -1,93 +0,0 @@ -================================================================================ - MICROSOFT FOUNDATION CLASS LIBRARY : 9223Wav Project Overview -=============================================================================== - -The application wizard has created this 9223Wav application for -you. This application not only demonstrates the basics of using the Microsoft -Foundation Classes but is also a starting point for writing your application. - -This file contains a summary of what you will find in each of the files that -make up your 9223Wav application. - -9223Wav.vcproj - This is the main project file for VC++ projects generated using an application wizard. - It contains information about the version of Visual C++ that generated the file, and - information about the platforms, configurations, and project features selected with the - application wizard. - -9223Wav.h - This is the main header file for the application. It includes other - project specific headers (including Resource.h) and declares the - C9223WavApp application class. - -9223Wav.cpp - This is the main application source file that contains the application - class C9223WavApp. - -9223Wav.rc - This is a listing of all of the Microsoft Windows resources that the - program uses. It includes the icons, bitmaps, and cursors that are stored - in the RES subdirectory. This file can be directly edited in Microsoft - Visual C++. Your project resources are in 1033. - -res\9223Wav.ico - This is an icon file, which is used as the application's icon. This - icon is included by the main resource file 9223Wav.rc. - -res\My9223Wav.rc2 - This file contains resources that are not edited by Microsoft - Visual C++. You should place all resources not editable by - the resource editor in this file. - - -///////////////////////////////////////////////////////////////////////////// - -The application wizard creates one dialog class: - -9223WavDlg.h, 9223WavDlg.cpp - the dialog - These files contain your C9223WavDlg class. This class defines - the behavior of your application's main dialog. The dialog's template is - in 9223Wav.rc, which can be edited in Microsoft Visual C++. - - -///////////////////////////////////////////////////////////////////////////// - -Other Features: - -ActiveX Controls - The application includes support to use ActiveX controls. - -///////////////////////////////////////////////////////////////////////////// - -Other standard files: - -StdAfx.h, StdAfx.cpp - These files are used to build a precompiled header (PCH) file - named 9223Wav.pch and a precompiled types file named StdAfx.obj. - -Resource.h - This is the standard header file, which defines new resource IDs. - Microsoft Visual C++ reads and updates this file. - -9223Wav.manifest - Application manifest files are used by Windows XP to describe an applications - dependency on specific versions of Side-by-Side assemblies. The loader uses this - information to load the appropriate assembly from the assembly cache or private - from the application. The Application manifest maybe included for redistribution - as an external .manifest file that is installed in the same folder as the application - executable or it may be included in the executable in the form of a resource. -///////////////////////////////////////////////////////////////////////////// - -Other notes: - -The application wizard uses "TODO:" to indicate parts of the source code you -should add to or customize. - -If your application uses MFC in a shared DLL, you will need -to redistribute the MFC DLLs. If your application is in a language -other than the operating system's locale, you will also have to -redistribute the corresponding localized resources MFC90XXX.DLL. -For more information on both of these topics, please see the section on -redistributing Visual C++ applications in MSDN documentation. - -///////////////////////////////////////////////////////////////////////////// diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223DOWave_DelayTrigger/res/9223Wav.ico b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223DOWave_DelayTrigger/res/9223Wav.ico deleted file mode 100644 index d56fbcd..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223DOWave_DelayTrigger/res/9223Wav.ico and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223DOWave_DelayTrigger/res/My9223Wav.rc2 b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223DOWave_DelayTrigger/res/My9223Wav.rc2 deleted file mode 100644 index 440d4a5..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223DOWave_DelayTrigger/res/My9223Wav.rc2 +++ /dev/null @@ -1,13 +0,0 @@ -// -// My7200Wav.RC2 - resources Microsoft Visual C++ does not edit directly -// - -#ifdef APSTUDIO_INVOKED -#error this file is not editable by Microsoft Visual C++ -#endif //APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// Add manually edited resources here... - -///////////////////////////////////////////////////////////////////////////// diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223DOWave_DelayTrigger/resource.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223DOWave_DelayTrigger/resource.h deleted file mode 100644 index 75c8a35..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223DOWave_DelayTrigger/resource.h +++ /dev/null @@ -1,29 +0,0 @@ -//{{NO_DEPENDENCIES}} -// Microsoft Visual C++ generated include file. -// Used by 9223Wav.rc -// -#define IDM_ABOUTBOX 0x0010 -#define IDD_ABOUTBOX 100 -#define IDS_ABOUTBOX 101 -#define IDD_MY9223WAV_DIALOG 102 -#define IDR_MAINFRAME 128 -#define IDD_CARDID_DIALOG 129 -#define IDC_STATIC_DRAW 1000 -#define IDC_EDIT_SAMPLE 1001 -#define IDC_EDIT_SAMPLE_RATE 1003 -#define IDC_SCROLLBAR_RATE 1006 -#define IDC_COMBO_CARDID 1007 -#define IDC_BT_START 1008 -#define IDC_BT_STOP 1009 -#define IDC_STATIC_01 1014 - -// Next default values for new objects -// -#ifdef APSTUDIO_INVOKED -#ifndef APSTUDIO_READONLY_SYMBOLS -#define _APS_NEXT_RESOURCE_VALUE 131 -#define _APS_NEXT_COMMAND_VALUE 32771 -#define _APS_NEXT_CONTROL_VALUE 1000 -#define _APS_NEXT_SYMED_VALUE 101 -#endif -#endif diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223DOWave_DelayTrigger/stdafx.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223DOWave_DelayTrigger/stdafx.cpp deleted file mode 100644 index b5184d9..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223DOWave_DelayTrigger/stdafx.cpp +++ /dev/null @@ -1,8 +0,0 @@ - -// stdafx.cpp : source file that includes just the standard includes -// 7200Wav.pch will be the pre-compiled header -// stdafx.obj will contain the pre-compiled type information - -#include "stdafx.h" - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223DOWave_DelayTrigger/stdafx.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223DOWave_DelayTrigger/stdafx.h deleted file mode 100644 index 12123e2..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223DOWave_DelayTrigger/stdafx.h +++ /dev/null @@ -1,60 +0,0 @@ - -// stdafx.h : include file for standard system include files, -// or project specific include files that are used frequently, -// but are changed infrequently - -#pragma once - -#ifndef _SECURE_ATL -#define _SECURE_ATL 1 -#endif - -#ifndef VC_EXTRALEAN -#define VC_EXTRALEAN // Exclude rarely-used stuff from Windows headers -#endif - -#include "targetver.h" - -#define _ATL_CSTRING_EXPLICIT_CONSTRUCTORS // some CString constructors will be explicit - -// turns off MFC's hiding of some common and often safely ignored warning messages -#define _AFX_ALL_WARNINGS - -#include // MFC core and standard components -#include // MFC extensions - - -#include // MFC Automation classes - - - -#ifndef _AFX_NO_OLE_SUPPORT -#include // MFC support for Internet Explorer 4 Common Controls -#endif -#ifndef _AFX_NO_AFXCMN_SUPPORT -#include // MFC support for Windows Common Controls -#endif // _AFX_NO_AFXCMN_SUPPORT - -#include // MFC support for ribbons and control bars - - - - - - - - - -#ifdef _UNICODE -#if defined _M_IX86 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='x86' publicKeyToken='6595b64144ccf1df' language='*'\"") -#elif defined _M_IA64 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='ia64' publicKeyToken='6595b64144ccf1df' language='*'\"") -#elif defined _M_X64 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='amd64' publicKeyToken='6595b64144ccf1df' language='*'\"") -#else -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='*' publicKeyToken='6595b64144ccf1df' language='*'\"") -#endif -#endif - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223DOWave_DelayTrigger/targetver.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223DOWave_DelayTrigger/targetver.h deleted file mode 100644 index 11730d5..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223DOWave_DelayTrigger/targetver.h +++ /dev/null @@ -1,26 +0,0 @@ - -#pragma once - -// The following macros define the minimum required platform. The minimum required platform -// is the earliest version of Windows, Internet Explorer etc. that has the necessary features to run -// your application. The macros work by enabling all features available on platform versions up to and -// including the version specified. - -// Modify the following defines if you have to target a platform prior to the ones specified below. -// Refer to MSDN for the latest info on corresponding values for different platforms. -#ifndef WINVER // Specifies that the minimum required platform is Windows Vista. -#define WINVER 0x0600 // Change this to the appropriate value to target other versions of Windows. -#endif - -#ifndef _WIN32_WINNT // Specifies that the minimum required platform is Windows Vista. -#define _WIN32_WINNT 0x0600 // Change this to the appropriate value to target other versions of Windows. -#endif - -#ifndef _WIN32_WINDOWS // Specifies that the minimum required platform is Windows 98. -#define _WIN32_WINDOWS 0x0410 // Change this to the appropriate value to target Windows Me or later. -#endif - -#ifndef _WIN32_IE // Specifies that the minimum required platform is Internet Explorer 7.0. -#define _WIN32_IE 0x0700 // Change this to the appropriate value to target other versions of IE. -#endif - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223DOWave_InfiniteReTrigger/7200Wav.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223DOWave_InfiniteReTrigger/7200Wav.suo deleted file mode 100644 index bc032e1..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223DOWave_InfiniteReTrigger/7200Wav.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223DOWave_InfiniteReTrigger/9222Wav.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223DOWave_InfiniteReTrigger/9222Wav.suo deleted file mode 100644 index f998f52..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223DOWave_InfiniteReTrigger/9222Wav.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223DOWave_InfiniteReTrigger/9223Wav.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223DOWave_InfiniteReTrigger/9223Wav.cpp deleted file mode 100644 index 2f4e185..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223DOWave_InfiniteReTrigger/9223Wav.cpp +++ /dev/null @@ -1,110 +0,0 @@ - -// 9223Wav.cpp : Defines the class behaviors for the application. -// - -#include "stdafx.h" -#include "9223Wav.h" -#include "9223WavDlg.h" -#include "CardIDDlg.h" - -#ifdef _DEBUG -#define new DEBUG_NEW -#endif - - -// C9223WavApp - -BEGIN_MESSAGE_MAP(C9223WavApp, CWinAppEx) - ON_COMMAND(ID_HELP, &CWinApp::OnHelp) -END_MESSAGE_MAP() - - -// C9223WavApp construction - -C9223WavApp::C9223WavApp() -{ - // TODO: add construction code here, - // Place all significant initialization in InitInstance -} - - -// The one and only C9223WavApp object - -C9223WavApp theApp; - - -// C9223WavApp initialization - -BOOL C9223WavApp::InitInstance() -{ - int nCardID = 0; - I16 hCard; - CString strTemp; - INT_PTR nResponse; - - // InitCommonControlsEx() is required on Windows XP if an application - // manifest specifies use of ComCtl32.dll version 6 or later to enable - // visual styles. Otherwise, any window creation will fail. - INITCOMMONCONTROLSEX InitCtrls; - InitCtrls.dwSize = sizeof(InitCtrls); - // Set this to include all the common control classes you want to use - // in your application. - InitCtrls.dwICC = ICC_WIN95_CLASSES; - InitCommonControlsEx(&InitCtrls); - - CWinAppEx::InitInstance(); - - AfxEnableControlContainer(); - - // Standard initialization - // If you are not using these features and wish to reduce the size - // of your final executable, you should remove from the following - // the specific initialization routines you do not need - // Change the registry key under which our settings are stored - // TODO: You should modify this string to be something appropriate - // such as the name of your company or organization - SetRegistryKey(_T("Local AppWizard-Generated Applications")); - - CCardIDDlg CardDlg( nCardID ); - - nResponse = CardDlg.DoModal(); - if (nResponse == IDOK) - { - nCardID = CardDlg.GetCardID(); - - if ((hCard=Register_Card(PCI_9223, nCardID)) < 0) - { - strTemp.Format( TEXT("Register_Card Error = %d"), hCard); - AfxMessageBox( strTemp ); - } - else - { - C9223WavDlg dlg(hCard); - m_pMainWnd = &dlg; - nResponse = dlg.DoModal(); - if (nResponse == IDOK) - { - // TODO: Place code here to handle when the dialog is - // dismissed with OK - } - else if (nResponse == IDCANCEL) - { - // TODO: Place code here to handle when the dialog is - // dismissed with Cancel - } - - if (hCard >= 0) Release_Card(hCard); - } - - } - else if (nResponse == IDCANCEL) - { - // TODO: Place code here to handle when the dialog is - // dismissed with Cancel - } - - - // Since the dialog has been closed, return FALSE so that we exit the - // application, rather than start the application's message pump. - return FALSE; -} diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223DOWave_InfiniteReTrigger/9223Wav.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223DOWave_InfiniteReTrigger/9223Wav.h deleted file mode 100644 index 6d55d8b..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223DOWave_InfiniteReTrigger/9223Wav.h +++ /dev/null @@ -1,32 +0,0 @@ - -// 9223Wav.h : main header file for the PROJECT_NAME application -// - -#pragma once - -#ifndef __AFXWIN_H__ - #error "include 'stdafx.h' before including this file for PCH" -#endif - -#include "resource.h" // main symbols - - -// C9223WavApp: -// See 9223Wav.cpp for the implementation of this class -// - -class C9223WavApp : public CWinAppEx -{ -public: - C9223WavApp(); - -// Overrides - public: - virtual BOOL InitInstance(); - -// Implementation - - DECLARE_MESSAGE_MAP() -}; - -extern C9223WavApp theApp; \ No newline at end of file diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223DOWave_InfiniteReTrigger/9223Wav.rc b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223DOWave_InfiniteReTrigger/9223Wav.rc deleted file mode 100644 index fb1d603..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223DOWave_InfiniteReTrigger/9223Wav.rc +++ /dev/null @@ -1,285 +0,0 @@ -// Microsoft Visual C++ generated resource script. -// -#include "resource.h" - -#define APSTUDIO_READONLY_SYMBOLS -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 2 resource. -// -#ifndef APSTUDIO_INVOKED -#include "targetver.h" -#endif -#include "afxres.h" - -///////////////////////////////////////////////////////////////////////////// -#undef APSTUDIO_READONLY_SYMBOLS - -///////////////////////////////////////////////////////////////////////////// -// Chinese (Taiwan) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_CHT) -#ifdef _WIN32 -LANGUAGE LANG_CHINESE, SUBLANG_CHINESE_TRADITIONAL -#pragma code_page(950) -#endif //_WIN32 - -#ifdef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// TEXTINCLUDE -// - -1 TEXTINCLUDE -BEGIN - "resource.h\0" -END - -2 TEXTINCLUDE -BEGIN - "#ifndef APSTUDIO_INVOKED\r\n" - "#include ""targetver.h""\r\n" - "#endif\r\n" - "#include ""afxres.h""\r\n" - "\0" -END - -3 TEXTINCLUDE -BEGIN - "#define _AFX_NO_SPLITTER_RESOURCES\r\n" - "#define _AFX_NO_OLE_RESOURCES\r\n" - "#define _AFX_NO_TRACKER_RESOURCES\r\n" - "#define _AFX_NO_PROPERTY_RESOURCES\r\n" - "\r\n" - "#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)\r\n" - "LANGUAGE 9, 1\r\n" - "#pragma code_page(1252)\r\n" - "#include ""res\\My9223Wav.rc2"" // non-Microsoft Visual C++ edited resources\r\n" - "#include ""afxres.rc"" // Standard components\r\n" - "#endif\r\n" - "\0" -END - -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// Icon -// - -// Icon with lowest ID value placed first to ensure application icon -// remains consistent on all systems. -IDR_MAINFRAME ICON "res\\9223Wav.ico" -#endif // Chinese (Taiwan) resources -///////////////////////////////////////////////////////////////////////////// - - -///////////////////////////////////////////////////////////////////////////// -// English (U.S.) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -#ifdef _WIN32 -LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US -#pragma code_page(1252) -#endif //_WIN32 - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog -// - -IDD_ABOUTBOX DIALOGEX 0, 0, 170, 62 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "About 9223Wav" -FONT 8, "MS Shell Dlg", 0, 0, 0x1 -BEGIN - ICON IDR_MAINFRAME,IDC_STATIC,14,14,21,20 - LTEXT "9223Wav, Version 1.0",IDC_STATIC,42,14,114,8,SS_NOPREFIX - LTEXT "Copyright (C) 2010",IDC_STATIC,42,26,114,8 - DEFPUSHBUTTON "OK",IDOK,113,41,50,14,WS_GROUP -END - -IDD_MY9223WAV_DIALOG DIALOGEX 0, 0, 354, 232 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU -EXSTYLE WS_EX_APPWINDOW -CAPTION "PCI-9223 DO Infinite Re-trigger DMA" -FONT 8, "MS Shell Dlg", 0, 0, 0x1 -BEGIN - GROUPBOX "",IDC_STATIC_DRAW,49,38,293,138,NOT WS_VISIBLE - EDITTEXT IDC_EDIT_SAMPLE,113,184,51,12,ES_AUTOHSCROLL - LTEXT "DI Samples :",IDC_STATIC,64,185,45,9 - EDITTEXT IDC_EDIT_SAMPLE_RATE,227,185,30,12,ES_AUTOHSCROLL | ES_READONLY - LTEXT "Sample Rate :",IDC_STATIC,174,185,49,9 - LTEXT "KHz",IDC_STATIC,270,187,15,9 - SCROLLBAR IDC_SCROLLBAR_RATE,258,185,9,11,SBS_VERT - PUSHBUTTON "Start",IDC_BT_START,293,182,48,17 - PUSHBUTTON "Stop",IDC_BT_STOP,293,201,48,17 - LTEXT "Please connect DO1~DO15 to DI1~DI15 (the DI0 will be the digital trigger input)",IDC_STATIC,14,7,277,12 - LTEXT "The DO output pattern will be logged into following panel.",IDC_STATIC,14,21,277,12 -END - -IDD_CARDID_DIALOG DIALOGEX 0, 0, 170, 89 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "Card ID" -FONT 8, "MS Shell Dlg", 400, 0, 0x1 -BEGIN - COMBOBOX IDC_COMBO_CARDID,75,17,71,126,CBS_DROPDOWN | WS_VSCROLL | WS_TABSTOP - LTEXT "Card Number",IDC_STATIC_01,21,18,46,12 - PUSHBUTTON "OK",IDOK,22,50,58,19 - PUSHBUTTON "CANCEL",IDCANCEL,86,50,58,19 -END - - -///////////////////////////////////////////////////////////////////////////// -// -// Version -// - -VS_VERSION_INFO VERSIONINFO - FILEVERSION 1,0,0,1 - PRODUCTVERSION 1,0,0,1 - FILEFLAGSMASK 0x3fL -#ifdef _DEBUG - FILEFLAGS 0x1L -#else - FILEFLAGS 0x0L -#endif - FILEOS 0x4L - FILETYPE 0x1L - FILESUBTYPE 0x0L -BEGIN - BLOCK "StringFileInfo" - BEGIN - BLOCK "040904e4" - BEGIN - VALUE "CompanyName", "TODO: " - VALUE "FileDescription", "TODO: " - VALUE "FileVersion", "1.0.0.1" - VALUE "InternalName", "9223Wav.exe" - VALUE "LegalCopyright", "TODO: (c) . All rights reserved." - VALUE "OriginalFilename", "9223Wav.exe" - VALUE "ProductName", "TODO: " - VALUE "ProductVersion", "1.0.0.1" - END - END - BLOCK "VarFileInfo" - BEGIN - VALUE "Translation", 0x409, 1252 - END -END - - -///////////////////////////////////////////////////////////////////////////// -// -// DESIGNINFO -// - -#ifdef APSTUDIO_INVOKED -GUIDELINES DESIGNINFO -BEGIN - IDD_ABOUTBOX, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 163 - TOPMARGIN, 7 - BOTTOMMARGIN, 55 - END - - IDD_MY9223WAV_DIALOG, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 347 - TOPMARGIN, 7 - BOTTOMMARGIN, 225 - END - - IDD_CARDID_DIALOG, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 163 - TOPMARGIN, 7 - BOTTOMMARGIN, 82 - END -END -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog Info -// - -IDD_CARDID_DIALOG DLGINIT -BEGIN - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0030, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0031, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0032, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0033, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0034, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0035, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0036, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0037, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0038, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0039, - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3031, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3131, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3231, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3331, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3431, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3531, "\000" - 0 -END - - -///////////////////////////////////////////////////////////////////////////// -// -// String Table -// - -STRINGTABLE -BEGIN - IDS_ABOUTBOX "&About 9223Wav..." -END - -#endif // English (U.S.) resources -///////////////////////////////////////////////////////////////////////////// - - - -#ifndef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 3 resource. -// -#define _AFX_NO_SPLITTER_RESOURCES -#define _AFX_NO_OLE_RESOURCES -#define _AFX_NO_TRACKER_RESOURCES -#define _AFX_NO_PROPERTY_RESOURCES - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -LANGUAGE 9, 1 -#pragma code_page(1252) -#include "res\My9223Wav.rc2" // non-Microsoft Visual C++ edited resources -#include "afxres.rc" // Standard components -#endif - -///////////////////////////////////////////////////////////////////////////// -#endif // not APSTUDIO_INVOKED - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223DOWave_InfiniteReTrigger/9223Wav.sln b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223DOWave_InfiniteReTrigger/9223Wav.sln deleted file mode 100644 index 1d09bcd..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223DOWave_InfiniteReTrigger/9223Wav.sln +++ /dev/null @@ -1,20 +0,0 @@ - -Microsoft Visual Studio Solution File, Format Version 10.00 -# Visual Studio 2008 -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "9223Wav", "9223Wav.vcproj", "{EBDB6610-7CE5-413C-A150-121068BFDB22}" -EndProject -Global - GlobalSection(SolutionConfigurationPlatforms) = preSolution - Debug|x64 = Debug|x64 - Release|x64 = Release|x64 - EndGlobalSection - GlobalSection(ProjectConfigurationPlatforms) = postSolution - {EBDB6610-7CE5-413C-A150-121068BFDB22}.Debug|x64.ActiveCfg = Debug|x64 - {EBDB6610-7CE5-413C-A150-121068BFDB22}.Debug|x64.Build.0 = Debug|x64 - {EBDB6610-7CE5-413C-A150-121068BFDB22}.Release|x64.ActiveCfg = Release|x64 - {EBDB6610-7CE5-413C-A150-121068BFDB22}.Release|x64.Build.0 = Release|x64 - EndGlobalSection - GlobalSection(SolutionProperties) = preSolution - HideSolutionNode = FALSE - EndGlobalSection -EndGlobal diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223DOWave_InfiniteReTrigger/9223Wav.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223DOWave_InfiniteReTrigger/9223Wav.suo deleted file mode 100644 index fa996f6..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223DOWave_InfiniteReTrigger/9223Wav.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223DOWave_InfiniteReTrigger/9223Wav.vcproj b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223DOWave_InfiniteReTrigger/9223Wav.vcproj deleted file mode 100644 index 1b22987..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223DOWave_InfiniteReTrigger/9223Wav.vcproj +++ /dev/null @@ -1,286 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223DOWave_InfiniteReTrigger/9223WavDlg.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223DOWave_InfiniteReTrigger/9223WavDlg.cpp deleted file mode 100644 index d05d16d..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223DOWave_InfiniteReTrigger/9223WavDlg.cpp +++ /dev/null @@ -1,587 +0,0 @@ - -// 9223WavDlg.cpp : implementation file -// - -#include "stdafx.h" -#include "9223Wav.h" -#include "9223WavDlg.h" -#include "math.h" - -#ifndef M_PI -#define M_PI 3.14159265359 -#endif - -#ifdef _DEBUG -#define new DEBUG_NEW -#endif - -CRect plotRect; - -#define PCI9222_DIO_STATUS_TIMER 1 - -U32 DoBuf[10240]; -BOOLEAN bOutStopped; -ULONG out_count; - -// CAboutDlg dialog used for App About - -class CAboutDlg : public CDialog -{ -public: - CAboutDlg(); - -// Dialog Data - enum { IDD = IDD_ABOUTBOX }; - - protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - -// Implementation -protected: - DECLARE_MESSAGE_MAP() -}; - -CAboutDlg::CAboutDlg() : CDialog(CAboutDlg::IDD) -{ -} - -void CAboutDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); -} - -BEGIN_MESSAGE_MAP(CAboutDlg, CDialog) -END_MESSAGE_MAP() - - -// C9223WavDlg dialog - - -C9223WavDlg::C9223WavDlg(I16 hCard, CWnd* pParent /*=NULL*/) - : CDialog(C9223WavDlg::IDD, pParent) -{ - m_hIcon = AfxGetApp()->LoadIcon(IDR_MAINFRAME); - - m_hCard = hCard; - - OnBrush = OffBrush = NULL; - - n_PlotWidth = -1; - n_PlotHeight = -1; - - min_val = 0x00; - max_val = 0xFFFF; - - m_fSampleRate = 4000.0; // 100KHz - m_dwDISamples = 8000; - m_pDIAddr1 = NULL; - m_pDIAddr2 = NULL; - - m_nTimer = -1; - - m_dwOverrunCnt = 0; - - for (int i=0; i<10240; i++) - DoBuf[i] = (U16)(sin((double)i/1024*M_PI)*0x00007FFF)+0x00008000; - -} - -void C9223WavDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); -} - -BEGIN_MESSAGE_MAP(C9223WavDlg, CDialog) - ON_WM_SYSCOMMAND() - ON_WM_PAINT() - ON_WM_QUERYDRAGICON() - //}}AFX_MSG_MAP - ON_WM_DESTROY() - ON_BN_CLICKED(IDC_BT_START, &C9223WavDlg::OnStart) - ON_BN_CLICKED(IDC_BT_STOP, &C9223WavDlg::OnStop) - ON_WM_TIMER() - ON_WM_VSCROLL() -END_MESSAGE_MAP() - - -// C9223WavDlg message handlers - -BOOL C9223WavDlg::OnInitDialog() -{ - CString strTemp; - - CDialog::OnInitDialog(); - - // Add "About..." menu item to system menu. - - // IDM_ABOUTBOX must be in the system command range. - ASSERT((IDM_ABOUTBOX & 0xFFF0) == IDM_ABOUTBOX); - ASSERT(IDM_ABOUTBOX < 0xF000); - - CMenu* pSysMenu = GetSystemMenu(FALSE); - if (pSysMenu != NULL) - { - BOOL bNameValid; - CString strAboutMenu; - bNameValid = strAboutMenu.LoadString(IDS_ABOUTBOX); - ASSERT(bNameValid); - if (!strAboutMenu.IsEmpty()) - { - pSysMenu->AppendMenu(MF_SEPARATOR); - pSysMenu->AppendMenu(MF_STRING, IDM_ABOUTBOX, strAboutMenu); - } - } - - // Set the icon for this dialog. The framework does this automatically - // when the application's main window is not a dialog - SetIcon(m_hIcon, TRUE); // Set big icon - SetIcon(m_hIcon, FALSE); // Set small icon - - // TODO: Add extra initialization here - x_divider = 5; y_divider = 2; - - OnBrush = CreateSolidBrush( RGB(255,0,0) ); - OffBrush = CreateSolidBrush( RGB(125,0,0) ); - - RedPen.CreatePen( PS_SOLID, 1, RGB(255,0,0)); - GreenPen.CreatePen( PS_SOLID, 1, RGB(0,255,0)); - - if( n_PlotWidth == -1 && n_PlotHeight == -1 ) - { - ((CWnd*)GetDlgItem(IDC_STATIC_DRAW))->GetWindowRect(&plotRect); - ScreenToClient(&plotRect); - - n_PlotWidth = min( plotRect.Width(), 512); - n_PlotHeight = plotRect.Height() - 10; - } - - // set the default SampleRate - SetDlgItemInt( IDC_EDIT_SAMPLE_RATE, (UINT)(m_fSampleRate/1000) ); - - // Set the default DI Sample - SetDlgItemInt( IDC_EDIT_SAMPLE, (UINT)(m_dwDISamples) ); - - - return TRUE; // return TRUE unless you set the focus to a control -} - -void C9223WavDlg::OnSysCommand(UINT nID, LPARAM lParam) -{ - if ((nID & 0xFFF0) == IDM_ABOUTBOX) - { - CAboutDlg dlgAbout; - dlgAbout.DoModal(); - } - else - { - CDialog::OnSysCommand(nID, lParam); - } -} - -// If you add a minimize button to your dialog, you will need the code below -// to draw the icon. For MFC applications using the document/view model, -// this is automatically done for you by the framework. - -void C9223WavDlg::OnPaint() -{ - if (IsIconic()) - { - CPaintDC dc(this); // device context for painting - - SendMessage(WM_ICONERASEBKGND, reinterpret_cast(dc.GetSafeHdc()), 0); - - // Center icon in client rectangle - int cxIcon = GetSystemMetrics(SM_CXICON); - int cyIcon = GetSystemMetrics(SM_CYICON); - CRect rect; - GetClientRect(&rect); - int x = (rect.Width() - cxIcon + 1) / 2; - int y = (rect.Height() - cyIcon + 1) / 2; - - // Draw the icon - dc.DrawIcon(x, y, m_hIcon); - } - else - { - redraw_display_area(); - CDialog::OnPaint(); - } -} - -// The system calls this function to obtain the cursor to display while the user drags -// the minimized window. -HCURSOR C9223WavDlg::OnQueryDragIcon() -{ - return static_cast(m_hIcon); -} - - -void C9223WavDlg::OnDestroy() -{ - U32 count; - - CDialog::OnDestroy(); - - // TODO: Add your message handler code here - if( OnBrush != NULL ) - ::DeleteObject( OnBrush ); - - if( OffBrush != NULL ) - ::DeleteObject( OffBrush ); - - RedPen.DeleteObject(); - GreenPen.DeleteObject(); - - if( m_nTimer != -1 ) - { - KillTimer( m_nTimer ); - m_nTimer = -1; - } - - if( m_pDIAddr1 != NULL ) - { - free( m_pDIAddr1 ); - m_pDIAddr1 = NULL; - } - - if( m_pDIAddr2 != NULL ) - { - free( m_pDIAddr2 ); - m_pDIAddr2 = NULL; - } - - DI_AsyncClear( m_hCard, &count ); - - DO_AsyncClear( m_hCard, &count ); - - -} - -void C9223WavDlg::OnStart() -{ - // TODO: Add your control notification handler code here - U32 dwMemSize, dwDISamples; - void* pMem; - I16 err; - CString strMsg; - - dwDISamples = GetDlgItemInt( IDC_EDIT_SAMPLE ); - - if( dwDISamples != m_dwDISamples ) - { - if( m_pDIAddr1 != NULL ) - { - free( m_pDIAddr1 ); - m_pDIAddr1 = NULL; - } - - if( m_pDIAddr2 != NULL ) - { - free( m_pDIAddr2 ); - m_pDIAddr2 = NULL; - } - - m_dwDISamples = dwDISamples; - } - - - dwMemSize = m_dwDISamples * sizeof(U16); - pMem = malloc( dwMemSize ); - if( pMem == NULL ) - { - AfxMessageBox( TEXT("Memory allocated failed") ); - return; - } - else - { - m_pDIAddr1 = (U16*) pMem; - memset( m_pDIAddr1, '\0', dwMemSize ); - } - - pMem = malloc( dwMemSize ); - if( pMem == NULL ) - { - AfxMessageBox( TEXT("Memory allocated failed") ); - return; - } - else - { - m_pDIAddr2 = (U16*) pMem; - memset( m_pDIAddr2, '\0', dwMemSize ); - } - - if ((err=DO_9222_Config(m_hCard, P922x_DO_CONVSRC_INT, (P922x_DO_TRGMOD_POST|P922x_DO_TRGSRC_GPI0|P922x_DO_EnReTigger), 0, 0, 0, 1)) != NoError) - { - strMsg.Format( TEXT("DO_9222_Config Error = %d") ,err ); - AfxMessageBox( strMsg ); - return; - } - - if ((err = DO_ContBufferSetup(m_hCard, DoBuf, 10240, &m_wDOBufferId)) != NoError) - { - strMsg.Format( TEXT("DO_ContBufferSetup Error = %d") ,err ); - AfxMessageBox( strMsg ); - return; - } - - if ((err=DI_9222_Config(m_hCard, P922x_DI_CONVSRC_INT, (P922x_DI_TRGMOD_POST|P922x_DI_TRGSRC_SOFT), 0, 1)) != NoError) - { - strMsg.Format( TEXT("DI_9222_Config Error = %d") ,err ); - AfxMessageBox( strMsg ); - return; - } - - if ((err=DI_AsyncDblBufferMode (m_hCard, 1)) != NoError) - { - strMsg.Format( TEXT("DI_AsyncDblBufferMode Error = %d\n"), err ); - AfxMessageBox( strMsg ); - return; - } - - /*Setup Buffer for DI DMA Transfer*/ - if ((err=DI_ContBufferSetup(m_hCard, m_pDIAddr1, m_dwDISamples, &m_wDIBufId1)) != NoError) - { - strMsg.Format( TEXT("DI_ContBufferSetup Error = %d") ,err ); - AfxMessageBox( strMsg ); - return; - } - - /*Setup Buffer for DI DMA Transfer*/ - if ((err=DI_ContBufferSetup(m_hCard, m_pDIAddr2, m_dwDISamples, &m_wDIBufId2)) != NoError) - { - strMsg.Format( TEXT("DI_ContBufferSetup Error = %d") ,err ); - AfxMessageBox( strMsg ); - return; - } - - // clear display area - redraw_display_area(); - m_bView = 0; - - if ((err = DI_ContReadPort(m_hCard, 0, &m_wDIBufId1, m_dwDISamples, m_fSampleRate, ASYNCH_OP)) != NoError) - { - DI_ContBufferReset(m_hCard); - strMsg.Format( TEXT("DI_ContReadPort Error = %d\n"), err); - AfxMessageBox( strMsg ); - return; - } - - if ((err = DO_ContWritePort(m_hCard, 0, &m_wDOBufferId, 10240, 1, m_fSampleRate, ASYNCH_OP)) != NoError) - { - DO_ContBufferReset(m_hCard); - strMsg.Format( TEXT("DO_ContWritePort Error = %d") ,err ); - AfxMessageBox( strMsg ); - return; - } - - if( m_nTimer == -1 ) - { - m_nTimer = SetTimer( PCI9222_DIO_STATUS_TIMER, 20, NULL ); - } - - GetDlgItem( IDC_BT_START )->EnableWindow( FALSE ); - GetDlgItem( IDC_BT_STOP )->EnableWindow( TRUE ); - -} - -void C9223WavDlg::OnStop() -{ - // TODO: Add your control notification handler code here - U32 count; - - DI_AsyncClear(m_hCard, &count); - DI_ContBufferReset(m_hCard); - - DO_AsyncClear(m_hCard, &count); - DO_ContBufferReset( m_hCard ); - - GetDlgItem( IDC_BT_START )->EnableWindow( TRUE ); - GetDlgItem( IDC_BT_STOP )->EnableWindow( FALSE); -} - -void C9223WavDlg::OnTimer(UINT_PTR nIDEvent) -{ - // TODO: Add your message handler code here and/or call default - BOOLEAN HalfReady; - U16 OverrunFlag; - I16 err; - - err = DI_AsyncDblBufferHalfReady(m_hCard, &HalfReady); - - if( HalfReady ) // half-buffer ready - { - if(m_bView == 0) - { - display_buffer_data( m_pDIAddr1 ); - m_bView = 1; - } - else - { - display_buffer_data( m_pDIAddr2 ); - m_bView= 0; - } - - DI_AsyncDblBufferHandled( m_hCard ); - DI_AsyncDblBufferOverrun( m_hCard, 0, &OverrunFlag); - - if(OverrunFlag) - { - m_dwOverrunCnt++; - DI_AsyncDblBufferOverrun( m_hCard, 1, NULL ); -// SetDlgItemInt( IDC_EDIT_OVERRUN, (UINT)(m_dwOverrunCnt) ); - } - - } - - - CDialog::OnTimer(nIDEvent); -} - - -void C9223WavDlg::display_buffer_data(U16* pBuf) -{ - CClientDC dc_plot(this); - int nDraw_Bottom; - - int newY, oldY = -1; - int newX, oldX = -1; - U32 index; - U16 di_data; - - // redraw the background - dc_plot.FillSolidRect( plotRect, RGB(0,0,0) ); - - dc_plot.SelectObject( &GreenPen ); - nDraw_Bottom = ( plotRect.bottom - 5 ); - - for( index=0; index 2000000.0 ) m_fSampleRate = 2000000.0; - break; - case SB_LINEDOWN: - m_fSampleRate -= 50000; - if (m_fSampleRate < 50000 ) m_fSampleRate = 50000; - break; - } - - SetDlgItemInt( IDC_EDIT_SAMPLE_RATE, (UINT)(m_fSampleRate/1000) ); - - CDialog::OnVScroll(nSBCode, nPos, pScrollBar); -} diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223DOWave_InfiniteReTrigger/9223WavDlg.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223DOWave_InfiniteReTrigger/9223WavDlg.h deleted file mode 100644 index c592e64..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223DOWave_InfiniteReTrigger/9223WavDlg.h +++ /dev/null @@ -1,65 +0,0 @@ - -// 9223WavDlg.h : header file -// -#include "Dask.h" - -#pragma once - - -// C9223WavDlg dialog -class C9223WavDlg : public CDialog -{ -// Construction -public: - C9223WavDlg(I16 hCard, CWnd* pParent = NULL); // standard constructor - -// Dialog Data - enum { IDD = IDD_MY9223WAV_DIALOG }; - - protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - - -// Implementation -protected: - HICON m_hIcon; - I16 m_hCard; - UINT_PTR m_nTimer; - U16* m_pDIAddr1; - U16* m_pDIAddr2; - U32 m_dwDISamples; - HBRUSH OnBrush; - HBRUSH OffBrush; - CPen RedPen; - CPen GreenPen; - DWORD max_val; - DWORD min_val; - int y_divider; - int x_divider; - int m_DisplayScale; - double m_fSampleRate; - U16 m_wDOBufferId; - U16 m_wDIBufId1; - U16 m_wDIBufId2; - U8 m_bView; - U32 m_dwOverrunCnt; - - // Generated message map functions - virtual BOOL OnInitDialog(); - afx_msg void OnSysCommand(UINT nID, LPARAM lParam); - afx_msg void OnPaint(); - afx_msg HCURSOR OnQueryDragIcon(); - DECLARE_MESSAGE_MAP() -public: - afx_msg void OnDestroy(); - afx_msg void OnStart(); - afx_msg void OnStop(); - afx_msg void OnTimer(UINT_PTR nIDEvent); - void display_buffer_data(U16* pBuf); - void redraw_display_area(void); - afx_msg void OnVScroll(UINT nSBCode, UINT nPos, CScrollBar* pScrollBar); - -private: - int n_PlotHeight; - int n_PlotWidth; -}; diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223DOWave_InfiniteReTrigger/CardIDDlg.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223DOWave_InfiniteReTrigger/CardIDDlg.cpp deleted file mode 100644 index 1c5061b..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223DOWave_InfiniteReTrigger/CardIDDlg.cpp +++ /dev/null @@ -1,67 +0,0 @@ -// CardIDDlg.cpp : implementation file -// - -#include "stdafx.h" -#include "9223Wav.h" -#include "CardIDDlg.h" - - -// CCardIDDlg dialog - -IMPLEMENT_DYNAMIC(CCardIDDlg, CDialog) - -CCardIDDlg::CCardIDDlg(int nCardIdx, CWnd* pParent /*=NULL*/) - : CDialog(CCardIDDlg::IDD, pParent) -{ - m_nCardIdx = nCardIdx; -} - -CCardIDDlg::~CCardIDDlg() -{ -} - -void CCardIDDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); - DDX_Control(pDX, IDC_COMBO_CARDID, m_cbCardID); -} - - -BEGIN_MESSAGE_MAP(CCardIDDlg, CDialog) -// ON_CBN_SELCHANGE(IDC_COMBO_CARDID, &CCardIDDlg::OnCbnSelchangeComboCardid) -ON_BN_CLICKED(IDOK, &CCardIDDlg::OnBnClickedOk) -//ON_WM_CTLCOLOR() -END_MESSAGE_MAP() - - -// CCardIDDlg message handlers - - -void CCardIDDlg::OnBnClickedOk() -{ - // TODO: Add your control notification handler code here - -// UpdateData(TRUE); - m_nCardIdx = m_cbCardID.GetCurSel(); - - OnOK(); -} - -BOOL CCardIDDlg::OnInitDialog() -{ - CDialog::OnInitDialog(); - - // TODO: Add extra initialization here - m_cbCardID.SetCurSel( m_nCardIdx ); - - return TRUE; // return TRUE unless you set the focus to a control - // EXCEPTION: OCX Property Pages should return FALSE -} - -// the function to get the selected CardID -int CCardIDDlg::GetCardID(void) -{ - return m_nCardIdx; -} - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223DOWave_InfiniteReTrigger/CardIDDlg.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223DOWave_InfiniteReTrigger/CardIDDlg.h deleted file mode 100644 index 54628ea..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223DOWave_InfiniteReTrigger/CardIDDlg.h +++ /dev/null @@ -1,33 +0,0 @@ -#pragma once -#include "afxwin.h" - - -// CCardIDDlg dialog - -class CCardIDDlg : public CDialog -{ - DECLARE_DYNAMIC(CCardIDDlg) - -public: - CCardIDDlg(int nCardIdx, CWnd* pParent = NULL); // standard constructor - virtual ~CCardIDDlg(); - -// Dialog Data - enum { IDD = IDD_CARDID_DIALOG }; - -protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - - DECLARE_MESSAGE_MAP() -public: -// afx_msg void OnCbnSelchangeComboCardid(); - afx_msg void OnBnClickedOk(); - // the setting of CardID ComboBox - int m_nCardIdx; - virtual BOOL OnInitDialog(); - // the control of CardID ComboBox - CComboBox m_cbCardID; - // the function to get the selected CardID - int GetCardID(void); -// afx_msg HBRUSH OnCtlColor(CDC* pDC, CWnd* pWnd, UINT nCtlColor); -}; diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223DOWave_InfiniteReTrigger/ReadMe.txt b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223DOWave_InfiniteReTrigger/ReadMe.txt deleted file mode 100644 index 7cae3bc..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223DOWave_InfiniteReTrigger/ReadMe.txt +++ /dev/null @@ -1,93 +0,0 @@ -================================================================================ - MICROSOFT FOUNDATION CLASS LIBRARY : 9223Wav Project Overview -=============================================================================== - -The application wizard has created this 9223Wav application for -you. This application not only demonstrates the basics of using the Microsoft -Foundation Classes but is also a starting point for writing your application. - -This file contains a summary of what you will find in each of the files that -make up your 9223Wav application. - -9223Wav.vcproj - This is the main project file for VC++ projects generated using an application wizard. - It contains information about the version of Visual C++ that generated the file, and - information about the platforms, configurations, and project features selected with the - application wizard. - -9223Wav.h - This is the main header file for the application. It includes other - project specific headers (including Resource.h) and declares the - C9223WavApp application class. - -9223Wav.cpp - This is the main application source file that contains the application - class C9223WavApp. - -9223Wav.rc - This is a listing of all of the Microsoft Windows resources that the - program uses. It includes the icons, bitmaps, and cursors that are stored - in the RES subdirectory. This file can be directly edited in Microsoft - Visual C++. Your project resources are in 1033. - -res\9223Wav.ico - This is an icon file, which is used as the application's icon. This - icon is included by the main resource file 9223Wav.rc. - -res\My9223Wav.rc2 - This file contains resources that are not edited by Microsoft - Visual C++. You should place all resources not editable by - the resource editor in this file. - - -///////////////////////////////////////////////////////////////////////////// - -The application wizard creates one dialog class: - -9223WavDlg.h, 9223WavDlg.cpp - the dialog - These files contain your C9223WavDlg class. This class defines - the behavior of your application's main dialog. The dialog's template is - in 9223Wav.rc, which can be edited in Microsoft Visual C++. - - -///////////////////////////////////////////////////////////////////////////// - -Other Features: - -ActiveX Controls - The application includes support to use ActiveX controls. - -///////////////////////////////////////////////////////////////////////////// - -Other standard files: - -StdAfx.h, StdAfx.cpp - These files are used to build a precompiled header (PCH) file - named 9223Wav.pch and a precompiled types file named StdAfx.obj. - -Resource.h - This is the standard header file, which defines new resource IDs. - Microsoft Visual C++ reads and updates this file. - -9223Wav.manifest - Application manifest files are used by Windows XP to describe an applications - dependency on specific versions of Side-by-Side assemblies. The loader uses this - information to load the appropriate assembly from the assembly cache or private - from the application. The Application manifest maybe included for redistribution - as an external .manifest file that is installed in the same folder as the application - executable or it may be included in the executable in the form of a resource. -///////////////////////////////////////////////////////////////////////////// - -Other notes: - -The application wizard uses "TODO:" to indicate parts of the source code you -should add to or customize. - -If your application uses MFC in a shared DLL, you will need -to redistribute the MFC DLLs. If your application is in a language -other than the operating system's locale, you will also have to -redistribute the corresponding localized resources MFC90XXX.DLL. -For more information on both of these topics, please see the section on -redistributing Visual C++ applications in MSDN documentation. - -///////////////////////////////////////////////////////////////////////////// diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223DOWave_InfiniteReTrigger/res/9223Wav.ico b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223DOWave_InfiniteReTrigger/res/9223Wav.ico deleted file mode 100644 index d56fbcd..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223DOWave_InfiniteReTrigger/res/9223Wav.ico and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223DOWave_InfiniteReTrigger/res/My9223Wav.rc2 b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223DOWave_InfiniteReTrigger/res/My9223Wav.rc2 deleted file mode 100644 index 440d4a5..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223DOWave_InfiniteReTrigger/res/My9223Wav.rc2 +++ /dev/null @@ -1,13 +0,0 @@ -// -// My7200Wav.RC2 - resources Microsoft Visual C++ does not edit directly -// - -#ifdef APSTUDIO_INVOKED -#error this file is not editable by Microsoft Visual C++ -#endif //APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// Add manually edited resources here... - -///////////////////////////////////////////////////////////////////////////// diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223DOWave_InfiniteReTrigger/resource.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223DOWave_InfiniteReTrigger/resource.h deleted file mode 100644 index 75c8a35..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223DOWave_InfiniteReTrigger/resource.h +++ /dev/null @@ -1,29 +0,0 @@ -//{{NO_DEPENDENCIES}} -// Microsoft Visual C++ generated include file. -// Used by 9223Wav.rc -// -#define IDM_ABOUTBOX 0x0010 -#define IDD_ABOUTBOX 100 -#define IDS_ABOUTBOX 101 -#define IDD_MY9223WAV_DIALOG 102 -#define IDR_MAINFRAME 128 -#define IDD_CARDID_DIALOG 129 -#define IDC_STATIC_DRAW 1000 -#define IDC_EDIT_SAMPLE 1001 -#define IDC_EDIT_SAMPLE_RATE 1003 -#define IDC_SCROLLBAR_RATE 1006 -#define IDC_COMBO_CARDID 1007 -#define IDC_BT_START 1008 -#define IDC_BT_STOP 1009 -#define IDC_STATIC_01 1014 - -// Next default values for new objects -// -#ifdef APSTUDIO_INVOKED -#ifndef APSTUDIO_READONLY_SYMBOLS -#define _APS_NEXT_RESOURCE_VALUE 131 -#define _APS_NEXT_COMMAND_VALUE 32771 -#define _APS_NEXT_CONTROL_VALUE 1000 -#define _APS_NEXT_SYMED_VALUE 101 -#endif -#endif diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223DOWave_InfiniteReTrigger/stdafx.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223DOWave_InfiniteReTrigger/stdafx.cpp deleted file mode 100644 index b5184d9..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223DOWave_InfiniteReTrigger/stdafx.cpp +++ /dev/null @@ -1,8 +0,0 @@ - -// stdafx.cpp : source file that includes just the standard includes -// 7200Wav.pch will be the pre-compiled header -// stdafx.obj will contain the pre-compiled type information - -#include "stdafx.h" - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223DOWave_InfiniteReTrigger/stdafx.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223DOWave_InfiniteReTrigger/stdafx.h deleted file mode 100644 index 12123e2..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223DOWave_InfiniteReTrigger/stdafx.h +++ /dev/null @@ -1,60 +0,0 @@ - -// stdafx.h : include file for standard system include files, -// or project specific include files that are used frequently, -// but are changed infrequently - -#pragma once - -#ifndef _SECURE_ATL -#define _SECURE_ATL 1 -#endif - -#ifndef VC_EXTRALEAN -#define VC_EXTRALEAN // Exclude rarely-used stuff from Windows headers -#endif - -#include "targetver.h" - -#define _ATL_CSTRING_EXPLICIT_CONSTRUCTORS // some CString constructors will be explicit - -// turns off MFC's hiding of some common and often safely ignored warning messages -#define _AFX_ALL_WARNINGS - -#include // MFC core and standard components -#include // MFC extensions - - -#include // MFC Automation classes - - - -#ifndef _AFX_NO_OLE_SUPPORT -#include // MFC support for Internet Explorer 4 Common Controls -#endif -#ifndef _AFX_NO_AFXCMN_SUPPORT -#include // MFC support for Windows Common Controls -#endif // _AFX_NO_AFXCMN_SUPPORT - -#include // MFC support for ribbons and control bars - - - - - - - - - -#ifdef _UNICODE -#if defined _M_IX86 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='x86' publicKeyToken='6595b64144ccf1df' language='*'\"") -#elif defined _M_IA64 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='ia64' publicKeyToken='6595b64144ccf1df' language='*'\"") -#elif defined _M_X64 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='amd64' publicKeyToken='6595b64144ccf1df' language='*'\"") -#else -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='*' publicKeyToken='6595b64144ccf1df' language='*'\"") -#endif -#endif - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223DOWave_InfiniteReTrigger/targetver.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223DOWave_InfiniteReTrigger/targetver.h deleted file mode 100644 index 11730d5..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223DOWave_InfiniteReTrigger/targetver.h +++ /dev/null @@ -1,26 +0,0 @@ - -#pragma once - -// The following macros define the minimum required platform. The minimum required platform -// is the earliest version of Windows, Internet Explorer etc. that has the necessary features to run -// your application. The macros work by enabling all features available on platform versions up to and -// including the version specified. - -// Modify the following defines if you have to target a platform prior to the ones specified below. -// Refer to MSDN for the latest info on corresponding values for different platforms. -#ifndef WINVER // Specifies that the minimum required platform is Windows Vista. -#define WINVER 0x0600 // Change this to the appropriate value to target other versions of Windows. -#endif - -#ifndef _WIN32_WINNT // Specifies that the minimum required platform is Windows Vista. -#define _WIN32_WINNT 0x0600 // Change this to the appropriate value to target other versions of Windows. -#endif - -#ifndef _WIN32_WINDOWS // Specifies that the minimum required platform is Windows 98. -#define _WIN32_WINDOWS 0x0410 // Change this to the appropriate value to target Windows Me or later. -#endif - -#ifndef _WIN32_IE // Specifies that the minimum required platform is Internet Explorer 7.0. -#define _WIN32_IE 0x0700 // Change this to the appropriate value to target other versions of IE. -#endif - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223DOWave_ReTrigger/7200Wav.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223DOWave_ReTrigger/7200Wav.suo deleted file mode 100644 index bc032e1..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223DOWave_ReTrigger/7200Wav.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223DOWave_ReTrigger/9222Wav.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223DOWave_ReTrigger/9222Wav.suo deleted file mode 100644 index a874535..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223DOWave_ReTrigger/9222Wav.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223DOWave_ReTrigger/9223Wav.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223DOWave_ReTrigger/9223Wav.cpp deleted file mode 100644 index 2f4e185..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223DOWave_ReTrigger/9223Wav.cpp +++ /dev/null @@ -1,110 +0,0 @@ - -// 9223Wav.cpp : Defines the class behaviors for the application. -// - -#include "stdafx.h" -#include "9223Wav.h" -#include "9223WavDlg.h" -#include "CardIDDlg.h" - -#ifdef _DEBUG -#define new DEBUG_NEW -#endif - - -// C9223WavApp - -BEGIN_MESSAGE_MAP(C9223WavApp, CWinAppEx) - ON_COMMAND(ID_HELP, &CWinApp::OnHelp) -END_MESSAGE_MAP() - - -// C9223WavApp construction - -C9223WavApp::C9223WavApp() -{ - // TODO: add construction code here, - // Place all significant initialization in InitInstance -} - - -// The one and only C9223WavApp object - -C9223WavApp theApp; - - -// C9223WavApp initialization - -BOOL C9223WavApp::InitInstance() -{ - int nCardID = 0; - I16 hCard; - CString strTemp; - INT_PTR nResponse; - - // InitCommonControlsEx() is required on Windows XP if an application - // manifest specifies use of ComCtl32.dll version 6 or later to enable - // visual styles. Otherwise, any window creation will fail. - INITCOMMONCONTROLSEX InitCtrls; - InitCtrls.dwSize = sizeof(InitCtrls); - // Set this to include all the common control classes you want to use - // in your application. - InitCtrls.dwICC = ICC_WIN95_CLASSES; - InitCommonControlsEx(&InitCtrls); - - CWinAppEx::InitInstance(); - - AfxEnableControlContainer(); - - // Standard initialization - // If you are not using these features and wish to reduce the size - // of your final executable, you should remove from the following - // the specific initialization routines you do not need - // Change the registry key under which our settings are stored - // TODO: You should modify this string to be something appropriate - // such as the name of your company or organization - SetRegistryKey(_T("Local AppWizard-Generated Applications")); - - CCardIDDlg CardDlg( nCardID ); - - nResponse = CardDlg.DoModal(); - if (nResponse == IDOK) - { - nCardID = CardDlg.GetCardID(); - - if ((hCard=Register_Card(PCI_9223, nCardID)) < 0) - { - strTemp.Format( TEXT("Register_Card Error = %d"), hCard); - AfxMessageBox( strTemp ); - } - else - { - C9223WavDlg dlg(hCard); - m_pMainWnd = &dlg; - nResponse = dlg.DoModal(); - if (nResponse == IDOK) - { - // TODO: Place code here to handle when the dialog is - // dismissed with OK - } - else if (nResponse == IDCANCEL) - { - // TODO: Place code here to handle when the dialog is - // dismissed with Cancel - } - - if (hCard >= 0) Release_Card(hCard); - } - - } - else if (nResponse == IDCANCEL) - { - // TODO: Place code here to handle when the dialog is - // dismissed with Cancel - } - - - // Since the dialog has been closed, return FALSE so that we exit the - // application, rather than start the application's message pump. - return FALSE; -} diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223DOWave_ReTrigger/9223Wav.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223DOWave_ReTrigger/9223Wav.h deleted file mode 100644 index 6d55d8b..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223DOWave_ReTrigger/9223Wav.h +++ /dev/null @@ -1,32 +0,0 @@ - -// 9223Wav.h : main header file for the PROJECT_NAME application -// - -#pragma once - -#ifndef __AFXWIN_H__ - #error "include 'stdafx.h' before including this file for PCH" -#endif - -#include "resource.h" // main symbols - - -// C9223WavApp: -// See 9223Wav.cpp for the implementation of this class -// - -class C9223WavApp : public CWinAppEx -{ -public: - C9223WavApp(); - -// Overrides - public: - virtual BOOL InitInstance(); - -// Implementation - - DECLARE_MESSAGE_MAP() -}; - -extern C9223WavApp theApp; \ No newline at end of file diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223DOWave_ReTrigger/9223Wav.rc b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223DOWave_ReTrigger/9223Wav.rc deleted file mode 100644 index 264f35c..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223DOWave_ReTrigger/9223Wav.rc +++ /dev/null @@ -1,285 +0,0 @@ -// Microsoft Visual C++ generated resource script. -// -#include "resource.h" - -#define APSTUDIO_READONLY_SYMBOLS -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 2 resource. -// -#ifndef APSTUDIO_INVOKED -#include "targetver.h" -#endif -#include "afxres.h" - -///////////////////////////////////////////////////////////////////////////// -#undef APSTUDIO_READONLY_SYMBOLS - -///////////////////////////////////////////////////////////////////////////// -// Chinese (Taiwan) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_CHT) -#ifdef _WIN32 -LANGUAGE LANG_CHINESE, SUBLANG_CHINESE_TRADITIONAL -#pragma code_page(950) -#endif //_WIN32 - -#ifdef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// TEXTINCLUDE -// - -1 TEXTINCLUDE -BEGIN - "resource.h\0" -END - -2 TEXTINCLUDE -BEGIN - "#ifndef APSTUDIO_INVOKED\r\n" - "#include ""targetver.h""\r\n" - "#endif\r\n" - "#include ""afxres.h""\r\n" - "\0" -END - -3 TEXTINCLUDE -BEGIN - "#define _AFX_NO_SPLITTER_RESOURCES\r\n" - "#define _AFX_NO_OLE_RESOURCES\r\n" - "#define _AFX_NO_TRACKER_RESOURCES\r\n" - "#define _AFX_NO_PROPERTY_RESOURCES\r\n" - "\r\n" - "#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)\r\n" - "LANGUAGE 9, 1\r\n" - "#pragma code_page(1252)\r\n" - "#include ""res\\My9223Wav.rc2"" // non-Microsoft Visual C++ edited resources\r\n" - "#include ""afxres.rc"" // Standard components\r\n" - "#endif\r\n" - "\0" -END - -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// Icon -// - -// Icon with lowest ID value placed first to ensure application icon -// remains consistent on all systems. -IDR_MAINFRAME ICON "res\\9223Wav.ico" -#endif // Chinese (Taiwan) resources -///////////////////////////////////////////////////////////////////////////// - - -///////////////////////////////////////////////////////////////////////////// -// English (U.S.) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -#ifdef _WIN32 -LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US -#pragma code_page(1252) -#endif //_WIN32 - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog -// - -IDD_ABOUTBOX DIALOGEX 0, 0, 170, 62 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "About 9223Wav" -FONT 8, "MS Shell Dlg", 0, 0, 0x1 -BEGIN - ICON IDR_MAINFRAME,IDC_STATIC,14,14,21,20 - LTEXT "9223Wav, Version 1.0",IDC_STATIC,42,14,114,8,SS_NOPREFIX - LTEXT "Copyright (C) 2010",IDC_STATIC,42,26,114,8 - DEFPUSHBUTTON "OK",IDOK,113,41,50,14,WS_GROUP -END - -IDD_MY9223WAV_DIALOG DIALOGEX 0, 0, 354, 231 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU -EXSTYLE WS_EX_APPWINDOW -CAPTION "PCI-9223 DO Re-Trigger DMA (total 4 DO trigger)" -FONT 8, "MS Shell Dlg", 0, 0, 0x1 -BEGIN - GROUPBOX "",IDC_STATIC_DRAW,49,36,293,138,NOT WS_VISIBLE - EDITTEXT IDC_EDIT_SAMPLE,113,182,51,12,ES_AUTOHSCROLL - LTEXT "DI Samples :",IDC_STATIC,64,183,45,9 - EDITTEXT IDC_EDIT_SAMPLE_RATE,227,183,30,12,ES_AUTOHSCROLL | ES_READONLY - LTEXT "Sample Rate :",IDC_STATIC,174,183,49,9 - LTEXT "KHz",IDC_STATIC,270,185,15,9 - SCROLLBAR IDC_SCROLLBAR_RATE,258,183,9,11,SBS_VERT - PUSHBUTTON "Start",IDC_BT_START,293,180,48,17 - PUSHBUTTON "Stop",IDC_BT_STOP,293,199,48,17 - LTEXT "Please connect DO1~DO15 to DI1~DI15 (the DI0 will be the digital trigger input)",IDC_STATIC,14,7,277,12 - LTEXT "The DO output pattern will be logged into following panel.",IDC_STATIC,14,21,277,12 -END - -IDD_CARDID_DIALOG DIALOGEX 0, 0, 170, 89 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "Card ID" -FONT 8, "MS Shell Dlg", 400, 0, 0x1 -BEGIN - COMBOBOX IDC_COMBO_CARDID,75,17,71,126,CBS_DROPDOWN | WS_VSCROLL | WS_TABSTOP - LTEXT "Card Number",IDC_STATIC_01,21,18,46,12 - PUSHBUTTON "OK",IDOK,22,50,58,19 - PUSHBUTTON "CANCEL",IDCANCEL,86,50,58,19 -END - - -///////////////////////////////////////////////////////////////////////////// -// -// Version -// - -VS_VERSION_INFO VERSIONINFO - FILEVERSION 1,0,0,1 - PRODUCTVERSION 1,0,0,1 - FILEFLAGSMASK 0x3fL -#ifdef _DEBUG - FILEFLAGS 0x1L -#else - FILEFLAGS 0x0L -#endif - FILEOS 0x4L - FILETYPE 0x1L - FILESUBTYPE 0x0L -BEGIN - BLOCK "StringFileInfo" - BEGIN - BLOCK "040904e4" - BEGIN - VALUE "CompanyName", "TODO: " - VALUE "FileDescription", "TODO: " - VALUE "FileVersion", "1.0.0.1" - VALUE "InternalName", "9223Wav.exe" - VALUE "LegalCopyright", "TODO: (c) . All rights reserved." - VALUE "OriginalFilename", "9223Wav.exe" - VALUE "ProductName", "TODO: " - VALUE "ProductVersion", "1.0.0.1" - END - END - BLOCK "VarFileInfo" - BEGIN - VALUE "Translation", 0x409, 1252 - END -END - - -///////////////////////////////////////////////////////////////////////////// -// -// DESIGNINFO -// - -#ifdef APSTUDIO_INVOKED -GUIDELINES DESIGNINFO -BEGIN - IDD_ABOUTBOX, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 163 - TOPMARGIN, 7 - BOTTOMMARGIN, 55 - END - - IDD_MY9223WAV_DIALOG, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 347 - TOPMARGIN, 7 - BOTTOMMARGIN, 224 - END - - IDD_CARDID_DIALOG, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 163 - TOPMARGIN, 7 - BOTTOMMARGIN, 82 - END -END -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog Info -// - -IDD_CARDID_DIALOG DLGINIT -BEGIN - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0030, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0031, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0032, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0033, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0034, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0035, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0036, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0037, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0038, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0039, - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3031, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3131, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3231, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3331, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3431, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3531, "\000" - 0 -END - - -///////////////////////////////////////////////////////////////////////////// -// -// String Table -// - -STRINGTABLE -BEGIN - IDS_ABOUTBOX "&About 9223Wav..." -END - -#endif // English (U.S.) resources -///////////////////////////////////////////////////////////////////////////// - - - -#ifndef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 3 resource. -// -#define _AFX_NO_SPLITTER_RESOURCES -#define _AFX_NO_OLE_RESOURCES -#define _AFX_NO_TRACKER_RESOURCES -#define _AFX_NO_PROPERTY_RESOURCES - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -LANGUAGE 9, 1 -#pragma code_page(1252) -#include "res\My9223Wav.rc2" // non-Microsoft Visual C++ edited resources -#include "afxres.rc" // Standard components -#endif - -///////////////////////////////////////////////////////////////////////////// -#endif // not APSTUDIO_INVOKED - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223DOWave_ReTrigger/9223Wav.sln b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223DOWave_ReTrigger/9223Wav.sln deleted file mode 100644 index 1d09bcd..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223DOWave_ReTrigger/9223Wav.sln +++ /dev/null @@ -1,20 +0,0 @@ - -Microsoft Visual Studio Solution File, Format Version 10.00 -# Visual Studio 2008 -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "9223Wav", "9223Wav.vcproj", "{EBDB6610-7CE5-413C-A150-121068BFDB22}" -EndProject -Global - GlobalSection(SolutionConfigurationPlatforms) = preSolution - Debug|x64 = Debug|x64 - Release|x64 = Release|x64 - EndGlobalSection - GlobalSection(ProjectConfigurationPlatforms) = postSolution - {EBDB6610-7CE5-413C-A150-121068BFDB22}.Debug|x64.ActiveCfg = Debug|x64 - {EBDB6610-7CE5-413C-A150-121068BFDB22}.Debug|x64.Build.0 = Debug|x64 - {EBDB6610-7CE5-413C-A150-121068BFDB22}.Release|x64.ActiveCfg = Release|x64 - {EBDB6610-7CE5-413C-A150-121068BFDB22}.Release|x64.Build.0 = Release|x64 - EndGlobalSection - GlobalSection(SolutionProperties) = preSolution - HideSolutionNode = FALSE - EndGlobalSection -EndGlobal diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223DOWave_ReTrigger/9223Wav.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223DOWave_ReTrigger/9223Wav.suo deleted file mode 100644 index 96bd7b2..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223DOWave_ReTrigger/9223Wav.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223DOWave_ReTrigger/9223Wav.vcproj b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223DOWave_ReTrigger/9223Wav.vcproj deleted file mode 100644 index 1b22987..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223DOWave_ReTrigger/9223Wav.vcproj +++ /dev/null @@ -1,286 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223DOWave_ReTrigger/9223WavDlg.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223DOWave_ReTrigger/9223WavDlg.cpp deleted file mode 100644 index 014bbfb..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223DOWave_ReTrigger/9223WavDlg.cpp +++ /dev/null @@ -1,609 +0,0 @@ - -// 9223WavDlg.cpp : implementation file -// - -#include "stdafx.h" -#include "9223Wav.h" -#include "9223WavDlg.h" -#include "math.h" - -#ifndef M_PI -#define M_PI 3.14159265359 -#endif - -#ifdef _DEBUG -#define new DEBUG_NEW -#endif - -CRect plotRect; - -#define PCI9222_DIO_STATUS_TIMER 1 - -U32 DoBuf[10240]; -BOOLEAN bOutStopped; -ULONG out_count; - -// CAboutDlg dialog used for App About - -class CAboutDlg : public CDialog -{ -public: - CAboutDlg(); - -// Dialog Data - enum { IDD = IDD_ABOUTBOX }; - - protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - -// Implementation -protected: - DECLARE_MESSAGE_MAP() -}; - -CAboutDlg::CAboutDlg() : CDialog(CAboutDlg::IDD) -{ -} - -void CAboutDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); -} - -BEGIN_MESSAGE_MAP(CAboutDlg, CDialog) -END_MESSAGE_MAP() - - -// C9223WavDlg dialog - - -C9223WavDlg::C9223WavDlg(I16 hCard, CWnd* pParent /*=NULL*/) - : CDialog(C9223WavDlg::IDD, pParent) -{ - m_hIcon = AfxGetApp()->LoadIcon(IDR_MAINFRAME); - - m_hCard = hCard; - - OnBrush = OffBrush = NULL; - - n_PlotWidth = -1; - n_PlotHeight = -1; - - min_val = 0x00; - max_val = 0xFFFF; - - m_fSampleRate = 4000.0; // 100KHz - m_dwDISamples = 8000; - m_pDIAddr1 = NULL; - m_pDIAddr2 = NULL; - - m_nTimer = -1; - - m_dwOverrunCnt = 0; - - m_bDOStop = FALSE; - - for (int i=0; i<10240; i++) - DoBuf[i] = (U16)(sin((double)i/1024*M_PI)*0x00007FFF)+0x00008000; - -} - -void C9223WavDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); -} - -BEGIN_MESSAGE_MAP(C9223WavDlg, CDialog) - ON_WM_SYSCOMMAND() - ON_WM_PAINT() - ON_WM_QUERYDRAGICON() - //}}AFX_MSG_MAP - ON_WM_DESTROY() - ON_BN_CLICKED(IDC_BT_START, &C9223WavDlg::OnStart) - ON_BN_CLICKED(IDC_BT_STOP, &C9223WavDlg::OnStop) - ON_WM_TIMER() - ON_WM_VSCROLL() -END_MESSAGE_MAP() - - -// C9223WavDlg message handlers - -BOOL C9223WavDlg::OnInitDialog() -{ - CString strTemp; - - CDialog::OnInitDialog(); - - // Add "About..." menu item to system menu. - - // IDM_ABOUTBOX must be in the system command range. - ASSERT((IDM_ABOUTBOX & 0xFFF0) == IDM_ABOUTBOX); - ASSERT(IDM_ABOUTBOX < 0xF000); - - CMenu* pSysMenu = GetSystemMenu(FALSE); - if (pSysMenu != NULL) - { - BOOL bNameValid; - CString strAboutMenu; - bNameValid = strAboutMenu.LoadString(IDS_ABOUTBOX); - ASSERT(bNameValid); - if (!strAboutMenu.IsEmpty()) - { - pSysMenu->AppendMenu(MF_SEPARATOR); - pSysMenu->AppendMenu(MF_STRING, IDM_ABOUTBOX, strAboutMenu); - } - } - - // Set the icon for this dialog. The framework does this automatically - // when the application's main window is not a dialog - SetIcon(m_hIcon, TRUE); // Set big icon - SetIcon(m_hIcon, FALSE); // Set small icon - - // TODO: Add extra initialization here - x_divider = 5; y_divider = 2; - - OnBrush = CreateSolidBrush( RGB(255,0,0) ); - OffBrush = CreateSolidBrush( RGB(125,0,0) ); - - RedPen.CreatePen( PS_SOLID, 1, RGB(255,0,0)); - GreenPen.CreatePen( PS_SOLID, 1, RGB(0,255,0)); - - if( n_PlotWidth == -1 && n_PlotHeight == -1 ) - { - ((CWnd*)GetDlgItem(IDC_STATIC_DRAW))->GetWindowRect(&plotRect); - ScreenToClient(&plotRect); - - n_PlotWidth = min( plotRect.Width(), 512); - n_PlotHeight = plotRect.Height() - 10; - } - - // set the default SampleRate - SetDlgItemInt( IDC_EDIT_SAMPLE_RATE, (UINT)(m_fSampleRate/1000) ); - - // Set the default DI Sample - SetDlgItemInt( IDC_EDIT_SAMPLE, (UINT)(m_dwDISamples) ); - - - return TRUE; // return TRUE unless you set the focus to a control -} - -void C9223WavDlg::OnSysCommand(UINT nID, LPARAM lParam) -{ - if ((nID & 0xFFF0) == IDM_ABOUTBOX) - { - CAboutDlg dlgAbout; - dlgAbout.DoModal(); - } - else - { - CDialog::OnSysCommand(nID, lParam); - } -} - -// If you add a minimize button to your dialog, you will need the code below -// to draw the icon. For MFC applications using the document/view model, -// this is automatically done for you by the framework. - -void C9223WavDlg::OnPaint() -{ - if (IsIconic()) - { - CPaintDC dc(this); // device context for painting - - SendMessage(WM_ICONERASEBKGND, reinterpret_cast(dc.GetSafeHdc()), 0); - - // Center icon in client rectangle - int cxIcon = GetSystemMetrics(SM_CXICON); - int cyIcon = GetSystemMetrics(SM_CYICON); - CRect rect; - GetClientRect(&rect); - int x = (rect.Width() - cxIcon + 1) / 2; - int y = (rect.Height() - cyIcon + 1) / 2; - - // Draw the icon - dc.DrawIcon(x, y, m_hIcon); - } - else - { - redraw_display_area(); - CDialog::OnPaint(); - } -} - -// The system calls this function to obtain the cursor to display while the user drags -// the minimized window. -HCURSOR C9223WavDlg::OnQueryDragIcon() -{ - return static_cast(m_hIcon); -} - - -void C9223WavDlg::OnDestroy() -{ - U32 count; - - CDialog::OnDestroy(); - - // TODO: Add your message handler code here - if( OnBrush != NULL ) - ::DeleteObject( OnBrush ); - - if( OffBrush != NULL ) - ::DeleteObject( OffBrush ); - - RedPen.DeleteObject(); - GreenPen.DeleteObject(); - - if( m_nTimer != -1 ) - { - KillTimer( m_nTimer ); - m_nTimer = -1; - } - - if( m_pDIAddr1 != NULL ) - { - free( m_pDIAddr1 ); - m_pDIAddr1 = NULL; - } - - if( m_pDIAddr2 != NULL ) - { - free( m_pDIAddr2 ); - m_pDIAddr2 = NULL; - } - - DI_AsyncClear( m_hCard, &count ); - - DO_AsyncClear( m_hCard, &count ); - - -} - -void C9223WavDlg::OnStart() -{ - // TODO: Add your control notification handler code here - U32 dwMemSize, dwDISamples; - void* pMem; - I16 err; - CString strMsg; - - dwDISamples = GetDlgItemInt( IDC_EDIT_SAMPLE ); - - if( dwDISamples != m_dwDISamples ) - { - if( m_pDIAddr1 != NULL ) - { - free( m_pDIAddr1 ); - m_pDIAddr1 = NULL; - } - - if( m_pDIAddr2 != NULL ) - { - free( m_pDIAddr2 ); - m_pDIAddr2 = NULL; - } - - m_dwDISamples = dwDISamples; - } - - - dwMemSize = m_dwDISamples * sizeof(U16); - pMem = malloc( dwMemSize ); - if( pMem == NULL ) - { - AfxMessageBox( TEXT("Memory allocated failed") ); - return; - } - else - { - m_pDIAddr1 = (U16*) pMem; - memset( m_pDIAddr1, '\0', dwMemSize ); - } - - pMem = malloc( dwMemSize ); - if( pMem == NULL ) - { - AfxMessageBox( TEXT("Memory allocated failed") ); - return; - } - else - { - m_pDIAddr2 = (U16*) pMem; - memset( m_pDIAddr2, '\0', dwMemSize ); - } - - if ((err=DO_9222_Config(m_hCard, P922x_DO_CONVSRC_INT, (P922x_DO_TRGMOD_POST|P922x_DO_TRGSRC_GPI0|P922x_DO_EnReTigger), 3, 0, 0, 1)) != NoError) - { - strMsg.Format( TEXT("DO_9222_Config Error = %d") ,err ); - AfxMessageBox( strMsg ); - return; - } - - if ((err = DO_ContBufferSetup(m_hCard, DoBuf, 10240, &m_wDOBufferId)) != NoError) - { - strMsg.Format( TEXT("DO_ContBufferSetup Error = %d") ,err ); - AfxMessageBox( strMsg ); - return; - } - - if ((err=DI_9222_Config(m_hCard, P922x_DI_CONVSRC_INT, (P922x_DI_TRGMOD_POST|P922x_DI_TRGSRC_SOFT), 0, 1)) != NoError) - { - strMsg.Format( TEXT("DI_9222_Config Error = %d") ,err ); - AfxMessageBox( strMsg ); - return; - } - - if ((err=DI_AsyncDblBufferMode (m_hCard, 1)) != NoError) - { - strMsg.Format( TEXT("DI_AsyncDblBufferMode Error = %d\n"), err ); - AfxMessageBox( strMsg ); - return; - } - - /*Setup Buffer for DI DMA Transfer*/ - if ((err=DI_ContBufferSetup(m_hCard, m_pDIAddr1, m_dwDISamples, &m_wDIBufId1)) != NoError) - { - strMsg.Format( TEXT("DI_ContBufferSetup Error = %d") ,err ); - AfxMessageBox( strMsg ); - return; - } - - /*Setup Buffer for DI DMA Transfer*/ - if ((err=DI_ContBufferSetup(m_hCard, m_pDIAddr2, m_dwDISamples, &m_wDIBufId2)) != NoError) - { - strMsg.Format( TEXT("DI_ContBufferSetup Error = %d") ,err ); - AfxMessageBox( strMsg ); - return; - } - - // clear display area - redraw_display_area(); - m_bView = 0; - - if ((err = DI_ContReadPort(m_hCard, 0, &m_wDIBufId1, m_dwDISamples, m_fSampleRate, ASYNCH_OP)) != NoError) - { - DI_ContBufferReset(m_hCard); - strMsg.Format( TEXT("DI_ContReadPort Error = %d\n"), err); - AfxMessageBox( strMsg ); - return; - } - - if ((err = DO_ContWritePort(m_hCard, 0, &m_wDOBufferId, 10240, 1, m_fSampleRate, ASYNCH_OP)) != NoError) - { - DO_ContBufferReset(m_hCard); - strMsg.Format( TEXT("DO_ContWritePort Error = %d") ,err ); - AfxMessageBox( strMsg ); - return; - } - - - m_bDOStop = FALSE; - - if( m_nTimer == -1 ) - { - m_nTimer = SetTimer( PCI9222_DIO_STATUS_TIMER, 20, NULL ); - } - - GetDlgItem( IDC_BT_START )->EnableWindow( FALSE ); - GetDlgItem( IDC_BT_STOP )->EnableWindow( TRUE ); - -} - -void C9223WavDlg::OnStop() -{ - // TODO: Add your control notification handler code here - U32 count; - - DI_AsyncClear(m_hCard, &count); - DI_ContBufferReset(m_hCard); - - DO_AsyncClear(m_hCard, &count); - DO_ContBufferReset( m_hCard ); - - GetDlgItem( IDC_BT_START )->EnableWindow( TRUE ); - GetDlgItem( IDC_BT_STOP )->EnableWindow( FALSE); -} - -void C9223WavDlg::OnTimer(UINT_PTR nIDEvent) -{ - // TODO: Add your message handler code here and/or call default - BOOLEAN HalfReady; - U16 OverrunFlag; - U32 AccessCount; - I16 err; - - err = DI_AsyncDblBufferHalfReady(m_hCard, &HalfReady); - - if( HalfReady ) // half-buffer ready - { - if(m_bView == 0) - { - display_buffer_data( m_pDIAddr1 ); - m_bView = 1; - } - else - { - display_buffer_data( m_pDIAddr2 ); - m_bView= 0; - } - - DI_AsyncDblBufferHandled( m_hCard ); - DI_AsyncDblBufferOverrun( m_hCard, 0, &OverrunFlag); - - if(OverrunFlag) - { - m_dwOverrunCnt++; - DI_AsyncDblBufferOverrun( m_hCard, 1, NULL ); -// SetDlgItemInt( IDC_EDIT_OVERRUN, (UINT)(m_dwOverrunCnt) ); - } - - if( m_bDOStop == TRUE ) - { - DI_AsyncClear(m_hCard, &AccessCount); - DI_ContBufferReset(m_hCard); - - GetDlgItem( IDC_BT_START )->EnableWindow( TRUE ); - } - - } - - - err = DO_AsyncCheck(m_hCard, &m_bDOStop, &AccessCount); - if( m_bDOStop == TRUE ) - { - DO_AsyncClear(m_hCard, &AccessCount); - DO_ContBufferReset( m_hCard ); - - } - - CDialog::OnTimer(nIDEvent); -} - - -void C9223WavDlg::display_buffer_data(U16* pBuf) -{ - CClientDC dc_plot(this); - int nDraw_Bottom; - - int newY, oldY = -1; - int newX, oldX = -1; - U32 index; - U16 di_data; - - // redraw the background - dc_plot.FillSolidRect( plotRect, RGB(0,0,0) ); - - dc_plot.SelectObject( &GreenPen ); - nDraw_Bottom = ( plotRect.bottom - 5 ); - - for( index=0; index 2000000.0 ) m_fSampleRate = 2000000.0; - break; - case SB_LINEDOWN: - m_fSampleRate -= 50000; - if (m_fSampleRate < 50000 ) m_fSampleRate = 50000; - break; - } - - SetDlgItemInt( IDC_EDIT_SAMPLE_RATE, (UINT)(m_fSampleRate/1000) ); - - CDialog::OnVScroll(nSBCode, nPos, pScrollBar); -} diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223DOWave_ReTrigger/9223WavDlg.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223DOWave_ReTrigger/9223WavDlg.h deleted file mode 100644 index a817d2c..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223DOWave_ReTrigger/9223WavDlg.h +++ /dev/null @@ -1,66 +0,0 @@ - -// 9223WavDlg.h : header file -// -#include "Dask.h" - -#pragma once - - -// C9223WavDlg dialog -class C9223WavDlg : public CDialog -{ -// Construction -public: - C9223WavDlg(I16 hCard, CWnd* pParent = NULL); // standard constructor - -// Dialog Data - enum { IDD = IDD_MY9223WAV_DIALOG }; - - protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - - -// Implementation -protected: - HICON m_hIcon; - I16 m_hCard; - UINT_PTR m_nTimer; - U16* m_pDIAddr1; - U16* m_pDIAddr2; - U32 m_dwDISamples; - HBRUSH OnBrush; - HBRUSH OffBrush; - CPen RedPen; - CPen GreenPen; - DWORD max_val; - DWORD min_val; - int y_divider; - int x_divider; - int m_DisplayScale; - double m_fSampleRate; - U16 m_wDOBufferId; - U16 m_wDIBufId1; - U16 m_wDIBufId2; - U8 m_bView; - U32 m_dwOverrunCnt; - BOOLEAN m_bDOStop; - - // Generated message map functions - virtual BOOL OnInitDialog(); - afx_msg void OnSysCommand(UINT nID, LPARAM lParam); - afx_msg void OnPaint(); - afx_msg HCURSOR OnQueryDragIcon(); - DECLARE_MESSAGE_MAP() -public: - afx_msg void OnDestroy(); - afx_msg void OnStart(); - afx_msg void OnStop(); - afx_msg void OnTimer(UINT_PTR nIDEvent); - void display_buffer_data(U16* pBuf); - void redraw_display_area(void); - afx_msg void OnVScroll(UINT nSBCode, UINT nPos, CScrollBar* pScrollBar); - -private: - int n_PlotHeight; - int n_PlotWidth; -}; diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223DOWave_ReTrigger/CardIDDlg.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223DOWave_ReTrigger/CardIDDlg.cpp deleted file mode 100644 index 1c5061b..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223DOWave_ReTrigger/CardIDDlg.cpp +++ /dev/null @@ -1,67 +0,0 @@ -// CardIDDlg.cpp : implementation file -// - -#include "stdafx.h" -#include "9223Wav.h" -#include "CardIDDlg.h" - - -// CCardIDDlg dialog - -IMPLEMENT_DYNAMIC(CCardIDDlg, CDialog) - -CCardIDDlg::CCardIDDlg(int nCardIdx, CWnd* pParent /*=NULL*/) - : CDialog(CCardIDDlg::IDD, pParent) -{ - m_nCardIdx = nCardIdx; -} - -CCardIDDlg::~CCardIDDlg() -{ -} - -void CCardIDDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); - DDX_Control(pDX, IDC_COMBO_CARDID, m_cbCardID); -} - - -BEGIN_MESSAGE_MAP(CCardIDDlg, CDialog) -// ON_CBN_SELCHANGE(IDC_COMBO_CARDID, &CCardIDDlg::OnCbnSelchangeComboCardid) -ON_BN_CLICKED(IDOK, &CCardIDDlg::OnBnClickedOk) -//ON_WM_CTLCOLOR() -END_MESSAGE_MAP() - - -// CCardIDDlg message handlers - - -void CCardIDDlg::OnBnClickedOk() -{ - // TODO: Add your control notification handler code here - -// UpdateData(TRUE); - m_nCardIdx = m_cbCardID.GetCurSel(); - - OnOK(); -} - -BOOL CCardIDDlg::OnInitDialog() -{ - CDialog::OnInitDialog(); - - // TODO: Add extra initialization here - m_cbCardID.SetCurSel( m_nCardIdx ); - - return TRUE; // return TRUE unless you set the focus to a control - // EXCEPTION: OCX Property Pages should return FALSE -} - -// the function to get the selected CardID -int CCardIDDlg::GetCardID(void) -{ - return m_nCardIdx; -} - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223DOWave_ReTrigger/CardIDDlg.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223DOWave_ReTrigger/CardIDDlg.h deleted file mode 100644 index 54628ea..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223DOWave_ReTrigger/CardIDDlg.h +++ /dev/null @@ -1,33 +0,0 @@ -#pragma once -#include "afxwin.h" - - -// CCardIDDlg dialog - -class CCardIDDlg : public CDialog -{ - DECLARE_DYNAMIC(CCardIDDlg) - -public: - CCardIDDlg(int nCardIdx, CWnd* pParent = NULL); // standard constructor - virtual ~CCardIDDlg(); - -// Dialog Data - enum { IDD = IDD_CARDID_DIALOG }; - -protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - - DECLARE_MESSAGE_MAP() -public: -// afx_msg void OnCbnSelchangeComboCardid(); - afx_msg void OnBnClickedOk(); - // the setting of CardID ComboBox - int m_nCardIdx; - virtual BOOL OnInitDialog(); - // the control of CardID ComboBox - CComboBox m_cbCardID; - // the function to get the selected CardID - int GetCardID(void); -// afx_msg HBRUSH OnCtlColor(CDC* pDC, CWnd* pWnd, UINT nCtlColor); -}; diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223DOWave_ReTrigger/ReadMe.txt b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223DOWave_ReTrigger/ReadMe.txt deleted file mode 100644 index 7cae3bc..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223DOWave_ReTrigger/ReadMe.txt +++ /dev/null @@ -1,93 +0,0 @@ -================================================================================ - MICROSOFT FOUNDATION CLASS LIBRARY : 9223Wav Project Overview -=============================================================================== - -The application wizard has created this 9223Wav application for -you. This application not only demonstrates the basics of using the Microsoft -Foundation Classes but is also a starting point for writing your application. - -This file contains a summary of what you will find in each of the files that -make up your 9223Wav application. - -9223Wav.vcproj - This is the main project file for VC++ projects generated using an application wizard. - It contains information about the version of Visual C++ that generated the file, and - information about the platforms, configurations, and project features selected with the - application wizard. - -9223Wav.h - This is the main header file for the application. It includes other - project specific headers (including Resource.h) and declares the - C9223WavApp application class. - -9223Wav.cpp - This is the main application source file that contains the application - class C9223WavApp. - -9223Wav.rc - This is a listing of all of the Microsoft Windows resources that the - program uses. It includes the icons, bitmaps, and cursors that are stored - in the RES subdirectory. This file can be directly edited in Microsoft - Visual C++. Your project resources are in 1033. - -res\9223Wav.ico - This is an icon file, which is used as the application's icon. This - icon is included by the main resource file 9223Wav.rc. - -res\My9223Wav.rc2 - This file contains resources that are not edited by Microsoft - Visual C++. You should place all resources not editable by - the resource editor in this file. - - -///////////////////////////////////////////////////////////////////////////// - -The application wizard creates one dialog class: - -9223WavDlg.h, 9223WavDlg.cpp - the dialog - These files contain your C9223WavDlg class. This class defines - the behavior of your application's main dialog. The dialog's template is - in 9223Wav.rc, which can be edited in Microsoft Visual C++. - - -///////////////////////////////////////////////////////////////////////////// - -Other Features: - -ActiveX Controls - The application includes support to use ActiveX controls. - -///////////////////////////////////////////////////////////////////////////// - -Other standard files: - -StdAfx.h, StdAfx.cpp - These files are used to build a precompiled header (PCH) file - named 9223Wav.pch and a precompiled types file named StdAfx.obj. - -Resource.h - This is the standard header file, which defines new resource IDs. - Microsoft Visual C++ reads and updates this file. - -9223Wav.manifest - Application manifest files are used by Windows XP to describe an applications - dependency on specific versions of Side-by-Side assemblies. The loader uses this - information to load the appropriate assembly from the assembly cache or private - from the application. The Application manifest maybe included for redistribution - as an external .manifest file that is installed in the same folder as the application - executable or it may be included in the executable in the form of a resource. -///////////////////////////////////////////////////////////////////////////// - -Other notes: - -The application wizard uses "TODO:" to indicate parts of the source code you -should add to or customize. - -If your application uses MFC in a shared DLL, you will need -to redistribute the MFC DLLs. If your application is in a language -other than the operating system's locale, you will also have to -redistribute the corresponding localized resources MFC90XXX.DLL. -For more information on both of these topics, please see the section on -redistributing Visual C++ applications in MSDN documentation. - -///////////////////////////////////////////////////////////////////////////// diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223DOWave_ReTrigger/res/9223Wav.ico b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223DOWave_ReTrigger/res/9223Wav.ico deleted file mode 100644 index d56fbcd..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223DOWave_ReTrigger/res/9223Wav.ico and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223DOWave_ReTrigger/res/My9223Wav.rc2 b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223DOWave_ReTrigger/res/My9223Wav.rc2 deleted file mode 100644 index 440d4a5..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223DOWave_ReTrigger/res/My9223Wav.rc2 +++ /dev/null @@ -1,13 +0,0 @@ -// -// My7200Wav.RC2 - resources Microsoft Visual C++ does not edit directly -// - -#ifdef APSTUDIO_INVOKED -#error this file is not editable by Microsoft Visual C++ -#endif //APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// Add manually edited resources here... - -///////////////////////////////////////////////////////////////////////////// diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223DOWave_ReTrigger/resource.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223DOWave_ReTrigger/resource.h deleted file mode 100644 index 75c8a35..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223DOWave_ReTrigger/resource.h +++ /dev/null @@ -1,29 +0,0 @@ -//{{NO_DEPENDENCIES}} -// Microsoft Visual C++ generated include file. -// Used by 9223Wav.rc -// -#define IDM_ABOUTBOX 0x0010 -#define IDD_ABOUTBOX 100 -#define IDS_ABOUTBOX 101 -#define IDD_MY9223WAV_DIALOG 102 -#define IDR_MAINFRAME 128 -#define IDD_CARDID_DIALOG 129 -#define IDC_STATIC_DRAW 1000 -#define IDC_EDIT_SAMPLE 1001 -#define IDC_EDIT_SAMPLE_RATE 1003 -#define IDC_SCROLLBAR_RATE 1006 -#define IDC_COMBO_CARDID 1007 -#define IDC_BT_START 1008 -#define IDC_BT_STOP 1009 -#define IDC_STATIC_01 1014 - -// Next default values for new objects -// -#ifdef APSTUDIO_INVOKED -#ifndef APSTUDIO_READONLY_SYMBOLS -#define _APS_NEXT_RESOURCE_VALUE 131 -#define _APS_NEXT_COMMAND_VALUE 32771 -#define _APS_NEXT_CONTROL_VALUE 1000 -#define _APS_NEXT_SYMED_VALUE 101 -#endif -#endif diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223DOWave_ReTrigger/stdafx.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223DOWave_ReTrigger/stdafx.cpp deleted file mode 100644 index b5184d9..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223DOWave_ReTrigger/stdafx.cpp +++ /dev/null @@ -1,8 +0,0 @@ - -// stdafx.cpp : source file that includes just the standard includes -// 7200Wav.pch will be the pre-compiled header -// stdafx.obj will contain the pre-compiled type information - -#include "stdafx.h" - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223DOWave_ReTrigger/stdafx.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223DOWave_ReTrigger/stdafx.h deleted file mode 100644 index 12123e2..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223DOWave_ReTrigger/stdafx.h +++ /dev/null @@ -1,60 +0,0 @@ - -// stdafx.h : include file for standard system include files, -// or project specific include files that are used frequently, -// but are changed infrequently - -#pragma once - -#ifndef _SECURE_ATL -#define _SECURE_ATL 1 -#endif - -#ifndef VC_EXTRALEAN -#define VC_EXTRALEAN // Exclude rarely-used stuff from Windows headers -#endif - -#include "targetver.h" - -#define _ATL_CSTRING_EXPLICIT_CONSTRUCTORS // some CString constructors will be explicit - -// turns off MFC's hiding of some common and often safely ignored warning messages -#define _AFX_ALL_WARNINGS - -#include // MFC core and standard components -#include // MFC extensions - - -#include // MFC Automation classes - - - -#ifndef _AFX_NO_OLE_SUPPORT -#include // MFC support for Internet Explorer 4 Common Controls -#endif -#ifndef _AFX_NO_AFXCMN_SUPPORT -#include // MFC support for Windows Common Controls -#endif // _AFX_NO_AFXCMN_SUPPORT - -#include // MFC support for ribbons and control bars - - - - - - - - - -#ifdef _UNICODE -#if defined _M_IX86 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='x86' publicKeyToken='6595b64144ccf1df' language='*'\"") -#elif defined _M_IA64 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='ia64' publicKeyToken='6595b64144ccf1df' language='*'\"") -#elif defined _M_X64 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='amd64' publicKeyToken='6595b64144ccf1df' language='*'\"") -#else -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='*' publicKeyToken='6595b64144ccf1df' language='*'\"") -#endif -#endif - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223DOWave_ReTrigger/targetver.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223DOWave_ReTrigger/targetver.h deleted file mode 100644 index 11730d5..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223DOWave_ReTrigger/targetver.h +++ /dev/null @@ -1,26 +0,0 @@ - -#pragma once - -// The following macros define the minimum required platform. The minimum required platform -// is the earliest version of Windows, Internet Explorer etc. that has the necessary features to run -// your application. The macros work by enabling all features available on platform versions up to and -// including the version specified. - -// Modify the following defines if you have to target a platform prior to the ones specified below. -// Refer to MSDN for the latest info on corresponding values for different platforms. -#ifndef WINVER // Specifies that the minimum required platform is Windows Vista. -#define WINVER 0x0600 // Change this to the appropriate value to target other versions of Windows. -#endif - -#ifndef _WIN32_WINNT // Specifies that the minimum required platform is Windows Vista. -#define _WIN32_WINNT 0x0600 // Change this to the appropriate value to target other versions of Windows. -#endif - -#ifndef _WIN32_WINDOWS // Specifies that the minimum required platform is Windows 98. -#define _WIN32_WINDOWS 0x0410 // Change this to the appropriate value to target Windows Me or later. -#endif - -#ifndef _WIN32_IE // Specifies that the minimum required platform is Internet Explorer 7.0. -#define _WIN32_IE 0x0700 // Change this to the appropriate value to target other versions of IE. -#endif - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223GPTC/CardIDDlg.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223GPTC/CardIDDlg.cpp deleted file mode 100644 index ad5f911..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223GPTC/CardIDDlg.cpp +++ /dev/null @@ -1,67 +0,0 @@ -// CardIDDlg.cpp : implementation file -// - -#include "stdafx.h" -#include "SDK9223GPTC.h" -#include "CardIDDlg.h" - - -// CCardIDDlg dialog - -IMPLEMENT_DYNAMIC(CCardIDDlg, CDialog) - -CCardIDDlg::CCardIDDlg(int nCardIdx, CWnd* pParent /*=NULL*/) - : CDialog(CCardIDDlg::IDD, pParent) -{ - m_nCardIdx = nCardIdx; -} - -CCardIDDlg::~CCardIDDlg() -{ -} - -void CCardIDDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); - DDX_Control(pDX, IDC_COMBO_CARDID, m_cbCardID); -} - - -BEGIN_MESSAGE_MAP(CCardIDDlg, CDialog) -// ON_CBN_SELCHANGE(IDC_COMBO_CARDID, &CCardIDDlg::OnCbnSelchangeComboCardid) -ON_BN_CLICKED(IDOK, &CCardIDDlg::OnBnClickedOk) -//ON_WM_CTLCOLOR() -END_MESSAGE_MAP() - - -// CCardIDDlg message handlers - - -void CCardIDDlg::OnBnClickedOk() -{ - // TODO: Add your control notification handler code here - -// UpdateData(TRUE); - m_nCardIdx = m_cbCardID.GetCurSel(); - - OnOK(); -} - -BOOL CCardIDDlg::OnInitDialog() -{ - CDialog::OnInitDialog(); - - // TODO: Add extra initialization here - m_cbCardID.SetCurSel( m_nCardIdx ); - - return TRUE; // return TRUE unless you set the focus to a control - // EXCEPTION: OCX Property Pages should return FALSE -} - -// the function to get the selected CardID -int CCardIDDlg::GetCardID(void) -{ - return m_nCardIdx; -} - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223GPTC/CardIDDlg.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223GPTC/CardIDDlg.h deleted file mode 100644 index 54628ea..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223GPTC/CardIDDlg.h +++ /dev/null @@ -1,33 +0,0 @@ -#pragma once -#include "afxwin.h" - - -// CCardIDDlg dialog - -class CCardIDDlg : public CDialog -{ - DECLARE_DYNAMIC(CCardIDDlg) - -public: - CCardIDDlg(int nCardIdx, CWnd* pParent = NULL); // standard constructor - virtual ~CCardIDDlg(); - -// Dialog Data - enum { IDD = IDD_CARDID_DIALOG }; - -protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - - DECLARE_MESSAGE_MAP() -public: -// afx_msg void OnCbnSelchangeComboCardid(); - afx_msg void OnBnClickedOk(); - // the setting of CardID ComboBox - int m_nCardIdx; - virtual BOOL OnInitDialog(); - // the control of CardID ComboBox - CComboBox m_cbCardID; - // the function to get the selected CardID - int GetCardID(void); -// afx_msg HBRUSH OnCtlColor(CDC* pDC, CWnd* pWnd, UINT nCtlColor); -}; diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223GPTC/ReadMe.txt b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223GPTC/ReadMe.txt deleted file mode 100644 index 313667f..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223GPTC/ReadMe.txt +++ /dev/null @@ -1,93 +0,0 @@ -================================================================================ - MICROSOFT FOUNDATION CLASS LIBRARY : SDK9223GPTC Project Overview -=============================================================================== - -The application wizard has created this SDK9223GPTC application for -you. This application not only demonstrates the basics of using the Microsoft -Foundation Classes but is also a starting point for writing your application. - -This file contains a summary of what you will find in each of the files that -make up your SDK9223GPTC application. - -SDK9223GPTC.vcproj - This is the main project file for VC++ projects generated using an application wizard. - It contains information about the version of Visual C++ that generated the file, and - information about the platforms, configurations, and project features selected with the - application wizard. - -SDK9223GPTC.h - This is the main header file for the application. It includes other - project specific headers (including Resource.h) and declares the - CSDK9223GPTCApp application class. - -SDK9223GPTC.cpp - This is the main application source file that contains the application - class CSDK9223GPTCApp. - -SDK9223GPTC.rc - This is a listing of all of the Microsoft Windows resources that the - program uses. It includes the icons, bitmaps, and cursors that are stored - in the RES subdirectory. This file can be directly edited in Microsoft - Visual C++. Your project resources are in 1033. - -res\SDK9223GPTC.ico - This is an icon file, which is used as the application's icon. This - icon is included by the main resource file SDK9223GPTC.rc. - -res\SDK9223GPTC.rc2 - This file contains resources that are not edited by Microsoft - Visual C++. You should place all resources not editable by - the resource editor in this file. - - -///////////////////////////////////////////////////////////////////////////// - -The application wizard creates one dialog class: - -SDK9223GPTCDlg.h, SDK9223GPTCDlg.cpp - the dialog - These files contain your CSDK9223GPTCDlg class. This class defines - the behavior of your application's main dialog. The dialog's template is - in SDK9223GPTC.rc, which can be edited in Microsoft Visual C++. - - -///////////////////////////////////////////////////////////////////////////// - -Other Features: - -ActiveX Controls - The application includes support to use ActiveX controls. - -///////////////////////////////////////////////////////////////////////////// - -Other standard files: - -StdAfx.h, StdAfx.cpp - These files are used to build a precompiled header (PCH) file - named SDK9223GPTC.pch and a precompiled types file named StdAfx.obj. - -Resource.h - This is the standard header file, which defines new resource IDs. - Microsoft Visual C++ reads and updates this file. - -SDK9223GPTC.manifest - Application manifest files are used by Windows XP to describe an applications - dependency on specific versions of Side-by-Side assemblies. The loader uses this - information to load the appropriate assembly from the assembly cache or private - from the application. The Application manifest maybe included for redistribution - as an external .manifest file that is installed in the same folder as the application - executable or it may be included in the executable in the form of a resource. -///////////////////////////////////////////////////////////////////////////// - -Other notes: - -The application wizard uses "TODO:" to indicate parts of the source code you -should add to or customize. - -If your application uses MFC in a shared DLL, you will need -to redistribute the MFC DLLs. If your application is in a language -other than the operating system's locale, you will also have to -redistribute the corresponding localized resources MFC90XXX.DLL. -For more information on both of these topics, please see the section on -redistributing Visual C++ applications in MSDN documentation. - -///////////////////////////////////////////////////////////////////////////// diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223GPTC/SDK9222GPTC.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223GPTC/SDK9222GPTC.suo deleted file mode 100644 index 8274fb2..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223GPTC/SDK9222GPTC.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223GPTC/SDK9223GPTC.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223GPTC/SDK9223GPTC.cpp deleted file mode 100644 index 5daca41..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223GPTC/SDK9223GPTC.cpp +++ /dev/null @@ -1,109 +0,0 @@ - -// SDK9223GPTC.cpp : Defines the class behaviors for the application. -// - -#include "stdafx.h" -#include "SDK9223GPTC.h" -#include "SDK9223GPTCDlg.h" -#include "CardIDDlg.h" - -#ifdef _DEBUG -#define new DEBUG_NEW -#endif - - -// CSDK9223GPTCApp - -BEGIN_MESSAGE_MAP(CSDK9223GPTCApp, CWinAppEx) - ON_COMMAND(ID_HELP, &CWinApp::OnHelp) -END_MESSAGE_MAP() - - -// CSDK9223GPTCApp construction - -CSDK9223GPTCApp::CSDK9223GPTCApp() -{ - // TODO: add construction code here, - // Place all significant initialization in InitInstance -} - - -// The one and only CSDK9223GPTCApp object - -CSDK9223GPTCApp theApp; - - -// CSDK9223GPTCApp initialization - -BOOL CSDK9223GPTCApp::InitInstance() -{ - int nCardID = 0; - I16 hCard; - CString strTemp; - INT_PTR nResponse; - - // InitCommonControlsEx() is required on Windows XP if an application - // manifest specifies use of ComCtl32.dll version 6 or later to enable - // visual styles. Otherwise, any window creation will fail. - INITCOMMONCONTROLSEX InitCtrls; - InitCtrls.dwSize = sizeof(InitCtrls); - // Set this to include all the common control classes you want to use - // in your application. - InitCtrls.dwICC = ICC_WIN95_CLASSES; - InitCommonControlsEx(&InitCtrls); - - CWinAppEx::InitInstance(); - - AfxEnableControlContainer(); - - // Standard initialization - // If you are not using these features and wish to reduce the size - // of your final executable, you should remove from the following - // the specific initialization routines you do not need - // Change the registry key under which our settings are stored - // TODO: You should modify this string to be something appropriate - // such as the name of your company or organization - SetRegistryKey(_T("Local AppWizard-Generated Applications")); - - CCardIDDlg CardDlg( nCardID ); - - nResponse = CardDlg.DoModal(); - if (nResponse == IDOK) - { - nCardID = CardDlg.GetCardID(); - - if ((hCard=Register_Card(PCI_9223, nCardID)) < 0) - { - strTemp.Format( TEXT("Register_Card Error = %d"), hCard); - AfxMessageBox( strTemp ); - } - else - { - CSDK9223GPTCDlg dlg(hCard); - m_pMainWnd = &dlg; - nResponse = dlg.DoModal(); - if (nResponse == IDOK) - { - // TODO: Place code here to handle when the dialog is - // dismissed with OK - } - else if (nResponse == IDCANCEL) - { - // TODO: Place code here to handle when the dialog is - // dismissed with Cancel - } - - if (hCard >= 0) Release_Card(hCard); - } - - } - else if (nResponse == IDCANCEL) - { - // TODO: Place code here to handle when the dialog is - // dismissed with Cancel - } - - // Since the dialog has been closed, return FALSE so that we exit the - // application, rather than start the application's message pump. - return FALSE; -} diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223GPTC/SDK9223GPTC.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223GPTC/SDK9223GPTC.h deleted file mode 100644 index 7037bcd..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223GPTC/SDK9223GPTC.h +++ /dev/null @@ -1,32 +0,0 @@ - -// SDK9223GPTC.h : main header file for the PROJECT_NAME application -// - -#pragma once - -#ifndef __AFXWIN_H__ - #error "include 'stdafx.h' before including this file for PCH" -#endif - -#include "resource.h" // main symbols - - -// CSDK9223GPTCApp: -// See SDK9223GPTC.cpp for the implementation of this class -// - -class CSDK9223GPTCApp : public CWinAppEx -{ -public: - CSDK9223GPTCApp(); - -// Overrides - public: - virtual BOOL InitInstance(); - -// Implementation - - DECLARE_MESSAGE_MAP() -}; - -extern CSDK9223GPTCApp theApp; \ No newline at end of file diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223GPTC/SDK9223GPTC.rc b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223GPTC/SDK9223GPTC.rc deleted file mode 100644 index e523d76..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223GPTC/SDK9223GPTC.rc +++ /dev/null @@ -1,373 +0,0 @@ -// Microsoft Visual C++ generated resource script. -// -#include "resource.h" - -#define APSTUDIO_READONLY_SYMBOLS -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 2 resource. -// -#ifndef APSTUDIO_INVOKED -#include "targetver.h" -#endif -#include "afxres.h" - -///////////////////////////////////////////////////////////////////////////// -#undef APSTUDIO_READONLY_SYMBOLS - -///////////////////////////////////////////////////////////////////////////// -// Chinese (Taiwan) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_CHT) -#ifdef _WIN32 -LANGUAGE LANG_CHINESE, SUBLANG_CHINESE_TRADITIONAL -#pragma code_page(950) -#endif //_WIN32 - -#ifdef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// TEXTINCLUDE -// - -1 TEXTINCLUDE -BEGIN - "resource.h\0" -END - -2 TEXTINCLUDE -BEGIN - "#ifndef APSTUDIO_INVOKED\r\n" - "#include ""targetver.h""\r\n" - "#endif\r\n" - "#include ""afxres.h""\r\n" - "\0" -END - -3 TEXTINCLUDE -BEGIN - "#define _AFX_NO_SPLITTER_RESOURCES\r\n" - "#define _AFX_NO_OLE_RESOURCES\r\n" - "#define _AFX_NO_TRACKER_RESOURCES\r\n" - "#define _AFX_NO_PROPERTY_RESOURCES\r\n" - "\r\n" - "#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)\r\n" - "LANGUAGE 9, 1\r\n" - "#pragma code_page(1252)\r\n" - "#include ""res\\SDK9223GPTC.rc2"" // non-Microsoft Visual C++ edited resources\r\n" - "#include ""afxres.rc"" // Standard components\r\n" - "#endif\r\n" - "\0" -END - -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// Icon -// - -// Icon with lowest ID value placed first to ensure application icon -// remains consistent on all systems. -IDR_MAINFRAME ICON "res\\SDK9223GPTC.ico" - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog -// - -IDD_CARDID_DIALOG DIALOGEX 0, 0, 172, 103 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "Card ID" -FONT 8, "MS Shell Dlg", 400, 0, 0x1 -BEGIN - COMBOBOX IDC_COMBO_CARDID,75,24,71,126,CBS_DROPDOWN | WS_VSCROLL | WS_TABSTOP - LTEXT "Card Number",IDC_STATIC_01,21,25,46,12 - PUSHBUTTON "OK",IDOK,23,61,58,19 - PUSHBUTTON "CANCEL",IDCANCEL,87,61,58,19 -END - - -///////////////////////////////////////////////////////////////////////////// -// -// DESIGNINFO -// - -#ifdef APSTUDIO_INVOKED -GUIDELINES DESIGNINFO -BEGIN - IDD_CARDID_DIALOG, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 165 - TOPMARGIN, 7 - BOTTOMMARGIN, 96 - END -END -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog Info -// - -IDD_CARDID_DIALOG DLGINIT -BEGIN - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0030, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0031, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0032, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0033, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0034, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0035, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0036, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0037, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0038, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0039, - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3031, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3131, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3231, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3331, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3431, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3531, "\000" - 0 -END - -#endif // Chinese (Taiwan) resources -///////////////////////////////////////////////////////////////////////////// - - -///////////////////////////////////////////////////////////////////////////// -// English (U.S.) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -#ifdef _WIN32 -LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US -#pragma code_page(1252) -#endif //_WIN32 - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog -// - -IDD_ABOUTBOX DIALOGEX 0, 0, 170, 62 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "About SDK9223GPTC" -FONT 8, "MS Shell Dlg", 0, 0, 0x1 -BEGIN - ICON IDR_MAINFRAME,IDC_STATIC,14,14,21,20 - LTEXT "SDK9223GPTC, Version 1.0",IDC_STATIC,42,14,114,8,SS_NOPREFIX - LTEXT "Copyright (C) 2010",IDC_STATIC,42,26,114,8 - DEFPUSHBUTTON "OK",IDOK,113,41,50,14,WS_GROUP -END - -IDD_SDK9223GPTC_DIALOG DIALOGEX 0, 0, 418, 309 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU -EXSTYLE WS_EX_APPWINDOW -CAPTION "PCI-9223 General Purpuse Timer Counter" -FONT 8, "MS Shell Dlg", 0, 0, 0x1 -BEGIN - GROUPBOX "",IDC_STATIC,7,46,190,112 - GROUPBOX "",IDC_STATIC,208,46,190,112 - GROUPBOX "",IDC_STATIC,7,181,190,112 - GROUPBOX "",IDC_STATIC,208,181,190,112 - CONTROL "Simple Gated Event Count Mode",IDC_RADIO_MODE0,"Button",BS_AUTORADIOBUTTON | WS_GROUP,7,33,188,15 - CONTROL "Pulse Measurement Mode",IDC_RADIO_MODE1,"Button",BS_AUTORADIOBUTTON,208,33,188,15 - CONTROL "Single Pulse Generation Mode",IDC_RADIO_MODE2,"Button",BS_AUTORADIOBUTTON,7,166,188,15 - CONTROL "Pulse Train Generation Mode",IDC_RADIO_MODE3,"Button",BS_AUTORADIOBUTTON,209,166,188,15 - PUSHBUTTON "Start",IDC_BT_MODE0,130,132,57,21 - LTEXT "Initial Count :",IDC_STATIC,18,64,48,11 - EDITTEXT IDC_EDIT_INIT_CNT0,91,61,72,15,ES_AUTOHSCROLL | ES_READONLY - LTEXT "Current Status :",IDC_STATIC,18,82,57,11 - EDITTEXT IDC_EDIT_STATUS0,91,83,72,15,ES_AUTOHSCROLL | ES_READONLY - COMBOBOX IDC_COMBO_MODE1,224,64,137,53,CBS_DROPDOWN | WS_VSCROLL | WS_TABSTOP - LTEXT "Select the GPTC :",IDC_STATIC,7,7,61,12 - COMBOBOX IDC_COMBO_GPTC,76,7,97,37,CBS_DROPDOWN | CBS_SORT | WS_VSCROLL | WS_TABSTOP - LTEXT "Measure pulse period of a pulse from GPTC/GTAED pin.",IDC_STATIC_MODE1,217,106,171,19 - LTEXT "Pulse Period: sec.",IDC_STATIC_RESULT01,217,88,171,16 - COMBOBOX IDC_COMBO_MODE2,21,198,137,53,CBS_DROPDOWN | WS_VSCROLL | WS_TABSTOP - LTEXT "Pulse Period: sec.",IDC_STATIC_RESULT2,18,221,171,18 - LTEXT "Generate pulse to GPTC out pin while GATED pin is high.",IDC_STATIC_MODE2,18,244,171,20 - COMBOBOX IDC_COMBO_MODE3,219,198,171,53,CBS_DROPDOWN | WS_VSCROLL | WS_TABSTOP - LTEXT "Generate pulse train to GPTC/OUT pin while GATED pin is high.",IDC_STATIC_MODE3,218,244,171,20 - LTEXT "Pulse Period: sec.",IDC_STATIC_RESULT3,217,221,171,18 - PUSHBUTTON "Start",IDC_BT_MODE1,333,132,57,21 - PUSHBUTTON "Start",IDC_BT_MODE2,133,268,57,21 - PUSHBUTTON "Start",IDC_BT_MODE3,333,268,57,21 -END - - -///////////////////////////////////////////////////////////////////////////// -// -// DESIGNINFO -// - -#ifdef APSTUDIO_INVOKED -GUIDELINES DESIGNINFO -BEGIN - IDD_ABOUTBOX, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 163 - TOPMARGIN, 7 - BOTTOMMARGIN, 55 - END - - IDD_SDK9223GPTC_DIALOG, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 411 - TOPMARGIN, 7 - BOTTOMMARGIN, 302 - END -END -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog Info -// - -IDD_SDK9223GPTC_DIALOG DLGINIT -BEGIN - IDC_COMBO_MODE1, 0x403, 25, 0 -0x7550, 0x736c, 0x2065, 0x6550, 0x6972, 0x646f, 0x4d20, 0x6165, 0x7573, -0x6572, 0x656d, 0x746e, "\000" - IDC_COMBO_MODE1, 0x403, 24, 0 -0x7550, 0x736c, 0x2065, 0x6957, 0x7464, 0x2068, 0x654d, 0x7361, 0x7275, -0x6d65, 0x6e65, 0x0074, - IDC_COMBO_MODE1, 0x403, 34, 0 -0x7550, 0x736c, 0x2065, 0x6445, 0x6567, 0x5320, 0x7065, 0x7261, 0x7461, -0x6f69, 0x206e, 0x654d, 0x7361, 0x7275, 0x6d65, 0x6e65, 0x0074, - IDC_COMBO_GPTC, 0x403, 7, 0 -0x5047, 0x4354, 0x3023, "\000" - IDC_COMBO_GPTC, 0x403, 7, 0 -0x5047, 0x4354, 0x3123, "\000" - IDC_COMBO_GPTC, 0x403, 7, 0 -0x5047, 0x4354, 0x3223, "\000" - IDC_COMBO_GPTC, 0x403, 7, 0 -0x5047, 0x4354, 0x3323, "\000" - IDC_COMBO_MODE2, 0x403, 30, 0 -0x6953, 0x676e, 0x656c, 0x4720, 0x7461, 0x6465, 0x5020, 0x6c75, 0x6573, -0x4720, 0x6e65, 0x7265, 0x7461, 0x6f69, 0x006e, - IDC_COMBO_MODE2, 0x403, 37, 0 -0x6953, 0x676e, 0x656c, 0x5020, 0x6c75, 0x6573, 0x4720, 0x6e65, 0x7265, -0x7461, 0x6f69, 0x206e, 0x6977, 0x6874, 0x7420, 0x6972, 0x6767, 0x7265, -"\000" - IDC_COMBO_MODE2, 0x403, 40, 0 -0x6953, 0x676e, 0x656c, 0x5020, 0x6c75, 0x6573, 0x4720, 0x6e65, 0x7265, -0x7461, 0x6f69, 0x206e, 0x6977, 0x6874, 0x5220, 0x2d65, 0x7274, 0x6769, -0x6567, 0x0072, - IDC_COMBO_MODE3, 0x403, 45, 0 -0x6f43, 0x746e, 0x6e69, 0x6f75, 0x7375, 0x5020, 0x6c75, 0x6573, 0x5420, -0x6172, 0x6e69, 0x4720, 0x6e65, 0x7265, 0x7461, 0x6f69, 0x206e, 0x6977, -0x6874, 0x4720, 0x7461, 0x6465, "\000" - IDC_COMBO_MODE3, 0x403, 47, 0 -0x6f43, 0x746e, 0x6e69, 0x6f75, 0x7375, 0x5020, 0x6c75, 0x6573, 0x5420, -0x6172, 0x6e69, 0x4720, 0x6e65, 0x7265, 0x7461, 0x6f69, 0x206e, 0x6977, -0x6874, 0x7420, 0x6972, 0x6767, 0x7265, "\000" - IDC_COMBO_MODE3, 0x403, 38, 0 -0x6f43, 0x746e, 0x6e69, 0x6f75, 0x7375, 0x5020, 0x4d57, 0x5020, 0x6c75, -0x6573, 0x5420, 0x6172, 0x6e69, 0x4720, 0x6e65, 0x7265, 0x7461, 0x6f69, -0x006e, - IDC_COMBO_MODE3, 0x403, 51, 0 -0x6f43, 0x746e, 0x6e69, 0x6f75, 0x7375, 0x5020, 0x4d57, 0x5020, 0x6c75, -0x6573, 0x5420, 0x6172, 0x6e69, 0x4720, 0x6e65, 0x7265, 0x7461, 0x6f69, -0x206e, 0x6977, 0x6874, 0x7420, 0x6972, 0x6767, 0x7265, "\000" - 0 -END - - -///////////////////////////////////////////////////////////////////////////// -// -// Version -// - -VS_VERSION_INFO VERSIONINFO - FILEVERSION 1,0,0,1 - PRODUCTVERSION 1,0,0,1 - FILEFLAGSMASK 0x3fL -#ifdef _DEBUG - FILEFLAGS 0x1L -#else - FILEFLAGS 0x0L -#endif - FILEOS 0x4L - FILETYPE 0x1L - FILESUBTYPE 0x0L -BEGIN - BLOCK "StringFileInfo" - BEGIN - BLOCK "040904e4" - BEGIN - VALUE "CompanyName", "TODO: " - VALUE "FileDescription", "TODO: " - VALUE "FileVersion", "1.0.0.1" - VALUE "InternalName", "SDK9223GPTC.exe" - VALUE "LegalCopyright", "TODO: (c) . All rights reserved." - VALUE "OriginalFilename", "SDK9223GPTC.exe" - VALUE "ProductName", "TODO: " - VALUE "ProductVersion", "1.0.0.1" - END - END - BLOCK "VarFileInfo" - BEGIN - VALUE "Translation", 0x409, 1252 - END -END - - -///////////////////////////////////////////////////////////////////////////// -// -// String Table -// - -STRINGTABLE -BEGIN - IDS_ABOUTBOX "&About SDK9223GPTC..." -END - -#endif // English (U.S.) resources -///////////////////////////////////////////////////////////////////////////// - - - -#ifndef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 3 resource. -// -#define _AFX_NO_SPLITTER_RESOURCES -#define _AFX_NO_OLE_RESOURCES -#define _AFX_NO_TRACKER_RESOURCES -#define _AFX_NO_PROPERTY_RESOURCES - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -LANGUAGE 9, 1 -#pragma code_page(1252) -#include "res\SDK9223GPTC.rc2" // non-Microsoft Visual C++ edited resources -#include "afxres.rc" // Standard components -#endif - -///////////////////////////////////////////////////////////////////////////// -#endif // not APSTUDIO_INVOKED - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223GPTC/SDK9223GPTC.sln b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223GPTC/SDK9223GPTC.sln deleted file mode 100644 index 15defd1..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223GPTC/SDK9223GPTC.sln +++ /dev/null @@ -1,20 +0,0 @@ - -Microsoft Visual Studio Solution File, Format Version 10.00 -# Visual Studio 2008 -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "SDK9223GPTC", "SDK9223GPTC.vcproj", "{E44C0848-3913-45FB-B4DD-E6FE7B7DA86E}" -EndProject -Global - GlobalSection(SolutionConfigurationPlatforms) = preSolution - Debug|x64 = Debug|x64 - Release|x64 = Release|x64 - EndGlobalSection - GlobalSection(ProjectConfigurationPlatforms) = postSolution - {E44C0848-3913-45FB-B4DD-E6FE7B7DA86E}.Debug|x64.ActiveCfg = Debug|x64 - {E44C0848-3913-45FB-B4DD-E6FE7B7DA86E}.Debug|x64.Build.0 = Debug|x64 - {E44C0848-3913-45FB-B4DD-E6FE7B7DA86E}.Release|x64.ActiveCfg = Release|x64 - {E44C0848-3913-45FB-B4DD-E6FE7B7DA86E}.Release|x64.Build.0 = Release|x64 - EndGlobalSection - GlobalSection(SolutionProperties) = preSolution - HideSolutionNode = FALSE - EndGlobalSection -EndGlobal diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223GPTC/SDK9223GPTC.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223GPTC/SDK9223GPTC.suo deleted file mode 100644 index 2399e7e..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223GPTC/SDK9223GPTC.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223GPTC/SDK9223GPTC.vcproj b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223GPTC/SDK9223GPTC.vcproj deleted file mode 100644 index fe5a3cc..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223GPTC/SDK9223GPTC.vcproj +++ /dev/null @@ -1,286 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223GPTC/SDK9223GPTCDlg.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223GPTC/SDK9223GPTCDlg.cpp deleted file mode 100644 index 1ca39a4..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223GPTC/SDK9223GPTCDlg.cpp +++ /dev/null @@ -1,775 +0,0 @@ - -// SDK9223GPTCDlg.cpp : implementation file -// - -#include "stdafx.h" -#include "SDK9223GPTC.h" -#include "SDK9223GPTCDlg.h" - -#ifdef _DEBUG -#define new DEBUG_NEW -#endif - -#define TIMEBASE 80000000 - -#define TIMER_GPTC_MAJOR_MODE0 1 -#define TIMER_GPTC_MAJOR_MODE1 2 - -// CAboutDlg dialog used for App About - -class CAboutDlg : public CDialog -{ -public: - CAboutDlg(); - -// Dialog Data - enum { IDD = IDD_ABOUTBOX }; - - protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - -// Implementation -protected: - DECLARE_MESSAGE_MAP() -}; - -CAboutDlg::CAboutDlg() : CDialog(CAboutDlg::IDD) -{ -} - -void CAboutDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); -} - -BEGIN_MESSAGE_MAP(CAboutDlg, CDialog) -END_MESSAGE_MAP() - - -// CSDK9223GPTCDlg dialog - - -CSDK9223GPTCDlg::CSDK9223GPTCDlg(I16 hCard, CWnd* pParent /*=NULL*/) - : CDialog(CSDK9223GPTCDlg::IDD, pParent) -{ - m_hIcon = AfxGetApp()->LoadIcon(IDR_MAINFRAME); - - m_nTimer0 = NULL; - m_nTimer1 = NULL; - - m_bRunning0 = 0; - m_bRunning1 = 0; - m_bRunning2 = 0; - m_bRunning3 = 0; - - m_wPolCtrl = 0; - - m_hCard = hCard; -} - -void CSDK9223GPTCDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); - DDX_Control(pDX, IDC_COMBO_GPTC, m_cbGPTCNo); - DDX_Control(pDX, IDC_COMBO_MODE1, m_cbMode1Option); - DDX_Control(pDX, IDC_COMBO_MODE2, m_cbMode2Option); - DDX_Control(pDX, IDC_COMBO_MODE3, m_cbMode3Option); -} - -BEGIN_MESSAGE_MAP(CSDK9223GPTCDlg, CDialog) - ON_WM_SYSCOMMAND() - ON_WM_PAINT() - ON_WM_QUERYDRAGICON() - //}}AFX_MSG_MAP - ON_BN_CLICKED(IDC_RADIO_MODE0, &CSDK9223GPTCDlg::OnRadioMode0) - ON_BN_CLICKED(IDC_RADIO_MODE1, &CSDK9223GPTCDlg::OnRadioMode1) - ON_BN_CLICKED(IDC_RADIO_MODE2, &CSDK9223GPTCDlg::OnRadioMode2) - ON_BN_CLICKED(IDC_RADIO_MODE3, &CSDK9223GPTCDlg::OnRadioMode3) - ON_CBN_SELCHANGE(IDC_COMBO_GPTC, &CSDK9223GPTCDlg::OnGPTCNoSelchange) - ON_CBN_SELCHANGE(IDC_COMBO_MODE1, &CSDK9223GPTCDlg::OnComboMode1Selchange) - ON_CBN_SELCHANGE(IDC_COMBO_MODE2, &CSDK9223GPTCDlg::OnComboMode2Selchange) - ON_CBN_SELCHANGE(IDC_COMBO_MODE3, &CSDK9223GPTCDlg::OnComboMode3Selchange) - ON_BN_CLICKED(IDC_BT_MODE0, &CSDK9223GPTCDlg::OnGPTCMode0Start) - ON_BN_CLICKED(IDC_BT_MODE1, &CSDK9223GPTCDlg::OnGPTCMode1Start) - ON_BN_CLICKED(IDC_BT_MODE2, &CSDK9223GPTCDlg::OnGPTCMode2Start) - ON_BN_CLICKED(IDC_BT_MODE3, &CSDK9223GPTCDlg::OnGPTCMode3Start) - ON_WM_TIMER() -END_MESSAGE_MAP() - - -// CSDK9223GPTCDlg message handlers - -BOOL CSDK9223GPTCDlg::OnInitDialog() -{ - CDialog::OnInitDialog(); - - // Add "About..." menu item to system menu. - - // IDM_ABOUTBOX must be in the system command range. - ASSERT((IDM_ABOUTBOX & 0xFFF0) == IDM_ABOUTBOX); - ASSERT(IDM_ABOUTBOX < 0xF000); - - CMenu* pSysMenu = GetSystemMenu(FALSE); - if (pSysMenu != NULL) - { - BOOL bNameValid; - CString strAboutMenu; - bNameValid = strAboutMenu.LoadString(IDS_ABOUTBOX); - ASSERT(bNameValid); - if (!strAboutMenu.IsEmpty()) - { - pSysMenu->AppendMenu(MF_SEPARATOR); - pSysMenu->AppendMenu(MF_STRING, IDM_ABOUTBOX, strAboutMenu); - } - } - - // Set the icon for this dialog. The framework does this automatically - // when the application's main window is not a dialog - SetIcon(m_hIcon, TRUE); // Set big icon - SetIcon(m_hIcon, FALSE); // Set small icon - - // TODO: Add extra initialization here - m_wGPTCNo = 0; - m_cbGPTCNo.SetCurSel( (int) m_wGPTCNo ); - SetDlgItemText( IDC_EDIT_INIT_CNT0, TEXT("0x7fffffff") ); - - m_cbMode1Option.SetCurSel( 0 ); - m_cbMode2Option.SetCurSel( 0 ); - m_cbMode3Option.SetCurSel( 0 ); - - ((CButton*)GetDlgItem( IDC_RADIO_MODE0 ))->SetCheck( TRUE ); - OnRadioMode0(); - - return TRUE; // return TRUE unless you set the focus to a control -} - -void CSDK9223GPTCDlg::OnSysCommand(UINT nID, LPARAM lParam) -{ - if ((nID & 0xFFF0) == IDM_ABOUTBOX) - { - CAboutDlg dlgAbout; - dlgAbout.DoModal(); - } - else - { - CDialog::OnSysCommand(nID, lParam); - } -} - -// If you add a minimize button to your dialog, you will need the code below -// to draw the icon. For MFC applications using the document/view model, -// this is automatically done for you by the framework. - -void CSDK9223GPTCDlg::OnPaint() -{ - if (IsIconic()) - { - CPaintDC dc(this); // device context for painting - - SendMessage(WM_ICONERASEBKGND, reinterpret_cast(dc.GetSafeHdc()), 0); - - // Center icon in client rectangle - int cxIcon = GetSystemMetrics(SM_CXICON); - int cyIcon = GetSystemMetrics(SM_CYICON); - CRect rect; - GetClientRect(&rect); - int x = (rect.Width() - cxIcon + 1) / 2; - int y = (rect.Height() - cyIcon + 1) / 2; - - // Draw the icon - dc.DrawIcon(x, y, m_hIcon); - } - else - { - CDialog::OnPaint(); - } -} - -// The system calls this function to obtain the cursor to display while the user drags -// the minimized window. -HCURSOR CSDK9223GPTCDlg::OnQueryDragIcon() -{ - return static_cast(m_hIcon); -} - - -void CSDK9223GPTCDlg::OnRadioMode0() -{ - // TODO: Add your control notification handler code here - m_dwLReg1_Val = 0x7fffffff; //Initial value - m_dwLReg2_Val = 0; - m_wSrcCtrl = 0; - m_wPolCtrl = 0; - - m_GPTCMode = SimpleGatedEventCNT; - m_wSrcCtrl = GPTC_GATE_SRC_Ext; - - - Update_UI(0); -} - -void CSDK9223GPTCDlg::OnRadioMode1() -{ - // TODO: Add your control notification handler code here - m_dwLReg1_Val = 0; - m_dwLReg2_Val = 0; - m_wSrcCtrl = 0; - m_wPolCtrl = 0; - - m_GPTCMode = SinglePeriodMSR; - m_cbMode1Option.SetCurSel( 0 ); - OnComboMode1Selchange(); - - Update_UI(1); -} - -void CSDK9223GPTCDlg::OnRadioMode2() -{ - // TODO: Add your control notification handler code here - // Reset the GPTC mode - m_dwLReg1_Val = 40000000; - m_dwLReg2_Val = 0; - m_wSrcCtrl = 0; - m_wPolCtrl = 0; - - m_cbMode2Option.SetCurSel( 0 ); - OnComboMode2Selchange(); - - Update_UI(2); -} - -void CSDK9223GPTCDlg::OnRadioMode3() -{ - // TODO: Add your control notification handler code here - m_dwLReg1_Val = 0; - m_dwLReg2_Val = 0; - m_wSrcCtrl = 0; - m_wPolCtrl = 0; - - m_cbMode3Option.SetCurSel( 0 ); - OnComboMode3Selchange(); - - Update_UI(3); -} - -void CSDK9223GPTCDlg::Update_UI(int BlockIdx) -{ - switch( BlockIdx ) - { - case 0: - GetDlgItem(IDC_EDIT_INIT_CNT0)->EnableWindow( TRUE ); - GetDlgItem(IDC_COMBO_MODE1)->EnableWindow( FALSE ); - GetDlgItem(IDC_COMBO_MODE2)->EnableWindow( FALSE ); - GetDlgItem(IDC_COMBO_MODE3)->EnableWindow( FALSE ); - - GetDlgItem(IDC_BT_MODE0)->EnableWindow( TRUE ); - GetDlgItem(IDC_BT_MODE1)->EnableWindow( FALSE ); - GetDlgItem(IDC_BT_MODE2)->EnableWindow( FALSE ); - GetDlgItem(IDC_BT_MODE3)->EnableWindow( FALSE ); - - break; - - case 1: - GetDlgItem(IDC_EDIT_INIT_CNT0)->EnableWindow( FALSE ); - GetDlgItem(IDC_COMBO_MODE1)->EnableWindow( TRUE ); - GetDlgItem(IDC_COMBO_MODE2)->EnableWindow( FALSE ); - GetDlgItem(IDC_COMBO_MODE3)->EnableWindow( FALSE ); - - GetDlgItem(IDC_BT_MODE0)->EnableWindow( FALSE ); - GetDlgItem(IDC_BT_MODE1)->EnableWindow( TRUE ); - GetDlgItem(IDC_BT_MODE2)->EnableWindow( FALSE ); - GetDlgItem(IDC_BT_MODE3)->EnableWindow( FALSE ); - break; - - case 2: - GetDlgItem(IDC_EDIT_INIT_CNT0)->EnableWindow( FALSE ); - GetDlgItem(IDC_COMBO_MODE1)->EnableWindow( FALSE ); - GetDlgItem(IDC_COMBO_MODE2)->EnableWindow( TRUE ); - GetDlgItem(IDC_COMBO_MODE3)->EnableWindow( FALSE ); - - GetDlgItem(IDC_BT_MODE0)->EnableWindow( FALSE ); - GetDlgItem(IDC_BT_MODE1)->EnableWindow( FALSE ); - GetDlgItem(IDC_BT_MODE2)->EnableWindow( TRUE ); - GetDlgItem(IDC_BT_MODE3)->EnableWindow( FALSE ); - break; - - case 3: - GetDlgItem(IDC_EDIT_INIT_CNT0)->EnableWindow( FALSE ); - GetDlgItem(IDC_COMBO_MODE1)->EnableWindow( FALSE ); - GetDlgItem(IDC_COMBO_MODE2)->EnableWindow( FALSE ); - GetDlgItem(IDC_COMBO_MODE3)->EnableWindow( TRUE ); - - GetDlgItem(IDC_BT_MODE0)->EnableWindow( FALSE ); - GetDlgItem(IDC_BT_MODE1)->EnableWindow( FALSE ); - GetDlgItem(IDC_BT_MODE2)->EnableWindow( FALSE ); - GetDlgItem(IDC_BT_MODE3)->EnableWindow( TRUE ); - - break; - - case 4: - GetDlgItem(IDC_EDIT_INIT_CNT0)->EnableWindow( FALSE ); - GetDlgItem(IDC_COMBO_MODE1)->EnableWindow( FALSE ); - GetDlgItem(IDC_COMBO_MODE2)->EnableWindow( FALSE ); - GetDlgItem(IDC_COMBO_MODE3)->EnableWindow( FALSE ); - - GetDlgItem(IDC_BT_MODE0)->EnableWindow( FALSE ); - GetDlgItem(IDC_BT_MODE1)->EnableWindow( FALSE ); - GetDlgItem(IDC_BT_MODE2)->EnableWindow( FALSE ); - GetDlgItem(IDC_BT_MODE3)->EnableWindow( FALSE ); - break; - - } -} - -void CSDK9223GPTCDlg::OnGPTCNoSelchange() -{ - // TODO: Add your control notification handler code here - int nIndex; - - nIndex = m_cbGPTCNo.GetCurSel(); - switch( nIndex ) - { - case 0: - m_wGPTCNo = 0; - break; - case 1: - m_wGPTCNo = 1; - break; - case 2: - m_wGPTCNo = 2; - break; - case 3: - m_wGPTCNo = 3; - break; - } - -} - -void CSDK9223GPTCDlg::OnComboMode1Selchange() -{ - // TODO: Add your control notification handler code here - int nIndex; - - nIndex = m_cbMode1Option.GetCurSel(); - switch( nIndex ) - { - case 0: - SetDlgItemText( IDC_STATIC_MODE1, TEXT("Measure pulse period of a pulse from GPTC/GTAED pin.") ); - - m_GPTCMode = SinglePeriodMSR; - break; - case 1: - SetDlgItemText( IDC_STATIC_MODE1, TEXT("Measure pulse width of a pulse from GPTC/GTAED pin.") ); - - m_GPTCMode = SinglePulseWidthMSR; - break; - case 2: - SetDlgItemText( IDC_STATIC_MODE1, TEXT("Measure edge separation between pulses from GPTC/GTAED and GPTC/AUX pin.") ); - - m_GPTCMode = EdgeSeparationMSR; - break; - } - - m_wSrcCtrl = GPTC_GATE_SRC_Ext; //Set External gate for measuring a pulse from GATED pin - -} - -void CSDK9223GPTCDlg::OnComboMode2Selchange() -{ - // TODO: Add your control notification handler code here - int nIndex; - - F32 fTemp; - CString strTmp; - - - fTemp = (F32)(m_dwLReg1_Val+m_dwLReg1_Val)/TIMEBASE; - - nIndex = m_cbMode2Option.GetCurSel(); - switch( nIndex ) - { - case 0: - SetDlgItemText( IDC_STATIC_MODE2, TEXT("Generate pulse to GPTC out pin while GATED pin is high.") ); - - m_GPTCMode = SingleGatedPulseGen; - m_wSrcCtrl = GPTC_GATE_SRC_Ext; - - strTmp.Format( TEXT("A %f sec. period pulse will be generated while GATED is high..."), fTemp); - SetDlgItemText( IDC_STATIC_RESULT2, strTmp ); - - break; - case 1: - SetDlgItemText( IDC_STATIC_MODE2, TEXT("Generate pulse to GPTC out pin if trigger is comming from GATED pin.") ); - - m_GPTCMode = SingleTrigPulseGen; - m_wSrcCtrl = GPTC_GATE_SRC_Ext; - - strTmp.Format( TEXT("Wait trigger to generate a %f sec. period pulse..."), fTemp); - SetDlgItemText( IDC_STATIC_RESULT2, strTmp ); - - break; - case 2: - SetDlgItemText( IDC_STATIC_MODE2, TEXT("Generate pulse to GPTC out pin if a trigger is comming from GATED pin.") ); - - m_GPTCMode = RetrigSinglePulseGen; - m_wSrcCtrl = GPTC_GATE_SRC_Ext; - - strTmp.Format( TEXT("Wait retrigger to generate a %f sec. period pulse..."), fTemp); - SetDlgItemText( IDC_STATIC_RESULT2, strTmp ); - - break; - } - -} - -void CSDK9223GPTCDlg::OnComboMode3Selchange() -{ - // TODO: Add your control notification handler code here - int nIndex; - - F32 fDuty, fOutRate; - CString strTmp; - - nIndex = m_cbMode3Option.GetCurSel(); - switch( nIndex ) - { - case 0: - SetDlgItemText( IDC_STATIC_MODE3, TEXT("Generate pulse train to GPTC/OUT pin while GATED pin is high.") ); - - m_GPTCMode = ContGatedPulseGen; - m_wSrcCtrl = GPTC_GATE_SRC_Ext; - m_dwLReg1_Val = 40000000; - - fOutRate = (F32)TIMEBASE/(m_dwLReg1_Val + m_dwLReg1_Val); - - strTmp.Format( TEXT("Out rate: %f Hz, pulse train will be generated while GATED pin is high..."), fOutRate); - SetDlgItemText( IDC_STATIC_RESULT3, strTmp ); - - break; - case 1: - SetDlgItemText( IDC_STATIC_MODE3, TEXT("Generate pulse train to GPTC/OUT pin if trigger is comming from GPTC/GATED pin.") ); - - m_GPTCMode = SingleTrigContPulseGen; - m_wSrcCtrl = GPTC_GATE_SRC_Ext; - m_dwLReg1_Val = 40000000; - - fOutRate = (F32)TIMEBASE/(m_dwLReg1_Val + m_dwLReg1_Val); - - strTmp.Format( TEXT("Wait trigger to generate, out rate: %f Hz, pulse train..."), fOutRate); - SetDlgItemText( IDC_STATIC_RESULT3, strTmp ); - - break; - case 2: - SetDlgItemText( IDC_STATIC_MODE3, TEXT("Generate PWM pulse train to GPTC/OUT pin while GATED pin is high.") ); - - m_GPTCMode = ContGatedPulseGenPWM; - m_wSrcCtrl = GPTC_GATE_SRC_Ext; - m_dwLReg1_Val = 20000000; - m_dwLReg2_Val = 60000000; - - fDuty = (F32)m_dwLReg2_Val/(m_dwLReg1_Val+m_dwLReg2_Val); - fOutRate = (F32)TIMEBASE/(m_dwLReg1_Val+m_dwLReg2_Val); - - strTmp.Format( TEXT("Out rate: %f Hz, duty cycle: %4.2f %%, pulse train will be generated while GATED pin is high..."), fOutRate, fDuty); - SetDlgItemText( IDC_STATIC_RESULT3, strTmp ); - - break; - case 3: - SetDlgItemText( IDC_STATIC_MODE3, TEXT("Generate PWM pulse train to GPTC/OUT pin if trigger is comming from GPTC/GATED pin.") ); - - m_GPTCMode = SingleTrigContPulseGenPWM; - m_wSrcCtrl = GPTC_GATE_SRC_Ext; - m_dwLReg1_Val = 20000000; - m_dwLReg2_Val = 60000000; - - fDuty = (F32)m_dwLReg2_Val/(m_dwLReg1_Val+m_dwLReg2_Val); - fOutRate = (F32)TIMEBASE/(m_dwLReg1_Val+m_dwLReg2_Val); - - strTmp.Format( TEXT("Wait trigger to generate, out rate: %f Hz, duty cycle: %4.2f %%, pulse train..."), fOutRate, fDuty); - SetDlgItemText( IDC_STATIC_RESULT3, strTmp ); - - break; - } - -} - -void CSDK9223GPTCDlg::OnGPTCMode0Start() -{ - // TODO: Add your control notification handler code here - I16 err; - CString strTmp; - - if( m_bRunning0 == 1 ) - { - err = GPTC_Clear(m_hCard, m_wGPTCNo); - - if( m_nTimer0 != NULL ) - { - KillTimer( m_nTimer0 ); - m_nTimer0 = NULL; - } - - m_bRunning0 = 0; - SetDlgItemText( IDC_BT_MODE0, TEXT("Start") ); - - } - else - { - if( m_nTimer0 == NULL ) - { - m_nTimer0 = SetTimer( TIMER_GPTC_MAJOR_MODE0, 20, NULL ); - } - - m_dwLReg1_Val = 0x7fffffff; //Initial value - m_dwLReg2_Val = 0; - m_wSrcCtrl = 0; - m_wPolCtrl = 0; - - m_GPTCMode = SimpleGatedEventCNT; - m_wSrcCtrl = GPTC_GATE_SRC_Ext; - - /*Setup GPTC*/ - err = GPTC_Setup(m_hCard, m_wGPTCNo, m_GPTCMode, m_wSrcCtrl, m_wPolCtrl, m_dwLReg1_Val, m_dwLReg2_Val); - if( err<0 ) - { - strTmp.Format( TEXT("GPTC_Setup Error: %d"), err ); - AfxMessageBox( strTmp ); - return; - } - - /*Internal Control UpDown Source - 0: DownCount; 1: UpCount*/ - err = GPTC_Control(m_hCard, m_wGPTCNo, IntUpDnCTR, 0); - if(err<0) - { - strTmp.Format( TEXT("GPTC_Control Error: %d"), err ); - AfxMessageBox( strTmp ); - return; - } - - /*Enable Counter*/ - err = GPTC_Control(m_hCard, m_wGPTCNo, IntENABLE, 1); - if(err<0) - { - strTmp.Format( TEXT("GPTC_Control Error: %d"), err ); - AfxMessageBox( strTmp ); - return; - } - - m_bRunning0 = 1; - SetDlgItemText( IDC_BT_MODE0, TEXT("Stop") ); - - } -} - -void CSDK9223GPTCDlg::OnGPTCMode1Start() -{ - // TODO: Add your control notification handler code here - I16 err; - CString strTmp; - - if( m_bRunning1 == 1 ) - { - err = GPTC_Clear(m_hCard, m_wGPTCNo); - - if( m_nTimer1 != NULL ) - { - KillTimer( m_nTimer1 ); - m_nTimer1 = NULL; - } - - - m_bRunning1 = 0; - SetDlgItemText( IDC_BT_MODE1, TEXT("Start") ); - - } - else - { - if( m_nTimer1 == NULL ) - { - m_nTimer1 = SetTimer( TIMER_GPTC_MAJOR_MODE1, 20, NULL ); - } - - err = GPTC_Setup(m_hCard, m_wGPTCNo, m_GPTCMode, m_wSrcCtrl, m_wPolCtrl, m_dwLReg1_Val, m_dwLReg2_Val); - if(err<0) - { - strTmp.Format( TEXT("GPTC_Setup Error: %d"), err ); - AfxMessageBox( strTmp ); - return; - } - - /*Internal Control UpDown Source*/ - //Set Counter count up - err = GPTC_Control(m_hCard, m_wGPTCNo, IntUpDnCTR, 1); - if(err<0) - { - strTmp.Format( TEXT("GPTC_Control Error: %d"), err ); - AfxMessageBox( strTmp ); - return; - } - - /*Enable Counter*/ - err = GPTC_Control(m_hCard, m_wGPTCNo, IntENABLE, 1); - if(err<0) - { - strTmp.Format( TEXT("GPTC_Control Error: %d"), err ); - AfxMessageBox( strTmp ); - return; - } - - m_bRunning1 = 1; - SetDlgItemText( IDC_BT_MODE1, TEXT("Stop") ); - } -} - -void CSDK9223GPTCDlg::OnGPTCMode2Start() -{ - // TODO: Add your control notification handler code here - I16 err; - CString strTmp; - - if( m_bRunning2 == 1 ) - { - err = GPTC_Clear(m_hCard, m_wGPTCNo); - - m_bRunning2 = 0; - SetDlgItemText( IDC_BT_MODE2, TEXT("Start") ); - - } - else - { - - /*Setup GPTC*/ - err = GPTC_Setup(m_hCard, m_wGPTCNo, m_GPTCMode, m_wSrcCtrl, m_wPolCtrl, m_dwLReg1_Val, m_dwLReg2_Val); - if(err<0) - { - strTmp.Format( TEXT("GPTC_Setup Error: %d"), err ); - AfxMessageBox( strTmp ); - return; - } - - err = GPTC_Control(m_hCard, m_wGPTCNo, IntENABLE, 1); - if(err<0) - { - strTmp.Format( TEXT("GPTC_Control Error: %d"), err ); - AfxMessageBox( strTmp ); - return; - } - - m_bRunning2 = 1; - SetDlgItemText( IDC_BT_MODE2, TEXT("Stop") ); - } -} - -void CSDK9223GPTCDlg::OnGPTCMode3Start() -{ - // TODO: Add your control notification handler code here - I16 err; - CString strTmp; - - if( m_bRunning3 == 1 ) - { - err = GPTC_Clear(m_hCard, m_wGPTCNo); - - m_bRunning3 = 0; - SetDlgItemText( IDC_BT_MODE3, TEXT("Start") ); - - } - else - { - /*Setup GPTC*/ - err = GPTC_Setup(m_hCard, m_wGPTCNo, m_GPTCMode, m_wSrcCtrl, m_wPolCtrl, m_dwLReg1_Val, m_dwLReg2_Val); - if(err<0) - { - strTmp.Format( TEXT("GPTC_Setup Error: %d"), err ); - AfxMessageBox( strTmp ); - return; - } - - /*Enable Counter*/ - err = GPTC_Control(m_hCard, m_wGPTCNo, IntENABLE, 1); - if(err<0) - { - strTmp.Format( TEXT("GPTC_Control Error: %d"), err ); - AfxMessageBox( strTmp ); - return; - } - - - m_bRunning3 = 1; - SetDlgItemText( IDC_BT_MODE3, TEXT("Stop") ); - } -} - -void CSDK9223GPTCDlg::GPTC_Major_Process0(void) -{ - I16 err; - U32 dwGPTC_Val; - - err = GPTC_Read(m_hCard, m_wGPTCNo, &dwGPTC_Val); - SetDlgItemInt( IDC_EDIT_STATUS0, (UINT)dwGPTC_Val); -} - -void CSDK9223GPTCDlg::GPTC_Major_Process1(void) -{ - I16 err; - U16 wStatus; - U32 dwGPTC_Val; - CString strTmp; - - err = GPTC_Status(m_hCard, m_wGPTCNo, &wStatus); - - if((wStatus>>1)&0x01) - { - /*Read GPTC value*/ - err = GPTC_Read(m_hCard, m_wGPTCNo, &dwGPTC_Val); - - switch( m_GPTCMode ) - { - case SinglePeriodMSR: - strTmp.Format( TEXT("GPTC%d Value: 0x%08X\nPulse Period: %lf sec."), m_wGPTCNo, dwGPTC_Val, (F32)dwGPTC_Val/TIMEBASE ); - SetDlgItemText( IDC_STATIC_RESULT01, strTmp ); - break; - - case SinglePulseWidthMSR: - strTmp.Format( TEXT("GPTC%d Value: 0x%08X\nPulse Width: %lf sec."), m_wGPTCNo, dwGPTC_Val, (F32)dwGPTC_Val/TIMEBASE ); - SetDlgItemText( IDC_STATIC_RESULT01, strTmp ); - break; - - case EdgeSeparationMSR: - strTmp.Format( TEXT("GPTC%d Value: 0x%08X\nPulse Edge Separation: %lf sec."), m_wGPTCNo, dwGPTC_Val, (F32)dwGPTC_Val/TIMEBASE ); - SetDlgItemText( IDC_STATIC_RESULT01, strTmp ); - break; - } - - err = GPTC_Clear(m_hCard, m_wGPTCNo); - - if( m_nTimer1 != NULL ) - { - KillTimer( m_nTimer1 ); - m_nTimer1 = NULL; - } - - - m_bRunning1 = 0; - SetDlgItemText( IDC_BT_MODE1, TEXT("Start") ); - } - -} - - -void CSDK9223GPTCDlg::OnTimer(UINT_PTR nIDEvent) -{ - // TODO: Add your message handler code here and/or call default - switch( nIDEvent ) - { - case TIMER_GPTC_MAJOR_MODE0: - GPTC_Major_Process0(); - break; - - case TIMER_GPTC_MAJOR_MODE1: - GPTC_Major_Process1(); - break; - } - - CDialog::OnTimer(nIDEvent); -} diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223GPTC/SDK9223GPTCDlg.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223GPTC/SDK9223GPTCDlg.h deleted file mode 100644 index 067e728..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223GPTC/SDK9223GPTCDlg.h +++ /dev/null @@ -1,73 +0,0 @@ - -// SDK9223GPTCDlg.h : header file -// - -#pragma once -#include "afxwin.h" - -#include "Dask64.h" - -// CSDK9223GPTCDlg dialog -class CSDK9223GPTCDlg : public CDialog -{ -// Construction -public: - CSDK9223GPTCDlg(I16 hCard, CWnd* pParent = NULL); // standard constructor - -// Dialog Data - enum { IDD = IDD_SDK9223GPTC_DIALOG }; - - protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - - -// Implementation -protected: - HICON m_hIcon; - I16 m_hCard; - U16 m_wGPTCNo; - U16 m_GPTCMode; - U16 m_wSrcCtrl; - U16 m_wPolCtrl; - - U32 m_dwLReg1_Val; - U32 m_dwLReg2_Val; - - UINT_PTR m_nTimer0; - UINT_PTR m_nTimer1; - - U8 m_bRunning0; - U8 m_bRunning1; - U8 m_bRunning2; - U8 m_bRunning3; - - - // Generated message map functions - virtual BOOL OnInitDialog(); - afx_msg void OnSysCommand(UINT nID, LPARAM lParam); - afx_msg void OnPaint(); - afx_msg HCURSOR OnQueryDragIcon(); - DECLARE_MESSAGE_MAP() -public: - CComboBox m_cbGPTCNo; - CComboBox m_cbMode1Option; - CComboBox m_cbMode2Option; - CComboBox m_cbMode3Option; - afx_msg void OnRadioMode0(); - afx_msg void OnRadioMode1(); - afx_msg void OnRadioMode2(); - afx_msg void OnRadioMode3(); - - void Update_UI(int BlockIdx); - afx_msg void OnGPTCNoSelchange(); - afx_msg void OnComboMode1Selchange(); - afx_msg void OnComboMode2Selchange(); - afx_msg void OnComboMode3Selchange(); - afx_msg void OnGPTCMode0Start(); - afx_msg void OnGPTCMode1Start(); - afx_msg void OnGPTCMode2Start(); - afx_msg void OnGPTCMode3Start(); - void GPTC_Major_Process0(void); - void GPTC_Major_Process1(void); - afx_msg void OnTimer(UINT_PTR nIDEvent); -}; diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223GPTC/res/SDK9223GPTC.ico b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223GPTC/res/SDK9223GPTC.ico deleted file mode 100644 index d56fbcd..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223GPTC/res/SDK9223GPTC.ico and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223GPTC/res/SDK9223GPTC.rc2 b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223GPTC/res/SDK9223GPTC.rc2 deleted file mode 100644 index d97271e..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223GPTC/res/SDK9223GPTC.rc2 +++ /dev/null @@ -1,13 +0,0 @@ -// -// SDK9222GPTC.RC2 - resources Microsoft Visual C++ does not edit directly -// - -#ifdef APSTUDIO_INVOKED -#error this file is not editable by Microsoft Visual C++ -#endif //APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// Add manually edited resources here... - -///////////////////////////////////////////////////////////////////////////// diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223GPTC/resource.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223GPTC/resource.h deleted file mode 100644 index 5465f44..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223GPTC/resource.h +++ /dev/null @@ -1,44 +0,0 @@ -//{{NO_DEPENDENCIES}} -// Microsoft Visual C++ generated include file. -// Used by SDK9223GPTC.rc -// -#define IDM_ABOUTBOX 0x0010 -#define IDD_ABOUTBOX 100 -#define IDS_ABOUTBOX 101 -#define IDD_SDK9223GPTC_DIALOG 102 -#define IDR_MAINFRAME 128 -#define IDD_SIDD_CARDID_DIALOG 131 -#define IDD_CARDID_DIALOG 131 -#define IDC_RADIO_MODE0 1000 -#define IDC_COMBO_CARDID 1000 -#define IDC_BT_MODE0 1001 -#define IDC_RADIO_MODE1 1002 -#define IDC_RADIO_MODE2 1003 -#define IDC_RADIO_MODE3 1004 -#define IDC_EDIT_INIT_CNT0 1005 -#define IDC_EDIT_STATUS0 1006 -#define IDC_COMBO_MODE1 1007 -#define IDC_COMBO_GPTC 1008 -#define IDC_STATIC_MODE1 1009 -#define IDC_STATIC_RESULT01 1010 -#define IDC_COMBO_MODE2 1011 -#define IDC_STATIC_RESULT2 1012 -#define IDC_STATIC_MODE2 1013 -#define IDC_COMBO_MODE3 1014 -#define IDC_BT_MODE1 1015 -#define IDC_STATIC_MODE3 1016 -#define IDC_STATIC_RESULT3 1017 -#define IDC_BT_MODE2 1018 -#define IDC_BT_MODE3 1019 -#define IDC_STATIC_01 1019 - -// Next default values for new objects -// -#ifdef APSTUDIO_INVOKED -#ifndef APSTUDIO_READONLY_SYMBOLS -#define _APS_NEXT_RESOURCE_VALUE 133 -#define _APS_NEXT_COMMAND_VALUE 32771 -#define _APS_NEXT_CONTROL_VALUE 1011 -#define _APS_NEXT_SYMED_VALUE 101 -#endif -#endif diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223GPTC/stdafx.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223GPTC/stdafx.cpp deleted file mode 100644 index 83f89a7..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223GPTC/stdafx.cpp +++ /dev/null @@ -1,8 +0,0 @@ - -// stdafx.cpp : source file that includes just the standard includes -// SDK9222GPTC.pch will be the pre-compiled header -// stdafx.obj will contain the pre-compiled type information - -#include "stdafx.h" - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223GPTC/stdafx.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223GPTC/stdafx.h deleted file mode 100644 index 12123e2..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223GPTC/stdafx.h +++ /dev/null @@ -1,60 +0,0 @@ - -// stdafx.h : include file for standard system include files, -// or project specific include files that are used frequently, -// but are changed infrequently - -#pragma once - -#ifndef _SECURE_ATL -#define _SECURE_ATL 1 -#endif - -#ifndef VC_EXTRALEAN -#define VC_EXTRALEAN // Exclude rarely-used stuff from Windows headers -#endif - -#include "targetver.h" - -#define _ATL_CSTRING_EXPLICIT_CONSTRUCTORS // some CString constructors will be explicit - -// turns off MFC's hiding of some common and often safely ignored warning messages -#define _AFX_ALL_WARNINGS - -#include // MFC core and standard components -#include // MFC extensions - - -#include // MFC Automation classes - - - -#ifndef _AFX_NO_OLE_SUPPORT -#include // MFC support for Internet Explorer 4 Common Controls -#endif -#ifndef _AFX_NO_AFXCMN_SUPPORT -#include // MFC support for Windows Common Controls -#endif // _AFX_NO_AFXCMN_SUPPORT - -#include // MFC support for ribbons and control bars - - - - - - - - - -#ifdef _UNICODE -#if defined _M_IX86 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='x86' publicKeyToken='6595b64144ccf1df' language='*'\"") -#elif defined _M_IA64 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='ia64' publicKeyToken='6595b64144ccf1df' language='*'\"") -#elif defined _M_X64 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='amd64' publicKeyToken='6595b64144ccf1df' language='*'\"") -#else -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='*' publicKeyToken='6595b64144ccf1df' language='*'\"") -#endif -#endif - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223GPTC/targetver.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223GPTC/targetver.h deleted file mode 100644 index 11730d5..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9223/SDK9223GPTC/targetver.h +++ /dev/null @@ -1,26 +0,0 @@ - -#pragma once - -// The following macros define the minimum required platform. The minimum required platform -// is the earliest version of Windows, Internet Explorer etc. that has the necessary features to run -// your application. The macros work by enabling all features available on platform versions up to and -// including the version specified. - -// Modify the following defines if you have to target a platform prior to the ones specified below. -// Refer to MSDN for the latest info on corresponding values for different platforms. -#ifndef WINVER // Specifies that the minimum required platform is Windows Vista. -#define WINVER 0x0600 // Change this to the appropriate value to target other versions of Windows. -#endif - -#ifndef _WIN32_WINNT // Specifies that the minimum required platform is Windows Vista. -#define _WIN32_WINNT 0x0600 // Change this to the appropriate value to target other versions of Windows. -#endif - -#ifndef _WIN32_WINDOWS // Specifies that the minimum required platform is Windows 98. -#define _WIN32_WINDOWS 0x0410 // Change this to the appropriate value to target Windows Me or later. -#endif - -#ifndef _WIN32_IE // Specifies that the minimum required platform is Internet Explorer 7.0. -#define _WIN32_IE 0x0700 // Change this to the appropriate value to target other versions of IE. -#endif - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524/CardIDDlg.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524/CardIDDlg.cpp deleted file mode 100644 index 38d6048..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524/CardIDDlg.cpp +++ /dev/null @@ -1,65 +0,0 @@ -// CardIDDlg.cpp : implementation file -// - -#include "stdafx.h" -#include "Util9524.h" -#include "CardIDDlg.h" - -// CCardIDDlg dialog - -IMPLEMENT_DYNAMIC(CCardIDDlg, CDialog) - -CCardIDDlg::CCardIDDlg(int nCardIdx, CWnd* pParent /*=NULL*/) - : CDialog(CCardIDDlg::IDD, pParent) -{ - m_nCardIdx = nCardIdx; -} - -CCardIDDlg::~CCardIDDlg() -{ -} - -void CCardIDDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); - DDX_Control(pDX, IDC_COMBO_CARDID, m_cbCardID); -} - - -BEGIN_MESSAGE_MAP(CCardIDDlg, CDialog) -// ON_CBN_SELCHANGE(IDC_COMBO_CARDID, &CCardIDDlg::OnCbnSelchangeComboCardid) -ON_BN_CLICKED(IDOK, &CCardIDDlg::OnBnClickedOk) -//ON_WM_CTLCOLOR() -END_MESSAGE_MAP() - - -// CCardIDDlg message handlers - - -void CCardIDDlg::OnBnClickedOk() -{ - // TODO: Add your control notification handler code here - -// UpdateData(TRUE); - m_nCardIdx = m_cbCardID.GetCurSel(); - - OnOK(); -} - -BOOL CCardIDDlg::OnInitDialog() -{ - CDialog::OnInitDialog(); - - // TODO: Add extra initialization here - m_cbCardID.SetCurSel( m_nCardIdx ); - - return TRUE; // return TRUE unless you set the focus to a control - // EXCEPTION: OCX Property Pages should return FALSE -} - -// the function to get the selected CardID -int CCardIDDlg::GetCardID(void) -{ - return m_nCardIdx; -} - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524/CardIDDlg.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524/CardIDDlg.h deleted file mode 100644 index 9c02c58..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524/CardIDDlg.h +++ /dev/null @@ -1,32 +0,0 @@ -#pragma once -#include "afxwin.h" - -#include "Dask64.h" - -// CCardIDDlg dialog - -class CCardIDDlg : public CDialog -{ - DECLARE_DYNAMIC(CCardIDDlg) - -public: - CCardIDDlg(int nCardIdx, CWnd* pParent = NULL); // standard constructor - virtual ~CCardIDDlg(); - -// Dialog Data - enum { IDD = IDD_CARDID_DIALOG }; - -protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - - DECLARE_MESSAGE_MAP() -public: - virtual BOOL OnInitDialog(); - afx_msg void OnBnClickedOk(); - // the setting of CardID ComboBox - int m_nCardIdx; - // the control of CardID ComboBox - CComboBox m_cbCardID; - // the function to get the selected CardID - int GetCardID(void); -}; diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524/ReadMe.txt b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524/ReadMe.txt deleted file mode 100644 index 82e54fe..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524/ReadMe.txt +++ /dev/null @@ -1,93 +0,0 @@ -================================================================================ - MICROSOFT FOUNDATION CLASS LIBRARY : Util9524 Project Overview -=============================================================================== - -The application wizard has created this Util9524 application for -you. This application not only demonstrates the basics of using the Microsoft -Foundation Classes but is also a starting point for writing your application. - -This file contains a summary of what you will find in each of the files that -make up your Util9524 application. - -Util9524.vcproj - This is the main project file for VC++ projects generated using an application wizard. - It contains information about the version of Visual C++ that generated the file, and - information about the platforms, configurations, and project features selected with the - application wizard. - -Util9524.h - This is the main header file for the application. It includes other - project specific headers (including Resource.h) and declares the - CUtil9524App application class. - -Util9524.cpp - This is the main application source file that contains the application - class CUtil9524App. - -Util9524.rc - This is a listing of all of the Microsoft Windows resources that the - program uses. It includes the icons, bitmaps, and cursors that are stored - in the RES subdirectory. This file can be directly edited in Microsoft - Visual C++. Your project resources are in 1033. - -res\Util9524.ico - This is an icon file, which is used as the application's icon. This - icon is included by the main resource file Util9524.rc. - -res\Util9524.rc2 - This file contains resources that are not edited by Microsoft - Visual C++. You should place all resources not editable by - the resource editor in this file. - - -///////////////////////////////////////////////////////////////////////////// - -The application wizard creates one dialog class: - -Util9524Dlg.h, Util9524Dlg.cpp - the dialog - These files contain your CUtil9524Dlg class. This class defines - the behavior of your application's main dialog. The dialog's template is - in Util9524.rc, which can be edited in Microsoft Visual C++. - - -///////////////////////////////////////////////////////////////////////////// - -Other Features: - -ActiveX Controls - The application includes support to use ActiveX controls. - -///////////////////////////////////////////////////////////////////////////// - -Other standard files: - -StdAfx.h, StdAfx.cpp - These files are used to build a precompiled header (PCH) file - named Util9524.pch and a precompiled types file named StdAfx.obj. - -Resource.h - This is the standard header file, which defines new resource IDs. - Microsoft Visual C++ reads and updates this file. - -Util9524.manifest - Application manifest files are used by Windows XP to describe an applications - dependency on specific versions of Side-by-Side assemblies. The loader uses this - information to load the appropriate assembly from the assembly cache or private - from the application. The Application manifest maybe included for redistribution - as an external .manifest file that is installed in the same folder as the application - executable or it may be included in the executable in the form of a resource. -///////////////////////////////////////////////////////////////////////////// - -Other notes: - -The application wizard uses "TODO:" to indicate parts of the source code you -should add to or customize. - -If your application uses MFC in a shared DLL, you will need -to redistribute the MFC DLLs. If your application is in a language -other than the operating system's locale, you will also have to -redistribute the corresponding localized resources MFC90XXX.DLL. -For more information on both of these topics, please see the section on -redistributing Visual C++ applications in MSDN documentation. - -///////////////////////////////////////////////////////////////////////////// diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524/Util9111.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524/Util9111.suo deleted file mode 100644 index 6b7218e..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524/Util9111.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524/Util9221.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524/Util9221.suo deleted file mode 100644 index 4e61ea9..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524/Util9221.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524/Util9222.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524/Util9222.suo deleted file mode 100644 index 20947ba..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524/Util9222.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524/Util9223.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524/Util9223.suo deleted file mode 100644 index 971f621..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524/Util9223.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524/Util9524.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524/Util9524.cpp deleted file mode 100644 index e58d212..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524/Util9524.cpp +++ /dev/null @@ -1,111 +0,0 @@ - -// Util9524.cpp : Defines the class behaviors for the application. -// - -#include "stdafx.h" -#include "Util9524.h" -#include "Util9524Dlg.h" -#include "CardIDDlg.h" - -#ifdef _DEBUG -#define new DEBUG_NEW -#endif - - -// CUtil9524App - -BEGIN_MESSAGE_MAP(CUtil9524App, CWinAppEx) - ON_COMMAND(ID_HELP, &CWinApp::OnHelp) -END_MESSAGE_MAP() - - -// CUtil9524App construction - -CUtil9524App::CUtil9524App() -{ - // TODO: add construction code here, - // Place all significant initialization in InitInstance -} - - -// The one and only CUtil9524App object - -CUtil9524App theApp; - - -// CUtil9524App initialization - -BOOL CUtil9524App::InitInstance() -{ - int nCardID = 0; - I16 hCard; - CString strTemp; - INT_PTR nResponse; - - // InitCommonControlsEx() is required on Windows XP if an application - // manifest specifies use of ComCtl32.dll version 6 or later to enable - // visual styles. Otherwise, any window creation will fail. - INITCOMMONCONTROLSEX InitCtrls; - InitCtrls.dwSize = sizeof(InitCtrls); - // Set this to include all the common control classes you want to use - // in your application. - InitCtrls.dwICC = ICC_WIN95_CLASSES; - InitCommonControlsEx(&InitCtrls); - - CWinAppEx::InitInstance(); - - AfxEnableControlContainer(); - - // Standard initialization - // If you are not using these features and wish to reduce the size - // of your final executable, you should remove from the following - // the specific initialization routines you do not need - // Change the registry key under which our settings are stored - // TODO: You should modify this string to be something appropriate - // such as the name of your company or organization - SetRegistryKey(_T("Local AppWizard-Generated Applications")); - - CCardIDDlg CardDlg( nCardID ); - - nResponse = CardDlg.DoModal(); - if (nResponse == IDOK) - { - nCardID = CardDlg.GetCardID(); - - if ((hCard=Register_Card(PCI_9524, nCardID)) < 0) - { - strTemp.Format( TEXT("Register_Card Error = %d"), hCard); - AfxMessageBox( strTemp ); - } - else - { - CUtil9524Dlg dlg(hCard); - m_pMainWnd = &dlg; - nResponse = dlg.DoModal(); - if (nResponse == IDOK) - { - // TODO: Place code here to handle when the dialog is - // dismissed with OK - } - else if (nResponse == IDCANCEL) - { - // TODO: Place code here to handle when the dialog is - // dismissed with Cancel - } - - if (hCard >= 0) Release_Card(hCard); - } - - } - else if (nResponse == IDCANCEL) - { - // TODO: Place code here to handle when the dialog is - // dismissed with Cancel - } - - - - // Since the dialog has been closed, return FALSE so that we exit the - // application, rather than start the application's message pump. - return FALSE; -} diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524/Util9524.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524/Util9524.h deleted file mode 100644 index f648e8f..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524/Util9524.h +++ /dev/null @@ -1,32 +0,0 @@ - -// Util9524.h : main header file for the PROJECT_NAME application -// - -#pragma once - -#ifndef __AFXWIN_H__ - #error "include 'stdafx.h' before including this file for PCH" -#endif - -#include "resource.h" // main symbols - - -// CUtil9524App: -// See Util9524.cpp for the implementation of this class -// - -class CUtil9524App : public CWinAppEx -{ -public: - CUtil9524App(); - -// Overrides - public: - virtual BOOL InitInstance(); - -// Implementation - - DECLARE_MESSAGE_MAP() -}; - -extern CUtil9524App theApp; \ No newline at end of file diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524/Util9524.rc b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524/Util9524.rc deleted file mode 100644 index 88e8684..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524/Util9524.rc +++ /dev/null @@ -1,330 +0,0 @@ -// Microsoft Visual C++ generated resource script. -// -#include "resource.h" - -#define APSTUDIO_READONLY_SYMBOLS -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 2 resource. -// -#ifndef APSTUDIO_INVOKED -#include "targetver.h" -#endif -#include "afxres.h" - -///////////////////////////////////////////////////////////////////////////// -#undef APSTUDIO_READONLY_SYMBOLS - -///////////////////////////////////////////////////////////////////////////// -// Chinese (Taiwan) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_CHT) -#ifdef _WIN32 -LANGUAGE LANG_CHINESE, SUBLANG_CHINESE_TRADITIONAL -#pragma code_page(950) -#endif //_WIN32 - -#ifdef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// TEXTINCLUDE -// - -1 TEXTINCLUDE -BEGIN - "resource.h\0" -END - -2 TEXTINCLUDE -BEGIN - "#ifndef APSTUDIO_INVOKED\r\n" - "#include ""targetver.h""\r\n" - "#endif\r\n" - "#include ""afxres.h""\r\n" - "\0" -END - -3 TEXTINCLUDE -BEGIN - "#define _AFX_NO_SPLITTER_RESOURCES\r\n" - "#define _AFX_NO_OLE_RESOURCES\r\n" - "#define _AFX_NO_TRACKER_RESOURCES\r\n" - "#define _AFX_NO_PROPERTY_RESOURCES\r\n" - "\r\n" - "#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)\r\n" - "LANGUAGE 9, 1\r\n" - "#pragma code_page(1252)\r\n" - "#include ""res\\Util9524.rc2"" // non-Microsoft Visual C++ edited resources\r\n" - "#include ""afxres.rc"" // Standard components\r\n" - "#endif\r\n" - "\0" -END - -#endif // APSTUDIO_INVOKED - -#endif // Chinese (Taiwan) resources -///////////////////////////////////////////////////////////////////////////// - - -///////////////////////////////////////////////////////////////////////////// -// English (U.S.) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -#ifdef _WIN32 -LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US -#pragma code_page(1252) -#endif //_WIN32 - -///////////////////////////////////////////////////////////////////////////// -// -// Icon -// - -// Icon with lowest ID value placed first to ensure application icon -// remains consistent on all systems. -IDR_MAINFRAME ICON "res\\Util9524.ico" -IDI_ICON_BLACK ICON "res\\black.ico" -IDI_ICON_RED ICON "res\\red.ico" - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog -// - -IDD_ABOUTBOX DIALOGEX 0, 0, 170, 62 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "About Util9524" -FONT 8, "MS Shell Dlg", 0, 0, 0x1 -BEGIN - ICON IDR_MAINFRAME,IDC_STATIC,14,14,21,20 - LTEXT "Util9524, Version 1.0",IDC_STATIC,42,14,114,8,SS_NOPREFIX - LTEXT "Copyright (C) 2010",IDC_STATIC,42,26,114,8 - DEFPUSHBUTTON "OK",IDOK,113,41,50,14,WS_GROUP -END - -IDD_UTIL9524_DIALOG DIALOGEX 0, 0, 327, 163 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU -EXSTYLE WS_EX_APPWINDOW -CAPTION "PCI-9524 (P9524_AI_XFER_POLL)" -FONT 8, "MS Shell Dlg", 0, 0, 0x1 -BEGIN - ICON IDI_ICON_BLACK,IDC_ICON_DI00,143,127,21,20 - ICON IDI_ICON_BLACK,IDC_ICON_DI01,125,127,21,20 - ICON IDI_ICON_BLACK,IDC_ICON_DI02,107,127,21,20 - ICON IDI_ICON_BLACK,IDC_ICON_DI03,89,127,21,20 - ICON IDI_ICON_BLACK,IDC_ICON_DI04,71,127,21,20 - ICON IDI_ICON_BLACK,IDC_ICON_DI05,53,127,21,20 - ICON IDI_ICON_BLACK,IDC_ICON_DI06,35,127,21,20 - ICON IDI_ICON_BLACK,IDC_ICON_DI07,17,127,21,20 - CONTROL "",IDC_CHECK_DO00,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE | WS_TABSTOP,299,132,12,12 - CONTROL "",IDC_CHECK_DO01,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE | WS_TABSTOP,281,132,12,12 - CONTROL "",IDC_CHECK_DO02,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE | WS_TABSTOP,263,132,12,12 - CONTROL "",IDC_CHECK_DO03,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE | WS_TABSTOP,245,132,12,12 - CONTROL "",IDC_CHECK_DO04,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE | WS_TABSTOP,228,132,12,12 - CONTROL "",IDC_CHECK_DO05,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE | WS_TABSTOP,210,132,12,12 - CONTROL "",IDC_CHECK_DO06,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE | WS_TABSTOP,192,132,12,12 - CONTROL "",IDC_CHECK_DO07,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE | WS_TABSTOP,174,132,12,12 - SCROLLBAR IDC_SCROLLBAR1,110,109,162,12 - GROUPBOX "",IDC_STATIC_DRAW0,43,9,213,75,NOT WS_VISIBLE - CONTROL 132,IDC_STATIC,"Static",SS_BITMAP,295,12,9,44 - CONTROL "0",IDC_RADIO_CH0,"Button",BS_AUTOCHECKBOX | BS_LEFTTEXT | BS_PUSHLIKE,274,13,17,10 - CONTROL "1",IDC_RADIO_CH1,"Button",BS_AUTOCHECKBOX | BS_LEFTTEXT | BS_PUSHLIKE,274,24,17,10 - CONTROL "2",IDC_RADIO_CH2,"Button",BS_AUTOCHECKBOX | BS_LEFTTEXT | BS_PUSHLIKE,274,35,17,10 - CONTROL "3",IDC_RADIO_CH3,"Button",BS_AUTOCHECKBOX | BS_LEFTTEXT | BS_PUSHLIKE,274,46,17,10 - COMBOBOX IDC_COMBO_AI_RANGE,263,78,51,13,CBS_DROPDOWN | WS_VSCROLL | WS_TABSTOP - LTEXT "Input Range",IDC_STATIC,265,64,45,12 - LTEXT "-10 0 10",IDC_STATIC,113,97,159,12 - LTEXT "AO Channel",IDC_STATIC,21,108,41,13 - EDITTEXT IDC_EDIT_AO,280,108,29,14,ES_AUTOHSCROLL | ES_READONLY - COMBOBOX IDC_COMBO_AO_CHANNEL,66,107,35,14,CBS_DROPDOWN | WS_VSCROLL | WS_TABSTOP -END - -IDD_CARDID_DIALOG DIALOGEX 0, 0, 165, 102 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "Card ID" -FONT 8, "MS Shell Dlg", 400, 0, 0x1 -BEGIN - COMBOBOX IDC_COMBO_CARDID,75,24,71,126,CBS_DROPDOWN | WS_VSCROLL | WS_TABSTOP - LTEXT "Card Number",IDC_STATIC_01,21,25,46,12 - PUSHBUTTON "OK",IDOK,23,61,58,19 - PUSHBUTTON "CANCEL",IDCANCEL,87,61,58,19 -END - - -///////////////////////////////////////////////////////////////////////////// -// -// Version -// - -VS_VERSION_INFO VERSIONINFO - FILEVERSION 1,0,0,1 - PRODUCTVERSION 1,0,0,1 - FILEFLAGSMASK 0x3fL -#ifdef _DEBUG - FILEFLAGS 0x1L -#else - FILEFLAGS 0x0L -#endif - FILEOS 0x4L - FILETYPE 0x1L - FILESUBTYPE 0x0L -BEGIN - BLOCK "StringFileInfo" - BEGIN - BLOCK "040904e4" - BEGIN - VALUE "CompanyName", "TODO: " - VALUE "FileDescription", "TODO: " - VALUE "FileVersion", "1.0.0.1" - VALUE "InternalName", "Util9524.exe" - VALUE "LegalCopyright", "TODO: (c) . All rights reserved." - VALUE "OriginalFilename", "Util9524.exe" - VALUE "ProductName", "TODO: " - VALUE "ProductVersion", "1.0.0.1" - END - END - BLOCK "VarFileInfo" - BEGIN - VALUE "Translation", 0x409, 1252 - END -END - - -///////////////////////////////////////////////////////////////////////////// -// -// DESIGNINFO -// - -#ifdef APSTUDIO_INVOKED -GUIDELINES DESIGNINFO -BEGIN - IDD_ABOUTBOX, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 163 - TOPMARGIN, 7 - BOTTOMMARGIN, 55 - END - - IDD_UTIL9524_DIALOG, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 320 - TOPMARGIN, 7 - BOTTOMMARGIN, 156 - END - - IDD_CARDID_DIALOG, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 158 - TOPMARGIN, 6 - BOTTOMMARGIN, 95 - END -END -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// Bitmap -// - -IDB_BITMAP_SET1 BITMAP "res\\ch_set1.bmp" -IDB_BITMAP_SET2 BITMAP "res\\ch_set2.bmp" - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog Info -// - -IDD_UTIL9524_DIALOG DLGINIT -BEGIN - IDC_COMBO_AI_RANGE, 0x403, 8, 0 -0x2f2b, 0x202d, 0x3031, 0x0056, - IDC_COMBO_AI_RANGE, 0x403, 6, 0 -0x2f2b, 0x352d, 0x0056, - IDC_COMBO_AI_RANGE, 0x403, 9, 0 -0x2f2b, 0x202d, 0x2e32, 0x5635, "\000" - IDC_COMBO_AI_RANGE, 0x403, 9, 0 -0x2f2b, 0x312d, 0x322e, 0x5635, "\000" - IDC_COMBO_AO_CHANNEL, 0x403, 4, 0 -0x4941, 0x0030, - IDC_COMBO_AO_CHANNEL, 0x403, 4, 0 -0x4941, 0x0031, - 0 -END - -IDD_CARDID_DIALOG DLGINIT -BEGIN - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0030, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0031, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0032, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0033, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0034, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0035, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0036, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0037, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0038, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0039, - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3031, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3131, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3231, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3331, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3431, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3531, "\000" - 0 -END - - -///////////////////////////////////////////////////////////////////////////// -// -// String Table -// - -STRINGTABLE -BEGIN - IDS_ABOUTBOX "&About Util9524..." -END - -#endif // English (U.S.) resources -///////////////////////////////////////////////////////////////////////////// - - - -#ifndef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 3 resource. -// -#define _AFX_NO_SPLITTER_RESOURCES -#define _AFX_NO_OLE_RESOURCES -#define _AFX_NO_TRACKER_RESOURCES -#define _AFX_NO_PROPERTY_RESOURCES - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -LANGUAGE 9, 1 -#pragma code_page(1252) -#include "res\Util9524.rc2" // non-Microsoft Visual C++ edited resources -#include "afxres.rc" // Standard components -#endif - -///////////////////////////////////////////////////////////////////////////// -#endif // not APSTUDIO_INVOKED - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524/Util9524.sln b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524/Util9524.sln deleted file mode 100644 index 362f5bf..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524/Util9524.sln +++ /dev/null @@ -1,20 +0,0 @@ - -Microsoft Visual Studio Solution File, Format Version 10.00 -# Visual Studio 2008 -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "Util9524", "Util9524.vcproj", "{EA91AA3F-533F-4BE6-8BD6-78C091590751}" -EndProject -Global - GlobalSection(SolutionConfigurationPlatforms) = preSolution - Debug|x64 = Debug|x64 - Release|x64 = Release|x64 - EndGlobalSection - GlobalSection(ProjectConfigurationPlatforms) = postSolution - {EA91AA3F-533F-4BE6-8BD6-78C091590751}.Debug|x64.ActiveCfg = Debug|x64 - {EA91AA3F-533F-4BE6-8BD6-78C091590751}.Debug|x64.Build.0 = Debug|x64 - {EA91AA3F-533F-4BE6-8BD6-78C091590751}.Release|x64.ActiveCfg = Release|x64 - {EA91AA3F-533F-4BE6-8BD6-78C091590751}.Release|x64.Build.0 = Release|x64 - EndGlobalSection - GlobalSection(SolutionProperties) = preSolution - HideSolutionNode = FALSE - EndGlobalSection -EndGlobal diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524/Util9524.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524/Util9524.suo deleted file mode 100644 index 0ab3186..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524/Util9524.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524/Util9524.vcproj b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524/Util9524.vcproj deleted file mode 100644 index 3beeeaa..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524/Util9524.vcproj +++ /dev/null @@ -1,306 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524/Util9524Dlg.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524/Util9524Dlg.cpp deleted file mode 100644 index eb27cb0..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524/Util9524Dlg.cpp +++ /dev/null @@ -1,943 +0,0 @@ - -// Util9524Dlg.cpp : implementation file -// - -#include "stdafx.h" -#include "Util9524.h" -#include "Util9524Dlg.h" - -#ifdef _DEBUG -#define new DEBUG_NEW -#endif - -CRect plotRect; - - -// CAboutDlg dialog used for App About - -class CAboutDlg : public CDialog -{ -public: - CAboutDlg(); - -// Dialog Data - enum { IDD = IDD_ABOUTBOX }; - - protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - -// Implementation -protected: - DECLARE_MESSAGE_MAP() -}; - -CAboutDlg::CAboutDlg() : CDialog(CAboutDlg::IDD) -{ -} - -void CAboutDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); -} - -BEGIN_MESSAGE_MAP(CAboutDlg, CDialog) -END_MESSAGE_MAP() - - -// CUtil9524Dlg dialog - - - - -CUtil9524Dlg::CUtil9524Dlg(I16 hCard, CWnd* pParent /*=NULL*/) - : CDialog(CUtil9524Dlg::IDD, pParent) -{ - m_hIcon = AfxGetApp()->LoadIcon(IDR_MAINFRAME); - - m_hCard = hCard; - - n_PlotWidth = n_PlotHeight = -1; - OnBrush = OffBrush = NULL; - - min_val = 0x00; - max_val = 0xFFFF; - - for( int i=0; iAppendMenu(MF_SEPARATOR); - pSysMenu->AppendMenu(MF_STRING, IDM_ABOUTBOX, strAboutMenu); - } - } - - // Set the icon for this dialog. The framework does this automatically - // when the application's main window is not a dialog - SetIcon(m_hIcon, TRUE); // Set big icon - SetIcon(m_hIcon, FALSE); // Set small icon - - x_divider = 5; y_divider = 2; - - OnBrush = CreateSolidBrush( RGB(255,0,0) ); - OffBrush = CreateSolidBrush( RGB(125,0,0) ); - - RedPen.CreatePen( PS_SOLID, 1, RGB(255,0,0)); - GreenPen.CreatePen( PS_SOLID, 1, RGB(0,255,0)); - YellowPen.CreatePen( PS_SOLID, 1, RGB(255,255,0)); - BluePen.CreatePen( PS_SOLID, 1, RGB(0,0,255)); - LTBluePen.CreatePen( PS_SOLID, 1, RGB(0,128,255)); - LTRedPen.CreatePen( PS_SOLID, 1, RGB(255,128,0)); - LTGreenPen.CreatePen( PS_SOLID, 1, RGB(0,128,0)); - WhitePen.CreatePen( PS_SOLID, 1, RGB(255,255,255)); - - - if( n_PlotWidth == -1 && n_PlotHeight == -1 ) - { - ((CWnd*)GetDlgItem(IDC_STATIC_DRAW0))->GetWindowRect(&plotRect); - ScreenToClient(&plotRect); - - n_PlotWidth = min( plotRect.Width(), 512); - // n_PlotHeight = plotRect.Height() - 10; - n_PlotHeight = plotRect.Height(); - - } - - - // TODO: Add extra initialization here - info.cbSize = sizeof(SCROLLINFO); - info.fMask = SIF_ALL; - info.nMin = 0; - info.nMax = 4096; - info.nPage = 2; - info.nPos = 0; - info.nTrackPos = 2; - m_scBarAO.SetScrollInfo(&info); - m_nAOValue = 0; - - m_cbAIRange.SetCurSel( 0 ); - max_range = 10.0; - min_range = -10.0; - m_wAdRange = AD_B_10_V; - - m_cbAOChannel.SetCurSel( 0 ); - m_wAOChannel = 0; - - err = AI_9524_Config(m_hCard, m_wGroup, m_wXMode, 0, 0, 0); - if(err<0) - { - strTemp.Format( TEXT("AI_9524_PollConfig( P9524_AI_GP_CH0 ) Error: %d\n"), err); - return FALSE; - } - - - err = AI_9524_PollConfig(m_hCard, m_wGroup, P9524_AI_POLL_ALLCHANNELS, m_wAdRange, m_wPollSpeed); - if(err<0) - { - strTemp.Format( TEXT("AI_9524_PollConfig( P9524_AI_GP_CH0 ) Error: %d\n"), err); - return FALSE; - } - - - m_nTimer = SetTimer( 1, 50, NULL ); - - return TRUE; // return TRUE unless you set the focus to a control -} - -void CUtil9524Dlg::OnSysCommand(UINT nID, LPARAM lParam) -{ - if ((nID & 0xFFF0) == IDM_ABOUTBOX) - { - CAboutDlg dlgAbout; - dlgAbout.DoModal(); - } - else - { - CDialog::OnSysCommand(nID, lParam); - } -} - -// If you add a minimize button to your dialog, you will need the code below -// to draw the icon. For MFC applications using the document/view model, -// this is automatically done for you by the framework. - -void CUtil9524Dlg::OnPaint() -{ - if (IsIconic()) - { - CPaintDC dc(this); // device context for painting - - SendMessage(WM_ICONERASEBKGND, reinterpret_cast(dc.GetSafeHdc()), 0); - - // Center icon in client rectangle - int cxIcon = GetSystemMetrics(SM_CXICON); - int cyIcon = GetSystemMetrics(SM_CYICON); - CRect rect; - GetClientRect(&rect); - int x = (rect.Width() - cxIcon + 1) / 2; - int y = (rect.Height() - cyIcon + 1) / 2; - - // Draw the icon - dc.DrawIcon(x, y, m_hIcon); - } - else - { - redraw_display_area(); - CDialog::OnPaint(); - } -} - -// The system calls this function to obtain the cursor to display while the user drags -// the minimized window. -HCURSOR CUtil9524Dlg::OnQueryDragIcon() -{ - return static_cast(m_hIcon); -} - - -void CUtil9524Dlg::OnHScroll(UINT nSBCode, UINT nPos, CScrollBar* pScrollBar) -{ - // TODO: Add your message handler code here and/or call default - int minpos; - int maxpos; - double fAOValue; - CString strTmp; - - m_scBarAO.GetScrollRange(&minpos, &maxpos); - maxpos = m_scBarAO.GetScrollLimit(); - - // Get the current position of scroll box. - int curpos = m_scBarAO.GetScrollPos(); - - // Determine the new position of scroll box. - switch (nSBCode) - { - case SB_LINELEFT: // Scroll left. - if (curpos > minpos) - curpos--; - break; - - case SB_LINERIGHT: // Scroll right. - if (curpos < maxpos) - curpos++; - break; - - case SB_THUMBPOSITION: // Scroll to absolute position. nPos is the position - curpos = nPos; // of the scroll box at the end of the drag operation. - - break; - - case SB_LEFT: // Scroll to far left. - case SB_RIGHT: // Scroll to far right. - case SB_ENDSCROLL: // End scroll. - case SB_PAGELEFT: // Scroll one page left. - case SB_PAGERIGHT: // Scroll one page right. - case SB_THUMBTRACK: // Drag scroll box to specified position. nPos is the - - break; - } - - // Set the new position of the thumb (scroll box). - m_scBarAO.SetScrollPos(curpos); - - if( m_nAOValue != curpos ) - { - // update the m_nAOValue value, and output AO - m_nAOValue = curpos; - fAOValue = ( 20.0 * (double)curpos / (double)(maxpos - minpos) ) - 10.0; - strTmp.Format( TEXT("%.02f"), fAOValue ); - SetDlgItemText( IDC_EDIT_AO, strTmp ); - - AO_VWriteChannel(m_hCard, m_wAOChannel, fAOValue ); - } - - - CDialog::OnHScroll(nSBCode, nPos, pScrollBar); -} - - - -void CUtil9524Dlg::OnDestroy() -{ - CDialog::OnDestroy(); - - // TODO: Add your message handler code here - - if( m_nTimer != -1 ) - { - KillTimer( m_nTimer ); - m_nTimer = -1; - } - - if( OnBrush != NULL ) - ::DeleteObject( OnBrush ); - - if( OffBrush != NULL ) - ::DeleteObject( OffBrush ); - - RedPen.DeleteObject(); - GreenPen.DeleteObject(); - YellowPen.DeleteObject(); - BluePen.DeleteObject(); - LTBluePen.DeleteObject(); - LTRedPen.DeleteObject(); - LTGreenPen.DeleteObject(); - WhitePen.DeleteObject(); -} - -void CUtil9524Dlg::OnAIRangeSelchange() -{ - // TODO: Add your control notification handler code here - U16 tmpAdRange; - int nIndex; - double maxRange, minRange; - I16 err; - CString strTemp; - - nIndex = m_cbAIRange.GetCurSel(); - switch( nIndex ) - { - case 0: - tmpAdRange = AD_B_10_V; - maxRange = 10.0; - minRange = -10.0; - break; - case 1: - tmpAdRange = AD_B_5_V; - maxRange = 5.0; - minRange = -5.0; - break; - case 2: - tmpAdRange = AD_B_2_5_V; - maxRange = 2.5; - minRange = -2.5; - break; - case 3: - tmpAdRange = AD_B_1_25_V; - maxRange = 1.25; - minRange = -1.25; - break; - } - - - if( tmpAdRange != m_wAdRange ) - { // update m_InPortA and configure the target Port - m_wAdRange = tmpAdRange; - - // Re-Configure AI-Polling settings - - err = AI_9524_PollConfig(m_hCard, P9524_AI_GP_Group, P9524_AI_POLL_ALLCHANNELS, m_wAdRange, m_wPollSpeed); - if(err<0) - { - strTemp.Format( TEXT("AI_9524_PollConfig( P9524_AI_GP_CH0 ) Error: %d\n"), err); - return; - } - - max_range = maxRange; - min_range = minRange; - - redraw_display_area(); - - } - -} - -void CUtil9524Dlg::OnAOChannelSelchange() -{ - // TODO: Add your control notification handler code here - U16 tmpAOChannel; - int nIndex; - - nIndex = m_cbAOChannel.GetCurSel(); - switch( nIndex ) - { - case 0: - tmpAOChannel = 0; - break; - case 1: - tmpAOChannel = 1; - break; - } - - - if( tmpAOChannel != m_wAOChannel ) - { // update m_InPortA and configure the target Port - m_wAOChannel = tmpAOChannel; - } - -} - - - -void CUtil9524Dlg::OnAI00Enable() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_RADIO_CH0 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_AIEnable[0] = 0x01; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_AIEnable[0] = 0x00; - } -} - -void CUtil9524Dlg::OnAI01Enable() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_RADIO_CH1 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_AIEnable[1] = 0x01; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_AIEnable[1] = 0x00; - } -} - -void CUtil9524Dlg::OnAI02Enable() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_RADIO_CH2 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_AIEnable[2] = 0x01; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_AIEnable[2] = 0x00; - } -} - -void CUtil9524Dlg::OnAI03Enable() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_RADIO_CH3 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_AIEnable[3] = 0x01; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_AIEnable[3] = 0x00; - } -} - - -void CUtil9524Dlg::OnDo00() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_DO00 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_OutData |= 0x01; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_OutData &= (~0x01); - } - - DO_WritePort(m_hCard, 0, m_OutData); -} - -void CUtil9524Dlg::OnDo01() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_DO01 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_OutData |= 0x02; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_OutData &= (~0x02); - } - - DO_WritePort(m_hCard, 0, m_OutData); -} - -void CUtil9524Dlg::OnDo02() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_DO02 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_OutData |= 0x04; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_OutData &= (~0x04); - } - - DO_WritePort(m_hCard, 0, m_OutData); -} - -void CUtil9524Dlg::OnDo03() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_DO03 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_OutData |= 0x08; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_OutData &= (~0x08); - } - - DO_WritePort(m_hCard, 0, m_OutData); -} - -void CUtil9524Dlg::OnDo04() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_DO04 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_OutData |= 0x10; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_OutData &= (~0x10); - } - - DO_WritePort(m_hCard, 0, m_OutData); -} - -void CUtil9524Dlg::OnDo05() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_DO05 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_OutData |= 0x20; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_OutData &= (~0x20); - } - - DO_WritePort(m_hCard, 0, m_OutData); -} - -void CUtil9524Dlg::OnDo06() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_DO06 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_OutData |= 0x40; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_OutData &= (~0x40); - } - - DO_WritePort(m_hCard, 0, m_OutData); -} - -void CUtil9524Dlg::OnDo07() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_CHECK_DO07 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_OutData |= 0x80; - } - else if( CheckSts == BST_UNCHECKED ) - { - m_OutData &= (~0x80); - } - - DO_WritePort(m_hCard, 0, m_OutData); -} - -void CUtil9524Dlg::OnTimer(UINT_PTR nIDEvent) -{ - // TODO: Add your message handler code here and/or call default - U32 dwPortData,dwChangeMask; - I16 err; - - err = DI_ReadPort(m_hCard, 0, &dwPortData); - dwChangeMask = dwPortData ^ m_InData; - - if( dwChangeMask != 0x00 ) // Input had been changed - { - - m_InData = dwPortData; - - if( (dwChangeMask & 0x0001) == 0x0001 ) // if the target bit is changed - { - if( (dwPortData & 0x0001) == 0x0001 ) - { - m_Icon_IN00.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_IN00.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - - if( (dwChangeMask & 0x0002) == 0x0002 ) // if the target bit is changed - { - if( (dwPortData & 0x0002) == 0x0002 ) - { - m_Icon_IN01.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_IN01.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - if( (dwChangeMask & 0x0004) == 0x0004 ) // if the target bit is changed - { - if( (dwPortData & 0x0004) == 0x0004 ) - { - m_Icon_IN02.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_IN02.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - if( (dwChangeMask & 0x0008) == 0x0008 ) // if the target bit is changed - { - if( (dwPortData & 0x0008) == 0x0008 ) - { - m_Icon_IN03.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_IN03.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - if( (dwChangeMask & 0x0010) == 0x0010 ) // if the target bit is changed - { - if( (dwPortData & 0x0010) == 0x0010 ) - { - m_Icon_IN04.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_IN04.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - if( (dwChangeMask & 0x0020) == 0x0020 ) // if the target bit is changed - { - if( (dwPortData & 0x0020) == 0x0020 ) - { - m_Icon_IN05.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_IN05.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - if( (dwChangeMask & 0x0040) == 0x0040 ) // if the target bit is changed - { - if( (dwPortData & 0x0040) == 0x0040 ) - { - m_Icon_IN06.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_IN06.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - if( (dwChangeMask & 0x0080) == 0x0080 ) // if the target bit is changed - { - if( (dwPortData & 0x0080) == 0x0080 ) - { - m_Icon_IN07.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_RED) ) ; - } - else - { - m_Icon_IN07.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON_BLACK) ) ; - } - } - - } - - for( int i=0; i> 4) & 0x0F); - ai_data = (nTemp >> 8); - - newY = (int)( nDraw_Bottom - ((n_PlotHeight * ai_data) >> 24) ); // ( n_PlotHeight * ai_data / 16777216) ); // ( (n_PlotHeight/2) * ai_data/8388608 ) ); - - - if ( m_oldY[i] !=-1 ) - { - dc_plot.MoveTo( plotRect.left+2, newY ); - dc_plot.LineTo( plotRect.left+5, m_oldY[i] ); - } - - m_oldY[i] = newY; - } - } - - return 0; -} diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524/Util9524Dlg.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524/Util9524Dlg.h deleted file mode 100644 index 7dae0f0..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524/Util9524Dlg.h +++ /dev/null @@ -1,107 +0,0 @@ - -// Util9524Dlg.h : header file -// - -#pragma once -#include "afxcmn.h" -#include "afxwin.h" - -#include "Dask64.h" - -#ifndef MAX_CHAN_9524 -#define MAX_CHAN_9524 4 -#endif - -// CUtil9524Dlg dialog -class CUtil9524Dlg : public CDialog -{ -// Construction -public: - CUtil9524Dlg(I16 hCard, CWnd* pParent = NULL); // standard constructor - -// Dialog Data - enum { IDD = IDD_UTIL9524_DIALOG }; - - protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - - -// Implementation -protected: - HICON m_hIcon; - UINT_PTR m_nTimer; - I16 m_hCard; - int m_nAOValue; - U16 m_wAdRange; - U16 m_wAOChannel; - U8 m_AIEnable[MAX_CHAN_9524]; - U32 m_AIData[MAX_CHAN_9524]; - U16 m_AIChan[MAX_CHAN_9524]; - U32 m_OutData; - U32 m_InData; - U16 m_wPollSpeed; - U16 m_wGroup; - U16 m_wXMode; - - // Generated message map functions - virtual BOOL OnInitDialog(); - afx_msg void OnSysCommand(UINT nID, LPARAM lParam); - afx_msg void OnPaint(); - afx_msg HCURSOR OnQueryDragIcon(); - DECLARE_MESSAGE_MAP() -public: - CScrollBar m_scBarAO; - afx_msg void OnHScroll(UINT nSBCode, UINT nPos, CScrollBar* pScrollBar); - CComboBox m_cbAIRange; - CComboBox m_cbAOChannel; - WORD max_val; - WORD min_val; - double max_range; - double min_range; - int n_PlotWidth; - int n_PlotHeight; - int y_divider; - int x_divider; - int m_DisplayScale; - int m_oldY[MAX_CHAN_9524]; - HBRUSH OnBrush; - HBRUSH OffBrush; - CPen RedPen; - CPen GreenPen; - CPen YellowPen; - CPen BluePen; - CPen LTBluePen; - CPen LTRedPen; - CPen LTGreenPen; - CPen WhitePen; - -private: - void redraw_display_area(void); -public: - afx_msg void OnDestroy(); - afx_msg void OnAIRangeSelchange(); - afx_msg void OnAOChannelSelchange(); - afx_msg void OnAI00Enable(); - afx_msg void OnAI01Enable(); - afx_msg void OnAI02Enable(); - afx_msg void OnAI03Enable(); - afx_msg void OnDo00(); - afx_msg void OnDo01(); - afx_msg void OnDo02(); - afx_msg void OnDo03(); - afx_msg void OnDo04(); - afx_msg void OnDo05(); - afx_msg void OnDo06(); - afx_msg void OnDo07(); - afx_msg void OnTimer(UINT_PTR nIDEvent); - CStatic m_Icon_IN00; - CStatic m_Icon_IN01; - CStatic m_Icon_IN02; - CStatic m_Icon_IN03; - CStatic m_Icon_IN04; - CStatic m_Icon_IN05; - CStatic m_Icon_IN06; - CStatic m_Icon_IN07; -private: - int display_buffer_data(void); -}; diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524/res/Util9524.ico b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524/res/Util9524.ico deleted file mode 100644 index d56fbcd..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524/res/Util9524.ico and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524/res/Util9524.rc2 b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524/res/Util9524.rc2 deleted file mode 100644 index 4b43b56..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524/res/Util9524.rc2 +++ /dev/null @@ -1,13 +0,0 @@ -// -// Util9111.RC2 - resources Microsoft Visual C++ does not edit directly -// - -#ifdef APSTUDIO_INVOKED -#error this file is not editable by Microsoft Visual C++ -#endif //APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// Add manually edited resources here... - -///////////////////////////////////////////////////////////////////////////// diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524/res/black.ico b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524/res/black.ico deleted file mode 100644 index b5c375f..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524/res/black.ico and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524/res/blue.ico b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524/res/blue.ico deleted file mode 100644 index 1df4b39..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524/res/blue.ico and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524/res/ch_set1.bmp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524/res/ch_set1.bmp deleted file mode 100644 index f2374ed..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524/res/ch_set1.bmp and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524/res/ch_set2.bmp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524/res/ch_set2.bmp deleted file mode 100644 index 32d0915..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524/res/ch_set2.bmp and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524/res/green.ico b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524/res/green.ico deleted file mode 100644 index d9a9fd3..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524/res/green.ico and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524/res/pink.ico b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524/res/pink.ico deleted file mode 100644 index 18bdaad..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524/res/pink.ico and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524/res/red.ico b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524/res/red.ico deleted file mode 100644 index 7644596..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524/res/red.ico and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524/res/yellow.ico b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524/res/yellow.ico deleted file mode 100644 index 3449de2..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524/res/yellow.ico and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524/resource.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524/resource.h deleted file mode 100644 index 1ebfeb5..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524/resource.h +++ /dev/null @@ -1,54 +0,0 @@ -//{{NO_DEPENDENCIES}} -// Microsoft Visual C++ generated include file. -// Used by Util9524.rc -// -#define IDM_ABOUTBOX 0x0010 -#define IDD_ABOUTBOX 100 -#define IDS_ABOUTBOX 101 -#define IDD_UTIL9524_DIALOG 102 -#define IDR_MAINFRAME 128 -#define IDI_ICON_BLACK 130 -#define IDI_ICON_RED 131 -#define IDB_BITMAP_SET1 132 -#define IDB_BITMAP_SET2 133 -#define IDD_CARDID_DIALOG 135 -#define IDC_STATIC_DRAW0 1000 -#define IDC_COMBO_CARDID 1000 -#define IDC_SCROLLBAR1 1001 -#define IDC_STATIC_DRAW1 1002 -#define IDC_ICON_DI00 1003 -#define IDC_ICON_DI01 1004 -#define IDC_ICON_DI02 1005 -#define IDC_ICON_DI03 1006 -#define IDC_ICON_DI04 1007 -#define IDC_ICON_DI05 1008 -#define IDC_ICON_DI06 1009 -#define IDC_ICON_DI07 1010 -#define IDC_STATIC_01 1011 -#define IDC_STATIC_2 1012 -#define IDC_RADIO_CH0 1013 -#define IDC_RADIO_CH1 1014 -#define IDC_RADIO_CH2 1015 -#define IDC_RADIO_CH3 1016 -#define IDC_CHECK_DO00 1017 -#define IDC_CHECK_DO01 1018 -#define IDC_CHECK_DO02 1019 -#define IDC_CHECK_DO03 1020 -#define IDC_CHECK_DO04 1021 -#define IDC_CHECK_DO05 1022 -#define IDC_CHECK_DO06 1023 -#define IDC_CHECK_DO07 1024 -#define IDC_COMBO_AI_RANGE 1025 -#define IDC_EDIT_AO 1026 -#define IDC_COMBO_AO_CHANNEL 1027 - -// Next default values for new objects -// -#ifdef APSTUDIO_INVOKED -#ifndef APSTUDIO_READONLY_SYMBOLS -#define _APS_NEXT_RESOURCE_VALUE 137 -#define _APS_NEXT_COMMAND_VALUE 32771 -#define _APS_NEXT_CONTROL_VALUE 1028 -#define _APS_NEXT_SYMED_VALUE 101 -#endif -#endif diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524/stdafx.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524/stdafx.cpp deleted file mode 100644 index c8c8934..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524/stdafx.cpp +++ /dev/null @@ -1,8 +0,0 @@ - -// stdafx.cpp : source file that includes just the standard includes -// Util9111.pch will be the pre-compiled header -// stdafx.obj will contain the pre-compiled type information - -#include "stdafx.h" - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524/stdafx.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524/stdafx.h deleted file mode 100644 index 12123e2..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524/stdafx.h +++ /dev/null @@ -1,60 +0,0 @@ - -// stdafx.h : include file for standard system include files, -// or project specific include files that are used frequently, -// but are changed infrequently - -#pragma once - -#ifndef _SECURE_ATL -#define _SECURE_ATL 1 -#endif - -#ifndef VC_EXTRALEAN -#define VC_EXTRALEAN // Exclude rarely-used stuff from Windows headers -#endif - -#include "targetver.h" - -#define _ATL_CSTRING_EXPLICIT_CONSTRUCTORS // some CString constructors will be explicit - -// turns off MFC's hiding of some common and often safely ignored warning messages -#define _AFX_ALL_WARNINGS - -#include // MFC core and standard components -#include // MFC extensions - - -#include // MFC Automation classes - - - -#ifndef _AFX_NO_OLE_SUPPORT -#include // MFC support for Internet Explorer 4 Common Controls -#endif -#ifndef _AFX_NO_AFXCMN_SUPPORT -#include // MFC support for Windows Common Controls -#endif // _AFX_NO_AFXCMN_SUPPORT - -#include // MFC support for ribbons and control bars - - - - - - - - - -#ifdef _UNICODE -#if defined _M_IX86 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='x86' publicKeyToken='6595b64144ccf1df' language='*'\"") -#elif defined _M_IA64 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='ia64' publicKeyToken='6595b64144ccf1df' language='*'\"") -#elif defined _M_X64 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='amd64' publicKeyToken='6595b64144ccf1df' language='*'\"") -#else -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='*' publicKeyToken='6595b64144ccf1df' language='*'\"") -#endif -#endif - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524/targetver.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524/targetver.h deleted file mode 100644 index 11730d5..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524/targetver.h +++ /dev/null @@ -1,26 +0,0 @@ - -#pragma once - -// The following macros define the minimum required platform. The minimum required platform -// is the earliest version of Windows, Internet Explorer etc. that has the necessary features to run -// your application. The macros work by enabling all features available on platform versions up to and -// including the version specified. - -// Modify the following defines if you have to target a platform prior to the ones specified below. -// Refer to MSDN for the latest info on corresponding values for different platforms. -#ifndef WINVER // Specifies that the minimum required platform is Windows Vista. -#define WINVER 0x0600 // Change this to the appropriate value to target other versions of Windows. -#endif - -#ifndef _WIN32_WINNT // Specifies that the minimum required platform is Windows Vista. -#define _WIN32_WINNT 0x0600 // Change this to the appropriate value to target other versions of Windows. -#endif - -#ifndef _WIN32_WINDOWS // Specifies that the minimum required platform is Windows 98. -#define _WIN32_WINDOWS 0x0410 // Change this to the appropriate value to target Windows Me or later. -#endif - -#ifndef _WIN32_IE // Specifies that the minimum required platform is Internet Explorer 7.0. -#define _WIN32_IE 0x0700 // Change this to the appropriate value to target other versions of IE. -#endif - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524AIDma/9111int.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524AIDma/9111int.suo deleted file mode 100644 index 1d7a5ee..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524AIDma/9111int.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524AIDma/9116dma.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524AIDma/9116dma.suo deleted file mode 100644 index ac40639..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524AIDma/9116dma.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524AIDma/9221dma.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524AIDma/9221dma.suo deleted file mode 100644 index dcc1d84..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524AIDma/9221dma.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524AIDma/9222dma.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524AIDma/9222dma.suo deleted file mode 100644 index 907197b..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524AIDma/9222dma.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524AIDma/9223dma.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524AIDma/9223dma.suo deleted file mode 100644 index e334f8b..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524AIDma/9223dma.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524AIDma/9524dma.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524AIDma/9524dma.cpp deleted file mode 100644 index 38cf44f..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524AIDma/9524dma.cpp +++ /dev/null @@ -1,109 +0,0 @@ - -// 9524dma.cpp : Defines the class behaviors for the application. -// - -#include "stdafx.h" -#include "9524dma.h" -#include "9524dmaDlg.h" -#include "CardIDDlg.h" - -#ifdef _DEBUG -#define new DEBUG_NEW -#endif - - -// C9524dmaApp - -BEGIN_MESSAGE_MAP(C9524dmaApp, CWinAppEx) - ON_COMMAND(ID_HELP, &CWinApp::OnHelp) -END_MESSAGE_MAP() - - -// C9524dmaApp construction - -C9524dmaApp::C9524dmaApp() -{ - // TODO: add construction code here, - // Place all significant initialization in InitInstance -} - - -// The one and only C9524dmaApp object - -C9524dmaApp theApp; - - -// C9524dmaApp initialization - -BOOL C9524dmaApp::InitInstance() -{ - int nCardID = 0; - I16 hCard; - CString strTemp; - INT_PTR nResponse; - - // InitCommonControlsEx() is required on Windows XP if an application - // manifest specifies use of ComCtl32.dll version 6 or later to enable - // visual styles. Otherwise, any window creation will fail. - INITCOMMONCONTROLSEX InitCtrls; - InitCtrls.dwSize = sizeof(InitCtrls); - // Set this to include all the common control classes you want to use - // in your application. - InitCtrls.dwICC = ICC_WIN95_CLASSES; - InitCommonControlsEx(&InitCtrls); - - CWinAppEx::InitInstance(); - - AfxEnableControlContainer(); - - // Standard initialization - // If you are not using these features and wish to reduce the size - // of your final executable, you should remove from the following - // the specific initialization routines you do not need - // Change the registry key under which our settings are stored - // TODO: You should modify this string to be something appropriate - // such as the name of your company or organization - SetRegistryKey(_T("Local AppWizard-Generated Applications")); - - CCardIDDlg CardDlg( nCardID ); - - nResponse = CardDlg.DoModal(); - if (nResponse == IDOK) - { - nCardID = CardDlg.GetCardID(); - - if ((hCard=Register_Card(PCI_9524, nCardID)) < 0) - { - strTemp.Format( TEXT("Register_Card Error = %d"), hCard); - AfxMessageBox( strTemp ); - } - else - { - C9524dmaDlg dlg(hCard); - m_pMainWnd = &dlg; - nResponse = dlg.DoModal(); - if (nResponse == IDOK) - { - // TODO: Place code here to handle when the dialog is - // dismissed with OK - } - else if (nResponse == IDCANCEL) - { - // TODO: Place code here to handle when the dialog is - // dismissed with Cancel - } - - if (hCard >= 0) Release_Card(hCard); - } - - } - else if (nResponse == IDCANCEL) - { - // TODO: Place code here to handle when the dialog is - // dismissed with Cancel - } - - // Since the dialog has been closed, return FALSE so that we exit the - // application, rather than start the application's message pump. - return FALSE; -} diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524AIDma/9524dma.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524AIDma/9524dma.h deleted file mode 100644 index 12e9e1d..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524AIDma/9524dma.h +++ /dev/null @@ -1,34 +0,0 @@ - -// 9524dma.h : main header file for the PROJECT_NAME application -// - -#pragma once - -#ifndef __AFXWIN_H__ - #error "include 'stdafx.h' before including this file for PCH" -#endif - -#include "resource.h" // main symbols - -#define AI_MODE_DMA 0 -#define AI_MODE_INT 1 - -// C9524dmaApp: -// See 9524dma.cpp for the implementation of this class -// - -class C9524dmaApp : public CWinAppEx -{ -public: - C9524dmaApp(); - -// Overrides - public: - virtual BOOL InitInstance(); - -// Implementation - - DECLARE_MESSAGE_MAP() -}; - -extern C9524dmaApp theApp; \ No newline at end of file diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524AIDma/9524dma.rc b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524AIDma/9524dma.rc deleted file mode 100644 index 7905749..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524AIDma/9524dma.rc +++ /dev/null @@ -1,311 +0,0 @@ -// Microsoft Visual C++ generated resource script. -// -#include "resource.h" - -#define APSTUDIO_READONLY_SYMBOLS -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 2 resource. -// -#ifndef APSTUDIO_INVOKED -#include "targetver.h" -#endif -#include "afxres.h" - -///////////////////////////////////////////////////////////////////////////// -#undef APSTUDIO_READONLY_SYMBOLS - -///////////////////////////////////////////////////////////////////////////// -// Chinese (Taiwan) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_CHT) -#ifdef _WIN32 -LANGUAGE LANG_CHINESE, SUBLANG_CHINESE_TRADITIONAL -#pragma code_page(950) -#endif //_WIN32 - -#ifdef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// TEXTINCLUDE -// - -1 TEXTINCLUDE -BEGIN - "resource.h\0" -END - -2 TEXTINCLUDE -BEGIN - "#ifndef APSTUDIO_INVOKED\r\n" - "#include ""targetver.h""\r\n" - "#endif\r\n" - "#include ""afxres.h""\r\n" - "\0" -END - -3 TEXTINCLUDE -BEGIN - "#define _AFX_NO_SPLITTER_RESOURCES\r\n" - "#define _AFX_NO_OLE_RESOURCES\r\n" - "#define _AFX_NO_TRACKER_RESOURCES\r\n" - "#define _AFX_NO_PROPERTY_RESOURCES\r\n" - "\r\n" - "#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)\r\n" - "LANGUAGE 9, 1\r\n" - "#pragma code_page(1252)\r\n" - "#include ""res\\My9524dma.rc2"" // non-Microsoft Visual C++ edited resources\r\n" - "#include ""afxres.rc"" // Standard components\r\n" - "#endif\r\n" - "\0" -END - -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// Icon -// - -// Icon with lowest ID value placed first to ensure application icon -// remains consistent on all systems. -IDR_MAINFRAME ICON "res\\9524dma.ico" -#endif // Chinese (Taiwan) resources -///////////////////////////////////////////////////////////////////////////// - - -///////////////////////////////////////////////////////////////////////////// -// English (U.S.) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -#ifdef _WIN32 -LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US -#pragma code_page(1252) -#endif //_WIN32 - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog -// - -IDD_ABOUTBOX DIALOGEX 0, 0, 170, 62 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "About 9524dma" -FONT 8, "MS Shell Dlg", 0, 0, 0x1 -BEGIN - ICON IDR_MAINFRAME,IDC_STATIC,14,14,21,20 - LTEXT "9524dma, Version 1.0",IDC_STATIC,42,14,114,8,SS_NOPREFIX - LTEXT "Copyright (C) 2010",IDC_STATIC,42,26,114,8 - DEFPUSHBUTTON "OK",IDOK,113,41,50,14,WS_GROUP -END - -IDD_9524DMA_DIALOG DIALOGEX 0, 0, 365, 219 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU -EXSTYLE WS_EX_APPWINDOW -CAPTION "PCI-9524 AI Channel Read (P9524_AI_GP_Group)" -FONT 8, "MS Shell Dlg", 0, 0, 0x1 -BEGIN - GROUPBOX "",IDC_STATIC_DRAW,45,9,227,161,NOT WS_VISIBLE - CONTROL 131,IDC_STATIC,"Static",SS_BITMAP,337,29,9,44 - LTEXT "0",IDC_STATIC,325,29,10,11 - LTEXT "1",IDC_STATIC,325,40,10,11 - LTEXT "2",IDC_STATIC,325,51,10,11 - LTEXT "3",IDC_STATIC,325,63,10,11 - LTEXT "Range : +/- 10V",IDC_STATIC,295,130,57,13 - COMBOBOX IDC_COMBO_SCANCHAN,188,190,74,38,CBS_DROPDOWN | WS_VSCROLL | WS_TABSTOP - LTEXT "Read Channel :",IDC_STATIC,192,176,50,9 - PUSHBUTTON "Start",IDC_BT_START,281,183,75,22 - LTEXT "Sample rate :",IDC_STATIC,100,176,50,9 - COMBOBOX IDC_COMBO_SAMPLE_RATE,82,190,83,14,CBS_DROPDOWN | WS_VSCROLL | WS_TABSTOP -END - -IDD_CARDID_DIALOG DIALOGEX 0, 0, 165, 95 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "Card ID" -FONT 8, "MS Shell Dlg", 400, 0, 0x1 -BEGIN - COMBOBOX IDC_COMBO_CARDID,74,24,71,126,CBS_DROPDOWN | WS_VSCROLL | WS_TABSTOP - LTEXT "Card Number",IDC_STATIC_01,20,25,46,12 - PUSHBUTTON "OK",IDOK,22,62,58,19 - PUSHBUTTON "CANCEL",IDCANCEL,86,62,58,19 -END - - -///////////////////////////////////////////////////////////////////////////// -// -// Version -// - -VS_VERSION_INFO VERSIONINFO - FILEVERSION 1,0,0,1 - PRODUCTVERSION 1,0,0,1 - FILEFLAGSMASK 0x3fL -#ifdef _DEBUG - FILEFLAGS 0x1L -#else - FILEFLAGS 0x0L -#endif - FILEOS 0x4L - FILETYPE 0x1L - FILESUBTYPE 0x0L -BEGIN - BLOCK "StringFileInfo" - BEGIN - BLOCK "040904e4" - BEGIN - VALUE "CompanyName", "TODO: " - VALUE "FileDescription", "TODO: " - VALUE "FileVersion", "1.0.0.1" - VALUE "InternalName", "9524dma.exe" - VALUE "LegalCopyright", "TODO: (c) . All rights reserved." - VALUE "OriginalFilename", "9524dma.exe" - VALUE "ProductName", "TODO: " - VALUE "ProductVersion", "1.0.0.1" - END - END - BLOCK "VarFileInfo" - BEGIN - VALUE "Translation", 0x409, 1252 - END -END - - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog Info -// - -IDD_CARDID_DIALOG DLGINIT -BEGIN - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0030, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0031, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0032, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0033, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0034, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0035, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0036, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0037, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0038, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0039, - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3031, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3131, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3231, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3331, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3431, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3531, "\000" - 0 -END - -IDD_9524DMA_DIALOG DLGINIT -BEGIN - IDC_COMBO_SCANCHAN, 0x403, 16, 0 -0x3950, 0x3235, 0x5f34, 0x4941, 0x475f, 0x5f50, 0x4843, 0x0030, - IDC_COMBO_SCANCHAN, 0x403, 16, 0 -0x3950, 0x3235, 0x5f34, 0x4941, 0x475f, 0x5f50, 0x4843, 0x0031, - IDC_COMBO_SCANCHAN, 0x403, 16, 0 -0x3950, 0x3235, 0x5f34, 0x4941, 0x475f, 0x5f50, 0x4843, 0x0032, - IDC_COMBO_SCANCHAN, 0x403, 16, 0 -0x3950, 0x3235, 0x5f34, 0x4941, 0x475f, 0x5f50, 0x4843, 0x0033, - IDC_COMBO_SAMPLE_RATE, 0x403, 18, 0 -0x3950, 0x3235, 0x5f34, 0x4441, 0x5f43, 0x3033, 0x5f4b, 0x5053, 0x0053, - - IDC_COMBO_SAMPLE_RATE, 0x403, 18, 0 -0x3950, 0x3235, 0x5f34, 0x4441, 0x5f43, 0x3531, 0x5f4b, 0x5053, 0x0053, - - IDC_COMBO_SAMPLE_RATE, 0x403, 18, 0 -0x3950, 0x3235, 0x5f34, 0x4441, 0x5f43, 0x4b37, 0x5f35, 0x5053, 0x0053, - - IDC_COMBO_SAMPLE_RATE, 0x403, 19, 0 -0x3950, 0x3235, 0x5f34, 0x4441, 0x5f43, 0x4b33, 0x3537, 0x535f, 0x5350, -"\000" - IDC_COMBO_SAMPLE_RATE, 0x403, 17, 0 -0x3950, 0x3235, 0x5f34, 0x4441, 0x5f43, 0x4b32, 0x535f, 0x5350, "\000" - IDC_COMBO_SAMPLE_RATE, 0x403, 17, 0 -0x3950, 0x3235, 0x5f34, 0x4441, 0x5f43, 0x4b31, 0x535f, 0x5350, "\000" - IDC_COMBO_SAMPLE_RATE, 0x403, 18, 0 -0x3950, 0x3235, 0x5f34, 0x4441, 0x5f43, 0x3035, 0x5f30, 0x5053, 0x0053, - - IDC_COMBO_SAMPLE_RATE, 0x403, 18, 0 -0x3950, 0x3235, 0x5f34, 0x4441, 0x5f43, 0x3031, 0x5f30, 0x5053, 0x0053, - - IDC_COMBO_SAMPLE_RATE, 0x403, 17, 0 -0x3950, 0x3235, 0x5f34, 0x4441, 0x5f43, 0x3036, 0x535f, 0x5350, "\000" - IDC_COMBO_SAMPLE_RATE, 0x403, 17, 0 -0x3950, 0x3235, 0x5f34, 0x4441, 0x5f43, 0x3035, 0x535f, 0x5350, "\000" - IDC_COMBO_SAMPLE_RATE, 0x403, 17, 0 -0x3950, 0x3235, 0x5f34, 0x4441, 0x5f43, 0x3033, 0x535f, 0x5350, "\000" - IDC_COMBO_SAMPLE_RATE, 0x403, 17, 0 -0x3950, 0x3235, 0x5f34, 0x4441, 0x5f43, 0x3532, 0x535f, 0x5350, "\000" - IDC_COMBO_SAMPLE_RATE, 0x403, 17, 0 -0x3950, 0x3235, 0x5f34, 0x4441, 0x5f43, 0x3531, 0x535f, 0x5350, "\000" - IDC_COMBO_SAMPLE_RATE, 0x403, 17, 0 -0x3950, 0x3235, 0x5f34, 0x4441, 0x5f43, 0x3031, 0x535f, 0x5350, "\000" - IDC_COMBO_SAMPLE_RATE, 0x403, 16, 0 -0x3950, 0x3235, 0x5f34, 0x4441, 0x5f43, 0x5f35, 0x5053, 0x0053, - IDC_COMBO_SAMPLE_RATE, 0x403, 18, 0 -0x3950, 0x3235, 0x5f34, 0x4441, 0x5f43, 0x5232, 0x5f35, 0x5053, 0x0053, - - 0 -END - - -///////////////////////////////////////////////////////////////////////////// -// -// Bitmap -// - -IDB_BITMAP_SET1 BITMAP "res\\ch_set1.bmp" -IDB_BITMAP_SET2 BITMAP "res\\ch_set2.bmp" - -///////////////////////////////////////////////////////////////////////////// -// -// String Table -// - -STRINGTABLE -BEGIN - IDS_ABOUTBOX "&About 9524dma..." -END - -#endif // English (U.S.) resources -///////////////////////////////////////////////////////////////////////////// - - - -#ifndef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 3 resource. -// -#define _AFX_NO_SPLITTER_RESOURCES -#define _AFX_NO_OLE_RESOURCES -#define _AFX_NO_TRACKER_RESOURCES -#define _AFX_NO_PROPERTY_RESOURCES - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -LANGUAGE 9, 1 -#pragma code_page(1252) -#include "res\My9524dma.rc2" // non-Microsoft Visual C++ edited resources -#include "afxres.rc" // Standard components -#endif - -///////////////////////////////////////////////////////////////////////////// -#endif // not APSTUDIO_INVOKED - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524AIDma/9524dma.sln b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524AIDma/9524dma.sln deleted file mode 100644 index b798539..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524AIDma/9524dma.sln +++ /dev/null @@ -1,20 +0,0 @@ - -Microsoft Visual Studio Solution File, Format Version 10.00 -# Visual Studio 2008 -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "9524dma", "9524dma.vcproj", "{702163FB-B6DF-4EF5-9491-FC54D71509BC}" -EndProject -Global - GlobalSection(SolutionConfigurationPlatforms) = preSolution - Debug|x64 = Debug|x64 - Release|x64 = Release|x64 - EndGlobalSection - GlobalSection(ProjectConfigurationPlatforms) = postSolution - {702163FB-B6DF-4EF5-9491-FC54D71509BC}.Debug|x64.ActiveCfg = Debug|x64 - {702163FB-B6DF-4EF5-9491-FC54D71509BC}.Debug|x64.Build.0 = Debug|x64 - {702163FB-B6DF-4EF5-9491-FC54D71509BC}.Release|x64.ActiveCfg = Release|x64 - {702163FB-B6DF-4EF5-9491-FC54D71509BC}.Release|x64.Build.0 = Release|x64 - EndGlobalSection - GlobalSection(SolutionProperties) = preSolution - HideSolutionNode = FALSE - EndGlobalSection -EndGlobal diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524AIDma/9524dma.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524AIDma/9524dma.suo deleted file mode 100644 index e9f2fd4..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524AIDma/9524dma.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524AIDma/9524dma.vcproj b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524AIDma/9524dma.vcproj deleted file mode 100644 index a68bb8e..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524AIDma/9524dma.vcproj +++ /dev/null @@ -1,294 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524AIDma/9524dmaDlg.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524AIDma/9524dmaDlg.cpp deleted file mode 100644 index 4597ea9..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524AIDma/9524dmaDlg.cpp +++ /dev/null @@ -1,532 +0,0 @@ - -// 9524dmaDlg.cpp : implementation file -// - -#include "stdafx.h" -#include "9524dma.h" -#include "9524dmaDlg.h" - -#ifdef _DEBUG -#define new DEBUG_NEW -#endif - -CRect plotRect; - -// CAboutDlg dialog used for App About - -class CAboutDlg : public CDialog -{ -public: - CAboutDlg(); - -// Dialog Data - enum { IDD = IDD_ABOUTBOX }; - - protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - -// Implementation -protected: - DECLARE_MESSAGE_MAP() -}; - -CAboutDlg::CAboutDlg() : CDialog(CAboutDlg::IDD) -{ -} - -void CAboutDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); -} - -BEGIN_MESSAGE_MAP(CAboutDlg, CDialog) -END_MESSAGE_MAP() - - -// C9524dmaDlg dialog - - -C9524dmaDlg::C9524dmaDlg(I16 hCard, CWnd* pParent /*=NULL*/) - : CDialog(C9524dmaDlg::IDD, pParent) -{ - m_hIcon = AfxGetApp()->LoadIcon(IDR_MAINFRAME); - - n_PlotWidth = n_PlotHeight = -1; - OnBrush = OffBrush = NULL; - - m_hCard = hCard; - m_nTimer = -1; - - m_wRange = AD_B_10_V; - - max_range = 10.0; - min_range = -10.0; - - m_wXMode = P9524_AI_XFER_DMA; - m_dwSampRate = P9524_ADC_30K_SPS; - w_mGroup = P9524_AI_GP_Group; - m_wChan = P9524_AI_GP_CH0; -} - -void C9524dmaDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); - DDX_Control(pDX, IDC_COMBO_SCANCHAN, m_cbScanChans); - DDX_Control(pDX, IDC_COMBO_SAMPLE_RATE, m_cbSampRate); -} - -BEGIN_MESSAGE_MAP(C9524dmaDlg, CDialog) - ON_WM_SYSCOMMAND() - ON_WM_PAINT() - ON_WM_QUERYDRAGICON() - //}}AFX_MSG_MAP - ON_WM_DESTROY() - ON_CBN_SELCHANGE(IDC_COMBO_SCANCHAN, &C9524dmaDlg::OnScanChanSelchange) - ON_BN_CLICKED(IDC_BT_START, &C9524dmaDlg::OnStart) - ON_WM_TIMER() - ON_CBN_SELCHANGE(IDC_COMBO_SAMPLE_RATE, &C9524dmaDlg::OnSampRateSelchange) -END_MESSAGE_MAP() - - -// C9524dmaDlg message handlers - -BOOL C9524dmaDlg::OnInitDialog() -{ - CDialog::OnInitDialog(); - - // Add "About..." menu item to system menu. - - // IDM_ABOUTBOX must be in the system command range. - ASSERT((IDM_ABOUTBOX & 0xFFF0) == IDM_ABOUTBOX); - ASSERT(IDM_ABOUTBOX < 0xF000); - - CMenu* pSysMenu = GetSystemMenu(FALSE); - if (pSysMenu != NULL) - { - BOOL bNameValid; - CString strAboutMenu; - bNameValid = strAboutMenu.LoadString(IDS_ABOUTBOX); - ASSERT(bNameValid); - if (!strAboutMenu.IsEmpty()) - { - pSysMenu->AppendMenu(MF_SEPARATOR); - pSysMenu->AppendMenu(MF_STRING, IDM_ABOUTBOX, strAboutMenu); - } - } - - // Set the icon for this dialog. The framework does this automatically - // when the application's main window is not a dialog - SetIcon(m_hIcon, TRUE); // Set big icon - SetIcon(m_hIcon, FALSE); // Set small icon - - // TODO: Add extra initialization here - x_divider = 5; y_divider = 4; - - OnBrush = CreateSolidBrush( RGB(255,0,0) ); - OffBrush = CreateSolidBrush( RGB(125,0,0) ); - - RedPen.CreatePen( PS_SOLID, 1, RGB(255,0,0)); - GreenPen.CreatePen( PS_SOLID, 1, RGB(0,255,0)); - YellowPen.CreatePen( PS_SOLID, 1, RGB(255,255,0)); - BluePen.CreatePen( PS_SOLID, 1, RGB(0,0,255)); - - if( n_PlotWidth == -1 && n_PlotHeight == -1 ) - { - ((CWnd*)GetDlgItem(IDC_STATIC_DRAW))->GetWindowRect(&plotRect); - ScreenToClient(&plotRect); - - n_PlotWidth = min( plotRect.Width(), 512); - n_PlotHeight = plotRect.Height() - 10; - } - - // set the default SampleRate - m_cbSampRate.SetCurSel( 0 ); - m_cbScanChans.SetCurSel( 0 ); - - return TRUE; // return TRUE unless you set the focus to a control -} - -void C9524dmaDlg::OnSysCommand(UINT nID, LPARAM lParam) -{ - if ((nID & 0xFFF0) == IDM_ABOUTBOX) - { - CAboutDlg dlgAbout; - dlgAbout.DoModal(); - } - else - { - CDialog::OnSysCommand(nID, lParam); - } -} - -// If you add a minimize button to your dialog, you will need the code below -// to draw the icon. For MFC applications using the document/view model, -// this is automatically done for you by the framework. - -void C9524dmaDlg::OnPaint() -{ - if (IsIconic()) - { - CPaintDC dc(this); // device context for painting - - SendMessage(WM_ICONERASEBKGND, reinterpret_cast(dc.GetSafeHdc()), 0); - - // Center icon in client rectangle - int cxIcon = GetSystemMetrics(SM_CXICON); - int cyIcon = GetSystemMetrics(SM_CYICON); - CRect rect; - GetClientRect(&rect); - int x = (rect.Width() - cxIcon + 1) / 2; - int y = (rect.Height() - cyIcon + 1) / 2; - - // Draw the icon - dc.DrawIcon(x, y, m_hIcon); - } - else - { - redraw_display_area(); - CDialog::OnPaint(); - } -} - -// The system calls this function to obtain the cursor to display while the user drags -// the minimized window. -HCURSOR C9524dmaDlg::OnQueryDragIcon() -{ - return static_cast(m_hIcon); -} - - -void C9524dmaDlg::redraw_display_area(void) -{ - CPen *oldPen; - - int oldMode; - COLORREF oldColor; - - CString y_lable; - - CPen minor_tick( PS_SOLID,1,RGB(132,130,132) ); -// CPen y_grid( PS_SOLID,1,RGB(206,203,132) ); - - int i, x_intv, y_intv; -// long total_sec; - - CClientDC dc_plot(this); - - // draw the base-line for x-y axises - oldPen = (CPen *)dc_plot.SelectStockObject(BLACK_PEN); - - // redraw the background - dc_plot.FillSolidRect( plotRect, RGB(0,0,0) ); - - // Re-Draw the AREA for Y-Lable - { - CBrush DIALOG_BRUSH; - CRect redraw_area, full_client; - - GetClientRect(&full_client); - ScreenToClient(&full_client); - - redraw_area.left = full_client.left; - redraw_area.top = plotRect.top - 5; - redraw_area.right = plotRect.left - 3; - redraw_area.bottom = plotRect.bottom + 10; - - DIALOG_BRUSH.CreateSysColorBrush( COLOR_3DFACE ); - - dc_plot.FillRect( redraw_area, &DIALOG_BRUSH ); - - DIALOG_BRUSH.DeleteObject(); - } - - dc_plot.MoveTo( plotRect.left - 3, plotRect.top ); - dc_plot.LineTo( plotRect.left - 3, plotRect.bottom ); - - // calculate the interval for tick/grid - y_intv = (plotRect.Height() - 10) /y_divider; - x_intv = plotRect.Width()/x_divider; - - - // set the color for tick - oldColor = dc_plot.SetTextColor( RGB(0,0,0) ); - oldMode = dc_plot.SetBkMode( TRANSPARENT ); - - for( i=0; i<= y_divider; i++ ) - { - CString tick_str; - CRect tmp_rect, tick_rect; - - // draw the tick for y-axis - dc_plot.MoveTo( plotRect.left -12, plotRect.bottom -5 - (i*y_intv) ); - dc_plot.LineTo( plotRect.left -3, plotRect.bottom -5 - (i*y_intv) ); - - tick_str.Format( _T("%.1f"), ( ((max_range-min_range)/y_divider) * i)+min_range ); - - // calculate the rectangle for text - dc_plot.DrawText( tick_str, &tmp_rect, DT_CALCRECT|DT_SINGLELINE ); - tick_rect.right = plotRect.left -14; - tick_rect.left = tick_rect.right - tmp_rect.Width(); - tick_rect.top = plotRect.bottom -5 - (i*y_intv) - tmp_rect.Height()/2; - tick_rect.bottom = tick_rect.top + tmp_rect.Height(); - - // draw the text - dc_plot.DrawText( tick_str, &tick_rect, DT_SINGLELINE|DT_RIGHT ); - - } - - // draw the minor_tick for Y axises - dc_plot.SelectObject(&minor_tick); - for( i=0; i< y_divider; i++ ) - { - dc_plot.MoveTo( plotRect.left -9, plotRect.bottom -5 - (i*y_intv) - y_intv/2 ); - dc_plot.LineTo( plotRect.left -4, plotRect.bottom -5 - (i*y_intv) - y_intv/2 ); - } - - dc_plot.SetTextColor( oldColor ); - dc_plot.SetBkMode( oldMode ); - dc_plot.SelectObject( oldPen ); -} - -void C9524dmaDlg::OnDestroy() -{ - CDialog::OnDestroy(); - - // TODO: Add your message handler code here - if( m_nTimer != -1 ) - { - KillTimer( m_nTimer ); - m_nTimer = -1; - } - - - if( OnBrush != NULL ) - ::DeleteObject( OnBrush ); - - if( OffBrush != NULL ) - ::DeleteObject( OffBrush ); - - RedPen.DeleteObject(); - GreenPen.DeleteObject(); - YellowPen.DeleteObject(); - BluePen.DeleteObject(); -} - -void C9524dmaDlg::OnScanChanSelchange() -{ - // TODO: Add your control notification handler code here - int nIndex; - - nIndex = m_cbScanChans.GetCurSel(); - - switch( nIndex ) - { - case 0: - m_wChan = P9524_AI_GP_CH0; - break; - case 1: - m_wChan = P9524_AI_GP_CH1; - break; - case 2: - m_wChan = P9524_AI_GP_CH2; - break; - case 3: - m_wChan = P9524_AI_GP_CH3; - break; - } - -} - -void C9524dmaDlg::OnStart() -{ - // TODO: Add your control notification handler code here - CString strTemp; - I16 err; - - GetDlgItem( IDC_BT_START )->EnableWindow(FALSE); - - // allocate a memory for user DMA buffer - memset( m_AIBuf, '\0', READCOUNT * sizeof(U32) ); - - - m_oldY[0] = m_oldY[1] = m_oldY[2] = m_oldY[3] = -1; - m_oldX[0] = m_oldX[1] = m_oldX[2] = m_oldX[3] = -1; - - /*Disable Double Buffer Mode*/ - err = AI_AsyncDblBufferMode(m_hCard, 0); // single-buffer mode - if (err!=0) - { - strTemp.Format( TEXT("AI_DblBufferMode error=%d"), err); - AfxMessageBox( strTemp ); - return; - } - - err = AI_ContBufferSetup (m_hCard, m_AIBuf, READCOUNT, &m_wBufferID); - if (err!=0) - { - strTemp.Format( TEXT("AI_ContBufferSetup error=%d"), err); - AfxMessageBox( strTemp ); - return; - } - - - /*Configure AI*/ - err = AI_9524_Config(m_hCard, w_mGroup, m_wXMode, P9524_AI_BufAutoReset, 0, 0); - if (err!=0) - { - strTemp.Format( TEXT("AI_9524_Config error=%d"), err); - AfxMessageBox( strTemp ); - return; - } - - err = AI_ContReadChannel(m_hCard, m_wChan, m_wRange, &m_wBufferID, READCOUNT, (F64)m_dwSampRate, ASYNCH_OP); - if (err!=0) - { - strTemp.Format( TEXT("AI_ContScanChannels error=%d"), err); - AfxMessageBox( strTemp ); - return; - } - - m_nTimer = SetTimer( 1, 20, NULL ); - -} - -int C9524dmaDlg::display_buffer_data(U32* pBuf) -{ - CClientDC dc_plot(this); - int nDraw_Origin_Y; - int cur_channel; - - int newY = -1; - int newX = -1; - U32 index; - I32 ai_data, nTemp; - - dc_plot.FillSolidRect( plotRect, RGB(0,0,0) ); - - nDraw_Origin_Y = ( plotRect.bottom - 5 ) - n_PlotHeight/2; - - for( index=0; index> 4) & 0x0F); - ai_data = (nTemp >> 8); - - newY = (int)( nDraw_Origin_Y - ((n_PlotHeight * ai_data) >> 24) ); // ( n_PlotHeight * ai_data / 16777216) ); // ( (n_PlotHeight/2) * ai_data/8388608 ) ); - newX = (int)( index*n_PlotWidth/READCOUNT + plotRect.left ); - - switch(cur_channel) - { - case 0: - dc_plot.SelectObject(&YellowPen); - break; - case 1: - dc_plot.SelectObject(&BluePen); - break; - case 2: - dc_plot.SelectObject(&BluePen); - break; - case 3: - dc_plot.SelectObject(&RedPen); - break; - } - - - if ( m_oldX[cur_channel] == -1 ) - { - dc_plot.MoveTo( newX, newY ); - } - else - { - dc_plot.MoveTo( m_oldX[cur_channel], m_oldY[cur_channel] ); - dc_plot.LineTo( newX, newY ); - } - - m_oldX[cur_channel] = newX; - m_oldY[cur_channel] = newY; - } - - return 0; -} - -void C9524dmaDlg::OnTimer(UINT_PTR nIDEvent) -{ - // TODO: Add your message handler code here and/or call default - BOOLEAN fstop; - U32 count; - - AI_AsyncCheck(m_hCard, &fstop, &count); - - if( fstop == TRUE ) - { - AI_AsyncClear(m_hCard, &count); - - KillTimer( m_nTimer ); - m_nTimer = -1; - - display_buffer_data( m_AIBuf ); - - GetDlgItem( IDC_BT_START )->EnableWindow(TRUE); - } - - CDialog::OnTimer(nIDEvent); -} - -void C9524dmaDlg::OnSampRateSelchange() -{ - // TODO: Add your control notification handler code here - int nIndex; - - nIndex = m_cbSampRate.GetCurSel(); - switch( nIndex ) - { - case 0: - m_dwSampRate = P9524_ADC_30K_SPS; - break; - case 1: - m_dwSampRate = P9524_ADC_15K_SPS; - break; - case 2: - m_dwSampRate = P9524_ADC_7K5_SPS; - break; - case 3: - m_dwSampRate = P9524_ADC_3K75_SPS; - break; - case 4: - m_dwSampRate = P9524_ADC_2K_SPS; - break; - case 5: - m_dwSampRate = P9524_ADC_1K_SPS; - break; - case 6: - m_dwSampRate = P9524_ADC_500_SPS; - break; - case 7: - m_dwSampRate = P9524_ADC_100_SPS; - break; - case 8: - m_dwSampRate = P9524_ADC_60_SPS; - break; - case 9: - m_dwSampRate = P9524_ADC_50_SPS; - break; - case 10: - m_dwSampRate = P9524_ADC_30_SPS; - break; - case 11: - m_dwSampRate = P9524_ADC_25_SPS; - break; - case 12: - m_dwSampRate = P9524_ADC_15_SPS; - break; - case 13: - m_dwSampRate = P9524_ADC_10_SPS; - break; - case 14: - m_dwSampRate = P9524_ADC_5_SPS; - break; - case 15: - m_dwSampRate = P9524_ADC_2R5_SPS; - break; - } -} diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524AIDma/9524dmaDlg.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524AIDma/9524dmaDlg.h deleted file mode 100644 index b80877c..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524AIDma/9524dmaDlg.h +++ /dev/null @@ -1,73 +0,0 @@ - -// 9524dmaDlg.h : header file -#pragma once -#include "afxcmn.h" -#include "afxwin.h" - -#include "Dask64.h" - -#define READCOUNT 4096 - -// C9524dmaDlg dialog -class C9524dmaDlg : public CDialog -{ -// Construction -public: - C9524dmaDlg(I16 hCard, CWnd* pParent = NULL); // standard constructor - -// Dialog Data - enum { IDD = IDD_9524DMA_DIALOG }; - - protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - - -// Implementation -protected: - HICON m_hIcon; - UINT_PTR m_nTimer; - I16 m_hCard; - U32 m_dwSampRate; - U16 m_wChan; - U16 m_wBufferID; - U32 m_AIBuf[READCOUNT]; - U16 m_wRange; - U16 m_wXMode; - U16 w_mGroup; - int m_oldY[4]; - int m_oldX[4]; - - // Generated message map functions - virtual BOOL OnInitDialog(); - afx_msg void OnSysCommand(UINT nID, LPARAM lParam); - afx_msg void OnPaint(); - afx_msg HCURSOR OnQueryDragIcon(); - DECLARE_MESSAGE_MAP() - -public: - WORD max_val; - WORD min_val; - double max_range; - double min_range; - int n_PlotWidth; - int n_PlotHeight; - int y_divider; - int x_divider; - int m_DisplayScale; - HBRUSH OnBrush; - HBRUSH OffBrush; - CPen RedPen; - CPen GreenPen; - CPen YellowPen; - CPen BluePen; - void redraw_display_area(void); - afx_msg void OnDestroy(); - CComboBox m_cbScanChans; - afx_msg void OnVScroll(UINT nSBCode, UINT nPos, CScrollBar* pScrollBar); - afx_msg void OnScanChanSelchange(); - afx_msg void OnStart(); - int display_buffer_data(U32* pBuf); - afx_msg void OnTimer(UINT_PTR nIDEvent); - CComboBox m_cbSampRate; - afx_msg void OnSampRateSelchange(); -}; diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524AIDma/CardIDDlg.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524AIDma/CardIDDlg.cpp deleted file mode 100644 index c58d3ac..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524AIDma/CardIDDlg.cpp +++ /dev/null @@ -1,64 +0,0 @@ -// CardIDDlg.cpp : implementation file -// -#include "stdafx.h" -#include "9524dma.h" -#include "9524dmaDlg.h" -#include "CardIDDlg.h" - -// CCardIDDlg dialog - -IMPLEMENT_DYNAMIC(CCardIDDlg, CDialog) - -CCardIDDlg::CCardIDDlg(int nCardIdx, CWnd* pParent /*=NULL*/) - : CDialog(CCardIDDlg::IDD, pParent) -{ - m_nCardIdx = nCardIdx; -} - -CCardIDDlg::~CCardIDDlg() -{ -} - -void CCardIDDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); - DDX_Control(pDX, IDC_COMBO_CARDID, m_cbCardID); -} - - -BEGIN_MESSAGE_MAP(CCardIDDlg, CDialog) -// ON_CBN_SELCHANGE(IDC_COMBO_CARDID, &CCardIDDlg::OnCbnSelchangeComboCardid) -ON_BN_CLICKED(IDOK, &CCardIDDlg::OnBnClickedOk) -//ON_WM_CTLCOLOR() -END_MESSAGE_MAP() - - -// CCardIDDlg message handlers - - -void CCardIDDlg::OnBnClickedOk() -{ - // TODO: Add your control notification handler code here - -// UpdateData(TRUE); - m_nCardIdx = m_cbCardID.GetCurSel(); - - OnOK(); -} - -BOOL CCardIDDlg::OnInitDialog() -{ - CDialog::OnInitDialog(); - - // TODO: Add extra initialization here - m_cbCardID.SetCurSel( m_nCardIdx ); - - return TRUE; // return TRUE unless you set the focus to a control - // EXCEPTION: OCX Property Pages should return FALSE -} - -// the function to get the selected CardID -int CCardIDDlg::GetCardID(void) -{ - return m_nCardIdx; -} diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524AIDma/CardIDDlg.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524AIDma/CardIDDlg.h deleted file mode 100644 index 9c02c58..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524AIDma/CardIDDlg.h +++ /dev/null @@ -1,32 +0,0 @@ -#pragma once -#include "afxwin.h" - -#include "Dask64.h" - -// CCardIDDlg dialog - -class CCardIDDlg : public CDialog -{ - DECLARE_DYNAMIC(CCardIDDlg) - -public: - CCardIDDlg(int nCardIdx, CWnd* pParent = NULL); // standard constructor - virtual ~CCardIDDlg(); - -// Dialog Data - enum { IDD = IDD_CARDID_DIALOG }; - -protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - - DECLARE_MESSAGE_MAP() -public: - virtual BOOL OnInitDialog(); - afx_msg void OnBnClickedOk(); - // the setting of CardID ComboBox - int m_nCardIdx; - // the control of CardID ComboBox - CComboBox m_cbCardID; - // the function to get the selected CardID - int GetCardID(void); -}; diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524AIDma/ReadMe.txt b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524AIDma/ReadMe.txt deleted file mode 100644 index 4ed0830..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524AIDma/ReadMe.txt +++ /dev/null @@ -1,93 +0,0 @@ -================================================================================ - MICROSOFT FOUNDATION CLASS LIBRARY : 9524dma Project Overview -=============================================================================== - -The application wizard has created this 9524dma application for -you. This application not only demonstrates the basics of using the Microsoft -Foundation Classes but is also a starting point for writing your application. - -This file contains a summary of what you will find in each of the files that -make up your 9524dma application. - -9524dma.vcproj - This is the main project file for VC++ projects generated using an application wizard. - It contains information about the version of Visual C++ that generated the file, and - information about the platforms, configurations, and project features selected with the - application wizard. - -9524dma.h - This is the main header file for the application. It includes other - project specific headers (including Resource.h) and declares the - C9524dmaApp application class. - -9524dma.cpp - This is the main application source file that contains the application - class C9524dmaApp. - -9524dma.rc - This is a listing of all of the Microsoft Windows resources that the - program uses. It includes the icons, bitmaps, and cursors that are stored - in the RES subdirectory. This file can be directly edited in Microsoft - Visual C++. Your project resources are in 1033. - -res\9524dma.ico - This is an icon file, which is used as the application's icon. This - icon is included by the main resource file 9524dma.rc. - -res\My9524dma.rc2 - This file contains resources that are not edited by Microsoft - Visual C++. You should place all resources not editable by - the resource editor in this file. - - -///////////////////////////////////////////////////////////////////////////// - -The application wizard creates one dialog class: - -9524dmaDlg.h, 9524dmaDlg.cpp - the dialog - These files contain your C9524dmaDlg class. This class defines - the behavior of your application's main dialog. The dialog's template is - in 9524dma.rc, which can be edited in Microsoft Visual C++. - - -///////////////////////////////////////////////////////////////////////////// - -Other Features: - -ActiveX Controls - The application includes support to use ActiveX controls. - -///////////////////////////////////////////////////////////////////////////// - -Other standard files: - -StdAfx.h, StdAfx.cpp - These files are used to build a precompiled header (PCH) file - named 9524dma.pch and a precompiled types file named StdAfx.obj. - -Resource.h - This is the standard header file, which defines new resource IDs. - Microsoft Visual C++ reads and updates this file. - -9524dma.manifest - Application manifest files are used by Windows XP to describe an applications - dependency on specific versions of Side-by-Side assemblies. The loader uses this - information to load the appropriate assembly from the assembly cache or private - from the application. The Application manifest maybe included for redistribution - as an external .manifest file that is installed in the same folder as the application - executable or it may be included in the executable in the form of a resource. -///////////////////////////////////////////////////////////////////////////// - -Other notes: - -The application wizard uses "TODO:" to indicate parts of the source code you -should add to or customize. - -If your application uses MFC in a shared DLL, you will need -to redistribute the MFC DLLs. If your application is in a language -other than the operating system's locale, you will also have to -redistribute the corresponding localized resources MFC90XXX.DLL. -For more information on both of these topics, please see the section on -redistributing Visual C++ applications in MSDN documentation. - -///////////////////////////////////////////////////////////////////////////// diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524AIDma/res/9524dma.ico b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524AIDma/res/9524dma.ico deleted file mode 100644 index d56fbcd..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524AIDma/res/9524dma.ico and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524AIDma/res/My9524dma.rc2 b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524AIDma/res/My9524dma.rc2 deleted file mode 100644 index 383cde2..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524AIDma/res/My9524dma.rc2 +++ /dev/null @@ -1,13 +0,0 @@ -// -// My9111int.RC2 - resources Microsoft Visual C++ does not edit directly -// - -#ifdef APSTUDIO_INVOKED -#error this file is not editable by Microsoft Visual C++ -#endif //APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// Add manually edited resources here... - -///////////////////////////////////////////////////////////////////////////// diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524AIDma/res/ch_set1.bmp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524AIDma/res/ch_set1.bmp deleted file mode 100644 index f2374ed..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524AIDma/res/ch_set1.bmp and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524AIDma/res/ch_set2.bmp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524AIDma/res/ch_set2.bmp deleted file mode 100644 index 32d0915..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524AIDma/res/ch_set2.bmp and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524AIDma/resource.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524AIDma/resource.h deleted file mode 100644 index 3b0c8a4..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524AIDma/resource.h +++ /dev/null @@ -1,32 +0,0 @@ -//{{NO_DEPENDENCIES}} -// Microsoft Visual C++ generated include file. -// Used by 9524dma.rc -// -#define IDM_ABOUTBOX 0x0010 -#define IDD_ABOUTBOX 100 -#define IDS_ABOUTBOX 101 -#define IDD_9524DMA_DIALOG 102 -#define IDR_MAINFRAME 128 -#define IDD_CARDID_DIALOG 129 -#define IDB_BITMAP_SET1 131 -#define IDB_BITMAP_SET2 132 -#define IDC_STATIC_DRAW 1000 -#define IDC_COMBO_CARDID 1001 -#define IDC_COMBO_SCANCHAN 1001 -#define IDC_BT_START 1002 -#define IDC_EDIT_SCAN_ITERVAL 1003 -#define IDC_SCROLLBAR_RATE 1006 -#define IDC_COMBO_SAMPLE_RATE 1010 -#define IDC_STATIC_01 1014 -#define IDC_STATIC_2 1015 - -// Next default values for new objects -// -#ifdef APSTUDIO_INVOKED -#ifndef APSTUDIO_READONLY_SYMBOLS -#define _APS_NEXT_RESOURCE_VALUE 134 -#define _APS_NEXT_COMMAND_VALUE 32771 -#define _APS_NEXT_CONTROL_VALUE 1003 -#define _APS_NEXT_SYMED_VALUE 101 -#endif -#endif diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524AIDma/stdafx.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524AIDma/stdafx.cpp deleted file mode 100644 index a27df68..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524AIDma/stdafx.cpp +++ /dev/null @@ -1,8 +0,0 @@ - -// stdafx.cpp : source file that includes just the standard includes -// 9223dma.pch will be the pre-compiled header -// stdafx.obj will contain the pre-compiled type information - -#include "stdafx.h" - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524AIDma/stdafx.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524AIDma/stdafx.h deleted file mode 100644 index 12123e2..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524AIDma/stdafx.h +++ /dev/null @@ -1,60 +0,0 @@ - -// stdafx.h : include file for standard system include files, -// or project specific include files that are used frequently, -// but are changed infrequently - -#pragma once - -#ifndef _SECURE_ATL -#define _SECURE_ATL 1 -#endif - -#ifndef VC_EXTRALEAN -#define VC_EXTRALEAN // Exclude rarely-used stuff from Windows headers -#endif - -#include "targetver.h" - -#define _ATL_CSTRING_EXPLICIT_CONSTRUCTORS // some CString constructors will be explicit - -// turns off MFC's hiding of some common and often safely ignored warning messages -#define _AFX_ALL_WARNINGS - -#include // MFC core and standard components -#include // MFC extensions - - -#include // MFC Automation classes - - - -#ifndef _AFX_NO_OLE_SUPPORT -#include // MFC support for Internet Explorer 4 Common Controls -#endif -#ifndef _AFX_NO_AFXCMN_SUPPORT -#include // MFC support for Windows Common Controls -#endif // _AFX_NO_AFXCMN_SUPPORT - -#include // MFC support for ribbons and control bars - - - - - - - - - -#ifdef _UNICODE -#if defined _M_IX86 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='x86' publicKeyToken='6595b64144ccf1df' language='*'\"") -#elif defined _M_IA64 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='ia64' publicKeyToken='6595b64144ccf1df' language='*'\"") -#elif defined _M_X64 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='amd64' publicKeyToken='6595b64144ccf1df' language='*'\"") -#else -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='*' publicKeyToken='6595b64144ccf1df' language='*'\"") -#endif -#endif - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524AIDma/targetver.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524AIDma/targetver.h deleted file mode 100644 index 11730d5..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524AIDma/targetver.h +++ /dev/null @@ -1,26 +0,0 @@ - -#pragma once - -// The following macros define the minimum required platform. The minimum required platform -// is the earliest version of Windows, Internet Explorer etc. that has the necessary features to run -// your application. The macros work by enabling all features available on platform versions up to and -// including the version specified. - -// Modify the following defines if you have to target a platform prior to the ones specified below. -// Refer to MSDN for the latest info on corresponding values for different platforms. -#ifndef WINVER // Specifies that the minimum required platform is Windows Vista. -#define WINVER 0x0600 // Change this to the appropriate value to target other versions of Windows. -#endif - -#ifndef _WIN32_WINNT // Specifies that the minimum required platform is Windows Vista. -#define _WIN32_WINNT 0x0600 // Change this to the appropriate value to target other versions of Windows. -#endif - -#ifndef _WIN32_WINDOWS // Specifies that the minimum required platform is Windows 98. -#define _WIN32_WINDOWS 0x0410 // Change this to the appropriate value to target Windows Me or later. -#endif - -#ifndef _WIN32_IE // Specifies that the minimum required platform is Internet Explorer 7.0. -#define _WIN32_IE 0x0700 // Change this to the appropriate value to target other versions of IE. -#endif - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524AIDma_Dbf/9111DbInt.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524AIDma_Dbf/9111DbInt.suo deleted file mode 100644 index 3fde864..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524AIDma_Dbf/9111DbInt.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524AIDma_Dbf/9111PostTg.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524AIDma_Dbf/9111PostTg.suo deleted file mode 100644 index c59a833..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524AIDma_Dbf/9111PostTg.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524AIDma_Dbf/9111int.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524AIDma_Dbf/9111int.suo deleted file mode 100644 index aaca7d8..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524AIDma_Dbf/9111int.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524AIDma_Dbf/9116cdma.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524AIDma_Dbf/9116cdma.suo deleted file mode 100644 index df9f193..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524AIDma_Dbf/9116cdma.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524AIDma_Dbf/9118cdma.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524AIDma_Dbf/9118cdma.suo deleted file mode 100644 index 9318437..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524AIDma_Dbf/9118cdma.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524AIDma_Dbf/9221cdma.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524AIDma_Dbf/9221cdma.suo deleted file mode 100644 index 9cb61ca..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524AIDma_Dbf/9221cdma.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524AIDma_Dbf/9222cdma.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524AIDma_Dbf/9222cdma.suo deleted file mode 100644 index 1ace763..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524AIDma_Dbf/9222cdma.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524AIDma_Dbf/9223cdma.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524AIDma_Dbf/9223cdma.suo deleted file mode 100644 index 445a178..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524AIDma_Dbf/9223cdma.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524AIDma_Dbf/9524cdma.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524AIDma_Dbf/9524cdma.cpp deleted file mode 100644 index 4dadb33..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524AIDma_Dbf/9524cdma.cpp +++ /dev/null @@ -1,109 +0,0 @@ - -// 9524cdma.cpp : Defines the class behaviors for the application. -// - -#include "stdafx.h" -#include "9524cdma.h" -#include "9524cdmaDlg.h" -#include "CardIDDlg.h" - -#ifdef _DEBUG -#define new DEBUG_NEW -#endif - - -// C9524cdmaApp - -BEGIN_MESSAGE_MAP(C9524cdmaApp, CWinAppEx) - ON_COMMAND(ID_HELP, &CWinApp::OnHelp) -END_MESSAGE_MAP() - - -// C9524cdmaApp construction - -C9524cdmaApp::C9524cdmaApp() -{ - // TODO: add construction code here, - // Place all significant initialization in InitInstance -} - - -// The one and only C9524cdmaApp object - -C9524cdmaApp theApp; - - -// C9524cdmaApp initialization - -BOOL C9524cdmaApp::InitInstance() -{ - int nCardID = 0; - I16 hCard; - CString strTemp; - INT_PTR nResponse; - - // InitCommonControlsEx() is required on Windows XP if an application - // manifest specifies use of ComCtl32.dll version 6 or later to enable - // visual styles. Otherwise, any window creation will fail. - INITCOMMONCONTROLSEX InitCtrls; - InitCtrls.dwSize = sizeof(InitCtrls); - // Set this to include all the common control classes you want to use - // in your application. - InitCtrls.dwICC = ICC_WIN95_CLASSES; - InitCommonControlsEx(&InitCtrls); - - CWinAppEx::InitInstance(); - - AfxEnableControlContainer(); - - // Standard initialization - // If you are not using these features and wish to reduce the size - // of your final executable, you should remove from the following - // the specific initialization routines you do not need - // Change the registry key under which our settings are stored - // TODO: You should modify this string to be something appropriate - // such as the name of your company or organization - SetRegistryKey(_T("Local AppWizard-Generated Applications")); - - CCardIDDlg CardDlg( nCardID ); - - nResponse = CardDlg.DoModal(); - if (nResponse == IDOK) - { - nCardID = CardDlg.GetCardID(); - - if ((hCard=Register_Card(PCI_9524, nCardID)) < 0) - { - strTemp.Format( TEXT("Register_Card Error = %d"), hCard); - AfxMessageBox( strTemp ); - } - else - { - C9524cdmaDlg dlg(hCard); - m_pMainWnd = &dlg; - nResponse = dlg.DoModal(); - if (nResponse == IDOK) - { - // TODO: Place code here to handle when the dialog is - // dismissed with OK - } - else if (nResponse == IDCANCEL) - { - // TODO: Place code here to handle when the dialog is - // dismissed with Cancel - } - - if (hCard >= 0) Release_Card(hCard); - } - - } - else if (nResponse == IDCANCEL) - { - // TODO: Place code here to handle when the dialog is - // dismissed with Cancel - } - - // Since the dialog has been closed, return FALSE so that we exit the - // application, rather than start the application's message pump. - return FALSE; -} diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524AIDma_Dbf/9524cdma.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524AIDma_Dbf/9524cdma.h deleted file mode 100644 index ede67ea..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524AIDma_Dbf/9524cdma.h +++ /dev/null @@ -1,34 +0,0 @@ - -// 9524cdma.h : main header file for the PROJECT_NAME application -// - -#pragma once - -#ifndef __AFXWIN_H__ - #error "include 'stdafx.h' before including this file for PCH" -#endif - -#include "resource.h" // main symbols - -#define AI_MODE_DMA 0 -#define AI_MODE_INT 1 - -// C9524cdmaApp: -// See 9524cdma.cpp for the implementation of this class -// - -class C9524cdmaApp : public CWinAppEx -{ -public: - C9524cdmaApp(); - -// Overrides - public: - virtual BOOL InitInstance(); - -// Implementation - - DECLARE_MESSAGE_MAP() -}; - -extern C9524cdmaApp theApp; \ No newline at end of file diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524AIDma_Dbf/9524cdma.rc b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524AIDma_Dbf/9524cdma.rc deleted file mode 100644 index bc51bf6..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524AIDma_Dbf/9524cdma.rc +++ /dev/null @@ -1,330 +0,0 @@ -// Microsoft Visual C++ generated resource script. -// -#include "resource.h" - -#define APSTUDIO_READONLY_SYMBOLS -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 2 resource. -// -#ifndef APSTUDIO_INVOKED -#include "targetver.h" -#endif -#include "afxres.h" - -///////////////////////////////////////////////////////////////////////////// -#undef APSTUDIO_READONLY_SYMBOLS - -///////////////////////////////////////////////////////////////////////////// -// Chinese (Taiwan) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_CHT) -#ifdef _WIN32 -LANGUAGE LANG_CHINESE, SUBLANG_CHINESE_TRADITIONAL -#pragma code_page(950) -#endif //_WIN32 - -#ifdef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// TEXTINCLUDE -// - -1 TEXTINCLUDE -BEGIN - "resource.h\0" -END - -2 TEXTINCLUDE -BEGIN - "#ifndef APSTUDIO_INVOKED\r\n" - "#include ""targetver.h""\r\n" - "#endif\r\n" - "#include ""afxres.h""\r\n" - "\0" -END - -3 TEXTINCLUDE -BEGIN - "#define _AFX_NO_SPLITTER_RESOURCES\r\n" - "#define _AFX_NO_OLE_RESOURCES\r\n" - "#define _AFX_NO_TRACKER_RESOURCES\r\n" - "#define _AFX_NO_PROPERTY_RESOURCES\r\n" - "\r\n" - "#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)\r\n" - "LANGUAGE 9, 1\r\n" - "#pragma code_page(1252)\r\n" - "#include ""res\\My9524cdma.rc2"" // non-Microsoft Visual C++ edited resources\r\n" - "#include ""afxres.rc"" // Standard components\r\n" - "#endif\r\n" - "\0" -END - -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// Icon -// - -// Icon with lowest ID value placed first to ensure application icon -// remains consistent on all systems. -IDR_MAINFRAME ICON "res\\9524cdma.ico" -#endif // Chinese (Taiwan) resources -///////////////////////////////////////////////////////////////////////////// - - -///////////////////////////////////////////////////////////////////////////// -// English (U.S.) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -#ifdef _WIN32 -LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US -#pragma code_page(1252) -#endif //_WIN32 - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog -// - -IDD_ABOUTBOX DIALOGEX 0, 0, 170, 62 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "About 9524cdma" -FONT 8, "MS Shell Dlg", 0, 0, 0x1 -BEGIN - ICON IDR_MAINFRAME,IDC_STATIC,14,14,21,20 - LTEXT "9524cdma, Version 1.0",IDC_STATIC,42,14,114,8,SS_NOPREFIX - LTEXT "Copyright (C) 2010",IDC_STATIC,42,26,114,8 - DEFPUSHBUTTON "OK",IDOK,113,41,50,14,WS_GROUP -END - -IDD_9524DMA_DIALOG DIALOGEX 0, 0, 365, 232 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU -EXSTYLE WS_EX_APPWINDOW -CAPTION "PCI-9524 Double-Buffered DMA " -FONT 8, "MS Shell Dlg", 0, 0, 0x1 -BEGIN - GROUPBOX "",IDC_STATIC_DRAW,45,9,248,161,NOT WS_VISIBLE - LTEXT "Range : +/- 10V",IDC_STATIC,299,129,52,15 - PUSHBUTTON "Start",IDC_BT_START,230,188,55,22 - PUSHBUTTON "Stop",IDC_BT_STOP,291,188,55,22 - LTEXT "Overrun :",IDC_STATIC,182,184,36,9 - EDITTEXT IDC_EDIT_OVERRUN,180,198,36,14,ES_AUTOHSCROLL | ES_READONLY - CONTROL "5",IDC_RADIO_CH5,"Button",BS_AUTORADIOBUTTON | BS_LEFTTEXT,331,35,16,12 - CONTROL "6",IDC_RADIO_CH6,"Button",BS_AUTORADIOBUTTON | BS_LEFTTEXT,331,49,16,12 - CONTROL "7",IDC_RADIO_CH7,"Button",BS_AUTORADIOBUTTON | BS_LEFTTEXT,331,64,16,12 - CONTROL "4",IDC_RADIO_CH4,"Button",BS_AUTORADIOBUTTON | BS_LEFTTEXT,331,20,16,12 - LTEXT "Sample rate :",IDC_STATIC,103,184,50,9 - COMBOBOX IDC_COMBO_SAMPLE_RATE,82,198,83,14,CBS_DROPDOWN | WS_VSCROLL | WS_TABSTOP -END - -IDD_CARDID_DIALOG DIALOGEX 0, 0, 174, 96 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "Card ID" -FONT 8, "MS Shell Dlg", 400, 0, 0x1 -BEGIN - COMBOBOX IDC_COMBO_CARDID,78,24,71,126,CBS_DROPDOWN | WS_VSCROLL | WS_TABSTOP - LTEXT "Card Number",IDC_STATIC_01,23,25,46,12 - PUSHBUTTON "OK",IDOK,22,60,58,19 - PUSHBUTTON "CANCEL",IDCANCEL,86,60,58,19 -END - - -///////////////////////////////////////////////////////////////////////////// -// -// Version -// - -VS_VERSION_INFO VERSIONINFO - FILEVERSION 1,0,0,1 - PRODUCTVERSION 1,0,0,1 - FILEFLAGSMASK 0x3fL -#ifdef _DEBUG - FILEFLAGS 0x1L -#else - FILEFLAGS 0x0L -#endif - FILEOS 0x4L - FILETYPE 0x1L - FILESUBTYPE 0x0L -BEGIN - BLOCK "StringFileInfo" - BEGIN - BLOCK "040904e4" - BEGIN - VALUE "CompanyName", "TODO: " - VALUE "FileDescription", "TODO: " - VALUE "FileVersion", "1.0.0.1" - VALUE "InternalName", "9524cdma.exe" - VALUE "LegalCopyright", "TODO: (c) . All rights reserved." - VALUE "OriginalFilename", "9524cdma.exe" - VALUE "ProductName", "TODO: " - VALUE "ProductVersion", "1.0.0.1" - END - END - BLOCK "VarFileInfo" - BEGIN - VALUE "Translation", 0x409, 1252 - END -END - - -///////////////////////////////////////////////////////////////////////////// -// -// DESIGNINFO -// - -#ifdef APSTUDIO_INVOKED -GUIDELINES DESIGNINFO -BEGIN - IDD_ABOUTBOX, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 163 - TOPMARGIN, 7 - BOTTOMMARGIN, 55 - END - - IDD_CARDID_DIALOG, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 167 - TOPMARGIN, 7 - BOTTOMMARGIN, 89 - END -END -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog Info -// - -IDD_CARDID_DIALOG DLGINIT -BEGIN - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0030, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0031, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0032, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0033, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0034, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0035, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0036, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0037, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0038, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0039, - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3031, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3131, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3231, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3331, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3431, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3531, "\000" - 0 -END - -IDD_9524DMA_DIALOG DLGINIT -BEGIN - IDC_COMBO_SAMPLE_RATE, 0x403, 18, 0 -0x3950, 0x3235, 0x5f34, 0x4441, 0x5f43, 0x3033, 0x5f4b, 0x5053, 0x0053, - - IDC_COMBO_SAMPLE_RATE, 0x403, 18, 0 -0x3950, 0x3235, 0x5f34, 0x4441, 0x5f43, 0x3531, 0x5f4b, 0x5053, 0x0053, - - IDC_COMBO_SAMPLE_RATE, 0x403, 18, 0 -0x3950, 0x3235, 0x5f34, 0x4441, 0x5f43, 0x4b37, 0x5f35, 0x5053, 0x0053, - - IDC_COMBO_SAMPLE_RATE, 0x403, 19, 0 -0x3950, 0x3235, 0x5f34, 0x4441, 0x5f43, 0x4b33, 0x3537, 0x535f, 0x5350, -"\000" - IDC_COMBO_SAMPLE_RATE, 0x403, 17, 0 -0x3950, 0x3235, 0x5f34, 0x4441, 0x5f43, 0x4b32, 0x535f, 0x5350, "\000" - IDC_COMBO_SAMPLE_RATE, 0x403, 17, 0 -0x3950, 0x3235, 0x5f34, 0x4441, 0x5f43, 0x4b31, 0x535f, 0x5350, "\000" - IDC_COMBO_SAMPLE_RATE, 0x403, 18, 0 -0x3950, 0x3235, 0x5f34, 0x4441, 0x5f43, 0x3035, 0x5f30, 0x5053, 0x0053, - - IDC_COMBO_SAMPLE_RATE, 0x403, 18, 0 -0x3950, 0x3235, 0x5f34, 0x4441, 0x5f43, 0x3031, 0x5f30, 0x5053, 0x0053, - - IDC_COMBO_SAMPLE_RATE, 0x403, 17, 0 -0x3950, 0x3235, 0x5f34, 0x4441, 0x5f43, 0x3036, 0x535f, 0x5350, "\000" - IDC_COMBO_SAMPLE_RATE, 0x403, 17, 0 -0x3950, 0x3235, 0x5f34, 0x4441, 0x5f43, 0x3035, 0x535f, 0x5350, "\000" - IDC_COMBO_SAMPLE_RATE, 0x403, 17, 0 -0x3950, 0x3235, 0x5f34, 0x4441, 0x5f43, 0x3033, 0x535f, 0x5350, "\000" - IDC_COMBO_SAMPLE_RATE, 0x403, 17, 0 -0x3950, 0x3235, 0x5f34, 0x4441, 0x5f43, 0x3532, 0x535f, 0x5350, "\000" - IDC_COMBO_SAMPLE_RATE, 0x403, 17, 0 -0x3950, 0x3235, 0x5f34, 0x4441, 0x5f43, 0x3531, 0x535f, 0x5350, "\000" - IDC_COMBO_SAMPLE_RATE, 0x403, 17, 0 -0x3950, 0x3235, 0x5f34, 0x4441, 0x5f43, 0x3031, 0x535f, 0x5350, "\000" - IDC_COMBO_SAMPLE_RATE, 0x403, 16, 0 -0x3950, 0x3235, 0x5f34, 0x4441, 0x5f43, 0x5f35, 0x5053, 0x0053, - IDC_COMBO_SAMPLE_RATE, 0x403, 18, 0 -0x3950, 0x3235, 0x5f34, 0x4441, 0x5f43, 0x5232, 0x5f35, 0x5053, 0x0053, - - 0 -END - - -///////////////////////////////////////////////////////////////////////////// -// -// Bitmap -// - -IDB_BITMAP_SET1 BITMAP "res\\ch_set1.bmp" -IDB_BITMAP_SET2 BITMAP "res\\ch_set2.bmp" - -///////////////////////////////////////////////////////////////////////////// -// -// String Table -// - -STRINGTABLE -BEGIN - IDS_ABOUTBOX "&About 9524cdma..." -END - -#endif // English (U.S.) resources -///////////////////////////////////////////////////////////////////////////// - - - -#ifndef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 3 resource. -// -#define _AFX_NO_SPLITTER_RESOURCES -#define _AFX_NO_OLE_RESOURCES -#define _AFX_NO_TRACKER_RESOURCES -#define _AFX_NO_PROPERTY_RESOURCES - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -LANGUAGE 9, 1 -#pragma code_page(1252) -#include "res\My9524cdma.rc2" // non-Microsoft Visual C++ edited resources -#include "afxres.rc" // Standard components -#endif - -///////////////////////////////////////////////////////////////////////////// -#endif // not APSTUDIO_INVOKED - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524AIDma_Dbf/9524cdma.sln b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524AIDma_Dbf/9524cdma.sln deleted file mode 100644 index 01b58c2..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524AIDma_Dbf/9524cdma.sln +++ /dev/null @@ -1,20 +0,0 @@ - -Microsoft Visual Studio Solution File, Format Version 10.00 -# Visual Studio 2008 -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "9524cdma", "9524cdma.vcproj", "{702163FB-B6DF-4EF5-9491-FC54D71509BC}" -EndProject -Global - GlobalSection(SolutionConfigurationPlatforms) = preSolution - Debug|x64 = Debug|x64 - Release|x64 = Release|x64 - EndGlobalSection - GlobalSection(ProjectConfigurationPlatforms) = postSolution - {702163FB-B6DF-4EF5-9491-FC54D71509BC}.Debug|x64.ActiveCfg = Debug|x64 - {702163FB-B6DF-4EF5-9491-FC54D71509BC}.Debug|x64.Build.0 = Debug|x64 - {702163FB-B6DF-4EF5-9491-FC54D71509BC}.Release|x64.ActiveCfg = Release|x64 - {702163FB-B6DF-4EF5-9491-FC54D71509BC}.Release|x64.Build.0 = Release|x64 - EndGlobalSection - GlobalSection(SolutionProperties) = preSolution - HideSolutionNode = FALSE - EndGlobalSection -EndGlobal diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524AIDma_Dbf/9524cdma.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524AIDma_Dbf/9524cdma.suo deleted file mode 100644 index 58e08ac..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524AIDma_Dbf/9524cdma.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524AIDma_Dbf/9524cdma.vcproj b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524AIDma_Dbf/9524cdma.vcproj deleted file mode 100644 index 8e04a56..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524AIDma_Dbf/9524cdma.vcproj +++ /dev/null @@ -1,294 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524AIDma_Dbf/9524cdmaDlg.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524AIDma_Dbf/9524cdmaDlg.cpp deleted file mode 100644 index 800e0e4..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524AIDma_Dbf/9524cdmaDlg.cpp +++ /dev/null @@ -1,632 +0,0 @@ - -// 9524cdmaDlg.cpp : implementation file -// - -#include "stdafx.h" -#include "9524cdma.h" -#include "9524cdmaDlg.h" - -#ifdef _DEBUG -#define new DEBUG_NEW -#endif - -CRect plotRect; - -// CAboutDlg dialog used for App About - -class CAboutDlg : public CDialog -{ -public: - CAboutDlg(); - -// Dialog Data - enum { IDD = IDD_ABOUTBOX }; - - protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - -// Implementation -protected: - DECLARE_MESSAGE_MAP() -}; - -CAboutDlg::CAboutDlg() : CDialog(CAboutDlg::IDD) -{ -} - -void CAboutDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); -} - -BEGIN_MESSAGE_MAP(CAboutDlg, CDialog) -END_MESSAGE_MAP() - - -// C9524cdmaDlg dialog - -C9524cdmaDlg::C9524cdmaDlg(I16 hCard, CWnd* pParent /*=NULL*/) - : CDialog(C9524cdmaDlg::IDD, pParent) -{ - m_hIcon = AfxGetApp()->LoadIcon(IDR_MAINFRAME); - - n_PlotWidth = n_PlotHeight = -1; - OnBrush = OffBrush = NULL; - - m_hCard = hCard; - - m_wChan = P9524_AI_GP_CH0; - m_nTimer = -1; - - m_wRange = AD_B_10_V; - max_range = 10.0; - min_range = -10.0; - - m_dwReadCount = READCOUNT; - - m_dwOverrunCnt = 0; - - m_dwSampRate = P9524_ADC_60_SPS; - m_wMode = P9524_AI_XFER_DMA; - - m_wGroup = P9524_AI_GP_Group; - -} - -void C9524cdmaDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); - DDX_Control(pDX, IDC_COMBO_SAMPLE_RATE, m_cbSampRate); -} - -BEGIN_MESSAGE_MAP(C9524cdmaDlg, CDialog) - ON_WM_SYSCOMMAND() - ON_WM_PAINT() - ON_WM_QUERYDRAGICON() - //}}AFX_MSG_MAP - ON_WM_DESTROY() - ON_BN_CLICKED(IDC_BT_START, &C9524cdmaDlg::OnStart) - ON_BN_CLICKED(IDC_RADIO_CH4, &C9524cdmaDlg::OnCh4) - ON_BN_CLICKED(IDC_RADIO_CH5, &C9524cdmaDlg::OnCh5) - ON_BN_CLICKED(IDC_RADIO_CH6, &C9524cdmaDlg::OnCh6) - ON_BN_CLICKED(IDC_RADIO_CH7, &C9524cdmaDlg::OnCh7) - ON_WM_TIMER() - ON_BN_CLICKED(IDC_BT_STOP, &C9524cdmaDlg::OnStop) - ON_CBN_SELCHANGE(IDC_COMBO_SAMPLE_RATE, &C9524cdmaDlg::OnSampRateSelchange) -END_MESSAGE_MAP() - - -// C9524cdmaDlg message handlers - -BOOL C9524cdmaDlg::OnInitDialog() -{ - CDialog::OnInitDialog(); - - // Add "About..." menu item to system menu. - - // IDM_ABOUTBOX must be in the system command range. - ASSERT((IDM_ABOUTBOX & 0xFFF0) == IDM_ABOUTBOX); - ASSERT(IDM_ABOUTBOX < 0xF000); - - CMenu* pSysMenu = GetSystemMenu(FALSE); - if (pSysMenu != NULL) - { - BOOL bNameValid; - CString strAboutMenu; - bNameValid = strAboutMenu.LoadString(IDS_ABOUTBOX); - ASSERT(bNameValid); - if (!strAboutMenu.IsEmpty()) - { - pSysMenu->AppendMenu(MF_SEPARATOR); - pSysMenu->AppendMenu(MF_STRING, IDM_ABOUTBOX, strAboutMenu); - } - } - - // Set the icon for this dialog. The framework does this automatically - // when the application's main window is not a dialog - SetIcon(m_hIcon, TRUE); // Set big icon - SetIcon(m_hIcon, FALSE); // Set small icon - - // TODO: Add extra initialization here - x_divider = 5; y_divider = 4; - - OnBrush = CreateSolidBrush( RGB(255,0,0) ); - OffBrush = CreateSolidBrush( RGB(125,0,0) ); - - RedPen.CreatePen( PS_SOLID, 1, RGB(255,0,0)); - GreenPen.CreatePen( PS_SOLID, 1, RGB(0,255,0)); - YellowPen.CreatePen( PS_SOLID, 1, RGB(255,255,0)); - BluePen.CreatePen( PS_SOLID, 1, RGB(0,0,255)); - LTBluePen.CreatePen( PS_SOLID, 1, RGB(0,128,255)); - LTRedPen.CreatePen( PS_SOLID, 1, RGB(255,128,0)); - LTGreenPen.CreatePen( PS_SOLID, 1, RGB(0,128,0)); - WhitePen.CreatePen( PS_SOLID, 1, RGB(255,255,255)); - - - if( n_PlotWidth == -1 && n_PlotHeight == -1 ) - { - ((CWnd*)GetDlgItem(IDC_STATIC_DRAW))->GetWindowRect(&plotRect); - ScreenToClient(&plotRect); - - n_PlotWidth = min( plotRect.Width(), 512); - n_PlotHeight = plotRect.Height() - 10; - } - - // set the default SampleRate - - ((CButton*)GetDlgItem( IDC_RADIO_CH4 ))->SetCheck( TRUE ); - - SetDlgItemInt( IDC_EDIT_OVERRUN, (UINT)(m_dwOverrunCnt) ); - - m_cbSampRate.SetCurSel( 8 ); - - return TRUE; // return TRUE unless you set the focus to a control -} - -void C9524cdmaDlg::OnSysCommand(UINT nID, LPARAM lParam) -{ - if ((nID & 0xFFF0) == IDM_ABOUTBOX) - { - CAboutDlg dlgAbout; - dlgAbout.DoModal(); - } - else - { - CDialog::OnSysCommand(nID, lParam); - } -} - -// If you add a minimize button to your dialog, you will need the code below -// to draw the icon. For MFC applications using the document/view model, -// this is automatically done for you by the framework. - -void C9524cdmaDlg::OnPaint() -{ - if (IsIconic()) - { - CPaintDC dc(this); // device context for painting - - SendMessage(WM_ICONERASEBKGND, reinterpret_cast(dc.GetSafeHdc()), 0); - - // Center icon in client rectangle - int cxIcon = GetSystemMetrics(SM_CXICON); - int cyIcon = GetSystemMetrics(SM_CYICON); - CRect rect; - GetClientRect(&rect); - int x = (rect.Width() - cxIcon + 1) / 2; - int y = (rect.Height() - cyIcon + 1) / 2; - - // Draw the icon - dc.DrawIcon(x, y, m_hIcon); - } - else - { - redraw_display_area(); - CDialog::OnPaint(); - } -} - -// The system calls this function to obtain the cursor to display while the user drags -// the minimized window. -HCURSOR C9524cdmaDlg::OnQueryDragIcon() -{ - return static_cast(m_hIcon); -} - - -void C9524cdmaDlg::redraw_display_area(void) -{ - CPen *oldPen; - - int oldMode; - COLORREF oldColor; - - CString y_lable; - - CPen minor_tick( PS_SOLID,1,RGB(132,130,132) ); -// CPen y_grid( PS_SOLID,1,RGB(206,203,132) ); - - int i, x_intv, y_intv; -// long total_sec; - - CClientDC dc_plot(this); - - // draw the base-line for x-y axises - oldPen = (CPen *)dc_plot.SelectStockObject(BLACK_PEN); - - // redraw the background - dc_plot.FillSolidRect( plotRect, RGB(0,0,0) ); - - // Re-Draw the AREA for Y-Lable - { - CBrush DIALOG_BRUSH; - CRect redraw_area, full_client; - - GetClientRect(&full_client); - ScreenToClient(&full_client); - - redraw_area.left = full_client.left; - redraw_area.top = plotRect.top - 5; - redraw_area.right = plotRect.left - 3; - redraw_area.bottom = plotRect.bottom + 10; - - DIALOG_BRUSH.CreateSysColorBrush( COLOR_3DFACE ); - - dc_plot.FillRect( redraw_area, &DIALOG_BRUSH ); - - DIALOG_BRUSH.DeleteObject(); - } - - dc_plot.MoveTo( plotRect.left - 3, plotRect.top ); - dc_plot.LineTo( plotRect.left - 3, plotRect.bottom ); - - // calculate the interval for tick/grid - y_intv = (plotRect.Height() - 10) /y_divider; - x_intv = plotRect.Width()/x_divider; - - - // set the color for tick - oldColor = dc_plot.SetTextColor( RGB(0,0,0) ); - oldMode = dc_plot.SetBkMode( TRANSPARENT ); - - for( i=0; i<= y_divider; i++ ) - { - CString tick_str; - CRect tmp_rect, tick_rect; - - // draw the tick for y-axis - dc_plot.MoveTo( plotRect.left -12, plotRect.bottom -5 - (i*y_intv) ); - dc_plot.LineTo( plotRect.left -3, plotRect.bottom -5 - (i*y_intv) ); - - tick_str.Format( _T("%.1f"), ( ((max_range-min_range)/y_divider) * i)+min_range ); - - // calculate the rectangle for text - dc_plot.DrawText( tick_str, &tmp_rect, DT_CALCRECT|DT_SINGLELINE ); - tick_rect.right = plotRect.left -14; - tick_rect.left = tick_rect.right - tmp_rect.Width(); - tick_rect.top = plotRect.bottom -5 - (i*y_intv) - tmp_rect.Height()/2; - tick_rect.bottom = tick_rect.top + tmp_rect.Height(); - - // draw the text - dc_plot.DrawText( tick_str, &tick_rect, DT_SINGLELINE|DT_RIGHT ); - - } - - // draw the minor_tick for Y axises - dc_plot.SelectObject(&minor_tick); - for( i=0; i< y_divider; i++ ) - { - dc_plot.MoveTo( plotRect.left -9, plotRect.bottom -5 - (i*y_intv) - y_intv/2 ); - dc_plot.LineTo( plotRect.left -4, plotRect.bottom -5 - (i*y_intv) - y_intv/2 ); - } - - dc_plot.SetTextColor( oldColor ); - dc_plot.SetBkMode( oldMode ); - dc_plot.SelectObject( oldPen ); -} - -void C9524cdmaDlg::OnDestroy() -{ - CDialog::OnDestroy(); - - // TODO: Add your message handler code here - if( m_nTimer != -1 ) - { - KillTimer( m_nTimer ); - m_nTimer = -1; - } - - if( OnBrush != NULL ) - ::DeleteObject( OnBrush ); - - if( OffBrush != NULL ) - ::DeleteObject( OffBrush ); - - RedPen.DeleteObject(); - GreenPen.DeleteObject(); - YellowPen.DeleteObject(); - BluePen.DeleteObject(); - LTBluePen.DeleteObject(); - LTRedPen.DeleteObject(); - LTGreenPen.DeleteObject(); - WhitePen.DeleteObject(); - -} - - -void C9524cdmaDlg::OnStop() -{ - // TODO: Add your control notification handler code here - U32 count; - - if( m_nTimer != -1 ) - { - KillTimer( m_nTimer ); - m_nTimer = -1; - } - - AI_AsyncClear(m_hCard, &count); - - GetDlgItem( IDC_BT_START )->EnableWindow(TRUE); - - GetDlgItem( IDC_RADIO_CH4 )->EnableWindow(TRUE); - GetDlgItem( IDC_RADIO_CH5 )->EnableWindow(TRUE); - GetDlgItem( IDC_RADIO_CH6 )->EnableWindow(TRUE); - GetDlgItem( IDC_RADIO_CH7 )->EnableWindow(TRUE); -} - -void C9524cdmaDlg::OnStart() -{ - // TODO: Add your control notification handler code here - CString strTemp; - I16 err; - - GetDlgItem( IDC_BT_START )->EnableWindow(FALSE); - - GetDlgItem( IDC_RADIO_CH4 )->EnableWindow(FALSE); - GetDlgItem( IDC_RADIO_CH5 )->EnableWindow(FALSE); - GetDlgItem( IDC_RADIO_CH6 )->EnableWindow(FALSE); - GetDlgItem( IDC_RADIO_CH7 )->EnableWindow(FALSE); - - // reset the DMA buffer - memset( m_AIBuf1, '\0', m_dwReadCount * sizeof(U32) ); - memset( m_AIBuf2, '\0', m_dwReadCount * sizeof(U32) ); - - m_oldY[0] = m_oldY[1] = m_oldY[2] = m_oldY[3] = m_oldY[4] = m_oldY[5] = m_oldY[6] = m_oldY[7] = -1; - m_oldX[0] = m_oldX[1] = m_oldX[2] = m_oldX[3] = m_oldX[4] = m_oldX[5] = m_oldX[6] = m_oldX[7] = -1; - - if ((err = AI_AsyncDblBufferMode (m_hCard, 1)) != NoError) - { - strTemp.Format( TEXT("AI_AsyncDblBufferMode error=%d"), err); - AfxMessageBox( strTemp ); - return; - } - - /*In Double Buffer Mode, you should setup two buffers*/ - if ((err = AI_ContBufferSetup (m_hCard, m_AIBuf1, m_dwReadCount, &m_wBufferID1)) != NoError) - { - strTemp.Format( TEXT("AI_ContBufferSetup error=%d"), err); - AfxMessageBox( strTemp ); - return; - } - - if ((err = AI_ContBufferSetup (m_hCard, m_AIBuf2, m_dwReadCount, &m_wBufferID2)) != NoError) - { - strTemp.Format( TEXT("AI_ContBufferSetup error=%d"), err); - AfxMessageBox( strTemp ); - return; - } - - if ((err = AI_9524_Config(m_hCard, m_wGroup, m_wMode, P9524_AI_BufAutoReset, 0, 0)) != NoError) - { - AI_ContBufferReset(m_hCard); - strTemp.Format( TEXT("AI_9524_Config error=%d"), err); - AfxMessageBox( strTemp ); - return; - } - - m_bView = 0; - - if ((err = AI_ContReadChannel(m_hCard, m_wChan, m_wRange, &m_wBufferID1, m_dwReadCount, (F64)m_dwSampRate, ASYNCH_OP)) != NoError) - { - AI_ContBufferReset(m_hCard); - strTemp.Format( TEXT("AI_ContReadChannel error=%d"), err); - AfxMessageBox( strTemp ); - return; - } - - m_nTimer = SetTimer( 1, 20, NULL ); - -} - -int C9524cdmaDlg::display_buffer_data(U32* pBuf) -{ - CClientDC dc_plot(this); - int nDraw_Origin_Y; - int cur_channel; - - int newY = -1; - int newX = -1; - U32 index; - I32 ai_data, nTemp; - U32 dwDataSize = m_dwReadCount; - - // redraw the background - dc_plot.FillSolidRect( plotRect, RGB(0,0,0) ); - - nDraw_Origin_Y = ( plotRect.bottom - 5 ) - n_PlotHeight/2; - - - for( index=0; index> 4) & 0x0F); - ai_data = (nTemp >> 8); - newY = (int)( nDraw_Origin_Y - ((n_PlotHeight * ai_data) >> 24) ); // ( n_PlotHeight * ai_data / 16777216) ); // ( (n_PlotHeight/2) * ai_data/8388608 ) ); - newX = (int)( index*n_PlotWidth/dwDataSize + plotRect.left ); - - switch(cur_channel) - { - case 0: - dc_plot.SelectObject(&YellowPen); - break; - case 1: - dc_plot.SelectObject(<GreenPen); - break; - case 2: - dc_plot.SelectObject(&BluePen); - break; - case 3: - dc_plot.SelectObject(&RedPen); - break; - } - - if ( index == 0 ) - { - dc_plot.MoveTo( newX, newY ); - } - else - { - dc_plot.MoveTo( m_oldX[cur_channel], m_oldY[cur_channel] ); - dc_plot.LineTo( newX, newY ); - } - - m_oldX[cur_channel] = newX; - m_oldY[cur_channel] = newY; - } - - return 0; - -} - -void C9524cdmaDlg::OnTimer(UINT_PTR nIDEvent) -{ - // TODO: Add your message handler code here and/or call default - BOOLEAN HalfReady; - BOOLEAN fstop; - U16 OverrunFlag; - - AI_AsyncDblBufferHalfReady(m_hCard, &HalfReady, &fstop); - - if( HalfReady ) // half-buffer ready - { - if(m_bView == 0) - { - display_buffer_data( m_AIBuf1 ); - m_bView = 1; - } - else - { - display_buffer_data( m_AIBuf2 ); - m_bView= 0; - } - - AI_AsyncDblBufferHandled( m_hCard ); - AI_AsyncDblBufferOverrun( m_hCard, 0, &OverrunFlag); - - if(OverrunFlag) - { - m_dwOverrunCnt++; - AI_AsyncDblBufferOverrun( m_hCard, 1, NULL ); - SetDlgItemInt( IDC_EDIT_OVERRUN, (UINT)(m_dwOverrunCnt) ); - } - - - } - - CDialog::OnTimer(nIDEvent); -} - - -void C9524cdmaDlg::OnCh4() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_RADIO_CH4 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_wChan = P9524_AI_GP_CH0; - } -} - -void C9524cdmaDlg::OnCh5() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_RADIO_CH5 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_wChan = P9524_AI_GP_CH1; - } -} - -void C9524cdmaDlg::OnCh6() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_RADIO_CH6 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_wChan = P9524_AI_GP_CH2; - } -} - -void C9524cdmaDlg::OnCh7() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_RADIO_CH7 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_wChan = P9524_AI_GP_CH3; - } -} - - -void C9524cdmaDlg::OnSampRateSelchange() -{ - // TODO: Add your control notification handler code here - int nIndex; - - nIndex = m_cbSampRate.GetCurSel(); - switch( nIndex ) - { - case 0: - m_dwSampRate = P9524_ADC_30K_SPS; - break; - case 1: - m_dwSampRate = P9524_ADC_15K_SPS; - break; - case 2: - m_dwSampRate = P9524_ADC_7K5_SPS; - break; - case 3: - m_dwSampRate = P9524_ADC_3K75_SPS; - break; - case 4: - m_dwSampRate = P9524_ADC_2K_SPS; - break; - case 5: - m_dwSampRate = P9524_ADC_1K_SPS; - break; - case 6: - m_dwSampRate = P9524_ADC_500_SPS; - break; - case 7: - m_dwSampRate = P9524_ADC_100_SPS; - break; - case 8: - m_dwSampRate = P9524_ADC_60_SPS; - break; - case 9: - m_dwSampRate = P9524_ADC_50_SPS; - break; - case 10: - m_dwSampRate = P9524_ADC_30_SPS; - break; - case 11: - m_dwSampRate = P9524_ADC_25_SPS; - break; - case 12: - m_dwSampRate = P9524_ADC_15_SPS; - break; - case 13: - m_dwSampRate = P9524_ADC_10_SPS; - break; - case 14: - m_dwSampRate = P9524_ADC_5_SPS; - break; - case 15: - m_dwSampRate = P9524_ADC_2R5_SPS; - break; - } - -} diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524AIDma_Dbf/9524cdmaDlg.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524AIDma_Dbf/9524cdmaDlg.h deleted file mode 100644 index 6b9e718..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524AIDma_Dbf/9524cdmaDlg.h +++ /dev/null @@ -1,86 +0,0 @@ - -// 9524cdmaDlg.h : header file -#pragma once -#include "afxcmn.h" -#include "afxwin.h" - -#include "Dask64.h" - -#define READCOUNT 60 - -// C9524cdmaDlg dialog -class C9524cdmaDlg : public CDialog -{ -// Construction -public: - C9524cdmaDlg(I16 hCard, CWnd* pParent = NULL); // standard constructor - -// Dialog Data - enum { IDD = IDD_9524DMA_DIALOG }; - - protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - - -// Implementation -protected: - HICON m_hIcon; - UINT_PTR m_nTimer; - I16 m_hCard; - U32 m_dwSampRate; - U16 m_wChan; - U32 m_AIBuf1[READCOUNT]; - U32 m_AIBuf2[READCOUNT]; - U16 m_wBufferID1; - U16 m_wBufferID2; - U16 m_wRange; - U16 m_wGroup; - U16 m_wMode; - int m_oldY[8]; - int m_oldX[8]; - U32 m_dwReadCount; - U8 m_bView; - U32 m_dwOverrunCnt; - - // Generated message map functions - virtual BOOL OnInitDialog(); - afx_msg void OnSysCommand(UINT nID, LPARAM lParam); - afx_msg void OnPaint(); - afx_msg HCURSOR OnQueryDragIcon(); - DECLARE_MESSAGE_MAP() - -public: - double max_range; - double min_range; - int n_PlotWidth; - int n_PlotHeight; - int y_divider; - int x_divider; - int m_DisplayScale; - HBRUSH OnBrush; - HBRUSH OffBrush; - CPen RedPen; - CPen GreenPen; - CPen YellowPen; - CPen BluePen; - CPen LTBluePen; - CPen LTRedPen; - CPen LTGreenPen; - CPen WhitePen; - void redraw_display_area(void); - afx_msg void OnDestroy(); - afx_msg void OnStart(); - int display_buffer_data(U32* pBuf); - afx_msg void OnCh0(); - afx_msg void OnCh1(); - afx_msg void OnCh2(); - afx_msg void OnCh3(); - afx_msg void OnCh4(); - afx_msg void OnCh5(); - afx_msg void OnCh6(); - afx_msg void OnCh7(); - afx_msg void OnTimer(UINT_PTR nIDEvent); - afx_msg void OnStop(); - CComboBox m_cbSampRate; - afx_msg void OnSampRateSelchange(); -}; diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524AIDma_Dbf/CardIDDlg.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524AIDma_Dbf/CardIDDlg.cpp deleted file mode 100644 index 18322f8..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524AIDma_Dbf/CardIDDlg.cpp +++ /dev/null @@ -1,64 +0,0 @@ -// CardIDDlg.cpp : implementation file -// -#include "stdafx.h" -#include "9524cdma.h" -#include "9524cdmaDlg.h" -#include "CardIDDlg.h" - -// CCardIDDlg dialog - -IMPLEMENT_DYNAMIC(CCardIDDlg, CDialog) - -CCardIDDlg::CCardIDDlg(int nCardIdx, CWnd* pParent /*=NULL*/) - : CDialog(CCardIDDlg::IDD, pParent) -{ - m_nCardIdx = nCardIdx; -} - -CCardIDDlg::~CCardIDDlg() -{ -} - -void CCardIDDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); - DDX_Control(pDX, IDC_COMBO_CARDID, m_cbCardID); -} - - -BEGIN_MESSAGE_MAP(CCardIDDlg, CDialog) -// ON_CBN_SELCHANGE(IDC_COMBO_CARDID, &CCardIDDlg::OnCbnSelchangeComboCardid) -ON_BN_CLICKED(IDOK, &CCardIDDlg::OnBnClickedOk) -//ON_WM_CTLCOLOR() -END_MESSAGE_MAP() - - -// CCardIDDlg message handlers - - -void CCardIDDlg::OnBnClickedOk() -{ - // TODO: Add your control notification handler code here - -// UpdateData(TRUE); - m_nCardIdx = m_cbCardID.GetCurSel(); - - OnOK(); -} - -BOOL CCardIDDlg::OnInitDialog() -{ - CDialog::OnInitDialog(); - - // TODO: Add extra initialization here - m_cbCardID.SetCurSel( m_nCardIdx ); - - return TRUE; // return TRUE unless you set the focus to a control - // EXCEPTION: OCX Property Pages should return FALSE -} - -// the function to get the selected CardID -int CCardIDDlg::GetCardID(void) -{ - return m_nCardIdx; -} diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524AIDma_Dbf/CardIDDlg.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524AIDma_Dbf/CardIDDlg.h deleted file mode 100644 index 9c02c58..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524AIDma_Dbf/CardIDDlg.h +++ /dev/null @@ -1,32 +0,0 @@ -#pragma once -#include "afxwin.h" - -#include "Dask64.h" - -// CCardIDDlg dialog - -class CCardIDDlg : public CDialog -{ - DECLARE_DYNAMIC(CCardIDDlg) - -public: - CCardIDDlg(int nCardIdx, CWnd* pParent = NULL); // standard constructor - virtual ~CCardIDDlg(); - -// Dialog Data - enum { IDD = IDD_CARDID_DIALOG }; - -protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - - DECLARE_MESSAGE_MAP() -public: - virtual BOOL OnInitDialog(); - afx_msg void OnBnClickedOk(); - // the setting of CardID ComboBox - int m_nCardIdx; - // the control of CardID ComboBox - CComboBox m_cbCardID; - // the function to get the selected CardID - int GetCardID(void); -}; diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524AIDma_Dbf/ReadMe.txt b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524AIDma_Dbf/ReadMe.txt deleted file mode 100644 index 0739e28..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524AIDma_Dbf/ReadMe.txt +++ /dev/null @@ -1,93 +0,0 @@ -================================================================================ - MICROSOFT FOUNDATION CLASS LIBRARY : 9524cdma Project Overview -=============================================================================== - -The application wizard has created this 9524cdma application for -you. This application not only demonstrates the basics of using the Microsoft -Foundation Classes but is also a starting point for writing your application. - -This file contains a summary of what you will find in each of the files that -make up your 9524cdma application. - -9524cdma.vcproj - This is the main project file for VC++ projects generated using an application wizard. - It contains information about the version of Visual C++ that generated the file, and - information about the platforms, configurations, and project features selected with the - application wizard. - -9524cdma.h - This is the main header file for the application. It includes other - project specific headers (including Resource.h) and declares the - C9524cdmaApp application class. - -9524cdma.cpp - This is the main application source file that contains the application - class C9524cdmaApp. - -9524cdma.rc - This is a listing of all of the Microsoft Windows resources that the - program uses. It includes the icons, bitmaps, and cursors that are stored - in the RES subdirectory. This file can be directly edited in Microsoft - Visual C++. Your project resources are in 1033. - -res\9524cdma.ico - This is an icon file, which is used as the application's icon. This - icon is included by the main resource file 9524cdma.rc. - -res\My9524cdma.rc2 - This file contains resources that are not edited by Microsoft - Visual C++. You should place all resources not editable by - the resource editor in this file. - - -///////////////////////////////////////////////////////////////////////////// - -The application wizard creates one dialog class: - -9524cdmaDlg.h, 9524cdmaDlg.cpp - the dialog - These files contain your C9524cdmaDlg class. This class defines - the behavior of your application's main dialog. The dialog's template is - in 9524cdma.rc, which can be edited in Microsoft Visual C++. - - -///////////////////////////////////////////////////////////////////////////// - -Other Features: - -ActiveX Controls - The application includes support to use ActiveX controls. - -///////////////////////////////////////////////////////////////////////////// - -Other standard files: - -StdAfx.h, StdAfx.cpp - These files are used to build a precompiled header (PCH) file - named 9524cdma.pch and a precompiled types file named StdAfx.obj. - -Resource.h - This is the standard header file, which defines new resource IDs. - Microsoft Visual C++ reads and updates this file. - -9524cdma.manifest - Application manifest files are used by Windows XP to describe an applications - dependency on specific versions of Side-by-Side assemblies. The loader uses this - information to load the appropriate assembly from the assembly cache or private - from the application. The Application manifest maybe included for redistribution - as an external .manifest file that is installed in the same folder as the application - executable or it may be included in the executable in the form of a resource. -///////////////////////////////////////////////////////////////////////////// - -Other notes: - -The application wizard uses "TODO:" to indicate parts of the source code you -should add to or customize. - -If your application uses MFC in a shared DLL, you will need -to redistribute the MFC DLLs. If your application is in a language -other than the operating system's locale, you will also have to -redistribute the corresponding localized resources MFC90XXX.DLL. -For more information on both of these topics, please see the section on -redistributing Visual C++ applications in MSDN documentation. - -///////////////////////////////////////////////////////////////////////////// diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524AIDma_Dbf/res/9524cdma.ico b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524AIDma_Dbf/res/9524cdma.ico deleted file mode 100644 index d56fbcd..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524AIDma_Dbf/res/9524cdma.ico and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524AIDma_Dbf/res/My9524cdma.rc2 b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524AIDma_Dbf/res/My9524cdma.rc2 deleted file mode 100644 index 383cde2..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524AIDma_Dbf/res/My9524cdma.rc2 +++ /dev/null @@ -1,13 +0,0 @@ -// -// My9111int.RC2 - resources Microsoft Visual C++ does not edit directly -// - -#ifdef APSTUDIO_INVOKED -#error this file is not editable by Microsoft Visual C++ -#endif //APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// Add manually edited resources here... - -///////////////////////////////////////////////////////////////////////////// diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524AIDma_Dbf/res/ch_set1.bmp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524AIDma_Dbf/res/ch_set1.bmp deleted file mode 100644 index f2374ed..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524AIDma_Dbf/res/ch_set1.bmp and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524AIDma_Dbf/res/ch_set2.bmp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524AIDma_Dbf/res/ch_set2.bmp deleted file mode 100644 index 32d0915..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524AIDma_Dbf/res/ch_set2.bmp and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524AIDma_Dbf/resource.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524AIDma_Dbf/resource.h deleted file mode 100644 index 8062390..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524AIDma_Dbf/resource.h +++ /dev/null @@ -1,38 +0,0 @@ -//{{NO_DEPENDENCIES}} -// Microsoft Visual C++ generated include file. -// Used by 9524cdma.rc -// -#define IDM_ABOUTBOX 0x0010 -#define IDD_ABOUTBOX 100 -#define IDS_ABOUTBOX 101 -#define IDD_9524DMA_DIALOG 102 -#define IDR_MAINFRAME 128 -#define IDD_CARDID_DIALOG 129 -#define IDB_BITMAP_SET1 131 -#define IDB_BITMAP_SET2 132 -#define IDC_STATIC_DRAW 1000 -#define IDC_COMBO_CARDID 1001 -#define IDC_BT_STOP 1002 -#define IDC_COMBO_CARDTYPE 1002 -#define IDC_BT_START 1003 -#define IDC_SCROLLBAR_RATE 1004 -#define IDC_RADIO_CH4 1005 -#define IDC_RADIO_CH5 1006 -#define IDC_RADIO_CH6 1007 -#define IDC_RADIO_CH7 1008 -#define IDC_STATIC_01 1009 -#define IDC_COMBO_SAMPLE_RATE 1010 -#define IDC_STATIC_2 1011 -#define IDC_EDIT1 1012 -#define IDC_EDIT_OVERRUN 1013 - -// Next default values for new objects -// -#ifdef APSTUDIO_INVOKED -#ifndef APSTUDIO_READONLY_SYMBOLS -#define _APS_NEXT_RESOURCE_VALUE 135 -#define _APS_NEXT_COMMAND_VALUE 32771 -#define _APS_NEXT_CONTROL_VALUE 1014 -#define _APS_NEXT_SYMED_VALUE 101 -#endif -#endif diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524AIDma_Dbf/stdafx.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524AIDma_Dbf/stdafx.cpp deleted file mode 100644 index ef80626..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524AIDma_Dbf/stdafx.cpp +++ /dev/null @@ -1,8 +0,0 @@ - -// stdafx.cpp : source file that includes just the standard includes -// 9111int.pch will be the pre-compiled header -// stdafx.obj will contain the pre-compiled type information - -#include "stdafx.h" - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524AIDma_Dbf/stdafx.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524AIDma_Dbf/stdafx.h deleted file mode 100644 index 12123e2..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524AIDma_Dbf/stdafx.h +++ /dev/null @@ -1,60 +0,0 @@ - -// stdafx.h : include file for standard system include files, -// or project specific include files that are used frequently, -// but are changed infrequently - -#pragma once - -#ifndef _SECURE_ATL -#define _SECURE_ATL 1 -#endif - -#ifndef VC_EXTRALEAN -#define VC_EXTRALEAN // Exclude rarely-used stuff from Windows headers -#endif - -#include "targetver.h" - -#define _ATL_CSTRING_EXPLICIT_CONSTRUCTORS // some CString constructors will be explicit - -// turns off MFC's hiding of some common and often safely ignored warning messages -#define _AFX_ALL_WARNINGS - -#include // MFC core and standard components -#include // MFC extensions - - -#include // MFC Automation classes - - - -#ifndef _AFX_NO_OLE_SUPPORT -#include // MFC support for Internet Explorer 4 Common Controls -#endif -#ifndef _AFX_NO_AFXCMN_SUPPORT -#include // MFC support for Windows Common Controls -#endif // _AFX_NO_AFXCMN_SUPPORT - -#include // MFC support for ribbons and control bars - - - - - - - - - -#ifdef _UNICODE -#if defined _M_IX86 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='x86' publicKeyToken='6595b64144ccf1df' language='*'\"") -#elif defined _M_IA64 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='ia64' publicKeyToken='6595b64144ccf1df' language='*'\"") -#elif defined _M_X64 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='amd64' publicKeyToken='6595b64144ccf1df' language='*'\"") -#else -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='*' publicKeyToken='6595b64144ccf1df' language='*'\"") -#endif -#endif - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524AIDma_Dbf/targetver.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524AIDma_Dbf/targetver.h deleted file mode 100644 index 11730d5..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524AIDma_Dbf/targetver.h +++ /dev/null @@ -1,26 +0,0 @@ - -#pragma once - -// The following macros define the minimum required platform. The minimum required platform -// is the earliest version of Windows, Internet Explorer etc. that has the necessary features to run -// your application. The macros work by enabling all features available on platform versions up to and -// including the version specified. - -// Modify the following defines if you have to target a platform prior to the ones specified below. -// Refer to MSDN for the latest info on corresponding values for different platforms. -#ifndef WINVER // Specifies that the minimum required platform is Windows Vista. -#define WINVER 0x0600 // Change this to the appropriate value to target other versions of Windows. -#endif - -#ifndef _WIN32_WINNT // Specifies that the minimum required platform is Windows Vista. -#define _WIN32_WINNT 0x0600 // Change this to the appropriate value to target other versions of Windows. -#endif - -#ifndef _WIN32_WINDOWS // Specifies that the minimum required platform is Windows 98. -#define _WIN32_WINDOWS 0x0410 // Change this to the appropriate value to target Windows Me or later. -#endif - -#ifndef _WIN32_IE // Specifies that the minimum required platform is Internet Explorer 7.0. -#define _WIN32_IE 0x0700 // Change this to the appropriate value to target other versions of IE. -#endif - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524AIDma_DbfExtD/9111DbInt.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524AIDma_DbfExtD/9111DbInt.suo deleted file mode 100644 index 3fde864..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524AIDma_DbfExtD/9111DbInt.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524AIDma_DbfExtD/9111PostTg.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524AIDma_DbfExtD/9111PostTg.suo deleted file mode 100644 index c59a833..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524AIDma_DbfExtD/9111PostTg.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524AIDma_DbfExtD/9111int.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524AIDma_DbfExtD/9111int.suo deleted file mode 100644 index aaca7d8..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524AIDma_DbfExtD/9111int.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524AIDma_DbfExtD/9116cdma.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524AIDma_DbfExtD/9116cdma.suo deleted file mode 100644 index df9f193..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524AIDma_DbfExtD/9116cdma.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524AIDma_DbfExtD/9118cdma.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524AIDma_DbfExtD/9118cdma.suo deleted file mode 100644 index 9318437..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524AIDma_DbfExtD/9118cdma.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524AIDma_DbfExtD/9221cdma.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524AIDma_DbfExtD/9221cdma.suo deleted file mode 100644 index 9cb61ca..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524AIDma_DbfExtD/9221cdma.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524AIDma_DbfExtD/9222cdma.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524AIDma_DbfExtD/9222cdma.suo deleted file mode 100644 index 1ace763..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524AIDma_DbfExtD/9222cdma.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524AIDma_DbfExtD/9223cdma.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524AIDma_DbfExtD/9223cdma.suo deleted file mode 100644 index 445a178..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524AIDma_DbfExtD/9223cdma.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524AIDma_DbfExtD/9524cdma.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524AIDma_DbfExtD/9524cdma.cpp deleted file mode 100644 index 4dadb33..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524AIDma_DbfExtD/9524cdma.cpp +++ /dev/null @@ -1,109 +0,0 @@ - -// 9524cdma.cpp : Defines the class behaviors for the application. -// - -#include "stdafx.h" -#include "9524cdma.h" -#include "9524cdmaDlg.h" -#include "CardIDDlg.h" - -#ifdef _DEBUG -#define new DEBUG_NEW -#endif - - -// C9524cdmaApp - -BEGIN_MESSAGE_MAP(C9524cdmaApp, CWinAppEx) - ON_COMMAND(ID_HELP, &CWinApp::OnHelp) -END_MESSAGE_MAP() - - -// C9524cdmaApp construction - -C9524cdmaApp::C9524cdmaApp() -{ - // TODO: add construction code here, - // Place all significant initialization in InitInstance -} - - -// The one and only C9524cdmaApp object - -C9524cdmaApp theApp; - - -// C9524cdmaApp initialization - -BOOL C9524cdmaApp::InitInstance() -{ - int nCardID = 0; - I16 hCard; - CString strTemp; - INT_PTR nResponse; - - // InitCommonControlsEx() is required on Windows XP if an application - // manifest specifies use of ComCtl32.dll version 6 or later to enable - // visual styles. Otherwise, any window creation will fail. - INITCOMMONCONTROLSEX InitCtrls; - InitCtrls.dwSize = sizeof(InitCtrls); - // Set this to include all the common control classes you want to use - // in your application. - InitCtrls.dwICC = ICC_WIN95_CLASSES; - InitCommonControlsEx(&InitCtrls); - - CWinAppEx::InitInstance(); - - AfxEnableControlContainer(); - - // Standard initialization - // If you are not using these features and wish to reduce the size - // of your final executable, you should remove from the following - // the specific initialization routines you do not need - // Change the registry key under which our settings are stored - // TODO: You should modify this string to be something appropriate - // such as the name of your company or organization - SetRegistryKey(_T("Local AppWizard-Generated Applications")); - - CCardIDDlg CardDlg( nCardID ); - - nResponse = CardDlg.DoModal(); - if (nResponse == IDOK) - { - nCardID = CardDlg.GetCardID(); - - if ((hCard=Register_Card(PCI_9524, nCardID)) < 0) - { - strTemp.Format( TEXT("Register_Card Error = %d"), hCard); - AfxMessageBox( strTemp ); - } - else - { - C9524cdmaDlg dlg(hCard); - m_pMainWnd = &dlg; - nResponse = dlg.DoModal(); - if (nResponse == IDOK) - { - // TODO: Place code here to handle when the dialog is - // dismissed with OK - } - else if (nResponse == IDCANCEL) - { - // TODO: Place code here to handle when the dialog is - // dismissed with Cancel - } - - if (hCard >= 0) Release_Card(hCard); - } - - } - else if (nResponse == IDCANCEL) - { - // TODO: Place code here to handle when the dialog is - // dismissed with Cancel - } - - // Since the dialog has been closed, return FALSE so that we exit the - // application, rather than start the application's message pump. - return FALSE; -} diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524AIDma_DbfExtD/9524cdma.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524AIDma_DbfExtD/9524cdma.h deleted file mode 100644 index ede67ea..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524AIDma_DbfExtD/9524cdma.h +++ /dev/null @@ -1,34 +0,0 @@ - -// 9524cdma.h : main header file for the PROJECT_NAME application -// - -#pragma once - -#ifndef __AFXWIN_H__ - #error "include 'stdafx.h' before including this file for PCH" -#endif - -#include "resource.h" // main symbols - -#define AI_MODE_DMA 0 -#define AI_MODE_INT 1 - -// C9524cdmaApp: -// See 9524cdma.cpp for the implementation of this class -// - -class C9524cdmaApp : public CWinAppEx -{ -public: - C9524cdmaApp(); - -// Overrides - public: - virtual BOOL InitInstance(); - -// Implementation - - DECLARE_MESSAGE_MAP() -}; - -extern C9524cdmaApp theApp; \ No newline at end of file diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524AIDma_DbfExtD/9524cdma.rc b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524AIDma_DbfExtD/9524cdma.rc deleted file mode 100644 index bc51bf6..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524AIDma_DbfExtD/9524cdma.rc +++ /dev/null @@ -1,330 +0,0 @@ -// Microsoft Visual C++ generated resource script. -// -#include "resource.h" - -#define APSTUDIO_READONLY_SYMBOLS -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 2 resource. -// -#ifndef APSTUDIO_INVOKED -#include "targetver.h" -#endif -#include "afxres.h" - -///////////////////////////////////////////////////////////////////////////// -#undef APSTUDIO_READONLY_SYMBOLS - -///////////////////////////////////////////////////////////////////////////// -// Chinese (Taiwan) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_CHT) -#ifdef _WIN32 -LANGUAGE LANG_CHINESE, SUBLANG_CHINESE_TRADITIONAL -#pragma code_page(950) -#endif //_WIN32 - -#ifdef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// TEXTINCLUDE -// - -1 TEXTINCLUDE -BEGIN - "resource.h\0" -END - -2 TEXTINCLUDE -BEGIN - "#ifndef APSTUDIO_INVOKED\r\n" - "#include ""targetver.h""\r\n" - "#endif\r\n" - "#include ""afxres.h""\r\n" - "\0" -END - -3 TEXTINCLUDE -BEGIN - "#define _AFX_NO_SPLITTER_RESOURCES\r\n" - "#define _AFX_NO_OLE_RESOURCES\r\n" - "#define _AFX_NO_TRACKER_RESOURCES\r\n" - "#define _AFX_NO_PROPERTY_RESOURCES\r\n" - "\r\n" - "#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)\r\n" - "LANGUAGE 9, 1\r\n" - "#pragma code_page(1252)\r\n" - "#include ""res\\My9524cdma.rc2"" // non-Microsoft Visual C++ edited resources\r\n" - "#include ""afxres.rc"" // Standard components\r\n" - "#endif\r\n" - "\0" -END - -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// Icon -// - -// Icon with lowest ID value placed first to ensure application icon -// remains consistent on all systems. -IDR_MAINFRAME ICON "res\\9524cdma.ico" -#endif // Chinese (Taiwan) resources -///////////////////////////////////////////////////////////////////////////// - - -///////////////////////////////////////////////////////////////////////////// -// English (U.S.) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -#ifdef _WIN32 -LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US -#pragma code_page(1252) -#endif //_WIN32 - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog -// - -IDD_ABOUTBOX DIALOGEX 0, 0, 170, 62 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "About 9524cdma" -FONT 8, "MS Shell Dlg", 0, 0, 0x1 -BEGIN - ICON IDR_MAINFRAME,IDC_STATIC,14,14,21,20 - LTEXT "9524cdma, Version 1.0",IDC_STATIC,42,14,114,8,SS_NOPREFIX - LTEXT "Copyright (C) 2010",IDC_STATIC,42,26,114,8 - DEFPUSHBUTTON "OK",IDOK,113,41,50,14,WS_GROUP -END - -IDD_9524DMA_DIALOG DIALOGEX 0, 0, 365, 232 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU -EXSTYLE WS_EX_APPWINDOW -CAPTION "PCI-9524 Double-Buffered DMA " -FONT 8, "MS Shell Dlg", 0, 0, 0x1 -BEGIN - GROUPBOX "",IDC_STATIC_DRAW,45,9,248,161,NOT WS_VISIBLE - LTEXT "Range : +/- 10V",IDC_STATIC,299,129,52,15 - PUSHBUTTON "Start",IDC_BT_START,230,188,55,22 - PUSHBUTTON "Stop",IDC_BT_STOP,291,188,55,22 - LTEXT "Overrun :",IDC_STATIC,182,184,36,9 - EDITTEXT IDC_EDIT_OVERRUN,180,198,36,14,ES_AUTOHSCROLL | ES_READONLY - CONTROL "5",IDC_RADIO_CH5,"Button",BS_AUTORADIOBUTTON | BS_LEFTTEXT,331,35,16,12 - CONTROL "6",IDC_RADIO_CH6,"Button",BS_AUTORADIOBUTTON | BS_LEFTTEXT,331,49,16,12 - CONTROL "7",IDC_RADIO_CH7,"Button",BS_AUTORADIOBUTTON | BS_LEFTTEXT,331,64,16,12 - CONTROL "4",IDC_RADIO_CH4,"Button",BS_AUTORADIOBUTTON | BS_LEFTTEXT,331,20,16,12 - LTEXT "Sample rate :",IDC_STATIC,103,184,50,9 - COMBOBOX IDC_COMBO_SAMPLE_RATE,82,198,83,14,CBS_DROPDOWN | WS_VSCROLL | WS_TABSTOP -END - -IDD_CARDID_DIALOG DIALOGEX 0, 0, 174, 96 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "Card ID" -FONT 8, "MS Shell Dlg", 400, 0, 0x1 -BEGIN - COMBOBOX IDC_COMBO_CARDID,78,24,71,126,CBS_DROPDOWN | WS_VSCROLL | WS_TABSTOP - LTEXT "Card Number",IDC_STATIC_01,23,25,46,12 - PUSHBUTTON "OK",IDOK,22,60,58,19 - PUSHBUTTON "CANCEL",IDCANCEL,86,60,58,19 -END - - -///////////////////////////////////////////////////////////////////////////// -// -// Version -// - -VS_VERSION_INFO VERSIONINFO - FILEVERSION 1,0,0,1 - PRODUCTVERSION 1,0,0,1 - FILEFLAGSMASK 0x3fL -#ifdef _DEBUG - FILEFLAGS 0x1L -#else - FILEFLAGS 0x0L -#endif - FILEOS 0x4L - FILETYPE 0x1L - FILESUBTYPE 0x0L -BEGIN - BLOCK "StringFileInfo" - BEGIN - BLOCK "040904e4" - BEGIN - VALUE "CompanyName", "TODO: " - VALUE "FileDescription", "TODO: " - VALUE "FileVersion", "1.0.0.1" - VALUE "InternalName", "9524cdma.exe" - VALUE "LegalCopyright", "TODO: (c) . All rights reserved." - VALUE "OriginalFilename", "9524cdma.exe" - VALUE "ProductName", "TODO: " - VALUE "ProductVersion", "1.0.0.1" - END - END - BLOCK "VarFileInfo" - BEGIN - VALUE "Translation", 0x409, 1252 - END -END - - -///////////////////////////////////////////////////////////////////////////// -// -// DESIGNINFO -// - -#ifdef APSTUDIO_INVOKED -GUIDELINES DESIGNINFO -BEGIN - IDD_ABOUTBOX, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 163 - TOPMARGIN, 7 - BOTTOMMARGIN, 55 - END - - IDD_CARDID_DIALOG, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 167 - TOPMARGIN, 7 - BOTTOMMARGIN, 89 - END -END -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog Info -// - -IDD_CARDID_DIALOG DLGINIT -BEGIN - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0030, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0031, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0032, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0033, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0034, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0035, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0036, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0037, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0038, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0039, - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3031, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3131, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3231, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3331, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3431, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3531, "\000" - 0 -END - -IDD_9524DMA_DIALOG DLGINIT -BEGIN - IDC_COMBO_SAMPLE_RATE, 0x403, 18, 0 -0x3950, 0x3235, 0x5f34, 0x4441, 0x5f43, 0x3033, 0x5f4b, 0x5053, 0x0053, - - IDC_COMBO_SAMPLE_RATE, 0x403, 18, 0 -0x3950, 0x3235, 0x5f34, 0x4441, 0x5f43, 0x3531, 0x5f4b, 0x5053, 0x0053, - - IDC_COMBO_SAMPLE_RATE, 0x403, 18, 0 -0x3950, 0x3235, 0x5f34, 0x4441, 0x5f43, 0x4b37, 0x5f35, 0x5053, 0x0053, - - IDC_COMBO_SAMPLE_RATE, 0x403, 19, 0 -0x3950, 0x3235, 0x5f34, 0x4441, 0x5f43, 0x4b33, 0x3537, 0x535f, 0x5350, -"\000" - IDC_COMBO_SAMPLE_RATE, 0x403, 17, 0 -0x3950, 0x3235, 0x5f34, 0x4441, 0x5f43, 0x4b32, 0x535f, 0x5350, "\000" - IDC_COMBO_SAMPLE_RATE, 0x403, 17, 0 -0x3950, 0x3235, 0x5f34, 0x4441, 0x5f43, 0x4b31, 0x535f, 0x5350, "\000" - IDC_COMBO_SAMPLE_RATE, 0x403, 18, 0 -0x3950, 0x3235, 0x5f34, 0x4441, 0x5f43, 0x3035, 0x5f30, 0x5053, 0x0053, - - IDC_COMBO_SAMPLE_RATE, 0x403, 18, 0 -0x3950, 0x3235, 0x5f34, 0x4441, 0x5f43, 0x3031, 0x5f30, 0x5053, 0x0053, - - IDC_COMBO_SAMPLE_RATE, 0x403, 17, 0 -0x3950, 0x3235, 0x5f34, 0x4441, 0x5f43, 0x3036, 0x535f, 0x5350, "\000" - IDC_COMBO_SAMPLE_RATE, 0x403, 17, 0 -0x3950, 0x3235, 0x5f34, 0x4441, 0x5f43, 0x3035, 0x535f, 0x5350, "\000" - IDC_COMBO_SAMPLE_RATE, 0x403, 17, 0 -0x3950, 0x3235, 0x5f34, 0x4441, 0x5f43, 0x3033, 0x535f, 0x5350, "\000" - IDC_COMBO_SAMPLE_RATE, 0x403, 17, 0 -0x3950, 0x3235, 0x5f34, 0x4441, 0x5f43, 0x3532, 0x535f, 0x5350, "\000" - IDC_COMBO_SAMPLE_RATE, 0x403, 17, 0 -0x3950, 0x3235, 0x5f34, 0x4441, 0x5f43, 0x3531, 0x535f, 0x5350, "\000" - IDC_COMBO_SAMPLE_RATE, 0x403, 17, 0 -0x3950, 0x3235, 0x5f34, 0x4441, 0x5f43, 0x3031, 0x535f, 0x5350, "\000" - IDC_COMBO_SAMPLE_RATE, 0x403, 16, 0 -0x3950, 0x3235, 0x5f34, 0x4441, 0x5f43, 0x5f35, 0x5053, 0x0053, - IDC_COMBO_SAMPLE_RATE, 0x403, 18, 0 -0x3950, 0x3235, 0x5f34, 0x4441, 0x5f43, 0x5232, 0x5f35, 0x5053, 0x0053, - - 0 -END - - -///////////////////////////////////////////////////////////////////////////// -// -// Bitmap -// - -IDB_BITMAP_SET1 BITMAP "res\\ch_set1.bmp" -IDB_BITMAP_SET2 BITMAP "res\\ch_set2.bmp" - -///////////////////////////////////////////////////////////////////////////// -// -// String Table -// - -STRINGTABLE -BEGIN - IDS_ABOUTBOX "&About 9524cdma..." -END - -#endif // English (U.S.) resources -///////////////////////////////////////////////////////////////////////////// - - - -#ifndef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 3 resource. -// -#define _AFX_NO_SPLITTER_RESOURCES -#define _AFX_NO_OLE_RESOURCES -#define _AFX_NO_TRACKER_RESOURCES -#define _AFX_NO_PROPERTY_RESOURCES - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -LANGUAGE 9, 1 -#pragma code_page(1252) -#include "res\My9524cdma.rc2" // non-Microsoft Visual C++ edited resources -#include "afxres.rc" // Standard components -#endif - -///////////////////////////////////////////////////////////////////////////// -#endif // not APSTUDIO_INVOKED - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524AIDma_DbfExtD/9524cdma.sln b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524AIDma_DbfExtD/9524cdma.sln deleted file mode 100644 index 01b58c2..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524AIDma_DbfExtD/9524cdma.sln +++ /dev/null @@ -1,20 +0,0 @@ - -Microsoft Visual Studio Solution File, Format Version 10.00 -# Visual Studio 2008 -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "9524cdma", "9524cdma.vcproj", "{702163FB-B6DF-4EF5-9491-FC54D71509BC}" -EndProject -Global - GlobalSection(SolutionConfigurationPlatforms) = preSolution - Debug|x64 = Debug|x64 - Release|x64 = Release|x64 - EndGlobalSection - GlobalSection(ProjectConfigurationPlatforms) = postSolution - {702163FB-B6DF-4EF5-9491-FC54D71509BC}.Debug|x64.ActiveCfg = Debug|x64 - {702163FB-B6DF-4EF5-9491-FC54D71509BC}.Debug|x64.Build.0 = Debug|x64 - {702163FB-B6DF-4EF5-9491-FC54D71509BC}.Release|x64.ActiveCfg = Release|x64 - {702163FB-B6DF-4EF5-9491-FC54D71509BC}.Release|x64.Build.0 = Release|x64 - EndGlobalSection - GlobalSection(SolutionProperties) = preSolution - HideSolutionNode = FALSE - EndGlobalSection -EndGlobal diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524AIDma_DbfExtD/9524cdma.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524AIDma_DbfExtD/9524cdma.suo deleted file mode 100644 index 8de85aa..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524AIDma_DbfExtD/9524cdma.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524AIDma_DbfExtD/9524cdma.vcproj b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524AIDma_DbfExtD/9524cdma.vcproj deleted file mode 100644 index 8e04a56..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524AIDma_DbfExtD/9524cdma.vcproj +++ /dev/null @@ -1,294 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524AIDma_DbfExtD/9524cdmaDlg.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524AIDma_DbfExtD/9524cdmaDlg.cpp deleted file mode 100644 index c336c71..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524AIDma_DbfExtD/9524cdmaDlg.cpp +++ /dev/null @@ -1,632 +0,0 @@ - -// 9524cdmaDlg.cpp : implementation file -// - -#include "stdafx.h" -#include "9524cdma.h" -#include "9524cdmaDlg.h" - -#ifdef _DEBUG -#define new DEBUG_NEW -#endif - -CRect plotRect; - -// CAboutDlg dialog used for App About - -class CAboutDlg : public CDialog -{ -public: - CAboutDlg(); - -// Dialog Data - enum { IDD = IDD_ABOUTBOX }; - - protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - -// Implementation -protected: - DECLARE_MESSAGE_MAP() -}; - -CAboutDlg::CAboutDlg() : CDialog(CAboutDlg::IDD) -{ -} - -void CAboutDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); -} - -BEGIN_MESSAGE_MAP(CAboutDlg, CDialog) -END_MESSAGE_MAP() - - -// C9524cdmaDlg dialog - -C9524cdmaDlg::C9524cdmaDlg(I16 hCard, CWnd* pParent /*=NULL*/) - : CDialog(C9524cdmaDlg::IDD, pParent) -{ - m_hIcon = AfxGetApp()->LoadIcon(IDR_MAINFRAME); - - n_PlotWidth = n_PlotHeight = -1; - OnBrush = OffBrush = NULL; - - m_hCard = hCard; - - m_wChan = P9524_AI_GP_CH0; - m_nTimer = -1; - - m_wRange = AD_B_10_V; - max_range = 10.0; - min_range = -10.0; - - m_dwReadCount = READCOUNT; - - m_dwOverrunCnt = 0; - - m_dwSampRate = P9524_ADC_60_SPS; - m_wMode = P9524_AI_XFER_DMA; - - m_wGroup = P9524_AI_GP_Group; - -} - -void C9524cdmaDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); - DDX_Control(pDX, IDC_COMBO_SAMPLE_RATE, m_cbSampRate); -} - -BEGIN_MESSAGE_MAP(C9524cdmaDlg, CDialog) - ON_WM_SYSCOMMAND() - ON_WM_PAINT() - ON_WM_QUERYDRAGICON() - //}}AFX_MSG_MAP - ON_WM_DESTROY() - ON_BN_CLICKED(IDC_BT_START, &C9524cdmaDlg::OnStart) - ON_BN_CLICKED(IDC_RADIO_CH4, &C9524cdmaDlg::OnCh4) - ON_BN_CLICKED(IDC_RADIO_CH5, &C9524cdmaDlg::OnCh5) - ON_BN_CLICKED(IDC_RADIO_CH6, &C9524cdmaDlg::OnCh6) - ON_BN_CLICKED(IDC_RADIO_CH7, &C9524cdmaDlg::OnCh7) - ON_WM_TIMER() - ON_BN_CLICKED(IDC_BT_STOP, &C9524cdmaDlg::OnStop) - ON_CBN_SELCHANGE(IDC_COMBO_SAMPLE_RATE, &C9524cdmaDlg::OnSampRateSelchange) -END_MESSAGE_MAP() - - -// C9524cdmaDlg message handlers - -BOOL C9524cdmaDlg::OnInitDialog() -{ - CDialog::OnInitDialog(); - - // Add "About..." menu item to system menu. - - // IDM_ABOUTBOX must be in the system command range. - ASSERT((IDM_ABOUTBOX & 0xFFF0) == IDM_ABOUTBOX); - ASSERT(IDM_ABOUTBOX < 0xF000); - - CMenu* pSysMenu = GetSystemMenu(FALSE); - if (pSysMenu != NULL) - { - BOOL bNameValid; - CString strAboutMenu; - bNameValid = strAboutMenu.LoadString(IDS_ABOUTBOX); - ASSERT(bNameValid); - if (!strAboutMenu.IsEmpty()) - { - pSysMenu->AppendMenu(MF_SEPARATOR); - pSysMenu->AppendMenu(MF_STRING, IDM_ABOUTBOX, strAboutMenu); - } - } - - // Set the icon for this dialog. The framework does this automatically - // when the application's main window is not a dialog - SetIcon(m_hIcon, TRUE); // Set big icon - SetIcon(m_hIcon, FALSE); // Set small icon - - // TODO: Add extra initialization here - x_divider = 5; y_divider = 4; - - OnBrush = CreateSolidBrush( RGB(255,0,0) ); - OffBrush = CreateSolidBrush( RGB(125,0,0) ); - - RedPen.CreatePen( PS_SOLID, 1, RGB(255,0,0)); - GreenPen.CreatePen( PS_SOLID, 1, RGB(0,255,0)); - YellowPen.CreatePen( PS_SOLID, 1, RGB(255,255,0)); - BluePen.CreatePen( PS_SOLID, 1, RGB(0,0,255)); - LTBluePen.CreatePen( PS_SOLID, 1, RGB(0,128,255)); - LTRedPen.CreatePen( PS_SOLID, 1, RGB(255,128,0)); - LTGreenPen.CreatePen( PS_SOLID, 1, RGB(0,128,0)); - WhitePen.CreatePen( PS_SOLID, 1, RGB(255,255,255)); - - - if( n_PlotWidth == -1 && n_PlotHeight == -1 ) - { - ((CWnd*)GetDlgItem(IDC_STATIC_DRAW))->GetWindowRect(&plotRect); - ScreenToClient(&plotRect); - - n_PlotWidth = min( plotRect.Width(), 512); - n_PlotHeight = plotRect.Height() - 10; - } - - // set the default SampleRate - - ((CButton*)GetDlgItem( IDC_RADIO_CH4 ))->SetCheck( TRUE ); - - SetDlgItemInt( IDC_EDIT_OVERRUN, (UINT)(m_dwOverrunCnt) ); - - m_cbSampRate.SetCurSel( 8 ); - - return TRUE; // return TRUE unless you set the focus to a control -} - -void C9524cdmaDlg::OnSysCommand(UINT nID, LPARAM lParam) -{ - if ((nID & 0xFFF0) == IDM_ABOUTBOX) - { - CAboutDlg dlgAbout; - dlgAbout.DoModal(); - } - else - { - CDialog::OnSysCommand(nID, lParam); - } -} - -// If you add a minimize button to your dialog, you will need the code below -// to draw the icon. For MFC applications using the document/view model, -// this is automatically done for you by the framework. - -void C9524cdmaDlg::OnPaint() -{ - if (IsIconic()) - { - CPaintDC dc(this); // device context for painting - - SendMessage(WM_ICONERASEBKGND, reinterpret_cast(dc.GetSafeHdc()), 0); - - // Center icon in client rectangle - int cxIcon = GetSystemMetrics(SM_CXICON); - int cyIcon = GetSystemMetrics(SM_CYICON); - CRect rect; - GetClientRect(&rect); - int x = (rect.Width() - cxIcon + 1) / 2; - int y = (rect.Height() - cyIcon + 1) / 2; - - // Draw the icon - dc.DrawIcon(x, y, m_hIcon); - } - else - { - redraw_display_area(); - CDialog::OnPaint(); - } -} - -// The system calls this function to obtain the cursor to display while the user drags -// the minimized window. -HCURSOR C9524cdmaDlg::OnQueryDragIcon() -{ - return static_cast(m_hIcon); -} - - -void C9524cdmaDlg::redraw_display_area(void) -{ - CPen *oldPen; - - int oldMode; - COLORREF oldColor; - - CString y_lable; - - CPen minor_tick( PS_SOLID,1,RGB(132,130,132) ); -// CPen y_grid( PS_SOLID,1,RGB(206,203,132) ); - - int i, x_intv, y_intv; -// long total_sec; - - CClientDC dc_plot(this); - - // draw the base-line for x-y axises - oldPen = (CPen *)dc_plot.SelectStockObject(BLACK_PEN); - - // redraw the background - dc_plot.FillSolidRect( plotRect, RGB(0,0,0) ); - - // Re-Draw the AREA for Y-Lable - { - CBrush DIALOG_BRUSH; - CRect redraw_area, full_client; - - GetClientRect(&full_client); - ScreenToClient(&full_client); - - redraw_area.left = full_client.left; - redraw_area.top = plotRect.top - 5; - redraw_area.right = plotRect.left - 3; - redraw_area.bottom = plotRect.bottom + 10; - - DIALOG_BRUSH.CreateSysColorBrush( COLOR_3DFACE ); - - dc_plot.FillRect( redraw_area, &DIALOG_BRUSH ); - - DIALOG_BRUSH.DeleteObject(); - } - - dc_plot.MoveTo( plotRect.left - 3, plotRect.top ); - dc_plot.LineTo( plotRect.left - 3, plotRect.bottom ); - - // calculate the interval for tick/grid - y_intv = (plotRect.Height() - 10) /y_divider; - x_intv = plotRect.Width()/x_divider; - - - // set the color for tick - oldColor = dc_plot.SetTextColor( RGB(0,0,0) ); - oldMode = dc_plot.SetBkMode( TRANSPARENT ); - - for( i=0; i<= y_divider; i++ ) - { - CString tick_str; - CRect tmp_rect, tick_rect; - - // draw the tick for y-axis - dc_plot.MoveTo( plotRect.left -12, plotRect.bottom -5 - (i*y_intv) ); - dc_plot.LineTo( plotRect.left -3, plotRect.bottom -5 - (i*y_intv) ); - - tick_str.Format( _T("%.1f"), ( ((max_range-min_range)/y_divider) * i)+min_range ); - - // calculate the rectangle for text - dc_plot.DrawText( tick_str, &tmp_rect, DT_CALCRECT|DT_SINGLELINE ); - tick_rect.right = plotRect.left -14; - tick_rect.left = tick_rect.right - tmp_rect.Width(); - tick_rect.top = plotRect.bottom -5 - (i*y_intv) - tmp_rect.Height()/2; - tick_rect.bottom = tick_rect.top + tmp_rect.Height(); - - // draw the text - dc_plot.DrawText( tick_str, &tick_rect, DT_SINGLELINE|DT_RIGHT ); - - } - - // draw the minor_tick for Y axises - dc_plot.SelectObject(&minor_tick); - for( i=0; i< y_divider; i++ ) - { - dc_plot.MoveTo( plotRect.left -9, plotRect.bottom -5 - (i*y_intv) - y_intv/2 ); - dc_plot.LineTo( plotRect.left -4, plotRect.bottom -5 - (i*y_intv) - y_intv/2 ); - } - - dc_plot.SetTextColor( oldColor ); - dc_plot.SetBkMode( oldMode ); - dc_plot.SelectObject( oldPen ); -} - -void C9524cdmaDlg::OnDestroy() -{ - CDialog::OnDestroy(); - - // TODO: Add your message handler code here - if( m_nTimer != -1 ) - { - KillTimer( m_nTimer ); - m_nTimer = -1; - } - - if( OnBrush != NULL ) - ::DeleteObject( OnBrush ); - - if( OffBrush != NULL ) - ::DeleteObject( OffBrush ); - - RedPen.DeleteObject(); - GreenPen.DeleteObject(); - YellowPen.DeleteObject(); - BluePen.DeleteObject(); - LTBluePen.DeleteObject(); - LTRedPen.DeleteObject(); - LTGreenPen.DeleteObject(); - WhitePen.DeleteObject(); - -} - - -void C9524cdmaDlg::OnStop() -{ - // TODO: Add your control notification handler code here - U32 count; - - if( m_nTimer != -1 ) - { - KillTimer( m_nTimer ); - m_nTimer = -1; - } - - AI_AsyncClear(m_hCard, &count); - - GetDlgItem( IDC_BT_START )->EnableWindow(TRUE); - - GetDlgItem( IDC_RADIO_CH4 )->EnableWindow(TRUE); - GetDlgItem( IDC_RADIO_CH5 )->EnableWindow(TRUE); - GetDlgItem( IDC_RADIO_CH6 )->EnableWindow(TRUE); - GetDlgItem( IDC_RADIO_CH7 )->EnableWindow(TRUE); -} - -void C9524cdmaDlg::OnStart() -{ - // TODO: Add your control notification handler code here - CString strTemp; - I16 err; - - GetDlgItem( IDC_BT_START )->EnableWindow(FALSE); - - GetDlgItem( IDC_RADIO_CH4 )->EnableWindow(FALSE); - GetDlgItem( IDC_RADIO_CH5 )->EnableWindow(FALSE); - GetDlgItem( IDC_RADIO_CH6 )->EnableWindow(FALSE); - GetDlgItem( IDC_RADIO_CH7 )->EnableWindow(FALSE); - - // reset the DMA buffer - memset( m_AIBuf1, '\0', m_dwReadCount * sizeof(U32) ); - memset( m_AIBuf2, '\0', m_dwReadCount * sizeof(U32) ); - - m_oldY[0] = m_oldY[1] = m_oldY[2] = m_oldY[3] = m_oldY[4] = m_oldY[5] = m_oldY[6] = m_oldY[7] = -1; - m_oldX[0] = m_oldX[1] = m_oldX[2] = m_oldX[3] = m_oldX[4] = m_oldX[5] = m_oldX[6] = m_oldX[7] = -1; - - if ((err = AI_AsyncDblBufferMode (m_hCard, 1)) != NoError) - { - strTemp.Format( TEXT("AI_AsyncDblBufferMode error=%d"), err); - AfxMessageBox( strTemp ); - return; - } - - /*In Double Buffer Mode, you should setup two buffers*/ - if ((err = AI_ContBufferSetup (m_hCard, m_AIBuf1, m_dwReadCount, &m_wBufferID1)) != NoError) - { - strTemp.Format( TEXT("AI_ContBufferSetup error=%d"), err); - AfxMessageBox( strTemp ); - return; - } - - if ((err = AI_ContBufferSetup (m_hCard, m_AIBuf2, m_dwReadCount, &m_wBufferID2)) != NoError) - { - strTemp.Format( TEXT("AI_ContBufferSetup error=%d"), err); - AfxMessageBox( strTemp ); - return; - } - - if ((err = AI_9524_Config(m_hCard, m_wGroup, m_wMode, P9524_AI_BufAutoReset, P9524_TRGMOD_POST|P9524_TRGSRC_ExtD|P9524_AI_TrgNegative, 0)) != NoError) - { - AI_ContBufferReset(m_hCard); - strTemp.Format( TEXT("AI_9524_Config error=%d"), err); - AfxMessageBox( strTemp ); - return; - } - - m_bView = 0; - - if ((err = AI_ContReadChannel(m_hCard, m_wChan, m_wRange, &m_wBufferID1, m_dwReadCount, (F64)m_dwSampRate, ASYNCH_OP)) != NoError) - { - AI_ContBufferReset(m_hCard); - strTemp.Format( TEXT("AI_ContReadChannel error=%d"), err); - AfxMessageBox( strTemp ); - return; - } - - m_nTimer = SetTimer( 1, 20, NULL ); - -} - -int C9524cdmaDlg::display_buffer_data(U32* pBuf) -{ - CClientDC dc_plot(this); - int nDraw_Origin_Y; - int cur_channel; - - int newY = -1; - int newX = -1; - U32 index; - I32 ai_data, nTemp; - U32 dwDataSize = m_dwReadCount; - - // redraw the background - dc_plot.FillSolidRect( plotRect, RGB(0,0,0) ); - - nDraw_Origin_Y = ( plotRect.bottom - 5 ) - n_PlotHeight/2; - - - for( index=0; index> 4) & 0x0F); - ai_data = (nTemp >> 8); - newY = (int)( nDraw_Origin_Y - ((n_PlotHeight * ai_data) >> 24) ); // ( n_PlotHeight * ai_data / 16777216) ); // ( (n_PlotHeight/2) * ai_data/8388608 ) ); - newX = (int)( index*n_PlotWidth/dwDataSize + plotRect.left ); - - switch(cur_channel) - { - case 0: - dc_plot.SelectObject(&YellowPen); - break; - case 1: - dc_plot.SelectObject(<GreenPen); - break; - case 2: - dc_plot.SelectObject(&BluePen); - break; - case 3: - dc_plot.SelectObject(&RedPen); - break; - } - - if ( index == 0 ) - { - dc_plot.MoveTo( newX, newY ); - } - else - { - dc_plot.MoveTo( m_oldX[cur_channel], m_oldY[cur_channel] ); - dc_plot.LineTo( newX, newY ); - } - - m_oldX[cur_channel] = newX; - m_oldY[cur_channel] = newY; - } - - return 0; - -} - -void C9524cdmaDlg::OnTimer(UINT_PTR nIDEvent) -{ - // TODO: Add your message handler code here and/or call default - BOOLEAN HalfReady; - BOOLEAN fstop; - U16 OverrunFlag; - - AI_AsyncDblBufferHalfReady(m_hCard, &HalfReady, &fstop); - - if( HalfReady ) // half-buffer ready - { - if(m_bView == 0) - { - display_buffer_data( m_AIBuf1 ); - m_bView = 1; - } - else - { - display_buffer_data( m_AIBuf2 ); - m_bView= 0; - } - - AI_AsyncDblBufferHandled( m_hCard ); - AI_AsyncDblBufferOverrun( m_hCard, 0, &OverrunFlag); - - if(OverrunFlag) - { - m_dwOverrunCnt++; - AI_AsyncDblBufferOverrun( m_hCard, 1, NULL ); - SetDlgItemInt( IDC_EDIT_OVERRUN, (UINT)(m_dwOverrunCnt) ); - } - - - } - - CDialog::OnTimer(nIDEvent); -} - - -void C9524cdmaDlg::OnCh4() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_RADIO_CH4 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_wChan = P9524_AI_GP_CH0; - } -} - -void C9524cdmaDlg::OnCh5() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_RADIO_CH5 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_wChan = P9524_AI_GP_CH1; - } -} - -void C9524cdmaDlg::OnCh6() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_RADIO_CH6 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_wChan = P9524_AI_GP_CH2; - } -} - -void C9524cdmaDlg::OnCh7() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_RADIO_CH7 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_wChan = P9524_AI_GP_CH3; - } -} - - -void C9524cdmaDlg::OnSampRateSelchange() -{ - // TODO: Add your control notification handler code here - int nIndex; - - nIndex = m_cbSampRate.GetCurSel(); - switch( nIndex ) - { - case 0: - m_dwSampRate = P9524_ADC_30K_SPS; - break; - case 1: - m_dwSampRate = P9524_ADC_15K_SPS; - break; - case 2: - m_dwSampRate = P9524_ADC_7K5_SPS; - break; - case 3: - m_dwSampRate = P9524_ADC_3K75_SPS; - break; - case 4: - m_dwSampRate = P9524_ADC_2K_SPS; - break; - case 5: - m_dwSampRate = P9524_ADC_1K_SPS; - break; - case 6: - m_dwSampRate = P9524_ADC_500_SPS; - break; - case 7: - m_dwSampRate = P9524_ADC_100_SPS; - break; - case 8: - m_dwSampRate = P9524_ADC_60_SPS; - break; - case 9: - m_dwSampRate = P9524_ADC_50_SPS; - break; - case 10: - m_dwSampRate = P9524_ADC_30_SPS; - break; - case 11: - m_dwSampRate = P9524_ADC_25_SPS; - break; - case 12: - m_dwSampRate = P9524_ADC_15_SPS; - break; - case 13: - m_dwSampRate = P9524_ADC_10_SPS; - break; - case 14: - m_dwSampRate = P9524_ADC_5_SPS; - break; - case 15: - m_dwSampRate = P9524_ADC_2R5_SPS; - break; - } - -} diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524AIDma_DbfExtD/9524cdmaDlg.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524AIDma_DbfExtD/9524cdmaDlg.h deleted file mode 100644 index 6b9e718..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524AIDma_DbfExtD/9524cdmaDlg.h +++ /dev/null @@ -1,86 +0,0 @@ - -// 9524cdmaDlg.h : header file -#pragma once -#include "afxcmn.h" -#include "afxwin.h" - -#include "Dask64.h" - -#define READCOUNT 60 - -// C9524cdmaDlg dialog -class C9524cdmaDlg : public CDialog -{ -// Construction -public: - C9524cdmaDlg(I16 hCard, CWnd* pParent = NULL); // standard constructor - -// Dialog Data - enum { IDD = IDD_9524DMA_DIALOG }; - - protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - - -// Implementation -protected: - HICON m_hIcon; - UINT_PTR m_nTimer; - I16 m_hCard; - U32 m_dwSampRate; - U16 m_wChan; - U32 m_AIBuf1[READCOUNT]; - U32 m_AIBuf2[READCOUNT]; - U16 m_wBufferID1; - U16 m_wBufferID2; - U16 m_wRange; - U16 m_wGroup; - U16 m_wMode; - int m_oldY[8]; - int m_oldX[8]; - U32 m_dwReadCount; - U8 m_bView; - U32 m_dwOverrunCnt; - - // Generated message map functions - virtual BOOL OnInitDialog(); - afx_msg void OnSysCommand(UINT nID, LPARAM lParam); - afx_msg void OnPaint(); - afx_msg HCURSOR OnQueryDragIcon(); - DECLARE_MESSAGE_MAP() - -public: - double max_range; - double min_range; - int n_PlotWidth; - int n_PlotHeight; - int y_divider; - int x_divider; - int m_DisplayScale; - HBRUSH OnBrush; - HBRUSH OffBrush; - CPen RedPen; - CPen GreenPen; - CPen YellowPen; - CPen BluePen; - CPen LTBluePen; - CPen LTRedPen; - CPen LTGreenPen; - CPen WhitePen; - void redraw_display_area(void); - afx_msg void OnDestroy(); - afx_msg void OnStart(); - int display_buffer_data(U32* pBuf); - afx_msg void OnCh0(); - afx_msg void OnCh1(); - afx_msg void OnCh2(); - afx_msg void OnCh3(); - afx_msg void OnCh4(); - afx_msg void OnCh5(); - afx_msg void OnCh6(); - afx_msg void OnCh7(); - afx_msg void OnTimer(UINT_PTR nIDEvent); - afx_msg void OnStop(); - CComboBox m_cbSampRate; - afx_msg void OnSampRateSelchange(); -}; diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524AIDma_DbfExtD/CardIDDlg.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524AIDma_DbfExtD/CardIDDlg.cpp deleted file mode 100644 index 18322f8..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524AIDma_DbfExtD/CardIDDlg.cpp +++ /dev/null @@ -1,64 +0,0 @@ -// CardIDDlg.cpp : implementation file -// -#include "stdafx.h" -#include "9524cdma.h" -#include "9524cdmaDlg.h" -#include "CardIDDlg.h" - -// CCardIDDlg dialog - -IMPLEMENT_DYNAMIC(CCardIDDlg, CDialog) - -CCardIDDlg::CCardIDDlg(int nCardIdx, CWnd* pParent /*=NULL*/) - : CDialog(CCardIDDlg::IDD, pParent) -{ - m_nCardIdx = nCardIdx; -} - -CCardIDDlg::~CCardIDDlg() -{ -} - -void CCardIDDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); - DDX_Control(pDX, IDC_COMBO_CARDID, m_cbCardID); -} - - -BEGIN_MESSAGE_MAP(CCardIDDlg, CDialog) -// ON_CBN_SELCHANGE(IDC_COMBO_CARDID, &CCardIDDlg::OnCbnSelchangeComboCardid) -ON_BN_CLICKED(IDOK, &CCardIDDlg::OnBnClickedOk) -//ON_WM_CTLCOLOR() -END_MESSAGE_MAP() - - -// CCardIDDlg message handlers - - -void CCardIDDlg::OnBnClickedOk() -{ - // TODO: Add your control notification handler code here - -// UpdateData(TRUE); - m_nCardIdx = m_cbCardID.GetCurSel(); - - OnOK(); -} - -BOOL CCardIDDlg::OnInitDialog() -{ - CDialog::OnInitDialog(); - - // TODO: Add extra initialization here - m_cbCardID.SetCurSel( m_nCardIdx ); - - return TRUE; // return TRUE unless you set the focus to a control - // EXCEPTION: OCX Property Pages should return FALSE -} - -// the function to get the selected CardID -int CCardIDDlg::GetCardID(void) -{ - return m_nCardIdx; -} diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524AIDma_DbfExtD/CardIDDlg.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524AIDma_DbfExtD/CardIDDlg.h deleted file mode 100644 index 9c02c58..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524AIDma_DbfExtD/CardIDDlg.h +++ /dev/null @@ -1,32 +0,0 @@ -#pragma once -#include "afxwin.h" - -#include "Dask64.h" - -// CCardIDDlg dialog - -class CCardIDDlg : public CDialog -{ - DECLARE_DYNAMIC(CCardIDDlg) - -public: - CCardIDDlg(int nCardIdx, CWnd* pParent = NULL); // standard constructor - virtual ~CCardIDDlg(); - -// Dialog Data - enum { IDD = IDD_CARDID_DIALOG }; - -protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - - DECLARE_MESSAGE_MAP() -public: - virtual BOOL OnInitDialog(); - afx_msg void OnBnClickedOk(); - // the setting of CardID ComboBox - int m_nCardIdx; - // the control of CardID ComboBox - CComboBox m_cbCardID; - // the function to get the selected CardID - int GetCardID(void); -}; diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524AIDma_DbfExtD/ReadMe.txt b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524AIDma_DbfExtD/ReadMe.txt deleted file mode 100644 index 0739e28..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524AIDma_DbfExtD/ReadMe.txt +++ /dev/null @@ -1,93 +0,0 @@ -================================================================================ - MICROSOFT FOUNDATION CLASS LIBRARY : 9524cdma Project Overview -=============================================================================== - -The application wizard has created this 9524cdma application for -you. This application not only demonstrates the basics of using the Microsoft -Foundation Classes but is also a starting point for writing your application. - -This file contains a summary of what you will find in each of the files that -make up your 9524cdma application. - -9524cdma.vcproj - This is the main project file for VC++ projects generated using an application wizard. - It contains information about the version of Visual C++ that generated the file, and - information about the platforms, configurations, and project features selected with the - application wizard. - -9524cdma.h - This is the main header file for the application. It includes other - project specific headers (including Resource.h) and declares the - C9524cdmaApp application class. - -9524cdma.cpp - This is the main application source file that contains the application - class C9524cdmaApp. - -9524cdma.rc - This is a listing of all of the Microsoft Windows resources that the - program uses. It includes the icons, bitmaps, and cursors that are stored - in the RES subdirectory. This file can be directly edited in Microsoft - Visual C++. Your project resources are in 1033. - -res\9524cdma.ico - This is an icon file, which is used as the application's icon. This - icon is included by the main resource file 9524cdma.rc. - -res\My9524cdma.rc2 - This file contains resources that are not edited by Microsoft - Visual C++. You should place all resources not editable by - the resource editor in this file. - - -///////////////////////////////////////////////////////////////////////////// - -The application wizard creates one dialog class: - -9524cdmaDlg.h, 9524cdmaDlg.cpp - the dialog - These files contain your C9524cdmaDlg class. This class defines - the behavior of your application's main dialog. The dialog's template is - in 9524cdma.rc, which can be edited in Microsoft Visual C++. - - -///////////////////////////////////////////////////////////////////////////// - -Other Features: - -ActiveX Controls - The application includes support to use ActiveX controls. - -///////////////////////////////////////////////////////////////////////////// - -Other standard files: - -StdAfx.h, StdAfx.cpp - These files are used to build a precompiled header (PCH) file - named 9524cdma.pch and a precompiled types file named StdAfx.obj. - -Resource.h - This is the standard header file, which defines new resource IDs. - Microsoft Visual C++ reads and updates this file. - -9524cdma.manifest - Application manifest files are used by Windows XP to describe an applications - dependency on specific versions of Side-by-Side assemblies. The loader uses this - information to load the appropriate assembly from the assembly cache or private - from the application. The Application manifest maybe included for redistribution - as an external .manifest file that is installed in the same folder as the application - executable or it may be included in the executable in the form of a resource. -///////////////////////////////////////////////////////////////////////////// - -Other notes: - -The application wizard uses "TODO:" to indicate parts of the source code you -should add to or customize. - -If your application uses MFC in a shared DLL, you will need -to redistribute the MFC DLLs. If your application is in a language -other than the operating system's locale, you will also have to -redistribute the corresponding localized resources MFC90XXX.DLL. -For more information on both of these topics, please see the section on -redistributing Visual C++ applications in MSDN documentation. - -///////////////////////////////////////////////////////////////////////////// diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524AIDma_DbfExtD/res/9524cdma.ico b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524AIDma_DbfExtD/res/9524cdma.ico deleted file mode 100644 index d56fbcd..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524AIDma_DbfExtD/res/9524cdma.ico and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524AIDma_DbfExtD/res/My9524cdma.rc2 b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524AIDma_DbfExtD/res/My9524cdma.rc2 deleted file mode 100644 index 383cde2..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524AIDma_DbfExtD/res/My9524cdma.rc2 +++ /dev/null @@ -1,13 +0,0 @@ -// -// My9111int.RC2 - resources Microsoft Visual C++ does not edit directly -// - -#ifdef APSTUDIO_INVOKED -#error this file is not editable by Microsoft Visual C++ -#endif //APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// Add manually edited resources here... - -///////////////////////////////////////////////////////////////////////////// diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524AIDma_DbfExtD/res/ch_set1.bmp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524AIDma_DbfExtD/res/ch_set1.bmp deleted file mode 100644 index f2374ed..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524AIDma_DbfExtD/res/ch_set1.bmp and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524AIDma_DbfExtD/res/ch_set2.bmp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524AIDma_DbfExtD/res/ch_set2.bmp deleted file mode 100644 index 32d0915..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524AIDma_DbfExtD/res/ch_set2.bmp and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524AIDma_DbfExtD/resource.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524AIDma_DbfExtD/resource.h deleted file mode 100644 index 8062390..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524AIDma_DbfExtD/resource.h +++ /dev/null @@ -1,38 +0,0 @@ -//{{NO_DEPENDENCIES}} -// Microsoft Visual C++ generated include file. -// Used by 9524cdma.rc -// -#define IDM_ABOUTBOX 0x0010 -#define IDD_ABOUTBOX 100 -#define IDS_ABOUTBOX 101 -#define IDD_9524DMA_DIALOG 102 -#define IDR_MAINFRAME 128 -#define IDD_CARDID_DIALOG 129 -#define IDB_BITMAP_SET1 131 -#define IDB_BITMAP_SET2 132 -#define IDC_STATIC_DRAW 1000 -#define IDC_COMBO_CARDID 1001 -#define IDC_BT_STOP 1002 -#define IDC_COMBO_CARDTYPE 1002 -#define IDC_BT_START 1003 -#define IDC_SCROLLBAR_RATE 1004 -#define IDC_RADIO_CH4 1005 -#define IDC_RADIO_CH5 1006 -#define IDC_RADIO_CH6 1007 -#define IDC_RADIO_CH7 1008 -#define IDC_STATIC_01 1009 -#define IDC_COMBO_SAMPLE_RATE 1010 -#define IDC_STATIC_2 1011 -#define IDC_EDIT1 1012 -#define IDC_EDIT_OVERRUN 1013 - -// Next default values for new objects -// -#ifdef APSTUDIO_INVOKED -#ifndef APSTUDIO_READONLY_SYMBOLS -#define _APS_NEXT_RESOURCE_VALUE 135 -#define _APS_NEXT_COMMAND_VALUE 32771 -#define _APS_NEXT_CONTROL_VALUE 1014 -#define _APS_NEXT_SYMED_VALUE 101 -#endif -#endif diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524AIDma_DbfExtD/stdafx.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524AIDma_DbfExtD/stdafx.cpp deleted file mode 100644 index ef80626..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524AIDma_DbfExtD/stdafx.cpp +++ /dev/null @@ -1,8 +0,0 @@ - -// stdafx.cpp : source file that includes just the standard includes -// 9111int.pch will be the pre-compiled header -// stdafx.obj will contain the pre-compiled type information - -#include "stdafx.h" - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524AIDma_DbfExtD/stdafx.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524AIDma_DbfExtD/stdafx.h deleted file mode 100644 index 12123e2..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524AIDma_DbfExtD/stdafx.h +++ /dev/null @@ -1,60 +0,0 @@ - -// stdafx.h : include file for standard system include files, -// or project specific include files that are used frequently, -// but are changed infrequently - -#pragma once - -#ifndef _SECURE_ATL -#define _SECURE_ATL 1 -#endif - -#ifndef VC_EXTRALEAN -#define VC_EXTRALEAN // Exclude rarely-used stuff from Windows headers -#endif - -#include "targetver.h" - -#define _ATL_CSTRING_EXPLICIT_CONSTRUCTORS // some CString constructors will be explicit - -// turns off MFC's hiding of some common and often safely ignored warning messages -#define _AFX_ALL_WARNINGS - -#include // MFC core and standard components -#include // MFC extensions - - -#include // MFC Automation classes - - - -#ifndef _AFX_NO_OLE_SUPPORT -#include // MFC support for Internet Explorer 4 Common Controls -#endif -#ifndef _AFX_NO_AFXCMN_SUPPORT -#include // MFC support for Windows Common Controls -#endif // _AFX_NO_AFXCMN_SUPPORT - -#include // MFC support for ribbons and control bars - - - - - - - - - -#ifdef _UNICODE -#if defined _M_IX86 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='x86' publicKeyToken='6595b64144ccf1df' language='*'\"") -#elif defined _M_IA64 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='ia64' publicKeyToken='6595b64144ccf1df' language='*'\"") -#elif defined _M_X64 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='amd64' publicKeyToken='6595b64144ccf1df' language='*'\"") -#else -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='*' publicKeyToken='6595b64144ccf1df' language='*'\"") -#endif -#endif - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524AIDma_DbfExtD/targetver.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524AIDma_DbfExtD/targetver.h deleted file mode 100644 index 11730d5..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524AIDma_DbfExtD/targetver.h +++ /dev/null @@ -1,26 +0,0 @@ - -#pragma once - -// The following macros define the minimum required platform. The minimum required platform -// is the earliest version of Windows, Internet Explorer etc. that has the necessary features to run -// your application. The macros work by enabling all features available on platform versions up to and -// including the version specified. - -// Modify the following defines if you have to target a platform prior to the ones specified below. -// Refer to MSDN for the latest info on corresponding values for different platforms. -#ifndef WINVER // Specifies that the minimum required platform is Windows Vista. -#define WINVER 0x0600 // Change this to the appropriate value to target other versions of Windows. -#endif - -#ifndef _WIN32_WINNT // Specifies that the minimum required platform is Windows Vista. -#define _WIN32_WINNT 0x0600 // Change this to the appropriate value to target other versions of Windows. -#endif - -#ifndef _WIN32_WINDOWS // Specifies that the minimum required platform is Windows 98. -#define _WIN32_WINDOWS 0x0410 // Change this to the appropriate value to target Windows Me or later. -#endif - -#ifndef _WIN32_IE // Specifies that the minimum required platform is Internet Explorer 7.0. -#define _WIN32_IE 0x0700 // Change this to the appropriate value to target other versions of IE. -#endif - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524AIDma_ExtD/9111int.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524AIDma_ExtD/9111int.suo deleted file mode 100644 index 1d7a5ee..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524AIDma_ExtD/9111int.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524AIDma_ExtD/9116dma.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524AIDma_ExtD/9116dma.suo deleted file mode 100644 index ac40639..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524AIDma_ExtD/9116dma.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524AIDma_ExtD/9221dma.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524AIDma_ExtD/9221dma.suo deleted file mode 100644 index dcc1d84..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524AIDma_ExtD/9221dma.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524AIDma_ExtD/9222dma.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524AIDma_ExtD/9222dma.suo deleted file mode 100644 index 907197b..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524AIDma_ExtD/9222dma.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524AIDma_ExtD/9223dma.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524AIDma_ExtD/9223dma.suo deleted file mode 100644 index e334f8b..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524AIDma_ExtD/9223dma.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524AIDma_ExtD/9524dma.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524AIDma_ExtD/9524dma.cpp deleted file mode 100644 index 38cf44f..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524AIDma_ExtD/9524dma.cpp +++ /dev/null @@ -1,109 +0,0 @@ - -// 9524dma.cpp : Defines the class behaviors for the application. -// - -#include "stdafx.h" -#include "9524dma.h" -#include "9524dmaDlg.h" -#include "CardIDDlg.h" - -#ifdef _DEBUG -#define new DEBUG_NEW -#endif - - -// C9524dmaApp - -BEGIN_MESSAGE_MAP(C9524dmaApp, CWinAppEx) - ON_COMMAND(ID_HELP, &CWinApp::OnHelp) -END_MESSAGE_MAP() - - -// C9524dmaApp construction - -C9524dmaApp::C9524dmaApp() -{ - // TODO: add construction code here, - // Place all significant initialization in InitInstance -} - - -// The one and only C9524dmaApp object - -C9524dmaApp theApp; - - -// C9524dmaApp initialization - -BOOL C9524dmaApp::InitInstance() -{ - int nCardID = 0; - I16 hCard; - CString strTemp; - INT_PTR nResponse; - - // InitCommonControlsEx() is required on Windows XP if an application - // manifest specifies use of ComCtl32.dll version 6 or later to enable - // visual styles. Otherwise, any window creation will fail. - INITCOMMONCONTROLSEX InitCtrls; - InitCtrls.dwSize = sizeof(InitCtrls); - // Set this to include all the common control classes you want to use - // in your application. - InitCtrls.dwICC = ICC_WIN95_CLASSES; - InitCommonControlsEx(&InitCtrls); - - CWinAppEx::InitInstance(); - - AfxEnableControlContainer(); - - // Standard initialization - // If you are not using these features and wish to reduce the size - // of your final executable, you should remove from the following - // the specific initialization routines you do not need - // Change the registry key under which our settings are stored - // TODO: You should modify this string to be something appropriate - // such as the name of your company or organization - SetRegistryKey(_T("Local AppWizard-Generated Applications")); - - CCardIDDlg CardDlg( nCardID ); - - nResponse = CardDlg.DoModal(); - if (nResponse == IDOK) - { - nCardID = CardDlg.GetCardID(); - - if ((hCard=Register_Card(PCI_9524, nCardID)) < 0) - { - strTemp.Format( TEXT("Register_Card Error = %d"), hCard); - AfxMessageBox( strTemp ); - } - else - { - C9524dmaDlg dlg(hCard); - m_pMainWnd = &dlg; - nResponse = dlg.DoModal(); - if (nResponse == IDOK) - { - // TODO: Place code here to handle when the dialog is - // dismissed with OK - } - else if (nResponse == IDCANCEL) - { - // TODO: Place code here to handle when the dialog is - // dismissed with Cancel - } - - if (hCard >= 0) Release_Card(hCard); - } - - } - else if (nResponse == IDCANCEL) - { - // TODO: Place code here to handle when the dialog is - // dismissed with Cancel - } - - // Since the dialog has been closed, return FALSE so that we exit the - // application, rather than start the application's message pump. - return FALSE; -} diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524AIDma_ExtD/9524dma.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524AIDma_ExtD/9524dma.h deleted file mode 100644 index 12e9e1d..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524AIDma_ExtD/9524dma.h +++ /dev/null @@ -1,34 +0,0 @@ - -// 9524dma.h : main header file for the PROJECT_NAME application -// - -#pragma once - -#ifndef __AFXWIN_H__ - #error "include 'stdafx.h' before including this file for PCH" -#endif - -#include "resource.h" // main symbols - -#define AI_MODE_DMA 0 -#define AI_MODE_INT 1 - -// C9524dmaApp: -// See 9524dma.cpp for the implementation of this class -// - -class C9524dmaApp : public CWinAppEx -{ -public: - C9524dmaApp(); - -// Overrides - public: - virtual BOOL InitInstance(); - -// Implementation - - DECLARE_MESSAGE_MAP() -}; - -extern C9524dmaApp theApp; \ No newline at end of file diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524AIDma_ExtD/9524dma.rc b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524AIDma_ExtD/9524dma.rc deleted file mode 100644 index 922748c..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524AIDma_ExtD/9524dma.rc +++ /dev/null @@ -1,311 +0,0 @@ -// Microsoft Visual C++ generated resource script. -// -#include "resource.h" - -#define APSTUDIO_READONLY_SYMBOLS -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 2 resource. -// -#ifndef APSTUDIO_INVOKED -#include "targetver.h" -#endif -#include "afxres.h" - -///////////////////////////////////////////////////////////////////////////// -#undef APSTUDIO_READONLY_SYMBOLS - -///////////////////////////////////////////////////////////////////////////// -// Chinese (Taiwan) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_CHT) -#ifdef _WIN32 -LANGUAGE LANG_CHINESE, SUBLANG_CHINESE_TRADITIONAL -#pragma code_page(950) -#endif //_WIN32 - -#ifdef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// TEXTINCLUDE -// - -1 TEXTINCLUDE -BEGIN - "resource.h\0" -END - -2 TEXTINCLUDE -BEGIN - "#ifndef APSTUDIO_INVOKED\r\n" - "#include ""targetver.h""\r\n" - "#endif\r\n" - "#include ""afxres.h""\r\n" - "\0" -END - -3 TEXTINCLUDE -BEGIN - "#define _AFX_NO_SPLITTER_RESOURCES\r\n" - "#define _AFX_NO_OLE_RESOURCES\r\n" - "#define _AFX_NO_TRACKER_RESOURCES\r\n" - "#define _AFX_NO_PROPERTY_RESOURCES\r\n" - "\r\n" - "#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)\r\n" - "LANGUAGE 9, 1\r\n" - "#pragma code_page(1252)\r\n" - "#include ""res\\My9524dma.rc2"" // non-Microsoft Visual C++ edited resources\r\n" - "#include ""afxres.rc"" // Standard components\r\n" - "#endif\r\n" - "\0" -END - -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// Icon -// - -// Icon with lowest ID value placed first to ensure application icon -// remains consistent on all systems. -IDR_MAINFRAME ICON "res\\9524dma.ico" -#endif // Chinese (Taiwan) resources -///////////////////////////////////////////////////////////////////////////// - - -///////////////////////////////////////////////////////////////////////////// -// English (U.S.) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -#ifdef _WIN32 -LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US -#pragma code_page(1252) -#endif //_WIN32 - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog -// - -IDD_ABOUTBOX DIALOGEX 0, 0, 170, 62 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "About 9524dma" -FONT 8, "MS Shell Dlg", 0, 0, 0x1 -BEGIN - ICON IDR_MAINFRAME,IDC_STATIC,14,14,21,20 - LTEXT "9524dma, Version 1.0",IDC_STATIC,42,14,114,8,SS_NOPREFIX - LTEXT "Copyright (C) 2010",IDC_STATIC,42,26,114,8 - DEFPUSHBUTTON "OK",IDOK,113,41,50,14,WS_GROUP -END - -IDD_9524DMA_DIALOG DIALOGEX 0, 0, 365, 219 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU -EXSTYLE WS_EX_APPWINDOW -CAPTION "PCI-9524 AI Channel Read External Trigger (from GPI0)" -FONT 8, "MS Shell Dlg", 0, 0, 0x1 -BEGIN - GROUPBOX "",IDC_STATIC_DRAW,45,9,227,161,NOT WS_VISIBLE - CONTROL 131,IDC_STATIC,"Static",SS_BITMAP,337,29,9,44 - LTEXT "0",IDC_STATIC,325,29,10,11 - LTEXT "1",IDC_STATIC,325,40,10,11 - LTEXT "2",IDC_STATIC,325,51,10,11 - LTEXT "3",IDC_STATIC,325,63,10,11 - LTEXT "Range : +/- 10V",IDC_STATIC,295,130,57,13 - COMBOBOX IDC_COMBO_SCANCHAN,188,190,74,38,CBS_DROPDOWN | WS_VSCROLL | WS_TABSTOP - LTEXT "Read Channel :",IDC_STATIC,192,176,50,9 - PUSHBUTTON "Start",IDC_BT_START,281,183,75,22 - LTEXT "Sample rate :",IDC_STATIC,100,176,50,9 - COMBOBOX IDC_COMBO_SAMPLE_RATE,82,190,83,14,CBS_DROPDOWN | WS_VSCROLL | WS_TABSTOP -END - -IDD_CARDID_DIALOG DIALOGEX 0, 0, 165, 95 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "Card ID" -FONT 8, "MS Shell Dlg", 400, 0, 0x1 -BEGIN - COMBOBOX IDC_COMBO_CARDID,74,24,71,126,CBS_DROPDOWN | WS_VSCROLL | WS_TABSTOP - LTEXT "Card Number",IDC_STATIC_01,20,25,46,12 - PUSHBUTTON "OK",IDOK,22,62,58,19 - PUSHBUTTON "CANCEL",IDCANCEL,86,62,58,19 -END - - -///////////////////////////////////////////////////////////////////////////// -// -// Version -// - -VS_VERSION_INFO VERSIONINFO - FILEVERSION 1,0,0,1 - PRODUCTVERSION 1,0,0,1 - FILEFLAGSMASK 0x3fL -#ifdef _DEBUG - FILEFLAGS 0x1L -#else - FILEFLAGS 0x0L -#endif - FILEOS 0x4L - FILETYPE 0x1L - FILESUBTYPE 0x0L -BEGIN - BLOCK "StringFileInfo" - BEGIN - BLOCK "040904e4" - BEGIN - VALUE "CompanyName", "TODO: " - VALUE "FileDescription", "TODO: " - VALUE "FileVersion", "1.0.0.1" - VALUE "InternalName", "9524dma.exe" - VALUE "LegalCopyright", "TODO: (c) . All rights reserved." - VALUE "OriginalFilename", "9524dma.exe" - VALUE "ProductName", "TODO: " - VALUE "ProductVersion", "1.0.0.1" - END - END - BLOCK "VarFileInfo" - BEGIN - VALUE "Translation", 0x409, 1252 - END -END - - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog Info -// - -IDD_CARDID_DIALOG DLGINIT -BEGIN - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0030, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0031, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0032, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0033, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0034, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0035, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0036, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0037, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0038, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0039, - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3031, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3131, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3231, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3331, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3431, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3531, "\000" - 0 -END - -IDD_9524DMA_DIALOG DLGINIT -BEGIN - IDC_COMBO_SCANCHAN, 0x403, 16, 0 -0x3950, 0x3235, 0x5f34, 0x4941, 0x475f, 0x5f50, 0x4843, 0x0030, - IDC_COMBO_SCANCHAN, 0x403, 16, 0 -0x3950, 0x3235, 0x5f34, 0x4941, 0x475f, 0x5f50, 0x4843, 0x0031, - IDC_COMBO_SCANCHAN, 0x403, 16, 0 -0x3950, 0x3235, 0x5f34, 0x4941, 0x475f, 0x5f50, 0x4843, 0x0032, - IDC_COMBO_SCANCHAN, 0x403, 16, 0 -0x3950, 0x3235, 0x5f34, 0x4941, 0x475f, 0x5f50, 0x4843, 0x0033, - IDC_COMBO_SAMPLE_RATE, 0x403, 18, 0 -0x3950, 0x3235, 0x5f34, 0x4441, 0x5f43, 0x3033, 0x5f4b, 0x5053, 0x0053, - - IDC_COMBO_SAMPLE_RATE, 0x403, 18, 0 -0x3950, 0x3235, 0x5f34, 0x4441, 0x5f43, 0x3531, 0x5f4b, 0x5053, 0x0053, - - IDC_COMBO_SAMPLE_RATE, 0x403, 18, 0 -0x3950, 0x3235, 0x5f34, 0x4441, 0x5f43, 0x4b37, 0x5f35, 0x5053, 0x0053, - - IDC_COMBO_SAMPLE_RATE, 0x403, 19, 0 -0x3950, 0x3235, 0x5f34, 0x4441, 0x5f43, 0x4b33, 0x3537, 0x535f, 0x5350, -"\000" - IDC_COMBO_SAMPLE_RATE, 0x403, 17, 0 -0x3950, 0x3235, 0x5f34, 0x4441, 0x5f43, 0x4b32, 0x535f, 0x5350, "\000" - IDC_COMBO_SAMPLE_RATE, 0x403, 17, 0 -0x3950, 0x3235, 0x5f34, 0x4441, 0x5f43, 0x4b31, 0x535f, 0x5350, "\000" - IDC_COMBO_SAMPLE_RATE, 0x403, 18, 0 -0x3950, 0x3235, 0x5f34, 0x4441, 0x5f43, 0x3035, 0x5f30, 0x5053, 0x0053, - - IDC_COMBO_SAMPLE_RATE, 0x403, 18, 0 -0x3950, 0x3235, 0x5f34, 0x4441, 0x5f43, 0x3031, 0x5f30, 0x5053, 0x0053, - - IDC_COMBO_SAMPLE_RATE, 0x403, 17, 0 -0x3950, 0x3235, 0x5f34, 0x4441, 0x5f43, 0x3036, 0x535f, 0x5350, "\000" - IDC_COMBO_SAMPLE_RATE, 0x403, 17, 0 -0x3950, 0x3235, 0x5f34, 0x4441, 0x5f43, 0x3035, 0x535f, 0x5350, "\000" - IDC_COMBO_SAMPLE_RATE, 0x403, 17, 0 -0x3950, 0x3235, 0x5f34, 0x4441, 0x5f43, 0x3033, 0x535f, 0x5350, "\000" - IDC_COMBO_SAMPLE_RATE, 0x403, 17, 0 -0x3950, 0x3235, 0x5f34, 0x4441, 0x5f43, 0x3532, 0x535f, 0x5350, "\000" - IDC_COMBO_SAMPLE_RATE, 0x403, 17, 0 -0x3950, 0x3235, 0x5f34, 0x4441, 0x5f43, 0x3531, 0x535f, 0x5350, "\000" - IDC_COMBO_SAMPLE_RATE, 0x403, 17, 0 -0x3950, 0x3235, 0x5f34, 0x4441, 0x5f43, 0x3031, 0x535f, 0x5350, "\000" - IDC_COMBO_SAMPLE_RATE, 0x403, 16, 0 -0x3950, 0x3235, 0x5f34, 0x4441, 0x5f43, 0x5f35, 0x5053, 0x0053, - IDC_COMBO_SAMPLE_RATE, 0x403, 18, 0 -0x3950, 0x3235, 0x5f34, 0x4441, 0x5f43, 0x5232, 0x5f35, 0x5053, 0x0053, - - 0 -END - - -///////////////////////////////////////////////////////////////////////////// -// -// Bitmap -// - -IDB_BITMAP_SET1 BITMAP "res\\ch_set1.bmp" -IDB_BITMAP_SET2 BITMAP "res\\ch_set2.bmp" - -///////////////////////////////////////////////////////////////////////////// -// -// String Table -// - -STRINGTABLE -BEGIN - IDS_ABOUTBOX "&About 9524dma..." -END - -#endif // English (U.S.) resources -///////////////////////////////////////////////////////////////////////////// - - - -#ifndef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 3 resource. -// -#define _AFX_NO_SPLITTER_RESOURCES -#define _AFX_NO_OLE_RESOURCES -#define _AFX_NO_TRACKER_RESOURCES -#define _AFX_NO_PROPERTY_RESOURCES - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -LANGUAGE 9, 1 -#pragma code_page(1252) -#include "res\My9524dma.rc2" // non-Microsoft Visual C++ edited resources -#include "afxres.rc" // Standard components -#endif - -///////////////////////////////////////////////////////////////////////////// -#endif // not APSTUDIO_INVOKED - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524AIDma_ExtD/9524dma.sln b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524AIDma_ExtD/9524dma.sln deleted file mode 100644 index b798539..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524AIDma_ExtD/9524dma.sln +++ /dev/null @@ -1,20 +0,0 @@ - -Microsoft Visual Studio Solution File, Format Version 10.00 -# Visual Studio 2008 -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "9524dma", "9524dma.vcproj", "{702163FB-B6DF-4EF5-9491-FC54D71509BC}" -EndProject -Global - GlobalSection(SolutionConfigurationPlatforms) = preSolution - Debug|x64 = Debug|x64 - Release|x64 = Release|x64 - EndGlobalSection - GlobalSection(ProjectConfigurationPlatforms) = postSolution - {702163FB-B6DF-4EF5-9491-FC54D71509BC}.Debug|x64.ActiveCfg = Debug|x64 - {702163FB-B6DF-4EF5-9491-FC54D71509BC}.Debug|x64.Build.0 = Debug|x64 - {702163FB-B6DF-4EF5-9491-FC54D71509BC}.Release|x64.ActiveCfg = Release|x64 - {702163FB-B6DF-4EF5-9491-FC54D71509BC}.Release|x64.Build.0 = Release|x64 - EndGlobalSection - GlobalSection(SolutionProperties) = preSolution - HideSolutionNode = FALSE - EndGlobalSection -EndGlobal diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524AIDma_ExtD/9524dma.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524AIDma_ExtD/9524dma.suo deleted file mode 100644 index c358549..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524AIDma_ExtD/9524dma.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524AIDma_ExtD/9524dma.vcproj b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524AIDma_ExtD/9524dma.vcproj deleted file mode 100644 index a68bb8e..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524AIDma_ExtD/9524dma.vcproj +++ /dev/null @@ -1,294 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524AIDma_ExtD/9524dmaDlg.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524AIDma_ExtD/9524dmaDlg.cpp deleted file mode 100644 index 06850d4..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524AIDma_ExtD/9524dmaDlg.cpp +++ /dev/null @@ -1,532 +0,0 @@ - -// 9524dmaDlg.cpp : implementation file -// - -#include "stdafx.h" -#include "9524dma.h" -#include "9524dmaDlg.h" - -#ifdef _DEBUG -#define new DEBUG_NEW -#endif - -CRect plotRect; - -// CAboutDlg dialog used for App About - -class CAboutDlg : public CDialog -{ -public: - CAboutDlg(); - -// Dialog Data - enum { IDD = IDD_ABOUTBOX }; - - protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - -// Implementation -protected: - DECLARE_MESSAGE_MAP() -}; - -CAboutDlg::CAboutDlg() : CDialog(CAboutDlg::IDD) -{ -} - -void CAboutDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); -} - -BEGIN_MESSAGE_MAP(CAboutDlg, CDialog) -END_MESSAGE_MAP() - - -// C9524dmaDlg dialog - - -C9524dmaDlg::C9524dmaDlg(I16 hCard, CWnd* pParent /*=NULL*/) - : CDialog(C9524dmaDlg::IDD, pParent) -{ - m_hIcon = AfxGetApp()->LoadIcon(IDR_MAINFRAME); - - n_PlotWidth = n_PlotHeight = -1; - OnBrush = OffBrush = NULL; - - m_hCard = hCard; - m_nTimer = -1; - - m_wRange = AD_B_10_V; - - max_range = 10.0; - min_range = -10.0; - - m_wXMode = P9524_AI_XFER_DMA; - m_dwSampRate = P9524_ADC_30K_SPS; - w_mGroup = P9524_AI_GP_Group; - m_wChan = P9524_AI_GP_CH0; -} - -void C9524dmaDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); - DDX_Control(pDX, IDC_COMBO_SCANCHAN, m_cbScanChans); - DDX_Control(pDX, IDC_COMBO_SAMPLE_RATE, m_cbSampRate); -} - -BEGIN_MESSAGE_MAP(C9524dmaDlg, CDialog) - ON_WM_SYSCOMMAND() - ON_WM_PAINT() - ON_WM_QUERYDRAGICON() - //}}AFX_MSG_MAP - ON_WM_DESTROY() - ON_CBN_SELCHANGE(IDC_COMBO_SCANCHAN, &C9524dmaDlg::OnScanChanSelchange) - ON_BN_CLICKED(IDC_BT_START, &C9524dmaDlg::OnStart) - ON_WM_TIMER() - ON_CBN_SELCHANGE(IDC_COMBO_SAMPLE_RATE, &C9524dmaDlg::OnSampRateSelchange) -END_MESSAGE_MAP() - - -// C9524dmaDlg message handlers - -BOOL C9524dmaDlg::OnInitDialog() -{ - CDialog::OnInitDialog(); - - // Add "About..." menu item to system menu. - - // IDM_ABOUTBOX must be in the system command range. - ASSERT((IDM_ABOUTBOX & 0xFFF0) == IDM_ABOUTBOX); - ASSERT(IDM_ABOUTBOX < 0xF000); - - CMenu* pSysMenu = GetSystemMenu(FALSE); - if (pSysMenu != NULL) - { - BOOL bNameValid; - CString strAboutMenu; - bNameValid = strAboutMenu.LoadString(IDS_ABOUTBOX); - ASSERT(bNameValid); - if (!strAboutMenu.IsEmpty()) - { - pSysMenu->AppendMenu(MF_SEPARATOR); - pSysMenu->AppendMenu(MF_STRING, IDM_ABOUTBOX, strAboutMenu); - } - } - - // Set the icon for this dialog. The framework does this automatically - // when the application's main window is not a dialog - SetIcon(m_hIcon, TRUE); // Set big icon - SetIcon(m_hIcon, FALSE); // Set small icon - - // TODO: Add extra initialization here - x_divider = 5; y_divider = 4; - - OnBrush = CreateSolidBrush( RGB(255,0,0) ); - OffBrush = CreateSolidBrush( RGB(125,0,0) ); - - RedPen.CreatePen( PS_SOLID, 1, RGB(255,0,0)); - GreenPen.CreatePen( PS_SOLID, 1, RGB(0,255,0)); - YellowPen.CreatePen( PS_SOLID, 1, RGB(255,255,0)); - BluePen.CreatePen( PS_SOLID, 1, RGB(0,0,255)); - - if( n_PlotWidth == -1 && n_PlotHeight == -1 ) - { - ((CWnd*)GetDlgItem(IDC_STATIC_DRAW))->GetWindowRect(&plotRect); - ScreenToClient(&plotRect); - - n_PlotWidth = min( plotRect.Width(), 512); - n_PlotHeight = plotRect.Height() - 10; - } - - // set the default SampleRate - m_cbSampRate.SetCurSel( 0 ); - m_cbScanChans.SetCurSel( 0 ); - - return TRUE; // return TRUE unless you set the focus to a control -} - -void C9524dmaDlg::OnSysCommand(UINT nID, LPARAM lParam) -{ - if ((nID & 0xFFF0) == IDM_ABOUTBOX) - { - CAboutDlg dlgAbout; - dlgAbout.DoModal(); - } - else - { - CDialog::OnSysCommand(nID, lParam); - } -} - -// If you add a minimize button to your dialog, you will need the code below -// to draw the icon. For MFC applications using the document/view model, -// this is automatically done for you by the framework. - -void C9524dmaDlg::OnPaint() -{ - if (IsIconic()) - { - CPaintDC dc(this); // device context for painting - - SendMessage(WM_ICONERASEBKGND, reinterpret_cast(dc.GetSafeHdc()), 0); - - // Center icon in client rectangle - int cxIcon = GetSystemMetrics(SM_CXICON); - int cyIcon = GetSystemMetrics(SM_CYICON); - CRect rect; - GetClientRect(&rect); - int x = (rect.Width() - cxIcon + 1) / 2; - int y = (rect.Height() - cyIcon + 1) / 2; - - // Draw the icon - dc.DrawIcon(x, y, m_hIcon); - } - else - { - redraw_display_area(); - CDialog::OnPaint(); - } -} - -// The system calls this function to obtain the cursor to display while the user drags -// the minimized window. -HCURSOR C9524dmaDlg::OnQueryDragIcon() -{ - return static_cast(m_hIcon); -} - - -void C9524dmaDlg::redraw_display_area(void) -{ - CPen *oldPen; - - int oldMode; - COLORREF oldColor; - - CString y_lable; - - CPen minor_tick( PS_SOLID,1,RGB(132,130,132) ); -// CPen y_grid( PS_SOLID,1,RGB(206,203,132) ); - - int i, x_intv, y_intv; -// long total_sec; - - CClientDC dc_plot(this); - - // draw the base-line for x-y axises - oldPen = (CPen *)dc_plot.SelectStockObject(BLACK_PEN); - - // redraw the background - dc_plot.FillSolidRect( plotRect, RGB(0,0,0) ); - - // Re-Draw the AREA for Y-Lable - { - CBrush DIALOG_BRUSH; - CRect redraw_area, full_client; - - GetClientRect(&full_client); - ScreenToClient(&full_client); - - redraw_area.left = full_client.left; - redraw_area.top = plotRect.top - 5; - redraw_area.right = plotRect.left - 3; - redraw_area.bottom = plotRect.bottom + 10; - - DIALOG_BRUSH.CreateSysColorBrush( COLOR_3DFACE ); - - dc_plot.FillRect( redraw_area, &DIALOG_BRUSH ); - - DIALOG_BRUSH.DeleteObject(); - } - - dc_plot.MoveTo( plotRect.left - 3, plotRect.top ); - dc_plot.LineTo( plotRect.left - 3, plotRect.bottom ); - - // calculate the interval for tick/grid - y_intv = (plotRect.Height() - 10) /y_divider; - x_intv = plotRect.Width()/x_divider; - - - // set the color for tick - oldColor = dc_plot.SetTextColor( RGB(0,0,0) ); - oldMode = dc_plot.SetBkMode( TRANSPARENT ); - - for( i=0; i<= y_divider; i++ ) - { - CString tick_str; - CRect tmp_rect, tick_rect; - - // draw the tick for y-axis - dc_plot.MoveTo( plotRect.left -12, plotRect.bottom -5 - (i*y_intv) ); - dc_plot.LineTo( plotRect.left -3, plotRect.bottom -5 - (i*y_intv) ); - - tick_str.Format( _T("%.1f"), ( ((max_range-min_range)/y_divider) * i)+min_range ); - - // calculate the rectangle for text - dc_plot.DrawText( tick_str, &tmp_rect, DT_CALCRECT|DT_SINGLELINE ); - tick_rect.right = plotRect.left -14; - tick_rect.left = tick_rect.right - tmp_rect.Width(); - tick_rect.top = plotRect.bottom -5 - (i*y_intv) - tmp_rect.Height()/2; - tick_rect.bottom = tick_rect.top + tmp_rect.Height(); - - // draw the text - dc_plot.DrawText( tick_str, &tick_rect, DT_SINGLELINE|DT_RIGHT ); - - } - - // draw the minor_tick for Y axises - dc_plot.SelectObject(&minor_tick); - for( i=0; i< y_divider; i++ ) - { - dc_plot.MoveTo( plotRect.left -9, plotRect.bottom -5 - (i*y_intv) - y_intv/2 ); - dc_plot.LineTo( plotRect.left -4, plotRect.bottom -5 - (i*y_intv) - y_intv/2 ); - } - - dc_plot.SetTextColor( oldColor ); - dc_plot.SetBkMode( oldMode ); - dc_plot.SelectObject( oldPen ); -} - -void C9524dmaDlg::OnDestroy() -{ - CDialog::OnDestroy(); - - // TODO: Add your message handler code here - if( m_nTimer != -1 ) - { - KillTimer( m_nTimer ); - m_nTimer = -1; - } - - - if( OnBrush != NULL ) - ::DeleteObject( OnBrush ); - - if( OffBrush != NULL ) - ::DeleteObject( OffBrush ); - - RedPen.DeleteObject(); - GreenPen.DeleteObject(); - YellowPen.DeleteObject(); - BluePen.DeleteObject(); -} - -void C9524dmaDlg::OnScanChanSelchange() -{ - // TODO: Add your control notification handler code here - int nIndex; - - nIndex = m_cbScanChans.GetCurSel(); - - switch( nIndex ) - { - case 0: - m_wChan = P9524_AI_GP_CH0; - break; - case 1: - m_wChan = P9524_AI_GP_CH1; - break; - case 2: - m_wChan = P9524_AI_GP_CH2; - break; - case 3: - m_wChan = P9524_AI_GP_CH3; - break; - } - -} - -void C9524dmaDlg::OnStart() -{ - // TODO: Add your control notification handler code here - CString strTemp; - I16 err; - - GetDlgItem( IDC_BT_START )->EnableWindow(FALSE); - - // allocate a memory for user DMA buffer - memset( m_AIBuf, '\0', READCOUNT * sizeof(U32) ); - - - m_oldY[0] = m_oldY[1] = m_oldY[2] = m_oldY[3] = -1; - m_oldX[0] = m_oldX[1] = m_oldX[2] = m_oldX[3] = -1; - - /*Disable Double Buffer Mode*/ - err = AI_AsyncDblBufferMode(m_hCard, 0); // single-buffer mode - if (err!=0) - { - strTemp.Format( TEXT("AI_DblBufferMode error=%d"), err); - AfxMessageBox( strTemp ); - return; - } - - err = AI_ContBufferSetup (m_hCard, m_AIBuf, READCOUNT, &m_wBufferID); - if (err!=0) - { - strTemp.Format( TEXT("AI_ContBufferSetup error=%d"), err); - AfxMessageBox( strTemp ); - return; - } - - - /*Configure AI*/ - err = AI_9524_Config(m_hCard, w_mGroup, m_wXMode, P9524_AI_BufAutoReset, (P9524_TRGMOD_POST|P9524_TRGSRC_ExtD), 0); - if (err!=0) - { - strTemp.Format( TEXT("AI_9524_Config error=%d"), err); - AfxMessageBox( strTemp ); - return; - } - - err = AI_ContReadChannel(m_hCard, m_wChan, m_wRange, &m_wBufferID, READCOUNT, (F64)m_dwSampRate, ASYNCH_OP); - if (err!=0) - { - strTemp.Format( TEXT("AI_ContScanChannels error=%d"), err); - AfxMessageBox( strTemp ); - return; - } - - m_nTimer = SetTimer( 1, 20, NULL ); - -} - -int C9524dmaDlg::display_buffer_data(U32* pBuf) -{ - CClientDC dc_plot(this); - int nDraw_Origin_Y; - int cur_channel; - - int newY = -1; - int newX = -1; - U32 index; - I32 ai_data, nTemp; - - dc_plot.FillSolidRect( plotRect, RGB(0,0,0) ); - - nDraw_Origin_Y = ( plotRect.bottom - 5 ) - n_PlotHeight/2; - - for( index=0; index> 4) & 0x0F); - ai_data = (nTemp >> 8); - - newY = (int)( nDraw_Origin_Y - ((n_PlotHeight * ai_data) >> 24) ); // ( n_PlotHeight * ai_data / 16777216) ); // ( (n_PlotHeight/2) * ai_data/8388608 ) ); - newX = (int)( index*n_PlotWidth/READCOUNT + plotRect.left ); - - switch(cur_channel) - { - case 0: - dc_plot.SelectObject(&YellowPen); - break; - case 1: - dc_plot.SelectObject(&BluePen); - break; - case 2: - dc_plot.SelectObject(&BluePen); - break; - case 3: - dc_plot.SelectObject(&RedPen); - break; - } - - - if ( m_oldX[cur_channel] == -1 ) - { - dc_plot.MoveTo( newX, newY ); - } - else - { - dc_plot.MoveTo( m_oldX[cur_channel], m_oldY[cur_channel] ); - dc_plot.LineTo( newX, newY ); - } - - m_oldX[cur_channel] = newX; - m_oldY[cur_channel] = newY; - } - - return 0; -} - -void C9524dmaDlg::OnTimer(UINT_PTR nIDEvent) -{ - // TODO: Add your message handler code here and/or call default - BOOLEAN fstop; - U32 count; - - AI_AsyncCheck(m_hCard, &fstop, &count); - - if( fstop == TRUE ) - { - AI_AsyncClear(m_hCard, &count); - - KillTimer( m_nTimer ); - m_nTimer = -1; - - display_buffer_data( m_AIBuf ); - - GetDlgItem( IDC_BT_START )->EnableWindow(TRUE); - } - - CDialog::OnTimer(nIDEvent); -} - -void C9524dmaDlg::OnSampRateSelchange() -{ - // TODO: Add your control notification handler code here - int nIndex; - - nIndex = m_cbSampRate.GetCurSel(); - switch( nIndex ) - { - case 0: - m_dwSampRate = P9524_ADC_30K_SPS; - break; - case 1: - m_dwSampRate = P9524_ADC_15K_SPS; - break; - case 2: - m_dwSampRate = P9524_ADC_7K5_SPS; - break; - case 3: - m_dwSampRate = P9524_ADC_3K75_SPS; - break; - case 4: - m_dwSampRate = P9524_ADC_2K_SPS; - break; - case 5: - m_dwSampRate = P9524_ADC_1K_SPS; - break; - case 6: - m_dwSampRate = P9524_ADC_500_SPS; - break; - case 7: - m_dwSampRate = P9524_ADC_100_SPS; - break; - case 8: - m_dwSampRate = P9524_ADC_60_SPS; - break; - case 9: - m_dwSampRate = P9524_ADC_50_SPS; - break; - case 10: - m_dwSampRate = P9524_ADC_30_SPS; - break; - case 11: - m_dwSampRate = P9524_ADC_25_SPS; - break; - case 12: - m_dwSampRate = P9524_ADC_15_SPS; - break; - case 13: - m_dwSampRate = P9524_ADC_10_SPS; - break; - case 14: - m_dwSampRate = P9524_ADC_5_SPS; - break; - case 15: - m_dwSampRate = P9524_ADC_2R5_SPS; - break; - } -} diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524AIDma_ExtD/9524dmaDlg.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524AIDma_ExtD/9524dmaDlg.h deleted file mode 100644 index b80877c..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524AIDma_ExtD/9524dmaDlg.h +++ /dev/null @@ -1,73 +0,0 @@ - -// 9524dmaDlg.h : header file -#pragma once -#include "afxcmn.h" -#include "afxwin.h" - -#include "Dask64.h" - -#define READCOUNT 4096 - -// C9524dmaDlg dialog -class C9524dmaDlg : public CDialog -{ -// Construction -public: - C9524dmaDlg(I16 hCard, CWnd* pParent = NULL); // standard constructor - -// Dialog Data - enum { IDD = IDD_9524DMA_DIALOG }; - - protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - - -// Implementation -protected: - HICON m_hIcon; - UINT_PTR m_nTimer; - I16 m_hCard; - U32 m_dwSampRate; - U16 m_wChan; - U16 m_wBufferID; - U32 m_AIBuf[READCOUNT]; - U16 m_wRange; - U16 m_wXMode; - U16 w_mGroup; - int m_oldY[4]; - int m_oldX[4]; - - // Generated message map functions - virtual BOOL OnInitDialog(); - afx_msg void OnSysCommand(UINT nID, LPARAM lParam); - afx_msg void OnPaint(); - afx_msg HCURSOR OnQueryDragIcon(); - DECLARE_MESSAGE_MAP() - -public: - WORD max_val; - WORD min_val; - double max_range; - double min_range; - int n_PlotWidth; - int n_PlotHeight; - int y_divider; - int x_divider; - int m_DisplayScale; - HBRUSH OnBrush; - HBRUSH OffBrush; - CPen RedPen; - CPen GreenPen; - CPen YellowPen; - CPen BluePen; - void redraw_display_area(void); - afx_msg void OnDestroy(); - CComboBox m_cbScanChans; - afx_msg void OnVScroll(UINT nSBCode, UINT nPos, CScrollBar* pScrollBar); - afx_msg void OnScanChanSelchange(); - afx_msg void OnStart(); - int display_buffer_data(U32* pBuf); - afx_msg void OnTimer(UINT_PTR nIDEvent); - CComboBox m_cbSampRate; - afx_msg void OnSampRateSelchange(); -}; diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524AIDma_ExtD/CardIDDlg.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524AIDma_ExtD/CardIDDlg.cpp deleted file mode 100644 index c58d3ac..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524AIDma_ExtD/CardIDDlg.cpp +++ /dev/null @@ -1,64 +0,0 @@ -// CardIDDlg.cpp : implementation file -// -#include "stdafx.h" -#include "9524dma.h" -#include "9524dmaDlg.h" -#include "CardIDDlg.h" - -// CCardIDDlg dialog - -IMPLEMENT_DYNAMIC(CCardIDDlg, CDialog) - -CCardIDDlg::CCardIDDlg(int nCardIdx, CWnd* pParent /*=NULL*/) - : CDialog(CCardIDDlg::IDD, pParent) -{ - m_nCardIdx = nCardIdx; -} - -CCardIDDlg::~CCardIDDlg() -{ -} - -void CCardIDDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); - DDX_Control(pDX, IDC_COMBO_CARDID, m_cbCardID); -} - - -BEGIN_MESSAGE_MAP(CCardIDDlg, CDialog) -// ON_CBN_SELCHANGE(IDC_COMBO_CARDID, &CCardIDDlg::OnCbnSelchangeComboCardid) -ON_BN_CLICKED(IDOK, &CCardIDDlg::OnBnClickedOk) -//ON_WM_CTLCOLOR() -END_MESSAGE_MAP() - - -// CCardIDDlg message handlers - - -void CCardIDDlg::OnBnClickedOk() -{ - // TODO: Add your control notification handler code here - -// UpdateData(TRUE); - m_nCardIdx = m_cbCardID.GetCurSel(); - - OnOK(); -} - -BOOL CCardIDDlg::OnInitDialog() -{ - CDialog::OnInitDialog(); - - // TODO: Add extra initialization here - m_cbCardID.SetCurSel( m_nCardIdx ); - - return TRUE; // return TRUE unless you set the focus to a control - // EXCEPTION: OCX Property Pages should return FALSE -} - -// the function to get the selected CardID -int CCardIDDlg::GetCardID(void) -{ - return m_nCardIdx; -} diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524AIDma_ExtD/CardIDDlg.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524AIDma_ExtD/CardIDDlg.h deleted file mode 100644 index 9c02c58..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524AIDma_ExtD/CardIDDlg.h +++ /dev/null @@ -1,32 +0,0 @@ -#pragma once -#include "afxwin.h" - -#include "Dask64.h" - -// CCardIDDlg dialog - -class CCardIDDlg : public CDialog -{ - DECLARE_DYNAMIC(CCardIDDlg) - -public: - CCardIDDlg(int nCardIdx, CWnd* pParent = NULL); // standard constructor - virtual ~CCardIDDlg(); - -// Dialog Data - enum { IDD = IDD_CARDID_DIALOG }; - -protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - - DECLARE_MESSAGE_MAP() -public: - virtual BOOL OnInitDialog(); - afx_msg void OnBnClickedOk(); - // the setting of CardID ComboBox - int m_nCardIdx; - // the control of CardID ComboBox - CComboBox m_cbCardID; - // the function to get the selected CardID - int GetCardID(void); -}; diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524AIDma_ExtD/ReadMe.txt b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524AIDma_ExtD/ReadMe.txt deleted file mode 100644 index 4ed0830..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524AIDma_ExtD/ReadMe.txt +++ /dev/null @@ -1,93 +0,0 @@ -================================================================================ - MICROSOFT FOUNDATION CLASS LIBRARY : 9524dma Project Overview -=============================================================================== - -The application wizard has created this 9524dma application for -you. This application not only demonstrates the basics of using the Microsoft -Foundation Classes but is also a starting point for writing your application. - -This file contains a summary of what you will find in each of the files that -make up your 9524dma application. - -9524dma.vcproj - This is the main project file for VC++ projects generated using an application wizard. - It contains information about the version of Visual C++ that generated the file, and - information about the platforms, configurations, and project features selected with the - application wizard. - -9524dma.h - This is the main header file for the application. It includes other - project specific headers (including Resource.h) and declares the - C9524dmaApp application class. - -9524dma.cpp - This is the main application source file that contains the application - class C9524dmaApp. - -9524dma.rc - This is a listing of all of the Microsoft Windows resources that the - program uses. It includes the icons, bitmaps, and cursors that are stored - in the RES subdirectory. This file can be directly edited in Microsoft - Visual C++. Your project resources are in 1033. - -res\9524dma.ico - This is an icon file, which is used as the application's icon. This - icon is included by the main resource file 9524dma.rc. - -res\My9524dma.rc2 - This file contains resources that are not edited by Microsoft - Visual C++. You should place all resources not editable by - the resource editor in this file. - - -///////////////////////////////////////////////////////////////////////////// - -The application wizard creates one dialog class: - -9524dmaDlg.h, 9524dmaDlg.cpp - the dialog - These files contain your C9524dmaDlg class. This class defines - the behavior of your application's main dialog. The dialog's template is - in 9524dma.rc, which can be edited in Microsoft Visual C++. - - -///////////////////////////////////////////////////////////////////////////// - -Other Features: - -ActiveX Controls - The application includes support to use ActiveX controls. - -///////////////////////////////////////////////////////////////////////////// - -Other standard files: - -StdAfx.h, StdAfx.cpp - These files are used to build a precompiled header (PCH) file - named 9524dma.pch and a precompiled types file named StdAfx.obj. - -Resource.h - This is the standard header file, which defines new resource IDs. - Microsoft Visual C++ reads and updates this file. - -9524dma.manifest - Application manifest files are used by Windows XP to describe an applications - dependency on specific versions of Side-by-Side assemblies. The loader uses this - information to load the appropriate assembly from the assembly cache or private - from the application. The Application manifest maybe included for redistribution - as an external .manifest file that is installed in the same folder as the application - executable or it may be included in the executable in the form of a resource. -///////////////////////////////////////////////////////////////////////////// - -Other notes: - -The application wizard uses "TODO:" to indicate parts of the source code you -should add to or customize. - -If your application uses MFC in a shared DLL, you will need -to redistribute the MFC DLLs. If your application is in a language -other than the operating system's locale, you will also have to -redistribute the corresponding localized resources MFC90XXX.DLL. -For more information on both of these topics, please see the section on -redistributing Visual C++ applications in MSDN documentation. - -///////////////////////////////////////////////////////////////////////////// diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524AIDma_ExtD/res/9524dma.ico b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524AIDma_ExtD/res/9524dma.ico deleted file mode 100644 index d56fbcd..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524AIDma_ExtD/res/9524dma.ico and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524AIDma_ExtD/res/My9524dma.rc2 b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524AIDma_ExtD/res/My9524dma.rc2 deleted file mode 100644 index 383cde2..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524AIDma_ExtD/res/My9524dma.rc2 +++ /dev/null @@ -1,13 +0,0 @@ -// -// My9111int.RC2 - resources Microsoft Visual C++ does not edit directly -// - -#ifdef APSTUDIO_INVOKED -#error this file is not editable by Microsoft Visual C++ -#endif //APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// Add manually edited resources here... - -///////////////////////////////////////////////////////////////////////////// diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524AIDma_ExtD/res/ch_set1.bmp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524AIDma_ExtD/res/ch_set1.bmp deleted file mode 100644 index f2374ed..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524AIDma_ExtD/res/ch_set1.bmp and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524AIDma_ExtD/res/ch_set2.bmp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524AIDma_ExtD/res/ch_set2.bmp deleted file mode 100644 index 32d0915..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524AIDma_ExtD/res/ch_set2.bmp and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524AIDma_ExtD/resource.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524AIDma_ExtD/resource.h deleted file mode 100644 index 3b0c8a4..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524AIDma_ExtD/resource.h +++ /dev/null @@ -1,32 +0,0 @@ -//{{NO_DEPENDENCIES}} -// Microsoft Visual C++ generated include file. -// Used by 9524dma.rc -// -#define IDM_ABOUTBOX 0x0010 -#define IDD_ABOUTBOX 100 -#define IDS_ABOUTBOX 101 -#define IDD_9524DMA_DIALOG 102 -#define IDR_MAINFRAME 128 -#define IDD_CARDID_DIALOG 129 -#define IDB_BITMAP_SET1 131 -#define IDB_BITMAP_SET2 132 -#define IDC_STATIC_DRAW 1000 -#define IDC_COMBO_CARDID 1001 -#define IDC_COMBO_SCANCHAN 1001 -#define IDC_BT_START 1002 -#define IDC_EDIT_SCAN_ITERVAL 1003 -#define IDC_SCROLLBAR_RATE 1006 -#define IDC_COMBO_SAMPLE_RATE 1010 -#define IDC_STATIC_01 1014 -#define IDC_STATIC_2 1015 - -// Next default values for new objects -// -#ifdef APSTUDIO_INVOKED -#ifndef APSTUDIO_READONLY_SYMBOLS -#define _APS_NEXT_RESOURCE_VALUE 134 -#define _APS_NEXT_COMMAND_VALUE 32771 -#define _APS_NEXT_CONTROL_VALUE 1003 -#define _APS_NEXT_SYMED_VALUE 101 -#endif -#endif diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524AIDma_ExtD/stdafx.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524AIDma_ExtD/stdafx.cpp deleted file mode 100644 index a27df68..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524AIDma_ExtD/stdafx.cpp +++ /dev/null @@ -1,8 +0,0 @@ - -// stdafx.cpp : source file that includes just the standard includes -// 9223dma.pch will be the pre-compiled header -// stdafx.obj will contain the pre-compiled type information - -#include "stdafx.h" - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524AIDma_ExtD/stdafx.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524AIDma_ExtD/stdafx.h deleted file mode 100644 index 12123e2..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524AIDma_ExtD/stdafx.h +++ /dev/null @@ -1,60 +0,0 @@ - -// stdafx.h : include file for standard system include files, -// or project specific include files that are used frequently, -// but are changed infrequently - -#pragma once - -#ifndef _SECURE_ATL -#define _SECURE_ATL 1 -#endif - -#ifndef VC_EXTRALEAN -#define VC_EXTRALEAN // Exclude rarely-used stuff from Windows headers -#endif - -#include "targetver.h" - -#define _ATL_CSTRING_EXPLICIT_CONSTRUCTORS // some CString constructors will be explicit - -// turns off MFC's hiding of some common and often safely ignored warning messages -#define _AFX_ALL_WARNINGS - -#include // MFC core and standard components -#include // MFC extensions - - -#include // MFC Automation classes - - - -#ifndef _AFX_NO_OLE_SUPPORT -#include // MFC support for Internet Explorer 4 Common Controls -#endif -#ifndef _AFX_NO_AFXCMN_SUPPORT -#include // MFC support for Windows Common Controls -#endif // _AFX_NO_AFXCMN_SUPPORT - -#include // MFC support for ribbons and control bars - - - - - - - - - -#ifdef _UNICODE -#if defined _M_IX86 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='x86' publicKeyToken='6595b64144ccf1df' language='*'\"") -#elif defined _M_IA64 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='ia64' publicKeyToken='6595b64144ccf1df' language='*'\"") -#elif defined _M_X64 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='amd64' publicKeyToken='6595b64144ccf1df' language='*'\"") -#else -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='*' publicKeyToken='6595b64144ccf1df' language='*'\"") -#endif -#endif - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524AIDma_ExtD/targetver.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524AIDma_ExtD/targetver.h deleted file mode 100644 index 11730d5..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524AIDma_ExtD/targetver.h +++ /dev/null @@ -1,26 +0,0 @@ - -#pragma once - -// The following macros define the minimum required platform. The minimum required platform -// is the earliest version of Windows, Internet Explorer etc. that has the necessary features to run -// your application. The macros work by enabling all features available on platform versions up to and -// including the version specified. - -// Modify the following defines if you have to target a platform prior to the ones specified below. -// Refer to MSDN for the latest info on corresponding values for different platforms. -#ifndef WINVER // Specifies that the minimum required platform is Windows Vista. -#define WINVER 0x0600 // Change this to the appropriate value to target other versions of Windows. -#endif - -#ifndef _WIN32_WINNT // Specifies that the minimum required platform is Windows Vista. -#define _WIN32_WINNT 0x0600 // Change this to the appropriate value to target other versions of Windows. -#endif - -#ifndef _WIN32_WINDOWS // Specifies that the minimum required platform is Windows 98. -#define _WIN32_WINDOWS 0x0410 // Change this to the appropriate value to target Windows Me or later. -#endif - -#ifndef _WIN32_IE // Specifies that the minimum required platform is Internet Explorer 7.0. -#define _WIN32_IE 0x0700 // Change this to the appropriate value to target other versions of IE. -#endif - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524AI_ContScans/9111int.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524AI_ContScans/9111int.suo deleted file mode 100644 index 1d7a5ee..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524AI_ContScans/9111int.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524AI_ContScans/9116dma.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524AI_ContScans/9116dma.suo deleted file mode 100644 index ac40639..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524AI_ContScans/9116dma.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524AI_ContScans/9221dma.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524AI_ContScans/9221dma.suo deleted file mode 100644 index dcc1d84..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524AI_ContScans/9221dma.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524AI_ContScans/9222dma.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524AI_ContScans/9222dma.suo deleted file mode 100644 index 907197b..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524AI_ContScans/9222dma.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524AI_ContScans/9223dma.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524AI_ContScans/9223dma.suo deleted file mode 100644 index e334f8b..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524AI_ContScans/9223dma.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524AI_ContScans/9524dma.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524AI_ContScans/9524dma.cpp deleted file mode 100644 index 38cf44f..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524AI_ContScans/9524dma.cpp +++ /dev/null @@ -1,109 +0,0 @@ - -// 9524dma.cpp : Defines the class behaviors for the application. -// - -#include "stdafx.h" -#include "9524dma.h" -#include "9524dmaDlg.h" -#include "CardIDDlg.h" - -#ifdef _DEBUG -#define new DEBUG_NEW -#endif - - -// C9524dmaApp - -BEGIN_MESSAGE_MAP(C9524dmaApp, CWinAppEx) - ON_COMMAND(ID_HELP, &CWinApp::OnHelp) -END_MESSAGE_MAP() - - -// C9524dmaApp construction - -C9524dmaApp::C9524dmaApp() -{ - // TODO: add construction code here, - // Place all significant initialization in InitInstance -} - - -// The one and only C9524dmaApp object - -C9524dmaApp theApp; - - -// C9524dmaApp initialization - -BOOL C9524dmaApp::InitInstance() -{ - int nCardID = 0; - I16 hCard; - CString strTemp; - INT_PTR nResponse; - - // InitCommonControlsEx() is required on Windows XP if an application - // manifest specifies use of ComCtl32.dll version 6 or later to enable - // visual styles. Otherwise, any window creation will fail. - INITCOMMONCONTROLSEX InitCtrls; - InitCtrls.dwSize = sizeof(InitCtrls); - // Set this to include all the common control classes you want to use - // in your application. - InitCtrls.dwICC = ICC_WIN95_CLASSES; - InitCommonControlsEx(&InitCtrls); - - CWinAppEx::InitInstance(); - - AfxEnableControlContainer(); - - // Standard initialization - // If you are not using these features and wish to reduce the size - // of your final executable, you should remove from the following - // the specific initialization routines you do not need - // Change the registry key under which our settings are stored - // TODO: You should modify this string to be something appropriate - // such as the name of your company or organization - SetRegistryKey(_T("Local AppWizard-Generated Applications")); - - CCardIDDlg CardDlg( nCardID ); - - nResponse = CardDlg.DoModal(); - if (nResponse == IDOK) - { - nCardID = CardDlg.GetCardID(); - - if ((hCard=Register_Card(PCI_9524, nCardID)) < 0) - { - strTemp.Format( TEXT("Register_Card Error = %d"), hCard); - AfxMessageBox( strTemp ); - } - else - { - C9524dmaDlg dlg(hCard); - m_pMainWnd = &dlg; - nResponse = dlg.DoModal(); - if (nResponse == IDOK) - { - // TODO: Place code here to handle when the dialog is - // dismissed with OK - } - else if (nResponse == IDCANCEL) - { - // TODO: Place code here to handle when the dialog is - // dismissed with Cancel - } - - if (hCard >= 0) Release_Card(hCard); - } - - } - else if (nResponse == IDCANCEL) - { - // TODO: Place code here to handle when the dialog is - // dismissed with Cancel - } - - // Since the dialog has been closed, return FALSE so that we exit the - // application, rather than start the application's message pump. - return FALSE; -} diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524AI_ContScans/9524dma.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524AI_ContScans/9524dma.h deleted file mode 100644 index 12e9e1d..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524AI_ContScans/9524dma.h +++ /dev/null @@ -1,34 +0,0 @@ - -// 9524dma.h : main header file for the PROJECT_NAME application -// - -#pragma once - -#ifndef __AFXWIN_H__ - #error "include 'stdafx.h' before including this file for PCH" -#endif - -#include "resource.h" // main symbols - -#define AI_MODE_DMA 0 -#define AI_MODE_INT 1 - -// C9524dmaApp: -// See 9524dma.cpp for the implementation of this class -// - -class C9524dmaApp : public CWinAppEx -{ -public: - C9524dmaApp(); - -// Overrides - public: - virtual BOOL InitInstance(); - -// Implementation - - DECLARE_MESSAGE_MAP() -}; - -extern C9524dmaApp theApp; \ No newline at end of file diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524AI_ContScans/9524dma.rc b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524AI_ContScans/9524dma.rc deleted file mode 100644 index 7a34b4f..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524AI_ContScans/9524dma.rc +++ /dev/null @@ -1,309 +0,0 @@ -// Microsoft Visual C++ generated resource script. -// -#include "resource.h" - -#define APSTUDIO_READONLY_SYMBOLS -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 2 resource. -// -#ifndef APSTUDIO_INVOKED -#include "targetver.h" -#endif -#include "afxres.h" - -///////////////////////////////////////////////////////////////////////////// -#undef APSTUDIO_READONLY_SYMBOLS - -///////////////////////////////////////////////////////////////////////////// -// Chinese (Taiwan) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_CHT) -#ifdef _WIN32 -LANGUAGE LANG_CHINESE, SUBLANG_CHINESE_TRADITIONAL -#pragma code_page(950) -#endif //_WIN32 - -#ifdef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// TEXTINCLUDE -// - -1 TEXTINCLUDE -BEGIN - "resource.h\0" -END - -2 TEXTINCLUDE -BEGIN - "#ifndef APSTUDIO_INVOKED\r\n" - "#include ""targetver.h""\r\n" - "#endif\r\n" - "#include ""afxres.h""\r\n" - "\0" -END - -3 TEXTINCLUDE -BEGIN - "#define _AFX_NO_SPLITTER_RESOURCES\r\n" - "#define _AFX_NO_OLE_RESOURCES\r\n" - "#define _AFX_NO_TRACKER_RESOURCES\r\n" - "#define _AFX_NO_PROPERTY_RESOURCES\r\n" - "\r\n" - "#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)\r\n" - "LANGUAGE 9, 1\r\n" - "#pragma code_page(1252)\r\n" - "#include ""res\\My9524dma.rc2"" // non-Microsoft Visual C++ edited resources\r\n" - "#include ""afxres.rc"" // Standard components\r\n" - "#endif\r\n" - "\0" -END - -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// Icon -// - -// Icon with lowest ID value placed first to ensure application icon -// remains consistent on all systems. -IDR_MAINFRAME ICON "res\\9524dma.ico" -#endif // Chinese (Taiwan) resources -///////////////////////////////////////////////////////////////////////////// - - -///////////////////////////////////////////////////////////////////////////// -// English (U.S.) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -#ifdef _WIN32 -LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US -#pragma code_page(1252) -#endif //_WIN32 - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog -// - -IDD_ABOUTBOX DIALOGEX 0, 0, 170, 62 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "About 9524dma" -FONT 8, "MS Shell Dlg", 0, 0, 0x1 -BEGIN - ICON IDR_MAINFRAME,IDC_STATIC,14,14,21,20 - LTEXT "9524dma, Version 1.0",IDC_STATIC,42,14,114,8,SS_NOPREFIX - LTEXT "Copyright (C) 2010",IDC_STATIC,42,26,114,8 - DEFPUSHBUTTON "OK",IDOK,113,41,50,14,WS_GROUP -END - -IDD_9524DMA_DIALOG DIALOGEX 0, 0, 365, 219 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU -EXSTYLE WS_EX_APPWINDOW -CAPTION "PCI-9524 AI Channel Read (P9524_AI_GP_Group)" -FONT 8, "MS Shell Dlg", 0, 0, 0x1 -BEGIN - GROUPBOX "",IDC_STATIC_DRAW,45,9,227,161,NOT WS_VISIBLE - CONTROL 131,IDC_STATIC,"Static",SS_BITMAP,337,29,9,44 - LTEXT "0",IDC_STATIC,325,29,10,11 - LTEXT "1",IDC_STATIC,325,40,10,11 - LTEXT "2",IDC_STATIC,325,51,10,11 - LTEXT "3",IDC_STATIC,325,63,10,11 - LTEXT "Range : +/- 10V",IDC_STATIC,295,130,57,13 - COMBOBOX IDC_COMBO_SCANCHAN,188,190,74,38,CBS_DROPDOWN | WS_VSCROLL | WS_TABSTOP - LTEXT "Read Channel :",IDC_STATIC,192,176,50,9 - PUSHBUTTON "Start",IDC_BT_START,281,183,75,22 - LTEXT "Sample rate :",IDC_STATIC,100,176,50,9 - COMBOBOX IDC_COMBO_SAMPLE_RATE,82,190,83,14,CBS_DROPDOWN | WS_VSCROLL | WS_TABSTOP -END - -IDD_CARDID_DIALOG DIALOGEX 0, 0, 165, 95 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "Card ID" -FONT 8, "MS Shell Dlg", 400, 0, 0x1 -BEGIN - COMBOBOX IDC_COMBO_CARDID,74,24,71,126,CBS_DROPDOWN | WS_VSCROLL | WS_TABSTOP - LTEXT "Card Number",IDC_STATIC_01,20,25,46,12 - PUSHBUTTON "OK",IDOK,22,62,58,19 - PUSHBUTTON "CANCEL",IDCANCEL,86,62,58,19 -END - - -///////////////////////////////////////////////////////////////////////////// -// -// Version -// - -VS_VERSION_INFO VERSIONINFO - FILEVERSION 1,0,0,1 - PRODUCTVERSION 1,0,0,1 - FILEFLAGSMASK 0x3fL -#ifdef _DEBUG - FILEFLAGS 0x1L -#else - FILEFLAGS 0x0L -#endif - FILEOS 0x4L - FILETYPE 0x1L - FILESUBTYPE 0x0L -BEGIN - BLOCK "StringFileInfo" - BEGIN - BLOCK "040904e4" - BEGIN - VALUE "CompanyName", "TODO: " - VALUE "FileDescription", "TODO: " - VALUE "FileVersion", "1.0.0.1" - VALUE "InternalName", "9524dma.exe" - VALUE "LegalCopyright", "TODO: (c) . All rights reserved." - VALUE "OriginalFilename", "9524dma.exe" - VALUE "ProductName", "TODO: " - VALUE "ProductVersion", "1.0.0.1" - END - END - BLOCK "VarFileInfo" - BEGIN - VALUE "Translation", 0x409, 1252 - END -END - - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog Info -// - -IDD_CARDID_DIALOG DLGINIT -BEGIN - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0030, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0031, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0032, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0033, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0034, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0035, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0036, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0037, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0038, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0039, - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3031, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3131, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3231, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3331, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3431, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3531, "\000" - 0 -END - -IDD_9524DMA_DIALOG DLGINIT -BEGIN - IDC_COMBO_SCANCHAN, 0x403, 8, 0 -0x4843, 0x7e30, 0x4843, 0x0031, - IDC_COMBO_SCANCHAN, 0x403, 8, 0 -0x4843, 0x7e30, 0x4843, 0x0032, - IDC_COMBO_SCANCHAN, 0x403, 8, 0 -0x4843, 0x7e30, 0x4843, 0x0033, - IDC_COMBO_SAMPLE_RATE, 0x403, 18, 0 -0x3950, 0x3235, 0x5f34, 0x4441, 0x5f43, 0x3033, 0x5f4b, 0x5053, 0x0053, - - IDC_COMBO_SAMPLE_RATE, 0x403, 18, 0 -0x3950, 0x3235, 0x5f34, 0x4441, 0x5f43, 0x3531, 0x5f4b, 0x5053, 0x0053, - - IDC_COMBO_SAMPLE_RATE, 0x403, 18, 0 -0x3950, 0x3235, 0x5f34, 0x4441, 0x5f43, 0x4b37, 0x5f35, 0x5053, 0x0053, - - IDC_COMBO_SAMPLE_RATE, 0x403, 19, 0 -0x3950, 0x3235, 0x5f34, 0x4441, 0x5f43, 0x4b33, 0x3537, 0x535f, 0x5350, -"\000" - IDC_COMBO_SAMPLE_RATE, 0x403, 17, 0 -0x3950, 0x3235, 0x5f34, 0x4441, 0x5f43, 0x4b32, 0x535f, 0x5350, "\000" - IDC_COMBO_SAMPLE_RATE, 0x403, 17, 0 -0x3950, 0x3235, 0x5f34, 0x4441, 0x5f43, 0x4b31, 0x535f, 0x5350, "\000" - IDC_COMBO_SAMPLE_RATE, 0x403, 18, 0 -0x3950, 0x3235, 0x5f34, 0x4441, 0x5f43, 0x3035, 0x5f30, 0x5053, 0x0053, - - IDC_COMBO_SAMPLE_RATE, 0x403, 18, 0 -0x3950, 0x3235, 0x5f34, 0x4441, 0x5f43, 0x3031, 0x5f30, 0x5053, 0x0053, - - IDC_COMBO_SAMPLE_RATE, 0x403, 17, 0 -0x3950, 0x3235, 0x5f34, 0x4441, 0x5f43, 0x3036, 0x535f, 0x5350, "\000" - IDC_COMBO_SAMPLE_RATE, 0x403, 17, 0 -0x3950, 0x3235, 0x5f34, 0x4441, 0x5f43, 0x3035, 0x535f, 0x5350, "\000" - IDC_COMBO_SAMPLE_RATE, 0x403, 17, 0 -0x3950, 0x3235, 0x5f34, 0x4441, 0x5f43, 0x3033, 0x535f, 0x5350, "\000" - IDC_COMBO_SAMPLE_RATE, 0x403, 17, 0 -0x3950, 0x3235, 0x5f34, 0x4441, 0x5f43, 0x3532, 0x535f, 0x5350, "\000" - IDC_COMBO_SAMPLE_RATE, 0x403, 17, 0 -0x3950, 0x3235, 0x5f34, 0x4441, 0x5f43, 0x3531, 0x535f, 0x5350, "\000" - IDC_COMBO_SAMPLE_RATE, 0x403, 17, 0 -0x3950, 0x3235, 0x5f34, 0x4441, 0x5f43, 0x3031, 0x535f, 0x5350, "\000" - IDC_COMBO_SAMPLE_RATE, 0x403, 16, 0 -0x3950, 0x3235, 0x5f34, 0x4441, 0x5f43, 0x5f35, 0x5053, 0x0053, - IDC_COMBO_SAMPLE_RATE, 0x403, 18, 0 -0x3950, 0x3235, 0x5f34, 0x4441, 0x5f43, 0x5232, 0x5f35, 0x5053, 0x0053, - - 0 -END - - -///////////////////////////////////////////////////////////////////////////// -// -// Bitmap -// - -IDB_BITMAP_SET1 BITMAP "res\\ch_set1.bmp" -IDB_BITMAP_SET2 BITMAP "res\\ch_set2.bmp" - -///////////////////////////////////////////////////////////////////////////// -// -// String Table -// - -STRINGTABLE -BEGIN - IDS_ABOUTBOX "&About 9524dma..." -END - -#endif // English (U.S.) resources -///////////////////////////////////////////////////////////////////////////// - - - -#ifndef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 3 resource. -// -#define _AFX_NO_SPLITTER_RESOURCES -#define _AFX_NO_OLE_RESOURCES -#define _AFX_NO_TRACKER_RESOURCES -#define _AFX_NO_PROPERTY_RESOURCES - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -LANGUAGE 9, 1 -#pragma code_page(1252) -#include "res\My9524dma.rc2" // non-Microsoft Visual C++ edited resources -#include "afxres.rc" // Standard components -#endif - -///////////////////////////////////////////////////////////////////////////// -#endif // not APSTUDIO_INVOKED - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524AI_ContScans/9524dma.sln b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524AI_ContScans/9524dma.sln deleted file mode 100644 index b798539..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524AI_ContScans/9524dma.sln +++ /dev/null @@ -1,20 +0,0 @@ - -Microsoft Visual Studio Solution File, Format Version 10.00 -# Visual Studio 2008 -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "9524dma", "9524dma.vcproj", "{702163FB-B6DF-4EF5-9491-FC54D71509BC}" -EndProject -Global - GlobalSection(SolutionConfigurationPlatforms) = preSolution - Debug|x64 = Debug|x64 - Release|x64 = Release|x64 - EndGlobalSection - GlobalSection(ProjectConfigurationPlatforms) = postSolution - {702163FB-B6DF-4EF5-9491-FC54D71509BC}.Debug|x64.ActiveCfg = Debug|x64 - {702163FB-B6DF-4EF5-9491-FC54D71509BC}.Debug|x64.Build.0 = Debug|x64 - {702163FB-B6DF-4EF5-9491-FC54D71509BC}.Release|x64.ActiveCfg = Release|x64 - {702163FB-B6DF-4EF5-9491-FC54D71509BC}.Release|x64.Build.0 = Release|x64 - EndGlobalSection - GlobalSection(SolutionProperties) = preSolution - HideSolutionNode = FALSE - EndGlobalSection -EndGlobal diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524AI_ContScans/9524dma.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524AI_ContScans/9524dma.suo deleted file mode 100644 index edca217..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524AI_ContScans/9524dma.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524AI_ContScans/9524dma.vcproj b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524AI_ContScans/9524dma.vcproj deleted file mode 100644 index a68bb8e..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524AI_ContScans/9524dma.vcproj +++ /dev/null @@ -1,294 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524AI_ContScans/9524dmaDlg.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524AI_ContScans/9524dmaDlg.cpp deleted file mode 100644 index 480932d..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524AI_ContScans/9524dmaDlg.cpp +++ /dev/null @@ -1,544 +0,0 @@ - -// 9524dmaDlg.cpp : implementation file -// - -#include "stdafx.h" -#include "9524dma.h" -#include "9524dmaDlg.h" - -#ifdef _DEBUG -#define new DEBUG_NEW -#endif - -CRect plotRect; - -// CAboutDlg dialog used for App About - -class CAboutDlg : public CDialog -{ -public: - CAboutDlg(); - -// Dialog Data - enum { IDD = IDD_ABOUTBOX }; - - protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - -// Implementation -protected: - DECLARE_MESSAGE_MAP() -}; - -CAboutDlg::CAboutDlg() : CDialog(CAboutDlg::IDD) -{ -} - -void CAboutDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); -} - -BEGIN_MESSAGE_MAP(CAboutDlg, CDialog) -END_MESSAGE_MAP() - - -// C9524dmaDlg dialog - - -C9524dmaDlg::C9524dmaDlg(I16 hCard, CWnd* pParent /*=NULL*/) - : CDialog(C9524dmaDlg::IDD, pParent) -{ - m_hIcon = AfxGetApp()->LoadIcon(IDR_MAINFRAME); - - n_PlotWidth = n_PlotHeight = -1; - OnBrush = OffBrush = NULL; - - m_hCard = hCard; - m_nTimer = -1; - - m_wRange = AD_B_10_V; - - max_range = 10.0; - min_range = -10.0; - - m_wXMode = P9524_AI_XFER_DMA; - m_dwSampRate = P9524_ADC_30K_SPS; - w_mGroup = P9524_AI_GP_Group; - m_wScanChans = P9524_AI_GP_CH3; -} - -void C9524dmaDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); - DDX_Control(pDX, IDC_COMBO_SCANCHAN, m_cbScanChans); - DDX_Control(pDX, IDC_COMBO_SAMPLE_RATE, m_cbSampRate); -} - -BEGIN_MESSAGE_MAP(C9524dmaDlg, CDialog) - ON_WM_SYSCOMMAND() - ON_WM_PAINT() - ON_WM_QUERYDRAGICON() - //}}AFX_MSG_MAP - ON_WM_DESTROY() - ON_CBN_SELCHANGE(IDC_COMBO_SCANCHAN, &C9524dmaDlg::OnScanChanSelchange) - ON_BN_CLICKED(IDC_BT_START, &C9524dmaDlg::OnStart) - ON_WM_TIMER() - ON_CBN_SELCHANGE(IDC_COMBO_SAMPLE_RATE, &C9524dmaDlg::OnSampRateSelchange) -END_MESSAGE_MAP() - - -// C9524dmaDlg message handlers - -BOOL C9524dmaDlg::OnInitDialog() -{ - CDialog::OnInitDialog(); - - // Add "About..." menu item to system menu. - - // IDM_ABOUTBOX must be in the system command range. - ASSERT((IDM_ABOUTBOX & 0xFFF0) == IDM_ABOUTBOX); - ASSERT(IDM_ABOUTBOX < 0xF000); - - CMenu* pSysMenu = GetSystemMenu(FALSE); - if (pSysMenu != NULL) - { - BOOL bNameValid; - CString strAboutMenu; - bNameValid = strAboutMenu.LoadString(IDS_ABOUTBOX); - ASSERT(bNameValid); - if (!strAboutMenu.IsEmpty()) - { - pSysMenu->AppendMenu(MF_SEPARATOR); - pSysMenu->AppendMenu(MF_STRING, IDM_ABOUTBOX, strAboutMenu); - } - } - - // Set the icon for this dialog. The framework does this automatically - // when the application's main window is not a dialog - SetIcon(m_hIcon, TRUE); // Set big icon - SetIcon(m_hIcon, FALSE); // Set small icon - - // TODO: Add extra initialization here - x_divider = 5; y_divider = 4; - - OnBrush = CreateSolidBrush( RGB(255,0,0) ); - OffBrush = CreateSolidBrush( RGB(125,0,0) ); - - RedPen.CreatePen( PS_SOLID, 1, RGB(255,0,0)); - GreenPen.CreatePen( PS_SOLID, 1, RGB(0,255,0)); - YellowPen.CreatePen( PS_SOLID, 1, RGB(255,255,0)); - BluePen.CreatePen( PS_SOLID, 1, RGB(0,0,255)); - - if( n_PlotWidth == -1 && n_PlotHeight == -1 ) - { - ((CWnd*)GetDlgItem(IDC_STATIC_DRAW))->GetWindowRect(&plotRect); - ScreenToClient(&plotRect); - - n_PlotWidth = min( plotRect.Width(), 512); - n_PlotHeight = plotRect.Height() - 10; - } - - // set the default SampleRate - m_cbSampRate.SetCurSel( 0 ); - m_cbScanChans.SetCurSel( 2 ); - - return TRUE; // return TRUE unless you set the focus to a control -} - -void C9524dmaDlg::OnSysCommand(UINT nID, LPARAM lParam) -{ - if ((nID & 0xFFF0) == IDM_ABOUTBOX) - { - CAboutDlg dlgAbout; - dlgAbout.DoModal(); - } - else - { - CDialog::OnSysCommand(nID, lParam); - } -} - -// If you add a minimize button to your dialog, you will need the code below -// to draw the icon. For MFC applications using the document/view model, -// this is automatically done for you by the framework. - -void C9524dmaDlg::OnPaint() -{ - if (IsIconic()) - { - CPaintDC dc(this); // device context for painting - - SendMessage(WM_ICONERASEBKGND, reinterpret_cast(dc.GetSafeHdc()), 0); - - // Center icon in client rectangle - int cxIcon = GetSystemMetrics(SM_CXICON); - int cyIcon = GetSystemMetrics(SM_CYICON); - CRect rect; - GetClientRect(&rect); - int x = (rect.Width() - cxIcon + 1) / 2; - int y = (rect.Height() - cyIcon + 1) / 2; - - // Draw the icon - dc.DrawIcon(x, y, m_hIcon); - } - else - { - redraw_display_area(); - CDialog::OnPaint(); - } -} - -// The system calls this function to obtain the cursor to display while the user drags -// the minimized window. -HCURSOR C9524dmaDlg::OnQueryDragIcon() -{ - return static_cast(m_hIcon); -} - - -void C9524dmaDlg::redraw_display_area(void) -{ - CPen *oldPen; - - int oldMode; - COLORREF oldColor; - - CString y_lable; - - CPen minor_tick( PS_SOLID,1,RGB(132,130,132) ); -// CPen y_grid( PS_SOLID,1,RGB(206,203,132) ); - - int i, x_intv, y_intv; -// long total_sec; - - CClientDC dc_plot(this); - - // draw the base-line for x-y axises - oldPen = (CPen *)dc_plot.SelectStockObject(BLACK_PEN); - - // redraw the background - dc_plot.FillSolidRect( plotRect, RGB(0,0,0) ); - - // Re-Draw the AREA for Y-Lable - { - CBrush DIALOG_BRUSH; - CRect redraw_area, full_client; - - GetClientRect(&full_client); - ScreenToClient(&full_client); - - redraw_area.left = full_client.left; - redraw_area.top = plotRect.top - 5; - redraw_area.right = plotRect.left - 3; - redraw_area.bottom = plotRect.bottom + 10; - - DIALOG_BRUSH.CreateSysColorBrush( COLOR_3DFACE ); - - dc_plot.FillRect( redraw_area, &DIALOG_BRUSH ); - - DIALOG_BRUSH.DeleteObject(); - } - - dc_plot.MoveTo( plotRect.left - 3, plotRect.top ); - dc_plot.LineTo( plotRect.left - 3, plotRect.bottom ); - - // calculate the interval for tick/grid - y_intv = (plotRect.Height() - 10) /y_divider; - x_intv = plotRect.Width()/x_divider; - - - // set the color for tick - oldColor = dc_plot.SetTextColor( RGB(0,0,0) ); - oldMode = dc_plot.SetBkMode( TRANSPARENT ); - - for( i=0; i<= y_divider; i++ ) - { - CString tick_str; - CRect tmp_rect, tick_rect; - - // draw the tick for y-axis - dc_plot.MoveTo( plotRect.left -12, plotRect.bottom -5 - (i*y_intv) ); - dc_plot.LineTo( plotRect.left -3, plotRect.bottom -5 - (i*y_intv) ); - - tick_str.Format( _T("%.1f"), ( ((max_range-min_range)/y_divider) * i)+min_range ); - - // calculate the rectangle for text - dc_plot.DrawText( tick_str, &tmp_rect, DT_CALCRECT|DT_SINGLELINE ); - tick_rect.right = plotRect.left -14; - tick_rect.left = tick_rect.right - tmp_rect.Width(); - tick_rect.top = plotRect.bottom -5 - (i*y_intv) - tmp_rect.Height()/2; - tick_rect.bottom = tick_rect.top + tmp_rect.Height(); - - // draw the text - dc_plot.DrawText( tick_str, &tick_rect, DT_SINGLELINE|DT_RIGHT ); - - } - - // draw the minor_tick for Y axises - dc_plot.SelectObject(&minor_tick); - for( i=0; i< y_divider; i++ ) - { - dc_plot.MoveTo( plotRect.left -9, plotRect.bottom -5 - (i*y_intv) - y_intv/2 ); - dc_plot.LineTo( plotRect.left -4, plotRect.bottom -5 - (i*y_intv) - y_intv/2 ); - } - - dc_plot.SetTextColor( oldColor ); - dc_plot.SetBkMode( oldMode ); - dc_plot.SelectObject( oldPen ); -} - -void C9524dmaDlg::OnDestroy() -{ - CDialog::OnDestroy(); - - // TODO: Add your message handler code here - if( m_nTimer != -1 ) - { - KillTimer( m_nTimer ); - m_nTimer = -1; - } - - - if( OnBrush != NULL ) - ::DeleteObject( OnBrush ); - - if( OffBrush != NULL ) - ::DeleteObject( OffBrush ); - - RedPen.DeleteObject(); - GreenPen.DeleteObject(); - YellowPen.DeleteObject(); - BluePen.DeleteObject(); -} - -void C9524dmaDlg::OnScanChanSelchange() -{ - // TODO: Add your control notification handler code here - int nIndex; - - nIndex = m_cbScanChans.GetCurSel(); - - switch( nIndex ) - { - case 0: - m_wScanChans = P9524_AI_GP_CH1; - break; - case 1: - m_wScanChans = P9524_AI_GP_CH2; - break; - case 2: - m_wScanChans = P9524_AI_GP_CH3; - break; - } - -} - -void C9524dmaDlg::OnStart() -{ - // TODO: Add your control notification handler code here - CString strTemp; - I16 err; - F64 fActualRate; - - GetDlgItem( IDC_BT_START )->EnableWindow(FALSE); - - // allocate a memory for user DMA buffer - memset( m_AIBuf, '\0', READCOUNT * sizeof(U32) ); - - - m_oldY[0] = m_oldY[1] = m_oldY[2] = m_oldY[3] = -1; - m_oldX[0] = m_oldX[1] = m_oldX[2] = m_oldX[3] = -1; - - /*Disable Double Buffer Mode*/ - err = AI_AsyncDblBufferMode(m_hCard, 0); // single-buffer mode - if (err!=0) - { - strTemp.Format( TEXT("AI_DblBufferMode error=%d"), err); - AfxMessageBox( strTemp ); - return; - } - - err = AI_ContBufferSetup (m_hCard, m_AIBuf, READCOUNT, &m_wBufferID); - if (err!=0) - { - strTemp.Format( TEXT("AI_ContBufferSetup error=%d"), err); - AfxMessageBox( strTemp ); - return; - } - - - /*Configure AI*/ - err = AI_9524_Config(m_hCard, w_mGroup, m_wXMode, 0, 0, 0); - if (err!=0) - { - strTemp.Format( TEXT("AI_9524_Config error=%d"), err); - AfxMessageBox( strTemp ); - return; - } - - err = AI_ContScanChannels(m_hCard, m_wScanChans, m_wRange, &m_wBufferID, READCOUNT, (F64)m_dwSampRate, ASYNCH_OP); - if (err!=0) - { - strTemp.Format( TEXT("AI_ContScanChannels error=%d"), err); - AfxMessageBox( strTemp ); - return; - } - - err = GetActualRate_9524(m_hCard, w_mGroup, (F64)m_dwSampRate, &fActualRate); - if (err!=0) - { - strTemp.Format( TEXT("GetActualRate_9524 error=%d"), err); - AfxMessageBox( strTemp ); - return; - } - else - { - strTemp.Format( TEXT("PCI-9524 AI Channel Read (P9524_AI_GP_Group) Actual Rate: %f SPS"), fActualRate); - SetWindowText( strTemp ); - } - - m_nTimer = SetTimer( 1, 20, NULL ); - -} - -int C9524dmaDlg::display_buffer_data(U32* pBuf) -{ - CClientDC dc_plot(this); - int nDraw_Origin_Y; - int cur_channel; - - int newY = -1; - int newX = -1; - U32 index; - I32 ai_data, nTemp; - - dc_plot.FillSolidRect( plotRect, RGB(0,0,0) ); - - nDraw_Origin_Y = ( plotRect.bottom - 5 ) - n_PlotHeight/2; - - for( index=0; index> 4) & 0x0F); - ai_data = (nTemp >> 8); - - newY = (int)( nDraw_Origin_Y - ((n_PlotHeight * ai_data) >> 24) ); // ( n_PlotHeight * ai_data / 16777216) ); // ( (n_PlotHeight/2) * ai_data/8388608 ) ); - newX = (int)( index*n_PlotWidth/READCOUNT + plotRect.left ); - - switch(cur_channel) - { - case 0: - dc_plot.SelectObject(&YellowPen); - break; - case 1: - dc_plot.SelectObject(&GreenPen); - break; - case 2: - dc_plot.SelectObject(&BluePen); - break; - case 3: - dc_plot.SelectObject(&RedPen); - break; - } - - - if ( m_oldX[cur_channel] == -1 ) - { - dc_plot.MoveTo( newX, newY ); - } - else - { - dc_plot.MoveTo( m_oldX[cur_channel], m_oldY[cur_channel] ); - dc_plot.LineTo( newX, newY ); - } - - m_oldX[cur_channel] = newX; - m_oldY[cur_channel] = newY; - } - - return 0; -} - -void C9524dmaDlg::OnTimer(UINT_PTR nIDEvent) -{ - // TODO: Add your message handler code here and/or call default - BOOLEAN fstop; - U32 count; - - AI_AsyncCheck(m_hCard, &fstop, &count); - - if( fstop == TRUE ) - { - AI_AsyncClear(m_hCard, &count); - - KillTimer( m_nTimer ); - m_nTimer = -1; - - display_buffer_data( m_AIBuf ); - AI_ContBufferReset(m_hCard); - - GetDlgItem( IDC_BT_START )->EnableWindow(TRUE); - } - - CDialog::OnTimer(nIDEvent); -} - -void C9524dmaDlg::OnSampRateSelchange() -{ - // TODO: Add your control notification handler code here - int nIndex; - - nIndex = m_cbSampRate.GetCurSel(); - switch( nIndex ) - { - case 0: - m_dwSampRate = P9524_ADC_30K_SPS; - break; - case 1: - m_dwSampRate = P9524_ADC_15K_SPS; - break; - case 2: - m_dwSampRate = P9524_ADC_7K5_SPS; - break; - case 3: - m_dwSampRate = P9524_ADC_3K75_SPS; - break; - case 4: - m_dwSampRate = P9524_ADC_2K_SPS; - break; - case 5: - m_dwSampRate = P9524_ADC_1K_SPS; - break; - case 6: - m_dwSampRate = P9524_ADC_500_SPS; - break; - case 7: - m_dwSampRate = P9524_ADC_100_SPS; - break; - case 8: - m_dwSampRate = P9524_ADC_60_SPS; - break; - case 9: - m_dwSampRate = P9524_ADC_50_SPS; - break; - case 10: - m_dwSampRate = P9524_ADC_30_SPS; - break; - case 11: - m_dwSampRate = P9524_ADC_25_SPS; - break; - case 12: - m_dwSampRate = P9524_ADC_15_SPS; - break; - case 13: - m_dwSampRate = P9524_ADC_10_SPS; - break; - case 14: - m_dwSampRate = P9524_ADC_5_SPS; - break; - case 15: - m_dwSampRate = P9524_ADC_2R5_SPS; - break; - } -} diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524AI_ContScans/9524dmaDlg.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524AI_ContScans/9524dmaDlg.h deleted file mode 100644 index 6ede0bd..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524AI_ContScans/9524dmaDlg.h +++ /dev/null @@ -1,74 +0,0 @@ - -// 9524dmaDlg.h : header file -#pragma once -#include "afxcmn.h" -#include "afxwin.h" - -#include "Dask64.h" - -#define READCOUNT 4096 - - -// C9524dmaDlg dialog -class C9524dmaDlg : public CDialog -{ -// Construction -public: - C9524dmaDlg(I16 hCard, CWnd* pParent = NULL); // standard constructor - -// Dialog Data - enum { IDD = IDD_9524DMA_DIALOG }; - - protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - - -// Implementation -protected: - HICON m_hIcon; - UINT_PTR m_nTimer; - I16 m_hCard; - U32 m_dwSampRate; - U16 m_wScanChans; - U16 m_wBufferID; - U32 m_AIBuf[READCOUNT]; - U16 m_wRange; - U16 m_wXMode; - U16 w_mGroup; - int m_oldY[4]; - int m_oldX[4]; - - // Generated message map functions - virtual BOOL OnInitDialog(); - afx_msg void OnSysCommand(UINT nID, LPARAM lParam); - afx_msg void OnPaint(); - afx_msg HCURSOR OnQueryDragIcon(); - DECLARE_MESSAGE_MAP() - -public: - WORD max_val; - WORD min_val; - double max_range; - double min_range; - int n_PlotWidth; - int n_PlotHeight; - int y_divider; - int x_divider; - int m_DisplayScale; - HBRUSH OnBrush; - HBRUSH OffBrush; - CPen RedPen; - CPen GreenPen; - CPen YellowPen; - CPen BluePen; - void redraw_display_area(void); - afx_msg void OnDestroy(); - CComboBox m_cbScanChans; - afx_msg void OnVScroll(UINT nSBCode, UINT nPos, CScrollBar* pScrollBar); - afx_msg void OnScanChanSelchange(); - afx_msg void OnStart(); - int display_buffer_data(U32* pBuf); - afx_msg void OnTimer(UINT_PTR nIDEvent); - CComboBox m_cbSampRate; - afx_msg void OnSampRateSelchange(); -}; diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524AI_ContScans/CardIDDlg.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524AI_ContScans/CardIDDlg.cpp deleted file mode 100644 index c58d3ac..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524AI_ContScans/CardIDDlg.cpp +++ /dev/null @@ -1,64 +0,0 @@ -// CardIDDlg.cpp : implementation file -// -#include "stdafx.h" -#include "9524dma.h" -#include "9524dmaDlg.h" -#include "CardIDDlg.h" - -// CCardIDDlg dialog - -IMPLEMENT_DYNAMIC(CCardIDDlg, CDialog) - -CCardIDDlg::CCardIDDlg(int nCardIdx, CWnd* pParent /*=NULL*/) - : CDialog(CCardIDDlg::IDD, pParent) -{ - m_nCardIdx = nCardIdx; -} - -CCardIDDlg::~CCardIDDlg() -{ -} - -void CCardIDDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); - DDX_Control(pDX, IDC_COMBO_CARDID, m_cbCardID); -} - - -BEGIN_MESSAGE_MAP(CCardIDDlg, CDialog) -// ON_CBN_SELCHANGE(IDC_COMBO_CARDID, &CCardIDDlg::OnCbnSelchangeComboCardid) -ON_BN_CLICKED(IDOK, &CCardIDDlg::OnBnClickedOk) -//ON_WM_CTLCOLOR() -END_MESSAGE_MAP() - - -// CCardIDDlg message handlers - - -void CCardIDDlg::OnBnClickedOk() -{ - // TODO: Add your control notification handler code here - -// UpdateData(TRUE); - m_nCardIdx = m_cbCardID.GetCurSel(); - - OnOK(); -} - -BOOL CCardIDDlg::OnInitDialog() -{ - CDialog::OnInitDialog(); - - // TODO: Add extra initialization here - m_cbCardID.SetCurSel( m_nCardIdx ); - - return TRUE; // return TRUE unless you set the focus to a control - // EXCEPTION: OCX Property Pages should return FALSE -} - -// the function to get the selected CardID -int CCardIDDlg::GetCardID(void) -{ - return m_nCardIdx; -} diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524AI_ContScans/CardIDDlg.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524AI_ContScans/CardIDDlg.h deleted file mode 100644 index 9c02c58..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524AI_ContScans/CardIDDlg.h +++ /dev/null @@ -1,32 +0,0 @@ -#pragma once -#include "afxwin.h" - -#include "Dask64.h" - -// CCardIDDlg dialog - -class CCardIDDlg : public CDialog -{ - DECLARE_DYNAMIC(CCardIDDlg) - -public: - CCardIDDlg(int nCardIdx, CWnd* pParent = NULL); // standard constructor - virtual ~CCardIDDlg(); - -// Dialog Data - enum { IDD = IDD_CARDID_DIALOG }; - -protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - - DECLARE_MESSAGE_MAP() -public: - virtual BOOL OnInitDialog(); - afx_msg void OnBnClickedOk(); - // the setting of CardID ComboBox - int m_nCardIdx; - // the control of CardID ComboBox - CComboBox m_cbCardID; - // the function to get the selected CardID - int GetCardID(void); -}; diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524AI_ContScans/ReadMe.txt b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524AI_ContScans/ReadMe.txt deleted file mode 100644 index 4ed0830..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524AI_ContScans/ReadMe.txt +++ /dev/null @@ -1,93 +0,0 @@ -================================================================================ - MICROSOFT FOUNDATION CLASS LIBRARY : 9524dma Project Overview -=============================================================================== - -The application wizard has created this 9524dma application for -you. This application not only demonstrates the basics of using the Microsoft -Foundation Classes but is also a starting point for writing your application. - -This file contains a summary of what you will find in each of the files that -make up your 9524dma application. - -9524dma.vcproj - This is the main project file for VC++ projects generated using an application wizard. - It contains information about the version of Visual C++ that generated the file, and - information about the platforms, configurations, and project features selected with the - application wizard. - -9524dma.h - This is the main header file for the application. It includes other - project specific headers (including Resource.h) and declares the - C9524dmaApp application class. - -9524dma.cpp - This is the main application source file that contains the application - class C9524dmaApp. - -9524dma.rc - This is a listing of all of the Microsoft Windows resources that the - program uses. It includes the icons, bitmaps, and cursors that are stored - in the RES subdirectory. This file can be directly edited in Microsoft - Visual C++. Your project resources are in 1033. - -res\9524dma.ico - This is an icon file, which is used as the application's icon. This - icon is included by the main resource file 9524dma.rc. - -res\My9524dma.rc2 - This file contains resources that are not edited by Microsoft - Visual C++. You should place all resources not editable by - the resource editor in this file. - - -///////////////////////////////////////////////////////////////////////////// - -The application wizard creates one dialog class: - -9524dmaDlg.h, 9524dmaDlg.cpp - the dialog - These files contain your C9524dmaDlg class. This class defines - the behavior of your application's main dialog. The dialog's template is - in 9524dma.rc, which can be edited in Microsoft Visual C++. - - -///////////////////////////////////////////////////////////////////////////// - -Other Features: - -ActiveX Controls - The application includes support to use ActiveX controls. - -///////////////////////////////////////////////////////////////////////////// - -Other standard files: - -StdAfx.h, StdAfx.cpp - These files are used to build a precompiled header (PCH) file - named 9524dma.pch and a precompiled types file named StdAfx.obj. - -Resource.h - This is the standard header file, which defines new resource IDs. - Microsoft Visual C++ reads and updates this file. - -9524dma.manifest - Application manifest files are used by Windows XP to describe an applications - dependency on specific versions of Side-by-Side assemblies. The loader uses this - information to load the appropriate assembly from the assembly cache or private - from the application. The Application manifest maybe included for redistribution - as an external .manifest file that is installed in the same folder as the application - executable or it may be included in the executable in the form of a resource. -///////////////////////////////////////////////////////////////////////////// - -Other notes: - -The application wizard uses "TODO:" to indicate parts of the source code you -should add to or customize. - -If your application uses MFC in a shared DLL, you will need -to redistribute the MFC DLLs. If your application is in a language -other than the operating system's locale, you will also have to -redistribute the corresponding localized resources MFC90XXX.DLL. -For more information on both of these topics, please see the section on -redistributing Visual C++ applications in MSDN documentation. - -///////////////////////////////////////////////////////////////////////////// diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524AI_ContScans/res/9524dma.ico b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524AI_ContScans/res/9524dma.ico deleted file mode 100644 index d56fbcd..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524AI_ContScans/res/9524dma.ico and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524AI_ContScans/res/My9524dma.rc2 b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524AI_ContScans/res/My9524dma.rc2 deleted file mode 100644 index 383cde2..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524AI_ContScans/res/My9524dma.rc2 +++ /dev/null @@ -1,13 +0,0 @@ -// -// My9111int.RC2 - resources Microsoft Visual C++ does not edit directly -// - -#ifdef APSTUDIO_INVOKED -#error this file is not editable by Microsoft Visual C++ -#endif //APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// Add manually edited resources here... - -///////////////////////////////////////////////////////////////////////////// diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524AI_ContScans/res/ch_set1.bmp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524AI_ContScans/res/ch_set1.bmp deleted file mode 100644 index f2374ed..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524AI_ContScans/res/ch_set1.bmp and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524AI_ContScans/res/ch_set2.bmp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524AI_ContScans/res/ch_set2.bmp deleted file mode 100644 index 32d0915..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524AI_ContScans/res/ch_set2.bmp and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524AI_ContScans/resource.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524AI_ContScans/resource.h deleted file mode 100644 index 3b0c8a4..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524AI_ContScans/resource.h +++ /dev/null @@ -1,32 +0,0 @@ -//{{NO_DEPENDENCIES}} -// Microsoft Visual C++ generated include file. -// Used by 9524dma.rc -// -#define IDM_ABOUTBOX 0x0010 -#define IDD_ABOUTBOX 100 -#define IDS_ABOUTBOX 101 -#define IDD_9524DMA_DIALOG 102 -#define IDR_MAINFRAME 128 -#define IDD_CARDID_DIALOG 129 -#define IDB_BITMAP_SET1 131 -#define IDB_BITMAP_SET2 132 -#define IDC_STATIC_DRAW 1000 -#define IDC_COMBO_CARDID 1001 -#define IDC_COMBO_SCANCHAN 1001 -#define IDC_BT_START 1002 -#define IDC_EDIT_SCAN_ITERVAL 1003 -#define IDC_SCROLLBAR_RATE 1006 -#define IDC_COMBO_SAMPLE_RATE 1010 -#define IDC_STATIC_01 1014 -#define IDC_STATIC_2 1015 - -// Next default values for new objects -// -#ifdef APSTUDIO_INVOKED -#ifndef APSTUDIO_READONLY_SYMBOLS -#define _APS_NEXT_RESOURCE_VALUE 134 -#define _APS_NEXT_COMMAND_VALUE 32771 -#define _APS_NEXT_CONTROL_VALUE 1003 -#define _APS_NEXT_SYMED_VALUE 101 -#endif -#endif diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524AI_ContScans/stdafx.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524AI_ContScans/stdafx.cpp deleted file mode 100644 index a27df68..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524AI_ContScans/stdafx.cpp +++ /dev/null @@ -1,8 +0,0 @@ - -// stdafx.cpp : source file that includes just the standard includes -// 9223dma.pch will be the pre-compiled header -// stdafx.obj will contain the pre-compiled type information - -#include "stdafx.h" - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524AI_ContScans/stdafx.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524AI_ContScans/stdafx.h deleted file mode 100644 index 12123e2..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524AI_ContScans/stdafx.h +++ /dev/null @@ -1,60 +0,0 @@ - -// stdafx.h : include file for standard system include files, -// or project specific include files that are used frequently, -// but are changed infrequently - -#pragma once - -#ifndef _SECURE_ATL -#define _SECURE_ATL 1 -#endif - -#ifndef VC_EXTRALEAN -#define VC_EXTRALEAN // Exclude rarely-used stuff from Windows headers -#endif - -#include "targetver.h" - -#define _ATL_CSTRING_EXPLICIT_CONSTRUCTORS // some CString constructors will be explicit - -// turns off MFC's hiding of some common and often safely ignored warning messages -#define _AFX_ALL_WARNINGS - -#include // MFC core and standard components -#include // MFC extensions - - -#include // MFC Automation classes - - - -#ifndef _AFX_NO_OLE_SUPPORT -#include // MFC support for Internet Explorer 4 Common Controls -#endif -#ifndef _AFX_NO_AFXCMN_SUPPORT -#include // MFC support for Windows Common Controls -#endif // _AFX_NO_AFXCMN_SUPPORT - -#include // MFC support for ribbons and control bars - - - - - - - - - -#ifdef _UNICODE -#if defined _M_IX86 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='x86' publicKeyToken='6595b64144ccf1df' language='*'\"") -#elif defined _M_IA64 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='ia64' publicKeyToken='6595b64144ccf1df' language='*'\"") -#elif defined _M_X64 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='amd64' publicKeyToken='6595b64144ccf1df' language='*'\"") -#else -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='*' publicKeyToken='6595b64144ccf1df' language='*'\"") -#endif -#endif - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524AI_ContScans/targetver.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524AI_ContScans/targetver.h deleted file mode 100644 index 11730d5..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524AI_ContScans/targetver.h +++ /dev/null @@ -1,26 +0,0 @@ - -#pragma once - -// The following macros define the minimum required platform. The minimum required platform -// is the earliest version of Windows, Internet Explorer etc. that has the necessary features to run -// your application. The macros work by enabling all features available on platform versions up to and -// including the version specified. - -// Modify the following defines if you have to target a platform prior to the ones specified below. -// Refer to MSDN for the latest info on corresponding values for different platforms. -#ifndef WINVER // Specifies that the minimum required platform is Windows Vista. -#define WINVER 0x0600 // Change this to the appropriate value to target other versions of Windows. -#endif - -#ifndef _WIN32_WINNT // Specifies that the minimum required platform is Windows Vista. -#define _WIN32_WINNT 0x0600 // Change this to the appropriate value to target other versions of Windows. -#endif - -#ifndef _WIN32_WINDOWS // Specifies that the minimum required platform is Windows 98. -#define _WIN32_WINDOWS 0x0410 // Change this to the appropriate value to target Windows Me or later. -#endif - -#ifndef _WIN32_IE // Specifies that the minimum required platform is Internet Explorer 7.0. -#define _WIN32_IE 0x0700 // Change this to the appropriate value to target other versions of IE. -#endif - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524AI_ContScans_Dbf/9111DbInt.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524AI_ContScans_Dbf/9111DbInt.suo deleted file mode 100644 index 3fde864..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524AI_ContScans_Dbf/9111DbInt.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524AI_ContScans_Dbf/9111PostTg.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524AI_ContScans_Dbf/9111PostTg.suo deleted file mode 100644 index c59a833..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524AI_ContScans_Dbf/9111PostTg.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524AI_ContScans_Dbf/9111int.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524AI_ContScans_Dbf/9111int.suo deleted file mode 100644 index aaca7d8..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524AI_ContScans_Dbf/9111int.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524AI_ContScans_Dbf/9116cdma.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524AI_ContScans_Dbf/9116cdma.suo deleted file mode 100644 index df9f193..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524AI_ContScans_Dbf/9116cdma.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524AI_ContScans_Dbf/9118cdma.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524AI_ContScans_Dbf/9118cdma.suo deleted file mode 100644 index 9318437..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524AI_ContScans_Dbf/9118cdma.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524AI_ContScans_Dbf/9221cdma.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524AI_ContScans_Dbf/9221cdma.suo deleted file mode 100644 index 9cb61ca..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524AI_ContScans_Dbf/9221cdma.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524AI_ContScans_Dbf/9222cdma.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524AI_ContScans_Dbf/9222cdma.suo deleted file mode 100644 index 1ace763..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524AI_ContScans_Dbf/9222cdma.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524AI_ContScans_Dbf/9223cdma.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524AI_ContScans_Dbf/9223cdma.suo deleted file mode 100644 index 445a178..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524AI_ContScans_Dbf/9223cdma.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524AI_ContScans_Dbf/9524cdma.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524AI_ContScans_Dbf/9524cdma.cpp deleted file mode 100644 index 4dadb33..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524AI_ContScans_Dbf/9524cdma.cpp +++ /dev/null @@ -1,109 +0,0 @@ - -// 9524cdma.cpp : Defines the class behaviors for the application. -// - -#include "stdafx.h" -#include "9524cdma.h" -#include "9524cdmaDlg.h" -#include "CardIDDlg.h" - -#ifdef _DEBUG -#define new DEBUG_NEW -#endif - - -// C9524cdmaApp - -BEGIN_MESSAGE_MAP(C9524cdmaApp, CWinAppEx) - ON_COMMAND(ID_HELP, &CWinApp::OnHelp) -END_MESSAGE_MAP() - - -// C9524cdmaApp construction - -C9524cdmaApp::C9524cdmaApp() -{ - // TODO: add construction code here, - // Place all significant initialization in InitInstance -} - - -// The one and only C9524cdmaApp object - -C9524cdmaApp theApp; - - -// C9524cdmaApp initialization - -BOOL C9524cdmaApp::InitInstance() -{ - int nCardID = 0; - I16 hCard; - CString strTemp; - INT_PTR nResponse; - - // InitCommonControlsEx() is required on Windows XP if an application - // manifest specifies use of ComCtl32.dll version 6 or later to enable - // visual styles. Otherwise, any window creation will fail. - INITCOMMONCONTROLSEX InitCtrls; - InitCtrls.dwSize = sizeof(InitCtrls); - // Set this to include all the common control classes you want to use - // in your application. - InitCtrls.dwICC = ICC_WIN95_CLASSES; - InitCommonControlsEx(&InitCtrls); - - CWinAppEx::InitInstance(); - - AfxEnableControlContainer(); - - // Standard initialization - // If you are not using these features and wish to reduce the size - // of your final executable, you should remove from the following - // the specific initialization routines you do not need - // Change the registry key under which our settings are stored - // TODO: You should modify this string to be something appropriate - // such as the name of your company or organization - SetRegistryKey(_T("Local AppWizard-Generated Applications")); - - CCardIDDlg CardDlg( nCardID ); - - nResponse = CardDlg.DoModal(); - if (nResponse == IDOK) - { - nCardID = CardDlg.GetCardID(); - - if ((hCard=Register_Card(PCI_9524, nCardID)) < 0) - { - strTemp.Format( TEXT("Register_Card Error = %d"), hCard); - AfxMessageBox( strTemp ); - } - else - { - C9524cdmaDlg dlg(hCard); - m_pMainWnd = &dlg; - nResponse = dlg.DoModal(); - if (nResponse == IDOK) - { - // TODO: Place code here to handle when the dialog is - // dismissed with OK - } - else if (nResponse == IDCANCEL) - { - // TODO: Place code here to handle when the dialog is - // dismissed with Cancel - } - - if (hCard >= 0) Release_Card(hCard); - } - - } - else if (nResponse == IDCANCEL) - { - // TODO: Place code here to handle when the dialog is - // dismissed with Cancel - } - - // Since the dialog has been closed, return FALSE so that we exit the - // application, rather than start the application's message pump. - return FALSE; -} diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524AI_ContScans_Dbf/9524cdma.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524AI_ContScans_Dbf/9524cdma.h deleted file mode 100644 index ede67ea..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524AI_ContScans_Dbf/9524cdma.h +++ /dev/null @@ -1,34 +0,0 @@ - -// 9524cdma.h : main header file for the PROJECT_NAME application -// - -#pragma once - -#ifndef __AFXWIN_H__ - #error "include 'stdafx.h' before including this file for PCH" -#endif - -#include "resource.h" // main symbols - -#define AI_MODE_DMA 0 -#define AI_MODE_INT 1 - -// C9524cdmaApp: -// See 9524cdma.cpp for the implementation of this class -// - -class C9524cdmaApp : public CWinAppEx -{ -public: - C9524cdmaApp(); - -// Overrides - public: - virtual BOOL InitInstance(); - -// Implementation - - DECLARE_MESSAGE_MAP() -}; - -extern C9524cdmaApp theApp; \ No newline at end of file diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524AI_ContScans_Dbf/9524cdma.rc b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524AI_ContScans_Dbf/9524cdma.rc deleted file mode 100644 index 02702f0..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524AI_ContScans_Dbf/9524cdma.rc +++ /dev/null @@ -1,339 +0,0 @@ -// Microsoft Visual C++ generated resource script. -// -#include "resource.h" - -#define APSTUDIO_READONLY_SYMBOLS -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 2 resource. -// -#ifndef APSTUDIO_INVOKED -#include "targetver.h" -#endif -#include "afxres.h" - -///////////////////////////////////////////////////////////////////////////// -#undef APSTUDIO_READONLY_SYMBOLS - -///////////////////////////////////////////////////////////////////////////// -// Chinese (Taiwan) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_CHT) -#ifdef _WIN32 -LANGUAGE LANG_CHINESE, SUBLANG_CHINESE_TRADITIONAL -#pragma code_page(950) -#endif //_WIN32 - -#ifdef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// TEXTINCLUDE -// - -1 TEXTINCLUDE -BEGIN - "resource.h\0" -END - -2 TEXTINCLUDE -BEGIN - "#ifndef APSTUDIO_INVOKED\r\n" - "#include ""targetver.h""\r\n" - "#endif\r\n" - "#include ""afxres.h""\r\n" - "\0" -END - -3 TEXTINCLUDE -BEGIN - "#define _AFX_NO_SPLITTER_RESOURCES\r\n" - "#define _AFX_NO_OLE_RESOURCES\r\n" - "#define _AFX_NO_TRACKER_RESOURCES\r\n" - "#define _AFX_NO_PROPERTY_RESOURCES\r\n" - "\r\n" - "#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)\r\n" - "LANGUAGE 9, 1\r\n" - "#pragma code_page(1252)\r\n" - "#include ""res\\My9524cdma.rc2"" // non-Microsoft Visual C++ edited resources\r\n" - "#include ""afxres.rc"" // Standard components\r\n" - "#endif\r\n" - "\0" -END - -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// Icon -// - -// Icon with lowest ID value placed first to ensure application icon -// remains consistent on all systems. -IDR_MAINFRAME ICON "res\\9524cdma.ico" -#endif // Chinese (Taiwan) resources -///////////////////////////////////////////////////////////////////////////// - - -///////////////////////////////////////////////////////////////////////////// -// English (U.S.) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -#ifdef _WIN32 -LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US -#pragma code_page(1252) -#endif //_WIN32 - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog -// - -IDD_ABOUTBOX DIALOGEX 0, 0, 170, 62 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "About 9524cdma" -FONT 8, "MS Shell Dlg", 0, 0, 0x1 -BEGIN - ICON IDR_MAINFRAME,IDC_STATIC,14,14,21,20 - LTEXT "9524cdma, Version 1.0",IDC_STATIC,42,14,114,8,SS_NOPREFIX - LTEXT "Copyright (C) 2010",IDC_STATIC,42,26,114,8 - DEFPUSHBUTTON "OK",IDOK,113,41,50,14,WS_GROUP -END - -IDD_9524DMA_DIALOG DIALOGEX 0, 0, 365, 232 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU -EXSTYLE WS_EX_APPWINDOW -CAPTION "PCI-9524 Double-Buffered DMA " -FONT 8, "MS Shell Dlg", 0, 0, 0x1 -BEGIN - GROUPBOX "",IDC_STATIC_DRAW,45,9,248,161,NOT WS_VISIBLE - LTEXT "Range : +/- 10V",IDC_STATIC,299,129,52,15 - PUSHBUTTON "Start",IDC_BT_START,298,175,55,22 - PUSHBUTTON "Stop",IDC_BT_STOP,299,201,55,22 - LTEXT "Overrun :",IDC_STATIC,257,186,36,9 - EDITTEXT IDC_EDIT_OVERRUN,255,200,36,14,ES_AUTOHSCROLL | ES_READONLY - LTEXT "Sample rate :",IDC_STATIC,69,183,50,9 - COMBOBOX IDC_COMBO_SAMPLE_RATE,48,197,83,14,CBS_DROPDOWN | WS_VSCROLL | WS_TABSTOP - COMBOBOX IDC_COMBO_SCANCHAN,161,197,74,38,CBS_DROPDOWN | WS_VSCROLL | WS_TABSTOP - LTEXT "Read Channel :",IDC_STATIC,165,183,50,9 - CONTROL 131,IDC_STATIC,"Static",SS_BITMAP,337,29,9,44 - LTEXT "0",IDC_STATIC,325,29,10,11 - LTEXT "1",IDC_STATIC,325,40,10,11 - LTEXT "2",IDC_STATIC,325,51,10,11 - LTEXT "3",IDC_STATIC,325,63,10,11 -END - -IDD_CARDID_DIALOG DIALOGEX 0, 0, 174, 96 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "Card ID" -FONT 8, "MS Shell Dlg", 400, 0, 0x1 -BEGIN - COMBOBOX IDC_COMBO_CARDID,78,24,71,126,CBS_DROPDOWN | WS_VSCROLL | WS_TABSTOP - LTEXT "Card Number",IDC_STATIC_01,23,25,46,12 - PUSHBUTTON "OK",IDOK,22,60,58,19 - PUSHBUTTON "CANCEL",IDCANCEL,86,60,58,19 -END - - -///////////////////////////////////////////////////////////////////////////// -// -// Version -// - -VS_VERSION_INFO VERSIONINFO - FILEVERSION 1,0,0,1 - PRODUCTVERSION 1,0,0,1 - FILEFLAGSMASK 0x3fL -#ifdef _DEBUG - FILEFLAGS 0x1L -#else - FILEFLAGS 0x0L -#endif - FILEOS 0x4L - FILETYPE 0x1L - FILESUBTYPE 0x0L -BEGIN - BLOCK "StringFileInfo" - BEGIN - BLOCK "040904e4" - BEGIN - VALUE "CompanyName", "TODO: " - VALUE "FileDescription", "TODO: " - VALUE "FileVersion", "1.0.0.1" - VALUE "InternalName", "9524cdma.exe" - VALUE "LegalCopyright", "TODO: (c) . All rights reserved." - VALUE "OriginalFilename", "9524cdma.exe" - VALUE "ProductName", "TODO: " - VALUE "ProductVersion", "1.0.0.1" - END - END - BLOCK "VarFileInfo" - BEGIN - VALUE "Translation", 0x409, 1252 - END -END - - -///////////////////////////////////////////////////////////////////////////// -// -// DESIGNINFO -// - -#ifdef APSTUDIO_INVOKED -GUIDELINES DESIGNINFO -BEGIN - IDD_ABOUTBOX, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 163 - TOPMARGIN, 7 - BOTTOMMARGIN, 55 - END - - IDD_CARDID_DIALOG, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 167 - TOPMARGIN, 7 - BOTTOMMARGIN, 89 - END -END -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog Info -// - -IDD_CARDID_DIALOG DLGINIT -BEGIN - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0030, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0031, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0032, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0033, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0034, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0035, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0036, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0037, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0038, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0039, - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3031, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3131, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3231, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3331, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3431, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3531, "\000" - 0 -END - -IDD_9524DMA_DIALOG DLGINIT -BEGIN - IDC_COMBO_SAMPLE_RATE, 0x403, 18, 0 -0x3950, 0x3235, 0x5f34, 0x4441, 0x5f43, 0x3033, 0x5f4b, 0x5053, 0x0053, - - IDC_COMBO_SAMPLE_RATE, 0x403, 18, 0 -0x3950, 0x3235, 0x5f34, 0x4441, 0x5f43, 0x3531, 0x5f4b, 0x5053, 0x0053, - - IDC_COMBO_SAMPLE_RATE, 0x403, 18, 0 -0x3950, 0x3235, 0x5f34, 0x4441, 0x5f43, 0x4b37, 0x5f35, 0x5053, 0x0053, - - IDC_COMBO_SAMPLE_RATE, 0x403, 19, 0 -0x3950, 0x3235, 0x5f34, 0x4441, 0x5f43, 0x4b33, 0x3537, 0x535f, 0x5350, -"\000" - IDC_COMBO_SAMPLE_RATE, 0x403, 17, 0 -0x3950, 0x3235, 0x5f34, 0x4441, 0x5f43, 0x4b32, 0x535f, 0x5350, "\000" - IDC_COMBO_SAMPLE_RATE, 0x403, 17, 0 -0x3950, 0x3235, 0x5f34, 0x4441, 0x5f43, 0x4b31, 0x535f, 0x5350, "\000" - IDC_COMBO_SAMPLE_RATE, 0x403, 18, 0 -0x3950, 0x3235, 0x5f34, 0x4441, 0x5f43, 0x3035, 0x5f30, 0x5053, 0x0053, - - IDC_COMBO_SAMPLE_RATE, 0x403, 18, 0 -0x3950, 0x3235, 0x5f34, 0x4441, 0x5f43, 0x3031, 0x5f30, 0x5053, 0x0053, - - IDC_COMBO_SAMPLE_RATE, 0x403, 17, 0 -0x3950, 0x3235, 0x5f34, 0x4441, 0x5f43, 0x3036, 0x535f, 0x5350, "\000" - IDC_COMBO_SAMPLE_RATE, 0x403, 17, 0 -0x3950, 0x3235, 0x5f34, 0x4441, 0x5f43, 0x3035, 0x535f, 0x5350, "\000" - IDC_COMBO_SAMPLE_RATE, 0x403, 17, 0 -0x3950, 0x3235, 0x5f34, 0x4441, 0x5f43, 0x3033, 0x535f, 0x5350, "\000" - IDC_COMBO_SAMPLE_RATE, 0x403, 17, 0 -0x3950, 0x3235, 0x5f34, 0x4441, 0x5f43, 0x3532, 0x535f, 0x5350, "\000" - IDC_COMBO_SAMPLE_RATE, 0x403, 17, 0 -0x3950, 0x3235, 0x5f34, 0x4441, 0x5f43, 0x3531, 0x535f, 0x5350, "\000" - IDC_COMBO_SAMPLE_RATE, 0x403, 17, 0 -0x3950, 0x3235, 0x5f34, 0x4441, 0x5f43, 0x3031, 0x535f, 0x5350, "\000" - IDC_COMBO_SAMPLE_RATE, 0x403, 16, 0 -0x3950, 0x3235, 0x5f34, 0x4441, 0x5f43, 0x5f35, 0x5053, 0x0053, - IDC_COMBO_SAMPLE_RATE, 0x403, 18, 0 -0x3950, 0x3235, 0x5f34, 0x4441, 0x5f43, 0x5232, 0x5f35, 0x5053, 0x0053, - - IDC_COMBO_SCANCHAN, 0x403, 8, 0 -0x4843, 0x7e30, 0x4843, 0x0031, - IDC_COMBO_SCANCHAN, 0x403, 8, 0 -0x4843, 0x7e30, 0x4843, 0x0032, - IDC_COMBO_SCANCHAN, 0x403, 8, 0 -0x4843, 0x7e30, 0x4843, 0x0033, - 0 -END - - -///////////////////////////////////////////////////////////////////////////// -// -// Bitmap -// - -IDB_BITMAP_SET1 BITMAP "res\\ch_set1.bmp" -IDB_BITMAP_SET2 BITMAP "res\\ch_set2.bmp" - -///////////////////////////////////////////////////////////////////////////// -// -// String Table -// - -STRINGTABLE -BEGIN - IDS_ABOUTBOX "&About 9524cdma..." -END - -#endif // English (U.S.) resources -///////////////////////////////////////////////////////////////////////////// - - - -#ifndef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 3 resource. -// -#define _AFX_NO_SPLITTER_RESOURCES -#define _AFX_NO_OLE_RESOURCES -#define _AFX_NO_TRACKER_RESOURCES -#define _AFX_NO_PROPERTY_RESOURCES - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -LANGUAGE 9, 1 -#pragma code_page(1252) -#include "res\My9524cdma.rc2" // non-Microsoft Visual C++ edited resources -#include "afxres.rc" // Standard components -#endif - -///////////////////////////////////////////////////////////////////////////// -#endif // not APSTUDIO_INVOKED - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524AI_ContScans_Dbf/9524cdma.sln b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524AI_ContScans_Dbf/9524cdma.sln deleted file mode 100644 index 01b58c2..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524AI_ContScans_Dbf/9524cdma.sln +++ /dev/null @@ -1,20 +0,0 @@ - -Microsoft Visual Studio Solution File, Format Version 10.00 -# Visual Studio 2008 -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "9524cdma", "9524cdma.vcproj", "{702163FB-B6DF-4EF5-9491-FC54D71509BC}" -EndProject -Global - GlobalSection(SolutionConfigurationPlatforms) = preSolution - Debug|x64 = Debug|x64 - Release|x64 = Release|x64 - EndGlobalSection - GlobalSection(ProjectConfigurationPlatforms) = postSolution - {702163FB-B6DF-4EF5-9491-FC54D71509BC}.Debug|x64.ActiveCfg = Debug|x64 - {702163FB-B6DF-4EF5-9491-FC54D71509BC}.Debug|x64.Build.0 = Debug|x64 - {702163FB-B6DF-4EF5-9491-FC54D71509BC}.Release|x64.ActiveCfg = Release|x64 - {702163FB-B6DF-4EF5-9491-FC54D71509BC}.Release|x64.Build.0 = Release|x64 - EndGlobalSection - GlobalSection(SolutionProperties) = preSolution - HideSolutionNode = FALSE - EndGlobalSection -EndGlobal diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524AI_ContScans_Dbf/9524cdma.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524AI_ContScans_Dbf/9524cdma.suo deleted file mode 100644 index 8ba4e46..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524AI_ContScans_Dbf/9524cdma.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524AI_ContScans_Dbf/9524cdma.vcproj b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524AI_ContScans_Dbf/9524cdma.vcproj deleted file mode 100644 index 1897c72..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524AI_ContScans_Dbf/9524cdma.vcproj +++ /dev/null @@ -1,294 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524AI_ContScans_Dbf/9524cdmaDlg.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524AI_ContScans_Dbf/9524cdmaDlg.cpp deleted file mode 100644 index d9fbe59..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524AI_ContScans_Dbf/9524cdmaDlg.cpp +++ /dev/null @@ -1,577 +0,0 @@ - -// 9524cdmaDlg.cpp : implementation file -// - -#include "stdafx.h" -#include "9524cdma.h" -#include "9524cdmaDlg.h" - -#ifdef _DEBUG -#define new DEBUG_NEW -#endif - -CRect plotRect; - -// CAboutDlg dialog used for App About - -class CAboutDlg : public CDialog -{ -public: - CAboutDlg(); - -// Dialog Data - enum { IDD = IDD_ABOUTBOX }; - - protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - -// Implementation -protected: - DECLARE_MESSAGE_MAP() -}; - -CAboutDlg::CAboutDlg() : CDialog(CAboutDlg::IDD) -{ -} - -void CAboutDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); -} - -BEGIN_MESSAGE_MAP(CAboutDlg, CDialog) -END_MESSAGE_MAP() - - -// C9524cdmaDlg dialog - -C9524cdmaDlg::C9524cdmaDlg(I16 hCard, CWnd* pParent /*=NULL*/) - : CDialog(C9524cdmaDlg::IDD, pParent) -{ - m_hIcon = AfxGetApp()->LoadIcon(IDR_MAINFRAME); - - n_PlotWidth = n_PlotHeight = -1; - OnBrush = OffBrush = NULL; - - m_hCard = hCard; - - m_nTimer = -1; - - m_wRange = AD_B_10_V; - max_range = 10.0; - min_range = -10.0; - - m_dwReadCount = READCOUNT; - - m_dwOverrunCnt = 0; - - m_dwSampRate = P9524_ADC_60_SPS; - m_wMode = P9524_AI_XFER_DMA; - m_wGroup = P9524_AI_GP_Group; - -} - -void C9524cdmaDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); - DDX_Control(pDX, IDC_COMBO_SAMPLE_RATE, m_cbSampRate); - DDX_Control(pDX, IDC_COMBO_SCANCHAN, m_cbScanChans); -} - -BEGIN_MESSAGE_MAP(C9524cdmaDlg, CDialog) - ON_WM_SYSCOMMAND() - ON_WM_PAINT() - ON_WM_QUERYDRAGICON() - //}}AFX_MSG_MAP - ON_WM_DESTROY() - ON_BN_CLICKED(IDC_BT_START, &C9524cdmaDlg::OnStart) - ON_WM_TIMER() - ON_BN_CLICKED(IDC_BT_STOP, &C9524cdmaDlg::OnStop) - ON_CBN_SELCHANGE(IDC_COMBO_SAMPLE_RATE, &C9524cdmaDlg::OnSampRateSelchange) - ON_CBN_SELCHANGE(IDC_COMBO_SCANCHAN, &C9524cdmaDlg::OnScanChanSelchange) -END_MESSAGE_MAP() - - -// C9524cdmaDlg message handlers - -BOOL C9524cdmaDlg::OnInitDialog() -{ - CDialog::OnInitDialog(); - - // Add "About..." menu item to system menu. - - // IDM_ABOUTBOX must be in the system command range. - ASSERT((IDM_ABOUTBOX & 0xFFF0) == IDM_ABOUTBOX); - ASSERT(IDM_ABOUTBOX < 0xF000); - - CMenu* pSysMenu = GetSystemMenu(FALSE); - if (pSysMenu != NULL) - { - BOOL bNameValid; - CString strAboutMenu; - bNameValid = strAboutMenu.LoadString(IDS_ABOUTBOX); - ASSERT(bNameValid); - if (!strAboutMenu.IsEmpty()) - { - pSysMenu->AppendMenu(MF_SEPARATOR); - pSysMenu->AppendMenu(MF_STRING, IDM_ABOUTBOX, strAboutMenu); - } - } - - // Set the icon for this dialog. The framework does this automatically - // when the application's main window is not a dialog - SetIcon(m_hIcon, TRUE); // Set big icon - SetIcon(m_hIcon, FALSE); // Set small icon - - // TODO: Add extra initialization here - x_divider = 5; y_divider = 4; - - OnBrush = CreateSolidBrush( RGB(255,0,0) ); - OffBrush = CreateSolidBrush( RGB(125,0,0) ); - - RedPen.CreatePen( PS_SOLID, 1, RGB(255,0,0)); - GreenPen.CreatePen( PS_SOLID, 1, RGB(0,255,0)); - YellowPen.CreatePen( PS_SOLID, 1, RGB(255,255,0)); - BluePen.CreatePen( PS_SOLID, 1, RGB(0,0,255)); - - if( n_PlotWidth == -1 && n_PlotHeight == -1 ) - { - ((CWnd*)GetDlgItem(IDC_STATIC_DRAW))->GetWindowRect(&plotRect); - ScreenToClient(&plotRect); - - n_PlotWidth = min( plotRect.Width(), 512); - n_PlotHeight = plotRect.Height() - 10; - } - - // set the default SampleRate - - SetDlgItemInt( IDC_EDIT_OVERRUN, (UINT)(m_dwOverrunCnt) ); - - m_wScanChans = P9524_AI_GP_CH3; - m_cbSampRate.SetCurSel( 8 ); - m_cbScanChans.SetCurSel( 2 ); - - return TRUE; // return TRUE unless you set the focus to a control -} - -void C9524cdmaDlg::OnSysCommand(UINT nID, LPARAM lParam) -{ - if ((nID & 0xFFF0) == IDM_ABOUTBOX) - { - CAboutDlg dlgAbout; - dlgAbout.DoModal(); - } - else - { - CDialog::OnSysCommand(nID, lParam); - } -} - -// If you add a minimize button to your dialog, you will need the code below -// to draw the icon. For MFC applications using the document/view model, -// this is automatically done for you by the framework. - -void C9524cdmaDlg::OnPaint() -{ - if (IsIconic()) - { - CPaintDC dc(this); // device context for painting - - SendMessage(WM_ICONERASEBKGND, reinterpret_cast(dc.GetSafeHdc()), 0); - - // Center icon in client rectangle - int cxIcon = GetSystemMetrics(SM_CXICON); - int cyIcon = GetSystemMetrics(SM_CYICON); - CRect rect; - GetClientRect(&rect); - int x = (rect.Width() - cxIcon + 1) / 2; - int y = (rect.Height() - cyIcon + 1) / 2; - - // Draw the icon - dc.DrawIcon(x, y, m_hIcon); - } - else - { - redraw_display_area(); - CDialog::OnPaint(); - } -} - -// The system calls this function to obtain the cursor to display while the user drags -// the minimized window. -HCURSOR C9524cdmaDlg::OnQueryDragIcon() -{ - return static_cast(m_hIcon); -} - - -void C9524cdmaDlg::redraw_display_area(void) -{ - CPen *oldPen; - - int oldMode; - COLORREF oldColor; - - CString y_lable; - - CPen minor_tick( PS_SOLID,1,RGB(132,130,132) ); -// CPen y_grid( PS_SOLID,1,RGB(206,203,132) ); - - int i, x_intv, y_intv; -// long total_sec; - - CClientDC dc_plot(this); - - // draw the base-line for x-y axises - oldPen = (CPen *)dc_plot.SelectStockObject(BLACK_PEN); - - // redraw the background - dc_plot.FillSolidRect( plotRect, RGB(0,0,0) ); - - // Re-Draw the AREA for Y-Lable - { - CBrush DIALOG_BRUSH; - CRect redraw_area, full_client; - - GetClientRect(&full_client); - ScreenToClient(&full_client); - - redraw_area.left = full_client.left; - redraw_area.top = plotRect.top - 5; - redraw_area.right = plotRect.left - 3; - redraw_area.bottom = plotRect.bottom + 10; - - DIALOG_BRUSH.CreateSysColorBrush( COLOR_3DFACE ); - - dc_plot.FillRect( redraw_area, &DIALOG_BRUSH ); - - DIALOG_BRUSH.DeleteObject(); - } - - dc_plot.MoveTo( plotRect.left - 3, plotRect.top ); - dc_plot.LineTo( plotRect.left - 3, plotRect.bottom ); - - // calculate the interval for tick/grid - y_intv = (plotRect.Height() - 10) /y_divider; - x_intv = plotRect.Width()/x_divider; - - - // set the color for tick - oldColor = dc_plot.SetTextColor( RGB(0,0,0) ); - oldMode = dc_plot.SetBkMode( TRANSPARENT ); - - for( i=0; i<= y_divider; i++ ) - { - CString tick_str; - CRect tmp_rect, tick_rect; - - // draw the tick for y-axis - dc_plot.MoveTo( plotRect.left -12, plotRect.bottom -5 - (i*y_intv) ); - dc_plot.LineTo( plotRect.left -3, plotRect.bottom -5 - (i*y_intv) ); - - tick_str.Format( _T("%.1f"), ( ((max_range-min_range)/y_divider) * i)+min_range ); - - // calculate the rectangle for text - dc_plot.DrawText( tick_str, &tmp_rect, DT_CALCRECT|DT_SINGLELINE ); - tick_rect.right = plotRect.left -14; - tick_rect.left = tick_rect.right - tmp_rect.Width(); - tick_rect.top = plotRect.bottom -5 - (i*y_intv) - tmp_rect.Height()/2; - tick_rect.bottom = tick_rect.top + tmp_rect.Height(); - - // draw the text - dc_plot.DrawText( tick_str, &tick_rect, DT_SINGLELINE|DT_RIGHT ); - - } - - // draw the minor_tick for Y axises - dc_plot.SelectObject(&minor_tick); - for( i=0; i< y_divider; i++ ) - { - dc_plot.MoveTo( plotRect.left -9, plotRect.bottom -5 - (i*y_intv) - y_intv/2 ); - dc_plot.LineTo( plotRect.left -4, plotRect.bottom -5 - (i*y_intv) - y_intv/2 ); - } - - dc_plot.SetTextColor( oldColor ); - dc_plot.SetBkMode( oldMode ); - dc_plot.SelectObject( oldPen ); -} - -void C9524cdmaDlg::OnDestroy() -{ - CDialog::OnDestroy(); - - // TODO: Add your message handler code here - if( m_nTimer != -1 ) - { - KillTimer( m_nTimer ); - m_nTimer = -1; - } - - if( OnBrush != NULL ) - ::DeleteObject( OnBrush ); - - if( OffBrush != NULL ) - ::DeleteObject( OffBrush ); - - RedPen.DeleteObject(); - GreenPen.DeleteObject(); - YellowPen.DeleteObject(); - BluePen.DeleteObject(); - -} - - -void C9524cdmaDlg::OnStop() -{ - // TODO: Add your control notification handler code here - U32 count; - - if( m_nTimer != -1 ) - { - KillTimer( m_nTimer ); - m_nTimer = -1; - } - - AI_AsyncClear(m_hCard, &count); - AI_ContBufferReset( m_hCard ); - - GetDlgItem( IDC_BT_START )->EnableWindow(TRUE); -} - -void C9524cdmaDlg::OnStart() -{ - // TODO: Add your control notification handler code here - CString strTemp; - I16 err; - - GetDlgItem( IDC_BT_START )->EnableWindow(FALSE); - - // reset the DMA buffer - memset( m_AIBuf1, '\0', m_dwReadCount * sizeof(U32) ); - memset( m_AIBuf2, '\0', m_dwReadCount * sizeof(U32) ); - - m_oldY[0] = m_oldY[1] = m_oldY[2] = m_oldY[3] = -1; - m_oldX[0] = m_oldX[1] = m_oldX[2] = m_oldX[3] = -1; - - if ((err = AI_AsyncDblBufferMode (m_hCard, 1)) != NoError) - { - strTemp.Format( TEXT("AI_AsyncDblBufferMode error=%d"), err); - AfxMessageBox( strTemp ); - return; - } - - /*In Double Buffer Mode, you should setup two buffers*/ - if ((err = AI_ContBufferSetup (m_hCard, m_AIBuf1, m_dwReadCount, &m_wBufferID1)) != NoError) - { - strTemp.Format( TEXT("AI_ContBufferSetup error=%d"), err); - AfxMessageBox( strTemp ); - return; - } - - if ((err = AI_ContBufferSetup (m_hCard, m_AIBuf2, m_dwReadCount, &m_wBufferID2)) != NoError) - { - strTemp.Format( TEXT("AI_ContBufferSetup error=%d"), err); - AfxMessageBox( strTemp ); - return; - } - - if ((err = AI_9524_Config(m_hCard, m_wGroup, m_wMode, P9524_AI_BufAutoReset, 0, 0)) != NoError) - { - AI_ContBufferReset(m_hCard); - strTemp.Format( TEXT("AI_9524_Config error=%d"), err); - AfxMessageBox( strTemp ); - return; - } - - m_bView = 0; - - if ((err = AI_ContScanChannels(m_hCard, m_wScanChans, m_wRange, &m_wBufferID1, READCOUNT, (F64)m_dwSampRate, ASYNCH_OP)) != NoError) - { - AI_ContBufferReset(m_hCard); - strTemp.Format( TEXT("AI_ContReadChannel error=%d"), err); - AfxMessageBox( strTemp ); - return; - } - - m_nTimer = SetTimer( 1, 20, NULL ); - -} - -int C9524cdmaDlg::display_buffer_data(U32* pBuf) -{ - CClientDC dc_plot(this); - int nDraw_Origin_Y; - int cur_channel; - - int newY = -1; - int newX = -1; - U32 index; - I32 ai_data, nTemp; - U32 dwDataSize = m_dwReadCount; - - // redraw the background - dc_plot.FillSolidRect( plotRect, RGB(0,0,0) ); - - nDraw_Origin_Y = ( plotRect.bottom - 5 ) - n_PlotHeight/2; - - for( index=0; index> 4) & 0x0F); - ai_data = (nTemp >> 8); - - newY = (int)( nDraw_Origin_Y - ((n_PlotHeight * ai_data) >> 24) ); // ( n_PlotHeight * ai_data / 16777216) ); // ( (n_PlotHeight/2) * ai_data/8388608 ) ); - newX = (int)( index*n_PlotWidth/dwDataSize + plotRect.left ); - - switch(cur_channel) - { - case 0: - dc_plot.SelectObject(&YellowPen); - break; - case 1: - dc_plot.SelectObject(&GreenPen); - break; - case 2: - dc_plot.SelectObject(&BluePen); - break; - case 3: - dc_plot.SelectObject(&RedPen); - break; - } - - if ( m_oldX[cur_channel] == -1 ) - { - dc_plot.MoveTo( newX, newY ); - } - else - { - dc_plot.MoveTo( m_oldX[cur_channel], m_oldY[cur_channel] ); - dc_plot.LineTo( newX, newY ); - } - - m_oldX[cur_channel] = newX; - m_oldY[cur_channel] = newY; - } - - return 0; - -} - -void C9524cdmaDlg::OnTimer(UINT_PTR nIDEvent) -{ - // TODO: Add your message handler code here and/or call default - BOOLEAN HalfReady; - BOOLEAN fstop; - U16 OverrunFlag; - - AI_AsyncDblBufferHalfReady(m_hCard, &HalfReady, &fstop); - - if( HalfReady ) // half-buffer ready - { - if(m_bView == 0) - { - display_buffer_data( m_AIBuf1 ); - m_bView = 1; - } - else - { - display_buffer_data( m_AIBuf2 ); - m_bView= 0; - } - - AI_AsyncDblBufferHandled( m_hCard ); - AI_AsyncDblBufferOverrun( m_hCard, 0, &OverrunFlag); - - if(OverrunFlag) - { - m_dwOverrunCnt++; - AI_AsyncDblBufferOverrun( m_hCard, 1, NULL ); - SetDlgItemInt( IDC_EDIT_OVERRUN, (UINT)(m_dwOverrunCnt) ); - } - - - } - - CDialog::OnTimer(nIDEvent); -} - -void C9524cdmaDlg::OnSampRateSelchange() -{ - // TODO: Add your control notification handler code here - int nIndex; - - nIndex = m_cbSampRate.GetCurSel(); - switch( nIndex ) - { - case 0: - m_dwSampRate = P9524_ADC_30K_SPS; - break; - case 1: - m_dwSampRate = P9524_ADC_15K_SPS; - break; - case 2: - m_dwSampRate = P9524_ADC_7K5_SPS; - break; - case 3: - m_dwSampRate = P9524_ADC_3K75_SPS; - break; - case 4: - m_dwSampRate = P9524_ADC_2K_SPS; - break; - case 5: - m_dwSampRate = P9524_ADC_1K_SPS; - break; - case 6: - m_dwSampRate = P9524_ADC_500_SPS; - break; - case 7: - m_dwSampRate = P9524_ADC_100_SPS; - break; - case 8: - m_dwSampRate = P9524_ADC_60_SPS; - break; - case 9: - m_dwSampRate = P9524_ADC_50_SPS; - break; - case 10: - m_dwSampRate = P9524_ADC_30_SPS; - break; - case 11: - m_dwSampRate = P9524_ADC_25_SPS; - break; - case 12: - m_dwSampRate = P9524_ADC_15_SPS; - break; - case 13: - m_dwSampRate = P9524_ADC_10_SPS; - break; - case 14: - m_dwSampRate = P9524_ADC_5_SPS; - break; - case 15: - m_dwSampRate = P9524_ADC_2R5_SPS; - break; - } - -} - -void C9524cdmaDlg::OnScanChanSelchange() -{ - // TODO: Add your control notification handler code here - int nIndex; - - nIndex = m_cbScanChans.GetCurSel(); - - switch( nIndex ) - { - case 0: - m_wScanChans = P9524_AI_GP_CH1; - break; - case 1: - m_wScanChans = P9524_AI_GP_CH2; - break; - case 2: - m_wScanChans = P9524_AI_GP_CH3; - break; - } -} diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524AI_ContScans_Dbf/9524cdmaDlg.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524AI_ContScans_Dbf/9524cdmaDlg.h deleted file mode 100644 index 4a4f8ce..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524AI_ContScans_Dbf/9524cdmaDlg.h +++ /dev/null @@ -1,76 +0,0 @@ - -// 9524cdmaDlg.h : header file -#pragma once -#include "afxcmn.h" -#include "afxwin.h" - -#include "Dask64.h" - -#define READCOUNT 60 - -// C9524cdmaDlg dialog -class C9524cdmaDlg : public CDialog -{ -// Construction -public: - C9524cdmaDlg(I16 hCard, CWnd* pParent = NULL); // standard constructor - -// Dialog Data - enum { IDD = IDD_9524DMA_DIALOG }; - - protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - - -// Implementation -protected: - HICON m_hIcon; - UINT_PTR m_nTimer; - I16 m_hCard; - U32 m_dwSampRate; - U32 m_AIBuf1[READCOUNT]; - U32 m_AIBuf2[READCOUNT]; - U16 m_wBufferID1; - U16 m_wBufferID2; - U16 m_wRange; - U16 m_wGroup; - U16 m_wMode; - int m_oldY[4]; - int m_oldX[4]; - U32 m_dwReadCount; - U8 m_bView; - U32 m_dwOverrunCnt; - U16 m_wScanChans; - - // Generated message map functions - virtual BOOL OnInitDialog(); - afx_msg void OnSysCommand(UINT nID, LPARAM lParam); - afx_msg void OnPaint(); - afx_msg HCURSOR OnQueryDragIcon(); - DECLARE_MESSAGE_MAP() - -public: - double max_range; - double min_range; - int n_PlotWidth; - int n_PlotHeight; - int y_divider; - int x_divider; - int m_DisplayScale; - HBRUSH OnBrush; - HBRUSH OffBrush; - CPen RedPen; - CPen GreenPen; - CPen YellowPen; - CPen BluePen; - void redraw_display_area(void); - afx_msg void OnDestroy(); - afx_msg void OnStart(); - int display_buffer_data(U32* pBuf); - afx_msg void OnTimer(UINT_PTR nIDEvent); - afx_msg void OnStop(); - CComboBox m_cbSampRate; - afx_msg void OnSampRateSelchange(); - CComboBox m_cbScanChans; - afx_msg void OnScanChanSelchange(); -}; diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524AI_ContScans_Dbf/CardIDDlg.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524AI_ContScans_Dbf/CardIDDlg.cpp deleted file mode 100644 index 18322f8..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524AI_ContScans_Dbf/CardIDDlg.cpp +++ /dev/null @@ -1,64 +0,0 @@ -// CardIDDlg.cpp : implementation file -// -#include "stdafx.h" -#include "9524cdma.h" -#include "9524cdmaDlg.h" -#include "CardIDDlg.h" - -// CCardIDDlg dialog - -IMPLEMENT_DYNAMIC(CCardIDDlg, CDialog) - -CCardIDDlg::CCardIDDlg(int nCardIdx, CWnd* pParent /*=NULL*/) - : CDialog(CCardIDDlg::IDD, pParent) -{ - m_nCardIdx = nCardIdx; -} - -CCardIDDlg::~CCardIDDlg() -{ -} - -void CCardIDDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); - DDX_Control(pDX, IDC_COMBO_CARDID, m_cbCardID); -} - - -BEGIN_MESSAGE_MAP(CCardIDDlg, CDialog) -// ON_CBN_SELCHANGE(IDC_COMBO_CARDID, &CCardIDDlg::OnCbnSelchangeComboCardid) -ON_BN_CLICKED(IDOK, &CCardIDDlg::OnBnClickedOk) -//ON_WM_CTLCOLOR() -END_MESSAGE_MAP() - - -// CCardIDDlg message handlers - - -void CCardIDDlg::OnBnClickedOk() -{ - // TODO: Add your control notification handler code here - -// UpdateData(TRUE); - m_nCardIdx = m_cbCardID.GetCurSel(); - - OnOK(); -} - -BOOL CCardIDDlg::OnInitDialog() -{ - CDialog::OnInitDialog(); - - // TODO: Add extra initialization here - m_cbCardID.SetCurSel( m_nCardIdx ); - - return TRUE; // return TRUE unless you set the focus to a control - // EXCEPTION: OCX Property Pages should return FALSE -} - -// the function to get the selected CardID -int CCardIDDlg::GetCardID(void) -{ - return m_nCardIdx; -} diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524AI_ContScans_Dbf/CardIDDlg.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524AI_ContScans_Dbf/CardIDDlg.h deleted file mode 100644 index 9c02c58..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524AI_ContScans_Dbf/CardIDDlg.h +++ /dev/null @@ -1,32 +0,0 @@ -#pragma once -#include "afxwin.h" - -#include "Dask64.h" - -// CCardIDDlg dialog - -class CCardIDDlg : public CDialog -{ - DECLARE_DYNAMIC(CCardIDDlg) - -public: - CCardIDDlg(int nCardIdx, CWnd* pParent = NULL); // standard constructor - virtual ~CCardIDDlg(); - -// Dialog Data - enum { IDD = IDD_CARDID_DIALOG }; - -protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - - DECLARE_MESSAGE_MAP() -public: - virtual BOOL OnInitDialog(); - afx_msg void OnBnClickedOk(); - // the setting of CardID ComboBox - int m_nCardIdx; - // the control of CardID ComboBox - CComboBox m_cbCardID; - // the function to get the selected CardID - int GetCardID(void); -}; diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524AI_ContScans_Dbf/ReadMe.txt b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524AI_ContScans_Dbf/ReadMe.txt deleted file mode 100644 index 0739e28..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524AI_ContScans_Dbf/ReadMe.txt +++ /dev/null @@ -1,93 +0,0 @@ -================================================================================ - MICROSOFT FOUNDATION CLASS LIBRARY : 9524cdma Project Overview -=============================================================================== - -The application wizard has created this 9524cdma application for -you. This application not only demonstrates the basics of using the Microsoft -Foundation Classes but is also a starting point for writing your application. - -This file contains a summary of what you will find in each of the files that -make up your 9524cdma application. - -9524cdma.vcproj - This is the main project file for VC++ projects generated using an application wizard. - It contains information about the version of Visual C++ that generated the file, and - information about the platforms, configurations, and project features selected with the - application wizard. - -9524cdma.h - This is the main header file for the application. It includes other - project specific headers (including Resource.h) and declares the - C9524cdmaApp application class. - -9524cdma.cpp - This is the main application source file that contains the application - class C9524cdmaApp. - -9524cdma.rc - This is a listing of all of the Microsoft Windows resources that the - program uses. It includes the icons, bitmaps, and cursors that are stored - in the RES subdirectory. This file can be directly edited in Microsoft - Visual C++. Your project resources are in 1033. - -res\9524cdma.ico - This is an icon file, which is used as the application's icon. This - icon is included by the main resource file 9524cdma.rc. - -res\My9524cdma.rc2 - This file contains resources that are not edited by Microsoft - Visual C++. You should place all resources not editable by - the resource editor in this file. - - -///////////////////////////////////////////////////////////////////////////// - -The application wizard creates one dialog class: - -9524cdmaDlg.h, 9524cdmaDlg.cpp - the dialog - These files contain your C9524cdmaDlg class. This class defines - the behavior of your application's main dialog. The dialog's template is - in 9524cdma.rc, which can be edited in Microsoft Visual C++. - - -///////////////////////////////////////////////////////////////////////////// - -Other Features: - -ActiveX Controls - The application includes support to use ActiveX controls. - -///////////////////////////////////////////////////////////////////////////// - -Other standard files: - -StdAfx.h, StdAfx.cpp - These files are used to build a precompiled header (PCH) file - named 9524cdma.pch and a precompiled types file named StdAfx.obj. - -Resource.h - This is the standard header file, which defines new resource IDs. - Microsoft Visual C++ reads and updates this file. - -9524cdma.manifest - Application manifest files are used by Windows XP to describe an applications - dependency on specific versions of Side-by-Side assemblies. The loader uses this - information to load the appropriate assembly from the assembly cache or private - from the application. The Application manifest maybe included for redistribution - as an external .manifest file that is installed in the same folder as the application - executable or it may be included in the executable in the form of a resource. -///////////////////////////////////////////////////////////////////////////// - -Other notes: - -The application wizard uses "TODO:" to indicate parts of the source code you -should add to or customize. - -If your application uses MFC in a shared DLL, you will need -to redistribute the MFC DLLs. If your application is in a language -other than the operating system's locale, you will also have to -redistribute the corresponding localized resources MFC90XXX.DLL. -For more information on both of these topics, please see the section on -redistributing Visual C++ applications in MSDN documentation. - -///////////////////////////////////////////////////////////////////////////// diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524AI_ContScans_Dbf/res/9524cdma.ico b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524AI_ContScans_Dbf/res/9524cdma.ico deleted file mode 100644 index d56fbcd..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524AI_ContScans_Dbf/res/9524cdma.ico and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524AI_ContScans_Dbf/res/My9524cdma.rc2 b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524AI_ContScans_Dbf/res/My9524cdma.rc2 deleted file mode 100644 index 383cde2..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524AI_ContScans_Dbf/res/My9524cdma.rc2 +++ /dev/null @@ -1,13 +0,0 @@ -// -// My9111int.RC2 - resources Microsoft Visual C++ does not edit directly -// - -#ifdef APSTUDIO_INVOKED -#error this file is not editable by Microsoft Visual C++ -#endif //APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// Add manually edited resources here... - -///////////////////////////////////////////////////////////////////////////// diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524AI_ContScans_Dbf/res/ch_set1.bmp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524AI_ContScans_Dbf/res/ch_set1.bmp deleted file mode 100644 index f2374ed..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524AI_ContScans_Dbf/res/ch_set1.bmp and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524AI_ContScans_Dbf/res/ch_set2.bmp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524AI_ContScans_Dbf/res/ch_set2.bmp deleted file mode 100644 index 32d0915..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524AI_ContScans_Dbf/res/ch_set2.bmp and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524AI_ContScans_Dbf/resource.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524AI_ContScans_Dbf/resource.h deleted file mode 100644 index 3817742..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524AI_ContScans_Dbf/resource.h +++ /dev/null @@ -1,39 +0,0 @@ -//{{NO_DEPENDENCIES}} -// Microsoft Visual C++ generated include file. -// Used by 9524cdma.rc -// -#define IDM_ABOUTBOX 0x0010 -#define IDD_ABOUTBOX 100 -#define IDS_ABOUTBOX 101 -#define IDD_9524DMA_DIALOG 102 -#define IDR_MAINFRAME 128 -#define IDD_CARDID_DIALOG 129 -#define IDB_BITMAP_SET1 131 -#define IDB_BITMAP_SET2 132 -#define IDC_STATIC_DRAW 1000 -#define IDC_COMBO_CARDID 1001 -#define IDC_COMBO_SCANCHAN 1001 -#define IDC_BT_STOP 1002 -#define IDC_COMBO_CARDTYPE 1002 -#define IDC_BT_START 1003 -#define IDC_SCROLLBAR_RATE 1004 -#define IDC_RADIO_CH4 1005 -#define IDC_RADIO_CH5 1006 -#define IDC_RADIO_CH6 1007 -#define IDC_RADIO_CH7 1008 -#define IDC_STATIC_01 1009 -#define IDC_COMBO_SAMPLE_RATE 1010 -#define IDC_STATIC_2 1011 -#define IDC_EDIT1 1012 -#define IDC_EDIT_OVERRUN 1013 - -// Next default values for new objects -// -#ifdef APSTUDIO_INVOKED -#ifndef APSTUDIO_READONLY_SYMBOLS -#define _APS_NEXT_RESOURCE_VALUE 135 -#define _APS_NEXT_COMMAND_VALUE 32771 -#define _APS_NEXT_CONTROL_VALUE 1014 -#define _APS_NEXT_SYMED_VALUE 101 -#endif -#endif diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524AI_ContScans_Dbf/stdafx.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524AI_ContScans_Dbf/stdafx.cpp deleted file mode 100644 index ef80626..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524AI_ContScans_Dbf/stdafx.cpp +++ /dev/null @@ -1,8 +0,0 @@ - -// stdafx.cpp : source file that includes just the standard includes -// 9111int.pch will be the pre-compiled header -// stdafx.obj will contain the pre-compiled type information - -#include "stdafx.h" - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524AI_ContScans_Dbf/stdafx.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524AI_ContScans_Dbf/stdafx.h deleted file mode 100644 index 12123e2..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524AI_ContScans_Dbf/stdafx.h +++ /dev/null @@ -1,60 +0,0 @@ - -// stdafx.h : include file for standard system include files, -// or project specific include files that are used frequently, -// but are changed infrequently - -#pragma once - -#ifndef _SECURE_ATL -#define _SECURE_ATL 1 -#endif - -#ifndef VC_EXTRALEAN -#define VC_EXTRALEAN // Exclude rarely-used stuff from Windows headers -#endif - -#include "targetver.h" - -#define _ATL_CSTRING_EXPLICIT_CONSTRUCTORS // some CString constructors will be explicit - -// turns off MFC's hiding of some common and often safely ignored warning messages -#define _AFX_ALL_WARNINGS - -#include // MFC core and standard components -#include // MFC extensions - - -#include // MFC Automation classes - - - -#ifndef _AFX_NO_OLE_SUPPORT -#include // MFC support for Internet Explorer 4 Common Controls -#endif -#ifndef _AFX_NO_AFXCMN_SUPPORT -#include // MFC support for Windows Common Controls -#endif // _AFX_NO_AFXCMN_SUPPORT - -#include // MFC support for ribbons and control bars - - - - - - - - - -#ifdef _UNICODE -#if defined _M_IX86 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='x86' publicKeyToken='6595b64144ccf1df' language='*'\"") -#elif defined _M_IA64 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='ia64' publicKeyToken='6595b64144ccf1df' language='*'\"") -#elif defined _M_X64 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='amd64' publicKeyToken='6595b64144ccf1df' language='*'\"") -#else -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='*' publicKeyToken='6595b64144ccf1df' language='*'\"") -#endif -#endif - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524AI_ContScans_Dbf/targetver.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524AI_ContScans_Dbf/targetver.h deleted file mode 100644 index 11730d5..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524AI_ContScans_Dbf/targetver.h +++ /dev/null @@ -1,26 +0,0 @@ - -#pragma once - -// The following macros define the minimum required platform. The minimum required platform -// is the earliest version of Windows, Internet Explorer etc. that has the necessary features to run -// your application. The macros work by enabling all features available on platform versions up to and -// including the version specified. - -// Modify the following defines if you have to target a platform prior to the ones specified below. -// Refer to MSDN for the latest info on corresponding values for different platforms. -#ifndef WINVER // Specifies that the minimum required platform is Windows Vista. -#define WINVER 0x0600 // Change this to the appropriate value to target other versions of Windows. -#endif - -#ifndef _WIN32_WINNT // Specifies that the minimum required platform is Windows Vista. -#define _WIN32_WINNT 0x0600 // Change this to the appropriate value to target other versions of Windows. -#endif - -#ifndef _WIN32_WINDOWS // Specifies that the minimum required platform is Windows 98. -#define _WIN32_WINDOWS 0x0410 // Change this to the appropriate value to target Windows Me or later. -#endif - -#ifndef _WIN32_IE // Specifies that the minimum required platform is Internet Explorer 7.0. -#define _WIN32_IE 0x0700 // Change this to the appropriate value to target other versions of IE. -#endif - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524Encoder/CardIDDlg.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524Encoder/CardIDDlg.cpp deleted file mode 100644 index d58c03d..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524Encoder/CardIDDlg.cpp +++ /dev/null @@ -1,67 +0,0 @@ -// CardIDDlg.cpp : implementation file -// - -#include "stdafx.h" -#include "SDK9524GPTC.h" -#include "CardIDDlg.h" - - -// CCardIDDlg dialog - -IMPLEMENT_DYNAMIC(CCardIDDlg, CDialog) - -CCardIDDlg::CCardIDDlg(int nCardIdx, CWnd* pParent /*=NULL*/) - : CDialog(CCardIDDlg::IDD, pParent) -{ - m_nCardIdx = nCardIdx; -} - -CCardIDDlg::~CCardIDDlg() -{ -} - -void CCardIDDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); - DDX_Control(pDX, IDC_COMBO_CARDID, m_cbCardID); -} - - -BEGIN_MESSAGE_MAP(CCardIDDlg, CDialog) -// ON_CBN_SELCHANGE(IDC_COMBO_CARDID, &CCardIDDlg::OnCbnSelchangeComboCardid) -ON_BN_CLICKED(IDOK, &CCardIDDlg::OnBnClickedOk) -//ON_WM_CTLCOLOR() -END_MESSAGE_MAP() - - -// CCardIDDlg message handlers - - -void CCardIDDlg::OnBnClickedOk() -{ - // TODO: Add your control notification handler code here - -// UpdateData(TRUE); - m_nCardIdx = m_cbCardID.GetCurSel(); - - OnOK(); -} - -BOOL CCardIDDlg::OnInitDialog() -{ - CDialog::OnInitDialog(); - - // TODO: Add extra initialization here - m_cbCardID.SetCurSel( m_nCardIdx ); - - return TRUE; // return TRUE unless you set the focus to a control - // EXCEPTION: OCX Property Pages should return FALSE -} - -// the function to get the selected CardID -int CCardIDDlg::GetCardID(void) -{ - return m_nCardIdx; -} - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524Encoder/CardIDDlg.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524Encoder/CardIDDlg.h deleted file mode 100644 index 54628ea..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524Encoder/CardIDDlg.h +++ /dev/null @@ -1,33 +0,0 @@ -#pragma once -#include "afxwin.h" - - -// CCardIDDlg dialog - -class CCardIDDlg : public CDialog -{ - DECLARE_DYNAMIC(CCardIDDlg) - -public: - CCardIDDlg(int nCardIdx, CWnd* pParent = NULL); // standard constructor - virtual ~CCardIDDlg(); - -// Dialog Data - enum { IDD = IDD_CARDID_DIALOG }; - -protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - - DECLARE_MESSAGE_MAP() -public: -// afx_msg void OnCbnSelchangeComboCardid(); - afx_msg void OnBnClickedOk(); - // the setting of CardID ComboBox - int m_nCardIdx; - virtual BOOL OnInitDialog(); - // the control of CardID ComboBox - CComboBox m_cbCardID; - // the function to get the selected CardID - int GetCardID(void); -// afx_msg HBRUSH OnCtlColor(CDC* pDC, CWnd* pWnd, UINT nCtlColor); -}; diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524Encoder/ReadMe.txt b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524Encoder/ReadMe.txt deleted file mode 100644 index e9f77fc..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524Encoder/ReadMe.txt +++ /dev/null @@ -1,93 +0,0 @@ -================================================================================ - MICROSOFT FOUNDATION CLASS LIBRARY : SDK9524GPTC Project Overview -=============================================================================== - -The application wizard has created this SDK9524GPTC application for -you. This application not only demonstrates the basics of using the Microsoft -Foundation Classes but is also a starting point for writing your application. - -This file contains a summary of what you will find in each of the files that -make up your SDK9524GPTC application. - -SDK9524GPTC.vcproj - This is the main project file for VC++ projects generated using an application wizard. - It contains information about the version of Visual C++ that generated the file, and - information about the platforms, configurations, and project features selected with the - application wizard. - -SDK9524GPTC.h - This is the main header file for the application. It includes other - project specific headers (including Resource.h) and declares the - CSDK9524GPTCApp application class. - -SDK9524GPTC.cpp - This is the main application source file that contains the application - class CSDK9524GPTCApp. - -SDK9524GPTC.rc - This is a listing of all of the Microsoft Windows resources that the - program uses. It includes the icons, bitmaps, and cursors that are stored - in the RES subdirectory. This file can be directly edited in Microsoft - Visual C++. Your project resources are in 1033. - -res\SDK9524GPTC.ico - This is an icon file, which is used as the application's icon. This - icon is included by the main resource file SDK9524GPTC.rc. - -res\SDK9524GPTC.rc2 - This file contains resources that are not edited by Microsoft - Visual C++. You should place all resources not editable by - the resource editor in this file. - - -///////////////////////////////////////////////////////////////////////////// - -The application wizard creates one dialog class: - -SDK9524GPTCDlg.h, SDK9524GPTCDlg.cpp - the dialog - These files contain your CSDK9524GPTCDlg class. This class defines - the behavior of your application's main dialog. The dialog's template is - in SDK9524GPTC.rc, which can be edited in Microsoft Visual C++. - - -///////////////////////////////////////////////////////////////////////////// - -Other Features: - -ActiveX Controls - The application includes support to use ActiveX controls. - -///////////////////////////////////////////////////////////////////////////// - -Other standard files: - -StdAfx.h, StdAfx.cpp - These files are used to build a precompiled header (PCH) file - named SDK9524GPTC.pch and a precompiled types file named StdAfx.obj. - -Resource.h - This is the standard header file, which defines new resource IDs. - Microsoft Visual C++ reads and updates this file. - -SDK9524GPTC.manifest - Application manifest files are used by Windows XP to describe an applications - dependency on specific versions of Side-by-Side assemblies. The loader uses this - information to load the appropriate assembly from the assembly cache or private - from the application. The Application manifest maybe included for redistribution - as an external .manifest file that is installed in the same folder as the application - executable or it may be included in the executable in the form of a resource. -///////////////////////////////////////////////////////////////////////////// - -Other notes: - -The application wizard uses "TODO:" to indicate parts of the source code you -should add to or customize. - -If your application uses MFC in a shared DLL, you will need -to redistribute the MFC DLLs. If your application is in a language -other than the operating system's locale, you will also have to -redistribute the corresponding localized resources MFC90XXX.DLL. -For more information on both of these topics, please see the section on -redistributing Visual C++ applications in MSDN documentation. - -///////////////////////////////////////////////////////////////////////////// diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524Encoder/SDK9222GPTC.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524Encoder/SDK9222GPTC.suo deleted file mode 100644 index 8274fb2..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524Encoder/SDK9222GPTC.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524Encoder/SDK9223GPTC.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524Encoder/SDK9223GPTC.suo deleted file mode 100644 index 20e092c..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524Encoder/SDK9223GPTC.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524Encoder/SDK9524GPTC.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524Encoder/SDK9524GPTC.cpp deleted file mode 100644 index 9343ebf..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524Encoder/SDK9524GPTC.cpp +++ /dev/null @@ -1,109 +0,0 @@ - -// SDK9524GPTC.cpp : Defines the class behaviors for the application. -// - -#include "stdafx.h" -#include "SDK9524GPTC.h" -#include "SDK9524GPTCDlg.h" -#include "CardIDDlg.h" - -#ifdef _DEBUG -#define new DEBUG_NEW -#endif - - -// CSDK9524GPTCApp - -BEGIN_MESSAGE_MAP(CSDK9524GPTCApp, CWinAppEx) - ON_COMMAND(ID_HELP, &CWinApp::OnHelp) -END_MESSAGE_MAP() - - -// CSDK9524GPTCApp construction - -CSDK9524GPTCApp::CSDK9524GPTCApp() -{ - // TODO: add construction code here, - // Place all significant initialization in InitInstance -} - - -// The one and only CSDK9524GPTCApp object - -CSDK9524GPTCApp theApp; - - -// CSDK9524GPTCApp initialization - -BOOL CSDK9524GPTCApp::InitInstance() -{ - int nCardID = 0; - I16 hCard; - CString strTemp; - INT_PTR nResponse; - - // InitCommonControlsEx() is required on Windows XP if an application - // manifest specifies use of ComCtl32.dll version 6 or later to enable - // visual styles. Otherwise, any window creation will fail. - INITCOMMONCONTROLSEX InitCtrls; - InitCtrls.dwSize = sizeof(InitCtrls); - // Set this to include all the common control classes you want to use - // in your application. - InitCtrls.dwICC = ICC_WIN95_CLASSES; - InitCommonControlsEx(&InitCtrls); - - CWinAppEx::InitInstance(); - - AfxEnableControlContainer(); - - // Standard initialization - // If you are not using these features and wish to reduce the size - // of your final executable, you should remove from the following - // the specific initialization routines you do not need - // Change the registry key under which our settings are stored - // TODO: You should modify this string to be something appropriate - // such as the name of your company or organization - SetRegistryKey(_T("Local AppWizard-Generated Applications")); - - CCardIDDlg CardDlg( nCardID ); - - nResponse = CardDlg.DoModal(); - if (nResponse == IDOK) - { - nCardID = CardDlg.GetCardID(); - - if ((hCard=Register_Card(PCI_9524, nCardID)) < 0) - { - strTemp.Format( TEXT("Register_Card Error = %d"), hCard); - AfxMessageBox( strTemp ); - } - else - { - CSDK9524GPTCDlg dlg(hCard); - m_pMainWnd = &dlg; - nResponse = dlg.DoModal(); - if (nResponse == IDOK) - { - // TODO: Place code here to handle when the dialog is - // dismissed with OK - } - else if (nResponse == IDCANCEL) - { - // TODO: Place code here to handle when the dialog is - // dismissed with Cancel - } - - if (hCard >= 0) Release_Card(hCard); - } - - } - else if (nResponse == IDCANCEL) - { - // TODO: Place code here to handle when the dialog is - // dismissed with Cancel - } - - // Since the dialog has been closed, return FALSE so that we exit the - // application, rather than start the application's message pump. - return FALSE; -} diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524Encoder/SDK9524GPTC.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524Encoder/SDK9524GPTC.h deleted file mode 100644 index c09dc30..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524Encoder/SDK9524GPTC.h +++ /dev/null @@ -1,32 +0,0 @@ - -// SDK9524GPTC.h : main header file for the PROJECT_NAME application -// - -#pragma once - -#ifndef __AFXWIN_H__ - #error "include 'stdafx.h' before including this file for PCH" -#endif - -#include "resource.h" // main symbols - - -// CSDK9524GPTCApp: -// See SDK9524GPTC.cpp for the implementation of this class -// - -class CSDK9524GPTCApp : public CWinAppEx -{ -public: - CSDK9524GPTCApp(); - -// Overrides - public: - virtual BOOL InitInstance(); - -// Implementation - - DECLARE_MESSAGE_MAP() -}; - -extern CSDK9524GPTCApp theApp; \ No newline at end of file diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524Encoder/SDK9524GPTC.rc b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524Encoder/SDK9524GPTC.rc deleted file mode 100644 index a67b6e5..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524Encoder/SDK9524GPTC.rc +++ /dev/null @@ -1,313 +0,0 @@ -// Microsoft Visual C++ generated resource script. -// -#include "resource.h" - -#define APSTUDIO_READONLY_SYMBOLS -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 2 resource. -// -#ifndef APSTUDIO_INVOKED -#include "targetver.h" -#endif -#include "afxres.h" - -///////////////////////////////////////////////////////////////////////////// -#undef APSTUDIO_READONLY_SYMBOLS - -///////////////////////////////////////////////////////////////////////////// -// Chinese (Taiwan) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_CHT) -#ifdef _WIN32 -LANGUAGE LANG_CHINESE, SUBLANG_CHINESE_TRADITIONAL -#pragma code_page(950) -#endif //_WIN32 - -#ifdef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// TEXTINCLUDE -// - -1 TEXTINCLUDE -BEGIN - "resource.h\0" -END - -2 TEXTINCLUDE -BEGIN - "#ifndef APSTUDIO_INVOKED\r\n" - "#include ""targetver.h""\r\n" - "#endif\r\n" - "#include ""afxres.h""\r\n" - "\0" -END - -3 TEXTINCLUDE -BEGIN - "#define _AFX_NO_SPLITTER_RESOURCES\r\n" - "#define _AFX_NO_OLE_RESOURCES\r\n" - "#define _AFX_NO_TRACKER_RESOURCES\r\n" - "#define _AFX_NO_PROPERTY_RESOURCES\r\n" - "\r\n" - "#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)\r\n" - "LANGUAGE 9, 1\r\n" - "#pragma code_page(1252)\r\n" - "#include ""res\\SDK9524GPTC.rc2"" // non-Microsoft Visual C++ edited resources\r\n" - "#include ""afxres.rc"" // Standard components\r\n" - "#endif\r\n" - "\0" -END - -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// Icon -// - -// Icon with lowest ID value placed first to ensure application icon -// remains consistent on all systems. -IDR_MAINFRAME ICON "res\\SDK9524GPTC.ico" - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog -// - -IDD_CARDID_DIALOG DIALOGEX 0, 0, 172, 103 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "Card ID" -FONT 8, "MS Shell Dlg", 400, 0, 0x1 -BEGIN - COMBOBOX IDC_COMBO_CARDID,75,24,71,126,CBS_DROPDOWN | WS_VSCROLL | WS_TABSTOP - LTEXT "Card Number",IDC_STATIC_01,21,25,46,12 - PUSHBUTTON "OK",IDOK,23,61,58,19 - PUSHBUTTON "CANCEL",IDCANCEL,87,61,58,19 -END - - -///////////////////////////////////////////////////////////////////////////// -// -// DESIGNINFO -// - -#ifdef APSTUDIO_INVOKED -GUIDELINES DESIGNINFO -BEGIN - IDD_CARDID_DIALOG, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 165 - TOPMARGIN, 7 - BOTTOMMARGIN, 96 - END -END -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog Info -// - -IDD_CARDID_DIALOG DLGINIT -BEGIN - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0030, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0031, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0032, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0033, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0034, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0035, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0036, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0037, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0038, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0039, - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3031, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3131, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3231, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3331, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3431, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3531, "\000" - 0 -END - -#endif // Chinese (Taiwan) resources -///////////////////////////////////////////////////////////////////////////// - - -///////////////////////////////////////////////////////////////////////////// -// English (U.S.) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -#ifdef _WIN32 -LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US -#pragma code_page(1252) -#endif //_WIN32 - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog -// - -IDD_ABOUTBOX DIALOGEX 0, 0, 170, 62 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "About SDK9524GPTC" -FONT 8, "MS Shell Dlg", 0, 0, 0x1 -BEGIN - ICON IDR_MAINFRAME,IDC_STATIC,14,14,21,20 - LTEXT "SDK9524GPTC, Version 1.0",IDC_STATIC,42,14,114,8,SS_NOPREFIX - LTEXT "Copyright (C) 2010",IDC_STATIC,42,26,114,8 - DEFPUSHBUTTON "OK",IDOK,113,41,50,14,WS_GROUP -END - -IDD_SDK9524GPTC_DIALOG DIALOGEX 0, 0, 251, 131 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU -EXSTYLE WS_EX_APPWINDOW -CAPTION "PCI-9524 Encoder Input" -FONT 8, "MS Shell Dlg", 0, 0, 0x1 -BEGIN - PUSHBUTTON "Start",IDC_BT_MODE0,111,85,57,21 - LTEXT "Encoder Counter :",IDC_STATIC,29,60,61,11 - EDITTEXT IDC_EDIT_STATUS0,99,59,72,15,ES_AUTOHSCROLL | ES_READONLY - LTEXT "Select the GPTC :",IDC_STATIC,29,16,61,12 - COMBOBOX IDC_COMBO_GPTC,99,16,97,37,CBS_DROPDOWN | CBS_SORT | WS_VSCROLL | WS_TABSTOP -END - - -///////////////////////////////////////////////////////////////////////////// -// -// DESIGNINFO -// - -#ifdef APSTUDIO_INVOKED -GUIDELINES DESIGNINFO -BEGIN - IDD_ABOUTBOX, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 163 - TOPMARGIN, 7 - BOTTOMMARGIN, 55 - END - - IDD_SDK9524GPTC_DIALOG, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 244 - TOPMARGIN, 7 - BOTTOMMARGIN, 124 - END -END -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog Info -// - -IDD_SDK9524GPTC_DIALOG DLGINIT -BEGIN - IDC_COMBO_GPTC, 0x403, 14, 0 -0x3950, 0x3235, 0x5f34, 0x5443, 0x5f52, 0x4451, 0x0030, - IDC_COMBO_GPTC, 0x403, 14, 0 -0x3950, 0x3235, 0x5f34, 0x5443, 0x5f52, 0x4451, 0x0031, - IDC_COMBO_GPTC, 0x403, 14, 0 -0x3950, 0x3235, 0x5f34, 0x5443, 0x5f52, 0x4451, 0x0032, - 0 -END - - -///////////////////////////////////////////////////////////////////////////// -// -// Version -// - -VS_VERSION_INFO VERSIONINFO - FILEVERSION 1,0,0,1 - PRODUCTVERSION 1,0,0,1 - FILEFLAGSMASK 0x3fL -#ifdef _DEBUG - FILEFLAGS 0x1L -#else - FILEFLAGS 0x0L -#endif - FILEOS 0x4L - FILETYPE 0x1L - FILESUBTYPE 0x0L -BEGIN - BLOCK "StringFileInfo" - BEGIN - BLOCK "040904e4" - BEGIN - VALUE "CompanyName", "TODO: " - VALUE "FileDescription", "TODO: " - VALUE "FileVersion", "1.0.0.1" - VALUE "InternalName", "SDK9524GPTC.exe" - VALUE "LegalCopyright", "TODO: (c) . All rights reserved." - VALUE "OriginalFilename", "SDK9524GPTC.exe" - VALUE "ProductName", "TODO: " - VALUE "ProductVersion", "1.0.0.1" - END - END - BLOCK "VarFileInfo" - BEGIN - VALUE "Translation", 0x409, 1252 - END -END - - -///////////////////////////////////////////////////////////////////////////// -// -// String Table -// - -STRINGTABLE -BEGIN - IDS_ABOUTBOX "&About SDK9524GPTC..." -END - -#endif // English (U.S.) resources -///////////////////////////////////////////////////////////////////////////// - - - -#ifndef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 3 resource. -// -#define _AFX_NO_SPLITTER_RESOURCES -#define _AFX_NO_OLE_RESOURCES -#define _AFX_NO_TRACKER_RESOURCES -#define _AFX_NO_PROPERTY_RESOURCES - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -LANGUAGE 9, 1 -#pragma code_page(1252) -#include "res\SDK9524GPTC.rc2" // non-Microsoft Visual C++ edited resources -#include "afxres.rc" // Standard components -#endif - -///////////////////////////////////////////////////////////////////////////// -#endif // not APSTUDIO_INVOKED - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524Encoder/SDK9524GPTC.sln b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524Encoder/SDK9524GPTC.sln deleted file mode 100644 index 03e4c17..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524Encoder/SDK9524GPTC.sln +++ /dev/null @@ -1,20 +0,0 @@ - -Microsoft Visual Studio Solution File, Format Version 10.00 -# Visual Studio 2008 -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "SDK9524GPTC", "SDK9524GPTC.vcproj", "{E44C0848-3913-45FB-B4DD-E6FE7B7DA86E}" -EndProject -Global - GlobalSection(SolutionConfigurationPlatforms) = preSolution - Debug|x64 = Debug|x64 - Release|x64 = Release|x64 - EndGlobalSection - GlobalSection(ProjectConfigurationPlatforms) = postSolution - {E44C0848-3913-45FB-B4DD-E6FE7B7DA86E}.Debug|x64.ActiveCfg = Debug|x64 - {E44C0848-3913-45FB-B4DD-E6FE7B7DA86E}.Debug|x64.Build.0 = Debug|x64 - {E44C0848-3913-45FB-B4DD-E6FE7B7DA86E}.Release|x64.ActiveCfg = Release|x64 - {E44C0848-3913-45FB-B4DD-E6FE7B7DA86E}.Release|x64.Build.0 = Release|x64 - EndGlobalSection - GlobalSection(SolutionProperties) = preSolution - HideSolutionNode = FALSE - EndGlobalSection -EndGlobal diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524Encoder/SDK9524GPTC.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524Encoder/SDK9524GPTC.suo deleted file mode 100644 index 46e0093..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524Encoder/SDK9524GPTC.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524Encoder/SDK9524GPTC.vcproj b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524Encoder/SDK9524GPTC.vcproj deleted file mode 100644 index bc515e9..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524Encoder/SDK9524GPTC.vcproj +++ /dev/null @@ -1,286 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524Encoder/SDK9524GPTCDlg.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524Encoder/SDK9524GPTCDlg.cpp deleted file mode 100644 index 079bd52..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524Encoder/SDK9524GPTCDlg.cpp +++ /dev/null @@ -1,259 +0,0 @@ - -// SDK9524GPTCDlg.cpp : implementation file -// - -#include "stdafx.h" -#include "SDK9524GPTC.h" -#include "SDK9524GPTCDlg.h" - -#ifdef _DEBUG -#define new DEBUG_NEW -#endif - -#define TIMEBASE 40000000.0 -#define TIMER_GPTC_MAJOR_MODE0 1 - -// CAboutDlg dialog used for App About - -class CAboutDlg : public CDialog -{ -public: - CAboutDlg(); - -// Dialog Data - enum { IDD = IDD_ABOUTBOX }; - - protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - -// Implementation -protected: - DECLARE_MESSAGE_MAP() -}; - -CAboutDlg::CAboutDlg() : CDialog(CAboutDlg::IDD) -{ -} - -void CAboutDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); -} - -BEGIN_MESSAGE_MAP(CAboutDlg, CDialog) -END_MESSAGE_MAP() - - -// CSDK9524GPTCDlg dialog - - -CSDK9524GPTCDlg::CSDK9524GPTCDlg(I16 hCard, CWnd* pParent /*=NULL*/) - : CDialog(CSDK9524GPTCDlg::IDD, pParent) -{ - m_hIcon = AfxGetApp()->LoadIcon(IDR_MAINFRAME); - - m_nTimer0 = NULL; - - m_bRunning0 = 0; - - m_GPTCMode = P9524_x4_AB_Phase_Decoder; - - m_hCard = hCard; -} - -void CSDK9524GPTCDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); - DDX_Control(pDX, IDC_COMBO_GPTC, m_cbGPTCNo); -} - -BEGIN_MESSAGE_MAP(CSDK9524GPTCDlg, CDialog) - ON_WM_SYSCOMMAND() - ON_WM_PAINT() - ON_WM_QUERYDRAGICON() - //}}AFX_MSG_MAP - ON_CBN_SELCHANGE(IDC_COMBO_GPTC, &CSDK9524GPTCDlg::OnGPTCNoSelchange) - ON_BN_CLICKED(IDC_BT_MODE0, &CSDK9524GPTCDlg::OnGPTCMode0Start) - ON_WM_TIMER() -END_MESSAGE_MAP() - - -// CSDK9524GPTCDlg message handlers - -BOOL CSDK9524GPTCDlg::OnInitDialog() -{ - CDialog::OnInitDialog(); - - // Add "About..." menu item to system menu. - - // IDM_ABOUTBOX must be in the system command range. - ASSERT((IDM_ABOUTBOX & 0xFFF0) == IDM_ABOUTBOX); - ASSERT(IDM_ABOUTBOX < 0xF000); - - CMenu* pSysMenu = GetSystemMenu(FALSE); - if (pSysMenu != NULL) - { - BOOL bNameValid; - CString strAboutMenu; - bNameValid = strAboutMenu.LoadString(IDS_ABOUTBOX); - ASSERT(bNameValid); - if (!strAboutMenu.IsEmpty()) - { - pSysMenu->AppendMenu(MF_SEPARATOR); - pSysMenu->AppendMenu(MF_STRING, IDM_ABOUTBOX, strAboutMenu); - } - } - - // Set the icon for this dialog. The framework does this automatically - // when the application's main window is not a dialog - SetIcon(m_hIcon, TRUE); // Set big icon - SetIcon(m_hIcon, FALSE); // Set small icon - - // TODO: Add extra initialization here - m_wGPTCNo = P9524_CTR_QD0; - m_cbGPTCNo.SetCurSel( 0 ); - - return TRUE; // return TRUE unless you set the focus to a control -} - -void CSDK9524GPTCDlg::OnSysCommand(UINT nID, LPARAM lParam) -{ - if ((nID & 0xFFF0) == IDM_ABOUTBOX) - { - CAboutDlg dlgAbout; - dlgAbout.DoModal(); - } - else - { - CDialog::OnSysCommand(nID, lParam); - } -} - -// If you add a minimize button to your dialog, you will need the code below -// to draw the icon. For MFC applications using the document/view model, -// this is automatically done for you by the framework. - -void CSDK9524GPTCDlg::OnPaint() -{ - if (IsIconic()) - { - CPaintDC dc(this); // device context for painting - - SendMessage(WM_ICONERASEBKGND, reinterpret_cast(dc.GetSafeHdc()), 0); - - // Center icon in client rectangle - int cxIcon = GetSystemMetrics(SM_CXICON); - int cyIcon = GetSystemMetrics(SM_CYICON); - CRect rect; - GetClientRect(&rect); - int x = (rect.Width() - cxIcon + 1) / 2; - int y = (rect.Height() - cyIcon + 1) / 2; - - // Draw the icon - dc.DrawIcon(x, y, m_hIcon); - } - else - { - CDialog::OnPaint(); - } -} - -// The system calls this function to obtain the cursor to display while the user drags -// the minimized window. -HCURSOR CSDK9524GPTCDlg::OnQueryDragIcon() -{ - return static_cast(m_hIcon); -} - - -void CSDK9524GPTCDlg::OnGPTCNoSelchange() -{ - // TODO: Add your control notification handler code here - int nIndex; - - nIndex = m_cbGPTCNo.GetCurSel(); - switch( nIndex ) - { - case 0: - m_wGPTCNo = P9524_CTR_QD0; - break; - case 1: - m_wGPTCNo = P9524_CTR_QD1; - break; - case 2: - m_wGPTCNo = P9524_CTR_QD2; - break; - } - -} - -void CSDK9524GPTCDlg::OnGPTCMode0Start() -{ - // TODO: Add your control notification handler code here - I16 err; - CString strTmp; - - if( m_bRunning0 == 1 ) - { - err = GPTC_Control(m_hCard, m_wGPTCNo, P9524_CTR_Enable, 0); - err = GPTC_Clear(m_hCard, m_wGPTCNo); - - if( m_nTimer0 != NULL ) - { - KillTimer( m_nTimer0 ); - m_nTimer0 = NULL; - } - - m_bRunning0 = 0; - SetDlgItemText( IDC_BT_MODE0, TEXT("Start") ); - - } - else - { - if( m_nTimer0 == NULL ) - { - m_nTimer0 = SetTimer( TIMER_GPTC_MAJOR_MODE0, 20, NULL ); - } - - /*Setup GPTC*/ - err = GPTC_Setup(m_hCard, m_wGPTCNo, m_GPTCMode, 0, 0, 0, 0); - if( err<0 ) - { - strTmp.Format( TEXT("GPTC_Setup Error: %d"), err ); - AfxMessageBox( strTmp ); - return; - } - - /*Enable Counter*/ - err = GPTC_Control(m_hCard, m_wGPTCNo, P9524_CTR_Enable, 1); - if(err<0) - { - strTmp.Format( TEXT("GPTC_Control Error: %d"), err ); - AfxMessageBox( strTmp ); - return; - } - - m_bRunning0 = 1; - SetDlgItemText( IDC_BT_MODE0, TEXT("Stop") ); - - } -} - - - -void CSDK9524GPTCDlg::OnTimer(UINT_PTR nIDEvent) -{ - I16 err; - U32 dwGPTC_Val; - - // TODO: Add your message handler code here and/or call default - switch( nIDEvent ) - { - case TIMER_GPTC_MAJOR_MODE0: - err = GPTC_Read(m_hCard, m_wGPTCNo, &dwGPTC_Val); - SetDlgItemInt( IDC_EDIT_STATUS0, (UINT)dwGPTC_Val); - break; - } - - CDialog::OnTimer(nIDEvent); -} diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524Encoder/SDK9524GPTCDlg.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524Encoder/SDK9524GPTCDlg.h deleted file mode 100644 index 0919998..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524Encoder/SDK9524GPTCDlg.h +++ /dev/null @@ -1,48 +0,0 @@ - -// SDK9524GPTCDlg.h : header file -// - -#pragma once -#include "afxwin.h" - -#include "Dask64.h" - -// CSDK9524GPTCDlg dialog -class CSDK9524GPTCDlg : public CDialog -{ -// Construction -public: - CSDK9524GPTCDlg(I16 hCard, CWnd* pParent = NULL); // standard constructor - -// Dialog Data - enum { IDD = IDD_SDK9524GPTC_DIALOG }; - - protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - - -// Implementation -protected: - HICON m_hIcon; - I16 m_hCard; - U16 m_wGPTCNo; - U16 m_GPTCMode; - - UINT_PTR m_nTimer0; - - U8 m_bRunning0; - - // Generated message map functions - virtual BOOL OnInitDialog(); - afx_msg void OnSysCommand(UINT nID, LPARAM lParam); - afx_msg void OnPaint(); - afx_msg HCURSOR OnQueryDragIcon(); - DECLARE_MESSAGE_MAP() -public: - CComboBox m_cbGPTCNo; - - afx_msg void OnGPTCNoSelchange(); - afx_msg void OnGPTCMode0Start(); - void GPTC_Major_Process0(void); - afx_msg void OnTimer(UINT_PTR nIDEvent); -}; diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524Encoder/res/SDK9524GPTC.ico b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524Encoder/res/SDK9524GPTC.ico deleted file mode 100644 index d56fbcd..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524Encoder/res/SDK9524GPTC.ico and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524Encoder/res/SDK9524GPTC.rc2 b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524Encoder/res/SDK9524GPTC.rc2 deleted file mode 100644 index d97271e..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524Encoder/res/SDK9524GPTC.rc2 +++ /dev/null @@ -1,13 +0,0 @@ -// -// SDK9222GPTC.RC2 - resources Microsoft Visual C++ does not edit directly -// - -#ifdef APSTUDIO_INVOKED -#error this file is not editable by Microsoft Visual C++ -#endif //APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// Add manually edited resources here... - -///////////////////////////////////////////////////////////////////////////// diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524Encoder/resource.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524Encoder/resource.h deleted file mode 100644 index 3834a84..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524Encoder/resource.h +++ /dev/null @@ -1,28 +0,0 @@ -//{{NO_DEPENDENCIES}} -// Microsoft Visual C++ generated include file. -// Used by SDK9524GPTC.rc -// -#define IDM_ABOUTBOX 0x0010 -#define IDD_ABOUTBOX 100 -#define IDS_ABOUTBOX 101 -#define IDD_SDK9524GPTC_DIALOG 102 -#define IDR_MAINFRAME 128 -#define IDD_SIDD_CARDID_DIALOG 131 -#define IDD_CARDID_DIALOG 131 -#define IDC_COMBO_CARDID 1000 -#define IDC_BT_MODE0 1001 -#define IDC_EDIT_STATUS0 1002 -#define IDC_COMBO_GPTC 1003 -#define IDC_BT_MODE1 1004 -#define IDC_STATIC_01 1005 - -// Next default values for new objects -// -#ifdef APSTUDIO_INVOKED -#ifndef APSTUDIO_READONLY_SYMBOLS -#define _APS_NEXT_RESOURCE_VALUE 133 -#define _APS_NEXT_COMMAND_VALUE 32771 -#define _APS_NEXT_CONTROL_VALUE 1006 -#define _APS_NEXT_SYMED_VALUE 101 -#endif -#endif diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524Encoder/stdafx.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524Encoder/stdafx.cpp deleted file mode 100644 index 83f89a7..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524Encoder/stdafx.cpp +++ /dev/null @@ -1,8 +0,0 @@ - -// stdafx.cpp : source file that includes just the standard includes -// SDK9222GPTC.pch will be the pre-compiled header -// stdafx.obj will contain the pre-compiled type information - -#include "stdafx.h" - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524Encoder/stdafx.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524Encoder/stdafx.h deleted file mode 100644 index 12123e2..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524Encoder/stdafx.h +++ /dev/null @@ -1,60 +0,0 @@ - -// stdafx.h : include file for standard system include files, -// or project specific include files that are used frequently, -// but are changed infrequently - -#pragma once - -#ifndef _SECURE_ATL -#define _SECURE_ATL 1 -#endif - -#ifndef VC_EXTRALEAN -#define VC_EXTRALEAN // Exclude rarely-used stuff from Windows headers -#endif - -#include "targetver.h" - -#define _ATL_CSTRING_EXPLICIT_CONSTRUCTORS // some CString constructors will be explicit - -// turns off MFC's hiding of some common and often safely ignored warning messages -#define _AFX_ALL_WARNINGS - -#include // MFC core and standard components -#include // MFC extensions - - -#include // MFC Automation classes - - - -#ifndef _AFX_NO_OLE_SUPPORT -#include // MFC support for Internet Explorer 4 Common Controls -#endif -#ifndef _AFX_NO_AFXCMN_SUPPORT -#include // MFC support for Windows Common Controls -#endif // _AFX_NO_AFXCMN_SUPPORT - -#include // MFC support for ribbons and control bars - - - - - - - - - -#ifdef _UNICODE -#if defined _M_IX86 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='x86' publicKeyToken='6595b64144ccf1df' language='*'\"") -#elif defined _M_IA64 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='ia64' publicKeyToken='6595b64144ccf1df' language='*'\"") -#elif defined _M_X64 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='amd64' publicKeyToken='6595b64144ccf1df' language='*'\"") -#else -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='*' publicKeyToken='6595b64144ccf1df' language='*'\"") -#endif -#endif - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524Encoder/targetver.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524Encoder/targetver.h deleted file mode 100644 index 11730d5..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524Encoder/targetver.h +++ /dev/null @@ -1,26 +0,0 @@ - -#pragma once - -// The following macros define the minimum required platform. The minimum required platform -// is the earliest version of Windows, Internet Explorer etc. that has the necessary features to run -// your application. The macros work by enabling all features available on platform versions up to and -// including the version specified. - -// Modify the following defines if you have to target a platform prior to the ones specified below. -// Refer to MSDN for the latest info on corresponding values for different platforms. -#ifndef WINVER // Specifies that the minimum required platform is Windows Vista. -#define WINVER 0x0600 // Change this to the appropriate value to target other versions of Windows. -#endif - -#ifndef _WIN32_WINNT // Specifies that the minimum required platform is Windows Vista. -#define _WIN32_WINNT 0x0600 // Change this to the appropriate value to target other versions of Windows. -#endif - -#ifndef _WIN32_WINDOWS // Specifies that the minimum required platform is Windows 98. -#define _WIN32_WINDOWS 0x0410 // Change this to the appropriate value to target Windows Me or later. -#endif - -#ifndef _WIN32_IE // Specifies that the minimum required platform is Internet Explorer 7.0. -#define _WIN32_IE 0x0700 // Change this to the appropriate value to target other versions of IE. -#endif - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524LoadCellDma/9111int.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524LoadCellDma/9111int.suo deleted file mode 100644 index 1d7a5ee..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524LoadCellDma/9111int.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524LoadCellDma/9116dma.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524LoadCellDma/9116dma.suo deleted file mode 100644 index ac40639..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524LoadCellDma/9116dma.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524LoadCellDma/9221dma.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524LoadCellDma/9221dma.suo deleted file mode 100644 index dcc1d84..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524LoadCellDma/9221dma.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524LoadCellDma/9222dma.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524LoadCellDma/9222dma.suo deleted file mode 100644 index 907197b..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524LoadCellDma/9222dma.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524LoadCellDma/9223dma.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524LoadCellDma/9223dma.suo deleted file mode 100644 index e334f8b..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524LoadCellDma/9223dma.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524LoadCellDma/9524dma.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524LoadCellDma/9524dma.cpp deleted file mode 100644 index 38cf44f..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524LoadCellDma/9524dma.cpp +++ /dev/null @@ -1,109 +0,0 @@ - -// 9524dma.cpp : Defines the class behaviors for the application. -// - -#include "stdafx.h" -#include "9524dma.h" -#include "9524dmaDlg.h" -#include "CardIDDlg.h" - -#ifdef _DEBUG -#define new DEBUG_NEW -#endif - - -// C9524dmaApp - -BEGIN_MESSAGE_MAP(C9524dmaApp, CWinAppEx) - ON_COMMAND(ID_HELP, &CWinApp::OnHelp) -END_MESSAGE_MAP() - - -// C9524dmaApp construction - -C9524dmaApp::C9524dmaApp() -{ - // TODO: add construction code here, - // Place all significant initialization in InitInstance -} - - -// The one and only C9524dmaApp object - -C9524dmaApp theApp; - - -// C9524dmaApp initialization - -BOOL C9524dmaApp::InitInstance() -{ - int nCardID = 0; - I16 hCard; - CString strTemp; - INT_PTR nResponse; - - // InitCommonControlsEx() is required on Windows XP if an application - // manifest specifies use of ComCtl32.dll version 6 or later to enable - // visual styles. Otherwise, any window creation will fail. - INITCOMMONCONTROLSEX InitCtrls; - InitCtrls.dwSize = sizeof(InitCtrls); - // Set this to include all the common control classes you want to use - // in your application. - InitCtrls.dwICC = ICC_WIN95_CLASSES; - InitCommonControlsEx(&InitCtrls); - - CWinAppEx::InitInstance(); - - AfxEnableControlContainer(); - - // Standard initialization - // If you are not using these features and wish to reduce the size - // of your final executable, you should remove from the following - // the specific initialization routines you do not need - // Change the registry key under which our settings are stored - // TODO: You should modify this string to be something appropriate - // such as the name of your company or organization - SetRegistryKey(_T("Local AppWizard-Generated Applications")); - - CCardIDDlg CardDlg( nCardID ); - - nResponse = CardDlg.DoModal(); - if (nResponse == IDOK) - { - nCardID = CardDlg.GetCardID(); - - if ((hCard=Register_Card(PCI_9524, nCardID)) < 0) - { - strTemp.Format( TEXT("Register_Card Error = %d"), hCard); - AfxMessageBox( strTemp ); - } - else - { - C9524dmaDlg dlg(hCard); - m_pMainWnd = &dlg; - nResponse = dlg.DoModal(); - if (nResponse == IDOK) - { - // TODO: Place code here to handle when the dialog is - // dismissed with OK - } - else if (nResponse == IDCANCEL) - { - // TODO: Place code here to handle when the dialog is - // dismissed with Cancel - } - - if (hCard >= 0) Release_Card(hCard); - } - - } - else if (nResponse == IDCANCEL) - { - // TODO: Place code here to handle when the dialog is - // dismissed with Cancel - } - - // Since the dialog has been closed, return FALSE so that we exit the - // application, rather than start the application's message pump. - return FALSE; -} diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524LoadCellDma/9524dma.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524LoadCellDma/9524dma.h deleted file mode 100644 index 12e9e1d..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524LoadCellDma/9524dma.h +++ /dev/null @@ -1,34 +0,0 @@ - -// 9524dma.h : main header file for the PROJECT_NAME application -// - -#pragma once - -#ifndef __AFXWIN_H__ - #error "include 'stdafx.h' before including this file for PCH" -#endif - -#include "resource.h" // main symbols - -#define AI_MODE_DMA 0 -#define AI_MODE_INT 1 - -// C9524dmaApp: -// See 9524dma.cpp for the implementation of this class -// - -class C9524dmaApp : public CWinAppEx -{ -public: - C9524dmaApp(); - -// Overrides - public: - virtual BOOL InitInstance(); - -// Implementation - - DECLARE_MESSAGE_MAP() -}; - -extern C9524dmaApp theApp; \ No newline at end of file diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524LoadCellDma/9524dma.rc b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524LoadCellDma/9524dma.rc deleted file mode 100644 index dd3911d..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524LoadCellDma/9524dma.rc +++ /dev/null @@ -1,310 +0,0 @@ -// Microsoft Visual C++ generated resource script. -// -#include "resource.h" - -#define APSTUDIO_READONLY_SYMBOLS -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 2 resource. -// -#ifndef APSTUDIO_INVOKED -#include "targetver.h" -#endif -#include "afxres.h" - -///////////////////////////////////////////////////////////////////////////// -#undef APSTUDIO_READONLY_SYMBOLS - -///////////////////////////////////////////////////////////////////////////// -// Chinese (Taiwan) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_CHT) -#ifdef _WIN32 -LANGUAGE LANG_CHINESE, SUBLANG_CHINESE_TRADITIONAL -#pragma code_page(950) -#endif //_WIN32 - -#ifdef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// TEXTINCLUDE -// - -1 TEXTINCLUDE -BEGIN - "resource.h\0" -END - -2 TEXTINCLUDE -BEGIN - "#ifndef APSTUDIO_INVOKED\r\n" - "#include ""targetver.h""\r\n" - "#endif\r\n" - "#include ""afxres.h""\r\n" - "\0" -END - -3 TEXTINCLUDE -BEGIN - "#define _AFX_NO_SPLITTER_RESOURCES\r\n" - "#define _AFX_NO_OLE_RESOURCES\r\n" - "#define _AFX_NO_TRACKER_RESOURCES\r\n" - "#define _AFX_NO_PROPERTY_RESOURCES\r\n" - "\r\n" - "#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)\r\n" - "LANGUAGE 9, 1\r\n" - "#pragma code_page(1252)\r\n" - "#include ""res\\My9524dma.rc2"" // non-Microsoft Visual C++ edited resources\r\n" - "#include ""afxres.rc"" // Standard components\r\n" - "#endif\r\n" - "\0" -END - -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// Icon -// - -// Icon with lowest ID value placed first to ensure application icon -// remains consistent on all systems. -IDR_MAINFRAME ICON "res\\9524dma.ico" -#endif // Chinese (Taiwan) resources -///////////////////////////////////////////////////////////////////////////// - - -///////////////////////////////////////////////////////////////////////////// -// English (U.S.) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -#ifdef _WIN32 -LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US -#pragma code_page(1252) -#endif //_WIN32 - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog -// - -IDD_ABOUTBOX DIALOGEX 0, 0, 170, 62 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "About 9524dma" -FONT 8, "MS Shell Dlg", 0, 0, 0x1 -BEGIN - ICON IDR_MAINFRAME,IDC_STATIC,14,14,21,20 - LTEXT "9524dma, Version 1.0",IDC_STATIC,42,14,114,8,SS_NOPREFIX - LTEXT "Copyright (C) 2010",IDC_STATIC,42,26,114,8 - DEFPUSHBUTTON "OK",IDOK,113,41,50,14,WS_GROUP -END - -IDD_9524DMA_DIALOG DIALOGEX 0, 0, 365, 219 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU -EXSTYLE WS_EX_APPWINDOW -CAPTION "PCI-9524 AI Channel Read (P9524_AI_LC_Group)" -FONT 8, "MS Shell Dlg", 0, 0, 0x1 -BEGIN - GROUPBOX "",IDC_STATIC_DRAW,61,9,248,161,NOT WS_VISIBLE - CONTROL 131,IDC_STATIC,"Static",SS_BITMAP,337,29,9,44 - LTEXT "0",IDC_STATIC,325,29,10,11 - LTEXT "1",IDC_STATIC,325,40,10,11 - LTEXT "2",IDC_STATIC,325,51,10,11 - LTEXT "3",IDC_STATIC,325,63,10,11 - COMBOBOX IDC_COMBO_SCANCHAN,171,190,91,38,CBS_DROPDOWN | WS_VSCROLL | WS_TABSTOP - LTEXT "Read Channel :",IDC_STATIC,192,176,50,9 - PUSHBUTTON "Start",IDC_BT_START,281,183,75,22 - LTEXT "Sample rate :",IDC_STATIC,82,176,50,9 - COMBOBOX IDC_COMBO_SAMPLE_RATE,50,190,97,14,CBS_DROPDOWN | WS_VSCROLL | WS_TABSTOP -END - -IDD_CARDID_DIALOG DIALOGEX 0, 0, 165, 95 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "Card ID" -FONT 8, "MS Shell Dlg", 400, 0, 0x1 -BEGIN - COMBOBOX IDC_COMBO_CARDID,74,24,71,126,CBS_DROPDOWN | WS_VSCROLL | WS_TABSTOP - LTEXT "Card Number",IDC_STATIC_01,20,25,46,12 - PUSHBUTTON "OK",IDOK,22,62,58,19 - PUSHBUTTON "CANCEL",IDCANCEL,86,62,58,19 -END - - -///////////////////////////////////////////////////////////////////////////// -// -// Version -// - -VS_VERSION_INFO VERSIONINFO - FILEVERSION 1,0,0,1 - PRODUCTVERSION 1,0,0,1 - FILEFLAGSMASK 0x3fL -#ifdef _DEBUG - FILEFLAGS 0x1L -#else - FILEFLAGS 0x0L -#endif - FILEOS 0x4L - FILETYPE 0x1L - FILESUBTYPE 0x0L -BEGIN - BLOCK "StringFileInfo" - BEGIN - BLOCK "040904e4" - BEGIN - VALUE "CompanyName", "TODO: " - VALUE "FileDescription", "TODO: " - VALUE "FileVersion", "1.0.0.1" - VALUE "InternalName", "9524dma.exe" - VALUE "LegalCopyright", "TODO: (c) . All rights reserved." - VALUE "OriginalFilename", "9524dma.exe" - VALUE "ProductName", "TODO: " - VALUE "ProductVersion", "1.0.0.1" - END - END - BLOCK "VarFileInfo" - BEGIN - VALUE "Translation", 0x409, 1252 - END -END - - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog Info -// - -IDD_CARDID_DIALOG DLGINIT -BEGIN - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0030, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0031, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0032, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0033, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0034, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0035, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0036, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0037, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0038, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0039, - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3031, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3131, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3231, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3331, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3431, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3531, "\000" - 0 -END - -IDD_9524DMA_DIALOG DLGINIT -BEGIN - IDC_COMBO_SCANCHAN, 0x403, 16, 0 -0x3950, 0x3235, 0x5f34, 0x4941, 0x475f, 0x5f50, 0x4843, 0x0030, - IDC_COMBO_SCANCHAN, 0x403, 16, 0 -0x3950, 0x3235, 0x5f34, 0x4941, 0x475f, 0x5f50, 0x4843, 0x0031, - IDC_COMBO_SCANCHAN, 0x403, 16, 0 -0x3950, 0x3235, 0x5f34, 0x4941, 0x475f, 0x5f50, 0x4843, 0x0032, - IDC_COMBO_SCANCHAN, 0x403, 16, 0 -0x3950, 0x3235, 0x5f34, 0x4941, 0x475f, 0x5f50, 0x4843, 0x0033, - IDC_COMBO_SAMPLE_RATE, 0x403, 18, 0 -0x3950, 0x3235, 0x5f34, 0x4441, 0x5f43, 0x3033, 0x5f4b, 0x5053, 0x0053, - - IDC_COMBO_SAMPLE_RATE, 0x403, 18, 0 -0x3950, 0x3235, 0x5f34, 0x4441, 0x5f43, 0x3531, 0x5f4b, 0x5053, 0x0053, - - IDC_COMBO_SAMPLE_RATE, 0x403, 18, 0 -0x3950, 0x3235, 0x5f34, 0x4441, 0x5f43, 0x4b37, 0x5f35, 0x5053, 0x0053, - - IDC_COMBO_SAMPLE_RATE, 0x403, 19, 0 -0x3950, 0x3235, 0x5f34, 0x4441, 0x5f43, 0x4b33, 0x3537, 0x535f, 0x5350, -"\000" - IDC_COMBO_SAMPLE_RATE, 0x403, 17, 0 -0x3950, 0x3235, 0x5f34, 0x4441, 0x5f43, 0x4b32, 0x535f, 0x5350, "\000" - IDC_COMBO_SAMPLE_RATE, 0x403, 17, 0 -0x3950, 0x3235, 0x5f34, 0x4441, 0x5f43, 0x4b31, 0x535f, 0x5350, "\000" - IDC_COMBO_SAMPLE_RATE, 0x403, 18, 0 -0x3950, 0x3235, 0x5f34, 0x4441, 0x5f43, 0x3035, 0x5f30, 0x5053, 0x0053, - - IDC_COMBO_SAMPLE_RATE, 0x403, 18, 0 -0x3950, 0x3235, 0x5f34, 0x4441, 0x5f43, 0x3031, 0x5f30, 0x5053, 0x0053, - - IDC_COMBO_SAMPLE_RATE, 0x403, 17, 0 -0x3950, 0x3235, 0x5f34, 0x4441, 0x5f43, 0x3036, 0x535f, 0x5350, "\000" - IDC_COMBO_SAMPLE_RATE, 0x403, 17, 0 -0x3950, 0x3235, 0x5f34, 0x4441, 0x5f43, 0x3035, 0x535f, 0x5350, "\000" - IDC_COMBO_SAMPLE_RATE, 0x403, 17, 0 -0x3950, 0x3235, 0x5f34, 0x4441, 0x5f43, 0x3033, 0x535f, 0x5350, "\000" - IDC_COMBO_SAMPLE_RATE, 0x403, 17, 0 -0x3950, 0x3235, 0x5f34, 0x4441, 0x5f43, 0x3532, 0x535f, 0x5350, "\000" - IDC_COMBO_SAMPLE_RATE, 0x403, 17, 0 -0x3950, 0x3235, 0x5f34, 0x4441, 0x5f43, 0x3531, 0x535f, 0x5350, "\000" - IDC_COMBO_SAMPLE_RATE, 0x403, 17, 0 -0x3950, 0x3235, 0x5f34, 0x4441, 0x5f43, 0x3031, 0x535f, 0x5350, "\000" - IDC_COMBO_SAMPLE_RATE, 0x403, 16, 0 -0x3950, 0x3235, 0x5f34, 0x4441, 0x5f43, 0x5f35, 0x5053, 0x0053, - IDC_COMBO_SAMPLE_RATE, 0x403, 18, 0 -0x3950, 0x3235, 0x5f34, 0x4441, 0x5f43, 0x5232, 0x5f35, 0x5053, 0x0053, - - 0 -END - - -///////////////////////////////////////////////////////////////////////////// -// -// Bitmap -// - -IDB_BITMAP_SET1 BITMAP "res\\ch_set1.bmp" -IDB_BITMAP_SET2 BITMAP "res\\ch_set2.bmp" - -///////////////////////////////////////////////////////////////////////////// -// -// String Table -// - -STRINGTABLE -BEGIN - IDS_ABOUTBOX "&About 9524dma..." -END - -#endif // English (U.S.) resources -///////////////////////////////////////////////////////////////////////////// - - - -#ifndef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 3 resource. -// -#define _AFX_NO_SPLITTER_RESOURCES -#define _AFX_NO_OLE_RESOURCES -#define _AFX_NO_TRACKER_RESOURCES -#define _AFX_NO_PROPERTY_RESOURCES - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -LANGUAGE 9, 1 -#pragma code_page(1252) -#include "res\My9524dma.rc2" // non-Microsoft Visual C++ edited resources -#include "afxres.rc" // Standard components -#endif - -///////////////////////////////////////////////////////////////////////////// -#endif // not APSTUDIO_INVOKED - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524LoadCellDma/9524dma.sln b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524LoadCellDma/9524dma.sln deleted file mode 100644 index b798539..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524LoadCellDma/9524dma.sln +++ /dev/null @@ -1,20 +0,0 @@ - -Microsoft Visual Studio Solution File, Format Version 10.00 -# Visual Studio 2008 -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "9524dma", "9524dma.vcproj", "{702163FB-B6DF-4EF5-9491-FC54D71509BC}" -EndProject -Global - GlobalSection(SolutionConfigurationPlatforms) = preSolution - Debug|x64 = Debug|x64 - Release|x64 = Release|x64 - EndGlobalSection - GlobalSection(ProjectConfigurationPlatforms) = postSolution - {702163FB-B6DF-4EF5-9491-FC54D71509BC}.Debug|x64.ActiveCfg = Debug|x64 - {702163FB-B6DF-4EF5-9491-FC54D71509BC}.Debug|x64.Build.0 = Debug|x64 - {702163FB-B6DF-4EF5-9491-FC54D71509BC}.Release|x64.ActiveCfg = Release|x64 - {702163FB-B6DF-4EF5-9491-FC54D71509BC}.Release|x64.Build.0 = Release|x64 - EndGlobalSection - GlobalSection(SolutionProperties) = preSolution - HideSolutionNode = FALSE - EndGlobalSection -EndGlobal diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524LoadCellDma/9524dma.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524LoadCellDma/9524dma.suo deleted file mode 100644 index 94fce30..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524LoadCellDma/9524dma.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524LoadCellDma/9524dma.vcproj b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524LoadCellDma/9524dma.vcproj deleted file mode 100644 index a68bb8e..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524LoadCellDma/9524dma.vcproj +++ /dev/null @@ -1,294 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524LoadCellDma/9524dmaDlg.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524LoadCellDma/9524dmaDlg.cpp deleted file mode 100644 index 8f5b8c6..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524LoadCellDma/9524dmaDlg.cpp +++ /dev/null @@ -1,548 +0,0 @@ - -// 9524dmaDlg.cpp : implementation file -// - -#include "stdafx.h" -#include "9524dma.h" -#include "9524dmaDlg.h" - -#ifdef _DEBUG -#define new DEBUG_NEW -#endif - -CRect plotRect; - -// CAboutDlg dialog used for App About - -class CAboutDlg : public CDialog -{ -public: - CAboutDlg(); - -// Dialog Data - enum { IDD = IDD_ABOUTBOX }; - - protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - -// Implementation -protected: - DECLARE_MESSAGE_MAP() -}; - -CAboutDlg::CAboutDlg() : CDialog(CAboutDlg::IDD) -{ -} - -void CAboutDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); -} - -BEGIN_MESSAGE_MAP(CAboutDlg, CDialog) -END_MESSAGE_MAP() - - -// C9524dmaDlg dialog - - -C9524dmaDlg::C9524dmaDlg(I16 hCard, CWnd* pParent /*=NULL*/) - : CDialog(C9524dmaDlg::IDD, pParent) -{ - m_hIcon = AfxGetApp()->LoadIcon(IDR_MAINFRAME); - - n_PlotWidth = n_PlotHeight = -1; - OnBrush = OffBrush = NULL; - - m_hCard = hCard; - m_nTimer = -1; - - m_wRange = AD_B_10_V; - - max_range = 8388607; - min_range = -8388608; - - m_wXMode = P9524_AI_XFER_DMA; - m_dwSampRate = P9524_ADC_30K_SPS; - w_mGroup = P9524_AI_LC_Group; - m_wChan = P9524_AI_LC_CH0; -} - -void C9524dmaDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); - DDX_Control(pDX, IDC_COMBO_SCANCHAN, m_cbScanChans); - DDX_Control(pDX, IDC_COMBO_SAMPLE_RATE, m_cbSampRate); -} - -BEGIN_MESSAGE_MAP(C9524dmaDlg, CDialog) - ON_WM_SYSCOMMAND() - ON_WM_PAINT() - ON_WM_QUERYDRAGICON() - //}}AFX_MSG_MAP - ON_WM_DESTROY() - ON_CBN_SELCHANGE(IDC_COMBO_SCANCHAN, &C9524dmaDlg::OnScanChanSelchange) - ON_BN_CLICKED(IDC_BT_START, &C9524dmaDlg::OnStart) - ON_WM_TIMER() - ON_CBN_SELCHANGE(IDC_COMBO_SAMPLE_RATE, &C9524dmaDlg::OnSampRateSelchange) -END_MESSAGE_MAP() - - -// C9524dmaDlg message handlers - -BOOL C9524dmaDlg::OnInitDialog() -{ - CDialog::OnInitDialog(); - - // Add "About..." menu item to system menu. - - // IDM_ABOUTBOX must be in the system command range. - ASSERT((IDM_ABOUTBOX & 0xFFF0) == IDM_ABOUTBOX); - ASSERT(IDM_ABOUTBOX < 0xF000); - - CMenu* pSysMenu = GetSystemMenu(FALSE); - if (pSysMenu != NULL) - { - BOOL bNameValid; - CString strAboutMenu; - bNameValid = strAboutMenu.LoadString(IDS_ABOUTBOX); - ASSERT(bNameValid); - if (!strAboutMenu.IsEmpty()) - { - pSysMenu->AppendMenu(MF_SEPARATOR); - pSysMenu->AppendMenu(MF_STRING, IDM_ABOUTBOX, strAboutMenu); - } - } - - // Set the icon for this dialog. The framework does this automatically - // when the application's main window is not a dialog - SetIcon(m_hIcon, TRUE); // Set big icon - SetIcon(m_hIcon, FALSE); // Set small icon - - // TODO: Add extra initialization here - x_divider = 5; y_divider = 4; - - OnBrush = CreateSolidBrush( RGB(255,0,0) ); - OffBrush = CreateSolidBrush( RGB(125,0,0) ); - - RedPen.CreatePen( PS_SOLID, 1, RGB(255,0,0)); - GreenPen.CreatePen( PS_SOLID, 1, RGB(0,255,0)); - YellowPen.CreatePen( PS_SOLID, 1, RGB(255,255,0)); - BluePen.CreatePen( PS_SOLID, 1, RGB(0,0,255)); - - if( n_PlotWidth == -1 && n_PlotHeight == -1 ) - { - ((CWnd*)GetDlgItem(IDC_STATIC_DRAW))->GetWindowRect(&plotRect); - ScreenToClient(&plotRect); - - n_PlotWidth = min( plotRect.Width(), 512); - n_PlotHeight = plotRect.Height() - 10; - } - - // set the default SampleRate - m_cbSampRate.SetCurSel( 0 ); - m_cbScanChans.SetCurSel( 0 ); - - return TRUE; // return TRUE unless you set the focus to a control -} - -void C9524dmaDlg::OnSysCommand(UINT nID, LPARAM lParam) -{ - if ((nID & 0xFFF0) == IDM_ABOUTBOX) - { - CAboutDlg dlgAbout; - dlgAbout.DoModal(); - } - else - { - CDialog::OnSysCommand(nID, lParam); - } -} - -// If you add a minimize button to your dialog, you will need the code below -// to draw the icon. For MFC applications using the document/view model, -// this is automatically done for you by the framework. - -void C9524dmaDlg::OnPaint() -{ - if (IsIconic()) - { - CPaintDC dc(this); // device context for painting - - SendMessage(WM_ICONERASEBKGND, reinterpret_cast(dc.GetSafeHdc()), 0); - - // Center icon in client rectangle - int cxIcon = GetSystemMetrics(SM_CXICON); - int cyIcon = GetSystemMetrics(SM_CYICON); - CRect rect; - GetClientRect(&rect); - int x = (rect.Width() - cxIcon + 1) / 2; - int y = (rect.Height() - cyIcon + 1) / 2; - - // Draw the icon - dc.DrawIcon(x, y, m_hIcon); - } - else - { - redraw_display_area(); - CDialog::OnPaint(); - } -} - -// The system calls this function to obtain the cursor to display while the user drags -// the minimized window. -HCURSOR C9524dmaDlg::OnQueryDragIcon() -{ - return static_cast(m_hIcon); -} - - -void C9524dmaDlg::redraw_display_area(void) -{ - CPen *oldPen; - - int oldMode; - COLORREF oldColor; - double fTemp; - U32 dwTemp; - - CString y_lable; - - CPen minor_tick( PS_SOLID,1,RGB(132,130,132) ); -// CPen y_grid( PS_SOLID,1,RGB(206,203,132) ); - - int i, x_intv, y_intv; -// long total_sec; - - CClientDC dc_plot(this); - - // draw the base-line for x-y axises - oldPen = (CPen *)dc_plot.SelectStockObject(BLACK_PEN); - - // redraw the background - dc_plot.FillSolidRect( plotRect, RGB(0,0,0) ); - - // Re-Draw the AREA for Y-Lable - { - CBrush DIALOG_BRUSH; - CRect redraw_area, full_client; - - GetClientRect(&full_client); - ScreenToClient(&full_client); - - redraw_area.left = full_client.left; - redraw_area.top = plotRect.top - 5; - redraw_area.right = plotRect.left - 3; - redraw_area.bottom = plotRect.bottom + 10; - - DIALOG_BRUSH.CreateSysColorBrush( COLOR_3DFACE ); - - dc_plot.FillRect( redraw_area, &DIALOG_BRUSH ); - - DIALOG_BRUSH.DeleteObject(); - } - - dc_plot.MoveTo( plotRect.left - 3, plotRect.top ); - dc_plot.LineTo( plotRect.left - 3, plotRect.bottom ); - - // calculate the interval for tick/grid - y_intv = (plotRect.Height() - 10) /y_divider; - x_intv = plotRect.Width()/x_divider; - - - // set the color for tick - oldColor = dc_plot.SetTextColor( RGB(0,0,0) ); - oldMode = dc_plot.SetBkMode( TRANSPARENT ); - - for( i=0; i<= y_divider; i++ ) - { - CString tick_str; - CRect tmp_rect, tick_rect; - - // draw the tick for y-axis - dc_plot.MoveTo( plotRect.left -12, plotRect.bottom -5 - (i*y_intv) ); - dc_plot.LineTo( plotRect.left -3, plotRect.bottom -5 - (i*y_intv) ); - - fTemp = ( ((max_range-min_range)/y_divider) * i)+min_range; - dwTemp = (U32) fTemp; - if( dwTemp & 0x80000000 ) // negative value - { - dwTemp = (dwTemp & 0x00FFFFFF); - } - - tick_str.Format( _T("0x%06X"), dwTemp ); - - // calculate the rectangle for text - dc_plot.DrawText( tick_str, &tmp_rect, DT_CALCRECT|DT_SINGLELINE ); - tick_rect.right = plotRect.left -14; - tick_rect.left = tick_rect.right - tmp_rect.Width(); - tick_rect.top = plotRect.bottom -5 - (i*y_intv) - tmp_rect.Height()/2; - tick_rect.bottom = tick_rect.top + tmp_rect.Height(); - - // draw the text - dc_plot.DrawText( tick_str, &tick_rect, DT_SINGLELINE|DT_RIGHT ); - - } - - // draw the minor_tick for Y axises - dc_plot.SelectObject(&minor_tick); - for( i=0; i< y_divider; i++ ) - { - dc_plot.MoveTo( plotRect.left -9, plotRect.bottom -5 - (i*y_intv) - y_intv/2 ); - dc_plot.LineTo( plotRect.left -4, plotRect.bottom -5 - (i*y_intv) - y_intv/2 ); - } - - dc_plot.SetTextColor( oldColor ); - dc_plot.SetBkMode( oldMode ); - dc_plot.SelectObject( oldPen ); -} - -void C9524dmaDlg::OnDestroy() -{ - CDialog::OnDestroy(); - - // TODO: Add your message handler code here - if( m_nTimer != -1 ) - { - KillTimer( m_nTimer ); - m_nTimer = -1; - } - - - if( OnBrush != NULL ) - ::DeleteObject( OnBrush ); - - if( OffBrush != NULL ) - ::DeleteObject( OffBrush ); - - RedPen.DeleteObject(); - GreenPen.DeleteObject(); - YellowPen.DeleteObject(); - BluePen.DeleteObject(); -} - -void C9524dmaDlg::OnScanChanSelchange() -{ - // TODO: Add your control notification handler code here - int nIndex; - - nIndex = m_cbScanChans.GetCurSel(); - - switch( nIndex ) - { - case 0: - m_wChan = P9524_AI_LC_CH0; - break; - case 1: - m_wChan = P9524_AI_LC_CH1; - break; - case 2: - m_wChan = P9524_AI_LC_CH2; - break; - case 3: - m_wChan = P9524_AI_LC_CH3; - break; - } - -} - -void C9524dmaDlg::OnStart() -{ - // TODO: Add your control notification handler code here - CString strTemp; - I16 err; - - GetDlgItem( IDC_BT_START )->EnableWindow(FALSE); - - // allocate a memory for user DMA buffer - memset( m_AIBuf, '\0', READCOUNT * sizeof(U32) ); - - - m_oldY[0] = m_oldY[1] = m_oldY[2] = m_oldY[3] = -1; - m_oldX[0] = m_oldX[1] = m_oldX[2] = m_oldX[3] = -1; - - /*Disable Double Buffer Mode*/ - err = AI_AsyncDblBufferMode(m_hCard, 0); // single-buffer mode - if (err!=0) - { - strTemp.Format( TEXT("AI_DblBufferMode error=%d"), err); - AfxMessageBox( strTemp ); - return; - } - - err = AI_ContBufferSetup (m_hCard, m_AIBuf, READCOUNT, &m_wBufferID); - if (err!=0) - { - strTemp.Format( TEXT("AI_ContBufferSetup error=%d"), err); - AfxMessageBox( strTemp ); - return; - } - - err = AI_9524_SetDSP(m_hCard, m_wChan, P9524_SPIKE_REJ_ENABLE, 5, 268); - if(err<0) - { - strTemp.Format( TEXT("AI_9524_SetDSP error=%d"), err); - AfxMessageBox( strTemp ); - return; - } - - /*Configure AI*/ - err = AI_9524_Config(m_hCard, w_mGroup, m_wXMode, (P9524_VEX_Range_10V|P9524_VEX_Sence_Remote|P9524_AI_AZMode|P9524_AI_BufAutoReset), 0, 0); - if (err!=0) - { - strTemp.Format( TEXT("AI_9524_Config error=%d"), err); - AfxMessageBox( strTemp ); - return; - } - - err = AI_ContReadChannel(m_hCard, m_wChan, 0, &m_wBufferID, READCOUNT, (F64)m_dwSampRate, ASYNCH_OP); - if (err!=0) - { - strTemp.Format( TEXT("AI_ContScanChannels error=%d"), err); - AfxMessageBox( strTemp ); - return; - } - - m_nTimer = SetTimer( 1, 20, NULL ); - -} - -int C9524dmaDlg::display_buffer_data(U32* pBuf) -{ - CClientDC dc_plot(this); - int nDraw_Origin_Y; - int cur_channel; - - int newY = -1; - int newX = -1; - U32 index; - I32 ai_data, nTemp; - - dc_plot.FillSolidRect( plotRect, RGB(0,0,0) ); - - nDraw_Origin_Y = ( plotRect.bottom - 5 ) - n_PlotHeight/2; - - for( index=0; index> 4) & 0x0F); - ai_data = (nTemp >> 8); - - newY = (int)( nDraw_Origin_Y - ((n_PlotHeight * ai_data) >> 24) ); // ( n_PlotHeight * ai_data / 16777216) ); // ( (n_PlotHeight/2) * ai_data/8388608 ) ); - newX = (int)( index*n_PlotWidth/READCOUNT + plotRect.left ); - - switch(cur_channel) - { - case 0: - dc_plot.SelectObject(&YellowPen); - break; - case 1: - dc_plot.SelectObject(&BluePen); - break; - case 2: - dc_plot.SelectObject(&BluePen); - break; - case 3: - dc_plot.SelectObject(&RedPen); - break; - } - - - if ( m_oldX[cur_channel] == -1 ) - { - dc_plot.MoveTo( newX, newY ); - } - else - { - dc_plot.MoveTo( m_oldX[cur_channel], m_oldY[cur_channel] ); - dc_plot.LineTo( newX, newY ); - } - - m_oldX[cur_channel] = newX; - m_oldY[cur_channel] = newY; - } - - return 0; -} - -void C9524dmaDlg::OnTimer(UINT_PTR nIDEvent) -{ - // TODO: Add your message handler code here and/or call default - BOOLEAN fstop; - U32 count; - - AI_AsyncCheck(m_hCard, &fstop, &count); - - if( fstop == TRUE ) - { - AI_AsyncClear(m_hCard, &count); - - KillTimer( m_nTimer ); - m_nTimer = -1; - - display_buffer_data( m_AIBuf ); - - GetDlgItem( IDC_BT_START )->EnableWindow(TRUE); - } - - CDialog::OnTimer(nIDEvent); -} - -void C9524dmaDlg::OnSampRateSelchange() -{ - // TODO: Add your control notification handler code here - int nIndex; - - nIndex = m_cbSampRate.GetCurSel(); - switch( nIndex ) - { - case 0: - m_dwSampRate = P9524_ADC_30K_SPS; - break; - case 1: - m_dwSampRate = P9524_ADC_15K_SPS; - break; - case 2: - m_dwSampRate = P9524_ADC_7K5_SPS; - break; - case 3: - m_dwSampRate = P9524_ADC_3K75_SPS; - break; - case 4: - m_dwSampRate = P9524_ADC_2K_SPS; - break; - case 5: - m_dwSampRate = P9524_ADC_1K_SPS; - break; - case 6: - m_dwSampRate = P9524_ADC_500_SPS; - break; - case 7: - m_dwSampRate = P9524_ADC_100_SPS; - break; - case 8: - m_dwSampRate = P9524_ADC_60_SPS; - break; - case 9: - m_dwSampRate = P9524_ADC_50_SPS; - break; - case 10: - m_dwSampRate = P9524_ADC_30_SPS; - break; - case 11: - m_dwSampRate = P9524_ADC_25_SPS; - break; - case 12: - m_dwSampRate = P9524_ADC_15_SPS; - break; - case 13: - m_dwSampRate = P9524_ADC_10_SPS; - break; - case 14: - m_dwSampRate = P9524_ADC_5_SPS; - break; - case 15: - m_dwSampRate = P9524_ADC_2R5_SPS; - break; - } -} diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524LoadCellDma/9524dmaDlg.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524LoadCellDma/9524dmaDlg.h deleted file mode 100644 index b80877c..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524LoadCellDma/9524dmaDlg.h +++ /dev/null @@ -1,73 +0,0 @@ - -// 9524dmaDlg.h : header file -#pragma once -#include "afxcmn.h" -#include "afxwin.h" - -#include "Dask64.h" - -#define READCOUNT 4096 - -// C9524dmaDlg dialog -class C9524dmaDlg : public CDialog -{ -// Construction -public: - C9524dmaDlg(I16 hCard, CWnd* pParent = NULL); // standard constructor - -// Dialog Data - enum { IDD = IDD_9524DMA_DIALOG }; - - protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - - -// Implementation -protected: - HICON m_hIcon; - UINT_PTR m_nTimer; - I16 m_hCard; - U32 m_dwSampRate; - U16 m_wChan; - U16 m_wBufferID; - U32 m_AIBuf[READCOUNT]; - U16 m_wRange; - U16 m_wXMode; - U16 w_mGroup; - int m_oldY[4]; - int m_oldX[4]; - - // Generated message map functions - virtual BOOL OnInitDialog(); - afx_msg void OnSysCommand(UINT nID, LPARAM lParam); - afx_msg void OnPaint(); - afx_msg HCURSOR OnQueryDragIcon(); - DECLARE_MESSAGE_MAP() - -public: - WORD max_val; - WORD min_val; - double max_range; - double min_range; - int n_PlotWidth; - int n_PlotHeight; - int y_divider; - int x_divider; - int m_DisplayScale; - HBRUSH OnBrush; - HBRUSH OffBrush; - CPen RedPen; - CPen GreenPen; - CPen YellowPen; - CPen BluePen; - void redraw_display_area(void); - afx_msg void OnDestroy(); - CComboBox m_cbScanChans; - afx_msg void OnVScroll(UINT nSBCode, UINT nPos, CScrollBar* pScrollBar); - afx_msg void OnScanChanSelchange(); - afx_msg void OnStart(); - int display_buffer_data(U32* pBuf); - afx_msg void OnTimer(UINT_PTR nIDEvent); - CComboBox m_cbSampRate; - afx_msg void OnSampRateSelchange(); -}; diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524LoadCellDma/CardIDDlg.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524LoadCellDma/CardIDDlg.cpp deleted file mode 100644 index c58d3ac..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524LoadCellDma/CardIDDlg.cpp +++ /dev/null @@ -1,64 +0,0 @@ -// CardIDDlg.cpp : implementation file -// -#include "stdafx.h" -#include "9524dma.h" -#include "9524dmaDlg.h" -#include "CardIDDlg.h" - -// CCardIDDlg dialog - -IMPLEMENT_DYNAMIC(CCardIDDlg, CDialog) - -CCardIDDlg::CCardIDDlg(int nCardIdx, CWnd* pParent /*=NULL*/) - : CDialog(CCardIDDlg::IDD, pParent) -{ - m_nCardIdx = nCardIdx; -} - -CCardIDDlg::~CCardIDDlg() -{ -} - -void CCardIDDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); - DDX_Control(pDX, IDC_COMBO_CARDID, m_cbCardID); -} - - -BEGIN_MESSAGE_MAP(CCardIDDlg, CDialog) -// ON_CBN_SELCHANGE(IDC_COMBO_CARDID, &CCardIDDlg::OnCbnSelchangeComboCardid) -ON_BN_CLICKED(IDOK, &CCardIDDlg::OnBnClickedOk) -//ON_WM_CTLCOLOR() -END_MESSAGE_MAP() - - -// CCardIDDlg message handlers - - -void CCardIDDlg::OnBnClickedOk() -{ - // TODO: Add your control notification handler code here - -// UpdateData(TRUE); - m_nCardIdx = m_cbCardID.GetCurSel(); - - OnOK(); -} - -BOOL CCardIDDlg::OnInitDialog() -{ - CDialog::OnInitDialog(); - - // TODO: Add extra initialization here - m_cbCardID.SetCurSel( m_nCardIdx ); - - return TRUE; // return TRUE unless you set the focus to a control - // EXCEPTION: OCX Property Pages should return FALSE -} - -// the function to get the selected CardID -int CCardIDDlg::GetCardID(void) -{ - return m_nCardIdx; -} diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524LoadCellDma/CardIDDlg.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524LoadCellDma/CardIDDlg.h deleted file mode 100644 index 9c02c58..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524LoadCellDma/CardIDDlg.h +++ /dev/null @@ -1,32 +0,0 @@ -#pragma once -#include "afxwin.h" - -#include "Dask64.h" - -// CCardIDDlg dialog - -class CCardIDDlg : public CDialog -{ - DECLARE_DYNAMIC(CCardIDDlg) - -public: - CCardIDDlg(int nCardIdx, CWnd* pParent = NULL); // standard constructor - virtual ~CCardIDDlg(); - -// Dialog Data - enum { IDD = IDD_CARDID_DIALOG }; - -protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - - DECLARE_MESSAGE_MAP() -public: - virtual BOOL OnInitDialog(); - afx_msg void OnBnClickedOk(); - // the setting of CardID ComboBox - int m_nCardIdx; - // the control of CardID ComboBox - CComboBox m_cbCardID; - // the function to get the selected CardID - int GetCardID(void); -}; diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524LoadCellDma/ReadMe.txt b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524LoadCellDma/ReadMe.txt deleted file mode 100644 index 4ed0830..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524LoadCellDma/ReadMe.txt +++ /dev/null @@ -1,93 +0,0 @@ -================================================================================ - MICROSOFT FOUNDATION CLASS LIBRARY : 9524dma Project Overview -=============================================================================== - -The application wizard has created this 9524dma application for -you. This application not only demonstrates the basics of using the Microsoft -Foundation Classes but is also a starting point for writing your application. - -This file contains a summary of what you will find in each of the files that -make up your 9524dma application. - -9524dma.vcproj - This is the main project file for VC++ projects generated using an application wizard. - It contains information about the version of Visual C++ that generated the file, and - information about the platforms, configurations, and project features selected with the - application wizard. - -9524dma.h - This is the main header file for the application. It includes other - project specific headers (including Resource.h) and declares the - C9524dmaApp application class. - -9524dma.cpp - This is the main application source file that contains the application - class C9524dmaApp. - -9524dma.rc - This is a listing of all of the Microsoft Windows resources that the - program uses. It includes the icons, bitmaps, and cursors that are stored - in the RES subdirectory. This file can be directly edited in Microsoft - Visual C++. Your project resources are in 1033. - -res\9524dma.ico - This is an icon file, which is used as the application's icon. This - icon is included by the main resource file 9524dma.rc. - -res\My9524dma.rc2 - This file contains resources that are not edited by Microsoft - Visual C++. You should place all resources not editable by - the resource editor in this file. - - -///////////////////////////////////////////////////////////////////////////// - -The application wizard creates one dialog class: - -9524dmaDlg.h, 9524dmaDlg.cpp - the dialog - These files contain your C9524dmaDlg class. This class defines - the behavior of your application's main dialog. The dialog's template is - in 9524dma.rc, which can be edited in Microsoft Visual C++. - - -///////////////////////////////////////////////////////////////////////////// - -Other Features: - -ActiveX Controls - The application includes support to use ActiveX controls. - -///////////////////////////////////////////////////////////////////////////// - -Other standard files: - -StdAfx.h, StdAfx.cpp - These files are used to build a precompiled header (PCH) file - named 9524dma.pch and a precompiled types file named StdAfx.obj. - -Resource.h - This is the standard header file, which defines new resource IDs. - Microsoft Visual C++ reads and updates this file. - -9524dma.manifest - Application manifest files are used by Windows XP to describe an applications - dependency on specific versions of Side-by-Side assemblies. The loader uses this - information to load the appropriate assembly from the assembly cache or private - from the application. The Application manifest maybe included for redistribution - as an external .manifest file that is installed in the same folder as the application - executable or it may be included in the executable in the form of a resource. -///////////////////////////////////////////////////////////////////////////// - -Other notes: - -The application wizard uses "TODO:" to indicate parts of the source code you -should add to or customize. - -If your application uses MFC in a shared DLL, you will need -to redistribute the MFC DLLs. If your application is in a language -other than the operating system's locale, you will also have to -redistribute the corresponding localized resources MFC90XXX.DLL. -For more information on both of these topics, please see the section on -redistributing Visual C++ applications in MSDN documentation. - -///////////////////////////////////////////////////////////////////////////// diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524LoadCellDma/res/9524dma.ico b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524LoadCellDma/res/9524dma.ico deleted file mode 100644 index d56fbcd..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524LoadCellDma/res/9524dma.ico and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524LoadCellDma/res/My9524dma.rc2 b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524LoadCellDma/res/My9524dma.rc2 deleted file mode 100644 index 383cde2..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524LoadCellDma/res/My9524dma.rc2 +++ /dev/null @@ -1,13 +0,0 @@ -// -// My9111int.RC2 - resources Microsoft Visual C++ does not edit directly -// - -#ifdef APSTUDIO_INVOKED -#error this file is not editable by Microsoft Visual C++ -#endif //APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// Add manually edited resources here... - -///////////////////////////////////////////////////////////////////////////// diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524LoadCellDma/res/ch_set1.bmp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524LoadCellDma/res/ch_set1.bmp deleted file mode 100644 index f2374ed..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524LoadCellDma/res/ch_set1.bmp and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524LoadCellDma/res/ch_set2.bmp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524LoadCellDma/res/ch_set2.bmp deleted file mode 100644 index 32d0915..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524LoadCellDma/res/ch_set2.bmp and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524LoadCellDma/resource.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524LoadCellDma/resource.h deleted file mode 100644 index 3b0c8a4..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524LoadCellDma/resource.h +++ /dev/null @@ -1,32 +0,0 @@ -//{{NO_DEPENDENCIES}} -// Microsoft Visual C++ generated include file. -// Used by 9524dma.rc -// -#define IDM_ABOUTBOX 0x0010 -#define IDD_ABOUTBOX 100 -#define IDS_ABOUTBOX 101 -#define IDD_9524DMA_DIALOG 102 -#define IDR_MAINFRAME 128 -#define IDD_CARDID_DIALOG 129 -#define IDB_BITMAP_SET1 131 -#define IDB_BITMAP_SET2 132 -#define IDC_STATIC_DRAW 1000 -#define IDC_COMBO_CARDID 1001 -#define IDC_COMBO_SCANCHAN 1001 -#define IDC_BT_START 1002 -#define IDC_EDIT_SCAN_ITERVAL 1003 -#define IDC_SCROLLBAR_RATE 1006 -#define IDC_COMBO_SAMPLE_RATE 1010 -#define IDC_STATIC_01 1014 -#define IDC_STATIC_2 1015 - -// Next default values for new objects -// -#ifdef APSTUDIO_INVOKED -#ifndef APSTUDIO_READONLY_SYMBOLS -#define _APS_NEXT_RESOURCE_VALUE 134 -#define _APS_NEXT_COMMAND_VALUE 32771 -#define _APS_NEXT_CONTROL_VALUE 1003 -#define _APS_NEXT_SYMED_VALUE 101 -#endif -#endif diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524LoadCellDma/stdafx.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524LoadCellDma/stdafx.cpp deleted file mode 100644 index a27df68..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524LoadCellDma/stdafx.cpp +++ /dev/null @@ -1,8 +0,0 @@ - -// stdafx.cpp : source file that includes just the standard includes -// 9223dma.pch will be the pre-compiled header -// stdafx.obj will contain the pre-compiled type information - -#include "stdafx.h" - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524LoadCellDma/stdafx.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524LoadCellDma/stdafx.h deleted file mode 100644 index 12123e2..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524LoadCellDma/stdafx.h +++ /dev/null @@ -1,60 +0,0 @@ - -// stdafx.h : include file for standard system include files, -// or project specific include files that are used frequently, -// but are changed infrequently - -#pragma once - -#ifndef _SECURE_ATL -#define _SECURE_ATL 1 -#endif - -#ifndef VC_EXTRALEAN -#define VC_EXTRALEAN // Exclude rarely-used stuff from Windows headers -#endif - -#include "targetver.h" - -#define _ATL_CSTRING_EXPLICIT_CONSTRUCTORS // some CString constructors will be explicit - -// turns off MFC's hiding of some common and often safely ignored warning messages -#define _AFX_ALL_WARNINGS - -#include // MFC core and standard components -#include // MFC extensions - - -#include // MFC Automation classes - - - -#ifndef _AFX_NO_OLE_SUPPORT -#include // MFC support for Internet Explorer 4 Common Controls -#endif -#ifndef _AFX_NO_AFXCMN_SUPPORT -#include // MFC support for Windows Common Controls -#endif // _AFX_NO_AFXCMN_SUPPORT - -#include // MFC support for ribbons and control bars - - - - - - - - - -#ifdef _UNICODE -#if defined _M_IX86 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='x86' publicKeyToken='6595b64144ccf1df' language='*'\"") -#elif defined _M_IA64 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='ia64' publicKeyToken='6595b64144ccf1df' language='*'\"") -#elif defined _M_X64 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='amd64' publicKeyToken='6595b64144ccf1df' language='*'\"") -#else -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='*' publicKeyToken='6595b64144ccf1df' language='*'\"") -#endif -#endif - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524LoadCellDma/targetver.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524LoadCellDma/targetver.h deleted file mode 100644 index 11730d5..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524LoadCellDma/targetver.h +++ /dev/null @@ -1,26 +0,0 @@ - -#pragma once - -// The following macros define the minimum required platform. The minimum required platform -// is the earliest version of Windows, Internet Explorer etc. that has the necessary features to run -// your application. The macros work by enabling all features available on platform versions up to and -// including the version specified. - -// Modify the following defines if you have to target a platform prior to the ones specified below. -// Refer to MSDN for the latest info on corresponding values for different platforms. -#ifndef WINVER // Specifies that the minimum required platform is Windows Vista. -#define WINVER 0x0600 // Change this to the appropriate value to target other versions of Windows. -#endif - -#ifndef _WIN32_WINNT // Specifies that the minimum required platform is Windows Vista. -#define _WIN32_WINNT 0x0600 // Change this to the appropriate value to target other versions of Windows. -#endif - -#ifndef _WIN32_WINDOWS // Specifies that the minimum required platform is Windows 98. -#define _WIN32_WINDOWS 0x0410 // Change this to the appropriate value to target Windows Me or later. -#endif - -#ifndef _WIN32_IE // Specifies that the minimum required platform is Internet Explorer 7.0. -#define _WIN32_IE 0x0700 // Change this to the appropriate value to target other versions of IE. -#endif - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524LoadCellDma_Dbf/9111DbInt.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524LoadCellDma_Dbf/9111DbInt.suo deleted file mode 100644 index 3fde864..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524LoadCellDma_Dbf/9111DbInt.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524LoadCellDma_Dbf/9111PostTg.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524LoadCellDma_Dbf/9111PostTg.suo deleted file mode 100644 index c59a833..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524LoadCellDma_Dbf/9111PostTg.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524LoadCellDma_Dbf/9111int.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524LoadCellDma_Dbf/9111int.suo deleted file mode 100644 index aaca7d8..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524LoadCellDma_Dbf/9111int.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524LoadCellDma_Dbf/9116cdma.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524LoadCellDma_Dbf/9116cdma.suo deleted file mode 100644 index df9f193..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524LoadCellDma_Dbf/9116cdma.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524LoadCellDma_Dbf/9118cdma.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524LoadCellDma_Dbf/9118cdma.suo deleted file mode 100644 index 9318437..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524LoadCellDma_Dbf/9118cdma.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524LoadCellDma_Dbf/9221cdma.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524LoadCellDma_Dbf/9221cdma.suo deleted file mode 100644 index 9cb61ca..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524LoadCellDma_Dbf/9221cdma.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524LoadCellDma_Dbf/9222cdma.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524LoadCellDma_Dbf/9222cdma.suo deleted file mode 100644 index 1ace763..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524LoadCellDma_Dbf/9222cdma.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524LoadCellDma_Dbf/9223cdma.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524LoadCellDma_Dbf/9223cdma.suo deleted file mode 100644 index 445a178..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524LoadCellDma_Dbf/9223cdma.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524LoadCellDma_Dbf/9524cdma.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524LoadCellDma_Dbf/9524cdma.cpp deleted file mode 100644 index 4dadb33..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524LoadCellDma_Dbf/9524cdma.cpp +++ /dev/null @@ -1,109 +0,0 @@ - -// 9524cdma.cpp : Defines the class behaviors for the application. -// - -#include "stdafx.h" -#include "9524cdma.h" -#include "9524cdmaDlg.h" -#include "CardIDDlg.h" - -#ifdef _DEBUG -#define new DEBUG_NEW -#endif - - -// C9524cdmaApp - -BEGIN_MESSAGE_MAP(C9524cdmaApp, CWinAppEx) - ON_COMMAND(ID_HELP, &CWinApp::OnHelp) -END_MESSAGE_MAP() - - -// C9524cdmaApp construction - -C9524cdmaApp::C9524cdmaApp() -{ - // TODO: add construction code here, - // Place all significant initialization in InitInstance -} - - -// The one and only C9524cdmaApp object - -C9524cdmaApp theApp; - - -// C9524cdmaApp initialization - -BOOL C9524cdmaApp::InitInstance() -{ - int nCardID = 0; - I16 hCard; - CString strTemp; - INT_PTR nResponse; - - // InitCommonControlsEx() is required on Windows XP if an application - // manifest specifies use of ComCtl32.dll version 6 or later to enable - // visual styles. Otherwise, any window creation will fail. - INITCOMMONCONTROLSEX InitCtrls; - InitCtrls.dwSize = sizeof(InitCtrls); - // Set this to include all the common control classes you want to use - // in your application. - InitCtrls.dwICC = ICC_WIN95_CLASSES; - InitCommonControlsEx(&InitCtrls); - - CWinAppEx::InitInstance(); - - AfxEnableControlContainer(); - - // Standard initialization - // If you are not using these features and wish to reduce the size - // of your final executable, you should remove from the following - // the specific initialization routines you do not need - // Change the registry key under which our settings are stored - // TODO: You should modify this string to be something appropriate - // such as the name of your company or organization - SetRegistryKey(_T("Local AppWizard-Generated Applications")); - - CCardIDDlg CardDlg( nCardID ); - - nResponse = CardDlg.DoModal(); - if (nResponse == IDOK) - { - nCardID = CardDlg.GetCardID(); - - if ((hCard=Register_Card(PCI_9524, nCardID)) < 0) - { - strTemp.Format( TEXT("Register_Card Error = %d"), hCard); - AfxMessageBox( strTemp ); - } - else - { - C9524cdmaDlg dlg(hCard); - m_pMainWnd = &dlg; - nResponse = dlg.DoModal(); - if (nResponse == IDOK) - { - // TODO: Place code here to handle when the dialog is - // dismissed with OK - } - else if (nResponse == IDCANCEL) - { - // TODO: Place code here to handle when the dialog is - // dismissed with Cancel - } - - if (hCard >= 0) Release_Card(hCard); - } - - } - else if (nResponse == IDCANCEL) - { - // TODO: Place code here to handle when the dialog is - // dismissed with Cancel - } - - // Since the dialog has been closed, return FALSE so that we exit the - // application, rather than start the application's message pump. - return FALSE; -} diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524LoadCellDma_Dbf/9524cdma.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524LoadCellDma_Dbf/9524cdma.h deleted file mode 100644 index ede67ea..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524LoadCellDma_Dbf/9524cdma.h +++ /dev/null @@ -1,34 +0,0 @@ - -// 9524cdma.h : main header file for the PROJECT_NAME application -// - -#pragma once - -#ifndef __AFXWIN_H__ - #error "include 'stdafx.h' before including this file for PCH" -#endif - -#include "resource.h" // main symbols - -#define AI_MODE_DMA 0 -#define AI_MODE_INT 1 - -// C9524cdmaApp: -// See 9524cdma.cpp for the implementation of this class -// - -class C9524cdmaApp : public CWinAppEx -{ -public: - C9524cdmaApp(); - -// Overrides - public: - virtual BOOL InitInstance(); - -// Implementation - - DECLARE_MESSAGE_MAP() -}; - -extern C9524cdmaApp theApp; \ No newline at end of file diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524LoadCellDma_Dbf/9524cdma.rc b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524LoadCellDma_Dbf/9524cdma.rc deleted file mode 100644 index 882304c..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524LoadCellDma_Dbf/9524cdma.rc +++ /dev/null @@ -1,334 +0,0 @@ -// Microsoft Visual C++ generated resource script. -// -#include "resource.h" - -#define APSTUDIO_READONLY_SYMBOLS -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 2 resource. -// -#ifndef APSTUDIO_INVOKED -#include "targetver.h" -#endif -#include "afxres.h" - -///////////////////////////////////////////////////////////////////////////// -#undef APSTUDIO_READONLY_SYMBOLS - -///////////////////////////////////////////////////////////////////////////// -// Chinese (Taiwan) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_CHT) -#ifdef _WIN32 -LANGUAGE LANG_CHINESE, SUBLANG_CHINESE_TRADITIONAL -#pragma code_page(950) -#endif //_WIN32 - -#ifdef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// TEXTINCLUDE -// - -1 TEXTINCLUDE -BEGIN - "resource.h\0" -END - -2 TEXTINCLUDE -BEGIN - "#ifndef APSTUDIO_INVOKED\r\n" - "#include ""targetver.h""\r\n" - "#endif\r\n" - "#include ""afxres.h""\r\n" - "\0" -END - -3 TEXTINCLUDE -BEGIN - "#define _AFX_NO_SPLITTER_RESOURCES\r\n" - "#define _AFX_NO_OLE_RESOURCES\r\n" - "#define _AFX_NO_TRACKER_RESOURCES\r\n" - "#define _AFX_NO_PROPERTY_RESOURCES\r\n" - "\r\n" - "#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)\r\n" - "LANGUAGE 9, 1\r\n" - "#pragma code_page(1252)\r\n" - "#include ""res\\My9524cdma.rc2"" // non-Microsoft Visual C++ edited resources\r\n" - "#include ""afxres.rc"" // Standard components\r\n" - "#endif\r\n" - "\0" -END - -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// Icon -// - -// Icon with lowest ID value placed first to ensure application icon -// remains consistent on all systems. -IDR_MAINFRAME ICON "res\\9524cdma.ico" -#endif // Chinese (Taiwan) resources -///////////////////////////////////////////////////////////////////////////// - - -///////////////////////////////////////////////////////////////////////////// -// English (U.S.) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -#ifdef _WIN32 -LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US -#pragma code_page(1252) -#endif //_WIN32 - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog -// - -IDD_ABOUTBOX DIALOGEX 0, 0, 170, 62 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "About 9524cdma" -FONT 8, "MS Shell Dlg", 0, 0, 0x1 -BEGIN - ICON IDR_MAINFRAME,IDC_STATIC,14,14,21,20 - LTEXT "9524cdma, Version 1.0",IDC_STATIC,42,14,114,8,SS_NOPREFIX - LTEXT "Copyright (C) 2010",IDC_STATIC,42,26,114,8 - DEFPUSHBUTTON "OK",IDOK,113,41,50,14,WS_GROUP -END - -IDD_9524DMA_DIALOG DIALOGEX 0, 0, 366, 232 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU -EXSTYLE WS_EX_APPWINDOW -CAPTION "PCI-9524 Double-Buffered DMA (Load Cell Channel[0])" -FONT 8, "MS Shell Dlg", 0, 0, 0x1 -BEGIN - GROUPBOX "",IDC_STATIC_DRAW,58,9,248,161,NOT WS_VISIBLE - LTEXT "Sample rate :",IDC_STATIC,103,184,50,9 - PUSHBUTTON "Start",IDC_BT_START,243,188,55,22 - CONTROL "0",IDC_RADIO_CH0,"Button",BS_AUTORADIOBUTTON | BS_LEFTTEXT,332,20,16,12 - CONTROL "1",IDC_RADIO_CH1,"Button",BS_AUTORADIOBUTTON | BS_LEFTTEXT,332,35,16,12 - CONTROL "2",IDC_RADIO_CH2,"Button",BS_AUTORADIOBUTTON | BS_LEFTTEXT,332,49,16,12 - CONTROL "3",IDC_RADIO_CH3,"Button",BS_AUTORADIOBUTTON | BS_LEFTTEXT,332,64,16,12 - PUSHBUTTON "Stop",IDC_BT_STOP,304,188,55,22 - LTEXT "Overrun :",IDC_STATIC,195,184,36,9 - EDITTEXT IDC_EDIT_OVERRUN,193,198,36,14,ES_AUTOHSCROLL | ES_READONLY - COMBOBOX IDC_COMBO_SAMPLE_RATE,82,198,83,14,CBS_DROPDOWN | WS_VSCROLL | WS_TABSTOP -END - -IDD_CARDID_DIALOG DIALOGEX 0, 0, 174, 96 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "Card ID" -FONT 8, "MS Shell Dlg", 400, 0, 0x1 -BEGIN - COMBOBOX IDC_COMBO_CARDID,78,24,71,126,CBS_DROPDOWN | WS_VSCROLL | WS_TABSTOP - LTEXT "Card Number",IDC_STATIC_01,23,25,46,12 - PUSHBUTTON "OK",IDOK,22,59,58,19 - PUSHBUTTON "CANCEL",IDCANCEL,86,59,58,19 -END - - -///////////////////////////////////////////////////////////////////////////// -// -// Version -// - -VS_VERSION_INFO VERSIONINFO - FILEVERSION 1,0,0,1 - PRODUCTVERSION 1,0,0,1 - FILEFLAGSMASK 0x3fL -#ifdef _DEBUG - FILEFLAGS 0x1L -#else - FILEFLAGS 0x0L -#endif - FILEOS 0x4L - FILETYPE 0x1L - FILESUBTYPE 0x0L -BEGIN - BLOCK "StringFileInfo" - BEGIN - BLOCK "040904e4" - BEGIN - VALUE "CompanyName", "TODO: " - VALUE "FileDescription", "TODO: " - VALUE "FileVersion", "1.0.0.1" - VALUE "InternalName", "9524cdma.exe" - VALUE "LegalCopyright", "TODO: (c) . All rights reserved." - VALUE "OriginalFilename", "9524cdma.exe" - VALUE "ProductName", "TODO: " - VALUE "ProductVersion", "1.0.0.1" - END - END - BLOCK "VarFileInfo" - BEGIN - VALUE "Translation", 0x409, 1252 - END -END - - -///////////////////////////////////////////////////////////////////////////// -// -// DESIGNINFO -// - -#ifdef APSTUDIO_INVOKED -GUIDELINES DESIGNINFO -BEGIN - IDD_ABOUTBOX, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 163 - TOPMARGIN, 7 - BOTTOMMARGIN, 55 - END - - IDD_9524DMA_DIALOG, DIALOG - BEGIN - RIGHTMARGIN, 363 - END - - IDD_CARDID_DIALOG, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 167 - TOPMARGIN, 7 - BOTTOMMARGIN, 89 - END -END -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog Info -// - -IDD_CARDID_DIALOG DLGINIT -BEGIN - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0030, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0031, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0032, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0033, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0034, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0035, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0036, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0037, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0038, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0039, - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3031, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3131, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3231, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3331, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3431, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3531, "\000" - 0 -END - -IDD_9524DMA_DIALOG DLGINIT -BEGIN - IDC_COMBO_SAMPLE_RATE, 0x403, 18, 0 -0x3950, 0x3235, 0x5f34, 0x4441, 0x5f43, 0x3033, 0x5f4b, 0x5053, 0x0053, - - IDC_COMBO_SAMPLE_RATE, 0x403, 18, 0 -0x3950, 0x3235, 0x5f34, 0x4441, 0x5f43, 0x3531, 0x5f4b, 0x5053, 0x0053, - - IDC_COMBO_SAMPLE_RATE, 0x403, 18, 0 -0x3950, 0x3235, 0x5f34, 0x4441, 0x5f43, 0x4b37, 0x5f35, 0x5053, 0x0053, - - IDC_COMBO_SAMPLE_RATE, 0x403, 19, 0 -0x3950, 0x3235, 0x5f34, 0x4441, 0x5f43, 0x4b33, 0x3537, 0x535f, 0x5350, -"\000" - IDC_COMBO_SAMPLE_RATE, 0x403, 17, 0 -0x3950, 0x3235, 0x5f34, 0x4441, 0x5f43, 0x4b32, 0x535f, 0x5350, "\000" - IDC_COMBO_SAMPLE_RATE, 0x403, 17, 0 -0x3950, 0x3235, 0x5f34, 0x4441, 0x5f43, 0x4b31, 0x535f, 0x5350, "\000" - IDC_COMBO_SAMPLE_RATE, 0x403, 18, 0 -0x3950, 0x3235, 0x5f34, 0x4441, 0x5f43, 0x3035, 0x5f30, 0x5053, 0x0053, - - IDC_COMBO_SAMPLE_RATE, 0x403, 18, 0 -0x3950, 0x3235, 0x5f34, 0x4441, 0x5f43, 0x3031, 0x5f30, 0x5053, 0x0053, - - IDC_COMBO_SAMPLE_RATE, 0x403, 17, 0 -0x3950, 0x3235, 0x5f34, 0x4441, 0x5f43, 0x3036, 0x535f, 0x5350, "\000" - IDC_COMBO_SAMPLE_RATE, 0x403, 17, 0 -0x3950, 0x3235, 0x5f34, 0x4441, 0x5f43, 0x3035, 0x535f, 0x5350, "\000" - IDC_COMBO_SAMPLE_RATE, 0x403, 17, 0 -0x3950, 0x3235, 0x5f34, 0x4441, 0x5f43, 0x3033, 0x535f, 0x5350, "\000" - IDC_COMBO_SAMPLE_RATE, 0x403, 17, 0 -0x3950, 0x3235, 0x5f34, 0x4441, 0x5f43, 0x3532, 0x535f, 0x5350, "\000" - IDC_COMBO_SAMPLE_RATE, 0x403, 17, 0 -0x3950, 0x3235, 0x5f34, 0x4441, 0x5f43, 0x3531, 0x535f, 0x5350, "\000" - IDC_COMBO_SAMPLE_RATE, 0x403, 17, 0 -0x3950, 0x3235, 0x5f34, 0x4441, 0x5f43, 0x3031, 0x535f, 0x5350, "\000" - IDC_COMBO_SAMPLE_RATE, 0x403, 16, 0 -0x3950, 0x3235, 0x5f34, 0x4441, 0x5f43, 0x5f35, 0x5053, 0x0053, - IDC_COMBO_SAMPLE_RATE, 0x403, 18, 0 -0x3950, 0x3235, 0x5f34, 0x4441, 0x5f43, 0x5232, 0x5f35, 0x5053, 0x0053, - - 0 -END - - -///////////////////////////////////////////////////////////////////////////// -// -// Bitmap -// - -IDB_BITMAP_SET1 BITMAP "res\\ch_set1.bmp" -IDB_BITMAP_SET2 BITMAP "res\\ch_set2.bmp" - -///////////////////////////////////////////////////////////////////////////// -// -// String Table -// - -STRINGTABLE -BEGIN - IDS_ABOUTBOX "&About 9524cdma..." -END - -#endif // English (U.S.) resources -///////////////////////////////////////////////////////////////////////////// - - - -#ifndef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 3 resource. -// -#define _AFX_NO_SPLITTER_RESOURCES -#define _AFX_NO_OLE_RESOURCES -#define _AFX_NO_TRACKER_RESOURCES -#define _AFX_NO_PROPERTY_RESOURCES - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -LANGUAGE 9, 1 -#pragma code_page(1252) -#include "res\My9524cdma.rc2" // non-Microsoft Visual C++ edited resources -#include "afxres.rc" // Standard components -#endif - -///////////////////////////////////////////////////////////////////////////// -#endif // not APSTUDIO_INVOKED - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524LoadCellDma_Dbf/9524cdma.sln b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524LoadCellDma_Dbf/9524cdma.sln deleted file mode 100644 index 01b58c2..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524LoadCellDma_Dbf/9524cdma.sln +++ /dev/null @@ -1,20 +0,0 @@ - -Microsoft Visual Studio Solution File, Format Version 10.00 -# Visual Studio 2008 -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "9524cdma", "9524cdma.vcproj", "{702163FB-B6DF-4EF5-9491-FC54D71509BC}" -EndProject -Global - GlobalSection(SolutionConfigurationPlatforms) = preSolution - Debug|x64 = Debug|x64 - Release|x64 = Release|x64 - EndGlobalSection - GlobalSection(ProjectConfigurationPlatforms) = postSolution - {702163FB-B6DF-4EF5-9491-FC54D71509BC}.Debug|x64.ActiveCfg = Debug|x64 - {702163FB-B6DF-4EF5-9491-FC54D71509BC}.Debug|x64.Build.0 = Debug|x64 - {702163FB-B6DF-4EF5-9491-FC54D71509BC}.Release|x64.ActiveCfg = Release|x64 - {702163FB-B6DF-4EF5-9491-FC54D71509BC}.Release|x64.Build.0 = Release|x64 - EndGlobalSection - GlobalSection(SolutionProperties) = preSolution - HideSolutionNode = FALSE - EndGlobalSection -EndGlobal diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524LoadCellDma_Dbf/9524cdma.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524LoadCellDma_Dbf/9524cdma.suo deleted file mode 100644 index 8b67db0..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524LoadCellDma_Dbf/9524cdma.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524LoadCellDma_Dbf/9524cdma.vcproj b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524LoadCellDma_Dbf/9524cdma.vcproj deleted file mode 100644 index 8e04a56..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524LoadCellDma_Dbf/9524cdma.vcproj +++ /dev/null @@ -1,294 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524LoadCellDma_Dbf/9524cdmaDlg.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524LoadCellDma_Dbf/9524cdmaDlg.cpp deleted file mode 100644 index c0309a7..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524LoadCellDma_Dbf/9524cdmaDlg.cpp +++ /dev/null @@ -1,668 +0,0 @@ - -// 9524cdmaDlg.cpp : implementation file -// - -#include "stdafx.h" -#include "9524cdma.h" -#include "9524cdmaDlg.h" - -#ifdef _DEBUG -#define new DEBUG_NEW -#endif - -CRect plotRect; - -// CAboutDlg dialog used for App About - -class CAboutDlg : public CDialog -{ -public: - CAboutDlg(); - -// Dialog Data - enum { IDD = IDD_ABOUTBOX }; - - protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - -// Implementation -protected: - DECLARE_MESSAGE_MAP() -}; - -CAboutDlg::CAboutDlg() : CDialog(CAboutDlg::IDD) -{ -} - -void CAboutDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); -} - -BEGIN_MESSAGE_MAP(CAboutDlg, CDialog) -END_MESSAGE_MAP() - - -// C9524cdmaDlg dialog - - -C9524cdmaDlg::C9524cdmaDlg(I16 hCard, CWnd* pParent /*=NULL*/) - : CDialog(C9524cdmaDlg::IDD, pParent) -{ - m_hIcon = AfxGetApp()->LoadIcon(IDR_MAINFRAME); - - n_PlotWidth = n_PlotHeight = -1; - OnBrush = OffBrush = NULL; - - min_val = 0x00; - max_val = 0xFFFF; - - m_dwSampRate = P9524_ADC_60_SPS; - - m_hCard = hCard; - - m_wChan = P9524_AI_LC_CH0; - m_nTimer = -1; - - max_range = 8388607; - min_range = -8388608; - - m_dwReadCount = READCOUNT; - m_wPostCount = 512; - - m_wMode = P9524_AI_XFER_DMA; - m_wGroup = 0; // Load Cell Channel[0] - m_wADC_Range = 0; // only 0 is valid for Load Cell Channel - - m_dwOverrunCnt = 0; - - -} - -void C9524cdmaDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); - DDX_Control(pDX, IDC_COMBO_SAMPLE_RATE, m_cbSampRate); -} - -BEGIN_MESSAGE_MAP(C9524cdmaDlg, CDialog) - ON_WM_SYSCOMMAND() - ON_WM_PAINT() - ON_WM_QUERYDRAGICON() - //}}AFX_MSG_MAP - ON_WM_DESTROY() - ON_BN_CLICKED(IDC_BT_START, &C9524cdmaDlg::OnStart) - ON_BN_CLICKED(IDC_RADIO_CH0, &C9524cdmaDlg::OnCh0) - ON_BN_CLICKED(IDC_RADIO_CH1, &C9524cdmaDlg::OnCh1) - ON_BN_CLICKED(IDC_RADIO_CH2, &C9524cdmaDlg::OnCh2) - ON_BN_CLICKED(IDC_RADIO_CH3, &C9524cdmaDlg::OnCh3) - ON_WM_TIMER() - ON_BN_CLICKED(IDC_BT_STOP, &C9524cdmaDlg::OnStop) - ON_CBN_SELCHANGE(IDC_COMBO1, &C9524cdmaDlg::OnSampRateSelchange) -END_MESSAGE_MAP() - - -// C9524cdmaDlg message handlers - -BOOL C9524cdmaDlg::OnInitDialog() -{ - CDialog::OnInitDialog(); - - // Add "About..." menu item to system menu. - - // IDM_ABOUTBOX must be in the system command range. - ASSERT((IDM_ABOUTBOX & 0xFFF0) == IDM_ABOUTBOX); - ASSERT(IDM_ABOUTBOX < 0xF000); - - CMenu* pSysMenu = GetSystemMenu(FALSE); - if (pSysMenu != NULL) - { - BOOL bNameValid; - CString strAboutMenu; - bNameValid = strAboutMenu.LoadString(IDS_ABOUTBOX); - ASSERT(bNameValid); - if (!strAboutMenu.IsEmpty()) - { - pSysMenu->AppendMenu(MF_SEPARATOR); - pSysMenu->AppendMenu(MF_STRING, IDM_ABOUTBOX, strAboutMenu); - } - } - - // Set the icon for this dialog. The framework does this automatically - // when the application's main window is not a dialog - SetIcon(m_hIcon, TRUE); // Set big icon - SetIcon(m_hIcon, FALSE); // Set small icon - - // TODO: Add extra initialization here - x_divider = 5; y_divider = 4; - - OnBrush = CreateSolidBrush( RGB(255,0,0) ); - OffBrush = CreateSolidBrush( RGB(125,0,0) ); - - RedPen.CreatePen( PS_SOLID, 1, RGB(255,0,0)); - GreenPen.CreatePen( PS_SOLID, 1, RGB(0,255,0)); - YellowPen.CreatePen( PS_SOLID, 1, RGB(255,255,0)); - BluePen.CreatePen( PS_SOLID, 1, RGB(0,0,255)); - LTBluePen.CreatePen( PS_SOLID, 1, RGB(0,128,255)); - LTRedPen.CreatePen( PS_SOLID, 1, RGB(255,128,0)); - LTGreenPen.CreatePen( PS_SOLID, 1, RGB(0,128,0)); - WhitePen.CreatePen( PS_SOLID, 1, RGB(255,255,255)); - - - if( n_PlotWidth == -1 && n_PlotHeight == -1 ) - { - ((CWnd*)GetDlgItem(IDC_STATIC_DRAW))->GetWindowRect(&plotRect); - ScreenToClient(&plotRect); - - n_PlotWidth = min( plotRect.Width(), 512); - n_PlotHeight = plotRect.Height() - 10; - } - - // set the default SampleRate - - ((CButton*)GetDlgItem( IDC_RADIO_CH0 ))->SetCheck( TRUE ); - - SetDlgItemInt( IDC_EDIT_OVERRUN, (UINT)(m_dwOverrunCnt) ); - - m_cbSampRate.SetCurSel( 8 ); - - return TRUE; // return TRUE unless you set the focus to a control -} - -void C9524cdmaDlg::OnSysCommand(UINT nID, LPARAM lParam) -{ - if ((nID & 0xFFF0) == IDM_ABOUTBOX) - { - CAboutDlg dlgAbout; - dlgAbout.DoModal(); - } - else - { - CDialog::OnSysCommand(nID, lParam); - } -} - -// If you add a minimize button to your dialog, you will need the code below -// to draw the icon. For MFC applications using the document/view model, -// this is automatically done for you by the framework. - -void C9524cdmaDlg::OnPaint() -{ - if (IsIconic()) - { - CPaintDC dc(this); // device context for painting - - SendMessage(WM_ICONERASEBKGND, reinterpret_cast(dc.GetSafeHdc()), 0); - - // Center icon in client rectangle - int cxIcon = GetSystemMetrics(SM_CXICON); - int cyIcon = GetSystemMetrics(SM_CYICON); - CRect rect; - GetClientRect(&rect); - int x = (rect.Width() - cxIcon + 1) / 2; - int y = (rect.Height() - cyIcon + 1) / 2; - - // Draw the icon - dc.DrawIcon(x, y, m_hIcon); - } - else - { - redraw_display_area(); - CDialog::OnPaint(); - } -} - -// The system calls this function to obtain the cursor to display while the user drags -// the minimized window. -HCURSOR C9524cdmaDlg::OnQueryDragIcon() -{ - return static_cast(m_hIcon); -} - - -void C9524cdmaDlg::redraw_display_area(void) -{ - CPen *oldPen; - - int oldMode; - COLORREF oldColor; - double fTemp; - U32 dwTemp; - - CString y_lable; - - CPen minor_tick( PS_SOLID,1,RGB(132,130,132) ); - //CPen y_grid( PS_SOLID,1,RGB(206,203,132) ); - - int i, x_intv, y_intv; - //long total_sec; - - CClientDC dc_plot(this); - - // draw the base-line for x-y axises - oldPen = (CPen *)dc_plot.SelectStockObject(BLACK_PEN); - - // redraw the background - dc_plot.FillSolidRect( plotRect, RGB(0,0,0) ); - - // Re-Draw the AREA for Y-Lable - { - CBrush DIALOG_BRUSH; - CRect redraw_area, full_client; - - GetClientRect(&full_client); - ScreenToClient(&full_client); - - redraw_area.left = full_client.left; - redraw_area.top = plotRect.top - 5; - redraw_area.right = plotRect.left - 3; - redraw_area.bottom = plotRect.bottom + 10; - - DIALOG_BRUSH.CreateSysColorBrush( COLOR_3DFACE ); - - dc_plot.FillRect( redraw_area, &DIALOG_BRUSH ); - - DIALOG_BRUSH.DeleteObject(); - } - - dc_plot.MoveTo( plotRect.left - 3, plotRect.top ); - dc_plot.LineTo( plotRect.left - 3, plotRect.bottom ); - - // calculate the interval for tick/grid - y_intv = (plotRect.Height() - 10) /y_divider; - x_intv = plotRect.Width()/x_divider; - - - // set the color for tick - oldColor = dc_plot.SetTextColor( RGB(0,0,0) ); - oldMode = dc_plot.SetBkMode( TRANSPARENT ); - - for( i=0; i<= y_divider; i++ ) - { - CString tick_str; - CRect tmp_rect, tick_rect; - - // draw the tick for y-axis - dc_plot.MoveTo( plotRect.left -12, plotRect.bottom -5 - (i*y_intv) ); - dc_plot.LineTo( plotRect.left -3, plotRect.bottom -5 - (i*y_intv) ); - - - fTemp = ( ((max_range-min_range)/y_divider) * i)+min_range; - dwTemp = (U32) fTemp; - if( dwTemp & 0x80000000 ) // negative value - { - dwTemp = (dwTemp & 0x00FFFFFF); - } - - tick_str.Format( _T("0x%06X"), dwTemp ); - - // calculate the rectangle for text - dc_plot.DrawText( tick_str, &tmp_rect, DT_CALCRECT|DT_SINGLELINE ); - tick_rect.right = plotRect.left -14; - tick_rect.left = tick_rect.right - tmp_rect.Width(); - tick_rect.top = plotRect.bottom -5 - (i*y_intv) - tmp_rect.Height()/2; - tick_rect.bottom = tick_rect.top + tmp_rect.Height(); - - // draw the text - dc_plot.DrawText( tick_str, &tick_rect, DT_SINGLELINE|DT_RIGHT ); - - - } - - // draw the minor_tick for Y axises - dc_plot.SelectObject(&minor_tick); - for( i=0; i< y_divider; i++ ) - { - dc_plot.MoveTo( plotRect.left -9, plotRect.bottom -5 - (i*y_intv) - y_intv/2 ); - dc_plot.LineTo( plotRect.left -4, plotRect.bottom -5 - (i*y_intv) - y_intv/2 ); - } - - dc_plot.SetTextColor( oldColor ); - dc_plot.SetBkMode( oldMode ); - dc_plot.SelectObject( oldPen ); -} - -void C9524cdmaDlg::OnDestroy() -{ - CDialog::OnDestroy(); - - // TODO: Add your message handler code here - if( m_nTimer != -1 ) - { - KillTimer( m_nTimer ); - m_nTimer = -1; - } - - - if( OnBrush != NULL ) - ::DeleteObject( OnBrush ); - - if( OffBrush != NULL ) - ::DeleteObject( OffBrush ); - - RedPen.DeleteObject(); - GreenPen.DeleteObject(); - YellowPen.DeleteObject(); - BluePen.DeleteObject(); - LTBluePen.DeleteObject(); - LTRedPen.DeleteObject(); - LTGreenPen.DeleteObject(); - WhitePen.DeleteObject(); - -} - - - -void C9524cdmaDlg::OnStop() -{ - // TODO: Add your control notification handler code here - U32 count; - - if( m_nTimer != -1 ) - { - KillTimer( m_nTimer ); - m_nTimer = -1; - } - - AI_AsyncClear(m_hCard, &count); - - GetDlgItem( IDC_BT_START )->EnableWindow(TRUE); - - GetDlgItem( IDC_RADIO_CH0 )->EnableWindow(TRUE); - GetDlgItem( IDC_RADIO_CH1 )->EnableWindow(TRUE); - GetDlgItem( IDC_RADIO_CH2 )->EnableWindow(TRUE); - GetDlgItem( IDC_RADIO_CH3 )->EnableWindow(TRUE); -} - -void C9524cdmaDlg::OnStart() -{ - // TODO: Add your control notification handler code here - CString strTemp; - I16 err; - - GetDlgItem( IDC_BT_START )->EnableWindow(FALSE); - - GetDlgItem( IDC_RADIO_CH0 )->EnableWindow(FALSE); - GetDlgItem( IDC_RADIO_CH1 )->EnableWindow(FALSE); - GetDlgItem( IDC_RADIO_CH2 )->EnableWindow(FALSE); - GetDlgItem( IDC_RADIO_CH3 )->EnableWindow(FALSE); - - - // reset the DMA buffer - memset( m_AIBuf1, '/0', m_dwReadCount * sizeof(U32) ); - memset( m_AIBuf2, '/0', m_dwReadCount * sizeof(U32) ); - - m_oldY[0] = m_oldY[1] = m_oldY[2] = m_oldY[3] = -1; - m_oldX[0] = m_oldX[1] = m_oldX[2] = m_oldX[3] = -1; - - - if ((err = AI_AsyncDblBufferMode (m_hCard, 1)) != NoError) - { - strTemp.Format( TEXT("AI_AsyncDblBufferMode error=%d"), err); - AfxMessageBox( strTemp ); - return; - } - - /*In Double Buffer Mode, you should setup two buffers*/ - if ((err = AI_ContBufferSetup (m_hCard, m_AIBuf1, m_dwReadCount, &m_wBufferID1)) != NoError) - { - strTemp.Format( TEXT("AI_ContBufferSetup error=%d"), err); - AfxMessageBox( strTemp ); - return; - } - - if ((err = AI_ContBufferSetup (m_hCard, m_AIBuf2, m_dwReadCount, &m_wBufferID2)) != NoError) - { - strTemp.Format( TEXT("AI_ContBufferSetup error=%d"), err); - AfxMessageBox( strTemp ); - return; - } - - /*Load Cell Group*/ - /*Set DSP - it is necessary fot Load Cell Group*/ - m_wDFStage = 2; - m_dwSPKRejThreshold = 16; - - if ((err = AI_9524_SetDSP(m_hCard, m_wChan, P9524_SPIKE_REJ_ENABLE, m_wDFStage, m_dwSPKRejThreshold)) != NoError) - { - AI_ContBufferReset(m_hCard); - strTemp.Format( TEXT("AI_9524_SetDSP error=%d"), err); - AfxMessageBox( strTemp ); - return; - } - - - if ((err = AI_9524_Config(m_hCard, m_wGroup, m_wMode, (P9524_VEX_Range_10V|P9524_VEX_Sence_Remote|P9524_AI_AZMode|P9524_AI_BufAutoReset), 0, 0)) != NoError) - { - AI_ContBufferReset(m_hCard); - strTemp.Format( TEXT("AI_9524_Config error=%d"), err); - AfxMessageBox( strTemp ); - return; - } - - - m_bView = 0; - - if ((err = AI_ContReadChannel(m_hCard, m_wChan, m_wADC_Range, &m_wBufferID1, m_dwReadCount, (F64)m_dwSampRate, ASYNCH_OP)) != NoError) - { - AI_ContBufferReset(m_hCard); - strTemp.Format( TEXT("AI_ContReadChannel error=%d"), err); - AfxMessageBox( strTemp ); - return; - } - - m_nTimer = SetTimer( 1, 20, NULL ); - -} - -int C9524cdmaDlg::display_buffer_data(U32* pBuf) -{ - CClientDC dc_plot(this); - int nDraw_Origin_Y; - int cur_channel; - - int newY = -1; - int newX = -1; - U32 index; - I32 ai_data, nTemp; - U32 dwDataSize = m_dwReadCount; - - // redraw the background - dc_plot.FillSolidRect( plotRect, RGB(0,0,0) ); - - nDraw_Origin_Y = ( plotRect.bottom - 5 ) - n_PlotHeight/2; - - - for( index=0; index> 4) & 0x0F); - ai_data = (nTemp >> 8); - newY = (int)( nDraw_Origin_Y - ((n_PlotHeight * ai_data) >> 24) ); // ( n_PlotHeight * ai_data / 16777216) ); // ( (n_PlotHeight/2) * ai_data/8388608 ) ); - newX = (int)( index*n_PlotWidth/dwDataSize + plotRect.left ); - - switch(cur_channel) - { - case 0: - dc_plot.SelectObject(&YellowPen); - break; - case 1: - dc_plot.SelectObject(<GreenPen); - break; - case 2: - dc_plot.SelectObject(&BluePen); - break; - case 3: - dc_plot.SelectObject(&RedPen); - break; - } - - if ( index == 0 ) - { - dc_plot.MoveTo( newX, newY ); - } - else - { - dc_plot.MoveTo( m_oldX[cur_channel], m_oldY[cur_channel] ); - dc_plot.LineTo( newX, newY ); - } - - m_oldX[cur_channel] = newX; - m_oldY[cur_channel] = newY; - } - - return 0; -} - -void C9524cdmaDlg::OnTimer(UINT_PTR nIDEvent) -{ - // TODO: Add your message handler code here and/or call default - BOOLEAN HalfReady; - BOOLEAN fstop; - U16 OverrunFlag; - - AI_AsyncDblBufferHalfReady(m_hCard, &HalfReady, &fstop); - - if( HalfReady ) // half-buffer ready - { - if(m_bView == 0) - { - display_buffer_data( m_AIBuf1 ); - m_bView = 1; - } - else - { - display_buffer_data( m_AIBuf2 ); - m_bView= 0; - } - - AI_AsyncDblBufferHandled( m_hCard ); - AI_AsyncDblBufferOverrun( m_hCard, 0, &OverrunFlag); - - if(OverrunFlag) - { - m_dwOverrunCnt++; - AI_AsyncDblBufferOverrun( m_hCard, 1, NULL ); - SetDlgItemInt( IDC_EDIT_OVERRUN, (UINT)(m_dwOverrunCnt) ); - } - } - - CDialog::OnTimer(nIDEvent); -} - -void C9524cdmaDlg::OnCh0() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_RADIO_CH0 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_wChan = P9524_AI_LC_CH0; - } - -} - -void C9524cdmaDlg::OnCh1() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_RADIO_CH1 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_wChan = P9524_AI_LC_CH1; - } -} - -void C9524cdmaDlg::OnCh2() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_RADIO_CH2 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_wChan = P9524_AI_LC_CH2; - } -} - -void C9524cdmaDlg::OnCh3() -{ - // TODO: Add your control notification handler code here - int CheckSts; - - CheckSts = ((CButton*)GetDlgItem( IDC_RADIO_CH3 ))->GetCheck(); - - if( CheckSts == BST_CHECKED ) - { - m_wChan = P9524_AI_LC_CH3; - } -} - - - -void C9524cdmaDlg::OnSampRateSelchange() -{ - // TODO: Add your control notification handler code here - int nIndex; - - nIndex = m_cbSampRate.GetCurSel(); - switch( nIndex ) - { - case 0: - m_dwSampRate = P9524_ADC_30K_SPS; - break; - case 1: - m_dwSampRate = P9524_ADC_15K_SPS; - break; - case 2: - m_dwSampRate = P9524_ADC_7K5_SPS; - break; - case 3: - m_dwSampRate = P9524_ADC_3K75_SPS; - break; - case 4: - m_dwSampRate = P9524_ADC_2K_SPS; - break; - case 5: - m_dwSampRate = P9524_ADC_1K_SPS; - break; - case 6: - m_dwSampRate = P9524_ADC_500_SPS; - break; - case 7: - m_dwSampRate = P9524_ADC_100_SPS; - break; - case 8: - m_dwSampRate = P9524_ADC_60_SPS; - break; - case 9: - m_dwSampRate = P9524_ADC_50_SPS; - break; - case 10: - m_dwSampRate = P9524_ADC_30_SPS; - break; - case 11: - m_dwSampRate = P9524_ADC_25_SPS; - break; - case 12: - m_dwSampRate = P9524_ADC_15_SPS; - break; - case 13: - m_dwSampRate = P9524_ADC_10_SPS; - break; - case 14: - m_dwSampRate = P9524_ADC_5_SPS; - break; - case 15: - m_dwSampRate = P9524_ADC_2R5_SPS; - break; - } - - -} diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524LoadCellDma_Dbf/9524cdmaDlg.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524LoadCellDma_Dbf/9524cdmaDlg.h deleted file mode 100644 index e54ca6d..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524LoadCellDma_Dbf/9524cdmaDlg.h +++ /dev/null @@ -1,87 +0,0 @@ - -// 9524cdmaDlg.h : header file -#pragma once -#include "afxcmn.h" -#include "afxwin.h" - -#include "Dask64.h" - -#define READCOUNT 60 - -// C9524cdmaDlg dialog -class C9524cdmaDlg : public CDialog -{ -// Construction -public: - C9524cdmaDlg(I16 hCard, CWnd* pParent = NULL); // standard constructor - -// Dialog Data - enum { IDD = IDD_9524DMA_DIALOG }; - - protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - - -// Implementation -protected: - HICON m_hIcon; - UINT_PTR m_nTimer; - I16 m_hCard; - U32 m_dwSampRate; - U16 m_wChan; - U32 m_AIBuf1[READCOUNT]; - U32 m_AIBuf2[READCOUNT]; - U16 m_wBufferID1; - U16 m_wBufferID2; - U32 m_dwReadCount; - U16 m_wMode; - U16 m_wDFStage; - U16 m_wGroup; - U16 m_wADC_Range; - int m_oldX[4]; - int m_oldY[4]; - U16 m_wPostCount; - U8 m_bView; - U32 m_dwOverrunCnt; - U32 m_dwSPKRejThreshold; - - // Generated message map functions - virtual BOOL OnInitDialog(); - afx_msg void OnSysCommand(UINT nID, LPARAM lParam); - afx_msg void OnPaint(); - afx_msg HCURSOR OnQueryDragIcon(); - DECLARE_MESSAGE_MAP() - -public: - WORD max_val; - WORD min_val; - double max_range; - double min_range; - int n_PlotWidth; - int n_PlotHeight; - int y_divider; - int x_divider; - int m_DisplayScale; - HBRUSH OnBrush; - HBRUSH OffBrush; - CPen RedPen; - CPen GreenPen; - CPen YellowPen; - CPen BluePen; - CPen LTBluePen; - CPen LTRedPen; - CPen LTGreenPen; - CPen WhitePen; - void redraw_display_area(void); - afx_msg void OnDestroy(); - afx_msg void OnStart(); - int display_buffer_data(U32* pBuf); - afx_msg void OnCh0(); - afx_msg void OnCh1(); - afx_msg void OnCh2(); - afx_msg void OnCh3(); - afx_msg void OnTimer(UINT_PTR nIDEvent); - afx_msg void OnStop(); - afx_msg void OnSampRateSelchange(); - CComboBox m_cbSampRate; -}; diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524LoadCellDma_Dbf/CardIDDlg.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524LoadCellDma_Dbf/CardIDDlg.cpp deleted file mode 100644 index 18322f8..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524LoadCellDma_Dbf/CardIDDlg.cpp +++ /dev/null @@ -1,64 +0,0 @@ -// CardIDDlg.cpp : implementation file -// -#include "stdafx.h" -#include "9524cdma.h" -#include "9524cdmaDlg.h" -#include "CardIDDlg.h" - -// CCardIDDlg dialog - -IMPLEMENT_DYNAMIC(CCardIDDlg, CDialog) - -CCardIDDlg::CCardIDDlg(int nCardIdx, CWnd* pParent /*=NULL*/) - : CDialog(CCardIDDlg::IDD, pParent) -{ - m_nCardIdx = nCardIdx; -} - -CCardIDDlg::~CCardIDDlg() -{ -} - -void CCardIDDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); - DDX_Control(pDX, IDC_COMBO_CARDID, m_cbCardID); -} - - -BEGIN_MESSAGE_MAP(CCardIDDlg, CDialog) -// ON_CBN_SELCHANGE(IDC_COMBO_CARDID, &CCardIDDlg::OnCbnSelchangeComboCardid) -ON_BN_CLICKED(IDOK, &CCardIDDlg::OnBnClickedOk) -//ON_WM_CTLCOLOR() -END_MESSAGE_MAP() - - -// CCardIDDlg message handlers - - -void CCardIDDlg::OnBnClickedOk() -{ - // TODO: Add your control notification handler code here - -// UpdateData(TRUE); - m_nCardIdx = m_cbCardID.GetCurSel(); - - OnOK(); -} - -BOOL CCardIDDlg::OnInitDialog() -{ - CDialog::OnInitDialog(); - - // TODO: Add extra initialization here - m_cbCardID.SetCurSel( m_nCardIdx ); - - return TRUE; // return TRUE unless you set the focus to a control - // EXCEPTION: OCX Property Pages should return FALSE -} - -// the function to get the selected CardID -int CCardIDDlg::GetCardID(void) -{ - return m_nCardIdx; -} diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524LoadCellDma_Dbf/CardIDDlg.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524LoadCellDma_Dbf/CardIDDlg.h deleted file mode 100644 index 9c02c58..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524LoadCellDma_Dbf/CardIDDlg.h +++ /dev/null @@ -1,32 +0,0 @@ -#pragma once -#include "afxwin.h" - -#include "Dask64.h" - -// CCardIDDlg dialog - -class CCardIDDlg : public CDialog -{ - DECLARE_DYNAMIC(CCardIDDlg) - -public: - CCardIDDlg(int nCardIdx, CWnd* pParent = NULL); // standard constructor - virtual ~CCardIDDlg(); - -// Dialog Data - enum { IDD = IDD_CARDID_DIALOG }; - -protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - - DECLARE_MESSAGE_MAP() -public: - virtual BOOL OnInitDialog(); - afx_msg void OnBnClickedOk(); - // the setting of CardID ComboBox - int m_nCardIdx; - // the control of CardID ComboBox - CComboBox m_cbCardID; - // the function to get the selected CardID - int GetCardID(void); -}; diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524LoadCellDma_Dbf/ReadMe.txt b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524LoadCellDma_Dbf/ReadMe.txt deleted file mode 100644 index 0739e28..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524LoadCellDma_Dbf/ReadMe.txt +++ /dev/null @@ -1,93 +0,0 @@ -================================================================================ - MICROSOFT FOUNDATION CLASS LIBRARY : 9524cdma Project Overview -=============================================================================== - -The application wizard has created this 9524cdma application for -you. This application not only demonstrates the basics of using the Microsoft -Foundation Classes but is also a starting point for writing your application. - -This file contains a summary of what you will find in each of the files that -make up your 9524cdma application. - -9524cdma.vcproj - This is the main project file for VC++ projects generated using an application wizard. - It contains information about the version of Visual C++ that generated the file, and - information about the platforms, configurations, and project features selected with the - application wizard. - -9524cdma.h - This is the main header file for the application. It includes other - project specific headers (including Resource.h) and declares the - C9524cdmaApp application class. - -9524cdma.cpp - This is the main application source file that contains the application - class C9524cdmaApp. - -9524cdma.rc - This is a listing of all of the Microsoft Windows resources that the - program uses. It includes the icons, bitmaps, and cursors that are stored - in the RES subdirectory. This file can be directly edited in Microsoft - Visual C++. Your project resources are in 1033. - -res\9524cdma.ico - This is an icon file, which is used as the application's icon. This - icon is included by the main resource file 9524cdma.rc. - -res\My9524cdma.rc2 - This file contains resources that are not edited by Microsoft - Visual C++. You should place all resources not editable by - the resource editor in this file. - - -///////////////////////////////////////////////////////////////////////////// - -The application wizard creates one dialog class: - -9524cdmaDlg.h, 9524cdmaDlg.cpp - the dialog - These files contain your C9524cdmaDlg class. This class defines - the behavior of your application's main dialog. The dialog's template is - in 9524cdma.rc, which can be edited in Microsoft Visual C++. - - -///////////////////////////////////////////////////////////////////////////// - -Other Features: - -ActiveX Controls - The application includes support to use ActiveX controls. - -///////////////////////////////////////////////////////////////////////////// - -Other standard files: - -StdAfx.h, StdAfx.cpp - These files are used to build a precompiled header (PCH) file - named 9524cdma.pch and a precompiled types file named StdAfx.obj. - -Resource.h - This is the standard header file, which defines new resource IDs. - Microsoft Visual C++ reads and updates this file. - -9524cdma.manifest - Application manifest files are used by Windows XP to describe an applications - dependency on specific versions of Side-by-Side assemblies. The loader uses this - information to load the appropriate assembly from the assembly cache or private - from the application. The Application manifest maybe included for redistribution - as an external .manifest file that is installed in the same folder as the application - executable or it may be included in the executable in the form of a resource. -///////////////////////////////////////////////////////////////////////////// - -Other notes: - -The application wizard uses "TODO:" to indicate parts of the source code you -should add to or customize. - -If your application uses MFC in a shared DLL, you will need -to redistribute the MFC DLLs. If your application is in a language -other than the operating system's locale, you will also have to -redistribute the corresponding localized resources MFC90XXX.DLL. -For more information on both of these topics, please see the section on -redistributing Visual C++ applications in MSDN documentation. - -///////////////////////////////////////////////////////////////////////////// diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524LoadCellDma_Dbf/res/9524cdma.ico b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524LoadCellDma_Dbf/res/9524cdma.ico deleted file mode 100644 index d56fbcd..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524LoadCellDma_Dbf/res/9524cdma.ico and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524LoadCellDma_Dbf/res/My9524cdma.rc2 b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524LoadCellDma_Dbf/res/My9524cdma.rc2 deleted file mode 100644 index 383cde2..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524LoadCellDma_Dbf/res/My9524cdma.rc2 +++ /dev/null @@ -1,13 +0,0 @@ -// -// My9111int.RC2 - resources Microsoft Visual C++ does not edit directly -// - -#ifdef APSTUDIO_INVOKED -#error this file is not editable by Microsoft Visual C++ -#endif //APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// Add manually edited resources here... - -///////////////////////////////////////////////////////////////////////////// diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524LoadCellDma_Dbf/res/ch_set1.bmp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524LoadCellDma_Dbf/res/ch_set1.bmp deleted file mode 100644 index f2374ed..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524LoadCellDma_Dbf/res/ch_set1.bmp and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524LoadCellDma_Dbf/res/ch_set2.bmp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524LoadCellDma_Dbf/res/ch_set2.bmp deleted file mode 100644 index 32d0915..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524LoadCellDma_Dbf/res/ch_set2.bmp and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524LoadCellDma_Dbf/resource.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524LoadCellDma_Dbf/resource.h deleted file mode 100644 index ce70094..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524LoadCellDma_Dbf/resource.h +++ /dev/null @@ -1,38 +0,0 @@ -//{{NO_DEPENDENCIES}} -// Microsoft Visual C++ generated include file. -// Used by 9524cdma.rc -// -#define IDM_ABOUTBOX 0x0010 -#define IDD_ABOUTBOX 100 -#define IDS_ABOUTBOX 101 -#define IDD_9524DMA_DIALOG 102 -#define IDR_MAINFRAME 128 -#define IDD_CARDID_DIALOG 129 -#define IDB_BITMAP_SET1 131 -#define IDB_BITMAP_SET2 132 -#define IDC_STATIC_DRAW 1000 -#define IDC_COMBO_CARDID 1001 -#define IDC_BT_STOP 1002 -#define IDC_COMBO_CARDTYPE 1003 -#define IDC_BT_START 1004 -#define IDC_RADIO_CH0 1005 -#define IDC_RADIO_CH1 1006 -#define IDC_RADIO_CH2 1007 -#define IDC_RADIO_CH3 1008 -#define IDC_STATIC_01 1009 -#define IDC_STATIC_2 1010 -#define IDC_EDIT1 1011 -#define IDC_EDIT_OVERRUN 1012 -#define IDC_COMBO1 1013 -#define IDC_COMBO_SAMPLE_RATE 1013 - -// Next default values for new objects -// -#ifdef APSTUDIO_INVOKED -#ifndef APSTUDIO_READONLY_SYMBOLS -#define _APS_NEXT_RESOURCE_VALUE 135 -#define _APS_NEXT_COMMAND_VALUE 32771 -#define _APS_NEXT_CONTROL_VALUE 1014 -#define _APS_NEXT_SYMED_VALUE 101 -#endif -#endif diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524LoadCellDma_Dbf/stdafx.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524LoadCellDma_Dbf/stdafx.cpp deleted file mode 100644 index ef80626..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524LoadCellDma_Dbf/stdafx.cpp +++ /dev/null @@ -1,8 +0,0 @@ - -// stdafx.cpp : source file that includes just the standard includes -// 9111int.pch will be the pre-compiled header -// stdafx.obj will contain the pre-compiled type information - -#include "stdafx.h" - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524LoadCellDma_Dbf/stdafx.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524LoadCellDma_Dbf/stdafx.h deleted file mode 100644 index 12123e2..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524LoadCellDma_Dbf/stdafx.h +++ /dev/null @@ -1,60 +0,0 @@ - -// stdafx.h : include file for standard system include files, -// or project specific include files that are used frequently, -// but are changed infrequently - -#pragma once - -#ifndef _SECURE_ATL -#define _SECURE_ATL 1 -#endif - -#ifndef VC_EXTRALEAN -#define VC_EXTRALEAN // Exclude rarely-used stuff from Windows headers -#endif - -#include "targetver.h" - -#define _ATL_CSTRING_EXPLICIT_CONSTRUCTORS // some CString constructors will be explicit - -// turns off MFC's hiding of some common and often safely ignored warning messages -#define _AFX_ALL_WARNINGS - -#include // MFC core and standard components -#include // MFC extensions - - -#include // MFC Automation classes - - - -#ifndef _AFX_NO_OLE_SUPPORT -#include // MFC support for Internet Explorer 4 Common Controls -#endif -#ifndef _AFX_NO_AFXCMN_SUPPORT -#include // MFC support for Windows Common Controls -#endif // _AFX_NO_AFXCMN_SUPPORT - -#include // MFC support for ribbons and control bars - - - - - - - - - -#ifdef _UNICODE -#if defined _M_IX86 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='x86' publicKeyToken='6595b64144ccf1df' language='*'\"") -#elif defined _M_IA64 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='ia64' publicKeyToken='6595b64144ccf1df' language='*'\"") -#elif defined _M_X64 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='amd64' publicKeyToken='6595b64144ccf1df' language='*'\"") -#else -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='*' publicKeyToken='6595b64144ccf1df' language='*'\"") -#endif -#endif - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524LoadCellDma_Dbf/targetver.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524LoadCellDma_Dbf/targetver.h deleted file mode 100644 index 11730d5..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524LoadCellDma_Dbf/targetver.h +++ /dev/null @@ -1,26 +0,0 @@ - -#pragma once - -// The following macros define the minimum required platform. The minimum required platform -// is the earliest version of Windows, Internet Explorer etc. that has the necessary features to run -// your application. The macros work by enabling all features available on platform versions up to and -// including the version specified. - -// Modify the following defines if you have to target a platform prior to the ones specified below. -// Refer to MSDN for the latest info on corresponding values for different platforms. -#ifndef WINVER // Specifies that the minimum required platform is Windows Vista. -#define WINVER 0x0600 // Change this to the appropriate value to target other versions of Windows. -#endif - -#ifndef _WIN32_WINNT // Specifies that the minimum required platform is Windows Vista. -#define _WIN32_WINNT 0x0600 // Change this to the appropriate value to target other versions of Windows. -#endif - -#ifndef _WIN32_WINDOWS // Specifies that the minimum required platform is Windows 98. -#define _WIN32_WINDOWS 0x0410 // Change this to the appropriate value to target Windows Me or later. -#endif - -#ifndef _WIN32_IE // Specifies that the minimum required platform is Internet Explorer 7.0. -#define _WIN32_IE 0x0700 // Change this to the appropriate value to target other versions of IE. -#endif - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524PulseOutput/CardIDDlg.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524PulseOutput/CardIDDlg.cpp deleted file mode 100644 index d58c03d..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524PulseOutput/CardIDDlg.cpp +++ /dev/null @@ -1,67 +0,0 @@ -// CardIDDlg.cpp : implementation file -// - -#include "stdafx.h" -#include "SDK9524GPTC.h" -#include "CardIDDlg.h" - - -// CCardIDDlg dialog - -IMPLEMENT_DYNAMIC(CCardIDDlg, CDialog) - -CCardIDDlg::CCardIDDlg(int nCardIdx, CWnd* pParent /*=NULL*/) - : CDialog(CCardIDDlg::IDD, pParent) -{ - m_nCardIdx = nCardIdx; -} - -CCardIDDlg::~CCardIDDlg() -{ -} - -void CCardIDDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); - DDX_Control(pDX, IDC_COMBO_CARDID, m_cbCardID); -} - - -BEGIN_MESSAGE_MAP(CCardIDDlg, CDialog) -// ON_CBN_SELCHANGE(IDC_COMBO_CARDID, &CCardIDDlg::OnCbnSelchangeComboCardid) -ON_BN_CLICKED(IDOK, &CCardIDDlg::OnBnClickedOk) -//ON_WM_CTLCOLOR() -END_MESSAGE_MAP() - - -// CCardIDDlg message handlers - - -void CCardIDDlg::OnBnClickedOk() -{ - // TODO: Add your control notification handler code here - -// UpdateData(TRUE); - m_nCardIdx = m_cbCardID.GetCurSel(); - - OnOK(); -} - -BOOL CCardIDDlg::OnInitDialog() -{ - CDialog::OnInitDialog(); - - // TODO: Add extra initialization here - m_cbCardID.SetCurSel( m_nCardIdx ); - - return TRUE; // return TRUE unless you set the focus to a control - // EXCEPTION: OCX Property Pages should return FALSE -} - -// the function to get the selected CardID -int CCardIDDlg::GetCardID(void) -{ - return m_nCardIdx; -} - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524PulseOutput/CardIDDlg.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524PulseOutput/CardIDDlg.h deleted file mode 100644 index 54628ea..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524PulseOutput/CardIDDlg.h +++ /dev/null @@ -1,33 +0,0 @@ -#pragma once -#include "afxwin.h" - - -// CCardIDDlg dialog - -class CCardIDDlg : public CDialog -{ - DECLARE_DYNAMIC(CCardIDDlg) - -public: - CCardIDDlg(int nCardIdx, CWnd* pParent = NULL); // standard constructor - virtual ~CCardIDDlg(); - -// Dialog Data - enum { IDD = IDD_CARDID_DIALOG }; - -protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - - DECLARE_MESSAGE_MAP() -public: -// afx_msg void OnCbnSelchangeComboCardid(); - afx_msg void OnBnClickedOk(); - // the setting of CardID ComboBox - int m_nCardIdx; - virtual BOOL OnInitDialog(); - // the control of CardID ComboBox - CComboBox m_cbCardID; - // the function to get the selected CardID - int GetCardID(void); -// afx_msg HBRUSH OnCtlColor(CDC* pDC, CWnd* pWnd, UINT nCtlColor); -}; diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524PulseOutput/ReadMe.txt b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524PulseOutput/ReadMe.txt deleted file mode 100644 index e9f77fc..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524PulseOutput/ReadMe.txt +++ /dev/null @@ -1,93 +0,0 @@ -================================================================================ - MICROSOFT FOUNDATION CLASS LIBRARY : SDK9524GPTC Project Overview -=============================================================================== - -The application wizard has created this SDK9524GPTC application for -you. This application not only demonstrates the basics of using the Microsoft -Foundation Classes but is also a starting point for writing your application. - -This file contains a summary of what you will find in each of the files that -make up your SDK9524GPTC application. - -SDK9524GPTC.vcproj - This is the main project file for VC++ projects generated using an application wizard. - It contains information about the version of Visual C++ that generated the file, and - information about the platforms, configurations, and project features selected with the - application wizard. - -SDK9524GPTC.h - This is the main header file for the application. It includes other - project specific headers (including Resource.h) and declares the - CSDK9524GPTCApp application class. - -SDK9524GPTC.cpp - This is the main application source file that contains the application - class CSDK9524GPTCApp. - -SDK9524GPTC.rc - This is a listing of all of the Microsoft Windows resources that the - program uses. It includes the icons, bitmaps, and cursors that are stored - in the RES subdirectory. This file can be directly edited in Microsoft - Visual C++. Your project resources are in 1033. - -res\SDK9524GPTC.ico - This is an icon file, which is used as the application's icon. This - icon is included by the main resource file SDK9524GPTC.rc. - -res\SDK9524GPTC.rc2 - This file contains resources that are not edited by Microsoft - Visual C++. You should place all resources not editable by - the resource editor in this file. - - -///////////////////////////////////////////////////////////////////////////// - -The application wizard creates one dialog class: - -SDK9524GPTCDlg.h, SDK9524GPTCDlg.cpp - the dialog - These files contain your CSDK9524GPTCDlg class. This class defines - the behavior of your application's main dialog. The dialog's template is - in SDK9524GPTC.rc, which can be edited in Microsoft Visual C++. - - -///////////////////////////////////////////////////////////////////////////// - -Other Features: - -ActiveX Controls - The application includes support to use ActiveX controls. - -///////////////////////////////////////////////////////////////////////////// - -Other standard files: - -StdAfx.h, StdAfx.cpp - These files are used to build a precompiled header (PCH) file - named SDK9524GPTC.pch and a precompiled types file named StdAfx.obj. - -Resource.h - This is the standard header file, which defines new resource IDs. - Microsoft Visual C++ reads and updates this file. - -SDK9524GPTC.manifest - Application manifest files are used by Windows XP to describe an applications - dependency on specific versions of Side-by-Side assemblies. The loader uses this - information to load the appropriate assembly from the assembly cache or private - from the application. The Application manifest maybe included for redistribution - as an external .manifest file that is installed in the same folder as the application - executable or it may be included in the executable in the form of a resource. -///////////////////////////////////////////////////////////////////////////// - -Other notes: - -The application wizard uses "TODO:" to indicate parts of the source code you -should add to or customize. - -If your application uses MFC in a shared DLL, you will need -to redistribute the MFC DLLs. If your application is in a language -other than the operating system's locale, you will also have to -redistribute the corresponding localized resources MFC90XXX.DLL. -For more information on both of these topics, please see the section on -redistributing Visual C++ applications in MSDN documentation. - -///////////////////////////////////////////////////////////////////////////// diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524PulseOutput/SDK9222GPTC.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524PulseOutput/SDK9222GPTC.suo deleted file mode 100644 index 8274fb2..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524PulseOutput/SDK9222GPTC.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524PulseOutput/SDK9223GPTC.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524PulseOutput/SDK9223GPTC.suo deleted file mode 100644 index 20e092c..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524PulseOutput/SDK9223GPTC.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524PulseOutput/SDK9524GPTC.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524PulseOutput/SDK9524GPTC.cpp deleted file mode 100644 index 9343ebf..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524PulseOutput/SDK9524GPTC.cpp +++ /dev/null @@ -1,109 +0,0 @@ - -// SDK9524GPTC.cpp : Defines the class behaviors for the application. -// - -#include "stdafx.h" -#include "SDK9524GPTC.h" -#include "SDK9524GPTCDlg.h" -#include "CardIDDlg.h" - -#ifdef _DEBUG -#define new DEBUG_NEW -#endif - - -// CSDK9524GPTCApp - -BEGIN_MESSAGE_MAP(CSDK9524GPTCApp, CWinAppEx) - ON_COMMAND(ID_HELP, &CWinApp::OnHelp) -END_MESSAGE_MAP() - - -// CSDK9524GPTCApp construction - -CSDK9524GPTCApp::CSDK9524GPTCApp() -{ - // TODO: add construction code here, - // Place all significant initialization in InitInstance -} - - -// The one and only CSDK9524GPTCApp object - -CSDK9524GPTCApp theApp; - - -// CSDK9524GPTCApp initialization - -BOOL CSDK9524GPTCApp::InitInstance() -{ - int nCardID = 0; - I16 hCard; - CString strTemp; - INT_PTR nResponse; - - // InitCommonControlsEx() is required on Windows XP if an application - // manifest specifies use of ComCtl32.dll version 6 or later to enable - // visual styles. Otherwise, any window creation will fail. - INITCOMMONCONTROLSEX InitCtrls; - InitCtrls.dwSize = sizeof(InitCtrls); - // Set this to include all the common control classes you want to use - // in your application. - InitCtrls.dwICC = ICC_WIN95_CLASSES; - InitCommonControlsEx(&InitCtrls); - - CWinAppEx::InitInstance(); - - AfxEnableControlContainer(); - - // Standard initialization - // If you are not using these features and wish to reduce the size - // of your final executable, you should remove from the following - // the specific initialization routines you do not need - // Change the registry key under which our settings are stored - // TODO: You should modify this string to be something appropriate - // such as the name of your company or organization - SetRegistryKey(_T("Local AppWizard-Generated Applications")); - - CCardIDDlg CardDlg( nCardID ); - - nResponse = CardDlg.DoModal(); - if (nResponse == IDOK) - { - nCardID = CardDlg.GetCardID(); - - if ((hCard=Register_Card(PCI_9524, nCardID)) < 0) - { - strTemp.Format( TEXT("Register_Card Error = %d"), hCard); - AfxMessageBox( strTemp ); - } - else - { - CSDK9524GPTCDlg dlg(hCard); - m_pMainWnd = &dlg; - nResponse = dlg.DoModal(); - if (nResponse == IDOK) - { - // TODO: Place code here to handle when the dialog is - // dismissed with OK - } - else if (nResponse == IDCANCEL) - { - // TODO: Place code here to handle when the dialog is - // dismissed with Cancel - } - - if (hCard >= 0) Release_Card(hCard); - } - - } - else if (nResponse == IDCANCEL) - { - // TODO: Place code here to handle when the dialog is - // dismissed with Cancel - } - - // Since the dialog has been closed, return FALSE so that we exit the - // application, rather than start the application's message pump. - return FALSE; -} diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524PulseOutput/SDK9524GPTC.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524PulseOutput/SDK9524GPTC.h deleted file mode 100644 index c09dc30..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524PulseOutput/SDK9524GPTC.h +++ /dev/null @@ -1,32 +0,0 @@ - -// SDK9524GPTC.h : main header file for the PROJECT_NAME application -// - -#pragma once - -#ifndef __AFXWIN_H__ - #error "include 'stdafx.h' before including this file for PCH" -#endif - -#include "resource.h" // main symbols - - -// CSDK9524GPTCApp: -// See SDK9524GPTC.cpp for the implementation of this class -// - -class CSDK9524GPTCApp : public CWinAppEx -{ -public: - CSDK9524GPTCApp(); - -// Overrides - public: - virtual BOOL InitInstance(); - -// Implementation - - DECLARE_MESSAGE_MAP() -}; - -extern CSDK9524GPTCApp theApp; \ No newline at end of file diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524PulseOutput/SDK9524GPTC.rc b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524PulseOutput/SDK9524GPTC.rc deleted file mode 100644 index d9ac974..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524PulseOutput/SDK9524GPTC.rc +++ /dev/null @@ -1,332 +0,0 @@ -// Microsoft Visual C++ generated resource script. -// -#include "resource.h" - -#define APSTUDIO_READONLY_SYMBOLS -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 2 resource. -// -#ifndef APSTUDIO_INVOKED -#include "targetver.h" -#endif -#include "afxres.h" - -///////////////////////////////////////////////////////////////////////////// -#undef APSTUDIO_READONLY_SYMBOLS - -///////////////////////////////////////////////////////////////////////////// -// Chinese (Taiwan) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_CHT) -#ifdef _WIN32 -LANGUAGE LANG_CHINESE, SUBLANG_CHINESE_TRADITIONAL -#pragma code_page(950) -#endif //_WIN32 - -#ifdef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// TEXTINCLUDE -// - -1 TEXTINCLUDE -BEGIN - "resource.h\0" -END - -2 TEXTINCLUDE -BEGIN - "#ifndef APSTUDIO_INVOKED\r\n" - "#include ""targetver.h""\r\n" - "#endif\r\n" - "#include ""afxres.h""\r\n" - "\0" -END - -3 TEXTINCLUDE -BEGIN - "#define _AFX_NO_SPLITTER_RESOURCES\r\n" - "#define _AFX_NO_OLE_RESOURCES\r\n" - "#define _AFX_NO_TRACKER_RESOURCES\r\n" - "#define _AFX_NO_PROPERTY_RESOURCES\r\n" - "\r\n" - "#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)\r\n" - "LANGUAGE 9, 1\r\n" - "#pragma code_page(1252)\r\n" - "#include ""res\\SDK9524GPTC.rc2"" // non-Microsoft Visual C++ edited resources\r\n" - "#include ""afxres.rc"" // Standard components\r\n" - "#endif\r\n" - "\0" -END - -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// Icon -// - -// Icon with lowest ID value placed first to ensure application icon -// remains consistent on all systems. -IDR_MAINFRAME ICON "res\\SDK9524GPTC.ico" - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog -// - -IDD_CARDID_DIALOG DIALOGEX 0, 0, 172, 103 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "Card ID" -FONT 8, "MS Shell Dlg", 400, 0, 0x1 -BEGIN - COMBOBOX IDC_COMBO_CARDID,75,24,71,126,CBS_DROPDOWN | WS_VSCROLL | WS_TABSTOP - LTEXT "Card Number",IDC_STATIC_01,21,25,46,12 - PUSHBUTTON "OK",IDOK,23,61,58,19 - PUSHBUTTON "CANCEL",IDCANCEL,87,61,58,19 -END - - -///////////////////////////////////////////////////////////////////////////// -// -// DESIGNINFO -// - -#ifdef APSTUDIO_INVOKED -GUIDELINES DESIGNINFO -BEGIN - IDD_CARDID_DIALOG, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 165 - TOPMARGIN, 7 - BOTTOMMARGIN, 96 - END -END -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog Info -// - -IDD_CARDID_DIALOG DLGINIT -BEGIN - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0030, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0031, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0032, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0033, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0034, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0035, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0036, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0037, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0038, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0039, - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3031, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3131, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3231, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3331, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3431, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3531, "\000" - 0 -END - -#endif // Chinese (Taiwan) resources -///////////////////////////////////////////////////////////////////////////// - - -///////////////////////////////////////////////////////////////////////////// -// English (U.S.) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -#ifdef _WIN32 -LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US -#pragma code_page(1252) -#endif //_WIN32 - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog -// - -IDD_ABOUTBOX DIALOGEX 0, 0, 170, 62 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "About SDK9524GPTC" -FONT 8, "MS Shell Dlg", 0, 0, 0x1 -BEGIN - ICON IDR_MAINFRAME,IDC_STATIC,14,14,21,20 - LTEXT "SDK9524GPTC, Version 1.0",IDC_STATIC,42,14,114,8,SS_NOPREFIX - LTEXT "Copyright (C) 2010",IDC_STATIC,42,26,114,8 - DEFPUSHBUTTON "OK",IDOK,113,41,50,14,WS_GROUP -END - -IDD_SDK9524GPTC_DIALOG DIALOGEX 0, 0, 253, 170 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU -EXSTYLE WS_EX_APPWINDOW -CAPTION "PCI-9524 Pulse Command Output" -FONT 8, "MS Shell Dlg", 0, 0, 0x1 -BEGIN - COMBOBOX IDC_COMBO_MODE1,83,36,137,53,CBS_DROPDOWN | WS_VSCROLL | WS_TABSTOP - LTEXT "Select the GPTC :",IDC_STATIC,13,13,61,12 - COMBOBOX IDC_COMBO_GPTC,83,13,97,37,CBS_DROPDOWN | CBS_SORT | WS_VSCROLL | WS_TABSTOP - PUSHBUTTON "Start",IDC_BT_MODE1,89,134,77,21 - LTEXT "PulseGen Options :",IDC_STATIC,15,37,61,12 - EDITTEXT IDC_EDIT_GPTC_REG1,57,62,61,16,ES_AUTOHSCROLL - LTEXT "Reg1_Val :",IDC_STATIC,16,64,38,12 - EDITTEXT IDC_EDIT_GPTC_REG2,175,62,61,16,ES_AUTOHSCROLL - LTEXT "Reg2_Val :",IDC_STATIC,130,64,41,12 - EDITTEXT IDC_EDIT_PULSE_NUM,124,86,61,16,ES_AUTOHSCROLL - LTEXT "Pulse Number :",IDC_STATIC,66,88,52,12 - LTEXT "",IDC_STATIC_INFO,14,107,225,22 -END - - -///////////////////////////////////////////////////////////////////////////// -// -// DESIGNINFO -// - -#ifdef APSTUDIO_INVOKED -GUIDELINES DESIGNINFO -BEGIN - IDD_ABOUTBOX, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 163 - TOPMARGIN, 7 - BOTTOMMARGIN, 55 - END - - IDD_SDK9524GPTC_DIALOG, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 246 - TOPMARGIN, 7 - BOTTOMMARGIN, 163 - END -END -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog Info -// - -IDD_SDK9524GPTC_DIALOG DLGINIT -BEGIN - IDC_COMBO_MODE1, 0x403, 24, 0 -0x3950, 0x3235, 0x5f34, 0x7550, 0x736c, 0x4765, 0x6e65, 0x4f5f, 0x5455, -0x4944, 0x5f52, 0x004e, - IDC_COMBO_MODE1, 0x403, 24, 0 -0x3950, 0x3235, 0x5f34, 0x7550, 0x736c, 0x4765, 0x6e65, 0x4f5f, 0x5455, -0x4944, 0x5f52, 0x0052, - IDC_COMBO_MODE1, 0x403, 18, 0 -0x3950, 0x3235, 0x5f34, 0x7550, 0x736c, 0x4765, 0x6e65, 0x435f, 0x0057, - - IDC_COMBO_MODE1, 0x403, 19, 0 -0x3950, 0x3235, 0x5f34, 0x7550, 0x736c, 0x4765, 0x6e65, 0x435f, 0x5743, -"\000" - IDC_COMBO_GPTC, 0x403, 7, 0 -0x5047, 0x4354, 0x3023, "\000" - IDC_COMBO_GPTC, 0x403, 7, 0 -0x5047, 0x4354, 0x3123, "\000" - IDC_COMBO_GPTC, 0x403, 7, 0 -0x5047, 0x4354, 0x3223, "\000" - 0 -END - - -///////////////////////////////////////////////////////////////////////////// -// -// Version -// - -VS_VERSION_INFO VERSIONINFO - FILEVERSION 1,0,0,1 - PRODUCTVERSION 1,0,0,1 - FILEFLAGSMASK 0x3fL -#ifdef _DEBUG - FILEFLAGS 0x1L -#else - FILEFLAGS 0x0L -#endif - FILEOS 0x4L - FILETYPE 0x1L - FILESUBTYPE 0x0L -BEGIN - BLOCK "StringFileInfo" - BEGIN - BLOCK "040904e4" - BEGIN - VALUE "CompanyName", "TODO: " - VALUE "FileDescription", "TODO: " - VALUE "FileVersion", "1.0.0.1" - VALUE "InternalName", "SDK9524GPTC.exe" - VALUE "LegalCopyright", "TODO: (c) . All rights reserved." - VALUE "OriginalFilename", "SDK9524GPTC.exe" - VALUE "ProductName", "TODO: " - VALUE "ProductVersion", "1.0.0.1" - END - END - BLOCK "VarFileInfo" - BEGIN - VALUE "Translation", 0x409, 1252 - END -END - - -///////////////////////////////////////////////////////////////////////////// -// -// String Table -// - -STRINGTABLE -BEGIN - IDS_ABOUTBOX "&About SDK9524GPTC..." -END - -#endif // English (U.S.) resources -///////////////////////////////////////////////////////////////////////////// - - - -#ifndef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 3 resource. -// -#define _AFX_NO_SPLITTER_RESOURCES -#define _AFX_NO_OLE_RESOURCES -#define _AFX_NO_TRACKER_RESOURCES -#define _AFX_NO_PROPERTY_RESOURCES - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -LANGUAGE 9, 1 -#pragma code_page(1252) -#include "res\SDK9524GPTC.rc2" // non-Microsoft Visual C++ edited resources -#include "afxres.rc" // Standard components -#endif - -///////////////////////////////////////////////////////////////////////////// -#endif // not APSTUDIO_INVOKED - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524PulseOutput/SDK9524GPTC.sln b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524PulseOutput/SDK9524GPTC.sln deleted file mode 100644 index 03e4c17..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524PulseOutput/SDK9524GPTC.sln +++ /dev/null @@ -1,20 +0,0 @@ - -Microsoft Visual Studio Solution File, Format Version 10.00 -# Visual Studio 2008 -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "SDK9524GPTC", "SDK9524GPTC.vcproj", "{E44C0848-3913-45FB-B4DD-E6FE7B7DA86E}" -EndProject -Global - GlobalSection(SolutionConfigurationPlatforms) = preSolution - Debug|x64 = Debug|x64 - Release|x64 = Release|x64 - EndGlobalSection - GlobalSection(ProjectConfigurationPlatforms) = postSolution - {E44C0848-3913-45FB-B4DD-E6FE7B7DA86E}.Debug|x64.ActiveCfg = Debug|x64 - {E44C0848-3913-45FB-B4DD-E6FE7B7DA86E}.Debug|x64.Build.0 = Debug|x64 - {E44C0848-3913-45FB-B4DD-E6FE7B7DA86E}.Release|x64.ActiveCfg = Release|x64 - {E44C0848-3913-45FB-B4DD-E6FE7B7DA86E}.Release|x64.Build.0 = Release|x64 - EndGlobalSection - GlobalSection(SolutionProperties) = preSolution - HideSolutionNode = FALSE - EndGlobalSection -EndGlobal diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524PulseOutput/SDK9524GPTC.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524PulseOutput/SDK9524GPTC.suo deleted file mode 100644 index 1f5573f..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524PulseOutput/SDK9524GPTC.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524PulseOutput/SDK9524GPTC.vcproj b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524PulseOutput/SDK9524GPTC.vcproj deleted file mode 100644 index bc515e9..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524PulseOutput/SDK9524GPTC.vcproj +++ /dev/null @@ -1,286 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524PulseOutput/SDK9524GPTCDlg.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524PulseOutput/SDK9524GPTCDlg.cpp deleted file mode 100644 index f3c1d69..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524PulseOutput/SDK9524GPTCDlg.cpp +++ /dev/null @@ -1,290 +0,0 @@ - -// SDK9524GPTCDlg.cpp : implementation file -// - -#include "stdafx.h" -#include "SDK9524GPTC.h" -#include "SDK9524GPTCDlg.h" - -#ifdef _DEBUG -#define new DEBUG_NEW -#endif - -#define TIMEBASE 40000000.0 - -// CAboutDlg dialog used for App About - -class CAboutDlg : public CDialog -{ -public: - CAboutDlg(); - -// Dialog Data - enum { IDD = IDD_ABOUTBOX }; - - protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - -// Implementation -protected: - DECLARE_MESSAGE_MAP() -}; - -CAboutDlg::CAboutDlg() : CDialog(CAboutDlg::IDD) -{ -} - -void CAboutDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); -} - -BEGIN_MESSAGE_MAP(CAboutDlg, CDialog) -END_MESSAGE_MAP() - - -// CSDK9524GPTCDlg dialog - - -CSDK9524GPTCDlg::CSDK9524GPTCDlg(I16 hCard, CWnd* pParent /*=NULL*/) - : CDialog(CSDK9524GPTCDlg::IDD, pParent) -{ - m_hIcon = AfxGetApp()->LoadIcon(IDR_MAINFRAME); - - m_bRunning1 = 0; - - m_wPolCtrl = 0; - - m_hCard = hCard; - - m_dwLReg1_Val = 2000000; - m_dwLReg2_Val = 2000000; - - m_dwPulseGenNum = 1000; - - m_GPTCMode = P9524_PulseGen_CCW; -} - -void CSDK9524GPTCDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); - DDX_Control(pDX, IDC_COMBO_GPTC, m_cbGPTCNo); - DDX_Control(pDX, IDC_COMBO_MODE1, m_cbMode1Option); -} - -BEGIN_MESSAGE_MAP(CSDK9524GPTCDlg, CDialog) - ON_WM_SYSCOMMAND() - ON_WM_PAINT() - ON_WM_QUERYDRAGICON() - //}}AFX_MSG_MAP - ON_CBN_SELCHANGE(IDC_COMBO_GPTC, &CSDK9524GPTCDlg::OnGPTCNoSelchange) - ON_CBN_SELCHANGE(IDC_COMBO_MODE1, &CSDK9524GPTCDlg::OnComboMode1Selchange) - ON_WM_TIMER() - ON_BN_CLICKED(IDC_BT_MODE1, &CSDK9524GPTCDlg::OnStart) -END_MESSAGE_MAP() - - -// CSDK9524GPTCDlg message handlers - -BOOL CSDK9524GPTCDlg::OnInitDialog() -{ - CDialog::OnInitDialog(); - - // Add "About..." menu item to system menu. - - // IDM_ABOUTBOX must be in the system command range. - ASSERT((IDM_ABOUTBOX & 0xFFF0) == IDM_ABOUTBOX); - ASSERT(IDM_ABOUTBOX < 0xF000); - - CMenu* pSysMenu = GetSystemMenu(FALSE); - if (pSysMenu != NULL) - { - BOOL bNameValid; - CString strAboutMenu; - bNameValid = strAboutMenu.LoadString(IDS_ABOUTBOX); - ASSERT(bNameValid); - if (!strAboutMenu.IsEmpty()) - { - pSysMenu->AppendMenu(MF_SEPARATOR); - pSysMenu->AppendMenu(MF_STRING, IDM_ABOUTBOX, strAboutMenu); - } - } - - // Set the icon for this dialog. The framework does this automatically - // when the application's main window is not a dialog - SetIcon(m_hIcon, TRUE); // Set big icon - SetIcon(m_hIcon, FALSE); // Set small icon - - // TODO: Add extra initialization here - m_wGPTCNo = 0; - m_cbGPTCNo.SetCurSel( (int) m_wGPTCNo ); - - m_cbMode1Option.SetCurSel( 3 ); - - SetDlgItemInt( IDC_EDIT_GPTC_REG1, (UINT)m_dwLReg1_Val ); - SetDlgItemInt( IDC_EDIT_GPTC_REG2, (UINT)m_dwLReg2_Val ); - SetDlgItemInt( IDC_EDIT_PULSE_NUM, (UINT)m_dwPulseGenNum ); - - return TRUE; // return TRUE unless you set the focus to a control -} - -void CSDK9524GPTCDlg::OnSysCommand(UINT nID, LPARAM lParam) -{ - if ((nID & 0xFFF0) == IDM_ABOUTBOX) - { - CAboutDlg dlgAbout; - dlgAbout.DoModal(); - } - else - { - CDialog::OnSysCommand(nID, lParam); - } -} - -// If you add a minimize button to your dialog, you will need the code below -// to draw the icon. For MFC applications using the document/view model, -// this is automatically done for you by the framework. - -void CSDK9524GPTCDlg::OnPaint() -{ - if (IsIconic()) - { - CPaintDC dc(this); // device context for painting - - SendMessage(WM_ICONERASEBKGND, reinterpret_cast(dc.GetSafeHdc()), 0); - - // Center icon in client rectangle - int cxIcon = GetSystemMetrics(SM_CXICON); - int cyIcon = GetSystemMetrics(SM_CYICON); - CRect rect; - GetClientRect(&rect); - int x = (rect.Width() - cxIcon + 1) / 2; - int y = (rect.Height() - cyIcon + 1) / 2; - - // Draw the icon - dc.DrawIcon(x, y, m_hIcon); - } - else - { - CDialog::OnPaint(); - } -} - -// The system calls this function to obtain the cursor to display while the user drags -// the minimized window. -HCURSOR CSDK9524GPTCDlg::OnQueryDragIcon() -{ - return static_cast(m_hIcon); -} - -void CSDK9524GPTCDlg::OnGPTCNoSelchange() -{ - // TODO: Add your control notification handler code here - int nIndex; - - nIndex = m_cbGPTCNo.GetCurSel(); - switch( nIndex ) - { - case 0: - m_wGPTCNo = 0; - break; - case 1: - m_wGPTCNo = 1; - break; - case 2: - m_wGPTCNo = 2; - break; - } - -} - -void CSDK9524GPTCDlg::OnComboMode1Selchange() -{ - // TODO: Add your control notification handler code here - int nIndex; - - nIndex = m_cbMode1Option.GetCurSel(); - switch( nIndex ) - { - case 0: - m_GPTCMode = P9524_PulseGen_OUTDIR_N; - break; - - case 1: - m_GPTCMode = P9524_PulseGen_OUTDIR_R; - break; - - case 2: - m_GPTCMode = P9524_PulseGen_CW; - break; - - case 3: - m_GPTCMode = P9524_PulseGen_CCW; - break; - } - - m_wSrcCtrl = GPTC_GATE_SRC_Ext; //Set External gate for measuring a pulse from GATED pin - -} - -void CSDK9524GPTCDlg::OnTimer(UINT_PTR nIDEvent) -{ - // TODO: Add your message handler code here and/or call default - - CDialog::OnTimer(nIDEvent); -} - -void CSDK9524GPTCDlg::OnStart() -{ - // TODO: Add your control notification handler code here - I16 err; - CString strTmp; - - if( m_bRunning1 == 1 ) - { - err = GPTC_Control(m_hCard, m_wGPTCNo, P9524_CTR_Enable, 0); - err = GPTC_Clear(m_hCard, m_wGPTCNo); - - m_bRunning1 = 0; - SetDlgItemText( IDC_BT_MODE1, TEXT("Start") ); - - } - else - { - - m_dwPulseGenNum = GetDlgItemInt( IDC_EDIT_PULSE_NUM ); - m_dwLReg1_Val = GetDlgItemInt( IDC_EDIT_GPTC_REG1 ); - m_dwLReg2_Val = GetDlgItemInt( IDC_EDIT_GPTC_REG2 ); - - strTmp.Format( TEXT("Generates %d pulse in %f HZ"), m_dwPulseGenNum, TIMEBASE/(m_dwLReg1_Val+m_dwLReg2_Val) ); - SetDlgItemText( IDC_STATIC_INFO, strTmp ); - - /*Setup GPTC*/ - err = GPTC_Setup(m_hCard, m_wGPTCNo, m_GPTCMode, 0, 0, m_dwLReg1_Val, m_dwLReg2_Val); - if(err<0) - { - strTmp.Format( TEXT("GPTC_Setup Error: %d"), err ); - AfxMessageBox( strTmp ); - return; - } - - err = GPTC_9524_PG_Config(m_hCard, m_wGPTCNo, m_dwPulseGenNum); - if(err<0) - { - strTmp.Format( TEXT("GPTC_9524_PG_Config Error: %d"), err ); - AfxMessageBox( strTmp ); - return; - } - - err = GPTC_Control(m_hCard, m_wGPTCNo, P9524_CTR_Enable, 1); - if(err<0) - { - strTmp.Format( TEXT("GPTC_Control Error: %d"), err ); - AfxMessageBox( strTmp ); - return; - } - - m_bRunning1 = 1; - SetDlgItemText( IDC_BT_MODE1, TEXT("Stop") ); - } -} diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524PulseOutput/SDK9524GPTCDlg.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524PulseOutput/SDK9524GPTCDlg.h deleted file mode 100644 index aad52ec..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524PulseOutput/SDK9524GPTCDlg.h +++ /dev/null @@ -1,53 +0,0 @@ - -// SDK9524GPTCDlg.h : header file -// - -#pragma once -#include "afxwin.h" - -#include "Dask64.h" - -// CSDK9524GPTCDlg dialog -class CSDK9524GPTCDlg : public CDialog -{ -// Construction -public: - CSDK9524GPTCDlg(I16 hCard, CWnd* pParent = NULL); // standard constructor - -// Dialog Data - enum { IDD = IDD_SDK9524GPTC_DIALOG }; - - protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - - -// Implementation -protected: - HICON m_hIcon; - I16 m_hCard; - U16 m_wGPTCNo; - U16 m_GPTCMode; - U16 m_wSrcCtrl; - U16 m_wPolCtrl; - - U32 m_dwLReg1_Val; - U32 m_dwLReg2_Val; - - U32 m_dwPulseGenNum; - - U8 m_bRunning1; - - // Generated message map functions - virtual BOOL OnInitDialog(); - afx_msg void OnSysCommand(UINT nID, LPARAM lParam); - afx_msg void OnPaint(); - afx_msg HCURSOR OnQueryDragIcon(); - DECLARE_MESSAGE_MAP() -public: - CComboBox m_cbGPTCNo; - CComboBox m_cbMode1Option; - afx_msg void OnGPTCNoSelchange(); - afx_msg void OnComboMode1Selchange(); - afx_msg void OnTimer(UINT_PTR nIDEvent); - afx_msg void OnStart(); -}; diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524PulseOutput/res/SDK9524GPTC.ico b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524PulseOutput/res/SDK9524GPTC.ico deleted file mode 100644 index d56fbcd..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524PulseOutput/res/SDK9524GPTC.ico and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524PulseOutput/res/SDK9524GPTC.rc2 b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524PulseOutput/res/SDK9524GPTC.rc2 deleted file mode 100644 index d97271e..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524PulseOutput/res/SDK9524GPTC.rc2 +++ /dev/null @@ -1,13 +0,0 @@ -// -// SDK9222GPTC.RC2 - resources Microsoft Visual C++ does not edit directly -// - -#ifdef APSTUDIO_INVOKED -#error this file is not editable by Microsoft Visual C++ -#endif //APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// Add manually edited resources here... - -///////////////////////////////////////////////////////////////////////////// diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524PulseOutput/resource.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524PulseOutput/resource.h deleted file mode 100644 index 6fc65bc..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524PulseOutput/resource.h +++ /dev/null @@ -1,31 +0,0 @@ -//{{NO_DEPENDENCIES}} -// Microsoft Visual C++ generated include file. -// Used by SDK9524GPTC.rc -// -#define IDM_ABOUTBOX 0x0010 -#define IDD_ABOUTBOX 100 -#define IDS_ABOUTBOX 101 -#define IDD_SDK9524GPTC_DIALOG 102 -#define IDR_MAINFRAME 128 -#define IDD_SIDD_CARDID_DIALOG 131 -#define IDD_CARDID_DIALOG 131 -#define IDC_COMBO_CARDID 1000 -#define IDC_COMBO_MODE1 1001 -#define IDC_COMBO_GPTC 1002 -#define IDC_BT_MODE1 1003 -#define IDC_STATIC_01 1004 -#define IDC_EDIT_GPTC_REG1 1005 -#define IDC_EDIT_GPTC_REG2 1006 -#define IDC_EDIT_PULSE_NUM 1007 -#define IDC_STATIC_INFO 1008 - -// Next default values for new objects -// -#ifdef APSTUDIO_INVOKED -#ifndef APSTUDIO_READONLY_SYMBOLS -#define _APS_NEXT_RESOURCE_VALUE 133 -#define _APS_NEXT_COMMAND_VALUE 32771 -#define _APS_NEXT_CONTROL_VALUE 1009 -#define _APS_NEXT_SYMED_VALUE 101 -#endif -#endif diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524PulseOutput/stdafx.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524PulseOutput/stdafx.cpp deleted file mode 100644 index 83f89a7..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524PulseOutput/stdafx.cpp +++ /dev/null @@ -1,8 +0,0 @@ - -// stdafx.cpp : source file that includes just the standard includes -// SDK9222GPTC.pch will be the pre-compiled header -// stdafx.obj will contain the pre-compiled type information - -#include "stdafx.h" - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524PulseOutput/stdafx.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524PulseOutput/stdafx.h deleted file mode 100644 index 12123e2..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524PulseOutput/stdafx.h +++ /dev/null @@ -1,60 +0,0 @@ - -// stdafx.h : include file for standard system include files, -// or project specific include files that are used frequently, -// but are changed infrequently - -#pragma once - -#ifndef _SECURE_ATL -#define _SECURE_ATL 1 -#endif - -#ifndef VC_EXTRALEAN -#define VC_EXTRALEAN // Exclude rarely-used stuff from Windows headers -#endif - -#include "targetver.h" - -#define _ATL_CSTRING_EXPLICIT_CONSTRUCTORS // some CString constructors will be explicit - -// turns off MFC's hiding of some common and often safely ignored warning messages -#define _AFX_ALL_WARNINGS - -#include // MFC core and standard components -#include // MFC extensions - - -#include // MFC Automation classes - - - -#ifndef _AFX_NO_OLE_SUPPORT -#include // MFC support for Internet Explorer 4 Common Controls -#endif -#ifndef _AFX_NO_AFXCMN_SUPPORT -#include // MFC support for Windows Common Controls -#endif // _AFX_NO_AFXCMN_SUPPORT - -#include // MFC support for ribbons and control bars - - - - - - - - - -#ifdef _UNICODE -#if defined _M_IX86 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='x86' publicKeyToken='6595b64144ccf1df' language='*'\"") -#elif defined _M_IA64 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='ia64' publicKeyToken='6595b64144ccf1df' language='*'\"") -#elif defined _M_X64 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='amd64' publicKeyToken='6595b64144ccf1df' language='*'\"") -#else -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='*' publicKeyToken='6595b64144ccf1df' language='*'\"") -#endif -#endif - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524PulseOutput/targetver.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524PulseOutput/targetver.h deleted file mode 100644 index 11730d5..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9524/SDK9524PulseOutput/targetver.h +++ /dev/null @@ -1,26 +0,0 @@ - -#pragma once - -// The following macros define the minimum required platform. The minimum required platform -// is the earliest version of Windows, Internet Explorer etc. that has the necessary features to run -// your application. The macros work by enabling all features available on platform versions up to and -// including the version specified. - -// Modify the following defines if you have to target a platform prior to the ones specified below. -// Refer to MSDN for the latest info on corresponding values for different platforms. -#ifndef WINVER // Specifies that the minimum required platform is Windows Vista. -#define WINVER 0x0600 // Change this to the appropriate value to target other versions of Windows. -#endif - -#ifndef _WIN32_WINNT // Specifies that the minimum required platform is Windows Vista. -#define _WIN32_WINNT 0x0600 // Change this to the appropriate value to target other versions of Windows. -#endif - -#ifndef _WIN32_WINDOWS // Specifies that the minimum required platform is Windows 98. -#define _WIN32_WINDOWS 0x0410 // Change this to the appropriate value to target Windows Me or later. -#endif - -#ifndef _WIN32_IE // Specifies that the minimum required platform is Internet Explorer 7.0. -#define _WIN32_IE 0x0700 // Change this to the appropriate value to target other versions of IE. -#endif - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812DbfDelayTrg/9111DbInt.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812DbfDelayTrg/9111DbInt.suo deleted file mode 100644 index 3fde864..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812DbfDelayTrg/9111DbInt.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812DbfDelayTrg/9111PostTg.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812DbfDelayTrg/9111PostTg.suo deleted file mode 100644 index c59a833..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812DbfDelayTrg/9111PostTg.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812DbfDelayTrg/9111int.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812DbfDelayTrg/9111int.suo deleted file mode 100644 index aaca7d8..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812DbfDelayTrg/9111int.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812DbfDelayTrg/9118Atrg.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812DbfDelayTrg/9118Atrg.suo deleted file mode 100644 index e40fe72..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812DbfDelayTrg/9118Atrg.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812DbfDelayTrg/9118Prtg.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812DbfDelayTrg/9118Prtg.suo deleted file mode 100644 index abe2567..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812DbfDelayTrg/9118Prtg.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812DbfDelayTrg/9118Ptrg.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812DbfDelayTrg/9118Ptrg.suo deleted file mode 100644 index 07f7af8..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812DbfDelayTrg/9118Ptrg.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812DbfDelayTrg/9118cdma.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812DbfDelayTrg/9118cdma.suo deleted file mode 100644 index d5c8a50..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812DbfDelayTrg/9118cdma.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812DbfDelayTrg/9812DLTg.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812DbfDelayTrg/9812DLTg.cpp deleted file mode 100644 index d7f4c32..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812DbfDelayTrg/9812DLTg.cpp +++ /dev/null @@ -1,111 +0,0 @@ - -// 9812DLTg.cpp : Defines the class behaviors for the application. -// - -#include "stdafx.h" -#include "9812DLTg.h" -#include "9812DLTgDlg.h" -#include "CardIDDlg.h" - -#ifdef _DEBUG -#define new DEBUG_NEW -#endif - - -// C9812DLTgApp - -BEGIN_MESSAGE_MAP(C9812DLTgApp, CWinAppEx) - ON_COMMAND(ID_HELP, &CWinApp::OnHelp) -END_MESSAGE_MAP() - - -// C9812DLTgApp construction - -C9812DLTgApp::C9812DLTgApp() -{ - // TODO: add construction code here, - // Place all significant initialization in InitInstance -} - - -// The one and only C9812DLTgApp object - -C9812DLTgApp theApp; - - -// C9812DLTgApp initialization - -BOOL C9812DLTgApp::InitInstance() -{ - int nCardID = 0; - I16 hCard; - U16 wCardType; - CString strTemp; - INT_PTR nResponse; - - // InitCommonControlsEx() is required on Windows XP if an application - // manifest specifies use of ComCtl32.dll version 6 or later to enable - // visual styles. Otherwise, any window creation will fail. - INITCOMMONCONTROLSEX InitCtrls; - InitCtrls.dwSize = sizeof(InitCtrls); - // Set this to include all the common control classes you want to use - // in your application. - InitCtrls.dwICC = ICC_WIN95_CLASSES; - InitCommonControlsEx(&InitCtrls); - - CWinAppEx::InitInstance(); - - AfxEnableControlContainer(); - - // Standard initialization - // If you are not using these features and wish to reduce the size - // of your final executable, you should remove from the following - // the specific initialization routines you do not need - // Change the registry key under which our settings are stored - // TODO: You should modify this string to be something appropriate - // such as the name of your company or organization - SetRegistryKey(_T("Local AppWizard-Generated Applications")); - - CCardIDDlg CardDlg( nCardID ); - - nResponse = CardDlg.DoModal(); - if (nResponse == IDOK) - { - nCardID = CardDlg.GetCardID(); - wCardType = CardDlg.GetCardType(); - - if ((hCard=Register_Card(wCardType, nCardID)) < 0) - { - strTemp.Format( TEXT("Register_Card Error = %d"), hCard); - AfxMessageBox( strTemp ); - } - else - { - C9812DLTgDlg dlg(hCard, wCardType); - m_pMainWnd = &dlg; - nResponse = dlg.DoModal(); - if (nResponse == IDOK) - { - // TODO: Place code here to handle when the dialog is - // dismissed with OK - } - else if (nResponse == IDCANCEL) - { - // TODO: Place code here to handle when the dialog is - // dismissed with Cancel - } - - if (hCard >= 0) Release_Card(hCard); - } - - } - else if (nResponse == IDCANCEL) - { - // TODO: Place code here to handle when the dialog is - // dismissed with Cancel - } - - // Since the dialog has been closed, return FALSE so that we exit the - // application, rather than start the application's message pump. - return FALSE; -} diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812DbfDelayTrg/9812DLTg.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812DbfDelayTrg/9812DLTg.h deleted file mode 100644 index ef003f9..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812DbfDelayTrg/9812DLTg.h +++ /dev/null @@ -1,32 +0,0 @@ - -// 9812DLTg.h : main header file for the PROJECT_NAME application -// - -#pragma once - -#ifndef __AFXWIN_H__ - #error "include 'stdafx.h' before including this file for PCH" -#endif - -#include "resource.h" // main symbols - - -// C9812DLTgApp: -// See 9812DLTg.cpp for the implementation of this class -// - -class C9812DLTgApp : public CWinAppEx -{ -public: - C9812DLTgApp(); - -// Overrides - public: - virtual BOOL InitInstance(); - -// Implementation - - DECLARE_MESSAGE_MAP() -}; - -extern C9812DLTgApp theApp; \ No newline at end of file diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812DbfDelayTrg/9812DLTg.rc b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812DbfDelayTrg/9812DLTg.rc deleted file mode 100644 index 69882fc..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812DbfDelayTrg/9812DLTg.rc +++ /dev/null @@ -1,294 +0,0 @@ -// Microsoft Visual C++ generated resource script. -// -#include "resource.h" - -#define APSTUDIO_READONLY_SYMBOLS -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 2 resource. -// -#ifndef APSTUDIO_INVOKED -#include "targetver.h" -#endif -#include "afxres.h" - -///////////////////////////////////////////////////////////////////////////// -#undef APSTUDIO_READONLY_SYMBOLS - -///////////////////////////////////////////////////////////////////////////// -// Chinese (Taiwan) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_CHT) -#ifdef _WIN32 -LANGUAGE LANG_CHINESE, SUBLANG_CHINESE_TRADITIONAL -#pragma code_page(950) -#endif //_WIN32 - -#ifdef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// TEXTINCLUDE -// - -1 TEXTINCLUDE -BEGIN - "resource.h\0" -END - -2 TEXTINCLUDE -BEGIN - "#ifndef APSTUDIO_INVOKED\r\n" - "#include ""targetver.h""\r\n" - "#endif\r\n" - "#include ""afxres.h""\r\n" - "\0" -END - -3 TEXTINCLUDE -BEGIN - "#define _AFX_NO_SPLITTER_RESOURCES\r\n" - "#define _AFX_NO_OLE_RESOURCES\r\n" - "#define _AFX_NO_TRACKER_RESOURCES\r\n" - "#define _AFX_NO_PROPERTY_RESOURCES\r\n" - "\r\n" - "#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)\r\n" - "LANGUAGE 9, 1\r\n" - "#pragma code_page(1252)\r\n" - "#include ""res\\My9812DLTg.rc2"" // non-Microsoft Visual C++ edited resources\r\n" - "#include ""afxres.rc"" // Standard components\r\n" - "#endif\r\n" - "\0" -END - -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// Icon -// - -// Icon with lowest ID value placed first to ensure application icon -// remains consistent on all systems. -IDR_MAINFRAME ICON "res\\9812DLTg.ico" -#endif // Chinese (Taiwan) resources -///////////////////////////////////////////////////////////////////////////// - - -///////////////////////////////////////////////////////////////////////////// -// English (U.S.) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -#ifdef _WIN32 -LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US -#pragma code_page(1252) -#endif //_WIN32 - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog -// - -IDD_ABOUTBOX DIALOGEX 0, 0, 170, 62 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "About 9812DLTg" -FONT 8, "MS Shell Dlg", 0, 0, 0x1 -BEGIN - ICON IDR_MAINFRAME,IDC_STATIC,14,14,21,20 - LTEXT "9812DLTg, Version 1.0",IDC_STATIC,42,14,114,8,SS_NOPREFIX - LTEXT "Copyright (C) 2010",IDC_STATIC,42,26,114,8 - DEFPUSHBUTTON "OK",IDOK,113,41,50,14,WS_GROUP -END - -IDD_9812DMA_DIALOG DIALOGEX 0, 0, 365, 232 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU -EXSTYLE WS_EX_APPWINDOW -CAPTION -"PCI-9812 Double-Buffered DMA with Delay Trigger (External Digital Trigger)" -FONT 8, "MS Shell Dlg", 0, 0, 0x1 -BEGIN - GROUPBOX "",IDC_STATIC_DRAW,45,9,248,161,NOT WS_VISIBLE - LTEXT "Range : +/- 1V",IDC_STATIC,299,129,52,15 - LTEXT "Buffer Size",IDC_STATIC,106,183,42,9 - EDITTEXT IDC_EDIT_SAMPLE_RATE,29,196,39,14,ES_AUTOHSCROLL | ES_READONLY - LTEXT "Sample Rate :",IDC_STATIC,29,182,49,9 - LTEXT "KHz",IDC_STATIC,81,199,15,9 - SCROLLBAR IDC_SCROLLBAR_RATE,69,196,9,11,SBS_VERT - PUSHBUTTON "Start",IDC_BT_START,230,188,55,22 - CONTROL "0",IDC_RADIO_CH0,"Button",BS_AUTORADIOBUTTON | BS_LEFTTEXT,307,20,16,12 - EDITTEXT IDC_EDIT_BUF_SIZE,104,196,46,14,ES_AUTOHSCROLL - PUSHBUTTON "Stop",IDC_BT_STOP,291,188,55,22 - LTEXT "Post Count",IDC_STATIC_TRACE_CNT,163,182,42,9 - EDITTEXT IDC_EDIT_TRACE_CNT,161,196,46,14,ES_AUTOHSCROLL -END - -IDD_CARDID_DIALOG DIALOGEX 0, 0, 174, 126 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "Card ID" -FONT 8, "MS Shell Dlg", 400, 0, 0x1 -BEGIN - COMBOBOX IDC_COMBO_CARDID,75,24,71,126,CBS_DROPDOWN | WS_VSCROLL | WS_TABSTOP - LTEXT "Card Number",IDC_STATIC_01,21,25,46,12 - PUSHBUTTON "OK",IDOK,22,76,58,19 - PUSHBUTTON "CANCEL",IDCANCEL,86,76,58,19 - COMBOBOX IDC_COMBO_CARDTYPE,75,46,71,126,CBS_DROPDOWN | WS_VSCROLL | WS_TABSTOP - LTEXT "Card Type",IDC_STATIC_2,29,47,37,12 -END - - -///////////////////////////////////////////////////////////////////////////// -// -// Version -// - -VS_VERSION_INFO VERSIONINFO - FILEVERSION 1,0,0,1 - PRODUCTVERSION 1,0,0,1 - FILEFLAGSMASK 0x3fL -#ifdef _DEBUG - FILEFLAGS 0x1L -#else - FILEFLAGS 0x0L -#endif - FILEOS 0x4L - FILETYPE 0x1L - FILESUBTYPE 0x0L -BEGIN - BLOCK "StringFileInfo" - BEGIN - BLOCK "040904e4" - BEGIN - VALUE "CompanyName", "TODO: " - VALUE "FileDescription", "TODO: " - VALUE "FileVersion", "1.0.0.1" - VALUE "InternalName", "9812DLTg.exe" - VALUE "LegalCopyright", "TODO: (c) . All rights reserved." - VALUE "OriginalFilename", "9812DLTg.exe" - VALUE "ProductName", "TODO: " - VALUE "ProductVersion", "1.0.0.1" - END - END - BLOCK "VarFileInfo" - BEGIN - VALUE "Translation", 0x409, 1252 - END -END - - -///////////////////////////////////////////////////////////////////////////// -// -// DESIGNINFO -// - -#ifdef APSTUDIO_INVOKED -GUIDELINES DESIGNINFO -BEGIN - IDD_ABOUTBOX, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 163 - TOPMARGIN, 7 - BOTTOMMARGIN, 55 - END - - IDD_CARDID_DIALOG, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 167 - TOPMARGIN, 7 - BOTTOMMARGIN, 119 - END -END -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog Info -// - -IDD_CARDID_DIALOG DLGINIT -BEGIN - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0030, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0031, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0032, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0033, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0034, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0035, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0036, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0037, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0038, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0039, - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3031, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3131, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3231, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3331, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3431, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3531, "\000" - IDC_COMBO_CARDTYPE, 0x403, 9, 0 -0x4350, 0x5f49, 0x3839, 0x3031, "\000" - IDC_COMBO_CARDTYPE, 0x403, 9, 0 -0x4350, 0x5f49, 0x3839, 0x3231, "\000" - 0 -END - - -///////////////////////////////////////////////////////////////////////////// -// -// Bitmap -// - -IDB_BITMAP_SET1 BITMAP "res\\ch_set1.bmp" -IDB_BITMAP_SET2 BITMAP "res\\ch_set2.bmp" - -///////////////////////////////////////////////////////////////////////////// -// -// String Table -// - -STRINGTABLE -BEGIN - IDS_ABOUTBOX "&About 9812DLTg..." -END - -#endif // English (U.S.) resources -///////////////////////////////////////////////////////////////////////////// - - - -#ifndef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 3 resource. -// -#define _AFX_NO_SPLITTER_RESOURCES -#define _AFX_NO_OLE_RESOURCES -#define _AFX_NO_TRACKER_RESOURCES -#define _AFX_NO_PROPERTY_RESOURCES - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -LANGUAGE 9, 1 -#pragma code_page(1252) -#include "res\My9812DLTg.rc2" // non-Microsoft Visual C++ edited resources -#include "afxres.rc" // Standard components -#endif - -///////////////////////////////////////////////////////////////////////////// -#endif // not APSTUDIO_INVOKED - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812DbfDelayTrg/9812DLTg.sln b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812DbfDelayTrg/9812DLTg.sln deleted file mode 100644 index 8541fc7..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812DbfDelayTrg/9812DLTg.sln +++ /dev/null @@ -1,20 +0,0 @@ - -Microsoft Visual Studio Solution File, Format Version 10.00 -# Visual Studio 2008 -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "9812DLTg", "9812DLTg.vcproj", "{702163FB-B6DF-4EF5-9491-FC54D71509BC}" -EndProject -Global - GlobalSection(SolutionConfigurationPlatforms) = preSolution - Debug|x64 = Debug|x64 - Release|x64 = Release|x64 - EndGlobalSection - GlobalSection(ProjectConfigurationPlatforms) = postSolution - {702163FB-B6DF-4EF5-9491-FC54D71509BC}.Debug|x64.ActiveCfg = Debug|x64 - {702163FB-B6DF-4EF5-9491-FC54D71509BC}.Debug|x64.Build.0 = Debug|x64 - {702163FB-B6DF-4EF5-9491-FC54D71509BC}.Release|x64.ActiveCfg = Release|x64 - {702163FB-B6DF-4EF5-9491-FC54D71509BC}.Release|x64.Build.0 = Release|x64 - EndGlobalSection - GlobalSection(SolutionProperties) = preSolution - HideSolutionNode = FALSE - EndGlobalSection -EndGlobal diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812DbfDelayTrg/9812DLTg.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812DbfDelayTrg/9812DLTg.suo deleted file mode 100644 index 205f18b..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812DbfDelayTrg/9812DLTg.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812DbfDelayTrg/9812DLTg.vcproj b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812DbfDelayTrg/9812DLTg.vcproj deleted file mode 100644 index e8110f5..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812DbfDelayTrg/9812DLTg.vcproj +++ /dev/null @@ -1,294 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812DbfDelayTrg/9812DLTgDlg.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812DbfDelayTrg/9812DLTgDlg.cpp deleted file mode 100644 index 9d2a603..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812DbfDelayTrg/9812DLTgDlg.cpp +++ /dev/null @@ -1,523 +0,0 @@ - -// 9812DLTgDlg.cpp : implementation file -// - -#include "stdafx.h" -#include "9812DLTg.h" -#include "9812DLTgDlg.h" - -#ifdef _DEBUG -#define new DEBUG_NEW -#endif - -CRect plotRect; - -// CAboutDlg dialog used for App About - -class CAboutDlg : public CDialog -{ -public: - CAboutDlg(); - -// Dialog Data - enum { IDD = IDD_ABOUTBOX }; - - protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - -// Implementation -protected: - DECLARE_MESSAGE_MAP() -}; - -CAboutDlg::CAboutDlg() : CDialog(CAboutDlg::IDD) -{ -} - -void CAboutDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); -} - -BEGIN_MESSAGE_MAP(CAboutDlg, CDialog) -END_MESSAGE_MAP() - - -// C9812DLTgDlg dialog - - - - -C9812DLTgDlg::C9812DLTgDlg(I16 hCard, U16 wCardType, CWnd* pParent /*=NULL*/) - : CDialog(C9812DLTgDlg::IDD, pParent) -{ - m_hIcon = AfxGetApp()->LoadIcon(IDR_MAINFRAME); - - n_PlotWidth = n_PlotHeight = -1; - OnBrush = OffBrush = NULL; - - min_val = 0x00; - max_val = 0xFFFF; - - m_fSampleRate = 500000.0; // 500KHz - - m_hCard = hCard; - - m_wScanChans = 0; - m_nTimer = -1; - m_hMem=NULL; - - m_wRange = AD_B_1_V; - m_dwReadCount = 102400; - m_wPostCount = 1024; - - m_wCardType = wCardType; - -} - -void C9812DLTgDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); -} - -BEGIN_MESSAGE_MAP(C9812DLTgDlg, CDialog) - ON_WM_SYSCOMMAND() - ON_WM_PAINT() - ON_WM_QUERYDRAGICON() - //}}AFX_MSG_MAP - ON_WM_DESTROY() - ON_WM_VSCROLL() - ON_BN_CLICKED(IDC_BT_START, &C9812DLTgDlg::OnStart) - ON_WM_TIMER() - ON_BN_CLICKED(IDC_BT_STOP, &C9812DLTgDlg::OnStop) -END_MESSAGE_MAP() - - -// C9812DLTgDlg message handlers - -BOOL C9812DLTgDlg::OnInitDialog() -{ - CDialog::OnInitDialog(); - - // Add "About..." menu item to system menu. - - // IDM_ABOUTBOX must be in the system command range. - ASSERT((IDM_ABOUTBOX & 0xFFF0) == IDM_ABOUTBOX); - ASSERT(IDM_ABOUTBOX < 0xF000); - - CMenu* pSysMenu = GetSystemMenu(FALSE); - if (pSysMenu != NULL) - { - BOOL bNameValid; - CString strAboutMenu; - bNameValid = strAboutMenu.LoadString(IDS_ABOUTBOX); - ASSERT(bNameValid); - if (!strAboutMenu.IsEmpty()) - { - pSysMenu->AppendMenu(MF_SEPARATOR); - pSysMenu->AppendMenu(MF_STRING, IDM_ABOUTBOX, strAboutMenu); - } - } - - // Set the icon for this dialog. The framework does this automatically - // when the application's main window is not a dialog - SetIcon(m_hIcon, TRUE); // Set big icon - SetIcon(m_hIcon, FALSE); // Set small icon - - // TODO: Add extra initialization here - x_divider = 5; y_divider = 4; - - OnBrush = CreateSolidBrush( RGB(255,0,0) ); - OffBrush = CreateSolidBrush( RGB(125,0,0) ); - - RedPen.CreatePen( PS_SOLID, 1, RGB(255,0,0)); - - - if( n_PlotWidth == -1 && n_PlotHeight == -1 ) - { - ((CWnd*)GetDlgItem(IDC_STATIC_DRAW))->GetWindowRect(&plotRect); - ScreenToClient(&plotRect); - - n_PlotWidth = min( plotRect.Width(), 512); - n_PlotHeight = plotRect.Height() - 10; - } - - // set the default SampleRate - SetDlgItemInt( IDC_EDIT_SAMPLE_RATE, (UINT)(m_fSampleRate/1000) ); - SetDlgItemInt( IDC_EDIT_BUF_SIZE, (UINT)(m_dwReadCount) ); - SetDlgItemInt( IDC_EDIT_TRACE_CNT, (UINT)(m_wPostCount) ); - ((CButton*)GetDlgItem( IDC_RADIO_CH0 ))->SetCheck( TRUE ); - - max_range = 1.0; - min_range = -1.0; - - return TRUE; // return TRUE unless you set the focus to a control -} - -void C9812DLTgDlg::OnSysCommand(UINT nID, LPARAM lParam) -{ - if ((nID & 0xFFF0) == IDM_ABOUTBOX) - { - CAboutDlg dlgAbout; - dlgAbout.DoModal(); - } - else - { - CDialog::OnSysCommand(nID, lParam); - } -} - -// If you add a minimize button to your dialog, you will need the code below -// to draw the icon. For MFC applications using the document/view model, -// this is automatically done for you by the framework. - -void C9812DLTgDlg::OnPaint() -{ - if (IsIconic()) - { - CPaintDC dc(this); // device context for painting - - SendMessage(WM_ICONERASEBKGND, reinterpret_cast(dc.GetSafeHdc()), 0); - - // Center icon in client rectangle - int cxIcon = GetSystemMetrics(SM_CXICON); - int cyIcon = GetSystemMetrics(SM_CYICON); - CRect rect; - GetClientRect(&rect); - int x = (rect.Width() - cxIcon + 1) / 2; - int y = (rect.Height() - cyIcon + 1) / 2; - - // Draw the icon - dc.DrawIcon(x, y, m_hIcon); - } - else - { - redraw_display_area(); - CDialog::OnPaint(); - } -} - -// The system calls this function to obtain the cursor to display while the user drags -// the minimized window. -HCURSOR C9812DLTgDlg::OnQueryDragIcon() -{ - return static_cast(m_hIcon); -} - - -void C9812DLTgDlg::redraw_display_area(void) -{ - CPen *oldPen; - - int oldMode; - COLORREF oldColor; - - CString y_lable; - - CPen minor_tick( PS_SOLID,1,RGB(132,130,132) ); -// CPen y_grid( PS_SOLID,1,RGB(206,203,132) ); - - int i, x_intv, y_intv; -// long total_sec; - - CClientDC dc_plot(this); - - // draw the base-line for x-y axises - oldPen = (CPen *)dc_plot.SelectStockObject(BLACK_PEN); - - // redraw the background - dc_plot.FillSolidRect( plotRect, RGB(0,0,0) ); - - // Re-Draw the AREA for Y-Lable - { - CBrush DIALOG_BRUSH; - CRect redraw_area, full_client; - - GetClientRect(&full_client); - ScreenToClient(&full_client); - - redraw_area.left = full_client.left; - redraw_area.top = plotRect.top - 5; - redraw_area.right = plotRect.left - 3; - redraw_area.bottom = plotRect.bottom + 10; - - DIALOG_BRUSH.CreateSysColorBrush( COLOR_3DFACE ); - - dc_plot.FillRect( redraw_area, &DIALOG_BRUSH ); - - DIALOG_BRUSH.DeleteObject(); - } - - dc_plot.MoveTo( plotRect.left - 3, plotRect.top ); - dc_plot.LineTo( plotRect.left - 3, plotRect.bottom ); - - // calculate the interval for tick/grid - y_intv = (plotRect.Height() - 10) /y_divider; - x_intv = plotRect.Width()/x_divider; - - - // set the color for tick - oldColor = dc_plot.SetTextColor( RGB(0,0,0) ); - oldMode = dc_plot.SetBkMode( TRANSPARENT ); - - for( i=0; i<= y_divider; i++ ) - { - CString tick_str; - CRect tmp_rect, tick_rect; - - // draw the tick for y-axis - dc_plot.MoveTo( plotRect.left -12, plotRect.bottom -5 - (i*y_intv) ); - dc_plot.LineTo( plotRect.left -3, plotRect.bottom -5 - (i*y_intv) ); - - tick_str.Format( _T("%.1f"), ( ((max_range-min_range)/y_divider) * i)+min_range ); - - // calculate the rectangle for text - dc_plot.DrawText( tick_str, &tmp_rect, DT_CALCRECT|DT_SINGLELINE ); - tick_rect.right = plotRect.left -14; - tick_rect.left = tick_rect.right - tmp_rect.Width(); - tick_rect.top = plotRect.bottom -5 - (i*y_intv) - tmp_rect.Height()/2; - tick_rect.bottom = tick_rect.top + tmp_rect.Height(); - - // draw the text - dc_plot.DrawText( tick_str, &tick_rect, DT_SINGLELINE|DT_RIGHT ); - - } - - // draw the minor_tick for Y axises - dc_plot.SelectObject(&minor_tick); - for( i=0; i< y_divider; i++ ) - { - dc_plot.MoveTo( plotRect.left -9, plotRect.bottom -5 - (i*y_intv) - y_intv/2 ); - dc_plot.LineTo( plotRect.left -4, plotRect.bottom -5 - (i*y_intv) - y_intv/2 ); - } - - dc_plot.SetTextColor( oldColor ); - dc_plot.SetBkMode( oldMode ); - dc_plot.SelectObject( oldPen ); -} - -void C9812DLTgDlg::OnDestroy() -{ - CDialog::OnDestroy(); - - // TODO: Add your message handler code here - if( m_nTimer != -1 ) - { - KillTimer( m_nTimer ); - m_nTimer = -1; - } - - if (m_hMem != NULL) - { - GlobalUnfix(m_hMem); - GlobalUnlock(m_hMem); - GlobalFree(m_hMem); - - m_hMem = NULL; - } - - if( OnBrush != NULL ) - ::DeleteObject( OnBrush ); - - if( OffBrush != NULL ) - ::DeleteObject( OffBrush ); - - RedPen.DeleteObject(); - -} - -void C9812DLTgDlg::OnVScroll(UINT nSBCode, UINT nPos, CScrollBar* pScrollBar) -{ - // TODO: Add your message handler code here and/or call default - switch ( nSBCode ) - { - case SB_LINEUP : - m_fSampleRate += 100000.0; - if (m_fSampleRate > 5*1000000.0 ) m_fSampleRate = 5*1000000.0; - break; - case SB_LINEDOWN: - m_fSampleRate -= 100000.0; - if (m_fSampleRate < 5000.0 ) m_fSampleRate = 5000.0; - break; - } - - SetDlgItemInt( IDC_EDIT_SAMPLE_RATE, (UINT)(m_fSampleRate/1000) ); - - CDialog::OnVScroll(nSBCode, nPos, pScrollBar); -} - - -void C9812DLTgDlg::OnStop() -{ - // TODO: Add your control notification handler code here - U32 count; - - AI_AsyncClear(m_hCard, &count); - - if( m_nTimer != -1 ) - { - KillTimer( m_nTimer ); - m_nTimer = -1; - } - - GetDlgItem( IDC_BT_START )->EnableWindow(TRUE); -} - -void C9812DLTgDlg::OnStart() -{ - // TODO: Add your control notification handler code here - DWORD mem_size; - CString strTemp; - I16 err; - - GetDlgItem( IDC_BT_START )->EnableWindow(FALSE); - - m_dwReadCount = GetDlgItemInt(IDC_EDIT_BUF_SIZE); - - m_wPostCount = GetDlgItemInt(IDC_EDIT_TRACE_CNT); - - if (m_hMem != NULL) - { - GlobalUnfix(m_hMem); - GlobalUnlock(m_hMem); - GlobalFree(m_hMem); - - m_hMem = NULL; - } - - // allocate a memory for user DMA buffer - mem_size = m_dwReadCount * sizeof(I16); - m_hMem = GlobalAlloc(GMEM_ZEROINIT, mem_size); - m_pAIBuf = (U16*) GlobalLock(m_hMem); - if (m_pAIBuf == NULL ) - { - AfxMessageBox( TEXT("Memory allocation failed"), MB_OK); - return; - } - - GlobalFix(m_hMem); - - err = AI_9812_Config(m_hCard, P9812_TRGMOD_DELAY, P9812_TRGSRC_EXT_DIG, P9812_TRGSLP_POS, P9812_AD2_GT_PCI|P9812_CLKSRC_INT, 0x80, m_wPostCount); - if (err!=0) - { - strTemp.Format( TEXT("AI_9812_Config error=%d"), err); - AfxMessageBox( strTemp ); - } - - err=AI_AsyncDblBufferMode(m_hCard, 1); // single-buffer mode - if (err!=0) - { - strTemp.Format( TEXT("AI_DblBufferMode error=%d"), err); - AfxMessageBox( strTemp ); - } - - err=AI_ContReadChannel (m_hCard, 0, m_wRange, (U16*)m_pAIBuf, m_dwReadCount, (F64)m_fSampleRate, ASYNCH_OP); - if (err!=0) - { - strTemp.Format( TEXT("AI_ContReadChannel error=%d"), err); - AfxMessageBox( strTemp ); - } - - m_nTimer = SetTimer( 1, 10, NULL ); - -} - -int C9812DLTgDlg::display_buffer_data(U16* pBuf, U32 dwDataSize) -{ - CClientDC dc_plot(this); - int nDraw_Origin_Y; - int cur_channel; - - int newY = -1; - int newX = -1; - U32 dwReadCount = (m_dwReadCount/2); // for double-buffer operation - U32 index; - I16 ai_data; - - // redraw the background - dc_plot.FillSolidRect( plotRect, RGB(0,0,0) ); - - dc_plot.SelectObject(&RedPen); - nDraw_Origin_Y = ( plotRect.bottom - 5 ) - n_PlotHeight/2; - - for( index=0; index> 4; - newY = (int)( nDraw_Origin_Y - ((n_PlotHeight * ai_data) >> 12 ) ); // (n_PlotHeight * ai_data / 4096 ) ); // ( (n_PlotHeight/2) * ai_data/2048 ) ); - } - else // PCI_9810 - { - cur_channel = index%(m_wScanChans+1); - ai_data = (I16)(pBuf[index]) >> 6; - newY = (int)( nDraw_Origin_Y - ((n_PlotHeight * ai_data) >> 10 ) ); // (n_PlotHeight * ai_data / 1024 ) ); // ( (n_PlotHeight/2) * ai_data/512 ) ); - } - - newX = (int)( index*n_PlotWidth/dwReadCount + plotRect.left ); - - if ( index == 0 ) - { - dc_plot.MoveTo( newX, newY ); - } - else - { - dc_plot.MoveTo( m_oldX, m_oldY ); - dc_plot.LineTo( newX, newY ); - } - - m_oldX = newX; - m_oldY = newY; - } - - return 0; -} - - -void C9812DLTgDlg::OnTimer(UINT_PTR nIDEvent) -{ - // TODO: Add your message handler code here and/or call default - BOOLEAN HalfReady; - BOOLEAN fstop; - U32 count; - - AI_AsyncDblBufferHalfReady(m_hCard, &HalfReady, &fstop); - - if( fstop == FALSE ) - { - if( HalfReady == TRUE ) // half-buffer is ready - { - AI_AsyncDblBufferTransfer(m_hCard, m_pAIBuf); - display_buffer_data( m_pAIBuf, m_dwReadCount/2 ); - } - } - else // AI operation stops - { - AI_AsyncDblBufferHalfReady(m_hCard, &HalfReady, &fstop); //Get the index of working buffer of Double Buffer - AI_AsyncClear(m_hCard, &count); - - if( (count > 0) && (count < (m_dwReadCount/2)) ) - { - AI_AsyncDblBufferTransfer(m_hCard, m_pAIBuf); - display_buffer_data( m_pAIBuf, count ); - } - - if( m_nTimer != -1 ) - { - KillTimer( m_nTimer ); - m_nTimer = -1; - } - - GetDlgItem( IDC_BT_START )->EnableWindow(TRUE); - - } - - CDialog::OnTimer(nIDEvent); -} - - - - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812DbfDelayTrg/9812DLTgDlg.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812DbfDelayTrg/9812DLTgDlg.h deleted file mode 100644 index e3e2d35..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812DbfDelayTrg/9812DLTgDlg.h +++ /dev/null @@ -1,66 +0,0 @@ - -// 9812DLTgDlg.h : header file -#pragma once -#include "afxcmn.h" -#include "afxwin.h" - -#include "Dask64.h" - -// C9812DLTgDlg dialog -class C9812DLTgDlg : public CDialog -{ -// Construction -public: - C9812DLTgDlg(I16 hCard, U16 wCardType, CWnd* pParent = NULL); // standard constructor - -// Dialog Data - enum { IDD = IDD_9812DMA_DIALOG }; - - protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - - -// Implementation -protected: - HICON m_hIcon; - UINT_PTR m_nTimer; - I16 m_hCard; - U16 m_wCardType; - double m_fSampleRate; - U16 m_wScanChans; - HANDLE m_hMem; - U16 *m_pAIBuf; - U16 m_wRange; - int m_oldY; - int m_oldX; - U32 m_dwReadCount; - U16 m_wPostCount; - - // Generated message map functions - virtual BOOL OnInitDialog(); - afx_msg void OnSysCommand(UINT nID, LPARAM lParam); - afx_msg void OnPaint(); - afx_msg HCURSOR OnQueryDragIcon(); - DECLARE_MESSAGE_MAP() - -public: - WORD max_val; - WORD min_val; - double max_range; - double min_range; - int n_PlotWidth; - int n_PlotHeight; - int y_divider; - int x_divider; - int m_DisplayScale; - HBRUSH OnBrush; - HBRUSH OffBrush; - CPen RedPen; - void redraw_display_area(void); - afx_msg void OnDestroy(); - afx_msg void OnVScroll(UINT nSBCode, UINT nPos, CScrollBar* pScrollBar); - afx_msg void OnStart(); - int display_buffer_data(U16* pBuf, U32 dwDataSize); - afx_msg void OnTimer(UINT_PTR nIDEvent); - afx_msg void OnStop(); -}; diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812DbfDelayTrg/9812MTrg.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812DbfDelayTrg/9812MTrg.suo deleted file mode 100644 index 8d94eb4..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812DbfDelayTrg/9812MTrg.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812DbfDelayTrg/CardIDDlg.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812DbfDelayTrg/CardIDDlg.cpp deleted file mode 100644 index 9851c7d..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812DbfDelayTrg/CardIDDlg.cpp +++ /dev/null @@ -1,74 +0,0 @@ -// CardIDDlg.cpp : implementation file -// -#include "stdafx.h" -#include "9812DLTg.h" -#include "9812DLTgDlg.h" -#include "CardIDDlg.h" - -// CCardIDDlg dialog - -IMPLEMENT_DYNAMIC(CCardIDDlg, CDialog) - -CCardIDDlg::CCardIDDlg(int nCardIdx, CWnd* pParent /*=NULL*/) - : CDialog(CCardIDDlg::IDD, pParent) -{ - m_nCardIdx = nCardIdx; -} - -CCardIDDlg::~CCardIDDlg() -{ -} - -void CCardIDDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); - DDX_Control(pDX, IDC_COMBO_CARDID, m_cbCardID); - DDX_Control(pDX, IDC_COMBO_CARDTYPE, m_cbCardType); -} - - -BEGIN_MESSAGE_MAP(CCardIDDlg, CDialog) -// ON_CBN_SELCHANGE(IDC_COMBO_CARDID, &CCardIDDlg::OnCbnSelchangeComboCardid) -ON_BN_CLICKED(IDOK, &CCardIDDlg::OnBnClickedOk) -//ON_WM_CTLCOLOR() -END_MESSAGE_MAP() - - -// CCardIDDlg message handlers - - -void CCardIDDlg::OnBnClickedOk() -{ - // TODO: Add your control notification handler code here - -// UpdateData(TRUE); - m_nCardIdx = m_cbCardID.GetCurSel(); - m_CardType = PCI_9810 + m_cbCardType.GetCurSel(); - - OnOK(); -} - -BOOL CCardIDDlg::OnInitDialog() -{ - CDialog::OnInitDialog(); - - // TODO: Add extra initialization here - m_cbCardID.SetCurSel( m_nCardIdx ); - - m_cbCardType.SetCurSel( 1 ); - m_CardType = PCI_9812; - - return TRUE; // return TRUE unless you set the focus to a control - // EXCEPTION: OCX Property Pages should return FALSE -} - -// the function to get the selected CardID -int CCardIDDlg::GetCardID(void) -{ - return m_nCardIdx; -} - -U16 CCardIDDlg::GetCardType(void) -{ - return m_CardType; -} diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812DbfDelayTrg/CardIDDlg.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812DbfDelayTrg/CardIDDlg.h deleted file mode 100644 index 23399df..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812DbfDelayTrg/CardIDDlg.h +++ /dev/null @@ -1,35 +0,0 @@ -#pragma once -#include "afxwin.h" - -#include "Dask64.h" - -// CCardIDDlg dialog - -class CCardIDDlg : public CDialog -{ - DECLARE_DYNAMIC(CCardIDDlg) - -public: - CCardIDDlg(int nCardIdx, CWnd* pParent = NULL); // standard constructor - virtual ~CCardIDDlg(); - -// Dialog Data - enum { IDD = IDD_CARDID_DIALOG }; - -protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - - DECLARE_MESSAGE_MAP() -public: - virtual BOOL OnInitDialog(); - afx_msg void OnBnClickedOk(); - // the setting of CardID ComboBox - int m_nCardIdx; - U16 m_CardType; - // the control of CardID ComboBox - CComboBox m_cbCardID; - CComboBox m_cbCardType; - // the function to get the selected CardID - int GetCardID(void); - U16 GetCardType(void); -}; diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812DbfDelayTrg/ReadMe.txt b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812DbfDelayTrg/ReadMe.txt deleted file mode 100644 index 852b02b..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812DbfDelayTrg/ReadMe.txt +++ /dev/null @@ -1,93 +0,0 @@ -================================================================================ - MICROSOFT FOUNDATION CLASS LIBRARY : 9812DLTg Project Overview -=============================================================================== - -The application wizard has created this 9812DLTg application for -you. This application not only demonstrates the basics of using the Microsoft -Foundation Classes but is also a starting point for writing your application. - -This file contains a summary of what you will find in each of the files that -make up your 9812DLTg application. - -9812DLTg.vcproj - This is the main project file for VC++ projects generated using an application wizard. - It contains information about the version of Visual C++ that generated the file, and - information about the platforms, configurations, and project features selected with the - application wizard. - -9812DLTg.h - This is the main header file for the application. It includes other - project specific headers (including Resource.h) and declares the - C9812DLTgApp application class. - -9812DLTg.cpp - This is the main application source file that contains the application - class C9812DLTgApp. - -9812DLTg.rc - This is a listing of all of the Microsoft Windows resources that the - program uses. It includes the icons, bitmaps, and cursors that are stored - in the RES subdirectory. This file can be directly edited in Microsoft - Visual C++. Your project resources are in 1033. - -res\9812DLTg.ico - This is an icon file, which is used as the application's icon. This - icon is included by the main resource file 9812DLTg.rc. - -res\My9812DLTg.rc2 - This file contains resources that are not edited by Microsoft - Visual C++. You should place all resources not editable by - the resource editor in this file. - - -///////////////////////////////////////////////////////////////////////////// - -The application wizard creates one dialog class: - -9812DLTgDlg.h, 9812DLTgDlg.cpp - the dialog - These files contain your C9812DLTgDlg class. This class defines - the behavior of your application's main dialog. The dialog's template is - in 9812DLTg.rc, which can be edited in Microsoft Visual C++. - - -///////////////////////////////////////////////////////////////////////////// - -Other Features: - -ActiveX Controls - The application includes support to use ActiveX controls. - -///////////////////////////////////////////////////////////////////////////// - -Other standard files: - -StdAfx.h, StdAfx.cpp - These files are used to build a precompiled header (PCH) file - named 9812DLTg.pch and a precompiled types file named StdAfx.obj. - -Resource.h - This is the standard header file, which defines new resource IDs. - Microsoft Visual C++ reads and updates this file. - -9812DLTg.manifest - Application manifest files are used by Windows XP to describe an applications - dependency on specific versions of Side-by-Side assemblies. The loader uses this - information to load the appropriate assembly from the assembly cache or private - from the application. The Application manifest maybe included for redistribution - as an external .manifest file that is installed in the same folder as the application - executable or it may be included in the executable in the form of a resource. -///////////////////////////////////////////////////////////////////////////// - -Other notes: - -The application wizard uses "TODO:" to indicate parts of the source code you -should add to or customize. - -If your application uses MFC in a shared DLL, you will need -to redistribute the MFC DLLs. If your application is in a language -other than the operating system's locale, you will also have to -redistribute the corresponding localized resources MFC90XXX.DLL. -For more information on both of these topics, please see the section on -redistributing Visual C++ applications in MSDN documentation. - -///////////////////////////////////////////////////////////////////////////// diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812DbfDelayTrg/res/9812DLTg.ico b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812DbfDelayTrg/res/9812DLTg.ico deleted file mode 100644 index d56fbcd..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812DbfDelayTrg/res/9812DLTg.ico and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812DbfDelayTrg/res/My9812DLTg.rc2 b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812DbfDelayTrg/res/My9812DLTg.rc2 deleted file mode 100644 index 383cde2..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812DbfDelayTrg/res/My9812DLTg.rc2 +++ /dev/null @@ -1,13 +0,0 @@ -// -// My9111int.RC2 - resources Microsoft Visual C++ does not edit directly -// - -#ifdef APSTUDIO_INVOKED -#error this file is not editable by Microsoft Visual C++ -#endif //APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// Add manually edited resources here... - -///////////////////////////////////////////////////////////////////////////// diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812DbfDelayTrg/res/ch_set1.bmp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812DbfDelayTrg/res/ch_set1.bmp deleted file mode 100644 index f2374ed..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812DbfDelayTrg/res/ch_set1.bmp and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812DbfDelayTrg/res/ch_set2.bmp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812DbfDelayTrg/res/ch_set2.bmp deleted file mode 100644 index 32d0915..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812DbfDelayTrg/res/ch_set2.bmp and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812DbfDelayTrg/resource.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812DbfDelayTrg/resource.h deleted file mode 100644 index 3562d28..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812DbfDelayTrg/resource.h +++ /dev/null @@ -1,36 +0,0 @@ -//{{NO_DEPENDENCIES}} -// Microsoft Visual C++ generated include file. -// Used by 9812DLTg.rc -// -#define IDM_ABOUTBOX 0x0010 -#define IDD_ABOUTBOX 100 -#define IDS_ABOUTBOX 101 -#define IDD_9812DMA_DIALOG 102 -#define IDR_MAINFRAME 128 -#define IDD_CARDID_DIALOG 129 -#define IDB_BITMAP_SET1 131 -#define IDB_BITMAP_SET2 132 -#define IDC_STATIC_DRAW 1000 -#define IDC_COMBO_CARDID 1001 -#define IDC_BT_STOP 1002 -#define IDC_COMBO_CARDTYPE 1002 -#define IDC_BT_START 1003 -#define IDC_EDIT_SAMPLE_RATE 1004 -#define IDC_SCROLLBAR_RATE 1005 -#define IDC_RADIO_CH0 1006 -#define IDC_STATIC_01 1007 -#define IDC_EDIT_BUF_SIZE 1008 -#define IDC_STATIC_2 1009 -#define IDC_EDIT_TRACE_CNT 1010 -#define IDC_STATIC_TRACE_CNT 1011 - -// Next default values for new objects -// -#ifdef APSTUDIO_INVOKED -#ifndef APSTUDIO_READONLY_SYMBOLS -#define _APS_NEXT_RESOURCE_VALUE 134 -#define _APS_NEXT_COMMAND_VALUE 32771 -#define _APS_NEXT_CONTROL_VALUE 1012 -#define _APS_NEXT_SYMED_VALUE 101 -#endif -#endif diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812DbfDelayTrg/stdafx.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812DbfDelayTrg/stdafx.cpp deleted file mode 100644 index ef80626..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812DbfDelayTrg/stdafx.cpp +++ /dev/null @@ -1,8 +0,0 @@ - -// stdafx.cpp : source file that includes just the standard includes -// 9111int.pch will be the pre-compiled header -// stdafx.obj will contain the pre-compiled type information - -#include "stdafx.h" - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812DbfDelayTrg/stdafx.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812DbfDelayTrg/stdafx.h deleted file mode 100644 index 12123e2..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812DbfDelayTrg/stdafx.h +++ /dev/null @@ -1,60 +0,0 @@ - -// stdafx.h : include file for standard system include files, -// or project specific include files that are used frequently, -// but are changed infrequently - -#pragma once - -#ifndef _SECURE_ATL -#define _SECURE_ATL 1 -#endif - -#ifndef VC_EXTRALEAN -#define VC_EXTRALEAN // Exclude rarely-used stuff from Windows headers -#endif - -#include "targetver.h" - -#define _ATL_CSTRING_EXPLICIT_CONSTRUCTORS // some CString constructors will be explicit - -// turns off MFC's hiding of some common and often safely ignored warning messages -#define _AFX_ALL_WARNINGS - -#include // MFC core and standard components -#include // MFC extensions - - -#include // MFC Automation classes - - - -#ifndef _AFX_NO_OLE_SUPPORT -#include // MFC support for Internet Explorer 4 Common Controls -#endif -#ifndef _AFX_NO_AFXCMN_SUPPORT -#include // MFC support for Windows Common Controls -#endif // _AFX_NO_AFXCMN_SUPPORT - -#include // MFC support for ribbons and control bars - - - - - - - - - -#ifdef _UNICODE -#if defined _M_IX86 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='x86' publicKeyToken='6595b64144ccf1df' language='*'\"") -#elif defined _M_IA64 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='ia64' publicKeyToken='6595b64144ccf1df' language='*'\"") -#elif defined _M_X64 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='amd64' publicKeyToken='6595b64144ccf1df' language='*'\"") -#else -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='*' publicKeyToken='6595b64144ccf1df' language='*'\"") -#endif -#endif - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812DbfDelayTrg/targetver.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812DbfDelayTrg/targetver.h deleted file mode 100644 index 11730d5..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812DbfDelayTrg/targetver.h +++ /dev/null @@ -1,26 +0,0 @@ - -#pragma once - -// The following macros define the minimum required platform. The minimum required platform -// is the earliest version of Windows, Internet Explorer etc. that has the necessary features to run -// your application. The macros work by enabling all features available on platform versions up to and -// including the version specified. - -// Modify the following defines if you have to target a platform prior to the ones specified below. -// Refer to MSDN for the latest info on corresponding values for different platforms. -#ifndef WINVER // Specifies that the minimum required platform is Windows Vista. -#define WINVER 0x0600 // Change this to the appropriate value to target other versions of Windows. -#endif - -#ifndef _WIN32_WINNT // Specifies that the minimum required platform is Windows Vista. -#define _WIN32_WINNT 0x0600 // Change this to the appropriate value to target other versions of Windows. -#endif - -#ifndef _WIN32_WINDOWS // Specifies that the minimum required platform is Windows 98. -#define _WIN32_WINDOWS 0x0410 // Change this to the appropriate value to target Windows Me or later. -#endif - -#ifndef _WIN32_IE // Specifies that the minimum required platform is Internet Explorer 7.0. -#define _WIN32_IE 0x0700 // Change this to the appropriate value to target other versions of IE. -#endif - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812DbfDma/9111DbInt.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812DbfDma/9111DbInt.suo deleted file mode 100644 index 3fde864..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812DbfDma/9111DbInt.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812DbfDma/9111PostTg.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812DbfDma/9111PostTg.suo deleted file mode 100644 index c59a833..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812DbfDma/9111PostTg.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812DbfDma/9111int.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812DbfDma/9111int.suo deleted file mode 100644 index aaca7d8..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812DbfDma/9111int.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812DbfDma/9118cdma.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812DbfDma/9118cdma.suo deleted file mode 100644 index b8841b1..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812DbfDma/9118cdma.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812DbfDma/9812cdma.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812DbfDma/9812cdma.cpp deleted file mode 100644 index 8e0a5aa..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812DbfDma/9812cdma.cpp +++ /dev/null @@ -1,111 +0,0 @@ - -// 9812cdma.cpp : Defines the class behaviors for the application. -// - -#include "stdafx.h" -#include "9812cdma.h" -#include "9812cdmaDlg.h" -#include "CardIDDlg.h" - -#ifdef _DEBUG -#define new DEBUG_NEW -#endif - - -// C9812cdmaApp - -BEGIN_MESSAGE_MAP(C9812cdmaApp, CWinAppEx) - ON_COMMAND(ID_HELP, &CWinApp::OnHelp) -END_MESSAGE_MAP() - - -// C9812cdmaApp construction - -C9812cdmaApp::C9812cdmaApp() -{ - // TODO: add construction code here, - // Place all significant initialization in InitInstance -} - - -// The one and only C9812cdmaApp object - -C9812cdmaApp theApp; - - -// C9812cdmaApp initialization - -BOOL C9812cdmaApp::InitInstance() -{ - int nCardID = 0; - I16 hCard; - U16 wCardType; - CString strTemp; - INT_PTR nResponse; - - // InitCommonControlsEx() is required on Windows XP if an application - // manifest specifies use of ComCtl32.dll version 6 or later to enable - // visual styles. Otherwise, any window creation will fail. - INITCOMMONCONTROLSEX InitCtrls; - InitCtrls.dwSize = sizeof(InitCtrls); - // Set this to include all the common control classes you want to use - // in your application. - InitCtrls.dwICC = ICC_WIN95_CLASSES; - InitCommonControlsEx(&InitCtrls); - - CWinAppEx::InitInstance(); - - AfxEnableControlContainer(); - - // Standard initialization - // If you are not using these features and wish to reduce the size - // of your final executable, you should remove from the following - // the specific initialization routines you do not need - // Change the registry key under which our settings are stored - // TODO: You should modify this string to be something appropriate - // such as the name of your company or organization - SetRegistryKey(_T("Local AppWizard-Generated Applications")); - - CCardIDDlg CardDlg( nCardID ); - - nResponse = CardDlg.DoModal(); - if (nResponse == IDOK) - { - nCardID = CardDlg.GetCardID(); - wCardType = CardDlg.GetCardType(); - - if ((hCard=Register_Card(wCardType, nCardID)) < 0) - { - strTemp.Format( TEXT("Register_Card Error = %d"), hCard); - AfxMessageBox( strTemp ); - } - else - { - C9812cdmaDlg dlg(hCard, wCardType); - m_pMainWnd = &dlg; - nResponse = dlg.DoModal(); - if (nResponse == IDOK) - { - // TODO: Place code here to handle when the dialog is - // dismissed with OK - } - else if (nResponse == IDCANCEL) - { - // TODO: Place code here to handle when the dialog is - // dismissed with Cancel - } - - if (hCard >= 0) Release_Card(hCard); - } - - } - else if (nResponse == IDCANCEL) - { - // TODO: Place code here to handle when the dialog is - // dismissed with Cancel - } - - // Since the dialog has been closed, return FALSE so that we exit the - // application, rather than start the application's message pump. - return FALSE; -} diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812DbfDma/9812cdma.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812DbfDma/9812cdma.h deleted file mode 100644 index 0d137f2..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812DbfDma/9812cdma.h +++ /dev/null @@ -1,32 +0,0 @@ - -// 9812cdma.h : main header file for the PROJECT_NAME application -// - -#pragma once - -#ifndef __AFXWIN_H__ - #error "include 'stdafx.h' before including this file for PCH" -#endif - -#include "resource.h" // main symbols - - -// C9812cdmaApp: -// See 9812cdma.cpp for the implementation of this class -// - -class C9812cdmaApp : public CWinAppEx -{ -public: - C9812cdmaApp(); - -// Overrides - public: - virtual BOOL InitInstance(); - -// Implementation - - DECLARE_MESSAGE_MAP() -}; - -extern C9812cdmaApp theApp; \ No newline at end of file diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812DbfDma/9812cdma.rc b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812DbfDma/9812cdma.rc deleted file mode 100644 index bc63a51..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812DbfDma/9812cdma.rc +++ /dev/null @@ -1,291 +0,0 @@ -// Microsoft Visual C++ generated resource script. -// -#include "resource.h" - -#define APSTUDIO_READONLY_SYMBOLS -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 2 resource. -// -#ifndef APSTUDIO_INVOKED -#include "targetver.h" -#endif -#include "afxres.h" - -///////////////////////////////////////////////////////////////////////////// -#undef APSTUDIO_READONLY_SYMBOLS - -///////////////////////////////////////////////////////////////////////////// -// Chinese (Taiwan) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_CHT) -#ifdef _WIN32 -LANGUAGE LANG_CHINESE, SUBLANG_CHINESE_TRADITIONAL -#pragma code_page(950) -#endif //_WIN32 - -#ifdef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// TEXTINCLUDE -// - -1 TEXTINCLUDE -BEGIN - "resource.h\0" -END - -2 TEXTINCLUDE -BEGIN - "#ifndef APSTUDIO_INVOKED\r\n" - "#include ""targetver.h""\r\n" - "#endif\r\n" - "#include ""afxres.h""\r\n" - "\0" -END - -3 TEXTINCLUDE -BEGIN - "#define _AFX_NO_SPLITTER_RESOURCES\r\n" - "#define _AFX_NO_OLE_RESOURCES\r\n" - "#define _AFX_NO_TRACKER_RESOURCES\r\n" - "#define _AFX_NO_PROPERTY_RESOURCES\r\n" - "\r\n" - "#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)\r\n" - "LANGUAGE 9, 1\r\n" - "#pragma code_page(1252)\r\n" - "#include ""res\\My9812cdma.rc2"" // non-Microsoft Visual C++ edited resources\r\n" - "#include ""afxres.rc"" // Standard components\r\n" - "#endif\r\n" - "\0" -END - -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// Icon -// - -// Icon with lowest ID value placed first to ensure application icon -// remains consistent on all systems. -IDR_MAINFRAME ICON "res\\9812cdma.ico" -#endif // Chinese (Taiwan) resources -///////////////////////////////////////////////////////////////////////////// - - -///////////////////////////////////////////////////////////////////////////// -// English (U.S.) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -#ifdef _WIN32 -LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US -#pragma code_page(1252) -#endif //_WIN32 - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog -// - -IDD_ABOUTBOX DIALOGEX 0, 0, 170, 62 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "About 9812cdma" -FONT 8, "MS Shell Dlg", 0, 0, 0x1 -BEGIN - ICON IDR_MAINFRAME,IDC_STATIC,14,14,21,20 - LTEXT "9812cdma, Version 1.0",IDC_STATIC,42,14,114,8,SS_NOPREFIX - LTEXT "Copyright (C) 2010",IDC_STATIC,42,26,114,8 - DEFPUSHBUTTON "OK",IDOK,113,41,50,14,WS_GROUP -END - -IDD_9812DMA_DIALOG DIALOGEX 0, 0, 365, 232 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU -EXSTYLE WS_EX_APPWINDOW -CAPTION "PCI-9812 Double-Buffered DMA" -FONT 8, "MS Shell Dlg", 0, 0, 0x1 -BEGIN - GROUPBOX "",IDC_STATIC_DRAW,45,9,248,161,NOT WS_VISIBLE - LTEXT "Range : +/- 1V",IDC_STATIC,299,129,52,15 - LTEXT "Buffer Size",IDC_STATIC,124,183,42,9 - EDITTEXT IDC_EDIT_SAMPLE_RATE,47,196,39,14,ES_AUTOHSCROLL | ES_READONLY - LTEXT "Sample Rate :",IDC_STATIC,47,182,49,9 - LTEXT "KHz",IDC_STATIC,99,199,15,9 - SCROLLBAR IDC_SCROLLBAR_RATE,87,196,9,11,SBS_VERT - PUSHBUTTON "Start",IDC_BT_START,230,188,55,22 - CONTROL "0",IDC_RADIO_CH0,"Button",BS_AUTORADIOBUTTON | BS_LEFTTEXT,307,20,16,12 - EDITTEXT IDC_EDIT_BUF_SIZE,122,196,46,14,ES_AUTOHSCROLL - PUSHBUTTON "Stop",IDC_BT_STOP,291,188,55,22 -END - -IDD_CARDID_DIALOG DIALOGEX 0, 0, 174, 126 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "Card ID" -FONT 8, "MS Shell Dlg", 400, 0, 0x1 -BEGIN - COMBOBOX IDC_COMBO_CARDID,75,24,71,126,CBS_DROPDOWN | WS_VSCROLL | WS_TABSTOP - LTEXT "Card Number",IDC_STATIC_01,21,25,46,12 - PUSHBUTTON "OK",IDOK,22,81,58,19 - PUSHBUTTON "CANCEL",IDCANCEL,86,81,58,19 - COMBOBOX IDC_COMBO_CARDTYPE,75,46,71,126,CBS_DROPDOWN | WS_VSCROLL | WS_TABSTOP - LTEXT "Card Type",IDC_STATIC_2,29,47,37,12 -END - - -///////////////////////////////////////////////////////////////////////////// -// -// Version -// - -VS_VERSION_INFO VERSIONINFO - FILEVERSION 1,0,0,1 - PRODUCTVERSION 1,0,0,1 - FILEFLAGSMASK 0x3fL -#ifdef _DEBUG - FILEFLAGS 0x1L -#else - FILEFLAGS 0x0L -#endif - FILEOS 0x4L - FILETYPE 0x1L - FILESUBTYPE 0x0L -BEGIN - BLOCK "StringFileInfo" - BEGIN - BLOCK "040904e4" - BEGIN - VALUE "CompanyName", "TODO: " - VALUE "FileDescription", "TODO: " - VALUE "FileVersion", "1.0.0.1" - VALUE "InternalName", "9812cdma.exe" - VALUE "LegalCopyright", "TODO: (c) . All rights reserved." - VALUE "OriginalFilename", "9812cdma.exe" - VALUE "ProductName", "TODO: " - VALUE "ProductVersion", "1.0.0.1" - END - END - BLOCK "VarFileInfo" - BEGIN - VALUE "Translation", 0x409, 1252 - END -END - - -///////////////////////////////////////////////////////////////////////////// -// -// DESIGNINFO -// - -#ifdef APSTUDIO_INVOKED -GUIDELINES DESIGNINFO -BEGIN - IDD_ABOUTBOX, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 163 - TOPMARGIN, 7 - BOTTOMMARGIN, 55 - END - - IDD_CARDID_DIALOG, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 167 - TOPMARGIN, 7 - BOTTOMMARGIN, 119 - END -END -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog Info -// - -IDD_CARDID_DIALOG DLGINIT -BEGIN - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0030, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0031, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0032, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0033, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0034, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0035, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0036, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0037, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0038, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0039, - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3031, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3131, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3231, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3331, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3431, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3531, "\000" - IDC_COMBO_CARDTYPE, 0x403, 9, 0 -0x4350, 0x5f49, 0x3839, 0x3031, "\000" - IDC_COMBO_CARDTYPE, 0x403, 9, 0 -0x4350, 0x5f49, 0x3839, 0x3231, "\000" - 0 -END - - -///////////////////////////////////////////////////////////////////////////// -// -// Bitmap -// - -IDB_BITMAP_SET1 BITMAP "res\\ch_set1.bmp" -IDB_BITMAP_SET2 BITMAP "res\\ch_set2.bmp" - -///////////////////////////////////////////////////////////////////////////// -// -// String Table -// - -STRINGTABLE -BEGIN - IDS_ABOUTBOX "&About 9812cdma..." -END - -#endif // English (U.S.) resources -///////////////////////////////////////////////////////////////////////////// - - - -#ifndef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 3 resource. -// -#define _AFX_NO_SPLITTER_RESOURCES -#define _AFX_NO_OLE_RESOURCES -#define _AFX_NO_TRACKER_RESOURCES -#define _AFX_NO_PROPERTY_RESOURCES - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -LANGUAGE 9, 1 -#pragma code_page(1252) -#include "res\My9812cdma.rc2" // non-Microsoft Visual C++ edited resources -#include "afxres.rc" // Standard components -#endif - -///////////////////////////////////////////////////////////////////////////// -#endif // not APSTUDIO_INVOKED - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812DbfDma/9812cdma.sln b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812DbfDma/9812cdma.sln deleted file mode 100644 index e408c15..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812DbfDma/9812cdma.sln +++ /dev/null @@ -1,20 +0,0 @@ - -Microsoft Visual Studio Solution File, Format Version 10.00 -# Visual Studio 2008 -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "9812cdma", "9812cdma.vcproj", "{702163FB-B6DF-4EF5-9491-FC54D71509BC}" -EndProject -Global - GlobalSection(SolutionConfigurationPlatforms) = preSolution - Debug|x64 = Debug|x64 - Release|x64 = Release|x64 - EndGlobalSection - GlobalSection(ProjectConfigurationPlatforms) = postSolution - {702163FB-B6DF-4EF5-9491-FC54D71509BC}.Debug|x64.ActiveCfg = Debug|x64 - {702163FB-B6DF-4EF5-9491-FC54D71509BC}.Debug|x64.Build.0 = Debug|x64 - {702163FB-B6DF-4EF5-9491-FC54D71509BC}.Release|x64.ActiveCfg = Release|x64 - {702163FB-B6DF-4EF5-9491-FC54D71509BC}.Release|x64.Build.0 = Release|x64 - EndGlobalSection - GlobalSection(SolutionProperties) = preSolution - HideSolutionNode = FALSE - EndGlobalSection -EndGlobal diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812DbfDma/9812cdma.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812DbfDma/9812cdma.suo deleted file mode 100644 index 2a9dcba..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812DbfDma/9812cdma.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812DbfDma/9812cdma.vcproj b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812DbfDma/9812cdma.vcproj deleted file mode 100644 index d04387a..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812DbfDma/9812cdma.vcproj +++ /dev/null @@ -1,294 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812DbfDma/9812cdmaDlg.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812DbfDma/9812cdmaDlg.cpp deleted file mode 100644 index c233ced..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812DbfDma/9812cdmaDlg.cpp +++ /dev/null @@ -1,496 +0,0 @@ - -// 9812cdmaDlg.cpp : implementation file -// - -#include "stdafx.h" -#include "9812cdma.h" -#include "9812cdmaDlg.h" - -#ifdef _DEBUG -#define new DEBUG_NEW -#endif - -CRect plotRect; - -// CAboutDlg dialog used for App About - -class CAboutDlg : public CDialog -{ -public: - CAboutDlg(); - -// Dialog Data - enum { IDD = IDD_ABOUTBOX }; - - protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - -// Implementation -protected: - DECLARE_MESSAGE_MAP() -}; - -CAboutDlg::CAboutDlg() : CDialog(CAboutDlg::IDD) -{ -} - -void CAboutDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); -} - -BEGIN_MESSAGE_MAP(CAboutDlg, CDialog) -END_MESSAGE_MAP() - - -// C9812cdmaDlg dialog - - - - -C9812cdmaDlg::C9812cdmaDlg(I16 hCard, U16 wCardType, CWnd* pParent /*=NULL*/) - : CDialog(C9812cdmaDlg::IDD, pParent) -{ - m_hIcon = AfxGetApp()->LoadIcon(IDR_MAINFRAME); - - n_PlotWidth = n_PlotHeight = -1; - OnBrush = OffBrush = NULL; - - min_val = 0x00; - max_val = 0xFFFF; - - m_fSampleRate = 10000.0; // 10KHz - - m_hCard = hCard; - - m_wScanChans = 0; - m_nTimer = -1; - m_hMem=NULL; - - m_wRange = AD_B_1_V; - m_dwReadCount = 1024; - m_wPostCount = 512; - - m_wCardType = wCardType; - -} - -void C9812cdmaDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); -} - -BEGIN_MESSAGE_MAP(C9812cdmaDlg, CDialog) - ON_WM_SYSCOMMAND() - ON_WM_PAINT() - ON_WM_QUERYDRAGICON() - //}}AFX_MSG_MAP - ON_WM_DESTROY() - ON_WM_VSCROLL() - ON_BN_CLICKED(IDC_BT_START, &C9812cdmaDlg::OnStart) - ON_WM_TIMER() - ON_BN_CLICKED(IDC_BT_STOP, &C9812cdmaDlg::OnStop) -END_MESSAGE_MAP() - - -// C9812cdmaDlg message handlers - -BOOL C9812cdmaDlg::OnInitDialog() -{ - CDialog::OnInitDialog(); - - // Add "About..." menu item to system menu. - - // IDM_ABOUTBOX must be in the system command range. - ASSERT((IDM_ABOUTBOX & 0xFFF0) == IDM_ABOUTBOX); - ASSERT(IDM_ABOUTBOX < 0xF000); - - CMenu* pSysMenu = GetSystemMenu(FALSE); - if (pSysMenu != NULL) - { - BOOL bNameValid; - CString strAboutMenu; - bNameValid = strAboutMenu.LoadString(IDS_ABOUTBOX); - ASSERT(bNameValid); - if (!strAboutMenu.IsEmpty()) - { - pSysMenu->AppendMenu(MF_SEPARATOR); - pSysMenu->AppendMenu(MF_STRING, IDM_ABOUTBOX, strAboutMenu); - } - } - - // Set the icon for this dialog. The framework does this automatically - // when the application's main window is not a dialog - SetIcon(m_hIcon, TRUE); // Set big icon - SetIcon(m_hIcon, FALSE); // Set small icon - - // TODO: Add extra initialization here - x_divider = 5; y_divider = 4; - - OnBrush = CreateSolidBrush( RGB(255,0,0) ); - OffBrush = CreateSolidBrush( RGB(125,0,0) ); - - RedPen.CreatePen( PS_SOLID, 1, RGB(255,0,0)); - - - if( n_PlotWidth == -1 && n_PlotHeight == -1 ) - { - ((CWnd*)GetDlgItem(IDC_STATIC_DRAW))->GetWindowRect(&plotRect); - ScreenToClient(&plotRect); - - n_PlotWidth = min( plotRect.Width(), 512); - n_PlotHeight = plotRect.Height() - 10; - } - - // set the default SampleRate - SetDlgItemInt( IDC_EDIT_SAMPLE_RATE, (UINT)(m_fSampleRate/1000) ); - SetDlgItemInt( IDC_EDIT_BUF_SIZE, (UINT)(m_dwReadCount) ); - ((CButton*)GetDlgItem( IDC_RADIO_CH0 ))->SetCheck( TRUE ); - - max_range = 1.0; - min_range = -1.0; - - return TRUE; // return TRUE unless you set the focus to a control -} - -void C9812cdmaDlg::OnSysCommand(UINT nID, LPARAM lParam) -{ - if ((nID & 0xFFF0) == IDM_ABOUTBOX) - { - CAboutDlg dlgAbout; - dlgAbout.DoModal(); - } - else - { - CDialog::OnSysCommand(nID, lParam); - } -} - -// If you add a minimize button to your dialog, you will need the code below -// to draw the icon. For MFC applications using the document/view model, -// this is automatically done for you by the framework. - -void C9812cdmaDlg::OnPaint() -{ - if (IsIconic()) - { - CPaintDC dc(this); // device context for painting - - SendMessage(WM_ICONERASEBKGND, reinterpret_cast(dc.GetSafeHdc()), 0); - - // Center icon in client rectangle - int cxIcon = GetSystemMetrics(SM_CXICON); - int cyIcon = GetSystemMetrics(SM_CYICON); - CRect rect; - GetClientRect(&rect); - int x = (rect.Width() - cxIcon + 1) / 2; - int y = (rect.Height() - cyIcon + 1) / 2; - - // Draw the icon - dc.DrawIcon(x, y, m_hIcon); - } - else - { - redraw_display_area(); - CDialog::OnPaint(); - } -} - -// The system calls this function to obtain the cursor to display while the user drags -// the minimized window. -HCURSOR C9812cdmaDlg::OnQueryDragIcon() -{ - return static_cast(m_hIcon); -} - - -void C9812cdmaDlg::redraw_display_area(void) -{ - CPen *oldPen; - - int oldMode; - COLORREF oldColor; - - CString y_lable; - - CPen minor_tick( PS_SOLID,1,RGB(132,130,132) ); -// CPen y_grid( PS_SOLID,1,RGB(206,203,132) ); - - int i, x_intv, y_intv; -// long total_sec; - - CClientDC dc_plot(this); - - // draw the base-line for x-y axises - oldPen = (CPen *)dc_plot.SelectStockObject(BLACK_PEN); - - // redraw the background - dc_plot.FillSolidRect( plotRect, RGB(0,0,0) ); - - // Re-Draw the AREA for Y-Lable - { - CBrush DIALOG_BRUSH; - CRect redraw_area, full_client; - - GetClientRect(&full_client); - ScreenToClient(&full_client); - - redraw_area.left = full_client.left; - redraw_area.top = plotRect.top - 5; - redraw_area.right = plotRect.left - 3; - redraw_area.bottom = plotRect.bottom + 10; - - DIALOG_BRUSH.CreateSysColorBrush( COLOR_3DFACE ); - - dc_plot.FillRect( redraw_area, &DIALOG_BRUSH ); - - DIALOG_BRUSH.DeleteObject(); - } - - dc_plot.MoveTo( plotRect.left - 3, plotRect.top ); - dc_plot.LineTo( plotRect.left - 3, plotRect.bottom ); - - // calculate the interval for tick/grid - y_intv = (plotRect.Height() - 10) /y_divider; - x_intv = plotRect.Width()/x_divider; - - - // set the color for tick - oldColor = dc_plot.SetTextColor( RGB(0,0,0) ); - oldMode = dc_plot.SetBkMode( TRANSPARENT ); - - for( i=0; i<= y_divider; i++ ) - { - CString tick_str; - CRect tmp_rect, tick_rect; - - // draw the tick for y-axis - dc_plot.MoveTo( plotRect.left -12, plotRect.bottom -5 - (i*y_intv) ); - dc_plot.LineTo( plotRect.left -3, plotRect.bottom -5 - (i*y_intv) ); - - tick_str.Format( _T("%.1f"), ( ((max_range-min_range)/y_divider) * i)+min_range ); - - // calculate the rectangle for text - dc_plot.DrawText( tick_str, &tmp_rect, DT_CALCRECT|DT_SINGLELINE ); - tick_rect.right = plotRect.left -14; - tick_rect.left = tick_rect.right - tmp_rect.Width(); - tick_rect.top = plotRect.bottom -5 - (i*y_intv) - tmp_rect.Height()/2; - tick_rect.bottom = tick_rect.top + tmp_rect.Height(); - - // draw the text - dc_plot.DrawText( tick_str, &tick_rect, DT_SINGLELINE|DT_RIGHT ); - - } - - // draw the minor_tick for Y axises - dc_plot.SelectObject(&minor_tick); - for( i=0; i< y_divider; i++ ) - { - dc_plot.MoveTo( plotRect.left -9, plotRect.bottom -5 - (i*y_intv) - y_intv/2 ); - dc_plot.LineTo( plotRect.left -4, plotRect.bottom -5 - (i*y_intv) - y_intv/2 ); - } - - dc_plot.SetTextColor( oldColor ); - dc_plot.SetBkMode( oldMode ); - dc_plot.SelectObject( oldPen ); -} - -void C9812cdmaDlg::OnDestroy() -{ - CDialog::OnDestroy(); - - // TODO: Add your message handler code here - if( m_nTimer != -1 ) - { - KillTimer( m_nTimer ); - m_nTimer = -1; - } - - if (m_hMem != NULL) - { - GlobalUnfix(m_hMem); - GlobalUnlock(m_hMem); - GlobalFree(m_hMem); - - m_hMem = NULL; - } - - if( OnBrush != NULL ) - ::DeleteObject( OnBrush ); - - if( OffBrush != NULL ) - ::DeleteObject( OffBrush ); - - RedPen.DeleteObject(); - -} - -void C9812cdmaDlg::OnVScroll(UINT nSBCode, UINT nPos, CScrollBar* pScrollBar) -{ - // TODO: Add your message handler code here and/or call default - switch ( nSBCode ) - { - case SB_LINEUP : - m_fSampleRate += 100000.0; - if (m_fSampleRate > 5*1000000 ) m_fSampleRate = 5*1000000; - break; - case SB_LINEDOWN: - m_fSampleRate -= 100000.0; - if (m_fSampleRate < 5000.0 ) m_fSampleRate = 5000.0; - break; - } - - SetDlgItemInt( IDC_EDIT_SAMPLE_RATE, (UINT)(m_fSampleRate/1000) ); - - CDialog::OnVScroll(nSBCode, nPos, pScrollBar); -} - - -void C9812cdmaDlg::OnStop() -{ - // TODO: Add your control notification handler code here - U32 count; - - AI_AsyncClear(m_hCard, &count); - - if( m_nTimer != -1 ) - { - KillTimer( m_nTimer ); - m_nTimer = -1; - } - - GetDlgItem( IDC_BT_START )->EnableWindow(TRUE); -} - - -void C9812cdmaDlg::OnStart() -{ - // TODO: Add your control notification handler code here - DWORD mem_size; - CString strTemp; - I16 err; - - GetDlgItem( IDC_BT_START )->EnableWindow(FALSE); - - m_dwReadCount = GetDlgItemInt(IDC_EDIT_BUF_SIZE); - - if (m_hMem != NULL) - { - GlobalUnfix(m_hMem); - GlobalUnlock(m_hMem); - GlobalFree(m_hMem); - - m_hMem = NULL; - } - - // allocate a memory for user DMA buffer - mem_size = m_dwReadCount * sizeof(I16); - m_hMem = GlobalAlloc(GMEM_ZEROINIT, mem_size); - m_pAIBuf = (U16*) GlobalLock(m_hMem); - if (m_pAIBuf == NULL ) - { - AfxMessageBox( TEXT("Memory allocation failed"), MB_OK); - return; - } - - GlobalFix(m_hMem); - - err = AI_9812_Config(m_hCard, P9812_TRGMOD_SOFT, 0, P9812_TRGSLP_POS, P9812_AD2_GT_PCI|P9812_CLKSRC_INT, 0, m_wPostCount); - if (err!=0) - { - strTemp.Format( TEXT("AI_9812_Config error=%d"), err); - AfxMessageBox( strTemp ); - } - - err=AI_AsyncDblBufferMode(m_hCard, 1); // single-buffer mode - if (err!=0) - { - strTemp.Format( TEXT("AI_DblBufferMode error=%d"), err); - AfxMessageBox( strTemp ); - } - - err=AI_ContReadChannel (m_hCard, 0, m_wRange, (U16*)m_pAIBuf, m_dwReadCount, (F64)m_fSampleRate, ASYNCH_OP); - if (err!=0) - { - strTemp.Format( TEXT("AI_ContReadChannel error=%d"), err); - AfxMessageBox( strTemp ); - } - - m_nTimer = SetTimer( 1, 20, NULL ); - -} - -int C9812cdmaDlg::display_buffer_data(U16* pBuf) -{ - CClientDC dc_plot(this); - int nDraw_Origin_Y; - int cur_channel; - - int newY = -1; - int newX = -1; - U32 index; - I16 ai_data; - U32 dwDataSize = (m_dwReadCount/2); - - // redraw the background - dc_plot.FillSolidRect( plotRect, RGB(0,0,0) ); - - dc_plot.SelectObject(&RedPen); - nDraw_Origin_Y = ( plotRect.bottom - 5 ) - n_PlotHeight/2; - - for( index=0; index> 4; - newY = (int)( nDraw_Origin_Y - ((n_PlotHeight * ai_data) >> 12 ) ); // (n_PlotHeight * ai_data / 4096 ) ); // ( (n_PlotHeight/2) * ai_data/2048 ) ); - } - else // PCI_9810 - { - cur_channel = index%(m_wScanChans+1); - ai_data = (I16)(pBuf[index]) >> 6; - newY = (int)( nDraw_Origin_Y - ((n_PlotHeight * ai_data) >> 10 ) ); // (n_PlotHeight * ai_data / 1024 ) ); // ( (n_PlotHeight/2) * ai_data/512 ) ); - } - - newX = (int)( index*n_PlotWidth/dwDataSize + plotRect.left ); - - if ( index == 0 ) - { - dc_plot.MoveTo( newX, newY ); - } - else - { - dc_plot.MoveTo( m_oldX, m_oldY ); - dc_plot.LineTo( newX, newY ); - } - - m_oldX = newX; - m_oldY = newY; - } - - return 0; -} - -void C9812cdmaDlg::OnTimer(UINT_PTR nIDEvent) -{ - // TODO: Add your message handler code here and/or call default - BOOLEAN HalfReady; - BOOLEAN fstop; - - AI_AsyncDblBufferHalfReady(m_hCard, &HalfReady, &fstop); - - if( HalfReady ) // half-buffer ready - { - AI_AsyncDblBufferTransfer(m_hCard, m_pAIBuf); - display_buffer_data( m_pAIBuf ); - } - - CDialog::OnTimer(nIDEvent); -} - - - - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812DbfDma/9812cdmaDlg.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812DbfDma/9812cdmaDlg.h deleted file mode 100644 index 5dede3c..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812DbfDma/9812cdmaDlg.h +++ /dev/null @@ -1,66 +0,0 @@ - -// 9812cdmaDlg.h : header file -#pragma once -#include "afxcmn.h" -#include "afxwin.h" - -#include "Dask64.h" - -// C9812cdmaDlg dialog -class C9812cdmaDlg : public CDialog -{ -// Construction -public: - C9812cdmaDlg(I16 hCard, U16 wCardType, CWnd* pParent = NULL); // standard constructor - -// Dialog Data - enum { IDD = IDD_9812DMA_DIALOG }; - - protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - - -// Implementation -protected: - HICON m_hIcon; - UINT_PTR m_nTimer; - I16 m_hCard; - U16 m_wCardType; - double m_fSampleRate; - U16 m_wScanChans; - HANDLE m_hMem; - U16 *m_pAIBuf; - U16 m_wRange; - int m_oldY; - int m_oldX; - U32 m_dwReadCount; - U16 m_wPostCount; - - // Generated message map functions - virtual BOOL OnInitDialog(); - afx_msg void OnSysCommand(UINT nID, LPARAM lParam); - afx_msg void OnPaint(); - afx_msg HCURSOR OnQueryDragIcon(); - DECLARE_MESSAGE_MAP() - -public: - WORD max_val; - WORD min_val; - double max_range; - double min_range; - int n_PlotWidth; - int n_PlotHeight; - int y_divider; - int x_divider; - int m_DisplayScale; - HBRUSH OnBrush; - HBRUSH OffBrush; - CPen RedPen; - void redraw_display_area(void); - afx_msg void OnDestroy(); - afx_msg void OnVScroll(UINT nSBCode, UINT nPos, CScrollBar* pScrollBar); - afx_msg void OnStart(); - int display_buffer_data(U16* pBuf); - afx_msg void OnTimer(UINT_PTR nIDEvent); - afx_msg void OnStop(); -}; diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812DbfDma/CardIDDlg.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812DbfDma/CardIDDlg.cpp deleted file mode 100644 index 6dce6ad..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812DbfDma/CardIDDlg.cpp +++ /dev/null @@ -1,74 +0,0 @@ -// CardIDDlg.cpp : implementation file -// -#include "stdafx.h" -#include "9812cdma.h" -#include "9812cdmaDlg.h" -#include "CardIDDlg.h" - -// CCardIDDlg dialog - -IMPLEMENT_DYNAMIC(CCardIDDlg, CDialog) - -CCardIDDlg::CCardIDDlg(int nCardIdx, CWnd* pParent /*=NULL*/) - : CDialog(CCardIDDlg::IDD, pParent) -{ - m_nCardIdx = nCardIdx; -} - -CCardIDDlg::~CCardIDDlg() -{ -} - -void CCardIDDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); - DDX_Control(pDX, IDC_COMBO_CARDID, m_cbCardID); - DDX_Control(pDX, IDC_COMBO_CARDTYPE, m_cbCardType); -} - - -BEGIN_MESSAGE_MAP(CCardIDDlg, CDialog) -// ON_CBN_SELCHANGE(IDC_COMBO_CARDID, &CCardIDDlg::OnCbnSelchangeComboCardid) -ON_BN_CLICKED(IDOK, &CCardIDDlg::OnBnClickedOk) -//ON_WM_CTLCOLOR() -END_MESSAGE_MAP() - - -// CCardIDDlg message handlers - - -void CCardIDDlg::OnBnClickedOk() -{ - // TODO: Add your control notification handler code here - -// UpdateData(TRUE); - m_nCardIdx = m_cbCardID.GetCurSel(); - m_CardType = PCI_9810 + m_cbCardType.GetCurSel(); - - OnOK(); -} - -BOOL CCardIDDlg::OnInitDialog() -{ - CDialog::OnInitDialog(); - - // TODO: Add extra initialization here - m_cbCardID.SetCurSel( m_nCardIdx ); - - m_cbCardType.SetCurSel( 1 ); - m_CardType = PCI_9812; - - return TRUE; // return TRUE unless you set the focus to a control - // EXCEPTION: OCX Property Pages should return FALSE -} - -// the function to get the selected CardID -int CCardIDDlg::GetCardID(void) -{ - return m_nCardIdx; -} - -U16 CCardIDDlg::GetCardType(void) -{ - return m_CardType; -} diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812DbfDma/CardIDDlg.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812DbfDma/CardIDDlg.h deleted file mode 100644 index 23399df..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812DbfDma/CardIDDlg.h +++ /dev/null @@ -1,35 +0,0 @@ -#pragma once -#include "afxwin.h" - -#include "Dask64.h" - -// CCardIDDlg dialog - -class CCardIDDlg : public CDialog -{ - DECLARE_DYNAMIC(CCardIDDlg) - -public: - CCardIDDlg(int nCardIdx, CWnd* pParent = NULL); // standard constructor - virtual ~CCardIDDlg(); - -// Dialog Data - enum { IDD = IDD_CARDID_DIALOG }; - -protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - - DECLARE_MESSAGE_MAP() -public: - virtual BOOL OnInitDialog(); - afx_msg void OnBnClickedOk(); - // the setting of CardID ComboBox - int m_nCardIdx; - U16 m_CardType; - // the control of CardID ComboBox - CComboBox m_cbCardID; - CComboBox m_cbCardType; - // the function to get the selected CardID - int GetCardID(void); - U16 GetCardType(void); -}; diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812DbfDma/ReadMe.txt b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812DbfDma/ReadMe.txt deleted file mode 100644 index becdce7..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812DbfDma/ReadMe.txt +++ /dev/null @@ -1,93 +0,0 @@ -================================================================================ - MICROSOFT FOUNDATION CLASS LIBRARY : 9812cdma Project Overview -=============================================================================== - -The application wizard has created this 9812cdma application for -you. This application not only demonstrates the basics of using the Microsoft -Foundation Classes but is also a starting point for writing your application. - -This file contains a summary of what you will find in each of the files that -make up your 9812cdma application. - -9812cdma.vcproj - This is the main project file for VC++ projects generated using an application wizard. - It contains information about the version of Visual C++ that generated the file, and - information about the platforms, configurations, and project features selected with the - application wizard. - -9812cdma.h - This is the main header file for the application. It includes other - project specific headers (including Resource.h) and declares the - C9812cdmaApp application class. - -9812cdma.cpp - This is the main application source file that contains the application - class C9812cdmaApp. - -9812cdma.rc - This is a listing of all of the Microsoft Windows resources that the - program uses. It includes the icons, bitmaps, and cursors that are stored - in the RES subdirectory. This file can be directly edited in Microsoft - Visual C++. Your project resources are in 1033. - -res\9812cdma.ico - This is an icon file, which is used as the application's icon. This - icon is included by the main resource file 9812cdma.rc. - -res\My9812cdma.rc2 - This file contains resources that are not edited by Microsoft - Visual C++. You should place all resources not editable by - the resource editor in this file. - - -///////////////////////////////////////////////////////////////////////////// - -The application wizard creates one dialog class: - -9812cdmaDlg.h, 9812cdmaDlg.cpp - the dialog - These files contain your C9812cdmaDlg class. This class defines - the behavior of your application's main dialog. The dialog's template is - in 9812cdma.rc, which can be edited in Microsoft Visual C++. - - -///////////////////////////////////////////////////////////////////////////// - -Other Features: - -ActiveX Controls - The application includes support to use ActiveX controls. - -///////////////////////////////////////////////////////////////////////////// - -Other standard files: - -StdAfx.h, StdAfx.cpp - These files are used to build a precompiled header (PCH) file - named 9812cdma.pch and a precompiled types file named StdAfx.obj. - -Resource.h - This is the standard header file, which defines new resource IDs. - Microsoft Visual C++ reads and updates this file. - -9812cdma.manifest - Application manifest files are used by Windows XP to describe an applications - dependency on specific versions of Side-by-Side assemblies. The loader uses this - information to load the appropriate assembly from the assembly cache or private - from the application. The Application manifest maybe included for redistribution - as an external .manifest file that is installed in the same folder as the application - executable or it may be included in the executable in the form of a resource. -///////////////////////////////////////////////////////////////////////////// - -Other notes: - -The application wizard uses "TODO:" to indicate parts of the source code you -should add to or customize. - -If your application uses MFC in a shared DLL, you will need -to redistribute the MFC DLLs. If your application is in a language -other than the operating system's locale, you will also have to -redistribute the corresponding localized resources MFC90XXX.DLL. -For more information on both of these topics, please see the section on -redistributing Visual C++ applications in MSDN documentation. - -///////////////////////////////////////////////////////////////////////////// diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812DbfDma/res/9812cdma.ico b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812DbfDma/res/9812cdma.ico deleted file mode 100644 index d56fbcd..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812DbfDma/res/9812cdma.ico and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812DbfDma/res/My9812cdma.rc2 b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812DbfDma/res/My9812cdma.rc2 deleted file mode 100644 index 383cde2..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812DbfDma/res/My9812cdma.rc2 +++ /dev/null @@ -1,13 +0,0 @@ -// -// My9111int.RC2 - resources Microsoft Visual C++ does not edit directly -// - -#ifdef APSTUDIO_INVOKED -#error this file is not editable by Microsoft Visual C++ -#endif //APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// Add manually edited resources here... - -///////////////////////////////////////////////////////////////////////////// diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812DbfDma/res/ch_set1.bmp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812DbfDma/res/ch_set1.bmp deleted file mode 100644 index f2374ed..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812DbfDma/res/ch_set1.bmp and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812DbfDma/res/ch_set2.bmp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812DbfDma/res/ch_set2.bmp deleted file mode 100644 index 32d0915..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812DbfDma/res/ch_set2.bmp and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812DbfDma/resource.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812DbfDma/resource.h deleted file mode 100644 index 2e3f57b..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812DbfDma/resource.h +++ /dev/null @@ -1,34 +0,0 @@ -//{{NO_DEPENDENCIES}} -// Microsoft Visual C++ generated include file. -// Used by 9812cdma.rc -// -#define IDM_ABOUTBOX 0x0010 -#define IDD_ABOUTBOX 100 -#define IDS_ABOUTBOX 101 -#define IDD_9812DMA_DIALOG 102 -#define IDR_MAINFRAME 128 -#define IDD_CARDID_DIALOG 129 -#define IDB_BITMAP_SET1 131 -#define IDB_BITMAP_SET2 132 -#define IDC_STATIC_DRAW 1000 -#define IDC_COMBO_CARDID 1001 -#define IDC_BT_STOP 1002 -#define IDC_COMBO_CARDTYPE 1002 -#define IDC_BT_START 1003 -#define IDC_EDIT_SAMPLE_RATE 1004 -#define IDC_SCROLLBAR_RATE 1005 -#define IDC_STATIC_01 1006 -#define IDC_EDIT_BUF_SIZE 1007 -#define IDC_STATIC_2 1008 -#define IDC_RADIO_CH0 1009 - -// Next default values for new objects -// -#ifdef APSTUDIO_INVOKED -#ifndef APSTUDIO_READONLY_SYMBOLS -#define _APS_NEXT_RESOURCE_VALUE 134 -#define _APS_NEXT_COMMAND_VALUE 32771 -#define _APS_NEXT_CONTROL_VALUE 1010 -#define _APS_NEXT_SYMED_VALUE 101 -#endif -#endif diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812DbfDma/stdafx.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812DbfDma/stdafx.cpp deleted file mode 100644 index ef80626..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812DbfDma/stdafx.cpp +++ /dev/null @@ -1,8 +0,0 @@ - -// stdafx.cpp : source file that includes just the standard includes -// 9111int.pch will be the pre-compiled header -// stdafx.obj will contain the pre-compiled type information - -#include "stdafx.h" - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812DbfDma/stdafx.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812DbfDma/stdafx.h deleted file mode 100644 index 12123e2..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812DbfDma/stdafx.h +++ /dev/null @@ -1,60 +0,0 @@ - -// stdafx.h : include file for standard system include files, -// or project specific include files that are used frequently, -// but are changed infrequently - -#pragma once - -#ifndef _SECURE_ATL -#define _SECURE_ATL 1 -#endif - -#ifndef VC_EXTRALEAN -#define VC_EXTRALEAN // Exclude rarely-used stuff from Windows headers -#endif - -#include "targetver.h" - -#define _ATL_CSTRING_EXPLICIT_CONSTRUCTORS // some CString constructors will be explicit - -// turns off MFC's hiding of some common and often safely ignored warning messages -#define _AFX_ALL_WARNINGS - -#include // MFC core and standard components -#include // MFC extensions - - -#include // MFC Automation classes - - - -#ifndef _AFX_NO_OLE_SUPPORT -#include // MFC support for Internet Explorer 4 Common Controls -#endif -#ifndef _AFX_NO_AFXCMN_SUPPORT -#include // MFC support for Windows Common Controls -#endif // _AFX_NO_AFXCMN_SUPPORT - -#include // MFC support for ribbons and control bars - - - - - - - - - -#ifdef _UNICODE -#if defined _M_IX86 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='x86' publicKeyToken='6595b64144ccf1df' language='*'\"") -#elif defined _M_IA64 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='ia64' publicKeyToken='6595b64144ccf1df' language='*'\"") -#elif defined _M_X64 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='amd64' publicKeyToken='6595b64144ccf1df' language='*'\"") -#else -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='*' publicKeyToken='6595b64144ccf1df' language='*'\"") -#endif -#endif - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812DbfDma/targetver.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812DbfDma/targetver.h deleted file mode 100644 index 11730d5..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812DbfDma/targetver.h +++ /dev/null @@ -1,26 +0,0 @@ - -#pragma once - -// The following macros define the minimum required platform. The minimum required platform -// is the earliest version of Windows, Internet Explorer etc. that has the necessary features to run -// your application. The macros work by enabling all features available on platform versions up to and -// including the version specified. - -// Modify the following defines if you have to target a platform prior to the ones specified below. -// Refer to MSDN for the latest info on corresponding values for different platforms. -#ifndef WINVER // Specifies that the minimum required platform is Windows Vista. -#define WINVER 0x0600 // Change this to the appropriate value to target other versions of Windows. -#endif - -#ifndef _WIN32_WINNT // Specifies that the minimum required platform is Windows Vista. -#define _WIN32_WINNT 0x0600 // Change this to the appropriate value to target other versions of Windows. -#endif - -#ifndef _WIN32_WINDOWS // Specifies that the minimum required platform is Windows 98. -#define _WIN32_WINDOWS 0x0410 // Change this to the appropriate value to target Windows Me or later. -#endif - -#ifndef _WIN32_IE // Specifies that the minimum required platform is Internet Explorer 7.0. -#define _WIN32_IE 0x0700 // Change this to the appropriate value to target other versions of IE. -#endif - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812DbfMidTrg/9111DbInt.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812DbfMidTrg/9111DbInt.suo deleted file mode 100644 index 3fde864..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812DbfMidTrg/9111DbInt.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812DbfMidTrg/9111PostTg.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812DbfMidTrg/9111PostTg.suo deleted file mode 100644 index c59a833..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812DbfMidTrg/9111PostTg.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812DbfMidTrg/9111int.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812DbfMidTrg/9111int.suo deleted file mode 100644 index aaca7d8..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812DbfMidTrg/9111int.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812DbfMidTrg/9118Atrg.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812DbfMidTrg/9118Atrg.suo deleted file mode 100644 index e40fe72..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812DbfMidTrg/9118Atrg.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812DbfMidTrg/9118Prtg.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812DbfMidTrg/9118Prtg.suo deleted file mode 100644 index abe2567..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812DbfMidTrg/9118Prtg.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812DbfMidTrg/9118Ptrg.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812DbfMidTrg/9118Ptrg.suo deleted file mode 100644 index 07f7af8..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812DbfMidTrg/9118Ptrg.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812DbfMidTrg/9118cdma.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812DbfMidTrg/9118cdma.suo deleted file mode 100644 index d5c8a50..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812DbfMidTrg/9118cdma.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812DbfMidTrg/9812MTrg.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812DbfMidTrg/9812MTrg.cpp deleted file mode 100644 index f1157c1..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812DbfMidTrg/9812MTrg.cpp +++ /dev/null @@ -1,111 +0,0 @@ - -// 9812MTrg.cpp : Defines the class behaviors for the application. -// - -#include "stdafx.h" -#include "9812MTrg.h" -#include "9812MTrgDlg.h" -#include "CardIDDlg.h" - -#ifdef _DEBUG -#define new DEBUG_NEW -#endif - - -// C9812MTrgApp - -BEGIN_MESSAGE_MAP(C9812MTrgApp, CWinAppEx) - ON_COMMAND(ID_HELP, &CWinApp::OnHelp) -END_MESSAGE_MAP() - - -// C9812MTrgApp construction - -C9812MTrgApp::C9812MTrgApp() -{ - // TODO: add construction code here, - // Place all significant initialization in InitInstance -} - - -// The one and only C9812MTrgApp object - -C9812MTrgApp theApp; - - -// C9812MTrgApp initialization - -BOOL C9812MTrgApp::InitInstance() -{ - int nCardID = 0; - I16 hCard; - U16 wCardType; - CString strTemp; - INT_PTR nResponse; - - // InitCommonControlsEx() is required on Windows XP if an application - // manifest specifies use of ComCtl32.dll version 6 or later to enable - // visual styles. Otherwise, any window creation will fail. - INITCOMMONCONTROLSEX InitCtrls; - InitCtrls.dwSize = sizeof(InitCtrls); - // Set this to include all the common control classes you want to use - // in your application. - InitCtrls.dwICC = ICC_WIN95_CLASSES; - InitCommonControlsEx(&InitCtrls); - - CWinAppEx::InitInstance(); - - AfxEnableControlContainer(); - - // Standard initialization - // If you are not using these features and wish to reduce the size - // of your final executable, you should remove from the following - // the specific initialization routines you do not need - // Change the registry key under which our settings are stored - // TODO: You should modify this string to be something appropriate - // such as the name of your company or organization - SetRegistryKey(_T("Local AppWizard-Generated Applications")); - - CCardIDDlg CardDlg( nCardID ); - - nResponse = CardDlg.DoModal(); - if (nResponse == IDOK) - { - nCardID = CardDlg.GetCardID(); - wCardType = CardDlg.GetCardType(); - - if ((hCard=Register_Card(wCardType, nCardID)) < 0) - { - strTemp.Format( TEXT("Register_Card Error = %d"), hCard); - AfxMessageBox( strTemp ); - } - else - { - C9812MTrgDlg dlg(hCard, wCardType); - m_pMainWnd = &dlg; - nResponse = dlg.DoModal(); - if (nResponse == IDOK) - { - // TODO: Place code here to handle when the dialog is - // dismissed with OK - } - else if (nResponse == IDCANCEL) - { - // TODO: Place code here to handle when the dialog is - // dismissed with Cancel - } - - if (hCard >= 0) Release_Card(hCard); - } - - } - else if (nResponse == IDCANCEL) - { - // TODO: Place code here to handle when the dialog is - // dismissed with Cancel - } - - // Since the dialog has been closed, return FALSE so that we exit the - // application, rather than start the application's message pump. - return FALSE; -} diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812DbfMidTrg/9812MTrg.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812DbfMidTrg/9812MTrg.h deleted file mode 100644 index 6928c21..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812DbfMidTrg/9812MTrg.h +++ /dev/null @@ -1,32 +0,0 @@ - -// 9812MTrg.h : main header file for the PROJECT_NAME application -// - -#pragma once - -#ifndef __AFXWIN_H__ - #error "include 'stdafx.h' before including this file for PCH" -#endif - -#include "resource.h" // main symbols - - -// C9812MTrgApp: -// See 9812MTrg.cpp for the implementation of this class -// - -class C9812MTrgApp : public CWinAppEx -{ -public: - C9812MTrgApp(); - -// Overrides - public: - virtual BOOL InitInstance(); - -// Implementation - - DECLARE_MESSAGE_MAP() -}; - -extern C9812MTrgApp theApp; \ No newline at end of file diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812DbfMidTrg/9812MTrg.rc b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812DbfMidTrg/9812MTrg.rc deleted file mode 100644 index 6b4dec3..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812DbfMidTrg/9812MTrg.rc +++ /dev/null @@ -1,294 +0,0 @@ -// Microsoft Visual C++ generated resource script. -// -#include "resource.h" - -#define APSTUDIO_READONLY_SYMBOLS -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 2 resource. -// -#ifndef APSTUDIO_INVOKED -#include "targetver.h" -#endif -#include "afxres.h" - -///////////////////////////////////////////////////////////////////////////// -#undef APSTUDIO_READONLY_SYMBOLS - -///////////////////////////////////////////////////////////////////////////// -// Chinese (Taiwan) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_CHT) -#ifdef _WIN32 -LANGUAGE LANG_CHINESE, SUBLANG_CHINESE_TRADITIONAL -#pragma code_page(950) -#endif //_WIN32 - -#ifdef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// TEXTINCLUDE -// - -1 TEXTINCLUDE -BEGIN - "resource.h\0" -END - -2 TEXTINCLUDE -BEGIN - "#ifndef APSTUDIO_INVOKED\r\n" - "#include ""targetver.h""\r\n" - "#endif\r\n" - "#include ""afxres.h""\r\n" - "\0" -END - -3 TEXTINCLUDE -BEGIN - "#define _AFX_NO_SPLITTER_RESOURCES\r\n" - "#define _AFX_NO_OLE_RESOURCES\r\n" - "#define _AFX_NO_TRACKER_RESOURCES\r\n" - "#define _AFX_NO_PROPERTY_RESOURCES\r\n" - "\r\n" - "#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)\r\n" - "LANGUAGE 9, 1\r\n" - "#pragma code_page(1252)\r\n" - "#include ""res\\My9812MTrg.rc2"" // non-Microsoft Visual C++ edited resources\r\n" - "#include ""afxres.rc"" // Standard components\r\n" - "#endif\r\n" - "\0" -END - -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// Icon -// - -// Icon with lowest ID value placed first to ensure application icon -// remains consistent on all systems. -IDR_MAINFRAME ICON "res\\9812MTrg.ico" -#endif // Chinese (Taiwan) resources -///////////////////////////////////////////////////////////////////////////// - - -///////////////////////////////////////////////////////////////////////////// -// English (U.S.) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -#ifdef _WIN32 -LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US -#pragma code_page(1252) -#endif //_WIN32 - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog -// - -IDD_ABOUTBOX DIALOGEX 0, 0, 170, 62 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "About 9812MTrg" -FONT 8, "MS Shell Dlg", 0, 0, 0x1 -BEGIN - ICON IDR_MAINFRAME,IDC_STATIC,14,14,21,20 - LTEXT "9812MTrg, Version 1.0",IDC_STATIC,42,14,114,8,SS_NOPREFIX - LTEXT "Copyright (C) 2010",IDC_STATIC,42,26,114,8 - DEFPUSHBUTTON "OK",IDOK,113,41,50,14,WS_GROUP -END - -IDD_9812DMA_DIALOG DIALOGEX 0, 0, 365, 232 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU -EXSTYLE WS_EX_APPWINDOW -CAPTION -"PCI-9812 Double-Buffered DMA with Middile Trigger (External Digital Trigger)" -FONT 8, "MS Shell Dlg", 0, 0, 0x1 -BEGIN - GROUPBOX "",IDC_STATIC_DRAW,45,9,248,161,NOT WS_VISIBLE - LTEXT "Range : +/- 1V",IDC_STATIC,299,129,52,15 - LTEXT "Buffer Size",IDC_STATIC,106,183,42,9 - EDITTEXT IDC_EDIT_SAMPLE_RATE,29,196,39,14,ES_AUTOHSCROLL | ES_READONLY - LTEXT "Sample Rate :",IDC_STATIC,29,182,49,9 - LTEXT "KHz",IDC_STATIC,81,199,15,9 - SCROLLBAR IDC_SCROLLBAR_RATE,69,196,9,11,SBS_VERT - PUSHBUTTON "Start",IDC_BT_START,230,188,55,22 - CONTROL "0",IDC_RADIO_CH0,"Button",BS_AUTORADIOBUTTON | BS_LEFTTEXT,307,20,16,12 - EDITTEXT IDC_EDIT_BUF_SIZE,104,196,46,14,ES_AUTOHSCROLL - PUSHBUTTON "Stop",IDC_BT_STOP,291,188,55,22 - LTEXT "Post Count",IDC_STATIC_TRACE_CNT,163,182,42,9 - EDITTEXT IDC_EDIT_TRACE_CNT,161,196,46,14,ES_AUTOHSCROLL -END - -IDD_CARDID_DIALOG DIALOGEX 0, 0, 174, 126 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "Card ID" -FONT 8, "MS Shell Dlg", 400, 0, 0x1 -BEGIN - COMBOBOX IDC_COMBO_CARDID,75,24,71,126,CBS_DROPDOWN | WS_VSCROLL | WS_TABSTOP - LTEXT "Card Number",IDC_STATIC_01,21,25,46,12 - PUSHBUTTON "OK",IDOK,22,76,58,19 - PUSHBUTTON "CANCEL",IDCANCEL,86,76,58,19 - COMBOBOX IDC_COMBO_CARDTYPE,75,46,71,126,CBS_DROPDOWN | WS_VSCROLL | WS_TABSTOP - LTEXT "Card Type",IDC_STATIC_2,29,47,37,12 -END - - -///////////////////////////////////////////////////////////////////////////// -// -// Version -// - -VS_VERSION_INFO VERSIONINFO - FILEVERSION 1,0,0,1 - PRODUCTVERSION 1,0,0,1 - FILEFLAGSMASK 0x3fL -#ifdef _DEBUG - FILEFLAGS 0x1L -#else - FILEFLAGS 0x0L -#endif - FILEOS 0x4L - FILETYPE 0x1L - FILESUBTYPE 0x0L -BEGIN - BLOCK "StringFileInfo" - BEGIN - BLOCK "040904e4" - BEGIN - VALUE "CompanyName", "TODO: " - VALUE "FileDescription", "TODO: " - VALUE "FileVersion", "1.0.0.1" - VALUE "InternalName", "9812MTrg.exe" - VALUE "LegalCopyright", "TODO: (c) . All rights reserved." - VALUE "OriginalFilename", "9812MTrg.exe" - VALUE "ProductName", "TODO: " - VALUE "ProductVersion", "1.0.0.1" - END - END - BLOCK "VarFileInfo" - BEGIN - VALUE "Translation", 0x409, 1252 - END -END - - -///////////////////////////////////////////////////////////////////////////// -// -// DESIGNINFO -// - -#ifdef APSTUDIO_INVOKED -GUIDELINES DESIGNINFO -BEGIN - IDD_ABOUTBOX, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 163 - TOPMARGIN, 7 - BOTTOMMARGIN, 55 - END - - IDD_CARDID_DIALOG, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 167 - TOPMARGIN, 7 - BOTTOMMARGIN, 119 - END -END -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog Info -// - -IDD_CARDID_DIALOG DLGINIT -BEGIN - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0030, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0031, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0032, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0033, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0034, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0035, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0036, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0037, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0038, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0039, - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3031, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3131, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3231, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3331, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3431, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3531, "\000" - IDC_COMBO_CARDTYPE, 0x403, 9, 0 -0x4350, 0x5f49, 0x3839, 0x3031, "\000" - IDC_COMBO_CARDTYPE, 0x403, 9, 0 -0x4350, 0x5f49, 0x3839, 0x3231, "\000" - 0 -END - - -///////////////////////////////////////////////////////////////////////////// -// -// Bitmap -// - -IDB_BITMAP_SET1 BITMAP "res\\ch_set1.bmp" -IDB_BITMAP_SET2 BITMAP "res\\ch_set2.bmp" - -///////////////////////////////////////////////////////////////////////////// -// -// String Table -// - -STRINGTABLE -BEGIN - IDS_ABOUTBOX "&About 9812MTrg..." -END - -#endif // English (U.S.) resources -///////////////////////////////////////////////////////////////////////////// - - - -#ifndef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 3 resource. -// -#define _AFX_NO_SPLITTER_RESOURCES -#define _AFX_NO_OLE_RESOURCES -#define _AFX_NO_TRACKER_RESOURCES -#define _AFX_NO_PROPERTY_RESOURCES - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -LANGUAGE 9, 1 -#pragma code_page(1252) -#include "res\My9812MTrg.rc2" // non-Microsoft Visual C++ edited resources -#include "afxres.rc" // Standard components -#endif - -///////////////////////////////////////////////////////////////////////////// -#endif // not APSTUDIO_INVOKED - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812DbfMidTrg/9812MTrg.sln b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812DbfMidTrg/9812MTrg.sln deleted file mode 100644 index aa4b631..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812DbfMidTrg/9812MTrg.sln +++ /dev/null @@ -1,20 +0,0 @@ - -Microsoft Visual Studio Solution File, Format Version 10.00 -# Visual Studio 2008 -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "9812MTrg", "9812MTrg.vcproj", "{702163FB-B6DF-4EF5-9491-FC54D71509BC}" -EndProject -Global - GlobalSection(SolutionConfigurationPlatforms) = preSolution - Debug|x64 = Debug|x64 - Release|x64 = Release|x64 - EndGlobalSection - GlobalSection(ProjectConfigurationPlatforms) = postSolution - {702163FB-B6DF-4EF5-9491-FC54D71509BC}.Debug|x64.ActiveCfg = Debug|x64 - {702163FB-B6DF-4EF5-9491-FC54D71509BC}.Debug|x64.Build.0 = Debug|x64 - {702163FB-B6DF-4EF5-9491-FC54D71509BC}.Release|x64.ActiveCfg = Release|x64 - {702163FB-B6DF-4EF5-9491-FC54D71509BC}.Release|x64.Build.0 = Release|x64 - EndGlobalSection - GlobalSection(SolutionProperties) = preSolution - HideSolutionNode = FALSE - EndGlobalSection -EndGlobal diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812DbfMidTrg/9812MTrg.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812DbfMidTrg/9812MTrg.suo deleted file mode 100644 index 785ced4..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812DbfMidTrg/9812MTrg.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812DbfMidTrg/9812MTrg.vcproj b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812DbfMidTrg/9812MTrg.vcproj deleted file mode 100644 index 7b54cf0..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812DbfMidTrg/9812MTrg.vcproj +++ /dev/null @@ -1,294 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812DbfMidTrg/9812MTrgDlg.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812DbfMidTrg/9812MTrgDlg.cpp deleted file mode 100644 index 6c109f2..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812DbfMidTrg/9812MTrgDlg.cpp +++ /dev/null @@ -1,523 +0,0 @@ - -// 9812MTrgDlg.cpp : implementation file -// - -#include "stdafx.h" -#include "9812MTrg.h" -#include "9812MTrgDlg.h" - -#ifdef _DEBUG -#define new DEBUG_NEW -#endif - -CRect plotRect; - -// CAboutDlg dialog used for App About - -class CAboutDlg : public CDialog -{ -public: - CAboutDlg(); - -// Dialog Data - enum { IDD = IDD_ABOUTBOX }; - - protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - -// Implementation -protected: - DECLARE_MESSAGE_MAP() -}; - -CAboutDlg::CAboutDlg() : CDialog(CAboutDlg::IDD) -{ -} - -void CAboutDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); -} - -BEGIN_MESSAGE_MAP(CAboutDlg, CDialog) -END_MESSAGE_MAP() - - -// C9812MTrgDlg dialog - - - - -C9812MTrgDlg::C9812MTrgDlg(I16 hCard, U16 wCardType, CWnd* pParent /*=NULL*/) - : CDialog(C9812MTrgDlg::IDD, pParent) -{ - m_hIcon = AfxGetApp()->LoadIcon(IDR_MAINFRAME); - - n_PlotWidth = n_PlotHeight = -1; - OnBrush = OffBrush = NULL; - - min_val = 0x00; - max_val = 0xFFFF; - - m_fSampleRate = 500000.0; // 500KHz - - m_hCard = hCard; - - m_wScanChans = 0; - m_nTimer = -1; - m_hMem=NULL; - - m_wRange = AD_B_1_V; - m_dwReadCount = 102400; - m_wPostCount = 1024; - - m_wCardType = wCardType; - -} - -void C9812MTrgDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); -} - -BEGIN_MESSAGE_MAP(C9812MTrgDlg, CDialog) - ON_WM_SYSCOMMAND() - ON_WM_PAINT() - ON_WM_QUERYDRAGICON() - //}}AFX_MSG_MAP - ON_WM_DESTROY() - ON_WM_VSCROLL() - ON_BN_CLICKED(IDC_BT_START, &C9812MTrgDlg::OnStart) - ON_WM_TIMER() - ON_BN_CLICKED(IDC_BT_STOP, &C9812MTrgDlg::OnStop) -END_MESSAGE_MAP() - - -// C9812MTrgDlg message handlers - -BOOL C9812MTrgDlg::OnInitDialog() -{ - CDialog::OnInitDialog(); - - // Add "About..." menu item to system menu. - - // IDM_ABOUTBOX must be in the system command range. - ASSERT((IDM_ABOUTBOX & 0xFFF0) == IDM_ABOUTBOX); - ASSERT(IDM_ABOUTBOX < 0xF000); - - CMenu* pSysMenu = GetSystemMenu(FALSE); - if (pSysMenu != NULL) - { - BOOL bNameValid; - CString strAboutMenu; - bNameValid = strAboutMenu.LoadString(IDS_ABOUTBOX); - ASSERT(bNameValid); - if (!strAboutMenu.IsEmpty()) - { - pSysMenu->AppendMenu(MF_SEPARATOR); - pSysMenu->AppendMenu(MF_STRING, IDM_ABOUTBOX, strAboutMenu); - } - } - - // Set the icon for this dialog. The framework does this automatically - // when the application's main window is not a dialog - SetIcon(m_hIcon, TRUE); // Set big icon - SetIcon(m_hIcon, FALSE); // Set small icon - - // TODO: Add extra initialization here - x_divider = 5; y_divider = 4; - - OnBrush = CreateSolidBrush( RGB(255,0,0) ); - OffBrush = CreateSolidBrush( RGB(125,0,0) ); - - RedPen.CreatePen( PS_SOLID, 1, RGB(255,0,0)); - - - if( n_PlotWidth == -1 && n_PlotHeight == -1 ) - { - ((CWnd*)GetDlgItem(IDC_STATIC_DRAW))->GetWindowRect(&plotRect); - ScreenToClient(&plotRect); - - n_PlotWidth = min( plotRect.Width(), 512); - n_PlotHeight = plotRect.Height() - 10; - } - - // set the default SampleRate - SetDlgItemInt( IDC_EDIT_SAMPLE_RATE, (UINT)(m_fSampleRate/1000) ); - SetDlgItemInt( IDC_EDIT_BUF_SIZE, (UINT)(m_dwReadCount) ); - SetDlgItemInt( IDC_EDIT_TRACE_CNT, (UINT)(m_wPostCount) ); - ((CButton*)GetDlgItem( IDC_RADIO_CH0 ))->SetCheck( TRUE ); - - max_range = 1.0; - min_range = -1.0; - - return TRUE; // return TRUE unless you set the focus to a control -} - -void C9812MTrgDlg::OnSysCommand(UINT nID, LPARAM lParam) -{ - if ((nID & 0xFFF0) == IDM_ABOUTBOX) - { - CAboutDlg dlgAbout; - dlgAbout.DoModal(); - } - else - { - CDialog::OnSysCommand(nID, lParam); - } -} - -// If you add a minimize button to your dialog, you will need the code below -// to draw the icon. For MFC applications using the document/view model, -// this is automatically done for you by the framework. - -void C9812MTrgDlg::OnPaint() -{ - if (IsIconic()) - { - CPaintDC dc(this); // device context for painting - - SendMessage(WM_ICONERASEBKGND, reinterpret_cast(dc.GetSafeHdc()), 0); - - // Center icon in client rectangle - int cxIcon = GetSystemMetrics(SM_CXICON); - int cyIcon = GetSystemMetrics(SM_CYICON); - CRect rect; - GetClientRect(&rect); - int x = (rect.Width() - cxIcon + 1) / 2; - int y = (rect.Height() - cyIcon + 1) / 2; - - // Draw the icon - dc.DrawIcon(x, y, m_hIcon); - } - else - { - redraw_display_area(); - CDialog::OnPaint(); - } -} - -// The system calls this function to obtain the cursor to display while the user drags -// the minimized window. -HCURSOR C9812MTrgDlg::OnQueryDragIcon() -{ - return static_cast(m_hIcon); -} - - -void C9812MTrgDlg::redraw_display_area(void) -{ - CPen *oldPen; - - int oldMode; - COLORREF oldColor; - - CString y_lable; - - CPen minor_tick( PS_SOLID,1,RGB(132,130,132) ); -// CPen y_grid( PS_SOLID,1,RGB(206,203,132) ); - - int i, x_intv, y_intv; -// long total_sec; - - CClientDC dc_plot(this); - - // draw the base-line for x-y axises - oldPen = (CPen *)dc_plot.SelectStockObject(BLACK_PEN); - - // redraw the background - dc_plot.FillSolidRect( plotRect, RGB(0,0,0) ); - - // Re-Draw the AREA for Y-Lable - { - CBrush DIALOG_BRUSH; - CRect redraw_area, full_client; - - GetClientRect(&full_client); - ScreenToClient(&full_client); - - redraw_area.left = full_client.left; - redraw_area.top = plotRect.top - 5; - redraw_area.right = plotRect.left - 3; - redraw_area.bottom = plotRect.bottom + 10; - - DIALOG_BRUSH.CreateSysColorBrush( COLOR_3DFACE ); - - dc_plot.FillRect( redraw_area, &DIALOG_BRUSH ); - - DIALOG_BRUSH.DeleteObject(); - } - - dc_plot.MoveTo( plotRect.left - 3, plotRect.top ); - dc_plot.LineTo( plotRect.left - 3, plotRect.bottom ); - - // calculate the interval for tick/grid - y_intv = (plotRect.Height() - 10) /y_divider; - x_intv = plotRect.Width()/x_divider; - - - // set the color for tick - oldColor = dc_plot.SetTextColor( RGB(0,0,0) ); - oldMode = dc_plot.SetBkMode( TRANSPARENT ); - - for( i=0; i<= y_divider; i++ ) - { - CString tick_str; - CRect tmp_rect, tick_rect; - - // draw the tick for y-axis - dc_plot.MoveTo( plotRect.left -12, plotRect.bottom -5 - (i*y_intv) ); - dc_plot.LineTo( plotRect.left -3, plotRect.bottom -5 - (i*y_intv) ); - - tick_str.Format( _T("%.1f"), ( ((max_range-min_range)/y_divider) * i)+min_range ); - - // calculate the rectangle for text - dc_plot.DrawText( tick_str, &tmp_rect, DT_CALCRECT|DT_SINGLELINE ); - tick_rect.right = plotRect.left -14; - tick_rect.left = tick_rect.right - tmp_rect.Width(); - tick_rect.top = plotRect.bottom -5 - (i*y_intv) - tmp_rect.Height()/2; - tick_rect.bottom = tick_rect.top + tmp_rect.Height(); - - // draw the text - dc_plot.DrawText( tick_str, &tick_rect, DT_SINGLELINE|DT_RIGHT ); - - } - - // draw the minor_tick for Y axises - dc_plot.SelectObject(&minor_tick); - for( i=0; i< y_divider; i++ ) - { - dc_plot.MoveTo( plotRect.left -9, plotRect.bottom -5 - (i*y_intv) - y_intv/2 ); - dc_plot.LineTo( plotRect.left -4, plotRect.bottom -5 - (i*y_intv) - y_intv/2 ); - } - - dc_plot.SetTextColor( oldColor ); - dc_plot.SetBkMode( oldMode ); - dc_plot.SelectObject( oldPen ); -} - -void C9812MTrgDlg::OnDestroy() -{ - CDialog::OnDestroy(); - - // TODO: Add your message handler code here - if( m_nTimer != -1 ) - { - KillTimer( m_nTimer ); - m_nTimer = -1; - } - - if (m_hMem != NULL) - { - GlobalUnfix(m_hMem); - GlobalUnlock(m_hMem); - GlobalFree(m_hMem); - - m_hMem = NULL; - } - - if( OnBrush != NULL ) - ::DeleteObject( OnBrush ); - - if( OffBrush != NULL ) - ::DeleteObject( OffBrush ); - - RedPen.DeleteObject(); - -} - -void C9812MTrgDlg::OnVScroll(UINT nSBCode, UINT nPos, CScrollBar* pScrollBar) -{ - // TODO: Add your message handler code here and/or call default - switch ( nSBCode ) - { - case SB_LINEUP : - m_fSampleRate += 100000.0; - if (m_fSampleRate > 5*1000000.0 ) m_fSampleRate = 5*1000000.0; - break; - case SB_LINEDOWN: - m_fSampleRate -= 100000.0; - if (m_fSampleRate < 5000.0 ) m_fSampleRate = 5000.0; - break; - } - - SetDlgItemInt( IDC_EDIT_SAMPLE_RATE, (UINT)(m_fSampleRate/1000) ); - - CDialog::OnVScroll(nSBCode, nPos, pScrollBar); -} - - -void C9812MTrgDlg::OnStop() -{ - // TODO: Add your control notification handler code here - U32 count; - - AI_AsyncClear(m_hCard, &count); - - if( m_nTimer != -1 ) - { - KillTimer( m_nTimer ); - m_nTimer = -1; - } - - GetDlgItem( IDC_BT_START )->EnableWindow(TRUE); - -} - -void C9812MTrgDlg::OnStart() -{ - // TODO: Add your control notification handler code here - DWORD mem_size; - CString strTemp; - I16 err; - - GetDlgItem( IDC_BT_START )->EnableWindow(FALSE); - - m_dwReadCount = GetDlgItemInt(IDC_EDIT_BUF_SIZE); - - m_wPostCount = GetDlgItemInt(IDC_EDIT_TRACE_CNT); - - if (m_hMem != NULL) - { - GlobalUnfix(m_hMem); - GlobalUnlock(m_hMem); - GlobalFree(m_hMem); - - m_hMem = NULL; - } - - // allocate a memory for user DMA buffer - mem_size = m_dwReadCount * sizeof(I16); - m_hMem = GlobalAlloc(GMEM_ZEROINIT, mem_size); - m_pAIBuf = (U16*) GlobalLock(m_hMem); - if (m_pAIBuf == NULL ) - { - AfxMessageBox( TEXT("Memory allocation failed"), MB_OK); - return; - } - - GlobalFix(m_hMem); - - err = AI_9812_Config(m_hCard, P9812_TRGMOD_MIDL, P9812_TRGSRC_EXT_DIG, P9812_TRGSLP_POS, P9812_AD2_GT_PCI|P9812_CLKSRC_INT, 0, m_wPostCount); - if (err!=0) - { - strTemp.Format( TEXT("AI_9812_Config error=%d"), err); - AfxMessageBox( strTemp ); - } - - err=AI_AsyncDblBufferMode(m_hCard, 1); // single-buffer mode - if (err!=0) - { - strTemp.Format( TEXT("AI_DblBufferMode error=%d"), err); - AfxMessageBox( strTemp ); - } - - err=AI_ContReadChannel (m_hCard, 0, m_wRange, (U16*)m_pAIBuf, m_dwReadCount, (F64)m_fSampleRate, ASYNCH_OP); - if (err!=0) - { - strTemp.Format( TEXT("AI_ContReadChannel error=%d"), err); - AfxMessageBox( strTemp ); - } - - m_nTimer = SetTimer( 1, 10, NULL ); - -} - -int C9812MTrgDlg::display_buffer_data(U16* pBuf, U32 dwDataSize) -{ - CClientDC dc_plot(this); - int nDraw_Origin_Y; - int cur_channel; - - int newY = -1; - int newX = -1; - U32 dwReadCount = (m_dwReadCount/2); // for double-buffer operation - U32 index; - I16 ai_data; - - // redraw the background - dc_plot.FillSolidRect( plotRect, RGB(0,0,0) ); - - dc_plot.SelectObject(&RedPen); - nDraw_Origin_Y = ( plotRect.bottom - 5 ) - n_PlotHeight/2; - - for( index=0; index> 4; - newY = (int)( nDraw_Origin_Y - ((n_PlotHeight * ai_data) >> 12 ) ); // (n_PlotHeight * ai_data / 4096 ) ); // ( (n_PlotHeight/2) * ai_data/2048 ) ); - } - else // PCI_9810 - { - cur_channel = index%(m_wScanChans+1); - ai_data = (I16)(pBuf[index]) >> 6; - newY = (int)( nDraw_Origin_Y - ((n_PlotHeight * ai_data) >> 10 ) ); // (n_PlotHeight * ai_data / 1024 ) ); // ( (n_PlotHeight/2) * ai_data/512 ) ); - } - - newX = (int)( index*n_PlotWidth/dwReadCount + plotRect.left ); - - if ( index == 0 ) - { - dc_plot.MoveTo( newX, newY ); - } - else - { - dc_plot.MoveTo( m_oldX, m_oldY ); - dc_plot.LineTo( newX, newY ); - } - - m_oldX = newX; - m_oldY = newY; - } - - return 0; -} - - -void C9812MTrgDlg::OnTimer(UINT_PTR nIDEvent) -{ - // TODO: Add your message handler code here and/or call default - BOOLEAN HalfReady; - BOOLEAN fstop; - U32 count; - - AI_AsyncDblBufferHalfReady(m_hCard, &HalfReady, &fstop); - - if( fstop == FALSE ) - { - if( HalfReady == TRUE ) // half-buffer is ready - { - AI_AsyncDblBufferTransfer(m_hCard, m_pAIBuf); - display_buffer_data( m_pAIBuf, m_dwReadCount/2 ); - } - } - else // AI operation stops - { - AI_AsyncDblBufferHalfReady(m_hCard, &HalfReady, &fstop); //Get the index of working buffer of Double Buffer - AI_AsyncClear(m_hCard, &count); - - if( (count > 0) && (count < (m_dwReadCount/2)) ) - { - AI_AsyncDblBufferTransfer(m_hCard, m_pAIBuf); - display_buffer_data( m_pAIBuf, count ); - } - - if( m_nTimer != -1 ) - { - KillTimer( m_nTimer ); - m_nTimer = -1; - } - - GetDlgItem( IDC_BT_START )->EnableWindow(TRUE); - - } - - CDialog::OnTimer(nIDEvent); -} - - - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812DbfMidTrg/9812MTrgDlg.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812DbfMidTrg/9812MTrgDlg.h deleted file mode 100644 index 26906f0..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812DbfMidTrg/9812MTrgDlg.h +++ /dev/null @@ -1,66 +0,0 @@ - -// 9812MTrgDlg.h : header file -#pragma once -#include "afxcmn.h" -#include "afxwin.h" - -#include "Dask64.h" - -// C9812MTrgDlg dialog -class C9812MTrgDlg : public CDialog -{ -// Construction -public: - C9812MTrgDlg(I16 hCard, U16 wCardType, CWnd* pParent = NULL); // standard constructor - -// Dialog Data - enum { IDD = IDD_9812DMA_DIALOG }; - - protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - - -// Implementation -protected: - HICON m_hIcon; - UINT_PTR m_nTimer; - I16 m_hCard; - U16 m_wCardType; - double m_fSampleRate; - U16 m_wScanChans; - HANDLE m_hMem; - U16 *m_pAIBuf; - U16 m_wRange; - int m_oldY; - int m_oldX; - U32 m_dwReadCount; - U16 m_wPostCount; - - // Generated message map functions - virtual BOOL OnInitDialog(); - afx_msg void OnSysCommand(UINT nID, LPARAM lParam); - afx_msg void OnPaint(); - afx_msg HCURSOR OnQueryDragIcon(); - DECLARE_MESSAGE_MAP() - -public: - WORD max_val; - WORD min_val; - double max_range; - double min_range; - int n_PlotWidth; - int n_PlotHeight; - int y_divider; - int x_divider; - int m_DisplayScale; - HBRUSH OnBrush; - HBRUSH OffBrush; - CPen RedPen; - void redraw_display_area(void); - afx_msg void OnDestroy(); - afx_msg void OnVScroll(UINT nSBCode, UINT nPos, CScrollBar* pScrollBar); - afx_msg void OnStart(); - int display_buffer_data(U16* pBuf, U32 dwDataSize); - afx_msg void OnTimer(UINT_PTR nIDEvent); - afx_msg void OnStop(); -}; diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812DbfMidTrg/CardIDDlg.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812DbfMidTrg/CardIDDlg.cpp deleted file mode 100644 index 4427f63..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812DbfMidTrg/CardIDDlg.cpp +++ /dev/null @@ -1,74 +0,0 @@ -// CardIDDlg.cpp : implementation file -// -#include "stdafx.h" -#include "9812MTrg.h" -#include "9812MTrgDlg.h" -#include "CardIDDlg.h" - -// CCardIDDlg dialog - -IMPLEMENT_DYNAMIC(CCardIDDlg, CDialog) - -CCardIDDlg::CCardIDDlg(int nCardIdx, CWnd* pParent /*=NULL*/) - : CDialog(CCardIDDlg::IDD, pParent) -{ - m_nCardIdx = nCardIdx; -} - -CCardIDDlg::~CCardIDDlg() -{ -} - -void CCardIDDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); - DDX_Control(pDX, IDC_COMBO_CARDID, m_cbCardID); - DDX_Control(pDX, IDC_COMBO_CARDTYPE, m_cbCardType); -} - - -BEGIN_MESSAGE_MAP(CCardIDDlg, CDialog) -// ON_CBN_SELCHANGE(IDC_COMBO_CARDID, &CCardIDDlg::OnCbnSelchangeComboCardid) -ON_BN_CLICKED(IDOK, &CCardIDDlg::OnBnClickedOk) -//ON_WM_CTLCOLOR() -END_MESSAGE_MAP() - - -// CCardIDDlg message handlers - - -void CCardIDDlg::OnBnClickedOk() -{ - // TODO: Add your control notification handler code here - -// UpdateData(TRUE); - m_nCardIdx = m_cbCardID.GetCurSel(); - m_CardType = PCI_9810 + m_cbCardType.GetCurSel(); - - OnOK(); -} - -BOOL CCardIDDlg::OnInitDialog() -{ - CDialog::OnInitDialog(); - - // TODO: Add extra initialization here - m_cbCardID.SetCurSel( m_nCardIdx ); - - m_cbCardType.SetCurSel( 1 ); - m_CardType = PCI_9812; - - return TRUE; // return TRUE unless you set the focus to a control - // EXCEPTION: OCX Property Pages should return FALSE -} - -// the function to get the selected CardID -int CCardIDDlg::GetCardID(void) -{ - return m_nCardIdx; -} - -U16 CCardIDDlg::GetCardType(void) -{ - return m_CardType; -} diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812DbfMidTrg/CardIDDlg.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812DbfMidTrg/CardIDDlg.h deleted file mode 100644 index 23399df..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812DbfMidTrg/CardIDDlg.h +++ /dev/null @@ -1,35 +0,0 @@ -#pragma once -#include "afxwin.h" - -#include "Dask64.h" - -// CCardIDDlg dialog - -class CCardIDDlg : public CDialog -{ - DECLARE_DYNAMIC(CCardIDDlg) - -public: - CCardIDDlg(int nCardIdx, CWnd* pParent = NULL); // standard constructor - virtual ~CCardIDDlg(); - -// Dialog Data - enum { IDD = IDD_CARDID_DIALOG }; - -protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - - DECLARE_MESSAGE_MAP() -public: - virtual BOOL OnInitDialog(); - afx_msg void OnBnClickedOk(); - // the setting of CardID ComboBox - int m_nCardIdx; - U16 m_CardType; - // the control of CardID ComboBox - CComboBox m_cbCardID; - CComboBox m_cbCardType; - // the function to get the selected CardID - int GetCardID(void); - U16 GetCardType(void); -}; diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812DbfMidTrg/ReadMe.txt b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812DbfMidTrg/ReadMe.txt deleted file mode 100644 index 3dc4915..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812DbfMidTrg/ReadMe.txt +++ /dev/null @@ -1,93 +0,0 @@ -================================================================================ - MICROSOFT FOUNDATION CLASS LIBRARY : 9812MTrg Project Overview -=============================================================================== - -The application wizard has created this 9812MTrg application for -you. This application not only demonstrates the basics of using the Microsoft -Foundation Classes but is also a starting point for writing your application. - -This file contains a summary of what you will find in each of the files that -make up your 9812MTrg application. - -9812MTrg.vcproj - This is the main project file for VC++ projects generated using an application wizard. - It contains information about the version of Visual C++ that generated the file, and - information about the platforms, configurations, and project features selected with the - application wizard. - -9812MTrg.h - This is the main header file for the application. It includes other - project specific headers (including Resource.h) and declares the - C9812MTrgApp application class. - -9812MTrg.cpp - This is the main application source file that contains the application - class C9812MTrgApp. - -9812MTrg.rc - This is a listing of all of the Microsoft Windows resources that the - program uses. It includes the icons, bitmaps, and cursors that are stored - in the RES subdirectory. This file can be directly edited in Microsoft - Visual C++. Your project resources are in 1033. - -res\9812MTrg.ico - This is an icon file, which is used as the application's icon. This - icon is included by the main resource file 9812MTrg.rc. - -res\My9812MTrg.rc2 - This file contains resources that are not edited by Microsoft - Visual C++. You should place all resources not editable by - the resource editor in this file. - - -///////////////////////////////////////////////////////////////////////////// - -The application wizard creates one dialog class: - -9812MTrgDlg.h, 9812MTrgDlg.cpp - the dialog - These files contain your C9812MTrgDlg class. This class defines - the behavior of your application's main dialog. The dialog's template is - in 9812MTrg.rc, which can be edited in Microsoft Visual C++. - - -///////////////////////////////////////////////////////////////////////////// - -Other Features: - -ActiveX Controls - The application includes support to use ActiveX controls. - -///////////////////////////////////////////////////////////////////////////// - -Other standard files: - -StdAfx.h, StdAfx.cpp - These files are used to build a precompiled header (PCH) file - named 9812MTrg.pch and a precompiled types file named StdAfx.obj. - -Resource.h - This is the standard header file, which defines new resource IDs. - Microsoft Visual C++ reads and updates this file. - -9812MTrg.manifest - Application manifest files are used by Windows XP to describe an applications - dependency on specific versions of Side-by-Side assemblies. The loader uses this - information to load the appropriate assembly from the assembly cache or private - from the application. The Application manifest maybe included for redistribution - as an external .manifest file that is installed in the same folder as the application - executable or it may be included in the executable in the form of a resource. -///////////////////////////////////////////////////////////////////////////// - -Other notes: - -The application wizard uses "TODO:" to indicate parts of the source code you -should add to or customize. - -If your application uses MFC in a shared DLL, you will need -to redistribute the MFC DLLs. If your application is in a language -other than the operating system's locale, you will also have to -redistribute the corresponding localized resources MFC90XXX.DLL. -For more information on both of these topics, please see the section on -redistributing Visual C++ applications in MSDN documentation. - -///////////////////////////////////////////////////////////////////////////// diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812DbfMidTrg/res/9812MTrg.ico b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812DbfMidTrg/res/9812MTrg.ico deleted file mode 100644 index d56fbcd..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812DbfMidTrg/res/9812MTrg.ico and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812DbfMidTrg/res/My9812MTrg.rc2 b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812DbfMidTrg/res/My9812MTrg.rc2 deleted file mode 100644 index 383cde2..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812DbfMidTrg/res/My9812MTrg.rc2 +++ /dev/null @@ -1,13 +0,0 @@ -// -// My9111int.RC2 - resources Microsoft Visual C++ does not edit directly -// - -#ifdef APSTUDIO_INVOKED -#error this file is not editable by Microsoft Visual C++ -#endif //APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// Add manually edited resources here... - -///////////////////////////////////////////////////////////////////////////// diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812DbfMidTrg/res/ch_set1.bmp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812DbfMidTrg/res/ch_set1.bmp deleted file mode 100644 index f2374ed..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812DbfMidTrg/res/ch_set1.bmp and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812DbfMidTrg/res/ch_set2.bmp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812DbfMidTrg/res/ch_set2.bmp deleted file mode 100644 index 32d0915..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812DbfMidTrg/res/ch_set2.bmp and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812DbfMidTrg/resource.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812DbfMidTrg/resource.h deleted file mode 100644 index 1575f48..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812DbfMidTrg/resource.h +++ /dev/null @@ -1,36 +0,0 @@ -//{{NO_DEPENDENCIES}} -// Microsoft Visual C++ generated include file. -// Used by 9812MTrg.rc -// -#define IDM_ABOUTBOX 0x0010 -#define IDD_ABOUTBOX 100 -#define IDS_ABOUTBOX 101 -#define IDD_9812DMA_DIALOG 102 -#define IDR_MAINFRAME 128 -#define IDD_CARDID_DIALOG 129 -#define IDB_BITMAP_SET1 131 -#define IDB_BITMAP_SET2 132 -#define IDC_STATIC_DRAW 1000 -#define IDC_COMBO_CARDID 1001 -#define IDC_BT_STOP 1002 -#define IDC_COMBO_CARDTYPE 1002 -#define IDC_BT_START 1003 -#define IDC_EDIT_SAMPLE_RATE 1004 -#define IDC_SCROLLBAR_RATE 1005 -#define IDC_RADIO_CH0 1006 -#define IDC_STATIC_01 1007 -#define IDC_EDIT_BUF_SIZE 1008 -#define IDC_STATIC_2 1009 -#define IDC_EDIT_TRACE_CNT 1010 -#define IDC_STATIC_TRACE_CNT 1011 - -// Next default values for new objects -// -#ifdef APSTUDIO_INVOKED -#ifndef APSTUDIO_READONLY_SYMBOLS -#define _APS_NEXT_RESOURCE_VALUE 134 -#define _APS_NEXT_COMMAND_VALUE 32771 -#define _APS_NEXT_CONTROL_VALUE 1012 -#define _APS_NEXT_SYMED_VALUE 101 -#endif -#endif diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812DbfMidTrg/stdafx.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812DbfMidTrg/stdafx.cpp deleted file mode 100644 index ef80626..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812DbfMidTrg/stdafx.cpp +++ /dev/null @@ -1,8 +0,0 @@ - -// stdafx.cpp : source file that includes just the standard includes -// 9111int.pch will be the pre-compiled header -// stdafx.obj will contain the pre-compiled type information - -#include "stdafx.h" - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812DbfMidTrg/stdafx.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812DbfMidTrg/stdafx.h deleted file mode 100644 index 12123e2..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812DbfMidTrg/stdafx.h +++ /dev/null @@ -1,60 +0,0 @@ - -// stdafx.h : include file for standard system include files, -// or project specific include files that are used frequently, -// but are changed infrequently - -#pragma once - -#ifndef _SECURE_ATL -#define _SECURE_ATL 1 -#endif - -#ifndef VC_EXTRALEAN -#define VC_EXTRALEAN // Exclude rarely-used stuff from Windows headers -#endif - -#include "targetver.h" - -#define _ATL_CSTRING_EXPLICIT_CONSTRUCTORS // some CString constructors will be explicit - -// turns off MFC's hiding of some common and often safely ignored warning messages -#define _AFX_ALL_WARNINGS - -#include // MFC core and standard components -#include // MFC extensions - - -#include // MFC Automation classes - - - -#ifndef _AFX_NO_OLE_SUPPORT -#include // MFC support for Internet Explorer 4 Common Controls -#endif -#ifndef _AFX_NO_AFXCMN_SUPPORT -#include // MFC support for Windows Common Controls -#endif // _AFX_NO_AFXCMN_SUPPORT - -#include // MFC support for ribbons and control bars - - - - - - - - - -#ifdef _UNICODE -#if defined _M_IX86 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='x86' publicKeyToken='6595b64144ccf1df' language='*'\"") -#elif defined _M_IA64 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='ia64' publicKeyToken='6595b64144ccf1df' language='*'\"") -#elif defined _M_X64 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='amd64' publicKeyToken='6595b64144ccf1df' language='*'\"") -#else -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='*' publicKeyToken='6595b64144ccf1df' language='*'\"") -#endif -#endif - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812DbfMidTrg/targetver.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812DbfMidTrg/targetver.h deleted file mode 100644 index 11730d5..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812DbfMidTrg/targetver.h +++ /dev/null @@ -1,26 +0,0 @@ - -#pragma once - -// The following macros define the minimum required platform. The minimum required platform -// is the earliest version of Windows, Internet Explorer etc. that has the necessary features to run -// your application. The macros work by enabling all features available on platform versions up to and -// including the version specified. - -// Modify the following defines if you have to target a platform prior to the ones specified below. -// Refer to MSDN for the latest info on corresponding values for different platforms. -#ifndef WINVER // Specifies that the minimum required platform is Windows Vista. -#define WINVER 0x0600 // Change this to the appropriate value to target other versions of Windows. -#endif - -#ifndef _WIN32_WINNT // Specifies that the minimum required platform is Windows Vista. -#define _WIN32_WINNT 0x0600 // Change this to the appropriate value to target other versions of Windows. -#endif - -#ifndef _WIN32_WINDOWS // Specifies that the minimum required platform is Windows 98. -#define _WIN32_WINDOWS 0x0410 // Change this to the appropriate value to target Windows Me or later. -#endif - -#ifndef _WIN32_IE // Specifies that the minimum required platform is Internet Explorer 7.0. -#define _WIN32_IE 0x0700 // Change this to the appropriate value to target other versions of IE. -#endif - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812DbfPostTrg/9111DbInt.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812DbfPostTrg/9111DbInt.suo deleted file mode 100644 index 3fde864..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812DbfPostTrg/9111DbInt.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812DbfPostTrg/9111PostTg.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812DbfPostTrg/9111PostTg.suo deleted file mode 100644 index c59a833..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812DbfPostTrg/9111PostTg.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812DbfPostTrg/9111int.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812DbfPostTrg/9111int.suo deleted file mode 100644 index aaca7d8..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812DbfPostTrg/9111int.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812DbfPostTrg/9118Atrg.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812DbfPostTrg/9118Atrg.suo deleted file mode 100644 index e40fe72..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812DbfPostTrg/9118Atrg.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812DbfPostTrg/9118Prtg.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812DbfPostTrg/9118Prtg.suo deleted file mode 100644 index abe2567..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812DbfPostTrg/9118Prtg.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812DbfPostTrg/9118Ptrg.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812DbfPostTrg/9118Ptrg.suo deleted file mode 100644 index 07f7af8..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812DbfPostTrg/9118Ptrg.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812DbfPostTrg/9118cdma.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812DbfPostTrg/9118cdma.suo deleted file mode 100644 index d5c8a50..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812DbfPostTrg/9118cdma.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812DbfPostTrg/9812MTrg.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812DbfPostTrg/9812MTrg.suo deleted file mode 100644 index 8d94eb4..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812DbfPostTrg/9812MTrg.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812DbfPostTrg/9812Ptrg.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812DbfPostTrg/9812Ptrg.cpp deleted file mode 100644 index e6289e8..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812DbfPostTrg/9812Ptrg.cpp +++ /dev/null @@ -1,111 +0,0 @@ - -// 9812Ptrg.cpp : Defines the class behaviors for the application. -// - -#include "stdafx.h" -#include "9812Ptrg.h" -#include "9812PtrgDlg.h" -#include "CardIDDlg.h" - -#ifdef _DEBUG -#define new DEBUG_NEW -#endif - - -// C9812PtrgApp - -BEGIN_MESSAGE_MAP(C9812PtrgApp, CWinAppEx) - ON_COMMAND(ID_HELP, &CWinApp::OnHelp) -END_MESSAGE_MAP() - - -// C9812PtrgApp construction - -C9812PtrgApp::C9812PtrgApp() -{ - // TODO: add construction code here, - // Place all significant initialization in InitInstance -} - - -// The one and only C9812PtrgApp object - -C9812PtrgApp theApp; - - -// C9812PtrgApp initialization - -BOOL C9812PtrgApp::InitInstance() -{ - int nCardID = 0; - I16 hCard; - U16 wCardType; - CString strTemp; - INT_PTR nResponse; - - // InitCommonControlsEx() is required on Windows XP if an application - // manifest specifies use of ComCtl32.dll version 6 or later to enable - // visual styles. Otherwise, any window creation will fail. - INITCOMMONCONTROLSEX InitCtrls; - InitCtrls.dwSize = sizeof(InitCtrls); - // Set this to include all the common control classes you want to use - // in your application. - InitCtrls.dwICC = ICC_WIN95_CLASSES; - InitCommonControlsEx(&InitCtrls); - - CWinAppEx::InitInstance(); - - AfxEnableControlContainer(); - - // Standard initialization - // If you are not using these features and wish to reduce the size - // of your final executable, you should remove from the following - // the specific initialization routines you do not need - // Change the registry key under which our settings are stored - // TODO: You should modify this string to be something appropriate - // such as the name of your company or organization - SetRegistryKey(_T("Local AppWizard-Generated Applications")); - - CCardIDDlg CardDlg( nCardID ); - - nResponse = CardDlg.DoModal(); - if (nResponse == IDOK) - { - nCardID = CardDlg.GetCardID(); - wCardType = CardDlg.GetCardType(); - - if ((hCard=Register_Card(wCardType, nCardID)) < 0) - { - strTemp.Format( TEXT("Register_Card Error = %d"), hCard); - AfxMessageBox( strTemp ); - } - else - { - C9812PtrgDlg dlg(hCard, wCardType); - m_pMainWnd = &dlg; - nResponse = dlg.DoModal(); - if (nResponse == IDOK) - { - // TODO: Place code here to handle when the dialog is - // dismissed with OK - } - else if (nResponse == IDCANCEL) - { - // TODO: Place code here to handle when the dialog is - // dismissed with Cancel - } - - if (hCard >= 0) Release_Card(hCard); - } - - } - else if (nResponse == IDCANCEL) - { - // TODO: Place code here to handle when the dialog is - // dismissed with Cancel - } - - // Since the dialog has been closed, return FALSE so that we exit the - // application, rather than start the application's message pump. - return FALSE; -} diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812DbfPostTrg/9812Ptrg.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812DbfPostTrg/9812Ptrg.h deleted file mode 100644 index 1af4e2a..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812DbfPostTrg/9812Ptrg.h +++ /dev/null @@ -1,32 +0,0 @@ - -// 9812Ptrg.h : main header file for the PROJECT_NAME application -// - -#pragma once - -#ifndef __AFXWIN_H__ - #error "include 'stdafx.h' before including this file for PCH" -#endif - -#include "resource.h" // main symbols - - -// C9812PtrgApp: -// See 9812Ptrg.cpp for the implementation of this class -// - -class C9812PtrgApp : public CWinAppEx -{ -public: - C9812PtrgApp(); - -// Overrides - public: - virtual BOOL InitInstance(); - -// Implementation - - DECLARE_MESSAGE_MAP() -}; - -extern C9812PtrgApp theApp; \ No newline at end of file diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812DbfPostTrg/9812Ptrg.rc b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812DbfPostTrg/9812Ptrg.rc deleted file mode 100644 index 55f79d3..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812DbfPostTrg/9812Ptrg.rc +++ /dev/null @@ -1,292 +0,0 @@ -// Microsoft Visual C++ generated resource script. -// -#include "resource.h" - -#define APSTUDIO_READONLY_SYMBOLS -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 2 resource. -// -#ifndef APSTUDIO_INVOKED -#include "targetver.h" -#endif -#include "afxres.h" - -///////////////////////////////////////////////////////////////////////////// -#undef APSTUDIO_READONLY_SYMBOLS - -///////////////////////////////////////////////////////////////////////////// -// Chinese (Taiwan) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_CHT) -#ifdef _WIN32 -LANGUAGE LANG_CHINESE, SUBLANG_CHINESE_TRADITIONAL -#pragma code_page(950) -#endif //_WIN32 - -#ifdef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// TEXTINCLUDE -// - -1 TEXTINCLUDE -BEGIN - "resource.h\0" -END - -2 TEXTINCLUDE -BEGIN - "#ifndef APSTUDIO_INVOKED\r\n" - "#include ""targetver.h""\r\n" - "#endif\r\n" - "#include ""afxres.h""\r\n" - "\0" -END - -3 TEXTINCLUDE -BEGIN - "#define _AFX_NO_SPLITTER_RESOURCES\r\n" - "#define _AFX_NO_OLE_RESOURCES\r\n" - "#define _AFX_NO_TRACKER_RESOURCES\r\n" - "#define _AFX_NO_PROPERTY_RESOURCES\r\n" - "\r\n" - "#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)\r\n" - "LANGUAGE 9, 1\r\n" - "#pragma code_page(1252)\r\n" - "#include ""res\\My9812Ptrg.rc2"" // non-Microsoft Visual C++ edited resources\r\n" - "#include ""afxres.rc"" // Standard components\r\n" - "#endif\r\n" - "\0" -END - -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// Icon -// - -// Icon with lowest ID value placed first to ensure application icon -// remains consistent on all systems. -IDR_MAINFRAME ICON "res\\9812Ptrg.ico" -#endif // Chinese (Taiwan) resources -///////////////////////////////////////////////////////////////////////////// - - -///////////////////////////////////////////////////////////////////////////// -// English (U.S.) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -#ifdef _WIN32 -LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US -#pragma code_page(1252) -#endif //_WIN32 - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog -// - -IDD_ABOUTBOX DIALOGEX 0, 0, 170, 62 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "About 9812Ptrg" -FONT 8, "MS Shell Dlg", 0, 0, 0x1 -BEGIN - ICON IDR_MAINFRAME,IDC_STATIC,14,14,21,20 - LTEXT "9812Ptrg, Version 1.0",IDC_STATIC,42,14,114,8,SS_NOPREFIX - LTEXT "Copyright (C) 2010",IDC_STATIC,42,26,114,8 - DEFPUSHBUTTON "OK",IDOK,113,41,50,14,WS_GROUP -END - -IDD_9812DMA_DIALOG DIALOGEX 0, 0, 365, 232 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU -EXSTYLE WS_EX_APPWINDOW -CAPTION -"PCI-9812 Double-Buffered DMA with Post Trigger (External Digital Trigger)" -FONT 8, "MS Shell Dlg", 0, 0, 0x1 -BEGIN - GROUPBOX "",IDC_STATIC_DRAW,45,9,248,161,NOT WS_VISIBLE - LTEXT "Range : +/- 1V",IDC_STATIC,299,129,52,15 - LTEXT "Buffer Size",IDC_STATIC,106,183,42,9 - EDITTEXT IDC_EDIT_SAMPLE_RATE,29,196,39,14,ES_AUTOHSCROLL | ES_READONLY - LTEXT "Sample Rate :",IDC_STATIC,29,182,49,9 - LTEXT "KHz",IDC_STATIC,81,199,15,9 - SCROLLBAR IDC_SCROLLBAR_RATE,69,196,9,11,SBS_VERT - PUSHBUTTON "Start",IDC_BT_START,230,188,55,22 - CONTROL "0",IDC_RADIO_CH0,"Button",BS_AUTORADIOBUTTON | BS_LEFTTEXT,307,20,16,12 - EDITTEXT IDC_EDIT_BUF_SIZE,104,196,46,14,ES_AUTOHSCROLL - PUSHBUTTON "Stop",IDC_BT_STOP,291,188,55,22 -END - -IDD_CARDID_DIALOG DIALOGEX 0, 0, 174, 126 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "Card ID" -FONT 8, "MS Shell Dlg", 400, 0, 0x1 -BEGIN - COMBOBOX IDC_COMBO_CARDID,75,24,71,126,CBS_DROPDOWN | WS_VSCROLL | WS_TABSTOP - LTEXT "Card Number",IDC_STATIC_01,21,25,46,12 - PUSHBUTTON "OK",IDOK,22,76,58,19 - PUSHBUTTON "CANCEL",IDCANCEL,86,76,58,19 - COMBOBOX IDC_COMBO_CARDTYPE,75,46,71,126,CBS_DROPDOWN | WS_VSCROLL | WS_TABSTOP - LTEXT "Card Type",IDC_STATIC_2,29,47,37,12 -END - - -///////////////////////////////////////////////////////////////////////////// -// -// Version -// - -VS_VERSION_INFO VERSIONINFO - FILEVERSION 1,0,0,1 - PRODUCTVERSION 1,0,0,1 - FILEFLAGSMASK 0x3fL -#ifdef _DEBUG - FILEFLAGS 0x1L -#else - FILEFLAGS 0x0L -#endif - FILEOS 0x4L - FILETYPE 0x1L - FILESUBTYPE 0x0L -BEGIN - BLOCK "StringFileInfo" - BEGIN - BLOCK "040904e4" - BEGIN - VALUE "CompanyName", "TODO: " - VALUE "FileDescription", "TODO: " - VALUE "FileVersion", "1.0.0.1" - VALUE "InternalName", "9812Ptrg.exe" - VALUE "LegalCopyright", "TODO: (c) . All rights reserved." - VALUE "OriginalFilename", "9812Ptrg.exe" - VALUE "ProductName", "TODO: " - VALUE "ProductVersion", "1.0.0.1" - END - END - BLOCK "VarFileInfo" - BEGIN - VALUE "Translation", 0x409, 1252 - END -END - - -///////////////////////////////////////////////////////////////////////////// -// -// DESIGNINFO -// - -#ifdef APSTUDIO_INVOKED -GUIDELINES DESIGNINFO -BEGIN - IDD_ABOUTBOX, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 163 - TOPMARGIN, 7 - BOTTOMMARGIN, 55 - END - - IDD_CARDID_DIALOG, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 167 - TOPMARGIN, 7 - BOTTOMMARGIN, 119 - END -END -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog Info -// - -IDD_CARDID_DIALOG DLGINIT -BEGIN - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0030, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0031, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0032, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0033, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0034, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0035, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0036, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0037, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0038, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0039, - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3031, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3131, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3231, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3331, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3431, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3531, "\000" - IDC_COMBO_CARDTYPE, 0x403, 9, 0 -0x4350, 0x5f49, 0x3839, 0x3031, "\000" - IDC_COMBO_CARDTYPE, 0x403, 9, 0 -0x4350, 0x5f49, 0x3839, 0x3231, "\000" - 0 -END - - -///////////////////////////////////////////////////////////////////////////// -// -// Bitmap -// - -IDB_BITMAP_SET1 BITMAP "res\\ch_set1.bmp" -IDB_BITMAP_SET2 BITMAP "res\\ch_set2.bmp" - -///////////////////////////////////////////////////////////////////////////// -// -// String Table -// - -STRINGTABLE -BEGIN - IDS_ABOUTBOX "&About 9812Ptrg..." -END - -#endif // English (U.S.) resources -///////////////////////////////////////////////////////////////////////////// - - - -#ifndef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 3 resource. -// -#define _AFX_NO_SPLITTER_RESOURCES -#define _AFX_NO_OLE_RESOURCES -#define _AFX_NO_TRACKER_RESOURCES -#define _AFX_NO_PROPERTY_RESOURCES - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -LANGUAGE 9, 1 -#pragma code_page(1252) -#include "res\My9812Ptrg.rc2" // non-Microsoft Visual C++ edited resources -#include "afxres.rc" // Standard components -#endif - -///////////////////////////////////////////////////////////////////////////// -#endif // not APSTUDIO_INVOKED - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812DbfPostTrg/9812Ptrg.sln b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812DbfPostTrg/9812Ptrg.sln deleted file mode 100644 index 9844eb3..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812DbfPostTrg/9812Ptrg.sln +++ /dev/null @@ -1,20 +0,0 @@ - -Microsoft Visual Studio Solution File, Format Version 10.00 -# Visual Studio 2008 -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "9812Ptrg", "9812Ptrg.vcproj", "{702163FB-B6DF-4EF5-9491-FC54D71509BC}" -EndProject -Global - GlobalSection(SolutionConfigurationPlatforms) = preSolution - Debug|x64 = Debug|x64 - Release|x64 = Release|x64 - EndGlobalSection - GlobalSection(ProjectConfigurationPlatforms) = postSolution - {702163FB-B6DF-4EF5-9491-FC54D71509BC}.Debug|x64.ActiveCfg = Debug|x64 - {702163FB-B6DF-4EF5-9491-FC54D71509BC}.Debug|x64.Build.0 = Debug|x64 - {702163FB-B6DF-4EF5-9491-FC54D71509BC}.Release|x64.ActiveCfg = Release|x64 - {702163FB-B6DF-4EF5-9491-FC54D71509BC}.Release|x64.Build.0 = Release|x64 - EndGlobalSection - GlobalSection(SolutionProperties) = preSolution - HideSolutionNode = FALSE - EndGlobalSection -EndGlobal diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812DbfPostTrg/9812Ptrg.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812DbfPostTrg/9812Ptrg.suo deleted file mode 100644 index 134e350..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812DbfPostTrg/9812Ptrg.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812DbfPostTrg/9812Ptrg.vcproj b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812DbfPostTrg/9812Ptrg.vcproj deleted file mode 100644 index 365b8bb..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812DbfPostTrg/9812Ptrg.vcproj +++ /dev/null @@ -1,294 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812DbfPostTrg/9812PtrgDlg.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812DbfPostTrg/9812PtrgDlg.cpp deleted file mode 100644 index 0e948c2..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812DbfPostTrg/9812PtrgDlg.cpp +++ /dev/null @@ -1,519 +0,0 @@ - -// 9812PtrgDlg.cpp : implementation file -// - -#include "stdafx.h" -#include "9812Ptrg.h" -#include "9812PtrgDlg.h" - -#ifdef _DEBUG -#define new DEBUG_NEW -#endif - -CRect plotRect; - -// CAboutDlg dialog used for App About - -class CAboutDlg : public CDialog -{ -public: - CAboutDlg(); - -// Dialog Data - enum { IDD = IDD_ABOUTBOX }; - - protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - -// Implementation -protected: - DECLARE_MESSAGE_MAP() -}; - -CAboutDlg::CAboutDlg() : CDialog(CAboutDlg::IDD) -{ -} - -void CAboutDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); -} - -BEGIN_MESSAGE_MAP(CAboutDlg, CDialog) -END_MESSAGE_MAP() - - -// C9812PtrgDlg dialog - - - - -C9812PtrgDlg::C9812PtrgDlg(I16 hCard, U16 wCardType, CWnd* pParent /*=NULL*/) - : CDialog(C9812PtrgDlg::IDD, pParent) -{ - m_hIcon = AfxGetApp()->LoadIcon(IDR_MAINFRAME); - - n_PlotWidth = n_PlotHeight = -1; - OnBrush = OffBrush = NULL; - - min_val = 0x00; - max_val = 0xFFFF; - - m_fSampleRate = 500000.0; // 500KHz - - m_hCard = hCard; - - m_wScanChans = 0; - m_nTimer = -1; - m_hMem=NULL; - - m_wRange = AD_B_1_V; - m_dwReadCount = 102400; - - m_wCardType = wCardType; - -} - -void C9812PtrgDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); -} - -BEGIN_MESSAGE_MAP(C9812PtrgDlg, CDialog) - ON_WM_SYSCOMMAND() - ON_WM_PAINT() - ON_WM_QUERYDRAGICON() - //}}AFX_MSG_MAP - ON_WM_DESTROY() - ON_WM_VSCROLL() - ON_BN_CLICKED(IDC_BT_START, &C9812PtrgDlg::OnStart) - ON_WM_TIMER() - ON_BN_CLICKED(IDC_BT_STOP, &C9812PtrgDlg::OnStop) -END_MESSAGE_MAP() - - -// C9812PtrgDlg message handlers - -BOOL C9812PtrgDlg::OnInitDialog() -{ - CDialog::OnInitDialog(); - - // Add "About..." menu item to system menu. - - // IDM_ABOUTBOX must be in the system command range. - ASSERT((IDM_ABOUTBOX & 0xFFF0) == IDM_ABOUTBOX); - ASSERT(IDM_ABOUTBOX < 0xF000); - - CMenu* pSysMenu = GetSystemMenu(FALSE); - if (pSysMenu != NULL) - { - BOOL bNameValid; - CString strAboutMenu; - bNameValid = strAboutMenu.LoadString(IDS_ABOUTBOX); - ASSERT(bNameValid); - if (!strAboutMenu.IsEmpty()) - { - pSysMenu->AppendMenu(MF_SEPARATOR); - pSysMenu->AppendMenu(MF_STRING, IDM_ABOUTBOX, strAboutMenu); - } - } - - // Set the icon for this dialog. The framework does this automatically - // when the application's main window is not a dialog - SetIcon(m_hIcon, TRUE); // Set big icon - SetIcon(m_hIcon, FALSE); // Set small icon - - // TODO: Add extra initialization here - x_divider = 5; y_divider = 4; - - OnBrush = CreateSolidBrush( RGB(255,0,0) ); - OffBrush = CreateSolidBrush( RGB(125,0,0) ); - - RedPen.CreatePen( PS_SOLID, 1, RGB(255,0,0)); - - - if( n_PlotWidth == -1 && n_PlotHeight == -1 ) - { - ((CWnd*)GetDlgItem(IDC_STATIC_DRAW))->GetWindowRect(&plotRect); - ScreenToClient(&plotRect); - - n_PlotWidth = min( plotRect.Width(), 512); - n_PlotHeight = plotRect.Height() - 10; - } - - // set the default SampleRate - SetDlgItemInt( IDC_EDIT_SAMPLE_RATE, (UINT)(m_fSampleRate/1000) ); - SetDlgItemInt( IDC_EDIT_BUF_SIZE, (UINT)(m_dwReadCount) ); - ((CButton*)GetDlgItem( IDC_RADIO_CH0 ))->SetCheck( TRUE ); - - max_range = 1.0; - min_range = -1.0; - - return TRUE; // return TRUE unless you set the focus to a control -} - -void C9812PtrgDlg::OnSysCommand(UINT nID, LPARAM lParam) -{ - if ((nID & 0xFFF0) == IDM_ABOUTBOX) - { - CAboutDlg dlgAbout; - dlgAbout.DoModal(); - } - else - { - CDialog::OnSysCommand(nID, lParam); - } -} - -// If you add a minimize button to your dialog, you will need the code below -// to draw the icon. For MFC applications using the document/view model, -// this is automatically done for you by the framework. - -void C9812PtrgDlg::OnPaint() -{ - if (IsIconic()) - { - CPaintDC dc(this); // device context for painting - - SendMessage(WM_ICONERASEBKGND, reinterpret_cast(dc.GetSafeHdc()), 0); - - // Center icon in client rectangle - int cxIcon = GetSystemMetrics(SM_CXICON); - int cyIcon = GetSystemMetrics(SM_CYICON); - CRect rect; - GetClientRect(&rect); - int x = (rect.Width() - cxIcon + 1) / 2; - int y = (rect.Height() - cyIcon + 1) / 2; - - // Draw the icon - dc.DrawIcon(x, y, m_hIcon); - } - else - { - redraw_display_area(); - CDialog::OnPaint(); - } -} - -// The system calls this function to obtain the cursor to display while the user drags -// the minimized window. -HCURSOR C9812PtrgDlg::OnQueryDragIcon() -{ - return static_cast(m_hIcon); -} - - -void C9812PtrgDlg::redraw_display_area(void) -{ - CPen *oldPen; - - int oldMode; - COLORREF oldColor; - - CString y_lable; - - CPen minor_tick( PS_SOLID,1,RGB(132,130,132) ); -// CPen y_grid( PS_SOLID,1,RGB(206,203,132) ); - - int i, x_intv, y_intv; -// long total_sec; - - CClientDC dc_plot(this); - - // draw the base-line for x-y axises - oldPen = (CPen *)dc_plot.SelectStockObject(BLACK_PEN); - - // redraw the background - dc_plot.FillSolidRect( plotRect, RGB(0,0,0) ); - - // Re-Draw the AREA for Y-Lable - { - CBrush DIALOG_BRUSH; - CRect redraw_area, full_client; - - GetClientRect(&full_client); - ScreenToClient(&full_client); - - redraw_area.left = full_client.left; - redraw_area.top = plotRect.top - 5; - redraw_area.right = plotRect.left - 3; - redraw_area.bottom = plotRect.bottom + 10; - - DIALOG_BRUSH.CreateSysColorBrush( COLOR_3DFACE ); - - dc_plot.FillRect( redraw_area, &DIALOG_BRUSH ); - - DIALOG_BRUSH.DeleteObject(); - } - - dc_plot.MoveTo( plotRect.left - 3, plotRect.top ); - dc_plot.LineTo( plotRect.left - 3, plotRect.bottom ); - - // calculate the interval for tick/grid - y_intv = (plotRect.Height() - 10) /y_divider; - x_intv = plotRect.Width()/x_divider; - - - // set the color for tick - oldColor = dc_plot.SetTextColor( RGB(0,0,0) ); - oldMode = dc_plot.SetBkMode( TRANSPARENT ); - - for( i=0; i<= y_divider; i++ ) - { - CString tick_str; - CRect tmp_rect, tick_rect; - - // draw the tick for y-axis - dc_plot.MoveTo( plotRect.left -12, plotRect.bottom -5 - (i*y_intv) ); - dc_plot.LineTo( plotRect.left -3, plotRect.bottom -5 - (i*y_intv) ); - - tick_str.Format( _T("%.1f"), ( ((max_range-min_range)/y_divider) * i)+min_range ); - - // calculate the rectangle for text - dc_plot.DrawText( tick_str, &tmp_rect, DT_CALCRECT|DT_SINGLELINE ); - tick_rect.right = plotRect.left -14; - tick_rect.left = tick_rect.right - tmp_rect.Width(); - tick_rect.top = plotRect.bottom -5 - (i*y_intv) - tmp_rect.Height()/2; - tick_rect.bottom = tick_rect.top + tmp_rect.Height(); - - // draw the text - dc_plot.DrawText( tick_str, &tick_rect, DT_SINGLELINE|DT_RIGHT ); - - } - - // draw the minor_tick for Y axises - dc_plot.SelectObject(&minor_tick); - for( i=0; i< y_divider; i++ ) - { - dc_plot.MoveTo( plotRect.left -9, plotRect.bottom -5 - (i*y_intv) - y_intv/2 ); - dc_plot.LineTo( plotRect.left -4, plotRect.bottom -5 - (i*y_intv) - y_intv/2 ); - } - - dc_plot.SetTextColor( oldColor ); - dc_plot.SetBkMode( oldMode ); - dc_plot.SelectObject( oldPen ); -} - -void C9812PtrgDlg::OnDestroy() -{ - CDialog::OnDestroy(); - - // TODO: Add your message handler code here - if( m_nTimer != -1 ) - { - KillTimer( m_nTimer ); - m_nTimer = -1; - } - - if (m_hMem != NULL) - { - GlobalUnfix(m_hMem); - GlobalUnlock(m_hMem); - GlobalFree(m_hMem); - - m_hMem = NULL; - } - - if( OnBrush != NULL ) - ::DeleteObject( OnBrush ); - - if( OffBrush != NULL ) - ::DeleteObject( OffBrush ); - - RedPen.DeleteObject(); - -} - -void C9812PtrgDlg::OnVScroll(UINT nSBCode, UINT nPos, CScrollBar* pScrollBar) -{ - // TODO: Add your message handler code here and/or call default - switch ( nSBCode ) - { - case SB_LINEUP : - m_fSampleRate += 100000.0; - if (m_fSampleRate > 5*1000000.0 ) m_fSampleRate = 5*1000000.0; - break; - case SB_LINEDOWN: - m_fSampleRate -= 100000.0; - if (m_fSampleRate < 5000.0 ) m_fSampleRate = 5000.0; - break; - } - - SetDlgItemInt( IDC_EDIT_SAMPLE_RATE, (UINT)(m_fSampleRate/1000) ); - - CDialog::OnVScroll(nSBCode, nPos, pScrollBar); -} - - -void C9812PtrgDlg::OnStop() -{ - // TODO: Add your control notification handler code here - U32 count; - - AI_AsyncClear(m_hCard, &count); - - if( m_nTimer != -1 ) - { - KillTimer( m_nTimer ); - m_nTimer = -1; - } - - GetDlgItem( IDC_BT_START )->EnableWindow(TRUE); - -} - -void C9812PtrgDlg::OnStart() -{ - // TODO: Add your control notification handler code here - DWORD mem_size; - CString strTemp; - I16 err; - - GetDlgItem( IDC_BT_START )->EnableWindow(FALSE); - - m_dwReadCount = GetDlgItemInt(IDC_EDIT_BUF_SIZE); - - - if (m_hMem != NULL) - { - GlobalUnfix(m_hMem); - GlobalUnlock(m_hMem); - GlobalFree(m_hMem); - - m_hMem = NULL; - } - - // allocate a memory for user DMA buffer - mem_size = m_dwReadCount * sizeof(I16); - m_hMem = GlobalAlloc(GMEM_ZEROINIT, mem_size); - m_pAIBuf = (U16*) GlobalLock(m_hMem); - if (m_pAIBuf == NULL ) - { - AfxMessageBox( TEXT("Memory allocation failed"), MB_OK); - return; - } - - GlobalFix(m_hMem); - - err = AI_9812_Config(m_hCard, P9812_TRGMOD_POST, P9812_TRGSRC_EXT_DIG, P9812_TRGSLP_POS, P9812_AD2_GT_PCI|P9812_CLKSRC_INT, 0x80, 0x4000); - if (err!=0) - { - strTemp.Format( TEXT("AI_9812_Config error=%d"), err); - AfxMessageBox( strTemp ); - } - - err=AI_AsyncDblBufferMode(m_hCard, 1); // single-buffer mode - if (err!=0) - { - strTemp.Format( TEXT("AI_DblBufferMode error=%d"), err); - AfxMessageBox( strTemp ); - } - - err=AI_ContReadChannel (m_hCard, 0, m_wRange, (U16*)m_pAIBuf, m_dwReadCount, (F64)m_fSampleRate, ASYNCH_OP); - if (err!=0) - { - strTemp.Format( TEXT("AI_ContReadChannel error=%d"), err); - AfxMessageBox( strTemp ); - } - - m_nTimer = SetTimer( 1, 10, NULL ); - -} - -int C9812PtrgDlg::display_buffer_data(U16* pBuf, U32 dwDataSize) -{ - CClientDC dc_plot(this); - int nDraw_Origin_Y; - int cur_channel; - - int newY = -1; - int newX = -1; - U32 dwReadCount = (m_dwReadCount/2); // for double-buffer operation - U32 index; - I16 ai_data; - - // redraw the background - dc_plot.FillSolidRect( plotRect, RGB(0,0,0) ); - - dc_plot.SelectObject(&RedPen); - nDraw_Origin_Y = ( plotRect.bottom - 5 ) - n_PlotHeight/2; - - for( index=0; index> 4; - newY = (int)( nDraw_Origin_Y - ((n_PlotHeight * ai_data) >> 12 ) ); // (n_PlotHeight * ai_data / 4096 ) ); // ( (n_PlotHeight/2) * ai_data/2048 ) ); - } - else // PCI_9810 - { - cur_channel = index%(m_wScanChans+1); - ai_data = (I16)(pBuf[index]) >> 6; - newY = (int)( nDraw_Origin_Y - ((n_PlotHeight * ai_data) >> 10 ) ); // (n_PlotHeight * ai_data / 1024 ) ); // ( (n_PlotHeight/2) * ai_data/512 ) ); - } - - newX = (int)( index*n_PlotWidth/dwReadCount + plotRect.left ); - - if ( index == 0 ) - { - dc_plot.MoveTo( newX, newY ); - } - else - { - dc_plot.MoveTo( m_oldX, m_oldY ); - dc_plot.LineTo( newX, newY ); - } - - m_oldX = newX; - m_oldY = newY; - } - - return 0; -} - - -void C9812PtrgDlg::OnTimer(UINT_PTR nIDEvent) -{ - // TODO: Add your message handler code here and/or call default - BOOLEAN HalfReady; - BOOLEAN fstop; - U32 count; - - AI_AsyncDblBufferHalfReady(m_hCard, &HalfReady, &fstop); - - if( fstop == FALSE ) - { - if( HalfReady == TRUE ) // half-buffer is ready - { - AI_AsyncDblBufferTransfer(m_hCard, m_pAIBuf); - display_buffer_data( m_pAIBuf, m_dwReadCount/2 ); - } - } - else // AI operation stops - { - AI_AsyncDblBufferHalfReady(m_hCard, &HalfReady, &fstop); //Get the index of working buffer of Double Buffer - AI_AsyncClear(m_hCard, &count); - - if( (count > 0) && (count < (m_dwReadCount/2)) ) - { - AI_AsyncDblBufferTransfer(m_hCard, m_pAIBuf); - display_buffer_data( m_pAIBuf, count ); - } - - if( m_nTimer != -1 ) - { - KillTimer( m_nTimer ); - m_nTimer = -1; - } - - GetDlgItem( IDC_BT_START )->EnableWindow(TRUE); - - } - - CDialog::OnTimer(nIDEvent); -} - - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812DbfPostTrg/9812PtrgDlg.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812DbfPostTrg/9812PtrgDlg.h deleted file mode 100644 index 5d02a41..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812DbfPostTrg/9812PtrgDlg.h +++ /dev/null @@ -1,66 +0,0 @@ - -// 9812PtrgDlg.h : header file -#pragma once -#include "afxcmn.h" -#include "afxwin.h" - -#include "Dask64.h" - -// C9812PtrgDlg dialog -class C9812PtrgDlg : public CDialog -{ -// Construction -public: - C9812PtrgDlg(I16 hCard, U16 wCardType, CWnd* pParent = NULL); // standard constructor - -// Dialog Data - enum { IDD = IDD_9812DMA_DIALOG }; - - protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - - -// Implementation -protected: - HICON m_hIcon; - UINT_PTR m_nTimer; - I16 m_hCard; - U16 m_wCardType; - double m_fSampleRate; - U16 m_wScanChans; - HANDLE m_hMem; - U16 *m_pAIBuf; - U16 m_wRange; - int m_oldY; - int m_oldX; - U32 m_dwReadCount; - U16 m_wChannel; - - // Generated message map functions - virtual BOOL OnInitDialog(); - afx_msg void OnSysCommand(UINT nID, LPARAM lParam); - afx_msg void OnPaint(); - afx_msg HCURSOR OnQueryDragIcon(); - DECLARE_MESSAGE_MAP() - -public: - WORD max_val; - WORD min_val; - double max_range; - double min_range; - int n_PlotWidth; - int n_PlotHeight; - int y_divider; - int x_divider; - int m_DisplayScale; - HBRUSH OnBrush; - HBRUSH OffBrush; - CPen RedPen; - void redraw_display_area(void); - afx_msg void OnDestroy(); - afx_msg void OnVScroll(UINT nSBCode, UINT nPos, CScrollBar* pScrollBar); - afx_msg void OnStart(); - int display_buffer_data(U16* pBuf, U32 dwDataSize); - afx_msg void OnTimer(UINT_PTR nIDEvent); - afx_msg void OnStop(); -}; diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812DbfPostTrg/CardIDDlg.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812DbfPostTrg/CardIDDlg.cpp deleted file mode 100644 index b683ccc..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812DbfPostTrg/CardIDDlg.cpp +++ /dev/null @@ -1,74 +0,0 @@ -// CardIDDlg.cpp : implementation file -// -#include "stdafx.h" -#include "9812Ptrg.h" -#include "9812PtrgDlg.h" -#include "CardIDDlg.h" - -// CCardIDDlg dialog - -IMPLEMENT_DYNAMIC(CCardIDDlg, CDialog) - -CCardIDDlg::CCardIDDlg(int nCardIdx, CWnd* pParent /*=NULL*/) - : CDialog(CCardIDDlg::IDD, pParent) -{ - m_nCardIdx = nCardIdx; -} - -CCardIDDlg::~CCardIDDlg() -{ -} - -void CCardIDDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); - DDX_Control(pDX, IDC_COMBO_CARDID, m_cbCardID); - DDX_Control(pDX, IDC_COMBO_CARDTYPE, m_cbCardType); -} - - -BEGIN_MESSAGE_MAP(CCardIDDlg, CDialog) -// ON_CBN_SELCHANGE(IDC_COMBO_CARDID, &CCardIDDlg::OnCbnSelchangeComboCardid) -ON_BN_CLICKED(IDOK, &CCardIDDlg::OnBnClickedOk) -//ON_WM_CTLCOLOR() -END_MESSAGE_MAP() - - -// CCardIDDlg message handlers - - -void CCardIDDlg::OnBnClickedOk() -{ - // TODO: Add your control notification handler code here - -// UpdateData(TRUE); - m_nCardIdx = m_cbCardID.GetCurSel(); - m_CardType = PCI_9810 + m_cbCardType.GetCurSel(); - - OnOK(); -} - -BOOL CCardIDDlg::OnInitDialog() -{ - CDialog::OnInitDialog(); - - // TODO: Add extra initialization here - m_cbCardID.SetCurSel( m_nCardIdx ); - - m_cbCardType.SetCurSel( 1 ); - m_CardType = PCI_9812; - - return TRUE; // return TRUE unless you set the focus to a control - // EXCEPTION: OCX Property Pages should return FALSE -} - -// the function to get the selected CardID -int CCardIDDlg::GetCardID(void) -{ - return m_nCardIdx; -} - -U16 CCardIDDlg::GetCardType(void) -{ - return m_CardType; -} diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812DbfPostTrg/CardIDDlg.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812DbfPostTrg/CardIDDlg.h deleted file mode 100644 index 23399df..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812DbfPostTrg/CardIDDlg.h +++ /dev/null @@ -1,35 +0,0 @@ -#pragma once -#include "afxwin.h" - -#include "Dask64.h" - -// CCardIDDlg dialog - -class CCardIDDlg : public CDialog -{ - DECLARE_DYNAMIC(CCardIDDlg) - -public: - CCardIDDlg(int nCardIdx, CWnd* pParent = NULL); // standard constructor - virtual ~CCardIDDlg(); - -// Dialog Data - enum { IDD = IDD_CARDID_DIALOG }; - -protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - - DECLARE_MESSAGE_MAP() -public: - virtual BOOL OnInitDialog(); - afx_msg void OnBnClickedOk(); - // the setting of CardID ComboBox - int m_nCardIdx; - U16 m_CardType; - // the control of CardID ComboBox - CComboBox m_cbCardID; - CComboBox m_cbCardType; - // the function to get the selected CardID - int GetCardID(void); - U16 GetCardType(void); -}; diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812DbfPostTrg/ReadMe.txt b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812DbfPostTrg/ReadMe.txt deleted file mode 100644 index a1169b6..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812DbfPostTrg/ReadMe.txt +++ /dev/null @@ -1,93 +0,0 @@ -================================================================================ - MICROSOFT FOUNDATION CLASS LIBRARY : 9812Ptrg Project Overview -=============================================================================== - -The application wizard has created this 9812Ptrg application for -you. This application not only demonstrates the basics of using the Microsoft -Foundation Classes but is also a starting point for writing your application. - -This file contains a summary of what you will find in each of the files that -make up your 9812Ptrg application. - -9812Ptrg.vcproj - This is the main project file for VC++ projects generated using an application wizard. - It contains information about the version of Visual C++ that generated the file, and - information about the platforms, configurations, and project features selected with the - application wizard. - -9812Ptrg.h - This is the main header file for the application. It includes other - project specific headers (including Resource.h) and declares the - C9812PtrgApp application class. - -9812Ptrg.cpp - This is the main application source file that contains the application - class C9812PtrgApp. - -9812Ptrg.rc - This is a listing of all of the Microsoft Windows resources that the - program uses. It includes the icons, bitmaps, and cursors that are stored - in the RES subdirectory. This file can be directly edited in Microsoft - Visual C++. Your project resources are in 1033. - -res\9812Ptrg.ico - This is an icon file, which is used as the application's icon. This - icon is included by the main resource file 9812Ptrg.rc. - -res\My9812Ptrg.rc2 - This file contains resources that are not edited by Microsoft - Visual C++. You should place all resources not editable by - the resource editor in this file. - - -///////////////////////////////////////////////////////////////////////////// - -The application wizard creates one dialog class: - -9812PtrgDlg.h, 9812PtrgDlg.cpp - the dialog - These files contain your C9812PtrgDlg class. This class defines - the behavior of your application's main dialog. The dialog's template is - in 9812Ptrg.rc, which can be edited in Microsoft Visual C++. - - -///////////////////////////////////////////////////////////////////////////// - -Other Features: - -ActiveX Controls - The application includes support to use ActiveX controls. - -///////////////////////////////////////////////////////////////////////////// - -Other standard files: - -StdAfx.h, StdAfx.cpp - These files are used to build a precompiled header (PCH) file - named 9812Ptrg.pch and a precompiled types file named StdAfx.obj. - -Resource.h - This is the standard header file, which defines new resource IDs. - Microsoft Visual C++ reads and updates this file. - -9812Ptrg.manifest - Application manifest files are used by Windows XP to describe an applications - dependency on specific versions of Side-by-Side assemblies. The loader uses this - information to load the appropriate assembly from the assembly cache or private - from the application. The Application manifest maybe included for redistribution - as an external .manifest file that is installed in the same folder as the application - executable or it may be included in the executable in the form of a resource. -///////////////////////////////////////////////////////////////////////////// - -Other notes: - -The application wizard uses "TODO:" to indicate parts of the source code you -should add to or customize. - -If your application uses MFC in a shared DLL, you will need -to redistribute the MFC DLLs. If your application is in a language -other than the operating system's locale, you will also have to -redistribute the corresponding localized resources MFC90XXX.DLL. -For more information on both of these topics, please see the section on -redistributing Visual C++ applications in MSDN documentation. - -///////////////////////////////////////////////////////////////////////////// diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812DbfPostTrg/res/9812Ptrg.ico b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812DbfPostTrg/res/9812Ptrg.ico deleted file mode 100644 index d56fbcd..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812DbfPostTrg/res/9812Ptrg.ico and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812DbfPostTrg/res/My9812Ptrg.rc2 b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812DbfPostTrg/res/My9812Ptrg.rc2 deleted file mode 100644 index 383cde2..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812DbfPostTrg/res/My9812Ptrg.rc2 +++ /dev/null @@ -1,13 +0,0 @@ -// -// My9111int.RC2 - resources Microsoft Visual C++ does not edit directly -// - -#ifdef APSTUDIO_INVOKED -#error this file is not editable by Microsoft Visual C++ -#endif //APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// Add manually edited resources here... - -///////////////////////////////////////////////////////////////////////////// diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812DbfPostTrg/res/ch_set1.bmp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812DbfPostTrg/res/ch_set1.bmp deleted file mode 100644 index f2374ed..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812DbfPostTrg/res/ch_set1.bmp and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812DbfPostTrg/res/ch_set2.bmp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812DbfPostTrg/res/ch_set2.bmp deleted file mode 100644 index 32d0915..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812DbfPostTrg/res/ch_set2.bmp and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812DbfPostTrg/resource.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812DbfPostTrg/resource.h deleted file mode 100644 index e8ec95d..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812DbfPostTrg/resource.h +++ /dev/null @@ -1,34 +0,0 @@ -//{{NO_DEPENDENCIES}} -// Microsoft Visual C++ generated include file. -// Used by 9812Ptrg.rc -// -#define IDM_ABOUTBOX 0x0010 -#define IDD_ABOUTBOX 100 -#define IDS_ABOUTBOX 101 -#define IDD_9812DMA_DIALOG 102 -#define IDR_MAINFRAME 128 -#define IDD_CARDID_DIALOG 129 -#define IDB_BITMAP_SET1 131 -#define IDB_BITMAP_SET2 132 -#define IDC_STATIC_DRAW 1000 -#define IDC_COMBO_CARDID 1001 -#define IDC_BT_STOP 1002 -#define IDC_COMBO_CARDTYPE 1002 -#define IDC_BT_START 1003 -#define IDC_EDIT_SAMPLE_RATE 1004 -#define IDC_SCROLLBAR_RATE 1005 -#define IDC_RADIO_CH0 1006 -#define IDC_STATIC_01 1007 -#define IDC_EDIT_BUF_SIZE 1008 -#define IDC_STATIC_2 1009 - -// Next default values for new objects -// -#ifdef APSTUDIO_INVOKED -#ifndef APSTUDIO_READONLY_SYMBOLS -#define _APS_NEXT_RESOURCE_VALUE 134 -#define _APS_NEXT_COMMAND_VALUE 32771 -#define _APS_NEXT_CONTROL_VALUE 1010 -#define _APS_NEXT_SYMED_VALUE 101 -#endif -#endif diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812DbfPostTrg/stdafx.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812DbfPostTrg/stdafx.cpp deleted file mode 100644 index ef80626..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812DbfPostTrg/stdafx.cpp +++ /dev/null @@ -1,8 +0,0 @@ - -// stdafx.cpp : source file that includes just the standard includes -// 9111int.pch will be the pre-compiled header -// stdafx.obj will contain the pre-compiled type information - -#include "stdafx.h" - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812DbfPostTrg/stdafx.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812DbfPostTrg/stdafx.h deleted file mode 100644 index 12123e2..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812DbfPostTrg/stdafx.h +++ /dev/null @@ -1,60 +0,0 @@ - -// stdafx.h : include file for standard system include files, -// or project specific include files that are used frequently, -// but are changed infrequently - -#pragma once - -#ifndef _SECURE_ATL -#define _SECURE_ATL 1 -#endif - -#ifndef VC_EXTRALEAN -#define VC_EXTRALEAN // Exclude rarely-used stuff from Windows headers -#endif - -#include "targetver.h" - -#define _ATL_CSTRING_EXPLICIT_CONSTRUCTORS // some CString constructors will be explicit - -// turns off MFC's hiding of some common and often safely ignored warning messages -#define _AFX_ALL_WARNINGS - -#include // MFC core and standard components -#include // MFC extensions - - -#include // MFC Automation classes - - - -#ifndef _AFX_NO_OLE_SUPPORT -#include // MFC support for Internet Explorer 4 Common Controls -#endif -#ifndef _AFX_NO_AFXCMN_SUPPORT -#include // MFC support for Windows Common Controls -#endif // _AFX_NO_AFXCMN_SUPPORT - -#include // MFC support for ribbons and control bars - - - - - - - - - -#ifdef _UNICODE -#if defined _M_IX86 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='x86' publicKeyToken='6595b64144ccf1df' language='*'\"") -#elif defined _M_IA64 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='ia64' publicKeyToken='6595b64144ccf1df' language='*'\"") -#elif defined _M_X64 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='amd64' publicKeyToken='6595b64144ccf1df' language='*'\"") -#else -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='*' publicKeyToken='6595b64144ccf1df' language='*'\"") -#endif -#endif - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812DbfPostTrg/targetver.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812DbfPostTrg/targetver.h deleted file mode 100644 index 11730d5..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812DbfPostTrg/targetver.h +++ /dev/null @@ -1,26 +0,0 @@ - -#pragma once - -// The following macros define the minimum required platform. The minimum required platform -// is the earliest version of Windows, Internet Explorer etc. that has the necessary features to run -// your application. The macros work by enabling all features available on platform versions up to and -// including the version specified. - -// Modify the following defines if you have to target a platform prior to the ones specified below. -// Refer to MSDN for the latest info on corresponding values for different platforms. -#ifndef WINVER // Specifies that the minimum required platform is Windows Vista. -#define WINVER 0x0600 // Change this to the appropriate value to target other versions of Windows. -#endif - -#ifndef _WIN32_WINNT // Specifies that the minimum required platform is Windows Vista. -#define _WIN32_WINNT 0x0600 // Change this to the appropriate value to target other versions of Windows. -#endif - -#ifndef _WIN32_WINDOWS // Specifies that the minimum required platform is Windows 98. -#define _WIN32_WINDOWS 0x0410 // Change this to the appropriate value to target Windows Me or later. -#endif - -#ifndef _WIN32_IE // Specifies that the minimum required platform is Internet Explorer 7.0. -#define _WIN32_IE 0x0700 // Change this to the appropriate value to target other versions of IE. -#endif - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812DbfPreTrg/9111DbInt.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812DbfPreTrg/9111DbInt.suo deleted file mode 100644 index 3fde864..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812DbfPreTrg/9111DbInt.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812DbfPreTrg/9111PostTg.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812DbfPreTrg/9111PostTg.suo deleted file mode 100644 index c59a833..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812DbfPreTrg/9111PostTg.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812DbfPreTrg/9111int.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812DbfPreTrg/9111int.suo deleted file mode 100644 index aaca7d8..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812DbfPreTrg/9111int.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812DbfPreTrg/9118Atrg.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812DbfPreTrg/9118Atrg.suo deleted file mode 100644 index e40fe72..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812DbfPreTrg/9118Atrg.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812DbfPreTrg/9118Prtg.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812DbfPreTrg/9118Prtg.suo deleted file mode 100644 index abe2567..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812DbfPreTrg/9118Prtg.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812DbfPreTrg/9118Ptrg.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812DbfPreTrg/9118Ptrg.suo deleted file mode 100644 index 07f7af8..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812DbfPreTrg/9118Ptrg.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812DbfPreTrg/9118cdma.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812DbfPreTrg/9118cdma.suo deleted file mode 100644 index d5c8a50..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812DbfPreTrg/9118cdma.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812DbfPreTrg/9812MTrg.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812DbfPreTrg/9812MTrg.suo deleted file mode 100644 index 8d94eb4..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812DbfPreTrg/9812MTrg.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812DbfPreTrg/9812PrTg.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812DbfPreTrg/9812PrTg.cpp deleted file mode 100644 index a18448e..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812DbfPreTrg/9812PrTg.cpp +++ /dev/null @@ -1,111 +0,0 @@ - -// 9812PrTg.cpp : Defines the class behaviors for the application. -// - -#include "stdafx.h" -#include "9812PrTg.h" -#include "9812PrTgDlg.h" -#include "CardIDDlg.h" - -#ifdef _DEBUG -#define new DEBUG_NEW -#endif - - -// C9812PrTgApp - -BEGIN_MESSAGE_MAP(C9812PrTgApp, CWinAppEx) - ON_COMMAND(ID_HELP, &CWinApp::OnHelp) -END_MESSAGE_MAP() - - -// C9812PrTgApp construction - -C9812PrTgApp::C9812PrTgApp() -{ - // TODO: add construction code here, - // Place all significant initialization in InitInstance -} - - -// The one and only C9812PrTgApp object - -C9812PrTgApp theApp; - - -// C9812PrTgApp initialization - -BOOL C9812PrTgApp::InitInstance() -{ - int nCardID = 0; - I16 hCard; - U16 wCardType; - CString strTemp; - INT_PTR nResponse; - - // InitCommonControlsEx() is required on Windows XP if an application - // manifest specifies use of ComCtl32.dll version 6 or later to enable - // visual styles. Otherwise, any window creation will fail. - INITCOMMONCONTROLSEX InitCtrls; - InitCtrls.dwSize = sizeof(InitCtrls); - // Set this to include all the common control classes you want to use - // in your application. - InitCtrls.dwICC = ICC_WIN95_CLASSES; - InitCommonControlsEx(&InitCtrls); - - CWinAppEx::InitInstance(); - - AfxEnableControlContainer(); - - // Standard initialization - // If you are not using these features and wish to reduce the size - // of your final executable, you should remove from the following - // the specific initialization routines you do not need - // Change the registry key under which our settings are stored - // TODO: You should modify this string to be something appropriate - // such as the name of your company or organization - SetRegistryKey(_T("Local AppWizard-Generated Applications")); - - CCardIDDlg CardDlg( nCardID ); - - nResponse = CardDlg.DoModal(); - if (nResponse == IDOK) - { - nCardID = CardDlg.GetCardID(); - wCardType = CardDlg.GetCardType(); - - if ((hCard=Register_Card(wCardType, nCardID)) < 0) - { - strTemp.Format( TEXT("Register_Card Error = %d"), hCard); - AfxMessageBox( strTemp ); - } - else - { - C9812PrTgDlg dlg(hCard, wCardType); - m_pMainWnd = &dlg; - nResponse = dlg.DoModal(); - if (nResponse == IDOK) - { - // TODO: Place code here to handle when the dialog is - // dismissed with OK - } - else if (nResponse == IDCANCEL) - { - // TODO: Place code here to handle when the dialog is - // dismissed with Cancel - } - - if (hCard >= 0) Release_Card(hCard); - } - - } - else if (nResponse == IDCANCEL) - { - // TODO: Place code here to handle when the dialog is - // dismissed with Cancel - } - - // Since the dialog has been closed, return FALSE so that we exit the - // application, rather than start the application's message pump. - return FALSE; -} diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812DbfPreTrg/9812PrTg.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812DbfPreTrg/9812PrTg.h deleted file mode 100644 index dc7b4ef..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812DbfPreTrg/9812PrTg.h +++ /dev/null @@ -1,32 +0,0 @@ - -// 9812PrTg.h : main header file for the PROJECT_NAME application -// - -#pragma once - -#ifndef __AFXWIN_H__ - #error "include 'stdafx.h' before including this file for PCH" -#endif - -#include "resource.h" // main symbols - - -// C9812PrTgApp: -// See 9812PrTg.cpp for the implementation of this class -// - -class C9812PrTgApp : public CWinAppEx -{ -public: - C9812PrTgApp(); - -// Overrides - public: - virtual BOOL InitInstance(); - -// Implementation - - DECLARE_MESSAGE_MAP() -}; - -extern C9812PrTgApp theApp; \ No newline at end of file diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812DbfPreTrg/9812PrTg.rc b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812DbfPreTrg/9812PrTg.rc deleted file mode 100644 index 5724283..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812DbfPreTrg/9812PrTg.rc +++ /dev/null @@ -1,292 +0,0 @@ -// Microsoft Visual C++ generated resource script. -// -#include "resource.h" - -#define APSTUDIO_READONLY_SYMBOLS -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 2 resource. -// -#ifndef APSTUDIO_INVOKED -#include "targetver.h" -#endif -#include "afxres.h" - -///////////////////////////////////////////////////////////////////////////// -#undef APSTUDIO_READONLY_SYMBOLS - -///////////////////////////////////////////////////////////////////////////// -// Chinese (Taiwan) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_CHT) -#ifdef _WIN32 -LANGUAGE LANG_CHINESE, SUBLANG_CHINESE_TRADITIONAL -#pragma code_page(950) -#endif //_WIN32 - -#ifdef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// TEXTINCLUDE -// - -1 TEXTINCLUDE -BEGIN - "resource.h\0" -END - -2 TEXTINCLUDE -BEGIN - "#ifndef APSTUDIO_INVOKED\r\n" - "#include ""targetver.h""\r\n" - "#endif\r\n" - "#include ""afxres.h""\r\n" - "\0" -END - -3 TEXTINCLUDE -BEGIN - "#define _AFX_NO_SPLITTER_RESOURCES\r\n" - "#define _AFX_NO_OLE_RESOURCES\r\n" - "#define _AFX_NO_TRACKER_RESOURCES\r\n" - "#define _AFX_NO_PROPERTY_RESOURCES\r\n" - "\r\n" - "#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)\r\n" - "LANGUAGE 9, 1\r\n" - "#pragma code_page(1252)\r\n" - "#include ""res\\My9812PrTg.rc2"" // non-Microsoft Visual C++ edited resources\r\n" - "#include ""afxres.rc"" // Standard components\r\n" - "#endif\r\n" - "\0" -END - -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// Icon -// - -// Icon with lowest ID value placed first to ensure application icon -// remains consistent on all systems. -IDR_MAINFRAME ICON "res\\9812PrTg.ico" -#endif // Chinese (Taiwan) resources -///////////////////////////////////////////////////////////////////////////// - - -///////////////////////////////////////////////////////////////////////////// -// English (U.S.) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -#ifdef _WIN32 -LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US -#pragma code_page(1252) -#endif //_WIN32 - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog -// - -IDD_ABOUTBOX DIALOGEX 0, 0, 170, 62 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "About 9812PrTg" -FONT 8, "MS Shell Dlg", 0, 0, 0x1 -BEGIN - ICON IDR_MAINFRAME,IDC_STATIC,14,14,21,20 - LTEXT "9812PrTg, Version 1.0",IDC_STATIC,42,14,114,8,SS_NOPREFIX - LTEXT "Copyright (C) 2010",IDC_STATIC,42,26,114,8 - DEFPUSHBUTTON "OK",IDOK,113,41,50,14,WS_GROUP -END - -IDD_9812DMA_DIALOG DIALOGEX 0, 0, 365, 232 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU -EXSTYLE WS_EX_APPWINDOW -CAPTION -"PCI-9812 Double-Buffered DMA with Pre-Trigger (External Digital Trigger)" -FONT 8, "MS Shell Dlg", 0, 0, 0x1 -BEGIN - GROUPBOX "",IDC_STATIC_DRAW,45,9,248,161,NOT WS_VISIBLE - LTEXT "Range : +/- 1V",IDC_STATIC,299,129,52,15 - LTEXT "Buffer Size",IDC_STATIC,106,183,42,9 - EDITTEXT IDC_EDIT_SAMPLE_RATE,29,196,39,14,ES_AUTOHSCROLL | ES_READONLY - LTEXT "Sample Rate :",IDC_STATIC,29,182,49,9 - LTEXT "KHz",IDC_STATIC,81,199,15,9 - SCROLLBAR IDC_SCROLLBAR_RATE,69,196,9,11,SBS_VERT - PUSHBUTTON "Start",IDC_BT_START,230,188,55,22 - CONTROL "0",IDC_RADIO_CH0,"Button",BS_AUTORADIOBUTTON | BS_LEFTTEXT,307,20,16,12 - EDITTEXT IDC_EDIT_BUF_SIZE,104,196,46,14,ES_AUTOHSCROLL - PUSHBUTTON "Stop",IDC_BT_STOP,291,188,55,22 -END - -IDD_CARDID_DIALOG DIALOGEX 0, 0, 174, 126 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "Card ID" -FONT 8, "MS Shell Dlg", 400, 0, 0x1 -BEGIN - COMBOBOX IDC_COMBO_CARDID,75,24,71,126,CBS_DROPDOWN | WS_VSCROLL | WS_TABSTOP - LTEXT "Card Number",IDC_STATIC_01,21,25,46,12 - PUSHBUTTON "OK",IDOK,22,76,58,19 - PUSHBUTTON "CANCEL",IDCANCEL,86,76,58,19 - COMBOBOX IDC_COMBO_CARDTYPE,75,46,71,126,CBS_DROPDOWN | WS_VSCROLL | WS_TABSTOP - LTEXT "Card Type",IDC_STATIC_2,29,47,37,12 -END - - -///////////////////////////////////////////////////////////////////////////// -// -// Version -// - -VS_VERSION_INFO VERSIONINFO - FILEVERSION 1,0,0,1 - PRODUCTVERSION 1,0,0,1 - FILEFLAGSMASK 0x3fL -#ifdef _DEBUG - FILEFLAGS 0x1L -#else - FILEFLAGS 0x0L -#endif - FILEOS 0x4L - FILETYPE 0x1L - FILESUBTYPE 0x0L -BEGIN - BLOCK "StringFileInfo" - BEGIN - BLOCK "040904e4" - BEGIN - VALUE "CompanyName", "TODO: " - VALUE "FileDescription", "TODO: " - VALUE "FileVersion", "1.0.0.1" - VALUE "InternalName", "9812PrTg.exe" - VALUE "LegalCopyright", "TODO: (c) . All rights reserved." - VALUE "OriginalFilename", "9812PrTg.exe" - VALUE "ProductName", "TODO: " - VALUE "ProductVersion", "1.0.0.1" - END - END - BLOCK "VarFileInfo" - BEGIN - VALUE "Translation", 0x409, 1252 - END -END - - -///////////////////////////////////////////////////////////////////////////// -// -// DESIGNINFO -// - -#ifdef APSTUDIO_INVOKED -GUIDELINES DESIGNINFO -BEGIN - IDD_ABOUTBOX, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 163 - TOPMARGIN, 7 - BOTTOMMARGIN, 55 - END - - IDD_CARDID_DIALOG, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 167 - TOPMARGIN, 7 - BOTTOMMARGIN, 119 - END -END -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog Info -// - -IDD_CARDID_DIALOG DLGINIT -BEGIN - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0030, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0031, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0032, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0033, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0034, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0035, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0036, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0037, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0038, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0039, - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3031, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3131, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3231, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3331, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3431, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3531, "\000" - IDC_COMBO_CARDTYPE, 0x403, 9, 0 -0x4350, 0x5f49, 0x3839, 0x3031, "\000" - IDC_COMBO_CARDTYPE, 0x403, 9, 0 -0x4350, 0x5f49, 0x3839, 0x3231, "\000" - 0 -END - - -///////////////////////////////////////////////////////////////////////////// -// -// Bitmap -// - -IDB_BITMAP_SET1 BITMAP "res\\ch_set1.bmp" -IDB_BITMAP_SET2 BITMAP "res\\ch_set2.bmp" - -///////////////////////////////////////////////////////////////////////////// -// -// String Table -// - -STRINGTABLE -BEGIN - IDS_ABOUTBOX "&About 9812PrTg..." -END - -#endif // English (U.S.) resources -///////////////////////////////////////////////////////////////////////////// - - - -#ifndef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 3 resource. -// -#define _AFX_NO_SPLITTER_RESOURCES -#define _AFX_NO_OLE_RESOURCES -#define _AFX_NO_TRACKER_RESOURCES -#define _AFX_NO_PROPERTY_RESOURCES - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -LANGUAGE 9, 1 -#pragma code_page(1252) -#include "res\My9812PrTg.rc2" // non-Microsoft Visual C++ edited resources -#include "afxres.rc" // Standard components -#endif - -///////////////////////////////////////////////////////////////////////////// -#endif // not APSTUDIO_INVOKED - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812DbfPreTrg/9812PrTg.sln b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812DbfPreTrg/9812PrTg.sln deleted file mode 100644 index dc4fc3d..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812DbfPreTrg/9812PrTg.sln +++ /dev/null @@ -1,20 +0,0 @@ - -Microsoft Visual Studio Solution File, Format Version 10.00 -# Visual Studio 2008 -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "9812PrTg", "9812PrTg.vcproj", "{702163FB-B6DF-4EF5-9491-FC54D71509BC}" -EndProject -Global - GlobalSection(SolutionConfigurationPlatforms) = preSolution - Debug|x64 = Debug|x64 - Release|x64 = Release|x64 - EndGlobalSection - GlobalSection(ProjectConfigurationPlatforms) = postSolution - {702163FB-B6DF-4EF5-9491-FC54D71509BC}.Debug|x64.ActiveCfg = Debug|x64 - {702163FB-B6DF-4EF5-9491-FC54D71509BC}.Debug|x64.Build.0 = Debug|x64 - {702163FB-B6DF-4EF5-9491-FC54D71509BC}.Release|x64.ActiveCfg = Release|x64 - {702163FB-B6DF-4EF5-9491-FC54D71509BC}.Release|x64.Build.0 = Release|x64 - EndGlobalSection - GlobalSection(SolutionProperties) = preSolution - HideSolutionNode = FALSE - EndGlobalSection -EndGlobal diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812DbfPreTrg/9812PrTg.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812DbfPreTrg/9812PrTg.suo deleted file mode 100644 index 1b9db51..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812DbfPreTrg/9812PrTg.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812DbfPreTrg/9812PrTg.vcproj b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812DbfPreTrg/9812PrTg.vcproj deleted file mode 100644 index 99ac1ca..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812DbfPreTrg/9812PrTg.vcproj +++ /dev/null @@ -1,294 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812DbfPreTrg/9812PrTgDlg.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812DbfPreTrg/9812PrTgDlg.cpp deleted file mode 100644 index f6aeff9..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812DbfPreTrg/9812PrTgDlg.cpp +++ /dev/null @@ -1,521 +0,0 @@ - -// 9812PrTgDlg.cpp : implementation file -// - -#include "stdafx.h" -#include "9812PrTg.h" -#include "9812PrTgDlg.h" - -#ifdef _DEBUG -#define new DEBUG_NEW -#endif - -CRect plotRect; - -// CAboutDlg dialog used for App About - -class CAboutDlg : public CDialog -{ -public: - CAboutDlg(); - -// Dialog Data - enum { IDD = IDD_ABOUTBOX }; - - protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - -// Implementation -protected: - DECLARE_MESSAGE_MAP() -}; - -CAboutDlg::CAboutDlg() : CDialog(CAboutDlg::IDD) -{ -} - -void CAboutDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); -} - -BEGIN_MESSAGE_MAP(CAboutDlg, CDialog) -END_MESSAGE_MAP() - - -// C9812PrTgDlg dialog - - - - -C9812PrTgDlg::C9812PrTgDlg(I16 hCard, U16 wCardType, CWnd* pParent /*=NULL*/) - : CDialog(C9812PrTgDlg::IDD, pParent) -{ - m_hIcon = AfxGetApp()->LoadIcon(IDR_MAINFRAME); - - n_PlotWidth = n_PlotHeight = -1; - OnBrush = OffBrush = NULL; - - min_val = 0x00; - max_val = 0xFFFF; - - m_fSampleRate = 500000.0; // 500KHz - - m_hCard = hCard; - - m_wScanChans = 0; - m_nTimer = -1; - m_hMem=NULL; - - m_wRange = AD_B_1_V; - m_dwReadCount = 102400; - - m_wCardType = wCardType; - -} - -void C9812PrTgDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); -} - -BEGIN_MESSAGE_MAP(C9812PrTgDlg, CDialog) - ON_WM_SYSCOMMAND() - ON_WM_PAINT() - ON_WM_QUERYDRAGICON() - //}}AFX_MSG_MAP - ON_WM_DESTROY() - ON_WM_VSCROLL() - ON_BN_CLICKED(IDC_BT_START, &C9812PrTgDlg::OnStart) - ON_WM_TIMER() - ON_BN_CLICKED(IDC_BT_STOP, &C9812PrTgDlg::OnStop) -END_MESSAGE_MAP() - - -// C9812PrTgDlg message handlers - -BOOL C9812PrTgDlg::OnInitDialog() -{ - CDialog::OnInitDialog(); - - // Add "About..." menu item to system menu. - - // IDM_ABOUTBOX must be in the system command range. - ASSERT((IDM_ABOUTBOX & 0xFFF0) == IDM_ABOUTBOX); - ASSERT(IDM_ABOUTBOX < 0xF000); - - CMenu* pSysMenu = GetSystemMenu(FALSE); - if (pSysMenu != NULL) - { - BOOL bNameValid; - CString strAboutMenu; - bNameValid = strAboutMenu.LoadString(IDS_ABOUTBOX); - ASSERT(bNameValid); - if (!strAboutMenu.IsEmpty()) - { - pSysMenu->AppendMenu(MF_SEPARATOR); - pSysMenu->AppendMenu(MF_STRING, IDM_ABOUTBOX, strAboutMenu); - } - } - - // Set the icon for this dialog. The framework does this automatically - // when the application's main window is not a dialog - SetIcon(m_hIcon, TRUE); // Set big icon - SetIcon(m_hIcon, FALSE); // Set small icon - - // TODO: Add extra initialization here - x_divider = 5; y_divider = 4; - - OnBrush = CreateSolidBrush( RGB(255,0,0) ); - OffBrush = CreateSolidBrush( RGB(125,0,0) ); - - RedPen.CreatePen( PS_SOLID, 1, RGB(255,0,0)); - - - if( n_PlotWidth == -1 && n_PlotHeight == -1 ) - { - ((CWnd*)GetDlgItem(IDC_STATIC_DRAW))->GetWindowRect(&plotRect); - ScreenToClient(&plotRect); - - n_PlotWidth = min( plotRect.Width(), 512); - n_PlotHeight = plotRect.Height() - 10; - } - - // set the default SampleRate - SetDlgItemInt( IDC_EDIT_SAMPLE_RATE, (UINT)(m_fSampleRate/1000) ); - SetDlgItemInt( IDC_EDIT_BUF_SIZE, (UINT)(m_dwReadCount) ); - ((CButton*)GetDlgItem( IDC_RADIO_CH0 ))->SetCheck( TRUE ); - - max_range = 1.0; - min_range = -1.0; - - return TRUE; // return TRUE unless you set the focus to a control -} - -void C9812PrTgDlg::OnSysCommand(UINT nID, LPARAM lParam) -{ - if ((nID & 0xFFF0) == IDM_ABOUTBOX) - { - CAboutDlg dlgAbout; - dlgAbout.DoModal(); - } - else - { - CDialog::OnSysCommand(nID, lParam); - } -} - -// If you add a minimize button to your dialog, you will need the code below -// to draw the icon. For MFC applications using the document/view model, -// this is automatically done for you by the framework. - -void C9812PrTgDlg::OnPaint() -{ - if (IsIconic()) - { - CPaintDC dc(this); // device context for painting - - SendMessage(WM_ICONERASEBKGND, reinterpret_cast(dc.GetSafeHdc()), 0); - - // Center icon in client rectangle - int cxIcon = GetSystemMetrics(SM_CXICON); - int cyIcon = GetSystemMetrics(SM_CYICON); - CRect rect; - GetClientRect(&rect); - int x = (rect.Width() - cxIcon + 1) / 2; - int y = (rect.Height() - cyIcon + 1) / 2; - - // Draw the icon - dc.DrawIcon(x, y, m_hIcon); - } - else - { - redraw_display_area(); - CDialog::OnPaint(); - } -} - -// The system calls this function to obtain the cursor to display while the user drags -// the minimized window. -HCURSOR C9812PrTgDlg::OnQueryDragIcon() -{ - return static_cast(m_hIcon); -} - - -void C9812PrTgDlg::redraw_display_area(void) -{ - CPen *oldPen; - - int oldMode; - COLORREF oldColor; - - CString y_lable; - - CPen minor_tick( PS_SOLID,1,RGB(132,130,132) ); -// CPen y_grid( PS_SOLID,1,RGB(206,203,132) ); - - int i, x_intv, y_intv; -// long total_sec; - - CClientDC dc_plot(this); - - // draw the base-line for x-y axises - oldPen = (CPen *)dc_plot.SelectStockObject(BLACK_PEN); - - // redraw the background - dc_plot.FillSolidRect( plotRect, RGB(0,0,0) ); - - // Re-Draw the AREA for Y-Lable - { - CBrush DIALOG_BRUSH; - CRect redraw_area, full_client; - - GetClientRect(&full_client); - ScreenToClient(&full_client); - - redraw_area.left = full_client.left; - redraw_area.top = plotRect.top - 5; - redraw_area.right = plotRect.left - 3; - redraw_area.bottom = plotRect.bottom + 10; - - DIALOG_BRUSH.CreateSysColorBrush( COLOR_3DFACE ); - - dc_plot.FillRect( redraw_area, &DIALOG_BRUSH ); - - DIALOG_BRUSH.DeleteObject(); - } - - dc_plot.MoveTo( plotRect.left - 3, plotRect.top ); - dc_plot.LineTo( plotRect.left - 3, plotRect.bottom ); - - // calculate the interval for tick/grid - y_intv = (plotRect.Height() - 10) /y_divider; - x_intv = plotRect.Width()/x_divider; - - - // set the color for tick - oldColor = dc_plot.SetTextColor( RGB(0,0,0) ); - oldMode = dc_plot.SetBkMode( TRANSPARENT ); - - for( i=0; i<= y_divider; i++ ) - { - CString tick_str; - CRect tmp_rect, tick_rect; - - // draw the tick for y-axis - dc_plot.MoveTo( plotRect.left -12, plotRect.bottom -5 - (i*y_intv) ); - dc_plot.LineTo( plotRect.left -3, plotRect.bottom -5 - (i*y_intv) ); - - tick_str.Format( _T("%.1f"), ( ((max_range-min_range)/y_divider) * i)+min_range ); - - // calculate the rectangle for text - dc_plot.DrawText( tick_str, &tmp_rect, DT_CALCRECT|DT_SINGLELINE ); - tick_rect.right = plotRect.left -14; - tick_rect.left = tick_rect.right - tmp_rect.Width(); - tick_rect.top = plotRect.bottom -5 - (i*y_intv) - tmp_rect.Height()/2; - tick_rect.bottom = tick_rect.top + tmp_rect.Height(); - - // draw the text - dc_plot.DrawText( tick_str, &tick_rect, DT_SINGLELINE|DT_RIGHT ); - - } - - // draw the minor_tick for Y axises - dc_plot.SelectObject(&minor_tick); - for( i=0; i< y_divider; i++ ) - { - dc_plot.MoveTo( plotRect.left -9, plotRect.bottom -5 - (i*y_intv) - y_intv/2 ); - dc_plot.LineTo( plotRect.left -4, plotRect.bottom -5 - (i*y_intv) - y_intv/2 ); - } - - dc_plot.SetTextColor( oldColor ); - dc_plot.SetBkMode( oldMode ); - dc_plot.SelectObject( oldPen ); -} - -void C9812PrTgDlg::OnDestroy() -{ - CDialog::OnDestroy(); - - // TODO: Add your message handler code here - if( m_nTimer != -1 ) - { - KillTimer( m_nTimer ); - m_nTimer = -1; - } - - if (m_hMem != NULL) - { - GlobalUnfix(m_hMem); - GlobalUnlock(m_hMem); - GlobalFree(m_hMem); - - m_hMem = NULL; - } - - if( OnBrush != NULL ) - ::DeleteObject( OnBrush ); - - if( OffBrush != NULL ) - ::DeleteObject( OffBrush ); - - RedPen.DeleteObject(); - -} - -void C9812PrTgDlg::OnVScroll(UINT nSBCode, UINT nPos, CScrollBar* pScrollBar) -{ - // TODO: Add your message handler code here and/or call default - switch ( nSBCode ) - { - case SB_LINEUP : - m_fSampleRate += 100000.0; - if (m_fSampleRate > 5*1000000.0 ) m_fSampleRate = 5*1000000.0; - break; - case SB_LINEDOWN: - m_fSampleRate -= 100000.0; - if (m_fSampleRate < 5000.0 ) m_fSampleRate = 5000.0; - break; - } - - SetDlgItemInt( IDC_EDIT_SAMPLE_RATE, (UINT)(m_fSampleRate/1000) ); - - CDialog::OnVScroll(nSBCode, nPos, pScrollBar); -} - - -void C9812PrTgDlg::OnStop() -{ - // TODO: Add your control notification handler code here - U32 count; - - AI_AsyncClear(m_hCard, &count); - - if( m_nTimer != -1 ) - { - KillTimer( m_nTimer ); - m_nTimer = -1; - } - - GetDlgItem( IDC_BT_START )->EnableWindow(TRUE); - -} - -void C9812PrTgDlg::OnStart() -{ - // TODO: Add your control notification handler code here - DWORD mem_size; - CString strTemp; - I16 err; - - GetDlgItem( IDC_BT_START )->EnableWindow(FALSE); - - m_dwReadCount = GetDlgItemInt(IDC_EDIT_BUF_SIZE); - - - if (m_hMem != NULL) - { - GlobalUnfix(m_hMem); - GlobalUnlock(m_hMem); - GlobalFree(m_hMem); - - m_hMem = NULL; - } - - // allocate a memory for user DMA buffer - mem_size = m_dwReadCount * sizeof(I16); - m_hMem = GlobalAlloc(GMEM_ZEROINIT, mem_size); - m_pAIBuf = (U16*) GlobalLock(m_hMem); - if (m_pAIBuf == NULL ) - { - AfxMessageBox( TEXT("Memory allocation failed"), MB_OK); - return; - } - - GlobalFix(m_hMem); - - err = AI_9812_Config(m_hCard, P9812_TRGMOD_PRE, P9812_TRGSRC_EXT_DIG, P9812_TRGSLP_POS, P9812_AD2_GT_PCI|P9812_CLKSRC_INT, 0x00, 0x01); - if (err!=0) - { - strTemp.Format( TEXT("AI_9812_Config error=%d"), err); - AfxMessageBox( strTemp ); - } - - err=AI_AsyncDblBufferMode(m_hCard, 1); // single-buffer mode - if (err!=0) - { - strTemp.Format( TEXT("AI_DblBufferMode error=%d"), err); - AfxMessageBox( strTemp ); - } - - err=AI_ContReadChannel (m_hCard, 0, m_wRange, (U16*)m_pAIBuf, m_dwReadCount, (F64)m_fSampleRate, ASYNCH_OP); - if (err!=0) - { - strTemp.Format( TEXT("AI_ContReadChannel error=%d"), err); - AfxMessageBox( strTemp ); - } - - m_nTimer = SetTimer( 1, 10, NULL ); - -} - -int C9812PrTgDlg::display_buffer_data(U16* pBuf, U32 dwDataSize) -{ - CClientDC dc_plot(this); - int nDraw_Origin_Y; - int cur_channel; - - int newY = -1; - int newX = -1; - U32 dwReadCount = (m_dwReadCount/2); // for double-buffer operation - U32 index; - I16 ai_data; - - // redraw the background - dc_plot.FillSolidRect( plotRect, RGB(0,0,0) ); - - dc_plot.SelectObject(&RedPen); - nDraw_Origin_Y = ( plotRect.bottom - 5 ) - n_PlotHeight/2; - - for( index=0; index> 4; - newY = (int)( nDraw_Origin_Y - ((n_PlotHeight * ai_data) >> 12 ) ); // (n_PlotHeight * ai_data / 4096 ) ); // ( (n_PlotHeight/2) * ai_data/2048 ) ); - } - else // PCI_9810 - { - cur_channel = index%(m_wScanChans+1); - ai_data = (I16)(pBuf[index]) >> 6; - newY = (int)( nDraw_Origin_Y - ((n_PlotHeight * ai_data) >> 10 ) ); // (n_PlotHeight * ai_data / 1024 ) ); // ( (n_PlotHeight/2) * ai_data/512 ) ); - } - - newX = (int)( index*n_PlotWidth/dwReadCount + plotRect.left ); - - if ( index == 0 ) - { - dc_plot.MoveTo( newX, newY ); - } - else - { - dc_plot.MoveTo( m_oldX, m_oldY ); - dc_plot.LineTo( newX, newY ); - } - - m_oldX = newX; - m_oldY = newY; - } - - return 0; -} - - -void C9812PrTgDlg::OnTimer(UINT_PTR nIDEvent) -{ - // TODO: Add your message handler code here and/or call default - BOOLEAN HalfReady; - BOOLEAN fstop; - U32 count; - - AI_AsyncDblBufferHalfReady(m_hCard, &HalfReady, &fstop); - - if( fstop == FALSE ) - { - if( HalfReady == TRUE ) // half-buffer is ready - { - AI_AsyncDblBufferTransfer(m_hCard, m_pAIBuf); - display_buffer_data( m_pAIBuf, m_dwReadCount/2 ); - } - } - else // AI operation stops - { - AI_AsyncDblBufferHalfReady(m_hCard, &HalfReady, &fstop); //Get the index of working buffer of Double Buffer - AI_AsyncClear(m_hCard, &count); - - if( (count > 0) && (count < (m_dwReadCount/2)) ) - { - AI_AsyncDblBufferTransfer(m_hCard, m_pAIBuf); - display_buffer_data( m_pAIBuf, count ); - } - - if( m_nTimer != -1 ) - { - KillTimer( m_nTimer ); - m_nTimer = -1; - } - - GetDlgItem( IDC_BT_START )->EnableWindow(TRUE); - - } - - CDialog::OnTimer(nIDEvent); -} - - - - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812DbfPreTrg/9812PrTgDlg.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812DbfPreTrg/9812PrTgDlg.h deleted file mode 100644 index bb346f0..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812DbfPreTrg/9812PrTgDlg.h +++ /dev/null @@ -1,65 +0,0 @@ - -// 9812PrTgDlg.h : header file -#pragma once -#include "afxcmn.h" -#include "afxwin.h" - -#include "Dask64.h" - -// C9812PrTgDlg dialog -class C9812PrTgDlg : public CDialog -{ -// Construction -public: - C9812PrTgDlg(I16 hCard, U16 wCardType, CWnd* pParent = NULL); // standard constructor - -// Dialog Data - enum { IDD = IDD_9812DMA_DIALOG }; - - protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - - -// Implementation -protected: - HICON m_hIcon; - UINT_PTR m_nTimer; - I16 m_hCard; - U16 m_wCardType; - double m_fSampleRate; - U16 m_wScanChans; - HANDLE m_hMem; - U16 *m_pAIBuf; - U16 m_wRange; - int m_oldY; - int m_oldX; - U32 m_dwReadCount; - - // Generated message map functions - virtual BOOL OnInitDialog(); - afx_msg void OnSysCommand(UINT nID, LPARAM lParam); - afx_msg void OnPaint(); - afx_msg HCURSOR OnQueryDragIcon(); - DECLARE_MESSAGE_MAP() - -public: - WORD max_val; - WORD min_val; - double max_range; - double min_range; - int n_PlotWidth; - int n_PlotHeight; - int y_divider; - int x_divider; - int m_DisplayScale; - HBRUSH OnBrush; - HBRUSH OffBrush; - CPen RedPen; - void redraw_display_area(void); - afx_msg void OnDestroy(); - afx_msg void OnVScroll(UINT nSBCode, UINT nPos, CScrollBar* pScrollBar); - afx_msg void OnStart(); - int display_buffer_data(U16* pBuf, U32 dwDataSize); - afx_msg void OnTimer(UINT_PTR nIDEvent); - afx_msg void OnStop(); -}; diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812DbfPreTrg/9812Ptrg.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812DbfPreTrg/9812Ptrg.suo deleted file mode 100644 index 963685d..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812DbfPreTrg/9812Ptrg.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812DbfPreTrg/CardIDDlg.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812DbfPreTrg/CardIDDlg.cpp deleted file mode 100644 index 92308d1..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812DbfPreTrg/CardIDDlg.cpp +++ /dev/null @@ -1,74 +0,0 @@ -// CardIDDlg.cpp : implementation file -// -#include "stdafx.h" -#include "9812PrTg.h" -#include "9812PrTgDlg.h" -#include "CardIDDlg.h" - -// CCardIDDlg dialog - -IMPLEMENT_DYNAMIC(CCardIDDlg, CDialog) - -CCardIDDlg::CCardIDDlg(int nCardIdx, CWnd* pParent /*=NULL*/) - : CDialog(CCardIDDlg::IDD, pParent) -{ - m_nCardIdx = nCardIdx; -} - -CCardIDDlg::~CCardIDDlg() -{ -} - -void CCardIDDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); - DDX_Control(pDX, IDC_COMBO_CARDID, m_cbCardID); - DDX_Control(pDX, IDC_COMBO_CARDTYPE, m_cbCardType); -} - - -BEGIN_MESSAGE_MAP(CCardIDDlg, CDialog) -// ON_CBN_SELCHANGE(IDC_COMBO_CARDID, &CCardIDDlg::OnCbnSelchangeComboCardid) -ON_BN_CLICKED(IDOK, &CCardIDDlg::OnBnClickedOk) -//ON_WM_CTLCOLOR() -END_MESSAGE_MAP() - - -// CCardIDDlg message handlers - - -void CCardIDDlg::OnBnClickedOk() -{ - // TODO: Add your control notification handler code here - -// UpdateData(TRUE); - m_nCardIdx = m_cbCardID.GetCurSel(); - m_CardType = PCI_9810 + m_cbCardType.GetCurSel(); - - OnOK(); -} - -BOOL CCardIDDlg::OnInitDialog() -{ - CDialog::OnInitDialog(); - - // TODO: Add extra initialization here - m_cbCardID.SetCurSel( m_nCardIdx ); - - m_cbCardType.SetCurSel( 1 ); - m_CardType = PCI_9812; - - return TRUE; // return TRUE unless you set the focus to a control - // EXCEPTION: OCX Property Pages should return FALSE -} - -// the function to get the selected CardID -int CCardIDDlg::GetCardID(void) -{ - return m_nCardIdx; -} - -U16 CCardIDDlg::GetCardType(void) -{ - return m_CardType; -} diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812DbfPreTrg/CardIDDlg.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812DbfPreTrg/CardIDDlg.h deleted file mode 100644 index 23399df..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812DbfPreTrg/CardIDDlg.h +++ /dev/null @@ -1,35 +0,0 @@ -#pragma once -#include "afxwin.h" - -#include "Dask64.h" - -// CCardIDDlg dialog - -class CCardIDDlg : public CDialog -{ - DECLARE_DYNAMIC(CCardIDDlg) - -public: - CCardIDDlg(int nCardIdx, CWnd* pParent = NULL); // standard constructor - virtual ~CCardIDDlg(); - -// Dialog Data - enum { IDD = IDD_CARDID_DIALOG }; - -protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - - DECLARE_MESSAGE_MAP() -public: - virtual BOOL OnInitDialog(); - afx_msg void OnBnClickedOk(); - // the setting of CardID ComboBox - int m_nCardIdx; - U16 m_CardType; - // the control of CardID ComboBox - CComboBox m_cbCardID; - CComboBox m_cbCardType; - // the function to get the selected CardID - int GetCardID(void); - U16 GetCardType(void); -}; diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812DbfPreTrg/ReadMe.txt b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812DbfPreTrg/ReadMe.txt deleted file mode 100644 index a1caa1c..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812DbfPreTrg/ReadMe.txt +++ /dev/null @@ -1,93 +0,0 @@ -================================================================================ - MICROSOFT FOUNDATION CLASS LIBRARY : 9812PrTg Project Overview -=============================================================================== - -The application wizard has created this 9812PrTg application for -you. This application not only demonstrates the basics of using the Microsoft -Foundation Classes but is also a starting point for writing your application. - -This file contains a summary of what you will find in each of the files that -make up your 9812PrTg application. - -9812PrTg.vcproj - This is the main project file for VC++ projects generated using an application wizard. - It contains information about the version of Visual C++ that generated the file, and - information about the platforms, configurations, and project features selected with the - application wizard. - -9812PrTg.h - This is the main header file for the application. It includes other - project specific headers (including Resource.h) and declares the - C9812PrTgApp application class. - -9812PrTg.cpp - This is the main application source file that contains the application - class C9812PrTgApp. - -9812PrTg.rc - This is a listing of all of the Microsoft Windows resources that the - program uses. It includes the icons, bitmaps, and cursors that are stored - in the RES subdirectory. This file can be directly edited in Microsoft - Visual C++. Your project resources are in 1033. - -res\9812PrTg.ico - This is an icon file, which is used as the application's icon. This - icon is included by the main resource file 9812PrTg.rc. - -res\My9812PrTg.rc2 - This file contains resources that are not edited by Microsoft - Visual C++. You should place all resources not editable by - the resource editor in this file. - - -///////////////////////////////////////////////////////////////////////////// - -The application wizard creates one dialog class: - -9812PrTgDlg.h, 9812PrTgDlg.cpp - the dialog - These files contain your C9812PrTgDlg class. This class defines - the behavior of your application's main dialog. The dialog's template is - in 9812PrTg.rc, which can be edited in Microsoft Visual C++. - - -///////////////////////////////////////////////////////////////////////////// - -Other Features: - -ActiveX Controls - The application includes support to use ActiveX controls. - -///////////////////////////////////////////////////////////////////////////// - -Other standard files: - -StdAfx.h, StdAfx.cpp - These files are used to build a precompiled header (PCH) file - named 9812PrTg.pch and a precompiled types file named StdAfx.obj. - -Resource.h - This is the standard header file, which defines new resource IDs. - Microsoft Visual C++ reads and updates this file. - -9812PrTg.manifest - Application manifest files are used by Windows XP to describe an applications - dependency on specific versions of Side-by-Side assemblies. The loader uses this - information to load the appropriate assembly from the assembly cache or private - from the application. The Application manifest maybe included for redistribution - as an external .manifest file that is installed in the same folder as the application - executable or it may be included in the executable in the form of a resource. -///////////////////////////////////////////////////////////////////////////// - -Other notes: - -The application wizard uses "TODO:" to indicate parts of the source code you -should add to or customize. - -If your application uses MFC in a shared DLL, you will need -to redistribute the MFC DLLs. If your application is in a language -other than the operating system's locale, you will also have to -redistribute the corresponding localized resources MFC90XXX.DLL. -For more information on both of these topics, please see the section on -redistributing Visual C++ applications in MSDN documentation. - -///////////////////////////////////////////////////////////////////////////// diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812DbfPreTrg/res/9812PrTg.ico b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812DbfPreTrg/res/9812PrTg.ico deleted file mode 100644 index d56fbcd..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812DbfPreTrg/res/9812PrTg.ico and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812DbfPreTrg/res/My9812PrTg.rc2 b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812DbfPreTrg/res/My9812PrTg.rc2 deleted file mode 100644 index 383cde2..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812DbfPreTrg/res/My9812PrTg.rc2 +++ /dev/null @@ -1,13 +0,0 @@ -// -// My9111int.RC2 - resources Microsoft Visual C++ does not edit directly -// - -#ifdef APSTUDIO_INVOKED -#error this file is not editable by Microsoft Visual C++ -#endif //APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// Add manually edited resources here... - -///////////////////////////////////////////////////////////////////////////// diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812DbfPreTrg/res/ch_set1.bmp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812DbfPreTrg/res/ch_set1.bmp deleted file mode 100644 index f2374ed..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812DbfPreTrg/res/ch_set1.bmp and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812DbfPreTrg/res/ch_set2.bmp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812DbfPreTrg/res/ch_set2.bmp deleted file mode 100644 index 32d0915..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812DbfPreTrg/res/ch_set2.bmp and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812DbfPreTrg/resource.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812DbfPreTrg/resource.h deleted file mode 100644 index 2345678..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812DbfPreTrg/resource.h +++ /dev/null @@ -1,34 +0,0 @@ -//{{NO_DEPENDENCIES}} -// Microsoft Visual C++ generated include file. -// Used by 9812PrTg.rc -// -#define IDM_ABOUTBOX 0x0010 -#define IDD_ABOUTBOX 100 -#define IDS_ABOUTBOX 101 -#define IDD_9812DMA_DIALOG 102 -#define IDR_MAINFRAME 128 -#define IDD_CARDID_DIALOG 129 -#define IDB_BITMAP_SET1 131 -#define IDB_BITMAP_SET2 132 -#define IDC_STATIC_DRAW 1000 -#define IDC_COMBO_CARDID 1001 -#define IDC_BT_STOP 1002 -#define IDC_COMBO_CARDTYPE 1002 -#define IDC_BT_START 1003 -#define IDC_EDIT_SAMPLE_RATE 1004 -#define IDC_SCROLLBAR_RATE 1005 -#define IDC_RADIO_CH0 1006 -#define IDC_STATIC_01 1007 -#define IDC_EDIT_BUF_SIZE 1009 -#define IDC_STATIC_2 1010 - -// Next default values for new objects -// -#ifdef APSTUDIO_INVOKED -#ifndef APSTUDIO_READONLY_SYMBOLS -#define _APS_NEXT_RESOURCE_VALUE 134 -#define _APS_NEXT_COMMAND_VALUE 32771 -#define _APS_NEXT_CONTROL_VALUE 1011 -#define _APS_NEXT_SYMED_VALUE 101 -#endif -#endif diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812DbfPreTrg/stdafx.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812DbfPreTrg/stdafx.cpp deleted file mode 100644 index ef80626..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812DbfPreTrg/stdafx.cpp +++ /dev/null @@ -1,8 +0,0 @@ - -// stdafx.cpp : source file that includes just the standard includes -// 9111int.pch will be the pre-compiled header -// stdafx.obj will contain the pre-compiled type information - -#include "stdafx.h" - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812DbfPreTrg/stdafx.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812DbfPreTrg/stdafx.h deleted file mode 100644 index 12123e2..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812DbfPreTrg/stdafx.h +++ /dev/null @@ -1,60 +0,0 @@ - -// stdafx.h : include file for standard system include files, -// or project specific include files that are used frequently, -// but are changed infrequently - -#pragma once - -#ifndef _SECURE_ATL -#define _SECURE_ATL 1 -#endif - -#ifndef VC_EXTRALEAN -#define VC_EXTRALEAN // Exclude rarely-used stuff from Windows headers -#endif - -#include "targetver.h" - -#define _ATL_CSTRING_EXPLICIT_CONSTRUCTORS // some CString constructors will be explicit - -// turns off MFC's hiding of some common and often safely ignored warning messages -#define _AFX_ALL_WARNINGS - -#include // MFC core and standard components -#include // MFC extensions - - -#include // MFC Automation classes - - - -#ifndef _AFX_NO_OLE_SUPPORT -#include // MFC support for Internet Explorer 4 Common Controls -#endif -#ifndef _AFX_NO_AFXCMN_SUPPORT -#include // MFC support for Windows Common Controls -#endif // _AFX_NO_AFXCMN_SUPPORT - -#include // MFC support for ribbons and control bars - - - - - - - - - -#ifdef _UNICODE -#if defined _M_IX86 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='x86' publicKeyToken='6595b64144ccf1df' language='*'\"") -#elif defined _M_IA64 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='ia64' publicKeyToken='6595b64144ccf1df' language='*'\"") -#elif defined _M_X64 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='amd64' publicKeyToken='6595b64144ccf1df' language='*'\"") -#else -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='*' publicKeyToken='6595b64144ccf1df' language='*'\"") -#endif -#endif - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812DbfPreTrg/targetver.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812DbfPreTrg/targetver.h deleted file mode 100644 index 11730d5..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812DbfPreTrg/targetver.h +++ /dev/null @@ -1,26 +0,0 @@ - -#pragma once - -// The following macros define the minimum required platform. The minimum required platform -// is the earliest version of Windows, Internet Explorer etc. that has the necessary features to run -// your application. The macros work by enabling all features available on platform versions up to and -// including the version specified. - -// Modify the following defines if you have to target a platform prior to the ones specified below. -// Refer to MSDN for the latest info on corresponding values for different platforms. -#ifndef WINVER // Specifies that the minimum required platform is Windows Vista. -#define WINVER 0x0600 // Change this to the appropriate value to target other versions of Windows. -#endif - -#ifndef _WIN32_WINNT // Specifies that the minimum required platform is Windows Vista. -#define _WIN32_WINNT 0x0600 // Change this to the appropriate value to target other versions of Windows. -#endif - -#ifndef _WIN32_WINDOWS // Specifies that the minimum required platform is Windows 98. -#define _WIN32_WINDOWS 0x0410 // Change this to the appropriate value to target Windows Me or later. -#endif - -#ifndef _WIN32_IE // Specifies that the minimum required platform is Internet Explorer 7.0. -#define _WIN32_IE 0x0700 // Change this to the appropriate value to target other versions of IE. -#endif - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812DelayTrg/9111int.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812DelayTrg/9111int.suo deleted file mode 100644 index 8a4412a..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812DelayTrg/9111int.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812DelayTrg/9118SPtg.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812DelayTrg/9118SPtg.suo deleted file mode 100644 index aec9d88..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812DelayTrg/9118SPtg.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812DelayTrg/9812SDtg.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812DelayTrg/9812SDtg.cpp deleted file mode 100644 index a2e23e8..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812DelayTrg/9812SDtg.cpp +++ /dev/null @@ -1,111 +0,0 @@ - -// 9812SDtg.cpp : Defines the class behaviors for the application. -// - -#include "stdafx.h" -#include "9812SDtg.h" -#include "9812SDtgDlg.h" -#include "CardIDDlg.h" - -#ifdef _DEBUG -#define new DEBUG_NEW -#endif - - -// C9812SDtgApp - -BEGIN_MESSAGE_MAP(C9812SDtgApp, CWinAppEx) - ON_COMMAND(ID_HELP, &CWinApp::OnHelp) -END_MESSAGE_MAP() - - -// C9812SDtgApp construction - -C9812SDtgApp::C9812SDtgApp() -{ - // TODO: add construction code here, - // Place all significant initialization in InitInstance -} - - -// The one and only C9812SDtgApp object - -C9812SDtgApp theApp; - - -// C9812SDtgApp initialization - -BOOL C9812SDtgApp::InitInstance() -{ - int nCardID = 0; - I16 hCard; - U16 wCardType; - CString strTemp; - INT_PTR nResponse; - - // InitCommonControlsEx() is required on Windows XP if an application - // manifest specifies use of ComCtl32.dll version 6 or later to enable - // visual styles. Otherwise, any window creation will fail. - INITCOMMONCONTROLSEX InitCtrls; - InitCtrls.dwSize = sizeof(InitCtrls); - // Set this to include all the common control classes you want to use - // in your application. - InitCtrls.dwICC = ICC_WIN95_CLASSES; - InitCommonControlsEx(&InitCtrls); - - CWinAppEx::InitInstance(); - - AfxEnableControlContainer(); - - // Standard initialization - // If you are not using these features and wish to reduce the size - // of your final executable, you should remove from the following - // the specific initialization routines you do not need - // Change the registry key under which our settings are stored - // TODO: You should modify this string to be something appropriate - // such as the name of your company or organization - SetRegistryKey(_T("Local AppWizard-Generated Applications")); - - CCardIDDlg CardDlg( nCardID ); - - nResponse = CardDlg.DoModal(); - if (nResponse == IDOK) - { - nCardID = CardDlg.GetCardID(); - wCardType = CardDlg.GetCardType(); - - if ((hCard=Register_Card(wCardType, nCardID)) < 0) - { - strTemp.Format( TEXT("Register_Card Error = %d"), hCard); - AfxMessageBox( strTemp ); - } - else - { - C9812SDtgDlg dlg(hCard, wCardType); - m_pMainWnd = &dlg; - nResponse = dlg.DoModal(); - if (nResponse == IDOK) - { - // TODO: Place code here to handle when the dialog is - // dismissed with OK - } - else if (nResponse == IDCANCEL) - { - // TODO: Place code here to handle when the dialog is - // dismissed with Cancel - } - - if (hCard >= 0) Release_Card(hCard); - } - - } - else if (nResponse == IDCANCEL) - { - // TODO: Place code here to handle when the dialog is - // dismissed with Cancel - } - - // Since the dialog has been closed, return FALSE so that we exit the - // application, rather than start the application's message pump. - return FALSE; -} diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812DelayTrg/9812SDtg.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812DelayTrg/9812SDtg.h deleted file mode 100644 index 29b22dc..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812DelayTrg/9812SDtg.h +++ /dev/null @@ -1,32 +0,0 @@ - -// 9812SDtg.h : main header file for the PROJECT_NAME application -// - -#pragma once - -#ifndef __AFXWIN_H__ - #error "include 'stdafx.h' before including this file for PCH" -#endif - -#include "resource.h" // main symbols - - -// C9812SDtgApp: -// See 9812SDtg.cpp for the implementation of this class -// - -class C9812SDtgApp : public CWinAppEx -{ -public: - C9812SDtgApp(); - -// Overrides - public: - virtual BOOL InitInstance(); - -// Implementation - - DECLARE_MESSAGE_MAP() -}; - -extern C9812SDtgApp theApp; \ No newline at end of file diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812DelayTrg/9812SDtg.rc b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812DelayTrg/9812SDtg.rc deleted file mode 100644 index 82d7214..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812DelayTrg/9812SDtg.rc +++ /dev/null @@ -1,302 +0,0 @@ -// Microsoft Visual C++ generated resource script. -// -#include "resource.h" - -#define APSTUDIO_READONLY_SYMBOLS -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 2 resource. -// -#ifndef APSTUDIO_INVOKED -#include "targetver.h" -#endif -#include "afxres.h" - -///////////////////////////////////////////////////////////////////////////// -#undef APSTUDIO_READONLY_SYMBOLS - -///////////////////////////////////////////////////////////////////////////// -// Chinese (Taiwan) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_CHT) -#ifdef _WIN32 -LANGUAGE LANG_CHINESE, SUBLANG_CHINESE_TRADITIONAL -#pragma code_page(950) -#endif //_WIN32 - -#ifdef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// TEXTINCLUDE -// - -1 TEXTINCLUDE -BEGIN - "resource.h\0" -END - -2 TEXTINCLUDE -BEGIN - "#ifndef APSTUDIO_INVOKED\r\n" - "#include ""targetver.h""\r\n" - "#endif\r\n" - "#include ""afxres.h""\r\n" - "\0" -END - -3 TEXTINCLUDE -BEGIN - "#define _AFX_NO_SPLITTER_RESOURCES\r\n" - "#define _AFX_NO_OLE_RESOURCES\r\n" - "#define _AFX_NO_TRACKER_RESOURCES\r\n" - "#define _AFX_NO_PROPERTY_RESOURCES\r\n" - "\r\n" - "#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)\r\n" - "LANGUAGE 9, 1\r\n" - "#pragma code_page(1252)\r\n" - "#include ""res\\My9812SDtg.rc2"" // non-Microsoft Visual C++ edited resources\r\n" - "#include ""afxres.rc"" // Standard components\r\n" - "#endif\r\n" - "\0" -END - -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// Icon -// - -// Icon with lowest ID value placed first to ensure application icon -// remains consistent on all systems. -IDR_MAINFRAME ICON "res\\9812SDtg.ico" -#endif // Chinese (Taiwan) resources -///////////////////////////////////////////////////////////////////////////// - - -///////////////////////////////////////////////////////////////////////////// -// English (U.S.) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -#ifdef _WIN32 -LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US -#pragma code_page(1252) -#endif //_WIN32 - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog -// - -IDD_ABOUTBOX DIALOGEX 0, 0, 170, 62 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "About 9812SDtg" -FONT 8, "MS Shell Dlg", 0, 0, 0x1 -BEGIN - ICON IDR_MAINFRAME,IDC_STATIC,14,14,21,20 - LTEXT "9812SDtg, Version 1.0",IDC_STATIC,42,14,114,8,SS_NOPREFIX - LTEXT "Copyright (C) 2010",IDC_STATIC,42,26,114,8 - DEFPUSHBUTTON "OK",IDOK,113,41,50,14,WS_GROUP -END - -IDD_9812DMA_DIALOG DIALOGEX 0, 0, 365, 232 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU -EXSTYLE WS_EX_APPWINDOW -CAPTION -"PCI-9812 Single Buffer DMA by Delay Trigger Mode (External Digital Trigger)" -FONT 8, "MS Shell Dlg", 0, 0, 0x1 -BEGIN - GROUPBOX "",IDC_STATIC_DRAW,45,9,248,161,NOT WS_VISIBLE - LTEXT "Range : +/- 1V",IDC_STATIC,299,129,52,15 - LTEXT "Buffer Size",IDC_STATIC,124,183,42,9 - EDITTEXT IDC_EDIT_SAMPLE_RATE,47,196,39,14,ES_AUTOHSCROLL | ES_READONLY - LTEXT "Sample Rate :",IDC_STATIC,47,182,49,9 - LTEXT "KHz",IDC_STATIC,99,199,15,9 - SCROLLBAR IDC_SCROLLBAR_RATE,87,196,9,11,SBS_VERT - PUSHBUTTON "Start",IDC_BT_START,230,188,55,22 - CONTROL "1",IDC_RADIO_CH0,"Button",BS_AUTORADIOBUTTON | BS_LEFTTEXT,307,20,16,12 - EDITTEXT IDC_EDIT_BUF_SIZE,122,196,46,14,ES_AUTOHSCROLL - PUSHBUTTON "Stop",IDC_BT_STOP,291,188,55,22 - LTEXT "Post Count",IDC_STATIC_TRACE_CNT,181,182,42,9,NOT WS_VISIBLE - EDITTEXT IDC_EDIT_TRACE_CNT,179,195,46,14,ES_AUTOHSCROLL | NOT WS_VISIBLE -END - -IDD_CARDID_DIALOG DIALOGEX 0, 0, 174, 119 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "Card ID" -FONT 8, "MS Shell Dlg", 400, 0, 0x1 -BEGIN - COMBOBOX IDC_COMBO_CARDID,75,24,71,126,CBS_DROPDOWN | WS_VSCROLL | WS_TABSTOP - LTEXT "Card Number",IDC_STATIC_01,21,25,46,12 - PUSHBUTTON "OK",IDOK,22,84,58,19 - PUSHBUTTON "CANCEL",IDCANCEL,86,84,58,19 - COMBOBOX IDC_COMBO_CARDTYPE,75,46,71,126,CBS_DROPDOWN | WS_VSCROLL | WS_TABSTOP - LTEXT "Card Type",IDC_STATIC_2,29,47,37,12 -END - - -///////////////////////////////////////////////////////////////////////////// -// -// Version -// - -VS_VERSION_INFO VERSIONINFO - FILEVERSION 1,0,0,1 - PRODUCTVERSION 1,0,0,1 - FILEFLAGSMASK 0x3fL -#ifdef _DEBUG - FILEFLAGS 0x1L -#else - FILEFLAGS 0x0L -#endif - FILEOS 0x4L - FILETYPE 0x1L - FILESUBTYPE 0x0L -BEGIN - BLOCK "StringFileInfo" - BEGIN - BLOCK "040904e4" - BEGIN - VALUE "CompanyName", "TODO: " - VALUE "FileDescription", "TODO: " - VALUE "FileVersion", "1.0.0.1" - VALUE "InternalName", "9812SDtg.exe" - VALUE "LegalCopyright", "TODO: (c) . All rights reserved." - VALUE "OriginalFilename", "9812SDtg.exe" - VALUE "ProductName", "TODO: " - VALUE "ProductVersion", "1.0.0.1" - END - END - BLOCK "VarFileInfo" - BEGIN - VALUE "Translation", 0x409, 1252 - END -END - - -///////////////////////////////////////////////////////////////////////////// -// -// DESIGNINFO -// - -#ifdef APSTUDIO_INVOKED -GUIDELINES DESIGNINFO -BEGIN - IDD_ABOUTBOX, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 163 - TOPMARGIN, 7 - BOTTOMMARGIN, 55 - END - - IDD_9812DMA_DIALOG, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 358 - TOPMARGIN, 7 - BOTTOMMARGIN, 225 - END - - IDD_CARDID_DIALOG, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 167 - TOPMARGIN, 7 - BOTTOMMARGIN, 112 - END -END -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog Info -// - -IDD_CARDID_DIALOG DLGINIT -BEGIN - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0030, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0031, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0032, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0033, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0034, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0035, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0036, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0037, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0038, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0039, - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3031, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3131, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3231, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3331, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3431, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3531, "\000" - IDC_COMBO_CARDTYPE, 0x403, 9, 0 -0x4350, 0x5f49, 0x3839, 0x3031, "\000" - IDC_COMBO_CARDTYPE, 0x403, 9, 0 -0x4350, 0x5f49, 0x3839, 0x3231, "\000" - 0 -END - - -///////////////////////////////////////////////////////////////////////////// -// -// Bitmap -// - -IDB_BITMAP_SET1 BITMAP "res\\ch_set1.bmp" -IDB_BITMAP_SET2 BITMAP "res\\ch_set2.bmp" - -///////////////////////////////////////////////////////////////////////////// -// -// String Table -// - -STRINGTABLE -BEGIN - IDS_ABOUTBOX "&About 9812SDtg..." -END - -#endif // English (U.S.) resources -///////////////////////////////////////////////////////////////////////////// - - - -#ifndef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 3 resource. -// -#define _AFX_NO_SPLITTER_RESOURCES -#define _AFX_NO_OLE_RESOURCES -#define _AFX_NO_TRACKER_RESOURCES -#define _AFX_NO_PROPERTY_RESOURCES - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -LANGUAGE 9, 1 -#pragma code_page(1252) -#include "res\My9812SDtg.rc2" // non-Microsoft Visual C++ edited resources -#include "afxres.rc" // Standard components -#endif - -///////////////////////////////////////////////////////////////////////////// -#endif // not APSTUDIO_INVOKED - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812DelayTrg/9812SDtg.sln b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812DelayTrg/9812SDtg.sln deleted file mode 100644 index 43b6ae8..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812DelayTrg/9812SDtg.sln +++ /dev/null @@ -1,20 +0,0 @@ - -Microsoft Visual Studio Solution File, Format Version 10.00 -# Visual Studio 2008 -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "9812SDtg", "9812SDtg.vcproj", "{702163FB-B6DF-4EF5-9491-FC54D71509BC}" -EndProject -Global - GlobalSection(SolutionConfigurationPlatforms) = preSolution - Debug|x64 = Debug|x64 - Release|x64 = Release|x64 - EndGlobalSection - GlobalSection(ProjectConfigurationPlatforms) = postSolution - {702163FB-B6DF-4EF5-9491-FC54D71509BC}.Debug|x64.ActiveCfg = Debug|x64 - {702163FB-B6DF-4EF5-9491-FC54D71509BC}.Debug|x64.Build.0 = Debug|x64 - {702163FB-B6DF-4EF5-9491-FC54D71509BC}.Release|x64.ActiveCfg = Release|x64 - {702163FB-B6DF-4EF5-9491-FC54D71509BC}.Release|x64.Build.0 = Release|x64 - EndGlobalSection - GlobalSection(SolutionProperties) = preSolution - HideSolutionNode = FALSE - EndGlobalSection -EndGlobal diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812DelayTrg/9812SDtg.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812DelayTrg/9812SDtg.suo deleted file mode 100644 index 784d0ce..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812DelayTrg/9812SDtg.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812DelayTrg/9812SDtg.vcproj b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812DelayTrg/9812SDtg.vcproj deleted file mode 100644 index 77cdd8a..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812DelayTrg/9812SDtg.vcproj +++ /dev/null @@ -1,294 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812DelayTrg/9812SDtgDlg.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812DelayTrg/9812SDtgDlg.cpp deleted file mode 100644 index c254bfe..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812DelayTrg/9812SDtgDlg.cpp +++ /dev/null @@ -1,506 +0,0 @@ - -// 9812SDtgDlg.cpp : implementation file -// - -#include "stdafx.h" -#include "9812SDtg.h" -#include "9812SDtgDlg.h" - -#ifdef _DEBUG -#define new DEBUG_NEW -#endif - -CRect plotRect; - -// CAboutDlg dialog used for App About - -class CAboutDlg : public CDialog -{ -public: - CAboutDlg(); - -// Dialog Data - enum { IDD = IDD_ABOUTBOX }; - - protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - -// Implementation -protected: - DECLARE_MESSAGE_MAP() -}; - -CAboutDlg::CAboutDlg() : CDialog(CAboutDlg::IDD) -{ -} - -void CAboutDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); -} - -BEGIN_MESSAGE_MAP(CAboutDlg, CDialog) -END_MESSAGE_MAP() - - -// C9812SDtgDlg dialog - - - - -C9812SDtgDlg::C9812SDtgDlg(I16 hCard, U16 wCardType, CWnd* pParent /*=NULL*/) - : CDialog(C9812SDtgDlg::IDD, pParent) -{ - m_hIcon = AfxGetApp()->LoadIcon(IDR_MAINFRAME); - - n_PlotWidth = n_PlotHeight = -1; - OnBrush = OffBrush = NULL; - - min_val = 0x00; - max_val = 0x0FFF; - - m_fSampleRate = 1000000.0; // 1MHz - - m_hCard = hCard; - - m_wScanChans = 0; - m_nTimer = -1; - m_hMem=NULL; - - m_dwReadCount = 1024; - m_wTraceCount = 1024; - - m_wRange = AD_B_1_V; - - m_wCardType = wCardType; -} - -void C9812SDtgDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); -} - -BEGIN_MESSAGE_MAP(C9812SDtgDlg, CDialog) - ON_WM_SYSCOMMAND() - ON_WM_PAINT() - ON_WM_QUERYDRAGICON() - //}}AFX_MSG_MAP - ON_WM_DESTROY() - ON_WM_VSCROLL() - ON_BN_CLICKED(IDC_BT_START, &C9812SDtgDlg::OnStart) - ON_WM_TIMER() - ON_BN_CLICKED(IDC_BT_STOP, &C9812SDtgDlg::OnStop) -END_MESSAGE_MAP() - - -// C9812SDtgDlg message handlers - -BOOL C9812SDtgDlg::OnInitDialog() -{ - CDialog::OnInitDialog(); - - // Add "About..." menu item to system menu. - - // IDM_ABOUTBOX must be in the system command range. - ASSERT((IDM_ABOUTBOX & 0xFFF0) == IDM_ABOUTBOX); - ASSERT(IDM_ABOUTBOX < 0xF000); - - CMenu* pSysMenu = GetSystemMenu(FALSE); - if (pSysMenu != NULL) - { - BOOL bNameValid; - CString strAboutMenu; - bNameValid = strAboutMenu.LoadString(IDS_ABOUTBOX); - ASSERT(bNameValid); - if (!strAboutMenu.IsEmpty()) - { - pSysMenu->AppendMenu(MF_SEPARATOR); - pSysMenu->AppendMenu(MF_STRING, IDM_ABOUTBOX, strAboutMenu); - } - } - - // Set the icon for this dialog. The framework does this automatically - // when the application's main window is not a dialog - SetIcon(m_hIcon, TRUE); // Set big icon - SetIcon(m_hIcon, FALSE); // Set small icon - - // TODO: Add extra initialization here - x_divider = 5; y_divider = 4; - - OnBrush = CreateSolidBrush( RGB(255,0,0) ); - OffBrush = CreateSolidBrush( RGB(125,0,0) ); - - RedPen.CreatePen( PS_SOLID, 1, RGB(255,0,0)); - - - if( n_PlotWidth == -1 && n_PlotHeight == -1 ) - { - ((CWnd*)GetDlgItem(IDC_STATIC_DRAW))->GetWindowRect(&plotRect); - ScreenToClient(&plotRect); - - n_PlotWidth = min( plotRect.Width(), 512); - n_PlotHeight = plotRect.Height() - 10; - } - - GetDlgItem( IDC_STATIC_TRACE_CNT )->ShowWindow(TRUE); - GetDlgItem( IDC_EDIT_TRACE_CNT )->ShowWindow(TRUE); - - SetDlgItemInt( IDC_EDIT_TRACE_CNT, (UINT)m_wTraceCount ); - - - // set the default SampleRate - SetDlgItemInt( IDC_EDIT_SAMPLE_RATE, (UINT)(m_fSampleRate/1000) ); - SetDlgItemInt( IDC_EDIT_BUF_SIZE, (UINT)(m_dwReadCount) ); - ((CButton*)GetDlgItem( IDC_RADIO_CH0 ))->SetCheck( TRUE ); - - max_range = 1.0; - min_range = -1.0; - - return TRUE; // return TRUE unless you set the focus to a control -} - -void C9812SDtgDlg::OnSysCommand(UINT nID, LPARAM lParam) -{ - if ((nID & 0xFFF0) == IDM_ABOUTBOX) - { - CAboutDlg dlgAbout; - dlgAbout.DoModal(); - } - else - { - CDialog::OnSysCommand(nID, lParam); - } -} - -// If you add a minimize button to your dialog, you will need the code below -// to draw the icon. For MFC applications using the document/view model, -// this is automatically done for you by the framework. - -void C9812SDtgDlg::OnPaint() -{ - if (IsIconic()) - { - CPaintDC dc(this); // device context for painting - - SendMessage(WM_ICONERASEBKGND, reinterpret_cast(dc.GetSafeHdc()), 0); - - // Center icon in client rectangle - int cxIcon = GetSystemMetrics(SM_CXICON); - int cyIcon = GetSystemMetrics(SM_CYICON); - CRect rect; - GetClientRect(&rect); - int x = (rect.Width() - cxIcon + 1) / 2; - int y = (rect.Height() - cyIcon + 1) / 2; - - // Draw the icon - dc.DrawIcon(x, y, m_hIcon); - } - else - { - redraw_display_area(); - CDialog::OnPaint(); - } -} - -// The system calls this function to obtain the cursor to display while the user drags -// the minimized window. -HCURSOR C9812SDtgDlg::OnQueryDragIcon() -{ - return static_cast(m_hIcon); -} - - -void C9812SDtgDlg::redraw_display_area(void) -{ - CPen *oldPen; - - int oldMode; - COLORREF oldColor; - - CString y_lable; - - CPen minor_tick( PS_SOLID,1,RGB(132,130,132) ); -// CPen y_grid( PS_SOLID,1,RGB(206,203,132) ); - - int i, x_intv, y_intv; -// long total_sec; - - CClientDC dc_plot(this); - - // draw the base-line for x-y axises - oldPen = (CPen *)dc_plot.SelectStockObject(BLACK_PEN); - - // redraw the background - dc_plot.FillSolidRect( plotRect, RGB(0,0,0) ); - - // Re-Draw the AREA for Y-Lable - { - CBrush DIALOG_BRUSH; - CRect redraw_area, full_client; - - GetClientRect(&full_client); - ScreenToClient(&full_client); - - redraw_area.left = full_client.left; - redraw_area.top = plotRect.top - 5; - redraw_area.right = plotRect.left - 3; - redraw_area.bottom = plotRect.bottom + 10; - - DIALOG_BRUSH.CreateSysColorBrush( COLOR_3DFACE ); - - dc_plot.FillRect( redraw_area, &DIALOG_BRUSH ); - - DIALOG_BRUSH.DeleteObject(); - } - - dc_plot.MoveTo( plotRect.left - 3, plotRect.top ); - dc_plot.LineTo( plotRect.left - 3, plotRect.bottom ); - - // calculate the interval for tick/grid - y_intv = (plotRect.Height() - 10) /y_divider; - x_intv = plotRect.Width()/x_divider; - - - // set the color for tick - oldColor = dc_plot.SetTextColor( RGB(0,0,0) ); - oldMode = dc_plot.SetBkMode( TRANSPARENT ); - - for( i=0; i<= y_divider; i++ ) - { - CString tick_str; - CRect tmp_rect, tick_rect; - - // draw the tick for y-axis - dc_plot.MoveTo( plotRect.left -12, plotRect.bottom -5 - (i*y_intv) ); - dc_plot.LineTo( plotRect.left -3, plotRect.bottom -5 - (i*y_intv) ); - - tick_str.Format( _T("%.1f"), ( ((max_range-min_range)/y_divider) * i)+min_range ); - - // calculate the rectangle for text - dc_plot.DrawText( tick_str, &tmp_rect, DT_CALCRECT|DT_SINGLELINE ); - tick_rect.right = plotRect.left -14; - tick_rect.left = tick_rect.right - tmp_rect.Width(); - tick_rect.top = plotRect.bottom -5 - (i*y_intv) - tmp_rect.Height()/2; - tick_rect.bottom = tick_rect.top + tmp_rect.Height(); - - // draw the text - dc_plot.DrawText( tick_str, &tick_rect, DT_SINGLELINE|DT_RIGHT ); - - } - - // draw the minor_tick for Y axises - dc_plot.SelectObject(&minor_tick); - for( i=0; i< y_divider; i++ ) - { - dc_plot.MoveTo( plotRect.left -9, plotRect.bottom -5 - (i*y_intv) - y_intv/2 ); - dc_plot.LineTo( plotRect.left -4, plotRect.bottom -5 - (i*y_intv) - y_intv/2 ); - } - - dc_plot.SetTextColor( oldColor ); - dc_plot.SetBkMode( oldMode ); - dc_plot.SelectObject( oldPen ); -} - -void C9812SDtgDlg::OnDestroy() -{ - CDialog::OnDestroy(); - - // TODO: Add your message handler code here - if( m_nTimer != -1 ) - { - KillTimer( m_nTimer ); - m_nTimer = -1; - } - - if (m_hMem != NULL) - { - GlobalUnfix(m_hMem); - GlobalUnlock(m_hMem); - GlobalFree(m_hMem); - - m_hMem = NULL; - } - - if( OnBrush != NULL ) - ::DeleteObject( OnBrush ); - - if( OffBrush != NULL ) - ::DeleteObject( OffBrush ); - - RedPen.DeleteObject(); - -} - -void C9812SDtgDlg::OnVScroll(UINT nSBCode, UINT nPos, CScrollBar* pScrollBar) -{ - // TODO: Add your message handler code here and/or call default - switch ( nSBCode ) - { - case SB_LINEUP : - m_fSampleRate += 100000.0; - if (m_fSampleRate > 20*1000000.0 ) m_fSampleRate = 20*1000000.0; - break; - case SB_LINEDOWN: - m_fSampleRate -= 100000.0; - if (m_fSampleRate < 5000.0 ) m_fSampleRate = 5000.0; - break; - } - - SetDlgItemInt( IDC_EDIT_SAMPLE_RATE, (UINT)(m_fSampleRate/1000) ); - - CDialog::OnVScroll(nSBCode, nPos, pScrollBar); -} - - -void C9812SDtgDlg::OnStop() -{ - // TODO: Add your control notification handler code here - U32 count; - - AI_AsyncClear(m_hCard, &count); - - if( m_nTimer != -1 ) - { - KillTimer( m_nTimer ); - m_nTimer = -1; - } - - GetDlgItem( IDC_BT_START )->EnableWindow(TRUE); -} - -void C9812SDtgDlg::OnStart() -{ - // TODO: Add your control notification handler code here - DWORD mem_size; - CString strTemp; - I16 err; - - GetDlgItem( IDC_BT_START )->EnableWindow(FALSE); - - m_dwReadCount = GetDlgItemInt(IDC_EDIT_BUF_SIZE); - m_wTraceCount = GetDlgItemInt(IDC_EDIT_TRACE_CNT); - - if (m_hMem != NULL) - { - GlobalUnfix(m_hMem); - GlobalUnlock(m_hMem); - GlobalFree(m_hMem); - - m_hMem = NULL; - } - - // allocate a memory for user DMA buffer - mem_size = m_dwReadCount * sizeof(I16); - m_hMem = GlobalAlloc(GMEM_ZEROINIT, mem_size); - m_pAIBuf = (U16*) GlobalLock(m_hMem); - if (m_pAIBuf == NULL ) - { - AfxMessageBox( TEXT("Memory allocation failed") ); - return; - } - - GlobalFix(m_hMem); - - err = AI_9812_Config(m_hCard, P9812_TRGMOD_DELAY, P9812_TRGSRC_EXT_DIG, P9812_TRGSLP_POS, P9812_AD2_GT_PCI|P9812_CLKSRC_INT, 0x80, m_wTraceCount); - if (err!=0) - { - strTemp.Format( TEXT("AI_9812_Config error=%d"), err); - AfxMessageBox( strTemp ); - } - - err=AI_AsyncDblBufferMode(m_hCard, 0); // single-buffer mode - if (err!=0) - { - strTemp.Format( TEXT("AI_DblBufferMode error=%d"), err); - AfxMessageBox( strTemp ); - } - - err=AI_ContReadChannel (m_hCard, 0, m_wRange, (U16*)m_pAIBuf, m_dwReadCount, (F64)m_fSampleRate, ASYNCH_OP); - if (err!=0) - { - strTemp.Format( TEXT("AI_ContReadChannel error=%d"), err); - AfxMessageBox( strTemp ); - } - - m_nTimer = SetTimer( 1, 50, NULL ); - -} - -int C9812SDtgDlg::display_buffer_data(U16* pBuf, U32 dwDisplayCnt) -{ - CClientDC dc_plot(this); - int nDraw_Origin_Y; - int cur_channel; - - int newY = -1; - int newX = -1; - U32 index; - I16 ai_data; - - // redraw the background - dc_plot.FillSolidRect( plotRect, RGB(0,0,0) ); - - dc_plot.SelectObject(&RedPen); - nDraw_Origin_Y = ( plotRect.bottom - 5 ) - n_PlotHeight/2; - - for( index=0; index> 4; - newY = (int)( nDraw_Origin_Y - ((n_PlotHeight * ai_data) >> 12 ) ); // (n_PlotHeight * ai_data / 4096 ) ); // ( (n_PlotHeight/2) * ai_data/2048 ) ); - } - else // PCI_9810 - { - cur_channel = index%(m_wScanChans+1); - ai_data = (I16)(pBuf[index]) >> 6; - newY = (int)( nDraw_Origin_Y - ((n_PlotHeight * ai_data) >> 10 ) ); // (n_PlotHeight * ai_data / 1024 ) ); // ( (n_PlotHeight/2) * ai_data/512 ) ); - } - - newX = (int)( index*n_PlotWidth/m_dwReadCount + plotRect.left ); - - if ( index == 0 ) - { - dc_plot.MoveTo( newX, newY ); - } - else - { - dc_plot.MoveTo( m_oldX, m_oldY ); - dc_plot.LineTo( newX, newY ); - } - - m_oldX = newX; - m_oldY = newY; - } - - return 0; -} - -void C9812SDtgDlg::OnTimer(UINT_PTR nIDEvent) -{ - // TODO: Add your message handler code here and/or call default - BOOLEAN fstop; - U32 count; - - AI_AsyncCheck(m_hCard, &fstop, &count); - - if( fstop == TRUE ) - { - AI_AsyncClear(m_hCard, &count); - - KillTimer( m_nTimer ); - m_nTimer = -1; - - display_buffer_data( m_pAIBuf, count ); - - GetDlgItem( IDC_BT_START )->EnableWindow(TRUE); - } - - CDialog::OnTimer(nIDEvent); -} - - - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812DelayTrg/9812SDtgDlg.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812DelayTrg/9812SDtgDlg.h deleted file mode 100644 index 7b97a4b..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812DelayTrg/9812SDtgDlg.h +++ /dev/null @@ -1,66 +0,0 @@ - -// 9812SDtgDlg.h : header file -#pragma once -#include "afxcmn.h" -#include "afxwin.h" - -#include "Dask64.h" - -// C9812SDtgDlg dialog -class C9812SDtgDlg : public CDialog -{ -// Construction -public: - C9812SDtgDlg(I16 hCard, U16 wCardType, CWnd* pParent = NULL); // standard constructor - -// Dialog Data - enum { IDD = IDD_9812DMA_DIALOG }; - - protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - - -// Implementation -protected: - HICON m_hIcon; - UINT_PTR m_nTimer; - I16 m_hCard; - U16 m_wCardType; - double m_fSampleRate; - U16 m_wScanChans; - HANDLE m_hMem; - U16 *m_pAIBuf; - U16 m_wRange; - int m_oldY; - int m_oldX; - U32 m_dwReadCount; - U16 m_wTraceCount; - - // Generated message map functions - virtual BOOL OnInitDialog(); - afx_msg void OnSysCommand(UINT nID, LPARAM lParam); - afx_msg void OnPaint(); - afx_msg HCURSOR OnQueryDragIcon(); - DECLARE_MESSAGE_MAP() - -public: - WORD max_val; - WORD min_val; - double max_range; - double min_range; - int n_PlotWidth; - int n_PlotHeight; - int y_divider; - int x_divider; - int m_DisplayScale; - HBRUSH OnBrush; - HBRUSH OffBrush; - CPen RedPen; - void redraw_display_area(void); - afx_msg void OnDestroy(); - afx_msg void OnVScroll(UINT nSBCode, UINT nPos, CScrollBar* pScrollBar); - afx_msg void OnStart(); - int display_buffer_data(U16* pBuf, U32 DisplayCnt); - afx_msg void OnTimer(UINT_PTR nIDEvent); - afx_msg void OnStop(); -}; diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812DelayTrg/9812SMTg.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812DelayTrg/9812SMTg.suo deleted file mode 100644 index c166117..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812DelayTrg/9812SMTg.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812DelayTrg/9812SPtg.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812DelayTrg/9812SPtg.suo deleted file mode 100644 index 2cacd54..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812DelayTrg/9812SPtg.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812DelayTrg/CardIDDlg.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812DelayTrg/CardIDDlg.cpp deleted file mode 100644 index 65f52f6..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812DelayTrg/CardIDDlg.cpp +++ /dev/null @@ -1,74 +0,0 @@ -// CardIDDlg.cpp : implementation file -// -#include "stdafx.h" -#include "9812SDtg.h" -#include "9812SDtgDlg.h" -#include "CardIDDlg.h" - -// CCardIDDlg dialog - -IMPLEMENT_DYNAMIC(CCardIDDlg, CDialog) - -CCardIDDlg::CCardIDDlg(int nCardIdx, CWnd* pParent /*=NULL*/) - : CDialog(CCardIDDlg::IDD, pParent) -{ - m_nCardIdx = nCardIdx; -} - -CCardIDDlg::~CCardIDDlg() -{ -} - -void CCardIDDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); - DDX_Control(pDX, IDC_COMBO_CARDID, m_cbCardID); - DDX_Control(pDX, IDC_COMBO_CARDTYPE, m_cbCardType); -} - - -BEGIN_MESSAGE_MAP(CCardIDDlg, CDialog) -// ON_CBN_SELCHANGE(IDC_COMBO_CARDID, &CCardIDDlg::OnCbnSelchangeComboCardid) -ON_BN_CLICKED(IDOK, &CCardIDDlg::OnBnClickedOk) -//ON_WM_CTLCOLOR() -END_MESSAGE_MAP() - - -// CCardIDDlg message handlers - - -void CCardIDDlg::OnBnClickedOk() -{ - // TODO: Add your control notification handler code here - -// UpdateData(TRUE); - m_nCardIdx = m_cbCardID.GetCurSel(); - m_CardType = PCI_9810 + m_cbCardType.GetCurSel(); - - OnOK(); -} - -BOOL CCardIDDlg::OnInitDialog() -{ - CDialog::OnInitDialog(); - - // TODO: Add extra initialization here - m_cbCardID.SetCurSel( m_nCardIdx ); - - m_cbCardType.SetCurSel( 1 ); - m_CardType = PCI_9812; - - return TRUE; // return TRUE unless you set the focus to a control - // EXCEPTION: OCX Property Pages should return FALSE -} - -// the function to get the selected CardID -int CCardIDDlg::GetCardID(void) -{ - return m_nCardIdx; -} - -U16 CCardIDDlg::GetCardType(void) -{ - return m_CardType; -} diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812DelayTrg/CardIDDlg.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812DelayTrg/CardIDDlg.h deleted file mode 100644 index 23399df..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812DelayTrg/CardIDDlg.h +++ /dev/null @@ -1,35 +0,0 @@ -#pragma once -#include "afxwin.h" - -#include "Dask64.h" - -// CCardIDDlg dialog - -class CCardIDDlg : public CDialog -{ - DECLARE_DYNAMIC(CCardIDDlg) - -public: - CCardIDDlg(int nCardIdx, CWnd* pParent = NULL); // standard constructor - virtual ~CCardIDDlg(); - -// Dialog Data - enum { IDD = IDD_CARDID_DIALOG }; - -protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - - DECLARE_MESSAGE_MAP() -public: - virtual BOOL OnInitDialog(); - afx_msg void OnBnClickedOk(); - // the setting of CardID ComboBox - int m_nCardIdx; - U16 m_CardType; - // the control of CardID ComboBox - CComboBox m_cbCardID; - CComboBox m_cbCardType; - // the function to get the selected CardID - int GetCardID(void); - U16 GetCardType(void); -}; diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812DelayTrg/ReadMe.txt b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812DelayTrg/ReadMe.txt deleted file mode 100644 index 0c873f9..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812DelayTrg/ReadMe.txt +++ /dev/null @@ -1,93 +0,0 @@ -================================================================================ - MICROSOFT FOUNDATION CLASS LIBRARY : 9812SDtg Project Overview -=============================================================================== - -The application wizard has created this 9812SDtg application for -you. This application not only demonstrates the basics of using the Microsoft -Foundation Classes but is also a starting point for writing your application. - -This file contains a summary of what you will find in each of the files that -make up your 9812SDtg application. - -9812SDtg.vcproj - This is the main project file for VC++ projects generated using an application wizard. - It contains information about the version of Visual C++ that generated the file, and - information about the platforms, configurations, and project features selected with the - application wizard. - -9812SDtg.h - This is the main header file for the application. It includes other - project specific headers (including Resource.h) and declares the - C9812SDtgApp application class. - -9812SDtg.cpp - This is the main application source file that contains the application - class C9812SDtgApp. - -9812SDtg.rc - This is a listing of all of the Microsoft Windows resources that the - program uses. It includes the icons, bitmaps, and cursors that are stored - in the RES subdirectory. This file can be directly edited in Microsoft - Visual C++. Your project resources are in 1033. - -res\9812SDtg.ico - This is an icon file, which is used as the application's icon. This - icon is included by the main resource file 9812SDtg.rc. - -res\My9812SDtg.rc2 - This file contains resources that are not edited by Microsoft - Visual C++. You should place all resources not editable by - the resource editor in this file. - - -///////////////////////////////////////////////////////////////////////////// - -The application wizard creates one dialog class: - -9812SDtgDlg.h, 9812SDtgDlg.cpp - the dialog - These files contain your C9812SDtgDlg class. This class defines - the behavior of your application's main dialog. The dialog's template is - in 9812SDtg.rc, which can be edited in Microsoft Visual C++. - - -///////////////////////////////////////////////////////////////////////////// - -Other Features: - -ActiveX Controls - The application includes support to use ActiveX controls. - -///////////////////////////////////////////////////////////////////////////// - -Other standard files: - -StdAfx.h, StdAfx.cpp - These files are used to build a precompiled header (PCH) file - named 9812SDtg.pch and a precompiled types file named StdAfx.obj. - -Resource.h - This is the standard header file, which defines new resource IDs. - Microsoft Visual C++ reads and updates this file. - -9812SDtg.manifest - Application manifest files are used by Windows XP to describe an applications - dependency on specific versions of Side-by-Side assemblies. The loader uses this - information to load the appropriate assembly from the assembly cache or private - from the application. The Application manifest maybe included for redistribution - as an external .manifest file that is installed in the same folder as the application - executable or it may be included in the executable in the form of a resource. -///////////////////////////////////////////////////////////////////////////// - -Other notes: - -The application wizard uses "TODO:" to indicate parts of the source code you -should add to or customize. - -If your application uses MFC in a shared DLL, you will need -to redistribute the MFC DLLs. If your application is in a language -other than the operating system's locale, you will also have to -redistribute the corresponding localized resources MFC90XXX.DLL. -For more information on both of these topics, please see the section on -redistributing Visual C++ applications in MSDN documentation. - -///////////////////////////////////////////////////////////////////////////// diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812DelayTrg/res/9812SDtg.ico b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812DelayTrg/res/9812SDtg.ico deleted file mode 100644 index d56fbcd..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812DelayTrg/res/9812SDtg.ico and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812DelayTrg/res/My9812SDtg.rc2 b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812DelayTrg/res/My9812SDtg.rc2 deleted file mode 100644 index 383cde2..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812DelayTrg/res/My9812SDtg.rc2 +++ /dev/null @@ -1,13 +0,0 @@ -// -// My9111int.RC2 - resources Microsoft Visual C++ does not edit directly -// - -#ifdef APSTUDIO_INVOKED -#error this file is not editable by Microsoft Visual C++ -#endif //APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// Add manually edited resources here... - -///////////////////////////////////////////////////////////////////////////// diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812DelayTrg/res/ch_set1.bmp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812DelayTrg/res/ch_set1.bmp deleted file mode 100644 index f2374ed..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812DelayTrg/res/ch_set1.bmp and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812DelayTrg/res/ch_set2.bmp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812DelayTrg/res/ch_set2.bmp deleted file mode 100644 index 32d0915..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812DelayTrg/res/ch_set2.bmp and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812DelayTrg/resource.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812DelayTrg/resource.h deleted file mode 100644 index b62e7ee..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812DelayTrg/resource.h +++ /dev/null @@ -1,37 +0,0 @@ -//{{NO_DEPENDENCIES}} -// Microsoft Visual C++ generated include file. -// Used by 9812SDtg.rc -// -#define IDM_ABOUTBOX 0x0010 -#define IDD_ABOUTBOX 100 -#define IDS_ABOUTBOX 101 -#define IDD_9812DMA_DIALOG 102 -#define IDR_MAINFRAME 128 -#define IDD_CARDID_DIALOG 129 -#define IDB_BITMAP_SET1 131 -#define IDB_BITMAP_SET2 132 -#define IDC_STATIC_DRAW 1000 -#define IDC_COMBO_CARDID 1001 -#define IDC_BT_START 1002 -#define IDC_COMBO_CARDTYPE 1002 -#define IDC_EDIT_SAMPLE_RATE 1003 -#define IDC_SCROLLBAR_RATE 1004 -#define IDC_RADIO_CH0 1005 -#define IDC_STATIC_01 1006 -#define IDC_EDIT_BUF_SIZE 1007 -#define IDC_STATIC_2 1008 -#define IDC_BT_STOP 1009 -#define IDC_EDIT_BUF_SIZE2 1010 -#define IDC_EDIT_TRACE_CNT 1011 -#define IDC_STATIC_TRACE_CNT 1012 - -// Next default values for new objects -// -#ifdef APSTUDIO_INVOKED -#ifndef APSTUDIO_READONLY_SYMBOLS -#define _APS_NEXT_RESOURCE_VALUE 134 -#define _APS_NEXT_COMMAND_VALUE 32771 -#define _APS_NEXT_CONTROL_VALUE 1013 -#define _APS_NEXT_SYMED_VALUE 103 -#endif -#endif diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812DelayTrg/stdafx.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812DelayTrg/stdafx.cpp deleted file mode 100644 index ef80626..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812DelayTrg/stdafx.cpp +++ /dev/null @@ -1,8 +0,0 @@ - -// stdafx.cpp : source file that includes just the standard includes -// 9111int.pch will be the pre-compiled header -// stdafx.obj will contain the pre-compiled type information - -#include "stdafx.h" - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812DelayTrg/stdafx.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812DelayTrg/stdafx.h deleted file mode 100644 index 12123e2..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812DelayTrg/stdafx.h +++ /dev/null @@ -1,60 +0,0 @@ - -// stdafx.h : include file for standard system include files, -// or project specific include files that are used frequently, -// but are changed infrequently - -#pragma once - -#ifndef _SECURE_ATL -#define _SECURE_ATL 1 -#endif - -#ifndef VC_EXTRALEAN -#define VC_EXTRALEAN // Exclude rarely-used stuff from Windows headers -#endif - -#include "targetver.h" - -#define _ATL_CSTRING_EXPLICIT_CONSTRUCTORS // some CString constructors will be explicit - -// turns off MFC's hiding of some common and often safely ignored warning messages -#define _AFX_ALL_WARNINGS - -#include // MFC core and standard components -#include // MFC extensions - - -#include // MFC Automation classes - - - -#ifndef _AFX_NO_OLE_SUPPORT -#include // MFC support for Internet Explorer 4 Common Controls -#endif -#ifndef _AFX_NO_AFXCMN_SUPPORT -#include // MFC support for Windows Common Controls -#endif // _AFX_NO_AFXCMN_SUPPORT - -#include // MFC support for ribbons and control bars - - - - - - - - - -#ifdef _UNICODE -#if defined _M_IX86 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='x86' publicKeyToken='6595b64144ccf1df' language='*'\"") -#elif defined _M_IA64 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='ia64' publicKeyToken='6595b64144ccf1df' language='*'\"") -#elif defined _M_X64 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='amd64' publicKeyToken='6595b64144ccf1df' language='*'\"") -#else -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='*' publicKeyToken='6595b64144ccf1df' language='*'\"") -#endif -#endif - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812DelayTrg/targetver.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812DelayTrg/targetver.h deleted file mode 100644 index 11730d5..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812DelayTrg/targetver.h +++ /dev/null @@ -1,26 +0,0 @@ - -#pragma once - -// The following macros define the minimum required platform. The minimum required platform -// is the earliest version of Windows, Internet Explorer etc. that has the necessary features to run -// your application. The macros work by enabling all features available on platform versions up to and -// including the version specified. - -// Modify the following defines if you have to target a platform prior to the ones specified below. -// Refer to MSDN for the latest info on corresponding values for different platforms. -#ifndef WINVER // Specifies that the minimum required platform is Windows Vista. -#define WINVER 0x0600 // Change this to the appropriate value to target other versions of Windows. -#endif - -#ifndef _WIN32_WINNT // Specifies that the minimum required platform is Windows Vista. -#define _WIN32_WINNT 0x0600 // Change this to the appropriate value to target other versions of Windows. -#endif - -#ifndef _WIN32_WINDOWS // Specifies that the minimum required platform is Windows 98. -#define _WIN32_WINDOWS 0x0410 // Change this to the appropriate value to target Windows Me or later. -#endif - -#ifndef _WIN32_IE // Specifies that the minimum required platform is Internet Explorer 7.0. -#define _WIN32_IE 0x0700 // Change this to the appropriate value to target other versions of IE. -#endif - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812MidTrg/9111int.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812MidTrg/9111int.suo deleted file mode 100644 index 8a4412a..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812MidTrg/9111int.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812MidTrg/9118SPtg.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812MidTrg/9118SPtg.suo deleted file mode 100644 index aec9d88..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812MidTrg/9118SPtg.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812MidTrg/9812SMTg.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812MidTrg/9812SMTg.cpp deleted file mode 100644 index fd7df55..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812MidTrg/9812SMTg.cpp +++ /dev/null @@ -1,111 +0,0 @@ - -// 9812SMTg.cpp : Defines the class behaviors for the application. -// - -#include "stdafx.h" -#include "9812SMTg.h" -#include "9812SMTgDlg.h" -#include "CardIDDlg.h" - -#ifdef _DEBUG -#define new DEBUG_NEW -#endif - - -// C9812SMTgApp - -BEGIN_MESSAGE_MAP(C9812SMTgApp, CWinAppEx) - ON_COMMAND(ID_HELP, &CWinApp::OnHelp) -END_MESSAGE_MAP() - - -// C9812SMTgApp construction - -C9812SMTgApp::C9812SMTgApp() -{ - // TODO: add construction code here, - // Place all significant initialization in InitInstance -} - - -// The one and only C9812SMTgApp object - -C9812SMTgApp theApp; - - -// C9812SMTgApp initialization - -BOOL C9812SMTgApp::InitInstance() -{ - int nCardID = 0; - I16 hCard; - U16 wCardType; - CString strTemp; - INT_PTR nResponse; - - // InitCommonControlsEx() is required on Windows XP if an application - // manifest specifies use of ComCtl32.dll version 6 or later to enable - // visual styles. Otherwise, any window creation will fail. - INITCOMMONCONTROLSEX InitCtrls; - InitCtrls.dwSize = sizeof(InitCtrls); - // Set this to include all the common control classes you want to use - // in your application. - InitCtrls.dwICC = ICC_WIN95_CLASSES; - InitCommonControlsEx(&InitCtrls); - - CWinAppEx::InitInstance(); - - AfxEnableControlContainer(); - - // Standard initialization - // If you are not using these features and wish to reduce the size - // of your final executable, you should remove from the following - // the specific initialization routines you do not need - // Change the registry key under which our settings are stored - // TODO: You should modify this string to be something appropriate - // such as the name of your company or organization - SetRegistryKey(_T("Local AppWizard-Generated Applications")); - - CCardIDDlg CardDlg( nCardID ); - - nResponse = CardDlg.DoModal(); - if (nResponse == IDOK) - { - nCardID = CardDlg.GetCardID(); - wCardType = CardDlg.GetCardType(); - - if ((hCard=Register_Card(wCardType, nCardID)) < 0) - { - strTemp.Format( TEXT("Register_Card Error = %d"), hCard); - AfxMessageBox( strTemp ); - } - else - { - C9812SMTgDlg dlg(hCard, wCardType); - m_pMainWnd = &dlg; - nResponse = dlg.DoModal(); - if (nResponse == IDOK) - { - // TODO: Place code here to handle when the dialog is - // dismissed with OK - } - else if (nResponse == IDCANCEL) - { - // TODO: Place code here to handle when the dialog is - // dismissed with Cancel - } - - if (hCard >= 0) Release_Card(hCard); - } - - } - else if (nResponse == IDCANCEL) - { - // TODO: Place code here to handle when the dialog is - // dismissed with Cancel - } - - // Since the dialog has been closed, return FALSE so that we exit the - // application, rather than start the application's message pump. - return FALSE; -} diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812MidTrg/9812SMTg.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812MidTrg/9812SMTg.h deleted file mode 100644 index fc9b5fb..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812MidTrg/9812SMTg.h +++ /dev/null @@ -1,32 +0,0 @@ - -// 9812SMTg.h : main header file for the PROJECT_NAME application -// - -#pragma once - -#ifndef __AFXWIN_H__ - #error "include 'stdafx.h' before including this file for PCH" -#endif - -#include "resource.h" // main symbols - - -// C9812SMTgApp: -// See 9812SMTg.cpp for the implementation of this class -// - -class C9812SMTgApp : public CWinAppEx -{ -public: - C9812SMTgApp(); - -// Overrides - public: - virtual BOOL InitInstance(); - -// Implementation - - DECLARE_MESSAGE_MAP() -}; - -extern C9812SMTgApp theApp; \ No newline at end of file diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812MidTrg/9812SMTg.rc b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812MidTrg/9812SMTg.rc deleted file mode 100644 index 0e86903..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812MidTrg/9812SMTg.rc +++ /dev/null @@ -1,302 +0,0 @@ -// Microsoft Visual C++ generated resource script. -// -#include "resource.h" - -#define APSTUDIO_READONLY_SYMBOLS -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 2 resource. -// -#ifndef APSTUDIO_INVOKED -#include "targetver.h" -#endif -#include "afxres.h" - -///////////////////////////////////////////////////////////////////////////// -#undef APSTUDIO_READONLY_SYMBOLS - -///////////////////////////////////////////////////////////////////////////// -// Chinese (Taiwan) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_CHT) -#ifdef _WIN32 -LANGUAGE LANG_CHINESE, SUBLANG_CHINESE_TRADITIONAL -#pragma code_page(950) -#endif //_WIN32 - -#ifdef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// TEXTINCLUDE -// - -1 TEXTINCLUDE -BEGIN - "resource.h\0" -END - -2 TEXTINCLUDE -BEGIN - "#ifndef APSTUDIO_INVOKED\r\n" - "#include ""targetver.h""\r\n" - "#endif\r\n" - "#include ""afxres.h""\r\n" - "\0" -END - -3 TEXTINCLUDE -BEGIN - "#define _AFX_NO_SPLITTER_RESOURCES\r\n" - "#define _AFX_NO_OLE_RESOURCES\r\n" - "#define _AFX_NO_TRACKER_RESOURCES\r\n" - "#define _AFX_NO_PROPERTY_RESOURCES\r\n" - "\r\n" - "#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)\r\n" - "LANGUAGE 9, 1\r\n" - "#pragma code_page(1252)\r\n" - "#include ""res\\My9812SMTg.rc2"" // non-Microsoft Visual C++ edited resources\r\n" - "#include ""afxres.rc"" // Standard components\r\n" - "#endif\r\n" - "\0" -END - -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// Icon -// - -// Icon with lowest ID value placed first to ensure application icon -// remains consistent on all systems. -IDR_MAINFRAME ICON "res\\9812SMTg.ico" -#endif // Chinese (Taiwan) resources -///////////////////////////////////////////////////////////////////////////// - - -///////////////////////////////////////////////////////////////////////////// -// English (U.S.) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -#ifdef _WIN32 -LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US -#pragma code_page(1252) -#endif //_WIN32 - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog -// - -IDD_ABOUTBOX DIALOGEX 0, 0, 170, 62 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "About 9812SMTg" -FONT 8, "MS Shell Dlg", 0, 0, 0x1 -BEGIN - ICON IDR_MAINFRAME,IDC_STATIC,14,14,21,20 - LTEXT "9812SMTg, Version 1.0",IDC_STATIC,42,14,114,8,SS_NOPREFIX - LTEXT "Copyright (C) 2010",IDC_STATIC,42,26,114,8 - DEFPUSHBUTTON "OK",IDOK,113,41,50,14,WS_GROUP -END - -IDD_9812DMA_DIALOG DIALOGEX 0, 0, 365, 232 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU -EXSTYLE WS_EX_APPWINDOW -CAPTION -"PCI-9812 Single Buffer DMA by Middle Trigger Mode (External Digital Trigger)" -FONT 8, "MS Shell Dlg", 0, 0, 0x1 -BEGIN - GROUPBOX "",IDC_STATIC_DRAW,45,9,248,161,NOT WS_VISIBLE - LTEXT "Range : +/- 1V",IDC_STATIC,299,129,52,15 - LTEXT "Buffer Size",IDC_STATIC,124,183,42,9 - EDITTEXT IDC_EDIT_SAMPLE_RATE,47,196,39,14,ES_AUTOHSCROLL | ES_READONLY - LTEXT "Sample Rate :",IDC_STATIC,47,182,49,9 - LTEXT "KHz",IDC_STATIC,99,199,15,9 - SCROLLBAR IDC_SCROLLBAR_RATE,87,196,9,11,SBS_VERT - PUSHBUTTON "Start",IDC_BT_START,230,188,55,22 - CONTROL "1",IDC_RADIO_CH0,"Button",BS_AUTORADIOBUTTON | BS_LEFTTEXT,307,20,16,12 - EDITTEXT IDC_EDIT_BUF_SIZE,122,196,46,14,ES_AUTOHSCROLL - PUSHBUTTON "Stop",IDC_BT_STOP,291,188,55,22 - LTEXT "Post Count",IDC_STATIC_TRACE_CNT,181,182,42,9,NOT WS_VISIBLE - EDITTEXT IDC_EDIT_TRACE_CNT,179,195,46,14,ES_AUTOHSCROLL | NOT WS_VISIBLE -END - -IDD_CARDID_DIALOG DIALOGEX 0, 0, 174, 119 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "Card ID" -FONT 8, "MS Shell Dlg", 400, 0, 0x1 -BEGIN - COMBOBOX IDC_COMBO_CARDID,75,24,71,126,CBS_DROPDOWN | WS_VSCROLL | WS_TABSTOP - LTEXT "Card Number",IDC_STATIC_01,21,25,46,12 - PUSHBUTTON "OK",IDOK,22,84,58,19 - PUSHBUTTON "CANCEL",IDCANCEL,86,84,58,19 - COMBOBOX IDC_COMBO_CARDTYPE,75,46,71,126,CBS_DROPDOWN | WS_VSCROLL | WS_TABSTOP - LTEXT "Card Type",IDC_STATIC_2,29,47,37,12 -END - - -///////////////////////////////////////////////////////////////////////////// -// -// Version -// - -VS_VERSION_INFO VERSIONINFO - FILEVERSION 1,0,0,1 - PRODUCTVERSION 1,0,0,1 - FILEFLAGSMASK 0x3fL -#ifdef _DEBUG - FILEFLAGS 0x1L -#else - FILEFLAGS 0x0L -#endif - FILEOS 0x4L - FILETYPE 0x1L - FILESUBTYPE 0x0L -BEGIN - BLOCK "StringFileInfo" - BEGIN - BLOCK "040904e4" - BEGIN - VALUE "CompanyName", "TODO: " - VALUE "FileDescription", "TODO: " - VALUE "FileVersion", "1.0.0.1" - VALUE "InternalName", "9812SMTg.exe" - VALUE "LegalCopyright", "TODO: (c) . All rights reserved." - VALUE "OriginalFilename", "9812SMTg.exe" - VALUE "ProductName", "TODO: " - VALUE "ProductVersion", "1.0.0.1" - END - END - BLOCK "VarFileInfo" - BEGIN - VALUE "Translation", 0x409, 1252 - END -END - - -///////////////////////////////////////////////////////////////////////////// -// -// DESIGNINFO -// - -#ifdef APSTUDIO_INVOKED -GUIDELINES DESIGNINFO -BEGIN - IDD_ABOUTBOX, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 163 - TOPMARGIN, 7 - BOTTOMMARGIN, 55 - END - - IDD_9812DMA_DIALOG, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 358 - TOPMARGIN, 7 - BOTTOMMARGIN, 225 - END - - IDD_CARDID_DIALOG, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 167 - TOPMARGIN, 7 - BOTTOMMARGIN, 112 - END -END -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog Info -// - -IDD_CARDID_DIALOG DLGINIT -BEGIN - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0030, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0031, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0032, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0033, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0034, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0035, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0036, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0037, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0038, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0039, - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3031, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3131, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3231, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3331, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3431, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3531, "\000" - IDC_COMBO_CARDTYPE, 0x403, 9, 0 -0x4350, 0x5f49, 0x3839, 0x3031, "\000" - IDC_COMBO_CARDTYPE, 0x403, 9, 0 -0x4350, 0x5f49, 0x3839, 0x3231, "\000" - 0 -END - - -///////////////////////////////////////////////////////////////////////////// -// -// Bitmap -// - -IDB_BITMAP_SET1 BITMAP "res\\ch_set1.bmp" -IDB_BITMAP_SET2 BITMAP "res\\ch_set2.bmp" - -///////////////////////////////////////////////////////////////////////////// -// -// String Table -// - -STRINGTABLE -BEGIN - IDS_ABOUTBOX "&About 9812SMTg..." -END - -#endif // English (U.S.) resources -///////////////////////////////////////////////////////////////////////////// - - - -#ifndef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 3 resource. -// -#define _AFX_NO_SPLITTER_RESOURCES -#define _AFX_NO_OLE_RESOURCES -#define _AFX_NO_TRACKER_RESOURCES -#define _AFX_NO_PROPERTY_RESOURCES - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -LANGUAGE 9, 1 -#pragma code_page(1252) -#include "res\My9812SMTg.rc2" // non-Microsoft Visual C++ edited resources -#include "afxres.rc" // Standard components -#endif - -///////////////////////////////////////////////////////////////////////////// -#endif // not APSTUDIO_INVOKED - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812MidTrg/9812SMTg.sln b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812MidTrg/9812SMTg.sln deleted file mode 100644 index f934b55..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812MidTrg/9812SMTg.sln +++ /dev/null @@ -1,20 +0,0 @@ - -Microsoft Visual Studio Solution File, Format Version 10.00 -# Visual Studio 2008 -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "9812SMTg", "9812SMTg.vcproj", "{702163FB-B6DF-4EF5-9491-FC54D71509BC}" -EndProject -Global - GlobalSection(SolutionConfigurationPlatforms) = preSolution - Debug|x64 = Debug|x64 - Release|x64 = Release|x64 - EndGlobalSection - GlobalSection(ProjectConfigurationPlatforms) = postSolution - {702163FB-B6DF-4EF5-9491-FC54D71509BC}.Debug|x64.ActiveCfg = Debug|x64 - {702163FB-B6DF-4EF5-9491-FC54D71509BC}.Debug|x64.Build.0 = Debug|x64 - {702163FB-B6DF-4EF5-9491-FC54D71509BC}.Release|x64.ActiveCfg = Release|x64 - {702163FB-B6DF-4EF5-9491-FC54D71509BC}.Release|x64.Build.0 = Release|x64 - EndGlobalSection - GlobalSection(SolutionProperties) = preSolution - HideSolutionNode = FALSE - EndGlobalSection -EndGlobal diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812MidTrg/9812SMTg.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812MidTrg/9812SMTg.suo deleted file mode 100644 index f3556b2..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812MidTrg/9812SMTg.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812MidTrg/9812SMTg.vcproj b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812MidTrg/9812SMTg.vcproj deleted file mode 100644 index 392558d..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812MidTrg/9812SMTg.vcproj +++ /dev/null @@ -1,294 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812MidTrg/9812SMTgDlg.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812MidTrg/9812SMTgDlg.cpp deleted file mode 100644 index 664a508..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812MidTrg/9812SMTgDlg.cpp +++ /dev/null @@ -1,507 +0,0 @@ - -// 9812SMTgDlg.cpp : implementation file -// - -#include "stdafx.h" -#include "9812SMTg.h" -#include "9812SMTgDlg.h" - -#ifdef _DEBUG -#define new DEBUG_NEW -#endif - -CRect plotRect; - -// CAboutDlg dialog used for App About - -class CAboutDlg : public CDialog -{ -public: - CAboutDlg(); - -// Dialog Data - enum { IDD = IDD_ABOUTBOX }; - - protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - -// Implementation -protected: - DECLARE_MESSAGE_MAP() -}; - -CAboutDlg::CAboutDlg() : CDialog(CAboutDlg::IDD) -{ -} - -void CAboutDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); -} - -BEGIN_MESSAGE_MAP(CAboutDlg, CDialog) -END_MESSAGE_MAP() - - -// C9812SMTgDlg dialog - - - - -C9812SMTgDlg::C9812SMTgDlg(I16 hCard, U16 wCardType, CWnd* pParent /*=NULL*/) - : CDialog(C9812SMTgDlg::IDD, pParent) -{ - m_hIcon = AfxGetApp()->LoadIcon(IDR_MAINFRAME); - - n_PlotWidth = n_PlotHeight = -1; - OnBrush = OffBrush = NULL; - - min_val = 0x00; - max_val = 0x0FFF; - - m_fSampleRate = 1000000.0; // 1MHz - - m_hCard = hCard; - - m_wScanChans = 0; - m_nTimer = -1; - m_hMem=NULL; - - m_dwReadCount = 1024; - m_wTraceCount = 1024; - - m_wRange = AD_B_1_V; - - m_wCardType = wCardType; -} - -void C9812SMTgDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); -} - -BEGIN_MESSAGE_MAP(C9812SMTgDlg, CDialog) - ON_WM_SYSCOMMAND() - ON_WM_PAINT() - ON_WM_QUERYDRAGICON() - //}}AFX_MSG_MAP - ON_WM_DESTROY() - ON_WM_VSCROLL() - ON_BN_CLICKED(IDC_BT_START, &C9812SMTgDlg::OnStart) - ON_WM_TIMER() - ON_BN_CLICKED(IDC_BT_STOP, &C9812SMTgDlg::OnStop) -END_MESSAGE_MAP() - - -// C9812SMTgDlg message handlers - -BOOL C9812SMTgDlg::OnInitDialog() -{ - CDialog::OnInitDialog(); - - // Add "About..." menu item to system menu. - - // IDM_ABOUTBOX must be in the system command range. - ASSERT((IDM_ABOUTBOX & 0xFFF0) == IDM_ABOUTBOX); - ASSERT(IDM_ABOUTBOX < 0xF000); - - CMenu* pSysMenu = GetSystemMenu(FALSE); - if (pSysMenu != NULL) - { - BOOL bNameValid; - CString strAboutMenu; - bNameValid = strAboutMenu.LoadString(IDS_ABOUTBOX); - ASSERT(bNameValid); - if (!strAboutMenu.IsEmpty()) - { - pSysMenu->AppendMenu(MF_SEPARATOR); - pSysMenu->AppendMenu(MF_STRING, IDM_ABOUTBOX, strAboutMenu); - } - } - - // Set the icon for this dialog. The framework does this automatically - // when the application's main window is not a dialog - SetIcon(m_hIcon, TRUE); // Set big icon - SetIcon(m_hIcon, FALSE); // Set small icon - - // TODO: Add extra initialization here - x_divider = 5; y_divider = 4; - - OnBrush = CreateSolidBrush( RGB(255,0,0) ); - OffBrush = CreateSolidBrush( RGB(125,0,0) ); - - RedPen.CreatePen( PS_SOLID, 1, RGB(255,0,0)); - - - if( n_PlotWidth == -1 && n_PlotHeight == -1 ) - { - ((CWnd*)GetDlgItem(IDC_STATIC_DRAW))->GetWindowRect(&plotRect); - ScreenToClient(&plotRect); - - n_PlotWidth = min( plotRect.Width(), 512); - n_PlotHeight = plotRect.Height() - 10; - } - - GetDlgItem( IDC_STATIC_TRACE_CNT )->ShowWindow(TRUE); - GetDlgItem( IDC_EDIT_TRACE_CNT )->ShowWindow(TRUE); - - SetDlgItemInt( IDC_EDIT_TRACE_CNT, (UINT)m_wTraceCount ); - - - // set the default SampleRate - SetDlgItemInt( IDC_EDIT_SAMPLE_RATE, (UINT)(m_fSampleRate/1000) ); - SetDlgItemInt( IDC_EDIT_BUF_SIZE, (UINT)(m_dwReadCount) ); - ((CButton*)GetDlgItem( IDC_RADIO_CH0 ))->SetCheck( TRUE ); - - max_range = 1.0; - min_range = -1.0; - - return TRUE; // return TRUE unless you set the focus to a control -} - -void C9812SMTgDlg::OnSysCommand(UINT nID, LPARAM lParam) -{ - if ((nID & 0xFFF0) == IDM_ABOUTBOX) - { - CAboutDlg dlgAbout; - dlgAbout.DoModal(); - } - else - { - CDialog::OnSysCommand(nID, lParam); - } -} - -// If you add a minimize button to your dialog, you will need the code below -// to draw the icon. For MFC applications using the document/view model, -// this is automatically done for you by the framework. - -void C9812SMTgDlg::OnPaint() -{ - if (IsIconic()) - { - CPaintDC dc(this); // device context for painting - - SendMessage(WM_ICONERASEBKGND, reinterpret_cast(dc.GetSafeHdc()), 0); - - // Center icon in client rectangle - int cxIcon = GetSystemMetrics(SM_CXICON); - int cyIcon = GetSystemMetrics(SM_CYICON); - CRect rect; - GetClientRect(&rect); - int x = (rect.Width() - cxIcon + 1) / 2; - int y = (rect.Height() - cyIcon + 1) / 2; - - // Draw the icon - dc.DrawIcon(x, y, m_hIcon); - } - else - { - redraw_display_area(); - CDialog::OnPaint(); - } -} - -// The system calls this function to obtain the cursor to display while the user drags -// the minimized window. -HCURSOR C9812SMTgDlg::OnQueryDragIcon() -{ - return static_cast(m_hIcon); -} - - -void C9812SMTgDlg::redraw_display_area(void) -{ - CPen *oldPen; - - int oldMode; - COLORREF oldColor; - - CString y_lable; - - CPen minor_tick( PS_SOLID,1,RGB(132,130,132) ); -// CPen y_grid( PS_SOLID,1,RGB(206,203,132) ); - - int i, x_intv, y_intv; -// long total_sec; - - CClientDC dc_plot(this); - - // draw the base-line for x-y axises - oldPen = (CPen *)dc_plot.SelectStockObject(BLACK_PEN); - - // redraw the background - dc_plot.FillSolidRect( plotRect, RGB(0,0,0) ); - - // Re-Draw the AREA for Y-Lable - { - CBrush DIALOG_BRUSH; - CRect redraw_area, full_client; - - GetClientRect(&full_client); - ScreenToClient(&full_client); - - redraw_area.left = full_client.left; - redraw_area.top = plotRect.top - 5; - redraw_area.right = plotRect.left - 3; - redraw_area.bottom = plotRect.bottom + 10; - - DIALOG_BRUSH.CreateSysColorBrush( COLOR_3DFACE ); - - dc_plot.FillRect( redraw_area, &DIALOG_BRUSH ); - - DIALOG_BRUSH.DeleteObject(); - } - - dc_plot.MoveTo( plotRect.left - 3, plotRect.top ); - dc_plot.LineTo( plotRect.left - 3, plotRect.bottom ); - - // calculate the interval for tick/grid - y_intv = (plotRect.Height() - 10) /y_divider; - x_intv = plotRect.Width()/x_divider; - - - // set the color for tick - oldColor = dc_plot.SetTextColor( RGB(0,0,0) ); - oldMode = dc_plot.SetBkMode( TRANSPARENT ); - - for( i=0; i<= y_divider; i++ ) - { - CString tick_str; - CRect tmp_rect, tick_rect; - - // draw the tick for y-axis - dc_plot.MoveTo( plotRect.left -12, plotRect.bottom -5 - (i*y_intv) ); - dc_plot.LineTo( plotRect.left -3, plotRect.bottom -5 - (i*y_intv) ); - - tick_str.Format( _T("%.1f"), ( ((max_range-min_range)/y_divider) * i)+min_range ); - - // calculate the rectangle for text - dc_plot.DrawText( tick_str, &tmp_rect, DT_CALCRECT|DT_SINGLELINE ); - tick_rect.right = plotRect.left -14; - tick_rect.left = tick_rect.right - tmp_rect.Width(); - tick_rect.top = plotRect.bottom -5 - (i*y_intv) - tmp_rect.Height()/2; - tick_rect.bottom = tick_rect.top + tmp_rect.Height(); - - // draw the text - dc_plot.DrawText( tick_str, &tick_rect, DT_SINGLELINE|DT_RIGHT ); - - } - - // draw the minor_tick for Y axises - dc_plot.SelectObject(&minor_tick); - for( i=0; i< y_divider; i++ ) - { - dc_plot.MoveTo( plotRect.left -9, plotRect.bottom -5 - (i*y_intv) - y_intv/2 ); - dc_plot.LineTo( plotRect.left -4, plotRect.bottom -5 - (i*y_intv) - y_intv/2 ); - } - - dc_plot.SetTextColor( oldColor ); - dc_plot.SetBkMode( oldMode ); - dc_plot.SelectObject( oldPen ); -} - -void C9812SMTgDlg::OnDestroy() -{ - CDialog::OnDestroy(); - - // TODO: Add your message handler code here - if( m_nTimer != -1 ) - { - KillTimer( m_nTimer ); - m_nTimer = -1; - } - - if (m_hMem != NULL) - { - GlobalUnfix(m_hMem); - GlobalUnlock(m_hMem); - GlobalFree(m_hMem); - - m_hMem = NULL; - } - - if( OnBrush != NULL ) - ::DeleteObject( OnBrush ); - - if( OffBrush != NULL ) - ::DeleteObject( OffBrush ); - - RedPen.DeleteObject(); - -} - -void C9812SMTgDlg::OnVScroll(UINT nSBCode, UINT nPos, CScrollBar* pScrollBar) -{ - // TODO: Add your message handler code here and/or call default - switch ( nSBCode ) - { - case SB_LINEUP : - m_fSampleRate += 100000.0; - if (m_fSampleRate > 20*1000000.0 ) m_fSampleRate = 20*1000000.0; - break; - case SB_LINEDOWN: - m_fSampleRate -= 100000.0; - if (m_fSampleRate < 5000.0 ) m_fSampleRate = 5000.0; - break; - } - - SetDlgItemInt( IDC_EDIT_SAMPLE_RATE, (UINT)(m_fSampleRate/1000) ); - - CDialog::OnVScroll(nSBCode, nPos, pScrollBar); -} - - -void C9812SMTgDlg::OnStop() -{ - // TODO: Add your control notification handler code here - U32 count; - - AI_AsyncClear(m_hCard, &count); - - if( m_nTimer != -1 ) - { - KillTimer( m_nTimer ); - m_nTimer = -1; - } - - GetDlgItem( IDC_BT_START )->EnableWindow(TRUE); -} - -void C9812SMTgDlg::OnStart() -{ - // TODO: Add your control notification handler code here - DWORD mem_size; - CString strTemp; - I16 err; - - GetDlgItem( IDC_BT_START )->EnableWindow(FALSE); - - m_dwReadCount = GetDlgItemInt(IDC_EDIT_BUF_SIZE); - m_wTraceCount = GetDlgItemInt(IDC_EDIT_TRACE_CNT); - - if (m_hMem != NULL) - { - GlobalUnfix(m_hMem); - GlobalUnlock(m_hMem); - GlobalFree(m_hMem); - - m_hMem = NULL; - } - - // allocate a memory for user DMA buffer - mem_size = m_dwReadCount * sizeof(I16); - m_hMem = GlobalAlloc(GMEM_ZEROINIT, mem_size); - m_pAIBuf = (U16*) GlobalLock(m_hMem); - if (m_pAIBuf == NULL ) - { - AfxMessageBox( TEXT("Memory allocation failed") ); - return; - } - - GlobalFix(m_hMem); - - err = AI_9812_Config(m_hCard, P9812_TRGMOD_MIDL, P9812_TRGSRC_EXT_DIG, P9812_TRGSLP_POS, P9812_AD2_GT_PCI|P9812_CLKSRC_INT, 0x80, m_wTraceCount); - if (err!=0) - { - strTemp.Format( TEXT("AI_9812_Config error=%d"), err); - AfxMessageBox( strTemp ); - } - - err=AI_AsyncDblBufferMode(m_hCard, 0); // single-buffer mode - if (err!=0) - { - strTemp.Format( TEXT("AI_DblBufferMode error=%d"), err); - AfxMessageBox( strTemp ); - } - - err=AI_ContReadChannel (m_hCard, 0, m_wRange, (U16*)m_pAIBuf, m_dwReadCount, (F64)m_fSampleRate, ASYNCH_OP); - if (err!=0) - { - strTemp.Format( TEXT("AI_ContReadChannel error=%d"), err); - AfxMessageBox( strTemp ); - } - - m_nTimer = SetTimer( 1, 50, NULL ); - -} - -int C9812SMTgDlg::display_buffer_data(U16* pBuf, U32 dwDisplayCnt) -{ - CClientDC dc_plot(this); - int nDraw_Origin_Y; - int cur_channel; - - int newY = -1; - int newX = -1; - U32 index; - I16 ai_data; - - // redraw the background - dc_plot.FillSolidRect( plotRect, RGB(0,0,0) ); - - dc_plot.SelectObject(&RedPen); - nDraw_Origin_Y = ( plotRect.bottom - 5 ) - n_PlotHeight/2; - - for( index=0; index> 4; - newY = (int)( nDraw_Origin_Y - ((n_PlotHeight * ai_data) >> 12 ) ); // (n_PlotHeight * ai_data / 4096 ) ); // ( (n_PlotHeight/2) * ai_data/2048 ) ); - } - else // PCI_9810 - { - cur_channel = index%(m_wScanChans+1); - ai_data = (I16)(pBuf[index]) >> 6; - newY = (int)( nDraw_Origin_Y - ((n_PlotHeight * ai_data) >> 10 ) ); // (n_PlotHeight * ai_data / 1024 ) ); // ( (n_PlotHeight/2) * ai_data/512 ) ); - } - - newX = (int)( index*n_PlotWidth/m_dwReadCount + plotRect.left ); - - if ( index == 0 ) - { - dc_plot.MoveTo( newX, newY ); - } - else - { - dc_plot.MoveTo( m_oldX, m_oldY ); - dc_plot.LineTo( newX, newY ); - } - - m_oldX = newX; - m_oldY = newY; - } - - return 0; -} - -void C9812SMTgDlg::OnTimer(UINT_PTR nIDEvent) -{ - // TODO: Add your message handler code here and/or call default - BOOLEAN fstop; - U32 count; - - AI_AsyncCheck(m_hCard, &fstop, &count); - - if( fstop == TRUE ) - { - AI_AsyncClear(m_hCard, &count); - - KillTimer( m_nTimer ); - m_nTimer = -1; - - display_buffer_data( m_pAIBuf, count ); - - GetDlgItem( IDC_BT_START )->EnableWindow(TRUE); - } - - CDialog::OnTimer(nIDEvent); -} - - - - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812MidTrg/9812SMTgDlg.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812MidTrg/9812SMTgDlg.h deleted file mode 100644 index 6b332f0..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812MidTrg/9812SMTgDlg.h +++ /dev/null @@ -1,66 +0,0 @@ - -// 9812SMTgDlg.h : header file -#pragma once -#include "afxcmn.h" -#include "afxwin.h" - -#include "Dask64.h" - -// C9812SMTgDlg dialog -class C9812SMTgDlg : public CDialog -{ -// Construction -public: - C9812SMTgDlg(I16 hCard, U16 wCardType, CWnd* pParent = NULL); // standard constructor - -// Dialog Data - enum { IDD = IDD_9812DMA_DIALOG }; - - protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - - -// Implementation -protected: - HICON m_hIcon; - UINT_PTR m_nTimer; - I16 m_hCard; - U16 m_wCardType; - double m_fSampleRate; - U16 m_wScanChans; - HANDLE m_hMem; - U16 *m_pAIBuf; - U16 m_wRange; - int m_oldY; - int m_oldX; - U32 m_dwReadCount; - U16 m_wTraceCount; - - // Generated message map functions - virtual BOOL OnInitDialog(); - afx_msg void OnSysCommand(UINT nID, LPARAM lParam); - afx_msg void OnPaint(); - afx_msg HCURSOR OnQueryDragIcon(); - DECLARE_MESSAGE_MAP() - -public: - WORD max_val; - WORD min_val; - double max_range; - double min_range; - int n_PlotWidth; - int n_PlotHeight; - int y_divider; - int x_divider; - int m_DisplayScale; - HBRUSH OnBrush; - HBRUSH OffBrush; - CPen RedPen; - void redraw_display_area(void); - afx_msg void OnDestroy(); - afx_msg void OnVScroll(UINT nSBCode, UINT nPos, CScrollBar* pScrollBar); - afx_msg void OnStart(); - int display_buffer_data(U16* pBuf, U32 DisplayCnt); - afx_msg void OnTimer(UINT_PTR nIDEvent); - afx_msg void OnStop(); -}; diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812MidTrg/9812SPtg.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812MidTrg/9812SPtg.suo deleted file mode 100644 index 2cacd54..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812MidTrg/9812SPtg.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812MidTrg/CardIDDlg.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812MidTrg/CardIDDlg.cpp deleted file mode 100644 index 2fd7c74..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812MidTrg/CardIDDlg.cpp +++ /dev/null @@ -1,74 +0,0 @@ -// CardIDDlg.cpp : implementation file -// -#include "stdafx.h" -#include "9812SMTg.h" -#include "9812SMTgDlg.h" -#include "CardIDDlg.h" - -// CCardIDDlg dialog - -IMPLEMENT_DYNAMIC(CCardIDDlg, CDialog) - -CCardIDDlg::CCardIDDlg(int nCardIdx, CWnd* pParent /*=NULL*/) - : CDialog(CCardIDDlg::IDD, pParent) -{ - m_nCardIdx = nCardIdx; -} - -CCardIDDlg::~CCardIDDlg() -{ -} - -void CCardIDDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); - DDX_Control(pDX, IDC_COMBO_CARDID, m_cbCardID); - DDX_Control(pDX, IDC_COMBO_CARDTYPE, m_cbCardType); -} - - -BEGIN_MESSAGE_MAP(CCardIDDlg, CDialog) -// ON_CBN_SELCHANGE(IDC_COMBO_CARDID, &CCardIDDlg::OnCbnSelchangeComboCardid) -ON_BN_CLICKED(IDOK, &CCardIDDlg::OnBnClickedOk) -//ON_WM_CTLCOLOR() -END_MESSAGE_MAP() - - -// CCardIDDlg message handlers - - -void CCardIDDlg::OnBnClickedOk() -{ - // TODO: Add your control notification handler code here - -// UpdateData(TRUE); - m_nCardIdx = m_cbCardID.GetCurSel(); - m_CardType = PCI_9810 + m_cbCardType.GetCurSel(); - - OnOK(); -} - -BOOL CCardIDDlg::OnInitDialog() -{ - CDialog::OnInitDialog(); - - // TODO: Add extra initialization here - m_cbCardID.SetCurSel( m_nCardIdx ); - - m_cbCardType.SetCurSel( 1 ); - m_CardType = PCI_9812; - - return TRUE; // return TRUE unless you set the focus to a control - // EXCEPTION: OCX Property Pages should return FALSE -} - -// the function to get the selected CardID -int CCardIDDlg::GetCardID(void) -{ - return m_nCardIdx; -} - -U16 CCardIDDlg::GetCardType(void) -{ - return m_CardType; -} diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812MidTrg/CardIDDlg.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812MidTrg/CardIDDlg.h deleted file mode 100644 index 23399df..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812MidTrg/CardIDDlg.h +++ /dev/null @@ -1,35 +0,0 @@ -#pragma once -#include "afxwin.h" - -#include "Dask64.h" - -// CCardIDDlg dialog - -class CCardIDDlg : public CDialog -{ - DECLARE_DYNAMIC(CCardIDDlg) - -public: - CCardIDDlg(int nCardIdx, CWnd* pParent = NULL); // standard constructor - virtual ~CCardIDDlg(); - -// Dialog Data - enum { IDD = IDD_CARDID_DIALOG }; - -protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - - DECLARE_MESSAGE_MAP() -public: - virtual BOOL OnInitDialog(); - afx_msg void OnBnClickedOk(); - // the setting of CardID ComboBox - int m_nCardIdx; - U16 m_CardType; - // the control of CardID ComboBox - CComboBox m_cbCardID; - CComboBox m_cbCardType; - // the function to get the selected CardID - int GetCardID(void); - U16 GetCardType(void); -}; diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812MidTrg/ReadMe.txt b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812MidTrg/ReadMe.txt deleted file mode 100644 index 79a4639..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812MidTrg/ReadMe.txt +++ /dev/null @@ -1,93 +0,0 @@ -================================================================================ - MICROSOFT FOUNDATION CLASS LIBRARY : 9812SMTg Project Overview -=============================================================================== - -The application wizard has created this 9812SMTg application for -you. This application not only demonstrates the basics of using the Microsoft -Foundation Classes but is also a starting point for writing your application. - -This file contains a summary of what you will find in each of the files that -make up your 9812SMTg application. - -9812SMTg.vcproj - This is the main project file for VC++ projects generated using an application wizard. - It contains information about the version of Visual C++ that generated the file, and - information about the platforms, configurations, and project features selected with the - application wizard. - -9812SMTg.h - This is the main header file for the application. It includes other - project specific headers (including Resource.h) and declares the - C9812SMTgApp application class. - -9812SMTg.cpp - This is the main application source file that contains the application - class C9812SMTgApp. - -9812SMTg.rc - This is a listing of all of the Microsoft Windows resources that the - program uses. It includes the icons, bitmaps, and cursors that are stored - in the RES subdirectory. This file can be directly edited in Microsoft - Visual C++. Your project resources are in 1033. - -res\9812SMTg.ico - This is an icon file, which is used as the application's icon. This - icon is included by the main resource file 9812SMTg.rc. - -res\My9812SMTg.rc2 - This file contains resources that are not edited by Microsoft - Visual C++. You should place all resources not editable by - the resource editor in this file. - - -///////////////////////////////////////////////////////////////////////////// - -The application wizard creates one dialog class: - -9812SMTgDlg.h, 9812SMTgDlg.cpp - the dialog - These files contain your C9812SMTgDlg class. This class defines - the behavior of your application's main dialog. The dialog's template is - in 9812SMTg.rc, which can be edited in Microsoft Visual C++. - - -///////////////////////////////////////////////////////////////////////////// - -Other Features: - -ActiveX Controls - The application includes support to use ActiveX controls. - -///////////////////////////////////////////////////////////////////////////// - -Other standard files: - -StdAfx.h, StdAfx.cpp - These files are used to build a precompiled header (PCH) file - named 9812SMTg.pch and a precompiled types file named StdAfx.obj. - -Resource.h - This is the standard header file, which defines new resource IDs. - Microsoft Visual C++ reads and updates this file. - -9812SMTg.manifest - Application manifest files are used by Windows XP to describe an applications - dependency on specific versions of Side-by-Side assemblies. The loader uses this - information to load the appropriate assembly from the assembly cache or private - from the application. The Application manifest maybe included for redistribution - as an external .manifest file that is installed in the same folder as the application - executable or it may be included in the executable in the form of a resource. -///////////////////////////////////////////////////////////////////////////// - -Other notes: - -The application wizard uses "TODO:" to indicate parts of the source code you -should add to or customize. - -If your application uses MFC in a shared DLL, you will need -to redistribute the MFC DLLs. If your application is in a language -other than the operating system's locale, you will also have to -redistribute the corresponding localized resources MFC90XXX.DLL. -For more information on both of these topics, please see the section on -redistributing Visual C++ applications in MSDN documentation. - -///////////////////////////////////////////////////////////////////////////// diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812MidTrg/res/9812SMTg.ico b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812MidTrg/res/9812SMTg.ico deleted file mode 100644 index d56fbcd..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812MidTrg/res/9812SMTg.ico and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812MidTrg/res/My9812SMTg.rc2 b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812MidTrg/res/My9812SMTg.rc2 deleted file mode 100644 index 383cde2..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812MidTrg/res/My9812SMTg.rc2 +++ /dev/null @@ -1,13 +0,0 @@ -// -// My9111int.RC2 - resources Microsoft Visual C++ does not edit directly -// - -#ifdef APSTUDIO_INVOKED -#error this file is not editable by Microsoft Visual C++ -#endif //APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// Add manually edited resources here... - -///////////////////////////////////////////////////////////////////////////// diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812MidTrg/res/ch_set1.bmp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812MidTrg/res/ch_set1.bmp deleted file mode 100644 index f2374ed..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812MidTrg/res/ch_set1.bmp and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812MidTrg/res/ch_set2.bmp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812MidTrg/res/ch_set2.bmp deleted file mode 100644 index 32d0915..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812MidTrg/res/ch_set2.bmp and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812MidTrg/resource.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812MidTrg/resource.h deleted file mode 100644 index 4edcf31..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812MidTrg/resource.h +++ /dev/null @@ -1,37 +0,0 @@ -//{{NO_DEPENDENCIES}} -// Microsoft Visual C++ generated include file. -// Used by 9812SMTg.rc -// -#define IDM_ABOUTBOX 0x0010 -#define IDD_ABOUTBOX 100 -#define IDS_ABOUTBOX 101 -#define IDD_9812DMA_DIALOG 102 -#define IDR_MAINFRAME 128 -#define IDD_CARDID_DIALOG 129 -#define IDB_BITMAP_SET1 131 -#define IDB_BITMAP_SET2 132 -#define IDC_STATIC_DRAW 1000 -#define IDC_COMBO_CARDID 1001 -#define IDC_BT_START 1002 -#define IDC_COMBO_CARDTYPE 1002 -#define IDC_EDIT_SAMPLE_RATE 1003 -#define IDC_SCROLLBAR_RATE 1004 -#define IDC_RADIO_CH0 1005 -#define IDC_STATIC_01 1006 -#define IDC_EDIT_BUF_SIZE 1007 -#define IDC_STATIC_2 1009 -#define IDC_BT_STOP 1010 -#define IDC_EDIT_BUF_SIZE2 1011 -#define IDC_EDIT_TRACE_CNT 1012 -#define IDC_STATIC_TRACE_CNT 1013 - -// Next default values for new objects -// -#ifdef APSTUDIO_INVOKED -#ifndef APSTUDIO_READONLY_SYMBOLS -#define _APS_NEXT_RESOURCE_VALUE 134 -#define _APS_NEXT_COMMAND_VALUE 32771 -#define _APS_NEXT_CONTROL_VALUE 1014 -#define _APS_NEXT_SYMED_VALUE 103 -#endif -#endif diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812MidTrg/stdafx.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812MidTrg/stdafx.cpp deleted file mode 100644 index ef80626..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812MidTrg/stdafx.cpp +++ /dev/null @@ -1,8 +0,0 @@ - -// stdafx.cpp : source file that includes just the standard includes -// 9111int.pch will be the pre-compiled header -// stdafx.obj will contain the pre-compiled type information - -#include "stdafx.h" - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812MidTrg/stdafx.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812MidTrg/stdafx.h deleted file mode 100644 index 12123e2..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812MidTrg/stdafx.h +++ /dev/null @@ -1,60 +0,0 @@ - -// stdafx.h : include file for standard system include files, -// or project specific include files that are used frequently, -// but are changed infrequently - -#pragma once - -#ifndef _SECURE_ATL -#define _SECURE_ATL 1 -#endif - -#ifndef VC_EXTRALEAN -#define VC_EXTRALEAN // Exclude rarely-used stuff from Windows headers -#endif - -#include "targetver.h" - -#define _ATL_CSTRING_EXPLICIT_CONSTRUCTORS // some CString constructors will be explicit - -// turns off MFC's hiding of some common and often safely ignored warning messages -#define _AFX_ALL_WARNINGS - -#include // MFC core and standard components -#include // MFC extensions - - -#include // MFC Automation classes - - - -#ifndef _AFX_NO_OLE_SUPPORT -#include // MFC support for Internet Explorer 4 Common Controls -#endif -#ifndef _AFX_NO_AFXCMN_SUPPORT -#include // MFC support for Windows Common Controls -#endif // _AFX_NO_AFXCMN_SUPPORT - -#include // MFC support for ribbons and control bars - - - - - - - - - -#ifdef _UNICODE -#if defined _M_IX86 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='x86' publicKeyToken='6595b64144ccf1df' language='*'\"") -#elif defined _M_IA64 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='ia64' publicKeyToken='6595b64144ccf1df' language='*'\"") -#elif defined _M_X64 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='amd64' publicKeyToken='6595b64144ccf1df' language='*'\"") -#else -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='*' publicKeyToken='6595b64144ccf1df' language='*'\"") -#endif -#endif - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812MidTrg/targetver.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812MidTrg/targetver.h deleted file mode 100644 index 11730d5..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812MidTrg/targetver.h +++ /dev/null @@ -1,26 +0,0 @@ - -#pragma once - -// The following macros define the minimum required platform. The minimum required platform -// is the earliest version of Windows, Internet Explorer etc. that has the necessary features to run -// your application. The macros work by enabling all features available on platform versions up to and -// including the version specified. - -// Modify the following defines if you have to target a platform prior to the ones specified below. -// Refer to MSDN for the latest info on corresponding values for different platforms. -#ifndef WINVER // Specifies that the minimum required platform is Windows Vista. -#define WINVER 0x0600 // Change this to the appropriate value to target other versions of Windows. -#endif - -#ifndef _WIN32_WINNT // Specifies that the minimum required platform is Windows Vista. -#define _WIN32_WINNT 0x0600 // Change this to the appropriate value to target other versions of Windows. -#endif - -#ifndef _WIN32_WINDOWS // Specifies that the minimum required platform is Windows 98. -#define _WIN32_WINDOWS 0x0410 // Change this to the appropriate value to target Windows Me or later. -#endif - -#ifndef _WIN32_IE // Specifies that the minimum required platform is Internet Explorer 7.0. -#define _WIN32_IE 0x0700 // Change this to the appropriate value to target other versions of IE. -#endif - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812PostTrg/9111int.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812PostTrg/9111int.suo deleted file mode 100644 index 8a4412a..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812PostTrg/9111int.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812PostTrg/9118SPtg.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812PostTrg/9118SPtg.suo deleted file mode 100644 index aec9d88..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812PostTrg/9118SPtg.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812PostTrg/9812SPtg.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812PostTrg/9812SPtg.cpp deleted file mode 100644 index d4008cc..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812PostTrg/9812SPtg.cpp +++ /dev/null @@ -1,111 +0,0 @@ - -// 9812SPtg.cpp : Defines the class behaviors for the application. -// - -#include "stdafx.h" -#include "9812SPtg.h" -#include "9812SPtgDlg.h" -#include "CardIDDlg.h" - -#ifdef _DEBUG -#define new DEBUG_NEW -#endif - - -// C9812SPtgApp - -BEGIN_MESSAGE_MAP(C9812SPtgApp, CWinAppEx) - ON_COMMAND(ID_HELP, &CWinApp::OnHelp) -END_MESSAGE_MAP() - - -// C9812SPtgApp construction - -C9812SPtgApp::C9812SPtgApp() -{ - // TODO: add construction code here, - // Place all significant initialization in InitInstance -} - - -// The one and only C9812SPtgApp object - -C9812SPtgApp theApp; - - -// C9812SPtgApp initialization - -BOOL C9812SPtgApp::InitInstance() -{ - int nCardID = 0; - I16 hCard; - U16 wCardType; - CString strTemp; - INT_PTR nResponse; - - // InitCommonControlsEx() is required on Windows XP if an application - // manifest specifies use of ComCtl32.dll version 6 or later to enable - // visual styles. Otherwise, any window creation will fail. - INITCOMMONCONTROLSEX InitCtrls; - InitCtrls.dwSize = sizeof(InitCtrls); - // Set this to include all the common control classes you want to use - // in your application. - InitCtrls.dwICC = ICC_WIN95_CLASSES; - InitCommonControlsEx(&InitCtrls); - - CWinAppEx::InitInstance(); - - AfxEnableControlContainer(); - - // Standard initialization - // If you are not using these features and wish to reduce the size - // of your final executable, you should remove from the following - // the specific initialization routines you do not need - // Change the registry key under which our settings are stored - // TODO: You should modify this string to be something appropriate - // such as the name of your company or organization - SetRegistryKey(_T("Local AppWizard-Generated Applications")); - - CCardIDDlg CardDlg( nCardID ); - - nResponse = CardDlg.DoModal(); - if (nResponse == IDOK) - { - nCardID = CardDlg.GetCardID(); - wCardType = CardDlg.GetCardType(); - - if ((hCard=Register_Card(wCardType, nCardID)) < 0) - { - strTemp.Format( TEXT("Register_Card Error = %d"), hCard); - AfxMessageBox( strTemp ); - } - else - { - C9812SPtgDlg dlg(hCard, wCardType); - m_pMainWnd = &dlg; - nResponse = dlg.DoModal(); - if (nResponse == IDOK) - { - // TODO: Place code here to handle when the dialog is - // dismissed with OK - } - else if (nResponse == IDCANCEL) - { - // TODO: Place code here to handle when the dialog is - // dismissed with Cancel - } - - if (hCard >= 0) Release_Card(hCard); - } - - } - else if (nResponse == IDCANCEL) - { - // TODO: Place code here to handle when the dialog is - // dismissed with Cancel - } - - // Since the dialog has been closed, return FALSE so that we exit the - // application, rather than start the application's message pump. - return FALSE; -} diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812PostTrg/9812SPtg.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812PostTrg/9812SPtg.h deleted file mode 100644 index 2443208..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812PostTrg/9812SPtg.h +++ /dev/null @@ -1,32 +0,0 @@ - -// 9812SPtg.h : main header file for the PROJECT_NAME application -// - -#pragma once - -#ifndef __AFXWIN_H__ - #error "include 'stdafx.h' before including this file for PCH" -#endif - -#include "resource.h" // main symbols - - -// C9812SPtgApp: -// See 9812SPtg.cpp for the implementation of this class -// - -class C9812SPtgApp : public CWinAppEx -{ -public: - C9812SPtgApp(); - -// Overrides - public: - virtual BOOL InitInstance(); - -// Implementation - - DECLARE_MESSAGE_MAP() -}; - -extern C9812SPtgApp theApp; \ No newline at end of file diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812PostTrg/9812SPtg.rc b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812PostTrg/9812SPtg.rc deleted file mode 100644 index ac5fa51..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812PostTrg/9812SPtg.rc +++ /dev/null @@ -1,300 +0,0 @@ -// Microsoft Visual C++ generated resource script. -// -#include "resource.h" - -#define APSTUDIO_READONLY_SYMBOLS -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 2 resource. -// -#ifndef APSTUDIO_INVOKED -#include "targetver.h" -#endif -#include "afxres.h" - -///////////////////////////////////////////////////////////////////////////// -#undef APSTUDIO_READONLY_SYMBOLS - -///////////////////////////////////////////////////////////////////////////// -// Chinese (Taiwan) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_CHT) -#ifdef _WIN32 -LANGUAGE LANG_CHINESE, SUBLANG_CHINESE_TRADITIONAL -#pragma code_page(950) -#endif //_WIN32 - -#ifdef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// TEXTINCLUDE -// - -1 TEXTINCLUDE -BEGIN - "resource.h\0" -END - -2 TEXTINCLUDE -BEGIN - "#ifndef APSTUDIO_INVOKED\r\n" - "#include ""targetver.h""\r\n" - "#endif\r\n" - "#include ""afxres.h""\r\n" - "\0" -END - -3 TEXTINCLUDE -BEGIN - "#define _AFX_NO_SPLITTER_RESOURCES\r\n" - "#define _AFX_NO_OLE_RESOURCES\r\n" - "#define _AFX_NO_TRACKER_RESOURCES\r\n" - "#define _AFX_NO_PROPERTY_RESOURCES\r\n" - "\r\n" - "#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)\r\n" - "LANGUAGE 9, 1\r\n" - "#pragma code_page(1252)\r\n" - "#include ""res\\My9812SPtg.rc2"" // non-Microsoft Visual C++ edited resources\r\n" - "#include ""afxres.rc"" // Standard components\r\n" - "#endif\r\n" - "\0" -END - -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// Icon -// - -// Icon with lowest ID value placed first to ensure application icon -// remains consistent on all systems. -IDR_MAINFRAME ICON "res\\9812SPtg.ico" -#endif // Chinese (Taiwan) resources -///////////////////////////////////////////////////////////////////////////// - - -///////////////////////////////////////////////////////////////////////////// -// English (U.S.) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -#ifdef _WIN32 -LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US -#pragma code_page(1252) -#endif //_WIN32 - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog -// - -IDD_ABOUTBOX DIALOGEX 0, 0, 170, 62 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "About 9812SPtg" -FONT 8, "MS Shell Dlg", 0, 0, 0x1 -BEGIN - ICON IDR_MAINFRAME,IDC_STATIC,14,14,21,20 - LTEXT "9812SPtg, Version 1.0",IDC_STATIC,42,14,114,8,SS_NOPREFIX - LTEXT "Copyright (C) 2010",IDC_STATIC,42,26,114,8 - DEFPUSHBUTTON "OK",IDOK,113,41,50,14,WS_GROUP -END - -IDD_9812DMA_DIALOG DIALOGEX 0, 0, 365, 232 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU -EXSTYLE WS_EX_APPWINDOW -CAPTION -"PCI-9812 Single Buffer DMA by Post Trigger Mode (External Digital Trigger)" -FONT 8, "MS Shell Dlg", 0, 0, 0x1 -BEGIN - GROUPBOX "",IDC_STATIC_DRAW,45,9,248,161,NOT WS_VISIBLE - LTEXT "Range : +/- 1V",IDC_STATIC,299,129,52,15 - LTEXT "Buffer Size",IDC_STATIC,124,183,42,9 - EDITTEXT IDC_EDIT_SAMPLE_RATE,47,196,39,14,ES_AUTOHSCROLL | ES_READONLY - LTEXT "Sample Rate :",IDC_STATIC,47,182,49,9 - LTEXT "KHz",IDC_STATIC,99,199,15,9 - SCROLLBAR IDC_SCROLLBAR_RATE,87,196,9,11,SBS_VERT - PUSHBUTTON "Start",IDC_BT_START,230,188,55,22 - CONTROL "1",IDC_RADIO_CH0,"Button",BS_AUTORADIOBUTTON | BS_LEFTTEXT,307,20,16,12 - EDITTEXT IDC_EDIT_BUF_SIZE,122,196,46,14,ES_AUTOHSCROLL - PUSHBUTTON "Stop",IDC_BT_STOP,291,188,55,22 -END - -IDD_CARDID_DIALOG DIALOGEX 0, 0, 174, 119 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "Card ID" -FONT 8, "MS Shell Dlg", 400, 0, 0x1 -BEGIN - COMBOBOX IDC_COMBO_CARDID,75,24,71,126,CBS_DROPDOWN | WS_VSCROLL | WS_TABSTOP - LTEXT "Card Number",IDC_STATIC_01,21,25,46,12 - PUSHBUTTON "OK",IDOK,22,84,58,19 - PUSHBUTTON "CANCEL",IDCANCEL,86,84,58,19 - COMBOBOX IDC_COMBO_CARDTYPE,75,46,71,126,CBS_DROPDOWN | WS_VSCROLL | WS_TABSTOP - LTEXT "Card Type",IDC_STATIC_2,29,47,37,12 -END - - -///////////////////////////////////////////////////////////////////////////// -// -// Version -// - -VS_VERSION_INFO VERSIONINFO - FILEVERSION 1,0,0,1 - PRODUCTVERSION 1,0,0,1 - FILEFLAGSMASK 0x3fL -#ifdef _DEBUG - FILEFLAGS 0x1L -#else - FILEFLAGS 0x0L -#endif - FILEOS 0x4L - FILETYPE 0x1L - FILESUBTYPE 0x0L -BEGIN - BLOCK "StringFileInfo" - BEGIN - BLOCK "040904e4" - BEGIN - VALUE "CompanyName", "TODO: " - VALUE "FileDescription", "TODO: " - VALUE "FileVersion", "1.0.0.1" - VALUE "InternalName", "9812SPtg.exe" - VALUE "LegalCopyright", "TODO: (c) . All rights reserved." - VALUE "OriginalFilename", "9812SPtg.exe" - VALUE "ProductName", "TODO: " - VALUE "ProductVersion", "1.0.0.1" - END - END - BLOCK "VarFileInfo" - BEGIN - VALUE "Translation", 0x409, 1252 - END -END - - -///////////////////////////////////////////////////////////////////////////// -// -// DESIGNINFO -// - -#ifdef APSTUDIO_INVOKED -GUIDELINES DESIGNINFO -BEGIN - IDD_ABOUTBOX, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 163 - TOPMARGIN, 7 - BOTTOMMARGIN, 55 - END - - IDD_9812DMA_DIALOG, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 358 - TOPMARGIN, 7 - BOTTOMMARGIN, 225 - END - - IDD_CARDID_DIALOG, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 167 - TOPMARGIN, 7 - BOTTOMMARGIN, 112 - END -END -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog Info -// - -IDD_CARDID_DIALOG DLGINIT -BEGIN - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0030, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0031, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0032, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0033, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0034, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0035, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0036, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0037, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0038, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0039, - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3031, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3131, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3231, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3331, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3431, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3531, "\000" - IDC_COMBO_CARDTYPE, 0x403, 9, 0 -0x4350, 0x5f49, 0x3839, 0x3031, "\000" - IDC_COMBO_CARDTYPE, 0x403, 9, 0 -0x4350, 0x5f49, 0x3839, 0x3231, "\000" - 0 -END - - -///////////////////////////////////////////////////////////////////////////// -// -// Bitmap -// - -IDB_BITMAP_SET1 BITMAP "res\\ch_set1.bmp" -IDB_BITMAP_SET2 BITMAP "res\\ch_set2.bmp" - -///////////////////////////////////////////////////////////////////////////// -// -// String Table -// - -STRINGTABLE -BEGIN - IDS_ABOUTBOX "&About 9812SPtg..." -END - -#endif // English (U.S.) resources -///////////////////////////////////////////////////////////////////////////// - - - -#ifndef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 3 resource. -// -#define _AFX_NO_SPLITTER_RESOURCES -#define _AFX_NO_OLE_RESOURCES -#define _AFX_NO_TRACKER_RESOURCES -#define _AFX_NO_PROPERTY_RESOURCES - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -LANGUAGE 9, 1 -#pragma code_page(1252) -#include "res\My9812SPtg.rc2" // non-Microsoft Visual C++ edited resources -#include "afxres.rc" // Standard components -#endif - -///////////////////////////////////////////////////////////////////////////// -#endif // not APSTUDIO_INVOKED - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812PostTrg/9812SPtg.sln b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812PostTrg/9812SPtg.sln deleted file mode 100644 index 81f6868..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812PostTrg/9812SPtg.sln +++ /dev/null @@ -1,20 +0,0 @@ - -Microsoft Visual Studio Solution File, Format Version 10.00 -# Visual Studio 2008 -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "9812SPtg", "9812SPtg.vcproj", "{702163FB-B6DF-4EF5-9491-FC54D71509BC}" -EndProject -Global - GlobalSection(SolutionConfigurationPlatforms) = preSolution - Debug|x64 = Debug|x64 - Release|x64 = Release|x64 - EndGlobalSection - GlobalSection(ProjectConfigurationPlatforms) = postSolution - {702163FB-B6DF-4EF5-9491-FC54D71509BC}.Debug|x64.ActiveCfg = Debug|x64 - {702163FB-B6DF-4EF5-9491-FC54D71509BC}.Debug|x64.Build.0 = Debug|x64 - {702163FB-B6DF-4EF5-9491-FC54D71509BC}.Release|x64.ActiveCfg = Release|x64 - {702163FB-B6DF-4EF5-9491-FC54D71509BC}.Release|x64.Build.0 = Release|x64 - EndGlobalSection - GlobalSection(SolutionProperties) = preSolution - HideSolutionNode = FALSE - EndGlobalSection -EndGlobal diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812PostTrg/9812SPtg.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812PostTrg/9812SPtg.suo deleted file mode 100644 index 23e404e..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812PostTrg/9812SPtg.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812PostTrg/9812SPtg.vcproj b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812PostTrg/9812SPtg.vcproj deleted file mode 100644 index bf22b81..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812PostTrg/9812SPtg.vcproj +++ /dev/null @@ -1,294 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812PostTrg/9812SPtgDlg.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812PostTrg/9812SPtgDlg.cpp deleted file mode 100644 index 4e2ffd1..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812PostTrg/9812SPtgDlg.cpp +++ /dev/null @@ -1,498 +0,0 @@ - -// 9812SPtgDlg.cpp : implementation file -// - -#include "stdafx.h" -#include "9812SPtg.h" -#include "9812SPtgDlg.h" - -#ifdef _DEBUG -#define new DEBUG_NEW -#endif - -CRect plotRect; - -// CAboutDlg dialog used for App About - -class CAboutDlg : public CDialog -{ -public: - CAboutDlg(); - -// Dialog Data - enum { IDD = IDD_ABOUTBOX }; - - protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - -// Implementation -protected: - DECLARE_MESSAGE_MAP() -}; - -CAboutDlg::CAboutDlg() : CDialog(CAboutDlg::IDD) -{ -} - -void CAboutDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); -} - -BEGIN_MESSAGE_MAP(CAboutDlg, CDialog) -END_MESSAGE_MAP() - - -// C9812SPtgDlg dialog - - - - -C9812SPtgDlg::C9812SPtgDlg(I16 hCard, U16 wCardType, CWnd* pParent /*=NULL*/) - : CDialog(C9812SPtgDlg::IDD, pParent) -{ - m_hIcon = AfxGetApp()->LoadIcon(IDR_MAINFRAME); - - n_PlotWidth = n_PlotHeight = -1; - OnBrush = OffBrush = NULL; - - min_val = 0x00; - max_val = 0x0FFF; - - m_fSampleRate = 1000000.0; // 1MHz - - m_hCard = hCard; - - m_wScanChans = 0; - m_nTimer = -1; - m_hMem=NULL; - - m_dwReadCount = 1000; - m_wRange = AD_B_1_V; - - m_wCardType = wCardType; -} - -void C9812SPtgDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); -} - -BEGIN_MESSAGE_MAP(C9812SPtgDlg, CDialog) - ON_WM_SYSCOMMAND() - ON_WM_PAINT() - ON_WM_QUERYDRAGICON() - //}}AFX_MSG_MAP - ON_WM_DESTROY() - ON_WM_VSCROLL() - ON_BN_CLICKED(IDC_BT_START, &C9812SPtgDlg::OnStart) - ON_WM_TIMER() - ON_BN_CLICKED(IDC_BT_STOP, &C9812SPtgDlg::OnStop) -END_MESSAGE_MAP() - - -// C9812SPtgDlg message handlers - -BOOL C9812SPtgDlg::OnInitDialog() -{ - CDialog::OnInitDialog(); - - // Add "About..." menu item to system menu. - - // IDM_ABOUTBOX must be in the system command range. - ASSERT((IDM_ABOUTBOX & 0xFFF0) == IDM_ABOUTBOX); - ASSERT(IDM_ABOUTBOX < 0xF000); - - CMenu* pSysMenu = GetSystemMenu(FALSE); - if (pSysMenu != NULL) - { - BOOL bNameValid; - CString strAboutMenu; - bNameValid = strAboutMenu.LoadString(IDS_ABOUTBOX); - ASSERT(bNameValid); - if (!strAboutMenu.IsEmpty()) - { - pSysMenu->AppendMenu(MF_SEPARATOR); - pSysMenu->AppendMenu(MF_STRING, IDM_ABOUTBOX, strAboutMenu); - } - } - - // Set the icon for this dialog. The framework does this automatically - // when the application's main window is not a dialog - SetIcon(m_hIcon, TRUE); // Set big icon - SetIcon(m_hIcon, FALSE); // Set small icon - - // TODO: Add extra initialization here - x_divider = 5; y_divider = 4; - - OnBrush = CreateSolidBrush( RGB(255,0,0) ); - OffBrush = CreateSolidBrush( RGB(125,0,0) ); - - RedPen.CreatePen( PS_SOLID, 1, RGB(255,0,0)); - - - if( n_PlotWidth == -1 && n_PlotHeight == -1 ) - { - ((CWnd*)GetDlgItem(IDC_STATIC_DRAW))->GetWindowRect(&plotRect); - ScreenToClient(&plotRect); - - n_PlotWidth = min( plotRect.Width(), 512); - n_PlotHeight = plotRect.Height() - 10; - } - - // set the default SampleRate - SetDlgItemInt( IDC_EDIT_SAMPLE_RATE, (UINT)(m_fSampleRate/1000) ); - SetDlgItemInt( IDC_EDIT_BUF_SIZE, (UINT)(m_dwReadCount) ); - ((CButton*)GetDlgItem( IDC_RADIO_CH0 ))->SetCheck( TRUE ); - - max_range = 1.0; - min_range = -1.0; - - return TRUE; // return TRUE unless you set the focus to a control -} - -void C9812SPtgDlg::OnSysCommand(UINT nID, LPARAM lParam) -{ - if ((nID & 0xFFF0) == IDM_ABOUTBOX) - { - CAboutDlg dlgAbout; - dlgAbout.DoModal(); - } - else - { - CDialog::OnSysCommand(nID, lParam); - } -} - -// If you add a minimize button to your dialog, you will need the code below -// to draw the icon. For MFC applications using the document/view model, -// this is automatically done for you by the framework. - -void C9812SPtgDlg::OnPaint() -{ - if (IsIconic()) - { - CPaintDC dc(this); // device context for painting - - SendMessage(WM_ICONERASEBKGND, reinterpret_cast(dc.GetSafeHdc()), 0); - - // Center icon in client rectangle - int cxIcon = GetSystemMetrics(SM_CXICON); - int cyIcon = GetSystemMetrics(SM_CYICON); - CRect rect; - GetClientRect(&rect); - int x = (rect.Width() - cxIcon + 1) / 2; - int y = (rect.Height() - cyIcon + 1) / 2; - - // Draw the icon - dc.DrawIcon(x, y, m_hIcon); - } - else - { - redraw_display_area(); - CDialog::OnPaint(); - } -} - -// The system calls this function to obtain the cursor to display while the user drags -// the minimized window. -HCURSOR C9812SPtgDlg::OnQueryDragIcon() -{ - return static_cast(m_hIcon); -} - - -void C9812SPtgDlg::redraw_display_area(void) -{ - CPen *oldPen; - - int oldMode; - COLORREF oldColor; - - CString y_lable; - - CPen minor_tick( PS_SOLID,1,RGB(132,130,132) ); -// CPen y_grid( PS_SOLID,1,RGB(206,203,132) ); - - int i, x_intv, y_intv; -// long total_sec; - - CClientDC dc_plot(this); - - // draw the base-line for x-y axises - oldPen = (CPen *)dc_plot.SelectStockObject(BLACK_PEN); - - // redraw the background - dc_plot.FillSolidRect( plotRect, RGB(0,0,0) ); - - // Re-Draw the AREA for Y-Lable - { - CBrush DIALOG_BRUSH; - CRect redraw_area, full_client; - - GetClientRect(&full_client); - ScreenToClient(&full_client); - - redraw_area.left = full_client.left; - redraw_area.top = plotRect.top - 5; - redraw_area.right = plotRect.left - 3; - redraw_area.bottom = plotRect.bottom + 10; - - DIALOG_BRUSH.CreateSysColorBrush( COLOR_3DFACE ); - - dc_plot.FillRect( redraw_area, &DIALOG_BRUSH ); - - DIALOG_BRUSH.DeleteObject(); - } - - dc_plot.MoveTo( plotRect.left - 3, plotRect.top ); - dc_plot.LineTo( plotRect.left - 3, plotRect.bottom ); - - // calculate the interval for tick/grid - y_intv = (plotRect.Height() - 10) /y_divider; - x_intv = plotRect.Width()/x_divider; - - - // set the color for tick - oldColor = dc_plot.SetTextColor( RGB(0,0,0) ); - oldMode = dc_plot.SetBkMode( TRANSPARENT ); - - for( i=0; i<= y_divider; i++ ) - { - CString tick_str; - CRect tmp_rect, tick_rect; - - // draw the tick for y-axis - dc_plot.MoveTo( plotRect.left -12, plotRect.bottom -5 - (i*y_intv) ); - dc_plot.LineTo( plotRect.left -3, plotRect.bottom -5 - (i*y_intv) ); - - tick_str.Format( _T("%.1f"), ( ((max_range-min_range)/y_divider) * i)+min_range ); - - // calculate the rectangle for text - dc_plot.DrawText( tick_str, &tmp_rect, DT_CALCRECT|DT_SINGLELINE ); - tick_rect.right = plotRect.left -14; - tick_rect.left = tick_rect.right - tmp_rect.Width(); - tick_rect.top = plotRect.bottom -5 - (i*y_intv) - tmp_rect.Height()/2; - tick_rect.bottom = tick_rect.top + tmp_rect.Height(); - - // draw the text - dc_plot.DrawText( tick_str, &tick_rect, DT_SINGLELINE|DT_RIGHT ); - - } - - // draw the minor_tick for Y axises - dc_plot.SelectObject(&minor_tick); - for( i=0; i< y_divider; i++ ) - { - dc_plot.MoveTo( plotRect.left -9, plotRect.bottom -5 - (i*y_intv) - y_intv/2 ); - dc_plot.LineTo( plotRect.left -4, plotRect.bottom -5 - (i*y_intv) - y_intv/2 ); - } - - dc_plot.SetTextColor( oldColor ); - dc_plot.SetBkMode( oldMode ); - dc_plot.SelectObject( oldPen ); -} - -void C9812SPtgDlg::OnDestroy() -{ - CDialog::OnDestroy(); - - // TODO: Add your message handler code here - if( m_nTimer != -1 ) - { - KillTimer( m_nTimer ); - m_nTimer = -1; - } - - if (m_hMem != NULL) - { - GlobalUnfix(m_hMem); - GlobalUnlock(m_hMem); - GlobalFree(m_hMem); - - m_hMem = NULL; - } - - if( OnBrush != NULL ) - ::DeleteObject( OnBrush ); - - if( OffBrush != NULL ) - ::DeleteObject( OffBrush ); - - RedPen.DeleteObject(); - -} - -void C9812SPtgDlg::OnVScroll(UINT nSBCode, UINT nPos, CScrollBar* pScrollBar) -{ - // TODO: Add your message handler code here and/or call default - switch ( nSBCode ) - { - case SB_LINEUP : - m_fSampleRate += 100000.0; - if (m_fSampleRate > 20*1000000.0 ) m_fSampleRate = 20*1000000.0; - break; - case SB_LINEDOWN: - m_fSampleRate -= 100000.0; - if (m_fSampleRate < 5000.0 ) m_fSampleRate = 5000.0; - break; - } - - SetDlgItemInt( IDC_EDIT_SAMPLE_RATE, (UINT)(m_fSampleRate/1000) ); - - CDialog::OnVScroll(nSBCode, nPos, pScrollBar); -} - - -void C9812SPtgDlg::OnStop() -{ - // TODO: Add your control notification handler code here - U32 count; - - AI_AsyncClear(m_hCard, &count); - - if( m_nTimer != -1 ) - { - KillTimer( m_nTimer ); - m_nTimer = -1; - } - - GetDlgItem( IDC_BT_START )->EnableWindow(TRUE); -} - -void C9812SPtgDlg::OnStart() -{ - // TODO: Add your control notification handler code here - DWORD mem_size; - CString strTemp; - I16 err; - - GetDlgItem( IDC_BT_START )->EnableWindow(FALSE); - - m_dwReadCount = GetDlgItemInt(IDC_EDIT_BUF_SIZE); - - if (m_hMem != NULL) - { - GlobalUnfix(m_hMem); - GlobalUnlock(m_hMem); - GlobalFree(m_hMem); - - m_hMem = NULL; - } - - // allocate a memory for user DMA buffer - mem_size = m_dwReadCount * sizeof(I16); - m_hMem = GlobalAlloc(GMEM_ZEROINIT, mem_size); - m_pAIBuf = (U16*) GlobalLock(m_hMem); - if (m_pAIBuf == NULL ) - { - AfxMessageBox( TEXT("Memory allocation failed") ); - return; - } - - GlobalFix(m_hMem); - - err = AI_9812_Config(m_hCard, P9812_TRGMOD_POST, P9812_TRGSRC_EXT_DIG, P9812_TRGSLP_POS, P9812_AD2_GT_PCI|P9812_CLKSRC_INT, 0x80, 0x10); - if (err!=0) - { - strTemp.Format( TEXT("AI_9812_Config error=%d"), err); - AfxMessageBox( strTemp ); - } - - err=AI_AsyncDblBufferMode(m_hCard, 0); // single-buffer mode - if (err!=0) - { - strTemp.Format( TEXT("AI_DblBufferMode error=%d"), err); - AfxMessageBox( strTemp ); - } - - err=AI_ContReadChannel (m_hCard, 0, m_wRange, (U16*)m_pAIBuf, m_dwReadCount, (F64)m_fSampleRate, ASYNCH_OP); - if (err!=0) - { - strTemp.Format( TEXT("AI_ContReadChannel error=%d"), err); - AfxMessageBox( strTemp ); - } - - m_nTimer = SetTimer( 1, 50, NULL ); - -} - -int C9812SPtgDlg::display_buffer_data(U16* pBuf, U32 dwDisplayCnt) -{ - CClientDC dc_plot(this); - int nDraw_Origin_Y; - int cur_channel; - - int newY = -1; - int newX = -1; - U32 index; - I16 ai_data; - - // redraw the background - dc_plot.FillSolidRect( plotRect, RGB(0,0,0) ); - - dc_plot.SelectObject(&RedPen); - nDraw_Origin_Y = ( plotRect.bottom - 5 ) - n_PlotHeight/2; - - for( index=0; index> 4; - newY = (int)( nDraw_Origin_Y - ((n_PlotHeight * ai_data) >> 12 ) ); // (n_PlotHeight * ai_data / 4096 ) ); // ( (n_PlotHeight/2) * ai_data/2048 ) ); - } - else // PCI_9810 - { - cur_channel = index%(m_wScanChans+1); - ai_data = (I16)(pBuf[index]) >> 6; - newY = (int)( nDraw_Origin_Y - ((n_PlotHeight * ai_data) >> 10 ) ); // (n_PlotHeight * ai_data / 1024 ) ); // ( (n_PlotHeight/2) * ai_data/512 ) ); - } - - - newX = (int)( index*n_PlotWidth/m_dwReadCount + plotRect.left ); - - if ( index == 0 ) - { - dc_plot.MoveTo( newX, newY ); - } - else - { - dc_plot.MoveTo( m_oldX, m_oldY ); - dc_plot.LineTo( newX, newY ); - } - - m_oldX = newX; - m_oldY = newY; - } - - return 0; -} - -void C9812SPtgDlg::OnTimer(UINT_PTR nIDEvent) -{ - // TODO: Add your message handler code here and/or call default - BOOLEAN fstop; - U32 count; - - AI_AsyncCheck(m_hCard, &fstop, &count); - - if( fstop == TRUE ) - { - AI_AsyncClear(m_hCard, &count); - - KillTimer( m_nTimer ); - m_nTimer = -1; - - display_buffer_data( m_pAIBuf, count ); - - GetDlgItem( IDC_BT_START )->EnableWindow(TRUE); - } - - CDialog::OnTimer(nIDEvent); -} - - - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812PostTrg/9812SPtgDlg.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812PostTrg/9812SPtgDlg.h deleted file mode 100644 index 74bc8bc..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812PostTrg/9812SPtgDlg.h +++ /dev/null @@ -1,65 +0,0 @@ - -// 9812SPtgDlg.h : header file -#pragma once -#include "afxcmn.h" -#include "afxwin.h" - -#include "Dask64.h" - -// C9812SPtgDlg dialog -class C9812SPtgDlg : public CDialog -{ -// Construction -public: - C9812SPtgDlg(I16 hCard, U16 wCardType, CWnd* pParent = NULL); // standard constructor - -// Dialog Data - enum { IDD = IDD_9812DMA_DIALOG }; - - protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - - -// Implementation -protected: - HICON m_hIcon; - UINT_PTR m_nTimer; - I16 m_hCard; - U16 m_wCardType; - double m_fSampleRate; - U16 m_wScanChans; - HANDLE m_hMem; - U16 *m_pAIBuf; - U16 m_wRange; - int m_oldY; - int m_oldX; - U32 m_dwReadCount; - - // Generated message map functions - virtual BOOL OnInitDialog(); - afx_msg void OnSysCommand(UINT nID, LPARAM lParam); - afx_msg void OnPaint(); - afx_msg HCURSOR OnQueryDragIcon(); - DECLARE_MESSAGE_MAP() - -public: - WORD max_val; - WORD min_val; - double max_range; - double min_range; - int n_PlotWidth; - int n_PlotHeight; - int y_divider; - int x_divider; - int m_DisplayScale; - HBRUSH OnBrush; - HBRUSH OffBrush; - CPen RedPen; - void redraw_display_area(void); - afx_msg void OnDestroy(); - afx_msg void OnVScroll(UINT nSBCode, UINT nPos, CScrollBar* pScrollBar); - afx_msg void OnStart(); - int display_buffer_data(U16* pBuf, U32 DisplayCnt); - afx_msg void OnTimer(UINT_PTR nIDEvent); - afx_msg void OnStop(); -}; diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812PostTrg/CardIDDlg.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812PostTrg/CardIDDlg.cpp deleted file mode 100644 index f5e7539..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812PostTrg/CardIDDlg.cpp +++ /dev/null @@ -1,74 +0,0 @@ -// CardIDDlg.cpp : implementation file -// -#include "stdafx.h" -#include "9812SPtg.h" -#include "9812SPtgDlg.h" -#include "CardIDDlg.h" - -// CCardIDDlg dialog - -IMPLEMENT_DYNAMIC(CCardIDDlg, CDialog) - -CCardIDDlg::CCardIDDlg(int nCardIdx, CWnd* pParent /*=NULL*/) - : CDialog(CCardIDDlg::IDD, pParent) -{ - m_nCardIdx = nCardIdx; -} - -CCardIDDlg::~CCardIDDlg() -{ -} - -void CCardIDDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); - DDX_Control(pDX, IDC_COMBO_CARDID, m_cbCardID); - DDX_Control(pDX, IDC_COMBO_CARDTYPE, m_cbCardType); -} - - -BEGIN_MESSAGE_MAP(CCardIDDlg, CDialog) -// ON_CBN_SELCHANGE(IDC_COMBO_CARDID, &CCardIDDlg::OnCbnSelchangeComboCardid) -ON_BN_CLICKED(IDOK, &CCardIDDlg::OnBnClickedOk) -//ON_WM_CTLCOLOR() -END_MESSAGE_MAP() - - -// CCardIDDlg message handlers - - -void CCardIDDlg::OnBnClickedOk() -{ - // TODO: Add your control notification handler code here - -// UpdateData(TRUE); - m_nCardIdx = m_cbCardID.GetCurSel(); - m_CardType = PCI_9810 + m_cbCardType.GetCurSel(); - - OnOK(); -} - -BOOL CCardIDDlg::OnInitDialog() -{ - CDialog::OnInitDialog(); - - // TODO: Add extra initialization here - m_cbCardID.SetCurSel( m_nCardIdx ); - - m_cbCardType.SetCurSel( 1 ); - m_CardType = PCI_9812; - - return TRUE; // return TRUE unless you set the focus to a control - // EXCEPTION: OCX Property Pages should return FALSE -} - -// the function to get the selected CardID -int CCardIDDlg::GetCardID(void) -{ - return m_nCardIdx; -} - -U16 CCardIDDlg::GetCardType(void) -{ - return m_CardType; -} diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812PostTrg/CardIDDlg.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812PostTrg/CardIDDlg.h deleted file mode 100644 index 23399df..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812PostTrg/CardIDDlg.h +++ /dev/null @@ -1,35 +0,0 @@ -#pragma once -#include "afxwin.h" - -#include "Dask64.h" - -// CCardIDDlg dialog - -class CCardIDDlg : public CDialog -{ - DECLARE_DYNAMIC(CCardIDDlg) - -public: - CCardIDDlg(int nCardIdx, CWnd* pParent = NULL); // standard constructor - virtual ~CCardIDDlg(); - -// Dialog Data - enum { IDD = IDD_CARDID_DIALOG }; - -protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - - DECLARE_MESSAGE_MAP() -public: - virtual BOOL OnInitDialog(); - afx_msg void OnBnClickedOk(); - // the setting of CardID ComboBox - int m_nCardIdx; - U16 m_CardType; - // the control of CardID ComboBox - CComboBox m_cbCardID; - CComboBox m_cbCardType; - // the function to get the selected CardID - int GetCardID(void); - U16 GetCardType(void); -}; diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812PostTrg/ReadMe.txt b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812PostTrg/ReadMe.txt deleted file mode 100644 index 8df8eea..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812PostTrg/ReadMe.txt +++ /dev/null @@ -1,93 +0,0 @@ -================================================================================ - MICROSOFT FOUNDATION CLASS LIBRARY : 9812SPtg Project Overview -=============================================================================== - -The application wizard has created this 9812SPtg application for -you. This application not only demonstrates the basics of using the Microsoft -Foundation Classes but is also a starting point for writing your application. - -This file contains a summary of what you will find in each of the files that -make up your 9812SPtg application. - -9812SPtg.vcproj - This is the main project file for VC++ projects generated using an application wizard. - It contains information about the version of Visual C++ that generated the file, and - information about the platforms, configurations, and project features selected with the - application wizard. - -9812SPtg.h - This is the main header file for the application. It includes other - project specific headers (including Resource.h) and declares the - C9812SPtgApp application class. - -9812SPtg.cpp - This is the main application source file that contains the application - class C9812SPtgApp. - -9812SPtg.rc - This is a listing of all of the Microsoft Windows resources that the - program uses. It includes the icons, bitmaps, and cursors that are stored - in the RES subdirectory. This file can be directly edited in Microsoft - Visual C++. Your project resources are in 1033. - -res\9812SPtg.ico - This is an icon file, which is used as the application's icon. This - icon is included by the main resource file 9812SPtg.rc. - -res\My9812SPtg.rc2 - This file contains resources that are not edited by Microsoft - Visual C++. You should place all resources not editable by - the resource editor in this file. - - -///////////////////////////////////////////////////////////////////////////// - -The application wizard creates one dialog class: - -9812SPtgDlg.h, 9812SPtgDlg.cpp - the dialog - These files contain your C9812SPtgDlg class. This class defines - the behavior of your application's main dialog. The dialog's template is - in 9812SPtg.rc, which can be edited in Microsoft Visual C++. - - -///////////////////////////////////////////////////////////////////////////// - -Other Features: - -ActiveX Controls - The application includes support to use ActiveX controls. - -///////////////////////////////////////////////////////////////////////////// - -Other standard files: - -StdAfx.h, StdAfx.cpp - These files are used to build a precompiled header (PCH) file - named 9812SPtg.pch and a precompiled types file named StdAfx.obj. - -Resource.h - This is the standard header file, which defines new resource IDs. - Microsoft Visual C++ reads and updates this file. - -9812SPtg.manifest - Application manifest files are used by Windows XP to describe an applications - dependency on specific versions of Side-by-Side assemblies. The loader uses this - information to load the appropriate assembly from the assembly cache or private - from the application. The Application manifest maybe included for redistribution - as an external .manifest file that is installed in the same folder as the application - executable or it may be included in the executable in the form of a resource. -///////////////////////////////////////////////////////////////////////////// - -Other notes: - -The application wizard uses "TODO:" to indicate parts of the source code you -should add to or customize. - -If your application uses MFC in a shared DLL, you will need -to redistribute the MFC DLLs. If your application is in a language -other than the operating system's locale, you will also have to -redistribute the corresponding localized resources MFC90XXX.DLL. -For more information on both of these topics, please see the section on -redistributing Visual C++ applications in MSDN documentation. - -///////////////////////////////////////////////////////////////////////////// diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812PostTrg/res/9812SPtg.ico b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812PostTrg/res/9812SPtg.ico deleted file mode 100644 index d56fbcd..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812PostTrg/res/9812SPtg.ico and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812PostTrg/res/My9812SPtg.rc2 b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812PostTrg/res/My9812SPtg.rc2 deleted file mode 100644 index 383cde2..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812PostTrg/res/My9812SPtg.rc2 +++ /dev/null @@ -1,13 +0,0 @@ -// -// My9111int.RC2 - resources Microsoft Visual C++ does not edit directly -// - -#ifdef APSTUDIO_INVOKED -#error this file is not editable by Microsoft Visual C++ -#endif //APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// Add manually edited resources here... - -///////////////////////////////////////////////////////////////////////////// diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812PostTrg/res/ch_set1.bmp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812PostTrg/res/ch_set1.bmp deleted file mode 100644 index f2374ed..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812PostTrg/res/ch_set1.bmp and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812PostTrg/res/ch_set2.bmp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812PostTrg/res/ch_set2.bmp deleted file mode 100644 index 32d0915..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812PostTrg/res/ch_set2.bmp and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812PostTrg/resource.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812PostTrg/resource.h deleted file mode 100644 index 5d87430..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812PostTrg/resource.h +++ /dev/null @@ -1,37 +0,0 @@ -//{{NO_DEPENDENCIES}} -// Microsoft Visual C++ generated include file. -// Used by 9812SPtg.rc -// -#define IDM_ABOUTBOX 0x0010 -#define IDD_ABOUTBOX 100 -#define IDS_ABOUTBOX 101 -#define IDD_9812DMA_DIALOG 102 -#define IDR_MAINFRAME 128 -#define IDD_CARDID_DIALOG 129 -#define IDB_BITMAP_SET1 131 -#define IDB_BITMAP_SET2 132 -#define IDC_STATIC_DRAW 1000 -#define IDC_COMBO_CARDID 1001 -#define IDC_BT_START 1002 -#define IDC_COMBO_CARDTYPE 1002 -#define IDC_EDIT_SAMPLE_RATE 1003 -#define IDC_SCROLLBAR_RATE 1004 -#define IDC_RADIO_CH0 1005 -#define IDC_STATIC_01 1006 -#define IDC_EDIT_BUF_SIZE 1007 -#define IDC_STATIC_2 1008 -#define IDC_BT_STOP 1009 -#define IDC_EDIT_BUF_SIZE2 1010 -#define IDC_EDIT_TRACE_CNT 1011 -#define IDC_STATIC_TRACE_CNT 1012 - -// Next default values for new objects -// -#ifdef APSTUDIO_INVOKED -#ifndef APSTUDIO_READONLY_SYMBOLS -#define _APS_NEXT_RESOURCE_VALUE 134 -#define _APS_NEXT_COMMAND_VALUE 32771 -#define _APS_NEXT_CONTROL_VALUE 1013 -#define _APS_NEXT_SYMED_VALUE 103 -#endif -#endif diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812PostTrg/stdafx.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812PostTrg/stdafx.cpp deleted file mode 100644 index ef80626..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812PostTrg/stdafx.cpp +++ /dev/null @@ -1,8 +0,0 @@ - -// stdafx.cpp : source file that includes just the standard includes -// 9111int.pch will be the pre-compiled header -// stdafx.obj will contain the pre-compiled type information - -#include "stdafx.h" - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812PostTrg/stdafx.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812PostTrg/stdafx.h deleted file mode 100644 index 12123e2..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812PostTrg/stdafx.h +++ /dev/null @@ -1,60 +0,0 @@ - -// stdafx.h : include file for standard system include files, -// or project specific include files that are used frequently, -// but are changed infrequently - -#pragma once - -#ifndef _SECURE_ATL -#define _SECURE_ATL 1 -#endif - -#ifndef VC_EXTRALEAN -#define VC_EXTRALEAN // Exclude rarely-used stuff from Windows headers -#endif - -#include "targetver.h" - -#define _ATL_CSTRING_EXPLICIT_CONSTRUCTORS // some CString constructors will be explicit - -// turns off MFC's hiding of some common and often safely ignored warning messages -#define _AFX_ALL_WARNINGS - -#include // MFC core and standard components -#include // MFC extensions - - -#include // MFC Automation classes - - - -#ifndef _AFX_NO_OLE_SUPPORT -#include // MFC support for Internet Explorer 4 Common Controls -#endif -#ifndef _AFX_NO_AFXCMN_SUPPORT -#include // MFC support for Windows Common Controls -#endif // _AFX_NO_AFXCMN_SUPPORT - -#include // MFC support for ribbons and control bars - - - - - - - - - -#ifdef _UNICODE -#if defined _M_IX86 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='x86' publicKeyToken='6595b64144ccf1df' language='*'\"") -#elif defined _M_IA64 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='ia64' publicKeyToken='6595b64144ccf1df' language='*'\"") -#elif defined _M_X64 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='amd64' publicKeyToken='6595b64144ccf1df' language='*'\"") -#else -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='*' publicKeyToken='6595b64144ccf1df' language='*'\"") -#endif -#endif - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812PostTrg/targetver.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812PostTrg/targetver.h deleted file mode 100644 index 11730d5..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812PostTrg/targetver.h +++ /dev/null @@ -1,26 +0,0 @@ - -#pragma once - -// The following macros define the minimum required platform. The minimum required platform -// is the earliest version of Windows, Internet Explorer etc. that has the necessary features to run -// your application. The macros work by enabling all features available on platform versions up to and -// including the version specified. - -// Modify the following defines if you have to target a platform prior to the ones specified below. -// Refer to MSDN for the latest info on corresponding values for different platforms. -#ifndef WINVER // Specifies that the minimum required platform is Windows Vista. -#define WINVER 0x0600 // Change this to the appropriate value to target other versions of Windows. -#endif - -#ifndef _WIN32_WINNT // Specifies that the minimum required platform is Windows Vista. -#define _WIN32_WINNT 0x0600 // Change this to the appropriate value to target other versions of Windows. -#endif - -#ifndef _WIN32_WINDOWS // Specifies that the minimum required platform is Windows 98. -#define _WIN32_WINDOWS 0x0410 // Change this to the appropriate value to target Windows Me or later. -#endif - -#ifndef _WIN32_IE // Specifies that the minimum required platform is Internet Explorer 7.0. -#define _WIN32_IE 0x0700 // Change this to the appropriate value to target other versions of IE. -#endif - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812PreTrg/9111int.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812PreTrg/9111int.suo deleted file mode 100644 index 8a4412a..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812PreTrg/9111int.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812PreTrg/9118SPtg.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812PreTrg/9118SPtg.suo deleted file mode 100644 index aec9d88..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812PreTrg/9118SPtg.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812PreTrg/9812SPrg.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812PreTrg/9812SPrg.cpp deleted file mode 100644 index 85facd5..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812PreTrg/9812SPrg.cpp +++ /dev/null @@ -1,111 +0,0 @@ - -// 9812SPrg.cpp : Defines the class behaviors for the application. -// - -#include "stdafx.h" -#include "9812SPrg.h" -#include "9812SPrgDlg.h" -#include "CardIDDlg.h" - -#ifdef _DEBUG -#define new DEBUG_NEW -#endif - - -// C9812SPrgApp - -BEGIN_MESSAGE_MAP(C9812SPrgApp, CWinAppEx) - ON_COMMAND(ID_HELP, &CWinApp::OnHelp) -END_MESSAGE_MAP() - - -// C9812SPrgApp construction - -C9812SPrgApp::C9812SPrgApp() -{ - // TODO: add construction code here, - // Place all significant initialization in InitInstance -} - - -// The one and only C9812SPrgApp object - -C9812SPrgApp theApp; - - -// C9812SPrgApp initialization - -BOOL C9812SPrgApp::InitInstance() -{ - int nCardID = 0; - I16 hCard; - U16 wCardType; - CString strTemp; - INT_PTR nResponse; - - // InitCommonControlsEx() is required on Windows XP if an application - // manifest specifies use of ComCtl32.dll version 6 or later to enable - // visual styles. Otherwise, any window creation will fail. - INITCOMMONCONTROLSEX InitCtrls; - InitCtrls.dwSize = sizeof(InitCtrls); - // Set this to include all the common control classes you want to use - // in your application. - InitCtrls.dwICC = ICC_WIN95_CLASSES; - InitCommonControlsEx(&InitCtrls); - - CWinAppEx::InitInstance(); - - AfxEnableControlContainer(); - - // Standard initialization - // If you are not using these features and wish to reduce the size - // of your final executable, you should remove from the following - // the specific initialization routines you do not need - // Change the registry key under which our settings are stored - // TODO: You should modify this string to be something appropriate - // such as the name of your company or organization - SetRegistryKey(_T("Local AppWizard-Generated Applications")); - - CCardIDDlg CardDlg( nCardID ); - - nResponse = CardDlg.DoModal(); - if (nResponse == IDOK) - { - nCardID = CardDlg.GetCardID(); - wCardType = CardDlg.GetCardType(); - - if ((hCard=Register_Card(wCardType, nCardID)) < 0) - { - strTemp.Format( TEXT("Register_Card Error = %d"), hCard); - AfxMessageBox( strTemp ); - } - else - { - C9812SPrgDlg dlg(hCard, wCardType); - m_pMainWnd = &dlg; - nResponse = dlg.DoModal(); - if (nResponse == IDOK) - { - // TODO: Place code here to handle when the dialog is - // dismissed with OK - } - else if (nResponse == IDCANCEL) - { - // TODO: Place code here to handle when the dialog is - // dismissed with Cancel - } - - if (hCard >= 0) Release_Card(hCard); - } - - } - else if (nResponse == IDCANCEL) - { - // TODO: Place code here to handle when the dialog is - // dismissed with Cancel - } - - // Since the dialog has been closed, return FALSE so that we exit the - // application, rather than start the application's message pump. - return FALSE; -} diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812PreTrg/9812SPrg.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812PreTrg/9812SPrg.h deleted file mode 100644 index 2648d67..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812PreTrg/9812SPrg.h +++ /dev/null @@ -1,32 +0,0 @@ - -// 9812SPrg.h : main header file for the PROJECT_NAME application -// - -#pragma once - -#ifndef __AFXWIN_H__ - #error "include 'stdafx.h' before including this file for PCH" -#endif - -#include "resource.h" // main symbols - - -// C9812SPrgApp: -// See 9812SPrg.cpp for the implementation of this class -// - -class C9812SPrgApp : public CWinAppEx -{ -public: - C9812SPrgApp(); - -// Overrides - public: - virtual BOOL InitInstance(); - -// Implementation - - DECLARE_MESSAGE_MAP() -}; - -extern C9812SPrgApp theApp; \ No newline at end of file diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812PreTrg/9812SPrg.rc b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812PreTrg/9812SPrg.rc deleted file mode 100644 index 7d9c78c..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812PreTrg/9812SPrg.rc +++ /dev/null @@ -1,300 +0,0 @@ -// Microsoft Visual C++ generated resource script. -// -#include "resource.h" - -#define APSTUDIO_READONLY_SYMBOLS -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 2 resource. -// -#ifndef APSTUDIO_INVOKED -#include "targetver.h" -#endif -#include "afxres.h" - -///////////////////////////////////////////////////////////////////////////// -#undef APSTUDIO_READONLY_SYMBOLS - -///////////////////////////////////////////////////////////////////////////// -// Chinese (Taiwan) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_CHT) -#ifdef _WIN32 -LANGUAGE LANG_CHINESE, SUBLANG_CHINESE_TRADITIONAL -#pragma code_page(950) -#endif //_WIN32 - -#ifdef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// TEXTINCLUDE -// - -1 TEXTINCLUDE -BEGIN - "resource.h\0" -END - -2 TEXTINCLUDE -BEGIN - "#ifndef APSTUDIO_INVOKED\r\n" - "#include ""targetver.h""\r\n" - "#endif\r\n" - "#include ""afxres.h""\r\n" - "\0" -END - -3 TEXTINCLUDE -BEGIN - "#define _AFX_NO_SPLITTER_RESOURCES\r\n" - "#define _AFX_NO_OLE_RESOURCES\r\n" - "#define _AFX_NO_TRACKER_RESOURCES\r\n" - "#define _AFX_NO_PROPERTY_RESOURCES\r\n" - "\r\n" - "#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)\r\n" - "LANGUAGE 9, 1\r\n" - "#pragma code_page(1252)\r\n" - "#include ""res\\My9812SPrg.rc2"" // non-Microsoft Visual C++ edited resources\r\n" - "#include ""afxres.rc"" // Standard components\r\n" - "#endif\r\n" - "\0" -END - -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// Icon -// - -// Icon with lowest ID value placed first to ensure application icon -// remains consistent on all systems. -IDR_MAINFRAME ICON "res\\9812SPrg.ico" -#endif // Chinese (Taiwan) resources -///////////////////////////////////////////////////////////////////////////// - - -///////////////////////////////////////////////////////////////////////////// -// English (U.S.) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -#ifdef _WIN32 -LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US -#pragma code_page(1252) -#endif //_WIN32 - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog -// - -IDD_ABOUTBOX DIALOGEX 0, 0, 170, 62 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "About 9812SPrg" -FONT 8, "MS Shell Dlg", 0, 0, 0x1 -BEGIN - ICON IDR_MAINFRAME,IDC_STATIC,14,14,21,20 - LTEXT "9812SPrg, Version 1.0",IDC_STATIC,42,14,114,8,SS_NOPREFIX - LTEXT "Copyright (C) 2010",IDC_STATIC,42,26,114,8 - DEFPUSHBUTTON "OK",IDOK,113,41,50,14,WS_GROUP -END - -IDD_9812DMA_DIALOG DIALOGEX 0, 0, 365, 232 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU -EXSTYLE WS_EX_APPWINDOW -CAPTION -"PCI-9812 Single Buffer DMA by Pre-Trigger Mode (External Digital Trigger)" -FONT 8, "MS Shell Dlg", 0, 0, 0x1 -BEGIN - GROUPBOX "",IDC_STATIC_DRAW,45,9,248,161,NOT WS_VISIBLE - LTEXT "Range : +/- 1V",IDC_STATIC,299,129,52,15 - LTEXT "Buffer Size",IDC_STATIC,124,183,42,9 - EDITTEXT IDC_EDIT_SAMPLE_RATE,47,196,39,14,ES_AUTOHSCROLL | ES_READONLY - LTEXT "Sample Rate :",IDC_STATIC,47,182,49,9 - LTEXT "KHz",IDC_STATIC,99,199,15,9 - SCROLLBAR IDC_SCROLLBAR_RATE,87,196,9,11,SBS_VERT - PUSHBUTTON "Start",IDC_BT_START,230,188,55,22 - CONTROL "1",IDC_RADIO_CH0,"Button",BS_AUTORADIOBUTTON | BS_LEFTTEXT,307,20,16,12 - EDITTEXT IDC_EDIT_BUF_SIZE,122,196,46,14,ES_AUTOHSCROLL - PUSHBUTTON "Stop",IDC_BT_STOP,291,188,55,22 -END - -IDD_CARDID_DIALOG DIALOGEX 0, 0, 174, 119 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "Card ID" -FONT 8, "MS Shell Dlg", 400, 0, 0x1 -BEGIN - COMBOBOX IDC_COMBO_CARDID,75,24,71,126,CBS_DROPDOWN | WS_VSCROLL | WS_TABSTOP - LTEXT "Card Number",IDC_STATIC_01,21,25,46,12 - PUSHBUTTON "OK",IDOK,22,84,58,19 - PUSHBUTTON "CANCEL",IDCANCEL,86,84,58,19 - COMBOBOX IDC_COMBO_CARDTYPE,75,46,71,126,CBS_DROPDOWN | WS_VSCROLL | WS_TABSTOP - LTEXT "Card Type",IDC_STATIC_2,29,47,37,12 -END - - -///////////////////////////////////////////////////////////////////////////// -// -// Version -// - -VS_VERSION_INFO VERSIONINFO - FILEVERSION 1,0,0,1 - PRODUCTVERSION 1,0,0,1 - FILEFLAGSMASK 0x3fL -#ifdef _DEBUG - FILEFLAGS 0x1L -#else - FILEFLAGS 0x0L -#endif - FILEOS 0x4L - FILETYPE 0x1L - FILESUBTYPE 0x0L -BEGIN - BLOCK "StringFileInfo" - BEGIN - BLOCK "040904e4" - BEGIN - VALUE "CompanyName", "TODO: " - VALUE "FileDescription", "TODO: " - VALUE "FileVersion", "1.0.0.1" - VALUE "InternalName", "9812SPrg.exe" - VALUE "LegalCopyright", "TODO: (c) . All rights reserved." - VALUE "OriginalFilename", "9812SPrg.exe" - VALUE "ProductName", "TODO: " - VALUE "ProductVersion", "1.0.0.1" - END - END - BLOCK "VarFileInfo" - BEGIN - VALUE "Translation", 0x409, 1252 - END -END - - -///////////////////////////////////////////////////////////////////////////// -// -// DESIGNINFO -// - -#ifdef APSTUDIO_INVOKED -GUIDELINES DESIGNINFO -BEGIN - IDD_ABOUTBOX, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 163 - TOPMARGIN, 7 - BOTTOMMARGIN, 55 - END - - IDD_9812DMA_DIALOG, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 358 - TOPMARGIN, 7 - BOTTOMMARGIN, 225 - END - - IDD_CARDID_DIALOG, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 167 - TOPMARGIN, 7 - BOTTOMMARGIN, 112 - END -END -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog Info -// - -IDD_CARDID_DIALOG DLGINIT -BEGIN - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0030, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0031, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0032, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0033, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0034, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0035, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0036, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0037, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0038, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0039, - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3031, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3131, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3231, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3331, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3431, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3531, "\000" - IDC_COMBO_CARDTYPE, 0x403, 9, 0 -0x4350, 0x5f49, 0x3839, 0x3031, "\000" - IDC_COMBO_CARDTYPE, 0x403, 9, 0 -0x4350, 0x5f49, 0x3839, 0x3231, "\000" - 0 -END - - -///////////////////////////////////////////////////////////////////////////// -// -// Bitmap -// - -IDB_BITMAP_SET1 BITMAP "res\\ch_set1.bmp" -IDB_BITMAP_SET2 BITMAP "res\\ch_set2.bmp" - -///////////////////////////////////////////////////////////////////////////// -// -// String Table -// - -STRINGTABLE -BEGIN - IDS_ABOUTBOX "&About 9812SPrg..." -END - -#endif // English (U.S.) resources -///////////////////////////////////////////////////////////////////////////// - - - -#ifndef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 3 resource. -// -#define _AFX_NO_SPLITTER_RESOURCES -#define _AFX_NO_OLE_RESOURCES -#define _AFX_NO_TRACKER_RESOURCES -#define _AFX_NO_PROPERTY_RESOURCES - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -LANGUAGE 9, 1 -#pragma code_page(1252) -#include "res\My9812SPrg.rc2" // non-Microsoft Visual C++ edited resources -#include "afxres.rc" // Standard components -#endif - -///////////////////////////////////////////////////////////////////////////// -#endif // not APSTUDIO_INVOKED - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812PreTrg/9812SPrg.sln b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812PreTrg/9812SPrg.sln deleted file mode 100644 index 2868fc4..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812PreTrg/9812SPrg.sln +++ /dev/null @@ -1,20 +0,0 @@ - -Microsoft Visual Studio Solution File, Format Version 10.00 -# Visual Studio 2008 -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "9812SPrg", "9812SPrg.vcproj", "{702163FB-B6DF-4EF5-9491-FC54D71509BC}" -EndProject -Global - GlobalSection(SolutionConfigurationPlatforms) = preSolution - Debug|x64 = Debug|x64 - Release|x64 = Release|x64 - EndGlobalSection - GlobalSection(ProjectConfigurationPlatforms) = postSolution - {702163FB-B6DF-4EF5-9491-FC54D71509BC}.Debug|x64.ActiveCfg = Debug|x64 - {702163FB-B6DF-4EF5-9491-FC54D71509BC}.Debug|x64.Build.0 = Debug|x64 - {702163FB-B6DF-4EF5-9491-FC54D71509BC}.Release|x64.ActiveCfg = Release|x64 - {702163FB-B6DF-4EF5-9491-FC54D71509BC}.Release|x64.Build.0 = Release|x64 - EndGlobalSection - GlobalSection(SolutionProperties) = preSolution - HideSolutionNode = FALSE - EndGlobalSection -EndGlobal diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812PreTrg/9812SPrg.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812PreTrg/9812SPrg.suo deleted file mode 100644 index d7ebeda..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812PreTrg/9812SPrg.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812PreTrg/9812SPrg.vcproj b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812PreTrg/9812SPrg.vcproj deleted file mode 100644 index 424ab17..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812PreTrg/9812SPrg.vcproj +++ /dev/null @@ -1,294 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812PreTrg/9812SPrgDlg.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812PreTrg/9812SPrgDlg.cpp deleted file mode 100644 index 7135dd1..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812PreTrg/9812SPrgDlg.cpp +++ /dev/null @@ -1,495 +0,0 @@ - -// 9812SPrgDlg.cpp : implementation file -// - -#include "stdafx.h" -#include "9812SPrg.h" -#include "9812SPrgDlg.h" - -#ifdef _DEBUG -#define new DEBUG_NEW -#endif - -CRect plotRect; - -// CAboutDlg dialog used for App About - -class CAboutDlg : public CDialog -{ -public: - CAboutDlg(); - -// Dialog Data - enum { IDD = IDD_ABOUTBOX }; - - protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - -// Implementation -protected: - DECLARE_MESSAGE_MAP() -}; - -CAboutDlg::CAboutDlg() : CDialog(CAboutDlg::IDD) -{ -} - -void CAboutDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); -} - -BEGIN_MESSAGE_MAP(CAboutDlg, CDialog) -END_MESSAGE_MAP() - - -// C9812SPrgDlg dialog - - - - -C9812SPrgDlg::C9812SPrgDlg(I16 hCard, U16 wCardType, CWnd* pParent /*=NULL*/) - : CDialog(C9812SPrgDlg::IDD, pParent) -{ - m_hIcon = AfxGetApp()->LoadIcon(IDR_MAINFRAME); - - n_PlotWidth = n_PlotHeight = -1; - OnBrush = OffBrush = NULL; - - min_val = 0x00; - max_val = 0x0FFF; - - m_fSampleRate = 1000000.0; // 1MHz - - m_hCard = hCard; - - m_wScanChans = 0; - m_nTimer = -1; - m_hMem=NULL; - - m_dwReadCount = 1024; - m_wRange = AD_B_1_V; - - m_wCardType = wCardType; -} - -void C9812SPrgDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); -} - -BEGIN_MESSAGE_MAP(C9812SPrgDlg, CDialog) - ON_WM_SYSCOMMAND() - ON_WM_PAINT() - ON_WM_QUERYDRAGICON() - //}}AFX_MSG_MAP - ON_WM_DESTROY() - ON_WM_VSCROLL() - ON_BN_CLICKED(IDC_BT_START, &C9812SPrgDlg::OnStart) - ON_WM_TIMER() - ON_BN_CLICKED(IDC_BT_STOP, &C9812SPrgDlg::OnStop) -END_MESSAGE_MAP() - - -// C9812SPrgDlg message handlers - -BOOL C9812SPrgDlg::OnInitDialog() -{ - CDialog::OnInitDialog(); - - // Add "About..." menu item to system menu. - - // IDM_ABOUTBOX must be in the system command range. - ASSERT((IDM_ABOUTBOX & 0xFFF0) == IDM_ABOUTBOX); - ASSERT(IDM_ABOUTBOX < 0xF000); - - CMenu* pSysMenu = GetSystemMenu(FALSE); - if (pSysMenu != NULL) - { - BOOL bNameValid; - CString strAboutMenu; - bNameValid = strAboutMenu.LoadString(IDS_ABOUTBOX); - ASSERT(bNameValid); - if (!strAboutMenu.IsEmpty()) - { - pSysMenu->AppendMenu(MF_SEPARATOR); - pSysMenu->AppendMenu(MF_STRING, IDM_ABOUTBOX, strAboutMenu); - } - } - - // Set the icon for this dialog. The framework does this automatically - // when the application's main window is not a dialog - SetIcon(m_hIcon, TRUE); // Set big icon - SetIcon(m_hIcon, FALSE); // Set small icon - - // TODO: Add extra initialization here - x_divider = 5; y_divider = 4; - - OnBrush = CreateSolidBrush( RGB(255,0,0) ); - OffBrush = CreateSolidBrush( RGB(125,0,0) ); - - RedPen.CreatePen( PS_SOLID, 1, RGB(255,0,0)); - - - if( n_PlotWidth == -1 && n_PlotHeight == -1 ) - { - ((CWnd*)GetDlgItem(IDC_STATIC_DRAW))->GetWindowRect(&plotRect); - ScreenToClient(&plotRect); - - n_PlotWidth = min( plotRect.Width(), 512); - n_PlotHeight = plotRect.Height() - 10; - } - - // set the default SampleRate - SetDlgItemInt( IDC_EDIT_SAMPLE_RATE, (UINT)(m_fSampleRate/1000) ); - SetDlgItemInt( IDC_EDIT_BUF_SIZE, (UINT)(m_dwReadCount) ); - ((CButton*)GetDlgItem( IDC_RADIO_CH0 ))->SetCheck( TRUE ); - - max_range = 1.0; - min_range = -1.0; - - return TRUE; // return TRUE unless you set the focus to a control -} - -void C9812SPrgDlg::OnSysCommand(UINT nID, LPARAM lParam) -{ - if ((nID & 0xFFF0) == IDM_ABOUTBOX) - { - CAboutDlg dlgAbout; - dlgAbout.DoModal(); - } - else - { - CDialog::OnSysCommand(nID, lParam); - } -} - -// If you add a minimize button to your dialog, you will need the code below -// to draw the icon. For MFC applications using the document/view model, -// this is automatically done for you by the framework. - -void C9812SPrgDlg::OnPaint() -{ - if (IsIconic()) - { - CPaintDC dc(this); // device context for painting - - SendMessage(WM_ICONERASEBKGND, reinterpret_cast(dc.GetSafeHdc()), 0); - - // Center icon in client rectangle - int cxIcon = GetSystemMetrics(SM_CXICON); - int cyIcon = GetSystemMetrics(SM_CYICON); - CRect rect; - GetClientRect(&rect); - int x = (rect.Width() - cxIcon + 1) / 2; - int y = (rect.Height() - cyIcon + 1) / 2; - - // Draw the icon - dc.DrawIcon(x, y, m_hIcon); - } - else - { - redraw_display_area(); - CDialog::OnPaint(); - } -} - -// The system calls this function to obtain the cursor to display while the user drags -// the minimized window. -HCURSOR C9812SPrgDlg::OnQueryDragIcon() -{ - return static_cast(m_hIcon); -} - - -void C9812SPrgDlg::redraw_display_area(void) -{ - CPen *oldPen; - - int oldMode; - COLORREF oldColor; - - CString y_lable; - - CPen minor_tick( PS_SOLID,1,RGB(132,130,132) ); -// CPen y_grid( PS_SOLID,1,RGB(206,203,132) ); - - int i, x_intv, y_intv; -// long total_sec; - - CClientDC dc_plot(this); - - // draw the base-line for x-y axises - oldPen = (CPen *)dc_plot.SelectStockObject(BLACK_PEN); - - // redraw the background - dc_plot.FillSolidRect( plotRect, RGB(0,0,0) ); - - // Re-Draw the AREA for Y-Lable - { - CBrush DIALOG_BRUSH; - CRect redraw_area, full_client; - - GetClientRect(&full_client); - ScreenToClient(&full_client); - - redraw_area.left = full_client.left; - redraw_area.top = plotRect.top - 5; - redraw_area.right = plotRect.left - 3; - redraw_area.bottom = plotRect.bottom + 10; - - DIALOG_BRUSH.CreateSysColorBrush( COLOR_3DFACE ); - - dc_plot.FillRect( redraw_area, &DIALOG_BRUSH ); - - DIALOG_BRUSH.DeleteObject(); - } - - dc_plot.MoveTo( plotRect.left - 3, plotRect.top ); - dc_plot.LineTo( plotRect.left - 3, plotRect.bottom ); - - // calculate the interval for tick/grid - y_intv = (plotRect.Height() - 10) /y_divider; - x_intv = plotRect.Width()/x_divider; - - - // set the color for tick - oldColor = dc_plot.SetTextColor( RGB(0,0,0) ); - oldMode = dc_plot.SetBkMode( TRANSPARENT ); - - for( i=0; i<= y_divider; i++ ) - { - CString tick_str; - CRect tmp_rect, tick_rect; - - // draw the tick for y-axis - dc_plot.MoveTo( plotRect.left -12, plotRect.bottom -5 - (i*y_intv) ); - dc_plot.LineTo( plotRect.left -3, plotRect.bottom -5 - (i*y_intv) ); - - tick_str.Format( _T("%.1f"), ( ((max_range-min_range)/y_divider) * i)+min_range ); - - // calculate the rectangle for text - dc_plot.DrawText( tick_str, &tmp_rect, DT_CALCRECT|DT_SINGLELINE ); - tick_rect.right = plotRect.left -14; - tick_rect.left = tick_rect.right - tmp_rect.Width(); - tick_rect.top = plotRect.bottom -5 - (i*y_intv) - tmp_rect.Height()/2; - tick_rect.bottom = tick_rect.top + tmp_rect.Height(); - - // draw the text - dc_plot.DrawText( tick_str, &tick_rect, DT_SINGLELINE|DT_RIGHT ); - - } - - // draw the minor_tick for Y axises - dc_plot.SelectObject(&minor_tick); - for( i=0; i< y_divider; i++ ) - { - dc_plot.MoveTo( plotRect.left -9, plotRect.bottom -5 - (i*y_intv) - y_intv/2 ); - dc_plot.LineTo( plotRect.left -4, plotRect.bottom -5 - (i*y_intv) - y_intv/2 ); - } - - dc_plot.SetTextColor( oldColor ); - dc_plot.SetBkMode( oldMode ); - dc_plot.SelectObject( oldPen ); -} - -void C9812SPrgDlg::OnDestroy() -{ - CDialog::OnDestroy(); - - // TODO: Add your message handler code here - if( m_nTimer != -1 ) - { - KillTimer( m_nTimer ); - m_nTimer = -1; - } - - if (m_hMem != NULL) - { - GlobalUnfix(m_hMem); - GlobalUnlock(m_hMem); - GlobalFree(m_hMem); - - m_hMem = NULL; - } - - if( OnBrush != NULL ) - ::DeleteObject( OnBrush ); - - if( OffBrush != NULL ) - ::DeleteObject( OffBrush ); - - RedPen.DeleteObject(); - -} - -void C9812SPrgDlg::OnVScroll(UINT nSBCode, UINT nPos, CScrollBar* pScrollBar) -{ - // TODO: Add your message handler code here and/or call default - switch ( nSBCode ) - { - case SB_LINEUP : - m_fSampleRate += 100000.0; - if (m_fSampleRate > 20*1000000.0 ) m_fSampleRate = 20*1000000.0; - break; - case SB_LINEDOWN: - m_fSampleRate -= 100000.0; - if (m_fSampleRate < 5000.0 ) m_fSampleRate = 5000.0; - break; - } - - SetDlgItemInt( IDC_EDIT_SAMPLE_RATE, (UINT)(m_fSampleRate/1000) ); - - CDialog::OnVScroll(nSBCode, nPos, pScrollBar); -} - - -void C9812SPrgDlg::OnStop() -{ - // TODO: Add your control notification handler code here - U32 count; - - AI_AsyncClear(m_hCard, &count); - - if( m_nTimer != -1 ) - { - KillTimer( m_nTimer ); - m_nTimer = -1; - } - - GetDlgItem( IDC_BT_START )->EnableWindow(TRUE); -} - -void C9812SPrgDlg::OnStart() -{ - // TODO: Add your control notification handler code here - DWORD mem_size; - CString strTemp; - I16 err; - - GetDlgItem( IDC_BT_START )->EnableWindow(FALSE); - - m_dwReadCount = GetDlgItemInt(IDC_EDIT_BUF_SIZE); - - if (m_hMem != NULL) - { - GlobalUnfix(m_hMem); - GlobalUnlock(m_hMem); - GlobalFree(m_hMem); - - m_hMem = NULL; - } - - // allocate a memory for user DMA buffer - mem_size = m_dwReadCount * sizeof(I16); - m_hMem = GlobalAlloc(GMEM_ZEROINIT, mem_size); - m_pAIBuf = (U16*) GlobalLock(m_hMem); - if (m_pAIBuf == NULL ) - { - AfxMessageBox( TEXT("Memory allocation failed") ); - return; - } - - GlobalFix(m_hMem); - - err = AI_9812_Config(m_hCard, P9812_TRGMOD_PRE, P9812_TRGSRC_EXT_DIG, P9812_TRGSLP_POS, P9812_AD2_GT_PCI|P9812_CLKSRC_INT, 0x00,0x01); - if (err!=0) - { - strTemp.Format( TEXT("AI_9812_Config error=%d"), err); - AfxMessageBox( strTemp ); - } - - err=AI_AsyncDblBufferMode(m_hCard, 0); // single-buffer mode - if (err!=0) - { - strTemp.Format( TEXT("AI_DblBufferMode error=%d"), err); - AfxMessageBox( strTemp ); - } - - err=AI_ContReadChannel (m_hCard, 0, m_wRange, (U16*)m_pAIBuf, m_dwReadCount, (F64)m_fSampleRate, ASYNCH_OP); - if (err!=0) - { - strTemp.Format( TEXT("AI_ContReadChannel error=%d"), err); - AfxMessageBox( strTemp ); - } - - m_nTimer = SetTimer( 1, 50, NULL ); - -} - -int C9812SPrgDlg::display_buffer_data(U16* pBuf, U32 dwDisplayCnt) -{ - CClientDC dc_plot(this); - int nDraw_Origin_Y; - int cur_channel; - - int newY = -1; - int newX = -1; - U32 index; - I16 ai_data; - - // redraw the background - dc_plot.FillSolidRect( plotRect, RGB(0,0,0) ); - - dc_plot.SelectObject(&RedPen); - nDraw_Origin_Y = ( plotRect.bottom - 5 ) - n_PlotHeight/2; - - for( index=0; index> 4; - newY = (int)( nDraw_Origin_Y - ((n_PlotHeight * ai_data) >> 12 ) ); // (n_PlotHeight * ai_data / 4096 ) ); // ( (n_PlotHeight/2) * ai_data/2048 ) ); - } - else // PCI_9810 - { - cur_channel = index%(m_wScanChans+1); - ai_data = (I16)(pBuf[index]) >> 6; - newY = (int)( nDraw_Origin_Y - ((n_PlotHeight * ai_data) >> 10 ) ); // (n_PlotHeight * ai_data / 1024 ) ); // ( (n_PlotHeight/2) * ai_data/512 ) ); - } - - newX = (int)( index*n_PlotWidth/m_dwReadCount + plotRect.left ); - - if ( index == 0 ) - { - dc_plot.MoveTo( newX, newY ); - } - else - { - dc_plot.MoveTo( m_oldX, m_oldY ); - dc_plot.LineTo( newX, newY ); - } - - m_oldX = newX; - m_oldY = newY; - } - - return 0; -} - -void C9812SPrgDlg::OnTimer(UINT_PTR nIDEvent) -{ - // TODO: Add your message handler code here and/or call default - BOOLEAN fstop; - U32 count; - - AI_AsyncCheck(m_hCard, &fstop, &count); - - if( fstop == TRUE ) - { - AI_AsyncClear(m_hCard, &count); - - KillTimer( m_nTimer ); - m_nTimer = -1; - - display_buffer_data( m_pAIBuf, count ); - - GetDlgItem( IDC_BT_START )->EnableWindow(TRUE); - } - - CDialog::OnTimer(nIDEvent); -} - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812PreTrg/9812SPrgDlg.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812PreTrg/9812SPrgDlg.h deleted file mode 100644 index 2cf9987..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812PreTrg/9812SPrgDlg.h +++ /dev/null @@ -1,65 +0,0 @@ - -// 9812SPrgDlg.h : header file -#pragma once -#include "afxcmn.h" -#include "afxwin.h" - -#include "Dask64.h" - -// C9812SPrgDlg dialog -class C9812SPrgDlg : public CDialog -{ -// Construction -public: - C9812SPrgDlg(I16 hCard, U16 wCardType, CWnd* pParent = NULL); // standard constructor - -// Dialog Data - enum { IDD = IDD_9812DMA_DIALOG }; - - protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - - -// Implementation -protected: - HICON m_hIcon; - UINT_PTR m_nTimer; - I16 m_hCard; - U16 m_wCardType; - double m_fSampleRate; - U16 m_wScanChans; - HANDLE m_hMem; - U16 *m_pAIBuf; - U16 m_wRange; - int m_oldY; - int m_oldX; - U32 m_dwReadCount; - - // Generated message map functions - virtual BOOL OnInitDialog(); - afx_msg void OnSysCommand(UINT nID, LPARAM lParam); - afx_msg void OnPaint(); - afx_msg HCURSOR OnQueryDragIcon(); - DECLARE_MESSAGE_MAP() - -public: - WORD max_val; - WORD min_val; - double max_range; - double min_range; - int n_PlotWidth; - int n_PlotHeight; - int y_divider; - int x_divider; - int m_DisplayScale; - HBRUSH OnBrush; - HBRUSH OffBrush; - CPen RedPen; - void redraw_display_area(void); - afx_msg void OnDestroy(); - afx_msg void OnVScroll(UINT nSBCode, UINT nPos, CScrollBar* pScrollBar); - afx_msg void OnStart(); - int display_buffer_data(U16* pBuf, U32 DisplayCnt); - afx_msg void OnTimer(UINT_PTR nIDEvent); - afx_msg void OnStop(); -}; diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812PreTrg/9812SPtg.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812PreTrg/9812SPtg.suo deleted file mode 100644 index ee88dd8..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812PreTrg/9812SPtg.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812PreTrg/CardIDDlg.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812PreTrg/CardIDDlg.cpp deleted file mode 100644 index c5895ef..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812PreTrg/CardIDDlg.cpp +++ /dev/null @@ -1,74 +0,0 @@ -// CardIDDlg.cpp : implementation file -// -#include "stdafx.h" -#include "9812SPrg.h" -#include "9812SPrgDlg.h" -#include "CardIDDlg.h" - -// CCardIDDlg dialog - -IMPLEMENT_DYNAMIC(CCardIDDlg, CDialog) - -CCardIDDlg::CCardIDDlg(int nCardIdx, CWnd* pParent /*=NULL*/) - : CDialog(CCardIDDlg::IDD, pParent) -{ - m_nCardIdx = nCardIdx; -} - -CCardIDDlg::~CCardIDDlg() -{ -} - -void CCardIDDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); - DDX_Control(pDX, IDC_COMBO_CARDID, m_cbCardID); - DDX_Control(pDX, IDC_COMBO_CARDTYPE, m_cbCardType); -} - - -BEGIN_MESSAGE_MAP(CCardIDDlg, CDialog) -// ON_CBN_SELCHANGE(IDC_COMBO_CARDID, &CCardIDDlg::OnCbnSelchangeComboCardid) -ON_BN_CLICKED(IDOK, &CCardIDDlg::OnBnClickedOk) -//ON_WM_CTLCOLOR() -END_MESSAGE_MAP() - - -// CCardIDDlg message handlers - - -void CCardIDDlg::OnBnClickedOk() -{ - // TODO: Add your control notification handler code here - -// UpdateData(TRUE); - m_nCardIdx = m_cbCardID.GetCurSel(); - m_CardType = PCI_9810 + m_cbCardType.GetCurSel(); - - OnOK(); -} - -BOOL CCardIDDlg::OnInitDialog() -{ - CDialog::OnInitDialog(); - - // TODO: Add extra initialization here - m_cbCardID.SetCurSel( m_nCardIdx ); - - m_cbCardType.SetCurSel( 1 ); - m_CardType = PCI_9812; - - return TRUE; // return TRUE unless you set the focus to a control - // EXCEPTION: OCX Property Pages should return FALSE -} - -// the function to get the selected CardID -int CCardIDDlg::GetCardID(void) -{ - return m_nCardIdx; -} - -U16 CCardIDDlg::GetCardType(void) -{ - return m_CardType; -} diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812PreTrg/CardIDDlg.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812PreTrg/CardIDDlg.h deleted file mode 100644 index 23399df..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812PreTrg/CardIDDlg.h +++ /dev/null @@ -1,35 +0,0 @@ -#pragma once -#include "afxwin.h" - -#include "Dask64.h" - -// CCardIDDlg dialog - -class CCardIDDlg : public CDialog -{ - DECLARE_DYNAMIC(CCardIDDlg) - -public: - CCardIDDlg(int nCardIdx, CWnd* pParent = NULL); // standard constructor - virtual ~CCardIDDlg(); - -// Dialog Data - enum { IDD = IDD_CARDID_DIALOG }; - -protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - - DECLARE_MESSAGE_MAP() -public: - virtual BOOL OnInitDialog(); - afx_msg void OnBnClickedOk(); - // the setting of CardID ComboBox - int m_nCardIdx; - U16 m_CardType; - // the control of CardID ComboBox - CComboBox m_cbCardID; - CComboBox m_cbCardType; - // the function to get the selected CardID - int GetCardID(void); - U16 GetCardType(void); -}; diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812PreTrg/ReadMe.txt b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812PreTrg/ReadMe.txt deleted file mode 100644 index 8b373f7..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812PreTrg/ReadMe.txt +++ /dev/null @@ -1,93 +0,0 @@ -================================================================================ - MICROSOFT FOUNDATION CLASS LIBRARY : 9812SPrg Project Overview -=============================================================================== - -The application wizard has created this 9812SPrg application for -you. This application not only demonstrates the basics of using the Microsoft -Foundation Classes but is also a starting point for writing your application. - -This file contains a summary of what you will find in each of the files that -make up your 9812SPrg application. - -9812SPrg.vcproj - This is the main project file for VC++ projects generated using an application wizard. - It contains information about the version of Visual C++ that generated the file, and - information about the platforms, configurations, and project features selected with the - application wizard. - -9812SPrg.h - This is the main header file for the application. It includes other - project specific headers (including Resource.h) and declares the - C9812SPrgApp application class. - -9812SPrg.cpp - This is the main application source file that contains the application - class C9812SPrgApp. - -9812SPrg.rc - This is a listing of all of the Microsoft Windows resources that the - program uses. It includes the icons, bitmaps, and cursors that are stored - in the RES subdirectory. This file can be directly edited in Microsoft - Visual C++. Your project resources are in 1033. - -res\9812SPrg.ico - This is an icon file, which is used as the application's icon. This - icon is included by the main resource file 9812SPrg.rc. - -res\My9812SPrg.rc2 - This file contains resources that are not edited by Microsoft - Visual C++. You should place all resources not editable by - the resource editor in this file. - - -///////////////////////////////////////////////////////////////////////////// - -The application wizard creates one dialog class: - -9812SPrgDlg.h, 9812SPrgDlg.cpp - the dialog - These files contain your C9812SPrgDlg class. This class defines - the behavior of your application's main dialog. The dialog's template is - in 9812SPrg.rc, which can be edited in Microsoft Visual C++. - - -///////////////////////////////////////////////////////////////////////////// - -Other Features: - -ActiveX Controls - The application includes support to use ActiveX controls. - -///////////////////////////////////////////////////////////////////////////// - -Other standard files: - -StdAfx.h, StdAfx.cpp - These files are used to build a precompiled header (PCH) file - named 9812SPrg.pch and a precompiled types file named StdAfx.obj. - -Resource.h - This is the standard header file, which defines new resource IDs. - Microsoft Visual C++ reads and updates this file. - -9812SPrg.manifest - Application manifest files are used by Windows XP to describe an applications - dependency on specific versions of Side-by-Side assemblies. The loader uses this - information to load the appropriate assembly from the assembly cache or private - from the application. The Application manifest maybe included for redistribution - as an external .manifest file that is installed in the same folder as the application - executable or it may be included in the executable in the form of a resource. -///////////////////////////////////////////////////////////////////////////// - -Other notes: - -The application wizard uses "TODO:" to indicate parts of the source code you -should add to or customize. - -If your application uses MFC in a shared DLL, you will need -to redistribute the MFC DLLs. If your application is in a language -other than the operating system's locale, you will also have to -redistribute the corresponding localized resources MFC90XXX.DLL. -For more information on both of these topics, please see the section on -redistributing Visual C++ applications in MSDN documentation. - -///////////////////////////////////////////////////////////////////////////// diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812PreTrg/res/9812SPrg.ico b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812PreTrg/res/9812SPrg.ico deleted file mode 100644 index d56fbcd..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812PreTrg/res/9812SPrg.ico and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812PreTrg/res/My9812SPrg.rc2 b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812PreTrg/res/My9812SPrg.rc2 deleted file mode 100644 index 383cde2..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812PreTrg/res/My9812SPrg.rc2 +++ /dev/null @@ -1,13 +0,0 @@ -// -// My9111int.RC2 - resources Microsoft Visual C++ does not edit directly -// - -#ifdef APSTUDIO_INVOKED -#error this file is not editable by Microsoft Visual C++ -#endif //APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// Add manually edited resources here... - -///////////////////////////////////////////////////////////////////////////// diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812PreTrg/res/ch_set1.bmp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812PreTrg/res/ch_set1.bmp deleted file mode 100644 index f2374ed..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812PreTrg/res/ch_set1.bmp and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812PreTrg/res/ch_set2.bmp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812PreTrg/res/ch_set2.bmp deleted file mode 100644 index 32d0915..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812PreTrg/res/ch_set2.bmp and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812PreTrg/resource.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812PreTrg/resource.h deleted file mode 100644 index a2e21e5..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812PreTrg/resource.h +++ /dev/null @@ -1,37 +0,0 @@ -//{{NO_DEPENDENCIES}} -// Microsoft Visual C++ generated include file. -// Used by 9812SPrg.rc -// -#define IDM_ABOUTBOX 0x0010 -#define IDD_ABOUTBOX 100 -#define IDS_ABOUTBOX 101 -#define IDD_9812DMA_DIALOG 102 -#define IDR_MAINFRAME 128 -#define IDD_CARDID_DIALOG 129 -#define IDB_BITMAP_SET1 131 -#define IDB_BITMAP_SET2 132 -#define IDC_STATIC_DRAW 1000 -#define IDC_COMBO_CARDID 1001 -#define IDC_BT_START 1002 -#define IDC_COMBO_CARDTYPE 1002 -#define IDC_EDIT_SAMPLE_RATE 1003 -#define IDC_SCROLLBAR_RATE 1004 -#define IDC_RADIO_CH0 1005 -#define IDC_RADIO_CH1 1006 -#define IDC_RADIO_CH2 1007 -#define IDC_STATIC_01 1008 -#define IDC_EDIT_BUF_SIZE 1009 -#define IDC_STATIC_2 1010 -#define IDC_BT_STOP 1011 -#define IDC_EDIT_BUF_SIZE2 1012 - -// Next default values for new objects -// -#ifdef APSTUDIO_INVOKED -#ifndef APSTUDIO_READONLY_SYMBOLS -#define _APS_NEXT_RESOURCE_VALUE 134 -#define _APS_NEXT_COMMAND_VALUE 32771 -#define _APS_NEXT_CONTROL_VALUE 1013 -#define _APS_NEXT_SYMED_VALUE 103 -#endif -#endif diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812PreTrg/stdafx.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812PreTrg/stdafx.cpp deleted file mode 100644 index ef80626..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812PreTrg/stdafx.cpp +++ /dev/null @@ -1,8 +0,0 @@ - -// stdafx.cpp : source file that includes just the standard includes -// 9111int.pch will be the pre-compiled header -// stdafx.obj will contain the pre-compiled type information - -#include "stdafx.h" - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812PreTrg/stdafx.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812PreTrg/stdafx.h deleted file mode 100644 index 12123e2..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812PreTrg/stdafx.h +++ /dev/null @@ -1,60 +0,0 @@ - -// stdafx.h : include file for standard system include files, -// or project specific include files that are used frequently, -// but are changed infrequently - -#pragma once - -#ifndef _SECURE_ATL -#define _SECURE_ATL 1 -#endif - -#ifndef VC_EXTRALEAN -#define VC_EXTRALEAN // Exclude rarely-used stuff from Windows headers -#endif - -#include "targetver.h" - -#define _ATL_CSTRING_EXPLICIT_CONSTRUCTORS // some CString constructors will be explicit - -// turns off MFC's hiding of some common and often safely ignored warning messages -#define _AFX_ALL_WARNINGS - -#include // MFC core and standard components -#include // MFC extensions - - -#include // MFC Automation classes - - - -#ifndef _AFX_NO_OLE_SUPPORT -#include // MFC support for Internet Explorer 4 Common Controls -#endif -#ifndef _AFX_NO_AFXCMN_SUPPORT -#include // MFC support for Windows Common Controls -#endif // _AFX_NO_AFXCMN_SUPPORT - -#include // MFC support for ribbons and control bars - - - - - - - - - -#ifdef _UNICODE -#if defined _M_IX86 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='x86' publicKeyToken='6595b64144ccf1df' language='*'\"") -#elif defined _M_IA64 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='ia64' publicKeyToken='6595b64144ccf1df' language='*'\"") -#elif defined _M_X64 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='amd64' publicKeyToken='6595b64144ccf1df' language='*'\"") -#else -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='*' publicKeyToken='6595b64144ccf1df' language='*'\"") -#endif -#endif - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812PreTrg/targetver.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812PreTrg/targetver.h deleted file mode 100644 index 11730d5..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812PreTrg/targetver.h +++ /dev/null @@ -1,26 +0,0 @@ - -#pragma once - -// The following macros define the minimum required platform. The minimum required platform -// is the earliest version of Windows, Internet Explorer etc. that has the necessary features to run -// your application. The macros work by enabling all features available on platform versions up to and -// including the version specified. - -// Modify the following defines if you have to target a platform prior to the ones specified below. -// Refer to MSDN for the latest info on corresponding values for different platforms. -#ifndef WINVER // Specifies that the minimum required platform is Windows Vista. -#define WINVER 0x0600 // Change this to the appropriate value to target other versions of Windows. -#endif - -#ifndef _WIN32_WINNT // Specifies that the minimum required platform is Windows Vista. -#define _WIN32_WINNT 0x0600 // Change this to the appropriate value to target other versions of Windows. -#endif - -#ifndef _WIN32_WINDOWS // Specifies that the minimum required platform is Windows 98. -#define _WIN32_WINDOWS 0x0410 // Change this to the appropriate value to target Windows Me or later. -#endif - -#ifndef _WIN32_IE // Specifies that the minimum required platform is Internet Explorer 7.0. -#define _WIN32_IE 0x0700 // Change this to the appropriate value to target other versions of IE. -#endif - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812SoftTrg/9111int.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812SoftTrg/9111int.suo deleted file mode 100644 index 78a64b3..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812SoftTrg/9111int.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812SoftTrg/9114int.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812SoftTrg/9114int.suo deleted file mode 100644 index 8aeb8ce..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812SoftTrg/9114int.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812SoftTrg/9118dma.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812SoftTrg/9118dma.suo deleted file mode 100644 index 8b5dfa6..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812SoftTrg/9118dma.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812SoftTrg/9812dma.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812SoftTrg/9812dma.cpp deleted file mode 100644 index a0b3791..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812SoftTrg/9812dma.cpp +++ /dev/null @@ -1,111 +0,0 @@ - -// 9812dma.cpp : Defines the class behaviors for the application. -// - -#include "stdafx.h" -#include "9812dma.h" -#include "9812dmaDlg.h" -#include "CardIDDlg.h" - -#ifdef _DEBUG -#define new DEBUG_NEW -#endif - - -// C9812dmaApp - -BEGIN_MESSAGE_MAP(C9812dmaApp, CWinAppEx) - ON_COMMAND(ID_HELP, &CWinApp::OnHelp) -END_MESSAGE_MAP() - - -// C9812dmaApp construction - -C9812dmaApp::C9812dmaApp() -{ - // TODO: add construction code here, - // Place all significant initialization in InitInstance -} - - -// The one and only C9812dmaApp object - -C9812dmaApp theApp; - - -// C9812dmaApp initialization - -BOOL C9812dmaApp::InitInstance() -{ - int nCardID = 0; - I16 hCard; - U16 wCardType; - CString strTemp; - INT_PTR nResponse; - - // InitCommonControlsEx() is required on Windows XP if an application - // manifest specifies use of ComCtl32.dll version 6 or later to enable - // visual styles. Otherwise, any window creation will fail. - INITCOMMONCONTROLSEX InitCtrls; - InitCtrls.dwSize = sizeof(InitCtrls); - // Set this to include all the common control classes you want to use - // in your application. - InitCtrls.dwICC = ICC_WIN95_CLASSES; - InitCommonControlsEx(&InitCtrls); - - CWinAppEx::InitInstance(); - - AfxEnableControlContainer(); - - // Standard initialization - // If you are not using these features and wish to reduce the size - // of your final executable, you should remove from the following - // the specific initialization routines you do not need - // Change the registry key under which our settings are stored - // TODO: You should modify this string to be something appropriate - // such as the name of your company or organization - SetRegistryKey(_T("Local AppWizard-Generated Applications")); - - CCardIDDlg CardDlg( nCardID ); - - nResponse = CardDlg.DoModal(); - if (nResponse == IDOK) - { - nCardID = CardDlg.GetCardID(); - wCardType = CardDlg.GetCardType(); - - if ((hCard=Register_Card(wCardType, nCardID)) < 0) - { - strTemp.Format( TEXT("Register_Card Error = %d"), hCard); - AfxMessageBox( strTemp ); - } - else - { - C9812dmaDlg dlg(hCard, wCardType); - m_pMainWnd = &dlg; - nResponse = dlg.DoModal(); - if (nResponse == IDOK) - { - // TODO: Place code here to handle when the dialog is - // dismissed with OK - } - else if (nResponse == IDCANCEL) - { - // TODO: Place code here to handle when the dialog is - // dismissed with Cancel - } - - if (hCard >= 0) Release_Card(hCard); - } - - } - else if (nResponse == IDCANCEL) - { - // TODO: Place code here to handle when the dialog is - // dismissed with Cancel - } - - // Since the dialog has been closed, return FALSE so that we exit the - // application, rather than start the application's message pump. - return FALSE; -} diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812SoftTrg/9812dma.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812SoftTrg/9812dma.h deleted file mode 100644 index e859437..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812SoftTrg/9812dma.h +++ /dev/null @@ -1,32 +0,0 @@ - -// 9812dma.h : main header file for the PROJECT_NAME application -// - -#pragma once - -#ifndef __AFXWIN_H__ - #error "include 'stdafx.h' before including this file for PCH" -#endif - -#include "resource.h" // main symbols - - -// C9812dmaApp: -// See 9812dma.cpp for the implementation of this class -// - -class C9812dmaApp : public CWinAppEx -{ -public: - C9812dmaApp(); - -// Overrides - public: - virtual BOOL InitInstance(); - -// Implementation - - DECLARE_MESSAGE_MAP() -}; - -extern C9812dmaApp theApp; \ No newline at end of file diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812SoftTrg/9812dma.rc b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812SoftTrg/9812dma.rc deleted file mode 100644 index f38cebe..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812SoftTrg/9812dma.rc +++ /dev/null @@ -1,294 +0,0 @@ -// Microsoft Visual C++ generated resource script. -// -#include "resource.h" - -#define APSTUDIO_READONLY_SYMBOLS -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 2 resource. -// -#ifndef APSTUDIO_INVOKED -#include "targetver.h" -#endif -#include "afxres.h" - -///////////////////////////////////////////////////////////////////////////// -#undef APSTUDIO_READONLY_SYMBOLS - -///////////////////////////////////////////////////////////////////////////// -// Chinese (Taiwan) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_CHT) -#ifdef _WIN32 -LANGUAGE LANG_CHINESE, SUBLANG_CHINESE_TRADITIONAL -#pragma code_page(950) -#endif //_WIN32 - -#ifdef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// TEXTINCLUDE -// - -1 TEXTINCLUDE -BEGIN - "resource.h\0" -END - -2 TEXTINCLUDE -BEGIN - "#ifndef APSTUDIO_INVOKED\r\n" - "#include ""targetver.h""\r\n" - "#endif\r\n" - "#include ""afxres.h""\r\n" - "\0" -END - -3 TEXTINCLUDE -BEGIN - "#define _AFX_NO_SPLITTER_RESOURCES\r\n" - "#define _AFX_NO_OLE_RESOURCES\r\n" - "#define _AFX_NO_TRACKER_RESOURCES\r\n" - "#define _AFX_NO_PROPERTY_RESOURCES\r\n" - "\r\n" - "#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)\r\n" - "LANGUAGE 9, 1\r\n" - "#pragma code_page(1252)\r\n" - "#include ""res\\My9812dma.rc2"" // non-Microsoft Visual C++ edited resources\r\n" - "#include ""afxres.rc"" // Standard components\r\n" - "#endif\r\n" - "\0" -END - -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// Icon -// - -// Icon with lowest ID value placed first to ensure application icon -// remains consistent on all systems. -IDR_MAINFRAME ICON "res\\9812dma.ico" -#endif // Chinese (Taiwan) resources -///////////////////////////////////////////////////////////////////////////// - - -///////////////////////////////////////////////////////////////////////////// -// English (U.S.) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -#ifdef _WIN32 -LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US -#pragma code_page(1252) -#endif //_WIN32 - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog -// - -IDD_ABOUTBOX DIALOGEX 0, 0, 170, 62 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "About 9812dma" -FONT 8, "MS Shell Dlg", 0, 0, 0x1 -BEGIN - ICON IDR_MAINFRAME,IDC_STATIC,14,14,21,20 - LTEXT "9812dma, Version 1.0",IDC_STATIC,42,14,114,8,SS_NOPREFIX - LTEXT "Copyright (C) 2010",IDC_STATIC,42,26,114,8 - DEFPUSHBUTTON "OK",IDOK,113,41,50,14,WS_GROUP -END - -IDD_9812DMA_DIALOG DIALOGEX 0, 0, 355, 232 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU -EXSTYLE WS_EX_APPWINDOW -CAPTION "PCI-9812 Autoscan DMA " -FONT 8, "MS Shell Dlg", 0, 0, 0x1 -BEGIN - GROUPBOX "",IDC_STATIC_DRAW,45,9,227,161,NOT WS_VISIBLE - CONTROL 131,IDC_STATIC,"Static",SS_BITMAP,298,29,9,44 - LTEXT "0",IDC_STATIC,286,29,10,11 - LTEXT "1",IDC_STATIC,286,40,10,11 - LTEXT "2",IDC_STATIC,286,51,10,11 - LTEXT "3",IDC_STATIC,286,63,10,11 - LTEXT "Range : +/- 1V",IDC_STATIC,283,130,57,15 - COMBOBOX IDC_COMBO_SCANCHAN,171,197,74,17,CBS_DROPDOWN | WS_VSCROLL | WS_TABSTOP - LTEXT "Scan Channels",IDC_STATIC,171,182,53,9 - EDITTEXT IDC_EDIT_SAMPLE_RATE,57,197,39,12,ES_AUTOHSCROLL | ES_READONLY - LTEXT "Sample Rate :",IDC_STATIC,57,182,49,9 - LTEXT "KHz",IDC_STATIC,109,198,15,9 - SCROLLBAR IDC_SCROLLBAR_RATE,97,195,9,16,SBS_VERT - PUSHBUTTON "Start",IDC_BT_START,275,188,75,22 -END - -IDD_CARDID_DIALOG DIALOGEX 0, 0, 165, 120 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "Card ID" -FONT 8, "MS Shell Dlg", 400, 0, 0x1 -BEGIN - COMBOBOX IDC_COMBO_CARDID,75,24,71,126,CBS_DROPDOWN | WS_VSCROLL | WS_TABSTOP - LTEXT "Card Number",IDC_STATIC_01,21,25,46,12 - PUSHBUTTON "OK",IDOK,22,78,58,19 - PUSHBUTTON "CANCEL",IDCANCEL,86,78,58,19 - COMBOBOX IDC_COMBO_CARDTYPE,75,46,71,126,CBS_DROPDOWN | WS_VSCROLL | WS_TABSTOP - LTEXT "Card Type",IDC_STATIC_2,29,47,37,12 -END - - -///////////////////////////////////////////////////////////////////////////// -// -// Version -// - -VS_VERSION_INFO VERSIONINFO - FILEVERSION 1,0,0,1 - PRODUCTVERSION 1,0,0,1 - FILEFLAGSMASK 0x3fL -#ifdef _DEBUG - FILEFLAGS 0x1L -#else - FILEFLAGS 0x0L -#endif - FILEOS 0x4L - FILETYPE 0x1L - FILESUBTYPE 0x0L -BEGIN - BLOCK "StringFileInfo" - BEGIN - BLOCK "040904e4" - BEGIN - VALUE "CompanyName", "TODO: " - VALUE "FileDescription", "TODO: " - VALUE "FileVersion", "1.0.0.1" - VALUE "InternalName", "9812dma.exe" - VALUE "LegalCopyright", "TODO: (c) . All rights reserved." - VALUE "OriginalFilename", "9812dma.exe" - VALUE "ProductName", "TODO: " - VALUE "ProductVersion", "1.0.0.1" - END - END - BLOCK "VarFileInfo" - BEGIN - VALUE "Translation", 0x409, 1252 - END -END - - -///////////////////////////////////////////////////////////////////////////// -// -// DESIGNINFO -// - -#ifdef APSTUDIO_INVOKED -GUIDELINES DESIGNINFO -BEGIN - IDD_CARDID_DIALOG, DIALOG - BEGIN - BOTTOMMARGIN, 118 - END -END -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog Info -// - -IDD_CARDID_DIALOG DLGINIT -BEGIN - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0030, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0031, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0032, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0033, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0034, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0035, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0036, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0037, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0038, - IDC_COMBO_CARDID, 0x403, 2, 0 -0x0039, - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3031, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3131, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3231, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3331, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3431, "\000" - IDC_COMBO_CARDID, 0x403, 3, 0 -0x3531, "\000" - IDC_COMBO_CARDTYPE, 0x403, 9, 0 -0x4350, 0x5f49, 0x3839, 0x3031, "\000" - IDC_COMBO_CARDTYPE, 0x403, 9, 0 -0x4350, 0x5f49, 0x3839, 0x3231, "\000" - 0 -END - -IDD_9812DMA_DIALOG DLGINIT -BEGIN - IDC_COMBO_SCANCHAN, 0x403, 4, 0 -0x4843, 0x0030, - IDC_COMBO_SCANCHAN, 0x403, 8, 0 -0x4843, 0x7e30, 0x4843, 0x0031, - IDC_COMBO_SCANCHAN, 0x403, 8, 0 -0x4843, 0x7e30, 0x4843, 0x0033, - 0 -END - - -///////////////////////////////////////////////////////////////////////////// -// -// Bitmap -// - -IDB_BITMAP_SET1 BITMAP "res\\ch_set1.bmp" -IDB_BITMAP_SET2 BITMAP "res\\ch_set2.bmp" - -///////////////////////////////////////////////////////////////////////////// -// -// String Table -// - -STRINGTABLE -BEGIN - IDS_ABOUTBOX "&About 9812dma..." -END - -#endif // English (U.S.) resources -///////////////////////////////////////////////////////////////////////////// - - - -#ifndef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 3 resource. -// -#define _AFX_NO_SPLITTER_RESOURCES -#define _AFX_NO_OLE_RESOURCES -#define _AFX_NO_TRACKER_RESOURCES -#define _AFX_NO_PROPERTY_RESOURCES - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -LANGUAGE 9, 1 -#pragma code_page(1252) -#include "res\My9812dma.rc2" // non-Microsoft Visual C++ edited resources -#include "afxres.rc" // Standard components -#endif - -///////////////////////////////////////////////////////////////////////////// -#endif // not APSTUDIO_INVOKED - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812SoftTrg/9812dma.sln b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812SoftTrg/9812dma.sln deleted file mode 100644 index 99c2dfc..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812SoftTrg/9812dma.sln +++ /dev/null @@ -1,20 +0,0 @@ - -Microsoft Visual Studio Solution File, Format Version 10.00 -# Visual Studio 2008 -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "9812dma", "9812dma.vcproj", "{702163FB-B6DF-4EF5-9491-FC54D71509BC}" -EndProject -Global - GlobalSection(SolutionConfigurationPlatforms) = preSolution - Debug|x64 = Debug|x64 - Release|x64 = Release|x64 - EndGlobalSection - GlobalSection(ProjectConfigurationPlatforms) = postSolution - {702163FB-B6DF-4EF5-9491-FC54D71509BC}.Debug|x64.ActiveCfg = Debug|x64 - {702163FB-B6DF-4EF5-9491-FC54D71509BC}.Debug|x64.Build.0 = Debug|x64 - {702163FB-B6DF-4EF5-9491-FC54D71509BC}.Release|x64.ActiveCfg = Release|x64 - {702163FB-B6DF-4EF5-9491-FC54D71509BC}.Release|x64.Build.0 = Release|x64 - EndGlobalSection - GlobalSection(SolutionProperties) = preSolution - HideSolutionNode = FALSE - EndGlobalSection -EndGlobal diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812SoftTrg/9812dma.suo b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812SoftTrg/9812dma.suo deleted file mode 100644 index 49775d9..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812SoftTrg/9812dma.suo and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812SoftTrg/9812dma.vcproj b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812SoftTrg/9812dma.vcproj deleted file mode 100644 index ecc0449..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812SoftTrg/9812dma.vcproj +++ /dev/null @@ -1,294 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812SoftTrg/9812dmaDlg.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812SoftTrg/9812dmaDlg.cpp deleted file mode 100644 index 28ebfa3..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812SoftTrg/9812dmaDlg.cpp +++ /dev/null @@ -1,503 +0,0 @@ - -// 9812dmaDlg.cpp : implementation file -// - -#include "stdafx.h" -#include "9812dma.h" -#include "9812dmaDlg.h" - -#ifdef _DEBUG -#define new DEBUG_NEW -#endif - -CRect plotRect; -#define AI_SAMPLE_COUNT 5120 - -// CAboutDlg dialog used for App About - -class CAboutDlg : public CDialog -{ -public: - CAboutDlg(); - -// Dialog Data - enum { IDD = IDD_ABOUTBOX }; - - protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - -// Implementation -protected: - DECLARE_MESSAGE_MAP() -}; - -CAboutDlg::CAboutDlg() : CDialog(CAboutDlg::IDD) -{ -} - -void CAboutDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); -} - -BEGIN_MESSAGE_MAP(CAboutDlg, CDialog) -END_MESSAGE_MAP() - - -// C9812dmaDlg dialog - - - - -C9812dmaDlg::C9812dmaDlg(I16 hCard, U16 wCardType, CWnd* pParent /*=NULL*/) - : CDialog(C9812dmaDlg::IDD, pParent) -{ - m_hIcon = AfxGetApp()->LoadIcon(IDR_MAINFRAME); - - n_PlotWidth = n_PlotHeight = -1; - OnBrush = OffBrush = NULL; - - min_val = 0x00; - max_val = 0x0FFF; - - m_fSampleRate = 1000000.0; // 1MHz - - m_hCard = hCard; - m_wScanChans = 0; - m_nTimer = -1; - m_hMem=NULL; - - m_wRange = AD_B_1_V; - - m_wCardType = wCardType; - -} - -void C9812dmaDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); - DDX_Control(pDX, IDC_COMBO_SCANCHAN, m_cbScanChans); -} - -BEGIN_MESSAGE_MAP(C9812dmaDlg, CDialog) - ON_WM_SYSCOMMAND() - ON_WM_PAINT() - ON_WM_QUERYDRAGICON() - //}}AFX_MSG_MAP - ON_WM_DESTROY() - ON_WM_VSCROLL() - ON_CBN_SELCHANGE(IDC_COMBO_SCANCHAN, &C9812dmaDlg::OnScanChanSelchange) - ON_BN_CLICKED(IDC_BT_START, &C9812dmaDlg::OnStart) -END_MESSAGE_MAP() - - -// C9812dmaDlg message handlers - -BOOL C9812dmaDlg::OnInitDialog() -{ - CDialog::OnInitDialog(); - - // Add "About..." menu item to system menu. - - // IDM_ABOUTBOX must be in the system command range. - ASSERT((IDM_ABOUTBOX & 0xFFF0) == IDM_ABOUTBOX); - ASSERT(IDM_ABOUTBOX < 0xF000); - - CMenu* pSysMenu = GetSystemMenu(FALSE); - if (pSysMenu != NULL) - { - BOOL bNameValid; - CString strAboutMenu; - bNameValid = strAboutMenu.LoadString(IDS_ABOUTBOX); - ASSERT(bNameValid); - if (!strAboutMenu.IsEmpty()) - { - pSysMenu->AppendMenu(MF_SEPARATOR); - pSysMenu->AppendMenu(MF_STRING, IDM_ABOUTBOX, strAboutMenu); - } - } - - // Set the icon for this dialog. The framework does this automatically - // when the application's main window is not a dialog - SetIcon(m_hIcon, TRUE); // Set big icon - SetIcon(m_hIcon, FALSE); // Set small icon - - if( m_wCardType == PCI_9812 ) - SetWindowText( TEXT("PCI-9812 Autoscan DMA") ); - if( m_wCardType == PCI_9810 ) - SetWindowText( TEXT("PCI-9810 Autoscan DMA") ); - - // TODO: Add extra initialization here - x_divider = 5; y_divider = 4; - - OnBrush = CreateSolidBrush( RGB(255,0,0) ); - OffBrush = CreateSolidBrush( RGB(125,0,0) ); - - RedPen.CreatePen( PS_SOLID, 1, RGB(255,0,0)); - GreenPen.CreatePen( PS_SOLID, 1, RGB(0,255,0)); - YellowPen.CreatePen( PS_SOLID, 1, RGB(255,255,0)); - BluePen.CreatePen( PS_SOLID, 1, RGB(0,0,255)); - - if( n_PlotWidth == -1 && n_PlotHeight == -1 ) - { - ((CWnd*)GetDlgItem(IDC_STATIC_DRAW))->GetWindowRect(&plotRect); - ScreenToClient(&plotRect); - - n_PlotWidth = min( plotRect.Width(), 512); - n_PlotHeight = plotRect.Height() - 10; - } - - - // set the default SampleRate - SetDlgItemInt( IDC_EDIT_SAMPLE_RATE, (UINT)(m_fSampleRate/1000) ); - m_cbScanChans.SetCurSel( 0 ); - - max_range = 1.0; - min_range = -1.0; - - return TRUE; // return TRUE unless you set the focus to a control -} - -void C9812dmaDlg::OnSysCommand(UINT nID, LPARAM lParam) -{ - if ((nID & 0xFFF0) == IDM_ABOUTBOX) - { - CAboutDlg dlgAbout; - dlgAbout.DoModal(); - } - else - { - CDialog::OnSysCommand(nID, lParam); - } -} - -// If you add a minimize button to your dialog, you will need the code below -// to draw the icon. For MFC applications using the document/view model, -// this is automatically done for you by the framework. - -void C9812dmaDlg::OnPaint() -{ - if (IsIconic()) - { - CPaintDC dc(this); // device context for painting - - SendMessage(WM_ICONERASEBKGND, reinterpret_cast(dc.GetSafeHdc()), 0); - - // Center icon in client rectangle - int cxIcon = GetSystemMetrics(SM_CXICON); - int cyIcon = GetSystemMetrics(SM_CYICON); - CRect rect; - GetClientRect(&rect); - int x = (rect.Width() - cxIcon + 1) / 2; - int y = (rect.Height() - cyIcon + 1) / 2; - - // Draw the icon - dc.DrawIcon(x, y, m_hIcon); - } - else - { - redraw_display_area(); - CDialog::OnPaint(); - } -} - -// The system calls this function to obtain the cursor to display while the user drags -// the minimized window. -HCURSOR C9812dmaDlg::OnQueryDragIcon() -{ - return static_cast(m_hIcon); -} - - -void C9812dmaDlg::redraw_display_area(void) -{ - CPen *oldPen; - - int oldMode; - COLORREF oldColor; - - CString y_lable; - - CPen minor_tick( PS_SOLID,1,RGB(132,130,132) ); -// CPen y_grid( PS_SOLID,1,RGB(206,203,132) ); - - int i, x_intv, y_intv; -// long total_sec; - - CClientDC dc_plot(this); - - // draw the base-line for x-y axises - oldPen = (CPen *)dc_plot.SelectStockObject(BLACK_PEN); - - // redraw the background - dc_plot.FillSolidRect( plotRect, RGB(0,0,0) ); - - // Re-Draw the AREA for Y-Lable - { - CBrush DIALOG_BRUSH; - CRect redraw_area, full_client; - - GetClientRect(&full_client); - ScreenToClient(&full_client); - - redraw_area.left = full_client.left; - redraw_area.top = plotRect.top - 5; - redraw_area.right = plotRect.left - 3; - redraw_area.bottom = plotRect.bottom + 10; - - DIALOG_BRUSH.CreateSysColorBrush( COLOR_3DFACE ); - - dc_plot.FillRect( redraw_area, &DIALOG_BRUSH ); - - DIALOG_BRUSH.DeleteObject(); - } - - dc_plot.MoveTo( plotRect.left - 3, plotRect.top ); - dc_plot.LineTo( plotRect.left - 3, plotRect.bottom ); - - // calculate the interval for tick/grid - y_intv = (plotRect.Height() - 10) /y_divider; - x_intv = plotRect.Width()/x_divider; - - - // set the color for tick - oldColor = dc_plot.SetTextColor( RGB(0,0,0) ); - oldMode = dc_plot.SetBkMode( TRANSPARENT ); - - for( i=0; i<= y_divider; i++ ) - { - CString tick_str; - CRect tmp_rect, tick_rect; - - // draw the tick for y-axis - dc_plot.MoveTo( plotRect.left -12, plotRect.bottom -5 - (i*y_intv) ); - dc_plot.LineTo( plotRect.left -3, plotRect.bottom -5 - (i*y_intv) ); - - tick_str.Format( _T("%.1f"), ( ((max_range-min_range)/y_divider) * i)+min_range ); - - // calculate the rectangle for text - dc_plot.DrawText( tick_str, &tmp_rect, DT_CALCRECT|DT_SINGLELINE ); - tick_rect.right = plotRect.left -14; - tick_rect.left = tick_rect.right - tmp_rect.Width(); - tick_rect.top = plotRect.bottom -5 - (i*y_intv) - tmp_rect.Height()/2; - tick_rect.bottom = tick_rect.top + tmp_rect.Height(); - - // draw the text - dc_plot.DrawText( tick_str, &tick_rect, DT_SINGLELINE|DT_RIGHT ); - - } - - // draw the minor_tick for Y axises - dc_plot.SelectObject(&minor_tick); - for( i=0; i< y_divider; i++ ) - { - dc_plot.MoveTo( plotRect.left -9, plotRect.bottom -5 - (i*y_intv) - y_intv/2 ); - dc_plot.LineTo( plotRect.left -4, plotRect.bottom -5 - (i*y_intv) - y_intv/2 ); - } - - dc_plot.SetTextColor( oldColor ); - dc_plot.SetBkMode( oldMode ); - dc_plot.SelectObject( oldPen ); -} - -void C9812dmaDlg::OnDestroy() -{ - CDialog::OnDestroy(); - - // TODO: Add your message handler code here - if( m_nTimer != -1 ) - { - KillTimer( m_nTimer ); - m_nTimer = -1; - } - - if (m_hMem != NULL) - { - GlobalUnfix(m_hMem); - GlobalUnlock(m_hMem); - GlobalFree(m_hMem); - - m_hMem = NULL; - } - - if( OnBrush != NULL ) - ::DeleteObject( OnBrush ); - - if( OffBrush != NULL ) - ::DeleteObject( OffBrush ); - - RedPen.DeleteObject(); - GreenPen.DeleteObject(); - YellowPen.DeleteObject(); - BluePen.DeleteObject(); -} - -void C9812dmaDlg::OnVScroll(UINT nSBCode, UINT nPos, CScrollBar* pScrollBar) -{ - // TODO: Add your message handler code here and/or call default - switch ( nSBCode ) - { - case SB_LINEUP : - m_fSampleRate += 100000.0; // 100KHz - if (m_fSampleRate > 20*1000000.0 ) m_fSampleRate = 20*1000000.0; - break; - case SB_LINEDOWN: - m_fSampleRate -= 100000.0; // 100KHz - if (m_fSampleRate < 5000.0 ) m_fSampleRate = 5000.0; - break; - } - - SetDlgItemInt( IDC_EDIT_SAMPLE_RATE, (UINT)(m_fSampleRate/1000) ); - - CDialog::OnVScroll(nSBCode, nPos, pScrollBar); -} - -void C9812dmaDlg::OnScanChanSelchange() -{ - // TODO: Add your control notification handler code here - int nIndex; - - nIndex = m_cbScanChans.GetCurSel(); - - - switch( nIndex ) - { - case 0: - m_wScanChans = (U16)0; // single channel - Ch0 - break; - case 1: - m_wScanChans = (U16)1; // CH0 and CH1 - break; - case 2: - m_wScanChans = (U16)3; // CH0, CH1, CH2 and CH3 - break; - } - -} - -void C9812dmaDlg::OnStart() -{ - // TODO: Add your control notification handler code here - DWORD mem_size; - CString strTemp; - I16 err; - - GetDlgItem( IDC_BT_START )->EnableWindow(FALSE); - - if (m_hMem != NULL) - { - GlobalUnfix(m_hMem); - GlobalUnlock(m_hMem); - GlobalFree(m_hMem); - - m_hMem = NULL; - } - - // allocate a memory for user DMA buffer - mem_size = AI_SAMPLE_COUNT * sizeof(I16); - m_hMem = GlobalAlloc(GMEM_ZEROINIT, mem_size); - m_pAIBuf = (U16*) GlobalLock(m_hMem); - - if (m_pAIBuf == NULL ) - { - AfxMessageBox( TEXT("Memory allocation failed"), MB_OK); - } - - GlobalFix(m_hMem); - - m_oldY[0] = m_oldY[1] = m_oldY[2] = m_oldY[3] = -1; - m_oldX[0] = m_oldX[1] = m_oldX[2] = m_oldX[3] = -1; - - err = AI_9812_Config(m_hCard, P9812_TRGMOD_SOFT, P9812_TRGSRC_CH0, P9812_TRGSLP_POS, P9812_AD2_GT_PCI|P9812_CLKSRC_INT, 0x80, 0); - if (err!=0) - { - strTemp.Format( TEXT("AI_9812_Config error=%d"), err); - AfxMessageBox( strTemp ); - } - - err=AI_AsyncDblBufferMode(m_hCard, 0); // single-buffer mode - if (err!=0) - { - strTemp.Format( TEXT("AI_DblBufferMode error=%d"), err); - AfxMessageBox( strTemp ); - } - - err = AI_ContScanChannels (m_hCard, m_wScanChans, m_wRange, (U16*)m_pAIBuf, AI_SAMPLE_COUNT, (F64)m_fSampleRate, SYNCH_OP); - if (err!=0) - { - strTemp.Format( TEXT("AI_ContScanChannels error=%d"), err); - AfxMessageBox( strTemp ); - } - - display_buffer_data(m_pAIBuf); - - GetDlgItem( IDC_BT_START )->EnableWindow(TRUE); - -} - -int C9812dmaDlg::display_buffer_data(U16* pBuf) -{ - CClientDC dc_plot(this); - int nDraw_Origin_Y; - int cur_channel; - - int newY = -1; - int newX = -1; - U32 index; - I16 ai_data; - - nDraw_Origin_Y = ( plotRect.bottom - 5 ) - n_PlotHeight/2; - - // redraw the background - dc_plot.FillSolidRect( plotRect, RGB(0,0,0) ); - - for( index=0; index> 4; - newY = (int)( nDraw_Origin_Y - ((n_PlotHeight * ai_data) >> 12 ) ); // (n_PlotHeight * ai_data / 4096 ) ); // ( (n_PlotHeight/2) * ai_data/2048 ) ); - } - else // PCI_9810 - { - cur_channel = index%(m_wScanChans+1); - ai_data = (I16)(pBuf[index]) >> 6; - newY = (int)( nDraw_Origin_Y - ((n_PlotHeight * ai_data) >> 10 ) ); // (n_PlotHeight * ai_data / 1024 ) ); // ( (n_PlotHeight/2) * ai_data/512 ) ); - } - - newX = (int)( index*n_PlotWidth/AI_SAMPLE_COUNT + plotRect.left ); - - switch(cur_channel) - { - case 0: - dc_plot.SelectObject(&YellowPen); - break; - case 1: - dc_plot.SelectObject(&GreenPen); - break; - case 2: - dc_plot.SelectObject(&BluePen); - break; - case 3: - dc_plot.SelectObject(&RedPen); - break; - } - - if ( m_oldX[cur_channel] == -1 ) - { - dc_plot.MoveTo( newX, newY ); - } - else - { - dc_plot.MoveTo( m_oldX[cur_channel], m_oldY[cur_channel] ); - dc_plot.LineTo( newX, newY ); - } - - m_oldX[cur_channel] = newX; - m_oldY[cur_channel] = newY; - } - - return 0; -} diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812SoftTrg/9812dmaDlg.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812SoftTrg/9812dmaDlg.h deleted file mode 100644 index 84f80b6..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812SoftTrg/9812dmaDlg.h +++ /dev/null @@ -1,68 +0,0 @@ - -// 9812dmaDlg.h : header file -#pragma once -#include "afxcmn.h" -#include "afxwin.h" - -#include "Dask64.h" - - -// C9812dmaDlg dialog -class C9812dmaDlg : public CDialog -{ -// Construction -public: - C9812dmaDlg(I16 hCard, U16 wCardType, CWnd* pParent = NULL); // standard constructor - -// Dialog Data - enum { IDD = IDD_9812DMA_DIALOG }; - - protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - - -// Implementation -protected: - HICON m_hIcon; - UINT_PTR m_nTimer; - I16 m_hCard; - U16 m_wCardType; - double m_fSampleRate; - U16 m_wScanChans; - HANDLE m_hMem; - U16 *m_pAIBuf; - U16 m_wRange; - int m_oldY[4]; - int m_oldX[4]; - - // Generated message map functions - virtual BOOL OnInitDialog(); - afx_msg void OnSysCommand(UINT nID, LPARAM lParam); - afx_msg void OnPaint(); - afx_msg HCURSOR OnQueryDragIcon(); - DECLARE_MESSAGE_MAP() - -public: - WORD max_val; - WORD min_val; - double max_range; - double min_range; - int n_PlotWidth; - int n_PlotHeight; - int y_divider; - int x_divider; - int m_DisplayScale; - HBRUSH OnBrush; - HBRUSH OffBrush; - CPen RedPen; - CPen GreenPen; - CPen YellowPen; - CPen BluePen; - void redraw_display_area(void); - afx_msg void OnDestroy(); - CComboBox m_cbScanChans; - afx_msg void OnVScroll(UINT nSBCode, UINT nPos, CScrollBar* pScrollBar); - afx_msg void OnScanChanSelchange(); - afx_msg void OnStart(); - int display_buffer_data(U16* pBuf); -}; diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812SoftTrg/CardIDDlg.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812SoftTrg/CardIDDlg.cpp deleted file mode 100644 index 94cd94e..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812SoftTrg/CardIDDlg.cpp +++ /dev/null @@ -1,75 +0,0 @@ -// CardIDDlg.cpp : implementation file -// -#include "stdafx.h" -#include "9812dma.h" -#include "9812dmaDlg.h" -#include "CardIDDlg.h" - -// CCardIDDlg dialog - -IMPLEMENT_DYNAMIC(CCardIDDlg, CDialog) - -CCardIDDlg::CCardIDDlg(int nCardIdx, CWnd* pParent /*=NULL*/) - : CDialog(CCardIDDlg::IDD, pParent) -{ - m_nCardIdx = nCardIdx; -} - -CCardIDDlg::~CCardIDDlg() -{ -} - -void CCardIDDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); - DDX_Control(pDX, IDC_COMBO_CARDID, m_cbCardID); - DDX_Control(pDX, IDC_COMBO_CARDTYPE, m_cbCardType); -} - - -BEGIN_MESSAGE_MAP(CCardIDDlg, CDialog) -// ON_CBN_SELCHANGE(IDC_COMBO_CARDID, &CCardIDDlg::OnCbnSelchangeComboCardid) -ON_BN_CLICKED(IDOK, &CCardIDDlg::OnBnClickedOk) -//ON_WM_CTLCOLOR() -END_MESSAGE_MAP() - - -// CCardIDDlg message handlers - - -void CCardIDDlg::OnBnClickedOk() -{ - // TODO: Add your control notification handler code here - -// UpdateData(TRUE); - m_nCardIdx = m_cbCardID.GetCurSel(); - m_CardType = PCI_9810 + m_cbCardType.GetCurSel(); - - OnOK(); -} - -BOOL CCardIDDlg::OnInitDialog() -{ - CDialog::OnInitDialog(); - - // TODO: Add extra initialization here - m_cbCardID.SetCurSel( m_nCardIdx ); - - m_cbCardType.SetCurSel( 1 ); - m_CardType = PCI_9812; - - return TRUE; // return TRUE unless you set the focus to a control - // EXCEPTION: OCX Property Pages should return FALSE -} - -// the function to get the selected CardID -int CCardIDDlg::GetCardID(void) -{ - return m_nCardIdx; -} - - -U16 CCardIDDlg::GetCardType(void) -{ - return m_CardType; -} \ No newline at end of file diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812SoftTrg/CardIDDlg.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812SoftTrg/CardIDDlg.h deleted file mode 100644 index 23399df..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812SoftTrg/CardIDDlg.h +++ /dev/null @@ -1,35 +0,0 @@ -#pragma once -#include "afxwin.h" - -#include "Dask64.h" - -// CCardIDDlg dialog - -class CCardIDDlg : public CDialog -{ - DECLARE_DYNAMIC(CCardIDDlg) - -public: - CCardIDDlg(int nCardIdx, CWnd* pParent = NULL); // standard constructor - virtual ~CCardIDDlg(); - -// Dialog Data - enum { IDD = IDD_CARDID_DIALOG }; - -protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - - DECLARE_MESSAGE_MAP() -public: - virtual BOOL OnInitDialog(); - afx_msg void OnBnClickedOk(); - // the setting of CardID ComboBox - int m_nCardIdx; - U16 m_CardType; - // the control of CardID ComboBox - CComboBox m_cbCardID; - CComboBox m_cbCardType; - // the function to get the selected CardID - int GetCardID(void); - U16 GetCardType(void); -}; diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812SoftTrg/ReadMe.txt b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812SoftTrg/ReadMe.txt deleted file mode 100644 index 1cd9995..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812SoftTrg/ReadMe.txt +++ /dev/null @@ -1,93 +0,0 @@ -================================================================================ - MICROSOFT FOUNDATION CLASS LIBRARY : 9812dma Project Overview -=============================================================================== - -The application wizard has created this 9812dma application for -you. This application not only demonstrates the basics of using the Microsoft -Foundation Classes but is also a starting point for writing your application. - -This file contains a summary of what you will find in each of the files that -make up your 9812dma application. - -9812dma.vcproj - This is the main project file for VC++ projects generated using an application wizard. - It contains information about the version of Visual C++ that generated the file, and - information about the platforms, configurations, and project features selected with the - application wizard. - -9812dma.h - This is the main header file for the application. It includes other - project specific headers (including Resource.h) and declares the - C9812dmaApp application class. - -9812dma.cpp - This is the main application source file that contains the application - class C9812dmaApp. - -9812dma.rc - This is a listing of all of the Microsoft Windows resources that the - program uses. It includes the icons, bitmaps, and cursors that are stored - in the RES subdirectory. This file can be directly edited in Microsoft - Visual C++. Your project resources are in 1033. - -res\9812dma.ico - This is an icon file, which is used as the application's icon. This - icon is included by the main resource file 9812dma.rc. - -res\My9812dma.rc2 - This file contains resources that are not edited by Microsoft - Visual C++. You should place all resources not editable by - the resource editor in this file. - - -///////////////////////////////////////////////////////////////////////////// - -The application wizard creates one dialog class: - -9812dmaDlg.h, 9812dmaDlg.cpp - the dialog - These files contain your C9812dmaDlg class. This class defines - the behavior of your application's main dialog. The dialog's template is - in 9812dma.rc, which can be edited in Microsoft Visual C++. - - -///////////////////////////////////////////////////////////////////////////// - -Other Features: - -ActiveX Controls - The application includes support to use ActiveX controls. - -///////////////////////////////////////////////////////////////////////////// - -Other standard files: - -StdAfx.h, StdAfx.cpp - These files are used to build a precompiled header (PCH) file - named 9812dma.pch and a precompiled types file named StdAfx.obj. - -Resource.h - This is the standard header file, which defines new resource IDs. - Microsoft Visual C++ reads and updates this file. - -9812dma.manifest - Application manifest files are used by Windows XP to describe an applications - dependency on specific versions of Side-by-Side assemblies. The loader uses this - information to load the appropriate assembly from the assembly cache or private - from the application. The Application manifest maybe included for redistribution - as an external .manifest file that is installed in the same folder as the application - executable or it may be included in the executable in the form of a resource. -///////////////////////////////////////////////////////////////////////////// - -Other notes: - -The application wizard uses "TODO:" to indicate parts of the source code you -should add to or customize. - -If your application uses MFC in a shared DLL, you will need -to redistribute the MFC DLLs. If your application is in a language -other than the operating system's locale, you will also have to -redistribute the corresponding localized resources MFC90XXX.DLL. -For more information on both of these topics, please see the section on -redistributing Visual C++ applications in MSDN documentation. - -///////////////////////////////////////////////////////////////////////////// diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812SoftTrg/res/9812dma.ico b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812SoftTrg/res/9812dma.ico deleted file mode 100644 index d56fbcd..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812SoftTrg/res/9812dma.ico and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812SoftTrg/res/My9812dma.rc2 b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812SoftTrg/res/My9812dma.rc2 deleted file mode 100644 index 64653dc..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812SoftTrg/res/My9812dma.rc2 +++ /dev/null @@ -1,13 +0,0 @@ -// -// My9118dma.rc2 - resources Microsoft Visual C++ does not edit directly -// - -#ifdef APSTUDIO_INVOKED -#error this file is not editable by Microsoft Visual C++ -#endif //APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// Add manually edited resources here... - -///////////////////////////////////////////////////////////////////////////// diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812SoftTrg/res/ch_set1.bmp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812SoftTrg/res/ch_set1.bmp deleted file mode 100644 index f2374ed..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812SoftTrg/res/ch_set1.bmp and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812SoftTrg/res/ch_set2.bmp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812SoftTrg/res/ch_set2.bmp deleted file mode 100644 index 32d0915..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812SoftTrg/res/ch_set2.bmp and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812SoftTrg/resource.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812SoftTrg/resource.h deleted file mode 100644 index 7904e52..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812SoftTrg/resource.h +++ /dev/null @@ -1,32 +0,0 @@ -//{{NO_DEPENDENCIES}} -// Microsoft Visual C++ generated include file. -// Used by 9812dma.rc -// -#define IDM_ABOUTBOX 0x0010 -#define IDD_ABOUTBOX 100 -#define IDS_ABOUTBOX 101 -#define IDD_9812DMA_DIALOG 102 -#define IDR_MAINFRAME 128 -#define IDD_CARDID_DIALOG 129 -#define IDB_BITMAP_SET1 131 -#define IDB_BITMAP_SET2 132 -#define IDC_STATIC_DRAW 1000 -#define IDC_COMBO_CARDID 1001 -#define IDC_COMBO_SCANCHAN 1002 -#define IDC_COMBO_CARDTYPE 1002 -#define IDC_BT_START 1003 -#define IDC_EDIT_SAMPLE_RATE 1004 -#define IDC_SCROLLBAR_RATE 1005 -#define IDC_STATIC_01 1006 -#define IDC_STATIC_2 1007 - -// Next default values for new objects -// -#ifdef APSTUDIO_INVOKED -#ifndef APSTUDIO_READONLY_SYMBOLS -#define _APS_NEXT_RESOURCE_VALUE 133 -#define _APS_NEXT_COMMAND_VALUE 32771 -#define _APS_NEXT_CONTROL_VALUE 1008 -#define _APS_NEXT_SYMED_VALUE 103 -#endif -#endif diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812SoftTrg/stdafx.cpp b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812SoftTrg/stdafx.cpp deleted file mode 100644 index ef80626..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812SoftTrg/stdafx.cpp +++ /dev/null @@ -1,8 +0,0 @@ - -// stdafx.cpp : source file that includes just the standard includes -// 9111int.pch will be the pre-compiled header -// stdafx.obj will contain the pre-compiled type information - -#include "stdafx.h" - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812SoftTrg/stdafx.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812SoftTrg/stdafx.h deleted file mode 100644 index 12123e2..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812SoftTrg/stdafx.h +++ /dev/null @@ -1,60 +0,0 @@ - -// stdafx.h : include file for standard system include files, -// or project specific include files that are used frequently, -// but are changed infrequently - -#pragma once - -#ifndef _SECURE_ATL -#define _SECURE_ATL 1 -#endif - -#ifndef VC_EXTRALEAN -#define VC_EXTRALEAN // Exclude rarely-used stuff from Windows headers -#endif - -#include "targetver.h" - -#define _ATL_CSTRING_EXPLICIT_CONSTRUCTORS // some CString constructors will be explicit - -// turns off MFC's hiding of some common and often safely ignored warning messages -#define _AFX_ALL_WARNINGS - -#include // MFC core and standard components -#include // MFC extensions - - -#include // MFC Automation classes - - - -#ifndef _AFX_NO_OLE_SUPPORT -#include // MFC support for Internet Explorer 4 Common Controls -#endif -#ifndef _AFX_NO_AFXCMN_SUPPORT -#include // MFC support for Windows Common Controls -#endif // _AFX_NO_AFXCMN_SUPPORT - -#include // MFC support for ribbons and control bars - - - - - - - - - -#ifdef _UNICODE -#if defined _M_IX86 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='x86' publicKeyToken='6595b64144ccf1df' language='*'\"") -#elif defined _M_IA64 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='ia64' publicKeyToken='6595b64144ccf1df' language='*'\"") -#elif defined _M_X64 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='amd64' publicKeyToken='6595b64144ccf1df' language='*'\"") -#else -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='*' publicKeyToken='6595b64144ccf1df' language='*'\"") -#endif -#endif - - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812SoftTrg/targetver.h b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812SoftTrg/targetver.h deleted file mode 100644 index 11730d5..0000000 --- a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Samples_x64/9812/SDK9812SoftTrg/targetver.h +++ /dev/null @@ -1,26 +0,0 @@ - -#pragma once - -// The following macros define the minimum required platform. The minimum required platform -// is the earliest version of Windows, Internet Explorer etc. that has the necessary features to run -// your application. The macros work by enabling all features available on platform versions up to and -// including the version specified. - -// Modify the following defines if you have to target a platform prior to the ones specified below. -// Refer to MSDN for the latest info on corresponding values for different platforms. -#ifndef WINVER // Specifies that the minimum required platform is Windows Vista. -#define WINVER 0x0600 // Change this to the appropriate value to target other versions of Windows. -#endif - -#ifndef _WIN32_WINNT // Specifies that the minimum required platform is Windows Vista. -#define _WIN32_WINNT 0x0600 // Change this to the appropriate value to target other versions of Windows. -#endif - -#ifndef _WIN32_WINDOWS // Specifies that the minimum required platform is Windows 98. -#define _WIN32_WINDOWS 0x0410 // Change this to the appropriate value to target Windows Me or later. -#endif - -#ifndef _WIN32_IE // Specifies that the minimum required platform is Internet Explorer 7.0. -#define _WIN32_IE 0x0700 // Change this to the appropriate value to target other versions of IE. -#endif - diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Utility/W2K_DAQCvt.exe b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Utility/W2K_DAQCvt.exe deleted file mode 100644 index d9ca956..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Utility/W2K_DAQCvt.exe and /dev/null differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Utility/W2K_PciUtil.exe b/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Utility/W2K_PciUtil.exe deleted file mode 100644 index 8a3e5ff..0000000 Binary files a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Utility/W2K_PciUtil.exe and /dev/null differ diff --git a/leak_test_project/bin/Release/Logs/2026-04-08_system.log b/leak_test_project/bin/Release/Logs/2026-04-08_system.log deleted file mode 100644 index 926c3c4..0000000 --- a/leak_test_project/bin/Release/Logs/2026-04-08_system.log +++ /dev/null @@ -1 +0,0 @@ -[10:08:53.914] [ERROR] [Board4253] Timeout waiting for response: x00c_001101:owt28006727ea97c7801 diff --git a/leak_test_project/bin/Release/Logs/2026-04-10_system.log b/leak_test_project/bin/Release/Logs/2026-04-10_system.log deleted file mode 100644 index 111f978..0000000 --- a/leak_test_project/bin/Release/Logs/2026-04-10_system.log +++ /dev/null @@ -1,110 +0,0 @@ -[10:55:42.190] [WARNING] [Board4253] Timeout waiting for response (Retry 1/3): x00c_001101:or2800326003e -[10:55:43.011] [WARNING] [Board4253] Timeout waiting for response (Retry 2/3): x00c_001101:or2800326003e -[10:55:43.825] [WARNING] [Board4253] Timeout waiting for response (Retry 3/3): x00c_001101:or2800326003e -[10:55:44.651] [WARNING] [Board4253] Timeout waiting for response (Retry 4/3): x00c_001101:or2800326003e -[10:55:44.651] [ERROR] [Board4253] Failed to receive response after 3 retries: x00c_001101:or2800326003e -[10:55:50.603] [ERROR] [Board4253] Failed to receive response after 3 retries: x00c_001101:owt28006727ea97c7801 -[10:56:00.155] [WARNING] [Board4253] Timeout waiting for response (Retry 1/3): x00c_001101:or2800326003e -[10:56:00.972] [WARNING] [Board4253] Timeout waiting for response (Retry 2/3): x00c_001101:or2800326003e -[10:56:01.777] [WARNING] [Board4253] Timeout waiting for response (Retry 3/3): x00c_001101:or2800326003e -[10:56:02.589] [WARNING] [Board4253] Timeout waiting for response (Retry 4/3): x00c_001101:or2800326003e -[10:56:02.590] [ERROR] [Board4253] Failed to receive response after 3 retries: x00c_001101:or2800326003e -[11:45:27.879] [WARNING] [Board4253] Timeout waiting for response (Retry 1/3). Command: x00c_001101:ow2800326003e, ReceivedSoFar: -[11:45:28.685] [WARNING] [Board4253] Timeout waiting for response (Retry 2/3). Command: x00c_001101:ow2800326003e, ReceivedSoFar: -[11:45:29.496] [WARNING] [Board4253] Timeout waiting for response (Retry 3/3). Command: x00c_001101:ow2800326003e, ReceivedSoFar: -[11:45:30.310] [WARNING] [Board4253] Timeout waiting for response (Retry 4/3). Command: x00c_001101:ow2800326003e, ReceivedSoFar: -[11:45:30.311] [ERROR] [Board4253] Failed to receive response after 3 retries: x00c_001101:ow2800326003e -[11:45:33.669] [WARNING] [Board4253] Timeout waiting for response (Retry 1/3). Command: x00c_001101:ow2800326003e, ReceivedSoFar: -[11:45:34.481] [WARNING] [Board4253] Timeout waiting for response (Retry 2/3). Command: x00c_001101:ow2800326003e, ReceivedSoFar: -[11:45:35.294] [WARNING] [Board4253] Timeout waiting for response (Retry 3/3). Command: x00c_001101:ow2800326003e, ReceivedSoFar: -[11:45:38.933] [WARNING] [Board4253] Timeout waiting for response (Retry 1/3). Command: x00c_002101:ow2800326003e, ReceivedSoFar: Fail -[11:45:39.749] [WARNING] [Board4253] Timeout waiting for response (Retry 2/3). Command: x00c_002101:ow2800326003e, ReceivedSoFar: Fail -[11:45:40.562] [WARNING] [Board4253] Timeout waiting for response (Retry 3/3). Command: x00c_002101:ow2800326003e, ReceivedSoFar: Fail -[11:45:41.374] [WARNING] [Board4253] Timeout waiting for response (Retry 4/3). Command: x00c_002101:ow2800326003e, ReceivedSoFar: Fail -[11:45:41.374] [ERROR] [Board4253] Failed to receive response after 3 retries: x00c_002101:ow2800326003e -[11:47:36.376] [WARNING] [Board4253] Timeout waiting for response (Retry 1/3). Command: x00c_001101:ow2800326003e, ReceivedSoFar: -[11:47:37.184] [WARNING] [Board4253] Timeout waiting for response (Retry 2/3). Command: x00c_001101:ow2800326003e, ReceivedSoFar: -[11:47:37.997] [WARNING] [Board4253] Timeout waiting for response (Retry 3/3). Command: x00c_001101:ow2800326003e, ReceivedSoFar: -[11:47:43.421] [WARNING] [Board4253] Timeout waiting for response (Retry 1/3). Command: x00c_002101:ow2800326003e, ReceivedSoFar: Fail -[11:47:44.231] [WARNING] [Board4253] Timeout waiting for response (Retry 2/3). Command: x00c_002101:ow2800326003e, ReceivedSoFar: Fail -[11:47:45.043] [WARNING] [Board4253] Timeout waiting for response (Retry 3/3). Command: x00c_002101:ow2800326003e, ReceivedSoFar: Fail -[11:47:45.856] [WARNING] [Board4253] Timeout waiting for response (Retry 4/3). Command: x00c_002101:ow2800326003e, ReceivedSoFar: Fail -[11:47:45.856] [ERROR] [Board4253] Failed to receive response after 3 retries: x00c_002101:ow2800326003e -[11:51:07.941] [WARNING] [Board4253] Timeout waiting for response (Retry 1/3). Command: x00c_001101:ow2800326003e, ReceivedSoFar: -[11:51:08.748] [WARNING] [Board4253] Timeout waiting for response (Retry 2/3). Command: x00c_001101:ow2800326003e, ReceivedSoFar: -[11:51:09.563] [WARNING] [Board4253] Timeout waiting for response (Retry 3/3). Command: x00c_001101:ow2800326003e, ReceivedSoFar: -[11:51:16.230] [WARNING] [Board4253] Timeout waiting for response (Retry 1/3). Command: x00c_002101:ow2800326003e, ReceivedSoFar: Fail -[11:51:17.048] [WARNING] [Board4253] Timeout waiting for response (Retry 2/3). Command: x00c_002101:ow2800326003e, ReceivedSoFar: Fail -[11:51:17.861] [WARNING] [Board4253] Timeout waiting for response (Retry 3/3). Command: x00c_002101:ow2800326003e, ReceivedSoFar: Fail -[11:51:18.674] [WARNING] [Board4253] Timeout waiting for response (Retry 4/3). Command: x00c_002101:ow2800326003e, ReceivedSoFar: Fail -[11:51:18.674] [ERROR] [Board4253] Failed to receive response after 3 retries: x00c_002101:ow2800326003e -[11:51:20.811] [WARNING] [Board4253] Timeout waiting for response (Retry 1/3). Command: x00c_001101:ow2800326003e, ReceivedSoFar: -[11:51:21.623] [WARNING] [Board4253] Timeout waiting for response (Retry 2/3). Command: x00c_001101:ow2800326003e, ReceivedSoFar: -[11:51:22.436] [WARNING] [Board4253] Timeout waiting for response (Retry 3/3). Command: x00c_001101:ow2800326003e, ReceivedSoFar: -[11:51:23.250] [WARNING] [Board4253] Timeout waiting for response (Retry 4/3). Command: x00c_001101:ow2800326003e, ReceivedSoFar: -[11:51:23.250] [ERROR] [Board4253] Failed to receive response after 3 retries: x00c_001101:ow2800326003e -[11:51:24.701] [WARNING] [Board4253] Timeout waiting for response (Retry 1/3). Command: x00c_002101:ow2800326003e, ReceivedSoFar: -[11:51:25.517] [WARNING] [Board4253] Timeout waiting for response (Retry 2/3). Command: x00c_002101:ow2800326003e, ReceivedSoFar: -[11:51:26.329] [WARNING] [Board4253] Timeout waiting for response (Retry 3/3). Command: x00c_002101:ow2800326003e, ReceivedSoFar: -[11:51:27.143] [WARNING] [Board4253] Timeout waiting for response (Retry 4/3). Command: x00c_002101:ow2800326003e, ReceivedSoFar: -[11:51:27.143] [ERROR] [Board4253] Failed to receive response after 3 retries: x00c_002101:ow2800326003e -[11:53:02.049] [WARNING] [Board4253] Timeout waiting for response (Retry 1/3). Command: x00c_001101:ow2800326003e, ReceivedSoFar: -[11:53:02.873] [WARNING] [Board4253] Timeout waiting for response (Retry 2/3). Command: x00c_001101:ow2800326003e, ReceivedSoFar: -[11:53:03.700] [WARNING] [Board4253] Timeout waiting for response (Retry 3/3). Command: x00c_001101:ow2800326003e, ReceivedSoFar: -[11:53:10.308] [WARNING] [Board4253] Timeout waiting for response (Retry 1/3). Command: x00c_001101:ow2800326003e, ReceivedSoFar: -[11:53:11.123] [WARNING] [Board4253] Timeout waiting for response (Retry 2/3). Command: x00c_001101:ow2800326003e, ReceivedSoFar: -[11:53:11.936] [WARNING] [Board4253] Timeout waiting for response (Retry 3/3). Command: x00c_001101:ow2800326003e, ReceivedSoFar: -[11:54:34.879] [WARNING] [Board4253] Timeout waiting for response (Retry 1/3). Command: x00c_001101:ow2800326003e, ReceivedSoFar: -[11:54:35.688] [WARNING] [Board4253] Timeout waiting for response (Retry 2/3). Command: x00c_001101:ow2800326003e, ReceivedSoFar: -[11:54:36.501] [WARNING] [Board4253] Timeout waiting for response (Retry 3/3). Command: x00c_001101:ow2800326003e, ReceivedSoFar: -[11:55:07.112] [WARNING] [Board4253] Timeout waiting for response (Retry 1/3). Command: x00c_001101:ow2800326003e, ReceivedSoFar: -[11:55:07.921] [WARNING] [Board4253] Timeout waiting for response (Retry 2/3). Command: x00c_001101:ow2800326003e, ReceivedSoFar: -[11:55:08.737] [WARNING] [Board4253] Timeout waiting for response (Retry 3/3). Command: x00c_001101:ow2800326003e, ReceivedSoFar: -[11:56:49.722] [WARNING] [Board4253] Timeout waiting for response (Retry 1/3). Command: x00c_001101:ow2800326003e, ReceivedSoFar: -[11:56:50.534] [WARNING] [Board4253] Timeout waiting for response (Retry 2/3). Command: x00c_001101:ow2800326003e, ReceivedSoFar: -[11:56:51.346] [WARNING] [Board4253] Timeout waiting for response (Retry 3/3). Command: x00c_001101:ow2800326003e, ReceivedSoFar: -[11:57:40.955] [WARNING] [Board4253] Timeout waiting for response (Retry 1/3). Command: x00c_001101:ow2800326003e, ReceivedSoFar: -[11:57:41.765] [WARNING] [Board4253] Timeout waiting for response (Retry 2/3). Command: x00c_001101:ow2800326003e, ReceivedSoFar: -[11:57:42.578] [WARNING] [Board4253] Timeout waiting for response (Retry 3/3). Command: x00c_001101:ow2800326003e, ReceivedSoFar: -[11:57:45.123] [WARNING] [Board4253] Timeout waiting for response (Retry 1/3). Command: x00c_002101:owt28006727ea97c7801, ReceivedSoFar: -[11:57:45.939] [WARNING] [Board4253] Timeout waiting for response (Retry 2/3). Command: x00c_002101:owt28006727ea97c7801, ReceivedSoFar: -[11:57:54.032] [WARNING] [Board4253] Timeout waiting for response (Retry 1/3). Command: x00c_001101:ow2800326003e, ReceivedSoFar: -[11:57:54.846] [WARNING] [Board4253] Timeout waiting for response (Retry 2/3). Command: x00c_001101:ow2800326003e, ReceivedSoFar: -[11:57:55.656] [WARNING] [Board4253] Timeout waiting for response (Retry 3/3). Command: x00c_001101:ow2800326003e, ReceivedSoFar: -[12:01:13.123] [WARNING] [Board4253] Timeout waiting for response (Retry 1/3). Command: x00c_001101:ow2800326003e, ReceivedSoFar: -[12:01:13.946] [WARNING] [Board4253] Timeout waiting for response (Retry 2/3). Command: x00c_001101:ow2800326003e, ReceivedSoFar: -[12:01:14.765] [WARNING] [Board4253] Timeout waiting for response (Retry 3/3). Command: x00c_001101:ow2800326003e, ReceivedSoFar: -[12:02:59.012] [WARNING] [Board4253] Timeout waiting for response (Retry 1/3). Command: x00c_001101:ow2800326003e, ReceivedSoFar: -[12:02:59.828] [WARNING] [Board4253] Timeout waiting for response (Retry 2/3). Command: x00c_001101:ow2800326003e, ReceivedSoFar: -[12:03:00.640] [WARNING] [Board4253] Timeout waiting for response (Retry 3/3). Command: x00c_001101:ow2800326003e, ReceivedSoFar: -[12:06:24.445] [WARNING] [Board4253] Timeout waiting for response (Retry 1/3). Command: x00c_001101:ow2800326003e, ReceivedSoFar: -[12:06:25.267] [WARNING] [Board4253] Timeout waiting for response (Retry 2/3). Command: x00c_001101:ow2800326003e, ReceivedSoFar: -[12:06:26.081] [WARNING] [Board4253] Timeout waiting for response (Retry 3/3). Command: x00c_001101:ow2800326003e, ReceivedSoFar: -[12:06:26.889] [WARNING] [Board4253] Timeout waiting for response (Retry 4/3). Command: x00c_001101:ow2800326003e, ReceivedSoFar: -[12:06:26.889] [ERROR] [Board4253] Failed to receive response after 3 retries: x00c_001101:ow2800326003e -[12:06:33.035] [WARNING] [Board4253] Timeout waiting for response (Retry 1/3). Command: x00c_001101:ow2800326003e, ReceivedSoFar: -[12:06:33.846] [WARNING] [Board4253] Timeout waiting for response (Retry 2/3). Command: x00c_001101:ow2800326003e, ReceivedSoFar: -[12:06:34.655] [WARNING] [Board4253] Timeout waiting for response (Retry 3/3). Command: x00c_001101:ow2800326003e, ReceivedSoFar: -[12:06:35.470] [WARNING] [Board4253] Timeout waiting for response (Retry 4/3). Command: x00c_001101:ow2800326003e, ReceivedSoFar: -[12:06:35.470] [ERROR] [Board4253] Failed to receive response after 3 retries: x00c_001101:ow2800326003e -[12:09:47.128] [WARNING] [Board4253] Timeout waiting for response (Retry 1/3). Command: x00c_001101:ow2800326003e, ReceivedSoFar: -[12:09:47.937] [WARNING] [Board4253] Timeout waiting for response (Retry 2/3). Command: x00c_001101:ow2800326003e, ReceivedSoFar: -[12:09:48.749] [WARNING] [Board4253] Timeout waiting for response (Retry 3/3). Command: x00c_001101:ow2800326003e, ReceivedSoFar: -[12:09:49.564] [WARNING] [Board4253] Timeout waiting for response (Retry 4/3). Command: x00c_001101:ow2800326003e, ReceivedSoFar: -[12:09:49.564] [ERROR] [Board4253] Failed to receive response after 3 retries: x00c_001101:ow2800326003e -[12:09:52.656] [WARNING] [Board4253] Timeout waiting for response (Retry 1/3). Command: x00c_002101:owt28006727ea97c7801, ReceivedSoFar: -[12:09:53.467] [WARNING] [Board4253] Timeout waiting for response (Retry 2/3). Command: x00c_002101:owt28006727ea97c7801, ReceivedSoFar: -[12:09:54.287] [WARNING] [Board4253] Timeout waiting for response (Retry 3/3). Command: x00c_002101:owt28006727ea97c7801, ReceivedSoFar: -[12:13:16.837] [WARNING] [Board4253] Timeout waiting for response (Retry 1/3). Command: x00c_001101:ow2800326003e, ReceivedSoFar: -[12:13:17.654] [WARNING] [Board4253] Timeout waiting for response (Retry 2/3). Command: x00c_001101:ow2800326003e, ReceivedSoFar: -[12:13:18.470] [WARNING] [Board4253] Timeout waiting for response (Retry 3/3). Command: x00c_001101:ow2800326003e, ReceivedSoFar: -[12:14:59.721] [WARNING] [Board4253] Timeout waiting for response (Retry 1/3). Command: x00c_001101:ow2800326003e, ReceivedSoFar: -[12:15:00.533] [WARNING] [Board4253] Timeout waiting for response (Retry 2/3). Command: x00c_001101:ow2800326003e, ReceivedSoFar: -[12:15:01.344] [WARNING] [Board4253] Timeout waiting for response (Retry 3/3). Command: x00c_001101:ow2800326003e, ReceivedSoFar: -[12:17:00.864] [WARNING] [Board4253] Timeout waiting for response (Retry 1/3). Command: x00c_001101:ow2800326003e, ReceivedSoFar: -[12:17:01.672] [WARNING] [Board4253] Timeout waiting for response (Retry 2/3). Command: x00c_001101:ow2800326003e, ReceivedSoFar: -[12:17:02.484] [WARNING] [Board4253] Timeout waiting for response (Retry 3/3). Command: x00c_001101:ow2800326003e, ReceivedSoFar: -[12:18:04.430] [ERROR] [Board4253] Failed to receive response after 3 retries: x00c_002101:owt28006727ea97c7801 -[12:21:18.658] [WARNING] [Board4253] Timeout waiting for response (Retry 1/3). Command: x00c_001101:ow2800326003e, ReceivedSoFar: -[12:21:19.470] [WARNING] [Board4253] Timeout waiting for response (Retry 2/3). Command: x00c_001101:ow2800326003e, ReceivedSoFar: -[12:21:20.283] [WARNING] [Board4253] Timeout waiting for response (Retry 3/3). Command: x00c_001101:ow2800326003e, ReceivedSoFar: diff --git a/leak_test_project/bin/Release/Logs/2026-04-13_system.log b/leak_test_project/bin/Release/Logs/2026-04-13_system.log deleted file mode 100644 index 35e64f6..0000000 --- a/leak_test_project/bin/Release/Logs/2026-04-13_system.log +++ /dev/null @@ -1 +0,0 @@ -[09:04:03.025] [ERROR] [Board4253] Failed to receive response after 3 retries: x00c_001101:owt28006727ea97c7801 diff --git a/leak_test_project/bin/Release/Logs/2026-04-23_system.log b/leak_test_project/bin/Release/Logs/2026-04-23_system.log deleted file mode 100644 index 39dcacf..0000000 --- a/leak_test_project/bin/Release/Logs/2026-04-23_system.log +++ /dev/null @@ -1,893 +0,0 @@ -[15:45:05.914] [WARNING] [Board4253] Timeout waiting for response (Retry 1/3). Command: x00c_001101:ow2800326003e, ReceivedSoFar: -[15:45:06.737] [WARNING] [Board4253] Timeout waiting for response (Retry 2/3). Command: x00c_001101:ow2800326003e, ReceivedSoFar: -[15:45:07.569] [WARNING] [Board4253] Timeout waiting for response (Retry 3/3). Command: x00c_001101:ow2800326003e, ReceivedSoFar: -[15:47:02.314] [WARNING] [Board4253] Timeout waiting for response (Retry 1/3). Command: x00c_002101:ow2800326003e, ReceivedSoFar: -[15:47:03.143] [WARNING] [Board4253] Timeout waiting for response (Retry 2/3). Command: x00c_002101:ow2800326003e, ReceivedSoFar: -[15:47:03.968] [WARNING] [Board4253] Timeout waiting for response (Retry 3/3). Command: x00c_002101:ow2800326003e, ReceivedSoFar: -[15:47:04.799] [WARNING] [Board4253] Timeout waiting for response (Retry 4/3). Command: x00c_002101:ow2800326003e, ReceivedSoFar: -[15:47:04.799] [ERROR] [Board4253] Failed to receive response after 3 retries: x00c_002101:ow2800326003e -[15:47:05.307] [WARNING] [Board4253] Timeout waiting for response (Retry 1/3). Command: x00c_002101:ow2800326003e, ReceivedSoFar: -[15:47:32.827] [WARNING] [Board4253] Timeout waiting for response (Retry 1/3). Command: x00c_001101:ow2800326003e, ReceivedSoFar: -[15:47:33.636] [WARNING] [Board4253] Timeout waiting for response (Retry 2/3). Command: x00c_001101:ow2800326003e, ReceivedSoFar: -[15:47:34.443] [WARNING] [Board4253] Timeout waiting for response (Retry 3/3). Command: x00c_001101:ow2800326003e, ReceivedSoFar: -[15:47:35.766] [WARNING] [Board4253] Timeout waiting for response (Retry 1/3). Command: x00c_002101:owt28006727ea97c7801, ReceivedSoFar: -[15:47:36.582] [WARNING] [Board4253] Timeout waiting for response (Retry 2/3). Command: x00c_002101:owt28006727ea97c7801, ReceivedSoFar: -[15:47:37.602] [WARNING] [Board4253] Timeout waiting for response (Retry 1/3). Command: x00c_002101:ow2800326003e, ReceivedSoFar: -[15:47:38.419] [WARNING] [Board4253] Timeout waiting for response (Retry 2/3). Command: x00c_002101:ow2800326003e, ReceivedSoFar: -[15:47:39.248] [WARNING] [Board4253] Timeout waiting for response (Retry 3/3). Command: x00c_002101:ow2800326003e, ReceivedSoFar: -[15:47:52.043] [WARNING] [Board4253] Timeout waiting for response (Retry 1/3). Command: x00c_001101:ow2800326003e, ReceivedSoFar: -[15:47:52.861] [WARNING] [Board4253] Timeout waiting for response (Retry 2/3). Command: x00c_001101:ow2800326003e, ReceivedSoFar: -[15:47:53.687] [WARNING] [Board4253] Timeout waiting for response (Retry 3/3). Command: x00c_001101:ow2800326003e, ReceivedSoFar: -[15:47:54.985] [WARNING] [Board4253] Timeout waiting for response (Retry 1/3). Command: x00c_002101:owt28006727ea97c7801, ReceivedSoFar: -[15:47:55.799] [WARNING] [Board4253] Timeout waiting for response (Retry 2/3). Command: x00c_002101:owt28006727ea97c7801, ReceivedSoFar: -[15:47:56.811] [WARNING] [Board4253] Timeout waiting for response (Retry 1/3). Command: x00c_002101:ow2800326003e, ReceivedSoFar: -[15:47:57.628] [WARNING] [Board4253] Timeout waiting for response (Retry 2/3). Command: x00c_002101:ow2800326003e, ReceivedSoFar: -[15:47:58.440] [WARNING] [Board4253] Timeout waiting for response (Retry 3/3). Command: x00c_002101:ow2800326003e, ReceivedSoFar: -[16:04:03.623] [ERROR] [Board4253] Failed to receive response after 3 retries: x00o -[16:04:03.623] [ERROR] [Board4253] Handshake failed. Command: x00o, Received: -[16:04:12.856] [ERROR] [Board4253] Failed to receive response after 3 retries: x00o -[16:04:12.856] [ERROR] [Board4253] Handshake failed. Command: x00o, Received: -[16:05:23.178] [WARNING] [Board4253] Timeout waiting for response (Retry 1/3). Command: x00c_002101:ow2800326003e, ReceivedSoFar: -[16:05:23.986] [WARNING] [Board4253] Timeout waiting for response (Retry 2/3). Command: x00c_002101:ow2800326003e, ReceivedSoFar: -[16:05:24.802] [WARNING] [Board4253] Timeout waiting for response (Retry 3/3). Command: x00c_002101:ow2800326003e, ReceivedSoFar: -[16:05:30.488] [WARNING] [Board4253] Timeout waiting for response (Retry 1/3). Command: x00c_002101:ow2800326003e, ReceivedSoFar: -[16:05:31.300] [WARNING] [Board4253] Timeout waiting for response (Retry 2/3). Command: x00c_002101:ow2800326003e, ReceivedSoFar: -[16:05:32.111] [WARNING] [Board4253] Timeout waiting for response (Retry 3/3). Command: x00c_002101:ow2800326003e, ReceivedSoFar: -[16:05:35.655] [WARNING] [Board4253] Timeout waiting for response (Retry 1/3). Command: x00c_002101:ow2800326003e, ReceivedSoFar: -[16:05:36.472] [WARNING] [Board4253] Timeout waiting for response (Retry 2/3). Command: x00c_002101:ow2800326003e, ReceivedSoFar: -[16:05:37.285] [WARNING] [Board4253] Timeout waiting for response (Retry 3/3). Command: x00c_002101:ow2800326003e, ReceivedSoFar: -[16:05:42.619] [WARNING] [Board4253] Timeout waiting for response (Retry 1/3). Command: x00c_002101:ow2800326003e, ReceivedSoFar: -[16:05:43.439] [WARNING] [Board4253] Timeout waiting for response (Retry 2/3). Command: x00c_002101:ow2800326003e, ReceivedSoFar: -[16:05:44.255] [WARNING] [Board4253] Timeout waiting for response (Retry 3/3). Command: x00c_002101:ow2800326003e, ReceivedSoFar: -[16:11:27.617] [ERROR] [Board4253] Failed to receive response after 3 retries: x00o -[16:11:27.617] [ERROR] [Board4253] Handshake failed. Command: x00o, Received: -[16:18:18.135] [WARNING] [Board4253] Timeout waiting for response (Retry 1/3). Command: x00c_001101:ow2800326003e, ReceivedSoFar: -[16:18:18.947] [WARNING] [Board4253] Timeout waiting for response (Retry 2/3). Command: x00c_001101:ow2800326003e, ReceivedSoFar: -[16:18:19.759] [WARNING] [Board4253] Timeout waiting for response (Retry 3/3). Command: x00c_001101:ow2800326003e, ReceivedSoFar: -[16:18:20.885] [WARNING] [Board4253] Timeout waiting for response (Retry 1/3). Command: x00o, ReceivedSoFar: -[16:18:21.701] [WARNING] [Board4253] Timeout waiting for response (Retry 2/3). Command: x00o, ReceivedSoFar: -[16:18:22.511] [WARNING] [Board4253] Timeout waiting for response (Retry 3/3). Command: x00o, ReceivedSoFar: -[16:18:23.323] [WARNING] [Board4253] Timeout waiting for response (Retry 4/3). Command: x00o, ReceivedSoFar: -[16:18:23.323] [ERROR] [Board4253] Failed to receive response after 3 retries: x00o -[16:18:23.323] [ERROR] [Board4253] Handshake failed. Command: x00o, Received: -[16:18:39.272] [WARNING] [Board4253] Timeout waiting for response (Retry 1/3). Command: x00c_002101:ow2800326003e, ReceivedSoFar: -[16:18:40.086] [WARNING] [Board4253] Timeout waiting for response (Retry 2/3). Command: x00c_002101:ow2800326003e, ReceivedSoFar: -[16:18:40.899] [WARNING] [Board4253] Timeout waiting for response (Retry 3/3). Command: x00c_002101:ow2800326003e, ReceivedSoFar: -[16:18:49.156] [WARNING] [Board4253] Timeout waiting for response (Retry 1/3). Command: x00c_001101:ow2800326003e, ReceivedSoFar: -[16:18:49.964] [WARNING] [Board4253] Timeout waiting for response (Retry 2/3). Command: x00c_001101:ow2800326003e, ReceivedSoFar: -[16:18:50.773] [WARNING] [Board4253] Timeout waiting for response (Retry 3/3). Command: x00c_001101:ow2800326003e, ReceivedSoFar: -[16:18:51.586] [WARNING] [Board4253] Timeout waiting for response (Retry 4/3). Command: x00c_001101:ow2800326003e, ReceivedSoFar: -[16:18:51.586] [ERROR] [Board4253] Failed to receive response after 3 retries: x00c_001101:ow2800326003e -[16:18:52.093] [WARNING] [Board4253] Timeout waiting for response (Retry 1/3). Command: x00o, ReceivedSoFar: -[16:18:52.900] [WARNING] [Board4253] Timeout waiting for response (Retry 2/3). Command: x00o, ReceivedSoFar: -[16:18:53.714] [WARNING] [Board4253] Timeout waiting for response (Retry 3/3). Command: x00o, ReceivedSoFar: -[16:18:54.527] [WARNING] [Board4253] Timeout waiting for response (Retry 4/3). Command: x00o, ReceivedSoFar: -[16:18:54.527] [ERROR] [Board4253] Failed to receive response after 3 retries: x00o -[16:18:54.528] [ERROR] [Board4253] Handshake failed. Command: x00o, Received: -[16:18:55.036] [WARNING] [Board4253] Timeout waiting for response (Retry 1/3). Command: x00o, ReceivedSoFar: -[16:18:55.851] [WARNING] [Board4253] Timeout waiting for response (Retry 2/3). Command: x00o, ReceivedSoFar: -[16:18:57.054] [WARNING] [Board4253] Timeout waiting for response (Retry 1/3). Command: x00c_001101:ow2800326003e, ReceivedSoFar: -[16:18:57.867] [WARNING] [Board4253] Timeout waiting for response (Retry 2/3). Command: x00c_001101:ow2800326003e, ReceivedSoFar: -[16:18:58.681] [WARNING] [Board4253] Timeout waiting for response (Retry 3/3). Command: x00c_001101:ow2800326003e, ReceivedSoFar: -[16:18:59.494] [WARNING] [Board4253] Timeout waiting for response (Retry 4/3). Command: x00c_001101:ow2800326003e, ReceivedSoFar: -[16:18:59.494] [ERROR] [Board4253] Failed to receive response after 3 retries: x00c_001101:ow2800326003e -[16:19:00.002] [WARNING] [Board4253] Timeout waiting for response (Retry 1/3). Command: x00o, ReceivedSoFar: -[16:19:00.819] [WARNING] [Board4253] Timeout waiting for response (Retry 2/3). Command: x00o, ReceivedSoFar: -[16:19:01.632] [WARNING] [Board4253] Timeout waiting for response (Retry 3/3). Command: x00o, ReceivedSoFar: -[16:19:02.446] [WARNING] [Board4253] Timeout waiting for response (Retry 4/3). Command: x00o, ReceivedSoFar: -[16:19:02.447] [ERROR] [Board4253] Failed to receive response after 3 retries: x00o -[16:19:02.447] [ERROR] [Board4253] Handshake failed. Command: x00o, Received: -[16:19:05.430] [WARNING] [Board4253] Timeout waiting for response (Retry 1/3). Command: x00c_001101:ow2800326003e, ReceivedSoFar: -[16:19:06.244] [WARNING] [Board4253] Timeout waiting for response (Retry 2/3). Command: x00c_001101:ow2800326003e, ReceivedSoFar: -[16:19:07.056] [WARNING] [Board4253] Timeout waiting for response (Retry 3/3). Command: x00c_001101:ow2800326003e, ReceivedSoFar: -[16:19:07.867] [WARNING] [Board4253] Timeout waiting for response (Retry 4/3). Command: x00c_001101:ow2800326003e, ReceivedSoFar: -[16:19:07.867] [ERROR] [Board4253] Failed to receive response after 3 retries: x00c_001101:ow2800326003e -[16:19:08.377] [WARNING] [Board4253] Timeout waiting for response (Retry 1/3). Command: x00o, ReceivedSoFar: -[16:19:08.879] [ERROR] [Board4253] Handshake failed. Command: x00o, Received: 023104C235258749 - - -[16:19:09.410] [WARNING] [Board4253] Timeout waiting for response (Retry 1/3). Command: x00o, ReceivedSoFar: -[16:19:10.226] [WARNING] [Board4253] Timeout waiting for response (Retry 2/3). Command: x00o, ReceivedSoFar: -[16:19:11.042] [WARNING] [Board4253] Timeout waiting for response (Retry 3/3). Command: x00o, ReceivedSoFar: -[16:19:12.148] [WARNING] [Board4253] Timeout waiting for response (Retry 1/3). Command: x00c_001101:ow2800326003e, ReceivedSoFar: -[16:19:12.962] [WARNING] [Board4253] Timeout waiting for response (Retry 2/3). Command: x00c_001101:ow2800326003e, ReceivedSoFar: -[16:19:13.775] [WARNING] [Board4253] Timeout waiting for response (Retry 3/3). Command: x00c_001101:ow2800326003e, ReceivedSoFar: -[16:19:18.990] [WARNING] [Board4253] Timeout waiting for response (Retry 1/3). Command: x00c_002101:ow2800326003e, ReceivedSoFar: -[16:19:19.805] [WARNING] [Board4253] Timeout waiting for response (Retry 2/3). Command: x00c_002101:ow2800326003e, ReceivedSoFar: -[16:19:20.618] [WARNING] [Board4253] Timeout waiting for response (Retry 3/3). Command: x00c_002101:ow2800326003e, ReceivedSoFar: -[16:20:08.044] [WARNING] [Board4253] Timeout waiting for response (Retry 1/3). Command: x00c_001101:ow2800326003e, ReceivedSoFar: -[16:20:08.853] [WARNING] [Board4253] Timeout waiting for response (Retry 2/3). Command: x00c_001101:ow2800326003e, ReceivedSoFar: -[16:20:09.665] [WARNING] [Board4253] Timeout waiting for response (Retry 3/3). Command: x00c_001101:ow2800326003e, ReceivedSoFar: -[16:20:10.478] [WARNING] [Board4253] Timeout waiting for response (Retry 4/3). Command: x00c_001101:ow2800326003e, ReceivedSoFar: -[16:20:10.478] [ERROR] [Board4253] Failed to receive response after 3 retries: x00c_001101:ow2800326003e -[16:20:10.986] [WARNING] [Board4253] Timeout waiting for response (Retry 1/3). Command: x00o, ReceivedSoFar: -[16:20:11.483] [ERROR] [Board4253] Handshake failed. Command: x00o, Received: 023104C235258749 - - -[16:20:12.004] [WARNING] [Board4253] Timeout waiting for response (Retry 1/3). Command: x00o, ReceivedSoFar: -[16:20:12.821] [WARNING] [Board4253] Timeout waiting for response (Retry 2/3). Command: x00o, ReceivedSoFar: -[16:20:13.633] [WARNING] [Board4253] Timeout waiting for response (Retry 3/3). Command: x00o, ReceivedSoFar: -[16:20:14.743] [WARNING] [Board4253] Timeout waiting for response (Retry 1/3). Command: x00c_001101:ow2800326003e, ReceivedSoFar: -[16:20:15.554] [WARNING] [Board4253] Timeout waiting for response (Retry 2/3). Command: x00c_001101:ow2800326003e, ReceivedSoFar: -[16:20:16.367] [WARNING] [Board4253] Timeout waiting for response (Retry 3/3). Command: x00c_001101:ow2800326003e, ReceivedSoFar: -[16:20:17.180] [WARNING] [Board4253] Timeout waiting for response (Retry 4/3). Command: x00c_001101:ow2800326003e, ReceivedSoFar: -[16:20:17.180] [ERROR] [Board4253] Failed to receive response after 3 retries: x00c_001101:ow2800326003e -[16:20:17.687] [WARNING] [Board4253] Timeout waiting for response (Retry 1/3). Command: x00o, ReceivedSoFar: -[16:20:18.192] [ERROR] [Board4253] Handshake failed. Command: x00o, Received: 023104C235258749 - - -[16:20:22.180] [WARNING] [Board4253] Timeout waiting for response (Retry 1/3). Command: x00o, ReceivedSoFar: -[16:20:22.993] [WARNING] [Board4253] Timeout waiting for response (Retry 2/3). Command: x00o, ReceivedSoFar: -[16:20:24.066] [WARNING] [Board4253] Timeout waiting for response (Retry 1/3). Command: x00c_001101:ow2800326003e, ReceivedSoFar: -[16:20:24.882] [WARNING] [Board4253] Timeout waiting for response (Retry 2/3). Command: x00c_001101:ow2800326003e, ReceivedSoFar: -[16:20:25.695] [WARNING] [Board4253] Timeout waiting for response (Retry 3/3). Command: x00c_001101:ow2800326003e, ReceivedSoFar: -[16:20:26.508] [WARNING] [Board4253] Timeout waiting for response (Retry 4/3). Command: x00c_001101:ow2800326003e, ReceivedSoFar: -[16:20:26.508] [ERROR] [Board4253] Failed to receive response after 3 retries: x00c_001101:ow2800326003e -[16:20:27.016] [WARNING] [Board4253] Timeout waiting for response (Retry 1/3). Command: x00o, ReceivedSoFar: -[16:20:27.840] [WARNING] [Board4253] Timeout waiting for response (Retry 2/3). Command: x00o, ReceivedSoFar: -[16:20:28.649] [WARNING] [Board4253] Timeout waiting for response (Retry 3/3). Command: x00o, ReceivedSoFar: -[16:20:29.462] [WARNING] [Board4253] Timeout waiting for response (Retry 4/3). Command: x00o, ReceivedSoFar: -[16:20:29.463] [ERROR] [Board4253] Failed to receive response after 3 retries: x00o -[16:20:29.463] [ERROR] [Board4253] Handshake failed. Command: x00o, Received: -[16:20:29.971] [WARNING] [Board4253] Timeout waiting for response (Retry 1/3). Command: x00o, ReceivedSoFar: -[16:20:30.788] [WARNING] [Board4253] Timeout waiting for response (Retry 2/3). Command: x00o, ReceivedSoFar: -[16:20:31.988] [WARNING] [Board4253] Timeout waiting for response (Retry 1/3). Command: x00c_001101:ow2800326003e, ReceivedSoFar: -[16:20:32.804] [WARNING] [Board4253] Timeout waiting for response (Retry 2/3). Command: x00c_001101:ow2800326003e, ReceivedSoFar: -[16:20:33.616] [WARNING] [Board4253] Timeout waiting for response (Retry 3/3). Command: x00c_001101:ow2800326003e, ReceivedSoFar: -[16:20:34.427] [WARNING] [Board4253] Timeout waiting for response (Retry 4/3). Command: x00c_001101:ow2800326003e, ReceivedSoFar: -[16:20:34.427] [ERROR] [Board4253] Failed to receive response after 3 retries: x00c_001101:ow2800326003e -[16:20:37.849] [WARNING] [Board4253] Timeout waiting for response (Retry 1/3). Command: x00o, ReceivedSoFar: -[16:20:38.665] [WARNING] [Board4253] Timeout waiting for response (Retry 2/3). Command: x00o, ReceivedSoFar: -[16:20:39.477] [WARNING] [Board4253] Timeout waiting for response (Retry 3/3). Command: x00o, ReceivedSoFar: -[16:20:40.292] [WARNING] [Board4253] Timeout waiting for response (Retry 4/3). Command: x00o, ReceivedSoFar: -[16:20:40.292] [ERROR] [Board4253] Failed to receive response after 3 retries: x00o -[16:20:40.292] [ERROR] [Board4253] Handshake failed. Command: x00o, Received: -[16:20:46.300] [WARNING] [Board4253] Timeout waiting for response (Retry 1/3). Command: x00c_001101:ow2800326003e, ReceivedSoFar: -[16:20:47.115] [WARNING] [Board4253] Timeout waiting for response (Retry 2/3). Command: x00c_001101:ow2800326003e, ReceivedSoFar: -[16:20:47.932] [WARNING] [Board4253] Timeout waiting for response (Retry 3/3). Command: x00c_001101:ow2800326003e, ReceivedSoFar: -[16:23:13.390] [ERROR] [Board4253] Failed to receive response after 3 retries: x00o -[16:23:13.390] [ERROR] [Board4253] Handshake failed. Command: x00o, Received: -[16:23:14.640] [ERROR] [Board4253] Failed to receive response after 3 retries: x00o -[16:23:14.640] [ERROR] [Board4253] Handshake failed. Command: x00o, Received: -[16:23:22.237] [WARNING] [Board4253] Timeout waiting for response (Retry 1/3). Command: x00c_001101:ow2800326003e, ReceivedSoFar: -[16:23:23.052] [WARNING] [Board4253] Timeout waiting for response (Retry 2/3). Command: x00c_001101:ow2800326003e, ReceivedSoFar: -[16:23:23.866] [WARNING] [Board4253] Timeout waiting for response (Retry 3/3). Command: x00c_001101:ow2800326003e, ReceivedSoFar: -[16:23:24.678] [WARNING] [Board4253] Timeout waiting for response (Retry 4/3). Command: x00c_001101:ow2800326003e, ReceivedSoFar: -[16:23:24.678] [ERROR] [Board4253] Failed to receive response after 3 retries: x00c_001101:ow2800326003e -[16:23:25.185] [WARNING] [Board4253] Timeout waiting for response (Retry 1/3). Command: x00o, ReceivedSoFar: -[16:23:25.678] [ERROR] [Board4253] Handshake failed. Command: x00o, Received: 023104C235258749 - - -[16:23:26.204] [WARNING] [Board4253] Timeout waiting for response (Retry 1/3). Command: x00o, ReceivedSoFar: -[16:23:27.020] [WARNING] [Board4253] Timeout waiting for response (Retry 2/3). Command: x00o, ReceivedSoFar: -[16:23:27.835] [WARNING] [Board4253] Timeout waiting for response (Retry 3/3). Command: x00o, ReceivedSoFar: -[16:23:28.646] [WARNING] [Board4253] Timeout waiting for response (Retry 4/3). Command: x00o, ReceivedSoFar: -[16:23:28.646] [ERROR] [Board4253] Failed to receive response after 3 retries: x00o -[16:23:28.646] [ERROR] [Board4253] Handshake failed. Command: x00o, Received: -[16:23:29.156] [WARNING] [Board4253] Timeout waiting for response (Retry 1/3). Command: x00o, ReceivedSoFar: -[16:23:30.142] [WARNING] [Board4253] Timeout waiting for response (Retry 1/3). Command: x00c_001101:ow2800326003e, ReceivedSoFar: -[16:23:30.958] [WARNING] [Board4253] Timeout waiting for response (Retry 2/3). Command: x00c_001101:ow2800326003e, ReceivedSoFar: -[16:23:31.773] [WARNING] [Board4253] Timeout waiting for response (Retry 3/3). Command: x00c_001101:ow2800326003e, ReceivedSoFar: -[16:23:32.587] [WARNING] [Board4253] Timeout waiting for response (Retry 4/3). Command: x00c_001101:ow2800326003e, ReceivedSoFar: -[16:23:32.587] [ERROR] [Board4253] Failed to receive response after 3 retries: x00c_001101:ow2800326003e -[16:23:40.657] [WARNING] [Board4253] Timeout waiting for response (Retry 1/3). Command: x00c_001101:ow2800326003e, ReceivedSoFar: -[16:23:41.473] [WARNING] [Board4253] Timeout waiting for response (Retry 2/3). Command: x00c_001101:ow2800326003e, ReceivedSoFar: -[16:23:42.285] [WARNING] [Board4253] Timeout waiting for response (Retry 3/3). Command: x00c_001101:ow2800326003e, ReceivedSoFar: -[16:23:45.762] [WARNING] [Board4253] Timeout waiting for response (Retry 1/3). Command: x00o, ReceivedSoFar: -[16:23:46.586] [WARNING] [Board4253] Timeout waiting for response (Retry 2/3). Command: x00o, ReceivedSoFar: -[16:23:47.395] [WARNING] [Board4253] Timeout waiting for response (Retry 3/3). Command: x00o, ReceivedSoFar: -[16:23:48.787] [WARNING] [Board4253] Timeout waiting for response (Retry 1/3). Command: x00c_002101:ow2800326003e, ReceivedSoFar: -[16:23:49.599] [WARNING] [Board4253] Timeout waiting for response (Retry 2/3). Command: x00c_002101:ow2800326003e, ReceivedSoFar: -[16:23:50.413] [WARNING] [Board4253] Timeout waiting for response (Retry 3/3). Command: x00c_002101:ow2800326003e, ReceivedSoFar: -[16:23:51.225] [WARNING] [Board4253] Timeout waiting for response (Retry 4/3). Command: x00c_002101:ow2800326003e, ReceivedSoFar: -[16:23:51.225] [ERROR] [Board4253] Failed to receive response after 3 retries: x00c_002101:ow2800326003e -[16:23:51.733] [WARNING] [Board4253] Timeout waiting for response (Retry 1/3). Command: x00o, ReceivedSoFar: -[16:23:52.552] [WARNING] [Board4253] Timeout waiting for response (Retry 2/3). Command: x00o, ReceivedSoFar: -[16:23:53.364] [WARNING] [Board4253] Timeout waiting for response (Retry 3/3). Command: x00o, ReceivedSoFar: -[16:23:54.176] [WARNING] [Board4253] Timeout waiting for response (Retry 4/3). Command: x00o, ReceivedSoFar: -[16:23:54.176] [ERROR] [Board4253] Failed to receive response after 3 retries: x00o -[16:23:54.177] [ERROR] [Board4253] Handshake failed. Command: x00o, Received: -[16:23:54.685] [WARNING] [Board4253] Timeout waiting for response (Retry 1/3). Command: x00o, ReceivedSoFar: -[16:23:55.513] [WARNING] [Board4253] Timeout waiting for response (Retry 2/3). Command: x00o, ReceivedSoFar: -[16:23:56.705] [WARNING] [Board4253] Timeout waiting for response (Retry 1/3). Command: x00c_002101:ow2800326003e, ReceivedSoFar: -[16:23:57.521] [WARNING] [Board4253] Timeout waiting for response (Retry 2/3). Command: x00c_002101:ow2800326003e, ReceivedSoFar: -[16:23:58.333] [WARNING] [Board4253] Timeout waiting for response (Retry 3/3). Command: x00c_002101:ow2800326003e, ReceivedSoFar: -[16:23:59.146] [WARNING] [Board4253] Timeout waiting for response (Retry 4/3). Command: x00c_002101:ow2800326003e, ReceivedSoFar: -[16:23:59.147] [ERROR] [Board4253] Failed to receive response after 3 retries: x00c_002101:ow2800326003e -[16:24:02.337] [WARNING] [Board4253] Timeout waiting for response (Retry 1/3). Command: x00o, ReceivedSoFar: -[16:24:03.609] [WARNING] [Board4253] Timeout waiting for response (Retry 1/3). Command: x00c_002101:ow2800326003e, ReceivedSoFar: -[16:24:04.428] [WARNING] [Board4253] Timeout waiting for response (Retry 2/3). Command: x00c_002101:ow2800326003e, ReceivedSoFar: -[16:24:05.241] [WARNING] [Board4253] Timeout waiting for response (Retry 3/3). Command: x00c_002101:ow2800326003e, ReceivedSoFar: -[16:24:20.719] [WARNING] [Board4253] Timeout waiting for response (Retry 1/3). Command: x00c_001101:ow2800326003e, ReceivedSoFar: -[16:24:21.534] [WARNING] [Board4253] Timeout waiting for response (Retry 2/3). Command: x00c_001101:ow2800326003e, ReceivedSoFar: -[16:24:22.352] [WARNING] [Board4253] Timeout waiting for response (Retry 3/3). Command: x00c_001101:ow2800326003e, ReceivedSoFar: -[16:24:23.172] [WARNING] [Board4253] Timeout waiting for response (Retry 4/3). Command: x00c_001101:ow2800326003e, ReceivedSoFar: -[16:24:23.172] [ERROR] [Board4253] Failed to receive response after 3 retries: x00c_001101:ow2800326003e -[16:24:23.680] [WARNING] [Board4253] Timeout waiting for response (Retry 1/3). Command: x00o, ReceivedSoFar: -[16:24:24.165] [ERROR] [Board4253] Handshake failed. Command: x00o, Received: 023104C235258749 - - -[16:24:24.672] [WARNING] [Board4253] Timeout waiting for response (Retry 1/3). Command: x00o, ReceivedSoFar: -[16:24:25.490] [WARNING] [Board4253] Timeout waiting for response (Retry 2/3). Command: x00o, ReceivedSoFar: -[16:24:26.304] [WARNING] [Board4253] Timeout waiting for response (Retry 3/3). Command: x00o, ReceivedSoFar: -[16:24:27.421] [WARNING] [Board4253] Timeout waiting for response (Retry 1/3). Command: x00c_001101:ow2800326003e, ReceivedSoFar: -[16:24:28.238] [WARNING] [Board4253] Timeout waiting for response (Retry 2/3). Command: x00c_001101:ow2800326003e, ReceivedSoFar: -[16:24:29.053] [WARNING] [Board4253] Timeout waiting for response (Retry 3/3). Command: x00c_001101:ow2800326003e, ReceivedSoFar: -[16:24:29.866] [WARNING] [Board4253] Timeout waiting for response (Retry 4/3). Command: x00c_001101:ow2800326003e, ReceivedSoFar: -[16:24:29.866] [ERROR] [Board4253] Failed to receive response after 3 retries: x00c_001101:ow2800326003e -[16:24:30.375] [WARNING] [Board4253] Timeout waiting for response (Retry 1/3). Command: x00o, ReceivedSoFar: -[16:24:30.868] [ERROR] [Board4253] Handshake failed. Command: x00o, Received: 023104C235258749 - - -[16:29:06.122] [WARNING] [Board4253] Timeout waiting for response (Retry 1/3). Command: x00c_001101:ow2800326003e, ReceivedSoFar: -[16:29:06.930] [WARNING] [Board4253] Timeout waiting for response (Retry 2/3). Command: x00c_001101:ow2800326003e, ReceivedSoFar: -[16:29:07.739] [WARNING] [Board4253] Timeout waiting for response (Retry 3/3). Command: x00c_001101:ow2800326003e, ReceivedSoFar: -[16:29:08.875] [WARNING] [Board4253] Timeout waiting for response (Retry 1/3). Command: x00o, ReceivedSoFar: -[16:29:09.689] [WARNING] [Board4253] Timeout waiting for response (Retry 2/3). Command: x00o, ReceivedSoFar: -[16:29:10.501] [WARNING] [Board4253] Timeout waiting for response (Retry 3/3). Command: x00o, ReceivedSoFar: -[16:29:11.313] [WARNING] [Board4253] Timeout waiting for response (Retry 4/3). Command: x00o, ReceivedSoFar: -[16:29:11.313] [ERROR] [Board4253] Failed to receive response after 3 retries: x00o -[16:29:11.314] [ERROR] [Board4253] Handshake failed. Command: x00o, Received: -[16:30:04.617] [WARNING] [Board4253] Timeout waiting for response (Retry 1/3). Command: x00c_001101:ow2800326003e, ReceivedSoFar: -[16:30:05.439] [WARNING] [Board4253] Timeout waiting for response (Retry 2/3). Command: x00c_001101:ow2800326003e, ReceivedSoFar: -[16:30:06.251] [WARNING] [Board4253] Timeout waiting for response (Retry 3/3). Command: x00c_001101:ow2800326003e, ReceivedSoFar: -[16:30:07.064] [WARNING] [Board4253] Timeout waiting for response (Retry 4/3). Command: x00c_001101:ow2800326003e, ReceivedSoFar: -[16:30:07.064] [ERROR] [Board4253] Failed to receive response after 3 retries: x00c_001101:ow2800326003e -[16:30:07.570] [WARNING] [Board4253] Timeout waiting for response (Retry 1/3). Command: x00o, ReceivedSoFar: -[16:30:08.391] [WARNING] [Board4253] Timeout waiting for response (Retry 2/3). Command: x00o, ReceivedSoFar: -[16:30:09.209] [WARNING] [Board4253] Timeout waiting for response (Retry 3/3). Command: x00o, ReceivedSoFar: -[16:30:10.017] [WARNING] [Board4253] Timeout waiting for response (Retry 4/3). Command: x00o, ReceivedSoFar: -[16:30:10.018] [ERROR] [Board4253] Failed to receive response after 3 retries: x00o -[16:30:10.018] [ERROR] [Board4253] Handshake failed. Command: x00o, Received: -[16:30:10.529] [WARNING] [Board4253] Timeout waiting for response (Retry 1/3). Command: x00o, ReceivedSoFar: -[16:30:11.345] [WARNING] [Board4253] Timeout waiting for response (Retry 2/3). Command: x00o, ReceivedSoFar: -[16:30:12.532] [WARNING] [Board4253] Timeout waiting for response (Retry 1/3). Command: x00c_001101:ow2800326003e, ReceivedSoFar: -[16:30:13.345] [WARNING] [Board4253] Timeout waiting for response (Retry 2/3). Command: x00c_001101:ow2800326003e, ReceivedSoFar: -[16:30:14.156] [WARNING] [Board4253] Timeout waiting for response (Retry 3/3). Command: x00c_001101:ow2800326003e, ReceivedSoFar: -[16:30:14.973] [WARNING] [Board4253] Timeout waiting for response (Retry 4/3). Command: x00c_001101:ow2800326003e, ReceivedSoFar: -[16:30:14.973] [ERROR] [Board4253] Failed to receive response after 3 retries: x00c_001101:ow2800326003e -[16:30:17.195] [ERROR] [Board4253] Handshake failed. Command: x00o, Received: 023104C235258749 - - -[16:30:34.655] [WARNING] [Board4253] Timeout waiting for response (Retry 1/3). Command: x00c_001101:ow2800326003e, ReceivedSoFar: -[16:30:35.470] [WARNING] [Board4253] Timeout waiting for response (Retry 2/3). Command: x00c_001101:ow2800326003e, ReceivedSoFar: -[16:30:36.282] [WARNING] [Board4253] Timeout waiting for response (Retry 3/3). Command: x00c_001101:ow2800326003e, ReceivedSoFar: -[16:30:39.229] [WARNING] [Board4253] Timeout waiting for response (Retry 1/3). Command: x00o, ReceivedSoFar: -[16:30:40.371] [WARNING] [Board4253] Timeout waiting for response (Retry 1/3). Command: x00c_002101:ow2800326003e, ReceivedSoFar: -[16:30:41.187] [WARNING] [Board4253] Timeout waiting for response (Retry 2/3). Command: x00c_002101:ow2800326003e, ReceivedSoFar: -[16:30:42.001] [WARNING] [Board4253] Timeout waiting for response (Retry 3/3). Command: x00c_002101:ow2800326003e, ReceivedSoFar: -[16:30:47.535] [WARNING] [Board4253] Timeout waiting for response (Retry 1/3). Command: x00o, ReceivedSoFar: -[16:30:48.765] [WARNING] [Board4253] Timeout waiting for response (Retry 1/3). Command: x00c_001101:ow2800326003e, ReceivedSoFar: -[16:30:49.577] [WARNING] [Board4253] Timeout waiting for response (Retry 2/3). Command: x00c_001101:ow2800326003e, ReceivedSoFar: -[16:30:50.393] [WARNING] [Board4253] Timeout waiting for response (Retry 3/3). Command: x00c_001101:ow2800326003e, ReceivedSoFar: -[16:30:51.515] [WARNING] [Board4253] Timeout waiting for response (Retry 1/3). Command: x00o, ReceivedSoFar: -[16:30:52.328] [WARNING] [Board4253] Timeout waiting for response (Retry 2/3). Command: x00o, ReceivedSoFar: -[16:30:53.142] [WARNING] [Board4253] Timeout waiting for response (Retry 3/3). Command: x00o, ReceivedSoFar: -[16:30:53.956] [WARNING] [Board4253] Timeout waiting for response (Retry 4/3). Command: x00o, ReceivedSoFar: -[16:30:53.956] [ERROR] [Board4253] Failed to receive response after 3 retries: x00o -[16:30:53.956] [ERROR] [Board4253] Handshake failed. Command: x00o, Received: -[16:30:54.467] [WARNING] [Board4253] Timeout waiting for response (Retry 1/3). Command: x00o, ReceivedSoFar: -[16:30:55.464] [WARNING] [Board4253] Timeout waiting for response (Retry 1/3). Command: x00c_002101:ow2800326003e, ReceivedSoFar: -[16:30:56.281] [WARNING] [Board4253] Timeout waiting for response (Retry 2/3). Command: x00c_002101:ow2800326003e, ReceivedSoFar: -[16:30:57.093] [WARNING] [Board4253] Timeout waiting for response (Retry 3/3). Command: x00c_002101:ow2800326003e, ReceivedSoFar: -[16:30:57.909] [WARNING] [Board4253] Timeout waiting for response (Retry 4/3). Command: x00c_002101:ow2800326003e, ReceivedSoFar: -[16:30:57.910] [ERROR] [Board4253] Failed to receive response after 3 retries: x00c_002101:ow2800326003e -[16:30:58.416] [WARNING] [Board4253] Timeout waiting for response (Retry 1/3). Command: x00o, ReceivedSoFar: -[16:30:59.234] [WARNING] [Board4253] Timeout waiting for response (Retry 2/3). Command: x00o, ReceivedSoFar: -[16:31:00.047] [WARNING] [Board4253] Timeout waiting for response (Retry 3/3). Command: x00o, ReceivedSoFar: -[16:31:00.859] [WARNING] [Board4253] Timeout waiting for response (Retry 4/3). Command: x00o, ReceivedSoFar: -[16:31:00.859] [ERROR] [Board4253] Failed to receive response after 3 retries: x00o -[16:31:00.859] [ERROR] [Board4253] Handshake failed. Command: x00o, Received: -[16:31:34.620] [WARNING] [Board4253] Timeout waiting for response (Retry 1/3). Command: x00c_001101:ow2800326003e, ReceivedSoFar: -[16:31:35.438] [WARNING] [Board4253] Timeout waiting for response (Retry 2/3). Command: x00c_001101:ow2800326003e, ReceivedSoFar: -[16:31:36.250] [WARNING] [Board4253] Timeout waiting for response (Retry 3/3). Command: x00c_001101:ow2800326003e, ReceivedSoFar: -[16:31:37.066] [WARNING] [Board4253] Timeout waiting for response (Retry 4/3). Command: x00c_001101:ow2800326003e, ReceivedSoFar: -[16:31:37.067] [ERROR] [Board4253] Failed to receive response after 3 retries: x00c_001101:ow2800326003e -[16:31:37.576] [WARNING] [Board4253] Timeout waiting for response (Retry 1/3). Command: x00o, ReceivedSoFar: -[16:31:38.391] [WARNING] [Board4253] Timeout waiting for response (Retry 2/3). Command: x00o, ReceivedSoFar: -[16:31:39.204] [WARNING] [Board4253] Timeout waiting for response (Retry 3/3). Command: x00o, ReceivedSoFar: -[16:31:40.014] [WARNING] [Board4253] Timeout waiting for response (Retry 4/3). Command: x00o, ReceivedSoFar: -[16:31:40.014] [ERROR] [Board4253] Failed to receive response after 3 retries: x00o -[16:31:40.014] [ERROR] [Board4253] Handshake failed. Command: x00o, Received: -[16:31:40.478] [ERROR] [Board4253] Handshake failed. Command: x00o, Received: 023104C235258749 - - -[16:31:40.995] [WARNING] [Board4253] Timeout waiting for response (Retry 1/3). Command: x00o, ReceivedSoFar: -[16:31:41.814] [WARNING] [Board4253] Timeout waiting for response (Retry 2/3). Command: x00o, ReceivedSoFar: -[16:31:42.627] [WARNING] [Board4253] Timeout waiting for response (Retry 3/3). Command: x00o, ReceivedSoFar: -[16:31:43.747] [WARNING] [Board4253] Timeout waiting for response (Retry 1/3). Command: x00c_001101:ow2800326003e, ReceivedSoFar: -[16:31:44.563] [WARNING] [Board4253] Timeout waiting for response (Retry 2/3). Command: x00c_001101:ow2800326003e, ReceivedSoFar: -[16:31:45.377] [WARNING] [Board4253] Timeout waiting for response (Retry 3/3). Command: x00c_001101:ow2800326003e, ReceivedSoFar: -[16:36:29.389] [WARNING] [Board4253] Timeout waiting for response (Retry 1/3). Command: x00c_001101:ow2800326003e, ReceivedSoFar: -[16:36:30.204] [WARNING] [Board4253] Timeout waiting for response (Retry 2/3). Command: x00c_001101:ow2800326003e, ReceivedSoFar: -[16:36:31.013] [WARNING] [Board4253] Timeout waiting for response (Retry 3/3). Command: x00c_001101:ow2800326003e, ReceivedSoFar: -[16:36:31.826] [WARNING] [Board4253] Timeout waiting for response (Retry 4/3). Command: x00c_001101:ow2800326003e, ReceivedSoFar: -[16:36:31.826] [ERROR] [Board4253] Failed to receive response after 3 retries: x00c_001101:ow2800326003e -[16:36:32.334] [WARNING] [Board4253] Timeout waiting for response (Retry 1/3). Command: x00c_001101:ow2800326003e, ReceivedSoFar: -[16:36:34.631] [WARNING] [Board4253] Timeout waiting for response (Retry 1/3). Command: x00o, ReceivedSoFar: -[16:36:35.452] [WARNING] [Board4253] Timeout waiting for response (Retry 2/3). Command: x00o, ReceivedSoFar: -[16:36:36.266] [WARNING] [Board4253] Timeout waiting for response (Retry 3/3). Command: x00o, ReceivedSoFar: -[16:36:37.494] [WARNING] [Board4253] Timeout waiting for response (Retry 1/3). Command: x00c_002101:ow2800326003e, ReceivedSoFar: -[16:36:38.308] [WARNING] [Board4253] Timeout waiting for response (Retry 2/3). Command: x00c_002101:ow2800326003e, ReceivedSoFar: -[16:36:39.121] [WARNING] [Board4253] Timeout waiting for response (Retry 3/3). Command: x00c_002101:ow2800326003e, ReceivedSoFar: -[16:36:43.386] [WARNING] [Board4253] Timeout waiting for response (Retry 1/3). Command: x00c_001101:ow2800326003e, ReceivedSoFar: -[16:36:44.200] [WARNING] [Board4253] Timeout waiting for response (Retry 2/3). Command: x00c_001101:ow2800326003e, ReceivedSoFar: -[16:36:45.013] [WARNING] [Board4253] Timeout waiting for response (Retry 3/3). Command: x00c_001101:ow2800326003e, ReceivedSoFar: -[16:36:45.827] [WARNING] [Board4253] Timeout waiting for response (Retry 4/3). Command: x00c_001101:ow2800326003e, ReceivedSoFar: -[16:36:45.827] [ERROR] [Board4253] Failed to receive response after 3 retries: x00c_001101:ow2800326003e -[16:36:46.336] [WARNING] [Board4253] Timeout waiting for response (Retry 1/3). Command: x00c_002101:ow2800326003e, ReceivedSoFar: -[16:36:47.334] [WARNING] [Board4253] Timeout waiting for response (Retry 1/3). Command: x00c_001101:ow2800326003e, ReceivedSoFar: -[16:36:48.152] [WARNING] [Board4253] Timeout waiting for response (Retry 2/3). Command: x00c_001101:ow2800326003e, ReceivedSoFar: -[16:36:48.965] [WARNING] [Board4253] Timeout waiting for response (Retry 3/3). Command: x00c_001101:ow2800326003e, ReceivedSoFar: -[16:36:49.777] [WARNING] [Board4253] Timeout waiting for response (Retry 4/3). Command: x00c_001101:ow2800326003e, ReceivedSoFar: -[16:36:49.777] [ERROR] [Board4253] Failed to receive response after 3 retries: x00c_001101:ow2800326003e -[16:36:50.284] [WARNING] [Board4253] Timeout waiting for response (Retry 1/3). Command: x00c_001101:ow2800326003e, ReceivedSoFar: -[16:40:09.075] [WARNING] [Board4253] Timeout waiting for response (Retry 1/3). Command: x00c_001101:ow2800326003e, ReceivedSoFar: -[16:40:09.887] [WARNING] [Board4253] Timeout waiting for response (Retry 2/3). Command: x00c_001101:ow2800326003e, ReceivedSoFar: -[16:40:10.699] [WARNING] [Board4253] Timeout waiting for response (Retry 3/3). Command: x00c_001101:ow2800326003e, ReceivedSoFar: -[16:40:11.838] [WARNING] [Board4253] Timeout waiting for response (Retry 1/3). Command: x00o, ReceivedSoFar: -[16:40:12.653] [WARNING] [Board4253] Timeout waiting for response (Retry 2/3). Command: x00o, ReceivedSoFar: -[16:40:13.462] [WARNING] [Board4253] Timeout waiting for response (Retry 3/3). Command: x00o, ReceivedSoFar: -[16:41:03.107] [WARNING] [Board4253] Timeout waiting for response (Retry 1/3). Command: x00c_001101:ow2800326003e, ReceivedSoFar: -[16:41:03.927] [WARNING] [Board4253] Timeout waiting for response (Retry 2/3). Command: x00c_001101:ow2800326003e, ReceivedSoFar: -[16:41:04.744] [WARNING] [Board4253] Timeout waiting for response (Retry 3/3). Command: x00c_001101:ow2800326003e, ReceivedSoFar: -[16:41:05.557] [WARNING] [Board4253] Timeout waiting for response (Retry 4/3). Command: x00c_001101:ow2800326003e, ReceivedSoFar: -[16:41:05.557] [ERROR] [Board4253] Failed to receive response after 3 retries: x00c_001101:ow2800326003e -[16:41:06.066] [WARNING] [Board4253] Timeout waiting for response (Retry 1/3). Command: x00o, ReceivedSoFar: -[16:41:06.887] [WARNING] [Board4253] Timeout waiting for response (Retry 2/3). Command: x00o, ReceivedSoFar: -[16:41:07.699] [WARNING] [Board4253] Timeout waiting for response (Retry 3/3). Command: x00o, ReceivedSoFar: -[16:41:08.508] [WARNING] [Board4253] Timeout waiting for response (Retry 4/3). Command: x00o, ReceivedSoFar: -[16:41:08.508] [ERROR] [Board4253] Failed to receive response after 3 retries: x00o -[16:41:13.413] [WARNING] [Board4253] Timeout waiting for response (Retry 1/3). Command: x00c_001101:ow2800326003e, ReceivedSoFar: -[16:41:14.232] [WARNING] [Board4253] Timeout waiting for response (Retry 2/3). Command: x00c_001101:ow2800326003e, ReceivedSoFar: -[16:41:15.041] [WARNING] [Board4253] Timeout waiting for response (Retry 3/3). Command: x00c_001101:ow2800326003e, ReceivedSoFar: -[16:41:15.854] [WARNING] [Board4253] Timeout waiting for response (Retry 4/3). Command: x00c_001101:ow2800326003e, ReceivedSoFar: -[16:41:15.854] [ERROR] [Board4253] Failed to receive response after 3 retries: x00c_001101:ow2800326003e -[16:41:16.363] [WARNING] [Board4253] Timeout waiting for response (Retry 1/3). Command: x00c_001101:ow2800326003e, ReceivedSoFar: -[16:41:19.651] [WARNING] [Board4253] Timeout waiting for response (Retry 1/3). Command: x00o, ReceivedSoFar: -[16:41:20.464] [WARNING] [Board4253] Timeout waiting for response (Retry 2/3). Command: x00o, ReceivedSoFar: -[16:41:21.276] [WARNING] [Board4253] Timeout waiting for response (Retry 3/3). Command: x00o, ReceivedSoFar: -[16:41:37.351] [WARNING] [Board4253] Timeout waiting for response (Retry 1/3). Command: x00c_002101:ow2800326003e, ReceivedSoFar: -[16:41:38.167] [WARNING] [Board4253] Timeout waiting for response (Retry 2/3). Command: x00c_002101:ow2800326003e, ReceivedSoFar: -[16:41:38.980] [WARNING] [Board4253] Timeout waiting for response (Retry 3/3). Command: x00c_002101:ow2800326003e, ReceivedSoFar: -[16:41:44.162] [WARNING] [Board4253] Timeout waiting for response (Retry 1/3). Command: x00o, ReceivedSoFar: -[16:41:45.457] [WARNING] [Board4253] Timeout waiting for response (Retry 1/3). Command: x00c_002101:ow2800326003e, ReceivedSoFar: -[16:41:46.274] [WARNING] [Board4253] Timeout waiting for response (Retry 2/3). Command: x00c_002101:ow2800326003e, ReceivedSoFar: -[16:41:47.086] [WARNING] [Board4253] Timeout waiting for response (Retry 3/3). Command: x00c_002101:ow2800326003e, ReceivedSoFar: -[16:41:47.900] [WARNING] [Board4253] Timeout waiting for response (Retry 4/3). Command: x00c_002101:ow2800326003e, ReceivedSoFar: -[16:41:47.900] [ERROR] [Board4253] Failed to receive response after 3 retries: x00c_002101:ow2800326003e -[16:41:48.408] [WARNING] [Board4253] Timeout waiting for response (Retry 1/3). Command: x00c_002101:ow2800326003e, ReceivedSoFar: -[16:41:50.916] [WARNING] [Board4253] Timeout waiting for response (Retry 1/3). Command: x00o, ReceivedSoFar: -[16:41:52.366] [WARNING] [Board4253] Timeout waiting for response (Retry 1/3). Command: x00c_001101:ow2800326003e, ReceivedSoFar: -[16:41:53.182] [WARNING] [Board4253] Timeout waiting for response (Retry 2/3). Command: x00c_001101:ow2800326003e, ReceivedSoFar: -[16:41:53.993] [WARNING] [Board4253] Timeout waiting for response (Retry 3/3). Command: x00c_001101:ow2800326003e, ReceivedSoFar: -[16:41:54.804] [WARNING] [Board4253] Timeout waiting for response (Retry 4/3). Command: x00c_001101:ow2800326003e, ReceivedSoFar: -[16:41:54.805] [ERROR] [Board4253] Failed to receive response after 3 retries: x00c_001101:ow2800326003e -[16:41:55.312] [WARNING] [Board4253] Timeout waiting for response (Retry 1/3). Command: x00c_001101:ow2800326003e, ReceivedSoFar: -[16:41:57.549] [WARNING] [Board4253] Timeout waiting for response (Retry 1/3). Command: x00o, ReceivedSoFar: -[16:41:58.367] [WARNING] [Board4253] Timeout waiting for response (Retry 2/3). Command: x00o, ReceivedSoFar: -[16:41:59.180] [WARNING] [Board4253] Timeout waiting for response (Retry 3/3). Command: x00o, ReceivedSoFar: -[16:42:00.477] [WARNING] [Board4253] Timeout waiting for response (Retry 1/3). Command: x00c_002101:ow2800326003e, ReceivedSoFar: -[16:42:01.290] [WARNING] [Board4253] Timeout waiting for response (Retry 2/3). Command: x00c_002101:ow2800326003e, ReceivedSoFar: -[16:42:02.102] [WARNING] [Board4253] Timeout waiting for response (Retry 3/3). Command: x00c_002101:ow2800326003e, ReceivedSoFar: -[16:42:04.492] [WARNING] [Board4253] Timeout waiting for response (Retry 1/3). Command: x00o, ReceivedSoFar: -[16:42:05.304] [WARNING] [Board4253] Timeout waiting for response (Retry 2/3). Command: x00o, ReceivedSoFar: -[16:42:06.116] [WARNING] [Board4253] Timeout waiting for response (Retry 3/3). Command: x00o, ReceivedSoFar: -[16:42:07.365] [WARNING] [Board4253] Timeout waiting for response (Retry 1/3). Command: x00c_001101:ow2800326003e, ReceivedSoFar: -[16:42:08.180] [WARNING] [Board4253] Timeout waiting for response (Retry 2/3). Command: x00c_001101:ow2800326003e, ReceivedSoFar: -[16:42:08.995] [WARNING] [Board4253] Timeout waiting for response (Retry 3/3). Command: x00c_001101:ow2800326003e, ReceivedSoFar: -[16:42:11.492] [WARNING] [Board4253] Timeout waiting for response (Retry 1/3). Command: x00o, ReceivedSoFar: -[16:42:12.305] [WARNING] [Board4253] Timeout waiting for response (Retry 2/3). Command: x00o, ReceivedSoFar: -[16:42:13.333] [WARNING] [Board4253] Timeout waiting for response (Retry 1/3). Command: x00c_002101:ow2800326003e, ReceivedSoFar: -[16:42:14.150] [WARNING] [Board4253] Timeout waiting for response (Retry 2/3). Command: x00c_002101:ow2800326003e, ReceivedSoFar: -[16:42:14.962] [WARNING] [Board4253] Timeout waiting for response (Retry 3/3). Command: x00c_002101:ow2800326003e, ReceivedSoFar: -[17:09:10.139] [WARNING] [Board4253] Timeout waiting for response (Retry 1/3). Command: x00c_001101:ow2800326003e, ReceivedSoFar: -[17:09:10.947] [WARNING] [Board4253] Timeout waiting for response (Retry 2/3). Command: x00c_001101:ow2800326003e, ReceivedSoFar: -[17:09:11.761] [WARNING] [Board4253] Timeout waiting for response (Retry 3/3). Command: x00c_001101:ow2800326003e, ReceivedSoFar: -[17:09:12.572] [WARNING] [Board4253] Timeout waiting for response (Retry 4/3). Command: x00c_001101:ow2800326003e, ReceivedSoFar: -[17:09:12.572] [ERROR] [Board4253] Failed to receive response after 3 retries: x00c_001101:ow2800326003e -[17:09:13.081] [WARNING] [Board4253] Timeout waiting for response (Retry 1/3). Command: x00o, ReceivedSoFar: -[17:09:13.900] [WARNING] [Board4253] Timeout waiting for response (Retry 2/3). Command: x00o, ReceivedSoFar: -[17:09:14.715] [WARNING] [Board4253] Timeout waiting for response (Retry 3/3). Command: x00o, ReceivedSoFar: -[17:09:15.527] [WARNING] [Board4253] Timeout waiting for response (Retry 4/3). Command: x00o, ReceivedSoFar: -[17:09:15.527] [ERROR] [Board4253] Failed to receive response after 3 retries: x00o -[17:09:16.040] [WARNING] [Board4253] Timeout waiting for response (Retry 1/3). Command: x00c_001101:ow2800326003e, ReceivedSoFar: -[17:09:16.854] [WARNING] [Board4253] Timeout waiting for response (Retry 2/3). Command: x00c_001101:ow2800326003e, ReceivedSoFar: -[17:09:20.274] [WARNING] [Board4253] Timeout waiting for response (Retry 1/3). Command: x00c_002101:ow2800326003e, ReceivedSoFar: -[17:09:21.087] [WARNING] [Board4253] Timeout waiting for response (Retry 2/3). Command: x00c_002101:ow2800326003e, ReceivedSoFar: -[17:09:21.898] [WARNING] [Board4253] Timeout waiting for response (Retry 3/3). Command: x00c_002101:ow2800326003e, ReceivedSoFar: -[17:09:22.715] [WARNING] [Board4253] Timeout waiting for response (Retry 4/3). Command: x00c_002101:ow2800326003e, ReceivedSoFar: -[17:09:22.715] [ERROR] [Board4253] Failed to receive response after 3 retries: x00c_002101:ow2800326003e -[17:09:23.223] [WARNING] [Board4253] Timeout waiting for response (Retry 1/3). Command: x00c_002101:ow2800326003e, ReceivedSoFar: -[17:09:25.392] [WARNING] [Board4253] Timeout waiting for response (Retry 1/3). Command: x00o, ReceivedSoFar: -[17:09:26.213] [WARNING] [Board4253] Timeout waiting for response (Retry 2/3). Command: x00o, ReceivedSoFar: -[17:09:27.211] [WARNING] [Board4253] Timeout waiting for response (Retry 1/3). Command: x00c_001101:ow2800326003e, ReceivedSoFar: -[17:09:28.026] [WARNING] [Board4253] Timeout waiting for response (Retry 2/3). Command: x00c_001101:ow2800326003e, ReceivedSoFar: -[17:09:28.837] [WARNING] [Board4253] Timeout waiting for response (Retry 3/3). Command: x00c_001101:ow2800326003e, ReceivedSoFar: -[17:09:31.092] [WARNING] [Board4253] Timeout waiting for response (Retry 1/3). Command: x00o, ReceivedSoFar: -[17:09:31.901] [WARNING] [Board4253] Timeout waiting for response (Retry 2/3). Command: x00o, ReceivedSoFar: -[17:09:32.926] [WARNING] [Board4253] Timeout waiting for response (Retry 1/3). Command: x00c_002101:ow2800326003e, ReceivedSoFar: -[17:09:33.746] [WARNING] [Board4253] Timeout waiting for response (Retry 2/3). Command: x00c_002101:ow2800326003e, ReceivedSoFar: -[17:09:34.554] [WARNING] [Board4253] Timeout waiting for response (Retry 3/3). Command: x00c_002101:ow2800326003e, ReceivedSoFar: -[17:09:38.660] [WARNING] [Board4253] Timeout waiting for response (Retry 1/3). Command: x00o, ReceivedSoFar: -[17:09:39.994] [WARNING] [Board4253] Timeout waiting for response (Retry 1/3). Command: x00c_001101:ow2800326003e, ReceivedSoFar: -[17:09:40.808] [WARNING] [Board4253] Timeout waiting for response (Retry 2/3). Command: x00c_001101:ow2800326003e, ReceivedSoFar: -[17:09:41.619] [WARNING] [Board4253] Timeout waiting for response (Retry 3/3). Command: x00c_001101:ow2800326003e, ReceivedSoFar: -[17:09:42.432] [WARNING] [Board4253] Timeout waiting for response (Retry 4/3). Command: x00c_001101:ow2800326003e, ReceivedSoFar: -[17:09:42.432] [ERROR] [Board4253] Failed to receive response after 3 retries: x00c_001101:ow2800326003e -[17:09:42.940] [WARNING] [Board4253] Timeout waiting for response (Retry 1/3). Command: x00c_002101:ow2800326003e, ReceivedSoFar: -[17:09:43.759] [WARNING] [Board4253] Timeout waiting for response (Retry 2/3). Command: x00c_002101:ow2800326003e, ReceivedSoFar: -[17:09:44.573] [WARNING] [Board4253] Timeout waiting for response (Retry 3/3). Command: x00c_002101:ow2800326003e, ReceivedSoFar: -[17:09:45.386] [WARNING] [Board4253] Timeout waiting for response (Retry 4/3). Command: x00c_002101:ow2800326003e, ReceivedSoFar: -[17:09:45.386] [ERROR] [Board4253] Failed to receive response after 3 retries: x00c_002101:ow2800326003e -[17:09:45.895] [WARNING] [Board4253] Timeout waiting for response (Retry 1/3). Command: x00c_001101:ow2800326003e, ReceivedSoFar: -[17:09:46.715] [WARNING] [Board4253] Timeout waiting for response (Retry 2/3). Command: x00c_001101:ow2800326003e, ReceivedSoFar: -[17:09:47.911] [WARNING] [Board4253] Timeout waiting for response (Retry 1/3). Command: x00c_002101:ow2800326003e, ReceivedSoFar: -[17:09:48.728] [WARNING] [Board4253] Timeout waiting for response (Retry 2/3). Command: x00c_002101:ow2800326003e, ReceivedSoFar: -[17:09:49.539] [WARNING] [Board4253] Timeout waiting for response (Retry 3/3). Command: x00c_002101:ow2800326003e, ReceivedSoFar: -[17:14:27.666] [WARNING] [Board4253] Timeout waiting for response (Retry 1/3). Command: x00c_001101:ow2800326003e, ReceivedSoFar: -[17:14:28.488] [WARNING] [Board4253] Timeout waiting for response (Retry 2/3). Command: x00c_001101:ow2800326003e, ReceivedSoFar: -[17:14:29.318] [WARNING] [Board4253] Timeout waiting for response (Retry 3/3). Command: x00c_001101:ow2800326003e, ReceivedSoFar: -[17:14:30.147] [WARNING] [Board4253] Timeout waiting for response (Retry 4/3). Command: x00c_001101:ow2800326003e, ReceivedSoFar: -[17:14:30.147] [ERROR] [Board4253] Failed to receive response after 3 retries: x00c_001101:ow2800326003e -[17:14:30.658] [WARNING] [Board4253] Timeout waiting for response (Retry 1/3). Command: x00c_001101:ow2800326003e, ReceivedSoFar: -[17:14:32.146] [WARNING] [Board4253] Timeout waiting for response (Retry 1/3). Command: x00o, ReceivedSoFar: -[17:14:32.959] [WARNING] [Board4253] Timeout waiting for response (Retry 2/3). Command: x00o, ReceivedSoFar: -[17:14:33.775] [WARNING] [Board4253] Timeout waiting for response (Retry 3/3). Command: x00o, ReceivedSoFar: -[17:14:34.799] [WARNING] [Board4253] Timeout waiting for response (Retry 1/3). Command: x00c_002101:ow2800326003e, ReceivedSoFar: -[17:14:35.622] [WARNING] [Board4253] Timeout waiting for response (Retry 2/3). Command: x00c_002101:ow2800326003e, ReceivedSoFar: -[17:14:36.439] [WARNING] [Board4253] Timeout waiting for response (Retry 3/3). Command: x00c_002101:ow2800326003e, ReceivedSoFar: -[17:14:37.268] [WARNING] [Board4253] Timeout waiting for response (Retry 4/3). Command: x00c_002101:ow2800326003e, ReceivedSoFar: -[17:14:37.268] [ERROR] [Board4253] Failed to receive response after 3 retries: x00c_002101:ow2800326003e -[17:14:37.776] [WARNING] [Board4253] Timeout waiting for response (Retry 1/3). Command: x00c_002101:ow2800326003e, ReceivedSoFar: -[17:14:38.597] [WARNING] [Board4253] Timeout waiting for response (Retry 2/3). Command: x00c_002101:ow2800326003e, ReceivedSoFar: -[17:14:39.427] [WARNING] [Board4253] Timeout waiting for response (Retry 3/3). Command: x00c_002101:ow2800326003e, ReceivedSoFar: -[17:14:40.251] [WARNING] [Board4253] Timeout waiting for response (Retry 4/3). Command: x00c_002101:ow2800326003e, ReceivedSoFar: -[17:14:40.251] [ERROR] [Board4253] Failed to receive response after 3 retries: x00c_002101:ow2800326003e -[17:14:40.759] [WARNING] [Board4253] Timeout waiting for response (Retry 1/3). Command: x00c_002101:ow2800326003e, ReceivedSoFar: -[17:14:41.579] [WARNING] [Board4253] Timeout waiting for response (Retry 2/3). Command: x00c_002101:ow2800326003e, ReceivedSoFar: -[17:14:43.221] [WARNING] [Board4253] Timeout waiting for response (Retry 1/3). Command: x00o, ReceivedSoFar: -[17:14:44.037] [WARNING] [Board4253] Timeout waiting for response (Retry 2/3). Command: x00o, ReceivedSoFar: -[17:14:44.852] [WARNING] [Board4253] Timeout waiting for response (Retry 3/3). Command: x00o, ReceivedSoFar: -[17:14:45.876] [WARNING] [Board4253] Timeout waiting for response (Retry 1/3). Command: x00c_002101:ow2800326003e, ReceivedSoFar: -[17:14:46.694] [WARNING] [Board4253] Timeout waiting for response (Retry 2/3). Command: x00c_002101:ow2800326003e, ReceivedSoFar: -[17:14:47.521] [WARNING] [Board4253] Timeout waiting for response (Retry 3/3). Command: x00c_002101:ow2800326003e, ReceivedSoFar: -[17:14:48.355] [WARNING] [Board4253] Timeout waiting for response (Retry 4/3). Command: x00c_002101:ow2800326003e, ReceivedSoFar: -[17:14:48.355] [ERROR] [Board4253] Failed to receive response after 3 retries: x00c_002101:ow2800326003e -[17:14:48.862] [WARNING] [Board4253] Timeout waiting for response (Retry 1/3). Command: x00c_002101:ow2800326003e, ReceivedSoFar: -[17:14:50.346] [WARNING] [Board4253] Timeout waiting for response (Retry 1/3). Command: x00o, ReceivedSoFar: -[17:14:51.176] [WARNING] [Board4253] Timeout waiting for response (Retry 2/3). Command: x00o, ReceivedSoFar: -[17:14:51.989] [WARNING] [Board4253] Timeout waiting for response (Retry 3/3). Command: x00o, ReceivedSoFar: -[17:14:52.804] [WARNING] [Board4253] Timeout waiting for response (Retry 4/3). Command: x00o, ReceivedSoFar: -[17:14:52.804] [ERROR] [Board4253] Failed to receive response after 3 retries: x00o -[17:15:45.222] [WARNING] [Board4253] Timeout waiting for response (Retry 1/3). Command: x00c_001101:ow2800326003e, ReceivedSoFar: -[17:15:46.038] [WARNING] [Board4253] Timeout waiting for response (Retry 2/3). Command: x00c_001101:ow2800326003e, ReceivedSoFar: -[17:15:46.850] [WARNING] [Board4253] Timeout waiting for response (Retry 3/3). Command: x00c_001101:ow2800326003e, ReceivedSoFar: -[17:15:48.482] [WARNING] [Board4253] Timeout waiting for response (Retry 1/3). Command: x00o, ReceivedSoFar: -[17:15:49.302] [WARNING] [Board4253] Timeout waiting for response (Retry 2/3). Command: x00o, ReceivedSoFar: -[17:15:50.114] [WARNING] [Board4253] Timeout waiting for response (Retry 3/3). Command: x00o, ReceivedSoFar: -[17:15:50.928] [WARNING] [Board4253] Timeout waiting for response (Retry 4/3). Command: x00o, ReceivedSoFar: -[17:15:50.928] [ERROR] [Board4253] Failed to receive response after 3 retries: x00o -[17:15:53.824] [WARNING] [Board4253] Timeout waiting for response (Retry 1/3). Command: x00c_002101:ow2800326003e, ReceivedSoFar: -[17:15:54.632] [WARNING] [Board4253] Timeout waiting for response (Retry 2/3). Command: x00c_002101:ow2800326003e, ReceivedSoFar: -[17:15:55.444] [WARNING] [Board4253] Timeout waiting for response (Retry 3/3). Command: x00c_002101:ow2800326003e, ReceivedSoFar: -[17:15:58.618] [WARNING] [Board4253] Timeout waiting for response (Retry 1/3). Command: x00o, ReceivedSoFar: -[17:15:59.428] [WARNING] [Board4253] Timeout waiting for response (Retry 2/3). Command: x00o, ReceivedSoFar: -[17:16:00.738] [WARNING] [Board4253] Timeout waiting for response (Retry 1/3). Command: x00c_002101:ow2800326003e, ReceivedSoFar: -[17:16:01.556] [WARNING] [Board4253] Timeout waiting for response (Retry 2/3). Command: x00c_002101:ow2800326003e, ReceivedSoFar: -[17:16:02.364] [WARNING] [Board4253] Timeout waiting for response (Retry 3/3). Command: x00c_002101:ow2800326003e, ReceivedSoFar: -[17:16:03.183] [WARNING] [Board4253] Timeout waiting for response (Retry 4/3). Command: x00c_002101:ow2800326003e, ReceivedSoFar: -[17:16:03.183] [ERROR] [Board4253] Failed to receive response after 3 retries: x00c_002101:ow2800326003e -[17:16:03.691] [WARNING] [Board4253] Timeout waiting for response (Retry 1/3). Command: x00c_002101:ow2800326003e, ReceivedSoFar: -[17:16:04.507] [WARNING] [Board4253] Timeout waiting for response (Retry 2/3). Command: x00c_002101:ow2800326003e, ReceivedSoFar: -[17:16:05.320] [WARNING] [Board4253] Timeout waiting for response (Retry 3/3). Command: x00c_002101:ow2800326003e, ReceivedSoFar: -[17:16:06.133] [WARNING] [Board4253] Timeout waiting for response (Retry 4/3). Command: x00c_002101:ow2800326003e, ReceivedSoFar: -[17:16:06.133] [ERROR] [Board4253] Failed to receive response after 3 retries: x00c_002101:ow2800326003e -[17:16:06.641] [WARNING] [Board4253] Timeout waiting for response (Retry 1/3). Command: x00c_002101:ow2800326003e, ReceivedSoFar: -[17:16:07.461] [WARNING] [Board4253] Timeout waiting for response (Retry 2/3). Command: x00c_002101:ow2800326003e, ReceivedSoFar: -[17:16:08.273] [WARNING] [Board4253] Timeout waiting for response (Retry 3/3). Command: x00c_002101:ow2800326003e, ReceivedSoFar: -[17:16:09.085] [WARNING] [Board4253] Timeout waiting for response (Retry 4/3). Command: x00c_002101:ow2800326003e, ReceivedSoFar: -[17:16:09.086] [ERROR] [Board4253] Failed to receive response after 3 retries: x00c_002101:ow2800326003e -[17:16:10.095] [WARNING] [Board4253] Timeout waiting for response (Retry 1/3). Command: x00o, ReceivedSoFar: -[17:16:10.911] [WARNING] [Board4253] Timeout waiting for response (Retry 2/3). Command: x00o, ReceivedSoFar: -[17:16:11.726] [WARNING] [Board4253] Timeout waiting for response (Retry 3/3). Command: x00o, ReceivedSoFar: -[17:16:12.798] [WARNING] [Board4253] Timeout waiting for response (Retry 1/3). Command: x00c_001101:ow2800326003e, ReceivedSoFar: -[17:16:13.614] [WARNING] [Board4253] Timeout waiting for response (Retry 2/3). Command: x00c_001101:ow2800326003e, ReceivedSoFar: -[17:16:14.427] [WARNING] [Board4253] Timeout waiting for response (Retry 3/3). Command: x00c_001101:ow2800326003e, ReceivedSoFar: -[17:16:17.375] [WARNING] [Board4253] Timeout waiting for response (Retry 1/3). Command: x00o, ReceivedSoFar: -[17:16:18.192] [WARNING] [Board4253] Timeout waiting for response (Retry 2/3). Command: x00o, ReceivedSoFar: -[17:16:19.704] [WARNING] [Board4253] Timeout waiting for response (Retry 1/3). Command: x00c_002101:ow2800326003e, ReceivedSoFar: -[17:16:20.523] [WARNING] [Board4253] Timeout waiting for response (Retry 2/3). Command: x00c_002101:ow2800326003e, ReceivedSoFar: -[17:16:21.336] [WARNING] [Board4253] Timeout waiting for response (Retry 3/3). Command: x00c_002101:ow2800326003e, ReceivedSoFar: -[17:16:37.521] [WARNING] [Board4253] Timeout waiting for response (Retry 1/3). Command: x00c_002101:ow2800326003e, ReceivedSoFar: -[17:16:38.334] [WARNING] [Board4253] Timeout waiting for response (Retry 2/3). Command: x00c_002101:ow2800326003e, ReceivedSoFar: -[17:16:39.146] [WARNING] [Board4253] Timeout waiting for response (Retry 3/3). Command: x00c_002101:ow2800326003e, ReceivedSoFar: -[17:16:43.207] [WARNING] [Board4253] Timeout waiting for response (Retry 1/3). Command: x00c_001101:ow2800326003e, ReceivedSoFar: -[17:16:44.021] [WARNING] [Board4253] Timeout waiting for response (Retry 2/3). Command: x00c_001101:ow2800326003e, ReceivedSoFar: -[17:16:44.831] [WARNING] [Board4253] Timeout waiting for response (Retry 3/3). Command: x00c_001101:ow2800326003e, ReceivedSoFar: -[17:16:46.461] [WARNING] [Board4253] Timeout waiting for response (Retry 1/3). Command: x00o, ReceivedSoFar: -[17:16:47.273] [WARNING] [Board4253] Timeout waiting for response (Retry 2/3). Command: x00o, ReceivedSoFar: -[17:16:48.084] [WARNING] [Board4253] Timeout waiting for response (Retry 3/3). Command: x00o, ReceivedSoFar: -[17:16:49.082] [WARNING] [Board4253] Timeout waiting for response (Retry 1/3). Command: x00c_002101:ow2800326003e, ReceivedSoFar: -[17:16:49.897] [WARNING] [Board4253] Timeout waiting for response (Retry 2/3). Command: x00c_002101:ow2800326003e, ReceivedSoFar: -[17:16:50.710] [WARNING] [Board4253] Timeout waiting for response (Retry 3/3). Command: x00c_002101:ow2800326003e, ReceivedSoFar: -[17:16:51.521] [WARNING] [Board4253] Timeout waiting for response (Retry 4/3). Command: x00c_002101:ow2800326003e, ReceivedSoFar: -[17:16:51.521] [ERROR] [Board4253] Failed to receive response after 3 retries: x00c_002101:ow2800326003e -[17:16:52.030] [WARNING] [Board4253] Timeout waiting for response (Retry 1/3). Command: x00c_002101:ow2800326003e, ReceivedSoFar: -[17:17:42.555] [WARNING] [Board4253] Timeout waiting for response (Retry 1/3). Command: x00c_001101:ow2800326003e, ReceivedSoFar: -[17:17:43.364] [WARNING] [Board4253] Timeout waiting for response (Retry 2/3). Command: x00c_001101:ow2800326003e, ReceivedSoFar: -[17:17:44.187] [WARNING] [Board4253] Timeout waiting for response (Retry 3/3). Command: x00c_001101:ow2800326003e, ReceivedSoFar: -[17:17:45.016] [WARNING] [Board4253] Timeout waiting for response (Retry 4/3). Command: x00c_001101:ow2800326003e, ReceivedSoFar: -[17:17:45.016] [ERROR] [Board4253] Failed to receive response after 3 retries: x00c_001101:ow2800326003e -[17:17:45.524] [WARNING] [Board4253] Timeout waiting for response (Retry 1/3). Command: x00c_001101:ow2800326003e, ReceivedSoFar: -[17:17:47.018] [WARNING] [Board4253] Timeout waiting for response (Retry 1/3). Command: x00o, ReceivedSoFar: -[17:17:47.833] [WARNING] [Board4253] Timeout waiting for response (Retry 2/3). Command: x00o, ReceivedSoFar: -[17:17:48.653] [WARNING] [Board4253] Timeout waiting for response (Retry 3/3). Command: x00o, ReceivedSoFar: -[17:17:49.475] [WARNING] [Board4253] Timeout waiting for response (Retry 4/3). Command: x00o, ReceivedSoFar: -[17:17:49.476] [ERROR] [Board4253] Failed to receive response after 3 retries: x00o -[17:21:07.675] [WARNING] [Board4253] Timeout waiting for response (Retry 1/3). Command: x00c_001101:ow2800326003e, ReceivedSoFar: -[17:21:08.488] [WARNING] [Board4253] Timeout waiting for response (Retry 2/3). Command: x00c_001101:ow2800326003e, ReceivedSoFar: -[17:21:09.301] [WARNING] [Board4253] Timeout waiting for response (Retry 3/3). Command: x00c_001101:ow2800326003e, ReceivedSoFar: -[17:21:10.114] [WARNING] [Board4253] Timeout waiting for response (Retry 4/3). Command: x00c_001101:ow2800326003e, ReceivedSoFar: -[17:21:10.115] [ERROR] [Board4253] Failed to receive response after 3 retries: x00c_001101:ow2800326003e -[17:21:10.623] [WARNING] [Board4253] Timeout waiting for response (Retry 1/3). Command: x00c_001101:ow2800326003e, ReceivedSoFar: -[17:21:12.131] [WARNING] [Board4253] Timeout waiting for response (Retry 1/3). Command: x00o, ReceivedSoFar: -[17:21:12.943] [WARNING] [Board4253] Timeout waiting for response (Retry 2/3). Command: x00o, ReceivedSoFar: -[17:21:13.757] [WARNING] [Board4253] Timeout waiting for response (Retry 3/3). Command: x00o, ReceivedSoFar: -[17:21:14.564] [WARNING] [Board4253] Timeout waiting for response (Retry 4/3). Command: x00o, ReceivedSoFar: -[17:21:14.564] [ERROR] [Board4253] Failed to receive response after 3 retries: x00o -[17:21:16.947] [WARNING] [Board4253] Timeout waiting for response (Retry 1/3). Command: x00o, ReceivedSoFar: -[17:21:18.185] [WARNING] [Board4253] Timeout waiting for response (Retry 1/3). Command: x00c_002101:ow2800326003e, ReceivedSoFar: -[17:21:19.005] [WARNING] [Board4253] Timeout waiting for response (Retry 2/3). Command: x00c_002101:ow2800326003e, ReceivedSoFar: -[17:21:19.816] [WARNING] [Board4253] Timeout waiting for response (Retry 3/3). Command: x00c_002101:ow2800326003e, ReceivedSoFar: -[17:21:22.567] [WARNING] [Board4253] Timeout waiting for response (Retry 1/3). Command: x00o, ReceivedSoFar: -[17:21:23.380] [WARNING] [Board4253] Timeout waiting for response (Retry 2/3). Command: x00o, ReceivedSoFar: -[17:21:24.190] [WARNING] [Board4253] Timeout waiting for response (Retry 3/3). Command: x00o, ReceivedSoFar: -[17:21:25.005] [WARNING] [Board4253] Timeout waiting for response (Retry 4/3). Command: x00o, ReceivedSoFar: -[17:21:25.005] [ERROR] [Board4253] Failed to receive response after 3 retries: x00o -[17:21:26.313] [WARNING] [Board4253] Timeout waiting for response (Retry 1/3). Command: x00c_001101:ow2800326003e, ReceivedSoFar: -[17:21:27.128] [WARNING] [Board4253] Timeout waiting for response (Retry 2/3). Command: x00c_001101:ow2800326003e, ReceivedSoFar: -[17:21:27.939] [WARNING] [Board4253] Timeout waiting for response (Retry 3/3). Command: x00c_001101:ow2800326003e, ReceivedSoFar: -[17:21:28.755] [WARNING] [Board4253] Timeout waiting for response (Retry 4/3). Command: x00c_001101:ow2800326003e, ReceivedSoFar: -[17:21:28.755] [ERROR] [Board4253] Failed to receive response after 3 retries: x00c_001101:ow2800326003e -[17:21:29.263] [WARNING] [Board4253] Timeout waiting for response (Retry 1/3). Command: x00c_001101:ow2800326003e, ReceivedSoFar: -[17:21:31.529] [WARNING] [Board4253] Timeout waiting for response (Retry 1/3). Command: x00o, ReceivedSoFar: -[17:21:32.347] [WARNING] [Board4253] Timeout waiting for response (Retry 2/3). Command: x00o, ReceivedSoFar: -[17:21:33.159] [WARNING] [Board4253] Timeout waiting for response (Retry 3/3). Command: x00o, ReceivedSoFar: -[17:21:34.393] [WARNING] [Board4253] Timeout waiting for response (Retry 1/3). Command: x00c_002101:ow2800326003e, ReceivedSoFar: -[17:21:35.206] [WARNING] [Board4253] Timeout waiting for response (Retry 2/3). Command: x00c_002101:ow2800326003e, ReceivedSoFar: -[17:21:36.018] [WARNING] [Board4253] Timeout waiting for response (Retry 3/3). Command: x00c_002101:ow2800326003e, ReceivedSoFar: -[17:21:36.833] [WARNING] [Board4253] Timeout waiting for response (Retry 4/3). Command: x00c_002101:ow2800326003e, ReceivedSoFar: -[17:21:36.833] [ERROR] [Board4253] Failed to receive response after 3 retries: x00c_002101:ow2800326003e -[17:21:37.343] [WARNING] [Board4253] Timeout waiting for response (Retry 1/3). Command: x00c_002101:ow2800326003e, ReceivedSoFar: -[17:21:38.160] [WARNING] [Board4253] Timeout waiting for response (Retry 2/3). Command: x00c_002101:ow2800326003e, ReceivedSoFar: -[17:21:38.972] [WARNING] [Board4253] Timeout waiting for response (Retry 3/3). Command: x00c_002101:ow2800326003e, ReceivedSoFar: -[17:21:39.785] [WARNING] [Board4253] Timeout waiting for response (Retry 4/3). Command: x00c_002101:ow2800326003e, ReceivedSoFar: -[17:21:39.786] [ERROR] [Board4253] Failed to receive response after 3 retries: x00c_002101:ow2800326003e -[17:21:40.293] [WARNING] [Board4253] Timeout waiting for response (Retry 1/3). Command: x00c_002101:ow2800326003e, ReceivedSoFar: -[17:21:41.112] [WARNING] [Board4253] Timeout waiting for response (Retry 2/3). Command: x00c_002101:ow2800326003e, ReceivedSoFar: -[17:21:41.926] [WARNING] [Board4253] Timeout waiting for response (Retry 3/3). Command: x00c_002101:ow2800326003e, ReceivedSoFar: -[17:21:42.737] [WARNING] [Board4253] Timeout waiting for response (Retry 4/3). Command: x00c_002101:ow2800326003e, ReceivedSoFar: -[17:21:42.738] [ERROR] [Board4253] Failed to receive response after 3 retries: x00c_002101:ow2800326003e -[17:21:46.803] [WARNING] [Board4253] Timeout waiting for response (Retry 1/3). Command: x00o, ReceivedSoFar: -[17:21:47.612] [WARNING] [Board4253] Timeout waiting for response (Retry 2/3). Command: x00o, ReceivedSoFar: -[17:21:48.862] [WARNING] [Board4253] Timeout waiting for response (Retry 1/3). Command: x00c_002101:ow2800326003e, ReceivedSoFar: -[17:21:49.676] [WARNING] [Board4253] Timeout waiting for response (Retry 2/3). Command: x00c_002101:ow2800326003e, ReceivedSoFar: -[17:21:50.488] [WARNING] [Board4253] Timeout waiting for response (Retry 3/3). Command: x00c_002101:ow2800326003e, ReceivedSoFar: -[17:21:53.151] [WARNING] [Board4253] Timeout waiting for response (Retry 1/3). Command: x00o, ReceivedSoFar: -[17:21:54.564] [WARNING] [Board4253] Timeout waiting for response (Retry 1/3). Command: x00c_002101:ow2800326003e, ReceivedSoFar: -[17:21:55.380] [WARNING] [Board4253] Timeout waiting for response (Retry 2/3). Command: x00c_002101:ow2800326003e, ReceivedSoFar: -[17:21:56.189] [WARNING] [Board4253] Timeout waiting for response (Retry 3/3). Command: x00c_002101:ow2800326003e, ReceivedSoFar: -[17:21:59.201] [WARNING] [Board4253] Timeout waiting for response (Retry 1/3). Command: x00o, ReceivedSoFar: -[17:22:00.020] [WARNING] [Board4253] Timeout waiting for response (Retry 2/3). Command: x00o, ReceivedSoFar: -[17:22:00.832] [WARNING] [Board4253] Timeout waiting for response (Retry 3/3). Command: x00o, ReceivedSoFar: -[17:22:01.643] [WARNING] [Board4253] Timeout waiting for response (Retry 4/3). Command: x00o, ReceivedSoFar: -[17:22:01.643] [ERROR] [Board4253] Failed to receive response after 3 retries: x00o -[17:22:14.075] [WARNING] [Board4253] Timeout waiting for response (Retry 1/3). Command: x00c_001101:ow2800326003e, ReceivedSoFar: -[17:22:14.894] [WARNING] [Board4253] Timeout waiting for response (Retry 2/3). Command: x00c_001101:ow2800326003e, ReceivedSoFar: -[17:22:15.708] [WARNING] [Board4253] Timeout waiting for response (Retry 3/3). Command: x00c_001101:ow2800326003e, ReceivedSoFar: -[17:22:18.023] [WARNING] [Board4253] Timeout waiting for response (Retry 1/3). Command: x00o, ReceivedSoFar: -[17:22:18.833] [WARNING] [Board4253] Timeout waiting for response (Retry 2/3). Command: x00o, ReceivedSoFar: -[17:22:19.846] [WARNING] [Board4253] Timeout waiting for response (Retry 1/3). Command: x00c_001101:ow2800326003e, ReceivedSoFar: -[17:22:20.659] [WARNING] [Board4253] Timeout waiting for response (Retry 2/3). Command: x00c_001101:ow2800326003e, ReceivedSoFar: -[17:22:21.472] [WARNING] [Board4253] Timeout waiting for response (Retry 3/3). Command: x00c_001101:ow2800326003e, ReceivedSoFar: -[17:22:23.861] [WARNING] [Board4253] Timeout waiting for response (Retry 1/3). Command: x00o, ReceivedSoFar: -[17:22:24.673] [WARNING] [Board4253] Timeout waiting for response (Retry 2/3). Command: x00o, ReceivedSoFar: -[17:22:25.701] [WARNING] [Board4253] Timeout waiting for response (Retry 1/3). Command: x00c_001101:ow2800326003e, ReceivedSoFar: -[17:22:26.519] [WARNING] [Board4253] Timeout waiting for response (Retry 2/3). Command: x00c_001101:ow2800326003e, ReceivedSoFar: -[17:22:27.332] [WARNING] [Board4253] Timeout waiting for response (Retry 3/3). Command: x00c_001101:ow2800326003e, ReceivedSoFar: -[17:22:28.144] [WARNING] [Board4253] Timeout waiting for response (Retry 4/3). Command: x00c_001101:ow2800326003e, ReceivedSoFar: -[17:22:28.144] [ERROR] [Board4253] Failed to receive response after 3 retries: x00c_001101:ow2800326003e -[17:22:28.651] [WARNING] [Board4253] Timeout waiting for response (Retry 1/3). Command: x00c_001101:ow2800326003e, ReceivedSoFar: -[17:22:30.730] [WARNING] [Board4253] Timeout waiting for response (Retry 1/3). Command: x00o, ReceivedSoFar: -[17:22:31.551] [WARNING] [Board4253] Timeout waiting for response (Retry 2/3). Command: x00o, ReceivedSoFar: -[17:22:32.594] [WARNING] [Board4253] Timeout waiting for response (Retry 1/3). Command: x00c_001101:ow2800326003e, ReceivedSoFar: -[17:22:33.409] [WARNING] [Board4253] Timeout waiting for response (Retry 2/3). Command: x00c_001101:ow2800326003e, ReceivedSoFar: -[17:22:34.222] [WARNING] [Board4253] Timeout waiting for response (Retry 3/3). Command: x00c_001101:ow2800326003e, ReceivedSoFar: -[17:22:36.352] [WARNING] [Board4253] Timeout waiting for response (Retry 1/3). Command: x00o, ReceivedSoFar: -[17:22:37.167] [WARNING] [Board4253] Timeout waiting for response (Retry 2/3). Command: x00o, ReceivedSoFar: -[17:22:37.987] [WARNING] [Board4253] Timeout waiting for response (Retry 3/3). Command: x00o, ReceivedSoFar: -[17:22:38.800] [WARNING] [Board4253] Timeout waiting for response (Retry 4/3). Command: x00o, ReceivedSoFar: -[17:22:38.800] [ERROR] [Board4253] Failed to receive response after 3 retries: x00o -[17:22:44.161] [WARNING] [Board4253] Timeout waiting for response (Retry 1/3). Command: x00c_002101:ow2800326003e, ReceivedSoFar: -[17:22:44.973] [WARNING] [Board4253] Timeout waiting for response (Retry 2/3). Command: x00c_002101:ow2800326003e, ReceivedSoFar: -[17:22:45.783] [WARNING] [Board4253] Timeout waiting for response (Retry 3/3). Command: x00c_002101:ow2800326003e, ReceivedSoFar: -[17:22:46.597] [WARNING] [Board4253] Timeout waiting for response (Retry 4/3). Command: x00c_002101:ow2800326003e, ReceivedSoFar: -[17:22:46.597] [ERROR] [Board4253] Failed to receive response after 3 retries: x00c_002101:ow2800326003e -[17:22:47.109] [WARNING] [Board4253] Timeout waiting for response (Retry 1/3). Command: x00c_002101:ow2800326003e, ReceivedSoFar: -[17:22:47.927] [WARNING] [Board4253] Timeout waiting for response (Retry 2/3). Command: x00c_002101:ow2800326003e, ReceivedSoFar: -[17:22:48.735] [WARNING] [Board4253] Timeout waiting for response (Retry 3/3). Command: x00c_002101:ow2800326003e, ReceivedSoFar: -[17:22:49.552] [WARNING] [Board4253] Timeout waiting for response (Retry 4/3). Command: x00c_002101:ow2800326003e, ReceivedSoFar: -[17:22:49.552] [ERROR] [Board4253] Failed to receive response after 3 retries: x00c_002101:ow2800326003e -[17:22:51.029] [WARNING] [Board4253] Timeout waiting for response (Retry 1/3). Command: x00o, ReceivedSoFar: -[17:22:51.847] [WARNING] [Board4253] Timeout waiting for response (Retry 2/3). Command: x00o, ReceivedSoFar: -[17:22:52.659] [WARNING] [Board4253] Timeout waiting for response (Retry 3/3). Command: x00o, ReceivedSoFar: -[17:22:53.670] [WARNING] [Board4253] Timeout waiting for response (Retry 1/3). Command: x00c_001101:ow2800326003e, ReceivedSoFar: -[17:22:54.489] [WARNING] [Board4253] Timeout waiting for response (Retry 2/3). Command: x00c_001101:ow2800326003e, ReceivedSoFar: -[17:22:55.303] [WARNING] [Board4253] Timeout waiting for response (Retry 3/3). Command: x00c_001101:ow2800326003e, ReceivedSoFar: -[17:23:43.342] [WARNING] [Board4253] Timeout waiting for response (Retry 1/3). Command: x00c_002101:ow2800326003e, ReceivedSoFar: -[17:23:44.158] [WARNING] [Board4253] Timeout waiting for response (Retry 2/3). Command: x00c_002101:ow2800326003e, ReceivedSoFar: -[17:23:44.971] [WARNING] [Board4253] Timeout waiting for response (Retry 3/3). Command: x00c_002101:ow2800326003e, ReceivedSoFar: -[17:23:46.583] [WARNING] [Board4253] Timeout waiting for response (Retry 1/3). Command: x00o, ReceivedSoFar: -[17:23:47.391] [WARNING] [Board4253] Timeout waiting for response (Retry 2/3). Command: x00o, ReceivedSoFar: -[17:23:48.209] [WARNING] [Board4253] Timeout waiting for response (Retry 3/3). Command: x00o, ReceivedSoFar: -[17:23:49.017] [WARNING] [Board4253] Timeout waiting for response (Retry 4/3). Command: x00o, ReceivedSoFar: -[17:23:49.017] [ERROR] [Board4253] Failed to receive response after 3 retries: x00o -[17:23:53.941] [WARNING] [Board4253] Timeout waiting for response (Retry 1/3). Command: x00c_002101:ow2800326003e, ReceivedSoFar: -[17:23:54.753] [WARNING] [Board4253] Timeout waiting for response (Retry 2/3). Command: x00c_002101:ow2800326003e, ReceivedSoFar: -[17:23:55.565] [WARNING] [Board4253] Timeout waiting for response (Retry 3/3). Command: x00c_002101:ow2800326003e, ReceivedSoFar: -[17:23:56.377] [WARNING] [Board4253] Timeout waiting for response (Retry 4/3). Command: x00c_002101:ow2800326003e, ReceivedSoFar: -[17:23:56.377] [ERROR] [Board4253] Failed to receive response after 3 retries: x00c_002101:ow2800326003e -[17:23:56.886] [WARNING] [Board4253] Timeout waiting for response (Retry 1/3). Command: x00c_002101:ow2800326003e, ReceivedSoFar: -[17:23:58.398] [WARNING] [Board4253] Timeout waiting for response (Retry 1/3). Command: x00o, ReceivedSoFar: -[17:23:59.207] [WARNING] [Board4253] Timeout waiting for response (Retry 2/3). Command: x00o, ReceivedSoFar: -[17:24:00.021] [WARNING] [Board4253] Timeout waiting for response (Retry 3/3). Command: x00o, ReceivedSoFar: -[17:24:01.047] [WARNING] [Board4253] Timeout waiting for response (Retry 1/3). Command: x00c_001101:ow2800326003e, ReceivedSoFar: -[17:24:01.863] [WARNING] [Board4253] Timeout waiting for response (Retry 2/3). Command: x00c_001101:ow2800326003e, ReceivedSoFar: -[17:24:02.676] [WARNING] [Board4253] Timeout waiting for response (Retry 3/3). Command: x00c_001101:ow2800326003e, ReceivedSoFar: -[17:24:07.219] [WARNING] [Board4253] Timeout waiting for response (Retry 1/3). Command: x00c_001101:ow2800326003e, ReceivedSoFar: -[17:24:08.034] [WARNING] [Board4253] Timeout waiting for response (Retry 2/3). Command: x00c_001101:ow2800326003e, ReceivedSoFar: -[17:24:08.847] [WARNING] [Board4253] Timeout waiting for response (Retry 3/3). Command: x00c_001101:ow2800326003e, ReceivedSoFar: -[17:24:09.658] [WARNING] [Board4253] Timeout waiting for response (Retry 4/3). Command: x00c_001101:ow2800326003e, ReceivedSoFar: -[17:24:09.658] [ERROR] [Board4253] Failed to receive response after 3 retries: x00c_001101:ow2800326003e -[17:24:10.168] [WARNING] [Board4253] Timeout waiting for response (Retry 1/3). Command: x00c_001101:ow2800326003e, ReceivedSoFar: -[17:24:11.677] [WARNING] [Board4253] Timeout waiting for response (Retry 1/3). Command: x00o, ReceivedSoFar: -[17:24:12.485] [WARNING] [Board4253] Timeout waiting for response (Retry 2/3). Command: x00o, ReceivedSoFar: -[17:24:13.299] [WARNING] [Board4253] Timeout waiting for response (Retry 3/3). Command: x00o, ReceivedSoFar: -[17:24:14.111] [WARNING] [Board4253] Timeout waiting for response (Retry 4/3). Command: x00o, ReceivedSoFar: -[17:24:14.111] [ERROR] [Board4253] Failed to receive response after 3 retries: x00o -[17:24:17.063] [WARNING] [Board4253] Timeout waiting for response (Retry 1/3). Command: x00c_001101:ow2800326003e, ReceivedSoFar: -[17:24:17.877] [WARNING] [Board4253] Timeout waiting for response (Retry 2/3). Command: x00c_001101:ow2800326003e, ReceivedSoFar: -[17:24:18.689] [WARNING] [Board4253] Timeout waiting for response (Retry 3/3). Command: x00c_001101:ow2800326003e, ReceivedSoFar: -[17:24:19.500] [WARNING] [Board4253] Timeout waiting for response (Retry 4/3). Command: x00c_001101:ow2800326003e, ReceivedSoFar: -[17:24:19.500] [ERROR] [Board4253] Failed to receive response after 3 retries: x00c_001101:ow2800326003e -[17:24:20.015] [WARNING] [Board4253] Timeout waiting for response (Retry 1/3). Command: x00c_001101:ow2800326003e, ReceivedSoFar: -[17:24:21.524] [WARNING] [Board4253] Timeout waiting for response (Retry 1/3). Command: x00o, ReceivedSoFar: -[17:24:22.345] [WARNING] [Board4253] Timeout waiting for response (Retry 2/3). Command: x00o, ReceivedSoFar: -[17:24:23.157] [WARNING] [Board4253] Timeout waiting for response (Retry 3/3). Command: x00o, ReceivedSoFar: -[17:24:24.176] [WARNING] [Board4253] Timeout waiting for response (Retry 1/3). Command: x00c_002101:ow2800326003e, ReceivedSoFar: -[17:24:24.985] [WARNING] [Board4253] Timeout waiting for response (Retry 2/3). Command: x00c_002101:ow2800326003e, ReceivedSoFar: -[17:24:25.797] [WARNING] [Board4253] Timeout waiting for response (Retry 3/3). Command: x00c_002101:ow2800326003e, ReceivedSoFar: -[17:24:26.613] [WARNING] [Board4253] Timeout waiting for response (Retry 4/3). Command: x00c_002101:ow2800326003e, ReceivedSoFar: -[17:24:26.614] [ERROR] [Board4253] Failed to receive response after 3 retries: x00c_002101:ow2800326003e -[17:24:27.121] [WARNING] [Board4253] Timeout waiting for response (Retry 1/3). Command: x00c_002101:ow2800326003e, ReceivedSoFar: -[17:24:29.937] [WARNING] [Board4253] Timeout waiting for response (Retry 1/3). Command: x00o, ReceivedSoFar: -[17:24:30.753] [WARNING] [Board4253] Timeout waiting for response (Retry 2/3). Command: x00o, ReceivedSoFar: -[17:24:31.566] [WARNING] [Board4253] Timeout waiting for response (Retry 3/3). Command: x00o, ReceivedSoFar: -[17:24:32.377] [WARNING] [Board4253] Timeout waiting for response (Retry 4/3). Command: x00o, ReceivedSoFar: -[17:24:32.377] [ERROR] [Board4253] Failed to receive response after 3 retries: x00o -[17:24:33.387] [WARNING] [Board4253] Timeout waiting for response (Retry 1/3). Command: x00o, ReceivedSoFar: -[17:24:34.684] [WARNING] [Board4253] Timeout waiting for response (Retry 1/3). Command: x00c_002101:ow2800326003e, ReceivedSoFar: -[17:24:35.504] [WARNING] [Board4253] Timeout waiting for response (Retry 2/3). Command: x00c_002101:ow2800326003e, ReceivedSoFar: -[17:24:36.316] [WARNING] [Board4253] Timeout waiting for response (Retry 3/3). Command: x00c_002101:ow2800326003e, ReceivedSoFar: -[17:24:37.131] [WARNING] [Board4253] Timeout waiting for response (Retry 4/3). Command: x00c_002101:ow2800326003e, ReceivedSoFar: -[17:24:37.131] [ERROR] [Board4253] Failed to receive response after 3 retries: x00c_002101:ow2800326003e -[17:24:37.639] [WARNING] [Board4253] Timeout waiting for response (Retry 1/3). Command: x00c_002101:ow2800326003e, ReceivedSoFar: -[17:24:54.758] [WARNING] [Board4253] Timeout waiting for response (Retry 1/3). Command: x00c_002101:ow2800326003e, ReceivedSoFar: -[17:24:55.566] [WARNING] [Board4253] Timeout waiting for response (Retry 2/3). Command: x00c_002101:ow2800326003e, ReceivedSoFar: -[17:24:56.379] [WARNING] [Board4253] Timeout waiting for response (Retry 3/3). Command: x00c_002101:ow2800326003e, ReceivedSoFar: -[17:25:03.433] [WARNING] [Board4253] Timeout waiting for response (Retry 1/3). Command: x00c_002101:ow2800326003e, ReceivedSoFar: -[17:25:04.251] [WARNING] [Board4253] Timeout waiting for response (Retry 2/3). Command: x00c_002101:ow2800326003e, ReceivedSoFar: -[17:25:05.065] [WARNING] [Board4253] Timeout waiting for response (Retry 3/3). Command: x00c_002101:ow2800326003e, ReceivedSoFar: -[17:25:05.877] [WARNING] [Board4253] Timeout waiting for response (Retry 4/3). Command: x00c_002101:ow2800326003e, ReceivedSoFar: -[17:25:05.877] [ERROR] [Board4253] Failed to receive response after 3 retries: x00c_002101:ow2800326003e -[17:25:06.385] [WARNING] [Board4253] Timeout waiting for response (Retry 1/3). Command: x00c_002101:ow2800326003e, ReceivedSoFar: -[17:25:07.893] [WARNING] [Board4253] Timeout waiting for response (Retry 1/3). Command: x00o, ReceivedSoFar: -[17:25:08.704] [WARNING] [Board4253] Timeout waiting for response (Retry 2/3). Command: x00o, ReceivedSoFar: -[17:25:09.517] [WARNING] [Board4253] Timeout waiting for response (Retry 3/3). Command: x00o, ReceivedSoFar: -[17:25:18.782] [WARNING] [Board4253] Timeout waiting for response (Retry 1/3). Command: x00c_002101:ow2800326003e, ReceivedSoFar: -[17:25:19.592] [WARNING] [Board4253] Timeout waiting for response (Retry 2/3). Command: x00c_002101:ow2800326003e, ReceivedSoFar: -[17:25:20.410] [WARNING] [Board4253] Timeout waiting for response (Retry 3/3). Command: x00c_002101:ow2800326003e, ReceivedSoFar: -[17:25:21.222] [WARNING] [Board4253] Timeout waiting for response (Retry 4/3). Command: x00c_002101:ow2800326003e, ReceivedSoFar: -[17:25:21.222] [ERROR] [Board4253] Failed to receive response after 3 retries: x00c_002101:ow2800326003e -[17:25:21.729] [WARNING] [Board4253] Timeout waiting for response (Retry 1/3). Command: x00c_002101:ow2800326003e, ReceivedSoFar: -[17:25:23.237] [WARNING] [Board4253] Timeout waiting for response (Retry 1/3). Command: x00o, ReceivedSoFar: -[17:25:24.048] [WARNING] [Board4253] Timeout waiting for response (Retry 2/3). Command: x00o, ReceivedSoFar: -[17:25:24.860] [WARNING] [Board4253] Timeout waiting for response (Retry 3/3). Command: x00o, ReceivedSoFar: -[17:25:25.673] [WARNING] [Board4253] Timeout waiting for response (Retry 4/3). Command: x00o, ReceivedSoFar: -[17:25:25.674] [ERROR] [Board4253] Failed to receive response after 3 retries: x00o -[17:25:34.982] [WARNING] [Board4253] Timeout waiting for response (Retry 1/3). Command: x00c_002101:ow2800326003e, ReceivedSoFar: -[17:25:35.799] [WARNING] [Board4253] Timeout waiting for response (Retry 2/3). Command: x00c_002101:ow2800326003e, ReceivedSoFar: -[17:25:36.611] [WARNING] [Board4253] Timeout waiting for response (Retry 3/3). Command: x00c_002101:ow2800326003e, ReceivedSoFar: -[17:25:37.425] [WARNING] [Board4253] Timeout waiting for response (Retry 4/3). Command: x00c_002101:ow2800326003e, ReceivedSoFar: -[17:25:37.425] [ERROR] [Board4253] Failed to receive response after 3 retries: x00c_002101:ow2800326003e -[17:25:37.933] [WARNING] [Board4253] Timeout waiting for response (Retry 1/3). Command: x00c_002101:ow2800326003e, ReceivedSoFar: -[17:25:40.275] [WARNING] [Board4253] Timeout waiting for response (Retry 1/3). Command: x00o, ReceivedSoFar: -[17:25:41.095] [WARNING] [Board4253] Timeout waiting for response (Retry 2/3). Command: x00o, ReceivedSoFar: -[17:25:41.906] [WARNING] [Board4253] Timeout waiting for response (Retry 3/3). Command: x00o, ReceivedSoFar: -[17:25:43.083] [WARNING] [Board4253] Timeout waiting for response (Retry 1/3). Command: x00c_002101:ow2800326003e, ReceivedSoFar: -[17:25:43.892] [WARNING] [Board4253] Timeout waiting for response (Retry 2/3). Command: x00c_002101:ow2800326003e, ReceivedSoFar: -[17:25:44.705] [WARNING] [Board4253] Timeout waiting for response (Retry 3/3). Command: x00c_002101:ow2800326003e, ReceivedSoFar: -[17:25:46.349] [WARNING] [Board4253] Timeout waiting for response (Retry 1/3). Command: x00o, ReceivedSoFar: -[17:25:47.159] [WARNING] [Board4253] Timeout waiting for response (Retry 2/3). Command: x00o, ReceivedSoFar: -[17:25:47.971] [WARNING] [Board4253] Timeout waiting for response (Retry 3/3). Command: x00o, ReceivedSoFar: -[17:27:24.189] [WARNING] [Board4253] Timeout waiting for response (Retry 1/3). Command: x00c_001101:ow2800326003e, ReceivedSoFar: -[17:27:25.002] [WARNING] [Board4253] Timeout waiting for response (Retry 2/3). Command: x00c_001101:ow2800326003e, ReceivedSoFar: -[17:27:25.814] [WARNING] [Board4253] Timeout waiting for response (Retry 3/3). Command: x00c_001101:ow2800326003e, ReceivedSoFar: -[17:27:27.439] [WARNING] [Board4253] Timeout waiting for response (Retry 1/3). Command: x00o, ReceivedSoFar: -[17:27:28.256] [WARNING] [Board4253] Timeout waiting for response (Retry 2/3). Command: x00o, ReceivedSoFar: -[17:27:29.079] [WARNING] [Board4253] Timeout waiting for response (Retry 3/3). Command: x00o, ReceivedSoFar: -[17:27:30.105] [WARNING] [Board4253] Timeout waiting for response (Retry 1/3). Command: x00c_002101:ow2800326003e, ReceivedSoFar: -[17:27:30.922] [WARNING] [Board4253] Timeout waiting for response (Retry 2/3). Command: x00c_002101:ow2800326003e, ReceivedSoFar: -[17:27:31.735] [WARNING] [Board4253] Timeout waiting for response (Retry 3/3). Command: x00c_002101:ow2800326003e, ReceivedSoFar: -[17:27:35.796] [WARNING] [Board4253] Timeout waiting for response (Retry 1/3). Command: x00c_002101:ow2800326003e, ReceivedSoFar: -[17:27:36.608] [WARNING] [Board4253] Timeout waiting for response (Retry 2/3). Command: x00c_002101:ow2800326003e, ReceivedSoFar: -[17:27:37.422] [WARNING] [Board4253] Timeout waiting for response (Retry 3/3). Command: x00c_002101:ow2800326003e, ReceivedSoFar: -[17:27:38.234] [WARNING] [Board4253] Timeout waiting for response (Retry 4/3). Command: x00c_002101:ow2800326003e, ReceivedSoFar: -[17:27:38.235] [ERROR] [Board4253] Failed to receive response after 3 retries: x00c_002101:ow2800326003e -[17:27:38.743] [WARNING] [Board4253] Timeout waiting for response (Retry 1/3). Command: x00c_002101:ow2800326003e, ReceivedSoFar: -[17:27:40.254] [WARNING] [Board4253] Timeout waiting for response (Retry 1/3). Command: x00o, ReceivedSoFar: -[17:27:41.062] [WARNING] [Board4253] Timeout waiting for response (Retry 2/3). Command: x00o, ReceivedSoFar: -[17:27:41.875] [WARNING] [Board4253] Timeout waiting for response (Retry 3/3). Command: x00o, ReceivedSoFar: -[17:27:42.687] [WARNING] [Board4253] Timeout waiting for response (Retry 4/3). Command: x00o, ReceivedSoFar: -[17:27:42.687] [ERROR] [Board4253] Failed to receive response after 3 retries: x00o -[17:27:46.913] [WARNING] [Board4253] Timeout waiting for response (Retry 1/3). Command: x00c_001101:ow2800326003e, ReceivedSoFar: -[17:27:47.722] [WARNING] [Board4253] Timeout waiting for response (Retry 2/3). Command: x00c_001101:ow2800326003e, ReceivedSoFar: -[17:27:48.530] [WARNING] [Board4253] Timeout waiting for response (Retry 3/3). Command: x00c_001101:ow2800326003e, ReceivedSoFar: -[17:27:49.343] [WARNING] [Board4253] Timeout waiting for response (Retry 4/3). Command: x00c_001101:ow2800326003e, ReceivedSoFar: -[17:27:49.344] [ERROR] [Board4253] Failed to receive response after 3 retries: x00c_001101:ow2800326003e -[17:27:49.851] [WARNING] [Board4253] Timeout waiting for response (Retry 1/3). Command: x00c_001101:ow2800326003e, ReceivedSoFar: -[17:27:53.390] [WARNING] [Board4253] Timeout waiting for response (Retry 1/3). Command: x00o, ReceivedSoFar: -[17:27:54.202] [WARNING] [Board4253] Timeout waiting for response (Retry 2/3). Command: x00o, ReceivedSoFar: -[17:27:55.230] [WARNING] [Board4253] Timeout waiting for response (Retry 1/3). Command: x00c_002101:ow2800326003e, ReceivedSoFar: -[17:27:56.049] [WARNING] [Board4253] Timeout waiting for response (Retry 2/3). Command: x00c_002101:ow2800326003e, ReceivedSoFar: -[17:27:56.858] [WARNING] [Board4253] Timeout waiting for response (Retry 3/3). Command: x00c_002101:ow2800326003e, ReceivedSoFar: -[17:27:57.672] [WARNING] [Board4253] Timeout waiting for response (Retry 4/3). Command: x00c_002101:ow2800326003e, ReceivedSoFar: -[17:27:57.672] [ERROR] [Board4253] Failed to receive response after 3 retries: x00c_002101:ow2800326003e -[17:27:58.180] [WARNING] [Board4253] Timeout waiting for response (Retry 1/3). Command: x00c_002101:ow2800326003e, ReceivedSoFar: -[17:27:59.686] [WARNING] [Board4253] Timeout waiting for response (Retry 1/3). Command: x00o, ReceivedSoFar: -[17:28:00.500] [WARNING] [Board4253] Timeout waiting for response (Retry 2/3). Command: x00o, ReceivedSoFar: -[17:28:01.312] [WARNING] [Board4253] Timeout waiting for response (Retry 3/3). Command: x00o, ReceivedSoFar: -[17:28:02.126] [WARNING] [Board4253] Timeout waiting for response (Retry 4/3). Command: x00o, ReceivedSoFar: -[17:28:02.126] [ERROR] [Board4253] Failed to receive response after 3 retries: x00o -[17:28:57.516] [WARNING] [Board4253] Timeout waiting for response (Retry 1/3). Command: x00c_001101:ow2800326003e, ReceivedSoFar: -[17:28:58.329] [WARNING] [Board4253] Timeout waiting for response (Retry 2/3). Command: x00c_001101:ow2800326003e, ReceivedSoFar: -[17:28:59.145] [WARNING] [Board4253] Timeout waiting for response (Retry 3/3). Command: x00c_001101:ow2800326003e, ReceivedSoFar: -[17:28:59.954] [WARNING] [Board4253] Timeout waiting for response (Retry 4/3). Command: x00c_001101:ow2800326003e, ReceivedSoFar: -[17:28:59.954] [ERROR] [Board4253] Failed to receive response after 3 retries: x00c_001101:ow2800326003e -[17:29:00.462] [WARNING] [Board4253] Timeout waiting for response (Retry 1/3). Command: x00c_001101:ow2800326003e, ReceivedSoFar: -[17:29:01.282] [WARNING] [Board4253] Timeout waiting for response (Retry 2/3). Command: x00c_001101:ow2800326003e, ReceivedSoFar: -[17:29:02.093] [WARNING] [Board4253] Timeout waiting for response (Retry 3/3). Command: x00c_001101:ow2800326003e, ReceivedSoFar: -[17:29:02.905] [WARNING] [Board4253] Timeout waiting for response (Retry 4/3). Command: x00c_001101:ow2800326003e, ReceivedSoFar: -[17:29:02.905] [ERROR] [Board4253] Failed to receive response after 3 retries: x00c_001101:ow2800326003e -[17:29:03.412] [WARNING] [Board4253] Timeout waiting for response (Retry 1/3). Command: x00c_001101:ow2800326003e, ReceivedSoFar: -[17:29:04.221] [WARNING] [Board4253] Timeout waiting for response (Retry 2/3). Command: x00c_001101:ow2800326003e, ReceivedSoFar: -[17:29:05.029] [WARNING] [Board4253] Timeout waiting for response (Retry 3/3). Command: x00c_001101:ow2800326003e, ReceivedSoFar: -[17:29:05.844] [WARNING] [Board4253] Timeout waiting for response (Retry 4/3). Command: x00c_001101:ow2800326003e, ReceivedSoFar: -[17:29:05.845] [ERROR] [Board4253] Failed to receive response after 3 retries: x00c_001101:ow2800326003e -[17:29:06.858] [WARNING] [Board4253] Timeout waiting for response (Retry 1/3). Command: x00o, ReceivedSoFar: -[17:29:07.670] [WARNING] [Board4253] Timeout waiting for response (Retry 2/3). Command: x00o, ReceivedSoFar: -[17:29:08.482] [WARNING] [Board4253] Timeout waiting for response (Retry 3/3). Command: x00o, ReceivedSoFar: -[17:29:09.548] [WARNING] [Board4253] Timeout waiting for response (Retry 1/3). Command: x00c_002101:ow2800326003e, ReceivedSoFar: -[17:29:10.359] [WARNING] [Board4253] Timeout waiting for response (Retry 2/3). Command: x00c_002101:ow2800326003e, ReceivedSoFar: -[17:29:11.171] [WARNING] [Board4253] Timeout waiting for response (Retry 3/3). Command: x00c_002101:ow2800326003e, ReceivedSoFar: -[17:29:11.982] [WARNING] [Board4253] Timeout waiting for response (Retry 4/3). Command: x00c_002101:ow2800326003e, ReceivedSoFar: -[17:29:11.982] [ERROR] [Board4253] Failed to receive response after 3 retries: x00c_002101:ow2800326003e -[17:29:12.492] [WARNING] [Board4253] Timeout waiting for response (Retry 1/3). Command: x00c_002101:ow2800326003e, ReceivedSoFar: -[17:29:17.311] [WARNING] [Board4253] Timeout waiting for response (Retry 1/3). Command: x00c_001101:ow2800326003e, ReceivedSoFar: -[17:29:18.125] [WARNING] [Board4253] Timeout waiting for response (Retry 2/3). Command: x00c_001101:ow2800326003e, ReceivedSoFar: -[17:29:18.937] [WARNING] [Board4253] Timeout waiting for response (Retry 3/3). Command: x00c_001101:ow2800326003e, ReceivedSoFar: -[17:29:19.751] [WARNING] [Board4253] Timeout waiting for response (Retry 4/3). Command: x00c_001101:ow2800326003e, ReceivedSoFar: -[17:29:19.751] [ERROR] [Board4253] Failed to receive response after 3 retries: x00c_001101:ow2800326003e -[17:29:20.259] [WARNING] [Board4253] Timeout waiting for response (Retry 1/3). Command: x00c_001101:ow2800326003e, ReceivedSoFar: -[17:29:22.932] [WARNING] [Board4253] Timeout waiting for response (Retry 1/3). Command: x00o, ReceivedSoFar: -[17:29:24.198] [WARNING] [Board4253] Timeout waiting for response (Retry 1/3). Command: x00c_001101:ow2800326003e, ReceivedSoFar: -[17:29:25.017] [WARNING] [Board4253] Timeout waiting for response (Retry 2/3). Command: x00c_001101:ow2800326003e, ReceivedSoFar: -[17:29:25.829] [WARNING] [Board4253] Timeout waiting for response (Retry 3/3). Command: x00c_001101:ow2800326003e, ReceivedSoFar: -[17:29:26.644] [WARNING] [Board4253] Timeout waiting for response (Retry 4/3). Command: x00c_001101:ow2800326003e, ReceivedSoFar: -[17:29:26.644] [ERROR] [Board4253] Failed to receive response after 3 retries: x00c_001101:ow2800326003e -[17:29:27.152] [WARNING] [Board4253] Timeout waiting for response (Retry 1/3). Command: x00c_001101:ow2800326003e, ReceivedSoFar: -[17:29:27.967] [WARNING] [Board4253] Timeout waiting for response (Retry 2/3). Command: x00c_001101:ow2800326003e, ReceivedSoFar: -[17:29:28.782] [WARNING] [Board4253] Timeout waiting for response (Retry 3/3). Command: x00c_001101:ow2800326003e, ReceivedSoFar: -[17:29:29.594] [WARNING] [Board4253] Timeout waiting for response (Retry 4/3). Command: x00c_001101:ow2800326003e, ReceivedSoFar: -[17:29:29.595] [ERROR] [Board4253] Failed to receive response after 3 retries: x00c_001101:ow2800326003e -[17:29:31.089] [WARNING] [Board4253] Timeout waiting for response (Retry 1/3). Command: x00o, ReceivedSoFar: -[17:29:31.904] [WARNING] [Board4253] Timeout waiting for response (Retry 2/3). Command: x00o, ReceivedSoFar: -[17:29:32.720] [WARNING] [Board4253] Timeout waiting for response (Retry 3/3). Command: x00o, ReceivedSoFar: -[17:29:33.746] [WARNING] [Board4253] Timeout waiting for response (Retry 1/3). Command: x00c_002101:ow2800326003e, ReceivedSoFar: -[17:29:34.562] [WARNING] [Board4253] Timeout waiting for response (Retry 2/3). Command: x00c_002101:ow2800326003e, ReceivedSoFar: -[17:29:35.374] [WARNING] [Board4253] Timeout waiting for response (Retry 3/3). Command: x00c_002101:ow2800326003e, ReceivedSoFar: -[17:29:36.187] [WARNING] [Board4253] Timeout waiting for response (Retry 4/3). Command: x00c_002101:ow2800326003e, ReceivedSoFar: -[17:29:36.187] [ERROR] [Board4253] Failed to receive response after 3 retries: x00c_002101:ow2800326003e -[17:29:36.695] [WARNING] [Board4253] Timeout waiting for response (Retry 1/3). Command: x00c_002101:ow2800326003e, ReceivedSoFar: -[17:29:37.517] [WARNING] [Board4253] Timeout waiting for response (Retry 2/3). Command: x00c_002101:ow2800326003e, ReceivedSoFar: -[17:29:38.329] [WARNING] [Board4253] Timeout waiting for response (Retry 3/3). Command: x00c_002101:ow2800326003e, ReceivedSoFar: -[17:29:39.140] [WARNING] [Board4253] Timeout waiting for response (Retry 4/3). Command: x00c_002101:ow2800326003e, ReceivedSoFar: -[17:29:39.140] [ERROR] [Board4253] Failed to receive response after 3 retries: x00c_002101:ow2800326003e -[17:29:39.648] [WARNING] [Board4253] Timeout waiting for response (Retry 1/3). Command: x00c_002101:ow2800326003e, ReceivedSoFar: -[17:29:40.468] [WARNING] [Board4253] Timeout waiting for response (Retry 2/3). Command: x00c_002101:ow2800326003e, ReceivedSoFar: -[17:29:43.428] [WARNING] [Board4253] Timeout waiting for response (Retry 1/3). Command: x00o, ReceivedSoFar: -[17:29:44.577] [WARNING] [Board4253] Timeout waiting for response (Retry 1/3). Command: x00c_001101:ow2800326003e, ReceivedSoFar: -[17:29:45.390] [WARNING] [Board4253] Timeout waiting for response (Retry 2/3). Command: x00c_001101:ow2800326003e, ReceivedSoFar: -[17:29:46.202] [WARNING] [Board4253] Timeout waiting for response (Retry 3/3). Command: x00c_001101:ow2800326003e, ReceivedSoFar: -[17:29:47.829] [WARNING] [Board4253] Timeout waiting for response (Retry 1/3). Command: x00o, ReceivedSoFar: -[17:29:48.642] [WARNING] [Board4253] Timeout waiting for response (Retry 2/3). Command: x00o, ReceivedSoFar: -[17:29:49.451] [WARNING] [Board4253] Timeout waiting for response (Retry 3/3). Command: x00o, ReceivedSoFar: -[17:29:50.470] [WARNING] [Board4253] Timeout waiting for response (Retry 1/3). Command: x00c_002101:ow2800326003e, ReceivedSoFar: -[17:29:51.279] [WARNING] [Board4253] Timeout waiting for response (Retry 2/3). Command: x00c_002101:ow2800326003e, ReceivedSoFar: -[17:29:52.090] [WARNING] [Board4253] Timeout waiting for response (Retry 3/3). Command: x00c_002101:ow2800326003e, ReceivedSoFar: -[17:29:52.905] [WARNING] [Board4253] Timeout waiting for response (Retry 4/3). Command: x00c_002101:ow2800326003e, ReceivedSoFar: -[17:29:52.905] [ERROR] [Board4253] Failed to receive response after 3 retries: x00c_002101:ow2800326003e -[17:29:53.415] [WARNING] [Board4253] Timeout waiting for response (Retry 1/3). Command: x00c_002101:ow2800326003e, ReceivedSoFar: -[17:35:00.221] [WARNING] [Board4253] Timeout waiting for response (Retry 1/3). Command: x00c_001101:ow2800326003e, ReceivedSoFar: -[17:35:01.043] [WARNING] [Board4253] Timeout waiting for response (Retry 2/3). Command: x00c_001101:ow2800326003e, ReceivedSoFar: -[17:35:01.859] [WARNING] [Board4253] Timeout waiting for response (Retry 3/3). Command: x00c_001101:ow2800326003e, ReceivedSoFar: -[17:35:03.472] [WARNING] [Board4253] Timeout waiting for response (Retry 1/3). Command: x00o, ReceivedSoFar: -[17:35:04.295] [WARNING] [Board4253] Timeout waiting for response (Retry 2/3). Command: x00o, ReceivedSoFar: -[17:35:05.106] [WARNING] [Board4253] Timeout waiting for response (Retry 3/3). Command: x00o, ReceivedSoFar: -[17:35:05.919] [WARNING] [Board4253] Timeout waiting for response (Retry 4/3). Command: x00o, ReceivedSoFar: -[17:35:05.920] [ERROR] [Board4253] Failed to receive response after 3 retries: x00o -[17:35:07.139] [WARNING] [Board4253] Timeout waiting for response (Retry 1/3). Command: x00c_002101:ow2800326003e, ReceivedSoFar: -[17:35:07.951] [WARNING] [Board4253] Timeout waiting for response (Retry 2/3). Command: x00c_002101:ow2800326003e, ReceivedSoFar: -[17:35:08.762] [WARNING] [Board4253] Timeout waiting for response (Retry 3/3). Command: x00c_002101:ow2800326003e, ReceivedSoFar: -[17:35:36.812] [WARNING] [Board4253] Timeout waiting for response (Retry 1/3). Command: x00c_001101:ow2800326003e, ReceivedSoFar: -[17:35:37.632] [WARNING] [Board4253] Timeout waiting for response (Retry 2/3). Command: x00c_001101:ow2800326003e, ReceivedSoFar: -[17:35:38.448] [WARNING] [Board4253] Timeout waiting for response (Retry 3/3). Command: x00c_001101:ow2800326003e, ReceivedSoFar: -[17:35:39.265] [WARNING] [Board4253] Timeout waiting for response (Retry 4/3). Command: x00c_001101:ow2800326003e, ReceivedSoFar: -[17:35:39.266] [ERROR] [Board4253] Failed to receive response after 3 retries: x00c_001101:ow2800326003e -[17:35:39.789] [WARNING] [Board4253] Timeout waiting for response (Retry 1/3). Command: x00c_001101:ow2800326003e, ReceivedSoFar: -[17:35:40.606] [WARNING] [Board4253] Timeout waiting for response (Retry 2/3). Command: x00c_001101:ow2800326003e, ReceivedSoFar: -[17:35:41.424] [WARNING] [Board4253] Timeout waiting for response (Retry 3/3). Command: x00c_001101:ow2800326003e, ReceivedSoFar: -[17:35:42.232] [WARNING] [Board4253] Timeout waiting for response (Retry 4/3). Command: x00c_001101:ow2800326003e, ReceivedSoFar: -[17:35:42.232] [ERROR] [Board4253] Failed to receive response after 3 retries: x00c_001101:ow2800326003e -[17:35:43.682] [WARNING] [Board4253] Timeout waiting for response (Retry 1/3). Command: x00o, ReceivedSoFar: -[17:35:44.498] [WARNING] [Board4253] Timeout waiting for response (Retry 2/3). Command: x00o, ReceivedSoFar: -[17:35:45.318] [WARNING] [Board4253] Timeout waiting for response (Retry 3/3). Command: x00o, ReceivedSoFar: -[17:35:46.138] [WARNING] [Board4253] Timeout waiting for response (Retry 4/3). Command: x00o, ReceivedSoFar: -[17:35:46.139] [ERROR] [Board4253] Failed to receive response after 3 retries: x00o -[17:35:47.339] [WARNING] [Board4253] Timeout waiting for response (Retry 1/3). Command: x00c_002101:ow2800326003e, ReceivedSoFar: -[17:35:48.157] [WARNING] [Board4253] Timeout waiting for response (Retry 2/3). Command: x00c_002101:ow2800326003e, ReceivedSoFar: -[17:35:48.975] [WARNING] [Board4253] Timeout waiting for response (Retry 3/3). Command: x00c_002101:ow2800326003e, ReceivedSoFar: -[17:35:49.805] [WARNING] [Board4253] Timeout waiting for response (Retry 4/3). Command: x00c_002101:ow2800326003e, ReceivedSoFar: -[17:35:49.806] [ERROR] [Board4253] Failed to receive response after 3 retries: x00c_002101:ow2800326003e -[17:35:50.314] [WARNING] [Board4253] Timeout waiting for response (Retry 1/3). Command: x00c_002101:ow2800326003e, ReceivedSoFar: -[17:35:51.135] [WARNING] [Board4253] Timeout waiting for response (Retry 2/3). Command: x00c_002101:ow2800326003e, ReceivedSoFar: -[17:35:51.962] [WARNING] [Board4253] Timeout waiting for response (Retry 3/3). Command: x00c_002101:ow2800326003e, ReceivedSoFar: -[17:35:52.788] [WARNING] [Board4253] Timeout waiting for response (Retry 4/3). Command: x00c_002101:ow2800326003e, ReceivedSoFar: -[17:35:52.789] [ERROR] [Board4253] Failed to receive response after 3 retries: x00c_002101:ow2800326003e -[17:37:45.197] [WARNING] [Board4253] Timeout waiting for response (Retry 1/3). Command: x00c_001101:ow2800326003e, ReceivedSoFar: -[17:37:46.013] [WARNING] [Board4253] Timeout waiting for response (Retry 2/3). Command: x00c_001101:ow2800326003e, ReceivedSoFar: -[17:37:46.836] [WARNING] [Board4253] Timeout waiting for response (Retry 3/3). Command: x00c_001101:ow2800326003e, ReceivedSoFar: -[17:37:47.652] [WARNING] [Board4253] Timeout waiting for response (Retry 4/3). Command: x00c_001101:ow2800326003e, ReceivedSoFar: -[17:37:47.652] [ERROR] [Board4253] Failed to receive response after 3 retries: x00c_001101:ow2800326003e -[17:37:48.167] [WARNING] [Board4253] Timeout waiting for response (Retry 1/3). Command: x00c_001101:ow2800326003e, ReceivedSoFar: -[17:37:49.666] [WARNING] [Board4253] Timeout waiting for response (Retry 1/3). Command: x00o, ReceivedSoFar: -[17:37:50.493] [WARNING] [Board4253] Timeout waiting for response (Retry 2/3). Command: x00o, ReceivedSoFar: -[17:37:51.321] [WARNING] [Board4253] Timeout waiting for response (Retry 3/3). Command: x00o, ReceivedSoFar: -[17:37:52.694] [WARNING] [Board4253] Timeout waiting for response (Retry 1/3). Command: x00c_002101:ow2800326003e, ReceivedSoFar: -[17:37:53.527] [WARNING] [Board4253] Timeout waiting for response (Retry 2/3). Command: x00c_002101:ow2800326003e, ReceivedSoFar: -[17:37:54.349] [WARNING] [Board4253] Timeout waiting for response (Retry 3/3). Command: x00c_002101:ow2800326003e, ReceivedSoFar: -[17:37:55.180] [WARNING] [Board4253] Timeout waiting for response (Retry 4/3). Command: x00c_002101:ow2800326003e, ReceivedSoFar: -[17:37:55.180] [ERROR] [Board4253] Failed to receive response after 3 retries: x00c_002101:ow2800326003e -[17:37:55.690] [WARNING] [Board4253] Timeout waiting for response (Retry 1/3). Command: x00c_002101:ow2800326003e, ReceivedSoFar: -[17:37:56.522] [WARNING] [Board4253] Timeout waiting for response (Retry 2/3). Command: x00c_002101:ow2800326003e, ReceivedSoFar: -[17:37:59.537] [WARNING] [Board4253] Timeout waiting for response (Retry 1/3). Command: x00o, ReceivedSoFar: -[17:38:01.148] [WARNING] [Board4253] Timeout waiting for response (Retry 1/3). Command: x00c_002101:ow2800326003e, ReceivedSoFar: -[17:38:01.963] [WARNING] [Board4253] Timeout waiting for response (Retry 2/3). Command: x00c_002101:ow2800326003e, ReceivedSoFar: -[17:38:02.781] [WARNING] [Board4253] Timeout waiting for response (Retry 3/3). Command: x00c_002101:ow2800326003e, ReceivedSoFar: -[17:38:04.414] [WARNING] [Board4253] Timeout waiting for response (Retry 1/3). Command: x00o, ReceivedSoFar: -[17:38:05.243] [WARNING] [Board4253] Timeout waiting for response (Retry 2/3). Command: x00o, ReceivedSoFar: -[17:38:06.058] [WARNING] [Board4253] Timeout waiting for response (Retry 3/3). Command: x00o, ReceivedSoFar: -[17:38:07.446] [WARNING] [Board4253] Timeout waiting for response (Retry 1/3). Command: x00c_001101:ow2800326003e, ReceivedSoFar: -[17:38:08.274] [WARNING] [Board4253] Timeout waiting for response (Retry 2/3). Command: x00c_001101:ow2800326003e, ReceivedSoFar: -[17:38:09.090] [WARNING] [Board4253] Timeout waiting for response (Retry 3/3). Command: x00c_001101:ow2800326003e, ReceivedSoFar: diff --git a/leak_test_project/bin/Release/Logs/2026-04-24_system.log b/leak_test_project/bin/Release/Logs/2026-04-24_system.log deleted file mode 100644 index 1086dc2..0000000 --- a/leak_test_project/bin/Release/Logs/2026-04-24_system.log +++ /dev/null @@ -1,12 +0,0 @@ -[09:15:52.955] [ERROR] [Board4253] Failed to receive response after 3 retries: x00o -[09:15:54.567] [ERROR] [Board4253] Failed to receive response after 3 retries: x00c_001101:owt28006727ea97c7801 -[09:15:56.332] [ERROR] [Board4253] Failed to receive response after 3 retries: x00o -[09:15:57.938] [ERROR] [Board4253] Failed to receive response after 3 retries: x00c_002101:owt28006727ea97c7801 -[09:25:56.095] [ERROR] [Board4251] Failed to receive response after 3 retries: x00o -[09:25:57.708] [ERROR] [Board4251] Failed to receive response after 3 retries: x00c_002101:owt28006727ea97c7801 -[09:26:03.642] [ERROR] [Board4251] Failed to receive response after 3 retries: x00o -[09:26:05.253] [ERROR] [Board4251] Failed to receive response after 3 retries: x00c_001101:owt28006727ea97c7801 -[09:26:07.848] [ERROR] [Board4251] Failed to receive response after 3 retries: x00o -[09:26:09.454] [ERROR] [Board4251] Failed to receive response after 3 retries: x00c_002101:owt28006727ea97c7801 -[09:26:20.684] [WARNING] [Board4251] Timeout waiting for response (Retry 1/3). Command: x00c_002101:ow2800326003e, ReceivedSoFar: -[09:27:10.638] [WARNING] [Board4251] Timeout waiting for response (Retry 1/3). Command: x00c_002101:ow2800326003e, ReceivedSoFar: diff --git a/leak_test_project/bin/Release/Logs/2026-04-27_system.log b/leak_test_project/bin/Release/Logs/2026-04-27_system.log deleted file mode 100644 index 84c2a0d..0000000 --- a/leak_test_project/bin/Release/Logs/2026-04-27_system.log +++ /dev/null @@ -1,2 +0,0 @@ -[11:07:28.075] [ERROR] [Board4251] Failed to receive response after 3 retries: x00o -[11:07:29.684] [ERROR] [Board4251] Failed to receive response after 3 retries: x00c_001101:owt28006727ea97c7801 diff --git a/leak_test_project/bin/Release/Logs/2026-05-27_system.log b/leak_test_project/bin/Release/Logs/2026-05-27_system.log deleted file mode 100644 index bf09b0c..0000000 --- a/leak_test_project/bin/Release/Logs/2026-05-27_system.log +++ /dev/null @@ -1,4 +0,0 @@ -[10:48:54.496] [ERROR] [Board4251] Failed to receive response after 3 retries: x00o -[10:48:55.855] [ERROR] [Board4251] Failed to receive response after 3 retries: x00c_001101:owt28006727ea97c7801 -[10:49:09.030] [ERROR] [Board4251] Failed to receive response after 3 retries: x00o -[10:49:10.373] [ERROR] [Board4251] Failed to receive response after 3 retries: x00c_001101:owt28006727ea97c7801 diff --git a/leak_test_project/bin/Release/Logs/2026-06-02_system.log b/leak_test_project/bin/Release/Logs/2026-06-02_system.log deleted file mode 100644 index 2e0328c..0000000 --- a/leak_test_project/bin/Release/Logs/2026-06-02_system.log +++ /dev/null @@ -1,10 +0,0 @@ -[09:59:11.400] [ERROR] [Board4251] Failed to receive response after 3 retries: x00o -[09:59:12.758] [ERROR] [Board4251] Failed to receive response after 3 retries: x00c_001101:owt28006727ea97c7801 -[09:59:14.523] [ERROR] [Board4251] Failed to receive response after 3 retries: x00o -[09:59:15.883] [ERROR] [Board4251] Failed to receive response after 3 retries: x00c_002101:owt28006727ea97c7801 -[09:59:19.490] [ERROR] [Board4251] Failed to receive response after 3 retries: x00o -[09:59:20.851] [ERROR] [Board4251] Failed to receive response after 3 retries: x00c_001101:owt28006727ea97c7801 -[09:59:22.615] [ERROR] [Board4251] Failed to receive response after 3 retries: x00o -[09:59:23.977] [ERROR] [Board4251] Failed to receive response after 3 retries: x00c_002101:owt28006727ea97c7801 -[09:59:25.741] [ERROR] [Board4251] Failed to receive response after 3 retries: x00o -[09:59:27.100] [ERROR] [Board4251] Failed to receive response after 3 retries: x00c_001101:owt28006727ea97c7801 diff --git a/leak_test_project/bin/Release/Logs/2026-06-16_system.log b/leak_test_project/bin/Release/Logs/2026-06-16_system.log deleted file mode 100644 index 842fb8c..0000000 --- a/leak_test_project/bin/Release/Logs/2026-06-16_system.log +++ /dev/null @@ -1,4 +0,0 @@ -[14:26:33.941] [ERROR] [Board4251] Failed to receive response after 3 retries: x00o -[14:26:35.298] [ERROR] [Board4251] Failed to receive response after 3 retries: x00c_002101:owt28006727ea97c7801 -[14:26:37.038] [ERROR] [Board4251] Failed to receive response after 3 retries: x00o -[14:26:38.407] [ERROR] [Board4251] Failed to receive response after 3 retries: x00c_001101:owt28006727ea97c7801 diff --git a/leak_test_project/bin/Release/Logs/2026-06-18_system.log b/leak_test_project/bin/Release/Logs/2026-06-18_system.log deleted file mode 100644 index 5727672..0000000 --- a/leak_test_project/bin/Release/Logs/2026-06-18_system.log +++ /dev/null @@ -1,2 +0,0 @@ -[11:13:29.052] [ERROR] [Board4251] Failed to receive response after 3 retries: x00o -[11:13:30.394] [ERROR] [Board4251] Failed to receive response after 3 retries: x00c_001101:owt28006727ea97c7801 diff --git a/leak_test_project/bin/Release/Logs/2026-06-25_system.log b/leak_test_project/bin/Release/Logs/2026-06-25_system.log deleted file mode 100644 index 6dd299b..0000000 --- a/leak_test_project/bin/Release/Logs/2026-06-25_system.log +++ /dev/null @@ -1,8 +0,0 @@ -[10:17:36.444] [ERROR] [Board4251] Failed to receive response after 3 retries: x00o -[10:17:37.692] [ERROR] [Board4251] Failed to receive response after 3 retries: x00c_001101:owt28006727ea97c7801 -[10:17:39.458] [ERROR] [Board4251] Failed to receive response after 3 retries: x00o -[10:17:40.707] [ERROR] [Board4251] Failed to receive response after 3 retries: x00c_002101:owt28006727ea97c7801 -[10:17:43.159] [ERROR] [Board4251] Failed to receive response after 3 retries: x00o -[10:17:44.414] [ERROR] [Board4251] Failed to receive response after 3 retries: x00c_002101:owt28006727ea97c7801 -[10:17:46.175] [ERROR] [Board4251] Failed to receive response after 3 retries: x00o -[10:17:47.441] [ERROR] [Board4251] Failed to receive response after 3 retries: x00c_001101:owt28006727ea97c7801 diff --git a/leak_test_project/bin/Release/Microsoft.VisualStudio.Setup.Configuration.Interop.dll b/leak_test_project/bin/Release/Microsoft.VisualStudio.Setup.Configuration.Interop.dll new file mode 100644 index 0000000..55fc91d Binary files /dev/null and b/leak_test_project/bin/Release/Microsoft.VisualStudio.Setup.Configuration.Interop.dll differ diff --git a/leak_test_project/bin/Release/PCI-Dask64.dll b/leak_test_project/bin/Release/PCI-Dask64.dll deleted file mode 100644 index bfe5d7a..0000000 Binary files a/leak_test_project/bin/Release/PCI-Dask64.dll and /dev/null differ diff --git a/leak_test_project/bin/Release/Settings/DioConfig.ini b/leak_test_project/bin/Release/Settings/DioConfig.ini deleted file mode 100644 index a4256ef..0000000 --- a/leak_test_project/bin/Release/Settings/DioConfig.ini +++ /dev/null @@ -1,21 +0,0 @@ -[DIO] -CompanyName=ADLink -BoardCnt=1 -LogEnabled=False - -[BOARD_1] -BoardType=PCI_7432 -BoardNumber=0 -InPortCnt=2 -OutPortCnt=5 - -[BOARD_1_IN] -0=LEFT_START,1,좌측 시험 시작 신호 -1=RIGHT_START,1,우측 시험 시작 신호 - -[BOARD_1_OUT] -0=LEFT_OK,1,좌측 합격 출력 -1=RIGHT_OK,1,우측 합격 출력 -2=PC_ON,1,PC 가동 신호 -3=LEFT_NG,1,좌측 불합격 출력 -4=RIGHT_NG,1,우측 불합격 출력 diff --git a/leak_test_project/bin/Release/System.Data.SqlClient.dll b/leak_test_project/bin/Release/System.Data.SqlClient.dll new file mode 100644 index 0000000..2eef011 Binary files /dev/null and b/leak_test_project/bin/Release/System.Data.SqlClient.dll differ diff --git a/leak_test_project/bin/Release/System.IO.Ports.dll b/leak_test_project/bin/Release/System.IO.Ports.dll new file mode 100644 index 0000000..be756f0 Binary files /dev/null and b/leak_test_project/bin/Release/System.IO.Ports.dll differ diff --git a/leak_test_project/bin/Release/app.publish/leak_test_project.exe b/leak_test_project/bin/Release/app.publish/leak_test_project.exe deleted file mode 100644 index 88551aa..0000000 Binary files a/leak_test_project/bin/Release/app.publish/leak_test_project.exe and /dev/null differ diff --git a/leak_test_project/bin/Release/config.xml b/leak_test_project/bin/Release/config.xml deleted file mode 100644 index 11e684a..0000000 --- a/leak_test_project/bin/Release/config.xml +++ /dev/null @@ -1,10 +0,0 @@ - - - COM1 - 9600 - COM11 - 115200 - 5000 - 0.1 - -0.1 - \ No newline at end of file diff --git a/leak_test_project/bin/Release/leak_test_project.application b/leak_test_project/bin/Release/leak_test_project.application deleted file mode 100644 index 2b30ded..0000000 --- a/leak_test_project/bin/Release/leak_test_project.application +++ /dev/null @@ -1,21 +0,0 @@ - - - - - - - - - - - - - - - - - n7VmvcxpOf8Y+LRFjH5TmdoI+vXXgYov1j6fqW/Nbxs= - - - - \ No newline at end of file diff --git a/leak_test_project/bin/Release/leak_test_project.deps.json b/leak_test_project/bin/Release/leak_test_project.deps.json new file mode 100644 index 0000000..a211635 --- /dev/null +++ b/leak_test_project/bin/Release/leak_test_project.deps.json @@ -0,0 +1,452 @@ +{ + "runtimeTarget": { + "name": ".NETCoreApp,Version=v9.0", + "signature": "" + }, + "compilationOptions": {}, + "targets": { + ".NETCoreApp,Version=v9.0": { + "leak_test_project/1.0.0": { + "dependencies": { + "Microsoft.VisualStudio.Setup.Configuration.Interop": "3.14.2075", + "System.Data.SqlClient": "4.9.0", + "System.IO.Ports": "9.0.0" + }, + "runtime": { + "leak_test_project.dll": {} + } + }, + "Microsoft.VisualStudio.Setup.Configuration.Interop/3.14.2075": { + "runtime": { + "lib/netstandard2.1/Microsoft.VisualStudio.Setup.Configuration.Interop.dll": { + "assemblyVersion": "1.0.0.0", + "fileVersion": "3.14.2075.50697" + } + } + }, + "runtime.android-arm.runtime.native.System.IO.Ports/9.0.0": { + "runtimeTargets": { + "runtimes/android-arm/native/libSystem.IO.Ports.Native.so": { + "rid": "android-arm", + "assetType": "native", + "fileVersion": "0.0.0.0" + } + } + }, + "runtime.android-arm64.runtime.native.System.IO.Ports/9.0.0": { + "runtimeTargets": { + "runtimes/android-arm64/native/libSystem.IO.Ports.Native.so": { + "rid": "android-arm64", + "assetType": "native", + "fileVersion": "0.0.0.0" + } + } + }, + "runtime.android-x64.runtime.native.System.IO.Ports/9.0.0": { + "runtimeTargets": { + "runtimes/android-x64/native/libSystem.IO.Ports.Native.so": { + "rid": "android-x64", + "assetType": "native", + "fileVersion": "0.0.0.0" + } + } + }, + "runtime.android-x86.runtime.native.System.IO.Ports/9.0.0": { + "runtimeTargets": { + "runtimes/android-x86/native/libSystem.IO.Ports.Native.so": { + "rid": "android-x86", + "assetType": "native", + "fileVersion": "0.0.0.0" + } + } + }, + "runtime.linux-arm.runtime.native.System.IO.Ports/9.0.0": { + "runtimeTargets": { + "runtimes/linux-arm/native/libSystem.IO.Ports.Native.so": { + "rid": "linux-arm", + "assetType": "native", + "fileVersion": "0.0.0.0" + } + } + }, + "runtime.linux-arm64.runtime.native.System.IO.Ports/9.0.0": { + "runtimeTargets": { + "runtimes/linux-arm64/native/libSystem.IO.Ports.Native.so": { + "rid": "linux-arm64", + "assetType": "native", + "fileVersion": "0.0.0.0" + } + } + }, + "runtime.linux-bionic-arm64.runtime.native.System.IO.Ports/9.0.0": { + "runtimeTargets": { + "runtimes/linux-bionic-arm64/native/libSystem.IO.Ports.Native.so": { + "rid": "linux-bionic-arm64", + "assetType": "native", + "fileVersion": "0.0.0.0" + } + } + }, + "runtime.linux-bionic-x64.runtime.native.System.IO.Ports/9.0.0": { + "runtimeTargets": { + "runtimes/linux-bionic-x64/native/libSystem.IO.Ports.Native.so": { + "rid": "linux-bionic-x64", + "assetType": "native", + "fileVersion": "0.0.0.0" + } + } + }, + "runtime.linux-musl-arm.runtime.native.System.IO.Ports/9.0.0": { + "runtimeTargets": { + "runtimes/linux-musl-arm/native/libSystem.IO.Ports.Native.so": { + "rid": "linux-musl-arm", + "assetType": "native", + "fileVersion": "0.0.0.0" + } + } + }, + "runtime.linux-musl-arm64.runtime.native.System.IO.Ports/9.0.0": { + "runtimeTargets": { + "runtimes/linux-musl-arm64/native/libSystem.IO.Ports.Native.so": { + "rid": "linux-musl-arm64", + "assetType": "native", + "fileVersion": "0.0.0.0" + } + } + }, + "runtime.linux-musl-x64.runtime.native.System.IO.Ports/9.0.0": { + "runtimeTargets": { + "runtimes/linux-musl-x64/native/libSystem.IO.Ports.Native.so": { + "rid": "linux-musl-x64", + "assetType": "native", + "fileVersion": "0.0.0.0" + } + } + }, + "runtime.linux-x64.runtime.native.System.IO.Ports/9.0.0": { + "runtimeTargets": { + "runtimes/linux-x64/native/libSystem.IO.Ports.Native.so": { + "rid": "linux-x64", + "assetType": "native", + "fileVersion": "0.0.0.0" + } + } + }, + "runtime.maccatalyst-arm64.runtime.native.System.IO.Ports/9.0.0": { + "runtimeTargets": { + "runtimes/maccatalyst-arm64/native/libSystem.IO.Ports.Native.dylib": { + "rid": "maccatalyst-arm64", + "assetType": "native", + "fileVersion": "0.0.0.0" + } + } + }, + "runtime.maccatalyst-x64.runtime.native.System.IO.Ports/9.0.0": { + "runtimeTargets": { + "runtimes/maccatalyst-x64/native/libSystem.IO.Ports.Native.dylib": { + "rid": "maccatalyst-x64", + "assetType": "native", + "fileVersion": "0.0.0.0" + } + } + }, + "runtime.native.System.Data.SqlClient.sni/4.4.0": { + "dependencies": { + "runtime.win-arm64.runtime.native.System.Data.SqlClient.sni": "4.4.0", + "runtime.win-x64.runtime.native.System.Data.SqlClient.sni": "4.4.0", + "runtime.win-x86.runtime.native.System.Data.SqlClient.sni": "4.4.0" + } + }, + "runtime.native.System.IO.Ports/9.0.0": { + "dependencies": { + "runtime.android-arm.runtime.native.System.IO.Ports": "9.0.0", + "runtime.android-arm64.runtime.native.System.IO.Ports": "9.0.0", + "runtime.android-x64.runtime.native.System.IO.Ports": "9.0.0", + "runtime.android-x86.runtime.native.System.IO.Ports": "9.0.0", + "runtime.linux-arm.runtime.native.System.IO.Ports": "9.0.0", + "runtime.linux-arm64.runtime.native.System.IO.Ports": "9.0.0", + "runtime.linux-bionic-arm64.runtime.native.System.IO.Ports": "9.0.0", + "runtime.linux-bionic-x64.runtime.native.System.IO.Ports": "9.0.0", + "runtime.linux-musl-arm.runtime.native.System.IO.Ports": "9.0.0", + "runtime.linux-musl-arm64.runtime.native.System.IO.Ports": "9.0.0", + "runtime.linux-musl-x64.runtime.native.System.IO.Ports": "9.0.0", + "runtime.linux-x64.runtime.native.System.IO.Ports": "9.0.0", + "runtime.maccatalyst-arm64.runtime.native.System.IO.Ports": "9.0.0", + "runtime.maccatalyst-x64.runtime.native.System.IO.Ports": "9.0.0", + "runtime.osx-arm64.runtime.native.System.IO.Ports": "9.0.0", + "runtime.osx-x64.runtime.native.System.IO.Ports": "9.0.0" + } + }, + "runtime.osx-arm64.runtime.native.System.IO.Ports/9.0.0": { + "runtimeTargets": { + "runtimes/osx-arm64/native/libSystem.IO.Ports.Native.dylib": { + "rid": "osx-arm64", + "assetType": "native", + "fileVersion": "0.0.0.0" + } + } + }, + "runtime.osx-x64.runtime.native.System.IO.Ports/9.0.0": { + "runtimeTargets": { + "runtimes/osx-x64/native/libSystem.IO.Ports.Native.dylib": { + "rid": "osx-x64", + "assetType": "native", + "fileVersion": "0.0.0.0" + } + } + }, + "runtime.win-arm64.runtime.native.System.Data.SqlClient.sni/4.4.0": { + "runtimeTargets": { + "runtimes/win-arm64/native/sni.dll": { + "rid": "win-arm64", + "assetType": "native", + "fileVersion": "4.6.25512.1" + } + } + }, + "runtime.win-x64.runtime.native.System.Data.SqlClient.sni/4.4.0": { + "runtimeTargets": { + "runtimes/win-x64/native/sni.dll": { + "rid": "win-x64", + "assetType": "native", + "fileVersion": "4.6.25512.1" + } + } + }, + "runtime.win-x86.runtime.native.System.Data.SqlClient.sni/4.4.0": { + "runtimeTargets": { + "runtimes/win-x86/native/sni.dll": { + "rid": "win-x86", + "assetType": "native", + "fileVersion": "4.6.25512.1" + } + } + }, + "System.Data.SqlClient/4.9.0": { + "dependencies": { + "runtime.native.System.Data.SqlClient.sni": "4.4.0" + }, + "runtime": { + "lib/net8.0/System.Data.SqlClient.dll": { + "assemblyVersion": "4.6.1.6", + "fileVersion": "4.900.24.56208" + } + }, + "runtimeTargets": { + "runtimes/unix/lib/net8.0/System.Data.SqlClient.dll": { + "rid": "unix", + "assetType": "runtime", + "assemblyVersion": "4.6.1.6", + "fileVersion": "4.900.24.56208" + }, + "runtimes/win/lib/net8.0/System.Data.SqlClient.dll": { + "rid": "win", + "assetType": "runtime", + "assemblyVersion": "4.6.1.6", + "fileVersion": "4.900.24.56208" + } + } + }, + "System.IO.Ports/9.0.0": { + "dependencies": { + "runtime.native.System.IO.Ports": "9.0.0" + }, + "runtime": { + "lib/net9.0/System.IO.Ports.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.24.52809" + } + }, + "runtimeTargets": { + "runtimes/unix/lib/net9.0/System.IO.Ports.dll": { + "rid": "unix", + "assetType": "runtime", + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.24.52809" + }, + "runtimes/win/lib/net9.0/System.IO.Ports.dll": { + "rid": "win", + "assetType": "runtime", + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.24.52809" + } + } + } + } + }, + "libraries": { + "leak_test_project/1.0.0": { + "type": "project", + "serviceable": false, + "sha512": "" + }, + "Microsoft.VisualStudio.Setup.Configuration.Interop/3.14.2075": { + "type": "package", + "serviceable": true, + "sha512": "sha512-SH4pYl7XBUjL6sRAk+l2jsK7B9VbiKPEKkzJdmNxgexeHpAP7T+VlZk0w3NHgPG1UGQ3fxnhc427cM2o9GUYYA==", + "path": "microsoft.visualstudio.setup.configuration.interop/3.14.2075", + "hashPath": "microsoft.visualstudio.setup.configuration.interop.3.14.2075.nupkg.sha512" + }, + "runtime.android-arm.runtime.native.System.IO.Ports/9.0.0": { + "type": "package", + "serviceable": true, + "sha512": "sha512-zF8HT4aoFZkWF4OxhFLxUNEfoIjyILg0aQhgIR3m+dbLE4yadMd7kdctMvPhYYaVpnilmBCIjiQsrxH4UC/JxQ==", + "path": "runtime.android-arm.runtime.native.system.io.ports/9.0.0", + "hashPath": "runtime.android-arm.runtime.native.system.io.ports.9.0.0.nupkg.sha512" + }, + "runtime.android-arm64.runtime.native.System.IO.Ports/9.0.0": { + "type": "package", + "serviceable": true, + "sha512": "sha512-JVRoxUTXhyFfDak3GLbZh9oPjz+eVJwiZQWOU/TQ1Nj7us11GMc97IBsRzjGDtGJvFOWhGhEkka8SYmVcwpA2A==", + "path": "runtime.android-arm64.runtime.native.system.io.ports/9.0.0", + "hashPath": "runtime.android-arm64.runtime.native.system.io.ports.9.0.0.nupkg.sha512" + }, + "runtime.android-x64.runtime.native.System.IO.Ports/9.0.0": { + "type": "package", + "serviceable": true, + "sha512": "sha512-QMWQv8nptbkzEDPUOmVwo3l/ve1pgApqv/eGY/eIJoNCGxUP6MYUu/GHdznRaBlSkuRyhFN8osVyqZMFKlBA7g==", + "path": "runtime.android-x64.runtime.native.system.io.ports/9.0.0", + "hashPath": "runtime.android-x64.runtime.native.system.io.ports.9.0.0.nupkg.sha512" + }, + "runtime.android-x86.runtime.native.System.IO.Ports/9.0.0": { + "type": "package", + "serviceable": true, + "sha512": "sha512-NRuTmUukSfpbv1wdJJXvWE/v1+aRHw5OxEODGeyKuFGy09uZIfFsdU1SPXB1cGPHsUaZRhZfOVel30zEgRQiUw==", + "path": "runtime.android-x86.runtime.native.system.io.ports/9.0.0", + "hashPath": "runtime.android-x86.runtime.native.system.io.ports.9.0.0.nupkg.sha512" + }, + "runtime.linux-arm.runtime.native.System.IO.Ports/9.0.0": { + "type": "package", + "serviceable": true, + "sha512": "sha512-l5/3/3LfkemzovK66DrxsbGXRXIgmHaqYaYdhFR09lawWbPHhq4HJ0u2FzO+/neidm8bJtJAV6+iixMDuYIBgg==", + "path": "runtime.linux-arm.runtime.native.system.io.ports/9.0.0", + "hashPath": "runtime.linux-arm.runtime.native.system.io.ports.9.0.0.nupkg.sha512" + }, + "runtime.linux-arm64.runtime.native.System.IO.Ports/9.0.0": { + "type": "package", + "serviceable": true, + "sha512": "sha512-q69FDpp5XSq3lJUMyMpUXBXTh6ekNM1NCnM5aYYiIx4AY1cH/rgLSwR4n2wQJqC6yuL0Z/epSf3KoYLYT8++Yg==", + "path": "runtime.linux-arm64.runtime.native.system.io.ports/9.0.0", + "hashPath": "runtime.linux-arm64.runtime.native.system.io.ports.9.0.0.nupkg.sha512" + }, + "runtime.linux-bionic-arm64.runtime.native.System.IO.Ports/9.0.0": { + "type": "package", + "serviceable": true, + "sha512": "sha512-kAOBq4UnR0B2UirRxLsPx4BIzt61Ydw40FFCe9NcFSncV6q+ikuhgN6eOrcaOcSu5QUiXacQRgFUX1Pux6ckYg==", + "path": "runtime.linux-bionic-arm64.runtime.native.system.io.ports/9.0.0", + "hashPath": "runtime.linux-bionic-arm64.runtime.native.system.io.ports.9.0.0.nupkg.sha512" + }, + "runtime.linux-bionic-x64.runtime.native.System.IO.Ports/9.0.0": { + "type": "package", + "serviceable": true, + "sha512": "sha512-yCpRhte4+7C6ULKGA4qLaXGjQJwoygqyzgUN9u2tkfyGkwBUS66SRr6nNx522+4ATI8ZFkgIIZIkTczY77rcZw==", + "path": "runtime.linux-bionic-x64.runtime.native.system.io.ports/9.0.0", + "hashPath": "runtime.linux-bionic-x64.runtime.native.system.io.ports.9.0.0.nupkg.sha512" + }, + "runtime.linux-musl-arm.runtime.native.System.IO.Ports/9.0.0": { + "type": "package", + "serviceable": true, + "sha512": "sha512-isaMOGqA4iIklwMt6wYTuPqj83D8DDUA2wainLqPjXaQ1Ri+5K8A+4J0BonjA/HMWtywBKnt2WGUXZ3DQN18ZA==", + "path": "runtime.linux-musl-arm.runtime.native.system.io.ports/9.0.0", + "hashPath": "runtime.linux-musl-arm.runtime.native.system.io.ports.9.0.0.nupkg.sha512" + }, + "runtime.linux-musl-arm64.runtime.native.System.IO.Ports/9.0.0": { + "type": "package", + "serviceable": true, + "sha512": "sha512-yWsWQTf7r1aigde6EeoHzHhldoBw6fJ8AHR2ow4kobNuaS9Z/9rvLUFsGkAAY8GMUZadF5S1OGUsIzUd17RZBg==", + "path": "runtime.linux-musl-arm64.runtime.native.system.io.ports/9.0.0", + "hashPath": "runtime.linux-musl-arm64.runtime.native.system.io.ports.9.0.0.nupkg.sha512" + }, + "runtime.linux-musl-x64.runtime.native.System.IO.Ports/9.0.0": { + "type": "package", + "serviceable": true, + "sha512": "sha512-NxST2ZRBRGBjHWUnQwOYoyqFWHH4UcjAeTyjviSTOdwjSqq1JuGdp4sLzPzGDLiu4R7Per3QQ1GxYoLgAlIbOA==", + "path": "runtime.linux-musl-x64.runtime.native.system.io.ports/9.0.0", + "hashPath": "runtime.linux-musl-x64.runtime.native.system.io.ports.9.0.0.nupkg.sha512" + }, + "runtime.linux-x64.runtime.native.System.IO.Ports/9.0.0": { + "type": "package", + "serviceable": true, + "sha512": "sha512-4bmb9oP1DIu2ArJ2MH2sNGbO5V3VrZ0+8lotr3cQ2G5hh66+0yHiYkwvlwP7gkSOsZPhANeX3cicqHYaDsroQA==", + "path": "runtime.linux-x64.runtime.native.system.io.ports/9.0.0", + "hashPath": "runtime.linux-x64.runtime.native.system.io.ports.9.0.0.nupkg.sha512" + }, + "runtime.maccatalyst-arm64.runtime.native.System.IO.Ports/9.0.0": { + "type": "package", + "serviceable": true, + "sha512": "sha512-k+VeOPbIx9A1/bmiw5pGBsuALGTA4UoC6SsGhcIMLyS6TMFgsjsOH1bAgim+/W1RdtR7dpPCWHNYhkrM8hXByA==", + "path": "runtime.maccatalyst-arm64.runtime.native.system.io.ports/9.0.0", + "hashPath": "runtime.maccatalyst-arm64.runtime.native.system.io.ports.9.0.0.nupkg.sha512" + }, + "runtime.maccatalyst-x64.runtime.native.System.IO.Ports/9.0.0": { + "type": "package", + "serviceable": true, + "sha512": "sha512-k1WC+Y7ht+7Omq5iW1v2Yz5CpaGGlLvlNsGS8cDAG0IN3sXUrPyUkC/40/zTL8g8/c3UFjrW0igXcwKNYa+ZuA==", + "path": "runtime.maccatalyst-x64.runtime.native.system.io.ports/9.0.0", + "hashPath": "runtime.maccatalyst-x64.runtime.native.system.io.ports.9.0.0.nupkg.sha512" + }, + "runtime.native.System.Data.SqlClient.sni/4.4.0": { + "type": "package", + "serviceable": true, + "sha512": "sha512-A8v6PGmk+UGbfWo5Ixup0lPM4swuSwOiayJExZwKIOjTlFFQIsu3QnDXECosBEyrWSPryxBVrdqtJyhK3BaupQ==", + "path": "runtime.native.system.data.sqlclient.sni/4.4.0", + "hashPath": "runtime.native.system.data.sqlclient.sni.4.4.0.nupkg.sha512" + }, + "runtime.native.System.IO.Ports/9.0.0": { + "type": "package", + "serviceable": true, + "sha512": "sha512-iWyR+xohLUht80x5MREqF7zYD0KqyVpoS9uTg9raG0ddx5pvJkCPC4eS2JdkRYY6AqPjfMiiOEZ02ZWHEBgOvg==", + "path": "runtime.native.system.io.ports/9.0.0", + "hashPath": "runtime.native.system.io.ports.9.0.0.nupkg.sha512" + }, + "runtime.osx-arm64.runtime.native.System.IO.Ports/9.0.0": { + "type": "package", + "serviceable": true, + "sha512": "sha512-ebr6uFzuICKkw9YePnCo7CdZFKYYhJZOJDJhACAKyzbT5WFvJWMyeACJIWS0uqndGMgWSc+D+UDdBu6CEpUOSg==", + "path": "runtime.osx-arm64.runtime.native.system.io.ports/9.0.0", + "hashPath": "runtime.osx-arm64.runtime.native.system.io.ports.9.0.0.nupkg.sha512" + }, + "runtime.osx-x64.runtime.native.System.IO.Ports/9.0.0": { + "type": "package", + "serviceable": true, + "sha512": "sha512-66DA4FKnfIdrkyd8Kqym06s+F/U5/7TZdkV1DllGivUNUGkC8TG5W/3D4rhLoGQRjg0uurkPWqrQXWfPEghRpQ==", + "path": "runtime.osx-x64.runtime.native.system.io.ports/9.0.0", + "hashPath": "runtime.osx-x64.runtime.native.system.io.ports.9.0.0.nupkg.sha512" + }, + "runtime.win-arm64.runtime.native.System.Data.SqlClient.sni/4.4.0": { + "type": "package", + "serviceable": true, + "sha512": "sha512-LbrynESTp3bm5O/+jGL8v0Qg5SJlTV08lpIpFesXjF6uGNMWqFnUQbYBJwZTeua6E/Y7FIM1C54Ey1btLWupdg==", + "path": "runtime.win-arm64.runtime.native.system.data.sqlclient.sni/4.4.0", + "hashPath": "runtime.win-arm64.runtime.native.system.data.sqlclient.sni.4.4.0.nupkg.sha512" + }, + "runtime.win-x64.runtime.native.System.Data.SqlClient.sni/4.4.0": { + "type": "package", + "serviceable": true, + "sha512": "sha512-38ugOfkYJqJoX9g6EYRlZB5U2ZJH51UP8ptxZgdpS07FgOEToV+lS11ouNK2PM12Pr6X/PpT5jK82G3DwH/SxQ==", + "path": "runtime.win-x64.runtime.native.system.data.sqlclient.sni/4.4.0", + "hashPath": "runtime.win-x64.runtime.native.system.data.sqlclient.sni.4.4.0.nupkg.sha512" + }, + "runtime.win-x86.runtime.native.System.Data.SqlClient.sni/4.4.0": { + "type": "package", + "serviceable": true, + "sha512": "sha512-YhEdSQUsTx+C8m8Bw7ar5/VesXvCFMItyZF7G1AUY+OM0VPZUOeAVpJ4Wl6fydBGUYZxojTDR3I6Bj/+BPkJNA==", + "path": "runtime.win-x86.runtime.native.system.data.sqlclient.sni/4.4.0", + "hashPath": "runtime.win-x86.runtime.native.system.data.sqlclient.sni.4.4.0.nupkg.sha512" + }, + "System.Data.SqlClient/4.9.0": { + "type": "package", + "serviceable": true, + "sha512": "sha512-j4KJO+vC62NyUtNHz854njEqXbT8OmAa5jb1nrGfYWBOcggyYUQE0w/snXeaCjdvkSKWuUD+hfvlbN8pTrJTXg==", + "path": "system.data.sqlclient/4.9.0", + "hashPath": "system.data.sqlclient.4.9.0.nupkg.sha512" + }, + "System.IO.Ports/9.0.0": { + "type": "package", + "serviceable": true, + "sha512": "sha512-NfEWew48r4MxHUnOQL7nw/5JBsz9dli8TJYpXjsAQu8tHH0QCq2ly4QMCc8wS9EAi1jvaFgq7ELdfwxvrKWALQ==", + "path": "system.io.ports/9.0.0", + "hashPath": "system.io.ports.9.0.0.nupkg.sha512" + } + } +} \ No newline at end of file diff --git a/leak_test_project/bin/Release/leak_test_project.dll b/leak_test_project/bin/Release/leak_test_project.dll new file mode 100644 index 0000000..a57b902 Binary files /dev/null and b/leak_test_project/bin/Release/leak_test_project.dll differ diff --git a/leak_test_project/bin/Debug/leak_test_project.exe.config b/leak_test_project/bin/Release/leak_test_project.dll.config similarity index 100% rename from leak_test_project/bin/Debug/leak_test_project.exe.config rename to leak_test_project/bin/Release/leak_test_project.dll.config diff --git a/leak_test_project/bin/Release/leak_test_project.exe b/leak_test_project/bin/Release/leak_test_project.exe index 88551aa..8e32a29 100644 Binary files a/leak_test_project/bin/Release/leak_test_project.exe and b/leak_test_project/bin/Release/leak_test_project.exe differ diff --git a/leak_test_project/bin/Release/leak_test_project.exe.manifest b/leak_test_project/bin/Release/leak_test_project.exe.manifest deleted file mode 100644 index 8933370..0000000 --- a/leak_test_project/bin/Release/leak_test_project.exe.manifest +++ /dev/null @@ -1,74 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - bIiBUDqHxOgJSZaDgyYguxKJoGO3oFxaqRp+FVa4a/A= - - - - - - - - - - pDB54gSYV5M/tu2DZtDUj13HUp3HrRLSNr97K/nGHh4= - - - - - - - - - R+Wg8QGvQVHX8T0ta/qbhH1bXkqY0fRnS3wBV3J0bN8= - - - \ No newline at end of file diff --git a/leak_test_project/bin/Release/leak_test_project.pdb b/leak_test_project/bin/Release/leak_test_project.pdb index ab63dcb..44b2e81 100644 Binary files a/leak_test_project/bin/Release/leak_test_project.pdb and b/leak_test_project/bin/Release/leak_test_project.pdb differ diff --git a/leak_test_project/bin/Release/leak_test_project.runtimeconfig.json b/leak_test_project/bin/Release/leak_test_project.runtimeconfig.json new file mode 100644 index 0000000..1cc9426 --- /dev/null +++ b/leak_test_project/bin/Release/leak_test_project.runtimeconfig.json @@ -0,0 +1,20 @@ +{ + "runtimeOptions": { + "tfm": "net9.0", + "frameworks": [ + { + "name": "Microsoft.NETCore.App", + "version": "9.0.0" + }, + { + "name": "Microsoft.WindowsDesktop.App", + "version": "9.0.0" + } + ], + "configProperties": { + "System.Reflection.Metadata.MetadataUpdater.IsSupported": false, + "System.Runtime.Serialization.EnableUnsafeBinaryFormatterSerialization": false, + "CSWINRT_USE_WINDOWS_UI_XAML_PROJECTIONS": false + } + } +} \ No newline at end of file diff --git a/leak_test_project/bin/Debug/Database.ini b/leak_test_project/bin/Release/net9.0-windows/Database.ini similarity index 100% rename from leak_test_project/bin/Debug/Database.ini rename to leak_test_project/bin/Release/net9.0-windows/Database.ini diff --git a/leak_test_project/bin/Release/net9.0-windows/Logs/2026-06-25_system.log b/leak_test_project/bin/Release/net9.0-windows/Logs/2026-06-25_system.log new file mode 100644 index 0000000..2b18633 --- /dev/null +++ b/leak_test_project/bin/Release/net9.0-windows/Logs/2026-06-25_system.log @@ -0,0 +1,4 @@ +[15:05:24.101] [ERROR] [Board4251] Failed to receive response after 3 retries: x00o +[15:05:25.334] [ERROR] [Board4251] Failed to receive response after 3 retries: x00c_001101:owt28006727ea97c7801 +[15:05:27.075] [ERROR] [Board4251] Failed to receive response after 3 retries: x00o +[15:05:28.307] [ERROR] [Board4251] Failed to receive response after 3 retries: x00c_002101:owt28006727ea97c7801 diff --git a/leak_test_project/bin/Release/net9.0-windows/Microsoft.VisualStudio.Setup.Configuration.Interop.dll b/leak_test_project/bin/Release/net9.0-windows/Microsoft.VisualStudio.Setup.Configuration.Interop.dll new file mode 100644 index 0000000..55fc91d Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/Microsoft.VisualStudio.Setup.Configuration.Interop.dll differ diff --git a/leak_test_project/bin/Debug/PCI-Dask.dll b/leak_test_project/bin/Release/net9.0-windows/PCI-Dask.dll similarity index 100% rename from leak_test_project/bin/Debug/PCI-Dask.dll rename to leak_test_project/bin/Release/net9.0-windows/PCI-Dask.dll diff --git a/leak_test_project/bin/Release/net9.0-windows/Settings/DioConfig.ini b/leak_test_project/bin/Release/net9.0-windows/Settings/DioConfig.ini new file mode 100644 index 0000000..8decab0 --- /dev/null +++ b/leak_test_project/bin/Release/net9.0-windows/Settings/DioConfig.ini @@ -0,0 +1,27 @@ +; ===================================================================== +; 하드웨어 디지털 입출력 설정 파일 (DioConfig.ini) +; ===================================================================== + +[DIO] +CompanyName=ADLink ; 입출력 보드 제조사명 (예: ADLink) +BoardCnt=1 ; 설치된 총 입출력 보드 개수 +LogEnabled=False ; DIO 동작 로그 기록 여부 (True / False) + +[BOARD_1] +BoardType=PCI_7432 ; ADLINK DIO 보드 하드웨어 모델명 +BoardNumber=0 ; 시스템 내 보드 식별 번호 (기본 0) +InPortCnt=2 ; 입력에 사용할 접점 포트 개수 +OutPortCnt=5 ; 출력에 사용할 접점 포트 개수 + +[BOARD_1_IN] +; [핀 번호]=[기능 이름],[신호 레벨],[설명] +0=LEFT_START,1,좌측 시험 시작 신호 +1=RIGHT_START,1,우측 시험 시작 신호 + +[BOARD_1_OUT] +; [핀 번호]=[기능 이름],[신호 레벨],[설명] +0=LEFT_OK,1,좌측 합격 출력 +1=RIGHT_OK,1,우측 합격 출력 +2=PC_ON,1,PC 가동 신호 +3=LEFT_NG,1,좌측 불합격 출력 +4=RIGHT_NG,1,우측 불합격 출력 diff --git a/leak_test_project/bin/Release/net9.0-windows/System.Data.SqlClient.dll b/leak_test_project/bin/Release/net9.0-windows/System.Data.SqlClient.dll new file mode 100644 index 0000000..2eef011 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/System.Data.SqlClient.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/System.IO.Ports.dll b/leak_test_project/bin/Release/net9.0-windows/System.IO.Ports.dll new file mode 100644 index 0000000..be756f0 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/System.IO.Ports.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/config.xml b/leak_test_project/bin/Release/net9.0-windows/config.xml new file mode 100644 index 0000000..fd873c6 --- /dev/null +++ b/leak_test_project/bin/Release/net9.0-windows/config.xml @@ -0,0 +1,10 @@ + + + COM1 + 9600 + COM3 + 115200 + 5000 + 1 + -1 + \ No newline at end of file diff --git a/leak_test_project/bin/Release/net9.0-windows/leak_test_project.deps.json b/leak_test_project/bin/Release/net9.0-windows/leak_test_project.deps.json new file mode 100644 index 0000000..a211635 --- /dev/null +++ b/leak_test_project/bin/Release/net9.0-windows/leak_test_project.deps.json @@ -0,0 +1,452 @@ +{ + "runtimeTarget": { + "name": ".NETCoreApp,Version=v9.0", + "signature": "" + }, + "compilationOptions": {}, + "targets": { + ".NETCoreApp,Version=v9.0": { + "leak_test_project/1.0.0": { + "dependencies": { + "Microsoft.VisualStudio.Setup.Configuration.Interop": "3.14.2075", + "System.Data.SqlClient": "4.9.0", + "System.IO.Ports": "9.0.0" + }, + "runtime": { + "leak_test_project.dll": {} + } + }, + "Microsoft.VisualStudio.Setup.Configuration.Interop/3.14.2075": { + "runtime": { + "lib/netstandard2.1/Microsoft.VisualStudio.Setup.Configuration.Interop.dll": { + "assemblyVersion": "1.0.0.0", + "fileVersion": "3.14.2075.50697" + } + } + }, + "runtime.android-arm.runtime.native.System.IO.Ports/9.0.0": { + "runtimeTargets": { + "runtimes/android-arm/native/libSystem.IO.Ports.Native.so": { + "rid": "android-arm", + "assetType": "native", + "fileVersion": "0.0.0.0" + } + } + }, + "runtime.android-arm64.runtime.native.System.IO.Ports/9.0.0": { + "runtimeTargets": { + "runtimes/android-arm64/native/libSystem.IO.Ports.Native.so": { + "rid": "android-arm64", + "assetType": "native", + "fileVersion": "0.0.0.0" + } + } + }, + "runtime.android-x64.runtime.native.System.IO.Ports/9.0.0": { + "runtimeTargets": { + "runtimes/android-x64/native/libSystem.IO.Ports.Native.so": { + "rid": "android-x64", + "assetType": "native", + "fileVersion": "0.0.0.0" + } + } + }, + "runtime.android-x86.runtime.native.System.IO.Ports/9.0.0": { + "runtimeTargets": { + "runtimes/android-x86/native/libSystem.IO.Ports.Native.so": { + "rid": "android-x86", + "assetType": "native", + "fileVersion": "0.0.0.0" + } + } + }, + "runtime.linux-arm.runtime.native.System.IO.Ports/9.0.0": { + "runtimeTargets": { + "runtimes/linux-arm/native/libSystem.IO.Ports.Native.so": { + "rid": "linux-arm", + "assetType": "native", + "fileVersion": "0.0.0.0" + } + } + }, + "runtime.linux-arm64.runtime.native.System.IO.Ports/9.0.0": { + "runtimeTargets": { + "runtimes/linux-arm64/native/libSystem.IO.Ports.Native.so": { + "rid": "linux-arm64", + "assetType": "native", + "fileVersion": "0.0.0.0" + } + } + }, + "runtime.linux-bionic-arm64.runtime.native.System.IO.Ports/9.0.0": { + "runtimeTargets": { + "runtimes/linux-bionic-arm64/native/libSystem.IO.Ports.Native.so": { + "rid": "linux-bionic-arm64", + "assetType": "native", + "fileVersion": "0.0.0.0" + } + } + }, + "runtime.linux-bionic-x64.runtime.native.System.IO.Ports/9.0.0": { + "runtimeTargets": { + "runtimes/linux-bionic-x64/native/libSystem.IO.Ports.Native.so": { + "rid": "linux-bionic-x64", + "assetType": "native", + "fileVersion": "0.0.0.0" + } + } + }, + "runtime.linux-musl-arm.runtime.native.System.IO.Ports/9.0.0": { + "runtimeTargets": { + "runtimes/linux-musl-arm/native/libSystem.IO.Ports.Native.so": { + "rid": "linux-musl-arm", + "assetType": "native", + "fileVersion": "0.0.0.0" + } + } + }, + "runtime.linux-musl-arm64.runtime.native.System.IO.Ports/9.0.0": { + "runtimeTargets": { + "runtimes/linux-musl-arm64/native/libSystem.IO.Ports.Native.so": { + "rid": "linux-musl-arm64", + "assetType": "native", + "fileVersion": "0.0.0.0" + } + } + }, + "runtime.linux-musl-x64.runtime.native.System.IO.Ports/9.0.0": { + "runtimeTargets": { + "runtimes/linux-musl-x64/native/libSystem.IO.Ports.Native.so": { + "rid": "linux-musl-x64", + "assetType": "native", + "fileVersion": "0.0.0.0" + } + } + }, + "runtime.linux-x64.runtime.native.System.IO.Ports/9.0.0": { + "runtimeTargets": { + "runtimes/linux-x64/native/libSystem.IO.Ports.Native.so": { + "rid": "linux-x64", + "assetType": "native", + "fileVersion": "0.0.0.0" + } + } + }, + "runtime.maccatalyst-arm64.runtime.native.System.IO.Ports/9.0.0": { + "runtimeTargets": { + "runtimes/maccatalyst-arm64/native/libSystem.IO.Ports.Native.dylib": { + "rid": "maccatalyst-arm64", + "assetType": "native", + "fileVersion": "0.0.0.0" + } + } + }, + "runtime.maccatalyst-x64.runtime.native.System.IO.Ports/9.0.0": { + "runtimeTargets": { + "runtimes/maccatalyst-x64/native/libSystem.IO.Ports.Native.dylib": { + "rid": "maccatalyst-x64", + "assetType": "native", + "fileVersion": "0.0.0.0" + } + } + }, + "runtime.native.System.Data.SqlClient.sni/4.4.0": { + "dependencies": { + "runtime.win-arm64.runtime.native.System.Data.SqlClient.sni": "4.4.0", + "runtime.win-x64.runtime.native.System.Data.SqlClient.sni": "4.4.0", + "runtime.win-x86.runtime.native.System.Data.SqlClient.sni": "4.4.0" + } + }, + "runtime.native.System.IO.Ports/9.0.0": { + "dependencies": { + "runtime.android-arm.runtime.native.System.IO.Ports": "9.0.0", + "runtime.android-arm64.runtime.native.System.IO.Ports": "9.0.0", + "runtime.android-x64.runtime.native.System.IO.Ports": "9.0.0", + "runtime.android-x86.runtime.native.System.IO.Ports": "9.0.0", + "runtime.linux-arm.runtime.native.System.IO.Ports": "9.0.0", + "runtime.linux-arm64.runtime.native.System.IO.Ports": "9.0.0", + "runtime.linux-bionic-arm64.runtime.native.System.IO.Ports": "9.0.0", + "runtime.linux-bionic-x64.runtime.native.System.IO.Ports": "9.0.0", + "runtime.linux-musl-arm.runtime.native.System.IO.Ports": "9.0.0", + "runtime.linux-musl-arm64.runtime.native.System.IO.Ports": "9.0.0", + "runtime.linux-musl-x64.runtime.native.System.IO.Ports": "9.0.0", + "runtime.linux-x64.runtime.native.System.IO.Ports": "9.0.0", + "runtime.maccatalyst-arm64.runtime.native.System.IO.Ports": "9.0.0", + "runtime.maccatalyst-x64.runtime.native.System.IO.Ports": "9.0.0", + "runtime.osx-arm64.runtime.native.System.IO.Ports": "9.0.0", + "runtime.osx-x64.runtime.native.System.IO.Ports": "9.0.0" + } + }, + "runtime.osx-arm64.runtime.native.System.IO.Ports/9.0.0": { + "runtimeTargets": { + "runtimes/osx-arm64/native/libSystem.IO.Ports.Native.dylib": { + "rid": "osx-arm64", + "assetType": "native", + "fileVersion": "0.0.0.0" + } + } + }, + "runtime.osx-x64.runtime.native.System.IO.Ports/9.0.0": { + "runtimeTargets": { + "runtimes/osx-x64/native/libSystem.IO.Ports.Native.dylib": { + "rid": "osx-x64", + "assetType": "native", + "fileVersion": "0.0.0.0" + } + } + }, + "runtime.win-arm64.runtime.native.System.Data.SqlClient.sni/4.4.0": { + "runtimeTargets": { + "runtimes/win-arm64/native/sni.dll": { + "rid": "win-arm64", + "assetType": "native", + "fileVersion": "4.6.25512.1" + } + } + }, + "runtime.win-x64.runtime.native.System.Data.SqlClient.sni/4.4.0": { + "runtimeTargets": { + "runtimes/win-x64/native/sni.dll": { + "rid": "win-x64", + "assetType": "native", + "fileVersion": "4.6.25512.1" + } + } + }, + "runtime.win-x86.runtime.native.System.Data.SqlClient.sni/4.4.0": { + "runtimeTargets": { + "runtimes/win-x86/native/sni.dll": { + "rid": "win-x86", + "assetType": "native", + "fileVersion": "4.6.25512.1" + } + } + }, + "System.Data.SqlClient/4.9.0": { + "dependencies": { + "runtime.native.System.Data.SqlClient.sni": "4.4.0" + }, + "runtime": { + "lib/net8.0/System.Data.SqlClient.dll": { + "assemblyVersion": "4.6.1.6", + "fileVersion": "4.900.24.56208" + } + }, + "runtimeTargets": { + "runtimes/unix/lib/net8.0/System.Data.SqlClient.dll": { + "rid": "unix", + "assetType": "runtime", + "assemblyVersion": "4.6.1.6", + "fileVersion": "4.900.24.56208" + }, + "runtimes/win/lib/net8.0/System.Data.SqlClient.dll": { + "rid": "win", + "assetType": "runtime", + "assemblyVersion": "4.6.1.6", + "fileVersion": "4.900.24.56208" + } + } + }, + "System.IO.Ports/9.0.0": { + "dependencies": { + "runtime.native.System.IO.Ports": "9.0.0" + }, + "runtime": { + "lib/net9.0/System.IO.Ports.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.24.52809" + } + }, + "runtimeTargets": { + "runtimes/unix/lib/net9.0/System.IO.Ports.dll": { + "rid": "unix", + "assetType": "runtime", + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.24.52809" + }, + "runtimes/win/lib/net9.0/System.IO.Ports.dll": { + "rid": "win", + "assetType": "runtime", + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.24.52809" + } + } + } + } + }, + "libraries": { + "leak_test_project/1.0.0": { + "type": "project", + "serviceable": false, + "sha512": "" + }, + "Microsoft.VisualStudio.Setup.Configuration.Interop/3.14.2075": { + "type": "package", + "serviceable": true, + "sha512": "sha512-SH4pYl7XBUjL6sRAk+l2jsK7B9VbiKPEKkzJdmNxgexeHpAP7T+VlZk0w3NHgPG1UGQ3fxnhc427cM2o9GUYYA==", + "path": "microsoft.visualstudio.setup.configuration.interop/3.14.2075", + "hashPath": "microsoft.visualstudio.setup.configuration.interop.3.14.2075.nupkg.sha512" + }, + "runtime.android-arm.runtime.native.System.IO.Ports/9.0.0": { + "type": "package", + "serviceable": true, + "sha512": "sha512-zF8HT4aoFZkWF4OxhFLxUNEfoIjyILg0aQhgIR3m+dbLE4yadMd7kdctMvPhYYaVpnilmBCIjiQsrxH4UC/JxQ==", + "path": "runtime.android-arm.runtime.native.system.io.ports/9.0.0", + "hashPath": "runtime.android-arm.runtime.native.system.io.ports.9.0.0.nupkg.sha512" + }, + "runtime.android-arm64.runtime.native.System.IO.Ports/9.0.0": { + "type": "package", + "serviceable": true, + "sha512": "sha512-JVRoxUTXhyFfDak3GLbZh9oPjz+eVJwiZQWOU/TQ1Nj7us11GMc97IBsRzjGDtGJvFOWhGhEkka8SYmVcwpA2A==", + "path": "runtime.android-arm64.runtime.native.system.io.ports/9.0.0", + "hashPath": "runtime.android-arm64.runtime.native.system.io.ports.9.0.0.nupkg.sha512" + }, + "runtime.android-x64.runtime.native.System.IO.Ports/9.0.0": { + "type": "package", + "serviceable": true, + "sha512": "sha512-QMWQv8nptbkzEDPUOmVwo3l/ve1pgApqv/eGY/eIJoNCGxUP6MYUu/GHdznRaBlSkuRyhFN8osVyqZMFKlBA7g==", + "path": "runtime.android-x64.runtime.native.system.io.ports/9.0.0", + "hashPath": "runtime.android-x64.runtime.native.system.io.ports.9.0.0.nupkg.sha512" + }, + "runtime.android-x86.runtime.native.System.IO.Ports/9.0.0": { + "type": "package", + "serviceable": true, + "sha512": "sha512-NRuTmUukSfpbv1wdJJXvWE/v1+aRHw5OxEODGeyKuFGy09uZIfFsdU1SPXB1cGPHsUaZRhZfOVel30zEgRQiUw==", + "path": "runtime.android-x86.runtime.native.system.io.ports/9.0.0", + "hashPath": "runtime.android-x86.runtime.native.system.io.ports.9.0.0.nupkg.sha512" + }, + "runtime.linux-arm.runtime.native.System.IO.Ports/9.0.0": { + "type": "package", + "serviceable": true, + "sha512": "sha512-l5/3/3LfkemzovK66DrxsbGXRXIgmHaqYaYdhFR09lawWbPHhq4HJ0u2FzO+/neidm8bJtJAV6+iixMDuYIBgg==", + "path": "runtime.linux-arm.runtime.native.system.io.ports/9.0.0", + "hashPath": "runtime.linux-arm.runtime.native.system.io.ports.9.0.0.nupkg.sha512" + }, + "runtime.linux-arm64.runtime.native.System.IO.Ports/9.0.0": { + "type": "package", + "serviceable": true, + "sha512": "sha512-q69FDpp5XSq3lJUMyMpUXBXTh6ekNM1NCnM5aYYiIx4AY1cH/rgLSwR4n2wQJqC6yuL0Z/epSf3KoYLYT8++Yg==", + "path": "runtime.linux-arm64.runtime.native.system.io.ports/9.0.0", + "hashPath": "runtime.linux-arm64.runtime.native.system.io.ports.9.0.0.nupkg.sha512" + }, + "runtime.linux-bionic-arm64.runtime.native.System.IO.Ports/9.0.0": { + "type": "package", + "serviceable": true, + "sha512": "sha512-kAOBq4UnR0B2UirRxLsPx4BIzt61Ydw40FFCe9NcFSncV6q+ikuhgN6eOrcaOcSu5QUiXacQRgFUX1Pux6ckYg==", + "path": "runtime.linux-bionic-arm64.runtime.native.system.io.ports/9.0.0", + "hashPath": "runtime.linux-bionic-arm64.runtime.native.system.io.ports.9.0.0.nupkg.sha512" + }, + "runtime.linux-bionic-x64.runtime.native.System.IO.Ports/9.0.0": { + "type": "package", + "serviceable": true, + "sha512": "sha512-yCpRhte4+7C6ULKGA4qLaXGjQJwoygqyzgUN9u2tkfyGkwBUS66SRr6nNx522+4ATI8ZFkgIIZIkTczY77rcZw==", + "path": "runtime.linux-bionic-x64.runtime.native.system.io.ports/9.0.0", + "hashPath": "runtime.linux-bionic-x64.runtime.native.system.io.ports.9.0.0.nupkg.sha512" + }, + "runtime.linux-musl-arm.runtime.native.System.IO.Ports/9.0.0": { + "type": "package", + "serviceable": true, + "sha512": "sha512-isaMOGqA4iIklwMt6wYTuPqj83D8DDUA2wainLqPjXaQ1Ri+5K8A+4J0BonjA/HMWtywBKnt2WGUXZ3DQN18ZA==", + "path": "runtime.linux-musl-arm.runtime.native.system.io.ports/9.0.0", + "hashPath": "runtime.linux-musl-arm.runtime.native.system.io.ports.9.0.0.nupkg.sha512" + }, + "runtime.linux-musl-arm64.runtime.native.System.IO.Ports/9.0.0": { + "type": "package", + "serviceable": true, + "sha512": "sha512-yWsWQTf7r1aigde6EeoHzHhldoBw6fJ8AHR2ow4kobNuaS9Z/9rvLUFsGkAAY8GMUZadF5S1OGUsIzUd17RZBg==", + "path": "runtime.linux-musl-arm64.runtime.native.system.io.ports/9.0.0", + "hashPath": "runtime.linux-musl-arm64.runtime.native.system.io.ports.9.0.0.nupkg.sha512" + }, + "runtime.linux-musl-x64.runtime.native.System.IO.Ports/9.0.0": { + "type": "package", + "serviceable": true, + "sha512": "sha512-NxST2ZRBRGBjHWUnQwOYoyqFWHH4UcjAeTyjviSTOdwjSqq1JuGdp4sLzPzGDLiu4R7Per3QQ1GxYoLgAlIbOA==", + "path": "runtime.linux-musl-x64.runtime.native.system.io.ports/9.0.0", + "hashPath": "runtime.linux-musl-x64.runtime.native.system.io.ports.9.0.0.nupkg.sha512" + }, + "runtime.linux-x64.runtime.native.System.IO.Ports/9.0.0": { + "type": "package", + "serviceable": true, + "sha512": "sha512-4bmb9oP1DIu2ArJ2MH2sNGbO5V3VrZ0+8lotr3cQ2G5hh66+0yHiYkwvlwP7gkSOsZPhANeX3cicqHYaDsroQA==", + "path": "runtime.linux-x64.runtime.native.system.io.ports/9.0.0", + "hashPath": "runtime.linux-x64.runtime.native.system.io.ports.9.0.0.nupkg.sha512" + }, + "runtime.maccatalyst-arm64.runtime.native.System.IO.Ports/9.0.0": { + "type": "package", + "serviceable": true, + "sha512": "sha512-k+VeOPbIx9A1/bmiw5pGBsuALGTA4UoC6SsGhcIMLyS6TMFgsjsOH1bAgim+/W1RdtR7dpPCWHNYhkrM8hXByA==", + "path": "runtime.maccatalyst-arm64.runtime.native.system.io.ports/9.0.0", + "hashPath": "runtime.maccatalyst-arm64.runtime.native.system.io.ports.9.0.0.nupkg.sha512" + }, + "runtime.maccatalyst-x64.runtime.native.System.IO.Ports/9.0.0": { + "type": "package", + "serviceable": true, + "sha512": "sha512-k1WC+Y7ht+7Omq5iW1v2Yz5CpaGGlLvlNsGS8cDAG0IN3sXUrPyUkC/40/zTL8g8/c3UFjrW0igXcwKNYa+ZuA==", + "path": "runtime.maccatalyst-x64.runtime.native.system.io.ports/9.0.0", + "hashPath": "runtime.maccatalyst-x64.runtime.native.system.io.ports.9.0.0.nupkg.sha512" + }, + "runtime.native.System.Data.SqlClient.sni/4.4.0": { + "type": "package", + "serviceable": true, + "sha512": "sha512-A8v6PGmk+UGbfWo5Ixup0lPM4swuSwOiayJExZwKIOjTlFFQIsu3QnDXECosBEyrWSPryxBVrdqtJyhK3BaupQ==", + "path": "runtime.native.system.data.sqlclient.sni/4.4.0", + "hashPath": "runtime.native.system.data.sqlclient.sni.4.4.0.nupkg.sha512" + }, + "runtime.native.System.IO.Ports/9.0.0": { + "type": "package", + "serviceable": true, + "sha512": "sha512-iWyR+xohLUht80x5MREqF7zYD0KqyVpoS9uTg9raG0ddx5pvJkCPC4eS2JdkRYY6AqPjfMiiOEZ02ZWHEBgOvg==", + "path": "runtime.native.system.io.ports/9.0.0", + "hashPath": "runtime.native.system.io.ports.9.0.0.nupkg.sha512" + }, + "runtime.osx-arm64.runtime.native.System.IO.Ports/9.0.0": { + "type": "package", + "serviceable": true, + "sha512": "sha512-ebr6uFzuICKkw9YePnCo7CdZFKYYhJZOJDJhACAKyzbT5WFvJWMyeACJIWS0uqndGMgWSc+D+UDdBu6CEpUOSg==", + "path": "runtime.osx-arm64.runtime.native.system.io.ports/9.0.0", + "hashPath": "runtime.osx-arm64.runtime.native.system.io.ports.9.0.0.nupkg.sha512" + }, + "runtime.osx-x64.runtime.native.System.IO.Ports/9.0.0": { + "type": "package", + "serviceable": true, + "sha512": "sha512-66DA4FKnfIdrkyd8Kqym06s+F/U5/7TZdkV1DllGivUNUGkC8TG5W/3D4rhLoGQRjg0uurkPWqrQXWfPEghRpQ==", + "path": "runtime.osx-x64.runtime.native.system.io.ports/9.0.0", + "hashPath": "runtime.osx-x64.runtime.native.system.io.ports.9.0.0.nupkg.sha512" + }, + "runtime.win-arm64.runtime.native.System.Data.SqlClient.sni/4.4.0": { + "type": "package", + "serviceable": true, + "sha512": "sha512-LbrynESTp3bm5O/+jGL8v0Qg5SJlTV08lpIpFesXjF6uGNMWqFnUQbYBJwZTeua6E/Y7FIM1C54Ey1btLWupdg==", + "path": "runtime.win-arm64.runtime.native.system.data.sqlclient.sni/4.4.0", + "hashPath": "runtime.win-arm64.runtime.native.system.data.sqlclient.sni.4.4.0.nupkg.sha512" + }, + "runtime.win-x64.runtime.native.System.Data.SqlClient.sni/4.4.0": { + "type": "package", + "serviceable": true, + "sha512": "sha512-38ugOfkYJqJoX9g6EYRlZB5U2ZJH51UP8ptxZgdpS07FgOEToV+lS11ouNK2PM12Pr6X/PpT5jK82G3DwH/SxQ==", + "path": "runtime.win-x64.runtime.native.system.data.sqlclient.sni/4.4.0", + "hashPath": "runtime.win-x64.runtime.native.system.data.sqlclient.sni.4.4.0.nupkg.sha512" + }, + "runtime.win-x86.runtime.native.System.Data.SqlClient.sni/4.4.0": { + "type": "package", + "serviceable": true, + "sha512": "sha512-YhEdSQUsTx+C8m8Bw7ar5/VesXvCFMItyZF7G1AUY+OM0VPZUOeAVpJ4Wl6fydBGUYZxojTDR3I6Bj/+BPkJNA==", + "path": "runtime.win-x86.runtime.native.system.data.sqlclient.sni/4.4.0", + "hashPath": "runtime.win-x86.runtime.native.system.data.sqlclient.sni.4.4.0.nupkg.sha512" + }, + "System.Data.SqlClient/4.9.0": { + "type": "package", + "serviceable": true, + "sha512": "sha512-j4KJO+vC62NyUtNHz854njEqXbT8OmAa5jb1nrGfYWBOcggyYUQE0w/snXeaCjdvkSKWuUD+hfvlbN8pTrJTXg==", + "path": "system.data.sqlclient/4.9.0", + "hashPath": "system.data.sqlclient.4.9.0.nupkg.sha512" + }, + "System.IO.Ports/9.0.0": { + "type": "package", + "serviceable": true, + "sha512": "sha512-NfEWew48r4MxHUnOQL7nw/5JBsz9dli8TJYpXjsAQu8tHH0QCq2ly4QMCc8wS9EAi1jvaFgq7ELdfwxvrKWALQ==", + "path": "system.io.ports/9.0.0", + "hashPath": "system.io.ports.9.0.0.nupkg.sha512" + } + } +} \ No newline at end of file diff --git a/leak_test_project/bin/Release/net9.0-windows/leak_test_project.dll b/leak_test_project/bin/Release/net9.0-windows/leak_test_project.dll new file mode 100644 index 0000000..9eab102 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/leak_test_project.dll differ diff --git a/leak_test_project/bin/Release/leak_test_project.exe.config b/leak_test_project/bin/Release/net9.0-windows/leak_test_project.dll.config similarity index 100% rename from leak_test_project/bin/Release/leak_test_project.exe.config rename to leak_test_project/bin/Release/net9.0-windows/leak_test_project.dll.config diff --git a/leak_test_project/bin/Release/net9.0-windows/leak_test_project.exe b/leak_test_project/bin/Release/net9.0-windows/leak_test_project.exe new file mode 100644 index 0000000..264728c Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/leak_test_project.exe differ diff --git a/leak_test_project/bin/Release/net9.0-windows/leak_test_project.pdb b/leak_test_project/bin/Release/net9.0-windows/leak_test_project.pdb new file mode 100644 index 0000000..9a7fd3d Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/leak_test_project.pdb differ diff --git a/leak_test_project/bin/Release/net9.0-windows/leak_test_project.runtimeconfig.json b/leak_test_project/bin/Release/net9.0-windows/leak_test_project.runtimeconfig.json new file mode 100644 index 0000000..1cc9426 --- /dev/null +++ b/leak_test_project/bin/Release/net9.0-windows/leak_test_project.runtimeconfig.json @@ -0,0 +1,20 @@ +{ + "runtimeOptions": { + "tfm": "net9.0", + "frameworks": [ + { + "name": "Microsoft.NETCore.App", + "version": "9.0.0" + }, + { + "name": "Microsoft.WindowsDesktop.App", + "version": "9.0.0" + } + ], + "configProperties": { + "System.Reflection.Metadata.MetadataUpdater.IsSupported": false, + "System.Runtime.Serialization.EnableUnsafeBinaryFormatterSerialization": false, + "CSWINRT_USE_WINDOWS_UI_XAML_PROJECTIONS": false + } + } +} \ No newline at end of file diff --git a/leak_test_project/bin/Release/net9.0-windows/runtimes/android-arm/native/libSystem.IO.Ports.Native.so b/leak_test_project/bin/Release/net9.0-windows/runtimes/android-arm/native/libSystem.IO.Ports.Native.so new file mode 100644 index 0000000..ed0338f Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/runtimes/android-arm/native/libSystem.IO.Ports.Native.so differ diff --git a/leak_test_project/bin/Release/net9.0-windows/runtimes/android-arm64/native/libSystem.IO.Ports.Native.so b/leak_test_project/bin/Release/net9.0-windows/runtimes/android-arm64/native/libSystem.IO.Ports.Native.so new file mode 100644 index 0000000..3c1a981 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/runtimes/android-arm64/native/libSystem.IO.Ports.Native.so differ diff --git a/leak_test_project/bin/Release/net9.0-windows/runtimes/android-x64/native/libSystem.IO.Ports.Native.so b/leak_test_project/bin/Release/net9.0-windows/runtimes/android-x64/native/libSystem.IO.Ports.Native.so new file mode 100644 index 0000000..82ee148 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/runtimes/android-x64/native/libSystem.IO.Ports.Native.so differ diff --git a/leak_test_project/bin/Release/net9.0-windows/runtimes/android-x86/native/libSystem.IO.Ports.Native.so b/leak_test_project/bin/Release/net9.0-windows/runtimes/android-x86/native/libSystem.IO.Ports.Native.so new file mode 100644 index 0000000..5729e0a Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/runtimes/android-x86/native/libSystem.IO.Ports.Native.so differ diff --git a/leak_test_project/bin/Release/net9.0-windows/runtimes/linux-arm/native/libSystem.IO.Ports.Native.so b/leak_test_project/bin/Release/net9.0-windows/runtimes/linux-arm/native/libSystem.IO.Ports.Native.so new file mode 100644 index 0000000..475107c Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/runtimes/linux-arm/native/libSystem.IO.Ports.Native.so differ diff --git a/leak_test_project/bin/Release/net9.0-windows/runtimes/linux-arm64/native/libSystem.IO.Ports.Native.so b/leak_test_project/bin/Release/net9.0-windows/runtimes/linux-arm64/native/libSystem.IO.Ports.Native.so new file mode 100644 index 0000000..3bac366 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/runtimes/linux-arm64/native/libSystem.IO.Ports.Native.so differ diff --git a/leak_test_project/bin/Release/net9.0-windows/runtimes/linux-bionic-arm64/native/libSystem.IO.Ports.Native.so b/leak_test_project/bin/Release/net9.0-windows/runtimes/linux-bionic-arm64/native/libSystem.IO.Ports.Native.so new file mode 100644 index 0000000..81e78dc Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/runtimes/linux-bionic-arm64/native/libSystem.IO.Ports.Native.so differ diff --git a/leak_test_project/bin/Release/net9.0-windows/runtimes/linux-bionic-x64/native/libSystem.IO.Ports.Native.so b/leak_test_project/bin/Release/net9.0-windows/runtimes/linux-bionic-x64/native/libSystem.IO.Ports.Native.so new file mode 100644 index 0000000..647ddb4 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/runtimes/linux-bionic-x64/native/libSystem.IO.Ports.Native.so differ diff --git a/leak_test_project/bin/Release/net9.0-windows/runtimes/linux-musl-arm/native/libSystem.IO.Ports.Native.so b/leak_test_project/bin/Release/net9.0-windows/runtimes/linux-musl-arm/native/libSystem.IO.Ports.Native.so new file mode 100644 index 0000000..f050c60 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/runtimes/linux-musl-arm/native/libSystem.IO.Ports.Native.so differ diff --git a/leak_test_project/bin/Release/net9.0-windows/runtimes/linux-musl-arm64/native/libSystem.IO.Ports.Native.so b/leak_test_project/bin/Release/net9.0-windows/runtimes/linux-musl-arm64/native/libSystem.IO.Ports.Native.so new file mode 100644 index 0000000..b92868d Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/runtimes/linux-musl-arm64/native/libSystem.IO.Ports.Native.so differ diff --git a/leak_test_project/bin/Release/net9.0-windows/runtimes/linux-musl-x64/native/libSystem.IO.Ports.Native.so b/leak_test_project/bin/Release/net9.0-windows/runtimes/linux-musl-x64/native/libSystem.IO.Ports.Native.so new file mode 100644 index 0000000..b67b278 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/runtimes/linux-musl-x64/native/libSystem.IO.Ports.Native.so differ diff --git a/leak_test_project/bin/Release/net9.0-windows/runtimes/linux-x64/native/libSystem.IO.Ports.Native.so b/leak_test_project/bin/Release/net9.0-windows/runtimes/linux-x64/native/libSystem.IO.Ports.Native.so new file mode 100644 index 0000000..c8dda27 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/runtimes/linux-x64/native/libSystem.IO.Ports.Native.so differ diff --git a/leak_test_project/bin/Release/net9.0-windows/runtimes/maccatalyst-arm64/native/libSystem.IO.Ports.Native.dylib b/leak_test_project/bin/Release/net9.0-windows/runtimes/maccatalyst-arm64/native/libSystem.IO.Ports.Native.dylib new file mode 100644 index 0000000..78be010 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/runtimes/maccatalyst-arm64/native/libSystem.IO.Ports.Native.dylib differ diff --git a/leak_test_project/bin/Release/net9.0-windows/runtimes/maccatalyst-x64/native/libSystem.IO.Ports.Native.dylib b/leak_test_project/bin/Release/net9.0-windows/runtimes/maccatalyst-x64/native/libSystem.IO.Ports.Native.dylib new file mode 100644 index 0000000..b0d8beb Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/runtimes/maccatalyst-x64/native/libSystem.IO.Ports.Native.dylib differ diff --git a/leak_test_project/bin/Release/net9.0-windows/runtimes/osx-arm64/native/libSystem.IO.Ports.Native.dylib b/leak_test_project/bin/Release/net9.0-windows/runtimes/osx-arm64/native/libSystem.IO.Ports.Native.dylib new file mode 100644 index 0000000..3a04346 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/runtimes/osx-arm64/native/libSystem.IO.Ports.Native.dylib differ diff --git a/leak_test_project/bin/Release/net9.0-windows/runtimes/osx-x64/native/libSystem.IO.Ports.Native.dylib b/leak_test_project/bin/Release/net9.0-windows/runtimes/osx-x64/native/libSystem.IO.Ports.Native.dylib new file mode 100644 index 0000000..d374d43 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/runtimes/osx-x64/native/libSystem.IO.Ports.Native.dylib differ diff --git a/leak_test_project/bin/Release/net9.0-windows/runtimes/unix/lib/net8.0/System.Data.SqlClient.dll b/leak_test_project/bin/Release/net9.0-windows/runtimes/unix/lib/net8.0/System.Data.SqlClient.dll new file mode 100644 index 0000000..55f8df1 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/runtimes/unix/lib/net8.0/System.Data.SqlClient.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/runtimes/unix/lib/net9.0/System.IO.Ports.dll b/leak_test_project/bin/Release/net9.0-windows/runtimes/unix/lib/net9.0/System.IO.Ports.dll new file mode 100644 index 0000000..b883e2a Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/runtimes/unix/lib/net9.0/System.IO.Ports.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/runtimes/win-arm64/native/sni.dll b/leak_test_project/bin/Release/net9.0-windows/runtimes/win-arm64/native/sni.dll new file mode 100644 index 0000000..7b8f9d8 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/runtimes/win-arm64/native/sni.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/runtimes/win-x64/native/sni.dll b/leak_test_project/bin/Release/net9.0-windows/runtimes/win-x64/native/sni.dll new file mode 100644 index 0000000..c1a05a5 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/runtimes/win-x64/native/sni.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/runtimes/win-x86/native/sni.dll b/leak_test_project/bin/Release/net9.0-windows/runtimes/win-x86/native/sni.dll new file mode 100644 index 0000000..5fc21ac Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/runtimes/win-x86/native/sni.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/runtimes/win/lib/net8.0/System.Data.SqlClient.dll b/leak_test_project/bin/Release/net9.0-windows/runtimes/win/lib/net8.0/System.Data.SqlClient.dll new file mode 100644 index 0000000..413faaa Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/runtimes/win/lib/net8.0/System.Data.SqlClient.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/runtimes/win/lib/net9.0/System.IO.Ports.dll b/leak_test_project/bin/Release/net9.0-windows/runtimes/win/lib/net9.0/System.IO.Ports.dll new file mode 100644 index 0000000..7db46fd Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/runtimes/win/lib/net9.0/System.IO.Ports.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/Accessibility.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/Accessibility.dll new file mode 100644 index 0000000..490edee Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/Accessibility.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/D3DCompiler_47_cor3.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/D3DCompiler_47_cor3.dll new file mode 100644 index 0000000..948cc90 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/D3DCompiler_47_cor3.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/Database.ini b/leak_test_project/bin/Release/net9.0-windows/win-x64/Database.ini new file mode 100644 index 0000000..3491e9c --- /dev/null +++ b/leak_test_project/bin/Release/net9.0-windows/win-x64/Database.ini @@ -0,0 +1,24 @@ +; ===================================================================== +; Mobi Leak Test System - 데이터베이스 및 로그인 설정 파일 (Database.ini) +; ===================================================================== + +; [데이터베이스 접속 상세 설정] +; Db_Server : 중앙 MSSQL 데이터베이스 서버의 IP 주소 또는 호스트명 +; Db_Name : 검사 데이터를 저장할 대상 데이터베이스 이름 +; Db_User : 데이터베이스 접속 계정 ID (예: sa) +; Db_Password: 데이터베이스 접속 계정의 비밀번호 +Db_Server=192.168.0.20 +Db_Name=NE1aW_PT_SENSOR +Db_User=sa +Db_Password=sa1234 + + +[Login] +; Procedure: 로그인 검증에 사용할 DB 저장 프로시저명입니다. (공란일 경우 기본 테이블 조회 쿼리 작동) +Procedure=dbo.CheckOperator + +; ProcessName: 로그인 검증 시 전달할 공정 이름입니다. +ProcessName=EOL + +; OfflinePreview: 오프라인 모드 활성화 여부 (true = DB 연결 없이 로그인 통과, false = 실제 DB 인증) +OfflinePreview=false diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/DirectWriteForwarder.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/DirectWriteForwarder.dll new file mode 100644 index 0000000..4a0fb1a Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/DirectWriteForwarder.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/Microsoft.CSharp.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/Microsoft.CSharp.dll new file mode 100644 index 0000000..f364bdf Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/Microsoft.CSharp.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/Microsoft.DiaSymReader.Native.amd64.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/Microsoft.DiaSymReader.Native.amd64.dll new file mode 100644 index 0000000..92b355b Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/Microsoft.DiaSymReader.Native.amd64.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/Microsoft.VisualBasic.Core.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/Microsoft.VisualBasic.Core.dll new file mode 100644 index 0000000..8af701a Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/Microsoft.VisualBasic.Core.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/Microsoft.VisualBasic.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/Microsoft.VisualBasic.dll new file mode 100644 index 0000000..d2286b6 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/Microsoft.VisualBasic.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/Microsoft.VisualStudio.Setup.Configuration.Interop.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/Microsoft.VisualStudio.Setup.Configuration.Interop.dll new file mode 100644 index 0000000..55fc91d Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/Microsoft.VisualStudio.Setup.Configuration.Interop.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/Microsoft.Win32.Primitives.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/Microsoft.Win32.Primitives.dll new file mode 100644 index 0000000..f5d557f Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/Microsoft.Win32.Primitives.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/Microsoft.Win32.Registry.AccessControl.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/Microsoft.Win32.Registry.AccessControl.dll new file mode 100644 index 0000000..81d0c06 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/Microsoft.Win32.Registry.AccessControl.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/Microsoft.Win32.Registry.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/Microsoft.Win32.Registry.dll new file mode 100644 index 0000000..3277ee1 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/Microsoft.Win32.Registry.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/Microsoft.Win32.SystemEvents.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/Microsoft.Win32.SystemEvents.dll new file mode 100644 index 0000000..748c6a2 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/Microsoft.Win32.SystemEvents.dll differ diff --git a/leak_test_project/bin/Release/ADLINK/PCIS-DASK/Lib/PCI-Dask.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/PCI-Dask.dll similarity index 100% rename from leak_test_project/bin/Release/ADLINK/PCIS-DASK/Lib/PCI-Dask.dll rename to leak_test_project/bin/Release/net9.0-windows/win-x64/PCI-Dask.dll diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/PenImc_cor3.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/PenImc_cor3.dll new file mode 100644 index 0000000..cad11e9 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/PenImc_cor3.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/PresentationCore.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/PresentationCore.dll new file mode 100644 index 0000000..6c66e6a Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/PresentationCore.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/PresentationFramework-SystemCore.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/PresentationFramework-SystemCore.dll new file mode 100644 index 0000000..dfb3e26 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/PresentationFramework-SystemCore.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/PresentationFramework-SystemData.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/PresentationFramework-SystemData.dll new file mode 100644 index 0000000..86d217f Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/PresentationFramework-SystemData.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/PresentationFramework-SystemDrawing.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/PresentationFramework-SystemDrawing.dll new file mode 100644 index 0000000..f1a6504 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/PresentationFramework-SystemDrawing.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/PresentationFramework-SystemXml.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/PresentationFramework-SystemXml.dll new file mode 100644 index 0000000..adf29fa Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/PresentationFramework-SystemXml.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/PresentationFramework-SystemXmlLinq.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/PresentationFramework-SystemXmlLinq.dll new file mode 100644 index 0000000..10ab576 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/PresentationFramework-SystemXmlLinq.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/PresentationFramework.Aero.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/PresentationFramework.Aero.dll new file mode 100644 index 0000000..781919a Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/PresentationFramework.Aero.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/PresentationFramework.Aero2.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/PresentationFramework.Aero2.dll new file mode 100644 index 0000000..db09794 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/PresentationFramework.Aero2.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/PresentationFramework.AeroLite.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/PresentationFramework.AeroLite.dll new file mode 100644 index 0000000..2a27d38 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/PresentationFramework.AeroLite.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/PresentationFramework.Classic.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/PresentationFramework.Classic.dll new file mode 100644 index 0000000..77ebeed Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/PresentationFramework.Classic.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/PresentationFramework.Fluent.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/PresentationFramework.Fluent.dll new file mode 100644 index 0000000..55f962f Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/PresentationFramework.Fluent.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/PresentationFramework.Luna.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/PresentationFramework.Luna.dll new file mode 100644 index 0000000..3ab2ca7 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/PresentationFramework.Luna.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/PresentationFramework.Royale.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/PresentationFramework.Royale.dll new file mode 100644 index 0000000..4f50320 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/PresentationFramework.Royale.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/PresentationFramework.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/PresentationFramework.dll new file mode 100644 index 0000000..6fcc56c Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/PresentationFramework.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/PresentationNative_cor3.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/PresentationNative_cor3.dll new file mode 100644 index 0000000..73524ab Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/PresentationNative_cor3.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/PresentationUI.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/PresentationUI.dll new file mode 100644 index 0000000..d5494d6 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/PresentationUI.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/ReachFramework.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/ReachFramework.dll new file mode 100644 index 0000000..cafc375 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/ReachFramework.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/System.AppContext.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/System.AppContext.dll new file mode 100644 index 0000000..2619837 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/System.AppContext.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/System.Buffers.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/System.Buffers.dll new file mode 100644 index 0000000..b5576f8 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/System.Buffers.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/System.CodeDom.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/System.CodeDom.dll new file mode 100644 index 0000000..19a9c0a Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/System.CodeDom.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/System.Collections.Concurrent.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/System.Collections.Concurrent.dll new file mode 100644 index 0000000..5a51692 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/System.Collections.Concurrent.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/System.Collections.Immutable.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/System.Collections.Immutable.dll new file mode 100644 index 0000000..21a74c5 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/System.Collections.Immutable.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/System.Collections.NonGeneric.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/System.Collections.NonGeneric.dll new file mode 100644 index 0000000..53ee290 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/System.Collections.NonGeneric.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/System.Collections.Specialized.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/System.Collections.Specialized.dll new file mode 100644 index 0000000..cb440c1 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/System.Collections.Specialized.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/System.Collections.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/System.Collections.dll new file mode 100644 index 0000000..720b16e Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/System.Collections.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/System.ComponentModel.Annotations.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/System.ComponentModel.Annotations.dll new file mode 100644 index 0000000..4b93dbe Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/System.ComponentModel.Annotations.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/System.ComponentModel.DataAnnotations.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/System.ComponentModel.DataAnnotations.dll new file mode 100644 index 0000000..399ceeb Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/System.ComponentModel.DataAnnotations.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/System.ComponentModel.EventBasedAsync.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/System.ComponentModel.EventBasedAsync.dll new file mode 100644 index 0000000..fa23688 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/System.ComponentModel.EventBasedAsync.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/System.ComponentModel.Primitives.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/System.ComponentModel.Primitives.dll new file mode 100644 index 0000000..8cea50a Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/System.ComponentModel.Primitives.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/System.ComponentModel.TypeConverter.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/System.ComponentModel.TypeConverter.dll new file mode 100644 index 0000000..45eebb9 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/System.ComponentModel.TypeConverter.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/System.ComponentModel.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/System.ComponentModel.dll new file mode 100644 index 0000000..c61344c Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/System.ComponentModel.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/System.Configuration.ConfigurationManager.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/System.Configuration.ConfigurationManager.dll new file mode 100644 index 0000000..4c8f97f Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/System.Configuration.ConfigurationManager.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/System.Configuration.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/System.Configuration.dll new file mode 100644 index 0000000..956d719 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/System.Configuration.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/System.Console.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/System.Console.dll new file mode 100644 index 0000000..ba0eb67 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/System.Console.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/System.Core.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/System.Core.dll new file mode 100644 index 0000000..9be45f3 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/System.Core.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/System.Data.Common.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/System.Data.Common.dll new file mode 100644 index 0000000..54cd27a Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/System.Data.Common.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/System.Data.DataSetExtensions.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/System.Data.DataSetExtensions.dll new file mode 100644 index 0000000..74abe99 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/System.Data.DataSetExtensions.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/System.Data.SqlClient.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/System.Data.SqlClient.dll new file mode 100644 index 0000000..413faaa Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/System.Data.SqlClient.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/System.Data.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/System.Data.dll new file mode 100644 index 0000000..198c16c Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/System.Data.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/System.Diagnostics.Contracts.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/System.Diagnostics.Contracts.dll new file mode 100644 index 0000000..a0c058b Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/System.Diagnostics.Contracts.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/System.Diagnostics.Debug.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/System.Diagnostics.Debug.dll new file mode 100644 index 0000000..a258a24 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/System.Diagnostics.Debug.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/System.Diagnostics.DiagnosticSource.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/System.Diagnostics.DiagnosticSource.dll new file mode 100644 index 0000000..136e902 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/System.Diagnostics.DiagnosticSource.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/System.Diagnostics.EventLog.Messages.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/System.Diagnostics.EventLog.Messages.dll new file mode 100644 index 0000000..de7c7af Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/System.Diagnostics.EventLog.Messages.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/System.Diagnostics.EventLog.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/System.Diagnostics.EventLog.dll new file mode 100644 index 0000000..d820328 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/System.Diagnostics.EventLog.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/System.Diagnostics.FileVersionInfo.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/System.Diagnostics.FileVersionInfo.dll new file mode 100644 index 0000000..5e59e5b Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/System.Diagnostics.FileVersionInfo.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/System.Diagnostics.PerformanceCounter.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/System.Diagnostics.PerformanceCounter.dll new file mode 100644 index 0000000..44bff46 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/System.Diagnostics.PerformanceCounter.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/System.Diagnostics.Process.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/System.Diagnostics.Process.dll new file mode 100644 index 0000000..32fe9ff Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/System.Diagnostics.Process.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/System.Diagnostics.StackTrace.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/System.Diagnostics.StackTrace.dll new file mode 100644 index 0000000..a221a64 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/System.Diagnostics.StackTrace.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/System.Diagnostics.TextWriterTraceListener.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/System.Diagnostics.TextWriterTraceListener.dll new file mode 100644 index 0000000..bc3d891 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/System.Diagnostics.TextWriterTraceListener.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/System.Diagnostics.Tools.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/System.Diagnostics.Tools.dll new file mode 100644 index 0000000..bbfc53b Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/System.Diagnostics.Tools.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/System.Diagnostics.TraceSource.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/System.Diagnostics.TraceSource.dll new file mode 100644 index 0000000..310dd38 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/System.Diagnostics.TraceSource.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/System.Diagnostics.Tracing.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/System.Diagnostics.Tracing.dll new file mode 100644 index 0000000..3a75eb3 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/System.Diagnostics.Tracing.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/System.DirectoryServices.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/System.DirectoryServices.dll new file mode 100644 index 0000000..dcaddf1 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/System.DirectoryServices.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/System.Drawing.Primitives.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/System.Drawing.Primitives.dll new file mode 100644 index 0000000..a973a80 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/System.Drawing.Primitives.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/System.Drawing.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/System.Drawing.dll new file mode 100644 index 0000000..508ca84 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/System.Drawing.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/System.Dynamic.Runtime.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/System.Dynamic.Runtime.dll new file mode 100644 index 0000000..40258a8 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/System.Dynamic.Runtime.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/System.Formats.Asn1.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/System.Formats.Asn1.dll new file mode 100644 index 0000000..99047ae Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/System.Formats.Asn1.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/System.Formats.Nrbf.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/System.Formats.Nrbf.dll new file mode 100644 index 0000000..263e9f8 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/System.Formats.Nrbf.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/System.Formats.Tar.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/System.Formats.Tar.dll new file mode 100644 index 0000000..7d22d6d Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/System.Formats.Tar.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/System.Globalization.Calendars.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/System.Globalization.Calendars.dll new file mode 100644 index 0000000..53c8291 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/System.Globalization.Calendars.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/System.Globalization.Extensions.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/System.Globalization.Extensions.dll new file mode 100644 index 0000000..100c55e Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/System.Globalization.Extensions.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/System.Globalization.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/System.Globalization.dll new file mode 100644 index 0000000..d4c7893 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/System.Globalization.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/System.IO.Compression.Brotli.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/System.IO.Compression.Brotli.dll new file mode 100644 index 0000000..f9742b5 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/System.IO.Compression.Brotli.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/System.IO.Compression.FileSystem.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/System.IO.Compression.FileSystem.dll new file mode 100644 index 0000000..6e884ca Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/System.IO.Compression.FileSystem.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/System.IO.Compression.Native.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/System.IO.Compression.Native.dll new file mode 100644 index 0000000..a635852 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/System.IO.Compression.Native.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/System.IO.Compression.ZipFile.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/System.IO.Compression.ZipFile.dll new file mode 100644 index 0000000..149dd2e Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/System.IO.Compression.ZipFile.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/System.IO.Compression.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/System.IO.Compression.dll new file mode 100644 index 0000000..519c34f Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/System.IO.Compression.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/System.IO.FileSystem.AccessControl.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/System.IO.FileSystem.AccessControl.dll new file mode 100644 index 0000000..9d0c83b Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/System.IO.FileSystem.AccessControl.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/System.IO.FileSystem.DriveInfo.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/System.IO.FileSystem.DriveInfo.dll new file mode 100644 index 0000000..473ea28 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/System.IO.FileSystem.DriveInfo.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/System.IO.FileSystem.Primitives.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/System.IO.FileSystem.Primitives.dll new file mode 100644 index 0000000..9b60e61 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/System.IO.FileSystem.Primitives.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/System.IO.FileSystem.Watcher.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/System.IO.FileSystem.Watcher.dll new file mode 100644 index 0000000..a00723a Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/System.IO.FileSystem.Watcher.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/System.IO.FileSystem.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/System.IO.FileSystem.dll new file mode 100644 index 0000000..333ae1c Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/System.IO.FileSystem.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/System.IO.IsolatedStorage.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/System.IO.IsolatedStorage.dll new file mode 100644 index 0000000..846b4f7 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/System.IO.IsolatedStorage.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/System.IO.MemoryMappedFiles.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/System.IO.MemoryMappedFiles.dll new file mode 100644 index 0000000..06915ab Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/System.IO.MemoryMappedFiles.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/System.IO.Packaging.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/System.IO.Packaging.dll new file mode 100644 index 0000000..a46169a Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/System.IO.Packaging.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/System.IO.Pipelines.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/System.IO.Pipelines.dll new file mode 100644 index 0000000..efec837 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/System.IO.Pipelines.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/System.IO.Pipes.AccessControl.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/System.IO.Pipes.AccessControl.dll new file mode 100644 index 0000000..c5a03ec Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/System.IO.Pipes.AccessControl.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/System.IO.Pipes.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/System.IO.Pipes.dll new file mode 100644 index 0000000..99dd97d Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/System.IO.Pipes.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/System.IO.Ports.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/System.IO.Ports.dll new file mode 100644 index 0000000..7db46fd Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/System.IO.Ports.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/System.IO.UnmanagedMemoryStream.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/System.IO.UnmanagedMemoryStream.dll new file mode 100644 index 0000000..37c681a Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/System.IO.UnmanagedMemoryStream.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/System.IO.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/System.IO.dll new file mode 100644 index 0000000..55859fa Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/System.IO.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/System.Linq.Expressions.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/System.Linq.Expressions.dll new file mode 100644 index 0000000..13eb386 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/System.Linq.Expressions.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/System.Linq.Parallel.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/System.Linq.Parallel.dll new file mode 100644 index 0000000..e1150ef Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/System.Linq.Parallel.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/System.Linq.Queryable.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/System.Linq.Queryable.dll new file mode 100644 index 0000000..f11b7ce Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/System.Linq.Queryable.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/System.Linq.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/System.Linq.dll new file mode 100644 index 0000000..abe701e Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/System.Linq.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/System.Memory.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/System.Memory.dll new file mode 100644 index 0000000..82b867e Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/System.Memory.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/System.Net.Http.Json.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/System.Net.Http.Json.dll new file mode 100644 index 0000000..2407078 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/System.Net.Http.Json.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/System.Net.Http.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/System.Net.Http.dll new file mode 100644 index 0000000..9a2245e Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/System.Net.Http.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/System.Net.HttpListener.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/System.Net.HttpListener.dll new file mode 100644 index 0000000..2cf3dc9 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/System.Net.HttpListener.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/System.Net.Mail.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/System.Net.Mail.dll new file mode 100644 index 0000000..6902689 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/System.Net.Mail.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/System.Net.NameResolution.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/System.Net.NameResolution.dll new file mode 100644 index 0000000..fd846c5 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/System.Net.NameResolution.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/System.Net.NetworkInformation.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/System.Net.NetworkInformation.dll new file mode 100644 index 0000000..c2b560c Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/System.Net.NetworkInformation.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/System.Net.Ping.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/System.Net.Ping.dll new file mode 100644 index 0000000..efa5d81 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/System.Net.Ping.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/System.Net.Primitives.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/System.Net.Primitives.dll new file mode 100644 index 0000000..4c3ff4c Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/System.Net.Primitives.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/System.Net.Quic.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/System.Net.Quic.dll new file mode 100644 index 0000000..5b95b5c Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/System.Net.Quic.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/System.Net.Requests.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/System.Net.Requests.dll new file mode 100644 index 0000000..adb5d4e Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/System.Net.Requests.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/System.Net.Security.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/System.Net.Security.dll new file mode 100644 index 0000000..f37fde1 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/System.Net.Security.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/System.Net.ServicePoint.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/System.Net.ServicePoint.dll new file mode 100644 index 0000000..e0d7e9a Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/System.Net.ServicePoint.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/System.Net.Sockets.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/System.Net.Sockets.dll new file mode 100644 index 0000000..b8fb2c9 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/System.Net.Sockets.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/System.Net.WebClient.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/System.Net.WebClient.dll new file mode 100644 index 0000000..ca5cd90 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/System.Net.WebClient.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/System.Net.WebHeaderCollection.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/System.Net.WebHeaderCollection.dll new file mode 100644 index 0000000..4856192 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/System.Net.WebHeaderCollection.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/System.Net.WebProxy.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/System.Net.WebProxy.dll new file mode 100644 index 0000000..4f6559f Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/System.Net.WebProxy.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/System.Net.WebSockets.Client.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/System.Net.WebSockets.Client.dll new file mode 100644 index 0000000..594a415 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/System.Net.WebSockets.Client.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/System.Net.WebSockets.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/System.Net.WebSockets.dll new file mode 100644 index 0000000..a83b326 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/System.Net.WebSockets.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/System.Net.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/System.Net.dll new file mode 100644 index 0000000..e2eb39d Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/System.Net.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/System.Numerics.Vectors.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/System.Numerics.Vectors.dll new file mode 100644 index 0000000..d5f9c9c Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/System.Numerics.Vectors.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/System.Numerics.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/System.Numerics.dll new file mode 100644 index 0000000..872c6e6 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/System.Numerics.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/System.ObjectModel.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/System.ObjectModel.dll new file mode 100644 index 0000000..9316209 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/System.ObjectModel.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/System.Printing.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/System.Printing.dll new file mode 100644 index 0000000..4c518a1 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/System.Printing.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/System.Private.CoreLib.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/System.Private.CoreLib.dll new file mode 100644 index 0000000..eed142c Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/System.Private.CoreLib.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/System.Private.DataContractSerialization.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/System.Private.DataContractSerialization.dll new file mode 100644 index 0000000..651e673 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/System.Private.DataContractSerialization.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/System.Private.Uri.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/System.Private.Uri.dll new file mode 100644 index 0000000..7f84072 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/System.Private.Uri.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/System.Private.Xml.Linq.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/System.Private.Xml.Linq.dll new file mode 100644 index 0000000..80936df Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/System.Private.Xml.Linq.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/System.Private.Xml.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/System.Private.Xml.dll new file mode 100644 index 0000000..4376c97 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/System.Private.Xml.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/System.Reflection.DispatchProxy.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/System.Reflection.DispatchProxy.dll new file mode 100644 index 0000000..5b20b72 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/System.Reflection.DispatchProxy.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/System.Reflection.Emit.ILGeneration.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/System.Reflection.Emit.ILGeneration.dll new file mode 100644 index 0000000..e73b3de Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/System.Reflection.Emit.ILGeneration.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/System.Reflection.Emit.Lightweight.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/System.Reflection.Emit.Lightweight.dll new file mode 100644 index 0000000..a05d920 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/System.Reflection.Emit.Lightweight.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/System.Reflection.Emit.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/System.Reflection.Emit.dll new file mode 100644 index 0000000..441f815 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/System.Reflection.Emit.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/System.Reflection.Extensions.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/System.Reflection.Extensions.dll new file mode 100644 index 0000000..5c2a446 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/System.Reflection.Extensions.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/System.Reflection.Metadata.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/System.Reflection.Metadata.dll new file mode 100644 index 0000000..fc3c3f6 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/System.Reflection.Metadata.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/System.Reflection.Primitives.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/System.Reflection.Primitives.dll new file mode 100644 index 0000000..971bb47 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/System.Reflection.Primitives.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/System.Reflection.TypeExtensions.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/System.Reflection.TypeExtensions.dll new file mode 100644 index 0000000..7e1dd2a Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/System.Reflection.TypeExtensions.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/System.Reflection.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/System.Reflection.dll new file mode 100644 index 0000000..815fc03 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/System.Reflection.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/System.Resources.Extensions.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/System.Resources.Extensions.dll new file mode 100644 index 0000000..d1e2563 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/System.Resources.Extensions.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/System.Resources.Reader.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/System.Resources.Reader.dll new file mode 100644 index 0000000..7a5b724 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/System.Resources.Reader.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/System.Resources.ResourceManager.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/System.Resources.ResourceManager.dll new file mode 100644 index 0000000..9102b3b Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/System.Resources.ResourceManager.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/System.Resources.Writer.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/System.Resources.Writer.dll new file mode 100644 index 0000000..b67fc6f Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/System.Resources.Writer.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/System.Runtime.CompilerServices.Unsafe.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/System.Runtime.CompilerServices.Unsafe.dll new file mode 100644 index 0000000..2f59c5e Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/System.Runtime.CompilerServices.Unsafe.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/System.Runtime.CompilerServices.VisualC.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/System.Runtime.CompilerServices.VisualC.dll new file mode 100644 index 0000000..c884fe0 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/System.Runtime.CompilerServices.VisualC.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/System.Runtime.Extensions.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/System.Runtime.Extensions.dll new file mode 100644 index 0000000..2e7f0a9 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/System.Runtime.Extensions.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/System.Runtime.Handles.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/System.Runtime.Handles.dll new file mode 100644 index 0000000..285c59d Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/System.Runtime.Handles.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/System.Runtime.InteropServices.JavaScript.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/System.Runtime.InteropServices.JavaScript.dll new file mode 100644 index 0000000..862b0cc Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/System.Runtime.InteropServices.JavaScript.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/System.Runtime.InteropServices.RuntimeInformation.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/System.Runtime.InteropServices.RuntimeInformation.dll new file mode 100644 index 0000000..d7f6f2d Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/System.Runtime.InteropServices.RuntimeInformation.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/System.Runtime.InteropServices.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/System.Runtime.InteropServices.dll new file mode 100644 index 0000000..225e9d1 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/System.Runtime.InteropServices.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/System.Runtime.Intrinsics.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/System.Runtime.Intrinsics.dll new file mode 100644 index 0000000..2d8abe6 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/System.Runtime.Intrinsics.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/System.Runtime.Loader.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/System.Runtime.Loader.dll new file mode 100644 index 0000000..d1d6ac5 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/System.Runtime.Loader.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/System.Runtime.Numerics.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/System.Runtime.Numerics.dll new file mode 100644 index 0000000..5a513df Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/System.Runtime.Numerics.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/System.Runtime.Serialization.Formatters.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/System.Runtime.Serialization.Formatters.dll new file mode 100644 index 0000000..7b41427 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/System.Runtime.Serialization.Formatters.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/System.Runtime.Serialization.Json.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/System.Runtime.Serialization.Json.dll new file mode 100644 index 0000000..ee033d5 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/System.Runtime.Serialization.Json.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/System.Runtime.Serialization.Primitives.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/System.Runtime.Serialization.Primitives.dll new file mode 100644 index 0000000..8db2dd1 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/System.Runtime.Serialization.Primitives.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/System.Runtime.Serialization.Xml.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/System.Runtime.Serialization.Xml.dll new file mode 100644 index 0000000..e389c12 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/System.Runtime.Serialization.Xml.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/System.Runtime.Serialization.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/System.Runtime.Serialization.dll new file mode 100644 index 0000000..bf16759 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/System.Runtime.Serialization.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/System.Runtime.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/System.Runtime.dll new file mode 100644 index 0000000..398def5 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/System.Runtime.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/System.Security.AccessControl.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/System.Security.AccessControl.dll new file mode 100644 index 0000000..3d3717f Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/System.Security.AccessControl.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/System.Security.Claims.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/System.Security.Claims.dll new file mode 100644 index 0000000..325d20a Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/System.Security.Claims.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/System.Security.Cryptography.Algorithms.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/System.Security.Cryptography.Algorithms.dll new file mode 100644 index 0000000..243d82e Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/System.Security.Cryptography.Algorithms.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/System.Security.Cryptography.Cng.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/System.Security.Cryptography.Cng.dll new file mode 100644 index 0000000..0c1408b Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/System.Security.Cryptography.Cng.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/System.Security.Cryptography.Csp.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/System.Security.Cryptography.Csp.dll new file mode 100644 index 0000000..65cfc8c Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/System.Security.Cryptography.Csp.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/System.Security.Cryptography.Encoding.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/System.Security.Cryptography.Encoding.dll new file mode 100644 index 0000000..dc82ed1 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/System.Security.Cryptography.Encoding.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/System.Security.Cryptography.OpenSsl.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/System.Security.Cryptography.OpenSsl.dll new file mode 100644 index 0000000..533b945 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/System.Security.Cryptography.OpenSsl.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/System.Security.Cryptography.Pkcs.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/System.Security.Cryptography.Pkcs.dll new file mode 100644 index 0000000..a0b3e1f Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/System.Security.Cryptography.Pkcs.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/System.Security.Cryptography.Primitives.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/System.Security.Cryptography.Primitives.dll new file mode 100644 index 0000000..8a6216d Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/System.Security.Cryptography.Primitives.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/System.Security.Cryptography.ProtectedData.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/System.Security.Cryptography.ProtectedData.dll new file mode 100644 index 0000000..65ef770 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/System.Security.Cryptography.ProtectedData.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/System.Security.Cryptography.X509Certificates.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/System.Security.Cryptography.X509Certificates.dll new file mode 100644 index 0000000..768ac3e Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/System.Security.Cryptography.X509Certificates.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/System.Security.Cryptography.Xml.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/System.Security.Cryptography.Xml.dll new file mode 100644 index 0000000..6bd060b Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/System.Security.Cryptography.Xml.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/System.Security.Cryptography.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/System.Security.Cryptography.dll new file mode 100644 index 0000000..ab19f1f Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/System.Security.Cryptography.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/System.Security.Permissions.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/System.Security.Permissions.dll new file mode 100644 index 0000000..167ae93 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/System.Security.Permissions.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/System.Security.Principal.Windows.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/System.Security.Principal.Windows.dll new file mode 100644 index 0000000..effcd7b Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/System.Security.Principal.Windows.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/System.Security.Principal.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/System.Security.Principal.dll new file mode 100644 index 0000000..4e95677 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/System.Security.Principal.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/System.Security.SecureString.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/System.Security.SecureString.dll new file mode 100644 index 0000000..60ed674 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/System.Security.SecureString.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/System.Security.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/System.Security.dll new file mode 100644 index 0000000..0b111ed Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/System.Security.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/System.ServiceModel.Web.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/System.ServiceModel.Web.dll new file mode 100644 index 0000000..363cd00 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/System.ServiceModel.Web.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/System.ServiceProcess.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/System.ServiceProcess.dll new file mode 100644 index 0000000..facbe7c Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/System.ServiceProcess.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/System.Text.Encoding.CodePages.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/System.Text.Encoding.CodePages.dll new file mode 100644 index 0000000..990aac6 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/System.Text.Encoding.CodePages.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/System.Text.Encoding.Extensions.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/System.Text.Encoding.Extensions.dll new file mode 100644 index 0000000..30359a1 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/System.Text.Encoding.Extensions.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/System.Text.Encoding.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/System.Text.Encoding.dll new file mode 100644 index 0000000..38f6821 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/System.Text.Encoding.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/System.Text.Encodings.Web.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/System.Text.Encodings.Web.dll new file mode 100644 index 0000000..fe1f79a Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/System.Text.Encodings.Web.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/System.Text.Json.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/System.Text.Json.dll new file mode 100644 index 0000000..9a7bb3a Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/System.Text.Json.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/System.Text.RegularExpressions.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/System.Text.RegularExpressions.dll new file mode 100644 index 0000000..a08cef6 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/System.Text.RegularExpressions.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/System.Threading.AccessControl.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/System.Threading.AccessControl.dll new file mode 100644 index 0000000..d261ee8 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/System.Threading.AccessControl.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/System.Threading.Channels.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/System.Threading.Channels.dll new file mode 100644 index 0000000..a8c202d Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/System.Threading.Channels.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/System.Threading.Overlapped.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/System.Threading.Overlapped.dll new file mode 100644 index 0000000..846a2dd Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/System.Threading.Overlapped.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/System.Threading.Tasks.Dataflow.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/System.Threading.Tasks.Dataflow.dll new file mode 100644 index 0000000..6affc43 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/System.Threading.Tasks.Dataflow.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/System.Threading.Tasks.Extensions.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/System.Threading.Tasks.Extensions.dll new file mode 100644 index 0000000..e453c5c Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/System.Threading.Tasks.Extensions.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/System.Threading.Tasks.Parallel.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/System.Threading.Tasks.Parallel.dll new file mode 100644 index 0000000..d234555 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/System.Threading.Tasks.Parallel.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/System.Threading.Tasks.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/System.Threading.Tasks.dll new file mode 100644 index 0000000..3a2b107 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/System.Threading.Tasks.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/System.Threading.Thread.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/System.Threading.Thread.dll new file mode 100644 index 0000000..8b0ed21 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/System.Threading.Thread.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/System.Threading.ThreadPool.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/System.Threading.ThreadPool.dll new file mode 100644 index 0000000..dea32eb Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/System.Threading.ThreadPool.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/System.Threading.Timer.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/System.Threading.Timer.dll new file mode 100644 index 0000000..825a808 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/System.Threading.Timer.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/System.Threading.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/System.Threading.dll new file mode 100644 index 0000000..f512c1b Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/System.Threading.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/System.Transactions.Local.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/System.Transactions.Local.dll new file mode 100644 index 0000000..9b70413 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/System.Transactions.Local.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/System.Transactions.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/System.Transactions.dll new file mode 100644 index 0000000..77e1e8a Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/System.Transactions.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/System.ValueTuple.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/System.ValueTuple.dll new file mode 100644 index 0000000..fd1db8b Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/System.ValueTuple.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/System.Web.HttpUtility.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/System.Web.HttpUtility.dll new file mode 100644 index 0000000..dc5fa28 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/System.Web.HttpUtility.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/System.Web.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/System.Web.dll new file mode 100644 index 0000000..6232ed3 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/System.Web.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/System.Windows.Controls.Ribbon.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/System.Windows.Controls.Ribbon.dll new file mode 100644 index 0000000..0f826ac Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/System.Windows.Controls.Ribbon.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/System.Windows.Extensions.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/System.Windows.Extensions.dll new file mode 100644 index 0000000..0a761fe Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/System.Windows.Extensions.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/System.Windows.Input.Manipulations.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/System.Windows.Input.Manipulations.dll new file mode 100644 index 0000000..76d0305 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/System.Windows.Input.Manipulations.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/System.Windows.Presentation.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/System.Windows.Presentation.dll new file mode 100644 index 0000000..9eeeafe Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/System.Windows.Presentation.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/System.Windows.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/System.Windows.dll new file mode 100644 index 0000000..1edff58 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/System.Windows.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/System.Xaml.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/System.Xaml.dll new file mode 100644 index 0000000..19dbb4e Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/System.Xaml.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/System.Xml.Linq.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/System.Xml.Linq.dll new file mode 100644 index 0000000..bde3175 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/System.Xml.Linq.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/System.Xml.ReaderWriter.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/System.Xml.ReaderWriter.dll new file mode 100644 index 0000000..9757625 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/System.Xml.ReaderWriter.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/System.Xml.Serialization.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/System.Xml.Serialization.dll new file mode 100644 index 0000000..e0fb15b Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/System.Xml.Serialization.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/System.Xml.XDocument.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/System.Xml.XDocument.dll new file mode 100644 index 0000000..2e0fee4 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/System.Xml.XDocument.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/System.Xml.XPath.XDocument.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/System.Xml.XPath.XDocument.dll new file mode 100644 index 0000000..95c5c37 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/System.Xml.XPath.XDocument.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/System.Xml.XPath.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/System.Xml.XPath.dll new file mode 100644 index 0000000..eeb2614 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/System.Xml.XPath.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/System.Xml.XmlDocument.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/System.Xml.XmlDocument.dll new file mode 100644 index 0000000..9d0a2d7 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/System.Xml.XmlDocument.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/System.Xml.XmlSerializer.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/System.Xml.XmlSerializer.dll new file mode 100644 index 0000000..779fdef Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/System.Xml.XmlSerializer.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/System.Xml.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/System.Xml.dll new file mode 100644 index 0000000..5185c79 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/System.Xml.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/System.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/System.dll new file mode 100644 index 0000000..9215aaf Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/System.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/UIAutomationClient.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/UIAutomationClient.dll new file mode 100644 index 0000000..b1fce45 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/UIAutomationClient.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/UIAutomationClientSideProviders.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/UIAutomationClientSideProviders.dll new file mode 100644 index 0000000..2405c12 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/UIAutomationClientSideProviders.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/UIAutomationProvider.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/UIAutomationProvider.dll new file mode 100644 index 0000000..f298f21 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/UIAutomationProvider.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/UIAutomationTypes.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/UIAutomationTypes.dll new file mode 100644 index 0000000..563afd7 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/UIAutomationTypes.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/WindowsBase.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/WindowsBase.dll new file mode 100644 index 0000000..bd9b454 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/WindowsBase.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/clretwrc.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/clretwrc.dll new file mode 100644 index 0000000..f3fa86f Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/clretwrc.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/clrgc.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/clrgc.dll new file mode 100644 index 0000000..180e9ed Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/clrgc.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/clrgcexp.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/clrgcexp.dll new file mode 100644 index 0000000..ba42ebc Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/clrgcexp.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/clrjit.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/clrjit.dll new file mode 100644 index 0000000..9482ae9 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/clrjit.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/coreclr.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/coreclr.dll new file mode 100644 index 0000000..897d9fc Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/coreclr.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/createdump.exe b/leak_test_project/bin/Release/net9.0-windows/win-x64/createdump.exe new file mode 100644 index 0000000..c538d0a Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/createdump.exe differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/cs/PresentationCore.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/cs/PresentationCore.resources.dll new file mode 100644 index 0000000..207169c Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/cs/PresentationCore.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/cs/PresentationFramework.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/cs/PresentationFramework.resources.dll new file mode 100644 index 0000000..3b78d31 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/cs/PresentationFramework.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/cs/PresentationUI.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/cs/PresentationUI.resources.dll new file mode 100644 index 0000000..b9d6137 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/cs/PresentationUI.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/cs/ReachFramework.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/cs/ReachFramework.resources.dll new file mode 100644 index 0000000..353eb93 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/cs/ReachFramework.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/cs/System.Windows.Controls.Ribbon.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/cs/System.Windows.Controls.Ribbon.resources.dll new file mode 100644 index 0000000..da27f7a Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/cs/System.Windows.Controls.Ribbon.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/cs/System.Windows.Input.Manipulations.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/cs/System.Windows.Input.Manipulations.resources.dll new file mode 100644 index 0000000..46c0fad Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/cs/System.Windows.Input.Manipulations.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/cs/System.Xaml.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/cs/System.Xaml.resources.dll new file mode 100644 index 0000000..65faacc Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/cs/System.Xaml.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/cs/UIAutomationClient.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/cs/UIAutomationClient.resources.dll new file mode 100644 index 0000000..b6c28b2 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/cs/UIAutomationClient.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/cs/UIAutomationClientSideProviders.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/cs/UIAutomationClientSideProviders.resources.dll new file mode 100644 index 0000000..a2f3094 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/cs/UIAutomationClientSideProviders.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/cs/UIAutomationProvider.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/cs/UIAutomationProvider.resources.dll new file mode 100644 index 0000000..61edc67 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/cs/UIAutomationProvider.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/cs/UIAutomationTypes.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/cs/UIAutomationTypes.resources.dll new file mode 100644 index 0000000..196d151 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/cs/UIAutomationTypes.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/cs/WindowsBase.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/cs/WindowsBase.resources.dll new file mode 100644 index 0000000..84d8168 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/cs/WindowsBase.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/de/PresentationCore.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/de/PresentationCore.resources.dll new file mode 100644 index 0000000..276bd76 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/de/PresentationCore.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/de/PresentationFramework.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/de/PresentationFramework.resources.dll new file mode 100644 index 0000000..5c2a560 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/de/PresentationFramework.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/de/PresentationUI.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/de/PresentationUI.resources.dll new file mode 100644 index 0000000..68e1fc8 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/de/PresentationUI.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/de/ReachFramework.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/de/ReachFramework.resources.dll new file mode 100644 index 0000000..14dd6ff Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/de/ReachFramework.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/de/System.Windows.Controls.Ribbon.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/de/System.Windows.Controls.Ribbon.resources.dll new file mode 100644 index 0000000..223f25d Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/de/System.Windows.Controls.Ribbon.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/de/System.Windows.Input.Manipulations.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/de/System.Windows.Input.Manipulations.resources.dll new file mode 100644 index 0000000..11a6d86 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/de/System.Windows.Input.Manipulations.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/de/System.Xaml.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/de/System.Xaml.resources.dll new file mode 100644 index 0000000..c1e6a8d Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/de/System.Xaml.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/de/UIAutomationClient.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/de/UIAutomationClient.resources.dll new file mode 100644 index 0000000..c83e088 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/de/UIAutomationClient.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/de/UIAutomationClientSideProviders.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/de/UIAutomationClientSideProviders.resources.dll new file mode 100644 index 0000000..f2c2dfd Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/de/UIAutomationClientSideProviders.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/de/UIAutomationProvider.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/de/UIAutomationProvider.resources.dll new file mode 100644 index 0000000..caa331a Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/de/UIAutomationProvider.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/de/UIAutomationTypes.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/de/UIAutomationTypes.resources.dll new file mode 100644 index 0000000..31124f8 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/de/UIAutomationTypes.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/de/WindowsBase.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/de/WindowsBase.resources.dll new file mode 100644 index 0000000..f9661dd Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/de/WindowsBase.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/es/PresentationCore.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/es/PresentationCore.resources.dll new file mode 100644 index 0000000..17a0868 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/es/PresentationCore.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/es/PresentationFramework.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/es/PresentationFramework.resources.dll new file mode 100644 index 0000000..e8b88c3 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/es/PresentationFramework.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/es/PresentationUI.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/es/PresentationUI.resources.dll new file mode 100644 index 0000000..9b32667 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/es/PresentationUI.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/es/ReachFramework.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/es/ReachFramework.resources.dll new file mode 100644 index 0000000..fac8008 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/es/ReachFramework.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/es/System.Windows.Controls.Ribbon.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/es/System.Windows.Controls.Ribbon.resources.dll new file mode 100644 index 0000000..6c6a3fb Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/es/System.Windows.Controls.Ribbon.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/es/System.Windows.Input.Manipulations.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/es/System.Windows.Input.Manipulations.resources.dll new file mode 100644 index 0000000..e17dea9 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/es/System.Windows.Input.Manipulations.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/es/System.Xaml.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/es/System.Xaml.resources.dll new file mode 100644 index 0000000..ea2b91a Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/es/System.Xaml.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/es/UIAutomationClient.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/es/UIAutomationClient.resources.dll new file mode 100644 index 0000000..7c284dc Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/es/UIAutomationClient.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/es/UIAutomationClientSideProviders.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/es/UIAutomationClientSideProviders.resources.dll new file mode 100644 index 0000000..7bd94ff Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/es/UIAutomationClientSideProviders.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/es/UIAutomationProvider.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/es/UIAutomationProvider.resources.dll new file mode 100644 index 0000000..9b93a04 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/es/UIAutomationProvider.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/es/UIAutomationTypes.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/es/UIAutomationTypes.resources.dll new file mode 100644 index 0000000..5882277 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/es/UIAutomationTypes.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/es/WindowsBase.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/es/WindowsBase.resources.dll new file mode 100644 index 0000000..0ef349c Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/es/WindowsBase.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/fr/PresentationCore.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/fr/PresentationCore.resources.dll new file mode 100644 index 0000000..565edc7 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/fr/PresentationCore.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/fr/PresentationFramework.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/fr/PresentationFramework.resources.dll new file mode 100644 index 0000000..fbcd431 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/fr/PresentationFramework.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/fr/PresentationUI.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/fr/PresentationUI.resources.dll new file mode 100644 index 0000000..8bd3f81 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/fr/PresentationUI.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/fr/ReachFramework.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/fr/ReachFramework.resources.dll new file mode 100644 index 0000000..e802ded Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/fr/ReachFramework.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/fr/System.Windows.Controls.Ribbon.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/fr/System.Windows.Controls.Ribbon.resources.dll new file mode 100644 index 0000000..daf7102 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/fr/System.Windows.Controls.Ribbon.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/fr/System.Windows.Input.Manipulations.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/fr/System.Windows.Input.Manipulations.resources.dll new file mode 100644 index 0000000..de1f6e4 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/fr/System.Windows.Input.Manipulations.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/fr/System.Xaml.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/fr/System.Xaml.resources.dll new file mode 100644 index 0000000..4ace6ad Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/fr/System.Xaml.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/fr/UIAutomationClient.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/fr/UIAutomationClient.resources.dll new file mode 100644 index 0000000..9ec4df2 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/fr/UIAutomationClient.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/fr/UIAutomationClientSideProviders.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/fr/UIAutomationClientSideProviders.resources.dll new file mode 100644 index 0000000..4e06fee Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/fr/UIAutomationClientSideProviders.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/fr/UIAutomationProvider.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/fr/UIAutomationProvider.resources.dll new file mode 100644 index 0000000..02f17fd Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/fr/UIAutomationProvider.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/fr/UIAutomationTypes.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/fr/UIAutomationTypes.resources.dll new file mode 100644 index 0000000..964d757 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/fr/UIAutomationTypes.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/fr/WindowsBase.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/fr/WindowsBase.resources.dll new file mode 100644 index 0000000..692516a Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/fr/WindowsBase.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/hostfxr.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/hostfxr.dll new file mode 100644 index 0000000..5a7258f Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/hostfxr.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/hostpolicy.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/hostpolicy.dll new file mode 100644 index 0000000..b573b55 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/hostpolicy.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/it/PresentationCore.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/it/PresentationCore.resources.dll new file mode 100644 index 0000000..b4809a1 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/it/PresentationCore.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/it/PresentationFramework.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/it/PresentationFramework.resources.dll new file mode 100644 index 0000000..03851cc Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/it/PresentationFramework.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/it/PresentationUI.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/it/PresentationUI.resources.dll new file mode 100644 index 0000000..78ad120 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/it/PresentationUI.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/it/ReachFramework.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/it/ReachFramework.resources.dll new file mode 100644 index 0000000..547569b Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/it/ReachFramework.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/it/System.Windows.Controls.Ribbon.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/it/System.Windows.Controls.Ribbon.resources.dll new file mode 100644 index 0000000..ae77aef Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/it/System.Windows.Controls.Ribbon.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/it/System.Windows.Input.Manipulations.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/it/System.Windows.Input.Manipulations.resources.dll new file mode 100644 index 0000000..047cbd9 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/it/System.Windows.Input.Manipulations.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/it/System.Xaml.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/it/System.Xaml.resources.dll new file mode 100644 index 0000000..666980a Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/it/System.Xaml.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/it/UIAutomationClient.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/it/UIAutomationClient.resources.dll new file mode 100644 index 0000000..aa5c4eb Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/it/UIAutomationClient.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/it/UIAutomationClientSideProviders.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/it/UIAutomationClientSideProviders.resources.dll new file mode 100644 index 0000000..513f178 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/it/UIAutomationClientSideProviders.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/it/UIAutomationProvider.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/it/UIAutomationProvider.resources.dll new file mode 100644 index 0000000..5ebe347 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/it/UIAutomationProvider.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/it/UIAutomationTypes.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/it/UIAutomationTypes.resources.dll new file mode 100644 index 0000000..f2b69c4 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/it/UIAutomationTypes.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/it/WindowsBase.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/it/WindowsBase.resources.dll new file mode 100644 index 0000000..198abf9 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/it/WindowsBase.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/ja/PresentationCore.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/ja/PresentationCore.resources.dll new file mode 100644 index 0000000..8abd5da Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/ja/PresentationCore.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/ja/PresentationFramework.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/ja/PresentationFramework.resources.dll new file mode 100644 index 0000000..d5b3403 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/ja/PresentationFramework.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/ja/PresentationUI.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/ja/PresentationUI.resources.dll new file mode 100644 index 0000000..786bca6 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/ja/PresentationUI.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/ja/ReachFramework.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/ja/ReachFramework.resources.dll new file mode 100644 index 0000000..9f92718 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/ja/ReachFramework.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/ja/System.Windows.Controls.Ribbon.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/ja/System.Windows.Controls.Ribbon.resources.dll new file mode 100644 index 0000000..85815d6 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/ja/System.Windows.Controls.Ribbon.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/ja/System.Windows.Input.Manipulations.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/ja/System.Windows.Input.Manipulations.resources.dll new file mode 100644 index 0000000..cd4be3b Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/ja/System.Windows.Input.Manipulations.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/ja/System.Xaml.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/ja/System.Xaml.resources.dll new file mode 100644 index 0000000..c098282 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/ja/System.Xaml.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/ja/UIAutomationClient.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/ja/UIAutomationClient.resources.dll new file mode 100644 index 0000000..2af31f4 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/ja/UIAutomationClient.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/ja/UIAutomationClientSideProviders.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/ja/UIAutomationClientSideProviders.resources.dll new file mode 100644 index 0000000..713dbd4 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/ja/UIAutomationClientSideProviders.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/ja/UIAutomationProvider.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/ja/UIAutomationProvider.resources.dll new file mode 100644 index 0000000..5961e4a Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/ja/UIAutomationProvider.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/ja/UIAutomationTypes.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/ja/UIAutomationTypes.resources.dll new file mode 100644 index 0000000..6c51a29 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/ja/UIAutomationTypes.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/ja/WindowsBase.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/ja/WindowsBase.resources.dll new file mode 100644 index 0000000..eacb2c6 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/ja/WindowsBase.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/ko/PresentationCore.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/ko/PresentationCore.resources.dll new file mode 100644 index 0000000..756a81b Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/ko/PresentationCore.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/ko/PresentationFramework.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/ko/PresentationFramework.resources.dll new file mode 100644 index 0000000..4b9d9d0 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/ko/PresentationFramework.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/ko/PresentationUI.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/ko/PresentationUI.resources.dll new file mode 100644 index 0000000..7132a06 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/ko/PresentationUI.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/ko/ReachFramework.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/ko/ReachFramework.resources.dll new file mode 100644 index 0000000..3d94145 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/ko/ReachFramework.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/ko/System.Windows.Controls.Ribbon.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/ko/System.Windows.Controls.Ribbon.resources.dll new file mode 100644 index 0000000..7515fe8 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/ko/System.Windows.Controls.Ribbon.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/ko/System.Windows.Input.Manipulations.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/ko/System.Windows.Input.Manipulations.resources.dll new file mode 100644 index 0000000..b109306 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/ko/System.Windows.Input.Manipulations.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/ko/System.Xaml.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/ko/System.Xaml.resources.dll new file mode 100644 index 0000000..47b4130 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/ko/System.Xaml.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/ko/UIAutomationClient.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/ko/UIAutomationClient.resources.dll new file mode 100644 index 0000000..6b6e6e6 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/ko/UIAutomationClient.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/ko/UIAutomationClientSideProviders.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/ko/UIAutomationClientSideProviders.resources.dll new file mode 100644 index 0000000..6a38686 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/ko/UIAutomationClientSideProviders.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/ko/UIAutomationProvider.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/ko/UIAutomationProvider.resources.dll new file mode 100644 index 0000000..037fdee Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/ko/UIAutomationProvider.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/ko/UIAutomationTypes.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/ko/UIAutomationTypes.resources.dll new file mode 100644 index 0000000..3ce5ce4 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/ko/UIAutomationTypes.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/ko/WindowsBase.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/ko/WindowsBase.resources.dll new file mode 100644 index 0000000..4ee382e Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/ko/WindowsBase.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/leak_test_project.deps.json b/leak_test_project/bin/Release/net9.0-windows/win-x64/leak_test_project.deps.json new file mode 100644 index 0000000..492f626 --- /dev/null +++ b/leak_test_project/bin/Release/net9.0-windows/win-x64/leak_test_project.deps.json @@ -0,0 +1,1046 @@ +{ + "runtimeTarget": { + "name": ".NETCoreApp,Version=v9.0/win-x64", + "signature": "" + }, + "compilationOptions": {}, + "targets": { + ".NETCoreApp,Version=v9.0": {}, + ".NETCoreApp,Version=v9.0/win-x64": { + "leak_test_project/1.0.0": { + "dependencies": { + "Microsoft.VisualStudio.Setup.Configuration.Interop": "3.14.2075", + "System.Data.SqlClient": "4.9.0", + "System.IO.Ports": "9.0.0", + "runtimepack.Microsoft.NETCore.App.Runtime.win-x64": "9.0.17", + "runtimepack.Microsoft.WindowsDesktop.App.Runtime.win-x64": "9.0.17" + }, + "runtime": { + "leak_test_project.dll": {} + } + }, + "runtimepack.Microsoft.NETCore.App.Runtime.win-x64/9.0.17": { + "runtime": { + "Microsoft.CSharp.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "Microsoft.VisualBasic.Core.dll": { + "assemblyVersion": "14.0.0.0", + "fileVersion": "14.0.1726.26416" + }, + "Microsoft.VisualBasic.dll": { + "assemblyVersion": "10.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "Microsoft.Win32.Primitives.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "Microsoft.Win32.Registry.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.AppContext.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.Buffers.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.Collections.Concurrent.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.Collections.Immutable.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.Collections.NonGeneric.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.Collections.Specialized.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.Collections.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.ComponentModel.Annotations.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.ComponentModel.DataAnnotations.dll": { + "assemblyVersion": "4.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.ComponentModel.EventBasedAsync.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.ComponentModel.Primitives.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.ComponentModel.TypeConverter.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.ComponentModel.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.Configuration.dll": { + "assemblyVersion": "4.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.Console.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.Core.dll": { + "assemblyVersion": "4.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.Data.Common.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.Data.DataSetExtensions.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.Data.dll": { + "assemblyVersion": "4.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.Diagnostics.Contracts.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.Diagnostics.Debug.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.Diagnostics.DiagnosticSource.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.Diagnostics.FileVersionInfo.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.Diagnostics.Process.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.Diagnostics.StackTrace.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.Diagnostics.TextWriterTraceListener.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.Diagnostics.Tools.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.Diagnostics.TraceSource.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.Diagnostics.Tracing.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.Drawing.Primitives.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.Drawing.dll": { + "assemblyVersion": "4.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.Dynamic.Runtime.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.Formats.Asn1.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.Formats.Tar.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.Globalization.Calendars.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.Globalization.Extensions.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.Globalization.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.IO.Compression.Brotli.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.IO.Compression.FileSystem.dll": { + "assemblyVersion": "4.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.IO.Compression.ZipFile.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.IO.Compression.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.IO.FileSystem.AccessControl.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.IO.FileSystem.DriveInfo.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.IO.FileSystem.Primitives.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.IO.FileSystem.Watcher.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.IO.FileSystem.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.IO.IsolatedStorage.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.IO.MemoryMappedFiles.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.IO.Pipelines.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.IO.Pipes.AccessControl.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.IO.Pipes.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.IO.UnmanagedMemoryStream.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.IO.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.Linq.Expressions.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.Linq.Parallel.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.Linq.Queryable.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.Linq.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.Memory.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.Net.Http.Json.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.Net.Http.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.Net.HttpListener.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.Net.Mail.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.Net.NameResolution.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.Net.NetworkInformation.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.Net.Ping.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.Net.Primitives.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.Net.Quic.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.Net.Requests.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.Net.Security.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.Net.ServicePoint.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.Net.Sockets.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.Net.WebClient.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.Net.WebHeaderCollection.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.Net.WebProxy.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.Net.WebSockets.Client.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.Net.WebSockets.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.Net.dll": { + "assemblyVersion": "4.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.Numerics.Vectors.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.Numerics.dll": { + "assemblyVersion": "4.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.ObjectModel.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.Private.CoreLib.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.Private.DataContractSerialization.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.Private.Uri.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.Private.Xml.Linq.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.Private.Xml.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.Reflection.DispatchProxy.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.Reflection.Emit.ILGeneration.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.Reflection.Emit.Lightweight.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.Reflection.Emit.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.Reflection.Extensions.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.Reflection.Metadata.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.Reflection.Primitives.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.Reflection.TypeExtensions.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.Reflection.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.Resources.Reader.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.Resources.ResourceManager.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.Resources.Writer.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.Runtime.CompilerServices.Unsafe.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.Runtime.CompilerServices.VisualC.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.Runtime.Extensions.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.Runtime.Handles.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.Runtime.InteropServices.JavaScript.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.Runtime.InteropServices.RuntimeInformation.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.Runtime.InteropServices.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.Runtime.Intrinsics.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.Runtime.Loader.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.Runtime.Numerics.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.Runtime.Serialization.Formatters.dll": { + "assemblyVersion": "8.1.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.Runtime.Serialization.Json.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.Runtime.Serialization.Primitives.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.Runtime.Serialization.Xml.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.Runtime.Serialization.dll": { + "assemblyVersion": "4.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.Runtime.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.Security.AccessControl.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.Security.Claims.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.Security.Cryptography.Algorithms.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.Security.Cryptography.Cng.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.Security.Cryptography.Csp.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.Security.Cryptography.Encoding.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.Security.Cryptography.OpenSsl.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.Security.Cryptography.Primitives.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.Security.Cryptography.X509Certificates.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.Security.Cryptography.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.Security.Principal.Windows.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.Security.Principal.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.Security.SecureString.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.Security.dll": { + "assemblyVersion": "4.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.ServiceModel.Web.dll": { + "assemblyVersion": "4.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.ServiceProcess.dll": { + "assemblyVersion": "4.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.Text.Encoding.CodePages.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.Text.Encoding.Extensions.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.Text.Encoding.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.Text.Encodings.Web.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.Text.Json.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.Text.RegularExpressions.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.Threading.Channels.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.Threading.Overlapped.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.Threading.Tasks.Dataflow.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.Threading.Tasks.Extensions.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.Threading.Tasks.Parallel.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.Threading.Tasks.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.Threading.Thread.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.Threading.ThreadPool.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.Threading.Timer.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.Threading.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.Transactions.Local.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.Transactions.dll": { + "assemblyVersion": "4.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.ValueTuple.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.Web.HttpUtility.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.Web.dll": { + "assemblyVersion": "4.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.Windows.dll": { + "assemblyVersion": "4.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.Xml.Linq.dll": { + "assemblyVersion": "4.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.Xml.ReaderWriter.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.Xml.Serialization.dll": { + "assemblyVersion": "4.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.Xml.XDocument.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.Xml.XPath.XDocument.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.Xml.XPath.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.Xml.XmlDocument.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.Xml.XmlSerializer.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.Xml.dll": { + "assemblyVersion": "4.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.dll": { + "assemblyVersion": "4.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "mscorlib.dll": { + "assemblyVersion": "4.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "netstandard.dll": { + "assemblyVersion": "2.1.0.0", + "fileVersion": "9.0.1726.26416" + } + }, + "native": { + "Microsoft.DiaSymReader.Native.amd64.dll": { + "fileVersion": "14.42.34436.0" + }, + "System.IO.Compression.Native.dll": { + "fileVersion": "9.0.1726.26416" + }, + "clretwrc.dll": { + "fileVersion": "9.0.1726.26416" + }, + "clrgc.dll": { + "fileVersion": "9.0.1726.26416" + }, + "clrgcexp.dll": { + "fileVersion": "9.0.1726.26416" + }, + "clrjit.dll": { + "fileVersion": "9.0.1726.26416" + }, + "coreclr.dll": { + "fileVersion": "9.0.1726.26416" + }, + "createdump.exe": { + "fileVersion": "9.0.1726.26416" + }, + "hostfxr.dll": { + "fileVersion": "9.0.1726.26416" + }, + "hostpolicy.dll": { + "fileVersion": "9.0.1726.26416" + }, + "mscordaccore.dll": { + "fileVersion": "9.0.1726.26416" + }, + "mscordaccore_amd64_amd64_9.0.1726.26416.dll": { + "fileVersion": "9.0.1726.26416" + }, + "mscordbi.dll": { + "fileVersion": "9.0.1726.26416" + }, + "mscorrc.dll": { + "fileVersion": "9.0.1726.26416" + }, + "msquic.dll": { + "fileVersion": "2.4.18.0" + } + } + }, + "runtimepack.Microsoft.WindowsDesktop.App.Runtime.win-x64/9.0.17": { + "runtime": { + "Accessibility.dll": { + "assemblyVersion": "4.0.0.0", + "fileVersion": "9.0.1726.26501" + }, + "DirectWriteForwarder.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26701" + }, + "Microsoft.Win32.Registry.AccessControl.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "Microsoft.Win32.SystemEvents.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "PresentationCore.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26701" + }, + "PresentationFramework-SystemCore.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26701" + }, + "PresentationFramework-SystemData.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26701" + }, + "PresentationFramework-SystemDrawing.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26701" + }, + "PresentationFramework-SystemXml.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26701" + }, + "PresentationFramework-SystemXmlLinq.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26701" + }, + "PresentationFramework.Aero.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26701" + }, + "PresentationFramework.Aero2.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26701" + }, + "PresentationFramework.AeroLite.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26701" + }, + "PresentationFramework.Classic.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26701" + }, + "PresentationFramework.Fluent.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26701" + }, + "PresentationFramework.Luna.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26701" + }, + "PresentationFramework.Royale.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26701" + }, + "PresentationFramework.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26701" + }, + "PresentationUI.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26701" + }, + "ReachFramework.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26701" + }, + "System.CodeDom.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.Configuration.ConfigurationManager.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.Diagnostics.EventLog.Messages.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "0.0.0.0" + }, + "System.Diagnostics.EventLog.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.Diagnostics.PerformanceCounter.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.DirectoryServices.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.Formats.Nrbf.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.IO.Packaging.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.Printing.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26701" + }, + "System.Resources.Extensions.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.Security.Cryptography.Pkcs.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.Security.Cryptography.ProtectedData.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.Security.Cryptography.Xml.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.Security.Permissions.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.Threading.AccessControl.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.Windows.Controls.Ribbon.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26701" + }, + "System.Windows.Extensions.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.Windows.Input.Manipulations.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26701" + }, + "System.Windows.Presentation.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26701" + }, + "System.Xaml.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26701" + }, + "UIAutomationClient.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26701" + }, + "UIAutomationClientSideProviders.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26701" + }, + "UIAutomationProvider.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26701" + }, + "UIAutomationTypes.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26701" + }, + "WindowsBase.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26701" + } + }, + "native": { + "D3DCompiler_47_cor3.dll": { + "fileVersion": "10.0.26100.7705" + }, + "PenImc_cor3.dll": { + "fileVersion": "9.0.1726.26701" + }, + "PresentationNative_cor3.dll": { + "fileVersion": "9.0.26.22701" + }, + "vcruntime140_cor3.dll": { + "fileVersion": "14.44.35211.0" + }, + "wpfgfx_cor3.dll": { + "fileVersion": "9.0.1726.26701" + } + } + }, + "Microsoft.VisualStudio.Setup.Configuration.Interop/3.14.2075": { + "runtime": { + "lib/netstandard2.1/Microsoft.VisualStudio.Setup.Configuration.Interop.dll": { + "assemblyVersion": "1.0.0.0", + "fileVersion": "3.14.2075.50697" + } + } + }, + "runtime.native.System.Data.SqlClient.sni/4.4.0": { + "dependencies": { + "runtime.win-x64.runtime.native.System.Data.SqlClient.sni": "4.4.0" + } + }, + "runtime.win-x64.runtime.native.System.Data.SqlClient.sni/4.4.0": { + "native": { + "runtimes/win-x64/native/sni.dll": { + "fileVersion": "4.6.25512.1" + } + } + }, + "System.Data.SqlClient/4.9.0": { + "dependencies": { + "runtime.native.System.Data.SqlClient.sni": "4.4.0" + }, + "runtime": { + "runtimes/win/lib/net8.0/System.Data.SqlClient.dll": { + "assemblyVersion": "4.6.1.6", + "fileVersion": "4.900.24.56208" + } + } + }, + "System.IO.Ports/9.0.0": { + "runtime": { + "runtimes/win/lib/net9.0/System.IO.Ports.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.24.52809" + } + } + } + } + }, + "libraries": { + "leak_test_project/1.0.0": { + "type": "project", + "serviceable": false, + "sha512": "" + }, + "runtimepack.Microsoft.NETCore.App.Runtime.win-x64/9.0.17": { + "type": "runtimepack", + "serviceable": false, + "sha512": "" + }, + "runtimepack.Microsoft.WindowsDesktop.App.Runtime.win-x64/9.0.17": { + "type": "runtimepack", + "serviceable": false, + "sha512": "" + }, + "Microsoft.VisualStudio.Setup.Configuration.Interop/3.14.2075": { + "type": "package", + "serviceable": true, + "sha512": "sha512-SH4pYl7XBUjL6sRAk+l2jsK7B9VbiKPEKkzJdmNxgexeHpAP7T+VlZk0w3NHgPG1UGQ3fxnhc427cM2o9GUYYA==", + "path": "microsoft.visualstudio.setup.configuration.interop/3.14.2075", + "hashPath": "microsoft.visualstudio.setup.configuration.interop.3.14.2075.nupkg.sha512" + }, + "runtime.native.System.Data.SqlClient.sni/4.4.0": { + "type": "package", + "serviceable": true, + "sha512": "sha512-A8v6PGmk+UGbfWo5Ixup0lPM4swuSwOiayJExZwKIOjTlFFQIsu3QnDXECosBEyrWSPryxBVrdqtJyhK3BaupQ==", + "path": "runtime.native.system.data.sqlclient.sni/4.4.0", + "hashPath": "runtime.native.system.data.sqlclient.sni.4.4.0.nupkg.sha512" + }, + "runtime.win-x64.runtime.native.System.Data.SqlClient.sni/4.4.0": { + "type": "package", + "serviceable": true, + "sha512": "sha512-38ugOfkYJqJoX9g6EYRlZB5U2ZJH51UP8ptxZgdpS07FgOEToV+lS11ouNK2PM12Pr6X/PpT5jK82G3DwH/SxQ==", + "path": "runtime.win-x64.runtime.native.system.data.sqlclient.sni/4.4.0", + "hashPath": "runtime.win-x64.runtime.native.system.data.sqlclient.sni.4.4.0.nupkg.sha512" + }, + "System.Data.SqlClient/4.9.0": { + "type": "package", + "serviceable": true, + "sha512": "sha512-j4KJO+vC62NyUtNHz854njEqXbT8OmAa5jb1nrGfYWBOcggyYUQE0w/snXeaCjdvkSKWuUD+hfvlbN8pTrJTXg==", + "path": "system.data.sqlclient/4.9.0", + "hashPath": "system.data.sqlclient.4.9.0.nupkg.sha512" + }, + "System.IO.Ports/9.0.0": { + "type": "package", + "serviceable": true, + "sha512": "sha512-NfEWew48r4MxHUnOQL7nw/5JBsz9dli8TJYpXjsAQu8tHH0QCq2ly4QMCc8wS9EAi1jvaFgq7ELdfwxvrKWALQ==", + "path": "system.io.ports/9.0.0", + "hashPath": "system.io.ports.9.0.0.nupkg.sha512" + } + }, + "runtimes": { + "win-x64": [ + "win", + "any", + "base" + ] + } +} \ No newline at end of file diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/leak_test_project.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/leak_test_project.dll new file mode 100644 index 0000000..7308f6e Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/leak_test_project.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/leak_test_project.dll.config b/leak_test_project/bin/Release/net9.0-windows/win-x64/leak_test_project.dll.config new file mode 100644 index 0000000..56efbc7 --- /dev/null +++ b/leak_test_project/bin/Release/net9.0-windows/win-x64/leak_test_project.dll.config @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/leak_test_project.exe b/leak_test_project/bin/Release/net9.0-windows/win-x64/leak_test_project.exe new file mode 100644 index 0000000..8e32a29 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/leak_test_project.exe differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/leak_test_project.pdb b/leak_test_project/bin/Release/net9.0-windows/win-x64/leak_test_project.pdb new file mode 100644 index 0000000..dc19ce1 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/leak_test_project.pdb differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/leak_test_project.runtimeconfig.json b/leak_test_project/bin/Release/net9.0-windows/win-x64/leak_test_project.runtimeconfig.json new file mode 100644 index 0000000..7023d2c --- /dev/null +++ b/leak_test_project/bin/Release/net9.0-windows/win-x64/leak_test_project.runtimeconfig.json @@ -0,0 +1,20 @@ +{ + "runtimeOptions": { + "tfm": "net9.0", + "includedFrameworks": [ + { + "name": "Microsoft.NETCore.App", + "version": "9.0.17" + }, + { + "name": "Microsoft.WindowsDesktop.App", + "version": "9.0.17" + } + ], + "configProperties": { + "System.Reflection.Metadata.MetadataUpdater.IsSupported": false, + "System.Runtime.Serialization.EnableUnsafeBinaryFormatterSerialization": false, + "CSWINRT_USE_WINDOWS_UI_XAML_PROJECTIONS": false + } + } +} \ No newline at end of file diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/mscordaccore.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/mscordaccore.dll new file mode 100644 index 0000000..d72de82 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/mscordaccore.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/mscordaccore_amd64_amd64_9.0.1726.26416.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/mscordaccore_amd64_amd64_9.0.1726.26416.dll new file mode 100644 index 0000000..d72de82 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/mscordaccore_amd64_amd64_9.0.1726.26416.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/mscordbi.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/mscordbi.dll new file mode 100644 index 0000000..b81f3df Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/mscordbi.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/mscorlib.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/mscorlib.dll new file mode 100644 index 0000000..11c5d43 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/mscorlib.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/mscorrc.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/mscorrc.dll new file mode 100644 index 0000000..99c0fea Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/mscorrc.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/msquic.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/msquic.dll new file mode 100644 index 0000000..9f0824a Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/msquic.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/netstandard.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/netstandard.dll new file mode 100644 index 0000000..5b4edfa Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/netstandard.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/pl/PresentationCore.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/pl/PresentationCore.resources.dll new file mode 100644 index 0000000..278c8a9 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/pl/PresentationCore.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/pl/PresentationFramework.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/pl/PresentationFramework.resources.dll new file mode 100644 index 0000000..752bfd4 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/pl/PresentationFramework.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/pl/PresentationUI.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/pl/PresentationUI.resources.dll new file mode 100644 index 0000000..c48c21a Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/pl/PresentationUI.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/pl/ReachFramework.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/pl/ReachFramework.resources.dll new file mode 100644 index 0000000..4ca1fe0 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/pl/ReachFramework.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/pl/System.Windows.Controls.Ribbon.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/pl/System.Windows.Controls.Ribbon.resources.dll new file mode 100644 index 0000000..fc943ac Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/pl/System.Windows.Controls.Ribbon.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/pl/System.Windows.Input.Manipulations.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/pl/System.Windows.Input.Manipulations.resources.dll new file mode 100644 index 0000000..04e7f3e Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/pl/System.Windows.Input.Manipulations.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/pl/System.Xaml.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/pl/System.Xaml.resources.dll new file mode 100644 index 0000000..a89e0b5 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/pl/System.Xaml.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/pl/UIAutomationClient.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/pl/UIAutomationClient.resources.dll new file mode 100644 index 0000000..a67a681 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/pl/UIAutomationClient.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/pl/UIAutomationClientSideProviders.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/pl/UIAutomationClientSideProviders.resources.dll new file mode 100644 index 0000000..59b1c2e Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/pl/UIAutomationClientSideProviders.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/pl/UIAutomationProvider.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/pl/UIAutomationProvider.resources.dll new file mode 100644 index 0000000..5e7ead6 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/pl/UIAutomationProvider.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/pl/UIAutomationTypes.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/pl/UIAutomationTypes.resources.dll new file mode 100644 index 0000000..8ddb58d Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/pl/UIAutomationTypes.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/pl/WindowsBase.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/pl/WindowsBase.resources.dll new file mode 100644 index 0000000..48fe110 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/pl/WindowsBase.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/pt-BR/PresentationCore.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/pt-BR/PresentationCore.resources.dll new file mode 100644 index 0000000..ca386b1 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/pt-BR/PresentationCore.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/pt-BR/PresentationFramework.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/pt-BR/PresentationFramework.resources.dll new file mode 100644 index 0000000..db914bc Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/pt-BR/PresentationFramework.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/pt-BR/PresentationUI.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/pt-BR/PresentationUI.resources.dll new file mode 100644 index 0000000..0265c79 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/pt-BR/PresentationUI.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/pt-BR/ReachFramework.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/pt-BR/ReachFramework.resources.dll new file mode 100644 index 0000000..20a458d Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/pt-BR/ReachFramework.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/pt-BR/System.Windows.Controls.Ribbon.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/pt-BR/System.Windows.Controls.Ribbon.resources.dll new file mode 100644 index 0000000..0066d47 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/pt-BR/System.Windows.Controls.Ribbon.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/pt-BR/System.Windows.Input.Manipulations.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/pt-BR/System.Windows.Input.Manipulations.resources.dll new file mode 100644 index 0000000..2fbebbc Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/pt-BR/System.Windows.Input.Manipulations.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/pt-BR/System.Xaml.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/pt-BR/System.Xaml.resources.dll new file mode 100644 index 0000000..6a09708 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/pt-BR/System.Xaml.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/pt-BR/UIAutomationClient.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/pt-BR/UIAutomationClient.resources.dll new file mode 100644 index 0000000..51ea654 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/pt-BR/UIAutomationClient.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/pt-BR/UIAutomationClientSideProviders.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/pt-BR/UIAutomationClientSideProviders.resources.dll new file mode 100644 index 0000000..f8187b3 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/pt-BR/UIAutomationClientSideProviders.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/pt-BR/UIAutomationProvider.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/pt-BR/UIAutomationProvider.resources.dll new file mode 100644 index 0000000..6d9f6e4 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/pt-BR/UIAutomationProvider.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/pt-BR/UIAutomationTypes.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/pt-BR/UIAutomationTypes.resources.dll new file mode 100644 index 0000000..3a9c956 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/pt-BR/UIAutomationTypes.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/pt-BR/WindowsBase.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/pt-BR/WindowsBase.resources.dll new file mode 100644 index 0000000..493af82 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/pt-BR/WindowsBase.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/Accessibility.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/Accessibility.dll new file mode 100644 index 0000000..490edee Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/Accessibility.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/D3DCompiler_47_cor3.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/D3DCompiler_47_cor3.dll new file mode 100644 index 0000000..948cc90 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/D3DCompiler_47_cor3.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/Database.ini b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/Database.ini new file mode 100644 index 0000000..3491e9c --- /dev/null +++ b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/Database.ini @@ -0,0 +1,24 @@ +; ===================================================================== +; Mobi Leak Test System - 데이터베이스 및 로그인 설정 파일 (Database.ini) +; ===================================================================== + +; [데이터베이스 접속 상세 설정] +; Db_Server : 중앙 MSSQL 데이터베이스 서버의 IP 주소 또는 호스트명 +; Db_Name : 검사 데이터를 저장할 대상 데이터베이스 이름 +; Db_User : 데이터베이스 접속 계정 ID (예: sa) +; Db_Password: 데이터베이스 접속 계정의 비밀번호 +Db_Server=192.168.0.20 +Db_Name=NE1aW_PT_SENSOR +Db_User=sa +Db_Password=sa1234 + + +[Login] +; Procedure: 로그인 검증에 사용할 DB 저장 프로시저명입니다. (공란일 경우 기본 테이블 조회 쿼리 작동) +Procedure=dbo.CheckOperator + +; ProcessName: 로그인 검증 시 전달할 공정 이름입니다. +ProcessName=EOL + +; OfflinePreview: 오프라인 모드 활성화 여부 (true = DB 연결 없이 로그인 통과, false = 실제 DB 인증) +OfflinePreview=false diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/DirectWriteForwarder.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/DirectWriteForwarder.dll new file mode 100644 index 0000000..4a0fb1a Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/DirectWriteForwarder.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/Microsoft.CSharp.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/Microsoft.CSharp.dll new file mode 100644 index 0000000..f364bdf Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/Microsoft.CSharp.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/Microsoft.DiaSymReader.Native.amd64.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/Microsoft.DiaSymReader.Native.amd64.dll new file mode 100644 index 0000000..92b355b Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/Microsoft.DiaSymReader.Native.amd64.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/Microsoft.VisualBasic.Core.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/Microsoft.VisualBasic.Core.dll new file mode 100644 index 0000000..8af701a Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/Microsoft.VisualBasic.Core.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/Microsoft.VisualBasic.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/Microsoft.VisualBasic.dll new file mode 100644 index 0000000..d2286b6 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/Microsoft.VisualBasic.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/Microsoft.VisualStudio.Setup.Configuration.Interop.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/Microsoft.VisualStudio.Setup.Configuration.Interop.dll new file mode 100644 index 0000000..55fc91d Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/Microsoft.VisualStudio.Setup.Configuration.Interop.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/Microsoft.Win32.Primitives.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/Microsoft.Win32.Primitives.dll new file mode 100644 index 0000000..f5d557f Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/Microsoft.Win32.Primitives.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/Microsoft.Win32.Registry.AccessControl.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/Microsoft.Win32.Registry.AccessControl.dll new file mode 100644 index 0000000..81d0c06 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/Microsoft.Win32.Registry.AccessControl.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/Microsoft.Win32.Registry.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/Microsoft.Win32.Registry.dll new file mode 100644 index 0000000..3277ee1 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/Microsoft.Win32.Registry.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/Microsoft.Win32.SystemEvents.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/Microsoft.Win32.SystemEvents.dll new file mode 100644 index 0000000..748c6a2 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/Microsoft.Win32.SystemEvents.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/PCI-Dask.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/PCI-Dask.dll new file mode 100644 index 0000000..b22577f Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/PCI-Dask.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/PenImc_cor3.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/PenImc_cor3.dll new file mode 100644 index 0000000..cad11e9 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/PenImc_cor3.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/PresentationCore.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/PresentationCore.dll new file mode 100644 index 0000000..6c66e6a Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/PresentationCore.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/PresentationFramework-SystemCore.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/PresentationFramework-SystemCore.dll new file mode 100644 index 0000000..dfb3e26 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/PresentationFramework-SystemCore.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/PresentationFramework-SystemData.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/PresentationFramework-SystemData.dll new file mode 100644 index 0000000..86d217f Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/PresentationFramework-SystemData.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/PresentationFramework-SystemDrawing.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/PresentationFramework-SystemDrawing.dll new file mode 100644 index 0000000..f1a6504 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/PresentationFramework-SystemDrawing.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/PresentationFramework-SystemXml.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/PresentationFramework-SystemXml.dll new file mode 100644 index 0000000..adf29fa Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/PresentationFramework-SystemXml.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/PresentationFramework-SystemXmlLinq.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/PresentationFramework-SystemXmlLinq.dll new file mode 100644 index 0000000..10ab576 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/PresentationFramework-SystemXmlLinq.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/PresentationFramework.Aero.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/PresentationFramework.Aero.dll new file mode 100644 index 0000000..781919a Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/PresentationFramework.Aero.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/PresentationFramework.Aero2.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/PresentationFramework.Aero2.dll new file mode 100644 index 0000000..db09794 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/PresentationFramework.Aero2.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/PresentationFramework.AeroLite.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/PresentationFramework.AeroLite.dll new file mode 100644 index 0000000..2a27d38 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/PresentationFramework.AeroLite.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/PresentationFramework.Classic.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/PresentationFramework.Classic.dll new file mode 100644 index 0000000..77ebeed Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/PresentationFramework.Classic.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/PresentationFramework.Fluent.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/PresentationFramework.Fluent.dll new file mode 100644 index 0000000..55f962f Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/PresentationFramework.Fluent.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/PresentationFramework.Luna.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/PresentationFramework.Luna.dll new file mode 100644 index 0000000..3ab2ca7 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/PresentationFramework.Luna.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/PresentationFramework.Royale.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/PresentationFramework.Royale.dll new file mode 100644 index 0000000..4f50320 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/PresentationFramework.Royale.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/PresentationFramework.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/PresentationFramework.dll new file mode 100644 index 0000000..6fcc56c Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/PresentationFramework.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/PresentationNative_cor3.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/PresentationNative_cor3.dll new file mode 100644 index 0000000..73524ab Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/PresentationNative_cor3.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/PresentationUI.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/PresentationUI.dll new file mode 100644 index 0000000..d5494d6 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/PresentationUI.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/ReachFramework.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/ReachFramework.dll new file mode 100644 index 0000000..cafc375 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/ReachFramework.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/System.AppContext.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/System.AppContext.dll new file mode 100644 index 0000000..2619837 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/System.AppContext.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/System.Buffers.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/System.Buffers.dll new file mode 100644 index 0000000..b5576f8 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/System.Buffers.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/System.CodeDom.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/System.CodeDom.dll new file mode 100644 index 0000000..19a9c0a Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/System.CodeDom.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/System.Collections.Concurrent.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/System.Collections.Concurrent.dll new file mode 100644 index 0000000..5a51692 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/System.Collections.Concurrent.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/System.Collections.Immutable.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/System.Collections.Immutable.dll new file mode 100644 index 0000000..21a74c5 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/System.Collections.Immutable.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/System.Collections.NonGeneric.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/System.Collections.NonGeneric.dll new file mode 100644 index 0000000..53ee290 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/System.Collections.NonGeneric.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/System.Collections.Specialized.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/System.Collections.Specialized.dll new file mode 100644 index 0000000..cb440c1 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/System.Collections.Specialized.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/System.Collections.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/System.Collections.dll new file mode 100644 index 0000000..720b16e Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/System.Collections.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/System.ComponentModel.Annotations.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/System.ComponentModel.Annotations.dll new file mode 100644 index 0000000..4b93dbe Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/System.ComponentModel.Annotations.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/System.ComponentModel.DataAnnotations.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/System.ComponentModel.DataAnnotations.dll new file mode 100644 index 0000000..399ceeb Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/System.ComponentModel.DataAnnotations.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/System.ComponentModel.EventBasedAsync.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/System.ComponentModel.EventBasedAsync.dll new file mode 100644 index 0000000..fa23688 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/System.ComponentModel.EventBasedAsync.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/System.ComponentModel.Primitives.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/System.ComponentModel.Primitives.dll new file mode 100644 index 0000000..8cea50a Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/System.ComponentModel.Primitives.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/System.ComponentModel.TypeConverter.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/System.ComponentModel.TypeConverter.dll new file mode 100644 index 0000000..45eebb9 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/System.ComponentModel.TypeConverter.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/System.ComponentModel.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/System.ComponentModel.dll new file mode 100644 index 0000000..c61344c Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/System.ComponentModel.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/System.Configuration.ConfigurationManager.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/System.Configuration.ConfigurationManager.dll new file mode 100644 index 0000000..4c8f97f Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/System.Configuration.ConfigurationManager.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/System.Configuration.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/System.Configuration.dll new file mode 100644 index 0000000..956d719 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/System.Configuration.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/System.Console.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/System.Console.dll new file mode 100644 index 0000000..ba0eb67 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/System.Console.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/System.Core.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/System.Core.dll new file mode 100644 index 0000000..9be45f3 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/System.Core.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/System.Data.Common.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/System.Data.Common.dll new file mode 100644 index 0000000..54cd27a Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/System.Data.Common.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/System.Data.DataSetExtensions.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/System.Data.DataSetExtensions.dll new file mode 100644 index 0000000..74abe99 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/System.Data.DataSetExtensions.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/System.Data.SqlClient.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/System.Data.SqlClient.dll new file mode 100644 index 0000000..413faaa Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/System.Data.SqlClient.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/System.Data.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/System.Data.dll new file mode 100644 index 0000000..198c16c Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/System.Data.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/System.Diagnostics.Contracts.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/System.Diagnostics.Contracts.dll new file mode 100644 index 0000000..a0c058b Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/System.Diagnostics.Contracts.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/System.Diagnostics.Debug.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/System.Diagnostics.Debug.dll new file mode 100644 index 0000000..a258a24 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/System.Diagnostics.Debug.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/System.Diagnostics.DiagnosticSource.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/System.Diagnostics.DiagnosticSource.dll new file mode 100644 index 0000000..136e902 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/System.Diagnostics.DiagnosticSource.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/System.Diagnostics.EventLog.Messages.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/System.Diagnostics.EventLog.Messages.dll new file mode 100644 index 0000000..de7c7af Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/System.Diagnostics.EventLog.Messages.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/System.Diagnostics.EventLog.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/System.Diagnostics.EventLog.dll new file mode 100644 index 0000000..d820328 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/System.Diagnostics.EventLog.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/System.Diagnostics.FileVersionInfo.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/System.Diagnostics.FileVersionInfo.dll new file mode 100644 index 0000000..5e59e5b Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/System.Diagnostics.FileVersionInfo.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/System.Diagnostics.PerformanceCounter.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/System.Diagnostics.PerformanceCounter.dll new file mode 100644 index 0000000..44bff46 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/System.Diagnostics.PerformanceCounter.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/System.Diagnostics.Process.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/System.Diagnostics.Process.dll new file mode 100644 index 0000000..32fe9ff Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/System.Diagnostics.Process.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/System.Diagnostics.StackTrace.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/System.Diagnostics.StackTrace.dll new file mode 100644 index 0000000..a221a64 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/System.Diagnostics.StackTrace.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/System.Diagnostics.TextWriterTraceListener.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/System.Diagnostics.TextWriterTraceListener.dll new file mode 100644 index 0000000..bc3d891 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/System.Diagnostics.TextWriterTraceListener.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/System.Diagnostics.Tools.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/System.Diagnostics.Tools.dll new file mode 100644 index 0000000..bbfc53b Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/System.Diagnostics.Tools.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/System.Diagnostics.TraceSource.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/System.Diagnostics.TraceSource.dll new file mode 100644 index 0000000..310dd38 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/System.Diagnostics.TraceSource.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/System.Diagnostics.Tracing.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/System.Diagnostics.Tracing.dll new file mode 100644 index 0000000..3a75eb3 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/System.Diagnostics.Tracing.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/System.DirectoryServices.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/System.DirectoryServices.dll new file mode 100644 index 0000000..dcaddf1 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/System.DirectoryServices.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/System.Drawing.Primitives.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/System.Drawing.Primitives.dll new file mode 100644 index 0000000..a973a80 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/System.Drawing.Primitives.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/System.Drawing.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/System.Drawing.dll new file mode 100644 index 0000000..508ca84 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/System.Drawing.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/System.Dynamic.Runtime.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/System.Dynamic.Runtime.dll new file mode 100644 index 0000000..40258a8 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/System.Dynamic.Runtime.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/System.Formats.Asn1.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/System.Formats.Asn1.dll new file mode 100644 index 0000000..99047ae Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/System.Formats.Asn1.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/System.Formats.Nrbf.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/System.Formats.Nrbf.dll new file mode 100644 index 0000000..263e9f8 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/System.Formats.Nrbf.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/System.Formats.Tar.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/System.Formats.Tar.dll new file mode 100644 index 0000000..7d22d6d Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/System.Formats.Tar.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/System.Globalization.Calendars.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/System.Globalization.Calendars.dll new file mode 100644 index 0000000..53c8291 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/System.Globalization.Calendars.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/System.Globalization.Extensions.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/System.Globalization.Extensions.dll new file mode 100644 index 0000000..100c55e Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/System.Globalization.Extensions.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/System.Globalization.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/System.Globalization.dll new file mode 100644 index 0000000..d4c7893 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/System.Globalization.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/System.IO.Compression.Brotli.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/System.IO.Compression.Brotli.dll new file mode 100644 index 0000000..f9742b5 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/System.IO.Compression.Brotli.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/System.IO.Compression.FileSystem.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/System.IO.Compression.FileSystem.dll new file mode 100644 index 0000000..6e884ca Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/System.IO.Compression.FileSystem.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/System.IO.Compression.Native.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/System.IO.Compression.Native.dll new file mode 100644 index 0000000..a635852 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/System.IO.Compression.Native.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/System.IO.Compression.ZipFile.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/System.IO.Compression.ZipFile.dll new file mode 100644 index 0000000..149dd2e Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/System.IO.Compression.ZipFile.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/System.IO.Compression.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/System.IO.Compression.dll new file mode 100644 index 0000000..519c34f Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/System.IO.Compression.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/System.IO.FileSystem.AccessControl.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/System.IO.FileSystem.AccessControl.dll new file mode 100644 index 0000000..9d0c83b Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/System.IO.FileSystem.AccessControl.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/System.IO.FileSystem.DriveInfo.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/System.IO.FileSystem.DriveInfo.dll new file mode 100644 index 0000000..473ea28 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/System.IO.FileSystem.DriveInfo.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/System.IO.FileSystem.Primitives.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/System.IO.FileSystem.Primitives.dll new file mode 100644 index 0000000..9b60e61 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/System.IO.FileSystem.Primitives.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/System.IO.FileSystem.Watcher.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/System.IO.FileSystem.Watcher.dll new file mode 100644 index 0000000..a00723a Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/System.IO.FileSystem.Watcher.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/System.IO.FileSystem.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/System.IO.FileSystem.dll new file mode 100644 index 0000000..333ae1c Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/System.IO.FileSystem.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/System.IO.IsolatedStorage.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/System.IO.IsolatedStorage.dll new file mode 100644 index 0000000..846b4f7 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/System.IO.IsolatedStorage.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/System.IO.MemoryMappedFiles.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/System.IO.MemoryMappedFiles.dll new file mode 100644 index 0000000..06915ab Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/System.IO.MemoryMappedFiles.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/System.IO.Packaging.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/System.IO.Packaging.dll new file mode 100644 index 0000000..a46169a Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/System.IO.Packaging.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/System.IO.Pipelines.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/System.IO.Pipelines.dll new file mode 100644 index 0000000..efec837 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/System.IO.Pipelines.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/System.IO.Pipes.AccessControl.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/System.IO.Pipes.AccessControl.dll new file mode 100644 index 0000000..c5a03ec Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/System.IO.Pipes.AccessControl.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/System.IO.Pipes.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/System.IO.Pipes.dll new file mode 100644 index 0000000..99dd97d Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/System.IO.Pipes.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/System.IO.Ports.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/System.IO.Ports.dll new file mode 100644 index 0000000..7db46fd Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/System.IO.Ports.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/System.IO.UnmanagedMemoryStream.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/System.IO.UnmanagedMemoryStream.dll new file mode 100644 index 0000000..37c681a Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/System.IO.UnmanagedMemoryStream.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/System.IO.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/System.IO.dll new file mode 100644 index 0000000..55859fa Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/System.IO.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/System.Linq.Expressions.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/System.Linq.Expressions.dll new file mode 100644 index 0000000..13eb386 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/System.Linq.Expressions.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/System.Linq.Parallel.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/System.Linq.Parallel.dll new file mode 100644 index 0000000..e1150ef Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/System.Linq.Parallel.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/System.Linq.Queryable.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/System.Linq.Queryable.dll new file mode 100644 index 0000000..f11b7ce Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/System.Linq.Queryable.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/System.Linq.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/System.Linq.dll new file mode 100644 index 0000000..abe701e Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/System.Linq.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/System.Memory.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/System.Memory.dll new file mode 100644 index 0000000..82b867e Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/System.Memory.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/System.Net.Http.Json.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/System.Net.Http.Json.dll new file mode 100644 index 0000000..2407078 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/System.Net.Http.Json.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/System.Net.Http.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/System.Net.Http.dll new file mode 100644 index 0000000..9a2245e Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/System.Net.Http.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/System.Net.HttpListener.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/System.Net.HttpListener.dll new file mode 100644 index 0000000..2cf3dc9 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/System.Net.HttpListener.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/System.Net.Mail.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/System.Net.Mail.dll new file mode 100644 index 0000000..6902689 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/System.Net.Mail.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/System.Net.NameResolution.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/System.Net.NameResolution.dll new file mode 100644 index 0000000..fd846c5 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/System.Net.NameResolution.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/System.Net.NetworkInformation.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/System.Net.NetworkInformation.dll new file mode 100644 index 0000000..c2b560c Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/System.Net.NetworkInformation.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/System.Net.Ping.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/System.Net.Ping.dll new file mode 100644 index 0000000..efa5d81 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/System.Net.Ping.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/System.Net.Primitives.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/System.Net.Primitives.dll new file mode 100644 index 0000000..4c3ff4c Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/System.Net.Primitives.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/System.Net.Quic.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/System.Net.Quic.dll new file mode 100644 index 0000000..5b95b5c Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/System.Net.Quic.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/System.Net.Requests.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/System.Net.Requests.dll new file mode 100644 index 0000000..adb5d4e Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/System.Net.Requests.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/System.Net.Security.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/System.Net.Security.dll new file mode 100644 index 0000000..f37fde1 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/System.Net.Security.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/System.Net.ServicePoint.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/System.Net.ServicePoint.dll new file mode 100644 index 0000000..e0d7e9a Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/System.Net.ServicePoint.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/System.Net.Sockets.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/System.Net.Sockets.dll new file mode 100644 index 0000000..b8fb2c9 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/System.Net.Sockets.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/System.Net.WebClient.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/System.Net.WebClient.dll new file mode 100644 index 0000000..ca5cd90 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/System.Net.WebClient.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/System.Net.WebHeaderCollection.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/System.Net.WebHeaderCollection.dll new file mode 100644 index 0000000..4856192 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/System.Net.WebHeaderCollection.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/System.Net.WebProxy.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/System.Net.WebProxy.dll new file mode 100644 index 0000000..4f6559f Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/System.Net.WebProxy.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/System.Net.WebSockets.Client.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/System.Net.WebSockets.Client.dll new file mode 100644 index 0000000..594a415 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/System.Net.WebSockets.Client.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/System.Net.WebSockets.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/System.Net.WebSockets.dll new file mode 100644 index 0000000..a83b326 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/System.Net.WebSockets.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/System.Net.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/System.Net.dll new file mode 100644 index 0000000..e2eb39d Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/System.Net.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/System.Numerics.Vectors.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/System.Numerics.Vectors.dll new file mode 100644 index 0000000..d5f9c9c Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/System.Numerics.Vectors.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/System.Numerics.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/System.Numerics.dll new file mode 100644 index 0000000..872c6e6 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/System.Numerics.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/System.ObjectModel.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/System.ObjectModel.dll new file mode 100644 index 0000000..9316209 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/System.ObjectModel.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/System.Printing.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/System.Printing.dll new file mode 100644 index 0000000..4c518a1 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/System.Printing.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/System.Private.CoreLib.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/System.Private.CoreLib.dll new file mode 100644 index 0000000..eed142c Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/System.Private.CoreLib.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/System.Private.DataContractSerialization.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/System.Private.DataContractSerialization.dll new file mode 100644 index 0000000..651e673 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/System.Private.DataContractSerialization.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/System.Private.Uri.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/System.Private.Uri.dll new file mode 100644 index 0000000..7f84072 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/System.Private.Uri.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/System.Private.Xml.Linq.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/System.Private.Xml.Linq.dll new file mode 100644 index 0000000..80936df Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/System.Private.Xml.Linq.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/System.Private.Xml.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/System.Private.Xml.dll new file mode 100644 index 0000000..4376c97 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/System.Private.Xml.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/System.Reflection.DispatchProxy.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/System.Reflection.DispatchProxy.dll new file mode 100644 index 0000000..5b20b72 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/System.Reflection.DispatchProxy.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/System.Reflection.Emit.ILGeneration.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/System.Reflection.Emit.ILGeneration.dll new file mode 100644 index 0000000..e73b3de Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/System.Reflection.Emit.ILGeneration.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/System.Reflection.Emit.Lightweight.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/System.Reflection.Emit.Lightweight.dll new file mode 100644 index 0000000..a05d920 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/System.Reflection.Emit.Lightweight.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/System.Reflection.Emit.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/System.Reflection.Emit.dll new file mode 100644 index 0000000..441f815 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/System.Reflection.Emit.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/System.Reflection.Extensions.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/System.Reflection.Extensions.dll new file mode 100644 index 0000000..5c2a446 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/System.Reflection.Extensions.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/System.Reflection.Metadata.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/System.Reflection.Metadata.dll new file mode 100644 index 0000000..fc3c3f6 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/System.Reflection.Metadata.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/System.Reflection.Primitives.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/System.Reflection.Primitives.dll new file mode 100644 index 0000000..971bb47 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/System.Reflection.Primitives.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/System.Reflection.TypeExtensions.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/System.Reflection.TypeExtensions.dll new file mode 100644 index 0000000..7e1dd2a Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/System.Reflection.TypeExtensions.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/System.Reflection.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/System.Reflection.dll new file mode 100644 index 0000000..815fc03 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/System.Reflection.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/System.Resources.Extensions.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/System.Resources.Extensions.dll new file mode 100644 index 0000000..d1e2563 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/System.Resources.Extensions.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/System.Resources.Reader.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/System.Resources.Reader.dll new file mode 100644 index 0000000..7a5b724 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/System.Resources.Reader.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/System.Resources.ResourceManager.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/System.Resources.ResourceManager.dll new file mode 100644 index 0000000..9102b3b Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/System.Resources.ResourceManager.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/System.Resources.Writer.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/System.Resources.Writer.dll new file mode 100644 index 0000000..b67fc6f Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/System.Resources.Writer.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/System.Runtime.CompilerServices.Unsafe.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/System.Runtime.CompilerServices.Unsafe.dll new file mode 100644 index 0000000..2f59c5e Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/System.Runtime.CompilerServices.Unsafe.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/System.Runtime.CompilerServices.VisualC.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/System.Runtime.CompilerServices.VisualC.dll new file mode 100644 index 0000000..c884fe0 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/System.Runtime.CompilerServices.VisualC.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/System.Runtime.Extensions.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/System.Runtime.Extensions.dll new file mode 100644 index 0000000..2e7f0a9 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/System.Runtime.Extensions.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/System.Runtime.Handles.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/System.Runtime.Handles.dll new file mode 100644 index 0000000..285c59d Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/System.Runtime.Handles.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/System.Runtime.InteropServices.JavaScript.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/System.Runtime.InteropServices.JavaScript.dll new file mode 100644 index 0000000..862b0cc Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/System.Runtime.InteropServices.JavaScript.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/System.Runtime.InteropServices.RuntimeInformation.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/System.Runtime.InteropServices.RuntimeInformation.dll new file mode 100644 index 0000000..d7f6f2d Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/System.Runtime.InteropServices.RuntimeInformation.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/System.Runtime.InteropServices.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/System.Runtime.InteropServices.dll new file mode 100644 index 0000000..225e9d1 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/System.Runtime.InteropServices.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/System.Runtime.Intrinsics.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/System.Runtime.Intrinsics.dll new file mode 100644 index 0000000..2d8abe6 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/System.Runtime.Intrinsics.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/System.Runtime.Loader.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/System.Runtime.Loader.dll new file mode 100644 index 0000000..d1d6ac5 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/System.Runtime.Loader.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/System.Runtime.Numerics.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/System.Runtime.Numerics.dll new file mode 100644 index 0000000..5a513df Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/System.Runtime.Numerics.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/System.Runtime.Serialization.Formatters.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/System.Runtime.Serialization.Formatters.dll new file mode 100644 index 0000000..7b41427 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/System.Runtime.Serialization.Formatters.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/System.Runtime.Serialization.Json.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/System.Runtime.Serialization.Json.dll new file mode 100644 index 0000000..ee033d5 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/System.Runtime.Serialization.Json.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/System.Runtime.Serialization.Primitives.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/System.Runtime.Serialization.Primitives.dll new file mode 100644 index 0000000..8db2dd1 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/System.Runtime.Serialization.Primitives.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/System.Runtime.Serialization.Xml.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/System.Runtime.Serialization.Xml.dll new file mode 100644 index 0000000..e389c12 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/System.Runtime.Serialization.Xml.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/System.Runtime.Serialization.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/System.Runtime.Serialization.dll new file mode 100644 index 0000000..bf16759 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/System.Runtime.Serialization.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/System.Runtime.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/System.Runtime.dll new file mode 100644 index 0000000..398def5 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/System.Runtime.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/System.Security.AccessControl.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/System.Security.AccessControl.dll new file mode 100644 index 0000000..3d3717f Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/System.Security.AccessControl.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/System.Security.Claims.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/System.Security.Claims.dll new file mode 100644 index 0000000..325d20a Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/System.Security.Claims.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/System.Security.Cryptography.Algorithms.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/System.Security.Cryptography.Algorithms.dll new file mode 100644 index 0000000..243d82e Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/System.Security.Cryptography.Algorithms.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/System.Security.Cryptography.Cng.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/System.Security.Cryptography.Cng.dll new file mode 100644 index 0000000..0c1408b Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/System.Security.Cryptography.Cng.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/System.Security.Cryptography.Csp.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/System.Security.Cryptography.Csp.dll new file mode 100644 index 0000000..65cfc8c Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/System.Security.Cryptography.Csp.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/System.Security.Cryptography.Encoding.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/System.Security.Cryptography.Encoding.dll new file mode 100644 index 0000000..dc82ed1 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/System.Security.Cryptography.Encoding.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/System.Security.Cryptography.OpenSsl.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/System.Security.Cryptography.OpenSsl.dll new file mode 100644 index 0000000..533b945 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/System.Security.Cryptography.OpenSsl.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/System.Security.Cryptography.Pkcs.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/System.Security.Cryptography.Pkcs.dll new file mode 100644 index 0000000..a0b3e1f Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/System.Security.Cryptography.Pkcs.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/System.Security.Cryptography.Primitives.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/System.Security.Cryptography.Primitives.dll new file mode 100644 index 0000000..8a6216d Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/System.Security.Cryptography.Primitives.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/System.Security.Cryptography.ProtectedData.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/System.Security.Cryptography.ProtectedData.dll new file mode 100644 index 0000000..65ef770 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/System.Security.Cryptography.ProtectedData.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/System.Security.Cryptography.X509Certificates.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/System.Security.Cryptography.X509Certificates.dll new file mode 100644 index 0000000..768ac3e Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/System.Security.Cryptography.X509Certificates.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/System.Security.Cryptography.Xml.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/System.Security.Cryptography.Xml.dll new file mode 100644 index 0000000..6bd060b Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/System.Security.Cryptography.Xml.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/System.Security.Cryptography.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/System.Security.Cryptography.dll new file mode 100644 index 0000000..ab19f1f Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/System.Security.Cryptography.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/System.Security.Permissions.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/System.Security.Permissions.dll new file mode 100644 index 0000000..167ae93 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/System.Security.Permissions.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/System.Security.Principal.Windows.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/System.Security.Principal.Windows.dll new file mode 100644 index 0000000..effcd7b Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/System.Security.Principal.Windows.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/System.Security.Principal.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/System.Security.Principal.dll new file mode 100644 index 0000000..4e95677 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/System.Security.Principal.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/System.Security.SecureString.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/System.Security.SecureString.dll new file mode 100644 index 0000000..60ed674 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/System.Security.SecureString.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/System.Security.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/System.Security.dll new file mode 100644 index 0000000..0b111ed Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/System.Security.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/System.ServiceModel.Web.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/System.ServiceModel.Web.dll new file mode 100644 index 0000000..363cd00 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/System.ServiceModel.Web.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/System.ServiceProcess.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/System.ServiceProcess.dll new file mode 100644 index 0000000..facbe7c Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/System.ServiceProcess.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/System.Text.Encoding.CodePages.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/System.Text.Encoding.CodePages.dll new file mode 100644 index 0000000..990aac6 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/System.Text.Encoding.CodePages.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/System.Text.Encoding.Extensions.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/System.Text.Encoding.Extensions.dll new file mode 100644 index 0000000..30359a1 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/System.Text.Encoding.Extensions.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/System.Text.Encoding.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/System.Text.Encoding.dll new file mode 100644 index 0000000..38f6821 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/System.Text.Encoding.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/System.Text.Encodings.Web.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/System.Text.Encodings.Web.dll new file mode 100644 index 0000000..fe1f79a Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/System.Text.Encodings.Web.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/System.Text.Json.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/System.Text.Json.dll new file mode 100644 index 0000000..9a7bb3a Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/System.Text.Json.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/System.Text.RegularExpressions.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/System.Text.RegularExpressions.dll new file mode 100644 index 0000000..a08cef6 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/System.Text.RegularExpressions.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/System.Threading.AccessControl.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/System.Threading.AccessControl.dll new file mode 100644 index 0000000..d261ee8 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/System.Threading.AccessControl.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/System.Threading.Channels.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/System.Threading.Channels.dll new file mode 100644 index 0000000..a8c202d Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/System.Threading.Channels.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/System.Threading.Overlapped.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/System.Threading.Overlapped.dll new file mode 100644 index 0000000..846a2dd Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/System.Threading.Overlapped.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/System.Threading.Tasks.Dataflow.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/System.Threading.Tasks.Dataflow.dll new file mode 100644 index 0000000..6affc43 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/System.Threading.Tasks.Dataflow.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/System.Threading.Tasks.Extensions.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/System.Threading.Tasks.Extensions.dll new file mode 100644 index 0000000..e453c5c Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/System.Threading.Tasks.Extensions.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/System.Threading.Tasks.Parallel.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/System.Threading.Tasks.Parallel.dll new file mode 100644 index 0000000..d234555 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/System.Threading.Tasks.Parallel.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/System.Threading.Tasks.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/System.Threading.Tasks.dll new file mode 100644 index 0000000..3a2b107 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/System.Threading.Tasks.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/System.Threading.Thread.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/System.Threading.Thread.dll new file mode 100644 index 0000000..8b0ed21 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/System.Threading.Thread.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/System.Threading.ThreadPool.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/System.Threading.ThreadPool.dll new file mode 100644 index 0000000..dea32eb Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/System.Threading.ThreadPool.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/System.Threading.Timer.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/System.Threading.Timer.dll new file mode 100644 index 0000000..825a808 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/System.Threading.Timer.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/System.Threading.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/System.Threading.dll new file mode 100644 index 0000000..f512c1b Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/System.Threading.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/System.Transactions.Local.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/System.Transactions.Local.dll new file mode 100644 index 0000000..9b70413 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/System.Transactions.Local.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/System.Transactions.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/System.Transactions.dll new file mode 100644 index 0000000..77e1e8a Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/System.Transactions.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/System.ValueTuple.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/System.ValueTuple.dll new file mode 100644 index 0000000..fd1db8b Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/System.ValueTuple.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/System.Web.HttpUtility.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/System.Web.HttpUtility.dll new file mode 100644 index 0000000..dc5fa28 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/System.Web.HttpUtility.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/System.Web.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/System.Web.dll new file mode 100644 index 0000000..6232ed3 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/System.Web.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/System.Windows.Controls.Ribbon.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/System.Windows.Controls.Ribbon.dll new file mode 100644 index 0000000..0f826ac Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/System.Windows.Controls.Ribbon.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/System.Windows.Extensions.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/System.Windows.Extensions.dll new file mode 100644 index 0000000..0a761fe Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/System.Windows.Extensions.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/System.Windows.Input.Manipulations.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/System.Windows.Input.Manipulations.dll new file mode 100644 index 0000000..76d0305 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/System.Windows.Input.Manipulations.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/System.Windows.Presentation.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/System.Windows.Presentation.dll new file mode 100644 index 0000000..9eeeafe Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/System.Windows.Presentation.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/System.Windows.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/System.Windows.dll new file mode 100644 index 0000000..1edff58 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/System.Windows.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/System.Xaml.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/System.Xaml.dll new file mode 100644 index 0000000..19dbb4e Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/System.Xaml.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/System.Xml.Linq.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/System.Xml.Linq.dll new file mode 100644 index 0000000..bde3175 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/System.Xml.Linq.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/System.Xml.ReaderWriter.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/System.Xml.ReaderWriter.dll new file mode 100644 index 0000000..9757625 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/System.Xml.ReaderWriter.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/System.Xml.Serialization.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/System.Xml.Serialization.dll new file mode 100644 index 0000000..e0fb15b Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/System.Xml.Serialization.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/System.Xml.XDocument.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/System.Xml.XDocument.dll new file mode 100644 index 0000000..2e0fee4 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/System.Xml.XDocument.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/System.Xml.XPath.XDocument.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/System.Xml.XPath.XDocument.dll new file mode 100644 index 0000000..95c5c37 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/System.Xml.XPath.XDocument.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/System.Xml.XPath.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/System.Xml.XPath.dll new file mode 100644 index 0000000..eeb2614 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/System.Xml.XPath.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/System.Xml.XmlDocument.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/System.Xml.XmlDocument.dll new file mode 100644 index 0000000..9d0a2d7 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/System.Xml.XmlDocument.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/System.Xml.XmlSerializer.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/System.Xml.XmlSerializer.dll new file mode 100644 index 0000000..779fdef Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/System.Xml.XmlSerializer.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/System.Xml.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/System.Xml.dll new file mode 100644 index 0000000..5185c79 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/System.Xml.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/System.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/System.dll new file mode 100644 index 0000000..9215aaf Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/System.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/UIAutomationClient.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/UIAutomationClient.dll new file mode 100644 index 0000000..b1fce45 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/UIAutomationClient.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/UIAutomationClientSideProviders.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/UIAutomationClientSideProviders.dll new file mode 100644 index 0000000..2405c12 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/UIAutomationClientSideProviders.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/UIAutomationProvider.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/UIAutomationProvider.dll new file mode 100644 index 0000000..f298f21 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/UIAutomationProvider.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/UIAutomationTypes.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/UIAutomationTypes.dll new file mode 100644 index 0000000..563afd7 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/UIAutomationTypes.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/WindowsBase.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/WindowsBase.dll new file mode 100644 index 0000000..bd9b454 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/WindowsBase.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/clretwrc.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/clretwrc.dll new file mode 100644 index 0000000..f3fa86f Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/clretwrc.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/clrgc.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/clrgc.dll new file mode 100644 index 0000000..180e9ed Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/clrgc.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/clrgcexp.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/clrgcexp.dll new file mode 100644 index 0000000..ba42ebc Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/clrgcexp.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/clrjit.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/clrjit.dll new file mode 100644 index 0000000..9482ae9 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/clrjit.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/coreclr.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/coreclr.dll new file mode 100644 index 0000000..897d9fc Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/coreclr.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/createdump.exe b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/createdump.exe new file mode 100644 index 0000000..c538d0a Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/createdump.exe differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/cs/PresentationCore.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/cs/PresentationCore.resources.dll new file mode 100644 index 0000000..207169c Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/cs/PresentationCore.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/cs/PresentationFramework.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/cs/PresentationFramework.resources.dll new file mode 100644 index 0000000..3b78d31 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/cs/PresentationFramework.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/cs/PresentationUI.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/cs/PresentationUI.resources.dll new file mode 100644 index 0000000..b9d6137 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/cs/PresentationUI.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/cs/ReachFramework.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/cs/ReachFramework.resources.dll new file mode 100644 index 0000000..353eb93 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/cs/ReachFramework.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/cs/System.Windows.Controls.Ribbon.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/cs/System.Windows.Controls.Ribbon.resources.dll new file mode 100644 index 0000000..da27f7a Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/cs/System.Windows.Controls.Ribbon.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/cs/System.Windows.Input.Manipulations.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/cs/System.Windows.Input.Manipulations.resources.dll new file mode 100644 index 0000000..46c0fad Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/cs/System.Windows.Input.Manipulations.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/cs/System.Xaml.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/cs/System.Xaml.resources.dll new file mode 100644 index 0000000..65faacc Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/cs/System.Xaml.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/cs/UIAutomationClient.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/cs/UIAutomationClient.resources.dll new file mode 100644 index 0000000..b6c28b2 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/cs/UIAutomationClient.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/cs/UIAutomationClientSideProviders.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/cs/UIAutomationClientSideProviders.resources.dll new file mode 100644 index 0000000..a2f3094 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/cs/UIAutomationClientSideProviders.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/cs/UIAutomationProvider.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/cs/UIAutomationProvider.resources.dll new file mode 100644 index 0000000..61edc67 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/cs/UIAutomationProvider.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/cs/UIAutomationTypes.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/cs/UIAutomationTypes.resources.dll new file mode 100644 index 0000000..196d151 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/cs/UIAutomationTypes.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/cs/WindowsBase.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/cs/WindowsBase.resources.dll new file mode 100644 index 0000000..84d8168 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/cs/WindowsBase.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/de/PresentationCore.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/de/PresentationCore.resources.dll new file mode 100644 index 0000000..276bd76 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/de/PresentationCore.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/de/PresentationFramework.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/de/PresentationFramework.resources.dll new file mode 100644 index 0000000..5c2a560 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/de/PresentationFramework.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/de/PresentationUI.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/de/PresentationUI.resources.dll new file mode 100644 index 0000000..68e1fc8 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/de/PresentationUI.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/de/ReachFramework.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/de/ReachFramework.resources.dll new file mode 100644 index 0000000..14dd6ff Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/de/ReachFramework.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/de/System.Windows.Controls.Ribbon.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/de/System.Windows.Controls.Ribbon.resources.dll new file mode 100644 index 0000000..223f25d Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/de/System.Windows.Controls.Ribbon.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/de/System.Windows.Input.Manipulations.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/de/System.Windows.Input.Manipulations.resources.dll new file mode 100644 index 0000000..11a6d86 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/de/System.Windows.Input.Manipulations.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/de/System.Xaml.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/de/System.Xaml.resources.dll new file mode 100644 index 0000000..c1e6a8d Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/de/System.Xaml.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/de/UIAutomationClient.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/de/UIAutomationClient.resources.dll new file mode 100644 index 0000000..c83e088 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/de/UIAutomationClient.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/de/UIAutomationClientSideProviders.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/de/UIAutomationClientSideProviders.resources.dll new file mode 100644 index 0000000..f2c2dfd Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/de/UIAutomationClientSideProviders.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/de/UIAutomationProvider.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/de/UIAutomationProvider.resources.dll new file mode 100644 index 0000000..caa331a Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/de/UIAutomationProvider.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/de/UIAutomationTypes.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/de/UIAutomationTypes.resources.dll new file mode 100644 index 0000000..31124f8 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/de/UIAutomationTypes.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/de/WindowsBase.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/de/WindowsBase.resources.dll new file mode 100644 index 0000000..f9661dd Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/de/WindowsBase.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/es/PresentationCore.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/es/PresentationCore.resources.dll new file mode 100644 index 0000000..17a0868 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/es/PresentationCore.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/es/PresentationFramework.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/es/PresentationFramework.resources.dll new file mode 100644 index 0000000..e8b88c3 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/es/PresentationFramework.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/es/PresentationUI.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/es/PresentationUI.resources.dll new file mode 100644 index 0000000..9b32667 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/es/PresentationUI.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/es/ReachFramework.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/es/ReachFramework.resources.dll new file mode 100644 index 0000000..fac8008 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/es/ReachFramework.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/es/System.Windows.Controls.Ribbon.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/es/System.Windows.Controls.Ribbon.resources.dll new file mode 100644 index 0000000..6c6a3fb Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/es/System.Windows.Controls.Ribbon.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/es/System.Windows.Input.Manipulations.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/es/System.Windows.Input.Manipulations.resources.dll new file mode 100644 index 0000000..e17dea9 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/es/System.Windows.Input.Manipulations.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/es/System.Xaml.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/es/System.Xaml.resources.dll new file mode 100644 index 0000000..ea2b91a Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/es/System.Xaml.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/es/UIAutomationClient.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/es/UIAutomationClient.resources.dll new file mode 100644 index 0000000..7c284dc Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/es/UIAutomationClient.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/es/UIAutomationClientSideProviders.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/es/UIAutomationClientSideProviders.resources.dll new file mode 100644 index 0000000..7bd94ff Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/es/UIAutomationClientSideProviders.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/es/UIAutomationProvider.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/es/UIAutomationProvider.resources.dll new file mode 100644 index 0000000..9b93a04 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/es/UIAutomationProvider.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/es/UIAutomationTypes.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/es/UIAutomationTypes.resources.dll new file mode 100644 index 0000000..5882277 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/es/UIAutomationTypes.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/es/WindowsBase.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/es/WindowsBase.resources.dll new file mode 100644 index 0000000..0ef349c Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/es/WindowsBase.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/fr/PresentationCore.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/fr/PresentationCore.resources.dll new file mode 100644 index 0000000..565edc7 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/fr/PresentationCore.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/fr/PresentationFramework.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/fr/PresentationFramework.resources.dll new file mode 100644 index 0000000..fbcd431 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/fr/PresentationFramework.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/fr/PresentationUI.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/fr/PresentationUI.resources.dll new file mode 100644 index 0000000..8bd3f81 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/fr/PresentationUI.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/fr/ReachFramework.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/fr/ReachFramework.resources.dll new file mode 100644 index 0000000..e802ded Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/fr/ReachFramework.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/fr/System.Windows.Controls.Ribbon.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/fr/System.Windows.Controls.Ribbon.resources.dll new file mode 100644 index 0000000..daf7102 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/fr/System.Windows.Controls.Ribbon.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/fr/System.Windows.Input.Manipulations.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/fr/System.Windows.Input.Manipulations.resources.dll new file mode 100644 index 0000000..de1f6e4 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/fr/System.Windows.Input.Manipulations.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/fr/System.Xaml.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/fr/System.Xaml.resources.dll new file mode 100644 index 0000000..4ace6ad Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/fr/System.Xaml.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/fr/UIAutomationClient.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/fr/UIAutomationClient.resources.dll new file mode 100644 index 0000000..9ec4df2 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/fr/UIAutomationClient.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/fr/UIAutomationClientSideProviders.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/fr/UIAutomationClientSideProviders.resources.dll new file mode 100644 index 0000000..4e06fee Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/fr/UIAutomationClientSideProviders.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/fr/UIAutomationProvider.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/fr/UIAutomationProvider.resources.dll new file mode 100644 index 0000000..02f17fd Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/fr/UIAutomationProvider.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/fr/UIAutomationTypes.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/fr/UIAutomationTypes.resources.dll new file mode 100644 index 0000000..964d757 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/fr/UIAutomationTypes.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/fr/WindowsBase.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/fr/WindowsBase.resources.dll new file mode 100644 index 0000000..692516a Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/fr/WindowsBase.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/hostfxr.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/hostfxr.dll new file mode 100644 index 0000000..5a7258f Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/hostfxr.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/hostpolicy.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/hostpolicy.dll new file mode 100644 index 0000000..b573b55 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/hostpolicy.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/it/PresentationCore.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/it/PresentationCore.resources.dll new file mode 100644 index 0000000..b4809a1 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/it/PresentationCore.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/it/PresentationFramework.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/it/PresentationFramework.resources.dll new file mode 100644 index 0000000..03851cc Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/it/PresentationFramework.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/it/PresentationUI.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/it/PresentationUI.resources.dll new file mode 100644 index 0000000..78ad120 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/it/PresentationUI.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/it/ReachFramework.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/it/ReachFramework.resources.dll new file mode 100644 index 0000000..547569b Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/it/ReachFramework.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/it/System.Windows.Controls.Ribbon.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/it/System.Windows.Controls.Ribbon.resources.dll new file mode 100644 index 0000000..ae77aef Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/it/System.Windows.Controls.Ribbon.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/it/System.Windows.Input.Manipulations.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/it/System.Windows.Input.Manipulations.resources.dll new file mode 100644 index 0000000..047cbd9 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/it/System.Windows.Input.Manipulations.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/it/System.Xaml.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/it/System.Xaml.resources.dll new file mode 100644 index 0000000..666980a Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/it/System.Xaml.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/it/UIAutomationClient.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/it/UIAutomationClient.resources.dll new file mode 100644 index 0000000..aa5c4eb Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/it/UIAutomationClient.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/it/UIAutomationClientSideProviders.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/it/UIAutomationClientSideProviders.resources.dll new file mode 100644 index 0000000..513f178 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/it/UIAutomationClientSideProviders.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/it/UIAutomationProvider.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/it/UIAutomationProvider.resources.dll new file mode 100644 index 0000000..5ebe347 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/it/UIAutomationProvider.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/it/UIAutomationTypes.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/it/UIAutomationTypes.resources.dll new file mode 100644 index 0000000..f2b69c4 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/it/UIAutomationTypes.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/it/WindowsBase.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/it/WindowsBase.resources.dll new file mode 100644 index 0000000..198abf9 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/it/WindowsBase.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/ja/PresentationCore.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/ja/PresentationCore.resources.dll new file mode 100644 index 0000000..8abd5da Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/ja/PresentationCore.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/ja/PresentationFramework.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/ja/PresentationFramework.resources.dll new file mode 100644 index 0000000..d5b3403 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/ja/PresentationFramework.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/ja/PresentationUI.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/ja/PresentationUI.resources.dll new file mode 100644 index 0000000..786bca6 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/ja/PresentationUI.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/ja/ReachFramework.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/ja/ReachFramework.resources.dll new file mode 100644 index 0000000..9f92718 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/ja/ReachFramework.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/ja/System.Windows.Controls.Ribbon.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/ja/System.Windows.Controls.Ribbon.resources.dll new file mode 100644 index 0000000..85815d6 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/ja/System.Windows.Controls.Ribbon.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/ja/System.Windows.Input.Manipulations.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/ja/System.Windows.Input.Manipulations.resources.dll new file mode 100644 index 0000000..cd4be3b Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/ja/System.Windows.Input.Manipulations.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/ja/System.Xaml.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/ja/System.Xaml.resources.dll new file mode 100644 index 0000000..c098282 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/ja/System.Xaml.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/ja/UIAutomationClient.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/ja/UIAutomationClient.resources.dll new file mode 100644 index 0000000..2af31f4 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/ja/UIAutomationClient.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/ja/UIAutomationClientSideProviders.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/ja/UIAutomationClientSideProviders.resources.dll new file mode 100644 index 0000000..713dbd4 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/ja/UIAutomationClientSideProviders.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/ja/UIAutomationProvider.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/ja/UIAutomationProvider.resources.dll new file mode 100644 index 0000000..5961e4a Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/ja/UIAutomationProvider.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/ja/UIAutomationTypes.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/ja/UIAutomationTypes.resources.dll new file mode 100644 index 0000000..6c51a29 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/ja/UIAutomationTypes.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/ja/WindowsBase.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/ja/WindowsBase.resources.dll new file mode 100644 index 0000000..eacb2c6 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/ja/WindowsBase.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/ko/PresentationCore.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/ko/PresentationCore.resources.dll new file mode 100644 index 0000000..756a81b Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/ko/PresentationCore.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/ko/PresentationFramework.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/ko/PresentationFramework.resources.dll new file mode 100644 index 0000000..4b9d9d0 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/ko/PresentationFramework.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/ko/PresentationUI.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/ko/PresentationUI.resources.dll new file mode 100644 index 0000000..7132a06 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/ko/PresentationUI.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/ko/ReachFramework.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/ko/ReachFramework.resources.dll new file mode 100644 index 0000000..3d94145 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/ko/ReachFramework.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/ko/System.Windows.Controls.Ribbon.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/ko/System.Windows.Controls.Ribbon.resources.dll new file mode 100644 index 0000000..7515fe8 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/ko/System.Windows.Controls.Ribbon.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/ko/System.Windows.Input.Manipulations.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/ko/System.Windows.Input.Manipulations.resources.dll new file mode 100644 index 0000000..b109306 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/ko/System.Windows.Input.Manipulations.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/ko/System.Xaml.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/ko/System.Xaml.resources.dll new file mode 100644 index 0000000..47b4130 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/ko/System.Xaml.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/ko/UIAutomationClient.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/ko/UIAutomationClient.resources.dll new file mode 100644 index 0000000..6b6e6e6 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/ko/UIAutomationClient.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/ko/UIAutomationClientSideProviders.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/ko/UIAutomationClientSideProviders.resources.dll new file mode 100644 index 0000000..6a38686 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/ko/UIAutomationClientSideProviders.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/ko/UIAutomationProvider.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/ko/UIAutomationProvider.resources.dll new file mode 100644 index 0000000..037fdee Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/ko/UIAutomationProvider.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/ko/UIAutomationTypes.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/ko/UIAutomationTypes.resources.dll new file mode 100644 index 0000000..3ce5ce4 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/ko/UIAutomationTypes.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/ko/WindowsBase.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/ko/WindowsBase.resources.dll new file mode 100644 index 0000000..4ee382e Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/ko/WindowsBase.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/leak_test_project.deps.json b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/leak_test_project.deps.json new file mode 100644 index 0000000..492f626 --- /dev/null +++ b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/leak_test_project.deps.json @@ -0,0 +1,1046 @@ +{ + "runtimeTarget": { + "name": ".NETCoreApp,Version=v9.0/win-x64", + "signature": "" + }, + "compilationOptions": {}, + "targets": { + ".NETCoreApp,Version=v9.0": {}, + ".NETCoreApp,Version=v9.0/win-x64": { + "leak_test_project/1.0.0": { + "dependencies": { + "Microsoft.VisualStudio.Setup.Configuration.Interop": "3.14.2075", + "System.Data.SqlClient": "4.9.0", + "System.IO.Ports": "9.0.0", + "runtimepack.Microsoft.NETCore.App.Runtime.win-x64": "9.0.17", + "runtimepack.Microsoft.WindowsDesktop.App.Runtime.win-x64": "9.0.17" + }, + "runtime": { + "leak_test_project.dll": {} + } + }, + "runtimepack.Microsoft.NETCore.App.Runtime.win-x64/9.0.17": { + "runtime": { + "Microsoft.CSharp.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "Microsoft.VisualBasic.Core.dll": { + "assemblyVersion": "14.0.0.0", + "fileVersion": "14.0.1726.26416" + }, + "Microsoft.VisualBasic.dll": { + "assemblyVersion": "10.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "Microsoft.Win32.Primitives.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "Microsoft.Win32.Registry.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.AppContext.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.Buffers.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.Collections.Concurrent.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.Collections.Immutable.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.Collections.NonGeneric.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.Collections.Specialized.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.Collections.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.ComponentModel.Annotations.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.ComponentModel.DataAnnotations.dll": { + "assemblyVersion": "4.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.ComponentModel.EventBasedAsync.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.ComponentModel.Primitives.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.ComponentModel.TypeConverter.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.ComponentModel.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.Configuration.dll": { + "assemblyVersion": "4.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.Console.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.Core.dll": { + "assemblyVersion": "4.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.Data.Common.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.Data.DataSetExtensions.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.Data.dll": { + "assemblyVersion": "4.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.Diagnostics.Contracts.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.Diagnostics.Debug.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.Diagnostics.DiagnosticSource.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.Diagnostics.FileVersionInfo.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.Diagnostics.Process.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.Diagnostics.StackTrace.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.Diagnostics.TextWriterTraceListener.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.Diagnostics.Tools.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.Diagnostics.TraceSource.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.Diagnostics.Tracing.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.Drawing.Primitives.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.Drawing.dll": { + "assemblyVersion": "4.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.Dynamic.Runtime.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.Formats.Asn1.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.Formats.Tar.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.Globalization.Calendars.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.Globalization.Extensions.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.Globalization.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.IO.Compression.Brotli.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.IO.Compression.FileSystem.dll": { + "assemblyVersion": "4.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.IO.Compression.ZipFile.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.IO.Compression.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.IO.FileSystem.AccessControl.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.IO.FileSystem.DriveInfo.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.IO.FileSystem.Primitives.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.IO.FileSystem.Watcher.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.IO.FileSystem.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.IO.IsolatedStorage.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.IO.MemoryMappedFiles.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.IO.Pipelines.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.IO.Pipes.AccessControl.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.IO.Pipes.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.IO.UnmanagedMemoryStream.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.IO.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.Linq.Expressions.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.Linq.Parallel.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.Linq.Queryable.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.Linq.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.Memory.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.Net.Http.Json.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.Net.Http.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.Net.HttpListener.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.Net.Mail.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.Net.NameResolution.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.Net.NetworkInformation.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.Net.Ping.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.Net.Primitives.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.Net.Quic.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.Net.Requests.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.Net.Security.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.Net.ServicePoint.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.Net.Sockets.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.Net.WebClient.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.Net.WebHeaderCollection.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.Net.WebProxy.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.Net.WebSockets.Client.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.Net.WebSockets.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.Net.dll": { + "assemblyVersion": "4.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.Numerics.Vectors.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.Numerics.dll": { + "assemblyVersion": "4.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.ObjectModel.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.Private.CoreLib.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.Private.DataContractSerialization.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.Private.Uri.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.Private.Xml.Linq.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.Private.Xml.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.Reflection.DispatchProxy.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.Reflection.Emit.ILGeneration.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.Reflection.Emit.Lightweight.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.Reflection.Emit.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.Reflection.Extensions.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.Reflection.Metadata.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.Reflection.Primitives.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.Reflection.TypeExtensions.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.Reflection.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.Resources.Reader.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.Resources.ResourceManager.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.Resources.Writer.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.Runtime.CompilerServices.Unsafe.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.Runtime.CompilerServices.VisualC.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.Runtime.Extensions.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.Runtime.Handles.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.Runtime.InteropServices.JavaScript.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.Runtime.InteropServices.RuntimeInformation.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.Runtime.InteropServices.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.Runtime.Intrinsics.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.Runtime.Loader.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.Runtime.Numerics.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.Runtime.Serialization.Formatters.dll": { + "assemblyVersion": "8.1.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.Runtime.Serialization.Json.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.Runtime.Serialization.Primitives.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.Runtime.Serialization.Xml.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.Runtime.Serialization.dll": { + "assemblyVersion": "4.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.Runtime.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.Security.AccessControl.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.Security.Claims.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.Security.Cryptography.Algorithms.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.Security.Cryptography.Cng.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.Security.Cryptography.Csp.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.Security.Cryptography.Encoding.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.Security.Cryptography.OpenSsl.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.Security.Cryptography.Primitives.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.Security.Cryptography.X509Certificates.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.Security.Cryptography.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.Security.Principal.Windows.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.Security.Principal.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.Security.SecureString.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.Security.dll": { + "assemblyVersion": "4.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.ServiceModel.Web.dll": { + "assemblyVersion": "4.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.ServiceProcess.dll": { + "assemblyVersion": "4.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.Text.Encoding.CodePages.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.Text.Encoding.Extensions.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.Text.Encoding.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.Text.Encodings.Web.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.Text.Json.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.Text.RegularExpressions.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.Threading.Channels.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.Threading.Overlapped.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.Threading.Tasks.Dataflow.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.Threading.Tasks.Extensions.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.Threading.Tasks.Parallel.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.Threading.Tasks.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.Threading.Thread.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.Threading.ThreadPool.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.Threading.Timer.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.Threading.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.Transactions.Local.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.Transactions.dll": { + "assemblyVersion": "4.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.ValueTuple.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.Web.HttpUtility.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.Web.dll": { + "assemblyVersion": "4.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.Windows.dll": { + "assemblyVersion": "4.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.Xml.Linq.dll": { + "assemblyVersion": "4.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.Xml.ReaderWriter.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.Xml.Serialization.dll": { + "assemblyVersion": "4.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.Xml.XDocument.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.Xml.XPath.XDocument.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.Xml.XPath.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.Xml.XmlDocument.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.Xml.XmlSerializer.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.Xml.dll": { + "assemblyVersion": "4.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.dll": { + "assemblyVersion": "4.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "mscorlib.dll": { + "assemblyVersion": "4.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "netstandard.dll": { + "assemblyVersion": "2.1.0.0", + "fileVersion": "9.0.1726.26416" + } + }, + "native": { + "Microsoft.DiaSymReader.Native.amd64.dll": { + "fileVersion": "14.42.34436.0" + }, + "System.IO.Compression.Native.dll": { + "fileVersion": "9.0.1726.26416" + }, + "clretwrc.dll": { + "fileVersion": "9.0.1726.26416" + }, + "clrgc.dll": { + "fileVersion": "9.0.1726.26416" + }, + "clrgcexp.dll": { + "fileVersion": "9.0.1726.26416" + }, + "clrjit.dll": { + "fileVersion": "9.0.1726.26416" + }, + "coreclr.dll": { + "fileVersion": "9.0.1726.26416" + }, + "createdump.exe": { + "fileVersion": "9.0.1726.26416" + }, + "hostfxr.dll": { + "fileVersion": "9.0.1726.26416" + }, + "hostpolicy.dll": { + "fileVersion": "9.0.1726.26416" + }, + "mscordaccore.dll": { + "fileVersion": "9.0.1726.26416" + }, + "mscordaccore_amd64_amd64_9.0.1726.26416.dll": { + "fileVersion": "9.0.1726.26416" + }, + "mscordbi.dll": { + "fileVersion": "9.0.1726.26416" + }, + "mscorrc.dll": { + "fileVersion": "9.0.1726.26416" + }, + "msquic.dll": { + "fileVersion": "2.4.18.0" + } + } + }, + "runtimepack.Microsoft.WindowsDesktop.App.Runtime.win-x64/9.0.17": { + "runtime": { + "Accessibility.dll": { + "assemblyVersion": "4.0.0.0", + "fileVersion": "9.0.1726.26501" + }, + "DirectWriteForwarder.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26701" + }, + "Microsoft.Win32.Registry.AccessControl.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "Microsoft.Win32.SystemEvents.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "PresentationCore.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26701" + }, + "PresentationFramework-SystemCore.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26701" + }, + "PresentationFramework-SystemData.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26701" + }, + "PresentationFramework-SystemDrawing.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26701" + }, + "PresentationFramework-SystemXml.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26701" + }, + "PresentationFramework-SystemXmlLinq.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26701" + }, + "PresentationFramework.Aero.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26701" + }, + "PresentationFramework.Aero2.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26701" + }, + "PresentationFramework.AeroLite.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26701" + }, + "PresentationFramework.Classic.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26701" + }, + "PresentationFramework.Fluent.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26701" + }, + "PresentationFramework.Luna.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26701" + }, + "PresentationFramework.Royale.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26701" + }, + "PresentationFramework.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26701" + }, + "PresentationUI.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26701" + }, + "ReachFramework.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26701" + }, + "System.CodeDom.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.Configuration.ConfigurationManager.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.Diagnostics.EventLog.Messages.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "0.0.0.0" + }, + "System.Diagnostics.EventLog.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.Diagnostics.PerformanceCounter.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.DirectoryServices.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.Formats.Nrbf.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.IO.Packaging.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.Printing.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26701" + }, + "System.Resources.Extensions.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.Security.Cryptography.Pkcs.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.Security.Cryptography.ProtectedData.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.Security.Cryptography.Xml.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.Security.Permissions.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.Threading.AccessControl.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.Windows.Controls.Ribbon.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26701" + }, + "System.Windows.Extensions.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.Windows.Input.Manipulations.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26701" + }, + "System.Windows.Presentation.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26701" + }, + "System.Xaml.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26701" + }, + "UIAutomationClient.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26701" + }, + "UIAutomationClientSideProviders.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26701" + }, + "UIAutomationProvider.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26701" + }, + "UIAutomationTypes.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26701" + }, + "WindowsBase.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26701" + } + }, + "native": { + "D3DCompiler_47_cor3.dll": { + "fileVersion": "10.0.26100.7705" + }, + "PenImc_cor3.dll": { + "fileVersion": "9.0.1726.26701" + }, + "PresentationNative_cor3.dll": { + "fileVersion": "9.0.26.22701" + }, + "vcruntime140_cor3.dll": { + "fileVersion": "14.44.35211.0" + }, + "wpfgfx_cor3.dll": { + "fileVersion": "9.0.1726.26701" + } + } + }, + "Microsoft.VisualStudio.Setup.Configuration.Interop/3.14.2075": { + "runtime": { + "lib/netstandard2.1/Microsoft.VisualStudio.Setup.Configuration.Interop.dll": { + "assemblyVersion": "1.0.0.0", + "fileVersion": "3.14.2075.50697" + } + } + }, + "runtime.native.System.Data.SqlClient.sni/4.4.0": { + "dependencies": { + "runtime.win-x64.runtime.native.System.Data.SqlClient.sni": "4.4.0" + } + }, + "runtime.win-x64.runtime.native.System.Data.SqlClient.sni/4.4.0": { + "native": { + "runtimes/win-x64/native/sni.dll": { + "fileVersion": "4.6.25512.1" + } + } + }, + "System.Data.SqlClient/4.9.0": { + "dependencies": { + "runtime.native.System.Data.SqlClient.sni": "4.4.0" + }, + "runtime": { + "runtimes/win/lib/net8.0/System.Data.SqlClient.dll": { + "assemblyVersion": "4.6.1.6", + "fileVersion": "4.900.24.56208" + } + } + }, + "System.IO.Ports/9.0.0": { + "runtime": { + "runtimes/win/lib/net9.0/System.IO.Ports.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.24.52809" + } + } + } + } + }, + "libraries": { + "leak_test_project/1.0.0": { + "type": "project", + "serviceable": false, + "sha512": "" + }, + "runtimepack.Microsoft.NETCore.App.Runtime.win-x64/9.0.17": { + "type": "runtimepack", + "serviceable": false, + "sha512": "" + }, + "runtimepack.Microsoft.WindowsDesktop.App.Runtime.win-x64/9.0.17": { + "type": "runtimepack", + "serviceable": false, + "sha512": "" + }, + "Microsoft.VisualStudio.Setup.Configuration.Interop/3.14.2075": { + "type": "package", + "serviceable": true, + "sha512": "sha512-SH4pYl7XBUjL6sRAk+l2jsK7B9VbiKPEKkzJdmNxgexeHpAP7T+VlZk0w3NHgPG1UGQ3fxnhc427cM2o9GUYYA==", + "path": "microsoft.visualstudio.setup.configuration.interop/3.14.2075", + "hashPath": "microsoft.visualstudio.setup.configuration.interop.3.14.2075.nupkg.sha512" + }, + "runtime.native.System.Data.SqlClient.sni/4.4.0": { + "type": "package", + "serviceable": true, + "sha512": "sha512-A8v6PGmk+UGbfWo5Ixup0lPM4swuSwOiayJExZwKIOjTlFFQIsu3QnDXECosBEyrWSPryxBVrdqtJyhK3BaupQ==", + "path": "runtime.native.system.data.sqlclient.sni/4.4.0", + "hashPath": "runtime.native.system.data.sqlclient.sni.4.4.0.nupkg.sha512" + }, + "runtime.win-x64.runtime.native.System.Data.SqlClient.sni/4.4.0": { + "type": "package", + "serviceable": true, + "sha512": "sha512-38ugOfkYJqJoX9g6EYRlZB5U2ZJH51UP8ptxZgdpS07FgOEToV+lS11ouNK2PM12Pr6X/PpT5jK82G3DwH/SxQ==", + "path": "runtime.win-x64.runtime.native.system.data.sqlclient.sni/4.4.0", + "hashPath": "runtime.win-x64.runtime.native.system.data.sqlclient.sni.4.4.0.nupkg.sha512" + }, + "System.Data.SqlClient/4.9.0": { + "type": "package", + "serviceable": true, + "sha512": "sha512-j4KJO+vC62NyUtNHz854njEqXbT8OmAa5jb1nrGfYWBOcggyYUQE0w/snXeaCjdvkSKWuUD+hfvlbN8pTrJTXg==", + "path": "system.data.sqlclient/4.9.0", + "hashPath": "system.data.sqlclient.4.9.0.nupkg.sha512" + }, + "System.IO.Ports/9.0.0": { + "type": "package", + "serviceable": true, + "sha512": "sha512-NfEWew48r4MxHUnOQL7nw/5JBsz9dli8TJYpXjsAQu8tHH0QCq2ly4QMCc8wS9EAi1jvaFgq7ELdfwxvrKWALQ==", + "path": "system.io.ports/9.0.0", + "hashPath": "system.io.ports.9.0.0.nupkg.sha512" + } + }, + "runtimes": { + "win-x64": [ + "win", + "any", + "base" + ] + } +} \ No newline at end of file diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/leak_test_project.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/leak_test_project.dll new file mode 100644 index 0000000..7308f6e Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/leak_test_project.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/leak_test_project.dll.config b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/leak_test_project.dll.config new file mode 100644 index 0000000..56efbc7 --- /dev/null +++ b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/leak_test_project.dll.config @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/leak_test_project.exe b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/leak_test_project.exe new file mode 100644 index 0000000..8e32a29 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/leak_test_project.exe differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/leak_test_project.pdb b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/leak_test_project.pdb new file mode 100644 index 0000000..dc19ce1 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/leak_test_project.pdb differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/leak_test_project.runtimeconfig.json b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/leak_test_project.runtimeconfig.json new file mode 100644 index 0000000..7023d2c --- /dev/null +++ b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/leak_test_project.runtimeconfig.json @@ -0,0 +1,20 @@ +{ + "runtimeOptions": { + "tfm": "net9.0", + "includedFrameworks": [ + { + "name": "Microsoft.NETCore.App", + "version": "9.0.17" + }, + { + "name": "Microsoft.WindowsDesktop.App", + "version": "9.0.17" + } + ], + "configProperties": { + "System.Reflection.Metadata.MetadataUpdater.IsSupported": false, + "System.Runtime.Serialization.EnableUnsafeBinaryFormatterSerialization": false, + "CSWINRT_USE_WINDOWS_UI_XAML_PROJECTIONS": false + } + } +} \ No newline at end of file diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/mscordaccore.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/mscordaccore.dll new file mode 100644 index 0000000..d72de82 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/mscordaccore.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/mscordaccore_amd64_amd64_9.0.1726.26416.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/mscordaccore_amd64_amd64_9.0.1726.26416.dll new file mode 100644 index 0000000..d72de82 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/mscordaccore_amd64_amd64_9.0.1726.26416.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/mscordbi.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/mscordbi.dll new file mode 100644 index 0000000..b81f3df Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/mscordbi.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/mscorlib.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/mscorlib.dll new file mode 100644 index 0000000..11c5d43 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/mscorlib.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/mscorrc.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/mscorrc.dll new file mode 100644 index 0000000..99c0fea Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/mscorrc.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/msquic.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/msquic.dll new file mode 100644 index 0000000..9f0824a Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/msquic.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/netstandard.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/netstandard.dll new file mode 100644 index 0000000..5b4edfa Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/netstandard.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/pl/PresentationCore.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/pl/PresentationCore.resources.dll new file mode 100644 index 0000000..278c8a9 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/pl/PresentationCore.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/pl/PresentationFramework.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/pl/PresentationFramework.resources.dll new file mode 100644 index 0000000..752bfd4 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/pl/PresentationFramework.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/pl/PresentationUI.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/pl/PresentationUI.resources.dll new file mode 100644 index 0000000..c48c21a Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/pl/PresentationUI.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/pl/ReachFramework.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/pl/ReachFramework.resources.dll new file mode 100644 index 0000000..4ca1fe0 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/pl/ReachFramework.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/pl/System.Windows.Controls.Ribbon.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/pl/System.Windows.Controls.Ribbon.resources.dll new file mode 100644 index 0000000..fc943ac Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/pl/System.Windows.Controls.Ribbon.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/pl/System.Windows.Input.Manipulations.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/pl/System.Windows.Input.Manipulations.resources.dll new file mode 100644 index 0000000..04e7f3e Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/pl/System.Windows.Input.Manipulations.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/pl/System.Xaml.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/pl/System.Xaml.resources.dll new file mode 100644 index 0000000..a89e0b5 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/pl/System.Xaml.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/pl/UIAutomationClient.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/pl/UIAutomationClient.resources.dll new file mode 100644 index 0000000..a67a681 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/pl/UIAutomationClient.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/pl/UIAutomationClientSideProviders.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/pl/UIAutomationClientSideProviders.resources.dll new file mode 100644 index 0000000..59b1c2e Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/pl/UIAutomationClientSideProviders.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/pl/UIAutomationProvider.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/pl/UIAutomationProvider.resources.dll new file mode 100644 index 0000000..5e7ead6 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/pl/UIAutomationProvider.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/pl/UIAutomationTypes.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/pl/UIAutomationTypes.resources.dll new file mode 100644 index 0000000..8ddb58d Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/pl/UIAutomationTypes.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/pl/WindowsBase.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/pl/WindowsBase.resources.dll new file mode 100644 index 0000000..48fe110 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/pl/WindowsBase.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/pt-BR/PresentationCore.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/pt-BR/PresentationCore.resources.dll new file mode 100644 index 0000000..ca386b1 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/pt-BR/PresentationCore.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/pt-BR/PresentationFramework.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/pt-BR/PresentationFramework.resources.dll new file mode 100644 index 0000000..db914bc Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/pt-BR/PresentationFramework.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/pt-BR/PresentationUI.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/pt-BR/PresentationUI.resources.dll new file mode 100644 index 0000000..0265c79 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/pt-BR/PresentationUI.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/pt-BR/ReachFramework.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/pt-BR/ReachFramework.resources.dll new file mode 100644 index 0000000..20a458d Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/pt-BR/ReachFramework.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/pt-BR/System.Windows.Controls.Ribbon.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/pt-BR/System.Windows.Controls.Ribbon.resources.dll new file mode 100644 index 0000000..0066d47 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/pt-BR/System.Windows.Controls.Ribbon.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/pt-BR/System.Windows.Input.Manipulations.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/pt-BR/System.Windows.Input.Manipulations.resources.dll new file mode 100644 index 0000000..2fbebbc Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/pt-BR/System.Windows.Input.Manipulations.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/pt-BR/System.Xaml.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/pt-BR/System.Xaml.resources.dll new file mode 100644 index 0000000..6a09708 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/pt-BR/System.Xaml.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/pt-BR/UIAutomationClient.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/pt-BR/UIAutomationClient.resources.dll new file mode 100644 index 0000000..51ea654 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/pt-BR/UIAutomationClient.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/pt-BR/UIAutomationClientSideProviders.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/pt-BR/UIAutomationClientSideProviders.resources.dll new file mode 100644 index 0000000..f8187b3 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/pt-BR/UIAutomationClientSideProviders.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/pt-BR/UIAutomationProvider.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/pt-BR/UIAutomationProvider.resources.dll new file mode 100644 index 0000000..6d9f6e4 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/pt-BR/UIAutomationProvider.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/pt-BR/UIAutomationTypes.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/pt-BR/UIAutomationTypes.resources.dll new file mode 100644 index 0000000..3a9c956 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/pt-BR/UIAutomationTypes.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/pt-BR/WindowsBase.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/pt-BR/WindowsBase.resources.dll new file mode 100644 index 0000000..493af82 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/pt-BR/WindowsBase.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/ru/PresentationCore.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/ru/PresentationCore.resources.dll new file mode 100644 index 0000000..fc3eaff Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/ru/PresentationCore.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/ru/PresentationFramework.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/ru/PresentationFramework.resources.dll new file mode 100644 index 0000000..4d9ba5f Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/ru/PresentationFramework.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/ru/PresentationUI.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/ru/PresentationUI.resources.dll new file mode 100644 index 0000000..68a5cc0 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/ru/PresentationUI.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/ru/ReachFramework.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/ru/ReachFramework.resources.dll new file mode 100644 index 0000000..69d00b3 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/ru/ReachFramework.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/ru/System.Windows.Controls.Ribbon.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/ru/System.Windows.Controls.Ribbon.resources.dll new file mode 100644 index 0000000..11b151c Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/ru/System.Windows.Controls.Ribbon.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/ru/System.Windows.Input.Manipulations.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/ru/System.Windows.Input.Manipulations.resources.dll new file mode 100644 index 0000000..eabdcf9 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/ru/System.Windows.Input.Manipulations.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/ru/System.Xaml.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/ru/System.Xaml.resources.dll new file mode 100644 index 0000000..758de3b Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/ru/System.Xaml.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/ru/UIAutomationClient.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/ru/UIAutomationClient.resources.dll new file mode 100644 index 0000000..6db889b Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/ru/UIAutomationClient.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/ru/UIAutomationClientSideProviders.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/ru/UIAutomationClientSideProviders.resources.dll new file mode 100644 index 0000000..01a147e Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/ru/UIAutomationClientSideProviders.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/ru/UIAutomationProvider.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/ru/UIAutomationProvider.resources.dll new file mode 100644 index 0000000..549dee3 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/ru/UIAutomationProvider.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/ru/UIAutomationTypes.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/ru/UIAutomationTypes.resources.dll new file mode 100644 index 0000000..0a54e20 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/ru/UIAutomationTypes.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/ru/WindowsBase.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/ru/WindowsBase.resources.dll new file mode 100644 index 0000000..3dbd9b0 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/ru/WindowsBase.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/sni.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/sni.dll new file mode 100644 index 0000000..c1a05a5 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/sni.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/tr/PresentationCore.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/tr/PresentationCore.resources.dll new file mode 100644 index 0000000..cda1bf7 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/tr/PresentationCore.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/tr/PresentationFramework.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/tr/PresentationFramework.resources.dll new file mode 100644 index 0000000..f91c0d6 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/tr/PresentationFramework.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/tr/PresentationUI.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/tr/PresentationUI.resources.dll new file mode 100644 index 0000000..f534fe6 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/tr/PresentationUI.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/tr/ReachFramework.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/tr/ReachFramework.resources.dll new file mode 100644 index 0000000..fa40a34 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/tr/ReachFramework.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/tr/System.Windows.Controls.Ribbon.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/tr/System.Windows.Controls.Ribbon.resources.dll new file mode 100644 index 0000000..1ada715 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/tr/System.Windows.Controls.Ribbon.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/tr/System.Windows.Input.Manipulations.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/tr/System.Windows.Input.Manipulations.resources.dll new file mode 100644 index 0000000..330e9e8 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/tr/System.Windows.Input.Manipulations.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/tr/System.Xaml.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/tr/System.Xaml.resources.dll new file mode 100644 index 0000000..ef7105b Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/tr/System.Xaml.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/tr/UIAutomationClient.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/tr/UIAutomationClient.resources.dll new file mode 100644 index 0000000..908f75a Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/tr/UIAutomationClient.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/tr/UIAutomationClientSideProviders.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/tr/UIAutomationClientSideProviders.resources.dll new file mode 100644 index 0000000..ce1e867 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/tr/UIAutomationClientSideProviders.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/tr/UIAutomationProvider.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/tr/UIAutomationProvider.resources.dll new file mode 100644 index 0000000..40f9d11 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/tr/UIAutomationProvider.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/tr/UIAutomationTypes.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/tr/UIAutomationTypes.resources.dll new file mode 100644 index 0000000..756f86b Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/tr/UIAutomationTypes.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/tr/WindowsBase.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/tr/WindowsBase.resources.dll new file mode 100644 index 0000000..d7f7b2b Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/tr/WindowsBase.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/vcruntime140_cor3.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/vcruntime140_cor3.dll new file mode 100644 index 0000000..5786e93 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/vcruntime140_cor3.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/wpfgfx_cor3.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/wpfgfx_cor3.dll new file mode 100644 index 0000000..c5fde62 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/wpfgfx_cor3.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/zh-Hans/PresentationCore.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/zh-Hans/PresentationCore.resources.dll new file mode 100644 index 0000000..e9d4f7f Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/zh-Hans/PresentationCore.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/zh-Hans/PresentationFramework.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/zh-Hans/PresentationFramework.resources.dll new file mode 100644 index 0000000..57fd4cc Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/zh-Hans/PresentationFramework.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/zh-Hans/PresentationUI.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/zh-Hans/PresentationUI.resources.dll new file mode 100644 index 0000000..ce04291 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/zh-Hans/PresentationUI.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/zh-Hans/ReachFramework.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/zh-Hans/ReachFramework.resources.dll new file mode 100644 index 0000000..2024267 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/zh-Hans/ReachFramework.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/zh-Hans/System.Windows.Controls.Ribbon.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/zh-Hans/System.Windows.Controls.Ribbon.resources.dll new file mode 100644 index 0000000..b54777f Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/zh-Hans/System.Windows.Controls.Ribbon.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/zh-Hans/System.Windows.Input.Manipulations.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/zh-Hans/System.Windows.Input.Manipulations.resources.dll new file mode 100644 index 0000000..1c83b76 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/zh-Hans/System.Windows.Input.Manipulations.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/zh-Hans/System.Xaml.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/zh-Hans/System.Xaml.resources.dll new file mode 100644 index 0000000..3c6a3c5 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/zh-Hans/System.Xaml.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/zh-Hans/UIAutomationClient.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/zh-Hans/UIAutomationClient.resources.dll new file mode 100644 index 0000000..312d1f4 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/zh-Hans/UIAutomationClient.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/zh-Hans/UIAutomationClientSideProviders.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/zh-Hans/UIAutomationClientSideProviders.resources.dll new file mode 100644 index 0000000..e786f22 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/zh-Hans/UIAutomationClientSideProviders.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/zh-Hans/UIAutomationProvider.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/zh-Hans/UIAutomationProvider.resources.dll new file mode 100644 index 0000000..0e3c3f4 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/zh-Hans/UIAutomationProvider.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/zh-Hans/UIAutomationTypes.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/zh-Hans/UIAutomationTypes.resources.dll new file mode 100644 index 0000000..bc2e4e4 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/zh-Hans/UIAutomationTypes.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/zh-Hans/WindowsBase.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/zh-Hans/WindowsBase.resources.dll new file mode 100644 index 0000000..8f22809 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/zh-Hans/WindowsBase.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/zh-Hant/PresentationCore.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/zh-Hant/PresentationCore.resources.dll new file mode 100644 index 0000000..2e0b220 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/zh-Hant/PresentationCore.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/zh-Hant/PresentationFramework.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/zh-Hant/PresentationFramework.resources.dll new file mode 100644 index 0000000..592a9e5 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/zh-Hant/PresentationFramework.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/zh-Hant/PresentationUI.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/zh-Hant/PresentationUI.resources.dll new file mode 100644 index 0000000..a873b27 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/zh-Hant/PresentationUI.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/zh-Hant/ReachFramework.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/zh-Hant/ReachFramework.resources.dll new file mode 100644 index 0000000..ded7344 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/zh-Hant/ReachFramework.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/zh-Hant/System.Windows.Controls.Ribbon.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/zh-Hant/System.Windows.Controls.Ribbon.resources.dll new file mode 100644 index 0000000..9bea0c9 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/zh-Hant/System.Windows.Controls.Ribbon.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/zh-Hant/System.Windows.Input.Manipulations.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/zh-Hant/System.Windows.Input.Manipulations.resources.dll new file mode 100644 index 0000000..1360985 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/zh-Hant/System.Windows.Input.Manipulations.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/zh-Hant/System.Xaml.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/zh-Hant/System.Xaml.resources.dll new file mode 100644 index 0000000..b4f315f Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/zh-Hant/System.Xaml.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/zh-Hant/UIAutomationClient.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/zh-Hant/UIAutomationClient.resources.dll new file mode 100644 index 0000000..9dfe48d Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/zh-Hant/UIAutomationClient.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/zh-Hant/UIAutomationClientSideProviders.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/zh-Hant/UIAutomationClientSideProviders.resources.dll new file mode 100644 index 0000000..edf5a14 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/zh-Hant/UIAutomationClientSideProviders.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/zh-Hant/UIAutomationProvider.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/zh-Hant/UIAutomationProvider.resources.dll new file mode 100644 index 0000000..9a95e15 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/zh-Hant/UIAutomationProvider.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/zh-Hant/UIAutomationTypes.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/zh-Hant/UIAutomationTypes.resources.dll new file mode 100644 index 0000000..fc93fcd Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/zh-Hant/UIAutomationTypes.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/zh-Hant/WindowsBase.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/zh-Hant/WindowsBase.resources.dll new file mode 100644 index 0000000..603bb8a Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/publish/zh-Hant/WindowsBase.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/ru/PresentationCore.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/ru/PresentationCore.resources.dll new file mode 100644 index 0000000..fc3eaff Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/ru/PresentationCore.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/ru/PresentationFramework.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/ru/PresentationFramework.resources.dll new file mode 100644 index 0000000..4d9ba5f Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/ru/PresentationFramework.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/ru/PresentationUI.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/ru/PresentationUI.resources.dll new file mode 100644 index 0000000..68a5cc0 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/ru/PresentationUI.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/ru/ReachFramework.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/ru/ReachFramework.resources.dll new file mode 100644 index 0000000..69d00b3 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/ru/ReachFramework.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/ru/System.Windows.Controls.Ribbon.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/ru/System.Windows.Controls.Ribbon.resources.dll new file mode 100644 index 0000000..11b151c Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/ru/System.Windows.Controls.Ribbon.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/ru/System.Windows.Input.Manipulations.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/ru/System.Windows.Input.Manipulations.resources.dll new file mode 100644 index 0000000..eabdcf9 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/ru/System.Windows.Input.Manipulations.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/ru/System.Xaml.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/ru/System.Xaml.resources.dll new file mode 100644 index 0000000..758de3b Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/ru/System.Xaml.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/ru/UIAutomationClient.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/ru/UIAutomationClient.resources.dll new file mode 100644 index 0000000..6db889b Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/ru/UIAutomationClient.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/ru/UIAutomationClientSideProviders.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/ru/UIAutomationClientSideProviders.resources.dll new file mode 100644 index 0000000..01a147e Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/ru/UIAutomationClientSideProviders.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/ru/UIAutomationProvider.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/ru/UIAutomationProvider.resources.dll new file mode 100644 index 0000000..549dee3 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/ru/UIAutomationProvider.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/ru/UIAutomationTypes.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/ru/UIAutomationTypes.resources.dll new file mode 100644 index 0000000..0a54e20 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/ru/UIAutomationTypes.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/ru/WindowsBase.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/ru/WindowsBase.resources.dll new file mode 100644 index 0000000..3dbd9b0 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/ru/WindowsBase.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/sni.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/sni.dll new file mode 100644 index 0000000..c1a05a5 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/sni.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/tr/PresentationCore.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/tr/PresentationCore.resources.dll new file mode 100644 index 0000000..cda1bf7 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/tr/PresentationCore.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/tr/PresentationFramework.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/tr/PresentationFramework.resources.dll new file mode 100644 index 0000000..f91c0d6 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/tr/PresentationFramework.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/tr/PresentationUI.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/tr/PresentationUI.resources.dll new file mode 100644 index 0000000..f534fe6 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/tr/PresentationUI.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/tr/ReachFramework.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/tr/ReachFramework.resources.dll new file mode 100644 index 0000000..fa40a34 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/tr/ReachFramework.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/tr/System.Windows.Controls.Ribbon.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/tr/System.Windows.Controls.Ribbon.resources.dll new file mode 100644 index 0000000..1ada715 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/tr/System.Windows.Controls.Ribbon.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/tr/System.Windows.Input.Manipulations.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/tr/System.Windows.Input.Manipulations.resources.dll new file mode 100644 index 0000000..330e9e8 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/tr/System.Windows.Input.Manipulations.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/tr/System.Xaml.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/tr/System.Xaml.resources.dll new file mode 100644 index 0000000..ef7105b Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/tr/System.Xaml.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/tr/UIAutomationClient.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/tr/UIAutomationClient.resources.dll new file mode 100644 index 0000000..908f75a Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/tr/UIAutomationClient.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/tr/UIAutomationClientSideProviders.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/tr/UIAutomationClientSideProviders.resources.dll new file mode 100644 index 0000000..ce1e867 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/tr/UIAutomationClientSideProviders.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/tr/UIAutomationProvider.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/tr/UIAutomationProvider.resources.dll new file mode 100644 index 0000000..40f9d11 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/tr/UIAutomationProvider.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/tr/UIAutomationTypes.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/tr/UIAutomationTypes.resources.dll new file mode 100644 index 0000000..756f86b Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/tr/UIAutomationTypes.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/tr/WindowsBase.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/tr/WindowsBase.resources.dll new file mode 100644 index 0000000..d7f7b2b Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/tr/WindowsBase.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/vcruntime140_cor3.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/vcruntime140_cor3.dll new file mode 100644 index 0000000..5786e93 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/vcruntime140_cor3.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/wpfgfx_cor3.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/wpfgfx_cor3.dll new file mode 100644 index 0000000..c5fde62 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/wpfgfx_cor3.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/zh-Hans/PresentationCore.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/zh-Hans/PresentationCore.resources.dll new file mode 100644 index 0000000..e9d4f7f Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/zh-Hans/PresentationCore.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/zh-Hans/PresentationFramework.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/zh-Hans/PresentationFramework.resources.dll new file mode 100644 index 0000000..57fd4cc Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/zh-Hans/PresentationFramework.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/zh-Hans/PresentationUI.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/zh-Hans/PresentationUI.resources.dll new file mode 100644 index 0000000..ce04291 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/zh-Hans/PresentationUI.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/zh-Hans/ReachFramework.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/zh-Hans/ReachFramework.resources.dll new file mode 100644 index 0000000..2024267 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/zh-Hans/ReachFramework.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/zh-Hans/System.Windows.Controls.Ribbon.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/zh-Hans/System.Windows.Controls.Ribbon.resources.dll new file mode 100644 index 0000000..b54777f Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/zh-Hans/System.Windows.Controls.Ribbon.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/zh-Hans/System.Windows.Input.Manipulations.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/zh-Hans/System.Windows.Input.Manipulations.resources.dll new file mode 100644 index 0000000..1c83b76 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/zh-Hans/System.Windows.Input.Manipulations.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/zh-Hans/System.Xaml.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/zh-Hans/System.Xaml.resources.dll new file mode 100644 index 0000000..3c6a3c5 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/zh-Hans/System.Xaml.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/zh-Hans/UIAutomationClient.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/zh-Hans/UIAutomationClient.resources.dll new file mode 100644 index 0000000..312d1f4 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/zh-Hans/UIAutomationClient.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/zh-Hans/UIAutomationClientSideProviders.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/zh-Hans/UIAutomationClientSideProviders.resources.dll new file mode 100644 index 0000000..e786f22 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/zh-Hans/UIAutomationClientSideProviders.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/zh-Hans/UIAutomationProvider.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/zh-Hans/UIAutomationProvider.resources.dll new file mode 100644 index 0000000..0e3c3f4 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/zh-Hans/UIAutomationProvider.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/zh-Hans/UIAutomationTypes.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/zh-Hans/UIAutomationTypes.resources.dll new file mode 100644 index 0000000..bc2e4e4 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/zh-Hans/UIAutomationTypes.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/zh-Hans/WindowsBase.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/zh-Hans/WindowsBase.resources.dll new file mode 100644 index 0000000..8f22809 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/zh-Hans/WindowsBase.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/zh-Hant/PresentationCore.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/zh-Hant/PresentationCore.resources.dll new file mode 100644 index 0000000..2e0b220 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/zh-Hant/PresentationCore.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/zh-Hant/PresentationFramework.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/zh-Hant/PresentationFramework.resources.dll new file mode 100644 index 0000000..592a9e5 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/zh-Hant/PresentationFramework.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/zh-Hant/PresentationUI.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/zh-Hant/PresentationUI.resources.dll new file mode 100644 index 0000000..a873b27 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/zh-Hant/PresentationUI.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/zh-Hant/ReachFramework.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/zh-Hant/ReachFramework.resources.dll new file mode 100644 index 0000000..ded7344 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/zh-Hant/ReachFramework.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/zh-Hant/System.Windows.Controls.Ribbon.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/zh-Hant/System.Windows.Controls.Ribbon.resources.dll new file mode 100644 index 0000000..9bea0c9 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/zh-Hant/System.Windows.Controls.Ribbon.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/zh-Hant/System.Windows.Input.Manipulations.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/zh-Hant/System.Windows.Input.Manipulations.resources.dll new file mode 100644 index 0000000..1360985 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/zh-Hant/System.Windows.Input.Manipulations.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/zh-Hant/System.Xaml.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/zh-Hant/System.Xaml.resources.dll new file mode 100644 index 0000000..b4f315f Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/zh-Hant/System.Xaml.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/zh-Hant/UIAutomationClient.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/zh-Hant/UIAutomationClient.resources.dll new file mode 100644 index 0000000..9dfe48d Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/zh-Hant/UIAutomationClient.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/zh-Hant/UIAutomationClientSideProviders.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/zh-Hant/UIAutomationClientSideProviders.resources.dll new file mode 100644 index 0000000..edf5a14 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/zh-Hant/UIAutomationClientSideProviders.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/zh-Hant/UIAutomationProvider.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/zh-Hant/UIAutomationProvider.resources.dll new file mode 100644 index 0000000..9a95e15 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/zh-Hant/UIAutomationProvider.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/zh-Hant/UIAutomationTypes.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/zh-Hant/UIAutomationTypes.resources.dll new file mode 100644 index 0000000..fc93fcd Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/zh-Hant/UIAutomationTypes.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x64/zh-Hant/WindowsBase.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x64/zh-Hant/WindowsBase.resources.dll new file mode 100644 index 0000000..603bb8a Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x64/zh-Hant/WindowsBase.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/Accessibility.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/Accessibility.dll new file mode 100644 index 0000000..490edee Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/Accessibility.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/D3DCompiler_47_cor3.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/D3DCompiler_47_cor3.dll new file mode 100644 index 0000000..be37b1c Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/D3DCompiler_47_cor3.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/Database.ini b/leak_test_project/bin/Release/net9.0-windows/win-x86/Database.ini new file mode 100644 index 0000000..3491e9c --- /dev/null +++ b/leak_test_project/bin/Release/net9.0-windows/win-x86/Database.ini @@ -0,0 +1,24 @@ +; ===================================================================== +; Mobi Leak Test System - 데이터베이스 및 로그인 설정 파일 (Database.ini) +; ===================================================================== + +; [데이터베이스 접속 상세 설정] +; Db_Server : 중앙 MSSQL 데이터베이스 서버의 IP 주소 또는 호스트명 +; Db_Name : 검사 데이터를 저장할 대상 데이터베이스 이름 +; Db_User : 데이터베이스 접속 계정 ID (예: sa) +; Db_Password: 데이터베이스 접속 계정의 비밀번호 +Db_Server=192.168.0.20 +Db_Name=NE1aW_PT_SENSOR +Db_User=sa +Db_Password=sa1234 + + +[Login] +; Procedure: 로그인 검증에 사용할 DB 저장 프로시저명입니다. (공란일 경우 기본 테이블 조회 쿼리 작동) +Procedure=dbo.CheckOperator + +; ProcessName: 로그인 검증 시 전달할 공정 이름입니다. +ProcessName=EOL + +; OfflinePreview: 오프라인 모드 활성화 여부 (true = DB 연결 없이 로그인 통과, false = 실제 DB 인증) +OfflinePreview=false diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/DirectWriteForwarder.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/DirectWriteForwarder.dll new file mode 100644 index 0000000..bf60649 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/DirectWriteForwarder.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/Microsoft.CSharp.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/Microsoft.CSharp.dll new file mode 100644 index 0000000..bf4e0ac Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/Microsoft.CSharp.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/Microsoft.DiaSymReader.Native.x86.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/Microsoft.DiaSymReader.Native.x86.dll new file mode 100644 index 0000000..72aecec Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/Microsoft.DiaSymReader.Native.x86.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/Microsoft.VisualBasic.Core.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/Microsoft.VisualBasic.Core.dll new file mode 100644 index 0000000..c5ad8e3 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/Microsoft.VisualBasic.Core.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/Microsoft.VisualBasic.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/Microsoft.VisualBasic.dll new file mode 100644 index 0000000..d2286b6 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/Microsoft.VisualBasic.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/Microsoft.VisualStudio.Setup.Configuration.Interop.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/Microsoft.VisualStudio.Setup.Configuration.Interop.dll new file mode 100644 index 0000000..55fc91d Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/Microsoft.VisualStudio.Setup.Configuration.Interop.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/Microsoft.Win32.Primitives.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/Microsoft.Win32.Primitives.dll new file mode 100644 index 0000000..f5d557f Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/Microsoft.Win32.Primitives.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/Microsoft.Win32.Registry.AccessControl.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/Microsoft.Win32.Registry.AccessControl.dll new file mode 100644 index 0000000..c898f65 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/Microsoft.Win32.Registry.AccessControl.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/Microsoft.Win32.Registry.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/Microsoft.Win32.Registry.dll new file mode 100644 index 0000000..5d694a1 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/Microsoft.Win32.Registry.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/Microsoft.Win32.SystemEvents.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/Microsoft.Win32.SystemEvents.dll new file mode 100644 index 0000000..9d08f27 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/Microsoft.Win32.SystemEvents.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/PCI-Dask.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/PCI-Dask.dll new file mode 100644 index 0000000..b22577f Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/PCI-Dask.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/PenImc_cor3.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/PenImc_cor3.dll new file mode 100644 index 0000000..31489c2 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/PenImc_cor3.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/PresentationCore.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/PresentationCore.dll new file mode 100644 index 0000000..566edd9 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/PresentationCore.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/PresentationFramework-SystemCore.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/PresentationFramework-SystemCore.dll new file mode 100644 index 0000000..a1e7421 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/PresentationFramework-SystemCore.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/PresentationFramework-SystemData.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/PresentationFramework-SystemData.dll new file mode 100644 index 0000000..cfd2b36 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/PresentationFramework-SystemData.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/PresentationFramework-SystemDrawing.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/PresentationFramework-SystemDrawing.dll new file mode 100644 index 0000000..a2bf7c8 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/PresentationFramework-SystemDrawing.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/PresentationFramework-SystemXml.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/PresentationFramework-SystemXml.dll new file mode 100644 index 0000000..b130457 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/PresentationFramework-SystemXml.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/PresentationFramework-SystemXmlLinq.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/PresentationFramework-SystemXmlLinq.dll new file mode 100644 index 0000000..8c68c1a Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/PresentationFramework-SystemXmlLinq.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/PresentationFramework.Aero.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/PresentationFramework.Aero.dll new file mode 100644 index 0000000..317ae6e Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/PresentationFramework.Aero.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/PresentationFramework.Aero2.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/PresentationFramework.Aero2.dll new file mode 100644 index 0000000..fade4b8 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/PresentationFramework.Aero2.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/PresentationFramework.AeroLite.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/PresentationFramework.AeroLite.dll new file mode 100644 index 0000000..3c6cb3b Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/PresentationFramework.AeroLite.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/PresentationFramework.Classic.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/PresentationFramework.Classic.dll new file mode 100644 index 0000000..90614c8 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/PresentationFramework.Classic.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/PresentationFramework.Fluent.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/PresentationFramework.Fluent.dll new file mode 100644 index 0000000..e9211bb Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/PresentationFramework.Fluent.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/PresentationFramework.Luna.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/PresentationFramework.Luna.dll new file mode 100644 index 0000000..4275e2a Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/PresentationFramework.Luna.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/PresentationFramework.Royale.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/PresentationFramework.Royale.dll new file mode 100644 index 0000000..4324ac2 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/PresentationFramework.Royale.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/PresentationFramework.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/PresentationFramework.dll new file mode 100644 index 0000000..ac8b0f4 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/PresentationFramework.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/PresentationNative_cor3.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/PresentationNative_cor3.dll new file mode 100644 index 0000000..37a5ec0 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/PresentationNative_cor3.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/PresentationUI.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/PresentationUI.dll new file mode 100644 index 0000000..cc892d4 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/PresentationUI.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/ReachFramework.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/ReachFramework.dll new file mode 100644 index 0000000..f6a9a67 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/ReachFramework.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/System.AppContext.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/System.AppContext.dll new file mode 100644 index 0000000..2619837 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/System.AppContext.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/System.Buffers.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/System.Buffers.dll new file mode 100644 index 0000000..b5576f8 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/System.Buffers.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/System.CodeDom.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/System.CodeDom.dll new file mode 100644 index 0000000..16b1acb Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/System.CodeDom.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/System.Collections.Concurrent.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/System.Collections.Concurrent.dll new file mode 100644 index 0000000..daa0057 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/System.Collections.Concurrent.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/System.Collections.Immutable.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/System.Collections.Immutable.dll new file mode 100644 index 0000000..404ced3 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/System.Collections.Immutable.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/System.Collections.NonGeneric.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/System.Collections.NonGeneric.dll new file mode 100644 index 0000000..1ccbacb Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/System.Collections.NonGeneric.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/System.Collections.Specialized.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/System.Collections.Specialized.dll new file mode 100644 index 0000000..1032719 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/System.Collections.Specialized.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/System.Collections.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/System.Collections.dll new file mode 100644 index 0000000..b0f69de Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/System.Collections.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/System.ComponentModel.Annotations.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/System.ComponentModel.Annotations.dll new file mode 100644 index 0000000..3f79409 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/System.ComponentModel.Annotations.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/System.ComponentModel.DataAnnotations.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/System.ComponentModel.DataAnnotations.dll new file mode 100644 index 0000000..399ceeb Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/System.ComponentModel.DataAnnotations.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/System.ComponentModel.EventBasedAsync.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/System.ComponentModel.EventBasedAsync.dll new file mode 100644 index 0000000..2fe063d Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/System.ComponentModel.EventBasedAsync.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/System.ComponentModel.Primitives.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/System.ComponentModel.Primitives.dll new file mode 100644 index 0000000..4d0d52a Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/System.ComponentModel.Primitives.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/System.ComponentModel.TypeConverter.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/System.ComponentModel.TypeConverter.dll new file mode 100644 index 0000000..a6e5d4c Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/System.ComponentModel.TypeConverter.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/System.ComponentModel.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/System.ComponentModel.dll new file mode 100644 index 0000000..1b9bffc Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/System.ComponentModel.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/System.Configuration.ConfigurationManager.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/System.Configuration.ConfigurationManager.dll new file mode 100644 index 0000000..88f1a97 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/System.Configuration.ConfigurationManager.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/System.Configuration.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/System.Configuration.dll new file mode 100644 index 0000000..956d719 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/System.Configuration.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/System.Console.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/System.Console.dll new file mode 100644 index 0000000..824b1ce Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/System.Console.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/System.Core.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/System.Core.dll new file mode 100644 index 0000000..9be45f3 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/System.Core.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/System.Data.Common.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/System.Data.Common.dll new file mode 100644 index 0000000..b17fcd3 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/System.Data.Common.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/System.Data.DataSetExtensions.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/System.Data.DataSetExtensions.dll new file mode 100644 index 0000000..74abe99 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/System.Data.DataSetExtensions.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/System.Data.SqlClient.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/System.Data.SqlClient.dll new file mode 100644 index 0000000..413faaa Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/System.Data.SqlClient.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/System.Data.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/System.Data.dll new file mode 100644 index 0000000..198c16c Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/System.Data.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/System.Diagnostics.Contracts.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/System.Diagnostics.Contracts.dll new file mode 100644 index 0000000..a0c058b Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/System.Diagnostics.Contracts.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/System.Diagnostics.Debug.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/System.Diagnostics.Debug.dll new file mode 100644 index 0000000..a258a24 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/System.Diagnostics.Debug.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/System.Diagnostics.DiagnosticSource.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/System.Diagnostics.DiagnosticSource.dll new file mode 100644 index 0000000..077f3d7 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/System.Diagnostics.DiagnosticSource.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/System.Diagnostics.EventLog.Messages.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/System.Diagnostics.EventLog.Messages.dll new file mode 100644 index 0000000..de7c7af Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/System.Diagnostics.EventLog.Messages.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/System.Diagnostics.EventLog.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/System.Diagnostics.EventLog.dll new file mode 100644 index 0000000..8ce147c Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/System.Diagnostics.EventLog.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/System.Diagnostics.FileVersionInfo.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/System.Diagnostics.FileVersionInfo.dll new file mode 100644 index 0000000..3ea3344 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/System.Diagnostics.FileVersionInfo.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/System.Diagnostics.PerformanceCounter.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/System.Diagnostics.PerformanceCounter.dll new file mode 100644 index 0000000..c5adc3e Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/System.Diagnostics.PerformanceCounter.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/System.Diagnostics.Process.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/System.Diagnostics.Process.dll new file mode 100644 index 0000000..17a2130 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/System.Diagnostics.Process.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/System.Diagnostics.StackTrace.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/System.Diagnostics.StackTrace.dll new file mode 100644 index 0000000..4a161f6 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/System.Diagnostics.StackTrace.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/System.Diagnostics.TextWriterTraceListener.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/System.Diagnostics.TextWriterTraceListener.dll new file mode 100644 index 0000000..0ae48d9 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/System.Diagnostics.TextWriterTraceListener.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/System.Diagnostics.Tools.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/System.Diagnostics.Tools.dll new file mode 100644 index 0000000..bbfc53b Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/System.Diagnostics.Tools.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/System.Diagnostics.TraceSource.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/System.Diagnostics.TraceSource.dll new file mode 100644 index 0000000..0d2ca21 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/System.Diagnostics.TraceSource.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/System.Diagnostics.Tracing.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/System.Diagnostics.Tracing.dll new file mode 100644 index 0000000..3a75eb3 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/System.Diagnostics.Tracing.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/System.DirectoryServices.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/System.DirectoryServices.dll new file mode 100644 index 0000000..acfdd01 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/System.DirectoryServices.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/System.Drawing.Primitives.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/System.Drawing.Primitives.dll new file mode 100644 index 0000000..736ce7c Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/System.Drawing.Primitives.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/System.Drawing.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/System.Drawing.dll new file mode 100644 index 0000000..508ca84 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/System.Drawing.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/System.Dynamic.Runtime.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/System.Dynamic.Runtime.dll new file mode 100644 index 0000000..40258a8 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/System.Dynamic.Runtime.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/System.Formats.Asn1.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/System.Formats.Asn1.dll new file mode 100644 index 0000000..1a2956d Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/System.Formats.Asn1.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/System.Formats.Nrbf.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/System.Formats.Nrbf.dll new file mode 100644 index 0000000..5b545f7 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/System.Formats.Nrbf.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/System.Formats.Tar.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/System.Formats.Tar.dll new file mode 100644 index 0000000..5f28167 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/System.Formats.Tar.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/System.Globalization.Calendars.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/System.Globalization.Calendars.dll new file mode 100644 index 0000000..53c8291 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/System.Globalization.Calendars.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/System.Globalization.Extensions.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/System.Globalization.Extensions.dll new file mode 100644 index 0000000..100c55e Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/System.Globalization.Extensions.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/System.Globalization.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/System.Globalization.dll new file mode 100644 index 0000000..d4c7893 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/System.Globalization.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/System.IO.Compression.Brotli.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/System.IO.Compression.Brotli.dll new file mode 100644 index 0000000..2e6c071 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/System.IO.Compression.Brotli.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/System.IO.Compression.FileSystem.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/System.IO.Compression.FileSystem.dll new file mode 100644 index 0000000..6e884ca Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/System.IO.Compression.FileSystem.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/System.IO.Compression.Native.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/System.IO.Compression.Native.dll new file mode 100644 index 0000000..d0bf354 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/System.IO.Compression.Native.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/System.IO.Compression.ZipFile.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/System.IO.Compression.ZipFile.dll new file mode 100644 index 0000000..12c4e97 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/System.IO.Compression.ZipFile.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/System.IO.Compression.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/System.IO.Compression.dll new file mode 100644 index 0000000..cb6d615 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/System.IO.Compression.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/System.IO.FileSystem.AccessControl.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/System.IO.FileSystem.AccessControl.dll new file mode 100644 index 0000000..21c7045 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/System.IO.FileSystem.AccessControl.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/System.IO.FileSystem.DriveInfo.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/System.IO.FileSystem.DriveInfo.dll new file mode 100644 index 0000000..86c70b2 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/System.IO.FileSystem.DriveInfo.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/System.IO.FileSystem.Primitives.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/System.IO.FileSystem.Primitives.dll new file mode 100644 index 0000000..9b60e61 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/System.IO.FileSystem.Primitives.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/System.IO.FileSystem.Watcher.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/System.IO.FileSystem.Watcher.dll new file mode 100644 index 0000000..8b8cc5f Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/System.IO.FileSystem.Watcher.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/System.IO.FileSystem.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/System.IO.FileSystem.dll new file mode 100644 index 0000000..333ae1c Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/System.IO.FileSystem.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/System.IO.IsolatedStorage.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/System.IO.IsolatedStorage.dll new file mode 100644 index 0000000..18ed728 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/System.IO.IsolatedStorage.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/System.IO.MemoryMappedFiles.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/System.IO.MemoryMappedFiles.dll new file mode 100644 index 0000000..b7ee7d0 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/System.IO.MemoryMappedFiles.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/System.IO.Packaging.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/System.IO.Packaging.dll new file mode 100644 index 0000000..20b3a8c Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/System.IO.Packaging.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/System.IO.Pipelines.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/System.IO.Pipelines.dll new file mode 100644 index 0000000..ea61b84 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/System.IO.Pipelines.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/System.IO.Pipes.AccessControl.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/System.IO.Pipes.AccessControl.dll new file mode 100644 index 0000000..c5a03ec Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/System.IO.Pipes.AccessControl.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/System.IO.Pipes.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/System.IO.Pipes.dll new file mode 100644 index 0000000..a22ba97 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/System.IO.Pipes.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/System.IO.Ports.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/System.IO.Ports.dll new file mode 100644 index 0000000..7db46fd Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/System.IO.Ports.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/System.IO.UnmanagedMemoryStream.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/System.IO.UnmanagedMemoryStream.dll new file mode 100644 index 0000000..37c681a Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/System.IO.UnmanagedMemoryStream.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/System.IO.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/System.IO.dll new file mode 100644 index 0000000..55859fa Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/System.IO.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/System.Linq.Expressions.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/System.Linq.Expressions.dll new file mode 100644 index 0000000..99cd2a7 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/System.Linq.Expressions.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/System.Linq.Parallel.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/System.Linq.Parallel.dll new file mode 100644 index 0000000..d07444b Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/System.Linq.Parallel.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/System.Linq.Queryable.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/System.Linq.Queryable.dll new file mode 100644 index 0000000..75081cc Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/System.Linq.Queryable.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/System.Linq.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/System.Linq.dll new file mode 100644 index 0000000..f947bb0 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/System.Linq.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/System.Memory.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/System.Memory.dll new file mode 100644 index 0000000..364b76a Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/System.Memory.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/System.Net.Http.Json.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/System.Net.Http.Json.dll new file mode 100644 index 0000000..7960fb4 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/System.Net.Http.Json.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/System.Net.Http.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/System.Net.Http.dll new file mode 100644 index 0000000..98a8d95 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/System.Net.Http.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/System.Net.HttpListener.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/System.Net.HttpListener.dll new file mode 100644 index 0000000..92a47ee Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/System.Net.HttpListener.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/System.Net.Mail.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/System.Net.Mail.dll new file mode 100644 index 0000000..583974b Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/System.Net.Mail.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/System.Net.NameResolution.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/System.Net.NameResolution.dll new file mode 100644 index 0000000..82ba3f5 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/System.Net.NameResolution.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/System.Net.NetworkInformation.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/System.Net.NetworkInformation.dll new file mode 100644 index 0000000..776fe45 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/System.Net.NetworkInformation.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/System.Net.Ping.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/System.Net.Ping.dll new file mode 100644 index 0000000..bdf904d Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/System.Net.Ping.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/System.Net.Primitives.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/System.Net.Primitives.dll new file mode 100644 index 0000000..5c68b56 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/System.Net.Primitives.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/System.Net.Quic.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/System.Net.Quic.dll new file mode 100644 index 0000000..a6174de Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/System.Net.Quic.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/System.Net.Requests.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/System.Net.Requests.dll new file mode 100644 index 0000000..461aaa8 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/System.Net.Requests.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/System.Net.Security.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/System.Net.Security.dll new file mode 100644 index 0000000..34546c0 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/System.Net.Security.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/System.Net.ServicePoint.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/System.Net.ServicePoint.dll new file mode 100644 index 0000000..e0d7e9a Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/System.Net.ServicePoint.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/System.Net.Sockets.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/System.Net.Sockets.dll new file mode 100644 index 0000000..cea61a4 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/System.Net.Sockets.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/System.Net.WebClient.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/System.Net.WebClient.dll new file mode 100644 index 0000000..327cca2 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/System.Net.WebClient.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/System.Net.WebHeaderCollection.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/System.Net.WebHeaderCollection.dll new file mode 100644 index 0000000..024c36f Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/System.Net.WebHeaderCollection.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/System.Net.WebProxy.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/System.Net.WebProxy.dll new file mode 100644 index 0000000..0bc3573 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/System.Net.WebProxy.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/System.Net.WebSockets.Client.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/System.Net.WebSockets.Client.dll new file mode 100644 index 0000000..81724c6 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/System.Net.WebSockets.Client.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/System.Net.WebSockets.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/System.Net.WebSockets.dll new file mode 100644 index 0000000..1b311e2 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/System.Net.WebSockets.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/System.Net.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/System.Net.dll new file mode 100644 index 0000000..e2eb39d Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/System.Net.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/System.Numerics.Vectors.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/System.Numerics.Vectors.dll new file mode 100644 index 0000000..d5f9c9c Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/System.Numerics.Vectors.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/System.Numerics.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/System.Numerics.dll new file mode 100644 index 0000000..872c6e6 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/System.Numerics.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/System.ObjectModel.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/System.ObjectModel.dll new file mode 100644 index 0000000..9509445 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/System.ObjectModel.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/System.Printing.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/System.Printing.dll new file mode 100644 index 0000000..fb10b93 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/System.Printing.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/System.Private.CoreLib.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/System.Private.CoreLib.dll new file mode 100644 index 0000000..b6ed7ae Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/System.Private.CoreLib.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/System.Private.DataContractSerialization.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/System.Private.DataContractSerialization.dll new file mode 100644 index 0000000..6a2fbe8 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/System.Private.DataContractSerialization.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/System.Private.Uri.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/System.Private.Uri.dll new file mode 100644 index 0000000..a2c042d Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/System.Private.Uri.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/System.Private.Xml.Linq.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/System.Private.Xml.Linq.dll new file mode 100644 index 0000000..5f22a52 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/System.Private.Xml.Linq.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/System.Private.Xml.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/System.Private.Xml.dll new file mode 100644 index 0000000..4236578 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/System.Private.Xml.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/System.Reflection.DispatchProxy.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/System.Reflection.DispatchProxy.dll new file mode 100644 index 0000000..696c110 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/System.Reflection.DispatchProxy.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/System.Reflection.Emit.ILGeneration.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/System.Reflection.Emit.ILGeneration.dll new file mode 100644 index 0000000..e73b3de Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/System.Reflection.Emit.ILGeneration.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/System.Reflection.Emit.Lightweight.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/System.Reflection.Emit.Lightweight.dll new file mode 100644 index 0000000..a05d920 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/System.Reflection.Emit.Lightweight.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/System.Reflection.Emit.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/System.Reflection.Emit.dll new file mode 100644 index 0000000..fc5329f Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/System.Reflection.Emit.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/System.Reflection.Extensions.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/System.Reflection.Extensions.dll new file mode 100644 index 0000000..5c2a446 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/System.Reflection.Extensions.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/System.Reflection.Metadata.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/System.Reflection.Metadata.dll new file mode 100644 index 0000000..fb7418d Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/System.Reflection.Metadata.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/System.Reflection.Primitives.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/System.Reflection.Primitives.dll new file mode 100644 index 0000000..971bb47 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/System.Reflection.Primitives.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/System.Reflection.TypeExtensions.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/System.Reflection.TypeExtensions.dll new file mode 100644 index 0000000..74b8eeb Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/System.Reflection.TypeExtensions.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/System.Reflection.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/System.Reflection.dll new file mode 100644 index 0000000..815fc03 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/System.Reflection.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/System.Resources.Extensions.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/System.Resources.Extensions.dll new file mode 100644 index 0000000..fce0a7d Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/System.Resources.Extensions.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/System.Resources.Reader.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/System.Resources.Reader.dll new file mode 100644 index 0000000..7a5b724 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/System.Resources.Reader.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/System.Resources.ResourceManager.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/System.Resources.ResourceManager.dll new file mode 100644 index 0000000..9102b3b Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/System.Resources.ResourceManager.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/System.Resources.Writer.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/System.Resources.Writer.dll new file mode 100644 index 0000000..f314015 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/System.Resources.Writer.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/System.Runtime.CompilerServices.Unsafe.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/System.Runtime.CompilerServices.Unsafe.dll new file mode 100644 index 0000000..2f59c5e Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/System.Runtime.CompilerServices.Unsafe.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/System.Runtime.CompilerServices.VisualC.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/System.Runtime.CompilerServices.VisualC.dll new file mode 100644 index 0000000..d4ff9a2 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/System.Runtime.CompilerServices.VisualC.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/System.Runtime.Extensions.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/System.Runtime.Extensions.dll new file mode 100644 index 0000000..2e7f0a9 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/System.Runtime.Extensions.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/System.Runtime.Handles.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/System.Runtime.Handles.dll new file mode 100644 index 0000000..285c59d Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/System.Runtime.Handles.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/System.Runtime.InteropServices.JavaScript.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/System.Runtime.InteropServices.JavaScript.dll new file mode 100644 index 0000000..fda7436 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/System.Runtime.InteropServices.JavaScript.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/System.Runtime.InteropServices.RuntimeInformation.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/System.Runtime.InteropServices.RuntimeInformation.dll new file mode 100644 index 0000000..d7f6f2d Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/System.Runtime.InteropServices.RuntimeInformation.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/System.Runtime.InteropServices.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/System.Runtime.InteropServices.dll new file mode 100644 index 0000000..9b857d6 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/System.Runtime.InteropServices.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/System.Runtime.Intrinsics.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/System.Runtime.Intrinsics.dll new file mode 100644 index 0000000..2d8abe6 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/System.Runtime.Intrinsics.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/System.Runtime.Loader.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/System.Runtime.Loader.dll new file mode 100644 index 0000000..d1d6ac5 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/System.Runtime.Loader.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/System.Runtime.Numerics.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/System.Runtime.Numerics.dll new file mode 100644 index 0000000..e81b362 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/System.Runtime.Numerics.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/System.Runtime.Serialization.Formatters.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/System.Runtime.Serialization.Formatters.dll new file mode 100644 index 0000000..0c22137 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/System.Runtime.Serialization.Formatters.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/System.Runtime.Serialization.Json.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/System.Runtime.Serialization.Json.dll new file mode 100644 index 0000000..ee033d5 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/System.Runtime.Serialization.Json.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/System.Runtime.Serialization.Primitives.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/System.Runtime.Serialization.Primitives.dll new file mode 100644 index 0000000..eee70fa Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/System.Runtime.Serialization.Primitives.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/System.Runtime.Serialization.Xml.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/System.Runtime.Serialization.Xml.dll new file mode 100644 index 0000000..e389c12 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/System.Runtime.Serialization.Xml.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/System.Runtime.Serialization.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/System.Runtime.Serialization.dll new file mode 100644 index 0000000..bf16759 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/System.Runtime.Serialization.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/System.Runtime.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/System.Runtime.dll new file mode 100644 index 0000000..398def5 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/System.Runtime.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/System.Security.AccessControl.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/System.Security.AccessControl.dll new file mode 100644 index 0000000..bb2f5d1 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/System.Security.AccessControl.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/System.Security.Claims.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/System.Security.Claims.dll new file mode 100644 index 0000000..d66372a Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/System.Security.Claims.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/System.Security.Cryptography.Algorithms.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/System.Security.Cryptography.Algorithms.dll new file mode 100644 index 0000000..243d82e Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/System.Security.Cryptography.Algorithms.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/System.Security.Cryptography.Cng.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/System.Security.Cryptography.Cng.dll new file mode 100644 index 0000000..0c1408b Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/System.Security.Cryptography.Cng.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/System.Security.Cryptography.Csp.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/System.Security.Cryptography.Csp.dll new file mode 100644 index 0000000..65cfc8c Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/System.Security.Cryptography.Csp.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/System.Security.Cryptography.Encoding.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/System.Security.Cryptography.Encoding.dll new file mode 100644 index 0000000..dc82ed1 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/System.Security.Cryptography.Encoding.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/System.Security.Cryptography.OpenSsl.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/System.Security.Cryptography.OpenSsl.dll new file mode 100644 index 0000000..533b945 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/System.Security.Cryptography.OpenSsl.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/System.Security.Cryptography.Pkcs.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/System.Security.Cryptography.Pkcs.dll new file mode 100644 index 0000000..c354f36 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/System.Security.Cryptography.Pkcs.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/System.Security.Cryptography.Primitives.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/System.Security.Cryptography.Primitives.dll new file mode 100644 index 0000000..8a6216d Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/System.Security.Cryptography.Primitives.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/System.Security.Cryptography.ProtectedData.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/System.Security.Cryptography.ProtectedData.dll new file mode 100644 index 0000000..33d64b8 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/System.Security.Cryptography.ProtectedData.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/System.Security.Cryptography.X509Certificates.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/System.Security.Cryptography.X509Certificates.dll new file mode 100644 index 0000000..768ac3e Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/System.Security.Cryptography.X509Certificates.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/System.Security.Cryptography.Xml.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/System.Security.Cryptography.Xml.dll new file mode 100644 index 0000000..2a95379 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/System.Security.Cryptography.Xml.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/System.Security.Cryptography.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/System.Security.Cryptography.dll new file mode 100644 index 0000000..dc2e012 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/System.Security.Cryptography.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/System.Security.Permissions.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/System.Security.Permissions.dll new file mode 100644 index 0000000..210c9d7 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/System.Security.Permissions.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/System.Security.Principal.Windows.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/System.Security.Principal.Windows.dll new file mode 100644 index 0000000..db922f1 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/System.Security.Principal.Windows.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/System.Security.Principal.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/System.Security.Principal.dll new file mode 100644 index 0000000..4e95677 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/System.Security.Principal.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/System.Security.SecureString.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/System.Security.SecureString.dll new file mode 100644 index 0000000..60ed674 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/System.Security.SecureString.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/System.Security.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/System.Security.dll new file mode 100644 index 0000000..0b111ed Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/System.Security.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/System.ServiceModel.Web.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/System.ServiceModel.Web.dll new file mode 100644 index 0000000..363cd00 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/System.ServiceModel.Web.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/System.ServiceProcess.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/System.ServiceProcess.dll new file mode 100644 index 0000000..facbe7c Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/System.ServiceProcess.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/System.Text.Encoding.CodePages.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/System.Text.Encoding.CodePages.dll new file mode 100644 index 0000000..a4922fc Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/System.Text.Encoding.CodePages.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/System.Text.Encoding.Extensions.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/System.Text.Encoding.Extensions.dll new file mode 100644 index 0000000..30359a1 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/System.Text.Encoding.Extensions.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/System.Text.Encoding.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/System.Text.Encoding.dll new file mode 100644 index 0000000..38f6821 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/System.Text.Encoding.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/System.Text.Encodings.Web.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/System.Text.Encodings.Web.dll new file mode 100644 index 0000000..e78b638 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/System.Text.Encodings.Web.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/System.Text.Json.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/System.Text.Json.dll new file mode 100644 index 0000000..c7aad6b Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/System.Text.Json.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/System.Text.RegularExpressions.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/System.Text.RegularExpressions.dll new file mode 100644 index 0000000..6c9b4c9 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/System.Text.RegularExpressions.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/System.Threading.AccessControl.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/System.Threading.AccessControl.dll new file mode 100644 index 0000000..8325450 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/System.Threading.AccessControl.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/System.Threading.Channels.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/System.Threading.Channels.dll new file mode 100644 index 0000000..6fcd2bb Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/System.Threading.Channels.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/System.Threading.Overlapped.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/System.Threading.Overlapped.dll new file mode 100644 index 0000000..846a2dd Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/System.Threading.Overlapped.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/System.Threading.Tasks.Dataflow.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/System.Threading.Tasks.Dataflow.dll new file mode 100644 index 0000000..cab734f Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/System.Threading.Tasks.Dataflow.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/System.Threading.Tasks.Extensions.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/System.Threading.Tasks.Extensions.dll new file mode 100644 index 0000000..e453c5c Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/System.Threading.Tasks.Extensions.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/System.Threading.Tasks.Parallel.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/System.Threading.Tasks.Parallel.dll new file mode 100644 index 0000000..6b14c75 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/System.Threading.Tasks.Parallel.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/System.Threading.Tasks.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/System.Threading.Tasks.dll new file mode 100644 index 0000000..3a2b107 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/System.Threading.Tasks.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/System.Threading.Thread.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/System.Threading.Thread.dll new file mode 100644 index 0000000..8b0ed21 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/System.Threading.Thread.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/System.Threading.ThreadPool.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/System.Threading.ThreadPool.dll new file mode 100644 index 0000000..dea32eb Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/System.Threading.ThreadPool.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/System.Threading.Timer.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/System.Threading.Timer.dll new file mode 100644 index 0000000..825a808 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/System.Threading.Timer.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/System.Threading.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/System.Threading.dll new file mode 100644 index 0000000..370e3ab Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/System.Threading.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/System.Transactions.Local.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/System.Transactions.Local.dll new file mode 100644 index 0000000..f9b33ed Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/System.Transactions.Local.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/System.Transactions.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/System.Transactions.dll new file mode 100644 index 0000000..77e1e8a Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/System.Transactions.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/System.ValueTuple.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/System.ValueTuple.dll new file mode 100644 index 0000000..fd1db8b Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/System.ValueTuple.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/System.Web.HttpUtility.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/System.Web.HttpUtility.dll new file mode 100644 index 0000000..c793087 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/System.Web.HttpUtility.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/System.Web.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/System.Web.dll new file mode 100644 index 0000000..6232ed3 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/System.Web.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/System.Windows.Controls.Ribbon.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/System.Windows.Controls.Ribbon.dll new file mode 100644 index 0000000..fbeb02c Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/System.Windows.Controls.Ribbon.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/System.Windows.Extensions.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/System.Windows.Extensions.dll new file mode 100644 index 0000000..135c09d Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/System.Windows.Extensions.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/System.Windows.Input.Manipulations.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/System.Windows.Input.Manipulations.dll new file mode 100644 index 0000000..7b7d847 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/System.Windows.Input.Manipulations.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/System.Windows.Presentation.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/System.Windows.Presentation.dll new file mode 100644 index 0000000..e34bc55 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/System.Windows.Presentation.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/System.Windows.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/System.Windows.dll new file mode 100644 index 0000000..1edff58 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/System.Windows.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/System.Xaml.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/System.Xaml.dll new file mode 100644 index 0000000..4b7474d Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/System.Xaml.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/System.Xml.Linq.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/System.Xml.Linq.dll new file mode 100644 index 0000000..bde3175 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/System.Xml.Linq.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/System.Xml.ReaderWriter.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/System.Xml.ReaderWriter.dll new file mode 100644 index 0000000..9757625 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/System.Xml.ReaderWriter.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/System.Xml.Serialization.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/System.Xml.Serialization.dll new file mode 100644 index 0000000..e0fb15b Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/System.Xml.Serialization.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/System.Xml.XDocument.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/System.Xml.XDocument.dll new file mode 100644 index 0000000..2e0fee4 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/System.Xml.XDocument.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/System.Xml.XPath.XDocument.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/System.Xml.XPath.XDocument.dll new file mode 100644 index 0000000..fe3b04e Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/System.Xml.XPath.XDocument.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/System.Xml.XPath.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/System.Xml.XPath.dll new file mode 100644 index 0000000..eeb2614 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/System.Xml.XPath.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/System.Xml.XmlDocument.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/System.Xml.XmlDocument.dll new file mode 100644 index 0000000..9d0a2d7 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/System.Xml.XmlDocument.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/System.Xml.XmlSerializer.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/System.Xml.XmlSerializer.dll new file mode 100644 index 0000000..779fdef Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/System.Xml.XmlSerializer.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/System.Xml.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/System.Xml.dll new file mode 100644 index 0000000..5185c79 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/System.Xml.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/System.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/System.dll new file mode 100644 index 0000000..9215aaf Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/System.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/UIAutomationClient.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/UIAutomationClient.dll new file mode 100644 index 0000000..c8ead13 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/UIAutomationClient.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/UIAutomationClientSideProviders.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/UIAutomationClientSideProviders.dll new file mode 100644 index 0000000..146d8e1 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/UIAutomationClientSideProviders.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/UIAutomationProvider.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/UIAutomationProvider.dll new file mode 100644 index 0000000..4a701f6 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/UIAutomationProvider.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/UIAutomationTypes.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/UIAutomationTypes.dll new file mode 100644 index 0000000..f666f7e Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/UIAutomationTypes.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/WindowsBase.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/WindowsBase.dll new file mode 100644 index 0000000..8ce878a Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/WindowsBase.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/clretwrc.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/clretwrc.dll new file mode 100644 index 0000000..b115866 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/clretwrc.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/clrgc.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/clrgc.dll new file mode 100644 index 0000000..2775ecb Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/clrgc.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/clrjit.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/clrjit.dll new file mode 100644 index 0000000..e51adf3 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/clrjit.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/coreclr.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/coreclr.dll new file mode 100644 index 0000000..101340e Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/coreclr.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/createdump.exe b/leak_test_project/bin/Release/net9.0-windows/win-x86/createdump.exe new file mode 100644 index 0000000..2877697 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/createdump.exe differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/cs/PresentationCore.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/cs/PresentationCore.resources.dll new file mode 100644 index 0000000..9be4835 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/cs/PresentationCore.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/cs/PresentationFramework.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/cs/PresentationFramework.resources.dll new file mode 100644 index 0000000..9fe2608 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/cs/PresentationFramework.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/cs/PresentationUI.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/cs/PresentationUI.resources.dll new file mode 100644 index 0000000..46cf353 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/cs/PresentationUI.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/cs/ReachFramework.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/cs/ReachFramework.resources.dll new file mode 100644 index 0000000..e9a04d6 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/cs/ReachFramework.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/cs/System.Windows.Controls.Ribbon.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/cs/System.Windows.Controls.Ribbon.resources.dll new file mode 100644 index 0000000..bf1d104 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/cs/System.Windows.Controls.Ribbon.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/cs/System.Windows.Input.Manipulations.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/cs/System.Windows.Input.Manipulations.resources.dll new file mode 100644 index 0000000..cdd0005 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/cs/System.Windows.Input.Manipulations.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/cs/System.Xaml.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/cs/System.Xaml.resources.dll new file mode 100644 index 0000000..5c1ca19 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/cs/System.Xaml.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/cs/UIAutomationClient.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/cs/UIAutomationClient.resources.dll new file mode 100644 index 0000000..a76c89f Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/cs/UIAutomationClient.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/cs/UIAutomationClientSideProviders.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/cs/UIAutomationClientSideProviders.resources.dll new file mode 100644 index 0000000..b34f427 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/cs/UIAutomationClientSideProviders.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/cs/UIAutomationProvider.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/cs/UIAutomationProvider.resources.dll new file mode 100644 index 0000000..4ba87fc Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/cs/UIAutomationProvider.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/cs/UIAutomationTypes.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/cs/UIAutomationTypes.resources.dll new file mode 100644 index 0000000..5efdb7f Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/cs/UIAutomationTypes.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/cs/WindowsBase.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/cs/WindowsBase.resources.dll new file mode 100644 index 0000000..58e7397 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/cs/WindowsBase.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/de/PresentationCore.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/de/PresentationCore.resources.dll new file mode 100644 index 0000000..71e0d63 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/de/PresentationCore.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/de/PresentationFramework.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/de/PresentationFramework.resources.dll new file mode 100644 index 0000000..596cae5 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/de/PresentationFramework.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/de/PresentationUI.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/de/PresentationUI.resources.dll new file mode 100644 index 0000000..d3f4ace Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/de/PresentationUI.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/de/ReachFramework.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/de/ReachFramework.resources.dll new file mode 100644 index 0000000..5e5627d Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/de/ReachFramework.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/de/System.Windows.Controls.Ribbon.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/de/System.Windows.Controls.Ribbon.resources.dll new file mode 100644 index 0000000..9e214de Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/de/System.Windows.Controls.Ribbon.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/de/System.Windows.Input.Manipulations.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/de/System.Windows.Input.Manipulations.resources.dll new file mode 100644 index 0000000..b60743f Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/de/System.Windows.Input.Manipulations.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/de/System.Xaml.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/de/System.Xaml.resources.dll new file mode 100644 index 0000000..94f6f66 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/de/System.Xaml.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/de/UIAutomationClient.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/de/UIAutomationClient.resources.dll new file mode 100644 index 0000000..5efd57a Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/de/UIAutomationClient.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/de/UIAutomationClientSideProviders.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/de/UIAutomationClientSideProviders.resources.dll new file mode 100644 index 0000000..5629097 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/de/UIAutomationClientSideProviders.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/de/UIAutomationProvider.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/de/UIAutomationProvider.resources.dll new file mode 100644 index 0000000..07e7c86 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/de/UIAutomationProvider.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/de/UIAutomationTypes.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/de/UIAutomationTypes.resources.dll new file mode 100644 index 0000000..c8de215 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/de/UIAutomationTypes.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/de/WindowsBase.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/de/WindowsBase.resources.dll new file mode 100644 index 0000000..ca85f79 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/de/WindowsBase.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/es/PresentationCore.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/es/PresentationCore.resources.dll new file mode 100644 index 0000000..257dae8 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/es/PresentationCore.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/es/PresentationFramework.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/es/PresentationFramework.resources.dll new file mode 100644 index 0000000..ff3cf89 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/es/PresentationFramework.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/es/PresentationUI.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/es/PresentationUI.resources.dll new file mode 100644 index 0000000..816c26d Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/es/PresentationUI.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/es/ReachFramework.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/es/ReachFramework.resources.dll new file mode 100644 index 0000000..62ab0b6 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/es/ReachFramework.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/es/System.Windows.Controls.Ribbon.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/es/System.Windows.Controls.Ribbon.resources.dll new file mode 100644 index 0000000..b4242c0 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/es/System.Windows.Controls.Ribbon.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/es/System.Windows.Input.Manipulations.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/es/System.Windows.Input.Manipulations.resources.dll new file mode 100644 index 0000000..c49dd47 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/es/System.Windows.Input.Manipulations.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/es/System.Xaml.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/es/System.Xaml.resources.dll new file mode 100644 index 0000000..074df55 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/es/System.Xaml.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/es/UIAutomationClient.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/es/UIAutomationClient.resources.dll new file mode 100644 index 0000000..f2a57f0 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/es/UIAutomationClient.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/es/UIAutomationClientSideProviders.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/es/UIAutomationClientSideProviders.resources.dll new file mode 100644 index 0000000..a71e212 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/es/UIAutomationClientSideProviders.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/es/UIAutomationProvider.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/es/UIAutomationProvider.resources.dll new file mode 100644 index 0000000..38c7581 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/es/UIAutomationProvider.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/es/UIAutomationTypes.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/es/UIAutomationTypes.resources.dll new file mode 100644 index 0000000..a60e5f4 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/es/UIAutomationTypes.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/es/WindowsBase.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/es/WindowsBase.resources.dll new file mode 100644 index 0000000..690e99f Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/es/WindowsBase.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/fr/PresentationCore.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/fr/PresentationCore.resources.dll new file mode 100644 index 0000000..733fb39 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/fr/PresentationCore.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/fr/PresentationFramework.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/fr/PresentationFramework.resources.dll new file mode 100644 index 0000000..c6318f6 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/fr/PresentationFramework.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/fr/PresentationUI.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/fr/PresentationUI.resources.dll new file mode 100644 index 0000000..64dbec2 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/fr/PresentationUI.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/fr/ReachFramework.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/fr/ReachFramework.resources.dll new file mode 100644 index 0000000..671e5b7 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/fr/ReachFramework.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/fr/System.Windows.Controls.Ribbon.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/fr/System.Windows.Controls.Ribbon.resources.dll new file mode 100644 index 0000000..7141fbd Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/fr/System.Windows.Controls.Ribbon.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/fr/System.Windows.Input.Manipulations.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/fr/System.Windows.Input.Manipulations.resources.dll new file mode 100644 index 0000000..81a6400 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/fr/System.Windows.Input.Manipulations.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/fr/System.Xaml.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/fr/System.Xaml.resources.dll new file mode 100644 index 0000000..74299a7 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/fr/System.Xaml.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/fr/UIAutomationClient.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/fr/UIAutomationClient.resources.dll new file mode 100644 index 0000000..b900b20 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/fr/UIAutomationClient.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/fr/UIAutomationClientSideProviders.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/fr/UIAutomationClientSideProviders.resources.dll new file mode 100644 index 0000000..f4b90c6 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/fr/UIAutomationClientSideProviders.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/fr/UIAutomationProvider.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/fr/UIAutomationProvider.resources.dll new file mode 100644 index 0000000..b0d7fca Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/fr/UIAutomationProvider.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/fr/UIAutomationTypes.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/fr/UIAutomationTypes.resources.dll new file mode 100644 index 0000000..7ba9a85 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/fr/UIAutomationTypes.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/fr/WindowsBase.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/fr/WindowsBase.resources.dll new file mode 100644 index 0000000..3955a19 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/fr/WindowsBase.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/hostfxr.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/hostfxr.dll new file mode 100644 index 0000000..e7c1a7b Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/hostfxr.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/hostpolicy.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/hostpolicy.dll new file mode 100644 index 0000000..0f3ac4b Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/hostpolicy.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/it/PresentationCore.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/it/PresentationCore.resources.dll new file mode 100644 index 0000000..f2d674f Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/it/PresentationCore.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/it/PresentationFramework.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/it/PresentationFramework.resources.dll new file mode 100644 index 0000000..ba5fe2e Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/it/PresentationFramework.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/it/PresentationUI.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/it/PresentationUI.resources.dll new file mode 100644 index 0000000..1d4e2ca Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/it/PresentationUI.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/it/ReachFramework.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/it/ReachFramework.resources.dll new file mode 100644 index 0000000..7a6bf1e Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/it/ReachFramework.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/it/System.Windows.Controls.Ribbon.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/it/System.Windows.Controls.Ribbon.resources.dll new file mode 100644 index 0000000..3d49580 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/it/System.Windows.Controls.Ribbon.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/it/System.Windows.Input.Manipulations.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/it/System.Windows.Input.Manipulations.resources.dll new file mode 100644 index 0000000..38331f8 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/it/System.Windows.Input.Manipulations.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/it/System.Xaml.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/it/System.Xaml.resources.dll new file mode 100644 index 0000000..0a98ac3 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/it/System.Xaml.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/it/UIAutomationClient.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/it/UIAutomationClient.resources.dll new file mode 100644 index 0000000..a3207eb Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/it/UIAutomationClient.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/it/UIAutomationClientSideProviders.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/it/UIAutomationClientSideProviders.resources.dll new file mode 100644 index 0000000..74ab20b Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/it/UIAutomationClientSideProviders.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/it/UIAutomationProvider.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/it/UIAutomationProvider.resources.dll new file mode 100644 index 0000000..7f3316e Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/it/UIAutomationProvider.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/it/UIAutomationTypes.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/it/UIAutomationTypes.resources.dll new file mode 100644 index 0000000..b59d181 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/it/UIAutomationTypes.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/it/WindowsBase.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/it/WindowsBase.resources.dll new file mode 100644 index 0000000..dd47908 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/it/WindowsBase.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/ja/PresentationCore.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/ja/PresentationCore.resources.dll new file mode 100644 index 0000000..9f4daed Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/ja/PresentationCore.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/ja/PresentationFramework.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/ja/PresentationFramework.resources.dll new file mode 100644 index 0000000..bffdb14 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/ja/PresentationFramework.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/ja/PresentationUI.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/ja/PresentationUI.resources.dll new file mode 100644 index 0000000..546f182 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/ja/PresentationUI.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/ja/ReachFramework.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/ja/ReachFramework.resources.dll new file mode 100644 index 0000000..c4c001d Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/ja/ReachFramework.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/ja/System.Windows.Controls.Ribbon.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/ja/System.Windows.Controls.Ribbon.resources.dll new file mode 100644 index 0000000..ffcfa52 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/ja/System.Windows.Controls.Ribbon.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/ja/System.Windows.Input.Manipulations.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/ja/System.Windows.Input.Manipulations.resources.dll new file mode 100644 index 0000000..2ca50bc Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/ja/System.Windows.Input.Manipulations.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/ja/System.Xaml.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/ja/System.Xaml.resources.dll new file mode 100644 index 0000000..9601962 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/ja/System.Xaml.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/ja/UIAutomationClient.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/ja/UIAutomationClient.resources.dll new file mode 100644 index 0000000..b75dad0 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/ja/UIAutomationClient.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/ja/UIAutomationClientSideProviders.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/ja/UIAutomationClientSideProviders.resources.dll new file mode 100644 index 0000000..5860fdd Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/ja/UIAutomationClientSideProviders.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/ja/UIAutomationProvider.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/ja/UIAutomationProvider.resources.dll new file mode 100644 index 0000000..1d35fb3 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/ja/UIAutomationProvider.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/ja/UIAutomationTypes.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/ja/UIAutomationTypes.resources.dll new file mode 100644 index 0000000..d261659 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/ja/UIAutomationTypes.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/ja/WindowsBase.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/ja/WindowsBase.resources.dll new file mode 100644 index 0000000..e1a2449 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/ja/WindowsBase.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/ko/PresentationCore.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/ko/PresentationCore.resources.dll new file mode 100644 index 0000000..67ffff7 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/ko/PresentationCore.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/ko/PresentationFramework.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/ko/PresentationFramework.resources.dll new file mode 100644 index 0000000..3e948ae Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/ko/PresentationFramework.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/ko/PresentationUI.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/ko/PresentationUI.resources.dll new file mode 100644 index 0000000..6f29b69 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/ko/PresentationUI.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/ko/ReachFramework.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/ko/ReachFramework.resources.dll new file mode 100644 index 0000000..3fc2ce6 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/ko/ReachFramework.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/ko/System.Windows.Controls.Ribbon.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/ko/System.Windows.Controls.Ribbon.resources.dll new file mode 100644 index 0000000..dd03828 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/ko/System.Windows.Controls.Ribbon.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/ko/System.Windows.Input.Manipulations.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/ko/System.Windows.Input.Manipulations.resources.dll new file mode 100644 index 0000000..a1e8ce6 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/ko/System.Windows.Input.Manipulations.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/ko/System.Xaml.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/ko/System.Xaml.resources.dll new file mode 100644 index 0000000..e593bbf Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/ko/System.Xaml.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/ko/UIAutomationClient.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/ko/UIAutomationClient.resources.dll new file mode 100644 index 0000000..6321cd4 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/ko/UIAutomationClient.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/ko/UIAutomationClientSideProviders.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/ko/UIAutomationClientSideProviders.resources.dll new file mode 100644 index 0000000..de3a54d Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/ko/UIAutomationClientSideProviders.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/ko/UIAutomationProvider.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/ko/UIAutomationProvider.resources.dll new file mode 100644 index 0000000..6fc383f Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/ko/UIAutomationProvider.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/ko/UIAutomationTypes.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/ko/UIAutomationTypes.resources.dll new file mode 100644 index 0000000..3e222b9 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/ko/UIAutomationTypes.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/ko/WindowsBase.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/ko/WindowsBase.resources.dll new file mode 100644 index 0000000..f300cdb Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/ko/WindowsBase.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/leak_test_project.deps.json b/leak_test_project/bin/Release/net9.0-windows/win-x86/leak_test_project.deps.json new file mode 100644 index 0000000..33195f2 --- /dev/null +++ b/leak_test_project/bin/Release/net9.0-windows/win-x86/leak_test_project.deps.json @@ -0,0 +1,1043 @@ +{ + "runtimeTarget": { + "name": ".NETCoreApp,Version=v9.0/win-x86", + "signature": "" + }, + "compilationOptions": {}, + "targets": { + ".NETCoreApp,Version=v9.0": {}, + ".NETCoreApp,Version=v9.0/win-x86": { + "leak_test_project/1.0.0": { + "dependencies": { + "Microsoft.VisualStudio.Setup.Configuration.Interop": "3.14.2075", + "System.Data.SqlClient": "4.9.0", + "System.IO.Ports": "9.0.0", + "runtimepack.Microsoft.NETCore.App.Runtime.win-x86": "9.0.17", + "runtimepack.Microsoft.WindowsDesktop.App.Runtime.win-x86": "9.0.17" + }, + "runtime": { + "leak_test_project.dll": {} + } + }, + "runtimepack.Microsoft.NETCore.App.Runtime.win-x86/9.0.17": { + "runtime": { + "Microsoft.CSharp.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "Microsoft.VisualBasic.Core.dll": { + "assemblyVersion": "14.0.0.0", + "fileVersion": "14.0.1726.26416" + }, + "Microsoft.VisualBasic.dll": { + "assemblyVersion": "10.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "Microsoft.Win32.Primitives.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "Microsoft.Win32.Registry.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.AppContext.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.Buffers.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.Collections.Concurrent.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.Collections.Immutable.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.Collections.NonGeneric.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.Collections.Specialized.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.Collections.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.ComponentModel.Annotations.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.ComponentModel.DataAnnotations.dll": { + "assemblyVersion": "4.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.ComponentModel.EventBasedAsync.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.ComponentModel.Primitives.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.ComponentModel.TypeConverter.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.ComponentModel.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.Configuration.dll": { + "assemblyVersion": "4.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.Console.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.Core.dll": { + "assemblyVersion": "4.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.Data.Common.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.Data.DataSetExtensions.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.Data.dll": { + "assemblyVersion": "4.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.Diagnostics.Contracts.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.Diagnostics.Debug.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.Diagnostics.DiagnosticSource.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.Diagnostics.FileVersionInfo.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.Diagnostics.Process.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.Diagnostics.StackTrace.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.Diagnostics.TextWriterTraceListener.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.Diagnostics.Tools.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.Diagnostics.TraceSource.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.Diagnostics.Tracing.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.Drawing.Primitives.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.Drawing.dll": { + "assemblyVersion": "4.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.Dynamic.Runtime.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.Formats.Asn1.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.Formats.Tar.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.Globalization.Calendars.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.Globalization.Extensions.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.Globalization.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.IO.Compression.Brotli.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.IO.Compression.FileSystem.dll": { + "assemblyVersion": "4.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.IO.Compression.ZipFile.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.IO.Compression.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.IO.FileSystem.AccessControl.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.IO.FileSystem.DriveInfo.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.IO.FileSystem.Primitives.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.IO.FileSystem.Watcher.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.IO.FileSystem.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.IO.IsolatedStorage.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.IO.MemoryMappedFiles.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.IO.Pipelines.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.IO.Pipes.AccessControl.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.IO.Pipes.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.IO.UnmanagedMemoryStream.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.IO.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.Linq.Expressions.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.Linq.Parallel.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.Linq.Queryable.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.Linq.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.Memory.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.Net.Http.Json.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.Net.Http.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.Net.HttpListener.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.Net.Mail.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.Net.NameResolution.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.Net.NetworkInformation.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.Net.Ping.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.Net.Primitives.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.Net.Quic.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.Net.Requests.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.Net.Security.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.Net.ServicePoint.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.Net.Sockets.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.Net.WebClient.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.Net.WebHeaderCollection.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.Net.WebProxy.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.Net.WebSockets.Client.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.Net.WebSockets.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.Net.dll": { + "assemblyVersion": "4.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.Numerics.Vectors.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.Numerics.dll": { + "assemblyVersion": "4.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.ObjectModel.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.Private.CoreLib.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.Private.DataContractSerialization.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.Private.Uri.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.Private.Xml.Linq.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.Private.Xml.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.Reflection.DispatchProxy.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.Reflection.Emit.ILGeneration.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.Reflection.Emit.Lightweight.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.Reflection.Emit.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.Reflection.Extensions.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.Reflection.Metadata.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.Reflection.Primitives.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.Reflection.TypeExtensions.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.Reflection.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.Resources.Reader.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.Resources.ResourceManager.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.Resources.Writer.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.Runtime.CompilerServices.Unsafe.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.Runtime.CompilerServices.VisualC.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.Runtime.Extensions.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.Runtime.Handles.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.Runtime.InteropServices.JavaScript.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.Runtime.InteropServices.RuntimeInformation.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.Runtime.InteropServices.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.Runtime.Intrinsics.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.Runtime.Loader.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.Runtime.Numerics.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.Runtime.Serialization.Formatters.dll": { + "assemblyVersion": "8.1.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.Runtime.Serialization.Json.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.Runtime.Serialization.Primitives.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.Runtime.Serialization.Xml.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.Runtime.Serialization.dll": { + "assemblyVersion": "4.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.Runtime.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.Security.AccessControl.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.Security.Claims.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.Security.Cryptography.Algorithms.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.Security.Cryptography.Cng.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.Security.Cryptography.Csp.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.Security.Cryptography.Encoding.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.Security.Cryptography.OpenSsl.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.Security.Cryptography.Primitives.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.Security.Cryptography.X509Certificates.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.Security.Cryptography.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.Security.Principal.Windows.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.Security.Principal.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.Security.SecureString.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.Security.dll": { + "assemblyVersion": "4.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.ServiceModel.Web.dll": { + "assemblyVersion": "4.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.ServiceProcess.dll": { + "assemblyVersion": "4.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.Text.Encoding.CodePages.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.Text.Encoding.Extensions.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.Text.Encoding.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.Text.Encodings.Web.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.Text.Json.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.Text.RegularExpressions.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.Threading.Channels.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.Threading.Overlapped.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.Threading.Tasks.Dataflow.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.Threading.Tasks.Extensions.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.Threading.Tasks.Parallel.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.Threading.Tasks.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.Threading.Thread.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.Threading.ThreadPool.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.Threading.Timer.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.Threading.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.Transactions.Local.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.Transactions.dll": { + "assemblyVersion": "4.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.ValueTuple.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.Web.HttpUtility.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.Web.dll": { + "assemblyVersion": "4.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.Windows.dll": { + "assemblyVersion": "4.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.Xml.Linq.dll": { + "assemblyVersion": "4.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.Xml.ReaderWriter.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.Xml.Serialization.dll": { + "assemblyVersion": "4.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.Xml.XDocument.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.Xml.XPath.XDocument.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.Xml.XPath.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.Xml.XmlDocument.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.Xml.XmlSerializer.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.Xml.dll": { + "assemblyVersion": "4.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.dll": { + "assemblyVersion": "4.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "mscorlib.dll": { + "assemblyVersion": "4.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "netstandard.dll": { + "assemblyVersion": "2.1.0.0", + "fileVersion": "9.0.1726.26416" + } + }, + "native": { + "Microsoft.DiaSymReader.Native.x86.dll": { + "fileVersion": "14.42.34436.0" + }, + "System.IO.Compression.Native.dll": { + "fileVersion": "9.0.1726.26416" + }, + "clretwrc.dll": { + "fileVersion": "9.0.1726.26416" + }, + "clrgc.dll": { + "fileVersion": "9.0.1726.26416" + }, + "clrjit.dll": { + "fileVersion": "9.0.1726.26416" + }, + "coreclr.dll": { + "fileVersion": "9.0.1726.26416" + }, + "createdump.exe": { + "fileVersion": "9.0.1726.26416" + }, + "hostfxr.dll": { + "fileVersion": "9.0.1726.26416" + }, + "hostpolicy.dll": { + "fileVersion": "9.0.1726.26416" + }, + "mscordaccore.dll": { + "fileVersion": "9.0.1726.26416" + }, + "mscordaccore_x86_x86_9.0.1726.26416.dll": { + "fileVersion": "9.0.1726.26416" + }, + "mscordbi.dll": { + "fileVersion": "9.0.1726.26416" + }, + "mscorrc.dll": { + "fileVersion": "9.0.1726.26416" + }, + "msquic.dll": { + "fileVersion": "2.4.18.0" + } + } + }, + "runtimepack.Microsoft.WindowsDesktop.App.Runtime.win-x86/9.0.17": { + "runtime": { + "Accessibility.dll": { + "assemblyVersion": "4.0.0.0", + "fileVersion": "9.0.1726.26501" + }, + "DirectWriteForwarder.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26701" + }, + "Microsoft.Win32.Registry.AccessControl.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "Microsoft.Win32.SystemEvents.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "PresentationCore.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26701" + }, + "PresentationFramework-SystemCore.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26701" + }, + "PresentationFramework-SystemData.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26701" + }, + "PresentationFramework-SystemDrawing.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26701" + }, + "PresentationFramework-SystemXml.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26701" + }, + "PresentationFramework-SystemXmlLinq.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26701" + }, + "PresentationFramework.Aero.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26701" + }, + "PresentationFramework.Aero2.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26701" + }, + "PresentationFramework.AeroLite.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26701" + }, + "PresentationFramework.Classic.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26701" + }, + "PresentationFramework.Fluent.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26701" + }, + "PresentationFramework.Luna.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26701" + }, + "PresentationFramework.Royale.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26701" + }, + "PresentationFramework.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26701" + }, + "PresentationUI.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26701" + }, + "ReachFramework.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26701" + }, + "System.CodeDom.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.Configuration.ConfigurationManager.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.Diagnostics.EventLog.Messages.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "0.0.0.0" + }, + "System.Diagnostics.EventLog.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.Diagnostics.PerformanceCounter.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.DirectoryServices.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.Formats.Nrbf.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.IO.Packaging.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.Printing.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26701" + }, + "System.Resources.Extensions.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.Security.Cryptography.Pkcs.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.Security.Cryptography.ProtectedData.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.Security.Cryptography.Xml.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.Security.Permissions.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.Threading.AccessControl.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.Windows.Controls.Ribbon.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26701" + }, + "System.Windows.Extensions.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.Windows.Input.Manipulations.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26701" + }, + "System.Windows.Presentation.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26701" + }, + "System.Xaml.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26701" + }, + "UIAutomationClient.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26701" + }, + "UIAutomationClientSideProviders.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26701" + }, + "UIAutomationProvider.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26701" + }, + "UIAutomationTypes.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26701" + }, + "WindowsBase.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26701" + } + }, + "native": { + "D3DCompiler_47_cor3.dll": { + "fileVersion": "10.0.26100.7705" + }, + "PenImc_cor3.dll": { + "fileVersion": "9.0.1726.26701" + }, + "PresentationNative_cor3.dll": { + "fileVersion": "9.0.26.22701" + }, + "vcruntime140_cor3.dll": { + "fileVersion": "14.44.35211.0" + }, + "wpfgfx_cor3.dll": { + "fileVersion": "9.0.1726.26701" + } + } + }, + "Microsoft.VisualStudio.Setup.Configuration.Interop/3.14.2075": { + "runtime": { + "lib/netstandard2.1/Microsoft.VisualStudio.Setup.Configuration.Interop.dll": { + "assemblyVersion": "1.0.0.0", + "fileVersion": "3.14.2075.50697" + } + } + }, + "runtime.native.System.Data.SqlClient.sni/4.4.0": { + "dependencies": { + "runtime.win-x86.runtime.native.System.Data.SqlClient.sni": "4.4.0" + } + }, + "runtime.win-x86.runtime.native.System.Data.SqlClient.sni/4.4.0": { + "native": { + "runtimes/win-x86/native/sni.dll": { + "fileVersion": "4.6.25512.1" + } + } + }, + "System.Data.SqlClient/4.9.0": { + "dependencies": { + "runtime.native.System.Data.SqlClient.sni": "4.4.0" + }, + "runtime": { + "runtimes/win/lib/net8.0/System.Data.SqlClient.dll": { + "assemblyVersion": "4.6.1.6", + "fileVersion": "4.900.24.56208" + } + } + }, + "System.IO.Ports/9.0.0": { + "runtime": { + "runtimes/win/lib/net9.0/System.IO.Ports.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.24.52809" + } + } + } + } + }, + "libraries": { + "leak_test_project/1.0.0": { + "type": "project", + "serviceable": false, + "sha512": "" + }, + "runtimepack.Microsoft.NETCore.App.Runtime.win-x86/9.0.17": { + "type": "runtimepack", + "serviceable": false, + "sha512": "" + }, + "runtimepack.Microsoft.WindowsDesktop.App.Runtime.win-x86/9.0.17": { + "type": "runtimepack", + "serviceable": false, + "sha512": "" + }, + "Microsoft.VisualStudio.Setup.Configuration.Interop/3.14.2075": { + "type": "package", + "serviceable": true, + "sha512": "sha512-SH4pYl7XBUjL6sRAk+l2jsK7B9VbiKPEKkzJdmNxgexeHpAP7T+VlZk0w3NHgPG1UGQ3fxnhc427cM2o9GUYYA==", + "path": "microsoft.visualstudio.setup.configuration.interop/3.14.2075", + "hashPath": "microsoft.visualstudio.setup.configuration.interop.3.14.2075.nupkg.sha512" + }, + "runtime.native.System.Data.SqlClient.sni/4.4.0": { + "type": "package", + "serviceable": true, + "sha512": "sha512-A8v6PGmk+UGbfWo5Ixup0lPM4swuSwOiayJExZwKIOjTlFFQIsu3QnDXECosBEyrWSPryxBVrdqtJyhK3BaupQ==", + "path": "runtime.native.system.data.sqlclient.sni/4.4.0", + "hashPath": "runtime.native.system.data.sqlclient.sni.4.4.0.nupkg.sha512" + }, + "runtime.win-x86.runtime.native.System.Data.SqlClient.sni/4.4.0": { + "type": "package", + "serviceable": true, + "sha512": "sha512-YhEdSQUsTx+C8m8Bw7ar5/VesXvCFMItyZF7G1AUY+OM0VPZUOeAVpJ4Wl6fydBGUYZxojTDR3I6Bj/+BPkJNA==", + "path": "runtime.win-x86.runtime.native.system.data.sqlclient.sni/4.4.0", + "hashPath": "runtime.win-x86.runtime.native.system.data.sqlclient.sni.4.4.0.nupkg.sha512" + }, + "System.Data.SqlClient/4.9.0": { + "type": "package", + "serviceable": true, + "sha512": "sha512-j4KJO+vC62NyUtNHz854njEqXbT8OmAa5jb1nrGfYWBOcggyYUQE0w/snXeaCjdvkSKWuUD+hfvlbN8pTrJTXg==", + "path": "system.data.sqlclient/4.9.0", + "hashPath": "system.data.sqlclient.4.9.0.nupkg.sha512" + }, + "System.IO.Ports/9.0.0": { + "type": "package", + "serviceable": true, + "sha512": "sha512-NfEWew48r4MxHUnOQL7nw/5JBsz9dli8TJYpXjsAQu8tHH0QCq2ly4QMCc8wS9EAi1jvaFgq7ELdfwxvrKWALQ==", + "path": "system.io.ports/9.0.0", + "hashPath": "system.io.ports.9.0.0.nupkg.sha512" + } + }, + "runtimes": { + "win-x86": [ + "win", + "any", + "base" + ] + } +} \ No newline at end of file diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/leak_test_project.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/leak_test_project.dll new file mode 100644 index 0000000..1243e57 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/leak_test_project.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/leak_test_project.dll.config b/leak_test_project/bin/Release/net9.0-windows/win-x86/leak_test_project.dll.config new file mode 100644 index 0000000..56efbc7 --- /dev/null +++ b/leak_test_project/bin/Release/net9.0-windows/win-x86/leak_test_project.dll.config @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/leak_test_project.exe b/leak_test_project/bin/Release/net9.0-windows/win-x86/leak_test_project.exe new file mode 100644 index 0000000..264728c Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/leak_test_project.exe differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/leak_test_project.pdb b/leak_test_project/bin/Release/net9.0-windows/win-x86/leak_test_project.pdb new file mode 100644 index 0000000..5f56607 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/leak_test_project.pdb differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/leak_test_project.runtimeconfig.json b/leak_test_project/bin/Release/net9.0-windows/win-x86/leak_test_project.runtimeconfig.json new file mode 100644 index 0000000..7023d2c --- /dev/null +++ b/leak_test_project/bin/Release/net9.0-windows/win-x86/leak_test_project.runtimeconfig.json @@ -0,0 +1,20 @@ +{ + "runtimeOptions": { + "tfm": "net9.0", + "includedFrameworks": [ + { + "name": "Microsoft.NETCore.App", + "version": "9.0.17" + }, + { + "name": "Microsoft.WindowsDesktop.App", + "version": "9.0.17" + } + ], + "configProperties": { + "System.Reflection.Metadata.MetadataUpdater.IsSupported": false, + "System.Runtime.Serialization.EnableUnsafeBinaryFormatterSerialization": false, + "CSWINRT_USE_WINDOWS_UI_XAML_PROJECTIONS": false + } + } +} \ No newline at end of file diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/mscordaccore.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/mscordaccore.dll new file mode 100644 index 0000000..09550f2 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/mscordaccore.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/mscordaccore_x86_x86_9.0.1726.26416.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/mscordaccore_x86_x86_9.0.1726.26416.dll new file mode 100644 index 0000000..09550f2 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/mscordaccore_x86_x86_9.0.1726.26416.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/mscordbi.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/mscordbi.dll new file mode 100644 index 0000000..95bd5a6 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/mscordbi.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/mscorlib.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/mscorlib.dll new file mode 100644 index 0000000..11c5d43 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/mscorlib.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/mscorrc.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/mscorrc.dll new file mode 100644 index 0000000..e670cbe Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/mscorrc.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/msquic.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/msquic.dll new file mode 100644 index 0000000..13264bf Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/msquic.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/netstandard.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/netstandard.dll new file mode 100644 index 0000000..5b4edfa Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/netstandard.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/pl/PresentationCore.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/pl/PresentationCore.resources.dll new file mode 100644 index 0000000..b074644 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/pl/PresentationCore.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/pl/PresentationFramework.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/pl/PresentationFramework.resources.dll new file mode 100644 index 0000000..942d6b1 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/pl/PresentationFramework.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/pl/PresentationUI.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/pl/PresentationUI.resources.dll new file mode 100644 index 0000000..18719a8 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/pl/PresentationUI.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/pl/ReachFramework.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/pl/ReachFramework.resources.dll new file mode 100644 index 0000000..b90f2ae Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/pl/ReachFramework.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/pl/System.Windows.Controls.Ribbon.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/pl/System.Windows.Controls.Ribbon.resources.dll new file mode 100644 index 0000000..a744032 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/pl/System.Windows.Controls.Ribbon.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/pl/System.Windows.Input.Manipulations.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/pl/System.Windows.Input.Manipulations.resources.dll new file mode 100644 index 0000000..ddfa9ce Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/pl/System.Windows.Input.Manipulations.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/pl/System.Xaml.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/pl/System.Xaml.resources.dll new file mode 100644 index 0000000..312db5f Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/pl/System.Xaml.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/pl/UIAutomationClient.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/pl/UIAutomationClient.resources.dll new file mode 100644 index 0000000..47aec2a Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/pl/UIAutomationClient.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/pl/UIAutomationClientSideProviders.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/pl/UIAutomationClientSideProviders.resources.dll new file mode 100644 index 0000000..c4ddad3 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/pl/UIAutomationClientSideProviders.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/pl/UIAutomationProvider.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/pl/UIAutomationProvider.resources.dll new file mode 100644 index 0000000..0cf1f04 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/pl/UIAutomationProvider.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/pl/UIAutomationTypes.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/pl/UIAutomationTypes.resources.dll new file mode 100644 index 0000000..c559a49 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/pl/UIAutomationTypes.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/pl/WindowsBase.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/pl/WindowsBase.resources.dll new file mode 100644 index 0000000..d0703b7 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/pl/WindowsBase.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/pt-BR/PresentationCore.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/pt-BR/PresentationCore.resources.dll new file mode 100644 index 0000000..fa8df80 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/pt-BR/PresentationCore.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/pt-BR/PresentationFramework.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/pt-BR/PresentationFramework.resources.dll new file mode 100644 index 0000000..a66abef Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/pt-BR/PresentationFramework.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/pt-BR/PresentationUI.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/pt-BR/PresentationUI.resources.dll new file mode 100644 index 0000000..b7c6549 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/pt-BR/PresentationUI.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/pt-BR/ReachFramework.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/pt-BR/ReachFramework.resources.dll new file mode 100644 index 0000000..618eac2 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/pt-BR/ReachFramework.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/pt-BR/System.Windows.Controls.Ribbon.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/pt-BR/System.Windows.Controls.Ribbon.resources.dll new file mode 100644 index 0000000..a68789f Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/pt-BR/System.Windows.Controls.Ribbon.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/pt-BR/System.Windows.Input.Manipulations.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/pt-BR/System.Windows.Input.Manipulations.resources.dll new file mode 100644 index 0000000..d346214 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/pt-BR/System.Windows.Input.Manipulations.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/pt-BR/System.Xaml.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/pt-BR/System.Xaml.resources.dll new file mode 100644 index 0000000..be11d12 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/pt-BR/System.Xaml.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/pt-BR/UIAutomationClient.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/pt-BR/UIAutomationClient.resources.dll new file mode 100644 index 0000000..561cdc3 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/pt-BR/UIAutomationClient.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/pt-BR/UIAutomationClientSideProviders.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/pt-BR/UIAutomationClientSideProviders.resources.dll new file mode 100644 index 0000000..2c99aa4 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/pt-BR/UIAutomationClientSideProviders.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/pt-BR/UIAutomationProvider.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/pt-BR/UIAutomationProvider.resources.dll new file mode 100644 index 0000000..f568342 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/pt-BR/UIAutomationProvider.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/pt-BR/UIAutomationTypes.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/pt-BR/UIAutomationTypes.resources.dll new file mode 100644 index 0000000..c15e6d5 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/pt-BR/UIAutomationTypes.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/pt-BR/WindowsBase.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/pt-BR/WindowsBase.resources.dll new file mode 100644 index 0000000..6e111ec Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/pt-BR/WindowsBase.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/Accessibility.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/Accessibility.dll new file mode 100644 index 0000000..490edee Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/Accessibility.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/D3DCompiler_47_cor3.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/D3DCompiler_47_cor3.dll new file mode 100644 index 0000000..be37b1c Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/D3DCompiler_47_cor3.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/Database.ini b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/Database.ini new file mode 100644 index 0000000..3491e9c --- /dev/null +++ b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/Database.ini @@ -0,0 +1,24 @@ +; ===================================================================== +; Mobi Leak Test System - 데이터베이스 및 로그인 설정 파일 (Database.ini) +; ===================================================================== + +; [데이터베이스 접속 상세 설정] +; Db_Server : 중앙 MSSQL 데이터베이스 서버의 IP 주소 또는 호스트명 +; Db_Name : 검사 데이터를 저장할 대상 데이터베이스 이름 +; Db_User : 데이터베이스 접속 계정 ID (예: sa) +; Db_Password: 데이터베이스 접속 계정의 비밀번호 +Db_Server=192.168.0.20 +Db_Name=NE1aW_PT_SENSOR +Db_User=sa +Db_Password=sa1234 + + +[Login] +; Procedure: 로그인 검증에 사용할 DB 저장 프로시저명입니다. (공란일 경우 기본 테이블 조회 쿼리 작동) +Procedure=dbo.CheckOperator + +; ProcessName: 로그인 검증 시 전달할 공정 이름입니다. +ProcessName=EOL + +; OfflinePreview: 오프라인 모드 활성화 여부 (true = DB 연결 없이 로그인 통과, false = 실제 DB 인증) +OfflinePreview=false diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/DirectWriteForwarder.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/DirectWriteForwarder.dll new file mode 100644 index 0000000..bf60649 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/DirectWriteForwarder.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/Microsoft.CSharp.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/Microsoft.CSharp.dll new file mode 100644 index 0000000..bf4e0ac Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/Microsoft.CSharp.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/Microsoft.DiaSymReader.Native.x86.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/Microsoft.DiaSymReader.Native.x86.dll new file mode 100644 index 0000000..72aecec Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/Microsoft.DiaSymReader.Native.x86.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/Microsoft.VisualBasic.Core.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/Microsoft.VisualBasic.Core.dll new file mode 100644 index 0000000..c5ad8e3 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/Microsoft.VisualBasic.Core.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/Microsoft.VisualBasic.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/Microsoft.VisualBasic.dll new file mode 100644 index 0000000..d2286b6 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/Microsoft.VisualBasic.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/Microsoft.VisualStudio.Setup.Configuration.Interop.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/Microsoft.VisualStudio.Setup.Configuration.Interop.dll new file mode 100644 index 0000000..55fc91d Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/Microsoft.VisualStudio.Setup.Configuration.Interop.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/Microsoft.Win32.Primitives.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/Microsoft.Win32.Primitives.dll new file mode 100644 index 0000000..f5d557f Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/Microsoft.Win32.Primitives.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/Microsoft.Win32.Registry.AccessControl.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/Microsoft.Win32.Registry.AccessControl.dll new file mode 100644 index 0000000..c898f65 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/Microsoft.Win32.Registry.AccessControl.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/Microsoft.Win32.Registry.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/Microsoft.Win32.Registry.dll new file mode 100644 index 0000000..5d694a1 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/Microsoft.Win32.Registry.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/Microsoft.Win32.SystemEvents.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/Microsoft.Win32.SystemEvents.dll new file mode 100644 index 0000000..9d08f27 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/Microsoft.Win32.SystemEvents.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/PCI-Dask.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/PCI-Dask.dll new file mode 100644 index 0000000..b22577f Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/PCI-Dask.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/PenImc_cor3.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/PenImc_cor3.dll new file mode 100644 index 0000000..31489c2 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/PenImc_cor3.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/PresentationCore.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/PresentationCore.dll new file mode 100644 index 0000000..566edd9 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/PresentationCore.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/PresentationFramework-SystemCore.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/PresentationFramework-SystemCore.dll new file mode 100644 index 0000000..a1e7421 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/PresentationFramework-SystemCore.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/PresentationFramework-SystemData.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/PresentationFramework-SystemData.dll new file mode 100644 index 0000000..cfd2b36 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/PresentationFramework-SystemData.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/PresentationFramework-SystemDrawing.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/PresentationFramework-SystemDrawing.dll new file mode 100644 index 0000000..a2bf7c8 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/PresentationFramework-SystemDrawing.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/PresentationFramework-SystemXml.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/PresentationFramework-SystemXml.dll new file mode 100644 index 0000000..b130457 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/PresentationFramework-SystemXml.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/PresentationFramework-SystemXmlLinq.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/PresentationFramework-SystemXmlLinq.dll new file mode 100644 index 0000000..8c68c1a Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/PresentationFramework-SystemXmlLinq.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/PresentationFramework.Aero.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/PresentationFramework.Aero.dll new file mode 100644 index 0000000..317ae6e Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/PresentationFramework.Aero.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/PresentationFramework.Aero2.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/PresentationFramework.Aero2.dll new file mode 100644 index 0000000..fade4b8 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/PresentationFramework.Aero2.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/PresentationFramework.AeroLite.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/PresentationFramework.AeroLite.dll new file mode 100644 index 0000000..3c6cb3b Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/PresentationFramework.AeroLite.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/PresentationFramework.Classic.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/PresentationFramework.Classic.dll new file mode 100644 index 0000000..90614c8 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/PresentationFramework.Classic.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/PresentationFramework.Fluent.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/PresentationFramework.Fluent.dll new file mode 100644 index 0000000..e9211bb Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/PresentationFramework.Fluent.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/PresentationFramework.Luna.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/PresentationFramework.Luna.dll new file mode 100644 index 0000000..4275e2a Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/PresentationFramework.Luna.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/PresentationFramework.Royale.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/PresentationFramework.Royale.dll new file mode 100644 index 0000000..4324ac2 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/PresentationFramework.Royale.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/PresentationFramework.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/PresentationFramework.dll new file mode 100644 index 0000000..ac8b0f4 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/PresentationFramework.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/PresentationNative_cor3.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/PresentationNative_cor3.dll new file mode 100644 index 0000000..37a5ec0 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/PresentationNative_cor3.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/PresentationUI.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/PresentationUI.dll new file mode 100644 index 0000000..cc892d4 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/PresentationUI.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/ReachFramework.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/ReachFramework.dll new file mode 100644 index 0000000..f6a9a67 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/ReachFramework.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/System.AppContext.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/System.AppContext.dll new file mode 100644 index 0000000..2619837 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/System.AppContext.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/System.Buffers.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/System.Buffers.dll new file mode 100644 index 0000000..b5576f8 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/System.Buffers.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/System.CodeDom.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/System.CodeDom.dll new file mode 100644 index 0000000..16b1acb Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/System.CodeDom.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/System.Collections.Concurrent.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/System.Collections.Concurrent.dll new file mode 100644 index 0000000..daa0057 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/System.Collections.Concurrent.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/System.Collections.Immutable.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/System.Collections.Immutable.dll new file mode 100644 index 0000000..404ced3 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/System.Collections.Immutable.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/System.Collections.NonGeneric.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/System.Collections.NonGeneric.dll new file mode 100644 index 0000000..1ccbacb Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/System.Collections.NonGeneric.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/System.Collections.Specialized.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/System.Collections.Specialized.dll new file mode 100644 index 0000000..1032719 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/System.Collections.Specialized.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/System.Collections.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/System.Collections.dll new file mode 100644 index 0000000..b0f69de Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/System.Collections.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/System.ComponentModel.Annotations.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/System.ComponentModel.Annotations.dll new file mode 100644 index 0000000..3f79409 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/System.ComponentModel.Annotations.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/System.ComponentModel.DataAnnotations.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/System.ComponentModel.DataAnnotations.dll new file mode 100644 index 0000000..399ceeb Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/System.ComponentModel.DataAnnotations.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/System.ComponentModel.EventBasedAsync.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/System.ComponentModel.EventBasedAsync.dll new file mode 100644 index 0000000..2fe063d Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/System.ComponentModel.EventBasedAsync.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/System.ComponentModel.Primitives.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/System.ComponentModel.Primitives.dll new file mode 100644 index 0000000..4d0d52a Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/System.ComponentModel.Primitives.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/System.ComponentModel.TypeConverter.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/System.ComponentModel.TypeConverter.dll new file mode 100644 index 0000000..a6e5d4c Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/System.ComponentModel.TypeConverter.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/System.ComponentModel.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/System.ComponentModel.dll new file mode 100644 index 0000000..1b9bffc Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/System.ComponentModel.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/System.Configuration.ConfigurationManager.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/System.Configuration.ConfigurationManager.dll new file mode 100644 index 0000000..88f1a97 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/System.Configuration.ConfigurationManager.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/System.Configuration.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/System.Configuration.dll new file mode 100644 index 0000000..956d719 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/System.Configuration.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/System.Console.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/System.Console.dll new file mode 100644 index 0000000..824b1ce Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/System.Console.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/System.Core.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/System.Core.dll new file mode 100644 index 0000000..9be45f3 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/System.Core.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/System.Data.Common.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/System.Data.Common.dll new file mode 100644 index 0000000..b17fcd3 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/System.Data.Common.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/System.Data.DataSetExtensions.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/System.Data.DataSetExtensions.dll new file mode 100644 index 0000000..74abe99 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/System.Data.DataSetExtensions.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/System.Data.SqlClient.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/System.Data.SqlClient.dll new file mode 100644 index 0000000..413faaa Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/System.Data.SqlClient.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/System.Data.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/System.Data.dll new file mode 100644 index 0000000..198c16c Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/System.Data.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/System.Diagnostics.Contracts.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/System.Diagnostics.Contracts.dll new file mode 100644 index 0000000..a0c058b Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/System.Diagnostics.Contracts.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/System.Diagnostics.Debug.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/System.Diagnostics.Debug.dll new file mode 100644 index 0000000..a258a24 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/System.Diagnostics.Debug.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/System.Diagnostics.DiagnosticSource.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/System.Diagnostics.DiagnosticSource.dll new file mode 100644 index 0000000..077f3d7 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/System.Diagnostics.DiagnosticSource.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/System.Diagnostics.EventLog.Messages.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/System.Diagnostics.EventLog.Messages.dll new file mode 100644 index 0000000..de7c7af Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/System.Diagnostics.EventLog.Messages.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/System.Diagnostics.EventLog.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/System.Diagnostics.EventLog.dll new file mode 100644 index 0000000..8ce147c Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/System.Diagnostics.EventLog.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/System.Diagnostics.FileVersionInfo.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/System.Diagnostics.FileVersionInfo.dll new file mode 100644 index 0000000..3ea3344 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/System.Diagnostics.FileVersionInfo.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/System.Diagnostics.PerformanceCounter.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/System.Diagnostics.PerformanceCounter.dll new file mode 100644 index 0000000..c5adc3e Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/System.Diagnostics.PerformanceCounter.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/System.Diagnostics.Process.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/System.Diagnostics.Process.dll new file mode 100644 index 0000000..17a2130 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/System.Diagnostics.Process.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/System.Diagnostics.StackTrace.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/System.Diagnostics.StackTrace.dll new file mode 100644 index 0000000..4a161f6 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/System.Diagnostics.StackTrace.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/System.Diagnostics.TextWriterTraceListener.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/System.Diagnostics.TextWriterTraceListener.dll new file mode 100644 index 0000000..0ae48d9 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/System.Diagnostics.TextWriterTraceListener.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/System.Diagnostics.Tools.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/System.Diagnostics.Tools.dll new file mode 100644 index 0000000..bbfc53b Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/System.Diagnostics.Tools.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/System.Diagnostics.TraceSource.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/System.Diagnostics.TraceSource.dll new file mode 100644 index 0000000..0d2ca21 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/System.Diagnostics.TraceSource.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/System.Diagnostics.Tracing.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/System.Diagnostics.Tracing.dll new file mode 100644 index 0000000..3a75eb3 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/System.Diagnostics.Tracing.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/System.DirectoryServices.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/System.DirectoryServices.dll new file mode 100644 index 0000000..acfdd01 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/System.DirectoryServices.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/System.Drawing.Primitives.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/System.Drawing.Primitives.dll new file mode 100644 index 0000000..736ce7c Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/System.Drawing.Primitives.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/System.Drawing.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/System.Drawing.dll new file mode 100644 index 0000000..508ca84 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/System.Drawing.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/System.Dynamic.Runtime.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/System.Dynamic.Runtime.dll new file mode 100644 index 0000000..40258a8 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/System.Dynamic.Runtime.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/System.Formats.Asn1.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/System.Formats.Asn1.dll new file mode 100644 index 0000000..1a2956d Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/System.Formats.Asn1.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/System.Formats.Nrbf.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/System.Formats.Nrbf.dll new file mode 100644 index 0000000..5b545f7 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/System.Formats.Nrbf.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/System.Formats.Tar.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/System.Formats.Tar.dll new file mode 100644 index 0000000..5f28167 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/System.Formats.Tar.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/System.Globalization.Calendars.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/System.Globalization.Calendars.dll new file mode 100644 index 0000000..53c8291 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/System.Globalization.Calendars.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/System.Globalization.Extensions.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/System.Globalization.Extensions.dll new file mode 100644 index 0000000..100c55e Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/System.Globalization.Extensions.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/System.Globalization.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/System.Globalization.dll new file mode 100644 index 0000000..d4c7893 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/System.Globalization.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/System.IO.Compression.Brotli.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/System.IO.Compression.Brotli.dll new file mode 100644 index 0000000..2e6c071 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/System.IO.Compression.Brotli.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/System.IO.Compression.FileSystem.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/System.IO.Compression.FileSystem.dll new file mode 100644 index 0000000..6e884ca Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/System.IO.Compression.FileSystem.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/System.IO.Compression.Native.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/System.IO.Compression.Native.dll new file mode 100644 index 0000000..d0bf354 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/System.IO.Compression.Native.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/System.IO.Compression.ZipFile.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/System.IO.Compression.ZipFile.dll new file mode 100644 index 0000000..12c4e97 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/System.IO.Compression.ZipFile.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/System.IO.Compression.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/System.IO.Compression.dll new file mode 100644 index 0000000..cb6d615 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/System.IO.Compression.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/System.IO.FileSystem.AccessControl.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/System.IO.FileSystem.AccessControl.dll new file mode 100644 index 0000000..21c7045 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/System.IO.FileSystem.AccessControl.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/System.IO.FileSystem.DriveInfo.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/System.IO.FileSystem.DriveInfo.dll new file mode 100644 index 0000000..86c70b2 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/System.IO.FileSystem.DriveInfo.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/System.IO.FileSystem.Primitives.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/System.IO.FileSystem.Primitives.dll new file mode 100644 index 0000000..9b60e61 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/System.IO.FileSystem.Primitives.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/System.IO.FileSystem.Watcher.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/System.IO.FileSystem.Watcher.dll new file mode 100644 index 0000000..8b8cc5f Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/System.IO.FileSystem.Watcher.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/System.IO.FileSystem.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/System.IO.FileSystem.dll new file mode 100644 index 0000000..333ae1c Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/System.IO.FileSystem.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/System.IO.IsolatedStorage.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/System.IO.IsolatedStorage.dll new file mode 100644 index 0000000..18ed728 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/System.IO.IsolatedStorage.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/System.IO.MemoryMappedFiles.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/System.IO.MemoryMappedFiles.dll new file mode 100644 index 0000000..b7ee7d0 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/System.IO.MemoryMappedFiles.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/System.IO.Packaging.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/System.IO.Packaging.dll new file mode 100644 index 0000000..20b3a8c Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/System.IO.Packaging.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/System.IO.Pipelines.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/System.IO.Pipelines.dll new file mode 100644 index 0000000..ea61b84 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/System.IO.Pipelines.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/System.IO.Pipes.AccessControl.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/System.IO.Pipes.AccessControl.dll new file mode 100644 index 0000000..c5a03ec Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/System.IO.Pipes.AccessControl.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/System.IO.Pipes.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/System.IO.Pipes.dll new file mode 100644 index 0000000..a22ba97 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/System.IO.Pipes.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/System.IO.Ports.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/System.IO.Ports.dll new file mode 100644 index 0000000..7db46fd Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/System.IO.Ports.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/System.IO.UnmanagedMemoryStream.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/System.IO.UnmanagedMemoryStream.dll new file mode 100644 index 0000000..37c681a Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/System.IO.UnmanagedMemoryStream.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/System.IO.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/System.IO.dll new file mode 100644 index 0000000..55859fa Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/System.IO.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/System.Linq.Expressions.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/System.Linq.Expressions.dll new file mode 100644 index 0000000..99cd2a7 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/System.Linq.Expressions.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/System.Linq.Parallel.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/System.Linq.Parallel.dll new file mode 100644 index 0000000..d07444b Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/System.Linq.Parallel.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/System.Linq.Queryable.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/System.Linq.Queryable.dll new file mode 100644 index 0000000..75081cc Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/System.Linq.Queryable.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/System.Linq.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/System.Linq.dll new file mode 100644 index 0000000..f947bb0 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/System.Linq.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/System.Memory.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/System.Memory.dll new file mode 100644 index 0000000..364b76a Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/System.Memory.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/System.Net.Http.Json.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/System.Net.Http.Json.dll new file mode 100644 index 0000000..7960fb4 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/System.Net.Http.Json.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/System.Net.Http.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/System.Net.Http.dll new file mode 100644 index 0000000..98a8d95 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/System.Net.Http.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/System.Net.HttpListener.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/System.Net.HttpListener.dll new file mode 100644 index 0000000..92a47ee Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/System.Net.HttpListener.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/System.Net.Mail.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/System.Net.Mail.dll new file mode 100644 index 0000000..583974b Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/System.Net.Mail.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/System.Net.NameResolution.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/System.Net.NameResolution.dll new file mode 100644 index 0000000..82ba3f5 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/System.Net.NameResolution.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/System.Net.NetworkInformation.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/System.Net.NetworkInformation.dll new file mode 100644 index 0000000..776fe45 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/System.Net.NetworkInformation.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/System.Net.Ping.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/System.Net.Ping.dll new file mode 100644 index 0000000..bdf904d Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/System.Net.Ping.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/System.Net.Primitives.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/System.Net.Primitives.dll new file mode 100644 index 0000000..5c68b56 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/System.Net.Primitives.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/System.Net.Quic.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/System.Net.Quic.dll new file mode 100644 index 0000000..a6174de Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/System.Net.Quic.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/System.Net.Requests.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/System.Net.Requests.dll new file mode 100644 index 0000000..461aaa8 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/System.Net.Requests.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/System.Net.Security.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/System.Net.Security.dll new file mode 100644 index 0000000..34546c0 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/System.Net.Security.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/System.Net.ServicePoint.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/System.Net.ServicePoint.dll new file mode 100644 index 0000000..e0d7e9a Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/System.Net.ServicePoint.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/System.Net.Sockets.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/System.Net.Sockets.dll new file mode 100644 index 0000000..cea61a4 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/System.Net.Sockets.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/System.Net.WebClient.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/System.Net.WebClient.dll new file mode 100644 index 0000000..327cca2 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/System.Net.WebClient.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/System.Net.WebHeaderCollection.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/System.Net.WebHeaderCollection.dll new file mode 100644 index 0000000..024c36f Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/System.Net.WebHeaderCollection.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/System.Net.WebProxy.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/System.Net.WebProxy.dll new file mode 100644 index 0000000..0bc3573 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/System.Net.WebProxy.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/System.Net.WebSockets.Client.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/System.Net.WebSockets.Client.dll new file mode 100644 index 0000000..81724c6 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/System.Net.WebSockets.Client.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/System.Net.WebSockets.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/System.Net.WebSockets.dll new file mode 100644 index 0000000..1b311e2 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/System.Net.WebSockets.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/System.Net.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/System.Net.dll new file mode 100644 index 0000000..e2eb39d Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/System.Net.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/System.Numerics.Vectors.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/System.Numerics.Vectors.dll new file mode 100644 index 0000000..d5f9c9c Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/System.Numerics.Vectors.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/System.Numerics.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/System.Numerics.dll new file mode 100644 index 0000000..872c6e6 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/System.Numerics.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/System.ObjectModel.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/System.ObjectModel.dll new file mode 100644 index 0000000..9509445 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/System.ObjectModel.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/System.Printing.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/System.Printing.dll new file mode 100644 index 0000000..fb10b93 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/System.Printing.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/System.Private.CoreLib.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/System.Private.CoreLib.dll new file mode 100644 index 0000000..b6ed7ae Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/System.Private.CoreLib.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/System.Private.DataContractSerialization.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/System.Private.DataContractSerialization.dll new file mode 100644 index 0000000..6a2fbe8 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/System.Private.DataContractSerialization.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/System.Private.Uri.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/System.Private.Uri.dll new file mode 100644 index 0000000..a2c042d Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/System.Private.Uri.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/System.Private.Xml.Linq.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/System.Private.Xml.Linq.dll new file mode 100644 index 0000000..5f22a52 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/System.Private.Xml.Linq.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/System.Private.Xml.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/System.Private.Xml.dll new file mode 100644 index 0000000..4236578 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/System.Private.Xml.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/System.Reflection.DispatchProxy.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/System.Reflection.DispatchProxy.dll new file mode 100644 index 0000000..696c110 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/System.Reflection.DispatchProxy.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/System.Reflection.Emit.ILGeneration.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/System.Reflection.Emit.ILGeneration.dll new file mode 100644 index 0000000..e73b3de Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/System.Reflection.Emit.ILGeneration.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/System.Reflection.Emit.Lightweight.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/System.Reflection.Emit.Lightweight.dll new file mode 100644 index 0000000..a05d920 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/System.Reflection.Emit.Lightweight.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/System.Reflection.Emit.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/System.Reflection.Emit.dll new file mode 100644 index 0000000..fc5329f Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/System.Reflection.Emit.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/System.Reflection.Extensions.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/System.Reflection.Extensions.dll new file mode 100644 index 0000000..5c2a446 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/System.Reflection.Extensions.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/System.Reflection.Metadata.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/System.Reflection.Metadata.dll new file mode 100644 index 0000000..fb7418d Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/System.Reflection.Metadata.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/System.Reflection.Primitives.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/System.Reflection.Primitives.dll new file mode 100644 index 0000000..971bb47 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/System.Reflection.Primitives.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/System.Reflection.TypeExtensions.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/System.Reflection.TypeExtensions.dll new file mode 100644 index 0000000..74b8eeb Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/System.Reflection.TypeExtensions.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/System.Reflection.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/System.Reflection.dll new file mode 100644 index 0000000..815fc03 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/System.Reflection.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/System.Resources.Extensions.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/System.Resources.Extensions.dll new file mode 100644 index 0000000..fce0a7d Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/System.Resources.Extensions.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/System.Resources.Reader.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/System.Resources.Reader.dll new file mode 100644 index 0000000..7a5b724 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/System.Resources.Reader.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/System.Resources.ResourceManager.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/System.Resources.ResourceManager.dll new file mode 100644 index 0000000..9102b3b Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/System.Resources.ResourceManager.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/System.Resources.Writer.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/System.Resources.Writer.dll new file mode 100644 index 0000000..f314015 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/System.Resources.Writer.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/System.Runtime.CompilerServices.Unsafe.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/System.Runtime.CompilerServices.Unsafe.dll new file mode 100644 index 0000000..2f59c5e Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/System.Runtime.CompilerServices.Unsafe.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/System.Runtime.CompilerServices.VisualC.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/System.Runtime.CompilerServices.VisualC.dll new file mode 100644 index 0000000..d4ff9a2 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/System.Runtime.CompilerServices.VisualC.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/System.Runtime.Extensions.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/System.Runtime.Extensions.dll new file mode 100644 index 0000000..2e7f0a9 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/System.Runtime.Extensions.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/System.Runtime.Handles.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/System.Runtime.Handles.dll new file mode 100644 index 0000000..285c59d Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/System.Runtime.Handles.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/System.Runtime.InteropServices.JavaScript.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/System.Runtime.InteropServices.JavaScript.dll new file mode 100644 index 0000000..fda7436 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/System.Runtime.InteropServices.JavaScript.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/System.Runtime.InteropServices.RuntimeInformation.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/System.Runtime.InteropServices.RuntimeInformation.dll new file mode 100644 index 0000000..d7f6f2d Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/System.Runtime.InteropServices.RuntimeInformation.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/System.Runtime.InteropServices.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/System.Runtime.InteropServices.dll new file mode 100644 index 0000000..9b857d6 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/System.Runtime.InteropServices.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/System.Runtime.Intrinsics.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/System.Runtime.Intrinsics.dll new file mode 100644 index 0000000..2d8abe6 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/System.Runtime.Intrinsics.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/System.Runtime.Loader.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/System.Runtime.Loader.dll new file mode 100644 index 0000000..d1d6ac5 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/System.Runtime.Loader.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/System.Runtime.Numerics.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/System.Runtime.Numerics.dll new file mode 100644 index 0000000..e81b362 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/System.Runtime.Numerics.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/System.Runtime.Serialization.Formatters.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/System.Runtime.Serialization.Formatters.dll new file mode 100644 index 0000000..0c22137 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/System.Runtime.Serialization.Formatters.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/System.Runtime.Serialization.Json.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/System.Runtime.Serialization.Json.dll new file mode 100644 index 0000000..ee033d5 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/System.Runtime.Serialization.Json.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/System.Runtime.Serialization.Primitives.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/System.Runtime.Serialization.Primitives.dll new file mode 100644 index 0000000..eee70fa Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/System.Runtime.Serialization.Primitives.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/System.Runtime.Serialization.Xml.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/System.Runtime.Serialization.Xml.dll new file mode 100644 index 0000000..e389c12 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/System.Runtime.Serialization.Xml.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/System.Runtime.Serialization.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/System.Runtime.Serialization.dll new file mode 100644 index 0000000..bf16759 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/System.Runtime.Serialization.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/System.Runtime.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/System.Runtime.dll new file mode 100644 index 0000000..398def5 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/System.Runtime.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/System.Security.AccessControl.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/System.Security.AccessControl.dll new file mode 100644 index 0000000..bb2f5d1 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/System.Security.AccessControl.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/System.Security.Claims.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/System.Security.Claims.dll new file mode 100644 index 0000000..d66372a Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/System.Security.Claims.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/System.Security.Cryptography.Algorithms.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/System.Security.Cryptography.Algorithms.dll new file mode 100644 index 0000000..243d82e Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/System.Security.Cryptography.Algorithms.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/System.Security.Cryptography.Cng.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/System.Security.Cryptography.Cng.dll new file mode 100644 index 0000000..0c1408b Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/System.Security.Cryptography.Cng.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/System.Security.Cryptography.Csp.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/System.Security.Cryptography.Csp.dll new file mode 100644 index 0000000..65cfc8c Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/System.Security.Cryptography.Csp.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/System.Security.Cryptography.Encoding.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/System.Security.Cryptography.Encoding.dll new file mode 100644 index 0000000..dc82ed1 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/System.Security.Cryptography.Encoding.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/System.Security.Cryptography.OpenSsl.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/System.Security.Cryptography.OpenSsl.dll new file mode 100644 index 0000000..533b945 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/System.Security.Cryptography.OpenSsl.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/System.Security.Cryptography.Pkcs.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/System.Security.Cryptography.Pkcs.dll new file mode 100644 index 0000000..c354f36 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/System.Security.Cryptography.Pkcs.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/System.Security.Cryptography.Primitives.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/System.Security.Cryptography.Primitives.dll new file mode 100644 index 0000000..8a6216d Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/System.Security.Cryptography.Primitives.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/System.Security.Cryptography.ProtectedData.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/System.Security.Cryptography.ProtectedData.dll new file mode 100644 index 0000000..33d64b8 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/System.Security.Cryptography.ProtectedData.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/System.Security.Cryptography.X509Certificates.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/System.Security.Cryptography.X509Certificates.dll new file mode 100644 index 0000000..768ac3e Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/System.Security.Cryptography.X509Certificates.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/System.Security.Cryptography.Xml.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/System.Security.Cryptography.Xml.dll new file mode 100644 index 0000000..2a95379 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/System.Security.Cryptography.Xml.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/System.Security.Cryptography.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/System.Security.Cryptography.dll new file mode 100644 index 0000000..dc2e012 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/System.Security.Cryptography.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/System.Security.Permissions.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/System.Security.Permissions.dll new file mode 100644 index 0000000..210c9d7 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/System.Security.Permissions.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/System.Security.Principal.Windows.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/System.Security.Principal.Windows.dll new file mode 100644 index 0000000..db922f1 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/System.Security.Principal.Windows.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/System.Security.Principal.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/System.Security.Principal.dll new file mode 100644 index 0000000..4e95677 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/System.Security.Principal.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/System.Security.SecureString.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/System.Security.SecureString.dll new file mode 100644 index 0000000..60ed674 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/System.Security.SecureString.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/System.Security.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/System.Security.dll new file mode 100644 index 0000000..0b111ed Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/System.Security.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/System.ServiceModel.Web.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/System.ServiceModel.Web.dll new file mode 100644 index 0000000..363cd00 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/System.ServiceModel.Web.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/System.ServiceProcess.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/System.ServiceProcess.dll new file mode 100644 index 0000000..facbe7c Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/System.ServiceProcess.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/System.Text.Encoding.CodePages.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/System.Text.Encoding.CodePages.dll new file mode 100644 index 0000000..a4922fc Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/System.Text.Encoding.CodePages.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/System.Text.Encoding.Extensions.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/System.Text.Encoding.Extensions.dll new file mode 100644 index 0000000..30359a1 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/System.Text.Encoding.Extensions.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/System.Text.Encoding.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/System.Text.Encoding.dll new file mode 100644 index 0000000..38f6821 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/System.Text.Encoding.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/System.Text.Encodings.Web.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/System.Text.Encodings.Web.dll new file mode 100644 index 0000000..e78b638 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/System.Text.Encodings.Web.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/System.Text.Json.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/System.Text.Json.dll new file mode 100644 index 0000000..c7aad6b Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/System.Text.Json.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/System.Text.RegularExpressions.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/System.Text.RegularExpressions.dll new file mode 100644 index 0000000..6c9b4c9 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/System.Text.RegularExpressions.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/System.Threading.AccessControl.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/System.Threading.AccessControl.dll new file mode 100644 index 0000000..8325450 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/System.Threading.AccessControl.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/System.Threading.Channels.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/System.Threading.Channels.dll new file mode 100644 index 0000000..6fcd2bb Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/System.Threading.Channels.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/System.Threading.Overlapped.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/System.Threading.Overlapped.dll new file mode 100644 index 0000000..846a2dd Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/System.Threading.Overlapped.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/System.Threading.Tasks.Dataflow.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/System.Threading.Tasks.Dataflow.dll new file mode 100644 index 0000000..cab734f Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/System.Threading.Tasks.Dataflow.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/System.Threading.Tasks.Extensions.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/System.Threading.Tasks.Extensions.dll new file mode 100644 index 0000000..e453c5c Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/System.Threading.Tasks.Extensions.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/System.Threading.Tasks.Parallel.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/System.Threading.Tasks.Parallel.dll new file mode 100644 index 0000000..6b14c75 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/System.Threading.Tasks.Parallel.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/System.Threading.Tasks.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/System.Threading.Tasks.dll new file mode 100644 index 0000000..3a2b107 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/System.Threading.Tasks.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/System.Threading.Thread.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/System.Threading.Thread.dll new file mode 100644 index 0000000..8b0ed21 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/System.Threading.Thread.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/System.Threading.ThreadPool.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/System.Threading.ThreadPool.dll new file mode 100644 index 0000000..dea32eb Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/System.Threading.ThreadPool.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/System.Threading.Timer.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/System.Threading.Timer.dll new file mode 100644 index 0000000..825a808 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/System.Threading.Timer.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/System.Threading.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/System.Threading.dll new file mode 100644 index 0000000..370e3ab Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/System.Threading.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/System.Transactions.Local.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/System.Transactions.Local.dll new file mode 100644 index 0000000..f9b33ed Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/System.Transactions.Local.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/System.Transactions.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/System.Transactions.dll new file mode 100644 index 0000000..77e1e8a Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/System.Transactions.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/System.ValueTuple.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/System.ValueTuple.dll new file mode 100644 index 0000000..fd1db8b Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/System.ValueTuple.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/System.Web.HttpUtility.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/System.Web.HttpUtility.dll new file mode 100644 index 0000000..c793087 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/System.Web.HttpUtility.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/System.Web.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/System.Web.dll new file mode 100644 index 0000000..6232ed3 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/System.Web.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/System.Windows.Controls.Ribbon.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/System.Windows.Controls.Ribbon.dll new file mode 100644 index 0000000..fbeb02c Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/System.Windows.Controls.Ribbon.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/System.Windows.Extensions.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/System.Windows.Extensions.dll new file mode 100644 index 0000000..135c09d Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/System.Windows.Extensions.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/System.Windows.Input.Manipulations.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/System.Windows.Input.Manipulations.dll new file mode 100644 index 0000000..7b7d847 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/System.Windows.Input.Manipulations.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/System.Windows.Presentation.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/System.Windows.Presentation.dll new file mode 100644 index 0000000..e34bc55 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/System.Windows.Presentation.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/System.Windows.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/System.Windows.dll new file mode 100644 index 0000000..1edff58 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/System.Windows.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/System.Xaml.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/System.Xaml.dll new file mode 100644 index 0000000..4b7474d Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/System.Xaml.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/System.Xml.Linq.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/System.Xml.Linq.dll new file mode 100644 index 0000000..bde3175 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/System.Xml.Linq.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/System.Xml.ReaderWriter.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/System.Xml.ReaderWriter.dll new file mode 100644 index 0000000..9757625 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/System.Xml.ReaderWriter.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/System.Xml.Serialization.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/System.Xml.Serialization.dll new file mode 100644 index 0000000..e0fb15b Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/System.Xml.Serialization.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/System.Xml.XDocument.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/System.Xml.XDocument.dll new file mode 100644 index 0000000..2e0fee4 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/System.Xml.XDocument.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/System.Xml.XPath.XDocument.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/System.Xml.XPath.XDocument.dll new file mode 100644 index 0000000..fe3b04e Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/System.Xml.XPath.XDocument.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/System.Xml.XPath.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/System.Xml.XPath.dll new file mode 100644 index 0000000..eeb2614 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/System.Xml.XPath.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/System.Xml.XmlDocument.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/System.Xml.XmlDocument.dll new file mode 100644 index 0000000..9d0a2d7 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/System.Xml.XmlDocument.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/System.Xml.XmlSerializer.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/System.Xml.XmlSerializer.dll new file mode 100644 index 0000000..779fdef Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/System.Xml.XmlSerializer.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/System.Xml.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/System.Xml.dll new file mode 100644 index 0000000..5185c79 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/System.Xml.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/System.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/System.dll new file mode 100644 index 0000000..9215aaf Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/System.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/UIAutomationClient.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/UIAutomationClient.dll new file mode 100644 index 0000000..c8ead13 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/UIAutomationClient.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/UIAutomationClientSideProviders.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/UIAutomationClientSideProviders.dll new file mode 100644 index 0000000..146d8e1 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/UIAutomationClientSideProviders.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/UIAutomationProvider.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/UIAutomationProvider.dll new file mode 100644 index 0000000..4a701f6 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/UIAutomationProvider.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/UIAutomationTypes.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/UIAutomationTypes.dll new file mode 100644 index 0000000..f666f7e Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/UIAutomationTypes.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/WindowsBase.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/WindowsBase.dll new file mode 100644 index 0000000..8ce878a Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/WindowsBase.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/clretwrc.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/clretwrc.dll new file mode 100644 index 0000000..b115866 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/clretwrc.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/clrgc.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/clrgc.dll new file mode 100644 index 0000000..2775ecb Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/clrgc.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/clrjit.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/clrjit.dll new file mode 100644 index 0000000..e51adf3 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/clrjit.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/coreclr.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/coreclr.dll new file mode 100644 index 0000000..101340e Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/coreclr.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/createdump.exe b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/createdump.exe new file mode 100644 index 0000000..2877697 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/createdump.exe differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/cs/PresentationCore.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/cs/PresentationCore.resources.dll new file mode 100644 index 0000000..9be4835 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/cs/PresentationCore.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/cs/PresentationFramework.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/cs/PresentationFramework.resources.dll new file mode 100644 index 0000000..9fe2608 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/cs/PresentationFramework.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/cs/PresentationUI.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/cs/PresentationUI.resources.dll new file mode 100644 index 0000000..46cf353 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/cs/PresentationUI.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/cs/ReachFramework.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/cs/ReachFramework.resources.dll new file mode 100644 index 0000000..e9a04d6 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/cs/ReachFramework.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/cs/System.Windows.Controls.Ribbon.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/cs/System.Windows.Controls.Ribbon.resources.dll new file mode 100644 index 0000000..bf1d104 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/cs/System.Windows.Controls.Ribbon.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/cs/System.Windows.Input.Manipulations.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/cs/System.Windows.Input.Manipulations.resources.dll new file mode 100644 index 0000000..cdd0005 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/cs/System.Windows.Input.Manipulations.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/cs/System.Xaml.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/cs/System.Xaml.resources.dll new file mode 100644 index 0000000..5c1ca19 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/cs/System.Xaml.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/cs/UIAutomationClient.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/cs/UIAutomationClient.resources.dll new file mode 100644 index 0000000..a76c89f Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/cs/UIAutomationClient.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/cs/UIAutomationClientSideProviders.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/cs/UIAutomationClientSideProviders.resources.dll new file mode 100644 index 0000000..b34f427 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/cs/UIAutomationClientSideProviders.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/cs/UIAutomationProvider.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/cs/UIAutomationProvider.resources.dll new file mode 100644 index 0000000..4ba87fc Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/cs/UIAutomationProvider.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/cs/UIAutomationTypes.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/cs/UIAutomationTypes.resources.dll new file mode 100644 index 0000000..5efdb7f Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/cs/UIAutomationTypes.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/cs/WindowsBase.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/cs/WindowsBase.resources.dll new file mode 100644 index 0000000..58e7397 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/cs/WindowsBase.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/de/PresentationCore.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/de/PresentationCore.resources.dll new file mode 100644 index 0000000..71e0d63 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/de/PresentationCore.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/de/PresentationFramework.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/de/PresentationFramework.resources.dll new file mode 100644 index 0000000..596cae5 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/de/PresentationFramework.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/de/PresentationUI.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/de/PresentationUI.resources.dll new file mode 100644 index 0000000..d3f4ace Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/de/PresentationUI.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/de/ReachFramework.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/de/ReachFramework.resources.dll new file mode 100644 index 0000000..5e5627d Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/de/ReachFramework.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/de/System.Windows.Controls.Ribbon.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/de/System.Windows.Controls.Ribbon.resources.dll new file mode 100644 index 0000000..9e214de Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/de/System.Windows.Controls.Ribbon.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/de/System.Windows.Input.Manipulations.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/de/System.Windows.Input.Manipulations.resources.dll new file mode 100644 index 0000000..b60743f Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/de/System.Windows.Input.Manipulations.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/de/System.Xaml.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/de/System.Xaml.resources.dll new file mode 100644 index 0000000..94f6f66 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/de/System.Xaml.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/de/UIAutomationClient.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/de/UIAutomationClient.resources.dll new file mode 100644 index 0000000..5efd57a Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/de/UIAutomationClient.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/de/UIAutomationClientSideProviders.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/de/UIAutomationClientSideProviders.resources.dll new file mode 100644 index 0000000..5629097 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/de/UIAutomationClientSideProviders.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/de/UIAutomationProvider.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/de/UIAutomationProvider.resources.dll new file mode 100644 index 0000000..07e7c86 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/de/UIAutomationProvider.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/de/UIAutomationTypes.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/de/UIAutomationTypes.resources.dll new file mode 100644 index 0000000..c8de215 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/de/UIAutomationTypes.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/de/WindowsBase.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/de/WindowsBase.resources.dll new file mode 100644 index 0000000..ca85f79 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/de/WindowsBase.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/es/PresentationCore.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/es/PresentationCore.resources.dll new file mode 100644 index 0000000..257dae8 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/es/PresentationCore.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/es/PresentationFramework.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/es/PresentationFramework.resources.dll new file mode 100644 index 0000000..ff3cf89 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/es/PresentationFramework.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/es/PresentationUI.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/es/PresentationUI.resources.dll new file mode 100644 index 0000000..816c26d Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/es/PresentationUI.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/es/ReachFramework.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/es/ReachFramework.resources.dll new file mode 100644 index 0000000..62ab0b6 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/es/ReachFramework.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/es/System.Windows.Controls.Ribbon.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/es/System.Windows.Controls.Ribbon.resources.dll new file mode 100644 index 0000000..b4242c0 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/es/System.Windows.Controls.Ribbon.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/es/System.Windows.Input.Manipulations.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/es/System.Windows.Input.Manipulations.resources.dll new file mode 100644 index 0000000..c49dd47 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/es/System.Windows.Input.Manipulations.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/es/System.Xaml.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/es/System.Xaml.resources.dll new file mode 100644 index 0000000..074df55 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/es/System.Xaml.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/es/UIAutomationClient.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/es/UIAutomationClient.resources.dll new file mode 100644 index 0000000..f2a57f0 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/es/UIAutomationClient.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/es/UIAutomationClientSideProviders.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/es/UIAutomationClientSideProviders.resources.dll new file mode 100644 index 0000000..a71e212 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/es/UIAutomationClientSideProviders.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/es/UIAutomationProvider.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/es/UIAutomationProvider.resources.dll new file mode 100644 index 0000000..38c7581 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/es/UIAutomationProvider.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/es/UIAutomationTypes.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/es/UIAutomationTypes.resources.dll new file mode 100644 index 0000000..a60e5f4 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/es/UIAutomationTypes.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/es/WindowsBase.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/es/WindowsBase.resources.dll new file mode 100644 index 0000000..690e99f Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/es/WindowsBase.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/fr/PresentationCore.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/fr/PresentationCore.resources.dll new file mode 100644 index 0000000..733fb39 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/fr/PresentationCore.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/fr/PresentationFramework.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/fr/PresentationFramework.resources.dll new file mode 100644 index 0000000..c6318f6 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/fr/PresentationFramework.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/fr/PresentationUI.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/fr/PresentationUI.resources.dll new file mode 100644 index 0000000..64dbec2 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/fr/PresentationUI.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/fr/ReachFramework.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/fr/ReachFramework.resources.dll new file mode 100644 index 0000000..671e5b7 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/fr/ReachFramework.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/fr/System.Windows.Controls.Ribbon.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/fr/System.Windows.Controls.Ribbon.resources.dll new file mode 100644 index 0000000..7141fbd Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/fr/System.Windows.Controls.Ribbon.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/fr/System.Windows.Input.Manipulations.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/fr/System.Windows.Input.Manipulations.resources.dll new file mode 100644 index 0000000..81a6400 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/fr/System.Windows.Input.Manipulations.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/fr/System.Xaml.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/fr/System.Xaml.resources.dll new file mode 100644 index 0000000..74299a7 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/fr/System.Xaml.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/fr/UIAutomationClient.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/fr/UIAutomationClient.resources.dll new file mode 100644 index 0000000..b900b20 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/fr/UIAutomationClient.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/fr/UIAutomationClientSideProviders.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/fr/UIAutomationClientSideProviders.resources.dll new file mode 100644 index 0000000..f4b90c6 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/fr/UIAutomationClientSideProviders.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/fr/UIAutomationProvider.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/fr/UIAutomationProvider.resources.dll new file mode 100644 index 0000000..b0d7fca Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/fr/UIAutomationProvider.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/fr/UIAutomationTypes.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/fr/UIAutomationTypes.resources.dll new file mode 100644 index 0000000..7ba9a85 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/fr/UIAutomationTypes.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/fr/WindowsBase.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/fr/WindowsBase.resources.dll new file mode 100644 index 0000000..3955a19 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/fr/WindowsBase.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/hostfxr.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/hostfxr.dll new file mode 100644 index 0000000..e7c1a7b Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/hostfxr.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/hostpolicy.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/hostpolicy.dll new file mode 100644 index 0000000..0f3ac4b Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/hostpolicy.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/it/PresentationCore.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/it/PresentationCore.resources.dll new file mode 100644 index 0000000..f2d674f Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/it/PresentationCore.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/it/PresentationFramework.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/it/PresentationFramework.resources.dll new file mode 100644 index 0000000..ba5fe2e Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/it/PresentationFramework.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/it/PresentationUI.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/it/PresentationUI.resources.dll new file mode 100644 index 0000000..1d4e2ca Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/it/PresentationUI.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/it/ReachFramework.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/it/ReachFramework.resources.dll new file mode 100644 index 0000000..7a6bf1e Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/it/ReachFramework.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/it/System.Windows.Controls.Ribbon.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/it/System.Windows.Controls.Ribbon.resources.dll new file mode 100644 index 0000000..3d49580 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/it/System.Windows.Controls.Ribbon.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/it/System.Windows.Input.Manipulations.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/it/System.Windows.Input.Manipulations.resources.dll new file mode 100644 index 0000000..38331f8 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/it/System.Windows.Input.Manipulations.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/it/System.Xaml.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/it/System.Xaml.resources.dll new file mode 100644 index 0000000..0a98ac3 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/it/System.Xaml.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/it/UIAutomationClient.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/it/UIAutomationClient.resources.dll new file mode 100644 index 0000000..a3207eb Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/it/UIAutomationClient.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/it/UIAutomationClientSideProviders.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/it/UIAutomationClientSideProviders.resources.dll new file mode 100644 index 0000000..74ab20b Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/it/UIAutomationClientSideProviders.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/it/UIAutomationProvider.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/it/UIAutomationProvider.resources.dll new file mode 100644 index 0000000..7f3316e Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/it/UIAutomationProvider.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/it/UIAutomationTypes.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/it/UIAutomationTypes.resources.dll new file mode 100644 index 0000000..b59d181 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/it/UIAutomationTypes.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/it/WindowsBase.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/it/WindowsBase.resources.dll new file mode 100644 index 0000000..dd47908 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/it/WindowsBase.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/ja/PresentationCore.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/ja/PresentationCore.resources.dll new file mode 100644 index 0000000..9f4daed Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/ja/PresentationCore.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/ja/PresentationFramework.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/ja/PresentationFramework.resources.dll new file mode 100644 index 0000000..bffdb14 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/ja/PresentationFramework.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/ja/PresentationUI.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/ja/PresentationUI.resources.dll new file mode 100644 index 0000000..546f182 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/ja/PresentationUI.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/ja/ReachFramework.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/ja/ReachFramework.resources.dll new file mode 100644 index 0000000..c4c001d Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/ja/ReachFramework.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/ja/System.Windows.Controls.Ribbon.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/ja/System.Windows.Controls.Ribbon.resources.dll new file mode 100644 index 0000000..ffcfa52 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/ja/System.Windows.Controls.Ribbon.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/ja/System.Windows.Input.Manipulations.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/ja/System.Windows.Input.Manipulations.resources.dll new file mode 100644 index 0000000..2ca50bc Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/ja/System.Windows.Input.Manipulations.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/ja/System.Xaml.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/ja/System.Xaml.resources.dll new file mode 100644 index 0000000..9601962 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/ja/System.Xaml.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/ja/UIAutomationClient.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/ja/UIAutomationClient.resources.dll new file mode 100644 index 0000000..b75dad0 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/ja/UIAutomationClient.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/ja/UIAutomationClientSideProviders.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/ja/UIAutomationClientSideProviders.resources.dll new file mode 100644 index 0000000..5860fdd Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/ja/UIAutomationClientSideProviders.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/ja/UIAutomationProvider.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/ja/UIAutomationProvider.resources.dll new file mode 100644 index 0000000..1d35fb3 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/ja/UIAutomationProvider.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/ja/UIAutomationTypes.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/ja/UIAutomationTypes.resources.dll new file mode 100644 index 0000000..d261659 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/ja/UIAutomationTypes.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/ja/WindowsBase.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/ja/WindowsBase.resources.dll new file mode 100644 index 0000000..e1a2449 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/ja/WindowsBase.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/ko/PresentationCore.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/ko/PresentationCore.resources.dll new file mode 100644 index 0000000..67ffff7 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/ko/PresentationCore.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/ko/PresentationFramework.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/ko/PresentationFramework.resources.dll new file mode 100644 index 0000000..3e948ae Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/ko/PresentationFramework.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/ko/PresentationUI.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/ko/PresentationUI.resources.dll new file mode 100644 index 0000000..6f29b69 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/ko/PresentationUI.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/ko/ReachFramework.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/ko/ReachFramework.resources.dll new file mode 100644 index 0000000..3fc2ce6 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/ko/ReachFramework.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/ko/System.Windows.Controls.Ribbon.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/ko/System.Windows.Controls.Ribbon.resources.dll new file mode 100644 index 0000000..dd03828 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/ko/System.Windows.Controls.Ribbon.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/ko/System.Windows.Input.Manipulations.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/ko/System.Windows.Input.Manipulations.resources.dll new file mode 100644 index 0000000..a1e8ce6 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/ko/System.Windows.Input.Manipulations.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/ko/System.Xaml.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/ko/System.Xaml.resources.dll new file mode 100644 index 0000000..e593bbf Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/ko/System.Xaml.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/ko/UIAutomationClient.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/ko/UIAutomationClient.resources.dll new file mode 100644 index 0000000..6321cd4 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/ko/UIAutomationClient.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/ko/UIAutomationClientSideProviders.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/ko/UIAutomationClientSideProviders.resources.dll new file mode 100644 index 0000000..de3a54d Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/ko/UIAutomationClientSideProviders.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/ko/UIAutomationProvider.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/ko/UIAutomationProvider.resources.dll new file mode 100644 index 0000000..6fc383f Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/ko/UIAutomationProvider.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/ko/UIAutomationTypes.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/ko/UIAutomationTypes.resources.dll new file mode 100644 index 0000000..3e222b9 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/ko/UIAutomationTypes.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/ko/WindowsBase.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/ko/WindowsBase.resources.dll new file mode 100644 index 0000000..f300cdb Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/ko/WindowsBase.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/leak_test_project.deps.json b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/leak_test_project.deps.json new file mode 100644 index 0000000..33195f2 --- /dev/null +++ b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/leak_test_project.deps.json @@ -0,0 +1,1043 @@ +{ + "runtimeTarget": { + "name": ".NETCoreApp,Version=v9.0/win-x86", + "signature": "" + }, + "compilationOptions": {}, + "targets": { + ".NETCoreApp,Version=v9.0": {}, + ".NETCoreApp,Version=v9.0/win-x86": { + "leak_test_project/1.0.0": { + "dependencies": { + "Microsoft.VisualStudio.Setup.Configuration.Interop": "3.14.2075", + "System.Data.SqlClient": "4.9.0", + "System.IO.Ports": "9.0.0", + "runtimepack.Microsoft.NETCore.App.Runtime.win-x86": "9.0.17", + "runtimepack.Microsoft.WindowsDesktop.App.Runtime.win-x86": "9.0.17" + }, + "runtime": { + "leak_test_project.dll": {} + } + }, + "runtimepack.Microsoft.NETCore.App.Runtime.win-x86/9.0.17": { + "runtime": { + "Microsoft.CSharp.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "Microsoft.VisualBasic.Core.dll": { + "assemblyVersion": "14.0.0.0", + "fileVersion": "14.0.1726.26416" + }, + "Microsoft.VisualBasic.dll": { + "assemblyVersion": "10.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "Microsoft.Win32.Primitives.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "Microsoft.Win32.Registry.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.AppContext.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.Buffers.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.Collections.Concurrent.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.Collections.Immutable.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.Collections.NonGeneric.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.Collections.Specialized.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.Collections.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.ComponentModel.Annotations.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.ComponentModel.DataAnnotations.dll": { + "assemblyVersion": "4.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.ComponentModel.EventBasedAsync.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.ComponentModel.Primitives.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.ComponentModel.TypeConverter.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.ComponentModel.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.Configuration.dll": { + "assemblyVersion": "4.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.Console.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.Core.dll": { + "assemblyVersion": "4.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.Data.Common.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.Data.DataSetExtensions.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.Data.dll": { + "assemblyVersion": "4.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.Diagnostics.Contracts.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.Diagnostics.Debug.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.Diagnostics.DiagnosticSource.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.Diagnostics.FileVersionInfo.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.Diagnostics.Process.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.Diagnostics.StackTrace.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.Diagnostics.TextWriterTraceListener.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.Diagnostics.Tools.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.Diagnostics.TraceSource.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.Diagnostics.Tracing.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.Drawing.Primitives.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.Drawing.dll": { + "assemblyVersion": "4.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.Dynamic.Runtime.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.Formats.Asn1.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.Formats.Tar.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.Globalization.Calendars.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.Globalization.Extensions.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.Globalization.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.IO.Compression.Brotli.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.IO.Compression.FileSystem.dll": { + "assemblyVersion": "4.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.IO.Compression.ZipFile.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.IO.Compression.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.IO.FileSystem.AccessControl.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.IO.FileSystem.DriveInfo.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.IO.FileSystem.Primitives.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.IO.FileSystem.Watcher.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.IO.FileSystem.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.IO.IsolatedStorage.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.IO.MemoryMappedFiles.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.IO.Pipelines.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.IO.Pipes.AccessControl.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.IO.Pipes.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.IO.UnmanagedMemoryStream.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.IO.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.Linq.Expressions.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.Linq.Parallel.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.Linq.Queryable.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.Linq.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.Memory.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.Net.Http.Json.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.Net.Http.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.Net.HttpListener.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.Net.Mail.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.Net.NameResolution.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.Net.NetworkInformation.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.Net.Ping.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.Net.Primitives.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.Net.Quic.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.Net.Requests.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.Net.Security.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.Net.ServicePoint.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.Net.Sockets.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.Net.WebClient.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.Net.WebHeaderCollection.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.Net.WebProxy.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.Net.WebSockets.Client.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.Net.WebSockets.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.Net.dll": { + "assemblyVersion": "4.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.Numerics.Vectors.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.Numerics.dll": { + "assemblyVersion": "4.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.ObjectModel.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.Private.CoreLib.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.Private.DataContractSerialization.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.Private.Uri.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.Private.Xml.Linq.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.Private.Xml.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.Reflection.DispatchProxy.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.Reflection.Emit.ILGeneration.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.Reflection.Emit.Lightweight.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.Reflection.Emit.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.Reflection.Extensions.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.Reflection.Metadata.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.Reflection.Primitives.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.Reflection.TypeExtensions.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.Reflection.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.Resources.Reader.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.Resources.ResourceManager.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.Resources.Writer.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.Runtime.CompilerServices.Unsafe.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.Runtime.CompilerServices.VisualC.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.Runtime.Extensions.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.Runtime.Handles.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.Runtime.InteropServices.JavaScript.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.Runtime.InteropServices.RuntimeInformation.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.Runtime.InteropServices.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.Runtime.Intrinsics.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.Runtime.Loader.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.Runtime.Numerics.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.Runtime.Serialization.Formatters.dll": { + "assemblyVersion": "8.1.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.Runtime.Serialization.Json.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.Runtime.Serialization.Primitives.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.Runtime.Serialization.Xml.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.Runtime.Serialization.dll": { + "assemblyVersion": "4.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.Runtime.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.Security.AccessControl.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.Security.Claims.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.Security.Cryptography.Algorithms.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.Security.Cryptography.Cng.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.Security.Cryptography.Csp.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.Security.Cryptography.Encoding.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.Security.Cryptography.OpenSsl.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.Security.Cryptography.Primitives.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.Security.Cryptography.X509Certificates.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.Security.Cryptography.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.Security.Principal.Windows.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.Security.Principal.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.Security.SecureString.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.Security.dll": { + "assemblyVersion": "4.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.ServiceModel.Web.dll": { + "assemblyVersion": "4.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.ServiceProcess.dll": { + "assemblyVersion": "4.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.Text.Encoding.CodePages.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.Text.Encoding.Extensions.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.Text.Encoding.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.Text.Encodings.Web.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.Text.Json.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.Text.RegularExpressions.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.Threading.Channels.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.Threading.Overlapped.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.Threading.Tasks.Dataflow.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.Threading.Tasks.Extensions.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.Threading.Tasks.Parallel.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.Threading.Tasks.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.Threading.Thread.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.Threading.ThreadPool.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.Threading.Timer.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.Threading.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.Transactions.Local.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.Transactions.dll": { + "assemblyVersion": "4.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.ValueTuple.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.Web.HttpUtility.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.Web.dll": { + "assemblyVersion": "4.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.Windows.dll": { + "assemblyVersion": "4.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.Xml.Linq.dll": { + "assemblyVersion": "4.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.Xml.ReaderWriter.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.Xml.Serialization.dll": { + "assemblyVersion": "4.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.Xml.XDocument.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.Xml.XPath.XDocument.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.Xml.XPath.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.Xml.XmlDocument.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.Xml.XmlSerializer.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.Xml.dll": { + "assemblyVersion": "4.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.dll": { + "assemblyVersion": "4.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "mscorlib.dll": { + "assemblyVersion": "4.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "netstandard.dll": { + "assemblyVersion": "2.1.0.0", + "fileVersion": "9.0.1726.26416" + } + }, + "native": { + "Microsoft.DiaSymReader.Native.x86.dll": { + "fileVersion": "14.42.34436.0" + }, + "System.IO.Compression.Native.dll": { + "fileVersion": "9.0.1726.26416" + }, + "clretwrc.dll": { + "fileVersion": "9.0.1726.26416" + }, + "clrgc.dll": { + "fileVersion": "9.0.1726.26416" + }, + "clrjit.dll": { + "fileVersion": "9.0.1726.26416" + }, + "coreclr.dll": { + "fileVersion": "9.0.1726.26416" + }, + "createdump.exe": { + "fileVersion": "9.0.1726.26416" + }, + "hostfxr.dll": { + "fileVersion": "9.0.1726.26416" + }, + "hostpolicy.dll": { + "fileVersion": "9.0.1726.26416" + }, + "mscordaccore.dll": { + "fileVersion": "9.0.1726.26416" + }, + "mscordaccore_x86_x86_9.0.1726.26416.dll": { + "fileVersion": "9.0.1726.26416" + }, + "mscordbi.dll": { + "fileVersion": "9.0.1726.26416" + }, + "mscorrc.dll": { + "fileVersion": "9.0.1726.26416" + }, + "msquic.dll": { + "fileVersion": "2.4.18.0" + } + } + }, + "runtimepack.Microsoft.WindowsDesktop.App.Runtime.win-x86/9.0.17": { + "runtime": { + "Accessibility.dll": { + "assemblyVersion": "4.0.0.0", + "fileVersion": "9.0.1726.26501" + }, + "DirectWriteForwarder.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26701" + }, + "Microsoft.Win32.Registry.AccessControl.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "Microsoft.Win32.SystemEvents.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "PresentationCore.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26701" + }, + "PresentationFramework-SystemCore.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26701" + }, + "PresentationFramework-SystemData.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26701" + }, + "PresentationFramework-SystemDrawing.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26701" + }, + "PresentationFramework-SystemXml.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26701" + }, + "PresentationFramework-SystemXmlLinq.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26701" + }, + "PresentationFramework.Aero.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26701" + }, + "PresentationFramework.Aero2.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26701" + }, + "PresentationFramework.AeroLite.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26701" + }, + "PresentationFramework.Classic.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26701" + }, + "PresentationFramework.Fluent.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26701" + }, + "PresentationFramework.Luna.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26701" + }, + "PresentationFramework.Royale.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26701" + }, + "PresentationFramework.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26701" + }, + "PresentationUI.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26701" + }, + "ReachFramework.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26701" + }, + "System.CodeDom.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.Configuration.ConfigurationManager.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.Diagnostics.EventLog.Messages.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "0.0.0.0" + }, + "System.Diagnostics.EventLog.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.Diagnostics.PerformanceCounter.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.DirectoryServices.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.Formats.Nrbf.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.IO.Packaging.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.Printing.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26701" + }, + "System.Resources.Extensions.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.Security.Cryptography.Pkcs.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.Security.Cryptography.ProtectedData.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.Security.Cryptography.Xml.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.Security.Permissions.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.Threading.AccessControl.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.Windows.Controls.Ribbon.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26701" + }, + "System.Windows.Extensions.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26416" + }, + "System.Windows.Input.Manipulations.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26701" + }, + "System.Windows.Presentation.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26701" + }, + "System.Xaml.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26701" + }, + "UIAutomationClient.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26701" + }, + "UIAutomationClientSideProviders.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26701" + }, + "UIAutomationProvider.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26701" + }, + "UIAutomationTypes.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26701" + }, + "WindowsBase.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.1726.26701" + } + }, + "native": { + "D3DCompiler_47_cor3.dll": { + "fileVersion": "10.0.26100.7705" + }, + "PenImc_cor3.dll": { + "fileVersion": "9.0.1726.26701" + }, + "PresentationNative_cor3.dll": { + "fileVersion": "9.0.26.22701" + }, + "vcruntime140_cor3.dll": { + "fileVersion": "14.44.35211.0" + }, + "wpfgfx_cor3.dll": { + "fileVersion": "9.0.1726.26701" + } + } + }, + "Microsoft.VisualStudio.Setup.Configuration.Interop/3.14.2075": { + "runtime": { + "lib/netstandard2.1/Microsoft.VisualStudio.Setup.Configuration.Interop.dll": { + "assemblyVersion": "1.0.0.0", + "fileVersion": "3.14.2075.50697" + } + } + }, + "runtime.native.System.Data.SqlClient.sni/4.4.0": { + "dependencies": { + "runtime.win-x86.runtime.native.System.Data.SqlClient.sni": "4.4.0" + } + }, + "runtime.win-x86.runtime.native.System.Data.SqlClient.sni/4.4.0": { + "native": { + "runtimes/win-x86/native/sni.dll": { + "fileVersion": "4.6.25512.1" + } + } + }, + "System.Data.SqlClient/4.9.0": { + "dependencies": { + "runtime.native.System.Data.SqlClient.sni": "4.4.0" + }, + "runtime": { + "runtimes/win/lib/net8.0/System.Data.SqlClient.dll": { + "assemblyVersion": "4.6.1.6", + "fileVersion": "4.900.24.56208" + } + } + }, + "System.IO.Ports/9.0.0": { + "runtime": { + "runtimes/win/lib/net9.0/System.IO.Ports.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.24.52809" + } + } + } + } + }, + "libraries": { + "leak_test_project/1.0.0": { + "type": "project", + "serviceable": false, + "sha512": "" + }, + "runtimepack.Microsoft.NETCore.App.Runtime.win-x86/9.0.17": { + "type": "runtimepack", + "serviceable": false, + "sha512": "" + }, + "runtimepack.Microsoft.WindowsDesktop.App.Runtime.win-x86/9.0.17": { + "type": "runtimepack", + "serviceable": false, + "sha512": "" + }, + "Microsoft.VisualStudio.Setup.Configuration.Interop/3.14.2075": { + "type": "package", + "serviceable": true, + "sha512": "sha512-SH4pYl7XBUjL6sRAk+l2jsK7B9VbiKPEKkzJdmNxgexeHpAP7T+VlZk0w3NHgPG1UGQ3fxnhc427cM2o9GUYYA==", + "path": "microsoft.visualstudio.setup.configuration.interop/3.14.2075", + "hashPath": "microsoft.visualstudio.setup.configuration.interop.3.14.2075.nupkg.sha512" + }, + "runtime.native.System.Data.SqlClient.sni/4.4.0": { + "type": "package", + "serviceable": true, + "sha512": "sha512-A8v6PGmk+UGbfWo5Ixup0lPM4swuSwOiayJExZwKIOjTlFFQIsu3QnDXECosBEyrWSPryxBVrdqtJyhK3BaupQ==", + "path": "runtime.native.system.data.sqlclient.sni/4.4.0", + "hashPath": "runtime.native.system.data.sqlclient.sni.4.4.0.nupkg.sha512" + }, + "runtime.win-x86.runtime.native.System.Data.SqlClient.sni/4.4.0": { + "type": "package", + "serviceable": true, + "sha512": "sha512-YhEdSQUsTx+C8m8Bw7ar5/VesXvCFMItyZF7G1AUY+OM0VPZUOeAVpJ4Wl6fydBGUYZxojTDR3I6Bj/+BPkJNA==", + "path": "runtime.win-x86.runtime.native.system.data.sqlclient.sni/4.4.0", + "hashPath": "runtime.win-x86.runtime.native.system.data.sqlclient.sni.4.4.0.nupkg.sha512" + }, + "System.Data.SqlClient/4.9.0": { + "type": "package", + "serviceable": true, + "sha512": "sha512-j4KJO+vC62NyUtNHz854njEqXbT8OmAa5jb1nrGfYWBOcggyYUQE0w/snXeaCjdvkSKWuUD+hfvlbN8pTrJTXg==", + "path": "system.data.sqlclient/4.9.0", + "hashPath": "system.data.sqlclient.4.9.0.nupkg.sha512" + }, + "System.IO.Ports/9.0.0": { + "type": "package", + "serviceable": true, + "sha512": "sha512-NfEWew48r4MxHUnOQL7nw/5JBsz9dli8TJYpXjsAQu8tHH0QCq2ly4QMCc8wS9EAi1jvaFgq7ELdfwxvrKWALQ==", + "path": "system.io.ports/9.0.0", + "hashPath": "system.io.ports.9.0.0.nupkg.sha512" + } + }, + "runtimes": { + "win-x86": [ + "win", + "any", + "base" + ] + } +} \ No newline at end of file diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/leak_test_project.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/leak_test_project.dll new file mode 100644 index 0000000..1243e57 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/leak_test_project.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/leak_test_project.dll.config b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/leak_test_project.dll.config new file mode 100644 index 0000000..56efbc7 --- /dev/null +++ b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/leak_test_project.dll.config @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/leak_test_project.exe b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/leak_test_project.exe new file mode 100644 index 0000000..264728c Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/leak_test_project.exe differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/leak_test_project.pdb b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/leak_test_project.pdb new file mode 100644 index 0000000..5f56607 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/leak_test_project.pdb differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/leak_test_project.runtimeconfig.json b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/leak_test_project.runtimeconfig.json new file mode 100644 index 0000000..7023d2c --- /dev/null +++ b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/leak_test_project.runtimeconfig.json @@ -0,0 +1,20 @@ +{ + "runtimeOptions": { + "tfm": "net9.0", + "includedFrameworks": [ + { + "name": "Microsoft.NETCore.App", + "version": "9.0.17" + }, + { + "name": "Microsoft.WindowsDesktop.App", + "version": "9.0.17" + } + ], + "configProperties": { + "System.Reflection.Metadata.MetadataUpdater.IsSupported": false, + "System.Runtime.Serialization.EnableUnsafeBinaryFormatterSerialization": false, + "CSWINRT_USE_WINDOWS_UI_XAML_PROJECTIONS": false + } + } +} \ No newline at end of file diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/mscordaccore.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/mscordaccore.dll new file mode 100644 index 0000000..09550f2 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/mscordaccore.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/mscordaccore_x86_x86_9.0.1726.26416.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/mscordaccore_x86_x86_9.0.1726.26416.dll new file mode 100644 index 0000000..09550f2 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/mscordaccore_x86_x86_9.0.1726.26416.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/mscordbi.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/mscordbi.dll new file mode 100644 index 0000000..95bd5a6 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/mscordbi.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/mscorlib.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/mscorlib.dll new file mode 100644 index 0000000..11c5d43 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/mscorlib.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/mscorrc.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/mscorrc.dll new file mode 100644 index 0000000..e670cbe Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/mscorrc.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/msquic.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/msquic.dll new file mode 100644 index 0000000..13264bf Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/msquic.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/netstandard.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/netstandard.dll new file mode 100644 index 0000000..5b4edfa Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/netstandard.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/pl/PresentationCore.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/pl/PresentationCore.resources.dll new file mode 100644 index 0000000..b074644 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/pl/PresentationCore.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/pl/PresentationFramework.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/pl/PresentationFramework.resources.dll new file mode 100644 index 0000000..942d6b1 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/pl/PresentationFramework.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/pl/PresentationUI.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/pl/PresentationUI.resources.dll new file mode 100644 index 0000000..18719a8 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/pl/PresentationUI.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/pl/ReachFramework.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/pl/ReachFramework.resources.dll new file mode 100644 index 0000000..b90f2ae Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/pl/ReachFramework.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/pl/System.Windows.Controls.Ribbon.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/pl/System.Windows.Controls.Ribbon.resources.dll new file mode 100644 index 0000000..a744032 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/pl/System.Windows.Controls.Ribbon.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/pl/System.Windows.Input.Manipulations.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/pl/System.Windows.Input.Manipulations.resources.dll new file mode 100644 index 0000000..ddfa9ce Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/pl/System.Windows.Input.Manipulations.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/pl/System.Xaml.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/pl/System.Xaml.resources.dll new file mode 100644 index 0000000..312db5f Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/pl/System.Xaml.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/pl/UIAutomationClient.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/pl/UIAutomationClient.resources.dll new file mode 100644 index 0000000..47aec2a Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/pl/UIAutomationClient.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/pl/UIAutomationClientSideProviders.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/pl/UIAutomationClientSideProviders.resources.dll new file mode 100644 index 0000000..c4ddad3 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/pl/UIAutomationClientSideProviders.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/pl/UIAutomationProvider.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/pl/UIAutomationProvider.resources.dll new file mode 100644 index 0000000..0cf1f04 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/pl/UIAutomationProvider.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/pl/UIAutomationTypes.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/pl/UIAutomationTypes.resources.dll new file mode 100644 index 0000000..c559a49 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/pl/UIAutomationTypes.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/pl/WindowsBase.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/pl/WindowsBase.resources.dll new file mode 100644 index 0000000..d0703b7 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/pl/WindowsBase.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/pt-BR/PresentationCore.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/pt-BR/PresentationCore.resources.dll new file mode 100644 index 0000000..fa8df80 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/pt-BR/PresentationCore.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/pt-BR/PresentationFramework.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/pt-BR/PresentationFramework.resources.dll new file mode 100644 index 0000000..a66abef Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/pt-BR/PresentationFramework.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/pt-BR/PresentationUI.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/pt-BR/PresentationUI.resources.dll new file mode 100644 index 0000000..b7c6549 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/pt-BR/PresentationUI.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/pt-BR/ReachFramework.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/pt-BR/ReachFramework.resources.dll new file mode 100644 index 0000000..618eac2 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/pt-BR/ReachFramework.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/pt-BR/System.Windows.Controls.Ribbon.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/pt-BR/System.Windows.Controls.Ribbon.resources.dll new file mode 100644 index 0000000..a68789f Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/pt-BR/System.Windows.Controls.Ribbon.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/pt-BR/System.Windows.Input.Manipulations.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/pt-BR/System.Windows.Input.Manipulations.resources.dll new file mode 100644 index 0000000..d346214 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/pt-BR/System.Windows.Input.Manipulations.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/pt-BR/System.Xaml.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/pt-BR/System.Xaml.resources.dll new file mode 100644 index 0000000..be11d12 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/pt-BR/System.Xaml.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/pt-BR/UIAutomationClient.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/pt-BR/UIAutomationClient.resources.dll new file mode 100644 index 0000000..561cdc3 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/pt-BR/UIAutomationClient.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/pt-BR/UIAutomationClientSideProviders.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/pt-BR/UIAutomationClientSideProviders.resources.dll new file mode 100644 index 0000000..2c99aa4 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/pt-BR/UIAutomationClientSideProviders.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/pt-BR/UIAutomationProvider.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/pt-BR/UIAutomationProvider.resources.dll new file mode 100644 index 0000000..f568342 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/pt-BR/UIAutomationProvider.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/pt-BR/UIAutomationTypes.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/pt-BR/UIAutomationTypes.resources.dll new file mode 100644 index 0000000..c15e6d5 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/pt-BR/UIAutomationTypes.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/pt-BR/WindowsBase.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/pt-BR/WindowsBase.resources.dll new file mode 100644 index 0000000..6e111ec Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/pt-BR/WindowsBase.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/ru/PresentationCore.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/ru/PresentationCore.resources.dll new file mode 100644 index 0000000..41e9542 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/ru/PresentationCore.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/ru/PresentationFramework.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/ru/PresentationFramework.resources.dll new file mode 100644 index 0000000..86c196d Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/ru/PresentationFramework.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/ru/PresentationUI.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/ru/PresentationUI.resources.dll new file mode 100644 index 0000000..906206d Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/ru/PresentationUI.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/ru/ReachFramework.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/ru/ReachFramework.resources.dll new file mode 100644 index 0000000..535e1f5 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/ru/ReachFramework.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/ru/System.Windows.Controls.Ribbon.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/ru/System.Windows.Controls.Ribbon.resources.dll new file mode 100644 index 0000000..de387ff Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/ru/System.Windows.Controls.Ribbon.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/ru/System.Windows.Input.Manipulations.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/ru/System.Windows.Input.Manipulations.resources.dll new file mode 100644 index 0000000..352c721 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/ru/System.Windows.Input.Manipulations.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/ru/System.Xaml.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/ru/System.Xaml.resources.dll new file mode 100644 index 0000000..9f56deb Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/ru/System.Xaml.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/ru/UIAutomationClient.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/ru/UIAutomationClient.resources.dll new file mode 100644 index 0000000..56e4d31 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/ru/UIAutomationClient.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/ru/UIAutomationClientSideProviders.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/ru/UIAutomationClientSideProviders.resources.dll new file mode 100644 index 0000000..2a1fbf9 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/ru/UIAutomationClientSideProviders.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/ru/UIAutomationProvider.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/ru/UIAutomationProvider.resources.dll new file mode 100644 index 0000000..0c3fac4 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/ru/UIAutomationProvider.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/ru/UIAutomationTypes.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/ru/UIAutomationTypes.resources.dll new file mode 100644 index 0000000..e865c9b Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/ru/UIAutomationTypes.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/ru/WindowsBase.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/ru/WindowsBase.resources.dll new file mode 100644 index 0000000..4631aef Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/ru/WindowsBase.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/sni.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/sni.dll new file mode 100644 index 0000000..5fc21ac Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/sni.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/tr/PresentationCore.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/tr/PresentationCore.resources.dll new file mode 100644 index 0000000..ca008ad Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/tr/PresentationCore.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/tr/PresentationFramework.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/tr/PresentationFramework.resources.dll new file mode 100644 index 0000000..56413e4 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/tr/PresentationFramework.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/tr/PresentationUI.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/tr/PresentationUI.resources.dll new file mode 100644 index 0000000..f336941 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/tr/PresentationUI.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/tr/ReachFramework.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/tr/ReachFramework.resources.dll new file mode 100644 index 0000000..6d1d0e6 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/tr/ReachFramework.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/tr/System.Windows.Controls.Ribbon.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/tr/System.Windows.Controls.Ribbon.resources.dll new file mode 100644 index 0000000..d4be558 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/tr/System.Windows.Controls.Ribbon.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/tr/System.Windows.Input.Manipulations.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/tr/System.Windows.Input.Manipulations.resources.dll new file mode 100644 index 0000000..1974598 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/tr/System.Windows.Input.Manipulations.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/tr/System.Xaml.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/tr/System.Xaml.resources.dll new file mode 100644 index 0000000..d0b9a16 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/tr/System.Xaml.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/tr/UIAutomationClient.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/tr/UIAutomationClient.resources.dll new file mode 100644 index 0000000..16dbd8c Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/tr/UIAutomationClient.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/tr/UIAutomationClientSideProviders.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/tr/UIAutomationClientSideProviders.resources.dll new file mode 100644 index 0000000..d17c0b2 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/tr/UIAutomationClientSideProviders.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/tr/UIAutomationProvider.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/tr/UIAutomationProvider.resources.dll new file mode 100644 index 0000000..42a805b Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/tr/UIAutomationProvider.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/tr/UIAutomationTypes.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/tr/UIAutomationTypes.resources.dll new file mode 100644 index 0000000..4ca49d7 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/tr/UIAutomationTypes.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/tr/WindowsBase.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/tr/WindowsBase.resources.dll new file mode 100644 index 0000000..184ab1e Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/tr/WindowsBase.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/vcruntime140_cor3.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/vcruntime140_cor3.dll new file mode 100644 index 0000000..5050e20 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/vcruntime140_cor3.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/wpfgfx_cor3.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/wpfgfx_cor3.dll new file mode 100644 index 0000000..7e74ed1 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/wpfgfx_cor3.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/zh-Hans/PresentationCore.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/zh-Hans/PresentationCore.resources.dll new file mode 100644 index 0000000..06380ca Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/zh-Hans/PresentationCore.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/zh-Hans/PresentationFramework.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/zh-Hans/PresentationFramework.resources.dll new file mode 100644 index 0000000..7ebbc88 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/zh-Hans/PresentationFramework.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/zh-Hans/PresentationUI.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/zh-Hans/PresentationUI.resources.dll new file mode 100644 index 0000000..25e24ab Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/zh-Hans/PresentationUI.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/zh-Hans/ReachFramework.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/zh-Hans/ReachFramework.resources.dll new file mode 100644 index 0000000..1ff8240 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/zh-Hans/ReachFramework.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/zh-Hans/System.Windows.Controls.Ribbon.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/zh-Hans/System.Windows.Controls.Ribbon.resources.dll new file mode 100644 index 0000000..2bd05b6 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/zh-Hans/System.Windows.Controls.Ribbon.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/zh-Hans/System.Windows.Input.Manipulations.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/zh-Hans/System.Windows.Input.Manipulations.resources.dll new file mode 100644 index 0000000..0198ef6 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/zh-Hans/System.Windows.Input.Manipulations.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/zh-Hans/System.Xaml.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/zh-Hans/System.Xaml.resources.dll new file mode 100644 index 0000000..f0e252a Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/zh-Hans/System.Xaml.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/zh-Hans/UIAutomationClient.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/zh-Hans/UIAutomationClient.resources.dll new file mode 100644 index 0000000..78ed072 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/zh-Hans/UIAutomationClient.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/zh-Hans/UIAutomationClientSideProviders.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/zh-Hans/UIAutomationClientSideProviders.resources.dll new file mode 100644 index 0000000..da0a2f4 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/zh-Hans/UIAutomationClientSideProviders.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/zh-Hans/UIAutomationProvider.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/zh-Hans/UIAutomationProvider.resources.dll new file mode 100644 index 0000000..1c13e2a Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/zh-Hans/UIAutomationProvider.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/zh-Hans/UIAutomationTypes.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/zh-Hans/UIAutomationTypes.resources.dll new file mode 100644 index 0000000..0d09ac0 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/zh-Hans/UIAutomationTypes.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/zh-Hans/WindowsBase.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/zh-Hans/WindowsBase.resources.dll new file mode 100644 index 0000000..70f43ed Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/zh-Hans/WindowsBase.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/zh-Hant/PresentationCore.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/zh-Hant/PresentationCore.resources.dll new file mode 100644 index 0000000..0e0e3d6 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/zh-Hant/PresentationCore.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/zh-Hant/PresentationFramework.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/zh-Hant/PresentationFramework.resources.dll new file mode 100644 index 0000000..dd07c68 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/zh-Hant/PresentationFramework.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/zh-Hant/PresentationUI.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/zh-Hant/PresentationUI.resources.dll new file mode 100644 index 0000000..f4b053e Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/zh-Hant/PresentationUI.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/zh-Hant/ReachFramework.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/zh-Hant/ReachFramework.resources.dll new file mode 100644 index 0000000..73eb87e Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/zh-Hant/ReachFramework.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/zh-Hant/System.Windows.Controls.Ribbon.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/zh-Hant/System.Windows.Controls.Ribbon.resources.dll new file mode 100644 index 0000000..78ffd7d Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/zh-Hant/System.Windows.Controls.Ribbon.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/zh-Hant/System.Windows.Input.Manipulations.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/zh-Hant/System.Windows.Input.Manipulations.resources.dll new file mode 100644 index 0000000..046501c Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/zh-Hant/System.Windows.Input.Manipulations.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/zh-Hant/System.Xaml.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/zh-Hant/System.Xaml.resources.dll new file mode 100644 index 0000000..0d5afb8 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/zh-Hant/System.Xaml.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/zh-Hant/UIAutomationClient.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/zh-Hant/UIAutomationClient.resources.dll new file mode 100644 index 0000000..fac567f Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/zh-Hant/UIAutomationClient.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/zh-Hant/UIAutomationClientSideProviders.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/zh-Hant/UIAutomationClientSideProviders.resources.dll new file mode 100644 index 0000000..d1a9f40 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/zh-Hant/UIAutomationClientSideProviders.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/zh-Hant/UIAutomationProvider.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/zh-Hant/UIAutomationProvider.resources.dll new file mode 100644 index 0000000..bf520cf Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/zh-Hant/UIAutomationProvider.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/zh-Hant/UIAutomationTypes.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/zh-Hant/UIAutomationTypes.resources.dll new file mode 100644 index 0000000..4bd88f0 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/zh-Hant/UIAutomationTypes.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/zh-Hant/WindowsBase.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/zh-Hant/WindowsBase.resources.dll new file mode 100644 index 0000000..d04fc31 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/publish/zh-Hant/WindowsBase.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/ru/PresentationCore.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/ru/PresentationCore.resources.dll new file mode 100644 index 0000000..41e9542 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/ru/PresentationCore.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/ru/PresentationFramework.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/ru/PresentationFramework.resources.dll new file mode 100644 index 0000000..86c196d Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/ru/PresentationFramework.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/ru/PresentationUI.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/ru/PresentationUI.resources.dll new file mode 100644 index 0000000..906206d Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/ru/PresentationUI.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/ru/ReachFramework.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/ru/ReachFramework.resources.dll new file mode 100644 index 0000000..535e1f5 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/ru/ReachFramework.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/ru/System.Windows.Controls.Ribbon.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/ru/System.Windows.Controls.Ribbon.resources.dll new file mode 100644 index 0000000..de387ff Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/ru/System.Windows.Controls.Ribbon.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/ru/System.Windows.Input.Manipulations.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/ru/System.Windows.Input.Manipulations.resources.dll new file mode 100644 index 0000000..352c721 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/ru/System.Windows.Input.Manipulations.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/ru/System.Xaml.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/ru/System.Xaml.resources.dll new file mode 100644 index 0000000..9f56deb Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/ru/System.Xaml.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/ru/UIAutomationClient.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/ru/UIAutomationClient.resources.dll new file mode 100644 index 0000000..56e4d31 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/ru/UIAutomationClient.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/ru/UIAutomationClientSideProviders.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/ru/UIAutomationClientSideProviders.resources.dll new file mode 100644 index 0000000..2a1fbf9 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/ru/UIAutomationClientSideProviders.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/ru/UIAutomationProvider.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/ru/UIAutomationProvider.resources.dll new file mode 100644 index 0000000..0c3fac4 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/ru/UIAutomationProvider.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/ru/UIAutomationTypes.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/ru/UIAutomationTypes.resources.dll new file mode 100644 index 0000000..e865c9b Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/ru/UIAutomationTypes.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/ru/WindowsBase.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/ru/WindowsBase.resources.dll new file mode 100644 index 0000000..4631aef Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/ru/WindowsBase.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/sni.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/sni.dll new file mode 100644 index 0000000..5fc21ac Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/sni.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/tr/PresentationCore.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/tr/PresentationCore.resources.dll new file mode 100644 index 0000000..ca008ad Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/tr/PresentationCore.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/tr/PresentationFramework.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/tr/PresentationFramework.resources.dll new file mode 100644 index 0000000..56413e4 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/tr/PresentationFramework.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/tr/PresentationUI.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/tr/PresentationUI.resources.dll new file mode 100644 index 0000000..f336941 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/tr/PresentationUI.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/tr/ReachFramework.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/tr/ReachFramework.resources.dll new file mode 100644 index 0000000..6d1d0e6 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/tr/ReachFramework.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/tr/System.Windows.Controls.Ribbon.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/tr/System.Windows.Controls.Ribbon.resources.dll new file mode 100644 index 0000000..d4be558 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/tr/System.Windows.Controls.Ribbon.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/tr/System.Windows.Input.Manipulations.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/tr/System.Windows.Input.Manipulations.resources.dll new file mode 100644 index 0000000..1974598 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/tr/System.Windows.Input.Manipulations.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/tr/System.Xaml.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/tr/System.Xaml.resources.dll new file mode 100644 index 0000000..d0b9a16 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/tr/System.Xaml.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/tr/UIAutomationClient.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/tr/UIAutomationClient.resources.dll new file mode 100644 index 0000000..16dbd8c Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/tr/UIAutomationClient.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/tr/UIAutomationClientSideProviders.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/tr/UIAutomationClientSideProviders.resources.dll new file mode 100644 index 0000000..d17c0b2 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/tr/UIAutomationClientSideProviders.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/tr/UIAutomationProvider.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/tr/UIAutomationProvider.resources.dll new file mode 100644 index 0000000..42a805b Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/tr/UIAutomationProvider.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/tr/UIAutomationTypes.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/tr/UIAutomationTypes.resources.dll new file mode 100644 index 0000000..4ca49d7 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/tr/UIAutomationTypes.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/tr/WindowsBase.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/tr/WindowsBase.resources.dll new file mode 100644 index 0000000..184ab1e Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/tr/WindowsBase.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/vcruntime140_cor3.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/vcruntime140_cor3.dll new file mode 100644 index 0000000..5050e20 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/vcruntime140_cor3.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/wpfgfx_cor3.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/wpfgfx_cor3.dll new file mode 100644 index 0000000..7e74ed1 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/wpfgfx_cor3.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/zh-Hans/PresentationCore.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/zh-Hans/PresentationCore.resources.dll new file mode 100644 index 0000000..06380ca Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/zh-Hans/PresentationCore.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/zh-Hans/PresentationFramework.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/zh-Hans/PresentationFramework.resources.dll new file mode 100644 index 0000000..7ebbc88 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/zh-Hans/PresentationFramework.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/zh-Hans/PresentationUI.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/zh-Hans/PresentationUI.resources.dll new file mode 100644 index 0000000..25e24ab Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/zh-Hans/PresentationUI.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/zh-Hans/ReachFramework.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/zh-Hans/ReachFramework.resources.dll new file mode 100644 index 0000000..1ff8240 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/zh-Hans/ReachFramework.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/zh-Hans/System.Windows.Controls.Ribbon.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/zh-Hans/System.Windows.Controls.Ribbon.resources.dll new file mode 100644 index 0000000..2bd05b6 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/zh-Hans/System.Windows.Controls.Ribbon.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/zh-Hans/System.Windows.Input.Manipulations.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/zh-Hans/System.Windows.Input.Manipulations.resources.dll new file mode 100644 index 0000000..0198ef6 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/zh-Hans/System.Windows.Input.Manipulations.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/zh-Hans/System.Xaml.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/zh-Hans/System.Xaml.resources.dll new file mode 100644 index 0000000..f0e252a Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/zh-Hans/System.Xaml.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/zh-Hans/UIAutomationClient.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/zh-Hans/UIAutomationClient.resources.dll new file mode 100644 index 0000000..78ed072 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/zh-Hans/UIAutomationClient.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/zh-Hans/UIAutomationClientSideProviders.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/zh-Hans/UIAutomationClientSideProviders.resources.dll new file mode 100644 index 0000000..da0a2f4 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/zh-Hans/UIAutomationClientSideProviders.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/zh-Hans/UIAutomationProvider.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/zh-Hans/UIAutomationProvider.resources.dll new file mode 100644 index 0000000..1c13e2a Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/zh-Hans/UIAutomationProvider.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/zh-Hans/UIAutomationTypes.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/zh-Hans/UIAutomationTypes.resources.dll new file mode 100644 index 0000000..0d09ac0 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/zh-Hans/UIAutomationTypes.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/zh-Hans/WindowsBase.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/zh-Hans/WindowsBase.resources.dll new file mode 100644 index 0000000..70f43ed Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/zh-Hans/WindowsBase.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/zh-Hant/PresentationCore.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/zh-Hant/PresentationCore.resources.dll new file mode 100644 index 0000000..0e0e3d6 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/zh-Hant/PresentationCore.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/zh-Hant/PresentationFramework.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/zh-Hant/PresentationFramework.resources.dll new file mode 100644 index 0000000..dd07c68 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/zh-Hant/PresentationFramework.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/zh-Hant/PresentationUI.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/zh-Hant/PresentationUI.resources.dll new file mode 100644 index 0000000..f4b053e Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/zh-Hant/PresentationUI.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/zh-Hant/ReachFramework.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/zh-Hant/ReachFramework.resources.dll new file mode 100644 index 0000000..73eb87e Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/zh-Hant/ReachFramework.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/zh-Hant/System.Windows.Controls.Ribbon.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/zh-Hant/System.Windows.Controls.Ribbon.resources.dll new file mode 100644 index 0000000..78ffd7d Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/zh-Hant/System.Windows.Controls.Ribbon.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/zh-Hant/System.Windows.Input.Manipulations.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/zh-Hant/System.Windows.Input.Manipulations.resources.dll new file mode 100644 index 0000000..046501c Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/zh-Hant/System.Windows.Input.Manipulations.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/zh-Hant/System.Xaml.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/zh-Hant/System.Xaml.resources.dll new file mode 100644 index 0000000..0d5afb8 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/zh-Hant/System.Xaml.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/zh-Hant/UIAutomationClient.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/zh-Hant/UIAutomationClient.resources.dll new file mode 100644 index 0000000..fac567f Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/zh-Hant/UIAutomationClient.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/zh-Hant/UIAutomationClientSideProviders.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/zh-Hant/UIAutomationClientSideProviders.resources.dll new file mode 100644 index 0000000..d1a9f40 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/zh-Hant/UIAutomationClientSideProviders.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/zh-Hant/UIAutomationProvider.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/zh-Hant/UIAutomationProvider.resources.dll new file mode 100644 index 0000000..bf520cf Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/zh-Hant/UIAutomationProvider.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/zh-Hant/UIAutomationTypes.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/zh-Hant/UIAutomationTypes.resources.dll new file mode 100644 index 0000000..4bd88f0 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/zh-Hant/UIAutomationTypes.resources.dll differ diff --git a/leak_test_project/bin/Release/net9.0-windows/win-x86/zh-Hant/WindowsBase.resources.dll b/leak_test_project/bin/Release/net9.0-windows/win-x86/zh-Hant/WindowsBase.resources.dll new file mode 100644 index 0000000..d04fc31 Binary files /dev/null and b/leak_test_project/bin/Release/net9.0-windows/win-x86/zh-Hant/WindowsBase.resources.dll differ diff --git a/leak_test_project/bin/Release/runtimes/android-arm/native/libSystem.IO.Ports.Native.so b/leak_test_project/bin/Release/runtimes/android-arm/native/libSystem.IO.Ports.Native.so new file mode 100644 index 0000000..ed0338f Binary files /dev/null and b/leak_test_project/bin/Release/runtimes/android-arm/native/libSystem.IO.Ports.Native.so differ diff --git a/leak_test_project/bin/Release/runtimes/android-arm64/native/libSystem.IO.Ports.Native.so b/leak_test_project/bin/Release/runtimes/android-arm64/native/libSystem.IO.Ports.Native.so new file mode 100644 index 0000000..3c1a981 Binary files /dev/null and b/leak_test_project/bin/Release/runtimes/android-arm64/native/libSystem.IO.Ports.Native.so differ diff --git a/leak_test_project/bin/Release/runtimes/android-x64/native/libSystem.IO.Ports.Native.so b/leak_test_project/bin/Release/runtimes/android-x64/native/libSystem.IO.Ports.Native.so new file mode 100644 index 0000000..82ee148 Binary files /dev/null and b/leak_test_project/bin/Release/runtimes/android-x64/native/libSystem.IO.Ports.Native.so differ diff --git a/leak_test_project/bin/Release/runtimes/android-x86/native/libSystem.IO.Ports.Native.so b/leak_test_project/bin/Release/runtimes/android-x86/native/libSystem.IO.Ports.Native.so new file mode 100644 index 0000000..5729e0a Binary files /dev/null and b/leak_test_project/bin/Release/runtimes/android-x86/native/libSystem.IO.Ports.Native.so differ diff --git a/leak_test_project/bin/Release/runtimes/linux-arm/native/libSystem.IO.Ports.Native.so b/leak_test_project/bin/Release/runtimes/linux-arm/native/libSystem.IO.Ports.Native.so new file mode 100644 index 0000000..475107c Binary files /dev/null and b/leak_test_project/bin/Release/runtimes/linux-arm/native/libSystem.IO.Ports.Native.so differ diff --git a/leak_test_project/bin/Release/runtimes/linux-arm64/native/libSystem.IO.Ports.Native.so b/leak_test_project/bin/Release/runtimes/linux-arm64/native/libSystem.IO.Ports.Native.so new file mode 100644 index 0000000..3bac366 Binary files /dev/null and b/leak_test_project/bin/Release/runtimes/linux-arm64/native/libSystem.IO.Ports.Native.so differ diff --git a/leak_test_project/bin/Release/runtimes/linux-bionic-arm64/native/libSystem.IO.Ports.Native.so b/leak_test_project/bin/Release/runtimes/linux-bionic-arm64/native/libSystem.IO.Ports.Native.so new file mode 100644 index 0000000..81e78dc Binary files /dev/null and b/leak_test_project/bin/Release/runtimes/linux-bionic-arm64/native/libSystem.IO.Ports.Native.so differ diff --git a/leak_test_project/bin/Release/runtimes/linux-bionic-x64/native/libSystem.IO.Ports.Native.so b/leak_test_project/bin/Release/runtimes/linux-bionic-x64/native/libSystem.IO.Ports.Native.so new file mode 100644 index 0000000..647ddb4 Binary files /dev/null and b/leak_test_project/bin/Release/runtimes/linux-bionic-x64/native/libSystem.IO.Ports.Native.so differ diff --git a/leak_test_project/bin/Release/runtimes/linux-musl-arm/native/libSystem.IO.Ports.Native.so b/leak_test_project/bin/Release/runtimes/linux-musl-arm/native/libSystem.IO.Ports.Native.so new file mode 100644 index 0000000..f050c60 Binary files /dev/null and b/leak_test_project/bin/Release/runtimes/linux-musl-arm/native/libSystem.IO.Ports.Native.so differ diff --git a/leak_test_project/bin/Release/runtimes/linux-musl-arm64/native/libSystem.IO.Ports.Native.so b/leak_test_project/bin/Release/runtimes/linux-musl-arm64/native/libSystem.IO.Ports.Native.so new file mode 100644 index 0000000..b92868d Binary files /dev/null and b/leak_test_project/bin/Release/runtimes/linux-musl-arm64/native/libSystem.IO.Ports.Native.so differ diff --git a/leak_test_project/bin/Release/runtimes/linux-musl-x64/native/libSystem.IO.Ports.Native.so b/leak_test_project/bin/Release/runtimes/linux-musl-x64/native/libSystem.IO.Ports.Native.so new file mode 100644 index 0000000..b67b278 Binary files /dev/null and b/leak_test_project/bin/Release/runtimes/linux-musl-x64/native/libSystem.IO.Ports.Native.so differ diff --git a/leak_test_project/bin/Release/runtimes/linux-x64/native/libSystem.IO.Ports.Native.so b/leak_test_project/bin/Release/runtimes/linux-x64/native/libSystem.IO.Ports.Native.so new file mode 100644 index 0000000..c8dda27 Binary files /dev/null and b/leak_test_project/bin/Release/runtimes/linux-x64/native/libSystem.IO.Ports.Native.so differ diff --git a/leak_test_project/bin/Release/runtimes/maccatalyst-arm64/native/libSystem.IO.Ports.Native.dylib b/leak_test_project/bin/Release/runtimes/maccatalyst-arm64/native/libSystem.IO.Ports.Native.dylib new file mode 100644 index 0000000..78be010 Binary files /dev/null and b/leak_test_project/bin/Release/runtimes/maccatalyst-arm64/native/libSystem.IO.Ports.Native.dylib differ diff --git a/leak_test_project/bin/Release/runtimes/maccatalyst-x64/native/libSystem.IO.Ports.Native.dylib b/leak_test_project/bin/Release/runtimes/maccatalyst-x64/native/libSystem.IO.Ports.Native.dylib new file mode 100644 index 0000000..b0d8beb Binary files /dev/null and b/leak_test_project/bin/Release/runtimes/maccatalyst-x64/native/libSystem.IO.Ports.Native.dylib differ diff --git a/leak_test_project/bin/Release/runtimes/osx-arm64/native/libSystem.IO.Ports.Native.dylib b/leak_test_project/bin/Release/runtimes/osx-arm64/native/libSystem.IO.Ports.Native.dylib new file mode 100644 index 0000000..3a04346 Binary files /dev/null and b/leak_test_project/bin/Release/runtimes/osx-arm64/native/libSystem.IO.Ports.Native.dylib differ diff --git a/leak_test_project/bin/Release/runtimes/osx-x64/native/libSystem.IO.Ports.Native.dylib b/leak_test_project/bin/Release/runtimes/osx-x64/native/libSystem.IO.Ports.Native.dylib new file mode 100644 index 0000000..d374d43 Binary files /dev/null and b/leak_test_project/bin/Release/runtimes/osx-x64/native/libSystem.IO.Ports.Native.dylib differ diff --git a/leak_test_project/bin/Release/runtimes/unix/lib/net8.0/System.Data.SqlClient.dll b/leak_test_project/bin/Release/runtimes/unix/lib/net8.0/System.Data.SqlClient.dll new file mode 100644 index 0000000..55f8df1 Binary files /dev/null and b/leak_test_project/bin/Release/runtimes/unix/lib/net8.0/System.Data.SqlClient.dll differ diff --git a/leak_test_project/bin/Release/runtimes/unix/lib/net9.0/System.IO.Ports.dll b/leak_test_project/bin/Release/runtimes/unix/lib/net9.0/System.IO.Ports.dll new file mode 100644 index 0000000..b883e2a Binary files /dev/null and b/leak_test_project/bin/Release/runtimes/unix/lib/net9.0/System.IO.Ports.dll differ diff --git a/leak_test_project/bin/Release/runtimes/win-arm64/native/sni.dll b/leak_test_project/bin/Release/runtimes/win-arm64/native/sni.dll new file mode 100644 index 0000000..7b8f9d8 Binary files /dev/null and b/leak_test_project/bin/Release/runtimes/win-arm64/native/sni.dll differ diff --git a/leak_test_project/bin/Release/runtimes/win-x64/native/sni.dll b/leak_test_project/bin/Release/runtimes/win-x64/native/sni.dll new file mode 100644 index 0000000..c1a05a5 Binary files /dev/null and b/leak_test_project/bin/Release/runtimes/win-x64/native/sni.dll differ diff --git a/leak_test_project/bin/Release/runtimes/win-x86/native/sni.dll b/leak_test_project/bin/Release/runtimes/win-x86/native/sni.dll new file mode 100644 index 0000000..5fc21ac Binary files /dev/null and b/leak_test_project/bin/Release/runtimes/win-x86/native/sni.dll differ diff --git a/leak_test_project/bin/Release/runtimes/win/lib/net8.0/System.Data.SqlClient.dll b/leak_test_project/bin/Release/runtimes/win/lib/net8.0/System.Data.SqlClient.dll new file mode 100644 index 0000000..413faaa Binary files /dev/null and b/leak_test_project/bin/Release/runtimes/win/lib/net8.0/System.Data.SqlClient.dll differ diff --git a/leak_test_project/bin/Release/runtimes/win/lib/net9.0/System.IO.Ports.dll b/leak_test_project/bin/Release/runtimes/win/lib/net9.0/System.IO.Ports.dll new file mode 100644 index 0000000..7db46fd Binary files /dev/null and b/leak_test_project/bin/Release/runtimes/win/lib/net9.0/System.IO.Ports.dll differ diff --git a/leak_test_project/build_error.log b/leak_test_project/build_error.log deleted file mode 100644 index f32368c..0000000 Binary files a/leak_test_project/build_error.log and /dev/null differ diff --git a/leak_test_project/build_error_utf8.log b/leak_test_project/build_error_utf8.log deleted file mode 100644 index 833c866..0000000 --- a/leak_test_project/build_error_utf8.log +++ /dev/null @@ -1,133 +0,0 @@ - 복원할 프로젝트를 확인하는 중... - 수행할 작업이 없습니다. 지정한 프로젝트에 복원할 패키지가 없습니다. -CSC : error CS5001: 프로그램에는 진입점에 적합한 정적 'Main' 메서드가 포함되어 있지 않습니다. [C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\leak_test_project.csproj] -C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\MainWindow.xaml.cs(15,13): error CS0103: 'InitializeComponent' 이름이 현재 컨텍스트에 없습니다. [C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\leak_test_project.csproj] -C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\Views\CommunicationWindow.xaml.cs(14,13): error CS0103: 'InitializeComponent' 이름이 현재 컨텍스트에 없습니다. [C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\leak_test_project.csproj] -C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\Views\CommunicationWindow.xaml.cs(24,13): error CS0103: 'cbSensorPort' 이름이 현재 컨텍스트에 없습니다. [C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\leak_test_project.csproj] -C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\Views\CommunicationWindow.xaml.cs(25,13): error CS0103: 'cbBoard4251Port' 이름이 현재 컨텍스트에 없습니다. [C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\leak_test_project.csproj] -C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\Views\CommunicationWindow.xaml.cs(28,13): error CS0103: 'cbSensorPort' 이름이 현재 컨텍스트에 없습니다. [C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\leak_test_project.csproj] -C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\Views\CommunicationWindow.xaml.cs(29,13): error CS0103: 'cbBoard4251Port' 이름이 현재 컨텍스트에 없습니다. [C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\leak_test_project.csproj] -C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\Views\CommunicationWindow.xaml.cs(31,43): error CS0103: 'cbSensorBaudRate' 이름이 현재 컨텍스트에 없습니다. [C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\leak_test_project.csproj] -C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\Views\CommunicationWindow.xaml.cs(35,21): error CS0103: 'cbSensorBaudRate' 이름이 현재 컨텍스트에 없습니다. [C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\leak_test_project.csproj] -C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\Views\CommunicationWindow.xaml.cs(40,43): error CS0103: 'cbBoard4251BaudRate' 이름이 현재 컨텍스트에 없습니다. [C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\leak_test_project.csproj] -C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\Views\CommunicationWindow.xaml.cs(44,21): error CS0103: 'cbBoard4251BaudRate' 이름이 현재 컨텍스트에 없습니다. [C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\leak_test_project.csproj] -C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\Views\StartupLoginWindow.xaml.cs(37,13): error CS0103: 'InitializeComponent' 이름이 현재 컨텍스트에 없습니다. [C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\leak_test_project.csproj] -C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\Views\StartupLoginWindow.xaml.cs(39,18): error CS1061: 'StartupLoginWindow'에는 'PasswordBox'에 대한 정의가 포함되어 있지 않고, 'StartupLoginWindow' 형식의 첫 번째 인수를 허용하는 액세스 가능한 확장 메서드 'PasswordBox'이(가) 없습니다. using 지시문 또는 어셈블리 참조가 있는지 확인하세요. [C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\leak_test_project.csproj] -C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\Views\StartupLoginWindow.xaml.cs(40,13): error CS0103: 'LoginButton' 이름이 현재 컨텍스트에 없습니다. [C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\leak_test_project.csproj] -C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\Views\StartupLoginWindow.xaml.cs(41,13): error CS0103: 'OperatorTextBox' 이름이 현재 컨텍스트에 없습니다. [C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\leak_test_project.csproj] -C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\Views\DataView.xaml.cs(9,13): error CS0103: 'InitializeComponent' 이름이 현재 컨텍스트에 없습니다. [C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\leak_test_project.csproj] -C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\Views\HomeView.xaml.cs(9,13): error CS0103: 'InitializeComponent' 이름이 현재 컨텍스트에 없습니다. [C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\leak_test_project.csproj] -C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\Views\ParametersWindow.xaml.cs(11,13): error CS0103: 'InitializeComponent' 이름이 현재 컨텍스트에 없습니다. [C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\leak_test_project.csproj] -C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\Views\ParametersWindow.xaml.cs(15,13): error CS0103: 'editSpecUL' 이름이 현재 컨텍스트에 없습니다. [C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\leak_test_project.csproj] -C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\Views\ParametersWindow.xaml.cs(16,13): error CS0103: 'editSpecLL' 이름이 현재 컨텍스트에 없습니다. [C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\leak_test_project.csproj] -C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\Views\ParametersWindow.xaml.cs(22,33): error CS0103: 'editSpecUL' 이름이 현재 컨텍스트에 없습니다. [C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\leak_test_project.csproj] -C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\Views\ParametersWindow.xaml.cs(27,33): error CS0103: 'editSpecLL' 이름이 현재 컨텍스트에 없습니다. [C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\leak_test_project.csproj] -C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\Views\CommunicationWindow.xaml.cs(54,17): error CS0103: 'cbSensorPort' 이름이 현재 컨텍스트에 없습니다. [C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\leak_test_project.csproj] -C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\Views\CommunicationWindow.xaml.cs(55,37): error CS0103: 'cbSensorPort' 이름이 현재 컨텍스트에 없습니다. [C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\leak_test_project.csproj] -C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\Views\CommunicationWindow.xaml.cs(57,17): error CS0103: 'cbBoard4251Port' 이름이 현재 컨텍스트에 없습니다. [C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\leak_test_project.csproj] -C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\Views\CommunicationWindow.xaml.cs(58,40): error CS0103: 'cbBoard4251Port' 이름이 현재 컨텍스트에 없습니다. [C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\leak_test_project.csproj] -C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\Views\CommunicationWindow.xaml.cs(59,17): error CS0103: 'cbSensorBaudRate' 이름이 현재 컨텍스트에 없습니다. [C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\leak_test_project.csproj] -C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\Views\CommunicationWindow.xaml.cs(65,17): error CS0103: 'cbBoard4251BaudRate' 이름이 현재 컨텍스트에 없습니다. [C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\leak_test_project.csproj] -C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\Views\StartupLoginWindow.xaml.cs(77,26): error CS1061: 'StartupLoginWindow'에는 'PasswordBox'에 대한 정의가 포함되어 있지 않고, 'StartupLoginWindow' 형식의 첫 번째 인수를 허용하는 액세스 가능한 확장 메서드 'PasswordBox'이(가) 없습니다. using 지시문 또는 어셈블리 참조가 있는지 확인하세요. [C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\leak_test_project.csproj] -C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\Views\StartupLoginWindow.xaml.cs(78,26): error CS1061: 'StartupLoginWindow'에는 'PasswordBox'에 대한 정의가 포함되어 있지 않고, 'StartupLoginWindow' 형식의 첫 번째 인수를 허용하는 액세스 가능한 확장 메서드 'PasswordBox'이(가) 없습니다. using 지시문 또는 어셈블리 참조가 있는지 확인하세요. [C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\leak_test_project.csproj] -C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\Views\StartupLoginWindow.xaml.cs(90,17): error CS0103: 'OperatorTextBox' 이름이 현재 컨텍스트에 없습니다. [C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\leak_test_project.csproj] -C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\Views\StartupLoginWindow.xaml.cs(91,17): error CS0103: 'OperatorTextBox' 이름이 현재 컨텍스트에 없습니다. [C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\leak_test_project.csproj] -C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\MainWindow.xaml.cs(49,13): error CS0103: 'txtCurrentDateTime' 이름이 현재 컨텍스트에 없습니다. [C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\leak_test_project.csproj] -C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\Views\StartupLoginWindow.xaml.cs(106,33): error CS0103: 'MakerTextBox' 이름이 현재 컨텍스트에 없습니다. [C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\leak_test_project.csproj] -C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\Views\StartupLoginWindow.xaml.cs(107,33): error CS0103: 'ModelTextBox' 이름이 현재 컨텍스트에 없습니다. [C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\leak_test_project.csproj] -C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\Views\StartupLoginWindow.xaml.cs(108,33): error CS0103: 'Variant1TextBox' 이름이 현재 컨텍스트에 없습니다. [C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\leak_test_project.csproj] -C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\Views\StartupLoginWindow.xaml.cs(109,33): error CS0103: 'Variant2TextBox' 이름이 현재 컨텍스트에 없습니다. [C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\leak_test_project.csproj] -C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\Views\StartupLoginWindow.xaml.cs(110,33): error CS0103: 'OperatorTextBox' 이름이 현재 컨텍스트에 없습니다. [C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\leak_test_project.csproj] -C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\Views\StartupLoginWindow.xaml.cs(111,42): error CS1061: 'StartupLoginWindow'에는 'PasswordBox'에 대한 정의가 포함되어 있지 않고, 'StartupLoginWindow' 형식의 첫 번째 인수를 허용하는 액세스 가능한 확장 메서드 'PasswordBox'이(가) 없습니다. using 지시문 또는 어셈블리 참조가 있는지 확인하세요. [C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\leak_test_project.csproj] -C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\Views\StartupLoginWindow.xaml.cs(112,33): error CS0103: 'LineNoTextBox' 이름이 현재 컨텍스트에 없습니다. [C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\leak_test_project.csproj] -C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\Views\StartupLoginWindow.xaml.cs(113,33): error CS0103: 'LotNoTextBox' 이름이 현재 컨텍스트에 없습니다. [C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\leak_test_project.csproj] -C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\Views\StartupLoginWindow.xaml.cs(114,33): error CS0103: 'JigNoTextBox' 이름이 현재 컨텍스트에 없습니다. [C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\leak_test_project.csproj] -C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\MainWindow.xaml.cs(62,17): error CS0103: 'txtMaximizeIcon' 이름이 현재 컨텍스트에 없습니다. [C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\leak_test_project.csproj] -C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\MainWindow.xaml.cs(63,17): error CS0103: 'btnMaximize' 이름이 현재 컨텍스트에 없습니다. [C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\leak_test_project.csproj] -C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\MainWindow.xaml.cs(68,17): error CS0103: 'txtMaximizeIcon' 이름이 현재 컨텍스트에 없습니다. [C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\leak_test_project.csproj] -C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\MainWindow.xaml.cs(69,17): error CS0103: 'btnMaximize' 이름이 현재 컨텍스트에 없습니다. [C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\leak_test_project.csproj] -C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\Views\StartupLoginWindow.xaml.cs(137,31): error CS0103: 'MakerTextBox' 이름이 현재 컨텍스트에 없습니다. [C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\leak_test_project.csproj] -C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\Views\StartupLoginWindow.xaml.cs(137,54): error CS0103: 'ModelTextBox' 이름이 현재 컨텍스트에 없습니다. [C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\leak_test_project.csproj] -C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\Views\StartupLoginWindow.xaml.cs(138,31): error CS0103: 'ModelTextBox' 이름이 현재 컨텍스트에 없습니다. [C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\leak_test_project.csproj] -C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\Views\StartupLoginWindow.xaml.cs(138,54): error CS0103: 'Variant1TextBox' 이름이 현재 컨텍스트에 없습니다. [C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\leak_test_project.csproj] -C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\Views\StartupLoginWindow.xaml.cs(139,31): error CS0103: 'Variant1TextBox' 이름이 현재 컨텍스트에 없습니다. [C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\leak_test_project.csproj] -C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\Views\StartupLoginWindow.xaml.cs(139,60): error CS0103: 'Variant2TextBox' 이름이 현재 컨텍스트에 없습니다. [C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\leak_test_project.csproj] -C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\Views\StartupLoginWindow.xaml.cs(140,31): error CS0103: 'Variant2TextBox' 이름이 현재 컨텍스트에 없습니다. [C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\leak_test_project.csproj] -C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\Views\StartupLoginWindow.xaml.cs(140,60): error CS0103: 'OperatorTextBox' 이름이 현재 컨텍스트에 없습니다. [C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\leak_test_project.csproj] -C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\Views\StartupLoginWindow.xaml.cs(141,31): error CS0103: 'OperatorTextBox' 이름이 현재 컨텍스트에 없습니다. [C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\leak_test_project.csproj] -C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\Views\StartupLoginWindow.xaml.cs(141,79): error CS1061: 'StartupLoginWindow'에는 'PasswordBox'에 대한 정의가 포함되어 있지 않고, 'StartupLoginWindow' 형식의 첫 번째 인수를 허용하는 액세스 가능한 확장 메서드 'PasswordBox'이(가) 없습니다. using 지시문 또는 어셈블리 참조가 있는지 확인하세요. [C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\leak_test_project.csproj] -C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\Views\StartupLoginWindow.xaml.cs(142,31): error CS0103: 'LineNoTextBox' 이름이 현재 컨텍스트에 없습니다. [C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\leak_test_project.csproj] -C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\Views\StartupLoginWindow.xaml.cs(142,56): error CS0103: 'LotNoTextBox' 이름이 현재 컨텍스트에 없습니다. [C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\leak_test_project.csproj] -C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\Views\StartupLoginWindow.xaml.cs(143,31): error CS0103: 'LotNoTextBox' 이름이 현재 컨텍스트에 없습니다. [C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\leak_test_project.csproj] -C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\Views\StartupLoginWindow.xaml.cs(143,54): error CS0103: 'JigNoTextBox' 이름이 현재 컨텍스트에 없습니다. [C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\leak_test_project.csproj] -C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\Views\StartupLoginWindow.xaml.cs(144,31): error CS0103: 'JigNoTextBox' 이름이 현재 컨텍스트에 없습니다. [C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\leak_test_project.csproj] -C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\Views\StartupLoginWindow.xaml.cs(144,54): error CS0103: 'LoginButton' 이름이 현재 컨텍스트에 없습니다. [C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\leak_test_project.csproj] - -빌드하지 못했습니다. - -CSC : error CS5001: 프로그램에는 진입점에 적합한 정적 'Main' 메서드가 포함되어 있지 않습니다. [C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\leak_test_project.csproj] -C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\MainWindow.xaml.cs(15,13): error CS0103: 'InitializeComponent' 이름이 현재 컨텍스트에 없습니다. [C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\leak_test_project.csproj] -C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\Views\CommunicationWindow.xaml.cs(14,13): error CS0103: 'InitializeComponent' 이름이 현재 컨텍스트에 없습니다. [C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\leak_test_project.csproj] -C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\Views\CommunicationWindow.xaml.cs(24,13): error CS0103: 'cbSensorPort' 이름이 현재 컨텍스트에 없습니다. [C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\leak_test_project.csproj] -C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\Views\CommunicationWindow.xaml.cs(25,13): error CS0103: 'cbBoard4251Port' 이름이 현재 컨텍스트에 없습니다. [C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\leak_test_project.csproj] -C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\Views\CommunicationWindow.xaml.cs(28,13): error CS0103: 'cbSensorPort' 이름이 현재 컨텍스트에 없습니다. [C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\leak_test_project.csproj] -C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\Views\CommunicationWindow.xaml.cs(29,13): error CS0103: 'cbBoard4251Port' 이름이 현재 컨텍스트에 없습니다. [C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\leak_test_project.csproj] -C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\Views\CommunicationWindow.xaml.cs(31,43): error CS0103: 'cbSensorBaudRate' 이름이 현재 컨텍스트에 없습니다. [C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\leak_test_project.csproj] -C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\Views\CommunicationWindow.xaml.cs(35,21): error CS0103: 'cbSensorBaudRate' 이름이 현재 컨텍스트에 없습니다. [C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\leak_test_project.csproj] -C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\Views\CommunicationWindow.xaml.cs(40,43): error CS0103: 'cbBoard4251BaudRate' 이름이 현재 컨텍스트에 없습니다. [C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\leak_test_project.csproj] -C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\Views\CommunicationWindow.xaml.cs(44,21): error CS0103: 'cbBoard4251BaudRate' 이름이 현재 컨텍스트에 없습니다. [C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\leak_test_project.csproj] -C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\Views\StartupLoginWindow.xaml.cs(37,13): error CS0103: 'InitializeComponent' 이름이 현재 컨텍스트에 없습니다. [C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\leak_test_project.csproj] -C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\Views\StartupLoginWindow.xaml.cs(39,18): error CS1061: 'StartupLoginWindow'에는 'PasswordBox'에 대한 정의가 포함되어 있지 않고, 'StartupLoginWindow' 형식의 첫 번째 인수를 허용하는 액세스 가능한 확장 메서드 'PasswordBox'이(가) 없습니다. using 지시문 또는 어셈블리 참조가 있는지 확인하세요. [C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\leak_test_project.csproj] -C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\Views\StartupLoginWindow.xaml.cs(40,13): error CS0103: 'LoginButton' 이름이 현재 컨텍스트에 없습니다. [C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\leak_test_project.csproj] -C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\Views\StartupLoginWindow.xaml.cs(41,13): error CS0103: 'OperatorTextBox' 이름이 현재 컨텍스트에 없습니다. [C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\leak_test_project.csproj] -C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\Views\DataView.xaml.cs(9,13): error CS0103: 'InitializeComponent' 이름이 현재 컨텍스트에 없습니다. [C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\leak_test_project.csproj] -C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\Views\HomeView.xaml.cs(9,13): error CS0103: 'InitializeComponent' 이름이 현재 컨텍스트에 없습니다. [C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\leak_test_project.csproj] -C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\Views\ParametersWindow.xaml.cs(11,13): error CS0103: 'InitializeComponent' 이름이 현재 컨텍스트에 없습니다. [C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\leak_test_project.csproj] -C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\Views\ParametersWindow.xaml.cs(15,13): error CS0103: 'editSpecUL' 이름이 현재 컨텍스트에 없습니다. [C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\leak_test_project.csproj] -C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\Views\ParametersWindow.xaml.cs(16,13): error CS0103: 'editSpecLL' 이름이 현재 컨텍스트에 없습니다. [C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\leak_test_project.csproj] -C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\Views\ParametersWindow.xaml.cs(22,33): error CS0103: 'editSpecUL' 이름이 현재 컨텍스트에 없습니다. [C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\leak_test_project.csproj] -C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\Views\ParametersWindow.xaml.cs(27,33): error CS0103: 'editSpecLL' 이름이 현재 컨텍스트에 없습니다. [C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\leak_test_project.csproj] -C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\Views\CommunicationWindow.xaml.cs(54,17): error CS0103: 'cbSensorPort' 이름이 현재 컨텍스트에 없습니다. [C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\leak_test_project.csproj] -C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\Views\CommunicationWindow.xaml.cs(55,37): error CS0103: 'cbSensorPort' 이름이 현재 컨텍스트에 없습니다. [C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\leak_test_project.csproj] -C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\Views\CommunicationWindow.xaml.cs(57,17): error CS0103: 'cbBoard4251Port' 이름이 현재 컨텍스트에 없습니다. [C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\leak_test_project.csproj] -C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\Views\CommunicationWindow.xaml.cs(58,40): error CS0103: 'cbBoard4251Port' 이름이 현재 컨텍스트에 없습니다. [C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\leak_test_project.csproj] -C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\Views\CommunicationWindow.xaml.cs(59,17): error CS0103: 'cbSensorBaudRate' 이름이 현재 컨텍스트에 없습니다. [C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\leak_test_project.csproj] -C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\Views\CommunicationWindow.xaml.cs(65,17): error CS0103: 'cbBoard4251BaudRate' 이름이 현재 컨텍스트에 없습니다. [C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\leak_test_project.csproj] -C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\Views\StartupLoginWindow.xaml.cs(77,26): error CS1061: 'StartupLoginWindow'에는 'PasswordBox'에 대한 정의가 포함되어 있지 않고, 'StartupLoginWindow' 형식의 첫 번째 인수를 허용하는 액세스 가능한 확장 메서드 'PasswordBox'이(가) 없습니다. using 지시문 또는 어셈블리 참조가 있는지 확인하세요. [C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\leak_test_project.csproj] -C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\Views\StartupLoginWindow.xaml.cs(78,26): error CS1061: 'StartupLoginWindow'에는 'PasswordBox'에 대한 정의가 포함되어 있지 않고, 'StartupLoginWindow' 형식의 첫 번째 인수를 허용하는 액세스 가능한 확장 메서드 'PasswordBox'이(가) 없습니다. using 지시문 또는 어셈블리 참조가 있는지 확인하세요. [C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\leak_test_project.csproj] -C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\Views\StartupLoginWindow.xaml.cs(90,17): error CS0103: 'OperatorTextBox' 이름이 현재 컨텍스트에 없습니다. [C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\leak_test_project.csproj] -C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\Views\StartupLoginWindow.xaml.cs(91,17): error CS0103: 'OperatorTextBox' 이름이 현재 컨텍스트에 없습니다. [C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\leak_test_project.csproj] -C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\MainWindow.xaml.cs(49,13): error CS0103: 'txtCurrentDateTime' 이름이 현재 컨텍스트에 없습니다. [C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\leak_test_project.csproj] -C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\Views\StartupLoginWindow.xaml.cs(106,33): error CS0103: 'MakerTextBox' 이름이 현재 컨텍스트에 없습니다. [C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\leak_test_project.csproj] -C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\Views\StartupLoginWindow.xaml.cs(107,33): error CS0103: 'ModelTextBox' 이름이 현재 컨텍스트에 없습니다. [C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\leak_test_project.csproj] -C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\Views\StartupLoginWindow.xaml.cs(108,33): error CS0103: 'Variant1TextBox' 이름이 현재 컨텍스트에 없습니다. [C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\leak_test_project.csproj] -C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\Views\StartupLoginWindow.xaml.cs(109,33): error CS0103: 'Variant2TextBox' 이름이 현재 컨텍스트에 없습니다. [C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\leak_test_project.csproj] -C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\Views\StartupLoginWindow.xaml.cs(110,33): error CS0103: 'OperatorTextBox' 이름이 현재 컨텍스트에 없습니다. [C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\leak_test_project.csproj] -C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\Views\StartupLoginWindow.xaml.cs(111,42): error CS1061: 'StartupLoginWindow'에는 'PasswordBox'에 대한 정의가 포함되어 있지 않고, 'StartupLoginWindow' 형식의 첫 번째 인수를 허용하는 액세스 가능한 확장 메서드 'PasswordBox'이(가) 없습니다. using 지시문 또는 어셈블리 참조가 있는지 확인하세요. [C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\leak_test_project.csproj] -C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\Views\StartupLoginWindow.xaml.cs(112,33): error CS0103: 'LineNoTextBox' 이름이 현재 컨텍스트에 없습니다. [C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\leak_test_project.csproj] -C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\Views\StartupLoginWindow.xaml.cs(113,33): error CS0103: 'LotNoTextBox' 이름이 현재 컨텍스트에 없습니다. [C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\leak_test_project.csproj] -C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\Views\StartupLoginWindow.xaml.cs(114,33): error CS0103: 'JigNoTextBox' 이름이 현재 컨텍스트에 없습니다. [C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\leak_test_project.csproj] -C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\MainWindow.xaml.cs(62,17): error CS0103: 'txtMaximizeIcon' 이름이 현재 컨텍스트에 없습니다. [C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\leak_test_project.csproj] -C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\MainWindow.xaml.cs(63,17): error CS0103: 'btnMaximize' 이름이 현재 컨텍스트에 없습니다. [C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\leak_test_project.csproj] -C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\MainWindow.xaml.cs(68,17): error CS0103: 'txtMaximizeIcon' 이름이 현재 컨텍스트에 없습니다. [C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\leak_test_project.csproj] -C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\MainWindow.xaml.cs(69,17): error CS0103: 'btnMaximize' 이름이 현재 컨텍스트에 없습니다. [C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\leak_test_project.csproj] -C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\Views\StartupLoginWindow.xaml.cs(137,31): error CS0103: 'MakerTextBox' 이름이 현재 컨텍스트에 없습니다. [C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\leak_test_project.csproj] -C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\Views\StartupLoginWindow.xaml.cs(137,54): error CS0103: 'ModelTextBox' 이름이 현재 컨텍스트에 없습니다. [C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\leak_test_project.csproj] -C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\Views\StartupLoginWindow.xaml.cs(138,31): error CS0103: 'ModelTextBox' 이름이 현재 컨텍스트에 없습니다. [C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\leak_test_project.csproj] -C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\Views\StartupLoginWindow.xaml.cs(138,54): error CS0103: 'Variant1TextBox' 이름이 현재 컨텍스트에 없습니다. [C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\leak_test_project.csproj] -C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\Views\StartupLoginWindow.xaml.cs(139,31): error CS0103: 'Variant1TextBox' 이름이 현재 컨텍스트에 없습니다. [C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\leak_test_project.csproj] -C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\Views\StartupLoginWindow.xaml.cs(139,60): error CS0103: 'Variant2TextBox' 이름이 현재 컨텍스트에 없습니다. [C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\leak_test_project.csproj] -C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\Views\StartupLoginWindow.xaml.cs(140,31): error CS0103: 'Variant2TextBox' 이름이 현재 컨텍스트에 없습니다. [C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\leak_test_project.csproj] -C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\Views\StartupLoginWindow.xaml.cs(140,60): error CS0103: 'OperatorTextBox' 이름이 현재 컨텍스트에 없습니다. [C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\leak_test_project.csproj] -C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\Views\StartupLoginWindow.xaml.cs(141,31): error CS0103: 'OperatorTextBox' 이름이 현재 컨텍스트에 없습니다. [C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\leak_test_project.csproj] -C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\Views\StartupLoginWindow.xaml.cs(141,79): error CS1061: 'StartupLoginWindow'에는 'PasswordBox'에 대한 정의가 포함되어 있지 않고, 'StartupLoginWindow' 형식의 첫 번째 인수를 허용하는 액세스 가능한 확장 메서드 'PasswordBox'이(가) 없습니다. using 지시문 또는 어셈블리 참조가 있는지 확인하세요. [C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\leak_test_project.csproj] -C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\Views\StartupLoginWindow.xaml.cs(142,31): error CS0103: 'LineNoTextBox' 이름이 현재 컨텍스트에 없습니다. [C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\leak_test_project.csproj] -C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\Views\StartupLoginWindow.xaml.cs(142,56): error CS0103: 'LotNoTextBox' 이름이 현재 컨텍스트에 없습니다. [C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\leak_test_project.csproj] -C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\Views\StartupLoginWindow.xaml.cs(143,31): error CS0103: 'LotNoTextBox' 이름이 현재 컨텍스트에 없습니다. [C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\leak_test_project.csproj] -C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\Views\StartupLoginWindow.xaml.cs(143,54): error CS0103: 'JigNoTextBox' 이름이 현재 컨텍스트에 없습니다. [C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\leak_test_project.csproj] -C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\Views\StartupLoginWindow.xaml.cs(144,31): error CS0103: 'JigNoTextBox' 이름이 현재 컨텍스트에 없습니다. [C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\leak_test_project.csproj] -C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\Views\StartupLoginWindow.xaml.cs(144,54): error CS0103: 'LoginButton' 이름이 현재 컨텍스트에 없습니다. [C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\leak_test_project.csproj] - 경고 0개 - 오류 62개 - -경과 시간: 00:00:01.06 diff --git a/leak_test_project/build_error_utf8_2.log b/leak_test_project/build_error_utf8_2.log deleted file mode 100644 index 81e5cf8..0000000 --- a/leak_test_project/build_error_utf8_2.log +++ /dev/null @@ -1,133 +0,0 @@ - 복원할 프로젝트를 확인하는 중... - 수행할 작업이 없습니다. 지정한 프로젝트에 복원할 패키지가 없습니다. -CSC : error CS5001: 프로그램에는 진입점에 적합한 정적 'Main' 메서드가 포함되어 있지 않습니다. [C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\leak_test_project.csproj] -C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\Views\DataView.xaml.cs(9,13): error CS0103: 'InitializeComponent' 이름이 현재 컨텍스트에 없습니다. [C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\leak_test_project.csproj] -C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\Views\HomeView.xaml.cs(9,13): error CS0103: 'InitializeComponent' 이름이 현재 컨텍스트에 없습니다. [C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\leak_test_project.csproj] -C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\Views\CommunicationWindow.xaml.cs(14,13): error CS0103: 'InitializeComponent' 이름이 현재 컨텍스트에 없습니다. [C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\leak_test_project.csproj] -C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\MainWindow.xaml.cs(15,13): error CS0103: 'InitializeComponent' 이름이 현재 컨텍스트에 없습니다. [C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\leak_test_project.csproj] -C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\Views\ParametersWindow.xaml.cs(11,13): error CS0103: 'InitializeComponent' 이름이 현재 컨텍스트에 없습니다. [C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\leak_test_project.csproj] -C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\Views\ParametersWindow.xaml.cs(15,13): error CS0103: 'editSpecUL' 이름이 현재 컨텍스트에 없습니다. [C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\leak_test_project.csproj] -C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\Views\ParametersWindow.xaml.cs(16,13): error CS0103: 'editSpecLL' 이름이 현재 컨텍스트에 없습니다. [C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\leak_test_project.csproj] -C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\Views\ParametersWindow.xaml.cs(22,33): error CS0103: 'editSpecUL' 이름이 현재 컨텍스트에 없습니다. [C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\leak_test_project.csproj] -C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\Views\ParametersWindow.xaml.cs(27,33): error CS0103: 'editSpecLL' 이름이 현재 컨텍스트에 없습니다. [C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\leak_test_project.csproj] -C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\Views\CommunicationWindow.xaml.cs(24,13): error CS0103: 'cbSensorPort' 이름이 현재 컨텍스트에 없습니다. [C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\leak_test_project.csproj] -C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\Views\CommunicationWindow.xaml.cs(25,13): error CS0103: 'cbBoard4251Port' 이름이 현재 컨텍스트에 없습니다. [C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\leak_test_project.csproj] -C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\Views\CommunicationWindow.xaml.cs(28,13): error CS0103: 'cbSensorPort' 이름이 현재 컨텍스트에 없습니다. [C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\leak_test_project.csproj] -C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\Views\CommunicationWindow.xaml.cs(29,13): error CS0103: 'cbBoard4251Port' 이름이 현재 컨텍스트에 없습니다. [C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\leak_test_project.csproj] -C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\Views\CommunicationWindow.xaml.cs(31,43): error CS0103: 'cbSensorBaudRate' 이름이 현재 컨텍스트에 없습니다. [C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\leak_test_project.csproj] -C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\Views\CommunicationWindow.xaml.cs(35,21): error CS0103: 'cbSensorBaudRate' 이름이 현재 컨텍스트에 없습니다. [C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\leak_test_project.csproj] -C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\Views\CommunicationWindow.xaml.cs(40,43): error CS0103: 'cbBoard4251BaudRate' 이름이 현재 컨텍스트에 없습니다. [C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\leak_test_project.csproj] -C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\Views\CommunicationWindow.xaml.cs(44,21): error CS0103: 'cbBoard4251BaudRate' 이름이 현재 컨텍스트에 없습니다. [C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\leak_test_project.csproj] -C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\Views\StartupLoginWindow.xaml.cs(37,13): error CS0103: 'InitializeComponent' 이름이 현재 컨텍스트에 없습니다. [C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\leak_test_project.csproj] -C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\Views\StartupLoginWindow.xaml.cs(39,18): error CS1061: 'StartupLoginWindow'에는 'PasswordBox'에 대한 정의가 포함되어 있지 않고, 'StartupLoginWindow' 형식의 첫 번째 인수를 허용하는 액세스 가능한 확장 메서드 'PasswordBox'이(가) 없습니다. using 지시문 또는 어셈블리 참조가 있는지 확인하세요. [C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\leak_test_project.csproj] -C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\Views\StartupLoginWindow.xaml.cs(40,13): error CS0103: 'LoginButton' 이름이 현재 컨텍스트에 없습니다. [C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\leak_test_project.csproj] -C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\Views\StartupLoginWindow.xaml.cs(41,13): error CS0103: 'OperatorTextBox' 이름이 현재 컨텍스트에 없습니다. [C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\leak_test_project.csproj] -C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\Views\CommunicationWindow.xaml.cs(54,17): error CS0103: 'cbSensorPort' 이름이 현재 컨텍스트에 없습니다. [C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\leak_test_project.csproj] -C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\Views\CommunicationWindow.xaml.cs(55,37): error CS0103: 'cbSensorPort' 이름이 현재 컨텍스트에 없습니다. [C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\leak_test_project.csproj] -C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\Views\CommunicationWindow.xaml.cs(57,17): error CS0103: 'cbBoard4251Port' 이름이 현재 컨텍스트에 없습니다. [C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\leak_test_project.csproj] -C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\Views\CommunicationWindow.xaml.cs(58,40): error CS0103: 'cbBoard4251Port' 이름이 현재 컨텍스트에 없습니다. [C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\leak_test_project.csproj] -C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\Views\CommunicationWindow.xaml.cs(59,17): error CS0103: 'cbSensorBaudRate' 이름이 현재 컨텍스트에 없습니다. [C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\leak_test_project.csproj] -C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\Views\CommunicationWindow.xaml.cs(65,17): error CS0103: 'cbBoard4251BaudRate' 이름이 현재 컨텍스트에 없습니다. [C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\leak_test_project.csproj] -C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\Views\StartupLoginWindow.xaml.cs(77,26): error CS1061: 'StartupLoginWindow'에는 'PasswordBox'에 대한 정의가 포함되어 있지 않고, 'StartupLoginWindow' 형식의 첫 번째 인수를 허용하는 액세스 가능한 확장 메서드 'PasswordBox'이(가) 없습니다. using 지시문 또는 어셈블리 참조가 있는지 확인하세요. [C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\leak_test_project.csproj] -C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\Views\StartupLoginWindow.xaml.cs(78,26): error CS1061: 'StartupLoginWindow'에는 'PasswordBox'에 대한 정의가 포함되어 있지 않고, 'StartupLoginWindow' 형식의 첫 번째 인수를 허용하는 액세스 가능한 확장 메서드 'PasswordBox'이(가) 없습니다. using 지시문 또는 어셈블리 참조가 있는지 확인하세요. [C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\leak_test_project.csproj] -C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\Views\StartupLoginWindow.xaml.cs(90,17): error CS0103: 'OperatorTextBox' 이름이 현재 컨텍스트에 없습니다. [C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\leak_test_project.csproj] -C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\Views\StartupLoginWindow.xaml.cs(91,17): error CS0103: 'OperatorTextBox' 이름이 현재 컨텍스트에 없습니다. [C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\leak_test_project.csproj] -C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\Views\StartupLoginWindow.xaml.cs(106,33): error CS0103: 'MakerTextBox' 이름이 현재 컨텍스트에 없습니다. [C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\leak_test_project.csproj] -C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\Views\StartupLoginWindow.xaml.cs(107,33): error CS0103: 'ModelTextBox' 이름이 현재 컨텍스트에 없습니다. [C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\leak_test_project.csproj] -C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\Views\StartupLoginWindow.xaml.cs(108,33): error CS0103: 'Variant1TextBox' 이름이 현재 컨텍스트에 없습니다. [C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\leak_test_project.csproj] -C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\Views\StartupLoginWindow.xaml.cs(109,33): error CS0103: 'Variant2TextBox' 이름이 현재 컨텍스트에 없습니다. [C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\leak_test_project.csproj] -C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\Views\StartupLoginWindow.xaml.cs(110,33): error CS0103: 'OperatorTextBox' 이름이 현재 컨텍스트에 없습니다. [C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\leak_test_project.csproj] -C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\Views\StartupLoginWindow.xaml.cs(111,42): error CS1061: 'StartupLoginWindow'에는 'PasswordBox'에 대한 정의가 포함되어 있지 않고, 'StartupLoginWindow' 형식의 첫 번째 인수를 허용하는 액세스 가능한 확장 메서드 'PasswordBox'이(가) 없습니다. using 지시문 또는 어셈블리 참조가 있는지 확인하세요. [C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\leak_test_project.csproj] -C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\Views\StartupLoginWindow.xaml.cs(112,33): error CS0103: 'LineNoTextBox' 이름이 현재 컨텍스트에 없습니다. [C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\leak_test_project.csproj] -C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\Views\StartupLoginWindow.xaml.cs(113,33): error CS0103: 'LotNoTextBox' 이름이 현재 컨텍스트에 없습니다. [C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\leak_test_project.csproj] -C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\Views\StartupLoginWindow.xaml.cs(114,33): error CS0103: 'JigNoTextBox' 이름이 현재 컨텍스트에 없습니다. [C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\leak_test_project.csproj] -C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\Views\StartupLoginWindow.xaml.cs(137,31): error CS0103: 'MakerTextBox' 이름이 현재 컨텍스트에 없습니다. [C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\leak_test_project.csproj] -C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\Views\StartupLoginWindow.xaml.cs(137,54): error CS0103: 'ModelTextBox' 이름이 현재 컨텍스트에 없습니다. [C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\leak_test_project.csproj] -C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\Views\StartupLoginWindow.xaml.cs(138,31): error CS0103: 'ModelTextBox' 이름이 현재 컨텍스트에 없습니다. [C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\leak_test_project.csproj] -C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\Views\StartupLoginWindow.xaml.cs(138,54): error CS0103: 'Variant1TextBox' 이름이 현재 컨텍스트에 없습니다. [C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\leak_test_project.csproj] -C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\Views\StartupLoginWindow.xaml.cs(139,31): error CS0103: 'Variant1TextBox' 이름이 현재 컨텍스트에 없습니다. [C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\leak_test_project.csproj] -C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\Views\StartupLoginWindow.xaml.cs(139,60): error CS0103: 'Variant2TextBox' 이름이 현재 컨텍스트에 없습니다. [C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\leak_test_project.csproj] -C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\Views\StartupLoginWindow.xaml.cs(140,31): error CS0103: 'Variant2TextBox' 이름이 현재 컨텍스트에 없습니다. [C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\leak_test_project.csproj] -C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\Views\StartupLoginWindow.xaml.cs(140,60): error CS0103: 'OperatorTextBox' 이름이 현재 컨텍스트에 없습니다. [C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\leak_test_project.csproj] -C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\Views\StartupLoginWindow.xaml.cs(141,31): error CS0103: 'OperatorTextBox' 이름이 현재 컨텍스트에 없습니다. [C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\leak_test_project.csproj] -C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\Views\StartupLoginWindow.xaml.cs(141,79): error CS1061: 'StartupLoginWindow'에는 'PasswordBox'에 대한 정의가 포함되어 있지 않고, 'StartupLoginWindow' 형식의 첫 번째 인수를 허용하는 액세스 가능한 확장 메서드 'PasswordBox'이(가) 없습니다. using 지시문 또는 어셈블리 참조가 있는지 확인하세요. [C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\leak_test_project.csproj] -C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\Views\StartupLoginWindow.xaml.cs(142,31): error CS0103: 'LineNoTextBox' 이름이 현재 컨텍스트에 없습니다. [C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\leak_test_project.csproj] -C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\Views\StartupLoginWindow.xaml.cs(142,56): error CS0103: 'LotNoTextBox' 이름이 현재 컨텍스트에 없습니다. [C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\leak_test_project.csproj] -C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\Views\StartupLoginWindow.xaml.cs(143,31): error CS0103: 'LotNoTextBox' 이름이 현재 컨텍스트에 없습니다. [C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\leak_test_project.csproj] -C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\Views\StartupLoginWindow.xaml.cs(143,54): error CS0103: 'JigNoTextBox' 이름이 현재 컨텍스트에 없습니다. [C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\leak_test_project.csproj] -C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\Views\StartupLoginWindow.xaml.cs(144,31): error CS0103: 'JigNoTextBox' 이름이 현재 컨텍스트에 없습니다. [C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\leak_test_project.csproj] -C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\Views\StartupLoginWindow.xaml.cs(144,54): error CS0103: 'LoginButton' 이름이 현재 컨텍스트에 없습니다. [C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\leak_test_project.csproj] -C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\MainWindow.xaml.cs(49,13): error CS0103: 'txtCurrentDateTime' 이름이 현재 컨텍스트에 없습니다. [C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\leak_test_project.csproj] -C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\MainWindow.xaml.cs(62,17): error CS0103: 'txtMaximizeIcon' 이름이 현재 컨텍스트에 없습니다. [C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\leak_test_project.csproj] -C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\MainWindow.xaml.cs(63,17): error CS0103: 'btnMaximize' 이름이 현재 컨텍스트에 없습니다. [C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\leak_test_project.csproj] -C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\MainWindow.xaml.cs(68,17): error CS0103: 'txtMaximizeIcon' 이름이 현재 컨텍스트에 없습니다. [C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\leak_test_project.csproj] -C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\MainWindow.xaml.cs(69,17): error CS0103: 'btnMaximize' 이름이 현재 컨텍스트에 없습니다. [C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\leak_test_project.csproj] - -빌드하지 못했습니다. - -CSC : error CS5001: 프로그램에는 진입점에 적합한 정적 'Main' 메서드가 포함되어 있지 않습니다. [C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\leak_test_project.csproj] -C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\Views\DataView.xaml.cs(9,13): error CS0103: 'InitializeComponent' 이름이 현재 컨텍스트에 없습니다. [C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\leak_test_project.csproj] -C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\Views\HomeView.xaml.cs(9,13): error CS0103: 'InitializeComponent' 이름이 현재 컨텍스트에 없습니다. [C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\leak_test_project.csproj] -C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\Views\CommunicationWindow.xaml.cs(14,13): error CS0103: 'InitializeComponent' 이름이 현재 컨텍스트에 없습니다. [C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\leak_test_project.csproj] -C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\MainWindow.xaml.cs(15,13): error CS0103: 'InitializeComponent' 이름이 현재 컨텍스트에 없습니다. [C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\leak_test_project.csproj] -C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\Views\ParametersWindow.xaml.cs(11,13): error CS0103: 'InitializeComponent' 이름이 현재 컨텍스트에 없습니다. [C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\leak_test_project.csproj] -C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\Views\ParametersWindow.xaml.cs(15,13): error CS0103: 'editSpecUL' 이름이 현재 컨텍스트에 없습니다. [C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\leak_test_project.csproj] -C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\Views\ParametersWindow.xaml.cs(16,13): error CS0103: 'editSpecLL' 이름이 현재 컨텍스트에 없습니다. [C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\leak_test_project.csproj] -C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\Views\ParametersWindow.xaml.cs(22,33): error CS0103: 'editSpecUL' 이름이 현재 컨텍스트에 없습니다. [C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\leak_test_project.csproj] -C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\Views\ParametersWindow.xaml.cs(27,33): error CS0103: 'editSpecLL' 이름이 현재 컨텍스트에 없습니다. [C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\leak_test_project.csproj] -C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\Views\CommunicationWindow.xaml.cs(24,13): error CS0103: 'cbSensorPort' 이름이 현재 컨텍스트에 없습니다. [C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\leak_test_project.csproj] -C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\Views\CommunicationWindow.xaml.cs(25,13): error CS0103: 'cbBoard4251Port' 이름이 현재 컨텍스트에 없습니다. [C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\leak_test_project.csproj] -C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\Views\CommunicationWindow.xaml.cs(28,13): error CS0103: 'cbSensorPort' 이름이 현재 컨텍스트에 없습니다. [C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\leak_test_project.csproj] -C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\Views\CommunicationWindow.xaml.cs(29,13): error CS0103: 'cbBoard4251Port' 이름이 현재 컨텍스트에 없습니다. [C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\leak_test_project.csproj] -C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\Views\CommunicationWindow.xaml.cs(31,43): error CS0103: 'cbSensorBaudRate' 이름이 현재 컨텍스트에 없습니다. [C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\leak_test_project.csproj] -C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\Views\CommunicationWindow.xaml.cs(35,21): error CS0103: 'cbSensorBaudRate' 이름이 현재 컨텍스트에 없습니다. [C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\leak_test_project.csproj] -C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\Views\CommunicationWindow.xaml.cs(40,43): error CS0103: 'cbBoard4251BaudRate' 이름이 현재 컨텍스트에 없습니다. [C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\leak_test_project.csproj] -C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\Views\CommunicationWindow.xaml.cs(44,21): error CS0103: 'cbBoard4251BaudRate' 이름이 현재 컨텍스트에 없습니다. [C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\leak_test_project.csproj] -C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\Views\StartupLoginWindow.xaml.cs(37,13): error CS0103: 'InitializeComponent' 이름이 현재 컨텍스트에 없습니다. [C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\leak_test_project.csproj] -C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\Views\StartupLoginWindow.xaml.cs(39,18): error CS1061: 'StartupLoginWindow'에는 'PasswordBox'에 대한 정의가 포함되어 있지 않고, 'StartupLoginWindow' 형식의 첫 번째 인수를 허용하는 액세스 가능한 확장 메서드 'PasswordBox'이(가) 없습니다. using 지시문 또는 어셈블리 참조가 있는지 확인하세요. [C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\leak_test_project.csproj] -C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\Views\StartupLoginWindow.xaml.cs(40,13): error CS0103: 'LoginButton' 이름이 현재 컨텍스트에 없습니다. [C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\leak_test_project.csproj] -C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\Views\StartupLoginWindow.xaml.cs(41,13): error CS0103: 'OperatorTextBox' 이름이 현재 컨텍스트에 없습니다. [C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\leak_test_project.csproj] -C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\Views\CommunicationWindow.xaml.cs(54,17): error CS0103: 'cbSensorPort' 이름이 현재 컨텍스트에 없습니다. [C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\leak_test_project.csproj] -C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\Views\CommunicationWindow.xaml.cs(55,37): error CS0103: 'cbSensorPort' 이름이 현재 컨텍스트에 없습니다. [C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\leak_test_project.csproj] -C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\Views\CommunicationWindow.xaml.cs(57,17): error CS0103: 'cbBoard4251Port' 이름이 현재 컨텍스트에 없습니다. [C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\leak_test_project.csproj] -C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\Views\CommunicationWindow.xaml.cs(58,40): error CS0103: 'cbBoard4251Port' 이름이 현재 컨텍스트에 없습니다. [C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\leak_test_project.csproj] -C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\Views\CommunicationWindow.xaml.cs(59,17): error CS0103: 'cbSensorBaudRate' 이름이 현재 컨텍스트에 없습니다. [C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\leak_test_project.csproj] -C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\Views\CommunicationWindow.xaml.cs(65,17): error CS0103: 'cbBoard4251BaudRate' 이름이 현재 컨텍스트에 없습니다. [C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\leak_test_project.csproj] -C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\Views\StartupLoginWindow.xaml.cs(77,26): error CS1061: 'StartupLoginWindow'에는 'PasswordBox'에 대한 정의가 포함되어 있지 않고, 'StartupLoginWindow' 형식의 첫 번째 인수를 허용하는 액세스 가능한 확장 메서드 'PasswordBox'이(가) 없습니다. using 지시문 또는 어셈블리 참조가 있는지 확인하세요. [C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\leak_test_project.csproj] -C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\Views\StartupLoginWindow.xaml.cs(78,26): error CS1061: 'StartupLoginWindow'에는 'PasswordBox'에 대한 정의가 포함되어 있지 않고, 'StartupLoginWindow' 형식의 첫 번째 인수를 허용하는 액세스 가능한 확장 메서드 'PasswordBox'이(가) 없습니다. using 지시문 또는 어셈블리 참조가 있는지 확인하세요. [C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\leak_test_project.csproj] -C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\Views\StartupLoginWindow.xaml.cs(90,17): error CS0103: 'OperatorTextBox' 이름이 현재 컨텍스트에 없습니다. [C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\leak_test_project.csproj] -C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\Views\StartupLoginWindow.xaml.cs(91,17): error CS0103: 'OperatorTextBox' 이름이 현재 컨텍스트에 없습니다. [C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\leak_test_project.csproj] -C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\Views\StartupLoginWindow.xaml.cs(106,33): error CS0103: 'MakerTextBox' 이름이 현재 컨텍스트에 없습니다. [C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\leak_test_project.csproj] -C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\Views\StartupLoginWindow.xaml.cs(107,33): error CS0103: 'ModelTextBox' 이름이 현재 컨텍스트에 없습니다. [C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\leak_test_project.csproj] -C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\Views\StartupLoginWindow.xaml.cs(108,33): error CS0103: 'Variant1TextBox' 이름이 현재 컨텍스트에 없습니다. [C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\leak_test_project.csproj] -C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\Views\StartupLoginWindow.xaml.cs(109,33): error CS0103: 'Variant2TextBox' 이름이 현재 컨텍스트에 없습니다. [C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\leak_test_project.csproj] -C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\Views\StartupLoginWindow.xaml.cs(110,33): error CS0103: 'OperatorTextBox' 이름이 현재 컨텍스트에 없습니다. [C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\leak_test_project.csproj] -C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\Views\StartupLoginWindow.xaml.cs(111,42): error CS1061: 'StartupLoginWindow'에는 'PasswordBox'에 대한 정의가 포함되어 있지 않고, 'StartupLoginWindow' 형식의 첫 번째 인수를 허용하는 액세스 가능한 확장 메서드 'PasswordBox'이(가) 없습니다. using 지시문 또는 어셈블리 참조가 있는지 확인하세요. [C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\leak_test_project.csproj] -C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\Views\StartupLoginWindow.xaml.cs(112,33): error CS0103: 'LineNoTextBox' 이름이 현재 컨텍스트에 없습니다. [C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\leak_test_project.csproj] -C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\Views\StartupLoginWindow.xaml.cs(113,33): error CS0103: 'LotNoTextBox' 이름이 현재 컨텍스트에 없습니다. [C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\leak_test_project.csproj] -C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\Views\StartupLoginWindow.xaml.cs(114,33): error CS0103: 'JigNoTextBox' 이름이 현재 컨텍스트에 없습니다. [C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\leak_test_project.csproj] -C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\Views\StartupLoginWindow.xaml.cs(137,31): error CS0103: 'MakerTextBox' 이름이 현재 컨텍스트에 없습니다. [C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\leak_test_project.csproj] -C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\Views\StartupLoginWindow.xaml.cs(137,54): error CS0103: 'ModelTextBox' 이름이 현재 컨텍스트에 없습니다. [C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\leak_test_project.csproj] -C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\Views\StartupLoginWindow.xaml.cs(138,31): error CS0103: 'ModelTextBox' 이름이 현재 컨텍스트에 없습니다. [C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\leak_test_project.csproj] -C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\Views\StartupLoginWindow.xaml.cs(138,54): error CS0103: 'Variant1TextBox' 이름이 현재 컨텍스트에 없습니다. [C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\leak_test_project.csproj] -C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\Views\StartupLoginWindow.xaml.cs(139,31): error CS0103: 'Variant1TextBox' 이름이 현재 컨텍스트에 없습니다. [C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\leak_test_project.csproj] -C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\Views\StartupLoginWindow.xaml.cs(139,60): error CS0103: 'Variant2TextBox' 이름이 현재 컨텍스트에 없습니다. [C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\leak_test_project.csproj] -C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\Views\StartupLoginWindow.xaml.cs(140,31): error CS0103: 'Variant2TextBox' 이름이 현재 컨텍스트에 없습니다. [C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\leak_test_project.csproj] -C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\Views\StartupLoginWindow.xaml.cs(140,60): error CS0103: 'OperatorTextBox' 이름이 현재 컨텍스트에 없습니다. [C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\leak_test_project.csproj] -C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\Views\StartupLoginWindow.xaml.cs(141,31): error CS0103: 'OperatorTextBox' 이름이 현재 컨텍스트에 없습니다. [C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\leak_test_project.csproj] -C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\Views\StartupLoginWindow.xaml.cs(141,79): error CS1061: 'StartupLoginWindow'에는 'PasswordBox'에 대한 정의가 포함되어 있지 않고, 'StartupLoginWindow' 형식의 첫 번째 인수를 허용하는 액세스 가능한 확장 메서드 'PasswordBox'이(가) 없습니다. using 지시문 또는 어셈블리 참조가 있는지 확인하세요. [C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\leak_test_project.csproj] -C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\Views\StartupLoginWindow.xaml.cs(142,31): error CS0103: 'LineNoTextBox' 이름이 현재 컨텍스트에 없습니다. [C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\leak_test_project.csproj] -C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\Views\StartupLoginWindow.xaml.cs(142,56): error CS0103: 'LotNoTextBox' 이름이 현재 컨텍스트에 없습니다. [C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\leak_test_project.csproj] -C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\Views\StartupLoginWindow.xaml.cs(143,31): error CS0103: 'LotNoTextBox' 이름이 현재 컨텍스트에 없습니다. [C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\leak_test_project.csproj] -C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\Views\StartupLoginWindow.xaml.cs(143,54): error CS0103: 'JigNoTextBox' 이름이 현재 컨텍스트에 없습니다. [C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\leak_test_project.csproj] -C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\Views\StartupLoginWindow.xaml.cs(144,31): error CS0103: 'JigNoTextBox' 이름이 현재 컨텍스트에 없습니다. [C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\leak_test_project.csproj] -C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\Views\StartupLoginWindow.xaml.cs(144,54): error CS0103: 'LoginButton' 이름이 현재 컨텍스트에 없습니다. [C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\leak_test_project.csproj] -C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\MainWindow.xaml.cs(49,13): error CS0103: 'txtCurrentDateTime' 이름이 현재 컨텍스트에 없습니다. [C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\leak_test_project.csproj] -C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\MainWindow.xaml.cs(62,17): error CS0103: 'txtMaximizeIcon' 이름이 현재 컨텍스트에 없습니다. [C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\leak_test_project.csproj] -C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\MainWindow.xaml.cs(63,17): error CS0103: 'btnMaximize' 이름이 현재 컨텍스트에 없습니다. [C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\leak_test_project.csproj] -C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\MainWindow.xaml.cs(68,17): error CS0103: 'txtMaximizeIcon' 이름이 현재 컨텍스트에 없습니다. [C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\leak_test_project.csproj] -C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\MainWindow.xaml.cs(69,17): error CS0103: 'btnMaximize' 이름이 현재 컨텍스트에 없습니다. [C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\leak_test_project.csproj] - 경고 0개 - 오류 62개 - -경과 시간: 00:00:01.11 diff --git a/leak_test_project/leak_test_project.csproj b/leak_test_project/leak_test_project.csproj index 0201ac5..0531515 100644 --- a/leak_test_project/leak_test_project.csproj +++ b/leak_test_project/leak_test_project.csproj @@ -1,220 +1,33 @@ - - - + + - Debug - AnyCPU - {E02E2608-51F9-4338-B1A6-E6AC94362AAE} WinExe - leak_test_project - leak_test_project - v4.7.2 - 512 - {60dc8134-eba5-43b8-bcc9-bb4bc16c2548};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC} - 4 - true + net9.0-windows + disable + true + enable + false true - false - - - C:\Users\COMPUTER1\Desktop\mobi\leak_exe\ - true - Disk - false - Foreground - 7 - Days - false - false - true - true - 27 - 1.0.0.%2a - false - true - true - - - AnyCPU - true - full - false - bin\Debug\ - DEBUG;TRACE - prompt - 4 - - - AnyCPU - pdbonly - true - bin\Release\ - TRACE - prompt - 4 - - - 9126632EFF219636EC2925524D694BEE8B6A4364 - - - leak_test_project_TemporaryKey.pfx - - - true - - - false + x86 + AnyCPU;x86 + true + - - ..\packages\Microsoft.VisualStudio.Setup.Configuration.Interop.3.14.2075\lib\net35\Microsoft.VisualStudio.Setup.Configuration.Interop.dll - True - - - - - - - - - - - 4.0 - - - - + + true + + + + - - MSBuild:Compile - Designer - - - Designer - MSBuild:Compile - - - Designer - MSBuild:Compile - - - Designer - MSBuild:Compile - - - Designer - MSBuild:Compile - - - Designer - MSBuild:Compile - - - MSBuild:Compile - Designer - - - App.xaml - Code - - - - - - - - - - - - - - - - - - - - - - HomeView.xaml - - - DataView.xaml - - - ParametersWindow.xaml - - - CommunicationWindow.xaml - - - StartupLoginWindow.xaml - - - - - - - - - MainWindow.xaml - Code - - - - - Code - - - True - True - Resources.resx - - - True - Settings.settings - True - - - ResXFileCodeGenerator - Resources.Designer.cs - - - - - SettingsSingleFileGenerator - Settings.Designer.cs + + PreserveNewest - - - - + PreserveNewest - - - False - Microsoft .NET Framework 4.7.2%28x86 및 x64%29 - true - - - False - .NET Framework 3.5 SP1 - false - - - - - - - - - - 이 프로젝트는 이 컴퓨터에 없는 NuGet 패키지를 참조합니다. 해당 패키지를 다운로드하려면 NuGet 패키지 복원을 사용하십시오. 자세한 내용은 http://go.microsoft.com/fwlink/?LinkID=322105를 참조하십시오. 누락된 파일은 {0}입니다. - - - - \ No newline at end of file + + diff --git a/leak_test_project/leak_test_project.csproj.user b/leak_test_project/leak_test_project.csproj.user index c423e44..f457f39 100644 --- a/leak_test_project/leak_test_project.csproj.user +++ b/leak_test_project/leak_test_project.csproj.user @@ -13,5 +13,6 @@ false + <_LastSelectedProfileId>C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\Properties\PublishProfiles\FolderProfile.pubxml
\ No newline at end of file diff --git a/leak_test_project/obj/Debug/.NETFramework,Version=v4.7.2.AssemblyAttributes.cs b/leak_test_project/obj/Debug/.NETFramework,Version=v4.7.2.AssemblyAttributes.cs deleted file mode 100644 index 3871b18..0000000 --- a/leak_test_project/obj/Debug/.NETFramework,Version=v4.7.2.AssemblyAttributes.cs +++ /dev/null @@ -1,4 +0,0 @@ -// -using System; -using System.Reflection; -[assembly: global::System.Runtime.Versioning.TargetFrameworkAttribute(".NETFramework,Version=v4.7.2", FrameworkDisplayName = ".NET Framework 4.7.2")] diff --git a/leak_test_project/obj/Debug/App.baml b/leak_test_project/obj/Debug/App.baml deleted file mode 100644 index 42763a7..0000000 Binary files a/leak_test_project/obj/Debug/App.baml and /dev/null differ diff --git a/leak_test_project/obj/Debug/App.g.cs b/leak_test_project/obj/Debug/App.g.cs deleted file mode 100644 index 021c376..0000000 --- a/leak_test_project/obj/Debug/App.g.cs +++ /dev/null @@ -1,79 +0,0 @@ -#pragma checksum "..\..\App.xaml" "{8829d00f-11b8-4213-878b-770e8597ac16}" "6AEE3B15461069AF4E2E586B2075B856D2BEFEAC2C8626C39BC7983EDD3A286E" -//------------------------------------------------------------------------------ -// -// 이 코드는 도구를 사용하여 생성되었습니다. -// 런타임 버전:4.0.30319.42000 -// -// 파일 내용을 변경하면 잘못된 동작이 발생할 수 있으며, 코드를 다시 생성하면 -// 이러한 변경 내용이 손실됩니다. -// -//------------------------------------------------------------------------------ - -using System; -using System.Diagnostics; -using System.Windows; -using System.Windows.Automation; -using System.Windows.Controls; -using System.Windows.Controls.Primitives; -using System.Windows.Data; -using System.Windows.Documents; -using System.Windows.Ink; -using System.Windows.Input; -using System.Windows.Markup; -using System.Windows.Media; -using System.Windows.Media.Animation; -using System.Windows.Media.Effects; -using System.Windows.Media.Imaging; -using System.Windows.Media.Media3D; -using System.Windows.Media.TextFormatting; -using System.Windows.Navigation; -using System.Windows.Shapes; -using System.Windows.Shell; -using leak_test_project; -using leak_test_project.ViewModels; -using leak_test_project.Views; - - -namespace leak_test_project { - - - /// - /// App - /// - public partial class App : System.Windows.Application { - - private bool _contentLoaded; - - /// - /// InitializeComponent - /// - [System.Diagnostics.DebuggerNonUserCodeAttribute()] - [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")] - public void InitializeComponent() { - if (_contentLoaded) { - return; - } - _contentLoaded = true; - System.Uri resourceLocater = new System.Uri("/leak_test_project;component/app.xaml", System.UriKind.Relative); - - #line 1 "..\..\App.xaml" - System.Windows.Application.LoadComponent(this, resourceLocater); - - #line default - #line hidden - } - - /// - /// Application Entry Point. - /// - [System.STAThreadAttribute()] - [System.Diagnostics.DebuggerNonUserCodeAttribute()] - [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")] - public static void Main() { - leak_test_project.App app = new leak_test_project.App(); - app.InitializeComponent(); - app.Run(); - } - } -} - diff --git a/leak_test_project/obj/Debug/App.g.i.cs b/leak_test_project/obj/Debug/App.g.i.cs deleted file mode 100644 index acb1b01..0000000 --- a/leak_test_project/obj/Debug/App.g.i.cs +++ /dev/null @@ -1,85 +0,0 @@ -#pragma checksum "..\..\App.xaml" "{8829d00f-11b8-4213-878b-770e8597ac16}" "73F5F908C98AC0A4A2D7A967CABB888F63ACECD5A90B6398EE439DB2A02FC994" -//------------------------------------------------------------------------------ -// -// 이 코드는 도구를 사용하여 생성되었습니다. -// 런타임 버전:4.0.30319.42000 -// -// 파일 내용을 변경하면 잘못된 동작이 발생할 수 있으며, 코드를 다시 생성하면 -// 이러한 변경 내용이 손실됩니다. -// -//------------------------------------------------------------------------------ - -using System; -using System.Diagnostics; -using System.Windows; -using System.Windows.Automation; -using System.Windows.Controls; -using System.Windows.Controls.Primitives; -using System.Windows.Data; -using System.Windows.Documents; -using System.Windows.Ink; -using System.Windows.Input; -using System.Windows.Markup; -using System.Windows.Media; -using System.Windows.Media.Animation; -using System.Windows.Media.Effects; -using System.Windows.Media.Imaging; -using System.Windows.Media.Media3D; -using System.Windows.Media.TextFormatting; -using System.Windows.Navigation; -using System.Windows.Shapes; -using System.Windows.Shell; -using leak_test_project; -using leak_test_project.ViewModels; -using leak_test_project.Views; - - -namespace leak_test_project { - - - /// - /// App - /// - public partial class App : System.Windows.Application { - - private bool _contentLoaded; - - /// - /// InitializeComponent - /// - [System.Diagnostics.DebuggerNonUserCodeAttribute()] - [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")] - public void InitializeComponent() { - if (_contentLoaded) { - return; - } - _contentLoaded = true; - - #line 7 "..\..\App.xaml" - this.StartupUri = new System.Uri("MainWindow.xaml", System.UriKind.Relative); - - #line default - #line hidden - System.Uri resourceLocater = new System.Uri("/leak_test_project;component/app.xaml", System.UriKind.Relative); - - #line 1 "..\..\App.xaml" - System.Windows.Application.LoadComponent(this, resourceLocater); - - #line default - #line hidden - } - - /// - /// Application Entry Point. - /// - [System.STAThreadAttribute()] - [System.Diagnostics.DebuggerNonUserCodeAttribute()] - [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")] - public static void Main() { - leak_test_project.App app = new leak_test_project.App(); - app.InitializeComponent(); - app.Run(); - } - } -} - diff --git a/leak_test_project/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache b/leak_test_project/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache deleted file mode 100644 index e9c5d44..0000000 Binary files a/leak_test_project/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache and /dev/null differ diff --git a/leak_test_project/obj/Debug/GeneratedInternalTypeHelper.g.i.cs b/leak_test_project/obj/Debug/GeneratedInternalTypeHelper.g.i.cs deleted file mode 100644 index 04dc0b9..0000000 --- a/leak_test_project/obj/Debug/GeneratedInternalTypeHelper.g.i.cs +++ /dev/null @@ -1,62 +0,0 @@ -//------------------------------------------------------------------------------ -// -// 이 코드는 도구를 사용하여 생성되었습니다. -// 런타임 버전:4.0.30319.42000 -// -// 파일 내용을 변경하면 잘못된 동작이 발생할 수 있으며, 코드를 다시 생성하면 -// 이러한 변경 내용이 손실됩니다. -// -//------------------------------------------------------------------------------ - -namespace XamlGeneratedNamespace { - - - /// - /// GeneratedInternalTypeHelper - /// - [System.Diagnostics.DebuggerNonUserCodeAttribute()] - [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public sealed class GeneratedInternalTypeHelper : System.Windows.Markup.InternalTypeHelper { - - /// - /// CreateInstance - /// - protected override object CreateInstance(System.Type type, System.Globalization.CultureInfo culture) { - return System.Activator.CreateInstance(type, ((System.Reflection.BindingFlags.Public | System.Reflection.BindingFlags.NonPublic) - | (System.Reflection.BindingFlags.Instance | System.Reflection.BindingFlags.CreateInstance)), null, null, culture); - } - - /// - /// GetPropertyValue - /// - protected override object GetPropertyValue(System.Reflection.PropertyInfo propertyInfo, object target, System.Globalization.CultureInfo culture) { - return propertyInfo.GetValue(target, System.Reflection.BindingFlags.Default, null, null, culture); - } - - /// - /// SetPropertyValue - /// - protected override void SetPropertyValue(System.Reflection.PropertyInfo propertyInfo, object target, object value, System.Globalization.CultureInfo culture) { - propertyInfo.SetValue(target, value, System.Reflection.BindingFlags.Default, null, null, culture); - } - - /// - /// CreateDelegate - /// - protected override System.Delegate CreateDelegate(System.Type delegateType, object target, string handler) { - return ((System.Delegate)(target.GetType().InvokeMember("_CreateDelegate", (System.Reflection.BindingFlags.InvokeMethod - | (System.Reflection.BindingFlags.NonPublic | System.Reflection.BindingFlags.Instance)), null, target, new object[] { - delegateType, - handler}, null))); - } - - /// - /// AddEventHandler - /// - protected override void AddEventHandler(System.Reflection.EventInfo eventInfo, object target, System.Delegate handler) { - eventInfo.AddEventHandler(target, handler); - } - } -} - diff --git a/leak_test_project/obj/Debug/MainWindow.baml b/leak_test_project/obj/Debug/MainWindow.baml deleted file mode 100644 index efd5d2e..0000000 Binary files a/leak_test_project/obj/Debug/MainWindow.baml and /dev/null differ diff --git a/leak_test_project/obj/Debug/MainWindow.g.cs b/leak_test_project/obj/Debug/MainWindow.g.cs deleted file mode 100644 index f19d5c4..0000000 --- a/leak_test_project/obj/Debug/MainWindow.g.cs +++ /dev/null @@ -1,191 +0,0 @@ -#pragma checksum "..\..\MainWindow.xaml" "{8829d00f-11b8-4213-878b-770e8597ac16}" "E1D408B38FE5BAB436DE9522A0C74E907A059F38825582F609F99E8A81B8F80C" -//------------------------------------------------------------------------------ -// -// 이 코드는 도구를 사용하여 생성되었습니다. -// 런타임 버전:4.0.30319.42000 -// -// 파일 내용을 변경하면 잘못된 동작이 발생할 수 있으며, 코드를 다시 생성하면 -// 이러한 변경 내용이 손실됩니다. -// -//------------------------------------------------------------------------------ - -using System; -using System.Diagnostics; -using System.Windows; -using System.Windows.Automation; -using System.Windows.Controls; -using System.Windows.Controls.Primitives; -using System.Windows.Data; -using System.Windows.Documents; -using System.Windows.Ink; -using System.Windows.Input; -using System.Windows.Markup; -using System.Windows.Media; -using System.Windows.Media.Animation; -using System.Windows.Media.Effects; -using System.Windows.Media.Imaging; -using System.Windows.Media.Media3D; -using System.Windows.Media.TextFormatting; -using System.Windows.Navigation; -using System.Windows.Shapes; -using System.Windows.Shell; -using leak_test_project.ViewModels; - - -namespace leak_test_project { - - - /// - /// MainWindow - /// - public partial class MainWindow : System.Windows.Window, System.Windows.Markup.IComponentConnector { - - - #line 66 "..\..\MainWindow.xaml" - [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")] - internal System.Windows.Controls.TextBlock txtCurrentDateTime; - - #line default - #line hidden - - - #line 75 "..\..\MainWindow.xaml" - [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")] - internal System.Windows.Controls.TextBlock txtOperatorInfo; - - #line default - #line hidden - - - #line 82 "..\..\MainWindow.xaml" - [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")] - internal System.Windows.Controls.TextBlock txtModelInfo; - - #line default - #line hidden - - - #line 89 "..\..\MainWindow.xaml" - [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")] - internal System.Windows.Controls.TextBlock txtLineInfo; - - #line default - #line hidden - - - #line 94 "..\..\MainWindow.xaml" - [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")] - internal System.Windows.Controls.Button btnLogout; - - #line default - #line hidden - - - #line 101 "..\..\MainWindow.xaml" - [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")] - internal System.Windows.Controls.Button btnMaximize; - - #line default - #line hidden - - - #line 102 "..\..\MainWindow.xaml" - [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")] - internal System.Windows.Controls.TextBlock txtMaximizeIcon; - - #line default - #line hidden - - private bool _contentLoaded; - - /// - /// InitializeComponent - /// - [System.Diagnostics.DebuggerNonUserCodeAttribute()] - [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")] - public void InitializeComponent() { - if (_contentLoaded) { - return; - } - _contentLoaded = true; - System.Uri resourceLocater = new System.Uri("/leak_test_project;component/mainwindow.xaml", System.UriKind.Relative); - - #line 1 "..\..\MainWindow.xaml" - System.Windows.Application.LoadComponent(this, resourceLocater); - - #line default - #line hidden - } - - [System.Diagnostics.DebuggerNonUserCodeAttribute()] - [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes")] - [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Maintainability", "CA1502:AvoidExcessiveComplexity")] - [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1800:DoNotCastUnnecessarily")] - void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { - switch (connectionId) - { - case 1: - - #line 8 "..\..\MainWindow.xaml" - ((leak_test_project.MainWindow)(target)).ContentRendered += new System.EventHandler(this.Window_ContentRendered); - - #line default - #line hidden - return; - case 2: - - #line 56 "..\..\MainWindow.xaml" - ((System.Windows.Controls.Border)(target)).MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.TopBar_MouseLeftButtonDown); - - #line default - #line hidden - return; - case 3: - this.txtCurrentDateTime = ((System.Windows.Controls.TextBlock)(target)); - return; - case 4: - this.txtOperatorInfo = ((System.Windows.Controls.TextBlock)(target)); - return; - case 5: - this.txtModelInfo = ((System.Windows.Controls.TextBlock)(target)); - return; - case 6: - this.txtLineInfo = ((System.Windows.Controls.TextBlock)(target)); - return; - case 7: - this.btnLogout = ((System.Windows.Controls.Button)(target)); - - #line 94 "..\..\MainWindow.xaml" - this.btnLogout.Click += new System.Windows.RoutedEventHandler(this.BtnLogout_Click); - - #line default - #line hidden - return; - case 8: - - #line 98 "..\..\MainWindow.xaml" - ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.BtnMinimize_Click); - - #line default - #line hidden - return; - case 9: - this.btnMaximize = ((System.Windows.Controls.Button)(target)); - - #line 101 "..\..\MainWindow.xaml" - this.btnMaximize.Click += new System.Windows.RoutedEventHandler(this.BtnMaximize_Click); - - #line default - #line hidden - return; - case 10: - this.txtMaximizeIcon = ((System.Windows.Controls.TextBlock)(target)); - return; - } - this._contentLoaded = true; - } - } -} - diff --git a/leak_test_project/obj/Debug/MainWindow.g.i.cs b/leak_test_project/obj/Debug/MainWindow.g.i.cs deleted file mode 100644 index 0961001..0000000 --- a/leak_test_project/obj/Debug/MainWindow.g.i.cs +++ /dev/null @@ -1,133 +0,0 @@ -#pragma checksum "..\..\MainWindow.xaml" "{8829d00f-11b8-4213-878b-770e8597ac16}" "757CBCD9E21A494C9927096673B3DCAADE9698FAA3323F88DE79A3D94DB7FAA6" -//------------------------------------------------------------------------------ -// -// 이 코드는 도구를 사용하여 생성되었습니다. -// 런타임 버전:4.0.30319.42000 -// -// 파일 내용을 변경하면 잘못된 동작이 발생할 수 있으며, 코드를 다시 생성하면 -// 이러한 변경 내용이 손실됩니다. -// -//------------------------------------------------------------------------------ - -using System; -using System.Diagnostics; -using System.Windows; -using System.Windows.Automation; -using System.Windows.Controls; -using System.Windows.Controls.Primitives; -using System.Windows.Data; -using System.Windows.Documents; -using System.Windows.Ink; -using System.Windows.Input; -using System.Windows.Markup; -using System.Windows.Media; -using System.Windows.Media.Animation; -using System.Windows.Media.Effects; -using System.Windows.Media.Imaging; -using System.Windows.Media.Media3D; -using System.Windows.Media.TextFormatting; -using System.Windows.Navigation; -using System.Windows.Shapes; -using System.Windows.Shell; -using leak_test_project.ViewModels; - - -namespace leak_test_project { - - - /// - /// MainWindow - /// - public partial class MainWindow : System.Windows.Window, System.Windows.Markup.IComponentConnector { - - - #line 36 "..\..\MainWindow.xaml" - [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")] - internal System.Windows.Controls.TextBlock txtCurrentDateTime; - - #line default - #line hidden - - - #line 49 "..\..\MainWindow.xaml" - [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")] - internal System.Windows.Controls.Button btnMaximize; - - #line default - #line hidden - - - #line 50 "..\..\MainWindow.xaml" - [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")] - internal System.Windows.Controls.TextBlock txtMaximizeIcon; - - #line default - #line hidden - - private bool _contentLoaded; - - /// - /// InitializeComponent - /// - [System.Diagnostics.DebuggerNonUserCodeAttribute()] - [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")] - public void InitializeComponent() { - if (_contentLoaded) { - return; - } - _contentLoaded = true; - System.Uri resourceLocater = new System.Uri("/leak_test_project;component/mainwindow.xaml", System.UriKind.Relative); - - #line 1 "..\..\MainWindow.xaml" - System.Windows.Application.LoadComponent(this, resourceLocater); - - #line default - #line hidden - } - - [System.Diagnostics.DebuggerNonUserCodeAttribute()] - [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes")] - [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Maintainability", "CA1502:AvoidExcessiveComplexity")] - [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1800:DoNotCastUnnecessarily")] - void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { - switch (connectionId) - { - case 1: - - #line 21 "..\..\MainWindow.xaml" - ((System.Windows.Controls.Border)(target)).MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.TopBar_MouseLeftButtonDown); - - #line default - #line hidden - return; - case 2: - this.txtCurrentDateTime = ((System.Windows.Controls.TextBlock)(target)); - return; - case 3: - - #line 46 "..\..\MainWindow.xaml" - ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.BtnMinimize_Click); - - #line default - #line hidden - return; - case 4: - this.btnMaximize = ((System.Windows.Controls.Button)(target)); - - #line 49 "..\..\MainWindow.xaml" - this.btnMaximize.Click += new System.Windows.RoutedEventHandler(this.BtnMaximize_Click); - - #line default - #line hidden - return; - case 5: - this.txtMaximizeIcon = ((System.Windows.Controls.TextBlock)(target)); - return; - } - this._contentLoaded = true; - } - } -} - diff --git a/leak_test_project/obj/Debug/TempPE/Properties.Resources.Designer.cs.dll b/leak_test_project/obj/Debug/TempPE/Properties.Resources.Designer.cs.dll deleted file mode 100644 index 50db2ef..0000000 Binary files a/leak_test_project/obj/Debug/TempPE/Properties.Resources.Designer.cs.dll and /dev/null differ diff --git a/leak_test_project/obj/Debug/Views/CommunicationWindow.baml b/leak_test_project/obj/Debug/Views/CommunicationWindow.baml deleted file mode 100644 index 526142d..0000000 Binary files a/leak_test_project/obj/Debug/Views/CommunicationWindow.baml and /dev/null differ diff --git a/leak_test_project/obj/Debug/Views/CommunicationWindow.g.cs b/leak_test_project/obj/Debug/Views/CommunicationWindow.g.cs deleted file mode 100644 index b455898..0000000 --- a/leak_test_project/obj/Debug/Views/CommunicationWindow.g.cs +++ /dev/null @@ -1,155 +0,0 @@ -#pragma checksum "..\..\..\Views\CommunicationWindow.xaml" "{8829d00f-11b8-4213-878b-770e8597ac16}" "96F47D4E8790E6CF229D163DC91B208871B53E4CB300CB1B0A3EA3FA65A47B4A" -//------------------------------------------------------------------------------ -// -// 이 코드는 도구를 사용하여 생성되었습니다. -// 런타임 버전:4.0.30319.42000 -// -// 파일 내용을 변경하면 잘못된 동작이 발생할 수 있으며, 코드를 다시 생성하면 -// 이러한 변경 내용이 손실됩니다. -// -//------------------------------------------------------------------------------ - -using System; -using System.Diagnostics; -using System.Windows; -using System.Windows.Automation; -using System.Windows.Controls; -using System.Windows.Controls.Primitives; -using System.Windows.Data; -using System.Windows.Documents; -using System.Windows.Ink; -using System.Windows.Input; -using System.Windows.Markup; -using System.Windows.Media; -using System.Windows.Media.Animation; -using System.Windows.Media.Effects; -using System.Windows.Media.Imaging; -using System.Windows.Media.Media3D; -using System.Windows.Media.TextFormatting; -using System.Windows.Navigation; -using System.Windows.Shapes; -using System.Windows.Shell; - - -namespace leak_test_project.Views { - - - /// - /// CommunicationWindow - /// - public partial class CommunicationWindow : System.Windows.Window, System.Windows.Markup.IComponentConnector { - - - #line 75 "..\..\..\Views\CommunicationWindow.xaml" - [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")] - internal System.Windows.Controls.ComboBox cbBoard4251BaudRate; - - #line default - #line hidden - - - #line 90 "..\..\..\Views\CommunicationWindow.xaml" - [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")] - internal System.Windows.Controls.ComboBox cbBoard4251Port; - - #line default - #line hidden - - - #line 105 "..\..\..\Views\CommunicationWindow.xaml" - [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")] - internal System.Windows.Controls.ComboBox cbSensorBaudRate; - - #line default - #line hidden - - - #line 120 "..\..\..\Views\CommunicationWindow.xaml" - [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")] - internal System.Windows.Controls.ComboBox cbSensorPort; - - #line default - #line hidden - - - #line 130 "..\..\..\Views\CommunicationWindow.xaml" - [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")] - internal System.Windows.Controls.Button btnSave; - - #line default - #line hidden - - - #line 131 "..\..\..\Views\CommunicationWindow.xaml" - [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")] - internal System.Windows.Controls.Button btnClose; - - #line default - #line hidden - - private bool _contentLoaded; - - /// - /// InitializeComponent - /// - [System.Diagnostics.DebuggerNonUserCodeAttribute()] - [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")] - public void InitializeComponent() { - if (_contentLoaded) { - return; - } - _contentLoaded = true; - System.Uri resourceLocater = new System.Uri("/leak_test_project;component/views/communicationwindow.xaml", System.UriKind.Relative); - - #line 1 "..\..\..\Views\CommunicationWindow.xaml" - System.Windows.Application.LoadComponent(this, resourceLocater); - - #line default - #line hidden - } - - [System.Diagnostics.DebuggerNonUserCodeAttribute()] - [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes")] - [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Maintainability", "CA1502:AvoidExcessiveComplexity")] - [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1800:DoNotCastUnnecessarily")] - void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { - switch (connectionId) - { - case 1: - this.cbBoard4251BaudRate = ((System.Windows.Controls.ComboBox)(target)); - return; - case 2: - this.cbBoard4251Port = ((System.Windows.Controls.ComboBox)(target)); - return; - case 3: - this.cbSensorBaudRate = ((System.Windows.Controls.ComboBox)(target)); - return; - case 4: - this.cbSensorPort = ((System.Windows.Controls.ComboBox)(target)); - return; - case 5: - this.btnSave = ((System.Windows.Controls.Button)(target)); - - #line 130 "..\..\..\Views\CommunicationWindow.xaml" - this.btnSave.Click += new System.Windows.RoutedEventHandler(this.BtnSave_Click); - - #line default - #line hidden - return; - case 6: - this.btnClose = ((System.Windows.Controls.Button)(target)); - - #line 131 "..\..\..\Views\CommunicationWindow.xaml" - this.btnClose.Click += new System.Windows.RoutedEventHandler(this.BtnClose_Click); - - #line default - #line hidden - return; - } - this._contentLoaded = true; - } - } -} - diff --git a/leak_test_project/obj/Debug/Views/CommunicationWindow.g.i.cs b/leak_test_project/obj/Debug/Views/CommunicationWindow.g.i.cs deleted file mode 100644 index 247505c..0000000 --- a/leak_test_project/obj/Debug/Views/CommunicationWindow.g.i.cs +++ /dev/null @@ -1,199 +0,0 @@ -#pragma checksum "..\..\..\Views\CommunicationWindow.xaml" "{8829d00f-11b8-4213-878b-770e8597ac16}" "AF544BD3712CB303CB302F9AA68E55C5B6921446AD339B379C071FBD012AAE60" -//------------------------------------------------------------------------------ -// -// 이 코드는 도구를 사용하여 생성되었습니다. -// 런타임 버전:4.0.30319.42000 -// -// 파일 내용을 변경하면 잘못된 동작이 발생할 수 있으며, 코드를 다시 생성하면 -// 이러한 변경 내용이 손실됩니다. -// -//------------------------------------------------------------------------------ - -using System; -using System.Diagnostics; -using System.Windows; -using System.Windows.Automation; -using System.Windows.Controls; -using System.Windows.Controls.Primitives; -using System.Windows.Data; -using System.Windows.Documents; -using System.Windows.Ink; -using System.Windows.Input; -using System.Windows.Markup; -using System.Windows.Media; -using System.Windows.Media.Animation; -using System.Windows.Media.Effects; -using System.Windows.Media.Imaging; -using System.Windows.Media.Media3D; -using System.Windows.Media.TextFormatting; -using System.Windows.Navigation; -using System.Windows.Shapes; -using System.Windows.Shell; - - -namespace leak_test_project.Views { - - - /// - /// CommunicationWindow - /// - public partial class CommunicationWindow : System.Windows.Window, System.Windows.Markup.IComponentConnector { - - - #line 75 "..\..\..\Views\CommunicationWindow.xaml" - [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")] - internal System.Windows.Controls.ComboBox cbIdSensorType; - - #line default - #line hidden - - - #line 91 "..\..\..\Views\CommunicationWindow.xaml" - [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")] - internal System.Windows.Controls.ComboBox cbZmdiBaudRate; - - #line default - #line hidden - - - #line 106 "..\..\..\Views\CommunicationWindow.xaml" - [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")] - internal System.Windows.Controls.ComboBox cbLeftPort; - - #line default - #line hidden - - - #line 116 "..\..\..\Views\CommunicationWindow.xaml" - [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")] - internal System.Windows.Controls.ComboBox cbRightPort; - - #line default - #line hidden - - - #line 131 "..\..\..\Views\CommunicationWindow.xaml" - [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")] - internal System.Windows.Controls.ComboBox cbSensorBaudRate; - - #line default - #line hidden - - - #line 146 "..\..\..\Views\CommunicationWindow.xaml" - [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")] - internal System.Windows.Controls.ComboBox cbSensorPort; - - #line default - #line hidden - - - #line 158 "..\..\..\Views\CommunicationWindow.xaml" - [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")] - internal System.Windows.Controls.ComboBox cbBoard4253BaudRate; - - #line default - #line hidden - - - #line 173 "..\..\..\Views\CommunicationWindow.xaml" - [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")] - internal System.Windows.Controls.ComboBox cbBoard4253Port; - - #line default - #line hidden - - - #line 183 "..\..\..\Views\CommunicationWindow.xaml" - [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")] - internal System.Windows.Controls.Button btnSave; - - #line default - #line hidden - - - #line 184 "..\..\..\Views\CommunicationWindow.xaml" - [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")] - internal System.Windows.Controls.Button btnClose; - - #line default - #line hidden - - private bool _contentLoaded; - - /// - /// InitializeComponent - /// - [System.Diagnostics.DebuggerNonUserCodeAttribute()] - [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")] - public void InitializeComponent() { - if (_contentLoaded) { - return; - } - _contentLoaded = true; - System.Uri resourceLocater = new System.Uri("/leak_test_project;component/views/communicationwindow.xaml", System.UriKind.Relative); - - #line 1 "..\..\..\Views\CommunicationWindow.xaml" - System.Windows.Application.LoadComponent(this, resourceLocater); - - #line default - #line hidden - } - - [System.Diagnostics.DebuggerNonUserCodeAttribute()] - [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes")] - [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Maintainability", "CA1502:AvoidExcessiveComplexity")] - [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1800:DoNotCastUnnecessarily")] - void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { - switch (connectionId) - { - case 1: - this.cbIdSensorType = ((System.Windows.Controls.ComboBox)(target)); - return; - case 2: - this.cbZmdiBaudRate = ((System.Windows.Controls.ComboBox)(target)); - return; - case 3: - this.cbLeftPort = ((System.Windows.Controls.ComboBox)(target)); - return; - case 4: - this.cbRightPort = ((System.Windows.Controls.ComboBox)(target)); - return; - case 5: - this.cbSensorBaudRate = ((System.Windows.Controls.ComboBox)(target)); - return; - case 6: - this.cbSensorPort = ((System.Windows.Controls.ComboBox)(target)); - return; - case 7: - this.cbBoard4253BaudRate = ((System.Windows.Controls.ComboBox)(target)); - return; - case 8: - this.cbBoard4253Port = ((System.Windows.Controls.ComboBox)(target)); - return; - case 9: - this.btnSave = ((System.Windows.Controls.Button)(target)); - - #line 183 "..\..\..\Views\CommunicationWindow.xaml" - this.btnSave.Click += new System.Windows.RoutedEventHandler(this.BtnSave_Click); - - #line default - #line hidden - return; - case 10: - this.btnClose = ((System.Windows.Controls.Button)(target)); - - #line 184 "..\..\..\Views\CommunicationWindow.xaml" - this.btnClose.Click += new System.Windows.RoutedEventHandler(this.BtnClose_Click); - - #line default - #line hidden - return; - } - this._contentLoaded = true; - } - } -} - diff --git a/leak_test_project/obj/Debug/Views/DataView.baml b/leak_test_project/obj/Debug/Views/DataView.baml deleted file mode 100644 index 009d8a4..0000000 Binary files a/leak_test_project/obj/Debug/Views/DataView.baml and /dev/null differ diff --git a/leak_test_project/obj/Debug/Views/DataView.g.cs b/leak_test_project/obj/Debug/Views/DataView.g.cs deleted file mode 100644 index f52a556..0000000 --- a/leak_test_project/obj/Debug/Views/DataView.g.cs +++ /dev/null @@ -1,93 +0,0 @@ -#pragma checksum "..\..\..\Views\DataView.xaml" "{8829d00f-11b8-4213-878b-770e8597ac16}" "E806D581E87844448860858BA46A605448A6BF6EEC5FF26FF0D442F616E4D3C7" -//------------------------------------------------------------------------------ -// -// 이 코드는 도구를 사용하여 생성되었습니다. -// 런타임 버전:4.0.30319.42000 -// -// 파일 내용을 변경하면 잘못된 동작이 발생할 수 있으며, 코드를 다시 생성하면 -// 이러한 변경 내용이 손실됩니다. -// -//------------------------------------------------------------------------------ - -using System; -using System.Diagnostics; -using System.Windows; -using System.Windows.Automation; -using System.Windows.Controls; -using System.Windows.Controls.Primitives; -using System.Windows.Data; -using System.Windows.Documents; -using System.Windows.Ink; -using System.Windows.Input; -using System.Windows.Markup; -using System.Windows.Media; -using System.Windows.Media.Animation; -using System.Windows.Media.Effects; -using System.Windows.Media.Imaging; -using System.Windows.Media.Media3D; -using System.Windows.Media.TextFormatting; -using System.Windows.Navigation; -using System.Windows.Shapes; -using System.Windows.Shell; - - -namespace leak_test_project.Views { - - - /// - /// DataView - /// - public partial class DataView : System.Windows.Controls.UserControl, System.Windows.Markup.IComponentConnector { - - private bool _contentLoaded; - - /// - /// InitializeComponent - /// - [System.Diagnostics.DebuggerNonUserCodeAttribute()] - [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")] - public void InitializeComponent() { - if (_contentLoaded) { - return; - } - _contentLoaded = true; - System.Uri resourceLocater = new System.Uri("/leak_test_project;component/views/dataview.xaml", System.UriKind.Relative); - - #line 1 "..\..\..\Views\DataView.xaml" - System.Windows.Application.LoadComponent(this, resourceLocater); - - #line default - #line hidden - } - - [System.Diagnostics.DebuggerNonUserCodeAttribute()] - [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes")] - [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Maintainability", "CA1502:AvoidExcessiveComplexity")] - [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1800:DoNotCastUnnecessarily")] - void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { - switch (connectionId) - { - case 1: - - #line 169 "..\..\..\Views\DataView.xaml" - ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click); - - #line default - #line hidden - return; - case 2: - - #line 180 "..\..\..\Views\DataView.xaml" - ((System.Windows.Controls.DataGrid)(target)).SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.DataGrid_SelectionChanged); - - #line default - #line hidden - return; - } - this._contentLoaded = true; - } - } -} - diff --git a/leak_test_project/obj/Debug/Views/DataView.g.i.cs b/leak_test_project/obj/Debug/Views/DataView.g.i.cs deleted file mode 100644 index 89bbb2f..0000000 --- a/leak_test_project/obj/Debug/Views/DataView.g.i.cs +++ /dev/null @@ -1,93 +0,0 @@ -#pragma checksum "..\..\..\Views\DataView.xaml" "{8829d00f-11b8-4213-878b-770e8597ac16}" "3817A6627B503D085EDFEB1BF6AD88D4A23D1775086B1CA3BC0ADB5F4D94D266" -//------------------------------------------------------------------------------ -// -// 이 코드는 도구를 사용하여 생성되었습니다. -// 런타임 버전:4.0.30319.42000 -// -// 파일 내용을 변경하면 잘못된 동작이 발생할 수 있으며, 코드를 다시 생성하면 -// 이러한 변경 내용이 손실됩니다. -// -//------------------------------------------------------------------------------ - -using System; -using System.Diagnostics; -using System.Windows; -using System.Windows.Automation; -using System.Windows.Controls; -using System.Windows.Controls.Primitives; -using System.Windows.Data; -using System.Windows.Documents; -using System.Windows.Ink; -using System.Windows.Input; -using System.Windows.Markup; -using System.Windows.Media; -using System.Windows.Media.Animation; -using System.Windows.Media.Effects; -using System.Windows.Media.Imaging; -using System.Windows.Media.Media3D; -using System.Windows.Media.TextFormatting; -using System.Windows.Navigation; -using System.Windows.Shapes; -using System.Windows.Shell; - - -namespace leak_test_project.Views { - - - /// - /// DataView - /// - public partial class DataView : System.Windows.Controls.UserControl, System.Windows.Markup.IComponentConnector { - - private bool _contentLoaded; - - /// - /// InitializeComponent - /// - [System.Diagnostics.DebuggerNonUserCodeAttribute()] - [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")] - public void InitializeComponent() { - if (_contentLoaded) { - return; - } - _contentLoaded = true; - System.Uri resourceLocater = new System.Uri("/leak_test_project;component/views/dataview.xaml", System.UriKind.Relative); - - #line 1 "..\..\..\Views\DataView.xaml" - System.Windows.Application.LoadComponent(this, resourceLocater); - - #line default - #line hidden - } - - [System.Diagnostics.DebuggerNonUserCodeAttribute()] - [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes")] - [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Maintainability", "CA1502:AvoidExcessiveComplexity")] - [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1800:DoNotCastUnnecessarily")] - void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { - switch (connectionId) - { - case 1: - - #line 134 "..\..\..\Views\DataView.xaml" - ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click); - - #line default - #line hidden - return; - case 2: - - #line 145 "..\..\..\Views\DataView.xaml" - ((System.Windows.Controls.DataGrid)(target)).SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.DataGrid_SelectionChanged); - - #line default - #line hidden - return; - } - this._contentLoaded = true; - } - } -} - diff --git a/leak_test_project/obj/Debug/Views/HomeView.baml b/leak_test_project/obj/Debug/Views/HomeView.baml deleted file mode 100644 index f9a5797..0000000 Binary files a/leak_test_project/obj/Debug/Views/HomeView.baml and /dev/null differ diff --git a/leak_test_project/obj/Debug/Views/HomeView.g.cs b/leak_test_project/obj/Debug/Views/HomeView.g.cs deleted file mode 100644 index 1a3963b..0000000 --- a/leak_test_project/obj/Debug/Views/HomeView.g.cs +++ /dev/null @@ -1,75 +0,0 @@ -#pragma checksum "..\..\..\Views\HomeView.xaml" "{8829d00f-11b8-4213-878b-770e8597ac16}" "26BA421481AA83C5C8AD9BC82A30DAB1AC4C4CCAD7862D81D9B55E33E98F23CC" -//------------------------------------------------------------------------------ -// -// 이 코드는 도구를 사용하여 생성되었습니다. -// 런타임 버전:4.0.30319.42000 -// -// 파일 내용을 변경하면 잘못된 동작이 발생할 수 있으며, 코드를 다시 생성하면 -// 이러한 변경 내용이 손실됩니다. -// -//------------------------------------------------------------------------------ - -using System; -using System.Diagnostics; -using System.Windows; -using System.Windows.Automation; -using System.Windows.Controls; -using System.Windows.Controls.Primitives; -using System.Windows.Data; -using System.Windows.Documents; -using System.Windows.Ink; -using System.Windows.Input; -using System.Windows.Markup; -using System.Windows.Media; -using System.Windows.Media.Animation; -using System.Windows.Media.Effects; -using System.Windows.Media.Imaging; -using System.Windows.Media.Media3D; -using System.Windows.Media.TextFormatting; -using System.Windows.Navigation; -using System.Windows.Shapes; -using System.Windows.Shell; -using leak_test_project.Views; - - -namespace leak_test_project.Views { - - - /// - /// HomeView - /// - public partial class HomeView : System.Windows.Controls.UserControl, System.Windows.Markup.IComponentConnector { - - private bool _contentLoaded; - - /// - /// InitializeComponent - /// - [System.Diagnostics.DebuggerNonUserCodeAttribute()] - [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")] - public void InitializeComponent() { - if (_contentLoaded) { - return; - } - _contentLoaded = true; - System.Uri resourceLocater = new System.Uri("/leak_test_project;component/views/homeview.xaml", System.UriKind.Relative); - - #line 1 "..\..\..\Views\HomeView.xaml" - System.Windows.Application.LoadComponent(this, resourceLocater); - - #line default - #line hidden - } - - [System.Diagnostics.DebuggerNonUserCodeAttribute()] - [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes")] - [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Maintainability", "CA1502:AvoidExcessiveComplexity")] - [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1800:DoNotCastUnnecessarily")] - void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { - this._contentLoaded = true; - } - } -} - diff --git a/leak_test_project/obj/Debug/Views/HomeView.g.i.cs b/leak_test_project/obj/Debug/Views/HomeView.g.i.cs deleted file mode 100644 index ade120d..0000000 --- a/leak_test_project/obj/Debug/Views/HomeView.g.i.cs +++ /dev/null @@ -1,75 +0,0 @@ -#pragma checksum "..\..\..\Views\HomeView.xaml" "{8829d00f-11b8-4213-878b-770e8597ac16}" "2921BB4A069CB2EEEC799AE758E9C631287817D22AABE0AE39C97B7738A1BC9F" -//------------------------------------------------------------------------------ -// -// 이 코드는 도구를 사용하여 생성되었습니다. -// 런타임 버전:4.0.30319.42000 -// -// 파일 내용을 변경하면 잘못된 동작이 발생할 수 있으며, 코드를 다시 생성하면 -// 이러한 변경 내용이 손실됩니다. -// -//------------------------------------------------------------------------------ - -using System; -using System.Diagnostics; -using System.Windows; -using System.Windows.Automation; -using System.Windows.Controls; -using System.Windows.Controls.Primitives; -using System.Windows.Data; -using System.Windows.Documents; -using System.Windows.Ink; -using System.Windows.Input; -using System.Windows.Markup; -using System.Windows.Media; -using System.Windows.Media.Animation; -using System.Windows.Media.Effects; -using System.Windows.Media.Imaging; -using System.Windows.Media.Media3D; -using System.Windows.Media.TextFormatting; -using System.Windows.Navigation; -using System.Windows.Shapes; -using System.Windows.Shell; -using leak_test_project.Views; - - -namespace leak_test_project.Views { - - - /// - /// HomeView - /// - public partial class HomeView : System.Windows.Controls.UserControl, System.Windows.Markup.IComponentConnector { - - private bool _contentLoaded; - - /// - /// InitializeComponent - /// - [System.Diagnostics.DebuggerNonUserCodeAttribute()] - [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")] - public void InitializeComponent() { - if (_contentLoaded) { - return; - } - _contentLoaded = true; - System.Uri resourceLocater = new System.Uri("/leak_test_project;component/views/homeview.xaml", System.UriKind.Relative); - - #line 1 "..\..\..\Views\HomeView.xaml" - System.Windows.Application.LoadComponent(this, resourceLocater); - - #line default - #line hidden - } - - [System.Diagnostics.DebuggerNonUserCodeAttribute()] - [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes")] - [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Maintainability", "CA1502:AvoidExcessiveComplexity")] - [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1800:DoNotCastUnnecessarily")] - void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { - this._contentLoaded = true; - } - } -} - diff --git a/leak_test_project/obj/Debug/Views/InOutView.g.i.cs b/leak_test_project/obj/Debug/Views/InOutView.g.i.cs deleted file mode 100644 index d59cdbf..0000000 --- a/leak_test_project/obj/Debug/Views/InOutView.g.i.cs +++ /dev/null @@ -1,74 +0,0 @@ -#pragma checksum "..\..\..\Views\InOutView.xaml" "{8829d00f-11b8-4213-878b-770e8597ac16}" "844535C614FAAEAAC0E33B7C2C6398266B7ABF9A1246F1791A96D0110B0A029D" -//------------------------------------------------------------------------------ -// -// 이 코드는 도구를 사용하여 생성되었습니다. -// 런타임 버전:4.0.30319.42000 -// -// 파일 내용을 변경하면 잘못된 동작이 발생할 수 있으며, 코드를 다시 생성하면 -// 이러한 변경 내용이 손실됩니다. -// -//------------------------------------------------------------------------------ - -using System; -using System.Diagnostics; -using System.Windows; -using System.Windows.Automation; -using System.Windows.Controls; -using System.Windows.Controls.Primitives; -using System.Windows.Data; -using System.Windows.Documents; -using System.Windows.Ink; -using System.Windows.Input; -using System.Windows.Markup; -using System.Windows.Media; -using System.Windows.Media.Animation; -using System.Windows.Media.Effects; -using System.Windows.Media.Imaging; -using System.Windows.Media.Media3D; -using System.Windows.Media.TextFormatting; -using System.Windows.Navigation; -using System.Windows.Shapes; -using System.Windows.Shell; - - -namespace leak_test_project.Views { - - - /// - /// InOutView - /// - public partial class InOutView : System.Windows.Controls.UserControl, System.Windows.Markup.IComponentConnector { - - private bool _contentLoaded; - - /// - /// InitializeComponent - /// - [System.Diagnostics.DebuggerNonUserCodeAttribute()] - [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")] - public void InitializeComponent() { - if (_contentLoaded) { - return; - } - _contentLoaded = true; - System.Uri resourceLocater = new System.Uri("/leak_test_project;component/views/inoutview.xaml", System.UriKind.Relative); - - #line 1 "..\..\..\Views\InOutView.xaml" - System.Windows.Application.LoadComponent(this, resourceLocater); - - #line default - #line hidden - } - - [System.Diagnostics.DebuggerNonUserCodeAttribute()] - [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes")] - [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Maintainability", "CA1502:AvoidExcessiveComplexity")] - [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1800:DoNotCastUnnecessarily")] - void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { - this._contentLoaded = true; - } - } -} - diff --git a/leak_test_project/obj/Debug/Views/ParametersWindow.baml b/leak_test_project/obj/Debug/Views/ParametersWindow.baml deleted file mode 100644 index b27dce5..0000000 Binary files a/leak_test_project/obj/Debug/Views/ParametersWindow.baml and /dev/null differ diff --git a/leak_test_project/obj/Debug/Views/ParametersWindow.g.cs b/leak_test_project/obj/Debug/Views/ParametersWindow.g.cs deleted file mode 100644 index b9fb6d4..0000000 --- a/leak_test_project/obj/Debug/Views/ParametersWindow.g.cs +++ /dev/null @@ -1,133 +0,0 @@ -#pragma checksum "..\..\..\Views\ParametersWindow.xaml" "{8829d00f-11b8-4213-878b-770e8597ac16}" "B47DEFE5EE4215432A6DBFBCF117D9F4C3BCC029E31F9BD3BD0D06811429D93A" -//------------------------------------------------------------------------------ -// -// 이 코드는 도구를 사용하여 생성되었습니다. -// 런타임 버전:4.0.30319.42000 -// -// 파일 내용을 변경하면 잘못된 동작이 발생할 수 있으며, 코드를 다시 생성하면 -// 이러한 변경 내용이 손실됩니다. -// -//------------------------------------------------------------------------------ - -using System; -using System.Diagnostics; -using System.Windows; -using System.Windows.Automation; -using System.Windows.Controls; -using System.Windows.Controls.Primitives; -using System.Windows.Data; -using System.Windows.Documents; -using System.Windows.Ink; -using System.Windows.Input; -using System.Windows.Markup; -using System.Windows.Media; -using System.Windows.Media.Animation; -using System.Windows.Media.Effects; -using System.Windows.Media.Imaging; -using System.Windows.Media.Media3D; -using System.Windows.Media.TextFormatting; -using System.Windows.Navigation; -using System.Windows.Shapes; -using System.Windows.Shell; - - -namespace leak_test_project.Views { - - - /// - /// ParametersWindow - /// - public partial class ParametersWindow : System.Windows.Window, System.Windows.Markup.IComponentConnector { - - - #line 79 "..\..\..\Views\ParametersWindow.xaml" - [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")] - internal System.Windows.Controls.TextBox editSpecUL; - - #line default - #line hidden - - - #line 89 "..\..\..\Views\ParametersWindow.xaml" - [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")] - internal System.Windows.Controls.TextBox editSpecLL; - - #line default - #line hidden - - - #line 99 "..\..\..\Views\ParametersWindow.xaml" - [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")] - internal System.Windows.Controls.Button btnSave; - - #line default - #line hidden - - - #line 100 "..\..\..\Views\ParametersWindow.xaml" - [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")] - internal System.Windows.Controls.Button btnClose; - - #line default - #line hidden - - private bool _contentLoaded; - - /// - /// InitializeComponent - /// - [System.Diagnostics.DebuggerNonUserCodeAttribute()] - [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")] - public void InitializeComponent() { - if (_contentLoaded) { - return; - } - _contentLoaded = true; - System.Uri resourceLocater = new System.Uri("/leak_test_project;component/views/parameterswindow.xaml", System.UriKind.Relative); - - #line 1 "..\..\..\Views\ParametersWindow.xaml" - System.Windows.Application.LoadComponent(this, resourceLocater); - - #line default - #line hidden - } - - [System.Diagnostics.DebuggerNonUserCodeAttribute()] - [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes")] - [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Maintainability", "CA1502:AvoidExcessiveComplexity")] - [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1800:DoNotCastUnnecessarily")] - void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { - switch (connectionId) - { - case 1: - this.editSpecUL = ((System.Windows.Controls.TextBox)(target)); - return; - case 2: - this.editSpecLL = ((System.Windows.Controls.TextBox)(target)); - return; - case 3: - this.btnSave = ((System.Windows.Controls.Button)(target)); - - #line 99 "..\..\..\Views\ParametersWindow.xaml" - this.btnSave.Click += new System.Windows.RoutedEventHandler(this.BtnSave_Click); - - #line default - #line hidden - return; - case 4: - this.btnClose = ((System.Windows.Controls.Button)(target)); - - #line 100 "..\..\..\Views\ParametersWindow.xaml" - this.btnClose.Click += new System.Windows.RoutedEventHandler(this.BtnClose_Click); - - #line default - #line hidden - return; - } - this._contentLoaded = true; - } - } -} - diff --git a/leak_test_project/obj/Debug/Views/ParametersWindow.g.i.cs b/leak_test_project/obj/Debug/Views/ParametersWindow.g.i.cs deleted file mode 100644 index b9fb6d4..0000000 --- a/leak_test_project/obj/Debug/Views/ParametersWindow.g.i.cs +++ /dev/null @@ -1,133 +0,0 @@ -#pragma checksum "..\..\..\Views\ParametersWindow.xaml" "{8829d00f-11b8-4213-878b-770e8597ac16}" "B47DEFE5EE4215432A6DBFBCF117D9F4C3BCC029E31F9BD3BD0D06811429D93A" -//------------------------------------------------------------------------------ -// -// 이 코드는 도구를 사용하여 생성되었습니다. -// 런타임 버전:4.0.30319.42000 -// -// 파일 내용을 변경하면 잘못된 동작이 발생할 수 있으며, 코드를 다시 생성하면 -// 이러한 변경 내용이 손실됩니다. -// -//------------------------------------------------------------------------------ - -using System; -using System.Diagnostics; -using System.Windows; -using System.Windows.Automation; -using System.Windows.Controls; -using System.Windows.Controls.Primitives; -using System.Windows.Data; -using System.Windows.Documents; -using System.Windows.Ink; -using System.Windows.Input; -using System.Windows.Markup; -using System.Windows.Media; -using System.Windows.Media.Animation; -using System.Windows.Media.Effects; -using System.Windows.Media.Imaging; -using System.Windows.Media.Media3D; -using System.Windows.Media.TextFormatting; -using System.Windows.Navigation; -using System.Windows.Shapes; -using System.Windows.Shell; - - -namespace leak_test_project.Views { - - - /// - /// ParametersWindow - /// - public partial class ParametersWindow : System.Windows.Window, System.Windows.Markup.IComponentConnector { - - - #line 79 "..\..\..\Views\ParametersWindow.xaml" - [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")] - internal System.Windows.Controls.TextBox editSpecUL; - - #line default - #line hidden - - - #line 89 "..\..\..\Views\ParametersWindow.xaml" - [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")] - internal System.Windows.Controls.TextBox editSpecLL; - - #line default - #line hidden - - - #line 99 "..\..\..\Views\ParametersWindow.xaml" - [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")] - internal System.Windows.Controls.Button btnSave; - - #line default - #line hidden - - - #line 100 "..\..\..\Views\ParametersWindow.xaml" - [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")] - internal System.Windows.Controls.Button btnClose; - - #line default - #line hidden - - private bool _contentLoaded; - - /// - /// InitializeComponent - /// - [System.Diagnostics.DebuggerNonUserCodeAttribute()] - [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")] - public void InitializeComponent() { - if (_contentLoaded) { - return; - } - _contentLoaded = true; - System.Uri resourceLocater = new System.Uri("/leak_test_project;component/views/parameterswindow.xaml", System.UriKind.Relative); - - #line 1 "..\..\..\Views\ParametersWindow.xaml" - System.Windows.Application.LoadComponent(this, resourceLocater); - - #line default - #line hidden - } - - [System.Diagnostics.DebuggerNonUserCodeAttribute()] - [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes")] - [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Maintainability", "CA1502:AvoidExcessiveComplexity")] - [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1800:DoNotCastUnnecessarily")] - void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { - switch (connectionId) - { - case 1: - this.editSpecUL = ((System.Windows.Controls.TextBox)(target)); - return; - case 2: - this.editSpecLL = ((System.Windows.Controls.TextBox)(target)); - return; - case 3: - this.btnSave = ((System.Windows.Controls.Button)(target)); - - #line 99 "..\..\..\Views\ParametersWindow.xaml" - this.btnSave.Click += new System.Windows.RoutedEventHandler(this.BtnSave_Click); - - #line default - #line hidden - return; - case 4: - this.btnClose = ((System.Windows.Controls.Button)(target)); - - #line 100 "..\..\..\Views\ParametersWindow.xaml" - this.btnClose.Click += new System.Windows.RoutedEventHandler(this.BtnClose_Click); - - #line default - #line hidden - return; - } - this._contentLoaded = true; - } - } -} - diff --git a/leak_test_project/obj/Debug/Views/StartupLoginWindow.baml b/leak_test_project/obj/Debug/Views/StartupLoginWindow.baml deleted file mode 100644 index c03d2a7..0000000 Binary files a/leak_test_project/obj/Debug/Views/StartupLoginWindow.baml and /dev/null differ diff --git a/leak_test_project/obj/Debug/Views/StartupLoginWindow.g.cs b/leak_test_project/obj/Debug/Views/StartupLoginWindow.g.cs deleted file mode 100644 index 7399558..0000000 --- a/leak_test_project/obj/Debug/Views/StartupLoginWindow.g.cs +++ /dev/null @@ -1,193 +0,0 @@ -#pragma checksum "..\..\..\Views\StartupLoginWindow.xaml" "{8829d00f-11b8-4213-878b-770e8597ac16}" "E10917AAAC5C59A6940A4937C1165BBFED3D9CE02854042592965F3FCDF2EE1F" -//------------------------------------------------------------------------------ -// -// 이 코드는 도구를 사용하여 생성되었습니다. -// 런타임 버전:4.0.30319.42000 -// -// 파일 내용을 변경하면 잘못된 동작이 발생할 수 있으며, 코드를 다시 생성하면 -// 이러한 변경 내용이 손실됩니다. -// -//------------------------------------------------------------------------------ - -using System; -using System.Diagnostics; -using System.Windows; -using System.Windows.Automation; -using System.Windows.Controls; -using System.Windows.Controls.Primitives; -using System.Windows.Data; -using System.Windows.Documents; -using System.Windows.Ink; -using System.Windows.Input; -using System.Windows.Markup; -using System.Windows.Media; -using System.Windows.Media.Animation; -using System.Windows.Media.Effects; -using System.Windows.Media.Imaging; -using System.Windows.Media.Media3D; -using System.Windows.Media.TextFormatting; -using System.Windows.Navigation; -using System.Windows.Shapes; -using System.Windows.Shell; - - -namespace Housing.Login { - - - /// - /// StartupLoginWindow - /// - public partial class StartupLoginWindow : System.Windows.Window, System.Windows.Markup.IComponentConnector { - - - #line 398 "..\..\..\Views\StartupLoginWindow.xaml" - [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")] - internal System.Windows.Controls.TextBox MakerTextBox; - - #line default - #line hidden - - - #line 415 "..\..\..\Views\StartupLoginWindow.xaml" - [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")] - internal System.Windows.Controls.TextBox ModelTextBox; - - #line default - #line hidden - - - #line 432 "..\..\..\Views\StartupLoginWindow.xaml" - [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")] - internal System.Windows.Controls.TextBox Variant1TextBox; - - #line default - #line hidden - - - #line 449 "..\..\..\Views\StartupLoginWindow.xaml" - [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")] - internal System.Windows.Controls.TextBox Variant2TextBox; - - #line default - #line hidden - - - #line 477 "..\..\..\Views\StartupLoginWindow.xaml" - [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")] - internal System.Windows.Controls.TextBox OperatorTextBox; - - #line default - #line hidden - - - #line 493 "..\..\..\Views\StartupLoginWindow.xaml" - [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")] - internal System.Windows.Controls.PasswordBox PasswordBox; - - #line default - #line hidden - - - #line 523 "..\..\..\Views\StartupLoginWindow.xaml" - [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")] - internal System.Windows.Controls.TextBox LineNoTextBox; - - #line default - #line hidden - - - #line 539 "..\..\..\Views\StartupLoginWindow.xaml" - [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")] - internal System.Windows.Controls.TextBox LotNoTextBox; - - #line default - #line hidden - - - #line 555 "..\..\..\Views\StartupLoginWindow.xaml" - [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")] - internal System.Windows.Controls.TextBox JigNoTextBox; - - #line default - #line hidden - - - #line 562 "..\..\..\Views\StartupLoginWindow.xaml" - [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")] - internal System.Windows.Controls.Button LoginButton; - - #line default - #line hidden - - private bool _contentLoaded; - - /// - /// InitializeComponent - /// - [System.Diagnostics.DebuggerNonUserCodeAttribute()] - [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")] - public void InitializeComponent() { - if (_contentLoaded) { - return; - } - _contentLoaded = true; - System.Uri resourceLocater = new System.Uri("/leak_test_project;component/views/startuploginwindow.xaml", System.UriKind.Relative); - - #line 1 "..\..\..\Views\StartupLoginWindow.xaml" - System.Windows.Application.LoadComponent(this, resourceLocater); - - #line default - #line hidden - } - - [System.Diagnostics.DebuggerNonUserCodeAttribute()] - [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes")] - [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Maintainability", "CA1502:AvoidExcessiveComplexity")] - [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1800:DoNotCastUnnecessarily")] - void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { - switch (connectionId) - { - case 1: - this.MakerTextBox = ((System.Windows.Controls.TextBox)(target)); - return; - case 2: - this.ModelTextBox = ((System.Windows.Controls.TextBox)(target)); - return; - case 3: - this.Variant1TextBox = ((System.Windows.Controls.TextBox)(target)); - return; - case 4: - this.Variant2TextBox = ((System.Windows.Controls.TextBox)(target)); - return; - case 5: - this.OperatorTextBox = ((System.Windows.Controls.TextBox)(target)); - return; - case 6: - this.PasswordBox = ((System.Windows.Controls.PasswordBox)(target)); - return; - case 7: - this.LineNoTextBox = ((System.Windows.Controls.TextBox)(target)); - return; - case 8: - this.LotNoTextBox = ((System.Windows.Controls.TextBox)(target)); - return; - case 9: - this.JigNoTextBox = ((System.Windows.Controls.TextBox)(target)); - return; - case 10: - this.LoginButton = ((System.Windows.Controls.Button)(target)); - - #line 566 "..\..\..\Views\StartupLoginWindow.xaml" - this.LoginButton.Click += new System.Windows.RoutedEventHandler(this.LogInButton_Click); - - #line default - #line hidden - return; - } - this._contentLoaded = true; - } - } -} - diff --git a/leak_test_project/obj/Debug/leak_test_project.application b/leak_test_project/obj/Debug/leak_test_project.application deleted file mode 100644 index eedb28f..0000000 --- a/leak_test_project/obj/Debug/leak_test_project.application +++ /dev/null @@ -1,21 +0,0 @@ - - - - - - - - - - - - - - - - - oBxYPjguQtv1EuRHadukWOmGPPqWPod5v+TZToduxNk= - - - - \ No newline at end of file diff --git a/leak_test_project/obj/Debug/leak_test_project.csproj.AssemblyReference.cache b/leak_test_project/obj/Debug/leak_test_project.csproj.AssemblyReference.cache deleted file mode 100644 index e40b0fa..0000000 Binary files a/leak_test_project/obj/Debug/leak_test_project.csproj.AssemblyReference.cache and /dev/null differ diff --git a/leak_test_project/obj/Debug/leak_test_project.csproj.CoreCompileInputs.cache b/leak_test_project/obj/Debug/leak_test_project.csproj.CoreCompileInputs.cache deleted file mode 100644 index 4cae234..0000000 --- a/leak_test_project/obj/Debug/leak_test_project.csproj.CoreCompileInputs.cache +++ /dev/null @@ -1 +0,0 @@ -628713ffbc5f55cd805898b1d31f7980abb2a5a8c3c1aad9e2f31b3c27ae4897 diff --git a/leak_test_project/obj/Debug/leak_test_project.csproj.FileListAbsolute.txt b/leak_test_project/obj/Debug/leak_test_project.csproj.FileListAbsolute.txt deleted file mode 100644 index dd8c72a..0000000 --- a/leak_test_project/obj/Debug/leak_test_project.csproj.FileListAbsolute.txt +++ /dev/null @@ -1,33 +0,0 @@ -C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\obj\Debug\leak_test_project.csproj.AssemblyReference.cache -C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\obj\Debug\leak_test_project.Properties.Resources.resources -C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\obj\Debug\leak_test_project.csproj.GenerateResource.cache -C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\obj\Debug\leak_test_project.csproj.CoreCompileInputs.cache -C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Debug\leak_test_project.exe.config -C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Debug\leak_test_project.exe.manifest -C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Debug\leak_test_project.application -C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Debug\leak_test_project.exe -C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Debug\leak_test_project.pdb -C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\obj\Debug\Views\DataView.baml -C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\obj\Debug\Views\ParametersWindow.baml -C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\obj\Debug\Views\CommunicationWindow.baml -C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\obj\Debug\Views\StartupLoginWindow.baml -C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\obj\Debug\Views\HomeView.g.cs -C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\obj\Debug\Views\DataView.g.cs -C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\obj\Debug\Views\ParametersWindow.g.cs -C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\obj\Debug\Views\CommunicationWindow.g.cs -C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\obj\Debug\Views\StartupLoginWindow.g.cs -C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\obj\Debug\MainWindow.g.cs -C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\obj\Debug\App.g.cs -C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\obj\Debug\leak_test_project_Content.g.cs -C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\obj\Debug\GeneratedInternalTypeHelper.g.cs -C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\obj\Debug\leak_test_project_MarkupCompile.cache -C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\obj\Debug\leak_test_project_MarkupCompile.lref -C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\obj\Debug\App.baml -C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\obj\Debug\Views\HomeView.baml -C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\obj\Debug\MainWindow.baml -C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\obj\Debug\leak_test_project.g.resources -C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\obj\Debug\leak_test_project.exe.manifest -C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\obj\Debug\leak_test_project.application -C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\obj\Debug\leak_test_project.exe -C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\obj\Debug\leak_test_project.pdb -C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Debug\Database.ini diff --git a/leak_test_project/obj/Debug/leak_test_project.exe b/leak_test_project/obj/Debug/leak_test_project.exe deleted file mode 100644 index af9f670..0000000 Binary files a/leak_test_project/obj/Debug/leak_test_project.exe and /dev/null differ diff --git a/leak_test_project/obj/Debug/leak_test_project.exe.manifest b/leak_test_project/obj/Debug/leak_test_project.exe.manifest deleted file mode 100644 index ae8c6d0..0000000 --- a/leak_test_project/obj/Debug/leak_test_project.exe.manifest +++ /dev/null @@ -1,74 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - NEvi6EY1Ysg2m7d04Ix80K81U0DF+ZZKnv+9QRT3SMc= - - - - - - - - - - pDB54gSYV5M/tu2DZtDUj13HUp3HrRLSNr97K/nGHh4= - - - - - - - - - R+Wg8QGvQVHX8T0ta/qbhH1bXkqY0fRnS3wBV3J0bN8= - - - \ No newline at end of file diff --git a/leak_test_project/obj/Debug/leak_test_project.g.resources b/leak_test_project/obj/Debug/leak_test_project.g.resources deleted file mode 100644 index 2879138..0000000 Binary files a/leak_test_project/obj/Debug/leak_test_project.g.resources and /dev/null differ diff --git a/leak_test_project/obj/Debug/leak_test_project.pdb b/leak_test_project/obj/Debug/leak_test_project.pdb deleted file mode 100644 index 0378060..0000000 Binary files a/leak_test_project/obj/Debug/leak_test_project.pdb and /dev/null differ diff --git a/leak_test_project/obj/Debug/leak_test_project_Content.g.cs b/leak_test_project/obj/Debug/leak_test_project_Content.g.cs deleted file mode 100644 index 71034a6..0000000 --- a/leak_test_project/obj/Debug/leak_test_project_Content.g.cs +++ /dev/null @@ -1,13 +0,0 @@ -//------------------------------------------------------------------------------ -// -// 이 코드는 도구를 사용하여 생성되었습니다. -// 런타임 버전:4.0.30319.42000 -// -// 파일 내용을 변경하면 잘못된 동작이 발생할 수 있으며, 코드를 다시 생성하면 -// 이러한 변경 내용이 손실됩니다. -// -//------------------------------------------------------------------------------ - -[assembly: System.Windows.Resources.AssemblyAssociatedContentFileAttribute("pci-dask.dll")] - - diff --git a/leak_test_project/obj/Debug/leak_test_project_Content.g.i.cs b/leak_test_project/obj/Debug/leak_test_project_Content.g.i.cs deleted file mode 100644 index 71034a6..0000000 --- a/leak_test_project/obj/Debug/leak_test_project_Content.g.i.cs +++ /dev/null @@ -1,13 +0,0 @@ -//------------------------------------------------------------------------------ -// -// 이 코드는 도구를 사용하여 생성되었습니다. -// 런타임 버전:4.0.30319.42000 -// -// 파일 내용을 변경하면 잘못된 동작이 발생할 수 있으며, 코드를 다시 생성하면 -// 이러한 변경 내용이 손실됩니다. -// -//------------------------------------------------------------------------------ - -[assembly: System.Windows.Resources.AssemblyAssociatedContentFileAttribute("pci-dask.dll")] - - diff --git a/leak_test_project/obj/Debug/leak_test_project_MarkupCompile.cache b/leak_test_project/obj/Debug/leak_test_project_MarkupCompile.cache deleted file mode 100644 index bd78dc0..0000000 --- a/leak_test_project/obj/Debug/leak_test_project_MarkupCompile.cache +++ /dev/null @@ -1,20 +0,0 @@ -leak_test_project - - -winexe -C# -.cs -C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\obj\Debug\ -leak_test_project -none -false -DEBUG;TRACE -C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\App.xaml -6-1954804774 -1-1942997596 -35231504871 -14188644636 -Views\HomeView.xaml;Views\DataView.xaml;Views\ParametersWindow.xaml;Views\CommunicationWindow.xaml;Views\StartupLoginWindow.xaml;MainWindow.xaml; - -False - diff --git a/leak_test_project/obj/Debug/leak_test_project_MarkupCompile.i.cache b/leak_test_project/obj/Debug/leak_test_project_MarkupCompile.i.cache deleted file mode 100644 index 2dd7dd8..0000000 --- a/leak_test_project/obj/Debug/leak_test_project_MarkupCompile.i.cache +++ /dev/null @@ -1,20 +0,0 @@ -leak_test_project - - -winexe -C# -.cs -C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\obj\Debug\ -leak_test_project -none -false -DEBUG;TRACE -C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\App.xaml -6627611856 -1-698605034 -45-1617424975 -14-767506772 -Views\HomeView.xaml;Views\InOutView.xaml;Views\DataView.xaml;Views\ParametersWindow.xaml;Views\CommunicationWindow.xaml;MainWindow.xaml; - -True - diff --git a/leak_test_project/obj/Debug/leak_test_project_MarkupCompile.i.lref b/leak_test_project/obj/Debug/leak_test_project_MarkupCompile.i.lref deleted file mode 100644 index 5cb1161..0000000 --- a/leak_test_project/obj/Debug/leak_test_project_MarkupCompile.i.lref +++ /dev/null @@ -1,5 +0,0 @@ -C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\obj\Debug\GeneratedInternalTypeHelper.g.i.cs -FC:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\App.xaml;; -FC:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\Views\HomeView.xaml;; -FC:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\MainWindow.xaml;; - diff --git a/leak_test_project/obj/Debug/leak_test_project_MarkupCompile.lref b/leak_test_project/obj/Debug/leak_test_project_MarkupCompile.lref deleted file mode 100644 index 8a453f5..0000000 --- a/leak_test_project/obj/Debug/leak_test_project_MarkupCompile.lref +++ /dev/null @@ -1,5 +0,0 @@ -C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\obj\Debug\GeneratedInternalTypeHelper.g.cs -FC:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\App.xaml;; -FC:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\Views\HomeView.xaml;; -FC:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\MainWindow.xaml;; - diff --git a/leak_test_project/obj/Release/.NETFramework,Version=v4.7.2.AssemblyAttributes.cs b/leak_test_project/obj/Release/.NETFramework,Version=v4.7.2.AssemblyAttributes.cs deleted file mode 100644 index 3871b18..0000000 --- a/leak_test_project/obj/Release/.NETFramework,Version=v4.7.2.AssemblyAttributes.cs +++ /dev/null @@ -1,4 +0,0 @@ -// -using System; -using System.Reflection; -[assembly: global::System.Runtime.Versioning.TargetFrameworkAttribute(".NETFramework,Version=v4.7.2", FrameworkDisplayName = ".NET Framework 4.7.2")] diff --git a/leak_test_project/obj/Release/App.baml b/leak_test_project/obj/Release/App.baml deleted file mode 100644 index ebfb366..0000000 Binary files a/leak_test_project/obj/Release/App.baml and /dev/null differ diff --git a/leak_test_project/obj/Release/App.g.cs b/leak_test_project/obj/Release/App.g.cs deleted file mode 100644 index 021c376..0000000 --- a/leak_test_project/obj/Release/App.g.cs +++ /dev/null @@ -1,79 +0,0 @@ -#pragma checksum "..\..\App.xaml" "{8829d00f-11b8-4213-878b-770e8597ac16}" "6AEE3B15461069AF4E2E586B2075B856D2BEFEAC2C8626C39BC7983EDD3A286E" -//------------------------------------------------------------------------------ -// -// 이 코드는 도구를 사용하여 생성되었습니다. -// 런타임 버전:4.0.30319.42000 -// -// 파일 내용을 변경하면 잘못된 동작이 발생할 수 있으며, 코드를 다시 생성하면 -// 이러한 변경 내용이 손실됩니다. -// -//------------------------------------------------------------------------------ - -using System; -using System.Diagnostics; -using System.Windows; -using System.Windows.Automation; -using System.Windows.Controls; -using System.Windows.Controls.Primitives; -using System.Windows.Data; -using System.Windows.Documents; -using System.Windows.Ink; -using System.Windows.Input; -using System.Windows.Markup; -using System.Windows.Media; -using System.Windows.Media.Animation; -using System.Windows.Media.Effects; -using System.Windows.Media.Imaging; -using System.Windows.Media.Media3D; -using System.Windows.Media.TextFormatting; -using System.Windows.Navigation; -using System.Windows.Shapes; -using System.Windows.Shell; -using leak_test_project; -using leak_test_project.ViewModels; -using leak_test_project.Views; - - -namespace leak_test_project { - - - /// - /// App - /// - public partial class App : System.Windows.Application { - - private bool _contentLoaded; - - /// - /// InitializeComponent - /// - [System.Diagnostics.DebuggerNonUserCodeAttribute()] - [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")] - public void InitializeComponent() { - if (_contentLoaded) { - return; - } - _contentLoaded = true; - System.Uri resourceLocater = new System.Uri("/leak_test_project;component/app.xaml", System.UriKind.Relative); - - #line 1 "..\..\App.xaml" - System.Windows.Application.LoadComponent(this, resourceLocater); - - #line default - #line hidden - } - - /// - /// Application Entry Point. - /// - [System.STAThreadAttribute()] - [System.Diagnostics.DebuggerNonUserCodeAttribute()] - [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")] - public static void Main() { - leak_test_project.App app = new leak_test_project.App(); - app.InitializeComponent(); - app.Run(); - } - } -} - diff --git a/leak_test_project/obj/Release/App.g.i.cs b/leak_test_project/obj/Release/App.g.i.cs deleted file mode 100644 index 021c376..0000000 --- a/leak_test_project/obj/Release/App.g.i.cs +++ /dev/null @@ -1,79 +0,0 @@ -#pragma checksum "..\..\App.xaml" "{8829d00f-11b8-4213-878b-770e8597ac16}" "6AEE3B15461069AF4E2E586B2075B856D2BEFEAC2C8626C39BC7983EDD3A286E" -//------------------------------------------------------------------------------ -// -// 이 코드는 도구를 사용하여 생성되었습니다. -// 런타임 버전:4.0.30319.42000 -// -// 파일 내용을 변경하면 잘못된 동작이 발생할 수 있으며, 코드를 다시 생성하면 -// 이러한 변경 내용이 손실됩니다. -// -//------------------------------------------------------------------------------ - -using System; -using System.Diagnostics; -using System.Windows; -using System.Windows.Automation; -using System.Windows.Controls; -using System.Windows.Controls.Primitives; -using System.Windows.Data; -using System.Windows.Documents; -using System.Windows.Ink; -using System.Windows.Input; -using System.Windows.Markup; -using System.Windows.Media; -using System.Windows.Media.Animation; -using System.Windows.Media.Effects; -using System.Windows.Media.Imaging; -using System.Windows.Media.Media3D; -using System.Windows.Media.TextFormatting; -using System.Windows.Navigation; -using System.Windows.Shapes; -using System.Windows.Shell; -using leak_test_project; -using leak_test_project.ViewModels; -using leak_test_project.Views; - - -namespace leak_test_project { - - - /// - /// App - /// - public partial class App : System.Windows.Application { - - private bool _contentLoaded; - - /// - /// InitializeComponent - /// - [System.Diagnostics.DebuggerNonUserCodeAttribute()] - [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")] - public void InitializeComponent() { - if (_contentLoaded) { - return; - } - _contentLoaded = true; - System.Uri resourceLocater = new System.Uri("/leak_test_project;component/app.xaml", System.UriKind.Relative); - - #line 1 "..\..\App.xaml" - System.Windows.Application.LoadComponent(this, resourceLocater); - - #line default - #line hidden - } - - /// - /// Application Entry Point. - /// - [System.STAThreadAttribute()] - [System.Diagnostics.DebuggerNonUserCodeAttribute()] - [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")] - public static void Main() { - leak_test_project.App app = new leak_test_project.App(); - app.InitializeComponent(); - app.Run(); - } - } -} - diff --git a/leak_test_project/obj/Release/DesignTimeResolveAssemblyReferences.cache b/leak_test_project/obj/Release/DesignTimeResolveAssemblyReferences.cache deleted file mode 100644 index 624ad87..0000000 Binary files a/leak_test_project/obj/Release/DesignTimeResolveAssemblyReferences.cache and /dev/null differ diff --git a/leak_test_project/obj/Release/DesignTimeResolveAssemblyReferencesInput.cache b/leak_test_project/obj/Release/DesignTimeResolveAssemblyReferencesInput.cache deleted file mode 100644 index ae5ad75..0000000 Binary files a/leak_test_project/obj/Release/DesignTimeResolveAssemblyReferencesInput.cache and /dev/null differ diff --git a/leak_test_project/obj/Release/GeneratedInternalTypeHelper.g.i.cs b/leak_test_project/obj/Release/GeneratedInternalTypeHelper.g.i.cs deleted file mode 100644 index 04dc0b9..0000000 --- a/leak_test_project/obj/Release/GeneratedInternalTypeHelper.g.i.cs +++ /dev/null @@ -1,62 +0,0 @@ -//------------------------------------------------------------------------------ -// -// 이 코드는 도구를 사용하여 생성되었습니다. -// 런타임 버전:4.0.30319.42000 -// -// 파일 내용을 변경하면 잘못된 동작이 발생할 수 있으며, 코드를 다시 생성하면 -// 이러한 변경 내용이 손실됩니다. -// -//------------------------------------------------------------------------------ - -namespace XamlGeneratedNamespace { - - - /// - /// GeneratedInternalTypeHelper - /// - [System.Diagnostics.DebuggerNonUserCodeAttribute()] - [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public sealed class GeneratedInternalTypeHelper : System.Windows.Markup.InternalTypeHelper { - - /// - /// CreateInstance - /// - protected override object CreateInstance(System.Type type, System.Globalization.CultureInfo culture) { - return System.Activator.CreateInstance(type, ((System.Reflection.BindingFlags.Public | System.Reflection.BindingFlags.NonPublic) - | (System.Reflection.BindingFlags.Instance | System.Reflection.BindingFlags.CreateInstance)), null, null, culture); - } - - /// - /// GetPropertyValue - /// - protected override object GetPropertyValue(System.Reflection.PropertyInfo propertyInfo, object target, System.Globalization.CultureInfo culture) { - return propertyInfo.GetValue(target, System.Reflection.BindingFlags.Default, null, null, culture); - } - - /// - /// SetPropertyValue - /// - protected override void SetPropertyValue(System.Reflection.PropertyInfo propertyInfo, object target, object value, System.Globalization.CultureInfo culture) { - propertyInfo.SetValue(target, value, System.Reflection.BindingFlags.Default, null, null, culture); - } - - /// - /// CreateDelegate - /// - protected override System.Delegate CreateDelegate(System.Type delegateType, object target, string handler) { - return ((System.Delegate)(target.GetType().InvokeMember("_CreateDelegate", (System.Reflection.BindingFlags.InvokeMethod - | (System.Reflection.BindingFlags.NonPublic | System.Reflection.BindingFlags.Instance)), null, target, new object[] { - delegateType, - handler}, null))); - } - - /// - /// AddEventHandler - /// - protected override void AddEventHandler(System.Reflection.EventInfo eventInfo, object target, System.Delegate handler) { - eventInfo.AddEventHandler(target, handler); - } - } -} - diff --git a/leak_test_project/obj/Release/MainWindow.baml b/leak_test_project/obj/Release/MainWindow.baml deleted file mode 100644 index c5973ba..0000000 Binary files a/leak_test_project/obj/Release/MainWindow.baml and /dev/null differ diff --git a/leak_test_project/obj/Release/MainWindow.g.cs b/leak_test_project/obj/Release/MainWindow.g.cs deleted file mode 100644 index f19d5c4..0000000 --- a/leak_test_project/obj/Release/MainWindow.g.cs +++ /dev/null @@ -1,191 +0,0 @@ -#pragma checksum "..\..\MainWindow.xaml" "{8829d00f-11b8-4213-878b-770e8597ac16}" "E1D408B38FE5BAB436DE9522A0C74E907A059F38825582F609F99E8A81B8F80C" -//------------------------------------------------------------------------------ -// -// 이 코드는 도구를 사용하여 생성되었습니다. -// 런타임 버전:4.0.30319.42000 -// -// 파일 내용을 변경하면 잘못된 동작이 발생할 수 있으며, 코드를 다시 생성하면 -// 이러한 변경 내용이 손실됩니다. -// -//------------------------------------------------------------------------------ - -using System; -using System.Diagnostics; -using System.Windows; -using System.Windows.Automation; -using System.Windows.Controls; -using System.Windows.Controls.Primitives; -using System.Windows.Data; -using System.Windows.Documents; -using System.Windows.Ink; -using System.Windows.Input; -using System.Windows.Markup; -using System.Windows.Media; -using System.Windows.Media.Animation; -using System.Windows.Media.Effects; -using System.Windows.Media.Imaging; -using System.Windows.Media.Media3D; -using System.Windows.Media.TextFormatting; -using System.Windows.Navigation; -using System.Windows.Shapes; -using System.Windows.Shell; -using leak_test_project.ViewModels; - - -namespace leak_test_project { - - - /// - /// MainWindow - /// - public partial class MainWindow : System.Windows.Window, System.Windows.Markup.IComponentConnector { - - - #line 66 "..\..\MainWindow.xaml" - [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")] - internal System.Windows.Controls.TextBlock txtCurrentDateTime; - - #line default - #line hidden - - - #line 75 "..\..\MainWindow.xaml" - [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")] - internal System.Windows.Controls.TextBlock txtOperatorInfo; - - #line default - #line hidden - - - #line 82 "..\..\MainWindow.xaml" - [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")] - internal System.Windows.Controls.TextBlock txtModelInfo; - - #line default - #line hidden - - - #line 89 "..\..\MainWindow.xaml" - [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")] - internal System.Windows.Controls.TextBlock txtLineInfo; - - #line default - #line hidden - - - #line 94 "..\..\MainWindow.xaml" - [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")] - internal System.Windows.Controls.Button btnLogout; - - #line default - #line hidden - - - #line 101 "..\..\MainWindow.xaml" - [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")] - internal System.Windows.Controls.Button btnMaximize; - - #line default - #line hidden - - - #line 102 "..\..\MainWindow.xaml" - [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")] - internal System.Windows.Controls.TextBlock txtMaximizeIcon; - - #line default - #line hidden - - private bool _contentLoaded; - - /// - /// InitializeComponent - /// - [System.Diagnostics.DebuggerNonUserCodeAttribute()] - [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")] - public void InitializeComponent() { - if (_contentLoaded) { - return; - } - _contentLoaded = true; - System.Uri resourceLocater = new System.Uri("/leak_test_project;component/mainwindow.xaml", System.UriKind.Relative); - - #line 1 "..\..\MainWindow.xaml" - System.Windows.Application.LoadComponent(this, resourceLocater); - - #line default - #line hidden - } - - [System.Diagnostics.DebuggerNonUserCodeAttribute()] - [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes")] - [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Maintainability", "CA1502:AvoidExcessiveComplexity")] - [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1800:DoNotCastUnnecessarily")] - void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { - switch (connectionId) - { - case 1: - - #line 8 "..\..\MainWindow.xaml" - ((leak_test_project.MainWindow)(target)).ContentRendered += new System.EventHandler(this.Window_ContentRendered); - - #line default - #line hidden - return; - case 2: - - #line 56 "..\..\MainWindow.xaml" - ((System.Windows.Controls.Border)(target)).MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.TopBar_MouseLeftButtonDown); - - #line default - #line hidden - return; - case 3: - this.txtCurrentDateTime = ((System.Windows.Controls.TextBlock)(target)); - return; - case 4: - this.txtOperatorInfo = ((System.Windows.Controls.TextBlock)(target)); - return; - case 5: - this.txtModelInfo = ((System.Windows.Controls.TextBlock)(target)); - return; - case 6: - this.txtLineInfo = ((System.Windows.Controls.TextBlock)(target)); - return; - case 7: - this.btnLogout = ((System.Windows.Controls.Button)(target)); - - #line 94 "..\..\MainWindow.xaml" - this.btnLogout.Click += new System.Windows.RoutedEventHandler(this.BtnLogout_Click); - - #line default - #line hidden - return; - case 8: - - #line 98 "..\..\MainWindow.xaml" - ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.BtnMinimize_Click); - - #line default - #line hidden - return; - case 9: - this.btnMaximize = ((System.Windows.Controls.Button)(target)); - - #line 101 "..\..\MainWindow.xaml" - this.btnMaximize.Click += new System.Windows.RoutedEventHandler(this.BtnMaximize_Click); - - #line default - #line hidden - return; - case 10: - this.txtMaximizeIcon = ((System.Windows.Controls.TextBlock)(target)); - return; - } - this._contentLoaded = true; - } - } -} - diff --git a/leak_test_project/obj/Release/MainWindow.g.i.cs b/leak_test_project/obj/Release/MainWindow.g.i.cs deleted file mode 100644 index f19d5c4..0000000 --- a/leak_test_project/obj/Release/MainWindow.g.i.cs +++ /dev/null @@ -1,191 +0,0 @@ -#pragma checksum "..\..\MainWindow.xaml" "{8829d00f-11b8-4213-878b-770e8597ac16}" "E1D408B38FE5BAB436DE9522A0C74E907A059F38825582F609F99E8A81B8F80C" -//------------------------------------------------------------------------------ -// -// 이 코드는 도구를 사용하여 생성되었습니다. -// 런타임 버전:4.0.30319.42000 -// -// 파일 내용을 변경하면 잘못된 동작이 발생할 수 있으며, 코드를 다시 생성하면 -// 이러한 변경 내용이 손실됩니다. -// -//------------------------------------------------------------------------------ - -using System; -using System.Diagnostics; -using System.Windows; -using System.Windows.Automation; -using System.Windows.Controls; -using System.Windows.Controls.Primitives; -using System.Windows.Data; -using System.Windows.Documents; -using System.Windows.Ink; -using System.Windows.Input; -using System.Windows.Markup; -using System.Windows.Media; -using System.Windows.Media.Animation; -using System.Windows.Media.Effects; -using System.Windows.Media.Imaging; -using System.Windows.Media.Media3D; -using System.Windows.Media.TextFormatting; -using System.Windows.Navigation; -using System.Windows.Shapes; -using System.Windows.Shell; -using leak_test_project.ViewModels; - - -namespace leak_test_project { - - - /// - /// MainWindow - /// - public partial class MainWindow : System.Windows.Window, System.Windows.Markup.IComponentConnector { - - - #line 66 "..\..\MainWindow.xaml" - [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")] - internal System.Windows.Controls.TextBlock txtCurrentDateTime; - - #line default - #line hidden - - - #line 75 "..\..\MainWindow.xaml" - [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")] - internal System.Windows.Controls.TextBlock txtOperatorInfo; - - #line default - #line hidden - - - #line 82 "..\..\MainWindow.xaml" - [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")] - internal System.Windows.Controls.TextBlock txtModelInfo; - - #line default - #line hidden - - - #line 89 "..\..\MainWindow.xaml" - [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")] - internal System.Windows.Controls.TextBlock txtLineInfo; - - #line default - #line hidden - - - #line 94 "..\..\MainWindow.xaml" - [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")] - internal System.Windows.Controls.Button btnLogout; - - #line default - #line hidden - - - #line 101 "..\..\MainWindow.xaml" - [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")] - internal System.Windows.Controls.Button btnMaximize; - - #line default - #line hidden - - - #line 102 "..\..\MainWindow.xaml" - [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")] - internal System.Windows.Controls.TextBlock txtMaximizeIcon; - - #line default - #line hidden - - private bool _contentLoaded; - - /// - /// InitializeComponent - /// - [System.Diagnostics.DebuggerNonUserCodeAttribute()] - [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")] - public void InitializeComponent() { - if (_contentLoaded) { - return; - } - _contentLoaded = true; - System.Uri resourceLocater = new System.Uri("/leak_test_project;component/mainwindow.xaml", System.UriKind.Relative); - - #line 1 "..\..\MainWindow.xaml" - System.Windows.Application.LoadComponent(this, resourceLocater); - - #line default - #line hidden - } - - [System.Diagnostics.DebuggerNonUserCodeAttribute()] - [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes")] - [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Maintainability", "CA1502:AvoidExcessiveComplexity")] - [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1800:DoNotCastUnnecessarily")] - void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { - switch (connectionId) - { - case 1: - - #line 8 "..\..\MainWindow.xaml" - ((leak_test_project.MainWindow)(target)).ContentRendered += new System.EventHandler(this.Window_ContentRendered); - - #line default - #line hidden - return; - case 2: - - #line 56 "..\..\MainWindow.xaml" - ((System.Windows.Controls.Border)(target)).MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.TopBar_MouseLeftButtonDown); - - #line default - #line hidden - return; - case 3: - this.txtCurrentDateTime = ((System.Windows.Controls.TextBlock)(target)); - return; - case 4: - this.txtOperatorInfo = ((System.Windows.Controls.TextBlock)(target)); - return; - case 5: - this.txtModelInfo = ((System.Windows.Controls.TextBlock)(target)); - return; - case 6: - this.txtLineInfo = ((System.Windows.Controls.TextBlock)(target)); - return; - case 7: - this.btnLogout = ((System.Windows.Controls.Button)(target)); - - #line 94 "..\..\MainWindow.xaml" - this.btnLogout.Click += new System.Windows.RoutedEventHandler(this.BtnLogout_Click); - - #line default - #line hidden - return; - case 8: - - #line 98 "..\..\MainWindow.xaml" - ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.BtnMinimize_Click); - - #line default - #line hidden - return; - case 9: - this.btnMaximize = ((System.Windows.Controls.Button)(target)); - - #line 101 "..\..\MainWindow.xaml" - this.btnMaximize.Click += new System.Windows.RoutedEventHandler(this.BtnMaximize_Click); - - #line default - #line hidden - return; - case 10: - this.txtMaximizeIcon = ((System.Windows.Controls.TextBlock)(target)); - return; - } - this._contentLoaded = true; - } - } -} - diff --git a/leak_test_project/obj/Release/TempPE/Properties.Resources.Designer.cs.dll b/leak_test_project/obj/Release/TempPE/Properties.Resources.Designer.cs.dll deleted file mode 100644 index c4ec2ce..0000000 Binary files a/leak_test_project/obj/Release/TempPE/Properties.Resources.Designer.cs.dll and /dev/null differ diff --git a/leak_test_project/obj/Release/Views/CommunicationWindow.baml b/leak_test_project/obj/Release/Views/CommunicationWindow.baml deleted file mode 100644 index 10d93f8..0000000 Binary files a/leak_test_project/obj/Release/Views/CommunicationWindow.baml and /dev/null differ diff --git a/leak_test_project/obj/Release/Views/CommunicationWindow.g.cs b/leak_test_project/obj/Release/Views/CommunicationWindow.g.cs deleted file mode 100644 index b455898..0000000 --- a/leak_test_project/obj/Release/Views/CommunicationWindow.g.cs +++ /dev/null @@ -1,155 +0,0 @@ -#pragma checksum "..\..\..\Views\CommunicationWindow.xaml" "{8829d00f-11b8-4213-878b-770e8597ac16}" "96F47D4E8790E6CF229D163DC91B208871B53E4CB300CB1B0A3EA3FA65A47B4A" -//------------------------------------------------------------------------------ -// -// 이 코드는 도구를 사용하여 생성되었습니다. -// 런타임 버전:4.0.30319.42000 -// -// 파일 내용을 변경하면 잘못된 동작이 발생할 수 있으며, 코드를 다시 생성하면 -// 이러한 변경 내용이 손실됩니다. -// -//------------------------------------------------------------------------------ - -using System; -using System.Diagnostics; -using System.Windows; -using System.Windows.Automation; -using System.Windows.Controls; -using System.Windows.Controls.Primitives; -using System.Windows.Data; -using System.Windows.Documents; -using System.Windows.Ink; -using System.Windows.Input; -using System.Windows.Markup; -using System.Windows.Media; -using System.Windows.Media.Animation; -using System.Windows.Media.Effects; -using System.Windows.Media.Imaging; -using System.Windows.Media.Media3D; -using System.Windows.Media.TextFormatting; -using System.Windows.Navigation; -using System.Windows.Shapes; -using System.Windows.Shell; - - -namespace leak_test_project.Views { - - - /// - /// CommunicationWindow - /// - public partial class CommunicationWindow : System.Windows.Window, System.Windows.Markup.IComponentConnector { - - - #line 75 "..\..\..\Views\CommunicationWindow.xaml" - [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")] - internal System.Windows.Controls.ComboBox cbBoard4251BaudRate; - - #line default - #line hidden - - - #line 90 "..\..\..\Views\CommunicationWindow.xaml" - [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")] - internal System.Windows.Controls.ComboBox cbBoard4251Port; - - #line default - #line hidden - - - #line 105 "..\..\..\Views\CommunicationWindow.xaml" - [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")] - internal System.Windows.Controls.ComboBox cbSensorBaudRate; - - #line default - #line hidden - - - #line 120 "..\..\..\Views\CommunicationWindow.xaml" - [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")] - internal System.Windows.Controls.ComboBox cbSensorPort; - - #line default - #line hidden - - - #line 130 "..\..\..\Views\CommunicationWindow.xaml" - [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")] - internal System.Windows.Controls.Button btnSave; - - #line default - #line hidden - - - #line 131 "..\..\..\Views\CommunicationWindow.xaml" - [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")] - internal System.Windows.Controls.Button btnClose; - - #line default - #line hidden - - private bool _contentLoaded; - - /// - /// InitializeComponent - /// - [System.Diagnostics.DebuggerNonUserCodeAttribute()] - [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")] - public void InitializeComponent() { - if (_contentLoaded) { - return; - } - _contentLoaded = true; - System.Uri resourceLocater = new System.Uri("/leak_test_project;component/views/communicationwindow.xaml", System.UriKind.Relative); - - #line 1 "..\..\..\Views\CommunicationWindow.xaml" - System.Windows.Application.LoadComponent(this, resourceLocater); - - #line default - #line hidden - } - - [System.Diagnostics.DebuggerNonUserCodeAttribute()] - [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes")] - [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Maintainability", "CA1502:AvoidExcessiveComplexity")] - [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1800:DoNotCastUnnecessarily")] - void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { - switch (connectionId) - { - case 1: - this.cbBoard4251BaudRate = ((System.Windows.Controls.ComboBox)(target)); - return; - case 2: - this.cbBoard4251Port = ((System.Windows.Controls.ComboBox)(target)); - return; - case 3: - this.cbSensorBaudRate = ((System.Windows.Controls.ComboBox)(target)); - return; - case 4: - this.cbSensorPort = ((System.Windows.Controls.ComboBox)(target)); - return; - case 5: - this.btnSave = ((System.Windows.Controls.Button)(target)); - - #line 130 "..\..\..\Views\CommunicationWindow.xaml" - this.btnSave.Click += new System.Windows.RoutedEventHandler(this.BtnSave_Click); - - #line default - #line hidden - return; - case 6: - this.btnClose = ((System.Windows.Controls.Button)(target)); - - #line 131 "..\..\..\Views\CommunicationWindow.xaml" - this.btnClose.Click += new System.Windows.RoutedEventHandler(this.BtnClose_Click); - - #line default - #line hidden - return; - } - this._contentLoaded = true; - } - } -} - diff --git a/leak_test_project/obj/Release/Views/CommunicationWindow.g.i.cs b/leak_test_project/obj/Release/Views/CommunicationWindow.g.i.cs deleted file mode 100644 index b455898..0000000 --- a/leak_test_project/obj/Release/Views/CommunicationWindow.g.i.cs +++ /dev/null @@ -1,155 +0,0 @@ -#pragma checksum "..\..\..\Views\CommunicationWindow.xaml" "{8829d00f-11b8-4213-878b-770e8597ac16}" "96F47D4E8790E6CF229D163DC91B208871B53E4CB300CB1B0A3EA3FA65A47B4A" -//------------------------------------------------------------------------------ -// -// 이 코드는 도구를 사용하여 생성되었습니다. -// 런타임 버전:4.0.30319.42000 -// -// 파일 내용을 변경하면 잘못된 동작이 발생할 수 있으며, 코드를 다시 생성하면 -// 이러한 변경 내용이 손실됩니다. -// -//------------------------------------------------------------------------------ - -using System; -using System.Diagnostics; -using System.Windows; -using System.Windows.Automation; -using System.Windows.Controls; -using System.Windows.Controls.Primitives; -using System.Windows.Data; -using System.Windows.Documents; -using System.Windows.Ink; -using System.Windows.Input; -using System.Windows.Markup; -using System.Windows.Media; -using System.Windows.Media.Animation; -using System.Windows.Media.Effects; -using System.Windows.Media.Imaging; -using System.Windows.Media.Media3D; -using System.Windows.Media.TextFormatting; -using System.Windows.Navigation; -using System.Windows.Shapes; -using System.Windows.Shell; - - -namespace leak_test_project.Views { - - - /// - /// CommunicationWindow - /// - public partial class CommunicationWindow : System.Windows.Window, System.Windows.Markup.IComponentConnector { - - - #line 75 "..\..\..\Views\CommunicationWindow.xaml" - [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")] - internal System.Windows.Controls.ComboBox cbBoard4251BaudRate; - - #line default - #line hidden - - - #line 90 "..\..\..\Views\CommunicationWindow.xaml" - [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")] - internal System.Windows.Controls.ComboBox cbBoard4251Port; - - #line default - #line hidden - - - #line 105 "..\..\..\Views\CommunicationWindow.xaml" - [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")] - internal System.Windows.Controls.ComboBox cbSensorBaudRate; - - #line default - #line hidden - - - #line 120 "..\..\..\Views\CommunicationWindow.xaml" - [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")] - internal System.Windows.Controls.ComboBox cbSensorPort; - - #line default - #line hidden - - - #line 130 "..\..\..\Views\CommunicationWindow.xaml" - [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")] - internal System.Windows.Controls.Button btnSave; - - #line default - #line hidden - - - #line 131 "..\..\..\Views\CommunicationWindow.xaml" - [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")] - internal System.Windows.Controls.Button btnClose; - - #line default - #line hidden - - private bool _contentLoaded; - - /// - /// InitializeComponent - /// - [System.Diagnostics.DebuggerNonUserCodeAttribute()] - [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")] - public void InitializeComponent() { - if (_contentLoaded) { - return; - } - _contentLoaded = true; - System.Uri resourceLocater = new System.Uri("/leak_test_project;component/views/communicationwindow.xaml", System.UriKind.Relative); - - #line 1 "..\..\..\Views\CommunicationWindow.xaml" - System.Windows.Application.LoadComponent(this, resourceLocater); - - #line default - #line hidden - } - - [System.Diagnostics.DebuggerNonUserCodeAttribute()] - [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes")] - [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Maintainability", "CA1502:AvoidExcessiveComplexity")] - [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1800:DoNotCastUnnecessarily")] - void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { - switch (connectionId) - { - case 1: - this.cbBoard4251BaudRate = ((System.Windows.Controls.ComboBox)(target)); - return; - case 2: - this.cbBoard4251Port = ((System.Windows.Controls.ComboBox)(target)); - return; - case 3: - this.cbSensorBaudRate = ((System.Windows.Controls.ComboBox)(target)); - return; - case 4: - this.cbSensorPort = ((System.Windows.Controls.ComboBox)(target)); - return; - case 5: - this.btnSave = ((System.Windows.Controls.Button)(target)); - - #line 130 "..\..\..\Views\CommunicationWindow.xaml" - this.btnSave.Click += new System.Windows.RoutedEventHandler(this.BtnSave_Click); - - #line default - #line hidden - return; - case 6: - this.btnClose = ((System.Windows.Controls.Button)(target)); - - #line 131 "..\..\..\Views\CommunicationWindow.xaml" - this.btnClose.Click += new System.Windows.RoutedEventHandler(this.BtnClose_Click); - - #line default - #line hidden - return; - } - this._contentLoaded = true; - } - } -} - diff --git a/leak_test_project/obj/Release/Views/DataView.baml b/leak_test_project/obj/Release/Views/DataView.baml deleted file mode 100644 index 36db689..0000000 Binary files a/leak_test_project/obj/Release/Views/DataView.baml and /dev/null differ diff --git a/leak_test_project/obj/Release/Views/DataView.g.cs b/leak_test_project/obj/Release/Views/DataView.g.cs deleted file mode 100644 index f52a556..0000000 --- a/leak_test_project/obj/Release/Views/DataView.g.cs +++ /dev/null @@ -1,93 +0,0 @@ -#pragma checksum "..\..\..\Views\DataView.xaml" "{8829d00f-11b8-4213-878b-770e8597ac16}" "E806D581E87844448860858BA46A605448A6BF6EEC5FF26FF0D442F616E4D3C7" -//------------------------------------------------------------------------------ -// -// 이 코드는 도구를 사용하여 생성되었습니다. -// 런타임 버전:4.0.30319.42000 -// -// 파일 내용을 변경하면 잘못된 동작이 발생할 수 있으며, 코드를 다시 생성하면 -// 이러한 변경 내용이 손실됩니다. -// -//------------------------------------------------------------------------------ - -using System; -using System.Diagnostics; -using System.Windows; -using System.Windows.Automation; -using System.Windows.Controls; -using System.Windows.Controls.Primitives; -using System.Windows.Data; -using System.Windows.Documents; -using System.Windows.Ink; -using System.Windows.Input; -using System.Windows.Markup; -using System.Windows.Media; -using System.Windows.Media.Animation; -using System.Windows.Media.Effects; -using System.Windows.Media.Imaging; -using System.Windows.Media.Media3D; -using System.Windows.Media.TextFormatting; -using System.Windows.Navigation; -using System.Windows.Shapes; -using System.Windows.Shell; - - -namespace leak_test_project.Views { - - - /// - /// DataView - /// - public partial class DataView : System.Windows.Controls.UserControl, System.Windows.Markup.IComponentConnector { - - private bool _contentLoaded; - - /// - /// InitializeComponent - /// - [System.Diagnostics.DebuggerNonUserCodeAttribute()] - [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")] - public void InitializeComponent() { - if (_contentLoaded) { - return; - } - _contentLoaded = true; - System.Uri resourceLocater = new System.Uri("/leak_test_project;component/views/dataview.xaml", System.UriKind.Relative); - - #line 1 "..\..\..\Views\DataView.xaml" - System.Windows.Application.LoadComponent(this, resourceLocater); - - #line default - #line hidden - } - - [System.Diagnostics.DebuggerNonUserCodeAttribute()] - [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes")] - [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Maintainability", "CA1502:AvoidExcessiveComplexity")] - [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1800:DoNotCastUnnecessarily")] - void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { - switch (connectionId) - { - case 1: - - #line 169 "..\..\..\Views\DataView.xaml" - ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click); - - #line default - #line hidden - return; - case 2: - - #line 180 "..\..\..\Views\DataView.xaml" - ((System.Windows.Controls.DataGrid)(target)).SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.DataGrid_SelectionChanged); - - #line default - #line hidden - return; - } - this._contentLoaded = true; - } - } -} - diff --git a/leak_test_project/obj/Release/Views/DataView.g.i.cs b/leak_test_project/obj/Release/Views/DataView.g.i.cs deleted file mode 100644 index f52a556..0000000 --- a/leak_test_project/obj/Release/Views/DataView.g.i.cs +++ /dev/null @@ -1,93 +0,0 @@ -#pragma checksum "..\..\..\Views\DataView.xaml" "{8829d00f-11b8-4213-878b-770e8597ac16}" "E806D581E87844448860858BA46A605448A6BF6EEC5FF26FF0D442F616E4D3C7" -//------------------------------------------------------------------------------ -// -// 이 코드는 도구를 사용하여 생성되었습니다. -// 런타임 버전:4.0.30319.42000 -// -// 파일 내용을 변경하면 잘못된 동작이 발생할 수 있으며, 코드를 다시 생성하면 -// 이러한 변경 내용이 손실됩니다. -// -//------------------------------------------------------------------------------ - -using System; -using System.Diagnostics; -using System.Windows; -using System.Windows.Automation; -using System.Windows.Controls; -using System.Windows.Controls.Primitives; -using System.Windows.Data; -using System.Windows.Documents; -using System.Windows.Ink; -using System.Windows.Input; -using System.Windows.Markup; -using System.Windows.Media; -using System.Windows.Media.Animation; -using System.Windows.Media.Effects; -using System.Windows.Media.Imaging; -using System.Windows.Media.Media3D; -using System.Windows.Media.TextFormatting; -using System.Windows.Navigation; -using System.Windows.Shapes; -using System.Windows.Shell; - - -namespace leak_test_project.Views { - - - /// - /// DataView - /// - public partial class DataView : System.Windows.Controls.UserControl, System.Windows.Markup.IComponentConnector { - - private bool _contentLoaded; - - /// - /// InitializeComponent - /// - [System.Diagnostics.DebuggerNonUserCodeAttribute()] - [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")] - public void InitializeComponent() { - if (_contentLoaded) { - return; - } - _contentLoaded = true; - System.Uri resourceLocater = new System.Uri("/leak_test_project;component/views/dataview.xaml", System.UriKind.Relative); - - #line 1 "..\..\..\Views\DataView.xaml" - System.Windows.Application.LoadComponent(this, resourceLocater); - - #line default - #line hidden - } - - [System.Diagnostics.DebuggerNonUserCodeAttribute()] - [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes")] - [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Maintainability", "CA1502:AvoidExcessiveComplexity")] - [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1800:DoNotCastUnnecessarily")] - void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { - switch (connectionId) - { - case 1: - - #line 169 "..\..\..\Views\DataView.xaml" - ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click); - - #line default - #line hidden - return; - case 2: - - #line 180 "..\..\..\Views\DataView.xaml" - ((System.Windows.Controls.DataGrid)(target)).SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.DataGrid_SelectionChanged); - - #line default - #line hidden - return; - } - this._contentLoaded = true; - } - } -} - diff --git a/leak_test_project/obj/Release/Views/HomeView.baml b/leak_test_project/obj/Release/Views/HomeView.baml deleted file mode 100644 index dd36aea..0000000 Binary files a/leak_test_project/obj/Release/Views/HomeView.baml and /dev/null differ diff --git a/leak_test_project/obj/Release/Views/HomeView.g.cs b/leak_test_project/obj/Release/Views/HomeView.g.cs deleted file mode 100644 index 1a3963b..0000000 --- a/leak_test_project/obj/Release/Views/HomeView.g.cs +++ /dev/null @@ -1,75 +0,0 @@ -#pragma checksum "..\..\..\Views\HomeView.xaml" "{8829d00f-11b8-4213-878b-770e8597ac16}" "26BA421481AA83C5C8AD9BC82A30DAB1AC4C4CCAD7862D81D9B55E33E98F23CC" -//------------------------------------------------------------------------------ -// -// 이 코드는 도구를 사용하여 생성되었습니다. -// 런타임 버전:4.0.30319.42000 -// -// 파일 내용을 변경하면 잘못된 동작이 발생할 수 있으며, 코드를 다시 생성하면 -// 이러한 변경 내용이 손실됩니다. -// -//------------------------------------------------------------------------------ - -using System; -using System.Diagnostics; -using System.Windows; -using System.Windows.Automation; -using System.Windows.Controls; -using System.Windows.Controls.Primitives; -using System.Windows.Data; -using System.Windows.Documents; -using System.Windows.Ink; -using System.Windows.Input; -using System.Windows.Markup; -using System.Windows.Media; -using System.Windows.Media.Animation; -using System.Windows.Media.Effects; -using System.Windows.Media.Imaging; -using System.Windows.Media.Media3D; -using System.Windows.Media.TextFormatting; -using System.Windows.Navigation; -using System.Windows.Shapes; -using System.Windows.Shell; -using leak_test_project.Views; - - -namespace leak_test_project.Views { - - - /// - /// HomeView - /// - public partial class HomeView : System.Windows.Controls.UserControl, System.Windows.Markup.IComponentConnector { - - private bool _contentLoaded; - - /// - /// InitializeComponent - /// - [System.Diagnostics.DebuggerNonUserCodeAttribute()] - [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")] - public void InitializeComponent() { - if (_contentLoaded) { - return; - } - _contentLoaded = true; - System.Uri resourceLocater = new System.Uri("/leak_test_project;component/views/homeview.xaml", System.UriKind.Relative); - - #line 1 "..\..\..\Views\HomeView.xaml" - System.Windows.Application.LoadComponent(this, resourceLocater); - - #line default - #line hidden - } - - [System.Diagnostics.DebuggerNonUserCodeAttribute()] - [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes")] - [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Maintainability", "CA1502:AvoidExcessiveComplexity")] - [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1800:DoNotCastUnnecessarily")] - void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { - this._contentLoaded = true; - } - } -} - diff --git a/leak_test_project/obj/Release/Views/HomeView.g.i.cs b/leak_test_project/obj/Release/Views/HomeView.g.i.cs deleted file mode 100644 index 1a3963b..0000000 --- a/leak_test_project/obj/Release/Views/HomeView.g.i.cs +++ /dev/null @@ -1,75 +0,0 @@ -#pragma checksum "..\..\..\Views\HomeView.xaml" "{8829d00f-11b8-4213-878b-770e8597ac16}" "26BA421481AA83C5C8AD9BC82A30DAB1AC4C4CCAD7862D81D9B55E33E98F23CC" -//------------------------------------------------------------------------------ -// -// 이 코드는 도구를 사용하여 생성되었습니다. -// 런타임 버전:4.0.30319.42000 -// -// 파일 내용을 변경하면 잘못된 동작이 발생할 수 있으며, 코드를 다시 생성하면 -// 이러한 변경 내용이 손실됩니다. -// -//------------------------------------------------------------------------------ - -using System; -using System.Diagnostics; -using System.Windows; -using System.Windows.Automation; -using System.Windows.Controls; -using System.Windows.Controls.Primitives; -using System.Windows.Data; -using System.Windows.Documents; -using System.Windows.Ink; -using System.Windows.Input; -using System.Windows.Markup; -using System.Windows.Media; -using System.Windows.Media.Animation; -using System.Windows.Media.Effects; -using System.Windows.Media.Imaging; -using System.Windows.Media.Media3D; -using System.Windows.Media.TextFormatting; -using System.Windows.Navigation; -using System.Windows.Shapes; -using System.Windows.Shell; -using leak_test_project.Views; - - -namespace leak_test_project.Views { - - - /// - /// HomeView - /// - public partial class HomeView : System.Windows.Controls.UserControl, System.Windows.Markup.IComponentConnector { - - private bool _contentLoaded; - - /// - /// InitializeComponent - /// - [System.Diagnostics.DebuggerNonUserCodeAttribute()] - [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")] - public void InitializeComponent() { - if (_contentLoaded) { - return; - } - _contentLoaded = true; - System.Uri resourceLocater = new System.Uri("/leak_test_project;component/views/homeview.xaml", System.UriKind.Relative); - - #line 1 "..\..\..\Views\HomeView.xaml" - System.Windows.Application.LoadComponent(this, resourceLocater); - - #line default - #line hidden - } - - [System.Diagnostics.DebuggerNonUserCodeAttribute()] - [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes")] - [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Maintainability", "CA1502:AvoidExcessiveComplexity")] - [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1800:DoNotCastUnnecessarily")] - void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { - this._contentLoaded = true; - } - } -} - diff --git a/leak_test_project/obj/Release/Views/InOutView.g.i.cs b/leak_test_project/obj/Release/Views/InOutView.g.i.cs deleted file mode 100644 index 1b96cf1..0000000 --- a/leak_test_project/obj/Release/Views/InOutView.g.i.cs +++ /dev/null @@ -1,74 +0,0 @@ -#pragma checksum "..\..\..\Views\InOutView.xaml" "{8829d00f-11b8-4213-878b-770e8597ac16}" "08485A64F1BF2871B339D7E3E075EDBF5620080DDF020DDF6287E89A65CB8483" -//------------------------------------------------------------------------------ -// -// 이 코드는 도구를 사용하여 생성되었습니다. -// 런타임 버전:4.0.30319.42000 -// -// 파일 내용을 변경하면 잘못된 동작이 발생할 수 있으며, 코드를 다시 생성하면 -// 이러한 변경 내용이 손실됩니다. -// -//------------------------------------------------------------------------------ - -using System; -using System.Diagnostics; -using System.Windows; -using System.Windows.Automation; -using System.Windows.Controls; -using System.Windows.Controls.Primitives; -using System.Windows.Data; -using System.Windows.Documents; -using System.Windows.Ink; -using System.Windows.Input; -using System.Windows.Markup; -using System.Windows.Media; -using System.Windows.Media.Animation; -using System.Windows.Media.Effects; -using System.Windows.Media.Imaging; -using System.Windows.Media.Media3D; -using System.Windows.Media.TextFormatting; -using System.Windows.Navigation; -using System.Windows.Shapes; -using System.Windows.Shell; - - -namespace leak_test_project.Views { - - - /// - /// InOutView - /// - public partial class InOutView : System.Windows.Controls.UserControl, System.Windows.Markup.IComponentConnector { - - private bool _contentLoaded; - - /// - /// InitializeComponent - /// - [System.Diagnostics.DebuggerNonUserCodeAttribute()] - [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")] - public void InitializeComponent() { - if (_contentLoaded) { - return; - } - _contentLoaded = true; - System.Uri resourceLocater = new System.Uri("/leak_test_project;component/views/inoutview.xaml", System.UriKind.Relative); - - #line 1 "..\..\..\Views\InOutView.xaml" - System.Windows.Application.LoadComponent(this, resourceLocater); - - #line default - #line hidden - } - - [System.Diagnostics.DebuggerNonUserCodeAttribute()] - [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes")] - [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Maintainability", "CA1502:AvoidExcessiveComplexity")] - [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1800:DoNotCastUnnecessarily")] - void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { - this._contentLoaded = true; - } - } -} - diff --git a/leak_test_project/obj/Release/Views/ParametersWindow.baml b/leak_test_project/obj/Release/Views/ParametersWindow.baml deleted file mode 100644 index 89ad05e..0000000 Binary files a/leak_test_project/obj/Release/Views/ParametersWindow.baml and /dev/null differ diff --git a/leak_test_project/obj/Release/Views/ParametersWindow.g.cs b/leak_test_project/obj/Release/Views/ParametersWindow.g.cs deleted file mode 100644 index b9fb6d4..0000000 --- a/leak_test_project/obj/Release/Views/ParametersWindow.g.cs +++ /dev/null @@ -1,133 +0,0 @@ -#pragma checksum "..\..\..\Views\ParametersWindow.xaml" "{8829d00f-11b8-4213-878b-770e8597ac16}" "B47DEFE5EE4215432A6DBFBCF117D9F4C3BCC029E31F9BD3BD0D06811429D93A" -//------------------------------------------------------------------------------ -// -// 이 코드는 도구를 사용하여 생성되었습니다. -// 런타임 버전:4.0.30319.42000 -// -// 파일 내용을 변경하면 잘못된 동작이 발생할 수 있으며, 코드를 다시 생성하면 -// 이러한 변경 내용이 손실됩니다. -// -//------------------------------------------------------------------------------ - -using System; -using System.Diagnostics; -using System.Windows; -using System.Windows.Automation; -using System.Windows.Controls; -using System.Windows.Controls.Primitives; -using System.Windows.Data; -using System.Windows.Documents; -using System.Windows.Ink; -using System.Windows.Input; -using System.Windows.Markup; -using System.Windows.Media; -using System.Windows.Media.Animation; -using System.Windows.Media.Effects; -using System.Windows.Media.Imaging; -using System.Windows.Media.Media3D; -using System.Windows.Media.TextFormatting; -using System.Windows.Navigation; -using System.Windows.Shapes; -using System.Windows.Shell; - - -namespace leak_test_project.Views { - - - /// - /// ParametersWindow - /// - public partial class ParametersWindow : System.Windows.Window, System.Windows.Markup.IComponentConnector { - - - #line 79 "..\..\..\Views\ParametersWindow.xaml" - [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")] - internal System.Windows.Controls.TextBox editSpecUL; - - #line default - #line hidden - - - #line 89 "..\..\..\Views\ParametersWindow.xaml" - [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")] - internal System.Windows.Controls.TextBox editSpecLL; - - #line default - #line hidden - - - #line 99 "..\..\..\Views\ParametersWindow.xaml" - [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")] - internal System.Windows.Controls.Button btnSave; - - #line default - #line hidden - - - #line 100 "..\..\..\Views\ParametersWindow.xaml" - [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")] - internal System.Windows.Controls.Button btnClose; - - #line default - #line hidden - - private bool _contentLoaded; - - /// - /// InitializeComponent - /// - [System.Diagnostics.DebuggerNonUserCodeAttribute()] - [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")] - public void InitializeComponent() { - if (_contentLoaded) { - return; - } - _contentLoaded = true; - System.Uri resourceLocater = new System.Uri("/leak_test_project;component/views/parameterswindow.xaml", System.UriKind.Relative); - - #line 1 "..\..\..\Views\ParametersWindow.xaml" - System.Windows.Application.LoadComponent(this, resourceLocater); - - #line default - #line hidden - } - - [System.Diagnostics.DebuggerNonUserCodeAttribute()] - [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes")] - [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Maintainability", "CA1502:AvoidExcessiveComplexity")] - [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1800:DoNotCastUnnecessarily")] - void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { - switch (connectionId) - { - case 1: - this.editSpecUL = ((System.Windows.Controls.TextBox)(target)); - return; - case 2: - this.editSpecLL = ((System.Windows.Controls.TextBox)(target)); - return; - case 3: - this.btnSave = ((System.Windows.Controls.Button)(target)); - - #line 99 "..\..\..\Views\ParametersWindow.xaml" - this.btnSave.Click += new System.Windows.RoutedEventHandler(this.BtnSave_Click); - - #line default - #line hidden - return; - case 4: - this.btnClose = ((System.Windows.Controls.Button)(target)); - - #line 100 "..\..\..\Views\ParametersWindow.xaml" - this.btnClose.Click += new System.Windows.RoutedEventHandler(this.BtnClose_Click); - - #line default - #line hidden - return; - } - this._contentLoaded = true; - } - } -} - diff --git a/leak_test_project/obj/Release/Views/ParametersWindow.g.i.cs b/leak_test_project/obj/Release/Views/ParametersWindow.g.i.cs deleted file mode 100644 index b9fb6d4..0000000 --- a/leak_test_project/obj/Release/Views/ParametersWindow.g.i.cs +++ /dev/null @@ -1,133 +0,0 @@ -#pragma checksum "..\..\..\Views\ParametersWindow.xaml" "{8829d00f-11b8-4213-878b-770e8597ac16}" "B47DEFE5EE4215432A6DBFBCF117D9F4C3BCC029E31F9BD3BD0D06811429D93A" -//------------------------------------------------------------------------------ -// -// 이 코드는 도구를 사용하여 생성되었습니다. -// 런타임 버전:4.0.30319.42000 -// -// 파일 내용을 변경하면 잘못된 동작이 발생할 수 있으며, 코드를 다시 생성하면 -// 이러한 변경 내용이 손실됩니다. -// -//------------------------------------------------------------------------------ - -using System; -using System.Diagnostics; -using System.Windows; -using System.Windows.Automation; -using System.Windows.Controls; -using System.Windows.Controls.Primitives; -using System.Windows.Data; -using System.Windows.Documents; -using System.Windows.Ink; -using System.Windows.Input; -using System.Windows.Markup; -using System.Windows.Media; -using System.Windows.Media.Animation; -using System.Windows.Media.Effects; -using System.Windows.Media.Imaging; -using System.Windows.Media.Media3D; -using System.Windows.Media.TextFormatting; -using System.Windows.Navigation; -using System.Windows.Shapes; -using System.Windows.Shell; - - -namespace leak_test_project.Views { - - - /// - /// ParametersWindow - /// - public partial class ParametersWindow : System.Windows.Window, System.Windows.Markup.IComponentConnector { - - - #line 79 "..\..\..\Views\ParametersWindow.xaml" - [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")] - internal System.Windows.Controls.TextBox editSpecUL; - - #line default - #line hidden - - - #line 89 "..\..\..\Views\ParametersWindow.xaml" - [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")] - internal System.Windows.Controls.TextBox editSpecLL; - - #line default - #line hidden - - - #line 99 "..\..\..\Views\ParametersWindow.xaml" - [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")] - internal System.Windows.Controls.Button btnSave; - - #line default - #line hidden - - - #line 100 "..\..\..\Views\ParametersWindow.xaml" - [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")] - internal System.Windows.Controls.Button btnClose; - - #line default - #line hidden - - private bool _contentLoaded; - - /// - /// InitializeComponent - /// - [System.Diagnostics.DebuggerNonUserCodeAttribute()] - [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")] - public void InitializeComponent() { - if (_contentLoaded) { - return; - } - _contentLoaded = true; - System.Uri resourceLocater = new System.Uri("/leak_test_project;component/views/parameterswindow.xaml", System.UriKind.Relative); - - #line 1 "..\..\..\Views\ParametersWindow.xaml" - System.Windows.Application.LoadComponent(this, resourceLocater); - - #line default - #line hidden - } - - [System.Diagnostics.DebuggerNonUserCodeAttribute()] - [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes")] - [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Maintainability", "CA1502:AvoidExcessiveComplexity")] - [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1800:DoNotCastUnnecessarily")] - void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { - switch (connectionId) - { - case 1: - this.editSpecUL = ((System.Windows.Controls.TextBox)(target)); - return; - case 2: - this.editSpecLL = ((System.Windows.Controls.TextBox)(target)); - return; - case 3: - this.btnSave = ((System.Windows.Controls.Button)(target)); - - #line 99 "..\..\..\Views\ParametersWindow.xaml" - this.btnSave.Click += new System.Windows.RoutedEventHandler(this.BtnSave_Click); - - #line default - #line hidden - return; - case 4: - this.btnClose = ((System.Windows.Controls.Button)(target)); - - #line 100 "..\..\..\Views\ParametersWindow.xaml" - this.btnClose.Click += new System.Windows.RoutedEventHandler(this.BtnClose_Click); - - #line default - #line hidden - return; - } - this._contentLoaded = true; - } - } -} - diff --git a/leak_test_project/obj/Release/Views/StartupLoginWindow.baml b/leak_test_project/obj/Release/Views/StartupLoginWindow.baml deleted file mode 100644 index 83f70fe..0000000 Binary files a/leak_test_project/obj/Release/Views/StartupLoginWindow.baml and /dev/null differ diff --git a/leak_test_project/obj/Release/Views/StartupLoginWindow.g.cs b/leak_test_project/obj/Release/Views/StartupLoginWindow.g.cs deleted file mode 100644 index 7399558..0000000 --- a/leak_test_project/obj/Release/Views/StartupLoginWindow.g.cs +++ /dev/null @@ -1,193 +0,0 @@ -#pragma checksum "..\..\..\Views\StartupLoginWindow.xaml" "{8829d00f-11b8-4213-878b-770e8597ac16}" "E10917AAAC5C59A6940A4937C1165BBFED3D9CE02854042592965F3FCDF2EE1F" -//------------------------------------------------------------------------------ -// -// 이 코드는 도구를 사용하여 생성되었습니다. -// 런타임 버전:4.0.30319.42000 -// -// 파일 내용을 변경하면 잘못된 동작이 발생할 수 있으며, 코드를 다시 생성하면 -// 이러한 변경 내용이 손실됩니다. -// -//------------------------------------------------------------------------------ - -using System; -using System.Diagnostics; -using System.Windows; -using System.Windows.Automation; -using System.Windows.Controls; -using System.Windows.Controls.Primitives; -using System.Windows.Data; -using System.Windows.Documents; -using System.Windows.Ink; -using System.Windows.Input; -using System.Windows.Markup; -using System.Windows.Media; -using System.Windows.Media.Animation; -using System.Windows.Media.Effects; -using System.Windows.Media.Imaging; -using System.Windows.Media.Media3D; -using System.Windows.Media.TextFormatting; -using System.Windows.Navigation; -using System.Windows.Shapes; -using System.Windows.Shell; - - -namespace Housing.Login { - - - /// - /// StartupLoginWindow - /// - public partial class StartupLoginWindow : System.Windows.Window, System.Windows.Markup.IComponentConnector { - - - #line 398 "..\..\..\Views\StartupLoginWindow.xaml" - [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")] - internal System.Windows.Controls.TextBox MakerTextBox; - - #line default - #line hidden - - - #line 415 "..\..\..\Views\StartupLoginWindow.xaml" - [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")] - internal System.Windows.Controls.TextBox ModelTextBox; - - #line default - #line hidden - - - #line 432 "..\..\..\Views\StartupLoginWindow.xaml" - [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")] - internal System.Windows.Controls.TextBox Variant1TextBox; - - #line default - #line hidden - - - #line 449 "..\..\..\Views\StartupLoginWindow.xaml" - [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")] - internal System.Windows.Controls.TextBox Variant2TextBox; - - #line default - #line hidden - - - #line 477 "..\..\..\Views\StartupLoginWindow.xaml" - [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")] - internal System.Windows.Controls.TextBox OperatorTextBox; - - #line default - #line hidden - - - #line 493 "..\..\..\Views\StartupLoginWindow.xaml" - [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")] - internal System.Windows.Controls.PasswordBox PasswordBox; - - #line default - #line hidden - - - #line 523 "..\..\..\Views\StartupLoginWindow.xaml" - [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")] - internal System.Windows.Controls.TextBox LineNoTextBox; - - #line default - #line hidden - - - #line 539 "..\..\..\Views\StartupLoginWindow.xaml" - [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")] - internal System.Windows.Controls.TextBox LotNoTextBox; - - #line default - #line hidden - - - #line 555 "..\..\..\Views\StartupLoginWindow.xaml" - [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")] - internal System.Windows.Controls.TextBox JigNoTextBox; - - #line default - #line hidden - - - #line 562 "..\..\..\Views\StartupLoginWindow.xaml" - [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")] - internal System.Windows.Controls.Button LoginButton; - - #line default - #line hidden - - private bool _contentLoaded; - - /// - /// InitializeComponent - /// - [System.Diagnostics.DebuggerNonUserCodeAttribute()] - [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")] - public void InitializeComponent() { - if (_contentLoaded) { - return; - } - _contentLoaded = true; - System.Uri resourceLocater = new System.Uri("/leak_test_project;component/views/startuploginwindow.xaml", System.UriKind.Relative); - - #line 1 "..\..\..\Views\StartupLoginWindow.xaml" - System.Windows.Application.LoadComponent(this, resourceLocater); - - #line default - #line hidden - } - - [System.Diagnostics.DebuggerNonUserCodeAttribute()] - [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes")] - [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Maintainability", "CA1502:AvoidExcessiveComplexity")] - [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1800:DoNotCastUnnecessarily")] - void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { - switch (connectionId) - { - case 1: - this.MakerTextBox = ((System.Windows.Controls.TextBox)(target)); - return; - case 2: - this.ModelTextBox = ((System.Windows.Controls.TextBox)(target)); - return; - case 3: - this.Variant1TextBox = ((System.Windows.Controls.TextBox)(target)); - return; - case 4: - this.Variant2TextBox = ((System.Windows.Controls.TextBox)(target)); - return; - case 5: - this.OperatorTextBox = ((System.Windows.Controls.TextBox)(target)); - return; - case 6: - this.PasswordBox = ((System.Windows.Controls.PasswordBox)(target)); - return; - case 7: - this.LineNoTextBox = ((System.Windows.Controls.TextBox)(target)); - return; - case 8: - this.LotNoTextBox = ((System.Windows.Controls.TextBox)(target)); - return; - case 9: - this.JigNoTextBox = ((System.Windows.Controls.TextBox)(target)); - return; - case 10: - this.LoginButton = ((System.Windows.Controls.Button)(target)); - - #line 566 "..\..\..\Views\StartupLoginWindow.xaml" - this.LoginButton.Click += new System.Windows.RoutedEventHandler(this.LogInButton_Click); - - #line default - #line hidden - return; - } - this._contentLoaded = true; - } - } -} - diff --git a/leak_test_project/obj/Release/leak_test_project.application b/leak_test_project/obj/Release/leak_test_project.application deleted file mode 100644 index 2b30ded..0000000 --- a/leak_test_project/obj/Release/leak_test_project.application +++ /dev/null @@ -1,21 +0,0 @@ - - - - - - - - - - - - - - - - - n7VmvcxpOf8Y+LRFjH5TmdoI+vXXgYov1j6fqW/Nbxs= - - - - \ No newline at end of file diff --git a/leak_test_project/obj/Release/leak_test_project.csproj.AssemblyReference.cache b/leak_test_project/obj/Release/leak_test_project.csproj.AssemblyReference.cache deleted file mode 100644 index e40b0fa..0000000 Binary files a/leak_test_project/obj/Release/leak_test_project.csproj.AssemblyReference.cache and /dev/null differ diff --git a/leak_test_project/obj/Release/leak_test_project.csproj.CoreCompileInputs.cache b/leak_test_project/obj/Release/leak_test_project.csproj.CoreCompileInputs.cache deleted file mode 100644 index 25ead8a..0000000 --- a/leak_test_project/obj/Release/leak_test_project.csproj.CoreCompileInputs.cache +++ /dev/null @@ -1 +0,0 @@ -8765edc9fc5fcfe1db8d41cec7744abfac5abd652e5521541b6bb33dc8fa7af8 diff --git a/leak_test_project/obj/Release/leak_test_project.csproj.FileListAbsolute.txt b/leak_test_project/obj/Release/leak_test_project.csproj.FileListAbsolute.txt deleted file mode 100644 index a2e27de..0000000 --- a/leak_test_project/obj/Release/leak_test_project.csproj.FileListAbsolute.txt +++ /dev/null @@ -1,33 +0,0 @@ -C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\obj\Release\leak_test_project.csproj.AssemblyReference.cache -C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\obj\Release\Views\DataView.baml -C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\obj\Release\Views\ParametersWindow.baml -C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\obj\Release\Views\CommunicationWindow.baml -C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\obj\Release\Views\HomeView.g.cs -C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\obj\Release\Views\DataView.g.cs -C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\obj\Release\Views\ParametersWindow.g.cs -C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\obj\Release\Views\CommunicationWindow.g.cs -C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\obj\Release\MainWindow.g.cs -C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\obj\Release\App.g.cs -C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\obj\Release\leak_test_project_Content.g.cs -C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\obj\Release\GeneratedInternalTypeHelper.g.cs -C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\obj\Release\leak_test_project_MarkupCompile.cache -C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\obj\Release\leak_test_project_MarkupCompile.lref -C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\leak_test_project.exe.config -C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\leak_test_project.exe.manifest -C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\leak_test_project.application -C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\leak_test_project.exe -C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\leak_test_project.pdb -C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\obj\Release\App.baml -C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\obj\Release\Views\HomeView.baml -C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\obj\Release\MainWindow.baml -C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\obj\Release\leak_test_project.g.resources -C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\obj\Release\leak_test_project.Properties.Resources.resources -C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\obj\Release\leak_test_project.csproj.GenerateResource.cache -C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\obj\Release\leak_test_project.csproj.CoreCompileInputs.cache -C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\obj\Release\leak_test_project.exe.manifest -C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\obj\Release\leak_test_project.application -C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\obj\Release\leak_test_project.exe -C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\obj\Release\leak_test_project.pdb -C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\obj\Release\Views\StartupLoginWindow.baml -C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\obj\Release\Views\StartupLoginWindow.g.cs -C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\Database.ini diff --git a/leak_test_project/obj/Release/leak_test_project.exe b/leak_test_project/obj/Release/leak_test_project.exe deleted file mode 100644 index 88551aa..0000000 Binary files a/leak_test_project/obj/Release/leak_test_project.exe and /dev/null differ diff --git a/leak_test_project/obj/Release/leak_test_project.exe.manifest b/leak_test_project/obj/Release/leak_test_project.exe.manifest deleted file mode 100644 index 8933370..0000000 --- a/leak_test_project/obj/Release/leak_test_project.exe.manifest +++ /dev/null @@ -1,74 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - bIiBUDqHxOgJSZaDgyYguxKJoGO3oFxaqRp+FVa4a/A= - - - - - - - - - - pDB54gSYV5M/tu2DZtDUj13HUp3HrRLSNr97K/nGHh4= - - - - - - - - - R+Wg8QGvQVHX8T0ta/qbhH1bXkqY0fRnS3wBV3J0bN8= - - - \ No newline at end of file diff --git a/leak_test_project/obj/Release/leak_test_project.g.resources b/leak_test_project/obj/Release/leak_test_project.g.resources deleted file mode 100644 index 7c6c13a..0000000 Binary files a/leak_test_project/obj/Release/leak_test_project.g.resources and /dev/null differ diff --git a/leak_test_project/obj/Release/leak_test_project.pdb b/leak_test_project/obj/Release/leak_test_project.pdb deleted file mode 100644 index ab63dcb..0000000 Binary files a/leak_test_project/obj/Release/leak_test_project.pdb and /dev/null differ diff --git a/leak_test_project/obj/Release/leak_test_project_Content.g.cs b/leak_test_project/obj/Release/leak_test_project_Content.g.cs deleted file mode 100644 index 71034a6..0000000 --- a/leak_test_project/obj/Release/leak_test_project_Content.g.cs +++ /dev/null @@ -1,13 +0,0 @@ -//------------------------------------------------------------------------------ -// -// 이 코드는 도구를 사용하여 생성되었습니다. -// 런타임 버전:4.0.30319.42000 -// -// 파일 내용을 변경하면 잘못된 동작이 발생할 수 있으며, 코드를 다시 생성하면 -// 이러한 변경 내용이 손실됩니다. -// -//------------------------------------------------------------------------------ - -[assembly: System.Windows.Resources.AssemblyAssociatedContentFileAttribute("pci-dask.dll")] - - diff --git a/leak_test_project/obj/Release/leak_test_project_Content.g.i.cs b/leak_test_project/obj/Release/leak_test_project_Content.g.i.cs deleted file mode 100644 index 71034a6..0000000 --- a/leak_test_project/obj/Release/leak_test_project_Content.g.i.cs +++ /dev/null @@ -1,13 +0,0 @@ -//------------------------------------------------------------------------------ -// -// 이 코드는 도구를 사용하여 생성되었습니다. -// 런타임 버전:4.0.30319.42000 -// -// 파일 내용을 변경하면 잘못된 동작이 발생할 수 있으며, 코드를 다시 생성하면 -// 이러한 변경 내용이 손실됩니다. -// -//------------------------------------------------------------------------------ - -[assembly: System.Windows.Resources.AssemblyAssociatedContentFileAttribute("pci-dask.dll")] - - diff --git a/leak_test_project/obj/Release/leak_test_project_MarkupCompile.cache b/leak_test_project/obj/Release/leak_test_project_MarkupCompile.cache deleted file mode 100644 index 62ddc40..0000000 --- a/leak_test_project/obj/Release/leak_test_project_MarkupCompile.cache +++ /dev/null @@ -1,20 +0,0 @@ -leak_test_project - - -winexe -C# -.cs -C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\obj\Release\ -leak_test_project -none -false -TRACE -C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\App.xaml -6-1954804774 -1-1942997596 -35231504871 -14188644636 -Views\HomeView.xaml;Views\DataView.xaml;Views\ParametersWindow.xaml;Views\CommunicationWindow.xaml;Views\StartupLoginWindow.xaml;MainWindow.xaml; - -False - diff --git a/leak_test_project/obj/Release/leak_test_project_MarkupCompile.i.cache b/leak_test_project/obj/Release/leak_test_project_MarkupCompile.i.cache deleted file mode 100644 index c95dafb..0000000 --- a/leak_test_project/obj/Release/leak_test_project_MarkupCompile.i.cache +++ /dev/null @@ -1,20 +0,0 @@ -leak_test_project - - -winexe -C# -.cs -C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\obj\Release\ -leak_test_project -none -false -TRACE -C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\App.xaml -6681427662 -1-698605034 -31-1700179100 -14-767506772 -Views\HomeView.xaml;Views\DataView.xaml;Views\ParametersWindow.xaml;Views\CommunicationWindow.xaml;Views\StartupLoginWindow.xaml;MainWindow.xaml; - -True - diff --git a/leak_test_project/obj/Release/leak_test_project_MarkupCompile.i.lref b/leak_test_project/obj/Release/leak_test_project_MarkupCompile.i.lref deleted file mode 100644 index f10eabd..0000000 --- a/leak_test_project/obj/Release/leak_test_project_MarkupCompile.i.lref +++ /dev/null @@ -1,5 +0,0 @@ -C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\obj\Release\GeneratedInternalTypeHelper.g.i.cs -FC:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\App.xaml;; -FC:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\Views\HomeView.xaml;; -FC:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\MainWindow.xaml;; - diff --git a/leak_test_project/obj/Release/leak_test_project_MarkupCompile.lref b/leak_test_project/obj/Release/leak_test_project_MarkupCompile.lref deleted file mode 100644 index bef503a..0000000 --- a/leak_test_project/obj/Release/leak_test_project_MarkupCompile.lref +++ /dev/null @@ -1,5 +0,0 @@ -C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\obj\Release\GeneratedInternalTypeHelper.g.cs -FC:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\App.xaml;; -FC:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\Views\HomeView.xaml;; -FC:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\MainWindow.xaml;; - diff --git a/leak_test_project/obj/Release/net9.0-windows/.NETCoreApp,Version=v9.0.AssemblyAttributes.cs b/leak_test_project/obj/Release/net9.0-windows/.NETCoreApp,Version=v9.0.AssemblyAttributes.cs new file mode 100644 index 0000000..feda5e9 --- /dev/null +++ b/leak_test_project/obj/Release/net9.0-windows/.NETCoreApp,Version=v9.0.AssemblyAttributes.cs @@ -0,0 +1,4 @@ +// +using System; +using System.Reflection; +[assembly: global::System.Runtime.Versioning.TargetFrameworkAttribute(".NETCoreApp,Version=v9.0", FrameworkDisplayName = ".NET 9.0")] diff --git a/leak_test_project/obj/Release/net9.0-windows/App.baml b/leak_test_project/obj/Release/net9.0-windows/App.baml new file mode 100644 index 0000000..3767e9d Binary files /dev/null and b/leak_test_project/obj/Release/net9.0-windows/App.baml differ diff --git a/leak_test_project/obj/Release/net9.0-windows/App.g.cs b/leak_test_project/obj/Release/net9.0-windows/App.g.cs new file mode 100644 index 0000000..e71629e --- /dev/null +++ b/leak_test_project/obj/Release/net9.0-windows/App.g.cs @@ -0,0 +1,80 @@ +#pragma checksum "..\..\..\App.xaml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "2C9DBC57725FBA850BA48A200BD6B89548C1882D" +//------------------------------------------------------------------------------ +// +// 이 코드는 도구를 사용하여 생성되었습니다. +// 런타임 버전:4.0.30319.42000 +// +// 파일 내용을 변경하면 잘못된 동작이 발생할 수 있으며, 코드를 다시 생성하면 +// 이러한 변경 내용이 손실됩니다. +// +//------------------------------------------------------------------------------ + +using System; +using System.Diagnostics; +using System.Windows; +using System.Windows.Automation; +using System.Windows.Controls; +using System.Windows.Controls.Primitives; +using System.Windows.Controls.Ribbon; +using System.Windows.Data; +using System.Windows.Documents; +using System.Windows.Ink; +using System.Windows.Input; +using System.Windows.Markup; +using System.Windows.Media; +using System.Windows.Media.Animation; +using System.Windows.Media.Effects; +using System.Windows.Media.Imaging; +using System.Windows.Media.Media3D; +using System.Windows.Media.TextFormatting; +using System.Windows.Navigation; +using System.Windows.Shapes; +using System.Windows.Shell; +using leak_test_project; +using leak_test_project.ViewModels; +using leak_test_project.Views; + + +namespace leak_test_project { + + + /// + /// App + /// + public partial class App : System.Windows.Application { + + private bool _contentLoaded; + + /// + /// InitializeComponent + /// + [System.Diagnostics.DebuggerNonUserCodeAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "10.0.9.0")] + public void InitializeComponent() { + if (_contentLoaded) { + return; + } + _contentLoaded = true; + System.Uri resourceLocater = new System.Uri("/leak_test_project;component/app.xaml", System.UriKind.Relative); + + #line 1 "..\..\..\App.xaml" + System.Windows.Application.LoadComponent(this, resourceLocater); + + #line default + #line hidden + } + + /// + /// Application Entry Point. + /// + [System.STAThreadAttribute()] + [System.Diagnostics.DebuggerNonUserCodeAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "10.0.9.0")] + public static void Main() { + leak_test_project.App app = new leak_test_project.App(); + app.InitializeComponent(); + app.Run(); + } + } +} + diff --git a/leak_test_project/obj/Release/net9.0-windows/App.g.i.cs b/leak_test_project/obj/Release/net9.0-windows/App.g.i.cs new file mode 100644 index 0000000..e71629e --- /dev/null +++ b/leak_test_project/obj/Release/net9.0-windows/App.g.i.cs @@ -0,0 +1,80 @@ +#pragma checksum "..\..\..\App.xaml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "2C9DBC57725FBA850BA48A200BD6B89548C1882D" +//------------------------------------------------------------------------------ +// +// 이 코드는 도구를 사용하여 생성되었습니다. +// 런타임 버전:4.0.30319.42000 +// +// 파일 내용을 변경하면 잘못된 동작이 발생할 수 있으며, 코드를 다시 생성하면 +// 이러한 변경 내용이 손실됩니다. +// +//------------------------------------------------------------------------------ + +using System; +using System.Diagnostics; +using System.Windows; +using System.Windows.Automation; +using System.Windows.Controls; +using System.Windows.Controls.Primitives; +using System.Windows.Controls.Ribbon; +using System.Windows.Data; +using System.Windows.Documents; +using System.Windows.Ink; +using System.Windows.Input; +using System.Windows.Markup; +using System.Windows.Media; +using System.Windows.Media.Animation; +using System.Windows.Media.Effects; +using System.Windows.Media.Imaging; +using System.Windows.Media.Media3D; +using System.Windows.Media.TextFormatting; +using System.Windows.Navigation; +using System.Windows.Shapes; +using System.Windows.Shell; +using leak_test_project; +using leak_test_project.ViewModels; +using leak_test_project.Views; + + +namespace leak_test_project { + + + /// + /// App + /// + public partial class App : System.Windows.Application { + + private bool _contentLoaded; + + /// + /// InitializeComponent + /// + [System.Diagnostics.DebuggerNonUserCodeAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "10.0.9.0")] + public void InitializeComponent() { + if (_contentLoaded) { + return; + } + _contentLoaded = true; + System.Uri resourceLocater = new System.Uri("/leak_test_project;component/app.xaml", System.UriKind.Relative); + + #line 1 "..\..\..\App.xaml" + System.Windows.Application.LoadComponent(this, resourceLocater); + + #line default + #line hidden + } + + /// + /// Application Entry Point. + /// + [System.STAThreadAttribute()] + [System.Diagnostics.DebuggerNonUserCodeAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "10.0.9.0")] + public static void Main() { + leak_test_project.App app = new leak_test_project.App(); + app.InitializeComponent(); + app.Run(); + } + } +} + diff --git a/leak_test_project/obj/Release/net9.0-windows/GeneratedInternalTypeHelper.g.cs b/leak_test_project/obj/Release/net9.0-windows/GeneratedInternalTypeHelper.g.cs new file mode 100644 index 0000000..a8bf9c4 --- /dev/null +++ b/leak_test_project/obj/Release/net9.0-windows/GeneratedInternalTypeHelper.g.cs @@ -0,0 +1,62 @@ +//------------------------------------------------------------------------------ +// +// 이 코드는 도구를 사용하여 생성되었습니다. +// 런타임 버전:4.0.30319.42000 +// +// 파일 내용을 변경하면 잘못된 동작이 발생할 수 있으며, 코드를 다시 생성하면 +// 이러한 변경 내용이 손실됩니다. +// +//------------------------------------------------------------------------------ + +namespace XamlGeneratedNamespace { + + + /// + /// GeneratedInternalTypeHelper + /// + [System.Diagnostics.DebuggerNonUserCodeAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "10.0.9.0")] + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] + public sealed class GeneratedInternalTypeHelper : System.Windows.Markup.InternalTypeHelper { + + /// + /// CreateInstance + /// + protected override object CreateInstance(System.Type type, System.Globalization.CultureInfo culture) { + return System.Activator.CreateInstance(type, ((System.Reflection.BindingFlags.Public | System.Reflection.BindingFlags.NonPublic) + | (System.Reflection.BindingFlags.Instance | System.Reflection.BindingFlags.CreateInstance)), null, null, culture); + } + + /// + /// GetPropertyValue + /// + protected override object GetPropertyValue(System.Reflection.PropertyInfo propertyInfo, object target, System.Globalization.CultureInfo culture) { + return propertyInfo.GetValue(target, System.Reflection.BindingFlags.Default, null, null, culture); + } + + /// + /// SetPropertyValue + /// + protected override void SetPropertyValue(System.Reflection.PropertyInfo propertyInfo, object target, object value, System.Globalization.CultureInfo culture) { + propertyInfo.SetValue(target, value, System.Reflection.BindingFlags.Default, null, null, culture); + } + + /// + /// CreateDelegate + /// + protected override System.Delegate CreateDelegate(System.Type delegateType, object target, string handler) { + return ((System.Delegate)(target.GetType().InvokeMember("_CreateDelegate", (System.Reflection.BindingFlags.InvokeMethod + | (System.Reflection.BindingFlags.NonPublic | System.Reflection.BindingFlags.Instance)), null, target, new object[] { + delegateType, + handler}, null))); + } + + /// + /// AddEventHandler + /// + protected override void AddEventHandler(System.Reflection.EventInfo eventInfo, object target, System.Delegate handler) { + eventInfo.AddEventHandler(target, handler); + } + } +} + diff --git a/leak_test_project/obj/Release/net9.0-windows/GeneratedInternalTypeHelper.g.i.cs b/leak_test_project/obj/Release/net9.0-windows/GeneratedInternalTypeHelper.g.i.cs new file mode 100644 index 0000000..a8bf9c4 --- /dev/null +++ b/leak_test_project/obj/Release/net9.0-windows/GeneratedInternalTypeHelper.g.i.cs @@ -0,0 +1,62 @@ +//------------------------------------------------------------------------------ +// +// 이 코드는 도구를 사용하여 생성되었습니다. +// 런타임 버전:4.0.30319.42000 +// +// 파일 내용을 변경하면 잘못된 동작이 발생할 수 있으며, 코드를 다시 생성하면 +// 이러한 변경 내용이 손실됩니다. +// +//------------------------------------------------------------------------------ + +namespace XamlGeneratedNamespace { + + + /// + /// GeneratedInternalTypeHelper + /// + [System.Diagnostics.DebuggerNonUserCodeAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "10.0.9.0")] + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] + public sealed class GeneratedInternalTypeHelper : System.Windows.Markup.InternalTypeHelper { + + /// + /// CreateInstance + /// + protected override object CreateInstance(System.Type type, System.Globalization.CultureInfo culture) { + return System.Activator.CreateInstance(type, ((System.Reflection.BindingFlags.Public | System.Reflection.BindingFlags.NonPublic) + | (System.Reflection.BindingFlags.Instance | System.Reflection.BindingFlags.CreateInstance)), null, null, culture); + } + + /// + /// GetPropertyValue + /// + protected override object GetPropertyValue(System.Reflection.PropertyInfo propertyInfo, object target, System.Globalization.CultureInfo culture) { + return propertyInfo.GetValue(target, System.Reflection.BindingFlags.Default, null, null, culture); + } + + /// + /// SetPropertyValue + /// + protected override void SetPropertyValue(System.Reflection.PropertyInfo propertyInfo, object target, object value, System.Globalization.CultureInfo culture) { + propertyInfo.SetValue(target, value, System.Reflection.BindingFlags.Default, null, null, culture); + } + + /// + /// CreateDelegate + /// + protected override System.Delegate CreateDelegate(System.Type delegateType, object target, string handler) { + return ((System.Delegate)(target.GetType().InvokeMember("_CreateDelegate", (System.Reflection.BindingFlags.InvokeMethod + | (System.Reflection.BindingFlags.NonPublic | System.Reflection.BindingFlags.Instance)), null, target, new object[] { + delegateType, + handler}, null))); + } + + /// + /// AddEventHandler + /// + protected override void AddEventHandler(System.Reflection.EventInfo eventInfo, object target, System.Delegate handler) { + eventInfo.AddEventHandler(target, handler); + } + } +} + diff --git a/leak_test_project/obj/Release/net9.0-windows/MainWindow.baml b/leak_test_project/obj/Release/net9.0-windows/MainWindow.baml new file mode 100644 index 0000000..74cfa24 Binary files /dev/null and b/leak_test_project/obj/Release/net9.0-windows/MainWindow.baml differ diff --git a/leak_test_project/obj/Release/net9.0-windows/MainWindow.g.cs b/leak_test_project/obj/Release/net9.0-windows/MainWindow.g.cs new file mode 100644 index 0000000..5e1895f --- /dev/null +++ b/leak_test_project/obj/Release/net9.0-windows/MainWindow.g.cs @@ -0,0 +1,192 @@ +#pragma checksum "..\..\..\MainWindow.xaml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "BCEF04A2E87738D2F06DA355EB11BA30F322E42B" +//------------------------------------------------------------------------------ +// +// 이 코드는 도구를 사용하여 생성되었습니다. +// 런타임 버전:4.0.30319.42000 +// +// 파일 내용을 변경하면 잘못된 동작이 발생할 수 있으며, 코드를 다시 생성하면 +// 이러한 변경 내용이 손실됩니다. +// +//------------------------------------------------------------------------------ + +using System; +using System.Diagnostics; +using System.Windows; +using System.Windows.Automation; +using System.Windows.Controls; +using System.Windows.Controls.Primitives; +using System.Windows.Controls.Ribbon; +using System.Windows.Data; +using System.Windows.Documents; +using System.Windows.Ink; +using System.Windows.Input; +using System.Windows.Markup; +using System.Windows.Media; +using System.Windows.Media.Animation; +using System.Windows.Media.Effects; +using System.Windows.Media.Imaging; +using System.Windows.Media.Media3D; +using System.Windows.Media.TextFormatting; +using System.Windows.Navigation; +using System.Windows.Shapes; +using System.Windows.Shell; +using leak_test_project.ViewModels; + + +namespace leak_test_project { + + + /// + /// MainWindow + /// + public partial class MainWindow : System.Windows.Window, System.Windows.Markup.IComponentConnector { + + + #line 66 "..\..\..\MainWindow.xaml" + [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")] + internal System.Windows.Controls.TextBlock txtCurrentDateTime; + + #line default + #line hidden + + + #line 75 "..\..\..\MainWindow.xaml" + [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")] + internal System.Windows.Controls.TextBlock txtOperatorInfo; + + #line default + #line hidden + + + #line 82 "..\..\..\MainWindow.xaml" + [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")] + internal System.Windows.Controls.TextBlock txtModelInfo; + + #line default + #line hidden + + + #line 89 "..\..\..\MainWindow.xaml" + [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")] + internal System.Windows.Controls.TextBlock txtLineInfo; + + #line default + #line hidden + + + #line 94 "..\..\..\MainWindow.xaml" + [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")] + internal System.Windows.Controls.Button btnLogout; + + #line default + #line hidden + + + #line 101 "..\..\..\MainWindow.xaml" + [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")] + internal System.Windows.Controls.Button btnMaximize; + + #line default + #line hidden + + + #line 102 "..\..\..\MainWindow.xaml" + [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")] + internal System.Windows.Controls.TextBlock txtMaximizeIcon; + + #line default + #line hidden + + private bool _contentLoaded; + + /// + /// InitializeComponent + /// + [System.Diagnostics.DebuggerNonUserCodeAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "10.0.9.0")] + public void InitializeComponent() { + if (_contentLoaded) { + return; + } + _contentLoaded = true; + System.Uri resourceLocater = new System.Uri("/leak_test_project;component/mainwindow.xaml", System.UriKind.Relative); + + #line 1 "..\..\..\MainWindow.xaml" + System.Windows.Application.LoadComponent(this, resourceLocater); + + #line default + #line hidden + } + + [System.Diagnostics.DebuggerNonUserCodeAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "10.0.9.0")] + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] + [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes")] + [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Maintainability", "CA1502:AvoidExcessiveComplexity")] + [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1800:DoNotCastUnnecessarily")] + void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { + switch (connectionId) + { + case 1: + + #line 8 "..\..\..\MainWindow.xaml" + ((leak_test_project.MainWindow)(target)).ContentRendered += new System.EventHandler(this.Window_ContentRendered); + + #line default + #line hidden + return; + case 2: + + #line 56 "..\..\..\MainWindow.xaml" + ((System.Windows.Controls.Border)(target)).MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.TopBar_MouseLeftButtonDown); + + #line default + #line hidden + return; + case 3: + this.txtCurrentDateTime = ((System.Windows.Controls.TextBlock)(target)); + return; + case 4: + this.txtOperatorInfo = ((System.Windows.Controls.TextBlock)(target)); + return; + case 5: + this.txtModelInfo = ((System.Windows.Controls.TextBlock)(target)); + return; + case 6: + this.txtLineInfo = ((System.Windows.Controls.TextBlock)(target)); + return; + case 7: + this.btnLogout = ((System.Windows.Controls.Button)(target)); + + #line 94 "..\..\..\MainWindow.xaml" + this.btnLogout.Click += new System.Windows.RoutedEventHandler(this.BtnLogout_Click); + + #line default + #line hidden + return; + case 8: + + #line 98 "..\..\..\MainWindow.xaml" + ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.BtnMinimize_Click); + + #line default + #line hidden + return; + case 9: + this.btnMaximize = ((System.Windows.Controls.Button)(target)); + + #line 101 "..\..\..\MainWindow.xaml" + this.btnMaximize.Click += new System.Windows.RoutedEventHandler(this.BtnMaximize_Click); + + #line default + #line hidden + return; + case 10: + this.txtMaximizeIcon = ((System.Windows.Controls.TextBlock)(target)); + return; + } + this._contentLoaded = true; + } + } +} + diff --git a/leak_test_project/obj/Release/net9.0-windows/MainWindow.g.i.cs b/leak_test_project/obj/Release/net9.0-windows/MainWindow.g.i.cs new file mode 100644 index 0000000..5e1895f --- /dev/null +++ b/leak_test_project/obj/Release/net9.0-windows/MainWindow.g.i.cs @@ -0,0 +1,192 @@ +#pragma checksum "..\..\..\MainWindow.xaml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "BCEF04A2E87738D2F06DA355EB11BA30F322E42B" +//------------------------------------------------------------------------------ +// +// 이 코드는 도구를 사용하여 생성되었습니다. +// 런타임 버전:4.0.30319.42000 +// +// 파일 내용을 변경하면 잘못된 동작이 발생할 수 있으며, 코드를 다시 생성하면 +// 이러한 변경 내용이 손실됩니다. +// +//------------------------------------------------------------------------------ + +using System; +using System.Diagnostics; +using System.Windows; +using System.Windows.Automation; +using System.Windows.Controls; +using System.Windows.Controls.Primitives; +using System.Windows.Controls.Ribbon; +using System.Windows.Data; +using System.Windows.Documents; +using System.Windows.Ink; +using System.Windows.Input; +using System.Windows.Markup; +using System.Windows.Media; +using System.Windows.Media.Animation; +using System.Windows.Media.Effects; +using System.Windows.Media.Imaging; +using System.Windows.Media.Media3D; +using System.Windows.Media.TextFormatting; +using System.Windows.Navigation; +using System.Windows.Shapes; +using System.Windows.Shell; +using leak_test_project.ViewModels; + + +namespace leak_test_project { + + + /// + /// MainWindow + /// + public partial class MainWindow : System.Windows.Window, System.Windows.Markup.IComponentConnector { + + + #line 66 "..\..\..\MainWindow.xaml" + [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")] + internal System.Windows.Controls.TextBlock txtCurrentDateTime; + + #line default + #line hidden + + + #line 75 "..\..\..\MainWindow.xaml" + [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")] + internal System.Windows.Controls.TextBlock txtOperatorInfo; + + #line default + #line hidden + + + #line 82 "..\..\..\MainWindow.xaml" + [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")] + internal System.Windows.Controls.TextBlock txtModelInfo; + + #line default + #line hidden + + + #line 89 "..\..\..\MainWindow.xaml" + [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")] + internal System.Windows.Controls.TextBlock txtLineInfo; + + #line default + #line hidden + + + #line 94 "..\..\..\MainWindow.xaml" + [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")] + internal System.Windows.Controls.Button btnLogout; + + #line default + #line hidden + + + #line 101 "..\..\..\MainWindow.xaml" + [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")] + internal System.Windows.Controls.Button btnMaximize; + + #line default + #line hidden + + + #line 102 "..\..\..\MainWindow.xaml" + [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")] + internal System.Windows.Controls.TextBlock txtMaximizeIcon; + + #line default + #line hidden + + private bool _contentLoaded; + + /// + /// InitializeComponent + /// + [System.Diagnostics.DebuggerNonUserCodeAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "10.0.9.0")] + public void InitializeComponent() { + if (_contentLoaded) { + return; + } + _contentLoaded = true; + System.Uri resourceLocater = new System.Uri("/leak_test_project;component/mainwindow.xaml", System.UriKind.Relative); + + #line 1 "..\..\..\MainWindow.xaml" + System.Windows.Application.LoadComponent(this, resourceLocater); + + #line default + #line hidden + } + + [System.Diagnostics.DebuggerNonUserCodeAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "10.0.9.0")] + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] + [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes")] + [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Maintainability", "CA1502:AvoidExcessiveComplexity")] + [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1800:DoNotCastUnnecessarily")] + void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { + switch (connectionId) + { + case 1: + + #line 8 "..\..\..\MainWindow.xaml" + ((leak_test_project.MainWindow)(target)).ContentRendered += new System.EventHandler(this.Window_ContentRendered); + + #line default + #line hidden + return; + case 2: + + #line 56 "..\..\..\MainWindow.xaml" + ((System.Windows.Controls.Border)(target)).MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.TopBar_MouseLeftButtonDown); + + #line default + #line hidden + return; + case 3: + this.txtCurrentDateTime = ((System.Windows.Controls.TextBlock)(target)); + return; + case 4: + this.txtOperatorInfo = ((System.Windows.Controls.TextBlock)(target)); + return; + case 5: + this.txtModelInfo = ((System.Windows.Controls.TextBlock)(target)); + return; + case 6: + this.txtLineInfo = ((System.Windows.Controls.TextBlock)(target)); + return; + case 7: + this.btnLogout = ((System.Windows.Controls.Button)(target)); + + #line 94 "..\..\..\MainWindow.xaml" + this.btnLogout.Click += new System.Windows.RoutedEventHandler(this.BtnLogout_Click); + + #line default + #line hidden + return; + case 8: + + #line 98 "..\..\..\MainWindow.xaml" + ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.BtnMinimize_Click); + + #line default + #line hidden + return; + case 9: + this.btnMaximize = ((System.Windows.Controls.Button)(target)); + + #line 101 "..\..\..\MainWindow.xaml" + this.btnMaximize.Click += new System.Windows.RoutedEventHandler(this.BtnMaximize_Click); + + #line default + #line hidden + return; + case 10: + this.txtMaximizeIcon = ((System.Windows.Controls.TextBlock)(target)); + return; + } + this._contentLoaded = true; + } + } +} + diff --git a/leak_test_project/obj/Release/net9.0-windows/PublishOutputs.d05becee2e.txt b/leak_test_project/obj/Release/net9.0-windows/PublishOutputs.d05becee2e.txt new file mode 100644 index 0000000..1f45d82 --- /dev/null +++ b/leak_test_project/obj/Release/net9.0-windows/PublishOutputs.d05becee2e.txt @@ -0,0 +1,34 @@ +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\leak_test_project.exe +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\Database.ini +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\PCI-Dask.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\leak_test_project.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\leak_test_project.deps.json +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\leak_test_project.runtimeconfig.json +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\leak_test_project.dll.config +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\leak_test_project.pdb +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\Microsoft.VisualStudio.Setup.Configuration.Interop.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\System.Data.SqlClient.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\System.IO.Ports.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\runtimes\android-arm\native\libSystem.IO.Ports.Native.so +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\runtimes\android-arm64\native\libSystem.IO.Ports.Native.so +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\runtimes\android-x64\native\libSystem.IO.Ports.Native.so +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\runtimes\android-x86\native\libSystem.IO.Ports.Native.so +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\runtimes\linux-arm\native\libSystem.IO.Ports.Native.so +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\runtimes\linux-arm64\native\libSystem.IO.Ports.Native.so +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\runtimes\linux-bionic-arm64\native\libSystem.IO.Ports.Native.so +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\runtimes\linux-bionic-x64\native\libSystem.IO.Ports.Native.so +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\runtimes\linux-musl-arm\native\libSystem.IO.Ports.Native.so +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\runtimes\linux-musl-arm64\native\libSystem.IO.Ports.Native.so +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\runtimes\linux-musl-x64\native\libSystem.IO.Ports.Native.so +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\runtimes\linux-x64\native\libSystem.IO.Ports.Native.so +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\runtimes\maccatalyst-arm64\native\libSystem.IO.Ports.Native.dylib +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\runtimes\maccatalyst-x64\native\libSystem.IO.Ports.Native.dylib +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\runtimes\osx-arm64\native\libSystem.IO.Ports.Native.dylib +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\runtimes\osx-x64\native\libSystem.IO.Ports.Native.dylib +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\runtimes\win-arm64\native\sni.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\runtimes\win-x64\native\sni.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\runtimes\win-x86\native\sni.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\runtimes\unix\lib\net8.0\System.Data.SqlClient.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\runtimes\win\lib\net8.0\System.Data.SqlClient.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\runtimes\unix\lib\net9.0\System.IO.Ports.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\runtimes\win\lib\net9.0\System.IO.Ports.dll diff --git a/leak_test_project/obj/Release/net9.0-windows/Views/CommunicationWindow.baml b/leak_test_project/obj/Release/net9.0-windows/Views/CommunicationWindow.baml new file mode 100644 index 0000000..430180e Binary files /dev/null and b/leak_test_project/obj/Release/net9.0-windows/Views/CommunicationWindow.baml differ diff --git a/leak_test_project/obj/Release/net9.0-windows/Views/CommunicationWindow.g.cs b/leak_test_project/obj/Release/net9.0-windows/Views/CommunicationWindow.g.cs new file mode 100644 index 0000000..c3e27e2 --- /dev/null +++ b/leak_test_project/obj/Release/net9.0-windows/Views/CommunicationWindow.g.cs @@ -0,0 +1,156 @@ +#pragma checksum "..\..\..\..\Views\CommunicationWindow.xaml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "5577DF64786E1B37F0D8450695B8B90B36B03544" +//------------------------------------------------------------------------------ +// +// 이 코드는 도구를 사용하여 생성되었습니다. +// 런타임 버전:4.0.30319.42000 +// +// 파일 내용을 변경하면 잘못된 동작이 발생할 수 있으며, 코드를 다시 생성하면 +// 이러한 변경 내용이 손실됩니다. +// +//------------------------------------------------------------------------------ + +using System; +using System.Diagnostics; +using System.Windows; +using System.Windows.Automation; +using System.Windows.Controls; +using System.Windows.Controls.Primitives; +using System.Windows.Controls.Ribbon; +using System.Windows.Data; +using System.Windows.Documents; +using System.Windows.Ink; +using System.Windows.Input; +using System.Windows.Markup; +using System.Windows.Media; +using System.Windows.Media.Animation; +using System.Windows.Media.Effects; +using System.Windows.Media.Imaging; +using System.Windows.Media.Media3D; +using System.Windows.Media.TextFormatting; +using System.Windows.Navigation; +using System.Windows.Shapes; +using System.Windows.Shell; + + +namespace leak_test_project.Views { + + + /// + /// CommunicationWindow + /// + public partial class CommunicationWindow : System.Windows.Window, System.Windows.Markup.IComponentConnector { + + + #line 75 "..\..\..\..\Views\CommunicationWindow.xaml" + [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")] + internal System.Windows.Controls.ComboBox cbBoard4251BaudRate; + + #line default + #line hidden + + + #line 90 "..\..\..\..\Views\CommunicationWindow.xaml" + [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")] + internal System.Windows.Controls.ComboBox cbBoard4251Port; + + #line default + #line hidden + + + #line 105 "..\..\..\..\Views\CommunicationWindow.xaml" + [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")] + internal System.Windows.Controls.ComboBox cbSensorBaudRate; + + #line default + #line hidden + + + #line 120 "..\..\..\..\Views\CommunicationWindow.xaml" + [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")] + internal System.Windows.Controls.ComboBox cbSensorPort; + + #line default + #line hidden + + + #line 130 "..\..\..\..\Views\CommunicationWindow.xaml" + [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")] + internal System.Windows.Controls.Button btnSave; + + #line default + #line hidden + + + #line 131 "..\..\..\..\Views\CommunicationWindow.xaml" + [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")] + internal System.Windows.Controls.Button btnClose; + + #line default + #line hidden + + private bool _contentLoaded; + + /// + /// InitializeComponent + /// + [System.Diagnostics.DebuggerNonUserCodeAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "10.0.9.0")] + public void InitializeComponent() { + if (_contentLoaded) { + return; + } + _contentLoaded = true; + System.Uri resourceLocater = new System.Uri("/leak_test_project;component/views/communicationwindow.xaml", System.UriKind.Relative); + + #line 1 "..\..\..\..\Views\CommunicationWindow.xaml" + System.Windows.Application.LoadComponent(this, resourceLocater); + + #line default + #line hidden + } + + [System.Diagnostics.DebuggerNonUserCodeAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "10.0.9.0")] + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] + [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes")] + [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Maintainability", "CA1502:AvoidExcessiveComplexity")] + [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1800:DoNotCastUnnecessarily")] + void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { + switch (connectionId) + { + case 1: + this.cbBoard4251BaudRate = ((System.Windows.Controls.ComboBox)(target)); + return; + case 2: + this.cbBoard4251Port = ((System.Windows.Controls.ComboBox)(target)); + return; + case 3: + this.cbSensorBaudRate = ((System.Windows.Controls.ComboBox)(target)); + return; + case 4: + this.cbSensorPort = ((System.Windows.Controls.ComboBox)(target)); + return; + case 5: + this.btnSave = ((System.Windows.Controls.Button)(target)); + + #line 130 "..\..\..\..\Views\CommunicationWindow.xaml" + this.btnSave.Click += new System.Windows.RoutedEventHandler(this.BtnSave_Click); + + #line default + #line hidden + return; + case 6: + this.btnClose = ((System.Windows.Controls.Button)(target)); + + #line 131 "..\..\..\..\Views\CommunicationWindow.xaml" + this.btnClose.Click += new System.Windows.RoutedEventHandler(this.BtnClose_Click); + + #line default + #line hidden + return; + } + this._contentLoaded = true; + } + } +} + diff --git a/leak_test_project/obj/Release/net9.0-windows/Views/CommunicationWindow.g.i.cs b/leak_test_project/obj/Release/net9.0-windows/Views/CommunicationWindow.g.i.cs new file mode 100644 index 0000000..c3e27e2 --- /dev/null +++ b/leak_test_project/obj/Release/net9.0-windows/Views/CommunicationWindow.g.i.cs @@ -0,0 +1,156 @@ +#pragma checksum "..\..\..\..\Views\CommunicationWindow.xaml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "5577DF64786E1B37F0D8450695B8B90B36B03544" +//------------------------------------------------------------------------------ +// +// 이 코드는 도구를 사용하여 생성되었습니다. +// 런타임 버전:4.0.30319.42000 +// +// 파일 내용을 변경하면 잘못된 동작이 발생할 수 있으며, 코드를 다시 생성하면 +// 이러한 변경 내용이 손실됩니다. +// +//------------------------------------------------------------------------------ + +using System; +using System.Diagnostics; +using System.Windows; +using System.Windows.Automation; +using System.Windows.Controls; +using System.Windows.Controls.Primitives; +using System.Windows.Controls.Ribbon; +using System.Windows.Data; +using System.Windows.Documents; +using System.Windows.Ink; +using System.Windows.Input; +using System.Windows.Markup; +using System.Windows.Media; +using System.Windows.Media.Animation; +using System.Windows.Media.Effects; +using System.Windows.Media.Imaging; +using System.Windows.Media.Media3D; +using System.Windows.Media.TextFormatting; +using System.Windows.Navigation; +using System.Windows.Shapes; +using System.Windows.Shell; + + +namespace leak_test_project.Views { + + + /// + /// CommunicationWindow + /// + public partial class CommunicationWindow : System.Windows.Window, System.Windows.Markup.IComponentConnector { + + + #line 75 "..\..\..\..\Views\CommunicationWindow.xaml" + [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")] + internal System.Windows.Controls.ComboBox cbBoard4251BaudRate; + + #line default + #line hidden + + + #line 90 "..\..\..\..\Views\CommunicationWindow.xaml" + [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")] + internal System.Windows.Controls.ComboBox cbBoard4251Port; + + #line default + #line hidden + + + #line 105 "..\..\..\..\Views\CommunicationWindow.xaml" + [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")] + internal System.Windows.Controls.ComboBox cbSensorBaudRate; + + #line default + #line hidden + + + #line 120 "..\..\..\..\Views\CommunicationWindow.xaml" + [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")] + internal System.Windows.Controls.ComboBox cbSensorPort; + + #line default + #line hidden + + + #line 130 "..\..\..\..\Views\CommunicationWindow.xaml" + [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")] + internal System.Windows.Controls.Button btnSave; + + #line default + #line hidden + + + #line 131 "..\..\..\..\Views\CommunicationWindow.xaml" + [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")] + internal System.Windows.Controls.Button btnClose; + + #line default + #line hidden + + private bool _contentLoaded; + + /// + /// InitializeComponent + /// + [System.Diagnostics.DebuggerNonUserCodeAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "10.0.9.0")] + public void InitializeComponent() { + if (_contentLoaded) { + return; + } + _contentLoaded = true; + System.Uri resourceLocater = new System.Uri("/leak_test_project;component/views/communicationwindow.xaml", System.UriKind.Relative); + + #line 1 "..\..\..\..\Views\CommunicationWindow.xaml" + System.Windows.Application.LoadComponent(this, resourceLocater); + + #line default + #line hidden + } + + [System.Diagnostics.DebuggerNonUserCodeAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "10.0.9.0")] + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] + [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes")] + [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Maintainability", "CA1502:AvoidExcessiveComplexity")] + [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1800:DoNotCastUnnecessarily")] + void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { + switch (connectionId) + { + case 1: + this.cbBoard4251BaudRate = ((System.Windows.Controls.ComboBox)(target)); + return; + case 2: + this.cbBoard4251Port = ((System.Windows.Controls.ComboBox)(target)); + return; + case 3: + this.cbSensorBaudRate = ((System.Windows.Controls.ComboBox)(target)); + return; + case 4: + this.cbSensorPort = ((System.Windows.Controls.ComboBox)(target)); + return; + case 5: + this.btnSave = ((System.Windows.Controls.Button)(target)); + + #line 130 "..\..\..\..\Views\CommunicationWindow.xaml" + this.btnSave.Click += new System.Windows.RoutedEventHandler(this.BtnSave_Click); + + #line default + #line hidden + return; + case 6: + this.btnClose = ((System.Windows.Controls.Button)(target)); + + #line 131 "..\..\..\..\Views\CommunicationWindow.xaml" + this.btnClose.Click += new System.Windows.RoutedEventHandler(this.BtnClose_Click); + + #line default + #line hidden + return; + } + this._contentLoaded = true; + } + } +} + diff --git a/leak_test_project/obj/Release/net9.0-windows/Views/DataView.baml b/leak_test_project/obj/Release/net9.0-windows/Views/DataView.baml new file mode 100644 index 0000000..7b4a118 Binary files /dev/null and b/leak_test_project/obj/Release/net9.0-windows/Views/DataView.baml differ diff --git a/leak_test_project/obj/Release/net9.0-windows/Views/DataView.g.cs b/leak_test_project/obj/Release/net9.0-windows/Views/DataView.g.cs new file mode 100644 index 0000000..693a109 --- /dev/null +++ b/leak_test_project/obj/Release/net9.0-windows/Views/DataView.g.cs @@ -0,0 +1,94 @@ +#pragma checksum "..\..\..\..\Views\DataView.xaml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "168E04ECAE869546705967F320C1997339F48A3E" +//------------------------------------------------------------------------------ +// +// 이 코드는 도구를 사용하여 생성되었습니다. +// 런타임 버전:4.0.30319.42000 +// +// 파일 내용을 변경하면 잘못된 동작이 발생할 수 있으며, 코드를 다시 생성하면 +// 이러한 변경 내용이 손실됩니다. +// +//------------------------------------------------------------------------------ + +using System; +using System.Diagnostics; +using System.Windows; +using System.Windows.Automation; +using System.Windows.Controls; +using System.Windows.Controls.Primitives; +using System.Windows.Controls.Ribbon; +using System.Windows.Data; +using System.Windows.Documents; +using System.Windows.Ink; +using System.Windows.Input; +using System.Windows.Markup; +using System.Windows.Media; +using System.Windows.Media.Animation; +using System.Windows.Media.Effects; +using System.Windows.Media.Imaging; +using System.Windows.Media.Media3D; +using System.Windows.Media.TextFormatting; +using System.Windows.Navigation; +using System.Windows.Shapes; +using System.Windows.Shell; + + +namespace leak_test_project.Views { + + + /// + /// DataView + /// + public partial class DataView : System.Windows.Controls.UserControl, System.Windows.Markup.IComponentConnector { + + private bool _contentLoaded; + + /// + /// InitializeComponent + /// + [System.Diagnostics.DebuggerNonUserCodeAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "10.0.9.0")] + public void InitializeComponent() { + if (_contentLoaded) { + return; + } + _contentLoaded = true; + System.Uri resourceLocater = new System.Uri("/leak_test_project;component/views/dataview.xaml", System.UriKind.Relative); + + #line 1 "..\..\..\..\Views\DataView.xaml" + System.Windows.Application.LoadComponent(this, resourceLocater); + + #line default + #line hidden + } + + [System.Diagnostics.DebuggerNonUserCodeAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "10.0.9.0")] + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] + [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes")] + [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Maintainability", "CA1502:AvoidExcessiveComplexity")] + [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1800:DoNotCastUnnecessarily")] + void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { + switch (connectionId) + { + case 1: + + #line 169 "..\..\..\..\Views\DataView.xaml" + ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click); + + #line default + #line hidden + return; + case 2: + + #line 180 "..\..\..\..\Views\DataView.xaml" + ((System.Windows.Controls.DataGrid)(target)).SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.DataGrid_SelectionChanged); + + #line default + #line hidden + return; + } + this._contentLoaded = true; + } + } +} + diff --git a/leak_test_project/obj/Release/net9.0-windows/Views/DataView.g.i.cs b/leak_test_project/obj/Release/net9.0-windows/Views/DataView.g.i.cs new file mode 100644 index 0000000..693a109 --- /dev/null +++ b/leak_test_project/obj/Release/net9.0-windows/Views/DataView.g.i.cs @@ -0,0 +1,94 @@ +#pragma checksum "..\..\..\..\Views\DataView.xaml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "168E04ECAE869546705967F320C1997339F48A3E" +//------------------------------------------------------------------------------ +// +// 이 코드는 도구를 사용하여 생성되었습니다. +// 런타임 버전:4.0.30319.42000 +// +// 파일 내용을 변경하면 잘못된 동작이 발생할 수 있으며, 코드를 다시 생성하면 +// 이러한 변경 내용이 손실됩니다. +// +//------------------------------------------------------------------------------ + +using System; +using System.Diagnostics; +using System.Windows; +using System.Windows.Automation; +using System.Windows.Controls; +using System.Windows.Controls.Primitives; +using System.Windows.Controls.Ribbon; +using System.Windows.Data; +using System.Windows.Documents; +using System.Windows.Ink; +using System.Windows.Input; +using System.Windows.Markup; +using System.Windows.Media; +using System.Windows.Media.Animation; +using System.Windows.Media.Effects; +using System.Windows.Media.Imaging; +using System.Windows.Media.Media3D; +using System.Windows.Media.TextFormatting; +using System.Windows.Navigation; +using System.Windows.Shapes; +using System.Windows.Shell; + + +namespace leak_test_project.Views { + + + /// + /// DataView + /// + public partial class DataView : System.Windows.Controls.UserControl, System.Windows.Markup.IComponentConnector { + + private bool _contentLoaded; + + /// + /// InitializeComponent + /// + [System.Diagnostics.DebuggerNonUserCodeAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "10.0.9.0")] + public void InitializeComponent() { + if (_contentLoaded) { + return; + } + _contentLoaded = true; + System.Uri resourceLocater = new System.Uri("/leak_test_project;component/views/dataview.xaml", System.UriKind.Relative); + + #line 1 "..\..\..\..\Views\DataView.xaml" + System.Windows.Application.LoadComponent(this, resourceLocater); + + #line default + #line hidden + } + + [System.Diagnostics.DebuggerNonUserCodeAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "10.0.9.0")] + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] + [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes")] + [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Maintainability", "CA1502:AvoidExcessiveComplexity")] + [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1800:DoNotCastUnnecessarily")] + void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { + switch (connectionId) + { + case 1: + + #line 169 "..\..\..\..\Views\DataView.xaml" + ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click); + + #line default + #line hidden + return; + case 2: + + #line 180 "..\..\..\..\Views\DataView.xaml" + ((System.Windows.Controls.DataGrid)(target)).SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.DataGrid_SelectionChanged); + + #line default + #line hidden + return; + } + this._contentLoaded = true; + } + } +} + diff --git a/leak_test_project/obj/Release/net9.0-windows/Views/HomeView.baml b/leak_test_project/obj/Release/net9.0-windows/Views/HomeView.baml new file mode 100644 index 0000000..8c2b612 Binary files /dev/null and b/leak_test_project/obj/Release/net9.0-windows/Views/HomeView.baml differ diff --git a/leak_test_project/obj/Release/net9.0-windows/Views/HomeView.g.cs b/leak_test_project/obj/Release/net9.0-windows/Views/HomeView.g.cs new file mode 100644 index 0000000..53dbf98 --- /dev/null +++ b/leak_test_project/obj/Release/net9.0-windows/Views/HomeView.g.cs @@ -0,0 +1,76 @@ +#pragma checksum "..\..\..\..\Views\HomeView.xaml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "817875EAD263AC23E75C01B4D6F33E4F99788939" +//------------------------------------------------------------------------------ +// +// 이 코드는 도구를 사용하여 생성되었습니다. +// 런타임 버전:4.0.30319.42000 +// +// 파일 내용을 변경하면 잘못된 동작이 발생할 수 있으며, 코드를 다시 생성하면 +// 이러한 변경 내용이 손실됩니다. +// +//------------------------------------------------------------------------------ + +using System; +using System.Diagnostics; +using System.Windows; +using System.Windows.Automation; +using System.Windows.Controls; +using System.Windows.Controls.Primitives; +using System.Windows.Controls.Ribbon; +using System.Windows.Data; +using System.Windows.Documents; +using System.Windows.Ink; +using System.Windows.Input; +using System.Windows.Markup; +using System.Windows.Media; +using System.Windows.Media.Animation; +using System.Windows.Media.Effects; +using System.Windows.Media.Imaging; +using System.Windows.Media.Media3D; +using System.Windows.Media.TextFormatting; +using System.Windows.Navigation; +using System.Windows.Shapes; +using System.Windows.Shell; +using leak_test_project.Views; + + +namespace leak_test_project.Views { + + + /// + /// HomeView + /// + public partial class HomeView : System.Windows.Controls.UserControl, System.Windows.Markup.IComponentConnector { + + private bool _contentLoaded; + + /// + /// InitializeComponent + /// + [System.Diagnostics.DebuggerNonUserCodeAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "10.0.9.0")] + public void InitializeComponent() { + if (_contentLoaded) { + return; + } + _contentLoaded = true; + System.Uri resourceLocater = new System.Uri("/leak_test_project;component/views/homeview.xaml", System.UriKind.Relative); + + #line 1 "..\..\..\..\Views\HomeView.xaml" + System.Windows.Application.LoadComponent(this, resourceLocater); + + #line default + #line hidden + } + + [System.Diagnostics.DebuggerNonUserCodeAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "10.0.9.0")] + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] + [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes")] + [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Maintainability", "CA1502:AvoidExcessiveComplexity")] + [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1800:DoNotCastUnnecessarily")] + void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { + this._contentLoaded = true; + } + } +} + diff --git a/leak_test_project/obj/Release/net9.0-windows/Views/HomeView.g.i.cs b/leak_test_project/obj/Release/net9.0-windows/Views/HomeView.g.i.cs new file mode 100644 index 0000000..53dbf98 --- /dev/null +++ b/leak_test_project/obj/Release/net9.0-windows/Views/HomeView.g.i.cs @@ -0,0 +1,76 @@ +#pragma checksum "..\..\..\..\Views\HomeView.xaml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "817875EAD263AC23E75C01B4D6F33E4F99788939" +//------------------------------------------------------------------------------ +// +// 이 코드는 도구를 사용하여 생성되었습니다. +// 런타임 버전:4.0.30319.42000 +// +// 파일 내용을 변경하면 잘못된 동작이 발생할 수 있으며, 코드를 다시 생성하면 +// 이러한 변경 내용이 손실됩니다. +// +//------------------------------------------------------------------------------ + +using System; +using System.Diagnostics; +using System.Windows; +using System.Windows.Automation; +using System.Windows.Controls; +using System.Windows.Controls.Primitives; +using System.Windows.Controls.Ribbon; +using System.Windows.Data; +using System.Windows.Documents; +using System.Windows.Ink; +using System.Windows.Input; +using System.Windows.Markup; +using System.Windows.Media; +using System.Windows.Media.Animation; +using System.Windows.Media.Effects; +using System.Windows.Media.Imaging; +using System.Windows.Media.Media3D; +using System.Windows.Media.TextFormatting; +using System.Windows.Navigation; +using System.Windows.Shapes; +using System.Windows.Shell; +using leak_test_project.Views; + + +namespace leak_test_project.Views { + + + /// + /// HomeView + /// + public partial class HomeView : System.Windows.Controls.UserControl, System.Windows.Markup.IComponentConnector { + + private bool _contentLoaded; + + /// + /// InitializeComponent + /// + [System.Diagnostics.DebuggerNonUserCodeAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "10.0.9.0")] + public void InitializeComponent() { + if (_contentLoaded) { + return; + } + _contentLoaded = true; + System.Uri resourceLocater = new System.Uri("/leak_test_project;component/views/homeview.xaml", System.UriKind.Relative); + + #line 1 "..\..\..\..\Views\HomeView.xaml" + System.Windows.Application.LoadComponent(this, resourceLocater); + + #line default + #line hidden + } + + [System.Diagnostics.DebuggerNonUserCodeAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "10.0.9.0")] + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] + [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes")] + [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Maintainability", "CA1502:AvoidExcessiveComplexity")] + [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1800:DoNotCastUnnecessarily")] + void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { + this._contentLoaded = true; + } + } +} + diff --git a/leak_test_project/obj/Release/net9.0-windows/Views/ParametersWindow.baml b/leak_test_project/obj/Release/net9.0-windows/Views/ParametersWindow.baml new file mode 100644 index 0000000..7626fec Binary files /dev/null and b/leak_test_project/obj/Release/net9.0-windows/Views/ParametersWindow.baml differ diff --git a/leak_test_project/obj/Release/net9.0-windows/Views/ParametersWindow.g.cs b/leak_test_project/obj/Release/net9.0-windows/Views/ParametersWindow.g.cs new file mode 100644 index 0000000..ed464eb --- /dev/null +++ b/leak_test_project/obj/Release/net9.0-windows/Views/ParametersWindow.g.cs @@ -0,0 +1,134 @@ +#pragma checksum "..\..\..\..\Views\ParametersWindow.xaml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "A81648EDB53F938D7C1F8027716079FB25BBFDC4" +//------------------------------------------------------------------------------ +// +// 이 코드는 도구를 사용하여 생성되었습니다. +// 런타임 버전:4.0.30319.42000 +// +// 파일 내용을 변경하면 잘못된 동작이 발생할 수 있으며, 코드를 다시 생성하면 +// 이러한 변경 내용이 손실됩니다. +// +//------------------------------------------------------------------------------ + +using System; +using System.Diagnostics; +using System.Windows; +using System.Windows.Automation; +using System.Windows.Controls; +using System.Windows.Controls.Primitives; +using System.Windows.Controls.Ribbon; +using System.Windows.Data; +using System.Windows.Documents; +using System.Windows.Ink; +using System.Windows.Input; +using System.Windows.Markup; +using System.Windows.Media; +using System.Windows.Media.Animation; +using System.Windows.Media.Effects; +using System.Windows.Media.Imaging; +using System.Windows.Media.Media3D; +using System.Windows.Media.TextFormatting; +using System.Windows.Navigation; +using System.Windows.Shapes; +using System.Windows.Shell; + + +namespace leak_test_project.Views { + + + /// + /// ParametersWindow + /// + public partial class ParametersWindow : System.Windows.Window, System.Windows.Markup.IComponentConnector { + + + #line 79 "..\..\..\..\Views\ParametersWindow.xaml" + [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")] + internal System.Windows.Controls.TextBox editSpecUL; + + #line default + #line hidden + + + #line 89 "..\..\..\..\Views\ParametersWindow.xaml" + [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")] + internal System.Windows.Controls.TextBox editSpecLL; + + #line default + #line hidden + + + #line 99 "..\..\..\..\Views\ParametersWindow.xaml" + [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")] + internal System.Windows.Controls.Button btnSave; + + #line default + #line hidden + + + #line 100 "..\..\..\..\Views\ParametersWindow.xaml" + [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")] + internal System.Windows.Controls.Button btnClose; + + #line default + #line hidden + + private bool _contentLoaded; + + /// + /// InitializeComponent + /// + [System.Diagnostics.DebuggerNonUserCodeAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "10.0.9.0")] + public void InitializeComponent() { + if (_contentLoaded) { + return; + } + _contentLoaded = true; + System.Uri resourceLocater = new System.Uri("/leak_test_project;component/views/parameterswindow.xaml", System.UriKind.Relative); + + #line 1 "..\..\..\..\Views\ParametersWindow.xaml" + System.Windows.Application.LoadComponent(this, resourceLocater); + + #line default + #line hidden + } + + [System.Diagnostics.DebuggerNonUserCodeAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "10.0.9.0")] + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] + [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes")] + [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Maintainability", "CA1502:AvoidExcessiveComplexity")] + [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1800:DoNotCastUnnecessarily")] + void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { + switch (connectionId) + { + case 1: + this.editSpecUL = ((System.Windows.Controls.TextBox)(target)); + return; + case 2: + this.editSpecLL = ((System.Windows.Controls.TextBox)(target)); + return; + case 3: + this.btnSave = ((System.Windows.Controls.Button)(target)); + + #line 99 "..\..\..\..\Views\ParametersWindow.xaml" + this.btnSave.Click += new System.Windows.RoutedEventHandler(this.BtnSave_Click); + + #line default + #line hidden + return; + case 4: + this.btnClose = ((System.Windows.Controls.Button)(target)); + + #line 100 "..\..\..\..\Views\ParametersWindow.xaml" + this.btnClose.Click += new System.Windows.RoutedEventHandler(this.BtnClose_Click); + + #line default + #line hidden + return; + } + this._contentLoaded = true; + } + } +} + diff --git a/leak_test_project/obj/Release/net9.0-windows/Views/ParametersWindow.g.i.cs b/leak_test_project/obj/Release/net9.0-windows/Views/ParametersWindow.g.i.cs new file mode 100644 index 0000000..ed464eb --- /dev/null +++ b/leak_test_project/obj/Release/net9.0-windows/Views/ParametersWindow.g.i.cs @@ -0,0 +1,134 @@ +#pragma checksum "..\..\..\..\Views\ParametersWindow.xaml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "A81648EDB53F938D7C1F8027716079FB25BBFDC4" +//------------------------------------------------------------------------------ +// +// 이 코드는 도구를 사용하여 생성되었습니다. +// 런타임 버전:4.0.30319.42000 +// +// 파일 내용을 변경하면 잘못된 동작이 발생할 수 있으며, 코드를 다시 생성하면 +// 이러한 변경 내용이 손실됩니다. +// +//------------------------------------------------------------------------------ + +using System; +using System.Diagnostics; +using System.Windows; +using System.Windows.Automation; +using System.Windows.Controls; +using System.Windows.Controls.Primitives; +using System.Windows.Controls.Ribbon; +using System.Windows.Data; +using System.Windows.Documents; +using System.Windows.Ink; +using System.Windows.Input; +using System.Windows.Markup; +using System.Windows.Media; +using System.Windows.Media.Animation; +using System.Windows.Media.Effects; +using System.Windows.Media.Imaging; +using System.Windows.Media.Media3D; +using System.Windows.Media.TextFormatting; +using System.Windows.Navigation; +using System.Windows.Shapes; +using System.Windows.Shell; + + +namespace leak_test_project.Views { + + + /// + /// ParametersWindow + /// + public partial class ParametersWindow : System.Windows.Window, System.Windows.Markup.IComponentConnector { + + + #line 79 "..\..\..\..\Views\ParametersWindow.xaml" + [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")] + internal System.Windows.Controls.TextBox editSpecUL; + + #line default + #line hidden + + + #line 89 "..\..\..\..\Views\ParametersWindow.xaml" + [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")] + internal System.Windows.Controls.TextBox editSpecLL; + + #line default + #line hidden + + + #line 99 "..\..\..\..\Views\ParametersWindow.xaml" + [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")] + internal System.Windows.Controls.Button btnSave; + + #line default + #line hidden + + + #line 100 "..\..\..\..\Views\ParametersWindow.xaml" + [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")] + internal System.Windows.Controls.Button btnClose; + + #line default + #line hidden + + private bool _contentLoaded; + + /// + /// InitializeComponent + /// + [System.Diagnostics.DebuggerNonUserCodeAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "10.0.9.0")] + public void InitializeComponent() { + if (_contentLoaded) { + return; + } + _contentLoaded = true; + System.Uri resourceLocater = new System.Uri("/leak_test_project;component/views/parameterswindow.xaml", System.UriKind.Relative); + + #line 1 "..\..\..\..\Views\ParametersWindow.xaml" + System.Windows.Application.LoadComponent(this, resourceLocater); + + #line default + #line hidden + } + + [System.Diagnostics.DebuggerNonUserCodeAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "10.0.9.0")] + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] + [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes")] + [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Maintainability", "CA1502:AvoidExcessiveComplexity")] + [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1800:DoNotCastUnnecessarily")] + void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { + switch (connectionId) + { + case 1: + this.editSpecUL = ((System.Windows.Controls.TextBox)(target)); + return; + case 2: + this.editSpecLL = ((System.Windows.Controls.TextBox)(target)); + return; + case 3: + this.btnSave = ((System.Windows.Controls.Button)(target)); + + #line 99 "..\..\..\..\Views\ParametersWindow.xaml" + this.btnSave.Click += new System.Windows.RoutedEventHandler(this.BtnSave_Click); + + #line default + #line hidden + return; + case 4: + this.btnClose = ((System.Windows.Controls.Button)(target)); + + #line 100 "..\..\..\..\Views\ParametersWindow.xaml" + this.btnClose.Click += new System.Windows.RoutedEventHandler(this.BtnClose_Click); + + #line default + #line hidden + return; + } + this._contentLoaded = true; + } + } +} + diff --git a/leak_test_project/obj/Release/net9.0-windows/Views/StartupLoginWindow.baml b/leak_test_project/obj/Release/net9.0-windows/Views/StartupLoginWindow.baml new file mode 100644 index 0000000..6d97241 Binary files /dev/null and b/leak_test_project/obj/Release/net9.0-windows/Views/StartupLoginWindow.baml differ diff --git a/leak_test_project/obj/Release/net9.0-windows/Views/StartupLoginWindow.g.cs b/leak_test_project/obj/Release/net9.0-windows/Views/StartupLoginWindow.g.cs new file mode 100644 index 0000000..d098251 --- /dev/null +++ b/leak_test_project/obj/Release/net9.0-windows/Views/StartupLoginWindow.g.cs @@ -0,0 +1,194 @@ +#pragma checksum "..\..\..\..\Views\StartupLoginWindow.xaml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "38BA453D3B8549B5F4AB3478FDCC19CD769530B5" +//------------------------------------------------------------------------------ +// +// 이 코드는 도구를 사용하여 생성되었습니다. +// 런타임 버전:4.0.30319.42000 +// +// 파일 내용을 변경하면 잘못된 동작이 발생할 수 있으며, 코드를 다시 생성하면 +// 이러한 변경 내용이 손실됩니다. +// +//------------------------------------------------------------------------------ + +using System; +using System.Diagnostics; +using System.Windows; +using System.Windows.Automation; +using System.Windows.Controls; +using System.Windows.Controls.Primitives; +using System.Windows.Controls.Ribbon; +using System.Windows.Data; +using System.Windows.Documents; +using System.Windows.Ink; +using System.Windows.Input; +using System.Windows.Markup; +using System.Windows.Media; +using System.Windows.Media.Animation; +using System.Windows.Media.Effects; +using System.Windows.Media.Imaging; +using System.Windows.Media.Media3D; +using System.Windows.Media.TextFormatting; +using System.Windows.Navigation; +using System.Windows.Shapes; +using System.Windows.Shell; + + +namespace Housing.Login { + + + /// + /// StartupLoginWindow + /// + public partial class StartupLoginWindow : System.Windows.Window, System.Windows.Markup.IComponentConnector { + + + #line 398 "..\..\..\..\Views\StartupLoginWindow.xaml" + [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")] + internal System.Windows.Controls.TextBox MakerTextBox; + + #line default + #line hidden + + + #line 415 "..\..\..\..\Views\StartupLoginWindow.xaml" + [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")] + internal System.Windows.Controls.TextBox ModelTextBox; + + #line default + #line hidden + + + #line 432 "..\..\..\..\Views\StartupLoginWindow.xaml" + [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")] + internal System.Windows.Controls.TextBox Variant1TextBox; + + #line default + #line hidden + + + #line 449 "..\..\..\..\Views\StartupLoginWindow.xaml" + [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")] + internal System.Windows.Controls.TextBox Variant2TextBox; + + #line default + #line hidden + + + #line 477 "..\..\..\..\Views\StartupLoginWindow.xaml" + [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")] + internal System.Windows.Controls.TextBox OperatorTextBox; + + #line default + #line hidden + + + #line 493 "..\..\..\..\Views\StartupLoginWindow.xaml" + [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")] + internal System.Windows.Controls.PasswordBox PasswordBox; + + #line default + #line hidden + + + #line 523 "..\..\..\..\Views\StartupLoginWindow.xaml" + [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")] + internal System.Windows.Controls.TextBox LineNoTextBox; + + #line default + #line hidden + + + #line 539 "..\..\..\..\Views\StartupLoginWindow.xaml" + [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")] + internal System.Windows.Controls.TextBox LotNoTextBox; + + #line default + #line hidden + + + #line 555 "..\..\..\..\Views\StartupLoginWindow.xaml" + [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")] + internal System.Windows.Controls.TextBox JigNoTextBox; + + #line default + #line hidden + + + #line 562 "..\..\..\..\Views\StartupLoginWindow.xaml" + [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")] + internal System.Windows.Controls.Button LoginButton; + + #line default + #line hidden + + private bool _contentLoaded; + + /// + /// InitializeComponent + /// + [System.Diagnostics.DebuggerNonUserCodeAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "10.0.9.0")] + public void InitializeComponent() { + if (_contentLoaded) { + return; + } + _contentLoaded = true; + System.Uri resourceLocater = new System.Uri("/leak_test_project;component/views/startuploginwindow.xaml", System.UriKind.Relative); + + #line 1 "..\..\..\..\Views\StartupLoginWindow.xaml" + System.Windows.Application.LoadComponent(this, resourceLocater); + + #line default + #line hidden + } + + [System.Diagnostics.DebuggerNonUserCodeAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "10.0.9.0")] + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] + [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes")] + [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Maintainability", "CA1502:AvoidExcessiveComplexity")] + [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1800:DoNotCastUnnecessarily")] + void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { + switch (connectionId) + { + case 1: + this.MakerTextBox = ((System.Windows.Controls.TextBox)(target)); + return; + case 2: + this.ModelTextBox = ((System.Windows.Controls.TextBox)(target)); + return; + case 3: + this.Variant1TextBox = ((System.Windows.Controls.TextBox)(target)); + return; + case 4: + this.Variant2TextBox = ((System.Windows.Controls.TextBox)(target)); + return; + case 5: + this.OperatorTextBox = ((System.Windows.Controls.TextBox)(target)); + return; + case 6: + this.PasswordBox = ((System.Windows.Controls.PasswordBox)(target)); + return; + case 7: + this.LineNoTextBox = ((System.Windows.Controls.TextBox)(target)); + return; + case 8: + this.LotNoTextBox = ((System.Windows.Controls.TextBox)(target)); + return; + case 9: + this.JigNoTextBox = ((System.Windows.Controls.TextBox)(target)); + return; + case 10: + this.LoginButton = ((System.Windows.Controls.Button)(target)); + + #line 566 "..\..\..\..\Views\StartupLoginWindow.xaml" + this.LoginButton.Click += new System.Windows.RoutedEventHandler(this.LogInButton_Click); + + #line default + #line hidden + return; + } + this._contentLoaded = true; + } + } +} + diff --git a/leak_test_project/obj/Release/Views/StartupLoginWindow.g.i.cs b/leak_test_project/obj/Release/net9.0-windows/Views/StartupLoginWindow.g.i.cs similarity index 87% rename from leak_test_project/obj/Release/Views/StartupLoginWindow.g.i.cs rename to leak_test_project/obj/Release/net9.0-windows/Views/StartupLoginWindow.g.i.cs index 7399558..d098251 100644 --- a/leak_test_project/obj/Release/Views/StartupLoginWindow.g.i.cs +++ b/leak_test_project/obj/Release/net9.0-windows/Views/StartupLoginWindow.g.i.cs @@ -1,4 +1,4 @@ -#pragma checksum "..\..\..\Views\StartupLoginWindow.xaml" "{8829d00f-11b8-4213-878b-770e8597ac16}" "E10917AAAC5C59A6940A4937C1165BBFED3D9CE02854042592965F3FCDF2EE1F" +#pragma checksum "..\..\..\..\Views\StartupLoginWindow.xaml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "38BA453D3B8549B5F4AB3478FDCC19CD769530B5" //------------------------------------------------------------------------------ // // 이 코드는 도구를 사용하여 생성되었습니다. @@ -15,6 +15,7 @@ using System.Windows; using System.Windows.Automation; using System.Windows.Controls; using System.Windows.Controls.Primitives; +using System.Windows.Controls.Ribbon; using System.Windows.Data; using System.Windows.Documents; using System.Windows.Ink; @@ -40,7 +41,7 @@ namespace Housing.Login { public partial class StartupLoginWindow : System.Windows.Window, System.Windows.Markup.IComponentConnector { - #line 398 "..\..\..\Views\StartupLoginWindow.xaml" + #line 398 "..\..\..\..\Views\StartupLoginWindow.xaml" [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")] internal System.Windows.Controls.TextBox MakerTextBox; @@ -48,7 +49,7 @@ namespace Housing.Login { #line hidden - #line 415 "..\..\..\Views\StartupLoginWindow.xaml" + #line 415 "..\..\..\..\Views\StartupLoginWindow.xaml" [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")] internal System.Windows.Controls.TextBox ModelTextBox; @@ -56,7 +57,7 @@ namespace Housing.Login { #line hidden - #line 432 "..\..\..\Views\StartupLoginWindow.xaml" + #line 432 "..\..\..\..\Views\StartupLoginWindow.xaml" [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")] internal System.Windows.Controls.TextBox Variant1TextBox; @@ -64,7 +65,7 @@ namespace Housing.Login { #line hidden - #line 449 "..\..\..\Views\StartupLoginWindow.xaml" + #line 449 "..\..\..\..\Views\StartupLoginWindow.xaml" [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")] internal System.Windows.Controls.TextBox Variant2TextBox; @@ -72,7 +73,7 @@ namespace Housing.Login { #line hidden - #line 477 "..\..\..\Views\StartupLoginWindow.xaml" + #line 477 "..\..\..\..\Views\StartupLoginWindow.xaml" [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")] internal System.Windows.Controls.TextBox OperatorTextBox; @@ -80,7 +81,7 @@ namespace Housing.Login { #line hidden - #line 493 "..\..\..\Views\StartupLoginWindow.xaml" + #line 493 "..\..\..\..\Views\StartupLoginWindow.xaml" [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")] internal System.Windows.Controls.PasswordBox PasswordBox; @@ -88,7 +89,7 @@ namespace Housing.Login { #line hidden - #line 523 "..\..\..\Views\StartupLoginWindow.xaml" + #line 523 "..\..\..\..\Views\StartupLoginWindow.xaml" [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")] internal System.Windows.Controls.TextBox LineNoTextBox; @@ -96,7 +97,7 @@ namespace Housing.Login { #line hidden - #line 539 "..\..\..\Views\StartupLoginWindow.xaml" + #line 539 "..\..\..\..\Views\StartupLoginWindow.xaml" [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")] internal System.Windows.Controls.TextBox LotNoTextBox; @@ -104,7 +105,7 @@ namespace Housing.Login { #line hidden - #line 555 "..\..\..\Views\StartupLoginWindow.xaml" + #line 555 "..\..\..\..\Views\StartupLoginWindow.xaml" [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")] internal System.Windows.Controls.TextBox JigNoTextBox; @@ -112,7 +113,7 @@ namespace Housing.Login { #line hidden - #line 562 "..\..\..\Views\StartupLoginWindow.xaml" + #line 562 "..\..\..\..\Views\StartupLoginWindow.xaml" [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")] internal System.Windows.Controls.Button LoginButton; @@ -125,7 +126,7 @@ namespace Housing.Login { /// InitializeComponent /// [System.Diagnostics.DebuggerNonUserCodeAttribute()] - [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")] + [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "10.0.9.0")] public void InitializeComponent() { if (_contentLoaded) { return; @@ -133,7 +134,7 @@ namespace Housing.Login { _contentLoaded = true; System.Uri resourceLocater = new System.Uri("/leak_test_project;component/views/startuploginwindow.xaml", System.UriKind.Relative); - #line 1 "..\..\..\Views\StartupLoginWindow.xaml" + #line 1 "..\..\..\..\Views\StartupLoginWindow.xaml" System.Windows.Application.LoadComponent(this, resourceLocater); #line default @@ -141,7 +142,7 @@ namespace Housing.Login { } [System.Diagnostics.DebuggerNonUserCodeAttribute()] - [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")] + [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "10.0.9.0")] [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes")] [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Maintainability", "CA1502:AvoidExcessiveComplexity")] @@ -179,7 +180,7 @@ namespace Housing.Login { case 10: this.LoginButton = ((System.Windows.Controls.Button)(target)); - #line 566 "..\..\..\Views\StartupLoginWindow.xaml" + #line 566 "..\..\..\..\Views\StartupLoginWindow.xaml" this.LoginButton.Click += new System.Windows.RoutedEventHandler(this.LogInButton_Click); #line default diff --git a/leak_test_project/obj/Release/net9.0-windows/apphost.exe b/leak_test_project/obj/Release/net9.0-windows/apphost.exe new file mode 100644 index 0000000..264728c Binary files /dev/null and b/leak_test_project/obj/Release/net9.0-windows/apphost.exe differ diff --git a/leak_test_project/obj/Release/net9.0-windows/leak_tes.3FCAB636.Up2Date b/leak_test_project/obj/Release/net9.0-windows/leak_tes.3FCAB636.Up2Date new file mode 100644 index 0000000..e69de29 diff --git a/leak_test_project/obj/Release/net9.0-windows/leak_test_project.GeneratedMSBuildEditorConfig.editorconfig b/leak_test_project/obj/Release/net9.0-windows/leak_test_project.GeneratedMSBuildEditorConfig.editorconfig new file mode 100644 index 0000000..4b6be98 --- /dev/null +++ b/leak_test_project/obj/Release/net9.0-windows/leak_test_project.GeneratedMSBuildEditorConfig.editorconfig @@ -0,0 +1,19 @@ +is_global = true +build_property.TargetFramework = net9.0-windows +build_property.TargetFrameworkIdentifier = .NETCoreApp +build_property.TargetFrameworkVersion = v9.0 +build_property.TargetPlatformMinVersion = 7.0 +build_property.UsingMicrosoftNETSdkWeb = +build_property.ProjectTypeGuids = +build_property.InvariantGlobalization = +build_property.PlatformNeutralAssembly = +build_property.EnforceExtendedAnalyzerRules = +build_property.EntryPointFilePath = +build_property._SupportedPlatformList = Linux,macOS,Windows +build_property.RootNamespace = leak_test_project +build_property.ProjectDir = C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\ +build_property.EnableComHosting = +build_property.EnableGeneratedComInterfaceComImportInterop = +build_property.CsWinRTUseWindowsUIXamlProjections = false +build_property.EffectiveAnalysisLevelStyle = 9.0 +build_property.EnableCodeStyleSeverity = diff --git a/leak_test_project/obj/Release/net9.0-windows/leak_test_project.GlobalUsings.g.cs b/leak_test_project/obj/Release/net9.0-windows/leak_test_project.GlobalUsings.g.cs new file mode 100644 index 0000000..e6eff56 --- /dev/null +++ b/leak_test_project/obj/Release/net9.0-windows/leak_test_project.GlobalUsings.g.cs @@ -0,0 +1,6 @@ +// +global using System; +global using System.Collections.Generic; +global using System.Linq; +global using System.Threading; +global using System.Threading.Tasks; diff --git a/leak_test_project/obj/Debug/leak_test_project.Properties.Resources.resources b/leak_test_project/obj/Release/net9.0-windows/leak_test_project.Properties.Resources.resources similarity index 100% rename from leak_test_project/obj/Debug/leak_test_project.Properties.Resources.resources rename to leak_test_project/obj/Release/net9.0-windows/leak_test_project.Properties.Resources.resources diff --git a/leak_test_project/obj/Release/net9.0-windows/leak_test_project.assets.cache b/leak_test_project/obj/Release/net9.0-windows/leak_test_project.assets.cache new file mode 100644 index 0000000..16f8d77 Binary files /dev/null and b/leak_test_project/obj/Release/net9.0-windows/leak_test_project.assets.cache differ diff --git a/leak_test_project/obj/Release/net9.0-windows/leak_test_project.csproj.AssemblyReference.cache b/leak_test_project/obj/Release/net9.0-windows/leak_test_project.csproj.AssemblyReference.cache new file mode 100644 index 0000000..dd6c00f Binary files /dev/null and b/leak_test_project/obj/Release/net9.0-windows/leak_test_project.csproj.AssemblyReference.cache differ diff --git a/leak_test_project/obj/Release/net9.0-windows/leak_test_project.csproj.BuildWithSkipAnalyzers b/leak_test_project/obj/Release/net9.0-windows/leak_test_project.csproj.BuildWithSkipAnalyzers new file mode 100644 index 0000000..e69de29 diff --git a/leak_test_project/obj/Release/net9.0-windows/leak_test_project.csproj.CoreCompileInputs.cache b/leak_test_project/obj/Release/net9.0-windows/leak_test_project.csproj.CoreCompileInputs.cache new file mode 100644 index 0000000..d460d31 --- /dev/null +++ b/leak_test_project/obj/Release/net9.0-windows/leak_test_project.csproj.CoreCompileInputs.cache @@ -0,0 +1 @@ +53c0af0cb1c25a56d6b5cb1908d6bc15fee3143ae150995e0db5e32862a69b43 diff --git a/leak_test_project/obj/Release/net9.0-windows/leak_test_project.csproj.FileListAbsolute.txt b/leak_test_project/obj/Release/net9.0-windows/leak_test_project.csproj.FileListAbsolute.txt new file mode 100644 index 0000000..6e33a99 --- /dev/null +++ b/leak_test_project/obj/Release/net9.0-windows/leak_test_project.csproj.FileListAbsolute.txt @@ -0,0 +1,63 @@ +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\Database.ini +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\PCI-Dask.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\leak_test_project.exe +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\leak_test_project.dll.config +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\leak_test_project.deps.json +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\leak_test_project.runtimeconfig.json +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\leak_test_project.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\leak_test_project.pdb +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\Microsoft.VisualStudio.Setup.Configuration.Interop.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\System.Data.SqlClient.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\System.IO.Ports.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\runtimes\android-arm\native\libSystem.IO.Ports.Native.so +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\runtimes\android-arm64\native\libSystem.IO.Ports.Native.so +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\runtimes\android-x64\native\libSystem.IO.Ports.Native.so +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\runtimes\android-x86\native\libSystem.IO.Ports.Native.so +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\runtimes\linux-arm\native\libSystem.IO.Ports.Native.so +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\runtimes\linux-arm64\native\libSystem.IO.Ports.Native.so +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\runtimes\linux-bionic-arm64\native\libSystem.IO.Ports.Native.so +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\runtimes\linux-bionic-x64\native\libSystem.IO.Ports.Native.so +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\runtimes\linux-musl-arm\native\libSystem.IO.Ports.Native.so +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\runtimes\linux-musl-arm64\native\libSystem.IO.Ports.Native.so +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\runtimes\linux-musl-x64\native\libSystem.IO.Ports.Native.so +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\runtimes\linux-x64\native\libSystem.IO.Ports.Native.so +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\runtimes\maccatalyst-arm64\native\libSystem.IO.Ports.Native.dylib +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\runtimes\maccatalyst-x64\native\libSystem.IO.Ports.Native.dylib +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\runtimes\osx-arm64\native\libSystem.IO.Ports.Native.dylib +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\runtimes\osx-x64\native\libSystem.IO.Ports.Native.dylib +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\runtimes\win-arm64\native\sni.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\runtimes\win-x64\native\sni.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\runtimes\win-x86\native\sni.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\runtimes\unix\lib\net8.0\System.Data.SqlClient.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\runtimes\win\lib\net8.0\System.Data.SqlClient.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\runtimes\unix\lib\net9.0\System.IO.Ports.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\runtimes\win\lib\net9.0\System.IO.Ports.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\obj\Release\net9.0-windows\leak_test_project.csproj.AssemblyReference.cache +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\obj\Release\net9.0-windows\Views\CommunicationWindow.baml +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\obj\Release\net9.0-windows\Views\DataView.baml +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\obj\Release\net9.0-windows\Views\ParametersWindow.baml +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\obj\Release\net9.0-windows\Views\StartupLoginWindow.baml +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\obj\Release\net9.0-windows\MainWindow.g.cs +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\obj\Release\net9.0-windows\Views\CommunicationWindow.g.cs +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\obj\Release\net9.0-windows\Views\DataView.g.cs +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\obj\Release\net9.0-windows\Views\HomeView.g.cs +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\obj\Release\net9.0-windows\Views\ParametersWindow.g.cs +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\obj\Release\net9.0-windows\Views\StartupLoginWindow.g.cs +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\obj\Release\net9.0-windows\App.g.cs +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\obj\Release\net9.0-windows\GeneratedInternalTypeHelper.g.cs +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\obj\Release\net9.0-windows\leak_test_project_MarkupCompile.cache +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\obj\Release\net9.0-windows\leak_test_project_MarkupCompile.lref +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\obj\Release\net9.0-windows\App.baml +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\obj\Release\net9.0-windows\MainWindow.baml +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\obj\Release\net9.0-windows\Views\HomeView.baml +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\obj\Release\net9.0-windows\leak_test_project.g.resources +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\obj\Release\net9.0-windows\leak_test_project.Properties.Resources.resources +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\obj\Release\net9.0-windows\leak_test_project.csproj.GenerateResource.cache +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\obj\Release\net9.0-windows\leak_test_project.GeneratedMSBuildEditorConfig.editorconfig +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\obj\Release\net9.0-windows\leak_test_project.csproj.CoreCompileInputs.cache +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\obj\Release\net9.0-windows\leak_tes.3FCAB636.Up2Date +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\obj\Release\net9.0-windows\leak_test_project.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\obj\Release\net9.0-windows\refint\leak_test_project.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\obj\Release\net9.0-windows\leak_test_project.pdb +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\obj\Release\net9.0-windows\leak_test_project.genruntimeconfig.cache +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\obj\Release\net9.0-windows\ref\leak_test_project.dll diff --git a/leak_test_project/obj/Debug/leak_test_project.csproj.GenerateResource.cache b/leak_test_project/obj/Release/net9.0-windows/leak_test_project.csproj.GenerateResource.cache similarity index 100% rename from leak_test_project/obj/Debug/leak_test_project.csproj.GenerateResource.cache rename to leak_test_project/obj/Release/net9.0-windows/leak_test_project.csproj.GenerateResource.cache diff --git a/leak_test_project/obj/Release/net9.0-windows/leak_test_project.designer.deps.json b/leak_test_project/obj/Release/net9.0-windows/leak_test_project.designer.deps.json new file mode 100644 index 0000000..6940483 --- /dev/null +++ b/leak_test_project/obj/Release/net9.0-windows/leak_test_project.designer.deps.json @@ -0,0 +1,437 @@ +{ + "runtimeTarget": { + "name": ".NETCoreApp,Version=v9.0", + "signature": "" + }, + "compilationOptions": {}, + "targets": { + ".NETCoreApp,Version=v9.0": { + "Microsoft.VisualStudio.Setup.Configuration.Interop/3.14.2075": { + "runtime": { + "lib/netstandard2.1/Microsoft.VisualStudio.Setup.Configuration.Interop.dll": { + "assemblyVersion": "1.0.0.0", + "fileVersion": "3.14.2075.50697" + } + } + }, + "runtime.android-arm.runtime.native.System.IO.Ports/9.0.0": { + "runtimeTargets": { + "runtimes/android-arm/native/libSystem.IO.Ports.Native.so": { + "rid": "android-arm", + "assetType": "native", + "fileVersion": "0.0.0.0" + } + } + }, + "runtime.android-arm64.runtime.native.System.IO.Ports/9.0.0": { + "runtimeTargets": { + "runtimes/android-arm64/native/libSystem.IO.Ports.Native.so": { + "rid": "android-arm64", + "assetType": "native", + "fileVersion": "0.0.0.0" + } + } + }, + "runtime.android-x64.runtime.native.System.IO.Ports/9.0.0": { + "runtimeTargets": { + "runtimes/android-x64/native/libSystem.IO.Ports.Native.so": { + "rid": "android-x64", + "assetType": "native", + "fileVersion": "0.0.0.0" + } + } + }, + "runtime.android-x86.runtime.native.System.IO.Ports/9.0.0": { + "runtimeTargets": { + "runtimes/android-x86/native/libSystem.IO.Ports.Native.so": { + "rid": "android-x86", + "assetType": "native", + "fileVersion": "0.0.0.0" + } + } + }, + "runtime.linux-arm.runtime.native.System.IO.Ports/9.0.0": { + "runtimeTargets": { + "runtimes/linux-arm/native/libSystem.IO.Ports.Native.so": { + "rid": "linux-arm", + "assetType": "native", + "fileVersion": "0.0.0.0" + } + } + }, + "runtime.linux-arm64.runtime.native.System.IO.Ports/9.0.0": { + "runtimeTargets": { + "runtimes/linux-arm64/native/libSystem.IO.Ports.Native.so": { + "rid": "linux-arm64", + "assetType": "native", + "fileVersion": "0.0.0.0" + } + } + }, + "runtime.linux-bionic-arm64.runtime.native.System.IO.Ports/9.0.0": { + "runtimeTargets": { + "runtimes/linux-bionic-arm64/native/libSystem.IO.Ports.Native.so": { + "rid": "linux-bionic-arm64", + "assetType": "native", + "fileVersion": "0.0.0.0" + } + } + }, + "runtime.linux-bionic-x64.runtime.native.System.IO.Ports/9.0.0": { + "runtimeTargets": { + "runtimes/linux-bionic-x64/native/libSystem.IO.Ports.Native.so": { + "rid": "linux-bionic-x64", + "assetType": "native", + "fileVersion": "0.0.0.0" + } + } + }, + "runtime.linux-musl-arm.runtime.native.System.IO.Ports/9.0.0": { + "runtimeTargets": { + "runtimes/linux-musl-arm/native/libSystem.IO.Ports.Native.so": { + "rid": "linux-musl-arm", + "assetType": "native", + "fileVersion": "0.0.0.0" + } + } + }, + "runtime.linux-musl-arm64.runtime.native.System.IO.Ports/9.0.0": { + "runtimeTargets": { + "runtimes/linux-musl-arm64/native/libSystem.IO.Ports.Native.so": { + "rid": "linux-musl-arm64", + "assetType": "native", + "fileVersion": "0.0.0.0" + } + } + }, + "runtime.linux-musl-x64.runtime.native.System.IO.Ports/9.0.0": { + "runtimeTargets": { + "runtimes/linux-musl-x64/native/libSystem.IO.Ports.Native.so": { + "rid": "linux-musl-x64", + "assetType": "native", + "fileVersion": "0.0.0.0" + } + } + }, + "runtime.linux-x64.runtime.native.System.IO.Ports/9.0.0": { + "runtimeTargets": { + "runtimes/linux-x64/native/libSystem.IO.Ports.Native.so": { + "rid": "linux-x64", + "assetType": "native", + "fileVersion": "0.0.0.0" + } + } + }, + "runtime.maccatalyst-arm64.runtime.native.System.IO.Ports/9.0.0": { + "runtimeTargets": { + "runtimes/maccatalyst-arm64/native/libSystem.IO.Ports.Native.dylib": { + "rid": "maccatalyst-arm64", + "assetType": "native", + "fileVersion": "0.0.0.0" + } + } + }, + "runtime.maccatalyst-x64.runtime.native.System.IO.Ports/9.0.0": { + "runtimeTargets": { + "runtimes/maccatalyst-x64/native/libSystem.IO.Ports.Native.dylib": { + "rid": "maccatalyst-x64", + "assetType": "native", + "fileVersion": "0.0.0.0" + } + } + }, + "runtime.native.System.Data.SqlClient.sni/4.4.0": { + "dependencies": { + "runtime.win-arm64.runtime.native.System.Data.SqlClient.sni": "4.4.0", + "runtime.win-x64.runtime.native.System.Data.SqlClient.sni": "4.4.0", + "runtime.win-x86.runtime.native.System.Data.SqlClient.sni": "4.4.0" + } + }, + "runtime.native.System.IO.Ports/9.0.0": { + "dependencies": { + "runtime.android-arm.runtime.native.System.IO.Ports": "9.0.0", + "runtime.android-arm64.runtime.native.System.IO.Ports": "9.0.0", + "runtime.android-x64.runtime.native.System.IO.Ports": "9.0.0", + "runtime.android-x86.runtime.native.System.IO.Ports": "9.0.0", + "runtime.linux-arm.runtime.native.System.IO.Ports": "9.0.0", + "runtime.linux-arm64.runtime.native.System.IO.Ports": "9.0.0", + "runtime.linux-bionic-arm64.runtime.native.System.IO.Ports": "9.0.0", + "runtime.linux-bionic-x64.runtime.native.System.IO.Ports": "9.0.0", + "runtime.linux-musl-arm.runtime.native.System.IO.Ports": "9.0.0", + "runtime.linux-musl-arm64.runtime.native.System.IO.Ports": "9.0.0", + "runtime.linux-musl-x64.runtime.native.System.IO.Ports": "9.0.0", + "runtime.linux-x64.runtime.native.System.IO.Ports": "9.0.0", + "runtime.maccatalyst-arm64.runtime.native.System.IO.Ports": "9.0.0", + "runtime.maccatalyst-x64.runtime.native.System.IO.Ports": "9.0.0", + "runtime.osx-arm64.runtime.native.System.IO.Ports": "9.0.0", + "runtime.osx-x64.runtime.native.System.IO.Ports": "9.0.0" + } + }, + "runtime.osx-arm64.runtime.native.System.IO.Ports/9.0.0": { + "runtimeTargets": { + "runtimes/osx-arm64/native/libSystem.IO.Ports.Native.dylib": { + "rid": "osx-arm64", + "assetType": "native", + "fileVersion": "0.0.0.0" + } + } + }, + "runtime.osx-x64.runtime.native.System.IO.Ports/9.0.0": { + "runtimeTargets": { + "runtimes/osx-x64/native/libSystem.IO.Ports.Native.dylib": { + "rid": "osx-x64", + "assetType": "native", + "fileVersion": "0.0.0.0" + } + } + }, + "runtime.win-arm64.runtime.native.System.Data.SqlClient.sni/4.4.0": { + "runtimeTargets": { + "runtimes/win-arm64/native/sni.dll": { + "rid": "win-arm64", + "assetType": "native", + "fileVersion": "4.6.25512.1" + } + } + }, + "runtime.win-x64.runtime.native.System.Data.SqlClient.sni/4.4.0": { + "runtimeTargets": { + "runtimes/win-x64/native/sni.dll": { + "rid": "win-x64", + "assetType": "native", + "fileVersion": "4.6.25512.1" + } + } + }, + "runtime.win-x86.runtime.native.System.Data.SqlClient.sni/4.4.0": { + "runtimeTargets": { + "runtimes/win-x86/native/sni.dll": { + "rid": "win-x86", + "assetType": "native", + "fileVersion": "4.6.25512.1" + } + } + }, + "System.Data.SqlClient/4.9.0": { + "dependencies": { + "runtime.native.System.Data.SqlClient.sni": "4.4.0" + }, + "runtime": { + "lib/net8.0/System.Data.SqlClient.dll": { + "assemblyVersion": "4.6.1.6", + "fileVersion": "4.900.24.56208" + } + }, + "runtimeTargets": { + "runtimes/unix/lib/net8.0/System.Data.SqlClient.dll": { + "rid": "unix", + "assetType": "runtime", + "assemblyVersion": "4.6.1.6", + "fileVersion": "4.900.24.56208" + }, + "runtimes/win/lib/net8.0/System.Data.SqlClient.dll": { + "rid": "win", + "assetType": "runtime", + "assemblyVersion": "4.6.1.6", + "fileVersion": "4.900.24.56208" + } + } + }, + "System.IO.Ports/9.0.0": { + "dependencies": { + "runtime.native.System.IO.Ports": "9.0.0" + }, + "runtime": { + "lib/net9.0/System.IO.Ports.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.24.52809" + } + }, + "runtimeTargets": { + "runtimes/unix/lib/net9.0/System.IO.Ports.dll": { + "rid": "unix", + "assetType": "runtime", + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.24.52809" + }, + "runtimes/win/lib/net9.0/System.IO.Ports.dll": { + "rid": "win", + "assetType": "runtime", + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.24.52809" + } + } + } + } + }, + "libraries": { + "Microsoft.VisualStudio.Setup.Configuration.Interop/3.14.2075": { + "type": "package", + "serviceable": true, + "sha512": "sha512-SH4pYl7XBUjL6sRAk+l2jsK7B9VbiKPEKkzJdmNxgexeHpAP7T+VlZk0w3NHgPG1UGQ3fxnhc427cM2o9GUYYA==", + "path": "microsoft.visualstudio.setup.configuration.interop/3.14.2075", + "hashPath": "microsoft.visualstudio.setup.configuration.interop.3.14.2075.nupkg.sha512" + }, + "runtime.android-arm.runtime.native.System.IO.Ports/9.0.0": { + "type": "package", + "serviceable": true, + "sha512": "sha512-zF8HT4aoFZkWF4OxhFLxUNEfoIjyILg0aQhgIR3m+dbLE4yadMd7kdctMvPhYYaVpnilmBCIjiQsrxH4UC/JxQ==", + "path": "runtime.android-arm.runtime.native.system.io.ports/9.0.0", + "hashPath": "runtime.android-arm.runtime.native.system.io.ports.9.0.0.nupkg.sha512" + }, + "runtime.android-arm64.runtime.native.System.IO.Ports/9.0.0": { + "type": "package", + "serviceable": true, + "sha512": "sha512-JVRoxUTXhyFfDak3GLbZh9oPjz+eVJwiZQWOU/TQ1Nj7us11GMc97IBsRzjGDtGJvFOWhGhEkka8SYmVcwpA2A==", + "path": "runtime.android-arm64.runtime.native.system.io.ports/9.0.0", + "hashPath": "runtime.android-arm64.runtime.native.system.io.ports.9.0.0.nupkg.sha512" + }, + "runtime.android-x64.runtime.native.System.IO.Ports/9.0.0": { + "type": "package", + "serviceable": true, + "sha512": "sha512-QMWQv8nptbkzEDPUOmVwo3l/ve1pgApqv/eGY/eIJoNCGxUP6MYUu/GHdznRaBlSkuRyhFN8osVyqZMFKlBA7g==", + "path": "runtime.android-x64.runtime.native.system.io.ports/9.0.0", + "hashPath": "runtime.android-x64.runtime.native.system.io.ports.9.0.0.nupkg.sha512" + }, + "runtime.android-x86.runtime.native.System.IO.Ports/9.0.0": { + "type": "package", + "serviceable": true, + "sha512": "sha512-NRuTmUukSfpbv1wdJJXvWE/v1+aRHw5OxEODGeyKuFGy09uZIfFsdU1SPXB1cGPHsUaZRhZfOVel30zEgRQiUw==", + "path": "runtime.android-x86.runtime.native.system.io.ports/9.0.0", + "hashPath": "runtime.android-x86.runtime.native.system.io.ports.9.0.0.nupkg.sha512" + }, + "runtime.linux-arm.runtime.native.System.IO.Ports/9.0.0": { + "type": "package", + "serviceable": true, + "sha512": "sha512-l5/3/3LfkemzovK66DrxsbGXRXIgmHaqYaYdhFR09lawWbPHhq4HJ0u2FzO+/neidm8bJtJAV6+iixMDuYIBgg==", + "path": "runtime.linux-arm.runtime.native.system.io.ports/9.0.0", + "hashPath": "runtime.linux-arm.runtime.native.system.io.ports.9.0.0.nupkg.sha512" + }, + "runtime.linux-arm64.runtime.native.System.IO.Ports/9.0.0": { + "type": "package", + "serviceable": true, + "sha512": "sha512-q69FDpp5XSq3lJUMyMpUXBXTh6ekNM1NCnM5aYYiIx4AY1cH/rgLSwR4n2wQJqC6yuL0Z/epSf3KoYLYT8++Yg==", + "path": "runtime.linux-arm64.runtime.native.system.io.ports/9.0.0", + "hashPath": "runtime.linux-arm64.runtime.native.system.io.ports.9.0.0.nupkg.sha512" + }, + "runtime.linux-bionic-arm64.runtime.native.System.IO.Ports/9.0.0": { + "type": "package", + "serviceable": true, + "sha512": "sha512-kAOBq4UnR0B2UirRxLsPx4BIzt61Ydw40FFCe9NcFSncV6q+ikuhgN6eOrcaOcSu5QUiXacQRgFUX1Pux6ckYg==", + "path": "runtime.linux-bionic-arm64.runtime.native.system.io.ports/9.0.0", + "hashPath": "runtime.linux-bionic-arm64.runtime.native.system.io.ports.9.0.0.nupkg.sha512" + }, + "runtime.linux-bionic-x64.runtime.native.System.IO.Ports/9.0.0": { + "type": "package", + "serviceable": true, + "sha512": "sha512-yCpRhte4+7C6ULKGA4qLaXGjQJwoygqyzgUN9u2tkfyGkwBUS66SRr6nNx522+4ATI8ZFkgIIZIkTczY77rcZw==", + "path": "runtime.linux-bionic-x64.runtime.native.system.io.ports/9.0.0", + "hashPath": "runtime.linux-bionic-x64.runtime.native.system.io.ports.9.0.0.nupkg.sha512" + }, + "runtime.linux-musl-arm.runtime.native.System.IO.Ports/9.0.0": { + "type": "package", + "serviceable": true, + "sha512": "sha512-isaMOGqA4iIklwMt6wYTuPqj83D8DDUA2wainLqPjXaQ1Ri+5K8A+4J0BonjA/HMWtywBKnt2WGUXZ3DQN18ZA==", + "path": "runtime.linux-musl-arm.runtime.native.system.io.ports/9.0.0", + "hashPath": "runtime.linux-musl-arm.runtime.native.system.io.ports.9.0.0.nupkg.sha512" + }, + "runtime.linux-musl-arm64.runtime.native.System.IO.Ports/9.0.0": { + "type": "package", + "serviceable": true, + "sha512": "sha512-yWsWQTf7r1aigde6EeoHzHhldoBw6fJ8AHR2ow4kobNuaS9Z/9rvLUFsGkAAY8GMUZadF5S1OGUsIzUd17RZBg==", + "path": "runtime.linux-musl-arm64.runtime.native.system.io.ports/9.0.0", + "hashPath": "runtime.linux-musl-arm64.runtime.native.system.io.ports.9.0.0.nupkg.sha512" + }, + "runtime.linux-musl-x64.runtime.native.System.IO.Ports/9.0.0": { + "type": "package", + "serviceable": true, + "sha512": "sha512-NxST2ZRBRGBjHWUnQwOYoyqFWHH4UcjAeTyjviSTOdwjSqq1JuGdp4sLzPzGDLiu4R7Per3QQ1GxYoLgAlIbOA==", + "path": "runtime.linux-musl-x64.runtime.native.system.io.ports/9.0.0", + "hashPath": "runtime.linux-musl-x64.runtime.native.system.io.ports.9.0.0.nupkg.sha512" + }, + "runtime.linux-x64.runtime.native.System.IO.Ports/9.0.0": { + "type": "package", + "serviceable": true, + "sha512": "sha512-4bmb9oP1DIu2ArJ2MH2sNGbO5V3VrZ0+8lotr3cQ2G5hh66+0yHiYkwvlwP7gkSOsZPhANeX3cicqHYaDsroQA==", + "path": "runtime.linux-x64.runtime.native.system.io.ports/9.0.0", + "hashPath": "runtime.linux-x64.runtime.native.system.io.ports.9.0.0.nupkg.sha512" + }, + "runtime.maccatalyst-arm64.runtime.native.System.IO.Ports/9.0.0": { + "type": "package", + "serviceable": true, + "sha512": "sha512-k+VeOPbIx9A1/bmiw5pGBsuALGTA4UoC6SsGhcIMLyS6TMFgsjsOH1bAgim+/W1RdtR7dpPCWHNYhkrM8hXByA==", + "path": "runtime.maccatalyst-arm64.runtime.native.system.io.ports/9.0.0", + "hashPath": "runtime.maccatalyst-arm64.runtime.native.system.io.ports.9.0.0.nupkg.sha512" + }, + "runtime.maccatalyst-x64.runtime.native.System.IO.Ports/9.0.0": { + "type": "package", + "serviceable": true, + "sha512": "sha512-k1WC+Y7ht+7Omq5iW1v2Yz5CpaGGlLvlNsGS8cDAG0IN3sXUrPyUkC/40/zTL8g8/c3UFjrW0igXcwKNYa+ZuA==", + "path": "runtime.maccatalyst-x64.runtime.native.system.io.ports/9.0.0", + "hashPath": "runtime.maccatalyst-x64.runtime.native.system.io.ports.9.0.0.nupkg.sha512" + }, + "runtime.native.System.Data.SqlClient.sni/4.4.0": { + "type": "package", + "serviceable": true, + "sha512": "sha512-A8v6PGmk+UGbfWo5Ixup0lPM4swuSwOiayJExZwKIOjTlFFQIsu3QnDXECosBEyrWSPryxBVrdqtJyhK3BaupQ==", + "path": "runtime.native.system.data.sqlclient.sni/4.4.0", + "hashPath": "runtime.native.system.data.sqlclient.sni.4.4.0.nupkg.sha512" + }, + "runtime.native.System.IO.Ports/9.0.0": { + "type": "package", + "serviceable": true, + "sha512": "sha512-iWyR+xohLUht80x5MREqF7zYD0KqyVpoS9uTg9raG0ddx5pvJkCPC4eS2JdkRYY6AqPjfMiiOEZ02ZWHEBgOvg==", + "path": "runtime.native.system.io.ports/9.0.0", + "hashPath": "runtime.native.system.io.ports.9.0.0.nupkg.sha512" + }, + "runtime.osx-arm64.runtime.native.System.IO.Ports/9.0.0": { + "type": "package", + "serviceable": true, + "sha512": "sha512-ebr6uFzuICKkw9YePnCo7CdZFKYYhJZOJDJhACAKyzbT5WFvJWMyeACJIWS0uqndGMgWSc+D+UDdBu6CEpUOSg==", + "path": "runtime.osx-arm64.runtime.native.system.io.ports/9.0.0", + "hashPath": "runtime.osx-arm64.runtime.native.system.io.ports.9.0.0.nupkg.sha512" + }, + "runtime.osx-x64.runtime.native.System.IO.Ports/9.0.0": { + "type": "package", + "serviceable": true, + "sha512": "sha512-66DA4FKnfIdrkyd8Kqym06s+F/U5/7TZdkV1DllGivUNUGkC8TG5W/3D4rhLoGQRjg0uurkPWqrQXWfPEghRpQ==", + "path": "runtime.osx-x64.runtime.native.system.io.ports/9.0.0", + "hashPath": "runtime.osx-x64.runtime.native.system.io.ports.9.0.0.nupkg.sha512" + }, + "runtime.win-arm64.runtime.native.System.Data.SqlClient.sni/4.4.0": { + "type": "package", + "serviceable": true, + "sha512": "sha512-LbrynESTp3bm5O/+jGL8v0Qg5SJlTV08lpIpFesXjF6uGNMWqFnUQbYBJwZTeua6E/Y7FIM1C54Ey1btLWupdg==", + "path": "runtime.win-arm64.runtime.native.system.data.sqlclient.sni/4.4.0", + "hashPath": "runtime.win-arm64.runtime.native.system.data.sqlclient.sni.4.4.0.nupkg.sha512" + }, + "runtime.win-x64.runtime.native.System.Data.SqlClient.sni/4.4.0": { + "type": "package", + "serviceable": true, + "sha512": "sha512-38ugOfkYJqJoX9g6EYRlZB5U2ZJH51UP8ptxZgdpS07FgOEToV+lS11ouNK2PM12Pr6X/PpT5jK82G3DwH/SxQ==", + "path": "runtime.win-x64.runtime.native.system.data.sqlclient.sni/4.4.0", + "hashPath": "runtime.win-x64.runtime.native.system.data.sqlclient.sni.4.4.0.nupkg.sha512" + }, + "runtime.win-x86.runtime.native.System.Data.SqlClient.sni/4.4.0": { + "type": "package", + "serviceable": true, + "sha512": "sha512-YhEdSQUsTx+C8m8Bw7ar5/VesXvCFMItyZF7G1AUY+OM0VPZUOeAVpJ4Wl6fydBGUYZxojTDR3I6Bj/+BPkJNA==", + "path": "runtime.win-x86.runtime.native.system.data.sqlclient.sni/4.4.0", + "hashPath": "runtime.win-x86.runtime.native.system.data.sqlclient.sni.4.4.0.nupkg.sha512" + }, + "System.Data.SqlClient/4.9.0": { + "type": "package", + "serviceable": true, + "sha512": "sha512-j4KJO+vC62NyUtNHz854njEqXbT8OmAa5jb1nrGfYWBOcggyYUQE0w/snXeaCjdvkSKWuUD+hfvlbN8pTrJTXg==", + "path": "system.data.sqlclient/4.9.0", + "hashPath": "system.data.sqlclient.4.9.0.nupkg.sha512" + }, + "System.IO.Ports/9.0.0": { + "type": "package", + "serviceable": true, + "sha512": "sha512-NfEWew48r4MxHUnOQL7nw/5JBsz9dli8TJYpXjsAQu8tHH0QCq2ly4QMCc8wS9EAi1jvaFgq7ELdfwxvrKWALQ==", + "path": "system.io.ports/9.0.0", + "hashPath": "system.io.ports.9.0.0.nupkg.sha512" + } + } +} \ No newline at end of file diff --git a/leak_test_project/obj/Release/net9.0-windows/leak_test_project.designer.runtimeconfig.json b/leak_test_project/obj/Release/net9.0-windows/leak_test_project.designer.runtimeconfig.json new file mode 100644 index 0000000..177fb68 --- /dev/null +++ b/leak_test_project/obj/Release/net9.0-windows/leak_test_project.designer.runtimeconfig.json @@ -0,0 +1,26 @@ +{ + "runtimeOptions": { + "tfm": "net9.0", + "frameworks": [ + { + "name": "Microsoft.NETCore.App", + "version": "9.0.0" + }, + { + "name": "Microsoft.WindowsDesktop.App", + "version": "9.0.0" + } + ], + "additionalProbingPaths": [ + "C:\\Users\\COMPUTER1\\.dotnet\\store\\|arch|\\|tfm|", + "C:\\Users\\COMPUTER1\\.nuget\\packages", + "C:\\Program Files (x86)\\Microsoft Visual Studio\\Shared\\NuGetPackages" + ], + "configProperties": { + "System.Reflection.Metadata.MetadataUpdater.IsSupported": false, + "System.Runtime.Serialization.EnableUnsafeBinaryFormatterSerialization": false, + "CSWINRT_USE_WINDOWS_UI_XAML_PROJECTIONS": false, + "Microsoft.NETCore.DotNetHostPolicy.SetAppPaths": true + } + } +} \ No newline at end of file diff --git a/leak_test_project/obj/Release/net9.0-windows/leak_test_project.dll b/leak_test_project/obj/Release/net9.0-windows/leak_test_project.dll new file mode 100644 index 0000000..9eab102 Binary files /dev/null and b/leak_test_project/obj/Release/net9.0-windows/leak_test_project.dll differ diff --git a/leak_test_project/obj/Release/net9.0-windows/leak_test_project.g.resources b/leak_test_project/obj/Release/net9.0-windows/leak_test_project.g.resources new file mode 100644 index 0000000..d4eecdf Binary files /dev/null and b/leak_test_project/obj/Release/net9.0-windows/leak_test_project.g.resources differ diff --git a/leak_test_project/obj/Release/net9.0-windows/leak_test_project.genruntimeconfig.cache b/leak_test_project/obj/Release/net9.0-windows/leak_test_project.genruntimeconfig.cache new file mode 100644 index 0000000..6b71ccd --- /dev/null +++ b/leak_test_project/obj/Release/net9.0-windows/leak_test_project.genruntimeconfig.cache @@ -0,0 +1 @@ +8965f659b99db98712d5c1c5ed80dbda5cd7104901d9f08d5a57de6810bafdd9 diff --git a/leak_test_project/obj/Release/net9.0-windows/leak_test_project.pdb b/leak_test_project/obj/Release/net9.0-windows/leak_test_project.pdb new file mode 100644 index 0000000..9a7fd3d Binary files /dev/null and b/leak_test_project/obj/Release/net9.0-windows/leak_test_project.pdb differ diff --git a/leak_test_project/obj/Release/net9.0-windows/leak_test_project_MarkupCompile.cache b/leak_test_project/obj/Release/net9.0-windows/leak_test_project_MarkupCompile.cache new file mode 100644 index 0000000..1bf3338 --- /dev/null +++ b/leak_test_project/obj/Release/net9.0-windows/leak_test_project_MarkupCompile.cache @@ -0,0 +1,20 @@ +leak_test_project + + +winexe +C# +.cs +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\obj\Release\net9.0-windows\ +leak_test_project +none +false +TRACE;RELEASE;NET;NET9_0;NETCOREAPP;WINDOWS;WINDOWS7_0;NET5_0_OR_GREATER;NET6_0_OR_GREATER;NET7_0_OR_GREATER;NET8_0_OR_GREATER;NET9_0_OR_GREATER;NETCOREAPP3_0_OR_GREATER;NETCOREAPP3_1_OR_GREATER;WINDOWS7_0_OR_GREATER +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\App.xaml +62007517372 + +36150395102 +203-1172707555 +MainWindow.xaml;Views\CommunicationWindow.xaml;Views\DataView.xaml;Views\HomeView.xaml;Views\ParametersWindow.xaml;Views\StartupLoginWindow.xaml; + +False + diff --git a/leak_test_project/obj/Release/net9.0-windows/leak_test_project_MarkupCompile.i.cache b/leak_test_project/obj/Release/net9.0-windows/leak_test_project_MarkupCompile.i.cache new file mode 100644 index 0000000..918755e --- /dev/null +++ b/leak_test_project/obj/Release/net9.0-windows/leak_test_project_MarkupCompile.i.cache @@ -0,0 +1,20 @@ +leak_test_project + + +winexe +C# +.cs +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\obj\Release\net9.0-windows\ +leak_test_project +none +false +TRACE;RELEASE;NET;NET9_0;NETCOREAPP;WINDOWS;WINDOWS7_0;NET5_0_OR_GREATER;NET6_0_OR_GREATER;NET7_0_OR_GREATER;NET8_0_OR_GREATER;NET9_0_OR_GREATER;NETCOREAPP3_0_OR_GREATER;NETCOREAPP3_1_OR_GREATER;WINDOWS7_0_OR_GREATER +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\App.xaml +62007517372 + +371799870662 +203-1172707555 +MainWindow.xaml;Views\CommunicationWindow.xaml;Views\DataView.xaml;Views\HomeView.xaml;Views\ParametersWindow.xaml;Views\StartupLoginWindow.xaml; + +False + diff --git a/leak_test_project/obj/Release/net9.0-windows/leak_test_project_MarkupCompile.lref b/leak_test_project/obj/Release/net9.0-windows/leak_test_project_MarkupCompile.lref new file mode 100644 index 0000000..7979b9a --- /dev/null +++ b/leak_test_project/obj/Release/net9.0-windows/leak_test_project_MarkupCompile.lref @@ -0,0 +1,5 @@ + +FC:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\App.xaml;; +FC:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\MainWindow.xaml;; +FC:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\Views\HomeView.xaml;; + diff --git a/leak_test_project/obj/Release/net9.0-windows/leak_test_project_cqkkkj0l_wpftmp.GeneratedMSBuildEditorConfig.editorconfig b/leak_test_project/obj/Release/net9.0-windows/leak_test_project_cqkkkj0l_wpftmp.GeneratedMSBuildEditorConfig.editorconfig new file mode 100644 index 0000000..4b6be98 --- /dev/null +++ b/leak_test_project/obj/Release/net9.0-windows/leak_test_project_cqkkkj0l_wpftmp.GeneratedMSBuildEditorConfig.editorconfig @@ -0,0 +1,19 @@ +is_global = true +build_property.TargetFramework = net9.0-windows +build_property.TargetFrameworkIdentifier = .NETCoreApp +build_property.TargetFrameworkVersion = v9.0 +build_property.TargetPlatformMinVersion = 7.0 +build_property.UsingMicrosoftNETSdkWeb = +build_property.ProjectTypeGuids = +build_property.InvariantGlobalization = +build_property.PlatformNeutralAssembly = +build_property.EnforceExtendedAnalyzerRules = +build_property.EntryPointFilePath = +build_property._SupportedPlatformList = Linux,macOS,Windows +build_property.RootNamespace = leak_test_project +build_property.ProjectDir = C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\ +build_property.EnableComHosting = +build_property.EnableGeneratedComInterfaceComImportInterop = +build_property.CsWinRTUseWindowsUIXamlProjections = false +build_property.EffectiveAnalysisLevelStyle = 9.0 +build_property.EnableCodeStyleSeverity = diff --git a/leak_test_project/obj/Release/net9.0-windows/leak_test_project_cqkkkj0l_wpftmp.GlobalUsings.g.cs b/leak_test_project/obj/Release/net9.0-windows/leak_test_project_cqkkkj0l_wpftmp.GlobalUsings.g.cs new file mode 100644 index 0000000..e6eff56 --- /dev/null +++ b/leak_test_project/obj/Release/net9.0-windows/leak_test_project_cqkkkj0l_wpftmp.GlobalUsings.g.cs @@ -0,0 +1,6 @@ +// +global using System; +global using System.Collections.Generic; +global using System.Linq; +global using System.Threading; +global using System.Threading.Tasks; diff --git a/leak_test_project/obj/Release/net9.0-windows/leak_test_project_cqkkkj0l_wpftmp.assets.cache b/leak_test_project/obj/Release/net9.0-windows/leak_test_project_cqkkkj0l_wpftmp.assets.cache new file mode 100644 index 0000000..913b72f Binary files /dev/null and b/leak_test_project/obj/Release/net9.0-windows/leak_test_project_cqkkkj0l_wpftmp.assets.cache differ diff --git a/leak_test_project/obj/Release/net9.0-windows/leak_test_project_cqkkkj0l_wpftmp.csproj.BuildWithSkipAnalyzers b/leak_test_project/obj/Release/net9.0-windows/leak_test_project_cqkkkj0l_wpftmp.csproj.BuildWithSkipAnalyzers new file mode 100644 index 0000000..e69de29 diff --git a/leak_test_project/obj/Release/net9.0-windows/leak_test_project_gnrmkaje_wpftmp.GeneratedMSBuildEditorConfig.editorconfig b/leak_test_project/obj/Release/net9.0-windows/leak_test_project_gnrmkaje_wpftmp.GeneratedMSBuildEditorConfig.editorconfig new file mode 100644 index 0000000..4b6be98 --- /dev/null +++ b/leak_test_project/obj/Release/net9.0-windows/leak_test_project_gnrmkaje_wpftmp.GeneratedMSBuildEditorConfig.editorconfig @@ -0,0 +1,19 @@ +is_global = true +build_property.TargetFramework = net9.0-windows +build_property.TargetFrameworkIdentifier = .NETCoreApp +build_property.TargetFrameworkVersion = v9.0 +build_property.TargetPlatformMinVersion = 7.0 +build_property.UsingMicrosoftNETSdkWeb = +build_property.ProjectTypeGuids = +build_property.InvariantGlobalization = +build_property.PlatformNeutralAssembly = +build_property.EnforceExtendedAnalyzerRules = +build_property.EntryPointFilePath = +build_property._SupportedPlatformList = Linux,macOS,Windows +build_property.RootNamespace = leak_test_project +build_property.ProjectDir = C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\ +build_property.EnableComHosting = +build_property.EnableGeneratedComInterfaceComImportInterop = +build_property.CsWinRTUseWindowsUIXamlProjections = false +build_property.EffectiveAnalysisLevelStyle = 9.0 +build_property.EnableCodeStyleSeverity = diff --git a/leak_test_project/obj/Release/net9.0-windows/leak_test_project_gnrmkaje_wpftmp.GlobalUsings.g.cs b/leak_test_project/obj/Release/net9.0-windows/leak_test_project_gnrmkaje_wpftmp.GlobalUsings.g.cs new file mode 100644 index 0000000..e6eff56 --- /dev/null +++ b/leak_test_project/obj/Release/net9.0-windows/leak_test_project_gnrmkaje_wpftmp.GlobalUsings.g.cs @@ -0,0 +1,6 @@ +// +global using System; +global using System.Collections.Generic; +global using System.Linq; +global using System.Threading; +global using System.Threading.Tasks; diff --git a/leak_test_project/obj/Release/net9.0-windows/leak_test_project_gnrmkaje_wpftmp.assets.cache b/leak_test_project/obj/Release/net9.0-windows/leak_test_project_gnrmkaje_wpftmp.assets.cache new file mode 100644 index 0000000..9cb7a3f Binary files /dev/null and b/leak_test_project/obj/Release/net9.0-windows/leak_test_project_gnrmkaje_wpftmp.assets.cache differ diff --git a/leak_test_project/obj/Release/net9.0-windows/leak_test_project_iocjkxv4_wpftmp.GeneratedMSBuildEditorConfig.editorconfig b/leak_test_project/obj/Release/net9.0-windows/leak_test_project_iocjkxv4_wpftmp.GeneratedMSBuildEditorConfig.editorconfig new file mode 100644 index 0000000..4b6be98 --- /dev/null +++ b/leak_test_project/obj/Release/net9.0-windows/leak_test_project_iocjkxv4_wpftmp.GeneratedMSBuildEditorConfig.editorconfig @@ -0,0 +1,19 @@ +is_global = true +build_property.TargetFramework = net9.0-windows +build_property.TargetFrameworkIdentifier = .NETCoreApp +build_property.TargetFrameworkVersion = v9.0 +build_property.TargetPlatformMinVersion = 7.0 +build_property.UsingMicrosoftNETSdkWeb = +build_property.ProjectTypeGuids = +build_property.InvariantGlobalization = +build_property.PlatformNeutralAssembly = +build_property.EnforceExtendedAnalyzerRules = +build_property.EntryPointFilePath = +build_property._SupportedPlatformList = Linux,macOS,Windows +build_property.RootNamespace = leak_test_project +build_property.ProjectDir = C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\ +build_property.EnableComHosting = +build_property.EnableGeneratedComInterfaceComImportInterop = +build_property.CsWinRTUseWindowsUIXamlProjections = false +build_property.EffectiveAnalysisLevelStyle = 9.0 +build_property.EnableCodeStyleSeverity = diff --git a/leak_test_project/obj/Release/net9.0-windows/leak_test_project_iocjkxv4_wpftmp.GlobalUsings.g.cs b/leak_test_project/obj/Release/net9.0-windows/leak_test_project_iocjkxv4_wpftmp.GlobalUsings.g.cs new file mode 100644 index 0000000..e6eff56 --- /dev/null +++ b/leak_test_project/obj/Release/net9.0-windows/leak_test_project_iocjkxv4_wpftmp.GlobalUsings.g.cs @@ -0,0 +1,6 @@ +// +global using System; +global using System.Collections.Generic; +global using System.Linq; +global using System.Threading; +global using System.Threading.Tasks; diff --git a/leak_test_project/obj/Release/net9.0-windows/leak_test_project_iocjkxv4_wpftmp.assets.cache b/leak_test_project/obj/Release/net9.0-windows/leak_test_project_iocjkxv4_wpftmp.assets.cache new file mode 100644 index 0000000..2190952 Binary files /dev/null and b/leak_test_project/obj/Release/net9.0-windows/leak_test_project_iocjkxv4_wpftmp.assets.cache differ diff --git a/leak_test_project/obj/Release/net9.0-windows/leak_test_project_iocjkxv4_wpftmp.csproj.BuildWithSkipAnalyzers b/leak_test_project/obj/Release/net9.0-windows/leak_test_project_iocjkxv4_wpftmp.csproj.BuildWithSkipAnalyzers new file mode 100644 index 0000000..e69de29 diff --git a/leak_test_project/obj/Release/net9.0-windows/leak_test_project_mcfl2niw_wpftmp.GeneratedMSBuildEditorConfig.editorconfig b/leak_test_project/obj/Release/net9.0-windows/leak_test_project_mcfl2niw_wpftmp.GeneratedMSBuildEditorConfig.editorconfig new file mode 100644 index 0000000..4b6be98 --- /dev/null +++ b/leak_test_project/obj/Release/net9.0-windows/leak_test_project_mcfl2niw_wpftmp.GeneratedMSBuildEditorConfig.editorconfig @@ -0,0 +1,19 @@ +is_global = true +build_property.TargetFramework = net9.0-windows +build_property.TargetFrameworkIdentifier = .NETCoreApp +build_property.TargetFrameworkVersion = v9.0 +build_property.TargetPlatformMinVersion = 7.0 +build_property.UsingMicrosoftNETSdkWeb = +build_property.ProjectTypeGuids = +build_property.InvariantGlobalization = +build_property.PlatformNeutralAssembly = +build_property.EnforceExtendedAnalyzerRules = +build_property.EntryPointFilePath = +build_property._SupportedPlatformList = Linux,macOS,Windows +build_property.RootNamespace = leak_test_project +build_property.ProjectDir = C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\ +build_property.EnableComHosting = +build_property.EnableGeneratedComInterfaceComImportInterop = +build_property.CsWinRTUseWindowsUIXamlProjections = false +build_property.EffectiveAnalysisLevelStyle = 9.0 +build_property.EnableCodeStyleSeverity = diff --git a/leak_test_project/obj/Release/net9.0-windows/leak_test_project_mcfl2niw_wpftmp.GlobalUsings.g.cs b/leak_test_project/obj/Release/net9.0-windows/leak_test_project_mcfl2niw_wpftmp.GlobalUsings.g.cs new file mode 100644 index 0000000..e6eff56 --- /dev/null +++ b/leak_test_project/obj/Release/net9.0-windows/leak_test_project_mcfl2niw_wpftmp.GlobalUsings.g.cs @@ -0,0 +1,6 @@ +// +global using System; +global using System.Collections.Generic; +global using System.Linq; +global using System.Threading; +global using System.Threading.Tasks; diff --git a/leak_test_project/obj/Release/net9.0-windows/leak_test_project_mcfl2niw_wpftmp.assets.cache b/leak_test_project/obj/Release/net9.0-windows/leak_test_project_mcfl2niw_wpftmp.assets.cache new file mode 100644 index 0000000..311790a Binary files /dev/null and b/leak_test_project/obj/Release/net9.0-windows/leak_test_project_mcfl2niw_wpftmp.assets.cache differ diff --git a/leak_test_project/obj/Release/net9.0-windows/leak_test_project_mcfl2niw_wpftmp.csproj.BuildWithSkipAnalyzers b/leak_test_project/obj/Release/net9.0-windows/leak_test_project_mcfl2niw_wpftmp.csproj.BuildWithSkipAnalyzers new file mode 100644 index 0000000..e69de29 diff --git a/leak_test_project/obj/Release/net9.0-windows/leak_test_project_uj0ub0gq_wpftmp.GeneratedMSBuildEditorConfig.editorconfig b/leak_test_project/obj/Release/net9.0-windows/leak_test_project_uj0ub0gq_wpftmp.GeneratedMSBuildEditorConfig.editorconfig new file mode 100644 index 0000000..4b6be98 --- /dev/null +++ b/leak_test_project/obj/Release/net9.0-windows/leak_test_project_uj0ub0gq_wpftmp.GeneratedMSBuildEditorConfig.editorconfig @@ -0,0 +1,19 @@ +is_global = true +build_property.TargetFramework = net9.0-windows +build_property.TargetFrameworkIdentifier = .NETCoreApp +build_property.TargetFrameworkVersion = v9.0 +build_property.TargetPlatformMinVersion = 7.0 +build_property.UsingMicrosoftNETSdkWeb = +build_property.ProjectTypeGuids = +build_property.InvariantGlobalization = +build_property.PlatformNeutralAssembly = +build_property.EnforceExtendedAnalyzerRules = +build_property.EntryPointFilePath = +build_property._SupportedPlatformList = Linux,macOS,Windows +build_property.RootNamespace = leak_test_project +build_property.ProjectDir = C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\ +build_property.EnableComHosting = +build_property.EnableGeneratedComInterfaceComImportInterop = +build_property.CsWinRTUseWindowsUIXamlProjections = false +build_property.EffectiveAnalysisLevelStyle = 9.0 +build_property.EnableCodeStyleSeverity = diff --git a/leak_test_project/obj/Release/net9.0-windows/leak_test_project_uj0ub0gq_wpftmp.GlobalUsings.g.cs b/leak_test_project/obj/Release/net9.0-windows/leak_test_project_uj0ub0gq_wpftmp.GlobalUsings.g.cs new file mode 100644 index 0000000..e6eff56 --- /dev/null +++ b/leak_test_project/obj/Release/net9.0-windows/leak_test_project_uj0ub0gq_wpftmp.GlobalUsings.g.cs @@ -0,0 +1,6 @@ +// +global using System; +global using System.Collections.Generic; +global using System.Linq; +global using System.Threading; +global using System.Threading.Tasks; diff --git a/leak_test_project/obj/Release/net9.0-windows/leak_test_project_uj0ub0gq_wpftmp.assets.cache b/leak_test_project/obj/Release/net9.0-windows/leak_test_project_uj0ub0gq_wpftmp.assets.cache new file mode 100644 index 0000000..4d638e7 Binary files /dev/null and b/leak_test_project/obj/Release/net9.0-windows/leak_test_project_uj0ub0gq_wpftmp.assets.cache differ diff --git a/leak_test_project/obj/Release/net9.0-windows/leak_test_project_v2d41tgm_wpftmp.GeneratedMSBuildEditorConfig.editorconfig b/leak_test_project/obj/Release/net9.0-windows/leak_test_project_v2d41tgm_wpftmp.GeneratedMSBuildEditorConfig.editorconfig new file mode 100644 index 0000000..4b6be98 --- /dev/null +++ b/leak_test_project/obj/Release/net9.0-windows/leak_test_project_v2d41tgm_wpftmp.GeneratedMSBuildEditorConfig.editorconfig @@ -0,0 +1,19 @@ +is_global = true +build_property.TargetFramework = net9.0-windows +build_property.TargetFrameworkIdentifier = .NETCoreApp +build_property.TargetFrameworkVersion = v9.0 +build_property.TargetPlatformMinVersion = 7.0 +build_property.UsingMicrosoftNETSdkWeb = +build_property.ProjectTypeGuids = +build_property.InvariantGlobalization = +build_property.PlatformNeutralAssembly = +build_property.EnforceExtendedAnalyzerRules = +build_property.EntryPointFilePath = +build_property._SupportedPlatformList = Linux,macOS,Windows +build_property.RootNamespace = leak_test_project +build_property.ProjectDir = C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\ +build_property.EnableComHosting = +build_property.EnableGeneratedComInterfaceComImportInterop = +build_property.CsWinRTUseWindowsUIXamlProjections = false +build_property.EffectiveAnalysisLevelStyle = 9.0 +build_property.EnableCodeStyleSeverity = diff --git a/leak_test_project/obj/Release/net9.0-windows/leak_test_project_v2d41tgm_wpftmp.GlobalUsings.g.cs b/leak_test_project/obj/Release/net9.0-windows/leak_test_project_v2d41tgm_wpftmp.GlobalUsings.g.cs new file mode 100644 index 0000000..e6eff56 --- /dev/null +++ b/leak_test_project/obj/Release/net9.0-windows/leak_test_project_v2d41tgm_wpftmp.GlobalUsings.g.cs @@ -0,0 +1,6 @@ +// +global using System; +global using System.Collections.Generic; +global using System.Linq; +global using System.Threading; +global using System.Threading.Tasks; diff --git a/leak_test_project/obj/Release/net9.0-windows/leak_test_project_v2d41tgm_wpftmp.assets.cache b/leak_test_project/obj/Release/net9.0-windows/leak_test_project_v2d41tgm_wpftmp.assets.cache new file mode 100644 index 0000000..e409be9 Binary files /dev/null and b/leak_test_project/obj/Release/net9.0-windows/leak_test_project_v2d41tgm_wpftmp.assets.cache differ diff --git a/leak_test_project/obj/Release/net9.0-windows/ref/leak_test_project.dll b/leak_test_project/obj/Release/net9.0-windows/ref/leak_test_project.dll new file mode 100644 index 0000000..e398be8 Binary files /dev/null and b/leak_test_project/obj/Release/net9.0-windows/ref/leak_test_project.dll differ diff --git a/leak_test_project/obj/Release/net9.0-windows/refint/leak_test_project.dll b/leak_test_project/obj/Release/net9.0-windows/refint/leak_test_project.dll new file mode 100644 index 0000000..e398be8 Binary files /dev/null and b/leak_test_project/obj/Release/net9.0-windows/refint/leak_test_project.dll differ diff --git a/leak_test_project/obj/Release/net9.0-windows/win-x64/.NETCoreApp,Version=v9.0.AssemblyAttributes.cs b/leak_test_project/obj/Release/net9.0-windows/win-x64/.NETCoreApp,Version=v9.0.AssemblyAttributes.cs new file mode 100644 index 0000000..feda5e9 --- /dev/null +++ b/leak_test_project/obj/Release/net9.0-windows/win-x64/.NETCoreApp,Version=v9.0.AssemblyAttributes.cs @@ -0,0 +1,4 @@ +// +using System; +using System.Reflection; +[assembly: global::System.Runtime.Versioning.TargetFrameworkAttribute(".NETCoreApp,Version=v9.0", FrameworkDisplayName = ".NET 9.0")] diff --git a/leak_test_project/obj/Release/net9.0-windows/win-x64/App.baml b/leak_test_project/obj/Release/net9.0-windows/win-x64/App.baml new file mode 100644 index 0000000..3767e9d Binary files /dev/null and b/leak_test_project/obj/Release/net9.0-windows/win-x64/App.baml differ diff --git a/leak_test_project/obj/Release/net9.0-windows/win-x64/App.g.cs b/leak_test_project/obj/Release/net9.0-windows/win-x64/App.g.cs new file mode 100644 index 0000000..836b318 --- /dev/null +++ b/leak_test_project/obj/Release/net9.0-windows/win-x64/App.g.cs @@ -0,0 +1,79 @@ +#pragma checksum "..\..\..\..\App.xaml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "2C9DBC57725FBA850BA48A200BD6B89548C1882D" +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +using System; +using System.Diagnostics; +using System.Windows; +using System.Windows.Automation; +using System.Windows.Controls; +using System.Windows.Controls.Primitives; +using System.Windows.Controls.Ribbon; +using System.Windows.Data; +using System.Windows.Documents; +using System.Windows.Ink; +using System.Windows.Input; +using System.Windows.Markup; +using System.Windows.Media; +using System.Windows.Media.Animation; +using System.Windows.Media.Effects; +using System.Windows.Media.Imaging; +using System.Windows.Media.Media3D; +using System.Windows.Media.TextFormatting; +using System.Windows.Navigation; +using System.Windows.Shapes; +using System.Windows.Shell; +using leak_test_project; +using leak_test_project.ViewModels; +using leak_test_project.Views; + + +namespace leak_test_project { + + + /// + /// App + /// + public partial class App : System.Windows.Application { + + private bool _contentLoaded; + + /// + /// InitializeComponent + /// + [System.Diagnostics.DebuggerNonUserCodeAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "10.0.9.0")] + public void InitializeComponent() { + if (_contentLoaded) { + return; + } + _contentLoaded = true; + System.Uri resourceLocater = new System.Uri("/leak_test_project;component/app.xaml", System.UriKind.Relative); + + #line 1 "..\..\..\..\App.xaml" + System.Windows.Application.LoadComponent(this, resourceLocater); + + #line default + #line hidden + } + + /// + /// Application Entry Point. + /// + [System.STAThreadAttribute()] + [System.Diagnostics.DebuggerNonUserCodeAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "10.0.9.0")] + public static void Main() { + leak_test_project.App app = new leak_test_project.App(); + app.InitializeComponent(); + app.Run(); + } + } +} + diff --git a/leak_test_project/obj/Debug/GeneratedInternalTypeHelper.g.cs b/leak_test_project/obj/Release/net9.0-windows/win-x64/GeneratedInternalTypeHelper.g.cs similarity index 100% rename from leak_test_project/obj/Debug/GeneratedInternalTypeHelper.g.cs rename to leak_test_project/obj/Release/net9.0-windows/win-x64/GeneratedInternalTypeHelper.g.cs diff --git a/leak_test_project/obj/Release/net9.0-windows/win-x64/MainWindow.baml b/leak_test_project/obj/Release/net9.0-windows/win-x64/MainWindow.baml new file mode 100644 index 0000000..74cfa24 Binary files /dev/null and b/leak_test_project/obj/Release/net9.0-windows/win-x64/MainWindow.baml differ diff --git a/leak_test_project/obj/Release/net9.0-windows/win-x64/MainWindow.g.cs b/leak_test_project/obj/Release/net9.0-windows/win-x64/MainWindow.g.cs new file mode 100644 index 0000000..2bfde04 --- /dev/null +++ b/leak_test_project/obj/Release/net9.0-windows/win-x64/MainWindow.g.cs @@ -0,0 +1,191 @@ +#pragma checksum "..\..\..\..\MainWindow.xaml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "BCEF04A2E87738D2F06DA355EB11BA30F322E42B" +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +using System; +using System.Diagnostics; +using System.Windows; +using System.Windows.Automation; +using System.Windows.Controls; +using System.Windows.Controls.Primitives; +using System.Windows.Controls.Ribbon; +using System.Windows.Data; +using System.Windows.Documents; +using System.Windows.Ink; +using System.Windows.Input; +using System.Windows.Markup; +using System.Windows.Media; +using System.Windows.Media.Animation; +using System.Windows.Media.Effects; +using System.Windows.Media.Imaging; +using System.Windows.Media.Media3D; +using System.Windows.Media.TextFormatting; +using System.Windows.Navigation; +using System.Windows.Shapes; +using System.Windows.Shell; +using leak_test_project.ViewModels; + + +namespace leak_test_project { + + + /// + /// MainWindow + /// + public partial class MainWindow : System.Windows.Window, System.Windows.Markup.IComponentConnector { + + + #line 66 "..\..\..\..\MainWindow.xaml" + [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")] + internal System.Windows.Controls.TextBlock txtCurrentDateTime; + + #line default + #line hidden + + + #line 75 "..\..\..\..\MainWindow.xaml" + [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")] + internal System.Windows.Controls.TextBlock txtOperatorInfo; + + #line default + #line hidden + + + #line 82 "..\..\..\..\MainWindow.xaml" + [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")] + internal System.Windows.Controls.TextBlock txtModelInfo; + + #line default + #line hidden + + + #line 89 "..\..\..\..\MainWindow.xaml" + [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")] + internal System.Windows.Controls.TextBlock txtLineInfo; + + #line default + #line hidden + + + #line 94 "..\..\..\..\MainWindow.xaml" + [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")] + internal System.Windows.Controls.Button btnLogout; + + #line default + #line hidden + + + #line 101 "..\..\..\..\MainWindow.xaml" + [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")] + internal System.Windows.Controls.Button btnMaximize; + + #line default + #line hidden + + + #line 102 "..\..\..\..\MainWindow.xaml" + [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")] + internal System.Windows.Controls.TextBlock txtMaximizeIcon; + + #line default + #line hidden + + private bool _contentLoaded; + + /// + /// InitializeComponent + /// + [System.Diagnostics.DebuggerNonUserCodeAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "10.0.9.0")] + public void InitializeComponent() { + if (_contentLoaded) { + return; + } + _contentLoaded = true; + System.Uri resourceLocater = new System.Uri("/leak_test_project;component/mainwindow.xaml", System.UriKind.Relative); + + #line 1 "..\..\..\..\MainWindow.xaml" + System.Windows.Application.LoadComponent(this, resourceLocater); + + #line default + #line hidden + } + + [System.Diagnostics.DebuggerNonUserCodeAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "10.0.9.0")] + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] + [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes")] + [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Maintainability", "CA1502:AvoidExcessiveComplexity")] + [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1800:DoNotCastUnnecessarily")] + void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { + switch (connectionId) + { + case 1: + + #line 8 "..\..\..\..\MainWindow.xaml" + ((leak_test_project.MainWindow)(target)).ContentRendered += new System.EventHandler(this.Window_ContentRendered); + + #line default + #line hidden + return; + case 2: + + #line 56 "..\..\..\..\MainWindow.xaml" + ((System.Windows.Controls.Border)(target)).MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.TopBar_MouseLeftButtonDown); + + #line default + #line hidden + return; + case 3: + this.txtCurrentDateTime = ((System.Windows.Controls.TextBlock)(target)); + return; + case 4: + this.txtOperatorInfo = ((System.Windows.Controls.TextBlock)(target)); + return; + case 5: + this.txtModelInfo = ((System.Windows.Controls.TextBlock)(target)); + return; + case 6: + this.txtLineInfo = ((System.Windows.Controls.TextBlock)(target)); + return; + case 7: + this.btnLogout = ((System.Windows.Controls.Button)(target)); + + #line 94 "..\..\..\..\MainWindow.xaml" + this.btnLogout.Click += new System.Windows.RoutedEventHandler(this.BtnLogout_Click); + + #line default + #line hidden + return; + case 8: + + #line 98 "..\..\..\..\MainWindow.xaml" + ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.BtnMinimize_Click); + + #line default + #line hidden + return; + case 9: + this.btnMaximize = ((System.Windows.Controls.Button)(target)); + + #line 101 "..\..\..\..\MainWindow.xaml" + this.btnMaximize.Click += new System.Windows.RoutedEventHandler(this.BtnMaximize_Click); + + #line default + #line hidden + return; + case 10: + this.txtMaximizeIcon = ((System.Windows.Controls.TextBlock)(target)); + return; + } + this._contentLoaded = true; + } + } +} + diff --git a/leak_test_project/obj/Release/net9.0-windows/win-x64/PublishOutputs.099b38dfd2.txt b/leak_test_project/obj/Release/net9.0-windows/win-x64/PublishOutputs.099b38dfd2.txt new file mode 100644 index 0000000..3f141bd --- /dev/null +++ b/leak_test_project/obj/Release/net9.0-windows/win-x64/PublishOutputs.099b38dfd2.txt @@ -0,0 +1,401 @@ +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\publish\leak_test_project.exe +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\publish\Database.ini +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\publish\PCI-Dask.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\publish\leak_test_project.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\publish\leak_test_project.deps.json +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\publish\leak_test_project.runtimeconfig.json +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\publish\leak_test_project.dll.config +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\publish\leak_test_project.pdb +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\publish\Microsoft.CSharp.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\publish\Microsoft.VisualBasic.Core.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\publish\Microsoft.VisualBasic.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\publish\Microsoft.Win32.Primitives.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\publish\Microsoft.Win32.Registry.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\publish\System.AppContext.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\publish\System.Buffers.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\publish\System.Collections.Concurrent.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\publish\System.Collections.Immutable.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\publish\System.Collections.NonGeneric.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\publish\System.Collections.Specialized.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\publish\System.Collections.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\publish\System.ComponentModel.Annotations.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\publish\System.ComponentModel.DataAnnotations.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\publish\System.ComponentModel.EventBasedAsync.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\publish\System.ComponentModel.Primitives.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\publish\System.ComponentModel.TypeConverter.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\publish\System.ComponentModel.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\publish\System.Configuration.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\publish\System.Console.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\publish\System.Core.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\publish\System.Data.Common.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\publish\System.Data.DataSetExtensions.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\publish\System.Data.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\publish\System.Diagnostics.Contracts.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\publish\System.Diagnostics.Debug.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\publish\System.Diagnostics.DiagnosticSource.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\publish\System.Diagnostics.FileVersionInfo.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\publish\System.Diagnostics.Process.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\publish\System.Diagnostics.StackTrace.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\publish\System.Diagnostics.TextWriterTraceListener.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\publish\System.Diagnostics.Tools.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\publish\System.Diagnostics.TraceSource.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\publish\System.Diagnostics.Tracing.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\publish\System.Drawing.Primitives.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\publish\System.Drawing.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\publish\System.Dynamic.Runtime.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\publish\System.Formats.Asn1.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\publish\System.Formats.Tar.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\publish\System.Globalization.Calendars.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\publish\System.Globalization.Extensions.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\publish\System.Globalization.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\publish\System.IO.Compression.Brotli.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\publish\System.IO.Compression.FileSystem.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\publish\System.IO.Compression.ZipFile.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\publish\System.IO.Compression.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\publish\System.IO.FileSystem.AccessControl.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\publish\System.IO.FileSystem.DriveInfo.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\publish\System.IO.FileSystem.Primitives.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\publish\System.IO.FileSystem.Watcher.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\publish\System.IO.FileSystem.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\publish\System.IO.IsolatedStorage.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\publish\System.IO.MemoryMappedFiles.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\publish\System.IO.Pipelines.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\publish\System.IO.Pipes.AccessControl.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\publish\System.IO.Pipes.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\publish\System.IO.UnmanagedMemoryStream.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\publish\System.IO.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\publish\System.Linq.Expressions.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\publish\System.Linq.Parallel.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\publish\System.Linq.Queryable.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\publish\System.Linq.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\publish\System.Memory.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\publish\System.Net.Http.Json.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\publish\System.Net.Http.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\publish\System.Net.HttpListener.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\publish\System.Net.Mail.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\publish\System.Net.NameResolution.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\publish\System.Net.NetworkInformation.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\publish\System.Net.Ping.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\publish\System.Net.Primitives.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\publish\System.Net.Quic.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\publish\System.Net.Requests.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\publish\System.Net.Security.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\publish\System.Net.ServicePoint.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\publish\System.Net.Sockets.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\publish\System.Net.WebClient.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\publish\System.Net.WebHeaderCollection.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\publish\System.Net.WebProxy.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\publish\System.Net.WebSockets.Client.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\publish\System.Net.WebSockets.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\publish\System.Net.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\publish\System.Numerics.Vectors.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\publish\System.Numerics.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\publish\System.ObjectModel.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\publish\System.Private.CoreLib.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\publish\System.Private.DataContractSerialization.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\publish\System.Private.Uri.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\publish\System.Private.Xml.Linq.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\publish\System.Private.Xml.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\publish\System.Reflection.DispatchProxy.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\publish\System.Reflection.Emit.ILGeneration.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\publish\System.Reflection.Emit.Lightweight.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\publish\System.Reflection.Emit.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\publish\System.Reflection.Extensions.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\publish\System.Reflection.Metadata.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\publish\System.Reflection.Primitives.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\publish\System.Reflection.TypeExtensions.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\publish\System.Reflection.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\publish\System.Resources.Reader.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\publish\System.Resources.ResourceManager.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\publish\System.Resources.Writer.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\publish\System.Runtime.CompilerServices.Unsafe.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\publish\System.Runtime.CompilerServices.VisualC.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\publish\System.Runtime.Extensions.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\publish\System.Runtime.Handles.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\publish\System.Runtime.InteropServices.JavaScript.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\publish\System.Runtime.InteropServices.RuntimeInformation.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\publish\System.Runtime.InteropServices.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\publish\System.Runtime.Intrinsics.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\publish\System.Runtime.Loader.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\publish\System.Runtime.Numerics.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\publish\System.Runtime.Serialization.Formatters.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\publish\System.Runtime.Serialization.Json.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\publish\System.Runtime.Serialization.Primitives.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\publish\System.Runtime.Serialization.Xml.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\publish\System.Runtime.Serialization.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\publish\System.Runtime.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\publish\System.Security.AccessControl.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\publish\System.Security.Claims.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\publish\System.Security.Cryptography.Algorithms.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\publish\System.Security.Cryptography.Cng.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\publish\System.Security.Cryptography.Csp.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\publish\System.Security.Cryptography.Encoding.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\publish\System.Security.Cryptography.OpenSsl.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\publish\System.Security.Cryptography.Primitives.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\publish\System.Security.Cryptography.X509Certificates.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\publish\System.Security.Cryptography.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\publish\System.Security.Principal.Windows.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\publish\System.Security.Principal.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\publish\System.Security.SecureString.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\publish\System.Security.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\publish\System.ServiceModel.Web.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\publish\System.ServiceProcess.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\publish\System.Text.Encoding.CodePages.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\publish\System.Text.Encoding.Extensions.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\publish\System.Text.Encoding.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\publish\System.Text.Encodings.Web.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\publish\System.Text.Json.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\publish\System.Text.RegularExpressions.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\publish\System.Threading.Channels.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\publish\System.Threading.Overlapped.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\publish\System.Threading.Tasks.Dataflow.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\publish\System.Threading.Tasks.Extensions.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\publish\System.Threading.Tasks.Parallel.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\publish\System.Threading.Tasks.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\publish\System.Threading.Thread.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\publish\System.Threading.ThreadPool.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\publish\System.Threading.Timer.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\publish\System.Threading.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\publish\System.Transactions.Local.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\publish\System.Transactions.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\publish\System.ValueTuple.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\publish\System.Web.HttpUtility.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\publish\System.Web.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\publish\System.Windows.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\publish\System.Xml.Linq.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\publish\System.Xml.ReaderWriter.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\publish\System.Xml.Serialization.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\publish\System.Xml.XDocument.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\publish\System.Xml.XPath.XDocument.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\publish\System.Xml.XPath.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\publish\System.Xml.XmlDocument.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\publish\System.Xml.XmlSerializer.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\publish\System.Xml.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\publish\System.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\publish\mscorlib.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\publish\netstandard.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\publish\Accessibility.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\publish\DirectWriteForwarder.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\publish\Microsoft.Win32.Registry.AccessControl.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\publish\Microsoft.Win32.SystemEvents.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\publish\PresentationCore.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\publish\PresentationFramework-SystemCore.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\publish\PresentationFramework-SystemData.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\publish\PresentationFramework-SystemDrawing.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\publish\PresentationFramework-SystemXml.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\publish\PresentationFramework-SystemXmlLinq.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\publish\PresentationFramework.Aero.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\publish\PresentationFramework.Aero2.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\publish\PresentationFramework.AeroLite.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\publish\PresentationFramework.Classic.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\publish\PresentationFramework.Fluent.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\publish\PresentationFramework.Luna.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\publish\PresentationFramework.Royale.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\publish\PresentationFramework.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\publish\PresentationUI.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\publish\ReachFramework.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\publish\System.CodeDom.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\publish\System.Configuration.ConfigurationManager.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\publish\System.Diagnostics.EventLog.Messages.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\publish\System.Diagnostics.EventLog.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\publish\System.Diagnostics.PerformanceCounter.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\publish\System.DirectoryServices.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\publish\System.Formats.Nrbf.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\publish\System.IO.Packaging.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\publish\System.Printing.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\publish\System.Resources.Extensions.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\publish\System.Security.Cryptography.Pkcs.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\publish\System.Security.Cryptography.ProtectedData.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\publish\System.Security.Cryptography.Xml.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\publish\System.Security.Permissions.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\publish\System.Threading.AccessControl.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\publish\System.Windows.Controls.Ribbon.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\publish\System.Windows.Extensions.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\publish\System.Windows.Input.Manipulations.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\publish\System.Windows.Presentation.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\publish\System.Xaml.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\publish\UIAutomationClient.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\publish\UIAutomationClientSideProviders.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\publish\UIAutomationProvider.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\publish\UIAutomationTypes.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\publish\WindowsBase.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\publish\Microsoft.DiaSymReader.Native.amd64.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\publish\System.IO.Compression.Native.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\publish\clretwrc.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\publish\clrgc.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\publish\clrgcexp.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\publish\clrjit.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\publish\coreclr.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\publish\createdump.exe +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\publish\hostfxr.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\publish\hostpolicy.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\publish\mscordaccore.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\publish\mscordaccore_amd64_amd64_9.0.1726.26416.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\publish\mscordbi.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\publish\mscorrc.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\publish\msquic.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\publish\D3DCompiler_47_cor3.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\publish\PenImc_cor3.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\publish\PresentationNative_cor3.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\publish\vcruntime140_cor3.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\publish\wpfgfx_cor3.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\publish\cs\PresentationCore.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\publish\cs\PresentationFramework.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\publish\cs\PresentationUI.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\publish\cs\ReachFramework.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\publish\cs\System.Windows.Controls.Ribbon.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\publish\cs\System.Windows.Input.Manipulations.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\publish\cs\System.Xaml.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\publish\cs\UIAutomationClient.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\publish\cs\UIAutomationClientSideProviders.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\publish\cs\UIAutomationProvider.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\publish\cs\UIAutomationTypes.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\publish\cs\WindowsBase.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\publish\de\PresentationCore.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\publish\de\PresentationFramework.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\publish\de\PresentationUI.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\publish\de\ReachFramework.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\publish\de\System.Windows.Controls.Ribbon.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\publish\de\System.Windows.Input.Manipulations.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\publish\de\System.Xaml.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\publish\de\UIAutomationClient.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\publish\de\UIAutomationClientSideProviders.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\publish\de\UIAutomationProvider.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\publish\de\UIAutomationTypes.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\publish\de\WindowsBase.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\publish\es\PresentationCore.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\publish\es\PresentationFramework.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\publish\es\PresentationUI.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\publish\es\ReachFramework.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\publish\es\System.Windows.Controls.Ribbon.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\publish\es\System.Windows.Input.Manipulations.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\publish\es\System.Xaml.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\publish\es\UIAutomationClient.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\publish\es\UIAutomationClientSideProviders.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\publish\es\UIAutomationProvider.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\publish\es\UIAutomationTypes.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\publish\es\WindowsBase.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\publish\fr\PresentationCore.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\publish\fr\PresentationFramework.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\publish\fr\PresentationUI.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\publish\fr\ReachFramework.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\publish\fr\System.Windows.Controls.Ribbon.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\publish\fr\System.Windows.Input.Manipulations.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\publish\fr\System.Xaml.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\publish\fr\UIAutomationClient.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\publish\fr\UIAutomationClientSideProviders.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\publish\fr\UIAutomationProvider.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\publish\fr\UIAutomationTypes.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\publish\fr\WindowsBase.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\publish\it\PresentationCore.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\publish\it\PresentationFramework.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\publish\it\PresentationUI.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\publish\it\ReachFramework.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\publish\it\System.Windows.Controls.Ribbon.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\publish\it\System.Windows.Input.Manipulations.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\publish\it\System.Xaml.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\publish\it\UIAutomationClient.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\publish\it\UIAutomationClientSideProviders.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\publish\it\UIAutomationProvider.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\publish\it\UIAutomationTypes.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\publish\it\WindowsBase.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\publish\ja\PresentationCore.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\publish\ja\PresentationFramework.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\publish\ja\PresentationUI.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\publish\ja\ReachFramework.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\publish\ja\System.Windows.Controls.Ribbon.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\publish\ja\System.Windows.Input.Manipulations.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\publish\ja\System.Xaml.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\publish\ja\UIAutomationClient.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\publish\ja\UIAutomationClientSideProviders.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\publish\ja\UIAutomationProvider.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\publish\ja\UIAutomationTypes.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\publish\ja\WindowsBase.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\publish\ko\PresentationCore.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\publish\ko\PresentationFramework.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\publish\ko\PresentationUI.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\publish\ko\ReachFramework.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\publish\ko\System.Windows.Controls.Ribbon.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\publish\ko\System.Windows.Input.Manipulations.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\publish\ko\System.Xaml.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\publish\ko\UIAutomationClient.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\publish\ko\UIAutomationClientSideProviders.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\publish\ko\UIAutomationProvider.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\publish\ko\UIAutomationTypes.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\publish\ko\WindowsBase.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\publish\pl\PresentationCore.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\publish\pl\PresentationFramework.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\publish\pl\PresentationUI.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\publish\pl\ReachFramework.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\publish\pl\System.Windows.Controls.Ribbon.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\publish\pl\System.Windows.Input.Manipulations.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\publish\pl\System.Xaml.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\publish\pl\UIAutomationClient.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\publish\pl\UIAutomationClientSideProviders.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\publish\pl\UIAutomationProvider.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\publish\pl\UIAutomationTypes.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\publish\pl\WindowsBase.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\publish\pt-BR\PresentationCore.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\publish\pt-BR\PresentationFramework.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\publish\pt-BR\PresentationUI.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\publish\pt-BR\ReachFramework.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\publish\pt-BR\System.Windows.Controls.Ribbon.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\publish\pt-BR\System.Windows.Input.Manipulations.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\publish\pt-BR\System.Xaml.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\publish\pt-BR\UIAutomationClient.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\publish\pt-BR\UIAutomationClientSideProviders.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\publish\pt-BR\UIAutomationProvider.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\publish\pt-BR\UIAutomationTypes.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\publish\pt-BR\WindowsBase.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\publish\ru\PresentationCore.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\publish\ru\PresentationFramework.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\publish\ru\PresentationUI.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\publish\ru\ReachFramework.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\publish\ru\System.Windows.Controls.Ribbon.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\publish\ru\System.Windows.Input.Manipulations.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\publish\ru\System.Xaml.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\publish\ru\UIAutomationClient.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\publish\ru\UIAutomationClientSideProviders.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\publish\ru\UIAutomationProvider.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\publish\ru\UIAutomationTypes.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\publish\ru\WindowsBase.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\publish\tr\PresentationCore.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\publish\tr\PresentationFramework.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\publish\tr\PresentationUI.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\publish\tr\ReachFramework.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\publish\tr\System.Windows.Controls.Ribbon.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\publish\tr\System.Windows.Input.Manipulations.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\publish\tr\System.Xaml.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\publish\tr\UIAutomationClient.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\publish\tr\UIAutomationClientSideProviders.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\publish\tr\UIAutomationProvider.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\publish\tr\UIAutomationTypes.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\publish\tr\WindowsBase.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\publish\zh-Hans\PresentationCore.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\publish\zh-Hans\PresentationFramework.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\publish\zh-Hans\PresentationUI.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\publish\zh-Hans\ReachFramework.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\publish\zh-Hans\System.Windows.Controls.Ribbon.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\publish\zh-Hans\System.Windows.Input.Manipulations.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\publish\zh-Hans\System.Xaml.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\publish\zh-Hans\UIAutomationClient.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\publish\zh-Hans\UIAutomationClientSideProviders.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\publish\zh-Hans\UIAutomationProvider.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\publish\zh-Hans\UIAutomationTypes.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\publish\zh-Hans\WindowsBase.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\publish\zh-Hant\PresentationCore.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\publish\zh-Hant\PresentationFramework.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\publish\zh-Hant\PresentationUI.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\publish\zh-Hant\ReachFramework.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\publish\zh-Hant\System.Windows.Controls.Ribbon.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\publish\zh-Hant\System.Windows.Input.Manipulations.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\publish\zh-Hant\System.Xaml.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\publish\zh-Hant\UIAutomationClient.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\publish\zh-Hant\UIAutomationClientSideProviders.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\publish\zh-Hant\UIAutomationProvider.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\publish\zh-Hant\UIAutomationTypes.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\publish\zh-Hant\WindowsBase.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\publish\Microsoft.VisualStudio.Setup.Configuration.Interop.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\publish\System.Data.SqlClient.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\publish\System.IO.Ports.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\publish\sni.dll diff --git a/leak_test_project/obj/Release/net9.0-windows/win-x64/Views/CommunicationWindow.baml b/leak_test_project/obj/Release/net9.0-windows/win-x64/Views/CommunicationWindow.baml new file mode 100644 index 0000000..430180e Binary files /dev/null and b/leak_test_project/obj/Release/net9.0-windows/win-x64/Views/CommunicationWindow.baml differ diff --git a/leak_test_project/obj/Release/net9.0-windows/win-x64/Views/CommunicationWindow.g.cs b/leak_test_project/obj/Release/net9.0-windows/win-x64/Views/CommunicationWindow.g.cs new file mode 100644 index 0000000..9163553 --- /dev/null +++ b/leak_test_project/obj/Release/net9.0-windows/win-x64/Views/CommunicationWindow.g.cs @@ -0,0 +1,155 @@ +#pragma checksum "..\..\..\..\..\Views\CommunicationWindow.xaml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "5577DF64786E1B37F0D8450695B8B90B36B03544" +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +using System; +using System.Diagnostics; +using System.Windows; +using System.Windows.Automation; +using System.Windows.Controls; +using System.Windows.Controls.Primitives; +using System.Windows.Controls.Ribbon; +using System.Windows.Data; +using System.Windows.Documents; +using System.Windows.Ink; +using System.Windows.Input; +using System.Windows.Markup; +using System.Windows.Media; +using System.Windows.Media.Animation; +using System.Windows.Media.Effects; +using System.Windows.Media.Imaging; +using System.Windows.Media.Media3D; +using System.Windows.Media.TextFormatting; +using System.Windows.Navigation; +using System.Windows.Shapes; +using System.Windows.Shell; + + +namespace leak_test_project.Views { + + + /// + /// CommunicationWindow + /// + public partial class CommunicationWindow : System.Windows.Window, System.Windows.Markup.IComponentConnector { + + + #line 75 "..\..\..\..\..\Views\CommunicationWindow.xaml" + [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")] + internal System.Windows.Controls.ComboBox cbBoard4251BaudRate; + + #line default + #line hidden + + + #line 90 "..\..\..\..\..\Views\CommunicationWindow.xaml" + [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")] + internal System.Windows.Controls.ComboBox cbBoard4251Port; + + #line default + #line hidden + + + #line 105 "..\..\..\..\..\Views\CommunicationWindow.xaml" + [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")] + internal System.Windows.Controls.ComboBox cbSensorBaudRate; + + #line default + #line hidden + + + #line 120 "..\..\..\..\..\Views\CommunicationWindow.xaml" + [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")] + internal System.Windows.Controls.ComboBox cbSensorPort; + + #line default + #line hidden + + + #line 130 "..\..\..\..\..\Views\CommunicationWindow.xaml" + [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")] + internal System.Windows.Controls.Button btnSave; + + #line default + #line hidden + + + #line 131 "..\..\..\..\..\Views\CommunicationWindow.xaml" + [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")] + internal System.Windows.Controls.Button btnClose; + + #line default + #line hidden + + private bool _contentLoaded; + + /// + /// InitializeComponent + /// + [System.Diagnostics.DebuggerNonUserCodeAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "10.0.9.0")] + public void InitializeComponent() { + if (_contentLoaded) { + return; + } + _contentLoaded = true; + System.Uri resourceLocater = new System.Uri("/leak_test_project;component/views/communicationwindow.xaml", System.UriKind.Relative); + + #line 1 "..\..\..\..\..\Views\CommunicationWindow.xaml" + System.Windows.Application.LoadComponent(this, resourceLocater); + + #line default + #line hidden + } + + [System.Diagnostics.DebuggerNonUserCodeAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "10.0.9.0")] + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] + [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes")] + [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Maintainability", "CA1502:AvoidExcessiveComplexity")] + [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1800:DoNotCastUnnecessarily")] + void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { + switch (connectionId) + { + case 1: + this.cbBoard4251BaudRate = ((System.Windows.Controls.ComboBox)(target)); + return; + case 2: + this.cbBoard4251Port = ((System.Windows.Controls.ComboBox)(target)); + return; + case 3: + this.cbSensorBaudRate = ((System.Windows.Controls.ComboBox)(target)); + return; + case 4: + this.cbSensorPort = ((System.Windows.Controls.ComboBox)(target)); + return; + case 5: + this.btnSave = ((System.Windows.Controls.Button)(target)); + + #line 130 "..\..\..\..\..\Views\CommunicationWindow.xaml" + this.btnSave.Click += new System.Windows.RoutedEventHandler(this.BtnSave_Click); + + #line default + #line hidden + return; + case 6: + this.btnClose = ((System.Windows.Controls.Button)(target)); + + #line 131 "..\..\..\..\..\Views\CommunicationWindow.xaml" + this.btnClose.Click += new System.Windows.RoutedEventHandler(this.BtnClose_Click); + + #line default + #line hidden + return; + } + this._contentLoaded = true; + } + } +} + diff --git a/leak_test_project/obj/Release/net9.0-windows/win-x64/Views/DataView.baml b/leak_test_project/obj/Release/net9.0-windows/win-x64/Views/DataView.baml new file mode 100644 index 0000000..7b4a118 Binary files /dev/null and b/leak_test_project/obj/Release/net9.0-windows/win-x64/Views/DataView.baml differ diff --git a/leak_test_project/obj/Release/net9.0-windows/win-x64/Views/DataView.g.cs b/leak_test_project/obj/Release/net9.0-windows/win-x64/Views/DataView.g.cs new file mode 100644 index 0000000..aae91bc --- /dev/null +++ b/leak_test_project/obj/Release/net9.0-windows/win-x64/Views/DataView.g.cs @@ -0,0 +1,93 @@ +#pragma checksum "..\..\..\..\..\Views\DataView.xaml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "168E04ECAE869546705967F320C1997339F48A3E" +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +using System; +using System.Diagnostics; +using System.Windows; +using System.Windows.Automation; +using System.Windows.Controls; +using System.Windows.Controls.Primitives; +using System.Windows.Controls.Ribbon; +using System.Windows.Data; +using System.Windows.Documents; +using System.Windows.Ink; +using System.Windows.Input; +using System.Windows.Markup; +using System.Windows.Media; +using System.Windows.Media.Animation; +using System.Windows.Media.Effects; +using System.Windows.Media.Imaging; +using System.Windows.Media.Media3D; +using System.Windows.Media.TextFormatting; +using System.Windows.Navigation; +using System.Windows.Shapes; +using System.Windows.Shell; + + +namespace leak_test_project.Views { + + + /// + /// DataView + /// + public partial class DataView : System.Windows.Controls.UserControl, System.Windows.Markup.IComponentConnector { + + private bool _contentLoaded; + + /// + /// InitializeComponent + /// + [System.Diagnostics.DebuggerNonUserCodeAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "10.0.9.0")] + public void InitializeComponent() { + if (_contentLoaded) { + return; + } + _contentLoaded = true; + System.Uri resourceLocater = new System.Uri("/leak_test_project;component/views/dataview.xaml", System.UriKind.Relative); + + #line 1 "..\..\..\..\..\Views\DataView.xaml" + System.Windows.Application.LoadComponent(this, resourceLocater); + + #line default + #line hidden + } + + [System.Diagnostics.DebuggerNonUserCodeAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "10.0.9.0")] + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] + [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes")] + [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Maintainability", "CA1502:AvoidExcessiveComplexity")] + [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1800:DoNotCastUnnecessarily")] + void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { + switch (connectionId) + { + case 1: + + #line 169 "..\..\..\..\..\Views\DataView.xaml" + ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click); + + #line default + #line hidden + return; + case 2: + + #line 180 "..\..\..\..\..\Views\DataView.xaml" + ((System.Windows.Controls.DataGrid)(target)).SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.DataGrid_SelectionChanged); + + #line default + #line hidden + return; + } + this._contentLoaded = true; + } + } +} + diff --git a/leak_test_project/obj/Release/net9.0-windows/win-x64/Views/HomeView.baml b/leak_test_project/obj/Release/net9.0-windows/win-x64/Views/HomeView.baml new file mode 100644 index 0000000..8c2b612 Binary files /dev/null and b/leak_test_project/obj/Release/net9.0-windows/win-x64/Views/HomeView.baml differ diff --git a/leak_test_project/obj/Release/net9.0-windows/win-x64/Views/HomeView.g.cs b/leak_test_project/obj/Release/net9.0-windows/win-x64/Views/HomeView.g.cs new file mode 100644 index 0000000..dd8e51e --- /dev/null +++ b/leak_test_project/obj/Release/net9.0-windows/win-x64/Views/HomeView.g.cs @@ -0,0 +1,75 @@ +#pragma checksum "..\..\..\..\..\Views\HomeView.xaml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "817875EAD263AC23E75C01B4D6F33E4F99788939" +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +using System; +using System.Diagnostics; +using System.Windows; +using System.Windows.Automation; +using System.Windows.Controls; +using System.Windows.Controls.Primitives; +using System.Windows.Controls.Ribbon; +using System.Windows.Data; +using System.Windows.Documents; +using System.Windows.Ink; +using System.Windows.Input; +using System.Windows.Markup; +using System.Windows.Media; +using System.Windows.Media.Animation; +using System.Windows.Media.Effects; +using System.Windows.Media.Imaging; +using System.Windows.Media.Media3D; +using System.Windows.Media.TextFormatting; +using System.Windows.Navigation; +using System.Windows.Shapes; +using System.Windows.Shell; +using leak_test_project.Views; + + +namespace leak_test_project.Views { + + + /// + /// HomeView + /// + public partial class HomeView : System.Windows.Controls.UserControl, System.Windows.Markup.IComponentConnector { + + private bool _contentLoaded; + + /// + /// InitializeComponent + /// + [System.Diagnostics.DebuggerNonUserCodeAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "10.0.9.0")] + public void InitializeComponent() { + if (_contentLoaded) { + return; + } + _contentLoaded = true; + System.Uri resourceLocater = new System.Uri("/leak_test_project;component/views/homeview.xaml", System.UriKind.Relative); + + #line 1 "..\..\..\..\..\Views\HomeView.xaml" + System.Windows.Application.LoadComponent(this, resourceLocater); + + #line default + #line hidden + } + + [System.Diagnostics.DebuggerNonUserCodeAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "10.0.9.0")] + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] + [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes")] + [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Maintainability", "CA1502:AvoidExcessiveComplexity")] + [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1800:DoNotCastUnnecessarily")] + void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { + this._contentLoaded = true; + } + } +} + diff --git a/leak_test_project/obj/Release/net9.0-windows/win-x64/Views/ParametersWindow.baml b/leak_test_project/obj/Release/net9.0-windows/win-x64/Views/ParametersWindow.baml new file mode 100644 index 0000000..7626fec Binary files /dev/null and b/leak_test_project/obj/Release/net9.0-windows/win-x64/Views/ParametersWindow.baml differ diff --git a/leak_test_project/obj/Release/net9.0-windows/win-x64/Views/ParametersWindow.g.cs b/leak_test_project/obj/Release/net9.0-windows/win-x64/Views/ParametersWindow.g.cs new file mode 100644 index 0000000..5d960fa --- /dev/null +++ b/leak_test_project/obj/Release/net9.0-windows/win-x64/Views/ParametersWindow.g.cs @@ -0,0 +1,133 @@ +#pragma checksum "..\..\..\..\..\Views\ParametersWindow.xaml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "A81648EDB53F938D7C1F8027716079FB25BBFDC4" +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +using System; +using System.Diagnostics; +using System.Windows; +using System.Windows.Automation; +using System.Windows.Controls; +using System.Windows.Controls.Primitives; +using System.Windows.Controls.Ribbon; +using System.Windows.Data; +using System.Windows.Documents; +using System.Windows.Ink; +using System.Windows.Input; +using System.Windows.Markup; +using System.Windows.Media; +using System.Windows.Media.Animation; +using System.Windows.Media.Effects; +using System.Windows.Media.Imaging; +using System.Windows.Media.Media3D; +using System.Windows.Media.TextFormatting; +using System.Windows.Navigation; +using System.Windows.Shapes; +using System.Windows.Shell; + + +namespace leak_test_project.Views { + + + /// + /// ParametersWindow + /// + public partial class ParametersWindow : System.Windows.Window, System.Windows.Markup.IComponentConnector { + + + #line 79 "..\..\..\..\..\Views\ParametersWindow.xaml" + [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")] + internal System.Windows.Controls.TextBox editSpecUL; + + #line default + #line hidden + + + #line 89 "..\..\..\..\..\Views\ParametersWindow.xaml" + [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")] + internal System.Windows.Controls.TextBox editSpecLL; + + #line default + #line hidden + + + #line 99 "..\..\..\..\..\Views\ParametersWindow.xaml" + [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")] + internal System.Windows.Controls.Button btnSave; + + #line default + #line hidden + + + #line 100 "..\..\..\..\..\Views\ParametersWindow.xaml" + [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")] + internal System.Windows.Controls.Button btnClose; + + #line default + #line hidden + + private bool _contentLoaded; + + /// + /// InitializeComponent + /// + [System.Diagnostics.DebuggerNonUserCodeAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "10.0.9.0")] + public void InitializeComponent() { + if (_contentLoaded) { + return; + } + _contentLoaded = true; + System.Uri resourceLocater = new System.Uri("/leak_test_project;component/views/parameterswindow.xaml", System.UriKind.Relative); + + #line 1 "..\..\..\..\..\Views\ParametersWindow.xaml" + System.Windows.Application.LoadComponent(this, resourceLocater); + + #line default + #line hidden + } + + [System.Diagnostics.DebuggerNonUserCodeAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "10.0.9.0")] + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] + [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes")] + [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Maintainability", "CA1502:AvoidExcessiveComplexity")] + [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1800:DoNotCastUnnecessarily")] + void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { + switch (connectionId) + { + case 1: + this.editSpecUL = ((System.Windows.Controls.TextBox)(target)); + return; + case 2: + this.editSpecLL = ((System.Windows.Controls.TextBox)(target)); + return; + case 3: + this.btnSave = ((System.Windows.Controls.Button)(target)); + + #line 99 "..\..\..\..\..\Views\ParametersWindow.xaml" + this.btnSave.Click += new System.Windows.RoutedEventHandler(this.BtnSave_Click); + + #line default + #line hidden + return; + case 4: + this.btnClose = ((System.Windows.Controls.Button)(target)); + + #line 100 "..\..\..\..\..\Views\ParametersWindow.xaml" + this.btnClose.Click += new System.Windows.RoutedEventHandler(this.BtnClose_Click); + + #line default + #line hidden + return; + } + this._contentLoaded = true; + } + } +} + diff --git a/leak_test_project/obj/Release/net9.0-windows/win-x64/Views/StartupLoginWindow.baml b/leak_test_project/obj/Release/net9.0-windows/win-x64/Views/StartupLoginWindow.baml new file mode 100644 index 0000000..6d97241 Binary files /dev/null and b/leak_test_project/obj/Release/net9.0-windows/win-x64/Views/StartupLoginWindow.baml differ diff --git a/leak_test_project/obj/Release/net9.0-windows/win-x64/Views/StartupLoginWindow.g.cs b/leak_test_project/obj/Release/net9.0-windows/win-x64/Views/StartupLoginWindow.g.cs new file mode 100644 index 0000000..f49d137 --- /dev/null +++ b/leak_test_project/obj/Release/net9.0-windows/win-x64/Views/StartupLoginWindow.g.cs @@ -0,0 +1,193 @@ +#pragma checksum "..\..\..\..\..\Views\StartupLoginWindow.xaml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "38BA453D3B8549B5F4AB3478FDCC19CD769530B5" +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +using System; +using System.Diagnostics; +using System.Windows; +using System.Windows.Automation; +using System.Windows.Controls; +using System.Windows.Controls.Primitives; +using System.Windows.Controls.Ribbon; +using System.Windows.Data; +using System.Windows.Documents; +using System.Windows.Ink; +using System.Windows.Input; +using System.Windows.Markup; +using System.Windows.Media; +using System.Windows.Media.Animation; +using System.Windows.Media.Effects; +using System.Windows.Media.Imaging; +using System.Windows.Media.Media3D; +using System.Windows.Media.TextFormatting; +using System.Windows.Navigation; +using System.Windows.Shapes; +using System.Windows.Shell; + + +namespace Housing.Login { + + + /// + /// StartupLoginWindow + /// + public partial class StartupLoginWindow : System.Windows.Window, System.Windows.Markup.IComponentConnector { + + + #line 398 "..\..\..\..\..\Views\StartupLoginWindow.xaml" + [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")] + internal System.Windows.Controls.TextBox MakerTextBox; + + #line default + #line hidden + + + #line 415 "..\..\..\..\..\Views\StartupLoginWindow.xaml" + [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")] + internal System.Windows.Controls.TextBox ModelTextBox; + + #line default + #line hidden + + + #line 432 "..\..\..\..\..\Views\StartupLoginWindow.xaml" + [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")] + internal System.Windows.Controls.TextBox Variant1TextBox; + + #line default + #line hidden + + + #line 449 "..\..\..\..\..\Views\StartupLoginWindow.xaml" + [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")] + internal System.Windows.Controls.TextBox Variant2TextBox; + + #line default + #line hidden + + + #line 477 "..\..\..\..\..\Views\StartupLoginWindow.xaml" + [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")] + internal System.Windows.Controls.TextBox OperatorTextBox; + + #line default + #line hidden + + + #line 493 "..\..\..\..\..\Views\StartupLoginWindow.xaml" + [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")] + internal System.Windows.Controls.PasswordBox PasswordBox; + + #line default + #line hidden + + + #line 523 "..\..\..\..\..\Views\StartupLoginWindow.xaml" + [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")] + internal System.Windows.Controls.TextBox LineNoTextBox; + + #line default + #line hidden + + + #line 539 "..\..\..\..\..\Views\StartupLoginWindow.xaml" + [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")] + internal System.Windows.Controls.TextBox LotNoTextBox; + + #line default + #line hidden + + + #line 555 "..\..\..\..\..\Views\StartupLoginWindow.xaml" + [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")] + internal System.Windows.Controls.TextBox JigNoTextBox; + + #line default + #line hidden + + + #line 562 "..\..\..\..\..\Views\StartupLoginWindow.xaml" + [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")] + internal System.Windows.Controls.Button LoginButton; + + #line default + #line hidden + + private bool _contentLoaded; + + /// + /// InitializeComponent + /// + [System.Diagnostics.DebuggerNonUserCodeAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "10.0.9.0")] + public void InitializeComponent() { + if (_contentLoaded) { + return; + } + _contentLoaded = true; + System.Uri resourceLocater = new System.Uri("/leak_test_project;component/views/startuploginwindow.xaml", System.UriKind.Relative); + + #line 1 "..\..\..\..\..\Views\StartupLoginWindow.xaml" + System.Windows.Application.LoadComponent(this, resourceLocater); + + #line default + #line hidden + } + + [System.Diagnostics.DebuggerNonUserCodeAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "10.0.9.0")] + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] + [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes")] + [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Maintainability", "CA1502:AvoidExcessiveComplexity")] + [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1800:DoNotCastUnnecessarily")] + void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { + switch (connectionId) + { + case 1: + this.MakerTextBox = ((System.Windows.Controls.TextBox)(target)); + return; + case 2: + this.ModelTextBox = ((System.Windows.Controls.TextBox)(target)); + return; + case 3: + this.Variant1TextBox = ((System.Windows.Controls.TextBox)(target)); + return; + case 4: + this.Variant2TextBox = ((System.Windows.Controls.TextBox)(target)); + return; + case 5: + this.OperatorTextBox = ((System.Windows.Controls.TextBox)(target)); + return; + case 6: + this.PasswordBox = ((System.Windows.Controls.PasswordBox)(target)); + return; + case 7: + this.LineNoTextBox = ((System.Windows.Controls.TextBox)(target)); + return; + case 8: + this.LotNoTextBox = ((System.Windows.Controls.TextBox)(target)); + return; + case 9: + this.JigNoTextBox = ((System.Windows.Controls.TextBox)(target)); + return; + case 10: + this.LoginButton = ((System.Windows.Controls.Button)(target)); + + #line 566 "..\..\..\..\..\Views\StartupLoginWindow.xaml" + this.LoginButton.Click += new System.Windows.RoutedEventHandler(this.LogInButton_Click); + + #line default + #line hidden + return; + } + this._contentLoaded = true; + } + } +} + diff --git a/leak_test_project/obj/Release/net9.0-windows/win-x64/apphost.exe b/leak_test_project/obj/Release/net9.0-windows/win-x64/apphost.exe new file mode 100644 index 0000000..8e32a29 Binary files /dev/null and b/leak_test_project/obj/Release/net9.0-windows/win-x64/apphost.exe differ diff --git a/leak_test_project/obj/Release/net9.0-windows/win-x64/leak_tes.3FCAB636.Up2Date b/leak_test_project/obj/Release/net9.0-windows/win-x64/leak_tes.3FCAB636.Up2Date new file mode 100644 index 0000000..e69de29 diff --git a/leak_test_project/obj/Release/net9.0-windows/win-x64/leak_test_project.GeneratedMSBuildEditorConfig.editorconfig b/leak_test_project/obj/Release/net9.0-windows/win-x64/leak_test_project.GeneratedMSBuildEditorConfig.editorconfig new file mode 100644 index 0000000..4b6be98 --- /dev/null +++ b/leak_test_project/obj/Release/net9.0-windows/win-x64/leak_test_project.GeneratedMSBuildEditorConfig.editorconfig @@ -0,0 +1,19 @@ +is_global = true +build_property.TargetFramework = net9.0-windows +build_property.TargetFrameworkIdentifier = .NETCoreApp +build_property.TargetFrameworkVersion = v9.0 +build_property.TargetPlatformMinVersion = 7.0 +build_property.UsingMicrosoftNETSdkWeb = +build_property.ProjectTypeGuids = +build_property.InvariantGlobalization = +build_property.PlatformNeutralAssembly = +build_property.EnforceExtendedAnalyzerRules = +build_property.EntryPointFilePath = +build_property._SupportedPlatformList = Linux,macOS,Windows +build_property.RootNamespace = leak_test_project +build_property.ProjectDir = C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\ +build_property.EnableComHosting = +build_property.EnableGeneratedComInterfaceComImportInterop = +build_property.CsWinRTUseWindowsUIXamlProjections = false +build_property.EffectiveAnalysisLevelStyle = 9.0 +build_property.EnableCodeStyleSeverity = diff --git a/leak_test_project/obj/Release/net9.0-windows/win-x64/leak_test_project.GlobalUsings.g.cs b/leak_test_project/obj/Release/net9.0-windows/win-x64/leak_test_project.GlobalUsings.g.cs new file mode 100644 index 0000000..e6eff56 --- /dev/null +++ b/leak_test_project/obj/Release/net9.0-windows/win-x64/leak_test_project.GlobalUsings.g.cs @@ -0,0 +1,6 @@ +// +global using System; +global using System.Collections.Generic; +global using System.Linq; +global using System.Threading; +global using System.Threading.Tasks; diff --git a/leak_test_project/obj/Release/leak_test_project.Properties.Resources.resources b/leak_test_project/obj/Release/net9.0-windows/win-x64/leak_test_project.Properties.Resources.resources similarity index 100% rename from leak_test_project/obj/Release/leak_test_project.Properties.Resources.resources rename to leak_test_project/obj/Release/net9.0-windows/win-x64/leak_test_project.Properties.Resources.resources diff --git a/leak_test_project/obj/Release/net9.0-windows/win-x64/leak_test_project.assets.cache b/leak_test_project/obj/Release/net9.0-windows/win-x64/leak_test_project.assets.cache new file mode 100644 index 0000000..7b5268d Binary files /dev/null and b/leak_test_project/obj/Release/net9.0-windows/win-x64/leak_test_project.assets.cache differ diff --git a/leak_test_project/obj/Release/net9.0-windows/win-x64/leak_test_project.csproj.AssemblyReference.cache b/leak_test_project/obj/Release/net9.0-windows/win-x64/leak_test_project.csproj.AssemblyReference.cache new file mode 100644 index 0000000..86f9566 Binary files /dev/null and b/leak_test_project/obj/Release/net9.0-windows/win-x64/leak_test_project.csproj.AssemblyReference.cache differ diff --git a/leak_test_project/obj/Release/net9.0-windows/win-x64/leak_test_project.csproj.CoreCompileInputs.cache b/leak_test_project/obj/Release/net9.0-windows/win-x64/leak_test_project.csproj.CoreCompileInputs.cache new file mode 100644 index 0000000..76016d8 --- /dev/null +++ b/leak_test_project/obj/Release/net9.0-windows/win-x64/leak_test_project.csproj.CoreCompileInputs.cache @@ -0,0 +1 @@ +f4cf1c9cebaf2df71a8b52a6642cc9e19c32f767db7ab3215888ed1538f5eae6 diff --git a/leak_test_project/obj/Release/net9.0-windows/win-x64/leak_test_project.csproj.FileListAbsolute.txt b/leak_test_project/obj/Release/net9.0-windows/win-x64/leak_test_project.csproj.FileListAbsolute.txt new file mode 100644 index 0000000..9c2bfaf --- /dev/null +++ b/leak_test_project/obj/Release/net9.0-windows/win-x64/leak_test_project.csproj.FileListAbsolute.txt @@ -0,0 +1,430 @@ +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\Database.ini +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\PCI-Dask.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\leak_test_project.exe +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\leak_test_project.dll.config +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\leak_test_project.deps.json +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\leak_test_project.runtimeconfig.json +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\leak_test_project.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\leak_test_project.pdb +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\Microsoft.VisualStudio.Setup.Configuration.Interop.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\System.Data.SqlClient.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\System.IO.Ports.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\sni.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\Microsoft.CSharp.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\Microsoft.VisualBasic.Core.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\Microsoft.VisualBasic.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\Microsoft.Win32.Primitives.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\Microsoft.Win32.Registry.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\System.AppContext.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\System.Buffers.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\System.Collections.Concurrent.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\System.Collections.Immutable.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\System.Collections.NonGeneric.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\System.Collections.Specialized.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\System.Collections.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\System.ComponentModel.Annotations.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\System.ComponentModel.DataAnnotations.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\System.ComponentModel.EventBasedAsync.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\System.ComponentModel.Primitives.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\System.ComponentModel.TypeConverter.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\System.ComponentModel.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\System.Configuration.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\System.Console.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\System.Core.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\System.Data.Common.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\System.Data.DataSetExtensions.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\System.Data.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\System.Diagnostics.Contracts.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\System.Diagnostics.Debug.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\System.Diagnostics.DiagnosticSource.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\System.Diagnostics.FileVersionInfo.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\System.Diagnostics.Process.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\System.Diagnostics.StackTrace.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\System.Diagnostics.TextWriterTraceListener.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\System.Diagnostics.Tools.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\System.Diagnostics.TraceSource.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\System.Diagnostics.Tracing.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\System.Drawing.Primitives.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\System.Drawing.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\System.Dynamic.Runtime.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\System.Formats.Asn1.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\System.Formats.Tar.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\System.Globalization.Calendars.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\System.Globalization.Extensions.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\System.Globalization.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\System.IO.Compression.Brotli.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\System.IO.Compression.FileSystem.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\System.IO.Compression.ZipFile.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\System.IO.Compression.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\System.IO.FileSystem.AccessControl.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\System.IO.FileSystem.DriveInfo.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\System.IO.FileSystem.Primitives.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\System.IO.FileSystem.Watcher.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\System.IO.FileSystem.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\System.IO.IsolatedStorage.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\System.IO.MemoryMappedFiles.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\System.IO.Pipelines.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\System.IO.Pipes.AccessControl.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\System.IO.Pipes.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\System.IO.UnmanagedMemoryStream.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\System.IO.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\System.Linq.Expressions.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\System.Linq.Parallel.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\System.Linq.Queryable.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\System.Linq.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\System.Memory.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\System.Net.Http.Json.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\System.Net.Http.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\System.Net.HttpListener.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\System.Net.Mail.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\System.Net.NameResolution.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\System.Net.NetworkInformation.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\System.Net.Ping.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\System.Net.Primitives.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\System.Net.Quic.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\System.Net.Requests.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\System.Net.Security.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\System.Net.ServicePoint.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\System.Net.Sockets.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\System.Net.WebClient.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\System.Net.WebHeaderCollection.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\System.Net.WebProxy.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\System.Net.WebSockets.Client.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\System.Net.WebSockets.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\System.Net.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\System.Numerics.Vectors.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\System.Numerics.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\System.ObjectModel.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\System.Private.CoreLib.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\System.Private.DataContractSerialization.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\System.Private.Uri.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\System.Private.Xml.Linq.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\System.Private.Xml.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\System.Reflection.DispatchProxy.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\System.Reflection.Emit.ILGeneration.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\System.Reflection.Emit.Lightweight.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\System.Reflection.Emit.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\System.Reflection.Extensions.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\System.Reflection.Metadata.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\System.Reflection.Primitives.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\System.Reflection.TypeExtensions.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\System.Reflection.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\System.Resources.Reader.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\System.Resources.ResourceManager.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\System.Resources.Writer.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\System.Runtime.CompilerServices.Unsafe.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\System.Runtime.CompilerServices.VisualC.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\System.Runtime.Extensions.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\System.Runtime.Handles.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\System.Runtime.InteropServices.JavaScript.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\System.Runtime.InteropServices.RuntimeInformation.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\System.Runtime.InteropServices.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\System.Runtime.Intrinsics.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\System.Runtime.Loader.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\System.Runtime.Numerics.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\System.Runtime.Serialization.Formatters.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\System.Runtime.Serialization.Json.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\System.Runtime.Serialization.Primitives.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\System.Runtime.Serialization.Xml.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\System.Runtime.Serialization.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\System.Runtime.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\System.Security.AccessControl.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\System.Security.Claims.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\System.Security.Cryptography.Algorithms.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\System.Security.Cryptography.Cng.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\System.Security.Cryptography.Csp.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\System.Security.Cryptography.Encoding.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\System.Security.Cryptography.OpenSsl.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\System.Security.Cryptography.Primitives.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\System.Security.Cryptography.X509Certificates.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\System.Security.Cryptography.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\System.Security.Principal.Windows.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\System.Security.Principal.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\System.Security.SecureString.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\System.Security.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\System.ServiceModel.Web.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\System.ServiceProcess.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\System.Text.Encoding.CodePages.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\System.Text.Encoding.Extensions.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\System.Text.Encoding.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\System.Text.Encodings.Web.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\System.Text.Json.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\System.Text.RegularExpressions.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\System.Threading.Channels.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\System.Threading.Overlapped.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\System.Threading.Tasks.Dataflow.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\System.Threading.Tasks.Extensions.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\System.Threading.Tasks.Parallel.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\System.Threading.Tasks.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\System.Threading.Thread.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\System.Threading.ThreadPool.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\System.Threading.Timer.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\System.Threading.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\System.Transactions.Local.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\System.Transactions.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\System.ValueTuple.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\System.Web.HttpUtility.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\System.Web.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\System.Windows.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\System.Xml.Linq.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\System.Xml.ReaderWriter.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\System.Xml.Serialization.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\System.Xml.XDocument.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\System.Xml.XPath.XDocument.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\System.Xml.XPath.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\System.Xml.XmlDocument.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\System.Xml.XmlSerializer.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\System.Xml.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\System.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\mscorlib.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\netstandard.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\Accessibility.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\DirectWriteForwarder.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\Microsoft.Win32.Registry.AccessControl.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\Microsoft.Win32.SystemEvents.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\PresentationCore.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\PresentationFramework-SystemCore.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\PresentationFramework-SystemData.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\PresentationFramework-SystemDrawing.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\PresentationFramework-SystemXml.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\PresentationFramework-SystemXmlLinq.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\PresentationFramework.Aero.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\PresentationFramework.Aero2.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\PresentationFramework.AeroLite.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\PresentationFramework.Classic.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\PresentationFramework.Fluent.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\PresentationFramework.Luna.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\PresentationFramework.Royale.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\PresentationFramework.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\PresentationUI.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\ReachFramework.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\System.CodeDom.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\System.Configuration.ConfigurationManager.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\System.Diagnostics.EventLog.Messages.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\System.Diagnostics.EventLog.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\System.Diagnostics.PerformanceCounter.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\System.DirectoryServices.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\System.Formats.Nrbf.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\System.IO.Packaging.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\System.Printing.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\System.Resources.Extensions.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\System.Security.Cryptography.Pkcs.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\System.Security.Cryptography.ProtectedData.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\System.Security.Cryptography.Xml.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\System.Security.Permissions.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\System.Threading.AccessControl.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\System.Windows.Controls.Ribbon.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\System.Windows.Extensions.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\System.Windows.Input.Manipulations.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\System.Windows.Presentation.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\System.Xaml.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\UIAutomationClient.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\UIAutomationClientSideProviders.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\UIAutomationProvider.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\UIAutomationTypes.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\WindowsBase.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\Microsoft.DiaSymReader.Native.amd64.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\System.IO.Compression.Native.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\clretwrc.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\clrgc.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\clrgcexp.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\clrjit.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\coreclr.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\createdump.exe +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\hostfxr.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\hostpolicy.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\mscordaccore.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\mscordaccore_amd64_amd64_9.0.1726.26416.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\mscordbi.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\mscorrc.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\msquic.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\D3DCompiler_47_cor3.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\PenImc_cor3.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\PresentationNative_cor3.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\vcruntime140_cor3.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\wpfgfx_cor3.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\cs\PresentationCore.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\cs\PresentationFramework.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\cs\PresentationUI.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\cs\ReachFramework.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\cs\System.Windows.Controls.Ribbon.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\cs\System.Windows.Input.Manipulations.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\cs\System.Xaml.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\cs\UIAutomationClient.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\cs\UIAutomationClientSideProviders.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\cs\UIAutomationProvider.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\cs\UIAutomationTypes.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\cs\WindowsBase.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\de\PresentationCore.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\de\PresentationFramework.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\de\PresentationUI.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\de\ReachFramework.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\de\System.Windows.Controls.Ribbon.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\de\System.Windows.Input.Manipulations.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\de\System.Xaml.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\de\UIAutomationClient.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\de\UIAutomationClientSideProviders.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\de\UIAutomationProvider.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\de\UIAutomationTypes.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\de\WindowsBase.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\es\PresentationCore.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\es\PresentationFramework.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\es\PresentationUI.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\es\ReachFramework.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\es\System.Windows.Controls.Ribbon.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\es\System.Windows.Input.Manipulations.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\es\System.Xaml.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\es\UIAutomationClient.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\es\UIAutomationClientSideProviders.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\es\UIAutomationProvider.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\es\UIAutomationTypes.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\es\WindowsBase.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\fr\PresentationCore.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\fr\PresentationFramework.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\fr\PresentationUI.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\fr\ReachFramework.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\fr\System.Windows.Controls.Ribbon.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\fr\System.Windows.Input.Manipulations.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\fr\System.Xaml.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\fr\UIAutomationClient.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\fr\UIAutomationClientSideProviders.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\fr\UIAutomationProvider.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\fr\UIAutomationTypes.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\fr\WindowsBase.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\it\PresentationCore.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\it\PresentationFramework.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\it\PresentationUI.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\it\ReachFramework.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\it\System.Windows.Controls.Ribbon.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\it\System.Windows.Input.Manipulations.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\it\System.Xaml.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\it\UIAutomationClient.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\it\UIAutomationClientSideProviders.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\it\UIAutomationProvider.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\it\UIAutomationTypes.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\it\WindowsBase.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\ja\PresentationCore.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\ja\PresentationFramework.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\ja\PresentationUI.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\ja\ReachFramework.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\ja\System.Windows.Controls.Ribbon.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\ja\System.Windows.Input.Manipulations.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\ja\System.Xaml.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\ja\UIAutomationClient.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\ja\UIAutomationClientSideProviders.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\ja\UIAutomationProvider.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\ja\UIAutomationTypes.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\ja\WindowsBase.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\ko\PresentationCore.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\ko\PresentationFramework.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\ko\PresentationUI.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\ko\ReachFramework.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\ko\System.Windows.Controls.Ribbon.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\ko\System.Windows.Input.Manipulations.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\ko\System.Xaml.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\ko\UIAutomationClient.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\ko\UIAutomationClientSideProviders.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\ko\UIAutomationProvider.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\ko\UIAutomationTypes.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\ko\WindowsBase.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\pl\PresentationCore.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\pl\PresentationFramework.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\pl\PresentationUI.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\pl\ReachFramework.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\pl\System.Windows.Controls.Ribbon.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\pl\System.Windows.Input.Manipulations.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\pl\System.Xaml.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\pl\UIAutomationClient.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\pl\UIAutomationClientSideProviders.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\pl\UIAutomationProvider.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\pl\UIAutomationTypes.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\pl\WindowsBase.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\pt-BR\PresentationCore.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\pt-BR\PresentationFramework.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\pt-BR\PresentationUI.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\pt-BR\ReachFramework.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\pt-BR\System.Windows.Controls.Ribbon.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\pt-BR\System.Windows.Input.Manipulations.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\pt-BR\System.Xaml.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\pt-BR\UIAutomationClient.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\pt-BR\UIAutomationClientSideProviders.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\pt-BR\UIAutomationProvider.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\pt-BR\UIAutomationTypes.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\pt-BR\WindowsBase.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\ru\PresentationCore.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\ru\PresentationFramework.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\ru\PresentationUI.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\ru\ReachFramework.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\ru\System.Windows.Controls.Ribbon.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\ru\System.Windows.Input.Manipulations.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\ru\System.Xaml.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\ru\UIAutomationClient.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\ru\UIAutomationClientSideProviders.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\ru\UIAutomationProvider.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\ru\UIAutomationTypes.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\ru\WindowsBase.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\tr\PresentationCore.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\tr\PresentationFramework.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\tr\PresentationUI.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\tr\ReachFramework.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\tr\System.Windows.Controls.Ribbon.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\tr\System.Windows.Input.Manipulations.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\tr\System.Xaml.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\tr\UIAutomationClient.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\tr\UIAutomationClientSideProviders.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\tr\UIAutomationProvider.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\tr\UIAutomationTypes.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\tr\WindowsBase.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\zh-Hans\PresentationCore.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\zh-Hans\PresentationFramework.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\zh-Hans\PresentationUI.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\zh-Hans\ReachFramework.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\zh-Hans\System.Windows.Controls.Ribbon.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\zh-Hans\System.Windows.Input.Manipulations.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\zh-Hans\System.Xaml.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\zh-Hans\UIAutomationClient.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\zh-Hans\UIAutomationClientSideProviders.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\zh-Hans\UIAutomationProvider.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\zh-Hans\UIAutomationTypes.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\zh-Hans\WindowsBase.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\zh-Hant\PresentationCore.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\zh-Hant\PresentationFramework.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\zh-Hant\PresentationUI.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\zh-Hant\ReachFramework.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\zh-Hant\System.Windows.Controls.Ribbon.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\zh-Hant\System.Windows.Input.Manipulations.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\zh-Hant\System.Xaml.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\zh-Hant\UIAutomationClient.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\zh-Hant\UIAutomationClientSideProviders.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\zh-Hant\UIAutomationProvider.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\zh-Hant\UIAutomationTypes.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x64\zh-Hant\WindowsBase.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\obj\Release\net9.0-windows\win-x64\leak_test_project.csproj.AssemblyReference.cache +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\obj\Release\net9.0-windows\win-x64\Views\CommunicationWindow.baml +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\obj\Release\net9.0-windows\win-x64\Views\DataView.baml +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\obj\Release\net9.0-windows\win-x64\Views\ParametersWindow.baml +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\obj\Release\net9.0-windows\win-x64\Views\StartupLoginWindow.baml +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\obj\Release\net9.0-windows\win-x64\MainWindow.g.cs +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\obj\Release\net9.0-windows\win-x64\Views\CommunicationWindow.g.cs +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\obj\Release\net9.0-windows\win-x64\Views\DataView.g.cs +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\obj\Release\net9.0-windows\win-x64\Views\HomeView.g.cs +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\obj\Release\net9.0-windows\win-x64\Views\ParametersWindow.g.cs +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\obj\Release\net9.0-windows\win-x64\Views\StartupLoginWindow.g.cs +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\obj\Release\net9.0-windows\win-x64\App.g.cs +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\obj\Release\net9.0-windows\win-x64\GeneratedInternalTypeHelper.g.cs +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\obj\Release\net9.0-windows\win-x64\leak_test_project_MarkupCompile.cache +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\obj\Release\net9.0-windows\win-x64\leak_test_project_MarkupCompile.lref +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\obj\Release\net9.0-windows\win-x64\App.baml +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\obj\Release\net9.0-windows\win-x64\MainWindow.baml +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\obj\Release\net9.0-windows\win-x64\Views\HomeView.baml +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\obj\Release\net9.0-windows\win-x64\leak_test_project.g.resources +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\obj\Release\net9.0-windows\win-x64\leak_test_project.Properties.Resources.resources +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\obj\Release\net9.0-windows\win-x64\leak_test_project.csproj.GenerateResource.cache +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\obj\Release\net9.0-windows\win-x64\leak_test_project.GeneratedMSBuildEditorConfig.editorconfig +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\obj\Release\net9.0-windows\win-x64\leak_test_project.csproj.CoreCompileInputs.cache +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\obj\Release\net9.0-windows\win-x64\leak_tes.3FCAB636.Up2Date +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\obj\Release\net9.0-windows\win-x64\leak_test_project.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\obj\Release\net9.0-windows\win-x64\refint\leak_test_project.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\obj\Release\net9.0-windows\win-x64\leak_test_project.pdb +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\obj\Release\net9.0-windows\win-x64\leak_test_project.genruntimeconfig.cache +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\obj\Release\net9.0-windows\win-x64\ref\leak_test_project.dll diff --git a/leak_test_project/obj/Release/leak_test_project.csproj.GenerateResource.cache b/leak_test_project/obj/Release/net9.0-windows/win-x64/leak_test_project.csproj.GenerateResource.cache similarity index 100% rename from leak_test_project/obj/Release/leak_test_project.csproj.GenerateResource.cache rename to leak_test_project/obj/Release/net9.0-windows/win-x64/leak_test_project.csproj.GenerateResource.cache diff --git a/leak_test_project/obj/Release/net9.0-windows/win-x64/leak_test_project.dll b/leak_test_project/obj/Release/net9.0-windows/win-x64/leak_test_project.dll new file mode 100644 index 0000000..7308f6e Binary files /dev/null and b/leak_test_project/obj/Release/net9.0-windows/win-x64/leak_test_project.dll differ diff --git a/leak_test_project/obj/Release/net9.0-windows/win-x64/leak_test_project.g.resources b/leak_test_project/obj/Release/net9.0-windows/win-x64/leak_test_project.g.resources new file mode 100644 index 0000000..d4eecdf Binary files /dev/null and b/leak_test_project/obj/Release/net9.0-windows/win-x64/leak_test_project.g.resources differ diff --git a/leak_test_project/obj/Release/net9.0-windows/win-x64/leak_test_project.genruntimeconfig.cache b/leak_test_project/obj/Release/net9.0-windows/win-x64/leak_test_project.genruntimeconfig.cache new file mode 100644 index 0000000..ca85247 --- /dev/null +++ b/leak_test_project/obj/Release/net9.0-windows/win-x64/leak_test_project.genruntimeconfig.cache @@ -0,0 +1 @@ +4ee5a9729bad533f688e0bdf17bc3fa5ebc2213fd8ebfd7e896081e00a0b34c8 diff --git a/leak_test_project/obj/Release/net9.0-windows/win-x64/leak_test_project.pdb b/leak_test_project/obj/Release/net9.0-windows/win-x64/leak_test_project.pdb new file mode 100644 index 0000000..dc19ce1 Binary files /dev/null and b/leak_test_project/obj/Release/net9.0-windows/win-x64/leak_test_project.pdb differ diff --git a/leak_test_project/obj/Release/net9.0-windows/win-x64/leak_test_project_MarkupCompile.cache b/leak_test_project/obj/Release/net9.0-windows/win-x64/leak_test_project_MarkupCompile.cache new file mode 100644 index 0000000..deb2e6b --- /dev/null +++ b/leak_test_project/obj/Release/net9.0-windows/win-x64/leak_test_project_MarkupCompile.cache @@ -0,0 +1,20 @@ +leak_test_project + + +winexe +C# +.cs +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\obj\Release\net9.0-windows\win-x64\ +leak_test_project +none +false +TRACE;RELEASE;NET;NET9_0;NETCOREAPP;WINDOWS;WINDOWS7_0;NET5_0_OR_GREATER;NET6_0_OR_GREATER;NET7_0_OR_GREATER;NET8_0_OR_GREATER;NET9_0_OR_GREATER;NETCOREAPP3_0_OR_GREATER;NETCOREAPP3_1_OR_GREATER;WINDOWS7_0_OR_GREATER +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\App.xaml +62007517372 + +361127595283 +203-1172707555 +MainWindow.xaml;Views\CommunicationWindow.xaml;Views\DataView.xaml;Views\HomeView.xaml;Views\ParametersWindow.xaml;Views\StartupLoginWindow.xaml; + +False + diff --git a/leak_test_project/obj/Release/net9.0-windows/win-x64/leak_test_project_MarkupCompile.lref b/leak_test_project/obj/Release/net9.0-windows/win-x64/leak_test_project_MarkupCompile.lref new file mode 100644 index 0000000..765e087 --- /dev/null +++ b/leak_test_project/obj/Release/net9.0-windows/win-x64/leak_test_project_MarkupCompile.lref @@ -0,0 +1,5 @@ +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\obj\Release\net9.0-windows\win-x64\GeneratedInternalTypeHelper.g.cs +FC:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\App.xaml;; +FC:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\MainWindow.xaml;; +FC:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\Views\HomeView.xaml;; + diff --git a/leak_test_project/obj/Release/net9.0-windows/win-x64/leak_test_project_ljvosuar_wpftmp.GeneratedMSBuildEditorConfig.editorconfig b/leak_test_project/obj/Release/net9.0-windows/win-x64/leak_test_project_ljvosuar_wpftmp.GeneratedMSBuildEditorConfig.editorconfig new file mode 100644 index 0000000..4b6be98 --- /dev/null +++ b/leak_test_project/obj/Release/net9.0-windows/win-x64/leak_test_project_ljvosuar_wpftmp.GeneratedMSBuildEditorConfig.editorconfig @@ -0,0 +1,19 @@ +is_global = true +build_property.TargetFramework = net9.0-windows +build_property.TargetFrameworkIdentifier = .NETCoreApp +build_property.TargetFrameworkVersion = v9.0 +build_property.TargetPlatformMinVersion = 7.0 +build_property.UsingMicrosoftNETSdkWeb = +build_property.ProjectTypeGuids = +build_property.InvariantGlobalization = +build_property.PlatformNeutralAssembly = +build_property.EnforceExtendedAnalyzerRules = +build_property.EntryPointFilePath = +build_property._SupportedPlatformList = Linux,macOS,Windows +build_property.RootNamespace = leak_test_project +build_property.ProjectDir = C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\ +build_property.EnableComHosting = +build_property.EnableGeneratedComInterfaceComImportInterop = +build_property.CsWinRTUseWindowsUIXamlProjections = false +build_property.EffectiveAnalysisLevelStyle = 9.0 +build_property.EnableCodeStyleSeverity = diff --git a/leak_test_project/obj/Release/net9.0-windows/win-x64/leak_test_project_ljvosuar_wpftmp.GlobalUsings.g.cs b/leak_test_project/obj/Release/net9.0-windows/win-x64/leak_test_project_ljvosuar_wpftmp.GlobalUsings.g.cs new file mode 100644 index 0000000..e6eff56 --- /dev/null +++ b/leak_test_project/obj/Release/net9.0-windows/win-x64/leak_test_project_ljvosuar_wpftmp.GlobalUsings.g.cs @@ -0,0 +1,6 @@ +// +global using System; +global using System.Collections.Generic; +global using System.Linq; +global using System.Threading; +global using System.Threading.Tasks; diff --git a/leak_test_project/obj/Release/net9.0-windows/win-x64/leak_test_project_ljvosuar_wpftmp.assets.cache b/leak_test_project/obj/Release/net9.0-windows/win-x64/leak_test_project_ljvosuar_wpftmp.assets.cache new file mode 100644 index 0000000..cc3e0cf Binary files /dev/null and b/leak_test_project/obj/Release/net9.0-windows/win-x64/leak_test_project_ljvosuar_wpftmp.assets.cache differ diff --git a/leak_test_project/obj/Release/net9.0-windows/win-x64/ref/leak_test_project.dll b/leak_test_project/obj/Release/net9.0-windows/win-x64/ref/leak_test_project.dll new file mode 100644 index 0000000..a69c0e7 Binary files /dev/null and b/leak_test_project/obj/Release/net9.0-windows/win-x64/ref/leak_test_project.dll differ diff --git a/leak_test_project/obj/Release/net9.0-windows/win-x64/refint/leak_test_project.dll b/leak_test_project/obj/Release/net9.0-windows/win-x64/refint/leak_test_project.dll new file mode 100644 index 0000000..a69c0e7 Binary files /dev/null and b/leak_test_project/obj/Release/net9.0-windows/win-x64/refint/leak_test_project.dll differ diff --git a/leak_test_project/obj/Release/net9.0-windows/win-x86/.NETCoreApp,Version=v9.0.AssemblyAttributes.cs b/leak_test_project/obj/Release/net9.0-windows/win-x86/.NETCoreApp,Version=v9.0.AssemblyAttributes.cs new file mode 100644 index 0000000..feda5e9 --- /dev/null +++ b/leak_test_project/obj/Release/net9.0-windows/win-x86/.NETCoreApp,Version=v9.0.AssemblyAttributes.cs @@ -0,0 +1,4 @@ +// +using System; +using System.Reflection; +[assembly: global::System.Runtime.Versioning.TargetFrameworkAttribute(".NETCoreApp,Version=v9.0", FrameworkDisplayName = ".NET 9.0")] diff --git a/leak_test_project/obj/Release/net9.0-windows/win-x86/App.baml b/leak_test_project/obj/Release/net9.0-windows/win-x86/App.baml new file mode 100644 index 0000000..3767e9d Binary files /dev/null and b/leak_test_project/obj/Release/net9.0-windows/win-x86/App.baml differ diff --git a/leak_test_project/obj/Release/net9.0-windows/win-x86/App.g.cs b/leak_test_project/obj/Release/net9.0-windows/win-x86/App.g.cs new file mode 100644 index 0000000..836b318 --- /dev/null +++ b/leak_test_project/obj/Release/net9.0-windows/win-x86/App.g.cs @@ -0,0 +1,79 @@ +#pragma checksum "..\..\..\..\App.xaml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "2C9DBC57725FBA850BA48A200BD6B89548C1882D" +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +using System; +using System.Diagnostics; +using System.Windows; +using System.Windows.Automation; +using System.Windows.Controls; +using System.Windows.Controls.Primitives; +using System.Windows.Controls.Ribbon; +using System.Windows.Data; +using System.Windows.Documents; +using System.Windows.Ink; +using System.Windows.Input; +using System.Windows.Markup; +using System.Windows.Media; +using System.Windows.Media.Animation; +using System.Windows.Media.Effects; +using System.Windows.Media.Imaging; +using System.Windows.Media.Media3D; +using System.Windows.Media.TextFormatting; +using System.Windows.Navigation; +using System.Windows.Shapes; +using System.Windows.Shell; +using leak_test_project; +using leak_test_project.ViewModels; +using leak_test_project.Views; + + +namespace leak_test_project { + + + /// + /// App + /// + public partial class App : System.Windows.Application { + + private bool _contentLoaded; + + /// + /// InitializeComponent + /// + [System.Diagnostics.DebuggerNonUserCodeAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "10.0.9.0")] + public void InitializeComponent() { + if (_contentLoaded) { + return; + } + _contentLoaded = true; + System.Uri resourceLocater = new System.Uri("/leak_test_project;component/app.xaml", System.UriKind.Relative); + + #line 1 "..\..\..\..\App.xaml" + System.Windows.Application.LoadComponent(this, resourceLocater); + + #line default + #line hidden + } + + /// + /// Application Entry Point. + /// + [System.STAThreadAttribute()] + [System.Diagnostics.DebuggerNonUserCodeAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "10.0.9.0")] + public static void Main() { + leak_test_project.App app = new leak_test_project.App(); + app.InitializeComponent(); + app.Run(); + } + } +} + diff --git a/leak_test_project/obj/Release/GeneratedInternalTypeHelper.g.cs b/leak_test_project/obj/Release/net9.0-windows/win-x86/GeneratedInternalTypeHelper.g.cs similarity index 100% rename from leak_test_project/obj/Release/GeneratedInternalTypeHelper.g.cs rename to leak_test_project/obj/Release/net9.0-windows/win-x86/GeneratedInternalTypeHelper.g.cs diff --git a/leak_test_project/obj/Release/net9.0-windows/win-x86/MainWindow.baml b/leak_test_project/obj/Release/net9.0-windows/win-x86/MainWindow.baml new file mode 100644 index 0000000..74cfa24 Binary files /dev/null and b/leak_test_project/obj/Release/net9.0-windows/win-x86/MainWindow.baml differ diff --git a/leak_test_project/obj/Release/net9.0-windows/win-x86/MainWindow.g.cs b/leak_test_project/obj/Release/net9.0-windows/win-x86/MainWindow.g.cs new file mode 100644 index 0000000..2bfde04 --- /dev/null +++ b/leak_test_project/obj/Release/net9.0-windows/win-x86/MainWindow.g.cs @@ -0,0 +1,191 @@ +#pragma checksum "..\..\..\..\MainWindow.xaml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "BCEF04A2E87738D2F06DA355EB11BA30F322E42B" +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +using System; +using System.Diagnostics; +using System.Windows; +using System.Windows.Automation; +using System.Windows.Controls; +using System.Windows.Controls.Primitives; +using System.Windows.Controls.Ribbon; +using System.Windows.Data; +using System.Windows.Documents; +using System.Windows.Ink; +using System.Windows.Input; +using System.Windows.Markup; +using System.Windows.Media; +using System.Windows.Media.Animation; +using System.Windows.Media.Effects; +using System.Windows.Media.Imaging; +using System.Windows.Media.Media3D; +using System.Windows.Media.TextFormatting; +using System.Windows.Navigation; +using System.Windows.Shapes; +using System.Windows.Shell; +using leak_test_project.ViewModels; + + +namespace leak_test_project { + + + /// + /// MainWindow + /// + public partial class MainWindow : System.Windows.Window, System.Windows.Markup.IComponentConnector { + + + #line 66 "..\..\..\..\MainWindow.xaml" + [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")] + internal System.Windows.Controls.TextBlock txtCurrentDateTime; + + #line default + #line hidden + + + #line 75 "..\..\..\..\MainWindow.xaml" + [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")] + internal System.Windows.Controls.TextBlock txtOperatorInfo; + + #line default + #line hidden + + + #line 82 "..\..\..\..\MainWindow.xaml" + [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")] + internal System.Windows.Controls.TextBlock txtModelInfo; + + #line default + #line hidden + + + #line 89 "..\..\..\..\MainWindow.xaml" + [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")] + internal System.Windows.Controls.TextBlock txtLineInfo; + + #line default + #line hidden + + + #line 94 "..\..\..\..\MainWindow.xaml" + [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")] + internal System.Windows.Controls.Button btnLogout; + + #line default + #line hidden + + + #line 101 "..\..\..\..\MainWindow.xaml" + [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")] + internal System.Windows.Controls.Button btnMaximize; + + #line default + #line hidden + + + #line 102 "..\..\..\..\MainWindow.xaml" + [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")] + internal System.Windows.Controls.TextBlock txtMaximizeIcon; + + #line default + #line hidden + + private bool _contentLoaded; + + /// + /// InitializeComponent + /// + [System.Diagnostics.DebuggerNonUserCodeAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "10.0.9.0")] + public void InitializeComponent() { + if (_contentLoaded) { + return; + } + _contentLoaded = true; + System.Uri resourceLocater = new System.Uri("/leak_test_project;component/mainwindow.xaml", System.UriKind.Relative); + + #line 1 "..\..\..\..\MainWindow.xaml" + System.Windows.Application.LoadComponent(this, resourceLocater); + + #line default + #line hidden + } + + [System.Diagnostics.DebuggerNonUserCodeAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "10.0.9.0")] + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] + [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes")] + [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Maintainability", "CA1502:AvoidExcessiveComplexity")] + [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1800:DoNotCastUnnecessarily")] + void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { + switch (connectionId) + { + case 1: + + #line 8 "..\..\..\..\MainWindow.xaml" + ((leak_test_project.MainWindow)(target)).ContentRendered += new System.EventHandler(this.Window_ContentRendered); + + #line default + #line hidden + return; + case 2: + + #line 56 "..\..\..\..\MainWindow.xaml" + ((System.Windows.Controls.Border)(target)).MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.TopBar_MouseLeftButtonDown); + + #line default + #line hidden + return; + case 3: + this.txtCurrentDateTime = ((System.Windows.Controls.TextBlock)(target)); + return; + case 4: + this.txtOperatorInfo = ((System.Windows.Controls.TextBlock)(target)); + return; + case 5: + this.txtModelInfo = ((System.Windows.Controls.TextBlock)(target)); + return; + case 6: + this.txtLineInfo = ((System.Windows.Controls.TextBlock)(target)); + return; + case 7: + this.btnLogout = ((System.Windows.Controls.Button)(target)); + + #line 94 "..\..\..\..\MainWindow.xaml" + this.btnLogout.Click += new System.Windows.RoutedEventHandler(this.BtnLogout_Click); + + #line default + #line hidden + return; + case 8: + + #line 98 "..\..\..\..\MainWindow.xaml" + ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.BtnMinimize_Click); + + #line default + #line hidden + return; + case 9: + this.btnMaximize = ((System.Windows.Controls.Button)(target)); + + #line 101 "..\..\..\..\MainWindow.xaml" + this.btnMaximize.Click += new System.Windows.RoutedEventHandler(this.BtnMaximize_Click); + + #line default + #line hidden + return; + case 10: + this.txtMaximizeIcon = ((System.Windows.Controls.TextBlock)(target)); + return; + } + this._contentLoaded = true; + } + } +} + diff --git a/leak_test_project/obj/Release/net9.0-windows/win-x86/PublishOutputs.8fdb2c5366.txt b/leak_test_project/obj/Release/net9.0-windows/win-x86/PublishOutputs.8fdb2c5366.txt new file mode 100644 index 0000000..7282f2b --- /dev/null +++ b/leak_test_project/obj/Release/net9.0-windows/win-x86/PublishOutputs.8fdb2c5366.txt @@ -0,0 +1,400 @@ +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\publish\leak_test_project.exe +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\publish\Database.ini +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\publish\PCI-Dask.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\publish\leak_test_project.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\publish\leak_test_project.deps.json +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\publish\leak_test_project.runtimeconfig.json +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\publish\leak_test_project.dll.config +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\publish\leak_test_project.pdb +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\publish\Microsoft.CSharp.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\publish\Microsoft.VisualBasic.Core.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\publish\Microsoft.VisualBasic.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\publish\Microsoft.Win32.Primitives.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\publish\Microsoft.Win32.Registry.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\publish\System.AppContext.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\publish\System.Buffers.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\publish\System.Collections.Concurrent.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\publish\System.Collections.Immutable.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\publish\System.Collections.NonGeneric.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\publish\System.Collections.Specialized.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\publish\System.Collections.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\publish\System.ComponentModel.Annotations.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\publish\System.ComponentModel.DataAnnotations.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\publish\System.ComponentModel.EventBasedAsync.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\publish\System.ComponentModel.Primitives.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\publish\System.ComponentModel.TypeConverter.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\publish\System.ComponentModel.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\publish\System.Configuration.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\publish\System.Console.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\publish\System.Core.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\publish\System.Data.Common.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\publish\System.Data.DataSetExtensions.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\publish\System.Data.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\publish\System.Diagnostics.Contracts.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\publish\System.Diagnostics.Debug.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\publish\System.Diagnostics.DiagnosticSource.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\publish\System.Diagnostics.FileVersionInfo.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\publish\System.Diagnostics.Process.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\publish\System.Diagnostics.StackTrace.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\publish\System.Diagnostics.TextWriterTraceListener.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\publish\System.Diagnostics.Tools.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\publish\System.Diagnostics.TraceSource.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\publish\System.Diagnostics.Tracing.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\publish\System.Drawing.Primitives.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\publish\System.Drawing.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\publish\System.Dynamic.Runtime.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\publish\System.Formats.Asn1.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\publish\System.Formats.Tar.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\publish\System.Globalization.Calendars.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\publish\System.Globalization.Extensions.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\publish\System.Globalization.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\publish\System.IO.Compression.Brotli.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\publish\System.IO.Compression.FileSystem.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\publish\System.IO.Compression.ZipFile.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\publish\System.IO.Compression.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\publish\System.IO.FileSystem.AccessControl.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\publish\System.IO.FileSystem.DriveInfo.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\publish\System.IO.FileSystem.Primitives.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\publish\System.IO.FileSystem.Watcher.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\publish\System.IO.FileSystem.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\publish\System.IO.IsolatedStorage.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\publish\System.IO.MemoryMappedFiles.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\publish\System.IO.Pipelines.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\publish\System.IO.Pipes.AccessControl.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\publish\System.IO.Pipes.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\publish\System.IO.UnmanagedMemoryStream.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\publish\System.IO.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\publish\System.Linq.Expressions.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\publish\System.Linq.Parallel.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\publish\System.Linq.Queryable.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\publish\System.Linq.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\publish\System.Memory.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\publish\System.Net.Http.Json.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\publish\System.Net.Http.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\publish\System.Net.HttpListener.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\publish\System.Net.Mail.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\publish\System.Net.NameResolution.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\publish\System.Net.NetworkInformation.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\publish\System.Net.Ping.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\publish\System.Net.Primitives.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\publish\System.Net.Quic.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\publish\System.Net.Requests.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\publish\System.Net.Security.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\publish\System.Net.ServicePoint.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\publish\System.Net.Sockets.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\publish\System.Net.WebClient.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\publish\System.Net.WebHeaderCollection.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\publish\System.Net.WebProxy.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\publish\System.Net.WebSockets.Client.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\publish\System.Net.WebSockets.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\publish\System.Net.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\publish\System.Numerics.Vectors.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\publish\System.Numerics.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\publish\System.ObjectModel.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\publish\System.Private.CoreLib.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\publish\System.Private.DataContractSerialization.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\publish\System.Private.Uri.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\publish\System.Private.Xml.Linq.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\publish\System.Private.Xml.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\publish\System.Reflection.DispatchProxy.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\publish\System.Reflection.Emit.ILGeneration.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\publish\System.Reflection.Emit.Lightweight.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\publish\System.Reflection.Emit.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\publish\System.Reflection.Extensions.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\publish\System.Reflection.Metadata.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\publish\System.Reflection.Primitives.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\publish\System.Reflection.TypeExtensions.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\publish\System.Reflection.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\publish\System.Resources.Reader.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\publish\System.Resources.ResourceManager.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\publish\System.Resources.Writer.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\publish\System.Runtime.CompilerServices.Unsafe.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\publish\System.Runtime.CompilerServices.VisualC.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\publish\System.Runtime.Extensions.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\publish\System.Runtime.Handles.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\publish\System.Runtime.InteropServices.JavaScript.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\publish\System.Runtime.InteropServices.RuntimeInformation.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\publish\System.Runtime.InteropServices.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\publish\System.Runtime.Intrinsics.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\publish\System.Runtime.Loader.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\publish\System.Runtime.Numerics.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\publish\System.Runtime.Serialization.Formatters.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\publish\System.Runtime.Serialization.Json.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\publish\System.Runtime.Serialization.Primitives.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\publish\System.Runtime.Serialization.Xml.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\publish\System.Runtime.Serialization.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\publish\System.Runtime.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\publish\System.Security.AccessControl.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\publish\System.Security.Claims.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\publish\System.Security.Cryptography.Algorithms.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\publish\System.Security.Cryptography.Cng.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\publish\System.Security.Cryptography.Csp.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\publish\System.Security.Cryptography.Encoding.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\publish\System.Security.Cryptography.OpenSsl.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\publish\System.Security.Cryptography.Primitives.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\publish\System.Security.Cryptography.X509Certificates.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\publish\System.Security.Cryptography.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\publish\System.Security.Principal.Windows.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\publish\System.Security.Principal.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\publish\System.Security.SecureString.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\publish\System.Security.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\publish\System.ServiceModel.Web.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\publish\System.ServiceProcess.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\publish\System.Text.Encoding.CodePages.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\publish\System.Text.Encoding.Extensions.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\publish\System.Text.Encoding.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\publish\System.Text.Encodings.Web.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\publish\System.Text.Json.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\publish\System.Text.RegularExpressions.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\publish\System.Threading.Channels.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\publish\System.Threading.Overlapped.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\publish\System.Threading.Tasks.Dataflow.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\publish\System.Threading.Tasks.Extensions.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\publish\System.Threading.Tasks.Parallel.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\publish\System.Threading.Tasks.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\publish\System.Threading.Thread.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\publish\System.Threading.ThreadPool.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\publish\System.Threading.Timer.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\publish\System.Threading.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\publish\System.Transactions.Local.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\publish\System.Transactions.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\publish\System.ValueTuple.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\publish\System.Web.HttpUtility.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\publish\System.Web.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\publish\System.Windows.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\publish\System.Xml.Linq.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\publish\System.Xml.ReaderWriter.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\publish\System.Xml.Serialization.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\publish\System.Xml.XDocument.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\publish\System.Xml.XPath.XDocument.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\publish\System.Xml.XPath.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\publish\System.Xml.XmlDocument.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\publish\System.Xml.XmlSerializer.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\publish\System.Xml.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\publish\System.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\publish\mscorlib.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\publish\netstandard.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\publish\Accessibility.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\publish\DirectWriteForwarder.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\publish\Microsoft.Win32.Registry.AccessControl.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\publish\Microsoft.Win32.SystemEvents.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\publish\PresentationCore.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\publish\PresentationFramework-SystemCore.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\publish\PresentationFramework-SystemData.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\publish\PresentationFramework-SystemDrawing.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\publish\PresentationFramework-SystemXml.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\publish\PresentationFramework-SystemXmlLinq.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\publish\PresentationFramework.Aero.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\publish\PresentationFramework.Aero2.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\publish\PresentationFramework.AeroLite.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\publish\PresentationFramework.Classic.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\publish\PresentationFramework.Fluent.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\publish\PresentationFramework.Luna.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\publish\PresentationFramework.Royale.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\publish\PresentationFramework.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\publish\PresentationUI.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\publish\ReachFramework.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\publish\System.CodeDom.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\publish\System.Configuration.ConfigurationManager.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\publish\System.Diagnostics.EventLog.Messages.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\publish\System.Diagnostics.EventLog.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\publish\System.Diagnostics.PerformanceCounter.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\publish\System.DirectoryServices.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\publish\System.Formats.Nrbf.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\publish\System.IO.Packaging.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\publish\System.Printing.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\publish\System.Resources.Extensions.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\publish\System.Security.Cryptography.Pkcs.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\publish\System.Security.Cryptography.ProtectedData.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\publish\System.Security.Cryptography.Xml.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\publish\System.Security.Permissions.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\publish\System.Threading.AccessControl.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\publish\System.Windows.Controls.Ribbon.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\publish\System.Windows.Extensions.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\publish\System.Windows.Input.Manipulations.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\publish\System.Windows.Presentation.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\publish\System.Xaml.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\publish\UIAutomationClient.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\publish\UIAutomationClientSideProviders.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\publish\UIAutomationProvider.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\publish\UIAutomationTypes.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\publish\WindowsBase.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\publish\Microsoft.DiaSymReader.Native.x86.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\publish\System.IO.Compression.Native.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\publish\clretwrc.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\publish\clrgc.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\publish\clrjit.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\publish\coreclr.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\publish\createdump.exe +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\publish\hostfxr.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\publish\hostpolicy.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\publish\mscordaccore.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\publish\mscordaccore_x86_x86_9.0.1726.26416.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\publish\mscordbi.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\publish\mscorrc.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\publish\msquic.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\publish\D3DCompiler_47_cor3.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\publish\PenImc_cor3.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\publish\PresentationNative_cor3.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\publish\vcruntime140_cor3.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\publish\wpfgfx_cor3.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\publish\cs\PresentationCore.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\publish\cs\PresentationFramework.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\publish\cs\PresentationUI.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\publish\cs\ReachFramework.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\publish\cs\System.Windows.Controls.Ribbon.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\publish\cs\System.Windows.Input.Manipulations.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\publish\cs\System.Xaml.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\publish\cs\UIAutomationClient.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\publish\cs\UIAutomationClientSideProviders.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\publish\cs\UIAutomationProvider.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\publish\cs\UIAutomationTypes.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\publish\cs\WindowsBase.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\publish\de\PresentationCore.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\publish\de\PresentationFramework.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\publish\de\PresentationUI.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\publish\de\ReachFramework.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\publish\de\System.Windows.Controls.Ribbon.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\publish\de\System.Windows.Input.Manipulations.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\publish\de\System.Xaml.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\publish\de\UIAutomationClient.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\publish\de\UIAutomationClientSideProviders.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\publish\de\UIAutomationProvider.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\publish\de\UIAutomationTypes.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\publish\de\WindowsBase.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\publish\es\PresentationCore.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\publish\es\PresentationFramework.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\publish\es\PresentationUI.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\publish\es\ReachFramework.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\publish\es\System.Windows.Controls.Ribbon.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\publish\es\System.Windows.Input.Manipulations.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\publish\es\System.Xaml.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\publish\es\UIAutomationClient.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\publish\es\UIAutomationClientSideProviders.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\publish\es\UIAutomationProvider.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\publish\es\UIAutomationTypes.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\publish\es\WindowsBase.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\publish\fr\PresentationCore.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\publish\fr\PresentationFramework.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\publish\fr\PresentationUI.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\publish\fr\ReachFramework.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\publish\fr\System.Windows.Controls.Ribbon.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\publish\fr\System.Windows.Input.Manipulations.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\publish\fr\System.Xaml.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\publish\fr\UIAutomationClient.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\publish\fr\UIAutomationClientSideProviders.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\publish\fr\UIAutomationProvider.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\publish\fr\UIAutomationTypes.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\publish\fr\WindowsBase.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\publish\it\PresentationCore.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\publish\it\PresentationFramework.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\publish\it\PresentationUI.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\publish\it\ReachFramework.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\publish\it\System.Windows.Controls.Ribbon.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\publish\it\System.Windows.Input.Manipulations.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\publish\it\System.Xaml.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\publish\it\UIAutomationClient.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\publish\it\UIAutomationClientSideProviders.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\publish\it\UIAutomationProvider.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\publish\it\UIAutomationTypes.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\publish\it\WindowsBase.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\publish\ja\PresentationCore.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\publish\ja\PresentationFramework.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\publish\ja\PresentationUI.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\publish\ja\ReachFramework.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\publish\ja\System.Windows.Controls.Ribbon.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\publish\ja\System.Windows.Input.Manipulations.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\publish\ja\System.Xaml.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\publish\ja\UIAutomationClient.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\publish\ja\UIAutomationClientSideProviders.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\publish\ja\UIAutomationProvider.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\publish\ja\UIAutomationTypes.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\publish\ja\WindowsBase.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\publish\ko\PresentationCore.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\publish\ko\PresentationFramework.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\publish\ko\PresentationUI.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\publish\ko\ReachFramework.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\publish\ko\System.Windows.Controls.Ribbon.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\publish\ko\System.Windows.Input.Manipulations.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\publish\ko\System.Xaml.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\publish\ko\UIAutomationClient.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\publish\ko\UIAutomationClientSideProviders.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\publish\ko\UIAutomationProvider.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\publish\ko\UIAutomationTypes.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\publish\ko\WindowsBase.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\publish\pl\PresentationCore.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\publish\pl\PresentationFramework.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\publish\pl\PresentationUI.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\publish\pl\ReachFramework.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\publish\pl\System.Windows.Controls.Ribbon.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\publish\pl\System.Windows.Input.Manipulations.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\publish\pl\System.Xaml.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\publish\pl\UIAutomationClient.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\publish\pl\UIAutomationClientSideProviders.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\publish\pl\UIAutomationProvider.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\publish\pl\UIAutomationTypes.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\publish\pl\WindowsBase.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\publish\pt-BR\PresentationCore.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\publish\pt-BR\PresentationFramework.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\publish\pt-BR\PresentationUI.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\publish\pt-BR\ReachFramework.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\publish\pt-BR\System.Windows.Controls.Ribbon.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\publish\pt-BR\System.Windows.Input.Manipulations.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\publish\pt-BR\System.Xaml.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\publish\pt-BR\UIAutomationClient.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\publish\pt-BR\UIAutomationClientSideProviders.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\publish\pt-BR\UIAutomationProvider.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\publish\pt-BR\UIAutomationTypes.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\publish\pt-BR\WindowsBase.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\publish\ru\PresentationCore.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\publish\ru\PresentationFramework.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\publish\ru\PresentationUI.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\publish\ru\ReachFramework.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\publish\ru\System.Windows.Controls.Ribbon.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\publish\ru\System.Windows.Input.Manipulations.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\publish\ru\System.Xaml.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\publish\ru\UIAutomationClient.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\publish\ru\UIAutomationClientSideProviders.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\publish\ru\UIAutomationProvider.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\publish\ru\UIAutomationTypes.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\publish\ru\WindowsBase.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\publish\tr\PresentationCore.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\publish\tr\PresentationFramework.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\publish\tr\PresentationUI.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\publish\tr\ReachFramework.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\publish\tr\System.Windows.Controls.Ribbon.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\publish\tr\System.Windows.Input.Manipulations.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\publish\tr\System.Xaml.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\publish\tr\UIAutomationClient.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\publish\tr\UIAutomationClientSideProviders.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\publish\tr\UIAutomationProvider.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\publish\tr\UIAutomationTypes.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\publish\tr\WindowsBase.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\publish\zh-Hans\PresentationCore.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\publish\zh-Hans\PresentationFramework.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\publish\zh-Hans\PresentationUI.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\publish\zh-Hans\ReachFramework.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\publish\zh-Hans\System.Windows.Controls.Ribbon.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\publish\zh-Hans\System.Windows.Input.Manipulations.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\publish\zh-Hans\System.Xaml.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\publish\zh-Hans\UIAutomationClient.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\publish\zh-Hans\UIAutomationClientSideProviders.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\publish\zh-Hans\UIAutomationProvider.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\publish\zh-Hans\UIAutomationTypes.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\publish\zh-Hans\WindowsBase.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\publish\zh-Hant\PresentationCore.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\publish\zh-Hant\PresentationFramework.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\publish\zh-Hant\PresentationUI.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\publish\zh-Hant\ReachFramework.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\publish\zh-Hant\System.Windows.Controls.Ribbon.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\publish\zh-Hant\System.Windows.Input.Manipulations.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\publish\zh-Hant\System.Xaml.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\publish\zh-Hant\UIAutomationClient.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\publish\zh-Hant\UIAutomationClientSideProviders.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\publish\zh-Hant\UIAutomationProvider.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\publish\zh-Hant\UIAutomationTypes.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\publish\zh-Hant\WindowsBase.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\publish\Microsoft.VisualStudio.Setup.Configuration.Interop.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\publish\System.Data.SqlClient.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\publish\System.IO.Ports.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\publish\sni.dll diff --git a/leak_test_project/obj/Release/net9.0-windows/win-x86/Views/CommunicationWindow.baml b/leak_test_project/obj/Release/net9.0-windows/win-x86/Views/CommunicationWindow.baml new file mode 100644 index 0000000..430180e Binary files /dev/null and b/leak_test_project/obj/Release/net9.0-windows/win-x86/Views/CommunicationWindow.baml differ diff --git a/leak_test_project/obj/Release/net9.0-windows/win-x86/Views/CommunicationWindow.g.cs b/leak_test_project/obj/Release/net9.0-windows/win-x86/Views/CommunicationWindow.g.cs new file mode 100644 index 0000000..9163553 --- /dev/null +++ b/leak_test_project/obj/Release/net9.0-windows/win-x86/Views/CommunicationWindow.g.cs @@ -0,0 +1,155 @@ +#pragma checksum "..\..\..\..\..\Views\CommunicationWindow.xaml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "5577DF64786E1B37F0D8450695B8B90B36B03544" +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +using System; +using System.Diagnostics; +using System.Windows; +using System.Windows.Automation; +using System.Windows.Controls; +using System.Windows.Controls.Primitives; +using System.Windows.Controls.Ribbon; +using System.Windows.Data; +using System.Windows.Documents; +using System.Windows.Ink; +using System.Windows.Input; +using System.Windows.Markup; +using System.Windows.Media; +using System.Windows.Media.Animation; +using System.Windows.Media.Effects; +using System.Windows.Media.Imaging; +using System.Windows.Media.Media3D; +using System.Windows.Media.TextFormatting; +using System.Windows.Navigation; +using System.Windows.Shapes; +using System.Windows.Shell; + + +namespace leak_test_project.Views { + + + /// + /// CommunicationWindow + /// + public partial class CommunicationWindow : System.Windows.Window, System.Windows.Markup.IComponentConnector { + + + #line 75 "..\..\..\..\..\Views\CommunicationWindow.xaml" + [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")] + internal System.Windows.Controls.ComboBox cbBoard4251BaudRate; + + #line default + #line hidden + + + #line 90 "..\..\..\..\..\Views\CommunicationWindow.xaml" + [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")] + internal System.Windows.Controls.ComboBox cbBoard4251Port; + + #line default + #line hidden + + + #line 105 "..\..\..\..\..\Views\CommunicationWindow.xaml" + [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")] + internal System.Windows.Controls.ComboBox cbSensorBaudRate; + + #line default + #line hidden + + + #line 120 "..\..\..\..\..\Views\CommunicationWindow.xaml" + [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")] + internal System.Windows.Controls.ComboBox cbSensorPort; + + #line default + #line hidden + + + #line 130 "..\..\..\..\..\Views\CommunicationWindow.xaml" + [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")] + internal System.Windows.Controls.Button btnSave; + + #line default + #line hidden + + + #line 131 "..\..\..\..\..\Views\CommunicationWindow.xaml" + [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")] + internal System.Windows.Controls.Button btnClose; + + #line default + #line hidden + + private bool _contentLoaded; + + /// + /// InitializeComponent + /// + [System.Diagnostics.DebuggerNonUserCodeAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "10.0.9.0")] + public void InitializeComponent() { + if (_contentLoaded) { + return; + } + _contentLoaded = true; + System.Uri resourceLocater = new System.Uri("/leak_test_project;component/views/communicationwindow.xaml", System.UriKind.Relative); + + #line 1 "..\..\..\..\..\Views\CommunicationWindow.xaml" + System.Windows.Application.LoadComponent(this, resourceLocater); + + #line default + #line hidden + } + + [System.Diagnostics.DebuggerNonUserCodeAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "10.0.9.0")] + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] + [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes")] + [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Maintainability", "CA1502:AvoidExcessiveComplexity")] + [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1800:DoNotCastUnnecessarily")] + void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { + switch (connectionId) + { + case 1: + this.cbBoard4251BaudRate = ((System.Windows.Controls.ComboBox)(target)); + return; + case 2: + this.cbBoard4251Port = ((System.Windows.Controls.ComboBox)(target)); + return; + case 3: + this.cbSensorBaudRate = ((System.Windows.Controls.ComboBox)(target)); + return; + case 4: + this.cbSensorPort = ((System.Windows.Controls.ComboBox)(target)); + return; + case 5: + this.btnSave = ((System.Windows.Controls.Button)(target)); + + #line 130 "..\..\..\..\..\Views\CommunicationWindow.xaml" + this.btnSave.Click += new System.Windows.RoutedEventHandler(this.BtnSave_Click); + + #line default + #line hidden + return; + case 6: + this.btnClose = ((System.Windows.Controls.Button)(target)); + + #line 131 "..\..\..\..\..\Views\CommunicationWindow.xaml" + this.btnClose.Click += new System.Windows.RoutedEventHandler(this.BtnClose_Click); + + #line default + #line hidden + return; + } + this._contentLoaded = true; + } + } +} + diff --git a/leak_test_project/obj/Release/net9.0-windows/win-x86/Views/DataView.baml b/leak_test_project/obj/Release/net9.0-windows/win-x86/Views/DataView.baml new file mode 100644 index 0000000..7b4a118 Binary files /dev/null and b/leak_test_project/obj/Release/net9.0-windows/win-x86/Views/DataView.baml differ diff --git a/leak_test_project/obj/Release/net9.0-windows/win-x86/Views/DataView.g.cs b/leak_test_project/obj/Release/net9.0-windows/win-x86/Views/DataView.g.cs new file mode 100644 index 0000000..aae91bc --- /dev/null +++ b/leak_test_project/obj/Release/net9.0-windows/win-x86/Views/DataView.g.cs @@ -0,0 +1,93 @@ +#pragma checksum "..\..\..\..\..\Views\DataView.xaml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "168E04ECAE869546705967F320C1997339F48A3E" +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +using System; +using System.Diagnostics; +using System.Windows; +using System.Windows.Automation; +using System.Windows.Controls; +using System.Windows.Controls.Primitives; +using System.Windows.Controls.Ribbon; +using System.Windows.Data; +using System.Windows.Documents; +using System.Windows.Ink; +using System.Windows.Input; +using System.Windows.Markup; +using System.Windows.Media; +using System.Windows.Media.Animation; +using System.Windows.Media.Effects; +using System.Windows.Media.Imaging; +using System.Windows.Media.Media3D; +using System.Windows.Media.TextFormatting; +using System.Windows.Navigation; +using System.Windows.Shapes; +using System.Windows.Shell; + + +namespace leak_test_project.Views { + + + /// + /// DataView + /// + public partial class DataView : System.Windows.Controls.UserControl, System.Windows.Markup.IComponentConnector { + + private bool _contentLoaded; + + /// + /// InitializeComponent + /// + [System.Diagnostics.DebuggerNonUserCodeAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "10.0.9.0")] + public void InitializeComponent() { + if (_contentLoaded) { + return; + } + _contentLoaded = true; + System.Uri resourceLocater = new System.Uri("/leak_test_project;component/views/dataview.xaml", System.UriKind.Relative); + + #line 1 "..\..\..\..\..\Views\DataView.xaml" + System.Windows.Application.LoadComponent(this, resourceLocater); + + #line default + #line hidden + } + + [System.Diagnostics.DebuggerNonUserCodeAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "10.0.9.0")] + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] + [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes")] + [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Maintainability", "CA1502:AvoidExcessiveComplexity")] + [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1800:DoNotCastUnnecessarily")] + void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { + switch (connectionId) + { + case 1: + + #line 169 "..\..\..\..\..\Views\DataView.xaml" + ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click); + + #line default + #line hidden + return; + case 2: + + #line 180 "..\..\..\..\..\Views\DataView.xaml" + ((System.Windows.Controls.DataGrid)(target)).SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.DataGrid_SelectionChanged); + + #line default + #line hidden + return; + } + this._contentLoaded = true; + } + } +} + diff --git a/leak_test_project/obj/Release/net9.0-windows/win-x86/Views/HomeView.baml b/leak_test_project/obj/Release/net9.0-windows/win-x86/Views/HomeView.baml new file mode 100644 index 0000000..8c2b612 Binary files /dev/null and b/leak_test_project/obj/Release/net9.0-windows/win-x86/Views/HomeView.baml differ diff --git a/leak_test_project/obj/Release/net9.0-windows/win-x86/Views/HomeView.g.cs b/leak_test_project/obj/Release/net9.0-windows/win-x86/Views/HomeView.g.cs new file mode 100644 index 0000000..dd8e51e --- /dev/null +++ b/leak_test_project/obj/Release/net9.0-windows/win-x86/Views/HomeView.g.cs @@ -0,0 +1,75 @@ +#pragma checksum "..\..\..\..\..\Views\HomeView.xaml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "817875EAD263AC23E75C01B4D6F33E4F99788939" +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +using System; +using System.Diagnostics; +using System.Windows; +using System.Windows.Automation; +using System.Windows.Controls; +using System.Windows.Controls.Primitives; +using System.Windows.Controls.Ribbon; +using System.Windows.Data; +using System.Windows.Documents; +using System.Windows.Ink; +using System.Windows.Input; +using System.Windows.Markup; +using System.Windows.Media; +using System.Windows.Media.Animation; +using System.Windows.Media.Effects; +using System.Windows.Media.Imaging; +using System.Windows.Media.Media3D; +using System.Windows.Media.TextFormatting; +using System.Windows.Navigation; +using System.Windows.Shapes; +using System.Windows.Shell; +using leak_test_project.Views; + + +namespace leak_test_project.Views { + + + /// + /// HomeView + /// + public partial class HomeView : System.Windows.Controls.UserControl, System.Windows.Markup.IComponentConnector { + + private bool _contentLoaded; + + /// + /// InitializeComponent + /// + [System.Diagnostics.DebuggerNonUserCodeAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "10.0.9.0")] + public void InitializeComponent() { + if (_contentLoaded) { + return; + } + _contentLoaded = true; + System.Uri resourceLocater = new System.Uri("/leak_test_project;component/views/homeview.xaml", System.UriKind.Relative); + + #line 1 "..\..\..\..\..\Views\HomeView.xaml" + System.Windows.Application.LoadComponent(this, resourceLocater); + + #line default + #line hidden + } + + [System.Diagnostics.DebuggerNonUserCodeAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "10.0.9.0")] + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] + [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes")] + [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Maintainability", "CA1502:AvoidExcessiveComplexity")] + [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1800:DoNotCastUnnecessarily")] + void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { + this._contentLoaded = true; + } + } +} + diff --git a/leak_test_project/obj/Release/net9.0-windows/win-x86/Views/ParametersWindow.baml b/leak_test_project/obj/Release/net9.0-windows/win-x86/Views/ParametersWindow.baml new file mode 100644 index 0000000..7626fec Binary files /dev/null and b/leak_test_project/obj/Release/net9.0-windows/win-x86/Views/ParametersWindow.baml differ diff --git a/leak_test_project/obj/Release/net9.0-windows/win-x86/Views/ParametersWindow.g.cs b/leak_test_project/obj/Release/net9.0-windows/win-x86/Views/ParametersWindow.g.cs new file mode 100644 index 0000000..5d960fa --- /dev/null +++ b/leak_test_project/obj/Release/net9.0-windows/win-x86/Views/ParametersWindow.g.cs @@ -0,0 +1,133 @@ +#pragma checksum "..\..\..\..\..\Views\ParametersWindow.xaml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "A81648EDB53F938D7C1F8027716079FB25BBFDC4" +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +using System; +using System.Diagnostics; +using System.Windows; +using System.Windows.Automation; +using System.Windows.Controls; +using System.Windows.Controls.Primitives; +using System.Windows.Controls.Ribbon; +using System.Windows.Data; +using System.Windows.Documents; +using System.Windows.Ink; +using System.Windows.Input; +using System.Windows.Markup; +using System.Windows.Media; +using System.Windows.Media.Animation; +using System.Windows.Media.Effects; +using System.Windows.Media.Imaging; +using System.Windows.Media.Media3D; +using System.Windows.Media.TextFormatting; +using System.Windows.Navigation; +using System.Windows.Shapes; +using System.Windows.Shell; + + +namespace leak_test_project.Views { + + + /// + /// ParametersWindow + /// + public partial class ParametersWindow : System.Windows.Window, System.Windows.Markup.IComponentConnector { + + + #line 79 "..\..\..\..\..\Views\ParametersWindow.xaml" + [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")] + internal System.Windows.Controls.TextBox editSpecUL; + + #line default + #line hidden + + + #line 89 "..\..\..\..\..\Views\ParametersWindow.xaml" + [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")] + internal System.Windows.Controls.TextBox editSpecLL; + + #line default + #line hidden + + + #line 99 "..\..\..\..\..\Views\ParametersWindow.xaml" + [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")] + internal System.Windows.Controls.Button btnSave; + + #line default + #line hidden + + + #line 100 "..\..\..\..\..\Views\ParametersWindow.xaml" + [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")] + internal System.Windows.Controls.Button btnClose; + + #line default + #line hidden + + private bool _contentLoaded; + + /// + /// InitializeComponent + /// + [System.Diagnostics.DebuggerNonUserCodeAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "10.0.9.0")] + public void InitializeComponent() { + if (_contentLoaded) { + return; + } + _contentLoaded = true; + System.Uri resourceLocater = new System.Uri("/leak_test_project;component/views/parameterswindow.xaml", System.UriKind.Relative); + + #line 1 "..\..\..\..\..\Views\ParametersWindow.xaml" + System.Windows.Application.LoadComponent(this, resourceLocater); + + #line default + #line hidden + } + + [System.Diagnostics.DebuggerNonUserCodeAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "10.0.9.0")] + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] + [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes")] + [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Maintainability", "CA1502:AvoidExcessiveComplexity")] + [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1800:DoNotCastUnnecessarily")] + void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { + switch (connectionId) + { + case 1: + this.editSpecUL = ((System.Windows.Controls.TextBox)(target)); + return; + case 2: + this.editSpecLL = ((System.Windows.Controls.TextBox)(target)); + return; + case 3: + this.btnSave = ((System.Windows.Controls.Button)(target)); + + #line 99 "..\..\..\..\..\Views\ParametersWindow.xaml" + this.btnSave.Click += new System.Windows.RoutedEventHandler(this.BtnSave_Click); + + #line default + #line hidden + return; + case 4: + this.btnClose = ((System.Windows.Controls.Button)(target)); + + #line 100 "..\..\..\..\..\Views\ParametersWindow.xaml" + this.btnClose.Click += new System.Windows.RoutedEventHandler(this.BtnClose_Click); + + #line default + #line hidden + return; + } + this._contentLoaded = true; + } + } +} + diff --git a/leak_test_project/obj/Release/net9.0-windows/win-x86/Views/StartupLoginWindow.baml b/leak_test_project/obj/Release/net9.0-windows/win-x86/Views/StartupLoginWindow.baml new file mode 100644 index 0000000..6d97241 Binary files /dev/null and b/leak_test_project/obj/Release/net9.0-windows/win-x86/Views/StartupLoginWindow.baml differ diff --git a/leak_test_project/obj/Release/net9.0-windows/win-x86/Views/StartupLoginWindow.g.cs b/leak_test_project/obj/Release/net9.0-windows/win-x86/Views/StartupLoginWindow.g.cs new file mode 100644 index 0000000..f49d137 --- /dev/null +++ b/leak_test_project/obj/Release/net9.0-windows/win-x86/Views/StartupLoginWindow.g.cs @@ -0,0 +1,193 @@ +#pragma checksum "..\..\..\..\..\Views\StartupLoginWindow.xaml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "38BA453D3B8549B5F4AB3478FDCC19CD769530B5" +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +using System; +using System.Diagnostics; +using System.Windows; +using System.Windows.Automation; +using System.Windows.Controls; +using System.Windows.Controls.Primitives; +using System.Windows.Controls.Ribbon; +using System.Windows.Data; +using System.Windows.Documents; +using System.Windows.Ink; +using System.Windows.Input; +using System.Windows.Markup; +using System.Windows.Media; +using System.Windows.Media.Animation; +using System.Windows.Media.Effects; +using System.Windows.Media.Imaging; +using System.Windows.Media.Media3D; +using System.Windows.Media.TextFormatting; +using System.Windows.Navigation; +using System.Windows.Shapes; +using System.Windows.Shell; + + +namespace Housing.Login { + + + /// + /// StartupLoginWindow + /// + public partial class StartupLoginWindow : System.Windows.Window, System.Windows.Markup.IComponentConnector { + + + #line 398 "..\..\..\..\..\Views\StartupLoginWindow.xaml" + [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")] + internal System.Windows.Controls.TextBox MakerTextBox; + + #line default + #line hidden + + + #line 415 "..\..\..\..\..\Views\StartupLoginWindow.xaml" + [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")] + internal System.Windows.Controls.TextBox ModelTextBox; + + #line default + #line hidden + + + #line 432 "..\..\..\..\..\Views\StartupLoginWindow.xaml" + [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")] + internal System.Windows.Controls.TextBox Variant1TextBox; + + #line default + #line hidden + + + #line 449 "..\..\..\..\..\Views\StartupLoginWindow.xaml" + [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")] + internal System.Windows.Controls.TextBox Variant2TextBox; + + #line default + #line hidden + + + #line 477 "..\..\..\..\..\Views\StartupLoginWindow.xaml" + [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")] + internal System.Windows.Controls.TextBox OperatorTextBox; + + #line default + #line hidden + + + #line 493 "..\..\..\..\..\Views\StartupLoginWindow.xaml" + [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")] + internal System.Windows.Controls.PasswordBox PasswordBox; + + #line default + #line hidden + + + #line 523 "..\..\..\..\..\Views\StartupLoginWindow.xaml" + [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")] + internal System.Windows.Controls.TextBox LineNoTextBox; + + #line default + #line hidden + + + #line 539 "..\..\..\..\..\Views\StartupLoginWindow.xaml" + [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")] + internal System.Windows.Controls.TextBox LotNoTextBox; + + #line default + #line hidden + + + #line 555 "..\..\..\..\..\Views\StartupLoginWindow.xaml" + [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")] + internal System.Windows.Controls.TextBox JigNoTextBox; + + #line default + #line hidden + + + #line 562 "..\..\..\..\..\Views\StartupLoginWindow.xaml" + [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")] + internal System.Windows.Controls.Button LoginButton; + + #line default + #line hidden + + private bool _contentLoaded; + + /// + /// InitializeComponent + /// + [System.Diagnostics.DebuggerNonUserCodeAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "10.0.9.0")] + public void InitializeComponent() { + if (_contentLoaded) { + return; + } + _contentLoaded = true; + System.Uri resourceLocater = new System.Uri("/leak_test_project;component/views/startuploginwindow.xaml", System.UriKind.Relative); + + #line 1 "..\..\..\..\..\Views\StartupLoginWindow.xaml" + System.Windows.Application.LoadComponent(this, resourceLocater); + + #line default + #line hidden + } + + [System.Diagnostics.DebuggerNonUserCodeAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "10.0.9.0")] + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] + [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes")] + [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Maintainability", "CA1502:AvoidExcessiveComplexity")] + [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1800:DoNotCastUnnecessarily")] + void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { + switch (connectionId) + { + case 1: + this.MakerTextBox = ((System.Windows.Controls.TextBox)(target)); + return; + case 2: + this.ModelTextBox = ((System.Windows.Controls.TextBox)(target)); + return; + case 3: + this.Variant1TextBox = ((System.Windows.Controls.TextBox)(target)); + return; + case 4: + this.Variant2TextBox = ((System.Windows.Controls.TextBox)(target)); + return; + case 5: + this.OperatorTextBox = ((System.Windows.Controls.TextBox)(target)); + return; + case 6: + this.PasswordBox = ((System.Windows.Controls.PasswordBox)(target)); + return; + case 7: + this.LineNoTextBox = ((System.Windows.Controls.TextBox)(target)); + return; + case 8: + this.LotNoTextBox = ((System.Windows.Controls.TextBox)(target)); + return; + case 9: + this.JigNoTextBox = ((System.Windows.Controls.TextBox)(target)); + return; + case 10: + this.LoginButton = ((System.Windows.Controls.Button)(target)); + + #line 566 "..\..\..\..\..\Views\StartupLoginWindow.xaml" + this.LoginButton.Click += new System.Windows.RoutedEventHandler(this.LogInButton_Click); + + #line default + #line hidden + return; + } + this._contentLoaded = true; + } + } +} + diff --git a/leak_test_project/obj/Release/net9.0-windows/win-x86/apphost.exe b/leak_test_project/obj/Release/net9.0-windows/win-x86/apphost.exe new file mode 100644 index 0000000..264728c Binary files /dev/null and b/leak_test_project/obj/Release/net9.0-windows/win-x86/apphost.exe differ diff --git a/leak_test_project/obj/Release/net9.0-windows/win-x86/leak_tes.3FCAB636.Up2Date b/leak_test_project/obj/Release/net9.0-windows/win-x86/leak_tes.3FCAB636.Up2Date new file mode 100644 index 0000000..e69de29 diff --git a/leak_test_project/obj/Release/net9.0-windows/win-x86/leak_test_project.GeneratedMSBuildEditorConfig.editorconfig b/leak_test_project/obj/Release/net9.0-windows/win-x86/leak_test_project.GeneratedMSBuildEditorConfig.editorconfig new file mode 100644 index 0000000..4b6be98 --- /dev/null +++ b/leak_test_project/obj/Release/net9.0-windows/win-x86/leak_test_project.GeneratedMSBuildEditorConfig.editorconfig @@ -0,0 +1,19 @@ +is_global = true +build_property.TargetFramework = net9.0-windows +build_property.TargetFrameworkIdentifier = .NETCoreApp +build_property.TargetFrameworkVersion = v9.0 +build_property.TargetPlatformMinVersion = 7.0 +build_property.UsingMicrosoftNETSdkWeb = +build_property.ProjectTypeGuids = +build_property.InvariantGlobalization = +build_property.PlatformNeutralAssembly = +build_property.EnforceExtendedAnalyzerRules = +build_property.EntryPointFilePath = +build_property._SupportedPlatformList = Linux,macOS,Windows +build_property.RootNamespace = leak_test_project +build_property.ProjectDir = C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\ +build_property.EnableComHosting = +build_property.EnableGeneratedComInterfaceComImportInterop = +build_property.CsWinRTUseWindowsUIXamlProjections = false +build_property.EffectiveAnalysisLevelStyle = 9.0 +build_property.EnableCodeStyleSeverity = diff --git a/leak_test_project/obj/Release/net9.0-windows/win-x86/leak_test_project.GlobalUsings.g.cs b/leak_test_project/obj/Release/net9.0-windows/win-x86/leak_test_project.GlobalUsings.g.cs new file mode 100644 index 0000000..e6eff56 --- /dev/null +++ b/leak_test_project/obj/Release/net9.0-windows/win-x86/leak_test_project.GlobalUsings.g.cs @@ -0,0 +1,6 @@ +// +global using System; +global using System.Collections.Generic; +global using System.Linq; +global using System.Threading; +global using System.Threading.Tasks; diff --git a/leak_test_project/obj/Release/net9.0-windows/win-x86/leak_test_project.Properties.Resources.resources b/leak_test_project/obj/Release/net9.0-windows/win-x86/leak_test_project.Properties.Resources.resources new file mode 100644 index 0000000..6c05a97 Binary files /dev/null and b/leak_test_project/obj/Release/net9.0-windows/win-x86/leak_test_project.Properties.Resources.resources differ diff --git a/leak_test_project/obj/Release/net9.0-windows/win-x86/leak_test_project.assets.cache b/leak_test_project/obj/Release/net9.0-windows/win-x86/leak_test_project.assets.cache new file mode 100644 index 0000000..ddf77b6 Binary files /dev/null and b/leak_test_project/obj/Release/net9.0-windows/win-x86/leak_test_project.assets.cache differ diff --git a/leak_test_project/obj/Release/net9.0-windows/win-x86/leak_test_project.csproj.AssemblyReference.cache b/leak_test_project/obj/Release/net9.0-windows/win-x86/leak_test_project.csproj.AssemblyReference.cache new file mode 100644 index 0000000..86f9566 Binary files /dev/null and b/leak_test_project/obj/Release/net9.0-windows/win-x86/leak_test_project.csproj.AssemblyReference.cache differ diff --git a/leak_test_project/obj/Release/net9.0-windows/win-x86/leak_test_project.csproj.CoreCompileInputs.cache b/leak_test_project/obj/Release/net9.0-windows/win-x86/leak_test_project.csproj.CoreCompileInputs.cache new file mode 100644 index 0000000..566b2e8 --- /dev/null +++ b/leak_test_project/obj/Release/net9.0-windows/win-x86/leak_test_project.csproj.CoreCompileInputs.cache @@ -0,0 +1 @@ +dc5755f2b298d092a067f3e2e3e2668f5f79340799e3388ec2c1ece9da4bf435 diff --git a/leak_test_project/obj/Release/net9.0-windows/win-x86/leak_test_project.csproj.FileListAbsolute.txt b/leak_test_project/obj/Release/net9.0-windows/win-x86/leak_test_project.csproj.FileListAbsolute.txt new file mode 100644 index 0000000..b6da64a --- /dev/null +++ b/leak_test_project/obj/Release/net9.0-windows/win-x86/leak_test_project.csproj.FileListAbsolute.txt @@ -0,0 +1,429 @@ +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\Database.ini +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\PCI-Dask.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\leak_test_project.exe +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\leak_test_project.dll.config +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\leak_test_project.deps.json +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\leak_test_project.runtimeconfig.json +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\leak_test_project.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\leak_test_project.pdb +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\Microsoft.VisualStudio.Setup.Configuration.Interop.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\System.Data.SqlClient.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\System.IO.Ports.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\sni.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\Microsoft.CSharp.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\Microsoft.VisualBasic.Core.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\Microsoft.VisualBasic.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\Microsoft.Win32.Primitives.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\Microsoft.Win32.Registry.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\System.AppContext.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\System.Buffers.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\System.Collections.Concurrent.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\System.Collections.Immutable.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\System.Collections.NonGeneric.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\System.Collections.Specialized.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\System.Collections.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\System.ComponentModel.Annotations.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\System.ComponentModel.DataAnnotations.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\System.ComponentModel.EventBasedAsync.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\System.ComponentModel.Primitives.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\System.ComponentModel.TypeConverter.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\System.ComponentModel.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\System.Configuration.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\System.Console.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\System.Core.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\System.Data.Common.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\System.Data.DataSetExtensions.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\System.Data.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\System.Diagnostics.Contracts.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\System.Diagnostics.Debug.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\System.Diagnostics.DiagnosticSource.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\System.Diagnostics.FileVersionInfo.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\System.Diagnostics.Process.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\System.Diagnostics.StackTrace.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\System.Diagnostics.TextWriterTraceListener.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\System.Diagnostics.Tools.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\System.Diagnostics.TraceSource.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\System.Diagnostics.Tracing.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\System.Drawing.Primitives.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\System.Drawing.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\System.Dynamic.Runtime.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\System.Formats.Asn1.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\System.Formats.Tar.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\System.Globalization.Calendars.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\System.Globalization.Extensions.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\System.Globalization.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\System.IO.Compression.Brotli.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\System.IO.Compression.FileSystem.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\System.IO.Compression.ZipFile.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\System.IO.Compression.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\System.IO.FileSystem.AccessControl.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\System.IO.FileSystem.DriveInfo.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\System.IO.FileSystem.Primitives.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\System.IO.FileSystem.Watcher.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\System.IO.FileSystem.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\System.IO.IsolatedStorage.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\System.IO.MemoryMappedFiles.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\System.IO.Pipelines.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\System.IO.Pipes.AccessControl.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\System.IO.Pipes.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\System.IO.UnmanagedMemoryStream.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\System.IO.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\System.Linq.Expressions.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\System.Linq.Parallel.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\System.Linq.Queryable.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\System.Linq.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\System.Memory.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\System.Net.Http.Json.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\System.Net.Http.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\System.Net.HttpListener.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\System.Net.Mail.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\System.Net.NameResolution.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\System.Net.NetworkInformation.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\System.Net.Ping.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\System.Net.Primitives.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\System.Net.Quic.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\System.Net.Requests.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\System.Net.Security.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\System.Net.ServicePoint.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\System.Net.Sockets.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\System.Net.WebClient.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\System.Net.WebHeaderCollection.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\System.Net.WebProxy.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\System.Net.WebSockets.Client.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\System.Net.WebSockets.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\System.Net.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\System.Numerics.Vectors.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\System.Numerics.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\System.ObjectModel.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\System.Private.CoreLib.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\System.Private.DataContractSerialization.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\System.Private.Uri.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\System.Private.Xml.Linq.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\System.Private.Xml.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\System.Reflection.DispatchProxy.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\System.Reflection.Emit.ILGeneration.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\System.Reflection.Emit.Lightweight.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\System.Reflection.Emit.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\System.Reflection.Extensions.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\System.Reflection.Metadata.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\System.Reflection.Primitives.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\System.Reflection.TypeExtensions.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\System.Reflection.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\System.Resources.Reader.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\System.Resources.ResourceManager.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\System.Resources.Writer.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\System.Runtime.CompilerServices.Unsafe.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\System.Runtime.CompilerServices.VisualC.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\System.Runtime.Extensions.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\System.Runtime.Handles.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\System.Runtime.InteropServices.JavaScript.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\System.Runtime.InteropServices.RuntimeInformation.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\System.Runtime.InteropServices.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\System.Runtime.Intrinsics.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\System.Runtime.Loader.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\System.Runtime.Numerics.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\System.Runtime.Serialization.Formatters.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\System.Runtime.Serialization.Json.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\System.Runtime.Serialization.Primitives.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\System.Runtime.Serialization.Xml.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\System.Runtime.Serialization.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\System.Runtime.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\System.Security.AccessControl.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\System.Security.Claims.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\System.Security.Cryptography.Algorithms.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\System.Security.Cryptography.Cng.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\System.Security.Cryptography.Csp.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\System.Security.Cryptography.Encoding.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\System.Security.Cryptography.OpenSsl.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\System.Security.Cryptography.Primitives.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\System.Security.Cryptography.X509Certificates.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\System.Security.Cryptography.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\System.Security.Principal.Windows.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\System.Security.Principal.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\System.Security.SecureString.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\System.Security.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\System.ServiceModel.Web.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\System.ServiceProcess.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\System.Text.Encoding.CodePages.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\System.Text.Encoding.Extensions.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\System.Text.Encoding.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\System.Text.Encodings.Web.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\System.Text.Json.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\System.Text.RegularExpressions.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\System.Threading.Channels.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\System.Threading.Overlapped.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\System.Threading.Tasks.Dataflow.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\System.Threading.Tasks.Extensions.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\System.Threading.Tasks.Parallel.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\System.Threading.Tasks.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\System.Threading.Thread.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\System.Threading.ThreadPool.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\System.Threading.Timer.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\System.Threading.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\System.Transactions.Local.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\System.Transactions.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\System.ValueTuple.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\System.Web.HttpUtility.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\System.Web.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\System.Windows.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\System.Xml.Linq.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\System.Xml.ReaderWriter.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\System.Xml.Serialization.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\System.Xml.XDocument.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\System.Xml.XPath.XDocument.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\System.Xml.XPath.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\System.Xml.XmlDocument.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\System.Xml.XmlSerializer.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\System.Xml.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\System.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\mscorlib.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\netstandard.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\Accessibility.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\DirectWriteForwarder.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\Microsoft.Win32.Registry.AccessControl.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\Microsoft.Win32.SystemEvents.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\PresentationCore.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\PresentationFramework-SystemCore.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\PresentationFramework-SystemData.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\PresentationFramework-SystemDrawing.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\PresentationFramework-SystemXml.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\PresentationFramework-SystemXmlLinq.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\PresentationFramework.Aero.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\PresentationFramework.Aero2.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\PresentationFramework.AeroLite.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\PresentationFramework.Classic.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\PresentationFramework.Fluent.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\PresentationFramework.Luna.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\PresentationFramework.Royale.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\PresentationFramework.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\PresentationUI.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\ReachFramework.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\System.CodeDom.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\System.Configuration.ConfigurationManager.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\System.Diagnostics.EventLog.Messages.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\System.Diagnostics.EventLog.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\System.Diagnostics.PerformanceCounter.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\System.DirectoryServices.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\System.Formats.Nrbf.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\System.IO.Packaging.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\System.Printing.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\System.Resources.Extensions.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\System.Security.Cryptography.Pkcs.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\System.Security.Cryptography.ProtectedData.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\System.Security.Cryptography.Xml.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\System.Security.Permissions.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\System.Threading.AccessControl.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\System.Windows.Controls.Ribbon.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\System.Windows.Extensions.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\System.Windows.Input.Manipulations.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\System.Windows.Presentation.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\System.Xaml.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\UIAutomationClient.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\UIAutomationClientSideProviders.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\UIAutomationProvider.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\UIAutomationTypes.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\WindowsBase.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\Microsoft.DiaSymReader.Native.x86.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\System.IO.Compression.Native.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\clretwrc.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\clrgc.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\clrjit.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\coreclr.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\createdump.exe +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\hostfxr.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\hostpolicy.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\mscordaccore.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\mscordaccore_x86_x86_9.0.1726.26416.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\mscordbi.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\mscorrc.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\msquic.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\D3DCompiler_47_cor3.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\PenImc_cor3.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\PresentationNative_cor3.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\vcruntime140_cor3.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\wpfgfx_cor3.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\cs\PresentationCore.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\cs\PresentationFramework.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\cs\PresentationUI.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\cs\ReachFramework.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\cs\System.Windows.Controls.Ribbon.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\cs\System.Windows.Input.Manipulations.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\cs\System.Xaml.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\cs\UIAutomationClient.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\cs\UIAutomationClientSideProviders.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\cs\UIAutomationProvider.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\cs\UIAutomationTypes.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\cs\WindowsBase.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\de\PresentationCore.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\de\PresentationFramework.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\de\PresentationUI.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\de\ReachFramework.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\de\System.Windows.Controls.Ribbon.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\de\System.Windows.Input.Manipulations.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\de\System.Xaml.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\de\UIAutomationClient.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\de\UIAutomationClientSideProviders.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\de\UIAutomationProvider.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\de\UIAutomationTypes.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\de\WindowsBase.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\es\PresentationCore.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\es\PresentationFramework.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\es\PresentationUI.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\es\ReachFramework.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\es\System.Windows.Controls.Ribbon.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\es\System.Windows.Input.Manipulations.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\es\System.Xaml.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\es\UIAutomationClient.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\es\UIAutomationClientSideProviders.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\es\UIAutomationProvider.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\es\UIAutomationTypes.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\es\WindowsBase.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\fr\PresentationCore.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\fr\PresentationFramework.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\fr\PresentationUI.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\fr\ReachFramework.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\fr\System.Windows.Controls.Ribbon.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\fr\System.Windows.Input.Manipulations.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\fr\System.Xaml.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\fr\UIAutomationClient.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\fr\UIAutomationClientSideProviders.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\fr\UIAutomationProvider.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\fr\UIAutomationTypes.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\fr\WindowsBase.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\it\PresentationCore.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\it\PresentationFramework.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\it\PresentationUI.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\it\ReachFramework.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\it\System.Windows.Controls.Ribbon.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\it\System.Windows.Input.Manipulations.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\it\System.Xaml.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\it\UIAutomationClient.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\it\UIAutomationClientSideProviders.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\it\UIAutomationProvider.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\it\UIAutomationTypes.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\it\WindowsBase.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\ja\PresentationCore.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\ja\PresentationFramework.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\ja\PresentationUI.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\ja\ReachFramework.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\ja\System.Windows.Controls.Ribbon.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\ja\System.Windows.Input.Manipulations.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\ja\System.Xaml.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\ja\UIAutomationClient.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\ja\UIAutomationClientSideProviders.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\ja\UIAutomationProvider.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\ja\UIAutomationTypes.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\ja\WindowsBase.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\ko\PresentationCore.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\ko\PresentationFramework.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\ko\PresentationUI.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\ko\ReachFramework.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\ko\System.Windows.Controls.Ribbon.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\ko\System.Windows.Input.Manipulations.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\ko\System.Xaml.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\ko\UIAutomationClient.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\ko\UIAutomationClientSideProviders.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\ko\UIAutomationProvider.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\ko\UIAutomationTypes.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\ko\WindowsBase.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\pl\PresentationCore.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\pl\PresentationFramework.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\pl\PresentationUI.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\pl\ReachFramework.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\pl\System.Windows.Controls.Ribbon.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\pl\System.Windows.Input.Manipulations.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\pl\System.Xaml.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\pl\UIAutomationClient.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\pl\UIAutomationClientSideProviders.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\pl\UIAutomationProvider.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\pl\UIAutomationTypes.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\pl\WindowsBase.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\pt-BR\PresentationCore.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\pt-BR\PresentationFramework.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\pt-BR\PresentationUI.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\pt-BR\ReachFramework.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\pt-BR\System.Windows.Controls.Ribbon.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\pt-BR\System.Windows.Input.Manipulations.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\pt-BR\System.Xaml.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\pt-BR\UIAutomationClient.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\pt-BR\UIAutomationClientSideProviders.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\pt-BR\UIAutomationProvider.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\pt-BR\UIAutomationTypes.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\pt-BR\WindowsBase.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\ru\PresentationCore.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\ru\PresentationFramework.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\ru\PresentationUI.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\ru\ReachFramework.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\ru\System.Windows.Controls.Ribbon.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\ru\System.Windows.Input.Manipulations.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\ru\System.Xaml.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\ru\UIAutomationClient.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\ru\UIAutomationClientSideProviders.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\ru\UIAutomationProvider.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\ru\UIAutomationTypes.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\ru\WindowsBase.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\tr\PresentationCore.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\tr\PresentationFramework.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\tr\PresentationUI.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\tr\ReachFramework.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\tr\System.Windows.Controls.Ribbon.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\tr\System.Windows.Input.Manipulations.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\tr\System.Xaml.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\tr\UIAutomationClient.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\tr\UIAutomationClientSideProviders.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\tr\UIAutomationProvider.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\tr\UIAutomationTypes.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\tr\WindowsBase.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\zh-Hans\PresentationCore.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\zh-Hans\PresentationFramework.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\zh-Hans\PresentationUI.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\zh-Hans\ReachFramework.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\zh-Hans\System.Windows.Controls.Ribbon.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\zh-Hans\System.Windows.Input.Manipulations.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\zh-Hans\System.Xaml.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\zh-Hans\UIAutomationClient.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\zh-Hans\UIAutomationClientSideProviders.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\zh-Hans\UIAutomationProvider.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\zh-Hans\UIAutomationTypes.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\zh-Hans\WindowsBase.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\zh-Hant\PresentationCore.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\zh-Hant\PresentationFramework.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\zh-Hant\PresentationUI.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\zh-Hant\ReachFramework.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\zh-Hant\System.Windows.Controls.Ribbon.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\zh-Hant\System.Windows.Input.Manipulations.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\zh-Hant\System.Xaml.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\zh-Hant\UIAutomationClient.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\zh-Hant\UIAutomationClientSideProviders.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\zh-Hant\UIAutomationProvider.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\zh-Hant\UIAutomationTypes.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\bin\Release\net9.0-windows\win-x86\zh-Hant\WindowsBase.resources.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\obj\Release\net9.0-windows\win-x86\leak_test_project.csproj.AssemblyReference.cache +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\obj\Release\net9.0-windows\win-x86\Views\CommunicationWindow.baml +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\obj\Release\net9.0-windows\win-x86\Views\DataView.baml +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\obj\Release\net9.0-windows\win-x86\Views\ParametersWindow.baml +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\obj\Release\net9.0-windows\win-x86\Views\StartupLoginWindow.baml +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\obj\Release\net9.0-windows\win-x86\MainWindow.g.cs +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\obj\Release\net9.0-windows\win-x86\Views\CommunicationWindow.g.cs +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\obj\Release\net9.0-windows\win-x86\Views\DataView.g.cs +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\obj\Release\net9.0-windows\win-x86\Views\HomeView.g.cs +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\obj\Release\net9.0-windows\win-x86\Views\ParametersWindow.g.cs +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\obj\Release\net9.0-windows\win-x86\Views\StartupLoginWindow.g.cs +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\obj\Release\net9.0-windows\win-x86\App.g.cs +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\obj\Release\net9.0-windows\win-x86\GeneratedInternalTypeHelper.g.cs +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\obj\Release\net9.0-windows\win-x86\leak_test_project_MarkupCompile.cache +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\obj\Release\net9.0-windows\win-x86\leak_test_project_MarkupCompile.lref +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\obj\Release\net9.0-windows\win-x86\App.baml +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\obj\Release\net9.0-windows\win-x86\MainWindow.baml +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\obj\Release\net9.0-windows\win-x86\Views\HomeView.baml +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\obj\Release\net9.0-windows\win-x86\leak_test_project.g.resources +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\obj\Release\net9.0-windows\win-x86\leak_test_project.Properties.Resources.resources +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\obj\Release\net9.0-windows\win-x86\leak_test_project.csproj.GenerateResource.cache +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\obj\Release\net9.0-windows\win-x86\leak_test_project.GeneratedMSBuildEditorConfig.editorconfig +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\obj\Release\net9.0-windows\win-x86\leak_test_project.csproj.CoreCompileInputs.cache +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\obj\Release\net9.0-windows\win-x86\leak_tes.3FCAB636.Up2Date +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\obj\Release\net9.0-windows\win-x86\leak_test_project.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\obj\Release\net9.0-windows\win-x86\refint\leak_test_project.dll +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\obj\Release\net9.0-windows\win-x86\leak_test_project.pdb +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\obj\Release\net9.0-windows\win-x86\leak_test_project.genruntimeconfig.cache +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\obj\Release\net9.0-windows\win-x86\ref\leak_test_project.dll diff --git a/leak_test_project/obj/Release/net9.0-windows/win-x86/leak_test_project.csproj.GenerateResource.cache b/leak_test_project/obj/Release/net9.0-windows/win-x86/leak_test_project.csproj.GenerateResource.cache new file mode 100644 index 0000000..063b4da Binary files /dev/null and b/leak_test_project/obj/Release/net9.0-windows/win-x86/leak_test_project.csproj.GenerateResource.cache differ diff --git a/leak_test_project/obj/Release/net9.0-windows/win-x86/leak_test_project.dll b/leak_test_project/obj/Release/net9.0-windows/win-x86/leak_test_project.dll new file mode 100644 index 0000000..1243e57 Binary files /dev/null and b/leak_test_project/obj/Release/net9.0-windows/win-x86/leak_test_project.dll differ diff --git a/leak_test_project/obj/Release/net9.0-windows/win-x86/leak_test_project.g.resources b/leak_test_project/obj/Release/net9.0-windows/win-x86/leak_test_project.g.resources new file mode 100644 index 0000000..d4eecdf Binary files /dev/null and b/leak_test_project/obj/Release/net9.0-windows/win-x86/leak_test_project.g.resources differ diff --git a/leak_test_project/obj/Release/net9.0-windows/win-x86/leak_test_project.genruntimeconfig.cache b/leak_test_project/obj/Release/net9.0-windows/win-x86/leak_test_project.genruntimeconfig.cache new file mode 100644 index 0000000..b187c93 --- /dev/null +++ b/leak_test_project/obj/Release/net9.0-windows/win-x86/leak_test_project.genruntimeconfig.cache @@ -0,0 +1 @@ +6913965e1e58cd7156a5c6d338e103be4a4db7c3bd2d899dc924ffd2f1438ea0 diff --git a/leak_test_project/obj/Release/net9.0-windows/win-x86/leak_test_project.pdb b/leak_test_project/obj/Release/net9.0-windows/win-x86/leak_test_project.pdb new file mode 100644 index 0000000..5f56607 Binary files /dev/null and b/leak_test_project/obj/Release/net9.0-windows/win-x86/leak_test_project.pdb differ diff --git a/leak_test_project/obj/Release/net9.0-windows/win-x86/leak_test_project_2f2ujhwy_wpftmp.GeneratedMSBuildEditorConfig.editorconfig b/leak_test_project/obj/Release/net9.0-windows/win-x86/leak_test_project_2f2ujhwy_wpftmp.GeneratedMSBuildEditorConfig.editorconfig new file mode 100644 index 0000000..4b6be98 --- /dev/null +++ b/leak_test_project/obj/Release/net9.0-windows/win-x86/leak_test_project_2f2ujhwy_wpftmp.GeneratedMSBuildEditorConfig.editorconfig @@ -0,0 +1,19 @@ +is_global = true +build_property.TargetFramework = net9.0-windows +build_property.TargetFrameworkIdentifier = .NETCoreApp +build_property.TargetFrameworkVersion = v9.0 +build_property.TargetPlatformMinVersion = 7.0 +build_property.UsingMicrosoftNETSdkWeb = +build_property.ProjectTypeGuids = +build_property.InvariantGlobalization = +build_property.PlatformNeutralAssembly = +build_property.EnforceExtendedAnalyzerRules = +build_property.EntryPointFilePath = +build_property._SupportedPlatformList = Linux,macOS,Windows +build_property.RootNamespace = leak_test_project +build_property.ProjectDir = C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\ +build_property.EnableComHosting = +build_property.EnableGeneratedComInterfaceComImportInterop = +build_property.CsWinRTUseWindowsUIXamlProjections = false +build_property.EffectiveAnalysisLevelStyle = 9.0 +build_property.EnableCodeStyleSeverity = diff --git a/leak_test_project/obj/Release/net9.0-windows/win-x86/leak_test_project_2f2ujhwy_wpftmp.GlobalUsings.g.cs b/leak_test_project/obj/Release/net9.0-windows/win-x86/leak_test_project_2f2ujhwy_wpftmp.GlobalUsings.g.cs new file mode 100644 index 0000000..e6eff56 --- /dev/null +++ b/leak_test_project/obj/Release/net9.0-windows/win-x86/leak_test_project_2f2ujhwy_wpftmp.GlobalUsings.g.cs @@ -0,0 +1,6 @@ +// +global using System; +global using System.Collections.Generic; +global using System.Linq; +global using System.Threading; +global using System.Threading.Tasks; diff --git a/leak_test_project/obj/Release/net9.0-windows/win-x86/leak_test_project_2f2ujhwy_wpftmp.assets.cache b/leak_test_project/obj/Release/net9.0-windows/win-x86/leak_test_project_2f2ujhwy_wpftmp.assets.cache new file mode 100644 index 0000000..3e30bbd Binary files /dev/null and b/leak_test_project/obj/Release/net9.0-windows/win-x86/leak_test_project_2f2ujhwy_wpftmp.assets.cache differ diff --git a/leak_test_project/obj/Release/net9.0-windows/win-x86/leak_test_project_MarkupCompile.cache b/leak_test_project/obj/Release/net9.0-windows/win-x86/leak_test_project_MarkupCompile.cache new file mode 100644 index 0000000..d352c07 --- /dev/null +++ b/leak_test_project/obj/Release/net9.0-windows/win-x86/leak_test_project_MarkupCompile.cache @@ -0,0 +1,20 @@ +leak_test_project + + +winexe +C# +.cs +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\obj\Release\net9.0-windows\win-x86\ +leak_test_project +none +false +TRACE;RELEASE;NET;NET9_0;NETCOREAPP;WINDOWS;WINDOWS7_0;NET5_0_OR_GREATER;NET6_0_OR_GREATER;NET7_0_OR_GREATER;NET8_0_OR_GREATER;NET9_0_OR_GREATER;NETCOREAPP3_0_OR_GREATER;NETCOREAPP3_1_OR_GREATER;WINDOWS7_0_OR_GREATER +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\App.xaml +62007517372 + +361067897926 +203-1172707555 +MainWindow.xaml;Views\CommunicationWindow.xaml;Views\DataView.xaml;Views\HomeView.xaml;Views\ParametersWindow.xaml;Views\StartupLoginWindow.xaml; + +False + diff --git a/leak_test_project/obj/Release/net9.0-windows/win-x86/leak_test_project_MarkupCompile.lref b/leak_test_project/obj/Release/net9.0-windows/win-x86/leak_test_project_MarkupCompile.lref new file mode 100644 index 0000000..887fde2 --- /dev/null +++ b/leak_test_project/obj/Release/net9.0-windows/win-x86/leak_test_project_MarkupCompile.lref @@ -0,0 +1,5 @@ +C:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\obj\Release\net9.0-windows\win-x86\GeneratedInternalTypeHelper.g.cs +FC:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\App.xaml;; +FC:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\MainWindow.xaml;; +FC:\Users\COMPUTER1\Desktop\mobi\leak_test_project\leak_test_project\Views\HomeView.xaml;; + diff --git a/leak_test_project/obj/Release/net9.0-windows/win-x86/ref/leak_test_project.dll b/leak_test_project/obj/Release/net9.0-windows/win-x86/ref/leak_test_project.dll new file mode 100644 index 0000000..ef85ab7 Binary files /dev/null and b/leak_test_project/obj/Release/net9.0-windows/win-x86/ref/leak_test_project.dll differ diff --git a/leak_test_project/obj/Release/net9.0-windows/win-x86/refint/leak_test_project.dll b/leak_test_project/obj/Release/net9.0-windows/win-x86/refint/leak_test_project.dll new file mode 100644 index 0000000..ef85ab7 Binary files /dev/null and b/leak_test_project/obj/Release/net9.0-windows/win-x86/refint/leak_test_project.dll differ diff --git a/leak_test_project/obj/leak_test_project.csproj.nuget.dgspec.json b/leak_test_project/obj/leak_test_project.csproj.nuget.dgspec.json new file mode 100644 index 0000000..8e4cc1b --- /dev/null +++ b/leak_test_project/obj/leak_test_project.csproj.nuget.dgspec.json @@ -0,0 +1,93 @@ +{ + "format": 1, + "restore": { + "C:\\Users\\COMPUTER1\\Desktop\\mobi\\leak_test_project\\leak_test_project\\leak_test_project.csproj": {} + }, + "projects": { + "C:\\Users\\COMPUTER1\\Desktop\\mobi\\leak_test_project\\leak_test_project\\leak_test_project.csproj": { + "version": "1.0.0", + "restore": { + "projectUniqueName": "C:\\Users\\COMPUTER1\\Desktop\\mobi\\leak_test_project\\leak_test_project\\leak_test_project.csproj", + "projectName": "leak_test_project", + "projectPath": "C:\\Users\\COMPUTER1\\Desktop\\mobi\\leak_test_project\\leak_test_project\\leak_test_project.csproj", + "packagesPath": "C:\\Users\\COMPUTER1\\.nuget\\packages\\", + "outputPath": "C:\\Users\\COMPUTER1\\Desktop\\mobi\\leak_test_project\\leak_test_project\\obj\\", + "projectStyle": "PackageReference", + "fallbackFolders": [ + "C:\\Program Files (x86)\\Microsoft Visual Studio\\Shared\\NuGetPackages" + ], + "configFilePaths": [ + "C:\\Users\\COMPUTER1\\AppData\\Roaming\\NuGet\\NuGet.Config", + "C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.FallbackLocation.config", + "C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.Offline.config" + ], + "originalTargetFrameworks": [ + "net9.0-windows" + ], + "sources": { + "C:\\Program Files (x86)\\Microsoft SDKs\\NuGetPackages\\": {}, + "C:\\Program Files\\dotnet\\library-packs": {}, + "https://api.nuget.org/v3/index.json": {} + }, + "frameworks": { + "net9.0-windows": { + "framework": "net9.0-windows7.0", + "targetAlias": "net9.0-windows", + "projectReferences": {} + } + }, + "warningProperties": { + "warnAsError": [ + "NU1605" + ] + }, + "restoreAuditProperties": { + "enableAudit": "true", + "auditLevel": "low", + "auditMode": "direct" + }, + "SdkAnalysisLevel": "10.0.300" + }, + "frameworks": { + "net9.0-windows": { + "framework": "net9.0-windows7.0", + "targetAlias": "net9.0-windows", + "dependencies": { + "Microsoft.VisualStudio.Setup.Configuration.Interop": { + "target": "Package", + "version": "[3.14.2075, )" + }, + "System.Data.SqlClient": { + "target": "Package", + "version": "[4.9.0, )" + }, + "System.IO.Ports": { + "target": "Package", + "version": "[9.0.0, )" + } + }, + "imports": [ + "net461", + "net462", + "net47", + "net471", + "net472", + "net48", + "net481" + ], + "assetTargetFallback": true, + "warn": true, + "frameworkReferences": { + "Microsoft.NETCore.App": { + "privateAssets": "all" + }, + "Microsoft.WindowsDesktop.App.WPF": { + "privateAssets": "none" + } + }, + "runtimeIdentifierGraphPath": "C:\\Program Files\\dotnet\\sdk\\10.0.301/PortableRuntimeIdentifierGraph.json" + } + } + } + } +} \ No newline at end of file diff --git a/leak_test_project/obj/leak_test_project.csproj.nuget.g.props b/leak_test_project/obj/leak_test_project.csproj.nuget.g.props new file mode 100644 index 0000000..4fffddf --- /dev/null +++ b/leak_test_project/obj/leak_test_project.csproj.nuget.g.props @@ -0,0 +1,16 @@ + + + + True + NuGet + $(MSBuildThisFileDirectory)project.assets.json + $(UserProfile)\.nuget\packages\ + C:\Users\COMPUTER1\.nuget\packages\;C:\Program Files (x86)\Microsoft Visual Studio\Shared\NuGetPackages + PackageReference + 7.0.0 + + + + + + \ No newline at end of file diff --git a/leak_test_project/obj/leak_test_project.csproj.nuget.g.targets b/leak_test_project/obj/leak_test_project.csproj.nuget.g.targets new file mode 100644 index 0000000..d320a61 --- /dev/null +++ b/leak_test_project/obj/leak_test_project.csproj.nuget.g.targets @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/leak_test_project/obj/project.assets.json b/leak_test_project/obj/project.assets.json new file mode 100644 index 0000000..66b236c --- /dev/null +++ b/leak_test_project/obj/project.assets.json @@ -0,0 +1,2015 @@ +{ + "version": 4, + "targets": { + "net9.0-windows": { + "Microsoft.VisualStudio.Setup.Configuration.Interop/3.14.2075": { + "type": "package", + "compile": { + "lib/netstandard2.1/Microsoft.VisualStudio.Setup.Configuration.Interop.dll": { + "related": ".xml" + } + }, + "runtime": { + "lib/netstandard2.1/Microsoft.VisualStudio.Setup.Configuration.Interop.dll": { + "related": ".xml" + } + }, + "build": { + "build/Microsoft.VisualStudio.Setup.Configuration.Interop.targets": {} + } + }, + "runtime.android-arm.runtime.native.System.IO.Ports/9.0.0": { + "type": "package", + "runtimeTargets": { + "runtimes/android-arm/native/libSystem.IO.Ports.Native.so": { + "assetType": "native", + "rid": "android-arm" + }, + "runtimes/android-arm64/native/_._": { + "assetType": "native", + "rid": "android-arm64" + }, + "runtimes/android-x64/native/_._": { + "assetType": "native", + "rid": "android-x64" + }, + "runtimes/android-x86/native/_._": { + "assetType": "native", + "rid": "android-x86" + }, + "runtimes/linux-arm/native/_._": { + "assetType": "native", + "rid": "linux-arm" + }, + "runtimes/linux-arm64/native/_._": { + "assetType": "native", + "rid": "linux-arm64" + }, + "runtimes/linux-bionic-arm64/native/_._": { + "assetType": "native", + "rid": "linux-bionic-arm64" + }, + "runtimes/linux-bionic-x64/native/_._": { + "assetType": "native", + "rid": "linux-bionic-x64" + }, + "runtimes/linux-musl-arm/native/_._": { + "assetType": "native", + "rid": "linux-musl-arm" + }, + "runtimes/linux-musl-arm64/native/_._": { + "assetType": "native", + "rid": "linux-musl-arm64" + }, + "runtimes/linux-musl-x64/native/_._": { + "assetType": "native", + "rid": "linux-musl-x64" + }, + "runtimes/linux-x64/native/_._": { + "assetType": "native", + "rid": "linux-x64" + }, + "runtimes/maccatalyst-arm64/native/_._": { + "assetType": "native", + "rid": "maccatalyst-arm64" + }, + "runtimes/maccatalyst-x64/native/_._": { + "assetType": "native", + "rid": "maccatalyst-x64" + }, + "runtimes/osx-arm64/native/_._": { + "assetType": "native", + "rid": "osx-arm64" + }, + "runtimes/osx-x64/native/_._": { + "assetType": "native", + "rid": "osx-x64" + } + } + }, + "runtime.android-arm64.runtime.native.System.IO.Ports/9.0.0": { + "type": "package", + "runtimeTargets": { + "runtimes/android-arm/native/_._": { + "assetType": "native", + "rid": "android-arm" + }, + "runtimes/android-arm64/native/libSystem.IO.Ports.Native.so": { + "assetType": "native", + "rid": "android-arm64" + }, + "runtimes/android-x64/native/_._": { + "assetType": "native", + "rid": "android-x64" + }, + "runtimes/android-x86/native/_._": { + "assetType": "native", + "rid": "android-x86" + }, + "runtimes/linux-arm/native/_._": { + "assetType": "native", + "rid": "linux-arm" + }, + "runtimes/linux-arm64/native/_._": { + "assetType": "native", + "rid": "linux-arm64" + }, + "runtimes/linux-bionic-arm64/native/_._": { + "assetType": "native", + "rid": "linux-bionic-arm64" + }, + "runtimes/linux-bionic-x64/native/_._": { + "assetType": "native", + "rid": "linux-bionic-x64" + }, + "runtimes/linux-musl-arm/native/_._": { + "assetType": "native", + "rid": "linux-musl-arm" + }, + "runtimes/linux-musl-arm64/native/_._": { + "assetType": "native", + "rid": "linux-musl-arm64" + }, + "runtimes/linux-musl-x64/native/_._": { + "assetType": "native", + "rid": "linux-musl-x64" + }, + "runtimes/linux-x64/native/_._": { + "assetType": "native", + "rid": "linux-x64" + }, + "runtimes/maccatalyst-arm64/native/_._": { + "assetType": "native", + "rid": "maccatalyst-arm64" + }, + "runtimes/maccatalyst-x64/native/_._": { + "assetType": "native", + "rid": "maccatalyst-x64" + }, + "runtimes/osx-arm64/native/_._": { + "assetType": "native", + "rid": "osx-arm64" + }, + "runtimes/osx-x64/native/_._": { + "assetType": "native", + "rid": "osx-x64" + } + } + }, + "runtime.android-x64.runtime.native.System.IO.Ports/9.0.0": { + "type": "package", + "runtimeTargets": { + "runtimes/android-arm/native/_._": { + "assetType": "native", + "rid": "android-arm" + }, + "runtimes/android-arm64/native/_._": { + "assetType": "native", + "rid": "android-arm64" + }, + "runtimes/android-x64/native/libSystem.IO.Ports.Native.so": { + "assetType": "native", + "rid": "android-x64" + }, + "runtimes/android-x86/native/_._": { + "assetType": "native", + "rid": "android-x86" + }, + "runtimes/linux-arm/native/_._": { + "assetType": "native", + "rid": "linux-arm" + }, + "runtimes/linux-arm64/native/_._": { + "assetType": "native", + "rid": "linux-arm64" + }, + "runtimes/linux-bionic-arm64/native/_._": { + "assetType": "native", + "rid": "linux-bionic-arm64" + }, + "runtimes/linux-bionic-x64/native/_._": { + "assetType": "native", + "rid": "linux-bionic-x64" + }, + "runtimes/linux-musl-arm/native/_._": { + "assetType": "native", + "rid": "linux-musl-arm" + }, + "runtimes/linux-musl-arm64/native/_._": { + "assetType": "native", + "rid": "linux-musl-arm64" + }, + "runtimes/linux-musl-x64/native/_._": { + "assetType": "native", + "rid": "linux-musl-x64" + }, + "runtimes/linux-x64/native/_._": { + "assetType": "native", + "rid": "linux-x64" + }, + "runtimes/maccatalyst-arm64/native/_._": { + "assetType": "native", + "rid": "maccatalyst-arm64" + }, + "runtimes/maccatalyst-x64/native/_._": { + "assetType": "native", + "rid": "maccatalyst-x64" + }, + "runtimes/osx-arm64/native/_._": { + "assetType": "native", + "rid": "osx-arm64" + }, + "runtimes/osx-x64/native/_._": { + "assetType": "native", + "rid": "osx-x64" + } + } + }, + "runtime.android-x86.runtime.native.System.IO.Ports/9.0.0": { + "type": "package", + "runtimeTargets": { + "runtimes/android-arm/native/_._": { + "assetType": "native", + "rid": "android-arm" + }, + "runtimes/android-arm64/native/_._": { + "assetType": "native", + "rid": "android-arm64" + }, + "runtimes/android-x64/native/_._": { + "assetType": "native", + "rid": "android-x64" + }, + "runtimes/android-x86/native/libSystem.IO.Ports.Native.so": { + "assetType": "native", + "rid": "android-x86" + }, + "runtimes/linux-arm/native/_._": { + "assetType": "native", + "rid": "linux-arm" + }, + "runtimes/linux-arm64/native/_._": { + "assetType": "native", + "rid": "linux-arm64" + }, + "runtimes/linux-bionic-arm64/native/_._": { + "assetType": "native", + "rid": "linux-bionic-arm64" + }, + "runtimes/linux-bionic-x64/native/_._": { + "assetType": "native", + "rid": "linux-bionic-x64" + }, + "runtimes/linux-musl-arm/native/_._": { + "assetType": "native", + "rid": "linux-musl-arm" + }, + "runtimes/linux-musl-arm64/native/_._": { + "assetType": "native", + "rid": "linux-musl-arm64" + }, + "runtimes/linux-musl-x64/native/_._": { + "assetType": "native", + "rid": "linux-musl-x64" + }, + "runtimes/linux-x64/native/_._": { + "assetType": "native", + "rid": "linux-x64" + }, + "runtimes/maccatalyst-arm64/native/_._": { + "assetType": "native", + "rid": "maccatalyst-arm64" + }, + "runtimes/maccatalyst-x64/native/_._": { + "assetType": "native", + "rid": "maccatalyst-x64" + }, + "runtimes/osx-arm64/native/_._": { + "assetType": "native", + "rid": "osx-arm64" + }, + "runtimes/osx-x64/native/_._": { + "assetType": "native", + "rid": "osx-x64" + } + } + }, + "runtime.linux-arm.runtime.native.System.IO.Ports/9.0.0": { + "type": "package", + "runtimeTargets": { + "runtimes/android-arm/native/_._": { + "assetType": "native", + "rid": "android-arm" + }, + "runtimes/android-arm64/native/_._": { + "assetType": "native", + "rid": "android-arm64" + }, + "runtimes/android-x64/native/_._": { + "assetType": "native", + "rid": "android-x64" + }, + "runtimes/android-x86/native/_._": { + "assetType": "native", + "rid": "android-x86" + }, + "runtimes/linux-arm/native/libSystem.IO.Ports.Native.so": { + "assetType": "native", + "rid": "linux-arm" + }, + "runtimes/linux-arm64/native/_._": { + "assetType": "native", + "rid": "linux-arm64" + }, + "runtimes/linux-bionic-arm64/native/_._": { + "assetType": "native", + "rid": "linux-bionic-arm64" + }, + "runtimes/linux-bionic-x64/native/_._": { + "assetType": "native", + "rid": "linux-bionic-x64" + }, + "runtimes/linux-musl-arm/native/_._": { + "assetType": "native", + "rid": "linux-musl-arm" + }, + "runtimes/linux-musl-arm64/native/_._": { + "assetType": "native", + "rid": "linux-musl-arm64" + }, + "runtimes/linux-musl-x64/native/_._": { + "assetType": "native", + "rid": "linux-musl-x64" + }, + "runtimes/linux-x64/native/_._": { + "assetType": "native", + "rid": "linux-x64" + }, + "runtimes/maccatalyst-arm64/native/_._": { + "assetType": "native", + "rid": "maccatalyst-arm64" + }, + "runtimes/maccatalyst-x64/native/_._": { + "assetType": "native", + "rid": "maccatalyst-x64" + }, + "runtimes/osx-arm64/native/_._": { + "assetType": "native", + "rid": "osx-arm64" + }, + "runtimes/osx-x64/native/_._": { + "assetType": "native", + "rid": "osx-x64" + } + } + }, + "runtime.linux-arm64.runtime.native.System.IO.Ports/9.0.0": { + "type": "package", + "runtimeTargets": { + "runtimes/android-arm/native/_._": { + "assetType": "native", + "rid": "android-arm" + }, + "runtimes/android-arm64/native/_._": { + "assetType": "native", + "rid": "android-arm64" + }, + "runtimes/android-x64/native/_._": { + "assetType": "native", + "rid": "android-x64" + }, + "runtimes/android-x86/native/_._": { + "assetType": "native", + "rid": "android-x86" + }, + "runtimes/linux-arm/native/_._": { + "assetType": "native", + "rid": "linux-arm" + }, + "runtimes/linux-arm64/native/libSystem.IO.Ports.Native.so": { + "assetType": "native", + "rid": "linux-arm64" + }, + "runtimes/linux-bionic-arm64/native/_._": { + "assetType": "native", + "rid": "linux-bionic-arm64" + }, + "runtimes/linux-bionic-x64/native/_._": { + "assetType": "native", + "rid": "linux-bionic-x64" + }, + "runtimes/linux-musl-arm/native/_._": { + "assetType": "native", + "rid": "linux-musl-arm" + }, + "runtimes/linux-musl-arm64/native/_._": { + "assetType": "native", + "rid": "linux-musl-arm64" + }, + "runtimes/linux-musl-x64/native/_._": { + "assetType": "native", + "rid": "linux-musl-x64" + }, + "runtimes/linux-x64/native/_._": { + "assetType": "native", + "rid": "linux-x64" + }, + "runtimes/maccatalyst-arm64/native/_._": { + "assetType": "native", + "rid": "maccatalyst-arm64" + }, + "runtimes/maccatalyst-x64/native/_._": { + "assetType": "native", + "rid": "maccatalyst-x64" + }, + "runtimes/osx-arm64/native/_._": { + "assetType": "native", + "rid": "osx-arm64" + }, + "runtimes/osx-x64/native/_._": { + "assetType": "native", + "rid": "osx-x64" + } + } + }, + "runtime.linux-bionic-arm64.runtime.native.System.IO.Ports/9.0.0": { + "type": "package", + "runtimeTargets": { + "runtimes/android-arm/native/_._": { + "assetType": "native", + "rid": "android-arm" + }, + "runtimes/android-arm64/native/_._": { + "assetType": "native", + "rid": "android-arm64" + }, + "runtimes/android-x64/native/_._": { + "assetType": "native", + "rid": "android-x64" + }, + "runtimes/android-x86/native/_._": { + "assetType": "native", + "rid": "android-x86" + }, + "runtimes/linux-arm/native/_._": { + "assetType": "native", + "rid": "linux-arm" + }, + "runtimes/linux-arm64/native/_._": { + "assetType": "native", + "rid": "linux-arm64" + }, + "runtimes/linux-bionic-arm64/native/libSystem.IO.Ports.Native.so": { + "assetType": "native", + "rid": "linux-bionic-arm64" + }, + "runtimes/linux-bionic-x64/native/_._": { + "assetType": "native", + "rid": "linux-bionic-x64" + }, + "runtimes/linux-musl-arm/native/_._": { + "assetType": "native", + "rid": "linux-musl-arm" + }, + "runtimes/linux-musl-arm64/native/_._": { + "assetType": "native", + "rid": "linux-musl-arm64" + }, + "runtimes/linux-musl-x64/native/_._": { + "assetType": "native", + "rid": "linux-musl-x64" + }, + "runtimes/linux-x64/native/_._": { + "assetType": "native", + "rid": "linux-x64" + }, + "runtimes/maccatalyst-arm64/native/_._": { + "assetType": "native", + "rid": "maccatalyst-arm64" + }, + "runtimes/maccatalyst-x64/native/_._": { + "assetType": "native", + "rid": "maccatalyst-x64" + }, + "runtimes/osx-arm64/native/_._": { + "assetType": "native", + "rid": "osx-arm64" + }, + "runtimes/osx-x64/native/_._": { + "assetType": "native", + "rid": "osx-x64" + } + } + }, + "runtime.linux-bionic-x64.runtime.native.System.IO.Ports/9.0.0": { + "type": "package", + "runtimeTargets": { + "runtimes/android-arm/native/_._": { + "assetType": "native", + "rid": "android-arm" + }, + "runtimes/android-arm64/native/_._": { + "assetType": "native", + "rid": "android-arm64" + }, + "runtimes/android-x64/native/_._": { + "assetType": "native", + "rid": "android-x64" + }, + "runtimes/android-x86/native/_._": { + "assetType": "native", + "rid": "android-x86" + }, + "runtimes/linux-arm/native/_._": { + "assetType": "native", + "rid": "linux-arm" + }, + "runtimes/linux-arm64/native/_._": { + "assetType": "native", + "rid": "linux-arm64" + }, + "runtimes/linux-bionic-arm64/native/_._": { + "assetType": "native", + "rid": "linux-bionic-arm64" + }, + "runtimes/linux-bionic-x64/native/libSystem.IO.Ports.Native.so": { + "assetType": "native", + "rid": "linux-bionic-x64" + }, + "runtimes/linux-musl-arm/native/_._": { + "assetType": "native", + "rid": "linux-musl-arm" + }, + "runtimes/linux-musl-arm64/native/_._": { + "assetType": "native", + "rid": "linux-musl-arm64" + }, + "runtimes/linux-musl-x64/native/_._": { + "assetType": "native", + "rid": "linux-musl-x64" + }, + "runtimes/linux-x64/native/_._": { + "assetType": "native", + "rid": "linux-x64" + }, + "runtimes/maccatalyst-arm64/native/_._": { + "assetType": "native", + "rid": "maccatalyst-arm64" + }, + "runtimes/maccatalyst-x64/native/_._": { + "assetType": "native", + "rid": "maccatalyst-x64" + }, + "runtimes/osx-arm64/native/_._": { + "assetType": "native", + "rid": "osx-arm64" + }, + "runtimes/osx-x64/native/_._": { + "assetType": "native", + "rid": "osx-x64" + } + } + }, + "runtime.linux-musl-arm.runtime.native.System.IO.Ports/9.0.0": { + "type": "package", + "runtimeTargets": { + "runtimes/android-arm/native/_._": { + "assetType": "native", + "rid": "android-arm" + }, + "runtimes/android-arm64/native/_._": { + "assetType": "native", + "rid": "android-arm64" + }, + "runtimes/android-x64/native/_._": { + "assetType": "native", + "rid": "android-x64" + }, + "runtimes/android-x86/native/_._": { + "assetType": "native", + "rid": "android-x86" + }, + "runtimes/linux-arm/native/_._": { + "assetType": "native", + "rid": "linux-arm" + }, + "runtimes/linux-arm64/native/_._": { + "assetType": "native", + "rid": "linux-arm64" + }, + "runtimes/linux-bionic-arm64/native/_._": { + "assetType": "native", + "rid": "linux-bionic-arm64" + }, + "runtimes/linux-bionic-x64/native/_._": { + "assetType": "native", + "rid": "linux-bionic-x64" + }, + "runtimes/linux-musl-arm/native/libSystem.IO.Ports.Native.so": { + "assetType": "native", + "rid": "linux-musl-arm" + }, + "runtimes/linux-musl-arm64/native/_._": { + "assetType": "native", + "rid": "linux-musl-arm64" + }, + "runtimes/linux-musl-x64/native/_._": { + "assetType": "native", + "rid": "linux-musl-x64" + }, + "runtimes/linux-x64/native/_._": { + "assetType": "native", + "rid": "linux-x64" + }, + "runtimes/maccatalyst-arm64/native/_._": { + "assetType": "native", + "rid": "maccatalyst-arm64" + }, + "runtimes/maccatalyst-x64/native/_._": { + "assetType": "native", + "rid": "maccatalyst-x64" + }, + "runtimes/osx-arm64/native/_._": { + "assetType": "native", + "rid": "osx-arm64" + }, + "runtimes/osx-x64/native/_._": { + "assetType": "native", + "rid": "osx-x64" + } + } + }, + "runtime.linux-musl-arm64.runtime.native.System.IO.Ports/9.0.0": { + "type": "package", + "runtimeTargets": { + "runtimes/android-arm/native/_._": { + "assetType": "native", + "rid": "android-arm" + }, + "runtimes/android-arm64/native/_._": { + "assetType": "native", + "rid": "android-arm64" + }, + "runtimes/android-x64/native/_._": { + "assetType": "native", + "rid": "android-x64" + }, + "runtimes/android-x86/native/_._": { + "assetType": "native", + "rid": "android-x86" + }, + "runtimes/linux-arm/native/_._": { + "assetType": "native", + "rid": "linux-arm" + }, + "runtimes/linux-arm64/native/_._": { + "assetType": "native", + "rid": "linux-arm64" + }, + "runtimes/linux-bionic-arm64/native/_._": { + "assetType": "native", + "rid": "linux-bionic-arm64" + }, + "runtimes/linux-bionic-x64/native/_._": { + "assetType": "native", + "rid": "linux-bionic-x64" + }, + "runtimes/linux-musl-arm/native/_._": { + "assetType": "native", + "rid": "linux-musl-arm" + }, + "runtimes/linux-musl-arm64/native/libSystem.IO.Ports.Native.so": { + "assetType": "native", + "rid": "linux-musl-arm64" + }, + "runtimes/linux-musl-x64/native/_._": { + "assetType": "native", + "rid": "linux-musl-x64" + }, + "runtimes/linux-x64/native/_._": { + "assetType": "native", + "rid": "linux-x64" + }, + "runtimes/maccatalyst-arm64/native/_._": { + "assetType": "native", + "rid": "maccatalyst-arm64" + }, + "runtimes/maccatalyst-x64/native/_._": { + "assetType": "native", + "rid": "maccatalyst-x64" + }, + "runtimes/osx-arm64/native/_._": { + "assetType": "native", + "rid": "osx-arm64" + }, + "runtimes/osx-x64/native/_._": { + "assetType": "native", + "rid": "osx-x64" + } + } + }, + "runtime.linux-musl-x64.runtime.native.System.IO.Ports/9.0.0": { + "type": "package", + "runtimeTargets": { + "runtimes/android-arm/native/_._": { + "assetType": "native", + "rid": "android-arm" + }, + "runtimes/android-arm64/native/_._": { + "assetType": "native", + "rid": "android-arm64" + }, + "runtimes/android-x64/native/_._": { + "assetType": "native", + "rid": "android-x64" + }, + "runtimes/android-x86/native/_._": { + "assetType": "native", + "rid": "android-x86" + }, + "runtimes/linux-arm/native/_._": { + "assetType": "native", + "rid": "linux-arm" + }, + "runtimes/linux-arm64/native/_._": { + "assetType": "native", + "rid": "linux-arm64" + }, + "runtimes/linux-bionic-arm64/native/_._": { + "assetType": "native", + "rid": "linux-bionic-arm64" + }, + "runtimes/linux-bionic-x64/native/_._": { + "assetType": "native", + "rid": "linux-bionic-x64" + }, + "runtimes/linux-musl-arm/native/_._": { + "assetType": "native", + "rid": "linux-musl-arm" + }, + "runtimes/linux-musl-arm64/native/_._": { + "assetType": "native", + "rid": "linux-musl-arm64" + }, + "runtimes/linux-musl-x64/native/libSystem.IO.Ports.Native.so": { + "assetType": "native", + "rid": "linux-musl-x64" + }, + "runtimes/linux-x64/native/_._": { + "assetType": "native", + "rid": "linux-x64" + }, + "runtimes/maccatalyst-arm64/native/_._": { + "assetType": "native", + "rid": "maccatalyst-arm64" + }, + "runtimes/maccatalyst-x64/native/_._": { + "assetType": "native", + "rid": "maccatalyst-x64" + }, + "runtimes/osx-arm64/native/_._": { + "assetType": "native", + "rid": "osx-arm64" + }, + "runtimes/osx-x64/native/_._": { + "assetType": "native", + "rid": "osx-x64" + } + } + }, + "runtime.linux-x64.runtime.native.System.IO.Ports/9.0.0": { + "type": "package", + "runtimeTargets": { + "runtimes/android-arm/native/_._": { + "assetType": "native", + "rid": "android-arm" + }, + "runtimes/android-arm64/native/_._": { + "assetType": "native", + "rid": "android-arm64" + }, + "runtimes/android-x64/native/_._": { + "assetType": "native", + "rid": "android-x64" + }, + "runtimes/android-x86/native/_._": { + "assetType": "native", + "rid": "android-x86" + }, + "runtimes/linux-arm/native/_._": { + "assetType": "native", + "rid": "linux-arm" + }, + "runtimes/linux-arm64/native/_._": { + "assetType": "native", + "rid": "linux-arm64" + }, + "runtimes/linux-bionic-arm64/native/_._": { + "assetType": "native", + "rid": "linux-bionic-arm64" + }, + "runtimes/linux-bionic-x64/native/_._": { + "assetType": "native", + "rid": "linux-bionic-x64" + }, + "runtimes/linux-musl-arm/native/_._": { + "assetType": "native", + "rid": "linux-musl-arm" + }, + "runtimes/linux-musl-arm64/native/_._": { + "assetType": "native", + "rid": "linux-musl-arm64" + }, + "runtimes/linux-musl-x64/native/_._": { + "assetType": "native", + "rid": "linux-musl-x64" + }, + "runtimes/linux-x64/native/libSystem.IO.Ports.Native.so": { + "assetType": "native", + "rid": "linux-x64" + }, + "runtimes/maccatalyst-arm64/native/_._": { + "assetType": "native", + "rid": "maccatalyst-arm64" + }, + "runtimes/maccatalyst-x64/native/_._": { + "assetType": "native", + "rid": "maccatalyst-x64" + }, + "runtimes/osx-arm64/native/_._": { + "assetType": "native", + "rid": "osx-arm64" + }, + "runtimes/osx-x64/native/_._": { + "assetType": "native", + "rid": "osx-x64" + } + } + }, + "runtime.maccatalyst-arm64.runtime.native.System.IO.Ports/9.0.0": { + "type": "package", + "runtimeTargets": { + "runtimes/android-arm/native/_._": { + "assetType": "native", + "rid": "android-arm" + }, + "runtimes/android-arm64/native/_._": { + "assetType": "native", + "rid": "android-arm64" + }, + "runtimes/android-x64/native/_._": { + "assetType": "native", + "rid": "android-x64" + }, + "runtimes/android-x86/native/_._": { + "assetType": "native", + "rid": "android-x86" + }, + "runtimes/linux-arm/native/_._": { + "assetType": "native", + "rid": "linux-arm" + }, + "runtimes/linux-arm64/native/_._": { + "assetType": "native", + "rid": "linux-arm64" + }, + "runtimes/linux-bionic-arm64/native/_._": { + "assetType": "native", + "rid": "linux-bionic-arm64" + }, + "runtimes/linux-bionic-x64/native/_._": { + "assetType": "native", + "rid": "linux-bionic-x64" + }, + "runtimes/linux-musl-arm/native/_._": { + "assetType": "native", + "rid": "linux-musl-arm" + }, + "runtimes/linux-musl-arm64/native/_._": { + "assetType": "native", + "rid": "linux-musl-arm64" + }, + "runtimes/linux-musl-x64/native/_._": { + "assetType": "native", + "rid": "linux-musl-x64" + }, + "runtimes/linux-x64/native/_._": { + "assetType": "native", + "rid": "linux-x64" + }, + "runtimes/maccatalyst-arm64/native/libSystem.IO.Ports.Native.dylib": { + "assetType": "native", + "rid": "maccatalyst-arm64" + }, + "runtimes/maccatalyst-x64/native/_._": { + "assetType": "native", + "rid": "maccatalyst-x64" + }, + "runtimes/osx-arm64/native/_._": { + "assetType": "native", + "rid": "osx-arm64" + }, + "runtimes/osx-x64/native/_._": { + "assetType": "native", + "rid": "osx-x64" + } + } + }, + "runtime.maccatalyst-x64.runtime.native.System.IO.Ports/9.0.0": { + "type": "package", + "runtimeTargets": { + "runtimes/android-arm/native/_._": { + "assetType": "native", + "rid": "android-arm" + }, + "runtimes/android-arm64/native/_._": { + "assetType": "native", + "rid": "android-arm64" + }, + "runtimes/android-x64/native/_._": { + "assetType": "native", + "rid": "android-x64" + }, + "runtimes/android-x86/native/_._": { + "assetType": "native", + "rid": "android-x86" + }, + "runtimes/linux-arm/native/_._": { + "assetType": "native", + "rid": "linux-arm" + }, + "runtimes/linux-arm64/native/_._": { + "assetType": "native", + "rid": "linux-arm64" + }, + "runtimes/linux-bionic-arm64/native/_._": { + "assetType": "native", + "rid": "linux-bionic-arm64" + }, + "runtimes/linux-bionic-x64/native/_._": { + "assetType": "native", + "rid": "linux-bionic-x64" + }, + "runtimes/linux-musl-arm/native/_._": { + "assetType": "native", + "rid": "linux-musl-arm" + }, + "runtimes/linux-musl-arm64/native/_._": { + "assetType": "native", + "rid": "linux-musl-arm64" + }, + "runtimes/linux-musl-x64/native/_._": { + "assetType": "native", + "rid": "linux-musl-x64" + }, + "runtimes/linux-x64/native/_._": { + "assetType": "native", + "rid": "linux-x64" + }, + "runtimes/maccatalyst-arm64/native/_._": { + "assetType": "native", + "rid": "maccatalyst-arm64" + }, + "runtimes/maccatalyst-x64/native/libSystem.IO.Ports.Native.dylib": { + "assetType": "native", + "rid": "maccatalyst-x64" + }, + "runtimes/osx-arm64/native/_._": { + "assetType": "native", + "rid": "osx-arm64" + }, + "runtimes/osx-x64/native/_._": { + "assetType": "native", + "rid": "osx-x64" + } + } + }, + "runtime.native.System.Data.SqlClient.sni/4.4.0": { + "type": "package", + "dependencies": { + "runtime.win-arm64.runtime.native.System.Data.SqlClient.sni": "4.4.0", + "runtime.win-x64.runtime.native.System.Data.SqlClient.sni": "4.4.0", + "runtime.win-x86.runtime.native.System.Data.SqlClient.sni": "4.4.0" + } + }, + "runtime.native.System.IO.Ports/9.0.0": { + "type": "package", + "dependencies": { + "runtime.android-arm.runtime.native.System.IO.Ports": "9.0.0", + "runtime.android-arm64.runtime.native.System.IO.Ports": "9.0.0", + "runtime.android-x64.runtime.native.System.IO.Ports": "9.0.0", + "runtime.android-x86.runtime.native.System.IO.Ports": "9.0.0", + "runtime.linux-arm.runtime.native.System.IO.Ports": "9.0.0", + "runtime.linux-arm64.runtime.native.System.IO.Ports": "9.0.0", + "runtime.linux-bionic-arm64.runtime.native.System.IO.Ports": "9.0.0", + "runtime.linux-bionic-x64.runtime.native.System.IO.Ports": "9.0.0", + "runtime.linux-musl-arm.runtime.native.System.IO.Ports": "9.0.0", + "runtime.linux-musl-arm64.runtime.native.System.IO.Ports": "9.0.0", + "runtime.linux-musl-x64.runtime.native.System.IO.Ports": "9.0.0", + "runtime.linux-x64.runtime.native.System.IO.Ports": "9.0.0", + "runtime.maccatalyst-arm64.runtime.native.System.IO.Ports": "9.0.0", + "runtime.maccatalyst-x64.runtime.native.System.IO.Ports": "9.0.0", + "runtime.osx-arm64.runtime.native.System.IO.Ports": "9.0.0", + "runtime.osx-x64.runtime.native.System.IO.Ports": "9.0.0" + } + }, + "runtime.osx-arm64.runtime.native.System.IO.Ports/9.0.0": { + "type": "package", + "runtimeTargets": { + "runtimes/android-arm/native/_._": { + "assetType": "native", + "rid": "android-arm" + }, + "runtimes/android-arm64/native/_._": { + "assetType": "native", + "rid": "android-arm64" + }, + "runtimes/android-x64/native/_._": { + "assetType": "native", + "rid": "android-x64" + }, + "runtimes/android-x86/native/_._": { + "assetType": "native", + "rid": "android-x86" + }, + "runtimes/linux-arm/native/_._": { + "assetType": "native", + "rid": "linux-arm" + }, + "runtimes/linux-arm64/native/_._": { + "assetType": "native", + "rid": "linux-arm64" + }, + "runtimes/linux-bionic-arm64/native/_._": { + "assetType": "native", + "rid": "linux-bionic-arm64" + }, + "runtimes/linux-bionic-x64/native/_._": { + "assetType": "native", + "rid": "linux-bionic-x64" + }, + "runtimes/linux-musl-arm/native/_._": { + "assetType": "native", + "rid": "linux-musl-arm" + }, + "runtimes/linux-musl-arm64/native/_._": { + "assetType": "native", + "rid": "linux-musl-arm64" + }, + "runtimes/linux-musl-x64/native/_._": { + "assetType": "native", + "rid": "linux-musl-x64" + }, + "runtimes/linux-x64/native/_._": { + "assetType": "native", + "rid": "linux-x64" + }, + "runtimes/maccatalyst-arm64/native/_._": { + "assetType": "native", + "rid": "maccatalyst-arm64" + }, + "runtimes/maccatalyst-x64/native/_._": { + "assetType": "native", + "rid": "maccatalyst-x64" + }, + "runtimes/osx-arm64/native/libSystem.IO.Ports.Native.dylib": { + "assetType": "native", + "rid": "osx-arm64" + }, + "runtimes/osx-x64/native/_._": { + "assetType": "native", + "rid": "osx-x64" + } + } + }, + "runtime.osx-x64.runtime.native.System.IO.Ports/9.0.0": { + "type": "package", + "runtimeTargets": { + "runtimes/android-arm/native/_._": { + "assetType": "native", + "rid": "android-arm" + }, + "runtimes/android-arm64/native/_._": { + "assetType": "native", + "rid": "android-arm64" + }, + "runtimes/android-x64/native/_._": { + "assetType": "native", + "rid": "android-x64" + }, + "runtimes/android-x86/native/_._": { + "assetType": "native", + "rid": "android-x86" + }, + "runtimes/linux-arm/native/_._": { + "assetType": "native", + "rid": "linux-arm" + }, + "runtimes/linux-arm64/native/_._": { + "assetType": "native", + "rid": "linux-arm64" + }, + "runtimes/linux-bionic-arm64/native/_._": { + "assetType": "native", + "rid": "linux-bionic-arm64" + }, + "runtimes/linux-bionic-x64/native/_._": { + "assetType": "native", + "rid": "linux-bionic-x64" + }, + "runtimes/linux-musl-arm/native/_._": { + "assetType": "native", + "rid": "linux-musl-arm" + }, + "runtimes/linux-musl-arm64/native/_._": { + "assetType": "native", + "rid": "linux-musl-arm64" + }, + "runtimes/linux-musl-x64/native/_._": { + "assetType": "native", + "rid": "linux-musl-x64" + }, + "runtimes/linux-x64/native/_._": { + "assetType": "native", + "rid": "linux-x64" + }, + "runtimes/maccatalyst-arm64/native/_._": { + "assetType": "native", + "rid": "maccatalyst-arm64" + }, + "runtimes/maccatalyst-x64/native/_._": { + "assetType": "native", + "rid": "maccatalyst-x64" + }, + "runtimes/osx-arm64/native/_._": { + "assetType": "native", + "rid": "osx-arm64" + }, + "runtimes/osx-x64/native/libSystem.IO.Ports.Native.dylib": { + "assetType": "native", + "rid": "osx-x64" + } + } + }, + "runtime.win-arm64.runtime.native.System.Data.SqlClient.sni/4.4.0": { + "type": "package", + "runtimeTargets": { + "runtimes/win-arm64/native/sni.dll": { + "assetType": "native", + "rid": "win-arm64" + } + } + }, + "runtime.win-x64.runtime.native.System.Data.SqlClient.sni/4.4.0": { + "type": "package", + "runtimeTargets": { + "runtimes/win-x64/native/sni.dll": { + "assetType": "native", + "rid": "win-x64" + } + } + }, + "runtime.win-x86.runtime.native.System.Data.SqlClient.sni/4.4.0": { + "type": "package", + "runtimeTargets": { + "runtimes/win-x86/native/sni.dll": { + "assetType": "native", + "rid": "win-x86" + } + } + }, + "System.Data.SqlClient/4.9.0": { + "type": "package", + "dependencies": { + "runtime.native.System.Data.SqlClient.sni": "4.4.0" + }, + "compile": { + "lib/net8.0/System.Data.SqlClient.dll": { + "related": ".xml" + } + }, + "runtime": { + "lib/net8.0/System.Data.SqlClient.dll": { + "related": ".xml" + } + }, + "build": { + "buildTransitive/net6.0/_._": {} + }, + "runtimeTargets": { + "runtimes/unix/lib/net8.0/System.Data.SqlClient.dll": { + "assetType": "runtime", + "rid": "unix" + }, + "runtimes/win/lib/net8.0/System.Data.SqlClient.dll": { + "assetType": "runtime", + "rid": "win" + } + } + }, + "System.IO.Ports/9.0.0": { + "type": "package", + "dependencies": { + "runtime.native.System.IO.Ports": "9.0.0" + }, + "compile": { + "lib/net9.0/System.IO.Ports.dll": { + "related": ".xml" + } + }, + "runtime": { + "lib/net9.0/System.IO.Ports.dll": { + "related": ".xml" + } + }, + "build": { + "buildTransitive/net8.0/_._": {} + }, + "runtimeTargets": { + "runtimes/unix/lib/net9.0/System.IO.Ports.dll": { + "assetType": "runtime", + "rid": "unix" + }, + "runtimes/win/lib/net9.0/System.IO.Ports.dll": { + "assetType": "runtime", + "rid": "win" + } + } + } + } + }, + "libraries": { + "Microsoft.VisualStudio.Setup.Configuration.Interop/3.14.2075": { + "sha512": "SH4pYl7XBUjL6sRAk+l2jsK7B9VbiKPEKkzJdmNxgexeHpAP7T+VlZk0w3NHgPG1UGQ3fxnhc427cM2o9GUYYA==", + "type": "package", + "path": "microsoft.visualstudio.setup.configuration.interop/3.14.2075", + "files": [ + ".nupkg.metadata", + ".signature.p7s", + "build/Microsoft.VisualStudio.Setup.Configuration.Interop.targets", + "lib/net35/Microsoft.VisualStudio.Setup.Configuration.Interop.dll", + "lib/net35/Microsoft.VisualStudio.Setup.Configuration.Interop.xml", + "lib/netstandard2.1/Microsoft.VisualStudio.Setup.Configuration.Interop.dll", + "lib/netstandard2.1/Microsoft.VisualStudio.Setup.Configuration.Interop.xml", + "microsoft.visualstudio.setup.configuration.interop.3.14.2075.nupkg.sha512", + "microsoft.visualstudio.setup.configuration.interop.nuspec" + ] + }, + "runtime.android-arm.runtime.native.System.IO.Ports/9.0.0": { + "sha512": "zF8HT4aoFZkWF4OxhFLxUNEfoIjyILg0aQhgIR3m+dbLE4yadMd7kdctMvPhYYaVpnilmBCIjiQsrxH4UC/JxQ==", + "type": "package", + "path": "runtime.android-arm.runtime.native.system.io.ports/9.0.0", + "files": [ + ".nupkg.metadata", + ".signature.p7s", + "Icon.png", + "LICENSE.TXT", + "PACKAGE.md", + "THIRD-PARTY-NOTICES.TXT", + "runtime.android-arm.runtime.native.system.io.ports.9.0.0.nupkg.sha512", + "runtime.android-arm.runtime.native.system.io.ports.nuspec", + "runtimes/android-arm/native/libSystem.IO.Ports.Native.so", + "runtimes/android-arm64/native/_._", + "runtimes/android-x64/native/_._", + "runtimes/android-x86/native/_._", + "runtimes/linux-arm/native/_._", + "runtimes/linux-arm64/native/_._", + "runtimes/linux-bionic-arm64/native/_._", + "runtimes/linux-bionic-x64/native/_._", + "runtimes/linux-musl-arm/native/_._", + "runtimes/linux-musl-arm64/native/_._", + "runtimes/linux-musl-x64/native/_._", + "runtimes/linux-x64/native/_._", + "runtimes/maccatalyst-arm64/native/_._", + "runtimes/maccatalyst-x64/native/_._", + "runtimes/osx-arm64/native/_._", + "runtimes/osx-x64/native/_._", + "useSharedDesignerContext.txt" + ] + }, + "runtime.android-arm64.runtime.native.System.IO.Ports/9.0.0": { + "sha512": "JVRoxUTXhyFfDak3GLbZh9oPjz+eVJwiZQWOU/TQ1Nj7us11GMc97IBsRzjGDtGJvFOWhGhEkka8SYmVcwpA2A==", + "type": "package", + "path": "runtime.android-arm64.runtime.native.system.io.ports/9.0.0", + "files": [ + ".nupkg.metadata", + ".signature.p7s", + "Icon.png", + "LICENSE.TXT", + "PACKAGE.md", + "THIRD-PARTY-NOTICES.TXT", + "runtime.android-arm64.runtime.native.system.io.ports.9.0.0.nupkg.sha512", + "runtime.android-arm64.runtime.native.system.io.ports.nuspec", + "runtimes/android-arm/native/_._", + "runtimes/android-arm64/native/libSystem.IO.Ports.Native.so", + "runtimes/android-x64/native/_._", + "runtimes/android-x86/native/_._", + "runtimes/linux-arm/native/_._", + "runtimes/linux-arm64/native/_._", + "runtimes/linux-bionic-arm64/native/_._", + "runtimes/linux-bionic-x64/native/_._", + "runtimes/linux-musl-arm/native/_._", + "runtimes/linux-musl-arm64/native/_._", + "runtimes/linux-musl-x64/native/_._", + "runtimes/linux-x64/native/_._", + "runtimes/maccatalyst-arm64/native/_._", + "runtimes/maccatalyst-x64/native/_._", + "runtimes/osx-arm64/native/_._", + "runtimes/osx-x64/native/_._", + "useSharedDesignerContext.txt" + ] + }, + "runtime.android-x64.runtime.native.System.IO.Ports/9.0.0": { + "sha512": "QMWQv8nptbkzEDPUOmVwo3l/ve1pgApqv/eGY/eIJoNCGxUP6MYUu/GHdznRaBlSkuRyhFN8osVyqZMFKlBA7g==", + "type": "package", + "path": "runtime.android-x64.runtime.native.system.io.ports/9.0.0", + "files": [ + ".nupkg.metadata", + ".signature.p7s", + "Icon.png", + "LICENSE.TXT", + "PACKAGE.md", + "THIRD-PARTY-NOTICES.TXT", + "runtime.android-x64.runtime.native.system.io.ports.9.0.0.nupkg.sha512", + "runtime.android-x64.runtime.native.system.io.ports.nuspec", + "runtimes/android-arm/native/_._", + "runtimes/android-arm64/native/_._", + "runtimes/android-x64/native/libSystem.IO.Ports.Native.so", + "runtimes/android-x86/native/_._", + "runtimes/linux-arm/native/_._", + "runtimes/linux-arm64/native/_._", + "runtimes/linux-bionic-arm64/native/_._", + "runtimes/linux-bionic-x64/native/_._", + "runtimes/linux-musl-arm/native/_._", + "runtimes/linux-musl-arm64/native/_._", + "runtimes/linux-musl-x64/native/_._", + "runtimes/linux-x64/native/_._", + "runtimes/maccatalyst-arm64/native/_._", + "runtimes/maccatalyst-x64/native/_._", + "runtimes/osx-arm64/native/_._", + "runtimes/osx-x64/native/_._", + "useSharedDesignerContext.txt" + ] + }, + "runtime.android-x86.runtime.native.System.IO.Ports/9.0.0": { + "sha512": "NRuTmUukSfpbv1wdJJXvWE/v1+aRHw5OxEODGeyKuFGy09uZIfFsdU1SPXB1cGPHsUaZRhZfOVel30zEgRQiUw==", + "type": "package", + "path": "runtime.android-x86.runtime.native.system.io.ports/9.0.0", + "files": [ + ".nupkg.metadata", + ".signature.p7s", + "Icon.png", + "LICENSE.TXT", + "PACKAGE.md", + "THIRD-PARTY-NOTICES.TXT", + "runtime.android-x86.runtime.native.system.io.ports.9.0.0.nupkg.sha512", + "runtime.android-x86.runtime.native.system.io.ports.nuspec", + "runtimes/android-arm/native/_._", + "runtimes/android-arm64/native/_._", + "runtimes/android-x64/native/_._", + "runtimes/android-x86/native/libSystem.IO.Ports.Native.so", + "runtimes/linux-arm/native/_._", + "runtimes/linux-arm64/native/_._", + "runtimes/linux-bionic-arm64/native/_._", + "runtimes/linux-bionic-x64/native/_._", + "runtimes/linux-musl-arm/native/_._", + "runtimes/linux-musl-arm64/native/_._", + "runtimes/linux-musl-x64/native/_._", + "runtimes/linux-x64/native/_._", + "runtimes/maccatalyst-arm64/native/_._", + "runtimes/maccatalyst-x64/native/_._", + "runtimes/osx-arm64/native/_._", + "runtimes/osx-x64/native/_._", + "useSharedDesignerContext.txt" + ] + }, + "runtime.linux-arm.runtime.native.System.IO.Ports/9.0.0": { + "sha512": "l5/3/3LfkemzovK66DrxsbGXRXIgmHaqYaYdhFR09lawWbPHhq4HJ0u2FzO+/neidm8bJtJAV6+iixMDuYIBgg==", + "type": "package", + "path": "runtime.linux-arm.runtime.native.system.io.ports/9.0.0", + "files": [ + ".nupkg.metadata", + ".signature.p7s", + "Icon.png", + "LICENSE.TXT", + "PACKAGE.md", + "THIRD-PARTY-NOTICES.TXT", + "runtime.linux-arm.runtime.native.system.io.ports.9.0.0.nupkg.sha512", + "runtime.linux-arm.runtime.native.system.io.ports.nuspec", + "runtimes/android-arm/native/_._", + "runtimes/android-arm64/native/_._", + "runtimes/android-x64/native/_._", + "runtimes/android-x86/native/_._", + "runtimes/linux-arm/native/libSystem.IO.Ports.Native.so", + "runtimes/linux-arm64/native/_._", + "runtimes/linux-bionic-arm64/native/_._", + "runtimes/linux-bionic-x64/native/_._", + "runtimes/linux-musl-arm/native/_._", + "runtimes/linux-musl-arm64/native/_._", + "runtimes/linux-musl-x64/native/_._", + "runtimes/linux-x64/native/_._", + "runtimes/maccatalyst-arm64/native/_._", + "runtimes/maccatalyst-x64/native/_._", + "runtimes/osx-arm64/native/_._", + "runtimes/osx-x64/native/_._", + "useSharedDesignerContext.txt" + ] + }, + "runtime.linux-arm64.runtime.native.System.IO.Ports/9.0.0": { + "sha512": "q69FDpp5XSq3lJUMyMpUXBXTh6ekNM1NCnM5aYYiIx4AY1cH/rgLSwR4n2wQJqC6yuL0Z/epSf3KoYLYT8++Yg==", + "type": "package", + "path": "runtime.linux-arm64.runtime.native.system.io.ports/9.0.0", + "files": [ + ".nupkg.metadata", + ".signature.p7s", + "Icon.png", + "LICENSE.TXT", + "PACKAGE.md", + "THIRD-PARTY-NOTICES.TXT", + "runtime.linux-arm64.runtime.native.system.io.ports.9.0.0.nupkg.sha512", + "runtime.linux-arm64.runtime.native.system.io.ports.nuspec", + "runtimes/android-arm/native/_._", + "runtimes/android-arm64/native/_._", + "runtimes/android-x64/native/_._", + "runtimes/android-x86/native/_._", + "runtimes/linux-arm/native/_._", + "runtimes/linux-arm64/native/libSystem.IO.Ports.Native.so", + "runtimes/linux-bionic-arm64/native/_._", + "runtimes/linux-bionic-x64/native/_._", + "runtimes/linux-musl-arm/native/_._", + "runtimes/linux-musl-arm64/native/_._", + "runtimes/linux-musl-x64/native/_._", + "runtimes/linux-x64/native/_._", + "runtimes/maccatalyst-arm64/native/_._", + "runtimes/maccatalyst-x64/native/_._", + "runtimes/osx-arm64/native/_._", + "runtimes/osx-x64/native/_._", + "useSharedDesignerContext.txt" + ] + }, + "runtime.linux-bionic-arm64.runtime.native.System.IO.Ports/9.0.0": { + "sha512": "kAOBq4UnR0B2UirRxLsPx4BIzt61Ydw40FFCe9NcFSncV6q+ikuhgN6eOrcaOcSu5QUiXacQRgFUX1Pux6ckYg==", + "type": "package", + "path": "runtime.linux-bionic-arm64.runtime.native.system.io.ports/9.0.0", + "files": [ + ".nupkg.metadata", + ".signature.p7s", + "Icon.png", + "LICENSE.TXT", + "PACKAGE.md", + "THIRD-PARTY-NOTICES.TXT", + "runtime.linux-bionic-arm64.runtime.native.system.io.ports.9.0.0.nupkg.sha512", + "runtime.linux-bionic-arm64.runtime.native.system.io.ports.nuspec", + "runtimes/android-arm/native/_._", + "runtimes/android-arm64/native/_._", + "runtimes/android-x64/native/_._", + "runtimes/android-x86/native/_._", + "runtimes/linux-arm/native/_._", + "runtimes/linux-arm64/native/_._", + "runtimes/linux-bionic-arm64/native/libSystem.IO.Ports.Native.so", + "runtimes/linux-bionic-x64/native/_._", + "runtimes/linux-musl-arm/native/_._", + "runtimes/linux-musl-arm64/native/_._", + "runtimes/linux-musl-x64/native/_._", + "runtimes/linux-x64/native/_._", + "runtimes/maccatalyst-arm64/native/_._", + "runtimes/maccatalyst-x64/native/_._", + "runtimes/osx-arm64/native/_._", + "runtimes/osx-x64/native/_._", + "useSharedDesignerContext.txt" + ] + }, + "runtime.linux-bionic-x64.runtime.native.System.IO.Ports/9.0.0": { + "sha512": "yCpRhte4+7C6ULKGA4qLaXGjQJwoygqyzgUN9u2tkfyGkwBUS66SRr6nNx522+4ATI8ZFkgIIZIkTczY77rcZw==", + "type": "package", + "path": "runtime.linux-bionic-x64.runtime.native.system.io.ports/9.0.0", + "files": [ + ".nupkg.metadata", + ".signature.p7s", + "Icon.png", + "LICENSE.TXT", + "PACKAGE.md", + "THIRD-PARTY-NOTICES.TXT", + "runtime.linux-bionic-x64.runtime.native.system.io.ports.9.0.0.nupkg.sha512", + "runtime.linux-bionic-x64.runtime.native.system.io.ports.nuspec", + "runtimes/android-arm/native/_._", + "runtimes/android-arm64/native/_._", + "runtimes/android-x64/native/_._", + "runtimes/android-x86/native/_._", + "runtimes/linux-arm/native/_._", + "runtimes/linux-arm64/native/_._", + "runtimes/linux-bionic-arm64/native/_._", + "runtimes/linux-bionic-x64/native/libSystem.IO.Ports.Native.so", + "runtimes/linux-musl-arm/native/_._", + "runtimes/linux-musl-arm64/native/_._", + "runtimes/linux-musl-x64/native/_._", + "runtimes/linux-x64/native/_._", + "runtimes/maccatalyst-arm64/native/_._", + "runtimes/maccatalyst-x64/native/_._", + "runtimes/osx-arm64/native/_._", + "runtimes/osx-x64/native/_._", + "useSharedDesignerContext.txt" + ] + }, + "runtime.linux-musl-arm.runtime.native.System.IO.Ports/9.0.0": { + "sha512": "isaMOGqA4iIklwMt6wYTuPqj83D8DDUA2wainLqPjXaQ1Ri+5K8A+4J0BonjA/HMWtywBKnt2WGUXZ3DQN18ZA==", + "type": "package", + "path": "runtime.linux-musl-arm.runtime.native.system.io.ports/9.0.0", + "files": [ + ".nupkg.metadata", + ".signature.p7s", + "Icon.png", + "LICENSE.TXT", + "PACKAGE.md", + "THIRD-PARTY-NOTICES.TXT", + "runtime.linux-musl-arm.runtime.native.system.io.ports.9.0.0.nupkg.sha512", + "runtime.linux-musl-arm.runtime.native.system.io.ports.nuspec", + "runtimes/android-arm/native/_._", + "runtimes/android-arm64/native/_._", + "runtimes/android-x64/native/_._", + "runtimes/android-x86/native/_._", + "runtimes/linux-arm/native/_._", + "runtimes/linux-arm64/native/_._", + "runtimes/linux-bionic-arm64/native/_._", + "runtimes/linux-bionic-x64/native/_._", + "runtimes/linux-musl-arm/native/libSystem.IO.Ports.Native.so", + "runtimes/linux-musl-arm64/native/_._", + "runtimes/linux-musl-x64/native/_._", + "runtimes/linux-x64/native/_._", + "runtimes/maccatalyst-arm64/native/_._", + "runtimes/maccatalyst-x64/native/_._", + "runtimes/osx-arm64/native/_._", + "runtimes/osx-x64/native/_._", + "useSharedDesignerContext.txt" + ] + }, + "runtime.linux-musl-arm64.runtime.native.System.IO.Ports/9.0.0": { + "sha512": "yWsWQTf7r1aigde6EeoHzHhldoBw6fJ8AHR2ow4kobNuaS9Z/9rvLUFsGkAAY8GMUZadF5S1OGUsIzUd17RZBg==", + "type": "package", + "path": "runtime.linux-musl-arm64.runtime.native.system.io.ports/9.0.0", + "files": [ + ".nupkg.metadata", + ".signature.p7s", + "Icon.png", + "LICENSE.TXT", + "PACKAGE.md", + "THIRD-PARTY-NOTICES.TXT", + "runtime.linux-musl-arm64.runtime.native.system.io.ports.9.0.0.nupkg.sha512", + "runtime.linux-musl-arm64.runtime.native.system.io.ports.nuspec", + "runtimes/android-arm/native/_._", + "runtimes/android-arm64/native/_._", + "runtimes/android-x64/native/_._", + "runtimes/android-x86/native/_._", + "runtimes/linux-arm/native/_._", + "runtimes/linux-arm64/native/_._", + "runtimes/linux-bionic-arm64/native/_._", + "runtimes/linux-bionic-x64/native/_._", + "runtimes/linux-musl-arm/native/_._", + "runtimes/linux-musl-arm64/native/libSystem.IO.Ports.Native.so", + "runtimes/linux-musl-x64/native/_._", + "runtimes/linux-x64/native/_._", + "runtimes/maccatalyst-arm64/native/_._", + "runtimes/maccatalyst-x64/native/_._", + "runtimes/osx-arm64/native/_._", + "runtimes/osx-x64/native/_._", + "useSharedDesignerContext.txt" + ] + }, + "runtime.linux-musl-x64.runtime.native.System.IO.Ports/9.0.0": { + "sha512": "NxST2ZRBRGBjHWUnQwOYoyqFWHH4UcjAeTyjviSTOdwjSqq1JuGdp4sLzPzGDLiu4R7Per3QQ1GxYoLgAlIbOA==", + "type": "package", + "path": "runtime.linux-musl-x64.runtime.native.system.io.ports/9.0.0", + "files": [ + ".nupkg.metadata", + ".signature.p7s", + "Icon.png", + "LICENSE.TXT", + "PACKAGE.md", + "THIRD-PARTY-NOTICES.TXT", + "runtime.linux-musl-x64.runtime.native.system.io.ports.9.0.0.nupkg.sha512", + "runtime.linux-musl-x64.runtime.native.system.io.ports.nuspec", + "runtimes/android-arm/native/_._", + "runtimes/android-arm64/native/_._", + "runtimes/android-x64/native/_._", + "runtimes/android-x86/native/_._", + "runtimes/linux-arm/native/_._", + "runtimes/linux-arm64/native/_._", + "runtimes/linux-bionic-arm64/native/_._", + "runtimes/linux-bionic-x64/native/_._", + "runtimes/linux-musl-arm/native/_._", + "runtimes/linux-musl-arm64/native/_._", + "runtimes/linux-musl-x64/native/libSystem.IO.Ports.Native.so", + "runtimes/linux-x64/native/_._", + "runtimes/maccatalyst-arm64/native/_._", + "runtimes/maccatalyst-x64/native/_._", + "runtimes/osx-arm64/native/_._", + "runtimes/osx-x64/native/_._", + "useSharedDesignerContext.txt" + ] + }, + "runtime.linux-x64.runtime.native.System.IO.Ports/9.0.0": { + "sha512": "4bmb9oP1DIu2ArJ2MH2sNGbO5V3VrZ0+8lotr3cQ2G5hh66+0yHiYkwvlwP7gkSOsZPhANeX3cicqHYaDsroQA==", + "type": "package", + "path": "runtime.linux-x64.runtime.native.system.io.ports/9.0.0", + "files": [ + ".nupkg.metadata", + ".signature.p7s", + "Icon.png", + "LICENSE.TXT", + "PACKAGE.md", + "THIRD-PARTY-NOTICES.TXT", + "runtime.linux-x64.runtime.native.system.io.ports.9.0.0.nupkg.sha512", + "runtime.linux-x64.runtime.native.system.io.ports.nuspec", + "runtimes/android-arm/native/_._", + "runtimes/android-arm64/native/_._", + "runtimes/android-x64/native/_._", + "runtimes/android-x86/native/_._", + "runtimes/linux-arm/native/_._", + "runtimes/linux-arm64/native/_._", + "runtimes/linux-bionic-arm64/native/_._", + "runtimes/linux-bionic-x64/native/_._", + "runtimes/linux-musl-arm/native/_._", + "runtimes/linux-musl-arm64/native/_._", + "runtimes/linux-musl-x64/native/_._", + "runtimes/linux-x64/native/libSystem.IO.Ports.Native.so", + "runtimes/maccatalyst-arm64/native/_._", + "runtimes/maccatalyst-x64/native/_._", + "runtimes/osx-arm64/native/_._", + "runtimes/osx-x64/native/_._", + "useSharedDesignerContext.txt" + ] + }, + "runtime.maccatalyst-arm64.runtime.native.System.IO.Ports/9.0.0": { + "sha512": "k+VeOPbIx9A1/bmiw5pGBsuALGTA4UoC6SsGhcIMLyS6TMFgsjsOH1bAgim+/W1RdtR7dpPCWHNYhkrM8hXByA==", + "type": "package", + "path": "runtime.maccatalyst-arm64.runtime.native.system.io.ports/9.0.0", + "files": [ + ".nupkg.metadata", + ".signature.p7s", + "Icon.png", + "LICENSE.TXT", + "PACKAGE.md", + "THIRD-PARTY-NOTICES.TXT", + "runtime.maccatalyst-arm64.runtime.native.system.io.ports.9.0.0.nupkg.sha512", + "runtime.maccatalyst-arm64.runtime.native.system.io.ports.nuspec", + "runtimes/android-arm/native/_._", + "runtimes/android-arm64/native/_._", + "runtimes/android-x64/native/_._", + "runtimes/android-x86/native/_._", + "runtimes/linux-arm/native/_._", + "runtimes/linux-arm64/native/_._", + "runtimes/linux-bionic-arm64/native/_._", + "runtimes/linux-bionic-x64/native/_._", + "runtimes/linux-musl-arm/native/_._", + "runtimes/linux-musl-arm64/native/_._", + "runtimes/linux-musl-x64/native/_._", + "runtimes/linux-x64/native/_._", + "runtimes/maccatalyst-arm64/native/libSystem.IO.Ports.Native.dylib", + "runtimes/maccatalyst-x64/native/_._", + "runtimes/osx-arm64/native/_._", + "runtimes/osx-x64/native/_._", + "useSharedDesignerContext.txt" + ] + }, + "runtime.maccatalyst-x64.runtime.native.System.IO.Ports/9.0.0": { + "sha512": "k1WC+Y7ht+7Omq5iW1v2Yz5CpaGGlLvlNsGS8cDAG0IN3sXUrPyUkC/40/zTL8g8/c3UFjrW0igXcwKNYa+ZuA==", + "type": "package", + "path": "runtime.maccatalyst-x64.runtime.native.system.io.ports/9.0.0", + "files": [ + ".nupkg.metadata", + ".signature.p7s", + "Icon.png", + "LICENSE.TXT", + "PACKAGE.md", + "THIRD-PARTY-NOTICES.TXT", + "runtime.maccatalyst-x64.runtime.native.system.io.ports.9.0.0.nupkg.sha512", + "runtime.maccatalyst-x64.runtime.native.system.io.ports.nuspec", + "runtimes/android-arm/native/_._", + "runtimes/android-arm64/native/_._", + "runtimes/android-x64/native/_._", + "runtimes/android-x86/native/_._", + "runtimes/linux-arm/native/_._", + "runtimes/linux-arm64/native/_._", + "runtimes/linux-bionic-arm64/native/_._", + "runtimes/linux-bionic-x64/native/_._", + "runtimes/linux-musl-arm/native/_._", + "runtimes/linux-musl-arm64/native/_._", + "runtimes/linux-musl-x64/native/_._", + "runtimes/linux-x64/native/_._", + "runtimes/maccatalyst-arm64/native/_._", + "runtimes/maccatalyst-x64/native/libSystem.IO.Ports.Native.dylib", + "runtimes/osx-arm64/native/_._", + "runtimes/osx-x64/native/_._", + "useSharedDesignerContext.txt" + ] + }, + "runtime.native.System.Data.SqlClient.sni/4.4.0": { + "sha512": "A8v6PGmk+UGbfWo5Ixup0lPM4swuSwOiayJExZwKIOjTlFFQIsu3QnDXECosBEyrWSPryxBVrdqtJyhK3BaupQ==", + "type": "package", + "path": "runtime.native.system.data.sqlclient.sni/4.4.0", + "files": [ + ".nupkg.metadata", + ".signature.p7s", + "LICENSE.TXT", + "THIRD-PARTY-NOTICES.TXT", + "runtime.native.system.data.sqlclient.sni.4.4.0.nupkg.sha512", + "runtime.native.system.data.sqlclient.sni.nuspec", + "useSharedDesignerContext.txt", + "version.txt" + ] + }, + "runtime.native.System.IO.Ports/9.0.0": { + "sha512": "iWyR+xohLUht80x5MREqF7zYD0KqyVpoS9uTg9raG0ddx5pvJkCPC4eS2JdkRYY6AqPjfMiiOEZ02ZWHEBgOvg==", + "type": "package", + "path": "runtime.native.system.io.ports/9.0.0", + "files": [ + ".nupkg.metadata", + ".signature.p7s", + "Icon.png", + "LICENSE.TXT", + "PACKAGE.md", + "THIRD-PARTY-NOTICES.TXT", + "runtime.native.system.io.ports.9.0.0.nupkg.sha512", + "runtime.native.system.io.ports.nuspec", + "useSharedDesignerContext.txt" + ] + }, + "runtime.osx-arm64.runtime.native.System.IO.Ports/9.0.0": { + "sha512": "ebr6uFzuICKkw9YePnCo7CdZFKYYhJZOJDJhACAKyzbT5WFvJWMyeACJIWS0uqndGMgWSc+D+UDdBu6CEpUOSg==", + "type": "package", + "path": "runtime.osx-arm64.runtime.native.system.io.ports/9.0.0", + "files": [ + ".nupkg.metadata", + ".signature.p7s", + "Icon.png", + "LICENSE.TXT", + "PACKAGE.md", + "THIRD-PARTY-NOTICES.TXT", + "runtime.osx-arm64.runtime.native.system.io.ports.9.0.0.nupkg.sha512", + "runtime.osx-arm64.runtime.native.system.io.ports.nuspec", + "runtimes/android-arm/native/_._", + "runtimes/android-arm64/native/_._", + "runtimes/android-x64/native/_._", + "runtimes/android-x86/native/_._", + "runtimes/linux-arm/native/_._", + "runtimes/linux-arm64/native/_._", + "runtimes/linux-bionic-arm64/native/_._", + "runtimes/linux-bionic-x64/native/_._", + "runtimes/linux-musl-arm/native/_._", + "runtimes/linux-musl-arm64/native/_._", + "runtimes/linux-musl-x64/native/_._", + "runtimes/linux-x64/native/_._", + "runtimes/maccatalyst-arm64/native/_._", + "runtimes/maccatalyst-x64/native/_._", + "runtimes/osx-arm64/native/libSystem.IO.Ports.Native.dylib", + "runtimes/osx-x64/native/_._", + "useSharedDesignerContext.txt" + ] + }, + "runtime.osx-x64.runtime.native.System.IO.Ports/9.0.0": { + "sha512": "66DA4FKnfIdrkyd8Kqym06s+F/U5/7TZdkV1DllGivUNUGkC8TG5W/3D4rhLoGQRjg0uurkPWqrQXWfPEghRpQ==", + "type": "package", + "path": "runtime.osx-x64.runtime.native.system.io.ports/9.0.0", + "files": [ + ".nupkg.metadata", + ".signature.p7s", + "Icon.png", + "LICENSE.TXT", + "PACKAGE.md", + "THIRD-PARTY-NOTICES.TXT", + "runtime.osx-x64.runtime.native.system.io.ports.9.0.0.nupkg.sha512", + "runtime.osx-x64.runtime.native.system.io.ports.nuspec", + "runtimes/android-arm/native/_._", + "runtimes/android-arm64/native/_._", + "runtimes/android-x64/native/_._", + "runtimes/android-x86/native/_._", + "runtimes/linux-arm/native/_._", + "runtimes/linux-arm64/native/_._", + "runtimes/linux-bionic-arm64/native/_._", + "runtimes/linux-bionic-x64/native/_._", + "runtimes/linux-musl-arm/native/_._", + "runtimes/linux-musl-arm64/native/_._", + "runtimes/linux-musl-x64/native/_._", + "runtimes/linux-x64/native/_._", + "runtimes/maccatalyst-arm64/native/_._", + "runtimes/maccatalyst-x64/native/_._", + "runtimes/osx-arm64/native/_._", + "runtimes/osx-x64/native/libSystem.IO.Ports.Native.dylib", + "useSharedDesignerContext.txt" + ] + }, + "runtime.win-arm64.runtime.native.System.Data.SqlClient.sni/4.4.0": { + "sha512": "LbrynESTp3bm5O/+jGL8v0Qg5SJlTV08lpIpFesXjF6uGNMWqFnUQbYBJwZTeua6E/Y7FIM1C54Ey1btLWupdg==", + "type": "package", + "path": "runtime.win-arm64.runtime.native.system.data.sqlclient.sni/4.4.0", + "files": [ + ".nupkg.metadata", + ".signature.p7s", + "ThirdPartyNotices.txt", + "dotnet_library_license.txt", + "runtime.win-arm64.runtime.native.system.data.sqlclient.sni.4.4.0.nupkg.sha512", + "runtime.win-arm64.runtime.native.system.data.sqlclient.sni.nuspec", + "runtimes/win-arm64/native/sni.dll", + "useSharedDesignerContext.txt", + "version.txt" + ] + }, + "runtime.win-x64.runtime.native.System.Data.SqlClient.sni/4.4.0": { + "sha512": "38ugOfkYJqJoX9g6EYRlZB5U2ZJH51UP8ptxZgdpS07FgOEToV+lS11ouNK2PM12Pr6X/PpT5jK82G3DwH/SxQ==", + "type": "package", + "path": "runtime.win-x64.runtime.native.system.data.sqlclient.sni/4.4.0", + "files": [ + ".nupkg.metadata", + ".signature.p7s", + "ThirdPartyNotices.txt", + "dotnet_library_license.txt", + "runtime.win-x64.runtime.native.system.data.sqlclient.sni.4.4.0.nupkg.sha512", + "runtime.win-x64.runtime.native.system.data.sqlclient.sni.nuspec", + "runtimes/win-x64/native/sni.dll", + "useSharedDesignerContext.txt", + "version.txt" + ] + }, + "runtime.win-x86.runtime.native.System.Data.SqlClient.sni/4.4.0": { + "sha512": "YhEdSQUsTx+C8m8Bw7ar5/VesXvCFMItyZF7G1AUY+OM0VPZUOeAVpJ4Wl6fydBGUYZxojTDR3I6Bj/+BPkJNA==", + "type": "package", + "path": "runtime.win-x86.runtime.native.system.data.sqlclient.sni/4.4.0", + "files": [ + ".nupkg.metadata", + ".signature.p7s", + "ThirdPartyNotices.txt", + "dotnet_library_license.txt", + "runtime.win-x86.runtime.native.system.data.sqlclient.sni.4.4.0.nupkg.sha512", + "runtime.win-x86.runtime.native.system.data.sqlclient.sni.nuspec", + "runtimes/win-x86/native/sni.dll", + "useSharedDesignerContext.txt", + "version.txt" + ] + }, + "System.Data.SqlClient/4.9.0": { + "sha512": "j4KJO+vC62NyUtNHz854njEqXbT8OmAa5jb1nrGfYWBOcggyYUQE0w/snXeaCjdvkSKWuUD+hfvlbN8pTrJTXg==", + "type": "package", + "path": "system.data.sqlclient/4.9.0", + "files": [ + ".nupkg.metadata", + ".signature.p7s", + "Icon.png", + "PACKAGE.md", + "buildTransitive/net461/System.Data.SqlClient.targets", + "buildTransitive/net462/_._", + "buildTransitive/net6.0/_._", + "buildTransitive/netcoreapp2.0/System.Data.SqlClient.targets", + "lib/net462/System.Data.SqlClient.dll", + "lib/net462/System.Data.SqlClient.xml", + "lib/net6.0/System.Data.SqlClient.dll", + "lib/net6.0/System.Data.SqlClient.xml", + "lib/net8.0/System.Data.SqlClient.dll", + "lib/net8.0/System.Data.SqlClient.xml", + "lib/netstandard2.0/System.Data.SqlClient.dll", + "lib/netstandard2.0/System.Data.SqlClient.xml", + "runtimes/unix/lib/net6.0/System.Data.SqlClient.dll", + "runtimes/unix/lib/net6.0/System.Data.SqlClient.xml", + "runtimes/unix/lib/net8.0/System.Data.SqlClient.dll", + "runtimes/unix/lib/net8.0/System.Data.SqlClient.xml", + "runtimes/win/lib/net6.0/System.Data.SqlClient.dll", + "runtimes/win/lib/net6.0/System.Data.SqlClient.xml", + "runtimes/win/lib/net8.0/System.Data.SqlClient.dll", + "runtimes/win/lib/net8.0/System.Data.SqlClient.xml", + "system.data.sqlclient.4.9.0.nupkg.sha512", + "system.data.sqlclient.nuspec" + ] + }, + "System.IO.Ports/9.0.0": { + "sha512": "NfEWew48r4MxHUnOQL7nw/5JBsz9dli8TJYpXjsAQu8tHH0QCq2ly4QMCc8wS9EAi1jvaFgq7ELdfwxvrKWALQ==", + "type": "package", + "path": "system.io.ports/9.0.0", + "files": [ + ".nupkg.metadata", + ".signature.p7s", + "Icon.png", + "LICENSE.TXT", + "PACKAGE.md", + "THIRD-PARTY-NOTICES.TXT", + "buildTransitive/net461/System.IO.Ports.targets", + "buildTransitive/net462/_._", + "buildTransitive/net8.0/_._", + "buildTransitive/netcoreapp2.0/System.IO.Ports.targets", + "lib/net462/System.IO.Ports.dll", + "lib/net462/System.IO.Ports.xml", + "lib/net8.0/System.IO.Ports.dll", + "lib/net8.0/System.IO.Ports.xml", + "lib/net9.0/System.IO.Ports.dll", + "lib/net9.0/System.IO.Ports.xml", + "lib/netstandard2.0/System.IO.Ports.dll", + "lib/netstandard2.0/System.IO.Ports.xml", + "runtimes/unix/lib/net8.0/System.IO.Ports.dll", + "runtimes/unix/lib/net8.0/System.IO.Ports.xml", + "runtimes/unix/lib/net9.0/System.IO.Ports.dll", + "runtimes/unix/lib/net9.0/System.IO.Ports.xml", + "runtimes/win/lib/net8.0/System.IO.Ports.dll", + "runtimes/win/lib/net8.0/System.IO.Ports.xml", + "runtimes/win/lib/net9.0/System.IO.Ports.dll", + "runtimes/win/lib/net9.0/System.IO.Ports.xml", + "system.io.ports.9.0.0.nupkg.sha512", + "system.io.ports.nuspec", + "useSharedDesignerContext.txt" + ] + } + }, + "projectFileDependencyGroups": { + "net9.0-windows": [ + "Microsoft.VisualStudio.Setup.Configuration.Interop >= 3.14.2075", + "System.Data.SqlClient >= 4.9.0", + "System.IO.Ports >= 9.0.0" + ] + }, + "packageFolders": { + "C:\\Users\\COMPUTER1\\.nuget\\packages\\": {}, + "C:\\Program Files (x86)\\Microsoft Visual Studio\\Shared\\NuGetPackages": {} + }, + "project": { + "version": "1.0.0", + "restore": { + "projectUniqueName": "C:\\Users\\COMPUTER1\\Desktop\\mobi\\leak_test_project\\leak_test_project\\leak_test_project.csproj", + "projectName": "leak_test_project", + "projectPath": "C:\\Users\\COMPUTER1\\Desktop\\mobi\\leak_test_project\\leak_test_project\\leak_test_project.csproj", + "packagesPath": "C:\\Users\\COMPUTER1\\.nuget\\packages\\", + "outputPath": "C:\\Users\\COMPUTER1\\Desktop\\mobi\\leak_test_project\\leak_test_project\\obj\\", + "projectStyle": "PackageReference", + "fallbackFolders": [ + "C:\\Program Files (x86)\\Microsoft Visual Studio\\Shared\\NuGetPackages" + ], + "configFilePaths": [ + "C:\\Users\\COMPUTER1\\AppData\\Roaming\\NuGet\\NuGet.Config", + "C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.FallbackLocation.config", + "C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.Offline.config" + ], + "originalTargetFrameworks": [ + "net9.0-windows" + ], + "sources": { + "C:\\Program Files (x86)\\Microsoft SDKs\\NuGetPackages\\": {}, + "C:\\Program Files\\dotnet\\library-packs": {}, + "https://api.nuget.org/v3/index.json": {} + }, + "frameworks": { + "net9.0-windows": { + "framework": "net9.0-windows7.0", + "targetAlias": "net9.0-windows", + "projectReferences": {} + } + }, + "warningProperties": { + "warnAsError": [ + "NU1605" + ] + }, + "restoreAuditProperties": { + "enableAudit": "true", + "auditLevel": "low", + "auditMode": "direct" + }, + "SdkAnalysisLevel": "10.0.300" + }, + "frameworks": { + "net9.0-windows": { + "framework": "net9.0-windows7.0", + "targetAlias": "net9.0-windows", + "dependencies": { + "Microsoft.VisualStudio.Setup.Configuration.Interop": { + "target": "Package", + "version": "[3.14.2075, )" + }, + "System.Data.SqlClient": { + "target": "Package", + "version": "[4.9.0, )" + }, + "System.IO.Ports": { + "target": "Package", + "version": "[9.0.0, )" + } + }, + "imports": [ + "net461", + "net462", + "net47", + "net471", + "net472", + "net48", + "net481" + ], + "assetTargetFallback": true, + "warn": true, + "frameworkReferences": { + "Microsoft.NETCore.App": { + "privateAssets": "all" + }, + "Microsoft.WindowsDesktop.App.WPF": { + "privateAssets": "none" + } + }, + "runtimeIdentifierGraphPath": "C:\\Program Files\\dotnet\\sdk\\10.0.301/PortableRuntimeIdentifierGraph.json" + } + } + } +} \ No newline at end of file diff --git a/leak_test_project/obj/project.nuget.cache b/leak_test_project/obj/project.nuget.cache new file mode 100644 index 0000000..34b3c7e --- /dev/null +++ b/leak_test_project/obj/project.nuget.cache @@ -0,0 +1,33 @@ +{ + "version": 2, + "dgSpecHash": "kXsWMBe0fgE=", + "success": true, + "projectFilePath": "C:\\Users\\COMPUTER1\\Desktop\\mobi\\leak_test_project\\leak_test_project\\leak_test_project.csproj", + "expectedPackageFiles": [ + "C:\\Users\\COMPUTER1\\.nuget\\packages\\microsoft.visualstudio.setup.configuration.interop\\3.14.2075\\microsoft.visualstudio.setup.configuration.interop.3.14.2075.nupkg.sha512", + "C:\\Users\\COMPUTER1\\.nuget\\packages\\runtime.android-arm.runtime.native.system.io.ports\\9.0.0\\runtime.android-arm.runtime.native.system.io.ports.9.0.0.nupkg.sha512", + "C:\\Users\\COMPUTER1\\.nuget\\packages\\runtime.android-arm64.runtime.native.system.io.ports\\9.0.0\\runtime.android-arm64.runtime.native.system.io.ports.9.0.0.nupkg.sha512", + "C:\\Users\\COMPUTER1\\.nuget\\packages\\runtime.android-x64.runtime.native.system.io.ports\\9.0.0\\runtime.android-x64.runtime.native.system.io.ports.9.0.0.nupkg.sha512", + "C:\\Users\\COMPUTER1\\.nuget\\packages\\runtime.android-x86.runtime.native.system.io.ports\\9.0.0\\runtime.android-x86.runtime.native.system.io.ports.9.0.0.nupkg.sha512", + "C:\\Users\\COMPUTER1\\.nuget\\packages\\runtime.linux-arm.runtime.native.system.io.ports\\9.0.0\\runtime.linux-arm.runtime.native.system.io.ports.9.0.0.nupkg.sha512", + "C:\\Users\\COMPUTER1\\.nuget\\packages\\runtime.linux-arm64.runtime.native.system.io.ports\\9.0.0\\runtime.linux-arm64.runtime.native.system.io.ports.9.0.0.nupkg.sha512", + "C:\\Users\\COMPUTER1\\.nuget\\packages\\runtime.linux-bionic-arm64.runtime.native.system.io.ports\\9.0.0\\runtime.linux-bionic-arm64.runtime.native.system.io.ports.9.0.0.nupkg.sha512", + "C:\\Users\\COMPUTER1\\.nuget\\packages\\runtime.linux-bionic-x64.runtime.native.system.io.ports\\9.0.0\\runtime.linux-bionic-x64.runtime.native.system.io.ports.9.0.0.nupkg.sha512", + "C:\\Users\\COMPUTER1\\.nuget\\packages\\runtime.linux-musl-arm.runtime.native.system.io.ports\\9.0.0\\runtime.linux-musl-arm.runtime.native.system.io.ports.9.0.0.nupkg.sha512", + "C:\\Users\\COMPUTER1\\.nuget\\packages\\runtime.linux-musl-arm64.runtime.native.system.io.ports\\9.0.0\\runtime.linux-musl-arm64.runtime.native.system.io.ports.9.0.0.nupkg.sha512", + "C:\\Users\\COMPUTER1\\.nuget\\packages\\runtime.linux-musl-x64.runtime.native.system.io.ports\\9.0.0\\runtime.linux-musl-x64.runtime.native.system.io.ports.9.0.0.nupkg.sha512", + "C:\\Users\\COMPUTER1\\.nuget\\packages\\runtime.linux-x64.runtime.native.system.io.ports\\9.0.0\\runtime.linux-x64.runtime.native.system.io.ports.9.0.0.nupkg.sha512", + "C:\\Users\\COMPUTER1\\.nuget\\packages\\runtime.maccatalyst-arm64.runtime.native.system.io.ports\\9.0.0\\runtime.maccatalyst-arm64.runtime.native.system.io.ports.9.0.0.nupkg.sha512", + "C:\\Users\\COMPUTER1\\.nuget\\packages\\runtime.maccatalyst-x64.runtime.native.system.io.ports\\9.0.0\\runtime.maccatalyst-x64.runtime.native.system.io.ports.9.0.0.nupkg.sha512", + "C:\\Users\\COMPUTER1\\.nuget\\packages\\runtime.native.system.data.sqlclient.sni\\4.4.0\\runtime.native.system.data.sqlclient.sni.4.4.0.nupkg.sha512", + "C:\\Users\\COMPUTER1\\.nuget\\packages\\runtime.native.system.io.ports\\9.0.0\\runtime.native.system.io.ports.9.0.0.nupkg.sha512", + "C:\\Users\\COMPUTER1\\.nuget\\packages\\runtime.osx-arm64.runtime.native.system.io.ports\\9.0.0\\runtime.osx-arm64.runtime.native.system.io.ports.9.0.0.nupkg.sha512", + "C:\\Users\\COMPUTER1\\.nuget\\packages\\runtime.osx-x64.runtime.native.system.io.ports\\9.0.0\\runtime.osx-x64.runtime.native.system.io.ports.9.0.0.nupkg.sha512", + "C:\\Users\\COMPUTER1\\.nuget\\packages\\runtime.win-arm64.runtime.native.system.data.sqlclient.sni\\4.4.0\\runtime.win-arm64.runtime.native.system.data.sqlclient.sni.4.4.0.nupkg.sha512", + "C:\\Users\\COMPUTER1\\.nuget\\packages\\runtime.win-x64.runtime.native.system.data.sqlclient.sni\\4.4.0\\runtime.win-x64.runtime.native.system.data.sqlclient.sni.4.4.0.nupkg.sha512", + "C:\\Users\\COMPUTER1\\.nuget\\packages\\runtime.win-x86.runtime.native.system.data.sqlclient.sni\\4.4.0\\runtime.win-x86.runtime.native.system.data.sqlclient.sni.4.4.0.nupkg.sha512", + "C:\\Users\\COMPUTER1\\.nuget\\packages\\system.data.sqlclient\\4.9.0\\system.data.sqlclient.4.9.0.nupkg.sha512", + "C:\\Users\\COMPUTER1\\.nuget\\packages\\system.io.ports\\9.0.0\\system.io.ports.9.0.0.nupkg.sha512" + ], + "logs": [] +} \ No newline at end of file diff --git a/leak_test_project/packages.config b/leak_test_project/packages.config deleted file mode 100644 index 998187b..0000000 --- a/leak_test_project/packages.config +++ /dev/null @@ -1,4 +0,0 @@ - - - - \ No newline at end of file diff --git a/ob/01_System_Architecture.md b/ob/01_System_Architecture.md index dc0e4a9..88b0b2e 100644 --- a/ob/01_System_Architecture.md +++ b/ob/01_System_Architecture.md @@ -10,7 +10,7 @@ | 분류 | 기술 스택 | 채택 이유 | | :--- | :--- | :--- | -| **클라이언트 (데스크톱 제어 앱)** | **WPF (.NET Framework 4.7.2 / C#)** | Windows 기반 하드웨어 및 계측 장비 제어 API(DASK, Serial) 호환성 확보. MVVM 패턴을 통한 데이터 바인딩 및 시각 효과 구현 극대화. | +| **클라이언트 (데스크톱 제어 앱)** | **WPF (.NET 9.0 / C#)** | Windows 기반 하드웨어 및 계측 장비 제어 API(DASK, Serial) 호환성 확보. MVVM 패턴을 통한 데이터 바인딩 및 시각 효과 구현 극대화. | | **데이터베이스 (DB)** | **Microsoft SQL Server (MSSQL)** | 현장 계측 데이터의 트랜잭션 보장 및 공장 내 타 ERP/MES 시스템과의 데이터 호환 용이성. UPSERT(MERGE) 구문을 통한 중복 데이터 방지. | | **하드웨어 인터페이스** | **RS-232 Serial (COM Port) / PCI DASK API** | Sentinel C28 누수 측정기 및 ADLINK 4251 컨트롤러 보드와의 직접 제어 프로토콜 통신. | | **로그 시스템 (로컬 이중화)** | **CSV / Raw Text File System** | 네트워크 단절(DB 오프라인) 상황에서도 계측 데이터 유실을 방지하기 위한 로컬 디스크 이중 백업. | diff --git a/ob/05_Implementation_History.md b/ob/05_Implementation_History.md index 1223d52..ec57bbc 100644 --- a/ob/05_Implementation_History.md +++ b/ob/05_Implementation_History.md @@ -102,5 +102,17 @@ 6. **로컬 CSV 및 DB 저장 데이터 일치성 보장**: * **InspectData 메타데이터 주입**: `TestProcessService.cs`에서 합격, 불합격(Fail), 타임아웃(Timeout) 판정 데이터를 로컬 CSV에 쓸 때 로그인 정보(Maker, Model, Variant, Operator 등)를 누락하고 쓰던 문제를 해결하기 위해, 인스턴스 생성 시 로그인 정보와 개별 `IcSn`, `PcbBarcode` 및 `ProductionDate`를 완벽하게 기입하여 CSV에도 빈틈없이 기록되도록 동기화했습니다. * **DB 파라미터 정합성 확보**: `EolDatabaseService.cs`에서 레거시 `ProductId`를 `@IC_SN`과 `@PCB_Barcode`에 중복 할당하던 로직을 변경하여, 매칭된 `IcSn`과 `PcbBarcode`를 독립적으로 바인딩하고, 시간 정보도 CSV에 기록된 것과 동일하게 `inspectData.ProductionDate`를 사용하도록 수정하여 두 스토리지 간의 데이터 정합성을 일치시켰습니다. - ---- + 7. **LowID 속성 제거 및 ID 단일화**: + * C# 모델(`ParsedData`, `SensorIdData`)에서 중복으로 존재하던 `LowID` 프로퍼티를 완전히 삭제하였습니다. + * ADLINK 4251 보드 연동 모듈(`Board4251.cs`)에서 센서 정보 인스턴스 생성 시 `LowID` 값을 매핑하던 코드를 소거하였습니다. + * 뷰모델(`HomeViewModel.cs`)의 좌/우 채널별 `LeftLowId`, `RightLowId` 백킹 필드와 프로퍼티 및 화면 표시 조합용 `LeftIdCombined`, `RightIdCombined`를 삭제하고, 결과 초기화 및 센서 ID 판독 이벤트 수신 시 `ID` 단일 속성만 갱신 및 사용하도록 정돈하였습니다. + * UI(`HomeView.xaml`) 상에서 헤더 라벨을 `ID / LOW ID`에서 `ID`로 바꿨으며 데이터 바인딩을 `LeftId`/`RightId`로 직접 연결하였습니다. + * `README.md` 및 사용 매뉴얼 문서(`02_초기_설정.md`, `03_메인_화면.md`, `07_시험_프로세스.md`) 내의 `LOW ID` 언급을 모두 `ID`로 변경하여 정합성을 일치시켰습니다. + 8. **.NET 9.0 플랫폼 마이그레이션**: + * 기존의 레거시 `.NET Framework 4.7.2` 기반 솔루션을 최신 `.NET 9.0 (WPF)` 환경으로 안전하게 이전하였습니다. + * 프로젝트 파일(`leak_test_project.csproj`)을 최신 SDK 스타일 포맷으로 리팩토링하고, `packages.config`를 영구 소거하였습니다. + * 분리 패키지화된 `System.IO.Ports` 및 `System.Data.SqlClient` 종속성을 추가로 연동하고 `System.Timers.Timer` 네임스페이스 모호성을 앨리어스를 통해 제거함으로써, 빌드가 성공(0 errors, 9 warnings)적으로 동작하도록 무결성을 검증하였습니다. + 9. **[금일 검토] .NET 9.0 및 ADLINK Native DLL 아키텍처 정합성 확보**: + * 최신 `.NET 9.0` 마이그레이션 완료 후, 64비트 환경 기본 빌드로 실행할 때 32비트 전용 `PCI-Dask.dll` 간의 아키텍처 불일치(Any CPU 실행 시 `BadImageFormatException` 크래시 발생)를 확인하고 이를 정밀 진단하였습니다. + * 해결 방안으로 프로젝트 플랫폼 대상을 `x86`으로 강제 고정하여 32비트 네이티브 라이브러리와의 비트 정합성을 수립하고 빌드 배포 무결성을 달성하였습니다. + * `Setup.vdproj`를 통한 ClickOnce 및 Windows 설치 패키지 제작 시 .NET 9.0 배포 결과 구조(`.dll` 코어와 `.exe` 호스트 구조)에 맞는 파일 매핑 및 바탕화면 바로가기 타겟 구성 지침을 정형화하였습니다.